@xras/ui 0.5.1 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/xras-ui.cjs CHANGED
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */i.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var u="18.2.0",l=Symbol.for("react.element"),d=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),x=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),L=Symbol.iterator,F="@@iterator";function V(D){if(D===null||typeof D!="object")return null;var X=L&&D[L]||D[F];return typeof X=="function"?X:null}var H={current:null},z={transition:null},U={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},J={current:null},q={},Re=null;function he(D){Re=D}q.setExtraStackFrame=function(D){Re=D},q.getCurrentStack=null,q.getStackAddendum=function(){var D="";Re&&(D+=Re);var X=q.getCurrentStack;return X&&(D+=X()||""),D};var ge=!1,fe=!1,Oe=!1,Te=!1,xe=!1,je={ReactCurrentDispatcher:H,ReactCurrentBatchConfig:z,ReactCurrentOwner:J};je.ReactDebugCurrentFrame=q,je.ReactCurrentActQueue=U;function Le(D){{for(var X=arguments.length,ue=new Array(X>1?X-1:0),me=1;me<X;me++)ue[me-1]=arguments[me];_e("warn",D,ue)}}function ne(D){{for(var X=arguments.length,ue=new Array(X>1?X-1:0),me=1;me<X;me++)ue[me-1]=arguments[me];_e("error",D,ue)}}function _e(D,X,ue){{var me=je.ReactDebugCurrentFrame,Be=me.getStackAddendum();Be!==""&&(X+="%s",ue=ue.concat([Be]));var it=ue.map(function(Je){return String(Je)});it.unshift("Warning: "+X),Function.prototype.apply.call(console[D],console,it)}}var G={};function Y(D,X){{var ue=D.constructor,me=ue&&(ue.displayName||ue.name)||"ReactClass",Be=me+"."+X;if(G[Be])return;ne("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.",X,me),G[Be]=!0}}var re={isMounted:function(D){return!1},enqueueForceUpdate:function(D,X,ue){Y(D,"forceUpdate")},enqueueReplaceState:function(D,X,ue,me){Y(D,"replaceState")},enqueueSetState:function(D,X,ue,me){Y(D,"setState")}},ye=Object.assign,Se={};Object.freeze(Se);function Ne(D,X,ue){this.props=D,this.context=X,this.refs=Se,this.updater=ue||re}Ne.prototype.isReactComponent={},Ne.prototype.setState=function(D,X){if(typeof D!="object"&&typeof D!="function"&&D!=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,D,X,"setState")},Ne.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};{var le={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)."]},ve=function(D,X){Object.defineProperty(Ne.prototype,D,{get:function(){Le("%s(...) is deprecated in plain JavaScript React classes. %s",X[0],X[1])}})};for(var we in le)le.hasOwnProperty(we)&&ve(we,le[we])}function Ve(){}Ve.prototype=Ne.prototype;function et(D,X,ue){this.props=D,this.context=X,this.refs=Se,this.updater=ue||re}var tt=et.prototype=new Ve;tt.constructor=et,ye(tt,Ne.prototype),tt.isPureReactComponent=!0;function ft(){var D={current:null};return Object.seal(D),D}var Ae=Array.isArray;function It(D){return Ae(D)}function pt(D){{var X=typeof Symbol=="function"&&Symbol.toStringTag,ue=X&&D[Symbol.toStringTag]||D.constructor.name||"Object";return ue}}function Kt(D){try{return on(D),!1}catch{return!0}}function on(D){return""+D}function sn(D){if(Kt(D))return ne("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",pt(D)),on(D)}function _n(D,X,ue){var me=D.displayName;if(me)return me;var Be=X.displayName||X.name||"";return Be!==""?ue+"("+Be+")":ue}function Vt(D){return D.displayName||"Context"}function Cn(D){if(D==null)return null;if(typeof D.tag=="number"&&ne("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 h:return"Fragment";case d:return"Portal";case y:return"Profiler";case v:return"StrictMode";case T:return"Suspense";case j:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case x:var X=D;return Vt(X)+".Consumer";case C:var ue=D;return Vt(ue._context)+".Provider";case R:return _n(D,D.render,"ForwardRef");case N:var me=D.displayName||null;return me!==null?me:Cn(D.type)||"Memo";case O:{var Be=D,it=Be._payload,Je=Be._init;try{return Cn(Je(it))}catch{return null}}}return null}var qn=Object.prototype.hasOwnProperty,Rr={key:!0,ref:!0,__self:!0,__source:!0},$n,Tr,xt;xt={};function Pn(D){if(qn.call(D,"ref")){var X=Object.getOwnPropertyDescriptor(D,"ref").get;if(X&&X.isReactWarning)return!1}return D.ref!==void 0}function ln(D){if(qn.call(D,"key")){var X=Object.getOwnPropertyDescriptor(D,"key").get;if(X&&X.isReactWarning)return!1}return D.key!==void 0}function Ba(D,X){var ue=function(){$n||($n=!0,ne("%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)",X))};ue.isReactWarning=!0,Object.defineProperty(D,"key",{get:ue,configurable:!0})}function za(D,X){var ue=function(){Tr||(Tr=!0,ne("%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)",X))};ue.isReactWarning=!0,Object.defineProperty(D,"ref",{get:ue,configurable:!0})}function Ha(D){if(typeof D.ref=="string"&&J.current&&D.__self&&J.current.stateNode!==D.__self){var X=Cn(J.current.type);xt[X]||(ne('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',X,D.ref),xt[X]=!0)}}var Ge=function(D,X,ue,me,Be,it,Je){var wt={$$typeof:l,type:D,key:X,ref:ue,props:Je,_owner:it};return wt._store={},Object.defineProperty(wt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(wt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:me}),Object.defineProperty(wt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Be}),Object.freeze&&(Object.freeze(wt.props),Object.freeze(wt)),wt};function dt(D,X,ue){var me,Be={},it=null,Je=null,wt=null,Pt=null;if(X!=null){Pn(X)&&(Je=X.ref,Ha(X)),ln(X)&&(sn(X.key),it=""+X.key),wt=X.__self===void 0?null:X.__self,Pt=X.__source===void 0?null:X.__source;for(me in X)qn.call(X,me)&&!Rr.hasOwnProperty(me)&&(Be[me]=X[me])}var fn=arguments.length-2;if(fn===1)Be.children=ue;else if(fn>1){for(var vn=Array(fn),hn=0;hn<fn;hn++)vn[hn]=arguments[hn+2];Object.freeze&&Object.freeze(vn),Be.children=vn}if(D&&D.defaultProps){var mn=D.defaultProps;for(me in mn)Be[me]===void 0&&(Be[me]=mn[me])}if(it||Je){var Vn=typeof D=="function"?D.displayName||D.name||"Unknown":D;it&&Ba(Be,Vn),Je&&za(Be,Vn)}return Ge(D,it,Je,wt,Pt,J.current,Be)}function Mt(D,X){var ue=Ge(D.type,X,D.ref,D._self,D._source,D._owner,D.props);return ue}function un(D,X,ue){if(D==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+D+".");var me,Be=ye({},D.props),it=D.key,Je=D.ref,wt=D._self,Pt=D._source,fn=D._owner;if(X!=null){Pn(X)&&(Je=X.ref,fn=J.current),ln(X)&&(sn(X.key),it=""+X.key);var vn;D.type&&D.type.defaultProps&&(vn=D.type.defaultProps);for(me in X)qn.call(X,me)&&!Rr.hasOwnProperty(me)&&(X[me]===void 0&&vn!==void 0?Be[me]=vn[me]:Be[me]=X[me])}var hn=arguments.length-2;if(hn===1)Be.children=ue;else if(hn>1){for(var mn=Array(hn),Vn=0;Vn<hn;Vn++)mn[Vn]=arguments[Vn+2];Be.children=mn}return Ge(D.type,it,Je,wt,Pt,fn,Be)}function en(D){return typeof D=="object"&&D!==null&&D.$$typeof===l}var ar=".",Gn=":";function Xr(D){var X=/[=:]/g,ue={"=":"=0",":":"=2"},me=D.replace(X,function(Be){return ue[Be]});return"$"+me}var pn=!1,Ir=/\/+/g;function cn(D){return D.replace(Ir,"$&/")}function On(D,X){return typeof D=="object"&&D!==null&&D.key!=null?(sn(D.key),Xr(""+D.key)):X.toString(36)}function ki(D,X,ue,me,Be){var it=typeof D;(it==="undefined"||it==="boolean")&&(D=null);var Je=!1;if(D===null)Je=!0;else switch(it){case"string":case"number":Je=!0;break;case"object":switch(D.$$typeof){case l:case d:Je=!0}}if(Je){var wt=D,Pt=Be(wt),fn=me===""?ar+On(wt,0):me;if(It(Pt)){var vn="";fn!=null&&(vn=cn(fn)+"/"),ki(Pt,X,vn,"",function(av){return av})}else Pt!=null&&(en(Pt)&&(Pt.key&&(!wt||wt.key!==Pt.key)&&sn(Pt.key),Pt=Mt(Pt,ue+(Pt.key&&(!wt||wt.key!==Pt.key)?cn(""+Pt.key)+"/":"")+fn)),X.push(Pt));return 1}var hn,mn,Vn=0,Zt=me===""?ar:me+Gn;if(It(D))for(var xs=0;xs<D.length;xs++)hn=D[xs],mn=Zt+On(hn,xs),Vn+=ki(hn,X,ue,mn,Be);else{var pu=V(D);if(typeof pu=="function"){var Oc=D;pu===Oc.entries&&(pn||Le("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),pn=!0);for(var Ac=pu.call(Oc),ko,jc=0;!(ko=Ac.next()).done;)hn=ko.value,mn=Zt+On(hn,jc++),Vn+=ki(hn,X,ue,mn,Be)}else if(it==="object"){var Dc=String(D);throw new Error("Objects are not valid as a React child (found: "+(Dc==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":Dc)+"). If you meant to render a collection of children, use an array instead.")}}return Vn}function ai(D,X,ue){if(D==null)return D;var me=[],Be=0;return ki(D,me,"","",function(it){return X.call(ue,it,Be++)}),me}function ps(D){var X=0;return ai(D,function(){X++}),X}function rl(D,X,ue){ai(D,function(){X.apply(this,arguments)},ue)}function al(D){return ai(D,function(X){return X})||[]}function vs(D){if(!en(D))throw new Error("React.Children.only expected to receive a single React element child.");return D}function Mi(D){var X={$$typeof:x,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};X.Provider={$$typeof:C,_context:X};var ue=!1,me=!1,Be=!1;{var it={$$typeof:x,_context:X};Object.defineProperties(it,{Provider:{get:function(){return me||(me=!0,ne("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),X.Provider},set:function(Je){X.Provider=Je}},_currentValue:{get:function(){return X._currentValue},set:function(Je){X._currentValue=Je}},_currentValue2:{get:function(){return X._currentValue2},set:function(Je){X._currentValue2=Je}},_threadCount:{get:function(){return X._threadCount},set:function(Je){X._threadCount=Je}},Consumer:{get:function(){return ue||(ue=!0,ne("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),X.Consumer}},displayName:{get:function(){return X.displayName},set:function(Je){Be||(Le("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",Je),Be=!0)}}}),X.Consumer=it}return X._currentRenderer=null,X._currentRenderer2=null,X}var Li=-1,ii=0,Io=1,ga=2;function ya(D){if(D._status===Li){var X=D._result,ue=X();if(ue.then(function(it){if(D._status===ii||D._status===Li){var Je=D;Je._status=Io,Je._result=it}},function(it){if(D._status===ii||D._status===Li){var Je=D;Je._status=ga,Je._result=it}}),D._status===Li){var me=D;me._status=ii,me._result=ue}}if(D._status===Io){var Be=D._result;return Be===void 0&&ne(`lazy: Expected the result of a dynamic import() call. Instead received: %s
17
+ */i.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var u="18.2.0",l=Symbol.for("react.element"),d=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),x=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),L=Symbol.iterator,F="@@iterator";function V(D){if(D===null||typeof D!="object")return null;var X=L&&D[L]||D[F];return typeof X=="function"?X:null}var H={current:null},z={transition:null},U={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},J={current:null},q={},Re=null;function he(D){Re=D}q.setExtraStackFrame=function(D){Re=D},q.getCurrentStack=null,q.getStackAddendum=function(){var D="";Re&&(D+=Re);var X=q.getCurrentStack;return X&&(D+=X()||""),D};var ge=!1,fe=!1,Oe=!1,Te=!1,xe=!1,je={ReactCurrentDispatcher:H,ReactCurrentBatchConfig:z,ReactCurrentOwner:J};je.ReactDebugCurrentFrame=q,je.ReactCurrentActQueue=U;function Le(D){{for(var X=arguments.length,ue=new Array(X>1?X-1:0),me=1;me<X;me++)ue[me-1]=arguments[me];_e("warn",D,ue)}}function ne(D){{for(var X=arguments.length,ue=new Array(X>1?X-1:0),me=1;me<X;me++)ue[me-1]=arguments[me];_e("error",D,ue)}}function _e(D,X,ue){{var me=je.ReactDebugCurrentFrame,Be=me.getStackAddendum();Be!==""&&(X+="%s",ue=ue.concat([Be]));var it=ue.map(function(Je){return String(Je)});it.unshift("Warning: "+X),Function.prototype.apply.call(console[D],console,it)}}var G={};function Y(D,X){{var ue=D.constructor,me=ue&&(ue.displayName||ue.name)||"ReactClass",Be=me+"."+X;if(G[Be])return;ne("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.",X,me),G[Be]=!0}}var re={isMounted:function(D){return!1},enqueueForceUpdate:function(D,X,ue){Y(D,"forceUpdate")},enqueueReplaceState:function(D,X,ue,me){Y(D,"replaceState")},enqueueSetState:function(D,X,ue,me){Y(D,"setState")}},ye=Object.assign,Se={};Object.freeze(Se);function Ne(D,X,ue){this.props=D,this.context=X,this.refs=Se,this.updater=ue||re}Ne.prototype.isReactComponent={},Ne.prototype.setState=function(D,X){if(typeof D!="object"&&typeof D!="function"&&D!=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,D,X,"setState")},Ne.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};{var le={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)."]},ve=function(D,X){Object.defineProperty(Ne.prototype,D,{get:function(){Le("%s(...) is deprecated in plain JavaScript React classes. %s",X[0],X[1])}})};for(var we in le)le.hasOwnProperty(we)&&ve(we,le[we])}function Ve(){}Ve.prototype=Ne.prototype;function et(D,X,ue){this.props=D,this.context=X,this.refs=Se,this.updater=ue||re}var tt=et.prototype=new Ve;tt.constructor=et,ye(tt,Ne.prototype),tt.isPureReactComponent=!0;function ft(){var D={current:null};return Object.seal(D),D}var Ae=Array.isArray;function It(D){return Ae(D)}function pt(D){{var X=typeof Symbol=="function"&&Symbol.toStringTag,ue=X&&D[Symbol.toStringTag]||D.constructor.name||"Object";return ue}}function Kt(D){try{return on(D),!1}catch{return!0}}function on(D){return""+D}function sn(D){if(Kt(D))return ne("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",pt(D)),on(D)}function _n(D,X,ue){var me=D.displayName;if(me)return me;var Be=X.displayName||X.name||"";return Be!==""?ue+"("+Be+")":ue}function Vt(D){return D.displayName||"Context"}function Cn(D){if(D==null)return null;if(typeof D.tag=="number"&&ne("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 h:return"Fragment";case d:return"Portal";case y:return"Profiler";case v:return"StrictMode";case T:return"Suspense";case j:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case x:var X=D;return Vt(X)+".Consumer";case C:var ue=D;return Vt(ue._context)+".Provider";case R:return _n(D,D.render,"ForwardRef");case N:var me=D.displayName||null;return me!==null?me:Cn(D.type)||"Memo";case O:{var Be=D,it=Be._payload,Je=Be._init;try{return Cn(Je(it))}catch{return null}}}return null}var qn=Object.prototype.hasOwnProperty,Rr={key:!0,ref:!0,__self:!0,__source:!0},$n,Tr,xt;xt={};function Pn(D){if(qn.call(D,"ref")){var X=Object.getOwnPropertyDescriptor(D,"ref").get;if(X&&X.isReactWarning)return!1}return D.ref!==void 0}function ln(D){if(qn.call(D,"key")){var X=Object.getOwnPropertyDescriptor(D,"key").get;if(X&&X.isReactWarning)return!1}return D.key!==void 0}function Ba(D,X){var ue=function(){$n||($n=!0,ne("%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)",X))};ue.isReactWarning=!0,Object.defineProperty(D,"key",{get:ue,configurable:!0})}function za(D,X){var ue=function(){Tr||(Tr=!0,ne("%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)",X))};ue.isReactWarning=!0,Object.defineProperty(D,"ref",{get:ue,configurable:!0})}function Ha(D){if(typeof D.ref=="string"&&J.current&&D.__self&&J.current.stateNode!==D.__self){var X=Cn(J.current.type);xt[X]||(ne('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',X,D.ref),xt[X]=!0)}}var Ge=function(D,X,ue,me,Be,it,Je){var wt={$$typeof:l,type:D,key:X,ref:ue,props:Je,_owner:it};return wt._store={},Object.defineProperty(wt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(wt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:me}),Object.defineProperty(wt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Be}),Object.freeze&&(Object.freeze(wt.props),Object.freeze(wt)),wt};function dt(D,X,ue){var me,Be={},it=null,Je=null,wt=null,Pt=null;if(X!=null){Pn(X)&&(Je=X.ref,Ha(X)),ln(X)&&(sn(X.key),it=""+X.key),wt=X.__self===void 0?null:X.__self,Pt=X.__source===void 0?null:X.__source;for(me in X)qn.call(X,me)&&!Rr.hasOwnProperty(me)&&(Be[me]=X[me])}var fn=arguments.length-2;if(fn===1)Be.children=ue;else if(fn>1){for(var vn=Array(fn),hn=0;hn<fn;hn++)vn[hn]=arguments[hn+2];Object.freeze&&Object.freeze(vn),Be.children=vn}if(D&&D.defaultProps){var mn=D.defaultProps;for(me in mn)Be[me]===void 0&&(Be[me]=mn[me])}if(it||Je){var Vn=typeof D=="function"?D.displayName||D.name||"Unknown":D;it&&Ba(Be,Vn),Je&&za(Be,Vn)}return Ge(D,it,Je,wt,Pt,J.current,Be)}function Mt(D,X){var ue=Ge(D.type,X,D.ref,D._self,D._source,D._owner,D.props);return ue}function un(D,X,ue){if(D==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+D+".");var me,Be=ye({},D.props),it=D.key,Je=D.ref,wt=D._self,Pt=D._source,fn=D._owner;if(X!=null){Pn(X)&&(Je=X.ref,fn=J.current),ln(X)&&(sn(X.key),it=""+X.key);var vn;D.type&&D.type.defaultProps&&(vn=D.type.defaultProps);for(me in X)qn.call(X,me)&&!Rr.hasOwnProperty(me)&&(X[me]===void 0&&vn!==void 0?Be[me]=vn[me]:Be[me]=X[me])}var hn=arguments.length-2;if(hn===1)Be.children=ue;else if(hn>1){for(var mn=Array(hn),Vn=0;Vn<hn;Vn++)mn[Vn]=arguments[Vn+2];Be.children=mn}return Ge(D.type,it,Je,wt,Pt,fn,Be)}function en(D){return typeof D=="object"&&D!==null&&D.$$typeof===l}var ar=".",Gn=":";function Xr(D){var X=/[=:]/g,ue={"=":"=0",":":"=2"},me=D.replace(X,function(Be){return ue[Be]});return"$"+me}var pn=!1,Ir=/\/+/g;function cn(D){return D.replace(Ir,"$&/")}function On(D,X){return typeof D=="object"&&D!==null&&D.key!=null?(sn(D.key),Xr(""+D.key)):X.toString(36)}function ki(D,X,ue,me,Be){var it=typeof D;(it==="undefined"||it==="boolean")&&(D=null);var Je=!1;if(D===null)Je=!0;else switch(it){case"string":case"number":Je=!0;break;case"object":switch(D.$$typeof){case l:case d:Je=!0}}if(Je){var wt=D,Pt=Be(wt),fn=me===""?ar+On(wt,0):me;if(It(Pt)){var vn="";fn!=null&&(vn=cn(fn)+"/"),ki(Pt,X,vn,"",function(av){return av})}else Pt!=null&&(en(Pt)&&(Pt.key&&(!wt||wt.key!==Pt.key)&&sn(Pt.key),Pt=Mt(Pt,ue+(Pt.key&&(!wt||wt.key!==Pt.key)?cn(""+Pt.key)+"/":"")+fn)),X.push(Pt));return 1}var hn,mn,Vn=0,Zt=me===""?ar:me+Gn;if(It(D))for(var Ss=0;Ss<D.length;Ss++)hn=D[Ss],mn=Zt+On(hn,Ss),Vn+=ki(hn,X,ue,mn,Be);else{var vu=V(D);if(typeof vu=="function"){var Ac=D;vu===Ac.entries&&(pn||Le("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),pn=!0);for(var jc=vu.call(Ac),Mo,Dc=0;!(Mo=jc.next()).done;)hn=Mo.value,mn=Zt+On(hn,Dc++),Vn+=ki(hn,X,ue,mn,Be)}else if(it==="object"){var kc=String(D);throw new Error("Objects are not valid as a React child (found: "+(kc==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":kc)+"). If you meant to render a collection of children, use an array instead.")}}return Vn}function ai(D,X,ue){if(D==null)return D;var me=[],Be=0;return ki(D,me,"","",function(it){return X.call(ue,it,Be++)}),me}function vs(D){var X=0;return ai(D,function(){X++}),X}function al(D,X,ue){ai(D,function(){X.apply(this,arguments)},ue)}function il(D){return ai(D,function(X){return X})||[]}function hs(D){if(!en(D))throw new Error("React.Children.only expected to receive a single React element child.");return D}function Mi(D){var X={$$typeof:x,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};X.Provider={$$typeof:C,_context:X};var ue=!1,me=!1,Be=!1;{var it={$$typeof:x,_context:X};Object.defineProperties(it,{Provider:{get:function(){return me||(me=!0,ne("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),X.Provider},set:function(Je){X.Provider=Je}},_currentValue:{get:function(){return X._currentValue},set:function(Je){X._currentValue=Je}},_currentValue2:{get:function(){return X._currentValue2},set:function(Je){X._currentValue2=Je}},_threadCount:{get:function(){return X._threadCount},set:function(Je){X._threadCount=Je}},Consumer:{get:function(){return ue||(ue=!0,ne("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),X.Consumer}},displayName:{get:function(){return X.displayName},set:function(Je){Be||(Le("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",Je),Be=!0)}}}),X.Consumer=it}return X._currentRenderer=null,X._currentRenderer2=null,X}var Li=-1,ii=0,No=1,ga=2;function ya(D){if(D._status===Li){var X=D._result,ue=X();if(ue.then(function(it){if(D._status===ii||D._status===Li){var Je=D;Je._status=No,Je._result=it}},function(it){if(D._status===ii||D._status===Li){var Je=D;Je._status=ga,Je._result=it}}),D._status===Li){var me=D;me._status=ii,me._result=ue}}if(D._status===No){var Be=D._result;return Be===void 0&&ne(`lazy: Expected the result of a dynamic import() call. Instead received: %s
18
18
 
19
19
  Your code should look like:
20
20
  const MyComponent = lazy(() => import('./MyComponent'))
@@ -22,21 +22,21 @@ Your code should look like:
22
22
  Did you accidentally put curly braces around the import?`,Be),"default"in Be||ne(`lazy: Expected the result of a dynamic import() call. Instead received: %s
23
23
 
24
24
  Your code should look like:
25
- const MyComponent = lazy(() => import('./MyComponent'))`,Be),Be.default}else throw D._result}function Ua(D){var X={_status:Li,_result:D},ue={$$typeof:O,_payload:X,_init:ya};{var me,Be;Object.defineProperties(ue,{defaultProps:{configurable:!0,get:function(){return me},set:function(it){ne("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."),me=it,Object.defineProperty(ue,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Be},set:function(it){ne("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."),Be=it,Object.defineProperty(ue,"propTypes",{enumerable:!0})}}})}return ue}function No(D){D!=null&&D.$$typeof===N?ne("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof D!="function"?ne("forwardRef requires a render function but was given %s.",D===null?"null":typeof D):D.length!==0&&D.length!==2&&ne("forwardRef render functions accept exactly two parameters: props and ref. %s",D.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),D!=null&&(D.defaultProps!=null||D.propTypes!=null)&&ne("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var X={$$typeof:R,render:D};{var ue;Object.defineProperty(X,"displayName",{enumerable:!1,configurable:!0,get:function(){return ue},set:function(me){ue=me,!D.name&&!D.displayName&&(D.displayName=me)}})}return X}var Z;Z=Symbol.for("react.module.reference");function ke(D){return!!(typeof D=="string"||typeof D=="function"||D===h||D===y||xe||D===v||D===T||D===j||Te||D===_||ge||fe||Oe||typeof D=="object"&&D!==null&&(D.$$typeof===O||D.$$typeof===N||D.$$typeof===C||D.$$typeof===x||D.$$typeof===R||D.$$typeof===Z||D.getModuleId!==void 0))}function Ue(D,X){ke(D)||ne("memo: The first argument must be a component. Instead received: %s",D===null?"null":typeof D);var ue={$$typeof:N,type:D,compare:X===void 0?null:X};{var me;Object.defineProperty(ue,"displayName",{enumerable:!1,configurable:!0,get:function(){return me},set:function(Be){me=Be,!D.name&&!D.displayName&&(D.displayName=Be)}})}return ue}function We(){var D=H.current;return D===null&&ne(`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:
25
+ const MyComponent = lazy(() => import('./MyComponent'))`,Be),Be.default}else throw D._result}function Ua(D){var X={_status:Li,_result:D},ue={$$typeof:O,_payload:X,_init:ya};{var me,Be;Object.defineProperties(ue,{defaultProps:{configurable:!0,get:function(){return me},set:function(it){ne("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."),me=it,Object.defineProperty(ue,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Be},set:function(it){ne("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."),Be=it,Object.defineProperty(ue,"propTypes",{enumerable:!0})}}})}return ue}function _o(D){D!=null&&D.$$typeof===N?ne("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof D!="function"?ne("forwardRef requires a render function but was given %s.",D===null?"null":typeof D):D.length!==0&&D.length!==2&&ne("forwardRef render functions accept exactly two parameters: props and ref. %s",D.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),D!=null&&(D.defaultProps!=null||D.propTypes!=null)&&ne("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var X={$$typeof:R,render:D};{var ue;Object.defineProperty(X,"displayName",{enumerable:!1,configurable:!0,get:function(){return ue},set:function(me){ue=me,!D.name&&!D.displayName&&(D.displayName=me)}})}return X}var Z;Z=Symbol.for("react.module.reference");function ke(D){return!!(typeof D=="string"||typeof D=="function"||D===h||D===y||xe||D===v||D===T||D===j||Te||D===_||ge||fe||Oe||typeof D=="object"&&D!==null&&(D.$$typeof===O||D.$$typeof===N||D.$$typeof===C||D.$$typeof===x||D.$$typeof===R||D.$$typeof===Z||D.getModuleId!==void 0))}function Ue(D,X){ke(D)||ne("memo: The first argument must be a component. Instead received: %s",D===null?"null":typeof D);var ue={$$typeof:N,type:D,compare:X===void 0?null:X};{var me;Object.defineProperty(ue,"displayName",{enumerable:!1,configurable:!0,get:function(){return me},set:function(Be){me=Be,!D.name&&!D.displayName&&(D.displayName=Be)}})}return ue}function We(){var D=H.current;return D===null&&ne(`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:
26
26
  1. You might have mismatching versions of React and the renderer (such as React DOM)
27
27
  2. You might be breaking the Rules of Hooks
28
28
  3. You might have more than one copy of React in the same app
29
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),D}function Bt(D){var X=We();if(D._context!==void 0){var ue=D._context;ue.Consumer===D?ne("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?"):ue.Provider===D&&ne("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return X.useContext(D)}function $t(D){var X=We();return X.useState(D)}function kt(D,X,ue){var me=We();return me.useReducer(D,X,ue)}function vt(D){var X=We();return X.useRef(D)}function pr(D,X){var ue=We();return ue.useEffect(D,X)}function An(D,X){var ue=We();return ue.useInsertionEffect(D,X)}function jn(D,X){var ue=We();return ue.useLayoutEffect(D,X)}function Yr(D,X){var ue=We();return ue.useCallback(D,X)}function Qi(D,X){var ue=We();return ue.useMemo(D,X)}function Dn(D,X,ue){var me=We();return me.useImperativeHandle(D,X,ue)}function ba(D,X){{var ue=We();return ue.useDebugValue(D,X)}}function bc(){var D=We();return D.useTransition()}function Ki(D){var X=We();return X.useDeferredValue(D)}function Lt(){var D=We();return D.useId()}function il(D,X,ue){var me=We();return me.useSyncExternalStore(D,X,ue)}var _o=0,hs,Ca,Cc,ra,xc,Sc,Ec;function ol(){}ol.__reactDisabledLog=!0;function iu(){{if(_o===0){hs=console.log,Ca=console.info,Cc=console.warn,ra=console.error,xc=console.group,Sc=console.groupCollapsed,Ec=console.groupEnd;var D={configurable:!0,enumerable:!0,value:ol,writable:!0};Object.defineProperties(console,{info:D,log:D,warn:D,error:D,group:D,groupCollapsed:D,groupEnd:D})}_o++}}function Oo(){{if(_o--,_o===0){var D={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ye({},D,{value:hs}),info:ye({},D,{value:Ca}),warn:ye({},D,{value:Cc}),error:ye({},D,{value:ra}),group:ye({},D,{value:xc}),groupCollapsed:ye({},D,{value:Sc}),groupEnd:ye({},D,{value:Ec})})}_o<0&&ne("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var eo=je.ReactCurrentDispatcher,oi;function ms(D,X,ue){{if(oi===void 0)try{throw Error()}catch(Be){var me=Be.stack.trim().match(/\n( *(at )?)/);oi=me&&me[1]||""}return`
30
- `+oi+D}}var to=!1,sl;{var ll=typeof WeakMap=="function"?WeakMap:Map;sl=new ll}function gs(D,X){if(!D||to)return"";{var ue=sl.get(D);if(ue!==void 0)return ue}var me;to=!0;var Be=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var it;it=eo.current,eo.current=null,iu();try{if(X){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(Zt){me=Zt}Reflect.construct(D,[],Je)}else{try{Je.call()}catch(Zt){me=Zt}D.call(Je.prototype)}}else{try{throw Error()}catch(Zt){me=Zt}D()}}catch(Zt){if(Zt&&me&&typeof Zt.stack=="string"){for(var wt=Zt.stack.split(`
29
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),D}function Bt(D){var X=We();if(D._context!==void 0){var ue=D._context;ue.Consumer===D?ne("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?"):ue.Provider===D&&ne("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return X.useContext(D)}function $t(D){var X=We();return X.useState(D)}function kt(D,X,ue){var me=We();return me.useReducer(D,X,ue)}function vt(D){var X=We();return X.useRef(D)}function pr(D,X){var ue=We();return ue.useEffect(D,X)}function An(D,X){var ue=We();return ue.useInsertionEffect(D,X)}function jn(D,X){var ue=We();return ue.useLayoutEffect(D,X)}function Yr(D,X){var ue=We();return ue.useCallback(D,X)}function Qi(D,X){var ue=We();return ue.useMemo(D,X)}function Dn(D,X,ue){var me=We();return me.useImperativeHandle(D,X,ue)}function ba(D,X){{var ue=We();return ue.useDebugValue(D,X)}}function Cc(){var D=We();return D.useTransition()}function Ki(D){var X=We();return X.useDeferredValue(D)}function Lt(){var D=We();return D.useId()}function ol(D,X,ue){var me=We();return me.useSyncExternalStore(D,X,ue)}var Oo=0,ms,Ca,xc,ra,Sc,Ec,wc;function sl(){}sl.__reactDisabledLog=!0;function ou(){{if(Oo===0){ms=console.log,Ca=console.info,xc=console.warn,ra=console.error,Sc=console.group,Ec=console.groupCollapsed,wc=console.groupEnd;var D={configurable:!0,enumerable:!0,value:sl,writable:!0};Object.defineProperties(console,{info:D,log:D,warn:D,error:D,group:D,groupCollapsed:D,groupEnd:D})}Oo++}}function Ao(){{if(Oo--,Oo===0){var D={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ye({},D,{value:ms}),info:ye({},D,{value:Ca}),warn:ye({},D,{value:xc}),error:ye({},D,{value:ra}),group:ye({},D,{value:Sc}),groupCollapsed:ye({},D,{value:Ec}),groupEnd:ye({},D,{value:wc})})}Oo<0&&ne("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var eo=je.ReactCurrentDispatcher,oi;function gs(D,X,ue){{if(oi===void 0)try{throw Error()}catch(Be){var me=Be.stack.trim().match(/\n( *(at )?)/);oi=me&&me[1]||""}return`
30
+ `+oi+D}}var to=!1,ll;{var ul=typeof WeakMap=="function"?WeakMap:Map;ll=new ul}function ys(D,X){if(!D||to)return"";{var ue=ll.get(D);if(ue!==void 0)return ue}var me;to=!0;var Be=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var it;it=eo.current,eo.current=null,ou();try{if(X){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(Zt){me=Zt}Reflect.construct(D,[],Je)}else{try{Je.call()}catch(Zt){me=Zt}D.call(Je.prototype)}}else{try{throw Error()}catch(Zt){me=Zt}D()}}catch(Zt){if(Zt&&me&&typeof Zt.stack=="string"){for(var wt=Zt.stack.split(`
31
31
  `),Pt=me.stack.split(`
32
32
  `),fn=wt.length-1,vn=Pt.length-1;fn>=1&&vn>=0&&wt[fn]!==Pt[vn];)vn--;for(;fn>=1&&vn>=0;fn--,vn--)if(wt[fn]!==Pt[vn]){if(fn!==1||vn!==1)do if(fn--,vn--,vn<0||wt[fn]!==Pt[vn]){var hn=`
33
- `+wt[fn].replace(" at new "," at ");return D.displayName&&hn.includes("<anonymous>")&&(hn=hn.replace("<anonymous>",D.displayName)),typeof D=="function"&&sl.set(D,hn),hn}while(fn>=1&&vn>=0);break}}}finally{to=!1,eo.current=it,Oo(),Error.prepareStackTrace=Be}var mn=D?D.displayName||D.name:"",Vn=mn?ms(mn):"";return typeof D=="function"&&sl.set(D,Vn),Vn}function wc(D,X,ue){return gs(D,!1)}function Rc(D){var X=D.prototype;return!!(X&&X.isReactComponent)}function Ut(D,X,ue){if(D==null)return"";if(typeof D=="function")return gs(D,Rc(D));if(typeof D=="string")return ms(D);switch(D){case T:return ms("Suspense");case j:return ms("SuspenseList")}if(typeof D=="object")switch(D.$$typeof){case R:return wc(D.render);case N:return Ut(D.type,X,ue);case O:{var me=D,Be=me._payload,it=me._init;try{return Ut(it(Be),X,ue)}catch{}}}return""}var Tc={},ou=je.ReactDebugCurrentFrame;function ys(D){if(D){var X=D._owner,ue=Ut(D.type,D._source,X?X.type:null);ou.setExtraStackFrame(ue)}else ou.setExtraStackFrame(null)}function Ic(D,X,ue,me,Be){{var it=Function.call.bind(qn);for(var Je in D)if(it(D,Je)){var wt=void 0;try{if(typeof D[Je]!="function"){var Pt=Error((me||"React class")+": "+ue+" 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 Pt.name="Invariant Violation",Pt}wt=D[Je](X,Je,me,ue,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(fn){wt=fn}wt&&!(wt instanceof Error)&&(ys(Be),ne("%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).",me||"React class",ue,Je,typeof wt),ys(null)),wt instanceof Error&&!(wt.message in Tc)&&(Tc[wt.message]=!0,ys(Be),ne("Failed %s type: %s",ue,wt.message),ys(null))}}}function Yt(D){if(D){var X=D._owner,ue=Ut(D.type,D._source,X?X.type:null);he(ue)}else he(null)}var su;su=!1;function ul(){if(J.current){var D=Cn(J.current.type);if(D)return`
33
+ `+wt[fn].replace(" at new "," at ");return D.displayName&&hn.includes("<anonymous>")&&(hn=hn.replace("<anonymous>",D.displayName)),typeof D=="function"&&ll.set(D,hn),hn}while(fn>=1&&vn>=0);break}}}finally{to=!1,eo.current=it,Ao(),Error.prepareStackTrace=Be}var mn=D?D.displayName||D.name:"",Vn=mn?gs(mn):"";return typeof D=="function"&&ll.set(D,Vn),Vn}function Rc(D,X,ue){return ys(D,!1)}function Tc(D){var X=D.prototype;return!!(X&&X.isReactComponent)}function Ut(D,X,ue){if(D==null)return"";if(typeof D=="function")return ys(D,Tc(D));if(typeof D=="string")return gs(D);switch(D){case T:return gs("Suspense");case j:return gs("SuspenseList")}if(typeof D=="object")switch(D.$$typeof){case R:return Rc(D.render);case N:return Ut(D.type,X,ue);case O:{var me=D,Be=me._payload,it=me._init;try{return Ut(it(Be),X,ue)}catch{}}}return""}var Ic={},su=je.ReactDebugCurrentFrame;function bs(D){if(D){var X=D._owner,ue=Ut(D.type,D._source,X?X.type:null);su.setExtraStackFrame(ue)}else su.setExtraStackFrame(null)}function Nc(D,X,ue,me,Be){{var it=Function.call.bind(qn);for(var Je in D)if(it(D,Je)){var wt=void 0;try{if(typeof D[Je]!="function"){var Pt=Error((me||"React class")+": "+ue+" 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 Pt.name="Invariant Violation",Pt}wt=D[Je](X,Je,me,ue,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(fn){wt=fn}wt&&!(wt instanceof Error)&&(bs(Be),ne("%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).",me||"React class",ue,Je,typeof wt),bs(null)),wt instanceof Error&&!(wt.message in Ic)&&(Ic[wt.message]=!0,bs(Be),ne("Failed %s type: %s",ue,wt.message),bs(null))}}}function Yt(D){if(D){var X=D._owner,ue=Ut(D.type,D._source,X?X.type:null);he(ue)}else he(null)}var lu;lu=!1;function cl(){if(J.current){var D=Cn(J.current.type);if(D)return`
34
34
 
35
35
  Check the render method of \``+D+"`."}return""}function Nt(D){if(D!==void 0){var X=D.fileName.replace(/^.*[\\\/]/,""),ue=D.lineNumber;return`
36
36
 
37
- Check your code at `+X+":"+ue+"."}return""}function Pi(D){return D!=null?Nt(D.__source):""}var Wn={};function xa(D){var X=ul();if(!X){var ue=typeof D=="string"?D:D.displayName||D.name;ue&&(X=`
37
+ Check your code at `+X+":"+ue+"."}return""}function Pi(D){return D!=null?Nt(D.__source):""}var Wn={};function xa(D){var X=cl();if(!X){var ue=typeof D=="string"?D:D.displayName||D.name;ue&&(X=`
38
38
 
39
- Check the top-level render call using <`+ue+">.")}return X}function si(D,X){if(!(!D._store||D._store.validated||D.key!=null)){D._store.validated=!0;var ue=xa(X);if(!Wn[ue]){Wn[ue]=!0;var me="";D&&D._owner&&D._owner!==J.current&&(me=" It was passed a child from "+Cn(D._owner.type)+"."),Yt(D),ne('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ue,me),Yt(null)}}}function bs(D,X){if(typeof D=="object"){if(It(D))for(var ue=0;ue<D.length;ue++){var me=D[ue];en(me)&&si(me,X)}else if(en(D))D._store&&(D._store.validated=!0);else if(D){var Be=V(D);if(typeof Be=="function"&&Be!==D.entries)for(var it=Be.call(D),Je;!(Je=it.next()).done;)en(Je.value)&&si(Je.value,X)}}}function Fn(D){{var X=D.type;if(X==null||typeof X=="string")return;var ue;if(typeof X=="function")ue=X.propTypes;else if(typeof X=="object"&&(X.$$typeof===R||X.$$typeof===N))ue=X.propTypes;else return;if(ue){var me=Cn(X);Ic(ue,D.props,"prop",me,D)}else if(X.PropTypes!==void 0&&!su){su=!0;var Be=Cn(X);ne("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Be||"Unknown")}typeof X.getDefaultProps=="function"&&!X.getDefaultProps.isReactClassApproved&&ne("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Xn(D){{for(var X=Object.keys(D.props),ue=0;ue<X.length;ue++){var me=X[ue];if(me!=="children"&&me!=="key"){Yt(D),ne("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",me),Yt(null);break}}D.ref!==null&&(Yt(D),ne("Invalid attribute `ref` supplied to `React.Fragment`."),Yt(null))}}function Nc(D,X,ue){var me=ke(D);if(!me){var Be="";(D===void 0||typeof D=="object"&&D!==null&&Object.keys(D).length===0)&&(Be+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var it=Pi(X);it?Be+=it:Be+=ul();var Je;D===null?Je="null":It(D)?Je="array":D!==void 0&&D.$$typeof===l?(Je="<"+(Cn(D.type)||"Unknown")+" />",Be=" Did you accidentally export a JSX literal instead of a component?"):Je=typeof D,ne("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Je,Be)}var wt=dt.apply(this,arguments);if(wt==null)return wt;if(me)for(var Pt=2;Pt<arguments.length;Pt++)bs(arguments[Pt],D);return D===h?Xn(wt):Fn(wt),wt}var Mr=!1;function Sa(D){var X=Nc.bind(null,D);return X.type=D,Mr||(Mr=!0,Le("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(X,"type",{enumerable:!1,get:function(){return Le("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:D}),D}}),X}function Fi(D,X,ue){for(var me=un.apply(this,arguments),Be=2;Be<arguments.length;Be++)bs(arguments[Be],me.type);return Fn(me),me}function lu(D,X){var ue=z.transition;z.transition={};var me=z.transition;z.transition._updatedFibers=new Set;try{D()}finally{if(z.transition=ue,ue===null&&me._updatedFibers){var Be=me._updatedFibers.size;Be>10&&Le("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),me._updatedFibers.clear()}}}var cl=!1,fl=null;function Cs(D){if(fl===null)try{var X=("require"+Math.random()).slice(0,7),ue=n&&n[X];fl=ue.call(n,"timers").setImmediate}catch{fl=function(Be){cl===!1&&(cl=!0,typeof MessageChannel>"u"&&ne("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var it=new MessageChannel;it.port1.onmessage=Be,it.port2.postMessage(void 0)}}return fl(D)}var li=0,Ao=!1;function uu(D){{var X=li;li++,U.current===null&&(U.current=[]);var ue=U.isBatchingLegacy,me;try{if(U.isBatchingLegacy=!0,me=D(),!ue&&U.didScheduleLegacyUpdate){var Be=U.current;Be!==null&&(U.didScheduleLegacyUpdate=!1,Do(Be))}}catch(mn){throw jo(X),mn}finally{U.isBatchingLegacy=ue}if(me!==null&&typeof me=="object"&&typeof me.then=="function"){var it=me,Je=!1,wt={then:function(mn,Vn){Je=!0,it.then(function(Zt){jo(X),li===0?cu(Zt,mn,Vn):mn(Zt)},function(Zt){jo(X),Vn(Zt)})}};return!Ao&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){Je||(Ao=!0,ne("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 () => ...);"))}),wt}else{var Pt=me;if(jo(X),li===0){var fn=U.current;fn!==null&&(Do(fn),U.current=null);var vn={then:function(mn,Vn){U.current===null?(U.current=[],cu(Pt,mn,Vn)):mn(Pt)}};return vn}else{var hn={then:function(mn,Vn){mn(Pt)}};return hn}}}}function jo(D){D!==li-1&&ne("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),li=D}function cu(D,X,ue){{var me=U.current;if(me!==null)try{Do(me),Cs(function(){me.length===0?(U.current=null,X(D)):cu(D,X,ue)})}catch(Be){ue(Be)}else X(D)}}var no=!1;function Do(D){if(!no){no=!0;var X=0;try{for(;X<D.length;X++){var ue=D[X];do ue=ue(!0);while(ue!==null)}D.length=0}catch(me){throw D=D.slice(X+1),me}finally{no=!1}}}var fu=Nc,_c=Fi,Vi=Sa,du={map:ai,forEach:rl,count:ps,toArray:al,only:vs};r.Children=du,r.Component=Ne,r.Fragment=h,r.Profiler=y,r.PureComponent=et,r.StrictMode=v,r.Suspense=T,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=je,r.cloneElement=_c,r.createContext=Mi,r.createElement=fu,r.createFactory=Vi,r.createRef=ft,r.forwardRef=No,r.isValidElement=en,r.lazy=Ua,r.memo=Ue,r.startTransition=lu,r.unstable_act=uu,r.useCallback=Yr,r.useContext=Bt,r.useDebugValue=ba,r.useDeferredValue=Ki,r.useEffect=pr,r.useId=Lt,r.useImperativeHandle=Dn,r.useInsertionEffect=An,r.useLayoutEffect=jn,r.useMemo=Qi,r.useReducer=kt,r.useRef=vt,r.useState=$t,r.useSyncExternalStore=il,r.useTransition=bc,r.version=u,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(cm,cm.exports)),cm.exports}var ON;function qf(){if(ON)return Rb.exports;ON=1;var n={};return n.NODE_ENV==="production"?Rb.exports=WB():Rb.exports=XB(),Rb.exports}/**
39
+ Check the top-level render call using <`+ue+">.")}return X}function si(D,X){if(!(!D._store||D._store.validated||D.key!=null)){D._store.validated=!0;var ue=xa(X);if(!Wn[ue]){Wn[ue]=!0;var me="";D&&D._owner&&D._owner!==J.current&&(me=" It was passed a child from "+Cn(D._owner.type)+"."),Yt(D),ne('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ue,me),Yt(null)}}}function Cs(D,X){if(typeof D=="object"){if(It(D))for(var ue=0;ue<D.length;ue++){var me=D[ue];en(me)&&si(me,X)}else if(en(D))D._store&&(D._store.validated=!0);else if(D){var Be=V(D);if(typeof Be=="function"&&Be!==D.entries)for(var it=Be.call(D),Je;!(Je=it.next()).done;)en(Je.value)&&si(Je.value,X)}}}function Fn(D){{var X=D.type;if(X==null||typeof X=="string")return;var ue;if(typeof X=="function")ue=X.propTypes;else if(typeof X=="object"&&(X.$$typeof===R||X.$$typeof===N))ue=X.propTypes;else return;if(ue){var me=Cn(X);Nc(ue,D.props,"prop",me,D)}else if(X.PropTypes!==void 0&&!lu){lu=!0;var Be=Cn(X);ne("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Be||"Unknown")}typeof X.getDefaultProps=="function"&&!X.getDefaultProps.isReactClassApproved&&ne("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Xn(D){{for(var X=Object.keys(D.props),ue=0;ue<X.length;ue++){var me=X[ue];if(me!=="children"&&me!=="key"){Yt(D),ne("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",me),Yt(null);break}}D.ref!==null&&(Yt(D),ne("Invalid attribute `ref` supplied to `React.Fragment`."),Yt(null))}}function _c(D,X,ue){var me=ke(D);if(!me){var Be="";(D===void 0||typeof D=="object"&&D!==null&&Object.keys(D).length===0)&&(Be+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var it=Pi(X);it?Be+=it:Be+=cl();var Je;D===null?Je="null":It(D)?Je="array":D!==void 0&&D.$$typeof===l?(Je="<"+(Cn(D.type)||"Unknown")+" />",Be=" Did you accidentally export a JSX literal instead of a component?"):Je=typeof D,ne("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Je,Be)}var wt=dt.apply(this,arguments);if(wt==null)return wt;if(me)for(var Pt=2;Pt<arguments.length;Pt++)Cs(arguments[Pt],D);return D===h?Xn(wt):Fn(wt),wt}var Mr=!1;function Sa(D){var X=_c.bind(null,D);return X.type=D,Mr||(Mr=!0,Le("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(X,"type",{enumerable:!1,get:function(){return Le("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:D}),D}}),X}function Fi(D,X,ue){for(var me=un.apply(this,arguments),Be=2;Be<arguments.length;Be++)Cs(arguments[Be],me.type);return Fn(me),me}function uu(D,X){var ue=z.transition;z.transition={};var me=z.transition;z.transition._updatedFibers=new Set;try{D()}finally{if(z.transition=ue,ue===null&&me._updatedFibers){var Be=me._updatedFibers.size;Be>10&&Le("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),me._updatedFibers.clear()}}}var fl=!1,dl=null;function xs(D){if(dl===null)try{var X=("require"+Math.random()).slice(0,7),ue=n&&n[X];dl=ue.call(n,"timers").setImmediate}catch{dl=function(Be){fl===!1&&(fl=!0,typeof MessageChannel>"u"&&ne("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var it=new MessageChannel;it.port1.onmessage=Be,it.port2.postMessage(void 0)}}return dl(D)}var li=0,jo=!1;function cu(D){{var X=li;li++,U.current===null&&(U.current=[]);var ue=U.isBatchingLegacy,me;try{if(U.isBatchingLegacy=!0,me=D(),!ue&&U.didScheduleLegacyUpdate){var Be=U.current;Be!==null&&(U.didScheduleLegacyUpdate=!1,ko(Be))}}catch(mn){throw Do(X),mn}finally{U.isBatchingLegacy=ue}if(me!==null&&typeof me=="object"&&typeof me.then=="function"){var it=me,Je=!1,wt={then:function(mn,Vn){Je=!0,it.then(function(Zt){Do(X),li===0?fu(Zt,mn,Vn):mn(Zt)},function(Zt){Do(X),Vn(Zt)})}};return!jo&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){Je||(jo=!0,ne("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 () => ...);"))}),wt}else{var Pt=me;if(Do(X),li===0){var fn=U.current;fn!==null&&(ko(fn),U.current=null);var vn={then:function(mn,Vn){U.current===null?(U.current=[],fu(Pt,mn,Vn)):mn(Pt)}};return vn}else{var hn={then:function(mn,Vn){mn(Pt)}};return hn}}}}function Do(D){D!==li-1&&ne("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),li=D}function fu(D,X,ue){{var me=U.current;if(me!==null)try{ko(me),xs(function(){me.length===0?(U.current=null,X(D)):fu(D,X,ue)})}catch(Be){ue(Be)}else X(D)}}var no=!1;function ko(D){if(!no){no=!0;var X=0;try{for(;X<D.length;X++){var ue=D[X];do ue=ue(!0);while(ue!==null)}D.length=0}catch(me){throw D=D.slice(X+1),me}finally{no=!1}}}var du=_c,Oc=Fi,Vi=Sa,pu={map:ai,forEach:al,count:vs,toArray:il,only:hs};r.Children=pu,r.Component=Ne,r.Fragment=h,r.Profiler=y,r.PureComponent=et,r.StrictMode=v,r.Suspense=T,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=je,r.cloneElement=Oc,r.createContext=Mi,r.createElement=du,r.createFactory=Vi,r.createRef=ft,r.forwardRef=_o,r.isValidElement=en,r.lazy=Ua,r.memo=Ue,r.startTransition=uu,r.unstable_act=cu,r.useCallback=Yr,r.useContext=Bt,r.useDebugValue=ba,r.useDeferredValue=Ki,r.useEffect=pr,r.useId=Lt,r.useImperativeHandle=Dn,r.useInsertionEffect=An,r.useLayoutEffect=jn,r.useMemo=Qi,r.useReducer=kt,r.useRef=vt,r.useState=$t,r.useSyncExternalStore=ol,r.useTransition=Cc,r.version=u,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(cm,cm.exports)),cm.exports}var ON;function Qf(){if(ON)return Rb.exports;ON=1;var n={};return n.NODE_ENV==="production"?Rb.exports=WB():Rb.exports=XB(),Rb.exports}/**
40
40
  * @license React
41
41
  * react-jsx-runtime.production.min.js
42
42
  *
@@ -44,7 +44,7 @@ Check the top-level render call using <`+ue+">.")}return X}function si(D,X){if(!
44
44
  *
45
45
  * This source code is licensed under the MIT license found in the
46
46
  * LICENSE file in the root directory of this source tree.
47
- */var AN;function YB(){if(AN)return tm;AN=1;var n=qf(),r=Symbol.for("react.element"),i=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function h(v,y,C){var x,R={},T=null,j=null;C!==void 0&&(T=""+C),y.key!==void 0&&(T=""+y.key),y.ref!==void 0&&(j=y.ref);for(x in y)u.call(y,x)&&!d.hasOwnProperty(x)&&(R[x]=y[x]);if(v&&v.defaultProps)for(x in y=v.defaultProps,y)R[x]===void 0&&(R[x]=y[x]);return{$$typeof:r,type:v,key:T,ref:j,props:R,_owner:l.current}}return tm.Fragment=i,tm.jsx=h,tm.jsxs=h,tm}var nm={},jN;function ZB(){if(jN)return nm;jN=1;var n={};/**
47
+ */var AN;function YB(){if(AN)return tm;AN=1;var n=Qf(),r=Symbol.for("react.element"),i=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function h(v,y,C){var x,R={},T=null,j=null;C!==void 0&&(T=""+C),y.key!==void 0&&(T=""+y.key),y.ref!==void 0&&(j=y.ref);for(x in y)u.call(y,x)&&!d.hasOwnProperty(x)&&(R[x]=y[x]);if(v&&v.defaultProps)for(x in y=v.defaultProps,y)R[x]===void 0&&(R[x]=y[x]);return{$$typeof:r,type:v,key:T,ref:j,props:R,_owner:l.current}}return tm.Fragment=i,tm.jsx=h,tm.jsxs=h,tm}var nm={},jN;function ZB(){if(jN)return nm;jN=1;var n={};/**
48
48
  * @license React
49
49
  * react-jsx-runtime.development.js
50
50
  *
@@ -52,17 +52,17 @@ Check the top-level render call using <`+ue+">.")}return X}function si(D,X){if(!
52
52
  *
53
53
  * This source code is licensed under the MIT license found in the
54
54
  * LICENSE file in the root directory of this source tree.
55
- */return n.NODE_ENV!=="production"&&function(){var r=qf(),i=Symbol.for("react.element"),u=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),y=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),N=Symbol.for("react.offscreen"),O=Symbol.iterator,_="@@iterator";function L(Z){if(Z===null||typeof Z!="object")return null;var ke=O&&Z[O]||Z[_];return typeof ke=="function"?ke:null}var F=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function V(Z){{for(var ke=arguments.length,Ue=new Array(ke>1?ke-1:0),We=1;We<ke;We++)Ue[We-1]=arguments[We];H("error",Z,Ue)}}function H(Z,ke,Ue){{var We=F.ReactDebugCurrentFrame,Bt=We.getStackAddendum();Bt!==""&&(ke+="%s",Ue=Ue.concat([Bt]));var $t=Ue.map(function(kt){return String(kt)});$t.unshift("Warning: "+ke),Function.prototype.apply.call(console[Z],console,$t)}}var z=!1,U=!1,J=!1,q=!1,Re=!1,he;he=Symbol.for("react.module.reference");function ge(Z){return!!(typeof Z=="string"||typeof Z=="function"||Z===l||Z===h||Re||Z===d||Z===x||Z===R||q||Z===N||z||U||J||typeof Z=="object"&&Z!==null&&(Z.$$typeof===j||Z.$$typeof===T||Z.$$typeof===v||Z.$$typeof===y||Z.$$typeof===C||Z.$$typeof===he||Z.getModuleId!==void 0))}function fe(Z,ke,Ue){var We=Z.displayName;if(We)return We;var Bt=ke.displayName||ke.name||"";return Bt!==""?Ue+"("+Bt+")":Ue}function Oe(Z){return Z.displayName||"Context"}function Te(Z){if(Z==null)return null;if(typeof Z.tag=="number"&&V("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof Z=="function")return Z.displayName||Z.name||null;if(typeof Z=="string")return Z;switch(Z){case l:return"Fragment";case u:return"Portal";case h:return"Profiler";case d:return"StrictMode";case x:return"Suspense";case R:return"SuspenseList"}if(typeof Z=="object")switch(Z.$$typeof){case y:var ke=Z;return Oe(ke)+".Consumer";case v:var Ue=Z;return Oe(Ue._context)+".Provider";case C:return fe(Z,Z.render,"ForwardRef");case T:var We=Z.displayName||null;return We!==null?We:Te(Z.type)||"Memo";case j:{var Bt=Z,$t=Bt._payload,kt=Bt._init;try{return Te(kt($t))}catch{return null}}}return null}var xe=Object.assign,je=0,Le,ne,_e,G,Y,re,ye;function Se(){}Se.__reactDisabledLog=!0;function Ne(){{if(je===0){Le=console.log,ne=console.info,_e=console.warn,G=console.error,Y=console.group,re=console.groupCollapsed,ye=console.groupEnd;var Z={configurable:!0,enumerable:!0,value:Se,writable:!0};Object.defineProperties(console,{info:Z,log:Z,warn:Z,error:Z,group:Z,groupCollapsed:Z,groupEnd:Z})}je++}}function le(){{if(je--,je===0){var Z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xe({},Z,{value:Le}),info:xe({},Z,{value:ne}),warn:xe({},Z,{value:_e}),error:xe({},Z,{value:G}),group:xe({},Z,{value:Y}),groupCollapsed:xe({},Z,{value:re}),groupEnd:xe({},Z,{value:ye})})}je<0&&V("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ve=F.ReactCurrentDispatcher,we;function Ve(Z,ke,Ue){{if(we===void 0)try{throw Error()}catch(Bt){var We=Bt.stack.trim().match(/\n( *(at )?)/);we=We&&We[1]||""}return`
55
+ */return n.NODE_ENV!=="production"&&function(){var r=Qf(),i=Symbol.for("react.element"),u=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),y=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),N=Symbol.for("react.offscreen"),O=Symbol.iterator,_="@@iterator";function L(Z){if(Z===null||typeof Z!="object")return null;var ke=O&&Z[O]||Z[_];return typeof ke=="function"?ke:null}var F=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function V(Z){{for(var ke=arguments.length,Ue=new Array(ke>1?ke-1:0),We=1;We<ke;We++)Ue[We-1]=arguments[We];H("error",Z,Ue)}}function H(Z,ke,Ue){{var We=F.ReactDebugCurrentFrame,Bt=We.getStackAddendum();Bt!==""&&(ke+="%s",Ue=Ue.concat([Bt]));var $t=Ue.map(function(kt){return String(kt)});$t.unshift("Warning: "+ke),Function.prototype.apply.call(console[Z],console,$t)}}var z=!1,U=!1,J=!1,q=!1,Re=!1,he;he=Symbol.for("react.module.reference");function ge(Z){return!!(typeof Z=="string"||typeof Z=="function"||Z===l||Z===h||Re||Z===d||Z===x||Z===R||q||Z===N||z||U||J||typeof Z=="object"&&Z!==null&&(Z.$$typeof===j||Z.$$typeof===T||Z.$$typeof===v||Z.$$typeof===y||Z.$$typeof===C||Z.$$typeof===he||Z.getModuleId!==void 0))}function fe(Z,ke,Ue){var We=Z.displayName;if(We)return We;var Bt=ke.displayName||ke.name||"";return Bt!==""?Ue+"("+Bt+")":Ue}function Oe(Z){return Z.displayName||"Context"}function Te(Z){if(Z==null)return null;if(typeof Z.tag=="number"&&V("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof Z=="function")return Z.displayName||Z.name||null;if(typeof Z=="string")return Z;switch(Z){case l:return"Fragment";case u:return"Portal";case h:return"Profiler";case d:return"StrictMode";case x:return"Suspense";case R:return"SuspenseList"}if(typeof Z=="object")switch(Z.$$typeof){case y:var ke=Z;return Oe(ke)+".Consumer";case v:var Ue=Z;return Oe(Ue._context)+".Provider";case C:return fe(Z,Z.render,"ForwardRef");case T:var We=Z.displayName||null;return We!==null?We:Te(Z.type)||"Memo";case j:{var Bt=Z,$t=Bt._payload,kt=Bt._init;try{return Te(kt($t))}catch{return null}}}return null}var xe=Object.assign,je=0,Le,ne,_e,G,Y,re,ye;function Se(){}Se.__reactDisabledLog=!0;function Ne(){{if(je===0){Le=console.log,ne=console.info,_e=console.warn,G=console.error,Y=console.group,re=console.groupCollapsed,ye=console.groupEnd;var Z={configurable:!0,enumerable:!0,value:Se,writable:!0};Object.defineProperties(console,{info:Z,log:Z,warn:Z,error:Z,group:Z,groupCollapsed:Z,groupEnd:Z})}je++}}function le(){{if(je--,je===0){var Z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xe({},Z,{value:Le}),info:xe({},Z,{value:ne}),warn:xe({},Z,{value:_e}),error:xe({},Z,{value:G}),group:xe({},Z,{value:Y}),groupCollapsed:xe({},Z,{value:re}),groupEnd:xe({},Z,{value:ye})})}je<0&&V("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ve=F.ReactCurrentDispatcher,we;function Ve(Z,ke,Ue){{if(we===void 0)try{throw Error()}catch(Bt){var We=Bt.stack.trim().match(/\n( *(at )?)/);we=We&&We[1]||""}return`
56
56
  `+we+Z}}var et=!1,tt;{var ft=typeof WeakMap=="function"?WeakMap:Map;tt=new ft}function Ae(Z,ke){if(!Z||et)return"";{var Ue=tt.get(Z);if(Ue!==void 0)return Ue}var We;et=!0;var Bt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var $t;$t=ve.current,ve.current=null,Ne();try{if(ke){var kt=function(){throw Error()};if(Object.defineProperty(kt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(kt,[])}catch(ba){We=ba}Reflect.construct(Z,[],kt)}else{try{kt.call()}catch(ba){We=ba}Z.call(kt.prototype)}}else{try{throw Error()}catch(ba){We=ba}Z()}}catch(ba){if(ba&&We&&typeof ba.stack=="string"){for(var vt=ba.stack.split(`
57
57
  `),pr=We.stack.split(`
58
58
  `),An=vt.length-1,jn=pr.length-1;An>=1&&jn>=0&&vt[An]!==pr[jn];)jn--;for(;An>=1&&jn>=0;An--,jn--)if(vt[An]!==pr[jn]){if(An!==1||jn!==1)do if(An--,jn--,jn<0||vt[An]!==pr[jn]){var Yr=`
59
59
  `+vt[An].replace(" at new "," at ");return Z.displayName&&Yr.includes("<anonymous>")&&(Yr=Yr.replace("<anonymous>",Z.displayName)),typeof Z=="function"&&tt.set(Z,Yr),Yr}while(An>=1&&jn>=0);break}}}finally{et=!1,ve.current=$t,le(),Error.prepareStackTrace=Bt}var Qi=Z?Z.displayName||Z.name:"",Dn=Qi?Ve(Qi):"";return typeof Z=="function"&&tt.set(Z,Dn),Dn}function It(Z,ke,Ue){return Ae(Z,!1)}function pt(Z){var ke=Z.prototype;return!!(ke&&ke.isReactComponent)}function Kt(Z,ke,Ue){if(Z==null)return"";if(typeof Z=="function")return Ae(Z,pt(Z));if(typeof Z=="string")return Ve(Z);switch(Z){case x:return Ve("Suspense");case R:return Ve("SuspenseList")}if(typeof Z=="object")switch(Z.$$typeof){case C:return It(Z.render);case T:return Kt(Z.type,ke,Ue);case j:{var We=Z,Bt=We._payload,$t=We._init;try{return Kt($t(Bt),ke,Ue)}catch{}}}return""}var on=Object.prototype.hasOwnProperty,sn={},_n=F.ReactDebugCurrentFrame;function Vt(Z){if(Z){var ke=Z._owner,Ue=Kt(Z.type,Z._source,ke?ke.type:null);_n.setExtraStackFrame(Ue)}else _n.setExtraStackFrame(null)}function Cn(Z,ke,Ue,We,Bt){{var $t=Function.call.bind(on);for(var kt in Z)if($t(Z,kt)){var vt=void 0;try{if(typeof Z[kt]!="function"){var pr=Error((We||"React class")+": "+Ue+" type `"+kt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof Z[kt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw pr.name="Invariant Violation",pr}vt=Z[kt](ke,kt,We,Ue,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(An){vt=An}vt&&!(vt instanceof Error)&&(Vt(Bt),V("%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).",We||"React class",Ue,kt,typeof vt),Vt(null)),vt instanceof Error&&!(vt.message in sn)&&(sn[vt.message]=!0,Vt(Bt),V("Failed %s type: %s",Ue,vt.message),Vt(null))}}}var qn=Array.isArray;function Rr(Z){return qn(Z)}function $n(Z){{var ke=typeof Symbol=="function"&&Symbol.toStringTag,Ue=ke&&Z[Symbol.toStringTag]||Z.constructor.name||"Object";return Ue}}function Tr(Z){try{return xt(Z),!1}catch{return!0}}function xt(Z){return""+Z}function Pn(Z){if(Tr(Z))return V("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",$n(Z)),xt(Z)}var ln=F.ReactCurrentOwner,Ba={key:!0,ref:!0,__self:!0,__source:!0},za,Ha,Ge;Ge={};function dt(Z){if(on.call(Z,"ref")){var ke=Object.getOwnPropertyDescriptor(Z,"ref").get;if(ke&&ke.isReactWarning)return!1}return Z.ref!==void 0}function Mt(Z){if(on.call(Z,"key")){var ke=Object.getOwnPropertyDescriptor(Z,"key").get;if(ke&&ke.isReactWarning)return!1}return Z.key!==void 0}function un(Z,ke){if(typeof Z.ref=="string"&&ln.current&&ke&&ln.current.stateNode!==ke){var Ue=Te(ln.current.type);Ge[Ue]||(V('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',Te(ln.current.type),Z.ref),Ge[Ue]=!0)}}function en(Z,ke){{var Ue=function(){za||(za=!0,V("%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)",ke))};Ue.isReactWarning=!0,Object.defineProperty(Z,"key",{get:Ue,configurable:!0})}}function ar(Z,ke){{var Ue=function(){Ha||(Ha=!0,V("%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)",ke))};Ue.isReactWarning=!0,Object.defineProperty(Z,"ref",{get:Ue,configurable:!0})}}var Gn=function(Z,ke,Ue,We,Bt,$t,kt){var vt={$$typeof:i,type:Z,key:ke,ref:Ue,props:kt,_owner:$t};return vt._store={},Object.defineProperty(vt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(vt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:We}),Object.defineProperty(vt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Bt}),Object.freeze&&(Object.freeze(vt.props),Object.freeze(vt)),vt};function Xr(Z,ke,Ue,We,Bt){{var $t,kt={},vt=null,pr=null;Ue!==void 0&&(Pn(Ue),vt=""+Ue),Mt(ke)&&(Pn(ke.key),vt=""+ke.key),dt(ke)&&(pr=ke.ref,un(ke,Bt));for($t in ke)on.call(ke,$t)&&!Ba.hasOwnProperty($t)&&(kt[$t]=ke[$t]);if(Z&&Z.defaultProps){var An=Z.defaultProps;for($t in An)kt[$t]===void 0&&(kt[$t]=An[$t])}if(vt||pr){var jn=typeof Z=="function"?Z.displayName||Z.name||"Unknown":Z;vt&&en(kt,jn),pr&&ar(kt,jn)}return Gn(Z,vt,pr,Bt,We,ln.current,kt)}}var pn=F.ReactCurrentOwner,Ir=F.ReactDebugCurrentFrame;function cn(Z){if(Z){var ke=Z._owner,Ue=Kt(Z.type,Z._source,ke?ke.type:null);Ir.setExtraStackFrame(Ue)}else Ir.setExtraStackFrame(null)}var On;On=!1;function ki(Z){return typeof Z=="object"&&Z!==null&&Z.$$typeof===i}function ai(){{if(pn.current){var Z=Te(pn.current.type);if(Z)return`
60
60
 
61
- Check the render method of \``+Z+"`."}return""}}function ps(Z){{if(Z!==void 0){var ke=Z.fileName.replace(/^.*[\\\/]/,""),Ue=Z.lineNumber;return`
61
+ Check the render method of \``+Z+"`."}return""}}function vs(Z){{if(Z!==void 0){var ke=Z.fileName.replace(/^.*[\\\/]/,""),Ue=Z.lineNumber;return`
62
62
 
63
- Check your code at `+ke+":"+Ue+"."}return""}}var rl={};function al(Z){{var ke=ai();if(!ke){var Ue=typeof Z=="string"?Z:Z.displayName||Z.name;Ue&&(ke=`
63
+ Check your code at `+ke+":"+Ue+"."}return""}}var al={};function il(Z){{var ke=ai();if(!ke){var Ue=typeof Z=="string"?Z:Z.displayName||Z.name;Ue&&(ke=`
64
64
 
65
- Check the top-level render call using <`+Ue+">.")}return ke}}function vs(Z,ke){{if(!Z._store||Z._store.validated||Z.key!=null)return;Z._store.validated=!0;var Ue=al(ke);if(rl[Ue])return;rl[Ue]=!0;var We="";Z&&Z._owner&&Z._owner!==pn.current&&(We=" It was passed a child from "+Te(Z._owner.type)+"."),cn(Z),V('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Ue,We),cn(null)}}function Mi(Z,ke){{if(typeof Z!="object")return;if(Rr(Z))for(var Ue=0;Ue<Z.length;Ue++){var We=Z[Ue];ki(We)&&vs(We,ke)}else if(ki(Z))Z._store&&(Z._store.validated=!0);else if(Z){var Bt=L(Z);if(typeof Bt=="function"&&Bt!==Z.entries)for(var $t=Bt.call(Z),kt;!(kt=$t.next()).done;)ki(kt.value)&&vs(kt.value,ke)}}}function Li(Z){{var ke=Z.type;if(ke==null||typeof ke=="string")return;var Ue;if(typeof ke=="function")Ue=ke.propTypes;else if(typeof ke=="object"&&(ke.$$typeof===C||ke.$$typeof===T))Ue=ke.propTypes;else return;if(Ue){var We=Te(ke);Cn(Ue,Z.props,"prop",We,Z)}else if(ke.PropTypes!==void 0&&!On){On=!0;var Bt=Te(ke);V("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Bt||"Unknown")}typeof ke.getDefaultProps=="function"&&!ke.getDefaultProps.isReactClassApproved&&V("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ii(Z){{for(var ke=Object.keys(Z.props),Ue=0;Ue<ke.length;Ue++){var We=ke[Ue];if(We!=="children"&&We!=="key"){cn(Z),V("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",We),cn(null);break}}Z.ref!==null&&(cn(Z),V("Invalid attribute `ref` supplied to `React.Fragment`."),cn(null))}}function Io(Z,ke,Ue,We,Bt,$t){{var kt=ge(Z);if(!kt){var vt="";(Z===void 0||typeof Z=="object"&&Z!==null&&Object.keys(Z).length===0)&&(vt+=" 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 pr=ps(Bt);pr?vt+=pr:vt+=ai();var An;Z===null?An="null":Rr(Z)?An="array":Z!==void 0&&Z.$$typeof===i?(An="<"+(Te(Z.type)||"Unknown")+" />",vt=" Did you accidentally export a JSX literal instead of a component?"):An=typeof Z,V("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",An,vt)}var jn=Xr(Z,ke,Ue,Bt,$t);if(jn==null)return jn;if(kt){var Yr=ke.children;if(Yr!==void 0)if(We)if(Rr(Yr)){for(var Qi=0;Qi<Yr.length;Qi++)Mi(Yr[Qi],Z);Object.freeze&&Object.freeze(Yr)}else V("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 Mi(Yr,Z)}return Z===l?ii(jn):Li(jn),jn}}function ga(Z,ke,Ue){return Io(Z,ke,Ue,!0)}function ya(Z,ke,Ue){return Io(Z,ke,Ue,!1)}var Ua=ya,No=ga;nm.Fragment=l,nm.jsx=Ua,nm.jsxs=No}(),nm}var JB={};JB.NODE_ENV==="production"?KE.exports=YB():KE.exports=ZB();var b=KE.exports,ls={},ew={exports:{}},Ii={},Tb={exports:{}},CE={};/**
65
+ Check the top-level render call using <`+Ue+">.")}return ke}}function hs(Z,ke){{if(!Z._store||Z._store.validated||Z.key!=null)return;Z._store.validated=!0;var Ue=il(ke);if(al[Ue])return;al[Ue]=!0;var We="";Z&&Z._owner&&Z._owner!==pn.current&&(We=" It was passed a child from "+Te(Z._owner.type)+"."),cn(Z),V('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Ue,We),cn(null)}}function Mi(Z,ke){{if(typeof Z!="object")return;if(Rr(Z))for(var Ue=0;Ue<Z.length;Ue++){var We=Z[Ue];ki(We)&&hs(We,ke)}else if(ki(Z))Z._store&&(Z._store.validated=!0);else if(Z){var Bt=L(Z);if(typeof Bt=="function"&&Bt!==Z.entries)for(var $t=Bt.call(Z),kt;!(kt=$t.next()).done;)ki(kt.value)&&hs(kt.value,ke)}}}function Li(Z){{var ke=Z.type;if(ke==null||typeof ke=="string")return;var Ue;if(typeof ke=="function")Ue=ke.propTypes;else if(typeof ke=="object"&&(ke.$$typeof===C||ke.$$typeof===T))Ue=ke.propTypes;else return;if(Ue){var We=Te(ke);Cn(Ue,Z.props,"prop",We,Z)}else if(ke.PropTypes!==void 0&&!On){On=!0;var Bt=Te(ke);V("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Bt||"Unknown")}typeof ke.getDefaultProps=="function"&&!ke.getDefaultProps.isReactClassApproved&&V("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ii(Z){{for(var ke=Object.keys(Z.props),Ue=0;Ue<ke.length;Ue++){var We=ke[Ue];if(We!=="children"&&We!=="key"){cn(Z),V("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",We),cn(null);break}}Z.ref!==null&&(cn(Z),V("Invalid attribute `ref` supplied to `React.Fragment`."),cn(null))}}function No(Z,ke,Ue,We,Bt,$t){{var kt=ge(Z);if(!kt){var vt="";(Z===void 0||typeof Z=="object"&&Z!==null&&Object.keys(Z).length===0)&&(vt+=" 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 pr=vs(Bt);pr?vt+=pr:vt+=ai();var An;Z===null?An="null":Rr(Z)?An="array":Z!==void 0&&Z.$$typeof===i?(An="<"+(Te(Z.type)||"Unknown")+" />",vt=" Did you accidentally export a JSX literal instead of a component?"):An=typeof Z,V("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",An,vt)}var jn=Xr(Z,ke,Ue,Bt,$t);if(jn==null)return jn;if(kt){var Yr=ke.children;if(Yr!==void 0)if(We)if(Rr(Yr)){for(var Qi=0;Qi<Yr.length;Qi++)Mi(Yr[Qi],Z);Object.freeze&&Object.freeze(Yr)}else V("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 Mi(Yr,Z)}return Z===l?ii(jn):Li(jn),jn}}function ga(Z,ke,Ue){return No(Z,ke,Ue,!0)}function ya(Z,ke,Ue){return No(Z,ke,Ue,!1)}var Ua=ya,_o=ga;nm.Fragment=l,nm.jsx=Ua,nm.jsxs=_o}(),nm}var JB={};JB.NODE_ENV==="production"?KE.exports=YB():KE.exports=ZB();var b=KE.exports,us={},ew={exports:{}},Ii={},Tb={exports:{}},CE={};/**
66
66
  * @license React
67
67
  * scheduler.production.min.js
68
68
  *
@@ -86,14 +86,14 @@ Check the top-level render call using <`+Ue+">.")}return ke}}function vs(Z,ke){{
86
86
  *
87
87
  * This source code is licensed under the MIT license found in the
88
88
  * LICENSE file in the root directory of this source tree.
89
- */var LN;function KB(){if(LN)return Ii;LN=1;var n=qf(),r=WO();function i(a){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=1;f<arguments.length;f++)o+="&args[]="+encodeURIComponent(arguments[f]);return"Minified React error #"+a+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var u=new Set,l={};function d(a,o){h(a,o),h(a+"Capture",o)}function h(a,o){for(l[a]=o,a=0;a<o.length;a++)u.add(o[a])}var v=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),y=Object.prototype.hasOwnProperty,C=/^[: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][: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\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,x={},R={};function T(a){return y.call(R,a)?!0:y.call(x,a)?!1:C.test(a)?R[a]=!0:(x[a]=!0,!1)}function j(a,o,f,m){if(f!==null&&f.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return m?!1:f!==null?!f.acceptsBooleans:(a=a.toLowerCase().slice(0,5),a!=="data-"&&a!=="aria-");default:return!1}}function N(a,o,f,m){if(o===null||typeof o>"u"||j(a,o,f,m))return!0;if(m)return!1;if(f!==null)switch(f.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function O(a,o,f,m,S,w,k){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=m,this.attributeNamespace=S,this.mustUseProperty=f,this.propertyName=a,this.type=o,this.sanitizeURL=w,this.removeEmptyString=k}var _={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){_[a]=new O(a,0,!1,a,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var o=a[0];_[o]=new O(o,1,!1,a[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(a){_[a]=new O(a,2,!1,a.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){_[a]=new O(a,2,!1,a,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".split(" ").forEach(function(a){_[a]=new O(a,3,!1,a.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(a){_[a]=new O(a,3,!0,a,null,!1,!1)}),["capture","download"].forEach(function(a){_[a]=new O(a,4,!1,a,null,!1,!1)}),["cols","rows","size","span"].forEach(function(a){_[a]=new O(a,6,!1,a,null,!1,!1)}),["rowSpan","start"].forEach(function(a){_[a]=new O(a,5,!1,a.toLowerCase(),null,!1,!1)});var L=/[\-:]([a-z])/g;function F(a){return a[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".split(" ").forEach(function(a){var o=a.replace(L,F);_[o]=new O(o,1,!1,a,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var o=a.replace(L,F);_[o]=new O(o,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(a){var o=a.replace(L,F);_[o]=new O(o,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(a){_[a]=new O(a,1,!1,a.toLowerCase(),null,!1,!1)}),_.xlinkHref=new O("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(a){_[a]=new O(a,1,!1,a.toLowerCase(),null,!0,!0)});function V(a,o,f,m){var S=_.hasOwnProperty(o)?_[o]:null;(S!==null?S.type!==0:m||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(N(o,f,S,m)&&(f=null),m||S===null?T(o)&&(f===null?a.removeAttribute(o):a.setAttribute(o,""+f)):S.mustUseProperty?a[S.propertyName]=f===null?S.type===3?!1:"":f:(o=S.attributeName,m=S.attributeNamespace,f===null?a.removeAttribute(o):(S=S.type,f=S===3||S===4&&f===!0?"":""+f,m?a.setAttributeNS(m,o,f):a.setAttribute(o,f))))}var H=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,z=Symbol.for("react.element"),U=Symbol.for("react.portal"),J=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),Re=Symbol.for("react.profiler"),he=Symbol.for("react.provider"),ge=Symbol.for("react.context"),fe=Symbol.for("react.forward_ref"),Oe=Symbol.for("react.suspense"),Te=Symbol.for("react.suspense_list"),xe=Symbol.for("react.memo"),je=Symbol.for("react.lazy"),Le=Symbol.for("react.offscreen"),ne=Symbol.iterator;function _e(a){return a===null||typeof a!="object"?null:(a=ne&&a[ne]||a["@@iterator"],typeof a=="function"?a:null)}var G=Object.assign,Y;function re(a){if(Y===void 0)try{throw Error()}catch(f){var o=f.stack.trim().match(/\n( *(at )?)/);Y=o&&o[1]||""}return`
89
+ */var LN;function KB(){if(LN)return Ii;LN=1;var n=Qf(),r=WO();function i(a){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=1;f<arguments.length;f++)o+="&args[]="+encodeURIComponent(arguments[f]);return"Minified React error #"+a+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var u=new Set,l={};function d(a,o){h(a,o),h(a+"Capture",o)}function h(a,o){for(l[a]=o,a=0;a<o.length;a++)u.add(o[a])}var v=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),y=Object.prototype.hasOwnProperty,C=/^[: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][: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\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,x={},R={};function T(a){return y.call(R,a)?!0:y.call(x,a)?!1:C.test(a)?R[a]=!0:(x[a]=!0,!1)}function j(a,o,f,m){if(f!==null&&f.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return m?!1:f!==null?!f.acceptsBooleans:(a=a.toLowerCase().slice(0,5),a!=="data-"&&a!=="aria-");default:return!1}}function N(a,o,f,m){if(o===null||typeof o>"u"||j(a,o,f,m))return!0;if(m)return!1;if(f!==null)switch(f.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function O(a,o,f,m,S,w,k){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=m,this.attributeNamespace=S,this.mustUseProperty=f,this.propertyName=a,this.type=o,this.sanitizeURL=w,this.removeEmptyString=k}var _={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){_[a]=new O(a,0,!1,a,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var o=a[0];_[o]=new O(o,1,!1,a[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(a){_[a]=new O(a,2,!1,a.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){_[a]=new O(a,2,!1,a,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".split(" ").forEach(function(a){_[a]=new O(a,3,!1,a.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(a){_[a]=new O(a,3,!0,a,null,!1,!1)}),["capture","download"].forEach(function(a){_[a]=new O(a,4,!1,a,null,!1,!1)}),["cols","rows","size","span"].forEach(function(a){_[a]=new O(a,6,!1,a,null,!1,!1)}),["rowSpan","start"].forEach(function(a){_[a]=new O(a,5,!1,a.toLowerCase(),null,!1,!1)});var L=/[\-:]([a-z])/g;function F(a){return a[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".split(" ").forEach(function(a){var o=a.replace(L,F);_[o]=new O(o,1,!1,a,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var o=a.replace(L,F);_[o]=new O(o,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(a){var o=a.replace(L,F);_[o]=new O(o,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(a){_[a]=new O(a,1,!1,a.toLowerCase(),null,!1,!1)}),_.xlinkHref=new O("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(a){_[a]=new O(a,1,!1,a.toLowerCase(),null,!0,!0)});function V(a,o,f,m){var S=_.hasOwnProperty(o)?_[o]:null;(S!==null?S.type!==0:m||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(N(o,f,S,m)&&(f=null),m||S===null?T(o)&&(f===null?a.removeAttribute(o):a.setAttribute(o,""+f)):S.mustUseProperty?a[S.propertyName]=f===null?S.type===3?!1:"":f:(o=S.attributeName,m=S.attributeNamespace,f===null?a.removeAttribute(o):(S=S.type,f=S===3||S===4&&f===!0?"":""+f,m?a.setAttributeNS(m,o,f):a.setAttribute(o,f))))}var H=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,z=Symbol.for("react.element"),U=Symbol.for("react.portal"),J=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),Re=Symbol.for("react.profiler"),he=Symbol.for("react.provider"),ge=Symbol.for("react.context"),fe=Symbol.for("react.forward_ref"),Oe=Symbol.for("react.suspense"),Te=Symbol.for("react.suspense_list"),xe=Symbol.for("react.memo"),je=Symbol.for("react.lazy"),Le=Symbol.for("react.offscreen"),ne=Symbol.iterator;function _e(a){return a===null||typeof a!="object"?null:(a=ne&&a[ne]||a["@@iterator"],typeof a=="function"?a:null)}var G=Object.assign,Y;function re(a){if(Y===void 0)try{throw Error()}catch(f){var o=f.stack.trim().match(/\n( *(at )?)/);Y=o&&o[1]||""}return`
90
90
  `+Y+a}var ye=!1;function Se(a,o){if(!a||ye)return"";ye=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=function(){throw Error()},Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(pe){var m=pe}Reflect.construct(a,[],o)}else{try{o.call()}catch(pe){m=pe}a.call(o.prototype)}else{try{throw Error()}catch(pe){m=pe}a()}}catch(pe){if(pe&&m&&typeof pe.stack=="string"){for(var S=pe.stack.split(`
91
91
  `),w=m.stack.split(`
92
92
  `),k=S.length-1,W=w.length-1;1<=k&&0<=W&&S[k]!==w[W];)W--;for(;1<=k&&0<=W;k--,W--)if(S[k]!==w[W]){if(k!==1||W!==1)do if(k--,W--,0>W||S[k]!==w[W]){var Q=`
93
- `+S[k].replace(" at new "," at ");return a.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",a.displayName)),Q}while(1<=k&&0<=W);break}}}finally{ye=!1,Error.prepareStackTrace=f}return(a=a?a.displayName||a.name:"")?re(a):""}function Ne(a){switch(a.tag){case 5:return re(a.type);case 16:return re("Lazy");case 13:return re("Suspense");case 19:return re("SuspenseList");case 0:case 2:case 15:return a=Se(a.type,!1),a;case 11:return a=Se(a.type.render,!1),a;case 1:return a=Se(a.type,!0),a;default:return""}}function le(a){if(a==null)return null;if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case J:return"Fragment";case U:return"Portal";case Re:return"Profiler";case q:return"StrictMode";case Oe:return"Suspense";case Te:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case ge:return(a.displayName||"Context")+".Consumer";case he:return(a._context.displayName||"Context")+".Provider";case fe:var o=a.render;return a=a.displayName,a||(a=o.displayName||o.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case xe:return o=a.displayName||null,o!==null?o:le(a.type)||"Memo";case je:o=a._payload,a=a._init;try{return le(a(o))}catch{}}return null}function ve(a){var o=a.type;switch(a.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=o.render,a=a.displayName||a.name||"",o.displayName||(a!==""?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return le(o);case 8:return o===q?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function we(a){switch(typeof a){case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Ve(a){var o=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function et(a){var o=Ve(a)?"checked":"value",f=Object.getOwnPropertyDescriptor(a.constructor.prototype,o),m=""+a[o];if(!a.hasOwnProperty(o)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var S=f.get,w=f.set;return Object.defineProperty(a,o,{configurable:!0,get:function(){return S.call(this)},set:function(k){m=""+k,w.call(this,k)}}),Object.defineProperty(a,o,{enumerable:f.enumerable}),{getValue:function(){return m},setValue:function(k){m=""+k},stopTracking:function(){a._valueTracker=null,delete a[o]}}}}function tt(a){a._valueTracker||(a._valueTracker=et(a))}function ft(a){if(!a)return!1;var o=a._valueTracker;if(!o)return!0;var f=o.getValue(),m="";return a&&(m=Ve(a)?a.checked?"true":"false":a.value),a=m,a!==f?(o.setValue(a),!0):!1}function Ae(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}function It(a,o){var f=o.checked;return G({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??a._wrapperState.initialChecked})}function pt(a,o){var f=o.defaultValue==null?"":o.defaultValue,m=o.checked!=null?o.checked:o.defaultChecked;f=we(o.value!=null?o.value:f),a._wrapperState={initialChecked:m,initialValue:f,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function Kt(a,o){o=o.checked,o!=null&&V(a,"checked",o,!1)}function on(a,o){Kt(a,o);var f=we(o.value),m=o.type;if(f!=null)m==="number"?(f===0&&a.value===""||a.value!=f)&&(a.value=""+f):a.value!==""+f&&(a.value=""+f);else if(m==="submit"||m==="reset"){a.removeAttribute("value");return}o.hasOwnProperty("value")?_n(a,o.type,f):o.hasOwnProperty("defaultValue")&&_n(a,o.type,we(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(a.defaultChecked=!!o.defaultChecked)}function sn(a,o,f){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var m=o.type;if(!(m!=="submit"&&m!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+a._wrapperState.initialValue,f||o===a.value||(a.value=o),a.defaultValue=o}f=a.name,f!==""&&(a.name=""),a.defaultChecked=!!a._wrapperState.initialChecked,f!==""&&(a.name=f)}function _n(a,o,f){(o!=="number"||Ae(a.ownerDocument)!==a)&&(f==null?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+f&&(a.defaultValue=""+f))}var Vt=Array.isArray;function Cn(a,o,f,m){if(a=a.options,o){o={};for(var S=0;S<f.length;S++)o["$"+f[S]]=!0;for(f=0;f<a.length;f++)S=o.hasOwnProperty("$"+a[f].value),a[f].selected!==S&&(a[f].selected=S),S&&m&&(a[f].defaultSelected=!0)}else{for(f=""+we(f),o=null,S=0;S<a.length;S++){if(a[S].value===f){a[S].selected=!0,m&&(a[S].defaultSelected=!0);return}o!==null||a[S].disabled||(o=a[S])}o!==null&&(o.selected=!0)}}function qn(a,o){if(o.dangerouslySetInnerHTML!=null)throw Error(i(91));return G({},o,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function Rr(a,o){var f=o.value;if(f==null){if(f=o.children,o=o.defaultValue,f!=null){if(o!=null)throw Error(i(92));if(Vt(f)){if(1<f.length)throw Error(i(93));f=f[0]}o=f}o==null&&(o=""),f=o}a._wrapperState={initialValue:we(f)}}function $n(a,o){var f=we(o.value),m=we(o.defaultValue);f!=null&&(f=""+f,f!==a.value&&(a.value=f),o.defaultValue==null&&a.defaultValue!==f&&(a.defaultValue=f)),m!=null&&(a.defaultValue=""+m)}function Tr(a){var o=a.textContent;o===a._wrapperState.initialValue&&o!==""&&o!==null&&(a.value=o)}function xt(a){switch(a){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Pn(a,o){return a==null||a==="http://www.w3.org/1999/xhtml"?xt(o):a==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":a}var ln,Ba=function(a){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,f,m,S){MSApp.execUnsafeLocalFunction(function(){return a(o,f,m,S)})}:a}(function(a,o){if(a.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in a)a.innerHTML=o;else{for(ln=ln||document.createElement("div"),ln.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=ln.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;o.firstChild;)a.appendChild(o.firstChild)}});function za(a,o){if(o){var f=a.firstChild;if(f&&f===a.lastChild&&f.nodeType===3){f.nodeValue=o;return}}a.textContent=o}var Ha={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},Ge=["Webkit","ms","Moz","O"];Object.keys(Ha).forEach(function(a){Ge.forEach(function(o){o=o+a.charAt(0).toUpperCase()+a.substring(1),Ha[o]=Ha[a]})});function dt(a,o,f){return o==null||typeof o=="boolean"||o===""?"":f||typeof o!="number"||o===0||Ha.hasOwnProperty(a)&&Ha[a]?(""+o).trim():o+"px"}function Mt(a,o){a=a.style;for(var f in o)if(o.hasOwnProperty(f)){var m=f.indexOf("--")===0,S=dt(f,o[f],m);f==="float"&&(f="cssFloat"),m?a.setProperty(f,S):a[f]=S}}var un=G({menuitem:!0},{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});function en(a,o){if(o){if(un[a]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(i(137,a));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(i(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(i(61))}if(o.style!=null&&typeof o.style!="object")throw Error(i(62))}}function ar(a,o){if(a.indexOf("-")===-1)return typeof o.is=="string";switch(a){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 Gn=null;function Xr(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var pn=null,Ir=null,cn=null;function On(a){if(a=ao(a)){if(typeof pn!="function")throw Error(i(280));var o=a.stateNode;o&&(o=ud(o),pn(a.stateNode,a.type,o))}}function ki(a){Ir?cn?cn.push(a):cn=[a]:Ir=a}function ai(){if(Ir){var a=Ir,o=cn;if(cn=Ir=null,On(a),o)for(a=0;a<o.length;a++)On(o[a])}}function ps(a,o){return a(o)}function rl(){}var al=!1;function vs(a,o,f){if(al)return a(o,f);al=!0;try{return ps(a,o,f)}finally{al=!1,(Ir!==null||cn!==null)&&(rl(),ai())}}function Mi(a,o){var f=a.stateNode;if(f===null)return null;var m=ud(f);if(m===null)return null;f=m[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(m=!m.disabled)||(a=a.type,m=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!m;break e;default:a=!1}if(a)return null;if(f&&typeof f!="function")throw Error(i(231,o,typeof f));return f}var Li=!1;if(v)try{var ii={};Object.defineProperty(ii,"passive",{get:function(){Li=!0}}),window.addEventListener("test",ii,ii),window.removeEventListener("test",ii,ii)}catch{Li=!1}function Io(a,o,f,m,S,w,k,W,Q){var pe=Array.prototype.slice.call(arguments,3);try{o.apply(f,pe)}catch(Me){this.onError(Me)}}var ga=!1,ya=null,Ua=!1,No=null,Z={onError:function(a){ga=!0,ya=a}};function ke(a,o,f,m,S,w,k,W,Q){ga=!1,ya=null,Io.apply(Z,arguments)}function Ue(a,o,f,m,S,w,k,W,Q){if(ke.apply(this,arguments),ga){if(ga){var pe=ya;ga=!1,ya=null}else throw Error(i(198));Ua||(Ua=!0,No=pe)}}function We(a){var o=a,f=a;if(a.alternate)for(;o.return;)o=o.return;else{a=o;do o=a,o.flags&4098&&(f=o.return),a=o.return;while(a)}return o.tag===3?f:null}function Bt(a){if(a.tag===13){var o=a.memoizedState;if(o===null&&(a=a.alternate,a!==null&&(o=a.memoizedState)),o!==null)return o.dehydrated}return null}function $t(a){if(We(a)!==a)throw Error(i(188))}function kt(a){var o=a.alternate;if(!o){if(o=We(a),o===null)throw Error(i(188));return o!==a?null:a}for(var f=a,m=o;;){var S=f.return;if(S===null)break;var w=S.alternate;if(w===null){if(m=S.return,m!==null){f=m;continue}break}if(S.child===w.child){for(w=S.child;w;){if(w===f)return $t(S),a;if(w===m)return $t(S),o;w=w.sibling}throw Error(i(188))}if(f.return!==m.return)f=S,m=w;else{for(var k=!1,W=S.child;W;){if(W===f){k=!0,f=S,m=w;break}if(W===m){k=!0,m=S,f=w;break}W=W.sibling}if(!k){for(W=w.child;W;){if(W===f){k=!0,f=w,m=S;break}if(W===m){k=!0,m=w,f=S;break}W=W.sibling}if(!k)throw Error(i(189))}}if(f.alternate!==m)throw Error(i(190))}if(f.tag!==3)throw Error(i(188));return f.stateNode.current===f?a:o}function vt(a){return a=kt(a),a!==null?pr(a):null}function pr(a){if(a.tag===5||a.tag===6)return a;for(a=a.child;a!==null;){var o=pr(a);if(o!==null)return o;a=a.sibling}return null}var An=r.unstable_scheduleCallback,jn=r.unstable_cancelCallback,Yr=r.unstable_shouldYield,Qi=r.unstable_requestPaint,Dn=r.unstable_now,ba=r.unstable_getCurrentPriorityLevel,bc=r.unstable_ImmediatePriority,Ki=r.unstable_UserBlockingPriority,Lt=r.unstable_NormalPriority,il=r.unstable_LowPriority,_o=r.unstable_IdlePriority,hs=null,Ca=null;function Cc(a){if(Ca&&typeof Ca.onCommitFiberRoot=="function")try{Ca.onCommitFiberRoot(hs,a,void 0,(a.current.flags&128)===128)}catch{}}var ra=Math.clz32?Math.clz32:Ec,xc=Math.log,Sc=Math.LN2;function Ec(a){return a>>>=0,a===0?32:31-(xc(a)/Sc|0)|0}var ol=64,iu=4194304;function Oo(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}}function eo(a,o){var f=a.pendingLanes;if(f===0)return 0;var m=0,S=a.suspendedLanes,w=a.pingedLanes,k=f&268435455;if(k!==0){var W=k&~S;W!==0?m=Oo(W):(w&=k,w!==0&&(m=Oo(w)))}else k=f&~S,k!==0?m=Oo(k):w!==0&&(m=Oo(w));if(m===0)return 0;if(o!==0&&o!==m&&!(o&S)&&(S=m&-m,w=o&-o,S>=w||S===16&&(w&4194240)!==0))return o;if(m&4&&(m|=f&16),o=a.entangledLanes,o!==0)for(a=a.entanglements,o&=m;0<o;)f=31-ra(o),S=1<<f,m|=a[f],o&=~S;return m}function oi(a,o){switch(a){case 1:case 2:case 4:return o+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ms(a,o){for(var f=a.suspendedLanes,m=a.pingedLanes,S=a.expirationTimes,w=a.pendingLanes;0<w;){var k=31-ra(w),W=1<<k,Q=S[k];Q===-1?(!(W&f)||W&m)&&(S[k]=oi(W,o)):Q<=o&&(a.expiredLanes|=W),w&=~W}}function to(a){return a=a.pendingLanes&-1073741825,a!==0?a:a&1073741824?1073741824:0}function sl(){var a=ol;return ol<<=1,!(ol&4194240)&&(ol=64),a}function ll(a){for(var o=[],f=0;31>f;f++)o.push(a);return o}function gs(a,o,f){a.pendingLanes|=o,o!==536870912&&(a.suspendedLanes=0,a.pingedLanes=0),a=a.eventTimes,o=31-ra(o),a[o]=f}function wc(a,o){var f=a.pendingLanes&~o;a.pendingLanes=o,a.suspendedLanes=0,a.pingedLanes=0,a.expiredLanes&=o,a.mutableReadLanes&=o,a.entangledLanes&=o,o=a.entanglements;var m=a.eventTimes;for(a=a.expirationTimes;0<f;){var S=31-ra(f),w=1<<S;o[S]=0,m[S]=-1,a[S]=-1,f&=~w}}function Rc(a,o){var f=a.entangledLanes|=o;for(a=a.entanglements;f;){var m=31-ra(f),S=1<<m;S&o|a[m]&o&&(a[m]|=o),f&=~S}}var Ut=0;function Tc(a){return a&=-a,1<a?4<a?a&268435455?16:536870912:4:1}var ou,ys,Ic,Yt,su,ul=!1,Nt=[],Pi=null,Wn=null,xa=null,si=new Map,bs=new Map,Fn=[],Xn="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".split(" ");function Nc(a,o){switch(a){case"focusin":case"focusout":Pi=null;break;case"dragenter":case"dragleave":Wn=null;break;case"mouseover":case"mouseout":xa=null;break;case"pointerover":case"pointerout":si.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":bs.delete(o.pointerId)}}function Mr(a,o,f,m,S,w){return a===null||a.nativeEvent!==w?(a={blockedOn:o,domEventName:f,eventSystemFlags:m,nativeEvent:w,targetContainers:[S]},o!==null&&(o=ao(o),o!==null&&ys(o)),a):(a.eventSystemFlags|=m,o=a.targetContainers,S!==null&&o.indexOf(S)===-1&&o.push(S),a)}function Sa(a,o,f,m,S){switch(o){case"focusin":return Pi=Mr(Pi,a,o,f,m,S),!0;case"dragenter":return Wn=Mr(Wn,a,o,f,m,S),!0;case"mouseover":return xa=Mr(xa,a,o,f,m,S),!0;case"pointerover":var w=S.pointerId;return si.set(w,Mr(si.get(w)||null,a,o,f,m,S)),!0;case"gotpointercapture":return w=S.pointerId,bs.set(w,Mr(bs.get(w)||null,a,o,f,m,S)),!0}return!1}function Fi(a){var o=zo(a.target);if(o!==null){var f=We(o);if(f!==null){if(o=f.tag,o===13){if(o=Bt(f),o!==null){a.blockedOn=o,su(a.priority,function(){Ic(f)});return}}else if(o===3&&f.stateNode.current.memoizedState.isDehydrated){a.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}a.blockedOn=null}function lu(a){if(a.blockedOn!==null)return!1;for(var o=a.targetContainers;0<o.length;){var f=fu(a.domEventName,a.eventSystemFlags,o[0],a.nativeEvent);if(f===null){f=a.nativeEvent;var m=new f.constructor(f.type,f);Gn=m,f.target.dispatchEvent(m),Gn=null}else return o=ao(f),o!==null&&ys(o),a.blockedOn=f,!1;o.shift()}return!0}function cl(a,o,f){lu(a)&&f.delete(o)}function fl(){ul=!1,Pi!==null&&lu(Pi)&&(Pi=null),Wn!==null&&lu(Wn)&&(Wn=null),xa!==null&&lu(xa)&&(xa=null),si.forEach(cl),bs.forEach(cl)}function Cs(a,o){a.blockedOn===o&&(a.blockedOn=null,ul||(ul=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,fl)))}function li(a){function o(S){return Cs(S,a)}if(0<Nt.length){Cs(Nt[0],a);for(var f=1;f<Nt.length;f++){var m=Nt[f];m.blockedOn===a&&(m.blockedOn=null)}}for(Pi!==null&&Cs(Pi,a),Wn!==null&&Cs(Wn,a),xa!==null&&Cs(xa,a),si.forEach(o),bs.forEach(o),f=0;f<Fn.length;f++)m=Fn[f],m.blockedOn===a&&(m.blockedOn=null);for(;0<Fn.length&&(f=Fn[0],f.blockedOn===null);)Fi(f),f.blockedOn===null&&Fn.shift()}var Ao=H.ReactCurrentBatchConfig,uu=!0;function jo(a,o,f,m){var S=Ut,w=Ao.transition;Ao.transition=null;try{Ut=1,no(a,o,f,m)}finally{Ut=S,Ao.transition=w}}function cu(a,o,f,m){var S=Ut,w=Ao.transition;Ao.transition=null;try{Ut=4,no(a,o,f,m)}finally{Ut=S,Ao.transition=w}}function no(a,o,f,m){if(uu){var S=fu(a,o,f,m);if(S===null)mv(a,o,m,Do,f),Nc(a,m);else if(Sa(S,a,o,f,m))m.stopPropagation();else if(Nc(a,m),o&4&&-1<Xn.indexOf(a)){for(;S!==null;){var w=ao(S);if(w!==null&&ou(w),w=fu(a,o,f,m),w===null&&mv(a,o,m,Do,f),w===S)break;S=w}S!==null&&m.stopPropagation()}else mv(a,o,m,null,f)}}var Do=null;function fu(a,o,f,m){if(Do=null,a=Xr(m),a=zo(a),a!==null)if(o=We(a),o===null)a=null;else if(f=o.tag,f===13){if(a=Bt(o),a!==null)return a;a=null}else if(f===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;a=null}else o!==a&&(a=null);return Do=a,null}function _c(a){switch(a){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 1;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 4;case"message":switch(ba()){case bc:return 1;case Ki:return 4;case Lt:case il:return 16;case _o:return 536870912;default:return 16}default:return 16}}var Vi=null,du=null,D=null;function X(){if(D)return D;var a,o=du,f=o.length,m,S="value"in Vi?Vi.value:Vi.textContent,w=S.length;for(a=0;a<f&&o[a]===S[a];a++);var k=f-a;for(m=1;m<=k&&o[f-m]===S[w-m];m++);return D=S.slice(a,1<m?1-m:void 0)}function ue(a){var o=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&o===13&&(a=13)):a=o,a===10&&(a=13),32<=a||a===13?a:0}function me(){return!0}function Be(){return!1}function it(a){function o(f,m,S,w,k){this._reactName=f,this._targetInst=S,this.type=m,this.nativeEvent=w,this.target=k,this.currentTarget=null;for(var W in a)a.hasOwnProperty(W)&&(f=a[W],this[W]=f?f(w):w[W]);return this.isDefaultPrevented=(w.defaultPrevented!=null?w.defaultPrevented:w.returnValue===!1)?me:Be,this.isPropagationStopped=Be,this}return G(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=me)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=me)},persist:function(){},isPersistent:me}),o}var Je={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wt=it(Je),Pt=G({},Je,{view:0,detail:0}),fn=it(Pt),vn,hn,mn,Vn=G({},Pt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Kf,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==mn&&(mn&&a.type==="mousemove"?(vn=a.screenX-mn.screenX,hn=a.screenY-mn.screenY):hn=vn=0,mn=a),vn)},movementY:function(a){return"movementY"in a?a.movementY:hn}}),Zt=it(Vn),xs=G({},Vn,{dataTransfer:0}),pu=it(xs),Oc=G({},Pt,{relatedTarget:0}),Ac=it(Oc),ko=G({},Je,{animationName:0,elapsedTime:0,pseudoElement:0}),jc=it(ko),Dc=G({},Je,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),av=it(Dc),Y0=G({},Je,{data:0}),Lm=it(Y0),Pm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},iv={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"},Fm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Vm(a){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(a):(a=Fm[a])?!!o[a]:!1}function Kf(){return Vm}var Z0=G({},Pt,{key:function(a){if(a.key){var o=Pm[a.key]||a.key;if(o!=="Unidentified")return o}return a.type==="keypress"?(a=ue(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?iv[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Kf,charCode:function(a){return a.type==="keypress"?ue(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?ue(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),Mo=it(Z0),J0=G({},Vn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ed=it(J0),ov=G({},Pt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Kf}),sv=it(ov),q0=G({},Je,{propertyName:0,elapsedTime:0,pseudoElement:0}),td=it(q0),Bm=G({},Vn,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),Ea=it(Bm),Lo=[9,13,27,32],Qn=v&&"CompositionEvent"in window,$a=null;v&&"documentMode"in document&&($a=document.documentMode);var lv=v&&"TextEvent"in window&&!$a,kc=v&&(!Qn||$a&&8<$a&&11>=$a),zm=" ",vu=!1;function Hm(a,o){switch(a){case"keyup":return Lo.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Um(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var Ss=!1;function Q0(a,o){switch(a){case"compositionend":return Um(o);case"keypress":return o.which!==32?null:(vu=!0,zm);case"textInput":return a=o.data,a===zm&&vu?null:a;default:return null}}function K0(a,o){if(Ss)return a==="compositionend"||!Qn&&Hm(a,o)?(a=X(),D=du=Vi=null,Ss=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return kc&&o.locale!=="ko"?null:o.data;default:return null}}var eC={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 uv(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o==="input"?!!eC[a.type]:o==="textarea"}function $m(a,o,f,m){ki(m),o=sd(o,"onChange"),0<o.length&&(f=new wt("onChange","change",null,f,m),a.push({event:f,listeners:o}))}var Mc=null,Lc=null;function Gm(a){sg(a,0)}function Po(a){var o=yu(a);if(ft(o))return a}function cv(a,o){if(a==="change")return o}var fv=!1;if(v){var nd;if(v){var dv="oninput"in document;if(!dv){var Wm=document.createElement("div");Wm.setAttribute("oninput","return;"),dv=typeof Wm.oninput=="function"}nd=dv}else nd=!1;fv=nd&&(!document.documentMode||9<document.documentMode)}function Xm(){Mc&&(Mc.detachEvent("onpropertychange",Ym),Lc=Mc=null)}function Ym(a){if(a.propertyName==="value"&&Po(Lc)){var o=[];$m(o,Lc,a,Xr(a)),vs(Gm,o)}}function tC(a,o,f){a==="focusin"?(Xm(),Mc=o,Lc=f,Mc.attachEvent("onpropertychange",Ym)):a==="focusout"&&Xm()}function nC(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return Po(Lc)}function rC(a,o){if(a==="click")return Po(o)}function aC(a,o){if(a==="input"||a==="change")return Po(o)}function Zm(a,o){return a===o&&(a!==0||1/a===1/o)||a!==a&&o!==o}var Bi=typeof Object.is=="function"?Object.is:Zm;function hu(a,o){if(Bi(a,o))return!0;if(typeof a!="object"||a===null||typeof o!="object"||o===null)return!1;var f=Object.keys(a),m=Object.keys(o);if(f.length!==m.length)return!1;for(m=0;m<f.length;m++){var S=f[m];if(!y.call(o,S)||!Bi(a[S],o[S]))return!1}return!0}function Jm(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function qm(a,o){var f=Jm(a);a=0;for(var m;f;){if(f.nodeType===3){if(m=a+f.textContent.length,a<=o&&m>=o)return{node:f,offset:o-a};a=m}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=Jm(f)}}function Qm(a,o){return a&&o?a===o?!0:a&&a.nodeType===3?!1:o&&o.nodeType===3?Qm(a,o.parentNode):"contains"in a?a.contains(o):a.compareDocumentPosition?!!(a.compareDocumentPosition(o)&16):!1:!1}function Km(){for(var a=window,o=Ae();o instanceof a.HTMLIFrameElement;){try{var f=typeof o.contentWindow.location.href=="string"}catch{f=!1}if(f)a=o.contentWindow;else break;o=Ae(a.document)}return o}function Pc(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o&&(o==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||o==="textarea"||a.contentEditable==="true")}function dl(a){var o=Km(),f=a.focusedElem,m=a.selectionRange;if(o!==f&&f&&f.ownerDocument&&Qm(f.ownerDocument.documentElement,f)){if(m!==null&&Pc(f)){if(o=m.start,a=m.end,a===void 0&&(a=o),"selectionStart"in f)f.selectionStart=o,f.selectionEnd=Math.min(a,f.value.length);else if(a=(o=f.ownerDocument||document)&&o.defaultView||window,a.getSelection){a=a.getSelection();var S=f.textContent.length,w=Math.min(m.start,S);m=m.end===void 0?w:Math.min(m.end,S),!a.extend&&w>m&&(S=m,m=w,w=S),S=qm(f,w);var k=qm(f,m);S&&k&&(a.rangeCount!==1||a.anchorNode!==S.node||a.anchorOffset!==S.offset||a.focusNode!==k.node||a.focusOffset!==k.offset)&&(o=o.createRange(),o.setStart(S.node,S.offset),a.removeAllRanges(),w>m?(a.addRange(o),a.extend(k.node,k.offset)):(o.setEnd(k.node,k.offset),a.addRange(o)))}}for(o=[],a=f;a=a.parentNode;)a.nodeType===1&&o.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<o.length;f++)a=o[f],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}}var rd=v&&"documentMode"in document&&11>=document.documentMode,pl=null,Es=null,Fc=null,pv=!1;function eg(a,o,f){var m=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;pv||pl==null||pl!==Ae(m)||(m=pl,"selectionStart"in m&&Pc(m)?m={start:m.selectionStart,end:m.selectionEnd}:(m=(m.ownerDocument&&m.ownerDocument.defaultView||window).getSelection(),m={anchorNode:m.anchorNode,anchorOffset:m.anchorOffset,focusNode:m.focusNode,focusOffset:m.focusOffset}),Fc&&hu(Fc,m)||(Fc=m,m=sd(Es,"onSelect"),0<m.length&&(o=new wt("onSelect","select",null,o,f),a.push({event:o,listeners:m}),o.target=pl)))}function ad(a,o){var f={};return f[a.toLowerCase()]=o.toLowerCase(),f["Webkit"+a]="webkit"+o,f["Moz"+a]="moz"+o,f}var mu={animationend:ad("Animation","AnimationEnd"),animationiteration:ad("Animation","AnimationIteration"),animationstart:ad("Animation","AnimationStart"),transitionend:ad("Transition","TransitionEnd")},id={},tg={};v&&(tg=document.createElement("div").style,"AnimationEvent"in window||(delete mu.animationend.animation,delete mu.animationiteration.animation,delete mu.animationstart.animation),"TransitionEvent"in window||delete mu.transitionend.transition);function Vc(a){if(id[a])return id[a];if(!mu[a])return a;var o=mu[a],f;for(f in o)if(o.hasOwnProperty(f)&&f in tg)return id[a]=o[f];return a}var Zr=Vc("animationend"),vv=Vc("animationiteration"),ng=Vc("animationstart"),rg=Vc("transitionend"),ag=new Map,ig="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".split(" ");function ws(a,o){ag.set(a,o),d(o,[a])}for(var od=0;od<ig.length;od++){var Bc=ig[od],zc=Bc.toLowerCase(),iC=Bc[0].toUpperCase()+Bc.slice(1);ws(zc,"on"+iC)}ws(Zr,"onAnimationEnd"),ws(vv,"onAnimationIteration"),ws(ng,"onAnimationStart"),ws("dblclick","onDoubleClick"),ws("focusin","onFocus"),ws("focusout","onBlur"),ws(rg,"onTransitionEnd"),h("onMouseEnter",["mouseout","mouseover"]),h("onMouseLeave",["mouseout","mouseover"]),h("onPointerEnter",["pointerout","pointerover"]),h("onPointerLeave",["pointerout","pointerover"]),d("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),d("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),d("onBeforeInput",["compositionend","keypress","textInput","paste"]),d("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),oC=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fo));function og(a,o,f){var m=a.type||"unknown-event";a.currentTarget=f,Ue(m,o,void 0,a),a.currentTarget=null}function sg(a,o){o=(o&4)!==0;for(var f=0;f<a.length;f++){var m=a[f],S=m.event;m=m.listeners;e:{var w=void 0;if(o)for(var k=m.length-1;0<=k;k--){var W=m[k],Q=W.instance,pe=W.currentTarget;if(W=W.listener,Q!==w&&S.isPropagationStopped())break e;og(S,W,pe),w=Q}else for(k=0;k<m.length;k++){if(W=m[k],Q=W.instance,pe=W.currentTarget,W=W.listener,Q!==w&&S.isPropagationStopped())break e;og(S,W,pe),w=Q}}}if(Ua)throw a=No,Ua=!1,No=null,a}function Tn(a,o){var f=o[wv];f===void 0&&(f=o[wv]=new Set);var m=a+"__bubble";f.has(m)||(hv(o,a,2,!1),f.add(m))}function Hc(a,o,f){var m=0;o&&(m|=4),hv(f,a,m,o)}var Vo="_reactListening"+Math.random().toString(36).slice(2);function ro(a){if(!a[Vo]){a[Vo]=!0,u.forEach(function(f){f!=="selectionchange"&&(oC.has(f)||Hc(f,!1,a),Hc(f,!0,a))});var o=a.nodeType===9?a:a.ownerDocument;o===null||o[Vo]||(o[Vo]=!0,Hc("selectionchange",!1,o))}}function hv(a,o,f,m){switch(_c(o)){case 1:var S=jo;break;case 4:S=cu;break;default:S=no}f=S.bind(null,o,f,a),S=void 0,!Li||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(S=!0),m?S!==void 0?a.addEventListener(o,f,{capture:!0,passive:S}):a.addEventListener(o,f,!0):S!==void 0?a.addEventListener(o,f,{passive:S}):a.addEventListener(o,f,!1)}function mv(a,o,f,m,S){var w=m;if(!(o&1)&&!(o&2)&&m!==null)e:for(;;){if(m===null)return;var k=m.tag;if(k===3||k===4){var W=m.stateNode.containerInfo;if(W===S||W.nodeType===8&&W.parentNode===S)break;if(k===4)for(k=m.return;k!==null;){var Q=k.tag;if((Q===3||Q===4)&&(Q=k.stateNode.containerInfo,Q===S||Q.nodeType===8&&Q.parentNode===S))return;k=k.return}for(;W!==null;){if(k=zo(W),k===null)return;if(Q=k.tag,Q===5||Q===6){m=w=k;continue e}W=W.parentNode}}m=m.return}vs(function(){var pe=w,Me=Xr(f),Pe=[];e:{var De=ag.get(a);if(De!==void 0){var Ye=wt,nt=a;switch(a){case"keypress":if(ue(f)===0)break e;case"keydown":case"keyup":Ye=Mo;break;case"focusin":nt="focus",Ye=Ac;break;case"focusout":nt="blur",Ye=Ac;break;case"beforeblur":case"afterblur":Ye=Ac;break;case"click":if(f.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ye=Zt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ye=pu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ye=sv;break;case Zr:case vv:case ng:Ye=jc;break;case rg:Ye=td;break;case"scroll":Ye=fn;break;case"wheel":Ye=Ea;break;case"copy":case"cut":case"paste":Ye=av;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ye=ed}var ot=(o&4)!==0,cr=!ot&&a==="scroll",ae=ot?De!==null?De+"Capture":null:De;ot=[];for(var ee=pe,se;ee!==null;){se=ee;var ze=se.stateNode;if(se.tag===5&&ze!==null&&(se=ze,ae!==null&&(ze=Mi(ee,ae),ze!=null&&ot.push(gu(ee,ze,se)))),cr)break;ee=ee.return}0<ot.length&&(De=new Ye(De,nt,null,f,Me),Pe.push({event:De,listeners:ot}))}}if(!(o&7)){e:{if(De=a==="mouseover"||a==="pointerover",Ye=a==="mouseout"||a==="pointerout",De&&f!==Gn&&(nt=f.relatedTarget||f.fromElement)&&(zo(nt)||nt[zi]))break e;if((Ye||De)&&(De=Me.window===Me?Me:(De=Me.ownerDocument)?De.defaultView||De.parentWindow:window,Ye?(nt=f.relatedTarget||f.toElement,Ye=pe,nt=nt?zo(nt):null,nt!==null&&(cr=We(nt),nt!==cr||nt.tag!==5&&nt.tag!==6)&&(nt=null)):(Ye=null,nt=pe),Ye!==nt)){if(ot=Zt,ze="onMouseLeave",ae="onMouseEnter",ee="mouse",(a==="pointerout"||a==="pointerover")&&(ot=ed,ze="onPointerLeave",ae="onPointerEnter",ee="pointer"),cr=Ye==null?De:yu(Ye),se=nt==null?De:yu(nt),De=new ot(ze,ee+"leave",Ye,f,Me),De.target=cr,De.relatedTarget=se,ze=null,zo(Me)===pe&&(ot=new ot(ae,ee+"enter",nt,f,Me),ot.target=se,ot.relatedTarget=cr,ze=ot),cr=ze,Ye&&nt)t:{for(ot=Ye,ae=nt,ee=0,se=ot;se;se=vl(se))ee++;for(se=0,ze=ae;ze;ze=vl(ze))se++;for(;0<ee-se;)ot=vl(ot),ee--;for(;0<se-ee;)ae=vl(ae),se--;for(;ee--;){if(ot===ae||ae!==null&&ot===ae.alternate)break t;ot=vl(ot),ae=vl(ae)}ot=null}else ot=null;Ye!==null&&gv(Pe,De,Ye,ot,!1),nt!==null&&cr!==null&&gv(Pe,cr,nt,ot,!0)}}e:{if(De=pe?yu(pe):window,Ye=De.nodeName&&De.nodeName.toLowerCase(),Ye==="select"||Ye==="input"&&De.type==="file")var lt=cv;else if(uv(De))if(fv)lt=aC;else{lt=nC;var Ct=tC}else(Ye=De.nodeName)&&Ye.toLowerCase()==="input"&&(De.type==="checkbox"||De.type==="radio")&&(lt=rC);if(lt&&(lt=lt(a,pe))){$m(Pe,lt,f,Me);break e}Ct&&Ct(a,De,pe),a==="focusout"&&(Ct=De._wrapperState)&&Ct.controlled&&De.type==="number"&&_n(De,"number",De.value)}switch(Ct=pe?yu(pe):window,a){case"focusin":(uv(Ct)||Ct.contentEditable==="true")&&(pl=Ct,Es=pe,Fc=null);break;case"focusout":Fc=Es=pl=null;break;case"mousedown":pv=!0;break;case"contextmenu":case"mouseup":case"dragend":pv=!1,eg(Pe,f,Me);break;case"selectionchange":if(rd)break;case"keydown":case"keyup":eg(Pe,f,Me)}var rt;if(Qn)e:{switch(a){case"compositionstart":var St="onCompositionStart";break e;case"compositionend":St="onCompositionEnd";break e;case"compositionupdate":St="onCompositionUpdate";break e}St=void 0}else Ss?Hm(a,f)&&(St="onCompositionEnd"):a==="keydown"&&f.keyCode===229&&(St="onCompositionStart");St&&(kc&&f.locale!=="ko"&&(Ss||St!=="onCompositionStart"?St==="onCompositionEnd"&&Ss&&(rt=X()):(Vi=Me,du="value"in Vi?Vi.value:Vi.textContent,Ss=!0)),Ct=sd(pe,St),0<Ct.length&&(St=new Lm(St,a,null,f,Me),Pe.push({event:St,listeners:Ct}),rt?St.data=rt:(rt=Um(f),rt!==null&&(St.data=rt)))),(rt=lv?Q0(a,f):K0(a,f))&&(pe=sd(pe,"onBeforeInput"),0<pe.length&&(Me=new Lm("onBeforeInput","beforeinput",null,f,Me),Pe.push({event:Me,listeners:pe}),Me.data=rt))}sg(Pe,o)})}function gu(a,o,f){return{instance:a,listener:o,currentTarget:f}}function sd(a,o){for(var f=o+"Capture",m=[];a!==null;){var S=a,w=S.stateNode;S.tag===5&&w!==null&&(S=w,w=Mi(a,f),w!=null&&m.unshift(gu(a,w,S)),w=Mi(a,o),w!=null&&m.push(gu(a,w,S))),a=a.return}return m}function vl(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5);return a||null}function gv(a,o,f,m,S){for(var w=o._reactName,k=[];f!==null&&f!==m;){var W=f,Q=W.alternate,pe=W.stateNode;if(Q!==null&&Q===m)break;W.tag===5&&pe!==null&&(W=pe,S?(Q=Mi(f,w),Q!=null&&k.unshift(gu(f,Q,W))):S||(Q=Mi(f,w),Q!=null&&k.push(gu(f,Q,W)))),f=f.return}k.length!==0&&a.push({event:o,listeners:k})}var lg=/\r\n?/g,yv=/\u0000|\uFFFD/g;function ug(a){return(typeof a=="string"?a:""+a).replace(lg,`
94
- `).replace(yv,"")}function Uc(a,o,f){if(o=ug(o),ug(a)!==o&&f)throw Error(i(425))}function ld(){}var bv=null,Cv=null;function hl(a,o){return a==="textarea"||a==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var $c=typeof setTimeout=="function"?setTimeout:void 0,Gc=typeof clearTimeout=="function"?clearTimeout:void 0,xv=typeof Promise=="function"?Promise:void 0,cg=typeof queueMicrotask=="function"?queueMicrotask:typeof xv<"u"?function(a){return xv.resolve(null).then(a).catch(Sv)}:$c;function Sv(a){setTimeout(function(){throw a})}function Ev(a,o){var f=o,m=0;do{var S=f.nextSibling;if(a.removeChild(f),S&&S.nodeType===8)if(f=S.data,f==="/$"){if(m===0){a.removeChild(S),li(o);return}m--}else f!=="$"&&f!=="$?"&&f!=="$!"||m++;f=S}while(f);li(o)}function Ga(a){for(;a!=null;a=a.nextSibling){var o=a.nodeType;if(o===1||o===3)break;if(o===8){if(o=a.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return a}function Wc(a){a=a.previousSibling;for(var o=0;a;){if(a.nodeType===8){var f=a.data;if(f==="$"||f==="$!"||f==="$?"){if(o===0)return a;o--}else f==="/$"&&o++}a=a.previousSibling}return null}var Bo=Math.random().toString(36).slice(2),ui="__reactFiber$"+Bo,Xc="__reactProps$"+Bo,zi="__reactContainer$"+Bo,wv="__reactEvents$"+Bo,sC="__reactListeners$"+Bo,lC="__reactHandles$"+Bo;function zo(a){var o=a[ui];if(o)return o;for(var f=a.parentNode;f;){if(o=f[zi]||f[ui]){if(f=o.alternate,o.child!==null||f!==null&&f.child!==null)for(a=Wc(a);a!==null;){if(f=a[ui])return f;a=Wc(a)}return o}a=f,f=a.parentNode}return null}function ao(a){return a=a[ui]||a[zi],!a||a.tag!==5&&a.tag!==6&&a.tag!==13&&a.tag!==3?null:a}function yu(a){if(a.tag===5||a.tag===6)return a.stateNode;throw Error(i(33))}function ud(a){return a[Xc]||null}var ht=[],Hi=-1;function In(a){return{current:a}}function st(a){0>Hi||(a.current=ht[Hi],ht[Hi]=null,Hi--)}function tn(a,o){Hi++,ht[Hi]=a.current,a.current=o}var ci={},Nr=In(ci),Ot=In(!1),aa=ci;function Wa(a,o){var f=a.type.contextTypes;if(!f)return ci;var m=a.stateNode;if(m&&m.__reactInternalMemoizedUnmaskedChildContext===o)return m.__reactInternalMemoizedMaskedChildContext;var S={},w;for(w in f)S[w]=o[w];return m&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=o,a.__reactInternalMemoizedMaskedChildContext=S),S}function vr(a){return a=a.childContextTypes,a!=null}function wa(){st(Ot),st(Nr)}function io(a,o,f){if(Nr.current!==ci)throw Error(i(168));tn(Nr,o),tn(Ot,f)}function Rs(a,o,f){var m=a.stateNode;if(o=o.childContextTypes,typeof m.getChildContext!="function")return f;m=m.getChildContext();for(var S in m)if(!(S in o))throw Error(i(108,ve(a)||"Unknown",S));return G({},f,m)}function ml(a){return a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||ci,aa=Nr.current,tn(Nr,a),tn(Ot,Ot.current),!0}function fg(a,o,f){var m=a.stateNode;if(!m)throw Error(i(169));f?(a=Rs(a,o,aa),m.__reactInternalMemoizedMergedChildContext=a,st(Ot),st(Nr),tn(Nr,a)):st(Ot),tn(Ot,f)}var Ho=null,Ts=!1,Lr=!1;function cd(a){Ho===null?Ho=[a]:Ho.push(a)}function dg(a){Ts=!0,cd(a)}function oo(){if(!Lr&&Ho!==null){Lr=!0;var a=0,o=Ut;try{var f=Ho;for(Ut=1;a<f.length;a++){var m=f[a];do m=m(!0);while(m!==null)}Ho=null,Ts=!1}catch(S){throw Ho!==null&&(Ho=Ho.slice(a+1)),An(bc,oo),S}finally{Ut=o,Lr=!1}}return null}var fi=[],Is=0,di=null,gl=0,Ra=[],Ta=0,Ui=null,Ia=1,Pr="";function yl(a,o){fi[Is++]=gl,fi[Is++]=di,di=a,gl=o}function Ns(a,o,f){Ra[Ta++]=Ia,Ra[Ta++]=Pr,Ra[Ta++]=Ui,Ui=a;var m=Ia;a=Pr;var S=32-ra(m)-1;m&=~(1<<S),f+=1;var w=32-ra(o)+S;if(30<w){var k=S-S%5;w=(m&(1<<k)-1).toString(32),m>>=k,S-=k,Ia=1<<32-ra(o)+S|f<<S|m,Pr=w+a}else Ia=1<<w|f<<S|m,Pr=a}function fd(a){a.return!==null&&(yl(a,1),Ns(a,1,0))}function dd(a){for(;a===di;)di=fi[--Is],fi[Is]=null,gl=fi[--Is],fi[Is]=null;for(;a===Ui;)Ui=Ra[--Ta],Ra[Ta]=null,Pr=Ra[--Ta],Ra[Ta]=null,Ia=Ra[--Ta],Ra[Ta]=null}var Xa=null,Ya=null,Bn=!1,pi=null;function Rv(a,o){var f=xi(5,null,null,0);f.elementType="DELETED",f.stateNode=o,f.return=a,o=a.deletions,o===null?(a.deletions=[f],a.flags|=16):o.push(f)}function Tv(a,o){switch(a.tag){case 5:var f=a.type;return o=o.nodeType!==1||f.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(a.stateNode=o,Xa=a,Ya=Ga(o.firstChild),!0):!1;case 6:return o=a.pendingProps===""||o.nodeType!==3?null:o,o!==null?(a.stateNode=o,Xa=a,Ya=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(f=Ui!==null?{id:Ia,overflow:Pr}:null,a.memoizedState={dehydrated:o,treeContext:f,retryLane:1073741824},f=xi(18,null,null,0),f.stateNode=o,f.return=a,a.child=f,Xa=a,Ya=null,!0):!1;default:return!1}}function Iv(a){return(a.mode&1)!==0&&(a.flags&128)===0}function pd(a){if(Bn){var o=Ya;if(o){var f=o;if(!Tv(a,o)){if(Iv(a))throw Error(i(418));o=Ga(f.nextSibling);var m=Xa;o&&Tv(a,o)?Rv(m,f):(a.flags=a.flags&-4097|2,Bn=!1,Xa=a)}}else{if(Iv(a))throw Error(i(418));a.flags=a.flags&-4097|2,Bn=!1,Xa=a}}}function Nv(a){for(a=a.return;a!==null&&a.tag!==5&&a.tag!==3&&a.tag!==13;)a=a.return;Xa=a}function vd(a){if(a!==Xa)return!1;if(!Bn)return Nv(a),Bn=!0,!1;var o;if((o=a.tag!==3)&&!(o=a.tag!==5)&&(o=a.type,o=o!=="head"&&o!=="body"&&!hl(a.type,a.memoizedProps)),o&&(o=Ya)){if(Iv(a))throw pg(),Error(i(418));for(;o;)Rv(a,o),o=Ga(o.nextSibling)}if(Nv(a),a.tag===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(i(317));e:{for(a=a.nextSibling,o=0;a;){if(a.nodeType===8){var f=a.data;if(f==="/$"){if(o===0){Ya=Ga(a.nextSibling);break e}o--}else f!=="$"&&f!=="$!"&&f!=="$?"||o++}a=a.nextSibling}Ya=null}}else Ya=Xa?Ga(a.stateNode.nextSibling):null;return!0}function pg(){for(var a=Ya;a;)a=Ga(a.nextSibling)}function bu(){Ya=Xa=null,Bn=!1}function hr(a){pi===null?pi=[a]:pi.push(a)}var uC=H.ReactCurrentBatchConfig;function Na(a,o){if(a&&a.defaultProps){o=G({},o),a=a.defaultProps;for(var f in a)o[f]===void 0&&(o[f]=a[f]);return o}return o}var Cu=In(null),so=null,xu=null,Yc=null;function _v(){Yc=xu=so=null}function Ov(a){var o=Cu.current;st(Cu),a._currentValue=o}function _s(a,o,f){for(;a!==null;){var m=a.alternate;if((a.childLanes&o)!==o?(a.childLanes|=o,m!==null&&(m.childLanes|=o)):m!==null&&(m.childLanes&o)!==o&&(m.childLanes|=o),a===f)break;a=a.return}}function ir(a,o){so=a,Yc=xu=null,a=a.dependencies,a!==null&&a.firstContext!==null&&(a.lanes&o&&(Aa=!0),a.firstContext=null)}function He(a){var o=a._currentValue;if(Yc!==a)if(a={context:a,memoizedValue:o,next:null},xu===null){if(so===null)throw Error(i(308));xu=a,so.dependencies={lanes:0,firstContext:a}}else xu=xu.next=a;return o}var Jr=null;function Za(a){Jr===null?Jr=[a]:Jr.push(a)}function vg(a,o,f,m){var S=o.interleaved;return S===null?(f.next=f,Za(o)):(f.next=S.next,S.next=f),o.interleaved=f,Uo(a,m)}function Uo(a,o){a.lanes|=o;var f=a.alternate;for(f!==null&&(f.lanes|=o),f=a,a=a.return;a!==null;)a.childLanes|=o,f=a.alternate,f!==null&&(f.childLanes|=o),f=a,a=a.return;return f.tag===3?f.stateNode:null}var Os=!1;function Av(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function hg(a,o){a=a.updateQueue,o.updateQueue===a&&(o.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function kn(a,o){return{eventTime:a,lane:o,tag:0,payload:null,callback:null,next:null}}function As(a,o,f){var m=a.updateQueue;if(m===null)return null;if(m=m.shared,zt&2){var S=m.pending;return S===null?o.next=o:(o.next=S.next,S.next=o),m.pending=o,Uo(a,f)}return S=m.interleaved,S===null?(o.next=o,Za(m)):(o.next=S.next,S.next=o),m.interleaved=o,Uo(a,f)}function hd(a,o,f){if(o=o.updateQueue,o!==null&&(o=o.shared,(f&4194240)!==0)){var m=o.lanes;m&=a.pendingLanes,f|=m,o.lanes=f,Rc(a,f)}}function mg(a,o){var f=a.updateQueue,m=a.alternate;if(m!==null&&(m=m.updateQueue,f===m)){var S=null,w=null;if(f=f.firstBaseUpdate,f!==null){do{var k={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};w===null?S=w=k:w=w.next=k,f=f.next}while(f!==null);w===null?S=w=o:w=w.next=o}else S=w=o;f={baseState:m.baseState,firstBaseUpdate:S,lastBaseUpdate:w,shared:m.shared,effects:m.effects},a.updateQueue=f;return}a=f.lastBaseUpdate,a===null?f.firstBaseUpdate=o:a.next=o,f.lastBaseUpdate=o}function Zc(a,o,f,m){var S=a.updateQueue;Os=!1;var w=S.firstBaseUpdate,k=S.lastBaseUpdate,W=S.shared.pending;if(W!==null){S.shared.pending=null;var Q=W,pe=Q.next;Q.next=null,k===null?w=pe:k.next=pe,k=Q;var Me=a.alternate;Me!==null&&(Me=Me.updateQueue,W=Me.lastBaseUpdate,W!==k&&(W===null?Me.firstBaseUpdate=pe:W.next=pe,Me.lastBaseUpdate=Q))}if(w!==null){var Pe=S.baseState;k=0,Me=pe=Q=null,W=w;do{var De=W.lane,Ye=W.eventTime;if((m&De)===De){Me!==null&&(Me=Me.next={eventTime:Ye,lane:0,tag:W.tag,payload:W.payload,callback:W.callback,next:null});e:{var nt=a,ot=W;switch(De=o,Ye=f,ot.tag){case 1:if(nt=ot.payload,typeof nt=="function"){Pe=nt.call(Ye,Pe,De);break e}Pe=nt;break e;case 3:nt.flags=nt.flags&-65537|128;case 0:if(nt=ot.payload,De=typeof nt=="function"?nt.call(Ye,Pe,De):nt,De==null)break e;Pe=G({},Pe,De);break e;case 2:Os=!0}}W.callback!==null&&W.lane!==0&&(a.flags|=64,De=S.effects,De===null?S.effects=[W]:De.push(W))}else Ye={eventTime:Ye,lane:De,tag:W.tag,payload:W.payload,callback:W.callback,next:null},Me===null?(pe=Me=Ye,Q=Pe):Me=Me.next=Ye,k|=De;if(W=W.next,W===null){if(W=S.shared.pending,W===null)break;De=W,W=De.next,De.next=null,S.lastBaseUpdate=De,S.shared.pending=null}}while(!0);if(Me===null&&(Q=Pe),S.baseState=Q,S.firstBaseUpdate=pe,S.lastBaseUpdate=Me,o=S.shared.interleaved,o!==null){S=o;do k|=S.lane,S=S.next;while(S!==o)}else w===null&&(S.shared.lanes=0);Ol|=k,a.lanes=k,a.memoizedState=Pe}}function Su(a,o,f){if(a=o.effects,o.effects=null,a!==null)for(o=0;o<a.length;o++){var m=a[o],S=m.callback;if(S!==null){if(m.callback=null,m=f,typeof S!="function")throw Error(i(191,S));S.call(m)}}}var bl=new n.Component().refs;function jv(a,o,f,m){o=a.memoizedState,f=f(m,o),f=f==null?o:G({},o,f),a.memoizedState=f,a.lanes===0&&(a.updateQueue.baseState=f)}var md={isMounted:function(a){return(a=a._reactInternals)?We(a)===a:!1},enqueueSetState:function(a,o,f){a=a._reactInternals;var m=Ar(),S=Xo(a),w=kn(m,S);w.payload=o,f!=null&&(w.callback=f),o=As(a,w,S),o!==null&&(Zn(o,a,S,m),hd(o,a,S))},enqueueReplaceState:function(a,o,f){a=a._reactInternals;var m=Ar(),S=Xo(a),w=kn(m,S);w.tag=1,w.payload=o,f!=null&&(w.callback=f),o=As(a,w,S),o!==null&&(Zn(o,a,S,m),hd(o,a,S))},enqueueForceUpdate:function(a,o){a=a._reactInternals;var f=Ar(),m=Xo(a),S=kn(f,m);S.tag=2,o!=null&&(S.callback=o),o=As(a,S,m),o!==null&&(Zn(o,a,m,f),hd(o,a,m))}};function gg(a,o,f,m,S,w,k){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(m,w,k):o.prototype&&o.prototype.isPureReactComponent?!hu(f,m)||!hu(S,w):!0}function yg(a,o,f){var m=!1,S=ci,w=o.contextType;return typeof w=="object"&&w!==null?w=He(w):(S=vr(o)?aa:Nr.current,m=o.contextTypes,w=(m=m!=null)?Wa(a,S):ci),o=new o(f,w),a.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=md,a.stateNode=o,o._reactInternals=a,m&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=S,a.__reactInternalMemoizedMaskedChildContext=w),o}function bg(a,o,f,m){a=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(f,m),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(f,m),o.state!==a&&md.enqueueReplaceState(o,o.state,null)}function Dv(a,o,f,m){var S=a.stateNode;S.props=f,S.state=a.memoizedState,S.refs=bl,Av(a);var w=o.contextType;typeof w=="object"&&w!==null?S.context=He(w):(w=vr(o)?aa:Nr.current,S.context=Wa(a,w)),S.state=a.memoizedState,w=o.getDerivedStateFromProps,typeof w=="function"&&(jv(a,o,w,f),S.state=a.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof S.getSnapshotBeforeUpdate=="function"||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(o=S.state,typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount(),o!==S.state&&md.enqueueReplaceState(S,S.state,null),Zc(a,f,S,m),S.state=a.memoizedState),typeof S.componentDidMount=="function"&&(a.flags|=4194308)}function Eu(a,o,f){if(a=f.ref,a!==null&&typeof a!="function"&&typeof a!="object"){if(f._owner){if(f=f._owner,f){if(f.tag!==1)throw Error(i(309));var m=f.stateNode}if(!m)throw Error(i(147,a));var S=m,w=""+a;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===w?o.ref:(o=function(k){var W=S.refs;W===bl&&(W=S.refs={}),k===null?delete W[w]:W[w]=k},o._stringRef=w,o)}if(typeof a!="string")throw Error(i(284));if(!f._owner)throw Error(i(290,a))}return a}function Jc(a,o){throw a=Object.prototype.toString.call(o),Error(i(31,a==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":a))}function Cg(a){var o=a._init;return o(a._payload)}function xg(a){function o(ae,ee){if(a){var se=ae.deletions;se===null?(ae.deletions=[ee],ae.flags|=16):se.push(ee)}}function f(ae,ee){if(!a)return null;for(;ee!==null;)o(ae,ee),ee=ee.sibling;return null}function m(ae,ee){for(ae=new Map;ee!==null;)ee.key!==null?ae.set(ee.key,ee):ae.set(ee.index,ee),ee=ee.sibling;return ae}function S(ae,ee){return ae=Vs(ae,ee),ae.index=0,ae.sibling=null,ae}function w(ae,ee,se){return ae.index=se,a?(se=ae.alternate,se!==null?(se=se.index,se<ee?(ae.flags|=2,ee):se):(ae.flags|=2,ee)):(ae.flags|=1048576,ee)}function k(ae){return a&&ae.alternate===null&&(ae.flags|=2),ae}function W(ae,ee,se,ze){return ee===null||ee.tag!==6?(ee=qd(se,ae.mode,ze),ee.return=ae,ee):(ee=S(ee,se),ee.return=ae,ee)}function Q(ae,ee,se,ze){var lt=se.type;return lt===J?Me(ae,ee,se.props.children,ze,se.key):ee!==null&&(ee.elementType===lt||typeof lt=="object"&&lt!==null&&lt.$$typeof===je&&Cg(lt)===ee.type)?(ze=S(ee,se.props),ze.ref=Eu(ae,ee,se),ze.return=ae,ze):(ze=Zd(se.type,se.key,se.props,null,ae.mode,ze),ze.ref=Eu(ae,ee,se),ze.return=ae,ze)}function pe(ae,ee,se,ze){return ee===null||ee.tag!==4||ee.stateNode.containerInfo!==se.containerInfo||ee.stateNode.implementation!==se.implementation?(ee=mf(se,ae.mode,ze),ee.return=ae,ee):(ee=S(ee,se.children||[]),ee.return=ae,ee)}function Me(ae,ee,se,ze,lt){return ee===null||ee.tag!==7?(ee=kl(se,ae.mode,ze,lt),ee.return=ae,ee):(ee=S(ee,se),ee.return=ae,ee)}function Pe(ae,ee,se){if(typeof ee=="string"&&ee!==""||typeof ee=="number")return ee=qd(""+ee,ae.mode,se),ee.return=ae,ee;if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case z:return se=Zd(ee.type,ee.key,ee.props,null,ae.mode,se),se.ref=Eu(ae,null,ee),se.return=ae,se;case U:return ee=mf(ee,ae.mode,se),ee.return=ae,ee;case je:var ze=ee._init;return Pe(ae,ze(ee._payload),se)}if(Vt(ee)||_e(ee))return ee=kl(ee,ae.mode,se,null),ee.return=ae,ee;Jc(ae,ee)}return null}function De(ae,ee,se,ze){var lt=ee!==null?ee.key:null;if(typeof se=="string"&&se!==""||typeof se=="number")return lt!==null?null:W(ae,ee,""+se,ze);if(typeof se=="object"&&se!==null){switch(se.$$typeof){case z:return se.key===lt?Q(ae,ee,se,ze):null;case U:return se.key===lt?pe(ae,ee,se,ze):null;case je:return lt=se._init,De(ae,ee,lt(se._payload),ze)}if(Vt(se)||_e(se))return lt!==null?null:Me(ae,ee,se,ze,null);Jc(ae,se)}return null}function Ye(ae,ee,se,ze,lt){if(typeof ze=="string"&&ze!==""||typeof ze=="number")return ae=ae.get(se)||null,W(ee,ae,""+ze,lt);if(typeof ze=="object"&&ze!==null){switch(ze.$$typeof){case z:return ae=ae.get(ze.key===null?se:ze.key)||null,Q(ee,ae,ze,lt);case U:return ae=ae.get(ze.key===null?se:ze.key)||null,pe(ee,ae,ze,lt);case je:var Ct=ze._init;return Ye(ae,ee,se,Ct(ze._payload),lt)}if(Vt(ze)||_e(ze))return ae=ae.get(se)||null,Me(ee,ae,ze,lt,null);Jc(ee,ze)}return null}function nt(ae,ee,se,ze){for(var lt=null,Ct=null,rt=ee,St=ee=0,Sr=null;rt!==null&&St<se.length;St++){rt.index>St?(Sr=rt,rt=null):Sr=rt.sibling;var nn=De(ae,rt,se[St],ze);if(nn===null){rt===null&&(rt=Sr);break}a&&rt&&nn.alternate===null&&o(ae,rt),ee=w(nn,ee,St),Ct===null?lt=nn:Ct.sibling=nn,Ct=nn,rt=Sr}if(St===se.length)return f(ae,rt),Bn&&yl(ae,St),lt;if(rt===null){for(;St<se.length;St++)rt=Pe(ae,se[St],ze),rt!==null&&(ee=w(rt,ee,St),Ct===null?lt=rt:Ct.sibling=rt,Ct=rt);return Bn&&yl(ae,St),lt}for(rt=m(ae,rt);St<se.length;St++)Sr=Ye(rt,ae,St,se[St],ze),Sr!==null&&(a&&Sr.alternate!==null&&rt.delete(Sr.key===null?St:Sr.key),ee=w(Sr,ee,St),Ct===null?lt=Sr:Ct.sibling=Sr,Ct=Sr);return a&&rt.forEach(function(Yo){return o(ae,Yo)}),Bn&&yl(ae,St),lt}function ot(ae,ee,se,ze){var lt=_e(se);if(typeof lt!="function")throw Error(i(150));if(se=lt.call(se),se==null)throw Error(i(151));for(var Ct=lt=null,rt=ee,St=ee=0,Sr=null,nn=se.next();rt!==null&&!nn.done;St++,nn=se.next()){rt.index>St?(Sr=rt,rt=null):Sr=rt.sibling;var Yo=De(ae,rt,nn.value,ze);if(Yo===null){rt===null&&(rt=Sr);break}a&&rt&&Yo.alternate===null&&o(ae,rt),ee=w(Yo,ee,St),Ct===null?lt=Yo:Ct.sibling=Yo,Ct=Yo,rt=Sr}if(nn.done)return f(ae,rt),Bn&&yl(ae,St),lt;if(rt===null){for(;!nn.done;St++,nn=se.next())nn=Pe(ae,nn.value,ze),nn!==null&&(ee=w(nn,ee,St),Ct===null?lt=nn:Ct.sibling=nn,Ct=nn);return Bn&&yl(ae,St),lt}for(rt=m(ae,rt);!nn.done;St++,nn=se.next())nn=Ye(rt,ae,St,nn.value,ze),nn!==null&&(a&&nn.alternate!==null&&rt.delete(nn.key===null?St:nn.key),ee=w(nn,ee,St),Ct===null?lt=nn:Ct.sibling=nn,Ct=nn);return a&&rt.forEach(function(NC){return o(ae,NC)}),Bn&&yl(ae,St),lt}function cr(ae,ee,se,ze){if(typeof se=="object"&&se!==null&&se.type===J&&se.key===null&&(se=se.props.children),typeof se=="object"&&se!==null){switch(se.$$typeof){case z:e:{for(var lt=se.key,Ct=ee;Ct!==null;){if(Ct.key===lt){if(lt=se.type,lt===J){if(Ct.tag===7){f(ae,Ct.sibling),ee=S(Ct,se.props.children),ee.return=ae,ae=ee;break e}}else if(Ct.elementType===lt||typeof lt=="object"&&lt!==null&&lt.$$typeof===je&&Cg(lt)===Ct.type){f(ae,Ct.sibling),ee=S(Ct,se.props),ee.ref=Eu(ae,Ct,se),ee.return=ae,ae=ee;break e}f(ae,Ct);break}else o(ae,Ct);Ct=Ct.sibling}se.type===J?(ee=kl(se.props.children,ae.mode,ze,se.key),ee.return=ae,ae=ee):(ze=Zd(se.type,se.key,se.props,null,ae.mode,ze),ze.ref=Eu(ae,ee,se),ze.return=ae,ae=ze)}return k(ae);case U:e:{for(Ct=se.key;ee!==null;){if(ee.key===Ct)if(ee.tag===4&&ee.stateNode.containerInfo===se.containerInfo&&ee.stateNode.implementation===se.implementation){f(ae,ee.sibling),ee=S(ee,se.children||[]),ee.return=ae,ae=ee;break e}else{f(ae,ee);break}else o(ae,ee);ee=ee.sibling}ee=mf(se,ae.mode,ze),ee.return=ae,ae=ee}return k(ae);case je:return Ct=se._init,cr(ae,ee,Ct(se._payload),ze)}if(Vt(se))return nt(ae,ee,se,ze);if(_e(se))return ot(ae,ee,se,ze);Jc(ae,se)}return typeof se=="string"&&se!==""||typeof se=="number"?(se=""+se,ee!==null&&ee.tag===6?(f(ae,ee.sibling),ee=S(ee,se),ee.return=ae,ae=ee):(f(ae,ee),ee=qd(se,ae.mode,ze),ee.return=ae,ae=ee),k(ae)):f(ae,ee)}return cr}var wu=xg(!0),Sg=xg(!1),qc={},lo=In(qc),Ru=In(qc),Qc=In(qc);function js(a){if(a===qc)throw Error(i(174));return a}function kv(a,o){switch(tn(Qc,o),tn(Ru,a),tn(lo,qc),a=o.nodeType,a){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:Pn(null,"");break;default:a=a===8?o.parentNode:o,o=a.namespaceURI||null,a=a.tagName,o=Pn(o,a)}st(lo),tn(lo,o)}function Tu(){st(lo),st(Ru),st(Qc)}function gd(a){js(Qc.current);var o=js(lo.current),f=Pn(o,a.type);o!==f&&(tn(Ru,a),tn(lo,f))}function mt(a){Ru.current===a&&(st(lo),st(Ru))}var ut=In(0);function Qt(a){for(var o=a;o!==null;){if(o.tag===13){var f=o.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if(o.flags&128)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var Kn=[];function hi(){for(var a=0;a<Kn.length;a++)Kn[a]._workInProgressVersionPrimary=null;Kn.length=0}var Kc=H.ReactCurrentDispatcher,Mv=H.ReactCurrentBatchConfig,Cl=0,Yn=null,or=null,Ee=null,sr=!1,bt=!1,uo=0,$o=0;function er(){throw Error(i(321))}function mi(a,o){if(o===null)return!1;for(var f=0;f<o.length&&f<a.length;f++)if(!Bi(a[f],o[f]))return!1;return!0}function xl(a,o,f,m,S,w){if(Cl=w,Yn=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,Kc.current=a===null||a.memoizedState===null?cC:fC,a=f(m,S),bt){w=0;do{if(bt=!1,uo=0,25<=w)throw Error(i(301));w+=1,Ee=or=null,o.updateQueue=null,Kc.current=dC,a=f(m,S)}while(bt)}if(Kc.current=Ad,o=or!==null&&or.next!==null,Cl=0,Ee=or=Yn=null,sr=!1,o)throw Error(i(300));return a}function Ds(){var a=uo!==0;return uo=0,a}function _a(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ee===null?Yn.memoizedState=Ee=a:Ee=Ee.next=a,Ee}function Oa(){if(or===null){var a=Yn.alternate;a=a!==null?a.memoizedState:null}else a=or.next;var o=Ee===null?Yn.memoizedState:Ee.next;if(o!==null)Ee=o,or=a;else{if(a===null)throw Error(i(310));or=a,a={memoizedState:or.memoizedState,baseState:or.baseState,baseQueue:or.baseQueue,queue:or.queue,next:null},Ee===null?Yn.memoizedState=Ee=a:Ee=Ee.next=a}return Ee}function Sl(a,o){return typeof o=="function"?o(a):o}function ef(a){var o=Oa(),f=o.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=a;var m=or,S=m.baseQueue,w=f.pending;if(w!==null){if(S!==null){var k=S.next;S.next=w.next,w.next=k}m.baseQueue=S=w,f.pending=null}if(S!==null){w=S.next,m=m.baseState;var W=k=null,Q=null,pe=w;do{var Me=pe.lane;if((Cl&Me)===Me)Q!==null&&(Q=Q.next={lane:0,action:pe.action,hasEagerState:pe.hasEagerState,eagerState:pe.eagerState,next:null}),m=pe.hasEagerState?pe.eagerState:a(m,pe.action);else{var Pe={lane:Me,action:pe.action,hasEagerState:pe.hasEagerState,eagerState:pe.eagerState,next:null};Q===null?(W=Q=Pe,k=m):Q=Q.next=Pe,Yn.lanes|=Me,Ol|=Me}pe=pe.next}while(pe!==null&&pe!==w);Q===null?k=m:Q.next=W,Bi(m,o.memoizedState)||(Aa=!0),o.memoizedState=m,o.baseState=k,o.baseQueue=Q,f.lastRenderedState=m}if(a=f.interleaved,a!==null){S=a;do w=S.lane,Yn.lanes|=w,Ol|=w,S=S.next;while(S!==a)}else S===null&&(f.lanes=0);return[o.memoizedState,f.dispatch]}function tf(a){var o=Oa(),f=o.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=a;var m=f.dispatch,S=f.pending,w=o.memoizedState;if(S!==null){f.pending=null;var k=S=S.next;do w=a(w,k.action),k=k.next;while(k!==S);Bi(w,o.memoizedState)||(Aa=!0),o.memoizedState=w,o.baseQueue===null&&(o.baseState=w),f.lastRenderedState=w}return[w,m]}function yd(){}function bd(a,o){var f=Yn,m=Oa(),S=o(),w=!Bi(m.memoizedState,S);if(w&&(m.memoizedState=S,Aa=!0),m=m.queue,nf(Sd.bind(null,f,m,a),[a]),m.getSnapshot!==o||w||Ee!==null&&Ee.memoizedState.tag&1){if(f.flags|=2048,El(9,xd.bind(null,f,m,S,o),void 0,null),nr===null)throw Error(i(349));Cl&30||Cd(f,o,S)}return S}function Cd(a,o,f){a.flags|=16384,a={getSnapshot:o,value:f},o=Yn.updateQueue,o===null?(o={lastEffect:null,stores:null},Yn.updateQueue=o,o.stores=[a]):(f=o.stores,f===null?o.stores=[a]:f.push(a))}function xd(a,o,f,m){o.value=f,o.getSnapshot=m,Ed(o)&&wd(a)}function Sd(a,o,f){return f(function(){Ed(o)&&wd(a)})}function Ed(a){var o=a.getSnapshot;a=a.value;try{var f=o();return!Bi(a,f)}catch{return!0}}function wd(a){var o=Uo(a,1);o!==null&&Zn(o,a,1,-1)}function Rd(a){var o=_a();return typeof a=="function"&&(a=a()),o.memoizedState=o.baseState=a,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Sl,lastRenderedState:a},o.queue=a,a=a.dispatch=Od.bind(null,Yn,a),[o.memoizedState,a]}function El(a,o,f,m){return a={tag:a,create:o,destroy:f,deps:m,next:null},o=Yn.updateQueue,o===null?(o={lastEffect:null,stores:null},Yn.updateQueue=o,o.lastEffect=a.next=a):(f=o.lastEffect,f===null?o.lastEffect=a.next=a:(m=f.next,f.next=a,a.next=m,o.lastEffect=a)),a}function Td(){return Oa().memoizedState}function Iu(a,o,f,m){var S=_a();Yn.flags|=a,S.memoizedState=El(1|o,f,void 0,m===void 0?null:m)}function wl(a,o,f,m){var S=Oa();m=m===void 0?null:m;var w=void 0;if(or!==null){var k=or.memoizedState;if(w=k.destroy,m!==null&&mi(m,k.deps)){S.memoizedState=El(o,f,w,m);return}}Yn.flags|=a,S.memoizedState=El(1|o,f,w,m)}function Rl(a,o){return Iu(8390656,8,a,o)}function nf(a,o){return wl(2048,8,a,o)}function Id(a,o){return wl(4,2,a,o)}function Nd(a,o){return wl(4,4,a,o)}function _d(a,o){if(typeof o=="function")return a=a(),o(a),function(){o(null)};if(o!=null)return a=a(),o.current=a,function(){o.current=null}}function Lv(a,o,f){return f=f!=null?f.concat([a]):null,wl(4,4,_d.bind(null,o,a),f)}function Tl(){}function Pv(a,o){var f=Oa();o=o===void 0?null:o;var m=f.memoizedState;return m!==null&&o!==null&&mi(o,m[1])?m[0]:(f.memoizedState=[a,o],a)}function Nu(a,o){var f=Oa();o=o===void 0?null:o;var m=f.memoizedState;return m!==null&&o!==null&&mi(o,m[1])?m[0]:(a=a(),f.memoizedState=[a,o],a)}function ks(a,o,f){return Cl&21?(Bi(f,o)||(f=sl(),Yn.lanes|=f,Ol|=f,a.baseState=!0),o):(a.baseState&&(a.baseState=!1,Aa=!0),a.memoizedState=f)}function Ja(a,o){var f=Ut;Ut=f!==0&&4>f?f:4,a(!0);var m=Mv.transition;Mv.transition={};try{a(!1),o()}finally{Ut=f,Mv.transition=m}}function Eg(){return Oa().memoizedState}function Mn(a,o,f){var m=Xo(a);if(f={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null},rf(a))_u(o,f);else if(f=vg(a,o,f,m),f!==null){var S=Ar();Zn(f,a,m,S),af(f,o,m)}}function Od(a,o,f){var m=Xo(a),S={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null};if(rf(a))_u(o,S);else{var w=a.alternate;if(a.lanes===0&&(w===null||w.lanes===0)&&(w=o.lastRenderedReducer,w!==null))try{var k=o.lastRenderedState,W=w(k,f);if(S.hasEagerState=!0,S.eagerState=W,Bi(W,k)){var Q=o.interleaved;Q===null?(S.next=S,Za(o)):(S.next=Q.next,Q.next=S),o.interleaved=S;return}}catch{}finally{}f=vg(a,o,S,m),f!==null&&(S=Ar(),Zn(f,a,m,S),af(f,o,m))}}function rf(a){var o=a.alternate;return a===Yn||o!==null&&o===Yn}function _u(a,o){bt=sr=!0;var f=a.pending;f===null?o.next=o:(o.next=f.next,f.next=o),a.pending=o}function af(a,o,f){if(f&4194240){var m=o.lanes;m&=a.pendingLanes,f|=m,o.lanes=f,Rc(a,f)}}var Ad={readContext:He,useCallback:er,useContext:er,useEffect:er,useImperativeHandle:er,useInsertionEffect:er,useLayoutEffect:er,useMemo:er,useReducer:er,useRef:er,useState:er,useDebugValue:er,useDeferredValue:er,useTransition:er,useMutableSource:er,useSyncExternalStore:er,useId:er,unstable_isNewReconciler:!1},cC={readContext:He,useCallback:function(a,o){return _a().memoizedState=[a,o===void 0?null:o],a},useContext:He,useEffect:Rl,useImperativeHandle:function(a,o,f){return f=f!=null?f.concat([a]):null,Iu(4194308,4,_d.bind(null,o,a),f)},useLayoutEffect:function(a,o){return Iu(4194308,4,a,o)},useInsertionEffect:function(a,o){return Iu(4,2,a,o)},useMemo:function(a,o){var f=_a();return o=o===void 0?null:o,a=a(),f.memoizedState=[a,o],a},useReducer:function(a,o,f){var m=_a();return o=f!==void 0?f(o):o,m.memoizedState=m.baseState=o,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:o},m.queue=a,a=a.dispatch=Mn.bind(null,Yn,a),[m.memoizedState,a]},useRef:function(a){var o=_a();return a={current:a},o.memoizedState=a},useState:Rd,useDebugValue:Tl,useDeferredValue:function(a){return _a().memoizedState=a},useTransition:function(){var a=Rd(!1),o=a[0];return a=Ja.bind(null,a[1]),_a().memoizedState=a,[o,a]},useMutableSource:function(){},useSyncExternalStore:function(a,o,f){var m=Yn,S=_a();if(Bn){if(f===void 0)throw Error(i(407));f=f()}else{if(f=o(),nr===null)throw Error(i(349));Cl&30||Cd(m,o,f)}S.memoizedState=f;var w={value:f,getSnapshot:o};return S.queue=w,Rl(Sd.bind(null,m,w,a),[a]),m.flags|=2048,El(9,xd.bind(null,m,w,f,o),void 0,null),f},useId:function(){var a=_a(),o=nr.identifierPrefix;if(Bn){var f=Pr,m=Ia;f=(m&~(1<<32-ra(m)-1)).toString(32)+f,o=":"+o+"R"+f,f=uo++,0<f&&(o+="H"+f.toString(32)),o+=":"}else f=$o++,o=":"+o+"r"+f.toString(32)+":";return a.memoizedState=o},unstable_isNewReconciler:!1},fC={readContext:He,useCallback:Pv,useContext:He,useEffect:nf,useImperativeHandle:Lv,useInsertionEffect:Id,useLayoutEffect:Nd,useMemo:Nu,useReducer:ef,useRef:Td,useState:function(){return ef(Sl)},useDebugValue:Tl,useDeferredValue:function(a){var o=Oa();return ks(o,or.memoizedState,a)},useTransition:function(){var a=ef(Sl)[0],o=Oa().memoizedState;return[a,o]},useMutableSource:yd,useSyncExternalStore:bd,useId:Eg,unstable_isNewReconciler:!1},dC={readContext:He,useCallback:Pv,useContext:He,useEffect:nf,useImperativeHandle:Lv,useInsertionEffect:Id,useLayoutEffect:Nd,useMemo:Nu,useReducer:tf,useRef:Td,useState:function(){return tf(Sl)},useDebugValue:Tl,useDeferredValue:function(a){var o=Oa();return or===null?o.memoizedState=a:ks(o,or.memoizedState,a)},useTransition:function(){var a=tf(Sl)[0],o=Oa().memoizedState;return[a,o]},useMutableSource:yd,useSyncExternalStore:bd,useId:Eg,unstable_isNewReconciler:!1};function Ms(a,o){try{var f="",m=o;do f+=Ne(m),m=m.return;while(m);var S=f}catch(w){S=`
93
+ `+S[k].replace(" at new "," at ");return a.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",a.displayName)),Q}while(1<=k&&0<=W);break}}}finally{ye=!1,Error.prepareStackTrace=f}return(a=a?a.displayName||a.name:"")?re(a):""}function Ne(a){switch(a.tag){case 5:return re(a.type);case 16:return re("Lazy");case 13:return re("Suspense");case 19:return re("SuspenseList");case 0:case 2:case 15:return a=Se(a.type,!1),a;case 11:return a=Se(a.type.render,!1),a;case 1:return a=Se(a.type,!0),a;default:return""}}function le(a){if(a==null)return null;if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case J:return"Fragment";case U:return"Portal";case Re:return"Profiler";case q:return"StrictMode";case Oe:return"Suspense";case Te:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case ge:return(a.displayName||"Context")+".Consumer";case he:return(a._context.displayName||"Context")+".Provider";case fe:var o=a.render;return a=a.displayName,a||(a=o.displayName||o.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case xe:return o=a.displayName||null,o!==null?o:le(a.type)||"Memo";case je:o=a._payload,a=a._init;try{return le(a(o))}catch{}}return null}function ve(a){var o=a.type;switch(a.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return a=o.render,a=a.displayName||a.name||"",o.displayName||(a!==""?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return le(o);case 8:return o===q?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function we(a){switch(typeof a){case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Ve(a){var o=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function et(a){var o=Ve(a)?"checked":"value",f=Object.getOwnPropertyDescriptor(a.constructor.prototype,o),m=""+a[o];if(!a.hasOwnProperty(o)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var S=f.get,w=f.set;return Object.defineProperty(a,o,{configurable:!0,get:function(){return S.call(this)},set:function(k){m=""+k,w.call(this,k)}}),Object.defineProperty(a,o,{enumerable:f.enumerable}),{getValue:function(){return m},setValue:function(k){m=""+k},stopTracking:function(){a._valueTracker=null,delete a[o]}}}}function tt(a){a._valueTracker||(a._valueTracker=et(a))}function ft(a){if(!a)return!1;var o=a._valueTracker;if(!o)return!0;var f=o.getValue(),m="";return a&&(m=Ve(a)?a.checked?"true":"false":a.value),a=m,a!==f?(o.setValue(a),!0):!1}function Ae(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}function It(a,o){var f=o.checked;return G({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??a._wrapperState.initialChecked})}function pt(a,o){var f=o.defaultValue==null?"":o.defaultValue,m=o.checked!=null?o.checked:o.defaultChecked;f=we(o.value!=null?o.value:f),a._wrapperState={initialChecked:m,initialValue:f,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function Kt(a,o){o=o.checked,o!=null&&V(a,"checked",o,!1)}function on(a,o){Kt(a,o);var f=we(o.value),m=o.type;if(f!=null)m==="number"?(f===0&&a.value===""||a.value!=f)&&(a.value=""+f):a.value!==""+f&&(a.value=""+f);else if(m==="submit"||m==="reset"){a.removeAttribute("value");return}o.hasOwnProperty("value")?_n(a,o.type,f):o.hasOwnProperty("defaultValue")&&_n(a,o.type,we(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(a.defaultChecked=!!o.defaultChecked)}function sn(a,o,f){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var m=o.type;if(!(m!=="submit"&&m!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+a._wrapperState.initialValue,f||o===a.value||(a.value=o),a.defaultValue=o}f=a.name,f!==""&&(a.name=""),a.defaultChecked=!!a._wrapperState.initialChecked,f!==""&&(a.name=f)}function _n(a,o,f){(o!=="number"||Ae(a.ownerDocument)!==a)&&(f==null?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+f&&(a.defaultValue=""+f))}var Vt=Array.isArray;function Cn(a,o,f,m){if(a=a.options,o){o={};for(var S=0;S<f.length;S++)o["$"+f[S]]=!0;for(f=0;f<a.length;f++)S=o.hasOwnProperty("$"+a[f].value),a[f].selected!==S&&(a[f].selected=S),S&&m&&(a[f].defaultSelected=!0)}else{for(f=""+we(f),o=null,S=0;S<a.length;S++){if(a[S].value===f){a[S].selected=!0,m&&(a[S].defaultSelected=!0);return}o!==null||a[S].disabled||(o=a[S])}o!==null&&(o.selected=!0)}}function qn(a,o){if(o.dangerouslySetInnerHTML!=null)throw Error(i(91));return G({},o,{value:void 0,defaultValue:void 0,children:""+a._wrapperState.initialValue})}function Rr(a,o){var f=o.value;if(f==null){if(f=o.children,o=o.defaultValue,f!=null){if(o!=null)throw Error(i(92));if(Vt(f)){if(1<f.length)throw Error(i(93));f=f[0]}o=f}o==null&&(o=""),f=o}a._wrapperState={initialValue:we(f)}}function $n(a,o){var f=we(o.value),m=we(o.defaultValue);f!=null&&(f=""+f,f!==a.value&&(a.value=f),o.defaultValue==null&&a.defaultValue!==f&&(a.defaultValue=f)),m!=null&&(a.defaultValue=""+m)}function Tr(a){var o=a.textContent;o===a._wrapperState.initialValue&&o!==""&&o!==null&&(a.value=o)}function xt(a){switch(a){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Pn(a,o){return a==null||a==="http://www.w3.org/1999/xhtml"?xt(o):a==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":a}var ln,Ba=function(a){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,f,m,S){MSApp.execUnsafeLocalFunction(function(){return a(o,f,m,S)})}:a}(function(a,o){if(a.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in a)a.innerHTML=o;else{for(ln=ln||document.createElement("div"),ln.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=ln.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;o.firstChild;)a.appendChild(o.firstChild)}});function za(a,o){if(o){var f=a.firstChild;if(f&&f===a.lastChild&&f.nodeType===3){f.nodeValue=o;return}}a.textContent=o}var Ha={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},Ge=["Webkit","ms","Moz","O"];Object.keys(Ha).forEach(function(a){Ge.forEach(function(o){o=o+a.charAt(0).toUpperCase()+a.substring(1),Ha[o]=Ha[a]})});function dt(a,o,f){return o==null||typeof o=="boolean"||o===""?"":f||typeof o!="number"||o===0||Ha.hasOwnProperty(a)&&Ha[a]?(""+o).trim():o+"px"}function Mt(a,o){a=a.style;for(var f in o)if(o.hasOwnProperty(f)){var m=f.indexOf("--")===0,S=dt(f,o[f],m);f==="float"&&(f="cssFloat"),m?a.setProperty(f,S):a[f]=S}}var un=G({menuitem:!0},{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});function en(a,o){if(o){if(un[a]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(i(137,a));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(i(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(i(61))}if(o.style!=null&&typeof o.style!="object")throw Error(i(62))}}function ar(a,o){if(a.indexOf("-")===-1)return typeof o.is=="string";switch(a){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 Gn=null;function Xr(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var pn=null,Ir=null,cn=null;function On(a){if(a=ao(a)){if(typeof pn!="function")throw Error(i(280));var o=a.stateNode;o&&(o=cd(o),pn(a.stateNode,a.type,o))}}function ki(a){Ir?cn?cn.push(a):cn=[a]:Ir=a}function ai(){if(Ir){var a=Ir,o=cn;if(cn=Ir=null,On(a),o)for(a=0;a<o.length;a++)On(o[a])}}function vs(a,o){return a(o)}function al(){}var il=!1;function hs(a,o,f){if(il)return a(o,f);il=!0;try{return vs(a,o,f)}finally{il=!1,(Ir!==null||cn!==null)&&(al(),ai())}}function Mi(a,o){var f=a.stateNode;if(f===null)return null;var m=cd(f);if(m===null)return null;f=m[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(m=!m.disabled)||(a=a.type,m=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!m;break e;default:a=!1}if(a)return null;if(f&&typeof f!="function")throw Error(i(231,o,typeof f));return f}var Li=!1;if(v)try{var ii={};Object.defineProperty(ii,"passive",{get:function(){Li=!0}}),window.addEventListener("test",ii,ii),window.removeEventListener("test",ii,ii)}catch{Li=!1}function No(a,o,f,m,S,w,k,W,Q){var pe=Array.prototype.slice.call(arguments,3);try{o.apply(f,pe)}catch(Me){this.onError(Me)}}var ga=!1,ya=null,Ua=!1,_o=null,Z={onError:function(a){ga=!0,ya=a}};function ke(a,o,f,m,S,w,k,W,Q){ga=!1,ya=null,No.apply(Z,arguments)}function Ue(a,o,f,m,S,w,k,W,Q){if(ke.apply(this,arguments),ga){if(ga){var pe=ya;ga=!1,ya=null}else throw Error(i(198));Ua||(Ua=!0,_o=pe)}}function We(a){var o=a,f=a;if(a.alternate)for(;o.return;)o=o.return;else{a=o;do o=a,o.flags&4098&&(f=o.return),a=o.return;while(a)}return o.tag===3?f:null}function Bt(a){if(a.tag===13){var o=a.memoizedState;if(o===null&&(a=a.alternate,a!==null&&(o=a.memoizedState)),o!==null)return o.dehydrated}return null}function $t(a){if(We(a)!==a)throw Error(i(188))}function kt(a){var o=a.alternate;if(!o){if(o=We(a),o===null)throw Error(i(188));return o!==a?null:a}for(var f=a,m=o;;){var S=f.return;if(S===null)break;var w=S.alternate;if(w===null){if(m=S.return,m!==null){f=m;continue}break}if(S.child===w.child){for(w=S.child;w;){if(w===f)return $t(S),a;if(w===m)return $t(S),o;w=w.sibling}throw Error(i(188))}if(f.return!==m.return)f=S,m=w;else{for(var k=!1,W=S.child;W;){if(W===f){k=!0,f=S,m=w;break}if(W===m){k=!0,m=S,f=w;break}W=W.sibling}if(!k){for(W=w.child;W;){if(W===f){k=!0,f=w,m=S;break}if(W===m){k=!0,m=w,f=S;break}W=W.sibling}if(!k)throw Error(i(189))}}if(f.alternate!==m)throw Error(i(190))}if(f.tag!==3)throw Error(i(188));return f.stateNode.current===f?a:o}function vt(a){return a=kt(a),a!==null?pr(a):null}function pr(a){if(a.tag===5||a.tag===6)return a;for(a=a.child;a!==null;){var o=pr(a);if(o!==null)return o;a=a.sibling}return null}var An=r.unstable_scheduleCallback,jn=r.unstable_cancelCallback,Yr=r.unstable_shouldYield,Qi=r.unstable_requestPaint,Dn=r.unstable_now,ba=r.unstable_getCurrentPriorityLevel,Cc=r.unstable_ImmediatePriority,Ki=r.unstable_UserBlockingPriority,Lt=r.unstable_NormalPriority,ol=r.unstable_LowPriority,Oo=r.unstable_IdlePriority,ms=null,Ca=null;function xc(a){if(Ca&&typeof Ca.onCommitFiberRoot=="function")try{Ca.onCommitFiberRoot(ms,a,void 0,(a.current.flags&128)===128)}catch{}}var ra=Math.clz32?Math.clz32:wc,Sc=Math.log,Ec=Math.LN2;function wc(a){return a>>>=0,a===0?32:31-(Sc(a)/Ec|0)|0}var sl=64,ou=4194304;function Ao(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return a}}function eo(a,o){var f=a.pendingLanes;if(f===0)return 0;var m=0,S=a.suspendedLanes,w=a.pingedLanes,k=f&268435455;if(k!==0){var W=k&~S;W!==0?m=Ao(W):(w&=k,w!==0&&(m=Ao(w)))}else k=f&~S,k!==0?m=Ao(k):w!==0&&(m=Ao(w));if(m===0)return 0;if(o!==0&&o!==m&&!(o&S)&&(S=m&-m,w=o&-o,S>=w||S===16&&(w&4194240)!==0))return o;if(m&4&&(m|=f&16),o=a.entangledLanes,o!==0)for(a=a.entanglements,o&=m;0<o;)f=31-ra(o),S=1<<f,m|=a[f],o&=~S;return m}function oi(a,o){switch(a){case 1:case 2:case 4:return o+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function gs(a,o){for(var f=a.suspendedLanes,m=a.pingedLanes,S=a.expirationTimes,w=a.pendingLanes;0<w;){var k=31-ra(w),W=1<<k,Q=S[k];Q===-1?(!(W&f)||W&m)&&(S[k]=oi(W,o)):Q<=o&&(a.expiredLanes|=W),w&=~W}}function to(a){return a=a.pendingLanes&-1073741825,a!==0?a:a&1073741824?1073741824:0}function ll(){var a=sl;return sl<<=1,!(sl&4194240)&&(sl=64),a}function ul(a){for(var o=[],f=0;31>f;f++)o.push(a);return o}function ys(a,o,f){a.pendingLanes|=o,o!==536870912&&(a.suspendedLanes=0,a.pingedLanes=0),a=a.eventTimes,o=31-ra(o),a[o]=f}function Rc(a,o){var f=a.pendingLanes&~o;a.pendingLanes=o,a.suspendedLanes=0,a.pingedLanes=0,a.expiredLanes&=o,a.mutableReadLanes&=o,a.entangledLanes&=o,o=a.entanglements;var m=a.eventTimes;for(a=a.expirationTimes;0<f;){var S=31-ra(f),w=1<<S;o[S]=0,m[S]=-1,a[S]=-1,f&=~w}}function Tc(a,o){var f=a.entangledLanes|=o;for(a=a.entanglements;f;){var m=31-ra(f),S=1<<m;S&o|a[m]&o&&(a[m]|=o),f&=~S}}var Ut=0;function Ic(a){return a&=-a,1<a?4<a?a&268435455?16:536870912:4:1}var su,bs,Nc,Yt,lu,cl=!1,Nt=[],Pi=null,Wn=null,xa=null,si=new Map,Cs=new Map,Fn=[],Xn="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".split(" ");function _c(a,o){switch(a){case"focusin":case"focusout":Pi=null;break;case"dragenter":case"dragleave":Wn=null;break;case"mouseover":case"mouseout":xa=null;break;case"pointerover":case"pointerout":si.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Cs.delete(o.pointerId)}}function Mr(a,o,f,m,S,w){return a===null||a.nativeEvent!==w?(a={blockedOn:o,domEventName:f,eventSystemFlags:m,nativeEvent:w,targetContainers:[S]},o!==null&&(o=ao(o),o!==null&&bs(o)),a):(a.eventSystemFlags|=m,o=a.targetContainers,S!==null&&o.indexOf(S)===-1&&o.push(S),a)}function Sa(a,o,f,m,S){switch(o){case"focusin":return Pi=Mr(Pi,a,o,f,m,S),!0;case"dragenter":return Wn=Mr(Wn,a,o,f,m,S),!0;case"mouseover":return xa=Mr(xa,a,o,f,m,S),!0;case"pointerover":var w=S.pointerId;return si.set(w,Mr(si.get(w)||null,a,o,f,m,S)),!0;case"gotpointercapture":return w=S.pointerId,Cs.set(w,Mr(Cs.get(w)||null,a,o,f,m,S)),!0}return!1}function Fi(a){var o=Ho(a.target);if(o!==null){var f=We(o);if(f!==null){if(o=f.tag,o===13){if(o=Bt(f),o!==null){a.blockedOn=o,lu(a.priority,function(){Nc(f)});return}}else if(o===3&&f.stateNode.current.memoizedState.isDehydrated){a.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}a.blockedOn=null}function uu(a){if(a.blockedOn!==null)return!1;for(var o=a.targetContainers;0<o.length;){var f=du(a.domEventName,a.eventSystemFlags,o[0],a.nativeEvent);if(f===null){f=a.nativeEvent;var m=new f.constructor(f.type,f);Gn=m,f.target.dispatchEvent(m),Gn=null}else return o=ao(f),o!==null&&bs(o),a.blockedOn=f,!1;o.shift()}return!0}function fl(a,o,f){uu(a)&&f.delete(o)}function dl(){cl=!1,Pi!==null&&uu(Pi)&&(Pi=null),Wn!==null&&uu(Wn)&&(Wn=null),xa!==null&&uu(xa)&&(xa=null),si.forEach(fl),Cs.forEach(fl)}function xs(a,o){a.blockedOn===o&&(a.blockedOn=null,cl||(cl=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,dl)))}function li(a){function o(S){return xs(S,a)}if(0<Nt.length){xs(Nt[0],a);for(var f=1;f<Nt.length;f++){var m=Nt[f];m.blockedOn===a&&(m.blockedOn=null)}}for(Pi!==null&&xs(Pi,a),Wn!==null&&xs(Wn,a),xa!==null&&xs(xa,a),si.forEach(o),Cs.forEach(o),f=0;f<Fn.length;f++)m=Fn[f],m.blockedOn===a&&(m.blockedOn=null);for(;0<Fn.length&&(f=Fn[0],f.blockedOn===null);)Fi(f),f.blockedOn===null&&Fn.shift()}var jo=H.ReactCurrentBatchConfig,cu=!0;function Do(a,o,f,m){var S=Ut,w=jo.transition;jo.transition=null;try{Ut=1,no(a,o,f,m)}finally{Ut=S,jo.transition=w}}function fu(a,o,f,m){var S=Ut,w=jo.transition;jo.transition=null;try{Ut=4,no(a,o,f,m)}finally{Ut=S,jo.transition=w}}function no(a,o,f,m){if(cu){var S=du(a,o,f,m);if(S===null)mv(a,o,m,ko,f),_c(a,m);else if(Sa(S,a,o,f,m))m.stopPropagation();else if(_c(a,m),o&4&&-1<Xn.indexOf(a)){for(;S!==null;){var w=ao(S);if(w!==null&&su(w),w=du(a,o,f,m),w===null&&mv(a,o,m,ko,f),w===S)break;S=w}S!==null&&m.stopPropagation()}else mv(a,o,m,null,f)}}var ko=null;function du(a,o,f,m){if(ko=null,a=Xr(m),a=Ho(a),a!==null)if(o=We(a),o===null)a=null;else if(f=o.tag,f===13){if(a=Bt(o),a!==null)return a;a=null}else if(f===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;a=null}else o!==a&&(a=null);return ko=a,null}function Oc(a){switch(a){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 1;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 4;case"message":switch(ba()){case Cc:return 1;case Ki:return 4;case Lt:case ol:return 16;case Oo:return 536870912;default:return 16}default:return 16}}var Vi=null,pu=null,D=null;function X(){if(D)return D;var a,o=pu,f=o.length,m,S="value"in Vi?Vi.value:Vi.textContent,w=S.length;for(a=0;a<f&&o[a]===S[a];a++);var k=f-a;for(m=1;m<=k&&o[f-m]===S[w-m];m++);return D=S.slice(a,1<m?1-m:void 0)}function ue(a){var o=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&o===13&&(a=13)):a=o,a===10&&(a=13),32<=a||a===13?a:0}function me(){return!0}function Be(){return!1}function it(a){function o(f,m,S,w,k){this._reactName=f,this._targetInst=S,this.type=m,this.nativeEvent=w,this.target=k,this.currentTarget=null;for(var W in a)a.hasOwnProperty(W)&&(f=a[W],this[W]=f?f(w):w[W]);return this.isDefaultPrevented=(w.defaultPrevented!=null?w.defaultPrevented:w.returnValue===!1)?me:Be,this.isPropagationStopped=Be,this}return G(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=me)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=me)},persist:function(){},isPersistent:me}),o}var Je={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wt=it(Je),Pt=G({},Je,{view:0,detail:0}),fn=it(Pt),vn,hn,mn,Vn=G({},Pt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ed,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==mn&&(mn&&a.type==="mousemove"?(vn=a.screenX-mn.screenX,hn=a.screenY-mn.screenY):hn=vn=0,mn=a),vn)},movementY:function(a){return"movementY"in a?a.movementY:hn}}),Zt=it(Vn),Ss=G({},Vn,{dataTransfer:0}),vu=it(Ss),Ac=G({},Pt,{relatedTarget:0}),jc=it(Ac),Mo=G({},Je,{animationName:0,elapsedTime:0,pseudoElement:0}),Dc=it(Mo),kc=G({},Je,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),av=it(kc),Y0=G({},Je,{data:0}),Lm=it(Y0),Pm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},iv={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"},Fm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Vm(a){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(a):(a=Fm[a])?!!o[a]:!1}function ed(){return Vm}var Z0=G({},Pt,{key:function(a){if(a.key){var o=Pm[a.key]||a.key;if(o!=="Unidentified")return o}return a.type==="keypress"?(a=ue(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?iv[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ed,charCode:function(a){return a.type==="keypress"?ue(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?ue(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),Lo=it(Z0),J0=G({},Vn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),td=it(J0),ov=G({},Pt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ed}),sv=it(ov),q0=G({},Je,{propertyName:0,elapsedTime:0,pseudoElement:0}),nd=it(q0),Bm=G({},Vn,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),Ea=it(Bm),Po=[9,13,27,32],Qn=v&&"CompositionEvent"in window,$a=null;v&&"documentMode"in document&&($a=document.documentMode);var lv=v&&"TextEvent"in window&&!$a,Mc=v&&(!Qn||$a&&8<$a&&11>=$a),zm=" ",hu=!1;function Hm(a,o){switch(a){case"keyup":return Po.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Um(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var Es=!1;function Q0(a,o){switch(a){case"compositionend":return Um(o);case"keypress":return o.which!==32?null:(hu=!0,zm);case"textInput":return a=o.data,a===zm&&hu?null:a;default:return null}}function K0(a,o){if(Es)return a==="compositionend"||!Qn&&Hm(a,o)?(a=X(),D=pu=Vi=null,Es=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return Mc&&o.locale!=="ko"?null:o.data;default:return null}}var eC={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 uv(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o==="input"?!!eC[a.type]:o==="textarea"}function $m(a,o,f,m){ki(m),o=ld(o,"onChange"),0<o.length&&(f=new wt("onChange","change",null,f,m),a.push({event:f,listeners:o}))}var Lc=null,Pc=null;function Gm(a){sg(a,0)}function Fo(a){var o=bu(a);if(ft(o))return a}function cv(a,o){if(a==="change")return o}var fv=!1;if(v){var rd;if(v){var dv="oninput"in document;if(!dv){var Wm=document.createElement("div");Wm.setAttribute("oninput","return;"),dv=typeof Wm.oninput=="function"}rd=dv}else rd=!1;fv=rd&&(!document.documentMode||9<document.documentMode)}function Xm(){Lc&&(Lc.detachEvent("onpropertychange",Ym),Pc=Lc=null)}function Ym(a){if(a.propertyName==="value"&&Fo(Pc)){var o=[];$m(o,Pc,a,Xr(a)),hs(Gm,o)}}function tC(a,o,f){a==="focusin"?(Xm(),Lc=o,Pc=f,Lc.attachEvent("onpropertychange",Ym)):a==="focusout"&&Xm()}function nC(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return Fo(Pc)}function rC(a,o){if(a==="click")return Fo(o)}function aC(a,o){if(a==="input"||a==="change")return Fo(o)}function Zm(a,o){return a===o&&(a!==0||1/a===1/o)||a!==a&&o!==o}var Bi=typeof Object.is=="function"?Object.is:Zm;function mu(a,o){if(Bi(a,o))return!0;if(typeof a!="object"||a===null||typeof o!="object"||o===null)return!1;var f=Object.keys(a),m=Object.keys(o);if(f.length!==m.length)return!1;for(m=0;m<f.length;m++){var S=f[m];if(!y.call(o,S)||!Bi(a[S],o[S]))return!1}return!0}function Jm(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function qm(a,o){var f=Jm(a);a=0;for(var m;f;){if(f.nodeType===3){if(m=a+f.textContent.length,a<=o&&m>=o)return{node:f,offset:o-a};a=m}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=Jm(f)}}function Qm(a,o){return a&&o?a===o?!0:a&&a.nodeType===3?!1:o&&o.nodeType===3?Qm(a,o.parentNode):"contains"in a?a.contains(o):a.compareDocumentPosition?!!(a.compareDocumentPosition(o)&16):!1:!1}function Km(){for(var a=window,o=Ae();o instanceof a.HTMLIFrameElement;){try{var f=typeof o.contentWindow.location.href=="string"}catch{f=!1}if(f)a=o.contentWindow;else break;o=Ae(a.document)}return o}function Fc(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o&&(o==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||o==="textarea"||a.contentEditable==="true")}function pl(a){var o=Km(),f=a.focusedElem,m=a.selectionRange;if(o!==f&&f&&f.ownerDocument&&Qm(f.ownerDocument.documentElement,f)){if(m!==null&&Fc(f)){if(o=m.start,a=m.end,a===void 0&&(a=o),"selectionStart"in f)f.selectionStart=o,f.selectionEnd=Math.min(a,f.value.length);else if(a=(o=f.ownerDocument||document)&&o.defaultView||window,a.getSelection){a=a.getSelection();var S=f.textContent.length,w=Math.min(m.start,S);m=m.end===void 0?w:Math.min(m.end,S),!a.extend&&w>m&&(S=m,m=w,w=S),S=qm(f,w);var k=qm(f,m);S&&k&&(a.rangeCount!==1||a.anchorNode!==S.node||a.anchorOffset!==S.offset||a.focusNode!==k.node||a.focusOffset!==k.offset)&&(o=o.createRange(),o.setStart(S.node,S.offset),a.removeAllRanges(),w>m?(a.addRange(o),a.extend(k.node,k.offset)):(o.setEnd(k.node,k.offset),a.addRange(o)))}}for(o=[],a=f;a=a.parentNode;)a.nodeType===1&&o.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<o.length;f++)a=o[f],a.element.scrollLeft=a.left,a.element.scrollTop=a.top}}var ad=v&&"documentMode"in document&&11>=document.documentMode,vl=null,ws=null,Vc=null,pv=!1;function eg(a,o,f){var m=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;pv||vl==null||vl!==Ae(m)||(m=vl,"selectionStart"in m&&Fc(m)?m={start:m.selectionStart,end:m.selectionEnd}:(m=(m.ownerDocument&&m.ownerDocument.defaultView||window).getSelection(),m={anchorNode:m.anchorNode,anchorOffset:m.anchorOffset,focusNode:m.focusNode,focusOffset:m.focusOffset}),Vc&&mu(Vc,m)||(Vc=m,m=ld(ws,"onSelect"),0<m.length&&(o=new wt("onSelect","select",null,o,f),a.push({event:o,listeners:m}),o.target=vl)))}function id(a,o){var f={};return f[a.toLowerCase()]=o.toLowerCase(),f["Webkit"+a]="webkit"+o,f["Moz"+a]="moz"+o,f}var gu={animationend:id("Animation","AnimationEnd"),animationiteration:id("Animation","AnimationIteration"),animationstart:id("Animation","AnimationStart"),transitionend:id("Transition","TransitionEnd")},od={},tg={};v&&(tg=document.createElement("div").style,"AnimationEvent"in window||(delete gu.animationend.animation,delete gu.animationiteration.animation,delete gu.animationstart.animation),"TransitionEvent"in window||delete gu.transitionend.transition);function Bc(a){if(od[a])return od[a];if(!gu[a])return a;var o=gu[a],f;for(f in o)if(o.hasOwnProperty(f)&&f in tg)return od[a]=o[f];return a}var Zr=Bc("animationend"),vv=Bc("animationiteration"),ng=Bc("animationstart"),rg=Bc("transitionend"),ag=new Map,ig="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".split(" ");function Rs(a,o){ag.set(a,o),d(o,[a])}for(var sd=0;sd<ig.length;sd++){var zc=ig[sd],Hc=zc.toLowerCase(),iC=zc[0].toUpperCase()+zc.slice(1);Rs(Hc,"on"+iC)}Rs(Zr,"onAnimationEnd"),Rs(vv,"onAnimationIteration"),Rs(ng,"onAnimationStart"),Rs("dblclick","onDoubleClick"),Rs("focusin","onFocus"),Rs("focusout","onBlur"),Rs(rg,"onTransitionEnd"),h("onMouseEnter",["mouseout","mouseover"]),h("onMouseLeave",["mouseout","mouseover"]),h("onPointerEnter",["pointerout","pointerover"]),h("onPointerLeave",["pointerout","pointerover"]),d("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),d("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),d("onBeforeInput",["compositionend","keypress","textInput","paste"]),d("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Vo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),oC=new Set("cancel close invalid load scroll toggle".split(" ").concat(Vo));function og(a,o,f){var m=a.type||"unknown-event";a.currentTarget=f,Ue(m,o,void 0,a),a.currentTarget=null}function sg(a,o){o=(o&4)!==0;for(var f=0;f<a.length;f++){var m=a[f],S=m.event;m=m.listeners;e:{var w=void 0;if(o)for(var k=m.length-1;0<=k;k--){var W=m[k],Q=W.instance,pe=W.currentTarget;if(W=W.listener,Q!==w&&S.isPropagationStopped())break e;og(S,W,pe),w=Q}else for(k=0;k<m.length;k++){if(W=m[k],Q=W.instance,pe=W.currentTarget,W=W.listener,Q!==w&&S.isPropagationStopped())break e;og(S,W,pe),w=Q}}}if(Ua)throw a=_o,Ua=!1,_o=null,a}function Tn(a,o){var f=o[wv];f===void 0&&(f=o[wv]=new Set);var m=a+"__bubble";f.has(m)||(hv(o,a,2,!1),f.add(m))}function Uc(a,o,f){var m=0;o&&(m|=4),hv(f,a,m,o)}var Bo="_reactListening"+Math.random().toString(36).slice(2);function ro(a){if(!a[Bo]){a[Bo]=!0,u.forEach(function(f){f!=="selectionchange"&&(oC.has(f)||Uc(f,!1,a),Uc(f,!0,a))});var o=a.nodeType===9?a:a.ownerDocument;o===null||o[Bo]||(o[Bo]=!0,Uc("selectionchange",!1,o))}}function hv(a,o,f,m){switch(Oc(o)){case 1:var S=Do;break;case 4:S=fu;break;default:S=no}f=S.bind(null,o,f,a),S=void 0,!Li||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(S=!0),m?S!==void 0?a.addEventListener(o,f,{capture:!0,passive:S}):a.addEventListener(o,f,!0):S!==void 0?a.addEventListener(o,f,{passive:S}):a.addEventListener(o,f,!1)}function mv(a,o,f,m,S){var w=m;if(!(o&1)&&!(o&2)&&m!==null)e:for(;;){if(m===null)return;var k=m.tag;if(k===3||k===4){var W=m.stateNode.containerInfo;if(W===S||W.nodeType===8&&W.parentNode===S)break;if(k===4)for(k=m.return;k!==null;){var Q=k.tag;if((Q===3||Q===4)&&(Q=k.stateNode.containerInfo,Q===S||Q.nodeType===8&&Q.parentNode===S))return;k=k.return}for(;W!==null;){if(k=Ho(W),k===null)return;if(Q=k.tag,Q===5||Q===6){m=w=k;continue e}W=W.parentNode}}m=m.return}hs(function(){var pe=w,Me=Xr(f),Pe=[];e:{var De=ag.get(a);if(De!==void 0){var Ye=wt,nt=a;switch(a){case"keypress":if(ue(f)===0)break e;case"keydown":case"keyup":Ye=Lo;break;case"focusin":nt="focus",Ye=jc;break;case"focusout":nt="blur",Ye=jc;break;case"beforeblur":case"afterblur":Ye=jc;break;case"click":if(f.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ye=Zt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ye=vu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ye=sv;break;case Zr:case vv:case ng:Ye=Dc;break;case rg:Ye=nd;break;case"scroll":Ye=fn;break;case"wheel":Ye=Ea;break;case"copy":case"cut":case"paste":Ye=av;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ye=td}var ot=(o&4)!==0,cr=!ot&&a==="scroll",ae=ot?De!==null?De+"Capture":null:De;ot=[];for(var ee=pe,se;ee!==null;){se=ee;var ze=se.stateNode;if(se.tag===5&&ze!==null&&(se=ze,ae!==null&&(ze=Mi(ee,ae),ze!=null&&ot.push(yu(ee,ze,se)))),cr)break;ee=ee.return}0<ot.length&&(De=new Ye(De,nt,null,f,Me),Pe.push({event:De,listeners:ot}))}}if(!(o&7)){e:{if(De=a==="mouseover"||a==="pointerover",Ye=a==="mouseout"||a==="pointerout",De&&f!==Gn&&(nt=f.relatedTarget||f.fromElement)&&(Ho(nt)||nt[zi]))break e;if((Ye||De)&&(De=Me.window===Me?Me:(De=Me.ownerDocument)?De.defaultView||De.parentWindow:window,Ye?(nt=f.relatedTarget||f.toElement,Ye=pe,nt=nt?Ho(nt):null,nt!==null&&(cr=We(nt),nt!==cr||nt.tag!==5&&nt.tag!==6)&&(nt=null)):(Ye=null,nt=pe),Ye!==nt)){if(ot=Zt,ze="onMouseLeave",ae="onMouseEnter",ee="mouse",(a==="pointerout"||a==="pointerover")&&(ot=td,ze="onPointerLeave",ae="onPointerEnter",ee="pointer"),cr=Ye==null?De:bu(Ye),se=nt==null?De:bu(nt),De=new ot(ze,ee+"leave",Ye,f,Me),De.target=cr,De.relatedTarget=se,ze=null,Ho(Me)===pe&&(ot=new ot(ae,ee+"enter",nt,f,Me),ot.target=se,ot.relatedTarget=cr,ze=ot),cr=ze,Ye&&nt)t:{for(ot=Ye,ae=nt,ee=0,se=ot;se;se=hl(se))ee++;for(se=0,ze=ae;ze;ze=hl(ze))se++;for(;0<ee-se;)ot=hl(ot),ee--;for(;0<se-ee;)ae=hl(ae),se--;for(;ee--;){if(ot===ae||ae!==null&&ot===ae.alternate)break t;ot=hl(ot),ae=hl(ae)}ot=null}else ot=null;Ye!==null&&gv(Pe,De,Ye,ot,!1),nt!==null&&cr!==null&&gv(Pe,cr,nt,ot,!0)}}e:{if(De=pe?bu(pe):window,Ye=De.nodeName&&De.nodeName.toLowerCase(),Ye==="select"||Ye==="input"&&De.type==="file")var lt=cv;else if(uv(De))if(fv)lt=aC;else{lt=nC;var Ct=tC}else(Ye=De.nodeName)&&Ye.toLowerCase()==="input"&&(De.type==="checkbox"||De.type==="radio")&&(lt=rC);if(lt&&(lt=lt(a,pe))){$m(Pe,lt,f,Me);break e}Ct&&Ct(a,De,pe),a==="focusout"&&(Ct=De._wrapperState)&&Ct.controlled&&De.type==="number"&&_n(De,"number",De.value)}switch(Ct=pe?bu(pe):window,a){case"focusin":(uv(Ct)||Ct.contentEditable==="true")&&(vl=Ct,ws=pe,Vc=null);break;case"focusout":Vc=ws=vl=null;break;case"mousedown":pv=!0;break;case"contextmenu":case"mouseup":case"dragend":pv=!1,eg(Pe,f,Me);break;case"selectionchange":if(ad)break;case"keydown":case"keyup":eg(Pe,f,Me)}var rt;if(Qn)e:{switch(a){case"compositionstart":var St="onCompositionStart";break e;case"compositionend":St="onCompositionEnd";break e;case"compositionupdate":St="onCompositionUpdate";break e}St=void 0}else Es?Hm(a,f)&&(St="onCompositionEnd"):a==="keydown"&&f.keyCode===229&&(St="onCompositionStart");St&&(Mc&&f.locale!=="ko"&&(Es||St!=="onCompositionStart"?St==="onCompositionEnd"&&Es&&(rt=X()):(Vi=Me,pu="value"in Vi?Vi.value:Vi.textContent,Es=!0)),Ct=ld(pe,St),0<Ct.length&&(St=new Lm(St,a,null,f,Me),Pe.push({event:St,listeners:Ct}),rt?St.data=rt:(rt=Um(f),rt!==null&&(St.data=rt)))),(rt=lv?Q0(a,f):K0(a,f))&&(pe=ld(pe,"onBeforeInput"),0<pe.length&&(Me=new Lm("onBeforeInput","beforeinput",null,f,Me),Pe.push({event:Me,listeners:pe}),Me.data=rt))}sg(Pe,o)})}function yu(a,o,f){return{instance:a,listener:o,currentTarget:f}}function ld(a,o){for(var f=o+"Capture",m=[];a!==null;){var S=a,w=S.stateNode;S.tag===5&&w!==null&&(S=w,w=Mi(a,f),w!=null&&m.unshift(yu(a,w,S)),w=Mi(a,o),w!=null&&m.push(yu(a,w,S))),a=a.return}return m}function hl(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5);return a||null}function gv(a,o,f,m,S){for(var w=o._reactName,k=[];f!==null&&f!==m;){var W=f,Q=W.alternate,pe=W.stateNode;if(Q!==null&&Q===m)break;W.tag===5&&pe!==null&&(W=pe,S?(Q=Mi(f,w),Q!=null&&k.unshift(yu(f,Q,W))):S||(Q=Mi(f,w),Q!=null&&k.push(yu(f,Q,W)))),f=f.return}k.length!==0&&a.push({event:o,listeners:k})}var lg=/\r\n?/g,yv=/\u0000|\uFFFD/g;function ug(a){return(typeof a=="string"?a:""+a).replace(lg,`
94
+ `).replace(yv,"")}function $c(a,o,f){if(o=ug(o),ug(a)!==o&&f)throw Error(i(425))}function ud(){}var bv=null,Cv=null;function ml(a,o){return a==="textarea"||a==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Gc=typeof setTimeout=="function"?setTimeout:void 0,Wc=typeof clearTimeout=="function"?clearTimeout:void 0,xv=typeof Promise=="function"?Promise:void 0,cg=typeof queueMicrotask=="function"?queueMicrotask:typeof xv<"u"?function(a){return xv.resolve(null).then(a).catch(Sv)}:Gc;function Sv(a){setTimeout(function(){throw a})}function Ev(a,o){var f=o,m=0;do{var S=f.nextSibling;if(a.removeChild(f),S&&S.nodeType===8)if(f=S.data,f==="/$"){if(m===0){a.removeChild(S),li(o);return}m--}else f!=="$"&&f!=="$?"&&f!=="$!"||m++;f=S}while(f);li(o)}function Ga(a){for(;a!=null;a=a.nextSibling){var o=a.nodeType;if(o===1||o===3)break;if(o===8){if(o=a.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return a}function Xc(a){a=a.previousSibling;for(var o=0;a;){if(a.nodeType===8){var f=a.data;if(f==="$"||f==="$!"||f==="$?"){if(o===0)return a;o--}else f==="/$"&&o++}a=a.previousSibling}return null}var zo=Math.random().toString(36).slice(2),ui="__reactFiber$"+zo,Yc="__reactProps$"+zo,zi="__reactContainer$"+zo,wv="__reactEvents$"+zo,sC="__reactListeners$"+zo,lC="__reactHandles$"+zo;function Ho(a){var o=a[ui];if(o)return o;for(var f=a.parentNode;f;){if(o=f[zi]||f[ui]){if(f=o.alternate,o.child!==null||f!==null&&f.child!==null)for(a=Xc(a);a!==null;){if(f=a[ui])return f;a=Xc(a)}return o}a=f,f=a.parentNode}return null}function ao(a){return a=a[ui]||a[zi],!a||a.tag!==5&&a.tag!==6&&a.tag!==13&&a.tag!==3?null:a}function bu(a){if(a.tag===5||a.tag===6)return a.stateNode;throw Error(i(33))}function cd(a){return a[Yc]||null}var ht=[],Hi=-1;function In(a){return{current:a}}function st(a){0>Hi||(a.current=ht[Hi],ht[Hi]=null,Hi--)}function tn(a,o){Hi++,ht[Hi]=a.current,a.current=o}var ci={},Nr=In(ci),Ot=In(!1),aa=ci;function Wa(a,o){var f=a.type.contextTypes;if(!f)return ci;var m=a.stateNode;if(m&&m.__reactInternalMemoizedUnmaskedChildContext===o)return m.__reactInternalMemoizedMaskedChildContext;var S={},w;for(w in f)S[w]=o[w];return m&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=o,a.__reactInternalMemoizedMaskedChildContext=S),S}function vr(a){return a=a.childContextTypes,a!=null}function wa(){st(Ot),st(Nr)}function io(a,o,f){if(Nr.current!==ci)throw Error(i(168));tn(Nr,o),tn(Ot,f)}function Ts(a,o,f){var m=a.stateNode;if(o=o.childContextTypes,typeof m.getChildContext!="function")return f;m=m.getChildContext();for(var S in m)if(!(S in o))throw Error(i(108,ve(a)||"Unknown",S));return G({},f,m)}function gl(a){return a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||ci,aa=Nr.current,tn(Nr,a),tn(Ot,Ot.current),!0}function fg(a,o,f){var m=a.stateNode;if(!m)throw Error(i(169));f?(a=Ts(a,o,aa),m.__reactInternalMemoizedMergedChildContext=a,st(Ot),st(Nr),tn(Nr,a)):st(Ot),tn(Ot,f)}var Uo=null,Is=!1,Lr=!1;function fd(a){Uo===null?Uo=[a]:Uo.push(a)}function dg(a){Is=!0,fd(a)}function oo(){if(!Lr&&Uo!==null){Lr=!0;var a=0,o=Ut;try{var f=Uo;for(Ut=1;a<f.length;a++){var m=f[a];do m=m(!0);while(m!==null)}Uo=null,Is=!1}catch(S){throw Uo!==null&&(Uo=Uo.slice(a+1)),An(Cc,oo),S}finally{Ut=o,Lr=!1}}return null}var fi=[],Ns=0,di=null,yl=0,Ra=[],Ta=0,Ui=null,Ia=1,Pr="";function bl(a,o){fi[Ns++]=yl,fi[Ns++]=di,di=a,yl=o}function _s(a,o,f){Ra[Ta++]=Ia,Ra[Ta++]=Pr,Ra[Ta++]=Ui,Ui=a;var m=Ia;a=Pr;var S=32-ra(m)-1;m&=~(1<<S),f+=1;var w=32-ra(o)+S;if(30<w){var k=S-S%5;w=(m&(1<<k)-1).toString(32),m>>=k,S-=k,Ia=1<<32-ra(o)+S|f<<S|m,Pr=w+a}else Ia=1<<w|f<<S|m,Pr=a}function dd(a){a.return!==null&&(bl(a,1),_s(a,1,0))}function pd(a){for(;a===di;)di=fi[--Ns],fi[Ns]=null,yl=fi[--Ns],fi[Ns]=null;for(;a===Ui;)Ui=Ra[--Ta],Ra[Ta]=null,Pr=Ra[--Ta],Ra[Ta]=null,Ia=Ra[--Ta],Ra[Ta]=null}var Xa=null,Ya=null,Bn=!1,pi=null;function Rv(a,o){var f=xi(5,null,null,0);f.elementType="DELETED",f.stateNode=o,f.return=a,o=a.deletions,o===null?(a.deletions=[f],a.flags|=16):o.push(f)}function Tv(a,o){switch(a.tag){case 5:var f=a.type;return o=o.nodeType!==1||f.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(a.stateNode=o,Xa=a,Ya=Ga(o.firstChild),!0):!1;case 6:return o=a.pendingProps===""||o.nodeType!==3?null:o,o!==null?(a.stateNode=o,Xa=a,Ya=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(f=Ui!==null?{id:Ia,overflow:Pr}:null,a.memoizedState={dehydrated:o,treeContext:f,retryLane:1073741824},f=xi(18,null,null,0),f.stateNode=o,f.return=a,a.child=f,Xa=a,Ya=null,!0):!1;default:return!1}}function Iv(a){return(a.mode&1)!==0&&(a.flags&128)===0}function vd(a){if(Bn){var o=Ya;if(o){var f=o;if(!Tv(a,o)){if(Iv(a))throw Error(i(418));o=Ga(f.nextSibling);var m=Xa;o&&Tv(a,o)?Rv(m,f):(a.flags=a.flags&-4097|2,Bn=!1,Xa=a)}}else{if(Iv(a))throw Error(i(418));a.flags=a.flags&-4097|2,Bn=!1,Xa=a}}}function Nv(a){for(a=a.return;a!==null&&a.tag!==5&&a.tag!==3&&a.tag!==13;)a=a.return;Xa=a}function hd(a){if(a!==Xa)return!1;if(!Bn)return Nv(a),Bn=!0,!1;var o;if((o=a.tag!==3)&&!(o=a.tag!==5)&&(o=a.type,o=o!=="head"&&o!=="body"&&!ml(a.type,a.memoizedProps)),o&&(o=Ya)){if(Iv(a))throw pg(),Error(i(418));for(;o;)Rv(a,o),o=Ga(o.nextSibling)}if(Nv(a),a.tag===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(i(317));e:{for(a=a.nextSibling,o=0;a;){if(a.nodeType===8){var f=a.data;if(f==="/$"){if(o===0){Ya=Ga(a.nextSibling);break e}o--}else f!=="$"&&f!=="$!"&&f!=="$?"||o++}a=a.nextSibling}Ya=null}}else Ya=Xa?Ga(a.stateNode.nextSibling):null;return!0}function pg(){for(var a=Ya;a;)a=Ga(a.nextSibling)}function Cu(){Ya=Xa=null,Bn=!1}function hr(a){pi===null?pi=[a]:pi.push(a)}var uC=H.ReactCurrentBatchConfig;function Na(a,o){if(a&&a.defaultProps){o=G({},o),a=a.defaultProps;for(var f in a)o[f]===void 0&&(o[f]=a[f]);return o}return o}var xu=In(null),so=null,Su=null,Zc=null;function _v(){Zc=Su=so=null}function Ov(a){var o=xu.current;st(xu),a._currentValue=o}function Os(a,o,f){for(;a!==null;){var m=a.alternate;if((a.childLanes&o)!==o?(a.childLanes|=o,m!==null&&(m.childLanes|=o)):m!==null&&(m.childLanes&o)!==o&&(m.childLanes|=o),a===f)break;a=a.return}}function ir(a,o){so=a,Zc=Su=null,a=a.dependencies,a!==null&&a.firstContext!==null&&(a.lanes&o&&(Aa=!0),a.firstContext=null)}function He(a){var o=a._currentValue;if(Zc!==a)if(a={context:a,memoizedValue:o,next:null},Su===null){if(so===null)throw Error(i(308));Su=a,so.dependencies={lanes:0,firstContext:a}}else Su=Su.next=a;return o}var Jr=null;function Za(a){Jr===null?Jr=[a]:Jr.push(a)}function vg(a,o,f,m){var S=o.interleaved;return S===null?(f.next=f,Za(o)):(f.next=S.next,S.next=f),o.interleaved=f,$o(a,m)}function $o(a,o){a.lanes|=o;var f=a.alternate;for(f!==null&&(f.lanes|=o),f=a,a=a.return;a!==null;)a.childLanes|=o,f=a.alternate,f!==null&&(f.childLanes|=o),f=a,a=a.return;return f.tag===3?f.stateNode:null}var As=!1;function Av(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function hg(a,o){a=a.updateQueue,o.updateQueue===a&&(o.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function kn(a,o){return{eventTime:a,lane:o,tag:0,payload:null,callback:null,next:null}}function js(a,o,f){var m=a.updateQueue;if(m===null)return null;if(m=m.shared,zt&2){var S=m.pending;return S===null?o.next=o:(o.next=S.next,S.next=o),m.pending=o,$o(a,f)}return S=m.interleaved,S===null?(o.next=o,Za(m)):(o.next=S.next,S.next=o),m.interleaved=o,$o(a,f)}function md(a,o,f){if(o=o.updateQueue,o!==null&&(o=o.shared,(f&4194240)!==0)){var m=o.lanes;m&=a.pendingLanes,f|=m,o.lanes=f,Tc(a,f)}}function mg(a,o){var f=a.updateQueue,m=a.alternate;if(m!==null&&(m=m.updateQueue,f===m)){var S=null,w=null;if(f=f.firstBaseUpdate,f!==null){do{var k={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};w===null?S=w=k:w=w.next=k,f=f.next}while(f!==null);w===null?S=w=o:w=w.next=o}else S=w=o;f={baseState:m.baseState,firstBaseUpdate:S,lastBaseUpdate:w,shared:m.shared,effects:m.effects},a.updateQueue=f;return}a=f.lastBaseUpdate,a===null?f.firstBaseUpdate=o:a.next=o,f.lastBaseUpdate=o}function Jc(a,o,f,m){var S=a.updateQueue;As=!1;var w=S.firstBaseUpdate,k=S.lastBaseUpdate,W=S.shared.pending;if(W!==null){S.shared.pending=null;var Q=W,pe=Q.next;Q.next=null,k===null?w=pe:k.next=pe,k=Q;var Me=a.alternate;Me!==null&&(Me=Me.updateQueue,W=Me.lastBaseUpdate,W!==k&&(W===null?Me.firstBaseUpdate=pe:W.next=pe,Me.lastBaseUpdate=Q))}if(w!==null){var Pe=S.baseState;k=0,Me=pe=Q=null,W=w;do{var De=W.lane,Ye=W.eventTime;if((m&De)===De){Me!==null&&(Me=Me.next={eventTime:Ye,lane:0,tag:W.tag,payload:W.payload,callback:W.callback,next:null});e:{var nt=a,ot=W;switch(De=o,Ye=f,ot.tag){case 1:if(nt=ot.payload,typeof nt=="function"){Pe=nt.call(Ye,Pe,De);break e}Pe=nt;break e;case 3:nt.flags=nt.flags&-65537|128;case 0:if(nt=ot.payload,De=typeof nt=="function"?nt.call(Ye,Pe,De):nt,De==null)break e;Pe=G({},Pe,De);break e;case 2:As=!0}}W.callback!==null&&W.lane!==0&&(a.flags|=64,De=S.effects,De===null?S.effects=[W]:De.push(W))}else Ye={eventTime:Ye,lane:De,tag:W.tag,payload:W.payload,callback:W.callback,next:null},Me===null?(pe=Me=Ye,Q=Pe):Me=Me.next=Ye,k|=De;if(W=W.next,W===null){if(W=S.shared.pending,W===null)break;De=W,W=De.next,De.next=null,S.lastBaseUpdate=De,S.shared.pending=null}}while(!0);if(Me===null&&(Q=Pe),S.baseState=Q,S.firstBaseUpdate=pe,S.lastBaseUpdate=Me,o=S.shared.interleaved,o!==null){S=o;do k|=S.lane,S=S.next;while(S!==o)}else w===null&&(S.shared.lanes=0);Al|=k,a.lanes=k,a.memoizedState=Pe}}function Eu(a,o,f){if(a=o.effects,o.effects=null,a!==null)for(o=0;o<a.length;o++){var m=a[o],S=m.callback;if(S!==null){if(m.callback=null,m=f,typeof S!="function")throw Error(i(191,S));S.call(m)}}}var Cl=new n.Component().refs;function jv(a,o,f,m){o=a.memoizedState,f=f(m,o),f=f==null?o:G({},o,f),a.memoizedState=f,a.lanes===0&&(a.updateQueue.baseState=f)}var gd={isMounted:function(a){return(a=a._reactInternals)?We(a)===a:!1},enqueueSetState:function(a,o,f){a=a._reactInternals;var m=Ar(),S=Yo(a),w=kn(m,S);w.payload=o,f!=null&&(w.callback=f),o=js(a,w,S),o!==null&&(Zn(o,a,S,m),md(o,a,S))},enqueueReplaceState:function(a,o,f){a=a._reactInternals;var m=Ar(),S=Yo(a),w=kn(m,S);w.tag=1,w.payload=o,f!=null&&(w.callback=f),o=js(a,w,S),o!==null&&(Zn(o,a,S,m),md(o,a,S))},enqueueForceUpdate:function(a,o){a=a._reactInternals;var f=Ar(),m=Yo(a),S=kn(f,m);S.tag=2,o!=null&&(S.callback=o),o=js(a,S,m),o!==null&&(Zn(o,a,m,f),md(o,a,m))}};function gg(a,o,f,m,S,w,k){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(m,w,k):o.prototype&&o.prototype.isPureReactComponent?!mu(f,m)||!mu(S,w):!0}function yg(a,o,f){var m=!1,S=ci,w=o.contextType;return typeof w=="object"&&w!==null?w=He(w):(S=vr(o)?aa:Nr.current,m=o.contextTypes,w=(m=m!=null)?Wa(a,S):ci),o=new o(f,w),a.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=gd,a.stateNode=o,o._reactInternals=a,m&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=S,a.__reactInternalMemoizedMaskedChildContext=w),o}function bg(a,o,f,m){a=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(f,m),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(f,m),o.state!==a&&gd.enqueueReplaceState(o,o.state,null)}function Dv(a,o,f,m){var S=a.stateNode;S.props=f,S.state=a.memoizedState,S.refs=Cl,Av(a);var w=o.contextType;typeof w=="object"&&w!==null?S.context=He(w):(w=vr(o)?aa:Nr.current,S.context=Wa(a,w)),S.state=a.memoizedState,w=o.getDerivedStateFromProps,typeof w=="function"&&(jv(a,o,w,f),S.state=a.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof S.getSnapshotBeforeUpdate=="function"||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(o=S.state,typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount(),o!==S.state&&gd.enqueueReplaceState(S,S.state,null),Jc(a,f,S,m),S.state=a.memoizedState),typeof S.componentDidMount=="function"&&(a.flags|=4194308)}function wu(a,o,f){if(a=f.ref,a!==null&&typeof a!="function"&&typeof a!="object"){if(f._owner){if(f=f._owner,f){if(f.tag!==1)throw Error(i(309));var m=f.stateNode}if(!m)throw Error(i(147,a));var S=m,w=""+a;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===w?o.ref:(o=function(k){var W=S.refs;W===Cl&&(W=S.refs={}),k===null?delete W[w]:W[w]=k},o._stringRef=w,o)}if(typeof a!="string")throw Error(i(284));if(!f._owner)throw Error(i(290,a))}return a}function qc(a,o){throw a=Object.prototype.toString.call(o),Error(i(31,a==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":a))}function Cg(a){var o=a._init;return o(a._payload)}function xg(a){function o(ae,ee){if(a){var se=ae.deletions;se===null?(ae.deletions=[ee],ae.flags|=16):se.push(ee)}}function f(ae,ee){if(!a)return null;for(;ee!==null;)o(ae,ee),ee=ee.sibling;return null}function m(ae,ee){for(ae=new Map;ee!==null;)ee.key!==null?ae.set(ee.key,ee):ae.set(ee.index,ee),ee=ee.sibling;return ae}function S(ae,ee){return ae=Bs(ae,ee),ae.index=0,ae.sibling=null,ae}function w(ae,ee,se){return ae.index=se,a?(se=ae.alternate,se!==null?(se=se.index,se<ee?(ae.flags|=2,ee):se):(ae.flags|=2,ee)):(ae.flags|=1048576,ee)}function k(ae){return a&&ae.alternate===null&&(ae.flags|=2),ae}function W(ae,ee,se,ze){return ee===null||ee.tag!==6?(ee=Qd(se,ae.mode,ze),ee.return=ae,ee):(ee=S(ee,se),ee.return=ae,ee)}function Q(ae,ee,se,ze){var lt=se.type;return lt===J?Me(ae,ee,se.props.children,ze,se.key):ee!==null&&(ee.elementType===lt||typeof lt=="object"&&lt!==null&&lt.$$typeof===je&&Cg(lt)===ee.type)?(ze=S(ee,se.props),ze.ref=wu(ae,ee,se),ze.return=ae,ze):(ze=Jd(se.type,se.key,se.props,null,ae.mode,ze),ze.ref=wu(ae,ee,se),ze.return=ae,ze)}function pe(ae,ee,se,ze){return ee===null||ee.tag!==4||ee.stateNode.containerInfo!==se.containerInfo||ee.stateNode.implementation!==se.implementation?(ee=gf(se,ae.mode,ze),ee.return=ae,ee):(ee=S(ee,se.children||[]),ee.return=ae,ee)}function Me(ae,ee,se,ze,lt){return ee===null||ee.tag!==7?(ee=Ml(se,ae.mode,ze,lt),ee.return=ae,ee):(ee=S(ee,se),ee.return=ae,ee)}function Pe(ae,ee,se){if(typeof ee=="string"&&ee!==""||typeof ee=="number")return ee=Qd(""+ee,ae.mode,se),ee.return=ae,ee;if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case z:return se=Jd(ee.type,ee.key,ee.props,null,ae.mode,se),se.ref=wu(ae,null,ee),se.return=ae,se;case U:return ee=gf(ee,ae.mode,se),ee.return=ae,ee;case je:var ze=ee._init;return Pe(ae,ze(ee._payload),se)}if(Vt(ee)||_e(ee))return ee=Ml(ee,ae.mode,se,null),ee.return=ae,ee;qc(ae,ee)}return null}function De(ae,ee,se,ze){var lt=ee!==null?ee.key:null;if(typeof se=="string"&&se!==""||typeof se=="number")return lt!==null?null:W(ae,ee,""+se,ze);if(typeof se=="object"&&se!==null){switch(se.$$typeof){case z:return se.key===lt?Q(ae,ee,se,ze):null;case U:return se.key===lt?pe(ae,ee,se,ze):null;case je:return lt=se._init,De(ae,ee,lt(se._payload),ze)}if(Vt(se)||_e(se))return lt!==null?null:Me(ae,ee,se,ze,null);qc(ae,se)}return null}function Ye(ae,ee,se,ze,lt){if(typeof ze=="string"&&ze!==""||typeof ze=="number")return ae=ae.get(se)||null,W(ee,ae,""+ze,lt);if(typeof ze=="object"&&ze!==null){switch(ze.$$typeof){case z:return ae=ae.get(ze.key===null?se:ze.key)||null,Q(ee,ae,ze,lt);case U:return ae=ae.get(ze.key===null?se:ze.key)||null,pe(ee,ae,ze,lt);case je:var Ct=ze._init;return Ye(ae,ee,se,Ct(ze._payload),lt)}if(Vt(ze)||_e(ze))return ae=ae.get(se)||null,Me(ee,ae,ze,lt,null);qc(ee,ze)}return null}function nt(ae,ee,se,ze){for(var lt=null,Ct=null,rt=ee,St=ee=0,Sr=null;rt!==null&&St<se.length;St++){rt.index>St?(Sr=rt,rt=null):Sr=rt.sibling;var nn=De(ae,rt,se[St],ze);if(nn===null){rt===null&&(rt=Sr);break}a&&rt&&nn.alternate===null&&o(ae,rt),ee=w(nn,ee,St),Ct===null?lt=nn:Ct.sibling=nn,Ct=nn,rt=Sr}if(St===se.length)return f(ae,rt),Bn&&bl(ae,St),lt;if(rt===null){for(;St<se.length;St++)rt=Pe(ae,se[St],ze),rt!==null&&(ee=w(rt,ee,St),Ct===null?lt=rt:Ct.sibling=rt,Ct=rt);return Bn&&bl(ae,St),lt}for(rt=m(ae,rt);St<se.length;St++)Sr=Ye(rt,ae,St,se[St],ze),Sr!==null&&(a&&Sr.alternate!==null&&rt.delete(Sr.key===null?St:Sr.key),ee=w(Sr,ee,St),Ct===null?lt=Sr:Ct.sibling=Sr,Ct=Sr);return a&&rt.forEach(function(Zo){return o(ae,Zo)}),Bn&&bl(ae,St),lt}function ot(ae,ee,se,ze){var lt=_e(se);if(typeof lt!="function")throw Error(i(150));if(se=lt.call(se),se==null)throw Error(i(151));for(var Ct=lt=null,rt=ee,St=ee=0,Sr=null,nn=se.next();rt!==null&&!nn.done;St++,nn=se.next()){rt.index>St?(Sr=rt,rt=null):Sr=rt.sibling;var Zo=De(ae,rt,nn.value,ze);if(Zo===null){rt===null&&(rt=Sr);break}a&&rt&&Zo.alternate===null&&o(ae,rt),ee=w(Zo,ee,St),Ct===null?lt=Zo:Ct.sibling=Zo,Ct=Zo,rt=Sr}if(nn.done)return f(ae,rt),Bn&&bl(ae,St),lt;if(rt===null){for(;!nn.done;St++,nn=se.next())nn=Pe(ae,nn.value,ze),nn!==null&&(ee=w(nn,ee,St),Ct===null?lt=nn:Ct.sibling=nn,Ct=nn);return Bn&&bl(ae,St),lt}for(rt=m(ae,rt);!nn.done;St++,nn=se.next())nn=Ye(rt,ae,St,nn.value,ze),nn!==null&&(a&&nn.alternate!==null&&rt.delete(nn.key===null?St:nn.key),ee=w(nn,ee,St),Ct===null?lt=nn:Ct.sibling=nn,Ct=nn);return a&&rt.forEach(function(NC){return o(ae,NC)}),Bn&&bl(ae,St),lt}function cr(ae,ee,se,ze){if(typeof se=="object"&&se!==null&&se.type===J&&se.key===null&&(se=se.props.children),typeof se=="object"&&se!==null){switch(se.$$typeof){case z:e:{for(var lt=se.key,Ct=ee;Ct!==null;){if(Ct.key===lt){if(lt=se.type,lt===J){if(Ct.tag===7){f(ae,Ct.sibling),ee=S(Ct,se.props.children),ee.return=ae,ae=ee;break e}}else if(Ct.elementType===lt||typeof lt=="object"&&lt!==null&&lt.$$typeof===je&&Cg(lt)===Ct.type){f(ae,Ct.sibling),ee=S(Ct,se.props),ee.ref=wu(ae,Ct,se),ee.return=ae,ae=ee;break e}f(ae,Ct);break}else o(ae,Ct);Ct=Ct.sibling}se.type===J?(ee=Ml(se.props.children,ae.mode,ze,se.key),ee.return=ae,ae=ee):(ze=Jd(se.type,se.key,se.props,null,ae.mode,ze),ze.ref=wu(ae,ee,se),ze.return=ae,ae=ze)}return k(ae);case U:e:{for(Ct=se.key;ee!==null;){if(ee.key===Ct)if(ee.tag===4&&ee.stateNode.containerInfo===se.containerInfo&&ee.stateNode.implementation===se.implementation){f(ae,ee.sibling),ee=S(ee,se.children||[]),ee.return=ae,ae=ee;break e}else{f(ae,ee);break}else o(ae,ee);ee=ee.sibling}ee=gf(se,ae.mode,ze),ee.return=ae,ae=ee}return k(ae);case je:return Ct=se._init,cr(ae,ee,Ct(se._payload),ze)}if(Vt(se))return nt(ae,ee,se,ze);if(_e(se))return ot(ae,ee,se,ze);qc(ae,se)}return typeof se=="string"&&se!==""||typeof se=="number"?(se=""+se,ee!==null&&ee.tag===6?(f(ae,ee.sibling),ee=S(ee,se),ee.return=ae,ae=ee):(f(ae,ee),ee=Qd(se,ae.mode,ze),ee.return=ae,ae=ee),k(ae)):f(ae,ee)}return cr}var Ru=xg(!0),Sg=xg(!1),Qc={},lo=In(Qc),Tu=In(Qc),Kc=In(Qc);function Ds(a){if(a===Qc)throw Error(i(174));return a}function kv(a,o){switch(tn(Kc,o),tn(Tu,a),tn(lo,Qc),a=o.nodeType,a){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:Pn(null,"");break;default:a=a===8?o.parentNode:o,o=a.namespaceURI||null,a=a.tagName,o=Pn(o,a)}st(lo),tn(lo,o)}function Iu(){st(lo),st(Tu),st(Kc)}function yd(a){Ds(Kc.current);var o=Ds(lo.current),f=Pn(o,a.type);o!==f&&(tn(Tu,a),tn(lo,f))}function mt(a){Tu.current===a&&(st(lo),st(Tu))}var ut=In(0);function Qt(a){for(var o=a;o!==null;){if(o.tag===13){var f=o.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if(o.flags&128)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var Kn=[];function hi(){for(var a=0;a<Kn.length;a++)Kn[a]._workInProgressVersionPrimary=null;Kn.length=0}var ef=H.ReactCurrentDispatcher,Mv=H.ReactCurrentBatchConfig,xl=0,Yn=null,or=null,Ee=null,sr=!1,bt=!1,uo=0,Go=0;function er(){throw Error(i(321))}function mi(a,o){if(o===null)return!1;for(var f=0;f<o.length&&f<a.length;f++)if(!Bi(a[f],o[f]))return!1;return!0}function Sl(a,o,f,m,S,w){if(xl=w,Yn=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,ef.current=a===null||a.memoizedState===null?cC:fC,a=f(m,S),bt){w=0;do{if(bt=!1,uo=0,25<=w)throw Error(i(301));w+=1,Ee=or=null,o.updateQueue=null,ef.current=dC,a=f(m,S)}while(bt)}if(ef.current=jd,o=or!==null&&or.next!==null,xl=0,Ee=or=Yn=null,sr=!1,o)throw Error(i(300));return a}function ks(){var a=uo!==0;return uo=0,a}function _a(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ee===null?Yn.memoizedState=Ee=a:Ee=Ee.next=a,Ee}function Oa(){if(or===null){var a=Yn.alternate;a=a!==null?a.memoizedState:null}else a=or.next;var o=Ee===null?Yn.memoizedState:Ee.next;if(o!==null)Ee=o,or=a;else{if(a===null)throw Error(i(310));or=a,a={memoizedState:or.memoizedState,baseState:or.baseState,baseQueue:or.baseQueue,queue:or.queue,next:null},Ee===null?Yn.memoizedState=Ee=a:Ee=Ee.next=a}return Ee}function El(a,o){return typeof o=="function"?o(a):o}function tf(a){var o=Oa(),f=o.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=a;var m=or,S=m.baseQueue,w=f.pending;if(w!==null){if(S!==null){var k=S.next;S.next=w.next,w.next=k}m.baseQueue=S=w,f.pending=null}if(S!==null){w=S.next,m=m.baseState;var W=k=null,Q=null,pe=w;do{var Me=pe.lane;if((xl&Me)===Me)Q!==null&&(Q=Q.next={lane:0,action:pe.action,hasEagerState:pe.hasEagerState,eagerState:pe.eagerState,next:null}),m=pe.hasEagerState?pe.eagerState:a(m,pe.action);else{var Pe={lane:Me,action:pe.action,hasEagerState:pe.hasEagerState,eagerState:pe.eagerState,next:null};Q===null?(W=Q=Pe,k=m):Q=Q.next=Pe,Yn.lanes|=Me,Al|=Me}pe=pe.next}while(pe!==null&&pe!==w);Q===null?k=m:Q.next=W,Bi(m,o.memoizedState)||(Aa=!0),o.memoizedState=m,o.baseState=k,o.baseQueue=Q,f.lastRenderedState=m}if(a=f.interleaved,a!==null){S=a;do w=S.lane,Yn.lanes|=w,Al|=w,S=S.next;while(S!==a)}else S===null&&(f.lanes=0);return[o.memoizedState,f.dispatch]}function nf(a){var o=Oa(),f=o.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=a;var m=f.dispatch,S=f.pending,w=o.memoizedState;if(S!==null){f.pending=null;var k=S=S.next;do w=a(w,k.action),k=k.next;while(k!==S);Bi(w,o.memoizedState)||(Aa=!0),o.memoizedState=w,o.baseQueue===null&&(o.baseState=w),f.lastRenderedState=w}return[w,m]}function bd(){}function Cd(a,o){var f=Yn,m=Oa(),S=o(),w=!Bi(m.memoizedState,S);if(w&&(m.memoizedState=S,Aa=!0),m=m.queue,rf(Ed.bind(null,f,m,a),[a]),m.getSnapshot!==o||w||Ee!==null&&Ee.memoizedState.tag&1){if(f.flags|=2048,wl(9,Sd.bind(null,f,m,S,o),void 0,null),nr===null)throw Error(i(349));xl&30||xd(f,o,S)}return S}function xd(a,o,f){a.flags|=16384,a={getSnapshot:o,value:f},o=Yn.updateQueue,o===null?(o={lastEffect:null,stores:null},Yn.updateQueue=o,o.stores=[a]):(f=o.stores,f===null?o.stores=[a]:f.push(a))}function Sd(a,o,f,m){o.value=f,o.getSnapshot=m,wd(o)&&Rd(a)}function Ed(a,o,f){return f(function(){wd(o)&&Rd(a)})}function wd(a){var o=a.getSnapshot;a=a.value;try{var f=o();return!Bi(a,f)}catch{return!0}}function Rd(a){var o=$o(a,1);o!==null&&Zn(o,a,1,-1)}function Td(a){var o=_a();return typeof a=="function"&&(a=a()),o.memoizedState=o.baseState=a,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:El,lastRenderedState:a},o.queue=a,a=a.dispatch=Ad.bind(null,Yn,a),[o.memoizedState,a]}function wl(a,o,f,m){return a={tag:a,create:o,destroy:f,deps:m,next:null},o=Yn.updateQueue,o===null?(o={lastEffect:null,stores:null},Yn.updateQueue=o,o.lastEffect=a.next=a):(f=o.lastEffect,f===null?o.lastEffect=a.next=a:(m=f.next,f.next=a,a.next=m,o.lastEffect=a)),a}function Id(){return Oa().memoizedState}function Nu(a,o,f,m){var S=_a();Yn.flags|=a,S.memoizedState=wl(1|o,f,void 0,m===void 0?null:m)}function Rl(a,o,f,m){var S=Oa();m=m===void 0?null:m;var w=void 0;if(or!==null){var k=or.memoizedState;if(w=k.destroy,m!==null&&mi(m,k.deps)){S.memoizedState=wl(o,f,w,m);return}}Yn.flags|=a,S.memoizedState=wl(1|o,f,w,m)}function Tl(a,o){return Nu(8390656,8,a,o)}function rf(a,o){return Rl(2048,8,a,o)}function Nd(a,o){return Rl(4,2,a,o)}function _d(a,o){return Rl(4,4,a,o)}function Od(a,o){if(typeof o=="function")return a=a(),o(a),function(){o(null)};if(o!=null)return a=a(),o.current=a,function(){o.current=null}}function Lv(a,o,f){return f=f!=null?f.concat([a]):null,Rl(4,4,Od.bind(null,o,a),f)}function Il(){}function Pv(a,o){var f=Oa();o=o===void 0?null:o;var m=f.memoizedState;return m!==null&&o!==null&&mi(o,m[1])?m[0]:(f.memoizedState=[a,o],a)}function _u(a,o){var f=Oa();o=o===void 0?null:o;var m=f.memoizedState;return m!==null&&o!==null&&mi(o,m[1])?m[0]:(a=a(),f.memoizedState=[a,o],a)}function Ms(a,o,f){return xl&21?(Bi(f,o)||(f=ll(),Yn.lanes|=f,Al|=f,a.baseState=!0),o):(a.baseState&&(a.baseState=!1,Aa=!0),a.memoizedState=f)}function Ja(a,o){var f=Ut;Ut=f!==0&&4>f?f:4,a(!0);var m=Mv.transition;Mv.transition={};try{a(!1),o()}finally{Ut=f,Mv.transition=m}}function Eg(){return Oa().memoizedState}function Mn(a,o,f){var m=Yo(a);if(f={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null},af(a))Ou(o,f);else if(f=vg(a,o,f,m),f!==null){var S=Ar();Zn(f,a,m,S),of(f,o,m)}}function Ad(a,o,f){var m=Yo(a),S={lane:m,action:f,hasEagerState:!1,eagerState:null,next:null};if(af(a))Ou(o,S);else{var w=a.alternate;if(a.lanes===0&&(w===null||w.lanes===0)&&(w=o.lastRenderedReducer,w!==null))try{var k=o.lastRenderedState,W=w(k,f);if(S.hasEagerState=!0,S.eagerState=W,Bi(W,k)){var Q=o.interleaved;Q===null?(S.next=S,Za(o)):(S.next=Q.next,Q.next=S),o.interleaved=S;return}}catch{}finally{}f=vg(a,o,S,m),f!==null&&(S=Ar(),Zn(f,a,m,S),of(f,o,m))}}function af(a){var o=a.alternate;return a===Yn||o!==null&&o===Yn}function Ou(a,o){bt=sr=!0;var f=a.pending;f===null?o.next=o:(o.next=f.next,f.next=o),a.pending=o}function of(a,o,f){if(f&4194240){var m=o.lanes;m&=a.pendingLanes,f|=m,o.lanes=f,Tc(a,f)}}var jd={readContext:He,useCallback:er,useContext:er,useEffect:er,useImperativeHandle:er,useInsertionEffect:er,useLayoutEffect:er,useMemo:er,useReducer:er,useRef:er,useState:er,useDebugValue:er,useDeferredValue:er,useTransition:er,useMutableSource:er,useSyncExternalStore:er,useId:er,unstable_isNewReconciler:!1},cC={readContext:He,useCallback:function(a,o){return _a().memoizedState=[a,o===void 0?null:o],a},useContext:He,useEffect:Tl,useImperativeHandle:function(a,o,f){return f=f!=null?f.concat([a]):null,Nu(4194308,4,Od.bind(null,o,a),f)},useLayoutEffect:function(a,o){return Nu(4194308,4,a,o)},useInsertionEffect:function(a,o){return Nu(4,2,a,o)},useMemo:function(a,o){var f=_a();return o=o===void 0?null:o,a=a(),f.memoizedState=[a,o],a},useReducer:function(a,o,f){var m=_a();return o=f!==void 0?f(o):o,m.memoizedState=m.baseState=o,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:o},m.queue=a,a=a.dispatch=Mn.bind(null,Yn,a),[m.memoizedState,a]},useRef:function(a){var o=_a();return a={current:a},o.memoizedState=a},useState:Td,useDebugValue:Il,useDeferredValue:function(a){return _a().memoizedState=a},useTransition:function(){var a=Td(!1),o=a[0];return a=Ja.bind(null,a[1]),_a().memoizedState=a,[o,a]},useMutableSource:function(){},useSyncExternalStore:function(a,o,f){var m=Yn,S=_a();if(Bn){if(f===void 0)throw Error(i(407));f=f()}else{if(f=o(),nr===null)throw Error(i(349));xl&30||xd(m,o,f)}S.memoizedState=f;var w={value:f,getSnapshot:o};return S.queue=w,Tl(Ed.bind(null,m,w,a),[a]),m.flags|=2048,wl(9,Sd.bind(null,m,w,f,o),void 0,null),f},useId:function(){var a=_a(),o=nr.identifierPrefix;if(Bn){var f=Pr,m=Ia;f=(m&~(1<<32-ra(m)-1)).toString(32)+f,o=":"+o+"R"+f,f=uo++,0<f&&(o+="H"+f.toString(32)),o+=":"}else f=Go++,o=":"+o+"r"+f.toString(32)+":";return a.memoizedState=o},unstable_isNewReconciler:!1},fC={readContext:He,useCallback:Pv,useContext:He,useEffect:rf,useImperativeHandle:Lv,useInsertionEffect:Nd,useLayoutEffect:_d,useMemo:_u,useReducer:tf,useRef:Id,useState:function(){return tf(El)},useDebugValue:Il,useDeferredValue:function(a){var o=Oa();return Ms(o,or.memoizedState,a)},useTransition:function(){var a=tf(El)[0],o=Oa().memoizedState;return[a,o]},useMutableSource:bd,useSyncExternalStore:Cd,useId:Eg,unstable_isNewReconciler:!1},dC={readContext:He,useCallback:Pv,useContext:He,useEffect:rf,useImperativeHandle:Lv,useInsertionEffect:Nd,useLayoutEffect:_d,useMemo:_u,useReducer:nf,useRef:Id,useState:function(){return nf(El)},useDebugValue:Il,useDeferredValue:function(a){var o=Oa();return or===null?o.memoizedState=a:Ms(o,or.memoizedState,a)},useTransition:function(){var a=nf(El)[0],o=Oa().memoizedState;return[a,o]},useMutableSource:bd,useSyncExternalStore:Cd,useId:Eg,unstable_isNewReconciler:!1};function Ls(a,o){try{var f="",m=o;do f+=Ne(m),m=m.return;while(m);var S=f}catch(w){S=`
95
95
  Error generating stack: `+w.message+`
96
- `+w.stack}return{value:a,source:o,stack:S,digest:null}}function Fv(a,o,f){return{value:a,source:null,stack:f??null,digest:o??null}}function of(a,o){try{console.error(o.value)}catch(f){setTimeout(function(){throw f})}}var wg=typeof WeakMap=="function"?WeakMap:Map;function Rg(a,o,f){f=kn(-1,f),f.tag=3,f.payload={element:null};var m=o.value;return f.callback=function(){Ud||(Ud=!0,Xv=m),of(a,o)},f}function Tg(a,o,f){f=kn(-1,f),f.tag=3;var m=a.type.getDerivedStateFromError;if(typeof m=="function"){var S=o.value;f.payload=function(){return m(S)},f.callback=function(){of(a,o)}}var w=a.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(f.callback=function(){of(a,o),typeof m!="function"&&(bi===null?bi=new Set([this]):bi.add(this));var k=o.stack;this.componentDidCatch(o.value,{componentStack:k!==null?k:""})}),f}function sf(a,o,f){var m=a.pingCache;if(m===null){m=a.pingCache=new wg;var S=new Set;m.set(o,S)}else S=m.get(o),S===void 0&&(S=new Set,m.set(o,S));S.has(f)||(S.add(f),a=SC.bind(null,a,o,f),o.then(a,a))}function Ig(a){do{var o;if((o=a.tag===13)&&(o=a.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return a;a=a.return}while(a!==null);return null}function Vv(a,o,f,m,S){return a.mode&1?(a.flags|=65536,a.lanes=S,a):(a===o?a.flags|=65536:(a.flags|=128,f.flags|=131072,f.flags&=-52805,f.tag===1&&(f.alternate===null?f.tag=17:(o=kn(-1,1),o.tag=2,As(f,o,1))),f.lanes|=1),a)}var Ng=H.ReactCurrentOwner,Aa=!1;function lr(a,o,f,m){o.child=a===null?Sg(o,null,f,m):wu(o,a.child,f,m)}function Ou(a,o,f,m,S){f=f.render;var w=o.ref;return ir(o,S),m=xl(a,o,f,m,w,S),f=Ds(),a!==null&&!Aa?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~S,ur(a,o,S)):(Bn&&f&&fd(o),o.flags|=1,lr(a,o,m,S),o.child)}function Ls(a,o,f,m,S){if(a===null){var w=f.type;return typeof w=="function"&&!Qv(w)&&w.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(o.tag=15,o.type=w,jd(a,o,w,m,S)):(a=Zd(f.type,null,m,o,o.mode,S),a.ref=o.ref,a.return=o,o.child=a)}if(w=a.child,!(a.lanes&S)){var k=w.memoizedProps;if(f=f.compare,f=f!==null?f:hu,f(k,m)&&a.ref===o.ref)return ur(a,o,S)}return o.flags|=1,a=Vs(w,m),a.ref=o.ref,a.return=o,o.child=a}function jd(a,o,f,m,S){if(a!==null){var w=a.memoizedProps;if(hu(w,m)&&a.ref===o.ref)if(Aa=!1,o.pendingProps=m=w,(a.lanes&S)!==0)a.flags&131072&&(Aa=!0);else return o.lanes=a.lanes,ur(a,o,S)}return Dt(a,o,f,m,S)}function ja(a,o,f){var m=o.pendingProps,S=m.children,w=a!==null?a.memoizedState:null;if(m.mode==="hidden")if(!(o.mode&1))o.memoizedState={baseLanes:0,cachePool:null,transitions:null},tn(Bu,Da),Da|=f;else{if(!(f&1073741824))return a=w!==null?w.baseLanes|f:f,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:a,cachePool:null,transitions:null},o.updateQueue=null,tn(Bu,Da),Da|=a,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},m=w!==null?w.baseLanes:f,tn(Bu,Da),Da|=m}else w!==null?(m=w.baseLanes|f,o.memoizedState=null):m=f,tn(Bu,Da),Da|=m;return lr(a,o,S,f),o.child}function Il(a,o){var f=o.ref;(a===null&&f!==null||a!==null&&a.ref!==f)&&(o.flags|=512,o.flags|=2097152)}function Dt(a,o,f,m,S){var w=vr(f)?aa:Nr.current;return w=Wa(o,w),ir(o,S),f=xl(a,o,f,m,w,S),m=Ds(),a!==null&&!Aa?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~S,ur(a,o,S)):(Bn&&m&&fd(o),o.flags|=1,lr(a,o,f,S),o.child)}function lf(a,o,f,m,S){if(vr(f)){var w=!0;ml(o)}else w=!1;if(ir(o,S),o.stateNode===null)cf(a,o),yg(o,f,m),Dv(o,f,m,S),m=!0;else if(a===null){var k=o.stateNode,W=o.memoizedProps;k.props=W;var Q=k.context,pe=f.contextType;typeof pe=="object"&&pe!==null?pe=He(pe):(pe=vr(f)?aa:Nr.current,pe=Wa(o,pe));var Me=f.getDerivedStateFromProps,Pe=typeof Me=="function"||typeof k.getSnapshotBeforeUpdate=="function";Pe||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(W!==m||Q!==pe)&&bg(o,k,m,pe),Os=!1;var De=o.memoizedState;k.state=De,Zc(o,m,k,S),Q=o.memoizedState,W!==m||De!==Q||Ot.current||Os?(typeof Me=="function"&&(jv(o,f,Me,m),Q=o.memoizedState),(W=Os||gg(o,f,W,m,De,Q,pe))?(Pe||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount()),typeof k.componentDidMount=="function"&&(o.flags|=4194308)):(typeof k.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=m,o.memoizedState=Q),k.props=m,k.state=Q,k.context=pe,m=W):(typeof k.componentDidMount=="function"&&(o.flags|=4194308),m=!1)}else{k=o.stateNode,hg(a,o),W=o.memoizedProps,pe=o.type===o.elementType?W:Na(o.type,W),k.props=pe,Pe=o.pendingProps,De=k.context,Q=f.contextType,typeof Q=="object"&&Q!==null?Q=He(Q):(Q=vr(f)?aa:Nr.current,Q=Wa(o,Q));var Ye=f.getDerivedStateFromProps;(Me=typeof Ye=="function"||typeof k.getSnapshotBeforeUpdate=="function")||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(W!==Pe||De!==Q)&&bg(o,k,m,Q),Os=!1,De=o.memoizedState,k.state=De,Zc(o,m,k,S);var nt=o.memoizedState;W!==Pe||De!==nt||Ot.current||Os?(typeof Ye=="function"&&(jv(o,f,Ye,m),nt=o.memoizedState),(pe=Os||gg(o,f,pe,m,De,nt,Q)||!1)?(Me||typeof k.UNSAFE_componentWillUpdate!="function"&&typeof k.componentWillUpdate!="function"||(typeof k.componentWillUpdate=="function"&&k.componentWillUpdate(m,nt,Q),typeof k.UNSAFE_componentWillUpdate=="function"&&k.UNSAFE_componentWillUpdate(m,nt,Q)),typeof k.componentDidUpdate=="function"&&(o.flags|=4),typeof k.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof k.componentDidUpdate!="function"||W===a.memoizedProps&&De===a.memoizedState||(o.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||W===a.memoizedProps&&De===a.memoizedState||(o.flags|=1024),o.memoizedProps=m,o.memoizedState=nt),k.props=m,k.state=nt,k.context=Q,m=pe):(typeof k.componentDidUpdate!="function"||W===a.memoizedProps&&De===a.memoizedState||(o.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||W===a.memoizedProps&&De===a.memoizedState||(o.flags|=1024),m=!1)}return Dd(a,o,f,m,w,S)}function Dd(a,o,f,m,S,w){Il(a,o);var k=(o.flags&128)!==0;if(!m&&!k)return S&&fg(o,f,!1),ur(a,o,w);m=o.stateNode,Ng.current=o;var W=k&&typeof f.getDerivedStateFromError!="function"?null:m.render();return o.flags|=1,a!==null&&k?(o.child=wu(o,a.child,null,w),o.child=wu(o,null,W,w)):lr(a,o,W,w),o.memoizedState=m.state,S&&fg(o,f,!0),o.child}function pC(a){var o=a.stateNode;o.pendingContext?io(a,o.pendingContext,o.pendingContext!==o.context):o.context&&io(a,o.context,!1),kv(a,o.containerInfo)}function _g(a,o,f,m,S){return bu(),hr(S),o.flags|=256,lr(a,o,f,m),o.child}var uf={dehydrated:null,treeContext:null,retryLane:0};function Nl(a){return{baseLanes:a,cachePool:null,transitions:null}}function Og(a,o,f){var m=o.pendingProps,S=ut.current,w=!1,k=(o.flags&128)!==0,W;if((W=k)||(W=a!==null&&a.memoizedState===null?!1:(S&2)!==0),W?(w=!0,o.flags&=-129):(a===null||a.memoizedState!==null)&&(S|=1),tn(ut,S&1),a===null)return pd(o),a=o.memoizedState,a!==null&&(a=a.dehydrated,a!==null)?(o.mode&1?a.data==="$!"?o.lanes=8:o.lanes=1073741824:o.lanes=1,null):(k=m.children,a=m.fallback,w?(m=o.mode,w=o.child,k={mode:"hidden",children:k},!(m&1)&&w!==null?(w.childLanes=0,w.pendingProps=k):w=Jd(k,m,0,null),a=kl(a,m,f,null),w.return=o,a.return=o,w.sibling=a,o.child=w,o.child.memoizedState=Nl(f),o.memoizedState=uf,a):kd(o,k));if(S=a.memoizedState,S!==null&&(W=S.dehydrated,W!==null))return Bv(a,o,k,m,W,S,f);if(w){w=m.fallback,k=o.mode,S=a.child,W=S.sibling;var Q={mode:"hidden",children:m.children};return!(k&1)&&o.child!==S?(m=o.child,m.childLanes=0,m.pendingProps=Q,o.deletions=null):(m=Vs(S,Q),m.subtreeFlags=S.subtreeFlags&14680064),W!==null?w=Vs(W,w):(w=kl(w,k,f,null),w.flags|=2),w.return=o,m.return=o,m.sibling=w,o.child=m,m=w,w=o.child,k=a.child.memoizedState,k=k===null?Nl(f):{baseLanes:k.baseLanes|f,cachePool:null,transitions:k.transitions},w.memoizedState=k,w.childLanes=a.childLanes&~f,o.memoizedState=uf,m}return w=a.child,a=w.sibling,m=Vs(w,{mode:"visible",children:m.children}),!(o.mode&1)&&(m.lanes=f),m.return=o,m.sibling=null,a!==null&&(f=o.deletions,f===null?(o.deletions=[a],o.flags|=16):f.push(a)),o.child=m,o.memoizedState=null,m}function kd(a,o){return o=Jd({mode:"visible",children:o},a.mode,0,null),o.return=a,a.child=o}function Md(a,o,f,m){return m!==null&&hr(m),wu(o,a.child,null,f),a=kd(o,o.pendingProps.children),a.flags|=2,o.memoizedState=null,a}function Bv(a,o,f,m,S,w,k){if(f)return o.flags&256?(o.flags&=-257,m=Fv(Error(i(422))),Md(a,o,k,m)):o.memoizedState!==null?(o.child=a.child,o.flags|=128,null):(w=m.fallback,S=o.mode,m=Jd({mode:"visible",children:m.children},S,0,null),w=kl(w,S,k,null),w.flags|=2,m.return=o,w.return=o,m.sibling=w,o.child=m,o.mode&1&&wu(o,a.child,null,k),o.child.memoizedState=Nl(k),o.memoizedState=uf,w);if(!(o.mode&1))return Md(a,o,k,null);if(S.data==="$!"){if(m=S.nextSibling&&S.nextSibling.dataset,m)var W=m.dgst;return m=W,w=Error(i(419)),m=Fv(w,m,void 0),Md(a,o,k,m)}if(W=(k&a.childLanes)!==0,Aa||W){if(m=nr,m!==null){switch(k&-k){case 4:S=2;break;case 16:S=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:S=32;break;case 536870912:S=268435456;break;default:S=0}S=S&(m.suspendedLanes|k)?0:S,S!==0&&S!==w.retryLane&&(w.retryLane=S,Uo(a,S),Zn(m,a,S,-1))}return hf(),m=Fv(Error(i(421))),Md(a,o,k,m)}return S.data==="$?"?(o.flags|=128,o.child=a.child,o=qv.bind(null,a),S._reactRetry=o,null):(a=w.treeContext,Ya=Ga(S.nextSibling),Xa=o,Bn=!0,pi=null,a!==null&&(Ra[Ta++]=Ia,Ra[Ta++]=Pr,Ra[Ta++]=Ui,Ia=a.id,Pr=a.overflow,Ui=o),o=kd(o,m.children),o.flags|=4096,o)}function Ag(a,o,f){a.lanes|=o;var m=a.alternate;m!==null&&(m.lanes|=o),_s(a.return,o,f)}function Ld(a,o,f,m,S){var w=a.memoizedState;w===null?a.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:m,tail:f,tailMode:S}:(w.isBackwards=o,w.rendering=null,w.renderingStartTime=0,w.last=m,w.tail=f,w.tailMode=S)}function zv(a,o,f){var m=o.pendingProps,S=m.revealOrder,w=m.tail;if(lr(a,o,m.children,f),m=ut.current,m&2)m=m&1|2,o.flags|=128;else{if(a!==null&&a.flags&128)e:for(a=o.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&Ag(a,f,o);else if(a.tag===19)Ag(a,f,o);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===o)break e;for(;a.sibling===null;){if(a.return===null||a.return===o)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}m&=1}if(tn(ut,m),!(o.mode&1))o.memoizedState=null;else switch(S){case"forwards":for(f=o.child,S=null;f!==null;)a=f.alternate,a!==null&&Qt(a)===null&&(S=f),f=f.sibling;f=S,f===null?(S=o.child,o.child=null):(S=f.sibling,f.sibling=null),Ld(o,!1,S,f,w);break;case"backwards":for(f=null,S=o.child,o.child=null;S!==null;){if(a=S.alternate,a!==null&&Qt(a)===null){o.child=S;break}a=S.sibling,S.sibling=f,f=S,S=a}Ld(o,!0,f,null,w);break;case"together":Ld(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function cf(a,o){!(o.mode&1)&&a!==null&&(a.alternate=null,o.alternate=null,o.flags|=2)}function ur(a,o,f){if(a!==null&&(o.dependencies=a.dependencies),Ol|=o.lanes,!(f&o.childLanes))return null;if(a!==null&&o.child!==a.child)throw Error(i(153));if(o.child!==null){for(a=o.child,f=Vs(a,a.pendingProps),o.child=f,f.return=o;a.sibling!==null;)a=a.sibling,f=f.sibling=Vs(a,a.pendingProps),f.return=o;f.sibling=null}return o.child}function Go(a,o,f){switch(o.tag){case 3:pC(o),bu();break;case 5:gd(o);break;case 1:vr(o.type)&&ml(o);break;case 4:kv(o,o.stateNode.containerInfo);break;case 10:var m=o.type._context,S=o.memoizedProps.value;tn(Cu,m._currentValue),m._currentValue=S;break;case 13:if(m=o.memoizedState,m!==null)return m.dehydrated!==null?(tn(ut,ut.current&1),o.flags|=128,null):f&o.child.childLanes?Og(a,o,f):(tn(ut,ut.current&1),a=ur(a,o,f),a!==null?a.sibling:null);tn(ut,ut.current&1);break;case 19:if(m=(f&o.childLanes)!==0,a.flags&128){if(m)return zv(a,o,f);o.flags|=128}if(S=o.memoizedState,S!==null&&(S.rendering=null,S.tail=null,S.lastEffect=null),tn(ut,ut.current),m)break;return null;case 22:case 23:return o.lanes=0,ja(a,o,f)}return ur(a,o,f)}var co,Au,ju,gi;co=function(a,o){for(var f=o.child;f!==null;){if(f.tag===5||f.tag===6)a.appendChild(f.stateNode);else if(f.tag!==4&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===o)break;for(;f.sibling===null;){if(f.return===null||f.return===o)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},Au=function(){},ju=function(a,o,f,m){var S=a.memoizedProps;if(S!==m){a=o.stateNode,js(lo.current);var w=null;switch(f){case"input":S=It(a,S),m=It(a,m),w=[];break;case"select":S=G({},S,{value:void 0}),m=G({},m,{value:void 0}),w=[];break;case"textarea":S=qn(a,S),m=qn(a,m),w=[];break;default:typeof S.onClick!="function"&&typeof m.onClick=="function"&&(a.onclick=ld)}en(f,m);var k;f=null;for(pe in S)if(!m.hasOwnProperty(pe)&&S.hasOwnProperty(pe)&&S[pe]!=null)if(pe==="style"){var W=S[pe];for(k in W)W.hasOwnProperty(k)&&(f||(f={}),f[k]="")}else pe!=="dangerouslySetInnerHTML"&&pe!=="children"&&pe!=="suppressContentEditableWarning"&&pe!=="suppressHydrationWarning"&&pe!=="autoFocus"&&(l.hasOwnProperty(pe)?w||(w=[]):(w=w||[]).push(pe,null));for(pe in m){var Q=m[pe];if(W=S!=null?S[pe]:void 0,m.hasOwnProperty(pe)&&Q!==W&&(Q!=null||W!=null))if(pe==="style")if(W){for(k in W)!W.hasOwnProperty(k)||Q&&Q.hasOwnProperty(k)||(f||(f={}),f[k]="");for(k in Q)Q.hasOwnProperty(k)&&W[k]!==Q[k]&&(f||(f={}),f[k]=Q[k])}else f||(w||(w=[]),w.push(pe,f)),f=Q;else pe==="dangerouslySetInnerHTML"?(Q=Q?Q.__html:void 0,W=W?W.__html:void 0,Q!=null&&W!==Q&&(w=w||[]).push(pe,Q)):pe==="children"?typeof Q!="string"&&typeof Q!="number"||(w=w||[]).push(pe,""+Q):pe!=="suppressContentEditableWarning"&&pe!=="suppressHydrationWarning"&&(l.hasOwnProperty(pe)?(Q!=null&&pe==="onScroll"&&Tn("scroll",a),w||W===Q||(w=[])):(w=w||[]).push(pe,Q))}f&&(w=w||[]).push("style",f);var pe=w;(o.updateQueue=pe)&&(o.flags|=4)}},gi=function(a,o,f,m){f!==m&&(o.flags|=4)};function tr(a,o){if(!Bn)switch(a.tailMode){case"hidden":o=a.tail;for(var f=null;o!==null;)o.alternate!==null&&(f=o),o=o.sibling;f===null?a.tail=null:f.sibling=null;break;case"collapsed":f=a.tail;for(var m=null;f!==null;)f.alternate!==null&&(m=f),f=f.sibling;m===null?o||a.tail===null?a.tail=null:a.tail.sibling=null:m.sibling=null}}function qr(a){var o=a.alternate!==null&&a.alternate.child===a.child,f=0,m=0;if(o)for(var S=a.child;S!==null;)f|=S.lanes|S.childLanes,m|=S.subtreeFlags&14680064,m|=S.flags&14680064,S.return=a,S=S.sibling;else for(S=a.child;S!==null;)f|=S.lanes|S.childLanes,m|=S.subtreeFlags,m|=S.flags,S.return=a,S=S.sibling;return a.subtreeFlags|=m,a.childLanes=f,o}function vC(a,o,f){var m=o.pendingProps;switch(dd(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qr(o),null;case 1:return vr(o.type)&&wa(),qr(o),null;case 3:return m=o.stateNode,Tu(),st(Ot),st(Nr),hi(),m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null),(a===null||a.child===null)&&(vd(o)?o.flags|=4:a===null||a.memoizedState.isDehydrated&&!(o.flags&256)||(o.flags|=1024,pi!==null&&(Yv(pi),pi=null))),Au(a,o),qr(o),null;case 5:mt(o);var S=js(Qc.current);if(f=o.type,a!==null&&o.stateNode!=null)ju(a,o,f,m,S),a.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!m){if(o.stateNode===null)throw Error(i(166));return qr(o),null}if(a=js(lo.current),vd(o)){m=o.stateNode,f=o.type;var w=o.memoizedProps;switch(m[ui]=o,m[Xc]=w,a=(o.mode&1)!==0,f){case"dialog":Tn("cancel",m),Tn("close",m);break;case"iframe":case"object":case"embed":Tn("load",m);break;case"video":case"audio":for(S=0;S<Fo.length;S++)Tn(Fo[S],m);break;case"source":Tn("error",m);break;case"img":case"image":case"link":Tn("error",m),Tn("load",m);break;case"details":Tn("toggle",m);break;case"input":pt(m,w),Tn("invalid",m);break;case"select":m._wrapperState={wasMultiple:!!w.multiple},Tn("invalid",m);break;case"textarea":Rr(m,w),Tn("invalid",m)}en(f,w),S=null;for(var k in w)if(w.hasOwnProperty(k)){var W=w[k];k==="children"?typeof W=="string"?m.textContent!==W&&(w.suppressHydrationWarning!==!0&&Uc(m.textContent,W,a),S=["children",W]):typeof W=="number"&&m.textContent!==""+W&&(w.suppressHydrationWarning!==!0&&Uc(m.textContent,W,a),S=["children",""+W]):l.hasOwnProperty(k)&&W!=null&&k==="onScroll"&&Tn("scroll",m)}switch(f){case"input":tt(m),sn(m,w,!0);break;case"textarea":tt(m),Tr(m);break;case"select":case"option":break;default:typeof w.onClick=="function"&&(m.onclick=ld)}m=S,o.updateQueue=m,m!==null&&(o.flags|=4)}else{k=S.nodeType===9?S:S.ownerDocument,a==="http://www.w3.org/1999/xhtml"&&(a=xt(f)),a==="http://www.w3.org/1999/xhtml"?f==="script"?(a=k.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild)):typeof m.is=="string"?a=k.createElement(f,{is:m.is}):(a=k.createElement(f),f==="select"&&(k=a,m.multiple?k.multiple=!0:m.size&&(k.size=m.size))):a=k.createElementNS(a,f),a[ui]=o,a[Xc]=m,co(a,o,!1,!1),o.stateNode=a;e:{switch(k=ar(f,m),f){case"dialog":Tn("cancel",a),Tn("close",a),S=m;break;case"iframe":case"object":case"embed":Tn("load",a),S=m;break;case"video":case"audio":for(S=0;S<Fo.length;S++)Tn(Fo[S],a);S=m;break;case"source":Tn("error",a),S=m;break;case"img":case"image":case"link":Tn("error",a),Tn("load",a),S=m;break;case"details":Tn("toggle",a),S=m;break;case"input":pt(a,m),S=It(a,m),Tn("invalid",a);break;case"option":S=m;break;case"select":a._wrapperState={wasMultiple:!!m.multiple},S=G({},m,{value:void 0}),Tn("invalid",a);break;case"textarea":Rr(a,m),S=qn(a,m),Tn("invalid",a);break;default:S=m}en(f,S),W=S;for(w in W)if(W.hasOwnProperty(w)){var Q=W[w];w==="style"?Mt(a,Q):w==="dangerouslySetInnerHTML"?(Q=Q?Q.__html:void 0,Q!=null&&Ba(a,Q)):w==="children"?typeof Q=="string"?(f!=="textarea"||Q!=="")&&za(a,Q):typeof Q=="number"&&za(a,""+Q):w!=="suppressContentEditableWarning"&&w!=="suppressHydrationWarning"&&w!=="autoFocus"&&(l.hasOwnProperty(w)?Q!=null&&w==="onScroll"&&Tn("scroll",a):Q!=null&&V(a,w,Q,k))}switch(f){case"input":tt(a),sn(a,m,!1);break;case"textarea":tt(a),Tr(a);break;case"option":m.value!=null&&a.setAttribute("value",""+we(m.value));break;case"select":a.multiple=!!m.multiple,w=m.value,w!=null?Cn(a,!!m.multiple,w,!1):m.defaultValue!=null&&Cn(a,!!m.multiple,m.defaultValue,!0);break;default:typeof S.onClick=="function"&&(a.onclick=ld)}switch(f){case"button":case"input":case"select":case"textarea":m=!!m.autoFocus;break e;case"img":m=!0;break e;default:m=!1}}m&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return qr(o),null;case 6:if(a&&o.stateNode!=null)gi(a,o,a.memoizedProps,m);else{if(typeof m!="string"&&o.stateNode===null)throw Error(i(166));if(f=js(Qc.current),js(lo.current),vd(o)){if(m=o.stateNode,f=o.memoizedProps,m[ui]=o,(w=m.nodeValue!==f)&&(a=Xa,a!==null))switch(a.tag){case 3:Uc(m.nodeValue,f,(a.mode&1)!==0);break;case 5:a.memoizedProps.suppressHydrationWarning!==!0&&Uc(m.nodeValue,f,(a.mode&1)!==0)}w&&(o.flags|=4)}else m=(f.nodeType===9?f:f.ownerDocument).createTextNode(m),m[ui]=o,o.stateNode=m}return qr(o),null;case 13:if(st(ut),m=o.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(Bn&&Ya!==null&&o.mode&1&&!(o.flags&128))pg(),bu(),o.flags|=98560,w=!1;else if(w=vd(o),m!==null&&m.dehydrated!==null){if(a===null){if(!w)throw Error(i(318));if(w=o.memoizedState,w=w!==null?w.dehydrated:null,!w)throw Error(i(317));w[ui]=o}else bu(),!(o.flags&128)&&(o.memoizedState=null),o.flags|=4;qr(o),w=!1}else pi!==null&&(Yv(pi),pi=null),w=!0;if(!w)return o.flags&65536?o:null}return o.flags&128?(o.lanes=f,o):(m=m!==null,m!==(a!==null&&a.memoizedState!==null)&&m&&(o.child.flags|=8192,o.mode&1&&(a===null||ut.current&1?Cr===0&&(Cr=3):hf())),o.updateQueue!==null&&(o.flags|=4),qr(o),null);case 4:return Tu(),Au(a,o),a===null&&ro(o.stateNode.containerInfo),qr(o),null;case 10:return Ov(o.type._context),qr(o),null;case 17:return vr(o.type)&&wa(),qr(o),null;case 19:if(st(ut),w=o.memoizedState,w===null)return qr(o),null;if(m=(o.flags&128)!==0,k=w.rendering,k===null)if(m)tr(w,!1);else{if(Cr!==0||a!==null&&a.flags&128)for(a=o.child;a!==null;){if(k=Qt(a),k!==null){for(o.flags|=128,tr(w,!1),m=k.updateQueue,m!==null&&(o.updateQueue=m,o.flags|=4),o.subtreeFlags=0,m=f,f=o.child;f!==null;)w=f,a=m,w.flags&=14680066,k=w.alternate,k===null?(w.childLanes=0,w.lanes=a,w.child=null,w.subtreeFlags=0,w.memoizedProps=null,w.memoizedState=null,w.updateQueue=null,w.dependencies=null,w.stateNode=null):(w.childLanes=k.childLanes,w.lanes=k.lanes,w.child=k.child,w.subtreeFlags=0,w.deletions=null,w.memoizedProps=k.memoizedProps,w.memoizedState=k.memoizedState,w.updateQueue=k.updateQueue,w.type=k.type,a=k.dependencies,w.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),f=f.sibling;return tn(ut,ut.current&1|2),o.child}a=a.sibling}w.tail!==null&&Dn()>Hu&&(o.flags|=128,m=!0,tr(w,!1),o.lanes=4194304)}else{if(!m)if(a=Qt(k),a!==null){if(o.flags|=128,m=!0,f=a.updateQueue,f!==null&&(o.updateQueue=f,o.flags|=4),tr(w,!0),w.tail===null&&w.tailMode==="hidden"&&!k.alternate&&!Bn)return qr(o),null}else 2*Dn()-w.renderingStartTime>Hu&&f!==1073741824&&(o.flags|=128,m=!0,tr(w,!1),o.lanes=4194304);w.isBackwards?(k.sibling=o.child,o.child=k):(f=w.last,f!==null?f.sibling=k:o.child=k,w.last=k)}return w.tail!==null?(o=w.tail,w.rendering=o,w.tail=o.sibling,w.renderingStartTime=Dn(),o.sibling=null,f=ut.current,tn(ut,m?f&1|2:f&1),o):(qr(o),null);case 22:case 23:return Xd(),m=o.memoizedState!==null,a!==null&&a.memoizedState!==null!==m&&(o.flags|=8192),m&&o.mode&1?Da&1073741824&&(qr(o),o.subtreeFlags&6&&(o.flags|=8192)):qr(o),null;case 24:return null;case 25:return null}throw Error(i(156,o.tag))}function hC(a,o){switch(dd(o),o.tag){case 1:return vr(o.type)&&wa(),a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 3:return Tu(),st(Ot),st(Nr),hi(),a=o.flags,a&65536&&!(a&128)?(o.flags=a&-65537|128,o):null;case 5:return mt(o),null;case 13:if(st(ut),a=o.memoizedState,a!==null&&a.dehydrated!==null){if(o.alternate===null)throw Error(i(340));bu()}return a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 19:return st(ut),null;case 4:return Tu(),null;case 10:return Ov(o.type._context),null;case 22:case 23:return Xd(),null;case 24:return null;default:return null}}var Du=!1,Fr=!1,Pd=typeof WeakSet=="function"?WeakSet:Set,Ke=null;function ku(a,o){var f=a.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(m){rr(a,o,m)}else f.current=null}function Hv(a,o,f){try{f()}catch(m){rr(a,o,m)}}var Fd=!1;function mC(a,o){if(bv=uu,a=Km(),Pc(a)){if("selectionStart"in a)var f={start:a.selectionStart,end:a.selectionEnd};else e:{f=(f=a.ownerDocument)&&f.defaultView||window;var m=f.getSelection&&f.getSelection();if(m&&m.rangeCount!==0){f=m.anchorNode;var S=m.anchorOffset,w=m.focusNode;m=m.focusOffset;try{f.nodeType,w.nodeType}catch{f=null;break e}var k=0,W=-1,Q=-1,pe=0,Me=0,Pe=a,De=null;t:for(;;){for(var Ye;Pe!==f||S!==0&&Pe.nodeType!==3||(W=k+S),Pe!==w||m!==0&&Pe.nodeType!==3||(Q=k+m),Pe.nodeType===3&&(k+=Pe.nodeValue.length),(Ye=Pe.firstChild)!==null;)De=Pe,Pe=Ye;for(;;){if(Pe===a)break t;if(De===f&&++pe===S&&(W=k),De===w&&++Me===m&&(Q=k),(Ye=Pe.nextSibling)!==null)break;Pe=De,De=Pe.parentNode}Pe=Ye}f=W===-1||Q===-1?null:{start:W,end:Q}}else f=null}f=f||{start:0,end:0}}else f=null;for(Cv={focusedElem:a,selectionRange:f},uu=!1,Ke=o;Ke!==null;)if(o=Ke,a=o.child,(o.subtreeFlags&1028)!==0&&a!==null)a.return=o,Ke=a;else for(;Ke!==null;){o=Ke;try{var nt=o.alternate;if(o.flags&1024)switch(o.tag){case 0:case 11:case 15:break;case 1:if(nt!==null){var ot=nt.memoizedProps,cr=nt.memoizedState,ae=o.stateNode,ee=ae.getSnapshotBeforeUpdate(o.elementType===o.type?ot:Na(o.type,ot),cr);ae.__reactInternalSnapshotBeforeUpdate=ee}break;case 3:var se=o.stateNode.containerInfo;se.nodeType===1?se.textContent="":se.nodeType===9&&se.documentElement&&se.removeChild(se.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(ze){rr(o,o.return,ze)}if(a=o.sibling,a!==null){a.return=o.return,Ke=a;break}Ke=o.return}return nt=Fd,Fd=!1,nt}function Mu(a,o,f){var m=o.updateQueue;if(m=m!==null?m.lastEffect:null,m!==null){var S=m=m.next;do{if((S.tag&a)===a){var w=S.destroy;S.destroy=void 0,w!==void 0&&Hv(o,f,w)}S=S.next}while(S!==m)}}function Vd(a,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var f=o=o.next;do{if((f.tag&a)===a){var m=f.create;f.destroy=m()}f=f.next}while(f!==o)}}function Bd(a){var o=a.ref;if(o!==null){var f=a.stateNode;switch(a.tag){case 5:a=f;break;default:a=f}typeof o=="function"?o(a):o.current=a}}function jg(a){var o=a.alternate;o!==null&&(a.alternate=null,jg(o)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(o=a.stateNode,o!==null&&(delete o[ui],delete o[Xc],delete o[wv],delete o[sC],delete o[lC])),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}function Uv(a){return a.tag===5||a.tag===3||a.tag===4}function Dg(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||Uv(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function ff(a,o,f){var m=a.tag;if(m===5||m===6)a=a.stateNode,o?f.nodeType===8?f.parentNode.insertBefore(a,o):f.insertBefore(a,o):(f.nodeType===8?(o=f.parentNode,o.insertBefore(a,f)):(o=f,o.appendChild(a)),f=f._reactRootContainer,f!=null||o.onclick!==null||(o.onclick=ld));else if(m!==4&&(a=a.child,a!==null))for(ff(a,o,f),a=a.sibling;a!==null;)ff(a,o,f),a=a.sibling}function Lu(a,o,f){var m=a.tag;if(m===5||m===6)a=a.stateNode,o?f.insertBefore(a,o):f.appendChild(a);else if(m!==4&&(a=a.child,a!==null))for(Lu(a,o,f),a=a.sibling;a!==null;)Lu(a,o,f),a=a.sibling}var Un=null,_r=!1;function ia(a,o,f){for(f=f.child;f!==null;)Pu(a,o,f),f=f.sibling}function Pu(a,o,f){if(Ca&&typeof Ca.onCommitFiberUnmount=="function")try{Ca.onCommitFiberUnmount(hs,f)}catch{}switch(f.tag){case 5:Fr||ku(f,o);case 6:var m=Un,S=_r;Un=null,ia(a,o,f),Un=m,_r=S,Un!==null&&(_r?(a=Un,f=f.stateNode,a.nodeType===8?a.parentNode.removeChild(f):a.removeChild(f)):Un.removeChild(f.stateNode));break;case 18:Un!==null&&(_r?(a=Un,f=f.stateNode,a.nodeType===8?Ev(a.parentNode,f):a.nodeType===1&&Ev(a,f),li(a)):Ev(Un,f.stateNode));break;case 4:m=Un,S=_r,Un=f.stateNode.containerInfo,_r=!0,ia(a,o,f),Un=m,_r=S;break;case 0:case 11:case 14:case 15:if(!Fr&&(m=f.updateQueue,m!==null&&(m=m.lastEffect,m!==null))){S=m=m.next;do{var w=S,k=w.destroy;w=w.tag,k!==void 0&&(w&2||w&4)&&Hv(f,o,k),S=S.next}while(S!==m)}ia(a,o,f);break;case 1:if(!Fr&&(ku(f,o),m=f.stateNode,typeof m.componentWillUnmount=="function"))try{m.props=f.memoizedProps,m.state=f.memoizedState,m.componentWillUnmount()}catch(W){rr(f,o,W)}ia(a,o,f);break;case 21:ia(a,o,f);break;case 22:f.mode&1?(Fr=(m=Fr)||f.memoizedState!==null,ia(a,o,f),Fr=m):ia(a,o,f);break;default:ia(a,o,f)}}function Fu(a){var o=a.updateQueue;if(o!==null){a.updateQueue=null;var f=a.stateNode;f===null&&(f=a.stateNode=new Pd),o.forEach(function(m){var S=EC.bind(null,a,m);f.has(m)||(f.add(m),m.then(S,S))})}}function Or(a,o){var f=o.deletions;if(f!==null)for(var m=0;m<f.length;m++){var S=f[m];try{var w=a,k=o,W=k;e:for(;W!==null;){switch(W.tag){case 5:Un=W.stateNode,_r=!1;break e;case 3:Un=W.stateNode.containerInfo,_r=!0;break e;case 4:Un=W.stateNode.containerInfo,_r=!0;break e}W=W.return}if(Un===null)throw Error(i(160));Pu(w,k,S),Un=null,_r=!1;var Q=S.alternate;Q!==null&&(Q.return=null),S.return=null}catch(pe){rr(S,o,pe)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)kg(o,a),o=o.sibling}function kg(a,o){var f=a.alternate,m=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:if(Or(o,a),fo(a),m&4){try{Mu(3,a,a.return),Vd(3,a)}catch(ot){rr(a,a.return,ot)}try{Mu(5,a,a.return)}catch(ot){rr(a,a.return,ot)}}break;case 1:Or(o,a),fo(a),m&512&&f!==null&&ku(f,f.return);break;case 5:if(Or(o,a),fo(a),m&512&&f!==null&&ku(f,f.return),a.flags&32){var S=a.stateNode;try{za(S,"")}catch(ot){rr(a,a.return,ot)}}if(m&4&&(S=a.stateNode,S!=null)){var w=a.memoizedProps,k=f!==null?f.memoizedProps:w,W=a.type,Q=a.updateQueue;if(a.updateQueue=null,Q!==null)try{W==="input"&&w.type==="radio"&&w.name!=null&&Kt(S,w),ar(W,k);var pe=ar(W,w);for(k=0;k<Q.length;k+=2){var Me=Q[k],Pe=Q[k+1];Me==="style"?Mt(S,Pe):Me==="dangerouslySetInnerHTML"?Ba(S,Pe):Me==="children"?za(S,Pe):V(S,Me,Pe,pe)}switch(W){case"input":on(S,w);break;case"textarea":$n(S,w);break;case"select":var De=S._wrapperState.wasMultiple;S._wrapperState.wasMultiple=!!w.multiple;var Ye=w.value;Ye!=null?Cn(S,!!w.multiple,Ye,!1):De!==!!w.multiple&&(w.defaultValue!=null?Cn(S,!!w.multiple,w.defaultValue,!0):Cn(S,!!w.multiple,w.multiple?[]:"",!1))}S[Xc]=w}catch(ot){rr(a,a.return,ot)}}break;case 6:if(Or(o,a),fo(a),m&4){if(a.stateNode===null)throw Error(i(162));S=a.stateNode,w=a.memoizedProps;try{S.nodeValue=w}catch(ot){rr(a,a.return,ot)}}break;case 3:if(Or(o,a),fo(a),m&4&&f!==null&&f.memoizedState.isDehydrated)try{li(o.containerInfo)}catch(ot){rr(a,a.return,ot)}break;case 4:Or(o,a),fo(a);break;case 13:Or(o,a),fo(a),S=a.child,S.flags&8192&&(w=S.memoizedState!==null,S.stateNode.isHidden=w,!w||S.alternate!==null&&S.alternate.memoizedState!==null||(Hd=Dn())),m&4&&Fu(a);break;case 22:if(Me=f!==null&&f.memoizedState!==null,a.mode&1?(Fr=(pe=Fr)||Me,Or(o,a),Fr=pe):Or(o,a),fo(a),m&8192){if(pe=a.memoizedState!==null,(a.stateNode.isHidden=pe)&&!Me&&a.mode&1)for(Ke=a,Me=a.child;Me!==null;){for(Pe=Ke=Me;Ke!==null;){switch(De=Ke,Ye=De.child,De.tag){case 0:case 11:case 14:case 15:Mu(4,De,De.return);break;case 1:ku(De,De.return);var nt=De.stateNode;if(typeof nt.componentWillUnmount=="function"){m=De,f=De.return;try{o=m,nt.props=o.memoizedProps,nt.state=o.memoizedState,nt.componentWillUnmount()}catch(ot){rr(m,f,ot)}}break;case 5:ku(De,De.return);break;case 22:if(De.memoizedState!==null){Mg(Pe);continue}}Ye!==null?(Ye.return=De,Ke=Ye):Mg(Pe)}Me=Me.sibling}e:for(Me=null,Pe=a;;){if(Pe.tag===5){if(Me===null){Me=Pe;try{S=Pe.stateNode,pe?(w=S.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none"):(W=Pe.stateNode,Q=Pe.memoizedProps.style,k=Q!=null&&Q.hasOwnProperty("display")?Q.display:null,W.style.display=dt("display",k))}catch(ot){rr(a,a.return,ot)}}}else if(Pe.tag===6){if(Me===null)try{Pe.stateNode.nodeValue=pe?"":Pe.memoizedProps}catch(ot){rr(a,a.return,ot)}}else if((Pe.tag!==22&&Pe.tag!==23||Pe.memoizedState===null||Pe===a)&&Pe.child!==null){Pe.child.return=Pe,Pe=Pe.child;continue}if(Pe===a)break e;for(;Pe.sibling===null;){if(Pe.return===null||Pe.return===a)break e;Me===Pe&&(Me=null),Pe=Pe.return}Me===Pe&&(Me=null),Pe.sibling.return=Pe.return,Pe=Pe.sibling}}break;case 19:Or(o,a),fo(a),m&4&&Fu(a);break;case 21:break;default:Or(o,a),fo(a)}}function fo(a){var o=a.flags;if(o&2){try{e:{for(var f=a.return;f!==null;){if(Uv(f)){var m=f;break e}f=f.return}throw Error(i(160))}switch(m.tag){case 5:var S=m.stateNode;m.flags&32&&(za(S,""),m.flags&=-33);var w=Dg(a);Lu(a,w,S);break;case 3:case 4:var k=m.stateNode.containerInfo,W=Dg(a);ff(a,W,k);break;default:throw Error(i(161))}}catch(Q){rr(a,a.return,Q)}a.flags&=-3}o&4096&&(a.flags&=-4097)}function gC(a,o,f){Ke=a,$v(a)}function $v(a,o,f){for(var m=(a.mode&1)!==0;Ke!==null;){var S=Ke,w=S.child;if(S.tag===22&&m){var k=S.memoizedState!==null||Du;if(!k){var W=S.alternate,Q=W!==null&&W.memoizedState!==null||Fr;W=Du;var pe=Fr;if(Du=k,(Fr=Q)&&!pe)for(Ke=S;Ke!==null;)k=Ke,Q=k.child,k.tag===22&&k.memoizedState!==null?Gv(S):Q!==null?(Q.return=k,Ke=Q):Gv(S);for(;w!==null;)Ke=w,$v(w),w=w.sibling;Ke=S,Du=W,Fr=pe}Vu(a)}else S.subtreeFlags&8772&&w!==null?(w.return=S,Ke=w):Vu(a)}}function Vu(a){for(;Ke!==null;){var o=Ke;if(o.flags&8772){var f=o.alternate;try{if(o.flags&8772)switch(o.tag){case 0:case 11:case 15:Fr||Vd(5,o);break;case 1:var m=o.stateNode;if(o.flags&4&&!Fr)if(f===null)m.componentDidMount();else{var S=o.elementType===o.type?f.memoizedProps:Na(o.type,f.memoizedProps);m.componentDidUpdate(S,f.memoizedState,m.__reactInternalSnapshotBeforeUpdate)}var w=o.updateQueue;w!==null&&Su(o,w,m);break;case 3:var k=o.updateQueue;if(k!==null){if(f=null,o.child!==null)switch(o.child.tag){case 5:f=o.child.stateNode;break;case 1:f=o.child.stateNode}Su(o,k,f)}break;case 5:var W=o.stateNode;if(f===null&&o.flags&4){f=W;var Q=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":Q.autoFocus&&f.focus();break;case"img":Q.src&&(f.src=Q.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var pe=o.alternate;if(pe!==null){var Me=pe.memoizedState;if(Me!==null){var Pe=Me.dehydrated;Pe!==null&&li(Pe)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}Fr||o.flags&512&&Bd(o)}catch(De){rr(o,o.return,De)}}if(o===a){Ke=null;break}if(f=o.sibling,f!==null){f.return=o.return,Ke=f;break}Ke=o.return}}function Mg(a){for(;Ke!==null;){var o=Ke;if(o===a){Ke=null;break}var f=o.sibling;if(f!==null){f.return=o.return,Ke=f;break}Ke=o.return}}function Gv(a){for(;Ke!==null;){var o=Ke;try{switch(o.tag){case 0:case 11:case 15:var f=o.return;try{Vd(4,o)}catch(Q){rr(o,f,Q)}break;case 1:var m=o.stateNode;if(typeof m.componentDidMount=="function"){var S=o.return;try{m.componentDidMount()}catch(Q){rr(o,S,Q)}}var w=o.return;try{Bd(o)}catch(Q){rr(o,w,Q)}break;case 5:var k=o.return;try{Bd(o)}catch(Q){rr(o,k,Q)}}}catch(Q){rr(o,o.return,Q)}if(o===a){Ke=null;break}var W=o.sibling;if(W!==null){W.return=o.return,Ke=W;break}Ke=o.return}}var yC=Math.ceil,_l=H.ReactCurrentDispatcher,zd=H.ReactCurrentOwner,yi=H.ReactCurrentBatchConfig,zt=0,nr=null,zn=null,br=0,Da=0,Bu=In(0),Cr=0,df=null,Ol=0,zu=0,Wv=0,Ps=null,Qr=null,Hd=0,Hu=1/0,Wo=null,Ud=!1,Xv=null,bi=null,Uu=!1,Ci=null,$d=0,pf=0,Gd=null,vf=-1,Al=0;function Ar(){return zt&6?Dn():vf!==-1?vf:vf=Dn()}function Xo(a){return a.mode&1?zt&2&&br!==0?br&-br:uC.transition!==null?(Al===0&&(Al=sl()),Al):(a=Ut,a!==0||(a=window.event,a=a===void 0?16:_c(a.type)),a):1}function Zn(a,o,f,m){if(50<pf)throw pf=0,Gd=null,Error(i(185));gs(a,f,m),(!(zt&2)||a!==nr)&&(a===nr&&(!(zt&2)&&(zu|=f),Cr===4&&po(a,br)),xr(a,m),f===1&&zt===0&&!(o.mode&1)&&(Hu=Dn()+500,Ts&&oo()))}function xr(a,o){var f=a.callbackNode;ms(a,o);var m=eo(a,a===nr?br:0);if(m===0)f!==null&&jn(f),a.callbackNode=null,a.callbackPriority=0;else if(o=m&-m,a.callbackPriority!==o){if(f!=null&&jn(f),o===1)a.tag===0?dg($u.bind(null,a)):cd($u.bind(null,a)),cg(function(){!(zt&6)&&oo()}),f=null;else{switch(Tc(m)){case 1:f=bc;break;case 4:f=Ki;break;case 16:f=Lt;break;case 536870912:f=_o;break;default:f=Lt}f=Ug(f,Wd.bind(null,a))}a.callbackPriority=o,a.callbackNode=f}}function Wd(a,o){if(vf=-1,Al=0,zt&6)throw Error(i(327));var f=a.callbackNode;if(Gu()&&a.callbackNode!==f)return null;var m=eo(a,a===nr?br:0);if(m===0)return null;if(m&30||m&a.expiredLanes||o)o=Yd(a,m);else{o=m;var S=zt;zt|=2;var w=Pg();(nr!==a||br!==o)&&(Wo=null,Hu=Dn()+500,Dl(a,o));do try{CC();break}catch(W){Lg(a,W)}while(!0);_v(),_l.current=w,zt=S,zn!==null?o=0:(nr=null,br=0,o=Cr)}if(o!==0){if(o===2&&(S=to(a),S!==0&&(m=S,o=jl(a,S))),o===1)throw f=df,Dl(a,0),po(a,m),xr(a,Dn()),f;if(o===6)po(a,m);else{if(S=a.current.alternate,!(m&30)&&!Zv(S)&&(o=Yd(a,m),o===2&&(w=to(a),w!==0&&(m=w,o=jl(a,w))),o===1))throw f=df,Dl(a,0),po(a,m),xr(a,Dn()),f;switch(a.finishedWork=S,a.finishedLanes=m,o){case 0:case 1:throw Error(i(345));case 2:Fs(a,Qr,Wo);break;case 3:if(po(a,m),(m&130023424)===m&&(o=Hd+500-Dn(),10<o)){if(eo(a,0)!==0)break;if(S=a.suspendedLanes,(S&m)!==m){Ar(),a.pingedLanes|=a.suspendedLanes&S;break}a.timeoutHandle=$c(Fs.bind(null,a,Qr,Wo),o);break}Fs(a,Qr,Wo);break;case 4:if(po(a,m),(m&4194240)===m)break;for(o=a.eventTimes,S=-1;0<m;){var k=31-ra(m);w=1<<k,k=o[k],k>S&&(S=k),m&=~w}if(m=S,m=Dn()-m,m=(120>m?120:480>m?480:1080>m?1080:1920>m?1920:3e3>m?3e3:4320>m?4320:1960*yC(m/1960))-m,10<m){a.timeoutHandle=$c(Fs.bind(null,a,Qr,Wo),m);break}Fs(a,Qr,Wo);break;case 5:Fs(a,Qr,Wo);break;default:throw Error(i(329))}}}return xr(a,Dn()),a.callbackNode===f?Wd.bind(null,a):null}function jl(a,o){var f=Ps;return a.current.memoizedState.isDehydrated&&(Dl(a,o).flags|=256),a=Yd(a,o),a!==2&&(o=Qr,Qr=f,o!==null&&Yv(o)),a}function Yv(a){Qr===null?Qr=a:Qr.push.apply(Qr,a)}function Zv(a){for(var o=a;;){if(o.flags&16384){var f=o.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var m=0;m<f.length;m++){var S=f[m],w=S.getSnapshot;S=S.value;try{if(!Bi(w(),S))return!1}catch{return!1}}}if(f=o.child,o.subtreeFlags&16384&&f!==null)f.return=o,o=f;else{if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function po(a,o){for(o&=~Wv,o&=~zu,a.suspendedLanes|=o,a.pingedLanes&=~o,a=a.expirationTimes;0<o;){var f=31-ra(o),m=1<<f;a[f]=-1,o&=~m}}function $u(a){if(zt&6)throw Error(i(327));Gu();var o=eo(a,0);if(!(o&1))return xr(a,Dn()),null;var f=Yd(a,o);if(a.tag!==0&&f===2){var m=to(a);m!==0&&(o=m,f=jl(a,m))}if(f===1)throw f=df,Dl(a,0),po(a,o),xr(a,Dn()),f;if(f===6)throw Error(i(345));return a.finishedWork=a.current.alternate,a.finishedLanes=o,Fs(a,Qr,Wo),xr(a,Dn()),null}function Jv(a,o){var f=zt;zt|=1;try{return a(o)}finally{zt=f,zt===0&&(Hu=Dn()+500,Ts&&oo())}}function vo(a){Ci!==null&&Ci.tag===0&&!(zt&6)&&Gu();var o=zt;zt|=1;var f=yi.transition,m=Ut;try{if(yi.transition=null,Ut=1,a)return a()}finally{Ut=m,yi.transition=f,zt=o,!(zt&6)&&oo()}}function Xd(){Da=Bu.current,st(Bu)}function Dl(a,o){a.finishedWork=null,a.finishedLanes=0;var f=a.timeoutHandle;if(f!==-1&&(a.timeoutHandle=-1,Gc(f)),zn!==null)for(f=zn.return;f!==null;){var m=f;switch(dd(m),m.tag){case 1:m=m.type.childContextTypes,m!=null&&wa();break;case 3:Tu(),st(Ot),st(Nr),hi();break;case 5:mt(m);break;case 4:Tu();break;case 13:st(ut);break;case 19:st(ut);break;case 10:Ov(m.type._context);break;case 22:case 23:Xd()}f=f.return}if(nr=a,zn=a=Vs(a.current,null),br=Da=o,Cr=0,df=null,Wv=zu=Ol=0,Qr=Ps=null,Jr!==null){for(o=0;o<Jr.length;o++)if(f=Jr[o],m=f.interleaved,m!==null){f.interleaved=null;var S=m.next,w=f.pending;if(w!==null){var k=w.next;w.next=S,m.next=k}f.pending=m}Jr=null}return a}function Lg(a,o){do{var f=zn;try{if(_v(),Kc.current=Ad,sr){for(var m=Yn.memoizedState;m!==null;){var S=m.queue;S!==null&&(S.pending=null),m=m.next}sr=!1}if(Cl=0,Ee=or=Yn=null,bt=!1,uo=0,zd.current=null,f===null||f.return===null){Cr=1,df=o,zn=null;break}e:{var w=a,k=f.return,W=f,Q=o;if(o=br,W.flags|=32768,Q!==null&&typeof Q=="object"&&typeof Q.then=="function"){var pe=Q,Me=W,Pe=Me.tag;if(!(Me.mode&1)&&(Pe===0||Pe===11||Pe===15)){var De=Me.alternate;De?(Me.updateQueue=De.updateQueue,Me.memoizedState=De.memoizedState,Me.lanes=De.lanes):(Me.updateQueue=null,Me.memoizedState=null)}var Ye=Ig(k);if(Ye!==null){Ye.flags&=-257,Vv(Ye,k,W,w,o),Ye.mode&1&&sf(w,pe,o),o=Ye,Q=pe;var nt=o.updateQueue;if(nt===null){var ot=new Set;ot.add(Q),o.updateQueue=ot}else nt.add(Q);break e}else{if(!(o&1)){sf(w,pe,o),hf();break e}Q=Error(i(426))}}else if(Bn&&W.mode&1){var cr=Ig(k);if(cr!==null){!(cr.flags&65536)&&(cr.flags|=256),Vv(cr,k,W,w,o),hr(Ms(Q,W));break e}}w=Q=Ms(Q,W),Cr!==4&&(Cr=2),Ps===null?Ps=[w]:Ps.push(w),w=k;do{switch(w.tag){case 3:w.flags|=65536,o&=-o,w.lanes|=o;var ae=Rg(w,Q,o);mg(w,ae);break e;case 1:W=Q;var ee=w.type,se=w.stateNode;if(!(w.flags&128)&&(typeof ee.getDerivedStateFromError=="function"||se!==null&&typeof se.componentDidCatch=="function"&&(bi===null||!bi.has(se)))){w.flags|=65536,o&=-o,w.lanes|=o;var ze=Tg(w,W,o);mg(w,ze);break e}}w=w.return}while(w!==null)}Vg(f)}catch(lt){o=lt,zn===f&&f!==null&&(zn=f=f.return);continue}break}while(!0)}function Pg(){var a=_l.current;return _l.current=Ad,a===null?Ad:a}function hf(){(Cr===0||Cr===3||Cr===2)&&(Cr=4),nr===null||!(Ol&268435455)&&!(zu&268435455)||po(nr,br)}function Yd(a,o){var f=zt;zt|=2;var m=Pg();(nr!==a||br!==o)&&(Wo=null,Dl(a,o));do try{bC();break}catch(S){Lg(a,S)}while(!0);if(_v(),zt=f,_l.current=m,zn!==null)throw Error(i(261));return nr=null,br=0,Cr}function bC(){for(;zn!==null;)Fg(zn)}function CC(){for(;zn!==null&&!Yr();)Fg(zn)}function Fg(a){var o=Hg(a.alternate,a,Da);a.memoizedProps=a.pendingProps,o===null?Vg(a):zn=o,zd.current=null}function Vg(a){var o=a;do{var f=o.alternate;if(a=o.return,o.flags&32768){if(f=hC(f,o),f!==null){f.flags&=32767,zn=f;return}if(a!==null)a.flags|=32768,a.subtreeFlags=0,a.deletions=null;else{Cr=6,zn=null;return}}else if(f=vC(f,o,Da),f!==null){zn=f;return}if(o=o.sibling,o!==null){zn=o;return}zn=o=a}while(o!==null);Cr===0&&(Cr=5)}function Fs(a,o,f){var m=Ut,S=yi.transition;try{yi.transition=null,Ut=1,xC(a,o,f,m)}finally{yi.transition=S,Ut=m}return null}function xC(a,o,f,m){do Gu();while(Ci!==null);if(zt&6)throw Error(i(327));f=a.finishedWork;var S=a.finishedLanes;if(f===null)return null;if(a.finishedWork=null,a.finishedLanes=0,f===a.current)throw Error(i(177));a.callbackNode=null,a.callbackPriority=0;var w=f.lanes|f.childLanes;if(wc(a,w),a===nr&&(zn=nr=null,br=0),!(f.subtreeFlags&2064)&&!(f.flags&2064)||Uu||(Uu=!0,Ug(Lt,function(){return Gu(),null})),w=(f.flags&15990)!==0,f.subtreeFlags&15990||w){w=yi.transition,yi.transition=null;var k=Ut;Ut=1;var W=zt;zt|=4,zd.current=null,mC(a,f),kg(f,a),dl(Cv),uu=!!bv,Cv=bv=null,a.current=f,gC(f),Qi(),zt=W,Ut=k,yi.transition=w}else a.current=f;if(Uu&&(Uu=!1,Ci=a,$d=S),w=a.pendingLanes,w===0&&(bi=null),Cc(f.stateNode),xr(a,Dn()),o!==null)for(m=a.onRecoverableError,f=0;f<o.length;f++)S=o[f],m(S.value,{componentStack:S.stack,digest:S.digest});if(Ud)throw Ud=!1,a=Xv,Xv=null,a;return $d&1&&a.tag!==0&&Gu(),w=a.pendingLanes,w&1?a===Gd?pf++:(pf=0,Gd=a):pf=0,oo(),null}function Gu(){if(Ci!==null){var a=Tc($d),o=yi.transition,f=Ut;try{if(yi.transition=null,Ut=16>a?16:a,Ci===null)var m=!1;else{if(a=Ci,Ci=null,$d=0,zt&6)throw Error(i(331));var S=zt;for(zt|=4,Ke=a.current;Ke!==null;){var w=Ke,k=w.child;if(Ke.flags&16){var W=w.deletions;if(W!==null){for(var Q=0;Q<W.length;Q++){var pe=W[Q];for(Ke=pe;Ke!==null;){var Me=Ke;switch(Me.tag){case 0:case 11:case 15:Mu(8,Me,w)}var Pe=Me.child;if(Pe!==null)Pe.return=Me,Ke=Pe;else for(;Ke!==null;){Me=Ke;var De=Me.sibling,Ye=Me.return;if(jg(Me),Me===pe){Ke=null;break}if(De!==null){De.return=Ye,Ke=De;break}Ke=Ye}}}var nt=w.alternate;if(nt!==null){var ot=nt.child;if(ot!==null){nt.child=null;do{var cr=ot.sibling;ot.sibling=null,ot=cr}while(ot!==null)}}Ke=w}}if(w.subtreeFlags&2064&&k!==null)k.return=w,Ke=k;else e:for(;Ke!==null;){if(w=Ke,w.flags&2048)switch(w.tag){case 0:case 11:case 15:Mu(9,w,w.return)}var ae=w.sibling;if(ae!==null){ae.return=w.return,Ke=ae;break e}Ke=w.return}}var ee=a.current;for(Ke=ee;Ke!==null;){k=Ke;var se=k.child;if(k.subtreeFlags&2064&&se!==null)se.return=k,Ke=se;else e:for(k=ee;Ke!==null;){if(W=Ke,W.flags&2048)try{switch(W.tag){case 0:case 11:case 15:Vd(9,W)}}catch(lt){rr(W,W.return,lt)}if(W===k){Ke=null;break e}var ze=W.sibling;if(ze!==null){ze.return=W.return,Ke=ze;break e}Ke=W.return}}if(zt=S,oo(),Ca&&typeof Ca.onPostCommitFiberRoot=="function")try{Ca.onPostCommitFiberRoot(hs,a)}catch{}m=!0}return m}finally{Ut=f,yi.transition=o}}return!1}function Bg(a,o,f){o=Ms(f,o),o=Rg(a,o,1),a=As(a,o,1),o=Ar(),a!==null&&(gs(a,1,o),xr(a,o))}function rr(a,o,f){if(a.tag===3)Bg(a,a,f);else for(;o!==null;){if(o.tag===3){Bg(o,a,f);break}else if(o.tag===1){var m=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(bi===null||!bi.has(m))){a=Ms(f,a),a=Tg(o,a,1),o=As(o,a,1),a=Ar(),o!==null&&(gs(o,1,a),xr(o,a));break}}o=o.return}}function SC(a,o,f){var m=a.pingCache;m!==null&&m.delete(o),o=Ar(),a.pingedLanes|=a.suspendedLanes&f,nr===a&&(br&f)===f&&(Cr===4||Cr===3&&(br&130023424)===br&&500>Dn()-Hd?Dl(a,0):Wv|=f),xr(a,o)}function zg(a,o){o===0&&(a.mode&1?(o=iu,iu<<=1,!(iu&130023424)&&(iu=4194304)):o=1);var f=Ar();a=Uo(a,o),a!==null&&(gs(a,o,f),xr(a,f))}function qv(a){var o=a.memoizedState,f=0;o!==null&&(f=o.retryLane),zg(a,f)}function EC(a,o){var f=0;switch(a.tag){case 13:var m=a.stateNode,S=a.memoizedState;S!==null&&(f=S.retryLane);break;case 19:m=a.stateNode;break;default:throw Error(i(314))}m!==null&&m.delete(o),zg(a,f)}var Hg;Hg=function(a,o,f){if(a!==null)if(a.memoizedProps!==o.pendingProps||Ot.current)Aa=!0;else{if(!(a.lanes&f)&&!(o.flags&128))return Aa=!1,Go(a,o,f);Aa=!!(a.flags&131072)}else Aa=!1,Bn&&o.flags&1048576&&Ns(o,gl,o.index);switch(o.lanes=0,o.tag){case 2:var m=o.type;cf(a,o),a=o.pendingProps;var S=Wa(o,Nr.current);ir(o,f),S=xl(null,o,m,a,S,f);var w=Ds();return o.flags|=1,typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,vr(m)?(w=!0,ml(o)):w=!1,o.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,Av(o),S.updater=md,o.stateNode=S,S._reactInternals=o,Dv(o,m,a,f),o=Dd(null,o,m,!0,w,f)):(o.tag=0,Bn&&w&&fd(o),lr(null,o,S,f),o=o.child),o;case 16:m=o.elementType;e:{switch(cf(a,o),a=o.pendingProps,S=m._init,m=S(m._payload),o.type=m,S=o.tag=wC(m),a=Na(m,a),S){case 0:o=Dt(null,o,m,a,f);break e;case 1:o=lf(null,o,m,a,f);break e;case 11:o=Ou(null,o,m,a,f);break e;case 14:o=Ls(null,o,m,Na(m.type,a),f);break e}throw Error(i(306,m,""))}return o;case 0:return m=o.type,S=o.pendingProps,S=o.elementType===m?S:Na(m,S),Dt(a,o,m,S,f);case 1:return m=o.type,S=o.pendingProps,S=o.elementType===m?S:Na(m,S),lf(a,o,m,S,f);case 3:e:{if(pC(o),a===null)throw Error(i(387));m=o.pendingProps,w=o.memoizedState,S=w.element,hg(a,o),Zc(o,m,null,f);var k=o.memoizedState;if(m=k.element,w.isDehydrated)if(w={element:m,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},o.updateQueue.baseState=w,o.memoizedState=w,o.flags&256){S=Ms(Error(i(423)),o),o=_g(a,o,m,f,S);break e}else if(m!==S){S=Ms(Error(i(424)),o),o=_g(a,o,m,f,S);break e}else for(Ya=Ga(o.stateNode.containerInfo.firstChild),Xa=o,Bn=!0,pi=null,f=Sg(o,null,m,f),o.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(bu(),m===S){o=ur(a,o,f);break e}lr(a,o,m,f)}o=o.child}return o;case 5:return gd(o),a===null&&pd(o),m=o.type,S=o.pendingProps,w=a!==null?a.memoizedProps:null,k=S.children,hl(m,S)?k=null:w!==null&&hl(m,w)&&(o.flags|=32),Il(a,o),lr(a,o,k,f),o.child;case 6:return a===null&&pd(o),null;case 13:return Og(a,o,f);case 4:return kv(o,o.stateNode.containerInfo),m=o.pendingProps,a===null?o.child=wu(o,null,m,f):lr(a,o,m,f),o.child;case 11:return m=o.type,S=o.pendingProps,S=o.elementType===m?S:Na(m,S),Ou(a,o,m,S,f);case 7:return lr(a,o,o.pendingProps,f),o.child;case 8:return lr(a,o,o.pendingProps.children,f),o.child;case 12:return lr(a,o,o.pendingProps.children,f),o.child;case 10:e:{if(m=o.type._context,S=o.pendingProps,w=o.memoizedProps,k=S.value,tn(Cu,m._currentValue),m._currentValue=k,w!==null)if(Bi(w.value,k)){if(w.children===S.children&&!Ot.current){o=ur(a,o,f);break e}}else for(w=o.child,w!==null&&(w.return=o);w!==null;){var W=w.dependencies;if(W!==null){k=w.child;for(var Q=W.firstContext;Q!==null;){if(Q.context===m){if(w.tag===1){Q=kn(-1,f&-f),Q.tag=2;var pe=w.updateQueue;if(pe!==null){pe=pe.shared;var Me=pe.pending;Me===null?Q.next=Q:(Q.next=Me.next,Me.next=Q),pe.pending=Q}}w.lanes|=f,Q=w.alternate,Q!==null&&(Q.lanes|=f),_s(w.return,f,o),W.lanes|=f;break}Q=Q.next}}else if(w.tag===10)k=w.type===o.type?null:w.child;else if(w.tag===18){if(k=w.return,k===null)throw Error(i(341));k.lanes|=f,W=k.alternate,W!==null&&(W.lanes|=f),_s(k,f,o),k=w.sibling}else k=w.child;if(k!==null)k.return=w;else for(k=w;k!==null;){if(k===o){k=null;break}if(w=k.sibling,w!==null){w.return=k.return,k=w;break}k=k.return}w=k}lr(a,o,S.children,f),o=o.child}return o;case 9:return S=o.type,m=o.pendingProps.children,ir(o,f),S=He(S),m=m(S),o.flags|=1,lr(a,o,m,f),o.child;case 14:return m=o.type,S=Na(m,o.pendingProps),S=Na(m.type,S),Ls(a,o,m,S,f);case 15:return jd(a,o,o.type,o.pendingProps,f);case 17:return m=o.type,S=o.pendingProps,S=o.elementType===m?S:Na(m,S),cf(a,o),o.tag=1,vr(m)?(a=!0,ml(o)):a=!1,ir(o,f),yg(o,m,S),Dv(o,m,S,f),Dd(null,o,m,!0,a,f);case 19:return zv(a,o,f);case 22:return ja(a,o,f)}throw Error(i(156,o.tag))};function Ug(a,o){return An(a,o)}function $g(a,o,f,m){this.tag=a,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=m,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xi(a,o,f,m){return new $g(a,o,f,m)}function Qv(a){return a=a.prototype,!(!a||!a.isReactComponent)}function wC(a){if(typeof a=="function")return Qv(a)?1:0;if(a!=null){if(a=a.$$typeof,a===fe)return 11;if(a===xe)return 14}return 2}function Vs(a,o){var f=a.alternate;return f===null?(f=xi(a.tag,o,a.key,a.mode),f.elementType=a.elementType,f.type=a.type,f.stateNode=a.stateNode,f.alternate=a,a.alternate=f):(f.pendingProps=o,f.type=a.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=a.flags&14680064,f.childLanes=a.childLanes,f.lanes=a.lanes,f.child=a.child,f.memoizedProps=a.memoizedProps,f.memoizedState=a.memoizedState,f.updateQueue=a.updateQueue,o=a.dependencies,f.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},f.sibling=a.sibling,f.index=a.index,f.ref=a.ref,f}function Zd(a,o,f,m,S,w){var k=2;if(m=a,typeof a=="function")Qv(a)&&(k=1);else if(typeof a=="string")k=5;else e:switch(a){case J:return kl(f.children,S,w,o);case q:k=8,S|=8;break;case Re:return a=xi(12,f,o,S|2),a.elementType=Re,a.lanes=w,a;case Oe:return a=xi(13,f,o,S),a.elementType=Oe,a.lanes=w,a;case Te:return a=xi(19,f,o,S),a.elementType=Te,a.lanes=w,a;case Le:return Jd(f,S,w,o);default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case he:k=10;break e;case ge:k=9;break e;case fe:k=11;break e;case xe:k=14;break e;case je:k=16,m=null;break e}throw Error(i(130,a==null?a:typeof a,""))}return o=xi(k,f,o,S),o.elementType=a,o.type=m,o.lanes=w,o}function kl(a,o,f,m){return a=xi(7,a,m,o),a.lanes=f,a}function Jd(a,o,f,m){return a=xi(22,a,m,o),a.elementType=Le,a.lanes=f,a.stateNode={isHidden:!1},a}function qd(a,o,f){return a=xi(6,a,null,o),a.lanes=f,a}function mf(a,o,f){return o=xi(4,a.children!==null?a.children:[],a.key,o),o.lanes=f,o.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},o}function gf(a,o,f,m,S){this.tag=o,this.containerInfo=a,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ll(0),this.expirationTimes=ll(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ll(0),this.identifierPrefix=m,this.onRecoverableError=S,this.mutableSourceEagerHydrationData=null}function Kv(a,o,f,m,S,w,k,W,Q){return a=new gf(a,o,f,W,Q),o===1?(o=1,w===!0&&(o|=8)):o=0,w=xi(3,null,null,o),a.current=w,w.stateNode=a,w.memoizedState={element:m,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},Av(w),a}function Gg(a,o,f){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:U,key:m==null?null:""+m,children:a,containerInfo:o,implementation:f}}function eh(a){if(!a)return ci;a=a._reactInternals;e:{if(We(a)!==a||a.tag!==1)throw Error(i(170));var o=a;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(vr(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(i(171))}if(a.tag===1){var f=a.type;if(vr(f))return Rs(a,f,o)}return o}function th(a,o,f,m,S,w,k,W,Q){return a=Kv(f,m,!0,a,S,w,k,W,Q),a.context=eh(null),f=a.current,m=Ar(),S=Xo(f),w=kn(m,S),w.callback=o??null,As(f,w,S),a.current.lanes=S,gs(a,S,m),xr(a,m),a}function Qd(a,o,f,m){var S=o.current,w=Ar(),k=Xo(S);return f=eh(f),o.context===null?o.context=f:o.pendingContext=f,o=kn(w,k),o.payload={element:a},m=m===void 0?null:m,m!==null&&(o.callback=m),a=As(S,o,k),a!==null&&(Zn(a,S,k,w),hd(a,S,k)),k}function yf(a){if(a=a.current,!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function Wg(a,o){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var f=a.retryLane;a.retryLane=f!==0&&f<o?f:o}}function nh(a,o){Wg(a,o),(a=a.alternate)&&Wg(a,o)}function RC(){return null}var rh=typeof reportError=="function"?reportError:function(a){console.error(a)};function Kd(a){this._internalRoot=a}bf.prototype.render=Kd.prototype.render=function(a){var o=this._internalRoot;if(o===null)throw Error(i(409));Qd(a,o,null,null)},bf.prototype.unmount=Kd.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var o=a.containerInfo;vo(function(){Qd(null,a,null,null)}),o[zi]=null}};function bf(a){this._internalRoot=a}bf.prototype.unstable_scheduleHydration=function(a){if(a){var o=Yt();a={blockedOn:null,target:a,priority:o};for(var f=0;f<Fn.length&&o!==0&&o<Fn[f].priority;f++);Fn.splice(f,0,a),f===0&&Fi(a)}};function Bs(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function ep(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11&&(a.nodeType!==8||a.nodeValue!==" react-mount-point-unstable "))}function Xg(){}function TC(a,o,f,m,S){if(S){if(typeof m=="function"){var w=m;m=function(){var pe=yf(k);w.call(pe)}}var k=th(o,m,a,0,null,!1,!1,"",Xg);return a._reactRootContainer=k,a[zi]=k.current,ro(a.nodeType===8?a.parentNode:a),vo(),k}for(;S=a.lastChild;)a.removeChild(S);if(typeof m=="function"){var W=m;m=function(){var pe=yf(Q);W.call(pe)}}var Q=Kv(a,0,!1,null,null,!1,!1,"",Xg);return a._reactRootContainer=Q,a[zi]=Q.current,ro(a.nodeType===8?a.parentNode:a),vo(function(){Qd(o,Q,f,m)}),Q}function tp(a,o,f,m,S){var w=f._reactRootContainer;if(w){var k=w;if(typeof S=="function"){var W=S;S=function(){var Q=yf(k);W.call(Q)}}Qd(o,k,a,S)}else k=TC(f,o,a,S,m);return yf(k)}ou=function(a){switch(a.tag){case 3:var o=a.stateNode;if(o.current.memoizedState.isDehydrated){var f=Oo(o.pendingLanes);f!==0&&(Rc(o,f|1),xr(o,Dn()),!(zt&6)&&(Hu=Dn()+500,oo()))}break;case 13:vo(function(){var m=Uo(a,1);if(m!==null){var S=Ar();Zn(m,a,1,S)}}),nh(a,1)}},ys=function(a){if(a.tag===13){var o=Uo(a,134217728);if(o!==null){var f=Ar();Zn(o,a,134217728,f)}nh(a,134217728)}},Ic=function(a){if(a.tag===13){var o=Xo(a),f=Uo(a,o);if(f!==null){var m=Ar();Zn(f,a,o,m)}nh(a,o)}},Yt=function(){return Ut},su=function(a,o){var f=Ut;try{return Ut=a,o()}finally{Ut=f}},pn=function(a,o,f){switch(o){case"input":if(on(a,f),o=f.name,f.type==="radio"&&o!=null){for(f=a;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<f.length;o++){var m=f[o];if(m!==a&&m.form===a.form){var S=ud(m);if(!S)throw Error(i(90));ft(m),on(m,S)}}}break;case"textarea":$n(a,f);break;case"select":o=f.value,o!=null&&Cn(a,!!f.multiple,o,!1)}},ps=Jv,rl=vo;var IC={usingClientEntryPoint:!1,Events:[ao,yu,ud,ki,ai,Jv]},Cf={findFiberByHostInstance:zo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Yg={bundleType:Cf.bundleType,version:Cf.version,rendererPackageName:Cf.rendererPackageName,rendererConfig:Cf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:H.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){return a=vt(a),a===null?null:a.stateNode},findFiberByHostInstance:Cf.findFiberByHostInstance||RC,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var np=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!np.isDisabled&&np.supportsFiber)try{hs=np.inject(Yg),Ca=np}catch{}}return Ii.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=IC,Ii.createPortal=function(a,o){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Bs(o))throw Error(i(200));return Gg(a,o,null,f)},Ii.createRoot=function(a,o){if(!Bs(a))throw Error(i(299));var f=!1,m="",S=rh;return o!=null&&(o.unstable_strictMode===!0&&(f=!0),o.identifierPrefix!==void 0&&(m=o.identifierPrefix),o.onRecoverableError!==void 0&&(S=o.onRecoverableError)),o=Kv(a,1,!1,null,null,f,!1,m,S),a[zi]=o.current,ro(a.nodeType===8?a.parentNode:a),new Kd(o)},Ii.findDOMNode=function(a){if(a==null)return null;if(a.nodeType===1)return a;var o=a._reactInternals;if(o===void 0)throw typeof a.render=="function"?Error(i(188)):(a=Object.keys(a).join(","),Error(i(268,a)));return a=vt(o),a=a===null?null:a.stateNode,a},Ii.flushSync=function(a){return vo(a)},Ii.hydrate=function(a,o,f){if(!ep(o))throw Error(i(200));return tp(null,a,o,!0,f)},Ii.hydrateRoot=function(a,o,f){if(!Bs(a))throw Error(i(405));var m=f!=null&&f.hydratedSources||null,S=!1,w="",k=rh;if(f!=null&&(f.unstable_strictMode===!0&&(S=!0),f.identifierPrefix!==void 0&&(w=f.identifierPrefix),f.onRecoverableError!==void 0&&(k=f.onRecoverableError)),o=th(o,null,a,1,f??null,S,!1,w,k),a[zi]=o.current,ro(a),m)for(a=0;a<m.length;a++)f=m[a],S=f._getVersion,S=S(f._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[f,S]:o.mutableSourceEagerHydrationData.push(f,S);return new bf(o)},Ii.render=function(a,o,f){if(!ep(o))throw Error(i(200));return tp(null,a,o,!1,f)},Ii.unmountComponentAtNode=function(a){if(!ep(a))throw Error(i(40));return a._reactRootContainer?(vo(function(){tp(null,null,a,!1,function(){a._reactRootContainer=null,a[zi]=null})}),!0):!1},Ii.unstable_batchedUpdates=Jv,Ii.unstable_renderSubtreeIntoContainer=function(a,o,f,m){if(!ep(f))throw Error(i(200));if(a==null||a._reactInternals===void 0)throw Error(i(38));return tp(a,o,f,!1,m)},Ii.version="18.2.0-next-9e3b772b8-20220608",Ii}var Ni={},PN;function ez(){if(PN)return Ni;PN=1;var n={};/**
96
+ `+w.stack}return{value:a,source:o,stack:S,digest:null}}function Fv(a,o,f){return{value:a,source:null,stack:f??null,digest:o??null}}function sf(a,o){try{console.error(o.value)}catch(f){setTimeout(function(){throw f})}}var wg=typeof WeakMap=="function"?WeakMap:Map;function Rg(a,o,f){f=kn(-1,f),f.tag=3,f.payload={element:null};var m=o.value;return f.callback=function(){$d||($d=!0,Xv=m),sf(a,o)},f}function Tg(a,o,f){f=kn(-1,f),f.tag=3;var m=a.type.getDerivedStateFromError;if(typeof m=="function"){var S=o.value;f.payload=function(){return m(S)},f.callback=function(){sf(a,o)}}var w=a.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(f.callback=function(){sf(a,o),typeof m!="function"&&(bi===null?bi=new Set([this]):bi.add(this));var k=o.stack;this.componentDidCatch(o.value,{componentStack:k!==null?k:""})}),f}function lf(a,o,f){var m=a.pingCache;if(m===null){m=a.pingCache=new wg;var S=new Set;m.set(o,S)}else S=m.get(o),S===void 0&&(S=new Set,m.set(o,S));S.has(f)||(S.add(f),a=SC.bind(null,a,o,f),o.then(a,a))}function Ig(a){do{var o;if((o=a.tag===13)&&(o=a.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return a;a=a.return}while(a!==null);return null}function Vv(a,o,f,m,S){return a.mode&1?(a.flags|=65536,a.lanes=S,a):(a===o?a.flags|=65536:(a.flags|=128,f.flags|=131072,f.flags&=-52805,f.tag===1&&(f.alternate===null?f.tag=17:(o=kn(-1,1),o.tag=2,js(f,o,1))),f.lanes|=1),a)}var Ng=H.ReactCurrentOwner,Aa=!1;function lr(a,o,f,m){o.child=a===null?Sg(o,null,f,m):Ru(o,a.child,f,m)}function Au(a,o,f,m,S){f=f.render;var w=o.ref;return ir(o,S),m=Sl(a,o,f,m,w,S),f=ks(),a!==null&&!Aa?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~S,ur(a,o,S)):(Bn&&f&&dd(o),o.flags|=1,lr(a,o,m,S),o.child)}function Ps(a,o,f,m,S){if(a===null){var w=f.type;return typeof w=="function"&&!Qv(w)&&w.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(o.tag=15,o.type=w,Dd(a,o,w,m,S)):(a=Jd(f.type,null,m,o,o.mode,S),a.ref=o.ref,a.return=o,o.child=a)}if(w=a.child,!(a.lanes&S)){var k=w.memoizedProps;if(f=f.compare,f=f!==null?f:mu,f(k,m)&&a.ref===o.ref)return ur(a,o,S)}return o.flags|=1,a=Bs(w,m),a.ref=o.ref,a.return=o,o.child=a}function Dd(a,o,f,m,S){if(a!==null){var w=a.memoizedProps;if(mu(w,m)&&a.ref===o.ref)if(Aa=!1,o.pendingProps=m=w,(a.lanes&S)!==0)a.flags&131072&&(Aa=!0);else return o.lanes=a.lanes,ur(a,o,S)}return Dt(a,o,f,m,S)}function ja(a,o,f){var m=o.pendingProps,S=m.children,w=a!==null?a.memoizedState:null;if(m.mode==="hidden")if(!(o.mode&1))o.memoizedState={baseLanes:0,cachePool:null,transitions:null},tn(zu,Da),Da|=f;else{if(!(f&1073741824))return a=w!==null?w.baseLanes|f:f,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:a,cachePool:null,transitions:null},o.updateQueue=null,tn(zu,Da),Da|=a,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},m=w!==null?w.baseLanes:f,tn(zu,Da),Da|=m}else w!==null?(m=w.baseLanes|f,o.memoizedState=null):m=f,tn(zu,Da),Da|=m;return lr(a,o,S,f),o.child}function Nl(a,o){var f=o.ref;(a===null&&f!==null||a!==null&&a.ref!==f)&&(o.flags|=512,o.flags|=2097152)}function Dt(a,o,f,m,S){var w=vr(f)?aa:Nr.current;return w=Wa(o,w),ir(o,S),f=Sl(a,o,f,m,w,S),m=ks(),a!==null&&!Aa?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~S,ur(a,o,S)):(Bn&&m&&dd(o),o.flags|=1,lr(a,o,f,S),o.child)}function uf(a,o,f,m,S){if(vr(f)){var w=!0;gl(o)}else w=!1;if(ir(o,S),o.stateNode===null)ff(a,o),yg(o,f,m),Dv(o,f,m,S),m=!0;else if(a===null){var k=o.stateNode,W=o.memoizedProps;k.props=W;var Q=k.context,pe=f.contextType;typeof pe=="object"&&pe!==null?pe=He(pe):(pe=vr(f)?aa:Nr.current,pe=Wa(o,pe));var Me=f.getDerivedStateFromProps,Pe=typeof Me=="function"||typeof k.getSnapshotBeforeUpdate=="function";Pe||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(W!==m||Q!==pe)&&bg(o,k,m,pe),As=!1;var De=o.memoizedState;k.state=De,Jc(o,m,k,S),Q=o.memoizedState,W!==m||De!==Q||Ot.current||As?(typeof Me=="function"&&(jv(o,f,Me,m),Q=o.memoizedState),(W=As||gg(o,f,W,m,De,Q,pe))?(Pe||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount()),typeof k.componentDidMount=="function"&&(o.flags|=4194308)):(typeof k.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=m,o.memoizedState=Q),k.props=m,k.state=Q,k.context=pe,m=W):(typeof k.componentDidMount=="function"&&(o.flags|=4194308),m=!1)}else{k=o.stateNode,hg(a,o),W=o.memoizedProps,pe=o.type===o.elementType?W:Na(o.type,W),k.props=pe,Pe=o.pendingProps,De=k.context,Q=f.contextType,typeof Q=="object"&&Q!==null?Q=He(Q):(Q=vr(f)?aa:Nr.current,Q=Wa(o,Q));var Ye=f.getDerivedStateFromProps;(Me=typeof Ye=="function"||typeof k.getSnapshotBeforeUpdate=="function")||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(W!==Pe||De!==Q)&&bg(o,k,m,Q),As=!1,De=o.memoizedState,k.state=De,Jc(o,m,k,S);var nt=o.memoizedState;W!==Pe||De!==nt||Ot.current||As?(typeof Ye=="function"&&(jv(o,f,Ye,m),nt=o.memoizedState),(pe=As||gg(o,f,pe,m,De,nt,Q)||!1)?(Me||typeof k.UNSAFE_componentWillUpdate!="function"&&typeof k.componentWillUpdate!="function"||(typeof k.componentWillUpdate=="function"&&k.componentWillUpdate(m,nt,Q),typeof k.UNSAFE_componentWillUpdate=="function"&&k.UNSAFE_componentWillUpdate(m,nt,Q)),typeof k.componentDidUpdate=="function"&&(o.flags|=4),typeof k.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof k.componentDidUpdate!="function"||W===a.memoizedProps&&De===a.memoizedState||(o.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||W===a.memoizedProps&&De===a.memoizedState||(o.flags|=1024),o.memoizedProps=m,o.memoizedState=nt),k.props=m,k.state=nt,k.context=Q,m=pe):(typeof k.componentDidUpdate!="function"||W===a.memoizedProps&&De===a.memoizedState||(o.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||W===a.memoizedProps&&De===a.memoizedState||(o.flags|=1024),m=!1)}return kd(a,o,f,m,w,S)}function kd(a,o,f,m,S,w){Nl(a,o);var k=(o.flags&128)!==0;if(!m&&!k)return S&&fg(o,f,!1),ur(a,o,w);m=o.stateNode,Ng.current=o;var W=k&&typeof f.getDerivedStateFromError!="function"?null:m.render();return o.flags|=1,a!==null&&k?(o.child=Ru(o,a.child,null,w),o.child=Ru(o,null,W,w)):lr(a,o,W,w),o.memoizedState=m.state,S&&fg(o,f,!0),o.child}function pC(a){var o=a.stateNode;o.pendingContext?io(a,o.pendingContext,o.pendingContext!==o.context):o.context&&io(a,o.context,!1),kv(a,o.containerInfo)}function _g(a,o,f,m,S){return Cu(),hr(S),o.flags|=256,lr(a,o,f,m),o.child}var cf={dehydrated:null,treeContext:null,retryLane:0};function _l(a){return{baseLanes:a,cachePool:null,transitions:null}}function Og(a,o,f){var m=o.pendingProps,S=ut.current,w=!1,k=(o.flags&128)!==0,W;if((W=k)||(W=a!==null&&a.memoizedState===null?!1:(S&2)!==0),W?(w=!0,o.flags&=-129):(a===null||a.memoizedState!==null)&&(S|=1),tn(ut,S&1),a===null)return vd(o),a=o.memoizedState,a!==null&&(a=a.dehydrated,a!==null)?(o.mode&1?a.data==="$!"?o.lanes=8:o.lanes=1073741824:o.lanes=1,null):(k=m.children,a=m.fallback,w?(m=o.mode,w=o.child,k={mode:"hidden",children:k},!(m&1)&&w!==null?(w.childLanes=0,w.pendingProps=k):w=qd(k,m,0,null),a=Ml(a,m,f,null),w.return=o,a.return=o,w.sibling=a,o.child=w,o.child.memoizedState=_l(f),o.memoizedState=cf,a):Md(o,k));if(S=a.memoizedState,S!==null&&(W=S.dehydrated,W!==null))return Bv(a,o,k,m,W,S,f);if(w){w=m.fallback,k=o.mode,S=a.child,W=S.sibling;var Q={mode:"hidden",children:m.children};return!(k&1)&&o.child!==S?(m=o.child,m.childLanes=0,m.pendingProps=Q,o.deletions=null):(m=Bs(S,Q),m.subtreeFlags=S.subtreeFlags&14680064),W!==null?w=Bs(W,w):(w=Ml(w,k,f,null),w.flags|=2),w.return=o,m.return=o,m.sibling=w,o.child=m,m=w,w=o.child,k=a.child.memoizedState,k=k===null?_l(f):{baseLanes:k.baseLanes|f,cachePool:null,transitions:k.transitions},w.memoizedState=k,w.childLanes=a.childLanes&~f,o.memoizedState=cf,m}return w=a.child,a=w.sibling,m=Bs(w,{mode:"visible",children:m.children}),!(o.mode&1)&&(m.lanes=f),m.return=o,m.sibling=null,a!==null&&(f=o.deletions,f===null?(o.deletions=[a],o.flags|=16):f.push(a)),o.child=m,o.memoizedState=null,m}function Md(a,o){return o=qd({mode:"visible",children:o},a.mode,0,null),o.return=a,a.child=o}function Ld(a,o,f,m){return m!==null&&hr(m),Ru(o,a.child,null,f),a=Md(o,o.pendingProps.children),a.flags|=2,o.memoizedState=null,a}function Bv(a,o,f,m,S,w,k){if(f)return o.flags&256?(o.flags&=-257,m=Fv(Error(i(422))),Ld(a,o,k,m)):o.memoizedState!==null?(o.child=a.child,o.flags|=128,null):(w=m.fallback,S=o.mode,m=qd({mode:"visible",children:m.children},S,0,null),w=Ml(w,S,k,null),w.flags|=2,m.return=o,w.return=o,m.sibling=w,o.child=m,o.mode&1&&Ru(o,a.child,null,k),o.child.memoizedState=_l(k),o.memoizedState=cf,w);if(!(o.mode&1))return Ld(a,o,k,null);if(S.data==="$!"){if(m=S.nextSibling&&S.nextSibling.dataset,m)var W=m.dgst;return m=W,w=Error(i(419)),m=Fv(w,m,void 0),Ld(a,o,k,m)}if(W=(k&a.childLanes)!==0,Aa||W){if(m=nr,m!==null){switch(k&-k){case 4:S=2;break;case 16:S=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:S=32;break;case 536870912:S=268435456;break;default:S=0}S=S&(m.suspendedLanes|k)?0:S,S!==0&&S!==w.retryLane&&(w.retryLane=S,$o(a,S),Zn(m,a,S,-1))}return mf(),m=Fv(Error(i(421))),Ld(a,o,k,m)}return S.data==="$?"?(o.flags|=128,o.child=a.child,o=qv.bind(null,a),S._reactRetry=o,null):(a=w.treeContext,Ya=Ga(S.nextSibling),Xa=o,Bn=!0,pi=null,a!==null&&(Ra[Ta++]=Ia,Ra[Ta++]=Pr,Ra[Ta++]=Ui,Ia=a.id,Pr=a.overflow,Ui=o),o=Md(o,m.children),o.flags|=4096,o)}function Ag(a,o,f){a.lanes|=o;var m=a.alternate;m!==null&&(m.lanes|=o),Os(a.return,o,f)}function Pd(a,o,f,m,S){var w=a.memoizedState;w===null?a.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:m,tail:f,tailMode:S}:(w.isBackwards=o,w.rendering=null,w.renderingStartTime=0,w.last=m,w.tail=f,w.tailMode=S)}function zv(a,o,f){var m=o.pendingProps,S=m.revealOrder,w=m.tail;if(lr(a,o,m.children,f),m=ut.current,m&2)m=m&1|2,o.flags|=128;else{if(a!==null&&a.flags&128)e:for(a=o.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&Ag(a,f,o);else if(a.tag===19)Ag(a,f,o);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===o)break e;for(;a.sibling===null;){if(a.return===null||a.return===o)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}m&=1}if(tn(ut,m),!(o.mode&1))o.memoizedState=null;else switch(S){case"forwards":for(f=o.child,S=null;f!==null;)a=f.alternate,a!==null&&Qt(a)===null&&(S=f),f=f.sibling;f=S,f===null?(S=o.child,o.child=null):(S=f.sibling,f.sibling=null),Pd(o,!1,S,f,w);break;case"backwards":for(f=null,S=o.child,o.child=null;S!==null;){if(a=S.alternate,a!==null&&Qt(a)===null){o.child=S;break}a=S.sibling,S.sibling=f,f=S,S=a}Pd(o,!0,f,null,w);break;case"together":Pd(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function ff(a,o){!(o.mode&1)&&a!==null&&(a.alternate=null,o.alternate=null,o.flags|=2)}function ur(a,o,f){if(a!==null&&(o.dependencies=a.dependencies),Al|=o.lanes,!(f&o.childLanes))return null;if(a!==null&&o.child!==a.child)throw Error(i(153));if(o.child!==null){for(a=o.child,f=Bs(a,a.pendingProps),o.child=f,f.return=o;a.sibling!==null;)a=a.sibling,f=f.sibling=Bs(a,a.pendingProps),f.return=o;f.sibling=null}return o.child}function Wo(a,o,f){switch(o.tag){case 3:pC(o),Cu();break;case 5:yd(o);break;case 1:vr(o.type)&&gl(o);break;case 4:kv(o,o.stateNode.containerInfo);break;case 10:var m=o.type._context,S=o.memoizedProps.value;tn(xu,m._currentValue),m._currentValue=S;break;case 13:if(m=o.memoizedState,m!==null)return m.dehydrated!==null?(tn(ut,ut.current&1),o.flags|=128,null):f&o.child.childLanes?Og(a,o,f):(tn(ut,ut.current&1),a=ur(a,o,f),a!==null?a.sibling:null);tn(ut,ut.current&1);break;case 19:if(m=(f&o.childLanes)!==0,a.flags&128){if(m)return zv(a,o,f);o.flags|=128}if(S=o.memoizedState,S!==null&&(S.rendering=null,S.tail=null,S.lastEffect=null),tn(ut,ut.current),m)break;return null;case 22:case 23:return o.lanes=0,ja(a,o,f)}return ur(a,o,f)}var co,ju,Du,gi;co=function(a,o){for(var f=o.child;f!==null;){if(f.tag===5||f.tag===6)a.appendChild(f.stateNode);else if(f.tag!==4&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===o)break;for(;f.sibling===null;){if(f.return===null||f.return===o)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},ju=function(){},Du=function(a,o,f,m){var S=a.memoizedProps;if(S!==m){a=o.stateNode,Ds(lo.current);var w=null;switch(f){case"input":S=It(a,S),m=It(a,m),w=[];break;case"select":S=G({},S,{value:void 0}),m=G({},m,{value:void 0}),w=[];break;case"textarea":S=qn(a,S),m=qn(a,m),w=[];break;default:typeof S.onClick!="function"&&typeof m.onClick=="function"&&(a.onclick=ud)}en(f,m);var k;f=null;for(pe in S)if(!m.hasOwnProperty(pe)&&S.hasOwnProperty(pe)&&S[pe]!=null)if(pe==="style"){var W=S[pe];for(k in W)W.hasOwnProperty(k)&&(f||(f={}),f[k]="")}else pe!=="dangerouslySetInnerHTML"&&pe!=="children"&&pe!=="suppressContentEditableWarning"&&pe!=="suppressHydrationWarning"&&pe!=="autoFocus"&&(l.hasOwnProperty(pe)?w||(w=[]):(w=w||[]).push(pe,null));for(pe in m){var Q=m[pe];if(W=S!=null?S[pe]:void 0,m.hasOwnProperty(pe)&&Q!==W&&(Q!=null||W!=null))if(pe==="style")if(W){for(k in W)!W.hasOwnProperty(k)||Q&&Q.hasOwnProperty(k)||(f||(f={}),f[k]="");for(k in Q)Q.hasOwnProperty(k)&&W[k]!==Q[k]&&(f||(f={}),f[k]=Q[k])}else f||(w||(w=[]),w.push(pe,f)),f=Q;else pe==="dangerouslySetInnerHTML"?(Q=Q?Q.__html:void 0,W=W?W.__html:void 0,Q!=null&&W!==Q&&(w=w||[]).push(pe,Q)):pe==="children"?typeof Q!="string"&&typeof Q!="number"||(w=w||[]).push(pe,""+Q):pe!=="suppressContentEditableWarning"&&pe!=="suppressHydrationWarning"&&(l.hasOwnProperty(pe)?(Q!=null&&pe==="onScroll"&&Tn("scroll",a),w||W===Q||(w=[])):(w=w||[]).push(pe,Q))}f&&(w=w||[]).push("style",f);var pe=w;(o.updateQueue=pe)&&(o.flags|=4)}},gi=function(a,o,f,m){f!==m&&(o.flags|=4)};function tr(a,o){if(!Bn)switch(a.tailMode){case"hidden":o=a.tail;for(var f=null;o!==null;)o.alternate!==null&&(f=o),o=o.sibling;f===null?a.tail=null:f.sibling=null;break;case"collapsed":f=a.tail;for(var m=null;f!==null;)f.alternate!==null&&(m=f),f=f.sibling;m===null?o||a.tail===null?a.tail=null:a.tail.sibling=null:m.sibling=null}}function qr(a){var o=a.alternate!==null&&a.alternate.child===a.child,f=0,m=0;if(o)for(var S=a.child;S!==null;)f|=S.lanes|S.childLanes,m|=S.subtreeFlags&14680064,m|=S.flags&14680064,S.return=a,S=S.sibling;else for(S=a.child;S!==null;)f|=S.lanes|S.childLanes,m|=S.subtreeFlags,m|=S.flags,S.return=a,S=S.sibling;return a.subtreeFlags|=m,a.childLanes=f,o}function vC(a,o,f){var m=o.pendingProps;switch(pd(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qr(o),null;case 1:return vr(o.type)&&wa(),qr(o),null;case 3:return m=o.stateNode,Iu(),st(Ot),st(Nr),hi(),m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null),(a===null||a.child===null)&&(hd(o)?o.flags|=4:a===null||a.memoizedState.isDehydrated&&!(o.flags&256)||(o.flags|=1024,pi!==null&&(Yv(pi),pi=null))),ju(a,o),qr(o),null;case 5:mt(o);var S=Ds(Kc.current);if(f=o.type,a!==null&&o.stateNode!=null)Du(a,o,f,m,S),a.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!m){if(o.stateNode===null)throw Error(i(166));return qr(o),null}if(a=Ds(lo.current),hd(o)){m=o.stateNode,f=o.type;var w=o.memoizedProps;switch(m[ui]=o,m[Yc]=w,a=(o.mode&1)!==0,f){case"dialog":Tn("cancel",m),Tn("close",m);break;case"iframe":case"object":case"embed":Tn("load",m);break;case"video":case"audio":for(S=0;S<Vo.length;S++)Tn(Vo[S],m);break;case"source":Tn("error",m);break;case"img":case"image":case"link":Tn("error",m),Tn("load",m);break;case"details":Tn("toggle",m);break;case"input":pt(m,w),Tn("invalid",m);break;case"select":m._wrapperState={wasMultiple:!!w.multiple},Tn("invalid",m);break;case"textarea":Rr(m,w),Tn("invalid",m)}en(f,w),S=null;for(var k in w)if(w.hasOwnProperty(k)){var W=w[k];k==="children"?typeof W=="string"?m.textContent!==W&&(w.suppressHydrationWarning!==!0&&$c(m.textContent,W,a),S=["children",W]):typeof W=="number"&&m.textContent!==""+W&&(w.suppressHydrationWarning!==!0&&$c(m.textContent,W,a),S=["children",""+W]):l.hasOwnProperty(k)&&W!=null&&k==="onScroll"&&Tn("scroll",m)}switch(f){case"input":tt(m),sn(m,w,!0);break;case"textarea":tt(m),Tr(m);break;case"select":case"option":break;default:typeof w.onClick=="function"&&(m.onclick=ud)}m=S,o.updateQueue=m,m!==null&&(o.flags|=4)}else{k=S.nodeType===9?S:S.ownerDocument,a==="http://www.w3.org/1999/xhtml"&&(a=xt(f)),a==="http://www.w3.org/1999/xhtml"?f==="script"?(a=k.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild)):typeof m.is=="string"?a=k.createElement(f,{is:m.is}):(a=k.createElement(f),f==="select"&&(k=a,m.multiple?k.multiple=!0:m.size&&(k.size=m.size))):a=k.createElementNS(a,f),a[ui]=o,a[Yc]=m,co(a,o,!1,!1),o.stateNode=a;e:{switch(k=ar(f,m),f){case"dialog":Tn("cancel",a),Tn("close",a),S=m;break;case"iframe":case"object":case"embed":Tn("load",a),S=m;break;case"video":case"audio":for(S=0;S<Vo.length;S++)Tn(Vo[S],a);S=m;break;case"source":Tn("error",a),S=m;break;case"img":case"image":case"link":Tn("error",a),Tn("load",a),S=m;break;case"details":Tn("toggle",a),S=m;break;case"input":pt(a,m),S=It(a,m),Tn("invalid",a);break;case"option":S=m;break;case"select":a._wrapperState={wasMultiple:!!m.multiple},S=G({},m,{value:void 0}),Tn("invalid",a);break;case"textarea":Rr(a,m),S=qn(a,m),Tn("invalid",a);break;default:S=m}en(f,S),W=S;for(w in W)if(W.hasOwnProperty(w)){var Q=W[w];w==="style"?Mt(a,Q):w==="dangerouslySetInnerHTML"?(Q=Q?Q.__html:void 0,Q!=null&&Ba(a,Q)):w==="children"?typeof Q=="string"?(f!=="textarea"||Q!=="")&&za(a,Q):typeof Q=="number"&&za(a,""+Q):w!=="suppressContentEditableWarning"&&w!=="suppressHydrationWarning"&&w!=="autoFocus"&&(l.hasOwnProperty(w)?Q!=null&&w==="onScroll"&&Tn("scroll",a):Q!=null&&V(a,w,Q,k))}switch(f){case"input":tt(a),sn(a,m,!1);break;case"textarea":tt(a),Tr(a);break;case"option":m.value!=null&&a.setAttribute("value",""+we(m.value));break;case"select":a.multiple=!!m.multiple,w=m.value,w!=null?Cn(a,!!m.multiple,w,!1):m.defaultValue!=null&&Cn(a,!!m.multiple,m.defaultValue,!0);break;default:typeof S.onClick=="function"&&(a.onclick=ud)}switch(f){case"button":case"input":case"select":case"textarea":m=!!m.autoFocus;break e;case"img":m=!0;break e;default:m=!1}}m&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return qr(o),null;case 6:if(a&&o.stateNode!=null)gi(a,o,a.memoizedProps,m);else{if(typeof m!="string"&&o.stateNode===null)throw Error(i(166));if(f=Ds(Kc.current),Ds(lo.current),hd(o)){if(m=o.stateNode,f=o.memoizedProps,m[ui]=o,(w=m.nodeValue!==f)&&(a=Xa,a!==null))switch(a.tag){case 3:$c(m.nodeValue,f,(a.mode&1)!==0);break;case 5:a.memoizedProps.suppressHydrationWarning!==!0&&$c(m.nodeValue,f,(a.mode&1)!==0)}w&&(o.flags|=4)}else m=(f.nodeType===9?f:f.ownerDocument).createTextNode(m),m[ui]=o,o.stateNode=m}return qr(o),null;case 13:if(st(ut),m=o.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(Bn&&Ya!==null&&o.mode&1&&!(o.flags&128))pg(),Cu(),o.flags|=98560,w=!1;else if(w=hd(o),m!==null&&m.dehydrated!==null){if(a===null){if(!w)throw Error(i(318));if(w=o.memoizedState,w=w!==null?w.dehydrated:null,!w)throw Error(i(317));w[ui]=o}else Cu(),!(o.flags&128)&&(o.memoizedState=null),o.flags|=4;qr(o),w=!1}else pi!==null&&(Yv(pi),pi=null),w=!0;if(!w)return o.flags&65536?o:null}return o.flags&128?(o.lanes=f,o):(m=m!==null,m!==(a!==null&&a.memoizedState!==null)&&m&&(o.child.flags|=8192,o.mode&1&&(a===null||ut.current&1?Cr===0&&(Cr=3):mf())),o.updateQueue!==null&&(o.flags|=4),qr(o),null);case 4:return Iu(),ju(a,o),a===null&&ro(o.stateNode.containerInfo),qr(o),null;case 10:return Ov(o.type._context),qr(o),null;case 17:return vr(o.type)&&wa(),qr(o),null;case 19:if(st(ut),w=o.memoizedState,w===null)return qr(o),null;if(m=(o.flags&128)!==0,k=w.rendering,k===null)if(m)tr(w,!1);else{if(Cr!==0||a!==null&&a.flags&128)for(a=o.child;a!==null;){if(k=Qt(a),k!==null){for(o.flags|=128,tr(w,!1),m=k.updateQueue,m!==null&&(o.updateQueue=m,o.flags|=4),o.subtreeFlags=0,m=f,f=o.child;f!==null;)w=f,a=m,w.flags&=14680066,k=w.alternate,k===null?(w.childLanes=0,w.lanes=a,w.child=null,w.subtreeFlags=0,w.memoizedProps=null,w.memoizedState=null,w.updateQueue=null,w.dependencies=null,w.stateNode=null):(w.childLanes=k.childLanes,w.lanes=k.lanes,w.child=k.child,w.subtreeFlags=0,w.deletions=null,w.memoizedProps=k.memoizedProps,w.memoizedState=k.memoizedState,w.updateQueue=k.updateQueue,w.type=k.type,a=k.dependencies,w.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),f=f.sibling;return tn(ut,ut.current&1|2),o.child}a=a.sibling}w.tail!==null&&Dn()>Uu&&(o.flags|=128,m=!0,tr(w,!1),o.lanes=4194304)}else{if(!m)if(a=Qt(k),a!==null){if(o.flags|=128,m=!0,f=a.updateQueue,f!==null&&(o.updateQueue=f,o.flags|=4),tr(w,!0),w.tail===null&&w.tailMode==="hidden"&&!k.alternate&&!Bn)return qr(o),null}else 2*Dn()-w.renderingStartTime>Uu&&f!==1073741824&&(o.flags|=128,m=!0,tr(w,!1),o.lanes=4194304);w.isBackwards?(k.sibling=o.child,o.child=k):(f=w.last,f!==null?f.sibling=k:o.child=k,w.last=k)}return w.tail!==null?(o=w.tail,w.rendering=o,w.tail=o.sibling,w.renderingStartTime=Dn(),o.sibling=null,f=ut.current,tn(ut,m?f&1|2:f&1),o):(qr(o),null);case 22:case 23:return Yd(),m=o.memoizedState!==null,a!==null&&a.memoizedState!==null!==m&&(o.flags|=8192),m&&o.mode&1?Da&1073741824&&(qr(o),o.subtreeFlags&6&&(o.flags|=8192)):qr(o),null;case 24:return null;case 25:return null}throw Error(i(156,o.tag))}function hC(a,o){switch(pd(o),o.tag){case 1:return vr(o.type)&&wa(),a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 3:return Iu(),st(Ot),st(Nr),hi(),a=o.flags,a&65536&&!(a&128)?(o.flags=a&-65537|128,o):null;case 5:return mt(o),null;case 13:if(st(ut),a=o.memoizedState,a!==null&&a.dehydrated!==null){if(o.alternate===null)throw Error(i(340));Cu()}return a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 19:return st(ut),null;case 4:return Iu(),null;case 10:return Ov(o.type._context),null;case 22:case 23:return Yd(),null;case 24:return null;default:return null}}var ku=!1,Fr=!1,Fd=typeof WeakSet=="function"?WeakSet:Set,Ke=null;function Mu(a,o){var f=a.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(m){rr(a,o,m)}else f.current=null}function Hv(a,o,f){try{f()}catch(m){rr(a,o,m)}}var Vd=!1;function mC(a,o){if(bv=cu,a=Km(),Fc(a)){if("selectionStart"in a)var f={start:a.selectionStart,end:a.selectionEnd};else e:{f=(f=a.ownerDocument)&&f.defaultView||window;var m=f.getSelection&&f.getSelection();if(m&&m.rangeCount!==0){f=m.anchorNode;var S=m.anchorOffset,w=m.focusNode;m=m.focusOffset;try{f.nodeType,w.nodeType}catch{f=null;break e}var k=0,W=-1,Q=-1,pe=0,Me=0,Pe=a,De=null;t:for(;;){for(var Ye;Pe!==f||S!==0&&Pe.nodeType!==3||(W=k+S),Pe!==w||m!==0&&Pe.nodeType!==3||(Q=k+m),Pe.nodeType===3&&(k+=Pe.nodeValue.length),(Ye=Pe.firstChild)!==null;)De=Pe,Pe=Ye;for(;;){if(Pe===a)break t;if(De===f&&++pe===S&&(W=k),De===w&&++Me===m&&(Q=k),(Ye=Pe.nextSibling)!==null)break;Pe=De,De=Pe.parentNode}Pe=Ye}f=W===-1||Q===-1?null:{start:W,end:Q}}else f=null}f=f||{start:0,end:0}}else f=null;for(Cv={focusedElem:a,selectionRange:f},cu=!1,Ke=o;Ke!==null;)if(o=Ke,a=o.child,(o.subtreeFlags&1028)!==0&&a!==null)a.return=o,Ke=a;else for(;Ke!==null;){o=Ke;try{var nt=o.alternate;if(o.flags&1024)switch(o.tag){case 0:case 11:case 15:break;case 1:if(nt!==null){var ot=nt.memoizedProps,cr=nt.memoizedState,ae=o.stateNode,ee=ae.getSnapshotBeforeUpdate(o.elementType===o.type?ot:Na(o.type,ot),cr);ae.__reactInternalSnapshotBeforeUpdate=ee}break;case 3:var se=o.stateNode.containerInfo;se.nodeType===1?se.textContent="":se.nodeType===9&&se.documentElement&&se.removeChild(se.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(ze){rr(o,o.return,ze)}if(a=o.sibling,a!==null){a.return=o.return,Ke=a;break}Ke=o.return}return nt=Vd,Vd=!1,nt}function Lu(a,o,f){var m=o.updateQueue;if(m=m!==null?m.lastEffect:null,m!==null){var S=m=m.next;do{if((S.tag&a)===a){var w=S.destroy;S.destroy=void 0,w!==void 0&&Hv(o,f,w)}S=S.next}while(S!==m)}}function Bd(a,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var f=o=o.next;do{if((f.tag&a)===a){var m=f.create;f.destroy=m()}f=f.next}while(f!==o)}}function zd(a){var o=a.ref;if(o!==null){var f=a.stateNode;switch(a.tag){case 5:a=f;break;default:a=f}typeof o=="function"?o(a):o.current=a}}function jg(a){var o=a.alternate;o!==null&&(a.alternate=null,jg(o)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(o=a.stateNode,o!==null&&(delete o[ui],delete o[Yc],delete o[wv],delete o[sC],delete o[lC])),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}function Uv(a){return a.tag===5||a.tag===3||a.tag===4}function Dg(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||Uv(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function df(a,o,f){var m=a.tag;if(m===5||m===6)a=a.stateNode,o?f.nodeType===8?f.parentNode.insertBefore(a,o):f.insertBefore(a,o):(f.nodeType===8?(o=f.parentNode,o.insertBefore(a,f)):(o=f,o.appendChild(a)),f=f._reactRootContainer,f!=null||o.onclick!==null||(o.onclick=ud));else if(m!==4&&(a=a.child,a!==null))for(df(a,o,f),a=a.sibling;a!==null;)df(a,o,f),a=a.sibling}function Pu(a,o,f){var m=a.tag;if(m===5||m===6)a=a.stateNode,o?f.insertBefore(a,o):f.appendChild(a);else if(m!==4&&(a=a.child,a!==null))for(Pu(a,o,f),a=a.sibling;a!==null;)Pu(a,o,f),a=a.sibling}var Un=null,_r=!1;function ia(a,o,f){for(f=f.child;f!==null;)Fu(a,o,f),f=f.sibling}function Fu(a,o,f){if(Ca&&typeof Ca.onCommitFiberUnmount=="function")try{Ca.onCommitFiberUnmount(ms,f)}catch{}switch(f.tag){case 5:Fr||Mu(f,o);case 6:var m=Un,S=_r;Un=null,ia(a,o,f),Un=m,_r=S,Un!==null&&(_r?(a=Un,f=f.stateNode,a.nodeType===8?a.parentNode.removeChild(f):a.removeChild(f)):Un.removeChild(f.stateNode));break;case 18:Un!==null&&(_r?(a=Un,f=f.stateNode,a.nodeType===8?Ev(a.parentNode,f):a.nodeType===1&&Ev(a,f),li(a)):Ev(Un,f.stateNode));break;case 4:m=Un,S=_r,Un=f.stateNode.containerInfo,_r=!0,ia(a,o,f),Un=m,_r=S;break;case 0:case 11:case 14:case 15:if(!Fr&&(m=f.updateQueue,m!==null&&(m=m.lastEffect,m!==null))){S=m=m.next;do{var w=S,k=w.destroy;w=w.tag,k!==void 0&&(w&2||w&4)&&Hv(f,o,k),S=S.next}while(S!==m)}ia(a,o,f);break;case 1:if(!Fr&&(Mu(f,o),m=f.stateNode,typeof m.componentWillUnmount=="function"))try{m.props=f.memoizedProps,m.state=f.memoizedState,m.componentWillUnmount()}catch(W){rr(f,o,W)}ia(a,o,f);break;case 21:ia(a,o,f);break;case 22:f.mode&1?(Fr=(m=Fr)||f.memoizedState!==null,ia(a,o,f),Fr=m):ia(a,o,f);break;default:ia(a,o,f)}}function Vu(a){var o=a.updateQueue;if(o!==null){a.updateQueue=null;var f=a.stateNode;f===null&&(f=a.stateNode=new Fd),o.forEach(function(m){var S=EC.bind(null,a,m);f.has(m)||(f.add(m),m.then(S,S))})}}function Or(a,o){var f=o.deletions;if(f!==null)for(var m=0;m<f.length;m++){var S=f[m];try{var w=a,k=o,W=k;e:for(;W!==null;){switch(W.tag){case 5:Un=W.stateNode,_r=!1;break e;case 3:Un=W.stateNode.containerInfo,_r=!0;break e;case 4:Un=W.stateNode.containerInfo,_r=!0;break e}W=W.return}if(Un===null)throw Error(i(160));Fu(w,k,S),Un=null,_r=!1;var Q=S.alternate;Q!==null&&(Q.return=null),S.return=null}catch(pe){rr(S,o,pe)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)kg(o,a),o=o.sibling}function kg(a,o){var f=a.alternate,m=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:if(Or(o,a),fo(a),m&4){try{Lu(3,a,a.return),Bd(3,a)}catch(ot){rr(a,a.return,ot)}try{Lu(5,a,a.return)}catch(ot){rr(a,a.return,ot)}}break;case 1:Or(o,a),fo(a),m&512&&f!==null&&Mu(f,f.return);break;case 5:if(Or(o,a),fo(a),m&512&&f!==null&&Mu(f,f.return),a.flags&32){var S=a.stateNode;try{za(S,"")}catch(ot){rr(a,a.return,ot)}}if(m&4&&(S=a.stateNode,S!=null)){var w=a.memoizedProps,k=f!==null?f.memoizedProps:w,W=a.type,Q=a.updateQueue;if(a.updateQueue=null,Q!==null)try{W==="input"&&w.type==="radio"&&w.name!=null&&Kt(S,w),ar(W,k);var pe=ar(W,w);for(k=0;k<Q.length;k+=2){var Me=Q[k],Pe=Q[k+1];Me==="style"?Mt(S,Pe):Me==="dangerouslySetInnerHTML"?Ba(S,Pe):Me==="children"?za(S,Pe):V(S,Me,Pe,pe)}switch(W){case"input":on(S,w);break;case"textarea":$n(S,w);break;case"select":var De=S._wrapperState.wasMultiple;S._wrapperState.wasMultiple=!!w.multiple;var Ye=w.value;Ye!=null?Cn(S,!!w.multiple,Ye,!1):De!==!!w.multiple&&(w.defaultValue!=null?Cn(S,!!w.multiple,w.defaultValue,!0):Cn(S,!!w.multiple,w.multiple?[]:"",!1))}S[Yc]=w}catch(ot){rr(a,a.return,ot)}}break;case 6:if(Or(o,a),fo(a),m&4){if(a.stateNode===null)throw Error(i(162));S=a.stateNode,w=a.memoizedProps;try{S.nodeValue=w}catch(ot){rr(a,a.return,ot)}}break;case 3:if(Or(o,a),fo(a),m&4&&f!==null&&f.memoizedState.isDehydrated)try{li(o.containerInfo)}catch(ot){rr(a,a.return,ot)}break;case 4:Or(o,a),fo(a);break;case 13:Or(o,a),fo(a),S=a.child,S.flags&8192&&(w=S.memoizedState!==null,S.stateNode.isHidden=w,!w||S.alternate!==null&&S.alternate.memoizedState!==null||(Ud=Dn())),m&4&&Vu(a);break;case 22:if(Me=f!==null&&f.memoizedState!==null,a.mode&1?(Fr=(pe=Fr)||Me,Or(o,a),Fr=pe):Or(o,a),fo(a),m&8192){if(pe=a.memoizedState!==null,(a.stateNode.isHidden=pe)&&!Me&&a.mode&1)for(Ke=a,Me=a.child;Me!==null;){for(Pe=Ke=Me;Ke!==null;){switch(De=Ke,Ye=De.child,De.tag){case 0:case 11:case 14:case 15:Lu(4,De,De.return);break;case 1:Mu(De,De.return);var nt=De.stateNode;if(typeof nt.componentWillUnmount=="function"){m=De,f=De.return;try{o=m,nt.props=o.memoizedProps,nt.state=o.memoizedState,nt.componentWillUnmount()}catch(ot){rr(m,f,ot)}}break;case 5:Mu(De,De.return);break;case 22:if(De.memoizedState!==null){Mg(Pe);continue}}Ye!==null?(Ye.return=De,Ke=Ye):Mg(Pe)}Me=Me.sibling}e:for(Me=null,Pe=a;;){if(Pe.tag===5){if(Me===null){Me=Pe;try{S=Pe.stateNode,pe?(w=S.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none"):(W=Pe.stateNode,Q=Pe.memoizedProps.style,k=Q!=null&&Q.hasOwnProperty("display")?Q.display:null,W.style.display=dt("display",k))}catch(ot){rr(a,a.return,ot)}}}else if(Pe.tag===6){if(Me===null)try{Pe.stateNode.nodeValue=pe?"":Pe.memoizedProps}catch(ot){rr(a,a.return,ot)}}else if((Pe.tag!==22&&Pe.tag!==23||Pe.memoizedState===null||Pe===a)&&Pe.child!==null){Pe.child.return=Pe,Pe=Pe.child;continue}if(Pe===a)break e;for(;Pe.sibling===null;){if(Pe.return===null||Pe.return===a)break e;Me===Pe&&(Me=null),Pe=Pe.return}Me===Pe&&(Me=null),Pe.sibling.return=Pe.return,Pe=Pe.sibling}}break;case 19:Or(o,a),fo(a),m&4&&Vu(a);break;case 21:break;default:Or(o,a),fo(a)}}function fo(a){var o=a.flags;if(o&2){try{e:{for(var f=a.return;f!==null;){if(Uv(f)){var m=f;break e}f=f.return}throw Error(i(160))}switch(m.tag){case 5:var S=m.stateNode;m.flags&32&&(za(S,""),m.flags&=-33);var w=Dg(a);Pu(a,w,S);break;case 3:case 4:var k=m.stateNode.containerInfo,W=Dg(a);df(a,W,k);break;default:throw Error(i(161))}}catch(Q){rr(a,a.return,Q)}a.flags&=-3}o&4096&&(a.flags&=-4097)}function gC(a,o,f){Ke=a,$v(a)}function $v(a,o,f){for(var m=(a.mode&1)!==0;Ke!==null;){var S=Ke,w=S.child;if(S.tag===22&&m){var k=S.memoizedState!==null||ku;if(!k){var W=S.alternate,Q=W!==null&&W.memoizedState!==null||Fr;W=ku;var pe=Fr;if(ku=k,(Fr=Q)&&!pe)for(Ke=S;Ke!==null;)k=Ke,Q=k.child,k.tag===22&&k.memoizedState!==null?Gv(S):Q!==null?(Q.return=k,Ke=Q):Gv(S);for(;w!==null;)Ke=w,$v(w),w=w.sibling;Ke=S,ku=W,Fr=pe}Bu(a)}else S.subtreeFlags&8772&&w!==null?(w.return=S,Ke=w):Bu(a)}}function Bu(a){for(;Ke!==null;){var o=Ke;if(o.flags&8772){var f=o.alternate;try{if(o.flags&8772)switch(o.tag){case 0:case 11:case 15:Fr||Bd(5,o);break;case 1:var m=o.stateNode;if(o.flags&4&&!Fr)if(f===null)m.componentDidMount();else{var S=o.elementType===o.type?f.memoizedProps:Na(o.type,f.memoizedProps);m.componentDidUpdate(S,f.memoizedState,m.__reactInternalSnapshotBeforeUpdate)}var w=o.updateQueue;w!==null&&Eu(o,w,m);break;case 3:var k=o.updateQueue;if(k!==null){if(f=null,o.child!==null)switch(o.child.tag){case 5:f=o.child.stateNode;break;case 1:f=o.child.stateNode}Eu(o,k,f)}break;case 5:var W=o.stateNode;if(f===null&&o.flags&4){f=W;var Q=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":Q.autoFocus&&f.focus();break;case"img":Q.src&&(f.src=Q.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var pe=o.alternate;if(pe!==null){var Me=pe.memoizedState;if(Me!==null){var Pe=Me.dehydrated;Pe!==null&&li(Pe)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}Fr||o.flags&512&&zd(o)}catch(De){rr(o,o.return,De)}}if(o===a){Ke=null;break}if(f=o.sibling,f!==null){f.return=o.return,Ke=f;break}Ke=o.return}}function Mg(a){for(;Ke!==null;){var o=Ke;if(o===a){Ke=null;break}var f=o.sibling;if(f!==null){f.return=o.return,Ke=f;break}Ke=o.return}}function Gv(a){for(;Ke!==null;){var o=Ke;try{switch(o.tag){case 0:case 11:case 15:var f=o.return;try{Bd(4,o)}catch(Q){rr(o,f,Q)}break;case 1:var m=o.stateNode;if(typeof m.componentDidMount=="function"){var S=o.return;try{m.componentDidMount()}catch(Q){rr(o,S,Q)}}var w=o.return;try{zd(o)}catch(Q){rr(o,w,Q)}break;case 5:var k=o.return;try{zd(o)}catch(Q){rr(o,k,Q)}}}catch(Q){rr(o,o.return,Q)}if(o===a){Ke=null;break}var W=o.sibling;if(W!==null){W.return=o.return,Ke=W;break}Ke=o.return}}var yC=Math.ceil,Ol=H.ReactCurrentDispatcher,Hd=H.ReactCurrentOwner,yi=H.ReactCurrentBatchConfig,zt=0,nr=null,zn=null,br=0,Da=0,zu=In(0),Cr=0,pf=null,Al=0,Hu=0,Wv=0,Fs=null,Qr=null,Ud=0,Uu=1/0,Xo=null,$d=!1,Xv=null,bi=null,$u=!1,Ci=null,Gd=0,vf=0,Wd=null,hf=-1,jl=0;function Ar(){return zt&6?Dn():hf!==-1?hf:hf=Dn()}function Yo(a){return a.mode&1?zt&2&&br!==0?br&-br:uC.transition!==null?(jl===0&&(jl=ll()),jl):(a=Ut,a!==0||(a=window.event,a=a===void 0?16:Oc(a.type)),a):1}function Zn(a,o,f,m){if(50<vf)throw vf=0,Wd=null,Error(i(185));ys(a,f,m),(!(zt&2)||a!==nr)&&(a===nr&&(!(zt&2)&&(Hu|=f),Cr===4&&po(a,br)),xr(a,m),f===1&&zt===0&&!(o.mode&1)&&(Uu=Dn()+500,Is&&oo()))}function xr(a,o){var f=a.callbackNode;gs(a,o);var m=eo(a,a===nr?br:0);if(m===0)f!==null&&jn(f),a.callbackNode=null,a.callbackPriority=0;else if(o=m&-m,a.callbackPriority!==o){if(f!=null&&jn(f),o===1)a.tag===0?dg(Gu.bind(null,a)):fd(Gu.bind(null,a)),cg(function(){!(zt&6)&&oo()}),f=null;else{switch(Ic(m)){case 1:f=Cc;break;case 4:f=Ki;break;case 16:f=Lt;break;case 536870912:f=Oo;break;default:f=Lt}f=Ug(f,Xd.bind(null,a))}a.callbackPriority=o,a.callbackNode=f}}function Xd(a,o){if(hf=-1,jl=0,zt&6)throw Error(i(327));var f=a.callbackNode;if(Wu()&&a.callbackNode!==f)return null;var m=eo(a,a===nr?br:0);if(m===0)return null;if(m&30||m&a.expiredLanes||o)o=Zd(a,m);else{o=m;var S=zt;zt|=2;var w=Pg();(nr!==a||br!==o)&&(Xo=null,Uu=Dn()+500,kl(a,o));do try{CC();break}catch(W){Lg(a,W)}while(!0);_v(),Ol.current=w,zt=S,zn!==null?o=0:(nr=null,br=0,o=Cr)}if(o!==0){if(o===2&&(S=to(a),S!==0&&(m=S,o=Dl(a,S))),o===1)throw f=pf,kl(a,0),po(a,m),xr(a,Dn()),f;if(o===6)po(a,m);else{if(S=a.current.alternate,!(m&30)&&!Zv(S)&&(o=Zd(a,m),o===2&&(w=to(a),w!==0&&(m=w,o=Dl(a,w))),o===1))throw f=pf,kl(a,0),po(a,m),xr(a,Dn()),f;switch(a.finishedWork=S,a.finishedLanes=m,o){case 0:case 1:throw Error(i(345));case 2:Vs(a,Qr,Xo);break;case 3:if(po(a,m),(m&130023424)===m&&(o=Ud+500-Dn(),10<o)){if(eo(a,0)!==0)break;if(S=a.suspendedLanes,(S&m)!==m){Ar(),a.pingedLanes|=a.suspendedLanes&S;break}a.timeoutHandle=Gc(Vs.bind(null,a,Qr,Xo),o);break}Vs(a,Qr,Xo);break;case 4:if(po(a,m),(m&4194240)===m)break;for(o=a.eventTimes,S=-1;0<m;){var k=31-ra(m);w=1<<k,k=o[k],k>S&&(S=k),m&=~w}if(m=S,m=Dn()-m,m=(120>m?120:480>m?480:1080>m?1080:1920>m?1920:3e3>m?3e3:4320>m?4320:1960*yC(m/1960))-m,10<m){a.timeoutHandle=Gc(Vs.bind(null,a,Qr,Xo),m);break}Vs(a,Qr,Xo);break;case 5:Vs(a,Qr,Xo);break;default:throw Error(i(329))}}}return xr(a,Dn()),a.callbackNode===f?Xd.bind(null,a):null}function Dl(a,o){var f=Fs;return a.current.memoizedState.isDehydrated&&(kl(a,o).flags|=256),a=Zd(a,o),a!==2&&(o=Qr,Qr=f,o!==null&&Yv(o)),a}function Yv(a){Qr===null?Qr=a:Qr.push.apply(Qr,a)}function Zv(a){for(var o=a;;){if(o.flags&16384){var f=o.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var m=0;m<f.length;m++){var S=f[m],w=S.getSnapshot;S=S.value;try{if(!Bi(w(),S))return!1}catch{return!1}}}if(f=o.child,o.subtreeFlags&16384&&f!==null)f.return=o,o=f;else{if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function po(a,o){for(o&=~Wv,o&=~Hu,a.suspendedLanes|=o,a.pingedLanes&=~o,a=a.expirationTimes;0<o;){var f=31-ra(o),m=1<<f;a[f]=-1,o&=~m}}function Gu(a){if(zt&6)throw Error(i(327));Wu();var o=eo(a,0);if(!(o&1))return xr(a,Dn()),null;var f=Zd(a,o);if(a.tag!==0&&f===2){var m=to(a);m!==0&&(o=m,f=Dl(a,m))}if(f===1)throw f=pf,kl(a,0),po(a,o),xr(a,Dn()),f;if(f===6)throw Error(i(345));return a.finishedWork=a.current.alternate,a.finishedLanes=o,Vs(a,Qr,Xo),xr(a,Dn()),null}function Jv(a,o){var f=zt;zt|=1;try{return a(o)}finally{zt=f,zt===0&&(Uu=Dn()+500,Is&&oo())}}function vo(a){Ci!==null&&Ci.tag===0&&!(zt&6)&&Wu();var o=zt;zt|=1;var f=yi.transition,m=Ut;try{if(yi.transition=null,Ut=1,a)return a()}finally{Ut=m,yi.transition=f,zt=o,!(zt&6)&&oo()}}function Yd(){Da=zu.current,st(zu)}function kl(a,o){a.finishedWork=null,a.finishedLanes=0;var f=a.timeoutHandle;if(f!==-1&&(a.timeoutHandle=-1,Wc(f)),zn!==null)for(f=zn.return;f!==null;){var m=f;switch(pd(m),m.tag){case 1:m=m.type.childContextTypes,m!=null&&wa();break;case 3:Iu(),st(Ot),st(Nr),hi();break;case 5:mt(m);break;case 4:Iu();break;case 13:st(ut);break;case 19:st(ut);break;case 10:Ov(m.type._context);break;case 22:case 23:Yd()}f=f.return}if(nr=a,zn=a=Bs(a.current,null),br=Da=o,Cr=0,pf=null,Wv=Hu=Al=0,Qr=Fs=null,Jr!==null){for(o=0;o<Jr.length;o++)if(f=Jr[o],m=f.interleaved,m!==null){f.interleaved=null;var S=m.next,w=f.pending;if(w!==null){var k=w.next;w.next=S,m.next=k}f.pending=m}Jr=null}return a}function Lg(a,o){do{var f=zn;try{if(_v(),ef.current=jd,sr){for(var m=Yn.memoizedState;m!==null;){var S=m.queue;S!==null&&(S.pending=null),m=m.next}sr=!1}if(xl=0,Ee=or=Yn=null,bt=!1,uo=0,Hd.current=null,f===null||f.return===null){Cr=1,pf=o,zn=null;break}e:{var w=a,k=f.return,W=f,Q=o;if(o=br,W.flags|=32768,Q!==null&&typeof Q=="object"&&typeof Q.then=="function"){var pe=Q,Me=W,Pe=Me.tag;if(!(Me.mode&1)&&(Pe===0||Pe===11||Pe===15)){var De=Me.alternate;De?(Me.updateQueue=De.updateQueue,Me.memoizedState=De.memoizedState,Me.lanes=De.lanes):(Me.updateQueue=null,Me.memoizedState=null)}var Ye=Ig(k);if(Ye!==null){Ye.flags&=-257,Vv(Ye,k,W,w,o),Ye.mode&1&&lf(w,pe,o),o=Ye,Q=pe;var nt=o.updateQueue;if(nt===null){var ot=new Set;ot.add(Q),o.updateQueue=ot}else nt.add(Q);break e}else{if(!(o&1)){lf(w,pe,o),mf();break e}Q=Error(i(426))}}else if(Bn&&W.mode&1){var cr=Ig(k);if(cr!==null){!(cr.flags&65536)&&(cr.flags|=256),Vv(cr,k,W,w,o),hr(Ls(Q,W));break e}}w=Q=Ls(Q,W),Cr!==4&&(Cr=2),Fs===null?Fs=[w]:Fs.push(w),w=k;do{switch(w.tag){case 3:w.flags|=65536,o&=-o,w.lanes|=o;var ae=Rg(w,Q,o);mg(w,ae);break e;case 1:W=Q;var ee=w.type,se=w.stateNode;if(!(w.flags&128)&&(typeof ee.getDerivedStateFromError=="function"||se!==null&&typeof se.componentDidCatch=="function"&&(bi===null||!bi.has(se)))){w.flags|=65536,o&=-o,w.lanes|=o;var ze=Tg(w,W,o);mg(w,ze);break e}}w=w.return}while(w!==null)}Vg(f)}catch(lt){o=lt,zn===f&&f!==null&&(zn=f=f.return);continue}break}while(!0)}function Pg(){var a=Ol.current;return Ol.current=jd,a===null?jd:a}function mf(){(Cr===0||Cr===3||Cr===2)&&(Cr=4),nr===null||!(Al&268435455)&&!(Hu&268435455)||po(nr,br)}function Zd(a,o){var f=zt;zt|=2;var m=Pg();(nr!==a||br!==o)&&(Xo=null,kl(a,o));do try{bC();break}catch(S){Lg(a,S)}while(!0);if(_v(),zt=f,Ol.current=m,zn!==null)throw Error(i(261));return nr=null,br=0,Cr}function bC(){for(;zn!==null;)Fg(zn)}function CC(){for(;zn!==null&&!Yr();)Fg(zn)}function Fg(a){var o=Hg(a.alternate,a,Da);a.memoizedProps=a.pendingProps,o===null?Vg(a):zn=o,Hd.current=null}function Vg(a){var o=a;do{var f=o.alternate;if(a=o.return,o.flags&32768){if(f=hC(f,o),f!==null){f.flags&=32767,zn=f;return}if(a!==null)a.flags|=32768,a.subtreeFlags=0,a.deletions=null;else{Cr=6,zn=null;return}}else if(f=vC(f,o,Da),f!==null){zn=f;return}if(o=o.sibling,o!==null){zn=o;return}zn=o=a}while(o!==null);Cr===0&&(Cr=5)}function Vs(a,o,f){var m=Ut,S=yi.transition;try{yi.transition=null,Ut=1,xC(a,o,f,m)}finally{yi.transition=S,Ut=m}return null}function xC(a,o,f,m){do Wu();while(Ci!==null);if(zt&6)throw Error(i(327));f=a.finishedWork;var S=a.finishedLanes;if(f===null)return null;if(a.finishedWork=null,a.finishedLanes=0,f===a.current)throw Error(i(177));a.callbackNode=null,a.callbackPriority=0;var w=f.lanes|f.childLanes;if(Rc(a,w),a===nr&&(zn=nr=null,br=0),!(f.subtreeFlags&2064)&&!(f.flags&2064)||$u||($u=!0,Ug(Lt,function(){return Wu(),null})),w=(f.flags&15990)!==0,f.subtreeFlags&15990||w){w=yi.transition,yi.transition=null;var k=Ut;Ut=1;var W=zt;zt|=4,Hd.current=null,mC(a,f),kg(f,a),pl(Cv),cu=!!bv,Cv=bv=null,a.current=f,gC(f),Qi(),zt=W,Ut=k,yi.transition=w}else a.current=f;if($u&&($u=!1,Ci=a,Gd=S),w=a.pendingLanes,w===0&&(bi=null),xc(f.stateNode),xr(a,Dn()),o!==null)for(m=a.onRecoverableError,f=0;f<o.length;f++)S=o[f],m(S.value,{componentStack:S.stack,digest:S.digest});if($d)throw $d=!1,a=Xv,Xv=null,a;return Gd&1&&a.tag!==0&&Wu(),w=a.pendingLanes,w&1?a===Wd?vf++:(vf=0,Wd=a):vf=0,oo(),null}function Wu(){if(Ci!==null){var a=Ic(Gd),o=yi.transition,f=Ut;try{if(yi.transition=null,Ut=16>a?16:a,Ci===null)var m=!1;else{if(a=Ci,Ci=null,Gd=0,zt&6)throw Error(i(331));var S=zt;for(zt|=4,Ke=a.current;Ke!==null;){var w=Ke,k=w.child;if(Ke.flags&16){var W=w.deletions;if(W!==null){for(var Q=0;Q<W.length;Q++){var pe=W[Q];for(Ke=pe;Ke!==null;){var Me=Ke;switch(Me.tag){case 0:case 11:case 15:Lu(8,Me,w)}var Pe=Me.child;if(Pe!==null)Pe.return=Me,Ke=Pe;else for(;Ke!==null;){Me=Ke;var De=Me.sibling,Ye=Me.return;if(jg(Me),Me===pe){Ke=null;break}if(De!==null){De.return=Ye,Ke=De;break}Ke=Ye}}}var nt=w.alternate;if(nt!==null){var ot=nt.child;if(ot!==null){nt.child=null;do{var cr=ot.sibling;ot.sibling=null,ot=cr}while(ot!==null)}}Ke=w}}if(w.subtreeFlags&2064&&k!==null)k.return=w,Ke=k;else e:for(;Ke!==null;){if(w=Ke,w.flags&2048)switch(w.tag){case 0:case 11:case 15:Lu(9,w,w.return)}var ae=w.sibling;if(ae!==null){ae.return=w.return,Ke=ae;break e}Ke=w.return}}var ee=a.current;for(Ke=ee;Ke!==null;){k=Ke;var se=k.child;if(k.subtreeFlags&2064&&se!==null)se.return=k,Ke=se;else e:for(k=ee;Ke!==null;){if(W=Ke,W.flags&2048)try{switch(W.tag){case 0:case 11:case 15:Bd(9,W)}}catch(lt){rr(W,W.return,lt)}if(W===k){Ke=null;break e}var ze=W.sibling;if(ze!==null){ze.return=W.return,Ke=ze;break e}Ke=W.return}}if(zt=S,oo(),Ca&&typeof Ca.onPostCommitFiberRoot=="function")try{Ca.onPostCommitFiberRoot(ms,a)}catch{}m=!0}return m}finally{Ut=f,yi.transition=o}}return!1}function Bg(a,o,f){o=Ls(f,o),o=Rg(a,o,1),a=js(a,o,1),o=Ar(),a!==null&&(ys(a,1,o),xr(a,o))}function rr(a,o,f){if(a.tag===3)Bg(a,a,f);else for(;o!==null;){if(o.tag===3){Bg(o,a,f);break}else if(o.tag===1){var m=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(bi===null||!bi.has(m))){a=Ls(f,a),a=Tg(o,a,1),o=js(o,a,1),a=Ar(),o!==null&&(ys(o,1,a),xr(o,a));break}}o=o.return}}function SC(a,o,f){var m=a.pingCache;m!==null&&m.delete(o),o=Ar(),a.pingedLanes|=a.suspendedLanes&f,nr===a&&(br&f)===f&&(Cr===4||Cr===3&&(br&130023424)===br&&500>Dn()-Ud?kl(a,0):Wv|=f),xr(a,o)}function zg(a,o){o===0&&(a.mode&1?(o=ou,ou<<=1,!(ou&130023424)&&(ou=4194304)):o=1);var f=Ar();a=$o(a,o),a!==null&&(ys(a,o,f),xr(a,f))}function qv(a){var o=a.memoizedState,f=0;o!==null&&(f=o.retryLane),zg(a,f)}function EC(a,o){var f=0;switch(a.tag){case 13:var m=a.stateNode,S=a.memoizedState;S!==null&&(f=S.retryLane);break;case 19:m=a.stateNode;break;default:throw Error(i(314))}m!==null&&m.delete(o),zg(a,f)}var Hg;Hg=function(a,o,f){if(a!==null)if(a.memoizedProps!==o.pendingProps||Ot.current)Aa=!0;else{if(!(a.lanes&f)&&!(o.flags&128))return Aa=!1,Wo(a,o,f);Aa=!!(a.flags&131072)}else Aa=!1,Bn&&o.flags&1048576&&_s(o,yl,o.index);switch(o.lanes=0,o.tag){case 2:var m=o.type;ff(a,o),a=o.pendingProps;var S=Wa(o,Nr.current);ir(o,f),S=Sl(null,o,m,a,S,f);var w=ks();return o.flags|=1,typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,vr(m)?(w=!0,gl(o)):w=!1,o.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,Av(o),S.updater=gd,o.stateNode=S,S._reactInternals=o,Dv(o,m,a,f),o=kd(null,o,m,!0,w,f)):(o.tag=0,Bn&&w&&dd(o),lr(null,o,S,f),o=o.child),o;case 16:m=o.elementType;e:{switch(ff(a,o),a=o.pendingProps,S=m._init,m=S(m._payload),o.type=m,S=o.tag=wC(m),a=Na(m,a),S){case 0:o=Dt(null,o,m,a,f);break e;case 1:o=uf(null,o,m,a,f);break e;case 11:o=Au(null,o,m,a,f);break e;case 14:o=Ps(null,o,m,Na(m.type,a),f);break e}throw Error(i(306,m,""))}return o;case 0:return m=o.type,S=o.pendingProps,S=o.elementType===m?S:Na(m,S),Dt(a,o,m,S,f);case 1:return m=o.type,S=o.pendingProps,S=o.elementType===m?S:Na(m,S),uf(a,o,m,S,f);case 3:e:{if(pC(o),a===null)throw Error(i(387));m=o.pendingProps,w=o.memoizedState,S=w.element,hg(a,o),Jc(o,m,null,f);var k=o.memoizedState;if(m=k.element,w.isDehydrated)if(w={element:m,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},o.updateQueue.baseState=w,o.memoizedState=w,o.flags&256){S=Ls(Error(i(423)),o),o=_g(a,o,m,f,S);break e}else if(m!==S){S=Ls(Error(i(424)),o),o=_g(a,o,m,f,S);break e}else for(Ya=Ga(o.stateNode.containerInfo.firstChild),Xa=o,Bn=!0,pi=null,f=Sg(o,null,m,f),o.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(Cu(),m===S){o=ur(a,o,f);break e}lr(a,o,m,f)}o=o.child}return o;case 5:return yd(o),a===null&&vd(o),m=o.type,S=o.pendingProps,w=a!==null?a.memoizedProps:null,k=S.children,ml(m,S)?k=null:w!==null&&ml(m,w)&&(o.flags|=32),Nl(a,o),lr(a,o,k,f),o.child;case 6:return a===null&&vd(o),null;case 13:return Og(a,o,f);case 4:return kv(o,o.stateNode.containerInfo),m=o.pendingProps,a===null?o.child=Ru(o,null,m,f):lr(a,o,m,f),o.child;case 11:return m=o.type,S=o.pendingProps,S=o.elementType===m?S:Na(m,S),Au(a,o,m,S,f);case 7:return lr(a,o,o.pendingProps,f),o.child;case 8:return lr(a,o,o.pendingProps.children,f),o.child;case 12:return lr(a,o,o.pendingProps.children,f),o.child;case 10:e:{if(m=o.type._context,S=o.pendingProps,w=o.memoizedProps,k=S.value,tn(xu,m._currentValue),m._currentValue=k,w!==null)if(Bi(w.value,k)){if(w.children===S.children&&!Ot.current){o=ur(a,o,f);break e}}else for(w=o.child,w!==null&&(w.return=o);w!==null;){var W=w.dependencies;if(W!==null){k=w.child;for(var Q=W.firstContext;Q!==null;){if(Q.context===m){if(w.tag===1){Q=kn(-1,f&-f),Q.tag=2;var pe=w.updateQueue;if(pe!==null){pe=pe.shared;var Me=pe.pending;Me===null?Q.next=Q:(Q.next=Me.next,Me.next=Q),pe.pending=Q}}w.lanes|=f,Q=w.alternate,Q!==null&&(Q.lanes|=f),Os(w.return,f,o),W.lanes|=f;break}Q=Q.next}}else if(w.tag===10)k=w.type===o.type?null:w.child;else if(w.tag===18){if(k=w.return,k===null)throw Error(i(341));k.lanes|=f,W=k.alternate,W!==null&&(W.lanes|=f),Os(k,f,o),k=w.sibling}else k=w.child;if(k!==null)k.return=w;else for(k=w;k!==null;){if(k===o){k=null;break}if(w=k.sibling,w!==null){w.return=k.return,k=w;break}k=k.return}w=k}lr(a,o,S.children,f),o=o.child}return o;case 9:return S=o.type,m=o.pendingProps.children,ir(o,f),S=He(S),m=m(S),o.flags|=1,lr(a,o,m,f),o.child;case 14:return m=o.type,S=Na(m,o.pendingProps),S=Na(m.type,S),Ps(a,o,m,S,f);case 15:return Dd(a,o,o.type,o.pendingProps,f);case 17:return m=o.type,S=o.pendingProps,S=o.elementType===m?S:Na(m,S),ff(a,o),o.tag=1,vr(m)?(a=!0,gl(o)):a=!1,ir(o,f),yg(o,m,S),Dv(o,m,S,f),kd(null,o,m,!0,a,f);case 19:return zv(a,o,f);case 22:return ja(a,o,f)}throw Error(i(156,o.tag))};function Ug(a,o){return An(a,o)}function $g(a,o,f,m){this.tag=a,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=m,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xi(a,o,f,m){return new $g(a,o,f,m)}function Qv(a){return a=a.prototype,!(!a||!a.isReactComponent)}function wC(a){if(typeof a=="function")return Qv(a)?1:0;if(a!=null){if(a=a.$$typeof,a===fe)return 11;if(a===xe)return 14}return 2}function Bs(a,o){var f=a.alternate;return f===null?(f=xi(a.tag,o,a.key,a.mode),f.elementType=a.elementType,f.type=a.type,f.stateNode=a.stateNode,f.alternate=a,a.alternate=f):(f.pendingProps=o,f.type=a.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=a.flags&14680064,f.childLanes=a.childLanes,f.lanes=a.lanes,f.child=a.child,f.memoizedProps=a.memoizedProps,f.memoizedState=a.memoizedState,f.updateQueue=a.updateQueue,o=a.dependencies,f.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},f.sibling=a.sibling,f.index=a.index,f.ref=a.ref,f}function Jd(a,o,f,m,S,w){var k=2;if(m=a,typeof a=="function")Qv(a)&&(k=1);else if(typeof a=="string")k=5;else e:switch(a){case J:return Ml(f.children,S,w,o);case q:k=8,S|=8;break;case Re:return a=xi(12,f,o,S|2),a.elementType=Re,a.lanes=w,a;case Oe:return a=xi(13,f,o,S),a.elementType=Oe,a.lanes=w,a;case Te:return a=xi(19,f,o,S),a.elementType=Te,a.lanes=w,a;case Le:return qd(f,S,w,o);default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case he:k=10;break e;case ge:k=9;break e;case fe:k=11;break e;case xe:k=14;break e;case je:k=16,m=null;break e}throw Error(i(130,a==null?a:typeof a,""))}return o=xi(k,f,o,S),o.elementType=a,o.type=m,o.lanes=w,o}function Ml(a,o,f,m){return a=xi(7,a,m,o),a.lanes=f,a}function qd(a,o,f,m){return a=xi(22,a,m,o),a.elementType=Le,a.lanes=f,a.stateNode={isHidden:!1},a}function Qd(a,o,f){return a=xi(6,a,null,o),a.lanes=f,a}function gf(a,o,f){return o=xi(4,a.children!==null?a.children:[],a.key,o),o.lanes=f,o.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},o}function yf(a,o,f,m,S){this.tag=o,this.containerInfo=a,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ul(0),this.expirationTimes=ul(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ul(0),this.identifierPrefix=m,this.onRecoverableError=S,this.mutableSourceEagerHydrationData=null}function Kv(a,o,f,m,S,w,k,W,Q){return a=new yf(a,o,f,W,Q),o===1?(o=1,w===!0&&(o|=8)):o=0,w=xi(3,null,null,o),a.current=w,w.stateNode=a,w.memoizedState={element:m,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},Av(w),a}function Gg(a,o,f){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:U,key:m==null?null:""+m,children:a,containerInfo:o,implementation:f}}function eh(a){if(!a)return ci;a=a._reactInternals;e:{if(We(a)!==a||a.tag!==1)throw Error(i(170));var o=a;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(vr(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(i(171))}if(a.tag===1){var f=a.type;if(vr(f))return Ts(a,f,o)}return o}function th(a,o,f,m,S,w,k,W,Q){return a=Kv(f,m,!0,a,S,w,k,W,Q),a.context=eh(null),f=a.current,m=Ar(),S=Yo(f),w=kn(m,S),w.callback=o??null,js(f,w,S),a.current.lanes=S,ys(a,S,m),xr(a,m),a}function Kd(a,o,f,m){var S=o.current,w=Ar(),k=Yo(S);return f=eh(f),o.context===null?o.context=f:o.pendingContext=f,o=kn(w,k),o.payload={element:a},m=m===void 0?null:m,m!==null&&(o.callback=m),a=js(S,o,k),a!==null&&(Zn(a,S,k,w),md(a,S,k)),k}function bf(a){if(a=a.current,!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function Wg(a,o){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var f=a.retryLane;a.retryLane=f!==0&&f<o?f:o}}function nh(a,o){Wg(a,o),(a=a.alternate)&&Wg(a,o)}function RC(){return null}var rh=typeof reportError=="function"?reportError:function(a){console.error(a)};function ep(a){this._internalRoot=a}Cf.prototype.render=ep.prototype.render=function(a){var o=this._internalRoot;if(o===null)throw Error(i(409));Kd(a,o,null,null)},Cf.prototype.unmount=ep.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var o=a.containerInfo;vo(function(){Kd(null,a,null,null)}),o[zi]=null}};function Cf(a){this._internalRoot=a}Cf.prototype.unstable_scheduleHydration=function(a){if(a){var o=Yt();a={blockedOn:null,target:a,priority:o};for(var f=0;f<Fn.length&&o!==0&&o<Fn[f].priority;f++);Fn.splice(f,0,a),f===0&&Fi(a)}};function zs(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function tp(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11&&(a.nodeType!==8||a.nodeValue!==" react-mount-point-unstable "))}function Xg(){}function TC(a,o,f,m,S){if(S){if(typeof m=="function"){var w=m;m=function(){var pe=bf(k);w.call(pe)}}var k=th(o,m,a,0,null,!1,!1,"",Xg);return a._reactRootContainer=k,a[zi]=k.current,ro(a.nodeType===8?a.parentNode:a),vo(),k}for(;S=a.lastChild;)a.removeChild(S);if(typeof m=="function"){var W=m;m=function(){var pe=bf(Q);W.call(pe)}}var Q=Kv(a,0,!1,null,null,!1,!1,"",Xg);return a._reactRootContainer=Q,a[zi]=Q.current,ro(a.nodeType===8?a.parentNode:a),vo(function(){Kd(o,Q,f,m)}),Q}function np(a,o,f,m,S){var w=f._reactRootContainer;if(w){var k=w;if(typeof S=="function"){var W=S;S=function(){var Q=bf(k);W.call(Q)}}Kd(o,k,a,S)}else k=TC(f,o,a,S,m);return bf(k)}su=function(a){switch(a.tag){case 3:var o=a.stateNode;if(o.current.memoizedState.isDehydrated){var f=Ao(o.pendingLanes);f!==0&&(Tc(o,f|1),xr(o,Dn()),!(zt&6)&&(Uu=Dn()+500,oo()))}break;case 13:vo(function(){var m=$o(a,1);if(m!==null){var S=Ar();Zn(m,a,1,S)}}),nh(a,1)}},bs=function(a){if(a.tag===13){var o=$o(a,134217728);if(o!==null){var f=Ar();Zn(o,a,134217728,f)}nh(a,134217728)}},Nc=function(a){if(a.tag===13){var o=Yo(a),f=$o(a,o);if(f!==null){var m=Ar();Zn(f,a,o,m)}nh(a,o)}},Yt=function(){return Ut},lu=function(a,o){var f=Ut;try{return Ut=a,o()}finally{Ut=f}},pn=function(a,o,f){switch(o){case"input":if(on(a,f),o=f.name,f.type==="radio"&&o!=null){for(f=a;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<f.length;o++){var m=f[o];if(m!==a&&m.form===a.form){var S=cd(m);if(!S)throw Error(i(90));ft(m),on(m,S)}}}break;case"textarea":$n(a,f);break;case"select":o=f.value,o!=null&&Cn(a,!!f.multiple,o,!1)}},vs=Jv,al=vo;var IC={usingClientEntryPoint:!1,Events:[ao,bu,cd,ki,ai,Jv]},xf={findFiberByHostInstance:Ho,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Yg={bundleType:xf.bundleType,version:xf.version,rendererPackageName:xf.rendererPackageName,rendererConfig:xf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:H.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){return a=vt(a),a===null?null:a.stateNode},findFiberByHostInstance:xf.findFiberByHostInstance||RC,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var rp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rp.isDisabled&&rp.supportsFiber)try{ms=rp.inject(Yg),Ca=rp}catch{}}return Ii.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=IC,Ii.createPortal=function(a,o){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!zs(o))throw Error(i(200));return Gg(a,o,null,f)},Ii.createRoot=function(a,o){if(!zs(a))throw Error(i(299));var f=!1,m="",S=rh;return o!=null&&(o.unstable_strictMode===!0&&(f=!0),o.identifierPrefix!==void 0&&(m=o.identifierPrefix),o.onRecoverableError!==void 0&&(S=o.onRecoverableError)),o=Kv(a,1,!1,null,null,f,!1,m,S),a[zi]=o.current,ro(a.nodeType===8?a.parentNode:a),new ep(o)},Ii.findDOMNode=function(a){if(a==null)return null;if(a.nodeType===1)return a;var o=a._reactInternals;if(o===void 0)throw typeof a.render=="function"?Error(i(188)):(a=Object.keys(a).join(","),Error(i(268,a)));return a=vt(o),a=a===null?null:a.stateNode,a},Ii.flushSync=function(a){return vo(a)},Ii.hydrate=function(a,o,f){if(!tp(o))throw Error(i(200));return np(null,a,o,!0,f)},Ii.hydrateRoot=function(a,o,f){if(!zs(a))throw Error(i(405));var m=f!=null&&f.hydratedSources||null,S=!1,w="",k=rh;if(f!=null&&(f.unstable_strictMode===!0&&(S=!0),f.identifierPrefix!==void 0&&(w=f.identifierPrefix),f.onRecoverableError!==void 0&&(k=f.onRecoverableError)),o=th(o,null,a,1,f??null,S,!1,w,k),a[zi]=o.current,ro(a),m)for(a=0;a<m.length;a++)f=m[a],S=f._getVersion,S=S(f._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[f,S]:o.mutableSourceEagerHydrationData.push(f,S);return new Cf(o)},Ii.render=function(a,o,f){if(!tp(o))throw Error(i(200));return np(null,a,o,!1,f)},Ii.unmountComponentAtNode=function(a){if(!tp(a))throw Error(i(40));return a._reactRootContainer?(vo(function(){np(null,null,a,!1,function(){a._reactRootContainer=null,a[zi]=null})}),!0):!1},Ii.unstable_batchedUpdates=Jv,Ii.unstable_renderSubtreeIntoContainer=function(a,o,f,m){if(!tp(f))throw Error(i(200));if(a==null||a._reactInternals===void 0)throw Error(i(38));return np(a,o,f,!1,m)},Ii.version="18.2.0-next-9e3b772b8-20220608",Ii}var Ni={},PN;function ez(){if(PN)return Ni;PN=1;var n={};/**
97
97
  * @license React
98
98
  * react-dom.development.js
99
99
  *
@@ -101,15 +101,15 @@ Error generating stack: `+w.message+`
101
101
  *
102
102
  * This source code is licensed under the MIT license found in the
103
103
  * LICENSE file in the root directory of this source tree.
104
- */return n.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=qf(),i=WO(),u=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function d(e){l=e}function h(e){if(!l){for(var t=arguments.length,s=new Array(t>1?t-1:0),c=1;c<t;c++)s[c-1]=arguments[c];y("warn",e,s)}}function v(e){if(!l){for(var t=arguments.length,s=new Array(t>1?t-1:0),c=1;c<t;c++)s[c-1]=arguments[c];y("error",e,s)}}function y(e,t,s){{var c=u.ReactDebugCurrentFrame,p=c.getStackAddendum();p!==""&&(t+="%s",s=s.concat([p]));var g=s.map(function(E){return String(E)});g.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,g)}}var C=0,x=1,R=2,T=3,j=4,N=5,O=6,_=7,L=8,F=9,V=10,H=11,z=12,U=13,J=14,q=15,Re=16,he=17,ge=18,fe=19,Oe=21,Te=22,xe=23,je=24,Le=25,ne=!0,_e=!1,G=!1,Y=!1,re=!1,ye=!0,Se=!1,Ne=!1,le=!0,ve=!0,we=!0,Ve=new Set,et={},tt={};function ft(e,t){Ae(e,t),Ae(e+"Capture",t)}function Ae(e,t){et[e]&&v("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),et[e]=t;{var s=e.toLowerCase();tt[s]=e,e==="onDoubleClick"&&(tt.ondblclick=e)}for(var c=0;c<t.length;c++)Ve.add(t[c])}var It=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",pt=Object.prototype.hasOwnProperty;function Kt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,s=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s}}function on(e){try{return sn(e),!1}catch{return!0}}function sn(e){return""+e}function _n(e,t){if(on(e))return v("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Kt(e)),sn(e)}function Vt(e){if(on(e))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Kt(e)),sn(e)}function Cn(e,t){if(on(e))return v("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Kt(e)),sn(e)}function qn(e,t){if(on(e))return v("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Kt(e)),sn(e)}function Rr(e){if(on(e))return v("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Kt(e)),sn(e)}function $n(e){if(on(e))return v("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",Kt(e)),sn(e)}var Tr=0,xt=1,Pn=2,ln=3,Ba=4,za=5,Ha=6,Ge=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",dt=Ge+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Mt=new RegExp("^["+Ge+"]["+dt+"]*$"),un={},en={};function ar(e){return pt.call(en,e)?!0:pt.call(un,e)?!1:Mt.test(e)?(en[e]=!0,!0):(un[e]=!0,v("Invalid attribute name: `%s`",e),!1)}function Gn(e,t,s){return t!==null?t.type===Tr:s?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Xr(e,t,s,c){if(s!==null&&s.type===Tr)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(c)return!1;if(s!==null)return!s.acceptsBooleans;var p=e.toLowerCase().slice(0,5);return p!=="data-"&&p!=="aria-"}default:return!1}}function pn(e,t,s,c){if(t===null||typeof t>"u"||Xr(e,t,s,c))return!0;if(c)return!1;if(s!==null)switch(s.type){case ln:return!t;case Ba:return t===!1;case za:return isNaN(t);case Ha:return isNaN(t)||t<1}return!1}function Ir(e){return On.hasOwnProperty(e)?On[e]:null}function cn(e,t,s,c,p,g,E){this.acceptsBooleans=t===Pn||t===ln||t===Ba,this.attributeName=c,this.attributeNamespace=p,this.mustUseProperty=s,this.propertyName=e,this.type=t,this.sanitizeURL=g,this.removeEmptyString=E}var On={},ki=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ki.forEach(function(e){On[e]=new cn(e,Tr,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],s=e[1];On[t]=new cn(t,xt,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){On[e]=new cn(e,Pn,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){On[e]=new cn(e,Pn,!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){On[e]=new cn(e,ln,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){On[e]=new cn(e,ln,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){On[e]=new cn(e,Ba,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){On[e]=new cn(e,Ha,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){On[e]=new cn(e,za,!1,e.toLowerCase(),null,!1,!1)});var ai=/[\-\:]([a-z])/g,ps=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(ai,ps);On[t]=new cn(t,xt,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ai,ps);On[t]=new cn(t,xt,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ai,ps);On[t]=new cn(t,xt,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){On[e]=new cn(e,xt,!1,e.toLowerCase(),null,!1,!1)});var rl="xlinkHref";On[rl]=new cn("xlinkHref",xt,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){On[e]=new cn(e,xt,!1,e.toLowerCase(),null,!0,!0)});var al=/^[\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,vs=!1;function Mi(e){!vs&&al.test(e)&&(vs=!0,v("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 Li(e,t,s,c){if(c.mustUseProperty){var p=c.propertyName;return e[p]}else{_n(s,t),c.sanitizeURL&&Mi(""+s);var g=c.attributeName,E=null;if(c.type===Ba){if(e.hasAttribute(g)){var I=e.getAttribute(g);return I===""?!0:pn(t,s,c,!1)?I:I===""+s?s:I}}else if(e.hasAttribute(g)){if(pn(t,s,c,!1))return e.getAttribute(g);if(c.type===ln)return s;E=e.getAttribute(g)}return pn(t,s,c,!1)?E===null?s:E:E===""+s?s:E}}function ii(e,t,s,c){{if(!ar(t))return;if(!e.hasAttribute(t))return s===void 0?void 0:null;var p=e.getAttribute(t);return _n(s,t),p===""+s?s:p}}function Io(e,t,s,c){var p=Ir(t);if(!Gn(t,p,c)){if(pn(t,s,p,c)&&(s=null),c||p===null){if(ar(t)){var g=t;s===null?e.removeAttribute(g):(_n(s,t),e.setAttribute(g,""+s))}return}var E=p.mustUseProperty;if(E){var I=p.propertyName;if(s===null){var A=p.type;e[I]=A===ln?!1:""}else e[I]=s;return}var P=p.attributeName,B=p.attributeNamespace;if(s===null)e.removeAttribute(P);else{var te=p.type,K;te===ln||te===Ba&&s===!0?K="":(_n(s,P),K=""+s,p.sanitizeURL&&Mi(K.toString())),B?e.setAttributeNS(B,P,K):e.setAttribute(P,K)}}}var ga=Symbol.for("react.element"),ya=Symbol.for("react.portal"),Ua=Symbol.for("react.fragment"),No=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),Ue=Symbol.for("react.context"),We=Symbol.for("react.forward_ref"),Bt=Symbol.for("react.suspense"),$t=Symbol.for("react.suspense_list"),kt=Symbol.for("react.memo"),vt=Symbol.for("react.lazy"),pr=Symbol.for("react.scope"),An=Symbol.for("react.debug_trace_mode"),jn=Symbol.for("react.offscreen"),Yr=Symbol.for("react.legacy_hidden"),Qi=Symbol.for("react.cache"),Dn=Symbol.for("react.tracing_marker"),ba=Symbol.iterator,bc="@@iterator";function Ki(e){if(e===null||typeof e!="object")return null;var t=ba&&e[ba]||e[bc];return typeof t=="function"?t:null}var Lt=Object.assign,il=0,_o,hs,Ca,Cc,ra,xc,Sc;function Ec(){}Ec.__reactDisabledLog=!0;function ol(){{if(il===0){_o=console.log,hs=console.info,Ca=console.warn,Cc=console.error,ra=console.group,xc=console.groupCollapsed,Sc=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ec,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}il++}}function iu(){{if(il--,il===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Lt({},e,{value:_o}),info:Lt({},e,{value:hs}),warn:Lt({},e,{value:Ca}),error:Lt({},e,{value:Cc}),group:Lt({},e,{value:ra}),groupCollapsed:Lt({},e,{value:xc}),groupEnd:Lt({},e,{value:Sc})})}il<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Oo=u.ReactCurrentDispatcher,eo;function oi(e,t,s){{if(eo===void 0)try{throw Error()}catch(p){var c=p.stack.trim().match(/\n( *(at )?)/);eo=c&&c[1]||""}return`
105
- `+eo+e}}var ms=!1,to;{var sl=typeof WeakMap=="function"?WeakMap:Map;to=new sl}function ll(e,t){if(!e||ms)return"";{var s=to.get(e);if(s!==void 0)return s}var c;ms=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=Oo.current,Oo.current=null,ol();try{if(t){var E=function(){throw Error()};if(Object.defineProperty(E.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(E,[])}catch(de){c=de}Reflect.construct(e,[],E)}else{try{E.call()}catch(de){c=de}e.call(E.prototype)}}else{try{throw Error()}catch(de){c=de}e()}}catch(de){if(de&&c&&typeof de.stack=="string"){for(var I=de.stack.split(`
104
+ */return n.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=Qf(),i=WO(),u=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function d(e){l=e}function h(e){if(!l){for(var t=arguments.length,s=new Array(t>1?t-1:0),c=1;c<t;c++)s[c-1]=arguments[c];y("warn",e,s)}}function v(e){if(!l){for(var t=arguments.length,s=new Array(t>1?t-1:0),c=1;c<t;c++)s[c-1]=arguments[c];y("error",e,s)}}function y(e,t,s){{var c=u.ReactDebugCurrentFrame,p=c.getStackAddendum();p!==""&&(t+="%s",s=s.concat([p]));var g=s.map(function(E){return String(E)});g.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,g)}}var C=0,x=1,R=2,T=3,j=4,N=5,O=6,_=7,L=8,F=9,V=10,H=11,z=12,U=13,J=14,q=15,Re=16,he=17,ge=18,fe=19,Oe=21,Te=22,xe=23,je=24,Le=25,ne=!0,_e=!1,G=!1,Y=!1,re=!1,ye=!0,Se=!1,Ne=!1,le=!0,ve=!0,we=!0,Ve=new Set,et={},tt={};function ft(e,t){Ae(e,t),Ae(e+"Capture",t)}function Ae(e,t){et[e]&&v("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),et[e]=t;{var s=e.toLowerCase();tt[s]=e,e==="onDoubleClick"&&(tt.ondblclick=e)}for(var c=0;c<t.length;c++)Ve.add(t[c])}var It=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",pt=Object.prototype.hasOwnProperty;function Kt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,s=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s}}function on(e){try{return sn(e),!1}catch{return!0}}function sn(e){return""+e}function _n(e,t){if(on(e))return v("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Kt(e)),sn(e)}function Vt(e){if(on(e))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Kt(e)),sn(e)}function Cn(e,t){if(on(e))return v("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Kt(e)),sn(e)}function qn(e,t){if(on(e))return v("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Kt(e)),sn(e)}function Rr(e){if(on(e))return v("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Kt(e)),sn(e)}function $n(e){if(on(e))return v("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",Kt(e)),sn(e)}var Tr=0,xt=1,Pn=2,ln=3,Ba=4,za=5,Ha=6,Ge=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",dt=Ge+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Mt=new RegExp("^["+Ge+"]["+dt+"]*$"),un={},en={};function ar(e){return pt.call(en,e)?!0:pt.call(un,e)?!1:Mt.test(e)?(en[e]=!0,!0):(un[e]=!0,v("Invalid attribute name: `%s`",e),!1)}function Gn(e,t,s){return t!==null?t.type===Tr:s?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Xr(e,t,s,c){if(s!==null&&s.type===Tr)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(c)return!1;if(s!==null)return!s.acceptsBooleans;var p=e.toLowerCase().slice(0,5);return p!=="data-"&&p!=="aria-"}default:return!1}}function pn(e,t,s,c){if(t===null||typeof t>"u"||Xr(e,t,s,c))return!0;if(c)return!1;if(s!==null)switch(s.type){case ln:return!t;case Ba:return t===!1;case za:return isNaN(t);case Ha:return isNaN(t)||t<1}return!1}function Ir(e){return On.hasOwnProperty(e)?On[e]:null}function cn(e,t,s,c,p,g,E){this.acceptsBooleans=t===Pn||t===ln||t===Ba,this.attributeName=c,this.attributeNamespace=p,this.mustUseProperty=s,this.propertyName=e,this.type=t,this.sanitizeURL=g,this.removeEmptyString=E}var On={},ki=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ki.forEach(function(e){On[e]=new cn(e,Tr,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],s=e[1];On[t]=new cn(t,xt,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){On[e]=new cn(e,Pn,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){On[e]=new cn(e,Pn,!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){On[e]=new cn(e,ln,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){On[e]=new cn(e,ln,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){On[e]=new cn(e,Ba,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){On[e]=new cn(e,Ha,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){On[e]=new cn(e,za,!1,e.toLowerCase(),null,!1,!1)});var ai=/[\-\:]([a-z])/g,vs=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(ai,vs);On[t]=new cn(t,xt,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ai,vs);On[t]=new cn(t,xt,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ai,vs);On[t]=new cn(t,xt,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){On[e]=new cn(e,xt,!1,e.toLowerCase(),null,!1,!1)});var al="xlinkHref";On[al]=new cn("xlinkHref",xt,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){On[e]=new cn(e,xt,!1,e.toLowerCase(),null,!0,!0)});var il=/^[\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,hs=!1;function Mi(e){!hs&&il.test(e)&&(hs=!0,v("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 Li(e,t,s,c){if(c.mustUseProperty){var p=c.propertyName;return e[p]}else{_n(s,t),c.sanitizeURL&&Mi(""+s);var g=c.attributeName,E=null;if(c.type===Ba){if(e.hasAttribute(g)){var I=e.getAttribute(g);return I===""?!0:pn(t,s,c,!1)?I:I===""+s?s:I}}else if(e.hasAttribute(g)){if(pn(t,s,c,!1))return e.getAttribute(g);if(c.type===ln)return s;E=e.getAttribute(g)}return pn(t,s,c,!1)?E===null?s:E:E===""+s?s:E}}function ii(e,t,s,c){{if(!ar(t))return;if(!e.hasAttribute(t))return s===void 0?void 0:null;var p=e.getAttribute(t);return _n(s,t),p===""+s?s:p}}function No(e,t,s,c){var p=Ir(t);if(!Gn(t,p,c)){if(pn(t,s,p,c)&&(s=null),c||p===null){if(ar(t)){var g=t;s===null?e.removeAttribute(g):(_n(s,t),e.setAttribute(g,""+s))}return}var E=p.mustUseProperty;if(E){var I=p.propertyName;if(s===null){var A=p.type;e[I]=A===ln?!1:""}else e[I]=s;return}var P=p.attributeName,B=p.attributeNamespace;if(s===null)e.removeAttribute(P);else{var te=p.type,K;te===ln||te===Ba&&s===!0?K="":(_n(s,P),K=""+s,p.sanitizeURL&&Mi(K.toString())),B?e.setAttributeNS(B,P,K):e.setAttribute(P,K)}}}var ga=Symbol.for("react.element"),ya=Symbol.for("react.portal"),Ua=Symbol.for("react.fragment"),_o=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),Ue=Symbol.for("react.context"),We=Symbol.for("react.forward_ref"),Bt=Symbol.for("react.suspense"),$t=Symbol.for("react.suspense_list"),kt=Symbol.for("react.memo"),vt=Symbol.for("react.lazy"),pr=Symbol.for("react.scope"),An=Symbol.for("react.debug_trace_mode"),jn=Symbol.for("react.offscreen"),Yr=Symbol.for("react.legacy_hidden"),Qi=Symbol.for("react.cache"),Dn=Symbol.for("react.tracing_marker"),ba=Symbol.iterator,Cc="@@iterator";function Ki(e){if(e===null||typeof e!="object")return null;var t=ba&&e[ba]||e[Cc];return typeof t=="function"?t:null}var Lt=Object.assign,ol=0,Oo,ms,Ca,xc,ra,Sc,Ec;function wc(){}wc.__reactDisabledLog=!0;function sl(){{if(ol===0){Oo=console.log,ms=console.info,Ca=console.warn,xc=console.error,ra=console.group,Sc=console.groupCollapsed,Ec=console.groupEnd;var e={configurable:!0,enumerable:!0,value:wc,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ol++}}function ou(){{if(ol--,ol===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Lt({},e,{value:Oo}),info:Lt({},e,{value:ms}),warn:Lt({},e,{value:Ca}),error:Lt({},e,{value:xc}),group:Lt({},e,{value:ra}),groupCollapsed:Lt({},e,{value:Sc}),groupEnd:Lt({},e,{value:Ec})})}ol<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ao=u.ReactCurrentDispatcher,eo;function oi(e,t,s){{if(eo===void 0)try{throw Error()}catch(p){var c=p.stack.trim().match(/\n( *(at )?)/);eo=c&&c[1]||""}return`
105
+ `+eo+e}}var gs=!1,to;{var ll=typeof WeakMap=="function"?WeakMap:Map;to=new ll}function ul(e,t){if(!e||gs)return"";{var s=to.get(e);if(s!==void 0)return s}var c;gs=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=Ao.current,Ao.current=null,sl();try{if(t){var E=function(){throw Error()};if(Object.defineProperty(E.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(E,[])}catch(de){c=de}Reflect.construct(e,[],E)}else{try{E.call()}catch(de){c=de}e.call(E.prototype)}}else{try{throw Error()}catch(de){c=de}e()}}catch(de){if(de&&c&&typeof de.stack=="string"){for(var I=de.stack.split(`
106
106
  `),A=c.stack.split(`
107
107
  `),P=I.length-1,B=A.length-1;P>=1&&B>=0&&I[P]!==A[B];)B--;for(;P>=1&&B>=0;P--,B--)if(I[P]!==A[B]){if(P!==1||B!==1)do if(P--,B--,B<0||I[P]!==A[B]){var te=`
108
- `+I[P].replace(" at new "," at ");return e.displayName&&te.includes("<anonymous>")&&(te=te.replace("<anonymous>",e.displayName)),typeof e=="function"&&to.set(e,te),te}while(P>=1&&B>=0);break}}}finally{ms=!1,Oo.current=g,iu(),Error.prepareStackTrace=p}var K=e?e.displayName||e.name:"",ce=K?oi(K):"";return typeof e=="function"&&to.set(e,ce),ce}function gs(e,t,s){return ll(e,!0)}function wc(e,t,s){return ll(e,!1)}function Rc(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Ut(e,t,s){if(e==null)return"";if(typeof e=="function")return ll(e,Rc(e));if(typeof e=="string")return oi(e);switch(e){case Bt:return oi("Suspense");case $t:return oi("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case We:return wc(e.render);case kt:return Ut(e.type,t,s);case vt:{var c=e,p=c._payload,g=c._init;try{return Ut(g(p),t,s)}catch{}}}return""}function Tc(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case N:return oi(e.type);case Re:return oi("Lazy");case U:return oi("Suspense");case fe:return oi("SuspenseList");case C:case R:case q:return wc(e.type);case H:return wc(e.type.render);case x:return gs(e.type);default:return""}}function ou(e){try{var t="",s=e;do t+=Tc(s),s=s.return;while(s);return t}catch(c){return`
108
+ `+I[P].replace(" at new "," at ");return e.displayName&&te.includes("<anonymous>")&&(te=te.replace("<anonymous>",e.displayName)),typeof e=="function"&&to.set(e,te),te}while(P>=1&&B>=0);break}}}finally{gs=!1,Ao.current=g,ou(),Error.prepareStackTrace=p}var K=e?e.displayName||e.name:"",ce=K?oi(K):"";return typeof e=="function"&&to.set(e,ce),ce}function ys(e,t,s){return ul(e,!0)}function Rc(e,t,s){return ul(e,!1)}function Tc(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Ut(e,t,s){if(e==null)return"";if(typeof e=="function")return ul(e,Tc(e));if(typeof e=="string")return oi(e);switch(e){case Bt:return oi("Suspense");case $t:return oi("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case We:return Rc(e.render);case kt:return Ut(e.type,t,s);case vt:{var c=e,p=c._payload,g=c._init;try{return Ut(g(p),t,s)}catch{}}}return""}function Ic(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case N:return oi(e.type);case Re:return oi("Lazy");case U:return oi("Suspense");case fe:return oi("SuspenseList");case C:case R:case q:return Rc(e.type);case H:return Rc(e.type.render);case x:return ys(e.type);default:return""}}function su(e){try{var t="",s=e;do t+=Ic(s),s=s.return;while(s);return t}catch(c){return`
109
109
  Error generating stack: `+c.message+`
110
- `+c.stack}}function ys(e,t,s){var c=e.displayName;if(c)return c;var p=t.displayName||t.name||"";return p!==""?s+"("+p+")":s}function Ic(e){return e.displayName||"Context"}function Yt(e){if(e==null)return null;if(typeof e.tag=="number"&&v("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 Ua:return"Fragment";case ya:return"Portal";case Z:return"Profiler";case No:return"StrictMode";case Bt:return"Suspense";case $t:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ue:var t=e;return Ic(t)+".Consumer";case ke:var s=e;return Ic(s._context)+".Provider";case We:return ys(e,e.render,"ForwardRef");case kt:var c=e.displayName||null;return c!==null?c:Yt(e.type)||"Memo";case vt:{var p=e,g=p._payload,E=p._init;try{return Yt(E(g))}catch{return null}}}return null}function su(e,t,s){var c=t.displayName||t.name||"";return e.displayName||(c!==""?s+"("+c+")":s)}function ul(e){return e.displayName||"Context"}function Nt(e){var t=e.tag,s=e.type;switch(t){case je:return"Cache";case F:var c=s;return ul(c)+".Consumer";case V:var p=s;return ul(p._context)+".Provider";case ge:return"DehydratedFragment";case H:return su(s,s.render,"ForwardRef");case _:return"Fragment";case N:return s;case j:return"Portal";case T:return"Root";case O:return"Text";case Re:return Yt(s);case L:return s===No?"StrictMode":"Mode";case Te:return"Offscreen";case z:return"Profiler";case Oe:return"Scope";case U:return"Suspense";case fe:return"SuspenseList";case Le:return"TracingMarker";case x:case C:case he:case R:case J:case q:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;break}return null}var Pi=u.ReactDebugCurrentFrame,Wn=null,xa=!1;function si(){{if(Wn===null)return null;var e=Wn._debugOwner;if(e!==null&&typeof e<"u")return Nt(e)}return null}function bs(){return Wn===null?"":ou(Wn)}function Fn(){Pi.getCurrentStack=null,Wn=null,xa=!1}function Xn(e){Pi.getCurrentStack=e===null?null:bs,Wn=e,xa=!1}function Nc(){return Wn}function Mr(e){xa=e}function Sa(e){return""+e}function Fi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return $n(e),e;default:return""}}var lu={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function cl(e,t){lu[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||v("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||v("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 fl(e){var t=e.type,s=e.nodeName;return s&&s.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Cs(e){return e._valueTracker}function li(e){e._valueTracker=null}function Ao(e){var t="";return e&&(fl(e)?t=e.checked?"true":"false":t=e.value),t}function uu(e){var t=fl(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);$n(e[t]);var c=""+e[t];if(!(e.hasOwnProperty(t)||typeof s>"u"||typeof s.get!="function"||typeof s.set!="function")){var p=s.get,g=s.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return p.call(this)},set:function(I){$n(I),c=""+I,g.call(this,I)}}),Object.defineProperty(e,t,{enumerable:s.enumerable});var E={getValue:function(){return c},setValue:function(I){$n(I),c=""+I},stopTracking:function(){li(e),delete e[t]}};return E}}function jo(e){Cs(e)||(e._valueTracker=uu(e))}function cu(e){if(!e)return!1;var t=Cs(e);if(!t)return!0;var s=t.getValue(),c=Ao(e);return c!==s?(t.setValue(c),!0):!1}function no(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Do=!1,fu=!1,_c=!1,Vi=!1;function du(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function D(e,t){var s=e,c=t.checked,p=Lt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??s._wrapperState.initialChecked});return p}function X(e,t){cl("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!fu&&(v("%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",si()||"A component",t.type),fu=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Do&&(v("%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",si()||"A component",t.type),Do=!0);var s=e,c=t.defaultValue==null?"":t.defaultValue;s._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Fi(t.value!=null?t.value:c),controlled:du(t)}}function ue(e,t){var s=e,c=t.checked;c!=null&&Io(s,"checked",c,!1)}function me(e,t){var s=e;{var c=du(t);!s._wrapperState.controlled&&c&&!Vi&&(v("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"),Vi=!0),s._wrapperState.controlled&&!c&&!_c&&(v("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"),_c=!0)}ue(e,t);var p=Fi(t.value),g=t.type;if(p!=null)g==="number"?(p===0&&s.value===""||s.value!=p)&&(s.value=Sa(p)):s.value!==Sa(p)&&(s.value=Sa(p));else if(g==="submit"||g==="reset"){s.removeAttribute("value");return}t.hasOwnProperty("value")?wt(s,t.type,p):t.hasOwnProperty("defaultValue")&&wt(s,t.type,Fi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(s.defaultChecked=!!t.defaultChecked)}function Be(e,t,s){var c=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var p=t.type,g=p==="submit"||p==="reset";if(g&&(t.value===void 0||t.value===null))return;var E=Sa(c._wrapperState.initialValue);s||E!==c.value&&(c.value=E),c.defaultValue=E}var I=c.name;I!==""&&(c.name=""),c.defaultChecked=!c.defaultChecked,c.defaultChecked=!!c._wrapperState.initialChecked,I!==""&&(c.name=I)}function it(e,t){var s=e;me(s,t),Je(s,t)}function Je(e,t){var s=t.name;if(t.type==="radio"&&s!=null){for(var c=e;c.parentNode;)c=c.parentNode;_n(s,"name");for(var p=c.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),g=0;g<p.length;g++){var E=p[g];if(!(E===e||E.form!==e.form)){var I=fy(E);if(!I)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");cu(E),me(E,I)}}}}function wt(e,t,s){(t!=="number"||no(e.ownerDocument)!==e)&&(s==null?e.defaultValue=Sa(e._wrapperState.initialValue):e.defaultValue!==Sa(s)&&(e.defaultValue=Sa(s)))}var Pt=!1,fn=!1,vn=!1;function hn(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?r.Children.forEach(t.children,function(s){s!=null&&(typeof s=="string"||typeof s=="number"||fn||(fn=!0,v("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(vn||(vn=!0,v("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Pt&&(v("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Pt=!0)}function mn(e,t){t.value!=null&&e.setAttribute("value",Sa(Fi(t.value)))}var Vn=Array.isArray;function Zt(e){return Vn(e)}var xs;xs=!1;function pu(){var e=si();return e?`
110
+ `+c.stack}}function bs(e,t,s){var c=e.displayName;if(c)return c;var p=t.displayName||t.name||"";return p!==""?s+"("+p+")":s}function Nc(e){return e.displayName||"Context"}function Yt(e){if(e==null)return null;if(typeof e.tag=="number"&&v("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 Ua:return"Fragment";case ya:return"Portal";case Z:return"Profiler";case _o:return"StrictMode";case Bt:return"Suspense";case $t:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ue:var t=e;return Nc(t)+".Consumer";case ke:var s=e;return Nc(s._context)+".Provider";case We:return bs(e,e.render,"ForwardRef");case kt:var c=e.displayName||null;return c!==null?c:Yt(e.type)||"Memo";case vt:{var p=e,g=p._payload,E=p._init;try{return Yt(E(g))}catch{return null}}}return null}function lu(e,t,s){var c=t.displayName||t.name||"";return e.displayName||(c!==""?s+"("+c+")":s)}function cl(e){return e.displayName||"Context"}function Nt(e){var t=e.tag,s=e.type;switch(t){case je:return"Cache";case F:var c=s;return cl(c)+".Consumer";case V:var p=s;return cl(p._context)+".Provider";case ge:return"DehydratedFragment";case H:return lu(s,s.render,"ForwardRef");case _:return"Fragment";case N:return s;case j:return"Portal";case T:return"Root";case O:return"Text";case Re:return Yt(s);case L:return s===_o?"StrictMode":"Mode";case Te:return"Offscreen";case z:return"Profiler";case Oe:return"Scope";case U:return"Suspense";case fe:return"SuspenseList";case Le:return"TracingMarker";case x:case C:case he:case R:case J:case q:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;break}return null}var Pi=u.ReactDebugCurrentFrame,Wn=null,xa=!1;function si(){{if(Wn===null)return null;var e=Wn._debugOwner;if(e!==null&&typeof e<"u")return Nt(e)}return null}function Cs(){return Wn===null?"":su(Wn)}function Fn(){Pi.getCurrentStack=null,Wn=null,xa=!1}function Xn(e){Pi.getCurrentStack=e===null?null:Cs,Wn=e,xa=!1}function _c(){return Wn}function Mr(e){xa=e}function Sa(e){return""+e}function Fi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return $n(e),e;default:return""}}var uu={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function fl(e,t){uu[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||v("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||v("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 dl(e){var t=e.type,s=e.nodeName;return s&&s.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function xs(e){return e._valueTracker}function li(e){e._valueTracker=null}function jo(e){var t="";return e&&(dl(e)?t=e.checked?"true":"false":t=e.value),t}function cu(e){var t=dl(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);$n(e[t]);var c=""+e[t];if(!(e.hasOwnProperty(t)||typeof s>"u"||typeof s.get!="function"||typeof s.set!="function")){var p=s.get,g=s.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return p.call(this)},set:function(I){$n(I),c=""+I,g.call(this,I)}}),Object.defineProperty(e,t,{enumerable:s.enumerable});var E={getValue:function(){return c},setValue:function(I){$n(I),c=""+I},stopTracking:function(){li(e),delete e[t]}};return E}}function Do(e){xs(e)||(e._valueTracker=cu(e))}function fu(e){if(!e)return!1;var t=xs(e);if(!t)return!0;var s=t.getValue(),c=jo(e);return c!==s?(t.setValue(c),!0):!1}function no(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var ko=!1,du=!1,Oc=!1,Vi=!1;function pu(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function D(e,t){var s=e,c=t.checked,p=Lt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??s._wrapperState.initialChecked});return p}function X(e,t){fl("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!du&&(v("%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",si()||"A component",t.type),du=!0),t.value!==void 0&&t.defaultValue!==void 0&&!ko&&(v("%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",si()||"A component",t.type),ko=!0);var s=e,c=t.defaultValue==null?"":t.defaultValue;s._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Fi(t.value!=null?t.value:c),controlled:pu(t)}}function ue(e,t){var s=e,c=t.checked;c!=null&&No(s,"checked",c,!1)}function me(e,t){var s=e;{var c=pu(t);!s._wrapperState.controlled&&c&&!Vi&&(v("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"),Vi=!0),s._wrapperState.controlled&&!c&&!Oc&&(v("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"),Oc=!0)}ue(e,t);var p=Fi(t.value),g=t.type;if(p!=null)g==="number"?(p===0&&s.value===""||s.value!=p)&&(s.value=Sa(p)):s.value!==Sa(p)&&(s.value=Sa(p));else if(g==="submit"||g==="reset"){s.removeAttribute("value");return}t.hasOwnProperty("value")?wt(s,t.type,p):t.hasOwnProperty("defaultValue")&&wt(s,t.type,Fi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(s.defaultChecked=!!t.defaultChecked)}function Be(e,t,s){var c=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var p=t.type,g=p==="submit"||p==="reset";if(g&&(t.value===void 0||t.value===null))return;var E=Sa(c._wrapperState.initialValue);s||E!==c.value&&(c.value=E),c.defaultValue=E}var I=c.name;I!==""&&(c.name=""),c.defaultChecked=!c.defaultChecked,c.defaultChecked=!!c._wrapperState.initialChecked,I!==""&&(c.name=I)}function it(e,t){var s=e;me(s,t),Je(s,t)}function Je(e,t){var s=t.name;if(t.type==="radio"&&s!=null){for(var c=e;c.parentNode;)c=c.parentNode;_n(s,"name");for(var p=c.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),g=0;g<p.length;g++){var E=p[g];if(!(E===e||E.form!==e.form)){var I=fy(E);if(!I)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");fu(E),me(E,I)}}}}function wt(e,t,s){(t!=="number"||no(e.ownerDocument)!==e)&&(s==null?e.defaultValue=Sa(e._wrapperState.initialValue):e.defaultValue!==Sa(s)&&(e.defaultValue=Sa(s)))}var Pt=!1,fn=!1,vn=!1;function hn(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?r.Children.forEach(t.children,function(s){s!=null&&(typeof s=="string"||typeof s=="number"||fn||(fn=!0,v("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(vn||(vn=!0,v("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Pt&&(v("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Pt=!0)}function mn(e,t){t.value!=null&&e.setAttribute("value",Sa(Fi(t.value)))}var Vn=Array.isArray;function Zt(e){return Vn(e)}var Ss;Ss=!1;function vu(){var e=si();return e?`
111
111
 
112
- Check the render method of \``+e+"`.":""}var Oc=["value","defaultValue"];function Ac(e){{cl("select",e);for(var t=0;t<Oc.length;t++){var s=Oc[t];if(e[s]!=null){var c=Zt(e[s]);e.multiple&&!c?v("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,pu()):!e.multiple&&c&&v("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,pu())}}}}function ko(e,t,s,c){var p=e.options;if(t){for(var g=s,E={},I=0;I<g.length;I++)E["$"+g[I]]=!0;for(var A=0;A<p.length;A++){var P=E.hasOwnProperty("$"+p[A].value);p[A].selected!==P&&(p[A].selected=P),P&&c&&(p[A].defaultSelected=!0)}}else{for(var B=Sa(Fi(s)),te=null,K=0;K<p.length;K++){if(p[K].value===B){p[K].selected=!0,c&&(p[K].defaultSelected=!0);return}te===null&&!p[K].disabled&&(te=p[K])}te!==null&&(te.selected=!0)}}function jc(e,t){return Lt({},t,{value:void 0})}function Dc(e,t){var s=e;Ac(t),s._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!xs&&(v("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"),xs=!0)}function av(e,t){var s=e;s.multiple=!!t.multiple;var c=t.value;c!=null?ko(s,!!t.multiple,c,!1):t.defaultValue!=null&&ko(s,!!t.multiple,t.defaultValue,!0)}function Y0(e,t){var s=e,c=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!t.multiple;var p=t.value;p!=null?ko(s,!!t.multiple,p,!1):c!==!!t.multiple&&(t.defaultValue!=null?ko(s,!!t.multiple,t.defaultValue,!0):ko(s,!!t.multiple,t.multiple?[]:"",!1))}function Lm(e,t){var s=e,c=t.value;c!=null&&ko(s,!!t.multiple,c,!1)}var Pm=!1;function iv(e,t){var s=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var c=Lt({},t,{value:void 0,defaultValue:void 0,children:Sa(s._wrapperState.initialValue)});return c}function Fm(e,t){var s=e;cl("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Pm&&(v("%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",si()||"A component"),Pm=!0);var c=t.value;if(c==null){var p=t.children,g=t.defaultValue;if(p!=null){v("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(g!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Zt(p)){if(p.length>1)throw new Error("<textarea> can only have at most one child.");p=p[0]}g=p}}g==null&&(g=""),c=g}s._wrapperState={initialValue:Fi(c)}}function Vm(e,t){var s=e,c=Fi(t.value),p=Fi(t.defaultValue);if(c!=null){var g=Sa(c);g!==s.value&&(s.value=g),t.defaultValue==null&&s.defaultValue!==g&&(s.defaultValue=g)}p!=null&&(s.defaultValue=Sa(p))}function Kf(e,t){var s=e,c=s.textContent;c===s._wrapperState.initialValue&&c!==""&&c!==null&&(s.value=c)}function Z0(e,t){Vm(e,t)}var Mo="http://www.w3.org/1999/xhtml",J0="http://www.w3.org/1998/Math/MathML",ed="http://www.w3.org/2000/svg";function ov(e){switch(e){case"svg":return ed;case"math":return J0;default:return Mo}}function sv(e,t){return e==null||e===Mo?ov(t):e===ed&&t==="foreignObject"?Mo:e}var q0=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,s,c,p){MSApp.execUnsafeLocalFunction(function(){return e(t,s,c,p)})}:e},td,Bm=q0(function(e,t){if(e.namespaceURI===ed&&!("innerHTML"in e)){td=td||document.createElement("div"),td.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var s=td.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;s.firstChild;)e.appendChild(s.firstChild);return}e.innerHTML=t}),Ea=1,Lo=3,Qn=8,$a=9,lv=11,kc=function(e,t){if(t){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===Lo){s.nodeValue=t;return}}e.textContent=t},zm={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"]},vu={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 Hm(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Um=["Webkit","ms","Moz","O"];Object.keys(vu).forEach(function(e){Um.forEach(function(t){vu[Hm(t,e)]=vu[e]})});function Ss(e,t,s){var c=t==null||typeof t=="boolean"||t==="";return c?"":!s&&typeof t=="number"&&t!==0&&!(vu.hasOwnProperty(e)&&vu[e])?t+"px":(qn(t,e),(""+t).trim())}var Q0=/([A-Z])/g,K0=/^ms-/;function eC(e){return e.replace(Q0,"-$1").toLowerCase().replace(K0,"-ms-")}var uv=function(){};{var $m=/^(?:webkit|moz|o)[A-Z]/,Mc=/^-ms-/,Lc=/-(.)/g,Gm=/;\s*$/,Po={},cv={},fv=!1,nd=!1,dv=function(e){return e.replace(Lc,function(t,s){return s.toUpperCase()})},Wm=function(e){Po.hasOwnProperty(e)&&Po[e]||(Po[e]=!0,v("Unsupported style property %s. Did you mean %s?",e,dv(e.replace(Mc,"ms-"))))},Xm=function(e){Po.hasOwnProperty(e)&&Po[e]||(Po[e]=!0,v("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},Ym=function(e,t){cv.hasOwnProperty(t)&&cv[t]||(cv[t]=!0,v(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Gm,"")))},tC=function(e,t){fv||(fv=!0,v("`NaN` is an invalid value for the `%s` css style property.",e))},nC=function(e,t){nd||(nd=!0,v("`Infinity` is an invalid value for the `%s` css style property.",e))};uv=function(e,t){e.indexOf("-")>-1?Wm(e):$m.test(e)?Xm(e):Gm.test(t)&&Ym(e,t),typeof t=="number"&&(isNaN(t)?tC(e,t):isFinite(t)||nC(e,t))}}var rC=uv;function aC(e){{var t="",s="";for(var c in e)if(e.hasOwnProperty(c)){var p=e[c];if(p!=null){var g=c.indexOf("--")===0;t+=s+(g?c:eC(c))+":",t+=Ss(c,p,g),s=";"}}return t||null}}function Zm(e,t){var s=e.style;for(var c in t)if(t.hasOwnProperty(c)){var p=c.indexOf("--")===0;p||rC(c,t[c]);var g=Ss(c,t[c],p);c==="float"&&(c="cssFloat"),p?s.setProperty(c,g):s[c]=g}}function Bi(e){return e==null||typeof e=="boolean"||e===""}function hu(e){var t={};for(var s in e)for(var c=zm[s]||[s],p=0;p<c.length;p++)t[c[p]]=s;return t}function Jm(e,t){{if(!t)return;var s=hu(e),c=hu(t),p={};for(var g in s){var E=s[g],I=c[g];if(I&&E!==I){var A=E+","+I;if(p[A])continue;p[A]=!0,v("%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.",Bi(e[E])?"Removing":"Updating",E,I)}}}}var qm={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},Qm=Lt({menuitem:!0},qm),Km="__html";function Pc(e,t){if(t){if(Qm[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"||!(Km 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&&v("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 dl(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 rd={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"},pl={"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},Es={},Fc=new RegExp("^(aria)-["+dt+"]*$"),pv=new RegExp("^(aria)[A-Z]["+dt+"]*$");function eg(e,t){{if(pt.call(Es,t)&&Es[t])return!0;if(pv.test(t)){var s="aria-"+t.slice(4).toLowerCase(),c=pl.hasOwnProperty(s)?s:null;if(c==null)return v("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Es[t]=!0,!0;if(t!==c)return v("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,c),Es[t]=!0,!0}if(Fc.test(t)){var p=t.toLowerCase(),g=pl.hasOwnProperty(p)?p:null;if(g==null)return Es[t]=!0,!1;if(t!==g)return v("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,g),Es[t]=!0,!0}}return!0}function ad(e,t){{var s=[];for(var c in t){var p=eg(e,c);p||s.push(c)}var g=s.map(function(E){return"`"+E+"`"}).join(", ");s.length===1?v("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,e):s.length>1&&v("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,e)}}function mu(e,t){dl(e,t)||ad(e,t)}var id=!1;function tg(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!id&&(id=!0,e==="select"&&t.multiple?v("`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):v("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Vc=function(){};{var Zr={},vv=/^on./,ng=/^on[^A-Z]/,rg=new RegExp("^(aria)-["+dt+"]*$"),ag=new RegExp("^(aria)[A-Z]["+dt+"]*$");Vc=function(e,t,s,c){if(pt.call(Zr,t)&&Zr[t])return!0;var p=t.toLowerCase();if(p==="onfocusin"||p==="onfocusout")return v("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."),Zr[t]=!0,!0;if(c!=null){var g=c.registrationNameDependencies,E=c.possibleRegistrationNames;if(g.hasOwnProperty(t))return!0;var I=E.hasOwnProperty(p)?E[p]:null;if(I!=null)return v("Invalid event handler property `%s`. Did you mean `%s`?",t,I),Zr[t]=!0,!0;if(vv.test(t))return v("Unknown event handler property `%s`. It will be ignored.",t),Zr[t]=!0,!0}else if(vv.test(t))return ng.test(t)&&v("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Zr[t]=!0,!0;if(rg.test(t)||ag.test(t))return!0;if(p==="innerhtml")return v("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Zr[t]=!0,!0;if(p==="aria")return v("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Zr[t]=!0,!0;if(p==="is"&&s!==null&&s!==void 0&&typeof s!="string")return v("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),Zr[t]=!0,!0;if(typeof s=="number"&&isNaN(s))return v("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Zr[t]=!0,!0;var A=Ir(t),P=A!==null&&A.type===Tr;if(rd.hasOwnProperty(p)){var B=rd[p];if(B!==t)return v("Invalid DOM property `%s`. Did you mean `%s`?",t,B),Zr[t]=!0,!0}else if(!P&&t!==p)return v("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,p),Zr[t]=!0,!0;return typeof s=="boolean"&&Xr(t,s,A,!1)?(s?v('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()}.',s,t,t,s,t):v('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.',s,t,t,s,t,t,t),Zr[t]=!0,!0):P?!0:Xr(t,s,A,!1)?(Zr[t]=!0,!1):((s==="false"||s==="true")&&A!==null&&A.type===ln&&(v("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,t,s==="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,s),Zr[t]=!0),!0)}}var ig=function(e,t,s){{var c=[];for(var p in t){var g=Vc(e,p,t[p],s);g||c.push(p)}var E=c.map(function(I){return"`"+I+"`"}).join(", ");c.length===1?v("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",E,e):c.length>1&&v("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",E,e)}};function ws(e,t,s){dl(e,t)||ig(e,t,s)}var od=1,Bc=2,zc=4,iC=od|Bc|zc,Fo=null;function oC(e){Fo!==null&&v("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Fo=e}function og(){Fo===null&&v("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Fo=null}function sg(e){return e===Fo}function Tn(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Lo?t.parentNode:t}var Hc=null,Vo=null,ro=null;function hv(e){var t=Yu(e);if(t){if(typeof Hc!="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 s=t.stateNode;if(s){var c=fy(s);Hc(t.stateNode,t.type,c)}}}function mv(e){Hc=e}function gu(e){Vo?ro?ro.push(e):ro=[e]:Vo=e}function sd(){return Vo!==null||ro!==null}function vl(){if(Vo){var e=Vo,t=ro;if(Vo=null,ro=null,hv(e),t)for(var s=0;s<t.length;s++)hv(t[s])}}var gv=function(e,t){return e(t)},lg=function(){},yv=!1;function ug(){var e=sd();e&&(lg(),vl())}function Uc(e,t,s){if(yv)return e(t,s);yv=!0;try{return gv(e,t,s)}finally{yv=!1,ug()}}function ld(e,t,s){gv=e,lg=s}function bv(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function Cv(e,t,s){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!!(s.disabled&&bv(t));default:return!1}}function hl(e,t){var s=e.stateNode;if(s===null)return null;var c=fy(s);if(c===null)return null;var p=c[t];if(Cv(t,e.type,c))return null;if(p&&typeof p!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof p+"` type.");return p}var $c=!1;if(It)try{var Gc={};Object.defineProperty(Gc,"passive",{get:function(){$c=!0}}),window.addEventListener("test",Gc,Gc),window.removeEventListener("test",Gc,Gc)}catch{$c=!1}function xv(e,t,s,c,p,g,E,I,A){var P=Array.prototype.slice.call(arguments,3);try{t.apply(s,P)}catch(B){this.onError(B)}}var cg=xv;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Sv=document.createElement("react");cg=function(t,s,c,p,g,E,I,A,P){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var B=document.createEvent("Event"),te=!1,K=!0,ce=window.event,de=Object.getOwnPropertyDescriptor(window,"event");function be(){Sv.removeEventListener(Ce,gt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=ce)}var qe=Array.prototype.slice.call(arguments,3);function gt(){te=!0,be(),s.apply(c,qe),K=!1}var ct,Wt=!1,Ht=!1;function ie(oe){if(ct=oe.error,Wt=!0,ct===null&&oe.colno===0&&oe.lineno===0&&(Ht=!0),oe.defaultPrevented&&ct!=null&&typeof ct=="object")try{ct._suppressLogging=!0}catch{}}var Ce="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",ie),Sv.addEventListener(Ce,gt,!1),B.initEvent(Ce,!1,!1),Sv.dispatchEvent(B),de&&Object.defineProperty(window,"event",de),te&&K&&(Wt?Ht&&(ct=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.")):ct=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(ct)),window.removeEventListener("error",ie),!te)return be(),xv.apply(this,arguments)}}var Ev=cg,Ga=!1,Wc=null,Bo=!1,ui=null,Xc={onError:function(e){Ga=!0,Wc=e}};function zi(e,t,s,c,p,g,E,I,A){Ga=!1,Wc=null,Ev.apply(Xc,arguments)}function wv(e,t,s,c,p,g,E,I,A){if(zi.apply(this,arguments),Ga){var P=zo();Bo||(Bo=!0,ui=P)}}function sC(){if(Bo){var e=ui;throw Bo=!1,ui=null,e}}function lC(){return Ga}function zo(){if(Ga){var e=Wc;return Ga=!1,Wc=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 ao(e){return e._reactInternals}function yu(e){return e._reactInternals!==void 0}function ud(e,t){e._reactInternals=t}var ht=0,Hi=1,In=2,st=4,tn=16,ci=32,Nr=64,Ot=128,aa=256,Wa=512,vr=1024,wa=2048,io=4096,Rs=8192,ml=16384,fg=wa|st|Nr|Wa|vr|ml,Ho=32767,Ts=32768,Lr=65536,cd=131072,dg=1048576,oo=2097152,fi=4194304,Is=8388608,di=16777216,gl=33554432,Ra=st|vr|0,Ta=In|st|tn|ci|Wa|io|Rs,Ui=st|Nr|Wa|Rs,Ia=wa|tn,Pr=fi|Is|oo,yl=u.ReactCurrentOwner;function Ns(e){var t=e,s=e;if(e.alternate)for(;t.return;)t=t.return;else{var c=t;do t=c,(t.flags&(In|io))!==ht&&(s=t.return),c=t.return;while(c)}return t.tag===T?s:null}function fd(e){if(e.tag===U){var t=e.memoizedState;if(t===null){var s=e.alternate;s!==null&&(t=s.memoizedState)}if(t!==null)return t.dehydrated}return null}function dd(e){return e.tag===T?e.stateNode.containerInfo:null}function Xa(e){return Ns(e)===e}function Ya(e){{var t=yl.current;if(t!==null&&t.tag===x){var s=t,c=s.stateNode;c._warnedAboutRefsInRender||v("%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.",Nt(s)||"A component"),c._warnedAboutRefsInRender=!0}}var p=ao(e);return p?Ns(p)===p:!1}function Bn(e){if(Ns(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function pi(e){var t=e.alternate;if(!t){var s=Ns(e);if(s===null)throw new Error("Unable to find node on an unmounted component.");return s!==e?null:e}for(var c=e,p=t;;){var g=c.return;if(g===null)break;var E=g.alternate;if(E===null){var I=g.return;if(I!==null){c=p=I;continue}break}if(g.child===E.child){for(var A=g.child;A;){if(A===c)return Bn(g),e;if(A===p)return Bn(g),t;A=A.sibling}throw new Error("Unable to find node on an unmounted component.")}if(c.return!==p.return)c=g,p=E;else{for(var P=!1,B=g.child;B;){if(B===c){P=!0,c=g,p=E;break}if(B===p){P=!0,p=g,c=E;break}B=B.sibling}if(!P){for(B=E.child;B;){if(B===c){P=!0,c=E,p=g;break}if(B===p){P=!0,p=E,c=g;break}B=B.sibling}if(!P)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(c.alternate!==p)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(c.tag!==T)throw new Error("Unable to find node on an unmounted component.");return c.stateNode.current===c?e:t}function Rv(e){var t=pi(e);return t!==null?Tv(t):null}function Tv(e){if(e.tag===N||e.tag===O)return e;for(var t=e.child;t!==null;){var s=Tv(t);if(s!==null)return s;t=t.sibling}return null}function Iv(e){var t=pi(e);return t!==null?pd(t):null}function pd(e){if(e.tag===N||e.tag===O)return e;for(var t=e.child;t!==null;){if(t.tag!==j){var s=pd(t);if(s!==null)return s}t=t.sibling}return null}var Nv=i.unstable_scheduleCallback,vd=i.unstable_cancelCallback,pg=i.unstable_shouldYield,bu=i.unstable_requestPaint,hr=i.unstable_now,uC=i.unstable_getCurrentPriorityLevel,Na=i.unstable_ImmediatePriority,Cu=i.unstable_UserBlockingPriority,so=i.unstable_NormalPriority,xu=i.unstable_LowPriority,Yc=i.unstable_IdlePriority,_v=i.unstable_yieldValue,Ov=i.unstable_setDisableYieldValue,_s=null,ir=null,He=null,Jr=!1,Za=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function vg(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return v("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{le&&(e=Lt({},e,{getLaneLabelMap:hd,injectProfilingHooks:As})),_s=t.inject(e),ir=t}catch(s){v("React instrumentation encountered an error: %s.",s)}return!!t.checkDCE}function Uo(e,t){if(ir&&typeof ir.onScheduleFiberRoot=="function")try{ir.onScheduleFiberRoot(_s,e,t)}catch(s){Jr||(Jr=!0,v("React instrumentation encountered an error: %s",s))}}function Os(e,t){if(ir&&typeof ir.onCommitFiberRoot=="function")try{var s=(e.current.flags&Ot)===Ot;if(ve){var c;switch(t){case ur:c=Na;break;case Go:c=Cu;break;case co:c=so;break;case Au:c=Yc;break;default:c=so;break}ir.onCommitFiberRoot(_s,e,c,s)}}catch(p){Jr||(Jr=!0,v("React instrumentation encountered an error: %s",p))}}function Av(e){if(ir&&typeof ir.onPostCommitFiberRoot=="function")try{ir.onPostCommitFiberRoot(_s,e)}catch(t){Jr||(Jr=!0,v("React instrumentation encountered an error: %s",t))}}function hg(e){if(ir&&typeof ir.onCommitFiberUnmount=="function")try{ir.onCommitFiberUnmount(_s,e)}catch(t){Jr||(Jr=!0,v("React instrumentation encountered an error: %s",t))}}function kn(e){if(typeof _v=="function"&&(Ov(e),d(e)),ir&&typeof ir.setStrictMode=="function")try{ir.setStrictMode(_s,e)}catch(t){Jr||(Jr=!0,v("React instrumentation encountered an error: %s",t))}}function As(e){He=e}function hd(){{for(var e=new Map,t=1,s=0;s<or;s++){var c=Eg(t);e.set(t,c),t*=2}return e}}function mg(e){He!==null&&typeof He.markCommitStarted=="function"&&He.markCommitStarted(e)}function Zc(){He!==null&&typeof He.markCommitStopped=="function"&&He.markCommitStopped()}function Su(e){He!==null&&typeof He.markComponentRenderStarted=="function"&&He.markComponentRenderStarted(e)}function bl(){He!==null&&typeof He.markComponentRenderStopped=="function"&&He.markComponentRenderStopped()}function jv(e){He!==null&&typeof He.markComponentPassiveEffectMountStarted=="function"&&He.markComponentPassiveEffectMountStarted(e)}function md(){He!==null&&typeof He.markComponentPassiveEffectMountStopped=="function"&&He.markComponentPassiveEffectMountStopped()}function gg(e){He!==null&&typeof He.markComponentPassiveEffectUnmountStarted=="function"&&He.markComponentPassiveEffectUnmountStarted(e)}function yg(){He!==null&&typeof He.markComponentPassiveEffectUnmountStopped=="function"&&He.markComponentPassiveEffectUnmountStopped()}function bg(e){He!==null&&typeof He.markComponentLayoutEffectMountStarted=="function"&&He.markComponentLayoutEffectMountStarted(e)}function Dv(){He!==null&&typeof He.markComponentLayoutEffectMountStopped=="function"&&He.markComponentLayoutEffectMountStopped()}function Eu(e){He!==null&&typeof He.markComponentLayoutEffectUnmountStarted=="function"&&He.markComponentLayoutEffectUnmountStarted(e)}function Jc(){He!==null&&typeof He.markComponentLayoutEffectUnmountStopped=="function"&&He.markComponentLayoutEffectUnmountStopped()}function Cg(e,t,s){He!==null&&typeof He.markComponentErrored=="function"&&He.markComponentErrored(e,t,s)}function xg(e,t,s){He!==null&&typeof He.markComponentSuspended=="function"&&He.markComponentSuspended(e,t,s)}function wu(e){He!==null&&typeof He.markLayoutEffectsStarted=="function"&&He.markLayoutEffectsStarted(e)}function Sg(){He!==null&&typeof He.markLayoutEffectsStopped=="function"&&He.markLayoutEffectsStopped()}function qc(e){He!==null&&typeof He.markPassiveEffectsStarted=="function"&&He.markPassiveEffectsStarted(e)}function lo(){He!==null&&typeof He.markPassiveEffectsStopped=="function"&&He.markPassiveEffectsStopped()}function Ru(e){He!==null&&typeof He.markRenderStarted=="function"&&He.markRenderStarted(e)}function Qc(){He!==null&&typeof He.markRenderYielded=="function"&&He.markRenderYielded()}function js(){He!==null&&typeof He.markRenderStopped=="function"&&He.markRenderStopped()}function kv(e){He!==null&&typeof He.markRenderScheduled=="function"&&He.markRenderScheduled(e)}function Tu(e,t){He!==null&&typeof He.markForceUpdateScheduled=="function"&&He.markForceUpdateScheduled(e,t)}function gd(e,t){He!==null&&typeof He.markStateUpdateScheduled=="function"&&He.markStateUpdateScheduled(e,t)}var mt=0,ut=1,Qt=2,Kn=8,hi=16,Kc=Math.clz32?Math.clz32:Yn,Mv=Math.log,Cl=Math.LN2;function Yn(e){var t=e>>>0;return t===0?32:31-(Mv(t)/Cl|0)|0}var or=31,Ee=0,sr=0,bt=1,uo=2,$o=4,er=8,mi=16,xl=32,Ds=4194240,_a=64,Oa=128,Sl=256,ef=512,tf=1024,yd=2048,bd=4096,Cd=8192,xd=16384,Sd=32768,Ed=65536,wd=131072,Rd=262144,El=524288,Td=1048576,Iu=2097152,wl=130023424,Rl=4194304,nf=8388608,Id=16777216,Nd=33554432,_d=67108864,Lv=Rl,Tl=134217728,Pv=268435455,Nu=268435456,ks=536870912,Ja=1073741824;function Eg(e){{if(e&bt)return"Sync";if(e&uo)return"InputContinuousHydration";if(e&$o)return"InputContinuous";if(e&er)return"DefaultHydration";if(e&mi)return"Default";if(e&xl)return"TransitionHydration";if(e&Ds)return"Transition";if(e&wl)return"Retry";if(e&Tl)return"SelectiveHydration";if(e&Nu)return"IdleHydration";if(e&ks)return"Idle";if(e&Ja)return"Offscreen"}}var Mn=-1,Od=_a,rf=Rl;function _u(e){switch(lr(e)){case bt:return bt;case uo:return uo;case $o:return $o;case er:return er;case mi:return mi;case xl:return xl;case _a:case Oa:case Sl:case ef:case tf:case yd:case bd:case Cd:case xd:case Sd:case Ed:case wd:case Rd:case El:case Td:case Iu:return e&Ds;case Rl:case nf:case Id:case Nd:case _d:return e&wl;case Tl:return Tl;case Nu:return Nu;case ks:return ks;case Ja:return Ja;default:return v("Should have found matching lanes. This is a bug in React."),e}}function af(e,t){var s=e.pendingLanes;if(s===Ee)return Ee;var c=Ee,p=e.suspendedLanes,g=e.pingedLanes,E=s&Pv;if(E!==Ee){var I=E&~p;if(I!==Ee)c=_u(I);else{var A=E&g;A!==Ee&&(c=_u(A))}}else{var P=s&~p;P!==Ee?c=_u(P):g!==Ee&&(c=_u(g))}if(c===Ee)return Ee;if(t!==Ee&&t!==c&&(t&p)===Ee){var B=lr(c),te=lr(t);if(B>=te||B===mi&&(te&Ds)!==Ee)return t}(c&$o)!==Ee&&(c|=s&mi);var K=e.entangledLanes;if(K!==Ee)for(var ce=e.entanglements,de=c&K;de>0;){var be=Ls(de),qe=1<<be;c|=ce[be],de&=~qe}return c}function Ad(e,t){for(var s=e.eventTimes,c=Mn;t>0;){var p=Ls(t),g=1<<p,E=s[p];E>c&&(c=E),t&=~g}return c}function cC(e,t){switch(e){case bt:case uo:case $o:return t+250;case er:case mi:case xl:case _a:case Oa:case Sl:case ef:case tf:case yd:case bd:case Cd:case xd:case Sd:case Ed:case wd:case Rd:case El:case Td:case Iu:return t+5e3;case Rl:case nf:case Id:case Nd:case _d:return Mn;case Tl:case Nu:case ks:case Ja:return Mn;default:return v("Should have found matching lanes. This is a bug in React."),Mn}}function fC(e,t){for(var s=e.pendingLanes,c=e.suspendedLanes,p=e.pingedLanes,g=e.expirationTimes,E=s;E>0;){var I=Ls(E),A=1<<I,P=g[I];P===Mn?((A&c)===Ee||(A&p)!==Ee)&&(g[I]=cC(A,t)):P<=t&&(e.expiredLanes|=A),E&=~A}}function dC(e){return _u(e.pendingLanes)}function Ms(e){var t=e.pendingLanes&~Ja;return t!==Ee?t:t&Ja?Ja:Ee}function Fv(e){return(e&bt)!==Ee}function of(e){return(e&Pv)!==Ee}function wg(e){return(e&wl)===e}function Rg(e){var t=bt|$o|mi;return(e&t)===Ee}function Tg(e){return(e&Ds)===e}function sf(e,t){var s=uo|$o|er|mi;return(t&s)!==Ee}function Ig(e,t){return(t&e.expiredLanes)!==Ee}function Vv(e){return(e&Ds)!==Ee}function Ng(){var e=Od;return Od<<=1,(Od&Ds)===Ee&&(Od=_a),e}function Aa(){var e=rf;return rf<<=1,(rf&wl)===Ee&&(rf=Rl),e}function lr(e){return e&-e}function Ou(e){return lr(e)}function Ls(e){return 31-Kc(e)}function jd(e){return Ls(e)}function ja(e,t){return(e&t)!==Ee}function Il(e,t){return(e&t)===t}function Dt(e,t){return e|t}function lf(e,t){return e&~t}function Dd(e,t){return e&t}function pC(e){return e}function _g(e,t){return e!==sr&&e<t?e:t}function uf(e){for(var t=[],s=0;s<or;s++)t.push(e);return t}function Nl(e,t,s){e.pendingLanes|=t,t!==ks&&(e.suspendedLanes=Ee,e.pingedLanes=Ee);var c=e.eventTimes,p=jd(t);c[p]=s}function Og(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var s=e.expirationTimes,c=t;c>0;){var p=Ls(c),g=1<<p;s[p]=Mn,c&=~g}}function kd(e,t,s){e.pingedLanes|=e.suspendedLanes&t}function Md(e,t){var s=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Ee,e.pingedLanes=Ee,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var c=e.entanglements,p=e.eventTimes,g=e.expirationTimes,E=s;E>0;){var I=Ls(E),A=1<<I;c[I]=Ee,p[I]=Mn,g[I]=Mn,E&=~A}}function Bv(e,t){for(var s=e.entangledLanes|=t,c=e.entanglements,p=s;p;){var g=Ls(p),E=1<<g;E&t|c[g]&t&&(c[g]|=t),p&=~E}}function Ag(e,t){var s=lr(t),c;switch(s){case $o:c=uo;break;case mi:c=er;break;case _a:case Oa:case Sl:case ef:case tf:case yd:case bd:case Cd:case xd:case Sd:case Ed:case wd:case Rd:case El:case Td:case Iu:case Rl:case nf:case Id:case Nd:case _d:c=xl;break;case ks:c=Nu;break;default:c=sr;break}return(c&(e.suspendedLanes|t))!==sr?sr:c}function Ld(e,t,s){if(Za)for(var c=e.pendingUpdatersLaneMap;s>0;){var p=jd(s),g=1<<p,E=c[p];E.add(t),s&=~g}}function zv(e,t){if(Za)for(var s=e.pendingUpdatersLaneMap,c=e.memoizedUpdaters;t>0;){var p=jd(t),g=1<<p,E=s[p];E.size>0&&(E.forEach(function(I){var A=I.alternate;(A===null||!c.has(A))&&c.add(I)}),E.clear()),t&=~g}}function cf(e,t){return null}var ur=bt,Go=$o,co=mi,Au=ks,ju=sr;function gi(){return ju}function tr(e){ju=e}function qr(e,t){var s=ju;try{return ju=e,t()}finally{ju=s}}function vC(e,t){return e!==0&&e<t?e:t}function hC(e,t){return e===0||e>t?e:t}function Du(e,t){return e!==0&&e<t}function Fr(e){var t=lr(e);return Du(ur,t)?Du(Go,t)?of(t)?co:Au:Go:ur}function Pd(e){var t=e.current.memoizedState;return t.isDehydrated}var Ke;function ku(e){Ke=e}function Hv(e){Ke(e)}var Fd;function mC(e){Fd=e}var Mu;function Vd(e){Mu=e}var Bd;function jg(e){Bd=e}var Uv;function Dg(e){Uv=e}var ff=!1,Lu=[],Un=null,_r=null,ia=null,Pu=new Map,Fu=new Map,Or=[],kg=["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 fo(e){return kg.indexOf(e)>-1}function gC(e,t,s,c,p){return{blockedOn:e,domEventName:t,eventSystemFlags:s,nativeEvent:p,targetContainers:[c]}}function $v(e,t){switch(e){case"focusin":case"focusout":Un=null;break;case"dragenter":case"dragleave":_r=null;break;case"mouseover":case"mouseout":ia=null;break;case"pointerover":case"pointerout":{var s=t.pointerId;Pu.delete(s);break}case"gotpointercapture":case"lostpointercapture":{var c=t.pointerId;Fu.delete(c);break}}}function Vu(e,t,s,c,p,g){if(e===null||e.nativeEvent!==g){var E=gC(t,s,c,p,g);if(t!==null){var I=Yu(t);I!==null&&Fd(I)}return E}e.eventSystemFlags|=c;var A=e.targetContainers;return p!==null&&A.indexOf(p)===-1&&A.push(p),e}function Mg(e,t,s,c,p){switch(t){case"focusin":{var g=p;return Un=Vu(Un,e,t,s,c,g),!0}case"dragenter":{var E=p;return _r=Vu(_r,e,t,s,c,E),!0}case"mouseover":{var I=p;return ia=Vu(ia,e,t,s,c,I),!0}case"pointerover":{var A=p,P=A.pointerId;return Pu.set(P,Vu(Pu.get(P)||null,e,t,s,c,A)),!0}case"gotpointercapture":{var B=p,te=B.pointerId;return Fu.set(te,Vu(Fu.get(te)||null,e,t,s,c,B)),!0}}return!1}function Gv(e){var t=Ef(e.target);if(t!==null){var s=Ns(t);if(s!==null){var c=s.tag;if(c===U){var p=fd(s);if(p!==null){e.blockedOn=p,Uv(e.priority,function(){Mu(s)});return}}else if(c===T){var g=s.stateNode;if(Pd(g)){e.blockedOn=dd(s);return}}}}e.blockedOn=null}function yC(e){for(var t=Bd(),s={blockedOn:null,target:e,priority:t},c=0;c<Or.length&&Du(t,Or[c].priority);c++);Or.splice(c,0,s),c===0&&Gv(s)}function _l(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var s=t[0],c=Qr(e.domEventName,e.eventSystemFlags,s,e.nativeEvent);if(c===null){var p=e.nativeEvent,g=new p.constructor(p.type,p);oC(g),p.target.dispatchEvent(g),og()}else{var E=Yu(c);return E!==null&&Fd(E),e.blockedOn=c,!1}t.shift()}return!0}function zd(e,t,s){_l(e)&&s.delete(t)}function yi(){ff=!1,Un!==null&&_l(Un)&&(Un=null),_r!==null&&_l(_r)&&(_r=null),ia!==null&&_l(ia)&&(ia=null),Pu.forEach(zd),Fu.forEach(zd)}function zt(e,t){e.blockedOn===t&&(e.blockedOn=null,ff||(ff=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,yi)))}function nr(e){if(Lu.length>0){zt(Lu[0],e);for(var t=1;t<Lu.length;t++){var s=Lu[t];s.blockedOn===e&&(s.blockedOn=null)}}Un!==null&&zt(Un,e),_r!==null&&zt(_r,e),ia!==null&&zt(ia,e);var c=function(I){return zt(I,e)};Pu.forEach(c),Fu.forEach(c);for(var p=0;p<Or.length;p++){var g=Or[p];g.blockedOn===e&&(g.blockedOn=null)}for(;Or.length>0;){var E=Or[0];if(E.blockedOn!==null)break;Gv(E),E.blockedOn===null&&Or.shift()}}var zn=u.ReactCurrentBatchConfig,br=!0;function Da(e){br=!!e}function Bu(){return br}function Cr(e,t,s){var c=Hd(t),p;switch(c){case ur:p=df;break;case Go:p=Ol;break;case co:default:p=zu;break}return p.bind(null,t,s,e)}function df(e,t,s,c){var p=gi(),g=zn.transition;zn.transition=null;try{tr(ur),zu(e,t,s,c)}finally{tr(p),zn.transition=g}}function Ol(e,t,s,c){var p=gi(),g=zn.transition;zn.transition=null;try{tr(Go),zu(e,t,s,c)}finally{tr(p),zn.transition=g}}function zu(e,t,s,c){br&&Wv(e,t,s,c)}function Wv(e,t,s,c){var p=Qr(e,t,s,c);if(p===null){MC(e,t,c,Ps,s),$v(e,c);return}if(Mg(p,e,t,s,c)){c.stopPropagation();return}if($v(e,c),t&zc&&fo(e)){for(;p!==null;){var g=Yu(p);g!==null&&Hv(g);var E=Qr(e,t,s,c);if(E===null&&MC(e,t,c,Ps,s),E===p)break;p=E}p!==null&&c.stopPropagation();return}MC(e,t,c,null,s)}var Ps=null;function Qr(e,t,s,c){Ps=null;var p=Tn(c),g=Ef(p);if(g!==null){var E=Ns(g);if(E===null)g=null;else{var I=E.tag;if(I===U){var A=fd(E);if(A!==null)return A;g=null}else if(I===T){var P=E.stateNode;if(Pd(P))return dd(E);g=null}else E!==g&&(g=null)}}return Ps=g,null}function Hd(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 ur;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 Go;case"message":{var t=uC();switch(t){case Na:return ur;case Cu:return Go;case so:case xu:return co;case Yc:return Au;default:return co}}default:return co}}function Hu(e,t,s){return e.addEventListener(t,s,!1),s}function Wo(e,t,s){return e.addEventListener(t,s,!0),s}function Ud(e,t,s,c){return e.addEventListener(t,s,{capture:!0,passive:c}),s}function Xv(e,t,s,c){return e.addEventListener(t,s,{passive:c}),s}var bi=null,Uu=null,Ci=null;function $d(e){return bi=e,Uu=vf(),!0}function pf(){bi=null,Uu=null,Ci=null}function Gd(){if(Ci)return Ci;var e,t=Uu,s=t.length,c,p=vf(),g=p.length;for(e=0;e<s&&t[e]===p[e];e++);var E=s-e;for(c=1;c<=E&&t[s-c]===p[g-c];c++);var I=c>1?1-c:void 0;return Ci=p.slice(e,I),Ci}function vf(){return"value"in bi?bi.value:bi.textContent}function Al(e){var t,s=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&s===13&&(t=13)):t=s,t===10&&(t=13),t>=32||t===13?t:0}function Ar(){return!0}function Xo(){return!1}function Zn(e){function t(s,c,p,g,E){this._reactName=s,this._targetInst=p,this.type=c,this.nativeEvent=g,this.target=E,this.currentTarget=null;for(var I in e)if(e.hasOwnProperty(I)){var A=e[I];A?this[I]=A(g):this[I]=g[I]}var P=g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1;return P?this.isDefaultPrevented=Ar:this.isDefaultPrevented=Xo,this.isPropagationStopped=Xo,this}return Lt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Ar)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Ar)},persist:function(){},isPersistent:Ar}),t}var xr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Wd=Zn(xr),jl=Lt({},xr,{view:0,detail:0}),Yv=Zn(jl),Zv,po,$u;function Jv(e){e!==$u&&($u&&e.type==="mousemove"?(Zv=e.screenX-$u.screenX,po=e.screenY-$u.screenY):(Zv=0,po=0),$u=e)}var vo=Lt({},jl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qv,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:(Jv(e),Zv)},movementY:function(e){return"movementY"in e?e.movementY:po}}),Xd=Zn(vo),Dl=Lt({},vo,{dataTransfer:0}),Lg=Zn(Dl),Pg=Lt({},jl,{relatedTarget:0}),hf=Zn(Pg),Yd=Lt({},xr,{animationName:0,elapsedTime:0,pseudoElement:0}),bC=Zn(Yd),CC=Lt({},xr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Fg=Zn(CC),Vg=Lt({},xr,{data:0}),Fs=Zn(Vg),xC=Fs,Gu={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bg={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 rr(e){if(e.key){var t=Gu[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var s=Al(e);return s===13?"Enter":String.fromCharCode(s)}return e.type==="keydown"||e.type==="keyup"?Bg[e.keyCode]||"Unidentified":""}var SC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zg(e){var t=this,s=t.nativeEvent;if(s.getModifierState)return s.getModifierState(e);var c=SC[e];return c?!!s[c]:!1}function qv(e){return zg}var EC=Lt({},jl,{key:rr,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qv,charCode:function(e){return e.type==="keypress"?Al(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Al(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Hg=Zn(EC),Ug=Lt({},vo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$g=Zn(Ug),xi=Lt({},jl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qv}),Qv=Zn(xi),wC=Lt({},xr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Vs=Zn(wC),Zd=Lt({},vo,{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}),kl=Zn(Zd),Jd=[9,13,27,32],qd=229,mf=It&&"CompositionEvent"in window,gf=null;It&&"documentMode"in document&&(gf=document.documentMode);var Kv=It&&"TextEvent"in window&&!gf,Gg=It&&(!mf||gf&&gf>8&&gf<=11),eh=32,th=String.fromCharCode(eh);function Qd(){ft("onBeforeInput",["compositionend","keypress","textInput","paste"]),ft("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),ft("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),ft("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var yf=!1;function Wg(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function nh(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function RC(e,t){return e==="keydown"&&t.keyCode===qd}function rh(e,t){switch(e){case"keyup":return Jd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==qd;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Kd(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function bf(e){return e.locale==="ko"}var Bs=!1;function ep(e,t,s,c,p){var g,E;if(mf?g=nh(t):Bs?rh(t,c)&&(g="onCompositionEnd"):RC(t,c)&&(g="onCompositionStart"),!g)return null;Gg&&!bf(c)&&(!Bs&&g==="onCompositionStart"?Bs=$d(p):g==="onCompositionEnd"&&Bs&&(E=Gd()));var I=Qg(s,g);if(I.length>0){var A=new Fs(g,t,null,c,p);if(e.push({event:A,listeners:I}),E)A.data=E;else{var P=Kd(c);P!==null&&(A.data=P)}}}function Xg(e,t){switch(e){case"compositionend":return Kd(t);case"keypress":var s=t.which;return s!==eh?null:(yf=!0,th);case"textInput":var c=t.data;return c===th&&yf?null:c;default:return null}}function TC(e,t){if(Bs){if(e==="compositionend"||!mf&&rh(e,t)){var s=Gd();return pf(),Bs=!1,s}return null}switch(e){case"paste":return null;case"keypress":if(!Wg(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Gg&&!bf(t)?null:t.data;default:return null}}function tp(e,t,s,c,p){var g;if(Kv?g=Xg(t,c):g=TC(t,c),!g)return null;var E=Qg(s,"onBeforeInput");if(E.length>0){var I=new xC("onBeforeInput","beforeinput",null,c,p);e.push({event:I,listeners:E}),I.data=g}}function IC(e,t,s,c,p,g,E){ep(e,t,s,c,p),tp(e,t,s,c,p)}var Cf={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 Yg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Cf[e.type]:t==="textarea"}/**
112
+ Check the render method of \``+e+"`.":""}var Ac=["value","defaultValue"];function jc(e){{fl("select",e);for(var t=0;t<Ac.length;t++){var s=Ac[t];if(e[s]!=null){var c=Zt(e[s]);e.multiple&&!c?v("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,vu()):!e.multiple&&c&&v("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,vu())}}}}function Mo(e,t,s,c){var p=e.options;if(t){for(var g=s,E={},I=0;I<g.length;I++)E["$"+g[I]]=!0;for(var A=0;A<p.length;A++){var P=E.hasOwnProperty("$"+p[A].value);p[A].selected!==P&&(p[A].selected=P),P&&c&&(p[A].defaultSelected=!0)}}else{for(var B=Sa(Fi(s)),te=null,K=0;K<p.length;K++){if(p[K].value===B){p[K].selected=!0,c&&(p[K].defaultSelected=!0);return}te===null&&!p[K].disabled&&(te=p[K])}te!==null&&(te.selected=!0)}}function Dc(e,t){return Lt({},t,{value:void 0})}function kc(e,t){var s=e;jc(t),s._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Ss&&(v("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"),Ss=!0)}function av(e,t){var s=e;s.multiple=!!t.multiple;var c=t.value;c!=null?Mo(s,!!t.multiple,c,!1):t.defaultValue!=null&&Mo(s,!!t.multiple,t.defaultValue,!0)}function Y0(e,t){var s=e,c=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!t.multiple;var p=t.value;p!=null?Mo(s,!!t.multiple,p,!1):c!==!!t.multiple&&(t.defaultValue!=null?Mo(s,!!t.multiple,t.defaultValue,!0):Mo(s,!!t.multiple,t.multiple?[]:"",!1))}function Lm(e,t){var s=e,c=t.value;c!=null&&Mo(s,!!t.multiple,c,!1)}var Pm=!1;function iv(e,t){var s=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var c=Lt({},t,{value:void 0,defaultValue:void 0,children:Sa(s._wrapperState.initialValue)});return c}function Fm(e,t){var s=e;fl("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Pm&&(v("%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",si()||"A component"),Pm=!0);var c=t.value;if(c==null){var p=t.children,g=t.defaultValue;if(p!=null){v("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(g!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Zt(p)){if(p.length>1)throw new Error("<textarea> can only have at most one child.");p=p[0]}g=p}}g==null&&(g=""),c=g}s._wrapperState={initialValue:Fi(c)}}function Vm(e,t){var s=e,c=Fi(t.value),p=Fi(t.defaultValue);if(c!=null){var g=Sa(c);g!==s.value&&(s.value=g),t.defaultValue==null&&s.defaultValue!==g&&(s.defaultValue=g)}p!=null&&(s.defaultValue=Sa(p))}function ed(e,t){var s=e,c=s.textContent;c===s._wrapperState.initialValue&&c!==""&&c!==null&&(s.value=c)}function Z0(e,t){Vm(e,t)}var Lo="http://www.w3.org/1999/xhtml",J0="http://www.w3.org/1998/Math/MathML",td="http://www.w3.org/2000/svg";function ov(e){switch(e){case"svg":return td;case"math":return J0;default:return Lo}}function sv(e,t){return e==null||e===Lo?ov(t):e===td&&t==="foreignObject"?Lo:e}var q0=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,s,c,p){MSApp.execUnsafeLocalFunction(function(){return e(t,s,c,p)})}:e},nd,Bm=q0(function(e,t){if(e.namespaceURI===td&&!("innerHTML"in e)){nd=nd||document.createElement("div"),nd.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var s=nd.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;s.firstChild;)e.appendChild(s.firstChild);return}e.innerHTML=t}),Ea=1,Po=3,Qn=8,$a=9,lv=11,Mc=function(e,t){if(t){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===Po){s.nodeValue=t;return}}e.textContent=t},zm={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"]},hu={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 Hm(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Um=["Webkit","ms","Moz","O"];Object.keys(hu).forEach(function(e){Um.forEach(function(t){hu[Hm(t,e)]=hu[e]})});function Es(e,t,s){var c=t==null||typeof t=="boolean"||t==="";return c?"":!s&&typeof t=="number"&&t!==0&&!(hu.hasOwnProperty(e)&&hu[e])?t+"px":(qn(t,e),(""+t).trim())}var Q0=/([A-Z])/g,K0=/^ms-/;function eC(e){return e.replace(Q0,"-$1").toLowerCase().replace(K0,"-ms-")}var uv=function(){};{var $m=/^(?:webkit|moz|o)[A-Z]/,Lc=/^-ms-/,Pc=/-(.)/g,Gm=/;\s*$/,Fo={},cv={},fv=!1,rd=!1,dv=function(e){return e.replace(Pc,function(t,s){return s.toUpperCase()})},Wm=function(e){Fo.hasOwnProperty(e)&&Fo[e]||(Fo[e]=!0,v("Unsupported style property %s. Did you mean %s?",e,dv(e.replace(Lc,"ms-"))))},Xm=function(e){Fo.hasOwnProperty(e)&&Fo[e]||(Fo[e]=!0,v("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},Ym=function(e,t){cv.hasOwnProperty(t)&&cv[t]||(cv[t]=!0,v(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Gm,"")))},tC=function(e,t){fv||(fv=!0,v("`NaN` is an invalid value for the `%s` css style property.",e))},nC=function(e,t){rd||(rd=!0,v("`Infinity` is an invalid value for the `%s` css style property.",e))};uv=function(e,t){e.indexOf("-")>-1?Wm(e):$m.test(e)?Xm(e):Gm.test(t)&&Ym(e,t),typeof t=="number"&&(isNaN(t)?tC(e,t):isFinite(t)||nC(e,t))}}var rC=uv;function aC(e){{var t="",s="";for(var c in e)if(e.hasOwnProperty(c)){var p=e[c];if(p!=null){var g=c.indexOf("--")===0;t+=s+(g?c:eC(c))+":",t+=Es(c,p,g),s=";"}}return t||null}}function Zm(e,t){var s=e.style;for(var c in t)if(t.hasOwnProperty(c)){var p=c.indexOf("--")===0;p||rC(c,t[c]);var g=Es(c,t[c],p);c==="float"&&(c="cssFloat"),p?s.setProperty(c,g):s[c]=g}}function Bi(e){return e==null||typeof e=="boolean"||e===""}function mu(e){var t={};for(var s in e)for(var c=zm[s]||[s],p=0;p<c.length;p++)t[c[p]]=s;return t}function Jm(e,t){{if(!t)return;var s=mu(e),c=mu(t),p={};for(var g in s){var E=s[g],I=c[g];if(I&&E!==I){var A=E+","+I;if(p[A])continue;p[A]=!0,v("%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.",Bi(e[E])?"Removing":"Updating",E,I)}}}}var qm={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},Qm=Lt({menuitem:!0},qm),Km="__html";function Fc(e,t){if(t){if(Qm[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"||!(Km 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&&v("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 pl(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 ad={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"},vl={"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},ws={},Vc=new RegExp("^(aria)-["+dt+"]*$"),pv=new RegExp("^(aria)[A-Z]["+dt+"]*$");function eg(e,t){{if(pt.call(ws,t)&&ws[t])return!0;if(pv.test(t)){var s="aria-"+t.slice(4).toLowerCase(),c=vl.hasOwnProperty(s)?s:null;if(c==null)return v("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),ws[t]=!0,!0;if(t!==c)return v("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,c),ws[t]=!0,!0}if(Vc.test(t)){var p=t.toLowerCase(),g=vl.hasOwnProperty(p)?p:null;if(g==null)return ws[t]=!0,!1;if(t!==g)return v("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,g),ws[t]=!0,!0}}return!0}function id(e,t){{var s=[];for(var c in t){var p=eg(e,c);p||s.push(c)}var g=s.map(function(E){return"`"+E+"`"}).join(", ");s.length===1?v("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,e):s.length>1&&v("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,e)}}function gu(e,t){pl(e,t)||id(e,t)}var od=!1;function tg(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!od&&(od=!0,e==="select"&&t.multiple?v("`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):v("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Bc=function(){};{var Zr={},vv=/^on./,ng=/^on[^A-Z]/,rg=new RegExp("^(aria)-["+dt+"]*$"),ag=new RegExp("^(aria)[A-Z]["+dt+"]*$");Bc=function(e,t,s,c){if(pt.call(Zr,t)&&Zr[t])return!0;var p=t.toLowerCase();if(p==="onfocusin"||p==="onfocusout")return v("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."),Zr[t]=!0,!0;if(c!=null){var g=c.registrationNameDependencies,E=c.possibleRegistrationNames;if(g.hasOwnProperty(t))return!0;var I=E.hasOwnProperty(p)?E[p]:null;if(I!=null)return v("Invalid event handler property `%s`. Did you mean `%s`?",t,I),Zr[t]=!0,!0;if(vv.test(t))return v("Unknown event handler property `%s`. It will be ignored.",t),Zr[t]=!0,!0}else if(vv.test(t))return ng.test(t)&&v("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Zr[t]=!0,!0;if(rg.test(t)||ag.test(t))return!0;if(p==="innerhtml")return v("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Zr[t]=!0,!0;if(p==="aria")return v("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Zr[t]=!0,!0;if(p==="is"&&s!==null&&s!==void 0&&typeof s!="string")return v("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),Zr[t]=!0,!0;if(typeof s=="number"&&isNaN(s))return v("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Zr[t]=!0,!0;var A=Ir(t),P=A!==null&&A.type===Tr;if(ad.hasOwnProperty(p)){var B=ad[p];if(B!==t)return v("Invalid DOM property `%s`. Did you mean `%s`?",t,B),Zr[t]=!0,!0}else if(!P&&t!==p)return v("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,p),Zr[t]=!0,!0;return typeof s=="boolean"&&Xr(t,s,A,!1)?(s?v('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()}.',s,t,t,s,t):v('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.',s,t,t,s,t,t,t),Zr[t]=!0,!0):P?!0:Xr(t,s,A,!1)?(Zr[t]=!0,!1):((s==="false"||s==="true")&&A!==null&&A.type===ln&&(v("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,t,s==="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,s),Zr[t]=!0),!0)}}var ig=function(e,t,s){{var c=[];for(var p in t){var g=Bc(e,p,t[p],s);g||c.push(p)}var E=c.map(function(I){return"`"+I+"`"}).join(", ");c.length===1?v("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",E,e):c.length>1&&v("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",E,e)}};function Rs(e,t,s){pl(e,t)||ig(e,t,s)}var sd=1,zc=2,Hc=4,iC=sd|zc|Hc,Vo=null;function oC(e){Vo!==null&&v("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Vo=e}function og(){Vo===null&&v("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Vo=null}function sg(e){return e===Vo}function Tn(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Po?t.parentNode:t}var Uc=null,Bo=null,ro=null;function hv(e){var t=Zu(e);if(t){if(typeof Uc!="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 s=t.stateNode;if(s){var c=fy(s);Uc(t.stateNode,t.type,c)}}}function mv(e){Uc=e}function yu(e){Bo?ro?ro.push(e):ro=[e]:Bo=e}function ld(){return Bo!==null||ro!==null}function hl(){if(Bo){var e=Bo,t=ro;if(Bo=null,ro=null,hv(e),t)for(var s=0;s<t.length;s++)hv(t[s])}}var gv=function(e,t){return e(t)},lg=function(){},yv=!1;function ug(){var e=ld();e&&(lg(),hl())}function $c(e,t,s){if(yv)return e(t,s);yv=!0;try{return gv(e,t,s)}finally{yv=!1,ug()}}function ud(e,t,s){gv=e,lg=s}function bv(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function Cv(e,t,s){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!!(s.disabled&&bv(t));default:return!1}}function ml(e,t){var s=e.stateNode;if(s===null)return null;var c=fy(s);if(c===null)return null;var p=c[t];if(Cv(t,e.type,c))return null;if(p&&typeof p!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof p+"` type.");return p}var Gc=!1;if(It)try{var Wc={};Object.defineProperty(Wc,"passive",{get:function(){Gc=!0}}),window.addEventListener("test",Wc,Wc),window.removeEventListener("test",Wc,Wc)}catch{Gc=!1}function xv(e,t,s,c,p,g,E,I,A){var P=Array.prototype.slice.call(arguments,3);try{t.apply(s,P)}catch(B){this.onError(B)}}var cg=xv;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Sv=document.createElement("react");cg=function(t,s,c,p,g,E,I,A,P){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var B=document.createEvent("Event"),te=!1,K=!0,ce=window.event,de=Object.getOwnPropertyDescriptor(window,"event");function be(){Sv.removeEventListener(Ce,gt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=ce)}var qe=Array.prototype.slice.call(arguments,3);function gt(){te=!0,be(),s.apply(c,qe),K=!1}var ct,Wt=!1,Ht=!1;function ie(oe){if(ct=oe.error,Wt=!0,ct===null&&oe.colno===0&&oe.lineno===0&&(Ht=!0),oe.defaultPrevented&&ct!=null&&typeof ct=="object")try{ct._suppressLogging=!0}catch{}}var Ce="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",ie),Sv.addEventListener(Ce,gt,!1),B.initEvent(Ce,!1,!1),Sv.dispatchEvent(B),de&&Object.defineProperty(window,"event",de),te&&K&&(Wt?Ht&&(ct=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.")):ct=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(ct)),window.removeEventListener("error",ie),!te)return be(),xv.apply(this,arguments)}}var Ev=cg,Ga=!1,Xc=null,zo=!1,ui=null,Yc={onError:function(e){Ga=!0,Xc=e}};function zi(e,t,s,c,p,g,E,I,A){Ga=!1,Xc=null,Ev.apply(Yc,arguments)}function wv(e,t,s,c,p,g,E,I,A){if(zi.apply(this,arguments),Ga){var P=Ho();zo||(zo=!0,ui=P)}}function sC(){if(zo){var e=ui;throw zo=!1,ui=null,e}}function lC(){return Ga}function Ho(){if(Ga){var e=Xc;return Ga=!1,Xc=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 ao(e){return e._reactInternals}function bu(e){return e._reactInternals!==void 0}function cd(e,t){e._reactInternals=t}var ht=0,Hi=1,In=2,st=4,tn=16,ci=32,Nr=64,Ot=128,aa=256,Wa=512,vr=1024,wa=2048,io=4096,Ts=8192,gl=16384,fg=wa|st|Nr|Wa|vr|gl,Uo=32767,Is=32768,Lr=65536,fd=131072,dg=1048576,oo=2097152,fi=4194304,Ns=8388608,di=16777216,yl=33554432,Ra=st|vr|0,Ta=In|st|tn|ci|Wa|io|Ts,Ui=st|Nr|Wa|Ts,Ia=wa|tn,Pr=fi|Ns|oo,bl=u.ReactCurrentOwner;function _s(e){var t=e,s=e;if(e.alternate)for(;t.return;)t=t.return;else{var c=t;do t=c,(t.flags&(In|io))!==ht&&(s=t.return),c=t.return;while(c)}return t.tag===T?s:null}function dd(e){if(e.tag===U){var t=e.memoizedState;if(t===null){var s=e.alternate;s!==null&&(t=s.memoizedState)}if(t!==null)return t.dehydrated}return null}function pd(e){return e.tag===T?e.stateNode.containerInfo:null}function Xa(e){return _s(e)===e}function Ya(e){{var t=bl.current;if(t!==null&&t.tag===x){var s=t,c=s.stateNode;c._warnedAboutRefsInRender||v("%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.",Nt(s)||"A component"),c._warnedAboutRefsInRender=!0}}var p=ao(e);return p?_s(p)===p:!1}function Bn(e){if(_s(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function pi(e){var t=e.alternate;if(!t){var s=_s(e);if(s===null)throw new Error("Unable to find node on an unmounted component.");return s!==e?null:e}for(var c=e,p=t;;){var g=c.return;if(g===null)break;var E=g.alternate;if(E===null){var I=g.return;if(I!==null){c=p=I;continue}break}if(g.child===E.child){for(var A=g.child;A;){if(A===c)return Bn(g),e;if(A===p)return Bn(g),t;A=A.sibling}throw new Error("Unable to find node on an unmounted component.")}if(c.return!==p.return)c=g,p=E;else{for(var P=!1,B=g.child;B;){if(B===c){P=!0,c=g,p=E;break}if(B===p){P=!0,p=g,c=E;break}B=B.sibling}if(!P){for(B=E.child;B;){if(B===c){P=!0,c=E,p=g;break}if(B===p){P=!0,p=E,c=g;break}B=B.sibling}if(!P)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(c.alternate!==p)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(c.tag!==T)throw new Error("Unable to find node on an unmounted component.");return c.stateNode.current===c?e:t}function Rv(e){var t=pi(e);return t!==null?Tv(t):null}function Tv(e){if(e.tag===N||e.tag===O)return e;for(var t=e.child;t!==null;){var s=Tv(t);if(s!==null)return s;t=t.sibling}return null}function Iv(e){var t=pi(e);return t!==null?vd(t):null}function vd(e){if(e.tag===N||e.tag===O)return e;for(var t=e.child;t!==null;){if(t.tag!==j){var s=vd(t);if(s!==null)return s}t=t.sibling}return null}var Nv=i.unstable_scheduleCallback,hd=i.unstable_cancelCallback,pg=i.unstable_shouldYield,Cu=i.unstable_requestPaint,hr=i.unstable_now,uC=i.unstable_getCurrentPriorityLevel,Na=i.unstable_ImmediatePriority,xu=i.unstable_UserBlockingPriority,so=i.unstable_NormalPriority,Su=i.unstable_LowPriority,Zc=i.unstable_IdlePriority,_v=i.unstable_yieldValue,Ov=i.unstable_setDisableYieldValue,Os=null,ir=null,He=null,Jr=!1,Za=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function vg(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return v("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{le&&(e=Lt({},e,{getLaneLabelMap:md,injectProfilingHooks:js})),Os=t.inject(e),ir=t}catch(s){v("React instrumentation encountered an error: %s.",s)}return!!t.checkDCE}function $o(e,t){if(ir&&typeof ir.onScheduleFiberRoot=="function")try{ir.onScheduleFiberRoot(Os,e,t)}catch(s){Jr||(Jr=!0,v("React instrumentation encountered an error: %s",s))}}function As(e,t){if(ir&&typeof ir.onCommitFiberRoot=="function")try{var s=(e.current.flags&Ot)===Ot;if(ve){var c;switch(t){case ur:c=Na;break;case Wo:c=xu;break;case co:c=so;break;case ju:c=Zc;break;default:c=so;break}ir.onCommitFiberRoot(Os,e,c,s)}}catch(p){Jr||(Jr=!0,v("React instrumentation encountered an error: %s",p))}}function Av(e){if(ir&&typeof ir.onPostCommitFiberRoot=="function")try{ir.onPostCommitFiberRoot(Os,e)}catch(t){Jr||(Jr=!0,v("React instrumentation encountered an error: %s",t))}}function hg(e){if(ir&&typeof ir.onCommitFiberUnmount=="function")try{ir.onCommitFiberUnmount(Os,e)}catch(t){Jr||(Jr=!0,v("React instrumentation encountered an error: %s",t))}}function kn(e){if(typeof _v=="function"&&(Ov(e),d(e)),ir&&typeof ir.setStrictMode=="function")try{ir.setStrictMode(Os,e)}catch(t){Jr||(Jr=!0,v("React instrumentation encountered an error: %s",t))}}function js(e){He=e}function md(){{for(var e=new Map,t=1,s=0;s<or;s++){var c=Eg(t);e.set(t,c),t*=2}return e}}function mg(e){He!==null&&typeof He.markCommitStarted=="function"&&He.markCommitStarted(e)}function Jc(){He!==null&&typeof He.markCommitStopped=="function"&&He.markCommitStopped()}function Eu(e){He!==null&&typeof He.markComponentRenderStarted=="function"&&He.markComponentRenderStarted(e)}function Cl(){He!==null&&typeof He.markComponentRenderStopped=="function"&&He.markComponentRenderStopped()}function jv(e){He!==null&&typeof He.markComponentPassiveEffectMountStarted=="function"&&He.markComponentPassiveEffectMountStarted(e)}function gd(){He!==null&&typeof He.markComponentPassiveEffectMountStopped=="function"&&He.markComponentPassiveEffectMountStopped()}function gg(e){He!==null&&typeof He.markComponentPassiveEffectUnmountStarted=="function"&&He.markComponentPassiveEffectUnmountStarted(e)}function yg(){He!==null&&typeof He.markComponentPassiveEffectUnmountStopped=="function"&&He.markComponentPassiveEffectUnmountStopped()}function bg(e){He!==null&&typeof He.markComponentLayoutEffectMountStarted=="function"&&He.markComponentLayoutEffectMountStarted(e)}function Dv(){He!==null&&typeof He.markComponentLayoutEffectMountStopped=="function"&&He.markComponentLayoutEffectMountStopped()}function wu(e){He!==null&&typeof He.markComponentLayoutEffectUnmountStarted=="function"&&He.markComponentLayoutEffectUnmountStarted(e)}function qc(){He!==null&&typeof He.markComponentLayoutEffectUnmountStopped=="function"&&He.markComponentLayoutEffectUnmountStopped()}function Cg(e,t,s){He!==null&&typeof He.markComponentErrored=="function"&&He.markComponentErrored(e,t,s)}function xg(e,t,s){He!==null&&typeof He.markComponentSuspended=="function"&&He.markComponentSuspended(e,t,s)}function Ru(e){He!==null&&typeof He.markLayoutEffectsStarted=="function"&&He.markLayoutEffectsStarted(e)}function Sg(){He!==null&&typeof He.markLayoutEffectsStopped=="function"&&He.markLayoutEffectsStopped()}function Qc(e){He!==null&&typeof He.markPassiveEffectsStarted=="function"&&He.markPassiveEffectsStarted(e)}function lo(){He!==null&&typeof He.markPassiveEffectsStopped=="function"&&He.markPassiveEffectsStopped()}function Tu(e){He!==null&&typeof He.markRenderStarted=="function"&&He.markRenderStarted(e)}function Kc(){He!==null&&typeof He.markRenderYielded=="function"&&He.markRenderYielded()}function Ds(){He!==null&&typeof He.markRenderStopped=="function"&&He.markRenderStopped()}function kv(e){He!==null&&typeof He.markRenderScheduled=="function"&&He.markRenderScheduled(e)}function Iu(e,t){He!==null&&typeof He.markForceUpdateScheduled=="function"&&He.markForceUpdateScheduled(e,t)}function yd(e,t){He!==null&&typeof He.markStateUpdateScheduled=="function"&&He.markStateUpdateScheduled(e,t)}var mt=0,ut=1,Qt=2,Kn=8,hi=16,ef=Math.clz32?Math.clz32:Yn,Mv=Math.log,xl=Math.LN2;function Yn(e){var t=e>>>0;return t===0?32:31-(Mv(t)/xl|0)|0}var or=31,Ee=0,sr=0,bt=1,uo=2,Go=4,er=8,mi=16,Sl=32,ks=4194240,_a=64,Oa=128,El=256,tf=512,nf=1024,bd=2048,Cd=4096,xd=8192,Sd=16384,Ed=32768,wd=65536,Rd=131072,Td=262144,wl=524288,Id=1048576,Nu=2097152,Rl=130023424,Tl=4194304,rf=8388608,Nd=16777216,_d=33554432,Od=67108864,Lv=Tl,Il=134217728,Pv=268435455,_u=268435456,Ms=536870912,Ja=1073741824;function Eg(e){{if(e&bt)return"Sync";if(e&uo)return"InputContinuousHydration";if(e&Go)return"InputContinuous";if(e&er)return"DefaultHydration";if(e&mi)return"Default";if(e&Sl)return"TransitionHydration";if(e&ks)return"Transition";if(e&Rl)return"Retry";if(e&Il)return"SelectiveHydration";if(e&_u)return"IdleHydration";if(e&Ms)return"Idle";if(e&Ja)return"Offscreen"}}var Mn=-1,Ad=_a,af=Tl;function Ou(e){switch(lr(e)){case bt:return bt;case uo:return uo;case Go:return Go;case er:return er;case mi:return mi;case Sl:return Sl;case _a:case Oa:case El:case tf:case nf:case bd:case Cd:case xd:case Sd:case Ed:case wd:case Rd:case Td:case wl:case Id:case Nu:return e&ks;case Tl:case rf:case Nd:case _d:case Od:return e&Rl;case Il:return Il;case _u:return _u;case Ms:return Ms;case Ja:return Ja;default:return v("Should have found matching lanes. This is a bug in React."),e}}function of(e,t){var s=e.pendingLanes;if(s===Ee)return Ee;var c=Ee,p=e.suspendedLanes,g=e.pingedLanes,E=s&Pv;if(E!==Ee){var I=E&~p;if(I!==Ee)c=Ou(I);else{var A=E&g;A!==Ee&&(c=Ou(A))}}else{var P=s&~p;P!==Ee?c=Ou(P):g!==Ee&&(c=Ou(g))}if(c===Ee)return Ee;if(t!==Ee&&t!==c&&(t&p)===Ee){var B=lr(c),te=lr(t);if(B>=te||B===mi&&(te&ks)!==Ee)return t}(c&Go)!==Ee&&(c|=s&mi);var K=e.entangledLanes;if(K!==Ee)for(var ce=e.entanglements,de=c&K;de>0;){var be=Ps(de),qe=1<<be;c|=ce[be],de&=~qe}return c}function jd(e,t){for(var s=e.eventTimes,c=Mn;t>0;){var p=Ps(t),g=1<<p,E=s[p];E>c&&(c=E),t&=~g}return c}function cC(e,t){switch(e){case bt:case uo:case Go:return t+250;case er:case mi:case Sl:case _a:case Oa:case El:case tf:case nf:case bd:case Cd:case xd:case Sd:case Ed:case wd:case Rd:case Td:case wl:case Id:case Nu:return t+5e3;case Tl:case rf:case Nd:case _d:case Od:return Mn;case Il:case _u:case Ms:case Ja:return Mn;default:return v("Should have found matching lanes. This is a bug in React."),Mn}}function fC(e,t){for(var s=e.pendingLanes,c=e.suspendedLanes,p=e.pingedLanes,g=e.expirationTimes,E=s;E>0;){var I=Ps(E),A=1<<I,P=g[I];P===Mn?((A&c)===Ee||(A&p)!==Ee)&&(g[I]=cC(A,t)):P<=t&&(e.expiredLanes|=A),E&=~A}}function dC(e){return Ou(e.pendingLanes)}function Ls(e){var t=e.pendingLanes&~Ja;return t!==Ee?t:t&Ja?Ja:Ee}function Fv(e){return(e&bt)!==Ee}function sf(e){return(e&Pv)!==Ee}function wg(e){return(e&Rl)===e}function Rg(e){var t=bt|Go|mi;return(e&t)===Ee}function Tg(e){return(e&ks)===e}function lf(e,t){var s=uo|Go|er|mi;return(t&s)!==Ee}function Ig(e,t){return(t&e.expiredLanes)!==Ee}function Vv(e){return(e&ks)!==Ee}function Ng(){var e=Ad;return Ad<<=1,(Ad&ks)===Ee&&(Ad=_a),e}function Aa(){var e=af;return af<<=1,(af&Rl)===Ee&&(af=Tl),e}function lr(e){return e&-e}function Au(e){return lr(e)}function Ps(e){return 31-ef(e)}function Dd(e){return Ps(e)}function ja(e,t){return(e&t)!==Ee}function Nl(e,t){return(e&t)===t}function Dt(e,t){return e|t}function uf(e,t){return e&~t}function kd(e,t){return e&t}function pC(e){return e}function _g(e,t){return e!==sr&&e<t?e:t}function cf(e){for(var t=[],s=0;s<or;s++)t.push(e);return t}function _l(e,t,s){e.pendingLanes|=t,t!==Ms&&(e.suspendedLanes=Ee,e.pingedLanes=Ee);var c=e.eventTimes,p=Dd(t);c[p]=s}function Og(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var s=e.expirationTimes,c=t;c>0;){var p=Ps(c),g=1<<p;s[p]=Mn,c&=~g}}function Md(e,t,s){e.pingedLanes|=e.suspendedLanes&t}function Ld(e,t){var s=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Ee,e.pingedLanes=Ee,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var c=e.entanglements,p=e.eventTimes,g=e.expirationTimes,E=s;E>0;){var I=Ps(E),A=1<<I;c[I]=Ee,p[I]=Mn,g[I]=Mn,E&=~A}}function Bv(e,t){for(var s=e.entangledLanes|=t,c=e.entanglements,p=s;p;){var g=Ps(p),E=1<<g;E&t|c[g]&t&&(c[g]|=t),p&=~E}}function Ag(e,t){var s=lr(t),c;switch(s){case Go:c=uo;break;case mi:c=er;break;case _a:case Oa:case El:case tf:case nf:case bd:case Cd:case xd:case Sd:case Ed:case wd:case Rd:case Td:case wl:case Id:case Nu:case Tl:case rf:case Nd:case _d:case Od:c=Sl;break;case Ms:c=_u;break;default:c=sr;break}return(c&(e.suspendedLanes|t))!==sr?sr:c}function Pd(e,t,s){if(Za)for(var c=e.pendingUpdatersLaneMap;s>0;){var p=Dd(s),g=1<<p,E=c[p];E.add(t),s&=~g}}function zv(e,t){if(Za)for(var s=e.pendingUpdatersLaneMap,c=e.memoizedUpdaters;t>0;){var p=Dd(t),g=1<<p,E=s[p];E.size>0&&(E.forEach(function(I){var A=I.alternate;(A===null||!c.has(A))&&c.add(I)}),E.clear()),t&=~g}}function ff(e,t){return null}var ur=bt,Wo=Go,co=mi,ju=Ms,Du=sr;function gi(){return Du}function tr(e){Du=e}function qr(e,t){var s=Du;try{return Du=e,t()}finally{Du=s}}function vC(e,t){return e!==0&&e<t?e:t}function hC(e,t){return e===0||e>t?e:t}function ku(e,t){return e!==0&&e<t}function Fr(e){var t=lr(e);return ku(ur,t)?ku(Wo,t)?sf(t)?co:ju:Wo:ur}function Fd(e){var t=e.current.memoizedState;return t.isDehydrated}var Ke;function Mu(e){Ke=e}function Hv(e){Ke(e)}var Vd;function mC(e){Vd=e}var Lu;function Bd(e){Lu=e}var zd;function jg(e){zd=e}var Uv;function Dg(e){Uv=e}var df=!1,Pu=[],Un=null,_r=null,ia=null,Fu=new Map,Vu=new Map,Or=[],kg=["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 fo(e){return kg.indexOf(e)>-1}function gC(e,t,s,c,p){return{blockedOn:e,domEventName:t,eventSystemFlags:s,nativeEvent:p,targetContainers:[c]}}function $v(e,t){switch(e){case"focusin":case"focusout":Un=null;break;case"dragenter":case"dragleave":_r=null;break;case"mouseover":case"mouseout":ia=null;break;case"pointerover":case"pointerout":{var s=t.pointerId;Fu.delete(s);break}case"gotpointercapture":case"lostpointercapture":{var c=t.pointerId;Vu.delete(c);break}}}function Bu(e,t,s,c,p,g){if(e===null||e.nativeEvent!==g){var E=gC(t,s,c,p,g);if(t!==null){var I=Zu(t);I!==null&&Vd(I)}return E}e.eventSystemFlags|=c;var A=e.targetContainers;return p!==null&&A.indexOf(p)===-1&&A.push(p),e}function Mg(e,t,s,c,p){switch(t){case"focusin":{var g=p;return Un=Bu(Un,e,t,s,c,g),!0}case"dragenter":{var E=p;return _r=Bu(_r,e,t,s,c,E),!0}case"mouseover":{var I=p;return ia=Bu(ia,e,t,s,c,I),!0}case"pointerover":{var A=p,P=A.pointerId;return Fu.set(P,Bu(Fu.get(P)||null,e,t,s,c,A)),!0}case"gotpointercapture":{var B=p,te=B.pointerId;return Vu.set(te,Bu(Vu.get(te)||null,e,t,s,c,B)),!0}}return!1}function Gv(e){var t=wf(e.target);if(t!==null){var s=_s(t);if(s!==null){var c=s.tag;if(c===U){var p=dd(s);if(p!==null){e.blockedOn=p,Uv(e.priority,function(){Lu(s)});return}}else if(c===T){var g=s.stateNode;if(Fd(g)){e.blockedOn=pd(s);return}}}}e.blockedOn=null}function yC(e){for(var t=zd(),s={blockedOn:null,target:e,priority:t},c=0;c<Or.length&&ku(t,Or[c].priority);c++);Or.splice(c,0,s),c===0&&Gv(s)}function Ol(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var s=t[0],c=Qr(e.domEventName,e.eventSystemFlags,s,e.nativeEvent);if(c===null){var p=e.nativeEvent,g=new p.constructor(p.type,p);oC(g),p.target.dispatchEvent(g),og()}else{var E=Zu(c);return E!==null&&Vd(E),e.blockedOn=c,!1}t.shift()}return!0}function Hd(e,t,s){Ol(e)&&s.delete(t)}function yi(){df=!1,Un!==null&&Ol(Un)&&(Un=null),_r!==null&&Ol(_r)&&(_r=null),ia!==null&&Ol(ia)&&(ia=null),Fu.forEach(Hd),Vu.forEach(Hd)}function zt(e,t){e.blockedOn===t&&(e.blockedOn=null,df||(df=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,yi)))}function nr(e){if(Pu.length>0){zt(Pu[0],e);for(var t=1;t<Pu.length;t++){var s=Pu[t];s.blockedOn===e&&(s.blockedOn=null)}}Un!==null&&zt(Un,e),_r!==null&&zt(_r,e),ia!==null&&zt(ia,e);var c=function(I){return zt(I,e)};Fu.forEach(c),Vu.forEach(c);for(var p=0;p<Or.length;p++){var g=Or[p];g.blockedOn===e&&(g.blockedOn=null)}for(;Or.length>0;){var E=Or[0];if(E.blockedOn!==null)break;Gv(E),E.blockedOn===null&&Or.shift()}}var zn=u.ReactCurrentBatchConfig,br=!0;function Da(e){br=!!e}function zu(){return br}function Cr(e,t,s){var c=Ud(t),p;switch(c){case ur:p=pf;break;case Wo:p=Al;break;case co:default:p=Hu;break}return p.bind(null,t,s,e)}function pf(e,t,s,c){var p=gi(),g=zn.transition;zn.transition=null;try{tr(ur),Hu(e,t,s,c)}finally{tr(p),zn.transition=g}}function Al(e,t,s,c){var p=gi(),g=zn.transition;zn.transition=null;try{tr(Wo),Hu(e,t,s,c)}finally{tr(p),zn.transition=g}}function Hu(e,t,s,c){br&&Wv(e,t,s,c)}function Wv(e,t,s,c){var p=Qr(e,t,s,c);if(p===null){MC(e,t,c,Fs,s),$v(e,c);return}if(Mg(p,e,t,s,c)){c.stopPropagation();return}if($v(e,c),t&Hc&&fo(e)){for(;p!==null;){var g=Zu(p);g!==null&&Hv(g);var E=Qr(e,t,s,c);if(E===null&&MC(e,t,c,Fs,s),E===p)break;p=E}p!==null&&c.stopPropagation();return}MC(e,t,c,null,s)}var Fs=null;function Qr(e,t,s,c){Fs=null;var p=Tn(c),g=wf(p);if(g!==null){var E=_s(g);if(E===null)g=null;else{var I=E.tag;if(I===U){var A=dd(E);if(A!==null)return A;g=null}else if(I===T){var P=E.stateNode;if(Fd(P))return pd(E);g=null}else E!==g&&(g=null)}}return Fs=g,null}function Ud(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 ur;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 Wo;case"message":{var t=uC();switch(t){case Na:return ur;case xu:return Wo;case so:case Su:return co;case Zc:return ju;default:return co}}default:return co}}function Uu(e,t,s){return e.addEventListener(t,s,!1),s}function Xo(e,t,s){return e.addEventListener(t,s,!0),s}function $d(e,t,s,c){return e.addEventListener(t,s,{capture:!0,passive:c}),s}function Xv(e,t,s,c){return e.addEventListener(t,s,{passive:c}),s}var bi=null,$u=null,Ci=null;function Gd(e){return bi=e,$u=hf(),!0}function vf(){bi=null,$u=null,Ci=null}function Wd(){if(Ci)return Ci;var e,t=$u,s=t.length,c,p=hf(),g=p.length;for(e=0;e<s&&t[e]===p[e];e++);var E=s-e;for(c=1;c<=E&&t[s-c]===p[g-c];c++);var I=c>1?1-c:void 0;return Ci=p.slice(e,I),Ci}function hf(){return"value"in bi?bi.value:bi.textContent}function jl(e){var t,s=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&s===13&&(t=13)):t=s,t===10&&(t=13),t>=32||t===13?t:0}function Ar(){return!0}function Yo(){return!1}function Zn(e){function t(s,c,p,g,E){this._reactName=s,this._targetInst=p,this.type=c,this.nativeEvent=g,this.target=E,this.currentTarget=null;for(var I in e)if(e.hasOwnProperty(I)){var A=e[I];A?this[I]=A(g):this[I]=g[I]}var P=g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1;return P?this.isDefaultPrevented=Ar:this.isDefaultPrevented=Yo,this.isPropagationStopped=Yo,this}return Lt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Ar)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Ar)},persist:function(){},isPersistent:Ar}),t}var xr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Xd=Zn(xr),Dl=Lt({},xr,{view:0,detail:0}),Yv=Zn(Dl),Zv,po,Gu;function Jv(e){e!==Gu&&(Gu&&e.type==="mousemove"?(Zv=e.screenX-Gu.screenX,po=e.screenY-Gu.screenY):(Zv=0,po=0),Gu=e)}var vo=Lt({},Dl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qv,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:(Jv(e),Zv)},movementY:function(e){return"movementY"in e?e.movementY:po}}),Yd=Zn(vo),kl=Lt({},vo,{dataTransfer:0}),Lg=Zn(kl),Pg=Lt({},Dl,{relatedTarget:0}),mf=Zn(Pg),Zd=Lt({},xr,{animationName:0,elapsedTime:0,pseudoElement:0}),bC=Zn(Zd),CC=Lt({},xr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Fg=Zn(CC),Vg=Lt({},xr,{data:0}),Vs=Zn(Vg),xC=Vs,Wu={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bg={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 rr(e){if(e.key){var t=Wu[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var s=jl(e);return s===13?"Enter":String.fromCharCode(s)}return e.type==="keydown"||e.type==="keyup"?Bg[e.keyCode]||"Unidentified":""}var SC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zg(e){var t=this,s=t.nativeEvent;if(s.getModifierState)return s.getModifierState(e);var c=SC[e];return c?!!s[c]:!1}function qv(e){return zg}var EC=Lt({},Dl,{key:rr,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qv,charCode:function(e){return e.type==="keypress"?jl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?jl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Hg=Zn(EC),Ug=Lt({},vo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$g=Zn(Ug),xi=Lt({},Dl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qv}),Qv=Zn(xi),wC=Lt({},xr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Bs=Zn(wC),Jd=Lt({},vo,{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}),Ml=Zn(Jd),qd=[9,13,27,32],Qd=229,gf=It&&"CompositionEvent"in window,yf=null;It&&"documentMode"in document&&(yf=document.documentMode);var Kv=It&&"TextEvent"in window&&!yf,Gg=It&&(!gf||yf&&yf>8&&yf<=11),eh=32,th=String.fromCharCode(eh);function Kd(){ft("onBeforeInput",["compositionend","keypress","textInput","paste"]),ft("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),ft("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),ft("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var bf=!1;function Wg(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function nh(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function RC(e,t){return e==="keydown"&&t.keyCode===Qd}function rh(e,t){switch(e){case"keyup":return qd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Qd;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ep(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Cf(e){return e.locale==="ko"}var zs=!1;function tp(e,t,s,c,p){var g,E;if(gf?g=nh(t):zs?rh(t,c)&&(g="onCompositionEnd"):RC(t,c)&&(g="onCompositionStart"),!g)return null;Gg&&!Cf(c)&&(!zs&&g==="onCompositionStart"?zs=Gd(p):g==="onCompositionEnd"&&zs&&(E=Wd()));var I=Qg(s,g);if(I.length>0){var A=new Vs(g,t,null,c,p);if(e.push({event:A,listeners:I}),E)A.data=E;else{var P=ep(c);P!==null&&(A.data=P)}}}function Xg(e,t){switch(e){case"compositionend":return ep(t);case"keypress":var s=t.which;return s!==eh?null:(bf=!0,th);case"textInput":var c=t.data;return c===th&&bf?null:c;default:return null}}function TC(e,t){if(zs){if(e==="compositionend"||!gf&&rh(e,t)){var s=Wd();return vf(),zs=!1,s}return null}switch(e){case"paste":return null;case"keypress":if(!Wg(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Gg&&!Cf(t)?null:t.data;default:return null}}function np(e,t,s,c,p){var g;if(Kv?g=Xg(t,c):g=TC(t,c),!g)return null;var E=Qg(s,"onBeforeInput");if(E.length>0){var I=new xC("onBeforeInput","beforeinput",null,c,p);e.push({event:I,listeners:E}),I.data=g}}function IC(e,t,s,c,p,g,E){tp(e,t,s,c,p),np(e,t,s,c,p)}var xf={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 Yg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!xf[e.type]:t==="textarea"}/**
113
113
  * Checks if an event is supported in the current execution environment.
114
114
  *
115
115
  * NOTE: This will not work correctly for non-generic events such as `change`,
@@ -121,43 +121,43 @@ Check the render method of \``+e+"`.":""}var Oc=["value","defaultValue"];functio
121
121
  * @return {boolean} True if the event is supported.
122
122
  * @internal
123
123
  * @license Modernizr 3.0.0pre (Custom Build) | MIT
124
- */function np(e){if(!It)return!1;var t="on"+e,s=t in document;if(!s){var c=document.createElement("div");c.setAttribute(t,"return;"),s=typeof c[t]=="function"}return s}function a(){ft("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function o(e,t,s,c){gu(c);var p=Qg(t,"onChange");if(p.length>0){var g=new Wd("onChange","change",null,s,c);e.push({event:g,listeners:p})}}var f=null,m=null;function S(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function w(e){var t=[];o(t,m,e,Tn(e)),Uc(k,t)}function k(e){i1(e,0)}function W(e){var t=lp(e);if(cu(t))return e}function Q(e,t){if(e==="change")return t}var pe=!1;It&&(pe=np("input")&&(!document.documentMode||document.documentMode>9));function Me(e,t){f=e,m=t,f.attachEvent("onpropertychange",De)}function Pe(){f&&(f.detachEvent("onpropertychange",De),f=null,m=null)}function De(e){e.propertyName==="value"&&W(m)&&w(e)}function Ye(e,t,s){e==="focusin"?(Pe(),Me(t,s)):e==="focusout"&&Pe()}function nt(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return W(m)}function ot(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function cr(e,t){if(e==="click")return W(t)}function ae(e,t){if(e==="input"||e==="change")return W(t)}function ee(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||wt(e,"number",e.value)}function se(e,t,s,c,p,g,E){var I=s?lp(s):window,A,P;if(S(I)?A=Q:Yg(I)?pe?A=ae:(A=nt,P=Ye):ot(I)&&(A=cr),A){var B=A(t,s);if(B){o(e,B,c,p);return}}P&&P(t,I,s),t==="focusout"&&ee(I)}function ze(){Ae("onMouseEnter",["mouseout","mouseover"]),Ae("onMouseLeave",["mouseout","mouseover"]),Ae("onPointerEnter",["pointerout","pointerover"]),Ae("onPointerLeave",["pointerout","pointerover"])}function lt(e,t,s,c,p,g,E){var I=t==="mouseover"||t==="pointerover",A=t==="mouseout"||t==="pointerout";if(I&&!sg(c)){var P=c.relatedTarget||c.fromElement;if(P&&(Ef(P)||gh(P)))return}if(!(!A&&!I)){var B;if(p.window===p)B=p;else{var te=p.ownerDocument;te?B=te.defaultView||te.parentWindow:B=window}var K,ce;if(A){var de=c.relatedTarget||c.toElement;if(K=s,ce=de?Ef(de):null,ce!==null){var be=Ns(ce);(ce!==be||ce.tag!==N&&ce.tag!==O)&&(ce=null)}}else K=null,ce=s;if(K!==ce){var qe=Xd,gt="onMouseLeave",ct="onMouseEnter",Wt="mouse";(t==="pointerout"||t==="pointerover")&&(qe=$g,gt="onPointerLeave",ct="onPointerEnter",Wt="pointer");var Ht=K==null?B:lp(K),ie=ce==null?B:lp(ce),Ce=new qe(gt,Wt+"leave",K,c,p);Ce.target=Ht,Ce.relatedTarget=ie;var oe=null,Fe=Ef(p);if(Fe===s){var Qe=new qe(ct,Wt+"enter",ce,c,p);Qe.target=ie,Qe.relatedTarget=Ht,oe=Qe}SM(e,Ce,oe,K,ce)}}}function Ct(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var rt=typeof Object.is=="function"?Object.is:Ct;function St(e,t){if(rt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var s=Object.keys(e),c=Object.keys(t);if(s.length!==c.length)return!1;for(var p=0;p<s.length;p++){var g=s[p];if(!pt.call(t,g)||!rt(e[g],t[g]))return!1}return!0}function Sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nn(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Yo(e,t){for(var s=Sr(e),c=0,p=0;s;){if(s.nodeType===Lo){if(p=c+s.textContent.length,c<=t&&p>=t)return{node:s,offset:t-c};c=p}s=Sr(nn(s))}}function NC(e){var t=e.ownerDocument,s=t&&t.defaultView||window,c=s.getSelection&&s.getSelection();if(!c||c.rangeCount===0)return null;var p=c.anchorNode,g=c.anchorOffset,E=c.focusNode,I=c.focusOffset;try{p.nodeType,E.nodeType}catch{return null}return nM(e,p,g,E,I)}function nM(e,t,s,c,p){var g=0,E=-1,I=-1,A=0,P=0,B=e,te=null;e:for(;;){for(var K=null;B===t&&(s===0||B.nodeType===Lo)&&(E=g+s),B===c&&(p===0||B.nodeType===Lo)&&(I=g+p),B.nodeType===Lo&&(g+=B.nodeValue.length),(K=B.firstChild)!==null;)te=B,B=K;for(;;){if(B===e)break e;if(te===t&&++A===s&&(E=g),te===c&&++P===p&&(I=g),(K=B.nextSibling)!==null)break;B=te,te=B.parentNode}B=K}return E===-1||I===-1?null:{start:E,end:I}}function rM(e,t){var s=e.ownerDocument||document,c=s&&s.defaultView||window;if(c.getSelection){var p=c.getSelection(),g=e.textContent.length,E=Math.min(t.start,g),I=t.end===void 0?E:Math.min(t.end,g);if(!p.extend&&E>I){var A=I;I=E,E=A}var P=Yo(e,E),B=Yo(e,I);if(P&&B){if(p.rangeCount===1&&p.anchorNode===P.node&&p.anchorOffset===P.offset&&p.focusNode===B.node&&p.focusOffset===B.offset)return;var te=s.createRange();te.setStart(P.node,P.offset),p.removeAllRanges(),E>I?(p.addRange(te),p.extend(B.node,B.offset)):(te.setEnd(B.node,B.offset),p.addRange(te))}}}function XR(e){return e&&e.nodeType===Lo}function YR(e,t){return!e||!t?!1:e===t?!0:XR(e)?!1:XR(t)?YR(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function aM(e){return e&&e.ownerDocument&&YR(e.ownerDocument.documentElement,e)}function iM(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function ZR(){for(var e=window,t=no();t instanceof e.HTMLIFrameElement;){if(iM(t))e=t.contentWindow;else return t;t=no(e.document)}return t}function _C(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 oM(){var e=ZR();return{focusedElem:e,selectionRange:_C(e)?lM(e):null}}function sM(e){var t=ZR(),s=e.focusedElem,c=e.selectionRange;if(t!==s&&aM(s)){c!==null&&_C(s)&&uM(s,c);for(var p=[],g=s;g=g.parentNode;)g.nodeType===Ea&&p.push({element:g,left:g.scrollLeft,top:g.scrollTop});typeof s.focus=="function"&&s.focus();for(var E=0;E<p.length;E++){var I=p[E];I.element.scrollLeft=I.left,I.element.scrollTop=I.top}}}function lM(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=NC(e),t||{start:0,end:0}}function uM(e,t){var s=t.start,c=t.end;c===void 0&&(c=s),"selectionStart"in e?(e.selectionStart=s,e.selectionEnd=Math.min(c,e.value.length)):rM(e,t)}var cM=It&&"documentMode"in document&&document.documentMode<=11;function fM(){ft("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var rp=null,OC=null,ah=null,AC=!1;function dM(e){if("selectionStart"in e&&_C(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,s=t.getSelection();return{anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}}function pM(e){return e.window===e?e.document:e.nodeType===$a?e:e.ownerDocument}function JR(e,t,s){var c=pM(s);if(!(AC||rp==null||rp!==no(c))){var p=dM(rp);if(!ah||!St(ah,p)){ah=p;var g=Qg(OC,"onSelect");if(g.length>0){var E=new Wd("onSelect","select",null,t,s);e.push({event:E,listeners:g}),E.target=rp}}}}function vM(e,t,s,c,p,g,E){var I=s?lp(s):window;switch(t){case"focusin":(Yg(I)||I.contentEditable==="true")&&(rp=I,OC=s,ah=null);break;case"focusout":rp=null,OC=null,ah=null;break;case"mousedown":AC=!0;break;case"contextmenu":case"mouseup":case"dragend":AC=!1,JR(e,c,p);break;case"selectionchange":if(cM)break;case"keydown":case"keyup":JR(e,c,p)}}function Zg(e,t){var s={};return s[e.toLowerCase()]=t.toLowerCase(),s["Webkit"+e]="webkit"+t,s["Moz"+e]="moz"+t,s}var ap={animationend:Zg("Animation","AnimationEnd"),animationiteration:Zg("Animation","AnimationIteration"),animationstart:Zg("Animation","AnimationStart"),transitionend:Zg("Transition","TransitionEnd")},jC={},qR={};It&&(qR=document.createElement("div").style,"AnimationEvent"in window||(delete ap.animationend.animation,delete ap.animationiteration.animation,delete ap.animationstart.animation),"TransitionEvent"in window||delete ap.transitionend.transition);function Jg(e){if(jC[e])return jC[e];if(!ap[e])return e;var t=ap[e];for(var s in t)if(t.hasOwnProperty(s)&&s in qR)return jC[e]=t[s];return e}var QR=Jg("animationend"),KR=Jg("animationiteration"),e1=Jg("animationstart"),t1=Jg("transitionend"),n1=new Map,r1=["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 Wu(e,t){n1.set(e,t),ft(t,[e])}function hM(){for(var e=0;e<r1.length;e++){var t=r1[e],s=t.toLowerCase(),c=t[0].toUpperCase()+t.slice(1);Wu(s,"on"+c)}Wu(QR,"onAnimationEnd"),Wu(KR,"onAnimationIteration"),Wu(e1,"onAnimationStart"),Wu("dblclick","onDoubleClick"),Wu("focusin","onFocus"),Wu("focusout","onBlur"),Wu(t1,"onTransitionEnd")}function mM(e,t,s,c,p,g,E){var I=n1.get(t);if(I!==void 0){var A=Wd,P=t;switch(t){case"keypress":if(Al(c)===0)return;case"keydown":case"keyup":A=Hg;break;case"focusin":P="focus",A=hf;break;case"focusout":P="blur",A=hf;break;case"beforeblur":case"afterblur":A=hf;break;case"click":if(c.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":A=Xd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":A=Lg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":A=Qv;break;case QR:case KR:case e1:A=bC;break;case t1:A=Vs;break;case"scroll":A=Yv;break;case"wheel":A=kl;break;case"copy":case"cut":case"paste":A=Fg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":A=$g;break}var B=(g&zc)!==0;{var te=!B&&t==="scroll",K=CM(s,I,c.type,B,te);if(K.length>0){var ce=new A(I,P,null,c,p);e.push({event:ce,listeners:K})}}}}hM(),ze(),a(),fM(),Qd();function gM(e,t,s,c,p,g,E){mM(e,t,s,c,p,g);var I=(g&iC)===0;I&&(lt(e,t,s,c,p),se(e,t,s,c,p),vM(e,t,s,c,p),IC(e,t,s,c,p))}var ih=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],DC=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(ih));function a1(e,t,s){var c=e.type||"unknown-event";e.currentTarget=s,wv(c,t,void 0,e),e.currentTarget=null}function yM(e,t,s){var c;if(s)for(var p=t.length-1;p>=0;p--){var g=t[p],E=g.instance,I=g.currentTarget,A=g.listener;if(E!==c&&e.isPropagationStopped())return;a1(e,A,I),c=E}else for(var P=0;P<t.length;P++){var B=t[P],te=B.instance,K=B.currentTarget,ce=B.listener;if(te!==c&&e.isPropagationStopped())return;a1(e,ce,K),c=te}}function i1(e,t){for(var s=(t&zc)!==0,c=0;c<e.length;c++){var p=e[c],g=p.event,E=p.listeners;yM(g,E,s)}sC()}function bM(e,t,s,c,p){var g=Tn(s),E=[];gM(E,e,c,s,g,t),i1(E,t)}function Jn(e,t){DC.has(e)||v('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var s=!1,c=ZL(t),p=EM(e,s);c.has(p)||(o1(t,e,Bc,s),c.add(p))}function kC(e,t,s){DC.has(e)&&!t&&v('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var c=0;t&&(c|=zc),o1(s,e,c,t)}var qg="_reactListening"+Math.random().toString(36).slice(2);function oh(e){if(!e[qg]){e[qg]=!0,Ve.forEach(function(s){s!=="selectionchange"&&(DC.has(s)||kC(s,!1,e),kC(s,!0,e))});var t=e.nodeType===$a?e:e.ownerDocument;t!==null&&(t[qg]||(t[qg]=!0,kC("selectionchange",!1,t)))}}function o1(e,t,s,c,p){var g=Cr(e,t,s),E=void 0;$c&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(E=!0),e=e,c?E!==void 0?Ud(e,t,g,E):Wo(e,t,g):E!==void 0?Xv(e,t,g,E):Hu(e,t,g)}function s1(e,t){return e===t||e.nodeType===Qn&&e.parentNode===t}function MC(e,t,s,c,p){var g=c;if(!(t&od)&&!(t&Bc)){var E=p;if(c!==null){var I=c;e:for(;;){if(I===null)return;var A=I.tag;if(A===T||A===j){var P=I.stateNode.containerInfo;if(s1(P,E))break;if(A===j)for(var B=I.return;B!==null;){var te=B.tag;if(te===T||te===j){var K=B.stateNode.containerInfo;if(s1(K,E))return}B=B.return}for(;P!==null;){var ce=Ef(P);if(ce===null)return;var de=ce.tag;if(de===N||de===O){I=g=ce;continue e}P=P.parentNode}}I=I.return}}}Uc(function(){return bM(e,t,s,g)})}function sh(e,t,s){return{instance:e,listener:t,currentTarget:s}}function CM(e,t,s,c,p,g){for(var E=t!==null?t+"Capture":null,I=c?E:t,A=[],P=e,B=null;P!==null;){var te=P,K=te.stateNode,ce=te.tag;if(ce===N&&K!==null&&(B=K,I!==null)){var de=hl(P,I);de!=null&&A.push(sh(P,de,B))}if(p)break;P=P.return}return A}function Qg(e,t){for(var s=t+"Capture",c=[],p=e;p!==null;){var g=p,E=g.stateNode,I=g.tag;if(I===N&&E!==null){var A=E,P=hl(p,s);P!=null&&c.unshift(sh(p,P,A));var B=hl(p,t);B!=null&&c.push(sh(p,B,A))}p=p.return}return c}function ip(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==N);return e||null}function xM(e,t){for(var s=e,c=t,p=0,g=s;g;g=ip(g))p++;for(var E=0,I=c;I;I=ip(I))E++;for(;p-E>0;)s=ip(s),p--;for(;E-p>0;)c=ip(c),E--;for(var A=p;A--;){if(s===c||c!==null&&s===c.alternate)return s;s=ip(s),c=ip(c)}return null}function l1(e,t,s,c,p){for(var g=t._reactName,E=[],I=s;I!==null&&I!==c;){var A=I,P=A.alternate,B=A.stateNode,te=A.tag;if(P!==null&&P===c)break;if(te===N&&B!==null){var K=B;if(p){var ce=hl(I,g);ce!=null&&E.unshift(sh(I,ce,K))}else if(!p){var de=hl(I,g);de!=null&&E.push(sh(I,de,K))}}I=I.return}E.length!==0&&e.push({event:t,listeners:E})}function SM(e,t,s,c,p){var g=c&&p?xM(c,p):null;c!==null&&l1(e,t,c,g,!1),p!==null&&s!==null&&l1(e,s,p,g,!0)}function EM(e,t){return e+"__"+(t?"capture":"bubble")}var Si=!1,lh="dangerouslySetInnerHTML",Kg="suppressContentEditableWarning",Xu="suppressHydrationWarning",u1="autoFocus",xf="children",Sf="style",ey="__html",LC,ty,uh,c1,ny,f1,d1;LC={dialog:!0,webview:!0},ty=function(e,t){mu(e,t),tg(e,t),ws(e,t,{registrationNameDependencies:et,possibleRegistrationNames:tt})},f1=It&&!document.documentMode,uh=function(e,t,s){if(!Si){var c=ry(s),p=ry(t);p!==c&&(Si=!0,v("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(p),JSON.stringify(c)))}},c1=function(e){if(!Si){Si=!0;var t=[];e.forEach(function(s){t.push(s)}),v("Extra attributes from the server: %s",t)}},ny=function(e,t){t===!1?v("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):v("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},d1=function(e,t){var s=e.namespaceURI===Mo?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return s.innerHTML=t,s.innerHTML};var wM=/\r\n?/g,RM=/\u0000|\uFFFD/g;function ry(e){Rr(e);var t=typeof e=="string"?e:""+e;return t.replace(wM,`
125
- `).replace(RM,"")}function ay(e,t,s,c){var p=ry(t),g=ry(e);if(g!==p&&(c&&(Si||(Si=!0,v('Text content did not match. Server: "%s" Client: "%s"',g,p))),s&&ne))throw new Error("Text content does not match server-rendered HTML.")}function p1(e){return e.nodeType===$a?e:e.ownerDocument}function TM(){}function iy(e){e.onclick=TM}function IM(e,t,s,c,p){for(var g in c)if(c.hasOwnProperty(g)){var E=c[g];if(g===Sf)E&&Object.freeze(E),Zm(t,E);else if(g===lh){var I=E?E[ey]:void 0;I!=null&&Bm(t,I)}else if(g===xf)if(typeof E=="string"){var A=e!=="textarea"||E!=="";A&&kc(t,E)}else typeof E=="number"&&kc(t,""+E);else g===Kg||g===Xu||g===u1||(et.hasOwnProperty(g)?E!=null&&(typeof E!="function"&&ny(g,E),g==="onScroll"&&Jn("scroll",t)):E!=null&&Io(t,g,E,p))}}function NM(e,t,s,c){for(var p=0;p<t.length;p+=2){var g=t[p],E=t[p+1];g===Sf?Zm(e,E):g===lh?Bm(e,E):g===xf?kc(e,E):Io(e,g,E,c)}}function _M(e,t,s,c){var p,g=p1(s),E,I=c;if(I===Mo&&(I=ov(e)),I===Mo){if(p=dl(e,t),!p&&e!==e.toLowerCase()&&v("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var A=g.createElement("div");A.innerHTML="<script><\/script>";var P=A.firstChild;E=A.removeChild(P)}else if(typeof t.is=="string")E=g.createElement(e,{is:t.is});else if(E=g.createElement(e),e==="select"){var B=E;t.multiple?B.multiple=!0:t.size&&(B.size=t.size)}}else E=g.createElementNS(I,e);return I===Mo&&!p&&Object.prototype.toString.call(E)==="[object HTMLUnknownElement]"&&!pt.call(LC,e)&&(LC[e]=!0,v("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),E}function OM(e,t){return p1(t).createTextNode(e)}function AM(e,t,s,c){var p=dl(t,s);ty(t,s);var g;switch(t){case"dialog":Jn("cancel",e),Jn("close",e),g=s;break;case"iframe":case"object":case"embed":Jn("load",e),g=s;break;case"video":case"audio":for(var E=0;E<ih.length;E++)Jn(ih[E],e);g=s;break;case"source":Jn("error",e),g=s;break;case"img":case"image":case"link":Jn("error",e),Jn("load",e),g=s;break;case"details":Jn("toggle",e),g=s;break;case"input":X(e,s),g=D(e,s),Jn("invalid",e);break;case"option":hn(e,s),g=s;break;case"select":Dc(e,s),g=jc(e,s),Jn("invalid",e);break;case"textarea":Fm(e,s),g=iv(e,s),Jn("invalid",e);break;default:g=s}switch(Pc(t,g),IM(t,e,c,g,p),t){case"input":jo(e),Be(e,s,!1);break;case"textarea":jo(e),Kf(e);break;case"option":mn(e,s);break;case"select":av(e,s);break;default:typeof g.onClick=="function"&&iy(e);break}}function jM(e,t,s,c,p){ty(t,c);var g=null,E,I;switch(t){case"input":E=D(e,s),I=D(e,c),g=[];break;case"select":E=jc(e,s),I=jc(e,c),g=[];break;case"textarea":E=iv(e,s),I=iv(e,c),g=[];break;default:E=s,I=c,typeof E.onClick!="function"&&typeof I.onClick=="function"&&iy(e);break}Pc(t,I);var A,P,B=null;for(A in E)if(!(I.hasOwnProperty(A)||!E.hasOwnProperty(A)||E[A]==null))if(A===Sf){var te=E[A];for(P in te)te.hasOwnProperty(P)&&(B||(B={}),B[P]="")}else A===lh||A===xf||A===Kg||A===Xu||A===u1||(et.hasOwnProperty(A)?g||(g=[]):(g=g||[]).push(A,null));for(A in I){var K=I[A],ce=E!=null?E[A]:void 0;if(!(!I.hasOwnProperty(A)||K===ce||K==null&&ce==null))if(A===Sf)if(K&&Object.freeze(K),ce){for(P in ce)ce.hasOwnProperty(P)&&(!K||!K.hasOwnProperty(P))&&(B||(B={}),B[P]="");for(P in K)K.hasOwnProperty(P)&&ce[P]!==K[P]&&(B||(B={}),B[P]=K[P])}else B||(g||(g=[]),g.push(A,B)),B=K;else if(A===lh){var de=K?K[ey]:void 0,be=ce?ce[ey]:void 0;de!=null&&be!==de&&(g=g||[]).push(A,de)}else A===xf?(typeof K=="string"||typeof K=="number")&&(g=g||[]).push(A,""+K):A===Kg||A===Xu||(et.hasOwnProperty(A)?(K!=null&&(typeof K!="function"&&ny(A,K),A==="onScroll"&&Jn("scroll",e)),!g&&ce!==K&&(g=[])):(g=g||[]).push(A,K))}return B&&(Jm(B,I[Sf]),(g=g||[]).push(Sf,B)),g}function DM(e,t,s,c,p){s==="input"&&p.type==="radio"&&p.name!=null&&ue(e,p);var g=dl(s,c),E=dl(s,p);switch(NM(e,t,g,E),s){case"input":me(e,p);break;case"textarea":Vm(e,p);break;case"select":Y0(e,p);break}}function kM(e){{var t=e.toLowerCase();return rd.hasOwnProperty(t)&&rd[t]||null}}function MM(e,t,s,c,p,g,E){var I,A;switch(I=dl(t,s),ty(t,s),t){case"dialog":Jn("cancel",e),Jn("close",e);break;case"iframe":case"object":case"embed":Jn("load",e);break;case"video":case"audio":for(var P=0;P<ih.length;P++)Jn(ih[P],e);break;case"source":Jn("error",e);break;case"img":case"image":case"link":Jn("error",e),Jn("load",e);break;case"details":Jn("toggle",e);break;case"input":X(e,s),Jn("invalid",e);break;case"option":hn(e,s);break;case"select":Dc(e,s),Jn("invalid",e);break;case"textarea":Fm(e,s),Jn("invalid",e);break}Pc(t,s);{A=new Set;for(var B=e.attributes,te=0;te<B.length;te++){var K=B[te].name.toLowerCase();switch(K){case"value":break;case"checked":break;case"selected":break;default:A.add(B[te].name)}}}var ce=null;for(var de in s)if(s.hasOwnProperty(de)){var be=s[de];if(de===xf)typeof be=="string"?e.textContent!==be&&(s[Xu]!==!0&&ay(e.textContent,be,g,E),ce=[xf,be]):typeof be=="number"&&e.textContent!==""+be&&(s[Xu]!==!0&&ay(e.textContent,be,g,E),ce=[xf,""+be]);else if(et.hasOwnProperty(de))be!=null&&(typeof be!="function"&&ny(de,be),de==="onScroll"&&Jn("scroll",e));else if(E&&typeof I=="boolean"){var qe=void 0,gt=I&&Se?null:Ir(de);if(s[Xu]!==!0){if(!(de===Kg||de===Xu||de==="value"||de==="checked"||de==="selected")){if(de===lh){var ct=e.innerHTML,Wt=be?be[ey]:void 0;if(Wt!=null){var Ht=d1(e,Wt);Ht!==ct&&uh(de,ct,Ht)}}else if(de===Sf){if(A.delete(de),f1){var ie=aC(be);qe=e.getAttribute("style"),ie!==qe&&uh(de,qe,ie)}}else if(I&&!Se)A.delete(de.toLowerCase()),qe=ii(e,de,be),be!==qe&&uh(de,qe,be);else if(!Gn(de,gt,I)&&!pn(de,be,gt,I)){var Ce=!1;if(gt!==null)A.delete(gt.attributeName),qe=Li(e,de,be,gt);else{var oe=c;if(oe===Mo&&(oe=ov(t)),oe===Mo)A.delete(de.toLowerCase());else{var Fe=kM(de);Fe!==null&&Fe!==de&&(Ce=!0,A.delete(Fe)),A.delete(de)}qe=ii(e,de,be)}var Qe=Se;!Qe&&be!==qe&&!Ce&&uh(de,qe,be)}}}}}switch(E&&A.size>0&&s[Xu]!==!0&&c1(A),t){case"input":jo(e),Be(e,s,!0);break;case"textarea":jo(e),Kf(e);break;case"select":case"option":break;default:typeof s.onClick=="function"&&iy(e);break}return ce}function LM(e,t,s){var c=e.nodeValue!==t;return c}function PC(e,t){{if(Si)return;Si=!0,v("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function FC(e,t){{if(Si)return;Si=!0,v('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function VC(e,t,s){{if(Si)return;Si=!0,v("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function BC(e,t){{if(t===""||Si)return;Si=!0,v('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function PM(e,t,s){switch(t){case"input":it(e,s);return;case"textarea":Z0(e,s);return;case"select":Lm(e,s);return}}var ch=function(){},fh=function(){};{var FM=["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"],v1=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],VM=v1.concat(["button"]),BM=["dd","dt","li","option","optgroup","p","rp","rt"],h1={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};fh=function(e,t){var s=Lt({},e||h1),c={tag:t};return v1.indexOf(t)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),VM.indexOf(t)!==-1&&(s.pTagInButtonScope=null),FM.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=c,t==="form"&&(s.formTag=c),t==="a"&&(s.aTagInScope=c),t==="button"&&(s.buttonTagInScope=c),t==="nobr"&&(s.nobrTagInScope=c),t==="p"&&(s.pTagInButtonScope=c),t==="li"&&(s.listItemTagAutoclosing=c),(t==="dd"||t==="dt")&&(s.dlItemTagAutoclosing=c),s};var zM=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 BM.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},HM=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},m1={};ch=function(e,t,s){s=s||h1;var c=s.current,p=c&&c.tag;t!=null&&(e!=null&&v("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var g=zM(e,p)?null:c,E=g?null:HM(e,s),I=g||E;if(I){var A=I.tag,P=!!g+"|"+e+"|"+A;if(!m1[P]){m1[P]=!0;var B=e,te="";if(e==="#text"?/\S/.test(t)?B="Text nodes":(B="Whitespace text nodes",te=" Make sure you don't have any extra whitespace between tags on each line of your source code."):B="<"+e+">",g){var K="";A==="table"&&e==="tr"&&(K+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),v("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",B,A,te,K)}else v("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",B,A)}}}}var oy="suppressHydrationWarning",sy="$",ly="/$",dh="$?",ph="$!",UM="style",zC=null,HC=null;function $M(e){var t,s,c=e.nodeType;switch(c){case $a:case lv:{t=c===$a?"#document":"#fragment";var p=e.documentElement;s=p?p.namespaceURI:sv(null,"");break}default:{var g=c===Qn?e.parentNode:e,E=g.namespaceURI||null;t=g.tagName,s=sv(E,t);break}}{var I=t.toLowerCase(),A=fh(null,I);return{namespace:s,ancestorInfo:A}}}function GM(e,t,s){{var c=e,p=sv(c.namespace,t),g=fh(c.ancestorInfo,t);return{namespace:p,ancestorInfo:g}}}function B8(e){return e}function WM(e){zC=Bu(),HC=oM();var t=null;return Da(!1),t}function XM(e){sM(HC),Da(zC),zC=null,HC=null}function YM(e,t,s,c,p){var g;{var E=c;if(ch(e,null,E.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var I=""+t.children,A=fh(E.ancestorInfo,e);ch(null,I,A)}g=E.namespace}var P=_M(e,t,s,g);return mh(p,P),JC(P,t),P}function ZM(e,t){e.appendChild(t)}function JM(e,t,s,c,p){switch(AM(e,t,s,c),t){case"button":case"input":case"select":case"textarea":return!!s.autoFocus;case"img":return!0;default:return!1}}function qM(e,t,s,c,p,g){{var E=g;if(typeof c.children!=typeof s.children&&(typeof c.children=="string"||typeof c.children=="number")){var I=""+c.children,A=fh(E.ancestorInfo,t);ch(null,I,A)}}return jM(e,t,s,c)}function UC(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 QM(e,t,s,c){{var p=s;ch(null,e,p.ancestorInfo)}var g=OM(e,t);return mh(c,g),g}function KM(){var e=window.event;return e===void 0?co:Hd(e.type)}var $C=typeof setTimeout=="function"?setTimeout:void 0,eL=typeof clearTimeout=="function"?clearTimeout:void 0,GC=-1,g1=typeof Promise=="function"?Promise:void 0,tL=typeof queueMicrotask=="function"?queueMicrotask:typeof g1<"u"?function(e){return g1.resolve(null).then(e).catch(nL)}:$C;function nL(e){setTimeout(function(){throw e})}function rL(e,t,s,c){switch(t){case"button":case"input":case"select":case"textarea":s.autoFocus&&e.focus();return;case"img":{s.src&&(e.src=s.src);return}}}function aL(e,t,s,c,p,g){DM(e,t,s,c,p),JC(e,p)}function y1(e){kc(e,"")}function iL(e,t,s){e.nodeValue=s}function oL(e,t){e.appendChild(t)}function sL(e,t){var s;e.nodeType===Qn?(s=e.parentNode,s.insertBefore(t,e)):(s=e,s.appendChild(t));var c=e._reactRootContainer;c==null&&s.onclick===null&&iy(s)}function lL(e,t,s){e.insertBefore(t,s)}function uL(e,t,s){e.nodeType===Qn?e.parentNode.insertBefore(t,s):e.insertBefore(t,s)}function cL(e,t){e.removeChild(t)}function fL(e,t){e.nodeType===Qn?e.parentNode.removeChild(t):e.removeChild(t)}function WC(e,t){var s=t,c=0;do{var p=s.nextSibling;if(e.removeChild(s),p&&p.nodeType===Qn){var g=p.data;if(g===ly)if(c===0){e.removeChild(p),nr(t);return}else c--;else(g===sy||g===dh||g===ph)&&c++}s=p}while(s);nr(t)}function dL(e,t){e.nodeType===Qn?WC(e.parentNode,t):e.nodeType===Ea&&WC(e,t),nr(e)}function pL(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function vL(e){e.nodeValue=""}function hL(e,t){e=e;var s=t[UM],c=s!=null&&s.hasOwnProperty("display")?s.display:null;e.style.display=Ss("display",c)}function mL(e,t){e.nodeValue=t}function gL(e){e.nodeType===Ea?e.textContent="":e.nodeType===$a&&e.documentElement&&e.removeChild(e.documentElement)}function yL(e,t,s){return e.nodeType!==Ea||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function bL(e,t){return t===""||e.nodeType!==Lo?null:e}function CL(e){return e.nodeType!==Qn?null:e}function b1(e){return e.data===dh}function XC(e){return e.data===ph}function xL(e){var t=e.nextSibling&&e.nextSibling.dataset,s,c,p;return t&&(s=t.dgst,c=t.msg,p=t.stck),{message:c,digest:s,stack:p}}function SL(e,t){e._reactRetry=t}function uy(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Ea||t===Lo)break;if(t===Qn){var s=e.data;if(s===sy||s===ph||s===dh)break;if(s===ly)return null}}return e}function vh(e){return uy(e.nextSibling)}function EL(e){return uy(e.firstChild)}function wL(e){return uy(e.firstChild)}function RL(e){return uy(e.nextSibling)}function TL(e,t,s,c,p,g,E){mh(g,e),JC(e,s);var I;{var A=p;I=A.namespace}var P=(g.mode&ut)!==mt;return MM(e,t,s,I,c,P,E)}function IL(e,t,s,c){return mh(s,e),s.mode&ut,LM(e,t)}function NL(e,t){mh(t,e)}function _L(e){for(var t=e.nextSibling,s=0;t;){if(t.nodeType===Qn){var c=t.data;if(c===ly){if(s===0)return vh(t);s--}else(c===sy||c===ph||c===dh)&&s++}t=t.nextSibling}return null}function C1(e){for(var t=e.previousSibling,s=0;t;){if(t.nodeType===Qn){var c=t.data;if(c===sy||c===ph||c===dh){if(s===0)return t;s--}else c===ly&&s++}t=t.previousSibling}return null}function OL(e){nr(e)}function AL(e){nr(e)}function jL(e){return e!=="head"&&e!=="body"}function DL(e,t,s,c){var p=!0;ay(t.nodeValue,s,c,p)}function kL(e,t,s,c,p,g){if(t[oy]!==!0){var E=!0;ay(c.nodeValue,p,g,E)}}function ML(e,t){t.nodeType===Ea?PC(e,t):t.nodeType===Qn||FC(e,t)}function LL(e,t){{var s=e.parentNode;s!==null&&(t.nodeType===Ea?PC(s,t):t.nodeType===Qn||FC(s,t))}}function PL(e,t,s,c,p){(p||t[oy]!==!0)&&(c.nodeType===Ea?PC(s,c):c.nodeType===Qn||FC(s,c))}function FL(e,t,s){VC(e,t)}function VL(e,t){BC(e,t)}function BL(e,t,s){{var c=e.parentNode;c!==null&&VC(c,t)}}function zL(e,t){{var s=e.parentNode;s!==null&&BC(s,t)}}function HL(e,t,s,c,p,g){(g||t[oy]!==!0)&&VC(s,c)}function UL(e,t,s,c,p){(p||t[oy]!==!0)&&BC(s,c)}function $L(e){v("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function GL(e){oh(e)}var op=Math.random().toString(36).slice(2),sp="__reactFiber$"+op,YC="__reactProps$"+op,hh="__reactContainer$"+op,ZC="__reactEvents$"+op,WL="__reactListeners$"+op,XL="__reactHandles$"+op;function YL(e){delete e[sp],delete e[YC],delete e[ZC],delete e[WL],delete e[XL]}function mh(e,t){t[sp]=e}function cy(e,t){t[hh]=e}function x1(e){e[hh]=null}function gh(e){return!!e[hh]}function Ef(e){var t=e[sp];if(t)return t;for(var s=e.parentNode;s;){if(t=s[hh]||s[sp],t){var c=t.alternate;if(t.child!==null||c!==null&&c.child!==null)for(var p=C1(e);p!==null;){var g=p[sp];if(g)return g;p=C1(p)}return t}e=s,s=e.parentNode}return null}function Yu(e){var t=e[sp]||e[hh];return t&&(t.tag===N||t.tag===O||t.tag===U||t.tag===T)?t:null}function lp(e){if(e.tag===N||e.tag===O)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function fy(e){return e[YC]||null}function JC(e,t){e[YC]=t}function ZL(e){var t=e[ZC];return t===void 0&&(t=e[ZC]=new Set),t}var S1={},E1=u.ReactDebugCurrentFrame;function dy(e){if(e){var t=e._owner,s=Ut(e.type,e._source,t?t.type:null);E1.setExtraStackFrame(s)}else E1.setExtraStackFrame(null)}function Zo(e,t,s,c,p){{var g=Function.call.bind(pt);for(var E in e)if(g(e,E)){var I=void 0;try{if(typeof e[E]!="function"){var A=Error((c||"React class")+": "+s+" type `"+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[E]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw A.name="Invariant Violation",A}I=e[E](t,E,c,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(P){I=P}I&&!(I instanceof Error)&&(dy(p),v("%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).",c||"React class",s,E,typeof I),dy(null)),I instanceof Error&&!(I.message in S1)&&(S1[I.message]=!0,dy(p),v("Failed %s type: %s",s,I.message),dy(null))}}}var qC=[],py;py=[];var Ml=-1;function Zu(e){return{current:e}}function ka(e,t){if(Ml<0){v("Unexpected pop.");return}t!==py[Ml]&&v("Unexpected Fiber popped."),e.current=qC[Ml],qC[Ml]=null,py[Ml]=null,Ml--}function Ma(e,t,s){Ml++,qC[Ml]=e.current,py[Ml]=s,e.current=t}var QC;QC={};var $i={};Object.freeze($i);var Ll=Zu($i),zs=Zu(!1),KC=$i;function up(e,t,s){return s&&Hs(t)?KC:Ll.current}function w1(e,t,s){{var c=e.stateNode;c.__reactInternalMemoizedUnmaskedChildContext=t,c.__reactInternalMemoizedMaskedChildContext=s}}function cp(e,t){{var s=e.type,c=s.contextTypes;if(!c)return $i;var p=e.stateNode;if(p&&p.__reactInternalMemoizedUnmaskedChildContext===t)return p.__reactInternalMemoizedMaskedChildContext;var g={};for(var E in c)g[E]=t[E];{var I=Nt(e)||"Unknown";Zo(c,g,"context",I)}return p&&w1(e,t,g),g}}function vy(){return zs.current}function Hs(e){{var t=e.childContextTypes;return t!=null}}function hy(e){ka(zs,e),ka(Ll,e)}function ex(e){ka(zs,e),ka(Ll,e)}function R1(e,t,s){{if(Ll.current!==$i)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Ma(Ll,t,e),Ma(zs,s,e)}}function T1(e,t,s){{var c=e.stateNode,p=t.childContextTypes;if(typeof c.getChildContext!="function"){{var g=Nt(e)||"Unknown";QC[g]||(QC[g]=!0,v("%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.",g,g))}return s}var E=c.getChildContext();for(var I in E)if(!(I in p))throw new Error((Nt(e)||"Unknown")+'.getChildContext(): key "'+I+'" is not defined in childContextTypes.');{var A=Nt(e)||"Unknown";Zo(p,E,"child context",A)}return Lt({},s,E)}}function my(e){{var t=e.stateNode,s=t&&t.__reactInternalMemoizedMergedChildContext||$i;return KC=Ll.current,Ma(Ll,s,e),Ma(zs,zs.current,e),!0}}function I1(e,t,s){{var c=e.stateNode;if(!c)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(s){var p=T1(e,t,KC);c.__reactInternalMemoizedMergedChildContext=p,ka(zs,e),ka(Ll,e),Ma(Ll,p,e),Ma(zs,s,e)}else ka(zs,e),Ma(zs,s,e)}}function JL(e){{if(!Xa(e)||e.tag!==x)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 T:return t.stateNode.context;case x:{var s=t.type;if(Hs(s))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 Ju=0,gy=1,Pl=null,tx=!1,nx=!1;function N1(e){Pl===null?Pl=[e]:Pl.push(e)}function qL(e){tx=!0,N1(e)}function _1(){tx&&qu()}function qu(){if(!nx&&Pl!==null){nx=!0;var e=0,t=gi();try{var s=!0,c=Pl;for(tr(ur);e<c.length;e++){var p=c[e];do p=p(s);while(p!==null)}Pl=null,tx=!1}catch(g){throw Pl!==null&&(Pl=Pl.slice(e+1)),Nv(Na,qu),g}finally{tr(t),nx=!1}}return null}var fp=[],dp=0,yy=null,by=0,ho=[],mo=0,wf=null,Fl=1,Vl="";function QL(e){return Tf(),(e.flags&dg)!==ht}function KL(e){return Tf(),by}function eP(){var e=Vl,t=Fl,s=t&~tP(t);return s.toString(32)+e}function Rf(e,t){Tf(),fp[dp++]=by,fp[dp++]=yy,yy=e,by=t}function O1(e,t,s){Tf(),ho[mo++]=Fl,ho[mo++]=Vl,ho[mo++]=wf,wf=e;var c=Fl,p=Vl,g=Cy(c)-1,E=c&~(1<<g),I=s+1,A=Cy(t)+g;if(A>30){var P=g-g%5,B=(1<<P)-1,te=(E&B).toString(32),K=E>>P,ce=g-P,de=Cy(t)+ce,be=I<<ce,qe=be|K,gt=te+p;Fl=1<<de|qe,Vl=gt}else{var ct=I<<g,Wt=ct|E,Ht=p;Fl=1<<A|Wt,Vl=Ht}}function rx(e){Tf();var t=e.return;if(t!==null){var s=1,c=0;Rf(e,s),O1(e,s,c)}}function Cy(e){return 32-Kc(e)}function tP(e){return 1<<Cy(e)-1}function ax(e){for(;e===yy;)yy=fp[--dp],fp[dp]=null,by=fp[--dp],fp[dp]=null;for(;e===wf;)wf=ho[--mo],ho[mo]=null,Vl=ho[--mo],ho[mo]=null,Fl=ho[--mo],ho[mo]=null}function nP(){return Tf(),wf!==null?{id:Fl,overflow:Vl}:null}function rP(e,t){Tf(),ho[mo++]=Fl,ho[mo++]=Vl,ho[mo++]=wf,Fl=t.id,Vl=t.overflow,wf=e}function Tf(){sa()||v("Expected to be hydrating. This is a bug in React. Please file an issue.")}var oa=null,go=null,Jo=!1,If=!1,Qu=null;function aP(){Jo&&v("We should not be hydrating here. This is a bug in React. Please file a bug.")}function A1(){If=!0}function iP(){return If}function oP(e){var t=e.stateNode.containerInfo;return go=wL(t),oa=e,Jo=!0,Qu=null,If=!1,!0}function sP(e,t,s){return go=RL(t),oa=e,Jo=!0,Qu=null,If=!1,s!==null&&rP(e,s),!0}function j1(e,t){switch(e.tag){case T:{ML(e.stateNode.containerInfo,t);break}case N:{var s=(e.mode&ut)!==mt;PL(e.type,e.memoizedProps,e.stateNode,t,s);break}case U:{var c=e.memoizedState;c.dehydrated!==null&&LL(c.dehydrated,t);break}}}function D1(e,t){j1(e,t);var s=cB();s.stateNode=t,s.return=e;var c=e.deletions;c===null?(e.deletions=[s],e.flags|=tn):c.push(s)}function ix(e,t){{if(If)return;switch(e.tag){case T:{var s=e.stateNode.containerInfo;switch(t.tag){case N:var c=t.type;t.pendingProps,FL(s,c);break;case O:var p=t.pendingProps;VL(s,p);break}break}case N:{var g=e.type,E=e.memoizedProps,I=e.stateNode;switch(t.tag){case N:{var A=t.type,P=t.pendingProps,B=(e.mode&ut)!==mt;HL(g,E,I,A,P,B);break}case O:{var te=t.pendingProps,K=(e.mode&ut)!==mt;UL(g,E,I,te,K);break}}break}case U:{var ce=e.memoizedState,de=ce.dehydrated;if(de!==null)switch(t.tag){case N:var be=t.type;t.pendingProps,BL(de,be);break;case O:var qe=t.pendingProps;zL(de,qe);break}break}default:return}}}function k1(e,t){t.flags=t.flags&~io|In,ix(e,t)}function M1(e,t){switch(e.tag){case N:{var s=e.type;e.pendingProps;var c=yL(t,s);return c!==null?(e.stateNode=c,oa=e,go=EL(c),!0):!1}case O:{var p=e.pendingProps,g=bL(t,p);return g!==null?(e.stateNode=g,oa=e,go=null,!0):!1}case U:{var E=CL(t);if(E!==null){var I={dehydrated:E,treeContext:nP(),retryLane:Ja};e.memoizedState=I;var A=fB(E);return A.return=e,e.child=A,oa=e,go=null,!0}return!1}default:return!1}}function ox(e){return(e.mode&ut)!==mt&&(e.flags&Ot)===ht}function sx(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function lx(e){if(Jo){var t=go;if(!t){ox(e)&&(ix(oa,e),sx()),k1(oa,e),Jo=!1,oa=e;return}var s=t;if(!M1(e,t)){ox(e)&&(ix(oa,e),sx()),t=vh(s);var c=oa;if(!t||!M1(e,t)){k1(oa,e),Jo=!1,oa=e;return}D1(c,s)}}}function lP(e,t,s){var c=e.stateNode,p=!If,g=TL(c,e.type,e.memoizedProps,t,s,e,p);return e.updateQueue=g,g!==null}function uP(e){var t=e.stateNode,s=e.memoizedProps,c=IL(t,s,e);if(c){var p=oa;if(p!==null)switch(p.tag){case T:{var g=p.stateNode.containerInfo,E=(p.mode&ut)!==mt;DL(g,t,s,E);break}case N:{var I=p.type,A=p.memoizedProps,P=p.stateNode,B=(p.mode&ut)!==mt;kL(I,A,P,t,s,B);break}}}return c}function cP(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");NL(s,e)}function fP(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)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 _L(s)}function L1(e){for(var t=e.return;t!==null&&t.tag!==N&&t.tag!==T&&t.tag!==U;)t=t.return;oa=t}function xy(e){if(e!==oa)return!1;if(!Jo)return L1(e),Jo=!0,!1;if(e.tag!==T&&(e.tag!==N||jL(e.type)&&!UC(e.type,e.memoizedProps))){var t=go;if(t)if(ox(e))P1(e),sx();else for(;t;)D1(e,t),t=vh(t)}return L1(e),e.tag===U?go=fP(e):go=oa?vh(e.stateNode):null,!0}function dP(){return Jo&&go!==null}function P1(e){for(var t=go;t;)j1(e,t),t=vh(t)}function pp(){oa=null,go=null,Jo=!1,If=!1}function F1(){Qu!==null&&(jI(Qu),Qu=null)}function sa(){return Jo}function ux(e){Qu===null?Qu=[e]:Qu.push(e)}var pP=u.ReactCurrentBatchConfig,vP=null;function hP(){return pP.transition}var qo={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var mP=function(e){for(var t=null,s=e;s!==null;)s.mode&Kn&&(t=s),s=s.return;return t},Nf=function(e){var t=[];return e.forEach(function(s){t.push(s)}),t.sort().join(", ")},yh=[],bh=[],Ch=[],xh=[],Sh=[],Eh=[],_f=new Set;qo.recordUnsafeLifecycleWarnings=function(e,t){_f.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&yh.push(e),e.mode&Kn&&typeof t.UNSAFE_componentWillMount=="function"&&bh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Ch.push(e),e.mode&Kn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&xh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Sh.push(e),e.mode&Kn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Eh.push(e))},qo.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;yh.length>0&&(yh.forEach(function(K){e.add(Nt(K)||"Component"),_f.add(K.type)}),yh=[]);var t=new Set;bh.length>0&&(bh.forEach(function(K){t.add(Nt(K)||"Component"),_f.add(K.type)}),bh=[]);var s=new Set;Ch.length>0&&(Ch.forEach(function(K){s.add(Nt(K)||"Component"),_f.add(K.type)}),Ch=[]);var c=new Set;xh.length>0&&(xh.forEach(function(K){c.add(Nt(K)||"Component"),_f.add(K.type)}),xh=[]);var p=new Set;Sh.length>0&&(Sh.forEach(function(K){p.add(Nt(K)||"Component"),_f.add(K.type)}),Sh=[]);var g=new Set;if(Eh.length>0&&(Eh.forEach(function(K){g.add(Nt(K)||"Component"),_f.add(K.type)}),Eh=[]),t.size>0){var E=Nf(t);v(`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.
124
+ */function rp(e){if(!It)return!1;var t="on"+e,s=t in document;if(!s){var c=document.createElement("div");c.setAttribute(t,"return;"),s=typeof c[t]=="function"}return s}function a(){ft("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function o(e,t,s,c){yu(c);var p=Qg(t,"onChange");if(p.length>0){var g=new Xd("onChange","change",null,s,c);e.push({event:g,listeners:p})}}var f=null,m=null;function S(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function w(e){var t=[];o(t,m,e,Tn(e)),$c(k,t)}function k(e){i1(e,0)}function W(e){var t=up(e);if(fu(t))return e}function Q(e,t){if(e==="change")return t}var pe=!1;It&&(pe=rp("input")&&(!document.documentMode||document.documentMode>9));function Me(e,t){f=e,m=t,f.attachEvent("onpropertychange",De)}function Pe(){f&&(f.detachEvent("onpropertychange",De),f=null,m=null)}function De(e){e.propertyName==="value"&&W(m)&&w(e)}function Ye(e,t,s){e==="focusin"?(Pe(),Me(t,s)):e==="focusout"&&Pe()}function nt(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return W(m)}function ot(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function cr(e,t){if(e==="click")return W(t)}function ae(e,t){if(e==="input"||e==="change")return W(t)}function ee(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||wt(e,"number",e.value)}function se(e,t,s,c,p,g,E){var I=s?up(s):window,A,P;if(S(I)?A=Q:Yg(I)?pe?A=ae:(A=nt,P=Ye):ot(I)&&(A=cr),A){var B=A(t,s);if(B){o(e,B,c,p);return}}P&&P(t,I,s),t==="focusout"&&ee(I)}function ze(){Ae("onMouseEnter",["mouseout","mouseover"]),Ae("onMouseLeave",["mouseout","mouseover"]),Ae("onPointerEnter",["pointerout","pointerover"]),Ae("onPointerLeave",["pointerout","pointerover"])}function lt(e,t,s,c,p,g,E){var I=t==="mouseover"||t==="pointerover",A=t==="mouseout"||t==="pointerout";if(I&&!sg(c)){var P=c.relatedTarget||c.fromElement;if(P&&(wf(P)||gh(P)))return}if(!(!A&&!I)){var B;if(p.window===p)B=p;else{var te=p.ownerDocument;te?B=te.defaultView||te.parentWindow:B=window}var K,ce;if(A){var de=c.relatedTarget||c.toElement;if(K=s,ce=de?wf(de):null,ce!==null){var be=_s(ce);(ce!==be||ce.tag!==N&&ce.tag!==O)&&(ce=null)}}else K=null,ce=s;if(K!==ce){var qe=Yd,gt="onMouseLeave",ct="onMouseEnter",Wt="mouse";(t==="pointerout"||t==="pointerover")&&(qe=$g,gt="onPointerLeave",ct="onPointerEnter",Wt="pointer");var Ht=K==null?B:up(K),ie=ce==null?B:up(ce),Ce=new qe(gt,Wt+"leave",K,c,p);Ce.target=Ht,Ce.relatedTarget=ie;var oe=null,Fe=wf(p);if(Fe===s){var Qe=new qe(ct,Wt+"enter",ce,c,p);Qe.target=ie,Qe.relatedTarget=Ht,oe=Qe}SM(e,Ce,oe,K,ce)}}}function Ct(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var rt=typeof Object.is=="function"?Object.is:Ct;function St(e,t){if(rt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var s=Object.keys(e),c=Object.keys(t);if(s.length!==c.length)return!1;for(var p=0;p<s.length;p++){var g=s[p];if(!pt.call(t,g)||!rt(e[g],t[g]))return!1}return!0}function Sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nn(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Zo(e,t){for(var s=Sr(e),c=0,p=0;s;){if(s.nodeType===Po){if(p=c+s.textContent.length,c<=t&&p>=t)return{node:s,offset:t-c};c=p}s=Sr(nn(s))}}function NC(e){var t=e.ownerDocument,s=t&&t.defaultView||window,c=s.getSelection&&s.getSelection();if(!c||c.rangeCount===0)return null;var p=c.anchorNode,g=c.anchorOffset,E=c.focusNode,I=c.focusOffset;try{p.nodeType,E.nodeType}catch{return null}return nM(e,p,g,E,I)}function nM(e,t,s,c,p){var g=0,E=-1,I=-1,A=0,P=0,B=e,te=null;e:for(;;){for(var K=null;B===t&&(s===0||B.nodeType===Po)&&(E=g+s),B===c&&(p===0||B.nodeType===Po)&&(I=g+p),B.nodeType===Po&&(g+=B.nodeValue.length),(K=B.firstChild)!==null;)te=B,B=K;for(;;){if(B===e)break e;if(te===t&&++A===s&&(E=g),te===c&&++P===p&&(I=g),(K=B.nextSibling)!==null)break;B=te,te=B.parentNode}B=K}return E===-1||I===-1?null:{start:E,end:I}}function rM(e,t){var s=e.ownerDocument||document,c=s&&s.defaultView||window;if(c.getSelection){var p=c.getSelection(),g=e.textContent.length,E=Math.min(t.start,g),I=t.end===void 0?E:Math.min(t.end,g);if(!p.extend&&E>I){var A=I;I=E,E=A}var P=Zo(e,E),B=Zo(e,I);if(P&&B){if(p.rangeCount===1&&p.anchorNode===P.node&&p.anchorOffset===P.offset&&p.focusNode===B.node&&p.focusOffset===B.offset)return;var te=s.createRange();te.setStart(P.node,P.offset),p.removeAllRanges(),E>I?(p.addRange(te),p.extend(B.node,B.offset)):(te.setEnd(B.node,B.offset),p.addRange(te))}}}function XR(e){return e&&e.nodeType===Po}function YR(e,t){return!e||!t?!1:e===t?!0:XR(e)?!1:XR(t)?YR(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function aM(e){return e&&e.ownerDocument&&YR(e.ownerDocument.documentElement,e)}function iM(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function ZR(){for(var e=window,t=no();t instanceof e.HTMLIFrameElement;){if(iM(t))e=t.contentWindow;else return t;t=no(e.document)}return t}function _C(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 oM(){var e=ZR();return{focusedElem:e,selectionRange:_C(e)?lM(e):null}}function sM(e){var t=ZR(),s=e.focusedElem,c=e.selectionRange;if(t!==s&&aM(s)){c!==null&&_C(s)&&uM(s,c);for(var p=[],g=s;g=g.parentNode;)g.nodeType===Ea&&p.push({element:g,left:g.scrollLeft,top:g.scrollTop});typeof s.focus=="function"&&s.focus();for(var E=0;E<p.length;E++){var I=p[E];I.element.scrollLeft=I.left,I.element.scrollTop=I.top}}}function lM(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=NC(e),t||{start:0,end:0}}function uM(e,t){var s=t.start,c=t.end;c===void 0&&(c=s),"selectionStart"in e?(e.selectionStart=s,e.selectionEnd=Math.min(c,e.value.length)):rM(e,t)}var cM=It&&"documentMode"in document&&document.documentMode<=11;function fM(){ft("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var ap=null,OC=null,ah=null,AC=!1;function dM(e){if("selectionStart"in e&&_C(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,s=t.getSelection();return{anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}}function pM(e){return e.window===e?e.document:e.nodeType===$a?e:e.ownerDocument}function JR(e,t,s){var c=pM(s);if(!(AC||ap==null||ap!==no(c))){var p=dM(ap);if(!ah||!St(ah,p)){ah=p;var g=Qg(OC,"onSelect");if(g.length>0){var E=new Xd("onSelect","select",null,t,s);e.push({event:E,listeners:g}),E.target=ap}}}}function vM(e,t,s,c,p,g,E){var I=s?up(s):window;switch(t){case"focusin":(Yg(I)||I.contentEditable==="true")&&(ap=I,OC=s,ah=null);break;case"focusout":ap=null,OC=null,ah=null;break;case"mousedown":AC=!0;break;case"contextmenu":case"mouseup":case"dragend":AC=!1,JR(e,c,p);break;case"selectionchange":if(cM)break;case"keydown":case"keyup":JR(e,c,p)}}function Zg(e,t){var s={};return s[e.toLowerCase()]=t.toLowerCase(),s["Webkit"+e]="webkit"+t,s["Moz"+e]="moz"+t,s}var ip={animationend:Zg("Animation","AnimationEnd"),animationiteration:Zg("Animation","AnimationIteration"),animationstart:Zg("Animation","AnimationStart"),transitionend:Zg("Transition","TransitionEnd")},jC={},qR={};It&&(qR=document.createElement("div").style,"AnimationEvent"in window||(delete ip.animationend.animation,delete ip.animationiteration.animation,delete ip.animationstart.animation),"TransitionEvent"in window||delete ip.transitionend.transition);function Jg(e){if(jC[e])return jC[e];if(!ip[e])return e;var t=ip[e];for(var s in t)if(t.hasOwnProperty(s)&&s in qR)return jC[e]=t[s];return e}var QR=Jg("animationend"),KR=Jg("animationiteration"),e1=Jg("animationstart"),t1=Jg("transitionend"),n1=new Map,r1=["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 Xu(e,t){n1.set(e,t),ft(t,[e])}function hM(){for(var e=0;e<r1.length;e++){var t=r1[e],s=t.toLowerCase(),c=t[0].toUpperCase()+t.slice(1);Xu(s,"on"+c)}Xu(QR,"onAnimationEnd"),Xu(KR,"onAnimationIteration"),Xu(e1,"onAnimationStart"),Xu("dblclick","onDoubleClick"),Xu("focusin","onFocus"),Xu("focusout","onBlur"),Xu(t1,"onTransitionEnd")}function mM(e,t,s,c,p,g,E){var I=n1.get(t);if(I!==void 0){var A=Xd,P=t;switch(t){case"keypress":if(jl(c)===0)return;case"keydown":case"keyup":A=Hg;break;case"focusin":P="focus",A=mf;break;case"focusout":P="blur",A=mf;break;case"beforeblur":case"afterblur":A=mf;break;case"click":if(c.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":A=Yd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":A=Lg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":A=Qv;break;case QR:case KR:case e1:A=bC;break;case t1:A=Bs;break;case"scroll":A=Yv;break;case"wheel":A=Ml;break;case"copy":case"cut":case"paste":A=Fg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":A=$g;break}var B=(g&Hc)!==0;{var te=!B&&t==="scroll",K=CM(s,I,c.type,B,te);if(K.length>0){var ce=new A(I,P,null,c,p);e.push({event:ce,listeners:K})}}}}hM(),ze(),a(),fM(),Kd();function gM(e,t,s,c,p,g,E){mM(e,t,s,c,p,g);var I=(g&iC)===0;I&&(lt(e,t,s,c,p),se(e,t,s,c,p),vM(e,t,s,c,p),IC(e,t,s,c,p))}var ih=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],DC=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(ih));function a1(e,t,s){var c=e.type||"unknown-event";e.currentTarget=s,wv(c,t,void 0,e),e.currentTarget=null}function yM(e,t,s){var c;if(s)for(var p=t.length-1;p>=0;p--){var g=t[p],E=g.instance,I=g.currentTarget,A=g.listener;if(E!==c&&e.isPropagationStopped())return;a1(e,A,I),c=E}else for(var P=0;P<t.length;P++){var B=t[P],te=B.instance,K=B.currentTarget,ce=B.listener;if(te!==c&&e.isPropagationStopped())return;a1(e,ce,K),c=te}}function i1(e,t){for(var s=(t&Hc)!==0,c=0;c<e.length;c++){var p=e[c],g=p.event,E=p.listeners;yM(g,E,s)}sC()}function bM(e,t,s,c,p){var g=Tn(s),E=[];gM(E,e,c,s,g,t),i1(E,t)}function Jn(e,t){DC.has(e)||v('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var s=!1,c=ZL(t),p=EM(e,s);c.has(p)||(o1(t,e,zc,s),c.add(p))}function kC(e,t,s){DC.has(e)&&!t&&v('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var c=0;t&&(c|=Hc),o1(s,e,c,t)}var qg="_reactListening"+Math.random().toString(36).slice(2);function oh(e){if(!e[qg]){e[qg]=!0,Ve.forEach(function(s){s!=="selectionchange"&&(DC.has(s)||kC(s,!1,e),kC(s,!0,e))});var t=e.nodeType===$a?e:e.ownerDocument;t!==null&&(t[qg]||(t[qg]=!0,kC("selectionchange",!1,t)))}}function o1(e,t,s,c,p){var g=Cr(e,t,s),E=void 0;Gc&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(E=!0),e=e,c?E!==void 0?$d(e,t,g,E):Xo(e,t,g):E!==void 0?Xv(e,t,g,E):Uu(e,t,g)}function s1(e,t){return e===t||e.nodeType===Qn&&e.parentNode===t}function MC(e,t,s,c,p){var g=c;if(!(t&sd)&&!(t&zc)){var E=p;if(c!==null){var I=c;e:for(;;){if(I===null)return;var A=I.tag;if(A===T||A===j){var P=I.stateNode.containerInfo;if(s1(P,E))break;if(A===j)for(var B=I.return;B!==null;){var te=B.tag;if(te===T||te===j){var K=B.stateNode.containerInfo;if(s1(K,E))return}B=B.return}for(;P!==null;){var ce=wf(P);if(ce===null)return;var de=ce.tag;if(de===N||de===O){I=g=ce;continue e}P=P.parentNode}}I=I.return}}}$c(function(){return bM(e,t,s,g)})}function sh(e,t,s){return{instance:e,listener:t,currentTarget:s}}function CM(e,t,s,c,p,g){for(var E=t!==null?t+"Capture":null,I=c?E:t,A=[],P=e,B=null;P!==null;){var te=P,K=te.stateNode,ce=te.tag;if(ce===N&&K!==null&&(B=K,I!==null)){var de=ml(P,I);de!=null&&A.push(sh(P,de,B))}if(p)break;P=P.return}return A}function Qg(e,t){for(var s=t+"Capture",c=[],p=e;p!==null;){var g=p,E=g.stateNode,I=g.tag;if(I===N&&E!==null){var A=E,P=ml(p,s);P!=null&&c.unshift(sh(p,P,A));var B=ml(p,t);B!=null&&c.push(sh(p,B,A))}p=p.return}return c}function op(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==N);return e||null}function xM(e,t){for(var s=e,c=t,p=0,g=s;g;g=op(g))p++;for(var E=0,I=c;I;I=op(I))E++;for(;p-E>0;)s=op(s),p--;for(;E-p>0;)c=op(c),E--;for(var A=p;A--;){if(s===c||c!==null&&s===c.alternate)return s;s=op(s),c=op(c)}return null}function l1(e,t,s,c,p){for(var g=t._reactName,E=[],I=s;I!==null&&I!==c;){var A=I,P=A.alternate,B=A.stateNode,te=A.tag;if(P!==null&&P===c)break;if(te===N&&B!==null){var K=B;if(p){var ce=ml(I,g);ce!=null&&E.unshift(sh(I,ce,K))}else if(!p){var de=ml(I,g);de!=null&&E.push(sh(I,de,K))}}I=I.return}E.length!==0&&e.push({event:t,listeners:E})}function SM(e,t,s,c,p){var g=c&&p?xM(c,p):null;c!==null&&l1(e,t,c,g,!1),p!==null&&s!==null&&l1(e,s,p,g,!0)}function EM(e,t){return e+"__"+(t?"capture":"bubble")}var Si=!1,lh="dangerouslySetInnerHTML",Kg="suppressContentEditableWarning",Yu="suppressHydrationWarning",u1="autoFocus",Sf="children",Ef="style",ey="__html",LC,ty,uh,c1,ny,f1,d1;LC={dialog:!0,webview:!0},ty=function(e,t){gu(e,t),tg(e,t),Rs(e,t,{registrationNameDependencies:et,possibleRegistrationNames:tt})},f1=It&&!document.documentMode,uh=function(e,t,s){if(!Si){var c=ry(s),p=ry(t);p!==c&&(Si=!0,v("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(p),JSON.stringify(c)))}},c1=function(e){if(!Si){Si=!0;var t=[];e.forEach(function(s){t.push(s)}),v("Extra attributes from the server: %s",t)}},ny=function(e,t){t===!1?v("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):v("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},d1=function(e,t){var s=e.namespaceURI===Lo?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return s.innerHTML=t,s.innerHTML};var wM=/\r\n?/g,RM=/\u0000|\uFFFD/g;function ry(e){Rr(e);var t=typeof e=="string"?e:""+e;return t.replace(wM,`
125
+ `).replace(RM,"")}function ay(e,t,s,c){var p=ry(t),g=ry(e);if(g!==p&&(c&&(Si||(Si=!0,v('Text content did not match. Server: "%s" Client: "%s"',g,p))),s&&ne))throw new Error("Text content does not match server-rendered HTML.")}function p1(e){return e.nodeType===$a?e:e.ownerDocument}function TM(){}function iy(e){e.onclick=TM}function IM(e,t,s,c,p){for(var g in c)if(c.hasOwnProperty(g)){var E=c[g];if(g===Ef)E&&Object.freeze(E),Zm(t,E);else if(g===lh){var I=E?E[ey]:void 0;I!=null&&Bm(t,I)}else if(g===Sf)if(typeof E=="string"){var A=e!=="textarea"||E!=="";A&&Mc(t,E)}else typeof E=="number"&&Mc(t,""+E);else g===Kg||g===Yu||g===u1||(et.hasOwnProperty(g)?E!=null&&(typeof E!="function"&&ny(g,E),g==="onScroll"&&Jn("scroll",t)):E!=null&&No(t,g,E,p))}}function NM(e,t,s,c){for(var p=0;p<t.length;p+=2){var g=t[p],E=t[p+1];g===Ef?Zm(e,E):g===lh?Bm(e,E):g===Sf?Mc(e,E):No(e,g,E,c)}}function _M(e,t,s,c){var p,g=p1(s),E,I=c;if(I===Lo&&(I=ov(e)),I===Lo){if(p=pl(e,t),!p&&e!==e.toLowerCase()&&v("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var A=g.createElement("div");A.innerHTML="<script><\/script>";var P=A.firstChild;E=A.removeChild(P)}else if(typeof t.is=="string")E=g.createElement(e,{is:t.is});else if(E=g.createElement(e),e==="select"){var B=E;t.multiple?B.multiple=!0:t.size&&(B.size=t.size)}}else E=g.createElementNS(I,e);return I===Lo&&!p&&Object.prototype.toString.call(E)==="[object HTMLUnknownElement]"&&!pt.call(LC,e)&&(LC[e]=!0,v("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),E}function OM(e,t){return p1(t).createTextNode(e)}function AM(e,t,s,c){var p=pl(t,s);ty(t,s);var g;switch(t){case"dialog":Jn("cancel",e),Jn("close",e),g=s;break;case"iframe":case"object":case"embed":Jn("load",e),g=s;break;case"video":case"audio":for(var E=0;E<ih.length;E++)Jn(ih[E],e);g=s;break;case"source":Jn("error",e),g=s;break;case"img":case"image":case"link":Jn("error",e),Jn("load",e),g=s;break;case"details":Jn("toggle",e),g=s;break;case"input":X(e,s),g=D(e,s),Jn("invalid",e);break;case"option":hn(e,s),g=s;break;case"select":kc(e,s),g=Dc(e,s),Jn("invalid",e);break;case"textarea":Fm(e,s),g=iv(e,s),Jn("invalid",e);break;default:g=s}switch(Fc(t,g),IM(t,e,c,g,p),t){case"input":Do(e),Be(e,s,!1);break;case"textarea":Do(e),ed(e);break;case"option":mn(e,s);break;case"select":av(e,s);break;default:typeof g.onClick=="function"&&iy(e);break}}function jM(e,t,s,c,p){ty(t,c);var g=null,E,I;switch(t){case"input":E=D(e,s),I=D(e,c),g=[];break;case"select":E=Dc(e,s),I=Dc(e,c),g=[];break;case"textarea":E=iv(e,s),I=iv(e,c),g=[];break;default:E=s,I=c,typeof E.onClick!="function"&&typeof I.onClick=="function"&&iy(e);break}Fc(t,I);var A,P,B=null;for(A in E)if(!(I.hasOwnProperty(A)||!E.hasOwnProperty(A)||E[A]==null))if(A===Ef){var te=E[A];for(P in te)te.hasOwnProperty(P)&&(B||(B={}),B[P]="")}else A===lh||A===Sf||A===Kg||A===Yu||A===u1||(et.hasOwnProperty(A)?g||(g=[]):(g=g||[]).push(A,null));for(A in I){var K=I[A],ce=E!=null?E[A]:void 0;if(!(!I.hasOwnProperty(A)||K===ce||K==null&&ce==null))if(A===Ef)if(K&&Object.freeze(K),ce){for(P in ce)ce.hasOwnProperty(P)&&(!K||!K.hasOwnProperty(P))&&(B||(B={}),B[P]="");for(P in K)K.hasOwnProperty(P)&&ce[P]!==K[P]&&(B||(B={}),B[P]=K[P])}else B||(g||(g=[]),g.push(A,B)),B=K;else if(A===lh){var de=K?K[ey]:void 0,be=ce?ce[ey]:void 0;de!=null&&be!==de&&(g=g||[]).push(A,de)}else A===Sf?(typeof K=="string"||typeof K=="number")&&(g=g||[]).push(A,""+K):A===Kg||A===Yu||(et.hasOwnProperty(A)?(K!=null&&(typeof K!="function"&&ny(A,K),A==="onScroll"&&Jn("scroll",e)),!g&&ce!==K&&(g=[])):(g=g||[]).push(A,K))}return B&&(Jm(B,I[Ef]),(g=g||[]).push(Ef,B)),g}function DM(e,t,s,c,p){s==="input"&&p.type==="radio"&&p.name!=null&&ue(e,p);var g=pl(s,c),E=pl(s,p);switch(NM(e,t,g,E),s){case"input":me(e,p);break;case"textarea":Vm(e,p);break;case"select":Y0(e,p);break}}function kM(e){{var t=e.toLowerCase();return ad.hasOwnProperty(t)&&ad[t]||null}}function MM(e,t,s,c,p,g,E){var I,A;switch(I=pl(t,s),ty(t,s),t){case"dialog":Jn("cancel",e),Jn("close",e);break;case"iframe":case"object":case"embed":Jn("load",e);break;case"video":case"audio":for(var P=0;P<ih.length;P++)Jn(ih[P],e);break;case"source":Jn("error",e);break;case"img":case"image":case"link":Jn("error",e),Jn("load",e);break;case"details":Jn("toggle",e);break;case"input":X(e,s),Jn("invalid",e);break;case"option":hn(e,s);break;case"select":kc(e,s),Jn("invalid",e);break;case"textarea":Fm(e,s),Jn("invalid",e);break}Fc(t,s);{A=new Set;for(var B=e.attributes,te=0;te<B.length;te++){var K=B[te].name.toLowerCase();switch(K){case"value":break;case"checked":break;case"selected":break;default:A.add(B[te].name)}}}var ce=null;for(var de in s)if(s.hasOwnProperty(de)){var be=s[de];if(de===Sf)typeof be=="string"?e.textContent!==be&&(s[Yu]!==!0&&ay(e.textContent,be,g,E),ce=[Sf,be]):typeof be=="number"&&e.textContent!==""+be&&(s[Yu]!==!0&&ay(e.textContent,be,g,E),ce=[Sf,""+be]);else if(et.hasOwnProperty(de))be!=null&&(typeof be!="function"&&ny(de,be),de==="onScroll"&&Jn("scroll",e));else if(E&&typeof I=="boolean"){var qe=void 0,gt=I&&Se?null:Ir(de);if(s[Yu]!==!0){if(!(de===Kg||de===Yu||de==="value"||de==="checked"||de==="selected")){if(de===lh){var ct=e.innerHTML,Wt=be?be[ey]:void 0;if(Wt!=null){var Ht=d1(e,Wt);Ht!==ct&&uh(de,ct,Ht)}}else if(de===Ef){if(A.delete(de),f1){var ie=aC(be);qe=e.getAttribute("style"),ie!==qe&&uh(de,qe,ie)}}else if(I&&!Se)A.delete(de.toLowerCase()),qe=ii(e,de,be),be!==qe&&uh(de,qe,be);else if(!Gn(de,gt,I)&&!pn(de,be,gt,I)){var Ce=!1;if(gt!==null)A.delete(gt.attributeName),qe=Li(e,de,be,gt);else{var oe=c;if(oe===Lo&&(oe=ov(t)),oe===Lo)A.delete(de.toLowerCase());else{var Fe=kM(de);Fe!==null&&Fe!==de&&(Ce=!0,A.delete(Fe)),A.delete(de)}qe=ii(e,de,be)}var Qe=Se;!Qe&&be!==qe&&!Ce&&uh(de,qe,be)}}}}}switch(E&&A.size>0&&s[Yu]!==!0&&c1(A),t){case"input":Do(e),Be(e,s,!0);break;case"textarea":Do(e),ed(e);break;case"select":case"option":break;default:typeof s.onClick=="function"&&iy(e);break}return ce}function LM(e,t,s){var c=e.nodeValue!==t;return c}function PC(e,t){{if(Si)return;Si=!0,v("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function FC(e,t){{if(Si)return;Si=!0,v('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function VC(e,t,s){{if(Si)return;Si=!0,v("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function BC(e,t){{if(t===""||Si)return;Si=!0,v('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function PM(e,t,s){switch(t){case"input":it(e,s);return;case"textarea":Z0(e,s);return;case"select":Lm(e,s);return}}var ch=function(){},fh=function(){};{var FM=["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"],v1=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],VM=v1.concat(["button"]),BM=["dd","dt","li","option","optgroup","p","rp","rt"],h1={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};fh=function(e,t){var s=Lt({},e||h1),c={tag:t};return v1.indexOf(t)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),VM.indexOf(t)!==-1&&(s.pTagInButtonScope=null),FM.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=c,t==="form"&&(s.formTag=c),t==="a"&&(s.aTagInScope=c),t==="button"&&(s.buttonTagInScope=c),t==="nobr"&&(s.nobrTagInScope=c),t==="p"&&(s.pTagInButtonScope=c),t==="li"&&(s.listItemTagAutoclosing=c),(t==="dd"||t==="dt")&&(s.dlItemTagAutoclosing=c),s};var zM=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 BM.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},HM=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},m1={};ch=function(e,t,s){s=s||h1;var c=s.current,p=c&&c.tag;t!=null&&(e!=null&&v("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var g=zM(e,p)?null:c,E=g?null:HM(e,s),I=g||E;if(I){var A=I.tag,P=!!g+"|"+e+"|"+A;if(!m1[P]){m1[P]=!0;var B=e,te="";if(e==="#text"?/\S/.test(t)?B="Text nodes":(B="Whitespace text nodes",te=" Make sure you don't have any extra whitespace between tags on each line of your source code."):B="<"+e+">",g){var K="";A==="table"&&e==="tr"&&(K+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),v("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",B,A,te,K)}else v("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",B,A)}}}}var oy="suppressHydrationWarning",sy="$",ly="/$",dh="$?",ph="$!",UM="style",zC=null,HC=null;function $M(e){var t,s,c=e.nodeType;switch(c){case $a:case lv:{t=c===$a?"#document":"#fragment";var p=e.documentElement;s=p?p.namespaceURI:sv(null,"");break}default:{var g=c===Qn?e.parentNode:e,E=g.namespaceURI||null;t=g.tagName,s=sv(E,t);break}}{var I=t.toLowerCase(),A=fh(null,I);return{namespace:s,ancestorInfo:A}}}function GM(e,t,s){{var c=e,p=sv(c.namespace,t),g=fh(c.ancestorInfo,t);return{namespace:p,ancestorInfo:g}}}function H8(e){return e}function WM(e){zC=zu(),HC=oM();var t=null;return Da(!1),t}function XM(e){sM(HC),Da(zC),zC=null,HC=null}function YM(e,t,s,c,p){var g;{var E=c;if(ch(e,null,E.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var I=""+t.children,A=fh(E.ancestorInfo,e);ch(null,I,A)}g=E.namespace}var P=_M(e,t,s,g);return mh(p,P),JC(P,t),P}function ZM(e,t){e.appendChild(t)}function JM(e,t,s,c,p){switch(AM(e,t,s,c),t){case"button":case"input":case"select":case"textarea":return!!s.autoFocus;case"img":return!0;default:return!1}}function qM(e,t,s,c,p,g){{var E=g;if(typeof c.children!=typeof s.children&&(typeof c.children=="string"||typeof c.children=="number")){var I=""+c.children,A=fh(E.ancestorInfo,t);ch(null,I,A)}}return jM(e,t,s,c)}function UC(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 QM(e,t,s,c){{var p=s;ch(null,e,p.ancestorInfo)}var g=OM(e,t);return mh(c,g),g}function KM(){var e=window.event;return e===void 0?co:Ud(e.type)}var $C=typeof setTimeout=="function"?setTimeout:void 0,eL=typeof clearTimeout=="function"?clearTimeout:void 0,GC=-1,g1=typeof Promise=="function"?Promise:void 0,tL=typeof queueMicrotask=="function"?queueMicrotask:typeof g1<"u"?function(e){return g1.resolve(null).then(e).catch(nL)}:$C;function nL(e){setTimeout(function(){throw e})}function rL(e,t,s,c){switch(t){case"button":case"input":case"select":case"textarea":s.autoFocus&&e.focus();return;case"img":{s.src&&(e.src=s.src);return}}}function aL(e,t,s,c,p,g){DM(e,t,s,c,p),JC(e,p)}function y1(e){Mc(e,"")}function iL(e,t,s){e.nodeValue=s}function oL(e,t){e.appendChild(t)}function sL(e,t){var s;e.nodeType===Qn?(s=e.parentNode,s.insertBefore(t,e)):(s=e,s.appendChild(t));var c=e._reactRootContainer;c==null&&s.onclick===null&&iy(s)}function lL(e,t,s){e.insertBefore(t,s)}function uL(e,t,s){e.nodeType===Qn?e.parentNode.insertBefore(t,s):e.insertBefore(t,s)}function cL(e,t){e.removeChild(t)}function fL(e,t){e.nodeType===Qn?e.parentNode.removeChild(t):e.removeChild(t)}function WC(e,t){var s=t,c=0;do{var p=s.nextSibling;if(e.removeChild(s),p&&p.nodeType===Qn){var g=p.data;if(g===ly)if(c===0){e.removeChild(p),nr(t);return}else c--;else(g===sy||g===dh||g===ph)&&c++}s=p}while(s);nr(t)}function dL(e,t){e.nodeType===Qn?WC(e.parentNode,t):e.nodeType===Ea&&WC(e,t),nr(e)}function pL(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function vL(e){e.nodeValue=""}function hL(e,t){e=e;var s=t[UM],c=s!=null&&s.hasOwnProperty("display")?s.display:null;e.style.display=Es("display",c)}function mL(e,t){e.nodeValue=t}function gL(e){e.nodeType===Ea?e.textContent="":e.nodeType===$a&&e.documentElement&&e.removeChild(e.documentElement)}function yL(e,t,s){return e.nodeType!==Ea||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function bL(e,t){return t===""||e.nodeType!==Po?null:e}function CL(e){return e.nodeType!==Qn?null:e}function b1(e){return e.data===dh}function XC(e){return e.data===ph}function xL(e){var t=e.nextSibling&&e.nextSibling.dataset,s,c,p;return t&&(s=t.dgst,c=t.msg,p=t.stck),{message:c,digest:s,stack:p}}function SL(e,t){e._reactRetry=t}function uy(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Ea||t===Po)break;if(t===Qn){var s=e.data;if(s===sy||s===ph||s===dh)break;if(s===ly)return null}}return e}function vh(e){return uy(e.nextSibling)}function EL(e){return uy(e.firstChild)}function wL(e){return uy(e.firstChild)}function RL(e){return uy(e.nextSibling)}function TL(e,t,s,c,p,g,E){mh(g,e),JC(e,s);var I;{var A=p;I=A.namespace}var P=(g.mode&ut)!==mt;return MM(e,t,s,I,c,P,E)}function IL(e,t,s,c){return mh(s,e),s.mode&ut,LM(e,t)}function NL(e,t){mh(t,e)}function _L(e){for(var t=e.nextSibling,s=0;t;){if(t.nodeType===Qn){var c=t.data;if(c===ly){if(s===0)return vh(t);s--}else(c===sy||c===ph||c===dh)&&s++}t=t.nextSibling}return null}function C1(e){for(var t=e.previousSibling,s=0;t;){if(t.nodeType===Qn){var c=t.data;if(c===sy||c===ph||c===dh){if(s===0)return t;s--}else c===ly&&s++}t=t.previousSibling}return null}function OL(e){nr(e)}function AL(e){nr(e)}function jL(e){return e!=="head"&&e!=="body"}function DL(e,t,s,c){var p=!0;ay(t.nodeValue,s,c,p)}function kL(e,t,s,c,p,g){if(t[oy]!==!0){var E=!0;ay(c.nodeValue,p,g,E)}}function ML(e,t){t.nodeType===Ea?PC(e,t):t.nodeType===Qn||FC(e,t)}function LL(e,t){{var s=e.parentNode;s!==null&&(t.nodeType===Ea?PC(s,t):t.nodeType===Qn||FC(s,t))}}function PL(e,t,s,c,p){(p||t[oy]!==!0)&&(c.nodeType===Ea?PC(s,c):c.nodeType===Qn||FC(s,c))}function FL(e,t,s){VC(e,t)}function VL(e,t){BC(e,t)}function BL(e,t,s){{var c=e.parentNode;c!==null&&VC(c,t)}}function zL(e,t){{var s=e.parentNode;s!==null&&BC(s,t)}}function HL(e,t,s,c,p,g){(g||t[oy]!==!0)&&VC(s,c)}function UL(e,t,s,c,p){(p||t[oy]!==!0)&&BC(s,c)}function $L(e){v("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function GL(e){oh(e)}var sp=Math.random().toString(36).slice(2),lp="__reactFiber$"+sp,YC="__reactProps$"+sp,hh="__reactContainer$"+sp,ZC="__reactEvents$"+sp,WL="__reactListeners$"+sp,XL="__reactHandles$"+sp;function YL(e){delete e[lp],delete e[YC],delete e[ZC],delete e[WL],delete e[XL]}function mh(e,t){t[lp]=e}function cy(e,t){t[hh]=e}function x1(e){e[hh]=null}function gh(e){return!!e[hh]}function wf(e){var t=e[lp];if(t)return t;for(var s=e.parentNode;s;){if(t=s[hh]||s[lp],t){var c=t.alternate;if(t.child!==null||c!==null&&c.child!==null)for(var p=C1(e);p!==null;){var g=p[lp];if(g)return g;p=C1(p)}return t}e=s,s=e.parentNode}return null}function Zu(e){var t=e[lp]||e[hh];return t&&(t.tag===N||t.tag===O||t.tag===U||t.tag===T)?t:null}function up(e){if(e.tag===N||e.tag===O)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function fy(e){return e[YC]||null}function JC(e,t){e[YC]=t}function ZL(e){var t=e[ZC];return t===void 0&&(t=e[ZC]=new Set),t}var S1={},E1=u.ReactDebugCurrentFrame;function dy(e){if(e){var t=e._owner,s=Ut(e.type,e._source,t?t.type:null);E1.setExtraStackFrame(s)}else E1.setExtraStackFrame(null)}function Jo(e,t,s,c,p){{var g=Function.call.bind(pt);for(var E in e)if(g(e,E)){var I=void 0;try{if(typeof e[E]!="function"){var A=Error((c||"React class")+": "+s+" type `"+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[E]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw A.name="Invariant Violation",A}I=e[E](t,E,c,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(P){I=P}I&&!(I instanceof Error)&&(dy(p),v("%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).",c||"React class",s,E,typeof I),dy(null)),I instanceof Error&&!(I.message in S1)&&(S1[I.message]=!0,dy(p),v("Failed %s type: %s",s,I.message),dy(null))}}}var qC=[],py;py=[];var Ll=-1;function Ju(e){return{current:e}}function ka(e,t){if(Ll<0){v("Unexpected pop.");return}t!==py[Ll]&&v("Unexpected Fiber popped."),e.current=qC[Ll],qC[Ll]=null,py[Ll]=null,Ll--}function Ma(e,t,s){Ll++,qC[Ll]=e.current,py[Ll]=s,e.current=t}var QC;QC={};var $i={};Object.freeze($i);var Pl=Ju($i),Hs=Ju(!1),KC=$i;function cp(e,t,s){return s&&Us(t)?KC:Pl.current}function w1(e,t,s){{var c=e.stateNode;c.__reactInternalMemoizedUnmaskedChildContext=t,c.__reactInternalMemoizedMaskedChildContext=s}}function fp(e,t){{var s=e.type,c=s.contextTypes;if(!c)return $i;var p=e.stateNode;if(p&&p.__reactInternalMemoizedUnmaskedChildContext===t)return p.__reactInternalMemoizedMaskedChildContext;var g={};for(var E in c)g[E]=t[E];{var I=Nt(e)||"Unknown";Jo(c,g,"context",I)}return p&&w1(e,t,g),g}}function vy(){return Hs.current}function Us(e){{var t=e.childContextTypes;return t!=null}}function hy(e){ka(Hs,e),ka(Pl,e)}function ex(e){ka(Hs,e),ka(Pl,e)}function R1(e,t,s){{if(Pl.current!==$i)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Ma(Pl,t,e),Ma(Hs,s,e)}}function T1(e,t,s){{var c=e.stateNode,p=t.childContextTypes;if(typeof c.getChildContext!="function"){{var g=Nt(e)||"Unknown";QC[g]||(QC[g]=!0,v("%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.",g,g))}return s}var E=c.getChildContext();for(var I in E)if(!(I in p))throw new Error((Nt(e)||"Unknown")+'.getChildContext(): key "'+I+'" is not defined in childContextTypes.');{var A=Nt(e)||"Unknown";Jo(p,E,"child context",A)}return Lt({},s,E)}}function my(e){{var t=e.stateNode,s=t&&t.__reactInternalMemoizedMergedChildContext||$i;return KC=Pl.current,Ma(Pl,s,e),Ma(Hs,Hs.current,e),!0}}function I1(e,t,s){{var c=e.stateNode;if(!c)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(s){var p=T1(e,t,KC);c.__reactInternalMemoizedMergedChildContext=p,ka(Hs,e),ka(Pl,e),Ma(Pl,p,e),Ma(Hs,s,e)}else ka(Hs,e),Ma(Hs,s,e)}}function JL(e){{if(!Xa(e)||e.tag!==x)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 T:return t.stateNode.context;case x:{var s=t.type;if(Us(s))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 qu=0,gy=1,Fl=null,tx=!1,nx=!1;function N1(e){Fl===null?Fl=[e]:Fl.push(e)}function qL(e){tx=!0,N1(e)}function _1(){tx&&Qu()}function Qu(){if(!nx&&Fl!==null){nx=!0;var e=0,t=gi();try{var s=!0,c=Fl;for(tr(ur);e<c.length;e++){var p=c[e];do p=p(s);while(p!==null)}Fl=null,tx=!1}catch(g){throw Fl!==null&&(Fl=Fl.slice(e+1)),Nv(Na,Qu),g}finally{tr(t),nx=!1}}return null}var dp=[],pp=0,yy=null,by=0,ho=[],mo=0,Rf=null,Vl=1,Bl="";function QL(e){return If(),(e.flags&dg)!==ht}function KL(e){return If(),by}function eP(){var e=Bl,t=Vl,s=t&~tP(t);return s.toString(32)+e}function Tf(e,t){If(),dp[pp++]=by,dp[pp++]=yy,yy=e,by=t}function O1(e,t,s){If(),ho[mo++]=Vl,ho[mo++]=Bl,ho[mo++]=Rf,Rf=e;var c=Vl,p=Bl,g=Cy(c)-1,E=c&~(1<<g),I=s+1,A=Cy(t)+g;if(A>30){var P=g-g%5,B=(1<<P)-1,te=(E&B).toString(32),K=E>>P,ce=g-P,de=Cy(t)+ce,be=I<<ce,qe=be|K,gt=te+p;Vl=1<<de|qe,Bl=gt}else{var ct=I<<g,Wt=ct|E,Ht=p;Vl=1<<A|Wt,Bl=Ht}}function rx(e){If();var t=e.return;if(t!==null){var s=1,c=0;Tf(e,s),O1(e,s,c)}}function Cy(e){return 32-ef(e)}function tP(e){return 1<<Cy(e)-1}function ax(e){for(;e===yy;)yy=dp[--pp],dp[pp]=null,by=dp[--pp],dp[pp]=null;for(;e===Rf;)Rf=ho[--mo],ho[mo]=null,Bl=ho[--mo],ho[mo]=null,Vl=ho[--mo],ho[mo]=null}function nP(){return If(),Rf!==null?{id:Vl,overflow:Bl}:null}function rP(e,t){If(),ho[mo++]=Vl,ho[mo++]=Bl,ho[mo++]=Rf,Vl=t.id,Bl=t.overflow,Rf=e}function If(){sa()||v("Expected to be hydrating. This is a bug in React. Please file an issue.")}var oa=null,go=null,qo=!1,Nf=!1,Ku=null;function aP(){qo&&v("We should not be hydrating here. This is a bug in React. Please file a bug.")}function A1(){Nf=!0}function iP(){return Nf}function oP(e){var t=e.stateNode.containerInfo;return go=wL(t),oa=e,qo=!0,Ku=null,Nf=!1,!0}function sP(e,t,s){return go=RL(t),oa=e,qo=!0,Ku=null,Nf=!1,s!==null&&rP(e,s),!0}function j1(e,t){switch(e.tag){case T:{ML(e.stateNode.containerInfo,t);break}case N:{var s=(e.mode&ut)!==mt;PL(e.type,e.memoizedProps,e.stateNode,t,s);break}case U:{var c=e.memoizedState;c.dehydrated!==null&&LL(c.dehydrated,t);break}}}function D1(e,t){j1(e,t);var s=cB();s.stateNode=t,s.return=e;var c=e.deletions;c===null?(e.deletions=[s],e.flags|=tn):c.push(s)}function ix(e,t){{if(Nf)return;switch(e.tag){case T:{var s=e.stateNode.containerInfo;switch(t.tag){case N:var c=t.type;t.pendingProps,FL(s,c);break;case O:var p=t.pendingProps;VL(s,p);break}break}case N:{var g=e.type,E=e.memoizedProps,I=e.stateNode;switch(t.tag){case N:{var A=t.type,P=t.pendingProps,B=(e.mode&ut)!==mt;HL(g,E,I,A,P,B);break}case O:{var te=t.pendingProps,K=(e.mode&ut)!==mt;UL(g,E,I,te,K);break}}break}case U:{var ce=e.memoizedState,de=ce.dehydrated;if(de!==null)switch(t.tag){case N:var be=t.type;t.pendingProps,BL(de,be);break;case O:var qe=t.pendingProps;zL(de,qe);break}break}default:return}}}function k1(e,t){t.flags=t.flags&~io|In,ix(e,t)}function M1(e,t){switch(e.tag){case N:{var s=e.type;e.pendingProps;var c=yL(t,s);return c!==null?(e.stateNode=c,oa=e,go=EL(c),!0):!1}case O:{var p=e.pendingProps,g=bL(t,p);return g!==null?(e.stateNode=g,oa=e,go=null,!0):!1}case U:{var E=CL(t);if(E!==null){var I={dehydrated:E,treeContext:nP(),retryLane:Ja};e.memoizedState=I;var A=fB(E);return A.return=e,e.child=A,oa=e,go=null,!0}return!1}default:return!1}}function ox(e){return(e.mode&ut)!==mt&&(e.flags&Ot)===ht}function sx(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function lx(e){if(qo){var t=go;if(!t){ox(e)&&(ix(oa,e),sx()),k1(oa,e),qo=!1,oa=e;return}var s=t;if(!M1(e,t)){ox(e)&&(ix(oa,e),sx()),t=vh(s);var c=oa;if(!t||!M1(e,t)){k1(oa,e),qo=!1,oa=e;return}D1(c,s)}}}function lP(e,t,s){var c=e.stateNode,p=!Nf,g=TL(c,e.type,e.memoizedProps,t,s,e,p);return e.updateQueue=g,g!==null}function uP(e){var t=e.stateNode,s=e.memoizedProps,c=IL(t,s,e);if(c){var p=oa;if(p!==null)switch(p.tag){case T:{var g=p.stateNode.containerInfo,E=(p.mode&ut)!==mt;DL(g,t,s,E);break}case N:{var I=p.type,A=p.memoizedProps,P=p.stateNode,B=(p.mode&ut)!==mt;kL(I,A,P,t,s,B);break}}}return c}function cP(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");NL(s,e)}function fP(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)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 _L(s)}function L1(e){for(var t=e.return;t!==null&&t.tag!==N&&t.tag!==T&&t.tag!==U;)t=t.return;oa=t}function xy(e){if(e!==oa)return!1;if(!qo)return L1(e),qo=!0,!1;if(e.tag!==T&&(e.tag!==N||jL(e.type)&&!UC(e.type,e.memoizedProps))){var t=go;if(t)if(ox(e))P1(e),sx();else for(;t;)D1(e,t),t=vh(t)}return L1(e),e.tag===U?go=fP(e):go=oa?vh(e.stateNode):null,!0}function dP(){return qo&&go!==null}function P1(e){for(var t=go;t;)j1(e,t),t=vh(t)}function vp(){oa=null,go=null,qo=!1,Nf=!1}function F1(){Ku!==null&&(jI(Ku),Ku=null)}function sa(){return qo}function ux(e){Ku===null?Ku=[e]:Ku.push(e)}var pP=u.ReactCurrentBatchConfig,vP=null;function hP(){return pP.transition}var Qo={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var mP=function(e){for(var t=null,s=e;s!==null;)s.mode&Kn&&(t=s),s=s.return;return t},_f=function(e){var t=[];return e.forEach(function(s){t.push(s)}),t.sort().join(", ")},yh=[],bh=[],Ch=[],xh=[],Sh=[],Eh=[],Of=new Set;Qo.recordUnsafeLifecycleWarnings=function(e,t){Of.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&yh.push(e),e.mode&Kn&&typeof t.UNSAFE_componentWillMount=="function"&&bh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Ch.push(e),e.mode&Kn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&xh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Sh.push(e),e.mode&Kn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Eh.push(e))},Qo.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;yh.length>0&&(yh.forEach(function(K){e.add(Nt(K)||"Component"),Of.add(K.type)}),yh=[]);var t=new Set;bh.length>0&&(bh.forEach(function(K){t.add(Nt(K)||"Component"),Of.add(K.type)}),bh=[]);var s=new Set;Ch.length>0&&(Ch.forEach(function(K){s.add(Nt(K)||"Component"),Of.add(K.type)}),Ch=[]);var c=new Set;xh.length>0&&(xh.forEach(function(K){c.add(Nt(K)||"Component"),Of.add(K.type)}),xh=[]);var p=new Set;Sh.length>0&&(Sh.forEach(function(K){p.add(Nt(K)||"Component"),Of.add(K.type)}),Sh=[]);var g=new Set;if(Eh.length>0&&(Eh.forEach(function(K){g.add(Nt(K)||"Component"),Of.add(K.type)}),Eh=[]),t.size>0){var E=_f(t);v(`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.
126
126
 
127
127
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
128
128
 
129
- Please update the following components: %s`,E)}if(c.size>0){var I=Nf(c);v(`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.
129
+ Please update the following components: %s`,E)}if(c.size>0){var I=_f(c);v(`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.
130
130
 
131
131
  * Move data fetching code or side effects to componentDidUpdate.
132
132
  * 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
133
133
 
134
- Please update the following components: %s`,I)}if(g.size>0){var A=Nf(g);v(`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.
134
+ Please update the following components: %s`,I)}if(g.size>0){var A=_f(g);v(`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.
135
135
 
136
136
  * Move data fetching code or side effects to componentDidUpdate.
137
137
 
138
- Please update the following components: %s`,A)}if(e.size>0){var P=Nf(e);h(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
138
+ Please update the following components: %s`,A)}if(e.size>0){var P=_f(e);h(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
139
139
 
140
140
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
141
141
  * 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.
142
142
 
143
- Please update the following components: %s`,P)}if(s.size>0){var B=Nf(s);h(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
143
+ Please update the following components: %s`,P)}if(s.size>0){var B=_f(s);h(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
144
144
 
145
145
  * Move data fetching code or side effects to componentDidUpdate.
146
146
  * 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
147
147
  * 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.
148
148
 
149
- Please update the following components: %s`,B)}if(p.size>0){var te=Nf(p);h(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
149
+ Please update the following components: %s`,B)}if(p.size>0){var te=_f(p);h(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
150
150
 
151
151
  * Move data fetching code or side effects to componentDidUpdate.
152
152
  * 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.
153
153
 
154
- Please update the following components: %s`,te)}};var Sy=new Map,V1=new Set;qo.recordLegacyContextWarning=function(e,t){var s=mP(e);if(s===null){v("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(!V1.has(e.type)){var c=Sy.get(s);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(c===void 0&&(c=[],Sy.set(s,c)),c.push(e))}},qo.flushLegacyContextWarning=function(){Sy.forEach(function(e,t){if(e.length!==0){var s=e[0],c=new Set;e.forEach(function(g){c.add(Nt(g)||"Component"),V1.add(g.type)});var p=Nf(c);try{Xn(s),v(`Legacy context API has been detected within a strict-mode tree.
154
+ Please update the following components: %s`,te)}};var Sy=new Map,V1=new Set;Qo.recordLegacyContextWarning=function(e,t){var s=mP(e);if(s===null){v("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(!V1.has(e.type)){var c=Sy.get(s);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(c===void 0&&(c=[],Sy.set(s,c)),c.push(e))}},Qo.flushLegacyContextWarning=function(){Sy.forEach(function(e,t){if(e.length!==0){var s=e[0],c=new Set;e.forEach(function(g){c.add(Nt(g)||"Component"),V1.add(g.type)});var p=_f(c);try{Xn(s),v(`Legacy context API has been detected within a strict-mode tree.
155
155
 
156
156
  The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
157
157
 
158
158
  Please update the following components: %s
159
159
 
160
- Learn more about this warning here: https://reactjs.org/link/legacy-context`,p)}finally{Fn()}}})},qo.discardPendingWarnings=function(){yh=[],bh=[],Ch=[],xh=[],Sh=[],Eh=[],Sy=new Map}}function Qo(e,t){if(e&&e.defaultProps){var s=Lt({},t),c=e.defaultProps;for(var p in c)s[p]===void 0&&(s[p]=c[p]);return s}return t}var cx=Zu(null),fx;fx={};var Ey=null,vp=null,dx=null,wy=!1;function Ry(){Ey=null,vp=null,dx=null,wy=!1}function B1(){wy=!0}function z1(){wy=!1}function H1(e,t,s){Ma(cx,t._currentValue,e),t._currentValue=s,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==fx&&v("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=fx}function px(e,t){var s=cx.current;ka(cx,t),e._currentValue=s}function vx(e,t,s){for(var c=e;c!==null;){var p=c.alternate;if(Il(c.childLanes,t)?p!==null&&!Il(p.childLanes,t)&&(p.childLanes=Dt(p.childLanes,t)):(c.childLanes=Dt(c.childLanes,t),p!==null&&(p.childLanes=Dt(p.childLanes,t))),c===s)break;c=c.return}c!==s&&v("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 gP(e,t,s){yP(e,t,s)}function yP(e,t,s){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var p=void 0,g=c.dependencies;if(g!==null){p=c.child;for(var E=g.firstContext;E!==null;){if(E.context===t){if(c.tag===x){var I=Ou(s),A=Bl(Mn,I);A.tag=Iy;var P=c.updateQueue;if(P!==null){var B=P.shared,te=B.pending;te===null?A.next=A:(A.next=te.next,te.next=A),B.pending=A}}c.lanes=Dt(c.lanes,s);var K=c.alternate;K!==null&&(K.lanes=Dt(K.lanes,s)),vx(c.return,s,e),g.lanes=Dt(g.lanes,s);break}E=E.next}}else if(c.tag===V)p=c.type===e.type?null:c.child;else if(c.tag===ge){var ce=c.return;if(ce===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ce.lanes=Dt(ce.lanes,s);var de=ce.alternate;de!==null&&(de.lanes=Dt(de.lanes,s)),vx(ce,s,e),p=c.sibling}else p=c.child;if(p!==null)p.return=c;else for(p=c;p!==null;){if(p===e){p=null;break}var be=p.sibling;if(be!==null){be.return=p.return,p=be;break}p=p.return}c=p}}function hp(e,t){Ey=e,vp=null,dx=null;var s=e.dependencies;if(s!==null){var c=s.firstContext;c!==null&&(ja(s.lanes,t)&&Ph(),s.firstContext=null)}}function jr(e){wy&&v("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(dx!==e){var s={context:e,memoizedValue:t,next:null};if(vp===null){if(Ey===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().");vp=s,Ey.dependencies={lanes:Ee,firstContext:s}}else vp=vp.next=s}return t}var Of=null;function hx(e){Of===null?Of=[e]:Of.push(e)}function bP(){if(Of!==null){for(var e=0;e<Of.length;e++){var t=Of[e],s=t.interleaved;if(s!==null){t.interleaved=null;var c=s.next,p=t.pending;if(p!==null){var g=p.next;p.next=c,s.next=g}t.pending=s}}Of=null}}function U1(e,t,s,c){var p=t.interleaved;return p===null?(s.next=s,hx(t)):(s.next=p.next,p.next=s),t.interleaved=s,Ty(e,c)}function CP(e,t,s,c){var p=t.interleaved;p===null?(s.next=s,hx(t)):(s.next=p.next,p.next=s),t.interleaved=s}function xP(e,t,s,c){var p=t.interleaved;return p===null?(s.next=s,hx(t)):(s.next=p.next,p.next=s),t.interleaved=s,Ty(e,c)}function Ei(e,t){return Ty(e,t)}var SP=Ty;function Ty(e,t){e.lanes=Dt(e.lanes,t);var s=e.alternate;s!==null&&(s.lanes=Dt(s.lanes,t)),s===null&&(e.flags&(In|io))!==ht&&$I(e);for(var c=e,p=e.return;p!==null;)p.childLanes=Dt(p.childLanes,t),s=p.alternate,s!==null?s.childLanes=Dt(s.childLanes,t):(p.flags&(In|io))!==ht&&$I(e),c=p,p=p.return;if(c.tag===T){var g=c.stateNode;return g}else return null}var $1=0,G1=1,Iy=2,mx=3,Ny=!1,gx,_y;gx=!1,_y=null;function yx(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Ee},effects:null};e.updateQueue=t}function W1(e,t){var s=t.updateQueue,c=e.updateQueue;if(s===c){var p={baseState:c.baseState,firstBaseUpdate:c.firstBaseUpdate,lastBaseUpdate:c.lastBaseUpdate,shared:c.shared,effects:c.effects};t.updateQueue=p}}function Bl(e,t){var s={eventTime:e,lane:t,tag:$1,payload:null,callback:null,next:null};return s}function Ku(e,t,s){var c=e.updateQueue;if(c===null)return null;var p=c.shared;if(_y===p&&!gx&&(v("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."),gx=!0),SV()){var g=p.pending;return g===null?t.next=t:(t.next=g.next,g.next=t),p.pending=t,SP(e,s)}else return xP(e,p,t,s)}function Oy(e,t,s){var c=t.updateQueue;if(c!==null){var p=c.shared;if(Vv(s)){var g=p.lanes;g=Dd(g,e.pendingLanes);var E=Dt(g,s);p.lanes=E,Bv(e,E)}}}function bx(e,t){var s=e.updateQueue,c=e.alternate;if(c!==null){var p=c.updateQueue;if(s===p){var g=null,E=null,I=s.firstBaseUpdate;if(I!==null){var A=I;do{var P={eventTime:A.eventTime,lane:A.lane,tag:A.tag,payload:A.payload,callback:A.callback,next:null};E===null?g=E=P:(E.next=P,E=P),A=A.next}while(A!==null);E===null?g=E=t:(E.next=t,E=t)}else g=E=t;s={baseState:p.baseState,firstBaseUpdate:g,lastBaseUpdate:E,shared:p.shared,effects:p.effects},e.updateQueue=s;return}}var B=s.lastBaseUpdate;B===null?s.firstBaseUpdate=t:B.next=t,s.lastBaseUpdate=t}function EP(e,t,s,c,p,g){switch(s.tag){case G1:{var E=s.payload;if(typeof E=="function"){B1();var I=E.call(g,c,p);{if(e.mode&Kn){kn(!0);try{E.call(g,c,p)}finally{kn(!1)}}z1()}return I}return E}case mx:e.flags=e.flags&~Lr|Ot;case $1:{var A=s.payload,P;if(typeof A=="function"){B1(),P=A.call(g,c,p);{if(e.mode&Kn){kn(!0);try{A.call(g,c,p)}finally{kn(!1)}}z1()}}else P=A;return P==null?c:Lt({},c,P)}case Iy:return Ny=!0,c}return c}function Ay(e,t,s,c){var p=e.updateQueue;Ny=!1,_y=p.shared;var g=p.firstBaseUpdate,E=p.lastBaseUpdate,I=p.shared.pending;if(I!==null){p.shared.pending=null;var A=I,P=A.next;A.next=null,E===null?g=P:E.next=P,E=A;var B=e.alternate;if(B!==null){var te=B.updateQueue,K=te.lastBaseUpdate;K!==E&&(K===null?te.firstBaseUpdate=P:K.next=P,te.lastBaseUpdate=A)}}if(g!==null){var ce=p.baseState,de=Ee,be=null,qe=null,gt=null,ct=g;do{var Wt=ct.lane,Ht=ct.eventTime;if(Il(c,Wt)){if(gt!==null){var Ce={eventTime:Ht,lane:sr,tag:ct.tag,payload:ct.payload,callback:ct.callback,next:null};gt=gt.next=Ce}ce=EP(e,p,ct,ce,t,s);var oe=ct.callback;if(oe!==null&&ct.lane!==sr){e.flags|=Nr;var Fe=p.effects;Fe===null?p.effects=[ct]:Fe.push(ct)}}else{var ie={eventTime:Ht,lane:Wt,tag:ct.tag,payload:ct.payload,callback:ct.callback,next:null};gt===null?(qe=gt=ie,be=ce):gt=gt.next=ie,de=Dt(de,Wt)}if(ct=ct.next,ct===null){if(I=p.shared.pending,I===null)break;var Qe=I,Xe=Qe.next;Qe.next=null,ct=Xe,p.lastBaseUpdate=Qe,p.shared.pending=null}}while(!0);gt===null&&(be=ce),p.baseState=be,p.firstBaseUpdate=qe,p.lastBaseUpdate=gt;var Tt=p.shared.interleaved;if(Tt!==null){var jt=Tt;do de=Dt(de,jt.lane),jt=jt.next;while(jt!==Tt)}else g===null&&(p.shared.lanes=Ee);Zh(de),e.lanes=de,e.memoizedState=ce}_y=null}function wP(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function X1(){Ny=!1}function jy(){return Ny}function Y1(e,t,s){var c=t.effects;if(t.effects=null,c!==null)for(var p=0;p<c.length;p++){var g=c[p],E=g.callback;E!==null&&(g.callback=null,wP(E,s))}}var Cx={},Z1=new r.Component().refs,xx,Sx,Ex,wx,Rx,J1,Dy,Tx,Ix,Nx;{xx=new Set,Sx=new Set,Ex=new Set,wx=new Set,Tx=new Set,Rx=new Set,Ix=new Set,Nx=new Set;var q1=new Set;Dy=function(e,t){if(!(e===null||typeof e=="function")){var s=t+"_"+e;q1.has(s)||(q1.add(s),v("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},J1=function(e,t){if(t===void 0){var s=Yt(e)||"Component";Rx.has(s)||(Rx.add(s),v("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}},Object.defineProperty(Cx,"_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(Cx)}function _x(e,t,s,c){var p=e.memoizedState,g=s(c,p);{if(e.mode&Kn){kn(!0);try{g=s(c,p)}finally{kn(!1)}}J1(t,g)}var E=g==null?p:Lt({},p,g);if(e.memoizedState=E,e.lanes===Ee){var I=e.updateQueue;I.baseState=E}}var Ox={isMounted:Ya,enqueueSetState:function(e,t,s){var c=ao(e),p=Ka(),g=sc(c),E=Bl(p,g);E.payload=t,s!=null&&(Dy(s,"setState"),E.callback=s);var I=Ku(c,E,g);I!==null&&(Wr(I,c,g,p),Oy(I,c,g)),gd(c,g)},enqueueReplaceState:function(e,t,s){var c=ao(e),p=Ka(),g=sc(c),E=Bl(p,g);E.tag=G1,E.payload=t,s!=null&&(Dy(s,"replaceState"),E.callback=s);var I=Ku(c,E,g);I!==null&&(Wr(I,c,g,p),Oy(I,c,g)),gd(c,g)},enqueueForceUpdate:function(e,t){var s=ao(e),c=Ka(),p=sc(s),g=Bl(c,p);g.tag=Iy,t!=null&&(Dy(t,"forceUpdate"),g.callback=t);var E=Ku(s,g,p);E!==null&&(Wr(E,s,p,c),Oy(E,s,p)),Tu(s,p)}};function Q1(e,t,s,c,p,g,E){var I=e.stateNode;if(typeof I.shouldComponentUpdate=="function"){var A=I.shouldComponentUpdate(c,g,E);{if(e.mode&Kn){kn(!0);try{A=I.shouldComponentUpdate(c,g,E)}finally{kn(!1)}}A===void 0&&v("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Yt(t)||"Component")}return A}return t.prototype&&t.prototype.isPureReactComponent?!St(s,c)||!St(p,g):!0}function RP(e,t,s){var c=e.stateNode;{var p=Yt(t)||"Component",g=c.render;g||(t.prototype&&typeof t.prototype.render=="function"?v("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",p):v("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",p)),c.getInitialState&&!c.getInitialState.isReactClassApproved&&!c.state&&v("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?",p),c.getDefaultProps&&!c.getDefaultProps.isReactClassApproved&&v("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.",p),c.propTypes&&v("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",p),c.contextType&&v("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",p),c.contextTypes&&v("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",p),t.contextType&&t.contextTypes&&!Ix.has(t)&&(Ix.add(t),v("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",p)),typeof c.componentShouldUpdate=="function"&&v("%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.",p),t.prototype&&t.prototype.isPureReactComponent&&typeof c.shouldComponentUpdate<"u"&&v("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Yt(t)||"A pure component"),typeof c.componentDidUnmount=="function"&&v("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",p),typeof c.componentDidReceiveProps=="function"&&v("%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().",p),typeof c.componentWillRecieveProps=="function"&&v("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",p),typeof c.UNSAFE_componentWillRecieveProps=="function"&&v("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",p);var E=c.props!==s;c.props!==void 0&&E&&v("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",p,p),c.defaultProps&&v("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",p,p),typeof c.getSnapshotBeforeUpdate=="function"&&typeof c.componentDidUpdate!="function"&&!Ex.has(t)&&(Ex.add(t),v("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Yt(t))),typeof c.getDerivedStateFromProps=="function"&&v("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",p),typeof c.getDerivedStateFromError=="function"&&v("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",p),typeof t.getSnapshotBeforeUpdate=="function"&&v("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",p);var I=c.state;I&&(typeof I!="object"||Zt(I))&&v("%s.state: must be set to an object or null",p),typeof c.getChildContext=="function"&&typeof t.childContextTypes!="object"&&v("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",p)}}function K1(e,t){t.updater=Ox,e.stateNode=t,ud(t,e),t._reactInternalInstance=Cx}function eT(e,t,s){var c=!1,p=$i,g=$i,E=t.contextType;if("contextType"in t){var I=E===null||E!==void 0&&E.$$typeof===Ue&&E._context===void 0;if(!I&&!Nx.has(t)){Nx.add(t);var A="";E===void 0?A=" 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 E!="object"?A=" However, it is set to a "+typeof E+".":E.$$typeof===ke?A=" Did you accidentally pass the Context.Provider instead?":E._context!==void 0?A=" Did you accidentally pass the Context.Consumer instead?":A=" However, it is set to an object with keys {"+Object.keys(E).join(", ")+"}.",v("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Yt(t)||"Component",A)}}if(typeof E=="object"&&E!==null)g=jr(E);else{p=up(e,t,!0);var P=t.contextTypes;c=P!=null,g=c?cp(e,p):$i}var B=new t(s,g);if(e.mode&Kn){kn(!0);try{B=new t(s,g)}finally{kn(!1)}}var te=e.memoizedState=B.state!==null&&B.state!==void 0?B.state:null;K1(e,B);{if(typeof t.getDerivedStateFromProps=="function"&&te===null){var K=Yt(t)||"Component";Sx.has(K)||(Sx.add(K),v("`%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.",K,B.state===null?"null":"undefined",K))}if(typeof t.getDerivedStateFromProps=="function"||typeof B.getSnapshotBeforeUpdate=="function"){var ce=null,de=null,be=null;if(typeof B.componentWillMount=="function"&&B.componentWillMount.__suppressDeprecationWarning!==!0?ce="componentWillMount":typeof B.UNSAFE_componentWillMount=="function"&&(ce="UNSAFE_componentWillMount"),typeof B.componentWillReceiveProps=="function"&&B.componentWillReceiveProps.__suppressDeprecationWarning!==!0?de="componentWillReceiveProps":typeof B.UNSAFE_componentWillReceiveProps=="function"&&(de="UNSAFE_componentWillReceiveProps"),typeof B.componentWillUpdate=="function"&&B.componentWillUpdate.__suppressDeprecationWarning!==!0?be="componentWillUpdate":typeof B.UNSAFE_componentWillUpdate=="function"&&(be="UNSAFE_componentWillUpdate"),ce!==null||de!==null||be!==null){var qe=Yt(t)||"Component",gt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";wx.has(qe)||(wx.add(qe),v(`Unsafe legacy lifecycles will not be called for components using new component APIs.
160
+ Learn more about this warning here: https://reactjs.org/link/legacy-context`,p)}finally{Fn()}}})},Qo.discardPendingWarnings=function(){yh=[],bh=[],Ch=[],xh=[],Sh=[],Eh=[],Sy=new Map}}function Ko(e,t){if(e&&e.defaultProps){var s=Lt({},t),c=e.defaultProps;for(var p in c)s[p]===void 0&&(s[p]=c[p]);return s}return t}var cx=Ju(null),fx;fx={};var Ey=null,hp=null,dx=null,wy=!1;function Ry(){Ey=null,hp=null,dx=null,wy=!1}function B1(){wy=!0}function z1(){wy=!1}function H1(e,t,s){Ma(cx,t._currentValue,e),t._currentValue=s,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==fx&&v("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=fx}function px(e,t){var s=cx.current;ka(cx,t),e._currentValue=s}function vx(e,t,s){for(var c=e;c!==null;){var p=c.alternate;if(Nl(c.childLanes,t)?p!==null&&!Nl(p.childLanes,t)&&(p.childLanes=Dt(p.childLanes,t)):(c.childLanes=Dt(c.childLanes,t),p!==null&&(p.childLanes=Dt(p.childLanes,t))),c===s)break;c=c.return}c!==s&&v("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 gP(e,t,s){yP(e,t,s)}function yP(e,t,s){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var p=void 0,g=c.dependencies;if(g!==null){p=c.child;for(var E=g.firstContext;E!==null;){if(E.context===t){if(c.tag===x){var I=Au(s),A=zl(Mn,I);A.tag=Iy;var P=c.updateQueue;if(P!==null){var B=P.shared,te=B.pending;te===null?A.next=A:(A.next=te.next,te.next=A),B.pending=A}}c.lanes=Dt(c.lanes,s);var K=c.alternate;K!==null&&(K.lanes=Dt(K.lanes,s)),vx(c.return,s,e),g.lanes=Dt(g.lanes,s);break}E=E.next}}else if(c.tag===V)p=c.type===e.type?null:c.child;else if(c.tag===ge){var ce=c.return;if(ce===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ce.lanes=Dt(ce.lanes,s);var de=ce.alternate;de!==null&&(de.lanes=Dt(de.lanes,s)),vx(ce,s,e),p=c.sibling}else p=c.child;if(p!==null)p.return=c;else for(p=c;p!==null;){if(p===e){p=null;break}var be=p.sibling;if(be!==null){be.return=p.return,p=be;break}p=p.return}c=p}}function mp(e,t){Ey=e,hp=null,dx=null;var s=e.dependencies;if(s!==null){var c=s.firstContext;c!==null&&(ja(s.lanes,t)&&Ph(),s.firstContext=null)}}function jr(e){wy&&v("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(dx!==e){var s={context:e,memoizedValue:t,next:null};if(hp===null){if(Ey===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().");hp=s,Ey.dependencies={lanes:Ee,firstContext:s}}else hp=hp.next=s}return t}var Af=null;function hx(e){Af===null?Af=[e]:Af.push(e)}function bP(){if(Af!==null){for(var e=0;e<Af.length;e++){var t=Af[e],s=t.interleaved;if(s!==null){t.interleaved=null;var c=s.next,p=t.pending;if(p!==null){var g=p.next;p.next=c,s.next=g}t.pending=s}}Af=null}}function U1(e,t,s,c){var p=t.interleaved;return p===null?(s.next=s,hx(t)):(s.next=p.next,p.next=s),t.interleaved=s,Ty(e,c)}function CP(e,t,s,c){var p=t.interleaved;p===null?(s.next=s,hx(t)):(s.next=p.next,p.next=s),t.interleaved=s}function xP(e,t,s,c){var p=t.interleaved;return p===null?(s.next=s,hx(t)):(s.next=p.next,p.next=s),t.interleaved=s,Ty(e,c)}function Ei(e,t){return Ty(e,t)}var SP=Ty;function Ty(e,t){e.lanes=Dt(e.lanes,t);var s=e.alternate;s!==null&&(s.lanes=Dt(s.lanes,t)),s===null&&(e.flags&(In|io))!==ht&&$I(e);for(var c=e,p=e.return;p!==null;)p.childLanes=Dt(p.childLanes,t),s=p.alternate,s!==null?s.childLanes=Dt(s.childLanes,t):(p.flags&(In|io))!==ht&&$I(e),c=p,p=p.return;if(c.tag===T){var g=c.stateNode;return g}else return null}var $1=0,G1=1,Iy=2,mx=3,Ny=!1,gx,_y;gx=!1,_y=null;function yx(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Ee},effects:null};e.updateQueue=t}function W1(e,t){var s=t.updateQueue,c=e.updateQueue;if(s===c){var p={baseState:c.baseState,firstBaseUpdate:c.firstBaseUpdate,lastBaseUpdate:c.lastBaseUpdate,shared:c.shared,effects:c.effects};t.updateQueue=p}}function zl(e,t){var s={eventTime:e,lane:t,tag:$1,payload:null,callback:null,next:null};return s}function ec(e,t,s){var c=e.updateQueue;if(c===null)return null;var p=c.shared;if(_y===p&&!gx&&(v("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."),gx=!0),SV()){var g=p.pending;return g===null?t.next=t:(t.next=g.next,g.next=t),p.pending=t,SP(e,s)}else return xP(e,p,t,s)}function Oy(e,t,s){var c=t.updateQueue;if(c!==null){var p=c.shared;if(Vv(s)){var g=p.lanes;g=kd(g,e.pendingLanes);var E=Dt(g,s);p.lanes=E,Bv(e,E)}}}function bx(e,t){var s=e.updateQueue,c=e.alternate;if(c!==null){var p=c.updateQueue;if(s===p){var g=null,E=null,I=s.firstBaseUpdate;if(I!==null){var A=I;do{var P={eventTime:A.eventTime,lane:A.lane,tag:A.tag,payload:A.payload,callback:A.callback,next:null};E===null?g=E=P:(E.next=P,E=P),A=A.next}while(A!==null);E===null?g=E=t:(E.next=t,E=t)}else g=E=t;s={baseState:p.baseState,firstBaseUpdate:g,lastBaseUpdate:E,shared:p.shared,effects:p.effects},e.updateQueue=s;return}}var B=s.lastBaseUpdate;B===null?s.firstBaseUpdate=t:B.next=t,s.lastBaseUpdate=t}function EP(e,t,s,c,p,g){switch(s.tag){case G1:{var E=s.payload;if(typeof E=="function"){B1();var I=E.call(g,c,p);{if(e.mode&Kn){kn(!0);try{E.call(g,c,p)}finally{kn(!1)}}z1()}return I}return E}case mx:e.flags=e.flags&~Lr|Ot;case $1:{var A=s.payload,P;if(typeof A=="function"){B1(),P=A.call(g,c,p);{if(e.mode&Kn){kn(!0);try{A.call(g,c,p)}finally{kn(!1)}}z1()}}else P=A;return P==null?c:Lt({},c,P)}case Iy:return Ny=!0,c}return c}function Ay(e,t,s,c){var p=e.updateQueue;Ny=!1,_y=p.shared;var g=p.firstBaseUpdate,E=p.lastBaseUpdate,I=p.shared.pending;if(I!==null){p.shared.pending=null;var A=I,P=A.next;A.next=null,E===null?g=P:E.next=P,E=A;var B=e.alternate;if(B!==null){var te=B.updateQueue,K=te.lastBaseUpdate;K!==E&&(K===null?te.firstBaseUpdate=P:K.next=P,te.lastBaseUpdate=A)}}if(g!==null){var ce=p.baseState,de=Ee,be=null,qe=null,gt=null,ct=g;do{var Wt=ct.lane,Ht=ct.eventTime;if(Nl(c,Wt)){if(gt!==null){var Ce={eventTime:Ht,lane:sr,tag:ct.tag,payload:ct.payload,callback:ct.callback,next:null};gt=gt.next=Ce}ce=EP(e,p,ct,ce,t,s);var oe=ct.callback;if(oe!==null&&ct.lane!==sr){e.flags|=Nr;var Fe=p.effects;Fe===null?p.effects=[ct]:Fe.push(ct)}}else{var ie={eventTime:Ht,lane:Wt,tag:ct.tag,payload:ct.payload,callback:ct.callback,next:null};gt===null?(qe=gt=ie,be=ce):gt=gt.next=ie,de=Dt(de,Wt)}if(ct=ct.next,ct===null){if(I=p.shared.pending,I===null)break;var Qe=I,Xe=Qe.next;Qe.next=null,ct=Xe,p.lastBaseUpdate=Qe,p.shared.pending=null}}while(!0);gt===null&&(be=ce),p.baseState=be,p.firstBaseUpdate=qe,p.lastBaseUpdate=gt;var Tt=p.shared.interleaved;if(Tt!==null){var jt=Tt;do de=Dt(de,jt.lane),jt=jt.next;while(jt!==Tt)}else g===null&&(p.shared.lanes=Ee);Zh(de),e.lanes=de,e.memoizedState=ce}_y=null}function wP(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function X1(){Ny=!1}function jy(){return Ny}function Y1(e,t,s){var c=t.effects;if(t.effects=null,c!==null)for(var p=0;p<c.length;p++){var g=c[p],E=g.callback;E!==null&&(g.callback=null,wP(E,s))}}var Cx={},Z1=new r.Component().refs,xx,Sx,Ex,wx,Rx,J1,Dy,Tx,Ix,Nx;{xx=new Set,Sx=new Set,Ex=new Set,wx=new Set,Tx=new Set,Rx=new Set,Ix=new Set,Nx=new Set;var q1=new Set;Dy=function(e,t){if(!(e===null||typeof e=="function")){var s=t+"_"+e;q1.has(s)||(q1.add(s),v("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},J1=function(e,t){if(t===void 0){var s=Yt(e)||"Component";Rx.has(s)||(Rx.add(s),v("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}},Object.defineProperty(Cx,"_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(Cx)}function _x(e,t,s,c){var p=e.memoizedState,g=s(c,p);{if(e.mode&Kn){kn(!0);try{g=s(c,p)}finally{kn(!1)}}J1(t,g)}var E=g==null?p:Lt({},p,g);if(e.memoizedState=E,e.lanes===Ee){var I=e.updateQueue;I.baseState=E}}var Ox={isMounted:Ya,enqueueSetState:function(e,t,s){var c=ao(e),p=Ka(),g=lc(c),E=zl(p,g);E.payload=t,s!=null&&(Dy(s,"setState"),E.callback=s);var I=ec(c,E,g);I!==null&&(Wr(I,c,g,p),Oy(I,c,g)),yd(c,g)},enqueueReplaceState:function(e,t,s){var c=ao(e),p=Ka(),g=lc(c),E=zl(p,g);E.tag=G1,E.payload=t,s!=null&&(Dy(s,"replaceState"),E.callback=s);var I=ec(c,E,g);I!==null&&(Wr(I,c,g,p),Oy(I,c,g)),yd(c,g)},enqueueForceUpdate:function(e,t){var s=ao(e),c=Ka(),p=lc(s),g=zl(c,p);g.tag=Iy,t!=null&&(Dy(t,"forceUpdate"),g.callback=t);var E=ec(s,g,p);E!==null&&(Wr(E,s,p,c),Oy(E,s,p)),Iu(s,p)}};function Q1(e,t,s,c,p,g,E){var I=e.stateNode;if(typeof I.shouldComponentUpdate=="function"){var A=I.shouldComponentUpdate(c,g,E);{if(e.mode&Kn){kn(!0);try{A=I.shouldComponentUpdate(c,g,E)}finally{kn(!1)}}A===void 0&&v("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Yt(t)||"Component")}return A}return t.prototype&&t.prototype.isPureReactComponent?!St(s,c)||!St(p,g):!0}function RP(e,t,s){var c=e.stateNode;{var p=Yt(t)||"Component",g=c.render;g||(t.prototype&&typeof t.prototype.render=="function"?v("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",p):v("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",p)),c.getInitialState&&!c.getInitialState.isReactClassApproved&&!c.state&&v("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?",p),c.getDefaultProps&&!c.getDefaultProps.isReactClassApproved&&v("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.",p),c.propTypes&&v("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",p),c.contextType&&v("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",p),c.contextTypes&&v("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",p),t.contextType&&t.contextTypes&&!Ix.has(t)&&(Ix.add(t),v("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",p)),typeof c.componentShouldUpdate=="function"&&v("%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.",p),t.prototype&&t.prototype.isPureReactComponent&&typeof c.shouldComponentUpdate<"u"&&v("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Yt(t)||"A pure component"),typeof c.componentDidUnmount=="function"&&v("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",p),typeof c.componentDidReceiveProps=="function"&&v("%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().",p),typeof c.componentWillRecieveProps=="function"&&v("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",p),typeof c.UNSAFE_componentWillRecieveProps=="function"&&v("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",p);var E=c.props!==s;c.props!==void 0&&E&&v("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",p,p),c.defaultProps&&v("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",p,p),typeof c.getSnapshotBeforeUpdate=="function"&&typeof c.componentDidUpdate!="function"&&!Ex.has(t)&&(Ex.add(t),v("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Yt(t))),typeof c.getDerivedStateFromProps=="function"&&v("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",p),typeof c.getDerivedStateFromError=="function"&&v("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",p),typeof t.getSnapshotBeforeUpdate=="function"&&v("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",p);var I=c.state;I&&(typeof I!="object"||Zt(I))&&v("%s.state: must be set to an object or null",p),typeof c.getChildContext=="function"&&typeof t.childContextTypes!="object"&&v("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",p)}}function K1(e,t){t.updater=Ox,e.stateNode=t,cd(t,e),t._reactInternalInstance=Cx}function eT(e,t,s){var c=!1,p=$i,g=$i,E=t.contextType;if("contextType"in t){var I=E===null||E!==void 0&&E.$$typeof===Ue&&E._context===void 0;if(!I&&!Nx.has(t)){Nx.add(t);var A="";E===void 0?A=" 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 E!="object"?A=" However, it is set to a "+typeof E+".":E.$$typeof===ke?A=" Did you accidentally pass the Context.Provider instead?":E._context!==void 0?A=" Did you accidentally pass the Context.Consumer instead?":A=" However, it is set to an object with keys {"+Object.keys(E).join(", ")+"}.",v("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Yt(t)||"Component",A)}}if(typeof E=="object"&&E!==null)g=jr(E);else{p=cp(e,t,!0);var P=t.contextTypes;c=P!=null,g=c?fp(e,p):$i}var B=new t(s,g);if(e.mode&Kn){kn(!0);try{B=new t(s,g)}finally{kn(!1)}}var te=e.memoizedState=B.state!==null&&B.state!==void 0?B.state:null;K1(e,B);{if(typeof t.getDerivedStateFromProps=="function"&&te===null){var K=Yt(t)||"Component";Sx.has(K)||(Sx.add(K),v("`%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.",K,B.state===null?"null":"undefined",K))}if(typeof t.getDerivedStateFromProps=="function"||typeof B.getSnapshotBeforeUpdate=="function"){var ce=null,de=null,be=null;if(typeof B.componentWillMount=="function"&&B.componentWillMount.__suppressDeprecationWarning!==!0?ce="componentWillMount":typeof B.UNSAFE_componentWillMount=="function"&&(ce="UNSAFE_componentWillMount"),typeof B.componentWillReceiveProps=="function"&&B.componentWillReceiveProps.__suppressDeprecationWarning!==!0?de="componentWillReceiveProps":typeof B.UNSAFE_componentWillReceiveProps=="function"&&(de="UNSAFE_componentWillReceiveProps"),typeof B.componentWillUpdate=="function"&&B.componentWillUpdate.__suppressDeprecationWarning!==!0?be="componentWillUpdate":typeof B.UNSAFE_componentWillUpdate=="function"&&(be="UNSAFE_componentWillUpdate"),ce!==null||de!==null||be!==null){var qe=Yt(t)||"Component",gt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";wx.has(qe)||(wx.add(qe),v(`Unsafe legacy lifecycles will not be called for components using new component APIs.
161
161
 
162
162
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
163
163
 
@@ -165,11 +165,11 @@ The above lifecycles should be removed. Learn more about this warning here:
165
165
  https://reactjs.org/link/unsafe-component-lifecycles`,qe,gt,ce!==null?`
166
166
  `+ce:"",de!==null?`
167
167
  `+de:"",be!==null?`
168
- `+be:""))}}}return c&&w1(e,p,g),B}function TP(e,t){var s=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),s!==t.state&&(v("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Nt(e)||"Component"),Ox.enqueueReplaceState(t,t.state,null))}function tT(e,t,s,c){var p=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(s,c),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(s,c),t.state!==p){{var g=Nt(e)||"Component";xx.has(g)||(xx.add(g),v("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",g))}Ox.enqueueReplaceState(t,t.state,null)}}function Ax(e,t,s,c){RP(e,t,s);var p=e.stateNode;p.props=s,p.state=e.memoizedState,p.refs=Z1,yx(e);var g=t.contextType;if(typeof g=="object"&&g!==null)p.context=jr(g);else{var E=up(e,t,!0);p.context=cp(e,E)}{if(p.state===s){var I=Yt(t)||"Component";Tx.has(I)||(Tx.add(I),v("%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.",I))}e.mode&Kn&&qo.recordLegacyContextWarning(e,p),qo.recordUnsafeLifecycleWarnings(e,p)}p.state=e.memoizedState;var A=t.getDerivedStateFromProps;if(typeof A=="function"&&(_x(e,t,A,s),p.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(TP(e,p),Ay(e,s,p,c),p.state=e.memoizedState),typeof p.componentDidMount=="function"){var P=st;P|=fi,(e.mode&hi)!==mt&&(P|=di),e.flags|=P}}function IP(e,t,s,c){var p=e.stateNode,g=e.memoizedProps;p.props=g;var E=p.context,I=t.contextType,A=$i;if(typeof I=="object"&&I!==null)A=jr(I);else{var P=up(e,t,!0);A=cp(e,P)}var B=t.getDerivedStateFromProps,te=typeof B=="function"||typeof p.getSnapshotBeforeUpdate=="function";!te&&(typeof p.UNSAFE_componentWillReceiveProps=="function"||typeof p.componentWillReceiveProps=="function")&&(g!==s||E!==A)&&tT(e,p,s,A),X1();var K=e.memoizedState,ce=p.state=K;if(Ay(e,s,p,c),ce=e.memoizedState,g===s&&K===ce&&!vy()&&!jy()){if(typeof p.componentDidMount=="function"){var de=st;de|=fi,(e.mode&hi)!==mt&&(de|=di),e.flags|=de}return!1}typeof B=="function"&&(_x(e,t,B,s),ce=e.memoizedState);var be=jy()||Q1(e,t,g,s,K,ce,A);if(be){if(!te&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"){var qe=st;qe|=fi,(e.mode&hi)!==mt&&(qe|=di),e.flags|=qe}}else{if(typeof p.componentDidMount=="function"){var gt=st;gt|=fi,(e.mode&hi)!==mt&&(gt|=di),e.flags|=gt}e.memoizedProps=s,e.memoizedState=ce}return p.props=s,p.state=ce,p.context=A,be}function NP(e,t,s,c,p){var g=t.stateNode;W1(e,t);var E=t.memoizedProps,I=t.type===t.elementType?E:Qo(t.type,E);g.props=I;var A=t.pendingProps,P=g.context,B=s.contextType,te=$i;if(typeof B=="object"&&B!==null)te=jr(B);else{var K=up(t,s,!0);te=cp(t,K)}var ce=s.getDerivedStateFromProps,de=typeof ce=="function"||typeof g.getSnapshotBeforeUpdate=="function";!de&&(typeof g.UNSAFE_componentWillReceiveProps=="function"||typeof g.componentWillReceiveProps=="function")&&(E!==A||P!==te)&&tT(t,g,c,te),X1();var be=t.memoizedState,qe=g.state=be;if(Ay(t,c,g,p),qe=t.memoizedState,E===A&&be===qe&&!vy()&&!jy()&&!G)return typeof g.componentDidUpdate=="function"&&(E!==e.memoizedProps||be!==e.memoizedState)&&(t.flags|=st),typeof g.getSnapshotBeforeUpdate=="function"&&(E!==e.memoizedProps||be!==e.memoizedState)&&(t.flags|=vr),!1;typeof ce=="function"&&(_x(t,s,ce,c),qe=t.memoizedState);var gt=jy()||Q1(t,s,I,c,be,qe,te)||G;return gt?(!de&&(typeof g.UNSAFE_componentWillUpdate=="function"||typeof g.componentWillUpdate=="function")&&(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(c,qe,te),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(c,qe,te)),typeof g.componentDidUpdate=="function"&&(t.flags|=st),typeof g.getSnapshotBeforeUpdate=="function"&&(t.flags|=vr)):(typeof g.componentDidUpdate=="function"&&(E!==e.memoizedProps||be!==e.memoizedState)&&(t.flags|=st),typeof g.getSnapshotBeforeUpdate=="function"&&(E!==e.memoizedProps||be!==e.memoizedState)&&(t.flags|=vr),t.memoizedProps=c,t.memoizedState=qe),g.props=c,g.state=qe,g.context=te,gt}var jx,Dx,kx,Mx,Lx,nT=function(e,t){};jx=!1,Dx=!1,kx={},Mx={},Lx={},nT=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 s=Nt(t)||"Component";Mx[s]||(Mx[s]=!0,v('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function wh(e,t,s){var c=s.ref;if(c!==null&&typeof c!="function"&&typeof c!="object"){if((e.mode&Kn||Ne)&&!(s._owner&&s._self&&s._owner.stateNode!==s._self)){var p=Nt(e)||"Component";kx[p]||(v('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',c),kx[p]=!0)}if(s._owner){var g=s._owner,E;if(g){var I=g;if(I.tag!==x)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");E=I.stateNode}if(!E)throw new Error("Missing owner for string ref "+c+". This error is likely caused by a bug in React. Please file an issue.");var A=E;Cn(c,"ref");var P=""+c;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===P)return t.ref;var B=function(te){var K=A.refs;K===Z1&&(K=A.refs={}),te===null?delete K[P]:K[P]=te};return B._stringRef=P,B}else{if(typeof c!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!s._owner)throw new Error("Element ref was specified as a string ("+c+`) but no owner was set. This could happen for one of the following reasons:
168
+ `+be:""))}}}return c&&w1(e,p,g),B}function TP(e,t){var s=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),s!==t.state&&(v("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Nt(e)||"Component"),Ox.enqueueReplaceState(t,t.state,null))}function tT(e,t,s,c){var p=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(s,c),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(s,c),t.state!==p){{var g=Nt(e)||"Component";xx.has(g)||(xx.add(g),v("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",g))}Ox.enqueueReplaceState(t,t.state,null)}}function Ax(e,t,s,c){RP(e,t,s);var p=e.stateNode;p.props=s,p.state=e.memoizedState,p.refs=Z1,yx(e);var g=t.contextType;if(typeof g=="object"&&g!==null)p.context=jr(g);else{var E=cp(e,t,!0);p.context=fp(e,E)}{if(p.state===s){var I=Yt(t)||"Component";Tx.has(I)||(Tx.add(I),v("%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.",I))}e.mode&Kn&&Qo.recordLegacyContextWarning(e,p),Qo.recordUnsafeLifecycleWarnings(e,p)}p.state=e.memoizedState;var A=t.getDerivedStateFromProps;if(typeof A=="function"&&(_x(e,t,A,s),p.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(TP(e,p),Ay(e,s,p,c),p.state=e.memoizedState),typeof p.componentDidMount=="function"){var P=st;P|=fi,(e.mode&hi)!==mt&&(P|=di),e.flags|=P}}function IP(e,t,s,c){var p=e.stateNode,g=e.memoizedProps;p.props=g;var E=p.context,I=t.contextType,A=$i;if(typeof I=="object"&&I!==null)A=jr(I);else{var P=cp(e,t,!0);A=fp(e,P)}var B=t.getDerivedStateFromProps,te=typeof B=="function"||typeof p.getSnapshotBeforeUpdate=="function";!te&&(typeof p.UNSAFE_componentWillReceiveProps=="function"||typeof p.componentWillReceiveProps=="function")&&(g!==s||E!==A)&&tT(e,p,s,A),X1();var K=e.memoizedState,ce=p.state=K;if(Ay(e,s,p,c),ce=e.memoizedState,g===s&&K===ce&&!vy()&&!jy()){if(typeof p.componentDidMount=="function"){var de=st;de|=fi,(e.mode&hi)!==mt&&(de|=di),e.flags|=de}return!1}typeof B=="function"&&(_x(e,t,B,s),ce=e.memoizedState);var be=jy()||Q1(e,t,g,s,K,ce,A);if(be){if(!te&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"){var qe=st;qe|=fi,(e.mode&hi)!==mt&&(qe|=di),e.flags|=qe}}else{if(typeof p.componentDidMount=="function"){var gt=st;gt|=fi,(e.mode&hi)!==mt&&(gt|=di),e.flags|=gt}e.memoizedProps=s,e.memoizedState=ce}return p.props=s,p.state=ce,p.context=A,be}function NP(e,t,s,c,p){var g=t.stateNode;W1(e,t);var E=t.memoizedProps,I=t.type===t.elementType?E:Ko(t.type,E);g.props=I;var A=t.pendingProps,P=g.context,B=s.contextType,te=$i;if(typeof B=="object"&&B!==null)te=jr(B);else{var K=cp(t,s,!0);te=fp(t,K)}var ce=s.getDerivedStateFromProps,de=typeof ce=="function"||typeof g.getSnapshotBeforeUpdate=="function";!de&&(typeof g.UNSAFE_componentWillReceiveProps=="function"||typeof g.componentWillReceiveProps=="function")&&(E!==A||P!==te)&&tT(t,g,c,te),X1();var be=t.memoizedState,qe=g.state=be;if(Ay(t,c,g,p),qe=t.memoizedState,E===A&&be===qe&&!vy()&&!jy()&&!G)return typeof g.componentDidUpdate=="function"&&(E!==e.memoizedProps||be!==e.memoizedState)&&(t.flags|=st),typeof g.getSnapshotBeforeUpdate=="function"&&(E!==e.memoizedProps||be!==e.memoizedState)&&(t.flags|=vr),!1;typeof ce=="function"&&(_x(t,s,ce,c),qe=t.memoizedState);var gt=jy()||Q1(t,s,I,c,be,qe,te)||G;return gt?(!de&&(typeof g.UNSAFE_componentWillUpdate=="function"||typeof g.componentWillUpdate=="function")&&(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(c,qe,te),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(c,qe,te)),typeof g.componentDidUpdate=="function"&&(t.flags|=st),typeof g.getSnapshotBeforeUpdate=="function"&&(t.flags|=vr)):(typeof g.componentDidUpdate=="function"&&(E!==e.memoizedProps||be!==e.memoizedState)&&(t.flags|=st),typeof g.getSnapshotBeforeUpdate=="function"&&(E!==e.memoizedProps||be!==e.memoizedState)&&(t.flags|=vr),t.memoizedProps=c,t.memoizedState=qe),g.props=c,g.state=qe,g.context=te,gt}var jx,Dx,kx,Mx,Lx,nT=function(e,t){};jx=!1,Dx=!1,kx={},Mx={},Lx={},nT=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 s=Nt(t)||"Component";Mx[s]||(Mx[s]=!0,v('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function wh(e,t,s){var c=s.ref;if(c!==null&&typeof c!="function"&&typeof c!="object"){if((e.mode&Kn||Ne)&&!(s._owner&&s._self&&s._owner.stateNode!==s._self)){var p=Nt(e)||"Component";kx[p]||(v('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',c),kx[p]=!0)}if(s._owner){var g=s._owner,E;if(g){var I=g;if(I.tag!==x)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");E=I.stateNode}if(!E)throw new Error("Missing owner for string ref "+c+". This error is likely caused by a bug in React. Please file an issue.");var A=E;Cn(c,"ref");var P=""+c;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===P)return t.ref;var B=function(te){var K=A.refs;K===Z1&&(K=A.refs={}),te===null?delete K[P]:K[P]=te};return B._stringRef=P,B}else{if(typeof c!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!s._owner)throw new Error("Element ref was specified as a string ("+c+`) but no owner was set. This could happen for one of the following reasons:
169
169
  1. You may be adding a ref to a function component
170
170
  2. You may be adding a ref to a component that was not created inside a component's render method
171
171
  3. You have multiple copies of React loaded
172
- See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return c}function ky(e,t){var s=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}function My(e){{var t=Nt(e)||"Component";if(Lx[t])return;Lx[t]=!0,v("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 rT(e){var t=e._payload,s=e._init;return s(t)}function aT(e){function t(ie,Ce){if(e){var oe=ie.deletions;oe===null?(ie.deletions=[Ce],ie.flags|=tn):oe.push(Ce)}}function s(ie,Ce){if(!e)return null;for(var oe=Ce;oe!==null;)t(ie,oe),oe=oe.sibling;return null}function c(ie,Ce){for(var oe=new Map,Fe=Ce;Fe!==null;)Fe.key!==null?oe.set(Fe.key,Fe):oe.set(Fe.index,Fe),Fe=Fe.sibling;return oe}function p(ie,Ce){var oe=Ff(ie,Ce);return oe.index=0,oe.sibling=null,oe}function g(ie,Ce,oe){if(ie.index=oe,!e)return ie.flags|=dg,Ce;var Fe=ie.alternate;if(Fe!==null){var Qe=Fe.index;return Qe<Ce?(ie.flags|=In,Ce):Qe}else return ie.flags|=In,Ce}function E(ie){return e&&ie.alternate===null&&(ie.flags|=In),ie}function I(ie,Ce,oe,Fe){if(Ce===null||Ce.tag!==O){var Qe=uE(oe,ie.mode,Fe);return Qe.return=ie,Qe}else{var Xe=p(Ce,oe);return Xe.return=ie,Xe}}function A(ie,Ce,oe,Fe){var Qe=oe.type;if(Qe===Ua)return B(ie,Ce,oe.props.children,Fe,oe.key);if(Ce!==null&&(Ce.elementType===Qe||YI(Ce,oe)||typeof Qe=="object"&&Qe!==null&&Qe.$$typeof===vt&&rT(Qe)===Ce.type)){var Xe=p(Ce,oe.props);return Xe.ref=wh(ie,Ce,oe),Xe.return=ie,Xe._debugSource=oe._source,Xe._debugOwner=oe._owner,Xe}var Tt=lE(oe,ie.mode,Fe);return Tt.ref=wh(ie,Ce,oe),Tt.return=ie,Tt}function P(ie,Ce,oe,Fe){if(Ce===null||Ce.tag!==j||Ce.stateNode.containerInfo!==oe.containerInfo||Ce.stateNode.implementation!==oe.implementation){var Qe=cE(oe,ie.mode,Fe);return Qe.return=ie,Qe}else{var Xe=p(Ce,oe.children||[]);return Xe.return=ie,Xe}}function B(ie,Ce,oe,Fe,Qe){if(Ce===null||Ce.tag!==_){var Xe=uc(oe,ie.mode,Fe,Qe);return Xe.return=ie,Xe}else{var Tt=p(Ce,oe);return Tt.return=ie,Tt}}function te(ie,Ce,oe){if(typeof Ce=="string"&&Ce!==""||typeof Ce=="number"){var Fe=uE(""+Ce,ie.mode,oe);return Fe.return=ie,Fe}if(typeof Ce=="object"&&Ce!==null){switch(Ce.$$typeof){case ga:{var Qe=lE(Ce,ie.mode,oe);return Qe.ref=wh(ie,null,Ce),Qe.return=ie,Qe}case ya:{var Xe=cE(Ce,ie.mode,oe);return Xe.return=ie,Xe}case vt:{var Tt=Ce._payload,jt=Ce._init;return te(ie,jt(Tt),oe)}}if(Zt(Ce)||Ki(Ce)){var Sn=uc(Ce,ie.mode,oe,null);return Sn.return=ie,Sn}ky(ie,Ce)}return typeof Ce=="function"&&My(ie),null}function K(ie,Ce,oe,Fe){var Qe=Ce!==null?Ce.key:null;if(typeof oe=="string"&&oe!==""||typeof oe=="number")return Qe!==null?null:I(ie,Ce,""+oe,Fe);if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case ga:return oe.key===Qe?A(ie,Ce,oe,Fe):null;case ya:return oe.key===Qe?P(ie,Ce,oe,Fe):null;case vt:{var Xe=oe._payload,Tt=oe._init;return K(ie,Ce,Tt(Xe),Fe)}}if(Zt(oe)||Ki(oe))return Qe!==null?null:B(ie,Ce,oe,Fe,null);ky(ie,oe)}return typeof oe=="function"&&My(ie),null}function ce(ie,Ce,oe,Fe,Qe){if(typeof Fe=="string"&&Fe!==""||typeof Fe=="number"){var Xe=ie.get(oe)||null;return I(Ce,Xe,""+Fe,Qe)}if(typeof Fe=="object"&&Fe!==null){switch(Fe.$$typeof){case ga:{var Tt=ie.get(Fe.key===null?oe:Fe.key)||null;return A(Ce,Tt,Fe,Qe)}case ya:{var jt=ie.get(Fe.key===null?oe:Fe.key)||null;return P(Ce,jt,Fe,Qe)}case vt:var Sn=Fe._payload,rn=Fe._init;return ce(ie,Ce,oe,rn(Sn),Qe)}if(Zt(Fe)||Ki(Fe)){var Er=ie.get(oe)||null;return B(Ce,Er,Fe,Qe,null)}ky(Ce,Fe)}return typeof Fe=="function"&&My(Ce),null}function de(ie,Ce,oe){{if(typeof ie!="object"||ie===null)return Ce;switch(ie.$$typeof){case ga:case ya:nT(ie,oe);var Fe=ie.key;if(typeof Fe!="string")break;if(Ce===null){Ce=new Set,Ce.add(Fe);break}if(!Ce.has(Fe)){Ce.add(Fe);break}v("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 — the behavior is unsupported and could change in a future version.",Fe);break;case vt:var Qe=ie._payload,Xe=ie._init;de(Xe(Qe),Ce,oe);break}}return Ce}function be(ie,Ce,oe,Fe){for(var Qe=null,Xe=0;Xe<oe.length;Xe++){var Tt=oe[Xe];Qe=de(Tt,Qe,ie)}for(var jt=null,Sn=null,rn=Ce,Er=0,an=0,mr=null;rn!==null&&an<oe.length;an++){rn.index>an?(mr=rn,rn=null):mr=rn.sibling;var Pa=K(ie,rn,oe[an],Fe);if(Pa===null){rn===null&&(rn=mr);break}e&&rn&&Pa.alternate===null&&t(ie,rn),Er=g(Pa,Er,an),Sn===null?jt=Pa:Sn.sibling=Pa,Sn=Pa,rn=mr}if(an===oe.length){if(s(ie,rn),sa()){var va=an;Rf(ie,va)}return jt}if(rn===null){for(;an<oe.length;an++){var Wi=te(ie,oe[an],Fe);Wi!==null&&(Er=g(Wi,Er,an),Sn===null?jt=Wi:Sn.sibling=Wi,Sn=Wi)}if(sa()){var ei=an;Rf(ie,ei)}return jt}for(var ti=c(ie,rn);an<oe.length;an++){var Fa=ce(ti,ie,an,oe[an],Fe);Fa!==null&&(e&&Fa.alternate!==null&&ti.delete(Fa.key===null?an:Fa.key),Er=g(Fa,Er,an),Sn===null?jt=Fa:Sn.sibling=Fa,Sn=Fa)}if(e&&ti.forEach(function(jp){return t(ie,jp)}),sa()){var Wl=an;Rf(ie,Wl)}return jt}function qe(ie,Ce,oe,Fe){var Qe=Ki(oe);if(typeof Qe!="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"&&oe[Symbol.toStringTag]==="Generator"&&(Dx||v("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."),Dx=!0),oe.entries===Qe&&(jx||v("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),jx=!0);var Xe=Qe.call(oe);if(Xe)for(var Tt=null,jt=Xe.next();!jt.done;jt=Xe.next()){var Sn=jt.value;Tt=de(Sn,Tt,ie)}}var rn=Qe.call(oe);if(rn==null)throw new Error("An iterable object provided no iterator.");for(var Er=null,an=null,mr=Ce,Pa=0,va=0,Wi=null,ei=rn.next();mr!==null&&!ei.done;va++,ei=rn.next()){mr.index>va?(Wi=mr,mr=null):Wi=mr.sibling;var ti=K(ie,mr,ei.value,Fe);if(ti===null){mr===null&&(mr=Wi);break}e&&mr&&ti.alternate===null&&t(ie,mr),Pa=g(ti,Pa,va),an===null?Er=ti:an.sibling=ti,an=ti,mr=Wi}if(ei.done){if(s(ie,mr),sa()){var Fa=va;Rf(ie,Fa)}return Er}if(mr===null){for(;!ei.done;va++,ei=rn.next()){var Wl=te(ie,ei.value,Fe);Wl!==null&&(Pa=g(Wl,Pa,va),an===null?Er=Wl:an.sibling=Wl,an=Wl)}if(sa()){var jp=va;Rf(ie,jp)}return Er}for(var em=c(ie,mr);!ei.done;va++,ei=rn.next()){var Js=ce(em,ie,va,ei.value,Fe);Js!==null&&(e&&Js.alternate!==null&&em.delete(Js.key===null?va:Js.key),Pa=g(Js,Pa,va),an===null?Er=Js:an.sibling=Js,an=Js)}if(e&&em.forEach(function(HB){return t(ie,HB)}),sa()){var zB=va;Rf(ie,zB)}return Er}function gt(ie,Ce,oe,Fe){if(Ce!==null&&Ce.tag===O){s(ie,Ce.sibling);var Qe=p(Ce,oe);return Qe.return=ie,Qe}s(ie,Ce);var Xe=uE(oe,ie.mode,Fe);return Xe.return=ie,Xe}function ct(ie,Ce,oe,Fe){for(var Qe=oe.key,Xe=Ce;Xe!==null;){if(Xe.key===Qe){var Tt=oe.type;if(Tt===Ua){if(Xe.tag===_){s(ie,Xe.sibling);var jt=p(Xe,oe.props.children);return jt.return=ie,jt._debugSource=oe._source,jt._debugOwner=oe._owner,jt}}else if(Xe.elementType===Tt||YI(Xe,oe)||typeof Tt=="object"&&Tt!==null&&Tt.$$typeof===vt&&rT(Tt)===Xe.type){s(ie,Xe.sibling);var Sn=p(Xe,oe.props);return Sn.ref=wh(ie,Xe,oe),Sn.return=ie,Sn._debugSource=oe._source,Sn._debugOwner=oe._owner,Sn}s(ie,Xe);break}else t(ie,Xe);Xe=Xe.sibling}if(oe.type===Ua){var rn=uc(oe.props.children,ie.mode,Fe,oe.key);return rn.return=ie,rn}else{var Er=lE(oe,ie.mode,Fe);return Er.ref=wh(ie,Ce,oe),Er.return=ie,Er}}function Wt(ie,Ce,oe,Fe){for(var Qe=oe.key,Xe=Ce;Xe!==null;){if(Xe.key===Qe)if(Xe.tag===j&&Xe.stateNode.containerInfo===oe.containerInfo&&Xe.stateNode.implementation===oe.implementation){s(ie,Xe.sibling);var Tt=p(Xe,oe.children||[]);return Tt.return=ie,Tt}else{s(ie,Xe);break}else t(ie,Xe);Xe=Xe.sibling}var jt=cE(oe,ie.mode,Fe);return jt.return=ie,jt}function Ht(ie,Ce,oe,Fe){var Qe=typeof oe=="object"&&oe!==null&&oe.type===Ua&&oe.key===null;if(Qe&&(oe=oe.props.children),typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case ga:return E(ct(ie,Ce,oe,Fe));case ya:return E(Wt(ie,Ce,oe,Fe));case vt:var Xe=oe._payload,Tt=oe._init;return Ht(ie,Ce,Tt(Xe),Fe)}if(Zt(oe))return be(ie,Ce,oe,Fe);if(Ki(oe))return qe(ie,Ce,oe,Fe);ky(ie,oe)}return typeof oe=="string"&&oe!==""||typeof oe=="number"?E(gt(ie,Ce,""+oe,Fe)):(typeof oe=="function"&&My(ie),s(ie,Ce))}return Ht}var mp=aT(!0),iT=aT(!1);function _P(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var s=t.child,c=Ff(s,s.pendingProps);for(t.child=c,c.return=t;s.sibling!==null;)s=s.sibling,c=c.sibling=Ff(s,s.pendingProps),c.return=t;c.sibling=null}}function OP(e,t){for(var s=e.child;s!==null;)iB(s,t),s=s.sibling}var Rh={},ec=Zu(Rh),Th=Zu(Rh),Ly=Zu(Rh);function Py(e){if(e===Rh)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 oT(){var e=Py(Ly.current);return e}function Px(e,t){Ma(Ly,t,e),Ma(Th,e,e),Ma(ec,Rh,e);var s=$M(t);ka(ec,e),Ma(ec,s,e)}function gp(e){ka(ec,e),ka(Th,e),ka(Ly,e)}function Fx(){var e=Py(ec.current);return e}function sT(e){Py(Ly.current);var t=Py(ec.current),s=GM(t,e.type);t!==s&&(Ma(Th,e,e),Ma(ec,s,e))}function Vx(e){Th.current===e&&(ka(ec,e),ka(Th,e))}var AP=0,lT=1,uT=1,Ih=2,Ko=Zu(AP);function Bx(e,t){return(e&t)!==0}function yp(e){return e&lT}function zx(e,t){return e&lT|t}function jP(e,t){return e|t}function tc(e,t){Ma(Ko,t,e)}function bp(e){ka(Ko,e)}function DP(e,t){var s=e.memoizedState;return s!==null?s.dehydrated!==null:(e.memoizedProps,!0)}function Fy(e){for(var t=e;t!==null;){if(t.tag===U){var s=t.memoizedState;if(s!==null){var c=s.dehydrated;if(c===null||b1(c)||XC(c))return t}}else if(t.tag===fe&&t.memoizedProps.revealOrder!==void 0){var p=(t.flags&Ot)!==ht;if(p)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 wi=0,Vr=1,Us=2,Br=4,la=8,Hx=[];function Ux(){for(var e=0;e<Hx.length;e++){var t=Hx[e];t._workInProgressVersionPrimary=null}Hx.length=0}function kP(e,t){var s=t._getVersion,c=s(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,c]:e.mutableSourceEagerHydrationData.push(t,c)}var Ze=u.ReactCurrentDispatcher,Nh=u.ReactCurrentBatchConfig,$x,Cp;$x=new Set;var Af=Ee,xn=null,zr=null,Hr=null,Vy=!1,_h=!1,Oh=0,MP=0,LP=25,Ie=null,yo=null,nc=-1,Gx=!1;function dn(){{var e=Ie;yo===null?yo=[e]:yo.push(e)}}function $e(){{var e=Ie;yo!==null&&(nc++,yo[nc]!==e&&PP(e))}}function xp(e){e!=null&&!Zt(e)&&v("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Ie,typeof e)}function PP(e){{var t=Nt(xn);if(!$x.has(t)&&($x.add(t),yo!==null)){for(var s="",c=30,p=0;p<=nc;p++){for(var g=yo[p],E=p===nc?e:g,I=p+1+". "+g;I.length<c;)I+=" ";I+=E+`
172
+ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return c}function ky(e,t){var s=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}function My(e){{var t=Nt(e)||"Component";if(Lx[t])return;Lx[t]=!0,v("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 rT(e){var t=e._payload,s=e._init;return s(t)}function aT(e){function t(ie,Ce){if(e){var oe=ie.deletions;oe===null?(ie.deletions=[Ce],ie.flags|=tn):oe.push(Ce)}}function s(ie,Ce){if(!e)return null;for(var oe=Ce;oe!==null;)t(ie,oe),oe=oe.sibling;return null}function c(ie,Ce){for(var oe=new Map,Fe=Ce;Fe!==null;)Fe.key!==null?oe.set(Fe.key,Fe):oe.set(Fe.index,Fe),Fe=Fe.sibling;return oe}function p(ie,Ce){var oe=Vf(ie,Ce);return oe.index=0,oe.sibling=null,oe}function g(ie,Ce,oe){if(ie.index=oe,!e)return ie.flags|=dg,Ce;var Fe=ie.alternate;if(Fe!==null){var Qe=Fe.index;return Qe<Ce?(ie.flags|=In,Ce):Qe}else return ie.flags|=In,Ce}function E(ie){return e&&ie.alternate===null&&(ie.flags|=In),ie}function I(ie,Ce,oe,Fe){if(Ce===null||Ce.tag!==O){var Qe=uE(oe,ie.mode,Fe);return Qe.return=ie,Qe}else{var Xe=p(Ce,oe);return Xe.return=ie,Xe}}function A(ie,Ce,oe,Fe){var Qe=oe.type;if(Qe===Ua)return B(ie,Ce,oe.props.children,Fe,oe.key);if(Ce!==null&&(Ce.elementType===Qe||YI(Ce,oe)||typeof Qe=="object"&&Qe!==null&&Qe.$$typeof===vt&&rT(Qe)===Ce.type)){var Xe=p(Ce,oe.props);return Xe.ref=wh(ie,Ce,oe),Xe.return=ie,Xe._debugSource=oe._source,Xe._debugOwner=oe._owner,Xe}var Tt=lE(oe,ie.mode,Fe);return Tt.ref=wh(ie,Ce,oe),Tt.return=ie,Tt}function P(ie,Ce,oe,Fe){if(Ce===null||Ce.tag!==j||Ce.stateNode.containerInfo!==oe.containerInfo||Ce.stateNode.implementation!==oe.implementation){var Qe=cE(oe,ie.mode,Fe);return Qe.return=ie,Qe}else{var Xe=p(Ce,oe.children||[]);return Xe.return=ie,Xe}}function B(ie,Ce,oe,Fe,Qe){if(Ce===null||Ce.tag!==_){var Xe=cc(oe,ie.mode,Fe,Qe);return Xe.return=ie,Xe}else{var Tt=p(Ce,oe);return Tt.return=ie,Tt}}function te(ie,Ce,oe){if(typeof Ce=="string"&&Ce!==""||typeof Ce=="number"){var Fe=uE(""+Ce,ie.mode,oe);return Fe.return=ie,Fe}if(typeof Ce=="object"&&Ce!==null){switch(Ce.$$typeof){case ga:{var Qe=lE(Ce,ie.mode,oe);return Qe.ref=wh(ie,null,Ce),Qe.return=ie,Qe}case ya:{var Xe=cE(Ce,ie.mode,oe);return Xe.return=ie,Xe}case vt:{var Tt=Ce._payload,jt=Ce._init;return te(ie,jt(Tt),oe)}}if(Zt(Ce)||Ki(Ce)){var Sn=cc(Ce,ie.mode,oe,null);return Sn.return=ie,Sn}ky(ie,Ce)}return typeof Ce=="function"&&My(ie),null}function K(ie,Ce,oe,Fe){var Qe=Ce!==null?Ce.key:null;if(typeof oe=="string"&&oe!==""||typeof oe=="number")return Qe!==null?null:I(ie,Ce,""+oe,Fe);if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case ga:return oe.key===Qe?A(ie,Ce,oe,Fe):null;case ya:return oe.key===Qe?P(ie,Ce,oe,Fe):null;case vt:{var Xe=oe._payload,Tt=oe._init;return K(ie,Ce,Tt(Xe),Fe)}}if(Zt(oe)||Ki(oe))return Qe!==null?null:B(ie,Ce,oe,Fe,null);ky(ie,oe)}return typeof oe=="function"&&My(ie),null}function ce(ie,Ce,oe,Fe,Qe){if(typeof Fe=="string"&&Fe!==""||typeof Fe=="number"){var Xe=ie.get(oe)||null;return I(Ce,Xe,""+Fe,Qe)}if(typeof Fe=="object"&&Fe!==null){switch(Fe.$$typeof){case ga:{var Tt=ie.get(Fe.key===null?oe:Fe.key)||null;return A(Ce,Tt,Fe,Qe)}case ya:{var jt=ie.get(Fe.key===null?oe:Fe.key)||null;return P(Ce,jt,Fe,Qe)}case vt:var Sn=Fe._payload,rn=Fe._init;return ce(ie,Ce,oe,rn(Sn),Qe)}if(Zt(Fe)||Ki(Fe)){var Er=ie.get(oe)||null;return B(Ce,Er,Fe,Qe,null)}ky(Ce,Fe)}return typeof Fe=="function"&&My(Ce),null}function de(ie,Ce,oe){{if(typeof ie!="object"||ie===null)return Ce;switch(ie.$$typeof){case ga:case ya:nT(ie,oe);var Fe=ie.key;if(typeof Fe!="string")break;if(Ce===null){Ce=new Set,Ce.add(Fe);break}if(!Ce.has(Fe)){Ce.add(Fe);break}v("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 — the behavior is unsupported and could change in a future version.",Fe);break;case vt:var Qe=ie._payload,Xe=ie._init;de(Xe(Qe),Ce,oe);break}}return Ce}function be(ie,Ce,oe,Fe){for(var Qe=null,Xe=0;Xe<oe.length;Xe++){var Tt=oe[Xe];Qe=de(Tt,Qe,ie)}for(var jt=null,Sn=null,rn=Ce,Er=0,an=0,mr=null;rn!==null&&an<oe.length;an++){rn.index>an?(mr=rn,rn=null):mr=rn.sibling;var Pa=K(ie,rn,oe[an],Fe);if(Pa===null){rn===null&&(rn=mr);break}e&&rn&&Pa.alternate===null&&t(ie,rn),Er=g(Pa,Er,an),Sn===null?jt=Pa:Sn.sibling=Pa,Sn=Pa,rn=mr}if(an===oe.length){if(s(ie,rn),sa()){var va=an;Tf(ie,va)}return jt}if(rn===null){for(;an<oe.length;an++){var Wi=te(ie,oe[an],Fe);Wi!==null&&(Er=g(Wi,Er,an),Sn===null?jt=Wi:Sn.sibling=Wi,Sn=Wi)}if(sa()){var ei=an;Tf(ie,ei)}return jt}for(var ti=c(ie,rn);an<oe.length;an++){var Fa=ce(ti,ie,an,oe[an],Fe);Fa!==null&&(e&&Fa.alternate!==null&&ti.delete(Fa.key===null?an:Fa.key),Er=g(Fa,Er,an),Sn===null?jt=Fa:Sn.sibling=Fa,Sn=Fa)}if(e&&ti.forEach(function(Dp){return t(ie,Dp)}),sa()){var Xl=an;Tf(ie,Xl)}return jt}function qe(ie,Ce,oe,Fe){var Qe=Ki(oe);if(typeof Qe!="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"&&oe[Symbol.toStringTag]==="Generator"&&(Dx||v("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."),Dx=!0),oe.entries===Qe&&(jx||v("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),jx=!0);var Xe=Qe.call(oe);if(Xe)for(var Tt=null,jt=Xe.next();!jt.done;jt=Xe.next()){var Sn=jt.value;Tt=de(Sn,Tt,ie)}}var rn=Qe.call(oe);if(rn==null)throw new Error("An iterable object provided no iterator.");for(var Er=null,an=null,mr=Ce,Pa=0,va=0,Wi=null,ei=rn.next();mr!==null&&!ei.done;va++,ei=rn.next()){mr.index>va?(Wi=mr,mr=null):Wi=mr.sibling;var ti=K(ie,mr,ei.value,Fe);if(ti===null){mr===null&&(mr=Wi);break}e&&mr&&ti.alternate===null&&t(ie,mr),Pa=g(ti,Pa,va),an===null?Er=ti:an.sibling=ti,an=ti,mr=Wi}if(ei.done){if(s(ie,mr),sa()){var Fa=va;Tf(ie,Fa)}return Er}if(mr===null){for(;!ei.done;va++,ei=rn.next()){var Xl=te(ie,ei.value,Fe);Xl!==null&&(Pa=g(Xl,Pa,va),an===null?Er=Xl:an.sibling=Xl,an=Xl)}if(sa()){var Dp=va;Tf(ie,Dp)}return Er}for(var em=c(ie,mr);!ei.done;va++,ei=rn.next()){var qs=ce(em,ie,va,ei.value,Fe);qs!==null&&(e&&qs.alternate!==null&&em.delete(qs.key===null?va:qs.key),Pa=g(qs,Pa,va),an===null?Er=qs:an.sibling=qs,an=qs)}if(e&&em.forEach(function(HB){return t(ie,HB)}),sa()){var zB=va;Tf(ie,zB)}return Er}function gt(ie,Ce,oe,Fe){if(Ce!==null&&Ce.tag===O){s(ie,Ce.sibling);var Qe=p(Ce,oe);return Qe.return=ie,Qe}s(ie,Ce);var Xe=uE(oe,ie.mode,Fe);return Xe.return=ie,Xe}function ct(ie,Ce,oe,Fe){for(var Qe=oe.key,Xe=Ce;Xe!==null;){if(Xe.key===Qe){var Tt=oe.type;if(Tt===Ua){if(Xe.tag===_){s(ie,Xe.sibling);var jt=p(Xe,oe.props.children);return jt.return=ie,jt._debugSource=oe._source,jt._debugOwner=oe._owner,jt}}else if(Xe.elementType===Tt||YI(Xe,oe)||typeof Tt=="object"&&Tt!==null&&Tt.$$typeof===vt&&rT(Tt)===Xe.type){s(ie,Xe.sibling);var Sn=p(Xe,oe.props);return Sn.ref=wh(ie,Xe,oe),Sn.return=ie,Sn._debugSource=oe._source,Sn._debugOwner=oe._owner,Sn}s(ie,Xe);break}else t(ie,Xe);Xe=Xe.sibling}if(oe.type===Ua){var rn=cc(oe.props.children,ie.mode,Fe,oe.key);return rn.return=ie,rn}else{var Er=lE(oe,ie.mode,Fe);return Er.ref=wh(ie,Ce,oe),Er.return=ie,Er}}function Wt(ie,Ce,oe,Fe){for(var Qe=oe.key,Xe=Ce;Xe!==null;){if(Xe.key===Qe)if(Xe.tag===j&&Xe.stateNode.containerInfo===oe.containerInfo&&Xe.stateNode.implementation===oe.implementation){s(ie,Xe.sibling);var Tt=p(Xe,oe.children||[]);return Tt.return=ie,Tt}else{s(ie,Xe);break}else t(ie,Xe);Xe=Xe.sibling}var jt=cE(oe,ie.mode,Fe);return jt.return=ie,jt}function Ht(ie,Ce,oe,Fe){var Qe=typeof oe=="object"&&oe!==null&&oe.type===Ua&&oe.key===null;if(Qe&&(oe=oe.props.children),typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case ga:return E(ct(ie,Ce,oe,Fe));case ya:return E(Wt(ie,Ce,oe,Fe));case vt:var Xe=oe._payload,Tt=oe._init;return Ht(ie,Ce,Tt(Xe),Fe)}if(Zt(oe))return be(ie,Ce,oe,Fe);if(Ki(oe))return qe(ie,Ce,oe,Fe);ky(ie,oe)}return typeof oe=="string"&&oe!==""||typeof oe=="number"?E(gt(ie,Ce,""+oe,Fe)):(typeof oe=="function"&&My(ie),s(ie,Ce))}return Ht}var gp=aT(!0),iT=aT(!1);function _P(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var s=t.child,c=Vf(s,s.pendingProps);for(t.child=c,c.return=t;s.sibling!==null;)s=s.sibling,c=c.sibling=Vf(s,s.pendingProps),c.return=t;c.sibling=null}}function OP(e,t){for(var s=e.child;s!==null;)iB(s,t),s=s.sibling}var Rh={},tc=Ju(Rh),Th=Ju(Rh),Ly=Ju(Rh);function Py(e){if(e===Rh)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 oT(){var e=Py(Ly.current);return e}function Px(e,t){Ma(Ly,t,e),Ma(Th,e,e),Ma(tc,Rh,e);var s=$M(t);ka(tc,e),Ma(tc,s,e)}function yp(e){ka(tc,e),ka(Th,e),ka(Ly,e)}function Fx(){var e=Py(tc.current);return e}function sT(e){Py(Ly.current);var t=Py(tc.current),s=GM(t,e.type);t!==s&&(Ma(Th,e,e),Ma(tc,s,e))}function Vx(e){Th.current===e&&(ka(tc,e),ka(Th,e))}var AP=0,lT=1,uT=1,Ih=2,es=Ju(AP);function Bx(e,t){return(e&t)!==0}function bp(e){return e&lT}function zx(e,t){return e&lT|t}function jP(e,t){return e|t}function nc(e,t){Ma(es,t,e)}function Cp(e){ka(es,e)}function DP(e,t){var s=e.memoizedState;return s!==null?s.dehydrated!==null:(e.memoizedProps,!0)}function Fy(e){for(var t=e;t!==null;){if(t.tag===U){var s=t.memoizedState;if(s!==null){var c=s.dehydrated;if(c===null||b1(c)||XC(c))return t}}else if(t.tag===fe&&t.memoizedProps.revealOrder!==void 0){var p=(t.flags&Ot)!==ht;if(p)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 wi=0,Vr=1,$s=2,Br=4,la=8,Hx=[];function Ux(){for(var e=0;e<Hx.length;e++){var t=Hx[e];t._workInProgressVersionPrimary=null}Hx.length=0}function kP(e,t){var s=t._getVersion,c=s(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,c]:e.mutableSourceEagerHydrationData.push(t,c)}var Ze=u.ReactCurrentDispatcher,Nh=u.ReactCurrentBatchConfig,$x,xp;$x=new Set;var jf=Ee,xn=null,zr=null,Hr=null,Vy=!1,_h=!1,Oh=0,MP=0,LP=25,Ie=null,yo=null,rc=-1,Gx=!1;function dn(){{var e=Ie;yo===null?yo=[e]:yo.push(e)}}function $e(){{var e=Ie;yo!==null&&(rc++,yo[rc]!==e&&PP(e))}}function Sp(e){e!=null&&!Zt(e)&&v("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Ie,typeof e)}function PP(e){{var t=Nt(xn);if(!$x.has(t)&&($x.add(t),yo!==null)){for(var s="",c=30,p=0;p<=rc;p++){for(var g=yo[p],E=p===rc?e:g,I=p+1+". "+g;I.length<c;)I+=" ";I+=E+`
173
173
  `,s+=I}v(`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
174
174
 
175
175
  Previous render Next render
@@ -182,13 +182,13 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
182
182
  See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Wx(e,t){if(Gx)return!1;if(t===null)return v("%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.",Ie),!1;e.length!==t.length&&v(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
183
183
 
184
184
  Previous: %s
185
- Incoming: %s`,Ie,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var s=0;s<t.length&&s<e.length;s++)if(!rt(e[s],t[s]))return!1;return!0}function Sp(e,t,s,c,p,g){Af=g,xn=t,yo=e!==null?e._debugHookTypes:null,nc=-1,Gx=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Ee,e!==null&&e.memoizedState!==null?Ze.current=AT:yo!==null?Ze.current=OT:Ze.current=_T;var E=s(c,p);if(_h){var I=0;do{if(_h=!1,Oh=0,I>=LP)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");I+=1,Gx=!1,zr=null,Hr=null,t.updateQueue=null,nc=-1,Ze.current=jT,E=s(c,p)}while(_h)}Ze.current=Qy,t._debugHookTypes=yo;var A=zr!==null&&zr.next!==null;if(Af=Ee,xn=null,zr=null,Hr=null,Ie=null,yo=null,nc=-1,e!==null&&(e.flags&Pr)!==(t.flags&Pr)&&(e.mode&ut)!==mt&&v("Internal React error: Expected static flag was missing. Please notify the React team."),Vy=!1,A)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return E}function Ep(){var e=Oh!==0;return Oh=0,e}function cT(e,t,s){t.updateQueue=e.updateQueue,(t.mode&hi)!==mt?t.flags&=~(gl|di|wa|st):t.flags&=~(wa|st),e.lanes=lf(e.lanes,s)}function fT(){if(Ze.current=Qy,Vy){for(var e=xn.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Vy=!1}Af=Ee,xn=null,zr=null,Hr=null,yo=null,nc=-1,Ie=null,wT=!1,_h=!1,Oh=0}function $s(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Hr===null?xn.memoizedState=Hr=e:Hr=Hr.next=e,Hr}function bo(){var e;if(zr===null){var t=xn.alternate;t!==null?e=t.memoizedState:e=null}else e=zr.next;var s;if(Hr===null?s=xn.memoizedState:s=Hr.next,s!==null)Hr=s,s=Hr.next,zr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");zr=e;var c={memoizedState:zr.memoizedState,baseState:zr.baseState,baseQueue:zr.baseQueue,queue:zr.queue,next:null};Hr===null?xn.memoizedState=Hr=c:Hr=Hr.next=c}return Hr}function dT(){return{lastEffect:null,stores:null}}function Xx(e,t){return typeof t=="function"?t(e):t}function Yx(e,t,s){var c=$s(),p;s!==void 0?p=s(t):p=t,c.memoizedState=c.baseState=p;var g={pending:null,interleaved:null,lanes:Ee,dispatch:null,lastRenderedReducer:e,lastRenderedState:p};c.queue=g;var E=g.dispatch=zP.bind(null,xn,g);return[c.memoizedState,E]}function Zx(e,t,s){var c=bo(),p=c.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var g=zr,E=g.baseQueue,I=p.pending;if(I!==null){if(E!==null){var A=E.next,P=I.next;E.next=P,I.next=A}g.baseQueue!==E&&v("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),g.baseQueue=E=I,p.pending=null}if(E!==null){var B=E.next,te=g.baseState,K=null,ce=null,de=null,be=B;do{var qe=be.lane;if(Il(Af,qe)){if(de!==null){var ct={lane:sr,action:be.action,hasEagerState:be.hasEagerState,eagerState:be.eagerState,next:null};de=de.next=ct}if(be.hasEagerState)te=be.eagerState;else{var Wt=be.action;te=e(te,Wt)}}else{var gt={lane:qe,action:be.action,hasEagerState:be.hasEagerState,eagerState:be.eagerState,next:null};de===null?(ce=de=gt,K=te):de=de.next=gt,xn.lanes=Dt(xn.lanes,qe),Zh(qe)}be=be.next}while(be!==null&&be!==B);de===null?K=te:de.next=ce,rt(te,c.memoizedState)||Ph(),c.memoizedState=te,c.baseState=K,c.baseQueue=de,p.lastRenderedState=te}var Ht=p.interleaved;if(Ht!==null){var ie=Ht;do{var Ce=ie.lane;xn.lanes=Dt(xn.lanes,Ce),Zh(Ce),ie=ie.next}while(ie!==Ht)}else E===null&&(p.lanes=Ee);var oe=p.dispatch;return[c.memoizedState,oe]}function Jx(e,t,s){var c=bo(),p=c.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var g=p.dispatch,E=p.pending,I=c.memoizedState;if(E!==null){p.pending=null;var A=E.next,P=A;do{var B=P.action;I=e(I,B),P=P.next}while(P!==A);rt(I,c.memoizedState)||Ph(),c.memoizedState=I,c.baseQueue===null&&(c.baseState=I),p.lastRenderedState=I}return[I,g]}function z8(e,t,s){}function H8(e,t,s){}function qx(e,t,s){var c=xn,p=$s(),g,E=sa();if(E){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");g=s(),Cp||g!==s()&&(v("The result of getServerSnapshot should be cached to avoid an infinite loop"),Cp=!0)}else{if(g=t(),!Cp){var I=t();rt(g,I)||(v("The result of getSnapshot should be cached to avoid an infinite loop"),Cp=!0)}var A=mb();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");sf(A,Af)||pT(c,t,g)}p.memoizedState=g;var P={value:g,getSnapshot:t};return p.queue=P,$y(hT.bind(null,c,P,e),[e]),c.flags|=wa,Ah(Vr|la,vT.bind(null,c,P,g,t),void 0,null),g}function By(e,t,s){var c=xn,p=bo(),g=t();if(!Cp){var E=t();rt(g,E)||(v("The result of getSnapshot should be cached to avoid an infinite loop"),Cp=!0)}var I=p.memoizedState,A=!rt(I,g);A&&(p.memoizedState=g,Ph());var P=p.queue;if(Dh(hT.bind(null,c,P,e),[e]),P.getSnapshot!==t||A||Hr!==null&&Hr.memoizedState.tag&Vr){c.flags|=wa,Ah(Vr|la,vT.bind(null,c,P,g,t),void 0,null);var B=mb();if(B===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");sf(B,Af)||pT(c,t,g)}return g}function pT(e,t,s){e.flags|=ml;var c={getSnapshot:t,value:s},p=xn.updateQueue;if(p===null)p=dT(),xn.updateQueue=p,p.stores=[c];else{var g=p.stores;g===null?p.stores=[c]:g.push(c)}}function vT(e,t,s,c){t.value=s,t.getSnapshot=c,mT(t)&&gT(e)}function hT(e,t,s){var c=function(){mT(t)&&gT(e)};return s(c)}function mT(e){var t=e.getSnapshot,s=e.value;try{var c=t();return!rt(s,c)}catch{return!0}}function gT(e){var t=Ei(e,bt);t!==null&&Wr(t,e,bt,Mn)}function zy(e){var t=$s();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var s={pending:null,interleaved:null,lanes:Ee,dispatch:null,lastRenderedReducer:Xx,lastRenderedState:e};t.queue=s;var c=s.dispatch=HP.bind(null,xn,s);return[t.memoizedState,c]}function Qx(e){return Zx(Xx)}function Kx(e){return Jx(Xx)}function Ah(e,t,s,c){var p={tag:e,create:t,destroy:s,deps:c,next:null},g=xn.updateQueue;if(g===null)g=dT(),xn.updateQueue=g,g.lastEffect=p.next=p;else{var E=g.lastEffect;if(E===null)g.lastEffect=p.next=p;else{var I=E.next;E.next=p,p.next=I,g.lastEffect=p}}return p}function eS(e){var t=$s();{var s={current:e};return t.memoizedState=s,s}}function Hy(e){var t=bo();return t.memoizedState}function jh(e,t,s,c){var p=$s(),g=c===void 0?null:c;xn.flags|=e,p.memoizedState=Ah(Vr|t,s,void 0,g)}function Uy(e,t,s,c){var p=bo(),g=c===void 0?null:c,E=void 0;if(zr!==null){var I=zr.memoizedState;if(E=I.destroy,g!==null){var A=I.deps;if(Wx(g,A)){p.memoizedState=Ah(t,s,E,g);return}}}xn.flags|=e,p.memoizedState=Ah(Vr|t,s,E,g)}function $y(e,t){return(xn.mode&hi)!==mt?jh(gl|wa|Is,la,e,t):jh(wa|Is,la,e,t)}function Dh(e,t){return Uy(wa,la,e,t)}function tS(e,t){return jh(st,Us,e,t)}function Gy(e,t){return Uy(st,Us,e,t)}function nS(e,t){var s=st;return s|=fi,(xn.mode&hi)!==mt&&(s|=di),jh(s,Br,e,t)}function Wy(e,t){return Uy(st,Br,e,t)}function yT(e,t){if(typeof t=="function"){var s=t,c=e();return s(c),function(){s(null)}}else if(t!=null){var p=t;p.hasOwnProperty("current")||v("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(p).join(", ")+"}");var g=e();return p.current=g,function(){p.current=null}}}function rS(e,t,s){typeof t!="function"&&v("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var c=s!=null?s.concat([e]):null,p=st;return p|=fi,(xn.mode&hi)!==mt&&(p|=di),jh(p,Br,yT.bind(null,t,e),c)}function Xy(e,t,s){typeof t!="function"&&v("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var c=s!=null?s.concat([e]):null;return Uy(st,Br,yT.bind(null,t,e),c)}function FP(e,t){}var Yy=FP;function aS(e,t){var s=$s(),c=t===void 0?null:t;return s.memoizedState=[e,c],e}function Zy(e,t){var s=bo(),c=t===void 0?null:t,p=s.memoizedState;if(p!==null&&c!==null){var g=p[1];if(Wx(c,g))return p[0]}return s.memoizedState=[e,c],e}function iS(e,t){var s=$s(),c=t===void 0?null:t,p=e();return s.memoizedState=[p,c],p}function Jy(e,t){var s=bo(),c=t===void 0?null:t,p=s.memoizedState;if(p!==null&&c!==null){var g=p[1];if(Wx(c,g))return p[0]}var E=e();return s.memoizedState=[E,c],E}function oS(e){var t=$s();return t.memoizedState=e,e}function bT(e){var t=bo(),s=zr,c=s.memoizedState;return xT(t,c,e)}function CT(e){var t=bo();if(zr===null)return t.memoizedState=e,e;var s=zr.memoizedState;return xT(t,s,e)}function xT(e,t,s){var c=!Rg(Af);if(c){if(!rt(s,t)){var p=Ng();xn.lanes=Dt(xn.lanes,p),Zh(p),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Ph()),e.memoizedState=s,s}function VP(e,t,s){var c=gi();tr(vC(c,Go)),e(!0);var p=Nh.transition;Nh.transition={};var g=Nh.transition;Nh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(tr(c),Nh.transition=p,p===null&&g._updatedFibers){var E=g._updatedFibers.size;E>10&&h("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."),g._updatedFibers.clear()}}}function sS(){var e=zy(!1),t=e[0],s=e[1],c=VP.bind(null,s),p=$s();return p.memoizedState=c,[t,c]}function ST(){var e=Qx(),t=e[0],s=bo(),c=s.memoizedState;return[t,c]}function ET(){var e=Kx(),t=e[0],s=bo(),c=s.memoizedState;return[t,c]}var wT=!1;function BP(){return wT}function lS(){var e=$s(),t=mb(),s=t.identifierPrefix,c;if(sa()){var p=eP();c=":"+s+"R"+p;var g=Oh++;g>0&&(c+="H"+g.toString(32)),c+=":"}else{var E=MP++;c=":"+s+"r"+E.toString(32)+":"}return e.memoizedState=c,c}function qy(){var e=bo(),t=e.memoizedState;return t}function zP(e,t,s){typeof arguments[3]=="function"&&v("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 c=sc(e),p={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(RT(e))TT(t,p);else{var g=U1(e,t,p,c);if(g!==null){var E=Ka();Wr(g,e,c,E),IT(g,t,c)}}NT(e,c)}function HP(e,t,s){typeof arguments[3]=="function"&&v("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 c=sc(e),p={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(RT(e))TT(t,p);else{var g=e.alternate;if(e.lanes===Ee&&(g===null||g.lanes===Ee)){var E=t.lastRenderedReducer;if(E!==null){var I;I=Ze.current,Ze.current=es;try{var A=t.lastRenderedState,P=E(A,s);if(p.hasEagerState=!0,p.eagerState=P,rt(P,A)){CP(e,t,p,c);return}}catch{}finally{Ze.current=I}}}var B=U1(e,t,p,c);if(B!==null){var te=Ka();Wr(B,e,c,te),IT(B,t,c)}}NT(e,c)}function RT(e){var t=e.alternate;return e===xn||t!==null&&t===xn}function TT(e,t){_h=Vy=!0;var s=e.pending;s===null?t.next=t:(t.next=s.next,s.next=t),e.pending=t}function IT(e,t,s){if(Vv(s)){var c=t.lanes;c=Dd(c,e.pendingLanes);var p=Dt(c,s);t.lanes=p,Bv(e,p)}}function NT(e,t,s){gd(e,t)}var Qy={readContext:jr,useCallback:La,useContext:La,useEffect:La,useImperativeHandle:La,useInsertionEffect:La,useLayoutEffect:La,useMemo:La,useReducer:La,useRef:La,useState:La,useDebugValue:La,useDeferredValue:La,useTransition:La,useMutableSource:La,useSyncExternalStore:La,useId:La,unstable_isNewReconciler:_e},_T=null,OT=null,AT=null,jT=null,Gs=null,es=null,Ky=null;{var uS=function(){v("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().")},At=function(){v("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")};_T={readContext:function(e){return jr(e)},useCallback:function(e,t){return Ie="useCallback",dn(),xp(t),aS(e,t)},useContext:function(e){return Ie="useContext",dn(),jr(e)},useEffect:function(e,t){return Ie="useEffect",dn(),xp(t),$y(e,t)},useImperativeHandle:function(e,t,s){return Ie="useImperativeHandle",dn(),xp(s),rS(e,t,s)},useInsertionEffect:function(e,t){return Ie="useInsertionEffect",dn(),xp(t),tS(e,t)},useLayoutEffect:function(e,t){return Ie="useLayoutEffect",dn(),xp(t),nS(e,t)},useMemo:function(e,t){Ie="useMemo",dn(),xp(t);var s=Ze.current;Ze.current=Gs;try{return iS(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){Ie="useReducer",dn();var c=Ze.current;Ze.current=Gs;try{return Yx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return Ie="useRef",dn(),eS(e)},useState:function(e){Ie="useState",dn();var t=Ze.current;Ze.current=Gs;try{return zy(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return Ie="useDebugValue",dn(),void 0},useDeferredValue:function(e){return Ie="useDeferredValue",dn(),oS(e)},useTransition:function(){return Ie="useTransition",dn(),sS()},useMutableSource:function(e,t,s){return Ie="useMutableSource",dn(),void 0},useSyncExternalStore:function(e,t,s){return Ie="useSyncExternalStore",dn(),qx(e,t,s)},useId:function(){return Ie="useId",dn(),lS()},unstable_isNewReconciler:_e},OT={readContext:function(e){return jr(e)},useCallback:function(e,t){return Ie="useCallback",$e(),aS(e,t)},useContext:function(e){return Ie="useContext",$e(),jr(e)},useEffect:function(e,t){return Ie="useEffect",$e(),$y(e,t)},useImperativeHandle:function(e,t,s){return Ie="useImperativeHandle",$e(),rS(e,t,s)},useInsertionEffect:function(e,t){return Ie="useInsertionEffect",$e(),tS(e,t)},useLayoutEffect:function(e,t){return Ie="useLayoutEffect",$e(),nS(e,t)},useMemo:function(e,t){Ie="useMemo",$e();var s=Ze.current;Ze.current=Gs;try{return iS(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){Ie="useReducer",$e();var c=Ze.current;Ze.current=Gs;try{return Yx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return Ie="useRef",$e(),eS(e)},useState:function(e){Ie="useState",$e();var t=Ze.current;Ze.current=Gs;try{return zy(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return Ie="useDebugValue",$e(),void 0},useDeferredValue:function(e){return Ie="useDeferredValue",$e(),oS(e)},useTransition:function(){return Ie="useTransition",$e(),sS()},useMutableSource:function(e,t,s){return Ie="useMutableSource",$e(),void 0},useSyncExternalStore:function(e,t,s){return Ie="useSyncExternalStore",$e(),qx(e,t,s)},useId:function(){return Ie="useId",$e(),lS()},unstable_isNewReconciler:_e},AT={readContext:function(e){return jr(e)},useCallback:function(e,t){return Ie="useCallback",$e(),Zy(e,t)},useContext:function(e){return Ie="useContext",$e(),jr(e)},useEffect:function(e,t){return Ie="useEffect",$e(),Dh(e,t)},useImperativeHandle:function(e,t,s){return Ie="useImperativeHandle",$e(),Xy(e,t,s)},useInsertionEffect:function(e,t){return Ie="useInsertionEffect",$e(),Gy(e,t)},useLayoutEffect:function(e,t){return Ie="useLayoutEffect",$e(),Wy(e,t)},useMemo:function(e,t){Ie="useMemo",$e();var s=Ze.current;Ze.current=es;try{return Jy(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){Ie="useReducer",$e();var c=Ze.current;Ze.current=es;try{return Zx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return Ie="useRef",$e(),Hy()},useState:function(e){Ie="useState",$e();var t=Ze.current;Ze.current=es;try{return Qx(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return Ie="useDebugValue",$e(),Yy()},useDeferredValue:function(e){return Ie="useDeferredValue",$e(),bT(e)},useTransition:function(){return Ie="useTransition",$e(),ST()},useMutableSource:function(e,t,s){return Ie="useMutableSource",$e(),void 0},useSyncExternalStore:function(e,t,s){return Ie="useSyncExternalStore",$e(),By(e,t)},useId:function(){return Ie="useId",$e(),qy()},unstable_isNewReconciler:_e},jT={readContext:function(e){return jr(e)},useCallback:function(e,t){return Ie="useCallback",$e(),Zy(e,t)},useContext:function(e){return Ie="useContext",$e(),jr(e)},useEffect:function(e,t){return Ie="useEffect",$e(),Dh(e,t)},useImperativeHandle:function(e,t,s){return Ie="useImperativeHandle",$e(),Xy(e,t,s)},useInsertionEffect:function(e,t){return Ie="useInsertionEffect",$e(),Gy(e,t)},useLayoutEffect:function(e,t){return Ie="useLayoutEffect",$e(),Wy(e,t)},useMemo:function(e,t){Ie="useMemo",$e();var s=Ze.current;Ze.current=Ky;try{return Jy(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){Ie="useReducer",$e();var c=Ze.current;Ze.current=Ky;try{return Jx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return Ie="useRef",$e(),Hy()},useState:function(e){Ie="useState",$e();var t=Ze.current;Ze.current=Ky;try{return Kx(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return Ie="useDebugValue",$e(),Yy()},useDeferredValue:function(e){return Ie="useDeferredValue",$e(),CT(e)},useTransition:function(){return Ie="useTransition",$e(),ET()},useMutableSource:function(e,t,s){return Ie="useMutableSource",$e(),void 0},useSyncExternalStore:function(e,t,s){return Ie="useSyncExternalStore",$e(),By(e,t)},useId:function(){return Ie="useId",$e(),qy()},unstable_isNewReconciler:_e},Gs={readContext:function(e){return uS(),jr(e)},useCallback:function(e,t){return Ie="useCallback",At(),dn(),aS(e,t)},useContext:function(e){return Ie="useContext",At(),dn(),jr(e)},useEffect:function(e,t){return Ie="useEffect",At(),dn(),$y(e,t)},useImperativeHandle:function(e,t,s){return Ie="useImperativeHandle",At(),dn(),rS(e,t,s)},useInsertionEffect:function(e,t){return Ie="useInsertionEffect",At(),dn(),tS(e,t)},useLayoutEffect:function(e,t){return Ie="useLayoutEffect",At(),dn(),nS(e,t)},useMemo:function(e,t){Ie="useMemo",At(),dn();var s=Ze.current;Ze.current=Gs;try{return iS(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){Ie="useReducer",At(),dn();var c=Ze.current;Ze.current=Gs;try{return Yx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return Ie="useRef",At(),dn(),eS(e)},useState:function(e){Ie="useState",At(),dn();var t=Ze.current;Ze.current=Gs;try{return zy(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return Ie="useDebugValue",At(),dn(),void 0},useDeferredValue:function(e){return Ie="useDeferredValue",At(),dn(),oS(e)},useTransition:function(){return Ie="useTransition",At(),dn(),sS()},useMutableSource:function(e,t,s){return Ie="useMutableSource",At(),dn(),void 0},useSyncExternalStore:function(e,t,s){return Ie="useSyncExternalStore",At(),dn(),qx(e,t,s)},useId:function(){return Ie="useId",At(),dn(),lS()},unstable_isNewReconciler:_e},es={readContext:function(e){return uS(),jr(e)},useCallback:function(e,t){return Ie="useCallback",At(),$e(),Zy(e,t)},useContext:function(e){return Ie="useContext",At(),$e(),jr(e)},useEffect:function(e,t){return Ie="useEffect",At(),$e(),Dh(e,t)},useImperativeHandle:function(e,t,s){return Ie="useImperativeHandle",At(),$e(),Xy(e,t,s)},useInsertionEffect:function(e,t){return Ie="useInsertionEffect",At(),$e(),Gy(e,t)},useLayoutEffect:function(e,t){return Ie="useLayoutEffect",At(),$e(),Wy(e,t)},useMemo:function(e,t){Ie="useMemo",At(),$e();var s=Ze.current;Ze.current=es;try{return Jy(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){Ie="useReducer",At(),$e();var c=Ze.current;Ze.current=es;try{return Zx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return Ie="useRef",At(),$e(),Hy()},useState:function(e){Ie="useState",At(),$e();var t=Ze.current;Ze.current=es;try{return Qx(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return Ie="useDebugValue",At(),$e(),Yy()},useDeferredValue:function(e){return Ie="useDeferredValue",At(),$e(),bT(e)},useTransition:function(){return Ie="useTransition",At(),$e(),ST()},useMutableSource:function(e,t,s){return Ie="useMutableSource",At(),$e(),void 0},useSyncExternalStore:function(e,t,s){return Ie="useSyncExternalStore",At(),$e(),By(e,t)},useId:function(){return Ie="useId",At(),$e(),qy()},unstable_isNewReconciler:_e},Ky={readContext:function(e){return uS(),jr(e)},useCallback:function(e,t){return Ie="useCallback",At(),$e(),Zy(e,t)},useContext:function(e){return Ie="useContext",At(),$e(),jr(e)},useEffect:function(e,t){return Ie="useEffect",At(),$e(),Dh(e,t)},useImperativeHandle:function(e,t,s){return Ie="useImperativeHandle",At(),$e(),Xy(e,t,s)},useInsertionEffect:function(e,t){return Ie="useInsertionEffect",At(),$e(),Gy(e,t)},useLayoutEffect:function(e,t){return Ie="useLayoutEffect",At(),$e(),Wy(e,t)},useMemo:function(e,t){Ie="useMemo",At(),$e();var s=Ze.current;Ze.current=es;try{return Jy(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){Ie="useReducer",At(),$e();var c=Ze.current;Ze.current=es;try{return Jx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return Ie="useRef",At(),$e(),Hy()},useState:function(e){Ie="useState",At(),$e();var t=Ze.current;Ze.current=es;try{return Kx(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return Ie="useDebugValue",At(),$e(),Yy()},useDeferredValue:function(e){return Ie="useDeferredValue",At(),$e(),CT(e)},useTransition:function(){return Ie="useTransition",At(),$e(),ET()},useMutableSource:function(e,t,s){return Ie="useMutableSource",At(),$e(),void 0},useSyncExternalStore:function(e,t,s){return Ie="useSyncExternalStore",At(),$e(),By(e,t)},useId:function(){return Ie="useId",At(),$e(),qy()},unstable_isNewReconciler:_e}}var rc=i.unstable_now,DT=0,eb=-1,kh=-1,tb=-1,cS=!1,nb=!1;function kT(){return cS}function UP(){nb=!0}function $P(){cS=!1,nb=!1}function GP(){cS=nb,nb=!1}function MT(){return DT}function LT(){DT=rc()}function fS(e){kh=rc(),e.actualStartTime<0&&(e.actualStartTime=rc())}function PT(e){kh=-1}function rb(e,t){if(kh>=0){var s=rc()-kh;e.actualDuration+=s,t&&(e.selfBaseDuration=s),kh=-1}}function Ws(e){if(eb>=0){var t=rc()-eb;eb=-1;for(var s=e.return;s!==null;){switch(s.tag){case T:var c=s.stateNode;c.effectDuration+=t;return;case z:var p=s.stateNode;p.effectDuration+=t;return}s=s.return}}}function dS(e){if(tb>=0){var t=rc()-tb;tb=-1;for(var s=e.return;s!==null;){switch(s.tag){case T:var c=s.stateNode;c!==null&&(c.passiveEffectDuration+=t);return;case z:var p=s.stateNode;p!==null&&(p.passiveEffectDuration+=t);return}s=s.return}}}function Xs(){eb=rc()}function pS(){tb=rc()}function vS(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function jf(e,t){return{value:e,source:t,stack:ou(t),digest:null}}function hS(e,t,s){return{value:e,source:null,stack:s??null,digest:t??null}}function WP(e,t){return!0}function mS(e,t){try{var s=WP(e,t);if(s===!1)return;var c=t.value,p=t.source,g=t.stack,E=g!==null?g:"";if(c!=null&&c._suppressLogging){if(e.tag===x)return;console.error(c)}var I=p?Nt(p):null,A=I?"The above error occurred in the <"+I+"> component:":"The above error occurred in one of your React components:",P;if(e.tag===T)P=`Consider adding an error boundary to your tree to customize error handling behavior.
185
+ Incoming: %s`,Ie,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var s=0;s<t.length&&s<e.length;s++)if(!rt(e[s],t[s]))return!1;return!0}function Ep(e,t,s,c,p,g){jf=g,xn=t,yo=e!==null?e._debugHookTypes:null,rc=-1,Gx=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Ee,e!==null&&e.memoizedState!==null?Ze.current=AT:yo!==null?Ze.current=OT:Ze.current=_T;var E=s(c,p);if(_h){var I=0;do{if(_h=!1,Oh=0,I>=LP)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");I+=1,Gx=!1,zr=null,Hr=null,t.updateQueue=null,rc=-1,Ze.current=jT,E=s(c,p)}while(_h)}Ze.current=Qy,t._debugHookTypes=yo;var A=zr!==null&&zr.next!==null;if(jf=Ee,xn=null,zr=null,Hr=null,Ie=null,yo=null,rc=-1,e!==null&&(e.flags&Pr)!==(t.flags&Pr)&&(e.mode&ut)!==mt&&v("Internal React error: Expected static flag was missing. Please notify the React team."),Vy=!1,A)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return E}function wp(){var e=Oh!==0;return Oh=0,e}function cT(e,t,s){t.updateQueue=e.updateQueue,(t.mode&hi)!==mt?t.flags&=~(yl|di|wa|st):t.flags&=~(wa|st),e.lanes=uf(e.lanes,s)}function fT(){if(Ze.current=Qy,Vy){for(var e=xn.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Vy=!1}jf=Ee,xn=null,zr=null,Hr=null,yo=null,rc=-1,Ie=null,wT=!1,_h=!1,Oh=0}function Gs(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Hr===null?xn.memoizedState=Hr=e:Hr=Hr.next=e,Hr}function bo(){var e;if(zr===null){var t=xn.alternate;t!==null?e=t.memoizedState:e=null}else e=zr.next;var s;if(Hr===null?s=xn.memoizedState:s=Hr.next,s!==null)Hr=s,s=Hr.next,zr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");zr=e;var c={memoizedState:zr.memoizedState,baseState:zr.baseState,baseQueue:zr.baseQueue,queue:zr.queue,next:null};Hr===null?xn.memoizedState=Hr=c:Hr=Hr.next=c}return Hr}function dT(){return{lastEffect:null,stores:null}}function Xx(e,t){return typeof t=="function"?t(e):t}function Yx(e,t,s){var c=Gs(),p;s!==void 0?p=s(t):p=t,c.memoizedState=c.baseState=p;var g={pending:null,interleaved:null,lanes:Ee,dispatch:null,lastRenderedReducer:e,lastRenderedState:p};c.queue=g;var E=g.dispatch=zP.bind(null,xn,g);return[c.memoizedState,E]}function Zx(e,t,s){var c=bo(),p=c.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var g=zr,E=g.baseQueue,I=p.pending;if(I!==null){if(E!==null){var A=E.next,P=I.next;E.next=P,I.next=A}g.baseQueue!==E&&v("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),g.baseQueue=E=I,p.pending=null}if(E!==null){var B=E.next,te=g.baseState,K=null,ce=null,de=null,be=B;do{var qe=be.lane;if(Nl(jf,qe)){if(de!==null){var ct={lane:sr,action:be.action,hasEagerState:be.hasEagerState,eagerState:be.eagerState,next:null};de=de.next=ct}if(be.hasEagerState)te=be.eagerState;else{var Wt=be.action;te=e(te,Wt)}}else{var gt={lane:qe,action:be.action,hasEagerState:be.hasEagerState,eagerState:be.eagerState,next:null};de===null?(ce=de=gt,K=te):de=de.next=gt,xn.lanes=Dt(xn.lanes,qe),Zh(qe)}be=be.next}while(be!==null&&be!==B);de===null?K=te:de.next=ce,rt(te,c.memoizedState)||Ph(),c.memoizedState=te,c.baseState=K,c.baseQueue=de,p.lastRenderedState=te}var Ht=p.interleaved;if(Ht!==null){var ie=Ht;do{var Ce=ie.lane;xn.lanes=Dt(xn.lanes,Ce),Zh(Ce),ie=ie.next}while(ie!==Ht)}else E===null&&(p.lanes=Ee);var oe=p.dispatch;return[c.memoizedState,oe]}function Jx(e,t,s){var c=bo(),p=c.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var g=p.dispatch,E=p.pending,I=c.memoizedState;if(E!==null){p.pending=null;var A=E.next,P=A;do{var B=P.action;I=e(I,B),P=P.next}while(P!==A);rt(I,c.memoizedState)||Ph(),c.memoizedState=I,c.baseQueue===null&&(c.baseState=I),p.lastRenderedState=I}return[I,g]}function U8(e,t,s){}function $8(e,t,s){}function qx(e,t,s){var c=xn,p=Gs(),g,E=sa();if(E){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");g=s(),xp||g!==s()&&(v("The result of getServerSnapshot should be cached to avoid an infinite loop"),xp=!0)}else{if(g=t(),!xp){var I=t();rt(g,I)||(v("The result of getSnapshot should be cached to avoid an infinite loop"),xp=!0)}var A=mb();if(A===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");lf(A,jf)||pT(c,t,g)}p.memoizedState=g;var P={value:g,getSnapshot:t};return p.queue=P,$y(hT.bind(null,c,P,e),[e]),c.flags|=wa,Ah(Vr|la,vT.bind(null,c,P,g,t),void 0,null),g}function By(e,t,s){var c=xn,p=bo(),g=t();if(!xp){var E=t();rt(g,E)||(v("The result of getSnapshot should be cached to avoid an infinite loop"),xp=!0)}var I=p.memoizedState,A=!rt(I,g);A&&(p.memoizedState=g,Ph());var P=p.queue;if(Dh(hT.bind(null,c,P,e),[e]),P.getSnapshot!==t||A||Hr!==null&&Hr.memoizedState.tag&Vr){c.flags|=wa,Ah(Vr|la,vT.bind(null,c,P,g,t),void 0,null);var B=mb();if(B===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");lf(B,jf)||pT(c,t,g)}return g}function pT(e,t,s){e.flags|=gl;var c={getSnapshot:t,value:s},p=xn.updateQueue;if(p===null)p=dT(),xn.updateQueue=p,p.stores=[c];else{var g=p.stores;g===null?p.stores=[c]:g.push(c)}}function vT(e,t,s,c){t.value=s,t.getSnapshot=c,mT(t)&&gT(e)}function hT(e,t,s){var c=function(){mT(t)&&gT(e)};return s(c)}function mT(e){var t=e.getSnapshot,s=e.value;try{var c=t();return!rt(s,c)}catch{return!0}}function gT(e){var t=Ei(e,bt);t!==null&&Wr(t,e,bt,Mn)}function zy(e){var t=Gs();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var s={pending:null,interleaved:null,lanes:Ee,dispatch:null,lastRenderedReducer:Xx,lastRenderedState:e};t.queue=s;var c=s.dispatch=HP.bind(null,xn,s);return[t.memoizedState,c]}function Qx(e){return Zx(Xx)}function Kx(e){return Jx(Xx)}function Ah(e,t,s,c){var p={tag:e,create:t,destroy:s,deps:c,next:null},g=xn.updateQueue;if(g===null)g=dT(),xn.updateQueue=g,g.lastEffect=p.next=p;else{var E=g.lastEffect;if(E===null)g.lastEffect=p.next=p;else{var I=E.next;E.next=p,p.next=I,g.lastEffect=p}}return p}function eS(e){var t=Gs();{var s={current:e};return t.memoizedState=s,s}}function Hy(e){var t=bo();return t.memoizedState}function jh(e,t,s,c){var p=Gs(),g=c===void 0?null:c;xn.flags|=e,p.memoizedState=Ah(Vr|t,s,void 0,g)}function Uy(e,t,s,c){var p=bo(),g=c===void 0?null:c,E=void 0;if(zr!==null){var I=zr.memoizedState;if(E=I.destroy,g!==null){var A=I.deps;if(Wx(g,A)){p.memoizedState=Ah(t,s,E,g);return}}}xn.flags|=e,p.memoizedState=Ah(Vr|t,s,E,g)}function $y(e,t){return(xn.mode&hi)!==mt?jh(yl|wa|Ns,la,e,t):jh(wa|Ns,la,e,t)}function Dh(e,t){return Uy(wa,la,e,t)}function tS(e,t){return jh(st,$s,e,t)}function Gy(e,t){return Uy(st,$s,e,t)}function nS(e,t){var s=st;return s|=fi,(xn.mode&hi)!==mt&&(s|=di),jh(s,Br,e,t)}function Wy(e,t){return Uy(st,Br,e,t)}function yT(e,t){if(typeof t=="function"){var s=t,c=e();return s(c),function(){s(null)}}else if(t!=null){var p=t;p.hasOwnProperty("current")||v("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(p).join(", ")+"}");var g=e();return p.current=g,function(){p.current=null}}}function rS(e,t,s){typeof t!="function"&&v("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var c=s!=null?s.concat([e]):null,p=st;return p|=fi,(xn.mode&hi)!==mt&&(p|=di),jh(p,Br,yT.bind(null,t,e),c)}function Xy(e,t,s){typeof t!="function"&&v("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var c=s!=null?s.concat([e]):null;return Uy(st,Br,yT.bind(null,t,e),c)}function FP(e,t){}var Yy=FP;function aS(e,t){var s=Gs(),c=t===void 0?null:t;return s.memoizedState=[e,c],e}function Zy(e,t){var s=bo(),c=t===void 0?null:t,p=s.memoizedState;if(p!==null&&c!==null){var g=p[1];if(Wx(c,g))return p[0]}return s.memoizedState=[e,c],e}function iS(e,t){var s=Gs(),c=t===void 0?null:t,p=e();return s.memoizedState=[p,c],p}function Jy(e,t){var s=bo(),c=t===void 0?null:t,p=s.memoizedState;if(p!==null&&c!==null){var g=p[1];if(Wx(c,g))return p[0]}var E=e();return s.memoizedState=[E,c],E}function oS(e){var t=Gs();return t.memoizedState=e,e}function bT(e){var t=bo(),s=zr,c=s.memoizedState;return xT(t,c,e)}function CT(e){var t=bo();if(zr===null)return t.memoizedState=e,e;var s=zr.memoizedState;return xT(t,s,e)}function xT(e,t,s){var c=!Rg(jf);if(c){if(!rt(s,t)){var p=Ng();xn.lanes=Dt(xn.lanes,p),Zh(p),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Ph()),e.memoizedState=s,s}function VP(e,t,s){var c=gi();tr(vC(c,Wo)),e(!0);var p=Nh.transition;Nh.transition={};var g=Nh.transition;Nh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(tr(c),Nh.transition=p,p===null&&g._updatedFibers){var E=g._updatedFibers.size;E>10&&h("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."),g._updatedFibers.clear()}}}function sS(){var e=zy(!1),t=e[0],s=e[1],c=VP.bind(null,s),p=Gs();return p.memoizedState=c,[t,c]}function ST(){var e=Qx(),t=e[0],s=bo(),c=s.memoizedState;return[t,c]}function ET(){var e=Kx(),t=e[0],s=bo(),c=s.memoizedState;return[t,c]}var wT=!1;function BP(){return wT}function lS(){var e=Gs(),t=mb(),s=t.identifierPrefix,c;if(sa()){var p=eP();c=":"+s+"R"+p;var g=Oh++;g>0&&(c+="H"+g.toString(32)),c+=":"}else{var E=MP++;c=":"+s+"r"+E.toString(32)+":"}return e.memoizedState=c,c}function qy(){var e=bo(),t=e.memoizedState;return t}function zP(e,t,s){typeof arguments[3]=="function"&&v("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 c=lc(e),p={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(RT(e))TT(t,p);else{var g=U1(e,t,p,c);if(g!==null){var E=Ka();Wr(g,e,c,E),IT(g,t,c)}}NT(e,c)}function HP(e,t,s){typeof arguments[3]=="function"&&v("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 c=lc(e),p={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(RT(e))TT(t,p);else{var g=e.alternate;if(e.lanes===Ee&&(g===null||g.lanes===Ee)){var E=t.lastRenderedReducer;if(E!==null){var I;I=Ze.current,Ze.current=ts;try{var A=t.lastRenderedState,P=E(A,s);if(p.hasEagerState=!0,p.eagerState=P,rt(P,A)){CP(e,t,p,c);return}}catch{}finally{Ze.current=I}}}var B=U1(e,t,p,c);if(B!==null){var te=Ka();Wr(B,e,c,te),IT(B,t,c)}}NT(e,c)}function RT(e){var t=e.alternate;return e===xn||t!==null&&t===xn}function TT(e,t){_h=Vy=!0;var s=e.pending;s===null?t.next=t:(t.next=s.next,s.next=t),e.pending=t}function IT(e,t,s){if(Vv(s)){var c=t.lanes;c=kd(c,e.pendingLanes);var p=Dt(c,s);t.lanes=p,Bv(e,p)}}function NT(e,t,s){yd(e,t)}var Qy={readContext:jr,useCallback:La,useContext:La,useEffect:La,useImperativeHandle:La,useInsertionEffect:La,useLayoutEffect:La,useMemo:La,useReducer:La,useRef:La,useState:La,useDebugValue:La,useDeferredValue:La,useTransition:La,useMutableSource:La,useSyncExternalStore:La,useId:La,unstable_isNewReconciler:_e},_T=null,OT=null,AT=null,jT=null,Ws=null,ts=null,Ky=null;{var uS=function(){v("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().")},At=function(){v("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")};_T={readContext:function(e){return jr(e)},useCallback:function(e,t){return Ie="useCallback",dn(),Sp(t),aS(e,t)},useContext:function(e){return Ie="useContext",dn(),jr(e)},useEffect:function(e,t){return Ie="useEffect",dn(),Sp(t),$y(e,t)},useImperativeHandle:function(e,t,s){return Ie="useImperativeHandle",dn(),Sp(s),rS(e,t,s)},useInsertionEffect:function(e,t){return Ie="useInsertionEffect",dn(),Sp(t),tS(e,t)},useLayoutEffect:function(e,t){return Ie="useLayoutEffect",dn(),Sp(t),nS(e,t)},useMemo:function(e,t){Ie="useMemo",dn(),Sp(t);var s=Ze.current;Ze.current=Ws;try{return iS(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){Ie="useReducer",dn();var c=Ze.current;Ze.current=Ws;try{return Yx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return Ie="useRef",dn(),eS(e)},useState:function(e){Ie="useState",dn();var t=Ze.current;Ze.current=Ws;try{return zy(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return Ie="useDebugValue",dn(),void 0},useDeferredValue:function(e){return Ie="useDeferredValue",dn(),oS(e)},useTransition:function(){return Ie="useTransition",dn(),sS()},useMutableSource:function(e,t,s){return Ie="useMutableSource",dn(),void 0},useSyncExternalStore:function(e,t,s){return Ie="useSyncExternalStore",dn(),qx(e,t,s)},useId:function(){return Ie="useId",dn(),lS()},unstable_isNewReconciler:_e},OT={readContext:function(e){return jr(e)},useCallback:function(e,t){return Ie="useCallback",$e(),aS(e,t)},useContext:function(e){return Ie="useContext",$e(),jr(e)},useEffect:function(e,t){return Ie="useEffect",$e(),$y(e,t)},useImperativeHandle:function(e,t,s){return Ie="useImperativeHandle",$e(),rS(e,t,s)},useInsertionEffect:function(e,t){return Ie="useInsertionEffect",$e(),tS(e,t)},useLayoutEffect:function(e,t){return Ie="useLayoutEffect",$e(),nS(e,t)},useMemo:function(e,t){Ie="useMemo",$e();var s=Ze.current;Ze.current=Ws;try{return iS(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){Ie="useReducer",$e();var c=Ze.current;Ze.current=Ws;try{return Yx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return Ie="useRef",$e(),eS(e)},useState:function(e){Ie="useState",$e();var t=Ze.current;Ze.current=Ws;try{return zy(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return Ie="useDebugValue",$e(),void 0},useDeferredValue:function(e){return Ie="useDeferredValue",$e(),oS(e)},useTransition:function(){return Ie="useTransition",$e(),sS()},useMutableSource:function(e,t,s){return Ie="useMutableSource",$e(),void 0},useSyncExternalStore:function(e,t,s){return Ie="useSyncExternalStore",$e(),qx(e,t,s)},useId:function(){return Ie="useId",$e(),lS()},unstable_isNewReconciler:_e},AT={readContext:function(e){return jr(e)},useCallback:function(e,t){return Ie="useCallback",$e(),Zy(e,t)},useContext:function(e){return Ie="useContext",$e(),jr(e)},useEffect:function(e,t){return Ie="useEffect",$e(),Dh(e,t)},useImperativeHandle:function(e,t,s){return Ie="useImperativeHandle",$e(),Xy(e,t,s)},useInsertionEffect:function(e,t){return Ie="useInsertionEffect",$e(),Gy(e,t)},useLayoutEffect:function(e,t){return Ie="useLayoutEffect",$e(),Wy(e,t)},useMemo:function(e,t){Ie="useMemo",$e();var s=Ze.current;Ze.current=ts;try{return Jy(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){Ie="useReducer",$e();var c=Ze.current;Ze.current=ts;try{return Zx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return Ie="useRef",$e(),Hy()},useState:function(e){Ie="useState",$e();var t=Ze.current;Ze.current=ts;try{return Qx(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return Ie="useDebugValue",$e(),Yy()},useDeferredValue:function(e){return Ie="useDeferredValue",$e(),bT(e)},useTransition:function(){return Ie="useTransition",$e(),ST()},useMutableSource:function(e,t,s){return Ie="useMutableSource",$e(),void 0},useSyncExternalStore:function(e,t,s){return Ie="useSyncExternalStore",$e(),By(e,t)},useId:function(){return Ie="useId",$e(),qy()},unstable_isNewReconciler:_e},jT={readContext:function(e){return jr(e)},useCallback:function(e,t){return Ie="useCallback",$e(),Zy(e,t)},useContext:function(e){return Ie="useContext",$e(),jr(e)},useEffect:function(e,t){return Ie="useEffect",$e(),Dh(e,t)},useImperativeHandle:function(e,t,s){return Ie="useImperativeHandle",$e(),Xy(e,t,s)},useInsertionEffect:function(e,t){return Ie="useInsertionEffect",$e(),Gy(e,t)},useLayoutEffect:function(e,t){return Ie="useLayoutEffect",$e(),Wy(e,t)},useMemo:function(e,t){Ie="useMemo",$e();var s=Ze.current;Ze.current=Ky;try{return Jy(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){Ie="useReducer",$e();var c=Ze.current;Ze.current=Ky;try{return Jx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return Ie="useRef",$e(),Hy()},useState:function(e){Ie="useState",$e();var t=Ze.current;Ze.current=Ky;try{return Kx(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return Ie="useDebugValue",$e(),Yy()},useDeferredValue:function(e){return Ie="useDeferredValue",$e(),CT(e)},useTransition:function(){return Ie="useTransition",$e(),ET()},useMutableSource:function(e,t,s){return Ie="useMutableSource",$e(),void 0},useSyncExternalStore:function(e,t,s){return Ie="useSyncExternalStore",$e(),By(e,t)},useId:function(){return Ie="useId",$e(),qy()},unstable_isNewReconciler:_e},Ws={readContext:function(e){return uS(),jr(e)},useCallback:function(e,t){return Ie="useCallback",At(),dn(),aS(e,t)},useContext:function(e){return Ie="useContext",At(),dn(),jr(e)},useEffect:function(e,t){return Ie="useEffect",At(),dn(),$y(e,t)},useImperativeHandle:function(e,t,s){return Ie="useImperativeHandle",At(),dn(),rS(e,t,s)},useInsertionEffect:function(e,t){return Ie="useInsertionEffect",At(),dn(),tS(e,t)},useLayoutEffect:function(e,t){return Ie="useLayoutEffect",At(),dn(),nS(e,t)},useMemo:function(e,t){Ie="useMemo",At(),dn();var s=Ze.current;Ze.current=Ws;try{return iS(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){Ie="useReducer",At(),dn();var c=Ze.current;Ze.current=Ws;try{return Yx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return Ie="useRef",At(),dn(),eS(e)},useState:function(e){Ie="useState",At(),dn();var t=Ze.current;Ze.current=Ws;try{return zy(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return Ie="useDebugValue",At(),dn(),void 0},useDeferredValue:function(e){return Ie="useDeferredValue",At(),dn(),oS(e)},useTransition:function(){return Ie="useTransition",At(),dn(),sS()},useMutableSource:function(e,t,s){return Ie="useMutableSource",At(),dn(),void 0},useSyncExternalStore:function(e,t,s){return Ie="useSyncExternalStore",At(),dn(),qx(e,t,s)},useId:function(){return Ie="useId",At(),dn(),lS()},unstable_isNewReconciler:_e},ts={readContext:function(e){return uS(),jr(e)},useCallback:function(e,t){return Ie="useCallback",At(),$e(),Zy(e,t)},useContext:function(e){return Ie="useContext",At(),$e(),jr(e)},useEffect:function(e,t){return Ie="useEffect",At(),$e(),Dh(e,t)},useImperativeHandle:function(e,t,s){return Ie="useImperativeHandle",At(),$e(),Xy(e,t,s)},useInsertionEffect:function(e,t){return Ie="useInsertionEffect",At(),$e(),Gy(e,t)},useLayoutEffect:function(e,t){return Ie="useLayoutEffect",At(),$e(),Wy(e,t)},useMemo:function(e,t){Ie="useMemo",At(),$e();var s=Ze.current;Ze.current=ts;try{return Jy(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){Ie="useReducer",At(),$e();var c=Ze.current;Ze.current=ts;try{return Zx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return Ie="useRef",At(),$e(),Hy()},useState:function(e){Ie="useState",At(),$e();var t=Ze.current;Ze.current=ts;try{return Qx(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return Ie="useDebugValue",At(),$e(),Yy()},useDeferredValue:function(e){return Ie="useDeferredValue",At(),$e(),bT(e)},useTransition:function(){return Ie="useTransition",At(),$e(),ST()},useMutableSource:function(e,t,s){return Ie="useMutableSource",At(),$e(),void 0},useSyncExternalStore:function(e,t,s){return Ie="useSyncExternalStore",At(),$e(),By(e,t)},useId:function(){return Ie="useId",At(),$e(),qy()},unstable_isNewReconciler:_e},Ky={readContext:function(e){return uS(),jr(e)},useCallback:function(e,t){return Ie="useCallback",At(),$e(),Zy(e,t)},useContext:function(e){return Ie="useContext",At(),$e(),jr(e)},useEffect:function(e,t){return Ie="useEffect",At(),$e(),Dh(e,t)},useImperativeHandle:function(e,t,s){return Ie="useImperativeHandle",At(),$e(),Xy(e,t,s)},useInsertionEffect:function(e,t){return Ie="useInsertionEffect",At(),$e(),Gy(e,t)},useLayoutEffect:function(e,t){return Ie="useLayoutEffect",At(),$e(),Wy(e,t)},useMemo:function(e,t){Ie="useMemo",At(),$e();var s=Ze.current;Ze.current=ts;try{return Jy(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){Ie="useReducer",At(),$e();var c=Ze.current;Ze.current=ts;try{return Jx(e,t,s)}finally{Ze.current=c}},useRef:function(e){return Ie="useRef",At(),$e(),Hy()},useState:function(e){Ie="useState",At(),$e();var t=Ze.current;Ze.current=ts;try{return Kx(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return Ie="useDebugValue",At(),$e(),Yy()},useDeferredValue:function(e){return Ie="useDeferredValue",At(),$e(),CT(e)},useTransition:function(){return Ie="useTransition",At(),$e(),ET()},useMutableSource:function(e,t,s){return Ie="useMutableSource",At(),$e(),void 0},useSyncExternalStore:function(e,t,s){return Ie="useSyncExternalStore",At(),$e(),By(e,t)},useId:function(){return Ie="useId",At(),$e(),qy()},unstable_isNewReconciler:_e}}var ac=i.unstable_now,DT=0,eb=-1,kh=-1,tb=-1,cS=!1,nb=!1;function kT(){return cS}function UP(){nb=!0}function $P(){cS=!1,nb=!1}function GP(){cS=nb,nb=!1}function MT(){return DT}function LT(){DT=ac()}function fS(e){kh=ac(),e.actualStartTime<0&&(e.actualStartTime=ac())}function PT(e){kh=-1}function rb(e,t){if(kh>=0){var s=ac()-kh;e.actualDuration+=s,t&&(e.selfBaseDuration=s),kh=-1}}function Xs(e){if(eb>=0){var t=ac()-eb;eb=-1;for(var s=e.return;s!==null;){switch(s.tag){case T:var c=s.stateNode;c.effectDuration+=t;return;case z:var p=s.stateNode;p.effectDuration+=t;return}s=s.return}}}function dS(e){if(tb>=0){var t=ac()-tb;tb=-1;for(var s=e.return;s!==null;){switch(s.tag){case T:var c=s.stateNode;c!==null&&(c.passiveEffectDuration+=t);return;case z:var p=s.stateNode;p!==null&&(p.passiveEffectDuration+=t);return}s=s.return}}}function Ys(){eb=ac()}function pS(){tb=ac()}function vS(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Df(e,t){return{value:e,source:t,stack:su(t),digest:null}}function hS(e,t,s){return{value:e,source:null,stack:s??null,digest:t??null}}function WP(e,t){return!0}function mS(e,t){try{var s=WP(e,t);if(s===!1)return;var c=t.value,p=t.source,g=t.stack,E=g!==null?g:"";if(c!=null&&c._suppressLogging){if(e.tag===x)return;console.error(c)}var I=p?Nt(p):null,A=I?"The above error occurred in the <"+I+"> component:":"The above error occurred in one of your React components:",P;if(e.tag===T)P=`Consider adding an error boundary to your tree to customize error handling behavior.
186
186
  Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var B=Nt(e)||"Anonymous";P="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+B+".")}var te=A+`
187
187
  `+E+`
188
188
 
189
- `+(""+P);console.error(te)}catch(K){setTimeout(function(){throw K})}}var XP=typeof WeakMap=="function"?WeakMap:Map;function FT(e,t,s){var c=Bl(Mn,s);c.tag=mx,c.payload={element:null};var p=t.value;return c.callback=function(){VV(p),mS(e,t)},c}function gS(e,t,s){var c=Bl(Mn,s);c.tag=mx;var p=e.type.getDerivedStateFromError;if(typeof p=="function"){var g=t.value;c.payload=function(){return p(g)},c.callback=function(){ZI(e),mS(e,t)}}var E=e.stateNode;return E!==null&&typeof E.componentDidCatch=="function"&&(c.callback=function(){ZI(e),mS(e,t),typeof p!="function"&&PV(this);var A=t.value,P=t.stack;this.componentDidCatch(A,{componentStack:P!==null?P:""}),typeof p!="function"&&(ja(e.lanes,bt)||v("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Nt(e)||"Unknown"))}),c}function VT(e,t,s){var c=e.pingCache,p;if(c===null?(c=e.pingCache=new XP,p=new Set,c.set(t,p)):(p=c.get(t),p===void 0&&(p=new Set,c.set(t,p))),!p.has(s)){p.add(s);var g=BV.bind(null,e,t,s);Za&&Jh(e,s),t.then(g,g)}}function YP(e,t,s,c){var p=e.updateQueue;if(p===null){var g=new Set;g.add(s),e.updateQueue=g}else p.add(s)}function ZP(e,t){var s=e.tag;if((e.mode&ut)===mt&&(s===C||s===H||s===q)){var c=e.alternate;c?(e.updateQueue=c.updateQueue,e.memoizedState=c.memoizedState,e.lanes=c.lanes):(e.updateQueue=null,e.memoizedState=null)}}function BT(e){var t=e;do{if(t.tag===U&&DP(t))return t;t=t.return}while(t!==null);return null}function zT(e,t,s,c,p){if((e.mode&ut)===mt){if(e===t)e.flags|=Lr;else{if(e.flags|=Ot,s.flags|=cd,s.flags&=~(fg|Ts),s.tag===x){var g=s.alternate;if(g===null)s.tag=he;else{var E=Bl(Mn,bt);E.tag=Iy,Ku(s,E,bt)}}s.lanes=Dt(s.lanes,bt)}return e}return e.flags|=Lr,e.lanes=p,e}function JP(e,t,s,c,p){if(s.flags|=Ts,Za&&Jh(e,p),c!==null&&typeof c=="object"&&typeof c.then=="function"){var g=c;ZP(s),sa()&&s.mode&ut&&A1();var E=BT(t);if(E!==null){E.flags&=~aa,zT(E,t,s,e,p),E.mode&ut&&VT(e,g,p),YP(E,e,g);return}else{if(!Fv(p)){VT(e,g,p),JS();return}var I=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.");c=I}}else if(sa()&&s.mode&ut){A1();var A=BT(t);if(A!==null){(A.flags&Lr)===ht&&(A.flags|=aa),zT(A,t,s,e,p),ux(jf(c,s));return}}c=jf(c,s),_V(c);var P=t;do{switch(P.tag){case T:{var B=c;P.flags|=Lr;var te=Ou(p);P.lanes=Dt(P.lanes,te);var K=FT(P,B,te);bx(P,K);return}case x:var ce=c,de=P.type,be=P.stateNode;if((P.flags&Ot)===ht&&(typeof de.getDerivedStateFromError=="function"||be!==null&&typeof be.componentDidCatch=="function"&&!BI(be))){P.flags|=Lr;var qe=Ou(p);P.lanes=Dt(P.lanes,qe);var gt=gS(P,ce,qe);bx(P,gt);return}break}P=P.return}while(P!==null)}function qP(){return null}var Mh=u.ReactCurrentOwner,ts=!1,yS,Lh,bS,CS,xS,Df,SS,ab;yS={},Lh={},bS={},CS={},xS={},Df=!1,SS={},ab={};function qa(e,t,s,c){e===null?t.child=iT(t,null,s,c):t.child=mp(t,e.child,s,c)}function QP(e,t,s,c){t.child=mp(t,e.child,null,c),t.child=mp(t,null,s,c)}function HT(e,t,s,c,p){if(t.type!==t.elementType){var g=s.propTypes;g&&Zo(g,c,"prop",Yt(s))}var E=s.render,I=t.ref,A,P;hp(t,p),Su(t);{if(Mh.current=t,Mr(!0),A=Sp(e,t,E,c,I,p),P=Ep(),t.mode&Kn){kn(!0);try{A=Sp(e,t,E,c,I,p),P=Ep()}finally{kn(!1)}}Mr(!1)}return bl(),e!==null&&!ts?(cT(e,t,p),zl(e,t,p)):(sa()&&P&&rx(t),t.flags|=Hi,qa(e,t,A,p),t.child)}function UT(e,t,s,c,p){if(e===null){var g=s.type;if(rB(g)&&s.compare===null&&s.defaultProps===void 0){var E=g;return E=Ap(g),t.tag=q,t.type=E,RS(t,g),$T(e,t,E,c,p)}{var I=g.propTypes;I&&Zo(I,c,"prop",Yt(g))}var A=sE(s.type,null,c,t,t.mode,p);return A.ref=t.ref,A.return=t,t.child=A,A}{var P=s.type,B=P.propTypes;B&&Zo(B,c,"prop",Yt(P))}var te=e.child,K=AS(e,p);if(!K){var ce=te.memoizedProps,de=s.compare;if(de=de!==null?de:St,de(ce,c)&&e.ref===t.ref)return zl(e,t,p)}t.flags|=Hi;var be=Ff(te,c);return be.ref=t.ref,be.return=t,t.child=be,be}function $T(e,t,s,c,p){if(t.type!==t.elementType){var g=t.elementType;if(g.$$typeof===vt){var E=g,I=E._payload,A=E._init;try{g=A(I)}catch{g=null}var P=g&&g.propTypes;P&&Zo(P,c,"prop",Yt(g))}}if(e!==null){var B=e.memoizedProps;if(St(B,c)&&e.ref===t.ref&&t.type===e.type)if(ts=!1,t.pendingProps=c=B,AS(e,p))(e.flags&cd)!==ht&&(ts=!0);else return t.lanes=e.lanes,zl(e,t,p)}return ES(e,t,s,c,p)}function GT(e,t,s){var c=t.pendingProps,p=c.children,g=e!==null?e.memoizedState:null;if(c.mode==="hidden"||Y)if((t.mode&ut)===mt){var E={baseLanes:Ee,cachePool:null,transitions:null};t.memoizedState=E,gb(t,s)}else if(ja(s,Ja)){var te={baseLanes:Ee,cachePool:null,transitions:null};t.memoizedState=te;var K=g!==null?g.baseLanes:s;gb(t,K)}else{var I=null,A;if(g!==null){var P=g.baseLanes;A=Dt(P,s)}else A=s;t.lanes=t.childLanes=Ja;var B={baseLanes:A,cachePool:I,transitions:null};return t.memoizedState=B,t.updateQueue=null,gb(t,A),null}else{var ce;g!==null?(ce=Dt(g.baseLanes,s),t.memoizedState=null):ce=s,gb(t,ce)}return qa(e,t,p,s),t.child}function KP(e,t,s){var c=t.pendingProps;return qa(e,t,c,s),t.child}function eF(e,t,s){var c=t.pendingProps.children;return qa(e,t,c,s),t.child}function tF(e,t,s){{t.flags|=st;{var c=t.stateNode;c.effectDuration=0,c.passiveEffectDuration=0}}var p=t.pendingProps,g=p.children;return qa(e,t,g,s),t.child}function WT(e,t){var s=t.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(t.flags|=Wa,t.flags|=oo)}function ES(e,t,s,c,p){if(t.type!==t.elementType){var g=s.propTypes;g&&Zo(g,c,"prop",Yt(s))}var E;{var I=up(t,s,!0);E=cp(t,I)}var A,P;hp(t,p),Su(t);{if(Mh.current=t,Mr(!0),A=Sp(e,t,s,c,E,p),P=Ep(),t.mode&Kn){kn(!0);try{A=Sp(e,t,s,c,E,p),P=Ep()}finally{kn(!1)}}Mr(!1)}return bl(),e!==null&&!ts?(cT(e,t,p),zl(e,t,p)):(sa()&&P&&rx(t),t.flags|=Hi,qa(e,t,A,p),t.child)}function XT(e,t,s,c,p){{switch(yB(t)){case!1:{var g=t.stateNode,E=t.type,I=new E(t.memoizedProps,g.context),A=I.state;g.updater.enqueueSetState(g,A,null);break}case!0:{t.flags|=Ot,t.flags|=Lr;var P=new Error("Simulated error coming from DevTools"),B=Ou(p);t.lanes=Dt(t.lanes,B);var te=gS(t,jf(P,t),B);bx(t,te);break}}if(t.type!==t.elementType){var K=s.propTypes;K&&Zo(K,c,"prop",Yt(s))}}var ce;Hs(s)?(ce=!0,my(t)):ce=!1,hp(t,p);var de=t.stateNode,be;de===null?(ob(e,t),eT(t,s,c),Ax(t,s,c,p),be=!0):e===null?be=IP(t,s,c,p):be=NP(e,t,s,c,p);var qe=wS(e,t,s,be,ce,p);{var gt=t.stateNode;be&&gt.props!==c&&(Df||v("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Nt(t)||"a component"),Df=!0)}return qe}function wS(e,t,s,c,p,g){WT(e,t);var E=(t.flags&Ot)!==ht;if(!c&&!E)return p&&I1(t,s,!1),zl(e,t,g);var I=t.stateNode;Mh.current=t;var A;if(E&&typeof s.getDerivedStateFromError!="function")A=null,PT();else{Su(t);{if(Mr(!0),A=I.render(),t.mode&Kn){kn(!0);try{I.render()}finally{kn(!1)}}Mr(!1)}bl()}return t.flags|=Hi,e!==null&&E?QP(e,t,A,g):qa(e,t,A,g),t.memoizedState=I.state,p&&I1(t,s,!0),t.child}function YT(e){var t=e.stateNode;t.pendingContext?R1(e,t.pendingContext,t.pendingContext!==t.context):t.context&&R1(e,t.context,!1),Px(e,t.containerInfo)}function nF(e,t,s){if(YT(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var c=t.pendingProps,p=t.memoizedState,g=p.element;W1(e,t),Ay(t,c,null,s);var E=t.memoizedState;t.stateNode;var I=E.element;if(p.isDehydrated){var A={element:I,isDehydrated:!1,cache:E.cache,pendingSuspenseBoundaries:E.pendingSuspenseBoundaries,transitions:E.transitions},P=t.updateQueue;if(P.baseState=A,t.memoizedState=A,t.flags&aa){var B=jf(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 ZT(e,t,I,s,B)}else if(I!==g){var te=jf(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return ZT(e,t,I,s,te)}else{oP(t);var K=iT(t,null,I,s);t.child=K;for(var ce=K;ce;)ce.flags=ce.flags&~In|io,ce=ce.sibling}}else{if(pp(),I===g)return zl(e,t,s);qa(e,t,I,s)}return t.child}function ZT(e,t,s,c,p){return pp(),ux(p),t.flags|=aa,qa(e,t,s,c),t.child}function rF(e,t,s){sT(t),e===null&&lx(t);var c=t.type,p=t.pendingProps,g=e!==null?e.memoizedProps:null,E=p.children,I=UC(c,p);return I?E=null:g!==null&&UC(c,g)&&(t.flags|=ci),WT(e,t),qa(e,t,E,s),t.child}function aF(e,t){return e===null&&lx(t),null}function iF(e,t,s,c){ob(e,t);var p=t.pendingProps,g=s,E=g._payload,I=g._init,A=I(E);t.type=A;var P=t.tag=aB(A),B=Qo(A,p),te;switch(P){case C:return RS(t,A),t.type=A=Ap(A),te=ES(null,t,A,B,c),te;case x:return t.type=A=tE(A),te=XT(null,t,A,B,c),te;case H:return t.type=A=nE(A),te=HT(null,t,A,B,c),te;case J:{if(t.type!==t.elementType){var K=A.propTypes;K&&Zo(K,B,"prop",Yt(A))}return te=UT(null,t,A,Qo(A.type,B),c),te}}var ce="";throw A!==null&&typeof A=="object"&&A.$$typeof===vt&&(ce=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+A+". "+("Lazy element type must resolve to a class or function."+ce))}function oF(e,t,s,c,p){ob(e,t),t.tag=x;var g;return Hs(s)?(g=!0,my(t)):g=!1,hp(t,p),eT(t,s,c),Ax(t,s,c,p),wS(null,t,s,!0,g,p)}function sF(e,t,s,c){ob(e,t);var p=t.pendingProps,g;{var E=up(t,s,!1);g=cp(t,E)}hp(t,c);var I,A;Su(t);{if(s.prototype&&typeof s.prototype.render=="function"){var P=Yt(s)||"Unknown";yS[P]||(v("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.",P,P),yS[P]=!0)}t.mode&Kn&&qo.recordLegacyContextWarning(t,null),Mr(!0),Mh.current=t,I=Sp(null,t,s,p,g,c),A=Ep(),Mr(!1)}if(bl(),t.flags|=Hi,typeof I=="object"&&I!==null&&typeof I.render=="function"&&I.$$typeof===void 0){var B=Yt(s)||"Unknown";Lh[B]||(v("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",B,B,B),Lh[B]=!0)}if(typeof I=="object"&&I!==null&&typeof I.render=="function"&&I.$$typeof===void 0){{var te=Yt(s)||"Unknown";Lh[te]||(v("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.",te,te,te),Lh[te]=!0)}t.tag=x,t.memoizedState=null,t.updateQueue=null;var K=!1;return Hs(s)?(K=!0,my(t)):K=!1,t.memoizedState=I.state!==null&&I.state!==void 0?I.state:null,yx(t),K1(t,I),Ax(t,s,p,c),wS(null,t,s,!0,K,c)}else{if(t.tag=C,t.mode&Kn){kn(!0);try{I=Sp(null,t,s,p,g,c),A=Ep()}finally{kn(!1)}}return sa()&&A&&rx(t),qa(null,t,I,c),RS(t,s),t.child}}function RS(e,t){{if(t&&t.childContextTypes&&v("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var s="",c=si();c&&(s+=`
189
+ `+(""+P);console.error(te)}catch(K){setTimeout(function(){throw K})}}var XP=typeof WeakMap=="function"?WeakMap:Map;function FT(e,t,s){var c=zl(Mn,s);c.tag=mx,c.payload={element:null};var p=t.value;return c.callback=function(){VV(p),mS(e,t)},c}function gS(e,t,s){var c=zl(Mn,s);c.tag=mx;var p=e.type.getDerivedStateFromError;if(typeof p=="function"){var g=t.value;c.payload=function(){return p(g)},c.callback=function(){ZI(e),mS(e,t)}}var E=e.stateNode;return E!==null&&typeof E.componentDidCatch=="function"&&(c.callback=function(){ZI(e),mS(e,t),typeof p!="function"&&PV(this);var A=t.value,P=t.stack;this.componentDidCatch(A,{componentStack:P!==null?P:""}),typeof p!="function"&&(ja(e.lanes,bt)||v("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Nt(e)||"Unknown"))}),c}function VT(e,t,s){var c=e.pingCache,p;if(c===null?(c=e.pingCache=new XP,p=new Set,c.set(t,p)):(p=c.get(t),p===void 0&&(p=new Set,c.set(t,p))),!p.has(s)){p.add(s);var g=BV.bind(null,e,t,s);Za&&Jh(e,s),t.then(g,g)}}function YP(e,t,s,c){var p=e.updateQueue;if(p===null){var g=new Set;g.add(s),e.updateQueue=g}else p.add(s)}function ZP(e,t){var s=e.tag;if((e.mode&ut)===mt&&(s===C||s===H||s===q)){var c=e.alternate;c?(e.updateQueue=c.updateQueue,e.memoizedState=c.memoizedState,e.lanes=c.lanes):(e.updateQueue=null,e.memoizedState=null)}}function BT(e){var t=e;do{if(t.tag===U&&DP(t))return t;t=t.return}while(t!==null);return null}function zT(e,t,s,c,p){if((e.mode&ut)===mt){if(e===t)e.flags|=Lr;else{if(e.flags|=Ot,s.flags|=fd,s.flags&=~(fg|Is),s.tag===x){var g=s.alternate;if(g===null)s.tag=he;else{var E=zl(Mn,bt);E.tag=Iy,ec(s,E,bt)}}s.lanes=Dt(s.lanes,bt)}return e}return e.flags|=Lr,e.lanes=p,e}function JP(e,t,s,c,p){if(s.flags|=Is,Za&&Jh(e,p),c!==null&&typeof c=="object"&&typeof c.then=="function"){var g=c;ZP(s),sa()&&s.mode&ut&&A1();var E=BT(t);if(E!==null){E.flags&=~aa,zT(E,t,s,e,p),E.mode&ut&&VT(e,g,p),YP(E,e,g);return}else{if(!Fv(p)){VT(e,g,p),JS();return}var I=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.");c=I}}else if(sa()&&s.mode&ut){A1();var A=BT(t);if(A!==null){(A.flags&Lr)===ht&&(A.flags|=aa),zT(A,t,s,e,p),ux(Df(c,s));return}}c=Df(c,s),_V(c);var P=t;do{switch(P.tag){case T:{var B=c;P.flags|=Lr;var te=Au(p);P.lanes=Dt(P.lanes,te);var K=FT(P,B,te);bx(P,K);return}case x:var ce=c,de=P.type,be=P.stateNode;if((P.flags&Ot)===ht&&(typeof de.getDerivedStateFromError=="function"||be!==null&&typeof be.componentDidCatch=="function"&&!BI(be))){P.flags|=Lr;var qe=Au(p);P.lanes=Dt(P.lanes,qe);var gt=gS(P,ce,qe);bx(P,gt);return}break}P=P.return}while(P!==null)}function qP(){return null}var Mh=u.ReactCurrentOwner,ns=!1,yS,Lh,bS,CS,xS,kf,SS,ab;yS={},Lh={},bS={},CS={},xS={},kf=!1,SS={},ab={};function qa(e,t,s,c){e===null?t.child=iT(t,null,s,c):t.child=gp(t,e.child,s,c)}function QP(e,t,s,c){t.child=gp(t,e.child,null,c),t.child=gp(t,null,s,c)}function HT(e,t,s,c,p){if(t.type!==t.elementType){var g=s.propTypes;g&&Jo(g,c,"prop",Yt(s))}var E=s.render,I=t.ref,A,P;mp(t,p),Eu(t);{if(Mh.current=t,Mr(!0),A=Ep(e,t,E,c,I,p),P=wp(),t.mode&Kn){kn(!0);try{A=Ep(e,t,E,c,I,p),P=wp()}finally{kn(!1)}}Mr(!1)}return Cl(),e!==null&&!ns?(cT(e,t,p),Hl(e,t,p)):(sa()&&P&&rx(t),t.flags|=Hi,qa(e,t,A,p),t.child)}function UT(e,t,s,c,p){if(e===null){var g=s.type;if(rB(g)&&s.compare===null&&s.defaultProps===void 0){var E=g;return E=jp(g),t.tag=q,t.type=E,RS(t,g),$T(e,t,E,c,p)}{var I=g.propTypes;I&&Jo(I,c,"prop",Yt(g))}var A=sE(s.type,null,c,t,t.mode,p);return A.ref=t.ref,A.return=t,t.child=A,A}{var P=s.type,B=P.propTypes;B&&Jo(B,c,"prop",Yt(P))}var te=e.child,K=AS(e,p);if(!K){var ce=te.memoizedProps,de=s.compare;if(de=de!==null?de:St,de(ce,c)&&e.ref===t.ref)return Hl(e,t,p)}t.flags|=Hi;var be=Vf(te,c);return be.ref=t.ref,be.return=t,t.child=be,be}function $T(e,t,s,c,p){if(t.type!==t.elementType){var g=t.elementType;if(g.$$typeof===vt){var E=g,I=E._payload,A=E._init;try{g=A(I)}catch{g=null}var P=g&&g.propTypes;P&&Jo(P,c,"prop",Yt(g))}}if(e!==null){var B=e.memoizedProps;if(St(B,c)&&e.ref===t.ref&&t.type===e.type)if(ns=!1,t.pendingProps=c=B,AS(e,p))(e.flags&fd)!==ht&&(ns=!0);else return t.lanes=e.lanes,Hl(e,t,p)}return ES(e,t,s,c,p)}function GT(e,t,s){var c=t.pendingProps,p=c.children,g=e!==null?e.memoizedState:null;if(c.mode==="hidden"||Y)if((t.mode&ut)===mt){var E={baseLanes:Ee,cachePool:null,transitions:null};t.memoizedState=E,gb(t,s)}else if(ja(s,Ja)){var te={baseLanes:Ee,cachePool:null,transitions:null};t.memoizedState=te;var K=g!==null?g.baseLanes:s;gb(t,K)}else{var I=null,A;if(g!==null){var P=g.baseLanes;A=Dt(P,s)}else A=s;t.lanes=t.childLanes=Ja;var B={baseLanes:A,cachePool:I,transitions:null};return t.memoizedState=B,t.updateQueue=null,gb(t,A),null}else{var ce;g!==null?(ce=Dt(g.baseLanes,s),t.memoizedState=null):ce=s,gb(t,ce)}return qa(e,t,p,s),t.child}function KP(e,t,s){var c=t.pendingProps;return qa(e,t,c,s),t.child}function eF(e,t,s){var c=t.pendingProps.children;return qa(e,t,c,s),t.child}function tF(e,t,s){{t.flags|=st;{var c=t.stateNode;c.effectDuration=0,c.passiveEffectDuration=0}}var p=t.pendingProps,g=p.children;return qa(e,t,g,s),t.child}function WT(e,t){var s=t.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(t.flags|=Wa,t.flags|=oo)}function ES(e,t,s,c,p){if(t.type!==t.elementType){var g=s.propTypes;g&&Jo(g,c,"prop",Yt(s))}var E;{var I=cp(t,s,!0);E=fp(t,I)}var A,P;mp(t,p),Eu(t);{if(Mh.current=t,Mr(!0),A=Ep(e,t,s,c,E,p),P=wp(),t.mode&Kn){kn(!0);try{A=Ep(e,t,s,c,E,p),P=wp()}finally{kn(!1)}}Mr(!1)}return Cl(),e!==null&&!ns?(cT(e,t,p),Hl(e,t,p)):(sa()&&P&&rx(t),t.flags|=Hi,qa(e,t,A,p),t.child)}function XT(e,t,s,c,p){{switch(yB(t)){case!1:{var g=t.stateNode,E=t.type,I=new E(t.memoizedProps,g.context),A=I.state;g.updater.enqueueSetState(g,A,null);break}case!0:{t.flags|=Ot,t.flags|=Lr;var P=new Error("Simulated error coming from DevTools"),B=Au(p);t.lanes=Dt(t.lanes,B);var te=gS(t,Df(P,t),B);bx(t,te);break}}if(t.type!==t.elementType){var K=s.propTypes;K&&Jo(K,c,"prop",Yt(s))}}var ce;Us(s)?(ce=!0,my(t)):ce=!1,mp(t,p);var de=t.stateNode,be;de===null?(ob(e,t),eT(t,s,c),Ax(t,s,c,p),be=!0):e===null?be=IP(t,s,c,p):be=NP(e,t,s,c,p);var qe=wS(e,t,s,be,ce,p);{var gt=t.stateNode;be&&gt.props!==c&&(kf||v("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Nt(t)||"a component"),kf=!0)}return qe}function wS(e,t,s,c,p,g){WT(e,t);var E=(t.flags&Ot)!==ht;if(!c&&!E)return p&&I1(t,s,!1),Hl(e,t,g);var I=t.stateNode;Mh.current=t;var A;if(E&&typeof s.getDerivedStateFromError!="function")A=null,PT();else{Eu(t);{if(Mr(!0),A=I.render(),t.mode&Kn){kn(!0);try{I.render()}finally{kn(!1)}}Mr(!1)}Cl()}return t.flags|=Hi,e!==null&&E?QP(e,t,A,g):qa(e,t,A,g),t.memoizedState=I.state,p&&I1(t,s,!0),t.child}function YT(e){var t=e.stateNode;t.pendingContext?R1(e,t.pendingContext,t.pendingContext!==t.context):t.context&&R1(e,t.context,!1),Px(e,t.containerInfo)}function nF(e,t,s){if(YT(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var c=t.pendingProps,p=t.memoizedState,g=p.element;W1(e,t),Ay(t,c,null,s);var E=t.memoizedState;t.stateNode;var I=E.element;if(p.isDehydrated){var A={element:I,isDehydrated:!1,cache:E.cache,pendingSuspenseBoundaries:E.pendingSuspenseBoundaries,transitions:E.transitions},P=t.updateQueue;if(P.baseState=A,t.memoizedState=A,t.flags&aa){var B=Df(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 ZT(e,t,I,s,B)}else if(I!==g){var te=Df(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return ZT(e,t,I,s,te)}else{oP(t);var K=iT(t,null,I,s);t.child=K;for(var ce=K;ce;)ce.flags=ce.flags&~In|io,ce=ce.sibling}}else{if(vp(),I===g)return Hl(e,t,s);qa(e,t,I,s)}return t.child}function ZT(e,t,s,c,p){return vp(),ux(p),t.flags|=aa,qa(e,t,s,c),t.child}function rF(e,t,s){sT(t),e===null&&lx(t);var c=t.type,p=t.pendingProps,g=e!==null?e.memoizedProps:null,E=p.children,I=UC(c,p);return I?E=null:g!==null&&UC(c,g)&&(t.flags|=ci),WT(e,t),qa(e,t,E,s),t.child}function aF(e,t){return e===null&&lx(t),null}function iF(e,t,s,c){ob(e,t);var p=t.pendingProps,g=s,E=g._payload,I=g._init,A=I(E);t.type=A;var P=t.tag=aB(A),B=Ko(A,p),te;switch(P){case C:return RS(t,A),t.type=A=jp(A),te=ES(null,t,A,B,c),te;case x:return t.type=A=tE(A),te=XT(null,t,A,B,c),te;case H:return t.type=A=nE(A),te=HT(null,t,A,B,c),te;case J:{if(t.type!==t.elementType){var K=A.propTypes;K&&Jo(K,B,"prop",Yt(A))}return te=UT(null,t,A,Ko(A.type,B),c),te}}var ce="";throw A!==null&&typeof A=="object"&&A.$$typeof===vt&&(ce=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+A+". "+("Lazy element type must resolve to a class or function."+ce))}function oF(e,t,s,c,p){ob(e,t),t.tag=x;var g;return Us(s)?(g=!0,my(t)):g=!1,mp(t,p),eT(t,s,c),Ax(t,s,c,p),wS(null,t,s,!0,g,p)}function sF(e,t,s,c){ob(e,t);var p=t.pendingProps,g;{var E=cp(t,s,!1);g=fp(t,E)}mp(t,c);var I,A;Eu(t);{if(s.prototype&&typeof s.prototype.render=="function"){var P=Yt(s)||"Unknown";yS[P]||(v("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.",P,P),yS[P]=!0)}t.mode&Kn&&Qo.recordLegacyContextWarning(t,null),Mr(!0),Mh.current=t,I=Ep(null,t,s,p,g,c),A=wp(),Mr(!1)}if(Cl(),t.flags|=Hi,typeof I=="object"&&I!==null&&typeof I.render=="function"&&I.$$typeof===void 0){var B=Yt(s)||"Unknown";Lh[B]||(v("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",B,B,B),Lh[B]=!0)}if(typeof I=="object"&&I!==null&&typeof I.render=="function"&&I.$$typeof===void 0){{var te=Yt(s)||"Unknown";Lh[te]||(v("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.",te,te,te),Lh[te]=!0)}t.tag=x,t.memoizedState=null,t.updateQueue=null;var K=!1;return Us(s)?(K=!0,my(t)):K=!1,t.memoizedState=I.state!==null&&I.state!==void 0?I.state:null,yx(t),K1(t,I),Ax(t,s,p,c),wS(null,t,s,!0,K,c)}else{if(t.tag=C,t.mode&Kn){kn(!0);try{I=Ep(null,t,s,p,g,c),A=wp()}finally{kn(!1)}}return sa()&&A&&rx(t),qa(null,t,I,c),RS(t,s),t.child}}function RS(e,t){{if(t&&t.childContextTypes&&v("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var s="",c=si();c&&(s+=`
190
190
 
191
- Check the render method of \``+c+"`.");var p=c||"",g=e._debugSource;g&&(p=g.fileName+":"+g.lineNumber),xS[p]||(xS[p]=!0,v("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",s))}if(typeof t.getDerivedStateFromProps=="function"){var E=Yt(t)||"Unknown";CS[E]||(v("%s: Function components do not support getDerivedStateFromProps.",E),CS[E]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var I=Yt(t)||"Unknown";bS[I]||(v("%s: Function components do not support contextType.",I),bS[I]=!0)}}}var TS={dehydrated:null,treeContext:null,retryLane:sr};function IS(e){return{baseLanes:e,cachePool:qP(),transitions:null}}function lF(e,t){var s=null;return{baseLanes:Dt(e.baseLanes,t),cachePool:s,transitions:e.transitions}}function uF(e,t,s,c){if(t!==null){var p=t.memoizedState;if(p===null)return!1}return Bx(e,Ih)}function cF(e,t){return lf(e.childLanes,t)}function JT(e,t,s){var c=t.pendingProps;bB(t)&&(t.flags|=Ot);var p=Ko.current,g=!1,E=(t.flags&Ot)!==ht;if(E||uF(p,e)?(g=!0,t.flags&=~Ot):(e===null||e.memoizedState!==null)&&(p=jP(p,uT)),p=yp(p),tc(t,p),e===null){lx(t);var I=t.memoizedState;if(I!==null){var A=I.dehydrated;if(A!==null)return hF(t,A)}var P=c.children,B=c.fallback;if(g){var te=fF(t,P,B,s),K=t.child;return K.memoizedState=IS(s),t.memoizedState=TS,te}else return NS(t,P)}else{var ce=e.memoizedState;if(ce!==null){var de=ce.dehydrated;if(de!==null)return mF(e,t,E,c,de,ce,s)}if(g){var be=c.fallback,qe=c.children,gt=pF(e,t,qe,be,s),ct=t.child,Wt=e.child.memoizedState;return ct.memoizedState=Wt===null?IS(s):lF(Wt,s),ct.childLanes=cF(e,s),t.memoizedState=TS,gt}else{var Ht=c.children,ie=dF(e,t,Ht,s);return t.memoizedState=null,ie}}}function NS(e,t,s){var c=e.mode,p={mode:"visible",children:t},g=_S(p,c);return g.return=e,e.child=g,g}function fF(e,t,s,c){var p=e.mode,g=e.child,E={mode:"hidden",children:t},I,A;return(p&ut)===mt&&g!==null?(I=g,I.childLanes=Ee,I.pendingProps=E,e.mode&Qt&&(I.actualDuration=0,I.actualStartTime=-1,I.selfBaseDuration=0,I.treeBaseDuration=0),A=uc(s,p,c,null)):(I=_S(E,p),A=uc(s,p,c,null)),I.return=e,A.return=e,I.sibling=A,e.child=I,A}function _S(e,t,s){return qI(e,t,Ee,null)}function qT(e,t){return Ff(e,t)}function dF(e,t,s,c){var p=e.child,g=p.sibling,E=qT(p,{mode:"visible",children:s});if((t.mode&ut)===mt&&(E.lanes=c),E.return=t,E.sibling=null,g!==null){var I=t.deletions;I===null?(t.deletions=[g],t.flags|=tn):I.push(g)}return t.child=E,E}function pF(e,t,s,c,p){var g=t.mode,E=e.child,I=E.sibling,A={mode:"hidden",children:s},P;if((g&ut)===mt&&t.child!==E){var B=t.child;P=B,P.childLanes=Ee,P.pendingProps=A,t.mode&Qt&&(P.actualDuration=0,P.actualStartTime=-1,P.selfBaseDuration=E.selfBaseDuration,P.treeBaseDuration=E.treeBaseDuration),t.deletions=null}else P=qT(E,A),P.subtreeFlags=E.subtreeFlags&Pr;var te;return I!==null?te=Ff(I,c):(te=uc(c,g,p,null),te.flags|=In),te.return=t,P.return=t,P.sibling=te,t.child=P,te}function ib(e,t,s,c){c!==null&&ux(c),mp(t,e.child,null,s);var p=t.pendingProps,g=p.children,E=NS(t,g);return E.flags|=In,t.memoizedState=null,E}function vF(e,t,s,c,p){var g=t.mode,E={mode:"visible",children:s},I=_S(E,g),A=uc(c,g,p,null);return A.flags|=In,I.return=t,A.return=t,I.sibling=A,t.child=I,(t.mode&ut)!==mt&&mp(t,e.child,null,p),A}function hF(e,t,s){return(e.mode&ut)===mt?(v("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=bt):XC(t)?e.lanes=er:e.lanes=Ja,null}function mF(e,t,s,c,p,g,E){if(s)if(t.flags&aa){t.flags&=~aa;var ie=hS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return ib(e,t,E,ie)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Ot,null;var Ce=c.children,oe=c.fallback,Fe=vF(e,t,Ce,oe,E),Qe=t.child;return Qe.memoizedState=IS(E),t.memoizedState=TS,Fe}else{if(aP(),(t.mode&ut)===mt)return ib(e,t,E,null);if(XC(p)){var I,A,P;{var B=xL(p);I=B.digest,A=B.message,P=B.stack}var te;A?te=new Error(A):te=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var K=hS(te,I,P);return ib(e,t,E,K)}var ce=ja(E,e.childLanes);if(ts||ce){var de=mb();if(de!==null){var be=Ag(de,E);if(be!==sr&&be!==g.retryLane){g.retryLane=be;var qe=Mn;Ei(e,be),Wr(de,e,be,qe)}}JS();var gt=hS(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 ib(e,t,E,gt)}else if(b1(p)){t.flags|=Ot,t.child=e.child;var ct=zV.bind(null,e);return SL(p,ct),null}else{sP(t,p,g.treeContext);var Wt=c.children,Ht=NS(t,Wt);return Ht.flags|=io,Ht}}}function QT(e,t,s){e.lanes=Dt(e.lanes,t);var c=e.alternate;c!==null&&(c.lanes=Dt(c.lanes,t)),vx(e.return,t,s)}function gF(e,t,s){for(var c=t;c!==null;){if(c.tag===U){var p=c.memoizedState;p!==null&&QT(c,s,e)}else if(c.tag===fe)QT(c,s,e);else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)return;for(;c.sibling===null;){if(c.return===null||c.return===e)return;c=c.return}c.sibling.return=c.return,c=c.sibling}}function yF(e){for(var t=e,s=null;t!==null;){var c=t.alternate;c!==null&&Fy(c)===null&&(s=t),t=t.sibling}return s}function bF(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!SS[e])if(SS[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{v('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{v('"%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:v('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else v('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function CF(e,t){e!==void 0&&!ab[e]&&(e!=="collapsed"&&e!=="hidden"?(ab[e]=!0,v('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(ab[e]=!0,v('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function KT(e,t){{var s=Zt(e),c=!s&&typeof Ki(e)=="function";if(s||c){var p=s?"array":"iterable";return v("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>",p,t,p),!1}}return!0}function xF(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Zt(e)){for(var s=0;s<e.length;s++)if(!KT(e[s],s))return}else{var c=Ki(e);if(typeof c=="function"){var p=c.call(e);if(p)for(var g=p.next(),E=0;!g.done;g=p.next()){if(!KT(g.value,E))return;E++}}else v('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 OS(e,t,s,c,p){var g=e.memoizedState;g===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:c,tail:s,tailMode:p}:(g.isBackwards=t,g.rendering=null,g.renderingStartTime=0,g.last=c,g.tail=s,g.tailMode=p)}function eI(e,t,s){var c=t.pendingProps,p=c.revealOrder,g=c.tail,E=c.children;bF(p),CF(g,p),xF(E,p),qa(e,t,E,s);var I=Ko.current,A=Bx(I,Ih);if(A)I=zx(I,Ih),t.flags|=Ot;else{var P=e!==null&&(e.flags&Ot)!==ht;P&&gF(t,t.child,s),I=yp(I)}if(tc(t,I),(t.mode&ut)===mt)t.memoizedState=null;else switch(p){case"forwards":{var B=yF(t.child),te;B===null?(te=t.child,t.child=null):(te=B.sibling,B.sibling=null),OS(t,!1,te,B,g);break}case"backwards":{var K=null,ce=t.child;for(t.child=null;ce!==null;){var de=ce.alternate;if(de!==null&&Fy(de)===null){t.child=ce;break}var be=ce.sibling;ce.sibling=K,K=ce,ce=be}OS(t,!0,K,null,g);break}case"together":{OS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function SF(e,t,s){Px(t,t.stateNode.containerInfo);var c=t.pendingProps;return e===null?t.child=mp(t,null,c,s):qa(e,t,c,s),t.child}var tI=!1;function EF(e,t,s){var c=t.type,p=c._context,g=t.pendingProps,E=t.memoizedProps,I=g.value;{"value"in g||tI||(tI=!0,v("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var A=t.type.propTypes;A&&Zo(A,g,"prop","Context.Provider")}if(H1(t,p,I),E!==null){var P=E.value;if(rt(P,I)){if(E.children===g.children&&!vy())return zl(e,t,s)}else gP(t,p,s)}var B=g.children;return qa(e,t,B,s),t.child}var nI=!1;function wF(e,t,s){var c=t.type;c._context===void 0?c!==c.Consumer&&(nI||(nI=!0,v("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):c=c._context;var p=t.pendingProps,g=p.children;typeof g!="function"&&v("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."),hp(t,s);var E=jr(c);Su(t);var I;return Mh.current=t,Mr(!0),I=g(E),Mr(!1),bl(),t.flags|=Hi,qa(e,t,I,s),t.child}function Ph(){ts=!0}function ob(e,t){(t.mode&ut)===mt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=In)}function zl(e,t,s){return e!==null&&(t.dependencies=e.dependencies),PT(),Zh(t.lanes),ja(s,t.childLanes)?(_P(e,t),t.child):null}function RF(e,t,s){{var c=t.return;if(c===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,s.index=t.index,s.sibling=t.sibling,s.return=t.return,s.ref=t.ref,t===c.child)c.child=s;else{var p=c.child;if(p===null)throw new Error("Expected parent to have a child.");for(;p.sibling!==t;)if(p=p.sibling,p===null)throw new Error("Expected to find the previous sibling.");p.sibling=s}var g=c.deletions;return g===null?(c.deletions=[e],c.flags|=tn):g.push(e),s.flags|=In,s}}function AS(e,t){var s=e.lanes;return!!ja(s,t)}function TF(e,t,s){switch(t.tag){case T:YT(t),t.stateNode,pp();break;case N:sT(t);break;case x:{var c=t.type;Hs(c)&&my(t);break}case j:Px(t,t.stateNode.containerInfo);break;case V:{var p=t.memoizedProps.value,g=t.type._context;H1(t,g,p);break}case z:{var E=ja(s,t.childLanes);E&&(t.flags|=st);{var I=t.stateNode;I.effectDuration=0,I.passiveEffectDuration=0}}break;case U:{var A=t.memoizedState;if(A!==null){if(A.dehydrated!==null)return tc(t,yp(Ko.current)),t.flags|=Ot,null;var P=t.child,B=P.childLanes;if(ja(s,B))return JT(e,t,s);tc(t,yp(Ko.current));var te=zl(e,t,s);return te!==null?te.sibling:null}else tc(t,yp(Ko.current));break}case fe:{var K=(e.flags&Ot)!==ht,ce=ja(s,t.childLanes);if(K){if(ce)return eI(e,t,s);t.flags|=Ot}var de=t.memoizedState;if(de!==null&&(de.rendering=null,de.tail=null,de.lastEffect=null),tc(t,Ko.current),ce)break;return null}case Te:case xe:return t.lanes=Ee,GT(e,t,s)}return zl(e,t,s)}function rI(e,t,s){if(t._debugNeedsRemount&&e!==null)return RF(e,t,sE(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var c=e.memoizedProps,p=t.pendingProps;if(c!==p||vy()||t.type!==e.type)ts=!0;else{var g=AS(e,s);if(!g&&(t.flags&Ot)===ht)return ts=!1,TF(e,t,s);(e.flags&cd)!==ht?ts=!0:ts=!1}}else if(ts=!1,sa()&&QL(t)){var E=t.index,I=KL();O1(t,I,E)}switch(t.lanes=Ee,t.tag){case R:return sF(e,t,t.type,s);case Re:{var A=t.elementType;return iF(e,t,A,s)}case C:{var P=t.type,B=t.pendingProps,te=t.elementType===P?B:Qo(P,B);return ES(e,t,P,te,s)}case x:{var K=t.type,ce=t.pendingProps,de=t.elementType===K?ce:Qo(K,ce);return XT(e,t,K,de,s)}case T:return nF(e,t,s);case N:return rF(e,t,s);case O:return aF(e,t);case U:return JT(e,t,s);case j:return SF(e,t,s);case H:{var be=t.type,qe=t.pendingProps,gt=t.elementType===be?qe:Qo(be,qe);return HT(e,t,be,gt,s)}case _:return KP(e,t,s);case L:return eF(e,t,s);case z:return tF(e,t,s);case V:return EF(e,t,s);case F:return wF(e,t,s);case J:{var ct=t.type,Wt=t.pendingProps,Ht=Qo(ct,Wt);if(t.type!==t.elementType){var ie=ct.propTypes;ie&&Zo(ie,Ht,"prop",Yt(ct))}return Ht=Qo(ct.type,Ht),UT(e,t,ct,Ht,s)}case q:return $T(e,t,t.type,t.pendingProps,s);case he:{var Ce=t.type,oe=t.pendingProps,Fe=t.elementType===Ce?oe:Qo(Ce,oe);return oF(e,t,Ce,Fe,s)}case fe:return eI(e,t,s);case Oe:break;case Te:return GT(e,t,s)}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 wp(e){e.flags|=st}function aI(e){e.flags|=Wa,e.flags|=oo}var iI,jS,oI,sI;iI=function(e,t,s,c){for(var p=t.child;p!==null;){if(p.tag===N||p.tag===O)ZM(e,p.stateNode);else if(p.tag!==j){if(p.child!==null){p.child.return=p,p=p.child;continue}}if(p===t)return;for(;p.sibling===null;){if(p.return===null||p.return===t)return;p=p.return}p.sibling.return=p.return,p=p.sibling}},jS=function(e,t){},oI=function(e,t,s,c,p){var g=e.memoizedProps;if(g!==c){var E=t.stateNode,I=Fx(),A=qM(E,s,g,c,p,I);t.updateQueue=A,A&&wp(t)}},sI=function(e,t,s,c){s!==c&&wp(t)};function Fh(e,t){if(!sa())switch(e.tailMode){case"hidden":{for(var s=e.tail,c=null;s!==null;)s.alternate!==null&&(c=s),s=s.sibling;c===null?e.tail=null:c.sibling=null;break}case"collapsed":{for(var p=e.tail,g=null;p!==null;)p.alternate!==null&&(g=p),p=p.sibling;g===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:g.sibling=null;break}}}function ua(e){var t=e.alternate!==null&&e.alternate.child===e.child,s=Ee,c=ht;if(t){if((e.mode&Qt)!==mt){for(var A=e.selfBaseDuration,P=e.child;P!==null;)s=Dt(s,Dt(P.lanes,P.childLanes)),c|=P.subtreeFlags&Pr,c|=P.flags&Pr,A+=P.treeBaseDuration,P=P.sibling;e.treeBaseDuration=A}else for(var B=e.child;B!==null;)s=Dt(s,Dt(B.lanes,B.childLanes)),c|=B.subtreeFlags&Pr,c|=B.flags&Pr,B.return=e,B=B.sibling;e.subtreeFlags|=c}else{if((e.mode&Qt)!==mt){for(var p=e.actualDuration,g=e.selfBaseDuration,E=e.child;E!==null;)s=Dt(s,Dt(E.lanes,E.childLanes)),c|=E.subtreeFlags,c|=E.flags,p+=E.actualDuration,g+=E.treeBaseDuration,E=E.sibling;e.actualDuration=p,e.treeBaseDuration=g}else for(var I=e.child;I!==null;)s=Dt(s,Dt(I.lanes,I.childLanes)),c|=I.subtreeFlags,c|=I.flags,I.return=e,I=I.sibling;e.subtreeFlags|=c}return e.childLanes=s,t}function IF(e,t,s){if(dP()&&(t.mode&ut)!==mt&&(t.flags&Ot)===ht)return P1(t),pp(),t.flags|=aa|Ts|Lr,!1;var c=xy(t);if(s!==null&&s.dehydrated!==null)if(e===null){if(!c)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(cP(t),ua(t),(t.mode&Qt)!==mt){var p=s!==null;if(p){var g=t.child;g!==null&&(t.treeBaseDuration-=g.treeBaseDuration)}}return!1}else{if(pp(),(t.flags&Ot)===ht&&(t.memoizedState=null),t.flags|=st,ua(t),(t.mode&Qt)!==mt){var E=s!==null;if(E){var I=t.child;I!==null&&(t.treeBaseDuration-=I.treeBaseDuration)}}return!1}else return F1(),!0}function lI(e,t,s){var c=t.pendingProps;switch(ax(t),t.tag){case R:case Re:case q:case C:case H:case _:case L:case z:case F:case J:return ua(t),null;case x:{var p=t.type;return Hs(p)&&hy(t),ua(t),null}case T:{var g=t.stateNode;if(gp(t),ex(t),Ux(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),e===null||e.child===null){var E=xy(t);if(E)wp(t);else if(e!==null){var I=e.memoizedState;(!I.isDehydrated||(t.flags&aa)!==ht)&&(t.flags|=vr,F1())}}return jS(e,t),ua(t),null}case N:{Vx(t);var A=oT(),P=t.type;if(e!==null&&t.stateNode!=null)oI(e,t,P,c,A),e.ref!==t.ref&&aI(t);else{if(!c){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 ua(t),null}var B=Fx(),te=xy(t);if(te)lP(t,A,B)&&wp(t);else{var K=YM(P,c,A,B,t);iI(K,t,!1,!1),t.stateNode=K,JM(K,P,c,A)&&wp(t)}t.ref!==null&&aI(t)}return ua(t),null}case O:{var ce=c;if(e&&t.stateNode!=null){var de=e.memoizedProps;sI(e,t,de,ce)}else{if(typeof ce!="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 be=oT(),qe=Fx(),gt=xy(t);gt?uP(t)&&wp(t):t.stateNode=QM(ce,be,qe,t)}return ua(t),null}case U:{bp(t);var ct=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Wt=IF(e,t,ct);if(!Wt)return t.flags&Lr?t:null}if((t.flags&Ot)!==ht)return t.lanes=s,(t.mode&Qt)!==mt&&vS(t),t;var Ht=ct!==null,ie=e!==null&&e.memoizedState!==null;if(Ht!==ie&&Ht){var Ce=t.child;if(Ce.flags|=Rs,(t.mode&ut)!==mt){var oe=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!re);oe||Bx(Ko.current,uT)?NV():JS()}}var Fe=t.updateQueue;if(Fe!==null&&(t.flags|=st),ua(t),(t.mode&Qt)!==mt&&Ht){var Qe=t.child;Qe!==null&&(t.treeBaseDuration-=Qe.treeBaseDuration)}return null}case j:return gp(t),jS(e,t),e===null&&GL(t.stateNode.containerInfo),ua(t),null;case V:var Xe=t.type._context;return px(Xe,t),ua(t),null;case he:{var Tt=t.type;return Hs(Tt)&&hy(t),ua(t),null}case fe:{bp(t);var jt=t.memoizedState;if(jt===null)return ua(t),null;var Sn=(t.flags&Ot)!==ht,rn=jt.rendering;if(rn===null)if(Sn)Fh(jt,!1);else{var Er=OV()&&(e===null||(e.flags&Ot)===ht);if(!Er)for(var an=t.child;an!==null;){var mr=Fy(an);if(mr!==null){Sn=!0,t.flags|=Ot,Fh(jt,!1);var Pa=mr.updateQueue;return Pa!==null&&(t.updateQueue=Pa,t.flags|=st),t.subtreeFlags=ht,OP(t,s),tc(t,zx(Ko.current,Ih)),t.child}an=an.sibling}jt.tail!==null&&hr()>_I()&&(t.flags|=Ot,Sn=!0,Fh(jt,!1),t.lanes=Lv)}else{if(!Sn){var va=Fy(rn);if(va!==null){t.flags|=Ot,Sn=!0;var Wi=va.updateQueue;if(Wi!==null&&(t.updateQueue=Wi,t.flags|=st),Fh(jt,!0),jt.tail===null&&jt.tailMode==="hidden"&&!rn.alternate&&!sa())return ua(t),null}else hr()*2-jt.renderingStartTime>_I()&&s!==Ja&&(t.flags|=Ot,Sn=!0,Fh(jt,!1),t.lanes=Lv)}if(jt.isBackwards)rn.sibling=t.child,t.child=rn;else{var ei=jt.last;ei!==null?ei.sibling=rn:t.child=rn,jt.last=rn}}if(jt.tail!==null){var ti=jt.tail;jt.rendering=ti,jt.tail=ti.sibling,jt.renderingStartTime=hr(),ti.sibling=null;var Fa=Ko.current;return Sn?Fa=zx(Fa,Ih):Fa=yp(Fa),tc(t,Fa),ti}return ua(t),null}case Oe:break;case Te:case xe:{ZS(t);var Wl=t.memoizedState,jp=Wl!==null;if(e!==null){var em=e.memoizedState,Js=em!==null;Js!==jp&&!Y&&(t.flags|=Rs)}return!jp||(t.mode&ut)===mt?ua(t):ja(Zs,Ja)&&(ua(t),t.subtreeFlags&(In|st)&&(t.flags|=Rs)),null}case je:return null;case Le: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 NF(e,t,s){switch(ax(t),t.tag){case x:{var c=t.type;Hs(c)&&hy(t);var p=t.flags;return p&Lr?(t.flags=p&~Lr|Ot,(t.mode&Qt)!==mt&&vS(t),t):null}case T:{t.stateNode,gp(t),ex(t),Ux();var g=t.flags;return(g&Lr)!==ht&&(g&Ot)===ht?(t.flags=g&~Lr|Ot,t):null}case N:return Vx(t),null;case U:{bp(t);var E=t.memoizedState;if(E!==null&&E.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.");pp()}var I=t.flags;return I&Lr?(t.flags=I&~Lr|Ot,(t.mode&Qt)!==mt&&vS(t),t):null}case fe:return bp(t),null;case j:return gp(t),null;case V:var A=t.type._context;return px(A,t),null;case Te:case xe:return ZS(t),null;case je:return null;default:return null}}function uI(e,t,s){switch(ax(t),t.tag){case x:{var c=t.type.childContextTypes;c!=null&&hy(t);break}case T:{t.stateNode,gp(t),ex(t),Ux();break}case N:{Vx(t);break}case j:gp(t);break;case U:bp(t);break;case fe:bp(t);break;case V:var p=t.type._context;px(p,t);break;case Te:case xe:ZS(t);break}}var cI=null;cI=new Set;var sb=!1,ca=!1,_F=typeof WeakSet=="function"?WeakSet:Set,at=null,Rp=null,Tp=null;function OF(e){zi(null,function(){throw e}),zo()}var AF=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Qt)try{Xs(),t.componentWillUnmount()}finally{Ws(e)}else t.componentWillUnmount()};function fI(e,t){try{ac(Br,e)}catch(s){Hn(e,t,s)}}function DS(e,t,s){try{AF(e,s)}catch(c){Hn(e,t,c)}}function jF(e,t,s){try{s.componentDidMount()}catch(c){Hn(e,t,c)}}function dI(e,t){try{vI(e)}catch(s){Hn(e,t,s)}}function Ip(e,t){var s=e.ref;if(s!==null)if(typeof s=="function"){var c;try{if(ve&&we&&e.mode&Qt)try{Xs(),c=s(null)}finally{Ws(e)}else c=s(null)}catch(p){Hn(e,t,p)}typeof c=="function"&&v("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Nt(e))}else s.current=null}function lb(e,t,s){try{s()}catch(c){Hn(e,t,c)}}var pI=!1;function DF(e,t){WM(e.containerInfo),at=t,kF();var s=pI;return pI=!1,s}function kF(){for(;at!==null;){var e=at,t=e.child;(e.subtreeFlags&Ra)!==ht&&t!==null?(t.return=e,at=t):MF()}}function MF(){for(;at!==null;){var e=at;Xn(e);try{LF(e)}catch(s){Hn(e,e.return,s)}Fn();var t=e.sibling;if(t!==null){t.return=e.return,at=t;return}at=e.return}}function LF(e){var t=e.alternate,s=e.flags;if((s&vr)!==ht){switch(Xn(e),e.tag){case C:case H:case q:break;case x:{if(t!==null){var c=t.memoizedProps,p=t.memoizedState,g=e.stateNode;e.type===e.elementType&&!Df&&(g.props!==e.memoizedProps&&v("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.",Nt(e)||"instance"),g.state!==e.memoizedState&&v("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.",Nt(e)||"instance"));var E=g.getSnapshotBeforeUpdate(e.elementType===e.type?c:Qo(e.type,c),p);{var I=cI;E===void 0&&!I.has(e.type)&&(I.add(e.type),v("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Nt(e)))}g.__reactInternalSnapshotBeforeUpdate=E}break}case T:{{var A=e.stateNode;gL(A.containerInfo)}break}case N:case O:case j:case he: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.")}Fn()}}function ns(e,t,s){var c=t.updateQueue,p=c!==null?c.lastEffect:null;if(p!==null){var g=p.next,E=g;do{if((E.tag&e)===e){var I=E.destroy;E.destroy=void 0,I!==void 0&&((e&la)!==wi?gg(t):(e&Br)!==wi&&Eu(t),(e&Us)!==wi&&qh(!0),lb(t,s,I),(e&Us)!==wi&&qh(!1),(e&la)!==wi?yg():(e&Br)!==wi&&Jc())}E=E.next}while(E!==g)}}function ac(e,t){var s=t.updateQueue,c=s!==null?s.lastEffect:null;if(c!==null){var p=c.next,g=p;do{if((g.tag&e)===e){(e&la)!==wi?jv(t):(e&Br)!==wi&&bg(t);var E=g.create;(e&Us)!==wi&&qh(!0),g.destroy=E(),(e&Us)!==wi&&qh(!1),(e&la)!==wi?md():(e&Br)!==wi&&Dv();{var I=g.destroy;if(I!==void 0&&typeof I!="function"){var A=void 0;(g.tag&Br)!==ht?A="useLayoutEffect":(g.tag&Us)!==ht?A="useInsertionEffect":A="useEffect";var P=void 0;I===null?P=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof I.then=="function"?P=`
191
+ Check the render method of \``+c+"`.");var p=c||"",g=e._debugSource;g&&(p=g.fileName+":"+g.lineNumber),xS[p]||(xS[p]=!0,v("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",s))}if(typeof t.getDerivedStateFromProps=="function"){var E=Yt(t)||"Unknown";CS[E]||(v("%s: Function components do not support getDerivedStateFromProps.",E),CS[E]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var I=Yt(t)||"Unknown";bS[I]||(v("%s: Function components do not support contextType.",I),bS[I]=!0)}}}var TS={dehydrated:null,treeContext:null,retryLane:sr};function IS(e){return{baseLanes:e,cachePool:qP(),transitions:null}}function lF(e,t){var s=null;return{baseLanes:Dt(e.baseLanes,t),cachePool:s,transitions:e.transitions}}function uF(e,t,s,c){if(t!==null){var p=t.memoizedState;if(p===null)return!1}return Bx(e,Ih)}function cF(e,t){return uf(e.childLanes,t)}function JT(e,t,s){var c=t.pendingProps;bB(t)&&(t.flags|=Ot);var p=es.current,g=!1,E=(t.flags&Ot)!==ht;if(E||uF(p,e)?(g=!0,t.flags&=~Ot):(e===null||e.memoizedState!==null)&&(p=jP(p,uT)),p=bp(p),nc(t,p),e===null){lx(t);var I=t.memoizedState;if(I!==null){var A=I.dehydrated;if(A!==null)return hF(t,A)}var P=c.children,B=c.fallback;if(g){var te=fF(t,P,B,s),K=t.child;return K.memoizedState=IS(s),t.memoizedState=TS,te}else return NS(t,P)}else{var ce=e.memoizedState;if(ce!==null){var de=ce.dehydrated;if(de!==null)return mF(e,t,E,c,de,ce,s)}if(g){var be=c.fallback,qe=c.children,gt=pF(e,t,qe,be,s),ct=t.child,Wt=e.child.memoizedState;return ct.memoizedState=Wt===null?IS(s):lF(Wt,s),ct.childLanes=cF(e,s),t.memoizedState=TS,gt}else{var Ht=c.children,ie=dF(e,t,Ht,s);return t.memoizedState=null,ie}}}function NS(e,t,s){var c=e.mode,p={mode:"visible",children:t},g=_S(p,c);return g.return=e,e.child=g,g}function fF(e,t,s,c){var p=e.mode,g=e.child,E={mode:"hidden",children:t},I,A;return(p&ut)===mt&&g!==null?(I=g,I.childLanes=Ee,I.pendingProps=E,e.mode&Qt&&(I.actualDuration=0,I.actualStartTime=-1,I.selfBaseDuration=0,I.treeBaseDuration=0),A=cc(s,p,c,null)):(I=_S(E,p),A=cc(s,p,c,null)),I.return=e,A.return=e,I.sibling=A,e.child=I,A}function _S(e,t,s){return qI(e,t,Ee,null)}function qT(e,t){return Vf(e,t)}function dF(e,t,s,c){var p=e.child,g=p.sibling,E=qT(p,{mode:"visible",children:s});if((t.mode&ut)===mt&&(E.lanes=c),E.return=t,E.sibling=null,g!==null){var I=t.deletions;I===null?(t.deletions=[g],t.flags|=tn):I.push(g)}return t.child=E,E}function pF(e,t,s,c,p){var g=t.mode,E=e.child,I=E.sibling,A={mode:"hidden",children:s},P;if((g&ut)===mt&&t.child!==E){var B=t.child;P=B,P.childLanes=Ee,P.pendingProps=A,t.mode&Qt&&(P.actualDuration=0,P.actualStartTime=-1,P.selfBaseDuration=E.selfBaseDuration,P.treeBaseDuration=E.treeBaseDuration),t.deletions=null}else P=qT(E,A),P.subtreeFlags=E.subtreeFlags&Pr;var te;return I!==null?te=Vf(I,c):(te=cc(c,g,p,null),te.flags|=In),te.return=t,P.return=t,P.sibling=te,t.child=P,te}function ib(e,t,s,c){c!==null&&ux(c),gp(t,e.child,null,s);var p=t.pendingProps,g=p.children,E=NS(t,g);return E.flags|=In,t.memoizedState=null,E}function vF(e,t,s,c,p){var g=t.mode,E={mode:"visible",children:s},I=_S(E,g),A=cc(c,g,p,null);return A.flags|=In,I.return=t,A.return=t,I.sibling=A,t.child=I,(t.mode&ut)!==mt&&gp(t,e.child,null,p),A}function hF(e,t,s){return(e.mode&ut)===mt?(v("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=bt):XC(t)?e.lanes=er:e.lanes=Ja,null}function mF(e,t,s,c,p,g,E){if(s)if(t.flags&aa){t.flags&=~aa;var ie=hS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return ib(e,t,E,ie)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Ot,null;var Ce=c.children,oe=c.fallback,Fe=vF(e,t,Ce,oe,E),Qe=t.child;return Qe.memoizedState=IS(E),t.memoizedState=TS,Fe}else{if(aP(),(t.mode&ut)===mt)return ib(e,t,E,null);if(XC(p)){var I,A,P;{var B=xL(p);I=B.digest,A=B.message,P=B.stack}var te;A?te=new Error(A):te=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var K=hS(te,I,P);return ib(e,t,E,K)}var ce=ja(E,e.childLanes);if(ns||ce){var de=mb();if(de!==null){var be=Ag(de,E);if(be!==sr&&be!==g.retryLane){g.retryLane=be;var qe=Mn;Ei(e,be),Wr(de,e,be,qe)}}JS();var gt=hS(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 ib(e,t,E,gt)}else if(b1(p)){t.flags|=Ot,t.child=e.child;var ct=zV.bind(null,e);return SL(p,ct),null}else{sP(t,p,g.treeContext);var Wt=c.children,Ht=NS(t,Wt);return Ht.flags|=io,Ht}}}function QT(e,t,s){e.lanes=Dt(e.lanes,t);var c=e.alternate;c!==null&&(c.lanes=Dt(c.lanes,t)),vx(e.return,t,s)}function gF(e,t,s){for(var c=t;c!==null;){if(c.tag===U){var p=c.memoizedState;p!==null&&QT(c,s,e)}else if(c.tag===fe)QT(c,s,e);else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)return;for(;c.sibling===null;){if(c.return===null||c.return===e)return;c=c.return}c.sibling.return=c.return,c=c.sibling}}function yF(e){for(var t=e,s=null;t!==null;){var c=t.alternate;c!==null&&Fy(c)===null&&(s=t),t=t.sibling}return s}function bF(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!SS[e])if(SS[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{v('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{v('"%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:v('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else v('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function CF(e,t){e!==void 0&&!ab[e]&&(e!=="collapsed"&&e!=="hidden"?(ab[e]=!0,v('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(ab[e]=!0,v('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function KT(e,t){{var s=Zt(e),c=!s&&typeof Ki(e)=="function";if(s||c){var p=s?"array":"iterable";return v("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>",p,t,p),!1}}return!0}function xF(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Zt(e)){for(var s=0;s<e.length;s++)if(!KT(e[s],s))return}else{var c=Ki(e);if(typeof c=="function"){var p=c.call(e);if(p)for(var g=p.next(),E=0;!g.done;g=p.next()){if(!KT(g.value,E))return;E++}}else v('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 OS(e,t,s,c,p){var g=e.memoizedState;g===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:c,tail:s,tailMode:p}:(g.isBackwards=t,g.rendering=null,g.renderingStartTime=0,g.last=c,g.tail=s,g.tailMode=p)}function eI(e,t,s){var c=t.pendingProps,p=c.revealOrder,g=c.tail,E=c.children;bF(p),CF(g,p),xF(E,p),qa(e,t,E,s);var I=es.current,A=Bx(I,Ih);if(A)I=zx(I,Ih),t.flags|=Ot;else{var P=e!==null&&(e.flags&Ot)!==ht;P&&gF(t,t.child,s),I=bp(I)}if(nc(t,I),(t.mode&ut)===mt)t.memoizedState=null;else switch(p){case"forwards":{var B=yF(t.child),te;B===null?(te=t.child,t.child=null):(te=B.sibling,B.sibling=null),OS(t,!1,te,B,g);break}case"backwards":{var K=null,ce=t.child;for(t.child=null;ce!==null;){var de=ce.alternate;if(de!==null&&Fy(de)===null){t.child=ce;break}var be=ce.sibling;ce.sibling=K,K=ce,ce=be}OS(t,!0,K,null,g);break}case"together":{OS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function SF(e,t,s){Px(t,t.stateNode.containerInfo);var c=t.pendingProps;return e===null?t.child=gp(t,null,c,s):qa(e,t,c,s),t.child}var tI=!1;function EF(e,t,s){var c=t.type,p=c._context,g=t.pendingProps,E=t.memoizedProps,I=g.value;{"value"in g||tI||(tI=!0,v("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var A=t.type.propTypes;A&&Jo(A,g,"prop","Context.Provider")}if(H1(t,p,I),E!==null){var P=E.value;if(rt(P,I)){if(E.children===g.children&&!vy())return Hl(e,t,s)}else gP(t,p,s)}var B=g.children;return qa(e,t,B,s),t.child}var nI=!1;function wF(e,t,s){var c=t.type;c._context===void 0?c!==c.Consumer&&(nI||(nI=!0,v("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):c=c._context;var p=t.pendingProps,g=p.children;typeof g!="function"&&v("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."),mp(t,s);var E=jr(c);Eu(t);var I;return Mh.current=t,Mr(!0),I=g(E),Mr(!1),Cl(),t.flags|=Hi,qa(e,t,I,s),t.child}function Ph(){ns=!0}function ob(e,t){(t.mode&ut)===mt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=In)}function Hl(e,t,s){return e!==null&&(t.dependencies=e.dependencies),PT(),Zh(t.lanes),ja(s,t.childLanes)?(_P(e,t),t.child):null}function RF(e,t,s){{var c=t.return;if(c===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,s.index=t.index,s.sibling=t.sibling,s.return=t.return,s.ref=t.ref,t===c.child)c.child=s;else{var p=c.child;if(p===null)throw new Error("Expected parent to have a child.");for(;p.sibling!==t;)if(p=p.sibling,p===null)throw new Error("Expected to find the previous sibling.");p.sibling=s}var g=c.deletions;return g===null?(c.deletions=[e],c.flags|=tn):g.push(e),s.flags|=In,s}}function AS(e,t){var s=e.lanes;return!!ja(s,t)}function TF(e,t,s){switch(t.tag){case T:YT(t),t.stateNode,vp();break;case N:sT(t);break;case x:{var c=t.type;Us(c)&&my(t);break}case j:Px(t,t.stateNode.containerInfo);break;case V:{var p=t.memoizedProps.value,g=t.type._context;H1(t,g,p);break}case z:{var E=ja(s,t.childLanes);E&&(t.flags|=st);{var I=t.stateNode;I.effectDuration=0,I.passiveEffectDuration=0}}break;case U:{var A=t.memoizedState;if(A!==null){if(A.dehydrated!==null)return nc(t,bp(es.current)),t.flags|=Ot,null;var P=t.child,B=P.childLanes;if(ja(s,B))return JT(e,t,s);nc(t,bp(es.current));var te=Hl(e,t,s);return te!==null?te.sibling:null}else nc(t,bp(es.current));break}case fe:{var K=(e.flags&Ot)!==ht,ce=ja(s,t.childLanes);if(K){if(ce)return eI(e,t,s);t.flags|=Ot}var de=t.memoizedState;if(de!==null&&(de.rendering=null,de.tail=null,de.lastEffect=null),nc(t,es.current),ce)break;return null}case Te:case xe:return t.lanes=Ee,GT(e,t,s)}return Hl(e,t,s)}function rI(e,t,s){if(t._debugNeedsRemount&&e!==null)return RF(e,t,sE(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var c=e.memoizedProps,p=t.pendingProps;if(c!==p||vy()||t.type!==e.type)ns=!0;else{var g=AS(e,s);if(!g&&(t.flags&Ot)===ht)return ns=!1,TF(e,t,s);(e.flags&fd)!==ht?ns=!0:ns=!1}}else if(ns=!1,sa()&&QL(t)){var E=t.index,I=KL();O1(t,I,E)}switch(t.lanes=Ee,t.tag){case R:return sF(e,t,t.type,s);case Re:{var A=t.elementType;return iF(e,t,A,s)}case C:{var P=t.type,B=t.pendingProps,te=t.elementType===P?B:Ko(P,B);return ES(e,t,P,te,s)}case x:{var K=t.type,ce=t.pendingProps,de=t.elementType===K?ce:Ko(K,ce);return XT(e,t,K,de,s)}case T:return nF(e,t,s);case N:return rF(e,t,s);case O:return aF(e,t);case U:return JT(e,t,s);case j:return SF(e,t,s);case H:{var be=t.type,qe=t.pendingProps,gt=t.elementType===be?qe:Ko(be,qe);return HT(e,t,be,gt,s)}case _:return KP(e,t,s);case L:return eF(e,t,s);case z:return tF(e,t,s);case V:return EF(e,t,s);case F:return wF(e,t,s);case J:{var ct=t.type,Wt=t.pendingProps,Ht=Ko(ct,Wt);if(t.type!==t.elementType){var ie=ct.propTypes;ie&&Jo(ie,Ht,"prop",Yt(ct))}return Ht=Ko(ct.type,Ht),UT(e,t,ct,Ht,s)}case q:return $T(e,t,t.type,t.pendingProps,s);case he:{var Ce=t.type,oe=t.pendingProps,Fe=t.elementType===Ce?oe:Ko(Ce,oe);return oF(e,t,Ce,Fe,s)}case fe:return eI(e,t,s);case Oe:break;case Te:return GT(e,t,s)}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 Rp(e){e.flags|=st}function aI(e){e.flags|=Wa,e.flags|=oo}var iI,jS,oI,sI;iI=function(e,t,s,c){for(var p=t.child;p!==null;){if(p.tag===N||p.tag===O)ZM(e,p.stateNode);else if(p.tag!==j){if(p.child!==null){p.child.return=p,p=p.child;continue}}if(p===t)return;for(;p.sibling===null;){if(p.return===null||p.return===t)return;p=p.return}p.sibling.return=p.return,p=p.sibling}},jS=function(e,t){},oI=function(e,t,s,c,p){var g=e.memoizedProps;if(g!==c){var E=t.stateNode,I=Fx(),A=qM(E,s,g,c,p,I);t.updateQueue=A,A&&Rp(t)}},sI=function(e,t,s,c){s!==c&&Rp(t)};function Fh(e,t){if(!sa())switch(e.tailMode){case"hidden":{for(var s=e.tail,c=null;s!==null;)s.alternate!==null&&(c=s),s=s.sibling;c===null?e.tail=null:c.sibling=null;break}case"collapsed":{for(var p=e.tail,g=null;p!==null;)p.alternate!==null&&(g=p),p=p.sibling;g===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:g.sibling=null;break}}}function ua(e){var t=e.alternate!==null&&e.alternate.child===e.child,s=Ee,c=ht;if(t){if((e.mode&Qt)!==mt){for(var A=e.selfBaseDuration,P=e.child;P!==null;)s=Dt(s,Dt(P.lanes,P.childLanes)),c|=P.subtreeFlags&Pr,c|=P.flags&Pr,A+=P.treeBaseDuration,P=P.sibling;e.treeBaseDuration=A}else for(var B=e.child;B!==null;)s=Dt(s,Dt(B.lanes,B.childLanes)),c|=B.subtreeFlags&Pr,c|=B.flags&Pr,B.return=e,B=B.sibling;e.subtreeFlags|=c}else{if((e.mode&Qt)!==mt){for(var p=e.actualDuration,g=e.selfBaseDuration,E=e.child;E!==null;)s=Dt(s,Dt(E.lanes,E.childLanes)),c|=E.subtreeFlags,c|=E.flags,p+=E.actualDuration,g+=E.treeBaseDuration,E=E.sibling;e.actualDuration=p,e.treeBaseDuration=g}else for(var I=e.child;I!==null;)s=Dt(s,Dt(I.lanes,I.childLanes)),c|=I.subtreeFlags,c|=I.flags,I.return=e,I=I.sibling;e.subtreeFlags|=c}return e.childLanes=s,t}function IF(e,t,s){if(dP()&&(t.mode&ut)!==mt&&(t.flags&Ot)===ht)return P1(t),vp(),t.flags|=aa|Is|Lr,!1;var c=xy(t);if(s!==null&&s.dehydrated!==null)if(e===null){if(!c)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(cP(t),ua(t),(t.mode&Qt)!==mt){var p=s!==null;if(p){var g=t.child;g!==null&&(t.treeBaseDuration-=g.treeBaseDuration)}}return!1}else{if(vp(),(t.flags&Ot)===ht&&(t.memoizedState=null),t.flags|=st,ua(t),(t.mode&Qt)!==mt){var E=s!==null;if(E){var I=t.child;I!==null&&(t.treeBaseDuration-=I.treeBaseDuration)}}return!1}else return F1(),!0}function lI(e,t,s){var c=t.pendingProps;switch(ax(t),t.tag){case R:case Re:case q:case C:case H:case _:case L:case z:case F:case J:return ua(t),null;case x:{var p=t.type;return Us(p)&&hy(t),ua(t),null}case T:{var g=t.stateNode;if(yp(t),ex(t),Ux(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),e===null||e.child===null){var E=xy(t);if(E)Rp(t);else if(e!==null){var I=e.memoizedState;(!I.isDehydrated||(t.flags&aa)!==ht)&&(t.flags|=vr,F1())}}return jS(e,t),ua(t),null}case N:{Vx(t);var A=oT(),P=t.type;if(e!==null&&t.stateNode!=null)oI(e,t,P,c,A),e.ref!==t.ref&&aI(t);else{if(!c){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 ua(t),null}var B=Fx(),te=xy(t);if(te)lP(t,A,B)&&Rp(t);else{var K=YM(P,c,A,B,t);iI(K,t,!1,!1),t.stateNode=K,JM(K,P,c,A)&&Rp(t)}t.ref!==null&&aI(t)}return ua(t),null}case O:{var ce=c;if(e&&t.stateNode!=null){var de=e.memoizedProps;sI(e,t,de,ce)}else{if(typeof ce!="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 be=oT(),qe=Fx(),gt=xy(t);gt?uP(t)&&Rp(t):t.stateNode=QM(ce,be,qe,t)}return ua(t),null}case U:{Cp(t);var ct=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Wt=IF(e,t,ct);if(!Wt)return t.flags&Lr?t:null}if((t.flags&Ot)!==ht)return t.lanes=s,(t.mode&Qt)!==mt&&vS(t),t;var Ht=ct!==null,ie=e!==null&&e.memoizedState!==null;if(Ht!==ie&&Ht){var Ce=t.child;if(Ce.flags|=Ts,(t.mode&ut)!==mt){var oe=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!re);oe||Bx(es.current,uT)?NV():JS()}}var Fe=t.updateQueue;if(Fe!==null&&(t.flags|=st),ua(t),(t.mode&Qt)!==mt&&Ht){var Qe=t.child;Qe!==null&&(t.treeBaseDuration-=Qe.treeBaseDuration)}return null}case j:return yp(t),jS(e,t),e===null&&GL(t.stateNode.containerInfo),ua(t),null;case V:var Xe=t.type._context;return px(Xe,t),ua(t),null;case he:{var Tt=t.type;return Us(Tt)&&hy(t),ua(t),null}case fe:{Cp(t);var jt=t.memoizedState;if(jt===null)return ua(t),null;var Sn=(t.flags&Ot)!==ht,rn=jt.rendering;if(rn===null)if(Sn)Fh(jt,!1);else{var Er=OV()&&(e===null||(e.flags&Ot)===ht);if(!Er)for(var an=t.child;an!==null;){var mr=Fy(an);if(mr!==null){Sn=!0,t.flags|=Ot,Fh(jt,!1);var Pa=mr.updateQueue;return Pa!==null&&(t.updateQueue=Pa,t.flags|=st),t.subtreeFlags=ht,OP(t,s),nc(t,zx(es.current,Ih)),t.child}an=an.sibling}jt.tail!==null&&hr()>_I()&&(t.flags|=Ot,Sn=!0,Fh(jt,!1),t.lanes=Lv)}else{if(!Sn){var va=Fy(rn);if(va!==null){t.flags|=Ot,Sn=!0;var Wi=va.updateQueue;if(Wi!==null&&(t.updateQueue=Wi,t.flags|=st),Fh(jt,!0),jt.tail===null&&jt.tailMode==="hidden"&&!rn.alternate&&!sa())return ua(t),null}else hr()*2-jt.renderingStartTime>_I()&&s!==Ja&&(t.flags|=Ot,Sn=!0,Fh(jt,!1),t.lanes=Lv)}if(jt.isBackwards)rn.sibling=t.child,t.child=rn;else{var ei=jt.last;ei!==null?ei.sibling=rn:t.child=rn,jt.last=rn}}if(jt.tail!==null){var ti=jt.tail;jt.rendering=ti,jt.tail=ti.sibling,jt.renderingStartTime=hr(),ti.sibling=null;var Fa=es.current;return Sn?Fa=zx(Fa,Ih):Fa=bp(Fa),nc(t,Fa),ti}return ua(t),null}case Oe:break;case Te:case xe:{ZS(t);var Xl=t.memoizedState,Dp=Xl!==null;if(e!==null){var em=e.memoizedState,qs=em!==null;qs!==Dp&&!Y&&(t.flags|=Ts)}return!Dp||(t.mode&ut)===mt?ua(t):ja(Js,Ja)&&(ua(t),t.subtreeFlags&(In|st)&&(t.flags|=Ts)),null}case je:return null;case Le: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 NF(e,t,s){switch(ax(t),t.tag){case x:{var c=t.type;Us(c)&&hy(t);var p=t.flags;return p&Lr?(t.flags=p&~Lr|Ot,(t.mode&Qt)!==mt&&vS(t),t):null}case T:{t.stateNode,yp(t),ex(t),Ux();var g=t.flags;return(g&Lr)!==ht&&(g&Ot)===ht?(t.flags=g&~Lr|Ot,t):null}case N:return Vx(t),null;case U:{Cp(t);var E=t.memoizedState;if(E!==null&&E.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.");vp()}var I=t.flags;return I&Lr?(t.flags=I&~Lr|Ot,(t.mode&Qt)!==mt&&vS(t),t):null}case fe:return Cp(t),null;case j:return yp(t),null;case V:var A=t.type._context;return px(A,t),null;case Te:case xe:return ZS(t),null;case je:return null;default:return null}}function uI(e,t,s){switch(ax(t),t.tag){case x:{var c=t.type.childContextTypes;c!=null&&hy(t);break}case T:{t.stateNode,yp(t),ex(t),Ux();break}case N:{Vx(t);break}case j:yp(t);break;case U:Cp(t);break;case fe:Cp(t);break;case V:var p=t.type._context;px(p,t);break;case Te:case xe:ZS(t);break}}var cI=null;cI=new Set;var sb=!1,ca=!1,_F=typeof WeakSet=="function"?WeakSet:Set,at=null,Tp=null,Ip=null;function OF(e){zi(null,function(){throw e}),Ho()}var AF=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Qt)try{Ys(),t.componentWillUnmount()}finally{Xs(e)}else t.componentWillUnmount()};function fI(e,t){try{ic(Br,e)}catch(s){Hn(e,t,s)}}function DS(e,t,s){try{AF(e,s)}catch(c){Hn(e,t,c)}}function jF(e,t,s){try{s.componentDidMount()}catch(c){Hn(e,t,c)}}function dI(e,t){try{vI(e)}catch(s){Hn(e,t,s)}}function Np(e,t){var s=e.ref;if(s!==null)if(typeof s=="function"){var c;try{if(ve&&we&&e.mode&Qt)try{Ys(),c=s(null)}finally{Xs(e)}else c=s(null)}catch(p){Hn(e,t,p)}typeof c=="function"&&v("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Nt(e))}else s.current=null}function lb(e,t,s){try{s()}catch(c){Hn(e,t,c)}}var pI=!1;function DF(e,t){WM(e.containerInfo),at=t,kF();var s=pI;return pI=!1,s}function kF(){for(;at!==null;){var e=at,t=e.child;(e.subtreeFlags&Ra)!==ht&&t!==null?(t.return=e,at=t):MF()}}function MF(){for(;at!==null;){var e=at;Xn(e);try{LF(e)}catch(s){Hn(e,e.return,s)}Fn();var t=e.sibling;if(t!==null){t.return=e.return,at=t;return}at=e.return}}function LF(e){var t=e.alternate,s=e.flags;if((s&vr)!==ht){switch(Xn(e),e.tag){case C:case H:case q:break;case x:{if(t!==null){var c=t.memoizedProps,p=t.memoizedState,g=e.stateNode;e.type===e.elementType&&!kf&&(g.props!==e.memoizedProps&&v("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.",Nt(e)||"instance"),g.state!==e.memoizedState&&v("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.",Nt(e)||"instance"));var E=g.getSnapshotBeforeUpdate(e.elementType===e.type?c:Ko(e.type,c),p);{var I=cI;E===void 0&&!I.has(e.type)&&(I.add(e.type),v("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Nt(e)))}g.__reactInternalSnapshotBeforeUpdate=E}break}case T:{{var A=e.stateNode;gL(A.containerInfo)}break}case N:case O:case j:case he: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.")}Fn()}}function rs(e,t,s){var c=t.updateQueue,p=c!==null?c.lastEffect:null;if(p!==null){var g=p.next,E=g;do{if((E.tag&e)===e){var I=E.destroy;E.destroy=void 0,I!==void 0&&((e&la)!==wi?gg(t):(e&Br)!==wi&&wu(t),(e&$s)!==wi&&qh(!0),lb(t,s,I),(e&$s)!==wi&&qh(!1),(e&la)!==wi?yg():(e&Br)!==wi&&qc())}E=E.next}while(E!==g)}}function ic(e,t){var s=t.updateQueue,c=s!==null?s.lastEffect:null;if(c!==null){var p=c.next,g=p;do{if((g.tag&e)===e){(e&la)!==wi?jv(t):(e&Br)!==wi&&bg(t);var E=g.create;(e&$s)!==wi&&qh(!0),g.destroy=E(),(e&$s)!==wi&&qh(!1),(e&la)!==wi?gd():(e&Br)!==wi&&Dv();{var I=g.destroy;if(I!==void 0&&typeof I!="function"){var A=void 0;(g.tag&Br)!==ht?A="useLayoutEffect":(g.tag&$s)!==ht?A="useInsertionEffect":A="useEffect";var P=void 0;I===null?P=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof I.then=="function"?P=`
192
192
 
193
193
  It looks like you wrote `+A+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
194
194
 
@@ -201,11 +201,11 @@ It looks like you wrote `+A+`(async () => ...) or returned a Promise. Instead, w
201
201
  fetchData();
202
202
  }, [someId]); // Or [] if effect doesn't need props or state
203
203
 
204
- Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:P=" You returned: "+I,v("%s must not return anything besides a function, which is used for clean-up.%s",A,P)}}}g=g.next}while(g!==p)}}function PF(e,t){if((t.flags&st)!==ht)switch(t.tag){case z:{var s=t.stateNode.passiveEffectDuration,c=t.memoizedProps,p=c.id,g=c.onPostCommit,E=MT(),I=t.alternate===null?"mount":"update";kT()&&(I="nested-update"),typeof g=="function"&&g(p,I,s,E);var A=t.return;e:for(;A!==null;){switch(A.tag){case T:var P=A.stateNode;P.passiveEffectDuration+=s;break e;case z:var B=A.stateNode;B.passiveEffectDuration+=s;break e}A=A.return}break}}}function FF(e,t,s,c){if((s.flags&Ui)!==ht)switch(s.tag){case C:case H:case q:{if(!ca)if(s.mode&Qt)try{Xs(),ac(Br|Vr,s)}finally{Ws(s)}else ac(Br|Vr,s);break}case x:{var p=s.stateNode;if(s.flags&st&&!ca)if(t===null)if(s.type===s.elementType&&!Df&&(p.props!==s.memoizedProps&&v("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.",Nt(s)||"instance"),p.state!==s.memoizedState&&v("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.",Nt(s)||"instance")),s.mode&Qt)try{Xs(),p.componentDidMount()}finally{Ws(s)}else p.componentDidMount();else{var g=s.elementType===s.type?t.memoizedProps:Qo(s.type,t.memoizedProps),E=t.memoizedState;if(s.type===s.elementType&&!Df&&(p.props!==s.memoizedProps&&v("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.",Nt(s)||"instance"),p.state!==s.memoizedState&&v("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.",Nt(s)||"instance")),s.mode&Qt)try{Xs(),p.componentDidUpdate(g,E,p.__reactInternalSnapshotBeforeUpdate)}finally{Ws(s)}else p.componentDidUpdate(g,E,p.__reactInternalSnapshotBeforeUpdate)}var I=s.updateQueue;I!==null&&(s.type===s.elementType&&!Df&&(p.props!==s.memoizedProps&&v("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.",Nt(s)||"instance"),p.state!==s.memoizedState&&v("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.",Nt(s)||"instance")),Y1(s,I,p));break}case T:{var A=s.updateQueue;if(A!==null){var P=null;if(s.child!==null)switch(s.child.tag){case N:P=s.child.stateNode;break;case x:P=s.child.stateNode;break}Y1(s,A,P)}break}case N:{var B=s.stateNode;if(t===null&&s.flags&st){var te=s.type,K=s.memoizedProps;rL(B,te,K)}break}case O:break;case j:break;case z:{{var ce=s.memoizedProps,de=ce.onCommit,be=ce.onRender,qe=s.stateNode.effectDuration,gt=MT(),ct=t===null?"mount":"update";kT()&&(ct="nested-update"),typeof be=="function"&&be(s.memoizedProps.id,ct,s.actualDuration,s.treeBaseDuration,s.actualStartTime,gt);{typeof de=="function"&&de(s.memoizedProps.id,ct,qe,gt),MV(s);var Wt=s.return;e:for(;Wt!==null;){switch(Wt.tag){case T:var Ht=Wt.stateNode;Ht.effectDuration+=qe;break e;case z:var ie=Wt.stateNode;ie.effectDuration+=qe;break e}Wt=Wt.return}}}break}case U:{WF(e,s);break}case fe:case he:case Oe:case Te:case xe:case Le: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.")}ca||s.flags&Wa&&vI(s)}function VF(e){switch(e.tag){case C:case H:case q:{if(e.mode&Qt)try{Xs(),fI(e,e.return)}finally{Ws(e)}else fI(e,e.return);break}case x:{var t=e.stateNode;typeof t.componentDidMount=="function"&&jF(e,e.return,t),dI(e,e.return);break}case N:{dI(e,e.return);break}}}function BF(e,t){for(var s=null,c=e;;){if(c.tag===N){if(s===null){s=c;try{var p=c.stateNode;t?pL(p):hL(c.stateNode,c.memoizedProps)}catch(E){Hn(e,e.return,E)}}}else if(c.tag===O){if(s===null)try{var g=c.stateNode;t?vL(g):mL(g,c.memoizedProps)}catch(E){Hn(e,e.return,E)}}else if(!((c.tag===Te||c.tag===xe)&&c.memoizedState!==null&&c!==e)){if(c.child!==null){c.child.return=c,c=c.child;continue}}if(c===e)return;for(;c.sibling===null;){if(c.return===null||c.return===e)return;s===c&&(s=null),c=c.return}s===c&&(s=null),c.sibling.return=c.return,c=c.sibling}}function vI(e){var t=e.ref;if(t!==null){var s=e.stateNode,c;switch(e.tag){case N:c=s;break;default:c=s}if(typeof t=="function"){var p;if(e.mode&Qt)try{Xs(),p=t(c)}finally{Ws(e)}else p=t(c);typeof p=="function"&&v("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Nt(e))}else t.hasOwnProperty("current")||v("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Nt(e)),t.current=c}}function zF(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function hI(e){var t=e.alternate;t!==null&&(e.alternate=null,hI(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===N){var s=e.stateNode;s!==null&&YL(s)}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 HF(e){for(var t=e.return;t!==null;){if(mI(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 mI(e){return e.tag===N||e.tag===T||e.tag===j}function gI(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||mI(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==N&&t.tag!==O&&t.tag!==ge;){if(t.flags&In||t.child===null||t.tag===j)continue e;t.child.return=t,t=t.child}if(!(t.flags&In))return t.stateNode}}function UF(e){var t=HF(e);switch(t.tag){case N:{var s=t.stateNode;t.flags&ci&&(y1(s),t.flags&=~ci);var c=gI(e);MS(e,c,s);break}case T:case j:{var p=t.stateNode.containerInfo,g=gI(e);kS(e,g,p);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function kS(e,t,s){var c=e.tag,p=c===N||c===O;if(p){var g=e.stateNode;t?uL(s,g,t):sL(s,g)}else if(c!==j){var E=e.child;if(E!==null){kS(E,t,s);for(var I=E.sibling;I!==null;)kS(I,t,s),I=I.sibling}}}function MS(e,t,s){var c=e.tag,p=c===N||c===O;if(p){var g=e.stateNode;t?lL(s,g,t):oL(s,g)}else if(c!==j){var E=e.child;if(E!==null){MS(E,t,s);for(var I=E.sibling;I!==null;)MS(I,t,s),I=I.sibling}}}var fa=null,rs=!1;function $F(e,t,s){{var c=t;e:for(;c!==null;){switch(c.tag){case N:{fa=c.stateNode,rs=!1;break e}case T:{fa=c.stateNode.containerInfo,rs=!0;break e}case j:{fa=c.stateNode.containerInfo,rs=!0;break e}}c=c.return}if(fa===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");yI(e,t,s),fa=null,rs=!1}zF(s)}function ic(e,t,s){for(var c=s.child;c!==null;)yI(e,t,c),c=c.sibling}function yI(e,t,s){switch(hg(s),s.tag){case N:ca||Ip(s,t);case O:{{var c=fa,p=rs;fa=null,ic(e,t,s),fa=c,rs=p,fa!==null&&(rs?fL(fa,s.stateNode):cL(fa,s.stateNode))}return}case ge:{fa!==null&&(rs?dL(fa,s.stateNode):WC(fa,s.stateNode));return}case j:{{var g=fa,E=rs;fa=s.stateNode.containerInfo,rs=!0,ic(e,t,s),fa=g,rs=E}return}case C:case H:case J:case q:{if(!ca){var I=s.updateQueue;if(I!==null){var A=I.lastEffect;if(A!==null){var P=A.next,B=P;do{var te=B,K=te.destroy,ce=te.tag;K!==void 0&&((ce&Us)!==wi?lb(s,t,K):(ce&Br)!==wi&&(Eu(s),s.mode&Qt?(Xs(),lb(s,t,K),Ws(s)):lb(s,t,K),Jc())),B=B.next}while(B!==P)}}}ic(e,t,s);return}case x:{if(!ca){Ip(s,t);var de=s.stateNode;typeof de.componentWillUnmount=="function"&&DS(s,t,de)}ic(e,t,s);return}case Oe:{ic(e,t,s);return}case Te:{if(s.mode&ut){var be=ca;ca=be||s.memoizedState!==null,ic(e,t,s),ca=be}else ic(e,t,s);break}default:{ic(e,t,s);return}}}function GF(e){e.memoizedState}function WF(e,t){var s=t.memoizedState;if(s===null){var c=t.alternate;if(c!==null){var p=c.memoizedState;if(p!==null){var g=p.dehydrated;g!==null&&AL(g)}}}}function bI(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new _F),t.forEach(function(c){var p=HV.bind(null,e,c);if(!s.has(c)){if(s.add(c),Za)if(Rp!==null&&Tp!==null)Jh(Tp,Rp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");c.then(p,p)}})}}function XF(e,t,s){Rp=s,Tp=e,Xn(t),CI(t,e),Xn(t),Rp=null,Tp=null}function as(e,t,s){var c=t.deletions;if(c!==null)for(var p=0;p<c.length;p++){var g=c[p];try{$F(e,t,g)}catch(A){Hn(g,t,A)}}var E=Nc();if(t.subtreeFlags&Ta)for(var I=t.child;I!==null;)Xn(I),CI(I,e),I=I.sibling;Xn(E)}function CI(e,t,s){var c=e.alternate,p=e.flags;switch(e.tag){case C:case H:case J:case q:{if(as(t,e),Ys(e),p&st){try{ns(Us|Vr,e,e.return),ac(Us|Vr,e)}catch(Tt){Hn(e,e.return,Tt)}if(e.mode&Qt){try{Xs(),ns(Br|Vr,e,e.return)}catch(Tt){Hn(e,e.return,Tt)}Ws(e)}else try{ns(Br|Vr,e,e.return)}catch(Tt){Hn(e,e.return,Tt)}}return}case x:{as(t,e),Ys(e),p&Wa&&c!==null&&Ip(c,c.return);return}case N:{as(t,e),Ys(e),p&Wa&&c!==null&&Ip(c,c.return);{if(e.flags&ci){var g=e.stateNode;try{y1(g)}catch(Tt){Hn(e,e.return,Tt)}}if(p&st){var E=e.stateNode;if(E!=null){var I=e.memoizedProps,A=c!==null?c.memoizedProps:I,P=e.type,B=e.updateQueue;if(e.updateQueue=null,B!==null)try{aL(E,B,P,A,I,e)}catch(Tt){Hn(e,e.return,Tt)}}}}return}case O:{if(as(t,e),Ys(e),p&st){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 te=e.stateNode,K=e.memoizedProps,ce=c!==null?c.memoizedProps:K;try{iL(te,ce,K)}catch(Tt){Hn(e,e.return,Tt)}}return}case T:{if(as(t,e),Ys(e),p&st&&c!==null){var de=c.memoizedState;if(de.isDehydrated)try{OL(t.containerInfo)}catch(Tt){Hn(e,e.return,Tt)}}return}case j:{as(t,e),Ys(e);return}case U:{as(t,e),Ys(e);var be=e.child;if(be.flags&Rs){var qe=be.stateNode,gt=be.memoizedState,ct=gt!==null;if(qe.isHidden=ct,ct){var Wt=be.alternate!==null&&be.alternate.memoizedState!==null;Wt||IV()}}if(p&st){try{GF(e)}catch(Tt){Hn(e,e.return,Tt)}bI(e)}return}case Te:{var Ht=c!==null&&c.memoizedState!==null;if(e.mode&ut){var ie=ca;ca=ie||Ht,as(t,e),ca=ie}else as(t,e);if(Ys(e),p&Rs){var Ce=e.stateNode,oe=e.memoizedState,Fe=oe!==null,Qe=e;if(Ce.isHidden=Fe,Fe&&!Ht&&(Qe.mode&ut)!==mt){at=Qe;for(var Xe=Qe.child;Xe!==null;)at=Xe,ZF(Xe),Xe=Xe.sibling}BF(Qe,Fe)}return}case fe:{as(t,e),Ys(e),p&st&&bI(e);return}case Oe:return;default:{as(t,e),Ys(e);return}}}function Ys(e){var t=e.flags;if(t&In){try{UF(e)}catch(s){Hn(e,e.return,s)}e.flags&=~In}t&io&&(e.flags&=~io)}function YF(e,t,s){Rp=s,Tp=t,at=e,xI(e,t,s),Rp=null,Tp=null}function xI(e,t,s){for(var c=(e.mode&ut)!==mt;at!==null;){var p=at,g=p.child;if(p.tag===Te&&c){var E=p.memoizedState!==null,I=E||sb;if(I){LS(e,t,s);continue}else{var A=p.alternate,P=A!==null&&A.memoizedState!==null,B=P||ca,te=sb,K=ca;sb=I,ca=B,ca&&!K&&(at=p,JF(p));for(var ce=g;ce!==null;)at=ce,xI(ce,t,s),ce=ce.sibling;at=p,sb=te,ca=K,LS(e,t,s);continue}}(p.subtreeFlags&Ui)!==ht&&g!==null?(g.return=p,at=g):LS(e,t,s)}}function LS(e,t,s){for(;at!==null;){var c=at;if((c.flags&Ui)!==ht){var p=c.alternate;Xn(c);try{FF(t,p,c,s)}catch(E){Hn(c,c.return,E)}Fn()}if(c===e){at=null;return}var g=c.sibling;if(g!==null){g.return=c.return,at=g;return}at=c.return}}function ZF(e){for(;at!==null;){var t=at,s=t.child;switch(t.tag){case C:case H:case J:case q:{if(t.mode&Qt)try{Xs(),ns(Br,t,t.return)}finally{Ws(t)}else ns(Br,t,t.return);break}case x:{Ip(t,t.return);var c=t.stateNode;typeof c.componentWillUnmount=="function"&&DS(t,t.return,c);break}case N:{Ip(t,t.return);break}case Te:{var p=t.memoizedState!==null;if(p){SI(e);continue}break}}s!==null?(s.return=t,at=s):SI(e)}}function SI(e){for(;at!==null;){var t=at;if(t===e){at=null;return}var s=t.sibling;if(s!==null){s.return=t.return,at=s;return}at=t.return}}function JF(e){for(;at!==null;){var t=at,s=t.child;if(t.tag===Te){var c=t.memoizedState!==null;if(c){EI(e);continue}}s!==null?(s.return=t,at=s):EI(e)}}function EI(e){for(;at!==null;){var t=at;Xn(t);try{VF(t)}catch(c){Hn(t,t.return,c)}if(Fn(),t===e){at=null;return}var s=t.sibling;if(s!==null){s.return=t.return,at=s;return}at=t.return}}function qF(e,t,s,c){at=t,QF(t,e,s,c)}function QF(e,t,s,c){for(;at!==null;){var p=at,g=p.child;(p.subtreeFlags&Ia)!==ht&&g!==null?(g.return=p,at=g):KF(e,t,s,c)}}function KF(e,t,s,c){for(;at!==null;){var p=at;if((p.flags&wa)!==ht){Xn(p);try{eV(t,p,s,c)}catch(E){Hn(p,p.return,E)}Fn()}if(p===e){at=null;return}var g=p.sibling;if(g!==null){g.return=p.return,at=g;return}at=p.return}}function eV(e,t,s,c){switch(t.tag){case C:case H:case q:{if(t.mode&Qt){pS();try{ac(la|Vr,t)}finally{dS(t)}}else ac(la|Vr,t);break}}}function tV(e){at=e,nV()}function nV(){for(;at!==null;){var e=at,t=e.child;if((at.flags&tn)!==ht){var s=e.deletions;if(s!==null){for(var c=0;c<s.length;c++){var p=s[c];at=p,iV(p,e)}{var g=e.alternate;if(g!==null){var E=g.child;if(E!==null){g.child=null;do{var I=E.sibling;E.sibling=null,E=I}while(E!==null)}}}at=e}}(e.subtreeFlags&Ia)!==ht&&t!==null?(t.return=e,at=t):rV()}}function rV(){for(;at!==null;){var e=at;(e.flags&wa)!==ht&&(Xn(e),aV(e),Fn());var t=e.sibling;if(t!==null){t.return=e.return,at=t;return}at=e.return}}function aV(e){switch(e.tag){case C:case H:case q:{e.mode&Qt?(pS(),ns(la|Vr,e,e.return),dS(e)):ns(la|Vr,e,e.return);break}}}function iV(e,t){for(;at!==null;){var s=at;Xn(s),sV(s,t),Fn();var c=s.child;c!==null?(c.return=s,at=c):oV(e)}}function oV(e){for(;at!==null;){var t=at,s=t.sibling,c=t.return;if(hI(t),t===e){at=null;return}if(s!==null){s.return=c,at=s;return}at=c}}function sV(e,t){switch(e.tag){case C:case H:case q:{e.mode&Qt?(pS(),ns(la,e,t),dS(e)):ns(la,e,t);break}}}function lV(e){switch(e.tag){case C:case H:case q:{try{ac(Br|Vr,e)}catch(s){Hn(e,e.return,s)}break}case x:{var t=e.stateNode;try{t.componentDidMount()}catch(s){Hn(e,e.return,s)}break}}}function uV(e){switch(e.tag){case C:case H:case q:{try{ac(la|Vr,e)}catch(t){Hn(e,e.return,t)}break}}}function cV(e){switch(e.tag){case C:case H:case q:{try{ns(Br|Vr,e,e.return)}catch(s){Hn(e,e.return,s)}break}case x:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&DS(e,e.return,t);break}}}function fV(e){switch(e.tag){case C:case H:case q:try{ns(la|Vr,e,e.return)}catch(t){Hn(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Vh=Symbol.for;Vh("selector.component"),Vh("selector.has_pseudo_class"),Vh("selector.role"),Vh("selector.test_id"),Vh("selector.text")}var dV=[];function pV(){dV.forEach(function(e){return e()})}var vV=u.ReactCurrentActQueue;function hV(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,s=typeof jest<"u";return s&&t!==!1}}function wI(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&vV.current!==null&&v("The current testing environment is not configured to support act(...)"),e}}var mV=Math.ceil,PS=u.ReactCurrentDispatcher,FS=u.ReactCurrentOwner,da=u.ReactCurrentBatchConfig,is=u.ReactCurrentActQueue,Ur=0,RI=1,pa=2,Co=4,Hl=0,Bh=1,kf=2,ub=3,zh=4,TI=5,VS=6,Gt=Ur,Qa=null,fr=null,$r=Ee,Zs=Ee,BS=Zu(Ee),Gr=Hl,Hh=null,cb=Ee,Uh=Ee,fb=Ee,$h=null,Ri=null,zS=0,II=500,NI=1/0,gV=500,Ul=null;function Gh(){NI=hr()+gV}function _I(){return NI}var db=!1,HS=null,Np=null,Mf=!1,oc=null,Wh=Ee,US=[],$S=null,yV=50,Xh=0,GS=null,WS=!1,pb=!1,bV=50,_p=0,vb=null,Yh=Mn,hb=Ee,OI=!1;function mb(){return Qa}function Ka(){return(Gt&(pa|Co))!==Ur?hr():(Yh!==Mn||(Yh=hr()),Yh)}function sc(e){var t=e.mode;if((t&ut)===mt)return bt;if((Gt&pa)!==Ur&&$r!==Ee)return Ou($r);var s=hP()!==vP;if(s){if(da.transition!==null){var c=da.transition;c._updatedFibers||(c._updatedFibers=new Set),c._updatedFibers.add(e)}return hb===sr&&(hb=Ng()),hb}var p=gi();if(p!==sr)return p;var g=KM();return g}function CV(e){var t=e.mode;return(t&ut)===mt?bt:Aa()}function Wr(e,t,s,c){$V(),OI&&v("useInsertionEffect must not schedule updates."),WS&&(pb=!0),Nl(e,s,c),(Gt&pa)!==Ee&&e===Qa?XV(t):(Za&&Ld(e,t,s),YV(t),e===Qa&&((Gt&pa)===Ur&&(Uh=Dt(Uh,s)),Gr===zh&&lc(e,$r)),Ti(e,c),s===bt&&Gt===Ur&&(t.mode&ut)===mt&&!is.isBatchingLegacy&&(Gh(),_1()))}function xV(e,t,s){var c=e.current;c.lanes=t,Nl(e,t,s),Ti(e,s)}function SV(e){return(Gt&pa)!==Ur}function Ti(e,t){var s=e.callbackNode;fC(e,t);var c=af(e,e===Qa?$r:Ee);if(c===Ee){s!==null&&WI(s),e.callbackNode=null,e.callbackPriority=sr;return}var p=lr(c),g=e.callbackPriority;if(g===p&&!(is.current!==null&&s!==KS)){s==null&&g!==bt&&v("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}s!=null&&WI(s);var E;if(p===bt)e.tag===Ju?(is.isBatchingLegacy!==null&&(is.didScheduleLegacyUpdate=!0),qL(DI.bind(null,e))):N1(DI.bind(null,e)),is.current!==null?is.current.push(qu):tL(function(){(Gt&(pa|Co))===Ur&&qu()}),E=null;else{var I;switch(Fr(c)){case ur:I=Na;break;case Go:I=Cu;break;case co:I=so;break;case Au:I=Yc;break;default:I=so;break}E=eE(I,AI.bind(null,e))}e.callbackPriority=p,e.callbackNode=E}function AI(e,t){if($P(),Yh=Mn,hb=Ee,(Gt&(pa|Co))!==Ur)throw new Error("Should not already be working.");var s=e.callbackNode,c=Gl();if(c&&e.callbackNode!==s)return null;var p=af(e,e===Qa?$r:Ee);if(p===Ee)return null;var g=!sf(e,p)&&!Ig(e,p)&&!t,E=g?jV(e,p):yb(e,p);if(E!==Hl){if(E===kf){var I=Ms(e);I!==Ee&&(p=I,E=XS(e,I))}if(E===Bh){var A=Hh;throw Lf(e,Ee),lc(e,p),Ti(e,hr()),A}if(E===VS)lc(e,p);else{var P=!sf(e,p),B=e.current.alternate;if(P&&!wV(B)){if(E=yb(e,p),E===kf){var te=Ms(e);te!==Ee&&(p=te,E=XS(e,te))}if(E===Bh){var K=Hh;throw Lf(e,Ee),lc(e,p),Ti(e,hr()),K}}e.finishedWork=B,e.finishedLanes=p,EV(e,E,p)}}return Ti(e,hr()),e.callbackNode===s?AI.bind(null,e):null}function XS(e,t){var s=$h;if(Pd(e)){var c=Lf(e,t);c.flags|=aa,$L(e.containerInfo)}var p=yb(e,t);if(p!==kf){var g=Ri;Ri=s,g!==null&&jI(g)}return p}function jI(e){Ri===null?Ri=e:Ri.push.apply(Ri,e)}function EV(e,t,s){switch(t){case Hl:case Bh:throw new Error("Root did not complete. This is a bug in React.");case kf:{Pf(e,Ri,Ul);break}case ub:{if(lc(e,s),wg(s)&&!XI()){var c=zS+II-hr();if(c>10){var p=af(e,Ee);if(p!==Ee)break;var g=e.suspendedLanes;if(!Il(g,s)){Ka(),kd(e,g);break}e.timeoutHandle=$C(Pf.bind(null,e,Ri,Ul),c);break}}Pf(e,Ri,Ul);break}case zh:{if(lc(e,s),Tg(s))break;if(!XI()){var E=Ad(e,s),I=E,A=hr()-I,P=UV(A)-A;if(P>10){e.timeoutHandle=$C(Pf.bind(null,e,Ri,Ul),P);break}}Pf(e,Ri,Ul);break}case TI:{Pf(e,Ri,Ul);break}default:throw new Error("Unknown root exit status.")}}function wV(e){for(var t=e;;){if(t.flags&ml){var s=t.updateQueue;if(s!==null){var c=s.stores;if(c!==null)for(var p=0;p<c.length;p++){var g=c[p],E=g.getSnapshot,I=g.value;try{if(!rt(E(),I))return!1}catch{return!1}}}}var A=t.child;if(t.subtreeFlags&ml&&A!==null){A.return=t,t=A;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 lc(e,t){t=lf(t,fb),t=lf(t,Uh),Og(e,t)}function DI(e){if(GP(),(Gt&(pa|Co))!==Ur)throw new Error("Should not already be working.");Gl();var t=af(e,Ee);if(!ja(t,bt))return Ti(e,hr()),null;var s=yb(e,t);if(e.tag!==Ju&&s===kf){var c=Ms(e);c!==Ee&&(t=c,s=XS(e,c))}if(s===Bh){var p=Hh;throw Lf(e,Ee),lc(e,t),Ti(e,hr()),p}if(s===VS)throw new Error("Root did not complete. This is a bug in React.");var g=e.current.alternate;return e.finishedWork=g,e.finishedLanes=t,Pf(e,Ri,Ul),Ti(e,hr()),null}function RV(e,t){t!==Ee&&(Bv(e,Dt(t,bt)),Ti(e,hr()),(Gt&(pa|Co))===Ur&&(Gh(),qu()))}function YS(e,t){var s=Gt;Gt|=RI;try{return e(t)}finally{Gt=s,Gt===Ur&&!is.isBatchingLegacy&&(Gh(),_1())}}function TV(e,t,s,c,p){var g=gi(),E=da.transition;try{return da.transition=null,tr(ur),e(t,s,c,p)}finally{tr(g),da.transition=E,Gt===Ur&&Gh()}}function $l(e){oc!==null&&oc.tag===Ju&&(Gt&(pa|Co))===Ur&&Gl();var t=Gt;Gt|=RI;var s=da.transition,c=gi();try{return da.transition=null,tr(ur),e?e():void 0}finally{tr(c),da.transition=s,Gt=t,(Gt&(pa|Co))===Ur&&qu()}}function kI(){return(Gt&(pa|Co))!==Ur}function gb(e,t){Ma(BS,Zs,e),Zs=Dt(Zs,t)}function ZS(e){Zs=BS.current,ka(BS,e)}function Lf(e,t){e.finishedWork=null,e.finishedLanes=Ee;var s=e.timeoutHandle;if(s!==GC&&(e.timeoutHandle=GC,eL(s)),fr!==null)for(var c=fr.return;c!==null;){var p=c.alternate;uI(p,c),c=c.return}Qa=e;var g=Ff(e.current,null);return fr=g,$r=Zs=t,Gr=Hl,Hh=null,cb=Ee,Uh=Ee,fb=Ee,$h=null,Ri=null,bP(),qo.discardPendingWarnings(),g}function MI(e,t){do{var s=fr;try{if(Ry(),fT(),Fn(),FS.current=null,s===null||s.return===null){Gr=Bh,Hh=t,fr=null;return}if(ve&&s.mode&Qt&&rb(s,!0),le)if(bl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var c=t;xg(s,c,$r)}else Cg(s,t,$r);JP(e,s.return,s,t,$r),VI(s)}catch(p){t=p,fr===s&&s!==null?(s=s.return,fr=s):s=fr;continue}return}while(!0)}function LI(){var e=PS.current;return PS.current=Qy,e===null?Qy:e}function PI(e){PS.current=e}function IV(){zS=hr()}function Zh(e){cb=Dt(e,cb)}function NV(){Gr===Hl&&(Gr=ub)}function JS(){(Gr===Hl||Gr===ub||Gr===kf)&&(Gr=zh),Qa!==null&&(of(cb)||of(Uh))&&lc(Qa,$r)}function _V(e){Gr!==zh&&(Gr=kf),$h===null?$h=[e]:$h.push(e)}function OV(){return Gr===Hl}function yb(e,t){var s=Gt;Gt|=pa;var c=LI();if(Qa!==e||$r!==t){if(Za){var p=e.memoizedUpdaters;p.size>0&&(Jh(e,$r),p.clear()),zv(e,t)}Ul=cf(),Lf(e,t)}Ru(t);do try{AV();break}catch(g){MI(e,g)}while(!0);if(Ry(),Gt=s,PI(c),fr!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return js(),Qa=null,$r=Ee,Gr}function AV(){for(;fr!==null;)FI(fr)}function jV(e,t){var s=Gt;Gt|=pa;var c=LI();if(Qa!==e||$r!==t){if(Za){var p=e.memoizedUpdaters;p.size>0&&(Jh(e,$r),p.clear()),zv(e,t)}Ul=cf(),Gh(),Lf(e,t)}Ru(t);do try{DV();break}catch(g){MI(e,g)}while(!0);return Ry(),PI(c),Gt=s,fr!==null?(Qc(),Hl):(js(),Qa=null,$r=Ee,Gr)}function DV(){for(;fr!==null&&!pg();)FI(fr)}function FI(e){var t=e.alternate;Xn(e);var s;(e.mode&Qt)!==mt?(fS(e),s=qS(t,e,Zs),rb(e,!0)):s=qS(t,e,Zs),Fn(),e.memoizedProps=e.pendingProps,s===null?VI(e):fr=s,FS.current=null}function VI(e){var t=e;do{var s=t.alternate,c=t.return;if((t.flags&Ts)===ht){Xn(t);var p=void 0;if((t.mode&Qt)===mt?p=lI(s,t,Zs):(fS(t),p=lI(s,t,Zs),rb(t,!1)),Fn(),p!==null){fr=p;return}}else{var g=NF(s,t);if(g!==null){g.flags&=Ho,fr=g;return}if((t.mode&Qt)!==mt){rb(t,!1);for(var E=t.actualDuration,I=t.child;I!==null;)E+=I.actualDuration,I=I.sibling;t.actualDuration=E}if(c!==null)c.flags|=Ts,c.subtreeFlags=ht,c.deletions=null;else{Gr=VS,fr=null;return}}var A=t.sibling;if(A!==null){fr=A;return}t=c,fr=t}while(t!==null);Gr===Hl&&(Gr=TI)}function Pf(e,t,s){var c=gi(),p=da.transition;try{da.transition=null,tr(ur),kV(e,t,s,c)}finally{da.transition=p,tr(c)}return null}function kV(e,t,s,c){do Gl();while(oc!==null);if(GV(),(Gt&(pa|Co))!==Ur)throw new Error("Should not already be working.");var p=e.finishedWork,g=e.finishedLanes;if(mg(g),p===null)return Zc(),null;if(g===Ee&&v("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Ee,p===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=sr;var E=Dt(p.lanes,p.childLanes);Md(e,E),e===Qa&&(Qa=null,fr=null,$r=Ee),((p.subtreeFlags&Ia)!==ht||(p.flags&Ia)!==ht)&&(Mf||(Mf=!0,$S=s,eE(so,function(){return Gl(),null})));var I=(p.subtreeFlags&(Ra|Ta|Ui|Ia))!==ht,A=(p.flags&(Ra|Ta|Ui|Ia))!==ht;if(I||A){var P=da.transition;da.transition=null;var B=gi();tr(ur);var te=Gt;Gt|=Co,FS.current=null,DF(e,p),LT(),XF(e,p,g),XM(e.containerInfo),e.current=p,wu(g),YF(p,e,g),Sg(),bu(),Gt=te,tr(B),da.transition=P}else e.current=p,LT();var K=Mf;if(Mf?(Mf=!1,oc=e,Wh=g):(_p=0,vb=null),E=e.pendingLanes,E===Ee&&(Np=null),K||UI(e.current,!1),Os(p.stateNode,c),Za&&e.memoizedUpdaters.clear(),pV(),Ti(e,hr()),t!==null)for(var ce=e.onRecoverableError,de=0;de<t.length;de++){var be=t[de],qe=be.stack,gt=be.digest;ce(be.value,{componentStack:qe,digest:gt})}if(db){db=!1;var ct=HS;throw HS=null,ct}return ja(Wh,bt)&&e.tag!==Ju&&Gl(),E=e.pendingLanes,ja(E,bt)?(UP(),e===GS?Xh++:(Xh=0,GS=e)):Xh=0,qu(),Zc(),null}function Gl(){if(oc!==null){var e=Fr(Wh),t=hC(co,e),s=da.transition,c=gi();try{return da.transition=null,tr(t),LV()}finally{tr(c),da.transition=s}}return!1}function MV(e){US.push(e),Mf||(Mf=!0,eE(so,function(){return Gl(),null}))}function LV(){if(oc===null)return!1;var e=$S;$S=null;var t=oc,s=Wh;if(oc=null,Wh=Ee,(Gt&(pa|Co))!==Ur)throw new Error("Cannot flush passive effects while already rendering.");WS=!0,pb=!1,qc(s);var c=Gt;Gt|=Co,tV(t.current),qF(t,t.current,s,e);{var p=US;US=[];for(var g=0;g<p.length;g++){var E=p[g];PF(t,E)}}lo(),UI(t.current,!0),Gt=c,qu(),pb?t===vb?_p++:(_p=0,vb=t):_p=0,WS=!1,pb=!1,Av(t);{var I=t.current.stateNode;I.effectDuration=0,I.passiveEffectDuration=0}return!0}function BI(e){return Np!==null&&Np.has(e)}function PV(e){Np===null?Np=new Set([e]):Np.add(e)}function FV(e){db||(db=!0,HS=e)}var VV=FV;function zI(e,t,s){var c=jf(s,t),p=FT(e,c,bt),g=Ku(e,p,bt),E=Ka();g!==null&&(Nl(g,bt,E),Ti(g,E))}function Hn(e,t,s){if(OF(s),qh(!1),e.tag===T){zI(e,e,s);return}var c=null;for(c=t;c!==null;){if(c.tag===T){zI(c,e,s);return}else if(c.tag===x){var p=c.type,g=c.stateNode;if(typeof p.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&!BI(g)){var E=jf(s,e),I=gS(c,E,bt),A=Ku(c,I,bt),P=Ka();A!==null&&(Nl(A,bt,P),Ti(A,P));return}}c=c.return}v(`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.
204
+ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:P=" You returned: "+I,v("%s must not return anything besides a function, which is used for clean-up.%s",A,P)}}}g=g.next}while(g!==p)}}function PF(e,t){if((t.flags&st)!==ht)switch(t.tag){case z:{var s=t.stateNode.passiveEffectDuration,c=t.memoizedProps,p=c.id,g=c.onPostCommit,E=MT(),I=t.alternate===null?"mount":"update";kT()&&(I="nested-update"),typeof g=="function"&&g(p,I,s,E);var A=t.return;e:for(;A!==null;){switch(A.tag){case T:var P=A.stateNode;P.passiveEffectDuration+=s;break e;case z:var B=A.stateNode;B.passiveEffectDuration+=s;break e}A=A.return}break}}}function FF(e,t,s,c){if((s.flags&Ui)!==ht)switch(s.tag){case C:case H:case q:{if(!ca)if(s.mode&Qt)try{Ys(),ic(Br|Vr,s)}finally{Xs(s)}else ic(Br|Vr,s);break}case x:{var p=s.stateNode;if(s.flags&st&&!ca)if(t===null)if(s.type===s.elementType&&!kf&&(p.props!==s.memoizedProps&&v("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.",Nt(s)||"instance"),p.state!==s.memoizedState&&v("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.",Nt(s)||"instance")),s.mode&Qt)try{Ys(),p.componentDidMount()}finally{Xs(s)}else p.componentDidMount();else{var g=s.elementType===s.type?t.memoizedProps:Ko(s.type,t.memoizedProps),E=t.memoizedState;if(s.type===s.elementType&&!kf&&(p.props!==s.memoizedProps&&v("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.",Nt(s)||"instance"),p.state!==s.memoizedState&&v("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.",Nt(s)||"instance")),s.mode&Qt)try{Ys(),p.componentDidUpdate(g,E,p.__reactInternalSnapshotBeforeUpdate)}finally{Xs(s)}else p.componentDidUpdate(g,E,p.__reactInternalSnapshotBeforeUpdate)}var I=s.updateQueue;I!==null&&(s.type===s.elementType&&!kf&&(p.props!==s.memoizedProps&&v("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.",Nt(s)||"instance"),p.state!==s.memoizedState&&v("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.",Nt(s)||"instance")),Y1(s,I,p));break}case T:{var A=s.updateQueue;if(A!==null){var P=null;if(s.child!==null)switch(s.child.tag){case N:P=s.child.stateNode;break;case x:P=s.child.stateNode;break}Y1(s,A,P)}break}case N:{var B=s.stateNode;if(t===null&&s.flags&st){var te=s.type,K=s.memoizedProps;rL(B,te,K)}break}case O:break;case j:break;case z:{{var ce=s.memoizedProps,de=ce.onCommit,be=ce.onRender,qe=s.stateNode.effectDuration,gt=MT(),ct=t===null?"mount":"update";kT()&&(ct="nested-update"),typeof be=="function"&&be(s.memoizedProps.id,ct,s.actualDuration,s.treeBaseDuration,s.actualStartTime,gt);{typeof de=="function"&&de(s.memoizedProps.id,ct,qe,gt),MV(s);var Wt=s.return;e:for(;Wt!==null;){switch(Wt.tag){case T:var Ht=Wt.stateNode;Ht.effectDuration+=qe;break e;case z:var ie=Wt.stateNode;ie.effectDuration+=qe;break e}Wt=Wt.return}}}break}case U:{WF(e,s);break}case fe:case he:case Oe:case Te:case xe:case Le: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.")}ca||s.flags&Wa&&vI(s)}function VF(e){switch(e.tag){case C:case H:case q:{if(e.mode&Qt)try{Ys(),fI(e,e.return)}finally{Xs(e)}else fI(e,e.return);break}case x:{var t=e.stateNode;typeof t.componentDidMount=="function"&&jF(e,e.return,t),dI(e,e.return);break}case N:{dI(e,e.return);break}}}function BF(e,t){for(var s=null,c=e;;){if(c.tag===N){if(s===null){s=c;try{var p=c.stateNode;t?pL(p):hL(c.stateNode,c.memoizedProps)}catch(E){Hn(e,e.return,E)}}}else if(c.tag===O){if(s===null)try{var g=c.stateNode;t?vL(g):mL(g,c.memoizedProps)}catch(E){Hn(e,e.return,E)}}else if(!((c.tag===Te||c.tag===xe)&&c.memoizedState!==null&&c!==e)){if(c.child!==null){c.child.return=c,c=c.child;continue}}if(c===e)return;for(;c.sibling===null;){if(c.return===null||c.return===e)return;s===c&&(s=null),c=c.return}s===c&&(s=null),c.sibling.return=c.return,c=c.sibling}}function vI(e){var t=e.ref;if(t!==null){var s=e.stateNode,c;switch(e.tag){case N:c=s;break;default:c=s}if(typeof t=="function"){var p;if(e.mode&Qt)try{Ys(),p=t(c)}finally{Xs(e)}else p=t(c);typeof p=="function"&&v("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Nt(e))}else t.hasOwnProperty("current")||v("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Nt(e)),t.current=c}}function zF(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function hI(e){var t=e.alternate;t!==null&&(e.alternate=null,hI(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===N){var s=e.stateNode;s!==null&&YL(s)}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 HF(e){for(var t=e.return;t!==null;){if(mI(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 mI(e){return e.tag===N||e.tag===T||e.tag===j}function gI(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||mI(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==N&&t.tag!==O&&t.tag!==ge;){if(t.flags&In||t.child===null||t.tag===j)continue e;t.child.return=t,t=t.child}if(!(t.flags&In))return t.stateNode}}function UF(e){var t=HF(e);switch(t.tag){case N:{var s=t.stateNode;t.flags&ci&&(y1(s),t.flags&=~ci);var c=gI(e);MS(e,c,s);break}case T:case j:{var p=t.stateNode.containerInfo,g=gI(e);kS(e,g,p);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function kS(e,t,s){var c=e.tag,p=c===N||c===O;if(p){var g=e.stateNode;t?uL(s,g,t):sL(s,g)}else if(c!==j){var E=e.child;if(E!==null){kS(E,t,s);for(var I=E.sibling;I!==null;)kS(I,t,s),I=I.sibling}}}function MS(e,t,s){var c=e.tag,p=c===N||c===O;if(p){var g=e.stateNode;t?lL(s,g,t):oL(s,g)}else if(c!==j){var E=e.child;if(E!==null){MS(E,t,s);for(var I=E.sibling;I!==null;)MS(I,t,s),I=I.sibling}}}var fa=null,as=!1;function $F(e,t,s){{var c=t;e:for(;c!==null;){switch(c.tag){case N:{fa=c.stateNode,as=!1;break e}case T:{fa=c.stateNode.containerInfo,as=!0;break e}case j:{fa=c.stateNode.containerInfo,as=!0;break e}}c=c.return}if(fa===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");yI(e,t,s),fa=null,as=!1}zF(s)}function oc(e,t,s){for(var c=s.child;c!==null;)yI(e,t,c),c=c.sibling}function yI(e,t,s){switch(hg(s),s.tag){case N:ca||Np(s,t);case O:{{var c=fa,p=as;fa=null,oc(e,t,s),fa=c,as=p,fa!==null&&(as?fL(fa,s.stateNode):cL(fa,s.stateNode))}return}case ge:{fa!==null&&(as?dL(fa,s.stateNode):WC(fa,s.stateNode));return}case j:{{var g=fa,E=as;fa=s.stateNode.containerInfo,as=!0,oc(e,t,s),fa=g,as=E}return}case C:case H:case J:case q:{if(!ca){var I=s.updateQueue;if(I!==null){var A=I.lastEffect;if(A!==null){var P=A.next,B=P;do{var te=B,K=te.destroy,ce=te.tag;K!==void 0&&((ce&$s)!==wi?lb(s,t,K):(ce&Br)!==wi&&(wu(s),s.mode&Qt?(Ys(),lb(s,t,K),Xs(s)):lb(s,t,K),qc())),B=B.next}while(B!==P)}}}oc(e,t,s);return}case x:{if(!ca){Np(s,t);var de=s.stateNode;typeof de.componentWillUnmount=="function"&&DS(s,t,de)}oc(e,t,s);return}case Oe:{oc(e,t,s);return}case Te:{if(s.mode&ut){var be=ca;ca=be||s.memoizedState!==null,oc(e,t,s),ca=be}else oc(e,t,s);break}default:{oc(e,t,s);return}}}function GF(e){e.memoizedState}function WF(e,t){var s=t.memoizedState;if(s===null){var c=t.alternate;if(c!==null){var p=c.memoizedState;if(p!==null){var g=p.dehydrated;g!==null&&AL(g)}}}}function bI(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new _F),t.forEach(function(c){var p=HV.bind(null,e,c);if(!s.has(c)){if(s.add(c),Za)if(Tp!==null&&Ip!==null)Jh(Ip,Tp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");c.then(p,p)}})}}function XF(e,t,s){Tp=s,Ip=e,Xn(t),CI(t,e),Xn(t),Tp=null,Ip=null}function is(e,t,s){var c=t.deletions;if(c!==null)for(var p=0;p<c.length;p++){var g=c[p];try{$F(e,t,g)}catch(A){Hn(g,t,A)}}var E=_c();if(t.subtreeFlags&Ta)for(var I=t.child;I!==null;)Xn(I),CI(I,e),I=I.sibling;Xn(E)}function CI(e,t,s){var c=e.alternate,p=e.flags;switch(e.tag){case C:case H:case J:case q:{if(is(t,e),Zs(e),p&st){try{rs($s|Vr,e,e.return),ic($s|Vr,e)}catch(Tt){Hn(e,e.return,Tt)}if(e.mode&Qt){try{Ys(),rs(Br|Vr,e,e.return)}catch(Tt){Hn(e,e.return,Tt)}Xs(e)}else try{rs(Br|Vr,e,e.return)}catch(Tt){Hn(e,e.return,Tt)}}return}case x:{is(t,e),Zs(e),p&Wa&&c!==null&&Np(c,c.return);return}case N:{is(t,e),Zs(e),p&Wa&&c!==null&&Np(c,c.return);{if(e.flags&ci){var g=e.stateNode;try{y1(g)}catch(Tt){Hn(e,e.return,Tt)}}if(p&st){var E=e.stateNode;if(E!=null){var I=e.memoizedProps,A=c!==null?c.memoizedProps:I,P=e.type,B=e.updateQueue;if(e.updateQueue=null,B!==null)try{aL(E,B,P,A,I,e)}catch(Tt){Hn(e,e.return,Tt)}}}}return}case O:{if(is(t,e),Zs(e),p&st){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 te=e.stateNode,K=e.memoizedProps,ce=c!==null?c.memoizedProps:K;try{iL(te,ce,K)}catch(Tt){Hn(e,e.return,Tt)}}return}case T:{if(is(t,e),Zs(e),p&st&&c!==null){var de=c.memoizedState;if(de.isDehydrated)try{OL(t.containerInfo)}catch(Tt){Hn(e,e.return,Tt)}}return}case j:{is(t,e),Zs(e);return}case U:{is(t,e),Zs(e);var be=e.child;if(be.flags&Ts){var qe=be.stateNode,gt=be.memoizedState,ct=gt!==null;if(qe.isHidden=ct,ct){var Wt=be.alternate!==null&&be.alternate.memoizedState!==null;Wt||IV()}}if(p&st){try{GF(e)}catch(Tt){Hn(e,e.return,Tt)}bI(e)}return}case Te:{var Ht=c!==null&&c.memoizedState!==null;if(e.mode&ut){var ie=ca;ca=ie||Ht,is(t,e),ca=ie}else is(t,e);if(Zs(e),p&Ts){var Ce=e.stateNode,oe=e.memoizedState,Fe=oe!==null,Qe=e;if(Ce.isHidden=Fe,Fe&&!Ht&&(Qe.mode&ut)!==mt){at=Qe;for(var Xe=Qe.child;Xe!==null;)at=Xe,ZF(Xe),Xe=Xe.sibling}BF(Qe,Fe)}return}case fe:{is(t,e),Zs(e),p&st&&bI(e);return}case Oe:return;default:{is(t,e),Zs(e);return}}}function Zs(e){var t=e.flags;if(t&In){try{UF(e)}catch(s){Hn(e,e.return,s)}e.flags&=~In}t&io&&(e.flags&=~io)}function YF(e,t,s){Tp=s,Ip=t,at=e,xI(e,t,s),Tp=null,Ip=null}function xI(e,t,s){for(var c=(e.mode&ut)!==mt;at!==null;){var p=at,g=p.child;if(p.tag===Te&&c){var E=p.memoizedState!==null,I=E||sb;if(I){LS(e,t,s);continue}else{var A=p.alternate,P=A!==null&&A.memoizedState!==null,B=P||ca,te=sb,K=ca;sb=I,ca=B,ca&&!K&&(at=p,JF(p));for(var ce=g;ce!==null;)at=ce,xI(ce,t,s),ce=ce.sibling;at=p,sb=te,ca=K,LS(e,t,s);continue}}(p.subtreeFlags&Ui)!==ht&&g!==null?(g.return=p,at=g):LS(e,t,s)}}function LS(e,t,s){for(;at!==null;){var c=at;if((c.flags&Ui)!==ht){var p=c.alternate;Xn(c);try{FF(t,p,c,s)}catch(E){Hn(c,c.return,E)}Fn()}if(c===e){at=null;return}var g=c.sibling;if(g!==null){g.return=c.return,at=g;return}at=c.return}}function ZF(e){for(;at!==null;){var t=at,s=t.child;switch(t.tag){case C:case H:case J:case q:{if(t.mode&Qt)try{Ys(),rs(Br,t,t.return)}finally{Xs(t)}else rs(Br,t,t.return);break}case x:{Np(t,t.return);var c=t.stateNode;typeof c.componentWillUnmount=="function"&&DS(t,t.return,c);break}case N:{Np(t,t.return);break}case Te:{var p=t.memoizedState!==null;if(p){SI(e);continue}break}}s!==null?(s.return=t,at=s):SI(e)}}function SI(e){for(;at!==null;){var t=at;if(t===e){at=null;return}var s=t.sibling;if(s!==null){s.return=t.return,at=s;return}at=t.return}}function JF(e){for(;at!==null;){var t=at,s=t.child;if(t.tag===Te){var c=t.memoizedState!==null;if(c){EI(e);continue}}s!==null?(s.return=t,at=s):EI(e)}}function EI(e){for(;at!==null;){var t=at;Xn(t);try{VF(t)}catch(c){Hn(t,t.return,c)}if(Fn(),t===e){at=null;return}var s=t.sibling;if(s!==null){s.return=t.return,at=s;return}at=t.return}}function qF(e,t,s,c){at=t,QF(t,e,s,c)}function QF(e,t,s,c){for(;at!==null;){var p=at,g=p.child;(p.subtreeFlags&Ia)!==ht&&g!==null?(g.return=p,at=g):KF(e,t,s,c)}}function KF(e,t,s,c){for(;at!==null;){var p=at;if((p.flags&wa)!==ht){Xn(p);try{eV(t,p,s,c)}catch(E){Hn(p,p.return,E)}Fn()}if(p===e){at=null;return}var g=p.sibling;if(g!==null){g.return=p.return,at=g;return}at=p.return}}function eV(e,t,s,c){switch(t.tag){case C:case H:case q:{if(t.mode&Qt){pS();try{ic(la|Vr,t)}finally{dS(t)}}else ic(la|Vr,t);break}}}function tV(e){at=e,nV()}function nV(){for(;at!==null;){var e=at,t=e.child;if((at.flags&tn)!==ht){var s=e.deletions;if(s!==null){for(var c=0;c<s.length;c++){var p=s[c];at=p,iV(p,e)}{var g=e.alternate;if(g!==null){var E=g.child;if(E!==null){g.child=null;do{var I=E.sibling;E.sibling=null,E=I}while(E!==null)}}}at=e}}(e.subtreeFlags&Ia)!==ht&&t!==null?(t.return=e,at=t):rV()}}function rV(){for(;at!==null;){var e=at;(e.flags&wa)!==ht&&(Xn(e),aV(e),Fn());var t=e.sibling;if(t!==null){t.return=e.return,at=t;return}at=e.return}}function aV(e){switch(e.tag){case C:case H:case q:{e.mode&Qt?(pS(),rs(la|Vr,e,e.return),dS(e)):rs(la|Vr,e,e.return);break}}}function iV(e,t){for(;at!==null;){var s=at;Xn(s),sV(s,t),Fn();var c=s.child;c!==null?(c.return=s,at=c):oV(e)}}function oV(e){for(;at!==null;){var t=at,s=t.sibling,c=t.return;if(hI(t),t===e){at=null;return}if(s!==null){s.return=c,at=s;return}at=c}}function sV(e,t){switch(e.tag){case C:case H:case q:{e.mode&Qt?(pS(),rs(la,e,t),dS(e)):rs(la,e,t);break}}}function lV(e){switch(e.tag){case C:case H:case q:{try{ic(Br|Vr,e)}catch(s){Hn(e,e.return,s)}break}case x:{var t=e.stateNode;try{t.componentDidMount()}catch(s){Hn(e,e.return,s)}break}}}function uV(e){switch(e.tag){case C:case H:case q:{try{ic(la|Vr,e)}catch(t){Hn(e,e.return,t)}break}}}function cV(e){switch(e.tag){case C:case H:case q:{try{rs(Br|Vr,e,e.return)}catch(s){Hn(e,e.return,s)}break}case x:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&DS(e,e.return,t);break}}}function fV(e){switch(e.tag){case C:case H:case q:try{rs(la|Vr,e,e.return)}catch(t){Hn(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Vh=Symbol.for;Vh("selector.component"),Vh("selector.has_pseudo_class"),Vh("selector.role"),Vh("selector.test_id"),Vh("selector.text")}var dV=[];function pV(){dV.forEach(function(e){return e()})}var vV=u.ReactCurrentActQueue;function hV(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,s=typeof jest<"u";return s&&t!==!1}}function wI(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&vV.current!==null&&v("The current testing environment is not configured to support act(...)"),e}}var mV=Math.ceil,PS=u.ReactCurrentDispatcher,FS=u.ReactCurrentOwner,da=u.ReactCurrentBatchConfig,os=u.ReactCurrentActQueue,Ur=0,RI=1,pa=2,Co=4,Ul=0,Bh=1,Mf=2,ub=3,zh=4,TI=5,VS=6,Gt=Ur,Qa=null,fr=null,$r=Ee,Js=Ee,BS=Ju(Ee),Gr=Ul,Hh=null,cb=Ee,Uh=Ee,fb=Ee,$h=null,Ri=null,zS=0,II=500,NI=1/0,gV=500,$l=null;function Gh(){NI=hr()+gV}function _I(){return NI}var db=!1,HS=null,_p=null,Lf=!1,sc=null,Wh=Ee,US=[],$S=null,yV=50,Xh=0,GS=null,WS=!1,pb=!1,bV=50,Op=0,vb=null,Yh=Mn,hb=Ee,OI=!1;function mb(){return Qa}function Ka(){return(Gt&(pa|Co))!==Ur?hr():(Yh!==Mn||(Yh=hr()),Yh)}function lc(e){var t=e.mode;if((t&ut)===mt)return bt;if((Gt&pa)!==Ur&&$r!==Ee)return Au($r);var s=hP()!==vP;if(s){if(da.transition!==null){var c=da.transition;c._updatedFibers||(c._updatedFibers=new Set),c._updatedFibers.add(e)}return hb===sr&&(hb=Ng()),hb}var p=gi();if(p!==sr)return p;var g=KM();return g}function CV(e){var t=e.mode;return(t&ut)===mt?bt:Aa()}function Wr(e,t,s,c){$V(),OI&&v("useInsertionEffect must not schedule updates."),WS&&(pb=!0),_l(e,s,c),(Gt&pa)!==Ee&&e===Qa?XV(t):(Za&&Pd(e,t,s),YV(t),e===Qa&&((Gt&pa)===Ur&&(Uh=Dt(Uh,s)),Gr===zh&&uc(e,$r)),Ti(e,c),s===bt&&Gt===Ur&&(t.mode&ut)===mt&&!os.isBatchingLegacy&&(Gh(),_1()))}function xV(e,t,s){var c=e.current;c.lanes=t,_l(e,t,s),Ti(e,s)}function SV(e){return(Gt&pa)!==Ur}function Ti(e,t){var s=e.callbackNode;fC(e,t);var c=of(e,e===Qa?$r:Ee);if(c===Ee){s!==null&&WI(s),e.callbackNode=null,e.callbackPriority=sr;return}var p=lr(c),g=e.callbackPriority;if(g===p&&!(os.current!==null&&s!==KS)){s==null&&g!==bt&&v("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}s!=null&&WI(s);var E;if(p===bt)e.tag===qu?(os.isBatchingLegacy!==null&&(os.didScheduleLegacyUpdate=!0),qL(DI.bind(null,e))):N1(DI.bind(null,e)),os.current!==null?os.current.push(Qu):tL(function(){(Gt&(pa|Co))===Ur&&Qu()}),E=null;else{var I;switch(Fr(c)){case ur:I=Na;break;case Wo:I=xu;break;case co:I=so;break;case ju:I=Zc;break;default:I=so;break}E=eE(I,AI.bind(null,e))}e.callbackPriority=p,e.callbackNode=E}function AI(e,t){if($P(),Yh=Mn,hb=Ee,(Gt&(pa|Co))!==Ur)throw new Error("Should not already be working.");var s=e.callbackNode,c=Wl();if(c&&e.callbackNode!==s)return null;var p=of(e,e===Qa?$r:Ee);if(p===Ee)return null;var g=!lf(e,p)&&!Ig(e,p)&&!t,E=g?jV(e,p):yb(e,p);if(E!==Ul){if(E===Mf){var I=Ls(e);I!==Ee&&(p=I,E=XS(e,I))}if(E===Bh){var A=Hh;throw Pf(e,Ee),uc(e,p),Ti(e,hr()),A}if(E===VS)uc(e,p);else{var P=!lf(e,p),B=e.current.alternate;if(P&&!wV(B)){if(E=yb(e,p),E===Mf){var te=Ls(e);te!==Ee&&(p=te,E=XS(e,te))}if(E===Bh){var K=Hh;throw Pf(e,Ee),uc(e,p),Ti(e,hr()),K}}e.finishedWork=B,e.finishedLanes=p,EV(e,E,p)}}return Ti(e,hr()),e.callbackNode===s?AI.bind(null,e):null}function XS(e,t){var s=$h;if(Fd(e)){var c=Pf(e,t);c.flags|=aa,$L(e.containerInfo)}var p=yb(e,t);if(p!==Mf){var g=Ri;Ri=s,g!==null&&jI(g)}return p}function jI(e){Ri===null?Ri=e:Ri.push.apply(Ri,e)}function EV(e,t,s){switch(t){case Ul:case Bh:throw new Error("Root did not complete. This is a bug in React.");case Mf:{Ff(e,Ri,$l);break}case ub:{if(uc(e,s),wg(s)&&!XI()){var c=zS+II-hr();if(c>10){var p=of(e,Ee);if(p!==Ee)break;var g=e.suspendedLanes;if(!Nl(g,s)){Ka(),Md(e,g);break}e.timeoutHandle=$C(Ff.bind(null,e,Ri,$l),c);break}}Ff(e,Ri,$l);break}case zh:{if(uc(e,s),Tg(s))break;if(!XI()){var E=jd(e,s),I=E,A=hr()-I,P=UV(A)-A;if(P>10){e.timeoutHandle=$C(Ff.bind(null,e,Ri,$l),P);break}}Ff(e,Ri,$l);break}case TI:{Ff(e,Ri,$l);break}default:throw new Error("Unknown root exit status.")}}function wV(e){for(var t=e;;){if(t.flags&gl){var s=t.updateQueue;if(s!==null){var c=s.stores;if(c!==null)for(var p=0;p<c.length;p++){var g=c[p],E=g.getSnapshot,I=g.value;try{if(!rt(E(),I))return!1}catch{return!1}}}}var A=t.child;if(t.subtreeFlags&gl&&A!==null){A.return=t,t=A;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 uc(e,t){t=uf(t,fb),t=uf(t,Uh),Og(e,t)}function DI(e){if(GP(),(Gt&(pa|Co))!==Ur)throw new Error("Should not already be working.");Wl();var t=of(e,Ee);if(!ja(t,bt))return Ti(e,hr()),null;var s=yb(e,t);if(e.tag!==qu&&s===Mf){var c=Ls(e);c!==Ee&&(t=c,s=XS(e,c))}if(s===Bh){var p=Hh;throw Pf(e,Ee),uc(e,t),Ti(e,hr()),p}if(s===VS)throw new Error("Root did not complete. This is a bug in React.");var g=e.current.alternate;return e.finishedWork=g,e.finishedLanes=t,Ff(e,Ri,$l),Ti(e,hr()),null}function RV(e,t){t!==Ee&&(Bv(e,Dt(t,bt)),Ti(e,hr()),(Gt&(pa|Co))===Ur&&(Gh(),Qu()))}function YS(e,t){var s=Gt;Gt|=RI;try{return e(t)}finally{Gt=s,Gt===Ur&&!os.isBatchingLegacy&&(Gh(),_1())}}function TV(e,t,s,c,p){var g=gi(),E=da.transition;try{return da.transition=null,tr(ur),e(t,s,c,p)}finally{tr(g),da.transition=E,Gt===Ur&&Gh()}}function Gl(e){sc!==null&&sc.tag===qu&&(Gt&(pa|Co))===Ur&&Wl();var t=Gt;Gt|=RI;var s=da.transition,c=gi();try{return da.transition=null,tr(ur),e?e():void 0}finally{tr(c),da.transition=s,Gt=t,(Gt&(pa|Co))===Ur&&Qu()}}function kI(){return(Gt&(pa|Co))!==Ur}function gb(e,t){Ma(BS,Js,e),Js=Dt(Js,t)}function ZS(e){Js=BS.current,ka(BS,e)}function Pf(e,t){e.finishedWork=null,e.finishedLanes=Ee;var s=e.timeoutHandle;if(s!==GC&&(e.timeoutHandle=GC,eL(s)),fr!==null)for(var c=fr.return;c!==null;){var p=c.alternate;uI(p,c),c=c.return}Qa=e;var g=Vf(e.current,null);return fr=g,$r=Js=t,Gr=Ul,Hh=null,cb=Ee,Uh=Ee,fb=Ee,$h=null,Ri=null,bP(),Qo.discardPendingWarnings(),g}function MI(e,t){do{var s=fr;try{if(Ry(),fT(),Fn(),FS.current=null,s===null||s.return===null){Gr=Bh,Hh=t,fr=null;return}if(ve&&s.mode&Qt&&rb(s,!0),le)if(Cl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var c=t;xg(s,c,$r)}else Cg(s,t,$r);JP(e,s.return,s,t,$r),VI(s)}catch(p){t=p,fr===s&&s!==null?(s=s.return,fr=s):s=fr;continue}return}while(!0)}function LI(){var e=PS.current;return PS.current=Qy,e===null?Qy:e}function PI(e){PS.current=e}function IV(){zS=hr()}function Zh(e){cb=Dt(e,cb)}function NV(){Gr===Ul&&(Gr=ub)}function JS(){(Gr===Ul||Gr===ub||Gr===Mf)&&(Gr=zh),Qa!==null&&(sf(cb)||sf(Uh))&&uc(Qa,$r)}function _V(e){Gr!==zh&&(Gr=Mf),$h===null?$h=[e]:$h.push(e)}function OV(){return Gr===Ul}function yb(e,t){var s=Gt;Gt|=pa;var c=LI();if(Qa!==e||$r!==t){if(Za){var p=e.memoizedUpdaters;p.size>0&&(Jh(e,$r),p.clear()),zv(e,t)}$l=ff(),Pf(e,t)}Tu(t);do try{AV();break}catch(g){MI(e,g)}while(!0);if(Ry(),Gt=s,PI(c),fr!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Ds(),Qa=null,$r=Ee,Gr}function AV(){for(;fr!==null;)FI(fr)}function jV(e,t){var s=Gt;Gt|=pa;var c=LI();if(Qa!==e||$r!==t){if(Za){var p=e.memoizedUpdaters;p.size>0&&(Jh(e,$r),p.clear()),zv(e,t)}$l=ff(),Gh(),Pf(e,t)}Tu(t);do try{DV();break}catch(g){MI(e,g)}while(!0);return Ry(),PI(c),Gt=s,fr!==null?(Kc(),Ul):(Ds(),Qa=null,$r=Ee,Gr)}function DV(){for(;fr!==null&&!pg();)FI(fr)}function FI(e){var t=e.alternate;Xn(e);var s;(e.mode&Qt)!==mt?(fS(e),s=qS(t,e,Js),rb(e,!0)):s=qS(t,e,Js),Fn(),e.memoizedProps=e.pendingProps,s===null?VI(e):fr=s,FS.current=null}function VI(e){var t=e;do{var s=t.alternate,c=t.return;if((t.flags&Is)===ht){Xn(t);var p=void 0;if((t.mode&Qt)===mt?p=lI(s,t,Js):(fS(t),p=lI(s,t,Js),rb(t,!1)),Fn(),p!==null){fr=p;return}}else{var g=NF(s,t);if(g!==null){g.flags&=Uo,fr=g;return}if((t.mode&Qt)!==mt){rb(t,!1);for(var E=t.actualDuration,I=t.child;I!==null;)E+=I.actualDuration,I=I.sibling;t.actualDuration=E}if(c!==null)c.flags|=Is,c.subtreeFlags=ht,c.deletions=null;else{Gr=VS,fr=null;return}}var A=t.sibling;if(A!==null){fr=A;return}t=c,fr=t}while(t!==null);Gr===Ul&&(Gr=TI)}function Ff(e,t,s){var c=gi(),p=da.transition;try{da.transition=null,tr(ur),kV(e,t,s,c)}finally{da.transition=p,tr(c)}return null}function kV(e,t,s,c){do Wl();while(sc!==null);if(GV(),(Gt&(pa|Co))!==Ur)throw new Error("Should not already be working.");var p=e.finishedWork,g=e.finishedLanes;if(mg(g),p===null)return Jc(),null;if(g===Ee&&v("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Ee,p===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=sr;var E=Dt(p.lanes,p.childLanes);Ld(e,E),e===Qa&&(Qa=null,fr=null,$r=Ee),((p.subtreeFlags&Ia)!==ht||(p.flags&Ia)!==ht)&&(Lf||(Lf=!0,$S=s,eE(so,function(){return Wl(),null})));var I=(p.subtreeFlags&(Ra|Ta|Ui|Ia))!==ht,A=(p.flags&(Ra|Ta|Ui|Ia))!==ht;if(I||A){var P=da.transition;da.transition=null;var B=gi();tr(ur);var te=Gt;Gt|=Co,FS.current=null,DF(e,p),LT(),XF(e,p,g),XM(e.containerInfo),e.current=p,Ru(g),YF(p,e,g),Sg(),Cu(),Gt=te,tr(B),da.transition=P}else e.current=p,LT();var K=Lf;if(Lf?(Lf=!1,sc=e,Wh=g):(Op=0,vb=null),E=e.pendingLanes,E===Ee&&(_p=null),K||UI(e.current,!1),As(p.stateNode,c),Za&&e.memoizedUpdaters.clear(),pV(),Ti(e,hr()),t!==null)for(var ce=e.onRecoverableError,de=0;de<t.length;de++){var be=t[de],qe=be.stack,gt=be.digest;ce(be.value,{componentStack:qe,digest:gt})}if(db){db=!1;var ct=HS;throw HS=null,ct}return ja(Wh,bt)&&e.tag!==qu&&Wl(),E=e.pendingLanes,ja(E,bt)?(UP(),e===GS?Xh++:(Xh=0,GS=e)):Xh=0,Qu(),Jc(),null}function Wl(){if(sc!==null){var e=Fr(Wh),t=hC(co,e),s=da.transition,c=gi();try{return da.transition=null,tr(t),LV()}finally{tr(c),da.transition=s}}return!1}function MV(e){US.push(e),Lf||(Lf=!0,eE(so,function(){return Wl(),null}))}function LV(){if(sc===null)return!1;var e=$S;$S=null;var t=sc,s=Wh;if(sc=null,Wh=Ee,(Gt&(pa|Co))!==Ur)throw new Error("Cannot flush passive effects while already rendering.");WS=!0,pb=!1,Qc(s);var c=Gt;Gt|=Co,tV(t.current),qF(t,t.current,s,e);{var p=US;US=[];for(var g=0;g<p.length;g++){var E=p[g];PF(t,E)}}lo(),UI(t.current,!0),Gt=c,Qu(),pb?t===vb?Op++:(Op=0,vb=t):Op=0,WS=!1,pb=!1,Av(t);{var I=t.current.stateNode;I.effectDuration=0,I.passiveEffectDuration=0}return!0}function BI(e){return _p!==null&&_p.has(e)}function PV(e){_p===null?_p=new Set([e]):_p.add(e)}function FV(e){db||(db=!0,HS=e)}var VV=FV;function zI(e,t,s){var c=Df(s,t),p=FT(e,c,bt),g=ec(e,p,bt),E=Ka();g!==null&&(_l(g,bt,E),Ti(g,E))}function Hn(e,t,s){if(OF(s),qh(!1),e.tag===T){zI(e,e,s);return}var c=null;for(c=t;c!==null;){if(c.tag===T){zI(c,e,s);return}else if(c.tag===x){var p=c.type,g=c.stateNode;if(typeof p.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&!BI(g)){var E=Df(s,e),I=gS(c,E,bt),A=ec(c,I,bt),P=Ka();A!==null&&(_l(A,bt,P),Ti(A,P));return}}c=c.return}v(`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.
205
205
 
206
206
  Error message:
207
207
 
208
- %s`,s)}function BV(e,t,s){var c=e.pingCache;c!==null&&c.delete(t);var p=Ka();kd(e,s),ZV(e),Qa===e&&Il($r,s)&&(Gr===zh||Gr===ub&&wg($r)&&hr()-zS<II?Lf(e,Ee):fb=Dt(fb,s)),Ti(e,p)}function HI(e,t){t===sr&&(t=CV(e));var s=Ka(),c=Ei(e,t);c!==null&&(Nl(c,t,s),Ti(c,s))}function zV(e){var t=e.memoizedState,s=sr;t!==null&&(s=t.retryLane),HI(e,s)}function HV(e,t){var s=sr,c;switch(e.tag){case U:c=e.stateNode;var p=e.memoizedState;p!==null&&(s=p.retryLane);break;case fe:c=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}c!==null&&c.delete(t),HI(e,s)}function UV(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:mV(e/1960)*1960}function $V(){if(Xh>yV)throw Xh=0,GS=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.");_p>bV&&(_p=0,vb=null,v("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 GV(){qo.flushLegacyContextWarning(),qo.flushPendingUnsafeLifecycleWarnings()}function UI(e,t){Xn(e),bb(e,di,cV),t&&bb(e,gl,fV),bb(e,di,lV),t&&bb(e,gl,uV),Fn()}function bb(e,t,s){for(var c=e,p=null;c!==null;){var g=c.subtreeFlags&t;c!==p&&c.child!==null&&g!==ht?c=c.child:((c.flags&t)!==ht&&s(c),c.sibling!==null?c=c.sibling:c=p=c.return)}}var Cb=null;function $I(e){{if((Gt&pa)!==Ur||!(e.mode&ut))return;var t=e.tag;if(t!==R&&t!==T&&t!==x&&t!==C&&t!==H&&t!==J&&t!==q)return;var s=Nt(e)||"ReactComponent";if(Cb!==null){if(Cb.has(s))return;Cb.add(s)}else Cb=new Set([s]);var c=Wn;try{Xn(e),v("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{c?Xn(e):Fn()}}}var qS;{var WV=null;qS=function(e,t,s){var c=QI(WV,t);try{return rI(e,t,s)}catch(g){if(iP()||g!==null&&typeof g=="object"&&typeof g.then=="function")throw g;if(Ry(),fT(),uI(e,t),QI(t,c),t.mode&Qt&&fS(t),zi(null,rI,null,e,t,s),lC()){var p=zo();typeof p=="object"&&p!==null&&p._suppressLogging&&typeof g=="object"&&g!==null&&!g._suppressLogging&&(g._suppressLogging=!0)}throw g}}}var GI=!1,QS;QS=new Set;function XV(e){if(xa&&!BP())switch(e.tag){case C:case H:case q:{var t=fr&&Nt(fr)||"Unknown",s=t;if(!QS.has(s)){QS.add(s);var c=Nt(e)||"Unknown";v("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",c,t,t)}break}case x:{GI||(v("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),GI=!0);break}}}function Jh(e,t){if(Za){var s=e.memoizedUpdaters;s.forEach(function(c){Ld(e,c,t)})}}var KS={};function eE(e,t){{var s=is.current;return s!==null?(s.push(t),KS):Nv(e,t)}}function WI(e){if(e!==KS)return vd(e)}function XI(){return is.current!==null}function YV(e){{if(e.mode&ut){if(!wI())return}else if(!hV()||Gt!==Ur||e.tag!==C&&e.tag!==H&&e.tag!==q)return;if(is.current===null){var t=Wn;try{Xn(e),v(`An update to %s inside a test was not wrapped in act(...).
208
+ %s`,s)}function BV(e,t,s){var c=e.pingCache;c!==null&&c.delete(t);var p=Ka();Md(e,s),ZV(e),Qa===e&&Nl($r,s)&&(Gr===zh||Gr===ub&&wg($r)&&hr()-zS<II?Pf(e,Ee):fb=Dt(fb,s)),Ti(e,p)}function HI(e,t){t===sr&&(t=CV(e));var s=Ka(),c=Ei(e,t);c!==null&&(_l(c,t,s),Ti(c,s))}function zV(e){var t=e.memoizedState,s=sr;t!==null&&(s=t.retryLane),HI(e,s)}function HV(e,t){var s=sr,c;switch(e.tag){case U:c=e.stateNode;var p=e.memoizedState;p!==null&&(s=p.retryLane);break;case fe:c=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}c!==null&&c.delete(t),HI(e,s)}function UV(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:mV(e/1960)*1960}function $V(){if(Xh>yV)throw Xh=0,GS=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.");Op>bV&&(Op=0,vb=null,v("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 GV(){Qo.flushLegacyContextWarning(),Qo.flushPendingUnsafeLifecycleWarnings()}function UI(e,t){Xn(e),bb(e,di,cV),t&&bb(e,yl,fV),bb(e,di,lV),t&&bb(e,yl,uV),Fn()}function bb(e,t,s){for(var c=e,p=null;c!==null;){var g=c.subtreeFlags&t;c!==p&&c.child!==null&&g!==ht?c=c.child:((c.flags&t)!==ht&&s(c),c.sibling!==null?c=c.sibling:c=p=c.return)}}var Cb=null;function $I(e){{if((Gt&pa)!==Ur||!(e.mode&ut))return;var t=e.tag;if(t!==R&&t!==T&&t!==x&&t!==C&&t!==H&&t!==J&&t!==q)return;var s=Nt(e)||"ReactComponent";if(Cb!==null){if(Cb.has(s))return;Cb.add(s)}else Cb=new Set([s]);var c=Wn;try{Xn(e),v("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{c?Xn(e):Fn()}}}var qS;{var WV=null;qS=function(e,t,s){var c=QI(WV,t);try{return rI(e,t,s)}catch(g){if(iP()||g!==null&&typeof g=="object"&&typeof g.then=="function")throw g;if(Ry(),fT(),uI(e,t),QI(t,c),t.mode&Qt&&fS(t),zi(null,rI,null,e,t,s),lC()){var p=Ho();typeof p=="object"&&p!==null&&p._suppressLogging&&typeof g=="object"&&g!==null&&!g._suppressLogging&&(g._suppressLogging=!0)}throw g}}}var GI=!1,QS;QS=new Set;function XV(e){if(xa&&!BP())switch(e.tag){case C:case H:case q:{var t=fr&&Nt(fr)||"Unknown",s=t;if(!QS.has(s)){QS.add(s);var c=Nt(e)||"Unknown";v("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",c,t,t)}break}case x:{GI||(v("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),GI=!0);break}}}function Jh(e,t){if(Za){var s=e.memoizedUpdaters;s.forEach(function(c){Pd(e,c,t)})}}var KS={};function eE(e,t){{var s=os.current;return s!==null?(s.push(t),KS):Nv(e,t)}}function WI(e){if(e!==KS)return hd(e)}function XI(){return os.current!==null}function YV(e){{if(e.mode&ut){if(!wI())return}else if(!hV()||Gt!==Ur||e.tag!==C&&e.tag!==H&&e.tag!==q)return;if(os.current===null){var t=Wn;try{Xn(e),v(`An update to %s inside a test was not wrapped in act(...).
209
209
 
210
210
  When testing, code that causes React state updates should be wrapped into act(...):
211
211
 
@@ -214,7 +214,7 @@ act(() => {
214
214
  });
215
215
  /* assert on the output */
216
216
 
217
- 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`,Nt(e))}finally{t?Xn(e):Fn()}}}}function ZV(e){e.tag!==Ju&&wI()&&is.current===null&&v(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
217
+ 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`,Nt(e))}finally{t?Xn(e):Fn()}}}}function ZV(e){e.tag!==qu&&wI()&&os.current===null&&v(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
218
218
 
219
219
  When testing, code that resolves suspended data should be wrapped into act(...):
220
220
 
@@ -223,29 +223,29 @@ act(() => {
223
223
  });
224
224
  /* assert on the output */
225
225
 
226
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function qh(e){OI=e}var xo=null,Op=null,JV=function(e){xo=e};function Ap(e){{if(xo===null)return e;var t=xo(e);return t===void 0?e:t.current}}function tE(e){return Ap(e)}function nE(e){{if(xo===null)return e;var t=xo(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var s=Ap(e.render);if(e.render!==s){var c={$$typeof:We,render:s};return e.displayName!==void 0&&(c.displayName=e.displayName),c}}return e}return t.current}}function YI(e,t){{if(xo===null)return!1;var s=e.elementType,c=t.type,p=!1,g=typeof c=="object"&&c!==null?c.$$typeof:null;switch(e.tag){case x:{typeof c=="function"&&(p=!0);break}case C:{(typeof c=="function"||g===vt)&&(p=!0);break}case H:{(g===We||g===vt)&&(p=!0);break}case J:case q:{(g===kt||g===vt)&&(p=!0);break}default:return!1}if(p){var E=xo(s);if(E!==void 0&&E===xo(c))return!0}return!1}}function ZI(e){{if(xo===null||typeof WeakSet!="function")return;Op===null&&(Op=new WeakSet),Op.add(e)}}var qV=function(e,t){{if(xo===null)return;var s=t.staleFamilies,c=t.updatedFamilies;Gl(),$l(function(){rE(e.current,c,s)})}},QV=function(e,t){{if(e.context!==$i)return;Gl(),$l(function(){Qh(t,e,null,null)})}};function rE(e,t,s){{var c=e.alternate,p=e.child,g=e.sibling,E=e.tag,I=e.type,A=null;switch(E){case C:case q:case x:A=I;break;case H:A=I.render;break}if(xo===null)throw new Error("Expected resolveFamily to be set during hot reload.");var P=!1,B=!1;if(A!==null){var te=xo(A);te!==void 0&&(s.has(te)?B=!0:t.has(te)&&(E===x?B=!0:P=!0))}if(Op!==null&&(Op.has(e)||c!==null&&Op.has(c))&&(B=!0),B&&(e._debugNeedsRemount=!0),B||P){var K=Ei(e,bt);K!==null&&Wr(K,e,bt,Mn)}p!==null&&!B&&rE(p,t,s),g!==null&&rE(g,t,s)}}var KV=function(e,t){{var s=new Set,c=new Set(t.map(function(p){return p.current}));return aE(e.current,c,s),s}};function aE(e,t,s){{var c=e.child,p=e.sibling,g=e.tag,E=e.type,I=null;switch(g){case C:case q:case x:I=E;break;case H:I=E.render;break}var A=!1;I!==null&&t.has(I)&&(A=!0),A?eB(e,s):c!==null&&aE(c,t,s),p!==null&&aE(p,t,s)}}function eB(e,t){{var s=tB(e,t);if(s)return;for(var c=e;;){switch(c.tag){case N:t.add(c.stateNode);return;case j:t.add(c.stateNode.containerInfo);return;case T:t.add(c.stateNode.containerInfo);return}if(c.return===null)throw new Error("Expected to reach root first.");c=c.return}}}function tB(e,t){for(var s=e,c=!1;;){if(s.tag===N)c=!0,t.add(s.stateNode);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)return c;for(;s.sibling===null;){if(s.return===null||s.return===e)return c;s=s.return}s.sibling.return=s.return,s=s.sibling}return!1}var iE;{iE=!1;try{var JI=Object.preventExtensions({})}catch{iE=!0}}function nB(e,t,s,c){this.tag=e,this.key=s,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=c,this.flags=ht,this.subtreeFlags=ht,this.deletions=null,this.lanes=Ee,this.childLanes=Ee,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,!iE&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Gi=function(e,t,s,c){return new nB(e,t,s,c)};function oE(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function rB(e){return typeof e=="function"&&!oE(e)&&e.defaultProps===void 0}function aB(e){if(typeof e=="function")return oE(e)?x:C;if(e!=null){var t=e.$$typeof;if(t===We)return H;if(t===kt)return J}return R}function Ff(e,t){var s=e.alternate;s===null?(s=Gi(e.tag,t,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s._debugSource=e._debugSource,s._debugOwner=e._debugOwner,s._debugHookTypes=e._debugHookTypes,s.alternate=e,e.alternate=s):(s.pendingProps=t,s.type=e.type,s.flags=ht,s.subtreeFlags=ht,s.deletions=null,s.actualDuration=0,s.actualStartTime=-1),s.flags=e.flags&Pr,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue;var c=e.dependencies;switch(s.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s.selfBaseDuration=e.selfBaseDuration,s.treeBaseDuration=e.treeBaseDuration,s._debugNeedsRemount=e._debugNeedsRemount,s.tag){case R:case C:case q:s.type=Ap(e.type);break;case x:s.type=tE(e.type);break;case H:s.type=nE(e.type);break}return s}function iB(e,t){e.flags&=Pr|In;var s=e.alternate;if(s===null)e.childLanes=Ee,e.lanes=t,e.child=null,e.subtreeFlags=ht,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=s.childLanes,e.lanes=s.lanes,e.child=s.child,e.subtreeFlags=ht,e.deletions=null,e.memoizedProps=s.memoizedProps,e.memoizedState=s.memoizedState,e.updateQueue=s.updateQueue,e.type=s.type;var c=s.dependencies;e.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},e.selfBaseDuration=s.selfBaseDuration,e.treeBaseDuration=s.treeBaseDuration}return e}function oB(e,t,s){var c;return e===gy?(c=ut,t===!0&&(c|=Kn,c|=hi)):c=mt,Za&&(c|=Qt),Gi(T,null,null,c)}function sE(e,t,s,c,p,g){var E=R,I=e;if(typeof e=="function")oE(e)?(E=x,I=tE(I)):I=Ap(I);else if(typeof e=="string")E=N;else e:switch(e){case Ua:return uc(s.children,p,g,t);case No:E=L,p|=Kn,(p&ut)!==mt&&(p|=hi);break;case Z:return sB(s,p,g,t);case Bt:return lB(s,p,g,t);case $t:return uB(s,p,g,t);case jn:return qI(s,p,g,t);case Yr:case pr:case Qi:case Dn:case An:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ke:E=V;break e;case Ue:E=F;break e;case We:E=H,I=nE(I);break e;case kt:E=J;break e;case vt:E=Re,I=null;break e}var A="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(A+=" 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 P=c?Nt(c):null;P&&(A+=`
226
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function qh(e){OI=e}var xo=null,Ap=null,JV=function(e){xo=e};function jp(e){{if(xo===null)return e;var t=xo(e);return t===void 0?e:t.current}}function tE(e){return jp(e)}function nE(e){{if(xo===null)return e;var t=xo(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var s=jp(e.render);if(e.render!==s){var c={$$typeof:We,render:s};return e.displayName!==void 0&&(c.displayName=e.displayName),c}}return e}return t.current}}function YI(e,t){{if(xo===null)return!1;var s=e.elementType,c=t.type,p=!1,g=typeof c=="object"&&c!==null?c.$$typeof:null;switch(e.tag){case x:{typeof c=="function"&&(p=!0);break}case C:{(typeof c=="function"||g===vt)&&(p=!0);break}case H:{(g===We||g===vt)&&(p=!0);break}case J:case q:{(g===kt||g===vt)&&(p=!0);break}default:return!1}if(p){var E=xo(s);if(E!==void 0&&E===xo(c))return!0}return!1}}function ZI(e){{if(xo===null||typeof WeakSet!="function")return;Ap===null&&(Ap=new WeakSet),Ap.add(e)}}var qV=function(e,t){{if(xo===null)return;var s=t.staleFamilies,c=t.updatedFamilies;Wl(),Gl(function(){rE(e.current,c,s)})}},QV=function(e,t){{if(e.context!==$i)return;Wl(),Gl(function(){Qh(t,e,null,null)})}};function rE(e,t,s){{var c=e.alternate,p=e.child,g=e.sibling,E=e.tag,I=e.type,A=null;switch(E){case C:case q:case x:A=I;break;case H:A=I.render;break}if(xo===null)throw new Error("Expected resolveFamily to be set during hot reload.");var P=!1,B=!1;if(A!==null){var te=xo(A);te!==void 0&&(s.has(te)?B=!0:t.has(te)&&(E===x?B=!0:P=!0))}if(Ap!==null&&(Ap.has(e)||c!==null&&Ap.has(c))&&(B=!0),B&&(e._debugNeedsRemount=!0),B||P){var K=Ei(e,bt);K!==null&&Wr(K,e,bt,Mn)}p!==null&&!B&&rE(p,t,s),g!==null&&rE(g,t,s)}}var KV=function(e,t){{var s=new Set,c=new Set(t.map(function(p){return p.current}));return aE(e.current,c,s),s}};function aE(e,t,s){{var c=e.child,p=e.sibling,g=e.tag,E=e.type,I=null;switch(g){case C:case q:case x:I=E;break;case H:I=E.render;break}var A=!1;I!==null&&t.has(I)&&(A=!0),A?eB(e,s):c!==null&&aE(c,t,s),p!==null&&aE(p,t,s)}}function eB(e,t){{var s=tB(e,t);if(s)return;for(var c=e;;){switch(c.tag){case N:t.add(c.stateNode);return;case j:t.add(c.stateNode.containerInfo);return;case T:t.add(c.stateNode.containerInfo);return}if(c.return===null)throw new Error("Expected to reach root first.");c=c.return}}}function tB(e,t){for(var s=e,c=!1;;){if(s.tag===N)c=!0,t.add(s.stateNode);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)return c;for(;s.sibling===null;){if(s.return===null||s.return===e)return c;s=s.return}s.sibling.return=s.return,s=s.sibling}return!1}var iE;{iE=!1;try{var JI=Object.preventExtensions({})}catch{iE=!0}}function nB(e,t,s,c){this.tag=e,this.key=s,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=c,this.flags=ht,this.subtreeFlags=ht,this.deletions=null,this.lanes=Ee,this.childLanes=Ee,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,!iE&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Gi=function(e,t,s,c){return new nB(e,t,s,c)};function oE(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function rB(e){return typeof e=="function"&&!oE(e)&&e.defaultProps===void 0}function aB(e){if(typeof e=="function")return oE(e)?x:C;if(e!=null){var t=e.$$typeof;if(t===We)return H;if(t===kt)return J}return R}function Vf(e,t){var s=e.alternate;s===null?(s=Gi(e.tag,t,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s._debugSource=e._debugSource,s._debugOwner=e._debugOwner,s._debugHookTypes=e._debugHookTypes,s.alternate=e,e.alternate=s):(s.pendingProps=t,s.type=e.type,s.flags=ht,s.subtreeFlags=ht,s.deletions=null,s.actualDuration=0,s.actualStartTime=-1),s.flags=e.flags&Pr,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue;var c=e.dependencies;switch(s.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s.selfBaseDuration=e.selfBaseDuration,s.treeBaseDuration=e.treeBaseDuration,s._debugNeedsRemount=e._debugNeedsRemount,s.tag){case R:case C:case q:s.type=jp(e.type);break;case x:s.type=tE(e.type);break;case H:s.type=nE(e.type);break}return s}function iB(e,t){e.flags&=Pr|In;var s=e.alternate;if(s===null)e.childLanes=Ee,e.lanes=t,e.child=null,e.subtreeFlags=ht,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=s.childLanes,e.lanes=s.lanes,e.child=s.child,e.subtreeFlags=ht,e.deletions=null,e.memoizedProps=s.memoizedProps,e.memoizedState=s.memoizedState,e.updateQueue=s.updateQueue,e.type=s.type;var c=s.dependencies;e.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},e.selfBaseDuration=s.selfBaseDuration,e.treeBaseDuration=s.treeBaseDuration}return e}function oB(e,t,s){var c;return e===gy?(c=ut,t===!0&&(c|=Kn,c|=hi)):c=mt,Za&&(c|=Qt),Gi(T,null,null,c)}function sE(e,t,s,c,p,g){var E=R,I=e;if(typeof e=="function")oE(e)?(E=x,I=tE(I)):I=jp(I);else if(typeof e=="string")E=N;else e:switch(e){case Ua:return cc(s.children,p,g,t);case _o:E=L,p|=Kn,(p&ut)!==mt&&(p|=hi);break;case Z:return sB(s,p,g,t);case Bt:return lB(s,p,g,t);case $t:return uB(s,p,g,t);case jn:return qI(s,p,g,t);case Yr:case pr:case Qi:case Dn:case An:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ke:E=V;break e;case Ue:E=F;break e;case We:E=H,I=nE(I);break e;case kt:E=J;break e;case vt:E=Re,I=null;break e}var A="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(A+=" 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 P=c?Nt(c):null;P&&(A+=`
227
227
 
228
- Check the render method of \``+P+"`.")}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)+"."+A))}}var B=Gi(E,s,t,p);return B.elementType=e,B.type=I,B.lanes=g,B._debugOwner=c,B}function lE(e,t,s){var c=null;c=e._owner;var p=e.type,g=e.key,E=e.props,I=sE(p,g,E,c,t,s);return I._debugSource=e._source,I._debugOwner=e._owner,I}function uc(e,t,s,c){var p=Gi(_,e,c,t);return p.lanes=s,p}function sB(e,t,s,c){typeof e.id!="string"&&v('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var p=Gi(z,e,c,t|Qt);return p.elementType=Z,p.lanes=s,p.stateNode={effectDuration:0,passiveEffectDuration:0},p}function lB(e,t,s,c){var p=Gi(U,e,c,t);return p.elementType=Bt,p.lanes=s,p}function uB(e,t,s,c){var p=Gi(fe,e,c,t);return p.elementType=$t,p.lanes=s,p}function qI(e,t,s,c){var p=Gi(Te,e,c,t);p.elementType=jn,p.lanes=s;var g={isHidden:!1};return p.stateNode=g,p}function uE(e,t,s){var c=Gi(O,e,null,t);return c.lanes=s,c}function cB(){var e=Gi(N,null,null,mt);return e.elementType="DELETED",e}function fB(e){var t=Gi(ge,null,null,mt);return t.stateNode=e,t}function cE(e,t,s){var c=e.children!==null?e.children:[],p=Gi(j,c,e.key,t);return p.lanes=s,p.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},p}function QI(e,t){return e===null&&(e=Gi(R,null,null,mt)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function dB(e,t,s,c,p){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=GC,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=sr,this.eventTimes=uf(Ee),this.expirationTimes=uf(Mn),this.pendingLanes=Ee,this.suspendedLanes=Ee,this.pingedLanes=Ee,this.expiredLanes=Ee,this.mutableReadLanes=Ee,this.finishedLanes=Ee,this.entangledLanes=Ee,this.entanglements=uf(Ee),this.identifierPrefix=c,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var g=this.pendingUpdatersLaneMap=[],E=0;E<or;E++)g.push(new Set)}switch(t){case gy:this._debugRootType=s?"hydrateRoot()":"createRoot()";break;case Ju:this._debugRootType=s?"hydrate()":"render()";break}}function KI(e,t,s,c,p,g,E,I,A,P){var B=new dB(e,t,s,I,A),te=oB(t,g);B.current=te,te.stateNode=B;{var K={element:c,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null};te.memoizedState=K}return yx(te),B}var fE="18.2.0";function pB(e,t,s){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Vt(c),{$$typeof:ya,key:c==null?null:""+c,children:e,containerInfo:t,implementation:s}}var dE,pE;dE=!1,pE={};function eN(e){if(!e)return $i;var t=ao(e),s=JL(t);if(t.tag===x){var c=t.type;if(Hs(c))return T1(t,c,s)}return s}function vB(e,t){{var s=ao(e);if(s===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var c=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+c)}var p=Rv(s);if(p===null)return null;if(p.mode&Kn){var g=Nt(s)||"Component";if(!pE[g]){pE[g]=!0;var E=Wn;try{Xn(p),s.mode&Kn?v("%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,g):v("%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,g)}finally{E?Xn(E):Fn()}}}return p.stateNode}}function tN(e,t,s,c,p,g,E,I){var A=!1,P=null;return KI(e,t,A,P,s,c,p,g,E)}function nN(e,t,s,c,p,g,E,I,A,P){var B=!0,te=KI(s,c,B,e,p,g,E,I,A);te.context=eN(null);var K=te.current,ce=Ka(),de=sc(K),be=Bl(ce,de);return be.callback=t??null,Ku(K,be,de),xV(te,de,ce),te}function Qh(e,t,s,c){Uo(t,e);var p=t.current,g=Ka(),E=sc(p);kv(E);var I=eN(s);t.context===null?t.context=I:t.pendingContext=I,xa&&Wn!==null&&!dE&&(dE=!0,v(`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.
228
+ Check the render method of \``+P+"`.")}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)+"."+A))}}var B=Gi(E,s,t,p);return B.elementType=e,B.type=I,B.lanes=g,B._debugOwner=c,B}function lE(e,t,s){var c=null;c=e._owner;var p=e.type,g=e.key,E=e.props,I=sE(p,g,E,c,t,s);return I._debugSource=e._source,I._debugOwner=e._owner,I}function cc(e,t,s,c){var p=Gi(_,e,c,t);return p.lanes=s,p}function sB(e,t,s,c){typeof e.id!="string"&&v('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var p=Gi(z,e,c,t|Qt);return p.elementType=Z,p.lanes=s,p.stateNode={effectDuration:0,passiveEffectDuration:0},p}function lB(e,t,s,c){var p=Gi(U,e,c,t);return p.elementType=Bt,p.lanes=s,p}function uB(e,t,s,c){var p=Gi(fe,e,c,t);return p.elementType=$t,p.lanes=s,p}function qI(e,t,s,c){var p=Gi(Te,e,c,t);p.elementType=jn,p.lanes=s;var g={isHidden:!1};return p.stateNode=g,p}function uE(e,t,s){var c=Gi(O,e,null,t);return c.lanes=s,c}function cB(){var e=Gi(N,null,null,mt);return e.elementType="DELETED",e}function fB(e){var t=Gi(ge,null,null,mt);return t.stateNode=e,t}function cE(e,t,s){var c=e.children!==null?e.children:[],p=Gi(j,c,e.key,t);return p.lanes=s,p.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},p}function QI(e,t){return e===null&&(e=Gi(R,null,null,mt)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function dB(e,t,s,c,p){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=GC,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=sr,this.eventTimes=cf(Ee),this.expirationTimes=cf(Mn),this.pendingLanes=Ee,this.suspendedLanes=Ee,this.pingedLanes=Ee,this.expiredLanes=Ee,this.mutableReadLanes=Ee,this.finishedLanes=Ee,this.entangledLanes=Ee,this.entanglements=cf(Ee),this.identifierPrefix=c,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var g=this.pendingUpdatersLaneMap=[],E=0;E<or;E++)g.push(new Set)}switch(t){case gy:this._debugRootType=s?"hydrateRoot()":"createRoot()";break;case qu:this._debugRootType=s?"hydrate()":"render()";break}}function KI(e,t,s,c,p,g,E,I,A,P){var B=new dB(e,t,s,I,A),te=oB(t,g);B.current=te,te.stateNode=B;{var K={element:c,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null};te.memoizedState=K}return yx(te),B}var fE="18.2.0";function pB(e,t,s){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Vt(c),{$$typeof:ya,key:c==null?null:""+c,children:e,containerInfo:t,implementation:s}}var dE,pE;dE=!1,pE={};function eN(e){if(!e)return $i;var t=ao(e),s=JL(t);if(t.tag===x){var c=t.type;if(Us(c))return T1(t,c,s)}return s}function vB(e,t){{var s=ao(e);if(s===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var c=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+c)}var p=Rv(s);if(p===null)return null;if(p.mode&Kn){var g=Nt(s)||"Component";if(!pE[g]){pE[g]=!0;var E=Wn;try{Xn(p),s.mode&Kn?v("%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,g):v("%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,g)}finally{E?Xn(E):Fn()}}}return p.stateNode}}function tN(e,t,s,c,p,g,E,I){var A=!1,P=null;return KI(e,t,A,P,s,c,p,g,E)}function nN(e,t,s,c,p,g,E,I,A,P){var B=!0,te=KI(s,c,B,e,p,g,E,I,A);te.context=eN(null);var K=te.current,ce=Ka(),de=lc(K),be=zl(ce,de);return be.callback=t??null,ec(K,be,de),xV(te,de,ce),te}function Qh(e,t,s,c){$o(t,e);var p=t.current,g=Ka(),E=lc(p);kv(E);var I=eN(s);t.context===null?t.context=I:t.pendingContext=I,xa&&Wn!==null&&!dE&&(dE=!0,v(`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.
229
229
 
230
- Check the render method of %s.`,Nt(Wn)||"Unknown"));var A=Bl(g,E);A.payload={element:e},c=c===void 0?null:c,c!==null&&(typeof c!="function"&&v("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",c),A.callback=c);var P=Ku(p,A,E);return P!==null&&(Wr(P,p,E,g),Oy(P,p,E)),E}function xb(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case N:return t.child.stateNode;default:return t.child.stateNode}}function hB(e){switch(e.tag){case T:{var t=e.stateNode;if(Pd(t)){var s=dC(t);RV(t,s)}break}case U:{$l(function(){var p=Ei(e,bt);if(p!==null){var g=Ka();Wr(p,e,bt,g)}});var c=bt;vE(e,c);break}}}function rN(e,t){var s=e.memoizedState;s!==null&&s.dehydrated!==null&&(s.retryLane=_g(s.retryLane,t))}function vE(e,t){rN(e,t);var s=e.alternate;s&&rN(s,t)}function mB(e){if(e.tag===U){var t=Tl,s=Ei(e,t);if(s!==null){var c=Ka();Wr(s,e,t,c)}vE(e,t)}}function gB(e){if(e.tag===U){var t=sc(e),s=Ei(e,t);if(s!==null){var c=Ka();Wr(s,e,t,c)}vE(e,t)}}function aN(e){var t=Iv(e);return t===null?null:t.stateNode}var iN=function(e){return null};function yB(e){return iN(e)}var oN=function(e){return!1};function bB(e){return oN(e)}var sN=null,lN=null,uN=null,cN=null,fN=null,dN=null,pN=null,vN=null,hN=null;{var mN=function(e,t,s){var c=t[s],p=Zt(e)?e.slice():Lt({},e);return s+1===t.length?(Zt(p)?p.splice(c,1):delete p[c],p):(p[c]=mN(e[c],t,s+1),p)},gN=function(e,t){return mN(e,t,0)},yN=function(e,t,s,c){var p=t[c],g=Zt(e)?e.slice():Lt({},e);if(c+1===t.length){var E=s[c];g[E]=g[p],Zt(g)?g.splice(p,1):delete g[p]}else g[p]=yN(e[p],t,s,c+1);return g},bN=function(e,t,s){if(t.length!==s.length){h("copyWithRename() expects paths of the same length");return}else for(var c=0;c<s.length-1;c++)if(t[c]!==s[c]){h("copyWithRename() expects paths to be the same except for the deepest key");return}return yN(e,t,s,0)},CN=function(e,t,s,c){if(s>=t.length)return c;var p=t[s],g=Zt(e)?e.slice():Lt({},e);return g[p]=CN(e[p],t,s+1,c),g},xN=function(e,t,s){return CN(e,t,0,s)},hE=function(e,t){for(var s=e.memoizedState;s!==null&&t>0;)s=s.next,t--;return s};sN=function(e,t,s,c){var p=hE(e,t);if(p!==null){var g=xN(p.memoizedState,s,c);p.memoizedState=g,p.baseState=g,e.memoizedProps=Lt({},e.memoizedProps);var E=Ei(e,bt);E!==null&&Wr(E,e,bt,Mn)}},lN=function(e,t,s){var c=hE(e,t);if(c!==null){var p=gN(c.memoizedState,s);c.memoizedState=p,c.baseState=p,e.memoizedProps=Lt({},e.memoizedProps);var g=Ei(e,bt);g!==null&&Wr(g,e,bt,Mn)}},uN=function(e,t,s,c){var p=hE(e,t);if(p!==null){var g=bN(p.memoizedState,s,c);p.memoizedState=g,p.baseState=g,e.memoizedProps=Lt({},e.memoizedProps);var E=Ei(e,bt);E!==null&&Wr(E,e,bt,Mn)}},cN=function(e,t,s){e.pendingProps=xN(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var c=Ei(e,bt);c!==null&&Wr(c,e,bt,Mn)},fN=function(e,t){e.pendingProps=gN(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var s=Ei(e,bt);s!==null&&Wr(s,e,bt,Mn)},dN=function(e,t,s){e.pendingProps=bN(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var c=Ei(e,bt);c!==null&&Wr(c,e,bt,Mn)},pN=function(e){var t=Ei(e,bt);t!==null&&Wr(t,e,bt,Mn)},vN=function(e){iN=e},hN=function(e){oN=e}}function CB(e){var t=Rv(e);return t===null?null:t.stateNode}function xB(e){return null}function SB(){return Wn}function EB(e){var t=e.findFiberByHostInstance,s=u.ReactCurrentDispatcher;return vg({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:sN,overrideHookStateDeletePath:lN,overrideHookStateRenamePath:uN,overrideProps:cN,overridePropsDeletePath:fN,overridePropsRenamePath:dN,setErrorHandler:vN,setSuspenseHandler:hN,scheduleUpdate:pN,currentDispatcherRef:s,findHostInstanceByFiber:CB,findFiberByHostInstance:t||xB,findHostInstancesForRefresh:KV,scheduleRefresh:qV,scheduleRoot:QV,setRefreshHandler:JV,getCurrentFiber:SB,reconcilerVersion:fE})}var SN=typeof reportError=="function"?reportError:function(e){console.error(e)};function mE(e){this._internalRoot=e}Sb.prototype.render=mE.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?v("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Eb(arguments[1])?v("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]<"u"&&v("You passed a second argument to root.render(...) but it only accepts one argument.");var s=t.containerInfo;if(s.nodeType!==Qn){var c=aN(t.current);c&&c.parentNode!==s&&v("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.")}}Qh(e,t,null,null)},Sb.prototype.unmount=mE.prototype.unmount=function(){typeof arguments[0]=="function"&&v("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;kI()&&v("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."),$l(function(){Qh(null,e,null,null)}),x1(t)}};function wB(e,t){if(!Eb(e))throw new Error("createRoot(...): Target container is not a DOM element.");EN(e);var s=!1,c=!1,p="",g=SN;t!=null&&(t.hydrate?h("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===ga&&v(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
230
+ Check the render method of %s.`,Nt(Wn)||"Unknown"));var A=zl(g,E);A.payload={element:e},c=c===void 0?null:c,c!==null&&(typeof c!="function"&&v("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",c),A.callback=c);var P=ec(p,A,E);return P!==null&&(Wr(P,p,E,g),Oy(P,p,E)),E}function xb(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case N:return t.child.stateNode;default:return t.child.stateNode}}function hB(e){switch(e.tag){case T:{var t=e.stateNode;if(Fd(t)){var s=dC(t);RV(t,s)}break}case U:{Gl(function(){var p=Ei(e,bt);if(p!==null){var g=Ka();Wr(p,e,bt,g)}});var c=bt;vE(e,c);break}}}function rN(e,t){var s=e.memoizedState;s!==null&&s.dehydrated!==null&&(s.retryLane=_g(s.retryLane,t))}function vE(e,t){rN(e,t);var s=e.alternate;s&&rN(s,t)}function mB(e){if(e.tag===U){var t=Il,s=Ei(e,t);if(s!==null){var c=Ka();Wr(s,e,t,c)}vE(e,t)}}function gB(e){if(e.tag===U){var t=lc(e),s=Ei(e,t);if(s!==null){var c=Ka();Wr(s,e,t,c)}vE(e,t)}}function aN(e){var t=Iv(e);return t===null?null:t.stateNode}var iN=function(e){return null};function yB(e){return iN(e)}var oN=function(e){return!1};function bB(e){return oN(e)}var sN=null,lN=null,uN=null,cN=null,fN=null,dN=null,pN=null,vN=null,hN=null;{var mN=function(e,t,s){var c=t[s],p=Zt(e)?e.slice():Lt({},e);return s+1===t.length?(Zt(p)?p.splice(c,1):delete p[c],p):(p[c]=mN(e[c],t,s+1),p)},gN=function(e,t){return mN(e,t,0)},yN=function(e,t,s,c){var p=t[c],g=Zt(e)?e.slice():Lt({},e);if(c+1===t.length){var E=s[c];g[E]=g[p],Zt(g)?g.splice(p,1):delete g[p]}else g[p]=yN(e[p],t,s,c+1);return g},bN=function(e,t,s){if(t.length!==s.length){h("copyWithRename() expects paths of the same length");return}else for(var c=0;c<s.length-1;c++)if(t[c]!==s[c]){h("copyWithRename() expects paths to be the same except for the deepest key");return}return yN(e,t,s,0)},CN=function(e,t,s,c){if(s>=t.length)return c;var p=t[s],g=Zt(e)?e.slice():Lt({},e);return g[p]=CN(e[p],t,s+1,c),g},xN=function(e,t,s){return CN(e,t,0,s)},hE=function(e,t){for(var s=e.memoizedState;s!==null&&t>0;)s=s.next,t--;return s};sN=function(e,t,s,c){var p=hE(e,t);if(p!==null){var g=xN(p.memoizedState,s,c);p.memoizedState=g,p.baseState=g,e.memoizedProps=Lt({},e.memoizedProps);var E=Ei(e,bt);E!==null&&Wr(E,e,bt,Mn)}},lN=function(e,t,s){var c=hE(e,t);if(c!==null){var p=gN(c.memoizedState,s);c.memoizedState=p,c.baseState=p,e.memoizedProps=Lt({},e.memoizedProps);var g=Ei(e,bt);g!==null&&Wr(g,e,bt,Mn)}},uN=function(e,t,s,c){var p=hE(e,t);if(p!==null){var g=bN(p.memoizedState,s,c);p.memoizedState=g,p.baseState=g,e.memoizedProps=Lt({},e.memoizedProps);var E=Ei(e,bt);E!==null&&Wr(E,e,bt,Mn)}},cN=function(e,t,s){e.pendingProps=xN(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var c=Ei(e,bt);c!==null&&Wr(c,e,bt,Mn)},fN=function(e,t){e.pendingProps=gN(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var s=Ei(e,bt);s!==null&&Wr(s,e,bt,Mn)},dN=function(e,t,s){e.pendingProps=bN(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var c=Ei(e,bt);c!==null&&Wr(c,e,bt,Mn)},pN=function(e){var t=Ei(e,bt);t!==null&&Wr(t,e,bt,Mn)},vN=function(e){iN=e},hN=function(e){oN=e}}function CB(e){var t=Rv(e);return t===null?null:t.stateNode}function xB(e){return null}function SB(){return Wn}function EB(e){var t=e.findFiberByHostInstance,s=u.ReactCurrentDispatcher;return vg({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:sN,overrideHookStateDeletePath:lN,overrideHookStateRenamePath:uN,overrideProps:cN,overridePropsDeletePath:fN,overridePropsRenamePath:dN,setErrorHandler:vN,setSuspenseHandler:hN,scheduleUpdate:pN,currentDispatcherRef:s,findHostInstanceByFiber:CB,findFiberByHostInstance:t||xB,findHostInstancesForRefresh:KV,scheduleRefresh:qV,scheduleRoot:QV,setRefreshHandler:JV,getCurrentFiber:SB,reconcilerVersion:fE})}var SN=typeof reportError=="function"?reportError:function(e){console.error(e)};function mE(e){this._internalRoot=e}Sb.prototype.render=mE.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?v("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Eb(arguments[1])?v("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]<"u"&&v("You passed a second argument to root.render(...) but it only accepts one argument.");var s=t.containerInfo;if(s.nodeType!==Qn){var c=aN(t.current);c&&c.parentNode!==s&&v("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.")}}Qh(e,t,null,null)},Sb.prototype.unmount=mE.prototype.unmount=function(){typeof arguments[0]=="function"&&v("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;kI()&&v("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."),Gl(function(){Qh(null,e,null,null)}),x1(t)}};function wB(e,t){if(!Eb(e))throw new Error("createRoot(...): Target container is not a DOM element.");EN(e);var s=!1,c=!1,p="",g=SN;t!=null&&(t.hydrate?h("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===ga&&v(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
231
231
 
232
232
  let root = createRoot(domContainer);
233
- root.render(<App />);`),t.unstable_strictMode===!0&&(s=!0),t.identifierPrefix!==void 0&&(p=t.identifierPrefix),t.onRecoverableError!==void 0&&(g=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var E=tN(e,gy,null,s,c,p,g);cy(E.current,e);var I=e.nodeType===Qn?e.parentNode:e;return oh(I),new mE(E)}function Sb(e){this._internalRoot=e}function RB(e){e&&yC(e)}Sb.prototype.unstable_scheduleHydration=RB;function TB(e,t,s){if(!Eb(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");EN(e),t===void 0&&v("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var c=s??null,p=s!=null&&s.hydratedSources||null,g=!1,E=!1,I="",A=SN;s!=null&&(s.unstable_strictMode===!0&&(g=!0),s.identifierPrefix!==void 0&&(I=s.identifierPrefix),s.onRecoverableError!==void 0&&(A=s.onRecoverableError));var P=nN(t,null,e,gy,c,g,E,I,A);if(cy(P.current,e),oh(e),p)for(var B=0;B<p.length;B++){var te=p[B];kP(P,te)}return new Sb(P)}function Eb(e){return!!(e&&(e.nodeType===Ea||e.nodeType===$a||e.nodeType===lv||!ye))}function Kh(e){return!!(e&&(e.nodeType===Ea||e.nodeType===$a||e.nodeType===lv||e.nodeType===Qn&&e.nodeValue===" react-mount-point-unstable "))}function EN(e){e.nodeType===Ea&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&v("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."),gh(e)&&(e._reactRootContainer?v("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):v("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 IB=u.ReactCurrentOwner,wN;wN=function(e){if(e._reactRootContainer&&e.nodeType!==Qn){var t=aN(e._reactRootContainer.current);t&&t.parentNode!==e&&v("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 s=!!e._reactRootContainer,c=gE(e),p=!!(c&&Yu(c));p&&!s&&v("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===Ea&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&v("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 gE(e){return e?e.nodeType===$a?e.documentElement:e.firstChild:null}function RN(){}function NB(e,t,s,c,p){if(p){if(typeof c=="function"){var g=c;c=function(){var K=xb(E);g.call(K)}}var E=nN(t,c,e,Ju,null,!1,!1,"",RN);e._reactRootContainer=E,cy(E.current,e);var I=e.nodeType===Qn?e.parentNode:e;return oh(I),$l(),E}else{for(var A;A=e.lastChild;)e.removeChild(A);if(typeof c=="function"){var P=c;c=function(){var K=xb(B);P.call(K)}}var B=tN(e,Ju,null,!1,!1,"",RN);e._reactRootContainer=B,cy(B.current,e);var te=e.nodeType===Qn?e.parentNode:e;return oh(te),$l(function(){Qh(t,B,s,c)}),B}}function _B(e,t){e!==null&&typeof e!="function"&&v("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function wb(e,t,s,c,p){wN(s),_B(p===void 0?null:p,"render");var g=s._reactRootContainer,E;if(!g)E=NB(s,t,e,p,c);else{if(E=g,typeof p=="function"){var I=p;p=function(){var A=xb(E);I.call(A)}}Qh(t,E,e,p)}return xb(E)}function OB(e){{var t=IB.current;if(t!==null&&t.stateNode!==null){var s=t.stateNode._warnedAboutRefsInRender;s||v("%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.",Yt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Ea?e:vB(e,"findDOMNode")}function AB(e,t,s){if(v("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"),!Kh(t))throw new Error("Target container is not a DOM element.");{var c=gh(t)&&t._reactRootContainer===void 0;c&&v("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 wb(null,e,t,!0,s)}function jB(e,t,s){if(v("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"),!Kh(t))throw new Error("Target container is not a DOM element.");{var c=gh(t)&&t._reactRootContainer===void 0;c&&v("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 wb(null,e,t,!1,s)}function DB(e,t,s,c){if(v("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"),!Kh(s))throw new Error("Target container is not a DOM element.");if(e==null||!yu(e))throw new Error("parentComponent must be a valid React Component");return wb(e,t,s,!1,c)}function kB(e){if(!Kh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=gh(e)&&e._reactRootContainer===void 0;t&&v("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 s=gE(e),c=s&&!Yu(s);c&&v("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return $l(function(){wb(null,null,e,!1,function(){e._reactRootContainer=null,x1(e)})}),!0}else{{var p=gE(e),g=!!(p&&Yu(p)),E=e.nodeType===Ea&&Kh(e.parentNode)&&!!e.parentNode._reactRootContainer;g&&v("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",E?"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}}ku(hB),mC(mB),Vd(gB),jg(gi),Dg(qr),(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")&&v("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"),mv(PM),ld(YS,TV,$l);function MB(e,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Eb(t))throw new Error("Target container is not a DOM element.");return pB(e,t,null,s)}function LB(e,t,s,c){return DB(e,t,s,c)}var yE={usingClientEntryPoint:!1,Events:[Yu,lp,fy,gu,vl,YS]};function PB(e,t){return yE.usingClientEntryPoint||v('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),wB(e,t)}function FB(e,t,s){return yE.usingClientEntryPoint||v('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),TB(e,t,s)}function VB(e){return kI()&&v("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."),$l(e)}var BB=EB({findFiberByHostInstance:Ef,bundleType:1,version:fE,rendererPackageName:"react-dom"});if(!BB&&It&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var TN=window.location.protocol;/^(https?|file):$/.test(TN)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(TN==="file:"?`
234
- You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Ni.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=yE,Ni.createPortal=MB,Ni.createRoot=PB,Ni.findDOMNode=OB,Ni.flushSync=VB,Ni.hydrate=AB,Ni.hydrateRoot=FB,Ni.render=jB,Ni.unmountComponentAtNode=kB,Ni.unstable_batchedUpdates=YS,Ni.unstable_renderSubtreeIntoContainer=LB,Ni.version=fE,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}(),Ni}var XO={};function YO(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(XO.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(YO)}catch(n){console.error(n)}}}XO.NODE_ENV==="production"?(YO(),ew.exports=KB()):ew.exports=ez();var Uw=ew.exports;const Bf=qp(Uw);var tz={},rm=Uw;if(tz.NODE_ENV==="production")ls.createRoot=rm.createRoot,ls.hydrateRoot=rm.hydrateRoot;else{var Ib=rm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ls.createRoot=function(n,r){Ib.usingClientEntryPoint=!0;try{return rm.createRoot(n,r)}finally{Ib.usingClientEntryPoint=!1}},ls.hydrateRoot=function(n,r,i){Ib.usingClientEntryPoint=!0;try{return rm.hydrateRoot(n,r,i)}finally{Ib.usingClientEntryPoint=!1}}}var wr={};function ha(n){return`Minified Redux error #${n}; visit https://redux.js.org/Errors?code=${n} for the full message or use the non-minified dev environment for full errors. `}var nz=typeof Symbol=="function"&&Symbol.observable||"@@observable",FN=nz,SE=()=>Math.random().toString(36).substring(7).split("").join("."),rz={INIT:`@@redux/INIT${SE()}`,REPLACE:`@@redux/REPLACE${SE()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${SE()}`},zf=rz;function Nm(n){if(typeof n!="object"||n===null)return!1;let r=n;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(n)===r||Object.getPrototypeOf(n)===null}function az(n){if(n===void 0)return"undefined";if(n===null)return"null";const r=typeof n;switch(r){case"boolean":case"string":case"number":case"symbol":case"function":return r}if(Array.isArray(n))return"array";if(sz(n))return"date";if(oz(n))return"error";const i=iz(n);switch(i){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return i}return Object.prototype.toString.call(n).slice(8,-1).toLowerCase().replace(/\s/g,"")}function iz(n){return typeof n.constructor=="function"?n.constructor.name:null}function oz(n){return n instanceof Error||typeof n.message=="string"&&n.constructor&&typeof n.constructor.stackTraceLimit=="number"}function sz(n){return n instanceof Date?!0:typeof n.toDateString=="function"&&typeof n.getDate=="function"&&typeof n.setDate=="function"}function fc(n){let r=typeof n;return wr.NODE_ENV!=="production"&&(r=az(n)),r}function ZO(n,r,i){if(typeof n!="function")throw new Error(wr.NODE_ENV==="production"?ha(2):`Expected the root reducer to be a function. Instead, received: '${fc(n)}'`);if(typeof r=="function"&&typeof i=="function"||typeof i=="function"&&typeof arguments[3]=="function")throw new Error(wr.NODE_ENV==="production"?ha(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof r=="function"&&typeof i>"u"&&(i=r,r=void 0),typeof i<"u"){if(typeof i!="function")throw new Error(wr.NODE_ENV==="production"?ha(1):`Expected the enhancer to be a function. Instead, received: '${fc(i)}'`);return i(ZO)(n,r)}let u=n,l=r,d=new Map,h=d,v=0,y=!1;function C(){h===d&&(h=new Map,d.forEach((_,L)=>{h.set(L,_)}))}function x(){if(y)throw new Error(wr.NODE_ENV==="production"?ha(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return l}function R(_){if(typeof _!="function")throw new Error(wr.NODE_ENV==="production"?ha(4):`Expected the listener to be a function. Instead, received: '${fc(_)}'`);if(y)throw new Error(wr.NODE_ENV==="production"?ha(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let L=!0;C();const F=v++;return h.set(F,_),function(){if(L){if(y)throw new Error(wr.NODE_ENV==="production"?ha(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");L=!1,C(),h.delete(F),d=null}}}function T(_){if(!Nm(_))throw new Error(wr.NODE_ENV==="production"?ha(7):`Actions must be plain objects. Instead, the actual type was: '${fc(_)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(typeof _.type>"u")throw new Error(wr.NODE_ENV==="production"?ha(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof _.type!="string")throw new Error(wr.NODE_ENV==="production"?ha(17):`Action "type" property must be a string. Instead, the actual type was: '${fc(_.type)}'. Value was: '${_.type}' (stringified)`);if(y)throw new Error(wr.NODE_ENV==="production"?ha(9):"Reducers may not dispatch actions.");try{y=!0,l=u(l,_)}finally{y=!1}return(d=h).forEach(F=>{F()}),_}function j(_){if(typeof _!="function")throw new Error(wr.NODE_ENV==="production"?ha(10):`Expected the nextReducer to be a function. Instead, received: '${fc(_)}`);u=_,T({type:zf.REPLACE})}function N(){const _=R;return{subscribe(L){if(typeof L!="object"||L===null)throw new Error(wr.NODE_ENV==="production"?ha(11):`Expected the observer to be an object. Instead, received: '${fc(L)}'`);function F(){const H=L;H.next&&H.next(x())}return F(),{unsubscribe:_(F)}},[FN](){return this}}}return T({type:zf.INIT}),{dispatch:T,subscribe:R,getState:x,replaceReducer:j,[FN]:N}}function VN(n){typeof console<"u"&&typeof console.error=="function"&&console.error(n);try{throw new Error(n)}catch{}}function lz(n,r,i,u){const l=Object.keys(r),d=i&&i.type===zf.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(l.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!Nm(n))return`The ${d} has unexpected type of "${fc(n)}". Expected argument to be an object with the following keys: "${l.join('", "')}"`;const h=Object.keys(n).filter(v=>!r.hasOwnProperty(v)&&!u[v]);if(h.forEach(v=>{u[v]=!0}),!(i&&i.type===zf.REPLACE)&&h.length>0)return`Unexpected ${h.length>1?"keys":"key"} "${h.join('", "')}" found in ${d}. Expected to find one of the known reducer keys instead: "${l.join('", "')}". Unexpected keys will be ignored.`}function uz(n){Object.keys(n).forEach(r=>{const i=n[r];if(typeof i(void 0,{type:zf.INIT})>"u")throw new Error(wr.NODE_ENV==="production"?ha(12):`The slice reducer for key "${r}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof i(void 0,{type:zf.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(wr.NODE_ENV==="production"?ha(13):`The slice reducer for key "${r}" returned undefined when probed with a random type. Don't try to handle '${zf.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function cz(n){const r=Object.keys(n),i={};for(let h=0;h<r.length;h++){const v=r[h];wr.NODE_ENV!=="production"&&typeof n[v]>"u"&&VN(`No reducer provided for key "${v}"`),typeof n[v]=="function"&&(i[v]=n[v])}const u=Object.keys(i);let l;wr.NODE_ENV!=="production"&&(l={});let d;try{uz(i)}catch(h){d=h}return function(v={},y){if(d)throw d;if(wr.NODE_ENV!=="production"){const R=lz(v,i,y,l);R&&VN(R)}let C=!1;const x={};for(let R=0;R<u.length;R++){const T=u[R],j=i[T],N=v[T],O=j(N,y);if(typeof O>"u"){const _=y&&y.type;throw new Error(wr.NODE_ENV==="production"?ha(14):`When called with an action of type ${_?`"${String(_)}"`:"(unknown type)"}, the slice reducer for key "${T}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}x[T]=O,C=C||O!==N}return C=C||u.length!==Object.keys(v).length,C?x:v}}function i0(...n){return n.length===0?r=>r:n.length===1?n[0]:n.reduce((r,i)=>(...u)=>r(i(...u)))}function fz(...n){return r=>(i,u)=>{const l=r(i,u);let d=()=>{throw new Error(wr.NODE_ENV==="production"?ha(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const h={getState:l.getState,dispatch:(y,...C)=>d(y,...C)},v=n.map(y=>y(h));return d=i0(...v)(l.dispatch),{...l,dispatch:d}}}function JO(n){return Nm(n)&&"type"in n&&typeof n.type=="string"}var _m={},qO=Symbol.for("immer-nothing"),BN=Symbol.for("immer-draftable"),Yi=Symbol.for("immer-state"),dz=_m.NODE_ENV!=="production"?[function(n){return`The plugin for '${n}' has not been loaded into Immer. To enable the plugin, import and call \`enable${n}()\` when initializing your application.`},function(n){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${n}'`},"This object has been frozen and should not be mutated",function(n){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+n},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(n){return`'current' expects a draft, got: ${n}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(n){return`'original' expects a draft, got: ${n}`}]:[];function _i(n,...r){if(_m.NODE_ENV!=="production"){const i=dz[n],u=typeof i=="function"?i.apply(null,r):i;throw new Error(`[Immer] ${u}`)}throw new Error(`[Immer] minified error nr: ${n}. Full error at: https://bit.ly/3cXEKWf`)}var Up=Object.getPrototypeOf;function hc(n){return!!n&&!!n[Yi]}function eu(n){var r;return n?QO(n)||Array.isArray(n)||!!n[BN]||!!((r=n.constructor)!=null&&r[BN])||O0(n)||A0(n):!1}var pz=Object.prototype.constructor.toString();function QO(n){if(!n||typeof n!="object")return!1;const r=Up(n);if(r===null)return!0;const i=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return i===Object?!0:typeof i=="function"&&Function.toString.call(i)===pz}function mm(n,r){_0(n)===0?Object.entries(n).forEach(([i,u])=>{r(i,u,n)}):n.forEach((i,u)=>r(u,i,n))}function _0(n){const r=n[Yi];return r?r.type_:Array.isArray(n)?1:O0(n)?2:A0(n)?3:0}function tw(n,r){return _0(n)===2?n.has(r):Object.prototype.hasOwnProperty.call(n,r)}function KO(n,r,i){const u=_0(n);u===2?n.set(r,i):u===3?n.add(i):n[r]=i}function vz(n,r){return n===r?n!==0||1/n===1/r:n!==n&&r!==r}function O0(n){return n instanceof Map}function A0(n){return n instanceof Set}function Vf(n){return n.copy_||n.base_}function nw(n,r){if(O0(n))return new Map(n);if(A0(n))return new Set(n);if(Array.isArray(n))return Array.prototype.slice.call(n);if(!r&&QO(n))return Up(n)?{...n}:Object.assign(Object.create(null),n);const i=Object.getOwnPropertyDescriptors(n);delete i[Yi];let u=Reflect.ownKeys(i);for(let l=0;l<u.length;l++){const d=u[l],h=i[d];h.writable===!1&&(h.writable=!0,h.configurable=!0),(h.get||h.set)&&(i[d]={configurable:!0,writable:!0,enumerable:h.enumerable,value:n[d]})}return Object.create(Up(n),i)}function $w(n,r=!1){return j0(n)||hc(n)||!eu(n)||(_0(n)>1&&(n.set=n.add=n.clear=n.delete=hz),Object.freeze(n),r&&mm(n,(i,u)=>$w(u,!0))),n}function hz(){_i(2)}function j0(n){return Object.isFrozen(n)}var mz={};function Gf(n){const r=mz[n];return r||_i(0,n),r}var gm;function eA(){return gm}function gz(n,r){return{drafts_:[],parent_:n,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function zN(n,r){r&&(Gf("Patches"),n.patches_=[],n.inversePatches_=[],n.patchListener_=r)}function rw(n){aw(n),n.drafts_.forEach(yz),n.drafts_=null}function aw(n){n===gm&&(gm=n.parent_)}function HN(n){return gm=gz(gm,n)}function yz(n){const r=n[Yi];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function UN(n,r){r.unfinalizedDrafts_=r.drafts_.length;const i=r.drafts_[0];return n!==void 0&&n!==i?(i[Yi].modified_&&(rw(r),_i(4)),eu(n)&&(n=o0(r,n),r.parent_||s0(r,n)),r.patches_&&Gf("Patches").generateReplacementPatches_(i[Yi].base_,n,r.patches_,r.inversePatches_)):n=o0(r,i,[]),rw(r),r.patches_&&r.patchListener_(r.patches_,r.inversePatches_),n!==qO?n:void 0}function o0(n,r,i){if(j0(r))return r;const u=r[Yi];if(!u)return mm(r,(l,d)=>$N(n,u,r,l,d,i)),r;if(u.scope_!==n)return r;if(!u.modified_)return s0(n,u.base_,!0),u.base_;if(!u.finalized_){u.finalized_=!0,u.scope_.unfinalizedDrafts_--;const l=u.copy_;let d=l,h=!1;u.type_===3&&(d=new Set(l),l.clear(),h=!0),mm(d,(v,y)=>$N(n,u,l,v,y,i,h)),s0(n,l,!1),i&&n.patches_&&Gf("Patches").generatePatches_(u,i,n.patches_,n.inversePatches_)}return u.copy_}function $N(n,r,i,u,l,d,h){if(_m.NODE_ENV!=="production"&&l===i&&_i(5),hc(l)){const v=d&&r&&r.type_!==3&&!tw(r.assigned_,u)?d.concat(u):void 0,y=o0(n,l,v);if(KO(i,u,y),hc(y))n.canAutoFreeze_=!1;else return}else h&&i.add(l);if(eu(l)&&!j0(l)){if(!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1)return;o0(n,l),(!r||!r.scope_.parent_)&&s0(n,l)}}function s0(n,r,i=!1){!n.parent_&&n.immer_.autoFreeze_&&n.canAutoFreeze_&&$w(r,i)}function bz(n,r){const i=Array.isArray(n),u={type_:i?1:0,scope_:r?r.scope_:eA(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:n,draft_:null,copy_:null,revoke_:null,isManual_:!1};let l=u,d=Gw;i&&(l=[u],d=ym);const{revoke:h,proxy:v}=Proxy.revocable(l,d);return u.draft_=v,u.revoke_=h,v}var Gw={get(n,r){if(r===Yi)return n;const i=Vf(n);if(!tw(i,r))return Cz(n,i,r);const u=i[r];return n.finalized_||!eu(u)?u:u===EE(n.base_,r)?(wE(n),n.copy_[r]=ow(u,n)):u},has(n,r){return r in Vf(n)},ownKeys(n){return Reflect.ownKeys(Vf(n))},set(n,r,i){const u=tA(Vf(n),r);if(u!=null&&u.set)return u.set.call(n.draft_,i),!0;if(!n.modified_){const l=EE(Vf(n),r),d=l==null?void 0:l[Yi];if(d&&d.base_===i)return n.copy_[r]=i,n.assigned_[r]=!1,!0;if(vz(i,l)&&(i!==void 0||tw(n.base_,r)))return!0;wE(n),iw(n)}return n.copy_[r]===i&&(i!==void 0||r in n.copy_)||Number.isNaN(i)&&Number.isNaN(n.copy_[r])||(n.copy_[r]=i,n.assigned_[r]=!0),!0},deleteProperty(n,r){return EE(n.base_,r)!==void 0||r in n.base_?(n.assigned_[r]=!1,wE(n),iw(n)):delete n.assigned_[r],n.copy_&&delete n.copy_[r],!0},getOwnPropertyDescriptor(n,r){const i=Vf(n),u=Reflect.getOwnPropertyDescriptor(i,r);return u&&{writable:!0,configurable:n.type_!==1||r!=="length",enumerable:u.enumerable,value:i[r]}},defineProperty(){_i(11)},getPrototypeOf(n){return Up(n.base_)},setPrototypeOf(){_i(12)}},ym={};mm(Gw,(n,r)=>{ym[n]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}});ym.deleteProperty=function(n,r){return _m.NODE_ENV!=="production"&&isNaN(parseInt(r))&&_i(13),ym.set.call(this,n,r,void 0)};ym.set=function(n,r,i){return _m.NODE_ENV!=="production"&&r!=="length"&&isNaN(parseInt(r))&&_i(14),Gw.set.call(this,n[0],r,i,n[0])};function EE(n,r){const i=n[Yi];return(i?Vf(i):n)[r]}function Cz(n,r,i){var l;const u=tA(r,i);return u?"value"in u?u.value:(l=u.get)==null?void 0:l.call(n.draft_):void 0}function tA(n,r){if(!(r in n))return;let i=Up(n);for(;i;){const u=Object.getOwnPropertyDescriptor(i,r);if(u)return u;i=Up(i)}}function iw(n){n.modified_||(n.modified_=!0,n.parent_&&iw(n.parent_))}function wE(n){n.copy_||(n.copy_=nw(n.base_,n.scope_.immer_.useStrictShallowCopy_))}var xz=class{constructor(n){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(r,i,u)=>{if(typeof r=="function"&&typeof i!="function"){const d=i;i=r;const h=this;return function(y=d,...C){return h.produce(y,x=>i.call(this,x,...C))}}typeof i!="function"&&_i(6),u!==void 0&&typeof u!="function"&&_i(7);let l;if(eu(r)){const d=HN(this),h=ow(r,void 0);let v=!0;try{l=i(h),v=!1}finally{v?rw(d):aw(d)}return zN(d,u),UN(l,d)}else if(!r||typeof r!="object"){if(l=i(r),l===void 0&&(l=r),l===qO&&(l=void 0),this.autoFreeze_&&$w(l,!0),u){const d=[],h=[];Gf("Patches").generateReplacementPatches_(r,l,d,h),u(d,h)}return l}else _i(1,r)},this.produceWithPatches=(r,i)=>{if(typeof r=="function")return(h,...v)=>this.produceWithPatches(h,y=>r(y,...v));let u,l;return[this.produce(r,i,(h,v)=>{u=h,l=v}),u,l]},typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze),typeof(n==null?void 0:n.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(n.useStrictShallowCopy)}createDraft(n){eu(n)||_i(8),hc(n)&&(n=nA(n));const r=HN(this),i=ow(n,void 0);return i[Yi].isManual_=!0,aw(r),i}finishDraft(n,r){const i=n&&n[Yi];(!i||!i.isManual_)&&_i(9);const{scope_:u}=i;return zN(u,r),UN(void 0,u)}setAutoFreeze(n){this.autoFreeze_=n}setUseStrictShallowCopy(n){this.useStrictShallowCopy_=n}applyPatches(n,r){let i;for(i=r.length-1;i>=0;i--){const l=r[i];if(l.path.length===0&&l.op==="replace"){n=l.value;break}}i>-1&&(r=r.slice(i+1));const u=Gf("Patches").applyPatches_;return hc(n)?u(n,r):this.produce(n,l=>u(l,r))}};function ow(n,r){const i=O0(n)?Gf("MapSet").proxyMap_(n,r):A0(n)?Gf("MapSet").proxySet_(n,r):bz(n,r);return(r?r.scope_:eA()).drafts_.push(i),i}function nA(n){return hc(n)||_i(10,n),rA(n)}function rA(n){if(!eu(n)||j0(n))return n;const r=n[Yi];let i;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,i=nw(n,r.scope_.immer_.useStrictShallowCopy_)}else i=nw(n,!0);return mm(i,(u,l)=>{KO(i,u,rA(l))}),r&&(r.finalized_=!1),i}var Zi=new xz,So=Zi.produce;Zi.produceWithPatches.bind(Zi);Zi.setAutoFreeze.bind(Zi);Zi.setUseStrictShallowCopy.bind(Zi);Zi.applyPatches.bind(Zi);Zi.createDraft.bind(Zi);Zi.finishDraft.bind(Zi);var Sz={},Ez=(n,r,i)=>{if(r.length===1&&r[0]===i){let u=!1;try{const l={};n(l)===l&&(u=!0)}catch{}if(u){let l;try{throw new Error}catch(d){({stack:l}=d)}console.warn(`The result function returned its own inputs without modification. e.g
233
+ root.render(<App />);`),t.unstable_strictMode===!0&&(s=!0),t.identifierPrefix!==void 0&&(p=t.identifierPrefix),t.onRecoverableError!==void 0&&(g=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var E=tN(e,gy,null,s,c,p,g);cy(E.current,e);var I=e.nodeType===Qn?e.parentNode:e;return oh(I),new mE(E)}function Sb(e){this._internalRoot=e}function RB(e){e&&yC(e)}Sb.prototype.unstable_scheduleHydration=RB;function TB(e,t,s){if(!Eb(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");EN(e),t===void 0&&v("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var c=s??null,p=s!=null&&s.hydratedSources||null,g=!1,E=!1,I="",A=SN;s!=null&&(s.unstable_strictMode===!0&&(g=!0),s.identifierPrefix!==void 0&&(I=s.identifierPrefix),s.onRecoverableError!==void 0&&(A=s.onRecoverableError));var P=nN(t,null,e,gy,c,g,E,I,A);if(cy(P.current,e),oh(e),p)for(var B=0;B<p.length;B++){var te=p[B];kP(P,te)}return new Sb(P)}function Eb(e){return!!(e&&(e.nodeType===Ea||e.nodeType===$a||e.nodeType===lv||!ye))}function Kh(e){return!!(e&&(e.nodeType===Ea||e.nodeType===$a||e.nodeType===lv||e.nodeType===Qn&&e.nodeValue===" react-mount-point-unstable "))}function EN(e){e.nodeType===Ea&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&v("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."),gh(e)&&(e._reactRootContainer?v("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):v("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 IB=u.ReactCurrentOwner,wN;wN=function(e){if(e._reactRootContainer&&e.nodeType!==Qn){var t=aN(e._reactRootContainer.current);t&&t.parentNode!==e&&v("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 s=!!e._reactRootContainer,c=gE(e),p=!!(c&&Zu(c));p&&!s&&v("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===Ea&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&v("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 gE(e){return e?e.nodeType===$a?e.documentElement:e.firstChild:null}function RN(){}function NB(e,t,s,c,p){if(p){if(typeof c=="function"){var g=c;c=function(){var K=xb(E);g.call(K)}}var E=nN(t,c,e,qu,null,!1,!1,"",RN);e._reactRootContainer=E,cy(E.current,e);var I=e.nodeType===Qn?e.parentNode:e;return oh(I),Gl(),E}else{for(var A;A=e.lastChild;)e.removeChild(A);if(typeof c=="function"){var P=c;c=function(){var K=xb(B);P.call(K)}}var B=tN(e,qu,null,!1,!1,"",RN);e._reactRootContainer=B,cy(B.current,e);var te=e.nodeType===Qn?e.parentNode:e;return oh(te),Gl(function(){Qh(t,B,s,c)}),B}}function _B(e,t){e!==null&&typeof e!="function"&&v("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function wb(e,t,s,c,p){wN(s),_B(p===void 0?null:p,"render");var g=s._reactRootContainer,E;if(!g)E=NB(s,t,e,p,c);else{if(E=g,typeof p=="function"){var I=p;p=function(){var A=xb(E);I.call(A)}}Qh(t,E,e,p)}return xb(E)}function OB(e){{var t=IB.current;if(t!==null&&t.stateNode!==null){var s=t.stateNode._warnedAboutRefsInRender;s||v("%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.",Yt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Ea?e:vB(e,"findDOMNode")}function AB(e,t,s){if(v("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"),!Kh(t))throw new Error("Target container is not a DOM element.");{var c=gh(t)&&t._reactRootContainer===void 0;c&&v("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 wb(null,e,t,!0,s)}function jB(e,t,s){if(v("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"),!Kh(t))throw new Error("Target container is not a DOM element.");{var c=gh(t)&&t._reactRootContainer===void 0;c&&v("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 wb(null,e,t,!1,s)}function DB(e,t,s,c){if(v("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"),!Kh(s))throw new Error("Target container is not a DOM element.");if(e==null||!bu(e))throw new Error("parentComponent must be a valid React Component");return wb(e,t,s,!1,c)}function kB(e){if(!Kh(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=gh(e)&&e._reactRootContainer===void 0;t&&v("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 s=gE(e),c=s&&!Zu(s);c&&v("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Gl(function(){wb(null,null,e,!1,function(){e._reactRootContainer=null,x1(e)})}),!0}else{{var p=gE(e),g=!!(p&&Zu(p)),E=e.nodeType===Ea&&Kh(e.parentNode)&&!!e.parentNode._reactRootContainer;g&&v("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",E?"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}}Mu(hB),mC(mB),Bd(gB),jg(gi),Dg(qr),(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")&&v("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"),mv(PM),ud(YS,TV,Gl);function MB(e,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Eb(t))throw new Error("Target container is not a DOM element.");return pB(e,t,null,s)}function LB(e,t,s,c){return DB(e,t,s,c)}var yE={usingClientEntryPoint:!1,Events:[Zu,up,fy,yu,hl,YS]};function PB(e,t){return yE.usingClientEntryPoint||v('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),wB(e,t)}function FB(e,t,s){return yE.usingClientEntryPoint||v('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),TB(e,t,s)}function VB(e){return kI()&&v("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."),Gl(e)}var BB=EB({findFiberByHostInstance:wf,bundleType:1,version:fE,rendererPackageName:"react-dom"});if(!BB&&It&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var TN=window.location.protocol;/^(https?|file):$/.test(TN)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(TN==="file:"?`
234
+ You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Ni.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=yE,Ni.createPortal=MB,Ni.createRoot=PB,Ni.findDOMNode=OB,Ni.flushSync=VB,Ni.hydrate=AB,Ni.hydrateRoot=FB,Ni.render=jB,Ni.unmountComponentAtNode=kB,Ni.unstable_batchedUpdates=YS,Ni.unstable_renderSubtreeIntoContainer=LB,Ni.version=fE,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}(),Ni}var XO={};function YO(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(XO.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(YO)}catch(n){console.error(n)}}}XO.NODE_ENV==="production"?(YO(),ew.exports=KB()):ew.exports=ez();var Uw=ew.exports;const zf=qp(Uw);var tz={},rm=Uw;if(tz.NODE_ENV==="production")us.createRoot=rm.createRoot,us.hydrateRoot=rm.hydrateRoot;else{var Ib=rm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;us.createRoot=function(n,r){Ib.usingClientEntryPoint=!0;try{return rm.createRoot(n,r)}finally{Ib.usingClientEntryPoint=!1}},us.hydrateRoot=function(n,r,i){Ib.usingClientEntryPoint=!0;try{return rm.hydrateRoot(n,r,i)}finally{Ib.usingClientEntryPoint=!1}}}var wr={};function ha(n){return`Minified Redux error #${n}; visit https://redux.js.org/Errors?code=${n} for the full message or use the non-minified dev environment for full errors. `}var nz=typeof Symbol=="function"&&Symbol.observable||"@@observable",FN=nz,SE=()=>Math.random().toString(36).substring(7).split("").join("."),rz={INIT:`@@redux/INIT${SE()}`,REPLACE:`@@redux/REPLACE${SE()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${SE()}`},Hf=rz;function Nm(n){if(typeof n!="object"||n===null)return!1;let r=n;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(n)===r||Object.getPrototypeOf(n)===null}function az(n){if(n===void 0)return"undefined";if(n===null)return"null";const r=typeof n;switch(r){case"boolean":case"string":case"number":case"symbol":case"function":return r}if(Array.isArray(n))return"array";if(sz(n))return"date";if(oz(n))return"error";const i=iz(n);switch(i){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return i}return Object.prototype.toString.call(n).slice(8,-1).toLowerCase().replace(/\s/g,"")}function iz(n){return typeof n.constructor=="function"?n.constructor.name:null}function oz(n){return n instanceof Error||typeof n.message=="string"&&n.constructor&&typeof n.constructor.stackTraceLimit=="number"}function sz(n){return n instanceof Date?!0:typeof n.toDateString=="function"&&typeof n.getDate=="function"&&typeof n.setDate=="function"}function dc(n){let r=typeof n;return wr.NODE_ENV!=="production"&&(r=az(n)),r}function ZO(n,r,i){if(typeof n!="function")throw new Error(wr.NODE_ENV==="production"?ha(2):`Expected the root reducer to be a function. Instead, received: '${dc(n)}'`);if(typeof r=="function"&&typeof i=="function"||typeof i=="function"&&typeof arguments[3]=="function")throw new Error(wr.NODE_ENV==="production"?ha(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof r=="function"&&typeof i>"u"&&(i=r,r=void 0),typeof i<"u"){if(typeof i!="function")throw new Error(wr.NODE_ENV==="production"?ha(1):`Expected the enhancer to be a function. Instead, received: '${dc(i)}'`);return i(ZO)(n,r)}let u=n,l=r,d=new Map,h=d,v=0,y=!1;function C(){h===d&&(h=new Map,d.forEach((_,L)=>{h.set(L,_)}))}function x(){if(y)throw new Error(wr.NODE_ENV==="production"?ha(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return l}function R(_){if(typeof _!="function")throw new Error(wr.NODE_ENV==="production"?ha(4):`Expected the listener to be a function. Instead, received: '${dc(_)}'`);if(y)throw new Error(wr.NODE_ENV==="production"?ha(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let L=!0;C();const F=v++;return h.set(F,_),function(){if(L){if(y)throw new Error(wr.NODE_ENV==="production"?ha(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");L=!1,C(),h.delete(F),d=null}}}function T(_){if(!Nm(_))throw new Error(wr.NODE_ENV==="production"?ha(7):`Actions must be plain objects. Instead, the actual type was: '${dc(_)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(typeof _.type>"u")throw new Error(wr.NODE_ENV==="production"?ha(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof _.type!="string")throw new Error(wr.NODE_ENV==="production"?ha(17):`Action "type" property must be a string. Instead, the actual type was: '${dc(_.type)}'. Value was: '${_.type}' (stringified)`);if(y)throw new Error(wr.NODE_ENV==="production"?ha(9):"Reducers may not dispatch actions.");try{y=!0,l=u(l,_)}finally{y=!1}return(d=h).forEach(F=>{F()}),_}function j(_){if(typeof _!="function")throw new Error(wr.NODE_ENV==="production"?ha(10):`Expected the nextReducer to be a function. Instead, received: '${dc(_)}`);u=_,T({type:Hf.REPLACE})}function N(){const _=R;return{subscribe(L){if(typeof L!="object"||L===null)throw new Error(wr.NODE_ENV==="production"?ha(11):`Expected the observer to be an object. Instead, received: '${dc(L)}'`);function F(){const H=L;H.next&&H.next(x())}return F(),{unsubscribe:_(F)}},[FN](){return this}}}return T({type:Hf.INIT}),{dispatch:T,subscribe:R,getState:x,replaceReducer:j,[FN]:N}}function VN(n){typeof console<"u"&&typeof console.error=="function"&&console.error(n);try{throw new Error(n)}catch{}}function lz(n,r,i,u){const l=Object.keys(r),d=i&&i.type===Hf.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(l.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!Nm(n))return`The ${d} has unexpected type of "${dc(n)}". Expected argument to be an object with the following keys: "${l.join('", "')}"`;const h=Object.keys(n).filter(v=>!r.hasOwnProperty(v)&&!u[v]);if(h.forEach(v=>{u[v]=!0}),!(i&&i.type===Hf.REPLACE)&&h.length>0)return`Unexpected ${h.length>1?"keys":"key"} "${h.join('", "')}" found in ${d}. Expected to find one of the known reducer keys instead: "${l.join('", "')}". Unexpected keys will be ignored.`}function uz(n){Object.keys(n).forEach(r=>{const i=n[r];if(typeof i(void 0,{type:Hf.INIT})>"u")throw new Error(wr.NODE_ENV==="production"?ha(12):`The slice reducer for key "${r}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof i(void 0,{type:Hf.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(wr.NODE_ENV==="production"?ha(13):`The slice reducer for key "${r}" returned undefined when probed with a random type. Don't try to handle '${Hf.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function cz(n){const r=Object.keys(n),i={};for(let h=0;h<r.length;h++){const v=r[h];wr.NODE_ENV!=="production"&&typeof n[v]>"u"&&VN(`No reducer provided for key "${v}"`),typeof n[v]=="function"&&(i[v]=n[v])}const u=Object.keys(i);let l;wr.NODE_ENV!=="production"&&(l={});let d;try{uz(i)}catch(h){d=h}return function(v={},y){if(d)throw d;if(wr.NODE_ENV!=="production"){const R=lz(v,i,y,l);R&&VN(R)}let C=!1;const x={};for(let R=0;R<u.length;R++){const T=u[R],j=i[T],N=v[T],O=j(N,y);if(typeof O>"u"){const _=y&&y.type;throw new Error(wr.NODE_ENV==="production"?ha(14):`When called with an action of type ${_?`"${String(_)}"`:"(unknown type)"}, the slice reducer for key "${T}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}x[T]=O,C=C||O!==N}return C=C||u.length!==Object.keys(v).length,C?x:v}}function i0(...n){return n.length===0?r=>r:n.length===1?n[0]:n.reduce((r,i)=>(...u)=>r(i(...u)))}function fz(...n){return r=>(i,u)=>{const l=r(i,u);let d=()=>{throw new Error(wr.NODE_ENV==="production"?ha(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const h={getState:l.getState,dispatch:(y,...C)=>d(y,...C)},v=n.map(y=>y(h));return d=i0(...v)(l.dispatch),{...l,dispatch:d}}}function JO(n){return Nm(n)&&"type"in n&&typeof n.type=="string"}var _m={},qO=Symbol.for("immer-nothing"),BN=Symbol.for("immer-draftable"),Yi=Symbol.for("immer-state"),dz=_m.NODE_ENV!=="production"?[function(n){return`The plugin for '${n}' has not been loaded into Immer. To enable the plugin, import and call \`enable${n}()\` when initializing your application.`},function(n){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${n}'`},"This object has been frozen and should not be mutated",function(n){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+n},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(n){return`'current' expects a draft, got: ${n}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(n){return`'original' expects a draft, got: ${n}`}]:[];function _i(n,...r){if(_m.NODE_ENV!=="production"){const i=dz[n],u=typeof i=="function"?i.apply(null,r):i;throw new Error(`[Immer] ${u}`)}throw new Error(`[Immer] minified error nr: ${n}. Full error at: https://bit.ly/3cXEKWf`)}var Up=Object.getPrototypeOf;function mc(n){return!!n&&!!n[Yi]}function tu(n){var r;return n?QO(n)||Array.isArray(n)||!!n[BN]||!!((r=n.constructor)!=null&&r[BN])||O0(n)||A0(n):!1}var pz=Object.prototype.constructor.toString();function QO(n){if(!n||typeof n!="object")return!1;const r=Up(n);if(r===null)return!0;const i=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return i===Object?!0:typeof i=="function"&&Function.toString.call(i)===pz}function mm(n,r){_0(n)===0?Object.entries(n).forEach(([i,u])=>{r(i,u,n)}):n.forEach((i,u)=>r(u,i,n))}function _0(n){const r=n[Yi];return r?r.type_:Array.isArray(n)?1:O0(n)?2:A0(n)?3:0}function tw(n,r){return _0(n)===2?n.has(r):Object.prototype.hasOwnProperty.call(n,r)}function KO(n,r,i){const u=_0(n);u===2?n.set(r,i):u===3?n.add(i):n[r]=i}function vz(n,r){return n===r?n!==0||1/n===1/r:n!==n&&r!==r}function O0(n){return n instanceof Map}function A0(n){return n instanceof Set}function Bf(n){return n.copy_||n.base_}function nw(n,r){if(O0(n))return new Map(n);if(A0(n))return new Set(n);if(Array.isArray(n))return Array.prototype.slice.call(n);if(!r&&QO(n))return Up(n)?{...n}:Object.assign(Object.create(null),n);const i=Object.getOwnPropertyDescriptors(n);delete i[Yi];let u=Reflect.ownKeys(i);for(let l=0;l<u.length;l++){const d=u[l],h=i[d];h.writable===!1&&(h.writable=!0,h.configurable=!0),(h.get||h.set)&&(i[d]={configurable:!0,writable:!0,enumerable:h.enumerable,value:n[d]})}return Object.create(Up(n),i)}function $w(n,r=!1){return j0(n)||mc(n)||!tu(n)||(_0(n)>1&&(n.set=n.add=n.clear=n.delete=hz),Object.freeze(n),r&&mm(n,(i,u)=>$w(u,!0))),n}function hz(){_i(2)}function j0(n){return Object.isFrozen(n)}var mz={};function Wf(n){const r=mz[n];return r||_i(0,n),r}var gm;function eA(){return gm}function gz(n,r){return{drafts_:[],parent_:n,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function zN(n,r){r&&(Wf("Patches"),n.patches_=[],n.inversePatches_=[],n.patchListener_=r)}function rw(n){aw(n),n.drafts_.forEach(yz),n.drafts_=null}function aw(n){n===gm&&(gm=n.parent_)}function HN(n){return gm=gz(gm,n)}function yz(n){const r=n[Yi];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function UN(n,r){r.unfinalizedDrafts_=r.drafts_.length;const i=r.drafts_[0];return n!==void 0&&n!==i?(i[Yi].modified_&&(rw(r),_i(4)),tu(n)&&(n=o0(r,n),r.parent_||s0(r,n)),r.patches_&&Wf("Patches").generateReplacementPatches_(i[Yi].base_,n,r.patches_,r.inversePatches_)):n=o0(r,i,[]),rw(r),r.patches_&&r.patchListener_(r.patches_,r.inversePatches_),n!==qO?n:void 0}function o0(n,r,i){if(j0(r))return r;const u=r[Yi];if(!u)return mm(r,(l,d)=>$N(n,u,r,l,d,i)),r;if(u.scope_!==n)return r;if(!u.modified_)return s0(n,u.base_,!0),u.base_;if(!u.finalized_){u.finalized_=!0,u.scope_.unfinalizedDrafts_--;const l=u.copy_;let d=l,h=!1;u.type_===3&&(d=new Set(l),l.clear(),h=!0),mm(d,(v,y)=>$N(n,u,l,v,y,i,h)),s0(n,l,!1),i&&n.patches_&&Wf("Patches").generatePatches_(u,i,n.patches_,n.inversePatches_)}return u.copy_}function $N(n,r,i,u,l,d,h){if(_m.NODE_ENV!=="production"&&l===i&&_i(5),mc(l)){const v=d&&r&&r.type_!==3&&!tw(r.assigned_,u)?d.concat(u):void 0,y=o0(n,l,v);if(KO(i,u,y),mc(y))n.canAutoFreeze_=!1;else return}else h&&i.add(l);if(tu(l)&&!j0(l)){if(!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1)return;o0(n,l),(!r||!r.scope_.parent_)&&s0(n,l)}}function s0(n,r,i=!1){!n.parent_&&n.immer_.autoFreeze_&&n.canAutoFreeze_&&$w(r,i)}function bz(n,r){const i=Array.isArray(n),u={type_:i?1:0,scope_:r?r.scope_:eA(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:n,draft_:null,copy_:null,revoke_:null,isManual_:!1};let l=u,d=Gw;i&&(l=[u],d=ym);const{revoke:h,proxy:v}=Proxy.revocable(l,d);return u.draft_=v,u.revoke_=h,v}var Gw={get(n,r){if(r===Yi)return n;const i=Bf(n);if(!tw(i,r))return Cz(n,i,r);const u=i[r];return n.finalized_||!tu(u)?u:u===EE(n.base_,r)?(wE(n),n.copy_[r]=ow(u,n)):u},has(n,r){return r in Bf(n)},ownKeys(n){return Reflect.ownKeys(Bf(n))},set(n,r,i){const u=tA(Bf(n),r);if(u!=null&&u.set)return u.set.call(n.draft_,i),!0;if(!n.modified_){const l=EE(Bf(n),r),d=l==null?void 0:l[Yi];if(d&&d.base_===i)return n.copy_[r]=i,n.assigned_[r]=!1,!0;if(vz(i,l)&&(i!==void 0||tw(n.base_,r)))return!0;wE(n),iw(n)}return n.copy_[r]===i&&(i!==void 0||r in n.copy_)||Number.isNaN(i)&&Number.isNaN(n.copy_[r])||(n.copy_[r]=i,n.assigned_[r]=!0),!0},deleteProperty(n,r){return EE(n.base_,r)!==void 0||r in n.base_?(n.assigned_[r]=!1,wE(n),iw(n)):delete n.assigned_[r],n.copy_&&delete n.copy_[r],!0},getOwnPropertyDescriptor(n,r){const i=Bf(n),u=Reflect.getOwnPropertyDescriptor(i,r);return u&&{writable:!0,configurable:n.type_!==1||r!=="length",enumerable:u.enumerable,value:i[r]}},defineProperty(){_i(11)},getPrototypeOf(n){return Up(n.base_)},setPrototypeOf(){_i(12)}},ym={};mm(Gw,(n,r)=>{ym[n]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}});ym.deleteProperty=function(n,r){return _m.NODE_ENV!=="production"&&isNaN(parseInt(r))&&_i(13),ym.set.call(this,n,r,void 0)};ym.set=function(n,r,i){return _m.NODE_ENV!=="production"&&r!=="length"&&isNaN(parseInt(r))&&_i(14),Gw.set.call(this,n[0],r,i,n[0])};function EE(n,r){const i=n[Yi];return(i?Bf(i):n)[r]}function Cz(n,r,i){var l;const u=tA(r,i);return u?"value"in u?u.value:(l=u.get)==null?void 0:l.call(n.draft_):void 0}function tA(n,r){if(!(r in n))return;let i=Up(n);for(;i;){const u=Object.getOwnPropertyDescriptor(i,r);if(u)return u;i=Up(i)}}function iw(n){n.modified_||(n.modified_=!0,n.parent_&&iw(n.parent_))}function wE(n){n.copy_||(n.copy_=nw(n.base_,n.scope_.immer_.useStrictShallowCopy_))}var xz=class{constructor(n){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(r,i,u)=>{if(typeof r=="function"&&typeof i!="function"){const d=i;i=r;const h=this;return function(y=d,...C){return h.produce(y,x=>i.call(this,x,...C))}}typeof i!="function"&&_i(6),u!==void 0&&typeof u!="function"&&_i(7);let l;if(tu(r)){const d=HN(this),h=ow(r,void 0);let v=!0;try{l=i(h),v=!1}finally{v?rw(d):aw(d)}return zN(d,u),UN(l,d)}else if(!r||typeof r!="object"){if(l=i(r),l===void 0&&(l=r),l===qO&&(l=void 0),this.autoFreeze_&&$w(l,!0),u){const d=[],h=[];Wf("Patches").generateReplacementPatches_(r,l,d,h),u(d,h)}return l}else _i(1,r)},this.produceWithPatches=(r,i)=>{if(typeof r=="function")return(h,...v)=>this.produceWithPatches(h,y=>r(y,...v));let u,l;return[this.produce(r,i,(h,v)=>{u=h,l=v}),u,l]},typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze),typeof(n==null?void 0:n.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(n.useStrictShallowCopy)}createDraft(n){tu(n)||_i(8),mc(n)&&(n=nA(n));const r=HN(this),i=ow(n,void 0);return i[Yi].isManual_=!0,aw(r),i}finishDraft(n,r){const i=n&&n[Yi];(!i||!i.isManual_)&&_i(9);const{scope_:u}=i;return zN(u,r),UN(void 0,u)}setAutoFreeze(n){this.autoFreeze_=n}setUseStrictShallowCopy(n){this.useStrictShallowCopy_=n}applyPatches(n,r){let i;for(i=r.length-1;i>=0;i--){const l=r[i];if(l.path.length===0&&l.op==="replace"){n=l.value;break}}i>-1&&(r=r.slice(i+1));const u=Wf("Patches").applyPatches_;return mc(n)?u(n,r):this.produce(n,l=>u(l,r))}};function ow(n,r){const i=O0(n)?Wf("MapSet").proxyMap_(n,r):A0(n)?Wf("MapSet").proxySet_(n,r):bz(n,r);return(r?r.scope_:eA()).drafts_.push(i),i}function nA(n){return mc(n)||_i(10,n),rA(n)}function rA(n){if(!tu(n)||j0(n))return n;const r=n[Yi];let i;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,i=nw(n,r.scope_.immer_.useStrictShallowCopy_)}else i=nw(n,!0);return mm(i,(u,l)=>{KO(i,u,rA(l))}),r&&(r.finalized_=!1),i}var Zi=new xz,So=Zi.produce;Zi.produceWithPatches.bind(Zi);Zi.setAutoFreeze.bind(Zi);Zi.setUseStrictShallowCopy.bind(Zi);Zi.applyPatches.bind(Zi);Zi.createDraft.bind(Zi);Zi.finishDraft.bind(Zi);var Sz={},Ez=(n,r,i)=>{if(r.length===1&&r[0]===i){let u=!1;try{const l={};n(l)===l&&(u=!0)}catch{}if(u){let l;try{throw new Error}catch(d){({stack:l}=d)}console.warn(`The result function returned its own inputs without modification. e.g
235
235
  \`createSelector([state => state.todos], todos => todos)\`
236
236
  This could lead to inefficient memoization and unnecessary re-renders.
237
237
  Ensure transformation logic is in the result function, and extraction logic is in the input selectors.`,{stack:l})}}},wz=(n,r,i)=>{const{memoize:u,memoizeOptions:l}=r,{inputSelectorResults:d,inputSelectorResultsCopy:h}=n,v=u(()=>({}),...l);if(!(v.apply(null,d)===v.apply(null,h))){let C;try{throw new Error}catch(x){({stack:C}=x)}console.warn(`An input selector returned a different result when passed same arguments.
238
238
  This means your output selector will likely run more frequently than intended.
239
239
  Avoid returning a new reference inside your input selector, e.g.
240
- \`createSelector([state => state.todos.map(todo => todo.id)], todoIds => todoIds.length)\``,{arguments:i,firstInputs:d,secondInputs:h,stack:C})}},Rz={inputStabilityCheck:"once",identityFunctionCheck:"once"};function Tz(n,r=`expected a function, instead received ${typeof n}`){if(typeof n!="function")throw new TypeError(r)}function Iz(n,r=`expected an object, instead received ${typeof n}`){if(typeof n!="object")throw new TypeError(r)}function Nz(n,r="expected all items to be functions, instead received the following types: "){if(!n.every(i=>typeof i=="function")){const i=n.map(u=>typeof u=="function"?`function ${u.name||"unnamed"}()`:typeof u).join(", ");throw new TypeError(`${r}[${i}]`)}}var GN=n=>Array.isArray(n)?n:[n];function _z(n){const r=Array.isArray(n[0])?n[0]:n;return Nz(r,"createSelector expects all input-selectors to be functions, but received the following types: "),r}function WN(n,r){const i=[],{length:u}=n;for(let l=0;l<u;l++)i.push(n[l].apply(null,r));return i}var Oz=(n,r)=>{const{identityFunctionCheck:i,inputStabilityCheck:u}={...Rz,...r};return{identityFunctionCheck:{shouldRun:i==="always"||i==="once"&&n,run:Ez},inputStabilityCheck:{shouldRun:u==="always"||u==="once"&&n,run:wz}}},Az=class{constructor(n){this.value=n}deref(){return this.value}},jz=typeof WeakRef<"u"?WeakRef:Az,Dz=0,XN=1;function Nb(){return{s:Dz,v:void 0,o:null,p:null}}function Ww(n,r={}){let i=Nb();const{resultEqualityCheck:u}=r;let l,d=0;function h(){var R;let v=i;const{length:y}=arguments;for(let T=0,j=y;T<j;T++){const N=arguments[T];if(typeof N=="function"||typeof N=="object"&&N!==null){let O=v.o;O===null&&(v.o=O=new WeakMap);const _=O.get(N);_===void 0?(v=Nb(),O.set(N,v)):v=_}else{let O=v.p;O===null&&(v.p=O=new Map);const _=O.get(N);_===void 0?(v=Nb(),O.set(N,v)):v=_}}const C=v;let x;if(v.s===XN?x=v.v:(x=n.apply(null,arguments),d++),C.s=XN,u){const T=((R=l==null?void 0:l.deref)==null?void 0:R.call(l))??l;T!=null&&u(T,x)&&(x=T,d!==0&&d--),l=typeof x=="object"&&x!==null||typeof x=="function"?new jz(x):x}return C.v=x,x}return h.clearCache=()=>{i=Nb(),h.resetResultsCount()},h.resultsCount=()=>d,h.resetResultsCount=()=>{d=0},h}function aA(n,...r){const i=typeof n=="function"?{memoize:n,memoizeOptions:r}:n,u=(...l)=>{let d=0,h=0,v,y={},C=l.pop();typeof C=="object"&&(y=C,C=l.pop()),Tz(C,`createSelector expects an output function after the inputs, but received: [${typeof C}]`);const x={...i,...y},{memoize:R,memoizeOptions:T=[],argsMemoize:j=Ww,argsMemoizeOptions:N=[],devModeChecks:O={}}=x,_=GN(T),L=GN(N),F=_z(l),V=R(function(){return d++,C.apply(null,arguments)},..._);let H=!0;const z=j(function(){h++;const J=WN(F,arguments);if(v=V.apply(null,J),Sz.NODE_ENV!=="production"){const{identityFunctionCheck:q,inputStabilityCheck:Re}=Oz(H,O);if(q.shouldRun&&q.run(C,J,v),Re.shouldRun){const he=WN(F,arguments);Re.run({inputSelectorResults:J,inputSelectorResultsCopy:he},{memoize:R,memoizeOptions:_},arguments)}H&&(H=!1)}return v},...L);return Object.assign(z,{resultFunc:C,memoizedResultFunc:V,dependencies:F,dependencyRecomputations:()=>h,resetDependencyRecomputations:()=>{h=0},lastResult:()=>v,recomputations:()=>d,resetRecomputations:()=>{d=0},memoize:R,argsMemoize:j})};return Object.assign(u,{withTypes:()=>u}),u}var kz=aA(Ww),Mz=Object.assign((n,r=kz)=>{Iz(n,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof n}`);const i=Object.keys(n),u=i.map(d=>n[d]);return r(u,(...d)=>d.reduce((h,v,y)=>(h[i[y]]=v,h),{}))},{withTypes:()=>Mz});function iA(n){return({dispatch:i,getState:u})=>l=>d=>typeof d=="function"?d(i,u,n):l(d)}var Lz=iA(),Pz=iA,Ft={},Fz=(...n)=>{const r=aA(...n),i=Object.assign((...u)=>{const l=r(...u),d=(h,...v)=>l(hc(h)?nA(h):h,...v);return Object.assign(d,l),d},{withTypes:()=>i});return i};Fz(Ww);var Vz=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?i0:i0.apply(null,arguments)},oA=n=>n&&typeof n.match=="function";function Ql(n,r){function i(...u){if(r){let l=r(...u);if(!l)throw new Error(Ft.NODE_ENV==="production"?Rn(0):"prepareAction did not return an object");return{type:n,payload:l.payload,..."meta"in l&&{meta:l.meta},..."error"in l&&{error:l.error}}}return{type:n,payload:u[0]}}return i.toString=()=>`${n}`,i.type=n,i.match=u=>JO(u)&&u.type===n,i}function Bz(n){return typeof n=="function"&&"type"in n&&oA(n)}function zz(n){const r=n?`${n}`.split("/"):[],i=r[r.length-1]||"actionCreator";return`Detected an action creator with type "${n||"unknown"}" being dispatched.
240
+ \`createSelector([state => state.todos.map(todo => todo.id)], todoIds => todoIds.length)\``,{arguments:i,firstInputs:d,secondInputs:h,stack:C})}},Rz={inputStabilityCheck:"once",identityFunctionCheck:"once"};function Tz(n,r=`expected a function, instead received ${typeof n}`){if(typeof n!="function")throw new TypeError(r)}function Iz(n,r=`expected an object, instead received ${typeof n}`){if(typeof n!="object")throw new TypeError(r)}function Nz(n,r="expected all items to be functions, instead received the following types: "){if(!n.every(i=>typeof i=="function")){const i=n.map(u=>typeof u=="function"?`function ${u.name||"unnamed"}()`:typeof u).join(", ");throw new TypeError(`${r}[${i}]`)}}var GN=n=>Array.isArray(n)?n:[n];function _z(n){const r=Array.isArray(n[0])?n[0]:n;return Nz(r,"createSelector expects all input-selectors to be functions, but received the following types: "),r}function WN(n,r){const i=[],{length:u}=n;for(let l=0;l<u;l++)i.push(n[l].apply(null,r));return i}var Oz=(n,r)=>{const{identityFunctionCheck:i,inputStabilityCheck:u}={...Rz,...r};return{identityFunctionCheck:{shouldRun:i==="always"||i==="once"&&n,run:Ez},inputStabilityCheck:{shouldRun:u==="always"||u==="once"&&n,run:wz}}},Az=class{constructor(n){this.value=n}deref(){return this.value}},jz=typeof WeakRef<"u"?WeakRef:Az,Dz=0,XN=1;function Nb(){return{s:Dz,v:void 0,o:null,p:null}}function Ww(n,r={}){let i=Nb();const{resultEqualityCheck:u}=r;let l,d=0;function h(){var R;let v=i;const{length:y}=arguments;for(let T=0,j=y;T<j;T++){const N=arguments[T];if(typeof N=="function"||typeof N=="object"&&N!==null){let O=v.o;O===null&&(v.o=O=new WeakMap);const _=O.get(N);_===void 0?(v=Nb(),O.set(N,v)):v=_}else{let O=v.p;O===null&&(v.p=O=new Map);const _=O.get(N);_===void 0?(v=Nb(),O.set(N,v)):v=_}}const C=v;let x;if(v.s===XN?x=v.v:(x=n.apply(null,arguments),d++),C.s=XN,u){const T=((R=l==null?void 0:l.deref)==null?void 0:R.call(l))??l;T!=null&&u(T,x)&&(x=T,d!==0&&d--),l=typeof x=="object"&&x!==null||typeof x=="function"?new jz(x):x}return C.v=x,x}return h.clearCache=()=>{i=Nb(),h.resetResultsCount()},h.resultsCount=()=>d,h.resetResultsCount=()=>{d=0},h}function aA(n,...r){const i=typeof n=="function"?{memoize:n,memoizeOptions:r}:n,u=(...l)=>{let d=0,h=0,v,y={},C=l.pop();typeof C=="object"&&(y=C,C=l.pop()),Tz(C,`createSelector expects an output function after the inputs, but received: [${typeof C}]`);const x={...i,...y},{memoize:R,memoizeOptions:T=[],argsMemoize:j=Ww,argsMemoizeOptions:N=[],devModeChecks:O={}}=x,_=GN(T),L=GN(N),F=_z(l),V=R(function(){return d++,C.apply(null,arguments)},..._);let H=!0;const z=j(function(){h++;const J=WN(F,arguments);if(v=V.apply(null,J),Sz.NODE_ENV!=="production"){const{identityFunctionCheck:q,inputStabilityCheck:Re}=Oz(H,O);if(q.shouldRun&&q.run(C,J,v),Re.shouldRun){const he=WN(F,arguments);Re.run({inputSelectorResults:J,inputSelectorResultsCopy:he},{memoize:R,memoizeOptions:_},arguments)}H&&(H=!1)}return v},...L);return Object.assign(z,{resultFunc:C,memoizedResultFunc:V,dependencies:F,dependencyRecomputations:()=>h,resetDependencyRecomputations:()=>{h=0},lastResult:()=>v,recomputations:()=>d,resetRecomputations:()=>{d=0},memoize:R,argsMemoize:j})};return Object.assign(u,{withTypes:()=>u}),u}var kz=aA(Ww),Mz=Object.assign((n,r=kz)=>{Iz(n,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof n}`);const i=Object.keys(n),u=i.map(d=>n[d]);return r(u,(...d)=>d.reduce((h,v,y)=>(h[i[y]]=v,h),{}))},{withTypes:()=>Mz});function iA(n){return({dispatch:i,getState:u})=>l=>d=>typeof d=="function"?d(i,u,n):l(d)}var Lz=iA(),Pz=iA,Ft={},Fz=(...n)=>{const r=aA(...n),i=Object.assign((...u)=>{const l=r(...u),d=(h,...v)=>l(mc(h)?nA(h):h,...v);return Object.assign(d,l),d},{withTypes:()=>i});return i};Fz(Ww);var Vz=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?i0:i0.apply(null,arguments)},oA=n=>n&&typeof n.match=="function";function Kl(n,r){function i(...u){if(r){let l=r(...u);if(!l)throw new Error(Ft.NODE_ENV==="production"?Rn(0):"prepareAction did not return an object");return{type:n,payload:l.payload,..."meta"in l&&{meta:l.meta},..."error"in l&&{error:l.error}}}return{type:n,payload:u[0]}}return i.toString=()=>`${n}`,i.type=n,i.match=u=>JO(u)&&u.type===n,i}function Bz(n){return typeof n=="function"&&"type"in n&&oA(n)}function zz(n){const r=n?`${n}`.split("/"):[],i=r[r.length-1]||"actionCreator";return`Detected an action creator with type "${n||"unknown"}" being dispatched.
241
241
  Make sure you're calling the action creator before dispatching, i.e. \`dispatch(${i}())\` instead of \`dispatch(${i})\`. This is necessary even if the action has no payload.`}function Hz(n={}){if(Ft.NODE_ENV==="production")return()=>i=>u=>i(u);const{isActionCreator:r=Bz}=n;return()=>i=>u=>(r(u)&&console.warn(zz(u.type)),i(u))}function sA(n,r){let i=0;return{measureTime(u){const l=Date.now();try{return u()}finally{const d=Date.now();i+=d-l}},warnIfExceeded(){i>n&&console.warn(`${r} took ${i}ms, which is more than the warning threshold of ${n}ms.
242
242
  If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
243
- It is disabled in production builds, so you don't need to worry about that.`)}}}var lA=class fm extends Array{constructor(...r){super(...r),Object.setPrototypeOf(this,fm.prototype)}static get[Symbol.species](){return fm}concat(...r){return super.concat.apply(this,r)}prepend(...r){return r.length===1&&Array.isArray(r[0])?new fm(...r[0].concat(this)):new fm(...r.concat(this))}};function YN(n){return eu(n)?So(n,()=>{}):n}function ZN(n,r,i){if(n.has(r)){let l=n.get(r);return i.update&&(l=i.update(l,r,n),n.set(r,l)),l}if(!i.insert)throw new Error(Ft.NODE_ENV==="production"?Rn(10):"No insert provided for key not already in map");const u=i.insert(r,n);return n.set(r,u),u}function Uz(n){return typeof n!="object"||n==null||Object.isFrozen(n)}function $z(n,r,i){const u=uA(n,r,i);return{detectMutations(){return cA(n,r,u,i)}}}function uA(n,r=[],i,u="",l=new Set){const d={value:i};if(!n(i)&&!l.has(i)){l.add(i),d.children={};for(const h in i){const v=u?u+"."+h:h;r.length&&r.indexOf(v)!==-1||(d.children[h]=uA(n,r,i[h],v))}}return d}function cA(n,r=[],i,u,l=!1,d=""){const h=i?i.value:void 0,v=h===u;if(l&&!v&&!Number.isNaN(u))return{wasMutated:!0,path:d};if(n(h)||n(u))return{wasMutated:!1};const y={};for(let x in i.children)y[x]=!0;for(let x in u)y[x]=!0;const C=r.length>0;for(let x in y){const R=d?d+"."+x:x;if(C&&r.some(N=>N instanceof RegExp?N.test(R):R===N))continue;const T=cA(n,r,i.children[x],u[x],v,R);if(T.wasMutated)return T}return{wasMutated:!1}}function Gz(n={}){if(Ft.NODE_ENV==="production")return()=>r=>i=>r(i);{let r=function(v,y,C,x){return JSON.stringify(v,i(y,x),C)},i=function(v,y){let C=[],x=[];return y||(y=function(R,T){return C[0]===T?"[Circular ~]":"[Circular ~."+x.slice(0,C.indexOf(T)).join(".")+"]"}),function(R,T){if(C.length>0){var j=C.indexOf(this);~j?C.splice(j+1):C.push(this),~j?x.splice(j,1/0,R):x.push(R),~C.indexOf(T)&&(T=y.call(this,R,T))}else C.push(T);return v==null?T:v.call(this,R,T)}},{isImmutable:u=Uz,ignoredPaths:l,warnAfter:d=32}=n;const h=$z.bind(null,u,l);return({getState:v})=>{let y=v(),C=h(y),x;return R=>T=>{const j=sA(d,"ImmutableStateInvariantMiddleware");j.measureTime(()=>{if(y=v(),x=C.detectMutations(),C=h(y),x.wasMutated)throw new Error(Ft.NODE_ENV==="production"?Rn(19):`A state mutation was detected between dispatches, in the path '${x.path||""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)});const N=R(T);return j.measureTime(()=>{if(y=v(),x=C.detectMutations(),C=h(y),x.wasMutated)throw new Error(Ft.NODE_ENV==="production"?Rn(20):`A state mutation was detected inside a dispatch, in the path: ${x.path||""}. Take a look at the reducer(s) handling the action ${r(T)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)}),j.warnIfExceeded(),N}}}}function fA(n){const r=typeof n;return n==null||r==="string"||r==="boolean"||r==="number"||Array.isArray(n)||Nm(n)}function sw(n,r="",i=fA,u,l=[],d){let h;if(!i(n))return{keyPath:r||"<root>",value:n};if(typeof n!="object"||n===null||d!=null&&d.has(n))return!1;const v=u!=null?u(n):Object.entries(n),y=l.length>0;for(const[C,x]of v){const R=r?r+"."+C:C;if(!(y&&l.some(j=>j instanceof RegExp?j.test(R):R===j))){if(!i(x))return{keyPath:R,value:x};if(typeof x=="object"&&(h=sw(x,R,i,u,l,d),h))return h}}return d&&dA(n)&&d.add(n),!1}function dA(n){if(!Object.isFrozen(n))return!1;for(const r of Object.values(n))if(!(typeof r!="object"||r===null)&&!dA(r))return!1;return!0}function Wz(n={}){if(Ft.NODE_ENV==="production")return()=>r=>i=>r(i);{const{isSerializable:r=fA,getEntries:i,ignoredActions:u=[],ignoredActionPaths:l=["meta.arg","meta.baseQueryMeta"],ignoredPaths:d=[],warnAfter:h=32,ignoreState:v=!1,ignoreActions:y=!1,disableCache:C=!1}=n,x=!C&&WeakSet?new WeakSet:void 0;return R=>T=>j=>{if(!JO(j))return T(j);const N=T(j),O=sA(h,"SerializableStateInvariantMiddleware");return!y&&!(u.length&&u.indexOf(j.type)!==-1)&&O.measureTime(()=>{const _=sw(j,"",r,i,l,x);if(_){const{keyPath:L,value:F}=_;console.error(`A non-serializable value was detected in an action, in the path: \`${L}\`. Value:`,F,`
243
+ It is disabled in production builds, so you don't need to worry about that.`)}}}var lA=class fm extends Array{constructor(...r){super(...r),Object.setPrototypeOf(this,fm.prototype)}static get[Symbol.species](){return fm}concat(...r){return super.concat.apply(this,r)}prepend(...r){return r.length===1&&Array.isArray(r[0])?new fm(...r[0].concat(this)):new fm(...r.concat(this))}};function YN(n){return tu(n)?So(n,()=>{}):n}function ZN(n,r,i){if(n.has(r)){let l=n.get(r);return i.update&&(l=i.update(l,r,n),n.set(r,l)),l}if(!i.insert)throw new Error(Ft.NODE_ENV==="production"?Rn(10):"No insert provided for key not already in map");const u=i.insert(r,n);return n.set(r,u),u}function Uz(n){return typeof n!="object"||n==null||Object.isFrozen(n)}function $z(n,r,i){const u=uA(n,r,i);return{detectMutations(){return cA(n,r,u,i)}}}function uA(n,r=[],i,u="",l=new Set){const d={value:i};if(!n(i)&&!l.has(i)){l.add(i),d.children={};for(const h in i){const v=u?u+"."+h:h;r.length&&r.indexOf(v)!==-1||(d.children[h]=uA(n,r,i[h],v))}}return d}function cA(n,r=[],i,u,l=!1,d=""){const h=i?i.value:void 0,v=h===u;if(l&&!v&&!Number.isNaN(u))return{wasMutated:!0,path:d};if(n(h)||n(u))return{wasMutated:!1};const y={};for(let x in i.children)y[x]=!0;for(let x in u)y[x]=!0;const C=r.length>0;for(let x in y){const R=d?d+"."+x:x;if(C&&r.some(N=>N instanceof RegExp?N.test(R):R===N))continue;const T=cA(n,r,i.children[x],u[x],v,R);if(T.wasMutated)return T}return{wasMutated:!1}}function Gz(n={}){if(Ft.NODE_ENV==="production")return()=>r=>i=>r(i);{let r=function(v,y,C,x){return JSON.stringify(v,i(y,x),C)},i=function(v,y){let C=[],x=[];return y||(y=function(R,T){return C[0]===T?"[Circular ~]":"[Circular ~."+x.slice(0,C.indexOf(T)).join(".")+"]"}),function(R,T){if(C.length>0){var j=C.indexOf(this);~j?C.splice(j+1):C.push(this),~j?x.splice(j,1/0,R):x.push(R),~C.indexOf(T)&&(T=y.call(this,R,T))}else C.push(T);return v==null?T:v.call(this,R,T)}},{isImmutable:u=Uz,ignoredPaths:l,warnAfter:d=32}=n;const h=$z.bind(null,u,l);return({getState:v})=>{let y=v(),C=h(y),x;return R=>T=>{const j=sA(d,"ImmutableStateInvariantMiddleware");j.measureTime(()=>{if(y=v(),x=C.detectMutations(),C=h(y),x.wasMutated)throw new Error(Ft.NODE_ENV==="production"?Rn(19):`A state mutation was detected between dispatches, in the path '${x.path||""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)});const N=R(T);return j.measureTime(()=>{if(y=v(),x=C.detectMutations(),C=h(y),x.wasMutated)throw new Error(Ft.NODE_ENV==="production"?Rn(20):`A state mutation was detected inside a dispatch, in the path: ${x.path||""}. Take a look at the reducer(s) handling the action ${r(T)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)}),j.warnIfExceeded(),N}}}}function fA(n){const r=typeof n;return n==null||r==="string"||r==="boolean"||r==="number"||Array.isArray(n)||Nm(n)}function sw(n,r="",i=fA,u,l=[],d){let h;if(!i(n))return{keyPath:r||"<root>",value:n};if(typeof n!="object"||n===null||d!=null&&d.has(n))return!1;const v=u!=null?u(n):Object.entries(n),y=l.length>0;for(const[C,x]of v){const R=r?r+"."+C:C;if(!(y&&l.some(j=>j instanceof RegExp?j.test(R):R===j))){if(!i(x))return{keyPath:R,value:x};if(typeof x=="object"&&(h=sw(x,R,i,u,l,d),h))return h}}return d&&dA(n)&&d.add(n),!1}function dA(n){if(!Object.isFrozen(n))return!1;for(const r of Object.values(n))if(!(typeof r!="object"||r===null)&&!dA(r))return!1;return!0}function Wz(n={}){if(Ft.NODE_ENV==="production")return()=>r=>i=>r(i);{const{isSerializable:r=fA,getEntries:i,ignoredActions:u=[],ignoredActionPaths:l=["meta.arg","meta.baseQueryMeta"],ignoredPaths:d=[],warnAfter:h=32,ignoreState:v=!1,ignoreActions:y=!1,disableCache:C=!1}=n,x=!C&&WeakSet?new WeakSet:void 0;return R=>T=>j=>{if(!JO(j))return T(j);const N=T(j),O=sA(h,"SerializableStateInvariantMiddleware");return!y&&!(u.length&&u.indexOf(j.type)!==-1)&&O.measureTime(()=>{const _=sw(j,"",r,i,l,x);if(_){const{keyPath:L,value:F}=_;console.error(`A non-serializable value was detected in an action, in the path: \`${L}\`. Value:`,F,`
244
244
  Take a look at the logic that dispatched this action: `,j,`
245
245
  (See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
246
246
  (To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),v||(O.measureTime(()=>{const _=R.getState(),L=sw(_,"",r,i,d,x);if(L){const{keyPath:F,value:V}=L;console.error(`A non-serializable value was detected in the state, in the path: \`${F}\`. Value:`,V,`
247
247
  Take a look at the reducer(s) handling this action type: ${j.type}.
248
- (See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),O.warnIfExceeded()),N}}}function _b(n){return typeof n=="boolean"}var Xz=()=>function(r){const{thunk:i=!0,immutableCheck:u=!0,serializableCheck:l=!0,actionCreatorCheck:d=!0}=r??{};let h=new lA;if(i&&(_b(i)?h.push(Lz):h.push(Pz(i.extraArgument))),Ft.NODE_ENV!=="production"){if(u){let v={};_b(u)||(v=u),h.unshift(Gz(v))}if(l){let v={};_b(l)||(v=l),h.push(Wz(v))}if(d){let v={};_b(d)||(v=d),h.unshift(Hz(v))}}return h},Yz="RTK_autoBatch",pA=n=>r=>{setTimeout(r,n)},Zz=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:pA(10),Jz=(n={type:"raf"})=>r=>(...i)=>{const u=r(...i);let l=!0,d=!1,h=!1;const v=new Set,y=n.type==="tick"?queueMicrotask:n.type==="raf"?Zz:n.type==="callback"?n.queueNotification:pA(n.timeout),C=()=>{h=!1,d&&(d=!1,v.forEach(x=>x()))};return Object.assign({},u,{subscribe(x){const R=()=>l&&x(),T=u.subscribe(R);return v.add(x),()=>{T(),v.delete(x)}},dispatch(x){var R;try{return l=!((R=x==null?void 0:x.meta)!=null&&R[Yz]),d=!l,d&&(h||(h=!0,y(C))),u.dispatch(x)}finally{l=!0}}})},qz=n=>function(i){const{autoBatch:u=!0}=i??{};let l=new lA(n);return u&&l.push(Jz(typeof u=="object"?u:void 0)),l},cc=Ft.NODE_ENV==="production";function Om(n){const r=Xz(),{reducer:i=void 0,middleware:u,devTools:l=!0,preloadedState:d=void 0,enhancers:h=void 0}=n||{};let v;if(typeof i=="function")v=i;else if(Nm(i))v=cz(i);else throw new Error(Ft.NODE_ENV==="production"?Rn(1):"`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers");if(!cc&&u&&typeof u!="function")throw new Error(Ft.NODE_ENV==="production"?Rn(2):"`middleware` field must be a callback");let y;if(typeof u=="function"){if(y=u(r),!cc&&!Array.isArray(y))throw new Error(Ft.NODE_ENV==="production"?Rn(3):"when using a middleware builder function, an array of middleware must be returned")}else y=r();if(!cc&&y.some(N=>typeof N!="function"))throw new Error(Ft.NODE_ENV==="production"?Rn(4):"each middleware provided to configureStore must be a function");let C=i0;l&&(C=Vz({trace:!cc,...typeof l=="object"&&l}));const x=fz(...y),R=qz(x);if(!cc&&h&&typeof h!="function")throw new Error(Ft.NODE_ENV==="production"?Rn(5):"`enhancers` field must be a callback");let T=typeof h=="function"?h(R):R();if(!cc&&!Array.isArray(T))throw new Error(Ft.NODE_ENV==="production"?Rn(6):"`enhancers` callback must return an array");if(!cc&&T.some(N=>typeof N!="function"))throw new Error(Ft.NODE_ENV==="production"?Rn(7):"each enhancer provided to configureStore must be a function");!cc&&y.length&&!T.includes(x)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");const j=C(...T);return ZO(v,d,j)}function vA(n){const r={},i=[];let u;const l={addCase(d,h){if(Ft.NODE_ENV!=="production"){if(i.length>0)throw new Error(Ft.NODE_ENV==="production"?Rn(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(u)throw new Error(Ft.NODE_ENV==="production"?Rn(27):"`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const v=typeof d=="string"?d:d.type;if(!v)throw new Error(Ft.NODE_ENV==="production"?Rn(28):"`builder.addCase` cannot be called with an empty action type");if(v in r)throw new Error(Ft.NODE_ENV==="production"?Rn(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${v}'`);return r[v]=h,l},addMatcher(d,h){if(Ft.NODE_ENV!=="production"&&u)throw new Error(Ft.NODE_ENV==="production"?Rn(30):"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return i.push({matcher:d,reducer:h}),l},addDefaultCase(d){if(Ft.NODE_ENV!=="production"&&u)throw new Error(Ft.NODE_ENV==="production"?Rn(31):"`builder.addDefaultCase` can only be called once");return u=d,l}};return n(l),[r,i,u]}function Qz(n){return typeof n=="function"}function Kz(n,r){if(Ft.NODE_ENV!=="production"&&typeof r=="object")throw new Error(Ft.NODE_ENV==="production"?Rn(8):"The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");let[i,u,l]=vA(r),d;if(Qz(n))d=()=>YN(n());else{const v=YN(n);d=()=>v}function h(v=d(),y){let C=[i[y.type],...u.filter(({matcher:x})=>x(y)).map(({reducer:x})=>x)];return C.filter(x=>!!x).length===0&&(C=[l]),C.reduce((x,R)=>{if(R)if(hc(x)){const j=R(x,y);return j===void 0?x:j}else{if(eu(x))return So(x,T=>R(T,y));{const T=R(x,y);if(T===void 0){if(x===null)return x;throw new Error(Ft.NODE_ENV==="production"?Rn(9):"A case reducer on a non-draftable value must not return undefined")}return T}}return x},v)}return h.getInitialState=d,h}var eH="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",hA=(n=21)=>{let r="",i=n;for(;i--;)r+=eH[Math.random()*64|0];return r},tH=(n,r)=>oA(n)?n.match(r):n(r);function nH(...n){return r=>n.some(i=>tH(i,r))}var rH=["name","message","stack","code"],RE=class{constructor(n,r){bE(this,"_type");this.payload=n,this.meta=r}},JN=class{constructor(n,r){bE(this,"_type");this.payload=n,this.meta=r}},aH=n=>{if(typeof n=="object"&&n!==null){const r={};for(const i of rH)typeof n[i]=="string"&&(r[i]=n[i]);return r}return{message:String(n)}},Di=(()=>{function n(r,i,u){const l=Ql(r+"/fulfilled",(y,C,x,R)=>({payload:y,meta:{...R||{},arg:x,requestId:C,requestStatus:"fulfilled"}})),d=Ql(r+"/pending",(y,C,x)=>({payload:void 0,meta:{...x||{},arg:C,requestId:y,requestStatus:"pending"}})),h=Ql(r+"/rejected",(y,C,x,R,T)=>({payload:R,error:(u&&u.serializeError||aH)(y||"Rejected"),meta:{...T||{},arg:x,requestId:C,rejectedWithValue:!!R,requestStatus:"rejected",aborted:(y==null?void 0:y.name)==="AbortError",condition:(y==null?void 0:y.name)==="ConditionError"}}));function v(y){return(C,x,R)=>{const T=u!=null&&u.idGenerator?u.idGenerator(y):hA(),j=new AbortController;let N,O;function _(F){O=F,j.abort()}const L=async function(){var H,z;let F;try{let U=(H=u==null?void 0:u.condition)==null?void 0:H.call(u,y,{getState:x,extra:R});if(oH(U)&&(U=await U),U===!1||j.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const J=new Promise((q,Re)=>{N=()=>{Re({name:"AbortError",message:O||"Aborted"})},j.signal.addEventListener("abort",N)});C(d(T,y,(z=u==null?void 0:u.getPendingMeta)==null?void 0:z.call(u,{requestId:T,arg:y},{getState:x,extra:R}))),F=await Promise.race([J,Promise.resolve(i(y,{dispatch:C,getState:x,extra:R,requestId:T,signal:j.signal,abort:_,rejectWithValue:(q,Re)=>new RE(q,Re),fulfillWithValue:(q,Re)=>new JN(q,Re)})).then(q=>{if(q instanceof RE)throw q;return q instanceof JN?l(q.payload,T,y,q.meta):l(q,T,y)})])}catch(U){F=U instanceof RE?h(null,T,y,U.payload,U.meta):h(U,T,y)}finally{N&&j.signal.removeEventListener("abort",N)}return u&&!u.dispatchConditionRejection&&h.match(F)&&F.meta.condition||C(F),F}();return Object.assign(L,{abort:_,requestId:T,arg:y,unwrap(){return L.then(iH)}})}}return Object.assign(v,{pending:d,rejected:h,fulfilled:l,settled:nH(h,l),typePrefix:r})}return n.withTypes=()=>n,n})();function iH(n){if(n.meta&&n.meta.rejectedWithValue)throw n.payload;if(n.error)throw n.error;return n.payload}function oH(n){return n!==null&&typeof n=="object"&&typeof n.then=="function"}var sH=Symbol.for("rtk-slice-createasyncthunk");function lH(n,r){return`${n}/${r}`}function uH({creators:n}={}){var i;const r=(i=n==null?void 0:n.asyncThunk)==null?void 0:i[sH];return function(l){const{name:d,reducerPath:h=d}=l;if(!d)throw new Error(Ft.NODE_ENV==="production"?Rn(11):"`name` is a required option for createSlice");typeof process<"u"&&Ft.NODE_ENV==="development"&&l.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");const v=(typeof l.reducers=="function"?l.reducers(fH()):l.reducers)||{},y=Object.keys(v),C={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},x={addCase(V,H){const z=typeof V=="string"?V:V.type;if(!z)throw new Error(Ft.NODE_ENV==="production"?Rn(12):"`context.addCase` cannot be called with an empty action type");if(z in C.sliceCaseReducersByType)throw new Error(Ft.NODE_ENV==="production"?Rn(13):"`context.addCase` cannot be called with two reducers for the same action type: "+z);return C.sliceCaseReducersByType[z]=H,x},addMatcher(V,H){return C.sliceMatchers.push({matcher:V,reducer:H}),x},exposeAction(V,H){return C.actionCreators[V]=H,x},exposeCaseReducer(V,H){return C.sliceCaseReducersByName[V]=H,x}};y.forEach(V=>{const H=v[V],z={reducerName:V,type:lH(d,V),createNotation:typeof l.reducers=="function"};pH(H)?hH(z,H,x,r):dH(z,H,x)});function R(){if(Ft.NODE_ENV!=="production"&&typeof l.extraReducers=="object")throw new Error(Ft.NODE_ENV==="production"?Rn(14):"The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");const[V={},H=[],z=void 0]=typeof l.extraReducers=="function"?vA(l.extraReducers):[l.extraReducers],U={...V,...C.sliceCaseReducersByType};return Kz(l.initialState,J=>{for(let q in U)J.addCase(q,U[q]);for(let q of C.sliceMatchers)J.addMatcher(q.matcher,q.reducer);for(let q of H)J.addMatcher(q.matcher,q.reducer);z&&J.addDefaultCase(z)})}const T=V=>V,j=new Map;let N;function O(V,H){return N||(N=R()),N(V,H)}function _(){return N||(N=R()),N.getInitialState()}function L(V,H=!1){function z(J){let q=J[V];if(typeof q>"u"){if(H)q=_();else if(Ft.NODE_ENV!=="production")throw new Error(Ft.NODE_ENV==="production"?Rn(15):"selectSlice returned undefined for an uninjected slice reducer")}return q}function U(J=T){const q=ZN(j,H,{insert:()=>new WeakMap});return ZN(q,J,{insert:()=>{const Re={};for(const[he,ge]of Object.entries(l.selectors??{}))Re[he]=cH(ge,J,_,H);return Re}})}return{reducerPath:V,getSelectors:U,get selectors(){return U(z)},selectSlice:z}}const F={name:d,reducer:O,actions:C.actionCreators,caseReducers:C.sliceCaseReducersByName,getInitialState:_,...L(h),injectInto(V,{reducerPath:H,...z}={}){const U=H??h;return V.inject({reducerPath:U,reducer:O},z),{...F,...L(U,!0)}}};return F}}function cH(n,r,i,u){function l(d,...h){let v=r(d);if(typeof v>"u"){if(u)v=i();else if(Ft.NODE_ENV!=="production")throw new Error(Ft.NODE_ENV==="production"?Rn(16):"selectState returned undefined for an uninjected slice reducer")}return n(v,...h)}return l.unwrapped=n,l}var D0=uH();function fH(){function n(r,i){return{_reducerDefinitionType:"asyncThunk",payloadCreator:r,...i}}return n.withTypes=()=>n,{reducer(r){return Object.assign({[r.name](...i){return r(...i)}}[r.name],{_reducerDefinitionType:"reducer"})},preparedReducer(r,i){return{_reducerDefinitionType:"reducerWithPrepare",prepare:r,reducer:i}},asyncThunk:n}}function dH({type:n,reducerName:r,createNotation:i},u,l){let d,h;if("reducer"in u){if(i&&!vH(u))throw new Error(Ft.NODE_ENV==="production"?Rn(17):"Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");d=u.reducer,h=u.prepare}else d=u;l.addCase(n,d).exposeCaseReducer(r,d).exposeAction(r,h?Ql(n,h):Ql(n))}function pH(n){return n._reducerDefinitionType==="asyncThunk"}function vH(n){return n._reducerDefinitionType==="reducerWithPrepare"}function hH({type:n,reducerName:r},i,u,l){if(!l)throw new Error(Ft.NODE_ENV==="production"?Rn(18):"Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.");const{payloadCreator:d,fulfilled:h,pending:v,rejected:y,settled:C,options:x}=i,R=l(n,d,x);u.exposeAction(r,R),h&&u.addCase(R.fulfilled,h),v&&u.addCase(R.pending,v),y&&u.addCase(R.rejected,y),C&&u.addMatcher(R.settled,C),u.exposeCaseReducer(r,{fulfilled:h||Ob,pending:v||Ob,rejected:y||Ob,settled:C||Ob})}function Ob(){}var mH=(n,r)=>{if(typeof n!="function")throw new Error(Ft.NODE_ENV==="production"?Rn(32):`${r} is not a function`)},Xw="listenerMiddleware",gH=n=>{let{type:r,actionCreator:i,matcher:u,predicate:l,effect:d}=n;if(r)l=Ql(r).match;else if(i)r=i.type,l=i.match;else if(u)l=u;else if(!l)throw new Error(Ft.NODE_ENV==="production"?Rn(21):"Creating or removing a listener requires one of the known fields for matching an action");return mH(d,"options.listener"),{predicate:l,type:r,effect:d}},yH=Object.assign(n=>{const{type:r,predicate:i,effect:u}=gH(n);return{id:hA(),effect:u,type:r,predicate:i,pending:new Set,unsubscribe:()=>{throw new Error(Ft.NODE_ENV==="production"?Rn(22):"Unsubscribe not initialized")}}},{withTypes:()=>yH}),bH=Object.assign(Ql(`${Xw}/add`),{withTypes:()=>bH});Ql(`${Xw}/removeAll`);var CH=Object.assign(Ql(`${Xw}/remove`),{withTypes:()=>CH});function Rn(n){return`Minified Redux Toolkit error #${n}; visit https://redux-toolkit.js.org/Errors?code=${n} for the full message or use the non-minified dev environment for full errors. `}var M=qf();const kr=qp(M),l0=GB({__proto__:null,default:kr},[M]);var lw={exports:{}},TE={};/**
248
+ (See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),O.warnIfExceeded()),N}}}function _b(n){return typeof n=="boolean"}var Xz=()=>function(r){const{thunk:i=!0,immutableCheck:u=!0,serializableCheck:l=!0,actionCreatorCheck:d=!0}=r??{};let h=new lA;if(i&&(_b(i)?h.push(Lz):h.push(Pz(i.extraArgument))),Ft.NODE_ENV!=="production"){if(u){let v={};_b(u)||(v=u),h.unshift(Gz(v))}if(l){let v={};_b(l)||(v=l),h.push(Wz(v))}if(d){let v={};_b(d)||(v=d),h.unshift(Hz(v))}}return h},Yz="RTK_autoBatch",pA=n=>r=>{setTimeout(r,n)},Zz=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:pA(10),Jz=(n={type:"raf"})=>r=>(...i)=>{const u=r(...i);let l=!0,d=!1,h=!1;const v=new Set,y=n.type==="tick"?queueMicrotask:n.type==="raf"?Zz:n.type==="callback"?n.queueNotification:pA(n.timeout),C=()=>{h=!1,d&&(d=!1,v.forEach(x=>x()))};return Object.assign({},u,{subscribe(x){const R=()=>l&&x(),T=u.subscribe(R);return v.add(x),()=>{T(),v.delete(x)}},dispatch(x){var R;try{return l=!((R=x==null?void 0:x.meta)!=null&&R[Yz]),d=!l,d&&(h||(h=!0,y(C))),u.dispatch(x)}finally{l=!0}}})},qz=n=>function(i){const{autoBatch:u=!0}=i??{};let l=new lA(n);return u&&l.push(Jz(typeof u=="object"?u:void 0)),l},fc=Ft.NODE_ENV==="production";function Om(n){const r=Xz(),{reducer:i=void 0,middleware:u,devTools:l=!0,preloadedState:d=void 0,enhancers:h=void 0}=n||{};let v;if(typeof i=="function")v=i;else if(Nm(i))v=cz(i);else throw new Error(Ft.NODE_ENV==="production"?Rn(1):"`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers");if(!fc&&u&&typeof u!="function")throw new Error(Ft.NODE_ENV==="production"?Rn(2):"`middleware` field must be a callback");let y;if(typeof u=="function"){if(y=u(r),!fc&&!Array.isArray(y))throw new Error(Ft.NODE_ENV==="production"?Rn(3):"when using a middleware builder function, an array of middleware must be returned")}else y=r();if(!fc&&y.some(N=>typeof N!="function"))throw new Error(Ft.NODE_ENV==="production"?Rn(4):"each middleware provided to configureStore must be a function");let C=i0;l&&(C=Vz({trace:!fc,...typeof l=="object"&&l}));const x=fz(...y),R=qz(x);if(!fc&&h&&typeof h!="function")throw new Error(Ft.NODE_ENV==="production"?Rn(5):"`enhancers` field must be a callback");let T=typeof h=="function"?h(R):R();if(!fc&&!Array.isArray(T))throw new Error(Ft.NODE_ENV==="production"?Rn(6):"`enhancers` callback must return an array");if(!fc&&T.some(N=>typeof N!="function"))throw new Error(Ft.NODE_ENV==="production"?Rn(7):"each enhancer provided to configureStore must be a function");!fc&&y.length&&!T.includes(x)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");const j=C(...T);return ZO(v,d,j)}function vA(n){const r={},i=[];let u;const l={addCase(d,h){if(Ft.NODE_ENV!=="production"){if(i.length>0)throw new Error(Ft.NODE_ENV==="production"?Rn(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(u)throw new Error(Ft.NODE_ENV==="production"?Rn(27):"`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const v=typeof d=="string"?d:d.type;if(!v)throw new Error(Ft.NODE_ENV==="production"?Rn(28):"`builder.addCase` cannot be called with an empty action type");if(v in r)throw new Error(Ft.NODE_ENV==="production"?Rn(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${v}'`);return r[v]=h,l},addMatcher(d,h){if(Ft.NODE_ENV!=="production"&&u)throw new Error(Ft.NODE_ENV==="production"?Rn(30):"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return i.push({matcher:d,reducer:h}),l},addDefaultCase(d){if(Ft.NODE_ENV!=="production"&&u)throw new Error(Ft.NODE_ENV==="production"?Rn(31):"`builder.addDefaultCase` can only be called once");return u=d,l}};return n(l),[r,i,u]}function Qz(n){return typeof n=="function"}function Kz(n,r){if(Ft.NODE_ENV!=="production"&&typeof r=="object")throw new Error(Ft.NODE_ENV==="production"?Rn(8):"The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");let[i,u,l]=vA(r),d;if(Qz(n))d=()=>YN(n());else{const v=YN(n);d=()=>v}function h(v=d(),y){let C=[i[y.type],...u.filter(({matcher:x})=>x(y)).map(({reducer:x})=>x)];return C.filter(x=>!!x).length===0&&(C=[l]),C.reduce((x,R)=>{if(R)if(mc(x)){const j=R(x,y);return j===void 0?x:j}else{if(tu(x))return So(x,T=>R(T,y));{const T=R(x,y);if(T===void 0){if(x===null)return x;throw new Error(Ft.NODE_ENV==="production"?Rn(9):"A case reducer on a non-draftable value must not return undefined")}return T}}return x},v)}return h.getInitialState=d,h}var eH="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",hA=(n=21)=>{let r="",i=n;for(;i--;)r+=eH[Math.random()*64|0];return r},tH=(n,r)=>oA(n)?n.match(r):n(r);function nH(...n){return r=>n.some(i=>tH(i,r))}var rH=["name","message","stack","code"],RE=class{constructor(n,r){bE(this,"_type");this.payload=n,this.meta=r}},JN=class{constructor(n,r){bE(this,"_type");this.payload=n,this.meta=r}},aH=n=>{if(typeof n=="object"&&n!==null){const r={};for(const i of rH)typeof n[i]=="string"&&(r[i]=n[i]);return r}return{message:String(n)}},Di=(()=>{function n(r,i,u){const l=Kl(r+"/fulfilled",(y,C,x,R)=>({payload:y,meta:{...R||{},arg:x,requestId:C,requestStatus:"fulfilled"}})),d=Kl(r+"/pending",(y,C,x)=>({payload:void 0,meta:{...x||{},arg:C,requestId:y,requestStatus:"pending"}})),h=Kl(r+"/rejected",(y,C,x,R,T)=>({payload:R,error:(u&&u.serializeError||aH)(y||"Rejected"),meta:{...T||{},arg:x,requestId:C,rejectedWithValue:!!R,requestStatus:"rejected",aborted:(y==null?void 0:y.name)==="AbortError",condition:(y==null?void 0:y.name)==="ConditionError"}}));function v(y){return(C,x,R)=>{const T=u!=null&&u.idGenerator?u.idGenerator(y):hA(),j=new AbortController;let N,O;function _(F){O=F,j.abort()}const L=async function(){var H,z;let F;try{let U=(H=u==null?void 0:u.condition)==null?void 0:H.call(u,y,{getState:x,extra:R});if(oH(U)&&(U=await U),U===!1||j.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const J=new Promise((q,Re)=>{N=()=>{Re({name:"AbortError",message:O||"Aborted"})},j.signal.addEventListener("abort",N)});C(d(T,y,(z=u==null?void 0:u.getPendingMeta)==null?void 0:z.call(u,{requestId:T,arg:y},{getState:x,extra:R}))),F=await Promise.race([J,Promise.resolve(i(y,{dispatch:C,getState:x,extra:R,requestId:T,signal:j.signal,abort:_,rejectWithValue:(q,Re)=>new RE(q,Re),fulfillWithValue:(q,Re)=>new JN(q,Re)})).then(q=>{if(q instanceof RE)throw q;return q instanceof JN?l(q.payload,T,y,q.meta):l(q,T,y)})])}catch(U){F=U instanceof RE?h(null,T,y,U.payload,U.meta):h(U,T,y)}finally{N&&j.signal.removeEventListener("abort",N)}return u&&!u.dispatchConditionRejection&&h.match(F)&&F.meta.condition||C(F),F}();return Object.assign(L,{abort:_,requestId:T,arg:y,unwrap(){return L.then(iH)}})}}return Object.assign(v,{pending:d,rejected:h,fulfilled:l,settled:nH(h,l),typePrefix:r})}return n.withTypes=()=>n,n})();function iH(n){if(n.meta&&n.meta.rejectedWithValue)throw n.payload;if(n.error)throw n.error;return n.payload}function oH(n){return n!==null&&typeof n=="object"&&typeof n.then=="function"}var sH=Symbol.for("rtk-slice-createasyncthunk");function lH(n,r){return`${n}/${r}`}function uH({creators:n}={}){var i;const r=(i=n==null?void 0:n.asyncThunk)==null?void 0:i[sH];return function(l){const{name:d,reducerPath:h=d}=l;if(!d)throw new Error(Ft.NODE_ENV==="production"?Rn(11):"`name` is a required option for createSlice");typeof process<"u"&&Ft.NODE_ENV==="development"&&l.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");const v=(typeof l.reducers=="function"?l.reducers(fH()):l.reducers)||{},y=Object.keys(v),C={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},x={addCase(V,H){const z=typeof V=="string"?V:V.type;if(!z)throw new Error(Ft.NODE_ENV==="production"?Rn(12):"`context.addCase` cannot be called with an empty action type");if(z in C.sliceCaseReducersByType)throw new Error(Ft.NODE_ENV==="production"?Rn(13):"`context.addCase` cannot be called with two reducers for the same action type: "+z);return C.sliceCaseReducersByType[z]=H,x},addMatcher(V,H){return C.sliceMatchers.push({matcher:V,reducer:H}),x},exposeAction(V,H){return C.actionCreators[V]=H,x},exposeCaseReducer(V,H){return C.sliceCaseReducersByName[V]=H,x}};y.forEach(V=>{const H=v[V],z={reducerName:V,type:lH(d,V),createNotation:typeof l.reducers=="function"};pH(H)?hH(z,H,x,r):dH(z,H,x)});function R(){if(Ft.NODE_ENV!=="production"&&typeof l.extraReducers=="object")throw new Error(Ft.NODE_ENV==="production"?Rn(14):"The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");const[V={},H=[],z=void 0]=typeof l.extraReducers=="function"?vA(l.extraReducers):[l.extraReducers],U={...V,...C.sliceCaseReducersByType};return Kz(l.initialState,J=>{for(let q in U)J.addCase(q,U[q]);for(let q of C.sliceMatchers)J.addMatcher(q.matcher,q.reducer);for(let q of H)J.addMatcher(q.matcher,q.reducer);z&&J.addDefaultCase(z)})}const T=V=>V,j=new Map;let N;function O(V,H){return N||(N=R()),N(V,H)}function _(){return N||(N=R()),N.getInitialState()}function L(V,H=!1){function z(J){let q=J[V];if(typeof q>"u"){if(H)q=_();else if(Ft.NODE_ENV!=="production")throw new Error(Ft.NODE_ENV==="production"?Rn(15):"selectSlice returned undefined for an uninjected slice reducer")}return q}function U(J=T){const q=ZN(j,H,{insert:()=>new WeakMap});return ZN(q,J,{insert:()=>{const Re={};for(const[he,ge]of Object.entries(l.selectors??{}))Re[he]=cH(ge,J,_,H);return Re}})}return{reducerPath:V,getSelectors:U,get selectors(){return U(z)},selectSlice:z}}const F={name:d,reducer:O,actions:C.actionCreators,caseReducers:C.sliceCaseReducersByName,getInitialState:_,...L(h),injectInto(V,{reducerPath:H,...z}={}){const U=H??h;return V.inject({reducerPath:U,reducer:O},z),{...F,...L(U,!0)}}};return F}}function cH(n,r,i,u){function l(d,...h){let v=r(d);if(typeof v>"u"){if(u)v=i();else if(Ft.NODE_ENV!=="production")throw new Error(Ft.NODE_ENV==="production"?Rn(16):"selectState returned undefined for an uninjected slice reducer")}return n(v,...h)}return l.unwrapped=n,l}var D0=uH();function fH(){function n(r,i){return{_reducerDefinitionType:"asyncThunk",payloadCreator:r,...i}}return n.withTypes=()=>n,{reducer(r){return Object.assign({[r.name](...i){return r(...i)}}[r.name],{_reducerDefinitionType:"reducer"})},preparedReducer(r,i){return{_reducerDefinitionType:"reducerWithPrepare",prepare:r,reducer:i}},asyncThunk:n}}function dH({type:n,reducerName:r,createNotation:i},u,l){let d,h;if("reducer"in u){if(i&&!vH(u))throw new Error(Ft.NODE_ENV==="production"?Rn(17):"Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");d=u.reducer,h=u.prepare}else d=u;l.addCase(n,d).exposeCaseReducer(r,d).exposeAction(r,h?Kl(n,h):Kl(n))}function pH(n){return n._reducerDefinitionType==="asyncThunk"}function vH(n){return n._reducerDefinitionType==="reducerWithPrepare"}function hH({type:n,reducerName:r},i,u,l){if(!l)throw new Error(Ft.NODE_ENV==="production"?Rn(18):"Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.");const{payloadCreator:d,fulfilled:h,pending:v,rejected:y,settled:C,options:x}=i,R=l(n,d,x);u.exposeAction(r,R),h&&u.addCase(R.fulfilled,h),v&&u.addCase(R.pending,v),y&&u.addCase(R.rejected,y),C&&u.addMatcher(R.settled,C),u.exposeCaseReducer(r,{fulfilled:h||Ob,pending:v||Ob,rejected:y||Ob,settled:C||Ob})}function Ob(){}var mH=(n,r)=>{if(typeof n!="function")throw new Error(Ft.NODE_ENV==="production"?Rn(32):`${r} is not a function`)},Xw="listenerMiddleware",gH=n=>{let{type:r,actionCreator:i,matcher:u,predicate:l,effect:d}=n;if(r)l=Kl(r).match;else if(i)r=i.type,l=i.match;else if(u)l=u;else if(!l)throw new Error(Ft.NODE_ENV==="production"?Rn(21):"Creating or removing a listener requires one of the known fields for matching an action");return mH(d,"options.listener"),{predicate:l,type:r,effect:d}},yH=Object.assign(n=>{const{type:r,predicate:i,effect:u}=gH(n);return{id:hA(),effect:u,type:r,predicate:i,pending:new Set,unsubscribe:()=>{throw new Error(Ft.NODE_ENV==="production"?Rn(22):"Unsubscribe not initialized")}}},{withTypes:()=>yH}),bH=Object.assign(Kl(`${Xw}/add`),{withTypes:()=>bH});Kl(`${Xw}/removeAll`);var CH=Object.assign(Kl(`${Xw}/remove`),{withTypes:()=>CH});function Rn(n){return`Minified Redux Toolkit error #${n}; visit https://redux-toolkit.js.org/Errors?code=${n} for the full message or use the non-minified dev environment for full errors. `}var M=Qf();const kr=qp(M),l0=GB({__proto__:null,default:kr},[M]);var lw={exports:{}},TE={};/**
249
249
  * @license React
250
250
  * use-sync-external-store-with-selector.production.min.js
251
251
  *
@@ -253,7 +253,7 @@ Take a look at the reducer(s) handling this action type: ${j.type}.
253
253
  *
254
254
  * This source code is licensed under the MIT license found in the
255
255
  * LICENSE file in the root directory of this source tree.
256
- */var qN;function xH(){if(qN)return TE;qN=1;var n=qf();function r(y,C){return y===C&&(y!==0||1/y===1/C)||y!==y&&C!==C}var i=typeof Object.is=="function"?Object.is:r,u=n.useSyncExternalStore,l=n.useRef,d=n.useEffect,h=n.useMemo,v=n.useDebugValue;return TE.useSyncExternalStoreWithSelector=function(y,C,x,R,T){var j=l(null);if(j.current===null){var N={hasValue:!1,value:null};j.current=N}else N=j.current;j=h(function(){function _(z){if(!L){if(L=!0,F=z,z=R(z),T!==void 0&&N.hasValue){var U=N.value;if(T(U,z))return V=U}return V=z}if(U=V,i(F,z))return U;var J=R(z);return T!==void 0&&T(U,J)?U:(F=z,V=J)}var L=!1,F,V,H=x===void 0?null:x;return[function(){return _(C())},H===null?void 0:function(){return _(H())}]},[C,x,R,T]);var O=u(y,j[0],j[1]);return d(function(){N.hasValue=!0,N.value=O},[O]),v(O),O},TE}var IE={},QN;function SH(){if(QN)return IE;QN=1;var n={};/**
256
+ */var qN;function xH(){if(qN)return TE;qN=1;var n=Qf();function r(y,C){return y===C&&(y!==0||1/y===1/C)||y!==y&&C!==C}var i=typeof Object.is=="function"?Object.is:r,u=n.useSyncExternalStore,l=n.useRef,d=n.useEffect,h=n.useMemo,v=n.useDebugValue;return TE.useSyncExternalStoreWithSelector=function(y,C,x,R,T){var j=l(null);if(j.current===null){var N={hasValue:!1,value:null};j.current=N}else N=j.current;j=h(function(){function _(z){if(!L){if(L=!0,F=z,z=R(z),T!==void 0&&N.hasValue){var U=N.value;if(T(U,z))return V=U}return V=z}if(U=V,i(F,z))return U;var J=R(z);return T!==void 0&&T(U,J)?U:(F=z,V=J)}var L=!1,F,V,H=x===void 0?null:x;return[function(){return _(C())},H===null?void 0:function(){return _(H())}]},[C,x,R,T]);var O=u(y,j[0],j[1]);return d(function(){N.hasValue=!0,N.value=O},[O]),v(O),O},TE}var IE={},QN;function SH(){if(QN)return IE;QN=1;var n={};/**
257
257
  * @license React
258
258
  * use-sync-external-store-with-selector.development.js
259
259
  *
@@ -261,13 +261,13 @@ Take a look at the reducer(s) handling this action type: ${j.type}.
261
261
  *
262
262
  * This source code is licensed under the MIT license found in the
263
263
  * LICENSE file in the root directory of this source tree.
264
- */return n.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=qf();function i(x,R){return x===R&&(x!==0||1/x===1/R)||x!==x&&R!==R}var u=typeof Object.is=="function"?Object.is:i,l=r.useSyncExternalStore,d=r.useRef,h=r.useEffect,v=r.useMemo,y=r.useDebugValue;function C(x,R,T,j,N){var O=d(null),_;O.current===null?(_={hasValue:!1,value:null},O.current=_):_=O.current;var L=v(function(){var z=!1,U,J,q=function(fe){if(!z){z=!0,U=fe;var Oe=j(fe);if(N!==void 0&&_.hasValue){var Te=_.value;if(N(Te,Oe))return J=Te,Te}return J=Oe,Oe}var xe=U,je=J;if(u(xe,fe))return je;var Le=j(fe);return N!==void 0&&N(je,Le)?je:(U=fe,J=Le,Le)},Re=T===void 0?null:T,he=function(){return q(R())},ge=Re===null?void 0:function(){return q(Re())};return[he,ge]},[R,T,j,N]),F=L[0],V=L[1],H=l(x,F,V);return h(function(){_.hasValue=!0,_.value=H},[H]),y(H),H}IE.useSyncExternalStoreWithSelector=C,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}(),IE}var EH={};EH.NODE_ENV==="production"?lw.exports=xH():lw.exports=SH();var wH=lw.exports,us={},Jt="default"in l0?kr:l0,KN=Symbol.for("react-redux-context"),e_=typeof globalThis<"u"?globalThis:{};function RH(){if(!Jt.createContext)return{};const n=e_[KN]??(e_[KN]=new Map);let r=n.get(Jt.createContext);return r||(r=Jt.createContext(null),us.NODE_ENV!=="production"&&(r.displayName="ReactRedux"),n.set(Jt.createContext,r)),r}var tu=RH(),mA=()=>{throw new Error("uSES not initialized!")};function Yw(n=tu){return function(){const i=Jt.useContext(n);if(us.NODE_ENV!=="production"&&!i)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return i}}var gA=Yw(),yA=mA,TH=n=>{yA=n},IH=(n,r)=>n===r;function NH(n=tu){const r=n===tu?gA:Yw(n),i=(u,l={})=>{const{equalityFn:d=IH,devModeChecks:h={}}=typeof l=="function"?{equalityFn:l}:l;if(us.NODE_ENV!=="production"){if(!u)throw new Error("You must pass a selector to useSelector");if(typeof u!="function")throw new Error("You must pass a function as a selector to useSelector");if(typeof d!="function")throw new Error("You must pass a function as an equality function to useSelector")}const{store:v,subscription:y,getServerState:C,stabilityCheck:x,identityFunctionCheck:R}=r(),T=Jt.useRef(!0),j=Jt.useCallback({[u.name](O){const _=u(O);if(us.NODE_ENV!=="production"){const{identityFunctionCheck:L,stabilityCheck:F}={stabilityCheck:x,identityFunctionCheck:R,...h};if(F==="always"||F==="once"&&T.current){const V=u(O);if(!d(_,V)){let H;try{throw new Error}catch(z){({stack:H}=z)}console.warn("Selector "+(u.name||"unknown")+` returned a different result when called with the same parameters. This can lead to unnecessary rerenders.
264
+ */return n.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=Qf();function i(x,R){return x===R&&(x!==0||1/x===1/R)||x!==x&&R!==R}var u=typeof Object.is=="function"?Object.is:i,l=r.useSyncExternalStore,d=r.useRef,h=r.useEffect,v=r.useMemo,y=r.useDebugValue;function C(x,R,T,j,N){var O=d(null),_;O.current===null?(_={hasValue:!1,value:null},O.current=_):_=O.current;var L=v(function(){var z=!1,U,J,q=function(fe){if(!z){z=!0,U=fe;var Oe=j(fe);if(N!==void 0&&_.hasValue){var Te=_.value;if(N(Te,Oe))return J=Te,Te}return J=Oe,Oe}var xe=U,je=J;if(u(xe,fe))return je;var Le=j(fe);return N!==void 0&&N(je,Le)?je:(U=fe,J=Le,Le)},Re=T===void 0?null:T,he=function(){return q(R())},ge=Re===null?void 0:function(){return q(Re())};return[he,ge]},[R,T,j,N]),F=L[0],V=L[1],H=l(x,F,V);return h(function(){_.hasValue=!0,_.value=H},[H]),y(H),H}IE.useSyncExternalStoreWithSelector=C,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}(),IE}var EH={};EH.NODE_ENV==="production"?lw.exports=xH():lw.exports=SH();var wH=lw.exports,cs={},Jt="default"in l0?kr:l0,KN=Symbol.for("react-redux-context"),e_=typeof globalThis<"u"?globalThis:{};function RH(){if(!Jt.createContext)return{};const n=e_[KN]??(e_[KN]=new Map);let r=n.get(Jt.createContext);return r||(r=Jt.createContext(null),cs.NODE_ENV!=="production"&&(r.displayName="ReactRedux"),n.set(Jt.createContext,r)),r}var nu=RH(),mA=()=>{throw new Error("uSES not initialized!")};function Yw(n=nu){return function(){const i=Jt.useContext(n);if(cs.NODE_ENV!=="production"&&!i)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return i}}var gA=Yw(),yA=mA,TH=n=>{yA=n},IH=(n,r)=>n===r;function NH(n=nu){const r=n===nu?gA:Yw(n),i=(u,l={})=>{const{equalityFn:d=IH,devModeChecks:h={}}=typeof l=="function"?{equalityFn:l}:l;if(cs.NODE_ENV!=="production"){if(!u)throw new Error("You must pass a selector to useSelector");if(typeof u!="function")throw new Error("You must pass a function as a selector to useSelector");if(typeof d!="function")throw new Error("You must pass a function as an equality function to useSelector")}const{store:v,subscription:y,getServerState:C,stabilityCheck:x,identityFunctionCheck:R}=r(),T=Jt.useRef(!0),j=Jt.useCallback({[u.name](O){const _=u(O);if(cs.NODE_ENV!=="production"){const{identityFunctionCheck:L,stabilityCheck:F}={stabilityCheck:x,identityFunctionCheck:R,...h};if(F==="always"||F==="once"&&T.current){const V=u(O);if(!d(_,V)){let H;try{throw new Error}catch(z){({stack:H}=z)}console.warn("Selector "+(u.name||"unknown")+` returned a different result when called with the same parameters. This can lead to unnecessary rerenders.
265
265
  Selectors that return a new reference (such as an object or an array) should be memoized: https://redux.js.org/usage/deriving-data-selectors#optimizing-selectors-with-memoization`,{state:O,selected:_,selected2:V,stack:H})}}if((L==="always"||L==="once"&&T.current)&&_===O){let V;try{throw new Error}catch(H){({stack:V}=H)}console.warn("Selector "+(u.name||"unknown")+` returned the root state when called. This can lead to unnecessary rerenders.
266
- Selectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.`,{stack:V})}T.current&&(T.current=!1)}return _}}[u.name],[u,x,h.stabilityCheck]),N=yA(y.addNestedSub,v.getState,C||v.getState,j,d);return Jt.useDebugValue(N),N};return Object.assign(i,{withTypes:()=>i}),i}var dr=NH(),_H=Symbol.for("react.element"),OH=Symbol.for("react.portal"),bA=Symbol.for("react.fragment"),CA=Symbol.for("react.strict_mode"),xA=Symbol.for("react.profiler"),SA=Symbol.for("react.provider"),Zw=Symbol.for("react.context"),AH=Symbol.for("react.server_context"),Jw=Symbol.for("react.forward_ref"),EA=Symbol.for("react.suspense"),wA=Symbol.for("react.suspense_list"),k0=Symbol.for("react.memo"),RA=Symbol.for("react.lazy"),jH=Symbol.for("react.offscreen"),DH=Symbol.for("react.client.reference"),kH=Jw,MH=k0;function LH(n){return typeof n=="string"||typeof n=="function"||n===bA||n===xA||n===CA||n===EA||n===wA||n===jH||typeof n=="object"&&n!==null&&(n.$$typeof===RA||n.$$typeof===k0||n.$$typeof===SA||n.$$typeof===Zw||n.$$typeof===Jw||n.$$typeof===DH||n.getModuleId!==void 0)}function TA(n){if(typeof n=="object"&&n!==null){const r=n.$$typeof;switch(r){case _H:{const i=n.type;switch(i){case bA:case xA:case CA:case EA:case wA:return i;default:{const u=i&&i.$$typeof;switch(u){case AH:case Zw:case Jw:case RA:case k0:case SA:return u;default:return r}}}}case OH:return r}}}function PH(n){return TA(n)===Zw}function FH(n){return TA(n)===k0}function qw(n){typeof console<"u"&&typeof console.error=="function"&&console.error(n);try{throw new Error(n)}catch{}}function NE(n,r){if(n)(r==="mapStateToProps"||r==="mapDispatchToProps")&&(Object.prototype.hasOwnProperty.call(n,"dependsOnOwnProps")||qw(`The selector for ${r} of connect did not specify a value for dependsOnOwnProps.`));else throw new Error(`Unexpected value for ${r} in connect.`)}function VH(n,r,i){NE(n,"mapStateToProps"),NE(r,"mapDispatchToProps"),NE(i,"mergeProps")}function BH(n,r,i,u,{areStatesEqual:l,areOwnPropsEqual:d,areStatePropsEqual:h}){let v=!1,y,C,x,R,T;function j(F,V){return y=F,C=V,x=n(y,C),R=r(u,C),T=i(x,R,C),v=!0,T}function N(){return x=n(y,C),r.dependsOnOwnProps&&(R=r(u,C)),T=i(x,R,C),T}function O(){return n.dependsOnOwnProps&&(x=n(y,C)),r.dependsOnOwnProps&&(R=r(u,C)),T=i(x,R,C),T}function _(){const F=n(y,C),V=!h(F,x);return x=F,V&&(T=i(x,R,C)),T}function L(F,V){const H=!d(V,C),z=!l(F,y,V,C);return y=F,C=V,H&&z?N():H?O():z?_():T}return function(V,H){return v?L(V,H):j(V,H)}}function zH(n,{initMapStateToProps:r,initMapDispatchToProps:i,initMergeProps:u,...l}){const d=r(n,l),h=i(n,l),v=u(n,l);return us.NODE_ENV!=="production"&&VH(d,h,v),BH(d,h,v,n,l)}function HH(n,r){const i={};for(const u in n){const l=n[u];typeof l=="function"&&(i[u]=(...d)=>r(l(...d)))}return i}function UH(n){if(typeof n!="object"||n===null)return!1;const r=Object.getPrototypeOf(n);if(r===null)return!0;let i=r;for(;Object.getPrototypeOf(i)!==null;)i=Object.getPrototypeOf(i);return r===i}function IA(n,r,i){UH(n)||qw(`${i}() in ${r} must return a plain object. Instead received ${n}.`)}function uw(n){return function(i){const u=n(i);function l(){return u}return l.dependsOnOwnProps=!1,l}}function t_(n){return n.dependsOnOwnProps?!!n.dependsOnOwnProps:n.length!==1}function NA(n,r){return function(u,{displayName:l}){const d=function(v,y){return d.dependsOnOwnProps?d.mapToProps(v,y):d.mapToProps(v,void 0)};return d.dependsOnOwnProps=!0,d.mapToProps=function(v,y){d.mapToProps=n,d.dependsOnOwnProps=t_(n);let C=d(v,y);return typeof C=="function"&&(d.mapToProps=C,d.dependsOnOwnProps=t_(C),C=d(v,y)),us.NODE_ENV!=="production"&&IA(C,l,r),C},d}}function Qw(n,r){return(i,u)=>{throw new Error(`Invalid value of type ${typeof n} for ${r} argument when connecting component ${u.wrappedComponentName}.`)}}function $H(n){return n&&typeof n=="object"?uw(r=>HH(n,r)):n?typeof n=="function"?NA(n,"mapDispatchToProps"):Qw(n,"mapDispatchToProps"):uw(r=>({dispatch:r}))}function GH(n){return n?typeof n=="function"?NA(n,"mapStateToProps"):Qw(n,"mapStateToProps"):uw(()=>({}))}function WH(n,r,i){return{...i,...n,...r}}function XH(n){return function(i,{displayName:u,areMergedPropsEqual:l}){let d=!1,h;return function(y,C,x){const R=n(y,C,x);return d?l(R,h)||(h=R):(d=!0,h=R,us.NODE_ENV!=="production"&&IA(h,u,"mergeProps")),h}}}function YH(n){return n?typeof n=="function"?XH(n):Qw(n,"mergeProps"):()=>WH}function ZH(n){n()}function JH(){let n=null,r=null;return{clear(){n=null,r=null},notify(){ZH(()=>{let i=n;for(;i;)i.callback(),i=i.next})},get(){const i=[];let u=n;for(;u;)i.push(u),u=u.next;return i},subscribe(i){let u=!0;const l=r={callback:i,next:null,prev:r};return l.prev?l.prev.next=l:n=l,function(){!u||n===null||(u=!1,l.next?l.next.prev=l.prev:r=l.prev,l.prev?l.prev.next=l.next:n=l.next)}}}}var n_={notify(){},get:()=>[]};function _A(n,r){let i,u=n_,l=0,d=!1;function h(O){x();const _=u.subscribe(O);let L=!1;return()=>{L||(L=!0,_(),R())}}function v(){u.notify()}function y(){N.onStateChange&&N.onStateChange()}function C(){return d}function x(){l++,i||(i=r?r.addNestedSub(y):n.subscribe(y),u=JH())}function R(){l--,i&&l===0&&(i(),i=void 0,u.clear(),u=n_)}function T(){d||(d=!0,x())}function j(){d&&(d=!1,R())}const N={addNestedSub:h,notifyNestedSubs:v,handleChangeWrapper:y,isSubscribed:C,trySubscribe:T,tryUnsubscribe:j,getListeners:()=>u};return N}var qH=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",u0=qH?Jt.useLayoutEffect:Jt.useEffect;function r_(n,r){return n===r?n!==0||r!==0||1/n===1/r:n!==n&&r!==r}function _E(n,r){if(r_(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;const i=Object.keys(n),u=Object.keys(r);if(i.length!==u.length)return!1;for(let l=0;l<i.length;l++)if(!Object.prototype.hasOwnProperty.call(r,i[l])||!r_(n[i[l]],r[i[l]]))return!1;return!0}var QH={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},KH={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},eU={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},OA={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tU={[kH]:eU,[MH]:OA};function a_(n){return FH(n)?OA:tU[n.$$typeof]||QH}var nU=Object.defineProperty,rU=Object.getOwnPropertyNames,i_=Object.getOwnPropertySymbols,aU=Object.getOwnPropertyDescriptor,iU=Object.getPrototypeOf,o_=Object.prototype;function cw(n,r){if(typeof r!="string"){if(o_){const d=iU(r);d&&d!==o_&&cw(n,d)}let i=rU(r);i_&&(i=i.concat(i_(r)));const u=a_(n),l=a_(r);for(let d=0;d<i.length;++d){const h=i[d];if(!KH[h]&&!(l&&l[h])&&!(u&&u[h])){const v=aU(r,h);try{nU(n,h,v)}catch{}}}}return n}var AA=mA,oU=n=>{AA=n},sU=[null,null],lU=n=>{try{return JSON.stringify(n)}catch{return String(n)}};function uU(n,r,i){u0(()=>n(...r),i)}function cU(n,r,i,u,l,d){n.current=u,i.current=!1,l.current&&(l.current=null,d())}function fU(n,r,i,u,l,d,h,v,y,C,x){if(!n)return()=>{};let R=!1,T=null;const j=()=>{if(R||!v.current)return;const O=r.getState();let _,L;try{_=u(O,l.current)}catch(F){L=F,T=F}L||(T=null),_===d.current?h.current||C():(d.current=_,y.current=_,h.current=!0,x())};return i.onStateChange=j,i.trySubscribe(),j(),()=>{if(R=!0,i.tryUnsubscribe(),i.onStateChange=null,T)throw T}}function dU(n,r){return n===r}var s_=!1;function pU(n,r,i,{pure:u,areStatesEqual:l=dU,areOwnPropsEqual:d=_E,areStatePropsEqual:h=_E,areMergedPropsEqual:v=_E,forwardRef:y=!1,context:C=tu}={}){us.NODE_ENV!=="production"&&u!==void 0&&!s_&&(s_=!0,qw('The `pure` option has been removed. `connect` is now always a "pure/memoized" component'));const x=C,R=GH(n),T=$H(r),j=YH(i),N=!!n;return _=>{if(us.NODE_ENV!=="production"&&!LH(_))throw new Error(`You must pass a component to the function returned by connect. Instead received ${lU(_)}`);const L=_.displayName||_.name||"Component",F=`Connect(${L})`,V={shouldHandleStateChanges:N,displayName:F,wrappedComponentName:L,WrappedComponent:_,initMapStateToProps:R,initMapDispatchToProps:T,initMergeProps:j,areStatesEqual:l,areStatePropsEqual:h,areOwnPropsEqual:d,areMergedPropsEqual:v};function H(J){const[q,Re,he]=Jt.useMemo(()=>{const{reactReduxForwardedRef:ft,...Ae}=J;return[J.context,ft,Ae]},[J]),ge=Jt.useMemo(()=>{let ft=x;if(q!=null&&q.Consumer&&us.NODE_ENV!=="production"){if(!PH(Jt.createElement(q.Consumer,null)))throw new Error("You must pass a valid React context consumer as `props.context`");ft=q}return ft},[q,x]),fe=Jt.useContext(ge),Oe=!!J.store&&!!J.store.getState&&!!J.store.dispatch,Te=!!fe&&!!fe.store;if(us.NODE_ENV!=="production"&&!Oe&&!Te)throw new Error(`Could not find "store" in the context of "${F}". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to ${F} in connect options.`);const xe=Oe?J.store:fe.store,je=Te?fe.getServerState:xe.getState,Le=Jt.useMemo(()=>zH(xe.dispatch,V),[xe]),[ne,_e]=Jt.useMemo(()=>{if(!N)return sU;const ft=_A(xe,Oe?void 0:fe.subscription),Ae=ft.notifyNestedSubs.bind(ft);return[ft,Ae]},[xe,Oe,fe]),G=Jt.useMemo(()=>Oe?fe:{...fe,subscription:ne},[Oe,fe,ne]),Y=Jt.useRef(),re=Jt.useRef(he),ye=Jt.useRef(),Se=Jt.useRef(!1);Jt.useRef(!1);const Ne=Jt.useRef(!1),le=Jt.useRef();u0(()=>(Ne.current=!0,()=>{Ne.current=!1}),[]);const ve=Jt.useMemo(()=>()=>ye.current&&he===re.current?ye.current:Le(xe.getState(),he),[xe,he]),we=Jt.useMemo(()=>Ae=>ne?fU(N,xe,ne,Le,re,Y,Se,Ne,ye,_e,Ae):()=>{},[ne]);uU(cU,[re,Y,Se,he,ye,_e]);let Ve;try{Ve=AA(we,ve,je?()=>Le(je(),he):ve)}catch(ft){throw le.current&&(ft.message+=`
266
+ Selectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.`,{stack:V})}T.current&&(T.current=!1)}return _}}[u.name],[u,x,h.stabilityCheck]),N=yA(y.addNestedSub,v.getState,C||v.getState,j,d);return Jt.useDebugValue(N),N};return Object.assign(i,{withTypes:()=>i}),i}var dr=NH(),_H=Symbol.for("react.element"),OH=Symbol.for("react.portal"),bA=Symbol.for("react.fragment"),CA=Symbol.for("react.strict_mode"),xA=Symbol.for("react.profiler"),SA=Symbol.for("react.provider"),Zw=Symbol.for("react.context"),AH=Symbol.for("react.server_context"),Jw=Symbol.for("react.forward_ref"),EA=Symbol.for("react.suspense"),wA=Symbol.for("react.suspense_list"),k0=Symbol.for("react.memo"),RA=Symbol.for("react.lazy"),jH=Symbol.for("react.offscreen"),DH=Symbol.for("react.client.reference"),kH=Jw,MH=k0;function LH(n){return typeof n=="string"||typeof n=="function"||n===bA||n===xA||n===CA||n===EA||n===wA||n===jH||typeof n=="object"&&n!==null&&(n.$$typeof===RA||n.$$typeof===k0||n.$$typeof===SA||n.$$typeof===Zw||n.$$typeof===Jw||n.$$typeof===DH||n.getModuleId!==void 0)}function TA(n){if(typeof n=="object"&&n!==null){const r=n.$$typeof;switch(r){case _H:{const i=n.type;switch(i){case bA:case xA:case CA:case EA:case wA:return i;default:{const u=i&&i.$$typeof;switch(u){case AH:case Zw:case Jw:case RA:case k0:case SA:return u;default:return r}}}}case OH:return r}}}function PH(n){return TA(n)===Zw}function FH(n){return TA(n)===k0}function qw(n){typeof console<"u"&&typeof console.error=="function"&&console.error(n);try{throw new Error(n)}catch{}}function NE(n,r){if(n)(r==="mapStateToProps"||r==="mapDispatchToProps")&&(Object.prototype.hasOwnProperty.call(n,"dependsOnOwnProps")||qw(`The selector for ${r} of connect did not specify a value for dependsOnOwnProps.`));else throw new Error(`Unexpected value for ${r} in connect.`)}function VH(n,r,i){NE(n,"mapStateToProps"),NE(r,"mapDispatchToProps"),NE(i,"mergeProps")}function BH(n,r,i,u,{areStatesEqual:l,areOwnPropsEqual:d,areStatePropsEqual:h}){let v=!1,y,C,x,R,T;function j(F,V){return y=F,C=V,x=n(y,C),R=r(u,C),T=i(x,R,C),v=!0,T}function N(){return x=n(y,C),r.dependsOnOwnProps&&(R=r(u,C)),T=i(x,R,C),T}function O(){return n.dependsOnOwnProps&&(x=n(y,C)),r.dependsOnOwnProps&&(R=r(u,C)),T=i(x,R,C),T}function _(){const F=n(y,C),V=!h(F,x);return x=F,V&&(T=i(x,R,C)),T}function L(F,V){const H=!d(V,C),z=!l(F,y,V,C);return y=F,C=V,H&&z?N():H?O():z?_():T}return function(V,H){return v?L(V,H):j(V,H)}}function zH(n,{initMapStateToProps:r,initMapDispatchToProps:i,initMergeProps:u,...l}){const d=r(n,l),h=i(n,l),v=u(n,l);return cs.NODE_ENV!=="production"&&VH(d,h,v),BH(d,h,v,n,l)}function HH(n,r){const i={};for(const u in n){const l=n[u];typeof l=="function"&&(i[u]=(...d)=>r(l(...d)))}return i}function UH(n){if(typeof n!="object"||n===null)return!1;const r=Object.getPrototypeOf(n);if(r===null)return!0;let i=r;for(;Object.getPrototypeOf(i)!==null;)i=Object.getPrototypeOf(i);return r===i}function IA(n,r,i){UH(n)||qw(`${i}() in ${r} must return a plain object. Instead received ${n}.`)}function uw(n){return function(i){const u=n(i);function l(){return u}return l.dependsOnOwnProps=!1,l}}function t_(n){return n.dependsOnOwnProps?!!n.dependsOnOwnProps:n.length!==1}function NA(n,r){return function(u,{displayName:l}){const d=function(v,y){return d.dependsOnOwnProps?d.mapToProps(v,y):d.mapToProps(v,void 0)};return d.dependsOnOwnProps=!0,d.mapToProps=function(v,y){d.mapToProps=n,d.dependsOnOwnProps=t_(n);let C=d(v,y);return typeof C=="function"&&(d.mapToProps=C,d.dependsOnOwnProps=t_(C),C=d(v,y)),cs.NODE_ENV!=="production"&&IA(C,l,r),C},d}}function Qw(n,r){return(i,u)=>{throw new Error(`Invalid value of type ${typeof n} for ${r} argument when connecting component ${u.wrappedComponentName}.`)}}function $H(n){return n&&typeof n=="object"?uw(r=>HH(n,r)):n?typeof n=="function"?NA(n,"mapDispatchToProps"):Qw(n,"mapDispatchToProps"):uw(r=>({dispatch:r}))}function GH(n){return n?typeof n=="function"?NA(n,"mapStateToProps"):Qw(n,"mapStateToProps"):uw(()=>({}))}function WH(n,r,i){return{...i,...n,...r}}function XH(n){return function(i,{displayName:u,areMergedPropsEqual:l}){let d=!1,h;return function(y,C,x){const R=n(y,C,x);return d?l(R,h)||(h=R):(d=!0,h=R,cs.NODE_ENV!=="production"&&IA(h,u,"mergeProps")),h}}}function YH(n){return n?typeof n=="function"?XH(n):Qw(n,"mergeProps"):()=>WH}function ZH(n){n()}function JH(){let n=null,r=null;return{clear(){n=null,r=null},notify(){ZH(()=>{let i=n;for(;i;)i.callback(),i=i.next})},get(){const i=[];let u=n;for(;u;)i.push(u),u=u.next;return i},subscribe(i){let u=!0;const l=r={callback:i,next:null,prev:r};return l.prev?l.prev.next=l:n=l,function(){!u||n===null||(u=!1,l.next?l.next.prev=l.prev:r=l.prev,l.prev?l.prev.next=l.next:n=l.next)}}}}var n_={notify(){},get:()=>[]};function _A(n,r){let i,u=n_,l=0,d=!1;function h(O){x();const _=u.subscribe(O);let L=!1;return()=>{L||(L=!0,_(),R())}}function v(){u.notify()}function y(){N.onStateChange&&N.onStateChange()}function C(){return d}function x(){l++,i||(i=r?r.addNestedSub(y):n.subscribe(y),u=JH())}function R(){l--,i&&l===0&&(i(),i=void 0,u.clear(),u=n_)}function T(){d||(d=!0,x())}function j(){d&&(d=!1,R())}const N={addNestedSub:h,notifyNestedSubs:v,handleChangeWrapper:y,isSubscribed:C,trySubscribe:T,tryUnsubscribe:j,getListeners:()=>u};return N}var qH=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",u0=qH?Jt.useLayoutEffect:Jt.useEffect;function r_(n,r){return n===r?n!==0||r!==0||1/n===1/r:n!==n&&r!==r}function _E(n,r){if(r_(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;const i=Object.keys(n),u=Object.keys(r);if(i.length!==u.length)return!1;for(let l=0;l<i.length;l++)if(!Object.prototype.hasOwnProperty.call(r,i[l])||!r_(n[i[l]],r[i[l]]))return!1;return!0}var QH={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},KH={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},eU={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},OA={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tU={[kH]:eU,[MH]:OA};function a_(n){return FH(n)?OA:tU[n.$$typeof]||QH}var nU=Object.defineProperty,rU=Object.getOwnPropertyNames,i_=Object.getOwnPropertySymbols,aU=Object.getOwnPropertyDescriptor,iU=Object.getPrototypeOf,o_=Object.prototype;function cw(n,r){if(typeof r!="string"){if(o_){const d=iU(r);d&&d!==o_&&cw(n,d)}let i=rU(r);i_&&(i=i.concat(i_(r)));const u=a_(n),l=a_(r);for(let d=0;d<i.length;++d){const h=i[d];if(!KH[h]&&!(l&&l[h])&&!(u&&u[h])){const v=aU(r,h);try{nU(n,h,v)}catch{}}}}return n}var AA=mA,oU=n=>{AA=n},sU=[null,null],lU=n=>{try{return JSON.stringify(n)}catch{return String(n)}};function uU(n,r,i){u0(()=>n(...r),i)}function cU(n,r,i,u,l,d){n.current=u,i.current=!1,l.current&&(l.current=null,d())}function fU(n,r,i,u,l,d,h,v,y,C,x){if(!n)return()=>{};let R=!1,T=null;const j=()=>{if(R||!v.current)return;const O=r.getState();let _,L;try{_=u(O,l.current)}catch(F){L=F,T=F}L||(T=null),_===d.current?h.current||C():(d.current=_,y.current=_,h.current=!0,x())};return i.onStateChange=j,i.trySubscribe(),j(),()=>{if(R=!0,i.tryUnsubscribe(),i.onStateChange=null,T)throw T}}function dU(n,r){return n===r}var s_=!1;function pU(n,r,i,{pure:u,areStatesEqual:l=dU,areOwnPropsEqual:d=_E,areStatePropsEqual:h=_E,areMergedPropsEqual:v=_E,forwardRef:y=!1,context:C=nu}={}){cs.NODE_ENV!=="production"&&u!==void 0&&!s_&&(s_=!0,qw('The `pure` option has been removed. `connect` is now always a "pure/memoized" component'));const x=C,R=GH(n),T=$H(r),j=YH(i),N=!!n;return _=>{if(cs.NODE_ENV!=="production"&&!LH(_))throw new Error(`You must pass a component to the function returned by connect. Instead received ${lU(_)}`);const L=_.displayName||_.name||"Component",F=`Connect(${L})`,V={shouldHandleStateChanges:N,displayName:F,wrappedComponentName:L,WrappedComponent:_,initMapStateToProps:R,initMapDispatchToProps:T,initMergeProps:j,areStatesEqual:l,areStatePropsEqual:h,areOwnPropsEqual:d,areMergedPropsEqual:v};function H(J){const[q,Re,he]=Jt.useMemo(()=>{const{reactReduxForwardedRef:ft,...Ae}=J;return[J.context,ft,Ae]},[J]),ge=Jt.useMemo(()=>{let ft=x;if(q!=null&&q.Consumer&&cs.NODE_ENV!=="production"){if(!PH(Jt.createElement(q.Consumer,null)))throw new Error("You must pass a valid React context consumer as `props.context`");ft=q}return ft},[q,x]),fe=Jt.useContext(ge),Oe=!!J.store&&!!J.store.getState&&!!J.store.dispatch,Te=!!fe&&!!fe.store;if(cs.NODE_ENV!=="production"&&!Oe&&!Te)throw new Error(`Could not find "store" in the context of "${F}". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to ${F} in connect options.`);const xe=Oe?J.store:fe.store,je=Te?fe.getServerState:xe.getState,Le=Jt.useMemo(()=>zH(xe.dispatch,V),[xe]),[ne,_e]=Jt.useMemo(()=>{if(!N)return sU;const ft=_A(xe,Oe?void 0:fe.subscription),Ae=ft.notifyNestedSubs.bind(ft);return[ft,Ae]},[xe,Oe,fe]),G=Jt.useMemo(()=>Oe?fe:{...fe,subscription:ne},[Oe,fe,ne]),Y=Jt.useRef(),re=Jt.useRef(he),ye=Jt.useRef(),Se=Jt.useRef(!1);Jt.useRef(!1);const Ne=Jt.useRef(!1),le=Jt.useRef();u0(()=>(Ne.current=!0,()=>{Ne.current=!1}),[]);const ve=Jt.useMemo(()=>()=>ye.current&&he===re.current?ye.current:Le(xe.getState(),he),[xe,he]),we=Jt.useMemo(()=>Ae=>ne?fU(N,xe,ne,Le,re,Y,Se,Ne,ye,_e,Ae):()=>{},[ne]);uU(cU,[re,Y,Se,he,ye,_e]);let Ve;try{Ve=AA(we,ve,je?()=>Le(je(),he):ve)}catch(ft){throw le.current&&(ft.message+=`
267
267
  The error may be correlated with this previous error:
268
268
  ${le.current.stack}
269
269
 
270
- `),ft}u0(()=>{le.current=void 0,ye.current=void 0,Y.current=Ve});const et=Jt.useMemo(()=>Jt.createElement(_,{...Ve,ref:Re}),[Re,_,Ve]);return Jt.useMemo(()=>N?Jt.createElement(ge.Provider,{value:G},et):et,[ge,et,G])}const U=Jt.memo(H);if(U.WrappedComponent=_,U.displayName=H.displayName=F,y){const q=Jt.forwardRef(function(he,ge){return Jt.createElement(U,{...he,reactReduxForwardedRef:ge})});return q.displayName=F,q.WrappedComponent=_,cw(q,_)}return cw(U,_)}}var fs=pU;function vU({store:n,context:r,children:i,serverState:u,stabilityCheck:l="once",identityFunctionCheck:d="once"}){const h=Jt.useMemo(()=>{const C=_A(n);return{store:n,subscription:C,getServerState:u?()=>u:void 0,stabilityCheck:l,identityFunctionCheck:d}},[n,u,l,d]),v=Jt.useMemo(()=>n.getState(),[n]);u0(()=>{const{subscription:C}=h;return C.onStateChange=C.notifyNestedSubs,C.trySubscribe(),v!==n.getState()&&C.notifyNestedSubs(),()=>{C.tryUnsubscribe(),C.onStateChange=void 0}},[h,v]);const y=r||tu;return Jt.createElement(y.Provider,{value:h},i)}var Qp=vU;function jA(n=tu){const r=n===tu?gA:Yw(n),i=()=>{const{store:u}=r();return u};return Object.assign(i,{withTypes:()=>i}),i}var hU=jA();function mU(n=tu){const r=n===tu?hU:jA(n),i=()=>r().dispatch;return Object.assign(i,{withTypes:()=>i}),i}var To=mU();TH(wH.useSyncExternalStoreWithSelector);oU(M.useSyncExternalStore);const fw={user:{colors:["#ffc42d","#fea92c","#f98f30","#f07537"]},rp:{colors:["#48c0b9","#2e9da4","#207b8b","#1a5b6e"]}},OE={};function DA(n,r=3){let i=0;for(;n/Math.pow(1e3,i)>1e3;)i+=1;const u=n.toString().length,l=Math.pow(10,u-r);return(Math.round(n/l)*l/Math.pow(1e3,i)).toString()+["","K","M","B","T"][i]}async function gU(){return await(await fetch("https://basemaps-api.arcgis.com/arcgis/rest/services/styles/ArcGIS:Community?type=style&token=AAPK220079f462f24fda89c27fa210c3f887EJPCECuukKD8PnCIBqktgGTKZWPlVXWjRoSsZYGkOJ12QemGItZ4liRZkcUzYyme")).json()}async function yU(n){if(OE[n])return OE[n];const r=document.location,i=`${r.protocol}//${r.host}${r.pathname}`,l=await(await fetch(`${i}/${n}`)).json();return OE[n]=l,l}function bU(n){const r=[...n.creditLines.features.map(u=>u.properties.credits)],i=[...n.rpPoints.features.map(u=>u.properties.rpCredits),...n.userPoints.features.map(u=>u.properties.userCredits)];return{lines:u_(r),points:u_(i)}}function l_({activeOrg:n,basemapStyle:r,creditLevels:i,creditType:u,geoJSON:l,organizationType:d}){const h={},v=[];if(l&&i){const C=d==="user"?"rp":"user",x=l[`${d}Points`],R=l[`${C}Points`],T=`${d}Credits`,j=`${C}Credits`;h.organizations={type:"geojson",data:x};const N={user:[],rp:[]},O=[];i.points.forEach((L,F)=>{Object.keys(fw).forEach(V=>{N[V].push(L[1],fw[V].colors[F])}),O.push(L[1],5*(F+1))});const _=[];if(i.lines.forEach((L,F)=>{_.push(L[1],1*(F+1))}),v.push({id:"organizations",type:"circle",source:"organizations",paint:{"circle-radius":["interpolate",["linear"],["get",T],...O],"circle-color":["interpolate",["linear"],["get",T],...N[d]],"circle-opacity":n?["match",["id"],n.id,1,.3]:1,"circle-stroke-color":"#ffffff","circle-stroke-width":1}}),n&&u!=="allocated"){h.opp={type:"geojson",data:R};const L=["get",n.id.toString(),["get",`${j}Map`]];v.push({id:"opp",type:"circle",source:"opp",filter:["has",n.id.toString(),["get",`${j}Map`]],paint:{"circle-radius":["interpolate",["linear"],L,...O],"circle-color":["interpolate",["linear"],L,...N[C]],"circle-stroke-color":"#ffffff","circle-stroke-width":1}}),h.credits={type:"geojson",data:l.creditLines},v.push({id:"credits",type:"line",source:"credits",filter:["==",["get",`${d}_organization_id`],n.id],paint:{"line-color":"#444444","line-opacity":.4,"line-width":["interpolate",["linear"],["get","credits"],..._]}})}}const y=r||{version:8,sources:{},layers:[]};return{...y,sources:{...y.sources,...h},layers:[...y.layers.filter(C=>C.id!=="Marine waterbody/label/2x large"),...v]}}function CU(n,r,i,u,l=20){return[...Array(l+1).keys()].map(d=>d/l).map(d=>{let h=d*(i-n)+n,v=d*(u-r)+r+Math.abs(Math.sin(d*Math.PI)*(i-n)*.1);return[h,v]})}function xU(n,r,i){const u={};return n.features.forEach(d=>u[d.id]={type:d.type,geometry:d.geometry,id:d.id,properties:{name:d.properties.name,abbr:d.properties.abbr,userCredits:0,userCreditsMap:{},rpCredits:0,rpCreditsMap:{}}},{}),{creditLines:{type:"FeatureCollection",features:r.result.filter(d=>u[d.user_organization_id]!==void 0&&(i==="allocated"||u[d.rp_organization_id]!==void 0)).map(d=>{const h=u[d.user_organization_id],v=u[d.rp_organization_id];if(h.properties.userCredits+=d.credits,v&&(v.properties.rpCredits+=d.credits),h.properties.userCreditsMap[d.rp_organization_id]=(h.properties.userCreditsMap[d.rp_organization_id]||0)+d.credits,v&&(v.properties.rpCreditsMap[d.user_organization_id]=(v.properties.rpCreditsMap[d.user_organization_id]||0)+d.credits),i!=="allocated")return{type:"Feature",geometry:{type:"LineString",coordinates:CU(...u[d.user_organization_id].geometry.coordinates,...u[d.rp_organization_id].geometry.coordinates)},properties:d}}).filter(d=>d!==void 0)},userPoints:{type:"FeatureCollection",features:Object.values(u).filter(d=>d.properties.userCredits>0).sort((d,h)=>d.properties.userCredits>h.properties.userCredits?-1:1)},rpPoints:{type:"FeatureCollection",features:Object.values(u).filter(d=>d.properties.rpCredits>0).sort((d,h)=>d.properties.rpCredits>h.properties.rpCredits?-1:1)}}}function u_(n,r=[0,.3,.6,.9]){return r.map((i,u)=>{const l=SU(n,i),d=u===r.length-1?"+":"";return[`${DA(Math.round(l))}${d}`,l]})}function SU(n,r){n.sort((d,h)=>d-h);const i=(n.length-1)*r,u=Math.floor(i),l=i-u;return n[u+1]!==void 0?n[u]+l*(n[u+1]-n[u]):n[u]}const EU="_fullscreen_1iid9_6",wU="_map_1iid9_14",Ab={"allocations-map":"_allocations-map_1iid9_1",fullscreen:EU,map:wU},RU="_group_11k83_1",TU="_button_11k83_6",IU="_icon_11k83_16",AE={group:RU,button:TU,icon:IU};function c_({choices:n,disabledValues:r=[],label:i,value:u,setValue:l}){const d=[];return n.forEach(([h,v])=>d.push(b.jsx("input",{type:"radio",className:"btn-check",name:h,id:h,autoComplete:"off",checked:u===h,onChange:()=>l(h),disabled:r.includes(h)},h),b.jsxs("label",{className:`btn btn-outline-primary ${AE.button}`,htmlFor:h,disabled:r.includes(h),children:[u===h?b.jsx("i",{className:`bi bi-check ${AE.icon}`}):null," ",v]},`${h}-label`))),b.jsx("div",{className:"mb-2",children:b.jsx("div",{className:`btn-group ${AE.group}`,role:"group","aria-label":i,children:d})})}const NU="_controls_1be4t_1",_U={controls:NU};function OU({creditType:n,organizationType:r,setCreditType:i,setOrganizationType:u}){return b.jsxs("div",{className:_U.controls,children:[b.jsx("h2",{children:"ACCESS Allocations"}),b.jsx(c_,{choices:[["allocated","Allocations"],["exchanged","Exchanges"],["used","Usage"]],label:"Credit Type",value:n,setValue:i}),b.jsx(c_,{choices:[["user","By Research Institution"],["rp","By Resource Provider"]],disabledValues:n==="allocated"?["rp"]:[],label:"Organization Type",value:r,setValue:u})]})}const AU="_legend_odgg9_1",jU="_symbols_odgg9_17",DU="_symbol_odgg9_17",$b={legend:AU,symbols:jU,symbol:DU};function kU(n,r){const i=2*n+2;return b.jsx("svg",{viewBox:`0 0 ${i} ${i}`,xmlns:"http://www.w3.org/2000/svg",stroke:"white",strokeWidth:"1",height:i,width:i,children:b.jsx("circle",{fill:r,cx:n+1,cy:n+1,r:n})})}function MU({activeOrg:n,creditLevels:r,organizationType:i}){if(n||!r)return;const u=r.points.map((l,d)=>b.jsxs("div",{className:$b.symbol,children:[kU(5*(d+1),fw[i].colors[d]),b.jsx("br",{}),b.jsx("span",{className:"label",children:l[0]})]},l[0]));return b.jsxs("div",{className:$b.legend,children:[b.jsxs("h2",{className:"fs-6 mt-0 mb-0",children:["ACCESS Credits ",b.jsx("small",{children:"or credit equivalents"})]}),b.jsx("div",{className:$b.symbols,children:u})]})}const LU="_info_oxxoh_1",PU="_user_oxxoh_7",FU="_rp_oxxoh_10",VU="_credits_oxxoh_15",Gb={info:LU,user:PU,rp:FU,credits:VU};function f_(n,r,i){n.sort((l,d)=>d[1]-l[1]);const u=n.slice(0,3).map(l=>l[0]);return n.length>3&&(u[2]=`${n.length-2} other ${i}s`),u.reduce((l,d,h,v)=>[l,b.jsx("span",{className:`name ${Gb[r]}`,children:d},d),[""," and ",", "][v.length-h-1]],[])}function BU({activeOrg:n,creditType:r,organizationMap:i,organizationType:u}){if(!n||!i)return;const l=n.properties,d=l[`${u}Credits`],h=u==="rp"?"user":"rp",v=JSON.parse(l[`${u}CreditsMap`]),y={user:[],rp:[]};return y[u].push([l.name,d]),Object.keys(v).forEach(C=>y[h].push([i[C],v[C]])),b.jsx("div",{className:`${$b.legend} ${Gb.info}`,children:b.jsxs("p",{className:Gb[u],children:["Researchers at ",f_(y.user,"user","research institution")," ",r==="allocated"?"were ":"",r," ",b.jsxs("span",{className:Gb.credits,children:[DA(d)," ACCESS Credits"]}),r!=="allocated"?b.jsxs(b.Fragment,{children:[" ",r==="exchanged"?"for":"on"," resources at"," ",f_(y.rp,"rp","resource provider")]}):"","."]})})}function zU(){const n=M.useRef(null),r=M.useRef(null),[i,u]=M.useState(null),[l,d]=M.useState(null),[h,v]=M.useState(null),[y,C]=M.useState(!1),[x,R]=M.useState(null),[T,j]=M.useState(null),[N,O]=M.useState(null),[_,L]=M.useState("user"),[F,V]=M.useState("exchanged");return M.useEffect(()=>{(async()=>d(await gU()))()},[]),M.useEffect(()=>{(async H=>{const[z,U]=await Promise.all(["organizations",`credits_${H}`].map(yU));if(!N){const q={};z.features.forEach(Re=>q[Re.id.toString()]=Re.properties.name),O(q)}const J=xU(z,U,F);R(J),H==="exchanged"&&!h&&v(bU(J))})(F)},[F]),M.useEffect(()=>{T&&T.setStyle(l_({activeOrg:i,basemapStyle:l,creditLevels:h,creditType:F,geoJSON:x,organizationType:_}))},[i,x,T,_]),M.useEffect(()=>{T&&(T.on("mousemove","organizations",H=>u(H.features.length?H.features[0]:null)),T.on("mouseleave","organizations",()=>u(null)))},[T]),M.useEffect(()=>{T&&T.resize()},[y]),M.useEffect(()=>{F==="allocated"&&L("user")},[F]),M.useLayoutEffect(()=>j(new maplibregl.Map({container:r.current,style:l_({activeOrg:i,basemapStyle:l,creditLevels:h,creditType:F,geoJSON:x,organizationType:_}),center:[-111.01,38.88],zoom:3.4,hash:!0})),[]),M.useLayoutEffect(()=>n.current.addEventListener("keydown",H=>{H.key==="Escape"&&C(!1)}),[]),b.jsxs("section",{className:`${Ab["allocations-map"]} ${y?Ab.fullscreen:"border border-3 border-primary"}`,ref:n,children:[b.jsx("div",{className:Ab.map,ref:r}),b.jsx(OU,{creditType:F,fullscreen:y,organizationType:_,setCreditType:V,setFullscreen:C,setOrganizationType:L}),b.jsx(MU,{activeOrg:i,creditLevels:h,organizationType:_}),b.jsx(BU,{activeOrg:i,creditType:F,organizationMap:N,organizationType:_}),b.jsx("button",{title:`${y?"Exit":"Enter"} Fullscreen`,className:Ab.fullscreen,onClick:()=>C(!y),children:b.jsx("i",{className:`bi ${y?"bi-fullscreen-exit":"bi-arrows-fullscreen"}`,"aria-label":"Fullscreen"})})]})}const Xl="https://allocations.access-ci.org",Nn={creditAlertThreshold:1e3,resourceTypeIcons:{credit:"cash-coin",compute:"cpu-fill",storage:"hdd-fill",program:"person-square"},routes:{edit_request_action_path:(n,r)=>`/requests/${n}/actions/${r}/edit`,edit_request_path:n=>`/requests/${n}/edit`,how_to_path:()=>"/how-to",get_your_first_project_path:()=>`${Xl}/get-your-first-project`,project_types_path:()=>`${Xl}/project-types`,projects_path:()=>`${Xl}/projects`,projects_save_users_path:()=>"/projects/save_users",renew_request_path:n=>`${Xl}/requests/${n}/renew`,request_action_path:(n,r)=>`${Xl}/requests/${n}/actions/${r}`,request_actions_path:n=>`${Xl}/requests/${n}/actions`,request_path:n=>`${Xl}/requests/${n}`,resources_path:()=>`${Xl}/resources`,search_people_path:()=>`${Xl}/search/people`,usage_detail_path:(n,r)=>`/usage/${n}/${r}`},roleIcons:{PI:"person-fill-check","Co-PI":"person-fill-add","Allocation Manager":"person-fill-gear",User:"people-fill"}};function c0({color:n="primary",href:r,icon:i,onClick:u,target:l,title:d}){const h=b.jsx("i",{className:`bi bi-${i}`}),v={className:`btn btn-sm ms-1 text-${n}`,href:r,onClick:u,style:{"--bs-btn-padding-x":"0.1rem","--bs-btn-padding-y":"0.1rem","--bs-btn-line-height":"1"},target:l,title:d};return r?b.jsx("a",{...v,children:h}):b.jsx("button",{...v,children:h})}const Fp=(n,r,i="round")=>{const u=Math.pow(10,r||0);return Math[i](n*u)/u},HU=n=>new Date(`${n}T00:00:00`),UU={year:"numeric",month:"short",day:"numeric"},Vp=(n,r)=>HU(n).toLocaleString("en-us",r||UU),ni=(n,{abbreviate:r=!1,decimalPlaces:i=void 0}={})=>{if(r){let u=0;for(;Math.abs(n)/Math.pow(1e3,u)>=1e3;)u+=1;const l=["","K","M","B","T","Q"][u];return`${(n/Math.pow(1e3,u)).toLocaleString("en-US",{maximumSignificantDigits:3})}${l}`}return n.toLocaleString("en-US",{maximumFractionDigits:i,minimumFractionDigits:i})},Kw=(n,r)=>{if(n.startDate&&n.endDate){const l=Vp(n.startDate,r),d=Vp(n.endDate,r);return`${n.allocationType}: ${l} to ${d}`}const i=Vp(n.entryDate,r),u=n.status=="Incomplete"?"Started":"Submitted";return`${n.allocationType}: ${u} ${i}`},mc=n=>b.jsx("i",{className:`bi bi-${n}`}),M0=n=>{const r=n.match(/^([^\(\)]+) (\(([^\)]+)\))?$/);return{full:n,short:r&&r[3]||null}},Hf=(n,{userGuide:r=!0}={})=>{const{full:i,short:u}=M0(n.name),l=u?b.jsx("abbr",{title:i,children:u}):i;return b.jsxs(b.Fragment,{children:[mc(Nn.resourceTypeIcons[n.icon])," ",l,!n.isCredit&&n.userGuideUrl&&r?b.jsx(c0,{icon:"book",href:n.userGuideUrl,target:"_blank",title:`${n.name} User Guide`}):null]})},d_=n=>{const r=M0(n.name);return r.short||r.full},f0=(n,r)=>n.isCredit>r.isCredit||n.isActive>r.isActive||d_(n)<d_(r)?-1:1,p_=(...n)=>{for(let r of n)if(r!=null)return r;return null},kA=(n,r="and",i=", ")=>n.reduce((u,l,d)=>b.jsxs(b.Fragment,{children:[u,n.length-1>d?i:` ${r} `,l]})),eR=n=>n?b.jsxs(b.Fragment,{children:[mc("check-circle")," Yes"]}):b.jsxs(b.Fragment,{children:[mc("x-circle")," No"]}),tR=n=>kA(n.users.filter(({role:r})=>["pi","co_pi","allocation_manager"].includes(r)).map(r=>`${r.firstName} ${r.lastName}`),"or"),v_=(n,r)=>r==1&&n.endsWith("s")?n.slice(0,-1):n,MA=n=>{let r=0,i=0;for(let u of n.resources)u.isBoolean||(r+=u.allocated*u.unitCost,i+=Math.min(u.used,u.allocated)*u.unitCost);return r>0?i/r:0},L0=[{role:"pi",name:"PI",xrasRole:"PI"},{role:"co_pi",name:"Co-PI",xrasRole:"CoPI"},{role:"allocation_manager",name:"Allocation Manager",xrasRole:"Allocation Manager"},{role:"user",name:"User",xrasRole:"User"}],LA={};for(let n of L0)LA[n.role]=n;const dw={};for(let{role:n,xrasRole:r}of L0)dw[n]=r;const pw=["info","success","secondary","warning","danger"],ea={error:"error",pending:"pending",success:"success"},d0=n=>n.endDate||n.startDate||(n.actions[0]||{}).entryDate,h_=n=>`${{pi:"01",co_pi:"02",allocation_manager:"03"}[n.role]||"04"} ${n.lastName}, ${n.firstName}`,$U=(n,{grantNumber:r,projectManager:i,requestMasterId:u,requests:l,title:d,users:h},v)=>{r=r||u,l.sort((x,R)=>d0(x)>d0(R)?-1:1);const y=l.find(x=>x.timeStatus=="current"),C=y?y.requestId:null;n.projects[r]={currentRequestId:C,grantNumber:r,isManager:i,requestsList:l.map(x=>{const{actions:R,allocationType:T,endDate:j,requestId:N,startDate:O,status:_}=x,L=R.map(({entryDate:F})=>F).sort()[0].split("T")[0];return GU(n,x,{entryDate:L,grantNumber:r}),{allocationType:T,endDate:j,entryDate:L,requestId:N,startDate:O,status:_}}),selectedRequestId:C||l[0].requestId,status:v,tab:"overview",title:d,users:h.map(({email:x,firstName:R,lastName:T,organization:j,resources:N,role:O,username:_})=>{const L=N.filter(U=>U.userAccountState=="active"&&U.unitType!="ACCESS Credits"),F=L.map(U=>U.xrasResourceId),V=L.filter(U=>U.resourceProviderState=="pending-active").map(U=>U.xrasResourceId),H=N.filter(U=>U.userAccountState!="active").map(U=>U.xrasResourceId),z={};for(let U of L)z[U.xrasResourceId]=U.resourceUsername;return{email:x,firstName:R,initialResourceIds:[...F],initialRole:O,lastName:T,organization:j,resourceAccountPendingIds:V,resourceAccountInactiveIds:H,resourceIds:F,resourceUsernames:z,role:O,username:_}}).sort((x,R)=>h_(x)<h_(R)?-1:1),usersNewRowIndex:0,usersStatus:null},n.projects[r].currentUser=n.projects[r].users.find(({username:x})=>x==n.username)},GU=(n,{actions:r,allocationType:i,allowedActions:u,endDate:l,requestId:d,requestType:h,resources:v,startDate:y,status:C,timeStatus:x},{entryDate:R,grantNumber:T})=>{v=v||[];const j={actions:r.map(({actionId:_,actionStatusType:L,actionType:F,allowedOperations:V,approvedStartDate:H,detailAvailable:z,entryDate:U,isRequest:J,requestedStartDate:q,resources:Re})=>({actionId:_,allowedOperations:V,detailAvailable:z,date:(U||H||q).split("T")[0],deleteStatus:null,isRequest:J,resources:Re.map(vw).sort(f0),showDeleteModal:!1,status:L,type:F})),allocationType:i,allowedActions:WU(u),endDate:l,entryDate:R,exchangeActionId:null,exchangeStatus:null,grantNumber:T,isMaximize:i=="Maximize",requestId:d,resources:v.map(vw).filter(_=>_.isCredit||_.allocated>0).sort(f0),resourcesReason:"",returnedForCorrections:!!r.find(_=>_.returnedForCorrections),returnedForCorrectionsNotes:r.map(_=>_.adminComments).join(","),showActionsModal:!1,showConfirmModal:!1,showResourcesModal:!1,startDate:y,status:C,timeStatus:x,type:h,usageDetail:null,usageDetailStatus:null,usesCredits:["Explore","Discover","Accelerate"].includes(i)};let N={};for(let _ of j.actions)if(["Exchange","Transfer"].includes(_.type)&&["Submitted","Under Review"].includes(_.status)){j.exchangeActionId=_.actionId;for(let L of _.resources)N[L.resourceId]=L;for(let L of j.resources)L.resourceId in N&&(L.requested+=N[L.resourceId].requested,delete N[L.resourceId]);j.resources.push(...Object.values(N).map(L=>({...L,isNew:!0})));break}const O=j.allowedActions.Exchange||j.allowedActions.Transfer;if(O){N={};for(let _ of O.resources)N[_.resourceId]=_;for(let _ of j.resources)_.resourceId in N&&(_.questions=N[_.resourceId].questions||[])}!j.usesCredits&&v.length&&j.resources.push({allocated:0,decimalPlaces:0,icon:"credit",isActive:!0,isBoolean:!1,isCredit:!0,isFake:!0,name:"Credit Equivalents",requested:0,requires:[],resourceId:0,unit:"Credit Equivalents",unitCost:1,used:0}),n.requests[d]=j},WU=n=>{const r={};for(let{actionType:i,allowedResources:u,opportunityId:l,opportunityName:d}of n){let h={name:i,resources:u.map(vw).sort(f0),opportunityId:l,opportunityName:d};i in r?(Array.isArray(r[i])||(r[i]=[r[i]]),r[i].push(h)):r[i]=h}return"Transfer"in r&&!("Exchange"in r)&&(r.Exchange=r.Transfer),r},m_=(n,r)=>n.relativeOrder<r.relativeOrder?-1:1,vw=({allocationState:n,amountAllocated:r,amountApproved:i,amountRequested:u,amountUsed:l,attributeSets:d,dependentResourceXrasIds:h,displayResourceName:v,endDate:y,exchangeRate:C,resourceRepositoryKey:x,resourceType:R,startDate:T,unitType:j,userGuideUrl:N,xrasResourceId:O})=>({allocated:Fp(p_(r,i)||0,0,"floor"),decimalPlaces:0,endDate:y,icon:j=="ACCESS Credits"?"credit":R.toLowerCase(),isActive:n=="active",isBoolean:j=="[Yes = 1, No = 0]",isCredit:j=="ACCESS Credits",isFake:!1,isUnderReview:!1,isNew:!1,name:v.trim(),questions:(d||[]).filter(({isActive:_})=>_).sort(m_).map(_=>({attributeSetId:_.attributeSetId,attributes:_.attributes.sort(m_).map(L=>({required:L.isRequired,resourceAttributeId:L.resourceAttributeId,label:L.attributeName})),fieldType:_.attributeSetRelationType,label:_.attributeSetName,resourceId:O,values:[]})),requested:Fp(p_(u,r)||0,0,"floor"),requires:h||[],resourceId:O,resourceRepositoryKey:x,startDate:T,type:R,unit:j,unitCost:j!="[Yes = 1, No = 0]"&&C?C:0,used:Fp(l||0,0,"ceil"),userGuideUrl:N}),PA=(n,r)=>(n=[...n].sort(),r=[...r].sort(),n.length===r.length&&n.every((i,u)=>i===r[u])),jb=(n,r)=>{const i=Kr(n,r);for(let u of i.actions)if(u.actionId==r.payload.actionId)return u},qs=(n,r)=>n.projects[r.payload.grantNumber],Kr=(n,r)=>n.requests[r.payload.requestId],XU=(n,r)=>qs(n,r).users.find(({username:i})=>i==r.payload.username),hw=({allocated:n,isActive:r,isCredit:i})=>n>0&&r&&!i,g_=n=>n.hasChanges=n.isNew||n.role!=n.initialRole||!PA(n.resourceIds,n.initialResourceIds),FA=()=>document.querySelector("meta[name=csrf-token]").content,YU=async n=>{const r=new URLSearchParams({q:n});return(await(await fetch(`${Nn.routes.search_people_path()}?${r}`)).json()).map(({email:u,first_name:l,last_name:d,username:h,organization:v})=>({email:u,firstName:l,lastName:d,username:h,organization:v}))},Wb=Di("api/fetchProjectsList",async(n,{rejectWithValue:r})=>{const i=await fetch(`${Nn.routes.projects_path()}.json`);return i.status==200?{username:n,projectsList:(await i.json()).result}:r({})}),VA=Di("api/fetchProjectDetail",async({grantNumber:n},{rejectWithValue:r})=>r({grantNumber:n})),BA=Di("api/fetchRequestDetail",async({grantNumber:n,requestId:r},{rejectWithValue:i})=>i({grantNumber:n,requestId:r})),Xb=Di("api/fetchUsageDetail",async({grantNumber:n,requestId:r,resourceRepositoryKey:i},{rejectWithValue:u})=>{const l=await fetch(`${Nn.routes.usage_detail_path(n,i)}.json`);return l.status==200?{grantNumber:n,requestId:r,resourceRepositoryKey:i,usageDetail:(await l.json()).usage}:u({grantNumber:n,requestId:r,resourceRepositoryKey:i})}),Yb=Di("api/deleteAction",async({actionId:n,requestId:r},{getState:i,rejectWithValue:u})=>{const l=i().api.requests[r],d=l.actions.find(C=>C.actionId==n);if(!d||!d.allowedOperations||!d.allowedOperations.includes("Delete"))return u({actionId:n,requestId:r});const h=Nn.routes.request_action_path(l.requestId,d.actionId),v={_method:"delete",authenticity_token:FA()};return(await fetch(h,{body:Object.keys(v).map(C=>`${encodeURIComponent(C)}=${encodeURIComponent(v[C])}`).join("&"),headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},method:"POST"})).status==200?{actionId:n,requestId:r}:u({actionId:n,requestId:r})}),Zb=Di("api/saveResources",async({requestId:n},{getState:r,rejectWithValue:i})=>{const u=r().api.requests[n],l={},d={};for(let{allocated:C,isFake:x,questions:R,requested:T,resourceId:j}of u.resources)if(T!=C&&!x){l[j]={resource_id:j,requested:1,amount:T-C};for(let{attributes:N,values:O,fieldType:_}of R)if(O.length){let L=N[0].resourceAttributeId,F=["drop_down","single_sel","multi_sel"].includes(_),H={resource_attribute_id:_=="multi_sel"?O:F?O[0]:L};F||(H.attribute_value=O[0]),d[L]=H}}const h={authenticity_token:FA(),request_action:{action_type:u.allowedActions.Exchange.name,user_comments:u.resourcesReason,resource_attributes:d},requested_resources:l},v=u.exchangeActionId?Nn.routes.request_action_path(u.requestId,u.exchangeActionId):Nn.routes.request_actions_path(u.requestId),y=await fetch(`${v}.json`,{body:JSON.stringify(h),headers:{"Content-Type":"application/json"},method:u.exchangeActionId?"PUT":"POST"});if(y.status==200){const C=parseInt(y.url.split("/").pop(),10);return{requestId:n,exchangeActionId:C}}return i({requestId:n})}),Jb=Di("api/saveUsers",async({grantNumber:n},{getState:r,rejectWithValue:i})=>{const l=r().api.projects[n].users,d=l.filter(C=>!PA(C.resourceIds,C.initialResourceIds)||C.isNew).length==0?[]:l.map(C=>({username:C.username,resources:C.resourceIds})),h=l.filter(C=>C.role!=C.initialRole).map(C=>({username:C.username,role:dw[C.role],initialRole:dw[C.initialRole]})),v={grantNumber:n,resourceChanges:d,roleChanges:h,authenticity_token:document.querySelector("meta[name=csrf-token]").content};return(await fetch(Nn.routes.projects_save_users_path(),{method:"POST",body:JSON.stringify(v),headers:{"Content-Type":"application/json"}})).status==200?{grantNumber:n}:i({grantNumber:n})}),zA=D0({name:"api",initialState:{error:null,projectsList:[],projectListLoading:!1,projects:{},requests:{},username:null},reducers:{addResource:(n,r)=>{const{resourceId:i}=r.payload,u=Kr(n,r),l=u.allowedActions.Exchange;if(!l)return;const d={};for(let y of l.resources)d[y.resourceId]=y;const h=u.resources.map(y=>y.resourceId),v=[i,...d[i].requires||[]].filter(y=>y in d&&!h.includes(y));u.resources.push(...v.map(y=>({...d[y],allocated:0,isNew:!0,used:0,requested:0})))},addUser:(n,r)=>{const i=qs(n,r),u=n.requests[i.currentRequestId],{user:l}=r.payload;i.users.map(({username:d})=>d).includes(l.username)||(i.users.push({...l,resourceIds:u.resources.filter(hw).map(d=>d.resourceId),role:"user",initialResourceIds:[],initialRole:"user",hasChanges:!0,isNew:!0}),i.usersNewRowIndex=i.users.length-1)},closeUsageDetailModal:(n,r)=>{const i=Kr(n,r);i.usageDetail=null,i.usageDetailStatus=null},resetResources:(n,r)=>{const i=Kr(n,r);i.resourcesReason="",i.resources=i.resources.filter(u=>u.isCredit||u.allocated).map(u=>({...u,requested:u.allocated}))},resetUsers:(n,r)=>{const i=qs(n,r);i.users=i.users.filter(({isNew:u})=>!u).map(u=>({...u,resourceIds:[...u.initialResourceIds],role:u.initialRole,hasChanges:!1}))},setRequest:(n,r)=>{const i=qs(n,r);i&&(i.selectedRequestId=r.payload.requestId,i.tab=="users"&&i.currentRequestId!=i.selectedRequestId&&(i.tab="overview"))},setResourceQuestionValues:(n,r)=>{const{attributeSetId:i,resourceId:u,values:l}=r.payload,d=Kr(n,r);for(let h of d.resources)if(h.resourceId==u){for(let v of h.questions)if(v.attributeSetId==i){v.values=l;break}break}},setResourceRequest:(n,r)=>{const{resourceId:i,requested:u}=r.payload,l=Kr(n,r);let d,h=0;for(let v of l.resources)v.resourceId==i&&(v.requested=u),v.isCredit?(d=v,h+=v.allocated*v.unitCost):h-=(v.requested-v.allocated)*v.unitCost;d&&(d.requested=Fp(h,d.decimalPlaces,"floor"))},setResourcesReason:(n,r)=>{const i=Kr(n,r);i.resourcesReason=r.payload.reason},setTab:(n,r)=>{const i=qs(n,r);i&&(i.tab=r.payload.tab)},setUserRole:(n,r)=>{const i=XU(n,r);i.role=r.payload.role,g_(i)},toggleActionsModal:(n,r)=>{const i=Kr(n,r);i.showActionsModal=!i.showActionsModal},toggleConfirmModal:(n,r)=>{const i=Kr(n,r);i.showConfirmModal=!i.showConfirmModal},toggleDeleteModal:(n,r)=>{const i=jb(n,r);i.showDeleteModal=!i.showDeleteModal},toggleResourcesModal:(n,r)=>{const i=Kr(n,r);i.showResourcesModal=!i.showResourcesModal},toggleUsersResources:(n,r)=>{const i=qs(n,r),u=n.requests[i.currentRequestId],{username:l,resourceId:d,checked:h}=r.payload,v=l?[i.users.find(y=>y.username==l)]:i.users;for(let y of v){if(d){let C=y.resourceIds.indexOf(d);h&&C==-1?y.resourceIds.push(d):!h&&C>=0&&y.resourceIds.splice(C,1)}else y.resourceIds=h?u.resources.filter(hw).map(({resourceId:C})=>C):[];g_(y)}}},extraReducers:n=>{n.addCase(Wb.pending,r=>{r.projectListLoading=!0}).addCase(Wb.fulfilled,(r,i)=>{i.payload.projectsList.sort((u,l)=>d0(u.requests[0])>d0(l.requests[0])?-1:1),r.username=i.payload.username,r.projectsList=i.payload.projectsList.map(u=>{const{grantNumber:l,requestMasterId:d,requests:h,status:v,title:y}=u,x=u.requests.filter(R=>R.actions.filter(T=>T.returnedForCorrections).length>0).length>0?"Returned for Corrections":v||h&&(h.find(({timeStatus:R})=>R=="current")?"Active":h[0].timeStatus=="past"?"Inactive":h[0].status);return h&&$U(r,u,x),{grantNumber:l||d,status:x,title:y}}),r.projectListLoading=!1}).addCase(Wb.rejected,r=>{r.error="Failed to load project list.",r.projectListLoading=!1}).addCase(VA.rejected,(r,i)=>{const{grantNumber:u}=i.payload;r.projects[u]={error:"Failed to load project data."}}).addCase(BA.rejected,(r,i)=>{const{requestId:u}=i.payload;r.requests[u]={error:"Failed to load request data."}}).addCase(Xb.pending,(r,i)=>{const u=Kr(r,{payload:i.meta.arg});u.usageDetailStatus=ea.pending}).addCase(Xb.fulfilled,(r,i)=>{const u=Kr(r,i);u.usageDetail=i.payload.usageDetail,u.usageDetailStatus=ea.success}).addCase(Xb.rejected,(r,i)=>{const u=Kr(r,i);u.usageDetailStatus=ea.error}).addCase(Yb.pending,(r,i)=>{const u=jb(r,{payload:i.meta.arg});u.deleteStatus=ea.pending}).addCase(Yb.fulfilled,(r,i)=>{const u=Kr(r,i),l=jb(r,i);l.isRequest?(u.error="This request has been deleted.",l.allowedOperations=[]):u.actions=u.actions.filter(d=>d.actionId!=l.actionId),l.deleteStatus=ea.success,l.showDeleteModal=!1}).addCase(Yb.rejected,(r,i)=>{const u=jb(r,i);u.deleteStatus=ea.error}).addCase(Zb.pending,(r,i)=>{const u=Kr(r,{payload:i.meta.arg});u.exchangeStatus=ea.pending,u.showResourcesModal=!1}).addCase(Zb.fulfilled,(r,i)=>{const u=Kr(r,i);u.exchangeActionId=i.payload.exchangeActionId,u.exchangeStatus=ea.success}).addCase(Zb.rejected,(r,i)=>{const u=Kr(r,i);u.exchangeStatus=ea.error}).addCase(Jb.pending,(r,i)=>{const u=qs(r,{payload:i.meta.arg});u.usersStatus=ea.pending}).addCase(Jb.fulfilled,(r,i)=>{const u=qs(r,i);u.users=u.users.map(l=>({...l,initialResourceIds:[...l.resourceIds],initialRole:l.role,hasChanges:!1,isNew:!1})),u.usersStatus=ea.success}).addCase(Jb.rejected,(r,i)=>{const u=qs(r,i);u.usersStatus=ea.error})}}),ZU=n=>n.api.error,JU=n=>n.api.projectsList,qU=n=>n.api.projectListLoading,QU=(n,r)=>qs(n.api,{payload:{grantNumber:r}}),KU=(n,r)=>Kr(n.api,{payload:{requestId:r}}),e$=n=>n.api.username,{addResource:t$,addUser:n$,closeUsageDetailModal:r$,hideAlert:$8,resetResources:a$,resetUsers:i$,setRequest:o$,setResourceQuestionValues:s$,setResourceRequest:l$,setResourcesReason:u$,setTab:c$,setUserRole:f$,toggleActionsModal:d$,toggleConfirmModal:p$,toggleDeleteModal:v$,toggleResourcesModal:h$,toggleUsersResources:m$}=zA.actions,g$=zA.reducer,y$=n=>{const r=dr(ZU),i=dr(qU),u=dr(JU),l=To();return M.useEffect(()=>{l(Wb(n))},[]),{error:r,loading:i,projects:u}},Ji=(n,r)=>{const i=dr(d=>QU(d,n)),u=dr(e$),l=To();return M.useEffect(()=>{!i&&!r&&l(VA({grantNumber:n}))},[r]),{project:i,addUser:d=>l(n$({grantNumber:n,user:d})),resetUsers:()=>l(i$({grantNumber:n})),saveUsers:()=>l(Jb({grantNumber:n})),setRequest:d=>l(o$({grantNumber:n,requestId:d})),setTab:d=>l(c$({grantNumber:n,tab:d})),setUserRole:(d,h)=>l(f$({grantNumber:n,username:d,role:h})),statuses:ea,toggleUsersResources:(d,h,v)=>l(m$({grantNumber:n,username:h,resourceId:v,checked:d})),username:u}},ri=(n,r)=>{const i=dr(l=>KU(l,n)),u=To();return M.useEffect(()=>{i||u(BA({grantNumber:r,requestId:n}))},[r,n]),{request:i,addResource:l=>u(t$({requestId:n,resourceId:l})),closeUsageDetailModal:()=>u(r$({requestId:n})),deleteAction:l=>u(Yb({actionId:l,requestId:n})),openUsageDetailModal:l=>u(Xb({grantNumber:i.grantNumber,requestId:n,resourceRepositoryKey:l})),resetResources:()=>u(a$({requestId:n})),saveResources:()=>u(Zb({requestId:n})),setResourceQuestionValues:(l,d,h)=>u(s$({requestId:n,resourceId:l,attributeSetId:d,values:h})),setResourceRequest:(l,d)=>u(l$({requestId:n,resourceId:l,requested:d})),setResourcesReason:l=>u(u$({requestId:n,reason:l})),statuses:ea,toggleActionsModal:()=>u(d$({requestId:n})),toggleConfirmModal:()=>u(p$({requestId:n})),toggleDeleteModal:l=>u(v$({requestId:n,actionId:l})),toggleResourcesModal:()=>u(h$({requestId:n}))}},na=({children:n,color:r})=>b.jsx("div",{className:`alert alert-${r} mt-3`,role:"alert",children:n}),b$="_project_qqnbz_1",C$="_expand_qqnbz_5",y_={project:b$,expand:C$},x$="_returnedForCorrectionsNotes_jujbd_1",S$={returnedForCorrectionsNotes:x$};var mw={exports:{}},gw={exports:{}},En={};/** @license React v16.13.1
270
+ `),ft}u0(()=>{le.current=void 0,ye.current=void 0,Y.current=Ve});const et=Jt.useMemo(()=>Jt.createElement(_,{...Ve,ref:Re}),[Re,_,Ve]);return Jt.useMemo(()=>N?Jt.createElement(ge.Provider,{value:G},et):et,[ge,et,G])}const U=Jt.memo(H);if(U.WrappedComponent=_,U.displayName=H.displayName=F,y){const q=Jt.forwardRef(function(he,ge){return Jt.createElement(U,{...he,reactReduxForwardedRef:ge})});return q.displayName=F,q.WrappedComponent=_,cw(q,_)}return cw(U,_)}}var ds=pU;function vU({store:n,context:r,children:i,serverState:u,stabilityCheck:l="once",identityFunctionCheck:d="once"}){const h=Jt.useMemo(()=>{const C=_A(n);return{store:n,subscription:C,getServerState:u?()=>u:void 0,stabilityCheck:l,identityFunctionCheck:d}},[n,u,l,d]),v=Jt.useMemo(()=>n.getState(),[n]);u0(()=>{const{subscription:C}=h;return C.onStateChange=C.notifyNestedSubs,C.trySubscribe(),v!==n.getState()&&C.notifyNestedSubs(),()=>{C.tryUnsubscribe(),C.onStateChange=void 0}},[h,v]);const y=r||nu;return Jt.createElement(y.Provider,{value:h},i)}var Qp=vU;function jA(n=nu){const r=n===nu?gA:Yw(n),i=()=>{const{store:u}=r();return u};return Object.assign(i,{withTypes:()=>i}),i}var hU=jA();function mU(n=nu){const r=n===nu?hU:jA(n),i=()=>r().dispatch;return Object.assign(i,{withTypes:()=>i}),i}var Io=mU();TH(wH.useSyncExternalStoreWithSelector);oU(M.useSyncExternalStore);const fw={user:{colors:["#ffc42d","#fea92c","#f98f30","#f07537"]},rp:{colors:["#48c0b9","#2e9da4","#207b8b","#1a5b6e"]}},OE={};function DA(n,r=3){let i=0;for(;n/Math.pow(1e3,i)>1e3;)i+=1;const u=n.toString().length,l=Math.pow(10,u-r);return(Math.round(n/l)*l/Math.pow(1e3,i)).toString()+["","K","M","B","T"][i]}async function gU(){return await(await fetch("https://basemaps-api.arcgis.com/arcgis/rest/services/styles/ArcGIS:Community?type=style&token=AAPK220079f462f24fda89c27fa210c3f887EJPCECuukKD8PnCIBqktgGTKZWPlVXWjRoSsZYGkOJ12QemGItZ4liRZkcUzYyme")).json()}async function yU(n){if(OE[n])return OE[n];const r=document.location,i=`${r.protocol}//${r.host}${r.pathname}`,l=await(await fetch(`${i}/${n}`)).json();return OE[n]=l,l}function bU(n){const r=[...n.creditLines.features.map(u=>u.properties.credits)],i=[...n.rpPoints.features.map(u=>u.properties.rpCredits),...n.userPoints.features.map(u=>u.properties.userCredits)];return{lines:u_(r),points:u_(i)}}function l_({activeOrg:n,basemapStyle:r,creditLevels:i,creditType:u,geoJSON:l,organizationType:d}){const h={},v=[];if(l&&i){const C=d==="user"?"rp":"user",x=l[`${d}Points`],R=l[`${C}Points`],T=`${d}Credits`,j=`${C}Credits`;h.organizations={type:"geojson",data:x};const N={user:[],rp:[]},O=[];i.points.forEach((L,F)=>{Object.keys(fw).forEach(V=>{N[V].push(L[1],fw[V].colors[F])}),O.push(L[1],5*(F+1))});const _=[];if(i.lines.forEach((L,F)=>{_.push(L[1],1*(F+1))}),v.push({id:"organizations",type:"circle",source:"organizations",paint:{"circle-radius":["interpolate",["linear"],["get",T],...O],"circle-color":["interpolate",["linear"],["get",T],...N[d]],"circle-opacity":n?["match",["id"],n.id,1,.3]:1,"circle-stroke-color":"#ffffff","circle-stroke-width":1}}),n&&u!=="allocated"){h.opp={type:"geojson",data:R};const L=["get",n.id.toString(),["get",`${j}Map`]];v.push({id:"opp",type:"circle",source:"opp",filter:["has",n.id.toString(),["get",`${j}Map`]],paint:{"circle-radius":["interpolate",["linear"],L,...O],"circle-color":["interpolate",["linear"],L,...N[C]],"circle-stroke-color":"#ffffff","circle-stroke-width":1}}),h.credits={type:"geojson",data:l.creditLines},v.push({id:"credits",type:"line",source:"credits",filter:["==",["get",`${d}_organization_id`],n.id],paint:{"line-color":"#444444","line-opacity":.4,"line-width":["interpolate",["linear"],["get","credits"],..._]}})}}const y=r||{version:8,sources:{},layers:[]};return{...y,sources:{...y.sources,...h},layers:[...y.layers.filter(C=>C.id!=="Marine waterbody/label/2x large"),...v]}}function CU(n,r,i,u,l=20){return[...Array(l+1).keys()].map(d=>d/l).map(d=>{let h=d*(i-n)+n,v=d*(u-r)+r+Math.abs(Math.sin(d*Math.PI)*(i-n)*.1);return[h,v]})}function xU(n,r,i){const u={};return n.features.forEach(d=>u[d.id]={type:d.type,geometry:d.geometry,id:d.id,properties:{name:d.properties.name,abbr:d.properties.abbr,userCredits:0,userCreditsMap:{},rpCredits:0,rpCreditsMap:{}}},{}),{creditLines:{type:"FeatureCollection",features:r.result.filter(d=>u[d.user_organization_id]!==void 0&&(i==="allocated"||u[d.rp_organization_id]!==void 0)).map(d=>{const h=u[d.user_organization_id],v=u[d.rp_organization_id];if(h.properties.userCredits+=d.credits,v&&(v.properties.rpCredits+=d.credits),h.properties.userCreditsMap[d.rp_organization_id]=(h.properties.userCreditsMap[d.rp_organization_id]||0)+d.credits,v&&(v.properties.rpCreditsMap[d.user_organization_id]=(v.properties.rpCreditsMap[d.user_organization_id]||0)+d.credits),i!=="allocated")return{type:"Feature",geometry:{type:"LineString",coordinates:CU(...u[d.user_organization_id].geometry.coordinates,...u[d.rp_organization_id].geometry.coordinates)},properties:d}}).filter(d=>d!==void 0)},userPoints:{type:"FeatureCollection",features:Object.values(u).filter(d=>d.properties.userCredits>0).sort((d,h)=>d.properties.userCredits>h.properties.userCredits?-1:1)},rpPoints:{type:"FeatureCollection",features:Object.values(u).filter(d=>d.properties.rpCredits>0).sort((d,h)=>d.properties.rpCredits>h.properties.rpCredits?-1:1)}}}function u_(n,r=[0,.3,.6,.9]){return r.map((i,u)=>{const l=SU(n,i),d=u===r.length-1?"+":"";return[`${DA(Math.round(l))}${d}`,l]})}function SU(n,r){n.sort((d,h)=>d-h);const i=(n.length-1)*r,u=Math.floor(i),l=i-u;return n[u+1]!==void 0?n[u]+l*(n[u+1]-n[u]):n[u]}const EU="_fullscreen_1iid9_6",wU="_map_1iid9_14",Ab={"allocations-map":"_allocations-map_1iid9_1",fullscreen:EU,map:wU},RU="_group_11k83_1",TU="_button_11k83_6",IU="_icon_11k83_16",AE={group:RU,button:TU,icon:IU};function c_({choices:n,disabledValues:r=[],label:i,value:u,setValue:l}){const d=[];return n.forEach(([h,v])=>d.push(b.jsx("input",{type:"radio",className:"btn-check",name:h,id:h,autoComplete:"off",checked:u===h,onChange:()=>l(h),disabled:r.includes(h)},h),b.jsxs("label",{className:`btn btn-outline-primary ${AE.button}`,htmlFor:h,disabled:r.includes(h),children:[u===h?b.jsx("i",{className:`bi bi-check ${AE.icon}`}):null," ",v]},`${h}-label`))),b.jsx("div",{className:"mb-2",children:b.jsx("div",{className:`btn-group ${AE.group}`,role:"group","aria-label":i,children:d})})}const NU="_controls_1be4t_1",_U={controls:NU};function OU({creditType:n,organizationType:r,setCreditType:i,setOrganizationType:u}){return b.jsxs("div",{className:_U.controls,children:[b.jsx("h2",{children:"ACCESS Allocations"}),b.jsx(c_,{choices:[["allocated","Allocations"],["exchanged","Exchanges"],["used","Usage"]],label:"Credit Type",value:n,setValue:i}),b.jsx(c_,{choices:[["user","By Research Institution"],["rp","By Resource Provider"]],disabledValues:n==="allocated"?["rp"]:[],label:"Organization Type",value:r,setValue:u})]})}const AU="_legend_odgg9_1",jU="_symbols_odgg9_17",DU="_symbol_odgg9_17",$b={legend:AU,symbols:jU,symbol:DU};function kU(n,r){const i=2*n+2;return b.jsx("svg",{viewBox:`0 0 ${i} ${i}`,xmlns:"http://www.w3.org/2000/svg",stroke:"white",strokeWidth:"1",height:i,width:i,children:b.jsx("circle",{fill:r,cx:n+1,cy:n+1,r:n})})}function MU({activeOrg:n,creditLevels:r,organizationType:i}){if(n||!r)return;const u=r.points.map((l,d)=>b.jsxs("div",{className:$b.symbol,children:[kU(5*(d+1),fw[i].colors[d]),b.jsx("br",{}),b.jsx("span",{className:"label",children:l[0]})]},l[0]));return b.jsxs("div",{className:$b.legend,children:[b.jsxs("h2",{className:"fs-6 mt-0 mb-0",children:["ACCESS Credits ",b.jsx("small",{children:"or credit equivalents"})]}),b.jsx("div",{className:$b.symbols,children:u})]})}const LU="_info_oxxoh_1",PU="_user_oxxoh_7",FU="_rp_oxxoh_10",VU="_credits_oxxoh_15",Gb={info:LU,user:PU,rp:FU,credits:VU};function f_(n,r,i){n.sort((l,d)=>d[1]-l[1]);const u=n.slice(0,3).map(l=>l[0]);return n.length>3&&(u[2]=`${n.length-2} other ${i}s`),u.reduce((l,d,h,v)=>[l,b.jsx("span",{className:`name ${Gb[r]}`,children:d},d),[""," and ",", "][v.length-h-1]],[])}function BU({activeOrg:n,creditType:r,organizationMap:i,organizationType:u}){if(!n||!i)return;const l=n.properties,d=l[`${u}Credits`],h=u==="rp"?"user":"rp",v=JSON.parse(l[`${u}CreditsMap`]),y={user:[],rp:[]};return y[u].push([l.name,d]),Object.keys(v).forEach(C=>y[h].push([i[C],v[C]])),b.jsx("div",{className:`${$b.legend} ${Gb.info}`,children:b.jsxs("p",{className:Gb[u],children:["Researchers at ",f_(y.user,"user","research institution")," ",r==="allocated"?"were ":"",r," ",b.jsxs("span",{className:Gb.credits,children:[DA(d)," ACCESS Credits"]}),r!=="allocated"?b.jsxs(b.Fragment,{children:[" ",r==="exchanged"?"for":"on"," resources at"," ",f_(y.rp,"rp","resource provider")]}):"","."]})})}function zU(){const n=M.useRef(null),r=M.useRef(null),[i,u]=M.useState(null),[l,d]=M.useState(null),[h,v]=M.useState(null),[y,C]=M.useState(!1),[x,R]=M.useState(null),[T,j]=M.useState(null),[N,O]=M.useState(null),[_,L]=M.useState("user"),[F,V]=M.useState("exchanged");return M.useEffect(()=>{(async()=>d(await gU()))()},[]),M.useEffect(()=>{(async H=>{const[z,U]=await Promise.all(["organizations",`credits_${H}`].map(yU));if(!N){const q={};z.features.forEach(Re=>q[Re.id.toString()]=Re.properties.name),O(q)}const J=xU(z,U,F);R(J),H==="exchanged"&&!h&&v(bU(J))})(F)},[F]),M.useEffect(()=>{T&&T.setStyle(l_({activeOrg:i,basemapStyle:l,creditLevels:h,creditType:F,geoJSON:x,organizationType:_}))},[i,x,T,_]),M.useEffect(()=>{T&&(T.on("mousemove","organizations",H=>u(H.features.length?H.features[0]:null)),T.on("mouseleave","organizations",()=>u(null)))},[T]),M.useEffect(()=>{T&&T.resize()},[y]),M.useEffect(()=>{F==="allocated"&&L("user")},[F]),M.useLayoutEffect(()=>j(new maplibregl.Map({container:r.current,style:l_({activeOrg:i,basemapStyle:l,creditLevels:h,creditType:F,geoJSON:x,organizationType:_}),center:[-111.01,38.88],zoom:3.4,hash:!0})),[]),M.useLayoutEffect(()=>n.current.addEventListener("keydown",H=>{H.key==="Escape"&&C(!1)}),[]),b.jsxs("section",{className:`${Ab["allocations-map"]} ${y?Ab.fullscreen:"border border-3 border-primary"}`,ref:n,children:[b.jsx("div",{className:Ab.map,ref:r}),b.jsx(OU,{creditType:F,fullscreen:y,organizationType:_,setCreditType:V,setFullscreen:C,setOrganizationType:L}),b.jsx(MU,{activeOrg:i,creditLevels:h,organizationType:_}),b.jsx(BU,{activeOrg:i,creditType:F,organizationMap:N,organizationType:_}),b.jsx("button",{title:`${y?"Exit":"Enter"} Fullscreen`,className:Ab.fullscreen,onClick:()=>C(!y),children:b.jsx("i",{className:`bi ${y?"bi-fullscreen-exit":"bi-arrows-fullscreen"}`,"aria-label":"Fullscreen"})})]})}const Yl="https://allocations.access-ci.org",Nn={creditAlertThreshold:1e3,resourceTypeIcons:{credit:"cash-coin",compute:"cpu-fill",storage:"hdd-fill",program:"person-square"},routes:{edit_request_action_path:(n,r)=>`/requests/${n}/actions/${r}/edit`,edit_request_path:n=>`/requests/${n}/edit`,how_to_path:()=>"/how-to",get_your_first_project_path:()=>`${Yl}/get-your-first-project`,project_types_path:()=>`${Yl}/project-types`,projects_path:()=>`${Yl}/projects`,projects_save_users_path:()=>"/projects/save_users",renew_request_path:n=>`${Yl}/requests/${n}/renew`,request_action_path:(n,r)=>`${Yl}/requests/${n}/actions/${r}`,request_actions_path:n=>`${Yl}/requests/${n}/actions`,request_path:n=>`${Yl}/requests/${n}`,resources_path:()=>`${Yl}/resources`,search_people_path:()=>`${Yl}/search/people`,usage_detail_path:(n,r)=>`/usage/${n}/${r}`},roleIcons:{PI:"person-fill-check","Co-PI":"person-fill-add","Allocation Manager":"person-fill-gear",User:"people-fill"}};function c0({color:n="primary",href:r,icon:i,onClick:u,target:l,title:d}){const h=b.jsx("i",{className:`bi bi-${i}`}),v={className:`btn btn-sm ms-1 text-${n}`,href:r,onClick:u,style:{"--bs-btn-padding-x":"0.1rem","--bs-btn-padding-y":"0.1rem","--bs-btn-line-height":"1"},target:l,title:d};return r?b.jsx("a",{...v,children:h}):b.jsx("button",{...v,children:h})}const Fp=(n,r,i="round")=>{const u=Math.pow(10,r||0);return Math[i](n*u)/u},HU=n=>new Date(`${n}T00:00:00`),UU={year:"numeric",month:"short",day:"numeric"},Vp=(n,r)=>HU(n).toLocaleString("en-us",r||UU),ni=(n,{abbreviate:r=!1,decimalPlaces:i=void 0}={})=>{if(r){let u=0;for(;Math.abs(n)/Math.pow(1e3,u)>=1e3;)u+=1;const l=["","K","M","B","T","Q"][u];return`${(n/Math.pow(1e3,u)).toLocaleString("en-US",{maximumSignificantDigits:3})}${l}`}return n.toLocaleString("en-US",{maximumFractionDigits:i,minimumFractionDigits:i})},Kw=(n,r)=>{if(n.startDate&&n.endDate){const l=Vp(n.startDate,r),d=Vp(n.endDate,r);return`${n.allocationType}: ${l} to ${d}`}const i=Vp(n.entryDate,r),u=n.status=="Incomplete"?"Started":"Submitted";return`${n.allocationType}: ${u} ${i}`},gc=n=>b.jsx("i",{className:`bi bi-${n}`}),M0=n=>{const r=n.match(/^([^\(\)]+) (\(([^\)]+)\))?$/);return{full:n,short:r&&r[3]||null}},Uf=(n,{userGuide:r=!0}={})=>{const{full:i,short:u}=M0(n.name),l=u?b.jsx("abbr",{title:i,children:u}):i;return b.jsxs(b.Fragment,{children:[gc(Nn.resourceTypeIcons[n.icon])," ",l,!n.isCredit&&n.userGuideUrl&&r?b.jsx(c0,{icon:"book",href:n.userGuideUrl,target:"_blank",title:`${n.name} User Guide`}):null]})},d_=n=>{const r=M0(n.name);return r.short||r.full},f0=(n,r)=>n.isCredit>r.isCredit||n.isActive>r.isActive||d_(n)<d_(r)?-1:1,p_=(...n)=>{for(let r of n)if(r!=null)return r;return null},kA=(n,r="and",i=", ")=>n.reduce((u,l,d)=>b.jsxs(b.Fragment,{children:[u,n.length-1>d?i:` ${r} `,l]})),eR=n=>n?b.jsxs(b.Fragment,{children:[gc("check-circle")," Yes"]}):b.jsxs(b.Fragment,{children:[gc("x-circle")," No"]}),tR=n=>kA(n.users.filter(({role:r})=>["pi","co_pi","allocation_manager"].includes(r)).map(r=>`${r.firstName} ${r.lastName}`),"or"),v_=(n,r)=>r==1&&n.endsWith("s")?n.slice(0,-1):n,MA=n=>{let r=0,i=0;for(let u of n.resources)u.isBoolean||(r+=u.allocated*u.unitCost,i+=Math.min(u.used,u.allocated)*u.unitCost);return r>0?i/r:0},L0=[{role:"pi",name:"PI",xrasRole:"PI"},{role:"co_pi",name:"Co-PI",xrasRole:"CoPI"},{role:"allocation_manager",name:"Allocation Manager",xrasRole:"Allocation Manager"},{role:"user",name:"User",xrasRole:"User"}],LA={};for(let n of L0)LA[n.role]=n;const dw={};for(let{role:n,xrasRole:r}of L0)dw[n]=r;const pw=["info","success","secondary","warning","danger"],ea={error:"error",pending:"pending",success:"success"},d0=n=>n.endDate||n.startDate||(n.actions[0]||{}).entryDate,h_=n=>`${{pi:"01",co_pi:"02",allocation_manager:"03"}[n.role]||"04"} ${n.lastName}, ${n.firstName}`,$U=(n,{grantNumber:r,projectManager:i,requestMasterId:u,requests:l,title:d,users:h},v)=>{r=r||u,l.sort((x,R)=>d0(x)>d0(R)?-1:1);const y=l.find(x=>x.timeStatus=="current"),C=y?y.requestId:null;n.projects[r]={currentRequestId:C,grantNumber:r,isManager:i,requestsList:l.map(x=>{const{actions:R,allocationType:T,endDate:j,requestId:N,startDate:O,status:_}=x,L=R.map(({entryDate:F})=>F).sort()[0].split("T")[0];return GU(n,x,{entryDate:L,grantNumber:r}),{allocationType:T,endDate:j,entryDate:L,requestId:N,startDate:O,status:_}}),selectedRequestId:C||l[0].requestId,status:v,tab:"overview",title:d,users:h.map(({email:x,firstName:R,lastName:T,organization:j,resources:N,role:O,username:_})=>{const L=N.filter(U=>U.userAccountState=="active"&&U.unitType!="ACCESS Credits"),F=L.map(U=>U.xrasResourceId),V=L.filter(U=>U.resourceProviderState=="pending-active").map(U=>U.xrasResourceId),H=N.filter(U=>U.userAccountState!="active").map(U=>U.xrasResourceId),z={};for(let U of L)z[U.xrasResourceId]=U.resourceUsername;return{email:x,firstName:R,initialResourceIds:[...F],initialRole:O,lastName:T,organization:j,resourceAccountPendingIds:V,resourceAccountInactiveIds:H,resourceIds:F,resourceUsernames:z,role:O,username:_}}).sort((x,R)=>h_(x)<h_(R)?-1:1),usersNewRowIndex:0,usersStatus:null},n.projects[r].currentUser=n.projects[r].users.find(({username:x})=>x==n.username)},GU=(n,{actions:r,allocationType:i,allowedActions:u,endDate:l,requestId:d,requestType:h,resources:v,startDate:y,status:C,timeStatus:x},{entryDate:R,grantNumber:T})=>{v=v||[];const j={actions:r.map(({actionId:_,actionStatusType:L,actionType:F,allowedOperations:V,approvedStartDate:H,detailAvailable:z,entryDate:U,isRequest:J,requestedStartDate:q,resources:Re})=>({actionId:_,allowedOperations:V,detailAvailable:z,date:(U||H||q).split("T")[0],deleteStatus:null,isRequest:J,resources:Re.map(vw).sort(f0),showDeleteModal:!1,status:L,type:F})),allocationType:i,allowedActions:WU(u),endDate:l,entryDate:R,exchangeActionId:null,exchangeStatus:null,grantNumber:T,isMaximize:i=="Maximize",requestId:d,resources:v.map(vw).filter(_=>_.isCredit||_.allocated>0).sort(f0),resourcesReason:"",returnedForCorrections:!!r.find(_=>_.returnedForCorrections),returnedForCorrectionsNotes:r.map(_=>_.adminComments).join(","),showActionsModal:!1,showConfirmModal:!1,showResourcesModal:!1,startDate:y,status:C,timeStatus:x,type:h,usageDetail:null,usageDetailStatus:null,usesCredits:["Explore","Discover","Accelerate"].includes(i)};let N={};for(let _ of j.actions)if(["Exchange","Transfer"].includes(_.type)&&["Submitted","Under Review"].includes(_.status)){j.exchangeActionId=_.actionId;for(let L of _.resources)N[L.resourceId]=L;for(let L of j.resources)L.resourceId in N&&(L.requested+=N[L.resourceId].requested,delete N[L.resourceId]);j.resources.push(...Object.values(N).map(L=>({...L,isNew:!0})));break}const O=j.allowedActions.Exchange||j.allowedActions.Transfer;if(O){N={};for(let _ of O.resources)N[_.resourceId]=_;for(let _ of j.resources)_.resourceId in N&&(_.questions=N[_.resourceId].questions||[])}!j.usesCredits&&v.length&&j.resources.push({allocated:0,decimalPlaces:0,icon:"credit",isActive:!0,isBoolean:!1,isCredit:!0,isFake:!0,name:"Credit Equivalents",requested:0,requires:[],resourceId:0,unit:"Credit Equivalents",unitCost:1,used:0}),n.requests[d]=j},WU=n=>{const r={};for(let{actionType:i,allowedResources:u,opportunityId:l,opportunityName:d}of n){let h={name:i,resources:u.map(vw).sort(f0),opportunityId:l,opportunityName:d};i in r?(Array.isArray(r[i])||(r[i]=[r[i]]),r[i].push(h)):r[i]=h}return"Transfer"in r&&!("Exchange"in r)&&(r.Exchange=r.Transfer),r},m_=(n,r)=>n.relativeOrder<r.relativeOrder?-1:1,vw=({allocationState:n,amountAllocated:r,amountApproved:i,amountRequested:u,amountUsed:l,attributeSets:d,dependentResourceXrasIds:h,displayResourceName:v,endDate:y,exchangeRate:C,resourceRepositoryKey:x,resourceType:R,startDate:T,unitType:j,userGuideUrl:N,xrasResourceId:O})=>({allocated:Fp(p_(r,i)||0,0,"floor"),decimalPlaces:0,endDate:y,icon:j=="ACCESS Credits"?"credit":R.toLowerCase(),isActive:n=="active",isBoolean:j=="[Yes = 1, No = 0]",isCredit:j=="ACCESS Credits",isFake:!1,isUnderReview:!1,isNew:!1,name:v.trim(),questions:(d||[]).filter(({isActive:_})=>_).sort(m_).map(_=>({attributeSetId:_.attributeSetId,attributes:_.attributes.sort(m_).map(L=>({required:L.isRequired,resourceAttributeId:L.resourceAttributeId,label:L.attributeName})),fieldType:_.attributeSetRelationType,label:_.attributeSetName,resourceId:O,values:[]})),requested:Fp(p_(u,r)||0,0,"floor"),requires:h||[],resourceId:O,resourceRepositoryKey:x,startDate:T,type:R,unit:j,unitCost:j!="[Yes = 1, No = 0]"&&C?C:0,used:Fp(l||0,0,"ceil"),userGuideUrl:N}),PA=(n,r)=>(n=[...n].sort(),r=[...r].sort(),n.length===r.length&&n.every((i,u)=>i===r[u])),jb=(n,r)=>{const i=Kr(n,r);for(let u of i.actions)if(u.actionId==r.payload.actionId)return u},Qs=(n,r)=>n.projects[r.payload.grantNumber],Kr=(n,r)=>n.requests[r.payload.requestId],XU=(n,r)=>Qs(n,r).users.find(({username:i})=>i==r.payload.username),hw=({allocated:n,isActive:r,isCredit:i})=>n>0&&r&&!i,g_=n=>n.hasChanges=n.isNew||n.role!=n.initialRole||!PA(n.resourceIds,n.initialResourceIds),FA=()=>document.querySelector("meta[name=csrf-token]").content,YU=async n=>{const r=new URLSearchParams({q:n});return(await(await fetch(`${Nn.routes.search_people_path()}?${r}`)).json()).map(({email:u,first_name:l,last_name:d,username:h,organization:v})=>({email:u,firstName:l,lastName:d,username:h,organization:v}))},Wb=Di("api/fetchProjectsList",async(n,{rejectWithValue:r})=>{const i=await fetch(`${Nn.routes.projects_path()}.json`);return i.status==200?{username:n,projectsList:(await i.json()).result}:r({})}),VA=Di("api/fetchProjectDetail",async({grantNumber:n},{rejectWithValue:r})=>r({grantNumber:n})),BA=Di("api/fetchRequestDetail",async({grantNumber:n,requestId:r},{rejectWithValue:i})=>i({grantNumber:n,requestId:r})),Xb=Di("api/fetchUsageDetail",async({grantNumber:n,requestId:r,resourceRepositoryKey:i},{rejectWithValue:u})=>{const l=await fetch(`${Nn.routes.usage_detail_path(n,i)}.json`);return l.status==200?{grantNumber:n,requestId:r,resourceRepositoryKey:i,usageDetail:(await l.json()).usage}:u({grantNumber:n,requestId:r,resourceRepositoryKey:i})}),Yb=Di("api/deleteAction",async({actionId:n,requestId:r},{getState:i,rejectWithValue:u})=>{const l=i().api.requests[r],d=l.actions.find(C=>C.actionId==n);if(!d||!d.allowedOperations||!d.allowedOperations.includes("Delete"))return u({actionId:n,requestId:r});const h=Nn.routes.request_action_path(l.requestId,d.actionId),v={_method:"delete",authenticity_token:FA()};return(await fetch(h,{body:Object.keys(v).map(C=>`${encodeURIComponent(C)}=${encodeURIComponent(v[C])}`).join("&"),headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},method:"POST"})).status==200?{actionId:n,requestId:r}:u({actionId:n,requestId:r})}),Zb=Di("api/saveResources",async({requestId:n},{getState:r,rejectWithValue:i})=>{const u=r().api.requests[n],l={},d={};for(let{allocated:C,isFake:x,questions:R,requested:T,resourceId:j}of u.resources)if(T!=C&&!x){l[j]={resource_id:j,requested:1,amount:T-C};for(let{attributes:N,values:O,fieldType:_}of R)if(O.length){let L=N[0].resourceAttributeId,F=["drop_down","single_sel","multi_sel"].includes(_),H={resource_attribute_id:_=="multi_sel"?O:F?O[0]:L};F||(H.attribute_value=O[0]),d[L]=H}}const h={authenticity_token:FA(),request_action:{action_type:u.allowedActions.Exchange.name,user_comments:u.resourcesReason,resource_attributes:d},requested_resources:l},v=u.exchangeActionId?Nn.routes.request_action_path(u.requestId,u.exchangeActionId):Nn.routes.request_actions_path(u.requestId),y=await fetch(`${v}.json`,{body:JSON.stringify(h),headers:{"Content-Type":"application/json"},method:u.exchangeActionId?"PUT":"POST"});if(y.status==200){const C=parseInt(y.url.split("/").pop(),10);return{requestId:n,exchangeActionId:C}}return i({requestId:n})}),Jb=Di("api/saveUsers",async({grantNumber:n},{getState:r,rejectWithValue:i})=>{const l=r().api.projects[n].users,d=l.filter(C=>!PA(C.resourceIds,C.initialResourceIds)||C.isNew).length==0?[]:l.map(C=>({username:C.username,resources:C.resourceIds})),h=l.filter(C=>C.role!=C.initialRole).map(C=>({username:C.username,role:dw[C.role],initialRole:dw[C.initialRole]})),v={grantNumber:n,resourceChanges:d,roleChanges:h,authenticity_token:document.querySelector("meta[name=csrf-token]").content};return(await fetch(Nn.routes.projects_save_users_path(),{method:"POST",body:JSON.stringify(v),headers:{"Content-Type":"application/json"}})).status==200?{grantNumber:n}:i({grantNumber:n})}),zA=D0({name:"api",initialState:{error:null,projectsList:[],projectListLoading:!1,projects:{},requests:{},username:null},reducers:{addResource:(n,r)=>{const{resourceId:i}=r.payload,u=Kr(n,r),l=u.allowedActions.Exchange;if(!l)return;const d={};for(let y of l.resources)d[y.resourceId]=y;const h=u.resources.map(y=>y.resourceId),v=[i,...d[i].requires||[]].filter(y=>y in d&&!h.includes(y));u.resources.push(...v.map(y=>({...d[y],allocated:0,isNew:!0,used:0,requested:0})))},addUser:(n,r)=>{const i=Qs(n,r),u=n.requests[i.currentRequestId],{user:l}=r.payload;i.users.map(({username:d})=>d).includes(l.username)||(i.users.push({...l,resourceIds:u.resources.filter(hw).map(d=>d.resourceId),role:"user",initialResourceIds:[],initialRole:"user",hasChanges:!0,isNew:!0}),i.usersNewRowIndex=i.users.length-1)},closeUsageDetailModal:(n,r)=>{const i=Kr(n,r);i.usageDetail=null,i.usageDetailStatus=null},resetResources:(n,r)=>{const i=Kr(n,r);i.resourcesReason="",i.resources=i.resources.filter(u=>u.isCredit||u.allocated).map(u=>({...u,requested:u.allocated}))},resetUsers:(n,r)=>{const i=Qs(n,r);i.users=i.users.filter(({isNew:u})=>!u).map(u=>({...u,resourceIds:[...u.initialResourceIds],role:u.initialRole,hasChanges:!1}))},setRequest:(n,r)=>{const i=Qs(n,r);i&&(i.selectedRequestId=r.payload.requestId,i.tab=="users"&&i.currentRequestId!=i.selectedRequestId&&(i.tab="overview"))},setResourceQuestionValues:(n,r)=>{const{attributeSetId:i,resourceId:u,values:l}=r.payload,d=Kr(n,r);for(let h of d.resources)if(h.resourceId==u){for(let v of h.questions)if(v.attributeSetId==i){v.values=l;break}break}},setResourceRequest:(n,r)=>{const{resourceId:i,requested:u}=r.payload,l=Kr(n,r);let d,h=0;for(let v of l.resources)v.resourceId==i&&(v.requested=u),v.isCredit?(d=v,h+=v.allocated*v.unitCost):h-=(v.requested-v.allocated)*v.unitCost;d&&(d.requested=Fp(h,d.decimalPlaces,"floor"))},setResourcesReason:(n,r)=>{const i=Kr(n,r);i.resourcesReason=r.payload.reason},setTab:(n,r)=>{const i=Qs(n,r);i&&(i.tab=r.payload.tab)},setUserRole:(n,r)=>{const i=XU(n,r);i.role=r.payload.role,g_(i)},toggleActionsModal:(n,r)=>{const i=Kr(n,r);i.showActionsModal=!i.showActionsModal},toggleConfirmModal:(n,r)=>{const i=Kr(n,r);i.showConfirmModal=!i.showConfirmModal},toggleDeleteModal:(n,r)=>{const i=jb(n,r);i.showDeleteModal=!i.showDeleteModal},toggleResourcesModal:(n,r)=>{const i=Kr(n,r);i.showResourcesModal=!i.showResourcesModal},toggleUsersResources:(n,r)=>{const i=Qs(n,r),u=n.requests[i.currentRequestId],{username:l,resourceId:d,checked:h}=r.payload,v=l?[i.users.find(y=>y.username==l)]:i.users;for(let y of v){if(d){let C=y.resourceIds.indexOf(d);h&&C==-1?y.resourceIds.push(d):!h&&C>=0&&y.resourceIds.splice(C,1)}else y.resourceIds=h?u.resources.filter(hw).map(({resourceId:C})=>C):[];g_(y)}}},extraReducers:n=>{n.addCase(Wb.pending,r=>{r.projectListLoading=!0}).addCase(Wb.fulfilled,(r,i)=>{i.payload.projectsList.sort((u,l)=>d0(u.requests[0])>d0(l.requests[0])?-1:1),r.username=i.payload.username,r.projectsList=i.payload.projectsList.map(u=>{const{grantNumber:l,requestMasterId:d,requests:h,status:v,title:y}=u,x=u.requests.filter(R=>R.actions.filter(T=>T.returnedForCorrections).length>0).length>0?"Returned for Corrections":v||h&&(h.find(({timeStatus:R})=>R=="current")?"Active":h[0].timeStatus=="past"?"Inactive":h[0].status);return h&&$U(r,u,x),{grantNumber:l||d,status:x,title:y}}),r.projectListLoading=!1}).addCase(Wb.rejected,r=>{r.error="Failed to load project list.",r.projectListLoading=!1}).addCase(VA.rejected,(r,i)=>{const{grantNumber:u}=i.payload;r.projects[u]={error:"Failed to load project data."}}).addCase(BA.rejected,(r,i)=>{const{requestId:u}=i.payload;r.requests[u]={error:"Failed to load request data."}}).addCase(Xb.pending,(r,i)=>{const u=Kr(r,{payload:i.meta.arg});u.usageDetailStatus=ea.pending}).addCase(Xb.fulfilled,(r,i)=>{const u=Kr(r,i);u.usageDetail=i.payload.usageDetail,u.usageDetailStatus=ea.success}).addCase(Xb.rejected,(r,i)=>{const u=Kr(r,i);u.usageDetailStatus=ea.error}).addCase(Yb.pending,(r,i)=>{const u=jb(r,{payload:i.meta.arg});u.deleteStatus=ea.pending}).addCase(Yb.fulfilled,(r,i)=>{const u=Kr(r,i),l=jb(r,i);l.isRequest?(u.error="This request has been deleted.",l.allowedOperations=[]):u.actions=u.actions.filter(d=>d.actionId!=l.actionId),l.deleteStatus=ea.success,l.showDeleteModal=!1}).addCase(Yb.rejected,(r,i)=>{const u=jb(r,i);u.deleteStatus=ea.error}).addCase(Zb.pending,(r,i)=>{const u=Kr(r,{payload:i.meta.arg});u.exchangeStatus=ea.pending,u.showResourcesModal=!1}).addCase(Zb.fulfilled,(r,i)=>{const u=Kr(r,i);u.exchangeActionId=i.payload.exchangeActionId,u.exchangeStatus=ea.success}).addCase(Zb.rejected,(r,i)=>{const u=Kr(r,i);u.exchangeStatus=ea.error}).addCase(Jb.pending,(r,i)=>{const u=Qs(r,{payload:i.meta.arg});u.usersStatus=ea.pending}).addCase(Jb.fulfilled,(r,i)=>{const u=Qs(r,i);u.users=u.users.map(l=>({...l,initialResourceIds:[...l.resourceIds],initialRole:l.role,hasChanges:!1,isNew:!1})),u.usersStatus=ea.success}).addCase(Jb.rejected,(r,i)=>{const u=Qs(r,i);u.usersStatus=ea.error})}}),ZU=n=>n.api.error,JU=n=>n.api.projectsList,qU=n=>n.api.projectListLoading,QU=(n,r)=>Qs(n.api,{payload:{grantNumber:r}}),KU=(n,r)=>Kr(n.api,{payload:{requestId:r}}),e$=n=>n.api.username,{addResource:t$,addUser:n$,closeUsageDetailModal:r$,hideAlert:W8,resetResources:a$,resetUsers:i$,setRequest:o$,setResourceQuestionValues:s$,setResourceRequest:l$,setResourcesReason:u$,setTab:c$,setUserRole:f$,toggleActionsModal:d$,toggleConfirmModal:p$,toggleDeleteModal:v$,toggleResourcesModal:h$,toggleUsersResources:m$}=zA.actions,g$=zA.reducer,y$=n=>{const r=dr(ZU),i=dr(qU),u=dr(JU),l=Io();return M.useEffect(()=>{l(Wb(n))},[]),{error:r,loading:i,projects:u}},Ji=(n,r)=>{const i=dr(d=>QU(d,n)),u=dr(e$),l=Io();return M.useEffect(()=>{!i&&!r&&l(VA({grantNumber:n}))},[r]),{project:i,addUser:d=>l(n$({grantNumber:n,user:d})),resetUsers:()=>l(i$({grantNumber:n})),saveUsers:()=>l(Jb({grantNumber:n})),setRequest:d=>l(o$({grantNumber:n,requestId:d})),setTab:d=>l(c$({grantNumber:n,tab:d})),setUserRole:(d,h)=>l(f$({grantNumber:n,username:d,role:h})),statuses:ea,toggleUsersResources:(d,h,v)=>l(m$({grantNumber:n,username:h,resourceId:v,checked:d})),username:u}},ri=(n,r)=>{const i=dr(l=>KU(l,n)),u=Io();return M.useEffect(()=>{i||u(BA({grantNumber:r,requestId:n}))},[r,n]),{request:i,addResource:l=>u(t$({requestId:n,resourceId:l})),closeUsageDetailModal:()=>u(r$({requestId:n})),deleteAction:l=>u(Yb({actionId:l,requestId:n})),openUsageDetailModal:l=>u(Xb({grantNumber:i.grantNumber,requestId:n,resourceRepositoryKey:l})),resetResources:()=>u(a$({requestId:n})),saveResources:()=>u(Zb({requestId:n})),setResourceQuestionValues:(l,d,h)=>u(s$({requestId:n,resourceId:l,attributeSetId:d,values:h})),setResourceRequest:(l,d)=>u(l$({requestId:n,resourceId:l,requested:d})),setResourcesReason:l=>u(u$({requestId:n,reason:l})),statuses:ea,toggleActionsModal:()=>u(d$({requestId:n})),toggleConfirmModal:()=>u(p$({requestId:n})),toggleDeleteModal:l=>u(v$({requestId:n,actionId:l})),toggleResourcesModal:()=>u(h$({requestId:n}))}},na=({children:n,color:r})=>b.jsx("div",{className:`alert alert-${r} mt-3`,role:"alert",children:n}),b$="_project_qqnbz_1",C$="_expand_qqnbz_5",y_={project:b$,expand:C$},x$="_returnedForCorrectionsNotes_jujbd_1",S$={returnedForCorrectionsNotes:x$};var mw={exports:{}},gw={exports:{}},En={};/** @license React v16.13.1
271
271
  * react-is.production.min.js
272
272
  *
273
273
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -286,24 +286,24 @@ object-assign
286
286
  (c) Sindre Sorhus
287
287
  @license MIT
288
288
  */var jE,x_;function T$(){if(x_)return jE;x_=1;var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function u(d){if(d==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(d)}function l(){try{if(!Object.assign)return!1;var d=new String("abc");if(d[5]="de",Object.getOwnPropertyNames(d)[0]==="5")return!1;for(var h={},v=0;v<10;v++)h["_"+String.fromCharCode(v)]=v;var y=Object.getOwnPropertyNames(h).map(function(x){return h[x]});if(y.join("")!=="0123456789")return!1;var C={};return"abcdefghijklmnopqrst".split("").forEach(function(x){C[x]=x}),Object.keys(Object.assign({},C)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return jE=l()?Object.assign:function(d,h){for(var v,y=u(d),C,x=1;x<arguments.length;x++){v=Object(arguments[x]);for(var R in v)r.call(v,R)&&(y[R]=v[R]);if(n){C=n(v);for(var T=0;T<C.length;T++)i.call(v,C[T])&&(y[C[T]]=v[C[T]])}}return y},jE}var DE,S_;function rR(){if(S_)return DE;S_=1;var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return DE=n,DE}var kE,E_;function HA(){return E_||(E_=1,kE=Function.call.bind(Object.prototype.hasOwnProperty)),kE}var ME,w_;function I$(){if(w_)return ME;w_=1;var n={},r=function(){};if(n.NODE_ENV!=="production"){var i=rR(),u={},l=HA();r=function(h){var v="Warning: "+h;typeof console<"u"&&console.error(v);try{throw new Error(v)}catch{}}}function d(h,v,y,C,x){if(n.NODE_ENV!=="production"){for(var R in h)if(l(h,R)){var T;try{if(typeof h[R]!="function"){var j=Error((C||"React class")+": "+y+" type `"+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[R]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw j.name="Invariant Violation",j}T=h[R](v,R,C,y,null,i)}catch(O){T=O}if(T&&!(T instanceof Error)&&r((C||"React class")+": type specification of "+y+" `"+R+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof T+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),T instanceof Error&&!(T.message in u)){u[T.message]=!0;var N=x?x():"";r("Failed "+y+" type: "+T.message+(N??""))}}}}return d.resetWarningCache=function(){n.NODE_ENV!=="production"&&(u={})},ME=d,ME}var LE,R_;function N$(){if(R_)return LE;R_=1;var n={},r=nR,i=T$(),u=rR(),l=HA(),d=I$(),h=function(){};n.NODE_ENV!=="production"&&(h=function(y){var C="Warning: "+y;typeof console<"u"&&console.error(C);try{throw new Error(C)}catch{}});function v(){return null}return LE=function(y,C){var x=typeof Symbol=="function"&&Symbol.iterator,R="@@iterator";function T(Y){var re=Y&&(x&&Y[x]||Y[R]);if(typeof re=="function")return re}var j="<<anonymous>>",N={array:F("array"),bigint:F("bigint"),bool:F("boolean"),func:F("function"),number:F("number"),object:F("object"),string:F("string"),symbol:F("symbol"),any:V(),arrayOf:H,element:z(),elementType:U(),instanceOf:J,node:ge(),objectOf:Re,oneOf:q,oneOfType:he,shape:Oe,exact:Te};function O(Y,re){return Y===re?Y!==0||1/Y===1/re:Y!==Y&&re!==re}function _(Y,re){this.message=Y,this.data=re&&typeof re=="object"?re:{},this.stack=""}_.prototype=Error.prototype;function L(Y){if(n.NODE_ENV!=="production")var re={},ye=0;function Se(le,ve,we,Ve,et,tt,ft){if(Ve=Ve||j,tt=tt||we,ft!==u){if(C){var Ae=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 Ae.name="Invariant Violation",Ae}else if(n.NODE_ENV!=="production"&&typeof console<"u"){var It=Ve+":"+we;!re[It]&&ye<3&&(h("You are manually calling a React.PropTypes validation function for the `"+tt+"` prop on `"+Ve+"`. 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."),re[It]=!0,ye++)}}return ve[we]==null?le?ve[we]===null?new _("The "+et+" `"+tt+"` is marked as required "+("in `"+Ve+"`, but its value is `null`.")):new _("The "+et+" `"+tt+"` is marked as required in "+("`"+Ve+"`, but its value is `undefined`.")):null:Y(ve,we,Ve,et,tt)}var Ne=Se.bind(null,!1);return Ne.isRequired=Se.bind(null,!0),Ne}function F(Y){function re(ye,Se,Ne,le,ve,we){var Ve=ye[Se],et=Le(Ve);if(et!==Y){var tt=ne(Ve);return new _("Invalid "+le+" `"+ve+"` of type "+("`"+tt+"` supplied to `"+Ne+"`, expected ")+("`"+Y+"`."),{expectedType:Y})}return null}return L(re)}function V(){return L(v)}function H(Y){function re(ye,Se,Ne,le,ve){if(typeof Y!="function")return new _("Property `"+ve+"` of component `"+Ne+"` has invalid PropType notation inside arrayOf.");var we=ye[Se];if(!Array.isArray(we)){var Ve=Le(we);return new _("Invalid "+le+" `"+ve+"` of type "+("`"+Ve+"` supplied to `"+Ne+"`, expected an array."))}for(var et=0;et<we.length;et++){var tt=Y(we,et,Ne,le,ve+"["+et+"]",u);if(tt instanceof Error)return tt}return null}return L(re)}function z(){function Y(re,ye,Se,Ne,le){var ve=re[ye];if(!y(ve)){var we=Le(ve);return new _("Invalid "+Ne+" `"+le+"` of type "+("`"+we+"` supplied to `"+Se+"`, expected a single ReactElement."))}return null}return L(Y)}function U(){function Y(re,ye,Se,Ne,le){var ve=re[ye];if(!r.isValidElementType(ve)){var we=Le(ve);return new _("Invalid "+Ne+" `"+le+"` of type "+("`"+we+"` supplied to `"+Se+"`, expected a single ReactElement type."))}return null}return L(Y)}function J(Y){function re(ye,Se,Ne,le,ve){if(!(ye[Se]instanceof Y)){var we=Y.name||j,Ve=G(ye[Se]);return new _("Invalid "+le+" `"+ve+"` of type "+("`"+Ve+"` supplied to `"+Ne+"`, expected ")+("instance of `"+we+"`."))}return null}return L(re)}function q(Y){if(!Array.isArray(Y))return n.NODE_ENV!=="production"&&(arguments.length>1?h("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])."):h("Invalid argument supplied to oneOf, expected an array.")),v;function re(ye,Se,Ne,le,ve){for(var we=ye[Se],Ve=0;Ve<Y.length;Ve++)if(O(we,Y[Ve]))return null;var et=JSON.stringify(Y,function(ft,Ae){var It=ne(Ae);return It==="symbol"?String(Ae):Ae});return new _("Invalid "+le+" `"+ve+"` of value `"+String(we)+"` "+("supplied to `"+Ne+"`, expected one of "+et+"."))}return L(re)}function Re(Y){function re(ye,Se,Ne,le,ve){if(typeof Y!="function")return new _("Property `"+ve+"` of component `"+Ne+"` has invalid PropType notation inside objectOf.");var we=ye[Se],Ve=Le(we);if(Ve!=="object")return new _("Invalid "+le+" `"+ve+"` of type "+("`"+Ve+"` supplied to `"+Ne+"`, expected an object."));for(var et in we)if(l(we,et)){var tt=Y(we,et,Ne,le,ve+"."+et,u);if(tt instanceof Error)return tt}return null}return L(re)}function he(Y){if(!Array.isArray(Y))return n.NODE_ENV!=="production"&&h("Invalid argument supplied to oneOfType, expected an instance of array."),v;for(var re=0;re<Y.length;re++){var ye=Y[re];if(typeof ye!="function")return h("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+_e(ye)+" at index "+re+"."),v}function Se(Ne,le,ve,we,Ve){for(var et=[],tt=0;tt<Y.length;tt++){var ft=Y[tt],Ae=ft(Ne,le,ve,we,Ve,u);if(Ae==null)return null;Ae.data&&l(Ae.data,"expectedType")&&et.push(Ae.data.expectedType)}var It=et.length>0?", expected one of type ["+et.join(", ")+"]":"";return new _("Invalid "+we+" `"+Ve+"` supplied to "+("`"+ve+"`"+It+"."))}return L(Se)}function ge(){function Y(re,ye,Se,Ne,le){return xe(re[ye])?null:new _("Invalid "+Ne+" `"+le+"` supplied to "+("`"+Se+"`, expected a ReactNode."))}return L(Y)}function fe(Y,re,ye,Se,Ne){return new _((Y||"React class")+": "+re+" type `"+ye+"."+Se+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Ne+"`.")}function Oe(Y){function re(ye,Se,Ne,le,ve){var we=ye[Se],Ve=Le(we);if(Ve!=="object")return new _("Invalid "+le+" `"+ve+"` of type `"+Ve+"` "+("supplied to `"+Ne+"`, expected `object`."));for(var et in Y){var tt=Y[et];if(typeof tt!="function")return fe(Ne,le,ve,et,ne(tt));var ft=tt(we,et,Ne,le,ve+"."+et,u);if(ft)return ft}return null}return L(re)}function Te(Y){function re(ye,Se,Ne,le,ve){var we=ye[Se],Ve=Le(we);if(Ve!=="object")return new _("Invalid "+le+" `"+ve+"` of type `"+Ve+"` "+("supplied to `"+Ne+"`, expected `object`."));var et=i({},ye[Se],Y);for(var tt in et){var ft=Y[tt];if(l(Y,tt)&&typeof ft!="function")return fe(Ne,le,ve,tt,ne(ft));if(!ft)return new _("Invalid "+le+" `"+ve+"` key `"+tt+"` supplied to `"+Ne+"`.\nBad object: "+JSON.stringify(ye[Se],null," ")+`
289
- Valid keys: `+JSON.stringify(Object.keys(Y),null," "));var Ae=ft(we,tt,Ne,le,ve+"."+tt,u);if(Ae)return Ae}return null}return L(re)}function xe(Y){switch(typeof Y){case"number":case"string":case"undefined":return!0;case"boolean":return!Y;case"object":if(Array.isArray(Y))return Y.every(xe);if(Y===null||y(Y))return!0;var re=T(Y);if(re){var ye=re.call(Y),Se;if(re!==Y.entries){for(;!(Se=ye.next()).done;)if(!xe(Se.value))return!1}else for(;!(Se=ye.next()).done;){var Ne=Se.value;if(Ne&&!xe(Ne[1]))return!1}}else return!1;return!0;default:return!1}}function je(Y,re){return Y==="symbol"?!0:re?re["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&re instanceof Symbol:!1}function Le(Y){var re=typeof Y;return Array.isArray(Y)?"array":Y instanceof RegExp?"object":je(re,Y)?"symbol":re}function ne(Y){if(typeof Y>"u"||Y===null)return""+Y;var re=Le(Y);if(re==="object"){if(Y instanceof Date)return"date";if(Y instanceof RegExp)return"regexp"}return re}function _e(Y){var re=ne(Y);switch(re){case"array":case"object":return"an "+re;case"boolean":case"date":case"regexp":return"a "+re;default:return re}}function G(Y){return!Y.constructor||!Y.constructor.name?j:Y.constructor.name}return N.checkPropTypes=d,N.resetWarningCache=d.resetWarningCache,N.PropTypes=N,N},LE}var PE,T_;function _$(){if(T_)return PE;T_=1;var n=rR();function r(){}function i(){}return i.resetWarningCache=r,PE=function(){function u(h,v,y,C,x,R){if(R!==n){var T=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 T.name="Invariant Violation",T}}u.isRequired=u;function l(){return u}var d={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:l,element:u,elementType:u,instanceOf:l,node:u,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:i,resetWarningCache:r};return d.PropTypes=d,d},PE}var O$={};if(O$.NODE_ENV!=="production"){var A$=nR,j$=!0;mw.exports=N$()(A$.isElement,j$)}else mw.exports=_$()();var D$=mw.exports;const _t=qp(D$);function UA(n,r,i){const u=M.useRef(n!==void 0),[l,d]=M.useState(r),h=n!==void 0,v=u.current;return u.current=h,!h&&v&&l!==r&&d(r),[h?n:l,M.useCallback((...y)=>{const[C,...x]=y;let R=i==null?void 0:i(C,...x);return d(C),R},[i])]}var $A={};const p0={prefix:String(Math.round(Math.random()*1e10)),current:0},GA=kr.createContext(p0),k$=kr.createContext(!1);let M$=!!(typeof window<"u"&&window.document&&window.document.createElement),FE=new WeakMap;function L$(n=!1){let r=M.useContext(GA),i=M.useRef(null);if(i.current===null&&!n){var u,l;let d=(l=kr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||l===void 0||(u=l.ReactCurrentOwner)===null||u===void 0?void 0:u.current;if(d){let h=FE.get(d);h==null?FE.set(d,{id:r.current,state:d.memoizedState}):d.memoizedState!==h.state&&(r.current=h.id,FE.delete(d))}i.current=++r.current}return i.current}function P$(n){let r=M.useContext(GA);r===p0&&!M$&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let i=L$(!!n),u=r===p0&&$A.NODE_ENV==="test"?"react-aria":`react-aria${r.prefix}`;return n||`${u}-${i}`}function F$(n){let r=kr.useId(),[i]=M.useState(H$()),u=i||$A.NODE_ENV==="test"?"react-aria":`react-aria${p0.prefix}`;return n||`${u}-${r}`}const WA=typeof kr.useId=="function"?F$:P$;function V$(){return!1}function B$(){return!0}function z$(n){return()=>{}}function H$(){return typeof kr.useSyncExternalStore=="function"?kr.useSyncExternalStore(z$,V$,B$):M.useContext(k$)}const U$=M.createContext(null),Kp=U$,$$=M.createContext(null),Wf=(n,r=null)=>n!=null?String(n):r||null,nu=$$;function G$(n){const r=M.useRef(n);return M.useEffect(()=>{r.current=n},[n]),r}function gr(n){const r=G$(n);return M.useCallback(function(...i){return r.current&&r.current(...i)},[r])}const I_=n=>!n||typeof n=="function"?n:r=>{n.current=r};function W$(n,r){const i=I_(n),u=I_(r);return l=>{i&&i(l),u&&u(l)}}function ds(n,r){return M.useMemo(()=>W$(n,r),[n,r])}function aR({children:n,in:r,onExited:i,mountOnEnter:u,unmountOnExit:l}){const d=M.useRef(null),h=M.useRef(r),v=gr(i);M.useEffect(()=>{r?h.current=!0:v(d.current)},[r,v]);const y=ds(d,n.ref),C=M.cloneElement(n,{ref:y});return r?C:l||!h.current&&u?null:C}const X$=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],Y$=["activeKey","getControlledId","getControllerId"],Z$=["as"];function yw(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function XA(n){let{active:r,eventKey:i,mountOnEnter:u,transition:l,unmountOnExit:d,role:h="tabpanel",onEnter:v,onEntering:y,onEntered:C,onExit:x,onExiting:R,onExited:T}=n,j=yw(n,X$);const N=M.useContext(Kp);if(!N)return[Object.assign({},j,{role:h}),{eventKey:i,isActive:r,mountOnEnter:u,transition:l,unmountOnExit:d,onEnter:v,onEntering:y,onEntered:C,onExit:x,onExiting:R,onExited:T}];const{activeKey:O,getControlledId:_,getControllerId:L}=N,F=yw(N,Y$),V=Wf(i);return[Object.assign({},j,{role:h,id:_(i),"aria-labelledby":L(i)}),{eventKey:i,isActive:r==null&&V!=null?Wf(O)===V:r,transition:l||F.transition,mountOnEnter:u??F.mountOnEnter,unmountOnExit:d??F.unmountOnExit,onEnter:v,onEntering:y,onEntered:C,onExit:x,onExiting:R,onExited:T}]}const YA=M.forwardRef((n,r)=>{let{as:i="div"}=n,u=yw(n,Z$);const[l,{isActive:d,onEnter:h,onEntering:v,onEntered:y,onExit:C,onExiting:x,onExited:R,mountOnEnter:T,unmountOnExit:j,transition:N=aR}]=XA(u);return b.jsx(Kp.Provider,{value:null,children:b.jsx(nu.Provider,{value:null,children:b.jsx(N,{in:d,onEnter:h,onEntering:v,onEntered:y,onExit:C,onExiting:x,onExited:R,mountOnEnter:T,unmountOnExit:j,children:b.jsx(i,Object.assign({},l,{ref:r,hidden:!d,"aria-hidden":!d}))})})})});YA.displayName="TabPanel";const ZA=n=>{const{id:r,generateChildId:i,onSelect:u,activeKey:l,defaultActiveKey:d,transition:h,mountOnEnter:v,unmountOnExit:y,children:C}=n,[x,R]=UA(l,d,u),T=WA(r),j=M.useMemo(()=>i||((O,_)=>T?`${T}-${_}-${O}`:null),[T,i]),N=M.useMemo(()=>({onSelect:R,activeKey:x,transition:h,mountOnEnter:v||!1,unmountOnExit:y||!1,getControlledId:O=>j(O,"tabpane"),getControllerId:O=>j(O,"tab")}),[R,x,h,v,y,j]);return b.jsx(Kp.Provider,{value:N,children:b.jsx(nu.Provider,{value:R||null,children:C})})};ZA.Panel=YA;const JA=ZA;var qA={exports:{}};/*!
289
+ Valid keys: `+JSON.stringify(Object.keys(Y),null," "));var Ae=ft(we,tt,Ne,le,ve+"."+tt,u);if(Ae)return Ae}return null}return L(re)}function xe(Y){switch(typeof Y){case"number":case"string":case"undefined":return!0;case"boolean":return!Y;case"object":if(Array.isArray(Y))return Y.every(xe);if(Y===null||y(Y))return!0;var re=T(Y);if(re){var ye=re.call(Y),Se;if(re!==Y.entries){for(;!(Se=ye.next()).done;)if(!xe(Se.value))return!1}else for(;!(Se=ye.next()).done;){var Ne=Se.value;if(Ne&&!xe(Ne[1]))return!1}}else return!1;return!0;default:return!1}}function je(Y,re){return Y==="symbol"?!0:re?re["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&re instanceof Symbol:!1}function Le(Y){var re=typeof Y;return Array.isArray(Y)?"array":Y instanceof RegExp?"object":je(re,Y)?"symbol":re}function ne(Y){if(typeof Y>"u"||Y===null)return""+Y;var re=Le(Y);if(re==="object"){if(Y instanceof Date)return"date";if(Y instanceof RegExp)return"regexp"}return re}function _e(Y){var re=ne(Y);switch(re){case"array":case"object":return"an "+re;case"boolean":case"date":case"regexp":return"a "+re;default:return re}}function G(Y){return!Y.constructor||!Y.constructor.name?j:Y.constructor.name}return N.checkPropTypes=d,N.resetWarningCache=d.resetWarningCache,N.PropTypes=N,N},LE}var PE,T_;function _$(){if(T_)return PE;T_=1;var n=rR();function r(){}function i(){}return i.resetWarningCache=r,PE=function(){function u(h,v,y,C,x,R){if(R!==n){var T=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 T.name="Invariant Violation",T}}u.isRequired=u;function l(){return u}var d={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:l,element:u,elementType:u,instanceOf:l,node:u,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:i,resetWarningCache:r};return d.PropTypes=d,d},PE}var O$={};if(O$.NODE_ENV!=="production"){var A$=nR,j$=!0;mw.exports=N$()(A$.isElement,j$)}else mw.exports=_$()();var D$=mw.exports;const _t=qp(D$);function UA(n,r,i){const u=M.useRef(n!==void 0),[l,d]=M.useState(r),h=n!==void 0,v=u.current;return u.current=h,!h&&v&&l!==r&&d(r),[h?n:l,M.useCallback((...y)=>{const[C,...x]=y;let R=i==null?void 0:i(C,...x);return d(C),R},[i])]}var $A={};const p0={prefix:String(Math.round(Math.random()*1e10)),current:0},GA=kr.createContext(p0),k$=kr.createContext(!1);let M$=!!(typeof window<"u"&&window.document&&window.document.createElement),FE=new WeakMap;function L$(n=!1){let r=M.useContext(GA),i=M.useRef(null);if(i.current===null&&!n){var u,l;let d=(l=kr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||l===void 0||(u=l.ReactCurrentOwner)===null||u===void 0?void 0:u.current;if(d){let h=FE.get(d);h==null?FE.set(d,{id:r.current,state:d.memoizedState}):d.memoizedState!==h.state&&(r.current=h.id,FE.delete(d))}i.current=++r.current}return i.current}function P$(n){let r=M.useContext(GA);r===p0&&!M$&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let i=L$(!!n),u=r===p0&&$A.NODE_ENV==="test"?"react-aria":`react-aria${r.prefix}`;return n||`${u}-${i}`}function F$(n){let r=kr.useId(),[i]=M.useState(H$()),u=i||$A.NODE_ENV==="test"?"react-aria":`react-aria${p0.prefix}`;return n||`${u}-${r}`}const WA=typeof kr.useId=="function"?F$:P$;function V$(){return!1}function B$(){return!0}function z$(n){return()=>{}}function H$(){return typeof kr.useSyncExternalStore=="function"?kr.useSyncExternalStore(z$,V$,B$):M.useContext(k$)}const U$=M.createContext(null),Kp=U$,$$=M.createContext(null),Xf=(n,r=null)=>n!=null?String(n):r||null,ru=$$;function G$(n){const r=M.useRef(n);return M.useEffect(()=>{r.current=n},[n]),r}function gr(n){const r=G$(n);return M.useCallback(function(...i){return r.current&&r.current(...i)},[r])}const I_=n=>!n||typeof n=="function"?n:r=>{n.current=r};function W$(n,r){const i=I_(n),u=I_(r);return l=>{i&&i(l),u&&u(l)}}function ps(n,r){return M.useMemo(()=>W$(n,r),[n,r])}function aR({children:n,in:r,onExited:i,mountOnEnter:u,unmountOnExit:l}){const d=M.useRef(null),h=M.useRef(r),v=gr(i);M.useEffect(()=>{r?h.current=!0:v(d.current)},[r,v]);const y=ps(d,n.ref),C=M.cloneElement(n,{ref:y});return r?C:l||!h.current&&u?null:C}const X$=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],Y$=["activeKey","getControlledId","getControllerId"],Z$=["as"];function yw(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function XA(n){let{active:r,eventKey:i,mountOnEnter:u,transition:l,unmountOnExit:d,role:h="tabpanel",onEnter:v,onEntering:y,onEntered:C,onExit:x,onExiting:R,onExited:T}=n,j=yw(n,X$);const N=M.useContext(Kp);if(!N)return[Object.assign({},j,{role:h}),{eventKey:i,isActive:r,mountOnEnter:u,transition:l,unmountOnExit:d,onEnter:v,onEntering:y,onEntered:C,onExit:x,onExiting:R,onExited:T}];const{activeKey:O,getControlledId:_,getControllerId:L}=N,F=yw(N,Y$),V=Xf(i);return[Object.assign({},j,{role:h,id:_(i),"aria-labelledby":L(i)}),{eventKey:i,isActive:r==null&&V!=null?Xf(O)===V:r,transition:l||F.transition,mountOnEnter:u??F.mountOnEnter,unmountOnExit:d??F.unmountOnExit,onEnter:v,onEntering:y,onEntered:C,onExit:x,onExiting:R,onExited:T}]}const YA=M.forwardRef((n,r)=>{let{as:i="div"}=n,u=yw(n,Z$);const[l,{isActive:d,onEnter:h,onEntering:v,onEntered:y,onExit:C,onExiting:x,onExited:R,mountOnEnter:T,unmountOnExit:j,transition:N=aR}]=XA(u);return b.jsx(Kp.Provider,{value:null,children:b.jsx(ru.Provider,{value:null,children:b.jsx(N,{in:d,onEnter:h,onEntering:v,onEntered:y,onExit:C,onExiting:x,onExited:R,mountOnEnter:T,unmountOnExit:j,children:b.jsx(i,Object.assign({},l,{ref:r,hidden:!d,"aria-hidden":!d}))})})})});YA.displayName="TabPanel";const ZA=n=>{const{id:r,generateChildId:i,onSelect:u,activeKey:l,defaultActiveKey:d,transition:h,mountOnEnter:v,unmountOnExit:y,children:C}=n,[x,R]=UA(l,d,u),T=WA(r),j=M.useMemo(()=>i||((O,_)=>T?`${T}-${_}-${O}`:null),[T,i]),N=M.useMemo(()=>({onSelect:R,activeKey:x,transition:h,mountOnEnter:v||!1,unmountOnExit:y||!1,getControlledId:O=>j(O,"tabpane"),getControllerId:O=>j(O,"tab")}),[R,x,h,v,y,j]);return b.jsx(Kp.Provider,{value:N,children:b.jsx(ru.Provider,{value:R||null,children:C})})};ZA.Panel=YA;const JA=ZA;var qA={exports:{}};/*!
290
290
  Copyright (c) 2018 Jed Watson.
291
291
  Licensed under the MIT License (MIT), see
292
292
  http://jedwatson.github.io/classnames
293
- */(function(n){(function(){var r={}.hasOwnProperty;function i(){for(var d="",h=0;h<arguments.length;h++){var v=arguments[h];v&&(d=l(d,u(v)))}return d}function u(d){if(typeof d=="string"||typeof d=="number")return d;if(typeof d!="object")return"";if(Array.isArray(d))return i.apply(null,d);if(d.toString!==Object.prototype.toString&&!d.toString.toString().includes("[native code]"))return d.toString();var h="";for(var v in d)r.call(d,v)&&d[v]&&(h=l(h,v));return h}function l(d,h){return h?d?d+" "+h:d+h:d}n.exports?(i.default=i,n.exports=i):window.classNames=i})()})(qA);var J$=qA.exports;const qt=qp(J$);function iR(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function v0(n,r){return v0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,l){return u.__proto__=l,u},v0(n,r)}function q$(n,r){n.prototype=Object.create(r.prototype),n.prototype.constructor=n,v0(n,r)}const N_={disabled:!1};var QA={},Q$=QA.NODE_ENV!=="production"?_t.oneOfType([_t.number,_t.shape({enter:_t.number,exit:_t.number,appear:_t.number}).isRequired]):null;QA.NODE_ENV!=="production"&&_t.oneOfType([_t.string,_t.shape({enter:_t.string,exit:_t.string,active:_t.string}),_t.shape({enter:_t.string,enterDone:_t.string,enterActive:_t.string,exit:_t.string,exitDone:_t.string,exitActive:_t.string})]);const KA=kr.createContext(null);var K$=function(r){return r.scrollTop},e3={},dm="unmounted",dc="exited",Zl="entering",pc="entered",h0="exiting",au=function(n){q$(r,n);function r(u,l){var d;d=n.call(this,u,l)||this;var h=l,v=h&&!h.isMounting?u.enter:u.appear,y;return d.appearStatus=null,u.in?v?(y=dc,d.appearStatus=Zl):y=pc:u.unmountOnExit||u.mountOnEnter?y=dm:y=dc,d.state={status:y},d.nextCallback=null,d}r.getDerivedStateFromProps=function(l,d){var h=l.in;return h&&d.status===dm?{status:dc}:null};var i=r.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(l){var d=null;if(l!==this.props){var h=this.state.status;this.props.in?h!==Zl&&h!==pc&&(d=Zl):(h===Zl||h===pc)&&(d=h0)}this.updateStatus(!1,d)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var l=this.props.timeout,d,h,v;return d=h=v=l,l!=null&&typeof l!="number"&&(d=l.exit,h=l.enter,v=l.appear!==void 0?l.appear:h),{exit:d,enter:h,appear:v}},i.updateStatus=function(l,d){if(l===void 0&&(l=!1),d!==null)if(this.cancelNextCallback(),d===Zl){if(this.props.unmountOnExit||this.props.mountOnEnter){var h=this.props.nodeRef?this.props.nodeRef.current:Bf.findDOMNode(this);h&&K$(h)}this.performEnter(l)}else this.performExit();else this.props.unmountOnExit&&this.state.status===dc&&this.setState({status:dm})},i.performEnter=function(l){var d=this,h=this.props.enter,v=this.context?this.context.isMounting:l,y=this.props.nodeRef?[v]:[Bf.findDOMNode(this),v],C=y[0],x=y[1],R=this.getTimeouts(),T=v?R.appear:R.enter;if(!l&&!h||N_.disabled){this.safeSetState({status:pc},function(){d.props.onEntered(C)});return}this.props.onEnter(C,x),this.safeSetState({status:Zl},function(){d.props.onEntering(C,x),d.onTransitionEnd(T,function(){d.safeSetState({status:pc},function(){d.props.onEntered(C,x)})})})},i.performExit=function(){var l=this,d=this.props.exit,h=this.getTimeouts(),v=this.props.nodeRef?void 0:Bf.findDOMNode(this);if(!d||N_.disabled){this.safeSetState({status:dc},function(){l.props.onExited(v)});return}this.props.onExit(v),this.safeSetState({status:h0},function(){l.props.onExiting(v),l.onTransitionEnd(h.exit,function(){l.safeSetState({status:dc},function(){l.props.onExited(v)})})})},i.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(l,d){d=this.setNextCallback(d),this.setState(l,d)},i.setNextCallback=function(l){var d=this,h=!0;return this.nextCallback=function(v){h&&(h=!1,d.nextCallback=null,l(v))},this.nextCallback.cancel=function(){h=!1},this.nextCallback},i.onTransitionEnd=function(l,d){this.setNextCallback(d);var h=this.props.nodeRef?this.props.nodeRef.current:Bf.findDOMNode(this),v=l==null&&!this.props.addEndListener;if(!h||v){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var y=this.props.nodeRef?[this.nextCallback]:[h,this.nextCallback],C=y[0],x=y[1];this.props.addEndListener(C,x)}l!=null&&setTimeout(this.nextCallback,l)},i.render=function(){var l=this.state.status;if(l===dm)return null;var d=this.props,h=d.children;d.in,d.mountOnEnter,d.unmountOnExit,d.appear,d.enter,d.exit,d.timeout,d.addEndListener,d.onEnter,d.onEntering,d.onEntered,d.onExit,d.onExiting,d.onExited,d.nodeRef;var v=iR(d,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return kr.createElement(KA.Provider,{value:null},typeof h=="function"?h(l,v):kr.cloneElement(kr.Children.only(h),v))},r}(kr.Component);au.contextType=KA;au.propTypes=e3.NODE_ENV!=="production"?{nodeRef:_t.shape({current:typeof Element>"u"?_t.any:function(n,r,i,u,l,d){var h=n[r];return _t.instanceOf(h&&"ownerDocument"in h?h.ownerDocument.defaultView.Element:Element)(n,r,i,u,l,d)}}),children:_t.oneOfType([_t.func.isRequired,_t.element.isRequired]).isRequired,in:_t.bool,mountOnEnter:_t.bool,unmountOnExit:_t.bool,appear:_t.bool,enter:_t.bool,exit:_t.bool,timeout:function(r){var i=Q$;r.addEndListener||(i=i.isRequired);for(var u=arguments.length,l=new Array(u>1?u-1:0),d=1;d<u;d++)l[d-1]=arguments[d];return i.apply(void 0,[r].concat(l))},addEndListener:_t.func,onEnter:_t.func,onEntering:_t.func,onEntered:_t.func,onExit:_t.func,onExiting:_t.func,onExited:_t.func}:{};function Dp(){}au.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Dp,onEntering:Dp,onEntered:Dp,onExit:Dp,onExiting:Dp,onExited:Dp};au.UNMOUNTED=dm;au.EXITED=dc;au.ENTERING=Zl;au.ENTERED=pc;au.EXITING=h0;const t3=au;function ev(n){return n&&n.ownerDocument||document}function n3(n){var r=ev(n);return r&&r.defaultView||window}function r3(n,r){return n3(n).getComputedStyle(n,r)}var a3=/([A-Z])/g;function i3(n){return n.replace(a3,"-$1").toLowerCase()}var o3=/^ms-/;function Db(n){return i3(n).replace(o3,"-ms-")}var s3=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function l3(n){return!!(n&&s3.test(n))}function Kl(n,r){var i="",u="";if(typeof r=="string")return n.style.getPropertyValue(Db(r))||r3(n).getPropertyValue(Db(r));Object.keys(r).forEach(function(l){var d=r[l];!d&&d!==0?n.style.removeProperty(Db(l)):l3(l)?u+=l+"("+d+") ":i+=Db(l)+": "+d+";"}),u&&(i+="transform: "+u+";"),n.style.cssText+=";"+i}const tv=!!(typeof window<"u"&&window.document&&window.document.createElement);var bw=!1,Cw=!1;try{var VE={get passive(){return bw=!0},get once(){return Cw=bw=!0}};tv&&(window.addEventListener("test",VE,VE),window.removeEventListener("test",VE,!0))}catch{}function oR(n,r,i,u){if(u&&typeof u!="boolean"&&!Cw){var l=u.once,d=u.capture,h=i;!Cw&&l&&(h=i.__once||function v(y){this.removeEventListener(r,v,d),i.call(this,y)},i.__once=h),n.addEventListener(r,h,bw?u:d)}n.addEventListener(r,i,u)}function xw(n,r,i,u){var l=u&&typeof u!="boolean"?u.capture:u;n.removeEventListener(r,i,l),i.__once&&n.removeEventListener(r,i.__once,l)}function ql(n,r,i,u){return oR(n,r,i,u),function(){xw(n,r,i,u)}}function u3(n,r,i,u){if(i===void 0&&(i=!1),u===void 0&&(u=!0),n){var l=document.createEvent("HTMLEvents");l.initEvent(r,i,u),n.dispatchEvent(l)}}function c3(n){var r=Kl(n,"transitionDuration")||"",i=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*i}function f3(n,r,i){i===void 0&&(i=5);var u=!1,l=setTimeout(function(){u||u3(n,"transitionend",!0)},r+i),d=ql(n,"transitionend",function(){u=!0},{once:!0});return function(){clearTimeout(l),d()}}function ej(n,r,i,u){i==null&&(i=c3(n)||0);var l=f3(n,i,u),d=ql(n,"transitionend",r);return function(){l(),d()}}function __(n,r){const i=Kl(n,r)||"",u=i.indexOf("ms")===-1?1e3:1;return parseFloat(i)*u}function tj(n,r){const i=__(n,"transitionDuration"),u=__(n,"transitionDelay"),l=ej(n,d=>{d.target===n&&(l(),r(d))},i+u)}function nj(n){n.offsetHeight}function m0(n){return n&&"setState"in n?Bf.findDOMNode(n):n??null}const d3=kr.forwardRef(({onEnter:n,onEntering:r,onEntered:i,onExit:u,onExiting:l,onExited:d,addEndListener:h,children:v,childRef:y,...C},x)=>{const R=M.useRef(null),T=ds(R,y),j=U=>{T(m0(U))},N=U=>J=>{U&&R.current&&U(R.current,J)},O=M.useCallback(N(n),[n]),_=M.useCallback(N(r),[r]),L=M.useCallback(N(i),[i]),F=M.useCallback(N(u),[u]),V=M.useCallback(N(l),[l]),H=M.useCallback(N(d),[d]),z=M.useCallback(N(h),[h]);return b.jsx(t3,{ref:x,...C,onEnter:O,onEntered:L,onEntering:_,onExit:F,onExited:H,onExiting:V,addEndListener:z,nodeRef:R,children:typeof v=="function"?(U,J)=>v(U,{...J,ref:j}):kr.cloneElement(v,{ref:j})})}),rj=d3,p3={[Zl]:"show",[pc]:"show"},aj=M.forwardRef(({className:n,children:r,transitionClasses:i={},onEnter:u,...l},d)=>{const h={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...l},v=M.useCallback((y,C)=>{nj(y),u==null||u(y,C)},[u]);return b.jsx(rj,{ref:d,addEndListener:tj,...h,onEnter:v,childRef:r.ref,children:(y,C)=>M.cloneElement(r,{...C,className:qt("fade",n,r.props.className,p3[y],i[y])})})});aj.displayName="Fade";const $p=aj;function sR(n){return typeof n=="boolean"?n?$p:aR:n}const ij=({transition:n,...r})=>b.jsx(JA,{...r,transition:sR(n)});ij.displayName="TabContainer";const v3=ij,h3=["xxl","xl","lg","md","sm","xs"],m3="xs",oj=M.createContext({prefixes:{},breakpoints:h3,minBreakpoint:m3});function bn(n,r){const{prefixes:i}=M.useContext(oj);return n||i[r]||r}function P0(){const{dir:n}=M.useContext(oj);return n==="rtl"}const sj=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=bn(r,"tab-content"),b.jsx(i,{ref:l,className:qt(n,r),...u})));sj.displayName="TabContent";const lj=sj,uj=M.forwardRef(({bsPrefix:n,transition:r,...i},u)=>{const[{className:l,as:d="div",...h},{isActive:v,onEnter:y,onEntering:C,onEntered:x,onExit:R,onExiting:T,onExited:j,mountOnEnter:N,unmountOnExit:O,transition:_=$p}]=XA({...i,transition:sR(r)}),L=bn(n,"tab-pane");return b.jsx(Kp.Provider,{value:null,children:b.jsx(nu.Provider,{value:null,children:b.jsx(_,{in:v,onEnter:y,onEntering:C,onEntered:x,onExit:R,onExiting:T,onExited:j,mountOnEnter:N,unmountOnExit:O,children:b.jsx(d,{...h,ref:u,className:qt(l,L,v&&"active")})})})})});uj.displayName="TabPane";const cj=uj,g3={eventKey:_t.oneOfType([_t.string,_t.number]),title:_t.node.isRequired,disabled:_t.bool,tabClassName:_t.string,tabAttrs:_t.object},fj=()=>{throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};fj.propTypes=g3;const kb=Object.assign(fj,{Container:v3,Content:lj,Pane:cj});function Rt(){return Rt=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])}return n},Rt.apply(this,arguments)}var y3={},b3=function(n,r,i,u,l,d,h,v){if(y3.NODE_ENV!=="production"&&r===void 0)throw new Error("invariant requires an error message argument");if(!n){var y;if(r===void 0)y=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var C=[i,u,l,d,h,v],x=0;y=new Error(r.replace(/%s/g,function(){return C[x++]})),y.name="Invariant Violation"}throw y.framesToPop=1,y}},C3=b3;const O_=qp(C3);function A_(n){return"default"+n.charAt(0).toUpperCase()+n.substr(1)}function x3(n){var r=S3(n,"string");return typeof r=="symbol"?r:String(r)}function S3(n,r){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var u=i.call(n,r||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}function dj(n,r,i){var u=M.useRef(n!==void 0),l=M.useState(r),d=l[0],h=l[1],v=n!==void 0,y=u.current;return u.current=v,!v&&y&&d!==r&&h(r),[v?n:d,M.useCallback(function(C){for(var x=arguments.length,R=new Array(x>1?x-1:0),T=1;T<x;T++)R[T-1]=arguments[T];i&&i.apply(void 0,[C].concat(R)),h(C)},[i])]}function F0(n,r){return Object.keys(r).reduce(function(i,u){var l,d=i,h=d[A_(u)],v=d[u],y=iR(d,[A_(u),u].map(x3)),C=r[u],x=dj(v,h,n[C]),R=x[0],T=x[1];return Rt({},y,(l={},l[u]=R,l[C]=T,l))},n)}var j_={exports:{}},Sw={exports:{}};(function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=i;function i(u){function l(h,v,y,C,x,R){var T=C||"<<anonymous>>",j=R||y;if(v[y]==null)return h?new Error("Required "+x+" `"+j+"` was not specified "+("in `"+T+"`.")):null;for(var N=arguments.length,O=Array(N>6?N-6:0),_=6;_<N;_++)O[_-6]=arguments[_];return u.apply(void 0,[v,y,T,x,j].concat(O))}var d=l.bind(null,!1);return d.isRequired=l.bind(null,!0),d}n.exports=r.default})(Sw,Sw.exports);var E3=Sw.exports;(function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=d;var i=E3,u=l(i);function l(h){return h&&h.__esModule?h:{default:h}}function d(){for(var h=arguments.length,v=Array(h),y=0;y<h;y++)v[y]=arguments[y];function C(){for(var x=arguments.length,R=Array(x),T=0;T<x;T++)R[T]=arguments[T];var j=null;return v.forEach(function(N){if(j==null){var O=N.apply(void 0,R);O!=null&&(j=O)}}),j}return(0,u.default)(C)}n.exports=r.default})(j_,j_.exports);var w3=Function.prototype.bind.call(Function.prototype.call,[].slice);function Jl(n,r){return w3(n.querySelectorAll(r))}function pj(){const[,n]=M.useReducer(r=>!r,!1);return n}const vj=M.createContext(null);vj.displayName="NavContext";const lR=vj,R3="data-rr-ui-",T3="rrUi";function nv(n){return`${R3}${n}`}function I3(n){return`${T3}${n}`}const N3=["as","disabled"];function _3(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function O3(n){return!n||n.trim()==="#"}function uR({tagName:n,disabled:r,href:i,target:u,rel:l,role:d,onClick:h,tabIndex:v=0,type:y}){n||(i!=null||u!=null||l!=null?n="a":n="button");const C={tagName:n};if(n==="button")return[{type:y||"button",disabled:r},C];const x=T=>{if((r||n==="a"&&O3(i))&&T.preventDefault(),r){T.stopPropagation();return}h==null||h(T)},R=T=>{T.key===" "&&(T.preventDefault(),x(T))};return n==="a"&&(i||(i="#"),r&&(i=void 0)),[{role:d??"button",disabled:void 0,tabIndex:r?void 0:v,href:i,target:n==="a"?u:void 0,"aria-disabled":r||void 0,rel:n==="a"?l:void 0,onClick:x,onKeyDown:R},C]}const cR=M.forwardRef((n,r)=>{let{as:i,disabled:u}=n,l=_3(n,N3);const[d,{tagName:h}]=uR(Object.assign({tagName:i,disabled:u},l));return b.jsx(h,Object.assign({},l,d,{ref:r}))});cR.displayName="Button";const A3=["as","active","eventKey"];function j3(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function hj({key:n,onClick:r,active:i,id:u,role:l,disabled:d}){const h=M.useContext(nu),v=M.useContext(lR),y=M.useContext(Kp);let C=i;const x={role:l};if(v){!l&&v.role==="tablist"&&(x.role="tab");const R=v.getControllerId(n??null),T=v.getControlledId(n??null);x[nv("event-key")]=n,x.id=R||u,C=i==null&&n!=null?v.activeKey===n:i,(C||!(y!=null&&y.unmountOnExit)&&!(y!=null&&y.mountOnEnter))&&(x["aria-controls"]=T)}return x.role==="tab"&&(x["aria-selected"]=C,C||(x.tabIndex=-1),d&&(x.tabIndex=-1,x["aria-disabled"]=!0)),x.onClick=gr(R=>{d||(r==null||r(R),n!=null&&h&&!R.isPropagationStopped()&&h(n,R))}),[x,{isActive:C}]}const mj=M.forwardRef((n,r)=>{let{as:i=cR,active:u,eventKey:l}=n,d=j3(n,A3);const[h,v]=hj(Object.assign({key:Wf(l,d.href),active:u},d));return h[nv("active")]=v.isActive,b.jsx(i,Object.assign({},d,h,{ref:r}))});mj.displayName="NavItem";const D3=mj,k3=["as","onSelect","activeKey","role","onKeyDown"];function M3(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}const D_=()=>{},k_=nv("event-key"),gj=M.forwardRef((n,r)=>{let{as:i="div",onSelect:u,activeKey:l,role:d,onKeyDown:h}=n,v=M3(n,k3);const y=pj(),C=M.useRef(!1),x=M.useContext(nu),R=M.useContext(Kp);let T,j;R&&(d=d||"tablist",l=R.activeKey,T=R.getControlledId,j=R.getControllerId);const N=M.useRef(null),O=V=>{const H=N.current;if(!H)return null;const z=Jl(H,`[${k_}]:not([aria-disabled=true])`),U=H.querySelector("[aria-selected=true]");if(!U||U!==document.activeElement)return null;const J=z.indexOf(U);if(J===-1)return null;let q=J+V;return q>=z.length&&(q=0),q<0&&(q=z.length-1),z[q]},_=(V,H)=>{V!=null&&(u==null||u(V,H),x==null||x(V,H))},L=V=>{if(h==null||h(V),!R)return;let H;switch(V.key){case"ArrowLeft":case"ArrowUp":H=O(-1);break;case"ArrowRight":case"ArrowDown":H=O(1);break;default:return}H&&(V.preventDefault(),_(H.dataset[I3("EventKey")]||null,V),C.current=!0,y())};M.useEffect(()=>{if(N.current&&C.current){const V=N.current.querySelector(`[${k_}][aria-selected=true]`);V==null||V.focus()}C.current=!1});const F=ds(r,N);return b.jsx(nu.Provider,{value:_,children:b.jsx(lR.Provider,{value:{role:d,activeKey:Wf(l),getControlledId:T||D_,getControllerId:j||D_},children:b.jsx(i,Object.assign({},v,{onKeyDown:L,ref:F,role:d}))})})});gj.displayName="Nav";const L3=Object.assign(gj,{Item:D3}),yj=M.createContext(null);yj.displayName="NavbarContext";const bj=yj,Cj=M.createContext(null);Cj.displayName="CardHeaderContext";const P3=Cj,xj=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=bn(r,"nav-item"),b.jsx(i,{ref:l,className:qt(n,r),...u})));xj.displayName="NavItem";const Sj=xj;function g0(){return M.useState(null)}function F3(n,r,i,u=!1){const l=gr(i);M.useEffect(()=>{const d=typeof n=="function"?n():n;return d.addEventListener(r,l,u),()=>d.removeEventListener(r,l,u)},[n])}function fR(){const n=M.useRef(!0),r=M.useRef(()=>n.current);return M.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),r.current}function Ej(n){const r=M.useRef(null);return M.useEffect(()=>{r.current=n}),r.current}const V3=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",B3=typeof document<"u",y0=B3||V3?M.useLayoutEffect:M.useEffect,z3=["onKeyDown"];function H3(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function U3(n){return!n||n.trim()==="#"}const wj=M.forwardRef((n,r)=>{let{onKeyDown:i}=n,u=H3(n,z3);const[l]=uR(Object.assign({tagName:"a"},u)),d=gr(h=>{l.onKeyDown(h),i==null||i(h)});return U3(u.href)||u.role==="button"?b.jsx("a",Object.assign({ref:r},u,l,{onKeyDown:d})):b.jsx("a",Object.assign({ref:r},u,{onKeyDown:i}))});wj.displayName="Anchor";const Rj=wj,Tj=M.forwardRef(({bsPrefix:n,className:r,as:i=Rj,active:u,eventKey:l,disabled:d=!1,...h},v)=>{n=bn(n,"nav-link");const[y,C]=hj({key:Wf(l,h.href),active:u,disabled:d,...h});return b.jsx(i,{...h,...y,ref:v,disabled:d,className:qt(r,n,d&&"disabled",C.isActive&&"active")})});Tj.displayName="NavLink";const Ij=Tj,Nj=M.forwardRef((n,r)=>{const{as:i="div",bsPrefix:u,variant:l,fill:d=!1,justify:h=!1,navbar:v,navbarScroll:y,className:C,activeKey:x,...R}=F0(n,{activeKey:"onSelect"}),T=bn(u,"nav");let j,N,O=!1;const _=M.useContext(bj),L=M.useContext(P3);return _?(j=_.bsPrefix,O=v??!0):L&&({cardHeaderBsPrefix:N}=L),b.jsx(L3,{as:i,ref:r,activeKey:x,className:qt(C,{[T]:!O,[`${j}-nav`]:O,[`${j}-nav-scroll`]:O&&y,[`${N}-${l}`]:!!N,[`${T}-${l}`]:!!l,[`${T}-fill`]:d,[`${T}-justified`]:h}),...R})});Nj.displayName="Nav";const $3=Object.assign(Nj,{Item:Sj,Link:Ij});function M_(n,r){let i=0;return M.Children.map(n,u=>M.isValidElement(u)?r(u,i++):u)}function G3(n,r){let i=0;M.Children.forEach(n,u=>{M.isValidElement(u)&&r(u,i++)})}function W3(n){let r;return G3(n,i=>{r==null&&(r=i.props.eventKey)}),r}function X3(n){const{title:r,eventKey:i,disabled:u,tabClassName:l,tabAttrs:d,id:h}=n.props;return r==null?null:b.jsx(Sj,{as:"li",role:"presentation",children:b.jsx(Ij,{as:"button",type:"button",eventKey:i,disabled:u,id:h,className:l,...d,children:r})})}const _j=n=>{const{id:r,onSelect:i,transition:u,mountOnEnter:l=!1,unmountOnExit:d=!1,variant:h="tabs",children:v,activeKey:y=W3(v),...C}=F0(n,{activeKey:"onSelect"});return b.jsxs(JA,{id:r,activeKey:y,onSelect:i,transition:sR(u),mountOnEnter:l,unmountOnExit:d,children:[b.jsx($3,{...C,role:"tablist",as:"ul",variant:h,children:M_(v,X3)}),b.jsx(lj,{children:M_(v,x=>{const R={...x.props};return delete R.title,delete R.disabled,delete R.tabClassName,delete R.tabAttrs,b.jsx(cj,{...R})})})]})};_j.displayName="Tabs";const Y3=_j,Z3=M.createContext(null),V0=Z3;var L_=Object.prototype.hasOwnProperty;function P_(n,r,i){for(i of n.keys())if(pm(i,r))return i}function pm(n,r){var i,u,l;if(n===r)return!0;if(n&&r&&(i=n.constructor)===r.constructor){if(i===Date)return n.getTime()===r.getTime();if(i===RegExp)return n.toString()===r.toString();if(i===Array){if((u=n.length)===r.length)for(;u--&&pm(n[u],r[u]););return u===-1}if(i===Set){if(n.size!==r.size)return!1;for(u of n)if(l=u,l&&typeof l=="object"&&(l=P_(r,l),!l)||!r.has(l))return!1;return!0}if(i===Map){if(n.size!==r.size)return!1;for(u of n)if(l=u[0],l&&typeof l=="object"&&(l=P_(r,l),!l)||!pm(u[1],r.get(l)))return!1;return!0}if(i===ArrayBuffer)n=new Uint8Array(n),r=new Uint8Array(r);else if(i===DataView){if((u=n.byteLength)===r.byteLength)for(;u--&&n.getInt8(u)===r.getInt8(u););return u===-1}if(ArrayBuffer.isView(n)){if((u=n.byteLength)===r.byteLength)for(;u--&&n[u]===r[u];);return u===-1}if(!i||typeof n=="object"){u=0;for(i in n)if(L_.call(n,i)&&++u&&!L_.call(r,i)||!(i in r)||!pm(n[i],r[i]))return!1;return Object.keys(r).length===u}}return n!==n&&r!==r}function J3(n){const r=fR();return[n[0],M.useCallback(i=>{if(r())return n[1](i)},[r,n[1]])]}var Oi="top",wo="bottom",Ro="right",Ai="left",dR="auto",Am=[Oi,wo,Ro,Ai],Gp="start",bm="end",q3="clippingParents",Oj="viewport",am="popper",Q3="reference",F_=Am.reduce(function(n,r){return n.concat([r+"-"+Gp,r+"-"+bm])},[]),Aj=[].concat(Am,[dR]).reduce(function(n,r){return n.concat([r,r+"-"+Gp,r+"-"+bm])},[]),K3="beforeRead",eG="read",tG="afterRead",nG="beforeMain",rG="main",aG="afterMain",iG="beforeWrite",oG="write",sG="afterWrite",lG=[K3,eG,tG,nG,rG,aG,iG,oG,sG];function Ks(n){return n.split("-")[0]}function qi(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var r=n.ownerDocument;return r&&r.defaultView||window}return n}function Xf(n){var r=qi(n).Element;return n instanceof r||n instanceof Element}function el(n){var r=qi(n).HTMLElement;return n instanceof r||n instanceof HTMLElement}function pR(n){if(typeof ShadowRoot>"u")return!1;var r=qi(n).ShadowRoot;return n instanceof r||n instanceof ShadowRoot}var Uf=Math.max,b0=Math.min,Wp=Math.round;function Ew(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}function jj(){return!/^((?!chrome|android).)*safari/i.test(Ew())}function Xp(n,r,i){r===void 0&&(r=!1),i===void 0&&(i=!1);var u=n.getBoundingClientRect(),l=1,d=1;r&&el(n)&&(l=n.offsetWidth>0&&Wp(u.width)/n.offsetWidth||1,d=n.offsetHeight>0&&Wp(u.height)/n.offsetHeight||1);var h=Xf(n)?qi(n):window,v=h.visualViewport,y=!jj()&&i,C=(u.left+(y&&v?v.offsetLeft:0))/l,x=(u.top+(y&&v?v.offsetTop:0))/d,R=u.width/l,T=u.height/d;return{width:R,height:T,top:x,right:C+R,bottom:x+T,left:C,x:C,y:x}}function vR(n){var r=Xp(n),i=n.offsetWidth,u=n.offsetHeight;return Math.abs(r.width-i)<=1&&(i=r.width),Math.abs(r.height-u)<=1&&(u=r.height),{x:n.offsetLeft,y:n.offsetTop,width:i,height:u}}function Dj(n,r){var i=r.getRootNode&&r.getRootNode();if(n.contains(r))return!0;if(i&&pR(i)){var u=r;do{if(u&&n.isSameNode(u))return!0;u=u.parentNode||u.host}while(u)}return!1}function gc(n){return n?(n.nodeName||"").toLowerCase():null}function ru(n){return qi(n).getComputedStyle(n)}function uG(n){return["table","td","th"].indexOf(gc(n))>=0}function yc(n){return((Xf(n)?n.ownerDocument:n.document)||window.document).documentElement}function B0(n){return gc(n)==="html"?n:n.assignedSlot||n.parentNode||(pR(n)?n.host:null)||yc(n)}function V_(n){return!el(n)||ru(n).position==="fixed"?null:n.offsetParent}function cG(n){var r=/firefox/i.test(Ew()),i=/Trident/i.test(Ew());if(i&&el(n)){var u=ru(n);if(u.position==="fixed")return null}var l=B0(n);for(pR(l)&&(l=l.host);el(l)&&["html","body"].indexOf(gc(l))<0;){var d=ru(l);if(d.transform!=="none"||d.perspective!=="none"||d.contain==="paint"||["transform","perspective"].indexOf(d.willChange)!==-1||r&&d.willChange==="filter"||r&&d.filter&&d.filter!=="none")return l;l=l.parentNode}return null}function jm(n){for(var r=qi(n),i=V_(n);i&&uG(i)&&ru(i).position==="static";)i=V_(i);return i&&(gc(i)==="html"||gc(i)==="body"&&ru(i).position==="static")?r:i||cG(n)||r}function hR(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function vm(n,r,i){return Uf(n,b0(r,i))}function fG(n,r,i){var u=vm(n,r,i);return u>i?i:u}function kj(){return{top:0,right:0,bottom:0,left:0}}function Mj(n){return Object.assign({},kj(),n)}function Lj(n,r){return r.reduce(function(i,u){return i[u]=n,i},{})}var dG=function(r,i){return r=typeof r=="function"?r(Object.assign({},i.rects,{placement:i.placement})):r,Mj(typeof r!="number"?r:Lj(r,Am))};function pG(n){var r,i=n.state,u=n.name,l=n.options,d=i.elements.arrow,h=i.modifiersData.popperOffsets,v=Ks(i.placement),y=hR(v),C=[Ai,Ro].indexOf(v)>=0,x=C?"height":"width";if(!(!d||!h)){var R=dG(l.padding,i),T=vR(d),j=y==="y"?Oi:Ai,N=y==="y"?wo:Ro,O=i.rects.reference[x]+i.rects.reference[y]-h[y]-i.rects.popper[x],_=h[y]-i.rects.reference[y],L=jm(d),F=L?y==="y"?L.clientHeight||0:L.clientWidth||0:0,V=O/2-_/2,H=R[j],z=F-T[x]-R[N],U=F/2-T[x]/2+V,J=vm(H,U,z),q=y;i.modifiersData[u]=(r={},r[q]=J,r.centerOffset=J-U,r)}}function vG(n){var r=n.state,i=n.options,u=i.element,l=u===void 0?"[data-popper-arrow]":u;l!=null&&(typeof l=="string"&&(l=r.elements.popper.querySelector(l),!l)||Dj(r.elements.popper,l)&&(r.elements.arrow=l))}const hG={name:"arrow",enabled:!0,phase:"main",fn:pG,effect:vG,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Yp(n){return n.split("-")[1]}var mG={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gG(n,r){var i=n.x,u=n.y,l=r.devicePixelRatio||1;return{x:Wp(i*l)/l||0,y:Wp(u*l)/l||0}}function B_(n){var r,i=n.popper,u=n.popperRect,l=n.placement,d=n.variation,h=n.offsets,v=n.position,y=n.gpuAcceleration,C=n.adaptive,x=n.roundOffsets,R=n.isFixed,T=h.x,j=T===void 0?0:T,N=h.y,O=N===void 0?0:N,_=typeof x=="function"?x({x:j,y:O}):{x:j,y:O};j=_.x,O=_.y;var L=h.hasOwnProperty("x"),F=h.hasOwnProperty("y"),V=Ai,H=Oi,z=window;if(C){var U=jm(i),J="clientHeight",q="clientWidth";if(U===qi(i)&&(U=yc(i),ru(U).position!=="static"&&v==="absolute"&&(J="scrollHeight",q="scrollWidth")),U=U,l===Oi||(l===Ai||l===Ro)&&d===bm){H=wo;var Re=R&&U===z&&z.visualViewport?z.visualViewport.height:U[J];O-=Re-u.height,O*=y?1:-1}if(l===Ai||(l===Oi||l===wo)&&d===bm){V=Ro;var he=R&&U===z&&z.visualViewport?z.visualViewport.width:U[q];j-=he-u.width,j*=y?1:-1}}var ge=Object.assign({position:v},C&&mG),fe=x===!0?gG({x:j,y:O},qi(i)):{x:j,y:O};if(j=fe.x,O=fe.y,y){var Oe;return Object.assign({},ge,(Oe={},Oe[H]=F?"0":"",Oe[V]=L?"0":"",Oe.transform=(z.devicePixelRatio||1)<=1?"translate("+j+"px, "+O+"px)":"translate3d("+j+"px, "+O+"px, 0)",Oe))}return Object.assign({},ge,(r={},r[H]=F?O+"px":"",r[V]=L?j+"px":"",r.transform="",r))}function yG(n){var r=n.state,i=n.options,u=i.gpuAcceleration,l=u===void 0?!0:u,d=i.adaptive,h=d===void 0?!0:d,v=i.roundOffsets,y=v===void 0?!0:v,C={placement:Ks(r.placement),variation:Yp(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:l,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,B_(Object.assign({},C,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:h,roundOffsets:y})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,B_(Object.assign({},C,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:y})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}const bG={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:yG,data:{}};var Mb={passive:!0};function CG(n){var r=n.state,i=n.instance,u=n.options,l=u.scroll,d=l===void 0?!0:l,h=u.resize,v=h===void 0?!0:h,y=qi(r.elements.popper),C=[].concat(r.scrollParents.reference,r.scrollParents.popper);return d&&C.forEach(function(x){x.addEventListener("scroll",i.update,Mb)}),v&&y.addEventListener("resize",i.update,Mb),function(){d&&C.forEach(function(x){x.removeEventListener("scroll",i.update,Mb)}),v&&y.removeEventListener("resize",i.update,Mb)}}const xG={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:CG,data:{}};var SG={left:"right",right:"left",bottom:"top",top:"bottom"};function qb(n){return n.replace(/left|right|bottom|top/g,function(r){return SG[r]})}var EG={start:"end",end:"start"};function z_(n){return n.replace(/start|end/g,function(r){return EG[r]})}function mR(n){var r=qi(n),i=r.pageXOffset,u=r.pageYOffset;return{scrollLeft:i,scrollTop:u}}function gR(n){return Xp(yc(n)).left+mR(n).scrollLeft}function wG(n,r){var i=qi(n),u=yc(n),l=i.visualViewport,d=u.clientWidth,h=u.clientHeight,v=0,y=0;if(l){d=l.width,h=l.height;var C=jj();(C||!C&&r==="fixed")&&(v=l.offsetLeft,y=l.offsetTop)}return{width:d,height:h,x:v+gR(n),y}}function RG(n){var r,i=yc(n),u=mR(n),l=(r=n.ownerDocument)==null?void 0:r.body,d=Uf(i.scrollWidth,i.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),h=Uf(i.scrollHeight,i.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),v=-u.scrollLeft+gR(n),y=-u.scrollTop;return ru(l||i).direction==="rtl"&&(v+=Uf(i.clientWidth,l?l.clientWidth:0)-d),{width:d,height:h,x:v,y}}function yR(n){var r=ru(n),i=r.overflow,u=r.overflowX,l=r.overflowY;return/auto|scroll|overlay|hidden/.test(i+l+u)}function Pj(n){return["html","body","#document"].indexOf(gc(n))>=0?n.ownerDocument.body:el(n)&&yR(n)?n:Pj(B0(n))}function hm(n,r){var i;r===void 0&&(r=[]);var u=Pj(n),l=u===((i=n.ownerDocument)==null?void 0:i.body),d=qi(u),h=l?[d].concat(d.visualViewport||[],yR(u)?u:[]):u,v=r.concat(h);return l?v:v.concat(hm(B0(h)))}function ww(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function TG(n,r){var i=Xp(n,!1,r==="fixed");return i.top=i.top+n.clientTop,i.left=i.left+n.clientLeft,i.bottom=i.top+n.clientHeight,i.right=i.left+n.clientWidth,i.width=n.clientWidth,i.height=n.clientHeight,i.x=i.left,i.y=i.top,i}function H_(n,r,i){return r===Oj?ww(wG(n,i)):Xf(r)?TG(r,i):ww(RG(yc(n)))}function IG(n){var r=hm(B0(n)),i=["absolute","fixed"].indexOf(ru(n).position)>=0,u=i&&el(n)?jm(n):n;return Xf(u)?r.filter(function(l){return Xf(l)&&Dj(l,u)&&gc(l)!=="body"}):[]}function NG(n,r,i,u){var l=r==="clippingParents"?IG(n):[].concat(r),d=[].concat(l,[i]),h=d[0],v=d.reduce(function(y,C){var x=H_(n,C,u);return y.top=Uf(x.top,y.top),y.right=b0(x.right,y.right),y.bottom=b0(x.bottom,y.bottom),y.left=Uf(x.left,y.left),y},H_(n,h,u));return v.width=v.right-v.left,v.height=v.bottom-v.top,v.x=v.left,v.y=v.top,v}function Fj(n){var r=n.reference,i=n.element,u=n.placement,l=u?Ks(u):null,d=u?Yp(u):null,h=r.x+r.width/2-i.width/2,v=r.y+r.height/2-i.height/2,y;switch(l){case Oi:y={x:h,y:r.y-i.height};break;case wo:y={x:h,y:r.y+r.height};break;case Ro:y={x:r.x+r.width,y:v};break;case Ai:y={x:r.x-i.width,y:v};break;default:y={x:r.x,y:r.y}}var C=l?hR(l):null;if(C!=null){var x=C==="y"?"height":"width";switch(d){case Gp:y[C]=y[C]-(r[x]/2-i[x]/2);break;case bm:y[C]=y[C]+(r[x]/2-i[x]/2);break}}return y}function Cm(n,r){r===void 0&&(r={});var i=r,u=i.placement,l=u===void 0?n.placement:u,d=i.strategy,h=d===void 0?n.strategy:d,v=i.boundary,y=v===void 0?q3:v,C=i.rootBoundary,x=C===void 0?Oj:C,R=i.elementContext,T=R===void 0?am:R,j=i.altBoundary,N=j===void 0?!1:j,O=i.padding,_=O===void 0?0:O,L=Mj(typeof _!="number"?_:Lj(_,Am)),F=T===am?Q3:am,V=n.rects.popper,H=n.elements[N?F:T],z=NG(Xf(H)?H:H.contextElement||yc(n.elements.popper),y,x,h),U=Xp(n.elements.reference),J=Fj({reference:U,element:V,strategy:"absolute",placement:l}),q=ww(Object.assign({},V,J)),Re=T===am?q:U,he={top:z.top-Re.top+L.top,bottom:Re.bottom-z.bottom+L.bottom,left:z.left-Re.left+L.left,right:Re.right-z.right+L.right},ge=n.modifiersData.offset;if(T===am&&ge){var fe=ge[l];Object.keys(he).forEach(function(Oe){var Te=[Ro,wo].indexOf(Oe)>=0?1:-1,xe=[Oi,wo].indexOf(Oe)>=0?"y":"x";he[Oe]+=fe[xe]*Te})}return he}function _G(n,r){r===void 0&&(r={});var i=r,u=i.placement,l=i.boundary,d=i.rootBoundary,h=i.padding,v=i.flipVariations,y=i.allowedAutoPlacements,C=y===void 0?Aj:y,x=Yp(u),R=x?v?F_:F_.filter(function(N){return Yp(N)===x}):Am,T=R.filter(function(N){return C.indexOf(N)>=0});T.length===0&&(T=R);var j=T.reduce(function(N,O){return N[O]=Cm(n,{placement:O,boundary:l,rootBoundary:d,padding:h})[Ks(O)],N},{});return Object.keys(j).sort(function(N,O){return j[N]-j[O]})}function OG(n){if(Ks(n)===dR)return[];var r=qb(n);return[z_(n),r,z_(r)]}function AG(n){var r=n.state,i=n.options,u=n.name;if(!r.modifiersData[u]._skip){for(var l=i.mainAxis,d=l===void 0?!0:l,h=i.altAxis,v=h===void 0?!0:h,y=i.fallbackPlacements,C=i.padding,x=i.boundary,R=i.rootBoundary,T=i.altBoundary,j=i.flipVariations,N=j===void 0?!0:j,O=i.allowedAutoPlacements,_=r.options.placement,L=Ks(_),F=L===_,V=y||(F||!N?[qb(_)]:OG(_)),H=[_].concat(V).reduce(function(Se,Ne){return Se.concat(Ks(Ne)===dR?_G(r,{placement:Ne,boundary:x,rootBoundary:R,padding:C,flipVariations:N,allowedAutoPlacements:O}):Ne)},[]),z=r.rects.reference,U=r.rects.popper,J=new Map,q=!0,Re=H[0],he=0;he<H.length;he++){var ge=H[he],fe=Ks(ge),Oe=Yp(ge)===Gp,Te=[Oi,wo].indexOf(fe)>=0,xe=Te?"width":"height",je=Cm(r,{placement:ge,boundary:x,rootBoundary:R,altBoundary:T,padding:C}),Le=Te?Oe?Ro:Ai:Oe?wo:Oi;z[xe]>U[xe]&&(Le=qb(Le));var ne=qb(Le),_e=[];if(d&&_e.push(je[fe]<=0),v&&_e.push(je[Le]<=0,je[ne]<=0),_e.every(function(Se){return Se})){Re=ge,q=!1;break}J.set(ge,_e)}if(q)for(var G=N?3:1,Y=function(Ne){var le=H.find(function(ve){var we=J.get(ve);if(we)return we.slice(0,Ne).every(function(Ve){return Ve})});if(le)return Re=le,"break"},re=G;re>0;re--){var ye=Y(re);if(ye==="break")break}r.placement!==Re&&(r.modifiersData[u]._skip=!0,r.placement=Re,r.reset=!0)}}const jG={name:"flip",enabled:!0,phase:"main",fn:AG,requiresIfExists:["offset"],data:{_skip:!1}};function U_(n,r,i){return i===void 0&&(i={x:0,y:0}),{top:n.top-r.height-i.y,right:n.right-r.width+i.x,bottom:n.bottom-r.height+i.y,left:n.left-r.width-i.x}}function $_(n){return[Oi,Ro,wo,Ai].some(function(r){return n[r]>=0})}function DG(n){var r=n.state,i=n.name,u=r.rects.reference,l=r.rects.popper,d=r.modifiersData.preventOverflow,h=Cm(r,{elementContext:"reference"}),v=Cm(r,{altBoundary:!0}),y=U_(h,u),C=U_(v,l,d),x=$_(y),R=$_(C);r.modifiersData[i]={referenceClippingOffsets:y,popperEscapeOffsets:C,isReferenceHidden:x,hasPopperEscaped:R},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":x,"data-popper-escaped":R})}const kG={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:DG};function MG(n,r,i){var u=Ks(n),l=[Ai,Oi].indexOf(u)>=0?-1:1,d=typeof i=="function"?i(Object.assign({},r,{placement:n})):i,h=d[0],v=d[1];return h=h||0,v=(v||0)*l,[Ai,Ro].indexOf(u)>=0?{x:v,y:h}:{x:h,y:v}}function LG(n){var r=n.state,i=n.options,u=n.name,l=i.offset,d=l===void 0?[0,0]:l,h=Aj.reduce(function(x,R){return x[R]=MG(R,r.rects,d),x},{}),v=h[r.placement],y=v.x,C=v.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=y,r.modifiersData.popperOffsets.y+=C),r.modifiersData[u]=h}const PG={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:LG};function FG(n){var r=n.state,i=n.name;r.modifiersData[i]=Fj({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}const VG={name:"popperOffsets",enabled:!0,phase:"read",fn:FG,data:{}};function BG(n){return n==="x"?"y":"x"}function zG(n){var r=n.state,i=n.options,u=n.name,l=i.mainAxis,d=l===void 0?!0:l,h=i.altAxis,v=h===void 0?!1:h,y=i.boundary,C=i.rootBoundary,x=i.altBoundary,R=i.padding,T=i.tether,j=T===void 0?!0:T,N=i.tetherOffset,O=N===void 0?0:N,_=Cm(r,{boundary:y,rootBoundary:C,padding:R,altBoundary:x}),L=Ks(r.placement),F=Yp(r.placement),V=!F,H=hR(L),z=BG(H),U=r.modifiersData.popperOffsets,J=r.rects.reference,q=r.rects.popper,Re=typeof O=="function"?O(Object.assign({},r.rects,{placement:r.placement})):O,he=typeof Re=="number"?{mainAxis:Re,altAxis:Re}:Object.assign({mainAxis:0,altAxis:0},Re),ge=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,fe={x:0,y:0};if(U){if(d){var Oe,Te=H==="y"?Oi:Ai,xe=H==="y"?wo:Ro,je=H==="y"?"height":"width",Le=U[H],ne=Le+_[Te],_e=Le-_[xe],G=j?-q[je]/2:0,Y=F===Gp?J[je]:q[je],re=F===Gp?-q[je]:-J[je],ye=r.elements.arrow,Se=j&&ye?vR(ye):{width:0,height:0},Ne=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:kj(),le=Ne[Te],ve=Ne[xe],we=vm(0,J[je],Se[je]),Ve=V?J[je]/2-G-we-le-he.mainAxis:Y-we-le-he.mainAxis,et=V?-J[je]/2+G+we+ve+he.mainAxis:re+we+ve+he.mainAxis,tt=r.elements.arrow&&jm(r.elements.arrow),ft=tt?H==="y"?tt.clientTop||0:tt.clientLeft||0:0,Ae=(Oe=ge==null?void 0:ge[H])!=null?Oe:0,It=Le+Ve-Ae-ft,pt=Le+et-Ae,Kt=vm(j?b0(ne,It):ne,Le,j?Uf(_e,pt):_e);U[H]=Kt,fe[H]=Kt-Le}if(v){var on,sn=H==="x"?Oi:Ai,_n=H==="x"?wo:Ro,Vt=U[z],Cn=z==="y"?"height":"width",qn=Vt+_[sn],Rr=Vt-_[_n],$n=[Oi,Ai].indexOf(L)!==-1,Tr=(on=ge==null?void 0:ge[z])!=null?on:0,xt=$n?qn:Vt-J[Cn]-q[Cn]-Tr+he.altAxis,Pn=$n?Vt+J[Cn]+q[Cn]-Tr-he.altAxis:Rr,ln=j&&$n?fG(xt,Vt,Pn):vm(j?xt:qn,Vt,j?Pn:Rr);U[z]=ln,fe[z]=ln-Vt}r.modifiersData[u]=fe}}const HG={name:"preventOverflow",enabled:!0,phase:"main",fn:zG,requiresIfExists:["offset"]};function UG(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function $G(n){return n===qi(n)||!el(n)?mR(n):UG(n)}function GG(n){var r=n.getBoundingClientRect(),i=Wp(r.width)/n.offsetWidth||1,u=Wp(r.height)/n.offsetHeight||1;return i!==1||u!==1}function WG(n,r,i){i===void 0&&(i=!1);var u=el(r),l=el(r)&&GG(r),d=yc(r),h=Xp(n,l,i),v={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(u||!u&&!i)&&((gc(r)!=="body"||yR(d))&&(v=$G(r)),el(r)?(y=Xp(r,!0),y.x+=r.clientLeft,y.y+=r.clientTop):d&&(y.x=gR(d))),{x:h.left+v.scrollLeft-y.x,y:h.top+v.scrollTop-y.y,width:h.width,height:h.height}}function XG(n){var r=new Map,i=new Set,u=[];n.forEach(function(d){r.set(d.name,d)});function l(d){i.add(d.name);var h=[].concat(d.requires||[],d.requiresIfExists||[]);h.forEach(function(v){if(!i.has(v)){var y=r.get(v);y&&l(y)}}),u.push(d)}return n.forEach(function(d){i.has(d.name)||l(d)}),u}function YG(n){var r=XG(n);return lG.reduce(function(i,u){return i.concat(r.filter(function(l){return l.phase===u}))},[])}function ZG(n){var r;return function(){return r||(r=new Promise(function(i){Promise.resolve().then(function(){r=void 0,i(n())})})),r}}function JG(n){var r=n.reduce(function(i,u){var l=i[u.name];return i[u.name]=l?Object.assign({},l,u,{options:Object.assign({},l.options,u.options),data:Object.assign({},l.data,u.data)}):u,i},{});return Object.keys(r).map(function(i){return r[i]})}var G_={placement:"bottom",modifiers:[],strategy:"absolute"};function W_(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return!r.some(function(u){return!(u&&typeof u.getBoundingClientRect=="function")})}function qG(n){n===void 0&&(n={});var r=n,i=r.defaultModifiers,u=i===void 0?[]:i,l=r.defaultOptions,d=l===void 0?G_:l;return function(v,y,C){C===void 0&&(C=d);var x={placement:"bottom",orderedModifiers:[],options:Object.assign({},G_,d),modifiersData:{},elements:{reference:v,popper:y},attributes:{},styles:{}},R=[],T=!1,j={state:x,setOptions:function(L){var F=typeof L=="function"?L(x.options):L;O(),x.options=Object.assign({},d,x.options,F),x.scrollParents={reference:Xf(v)?hm(v):v.contextElement?hm(v.contextElement):[],popper:hm(y)};var V=YG(JG([].concat(u,x.options.modifiers)));return x.orderedModifiers=V.filter(function(H){return H.enabled}),N(),j.update()},forceUpdate:function(){if(!T){var L=x.elements,F=L.reference,V=L.popper;if(W_(F,V)){x.rects={reference:WG(F,jm(V),x.options.strategy==="fixed"),popper:vR(V)},x.reset=!1,x.placement=x.options.placement,x.orderedModifiers.forEach(function(he){return x.modifiersData[he.name]=Object.assign({},he.data)});for(var H=0;H<x.orderedModifiers.length;H++){if(x.reset===!0){x.reset=!1,H=-1;continue}var z=x.orderedModifiers[H],U=z.fn,J=z.options,q=J===void 0?{}:J,Re=z.name;typeof U=="function"&&(x=U({state:x,options:q,name:Re,instance:j})||x)}}}},update:ZG(function(){return new Promise(function(_){j.forceUpdate(),_(x)})}),destroy:function(){O(),T=!0}};if(!W_(v,y))return j;j.setOptions(C).then(function(_){!T&&C.onFirstUpdate&&C.onFirstUpdate(_)});function N(){x.orderedModifiers.forEach(function(_){var L=_.name,F=_.options,V=F===void 0?{}:F,H=_.effect;if(typeof H=="function"){var z=H({state:x,name:L,instance:j,options:V}),U=function(){};R.push(z||U)}})}function O(){R.forEach(function(_){return _()}),R=[]}return j}}const QG=qG({defaultModifiers:[kG,VG,bG,xG,PG,jG,HG,hG]}),KG=["enabled","placement","strategy","modifiers"];function e9(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}const t9={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},n9={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:n})=>()=>{const{reference:r,popper:i}=n.elements;if("removeAttribute"in r){const u=(r.getAttribute("aria-describedby")||"").split(",").filter(l=>l.trim()!==i.id);u.length?r.setAttribute("aria-describedby",u.join(",")):r.removeAttribute("aria-describedby")}},fn:({state:n})=>{var r;const{popper:i,reference:u}=n.elements,l=(r=i.getAttribute("role"))==null?void 0:r.toLowerCase();if(i.id&&l==="tooltip"&&"setAttribute"in u){const d=u.getAttribute("aria-describedby");if(d&&d.split(",").indexOf(i.id)!==-1)return;u.setAttribute("aria-describedby",d?`${d},${i.id}`:i.id)}}},r9=[];function Vj(n,r,i={}){let{enabled:u=!0,placement:l="bottom",strategy:d="absolute",modifiers:h=r9}=i,v=e9(i,KG);const y=M.useRef(h),C=M.useRef(),x=M.useCallback(()=>{var _;(_=C.current)==null||_.update()},[]),R=M.useCallback(()=>{var _;(_=C.current)==null||_.forceUpdate()},[]),[T,j]=J3(M.useState({placement:l,update:x,forceUpdate:R,attributes:{},styles:{popper:{},arrow:{}}})),N=M.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:_})=>{const L={},F={};Object.keys(_.elements).forEach(V=>{L[V]=_.styles[V],F[V]=_.attributes[V]}),j({state:_,styles:L,attributes:F,update:x,forceUpdate:R,placement:_.placement})}}),[x,R,j]),O=M.useMemo(()=>(pm(y.current,h)||(y.current=h),y.current),[h]);return M.useEffect(()=>{!C.current||!u||C.current.setOptions({placement:l,strategy:d,modifiers:[...O,N,t9]})},[d,l,N,u,O]),M.useEffect(()=>{if(!(!u||n==null||r==null))return C.current=QG(n,r,Object.assign({},v,{placement:l,strategy:d,modifiers:[...O,n9,N]})),()=>{C.current!=null&&(C.current.destroy(),C.current=void 0,j(_=>Object.assign({},_,{attributes:{},styles:{popper:{}}})))}},[u,n,r]),T}function xm(n,r){if(n.contains)return n.contains(r);if(n.compareDocumentPosition)return n===r||!!(n.compareDocumentPosition(r)&16)}var a9={},i9=a9.NODE_ENV!=="production",Bj=function(){};if(i9){var o9=function(r,i){var u=arguments.length;i=new Array(u>1?u-1:0);for(var l=1;l<u;l++)i[l-1]=arguments[l];var d=0,h="Warning: "+r.replace(/%s/g,function(){return i[d++]});typeof console<"u"&&console.error(h);try{throw new Error(h)}catch{}};Bj=function(n,r,i){var u=arguments.length;i=new Array(u>2?u-2:0);for(var l=2;l<u;l++)i[l-2]=arguments[l];if(r===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");n||o9.apply(null,[r].concat(i))}}var s9=Bj;const bR=qp(s9),X_=()=>{};function l9(n){return n.button===0}function u9(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}const Qb=n=>n&&("current"in n?n.current:n),Y_={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function zj(n,r=X_,{disabled:i,clickTrigger:u="click"}={}){const l=M.useRef(!1),d=M.useRef(!1),h=M.useCallback(C=>{const x=Qb(n);bR(!!x,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),l.current=!x||u9(C)||!l9(C)||!!xm(x,C.target)||d.current,d.current=!1},[n]),v=gr(C=>{const x=Qb(n);x&&xm(x,C.target)&&(d.current=!0)}),y=gr(C=>{l.current||r(C)});M.useEffect(()=>{var C,x;if(i||n==null)return;const R=ev(Qb(n)),T=R.defaultView||window;let j=(C=T.event)!=null?C:(x=T.parent)==null?void 0:x.event,N=null;Y_[u]&&(N=ql(R,Y_[u],v,!0));const O=ql(R,u,h,!0),_=ql(R,u,F=>{if(F===j){j=void 0;return}y(F)});let L=[];return"ontouchstart"in R.documentElement&&(L=[].slice.call(R.body.children).map(F=>ql(F,"mousemove",X_))),()=>{N==null||N(),O(),_(),L.forEach(F=>F())}},[n,i,u,h,v,y])}function c9(n){const r={};return Array.isArray(n)?(n==null||n.forEach(i=>{r[i.name]=i}),r):n||r}function f9(n={}){return Array.isArray(n)?n:Object.keys(n).map(r=>(n[r].name=r,n[r]))}function Hj({enabled:n,enableEvents:r,placement:i,flip:u,offset:l,fixed:d,containerPadding:h,arrowElement:v,popperConfig:y={}}){var C,x,R,T,j;const N=c9(y.modifiers);return Object.assign({},y,{placement:i,enabled:n,strategy:d?"fixed":y.strategy,modifiers:f9(Object.assign({},N,{eventListeners:{enabled:r,options:(C=N.eventListeners)==null?void 0:C.options},preventOverflow:Object.assign({},N.preventOverflow,{options:h?Object.assign({padding:h},(x=N.preventOverflow)==null?void 0:x.options):(R=N.preventOverflow)==null?void 0:R.options}),offset:{options:Object.assign({offset:l},(T=N.offset)==null?void 0:T.options)},arrow:Object.assign({},N.arrow,{enabled:!!v,options:Object.assign({},(j=N.arrow)==null?void 0:j.options,{element:v})}),flip:Object.assign({enabled:!!u},N.flip)}))})}const d9=["children"];function p9(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}const v9=()=>{};function Uj(n={}){const r=M.useContext(V0),[i,u]=g0(),l=M.useRef(!1),{flip:d,offset:h,rootCloseEvent:v,fixed:y=!1,placement:C,popperConfig:x={},enableEventListeners:R=!0,usePopper:T=!!r}=n,j=(r==null?void 0:r.show)==null?!!n.show:r.show;j&&!l.current&&(l.current=!0);const N=U=>{r==null||r.toggle(!1,U)},{placement:O,setMenu:_,menuElement:L,toggleElement:F}=r||{},V=Vj(F,L,Hj({placement:C||O||"bottom-start",enabled:T,enableEvents:R??j,offset:h,flip:d,fixed:y,arrowElement:i,popperConfig:x})),H=Object.assign({ref:_||v9,"aria-labelledby":F==null?void 0:F.id},V.attributes.popper,{style:V.styles.popper}),z={show:j,placement:O,hasShown:l.current,toggle:r==null?void 0:r.toggle,popper:T?V:null,arrowProps:T?Object.assign({ref:u},V.attributes.arrow,{style:V.styles.arrow}):{}};return zj(L,N,{clickTrigger:v,disabled:!j}),[H,z]}const h9={usePopper:!0};function CR(n){let{children:r}=n,i=p9(n,d9);const[u,l]=Uj(i);return b.jsx(b.Fragment,{children:r(u,l)})}CR.displayName="DropdownMenu";CR.defaultProps=h9;const $j=n=>{var r;return((r=n.getAttribute("role"))==null?void 0:r.toLowerCase())==="menu"},Z_=()=>{};function Gj(){const n=WA(),{show:r=!1,toggle:i=Z_,setToggle:u,menuElement:l}=M.useContext(V0)||{},d=M.useCallback(v=>{i(!r,v)},[r,i]),h={id:n,ref:u||Z_,onClick:d,"aria-expanded":!!r};return l&&$j(l)&&(h["aria-haspopup"]=!0),[h,{show:r,toggle:i}]}function Wj({children:n}){const[r,i]=Gj();return b.jsx(b.Fragment,{children:n(r,i)})}Wj.displayName="DropdownToggle";const m9=["eventKey","disabled","onClick","active","as"];function g9(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function Xj({key:n,href:r,active:i,disabled:u,onClick:l}){const d=M.useContext(nu),h=M.useContext(lR),{activeKey:v}=h||{},y=Wf(n,r),C=i==null&&n!=null?Wf(v)===y:i;return[{onClick:gr(R=>{u||(l==null||l(R),d&&!R.isPropagationStopped()&&d(y,R))}),"aria-disabled":u||void 0,"aria-selected":C,[nv("dropdown-item")]:""},{isActive:C}]}const Yj=M.forwardRef((n,r)=>{let{eventKey:i,disabled:u,onClick:l,active:d,as:h=cR}=n,v=g9(n,m9);const[y]=Xj({key:i,href:v.href,disabled:u,onClick:l,active:d});return b.jsx(h,Object.assign({},v,{ref:r},y))});Yj.displayName="DropdownItem";const Zj=M.createContext(tv?window:void 0);Zj.Provider;function z0(){return M.useContext(Zj)}function J_(){const n=pj(),r=M.useRef(null),i=M.useCallback(u=>{r.current=u,n()},[n]);return[r,i]}function Dm({defaultShow:n,show:r,onSelect:i,onToggle:u,itemSelector:l=`* [${nv("dropdown-item")}]`,focusFirstItemOnShow:d,placement:h="bottom-start",children:v}){const y=z0(),[C,x]=UA(r,n,u),[R,T]=J_(),j=R.current,[N,O]=J_(),_=N.current,L=Ej(C),F=M.useRef(null),V=M.useRef(!1),H=M.useContext(nu),z=M.useCallback((ge,fe,Oe=fe==null?void 0:fe.type)=>{x(ge,{originalEvent:fe,source:Oe})},[x]),U=gr((ge,fe)=>{i==null||i(ge,fe),z(!1,fe,"select"),fe.isPropagationStopped()||H==null||H(ge,fe)}),J=M.useMemo(()=>({toggle:z,placement:h,show:C,menuElement:j,toggleElement:_,setMenu:T,setToggle:O}),[z,h,C,j,_,T,O]);j&&L&&!C&&(V.current=j.contains(j.ownerDocument.activeElement));const q=gr(()=>{_&&_.focus&&_.focus()}),Re=gr(()=>{const ge=F.current;let fe=d;if(fe==null&&(fe=R.current&&$j(R.current)?"keyboard":!1),fe===!1||fe==="keyboard"&&!/^key.+$/.test(ge))return;const Oe=Jl(R.current,l)[0];Oe&&Oe.focus&&Oe.focus()});M.useEffect(()=>{C?Re():V.current&&(V.current=!1,q())},[C,V,q,Re]),M.useEffect(()=>{F.current=null});const he=(ge,fe)=>{if(!R.current)return null;const Oe=Jl(R.current,l);let Te=Oe.indexOf(ge)+fe;return Te=Math.max(0,Math.min(Te,Oe.length)),Oe[Te]};return F3(M.useCallback(()=>y.document,[y]),"keydown",ge=>{var fe,Oe;const{key:Te}=ge,xe=ge.target,je=(fe=R.current)==null?void 0:fe.contains(xe),Le=(Oe=N.current)==null?void 0:Oe.contains(xe);if(/input|textarea/i.test(xe.tagName)&&(Te===" "||Te!=="Escape"&&je||Te==="Escape"&&xe.type==="search")||!je&&!Le||Te==="Tab"&&(!R.current||!C))return;F.current=ge.type;const _e={originalEvent:ge,source:ge.type};switch(Te){case"ArrowUp":{const G=he(xe,-1);G&&G.focus&&G.focus(),ge.preventDefault();return}case"ArrowDown":if(ge.preventDefault(),!C)x(!0,_e);else{const G=he(xe,1);G&&G.focus&&G.focus()}return;case"Tab":oR(xe.ownerDocument,"keyup",G=>{var Y;(G.key==="Tab"&&!G.target||!((Y=R.current)!=null&&Y.contains(G.target)))&&x(!1,_e)},{once:!0});break;case"Escape":Te==="Escape"&&(ge.preventDefault(),ge.stopPropagation()),x(!1,_e);break}}),b.jsx(nu.Provider,{value:U,children:b.jsx(V0.Provider,{value:J,children:v})})}Dm.displayName="Dropdown";Dm.Menu=CR;Dm.Toggle=Wj;Dm.Item=Yj;const Jj=M.createContext({});Jj.displayName="DropdownContext";const qj=Jj,Qj=M.forwardRef(({className:n,bsPrefix:r,as:i="hr",role:u="separator",...l},d)=>(r=bn(r,"dropdown-divider"),b.jsx(i,{ref:d,className:qt(n,r),role:u,...l})));Qj.displayName="DropdownDivider";const y9=Qj,Kj=M.forwardRef(({className:n,bsPrefix:r,as:i="div",role:u="heading",...l},d)=>(r=bn(r,"dropdown-header"),b.jsx(i,{ref:d,className:qt(n,r),role:u,...l})));Kj.displayName="DropdownHeader";const b9=Kj,eD=M.forwardRef(({bsPrefix:n,className:r,eventKey:i,disabled:u=!1,onClick:l,active:d,as:h=Rj,...v},y)=>{const C=bn(n,"dropdown-item"),[x,R]=Xj({key:i,href:v.href,disabled:u,onClick:l,active:d});return b.jsx(h,{...v,...x,ref:y,className:qt(r,C,R.isActive&&"active",u&&"disabled")})});eD.displayName="DropdownItem";const C9=eD,tD=M.forwardRef(({className:n,bsPrefix:r,as:i="span",...u},l)=>(r=bn(r,"dropdown-item-text"),b.jsx(i,{ref:l,className:qt(n,r),...u})));tD.displayName="DropdownItemText";const x9=tD,nD=M.createContext(null);nD.displayName="InputGroupContext";const rD=nD;var q_={};function aD(n,r){if(q_.NODE_ENV==="production")return n;const i=M.useCallback(u=>{u==null||!u.isReactComponent||(q_.NODE_ENV!=="production"?O_(!1,`${r} injected a ref to a provided \`as\` component that resolved to a component instance instead of a DOM element. Use \`React.forwardRef\` to provide the injected ref to the class component as a prop in order to pass it directly to a DOM element`):O_(!1))},[r]);return ds(i,n)}var S9={};function iD(n,r,i){const u=i?"top-end":"top-start",l=i?"top-start":"top-end",d=i?"bottom-end":"bottom-start",h=i?"bottom-start":"bottom-end",v=i?"right-start":"left-start",y=i?"right-end":"left-end",C=i?"left-start":"right-start",x=i?"left-end":"right-end";let R=n?h:d;return r==="up"?R=n?l:u:r==="end"?R=n?x:C:r==="start"?R=n?y:v:r==="down-centered"?R="bottom":r==="up-centered"&&(R="top"),R}const oD=M.forwardRef(({bsPrefix:n,className:r,align:i,rootCloseEvent:u,flip:l=!0,show:d,renderOnMount:h,as:v="div",popperConfig:y,variant:C,...x},R)=>{let T=!1;const j=M.useContext(bj),N=bn(n,"dropdown-menu"),{align:O,drop:_,isRTL:L}=M.useContext(qj);i=i||O;const F=M.useContext(rD),V=[];if(i)if(typeof i=="object"){const ge=Object.keys(i);if(S9.NODE_ENV!=="production"&&bR(ge.length===1,"There should only be 1 breakpoint when passing an object to `align`"),ge.length){const fe=ge[0],Oe=i[fe];T=Oe==="start",V.push(`${N}-${fe}-${Oe}`)}}else i==="end"&&(T=!0);const H=iD(T,_,L),[z,{hasShown:U,popper:J,show:q,toggle:Re}]=Uj({flip:l,rootCloseEvent:u,show:d,usePopper:!j&&V.length===0,offset:[0,2],popperConfig:y,placement:H});if(z.ref=ds(aD(R,"DropdownMenu"),z.ref),y0(()=>{q&&(J==null||J.update())},[q]),!U&&!h&&!F)return null;typeof v!="string"&&(z.show=q,z.close=()=>Re==null?void 0:Re(!1),z.align=i);let he=x.style;return J!=null&&J.placement&&(he={...x.style,...z.style},x["x-placement"]=J.placement),b.jsx(v,{...x,...z,style:he,...(V.length||j)&&{"data-bs-popper":"static"},className:qt(r,N,q&&"show",T&&`${N}-end`,C&&`${N}-${C}`,...V)})});oD.displayName="DropdownMenu";const E9=oD,sD=M.forwardRef(({as:n,bsPrefix:r,variant:i="primary",size:u,active:l=!1,disabled:d=!1,className:h,...v},y)=>{const C=bn(r,"btn"),[x,{tagName:R}]=uR({tagName:n,disabled:d,...v}),T=R;return b.jsx(T,{...x,...v,ref:y,disabled:d,className:qt(h,C,l&&"active",i&&`${C}-${i}`,u&&`${C}-${u}`,v.href&&d&&"disabled")})});sD.displayName="Button";const w9=sD,lD=M.forwardRef(({bsPrefix:n,split:r,className:i,childBsPrefix:u,as:l=w9,...d},h)=>{const v=bn(n,"dropdown-toggle"),y=M.useContext(V0);u!==void 0&&(d.bsPrefix=u);const[C]=Gj();return C.ref=ds(C.ref,aD(h,"DropdownToggle")),b.jsx(l,{className:qt(i,v,r&&`${v}-split`,(y==null?void 0:y.show)&&"show"),...C,...d})});lD.displayName="DropdownToggle";const R9=lD,uD=M.forwardRef((n,r)=>{const{bsPrefix:i,drop:u="down",show:l,className:d,align:h="start",onSelect:v,onToggle:y,focusFirstItemOnShow:C,as:x="div",navbar:R,autoClose:T=!0,...j}=F0(n,{show:"onToggle"}),N=M.useContext(rD),O=bn(i,"dropdown"),_=P0(),L=J=>T===!1?J==="click":T==="inside"?J!=="rootClose":T==="outside"?J!=="select":!0,F=gr((J,q)=>{var Re,he;!((Re=q.originalEvent)==null||(he=Re.target)==null)&&he.classList.contains("dropdown-toggle")&&q.source==="mousedown"||(q.originalEvent.currentTarget===document&&(q.source!=="keydown"||q.originalEvent.key==="Escape")&&(q.source="rootClose"),L(q.source)&&(y==null||y(J,q)))}),H=iD(h==="end",u,_),z=M.useMemo(()=>({align:h,drop:u,isRTL:_}),[h,u,_]),U={down:O,"down-centered":`${O}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return b.jsx(qj.Provider,{value:z,children:b.jsx(Dm,{placement:H,show:l,onSelect:v,onToggle:F,focusFirstItemOnShow:C,itemSelector:`.${O}-item:not(.disabled):not(:disabled)`,children:N?j.children:b.jsx(x,{...j,ref:r,className:qt(d,l&&"show",U[u])})})})});uD.displayName="Dropdown";const Lb=Object.assign(uD,{Toggle:R9,Menu:E9,Item:C9,ItemText:x9,Divider:y9,Header:b9});var Pb;function Q_(n){if((!Pb&&Pb!==0||n)&&tv){var r=document.createElement("div");r.style.position="absolute",r.style.top="-9999px",r.style.width="50px",r.style.height="50px",r.style.overflow="scroll",document.body.appendChild(r),Pb=r.offsetWidth-r.clientWidth,document.body.removeChild(r)}return Pb}function T9(n){const r=M.useRef(n);return r.current=n,r}function xR(n){const r=T9(n);M.useEffect(()=>()=>r.current(),[])}function BE(n){n===void 0&&(n=ev());try{var r=n.activeElement;return!r||!r.nodeName?null:r}catch{return n.body}}function I9(n=document){const r=n.defaultView;return Math.abs(r.innerWidth-n.documentElement.clientWidth)}const K_=nv("modal-open");class N9{constructor({ownerDocument:r,handleContainerOverflow:i=!0,isRTL:u=!1}={}){this.handleContainerOverflow=i,this.isRTL=u,this.modals=[],this.ownerDocument=r}getScrollbarWidth(){return I9(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(r){}removeModalAttributes(r){}setContainerStyle(r){const i={overflow:"hidden"},u=this.isRTL?"paddingLeft":"paddingRight",l=this.getElement();r.style={overflow:l.style.overflow,[u]:l.style[u]},r.scrollBarWidth&&(i[u]=`${parseInt(Kl(l,u)||"0",10)+r.scrollBarWidth}px`),l.setAttribute(K_,""),Kl(l,i)}reset(){[...this.modals].forEach(r=>this.remove(r))}removeContainerStyle(r){const i=this.getElement();i.removeAttribute(K_),Object.assign(i.style,r.style)}add(r){let i=this.modals.indexOf(r);return i!==-1||(i=this.modals.length,this.modals.push(r),this.setModalAttributes(r),i!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),i}remove(r){const i=this.modals.indexOf(r);i!==-1&&(this.modals.splice(i,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(r))}isTopModal(r){return!!this.modals.length&&this.modals[this.modals.length-1]===r}}const SR=N9,zE=(n,r)=>tv?n==null?(r||ev()).body:(typeof n=="function"&&(n=n()),n&&"current"in n&&(n=n.current),n&&("nodeType"in n||n.getBoundingClientRect)?n:null):null;function Rw(n,r){const i=z0(),[u,l]=M.useState(()=>zE(n,i==null?void 0:i.document));if(!u){const d=zE(n);d&&l(d)}return M.useEffect(()=>{r&&u&&r(u)},[r,u]),M.useEffect(()=>{const d=zE(n);d!==u&&l(d)},[n,u]),u}function _9({in:n,onTransition:r}){const i=M.useRef(null),u=M.useRef(!0),l=gr(r);return y0(()=>{if(!i.current)return;let d=!1;return l({in:n,element:i.current,initial:u.current,isStale:()=>d}),()=>{d=!0}},[n,l]),y0(()=>(u.current=!1,()=>{u.current=!0}),[]),i}function O9({children:n,in:r,onExited:i,onEntered:u,transition:l}){const[d,h]=M.useState(!r);r&&d&&h(!1);const v=_9({in:!!r,onTransition:C=>{const x=()=>{C.isStale()||(C.in?u==null||u(C.element,C.initial):(h(!0),i==null||i(C.element)))};Promise.resolve(l(C)).then(x,R=>{throw C.in||h(!0),R})}}),y=ds(v,n.ref);return d&&!r?null:M.cloneElement(n,{ref:y})}function Tw(n,r,i){return n?b.jsx(n,Object.assign({},i)):r?b.jsx(O9,Object.assign({},i,{transition:r})):b.jsx(aR,Object.assign({},i))}function cD(n){return n.code==="Escape"||n.keyCode===27}const A9=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function j9(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}let HE;function D9(n){return HE||(HE=new SR({ownerDocument:n==null?void 0:n.document})),HE}function k9(n){const r=z0(),i=n||D9(r),u=M.useRef({dialog:null,backdrop:null});return Object.assign(u.current,{add:()=>i.add(u.current),remove:()=>i.remove(u.current),isTopModal:()=>i.isTopModal(u.current),setDialogRef:M.useCallback(l=>{u.current.dialog=l},[]),setBackdropRef:M.useCallback(l=>{u.current.backdrop=l},[])})}const fD=M.forwardRef((n,r)=>{let{show:i=!1,role:u="dialog",className:l,style:d,children:h,backdrop:v=!0,keyboard:y=!0,onBackdropClick:C,onEscapeKeyDown:x,transition:R,runTransition:T,backdropTransition:j,runBackdropTransition:N,autoFocus:O=!0,enforceFocus:_=!0,restoreFocus:L=!0,restoreFocusOptions:F,renderDialog:V,renderBackdrop:H=pt=>b.jsx("div",Object.assign({},pt)),manager:z,container:U,onShow:J,onHide:q=()=>{},onExit:Re,onExited:he,onExiting:ge,onEnter:fe,onEntering:Oe,onEntered:Te}=n,xe=j9(n,A9);const je=z0(),Le=Rw(U),ne=k9(z),_e=fR(),G=Ej(i),[Y,re]=M.useState(!i),ye=M.useRef(null);M.useImperativeHandle(r,()=>ne,[ne]),tv&&!G&&i&&(ye.current=BE(je==null?void 0:je.document)),i&&Y&&re(!1);const Se=gr(()=>{if(ne.add(),et.current=ql(document,"keydown",we),Ve.current=ql(document,"focus",()=>setTimeout(le),!0),J&&J(),O){var pt,Kt;const on=BE((pt=(Kt=ne.dialog)==null?void 0:Kt.ownerDocument)!=null?pt:je==null?void 0:je.document);ne.dialog&&on&&!xm(ne.dialog,on)&&(ye.current=on,ne.dialog.focus())}}),Ne=gr(()=>{if(ne.remove(),et.current==null||et.current(),Ve.current==null||Ve.current(),L){var pt;(pt=ye.current)==null||pt.focus==null||pt.focus(F),ye.current=null}});M.useEffect(()=>{!i||!Le||Se()},[i,Le,Se]),M.useEffect(()=>{Y&&Ne()},[Y,Ne]),xR(()=>{Ne()});const le=gr(()=>{if(!_||!_e()||!ne.isTopModal())return;const pt=BE(je==null?void 0:je.document);ne.dialog&&pt&&!xm(ne.dialog,pt)&&ne.dialog.focus()}),ve=gr(pt=>{pt.target===pt.currentTarget&&(C==null||C(pt),v===!0&&q())}),we=gr(pt=>{y&&cD(pt)&&ne.isTopModal()&&(x==null||x(pt),pt.defaultPrevented||q())}),Ve=M.useRef(),et=M.useRef(),tt=(...pt)=>{re(!0),he==null||he(...pt)};if(!Le)return null;const ft=Object.assign({role:u,ref:ne.setDialogRef,"aria-modal":u==="dialog"?!0:void 0},xe,{style:d,className:l,tabIndex:-1});let Ae=V?V(ft):b.jsx("div",Object.assign({},ft,{children:M.cloneElement(h,{role:"document"})}));Ae=Tw(R,T,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!i,onExit:Re,onExiting:ge,onExited:tt,onEnter:fe,onEntering:Oe,onEntered:Te,children:Ae});let It=null;return v&&(It=H({ref:ne.setBackdropRef,onClick:ve}),It=Tw(j,N,{in:!!i,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:It})),b.jsx(b.Fragment,{children:Bf.createPortal(b.jsxs(b.Fragment,{children:[It,Ae]}),Le)})});fD.displayName="Modal";const M9=Object.assign(fD,{Manager:SR});function Iw(n,r){return n.classList?!!r&&n.classList.contains(r):(" "+(n.className.baseVal||n.className)+" ").indexOf(" "+r+" ")!==-1}function L9(n,r){n.classList?n.classList.add(r):Iw(n,r)||(typeof n.className=="string"?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r))}function eO(n,r){return n.replace(new RegExp("(^|\\s)"+r+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function P9(n,r){n.classList?n.classList.remove(r):typeof n.className=="string"?n.className=eO(n.className,r):n.setAttribute("class",eO(n.className&&n.className.baseVal||"",r))}const kp={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class F9 extends SR{adjustAndStore(r,i,u){const l=i.style[r];i.dataset[r]=l,Kl(i,{[r]:`${parseFloat(Kl(i,r))+u}px`})}restore(r,i){const u=i.dataset[r];u!==void 0&&(delete i.dataset[r],Kl(i,{[r]:u}))}setContainerStyle(r){super.setContainerStyle(r);const i=this.getElement();if(L9(i,"modal-open"),!r.scrollBarWidth)return;const u=this.isRTL?"paddingLeft":"paddingRight",l=this.isRTL?"marginLeft":"marginRight";Jl(i,kp.FIXED_CONTENT).forEach(d=>this.adjustAndStore(u,d,r.scrollBarWidth)),Jl(i,kp.STICKY_CONTENT).forEach(d=>this.adjustAndStore(l,d,-r.scrollBarWidth)),Jl(i,kp.NAVBAR_TOGGLER).forEach(d=>this.adjustAndStore(l,d,r.scrollBarWidth))}removeContainerStyle(r){super.removeContainerStyle(r);const i=this.getElement();P9(i,"modal-open");const u=this.isRTL?"paddingLeft":"paddingRight",l=this.isRTL?"marginLeft":"marginRight";Jl(i,kp.FIXED_CONTENT).forEach(d=>this.restore(u,d)),Jl(i,kp.STICKY_CONTENT).forEach(d=>this.restore(l,d)),Jl(i,kp.NAVBAR_TOGGLER).forEach(d=>this.restore(l,d))}}let UE;function V9(n){return UE||(UE=new F9(n)),UE}const dD=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=bn(r,"modal-body"),b.jsx(i,{ref:l,className:qt(n,r),...u})));dD.displayName="ModalBody";const B9=dD,z9=M.createContext({onHide(){}}),pD=z9,vD=M.forwardRef(({bsPrefix:n,className:r,contentClassName:i,centered:u,size:l,fullscreen:d,children:h,scrollable:v,...y},C)=>{n=bn(n,"modal");const x=`${n}-dialog`,R=typeof d=="string"?`${n}-fullscreen-${d}`:`${n}-fullscreen`;return b.jsx("div",{...y,ref:C,className:qt(x,r,l&&`${n}-${l}`,u&&`${x}-centered`,v&&`${x}-scrollable`,d&&R),children:b.jsx("div",{className:qt(`${n}-content`,i),children:h})})});vD.displayName="ModalDialog";const hD=vD,mD=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=bn(r,"modal-footer"),b.jsx(i,{ref:l,className:qt(n,r),...u})));mD.displayName="ModalFooter";const H9=mD,U9={"aria-label":_t.string,onClick:_t.func,variant:_t.oneOf(["white"])},ER=M.forwardRef(({className:n,variant:r,"aria-label":i="Close",...u},l)=>b.jsx("button",{ref:l,type:"button",className:qt("btn-close",r&&`btn-close-${r}`,n),"aria-label":i,...u}));ER.displayName="CloseButton";ER.propTypes=U9;const $9=ER,G9=M.forwardRef(({closeLabel:n="Close",closeVariant:r,closeButton:i=!1,onHide:u,children:l,...d},h)=>{const v=M.useContext(pD),y=gr(()=>{v==null||v.onHide(),u==null||u()});return b.jsxs("div",{ref:h,...d,children:[l,i&&b.jsx($9,{"aria-label":n,variant:r,onClick:y})]})}),W9=G9,gD=M.forwardRef(({bsPrefix:n,className:r,closeLabel:i="Close",closeButton:u=!1,...l},d)=>(n=bn(n,"modal-header"),b.jsx(W9,{ref:d,...l,className:qt(r,n),closeLabel:i,closeButton:u})));gD.displayName="ModalHeader";const X9=gD,Y9=n=>M.forwardRef((r,i)=>b.jsx("div",{...r,ref:i,className:qt(r.className,n)})),Z9=Y9("h4"),yD=M.forwardRef(({className:n,bsPrefix:r,as:i=Z9,...u},l)=>(r=bn(r,"modal-title"),b.jsx(i,{ref:l,className:qt(n,r),...u})));yD.displayName="ModalTitle";const J9=yD;function q9(n){return b.jsx($p,{...n,timeout:null})}function Q9(n){return b.jsx($p,{...n,timeout:null})}const bD=M.forwardRef(({bsPrefix:n,className:r,style:i,dialogClassName:u,contentClassName:l,children:d,dialogAs:h=hD,"data-bs-theme":v,"aria-labelledby":y,"aria-describedby":C,"aria-label":x,show:R=!1,animation:T=!0,backdrop:j=!0,keyboard:N=!0,onEscapeKeyDown:O,onShow:_,onHide:L,container:F,autoFocus:V=!0,enforceFocus:H=!0,restoreFocus:z=!0,restoreFocusOptions:U,onEntered:J,onExit:q,onExiting:Re,onEnter:he,onEntering:ge,onExited:fe,backdropClassName:Oe,manager:Te,...xe},je)=>{const[Le,ne]=M.useState({}),[_e,G]=M.useState(!1),Y=M.useRef(!1),re=M.useRef(!1),ye=M.useRef(null),[Se,Ne]=g0(),le=ds(je,Ne),ve=gr(L),we=P0();n=bn(n,"modal");const Ve=M.useMemo(()=>({onHide:ve}),[ve]);function et(){return Te||V9({isRTL:we})}function tt(xt){if(!tv)return;const Pn=et().getScrollbarWidth()>0,ln=xt.scrollHeight>ev(xt).documentElement.clientHeight;ne({paddingRight:Pn&&!ln?Q_():void 0,paddingLeft:!Pn&&ln?Q_():void 0})}const ft=gr(()=>{Se&&tt(Se.dialog)});xR(()=>{xw(window,"resize",ft),ye.current==null||ye.current()});const Ae=()=>{Y.current=!0},It=xt=>{Y.current&&Se&&xt.target===Se.dialog&&(re.current=!0),Y.current=!1},pt=()=>{G(!0),ye.current=ej(Se.dialog,()=>{G(!1)})},Kt=xt=>{xt.target===xt.currentTarget&&pt()},on=xt=>{if(j==="static"){Kt(xt);return}if(re.current||xt.target!==xt.currentTarget){re.current=!1;return}L==null||L()},sn=xt=>{N?O==null||O(xt):(xt.preventDefault(),j==="static"&&pt())},_n=(xt,Pn)=>{xt&&tt(xt),he==null||he(xt,Pn)},Vt=xt=>{ye.current==null||ye.current(),q==null||q(xt)},Cn=(xt,Pn)=>{ge==null||ge(xt,Pn),oR(window,"resize",ft)},qn=xt=>{xt&&(xt.style.display=""),fe==null||fe(xt),xw(window,"resize",ft)},Rr=M.useCallback(xt=>b.jsx("div",{...xt,className:qt(`${n}-backdrop`,Oe,!T&&"show")}),[T,Oe,n]),$n={...i,...Le};$n.display="block";const Tr=xt=>b.jsx("div",{role:"dialog",...xt,style:$n,className:qt(r,n,_e&&`${n}-static`,!T&&"show"),onClick:j?on:void 0,onMouseUp:It,"data-bs-theme":v,"aria-label":x,"aria-labelledby":y,"aria-describedby":C,children:b.jsx(h,{...xe,onMouseDown:Ae,className:u,contentClassName:l,children:d})});return b.jsx(pD.Provider,{value:Ve,children:b.jsx(M9,{show:R,ref:le,backdrop:j,container:F,keyboard:!0,autoFocus:V,enforceFocus:H,restoreFocus:z,restoreFocusOptions:U,onEscapeKeyDown:sn,onShow:_,onHide:L,onEnter:_n,onEntering:Cn,onEntered:J,onExit:Vt,onExiting:Re,onExited:qn,manager:et(),transition:T?q9:void 0,backdropTransition:T?Q9:void 0,renderBackdrop:Rr,renderDialog:Tr})})});bD.displayName="Modal";const Ln=Object.assign(bD,{Body:B9,Header:X9,Title:J9,Footer:H9,Dialog:hD,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),K9=kr.forwardRef(({children:n,onClick:r},i)=>b.jsx("a",{className:"btn btn-secondary d-flex flex-column justify-content-center flex-grow-1",href:"",ref:i,onClick:u=>{u.preventDefault(),r(u)},children:b.jsx("span",{className:"dropdown-toggle",children:n})}));function e4({requestId:n,grantNumber:r}){const{request:i,toggleActionsModal:u}=ri(n,r),{project:l}=Ji(r||i.grantNumber);if(!i||!l||i.error||l.error)return;const d=Nn.routes.request_action_path(n,"new"),h=i.allowedActions.Renewal?Array.isArray(i.allowedActions.Renewal)?[...i.allowedActions.Renewal]:[i.allowedActions.Renewal]:[];h.sort((C,x)=>C.opportunityId<x.opportunityId?-1:1);const v=[{id:"extension",action:`${d}?action_type=Extension`,isEnabled:"Extension"in i.allowedActions,button:"Request an Extension",enabled:i.usesCredits?b.jsx("p",{children:"Need more time to use your current credits and allocations? You can extend your project's end date up to six months past your funding end date, or up to 12 months at a time for projects not supported by a funding award."}):b.jsx("p",{children:"Need more time to use your current allocations? A one-time extension can extend your project end date by up to six months."}),disabled:b.jsxs("p",{children:["Your project is not currently eligible for an extension of its end date.",i.usesCredits?b.jsxs(b.Fragment,{children:[" ","Extensions can be requested starting 90 days before your project's current end date."]}):null]})},{id:"supplement",action:`${d}?action_type=Supplement`,isEnabled:"Supplement"in i.allowedActions,button:"Request a Supplement",enabled:i.usesCredits?b.jsxs("p",{children:["Need more credits to complete your project? Great news! Your"," ",i.allocationType," project is eligible for a supplement of"," ",{Explore:"200,000",Discover:"750,000",Accelerate:"1,500,000"}[i.allocationType]," ","additional ACCESS credits."]}):b.jsxs("p",{children:["Need more units to complete your research? Great news! Your"," ",i.allocationType," project is eligible for a supplement of additional units."]}),disabled:b.jsxs("p",{children:["Your project is not currently eligible for a supplement of additional"," ",i.usesCredits?"ACCESS Credits":"units","."]})},{id:"renewal",action:h.map(C=>[C.opportunityName,`${Nn.routes.renew_request_path(n)}?opportunity_id=${C.opportunityId}`,"post"]),isEnabled:"Renewal"in i.allowedActions,button:"Request a Renewal",enabled:b.jsxs("p",{children:["Your ",i.allocationType," project can be renewed! The requirements for renewing your project depend on the"," ",b.jsx("a",{href:Nn.routes.project_types_path(),target:"_blank",children:"new project type you select"}),"."]}),disabled:b.jsxs("p",{children:["Your project is not currently eligible for renewal.",i.usesCredits&&b.jsxs(b.Fragment,{children:[" ","Renewals are available starting 30 days before the project's current end date."]}),i.isMaximize&&b.jsxs(b.Fragment,{children:[" ","You can submit a renewal request to the Maximize ACCESS opportunity closest to your project's current end date."]})]})},{id:"help",action:[["Learn How to Manage Allocations",Nn.routes.how_to_path(),"get"],["Open a Help Ticket","https://support.access-ci.org/open-a-ticket","get"]],isEnabled:!0,button:"Request Help",enabled:b.jsxs("p",{children:["Need to change something else about your project or expecting another option? Submit a help ticket that includes"," ",b.jsxs("em",{children:["grant number ",l.grantNumber]})," and a detailed description of the problem."]})}];v.sort((C,x)=>C.isEnabled<x.isEnabled?1:-1);const y=v.map(({id:C,action:x,isEnabled:R,button:T,enabled:j,disabled:N})=>b.jsxs("div",{className:"row",children:[b.jsx("div",{className:"col-sm-4 mb-2 d-grid",children:Array.isArray(x)&&x.length?b.jsxs(Lb,{className:"d-flex flex-column",children:[b.jsx(Lb.Toggle,{as:K9,children:T}),b.jsx(Lb.Menu,{children:x.map(([O,_,L])=>b.jsx(Lb.Item,{href:_,onClick:F=>{L!=="get"&&(F.preventDefault(),F.target.dataset.method=L,$&&$.rails&&$.rails.handleMethod($(F.target)))},children:O},_))})]}):b.jsx("a",{className:`btn btn-secondary d-flex flex-column justify-content-center ${R?"":"disabled"}`,href:R?x:"",children:b.jsx("span",{children:T})})}),b.jsx("div",{className:"col-sm-8 mb-2",children:R?j:N})]},C));return b.jsxs(Ln,{size:"lg",show:i.showActionsModal,onHide:u,children:[b.jsx(Ln.Header,{closeButton:!0,children:b.jsx(Ln.Title,{children:"Manage Your Project"})}),b.jsxs(Ln.Body,{children:[b.jsxs("p",{children:["Please select an action to manage your project"," ",b.jsxs("strong",{children:[l.grantNumber,": ",l.title]}),"."]}),y]})]})}function t4({requestId:n,grantNumber:r}){const{request:i,toggleActionsModal:u,toggleConfirmModal:l}=ri(n,r),{project:d}=Ji(r||i.grantNumber);if(!i||!d||i.error||d.error)return;const h=i.usesCredits?"credits":"units",v=(1-MA(i))*100;return b.jsxs(Ln,{size:"lg",show:i.showConfirmModal,onHide:l,scrollable:!0,children:[b.jsx(Ln.Header,{closeButton:!0,children:b.jsx(Ln.Title,{children:"Consider Requesting an Exchange"})}),b.jsx(Ln.Body,{children:b.jsxs("p",{children:[b.jsxs("strong",{children:[Math.round(v),"% of your allocation is unused."]})," ","Are you sure you want to request more ",h,"? You can exchange"," ",i.usesCredits?"credits for resources or ":""," one resource for another by changing the ",b.jsx("strong",{children:"balance"})," numbers in the table on the previous screen."]})}),b.jsx(Ln.Footer,{children:b.jsxs("div",{className:"d-flex",children:[b.jsx("button",{type:"button",className:"btn btn-primary me-2",onClick:l,children:"Return to Exchange"}),b.jsxs("button",{type:"button",className:"btn btn-secondary",onClick:()=>{l(),u()},children:["Request More ",h]})]})})]})}function n4({requestId:n,grantNumber:r,actionId:i}){const{deleteAction:u,request:l,toggleDeleteModal:d}=ri(n,r);if(!l||l.error)return;const h=l.actions.find(T=>T.actionId==i);if(!h)return;const{deleteStatus:v,isRequest:y}=h,C=v==ea.pending,x=v==ea.error,R=()=>d(i);return b.jsxs(Ln,{show:h.showDeleteModal,onHide:R,scrollable:!0,children:[b.jsx(Ln.Header,{closeButton:!0,children:b.jsx(Ln.Title,{children:"Confirm Deletion"})}),b.jsxs(Ln.Body,{children:[x&&b.jsxs(na,{color:"danger",children:["Deletion of the ",y?"request":"action"," failed."]}),b.jsxs("p",{children:["Are you sure you want to delete"," ",!y&&b.jsxs(b.Fragment,{children:["action"," ",b.jsxs("strong",{children:[h.type,": ",Vp(h.date)]})," ","on"," "]}),"request ",b.jsx("strong",{children:Kw(l)}),"? Deletions cannot be undone."]})]}),b.jsx(Ln.Footer,{children:b.jsxs("div",{className:"d-flex",children:[b.jsx("button",{type:"button",className:"btn btn-primary me-2",onClick:R,disabled:C,children:"Cancel"}),b.jsx("button",{type:"button",className:"btn btn-danger",onClick:()=>u(i),disabled:C,children:C?"Deleting...":"Delete"})]})})]})}function CD({action:n,request:r,toggleDeleteModal:i}){const u=n.allowedOperations||[],l=[];u.includes("Edit")&&l.push(b.jsx(c0,{href:n.isRequest?Nn.routes.edit_request_path(r.requestId):Nn.routes.edit_request_action_path(r.requestId,n.actionId),icon:"pencil",title:"Edit action"},"edit")),u.includes("Delete")&&l.push(b.jsx(c0,{color:"danger",icon:"trash",onClick:()=>i(n.actionId),title:"Edit action"},"delete"));const d=`${n.type}: ${Vp(n.date)}`;return b.jsxs(b.Fragment,{children:[n.detailAvailable?b.jsx("a",{href:Nn.routes.request_action_path(r.requestId,n.actionId),children:d}):d,l]})}const r4="_grid_15z6r_1",a4="_important_15z6r_32",i4="_input_15z6r_36",o4="_edited_15z6r_40",s4="_disabled_15z6r_48",Bp={grid:r4,important:a4,input:i4,edited:o4,disabled:s4};function l4({column:n,row:r,style:i={}}){const u=n.format?n.format(r[n.key],r):r[n.key],l=["cell"];return n.class&&l.push(n.class),n.rowClass&&l.push(n.rowClass(r)),b.jsx("td",{className:l.join(" "),style:i,children:u})}const u4={text:l4};function Qf({columns:n,rows:r,classes:i,frozenColumns:u=0,minWidth:l,rowClasses:d=[],scrollBehavior:h="smooth",scrollRowIndex:v=0}){const y=M.useRef();M.useLayoutEffect(()=>{if(!y.current)return;const N=y.current.querySelector(`tbody tr:nth-child(${v+1})`);N&&N.scrollIntoView({behavior:h,block:"nearest",inline:"nearest"})},[v,h]);const C=[0];for(let N=0;N<u;N++)C[N+1]=C[N]+(n[N].width||100);const x=(N,O)=>N<u?{position:"sticky",left:`${C[N]}px`,minWidth:`${n[N].width||100}px`,width:`${n[N].width||100}px`,zIndex:O||1}:{},R=n.map((N,O)=>b.jsx("th",{className:N.headerClass||N.class||"",style:x(O,100),children:N.formatHeader?N.formatHeader(N.name,N):N.name},N.key)),T=r.map((N,O)=>{const _=n.map((L,F)=>{const V=u4[L.type||"text"];return b.jsx(V,{column:L,row:N,style:x(F)},L.key)});return b.jsx("tr",{className:d[O]||"",children:_},O)}),j={};return l&&(j.minWidth=l),b.jsx("div",{className:`${Bp.grid} ${i||""}`,ref:y,children:b.jsxs("table",{className:"table table-bordered",style:j,children:[b.jsx("thead",{children:b.jsx("tr",{children:R})}),b.jsx("tbody",{children:T})]})})}function Zp({status:n,title:r}){const i={Active:"primary",Approved:"primary",New:"secondary",Pending:"secondary","Under Review":"secondary","Returned for Corrections":"secondary"}[n]||"dark";return b.jsx("span",{className:`badge text-bg-${i} align-self-center`,title:r,children:n})}const c4=n=>b.jsx("span",{className:n<0?"text-danger":"",children:n===0?"":n.toLocaleString()});function f4({requestId:n,grantNumber:r}){const{request:i,toggleDeleteModal:u}=ri(n,r),{project:l,setRequest:d}=Ji(r||i.grantNumber);if(!i||!l)return;const h=l.requestsList;let v=0;for(;v<h.length&&h[v].requestId!==n;)v++;const y=h[v+1],C=h[v-1],x=(O,_)=>O?b.jsxs("button",{type:"button",className:"btn btn-light btn-sm",onClick:()=>d(O.requestId),children:[_=="prev"?b.jsx("i",{className:"bi bi-chevron-left"}):null,Kw(O),_=="next"?b.jsx("i",{className:"bi bi-chevron-right"}):null]}):b.jsx("span",{}),R=new Set,T=[];for(let O of i.actions)for(let _ of O.resources)R.has(_.resourceId)||(R.add(_.resourceId),T.push(_));T.sort(f0);const j=[{key:"action",name:"Action Details",format:(O,_)=>b.jsx(CD,{action:_,request:i,toggleDeleteModal:u})},{key:"status",name:"Status",format:O=>b.jsx(Zp,{status:O})},...T.map(O=>({key:`resource${O.resourceId}`,name:O.name,icon:O.icon,class:"text-end",format:O.isBoolean?_=>_?eR(_):null:c4,formatHeader:(_,L)=>Hf(L,{userGuide:!1})}))],N=i.actions.map(O=>{const _={...O};for(let{resourceId:L}of T)_[`resource${L}`]=0;for(let{resourceId:L,approved:F,requested:V}of O.resources)_[`resource${L}`]=F||V||0;return _});return b.jsxs("div",{className:"history",children:[b.jsx(Qf,{columns:j,rows:N}),b.jsxs("div",{className:"buttons d-flex justify-content-between",children:[x(y,"prev"),x(C,"next")]})]})}function d4({requestId:n,grantNumber:r}){const{request:i,toggleDeleteModal:u}=ri(n,r);if(!i)return;const l=[{key:"type",name:"Action Details",format:(d,h)=>b.jsx(CD,{action:h,request:i,toggleDeleteModal:u})},{key:"status",name:"Status",format:d=>b.jsx(Zp,{status:d})}];if(i.actions&&i.actions.length)return b.jsx(Qf,{rows:i.actions,columns:l})}function im(...n){return n.filter(r=>r!=null).reduce((r,i)=>{if(typeof i!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return r===null?i:function(...l){r.apply(this,l),i.apply(this,l)}},null)}const p4={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function v4(n,r){const i=`offset${n[0].toUpperCase()}${n.slice(1)}`,u=r[i],l=p4[n];return u+parseInt(Kl(r,l[0]),10)+parseInt(Kl(r,l[1]),10)}const h4={[dc]:"collapse",[h0]:"collapsing",[Zl]:"collapsing",[pc]:"collapse show"},m4=kr.forwardRef(({onEnter:n,onEntering:r,onEntered:i,onExit:u,onExiting:l,className:d,children:h,dimension:v="height",in:y=!1,timeout:C=300,mountOnEnter:x=!1,unmountOnExit:R=!1,appear:T=!1,getDimensionValue:j=v4,...N},O)=>{const _=typeof v=="function"?v():v,L=M.useMemo(()=>im(U=>{U.style[_]="0"},n),[_,n]),F=M.useMemo(()=>im(U=>{const J=`scroll${_[0].toUpperCase()}${_.slice(1)}`;U.style[_]=`${U[J]}px`},r),[_,r]),V=M.useMemo(()=>im(U=>{U.style[_]=null},i),[_,i]),H=M.useMemo(()=>im(U=>{U.style[_]=`${j(_,U)}px`,nj(U)},u),[u,j,_]),z=M.useMemo(()=>im(U=>{U.style[_]=null},l),[_,l]);return b.jsx(rj,{ref:O,addEndListener:tj,...N,"aria-expanded":N.role?y:null,onEnter:L,onEntering:F,onEntered:V,onExit:H,onExiting:z,childRef:h.ref,in:y,timeout:C,mountOnEnter:x,unmountOnExit:R,appear:T,children:(U,J)=>kr.cloneElement(h,{...J,className:qt(d,h.props.className,h4[U],_==="width"&&"collapse-horizontal")})})}),g4=m4;function xD(n,r){return Array.isArray(n)?n.includes(r):n===r}const SD=M.createContext({});SD.displayName="AccordionContext";const H0=SD,ED=M.forwardRef(({as:n="div",bsPrefix:r,className:i,children:u,eventKey:l,...d},h)=>{const{activeEventKey:v}=M.useContext(H0);return r=bn(r,"accordion-collapse"),b.jsx(g4,{ref:h,in:xD(v,l),...d,className:qt(i,r),children:b.jsx(n,{children:M.Children.only(u)})})});ED.displayName="AccordionCollapse";const wD=ED,RD=M.createContext({eventKey:""});RD.displayName="AccordionItemContext";const wR=RD,TD=M.forwardRef(({as:n="div",bsPrefix:r,className:i,onEnter:u,onEntering:l,onEntered:d,onExit:h,onExiting:v,onExited:y,...C},x)=>{r=bn(r,"accordion-body");const{eventKey:R}=M.useContext(wR);return b.jsx(wD,{eventKey:R,onEnter:u,onEntering:l,onEntered:d,onExit:h,onExiting:v,onExited:y,children:b.jsx(n,{ref:x,...C,className:qt(i,r)})})});TD.displayName="AccordionBody";const y4=TD;function b4(n,r){const{activeEventKey:i,onSelect:u,alwaysOpen:l}=M.useContext(H0);return d=>{let h=n===i?null:n;l&&(Array.isArray(i)?i.includes(n)?h=i.filter(v=>v!==n):h=[...i,n]:h=[n]),u==null||u(h,d),r==null||r(d)}}const ID=M.forwardRef(({as:n="button",bsPrefix:r,className:i,onClick:u,...l},d)=>{r=bn(r,"accordion-button");const{eventKey:h}=M.useContext(wR),v=b4(h,u),{activeEventKey:y}=M.useContext(H0);return n==="button"&&(l.type="button"),b.jsx(n,{ref:d,onClick:v,...l,"aria-expanded":Array.isArray(y)?y.includes(h):h===y,className:qt(i,r,!xD(y,h)&&"collapsed")})});ID.displayName="AccordionButton";const ND=ID,_D=M.forwardRef(({as:n="h2",bsPrefix:r,className:i,children:u,onClick:l,...d},h)=>(r=bn(r,"accordion-header"),b.jsx(n,{ref:h,...d,className:qt(i,r),children:b.jsx(ND,{onClick:l,children:u})})));_D.displayName="AccordionHeader";const C4=_D,OD=M.forwardRef(({as:n="div",bsPrefix:r,className:i,eventKey:u,...l},d)=>{r=bn(r,"accordion-item");const h=M.useMemo(()=>({eventKey:u}),[u]);return b.jsx(wR.Provider,{value:h,children:b.jsx(n,{ref:d,...l,className:qt(i,r)})})});OD.displayName="AccordionItem";const x4=OD,AD=M.forwardRef((n,r)=>{const{as:i="div",activeKey:u,bsPrefix:l,className:d,onSelect:h,flush:v,alwaysOpen:y,...C}=F0(n,{activeKey:"onSelect"}),x=bn(l,"accordion"),R=M.useMemo(()=>({activeEventKey:u,onSelect:h,alwaysOpen:y}),[u,h,y]);return b.jsx(H0.Provider,{value:R,children:b.jsx(i,{ref:r,...C,className:qt(d,x,v&&`${x}-flush`)})})});AD.displayName="Accordion";const os=Object.assign(AD,{Button:ND,Collapse:wD,Item:x4,Header:C4,Body:y4}),Nw=2**31-1;function jD(n,r,i){const u=i-Date.now();n.current=u<=Nw?setTimeout(r,u):setTimeout(()=>jD(n,r,i),Nw)}function S4(){const n=fR(),r=M.useRef();return xR(()=>clearTimeout(r.current)),M.useMemo(()=>{const i=()=>clearTimeout(r.current);function u(l,d=0){n()&&(i(),d<=Nw?r.current=setTimeout(l,d):jD(r,l,Date.now()+d))}return{set:u,clear:i,handleRef:r}},[])}const E4=()=>{};function w4(n,r,{disabled:i,clickTrigger:u}={}){const l=r||E4;zj(n,l,{disabled:i,clickTrigger:u});const d=gr(h=>{cD(h)&&l(h)});M.useEffect(()=>{if(i||n==null)return;const h=ev(Qb(n));let v=(h.defaultView||window).event;const y=ql(h,"keyup",C=>{if(C===v){v=void 0;return}d(C)});return()=>{y()}},[n,i,d])}const DD=M.forwardRef((n,r)=>{const{flip:i,offset:u,placement:l,containerPadding:d,popperConfig:h={},transition:v,runTransition:y}=n,[C,x]=g0(),[R,T]=g0(),j=ds(x,r),N=Rw(n.container),O=Rw(n.target),[_,L]=M.useState(!n.show),F=Vj(O,C,Hj({placement:l,enableEvents:!!n.show,containerPadding:d||5,flip:i,offset:u,arrowElement:R,popperConfig:h}));n.show&&_&&L(!1);const V=(...ge)=>{L(!0),n.onExited&&n.onExited(...ge)},H=n.show||!_;if(w4(C,n.onHide,{disabled:!n.rootClose||n.rootCloseDisabled,clickTrigger:n.rootCloseEvent}),!H)return null;const{onExit:z,onExiting:U,onEnter:J,onEntering:q,onEntered:Re}=n;let he=n.children(Object.assign({},F.attributes.popper,{style:F.styles.popper,ref:j}),{popper:F,placement:l,show:!!n.show,arrowProps:Object.assign({},F.attributes.arrow,{style:F.styles.arrow,ref:T})});return he=Tw(v,y,{in:!!n.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:he,onExit:z,onExiting:U,onExited:V,onEnter:J,onEntering:q,onEntered:Re}),N?Bf.createPortal(he,N):null});DD.displayName="Overlay";const R4=DD,kD=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=bn(r,"popover-header"),b.jsx(i,{ref:l,className:qt(n,r),...u})));kD.displayName="PopoverHeader";const T4=kD,MD=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=bn(r,"popover-body"),b.jsx(i,{ref:l,className:qt(n,r),...u})));MD.displayName="PopoverBody";const LD=MD;function PD(n,r){let i=n;return n==="left"?i=r?"end":"start":n==="right"&&(i=r?"start":"end"),i}function FD(n="absolute"){return{position:n,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const I4=M.forwardRef(({bsPrefix:n,placement:r="right",className:i,style:u,children:l,body:d,arrowProps:h,hasDoneInitialMeasure:v,popper:y,show:C,...x},R)=>{const T=bn(n,"popover"),j=P0(),[N]=(r==null?void 0:r.split("-"))||[],O=PD(N,j);let _=u;return C&&!v&&(_={...u,...FD(y==null?void 0:y.strategy)}),b.jsxs("div",{ref:R,role:"tooltip",style:_,"x-placement":N,className:qt(i,T,N&&`bs-popover-${O}`),...x,children:[b.jsx("div",{className:"popover-arrow",...h}),d?b.jsx(LD,{children:l}):l]})}),N4=Object.assign(I4,{Header:T4,Body:LD,POPPER_OFFSET:[0,8]}),VD=M.forwardRef(({bsPrefix:n,placement:r="right",className:i,style:u,children:l,arrowProps:d,hasDoneInitialMeasure:h,popper:v,show:y,...C},x)=>{n=bn(n,"tooltip");const R=P0(),[T]=(r==null?void 0:r.split("-"))||[],j=PD(T,R);let N=u;return y&&!h&&(N={...u,...FD(v==null?void 0:v.strategy)}),b.jsxs("div",{ref:x,style:N,role:"tooltip","x-placement":T,className:qt(i,n,`bs-tooltip-${j}`),...C,children:[b.jsx("div",{className:"tooltip-arrow",...d}),b.jsx("div",{className:`${n}-inner`,children:l})]})});VD.displayName="Tooltip";const RR=Object.assign(VD,{TOOLTIP_OFFSET:[0,6]});function _4(n){const r=M.useRef(null),i=bn(void 0,"popover"),u=bn(void 0,"tooltip"),l=M.useMemo(()=>({name:"offset",options:{offset:()=>{if(n)return n;if(r.current){if(Iw(r.current,i))return N4.POPPER_OFFSET;if(Iw(r.current,u))return RR.TOOLTIP_OFFSET}return[0,0]}}}),[n,i,u]);return[r,[l]]}function O4(n,r){const{ref:i}=n,{ref:u}=r;n.ref=i.__wrapped||(i.__wrapped=l=>i(m0(l))),r.ref=u.__wrapped||(u.__wrapped=l=>u(m0(l)))}const BD=M.forwardRef(({children:n,transition:r=$p,popperConfig:i={},rootClose:u=!1,placement:l="top",show:d=!1,...h},v)=>{const y=M.useRef({}),[C,x]=M.useState(null),[R,T]=_4(h.offset),j=ds(v,R),N=r===!0?$p:r||void 0,O=gr(_=>{x(_),i==null||i.onFirstUpdate==null||i.onFirstUpdate(_)});return y0(()=>{C&&h.target&&(y.current.scheduleUpdate==null||y.current.scheduleUpdate())},[C,h.target]),M.useEffect(()=>{d||x(null)},[d]),b.jsx(R4,{...h,ref:j,popperConfig:{...i,modifiers:T.concat(i.modifiers||[]),onFirstUpdate:O},transition:N,rootClose:u,placement:l,show:d,children:(_,{arrowProps:L,popper:F,show:V})=>{var H,z;O4(_,L);const U=F==null?void 0:F.placement,J=Object.assign(y.current,{state:F==null?void 0:F.state,scheduleUpdate:F==null?void 0:F.update,placement:U,outOfBoundaries:(F==null||(H=F.state)==null||(z=H.modifiersData.hide)==null?void 0:z.isReferenceHidden)||!1,strategy:i.strategy}),q=!!C;return typeof n=="function"?n({..._,placement:U,show:V,...!r&&V&&{className:"show"},popper:J,arrowProps:L,hasDoneInitialMeasure:q}):M.cloneElement(n,{..._,placement:U,arrowProps:L,popper:J,hasDoneInitialMeasure:q,className:qt(n.props.className,!r&&V&&"show"),style:{...n.props.style,..._.style}})}})});BD.displayName="Overlay";const zD=BD;var A4={};function j4(n){return n&&typeof n=="object"?n:{show:n,hide:n}}function tO(n,r,i){const[u]=r,l=u.currentTarget,d=u.relatedTarget||u.nativeEvent[i];(!d||d!==l)&&!xm(l,d)&&n(...r)}_t.oneOf(["click","hover","focus"]);const D4=({trigger:n=["hover","focus"],overlay:r,children:i,popperConfig:u={},show:l,defaultShow:d=!1,onToggle:h,delay:v,placement:y,flip:C=y&&y.indexOf("auto")!==-1,...x})=>{const R=M.useRef(null),T=ds(R,i.ref),j=S4(),N=M.useRef(""),[O,_]=dj(l,d,h),L=j4(v),{onFocus:F,onBlur:V,onClick:H}=typeof i!="function"?M.Children.only(i).props:{},z=xe=>{T(m0(xe))},U=M.useCallback(()=>{if(j.clear(),N.current="show",!L.show){_(!0);return}j.set(()=>{N.current==="show"&&_(!0)},L.show)},[L.show,_,j]),J=M.useCallback(()=>{if(j.clear(),N.current="hide",!L.hide){_(!1);return}j.set(()=>{N.current==="hide"&&_(!1)},L.hide)},[L.hide,_,j]),q=M.useCallback((...xe)=>{U(),F==null||F(...xe)},[U,F]),Re=M.useCallback((...xe)=>{J(),V==null||V(...xe)},[J,V]),he=M.useCallback((...xe)=>{_(!O),H==null||H(...xe)},[H,_,O]),ge=M.useCallback((...xe)=>{tO(U,xe,"fromElement")},[U]),fe=M.useCallback((...xe)=>{tO(J,xe,"toElement")},[J]),Oe=n==null?[]:[].concat(n),Te={ref:z};return Oe.indexOf("click")!==-1&&(Te.onClick=he),Oe.indexOf("focus")!==-1&&(Te.onFocus=q,Te.onBlur=Re),Oe.indexOf("hover")!==-1&&(A4.NODE_ENV!=="production"&&bR(Oe.length>1,'[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'),Te.onMouseOver=ge,Te.onMouseOut=fe),b.jsxs(b.Fragment,{children:[typeof i=="function"?i(Te):M.cloneElement(i,Te),b.jsx(zD,{...x,show:O,onHide:J,flip:C,placement:y,popperConfig:u,target:R.current,children:r})]})},HD=D4;function k4({requestId:n,grantNumber:r}){const{request:i}=ri(n,r),{project:u}=Ji(r||i.grantNumber),{setTab:l}=Ji(r||i.grantNumber);if(!i||!u)return;let d;const h={};for(let T of u.users||[])for(let j of T.resourceIds)h[j]=h[j]||0,h[j]+=1;const v=(i.resources||[]).filter(T=>T.isCredit?(d=T,!1):T.allocated>0).map((T,j)=>({...T,userCount:h[T.resourceId]||0,color:pw[j%pw.length]})),y=d?d.allocated:0,C="Exchange"in i.allowedActions,x=i.exchangeActionId!==null,R=[{key:"name",name:"Resource",format:(T,j)=>Hf(j)},{key:"isActive",name:"Status",format:T=>b.jsx(Zp,{status:T?"Active":"Inactive"})},{key:"used",name:"Balance",class:"position-relative",format:(T,j)=>{if(j.isBoolean)return eR(j.allocated);const N=j.allocated-T,O=Math.max(N,0)*100/j.allocated;return b.jsxs(b.Fragment,{children:[b.jsx("div",{className:`usage bg-${j.color}`,style:{width:`${Math.min(O,100)}%`}}),ni(N,{abbreviate:!0})," of"," ",ni(j.allocated,{abbreviate:!0})," ",j.unit," ","remaining (",Math.round(O),"%)"]})}},{key:"endDate",name:"End Date",format:T=>Vp(T)}];return u.isManager&&R.push({key:"userCount",name:"Users",class:"text-end",format:ni}),u.currentUser&&R.push({key:"resourceUsername",name:"My Username",format:(T,j)=>{const N=u.currentUser.resourceUsernames[j.resourceId];if(N)return N;if(u.currentUser.resourceAccountPendingIds.includes(j.resourceId))return b.jsx(Zp,{status:"Pending",title:"Creation of your account by the resource provider is pending."});if(u.currentUser.resourceIds.includes(j.resourceId)||!j.isActive)return b.jsx(b.Fragment,{children:"—"});if(u.isManager)return b.jsx("a",{href:"#",onClick:_=>{_.preventDefault(),l("users")},children:"Grant access"});const O=b.jsxs(RR,{children:["Please contact ",tR(u)," to request access to this resource."]});return b.jsx(HD,{overlay:O,children:b.jsx("a",{href:"#",onClick:_=>{_.preventDefault()},children:"Request access"})})}}),b.jsxs("div",{className:"overview",children:[C&&!x&&y>Nn.creditAlertThreshold?b.jsxs("button",{onClick:()=>l("resources"),className:"alert alert-info d-flex justify-content-between align-items-center w-100",children:[b.jsxs("span",{children:[b.jsxs("span",{className:"fs-3",children:[mc(Nn.resourceTypeIcons[d.icon])," ",ni(y)]})," ",d.unit," available"]}),b.jsxs("span",{className:"align-middle d-flex align-items-center",children:["Exchange credits for resources!"," ",b.jsx("span",{className:"fs-3",children:mc("chevron-right")})]})]}):null,v.length?b.jsx(Qf,{columns:R,rows:v}):null]})}const M4=[{key:"role",name:"Role",format:n=>b.jsxs(b.Fragment,{children:[mc(Nn.roleIcons[n])," ",n]})},{key:"users",name:"Users",format:n=>{const r=n.slice(0,3);return n.length>4&&(r[2]=`${ni(n.length-3)} others`),r.map((i,u)=>{const l=r.length-u;return`${i}${l>2?",":l==2&&r.length>1?" and":""}`}).join(" ")}}],L4=({requestId:n,grantNumber:r})=>{const{project:i}=Ji(r);if(!i)return;const u=L0.map(({role:l,name:d})=>({role:d,users:(i.users||[]).filter(h=>h.role===l).map(h=>`${h.firstName} ${h.lastName}`)})).filter(l=>l.users.length>0);return u.length?b.jsx(Qf,{rows:u,columns:M4}):null};function P4({requestId:n,grantNumber:r}){const{request:i}=ri(n,r),{project:u,username:l}=Ji(r||i.grantNumber);if(!(!i||!u||i.error||u.error)&&i)return b.jsxs("div",{className:"overview",children:[b.jsx(k4,{requestId:n,grantNumber:r}),u.isManager?b.jsxs("div",{className:"row",children:[b.jsx("div",{className:"col-lg-6",children:b.jsx(L4,{requestId:n,grantNumber:r})}),b.jsx("div",{className:"col-lg-6",children:b.jsx(d4,{requestId:n})})]}):null]})}function Yf(n){"@babel/helpers - typeof";return Yf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Yf(n)}function F4(n,r){if(Yf(n)!="object"||!n)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var u=i.call(n,r||"default");if(Yf(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}function UD(n){var r=F4(n,"string");return Yf(r)=="symbol"?r:String(r)}function Lp(n,r,i){return r=UD(r),r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n}function nO(n,r){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(n);r&&(u=u.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),i.push.apply(i,u)}return i}function yt(n){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?nO(Object(i),!0).forEach(function(u){Lp(n,u,i[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):nO(Object(i)).forEach(function(u){Object.defineProperty(n,u,Object.getOwnPropertyDescriptor(i,u))})}return n}function V4(n){if(Array.isArray(n))return n}function B4(n,r){var i=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(i!=null){var u,l,d,h,v=[],y=!0,C=!1;try{if(d=(i=i.call(n)).next,r===0){if(Object(i)!==i)return;y=!1}else for(;!(y=(u=d.call(i)).done)&&(v.push(u.value),v.length!==r);y=!0);}catch(x){C=!0,l=x}finally{try{if(!y&&i.return!=null&&(h=i.return(),Object(h)!==h))return}finally{if(C)throw l}}return v}}function _w(n,r){(r==null||r>n.length)&&(r=n.length);for(var i=0,u=new Array(r);i<r;i++)u[i]=n[i];return u}function $D(n,r){if(n){if(typeof n=="string")return _w(n,r);var i=Object.prototype.toString.call(n).slice(8,-1);if(i==="Object"&&n.constructor&&(i=n.constructor.name),i==="Map"||i==="Set")return Array.from(n);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _w(n,r)}}function z4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
294
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ta(n,r){return V4(n)||B4(n,r)||$D(n,r)||z4()}function nl(n,r){if(n==null)return{};var i=iR(n,r),u,l;if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(n);for(l=0;l<d.length;l++)u=d[l],!(r.indexOf(u)>=0)&&Object.prototype.propertyIsEnumerable.call(n,u)&&(i[u]=n[u])}return i}var H4=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function GD(n){var r=n.defaultInputValue,i=r===void 0?"":r,u=n.defaultMenuIsOpen,l=u===void 0?!1:u,d=n.defaultValue,h=d===void 0?null:d,v=n.inputValue,y=n.menuIsOpen,C=n.onChange,x=n.onInputChange,R=n.onMenuClose,T=n.onMenuOpen,j=n.value,N=nl(n,H4),O=M.useState(v!==void 0?v:i),_=ta(O,2),L=_[0],F=_[1],V=M.useState(y!==void 0?y:l),H=ta(V,2),z=H[0],U=H[1],J=M.useState(j!==void 0?j:h),q=ta(J,2),Re=q[0],he=q[1],ge=M.useCallback(function(ne,_e){typeof C=="function"&&C(ne,_e),he(ne)},[C]),fe=M.useCallback(function(ne,_e){var G;typeof x=="function"&&(G=x(ne,_e)),F(G!==void 0?G:ne)},[x]),Oe=M.useCallback(function(){typeof T=="function"&&T(),U(!0)},[T]),Te=M.useCallback(function(){typeof R=="function"&&R(),U(!1)},[R]),xe=v!==void 0?v:L,je=y!==void 0?y:z,Le=j!==void 0?j:Re;return yt(yt({},N),{},{inputValue:xe,menuIsOpen:je,onChange:ge,onInputChange:fe,onMenuClose:Te,onMenuOpen:Oe,value:Le})}function U4(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function rO(n,r){for(var i=0;i<r.length;i++){var u=r[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,UD(u.key),u)}}function $4(n,r,i){return r&&rO(n.prototype,r),i&&rO(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n}function G4(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),r&&v0(n,r)}function C0(n){return C0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},C0(n)}function WD(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(WD=function(){return!!n})()}function W4(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function X4(n,r){if(r&&(Yf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return W4(n)}function Y4(n){var r=WD();return function(){var u=C0(n),l;if(r){var d=C0(this).constructor;l=Reflect.construct(u,arguments,d)}else l=u.apply(this,arguments);return X4(this,l)}}function Z4(n){if(Array.isArray(n))return _w(n)}function J4(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function q4(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
293
+ */(function(n){(function(){var r={}.hasOwnProperty;function i(){for(var d="",h=0;h<arguments.length;h++){var v=arguments[h];v&&(d=l(d,u(v)))}return d}function u(d){if(typeof d=="string"||typeof d=="number")return d;if(typeof d!="object")return"";if(Array.isArray(d))return i.apply(null,d);if(d.toString!==Object.prototype.toString&&!d.toString.toString().includes("[native code]"))return d.toString();var h="";for(var v in d)r.call(d,v)&&d[v]&&(h=l(h,v));return h}function l(d,h){return h?d?d+" "+h:d+h:d}n.exports?(i.default=i,n.exports=i):window.classNames=i})()})(qA);var J$=qA.exports;const qt=qp(J$);function iR(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function v0(n,r){return v0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,l){return u.__proto__=l,u},v0(n,r)}function q$(n,r){n.prototype=Object.create(r.prototype),n.prototype.constructor=n,v0(n,r)}const N_={disabled:!1};var QA={},Q$=QA.NODE_ENV!=="production"?_t.oneOfType([_t.number,_t.shape({enter:_t.number,exit:_t.number,appear:_t.number}).isRequired]):null;QA.NODE_ENV!=="production"&&_t.oneOfType([_t.string,_t.shape({enter:_t.string,exit:_t.string,active:_t.string}),_t.shape({enter:_t.string,enterDone:_t.string,enterActive:_t.string,exit:_t.string,exitDone:_t.string,exitActive:_t.string})]);const KA=kr.createContext(null);var K$=function(r){return r.scrollTop},e3={},dm="unmounted",pc="exited",Jl="entering",vc="entered",h0="exiting",iu=function(n){q$(r,n);function r(u,l){var d;d=n.call(this,u,l)||this;var h=l,v=h&&!h.isMounting?u.enter:u.appear,y;return d.appearStatus=null,u.in?v?(y=pc,d.appearStatus=Jl):y=vc:u.unmountOnExit||u.mountOnEnter?y=dm:y=pc,d.state={status:y},d.nextCallback=null,d}r.getDerivedStateFromProps=function(l,d){var h=l.in;return h&&d.status===dm?{status:pc}:null};var i=r.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(l){var d=null;if(l!==this.props){var h=this.state.status;this.props.in?h!==Jl&&h!==vc&&(d=Jl):(h===Jl||h===vc)&&(d=h0)}this.updateStatus(!1,d)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var l=this.props.timeout,d,h,v;return d=h=v=l,l!=null&&typeof l!="number"&&(d=l.exit,h=l.enter,v=l.appear!==void 0?l.appear:h),{exit:d,enter:h,appear:v}},i.updateStatus=function(l,d){if(l===void 0&&(l=!1),d!==null)if(this.cancelNextCallback(),d===Jl){if(this.props.unmountOnExit||this.props.mountOnEnter){var h=this.props.nodeRef?this.props.nodeRef.current:zf.findDOMNode(this);h&&K$(h)}this.performEnter(l)}else this.performExit();else this.props.unmountOnExit&&this.state.status===pc&&this.setState({status:dm})},i.performEnter=function(l){var d=this,h=this.props.enter,v=this.context?this.context.isMounting:l,y=this.props.nodeRef?[v]:[zf.findDOMNode(this),v],C=y[0],x=y[1],R=this.getTimeouts(),T=v?R.appear:R.enter;if(!l&&!h||N_.disabled){this.safeSetState({status:vc},function(){d.props.onEntered(C)});return}this.props.onEnter(C,x),this.safeSetState({status:Jl},function(){d.props.onEntering(C,x),d.onTransitionEnd(T,function(){d.safeSetState({status:vc},function(){d.props.onEntered(C,x)})})})},i.performExit=function(){var l=this,d=this.props.exit,h=this.getTimeouts(),v=this.props.nodeRef?void 0:zf.findDOMNode(this);if(!d||N_.disabled){this.safeSetState({status:pc},function(){l.props.onExited(v)});return}this.props.onExit(v),this.safeSetState({status:h0},function(){l.props.onExiting(v),l.onTransitionEnd(h.exit,function(){l.safeSetState({status:pc},function(){l.props.onExited(v)})})})},i.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(l,d){d=this.setNextCallback(d),this.setState(l,d)},i.setNextCallback=function(l){var d=this,h=!0;return this.nextCallback=function(v){h&&(h=!1,d.nextCallback=null,l(v))},this.nextCallback.cancel=function(){h=!1},this.nextCallback},i.onTransitionEnd=function(l,d){this.setNextCallback(d);var h=this.props.nodeRef?this.props.nodeRef.current:zf.findDOMNode(this),v=l==null&&!this.props.addEndListener;if(!h||v){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var y=this.props.nodeRef?[this.nextCallback]:[h,this.nextCallback],C=y[0],x=y[1];this.props.addEndListener(C,x)}l!=null&&setTimeout(this.nextCallback,l)},i.render=function(){var l=this.state.status;if(l===dm)return null;var d=this.props,h=d.children;d.in,d.mountOnEnter,d.unmountOnExit,d.appear,d.enter,d.exit,d.timeout,d.addEndListener,d.onEnter,d.onEntering,d.onEntered,d.onExit,d.onExiting,d.onExited,d.nodeRef;var v=iR(d,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return kr.createElement(KA.Provider,{value:null},typeof h=="function"?h(l,v):kr.cloneElement(kr.Children.only(h),v))},r}(kr.Component);iu.contextType=KA;iu.propTypes=e3.NODE_ENV!=="production"?{nodeRef:_t.shape({current:typeof Element>"u"?_t.any:function(n,r,i,u,l,d){var h=n[r];return _t.instanceOf(h&&"ownerDocument"in h?h.ownerDocument.defaultView.Element:Element)(n,r,i,u,l,d)}}),children:_t.oneOfType([_t.func.isRequired,_t.element.isRequired]).isRequired,in:_t.bool,mountOnEnter:_t.bool,unmountOnExit:_t.bool,appear:_t.bool,enter:_t.bool,exit:_t.bool,timeout:function(r){var i=Q$;r.addEndListener||(i=i.isRequired);for(var u=arguments.length,l=new Array(u>1?u-1:0),d=1;d<u;d++)l[d-1]=arguments[d];return i.apply(void 0,[r].concat(l))},addEndListener:_t.func,onEnter:_t.func,onEntering:_t.func,onEntered:_t.func,onExit:_t.func,onExiting:_t.func,onExited:_t.func}:{};function kp(){}iu.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:kp,onEntering:kp,onEntered:kp,onExit:kp,onExiting:kp,onExited:kp};iu.UNMOUNTED=dm;iu.EXITED=pc;iu.ENTERING=Jl;iu.ENTERED=vc;iu.EXITING=h0;const t3=iu;function ev(n){return n&&n.ownerDocument||document}function n3(n){var r=ev(n);return r&&r.defaultView||window}function r3(n,r){return n3(n).getComputedStyle(n,r)}var a3=/([A-Z])/g;function i3(n){return n.replace(a3,"-$1").toLowerCase()}var o3=/^ms-/;function Db(n){return i3(n).replace(o3,"-ms-")}var s3=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function l3(n){return!!(n&&s3.test(n))}function eu(n,r){var i="",u="";if(typeof r=="string")return n.style.getPropertyValue(Db(r))||r3(n).getPropertyValue(Db(r));Object.keys(r).forEach(function(l){var d=r[l];!d&&d!==0?n.style.removeProperty(Db(l)):l3(l)?u+=l+"("+d+") ":i+=Db(l)+": "+d+";"}),u&&(i+="transform: "+u+";"),n.style.cssText+=";"+i}const tv=!!(typeof window<"u"&&window.document&&window.document.createElement);var bw=!1,Cw=!1;try{var VE={get passive(){return bw=!0},get once(){return Cw=bw=!0}};tv&&(window.addEventListener("test",VE,VE),window.removeEventListener("test",VE,!0))}catch{}function oR(n,r,i,u){if(u&&typeof u!="boolean"&&!Cw){var l=u.once,d=u.capture,h=i;!Cw&&l&&(h=i.__once||function v(y){this.removeEventListener(r,v,d),i.call(this,y)},i.__once=h),n.addEventListener(r,h,bw?u:d)}n.addEventListener(r,i,u)}function xw(n,r,i,u){var l=u&&typeof u!="boolean"?u.capture:u;n.removeEventListener(r,i,l),i.__once&&n.removeEventListener(r,i.__once,l)}function Ql(n,r,i,u){return oR(n,r,i,u),function(){xw(n,r,i,u)}}function u3(n,r,i,u){if(i===void 0&&(i=!1),u===void 0&&(u=!0),n){var l=document.createEvent("HTMLEvents");l.initEvent(r,i,u),n.dispatchEvent(l)}}function c3(n){var r=eu(n,"transitionDuration")||"",i=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*i}function f3(n,r,i){i===void 0&&(i=5);var u=!1,l=setTimeout(function(){u||u3(n,"transitionend",!0)},r+i),d=Ql(n,"transitionend",function(){u=!0},{once:!0});return function(){clearTimeout(l),d()}}function ej(n,r,i,u){i==null&&(i=c3(n)||0);var l=f3(n,i,u),d=Ql(n,"transitionend",r);return function(){l(),d()}}function __(n,r){const i=eu(n,r)||"",u=i.indexOf("ms")===-1?1e3:1;return parseFloat(i)*u}function tj(n,r){const i=__(n,"transitionDuration"),u=__(n,"transitionDelay"),l=ej(n,d=>{d.target===n&&(l(),r(d))},i+u)}function nj(n){n.offsetHeight}function m0(n){return n&&"setState"in n?zf.findDOMNode(n):n??null}const d3=kr.forwardRef(({onEnter:n,onEntering:r,onEntered:i,onExit:u,onExiting:l,onExited:d,addEndListener:h,children:v,childRef:y,...C},x)=>{const R=M.useRef(null),T=ps(R,y),j=U=>{T(m0(U))},N=U=>J=>{U&&R.current&&U(R.current,J)},O=M.useCallback(N(n),[n]),_=M.useCallback(N(r),[r]),L=M.useCallback(N(i),[i]),F=M.useCallback(N(u),[u]),V=M.useCallback(N(l),[l]),H=M.useCallback(N(d),[d]),z=M.useCallback(N(h),[h]);return b.jsx(t3,{ref:x,...C,onEnter:O,onEntered:L,onEntering:_,onExit:F,onExited:H,onExiting:V,addEndListener:z,nodeRef:R,children:typeof v=="function"?(U,J)=>v(U,{...J,ref:j}):kr.cloneElement(v,{ref:j})})}),rj=d3,p3={[Jl]:"show",[vc]:"show"},aj=M.forwardRef(({className:n,children:r,transitionClasses:i={},onEnter:u,...l},d)=>{const h={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...l},v=M.useCallback((y,C)=>{nj(y),u==null||u(y,C)},[u]);return b.jsx(rj,{ref:d,addEndListener:tj,...h,onEnter:v,childRef:r.ref,children:(y,C)=>M.cloneElement(r,{...C,className:qt("fade",n,r.props.className,p3[y],i[y])})})});aj.displayName="Fade";const $p=aj;function sR(n){return typeof n=="boolean"?n?$p:aR:n}const ij=({transition:n,...r})=>b.jsx(JA,{...r,transition:sR(n)});ij.displayName="TabContainer";const v3=ij,h3=["xxl","xl","lg","md","sm","xs"],m3="xs",oj=M.createContext({prefixes:{},breakpoints:h3,minBreakpoint:m3});function bn(n,r){const{prefixes:i}=M.useContext(oj);return n||i[r]||r}function P0(){const{dir:n}=M.useContext(oj);return n==="rtl"}const sj=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=bn(r,"tab-content"),b.jsx(i,{ref:l,className:qt(n,r),...u})));sj.displayName="TabContent";const lj=sj,uj=M.forwardRef(({bsPrefix:n,transition:r,...i},u)=>{const[{className:l,as:d="div",...h},{isActive:v,onEnter:y,onEntering:C,onEntered:x,onExit:R,onExiting:T,onExited:j,mountOnEnter:N,unmountOnExit:O,transition:_=$p}]=XA({...i,transition:sR(r)}),L=bn(n,"tab-pane");return b.jsx(Kp.Provider,{value:null,children:b.jsx(ru.Provider,{value:null,children:b.jsx(_,{in:v,onEnter:y,onEntering:C,onEntered:x,onExit:R,onExiting:T,onExited:j,mountOnEnter:N,unmountOnExit:O,children:b.jsx(d,{...h,ref:u,className:qt(l,L,v&&"active")})})})})});uj.displayName="TabPane";const cj=uj,g3={eventKey:_t.oneOfType([_t.string,_t.number]),title:_t.node.isRequired,disabled:_t.bool,tabClassName:_t.string,tabAttrs:_t.object},fj=()=>{throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};fj.propTypes=g3;const kb=Object.assign(fj,{Container:v3,Content:lj,Pane:cj});function Rt(){return Rt=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])}return n},Rt.apply(this,arguments)}var y3={},b3=function(n,r,i,u,l,d,h,v){if(y3.NODE_ENV!=="production"&&r===void 0)throw new Error("invariant requires an error message argument");if(!n){var y;if(r===void 0)y=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var C=[i,u,l,d,h,v],x=0;y=new Error(r.replace(/%s/g,function(){return C[x++]})),y.name="Invariant Violation"}throw y.framesToPop=1,y}},C3=b3;const O_=qp(C3);function A_(n){return"default"+n.charAt(0).toUpperCase()+n.substr(1)}function x3(n){var r=S3(n,"string");return typeof r=="symbol"?r:String(r)}function S3(n,r){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var u=i.call(n,r||"default");if(typeof u!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}function dj(n,r,i){var u=M.useRef(n!==void 0),l=M.useState(r),d=l[0],h=l[1],v=n!==void 0,y=u.current;return u.current=v,!v&&y&&d!==r&&h(r),[v?n:d,M.useCallback(function(C){for(var x=arguments.length,R=new Array(x>1?x-1:0),T=1;T<x;T++)R[T-1]=arguments[T];i&&i.apply(void 0,[C].concat(R)),h(C)},[i])]}function F0(n,r){return Object.keys(r).reduce(function(i,u){var l,d=i,h=d[A_(u)],v=d[u],y=iR(d,[A_(u),u].map(x3)),C=r[u],x=dj(v,h,n[C]),R=x[0],T=x[1];return Rt({},y,(l={},l[u]=R,l[C]=T,l))},n)}var j_={exports:{}},Sw={exports:{}};(function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=i;function i(u){function l(h,v,y,C,x,R){var T=C||"<<anonymous>>",j=R||y;if(v[y]==null)return h?new Error("Required "+x+" `"+j+"` was not specified "+("in `"+T+"`.")):null;for(var N=arguments.length,O=Array(N>6?N-6:0),_=6;_<N;_++)O[_-6]=arguments[_];return u.apply(void 0,[v,y,T,x,j].concat(O))}var d=l.bind(null,!1);return d.isRequired=l.bind(null,!0),d}n.exports=r.default})(Sw,Sw.exports);var E3=Sw.exports;(function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=d;var i=E3,u=l(i);function l(h){return h&&h.__esModule?h:{default:h}}function d(){for(var h=arguments.length,v=Array(h),y=0;y<h;y++)v[y]=arguments[y];function C(){for(var x=arguments.length,R=Array(x),T=0;T<x;T++)R[T]=arguments[T];var j=null;return v.forEach(function(N){if(j==null){var O=N.apply(void 0,R);O!=null&&(j=O)}}),j}return(0,u.default)(C)}n.exports=r.default})(j_,j_.exports);var w3=Function.prototype.bind.call(Function.prototype.call,[].slice);function ql(n,r){return w3(n.querySelectorAll(r))}function pj(){const[,n]=M.useReducer(r=>!r,!1);return n}const vj=M.createContext(null);vj.displayName="NavContext";const lR=vj,R3="data-rr-ui-",T3="rrUi";function nv(n){return`${R3}${n}`}function I3(n){return`${T3}${n}`}const N3=["as","disabled"];function _3(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function O3(n){return!n||n.trim()==="#"}function uR({tagName:n,disabled:r,href:i,target:u,rel:l,role:d,onClick:h,tabIndex:v=0,type:y}){n||(i!=null||u!=null||l!=null?n="a":n="button");const C={tagName:n};if(n==="button")return[{type:y||"button",disabled:r},C];const x=T=>{if((r||n==="a"&&O3(i))&&T.preventDefault(),r){T.stopPropagation();return}h==null||h(T)},R=T=>{T.key===" "&&(T.preventDefault(),x(T))};return n==="a"&&(i||(i="#"),r&&(i=void 0)),[{role:d??"button",disabled:void 0,tabIndex:r?void 0:v,href:i,target:n==="a"?u:void 0,"aria-disabled":r||void 0,rel:n==="a"?l:void 0,onClick:x,onKeyDown:R},C]}const cR=M.forwardRef((n,r)=>{let{as:i,disabled:u}=n,l=_3(n,N3);const[d,{tagName:h}]=uR(Object.assign({tagName:i,disabled:u},l));return b.jsx(h,Object.assign({},l,d,{ref:r}))});cR.displayName="Button";const A3=["as","active","eventKey"];function j3(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function hj({key:n,onClick:r,active:i,id:u,role:l,disabled:d}){const h=M.useContext(ru),v=M.useContext(lR),y=M.useContext(Kp);let C=i;const x={role:l};if(v){!l&&v.role==="tablist"&&(x.role="tab");const R=v.getControllerId(n??null),T=v.getControlledId(n??null);x[nv("event-key")]=n,x.id=R||u,C=i==null&&n!=null?v.activeKey===n:i,(C||!(y!=null&&y.unmountOnExit)&&!(y!=null&&y.mountOnEnter))&&(x["aria-controls"]=T)}return x.role==="tab"&&(x["aria-selected"]=C,C||(x.tabIndex=-1),d&&(x.tabIndex=-1,x["aria-disabled"]=!0)),x.onClick=gr(R=>{d||(r==null||r(R),n!=null&&h&&!R.isPropagationStopped()&&h(n,R))}),[x,{isActive:C}]}const mj=M.forwardRef((n,r)=>{let{as:i=cR,active:u,eventKey:l}=n,d=j3(n,A3);const[h,v]=hj(Object.assign({key:Xf(l,d.href),active:u},d));return h[nv("active")]=v.isActive,b.jsx(i,Object.assign({},d,h,{ref:r}))});mj.displayName="NavItem";const D3=mj,k3=["as","onSelect","activeKey","role","onKeyDown"];function M3(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}const D_=()=>{},k_=nv("event-key"),gj=M.forwardRef((n,r)=>{let{as:i="div",onSelect:u,activeKey:l,role:d,onKeyDown:h}=n,v=M3(n,k3);const y=pj(),C=M.useRef(!1),x=M.useContext(ru),R=M.useContext(Kp);let T,j;R&&(d=d||"tablist",l=R.activeKey,T=R.getControlledId,j=R.getControllerId);const N=M.useRef(null),O=V=>{const H=N.current;if(!H)return null;const z=ql(H,`[${k_}]:not([aria-disabled=true])`),U=H.querySelector("[aria-selected=true]");if(!U||U!==document.activeElement)return null;const J=z.indexOf(U);if(J===-1)return null;let q=J+V;return q>=z.length&&(q=0),q<0&&(q=z.length-1),z[q]},_=(V,H)=>{V!=null&&(u==null||u(V,H),x==null||x(V,H))},L=V=>{if(h==null||h(V),!R)return;let H;switch(V.key){case"ArrowLeft":case"ArrowUp":H=O(-1);break;case"ArrowRight":case"ArrowDown":H=O(1);break;default:return}H&&(V.preventDefault(),_(H.dataset[I3("EventKey")]||null,V),C.current=!0,y())};M.useEffect(()=>{if(N.current&&C.current){const V=N.current.querySelector(`[${k_}][aria-selected=true]`);V==null||V.focus()}C.current=!1});const F=ps(r,N);return b.jsx(ru.Provider,{value:_,children:b.jsx(lR.Provider,{value:{role:d,activeKey:Xf(l),getControlledId:T||D_,getControllerId:j||D_},children:b.jsx(i,Object.assign({},v,{onKeyDown:L,ref:F,role:d}))})})});gj.displayName="Nav";const L3=Object.assign(gj,{Item:D3}),yj=M.createContext(null);yj.displayName="NavbarContext";const bj=yj,Cj=M.createContext(null);Cj.displayName="CardHeaderContext";const P3=Cj,xj=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=bn(r,"nav-item"),b.jsx(i,{ref:l,className:qt(n,r),...u})));xj.displayName="NavItem";const Sj=xj;function g0(){return M.useState(null)}function F3(n,r,i,u=!1){const l=gr(i);M.useEffect(()=>{const d=typeof n=="function"?n():n;return d.addEventListener(r,l,u),()=>d.removeEventListener(r,l,u)},[n])}function fR(){const n=M.useRef(!0),r=M.useRef(()=>n.current);return M.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),r.current}function Ej(n){const r=M.useRef(null);return M.useEffect(()=>{r.current=n}),r.current}const V3=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",B3=typeof document<"u",y0=B3||V3?M.useLayoutEffect:M.useEffect,z3=["onKeyDown"];function H3(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function U3(n){return!n||n.trim()==="#"}const wj=M.forwardRef((n,r)=>{let{onKeyDown:i}=n,u=H3(n,z3);const[l]=uR(Object.assign({tagName:"a"},u)),d=gr(h=>{l.onKeyDown(h),i==null||i(h)});return U3(u.href)||u.role==="button"?b.jsx("a",Object.assign({ref:r},u,l,{onKeyDown:d})):b.jsx("a",Object.assign({ref:r},u,{onKeyDown:i}))});wj.displayName="Anchor";const Rj=wj,Tj=M.forwardRef(({bsPrefix:n,className:r,as:i=Rj,active:u,eventKey:l,disabled:d=!1,...h},v)=>{n=bn(n,"nav-link");const[y,C]=hj({key:Xf(l,h.href),active:u,disabled:d,...h});return b.jsx(i,{...h,...y,ref:v,disabled:d,className:qt(r,n,d&&"disabled",C.isActive&&"active")})});Tj.displayName="NavLink";const Ij=Tj,Nj=M.forwardRef((n,r)=>{const{as:i="div",bsPrefix:u,variant:l,fill:d=!1,justify:h=!1,navbar:v,navbarScroll:y,className:C,activeKey:x,...R}=F0(n,{activeKey:"onSelect"}),T=bn(u,"nav");let j,N,O=!1;const _=M.useContext(bj),L=M.useContext(P3);return _?(j=_.bsPrefix,O=v??!0):L&&({cardHeaderBsPrefix:N}=L),b.jsx(L3,{as:i,ref:r,activeKey:x,className:qt(C,{[T]:!O,[`${j}-nav`]:O,[`${j}-nav-scroll`]:O&&y,[`${N}-${l}`]:!!N,[`${T}-${l}`]:!!l,[`${T}-fill`]:d,[`${T}-justified`]:h}),...R})});Nj.displayName="Nav";const $3=Object.assign(Nj,{Item:Sj,Link:Ij});function M_(n,r){let i=0;return M.Children.map(n,u=>M.isValidElement(u)?r(u,i++):u)}function G3(n,r){let i=0;M.Children.forEach(n,u=>{M.isValidElement(u)&&r(u,i++)})}function W3(n){let r;return G3(n,i=>{r==null&&(r=i.props.eventKey)}),r}function X3(n){const{title:r,eventKey:i,disabled:u,tabClassName:l,tabAttrs:d,id:h}=n.props;return r==null?null:b.jsx(Sj,{as:"li",role:"presentation",children:b.jsx(Ij,{as:"button",type:"button",eventKey:i,disabled:u,id:h,className:l,...d,children:r})})}const _j=n=>{const{id:r,onSelect:i,transition:u,mountOnEnter:l=!1,unmountOnExit:d=!1,variant:h="tabs",children:v,activeKey:y=W3(v),...C}=F0(n,{activeKey:"onSelect"});return b.jsxs(JA,{id:r,activeKey:y,onSelect:i,transition:sR(u),mountOnEnter:l,unmountOnExit:d,children:[b.jsx($3,{...C,role:"tablist",as:"ul",variant:h,children:M_(v,X3)}),b.jsx(lj,{children:M_(v,x=>{const R={...x.props};return delete R.title,delete R.disabled,delete R.tabClassName,delete R.tabAttrs,b.jsx(cj,{...R})})})]})};_j.displayName="Tabs";const Y3=_j,Z3=M.createContext(null),V0=Z3;var L_=Object.prototype.hasOwnProperty;function P_(n,r,i){for(i of n.keys())if(pm(i,r))return i}function pm(n,r){var i,u,l;if(n===r)return!0;if(n&&r&&(i=n.constructor)===r.constructor){if(i===Date)return n.getTime()===r.getTime();if(i===RegExp)return n.toString()===r.toString();if(i===Array){if((u=n.length)===r.length)for(;u--&&pm(n[u],r[u]););return u===-1}if(i===Set){if(n.size!==r.size)return!1;for(u of n)if(l=u,l&&typeof l=="object"&&(l=P_(r,l),!l)||!r.has(l))return!1;return!0}if(i===Map){if(n.size!==r.size)return!1;for(u of n)if(l=u[0],l&&typeof l=="object"&&(l=P_(r,l),!l)||!pm(u[1],r.get(l)))return!1;return!0}if(i===ArrayBuffer)n=new Uint8Array(n),r=new Uint8Array(r);else if(i===DataView){if((u=n.byteLength)===r.byteLength)for(;u--&&n.getInt8(u)===r.getInt8(u););return u===-1}if(ArrayBuffer.isView(n)){if((u=n.byteLength)===r.byteLength)for(;u--&&n[u]===r[u];);return u===-1}if(!i||typeof n=="object"){u=0;for(i in n)if(L_.call(n,i)&&++u&&!L_.call(r,i)||!(i in r)||!pm(n[i],r[i]))return!1;return Object.keys(r).length===u}}return n!==n&&r!==r}function J3(n){const r=fR();return[n[0],M.useCallback(i=>{if(r())return n[1](i)},[r,n[1]])]}var Oi="top",Ro="bottom",To="right",Ai="left",dR="auto",Am=[Oi,Ro,To,Ai],Gp="start",bm="end",q3="clippingParents",Oj="viewport",am="popper",Q3="reference",F_=Am.reduce(function(n,r){return n.concat([r+"-"+Gp,r+"-"+bm])},[]),Aj=[].concat(Am,[dR]).reduce(function(n,r){return n.concat([r,r+"-"+Gp,r+"-"+bm])},[]),K3="beforeRead",eG="read",tG="afterRead",nG="beforeMain",rG="main",aG="afterMain",iG="beforeWrite",oG="write",sG="afterWrite",lG=[K3,eG,tG,nG,rG,aG,iG,oG,sG];function el(n){return n.split("-")[0]}function qi(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var r=n.ownerDocument;return r&&r.defaultView||window}return n}function Yf(n){var r=qi(n).Element;return n instanceof r||n instanceof Element}function tl(n){var r=qi(n).HTMLElement;return n instanceof r||n instanceof HTMLElement}function pR(n){if(typeof ShadowRoot>"u")return!1;var r=qi(n).ShadowRoot;return n instanceof r||n instanceof ShadowRoot}var $f=Math.max,b0=Math.min,Wp=Math.round;function Ew(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}function jj(){return!/^((?!chrome|android).)*safari/i.test(Ew())}function Xp(n,r,i){r===void 0&&(r=!1),i===void 0&&(i=!1);var u=n.getBoundingClientRect(),l=1,d=1;r&&tl(n)&&(l=n.offsetWidth>0&&Wp(u.width)/n.offsetWidth||1,d=n.offsetHeight>0&&Wp(u.height)/n.offsetHeight||1);var h=Yf(n)?qi(n):window,v=h.visualViewport,y=!jj()&&i,C=(u.left+(y&&v?v.offsetLeft:0))/l,x=(u.top+(y&&v?v.offsetTop:0))/d,R=u.width/l,T=u.height/d;return{width:R,height:T,top:x,right:C+R,bottom:x+T,left:C,x:C,y:x}}function vR(n){var r=Xp(n),i=n.offsetWidth,u=n.offsetHeight;return Math.abs(r.width-i)<=1&&(i=r.width),Math.abs(r.height-u)<=1&&(u=r.height),{x:n.offsetLeft,y:n.offsetTop,width:i,height:u}}function Dj(n,r){var i=r.getRootNode&&r.getRootNode();if(n.contains(r))return!0;if(i&&pR(i)){var u=r;do{if(u&&n.isSameNode(u))return!0;u=u.parentNode||u.host}while(u)}return!1}function yc(n){return n?(n.nodeName||"").toLowerCase():null}function au(n){return qi(n).getComputedStyle(n)}function uG(n){return["table","td","th"].indexOf(yc(n))>=0}function bc(n){return((Yf(n)?n.ownerDocument:n.document)||window.document).documentElement}function B0(n){return yc(n)==="html"?n:n.assignedSlot||n.parentNode||(pR(n)?n.host:null)||bc(n)}function V_(n){return!tl(n)||au(n).position==="fixed"?null:n.offsetParent}function cG(n){var r=/firefox/i.test(Ew()),i=/Trident/i.test(Ew());if(i&&tl(n)){var u=au(n);if(u.position==="fixed")return null}var l=B0(n);for(pR(l)&&(l=l.host);tl(l)&&["html","body"].indexOf(yc(l))<0;){var d=au(l);if(d.transform!=="none"||d.perspective!=="none"||d.contain==="paint"||["transform","perspective"].indexOf(d.willChange)!==-1||r&&d.willChange==="filter"||r&&d.filter&&d.filter!=="none")return l;l=l.parentNode}return null}function jm(n){for(var r=qi(n),i=V_(n);i&&uG(i)&&au(i).position==="static";)i=V_(i);return i&&(yc(i)==="html"||yc(i)==="body"&&au(i).position==="static")?r:i||cG(n)||r}function hR(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function vm(n,r,i){return $f(n,b0(r,i))}function fG(n,r,i){var u=vm(n,r,i);return u>i?i:u}function kj(){return{top:0,right:0,bottom:0,left:0}}function Mj(n){return Object.assign({},kj(),n)}function Lj(n,r){return r.reduce(function(i,u){return i[u]=n,i},{})}var dG=function(r,i){return r=typeof r=="function"?r(Object.assign({},i.rects,{placement:i.placement})):r,Mj(typeof r!="number"?r:Lj(r,Am))};function pG(n){var r,i=n.state,u=n.name,l=n.options,d=i.elements.arrow,h=i.modifiersData.popperOffsets,v=el(i.placement),y=hR(v),C=[Ai,To].indexOf(v)>=0,x=C?"height":"width";if(!(!d||!h)){var R=dG(l.padding,i),T=vR(d),j=y==="y"?Oi:Ai,N=y==="y"?Ro:To,O=i.rects.reference[x]+i.rects.reference[y]-h[y]-i.rects.popper[x],_=h[y]-i.rects.reference[y],L=jm(d),F=L?y==="y"?L.clientHeight||0:L.clientWidth||0:0,V=O/2-_/2,H=R[j],z=F-T[x]-R[N],U=F/2-T[x]/2+V,J=vm(H,U,z),q=y;i.modifiersData[u]=(r={},r[q]=J,r.centerOffset=J-U,r)}}function vG(n){var r=n.state,i=n.options,u=i.element,l=u===void 0?"[data-popper-arrow]":u;l!=null&&(typeof l=="string"&&(l=r.elements.popper.querySelector(l),!l)||Dj(r.elements.popper,l)&&(r.elements.arrow=l))}const hG={name:"arrow",enabled:!0,phase:"main",fn:pG,effect:vG,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Yp(n){return n.split("-")[1]}var mG={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gG(n,r){var i=n.x,u=n.y,l=r.devicePixelRatio||1;return{x:Wp(i*l)/l||0,y:Wp(u*l)/l||0}}function B_(n){var r,i=n.popper,u=n.popperRect,l=n.placement,d=n.variation,h=n.offsets,v=n.position,y=n.gpuAcceleration,C=n.adaptive,x=n.roundOffsets,R=n.isFixed,T=h.x,j=T===void 0?0:T,N=h.y,O=N===void 0?0:N,_=typeof x=="function"?x({x:j,y:O}):{x:j,y:O};j=_.x,O=_.y;var L=h.hasOwnProperty("x"),F=h.hasOwnProperty("y"),V=Ai,H=Oi,z=window;if(C){var U=jm(i),J="clientHeight",q="clientWidth";if(U===qi(i)&&(U=bc(i),au(U).position!=="static"&&v==="absolute"&&(J="scrollHeight",q="scrollWidth")),U=U,l===Oi||(l===Ai||l===To)&&d===bm){H=Ro;var Re=R&&U===z&&z.visualViewport?z.visualViewport.height:U[J];O-=Re-u.height,O*=y?1:-1}if(l===Ai||(l===Oi||l===Ro)&&d===bm){V=To;var he=R&&U===z&&z.visualViewport?z.visualViewport.width:U[q];j-=he-u.width,j*=y?1:-1}}var ge=Object.assign({position:v},C&&mG),fe=x===!0?gG({x:j,y:O},qi(i)):{x:j,y:O};if(j=fe.x,O=fe.y,y){var Oe;return Object.assign({},ge,(Oe={},Oe[H]=F?"0":"",Oe[V]=L?"0":"",Oe.transform=(z.devicePixelRatio||1)<=1?"translate("+j+"px, "+O+"px)":"translate3d("+j+"px, "+O+"px, 0)",Oe))}return Object.assign({},ge,(r={},r[H]=F?O+"px":"",r[V]=L?j+"px":"",r.transform="",r))}function yG(n){var r=n.state,i=n.options,u=i.gpuAcceleration,l=u===void 0?!0:u,d=i.adaptive,h=d===void 0?!0:d,v=i.roundOffsets,y=v===void 0?!0:v,C={placement:el(r.placement),variation:Yp(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:l,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,B_(Object.assign({},C,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:h,roundOffsets:y})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,B_(Object.assign({},C,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:y})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}const bG={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:yG,data:{}};var Mb={passive:!0};function CG(n){var r=n.state,i=n.instance,u=n.options,l=u.scroll,d=l===void 0?!0:l,h=u.resize,v=h===void 0?!0:h,y=qi(r.elements.popper),C=[].concat(r.scrollParents.reference,r.scrollParents.popper);return d&&C.forEach(function(x){x.addEventListener("scroll",i.update,Mb)}),v&&y.addEventListener("resize",i.update,Mb),function(){d&&C.forEach(function(x){x.removeEventListener("scroll",i.update,Mb)}),v&&y.removeEventListener("resize",i.update,Mb)}}const xG={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:CG,data:{}};var SG={left:"right",right:"left",bottom:"top",top:"bottom"};function qb(n){return n.replace(/left|right|bottom|top/g,function(r){return SG[r]})}var EG={start:"end",end:"start"};function z_(n){return n.replace(/start|end/g,function(r){return EG[r]})}function mR(n){var r=qi(n),i=r.pageXOffset,u=r.pageYOffset;return{scrollLeft:i,scrollTop:u}}function gR(n){return Xp(bc(n)).left+mR(n).scrollLeft}function wG(n,r){var i=qi(n),u=bc(n),l=i.visualViewport,d=u.clientWidth,h=u.clientHeight,v=0,y=0;if(l){d=l.width,h=l.height;var C=jj();(C||!C&&r==="fixed")&&(v=l.offsetLeft,y=l.offsetTop)}return{width:d,height:h,x:v+gR(n),y}}function RG(n){var r,i=bc(n),u=mR(n),l=(r=n.ownerDocument)==null?void 0:r.body,d=$f(i.scrollWidth,i.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),h=$f(i.scrollHeight,i.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),v=-u.scrollLeft+gR(n),y=-u.scrollTop;return au(l||i).direction==="rtl"&&(v+=$f(i.clientWidth,l?l.clientWidth:0)-d),{width:d,height:h,x:v,y}}function yR(n){var r=au(n),i=r.overflow,u=r.overflowX,l=r.overflowY;return/auto|scroll|overlay|hidden/.test(i+l+u)}function Pj(n){return["html","body","#document"].indexOf(yc(n))>=0?n.ownerDocument.body:tl(n)&&yR(n)?n:Pj(B0(n))}function hm(n,r){var i;r===void 0&&(r=[]);var u=Pj(n),l=u===((i=n.ownerDocument)==null?void 0:i.body),d=qi(u),h=l?[d].concat(d.visualViewport||[],yR(u)?u:[]):u,v=r.concat(h);return l?v:v.concat(hm(B0(h)))}function ww(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function TG(n,r){var i=Xp(n,!1,r==="fixed");return i.top=i.top+n.clientTop,i.left=i.left+n.clientLeft,i.bottom=i.top+n.clientHeight,i.right=i.left+n.clientWidth,i.width=n.clientWidth,i.height=n.clientHeight,i.x=i.left,i.y=i.top,i}function H_(n,r,i){return r===Oj?ww(wG(n,i)):Yf(r)?TG(r,i):ww(RG(bc(n)))}function IG(n){var r=hm(B0(n)),i=["absolute","fixed"].indexOf(au(n).position)>=0,u=i&&tl(n)?jm(n):n;return Yf(u)?r.filter(function(l){return Yf(l)&&Dj(l,u)&&yc(l)!=="body"}):[]}function NG(n,r,i,u){var l=r==="clippingParents"?IG(n):[].concat(r),d=[].concat(l,[i]),h=d[0],v=d.reduce(function(y,C){var x=H_(n,C,u);return y.top=$f(x.top,y.top),y.right=b0(x.right,y.right),y.bottom=b0(x.bottom,y.bottom),y.left=$f(x.left,y.left),y},H_(n,h,u));return v.width=v.right-v.left,v.height=v.bottom-v.top,v.x=v.left,v.y=v.top,v}function Fj(n){var r=n.reference,i=n.element,u=n.placement,l=u?el(u):null,d=u?Yp(u):null,h=r.x+r.width/2-i.width/2,v=r.y+r.height/2-i.height/2,y;switch(l){case Oi:y={x:h,y:r.y-i.height};break;case Ro:y={x:h,y:r.y+r.height};break;case To:y={x:r.x+r.width,y:v};break;case Ai:y={x:r.x-i.width,y:v};break;default:y={x:r.x,y:r.y}}var C=l?hR(l):null;if(C!=null){var x=C==="y"?"height":"width";switch(d){case Gp:y[C]=y[C]-(r[x]/2-i[x]/2);break;case bm:y[C]=y[C]+(r[x]/2-i[x]/2);break}}return y}function Cm(n,r){r===void 0&&(r={});var i=r,u=i.placement,l=u===void 0?n.placement:u,d=i.strategy,h=d===void 0?n.strategy:d,v=i.boundary,y=v===void 0?q3:v,C=i.rootBoundary,x=C===void 0?Oj:C,R=i.elementContext,T=R===void 0?am:R,j=i.altBoundary,N=j===void 0?!1:j,O=i.padding,_=O===void 0?0:O,L=Mj(typeof _!="number"?_:Lj(_,Am)),F=T===am?Q3:am,V=n.rects.popper,H=n.elements[N?F:T],z=NG(Yf(H)?H:H.contextElement||bc(n.elements.popper),y,x,h),U=Xp(n.elements.reference),J=Fj({reference:U,element:V,strategy:"absolute",placement:l}),q=ww(Object.assign({},V,J)),Re=T===am?q:U,he={top:z.top-Re.top+L.top,bottom:Re.bottom-z.bottom+L.bottom,left:z.left-Re.left+L.left,right:Re.right-z.right+L.right},ge=n.modifiersData.offset;if(T===am&&ge){var fe=ge[l];Object.keys(he).forEach(function(Oe){var Te=[To,Ro].indexOf(Oe)>=0?1:-1,xe=[Oi,Ro].indexOf(Oe)>=0?"y":"x";he[Oe]+=fe[xe]*Te})}return he}function _G(n,r){r===void 0&&(r={});var i=r,u=i.placement,l=i.boundary,d=i.rootBoundary,h=i.padding,v=i.flipVariations,y=i.allowedAutoPlacements,C=y===void 0?Aj:y,x=Yp(u),R=x?v?F_:F_.filter(function(N){return Yp(N)===x}):Am,T=R.filter(function(N){return C.indexOf(N)>=0});T.length===0&&(T=R);var j=T.reduce(function(N,O){return N[O]=Cm(n,{placement:O,boundary:l,rootBoundary:d,padding:h})[el(O)],N},{});return Object.keys(j).sort(function(N,O){return j[N]-j[O]})}function OG(n){if(el(n)===dR)return[];var r=qb(n);return[z_(n),r,z_(r)]}function AG(n){var r=n.state,i=n.options,u=n.name;if(!r.modifiersData[u]._skip){for(var l=i.mainAxis,d=l===void 0?!0:l,h=i.altAxis,v=h===void 0?!0:h,y=i.fallbackPlacements,C=i.padding,x=i.boundary,R=i.rootBoundary,T=i.altBoundary,j=i.flipVariations,N=j===void 0?!0:j,O=i.allowedAutoPlacements,_=r.options.placement,L=el(_),F=L===_,V=y||(F||!N?[qb(_)]:OG(_)),H=[_].concat(V).reduce(function(Se,Ne){return Se.concat(el(Ne)===dR?_G(r,{placement:Ne,boundary:x,rootBoundary:R,padding:C,flipVariations:N,allowedAutoPlacements:O}):Ne)},[]),z=r.rects.reference,U=r.rects.popper,J=new Map,q=!0,Re=H[0],he=0;he<H.length;he++){var ge=H[he],fe=el(ge),Oe=Yp(ge)===Gp,Te=[Oi,Ro].indexOf(fe)>=0,xe=Te?"width":"height",je=Cm(r,{placement:ge,boundary:x,rootBoundary:R,altBoundary:T,padding:C}),Le=Te?Oe?To:Ai:Oe?Ro:Oi;z[xe]>U[xe]&&(Le=qb(Le));var ne=qb(Le),_e=[];if(d&&_e.push(je[fe]<=0),v&&_e.push(je[Le]<=0,je[ne]<=0),_e.every(function(Se){return Se})){Re=ge,q=!1;break}J.set(ge,_e)}if(q)for(var G=N?3:1,Y=function(Ne){var le=H.find(function(ve){var we=J.get(ve);if(we)return we.slice(0,Ne).every(function(Ve){return Ve})});if(le)return Re=le,"break"},re=G;re>0;re--){var ye=Y(re);if(ye==="break")break}r.placement!==Re&&(r.modifiersData[u]._skip=!0,r.placement=Re,r.reset=!0)}}const jG={name:"flip",enabled:!0,phase:"main",fn:AG,requiresIfExists:["offset"],data:{_skip:!1}};function U_(n,r,i){return i===void 0&&(i={x:0,y:0}),{top:n.top-r.height-i.y,right:n.right-r.width+i.x,bottom:n.bottom-r.height+i.y,left:n.left-r.width-i.x}}function $_(n){return[Oi,To,Ro,Ai].some(function(r){return n[r]>=0})}function DG(n){var r=n.state,i=n.name,u=r.rects.reference,l=r.rects.popper,d=r.modifiersData.preventOverflow,h=Cm(r,{elementContext:"reference"}),v=Cm(r,{altBoundary:!0}),y=U_(h,u),C=U_(v,l,d),x=$_(y),R=$_(C);r.modifiersData[i]={referenceClippingOffsets:y,popperEscapeOffsets:C,isReferenceHidden:x,hasPopperEscaped:R},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":x,"data-popper-escaped":R})}const kG={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:DG};function MG(n,r,i){var u=el(n),l=[Ai,Oi].indexOf(u)>=0?-1:1,d=typeof i=="function"?i(Object.assign({},r,{placement:n})):i,h=d[0],v=d[1];return h=h||0,v=(v||0)*l,[Ai,To].indexOf(u)>=0?{x:v,y:h}:{x:h,y:v}}function LG(n){var r=n.state,i=n.options,u=n.name,l=i.offset,d=l===void 0?[0,0]:l,h=Aj.reduce(function(x,R){return x[R]=MG(R,r.rects,d),x},{}),v=h[r.placement],y=v.x,C=v.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=y,r.modifiersData.popperOffsets.y+=C),r.modifiersData[u]=h}const PG={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:LG};function FG(n){var r=n.state,i=n.name;r.modifiersData[i]=Fj({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}const VG={name:"popperOffsets",enabled:!0,phase:"read",fn:FG,data:{}};function BG(n){return n==="x"?"y":"x"}function zG(n){var r=n.state,i=n.options,u=n.name,l=i.mainAxis,d=l===void 0?!0:l,h=i.altAxis,v=h===void 0?!1:h,y=i.boundary,C=i.rootBoundary,x=i.altBoundary,R=i.padding,T=i.tether,j=T===void 0?!0:T,N=i.tetherOffset,O=N===void 0?0:N,_=Cm(r,{boundary:y,rootBoundary:C,padding:R,altBoundary:x}),L=el(r.placement),F=Yp(r.placement),V=!F,H=hR(L),z=BG(H),U=r.modifiersData.popperOffsets,J=r.rects.reference,q=r.rects.popper,Re=typeof O=="function"?O(Object.assign({},r.rects,{placement:r.placement})):O,he=typeof Re=="number"?{mainAxis:Re,altAxis:Re}:Object.assign({mainAxis:0,altAxis:0},Re),ge=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,fe={x:0,y:0};if(U){if(d){var Oe,Te=H==="y"?Oi:Ai,xe=H==="y"?Ro:To,je=H==="y"?"height":"width",Le=U[H],ne=Le+_[Te],_e=Le-_[xe],G=j?-q[je]/2:0,Y=F===Gp?J[je]:q[je],re=F===Gp?-q[je]:-J[je],ye=r.elements.arrow,Se=j&&ye?vR(ye):{width:0,height:0},Ne=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:kj(),le=Ne[Te],ve=Ne[xe],we=vm(0,J[je],Se[je]),Ve=V?J[je]/2-G-we-le-he.mainAxis:Y-we-le-he.mainAxis,et=V?-J[je]/2+G+we+ve+he.mainAxis:re+we+ve+he.mainAxis,tt=r.elements.arrow&&jm(r.elements.arrow),ft=tt?H==="y"?tt.clientTop||0:tt.clientLeft||0:0,Ae=(Oe=ge==null?void 0:ge[H])!=null?Oe:0,It=Le+Ve-Ae-ft,pt=Le+et-Ae,Kt=vm(j?b0(ne,It):ne,Le,j?$f(_e,pt):_e);U[H]=Kt,fe[H]=Kt-Le}if(v){var on,sn=H==="x"?Oi:Ai,_n=H==="x"?Ro:To,Vt=U[z],Cn=z==="y"?"height":"width",qn=Vt+_[sn],Rr=Vt-_[_n],$n=[Oi,Ai].indexOf(L)!==-1,Tr=(on=ge==null?void 0:ge[z])!=null?on:0,xt=$n?qn:Vt-J[Cn]-q[Cn]-Tr+he.altAxis,Pn=$n?Vt+J[Cn]+q[Cn]-Tr-he.altAxis:Rr,ln=j&&$n?fG(xt,Vt,Pn):vm(j?xt:qn,Vt,j?Pn:Rr);U[z]=ln,fe[z]=ln-Vt}r.modifiersData[u]=fe}}const HG={name:"preventOverflow",enabled:!0,phase:"main",fn:zG,requiresIfExists:["offset"]};function UG(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function $G(n){return n===qi(n)||!tl(n)?mR(n):UG(n)}function GG(n){var r=n.getBoundingClientRect(),i=Wp(r.width)/n.offsetWidth||1,u=Wp(r.height)/n.offsetHeight||1;return i!==1||u!==1}function WG(n,r,i){i===void 0&&(i=!1);var u=tl(r),l=tl(r)&&GG(r),d=bc(r),h=Xp(n,l,i),v={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(u||!u&&!i)&&((yc(r)!=="body"||yR(d))&&(v=$G(r)),tl(r)?(y=Xp(r,!0),y.x+=r.clientLeft,y.y+=r.clientTop):d&&(y.x=gR(d))),{x:h.left+v.scrollLeft-y.x,y:h.top+v.scrollTop-y.y,width:h.width,height:h.height}}function XG(n){var r=new Map,i=new Set,u=[];n.forEach(function(d){r.set(d.name,d)});function l(d){i.add(d.name);var h=[].concat(d.requires||[],d.requiresIfExists||[]);h.forEach(function(v){if(!i.has(v)){var y=r.get(v);y&&l(y)}}),u.push(d)}return n.forEach(function(d){i.has(d.name)||l(d)}),u}function YG(n){var r=XG(n);return lG.reduce(function(i,u){return i.concat(r.filter(function(l){return l.phase===u}))},[])}function ZG(n){var r;return function(){return r||(r=new Promise(function(i){Promise.resolve().then(function(){r=void 0,i(n())})})),r}}function JG(n){var r=n.reduce(function(i,u){var l=i[u.name];return i[u.name]=l?Object.assign({},l,u,{options:Object.assign({},l.options,u.options),data:Object.assign({},l.data,u.data)}):u,i},{});return Object.keys(r).map(function(i){return r[i]})}var G_={placement:"bottom",modifiers:[],strategy:"absolute"};function W_(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return!r.some(function(u){return!(u&&typeof u.getBoundingClientRect=="function")})}function qG(n){n===void 0&&(n={});var r=n,i=r.defaultModifiers,u=i===void 0?[]:i,l=r.defaultOptions,d=l===void 0?G_:l;return function(v,y,C){C===void 0&&(C=d);var x={placement:"bottom",orderedModifiers:[],options:Object.assign({},G_,d),modifiersData:{},elements:{reference:v,popper:y},attributes:{},styles:{}},R=[],T=!1,j={state:x,setOptions:function(L){var F=typeof L=="function"?L(x.options):L;O(),x.options=Object.assign({},d,x.options,F),x.scrollParents={reference:Yf(v)?hm(v):v.contextElement?hm(v.contextElement):[],popper:hm(y)};var V=YG(JG([].concat(u,x.options.modifiers)));return x.orderedModifiers=V.filter(function(H){return H.enabled}),N(),j.update()},forceUpdate:function(){if(!T){var L=x.elements,F=L.reference,V=L.popper;if(W_(F,V)){x.rects={reference:WG(F,jm(V),x.options.strategy==="fixed"),popper:vR(V)},x.reset=!1,x.placement=x.options.placement,x.orderedModifiers.forEach(function(he){return x.modifiersData[he.name]=Object.assign({},he.data)});for(var H=0;H<x.orderedModifiers.length;H++){if(x.reset===!0){x.reset=!1,H=-1;continue}var z=x.orderedModifiers[H],U=z.fn,J=z.options,q=J===void 0?{}:J,Re=z.name;typeof U=="function"&&(x=U({state:x,options:q,name:Re,instance:j})||x)}}}},update:ZG(function(){return new Promise(function(_){j.forceUpdate(),_(x)})}),destroy:function(){O(),T=!0}};if(!W_(v,y))return j;j.setOptions(C).then(function(_){!T&&C.onFirstUpdate&&C.onFirstUpdate(_)});function N(){x.orderedModifiers.forEach(function(_){var L=_.name,F=_.options,V=F===void 0?{}:F,H=_.effect;if(typeof H=="function"){var z=H({state:x,name:L,instance:j,options:V}),U=function(){};R.push(z||U)}})}function O(){R.forEach(function(_){return _()}),R=[]}return j}}const QG=qG({defaultModifiers:[kG,VG,bG,xG,PG,jG,HG,hG]}),KG=["enabled","placement","strategy","modifiers"];function e9(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}const t9={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},n9={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:n})=>()=>{const{reference:r,popper:i}=n.elements;if("removeAttribute"in r){const u=(r.getAttribute("aria-describedby")||"").split(",").filter(l=>l.trim()!==i.id);u.length?r.setAttribute("aria-describedby",u.join(",")):r.removeAttribute("aria-describedby")}},fn:({state:n})=>{var r;const{popper:i,reference:u}=n.elements,l=(r=i.getAttribute("role"))==null?void 0:r.toLowerCase();if(i.id&&l==="tooltip"&&"setAttribute"in u){const d=u.getAttribute("aria-describedby");if(d&&d.split(",").indexOf(i.id)!==-1)return;u.setAttribute("aria-describedby",d?`${d},${i.id}`:i.id)}}},r9=[];function Vj(n,r,i={}){let{enabled:u=!0,placement:l="bottom",strategy:d="absolute",modifiers:h=r9}=i,v=e9(i,KG);const y=M.useRef(h),C=M.useRef(),x=M.useCallback(()=>{var _;(_=C.current)==null||_.update()},[]),R=M.useCallback(()=>{var _;(_=C.current)==null||_.forceUpdate()},[]),[T,j]=J3(M.useState({placement:l,update:x,forceUpdate:R,attributes:{},styles:{popper:{},arrow:{}}})),N=M.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:_})=>{const L={},F={};Object.keys(_.elements).forEach(V=>{L[V]=_.styles[V],F[V]=_.attributes[V]}),j({state:_,styles:L,attributes:F,update:x,forceUpdate:R,placement:_.placement})}}),[x,R,j]),O=M.useMemo(()=>(pm(y.current,h)||(y.current=h),y.current),[h]);return M.useEffect(()=>{!C.current||!u||C.current.setOptions({placement:l,strategy:d,modifiers:[...O,N,t9]})},[d,l,N,u,O]),M.useEffect(()=>{if(!(!u||n==null||r==null))return C.current=QG(n,r,Object.assign({},v,{placement:l,strategy:d,modifiers:[...O,n9,N]})),()=>{C.current!=null&&(C.current.destroy(),C.current=void 0,j(_=>Object.assign({},_,{attributes:{},styles:{popper:{}}})))}},[u,n,r]),T}function xm(n,r){if(n.contains)return n.contains(r);if(n.compareDocumentPosition)return n===r||!!(n.compareDocumentPosition(r)&16)}var a9={},i9=a9.NODE_ENV!=="production",Bj=function(){};if(i9){var o9=function(r,i){var u=arguments.length;i=new Array(u>1?u-1:0);for(var l=1;l<u;l++)i[l-1]=arguments[l];var d=0,h="Warning: "+r.replace(/%s/g,function(){return i[d++]});typeof console<"u"&&console.error(h);try{throw new Error(h)}catch{}};Bj=function(n,r,i){var u=arguments.length;i=new Array(u>2?u-2:0);for(var l=2;l<u;l++)i[l-2]=arguments[l];if(r===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");n||o9.apply(null,[r].concat(i))}}var s9=Bj;const bR=qp(s9),X_=()=>{};function l9(n){return n.button===0}function u9(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}const Qb=n=>n&&("current"in n?n.current:n),Y_={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function zj(n,r=X_,{disabled:i,clickTrigger:u="click"}={}){const l=M.useRef(!1),d=M.useRef(!1),h=M.useCallback(C=>{const x=Qb(n);bR(!!x,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),l.current=!x||u9(C)||!l9(C)||!!xm(x,C.target)||d.current,d.current=!1},[n]),v=gr(C=>{const x=Qb(n);x&&xm(x,C.target)&&(d.current=!0)}),y=gr(C=>{l.current||r(C)});M.useEffect(()=>{var C,x;if(i||n==null)return;const R=ev(Qb(n)),T=R.defaultView||window;let j=(C=T.event)!=null?C:(x=T.parent)==null?void 0:x.event,N=null;Y_[u]&&(N=Ql(R,Y_[u],v,!0));const O=Ql(R,u,h,!0),_=Ql(R,u,F=>{if(F===j){j=void 0;return}y(F)});let L=[];return"ontouchstart"in R.documentElement&&(L=[].slice.call(R.body.children).map(F=>Ql(F,"mousemove",X_))),()=>{N==null||N(),O(),_(),L.forEach(F=>F())}},[n,i,u,h,v,y])}function c9(n){const r={};return Array.isArray(n)?(n==null||n.forEach(i=>{r[i.name]=i}),r):n||r}function f9(n={}){return Array.isArray(n)?n:Object.keys(n).map(r=>(n[r].name=r,n[r]))}function Hj({enabled:n,enableEvents:r,placement:i,flip:u,offset:l,fixed:d,containerPadding:h,arrowElement:v,popperConfig:y={}}){var C,x,R,T,j;const N=c9(y.modifiers);return Object.assign({},y,{placement:i,enabled:n,strategy:d?"fixed":y.strategy,modifiers:f9(Object.assign({},N,{eventListeners:{enabled:r,options:(C=N.eventListeners)==null?void 0:C.options},preventOverflow:Object.assign({},N.preventOverflow,{options:h?Object.assign({padding:h},(x=N.preventOverflow)==null?void 0:x.options):(R=N.preventOverflow)==null?void 0:R.options}),offset:{options:Object.assign({offset:l},(T=N.offset)==null?void 0:T.options)},arrow:Object.assign({},N.arrow,{enabled:!!v,options:Object.assign({},(j=N.arrow)==null?void 0:j.options,{element:v})}),flip:Object.assign({enabled:!!u},N.flip)}))})}const d9=["children"];function p9(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}const v9=()=>{};function Uj(n={}){const r=M.useContext(V0),[i,u]=g0(),l=M.useRef(!1),{flip:d,offset:h,rootCloseEvent:v,fixed:y=!1,placement:C,popperConfig:x={},enableEventListeners:R=!0,usePopper:T=!!r}=n,j=(r==null?void 0:r.show)==null?!!n.show:r.show;j&&!l.current&&(l.current=!0);const N=U=>{r==null||r.toggle(!1,U)},{placement:O,setMenu:_,menuElement:L,toggleElement:F}=r||{},V=Vj(F,L,Hj({placement:C||O||"bottom-start",enabled:T,enableEvents:R??j,offset:h,flip:d,fixed:y,arrowElement:i,popperConfig:x})),H=Object.assign({ref:_||v9,"aria-labelledby":F==null?void 0:F.id},V.attributes.popper,{style:V.styles.popper}),z={show:j,placement:O,hasShown:l.current,toggle:r==null?void 0:r.toggle,popper:T?V:null,arrowProps:T?Object.assign({ref:u},V.attributes.arrow,{style:V.styles.arrow}):{}};return zj(L,N,{clickTrigger:v,disabled:!j}),[H,z]}const h9={usePopper:!0};function CR(n){let{children:r}=n,i=p9(n,d9);const[u,l]=Uj(i);return b.jsx(b.Fragment,{children:r(u,l)})}CR.displayName="DropdownMenu";CR.defaultProps=h9;const $j=n=>{var r;return((r=n.getAttribute("role"))==null?void 0:r.toLowerCase())==="menu"},Z_=()=>{};function Gj(){const n=WA(),{show:r=!1,toggle:i=Z_,setToggle:u,menuElement:l}=M.useContext(V0)||{},d=M.useCallback(v=>{i(!r,v)},[r,i]),h={id:n,ref:u||Z_,onClick:d,"aria-expanded":!!r};return l&&$j(l)&&(h["aria-haspopup"]=!0),[h,{show:r,toggle:i}]}function Wj({children:n}){const[r,i]=Gj();return b.jsx(b.Fragment,{children:n(r,i)})}Wj.displayName="DropdownToggle";const m9=["eventKey","disabled","onClick","active","as"];function g9(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}function Xj({key:n,href:r,active:i,disabled:u,onClick:l}){const d=M.useContext(ru),h=M.useContext(lR),{activeKey:v}=h||{},y=Xf(n,r),C=i==null&&n!=null?Xf(v)===y:i;return[{onClick:gr(R=>{u||(l==null||l(R),d&&!R.isPropagationStopped()&&d(y,R))}),"aria-disabled":u||void 0,"aria-selected":C,[nv("dropdown-item")]:""},{isActive:C}]}const Yj=M.forwardRef((n,r)=>{let{eventKey:i,disabled:u,onClick:l,active:d,as:h=cR}=n,v=g9(n,m9);const[y]=Xj({key:i,href:v.href,disabled:u,onClick:l,active:d});return b.jsx(h,Object.assign({},v,{ref:r},y))});Yj.displayName="DropdownItem";const Zj=M.createContext(tv?window:void 0);Zj.Provider;function z0(){return M.useContext(Zj)}function J_(){const n=pj(),r=M.useRef(null),i=M.useCallback(u=>{r.current=u,n()},[n]);return[r,i]}function Dm({defaultShow:n,show:r,onSelect:i,onToggle:u,itemSelector:l=`* [${nv("dropdown-item")}]`,focusFirstItemOnShow:d,placement:h="bottom-start",children:v}){const y=z0(),[C,x]=UA(r,n,u),[R,T]=J_(),j=R.current,[N,O]=J_(),_=N.current,L=Ej(C),F=M.useRef(null),V=M.useRef(!1),H=M.useContext(ru),z=M.useCallback((ge,fe,Oe=fe==null?void 0:fe.type)=>{x(ge,{originalEvent:fe,source:Oe})},[x]),U=gr((ge,fe)=>{i==null||i(ge,fe),z(!1,fe,"select"),fe.isPropagationStopped()||H==null||H(ge,fe)}),J=M.useMemo(()=>({toggle:z,placement:h,show:C,menuElement:j,toggleElement:_,setMenu:T,setToggle:O}),[z,h,C,j,_,T,O]);j&&L&&!C&&(V.current=j.contains(j.ownerDocument.activeElement));const q=gr(()=>{_&&_.focus&&_.focus()}),Re=gr(()=>{const ge=F.current;let fe=d;if(fe==null&&(fe=R.current&&$j(R.current)?"keyboard":!1),fe===!1||fe==="keyboard"&&!/^key.+$/.test(ge))return;const Oe=ql(R.current,l)[0];Oe&&Oe.focus&&Oe.focus()});M.useEffect(()=>{C?Re():V.current&&(V.current=!1,q())},[C,V,q,Re]),M.useEffect(()=>{F.current=null});const he=(ge,fe)=>{if(!R.current)return null;const Oe=ql(R.current,l);let Te=Oe.indexOf(ge)+fe;return Te=Math.max(0,Math.min(Te,Oe.length)),Oe[Te]};return F3(M.useCallback(()=>y.document,[y]),"keydown",ge=>{var fe,Oe;const{key:Te}=ge,xe=ge.target,je=(fe=R.current)==null?void 0:fe.contains(xe),Le=(Oe=N.current)==null?void 0:Oe.contains(xe);if(/input|textarea/i.test(xe.tagName)&&(Te===" "||Te!=="Escape"&&je||Te==="Escape"&&xe.type==="search")||!je&&!Le||Te==="Tab"&&(!R.current||!C))return;F.current=ge.type;const _e={originalEvent:ge,source:ge.type};switch(Te){case"ArrowUp":{const G=he(xe,-1);G&&G.focus&&G.focus(),ge.preventDefault();return}case"ArrowDown":if(ge.preventDefault(),!C)x(!0,_e);else{const G=he(xe,1);G&&G.focus&&G.focus()}return;case"Tab":oR(xe.ownerDocument,"keyup",G=>{var Y;(G.key==="Tab"&&!G.target||!((Y=R.current)!=null&&Y.contains(G.target)))&&x(!1,_e)},{once:!0});break;case"Escape":Te==="Escape"&&(ge.preventDefault(),ge.stopPropagation()),x(!1,_e);break}}),b.jsx(ru.Provider,{value:U,children:b.jsx(V0.Provider,{value:J,children:v})})}Dm.displayName="Dropdown";Dm.Menu=CR;Dm.Toggle=Wj;Dm.Item=Yj;const Jj=M.createContext({});Jj.displayName="DropdownContext";const qj=Jj,Qj=M.forwardRef(({className:n,bsPrefix:r,as:i="hr",role:u="separator",...l},d)=>(r=bn(r,"dropdown-divider"),b.jsx(i,{ref:d,className:qt(n,r),role:u,...l})));Qj.displayName="DropdownDivider";const y9=Qj,Kj=M.forwardRef(({className:n,bsPrefix:r,as:i="div",role:u="heading",...l},d)=>(r=bn(r,"dropdown-header"),b.jsx(i,{ref:d,className:qt(n,r),role:u,...l})));Kj.displayName="DropdownHeader";const b9=Kj,eD=M.forwardRef(({bsPrefix:n,className:r,eventKey:i,disabled:u=!1,onClick:l,active:d,as:h=Rj,...v},y)=>{const C=bn(n,"dropdown-item"),[x,R]=Xj({key:i,href:v.href,disabled:u,onClick:l,active:d});return b.jsx(h,{...v,...x,ref:y,className:qt(r,C,R.isActive&&"active",u&&"disabled")})});eD.displayName="DropdownItem";const C9=eD,tD=M.forwardRef(({className:n,bsPrefix:r,as:i="span",...u},l)=>(r=bn(r,"dropdown-item-text"),b.jsx(i,{ref:l,className:qt(n,r),...u})));tD.displayName="DropdownItemText";const x9=tD,nD=M.createContext(null);nD.displayName="InputGroupContext";const rD=nD;var q_={};function aD(n,r){if(q_.NODE_ENV==="production")return n;const i=M.useCallback(u=>{u==null||!u.isReactComponent||(q_.NODE_ENV!=="production"?O_(!1,`${r} injected a ref to a provided \`as\` component that resolved to a component instance instead of a DOM element. Use \`React.forwardRef\` to provide the injected ref to the class component as a prop in order to pass it directly to a DOM element`):O_(!1))},[r]);return ps(i,n)}var S9={};function iD(n,r,i){const u=i?"top-end":"top-start",l=i?"top-start":"top-end",d=i?"bottom-end":"bottom-start",h=i?"bottom-start":"bottom-end",v=i?"right-start":"left-start",y=i?"right-end":"left-end",C=i?"left-start":"right-start",x=i?"left-end":"right-end";let R=n?h:d;return r==="up"?R=n?l:u:r==="end"?R=n?x:C:r==="start"?R=n?y:v:r==="down-centered"?R="bottom":r==="up-centered"&&(R="top"),R}const oD=M.forwardRef(({bsPrefix:n,className:r,align:i,rootCloseEvent:u,flip:l=!0,show:d,renderOnMount:h,as:v="div",popperConfig:y,variant:C,...x},R)=>{let T=!1;const j=M.useContext(bj),N=bn(n,"dropdown-menu"),{align:O,drop:_,isRTL:L}=M.useContext(qj);i=i||O;const F=M.useContext(rD),V=[];if(i)if(typeof i=="object"){const ge=Object.keys(i);if(S9.NODE_ENV!=="production"&&bR(ge.length===1,"There should only be 1 breakpoint when passing an object to `align`"),ge.length){const fe=ge[0],Oe=i[fe];T=Oe==="start",V.push(`${N}-${fe}-${Oe}`)}}else i==="end"&&(T=!0);const H=iD(T,_,L),[z,{hasShown:U,popper:J,show:q,toggle:Re}]=Uj({flip:l,rootCloseEvent:u,show:d,usePopper:!j&&V.length===0,offset:[0,2],popperConfig:y,placement:H});if(z.ref=ps(aD(R,"DropdownMenu"),z.ref),y0(()=>{q&&(J==null||J.update())},[q]),!U&&!h&&!F)return null;typeof v!="string"&&(z.show=q,z.close=()=>Re==null?void 0:Re(!1),z.align=i);let he=x.style;return J!=null&&J.placement&&(he={...x.style,...z.style},x["x-placement"]=J.placement),b.jsx(v,{...x,...z,style:he,...(V.length||j)&&{"data-bs-popper":"static"},className:qt(r,N,q&&"show",T&&`${N}-end`,C&&`${N}-${C}`,...V)})});oD.displayName="DropdownMenu";const E9=oD,sD=M.forwardRef(({as:n,bsPrefix:r,variant:i="primary",size:u,active:l=!1,disabled:d=!1,className:h,...v},y)=>{const C=bn(r,"btn"),[x,{tagName:R}]=uR({tagName:n,disabled:d,...v}),T=R;return b.jsx(T,{...x,...v,ref:y,disabled:d,className:qt(h,C,l&&"active",i&&`${C}-${i}`,u&&`${C}-${u}`,v.href&&d&&"disabled")})});sD.displayName="Button";const w9=sD,lD=M.forwardRef(({bsPrefix:n,split:r,className:i,childBsPrefix:u,as:l=w9,...d},h)=>{const v=bn(n,"dropdown-toggle"),y=M.useContext(V0);u!==void 0&&(d.bsPrefix=u);const[C]=Gj();return C.ref=ps(C.ref,aD(h,"DropdownToggle")),b.jsx(l,{className:qt(i,v,r&&`${v}-split`,(y==null?void 0:y.show)&&"show"),...C,...d})});lD.displayName="DropdownToggle";const R9=lD,uD=M.forwardRef((n,r)=>{const{bsPrefix:i,drop:u="down",show:l,className:d,align:h="start",onSelect:v,onToggle:y,focusFirstItemOnShow:C,as:x="div",navbar:R,autoClose:T=!0,...j}=F0(n,{show:"onToggle"}),N=M.useContext(rD),O=bn(i,"dropdown"),_=P0(),L=J=>T===!1?J==="click":T==="inside"?J!=="rootClose":T==="outside"?J!=="select":!0,F=gr((J,q)=>{var Re,he;!((Re=q.originalEvent)==null||(he=Re.target)==null)&&he.classList.contains("dropdown-toggle")&&q.source==="mousedown"||(q.originalEvent.currentTarget===document&&(q.source!=="keydown"||q.originalEvent.key==="Escape")&&(q.source="rootClose"),L(q.source)&&(y==null||y(J,q)))}),H=iD(h==="end",u,_),z=M.useMemo(()=>({align:h,drop:u,isRTL:_}),[h,u,_]),U={down:O,"down-centered":`${O}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return b.jsx(qj.Provider,{value:z,children:b.jsx(Dm,{placement:H,show:l,onSelect:v,onToggle:F,focusFirstItemOnShow:C,itemSelector:`.${O}-item:not(.disabled):not(:disabled)`,children:N?j.children:b.jsx(x,{...j,ref:r,className:qt(d,l&&"show",U[u])})})})});uD.displayName="Dropdown";const Lb=Object.assign(uD,{Toggle:R9,Menu:E9,Item:C9,ItemText:x9,Divider:y9,Header:b9});var Pb;function Q_(n){if((!Pb&&Pb!==0||n)&&tv){var r=document.createElement("div");r.style.position="absolute",r.style.top="-9999px",r.style.width="50px",r.style.height="50px",r.style.overflow="scroll",document.body.appendChild(r),Pb=r.offsetWidth-r.clientWidth,document.body.removeChild(r)}return Pb}function T9(n){const r=M.useRef(n);return r.current=n,r}function xR(n){const r=T9(n);M.useEffect(()=>()=>r.current(),[])}function BE(n){n===void 0&&(n=ev());try{var r=n.activeElement;return!r||!r.nodeName?null:r}catch{return n.body}}function I9(n=document){const r=n.defaultView;return Math.abs(r.innerWidth-n.documentElement.clientWidth)}const K_=nv("modal-open");class N9{constructor({ownerDocument:r,handleContainerOverflow:i=!0,isRTL:u=!1}={}){this.handleContainerOverflow=i,this.isRTL=u,this.modals=[],this.ownerDocument=r}getScrollbarWidth(){return I9(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(r){}removeModalAttributes(r){}setContainerStyle(r){const i={overflow:"hidden"},u=this.isRTL?"paddingLeft":"paddingRight",l=this.getElement();r.style={overflow:l.style.overflow,[u]:l.style[u]},r.scrollBarWidth&&(i[u]=`${parseInt(eu(l,u)||"0",10)+r.scrollBarWidth}px`),l.setAttribute(K_,""),eu(l,i)}reset(){[...this.modals].forEach(r=>this.remove(r))}removeContainerStyle(r){const i=this.getElement();i.removeAttribute(K_),Object.assign(i.style,r.style)}add(r){let i=this.modals.indexOf(r);return i!==-1||(i=this.modals.length,this.modals.push(r),this.setModalAttributes(r),i!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),i}remove(r){const i=this.modals.indexOf(r);i!==-1&&(this.modals.splice(i,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(r))}isTopModal(r){return!!this.modals.length&&this.modals[this.modals.length-1]===r}}const SR=N9,zE=(n,r)=>tv?n==null?(r||ev()).body:(typeof n=="function"&&(n=n()),n&&"current"in n&&(n=n.current),n&&("nodeType"in n||n.getBoundingClientRect)?n:null):null;function Rw(n,r){const i=z0(),[u,l]=M.useState(()=>zE(n,i==null?void 0:i.document));if(!u){const d=zE(n);d&&l(d)}return M.useEffect(()=>{r&&u&&r(u)},[r,u]),M.useEffect(()=>{const d=zE(n);d!==u&&l(d)},[n,u]),u}function _9({in:n,onTransition:r}){const i=M.useRef(null),u=M.useRef(!0),l=gr(r);return y0(()=>{if(!i.current)return;let d=!1;return l({in:n,element:i.current,initial:u.current,isStale:()=>d}),()=>{d=!0}},[n,l]),y0(()=>(u.current=!1,()=>{u.current=!0}),[]),i}function O9({children:n,in:r,onExited:i,onEntered:u,transition:l}){const[d,h]=M.useState(!r);r&&d&&h(!1);const v=_9({in:!!r,onTransition:C=>{const x=()=>{C.isStale()||(C.in?u==null||u(C.element,C.initial):(h(!0),i==null||i(C.element)))};Promise.resolve(l(C)).then(x,R=>{throw C.in||h(!0),R})}}),y=ps(v,n.ref);return d&&!r?null:M.cloneElement(n,{ref:y})}function Tw(n,r,i){return n?b.jsx(n,Object.assign({},i)):r?b.jsx(O9,Object.assign({},i,{transition:r})):b.jsx(aR,Object.assign({},i))}function cD(n){return n.code==="Escape"||n.keyCode===27}const A9=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function j9(n,r){if(n==null)return{};var i={},u=Object.keys(n),l,d;for(d=0;d<u.length;d++)l=u[d],!(r.indexOf(l)>=0)&&(i[l]=n[l]);return i}let HE;function D9(n){return HE||(HE=new SR({ownerDocument:n==null?void 0:n.document})),HE}function k9(n){const r=z0(),i=n||D9(r),u=M.useRef({dialog:null,backdrop:null});return Object.assign(u.current,{add:()=>i.add(u.current),remove:()=>i.remove(u.current),isTopModal:()=>i.isTopModal(u.current),setDialogRef:M.useCallback(l=>{u.current.dialog=l},[]),setBackdropRef:M.useCallback(l=>{u.current.backdrop=l},[])})}const fD=M.forwardRef((n,r)=>{let{show:i=!1,role:u="dialog",className:l,style:d,children:h,backdrop:v=!0,keyboard:y=!0,onBackdropClick:C,onEscapeKeyDown:x,transition:R,runTransition:T,backdropTransition:j,runBackdropTransition:N,autoFocus:O=!0,enforceFocus:_=!0,restoreFocus:L=!0,restoreFocusOptions:F,renderDialog:V,renderBackdrop:H=pt=>b.jsx("div",Object.assign({},pt)),manager:z,container:U,onShow:J,onHide:q=()=>{},onExit:Re,onExited:he,onExiting:ge,onEnter:fe,onEntering:Oe,onEntered:Te}=n,xe=j9(n,A9);const je=z0(),Le=Rw(U),ne=k9(z),_e=fR(),G=Ej(i),[Y,re]=M.useState(!i),ye=M.useRef(null);M.useImperativeHandle(r,()=>ne,[ne]),tv&&!G&&i&&(ye.current=BE(je==null?void 0:je.document)),i&&Y&&re(!1);const Se=gr(()=>{if(ne.add(),et.current=Ql(document,"keydown",we),Ve.current=Ql(document,"focus",()=>setTimeout(le),!0),J&&J(),O){var pt,Kt;const on=BE((pt=(Kt=ne.dialog)==null?void 0:Kt.ownerDocument)!=null?pt:je==null?void 0:je.document);ne.dialog&&on&&!xm(ne.dialog,on)&&(ye.current=on,ne.dialog.focus())}}),Ne=gr(()=>{if(ne.remove(),et.current==null||et.current(),Ve.current==null||Ve.current(),L){var pt;(pt=ye.current)==null||pt.focus==null||pt.focus(F),ye.current=null}});M.useEffect(()=>{!i||!Le||Se()},[i,Le,Se]),M.useEffect(()=>{Y&&Ne()},[Y,Ne]),xR(()=>{Ne()});const le=gr(()=>{if(!_||!_e()||!ne.isTopModal())return;const pt=BE(je==null?void 0:je.document);ne.dialog&&pt&&!xm(ne.dialog,pt)&&ne.dialog.focus()}),ve=gr(pt=>{pt.target===pt.currentTarget&&(C==null||C(pt),v===!0&&q())}),we=gr(pt=>{y&&cD(pt)&&ne.isTopModal()&&(x==null||x(pt),pt.defaultPrevented||q())}),Ve=M.useRef(),et=M.useRef(),tt=(...pt)=>{re(!0),he==null||he(...pt)};if(!Le)return null;const ft=Object.assign({role:u,ref:ne.setDialogRef,"aria-modal":u==="dialog"?!0:void 0},xe,{style:d,className:l,tabIndex:-1});let Ae=V?V(ft):b.jsx("div",Object.assign({},ft,{children:M.cloneElement(h,{role:"document"})}));Ae=Tw(R,T,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!i,onExit:Re,onExiting:ge,onExited:tt,onEnter:fe,onEntering:Oe,onEntered:Te,children:Ae});let It=null;return v&&(It=H({ref:ne.setBackdropRef,onClick:ve}),It=Tw(j,N,{in:!!i,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:It})),b.jsx(b.Fragment,{children:zf.createPortal(b.jsxs(b.Fragment,{children:[It,Ae]}),Le)})});fD.displayName="Modal";const M9=Object.assign(fD,{Manager:SR});function Iw(n,r){return n.classList?!!r&&n.classList.contains(r):(" "+(n.className.baseVal||n.className)+" ").indexOf(" "+r+" ")!==-1}function L9(n,r){n.classList?n.classList.add(r):Iw(n,r)||(typeof n.className=="string"?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r))}function eO(n,r){return n.replace(new RegExp("(^|\\s)"+r+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function P9(n,r){n.classList?n.classList.remove(r):typeof n.className=="string"?n.className=eO(n.className,r):n.setAttribute("class",eO(n.className&&n.className.baseVal||"",r))}const Mp={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class F9 extends SR{adjustAndStore(r,i,u){const l=i.style[r];i.dataset[r]=l,eu(i,{[r]:`${parseFloat(eu(i,r))+u}px`})}restore(r,i){const u=i.dataset[r];u!==void 0&&(delete i.dataset[r],eu(i,{[r]:u}))}setContainerStyle(r){super.setContainerStyle(r);const i=this.getElement();if(L9(i,"modal-open"),!r.scrollBarWidth)return;const u=this.isRTL?"paddingLeft":"paddingRight",l=this.isRTL?"marginLeft":"marginRight";ql(i,Mp.FIXED_CONTENT).forEach(d=>this.adjustAndStore(u,d,r.scrollBarWidth)),ql(i,Mp.STICKY_CONTENT).forEach(d=>this.adjustAndStore(l,d,-r.scrollBarWidth)),ql(i,Mp.NAVBAR_TOGGLER).forEach(d=>this.adjustAndStore(l,d,r.scrollBarWidth))}removeContainerStyle(r){super.removeContainerStyle(r);const i=this.getElement();P9(i,"modal-open");const u=this.isRTL?"paddingLeft":"paddingRight",l=this.isRTL?"marginLeft":"marginRight";ql(i,Mp.FIXED_CONTENT).forEach(d=>this.restore(u,d)),ql(i,Mp.STICKY_CONTENT).forEach(d=>this.restore(l,d)),ql(i,Mp.NAVBAR_TOGGLER).forEach(d=>this.restore(l,d))}}let UE;function V9(n){return UE||(UE=new F9(n)),UE}const dD=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=bn(r,"modal-body"),b.jsx(i,{ref:l,className:qt(n,r),...u})));dD.displayName="ModalBody";const B9=dD,z9=M.createContext({onHide(){}}),pD=z9,vD=M.forwardRef(({bsPrefix:n,className:r,contentClassName:i,centered:u,size:l,fullscreen:d,children:h,scrollable:v,...y},C)=>{n=bn(n,"modal");const x=`${n}-dialog`,R=typeof d=="string"?`${n}-fullscreen-${d}`:`${n}-fullscreen`;return b.jsx("div",{...y,ref:C,className:qt(x,r,l&&`${n}-${l}`,u&&`${x}-centered`,v&&`${x}-scrollable`,d&&R),children:b.jsx("div",{className:qt(`${n}-content`,i),children:h})})});vD.displayName="ModalDialog";const hD=vD,mD=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=bn(r,"modal-footer"),b.jsx(i,{ref:l,className:qt(n,r),...u})));mD.displayName="ModalFooter";const H9=mD,U9={"aria-label":_t.string,onClick:_t.func,variant:_t.oneOf(["white"])},ER=M.forwardRef(({className:n,variant:r,"aria-label":i="Close",...u},l)=>b.jsx("button",{ref:l,type:"button",className:qt("btn-close",r&&`btn-close-${r}`,n),"aria-label":i,...u}));ER.displayName="CloseButton";ER.propTypes=U9;const $9=ER,G9=M.forwardRef(({closeLabel:n="Close",closeVariant:r,closeButton:i=!1,onHide:u,children:l,...d},h)=>{const v=M.useContext(pD),y=gr(()=>{v==null||v.onHide(),u==null||u()});return b.jsxs("div",{ref:h,...d,children:[l,i&&b.jsx($9,{"aria-label":n,variant:r,onClick:y})]})}),W9=G9,gD=M.forwardRef(({bsPrefix:n,className:r,closeLabel:i="Close",closeButton:u=!1,...l},d)=>(n=bn(n,"modal-header"),b.jsx(W9,{ref:d,...l,className:qt(r,n),closeLabel:i,closeButton:u})));gD.displayName="ModalHeader";const X9=gD,Y9=n=>M.forwardRef((r,i)=>b.jsx("div",{...r,ref:i,className:qt(r.className,n)})),Z9=Y9("h4"),yD=M.forwardRef(({className:n,bsPrefix:r,as:i=Z9,...u},l)=>(r=bn(r,"modal-title"),b.jsx(i,{ref:l,className:qt(n,r),...u})));yD.displayName="ModalTitle";const J9=yD;function q9(n){return b.jsx($p,{...n,timeout:null})}function Q9(n){return b.jsx($p,{...n,timeout:null})}const bD=M.forwardRef(({bsPrefix:n,className:r,style:i,dialogClassName:u,contentClassName:l,children:d,dialogAs:h=hD,"data-bs-theme":v,"aria-labelledby":y,"aria-describedby":C,"aria-label":x,show:R=!1,animation:T=!0,backdrop:j=!0,keyboard:N=!0,onEscapeKeyDown:O,onShow:_,onHide:L,container:F,autoFocus:V=!0,enforceFocus:H=!0,restoreFocus:z=!0,restoreFocusOptions:U,onEntered:J,onExit:q,onExiting:Re,onEnter:he,onEntering:ge,onExited:fe,backdropClassName:Oe,manager:Te,...xe},je)=>{const[Le,ne]=M.useState({}),[_e,G]=M.useState(!1),Y=M.useRef(!1),re=M.useRef(!1),ye=M.useRef(null),[Se,Ne]=g0(),le=ps(je,Ne),ve=gr(L),we=P0();n=bn(n,"modal");const Ve=M.useMemo(()=>({onHide:ve}),[ve]);function et(){return Te||V9({isRTL:we})}function tt(xt){if(!tv)return;const Pn=et().getScrollbarWidth()>0,ln=xt.scrollHeight>ev(xt).documentElement.clientHeight;ne({paddingRight:Pn&&!ln?Q_():void 0,paddingLeft:!Pn&&ln?Q_():void 0})}const ft=gr(()=>{Se&&tt(Se.dialog)});xR(()=>{xw(window,"resize",ft),ye.current==null||ye.current()});const Ae=()=>{Y.current=!0},It=xt=>{Y.current&&Se&&xt.target===Se.dialog&&(re.current=!0),Y.current=!1},pt=()=>{G(!0),ye.current=ej(Se.dialog,()=>{G(!1)})},Kt=xt=>{xt.target===xt.currentTarget&&pt()},on=xt=>{if(j==="static"){Kt(xt);return}if(re.current||xt.target!==xt.currentTarget){re.current=!1;return}L==null||L()},sn=xt=>{N?O==null||O(xt):(xt.preventDefault(),j==="static"&&pt())},_n=(xt,Pn)=>{xt&&tt(xt),he==null||he(xt,Pn)},Vt=xt=>{ye.current==null||ye.current(),q==null||q(xt)},Cn=(xt,Pn)=>{ge==null||ge(xt,Pn),oR(window,"resize",ft)},qn=xt=>{xt&&(xt.style.display=""),fe==null||fe(xt),xw(window,"resize",ft)},Rr=M.useCallback(xt=>b.jsx("div",{...xt,className:qt(`${n}-backdrop`,Oe,!T&&"show")}),[T,Oe,n]),$n={...i,...Le};$n.display="block";const Tr=xt=>b.jsx("div",{role:"dialog",...xt,style:$n,className:qt(r,n,_e&&`${n}-static`,!T&&"show"),onClick:j?on:void 0,onMouseUp:It,"data-bs-theme":v,"aria-label":x,"aria-labelledby":y,"aria-describedby":C,children:b.jsx(h,{...xe,onMouseDown:Ae,className:u,contentClassName:l,children:d})});return b.jsx(pD.Provider,{value:Ve,children:b.jsx(M9,{show:R,ref:le,backdrop:j,container:F,keyboard:!0,autoFocus:V,enforceFocus:H,restoreFocus:z,restoreFocusOptions:U,onEscapeKeyDown:sn,onShow:_,onHide:L,onEnter:_n,onEntering:Cn,onEntered:J,onExit:Vt,onExiting:Re,onExited:qn,manager:et(),transition:T?q9:void 0,backdropTransition:T?Q9:void 0,renderBackdrop:Rr,renderDialog:Tr})})});bD.displayName="Modal";const Ln=Object.assign(bD,{Body:B9,Header:X9,Title:J9,Footer:H9,Dialog:hD,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),K9=kr.forwardRef(({children:n,onClick:r},i)=>b.jsx("a",{className:"btn btn-secondary d-flex flex-column justify-content-center flex-grow-1",href:"",ref:i,onClick:u=>{u.preventDefault(),r(u)},children:b.jsx("span",{className:"dropdown-toggle",children:n})}));function e4({requestId:n,grantNumber:r}){const{request:i,toggleActionsModal:u}=ri(n,r),{project:l}=Ji(r||i.grantNumber);if(!i||!l||i.error||l.error)return;const d=Nn.routes.request_action_path(n,"new"),h=i.allowedActions.Renewal?Array.isArray(i.allowedActions.Renewal)?[...i.allowedActions.Renewal]:[i.allowedActions.Renewal]:[];h.sort((C,x)=>C.opportunityId<x.opportunityId?-1:1);const v=[{id:"extension",action:`${d}?action_type=Extension`,isEnabled:"Extension"in i.allowedActions,button:"Request an Extension",enabled:i.usesCredits?b.jsx("p",{children:"Need more time to use your current credits and allocations? You can extend your project's end date up to six months past your funding end date, or up to 12 months at a time for projects not supported by a funding award."}):b.jsx("p",{children:"Need more time to use your current allocations? A one-time extension can extend your project end date by up to six months."}),disabled:b.jsxs("p",{children:["Your project is not currently eligible for an extension of its end date.",i.usesCredits?b.jsxs(b.Fragment,{children:[" ","Extensions can be requested starting 90 days before your project's current end date."]}):null]})},{id:"supplement",action:`${d}?action_type=Supplement`,isEnabled:"Supplement"in i.allowedActions,button:"Request a Supplement",enabled:i.usesCredits?b.jsxs("p",{children:["Need more credits to complete your project? Great news! Your"," ",i.allocationType," project is eligible for a supplement of"," ",{Explore:"200,000",Discover:"750,000",Accelerate:"1,500,000"}[i.allocationType]," ","additional ACCESS credits."]}):b.jsxs("p",{children:["Need more units to complete your research? Great news! Your"," ",i.allocationType," project is eligible for a supplement of additional units."]}),disabled:b.jsxs("p",{children:["Your project is not currently eligible for a supplement of additional"," ",i.usesCredits?"ACCESS Credits":"units","."]})},{id:"renewal",action:h.map(C=>[C.opportunityName,`${Nn.routes.renew_request_path(n)}?opportunity_id=${C.opportunityId}`,"post"]),isEnabled:"Renewal"in i.allowedActions,button:"Request a Renewal",enabled:b.jsxs("p",{children:["Your ",i.allocationType," project can be renewed! The requirements for renewing your project depend on the"," ",b.jsx("a",{href:Nn.routes.project_types_path(),target:"_blank",children:"new project type you select"}),"."]}),disabled:b.jsxs("p",{children:["Your project is not currently eligible for renewal.",i.usesCredits&&b.jsxs(b.Fragment,{children:[" ","Renewals are available starting 30 days before the project's current end date."]}),i.isMaximize&&b.jsxs(b.Fragment,{children:[" ","You can submit a renewal request to the Maximize ACCESS opportunity closest to your project's current end date."]})]})},{id:"help",action:[["Learn How to Manage Allocations",Nn.routes.how_to_path(),"get"],["Open a Help Ticket","https://support.access-ci.org/open-a-ticket","get"]],isEnabled:!0,button:"Request Help",enabled:b.jsxs("p",{children:["Need to change something else about your project or expecting another option? Submit a help ticket that includes"," ",b.jsxs("em",{children:["grant number ",l.grantNumber]})," and a detailed description of the problem."]})}];v.sort((C,x)=>C.isEnabled<x.isEnabled?1:-1);const y=v.map(({id:C,action:x,isEnabled:R,button:T,enabled:j,disabled:N})=>b.jsxs("div",{className:"row",children:[b.jsx("div",{className:"col-sm-4 mb-2 d-grid",children:Array.isArray(x)&&x.length?b.jsxs(Lb,{className:"d-flex flex-column",children:[b.jsx(Lb.Toggle,{as:K9,children:T}),b.jsx(Lb.Menu,{children:x.map(([O,_,L])=>b.jsx(Lb.Item,{href:_,onClick:F=>{L!=="get"&&(F.preventDefault(),F.target.dataset.method=L,$&&$.rails&&$.rails.handleMethod($(F.target)))},children:O},_))})]}):b.jsx("a",{className:`btn btn-secondary d-flex flex-column justify-content-center ${R?"":"disabled"}`,href:R?x:"",children:b.jsx("span",{children:T})})}),b.jsx("div",{className:"col-sm-8 mb-2",children:R?j:N})]},C));return b.jsxs(Ln,{size:"lg",show:i.showActionsModal,onHide:u,children:[b.jsx(Ln.Header,{closeButton:!0,children:b.jsx(Ln.Title,{children:"Manage Your Project"})}),b.jsxs(Ln.Body,{children:[b.jsxs("p",{children:["Please select an action to manage your project"," ",b.jsxs("strong",{children:[l.grantNumber,": ",l.title]}),"."]}),y]})]})}function t4({requestId:n,grantNumber:r}){const{request:i,toggleActionsModal:u,toggleConfirmModal:l}=ri(n,r),{project:d}=Ji(r||i.grantNumber);if(!i||!d||i.error||d.error)return;const h=i.usesCredits?"credits":"units",v=(1-MA(i))*100;return b.jsxs(Ln,{size:"lg",show:i.showConfirmModal,onHide:l,scrollable:!0,children:[b.jsx(Ln.Header,{closeButton:!0,children:b.jsx(Ln.Title,{children:"Consider Requesting an Exchange"})}),b.jsx(Ln.Body,{children:b.jsxs("p",{children:[b.jsxs("strong",{children:[Math.round(v),"% of your allocation is unused."]})," ","Are you sure you want to request more ",h,"? You can exchange"," ",i.usesCredits?"credits for resources or ":""," one resource for another by changing the ",b.jsx("strong",{children:"balance"})," numbers in the table on the previous screen."]})}),b.jsx(Ln.Footer,{children:b.jsxs("div",{className:"d-flex",children:[b.jsx("button",{type:"button",className:"btn btn-primary me-2",onClick:l,children:"Return to Exchange"}),b.jsxs("button",{type:"button",className:"btn btn-secondary",onClick:()=>{l(),u()},children:["Request More ",h]})]})})]})}function n4({requestId:n,grantNumber:r,actionId:i}){const{deleteAction:u,request:l,toggleDeleteModal:d}=ri(n,r);if(!l||l.error)return;const h=l.actions.find(T=>T.actionId==i);if(!h)return;const{deleteStatus:v,isRequest:y}=h,C=v==ea.pending,x=v==ea.error,R=()=>d(i);return b.jsxs(Ln,{show:h.showDeleteModal,onHide:R,scrollable:!0,children:[b.jsx(Ln.Header,{closeButton:!0,children:b.jsx(Ln.Title,{children:"Confirm Deletion"})}),b.jsxs(Ln.Body,{children:[x&&b.jsxs(na,{color:"danger",children:["Deletion of the ",y?"request":"action"," failed."]}),b.jsxs("p",{children:["Are you sure you want to delete"," ",!y&&b.jsxs(b.Fragment,{children:["action"," ",b.jsxs("strong",{children:[h.type,": ",Vp(h.date)]})," ","on"," "]}),"request ",b.jsx("strong",{children:Kw(l)}),"? Deletions cannot be undone."]})]}),b.jsx(Ln.Footer,{children:b.jsxs("div",{className:"d-flex",children:[b.jsx("button",{type:"button",className:"btn btn-primary me-2",onClick:R,disabled:C,children:"Cancel"}),b.jsx("button",{type:"button",className:"btn btn-danger",onClick:()=>u(i),disabled:C,children:C?"Deleting...":"Delete"})]})})]})}function CD({action:n,request:r,toggleDeleteModal:i}){const u=n.allowedOperations||[],l=[];u.includes("Edit")&&l.push(b.jsx(c0,{href:n.isRequest?Nn.routes.edit_request_path(r.requestId):Nn.routes.edit_request_action_path(r.requestId,n.actionId),icon:"pencil",title:"Edit action"},"edit")),u.includes("Delete")&&l.push(b.jsx(c0,{color:"danger",icon:"trash",onClick:()=>i(n.actionId),title:"Edit action"},"delete"));const d=`${n.type}: ${Vp(n.date)}`;return b.jsxs(b.Fragment,{children:[n.detailAvailable?b.jsx("a",{href:Nn.routes.request_action_path(r.requestId,n.actionId),children:d}):d,l]})}const r4="_grid_15z6r_1",a4="_important_15z6r_32",i4="_input_15z6r_36",o4="_edited_15z6r_40",s4="_disabled_15z6r_48",Bp={grid:r4,important:a4,input:i4,edited:o4,disabled:s4};function l4({column:n,row:r,style:i={}}){const u=n.format?n.format(r[n.key],r):r[n.key],l=["cell"];return n.class&&l.push(n.class),n.rowClass&&l.push(n.rowClass(r)),b.jsx("td",{className:l.join(" "),style:i,children:u})}const u4={text:l4};function Kf({columns:n,rows:r,classes:i,frozenColumns:u=0,minWidth:l,rowClasses:d=[],scrollBehavior:h="smooth",scrollRowIndex:v=0}){const y=M.useRef();M.useLayoutEffect(()=>{if(!y.current)return;const N=y.current.querySelector(`tbody tr:nth-child(${v+1})`);N&&N.scrollIntoView({behavior:h,block:"nearest",inline:"nearest"})},[v,h]);const C=[0];for(let N=0;N<u;N++)C[N+1]=C[N]+(n[N].width||100);const x=(N,O)=>N<u?{position:"sticky",left:`${C[N]}px`,minWidth:`${n[N].width||100}px`,width:`${n[N].width||100}px`,zIndex:O||1}:{},R=n.map((N,O)=>b.jsx("th",{className:N.headerClass||N.class||"",style:x(O,100),children:N.formatHeader?N.formatHeader(N.name,N):N.name},N.key)),T=r.map((N,O)=>{const _=n.map((L,F)=>{const V=u4[L.type||"text"];return b.jsx(V,{column:L,row:N,style:x(F)},L.key)});return b.jsx("tr",{className:d[O]||"",children:_},O)}),j={};return l&&(j.minWidth=l),b.jsx("div",{className:`${Bp.grid} ${i||""}`,ref:y,children:b.jsxs("table",{className:"table table-bordered",style:j,children:[b.jsx("thead",{children:b.jsx("tr",{children:R})}),b.jsx("tbody",{children:T})]})})}function Zp({status:n,title:r}){const i={Active:"primary",Approved:"primary",New:"secondary",Pending:"secondary","Under Review":"secondary","Returned for Corrections":"secondary"}[n]||"dark";return b.jsx("span",{className:`badge text-bg-${i} align-self-center`,title:r,children:n})}const c4=n=>b.jsx("span",{className:n<0?"text-danger":"",children:n===0?"":n.toLocaleString()});function f4({requestId:n,grantNumber:r}){const{request:i,toggleDeleteModal:u}=ri(n,r),{project:l,setRequest:d}=Ji(r||i.grantNumber);if(!i||!l)return;const h=l.requestsList;let v=0;for(;v<h.length&&h[v].requestId!==n;)v++;const y=h[v+1],C=h[v-1],x=(O,_)=>O?b.jsxs("button",{type:"button",className:"btn btn-light btn-sm",onClick:()=>d(O.requestId),children:[_=="prev"?b.jsx("i",{className:"bi bi-chevron-left"}):null,Kw(O),_=="next"?b.jsx("i",{className:"bi bi-chevron-right"}):null]}):b.jsx("span",{}),R=new Set,T=[];for(let O of i.actions)for(let _ of O.resources)R.has(_.resourceId)||(R.add(_.resourceId),T.push(_));T.sort(f0);const j=[{key:"action",name:"Action Details",format:(O,_)=>b.jsx(CD,{action:_,request:i,toggleDeleteModal:u})},{key:"status",name:"Status",format:O=>b.jsx(Zp,{status:O})},...T.map(O=>({key:`resource${O.resourceId}`,name:O.name,icon:O.icon,class:"text-end",format:O.isBoolean?_=>_?eR(_):null:c4,formatHeader:(_,L)=>Uf(L,{userGuide:!1})}))],N=i.actions.map(O=>{const _={...O};for(let{resourceId:L}of T)_[`resource${L}`]=0;for(let{resourceId:L,approved:F,requested:V}of O.resources)_[`resource${L}`]=F||V||0;return _});return b.jsxs("div",{className:"history",children:[b.jsx(Kf,{columns:j,rows:N}),b.jsxs("div",{className:"buttons d-flex justify-content-between",children:[x(y,"prev"),x(C,"next")]})]})}function d4({requestId:n,grantNumber:r}){const{request:i,toggleDeleteModal:u}=ri(n,r);if(!i)return;const l=[{key:"type",name:"Action Details",format:(d,h)=>b.jsx(CD,{action:h,request:i,toggleDeleteModal:u})},{key:"status",name:"Status",format:d=>b.jsx(Zp,{status:d})}];if(i.actions&&i.actions.length)return b.jsx(Kf,{rows:i.actions,columns:l})}function im(...n){return n.filter(r=>r!=null).reduce((r,i)=>{if(typeof i!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return r===null?i:function(...l){r.apply(this,l),i.apply(this,l)}},null)}const p4={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function v4(n,r){const i=`offset${n[0].toUpperCase()}${n.slice(1)}`,u=r[i],l=p4[n];return u+parseInt(eu(r,l[0]),10)+parseInt(eu(r,l[1]),10)}const h4={[pc]:"collapse",[h0]:"collapsing",[Jl]:"collapsing",[vc]:"collapse show"},m4=kr.forwardRef(({onEnter:n,onEntering:r,onEntered:i,onExit:u,onExiting:l,className:d,children:h,dimension:v="height",in:y=!1,timeout:C=300,mountOnEnter:x=!1,unmountOnExit:R=!1,appear:T=!1,getDimensionValue:j=v4,...N},O)=>{const _=typeof v=="function"?v():v,L=M.useMemo(()=>im(U=>{U.style[_]="0"},n),[_,n]),F=M.useMemo(()=>im(U=>{const J=`scroll${_[0].toUpperCase()}${_.slice(1)}`;U.style[_]=`${U[J]}px`},r),[_,r]),V=M.useMemo(()=>im(U=>{U.style[_]=null},i),[_,i]),H=M.useMemo(()=>im(U=>{U.style[_]=`${j(_,U)}px`,nj(U)},u),[u,j,_]),z=M.useMemo(()=>im(U=>{U.style[_]=null},l),[_,l]);return b.jsx(rj,{ref:O,addEndListener:tj,...N,"aria-expanded":N.role?y:null,onEnter:L,onEntering:F,onEntered:V,onExit:H,onExiting:z,childRef:h.ref,in:y,timeout:C,mountOnEnter:x,unmountOnExit:R,appear:T,children:(U,J)=>kr.cloneElement(h,{...J,className:qt(d,h.props.className,h4[U],_==="width"&&"collapse-horizontal")})})}),g4=m4;function xD(n,r){return Array.isArray(n)?n.includes(r):n===r}const SD=M.createContext({});SD.displayName="AccordionContext";const H0=SD,ED=M.forwardRef(({as:n="div",bsPrefix:r,className:i,children:u,eventKey:l,...d},h)=>{const{activeEventKey:v}=M.useContext(H0);return r=bn(r,"accordion-collapse"),b.jsx(g4,{ref:h,in:xD(v,l),...d,className:qt(i,r),children:b.jsx(n,{children:M.Children.only(u)})})});ED.displayName="AccordionCollapse";const wD=ED,RD=M.createContext({eventKey:""});RD.displayName="AccordionItemContext";const wR=RD,TD=M.forwardRef(({as:n="div",bsPrefix:r,className:i,onEnter:u,onEntering:l,onEntered:d,onExit:h,onExiting:v,onExited:y,...C},x)=>{r=bn(r,"accordion-body");const{eventKey:R}=M.useContext(wR);return b.jsx(wD,{eventKey:R,onEnter:u,onEntering:l,onEntered:d,onExit:h,onExiting:v,onExited:y,children:b.jsx(n,{ref:x,...C,className:qt(i,r)})})});TD.displayName="AccordionBody";const y4=TD;function b4(n,r){const{activeEventKey:i,onSelect:u,alwaysOpen:l}=M.useContext(H0);return d=>{let h=n===i?null:n;l&&(Array.isArray(i)?i.includes(n)?h=i.filter(v=>v!==n):h=[...i,n]:h=[n]),u==null||u(h,d),r==null||r(d)}}const ID=M.forwardRef(({as:n="button",bsPrefix:r,className:i,onClick:u,...l},d)=>{r=bn(r,"accordion-button");const{eventKey:h}=M.useContext(wR),v=b4(h,u),{activeEventKey:y}=M.useContext(H0);return n==="button"&&(l.type="button"),b.jsx(n,{ref:d,onClick:v,...l,"aria-expanded":Array.isArray(y)?y.includes(h):h===y,className:qt(i,r,!xD(y,h)&&"collapsed")})});ID.displayName="AccordionButton";const ND=ID,_D=M.forwardRef(({as:n="h2",bsPrefix:r,className:i,children:u,onClick:l,...d},h)=>(r=bn(r,"accordion-header"),b.jsx(n,{ref:h,...d,className:qt(i,r),children:b.jsx(ND,{onClick:l,children:u})})));_D.displayName="AccordionHeader";const C4=_D,OD=M.forwardRef(({as:n="div",bsPrefix:r,className:i,eventKey:u,...l},d)=>{r=bn(r,"accordion-item");const h=M.useMemo(()=>({eventKey:u}),[u]);return b.jsx(wR.Provider,{value:h,children:b.jsx(n,{ref:d,...l,className:qt(i,r)})})});OD.displayName="AccordionItem";const x4=OD,AD=M.forwardRef((n,r)=>{const{as:i="div",activeKey:u,bsPrefix:l,className:d,onSelect:h,flush:v,alwaysOpen:y,...C}=F0(n,{activeKey:"onSelect"}),x=bn(l,"accordion"),R=M.useMemo(()=>({activeEventKey:u,onSelect:h,alwaysOpen:y}),[u,h,y]);return b.jsx(H0.Provider,{value:R,children:b.jsx(i,{ref:r,...C,className:qt(d,x,v&&`${x}-flush`)})})});AD.displayName="Accordion";const ss=Object.assign(AD,{Button:ND,Collapse:wD,Item:x4,Header:C4,Body:y4}),Nw=2**31-1;function jD(n,r,i){const u=i-Date.now();n.current=u<=Nw?setTimeout(r,u):setTimeout(()=>jD(n,r,i),Nw)}function S4(){const n=fR(),r=M.useRef();return xR(()=>clearTimeout(r.current)),M.useMemo(()=>{const i=()=>clearTimeout(r.current);function u(l,d=0){n()&&(i(),d<=Nw?r.current=setTimeout(l,d):jD(r,l,Date.now()+d))}return{set:u,clear:i,handleRef:r}},[])}const E4=()=>{};function w4(n,r,{disabled:i,clickTrigger:u}={}){const l=r||E4;zj(n,l,{disabled:i,clickTrigger:u});const d=gr(h=>{cD(h)&&l(h)});M.useEffect(()=>{if(i||n==null)return;const h=ev(Qb(n));let v=(h.defaultView||window).event;const y=Ql(h,"keyup",C=>{if(C===v){v=void 0;return}d(C)});return()=>{y()}},[n,i,d])}const DD=M.forwardRef((n,r)=>{const{flip:i,offset:u,placement:l,containerPadding:d,popperConfig:h={},transition:v,runTransition:y}=n,[C,x]=g0(),[R,T]=g0(),j=ps(x,r),N=Rw(n.container),O=Rw(n.target),[_,L]=M.useState(!n.show),F=Vj(O,C,Hj({placement:l,enableEvents:!!n.show,containerPadding:d||5,flip:i,offset:u,arrowElement:R,popperConfig:h}));n.show&&_&&L(!1);const V=(...ge)=>{L(!0),n.onExited&&n.onExited(...ge)},H=n.show||!_;if(w4(C,n.onHide,{disabled:!n.rootClose||n.rootCloseDisabled,clickTrigger:n.rootCloseEvent}),!H)return null;const{onExit:z,onExiting:U,onEnter:J,onEntering:q,onEntered:Re}=n;let he=n.children(Object.assign({},F.attributes.popper,{style:F.styles.popper,ref:j}),{popper:F,placement:l,show:!!n.show,arrowProps:Object.assign({},F.attributes.arrow,{style:F.styles.arrow,ref:T})});return he=Tw(v,y,{in:!!n.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:he,onExit:z,onExiting:U,onExited:V,onEnter:J,onEntering:q,onEntered:Re}),N?zf.createPortal(he,N):null});DD.displayName="Overlay";const R4=DD,kD=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=bn(r,"popover-header"),b.jsx(i,{ref:l,className:qt(n,r),...u})));kD.displayName="PopoverHeader";const T4=kD,MD=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=bn(r,"popover-body"),b.jsx(i,{ref:l,className:qt(n,r),...u})));MD.displayName="PopoverBody";const LD=MD;function PD(n,r){let i=n;return n==="left"?i=r?"end":"start":n==="right"&&(i=r?"start":"end"),i}function FD(n="absolute"){return{position:n,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const I4=M.forwardRef(({bsPrefix:n,placement:r="right",className:i,style:u,children:l,body:d,arrowProps:h,hasDoneInitialMeasure:v,popper:y,show:C,...x},R)=>{const T=bn(n,"popover"),j=P0(),[N]=(r==null?void 0:r.split("-"))||[],O=PD(N,j);let _=u;return C&&!v&&(_={...u,...FD(y==null?void 0:y.strategy)}),b.jsxs("div",{ref:R,role:"tooltip",style:_,"x-placement":N,className:qt(i,T,N&&`bs-popover-${O}`),...x,children:[b.jsx("div",{className:"popover-arrow",...h}),d?b.jsx(LD,{children:l}):l]})}),N4=Object.assign(I4,{Header:T4,Body:LD,POPPER_OFFSET:[0,8]}),VD=M.forwardRef(({bsPrefix:n,placement:r="right",className:i,style:u,children:l,arrowProps:d,hasDoneInitialMeasure:h,popper:v,show:y,...C},x)=>{n=bn(n,"tooltip");const R=P0(),[T]=(r==null?void 0:r.split("-"))||[],j=PD(T,R);let N=u;return y&&!h&&(N={...u,...FD(v==null?void 0:v.strategy)}),b.jsxs("div",{ref:x,style:N,role:"tooltip","x-placement":T,className:qt(i,n,`bs-tooltip-${j}`),...C,children:[b.jsx("div",{className:"tooltip-arrow",...d}),b.jsx("div",{className:`${n}-inner`,children:l})]})});VD.displayName="Tooltip";const RR=Object.assign(VD,{TOOLTIP_OFFSET:[0,6]});function _4(n){const r=M.useRef(null),i=bn(void 0,"popover"),u=bn(void 0,"tooltip"),l=M.useMemo(()=>({name:"offset",options:{offset:()=>{if(n)return n;if(r.current){if(Iw(r.current,i))return N4.POPPER_OFFSET;if(Iw(r.current,u))return RR.TOOLTIP_OFFSET}return[0,0]}}}),[n,i,u]);return[r,[l]]}function O4(n,r){const{ref:i}=n,{ref:u}=r;n.ref=i.__wrapped||(i.__wrapped=l=>i(m0(l))),r.ref=u.__wrapped||(u.__wrapped=l=>u(m0(l)))}const BD=M.forwardRef(({children:n,transition:r=$p,popperConfig:i={},rootClose:u=!1,placement:l="top",show:d=!1,...h},v)=>{const y=M.useRef({}),[C,x]=M.useState(null),[R,T]=_4(h.offset),j=ps(v,R),N=r===!0?$p:r||void 0,O=gr(_=>{x(_),i==null||i.onFirstUpdate==null||i.onFirstUpdate(_)});return y0(()=>{C&&h.target&&(y.current.scheduleUpdate==null||y.current.scheduleUpdate())},[C,h.target]),M.useEffect(()=>{d||x(null)},[d]),b.jsx(R4,{...h,ref:j,popperConfig:{...i,modifiers:T.concat(i.modifiers||[]),onFirstUpdate:O},transition:N,rootClose:u,placement:l,show:d,children:(_,{arrowProps:L,popper:F,show:V})=>{var H,z;O4(_,L);const U=F==null?void 0:F.placement,J=Object.assign(y.current,{state:F==null?void 0:F.state,scheduleUpdate:F==null?void 0:F.update,placement:U,outOfBoundaries:(F==null||(H=F.state)==null||(z=H.modifiersData.hide)==null?void 0:z.isReferenceHidden)||!1,strategy:i.strategy}),q=!!C;return typeof n=="function"?n({..._,placement:U,show:V,...!r&&V&&{className:"show"},popper:J,arrowProps:L,hasDoneInitialMeasure:q}):M.cloneElement(n,{..._,placement:U,arrowProps:L,popper:J,hasDoneInitialMeasure:q,className:qt(n.props.className,!r&&V&&"show"),style:{...n.props.style,..._.style}})}})});BD.displayName="Overlay";const zD=BD;var A4={};function j4(n){return n&&typeof n=="object"?n:{show:n,hide:n}}function tO(n,r,i){const[u]=r,l=u.currentTarget,d=u.relatedTarget||u.nativeEvent[i];(!d||d!==l)&&!xm(l,d)&&n(...r)}_t.oneOf(["click","hover","focus"]);const D4=({trigger:n=["hover","focus"],overlay:r,children:i,popperConfig:u={},show:l,defaultShow:d=!1,onToggle:h,delay:v,placement:y,flip:C=y&&y.indexOf("auto")!==-1,...x})=>{const R=M.useRef(null),T=ps(R,i.ref),j=S4(),N=M.useRef(""),[O,_]=dj(l,d,h),L=j4(v),{onFocus:F,onBlur:V,onClick:H}=typeof i!="function"?M.Children.only(i).props:{},z=xe=>{T(m0(xe))},U=M.useCallback(()=>{if(j.clear(),N.current="show",!L.show){_(!0);return}j.set(()=>{N.current==="show"&&_(!0)},L.show)},[L.show,_,j]),J=M.useCallback(()=>{if(j.clear(),N.current="hide",!L.hide){_(!1);return}j.set(()=>{N.current==="hide"&&_(!1)},L.hide)},[L.hide,_,j]),q=M.useCallback((...xe)=>{U(),F==null||F(...xe)},[U,F]),Re=M.useCallback((...xe)=>{J(),V==null||V(...xe)},[J,V]),he=M.useCallback((...xe)=>{_(!O),H==null||H(...xe)},[H,_,O]),ge=M.useCallback((...xe)=>{tO(U,xe,"fromElement")},[U]),fe=M.useCallback((...xe)=>{tO(J,xe,"toElement")},[J]),Oe=n==null?[]:[].concat(n),Te={ref:z};return Oe.indexOf("click")!==-1&&(Te.onClick=he),Oe.indexOf("focus")!==-1&&(Te.onFocus=q,Te.onBlur=Re),Oe.indexOf("hover")!==-1&&(A4.NODE_ENV!=="production"&&bR(Oe.length>1,'[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'),Te.onMouseOver=ge,Te.onMouseOut=fe),b.jsxs(b.Fragment,{children:[typeof i=="function"?i(Te):M.cloneElement(i,Te),b.jsx(zD,{...x,show:O,onHide:J,flip:C,placement:y,popperConfig:u,target:R.current,children:r})]})},HD=D4;function k4({requestId:n,grantNumber:r}){const{request:i}=ri(n,r),{project:u}=Ji(r||i.grantNumber),{setTab:l}=Ji(r||i.grantNumber);if(!i||!u)return;let d;const h={};for(let T of u.users||[])for(let j of T.resourceIds)h[j]=h[j]||0,h[j]+=1;const v=(i.resources||[]).filter(T=>T.isCredit?(d=T,!1):T.allocated>0).map((T,j)=>({...T,userCount:h[T.resourceId]||0,color:pw[j%pw.length]})),y=d?d.allocated:0,C="Exchange"in i.allowedActions,x=i.exchangeActionId!==null,R=[{key:"name",name:"Resource",format:(T,j)=>Uf(j)},{key:"isActive",name:"Status",format:T=>b.jsx(Zp,{status:T?"Active":"Inactive"})},{key:"used",name:"Balance",class:"position-relative",format:(T,j)=>{if(j.isBoolean)return eR(j.allocated);const N=j.allocated-T,O=Math.max(N,0)*100/j.allocated;return b.jsxs(b.Fragment,{children:[b.jsx("div",{className:`usage bg-${j.color}`,style:{width:`${Math.min(O,100)}%`}}),ni(N,{abbreviate:!0})," of"," ",ni(j.allocated,{abbreviate:!0})," ",j.unit," ","remaining (",Math.round(O),"%)"]})}},{key:"endDate",name:"End Date",format:T=>Vp(T)}];return u.isManager&&R.push({key:"userCount",name:"Users",class:"text-end",format:ni}),u.currentUser&&R.push({key:"resourceUsername",name:"My Username",format:(T,j)=>{const N=u.currentUser.resourceUsernames[j.resourceId];if(N)return N;if(u.currentUser.resourceAccountPendingIds.includes(j.resourceId))return b.jsx(Zp,{status:"Pending",title:"Creation of your account by the resource provider is pending."});if(u.currentUser.resourceIds.includes(j.resourceId)||!j.isActive)return b.jsx(b.Fragment,{children:"—"});if(u.isManager)return b.jsx("a",{href:"#",onClick:_=>{_.preventDefault(),l("users")},children:"Grant access"});const O=b.jsxs(RR,{children:["Please contact ",tR(u)," to request access to this resource."]});return b.jsx(HD,{overlay:O,children:b.jsx("a",{href:"#",onClick:_=>{_.preventDefault()},children:"Request access"})})}}),b.jsxs("div",{className:"overview",children:[C&&!x&&y>Nn.creditAlertThreshold?b.jsxs("button",{onClick:()=>l("resources"),className:"alert alert-info d-flex justify-content-between align-items-center w-100",children:[b.jsxs("span",{children:[b.jsxs("span",{className:"fs-3",children:[gc(Nn.resourceTypeIcons[d.icon])," ",ni(y)]})," ",d.unit," available"]}),b.jsxs("span",{className:"align-middle d-flex align-items-center",children:["Exchange credits for resources!"," ",b.jsx("span",{className:"fs-3",children:gc("chevron-right")})]})]}):null,v.length?b.jsx(Kf,{columns:R,rows:v}):null]})}const M4=[{key:"role",name:"Role",format:n=>b.jsxs(b.Fragment,{children:[gc(Nn.roleIcons[n])," ",n]})},{key:"users",name:"Users",format:n=>{const r=n.slice(0,3);return n.length>4&&(r[2]=`${ni(n.length-3)} others`),r.map((i,u)=>{const l=r.length-u;return`${i}${l>2?",":l==2&&r.length>1?" and":""}`}).join(" ")}}],L4=({requestId:n,grantNumber:r})=>{const{project:i}=Ji(r);if(!i)return;const u=L0.map(({role:l,name:d})=>({role:d,users:(i.users||[]).filter(h=>h.role===l).map(h=>`${h.firstName} ${h.lastName}`)})).filter(l=>l.users.length>0);return u.length?b.jsx(Kf,{rows:u,columns:M4}):null};function P4({requestId:n,grantNumber:r}){const{request:i}=ri(n,r),{project:u,username:l}=Ji(r||i.grantNumber);if(!(!i||!u||i.error||u.error)&&i)return b.jsxs("div",{className:"overview",children:[b.jsx(k4,{requestId:n,grantNumber:r}),u.isManager?b.jsxs("div",{className:"row",children:[b.jsx("div",{className:"col-lg-6",children:b.jsx(L4,{requestId:n,grantNumber:r})}),b.jsx("div",{className:"col-lg-6",children:b.jsx(d4,{requestId:n})})]}):null]})}function Zf(n){"@babel/helpers - typeof";return Zf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Zf(n)}function F4(n,r){if(Zf(n)!="object"||!n)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var u=i.call(n,r||"default");if(Zf(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}function UD(n){var r=F4(n,"string");return Zf(r)=="symbol"?r:String(r)}function Pp(n,r,i){return r=UD(r),r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n}function nO(n,r){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(n);r&&(u=u.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),i.push.apply(i,u)}return i}function yt(n){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?nO(Object(i),!0).forEach(function(u){Pp(n,u,i[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):nO(Object(i)).forEach(function(u){Object.defineProperty(n,u,Object.getOwnPropertyDescriptor(i,u))})}return n}function V4(n){if(Array.isArray(n))return n}function B4(n,r){var i=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(i!=null){var u,l,d,h,v=[],y=!0,C=!1;try{if(d=(i=i.call(n)).next,r===0){if(Object(i)!==i)return;y=!1}else for(;!(y=(u=d.call(i)).done)&&(v.push(u.value),v.length!==r);y=!0);}catch(x){C=!0,l=x}finally{try{if(!y&&i.return!=null&&(h=i.return(),Object(h)!==h))return}finally{if(C)throw l}}return v}}function _w(n,r){(r==null||r>n.length)&&(r=n.length);for(var i=0,u=new Array(r);i<r;i++)u[i]=n[i];return u}function $D(n,r){if(n){if(typeof n=="string")return _w(n,r);var i=Object.prototype.toString.call(n).slice(8,-1);if(i==="Object"&&n.constructor&&(i=n.constructor.name),i==="Map"||i==="Set")return Array.from(n);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _w(n,r)}}function z4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
294
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ta(n,r){return V4(n)||B4(n,r)||$D(n,r)||z4()}function rl(n,r){if(n==null)return{};var i=iR(n,r),u,l;if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(n);for(l=0;l<d.length;l++)u=d[l],!(r.indexOf(u)>=0)&&Object.prototype.propertyIsEnumerable.call(n,u)&&(i[u]=n[u])}return i}var H4=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function GD(n){var r=n.defaultInputValue,i=r===void 0?"":r,u=n.defaultMenuIsOpen,l=u===void 0?!1:u,d=n.defaultValue,h=d===void 0?null:d,v=n.inputValue,y=n.menuIsOpen,C=n.onChange,x=n.onInputChange,R=n.onMenuClose,T=n.onMenuOpen,j=n.value,N=rl(n,H4),O=M.useState(v!==void 0?v:i),_=ta(O,2),L=_[0],F=_[1],V=M.useState(y!==void 0?y:l),H=ta(V,2),z=H[0],U=H[1],J=M.useState(j!==void 0?j:h),q=ta(J,2),Re=q[0],he=q[1],ge=M.useCallback(function(ne,_e){typeof C=="function"&&C(ne,_e),he(ne)},[C]),fe=M.useCallback(function(ne,_e){var G;typeof x=="function"&&(G=x(ne,_e)),F(G!==void 0?G:ne)},[x]),Oe=M.useCallback(function(){typeof T=="function"&&T(),U(!0)},[T]),Te=M.useCallback(function(){typeof R=="function"&&R(),U(!1)},[R]),xe=v!==void 0?v:L,je=y!==void 0?y:z,Le=j!==void 0?j:Re;return yt(yt({},N),{},{inputValue:xe,menuIsOpen:je,onChange:ge,onInputChange:fe,onMenuClose:Te,onMenuOpen:Oe,value:Le})}function U4(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function rO(n,r){for(var i=0;i<r.length;i++){var u=r[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,UD(u.key),u)}}function $4(n,r,i){return r&&rO(n.prototype,r),i&&rO(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n}function G4(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),r&&v0(n,r)}function C0(n){return C0=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},C0(n)}function WD(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(WD=function(){return!!n})()}function W4(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function X4(n,r){if(r&&(Zf(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return W4(n)}function Y4(n){var r=WD();return function(){var u=C0(n),l;if(r){var d=C0(this).constructor;l=Reflect.construct(u,arguments,d)}else l=u.apply(this,arguments);return X4(this,l)}}function Z4(n){if(Array.isArray(n))return _w(n)}function J4(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function q4(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
295
295
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function TR(n){return Z4(n)||J4(n)||$D(n)||q4()}var Fb={};function Q4(n){if(n.sheet)return n.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===n)return document.styleSheets[r]}function K4(n){var r=document.createElement("style");return r.setAttribute("data-emotion",n.key),n.nonce!==void 0&&r.setAttribute("nonce",n.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var eW=function(){function n(i){var u=this;this._insertTag=function(l){var d;u.tags.length===0?u.insertionPoint?d=u.insertionPoint.nextSibling:u.prepend?d=u.container.firstChild:d=u.before:d=u.tags[u.tags.length-1].nextSibling,u.container.insertBefore(l,d),u.tags.push(l)},this.isSpeedy=i.speedy===void 0?Fb.NODE_ENV==="production":i.speedy,this.tags=[],this.ctr=0,this.nonce=i.nonce,this.key=i.key,this.container=i.container,this.prepend=i.prepend,this.insertionPoint=i.insertionPoint,this.before=null}var r=n.prototype;return r.hydrate=function(u){u.forEach(this._insertTag)},r.insert=function(u){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(K4(this));var l=this.tags[this.tags.length-1];if(Fb.NODE_ENV!=="production"){var d=u.charCodeAt(0)===64&&u.charCodeAt(1)===105;d&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
296
- `+u+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!d}if(this.isSpeedy){var h=Q4(l);try{h.insertRule(u,h.cssRules.length)}catch(v){Fb.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(u)&&console.error('There was a problem inserting the following rule: "'+u+'"',v)}}else l.appendChild(document.createTextNode(u));this.ctr++},r.flush=function(){this.tags.forEach(function(u){return u.parentNode&&u.parentNode.removeChild(u)}),this.tags=[],this.ctr=0,Fb.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},n}(),Va="-ms-",x0="-moz-",gn="-webkit-",IR="comm",NR="rule",_R="decl",tW="@import",XD="@keyframes",nW="@layer",rW=Math.abs,U0=String.fromCharCode,aW=Object.assign;function iW(n,r){return ma(n,0)^45?(((r<<2^ma(n,0))<<2^ma(n,1))<<2^ma(n,2))<<2^ma(n,3):0}function YD(n){return n.trim()}function oW(n,r){return(n=r.exec(n))?n[0]:n}function yn(n,r,i){return n.replace(r,i)}function Ow(n,r){return n.indexOf(r)}function ma(n,r){return n.charCodeAt(r)|0}function Sm(n,r,i){return n.slice(r,i)}function Qs(n){return n.length}function OR(n){return n.length}function Vb(n,r){return r.push(n),n}function sW(n,r){return n.map(r).join("")}var $0=1,Jp=1,ZD=0,ji=0,Dr=0,rv="";function G0(n,r,i,u,l,d,h){return{value:n,root:r,parent:i,type:u,props:l,children:d,line:$0,column:Jp,length:h,return:""}}function om(n,r){return aW(G0("",null,null,"",null,null,0),n,{length:-n.length},r)}function lW(){return Dr}function uW(){return Dr=ji>0?ma(rv,--ji):0,Jp--,Dr===10&&(Jp=1,$0--),Dr}function Xi(){return Dr=ji<ZD?ma(rv,ji++):0,Jp++,Dr===10&&(Jp=1,$0++),Dr}function tl(){return ma(rv,ji)}function Kb(){return ji}function km(n,r){return Sm(rv,n,r)}function Em(n){switch(n){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function JD(n){return $0=Jp=1,ZD=Qs(rv=n),ji=0,[]}function qD(n){return rv="",n}function e0(n){return YD(km(ji-1,Aw(n===91?n+2:n===40?n+1:n)))}function cW(n){for(;(Dr=tl())&&Dr<33;)Xi();return Em(n)>2||Em(Dr)>3?"":" "}function fW(n,r){for(;--r&&Xi()&&!(Dr<48||Dr>102||Dr>57&&Dr<65||Dr>70&&Dr<97););return km(n,Kb()+(r<6&&tl()==32&&Xi()==32))}function Aw(n){for(;Xi();)switch(Dr){case n:return ji;case 34:case 39:n!==34&&n!==39&&Aw(Dr);break;case 40:n===41&&Aw(n);break;case 92:Xi();break}return ji}function dW(n,r){for(;Xi()&&n+Dr!==57;)if(n+Dr===84&&tl()===47)break;return"/*"+km(r,ji-1)+"*"+U0(n===47?n:Xi())}function pW(n){for(;!Em(tl());)Xi();return km(n,ji)}function vW(n){return qD(t0("",null,null,null,[""],n=JD(n),0,[0],n))}function t0(n,r,i,u,l,d,h,v,y){for(var C=0,x=0,R=h,T=0,j=0,N=0,O=1,_=1,L=1,F=0,V="",H=l,z=d,U=u,J=V;_;)switch(N=F,F=Xi()){case 40:if(N!=108&&ma(J,R-1)==58){Ow(J+=yn(e0(F),"&","&\f"),"&\f")!=-1&&(L=-1);break}case 34:case 39:case 91:J+=e0(F);break;case 9:case 10:case 13:case 32:J+=cW(N);break;case 92:J+=fW(Kb()-1,7);continue;case 47:switch(tl()){case 42:case 47:Vb(hW(dW(Xi(),Kb()),r,i),y);break;default:J+="/"}break;case 123*O:v[C++]=Qs(J)*L;case 125*O:case 59:case 0:switch(F){case 0:case 125:_=0;case 59+x:L==-1&&(J=yn(J,/\f/g,"")),j>0&&Qs(J)-R&&Vb(j>32?iO(J+";",u,i,R-1):iO(yn(J," ","")+";",u,i,R-2),y);break;case 59:J+=";";default:if(Vb(U=aO(J,r,i,C,x,l,v,V,H=[],z=[],R),d),F===123)if(x===0)t0(J,r,U,U,H,d,R,v,z);else switch(T===99&&ma(J,3)===110?100:T){case 100:case 108:case 109:case 115:t0(n,U,U,u&&Vb(aO(n,U,U,0,0,l,v,V,l,H=[],R),z),l,z,R,v,u?H:z);break;default:t0(J,U,U,U,[""],z,0,v,z)}}C=x=j=0,O=L=1,V=J="",R=h;break;case 58:R=1+Qs(J),j=N;default:if(O<1){if(F==123)--O;else if(F==125&&O++==0&&uW()==125)continue}switch(J+=U0(F),F*O){case 38:L=x>0?1:(J+="\f",-1);break;case 44:v[C++]=(Qs(J)-1)*L,L=1;break;case 64:tl()===45&&(J+=e0(Xi())),T=tl(),x=R=Qs(V=J+=pW(Kb())),F++;break;case 45:N===45&&Qs(J)==2&&(O=0)}}return d}function aO(n,r,i,u,l,d,h,v,y,C,x){for(var R=l-1,T=l===0?d:[""],j=OR(T),N=0,O=0,_=0;N<u;++N)for(var L=0,F=Sm(n,R+1,R=rW(O=h[N])),V=n;L<j;++L)(V=YD(O>0?T[L]+" "+F:yn(F,/&\f/g,T[L])))&&(y[_++]=V);return G0(n,r,i,l===0?NR:v,y,C,x)}function hW(n,r,i){return G0(n,r,i,IR,U0(lW()),Sm(n,2,-2),0)}function iO(n,r,i,u){return G0(n,r,i,_R,Sm(n,0,u),Sm(n,u+1,-1),u)}function zp(n,r){for(var i="",u=OR(n),l=0;l<u;l++)i+=r(n[l],l,n,r)||"";return i}function mW(n,r,i,u){switch(n.type){case nW:if(n.children.length)break;case tW:case _R:return n.return=n.return||n.value;case IR:return"";case XD:return n.return=n.value+"{"+zp(n.children,u)+"}";case NR:n.value=n.props.join(",")}return Qs(i=zp(n.children,u))?n.return=n.value+"{"+i+"}":""}function gW(n){var r=OR(n);return function(i,u,l,d){for(var h="",v=0;v<r;v++)h+=n[v](i,u,l,d)||"";return h}}function yW(n){return function(r){r.root||(r=r.return)&&n(r)}}function bW(n){var r=Object.create(null);return function(i){return r[i]===void 0&&(r[i]=n(i)),r[i]}}var sm={},CW=function(r,i,u){for(var l=0,d=0;l=d,d=tl(),l===38&&d===12&&(i[u]=1),!Em(d);)Xi();return km(r,ji)},xW=function(r,i){var u=-1,l=44;do switch(Em(l)){case 0:l===38&&tl()===12&&(i[u]=1),r[u]+=CW(ji-1,i,u);break;case 2:r[u]+=e0(l);break;case 4:if(l===44){r[++u]=tl()===58?"&\f":"",i[u]=r[u].length;break}default:r[u]+=U0(l)}while(l=Xi());return r},SW=function(r,i){return qD(xW(JD(r),i))},oO=new WeakMap,EW=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var i=r.value,u=r.parent,l=r.column===u.column&&r.line===u.line;u.type!=="rule";)if(u=u.parent,!u)return;if(!(r.props.length===1&&i.charCodeAt(0)!==58&&!oO.get(u))&&!l){oO.set(r,!0);for(var d=[],h=SW(i,d),v=u.props,y=0,C=0;y<h.length;y++)for(var x=0;x<v.length;x++,C++)r.props[C]=d[y]?h[y].replace(/&\f/g,v[x]):v[x]+" "+h[y]}}},wW=function(r){if(r.type==="decl"){var i=r.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(r.return="",r.value="")}},RW="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",TW=function(r){return r.type==="comm"&&r.children.indexOf(RW)>-1},IW=function(r){return function(i,u,l){if(!(i.type!=="rule"||r.compat)){var d=i.value.match(/(:first|:nth|:nth-last)-child/g);if(d){for(var h=!!i.parent,v=h?i.parent.children:l,y=v.length-1;y>=0;y--){var C=v[y];if(C.line<i.line)break;if(C.column<i.column){if(TW(C))return;break}}d.forEach(function(x){console.error('The pseudo class "'+x+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+x.split("-child")[0]+'-of-type".')})}}}},QD=function(r){return r.type.charCodeAt(1)===105&&r.type.charCodeAt(0)===64},NW=function(r,i){for(var u=r-1;u>=0;u--)if(!QD(i[u]))return!0;return!1},sO=function(r){r.type="",r.value="",r.return="",r.children="",r.props=""},_W=function(r,i,u){QD(r)&&(r.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),sO(r)):NW(i,u)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),sO(r)))};function KD(n,r){switch(iW(n,r)){case 5103:return gn+"print-"+n+n;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return gn+n+n;case 5349:case 4246:case 4810:case 6968:case 2756:return gn+n+x0+n+Va+n+n;case 6828:case 4268:return gn+n+Va+n+n;case 6165:return gn+n+Va+"flex-"+n+n;case 5187:return gn+n+yn(n,/(\w+).+(:[^]+)/,gn+"box-$1$2"+Va+"flex-$1$2")+n;case 5443:return gn+n+Va+"flex-item-"+yn(n,/flex-|-self/,"")+n;case 4675:return gn+n+Va+"flex-line-pack"+yn(n,/align-content|flex-|-self/,"")+n;case 5548:return gn+n+Va+yn(n,"shrink","negative")+n;case 5292:return gn+n+Va+yn(n,"basis","preferred-size")+n;case 6060:return gn+"box-"+yn(n,"-grow","")+gn+n+Va+yn(n,"grow","positive")+n;case 4554:return gn+yn(n,/([^-])(transform)/g,"$1"+gn+"$2")+n;case 6187:return yn(yn(yn(n,/(zoom-|grab)/,gn+"$1"),/(image-set)/,gn+"$1"),n,"")+n;case 5495:case 3959:return yn(n,/(image-set\([^]*)/,gn+"$1$`$1");case 4968:return yn(yn(n,/(.+:)(flex-)?(.*)/,gn+"box-pack:$3"+Va+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+gn+n+n;case 4095:case 3583:case 4068:case 2532:return yn(n,/(.+)-inline(.+)/,gn+"$1$2")+n;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Qs(n)-1-r>6)switch(ma(n,r+1)){case 109:if(ma(n,r+4)!==45)break;case 102:return yn(n,/(.+:)(.+)-([^]+)/,"$1"+gn+"$2-$3$1"+x0+(ma(n,r+3)==108?"$3":"$2-$3"))+n;case 115:return~Ow(n,"stretch")?KD(yn(n,"stretch","fill-available"),r)+n:n}break;case 4949:if(ma(n,r+1)!==115)break;case 6444:switch(ma(n,Qs(n)-3-(~Ow(n,"!important")&&10))){case 107:return yn(n,":",":"+gn)+n;case 101:return yn(n,/(.+:)([^;!]+)(;|!.+)?/,"$1"+gn+(ma(n,14)===45?"inline-":"")+"box$3$1"+gn+"$2$3$1"+Va+"$2box$3")+n}break;case 5936:switch(ma(n,r+11)){case 114:return gn+n+Va+yn(n,/[svh]\w+-[tblr]{2}/,"tb")+n;case 108:return gn+n+Va+yn(n,/[svh]\w+-[tblr]{2}/,"tb-rl")+n;case 45:return gn+n+Va+yn(n,/[svh]\w+-[tblr]{2}/,"lr")+n}return gn+n+Va+n+n}return n}var OW=function(r,i,u,l){if(r.length>-1&&!r.return)switch(r.type){case _R:r.return=KD(r.value,r.length);break;case XD:return zp([om(r,{value:yn(r.value,"@","@"+gn)})],l);case NR:if(r.length)return sW(r.props,function(d){switch(oW(d,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return zp([om(r,{props:[yn(d,/:(read-\w+)/,":"+x0+"$1")]})],l);case"::placeholder":return zp([om(r,{props:[yn(d,/:(plac\w+)/,":"+gn+"input-$1")]}),om(r,{props:[yn(d,/:(plac\w+)/,":"+x0+"$1")]}),om(r,{props:[yn(d,/:(plac\w+)/,Va+"input-$1")]})],l)}return""})}},AW=[OW],jW=function(r){var i=r.key;if(sm.NODE_ENV!=="production"&&!i)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
297
- If multiple caches share the same key they might "fight" for each other's style elements.`);if(i==="css"){var u=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(u,function(O){var _=O.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(O),O.setAttribute("data-s",""))})}var l=r.stylisPlugins||AW;if(sm.NODE_ENV!=="production"&&/[^a-z-]/.test(i))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+i+'" was passed');var d={},h,v=[];h=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(O){for(var _=O.getAttribute("data-emotion").split(" "),L=1;L<_.length;L++)d[_[L]]=!0;v.push(O)});var y,C=[EW,wW];sm.NODE_ENV!=="production"&&C.push(IW({get compat(){return N.compat}}),_W);{var x,R=[mW,sm.NODE_ENV!=="production"?function(O){O.root||(O.return?x.insert(O.return):O.value&&O.type!==IR&&x.insert(O.value+"{}"))}:yW(function(O){x.insert(O)})],T=gW(C.concat(l,R)),j=function(_){return zp(vW(_),T)};y=function(_,L,F,V){x=F,sm.NODE_ENV!=="production"&&L.map!==void 0&&(x={insert:function(z){F.insert(z+L.map)}}),j(_?_+"{"+L.styles+"}":L.styles),V&&(N.inserted[L.name]=!0)}}var N={key:i,sheet:new eW({key:i,container:h,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:d,registered:{},insert:y};return N.sheet.hydrate(v),N},ek=nR,DW={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},kW={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tk={};tk[ek.ForwardRef]=DW;tk[ek.Memo]=kW;var MW=!0;function nk(n,r,i){var u="";return i.split(" ").forEach(function(l){n[l]!==void 0?r.push(n[l]+";"):u+=l+" "}),u}var AR=function(r,i,u){var l=r.key+"-"+i.name;(u===!1||MW===!1)&&r.registered[l]===void 0&&(r.registered[l]=i.styles)},jR=function(r,i,u){AR(r,i,u);var l=r.key+"-"+i.name;if(r.inserted[i.name]===void 0){var d=i;do r.insert(i===d?"."+l:"",d,r.sheet,!0),d=d.next;while(d!==void 0)}};function LW(n){for(var r=0,i,u=0,l=n.length;l>=4;++u,l-=4)i=n.charCodeAt(u)&255|(n.charCodeAt(++u)&255)<<8|(n.charCodeAt(++u)&255)<<16|(n.charCodeAt(++u)&255)<<24,i=(i&65535)*1540483477+((i>>>16)*59797<<16),i^=i>>>24,r=(i&65535)*1540483477+((i>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(l){case 3:r^=(n.charCodeAt(u+2)&255)<<16;case 2:r^=(n.charCodeAt(u+1)&255)<<8;case 1:r^=n.charCodeAt(u)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var PW={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Eo={},lO=`You have illegal escape sequence in your template literal, most likely inside content's property value.
296
+ `+u+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!d}if(this.isSpeedy){var h=Q4(l);try{h.insertRule(u,h.cssRules.length)}catch(v){Fb.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(u)&&console.error('There was a problem inserting the following rule: "'+u+'"',v)}}else l.appendChild(document.createTextNode(u));this.ctr++},r.flush=function(){this.tags.forEach(function(u){return u.parentNode&&u.parentNode.removeChild(u)}),this.tags=[],this.ctr=0,Fb.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},n}(),Va="-ms-",x0="-moz-",gn="-webkit-",IR="comm",NR="rule",_R="decl",tW="@import",XD="@keyframes",nW="@layer",rW=Math.abs,U0=String.fromCharCode,aW=Object.assign;function iW(n,r){return ma(n,0)^45?(((r<<2^ma(n,0))<<2^ma(n,1))<<2^ma(n,2))<<2^ma(n,3):0}function YD(n){return n.trim()}function oW(n,r){return(n=r.exec(n))?n[0]:n}function yn(n,r,i){return n.replace(r,i)}function Ow(n,r){return n.indexOf(r)}function ma(n,r){return n.charCodeAt(r)|0}function Sm(n,r,i){return n.slice(r,i)}function Ks(n){return n.length}function OR(n){return n.length}function Vb(n,r){return r.push(n),n}function sW(n,r){return n.map(r).join("")}var $0=1,Jp=1,ZD=0,ji=0,Dr=0,rv="";function G0(n,r,i,u,l,d,h){return{value:n,root:r,parent:i,type:u,props:l,children:d,line:$0,column:Jp,length:h,return:""}}function om(n,r){return aW(G0("",null,null,"",null,null,0),n,{length:-n.length},r)}function lW(){return Dr}function uW(){return Dr=ji>0?ma(rv,--ji):0,Jp--,Dr===10&&(Jp=1,$0--),Dr}function Xi(){return Dr=ji<ZD?ma(rv,ji++):0,Jp++,Dr===10&&(Jp=1,$0++),Dr}function nl(){return ma(rv,ji)}function Kb(){return ji}function km(n,r){return Sm(rv,n,r)}function Em(n){switch(n){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function JD(n){return $0=Jp=1,ZD=Ks(rv=n),ji=0,[]}function qD(n){return rv="",n}function e0(n){return YD(km(ji-1,Aw(n===91?n+2:n===40?n+1:n)))}function cW(n){for(;(Dr=nl())&&Dr<33;)Xi();return Em(n)>2||Em(Dr)>3?"":" "}function fW(n,r){for(;--r&&Xi()&&!(Dr<48||Dr>102||Dr>57&&Dr<65||Dr>70&&Dr<97););return km(n,Kb()+(r<6&&nl()==32&&Xi()==32))}function Aw(n){for(;Xi();)switch(Dr){case n:return ji;case 34:case 39:n!==34&&n!==39&&Aw(Dr);break;case 40:n===41&&Aw(n);break;case 92:Xi();break}return ji}function dW(n,r){for(;Xi()&&n+Dr!==57;)if(n+Dr===84&&nl()===47)break;return"/*"+km(r,ji-1)+"*"+U0(n===47?n:Xi())}function pW(n){for(;!Em(nl());)Xi();return km(n,ji)}function vW(n){return qD(t0("",null,null,null,[""],n=JD(n),0,[0],n))}function t0(n,r,i,u,l,d,h,v,y){for(var C=0,x=0,R=h,T=0,j=0,N=0,O=1,_=1,L=1,F=0,V="",H=l,z=d,U=u,J=V;_;)switch(N=F,F=Xi()){case 40:if(N!=108&&ma(J,R-1)==58){Ow(J+=yn(e0(F),"&","&\f"),"&\f")!=-1&&(L=-1);break}case 34:case 39:case 91:J+=e0(F);break;case 9:case 10:case 13:case 32:J+=cW(N);break;case 92:J+=fW(Kb()-1,7);continue;case 47:switch(nl()){case 42:case 47:Vb(hW(dW(Xi(),Kb()),r,i),y);break;default:J+="/"}break;case 123*O:v[C++]=Ks(J)*L;case 125*O:case 59:case 0:switch(F){case 0:case 125:_=0;case 59+x:L==-1&&(J=yn(J,/\f/g,"")),j>0&&Ks(J)-R&&Vb(j>32?iO(J+";",u,i,R-1):iO(yn(J," ","")+";",u,i,R-2),y);break;case 59:J+=";";default:if(Vb(U=aO(J,r,i,C,x,l,v,V,H=[],z=[],R),d),F===123)if(x===0)t0(J,r,U,U,H,d,R,v,z);else switch(T===99&&ma(J,3)===110?100:T){case 100:case 108:case 109:case 115:t0(n,U,U,u&&Vb(aO(n,U,U,0,0,l,v,V,l,H=[],R),z),l,z,R,v,u?H:z);break;default:t0(J,U,U,U,[""],z,0,v,z)}}C=x=j=0,O=L=1,V=J="",R=h;break;case 58:R=1+Ks(J),j=N;default:if(O<1){if(F==123)--O;else if(F==125&&O++==0&&uW()==125)continue}switch(J+=U0(F),F*O){case 38:L=x>0?1:(J+="\f",-1);break;case 44:v[C++]=(Ks(J)-1)*L,L=1;break;case 64:nl()===45&&(J+=e0(Xi())),T=nl(),x=R=Ks(V=J+=pW(Kb())),F++;break;case 45:N===45&&Ks(J)==2&&(O=0)}}return d}function aO(n,r,i,u,l,d,h,v,y,C,x){for(var R=l-1,T=l===0?d:[""],j=OR(T),N=0,O=0,_=0;N<u;++N)for(var L=0,F=Sm(n,R+1,R=rW(O=h[N])),V=n;L<j;++L)(V=YD(O>0?T[L]+" "+F:yn(F,/&\f/g,T[L])))&&(y[_++]=V);return G0(n,r,i,l===0?NR:v,y,C,x)}function hW(n,r,i){return G0(n,r,i,IR,U0(lW()),Sm(n,2,-2),0)}function iO(n,r,i,u){return G0(n,r,i,_R,Sm(n,0,u),Sm(n,u+1,-1),u)}function zp(n,r){for(var i="",u=OR(n),l=0;l<u;l++)i+=r(n[l],l,n,r)||"";return i}function mW(n,r,i,u){switch(n.type){case nW:if(n.children.length)break;case tW:case _R:return n.return=n.return||n.value;case IR:return"";case XD:return n.return=n.value+"{"+zp(n.children,u)+"}";case NR:n.value=n.props.join(",")}return Ks(i=zp(n.children,u))?n.return=n.value+"{"+i+"}":""}function gW(n){var r=OR(n);return function(i,u,l,d){for(var h="",v=0;v<r;v++)h+=n[v](i,u,l,d)||"";return h}}function yW(n){return function(r){r.root||(r=r.return)&&n(r)}}function bW(n){var r=Object.create(null);return function(i){return r[i]===void 0&&(r[i]=n(i)),r[i]}}var sm={},CW=function(r,i,u){for(var l=0,d=0;l=d,d=nl(),l===38&&d===12&&(i[u]=1),!Em(d);)Xi();return km(r,ji)},xW=function(r,i){var u=-1,l=44;do switch(Em(l)){case 0:l===38&&nl()===12&&(i[u]=1),r[u]+=CW(ji-1,i,u);break;case 2:r[u]+=e0(l);break;case 4:if(l===44){r[++u]=nl()===58?"&\f":"",i[u]=r[u].length;break}default:r[u]+=U0(l)}while(l=Xi());return r},SW=function(r,i){return qD(xW(JD(r),i))},oO=new WeakMap,EW=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var i=r.value,u=r.parent,l=r.column===u.column&&r.line===u.line;u.type!=="rule";)if(u=u.parent,!u)return;if(!(r.props.length===1&&i.charCodeAt(0)!==58&&!oO.get(u))&&!l){oO.set(r,!0);for(var d=[],h=SW(i,d),v=u.props,y=0,C=0;y<h.length;y++)for(var x=0;x<v.length;x++,C++)r.props[C]=d[y]?h[y].replace(/&\f/g,v[x]):v[x]+" "+h[y]}}},wW=function(r){if(r.type==="decl"){var i=r.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(r.return="",r.value="")}},RW="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",TW=function(r){return r.type==="comm"&&r.children.indexOf(RW)>-1},IW=function(r){return function(i,u,l){if(!(i.type!=="rule"||r.compat)){var d=i.value.match(/(:first|:nth|:nth-last)-child/g);if(d){for(var h=!!i.parent,v=h?i.parent.children:l,y=v.length-1;y>=0;y--){var C=v[y];if(C.line<i.line)break;if(C.column<i.column){if(TW(C))return;break}}d.forEach(function(x){console.error('The pseudo class "'+x+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+x.split("-child")[0]+'-of-type".')})}}}},QD=function(r){return r.type.charCodeAt(1)===105&&r.type.charCodeAt(0)===64},NW=function(r,i){for(var u=r-1;u>=0;u--)if(!QD(i[u]))return!0;return!1},sO=function(r){r.type="",r.value="",r.return="",r.children="",r.props=""},_W=function(r,i,u){QD(r)&&(r.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),sO(r)):NW(i,u)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),sO(r)))};function KD(n,r){switch(iW(n,r)){case 5103:return gn+"print-"+n+n;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return gn+n+n;case 5349:case 4246:case 4810:case 6968:case 2756:return gn+n+x0+n+Va+n+n;case 6828:case 4268:return gn+n+Va+n+n;case 6165:return gn+n+Va+"flex-"+n+n;case 5187:return gn+n+yn(n,/(\w+).+(:[^]+)/,gn+"box-$1$2"+Va+"flex-$1$2")+n;case 5443:return gn+n+Va+"flex-item-"+yn(n,/flex-|-self/,"")+n;case 4675:return gn+n+Va+"flex-line-pack"+yn(n,/align-content|flex-|-self/,"")+n;case 5548:return gn+n+Va+yn(n,"shrink","negative")+n;case 5292:return gn+n+Va+yn(n,"basis","preferred-size")+n;case 6060:return gn+"box-"+yn(n,"-grow","")+gn+n+Va+yn(n,"grow","positive")+n;case 4554:return gn+yn(n,/([^-])(transform)/g,"$1"+gn+"$2")+n;case 6187:return yn(yn(yn(n,/(zoom-|grab)/,gn+"$1"),/(image-set)/,gn+"$1"),n,"")+n;case 5495:case 3959:return yn(n,/(image-set\([^]*)/,gn+"$1$`$1");case 4968:return yn(yn(n,/(.+:)(flex-)?(.*)/,gn+"box-pack:$3"+Va+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+gn+n+n;case 4095:case 3583:case 4068:case 2532:return yn(n,/(.+)-inline(.+)/,gn+"$1$2")+n;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ks(n)-1-r>6)switch(ma(n,r+1)){case 109:if(ma(n,r+4)!==45)break;case 102:return yn(n,/(.+:)(.+)-([^]+)/,"$1"+gn+"$2-$3$1"+x0+(ma(n,r+3)==108?"$3":"$2-$3"))+n;case 115:return~Ow(n,"stretch")?KD(yn(n,"stretch","fill-available"),r)+n:n}break;case 4949:if(ma(n,r+1)!==115)break;case 6444:switch(ma(n,Ks(n)-3-(~Ow(n,"!important")&&10))){case 107:return yn(n,":",":"+gn)+n;case 101:return yn(n,/(.+:)([^;!]+)(;|!.+)?/,"$1"+gn+(ma(n,14)===45?"inline-":"")+"box$3$1"+gn+"$2$3$1"+Va+"$2box$3")+n}break;case 5936:switch(ma(n,r+11)){case 114:return gn+n+Va+yn(n,/[svh]\w+-[tblr]{2}/,"tb")+n;case 108:return gn+n+Va+yn(n,/[svh]\w+-[tblr]{2}/,"tb-rl")+n;case 45:return gn+n+Va+yn(n,/[svh]\w+-[tblr]{2}/,"lr")+n}return gn+n+Va+n+n}return n}var OW=function(r,i,u,l){if(r.length>-1&&!r.return)switch(r.type){case _R:r.return=KD(r.value,r.length);break;case XD:return zp([om(r,{value:yn(r.value,"@","@"+gn)})],l);case NR:if(r.length)return sW(r.props,function(d){switch(oW(d,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return zp([om(r,{props:[yn(d,/:(read-\w+)/,":"+x0+"$1")]})],l);case"::placeholder":return zp([om(r,{props:[yn(d,/:(plac\w+)/,":"+gn+"input-$1")]}),om(r,{props:[yn(d,/:(plac\w+)/,":"+x0+"$1")]}),om(r,{props:[yn(d,/:(plac\w+)/,Va+"input-$1")]})],l)}return""})}},AW=[OW],jW=function(r){var i=r.key;if(sm.NODE_ENV!=="production"&&!i)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
297
+ If multiple caches share the same key they might "fight" for each other's style elements.`);if(i==="css"){var u=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(u,function(O){var _=O.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(O),O.setAttribute("data-s",""))})}var l=r.stylisPlugins||AW;if(sm.NODE_ENV!=="production"&&/[^a-z-]/.test(i))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+i+'" was passed');var d={},h,v=[];h=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(O){for(var _=O.getAttribute("data-emotion").split(" "),L=1;L<_.length;L++)d[_[L]]=!0;v.push(O)});var y,C=[EW,wW];sm.NODE_ENV!=="production"&&C.push(IW({get compat(){return N.compat}}),_W);{var x,R=[mW,sm.NODE_ENV!=="production"?function(O){O.root||(O.return?x.insert(O.return):O.value&&O.type!==IR&&x.insert(O.value+"{}"))}:yW(function(O){x.insert(O)})],T=gW(C.concat(l,R)),j=function(_){return zp(vW(_),T)};y=function(_,L,F,V){x=F,sm.NODE_ENV!=="production"&&L.map!==void 0&&(x={insert:function(z){F.insert(z+L.map)}}),j(_?_+"{"+L.styles+"}":L.styles),V&&(N.inserted[L.name]=!0)}}var N={key:i,sheet:new eW({key:i,container:h,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:d,registered:{},insert:y};return N.sheet.hydrate(v),N},ek=nR,DW={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},kW={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tk={};tk[ek.ForwardRef]=DW;tk[ek.Memo]=kW;var MW=!0;function nk(n,r,i){var u="";return i.split(" ").forEach(function(l){n[l]!==void 0?r.push(n[l]+";"):u+=l+" "}),u}var AR=function(r,i,u){var l=r.key+"-"+i.name;(u===!1||MW===!1)&&r.registered[l]===void 0&&(r.registered[l]=i.styles)},jR=function(r,i,u){AR(r,i,u);var l=r.key+"-"+i.name;if(r.inserted[i.name]===void 0){var d=i;do r.insert(i===d?"."+l:"",d,r.sheet,!0),d=d.next;while(d!==void 0)}};function LW(n){for(var r=0,i,u=0,l=n.length;l>=4;++u,l-=4)i=n.charCodeAt(u)&255|(n.charCodeAt(++u)&255)<<8|(n.charCodeAt(++u)&255)<<16|(n.charCodeAt(++u)&255)<<24,i=(i&65535)*1540483477+((i>>>16)*59797<<16),i^=i>>>24,r=(i&65535)*1540483477+((i>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(l){case 3:r^=(n.charCodeAt(u+2)&255)<<16;case 2:r^=(n.charCodeAt(u+1)&255)<<8;case 1:r^=n.charCodeAt(u)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var PW={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},wo={},lO=`You have illegal escape sequence in your template literal, most likely inside content's property value.
298
298
  Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
299
299
  You can read more about this here:
300
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,FW="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",VW=/[A-Z]|^ms/g,rk=/_EMO_([^_]+?)_([^]*?)_EMO_/g,DR=function(r){return r.charCodeAt(1)===45},uO=function(r){return r!=null&&typeof r!="boolean"},$E=bW(function(n){return DR(n)?n:n.replace(VW,"-$&").toLowerCase()}),S0=function(r,i){switch(r){case"animation":case"animationName":if(typeof i=="string")return i.replace(rk,function(u,l,d){return ss={name:l,styles:d,next:ss},l})}return PW[r]!==1&&!DR(r)&&typeof i=="number"&&i!==0?i+"px":i};if(Eo.NODE_ENV!=="production"){var BW=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,zW=["normal","none","initial","inherit","unset"],HW=S0,UW=/^-ms-/,$W=/-(.)/g,cO={};S0=function(r,i){if(r==="content"&&(typeof i!="string"||zW.indexOf(i)===-1&&!BW.test(i)&&(i.charAt(0)!==i.charAt(i.length-1)||i.charAt(0)!=='"'&&i.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+i+"\"'`");var u=HW(r,i);return u!==""&&!DR(r)&&r.indexOf("-")!==-1&&cO[r]===void 0&&(cO[r]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+r.replace(UW,"ms-").replace($W,function(l,d){return d.toUpperCase()})+"?")),u}}var ak="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function wm(n,r,i){if(i==null)return"";if(i.__emotion_styles!==void 0){if(Eo.NODE_ENV!=="production"&&i.toString()==="NO_COMPONENT_SELECTOR")throw new Error(ak);return i}switch(typeof i){case"boolean":return"";case"object":{if(i.anim===1)return ss={name:i.name,styles:i.styles,next:ss},i.name;if(i.styles!==void 0){var u=i.next;if(u!==void 0)for(;u!==void 0;)ss={name:u.name,styles:u.styles,next:ss},u=u.next;var l=i.styles+";";return Eo.NODE_ENV!=="production"&&i.map!==void 0&&(l+=i.map),l}return GW(n,r,i)}case"function":{if(n!==void 0){var d=ss,h=i(n);return ss=d,wm(n,r,h)}else Eo.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(Eo.NODE_ENV!=="production"){var v=[],y=i.replace(rk,function(x,R,T){var j="animation"+v.length;return v.push("const "+j+" = keyframes`"+T.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+j+"}"});v.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(v,["`"+y+"`"]).join(`
300
+ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,FW="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",VW=/[A-Z]|^ms/g,rk=/_EMO_([^_]+?)_([^]*?)_EMO_/g,DR=function(r){return r.charCodeAt(1)===45},uO=function(r){return r!=null&&typeof r!="boolean"},$E=bW(function(n){return DR(n)?n:n.replace(VW,"-$&").toLowerCase()}),S0=function(r,i){switch(r){case"animation":case"animationName":if(typeof i=="string")return i.replace(rk,function(u,l,d){return ls={name:l,styles:d,next:ls},l})}return PW[r]!==1&&!DR(r)&&typeof i=="number"&&i!==0?i+"px":i};if(wo.NODE_ENV!=="production"){var BW=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,zW=["normal","none","initial","inherit","unset"],HW=S0,UW=/^-ms-/,$W=/-(.)/g,cO={};S0=function(r,i){if(r==="content"&&(typeof i!="string"||zW.indexOf(i)===-1&&!BW.test(i)&&(i.charAt(0)!==i.charAt(i.length-1)||i.charAt(0)!=='"'&&i.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+i+"\"'`");var u=HW(r,i);return u!==""&&!DR(r)&&r.indexOf("-")!==-1&&cO[r]===void 0&&(cO[r]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+r.replace(UW,"ms-").replace($W,function(l,d){return d.toUpperCase()})+"?")),u}}var ak="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function wm(n,r,i){if(i==null)return"";if(i.__emotion_styles!==void 0){if(wo.NODE_ENV!=="production"&&i.toString()==="NO_COMPONENT_SELECTOR")throw new Error(ak);return i}switch(typeof i){case"boolean":return"";case"object":{if(i.anim===1)return ls={name:i.name,styles:i.styles,next:ls},i.name;if(i.styles!==void 0){var u=i.next;if(u!==void 0)for(;u!==void 0;)ls={name:u.name,styles:u.styles,next:ls},u=u.next;var l=i.styles+";";return wo.NODE_ENV!=="production"&&i.map!==void 0&&(l+=i.map),l}return GW(n,r,i)}case"function":{if(n!==void 0){var d=ls,h=i(n);return ls=d,wm(n,r,h)}else wo.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(wo.NODE_ENV!=="production"){var v=[],y=i.replace(rk,function(x,R,T){var j="animation"+v.length;return v.push("const "+j+" = keyframes`"+T.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+j+"}"});v.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(v,["`"+y+"`"]).join(`
301
301
  `)+`
302
302
 
303
303
  You should wrap it with \`css\` like this:
304
304
 
305
- `+("css`"+y+"`"))}break}if(r==null)return i;var C=r[i];return C!==void 0?C:i}function GW(n,r,i){var u="";if(Array.isArray(i))for(var l=0;l<i.length;l++)u+=wm(n,r,i[l])+";";else for(var d in i){var h=i[d];if(typeof h!="object")r!=null&&r[h]!==void 0?u+=d+"{"+r[h]+"}":uO(h)&&(u+=$E(d)+":"+S0(d,h)+";");else{if(d==="NO_COMPONENT_SELECTOR"&&Eo.NODE_ENV!=="production")throw new Error(ak);if(Array.isArray(h)&&typeof h[0]=="string"&&(r==null||r[h[0]]===void 0))for(var v=0;v<h.length;v++)uO(h[v])&&(u+=$E(d)+":"+S0(d,h[v])+";");else{var y=wm(n,r,h);switch(d){case"animation":case"animationName":{u+=$E(d)+":"+y+";";break}default:Eo.NODE_ENV!=="production"&&d==="undefined"&&console.error(FW),u+=d+"{"+y+"}"}}}}return u}var fO=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ik;Eo.NODE_ENV!=="production"&&(ik=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var ss,Rm=function(r,i,u){if(r.length===1&&typeof r[0]=="object"&&r[0]!==null&&r[0].styles!==void 0)return r[0];var l=!0,d="";ss=void 0;var h=r[0];h==null||h.raw===void 0?(l=!1,d+=wm(u,i,h)):(Eo.NODE_ENV!=="production"&&h[0]===void 0&&console.error(lO),d+=h[0]);for(var v=1;v<r.length;v++)d+=wm(u,i,r[v]),l&&(Eo.NODE_ENV!=="production"&&h[v]===void 0&&console.error(lO),d+=h[v]);var y;Eo.NODE_ENV!=="production"&&(d=d.replace(ik,function(T){return y=T,""})),fO.lastIndex=0;for(var C="",x;(x=fO.exec(d))!==null;)C+="-"+x[1];var R=LW(d)+C;return Eo.NODE_ENV!=="production"?{name:R,styles:d,map:y,next:ss,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:R,styles:d,next:ss}},WW=function(r){return r()},ok=l0.useInsertionEffect?l0.useInsertionEffect:!1,sk=ok||WW,dO=ok||M.useLayoutEffect,Zf={},kR={}.hasOwnProperty,MR=M.createContext(typeof HTMLElement<"u"?jW({key:"css"}):null);Zf.NODE_ENV!=="production"&&(MR.displayName="EmotionCacheContext");MR.Provider;var LR=function(r){return M.forwardRef(function(i,u){var l=M.useContext(MR);return r(i,l,u)})},W0=M.createContext({});Zf.NODE_ENV!=="production"&&(W0.displayName="EmotionThemeContext");var pO=function(r){var i=r.split(".");return i[i.length-1]},XW=function(r){var i=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(r);if(i||(i=/^([A-Za-z0-9$.]+)@/.exec(r),i))return pO(i[1])},YW=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),ZW=function(r){return r.replace(/\$/g,"-")},JW=function(r){if(r)for(var i=r.split(`
306
- `),u=0;u<i.length;u++){var l=XW(i[u]);if(l){if(YW.has(l))break;if(/^[A-Z]/.test(l))return ZW(l)}}},jw="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Dw="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",qW=function(r,i){if(Zf.NODE_ENV!=="production"&&typeof i.css=="string"&&i.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+i.css+"`");var u={};for(var l in i)kR.call(i,l)&&(u[l]=i[l]);if(u[jw]=r,Zf.NODE_ENV!=="production"&&i.css&&(typeof i.css!="object"||typeof i.css.name!="string"||i.css.name.indexOf("-")===-1)){var d=JW(new Error().stack);d&&(u[Dw]=d)}return u},QW=function(r){var i=r.cache,u=r.serialized,l=r.isStringTag;return AR(i,u,l),sk(function(){return jR(i,u,l)}),null},lk=LR(function(n,r,i){var u=n.css;typeof u=="string"&&r.registered[u]!==void 0&&(u=r.registered[u]);var l=n[jw],d=[u],h="";typeof n.className=="string"?h=nk(r.registered,d,n.className):n.className!=null&&(h=n.className+" ");var v=Rm(d,void 0,M.useContext(W0));if(Zf.NODE_ENV!=="production"&&v.name.indexOf("-")===-1){var y=n[Dw];y&&(v=Rm([v,"label:"+y+";"]))}h+=r.key+"-"+v.name;var C={};for(var x in n)kR.call(n,x)&&x!=="css"&&x!==jw&&(Zf.NODE_ENV==="production"||x!==Dw)&&(C[x]=n[x]);return C.ref=i,C.className=h,M.createElement(M.Fragment,null,M.createElement(QW,{cache:r,serialized:v,isStringTag:typeof l=="string"}),M.createElement(l,C))});Zf.NODE_ENV!=="production"&&(lk.displayName="EmotionCssPropInternal");var KW=lk,Jf={},e5={name:"@emotion/react",version:"11.11.3",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},Et=function(r,i){var u=arguments;if(i==null||!kR.call(i,"css"))return M.createElement.apply(void 0,u);var l=u.length,d=new Array(l);d[0]=KW,d[1]=qW(r,i);for(var h=2;h<l;h++)d[h]=u[h];return M.createElement.apply(null,d)},vO=!1,t5=LR(function(n,r){Jf.NODE_ENV!=="production"&&!vO&&(n.className||n.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),vO=!0);var i=n.styles,u=Rm([i],void 0,M.useContext(W0)),l=M.useRef();return dO(function(){var d=r.key+"-global",h=new r.sheet.constructor({key:d,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),v=!1,y=document.querySelector('style[data-emotion="'+d+" "+u.name+'"]');return r.sheet.tags.length&&(h.before=r.sheet.tags[0]),y!==null&&(v=!0,y.setAttribute("data-emotion",d),h.hydrate([y])),l.current=[h,v],function(){h.flush()}},[r]),dO(function(){var d=l.current,h=d[0],v=d[1];if(v){d[1]=!1;return}if(u.next!==void 0&&jR(r,u.next,!0),h.tags.length){var y=h.tags[h.tags.length-1].nextElementSibling;h.before=y,h.flush()}r.insert("",u,h,!1)},[r,u.name]),null});Jf.NODE_ENV!=="production"&&(t5.displayName="EmotionGlobal");function PR(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return Rm(r)}var n5=function(){var r=PR.apply(void 0,arguments),i="animation-"+r.name;return{name:i,styles:"@keyframes "+i+"{"+r.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},r5=function n(r){for(var i=r.length,u=0,l="";u<i;u++){var d=r[u];if(d!=null){var h=void 0;switch(typeof d){case"boolean":break;case"object":{if(Array.isArray(d))h=n(d);else{Jf.NODE_ENV!=="production"&&d.styles!==void 0&&d.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),h="";for(var v in d)d[v]&&v&&(h&&(h+=" "),h+=v)}break}default:h=d}h&&(l&&(l+=" "),l+=h)}}return l};function a5(n,r,i){var u=[],l=nk(n,u,i);return u.length<2?i:l+r(u)}var i5=function(r){var i=r.cache,u=r.serializedArr;return sk(function(){for(var l=0;l<u.length;l++)jR(i,u[l],!1)}),null},o5=LR(function(n,r){var i=!1,u=[],l=function(){if(i&&Jf.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var C=arguments.length,x=new Array(C),R=0;R<C;R++)x[R]=arguments[R];var T=Rm(x,r.registered);return u.push(T),AR(r,T,!1),r.key+"-"+T.name},d=function(){if(i&&Jf.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var C=arguments.length,x=new Array(C),R=0;R<C;R++)x[R]=arguments[R];return a5(r.registered,l,r5(x))},h={css:l,cx:d,theme:M.useContext(W0)},v=n.children(h);return i=!0,M.createElement(M.Fragment,null,M.createElement(i5,{cache:r,serializedArr:u}),v)});Jf.NODE_ENV!=="production"&&(o5.displayName="EmotionClassNames");if(Jf.NODE_ENV!=="production"){var hO=!0,s5=typeof jest<"u"||typeof vi<"u";if(hO&&!s5){var mO=typeof globalThis<"u"?globalThis:hO?window:global,gO="__EMOTION_REACT_"+e5.version.split(".")[0]+"__";mO[gO]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),mO[gO]=!0}}function l5(n,r){return r||(r=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(r)}}))}const u5=Math.min,c5=Math.max,E0=Math.round,Bb=Math.floor,w0=n=>({x:n,y:n});function f5(n){return{...n,top:n.y,left:n.x,right:n.x+n.width,bottom:n.y+n.height}}function uk(n){return fk(n)?(n.nodeName||"").toLowerCase():"#document"}function cs(n){var r;return(n==null||(r=n.ownerDocument)==null?void 0:r.defaultView)||window}function ck(n){var r;return(r=(fk(n)?n.ownerDocument:n.document)||window.document)==null?void 0:r.documentElement}function fk(n){return n instanceof Node||n instanceof cs(n).Node}function kw(n){return n instanceof Element||n instanceof cs(n).Element}function FR(n){return n instanceof HTMLElement||n instanceof cs(n).HTMLElement}function yO(n){return typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof cs(n).ShadowRoot}function dk(n){const{overflow:r,overflowX:i,overflowY:u,display:l}=VR(n);return/auto|scroll|overlay|hidden|clip/.test(r+u+i)&&!["inline","contents"].includes(l)}function d5(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function p5(n){return["html","body","#document"].includes(uk(n))}function VR(n){return cs(n).getComputedStyle(n)}function v5(n){if(uk(n)==="html")return n;const r=n.assignedSlot||n.parentNode||yO(n)&&n.host||ck(n);return yO(r)?r.host:r}function pk(n){const r=v5(n);return p5(r)?n.ownerDocument?n.ownerDocument.body:n.body:FR(r)&&dk(r)?r:pk(r)}function R0(n,r,i){var u;r===void 0&&(r=[]),i===void 0&&(i=!0);const l=pk(n),d=l===((u=n.ownerDocument)==null?void 0:u.body),h=cs(l);return d?r.concat(h,h.visualViewport||[],dk(l)?l:[],h.frameElement&&i?R0(h.frameElement):[]):r.concat(l,R0(l,[],i))}function h5(n){const r=VR(n);let i=parseFloat(r.width)||0,u=parseFloat(r.height)||0;const l=FR(n),d=l?n.offsetWidth:i,h=l?n.offsetHeight:u,v=E0(i)!==d||E0(u)!==h;return v&&(i=d,u=h),{width:i,height:u,$:v}}function BR(n){return kw(n)?n:n.contextElement}function GE(n){const r=BR(n);if(!FR(r))return w0(1);const i=r.getBoundingClientRect(),{width:u,height:l,$:d}=h5(r);let h=(d?E0(i.width):i.width)/u,v=(d?E0(i.height):i.height)/l;return(!h||!Number.isFinite(h))&&(h=1),(!v||!Number.isFinite(v))&&(v=1),{x:h,y:v}}const m5=w0(0);function g5(n){const r=cs(n);return!d5()||!r.visualViewport?m5:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function y5(n,r,i){return r===void 0&&(r=!1),!i||r&&i!==cs(n)?!1:r}function bO(n,r,i,u){r===void 0&&(r=!1),i===void 0&&(i=!1);const l=n.getBoundingClientRect(),d=BR(n);let h=w0(1);r&&(u?kw(u)&&(h=GE(u)):h=GE(n));const v=y5(d,i,u)?g5(d):w0(0);let y=(l.left+v.x)/h.x,C=(l.top+v.y)/h.y,x=l.width/h.x,R=l.height/h.y;if(d){const T=cs(d),j=u&&kw(u)?cs(u):u;let N=T.frameElement;for(;N&&u&&j!==T;){const O=GE(N),_=N.getBoundingClientRect(),L=VR(N),F=_.left+(N.clientLeft+parseFloat(L.paddingLeft))*O.x,V=_.top+(N.clientTop+parseFloat(L.paddingTop))*O.y;y*=O.x,C*=O.y,x*=O.x,R*=O.y,y+=F,C+=V,N=cs(N).frameElement}}return f5({width:x,height:R,x:y,y:C})}function b5(n,r){let i=null,u;const l=ck(n);function d(){var v;clearTimeout(u),(v=i)==null||v.disconnect(),i=null}function h(v,y){v===void 0&&(v=!1),y===void 0&&(y=1),d();const{left:C,top:x,width:R,height:T}=n.getBoundingClientRect();if(v||r(),!R||!T)return;const j=Bb(x),N=Bb(l.clientWidth-(C+R)),O=Bb(l.clientHeight-(x+T)),_=Bb(C),F={rootMargin:-j+"px "+-N+"px "+-O+"px "+-_+"px",threshold:c5(0,u5(1,y))||1};let V=!0;function H(z){const U=z[0].intersectionRatio;if(U!==y){if(!V)return h();U?h(!1,U):u=setTimeout(()=>{h(!1,1e-7)},100)}V=!1}try{i=new IntersectionObserver(H,{...F,root:l.ownerDocument})}catch{i=new IntersectionObserver(H,F)}i.observe(n)}return h(!0),d}function C5(n,r,i,u){u===void 0&&(u={});const{ancestorScroll:l=!0,ancestorResize:d=!0,elementResize:h=typeof ResizeObserver=="function",layoutShift:v=typeof IntersectionObserver=="function",animationFrame:y=!1}=u,C=BR(n),x=l||d?[...C?R0(C):[],...R0(r)]:[];x.forEach(L=>{l&&L.addEventListener("scroll",i,{passive:!0}),d&&L.addEventListener("resize",i)});const R=C&&v?b5(C,i):null;let T=-1,j=null;h&&(j=new ResizeObserver(L=>{let[F]=L;F&&F.target===C&&j&&(j.unobserve(r),cancelAnimationFrame(T),T=requestAnimationFrame(()=>{var V;(V=j)==null||V.observe(r)})),i()}),C&&!y&&j.observe(C),j.observe(r));let N,O=y?bO(n):null;y&&_();function _(){const L=bO(n);O&&(L.x!==O.x||L.y!==O.y||L.width!==O.width||L.height!==O.height)&&i(),O=L,N=requestAnimationFrame(_)}return i(),()=>{var L;x.forEach(F=>{l&&F.removeEventListener("scroll",i),d&&F.removeEventListener("resize",i)}),R==null||R(),(L=j)==null||L.disconnect(),j=null,y&&cancelAnimationFrame(N)}}var Mw=M.useLayoutEffect,Lw={},x5=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],T0=function(){};function S5(n,r){return r?r[0]==="-"?n+r:n+"__"+r:n}function E5(n,r){for(var i=arguments.length,u=new Array(i>2?i-2:0),l=2;l<i;l++)u[l-2]=arguments[l];var d=[].concat(u);if(r&&n)for(var h in r)r.hasOwnProperty(h)&&r[h]&&d.push("".concat(S5(n,h)));return d.filter(function(v){return v}).map(function(v){return String(v).trim()}).join(" ")}var CO=function(r){return D5(r)?r.filter(Boolean):Yf(r)==="object"&&r!==null?[r]:[]},vk=function(r){r.className,r.clearValue,r.cx,r.getStyles,r.getClassNames,r.getValue,r.hasValue,r.isMulti,r.isRtl,r.options,r.selectOption,r.selectProps,r.setValue,r.theme;var i=nl(r,x5);return yt({},i)},yr=function(r,i,u){var l=r.cx,d=r.getStyles,h=r.getClassNames,v=r.className;return{css:d(i,r),className:l(u??{},h(i,r),v)}};function w5(n,r,i){if(i){var u=i(n,r);if(typeof u=="string")return u}return n}function X0(n){return[document.documentElement,document.body,window].indexOf(n)>-1}function R5(n){return X0(n)?window.innerHeight:n.clientHeight}function hk(n){return X0(n)?window.pageYOffset:n.scrollTop}function I0(n,r){if(X0(n)){window.scrollTo(0,r);return}n.scrollTop=r}function T5(n){var r=getComputedStyle(n),i=r.position==="absolute",u=/(auto|scroll)/;if(r.position==="fixed")return document.documentElement;for(var l=n;l=l.parentElement;)if(r=getComputedStyle(l),!(i&&r.position==="static")&&u.test(r.overflow+r.overflowY+r.overflowX))return l;return document.documentElement}function I5(n,r,i,u){return i*((n=n/u-1)*n*n+1)+r}function zb(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:T0,l=hk(n),d=r-l,h=10,v=0;function y(){v+=h;var C=I5(v,l,d,i);I0(n,C),v<i?window.requestAnimationFrame(y):u(n)}y()}function xO(n,r){var i=n.getBoundingClientRect(),u=r.getBoundingClientRect(),l=r.offsetHeight/3;u.bottom+l>i.bottom?I0(n,Math.min(r.offsetTop+r.clientHeight-n.offsetHeight+l,n.scrollHeight)):u.top-l<i.top&&I0(n,Math.max(r.offsetTop-l,0))}function N5(n){var r=n.getBoundingClientRect();return{bottom:r.bottom,height:r.height,left:r.left,right:r.right,top:r.top,width:r.width}}function SO(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function _5(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var mk=!1,O5={get passive(){return mk=!0}},Hb=typeof window<"u"?window:{};Hb.addEventListener&&Hb.removeEventListener&&(Hb.addEventListener("p",T0,O5),Hb.removeEventListener("p",T0,!1));var A5=mk;function j5(n){return n!=null}function D5(n){return Array.isArray(n)}function Ub(n,r,i){return n?r:i}var k5=function(r){for(var i=arguments.length,u=new Array(i>1?i-1:0),l=1;l<i;l++)u[l-1]=arguments[l];var d=Object.entries(r).filter(function(h){var v=ta(h,1),y=v[0];return!u.includes(y)});return d.reduce(function(h,v){var y=ta(v,2),C=y[0],x=y[1];return h[C]=x,h},{})},M5=["children","innerProps"],L5=["children","innerProps"];function P5(n){var r=n.maxHeight,i=n.menuEl,u=n.minHeight,l=n.placement,d=n.shouldScroll,h=n.isFixedPosition,v=n.controlHeight,y=T5(i),C={placement:"bottom",maxHeight:r};if(!i||!i.offsetParent)return C;var x=y.getBoundingClientRect(),R=x.height,T=i.getBoundingClientRect(),j=T.bottom,N=T.height,O=T.top,_=i.offsetParent.getBoundingClientRect(),L=_.top,F=h?window.innerHeight:R5(y),V=hk(y),H=parseInt(getComputedStyle(i).marginBottom,10),z=parseInt(getComputedStyle(i).marginTop,10),U=L-z,J=F-O,q=U+V,Re=R-V-O,he=j-F+V+H,ge=V+O-z,fe=160;switch(l){case"auto":case"bottom":if(J>=N)return{placement:"bottom",maxHeight:r};if(Re>=N&&!h)return d&&zb(y,he,fe),{placement:"bottom",maxHeight:r};if(!h&&Re>=u||h&&J>=u){d&&zb(y,he,fe);var Oe=h?J-H:Re-H;return{placement:"bottom",maxHeight:Oe}}if(l==="auto"||h){var Te=r,xe=h?U:q;return xe>=u&&(Te=Math.min(xe-H-v,r)),{placement:"top",maxHeight:Te}}if(l==="bottom")return d&&I0(y,he),{placement:"bottom",maxHeight:r};break;case"top":if(U>=N)return{placement:"top",maxHeight:r};if(q>=N&&!h)return d&&zb(y,ge,fe),{placement:"top",maxHeight:r};if(!h&&q>=u||h&&U>=u){var je=r;return(!h&&q>=u||h&&U>=u)&&(je=h?U-z:q-z),d&&zb(y,ge,fe),{placement:"top",maxHeight:je}}return{placement:"bottom",maxHeight:r};default:throw new Error('Invalid placement provided "'.concat(l,'".'))}return C}function F5(n){var r={bottom:"top",top:"bottom"};return n?r[n]:"bottom"}var gk=function(r){return r==="auto"?"bottom":r},V5=function(r,i){var u,l=r.placement,d=r.theme,h=d.borderRadius,v=d.spacing,y=d.colors;return yt((u={label:"menu"},Lp(u,F5(l),"100%"),Lp(u,"position","absolute"),Lp(u,"width","100%"),Lp(u,"zIndex",1),u),i?{}:{backgroundColor:y.neutral0,borderRadius:h,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:v.menuGutter,marginTop:v.menuGutter})},yk=M.createContext(null),B5=function(r){var i=r.children,u=r.minMenuHeight,l=r.maxMenuHeight,d=r.menuPlacement,h=r.menuPosition,v=r.menuShouldScrollIntoView,y=r.theme,C=M.useContext(yk)||{},x=C.setPortalPlacement,R=M.useRef(null),T=M.useState(l),j=ta(T,2),N=j[0],O=j[1],_=M.useState(null),L=ta(_,2),F=L[0],V=L[1],H=y.spacing.controlHeight;return Mw(function(){var z=R.current;if(z){var U=h==="fixed",J=v&&!U,q=P5({maxHeight:l,menuEl:z,minHeight:u,placement:d,shouldScroll:J,isFixedPosition:U,controlHeight:H});O(q.maxHeight),V(q.placement),x==null||x(q.placement)}},[l,d,h,v,u,x,H]),i({ref:R,placerProps:yt(yt({},r),{},{placement:F||gk(d),maxHeight:N})})},z5=function(r){var i=r.children,u=r.innerRef,l=r.innerProps;return Et("div",Rt({},yr(r,"menu",{menu:!0}),{ref:u},l),i)},H5=z5,U5=function(r,i){var u=r.maxHeight,l=r.theme.spacing.baseUnit;return yt({maxHeight:u,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},i?{}:{paddingBottom:l,paddingTop:l})},$5=function(r){var i=r.children,u=r.innerProps,l=r.innerRef,d=r.isMulti;return Et("div",Rt({},yr(r,"menuList",{"menu-list":!0,"menu-list--is-multi":d}),{ref:l},u),i)},bk=function(r,i){var u=r.theme,l=u.spacing.baseUnit,d=u.colors;return yt({textAlign:"center"},i?{}:{color:d.neutral40,padding:"".concat(l*2,"px ").concat(l*3,"px")})},G5=bk,W5=bk,X5=function(r){var i=r.children,u=i===void 0?"No options":i,l=r.innerProps,d=nl(r,M5);return Et("div",Rt({},yr(yt(yt({},d),{},{children:u,innerProps:l}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),l),u)},Y5=function(r){var i=r.children,u=i===void 0?"Loading...":i,l=r.innerProps,d=nl(r,L5);return Et("div",Rt({},yr(yt(yt({},d),{},{children:u,innerProps:l}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),l),u)},Z5=function(r){var i=r.rect,u=r.offset,l=r.position;return{left:i.left,position:l,top:u,width:i.width,zIndex:1}},J5=function(r){var i=r.appendTo,u=r.children,l=r.controlElement,d=r.innerProps,h=r.menuPlacement,v=r.menuPosition,y=M.useRef(null),C=M.useRef(null),x=M.useState(gk(h)),R=ta(x,2),T=R[0],j=R[1],N=M.useMemo(function(){return{setPortalPlacement:j}},[]),O=M.useState(null),_=ta(O,2),L=_[0],F=_[1],V=M.useCallback(function(){if(l){var J=N5(l),q=v==="fixed"?0:window.pageYOffset,Re=J[T]+q;(Re!==(L==null?void 0:L.offset)||J.left!==(L==null?void 0:L.rect.left)||J.width!==(L==null?void 0:L.rect.width))&&F({offset:Re,rect:J})}},[l,v,T,L==null?void 0:L.offset,L==null?void 0:L.rect.left,L==null?void 0:L.rect.width]);Mw(function(){V()},[V]);var H=M.useCallback(function(){typeof C.current=="function"&&(C.current(),C.current=null),l&&y.current&&(C.current=C5(l,y.current,V,{elementResize:"ResizeObserver"in window}))},[l,V]);Mw(function(){H()},[H]);var z=M.useCallback(function(J){y.current=J,H()},[H]);if(!i&&v!=="fixed"||!L)return null;var U=Et("div",Rt({ref:z},yr(yt(yt({},r),{},{offset:L.offset,position:v,rect:L.rect}),"menuPortal",{"menu-portal":!0}),d),u);return Et(yk.Provider,{value:N},i?Uw.createPortal(U,i):U)},q5=function(r){var i=r.isDisabled,u=r.isRtl;return{label:"container",direction:u?"rtl":void 0,pointerEvents:i?"none":void 0,position:"relative"}},Q5=function(r){var i=r.children,u=r.innerProps,l=r.isDisabled,d=r.isRtl;return Et("div",Rt({},yr(r,"container",{"--is-disabled":l,"--is-rtl":d}),u),i)},K5=function(r,i){var u=r.theme.spacing,l=r.isMulti,d=r.hasValue,h=r.selectProps.controlShouldRenderValue;return yt({alignItems:"center",display:l&&d&&h?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},i?{}:{padding:"".concat(u.baseUnit/2,"px ").concat(u.baseUnit*2,"px")})},eX=function(r){var i=r.children,u=r.innerProps,l=r.isMulti,d=r.hasValue;return Et("div",Rt({},yr(r,"valueContainer",{"value-container":!0,"value-container--is-multi":l,"value-container--has-value":d}),u),i)},tX=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},nX=function(r){var i=r.children,u=r.innerProps;return Et("div",Rt({},yr(r,"indicatorsContainer",{indicators:!0}),u),i)},EO,rX=["size"],aX=["innerProps","isRtl","size"];function iX(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var oX=Lw.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:iX},Ck=function(r){var i=r.size,u=nl(r,rX);return Et("svg",Rt({height:i,width:i,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:oX},u))},zR=function(r){return Et(Ck,Rt({size:20},r),Et("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},xk=function(r){return Et(Ck,Rt({size:20},r),Et("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Sk=function(r,i){var u=r.isFocused,l=r.theme,d=l.spacing.baseUnit,h=l.colors;return yt({label:"indicatorContainer",display:"flex",transition:"color 150ms"},i?{}:{color:u?h.neutral60:h.neutral20,padding:d*2,":hover":{color:u?h.neutral80:h.neutral40}})},sX=Sk,lX=function(r){var i=r.children,u=r.innerProps;return Et("div",Rt({},yr(r,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),u),i||Et(xk,null))},uX=Sk,cX=function(r){var i=r.children,u=r.innerProps;return Et("div",Rt({},yr(r,"clearIndicator",{indicator:!0,"clear-indicator":!0}),u),i||Et(zR,null))},fX=function(r,i){var u=r.isDisabled,l=r.theme,d=l.spacing.baseUnit,h=l.colors;return yt({label:"indicatorSeparator",alignSelf:"stretch",width:1},i?{}:{backgroundColor:u?h.neutral10:h.neutral20,marginBottom:d*2,marginTop:d*2})},dX=function(r){var i=r.innerProps;return Et("span",Rt({},i,yr(r,"indicatorSeparator",{"indicator-separator":!0})))},pX=n5(EO||(EO=l5([`
305
+ `+("css`"+y+"`"))}break}if(r==null)return i;var C=r[i];return C!==void 0?C:i}function GW(n,r,i){var u="";if(Array.isArray(i))for(var l=0;l<i.length;l++)u+=wm(n,r,i[l])+";";else for(var d in i){var h=i[d];if(typeof h!="object")r!=null&&r[h]!==void 0?u+=d+"{"+r[h]+"}":uO(h)&&(u+=$E(d)+":"+S0(d,h)+";");else{if(d==="NO_COMPONENT_SELECTOR"&&wo.NODE_ENV!=="production")throw new Error(ak);if(Array.isArray(h)&&typeof h[0]=="string"&&(r==null||r[h[0]]===void 0))for(var v=0;v<h.length;v++)uO(h[v])&&(u+=$E(d)+":"+S0(d,h[v])+";");else{var y=wm(n,r,h);switch(d){case"animation":case"animationName":{u+=$E(d)+":"+y+";";break}default:wo.NODE_ENV!=="production"&&d==="undefined"&&console.error(FW),u+=d+"{"+y+"}"}}}}return u}var fO=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ik;wo.NODE_ENV!=="production"&&(ik=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var ls,Rm=function(r,i,u){if(r.length===1&&typeof r[0]=="object"&&r[0]!==null&&r[0].styles!==void 0)return r[0];var l=!0,d="";ls=void 0;var h=r[0];h==null||h.raw===void 0?(l=!1,d+=wm(u,i,h)):(wo.NODE_ENV!=="production"&&h[0]===void 0&&console.error(lO),d+=h[0]);for(var v=1;v<r.length;v++)d+=wm(u,i,r[v]),l&&(wo.NODE_ENV!=="production"&&h[v]===void 0&&console.error(lO),d+=h[v]);var y;wo.NODE_ENV!=="production"&&(d=d.replace(ik,function(T){return y=T,""})),fO.lastIndex=0;for(var C="",x;(x=fO.exec(d))!==null;)C+="-"+x[1];var R=LW(d)+C;return wo.NODE_ENV!=="production"?{name:R,styles:d,map:y,next:ls,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:R,styles:d,next:ls}},WW=function(r){return r()},ok=l0.useInsertionEffect?l0.useInsertionEffect:!1,sk=ok||WW,dO=ok||M.useLayoutEffect,Jf={},kR={}.hasOwnProperty,MR=M.createContext(typeof HTMLElement<"u"?jW({key:"css"}):null);Jf.NODE_ENV!=="production"&&(MR.displayName="EmotionCacheContext");MR.Provider;var LR=function(r){return M.forwardRef(function(i,u){var l=M.useContext(MR);return r(i,l,u)})},W0=M.createContext({});Jf.NODE_ENV!=="production"&&(W0.displayName="EmotionThemeContext");var pO=function(r){var i=r.split(".");return i[i.length-1]},XW=function(r){var i=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(r);if(i||(i=/^([A-Za-z0-9$.]+)@/.exec(r),i))return pO(i[1])},YW=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),ZW=function(r){return r.replace(/\$/g,"-")},JW=function(r){if(r)for(var i=r.split(`
306
+ `),u=0;u<i.length;u++){var l=XW(i[u]);if(l){if(YW.has(l))break;if(/^[A-Z]/.test(l))return ZW(l)}}},jw="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Dw="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",qW=function(r,i){if(Jf.NODE_ENV!=="production"&&typeof i.css=="string"&&i.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+i.css+"`");var u={};for(var l in i)kR.call(i,l)&&(u[l]=i[l]);if(u[jw]=r,Jf.NODE_ENV!=="production"&&i.css&&(typeof i.css!="object"||typeof i.css.name!="string"||i.css.name.indexOf("-")===-1)){var d=JW(new Error().stack);d&&(u[Dw]=d)}return u},QW=function(r){var i=r.cache,u=r.serialized,l=r.isStringTag;return AR(i,u,l),sk(function(){return jR(i,u,l)}),null},lk=LR(function(n,r,i){var u=n.css;typeof u=="string"&&r.registered[u]!==void 0&&(u=r.registered[u]);var l=n[jw],d=[u],h="";typeof n.className=="string"?h=nk(r.registered,d,n.className):n.className!=null&&(h=n.className+" ");var v=Rm(d,void 0,M.useContext(W0));if(Jf.NODE_ENV!=="production"&&v.name.indexOf("-")===-1){var y=n[Dw];y&&(v=Rm([v,"label:"+y+";"]))}h+=r.key+"-"+v.name;var C={};for(var x in n)kR.call(n,x)&&x!=="css"&&x!==jw&&(Jf.NODE_ENV==="production"||x!==Dw)&&(C[x]=n[x]);return C.ref=i,C.className=h,M.createElement(M.Fragment,null,M.createElement(QW,{cache:r,serialized:v,isStringTag:typeof l=="string"}),M.createElement(l,C))});Jf.NODE_ENV!=="production"&&(lk.displayName="EmotionCssPropInternal");var KW=lk,qf={},e5={name:"@emotion/react",version:"11.11.3",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},Et=function(r,i){var u=arguments;if(i==null||!kR.call(i,"css"))return M.createElement.apply(void 0,u);var l=u.length,d=new Array(l);d[0]=KW,d[1]=qW(r,i);for(var h=2;h<l;h++)d[h]=u[h];return M.createElement.apply(null,d)},vO=!1,t5=LR(function(n,r){qf.NODE_ENV!=="production"&&!vO&&(n.className||n.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),vO=!0);var i=n.styles,u=Rm([i],void 0,M.useContext(W0)),l=M.useRef();return dO(function(){var d=r.key+"-global",h=new r.sheet.constructor({key:d,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),v=!1,y=document.querySelector('style[data-emotion="'+d+" "+u.name+'"]');return r.sheet.tags.length&&(h.before=r.sheet.tags[0]),y!==null&&(v=!0,y.setAttribute("data-emotion",d),h.hydrate([y])),l.current=[h,v],function(){h.flush()}},[r]),dO(function(){var d=l.current,h=d[0],v=d[1];if(v){d[1]=!1;return}if(u.next!==void 0&&jR(r,u.next,!0),h.tags.length){var y=h.tags[h.tags.length-1].nextElementSibling;h.before=y,h.flush()}r.insert("",u,h,!1)},[r,u.name]),null});qf.NODE_ENV!=="production"&&(t5.displayName="EmotionGlobal");function PR(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return Rm(r)}var n5=function(){var r=PR.apply(void 0,arguments),i="animation-"+r.name;return{name:i,styles:"@keyframes "+i+"{"+r.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},r5=function n(r){for(var i=r.length,u=0,l="";u<i;u++){var d=r[u];if(d!=null){var h=void 0;switch(typeof d){case"boolean":break;case"object":{if(Array.isArray(d))h=n(d);else{qf.NODE_ENV!=="production"&&d.styles!==void 0&&d.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),h="";for(var v in d)d[v]&&v&&(h&&(h+=" "),h+=v)}break}default:h=d}h&&(l&&(l+=" "),l+=h)}}return l};function a5(n,r,i){var u=[],l=nk(n,u,i);return u.length<2?i:l+r(u)}var i5=function(r){var i=r.cache,u=r.serializedArr;return sk(function(){for(var l=0;l<u.length;l++)jR(i,u[l],!1)}),null},o5=LR(function(n,r){var i=!1,u=[],l=function(){if(i&&qf.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var C=arguments.length,x=new Array(C),R=0;R<C;R++)x[R]=arguments[R];var T=Rm(x,r.registered);return u.push(T),AR(r,T,!1),r.key+"-"+T.name},d=function(){if(i&&qf.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var C=arguments.length,x=new Array(C),R=0;R<C;R++)x[R]=arguments[R];return a5(r.registered,l,r5(x))},h={css:l,cx:d,theme:M.useContext(W0)},v=n.children(h);return i=!0,M.createElement(M.Fragment,null,M.createElement(i5,{cache:r,serializedArr:u}),v)});qf.NODE_ENV!=="production"&&(o5.displayName="EmotionClassNames");if(qf.NODE_ENV!=="production"){var hO=!0,s5=typeof jest<"u"||typeof vi<"u";if(hO&&!s5){var mO=typeof globalThis<"u"?globalThis:hO?window:global,gO="__EMOTION_REACT_"+e5.version.split(".")[0]+"__";mO[gO]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),mO[gO]=!0}}function l5(n,r){return r||(r=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(r)}}))}const u5=Math.min,c5=Math.max,E0=Math.round,Bb=Math.floor,w0=n=>({x:n,y:n});function f5(n){return{...n,top:n.y,left:n.x,right:n.x+n.width,bottom:n.y+n.height}}function uk(n){return fk(n)?(n.nodeName||"").toLowerCase():"#document"}function fs(n){var r;return(n==null||(r=n.ownerDocument)==null?void 0:r.defaultView)||window}function ck(n){var r;return(r=(fk(n)?n.ownerDocument:n.document)||window.document)==null?void 0:r.documentElement}function fk(n){return n instanceof Node||n instanceof fs(n).Node}function kw(n){return n instanceof Element||n instanceof fs(n).Element}function FR(n){return n instanceof HTMLElement||n instanceof fs(n).HTMLElement}function yO(n){return typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof fs(n).ShadowRoot}function dk(n){const{overflow:r,overflowX:i,overflowY:u,display:l}=VR(n);return/auto|scroll|overlay|hidden|clip/.test(r+u+i)&&!["inline","contents"].includes(l)}function d5(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function p5(n){return["html","body","#document"].includes(uk(n))}function VR(n){return fs(n).getComputedStyle(n)}function v5(n){if(uk(n)==="html")return n;const r=n.assignedSlot||n.parentNode||yO(n)&&n.host||ck(n);return yO(r)?r.host:r}function pk(n){const r=v5(n);return p5(r)?n.ownerDocument?n.ownerDocument.body:n.body:FR(r)&&dk(r)?r:pk(r)}function R0(n,r,i){var u;r===void 0&&(r=[]),i===void 0&&(i=!0);const l=pk(n),d=l===((u=n.ownerDocument)==null?void 0:u.body),h=fs(l);return d?r.concat(h,h.visualViewport||[],dk(l)?l:[],h.frameElement&&i?R0(h.frameElement):[]):r.concat(l,R0(l,[],i))}function h5(n){const r=VR(n);let i=parseFloat(r.width)||0,u=parseFloat(r.height)||0;const l=FR(n),d=l?n.offsetWidth:i,h=l?n.offsetHeight:u,v=E0(i)!==d||E0(u)!==h;return v&&(i=d,u=h),{width:i,height:u,$:v}}function BR(n){return kw(n)?n:n.contextElement}function GE(n){const r=BR(n);if(!FR(r))return w0(1);const i=r.getBoundingClientRect(),{width:u,height:l,$:d}=h5(r);let h=(d?E0(i.width):i.width)/u,v=(d?E0(i.height):i.height)/l;return(!h||!Number.isFinite(h))&&(h=1),(!v||!Number.isFinite(v))&&(v=1),{x:h,y:v}}const m5=w0(0);function g5(n){const r=fs(n);return!d5()||!r.visualViewport?m5:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function y5(n,r,i){return r===void 0&&(r=!1),!i||r&&i!==fs(n)?!1:r}function bO(n,r,i,u){r===void 0&&(r=!1),i===void 0&&(i=!1);const l=n.getBoundingClientRect(),d=BR(n);let h=w0(1);r&&(u?kw(u)&&(h=GE(u)):h=GE(n));const v=y5(d,i,u)?g5(d):w0(0);let y=(l.left+v.x)/h.x,C=(l.top+v.y)/h.y,x=l.width/h.x,R=l.height/h.y;if(d){const T=fs(d),j=u&&kw(u)?fs(u):u;let N=T.frameElement;for(;N&&u&&j!==T;){const O=GE(N),_=N.getBoundingClientRect(),L=VR(N),F=_.left+(N.clientLeft+parseFloat(L.paddingLeft))*O.x,V=_.top+(N.clientTop+parseFloat(L.paddingTop))*O.y;y*=O.x,C*=O.y,x*=O.x,R*=O.y,y+=F,C+=V,N=fs(N).frameElement}}return f5({width:x,height:R,x:y,y:C})}function b5(n,r){let i=null,u;const l=ck(n);function d(){var v;clearTimeout(u),(v=i)==null||v.disconnect(),i=null}function h(v,y){v===void 0&&(v=!1),y===void 0&&(y=1),d();const{left:C,top:x,width:R,height:T}=n.getBoundingClientRect();if(v||r(),!R||!T)return;const j=Bb(x),N=Bb(l.clientWidth-(C+R)),O=Bb(l.clientHeight-(x+T)),_=Bb(C),F={rootMargin:-j+"px "+-N+"px "+-O+"px "+-_+"px",threshold:c5(0,u5(1,y))||1};let V=!0;function H(z){const U=z[0].intersectionRatio;if(U!==y){if(!V)return h();U?h(!1,U):u=setTimeout(()=>{h(!1,1e-7)},100)}V=!1}try{i=new IntersectionObserver(H,{...F,root:l.ownerDocument})}catch{i=new IntersectionObserver(H,F)}i.observe(n)}return h(!0),d}function C5(n,r,i,u){u===void 0&&(u={});const{ancestorScroll:l=!0,ancestorResize:d=!0,elementResize:h=typeof ResizeObserver=="function",layoutShift:v=typeof IntersectionObserver=="function",animationFrame:y=!1}=u,C=BR(n),x=l||d?[...C?R0(C):[],...R0(r)]:[];x.forEach(L=>{l&&L.addEventListener("scroll",i,{passive:!0}),d&&L.addEventListener("resize",i)});const R=C&&v?b5(C,i):null;let T=-1,j=null;h&&(j=new ResizeObserver(L=>{let[F]=L;F&&F.target===C&&j&&(j.unobserve(r),cancelAnimationFrame(T),T=requestAnimationFrame(()=>{var V;(V=j)==null||V.observe(r)})),i()}),C&&!y&&j.observe(C),j.observe(r));let N,O=y?bO(n):null;y&&_();function _(){const L=bO(n);O&&(L.x!==O.x||L.y!==O.y||L.width!==O.width||L.height!==O.height)&&i(),O=L,N=requestAnimationFrame(_)}return i(),()=>{var L;x.forEach(F=>{l&&F.removeEventListener("scroll",i),d&&F.removeEventListener("resize",i)}),R==null||R(),(L=j)==null||L.disconnect(),j=null,y&&cancelAnimationFrame(N)}}var Mw=M.useLayoutEffect,Lw={},x5=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],T0=function(){};function S5(n,r){return r?r[0]==="-"?n+r:n+"__"+r:n}function E5(n,r){for(var i=arguments.length,u=new Array(i>2?i-2:0),l=2;l<i;l++)u[l-2]=arguments[l];var d=[].concat(u);if(r&&n)for(var h in r)r.hasOwnProperty(h)&&r[h]&&d.push("".concat(S5(n,h)));return d.filter(function(v){return v}).map(function(v){return String(v).trim()}).join(" ")}var CO=function(r){return D5(r)?r.filter(Boolean):Zf(r)==="object"&&r!==null?[r]:[]},vk=function(r){r.className,r.clearValue,r.cx,r.getStyles,r.getClassNames,r.getValue,r.hasValue,r.isMulti,r.isRtl,r.options,r.selectOption,r.selectProps,r.setValue,r.theme;var i=rl(r,x5);return yt({},i)},yr=function(r,i,u){var l=r.cx,d=r.getStyles,h=r.getClassNames,v=r.className;return{css:d(i,r),className:l(u??{},h(i,r),v)}};function w5(n,r,i){if(i){var u=i(n,r);if(typeof u=="string")return u}return n}function X0(n){return[document.documentElement,document.body,window].indexOf(n)>-1}function R5(n){return X0(n)?window.innerHeight:n.clientHeight}function hk(n){return X0(n)?window.pageYOffset:n.scrollTop}function I0(n,r){if(X0(n)){window.scrollTo(0,r);return}n.scrollTop=r}function T5(n){var r=getComputedStyle(n),i=r.position==="absolute",u=/(auto|scroll)/;if(r.position==="fixed")return document.documentElement;for(var l=n;l=l.parentElement;)if(r=getComputedStyle(l),!(i&&r.position==="static")&&u.test(r.overflow+r.overflowY+r.overflowX))return l;return document.documentElement}function I5(n,r,i,u){return i*((n=n/u-1)*n*n+1)+r}function zb(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:T0,l=hk(n),d=r-l,h=10,v=0;function y(){v+=h;var C=I5(v,l,d,i);I0(n,C),v<i?window.requestAnimationFrame(y):u(n)}y()}function xO(n,r){var i=n.getBoundingClientRect(),u=r.getBoundingClientRect(),l=r.offsetHeight/3;u.bottom+l>i.bottom?I0(n,Math.min(r.offsetTop+r.clientHeight-n.offsetHeight+l,n.scrollHeight)):u.top-l<i.top&&I0(n,Math.max(r.offsetTop-l,0))}function N5(n){var r=n.getBoundingClientRect();return{bottom:r.bottom,height:r.height,left:r.left,right:r.right,top:r.top,width:r.width}}function SO(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function _5(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var mk=!1,O5={get passive(){return mk=!0}},Hb=typeof window<"u"?window:{};Hb.addEventListener&&Hb.removeEventListener&&(Hb.addEventListener("p",T0,O5),Hb.removeEventListener("p",T0,!1));var A5=mk;function j5(n){return n!=null}function D5(n){return Array.isArray(n)}function Ub(n,r,i){return n?r:i}var k5=function(r){for(var i=arguments.length,u=new Array(i>1?i-1:0),l=1;l<i;l++)u[l-1]=arguments[l];var d=Object.entries(r).filter(function(h){var v=ta(h,1),y=v[0];return!u.includes(y)});return d.reduce(function(h,v){var y=ta(v,2),C=y[0],x=y[1];return h[C]=x,h},{})},M5=["children","innerProps"],L5=["children","innerProps"];function P5(n){var r=n.maxHeight,i=n.menuEl,u=n.minHeight,l=n.placement,d=n.shouldScroll,h=n.isFixedPosition,v=n.controlHeight,y=T5(i),C={placement:"bottom",maxHeight:r};if(!i||!i.offsetParent)return C;var x=y.getBoundingClientRect(),R=x.height,T=i.getBoundingClientRect(),j=T.bottom,N=T.height,O=T.top,_=i.offsetParent.getBoundingClientRect(),L=_.top,F=h?window.innerHeight:R5(y),V=hk(y),H=parseInt(getComputedStyle(i).marginBottom,10),z=parseInt(getComputedStyle(i).marginTop,10),U=L-z,J=F-O,q=U+V,Re=R-V-O,he=j-F+V+H,ge=V+O-z,fe=160;switch(l){case"auto":case"bottom":if(J>=N)return{placement:"bottom",maxHeight:r};if(Re>=N&&!h)return d&&zb(y,he,fe),{placement:"bottom",maxHeight:r};if(!h&&Re>=u||h&&J>=u){d&&zb(y,he,fe);var Oe=h?J-H:Re-H;return{placement:"bottom",maxHeight:Oe}}if(l==="auto"||h){var Te=r,xe=h?U:q;return xe>=u&&(Te=Math.min(xe-H-v,r)),{placement:"top",maxHeight:Te}}if(l==="bottom")return d&&I0(y,he),{placement:"bottom",maxHeight:r};break;case"top":if(U>=N)return{placement:"top",maxHeight:r};if(q>=N&&!h)return d&&zb(y,ge,fe),{placement:"top",maxHeight:r};if(!h&&q>=u||h&&U>=u){var je=r;return(!h&&q>=u||h&&U>=u)&&(je=h?U-z:q-z),d&&zb(y,ge,fe),{placement:"top",maxHeight:je}}return{placement:"bottom",maxHeight:r};default:throw new Error('Invalid placement provided "'.concat(l,'".'))}return C}function F5(n){var r={bottom:"top",top:"bottom"};return n?r[n]:"bottom"}var gk=function(r){return r==="auto"?"bottom":r},V5=function(r,i){var u,l=r.placement,d=r.theme,h=d.borderRadius,v=d.spacing,y=d.colors;return yt((u={label:"menu"},Pp(u,F5(l),"100%"),Pp(u,"position","absolute"),Pp(u,"width","100%"),Pp(u,"zIndex",1),u),i?{}:{backgroundColor:y.neutral0,borderRadius:h,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:v.menuGutter,marginTop:v.menuGutter})},yk=M.createContext(null),B5=function(r){var i=r.children,u=r.minMenuHeight,l=r.maxMenuHeight,d=r.menuPlacement,h=r.menuPosition,v=r.menuShouldScrollIntoView,y=r.theme,C=M.useContext(yk)||{},x=C.setPortalPlacement,R=M.useRef(null),T=M.useState(l),j=ta(T,2),N=j[0],O=j[1],_=M.useState(null),L=ta(_,2),F=L[0],V=L[1],H=y.spacing.controlHeight;return Mw(function(){var z=R.current;if(z){var U=h==="fixed",J=v&&!U,q=P5({maxHeight:l,menuEl:z,minHeight:u,placement:d,shouldScroll:J,isFixedPosition:U,controlHeight:H});O(q.maxHeight),V(q.placement),x==null||x(q.placement)}},[l,d,h,v,u,x,H]),i({ref:R,placerProps:yt(yt({},r),{},{placement:F||gk(d),maxHeight:N})})},z5=function(r){var i=r.children,u=r.innerRef,l=r.innerProps;return Et("div",Rt({},yr(r,"menu",{menu:!0}),{ref:u},l),i)},H5=z5,U5=function(r,i){var u=r.maxHeight,l=r.theme.spacing.baseUnit;return yt({maxHeight:u,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},i?{}:{paddingBottom:l,paddingTop:l})},$5=function(r){var i=r.children,u=r.innerProps,l=r.innerRef,d=r.isMulti;return Et("div",Rt({},yr(r,"menuList",{"menu-list":!0,"menu-list--is-multi":d}),{ref:l},u),i)},bk=function(r,i){var u=r.theme,l=u.spacing.baseUnit,d=u.colors;return yt({textAlign:"center"},i?{}:{color:d.neutral40,padding:"".concat(l*2,"px ").concat(l*3,"px")})},G5=bk,W5=bk,X5=function(r){var i=r.children,u=i===void 0?"No options":i,l=r.innerProps,d=rl(r,M5);return Et("div",Rt({},yr(yt(yt({},d),{},{children:u,innerProps:l}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),l),u)},Y5=function(r){var i=r.children,u=i===void 0?"Loading...":i,l=r.innerProps,d=rl(r,L5);return Et("div",Rt({},yr(yt(yt({},d),{},{children:u,innerProps:l}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),l),u)},Z5=function(r){var i=r.rect,u=r.offset,l=r.position;return{left:i.left,position:l,top:u,width:i.width,zIndex:1}},J5=function(r){var i=r.appendTo,u=r.children,l=r.controlElement,d=r.innerProps,h=r.menuPlacement,v=r.menuPosition,y=M.useRef(null),C=M.useRef(null),x=M.useState(gk(h)),R=ta(x,2),T=R[0],j=R[1],N=M.useMemo(function(){return{setPortalPlacement:j}},[]),O=M.useState(null),_=ta(O,2),L=_[0],F=_[1],V=M.useCallback(function(){if(l){var J=N5(l),q=v==="fixed"?0:window.pageYOffset,Re=J[T]+q;(Re!==(L==null?void 0:L.offset)||J.left!==(L==null?void 0:L.rect.left)||J.width!==(L==null?void 0:L.rect.width))&&F({offset:Re,rect:J})}},[l,v,T,L==null?void 0:L.offset,L==null?void 0:L.rect.left,L==null?void 0:L.rect.width]);Mw(function(){V()},[V]);var H=M.useCallback(function(){typeof C.current=="function"&&(C.current(),C.current=null),l&&y.current&&(C.current=C5(l,y.current,V,{elementResize:"ResizeObserver"in window}))},[l,V]);Mw(function(){H()},[H]);var z=M.useCallback(function(J){y.current=J,H()},[H]);if(!i&&v!=="fixed"||!L)return null;var U=Et("div",Rt({ref:z},yr(yt(yt({},r),{},{offset:L.offset,position:v,rect:L.rect}),"menuPortal",{"menu-portal":!0}),d),u);return Et(yk.Provider,{value:N},i?Uw.createPortal(U,i):U)},q5=function(r){var i=r.isDisabled,u=r.isRtl;return{label:"container",direction:u?"rtl":void 0,pointerEvents:i?"none":void 0,position:"relative"}},Q5=function(r){var i=r.children,u=r.innerProps,l=r.isDisabled,d=r.isRtl;return Et("div",Rt({},yr(r,"container",{"--is-disabled":l,"--is-rtl":d}),u),i)},K5=function(r,i){var u=r.theme.spacing,l=r.isMulti,d=r.hasValue,h=r.selectProps.controlShouldRenderValue;return yt({alignItems:"center",display:l&&d&&h?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},i?{}:{padding:"".concat(u.baseUnit/2,"px ").concat(u.baseUnit*2,"px")})},eX=function(r){var i=r.children,u=r.innerProps,l=r.isMulti,d=r.hasValue;return Et("div",Rt({},yr(r,"valueContainer",{"value-container":!0,"value-container--is-multi":l,"value-container--has-value":d}),u),i)},tX=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},nX=function(r){var i=r.children,u=r.innerProps;return Et("div",Rt({},yr(r,"indicatorsContainer",{indicators:!0}),u),i)},EO,rX=["size"],aX=["innerProps","isRtl","size"];function iX(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var oX=Lw.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */",toString:iX},Ck=function(r){var i=r.size,u=rl(r,rX);return Et("svg",Rt({height:i,width:i,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:oX},u))},zR=function(r){return Et(Ck,Rt({size:20},r),Et("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},xk=function(r){return Et(Ck,Rt({size:20},r),Et("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Sk=function(r,i){var u=r.isFocused,l=r.theme,d=l.spacing.baseUnit,h=l.colors;return yt({label:"indicatorContainer",display:"flex",transition:"color 150ms"},i?{}:{color:u?h.neutral60:h.neutral20,padding:d*2,":hover":{color:u?h.neutral80:h.neutral40}})},sX=Sk,lX=function(r){var i=r.children,u=r.innerProps;return Et("div",Rt({},yr(r,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),u),i||Et(xk,null))},uX=Sk,cX=function(r){var i=r.children,u=r.innerProps;return Et("div",Rt({},yr(r,"clearIndicator",{indicator:!0,"clear-indicator":!0}),u),i||Et(zR,null))},fX=function(r,i){var u=r.isDisabled,l=r.theme,d=l.spacing.baseUnit,h=l.colors;return yt({label:"indicatorSeparator",alignSelf:"stretch",width:1},i?{}:{backgroundColor:u?h.neutral10:h.neutral20,marginBottom:d*2,marginTop:d*2})},dX=function(r){var i=r.innerProps;return Et("span",Rt({},i,yr(r,"indicatorSeparator",{"indicator-separator":!0})))},pX=n5(EO||(EO=l5([`
307
307
  0%, 80%, 100% { opacity: 0; }
308
308
  40% { opacity: 1; }
309
- `]))),vX=function(r,i){var u=r.isFocused,l=r.size,d=r.theme,h=d.colors,v=d.spacing.baseUnit;return yt({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:l,lineHeight:1,marginRight:l,textAlign:"center",verticalAlign:"middle"},i?{}:{color:u?h.neutral60:h.neutral20,padding:v*2})},WE=function(r){var i=r.delay,u=r.offset;return Et("span",{css:PR({animation:"".concat(pX," 1s ease-in-out ").concat(i,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:u?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},Lw.NODE_ENV==="production"?"":";label:LoadingDot;",Lw.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},hX=function(r){var i=r.innerProps,u=r.isRtl,l=r.size,d=l===void 0?4:l,h=nl(r,aX);return Et("div",Rt({},yr(yt(yt({},h),{},{innerProps:i,isRtl:u,size:d}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),i),Et(WE,{delay:0,offset:u}),Et(WE,{delay:160,offset:!0}),Et(WE,{delay:320,offset:!u}))},mX=function(r,i){var u=r.isDisabled,l=r.isFocused,d=r.theme,h=d.colors,v=d.borderRadius,y=d.spacing;return yt({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:y.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},i?{}:{backgroundColor:u?h.neutral5:h.neutral0,borderColor:u?h.neutral10:l?h.primary:h.neutral20,borderRadius:v,borderStyle:"solid",borderWidth:1,boxShadow:l?"0 0 0 1px ".concat(h.primary):void 0,"&:hover":{borderColor:l?h.primary:h.neutral30}})},gX=function(r){var i=r.children,u=r.isDisabled,l=r.isFocused,d=r.innerRef,h=r.innerProps,v=r.menuIsOpen;return Et("div",Rt({ref:d},yr(r,"control",{control:!0,"control--is-disabled":u,"control--is-focused":l,"control--menu-is-open":v}),h,{"aria-disabled":u||void 0}),i)},yX=gX,bX=["data"],CX=function(r,i){var u=r.theme.spacing;return i?{}:{paddingBottom:u.baseUnit*2,paddingTop:u.baseUnit*2}},xX=function(r){var i=r.children,u=r.cx,l=r.getStyles,d=r.getClassNames,h=r.Heading,v=r.headingProps,y=r.innerProps,C=r.label,x=r.theme,R=r.selectProps;return Et("div",Rt({},yr(r,"group",{group:!0}),y),Et(h,Rt({},v,{selectProps:R,theme:x,getStyles:l,getClassNames:d,cx:u}),C),Et("div",null,i))},SX=function(r,i){var u=r.theme,l=u.colors,d=u.spacing;return yt({label:"group",cursor:"default",display:"block"},i?{}:{color:l.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:d.baseUnit*3,paddingRight:d.baseUnit*3,textTransform:"uppercase"})},EX=function(r){var i=vk(r);i.data;var u=nl(i,bX);return Et("div",Rt({},yr(r,"groupHeading",{"group-heading":!0}),u))},wX=xX,RX=["innerRef","isDisabled","isHidden","inputClassName"],TX=function(r,i){var u=r.isDisabled,l=r.value,d=r.theme,h=d.spacing,v=d.colors;return yt(yt({visibility:u?"hidden":"visible",transform:l?"translateZ(0)":""},IX),i?{}:{margin:h.baseUnit/2,paddingBottom:h.baseUnit/2,paddingTop:h.baseUnit/2,color:v.neutral80})},Ek={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},IX={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":yt({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ek)},NX=function(r){return yt({label:"input",color:"inherit",background:0,opacity:r?0:1,width:"100%"},Ek)},_X=function(r){var i=r.cx,u=r.value,l=vk(r),d=l.innerRef,h=l.isDisabled,v=l.isHidden,y=l.inputClassName,C=nl(l,RX);return Et("div",Rt({},yr(r,"input",{"input-container":!0}),{"data-value":u||""}),Et("input",Rt({className:i({input:!0},y),ref:d,style:NX(v),disabled:h},C)))},OX=_X,AX=function(r,i){var u=r.theme,l=u.spacing,d=u.borderRadius,h=u.colors;return yt({label:"multiValue",display:"flex",minWidth:0},i?{}:{backgroundColor:h.neutral10,borderRadius:d/2,margin:l.baseUnit/2})},jX=function(r,i){var u=r.theme,l=u.borderRadius,d=u.colors,h=r.cropWithEllipsis;return yt({overflow:"hidden",textOverflow:h||h===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},i?{}:{borderRadius:l/2,color:d.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},DX=function(r,i){var u=r.theme,l=u.spacing,d=u.borderRadius,h=u.colors,v=r.isFocused;return yt({alignItems:"center",display:"flex"},i?{}:{borderRadius:d/2,backgroundColor:v?h.dangerLight:void 0,paddingLeft:l.baseUnit,paddingRight:l.baseUnit,":hover":{backgroundColor:h.dangerLight,color:h.danger}})},wk=function(r){var i=r.children,u=r.innerProps;return Et("div",u,i)},kX=wk,MX=wk;function LX(n){var r=n.children,i=n.innerProps;return Et("div",Rt({role:"button"},i),r||Et(zR,{size:14}))}var PX=function(r){var i=r.children,u=r.components,l=r.data,d=r.innerProps,h=r.isDisabled,v=r.removeProps,y=r.selectProps,C=u.Container,x=u.Label,R=u.Remove;return Et(C,{data:l,innerProps:yt(yt({},yr(r,"multiValue",{"multi-value":!0,"multi-value--is-disabled":h})),d),selectProps:y},Et(x,{data:l,innerProps:yt({},yr(r,"multiValueLabel",{"multi-value__label":!0})),selectProps:y},i),Et(R,{data:l,innerProps:yt(yt({},yr(r,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(i||"option")},v),selectProps:y}))},FX=PX,VX=function(r,i){var u=r.isDisabled,l=r.isFocused,d=r.isSelected,h=r.theme,v=h.spacing,y=h.colors;return yt({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},i?{}:{backgroundColor:d?y.primary:l?y.primary25:"transparent",color:u?y.neutral20:d?y.neutral0:"inherit",padding:"".concat(v.baseUnit*2,"px ").concat(v.baseUnit*3,"px"),":active":{backgroundColor:u?void 0:d?y.primary:y.primary50}})},BX=function(r){var i=r.children,u=r.isDisabled,l=r.isFocused,d=r.isSelected,h=r.innerRef,v=r.innerProps;return Et("div",Rt({},yr(r,"option",{option:!0,"option--is-disabled":u,"option--is-focused":l,"option--is-selected":d}),{ref:h,"aria-disabled":u},v),i)},zX=BX,HX=function(r,i){var u=r.theme,l=u.spacing,d=u.colors;return yt({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},i?{}:{color:d.neutral50,marginLeft:l.baseUnit/2,marginRight:l.baseUnit/2})},UX=function(r){var i=r.children,u=r.innerProps;return Et("div",Rt({},yr(r,"placeholder",{placeholder:!0}),u),i)},$X=UX,GX=function(r,i){var u=r.isDisabled,l=r.theme,d=l.spacing,h=l.colors;return yt({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},i?{}:{color:u?h.neutral40:h.neutral80,marginLeft:d.baseUnit/2,marginRight:d.baseUnit/2})},WX=function(r){var i=r.children,u=r.isDisabled,l=r.innerProps;return Et("div",Rt({},yr(r,"singleValue",{"single-value":!0,"single-value--is-disabled":u}),l),i)},XX=WX,YX={ClearIndicator:cX,Control:yX,DropdownIndicator:lX,DownChevron:xk,CrossIcon:zR,Group:wX,GroupHeading:EX,IndicatorsContainer:nX,IndicatorSeparator:dX,Input:OX,LoadingIndicator:hX,Menu:H5,MenuList:$5,MenuPortal:J5,LoadingMessage:Y5,NoOptionsMessage:X5,MultiValue:FX,MultiValueContainer:kX,MultiValueLabel:MX,MultiValueRemove:LX,Option:zX,Placeholder:$X,SelectContainer:Q5,SingleValue:XX,ValueContainer:eX},ZX=function(r){return yt(yt({},YX),r.components)},wO=Number.isNaN||function(r){return typeof r=="number"&&r!==r};function JX(n,r){return!!(n===r||wO(n)&&wO(r))}function qX(n,r){if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!JX(n[i],r[i]))return!1;return!0}function QX(n,r){r===void 0&&(r=qX);var i=null;function u(){for(var l=[],d=0;d<arguments.length;d++)l[d]=arguments[d];if(i&&i.lastThis===this&&r(l,i.lastArgs))return i.lastResult;var h=n.apply(this,l);return i={lastResult:h,lastArgs:l,lastThis:this},h}return u.clear=function(){i=null},u}var Tm={};function KX(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var eY=Tm.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:KX},tY=function(r){return Et("span",Rt({css:eY},r))},RO=tY,nY={guidance:function(r){var i=r.isSearchable,u=r.isMulti,l=r.tabSelectsValue,d=r.context,h=r.isInitialFocus;switch(d){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(l?", press Tab to select the option and exit the menu":"",".");case"input":return h?"".concat(r["aria-label"]||"Select"," is focused ").concat(i?",type to refine list":"",", press Down to open the menu, ").concat(u?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(r){var i=r.action,u=r.label,l=u===void 0?"":u,d=r.labels,h=r.isDisabled;switch(i){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(l,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(d.length>1?"s":""," ").concat(d.join(","),", selected.");case"select-option":return h?"option ".concat(l," is disabled. Select another option."):"option ".concat(l,", selected.");default:return""}},onFocus:function(r){var i=r.context,u=r.focused,l=r.options,d=r.label,h=d===void 0?"":d,v=r.selectValue,y=r.isDisabled,C=r.isSelected,x=r.isAppleDevice,R=function(O,_){return O&&O.length?"".concat(O.indexOf(_)+1," of ").concat(O.length):""};if(i==="value"&&v)return"value ".concat(h," focused, ").concat(R(v,u),".");if(i==="menu"&&x){var T=y?" disabled":"",j="".concat(C?" selected":"").concat(T);return"".concat(h).concat(j,", ").concat(R(l,u),".")}return""},onFilter:function(r){var i=r.inputValue,u=r.resultsMessage;return"".concat(u).concat(i?" for search term "+i:"",".")}},rY=function(r){var i=r.ariaSelection,u=r.focusedOption,l=r.focusedValue,d=r.focusableOptions,h=r.isFocused,v=r.selectValue,y=r.selectProps,C=r.id,x=r.isAppleDevice,R=y.ariaLiveMessages,T=y.getOptionLabel,j=y.inputValue,N=y.isMulti,O=y.isOptionDisabled,_=y.isSearchable,L=y.menuIsOpen,F=y.options,V=y.screenReaderStatus,H=y.tabSelectsValue,z=y.isLoading,U=y["aria-label"],J=y["aria-live"],q=M.useMemo(function(){return yt(yt({},nY),R||{})},[R]),Re=M.useMemo(function(){var xe="";if(i&&q.onChange){var je=i.option,Le=i.options,ne=i.removedValue,_e=i.removedValues,G=i.value,Y=function(we){return Array.isArray(we)?null:we},re=ne||je||Y(G),ye=re?T(re):"",Se=Le||_e||void 0,Ne=Se?Se.map(T):[],le=yt({isDisabled:re&&O(re,v),label:ye,labels:Ne},i);xe=q.onChange(le)}return xe},[i,q,O,v,T]),he=M.useMemo(function(){var xe="",je=u||l,Le=!!(u&&v&&v.includes(u));if(je&&q.onFocus){var ne={focused:je,label:T(je),isDisabled:O(je,v),isSelected:Le,options:d,context:je===u?"menu":"value",selectValue:v,isAppleDevice:x};xe=q.onFocus(ne)}return xe},[u,l,T,O,q,d,v,x]),ge=M.useMemo(function(){var xe="";if(L&&F.length&&!z&&q.onFilter){var je=V({count:d.length});xe=q.onFilter({inputValue:j,resultsMessage:je})}return xe},[d,j,L,q,F,V,z]),fe=(i==null?void 0:i.action)==="initial-input-focus",Oe=M.useMemo(function(){var xe="";if(q.guidance){var je=l?"value":L?"menu":"input";xe=q.guidance({"aria-label":U,context:je,isDisabled:u&&O(u,v),isMulti:N,isSearchable:_,tabSelectsValue:H,isInitialFocus:fe})}return xe},[U,u,l,N,O,_,L,q,v,H,fe]),Te=Et(M.Fragment,null,Et("span",{id:"aria-selection"},Re),Et("span",{id:"aria-focused"},he),Et("span",{id:"aria-results"},ge),Et("span",{id:"aria-guidance"},Oe));return Et(M.Fragment,null,Et(RO,{id:C},fe&&Te),Et(RO,{"aria-live":J,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},h&&!fe&&Te))},aY=rY,Pw=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],iY=new RegExp("["+Pw.map(function(n){return n.letters}).join("")+"]","g"),Rk={};for(var XE=0;XE<Pw.length;XE++)for(var YE=Pw[XE],ZE=0;ZE<YE.letters.length;ZE++)Rk[YE.letters[ZE]]=YE.base;var Tk=function(r){return r.replace(iY,function(i){return Rk[i]})},oY=QX(Tk),TO=function(r){return r.replace(/^\s+|\s+$/g,"")},sY=function(r){return"".concat(r.label," ").concat(r.value)},lY=function(r){return function(i,u){if(i.data.__isNew__)return!0;var l=yt({ignoreCase:!0,ignoreAccents:!0,stringify:sY,trim:!0,matchFrom:"any"},r),d=l.ignoreCase,h=l.ignoreAccents,v=l.stringify,y=l.trim,C=l.matchFrom,x=y?TO(u):u,R=y?TO(v(i)):v(i);return d&&(x=x.toLowerCase(),R=R.toLowerCase()),h&&(x=oY(x),R=Tk(R)),C==="start"?R.substr(0,x.length)===x:R.indexOf(x)>-1}},uY=["innerRef"];function cY(n){var r=n.innerRef,i=nl(n,uY),u=k5(i,"onExited","in","enter","exit","appear");return Et("input",Rt({ref:r},u,{css:PR({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},Tm.NODE_ENV==="production"?"":";label:DummyInput;",Tm.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var fY=function(r){r.cancelable&&r.preventDefault(),r.stopPropagation()};function dY(n){var r=n.isEnabled,i=n.onBottomArrive,u=n.onBottomLeave,l=n.onTopArrive,d=n.onTopLeave,h=M.useRef(!1),v=M.useRef(!1),y=M.useRef(0),C=M.useRef(null),x=M.useCallback(function(_,L){if(C.current!==null){var F=C.current,V=F.scrollTop,H=F.scrollHeight,z=F.clientHeight,U=C.current,J=L>0,q=H-z-V,Re=!1;q>L&&h.current&&(u&&u(_),h.current=!1),J&&v.current&&(d&&d(_),v.current=!1),J&&L>q?(i&&!h.current&&i(_),U.scrollTop=H,Re=!0,h.current=!0):!J&&-L>V&&(l&&!v.current&&l(_),U.scrollTop=0,Re=!0,v.current=!0),Re&&fY(_)}},[i,u,l,d]),R=M.useCallback(function(_){x(_,_.deltaY)},[x]),T=M.useCallback(function(_){y.current=_.changedTouches[0].clientY},[]),j=M.useCallback(function(_){var L=y.current-_.changedTouches[0].clientY;x(_,L)},[x]),N=M.useCallback(function(_){if(_){var L=A5?{passive:!1}:!1;_.addEventListener("wheel",R,L),_.addEventListener("touchstart",T,L),_.addEventListener("touchmove",j,L)}},[j,T,R]),O=M.useCallback(function(_){_&&(_.removeEventListener("wheel",R,!1),_.removeEventListener("touchstart",T,!1),_.removeEventListener("touchmove",j,!1))},[j,T,R]);return M.useEffect(function(){if(r){var _=C.current;return N(_),function(){O(_)}}},[r,N,O]),function(_){C.current=_}}var IO=["boxSizing","height","overflow","paddingRight","position"],NO={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function _O(n){n.preventDefault()}function OO(n){n.stopPropagation()}function AO(){var n=this.scrollTop,r=this.scrollHeight,i=n+this.offsetHeight;n===0?this.scrollTop=1:i===r&&(this.scrollTop=n-1)}function jO(){return"ontouchstart"in window||navigator.maxTouchPoints}var DO=!!(typeof window<"u"&&window.document&&window.document.createElement),lm=0,Mp={capture:!1,passive:!1};function pY(n){var r=n.isEnabled,i=n.accountForScrollbars,u=i===void 0?!0:i,l=M.useRef({}),d=M.useRef(null),h=M.useCallback(function(y){if(DO){var C=document.body,x=C&&C.style;if(u&&IO.forEach(function(N){var O=x&&x[N];l.current[N]=O}),u&&lm<1){var R=parseInt(l.current.paddingRight,10)||0,T=document.body?document.body.clientWidth:0,j=window.innerWidth-T+R||0;Object.keys(NO).forEach(function(N){var O=NO[N];x&&(x[N]=O)}),x&&(x.paddingRight="".concat(j,"px"))}C&&jO()&&(C.addEventListener("touchmove",_O,Mp),y&&(y.addEventListener("touchstart",AO,Mp),y.addEventListener("touchmove",OO,Mp))),lm+=1}},[u]),v=M.useCallback(function(y){if(DO){var C=document.body,x=C&&C.style;lm=Math.max(lm-1,0),u&&lm<1&&IO.forEach(function(R){var T=l.current[R];x&&(x[R]=T)}),C&&jO()&&(C.removeEventListener("touchmove",_O,Mp),y&&(y.removeEventListener("touchstart",AO,Mp),y.removeEventListener("touchmove",OO,Mp)))}},[u]);return M.useEffect(function(){if(r){var y=d.current;return h(y),function(){v(y)}}},[r,h,v]),function(y){d.current=y}}function vY(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var hY=function(r){var i=r.target;return i.ownerDocument.activeElement&&i.ownerDocument.activeElement.blur()},mY=Tm.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:vY};function gY(n){var r=n.children,i=n.lockEnabled,u=n.captureEnabled,l=u===void 0?!0:u,d=n.onBottomArrive,h=n.onBottomLeave,v=n.onTopArrive,y=n.onTopLeave,C=dY({isEnabled:l,onBottomArrive:d,onBottomLeave:h,onTopArrive:v,onTopLeave:y}),x=pY({isEnabled:i}),R=function(j){C(j),x(j)};return Et(M.Fragment,null,i&&Et("div",{onClick:hY,css:mY}),r(R))}function yY(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var bY=Tm.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:yY},CY=function(r){var i=r.name,u=r.onFocus;return Et("input",{required:!0,name:i,tabIndex:-1,"aria-hidden":"true",onFocus:u,css:bY,value:"",onChange:function(){}})},xY=CY;function HR(n){var r;return typeof window<"u"&&window.navigator!=null?n.test(((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.platform)||window.navigator.platform):!1}function SY(){return HR(/^iPhone/i)}function Ik(){return HR(/^Mac/i)}function EY(){return HR(/^iPad/i)||Ik()&&navigator.maxTouchPoints>1}function wY(){return SY()||EY()}function RY(){return Ik()||wY()}var TY=function(r){return r.label},IY=function(r){return r.label},NY=function(r){return r.value},_Y=function(r){return!!r.isDisabled},OY={clearIndicator:uX,container:q5,control:mX,dropdownIndicator:sX,group:CX,groupHeading:SX,indicatorsContainer:tX,indicatorSeparator:fX,input:TX,loadingIndicator:vX,loadingMessage:W5,menu:V5,menuList:U5,menuPortal:Z5,multiValue:AX,multiValueLabel:jX,multiValueRemove:DX,noOptionsMessage:G5,option:VX,placeholder:HX,singleValue:GX,valueContainer:K5},AY={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},jY=4,Nk=4,DY=38,kY=Nk*2,MY={baseUnit:Nk,controlHeight:DY,menuGutter:kY},JE={borderRadius:jY,colors:AY,spacing:MY},LY={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:SO(),captureMenuScroll:!SO(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:lY(),formatGroupLabel:TY,getOptionLabel:IY,getOptionValue:NY,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:_Y,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!_5(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(r){var i=r.count;return"".concat(i," result").concat(i!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function kO(n,r,i,u){var l=Ak(n,r,i),d=jk(n,r,i),h=Ok(n,r),v=N0(n,r);return{type:"option",data:r,isDisabled:l,isSelected:d,label:h,value:v,index:u}}function n0(n,r){return n.options.map(function(i,u){if("options"in i){var l=i.options.map(function(h,v){return kO(n,h,r,v)}).filter(function(h){return LO(n,h)});return l.length>0?{type:"group",data:i,options:l,index:u}:void 0}var d=kO(n,i,r,u);return LO(n,d)?d:void 0}).filter(j5)}function _k(n){return n.reduce(function(r,i){return i.type==="group"?r.push.apply(r,TR(i.options.map(function(u){return u.data}))):r.push(i.data),r},[])}function MO(n,r){return n.reduce(function(i,u){return u.type==="group"?i.push.apply(i,TR(u.options.map(function(l){return{data:l.data,id:"".concat(r,"-").concat(u.index,"-").concat(l.index)}}))):i.push({data:u.data,id:"".concat(r,"-").concat(u.index)}),i},[])}function PY(n,r){return _k(n0(n,r))}function LO(n,r){var i=n.inputValue,u=i===void 0?"":i,l=r.data,d=r.isSelected,h=r.label,v=r.value;return(!kk(n)||!d)&&Dk(n,{label:h,value:v,data:l},u)}function FY(n,r){var i=n.focusedValue,u=n.selectValue,l=u.indexOf(i);if(l>-1){var d=r.indexOf(i);if(d>-1)return i;if(l<r.length)return r[l]}return null}function VY(n,r){var i=n.focusedOption;return i&&r.indexOf(i)>-1?i:r[0]}var qE=function(r,i){var u,l=(u=r.find(function(d){return d.data===i}))===null||u===void 0?void 0:u.id;return l||null},Ok=function(r,i){return r.getOptionLabel(i)},N0=function(r,i){return r.getOptionValue(i)};function Ak(n,r,i){return typeof n.isOptionDisabled=="function"?n.isOptionDisabled(r,i):!1}function jk(n,r,i){if(i.indexOf(r)>-1)return!0;if(typeof n.isOptionSelected=="function")return n.isOptionSelected(r,i);var u=N0(n,r);return i.some(function(l){return N0(n,l)===u})}function Dk(n,r,i){return n.filterOption?n.filterOption(r,i):!0}var kk=function(r){var i=r.hideSelectedOptions,u=r.isMulti;return i===void 0?u:i},BY=1,UR=function(n){G4(i,n);var r=Y4(i);function i(u){var l;if(U4(this,i),l=r.call(this,u),l.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},l.blockOptionHover=!1,l.isComposing=!1,l.commonProps=void 0,l.initialTouchX=0,l.initialTouchY=0,l.openAfterFocus=!1,l.scrollToFocusedOptionOnUpdate=!1,l.userIsDragging=void 0,l.isAppleDevice=RY(),l.controlRef=null,l.getControlRef=function(y){l.controlRef=y},l.focusedOptionRef=null,l.getFocusedOptionRef=function(y){l.focusedOptionRef=y},l.menuListRef=null,l.getMenuListRef=function(y){l.menuListRef=y},l.inputRef=null,l.getInputRef=function(y){l.inputRef=y},l.focus=l.focusInput,l.blur=l.blurInput,l.onChange=function(y,C){var x=l.props,R=x.onChange,T=x.name;C.name=T,l.ariaOnChange(y,C),R(y,C)},l.setValue=function(y,C,x){var R=l.props,T=R.closeMenuOnSelect,j=R.isMulti,N=R.inputValue;l.onInputChange("",{action:"set-value",prevInputValue:N}),T&&(l.setState({inputIsHiddenAfterUpdate:!j}),l.onMenuClose()),l.setState({clearFocusValueOnUpdate:!0}),l.onChange(y,{action:C,option:x})},l.selectOption=function(y){var C=l.props,x=C.blurInputOnSelect,R=C.isMulti,T=C.name,j=l.state.selectValue,N=R&&l.isOptionSelected(y,j),O=l.isOptionDisabled(y,j);if(N){var _=l.getOptionValue(y);l.setValue(j.filter(function(L){return l.getOptionValue(L)!==_}),"deselect-option",y)}else if(!O)R?l.setValue([].concat(TR(j),[y]),"select-option",y):l.setValue(y,"select-option");else{l.ariaOnChange(y,{action:"select-option",option:y,name:T});return}x&&l.blurInput()},l.removeValue=function(y){var C=l.props.isMulti,x=l.state.selectValue,R=l.getOptionValue(y),T=x.filter(function(N){return l.getOptionValue(N)!==R}),j=Ub(C,T,T[0]||null);l.onChange(j,{action:"remove-value",removedValue:y}),l.focusInput()},l.clearValue=function(){var y=l.state.selectValue;l.onChange(Ub(l.props.isMulti,[],null),{action:"clear",removedValues:y})},l.popValue=function(){var y=l.props.isMulti,C=l.state.selectValue,x=C[C.length-1],R=C.slice(0,C.length-1),T=Ub(y,R,R[0]||null);l.onChange(T,{action:"pop-value",removedValue:x})},l.getFocusedOptionId=function(y){return qE(l.state.focusableOptionsWithIds,y)},l.getFocusableOptionsWithIds=function(){return MO(n0(l.props,l.state.selectValue),l.getElementId("option"))},l.getValue=function(){return l.state.selectValue},l.cx=function(){for(var y=arguments.length,C=new Array(y),x=0;x<y;x++)C[x]=arguments[x];return E5.apply(void 0,[l.props.classNamePrefix].concat(C))},l.getOptionLabel=function(y){return Ok(l.props,y)},l.getOptionValue=function(y){return N0(l.props,y)},l.getStyles=function(y,C){var x=l.props.unstyled,R=OY[y](C,x);R.boxSizing="border-box";var T=l.props.styles[y];return T?T(R,C):R},l.getClassNames=function(y,C){var x,R;return(x=(R=l.props.classNames)[y])===null||x===void 0?void 0:x.call(R,C)},l.getElementId=function(y){return"".concat(l.state.instancePrefix,"-").concat(y)},l.getComponents=function(){return ZX(l.props)},l.buildCategorizedOptions=function(){return n0(l.props,l.state.selectValue)},l.getCategorizedOptions=function(){return l.props.menuIsOpen?l.buildCategorizedOptions():[]},l.buildFocusableOptions=function(){return _k(l.buildCategorizedOptions())},l.getFocusableOptions=function(){return l.props.menuIsOpen?l.buildFocusableOptions():[]},l.ariaOnChange=function(y,C){l.setState({ariaSelection:yt({value:y},C)})},l.onMenuMouseDown=function(y){y.button===0&&(y.stopPropagation(),y.preventDefault(),l.focusInput())},l.onMenuMouseMove=function(y){l.blockOptionHover=!1},l.onControlMouseDown=function(y){if(!y.defaultPrevented){var C=l.props.openMenuOnClick;l.state.isFocused?l.props.menuIsOpen?y.target.tagName!=="INPUT"&&y.target.tagName!=="TEXTAREA"&&l.onMenuClose():C&&l.openMenu("first"):(C&&(l.openAfterFocus=!0),l.focusInput()),y.target.tagName!=="INPUT"&&y.target.tagName!=="TEXTAREA"&&y.preventDefault()}},l.onDropdownIndicatorMouseDown=function(y){if(!(y&&y.type==="mousedown"&&y.button!==0)&&!l.props.isDisabled){var C=l.props,x=C.isMulti,R=C.menuIsOpen;l.focusInput(),R?(l.setState({inputIsHiddenAfterUpdate:!x}),l.onMenuClose()):l.openMenu("first"),y.preventDefault()}},l.onClearIndicatorMouseDown=function(y){y&&y.type==="mousedown"&&y.button!==0||(l.clearValue(),y.preventDefault(),l.openAfterFocus=!1,y.type==="touchend"?l.focusInput():setTimeout(function(){return l.focusInput()}))},l.onScroll=function(y){typeof l.props.closeMenuOnScroll=="boolean"?y.target instanceof HTMLElement&&X0(y.target)&&l.props.onMenuClose():typeof l.props.closeMenuOnScroll=="function"&&l.props.closeMenuOnScroll(y)&&l.props.onMenuClose()},l.onCompositionStart=function(){l.isComposing=!0},l.onCompositionEnd=function(){l.isComposing=!1},l.onTouchStart=function(y){var C=y.touches,x=C&&C.item(0);x&&(l.initialTouchX=x.clientX,l.initialTouchY=x.clientY,l.userIsDragging=!1)},l.onTouchMove=function(y){var C=y.touches,x=C&&C.item(0);if(x){var R=Math.abs(x.clientX-l.initialTouchX),T=Math.abs(x.clientY-l.initialTouchY),j=5;l.userIsDragging=R>j||T>j}},l.onTouchEnd=function(y){l.userIsDragging||(l.controlRef&&!l.controlRef.contains(y.target)&&l.menuListRef&&!l.menuListRef.contains(y.target)&&l.blurInput(),l.initialTouchX=0,l.initialTouchY=0)},l.onControlTouchEnd=function(y){l.userIsDragging||l.onControlMouseDown(y)},l.onClearIndicatorTouchEnd=function(y){l.userIsDragging||l.onClearIndicatorMouseDown(y)},l.onDropdownIndicatorTouchEnd=function(y){l.userIsDragging||l.onDropdownIndicatorMouseDown(y)},l.handleInputChange=function(y){var C=l.props.inputValue,x=y.currentTarget.value;l.setState({inputIsHiddenAfterUpdate:!1}),l.onInputChange(x,{action:"input-change",prevInputValue:C}),l.props.menuIsOpen||l.onMenuOpen()},l.onInputFocus=function(y){l.props.onFocus&&l.props.onFocus(y),l.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(l.openAfterFocus||l.props.openMenuOnFocus)&&l.openMenu("first"),l.openAfterFocus=!1},l.onInputBlur=function(y){var C=l.props.inputValue;if(l.menuListRef&&l.menuListRef.contains(document.activeElement)){l.inputRef.focus();return}l.props.onBlur&&l.props.onBlur(y),l.onInputChange("",{action:"input-blur",prevInputValue:C}),l.onMenuClose(),l.setState({focusedValue:null,isFocused:!1})},l.onOptionHover=function(y){if(!(l.blockOptionHover||l.state.focusedOption===y)){var C=l.getFocusableOptions(),x=C.indexOf(y);l.setState({focusedOption:y,focusedOptionId:x>-1?l.getFocusedOptionId(y):null})}},l.shouldHideSelectedOptions=function(){return kk(l.props)},l.onValueInputFocus=function(y){y.preventDefault(),y.stopPropagation(),l.focus()},l.onKeyDown=function(y){var C=l.props,x=C.isMulti,R=C.backspaceRemovesValue,T=C.escapeClearsValue,j=C.inputValue,N=C.isClearable,O=C.isDisabled,_=C.menuIsOpen,L=C.onKeyDown,F=C.tabSelectsValue,V=C.openMenuOnFocus,H=l.state,z=H.focusedOption,U=H.focusedValue,J=H.selectValue;if(!O&&!(typeof L=="function"&&(L(y),y.defaultPrevented))){switch(l.blockOptionHover=!0,y.key){case"ArrowLeft":if(!x||j)return;l.focusValue("previous");break;case"ArrowRight":if(!x||j)return;l.focusValue("next");break;case"Delete":case"Backspace":if(j)return;if(U)l.removeValue(U);else{if(!R)return;x?l.popValue():N&&l.clearValue()}break;case"Tab":if(l.isComposing||y.shiftKey||!_||!F||!z||V&&l.isOptionSelected(z,J))return;l.selectOption(z);break;case"Enter":if(y.keyCode===229)break;if(_){if(!z||l.isComposing)return;l.selectOption(z);break}return;case"Escape":_?(l.setState({inputIsHiddenAfterUpdate:!1}),l.onInputChange("",{action:"menu-close",prevInputValue:j}),l.onMenuClose()):N&&T&&l.clearValue();break;case" ":if(j)return;if(!_){l.openMenu("first");break}if(!z)return;l.selectOption(z);break;case"ArrowUp":_?l.focusOption("up"):l.openMenu("last");break;case"ArrowDown":_?l.focusOption("down"):l.openMenu("first");break;case"PageUp":if(!_)return;l.focusOption("pageup");break;case"PageDown":if(!_)return;l.focusOption("pagedown");break;case"Home":if(!_)return;l.focusOption("first");break;case"End":if(!_)return;l.focusOption("last");break;default:return}y.preventDefault()}},l.state.instancePrefix="react-select-"+(l.props.instanceId||++BY),l.state.selectValue=CO(u.value),u.menuIsOpen&&l.state.selectValue.length){var d=l.getFocusableOptionsWithIds(),h=l.buildFocusableOptions(),v=h.indexOf(l.state.selectValue[0]);l.state.focusableOptionsWithIds=d,l.state.focusedOption=h[v],l.state.focusedOptionId=qE(d,h[v])}return l}return $4(i,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&xO(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(l){var d=this.props,h=d.isDisabled,v=d.menuIsOpen,y=this.state.isFocused;(y&&!h&&l.isDisabled||y&&v&&!l.menuIsOpen)&&this.focusInput(),y&&h&&!l.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!y&&!h&&l.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(xO(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(l,d){this.props.onInputChange(l,d)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(l){var d=this,h=this.state,v=h.selectValue,y=h.isFocused,C=this.buildFocusableOptions(),x=l==="first"?0:C.length-1;if(!this.props.isMulti){var R=C.indexOf(v[0]);R>-1&&(x=R)}this.scrollToFocusedOptionOnUpdate=!(y&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:C[x],focusedOptionId:this.getFocusedOptionId(C[x])},function(){return d.onMenuOpen()})}},{key:"focusValue",value:function(l){var d=this.state,h=d.selectValue,v=d.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var y=h.indexOf(v);v||(y=-1);var C=h.length-1,x=-1;if(h.length){switch(l){case"previous":y===0?x=0:y===-1?x=C:x=y-1;break;case"next":y>-1&&y<C&&(x=y+1);break}this.setState({inputIsHidden:x!==-1,focusedValue:h[x]})}}}},{key:"focusOption",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",d=this.props.pageSize,h=this.state.focusedOption,v=this.getFocusableOptions();if(v.length){var y=0,C=v.indexOf(h);h||(C=-1),l==="up"?y=C>0?C-1:v.length-1:l==="down"?y=(C+1)%v.length:l==="pageup"?(y=C-d,y<0&&(y=0)):l==="pagedown"?(y=C+d,y>v.length-1&&(y=v.length-1)):l==="last"&&(y=v.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:v[y],focusedValue:null,focusedOptionId:this.getFocusedOptionId(v[y])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(JE):yt(yt({},JE),this.props.theme):JE}},{key:"getCommonProps",value:function(){var l=this.clearValue,d=this.cx,h=this.getStyles,v=this.getClassNames,y=this.getValue,C=this.selectOption,x=this.setValue,R=this.props,T=R.isMulti,j=R.isRtl,N=R.options,O=this.hasValue();return{clearValue:l,cx:d,getStyles:h,getClassNames:v,getValue:y,hasValue:O,isMulti:T,isRtl:j,options:N,selectOption:C,selectProps:R,setValue:x,theme:this.getTheme()}}},{key:"hasValue",value:function(){var l=this.state.selectValue;return l.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var l=this.props,d=l.isClearable,h=l.isMulti;return d===void 0?h:d}},{key:"isOptionDisabled",value:function(l,d){return Ak(this.props,l,d)}},{key:"isOptionSelected",value:function(l,d){return jk(this.props,l,d)}},{key:"filterOption",value:function(l,d){return Dk(this.props,l,d)}},{key:"formatOptionLabel",value:function(l,d){if(typeof this.props.formatOptionLabel=="function"){var h=this.props.inputValue,v=this.state.selectValue;return this.props.formatOptionLabel(l,{context:d,inputValue:h,selectValue:v})}else return this.getOptionLabel(l)}},{key:"formatGroupLabel",value:function(l){return this.props.formatGroupLabel(l)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var l=this.props,d=l.isDisabled,h=l.isSearchable,v=l.inputId,y=l.inputValue,C=l.tabIndex,x=l.form,R=l.menuIsOpen,T=l.required,j=this.getComponents(),N=j.Input,O=this.state,_=O.inputIsHidden,L=O.ariaSelection,F=this.commonProps,V=v||this.getElementId("input"),H=yt(yt(yt({"aria-autocomplete":"list","aria-expanded":R,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":T,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},R&&{"aria-controls":this.getElementId("listbox")}),!h&&{"aria-readonly":!0}),this.hasValue()?(L==null?void 0:L.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return h?M.createElement(N,Rt({},F,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:V,innerRef:this.getInputRef,isDisabled:d,isHidden:_,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:C,form:x,type:"text",value:y},H)):M.createElement(cY,Rt({id:V,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:T0,onFocus:this.onInputFocus,disabled:d,tabIndex:C,inputMode:"none",form:x,value:""},H))}},{key:"renderPlaceholderOrValue",value:function(){var l=this,d=this.getComponents(),h=d.MultiValue,v=d.MultiValueContainer,y=d.MultiValueLabel,C=d.MultiValueRemove,x=d.SingleValue,R=d.Placeholder,T=this.commonProps,j=this.props,N=j.controlShouldRenderValue,O=j.isDisabled,_=j.isMulti,L=j.inputValue,F=j.placeholder,V=this.state,H=V.selectValue,z=V.focusedValue,U=V.isFocused;if(!this.hasValue()||!N)return L?null:M.createElement(R,Rt({},T,{key:"placeholder",isDisabled:O,isFocused:U,innerProps:{id:this.getElementId("placeholder")}}),F);if(_)return H.map(function(q,Re){var he=q===z,ge="".concat(l.getOptionLabel(q),"-").concat(l.getOptionValue(q));return M.createElement(h,Rt({},T,{components:{Container:v,Label:y,Remove:C},isFocused:he,isDisabled:O,key:ge,index:Re,removeProps:{onClick:function(){return l.removeValue(q)},onTouchEnd:function(){return l.removeValue(q)},onMouseDown:function(Oe){Oe.preventDefault()}},data:q}),l.formatOptionLabel(q,"value"))});if(L)return null;var J=H[0];return M.createElement(x,Rt({},T,{data:J,isDisabled:O}),this.formatOptionLabel(J,"value"))}},{key:"renderClearIndicator",value:function(){var l=this.getComponents(),d=l.ClearIndicator,h=this.commonProps,v=this.props,y=v.isDisabled,C=v.isLoading,x=this.state.isFocused;if(!this.isClearable()||!d||y||!this.hasValue()||C)return null;var R={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return M.createElement(d,Rt({},h,{innerProps:R,isFocused:x}))}},{key:"renderLoadingIndicator",value:function(){var l=this.getComponents(),d=l.LoadingIndicator,h=this.commonProps,v=this.props,y=v.isDisabled,C=v.isLoading,x=this.state.isFocused;if(!d||!C)return null;var R={"aria-hidden":"true"};return M.createElement(d,Rt({},h,{innerProps:R,isDisabled:y,isFocused:x}))}},{key:"renderIndicatorSeparator",value:function(){var l=this.getComponents(),d=l.DropdownIndicator,h=l.IndicatorSeparator;if(!d||!h)return null;var v=this.commonProps,y=this.props.isDisabled,C=this.state.isFocused;return M.createElement(h,Rt({},v,{isDisabled:y,isFocused:C}))}},{key:"renderDropdownIndicator",value:function(){var l=this.getComponents(),d=l.DropdownIndicator;if(!d)return null;var h=this.commonProps,v=this.props.isDisabled,y=this.state.isFocused,C={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return M.createElement(d,Rt({},h,{innerProps:C,isDisabled:v,isFocused:y}))}},{key:"renderMenu",value:function(){var l=this,d=this.getComponents(),h=d.Group,v=d.GroupHeading,y=d.Menu,C=d.MenuList,x=d.MenuPortal,R=d.LoadingMessage,T=d.NoOptionsMessage,j=d.Option,N=this.commonProps,O=this.state.focusedOption,_=this.props,L=_.captureMenuScroll,F=_.inputValue,V=_.isLoading,H=_.loadingMessage,z=_.minMenuHeight,U=_.maxMenuHeight,J=_.menuIsOpen,q=_.menuPlacement,Re=_.menuPosition,he=_.menuPortalTarget,ge=_.menuShouldBlockScroll,fe=_.menuShouldScrollIntoView,Oe=_.noOptionsMessage,Te=_.onMenuScrollToTop,xe=_.onMenuScrollToBottom;if(!J)return null;var je=function(ye,Se){var Ne=ye.type,le=ye.data,ve=ye.isDisabled,we=ye.isSelected,Ve=ye.label,et=ye.value,tt=O===le,ft=ve?void 0:function(){return l.onOptionHover(le)},Ae=ve?void 0:function(){return l.selectOption(le)},It="".concat(l.getElementId("option"),"-").concat(Se),pt={id:It,onClick:Ae,onMouseMove:ft,onMouseOver:ft,tabIndex:-1,role:"option","aria-selected":l.isAppleDevice?void 0:we};return M.createElement(j,Rt({},N,{innerProps:pt,data:le,isDisabled:ve,isSelected:we,key:It,label:Ve,type:Ne,value:et,isFocused:tt,innerRef:tt?l.getFocusedOptionRef:void 0}),l.formatOptionLabel(ye.data,"menu"))},Le;if(this.hasOptions())Le=this.getCategorizedOptions().map(function(re){if(re.type==="group"){var ye=re.data,Se=re.options,Ne=re.index,le="".concat(l.getElementId("group"),"-").concat(Ne),ve="".concat(le,"-heading");return M.createElement(h,Rt({},N,{key:le,data:ye,options:Se,Heading:v,headingProps:{id:ve,data:re.data},label:l.formatGroupLabel(re.data)}),re.options.map(function(we){return je(we,"".concat(Ne,"-").concat(we.index))}))}else if(re.type==="option")return je(re,"".concat(re.index))});else if(V){var ne=H({inputValue:F});if(ne===null)return null;Le=M.createElement(R,N,ne)}else{var _e=Oe({inputValue:F});if(_e===null)return null;Le=M.createElement(T,N,_e)}var G={minMenuHeight:z,maxMenuHeight:U,menuPlacement:q,menuPosition:Re,menuShouldScrollIntoView:fe},Y=M.createElement(B5,Rt({},N,G),function(re){var ye=re.ref,Se=re.placerProps,Ne=Se.placement,le=Se.maxHeight;return M.createElement(y,Rt({},N,G,{innerRef:ye,innerProps:{onMouseDown:l.onMenuMouseDown,onMouseMove:l.onMenuMouseMove},isLoading:V,placement:Ne}),M.createElement(gY,{captureEnabled:L,onTopArrive:Te,onBottomArrive:xe,lockEnabled:ge},function(ve){return M.createElement(C,Rt({},N,{innerRef:function(Ve){l.getMenuListRef(Ve),ve(Ve)},innerProps:{role:"listbox","aria-multiselectable":N.isMulti,id:l.getElementId("listbox")},isLoading:V,maxHeight:le,focusedOption:O}),Le)}))});return he||Re==="fixed"?M.createElement(x,Rt({},N,{appendTo:he,controlElement:this.controlRef,menuPlacement:q,menuPosition:Re}),Y):Y}},{key:"renderFormField",value:function(){var l=this,d=this.props,h=d.delimiter,v=d.isDisabled,y=d.isMulti,C=d.name,x=d.required,R=this.state.selectValue;if(x&&!this.hasValue()&&!v)return M.createElement(xY,{name:C,onFocus:this.onValueInputFocus});if(!(!C||v))if(y)if(h){var T=R.map(function(O){return l.getOptionValue(O)}).join(h);return M.createElement("input",{name:C,type:"hidden",value:T})}else{var j=R.length>0?R.map(function(O,_){return M.createElement("input",{key:"i-".concat(_),name:C,type:"hidden",value:l.getOptionValue(O)})}):M.createElement("input",{name:C,type:"hidden",value:""});return M.createElement("div",null,j)}else{var N=R[0]?this.getOptionValue(R[0]):"";return M.createElement("input",{name:C,type:"hidden",value:N})}}},{key:"renderLiveRegion",value:function(){var l=this.commonProps,d=this.state,h=d.ariaSelection,v=d.focusedOption,y=d.focusedValue,C=d.isFocused,x=d.selectValue,R=this.getFocusableOptions();return M.createElement(aY,Rt({},l,{id:this.getElementId("live-region"),ariaSelection:h,focusedOption:v,focusedValue:y,isFocused:C,selectValue:x,focusableOptions:R,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var l=this.getComponents(),d=l.Control,h=l.IndicatorsContainer,v=l.SelectContainer,y=l.ValueContainer,C=this.props,x=C.className,R=C.id,T=C.isDisabled,j=C.menuIsOpen,N=this.state.isFocused,O=this.commonProps=this.getCommonProps();return M.createElement(v,Rt({},O,{className:x,innerProps:{id:R,onKeyDown:this.onKeyDown},isDisabled:T,isFocused:N}),this.renderLiveRegion(),M.createElement(d,Rt({},O,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:T,isFocused:N,menuIsOpen:j}),M.createElement(y,Rt({},O,{isDisabled:T}),this.renderPlaceholderOrValue(),this.renderInput()),M.createElement(h,Rt({},O,{isDisabled:T}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(l,d){var h=d.prevProps,v=d.clearFocusValueOnUpdate,y=d.inputIsHiddenAfterUpdate,C=d.ariaSelection,x=d.isFocused,R=d.prevWasFocused,T=d.instancePrefix,j=l.options,N=l.value,O=l.menuIsOpen,_=l.inputValue,L=l.isMulti,F=CO(N),V={};if(h&&(N!==h.value||j!==h.options||O!==h.menuIsOpen||_!==h.inputValue)){var H=O?PY(l,F):[],z=O?MO(n0(l,F),"".concat(T,"-option")):[],U=v?FY(d,F):null,J=VY(d,H),q=qE(z,J);V={selectValue:F,focusedOption:J,focusedOptionId:q,focusableOptionsWithIds:z,focusedValue:U,clearFocusValueOnUpdate:!1}}var Re=y!=null&&l!==h?{inputIsHidden:y,inputIsHiddenAfterUpdate:void 0}:{},he=C,ge=x&&R;return x&&!ge&&(he={value:Ub(L,F,F[0]||null),options:F,action:"initial-input-focus"},ge=!R),(C==null?void 0:C.action)==="initial-input-focus"&&(he=null),yt(yt(yt({},V),Re),{},{prevProps:l,ariaSelection:he,prevWasFocused:ge})}}]),i}(M.Component);UR.defaultProps=LY;var zY=M.forwardRef(function(n,r){var i=GD(n);return M.createElement(UR,Rt({ref:r},i))}),$R=zY;function Hp({bg:n="dark",children:r,color:i="light",fontWeight:u="bold",icon:l="info-circle-fill",initial:d=!1,maxWidth:h="200px",padding:v="10px",placement:y,target:C,trigger:x="click",visible:R=!0}){const T=typeof d=="string"||d instanceof String,[j,N]=M.useState(T?localStorage.getItem(d)!="true":d),[O,_]=M.useState(!1);M.useEffect(()=>{setTimeout(()=>_(!0),100)},[]);const L=()=>{T&&localStorage.setItem(d,"true")},F=b.jsxs(RR,{style:{"--bs-tooltip-bg":`var(--bs-${n})`,"--bs-tooltip-color":`var(--bs-${i})`,"--bs-tooltip-max-width":h,"--bs-tooltip-padding-x":v,"--bs-tooltip-padding-y":v,fontWeight:u},children:[b.jsx("button",{"aria-label":"Close",onClick:()=>{L(),N(!1)},style:{background:"transparent",border:"0 none transparent",float:"right"},children:b.jsx("i",{className:"bi bi-x-lg"})}),r]});return C&&C.current?b.jsx(zD,{target:C.current,placement:y,show:j&&R&&O,children:F}):b.jsx(HD,{placement:y,onToggle:V=>{L(),N(V)},overlay:F,show:j&&R&&O,trigger:x,children:b.jsx("button",{className:"btn bnt-clear border-0",style:{backgroundColor:"transparent"},children:b.jsx("i",{className:`bi bi-${l}`})})})}const HY="_items_c2dbg_1",UY="_item_c2dbg_1",$Y="_details_c2dbg_14",GY="_text_c2dbg_20",WY="_number_c2dbg_35",XY="_outer_c2dbg_50",YY="_inner_c2dbg_61",Yl={items:HY,item:UY,details:$Y,text:GY,number:WY,outer:XY,inner:YY},um=(n,r)=>`${Math.cos(2*Math.PI*n)*r} ${Math.sin(2*Math.PI*n)*r}`;function ZY({requestId:n,grantNumber:r,creditColorClass:i="gray-300",colorClasses:u=pw}){const{request:l}=ri(n,r);if(!l)return;let d=0,h;const v=[];for(let T of l.resources)T.isBoolean||(T.isCredit?h=T:v.push(T),d+=T.requested*T.unitCost);const y=[],C=[];let x=-.25;const R=[...v,h].map((T,j)=>{if(!T)return null;const N=j+1,_=T.requested*T.unitCost/d,L=T.requested-T.used,F=Math.max(0,L),V=T.isCredit?d/T.unitCost:T.requested,H=V==0?0:100*F/V,U=`var(--bs-${T.isCredit?i:u[j%u.length]})`;if(_>0){const J=x,q=x+_/2,Re=x+=_,he=_>.5?1:0,ge=[`M ${um(J,100)}`,`A 100 100 0 ${he} 1 ${um(Re,100)}`,`L ${um(Re,50)}`,`A 50 50 0 ${he} 0 ${um(J,50)}`].join(" "),[fe,Oe]=um(q,75).split(" ").map(Te=>parseFloat(Te));y.push(b.jsx("path",{d:ge,style:{fill:U}},T.resourceId)),C.push(b.jsx("circle",{cx:fe,cy:Oe,r:"8",fill:"black"},`${T.resourceId}-circle`),b.jsx("text",{x:fe-4,y:Oe+4,fill:"white",className:Yl.number,children:N},`${T.resourceId}-text`))}return T.isCredit&&C.push(b.jsx("foreignObject",{x:"-50",y:"-50",width:"100",height:"100",children:b.jsx("div",{className:Yl.text,children:b.jsxs("div",{children:[b.jsx("strong",{children:ni(F,{abbreviate:!0})}),T.unit," available"]})})},"center-text")),b.jsxs("li",{className:Yl.item,children:[b.jsx("span",{className:Yl.number,children:N}),b.jsx("span",{className:`${Yl.outer} ms-2 me-2`,style:{borderColor:U},children:b.jsx("span",{className:Yl.inner,style:{backgroundColor:U,width:`${H}%`}})}),b.jsxs("strong",{className:Yl.name,children:[Hf(T,{userGuide:!1}),": "]}),b.jsxs("span",{className:Yl.details,children:[ni(L,{abbreviate:!0})," ",T.isCredit?null:b.jsxs(b.Fragment,{children:["of ",ni(V,{abbreviate:!0})," "]}),T.unit," ",T.isCredit?"available":"remaining"," (",Math.round(H),"%)"]})]},T.resourceId)});return b.jsxs("div",{className:"row",children:[b.jsx("div",{className:"col-lg-3 mb-3 d-flex flex-row align-items-center justify-content-center",children:b.jsxs("svg",{version:"1.1",viewBox:"-100 -100 200 200",width:"200",height:"200",xmlns:"http://www.w3.org/2000/svg",children:[y,C]})}),b.jsx("div",{className:"col-lg-9 mb-3 d-flex flex-column justify-content-center",children:b.jsx("ul",{className:Yl.items,children:R})})]})}const PO=n=>n;function JY({classes:n,clean:r=PO,format:i=PO,label:u,setValue:l,style:d,value:h}){const v=i(h),[y,C]=M.useState(v);return M.useEffect(()=>{C(v)},[v]),b.jsx("input",{type:"text","aria-label":u,className:`form-control ${n}`,value:y,style:d,onChange:x=>C(x.target.value),onBlur:x=>{const R=r(x.target.value);C(i(R)),l(R)},onKeyDown:x=>{x.code=="Enter"&&(x.preventDefault(),x.target.blur())}})}function qY({requestId:n,grantNumber:r}){const{request:i,addResource:u,openUsageDetailModal:l,resetResources:d,setResourceRequest:h,setResourcesReason:v,statuses:y,toggleActionsModal:C,toggleConfirmModal:x,toggleResourcesModal:R}=ri(n,r),{project:T}=Ji(r||i&&i.grantNumber),j=M.useRef(null),N=M.useRef(null);if(!i||!T)return;const O="Exchange"in i.allowedActions,_="Renewal"in i.allowedActions,L="Supplement"in i.allowedActions,F=i.exchangeStatus==y.pending,V=i.exchangeStatus==y.success,H=i.exchangeStatus==y.error,z=i.exchangeActionId!==null,U=i.resources,J=i.resourcesReason,q={};for(let le of U)q[le.resourceId]=le;const Re=()=>{MA(i)>=.75?C():x()},he=[];for(let le of U){let ve=[];if(le.requested>0){for(let we of le.requires||[]){let Ve=q[we];if(Ve){if(Ve.requested>0){ve=[];break}ve.push(Ve)}}ve.length&&he.push(b.jsxs("span",{children:[Hf(le,{userGuide:!1})," requires"," ",kA(ve.map(we=>Hf(we,{userGuide:!1})),"or"),"."]},le.resourceId))}}const ge=he.length>0;let fe;V?fe=b.jsx(na,{color:"info",children:"Your exchange request has been submitted."}):z?fe=b.jsx(na,{color:"warning",children:"You have an exchange request under review. The information below reflects the pending exchange request."}):H?fe=b.jsx(na,{color:"danger",children:"Sorry, your exchange request could not be submitted. Please try again later."}):i.timeStatus=="current"&&!T.isManager?fe=b.jsxs(na,{color:"warning",children:["You do not have permission to manage resources for this project. Please contact ",tR(T)," to request a change."]}):ge&&(fe=b.jsxs(na,{color:"warning",children:[he," Please adjust your balance values."]}));const Oe=J.length>0;let Te=!1,xe=!1;for(let le of U)if(le.isNew&&(Te=!0),le.allocated!=le.requested&&(xe=!0),Te&&xe)break;const je=U.map(le=>le.resourceId),Le=O&&!V&&!z?i.allowedActions.Exchange.resources.filter(le=>!je.includes(le.resourceId)).map(le=>{const ve=M0(le.name),we=ve.short?`${ve.short} (${ve.full.replace(/ \([^(]+\)/,"")})`:ve.full;return{value:le.resourceId,label:we}}):[],ne=O?i.allowedActions.Exchange.resources.map(le=>le.resourceId):[];let _e;const G=[],Y=[];for(let le of U)le.isCredit?_e=le:(G.push(le),Y.push(!V&&!z&&(le.isNew||le.allocated!=le.requested)?Bp.edited:ne.includes(le.resourceId)?"":Bp.disabled));const re=`Add ${G.length?"another":"a"} resource to your exchange...`,ye=le=>le.requested-le.used,Se=(le,ve)=>{let we=Fp(Number(le.replace(/[^0-9-.]/g,""))+ve.used,ve.decimalPlaces);isNaN(we)&&(we=ve.allocated);const Ve=Math.min(ve.allocated,ve.used);return we<Ve?Ve:ve.unitCost*(we-ve.requested)>_e.requested?Fp(_e.requested/ve.unitCost,ve.decimalPlaces,"floor")+ve.requested:we},Ne=[{key:"name",name:"Resource",format:(le,ve)=>Hf(ve),width:Math.min(350,window.innerWidth*.3)},{key:"isActive",name:"Status",format:(le,ve)=>b.jsx(Zp,{status:le?"Active":ve.isNew?"New":"Inactive"}),width:100},{key:"unit",name:"Unit",width:150,format:(le,ve)=>ve.isBoolean?b.jsx(b.Fragment,{children:"—"}):b.jsx("abbr",{title:`1 ${v_(le,1)} = ${ni(ve.unitCost)} ${v_(_e.name,ve.unitCost)}`,children:le})},{key:"used",name:"Usage",class:"text-end",format:(le,ve)=>ve.isBoolean?b.jsx(b.Fragment,{children:"—"}):b.jsxs(b.Fragment,{children:[ni(le),(T.currentUser.resourceIds.includes(ve.resourceId)||T.currentUser.resourceAccountInactiveIds.includes(ve.resourceId))&&b.jsx(c0,{icon:"table",onClick:()=>l(ve.resourceRepositoryKey),target:"_blank",title:`${ve.name} Usage Details`})]})}];return O&&Ne.push({key:"requested",name:"Balance",class:"text-end",rowClass:le=>!V&&!z&&ne.includes(le.resourceId)?Bp.input:"",format:(le,ve)=>{const we=!V&&!z&&ne.includes(ve.resourceId);return ve.isBoolean?b.jsx("input",{className:"form-check-input",type:"checkbox",checked:le==1,disabled:!we,onChange:Ve=>h(ve.resourceId,Ve.target.checked?1:0)}):we?b.jsx(JY,{classes:"text-end w-100",clean:Ve=>Se(Ve,ve)-ve.used,format:ni,label:`Balance for ${ve.name}`,setValue:Ve=>{h(ve.resourceId,Ve+ve.used)},style:{padding:"0.1rem 0.5rem"},value:ye(ve)}):ni(ye(ve))},formatHeader:le=>b.jsxs(b.Fragment,{children:[le,!V&&!z?b.jsx(Hp,{bg:"secondary",color:"dark",initial:"myprojects.requestedAllocation",placement:"top-end",visible:T.tab=="resources",children:"You can increase or decrease the balance below to change your allocation on a resource. Enter the total amount you would like to have available once the exchange is complete."}):null]})}),b.jsxs("div",{className:"resources",children:[fe,U.length?b.jsx(ZY,{requestId:n}):null,_e&&(O||_||L)?b.jsxs("h2",{className:"mb-1 mt-2 d-flex justify-content-between",children:[b.jsxs("span",{children:[mc(Nn.resourceTypeIcons.credit)," ",ni(_e.requested,_e)," ",_e.unit," available to exchange"]}),_||L?b.jsxs("button",{type:"button",className:"btn btn-sm btn-primary ms-2",onClick:Re,children:[mc(Nn.resourceTypeIcons.credit)," Request More"," ",i.usesCredits?"Credits":"Units"]}):null]}):null,G.length?b.jsx(Qf,{columns:Ne,rows:G,rowClasses:Y,classes:Le.length?"mb-0":"",frozenColumns:2,minWidth:"800px"}):b.jsx("div",{className:"card p-2 text-bg-light p-3",children:"This project does not have any resources."}),Le.length?b.jsxs(b.Fragment,{children:[b.jsx("div",{className:"p-2",style:{backgroundColor:"var(--teal-200)",border:"1px solid #cccccc",marginTop:"-1px"},ref:j,children:b.jsx($R,{classNames:{control:()=>"react-select mb-1"},options:Le,onChange:le=>u(le.value),placeholder:re,value:null,"aria-label":re})}),G.length?null:b.jsx(Hp,{bg:"secondary",color:"dark",visible:T.tab=="resources",initial:!0,target:j,children:"Ready to get started? Search for a resource to add it to your project."}),b.jsxs("p",{className:"text-black-50",style:{fontSize:"0.9rem"},children:["Need help choosing a resource? Visit our"," ",b.jsx("a",{href:Nn.routes.resources_path(),children:"Resource Catalog"}),"."]})]}):null,O&&!V&&!z?b.jsxs(b.Fragment,{children:[b.jsxs("div",{className:"mb-3",children:[b.jsx("label",{htmlFor:"resources-reason",className:"form-label required",children:"Please briefly explain how the requested resources and amounts will contribute to your research."}),b.jsx("textarea",{className:"form-control",id:"resources-reason",rows:"2",value:J,onChange:le=>v(le.target.value),style:{minHeight:"3rem"}})]}),b.jsxs("div",{className:"d-flex",children:[b.jsx("button",{type:"button",className:"btn btn-danger me-2",disabled:F||!xe&&!Oe&&!Te,onClick:d,children:"Reset Form"}),b.jsx("button",{ref:N,type:"button",className:"btn btn-secondary",disabled:F||!xe||!Oe||ge,onClick:R,children:F?"Submitting...":"Submit for Approval"})]}),xe&&!ge?b.jsx(Hp,{bg:"secondary",color:"dark",initial:"myprojects.submitExchange",maxWidth:"390px",placement:"right",target:N,visible:T.tab=="resources",children:"When you are finished adding resources, enter a justification for the requested resources above. Then you can submit your exchange for approval."}):null]}):null]})}function QY({question:n,requestId:r,grantNumber:i}){const{request:u,setResourceQuestionValues:l}=ri(r,i),d=M.useId();if(!n||!u||u.error)return;const{attributeSetId:h,attributes:v,fieldType:y,label:C,resourceId:x,values:R}=n,T=v[0],j=T.required?"required":"",N=V=>l(x,h,V.target.value?[V.target.value]:[]),O=V=>{l(x,h,Array.from(V.target.options).filter(({selected:H})=>H).map(({value:H})=>parseInt(H,10)))},_=V=>{const H=parseInt(V.target.value,10),z=V.target.checked?[...R,H]:R.filter(U=>U!=H);l(x,h,z)},L=V=>{const H=parseInt(V.target.value);l(x,h,isNaN(H)?[]:[H])};let F;if(["calendar","integer_only","text"].includes(y)){const V={calendar:"date",integer_only:"number",text:"text"}[y];F=b.jsx("input",{className:"form-control",id:d,type:V,placeholder:T.label,required:T.required,value:R[0]||"",onChange:y=="integer_only"?L:N})}else if(y=="textarea")F=b.jsx("textarea",{className:"form-control",id:d,placeholder:T.label,required:T.required,value:R[0]||"",onChange:N});else if(y=="drop_down"||v.length>=10){const V=y=="multi_sel";F=b.jsxs("select",{id:d,className:"form-select",required:T.required,multiple:V,onChange:V?O:L,value:V?R:R[0]||"",children:[V?null:b.jsx("option",{}),v.map(H=>b.jsx("option",{value:H.resourceAttributeId,children:H.label},H.resourceAttributeId))]})}else F=b.jsx("div",{id:d,children:v.map(V=>{const H=`resource-attribute-${V.resourceAttributeId}`;return b.jsxs("div",{className:"form-check",children:[b.jsx("input",{className:"form-check-input",type:y=="single_sel"?"radio":"checkbox",id:H,value:V.resourceAttributeId,checked:R.includes(V.resourceAttributeId),onChange:y=="single_sel"?L:_}),b.jsx("label",{className:"form-check-label",htmlFor:H,children:V.label})]},V.resourceAttributeId)})});return b.jsxs("div",{className:"mb-3",children:[b.jsx("label",{htmlFor:d,className:`form-label ${j}`,children:C}),F]})}function KY({requestId:n,grantNumber:r}){const{request:i,saveResources:u,toggleResourcesModal:l}=ri(n,r),{project:d}=Ji(r||i.grantNumber);if(!i||!d||i.error||d.error)return;const h=[],v=i.resources.filter(C=>C.allocated!=C.requested).map(C=>{const x=C.requested-C.allocated;return C.questions&&h.push(...C.questions),b.jsxs("li",{className:"list-group-item d-flex justify-content-between align-items-center mb-0",children:[C.name,b.jsx("span",{className:`badge bg-${x>0?"primary":"danger"} rounded-pill`,children:C.isBoolean?eR(C.requested):b.jsxs(b.Fragment,{children:[x>0?"+":"",ni(x,C)," ",C.unit]})})]},C.resourceId)}),y=h.some(({attributes:C,values:x})=>x.length==0&&C[0].required);return b.jsxs(Ln,{size:"lg",show:i.showResourcesModal,onHide:l,scrollable:!0,children:[b.jsx(Ln.Header,{closeButton:!0,children:b.jsx(Ln.Title,{children:"Complete Your Exchange"})}),b.jsxs(Ln.Body,{children:[b.jsx("p",{children:"Please review your exchange to make sure it includes all the resources you need. Once you submit it, you will not be able to request another exchange until this one has been processed by the resource providers."}),b.jsx("ul",{className:"list-group mb-3",children:v}),h.length?b.jsxs(b.Fragment,{children:[b.jsx("h2",{children:"Resource Questions"}),b.jsx("p",{children:"Some of the resources you selected have associated questions. Please answer the questions below."}),h.map(C=>b.jsx(QY,{question:C,requestId:n,grantNumber:r},C.attributeSetId))]}):null]}),b.jsx(Ln.Footer,{children:b.jsxs("div",{className:"d-flex",children:[b.jsx("button",{type:"button",className:"btn btn-primary me-2",onClick:l,children:"Continue Editing"}),b.jsx("button",{type:"button",className:"btn btn-secondary",onClick:u,disabled:y,children:"Submit"})]})})]})}function Mm(){return b.jsx("div",{className:"spinner-border",role:"status",children:b.jsx("span",{className:"visually-hidden",children:"Loading..."})})}function Mk({user:n}){const r=`${n.lastName}, ${n.firstName}`;let i=r,u=[n.organization,n.email].filter(l=>l).join(", ");return u&&(i+=`: ${u}`),b.jsx("abbr",{title:i,children:r})}function eZ({requestId:n,grantNumber:r}){const{project:i}=Ji(r),{request:u,closeUsageDetailModal:l}=ri(n,r);if(!u||u.error||!i||i.error||!u.usageDetailStatus)return;let d,h="Usage";if(u.usageDetailStatus==ea.pending)d=b.jsx(Mm,{});else if(u.usageDetailStatus==ea.error)d=b.jsx(na,{color:"danger",children:"An error occurred while loading usage data."});else{const{projectTitle:v,resourceDisplayName:y,resourceRepositoryKey:C,users:x}=u.usageDetail,{full:R,short:T}=M0(y),j=u.resources.find(L=>L.resourceRepositoryKey==C),N=L=>ni(L,{decimalPlaces:j?j.decimalPlaces:void 0}),O={};for(let L of i.users)O[L.username]=L;h=b.jsxs(b.Fragment,{children:["Usage: ",T||R," for ",v]});const _=[{key:"name",name:"Name",format:(L,{lastName:F,firstName:V,portalUsername:H})=>{const z=O[H];return z?b.jsx(Mk,{user:z}):`${F}, ${V}`}},{key:"portalUsername",name:"Resource Username",format:L=>{const F=O[L],V=F?F.resourceUsernames[j.resourceId]:null;return V||b.jsx(b.Fragment,{children:"—"})}},{key:"role",name:"Role",format:L=>LA[L].name},{key:"lastWeek",name:"Last Week",class:"text-end",format:N},{key:"lastMonth",name:"Last Month",class:"text-end",format:N},{key:"lastQuarter",name:"Last 3 Months",class:"text-end",format:N},{key:"currentRequest",name:"Current Allocation",class:"text-end",format:N},{key:"total",name:"All Time",class:"text-end",format:N}];d=x.length?b.jsx(Qf,{rows:x,columns:_}):b.jsx(na,{color:"info",children:"There is no usage for this resource."})}return b.jsxs(Ln,{show:!0,size:"lg",onHide:l,scrollable:!0,children:[b.jsx(Ln.Header,{closeButton:!0,children:b.jsx(Ln.Title,{children:h})}),b.jsx(Ln.Body,{children:d})]})}var tZ=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function nZ(n){var r=n.defaultOptions,i=r===void 0?!1:r,u=n.cacheOptions,l=u===void 0?!1:u,d=n.loadOptions;n.options;var h=n.isLoading,v=h===void 0?!1:h,y=n.onInputChange,C=n.filterOption,x=C===void 0?null:C,R=nl(n,tZ),T=R.inputValue,j=M.useRef(void 0),N=M.useRef(!1),O=M.useState(Array.isArray(i)?i:void 0),_=ta(O,2),L=_[0],F=_[1],V=M.useState(typeof T<"u"?T:""),H=ta(V,2),z=H[0],U=H[1],J=M.useState(i===!0),q=ta(J,2),Re=q[0],he=q[1],ge=M.useState(void 0),fe=ta(ge,2),Oe=fe[0],Te=fe[1],xe=M.useState([]),je=ta(xe,2),Le=je[0],ne=je[1],_e=M.useState(!1),G=ta(_e,2),Y=G[0],re=G[1],ye=M.useState({}),Se=ta(ye,2),Ne=Se[0],le=Se[1],ve=M.useState(void 0),we=ta(ve,2),Ve=we[0],et=we[1],tt=M.useState(void 0),ft=ta(tt,2),Ae=ft[0],It=ft[1];l!==Ae&&(le({}),It(l)),i!==Ve&&(F(Array.isArray(i)?i:void 0),et(i)),M.useEffect(function(){return N.current=!0,function(){N.current=!1}},[]);var pt=M.useCallback(function(sn,_n){if(!d)return _n();var Vt=d(sn,_n);Vt&&typeof Vt.then=="function"&&Vt.then(_n,function(){return _n()})},[d]);M.useEffect(function(){i===!0&&pt(z,function(sn){N.current&&(F(sn||[]),he(!!j.current))})},[]);var Kt=M.useCallback(function(sn,_n){var Vt=w5(sn,_n,y);if(!Vt){j.current=void 0,U(""),Te(""),ne([]),he(!1),re(!1);return}if(l&&Ne[Vt])U(Vt),Te(Vt),ne(Ne[Vt]),he(!1),re(!1);else{var Cn=j.current={};U(Vt),he(!0),re(!Oe),pt(Vt,function(qn){N&&Cn===j.current&&(j.current=void 0,he(!1),Te(Vt),ne(qn||[]),re(!1),le(qn?yt(yt({},Ne),{},Lp({},Vt,qn)):Ne))})}},[l,pt,Oe,Ne,y]),on=Y?[]:z&&Oe?Le:L||[];return yt(yt({},R),{},{options:on,isLoading:Re||v,onInputChange:Kt,filterOption:x})}var rZ=M.forwardRef(function(n,r){var i=nZ(n),u=GD(i);return M.createElement(UR,Rt({ref:r},u))}),aZ=rZ;const FO=({description:n,disabled:r=!1,onChange:i,selectedLength:u,totalLength:l})=>{const d=M.useRef(),h=M.useId();let v=u==l,y=u>0&&!v;return M.useEffect(()=>{d.current&&(d.current.checked=v,d.current.indeterminate=y)},[v,y]),b.jsxs(b.Fragment,{children:[b.jsx("input",{className:"custom-checkbox form-check-input",disabled:r,id:h,onChange:C=>i(C.target.checked),ref:d,type:"checkbox"}),b.jsx("label",{className:"form-check-label",htmlFor:h,"aria-description":`${v?"Deselect":"Select"} ${n}`})]})};function iZ({grantNumber:n,requestId:r}){const{project:i,addUser:u,resetUsers:l,saveUsers:d,setTab:h,setUserRole:v,statuses:y,toggleUsersResources:C}=Ji(n),{request:x}=i?ri(r||i.currentRequestId,n):{request:null};if(!i||!i.currentRequestId||!x||i.error||x.error)return;const R=i.isManager,T="Exchange"in x.allowedActions,j=i.usersStatus==y.pending,N=i.usersStatus==y.success,O=i.usersStatus==y.error,_=i.users,L=x.resources.filter(hw),F=L.length==0,V=_.find(he=>he.hasChanges)!==void 0,H=_.find(he=>he.role!="pi")!==void 0;let z;N&&!V?z=b.jsx(na,{color:"info",children:"Your changes have been saved. Creation of user accounts can take some time. Users can check the status of their accounts on the Overview tab of the My Projects page."}):O?z=b.jsx(na,{color:"danger",children:"Sorry, your changes could not be saved. Please try again later."}):R?L.length?F&&(z=b.jsx(na,{color:"warning",children:"This project does not have any active resources."})):z=b.jsxs(na,{color:"warning",children:["This project does not have any resources."," ",T?b.jsx("a",{href:Nn.routes.request_action_path(x.requestId,"new?action_type=Exchange"),onClick:he=>{he.preventDefault(),h("resources")},children:"Exchange credits for resources."}):null," ","Additional users can be added after an exchange is approved."]}):z=b.jsxs(na,{color:"warning",children:["You do not have permission to manage users for this project. Please contact ",tR(i)," to request a change."]});const U=(he,ge)=>{let fe,Oe,Te,xe;if(ge.key=="all"){fe="all resources for all users",Oe=je=>C(je),Te=0;for(let je of _)Te+=je.resourceIds.length;xe=_.length*L.length}else fe=`all users for ${ge.name}`,Oe=je=>C(je,null,ge.key),Te=_.filter(({resourceIds:je})=>je.includes(ge.key)).length,xe=_.length;return b.jsxs(b.Fragment,{children:[ge.key=="all"?he:Hf(ge,{userGuide:!1}),b.jsx("br",{}),b.jsx(FO,{description:fe,disabled:ge.disabled,onChange:Oe,selectedLength:Te,totalLength:xe})]})},J=L0.map(({role:he,name:ge})=>b.jsx("option",{value:he,children:ge},he)),q=[{key:"name",name:"Name",width:200,format:(he,ge)=>b.jsx(Mk,{user:ge})},{key:"username",name:"ACCESS Username",width:100},{key:"role",name:"Role",width:100,format:(he,ge)=>b.jsx("select",{className:"form-select",value:he,onChange:fe=>v(ge.username,fe.target.value),disabled:!R||he=="pi"||he=="co_pi",style:{position:"absolute",left:0,top:0,bottom:0,right:0,borderWidth:0},children:J.filter(fe=>fe.key==he||!["pi","co_pi"].includes(fe.key))})}];L.length&&q.push({key:"all",name:"All Resources",class:`text-center ${Bp.important}`,disabled:!R||F,width:100,format:(he,ge)=>b.jsx(FO,{description:`all users for ${ge.name}`,disabled:!R||F,onChange:fe=>C(fe,ge.username),selectedLength:ge.resourceIds.length,totalLength:L.length}),formatHeader:U});for(let he of L)q.push({key:he.resourceId,name:he.name,class:"text-center",disabled:!R||!he.isActive,icon:he.icon,format:(ge,fe)=>b.jsx(b.Fragment,{children:b.jsx("input",{className:"form-check-input",disabled:!R||!he.isActive,onChange:Oe=>C(Oe.target.checked,fe.username,he.resourceId),type:"checkbox",checked:fe.resourceIds.includes(he.resourceId)})}),formatHeader:U});const Re=_.map(he=>he.hasChanges?Bp.edited:"");return b.jsxs(b.Fragment,{children:[z,b.jsx(Qf,{rows:_,columns:q,frozenColumns:L.length?4:3,classes:"mb-0",minWidth:"800px",rowClasses:Re,scrollRowIndex:i.usersNewRowIndex}),R&&L.length&&!F?b.jsx("div",{style:{marginTop:"-1px",position:"relative",zIndex:100},children:b.jsx(aZ,{classNames:{control:()=>"react-select"},loadOptions:async he=>(await YU(he)).map(fe=>({value:fe,label:`${fe.username} (${fe.firstName} ${fe.lastName}, ${fe.organization}${fe.email?`, ${fe.email}`:""})`})),onChange:he=>u(he.value),placeholder:"Add another user...",value:null,"aria-label":"Add another user"})}):null,R&&(L.length&&!F||H)?b.jsxs("div",{className:"d-flex mt-3",children:[b.jsx("button",{type:"button",className:"btn btn-danger me-2",disabled:j||!V,onClick:l,children:"Reset Form"}),b.jsx("button",{type:"button",className:"btn btn-secondary",disabled:j||!V,onClick:d,children:j?"Saving...":"Save Changes"})]}):null]})}function oZ({requestId:n,grantNumber:r}){const{request:i}=ri(n,r),{project:u,setRequest:l,setTab:d}=Ji(r||i.grantNumber);if(!i)return;if(i.error)return b.jsx(na,{color:"danger",children:i.error});const h=i.timeStatus||i.actions[0].status.toLowerCase(),v=i.actions.find(({showDeleteModal:C})=>C),y=[];return i.resources.length||y.push("resources"),n!=u.currentRequestId&&y.push("users"),b.jsxs("div",{className:"request",children:[i.returnedForCorrections?b.jsxs(na,{color:"warning",children:[b.jsx("p",{children:"Your request has been returned for corrections. These are the notes from the Allocations Team"}),b.jsx("div",{className:S$.returnedForCorrectionsNotes,children:i.returnedForCorrectionsNotes}),b.jsx("p",{className:"mt-3",children:"Please address these issues by clicking the Edit button to edit your request."})]}):"",i.timeStatus!="current"&&!i.returnedForCorrections?b.jsxs(na,{color:"warning",children:["You are viewing ","aeiou".includes(h[0])?"an":"a"," ",h," request."," ",y.length?`You cannot manage ${y.join(" or ")} for this request.`:""," ",u.currentRequestId?b.jsx("a",{href:Nn.routes.request_path(u.currentRequestId),onClick:C=>{C.preventDefault(),l(u.currentRequestId)},children:"Go to the current request."}):null]}):null,b.jsxs(Y3,{activeKey:u.tab,onSelect:d,className:"mt-3 mb-3",children:[b.jsx(kb,{eventKey:"overview",title:"Overview",className:"mb-0",children:b.jsx(P4,{requestId:n,grantNumber:r})}),b.jsx(kb,{eventKey:"resources",title:i.usesCredits?"Credits + Resources":"Resources",disabled:y.includes("resources"),children:b.jsx(qY,{requestId:n})}),b.jsx(kb,{eventKey:"users",title:"Users + Roles",disabled:y.includes("users"),children:b.jsx(iZ,{grantNumber:r})}),b.jsx(kb,{eventKey:"history",title:"History",children:b.jsx(f4,{requestId:n})})]}),b.jsx(e4,{grantNumber:r,requestId:n}),b.jsx(t4,{grantNumber:r,requestId:n}),b.jsx(n4,{grantNumber:r,requestId:n,actionId:v?v.actionId:null}),b.jsx(KY,{grantNumber:r,requestId:n}),b.jsx(eZ,{grantNumber:r,requestId:n})]})}function sZ({requestId:n,grantNumber:r}){const{request:i,toggleActionsModal:u,toggleDeleteModal:l}=ri(n,r);if(!i)return;const{actions:d,allowedActions:h}=i,v=[];h&&(("Extension"in h||"Renewal"in h)&&v.push(["Extend End Date",C=>{C.preventDefault(),u()},"calendar-plus"]),"Final Report"in h&&v.push(["Submit Final Report",`${Nn.routes.request_action_path(n,"new")}?action_type=Final+Report`,"file-earmark-check"]));const y=d.find(C=>C.isRequest);if(y){const C=y.allowedOperations||[];C.includes("Edit")&&v.push(["Edit",Nn.routes.edit_request_path(i.requestId),"pencil"]),C.includes("Delete")&&v.push(["Delete",x=>{x.preventDefault(),l(y.actionId)},"trash","danger"])}return v.map(([C,x,R,T])=>{const j=b.jsxs(b.Fragment,{children:[" ",R&&b.jsx("i",{className:`bi bi-${R} me-1`}),C]});return typeof x=="function"?b.jsx("button",{className:`btn btn-${T||"primary"} ms-2 text-nowrap`,onClick:x,children:j},C):b.jsx("a",{className:`btn btn-${T||"primary"} ms-2 text-nowrap`,href:x,children:j},C)})}function lZ({open:n=!1,grantNumber:r,title:i,status:u}){const[l,d]=M.useState(n),{project:h,setRequest:v}=Ji(r,!l&&i&&u&&!0),y=`project-${r}`;let C=null;if(l&&h)if(h.error)C=b.jsx(na,{color:"danger",children:h.error});else{let x;const R=h.requestsList.map(T=>(T.requestId==h.selectedRequestId&&(x=T),b.jsx("option",{value:T.requestId,children:Kw(T)},T.requestId)));C=b.jsxs(b.Fragment,{children:[b.jsxs("div",{className:"d-flex",children:[b.jsx("select",{className:"form-select","aria-label":"Select a request to display",onChange:T=>v(parseInt(T.target.value,10)),value:h.selectedRequestId,disabled:R.length<2,children:R}),b.jsx(sZ,{requestId:h.selectedRequestId,grantNumber:r})]}),x?b.jsx(oZ,{...x,grantNumber:r}):null]})}return b.jsxs("div",{className:`${y_.project} card mb-3`,children:[b.jsxs("div",{className:`card-header d-flex justify-content-between ${l?"":"border-bottom-0"}`,children:[b.jsx("button",{"aria-expanded":l,"aria-controls":y,className:y_.expand,onClick:()=>d(!l),children:b.jsxs("h2",{className:"mb-1 mt-1 text-start",children:[b.jsx("i",{className:`bi bi-caret-${l?"down":"right"}-fill`})," ",/^[A-Z]/.test(r)?b.jsxs(b.Fragment,{children:[b.jsxs("span",{className:"grant-number",children:[r,":"]})," "]}):null,i||h.title]})}),b.jsx(Zp,{status:u||h.status})]}),b.jsx("div",{className:"card-body",id:y,hidden:!l||!h,children:C})]})}function uZ({username:n,openFirst:r=1}){const{error:i,loading:u,projects:l}=y$(n);return u?b.jsx(Mm,{}):i?b.jsxs(na,{color:"danger",children:[i," ",b.jsx("a",{href:"#",onClick:d=>{d.preventDefault(),window.location.reload()},children:"Reload the page"})," ","to try again."]}):l.length?l.map((d,h)=>b.jsx(lZ,{open:h<r,...d},d.grantNumber)):b.jsxs("div",{className:"pt-5 pb-5 text-bg-light border border-light-subtle",children:[b.jsx("p",{className:"fs-2 text-center mb-4",children:"You don't have any projects yet."}),b.jsxs("div",{className:"d-flex gap-2 justify-content-center",children:[b.jsxs("a",{className:"btn btn-primary w-25",href:Nn.routes.project_types_path(),children:[b.jsx("i",{className:"bi bi-boxes fs-1 d-block"})," Learn about Project Types"]}),b.jsxs("a",{className:"btn btn-secondary w-25",href:Nn.routes.get_your_first_project_path(),children:[b.jsx("i",{className:"bi bi-cpu fs-1 d-block"})," Learn How to Get Your"," ",b.jsx("br",{className:"d-none d-xxl-inline"})," First Project"]}),b.jsxs("a",{className:"btn btn-primary w-25",href:Nn.routes.how_to_path(),children:[b.jsx("i",{className:"bi bi-person-plus fs-1 d-block"})," Learn How to Join an Existing Project"]})]})]})}const Lk={apiUrl:null,pages:1,projects:[],projectsLoaded:!1,filtersLoaded:!0,showPagination:!1,filters:{org:"",allocationType:"",allFosToggled:!0,resource:""},pageData:{current_page:1,last_page:1},typeLists:{orgs:[],fosTypes:[],allocationTypes:[],resources:[]}},cZ=Di("projectsBrowser/initApp",async(n,{getState:r,dispatch:i})=>{await i(Fw()),await i($f()),i(fZ())}),fZ=Di("projectsBrowser/filterCleanup",async(n,{getState:r,dispatch:i})=>{const l=r().projectsBrowser.typeLists;i(Pk({...l,orgs:["-- ALL --"].concat(l.orgs)}))}),Fw=Di("projectsBrowser/getFilters",async(n,{getState:r,dispatch:i})=>{const l=`${r().projectsBrowser.apiUrl}?filters=1`,h=await(await fetch(l)).json();i(Pk(h.filters))}),$f=Di("projectsBrowser/getProjects",async(n,{getState:r})=>{const i=r().projectsBrowser,u=i.filters,l=i.typeLists,d=l.fosTypes.filter(C=>C.checked);let h=`${i.apiUrl}?page=${i.pageData.current_page}`;return d.length!=l.fosTypes.length&&(h+=`&fos=${d.map(C=>C.fosTypeId).join(",")}`),u.org!=""&&u.org!="-- ALL --"&&(h+=`&org=${encodeURIComponent(u.org)}`),u.allocationType!=""&&(h+=`&allocation_type=${u.allocationType}`),u.resource!=""&&(h+=`&resources=${u.resource}`),await(await fetch(h)).json()}),GR=D0({name:"projectsBrowser",initialState:Lk,reducers:{resetFilters:n=>{n.filters={org:"",allocationType:"",allFosToggled:!1,resource:""},GR.caseReducers.toggleAllFos(n)},setApiUrl:(n,{payload:r})=>{n.apiUrl=r},setShowPagination:(n,{payload:r})=>{n.showPagination=r},setTypeLists:(n,{payload:r})=>{n.typeLists=r},toggleAllFos:n=>{n.typeLists.fosTypes.forEach(r=>r.checked=!n.filters.allFosToggled),n.filters.allFosToggled=!n.filters.allFosToggled},toggleFos:(n,{payload:r})=>{n.typeLists.fosTypes.forEach(i=>{i.fosTypeId==r.fosTypeId&&(i.checked=!i.checked)}),n.typeLists.fosTypes.filter(i=>i.checked).length!=n.typeLists.fosTypes.length?n.filters.allFosToggled=!1:n.filters.allFosToggled=!0},updateFilter:(n,{payload:r})=>{n.filters[r.name]=r.value},updatePageData:(n,{payload:r})=>{r.current_page&&(n.pageData.current_page=r.current_page),r.last_page&&(n.pageData.last_page=r.last_page)}},extraReducers:n=>{n.addCase($f.pending,r=>{r.projectsLoaded=!1}).addCase($f.fulfilled,(r,i)=>{const u=i.payload;r.projectsLoaded=!0,r.projects=u.projects,u.pages!=r.pageData.last_page&&(r.pageData.current_page=1),r.showPagination=!0,r.pageData.last_page=u.pages}).addCase($f.rejected,(r,i)=>{console.log(i.error)}).addCase(Fw.pending,r=>{r.filtersLoaded=!1}).addCase(Fw.fulfilled,r=>{r.filtersLoaded=!0})}}),{resetFilters:dZ,setApiUrl:G8,setShowPagination:VO,setTypeLists:Pk,toggleAllFos:pZ,toggleFos:vZ,updateFilter:BO,updatePageData:Vw}=GR.actions,hZ=n=>n.projectsBrowser.filters,mZ=n=>n.projectsBrowser.filtersLoaded,gZ=n=>n.projectsBrowser.projectsLoaded,yZ=n=>n.projectsBrowser.pageData,bZ=n=>n.projectsBrowser.projects,CZ=n=>n.projectsBrowser.filtersLoaded&&n.projectsBrowser.projectsLoaded&&n.projectsBrowser.pageData.last_page>1,xZ=n=>n.projectsBrowser.typeLists,SZ=GR.reducer;const EZ=()=>{const n=To(),r=dr(hZ),i=dr(xZ),u=i.orgs.map(O=>({label:O,value:O})),l=M.useRef(),[d,h]=M.useState(null),[v,y]=M.useState(!1),C={height:"200px",overflowX:"auto",padding:"2px"},x=O=>{n(BO({name:O.target.name,value:O.target.value}))},R=()=>{window.scrollTo(0,0),y(!0),n(VO(!1)),n(Vw({current_page:1})),n($f())},T=()=>{h(null),n(VO(!1)),n(Vw({current_page:1})),n(dZ()),v&&(window.scrollTo(0,0),n($f()),y(!1))},j=O=>{h(O),n(BO({name:"org",value:O.value}))},N=()=>r.org==""&&r.allocationType==""&&r.allFosToggled&&r.resource=="";return b.jsx("div",{className:"row sticky-top mb-2",children:b.jsxs("div",{className:"col",children:[b.jsx("h3",{className:"mb-2",children:"Filters"}),b.jsx("h5",{className:"mb-1",children:"Field of Science"}),b.jsxs("div",{className:"border mb-3",style:C,children:[b.jsxs("div",{className:"form-check",children:[b.jsx("input",{className:"form-check-input",type:"checkbox",value:"",id:"toggle_all",checked:r.allFosToggled,onChange:()=>{n(pZ())}}),b.jsx("label",{className:"form-check-label",htmlFor:"toggle_all",children:"(Toggle All)"})]}),i.fosTypes.map(O=>b.jsxs("div",{className:"form-check",children:[b.jsx("input",{className:"form-check-input",type:"checkbox",value:O.fosTypeId,id:`fos_${O.fosTypeId}`,checked:O.checked,onChange:()=>n(vZ(O))}),b.jsx("label",{className:"form-check-label",htmlFor:`fos_${O.fosTypeId}`,children:O.fosName})]},`fos_${O.fosTypeId}`))]}),b.jsx("h5",{id:"org_select_label",className:"mb-1",children:"Organization"}),b.jsx("div",{className:"mb-3",children:b.jsx($R,{options:u,openMenuOnClick:!0,name:"org",inputId:"orgs_filter",ref:l,closeMenuOnSelect:!0,onChange:j,value:d,"aria-labelledby":"org_select_label"},"org_select")}),b.jsx("h5",{id:"project_type_label",className:"mb-1",children:b.jsx("abbr",{title:'A specific level of allocation; also referred to as "Opportunity"',children:"Project Type"})}),b.jsx("div",{className:"mb-3",children:b.jsxs("select",{name:"allocationType",id:"project_type_select",value:r.allocationType,className:"form-control","aria-labelledby":"project_type_label",onChange:O=>x(O),children:[b.jsx("option",{value:"",children:"-- All --"}),i.allocationTypes.map((O,_)=>b.jsx("option",{value:O,children:O},`allocation_type_${_}`))]})}),b.jsx("h5",{id:"resource_filter_label",className:"mb-1",children:"Resource"}),b.jsx("div",{className:"mb-3",children:b.jsxs("select",{name:"resource",id:"resource_select",value:r.resource,className:"form-control","aria-labelledby":"resource_filter_label",onChange:O=>x(O),children:[b.jsx("option",{value:"",children:"-- All --"}),i.resources.map((O,_)=>b.jsx("option",{value:O.resourceId,children:O.resourceName},`resource_${_}`))]})}),b.jsxs("div",{className:"mt-2",children:[b.jsx("button",{className:"btn btn-primary me-2",onClick:R,children:"Submit"}),b.jsx("button",{className:"btn btn-secondary",disabled:N(),onClick:T,children:"Reset"})]})]})})};const wZ=({project:n})=>{const r=n.resources,i=l=>{let d=l.units?l.units:l.resourceUnits;const h=l.allocation?l.allocation:l.amount;if(d=="[Yes = 1, No = 0]"||d=="Yes / No")return h=="1.0"?"Yes":"No";{let v="0";return parseInt(h)&&(v=parseInt(h).toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")),d=="ACCESS Credits"&&(d=b.jsx("span",{className:"tooltip-underline",title:"universal currency that can be exchanged for resource units",children:"ACCESS Credits"})),d=="Dollars"?`$${v}`:b.jsxs(b.Fragment,{children:[v," ",d]})}},u=()=>n.requestNumber&&n.requestNumber!=""?`(${n.requestNumber})`:"";return b.jsxs("div",{className:"card mb-4",children:[b.jsxs("div",{className:"card-header bg-primary text-white",children:[b.jsxs("span",{className:"fw-bold",children:[u()," ",n.requestTitle]})," ",b.jsx("br",{}),b.jsxs("span",{className:"fst-italic",children:[n.pi," ",b.jsxs("small",{children:[" (",n.piInstitution,") "]})]})]}),b.jsxs("div",{className:"card-body",children:[b.jsxs("div",{className:"row fw-bold border-bottom",children:[b.jsx("div",{className:"col",children:b.jsx("span",{className:"mb-1 pb-0",children:"Field of Science"})}),b.jsx("div",{className:"col",children:b.jsx("span",{className:"mb-1 pb-0 tooltip-underline",title:'A specific level of allocation; also referred to as "Opportunity"',children:"Project Type"})}),b.jsx("div",{className:"col",children:b.jsx("span",{className:"mb-1 pb-0",children:"Dates"})})]}),b.jsxs("div",{className:"row",children:[b.jsx("div",{className:"col",children:n.fos}),b.jsx("div",{className:"col",children:n.allocationType}),b.jsxs("div",{className:"col",children:[n.beginDate," to ",n.endDate]})]}),b.jsxs(os,{flush:!0,className:"mt-3 mb-1",children:[b.jsxs(os.Item,{eventKey:"0",children:[b.jsx(os.Header,{children:"Resources"}),b.jsx(os.Body,{children:b.jsxs("table",{className:"table table-striped table-bordered mt-2 mb-0",children:[b.jsx("thead",{children:b.jsxs("tr",{children:[b.jsx("td",{children:b.jsx("span",{className:"m-0 p-0",children:"Resource"})}),b.jsx("td",{children:b.jsx("span",{className:"m-0 p-0 d-inline",children:"Allocation"})})]})}),b.jsx("tbody",{children:r.map((l,d)=>b.jsxs("tr",{children:[b.jsx("td",{children:l.resourceName}),b.jsx("td",{style:{whiteSpace:"nowrap"},children:i(l)})]},`resource_${n.requestId}_${d}`))})]})})]}),b.jsxs(os.Item,{eventKey:"1",children:[b.jsx(os.Header,{children:"Abstract"}),b.jsx(os.Body,{children:b.jsx("div",{style:{whiteSpace:"pre-wrap",padding:"5px"},children:n.abstract})})]})]})]})]})},RZ=()=>{const n=dr(bZ);return n.length==0?b.jsx("div",{children:"No Projects Found"}):b.jsx("div",{children:n.map((r,i)=>b.jsx(wZ,{project:r},`project_${i}`))})};const zO=()=>{const n=To(),r=dr(yZ),[i,u]=M.useState([]),[l,d]=M.useState("0"),h=Array.from({length:r.last_page},(N,O)=>O),v=10,y={width:"50px",textAlign:"center"};M.useEffect(()=>{R()},[r]);const C=N=>{const O=parseInt(N);n(Vw({current_page:N})),n($f(O))},x=N=>(event.preventDefault(),d("0"),C(N),!1),R=()=>{const N=[];if(r.last_page>v)if(r.current_page>4){N.push(1),N.push("spacer");for(var O=1;O>0;O--)r.current_page-O>1&&N.push(r.current_page-O);N.push(["current",r.current_page]);for(var O=1;O<2;O++)r.current_page+O<=r.last_page&&N.push(r.current_page+O);r.last_page-r.current_page>1&&(N.push("spacer"),N.push(r.last_page))}else[1,2,3,4,5].forEach(_=>{_==r.current_page?N.push(["current",_]):N.push(_)}),N.push("spacer"),N.push(r.last_page);else for(var O=1;O<=r.last_page;O++)O==r.current_page?N.push(["current",O]):N.push(O);u(N)},T=N=>{let O="";return typeof N=="object"?[N,O]=N:O=N,N=="spacer"?b.jsx("li",{className:"page-item disabled",children:b.jsx("span",{className:"page-link",style:y,children:". . ."})}):N=="current"?b.jsx("li",{className:"page-item active","aria-current":"page",children:b.jsx("span",{className:"page-link",style:y,children:O})}):b.jsx("li",{className:"page-item",children:b.jsx("button",{className:"page-link",style:y,onClick:()=>C(N),children:O})})},j=()=>b.jsx("li",{className:"page-item",children:b.jsxs("select",{className:"page-link",style:{...y,height:"100%"},value:l,onChange:N=>x(N.target.value),children:[b.jsx("option",{value:"0",children:"Go To"}),h.map(N=>b.jsx("option",{value:N+1,children:N+1},`page_option_${N}`))]})});return b.jsx("div",{children:b.jsx("nav",{"aria-label":"Pages for the table",children:b.jsxs("ul",{className:"pagination",children:[b.jsx("li",{className:`page-item ${r.current_page==1?"disabled":""}`,children:b.jsx("button",{className:"page-link",style:{width:"50px",textAlign:"center"},onClick:()=>C(r.current_page-1),disabled:r.current_page==1,"aria-label":"Previous Page Button",children:"<"})}),i.map((N,O)=>b.jsx(kr.Fragment,{children:T(N)},`page_${O}`)),r.last_page>v?j():"",b.jsx("li",{className:`page-item ${r.current_page==r.last_page?"disabled":""}`,children:b.jsx("button",{className:"page-link",style:y,onClick:()=>C(r.current_page+1),disabled:r.current_page==r.last_page,"aria-label":"Next Page Button",children:">"})})]})})})},TZ=({api_url:n})=>{const r=To(),i=dr(gZ),u=dr(mZ),l=dr(CZ),d=b.jsx("div",{className:"loadingDiv",children:"Loading ..."});return M.useEffect(()=>{r(cZ())},[]),b.jsx("div",{className:"container-fluid",children:b.jsxs("div",{className:"row",children:[b.jsx("div",{className:"col-sm-3",children:b.jsx(EZ,{})}),b.jsxs("div",{className:"col-sm-9",children:[b.jsx("div",{className:"row",children:b.jsx("div",{className:"col",children:l?b.jsx(zO,{}):""})}),b.jsx("div",{className:"row",id:"projectListRow",children:b.jsx("div",{className:"col",children:i&&u?b.jsx(RZ,{}):d})}),b.jsx("div",{className:"row",children:b.jsx("div",{className:"col",children:l?b.jsx(zO,{scroll:"projects_browser_app"}):""})})]})]})})},IZ=n=>n.publications_store.publication,NZ=n=>n.publications_store.publication.doi,_Z=n=>n.publications_store.publication_types,Fk=n=>n.publications_store.publication.authors,OZ=n=>n.publications_store.tag_categories,AZ=n=>n.publications_store.projects,jZ=n=>n.publications_store.publication.tags,DZ=n=>n.publications_store.errors,Vk=n=>n.publications_store.data_loaded,Bk=n=>n.publications_store.show_saved,WR=n=>n.publications_store.saving,kZ=n=>n.publications_store.modal,zk=n=>n.publications_store.form_valid,Hk=n=>!WR(n)&&Vk(n)&&zk(n)&&Uk(n)&&n.publications_store.projects.filter(r=>r.selected).length>0,Uk=n=>{const r=Fk(n);return r.length==0?!1:r.filter(i=>i.first_name==""||i.last_name=="").length==0},$k=n=>({type:"UPDATE_PUBLICATION",payload:n}),MZ=n=>({type:"UPDATE_FIELD",payload:n}),Bw=n=>({type:"CHANGE_PUB_TYPE",payload:n}),LZ=n=>({type:"SET_PUBLICATION",payload:n}),PZ=()=>({type:"ADD_AUTHOR"}),FZ=n=>({type:"UPDATE_AUTHOR",payload:n}),VZ=n=>({type:"TOGGLE_REQUEST",payload:n}),Im=n=>({type:"UPDATE_ERRORS",payload:n}),Gk=n=>({type:"HIDE_ERROR",payload:n}),BZ=n=>({type:"UPDATE_SELECTED_TAGS",payload:n}),zZ=n=>({type:"DELETE_AUTHOR",payload:n}),HZ=n=>({type:"DATA_LOADED",payload:n}),Wk=n=>({type:"UPDATE_SHOW_SAVED",payload:n}),UZ=()=>({type:"RESET_STATE"}),QE=n=>({type:"UPDATE_SAVING",payload:n}),$Z=n=>({type:"SET_FORM_VALID",payload:n}),Xk=n=>({type:"SET_GRANT_NUMBER",payload:n}),GZ=n=>({type:"ADD_PROJECT",payload:n}),vc={routes:{}},WZ=(n,r,i)=>{let u=!0;const l=[];for(const h of r)n[h]||(u=!1,l.push(h));const d=n.authors||[];for(const h of d)for(const v of i)h[v]||(u=!1,l.includes(v)||l.push(v));return{formValid:u,missingFields:l}},XZ=n=>n.length>0?b.jsxs("div",{role:"alert",children:[b.jsx("p",{children:"Please provide the following information before submitting:"}),b.jsx("ul",{children:n.map(r=>b.jsx("li",{children:YZ(r)},r))})]}):null;function YZ(n){return n.split("_").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" ")}const ZZ=()=>async(n,r)=>{const i=r().publications_store.publication.doi,u=encodeURIComponent(i).replaceAll(".","%2E"),l="Unable to retrieve publication. Double check your DOI, or continue entering information manually.";fetch(`/publications/lookup?doi=${u}`).then(d=>d.json()).then(d=>{if(d.title!=""){let h=r().publications_store.publication_types.find(v=>v.citation_style_type==d.type);n(Bw(h?h.publication_type:"Other")),n(LZ(d))}else n(Im(l))},d=>{n(Im(l))})},JZ=()=>async(n,r)=>{const i=r().publications_store.grant_number,u=vc.routes.publications_find_project_path();await fetch(`${u}?grant_number=${i}`).then(l=>l.json()).then(l=>{n(GZ(l)),n(Xk(""))},()=>{n(Im("Unable to find a project with this grant number."))})},Yk=()=>async n=>{const r=/^\/requests/.test(window.location.pathname)?vc.routes.publication_path("new.json"):window.location.href+".json";await fetch(r).then(i=>i.json()).then(i=>{n(HZ(i))})},Zk=()=>async(n,r)=>{const i=r().publications_store,u=i.projects.filter(T=>T.selected),l=Object.keys(i.selected_tags).map(T=>i.selected_tags[T]).flat(),d={...i.publication},h=i.errors,{formValid:v,missingFields:y}=WZ(d,["title","publication_year","publication_month"],["first_name","last_name"]);if(!v){h.length>0&&Array.from(h).forEach(j=>{n(Gk(j.id))});const T=XZ(y);n(Im(T));return}const C={authenticity_token:document.getElementsByName("authenticity_token")[0].value,publication:d,authors:d.authors.map(T=>({...T,order:0})),tags:l,projects:u};let x,R;d.publication_id?(x=vc.routes.publication_path(d.publication_id),R="PATCH"):(x=vc.routes.publications_path(),R="POST"),n(QE(!0)),await fetch(x,{method:R,headers:{"Content-Type":"application/json"},body:JSON.stringify(C)}).then(T=>{i.redirect?window.location.href=vc.routes.publications_path():(d.publication_id||(n(UZ()),n(Yk())),n(Wk(!0)),n(QE(!1)))},()=>{n(QE(!1)),n(Im("There was an error saving this publication."))})},qZ=({doi:n,updatePublication:r,doiLookup:i})=>b.jsx("div",{className:"row mb-3",children:b.jsxs("div",{className:"col",children:[b.jsx("label",{htmlFor:"doi",className:"form-label",children:"DOI"}),b.jsxs("div",{className:"input-group",children:[b.jsx("input",{type:"text",className:"form-control",id:"doi",name:"publication[doi]","aria-label":"DOI Input and Search box","aria-describedby":"doi_button",value:n,onChange:u=>r(u.target.value)}),b.jsx("button",{className:"btn btn-primary",type:"button",id:"doi_button",onClick:()=>i(),children:"Lookup Publication"})]})]})}),QZ=n=>({doi:NZ(n)}),KZ=n=>({updatePublication:r=>n($k({key:"doi",value:r})),doiLookup:()=>n(ZZ())}),e6=fs(QZ,KZ)(qZ),t6=({author:n,authorKey:r,updateAuthor:i,deleteAuthor:u})=>{const l=v=>{i({key:v.target.name,value:v.target.value,idx:r})},d=v=>b.jsx("td",{children:b.jsx("input",{type:"text",className:"form-control",name:v,id:v,value:n[v],onChange:y=>l(y)})},`field_${v}`),h=["first_name","last_name","affiliation"];return b.jsxs("tr",{children:[h.map(v=>d(v)),b.jsx("td",{children:r!==0&&b.jsx("button",{className:"btn btn-sm btn-danger",onClick:()=>u(r),children:b.jsx("i",{className:"bi bi-trash"})})})]})},n6=n=>({updateAuthor:r=>n(FZ(r)),deleteAuthor:r=>n(zZ(r))}),HO=fs(null,n6)(t6),r6=({authors:n,addAuthor:r,authors_exist:i})=>{const u=n.length===0,l=()=>i?"":b.jsx("div",{className:"alert alert-danger",children:"You must add at least one author and each author must have a first and last name"});return b.jsxs("div",{children:[l(),b.jsxs("table",{className:"table",children:[b.jsx("thead",{children:b.jsxs("tr",{children:[b.jsx("th",{children:"First Name"}),b.jsx("th",{children:"Last Name"}),b.jsx("th",{children:"Affiliation"}),b.jsx("th",{})]})}),b.jsxs("tbody",{children:[n.map((d,h)=>b.jsx(HO,{author:d,authorKey:h},`author_${h}`)),u&&b.jsx(HO,{author:r()})]})]}),b.jsx("button",{className:"btn btn-primary mt-3",onClick:()=>r(),children:"Add Author"})]})},a6=n=>({authors:Fk(n),authors_exist:Uk(n)}),i6=n=>({addAuthor:()=>n(PZ())}),o6=fs(a6,i6)(r6),s6=({category:n,publication_tags:r,updateSelectedTags:i,index:u})=>{const l=M.useRef(null),d=()=>{const v=r.filter(y=>y.label==n.label)[0];return v?v.options:[]},h=v=>{i({category:n.label,tags:v})};return b.jsxs(b.Fragment,{children:[b.jsx("div",{className:"fw-bold mb-1",children:n.label}),b.jsx("div",{className:"mb-3",children:b.jsx($R,{classNames:{control:v=>v.isFocused?"custom-select-selected":"border-grey-300"},defaultValue:d(),options:n.options,isMulti:!0,openMenuOnClick:!0,name:`tags_${u}`,inputId:`tags_${u}`,ref:l,closeMenuOnSelect:!1,onChange:h})})]})},l6=n=>({updateSelectedTags:r=>n(BZ(r))}),u6=n=>({publication_tags:jZ(n)}),c6=fs(u6,l6)(s6),f6=({projects:n,toggleProject:r})=>{const i=l=>`list-group-item list-group-item-action clickable ${l.selected?"list-group-item-success":""}`,u=()=>n.filter(l=>l.selected).length>0;return b.jsx("div",{className:"row",children:b.jsxs("div",{className:"col",children:[u()?"":b.jsx("div",{className:"alert alert-danger",children:"You must select at least one project"}),b.jsx("div",{className:"list-group",children:n.map((l,d)=>b.jsxs("div",{className:i(l),onClick:()=>r(d),children:[l.grant_number,": ",l.title]},`project_${l.grant_number}`))})]})})},d6=n=>({projects:AZ(n)}),p6=n=>({toggleProject:r=>n(VZ(r))}),v6=fs(d6,p6)(f6),h6=({grant_number:n,setGrantNumber:r,grantSearch:i})=>b.jsx("div",{className:"row",children:b.jsxs("div",{className:"col",children:["If your project isn't listed above, you can manually add it by entering the grant number below.",b.jsxs("div",{className:"input-group mt-1",children:[b.jsx("input",{type:"text",className:"form-control",value:n,onChange:u=>r(u.target.value),placeholder:"Enter a grant number"}),b.jsx("button",{className:"btn btn-primary",onClick:()=>i(),children:"Find Project"})]})]})}),m6=n=>({setGrantNumber:r=>n(Xk(r)),grantSearch:()=>n(JZ())}),g6=n=>({grant_number:n.publications_store.grant_number}),y6=fs(g6,m6)(h6),b6=({publication:n,updateField:r,publication_types:i,changePubType:u,updatePublication:l,tag_categories:d,savePublication:h,modal:v,save_enabled:y,setFormValid:C,form_valid:x})=>{const R=F=>{F.target.value.trim()==""?C(!1):C(!0),l({key:"title",value:F.target.value})},T=()=>n.fields.map((F,V)=>b.jsx("div",{className:"row mb-3",children:b.jsxs("div",{className:"col",children:[b.jsx("label",{htmlFor:`field_${F.csl_field_name}`,className:"form-label",children:F.name}),b.jsx("input",{type:"text",className:"form-control",name:`field_${F.csl_field_name}`,id:`field_${F.csl_field_name}`,value:F.field_value,onChange:H=>r({index:V,value:H.target.value})})]})},`field_${F.csl_field_name}`)),j=()=>{const F=new Date().getFullYear()+2;let V=1980;const H=[];for(;V<=F;)H.push(V++);const z=["January","February","March","April","May","June","July","August","September","October","November","December"],U=b.jsx("i",{className:"bi bi-asterisk text-danger"});return b.jsxs(b.Fragment,{children:[b.jsx("div",{className:"row mb-3",children:b.jsxs("div",{className:"col",children:[b.jsxs("label",{className:"form-label",htmlFor:"publication_title",children:["Title ",U]}),b.jsx("input",{name:"publication_title",id:"publication_title",type:"text",className:`form-control ${x?"":"is-invalid"}`,value:n.title,onChange:J=>R(J)})]})}),b.jsx("div",{className:"row mb-3",children:b.jsxs("div",{className:"col",children:[b.jsx("label",{className:"form-label",htmlFor:"publication_year",children:"Year Published"}),b.jsx("select",{name:"publication_year",id:"publication_year",className:"form-control",value:n.publication_year,onChange:J=>{l({key:"publication_year",value:J.target.value})},children:H.map(J=>b.jsx("option",{value:J,children:J},`year_${J}`))})]})}),b.jsx("div",{className:"row mb-3",children:b.jsxs("div",{className:"col",children:[b.jsx("label",{className:"form-label",htmlFor:"publication_month",children:"Month Published"}),b.jsx("select",{name:"publication_month",id:"publication_month",className:"form-control",value:n.publication_month,onChange:J=>{l({key:"publication_month",value:J.target.value})},children:z.map((J,q)=>b.jsx("option",{value:q+1,children:J},`month_${q}`))})]})})]})},N=b.jsxs("div",{className:"card",children:[b.jsx("div",{className:"card-header",children:b.jsx("h2",{children:"Publication Information"})}),b.jsxs("div",{className:"card-body",children:[b.jsx("p",{className:"mb-2",children:'Enter information about this publication below. If you have a DOI, you may use the "Lookup Publication" button to attempt to find this information automatically.'}),b.jsx(e6,{}),b.jsx("div",{className:"row mb-3",children:b.jsxs("div",{className:"col",children:[b.jsx("label",{htmlFor:"publication_type",className:"form-label",children:"Publication Type"}),b.jsx("select",{name:"publication[publication_type]",id:"publication_type",className:"form-control",value:n.publication_type,onChange:F=>u(F.target.value),children:i.map(F=>b.jsx("option",{value:F.publication_type,children:F.publication_type},`pub_type_${F.type_id}`))})]})}),j(),T()]})]}),O=b.jsxs("div",{className:"card mt-3",children:[b.jsxs("div",{className:"card-header d-flex",children:[b.jsx("h2",{children:"Authors"}),b.jsxs(Hp,{children:[`Add authors by clicking the "Add Authors" button below and entering the author's details. You may also remove authors by clicking the `,b.jsx("i",{className:"bi bi-trash fw-bold text-danger"})," ","button"]})]}),b.jsx("div",{className:"card-body",children:b.jsx(o6,{})})]}),_=b.jsxs("div",{className:"card mt-3",children:[b.jsxs("div",{className:"card-header d-flex",children:[b.jsx("h2",{children:"Tags"}),b.jsx(Hp,{children:"Add related tags from the lists below. You may choose multiple tags per category."})]}),b.jsx("div",{className:"card-body",children:d.map((F,V)=>b.jsx(c6,{index:V,category:F},`tc_${V}`))})]}),L=b.jsxs("div",{className:"card mt-3",children:[b.jsxs("div",{className:"card-header d-flex",children:[b.jsx("h2",{children:"Associated Projects"}),b.jsx(Hp,{children:"Click/Tap each project that this publication is related to."})]}),b.jsxs("div",{className:"card-body",children:[b.jsx(v6,{}),b.jsx("hr",{}),b.jsx(y6,{})]})]});return b.jsxs(b.Fragment,{children:[N,O,_,L,v?null:b.jsx("p",{className:"mt-3",children:b.jsx("button",{onClick:()=>h(),className:"btn btn-success",disabled:!y,children:"Save Publication"})})]})},C6=n=>({publication:IZ(n),publication_types:_Z(n),tag_categories:OZ(n),saving:WR(n),modal:kZ(n),save_enabled:Hk(n),form_valid:zk(n)}),x6=n=>({updateField:r=>n(MZ(r)),changePubType:r=>n(Bw(r)),updatePublication:r=>n($k(r)),savePublication:()=>n(Zk()),setFormValid:r=>n($Z(r))}),S6=fs(C6,x6)(b6),E6=({errors:n,hideError:r})=>b.jsx(b.Fragment,{children:n.map(i=>b.jsxs("div",{className:"alert alert-danger alert-dismissible sticky-top",children:[i.message,b.jsx("button",{type:"button",className:"btn-close","aria-label":"Close",onClick:()=>r(i.id)})]},`err_${i.id}`))}),w6=n=>({errors:DZ(n)}),R6=n=>({hideError:r=>n(Gk(r))}),T6=fs(w6,R6)(E6),I6=({show_saved:n,updateShowSaved:r})=>{const i=b.jsxs("div",{className:"alert alert-success alert-dismissible sticky-top",children:["Publication Saved Successfully!",b.jsx("button",{type:"button",className:"btn-close","aria-label":"Close",onClick:()=>r(!1)})]});return n?i:b.jsx(b.Fragment,{})},N6=n=>({show_saved:Bk(n)}),_6=n=>({updateShowSaved:r=>n(Wk(r))}),O6=fs(N6,_6)(I6),A6=({getData:n,data_loaded:r})=>(M.useEffect(()=>{n()},[]),b.jsxs(b.Fragment,{children:[b.jsx(O6,{}),b.jsx(T6,{}),r?b.jsx(S6,{}):b.jsx(Mm,{})]})),j6=n=>({data_loaded:Vk(n)}),D6=n=>({getData:()=>n(Yk())}),Jk=fs(j6,D6)(A6),k6=({saving:n,savePublication:r,showSaved:i,updatePublications:u,save_enabled:l})=>{const[d,h]=M.useState(!1);return M.useEffect(()=>{!n&&i&&u()},[n,i]),b.jsxs(b.Fragment,{children:[b.jsxs(Ln,{size:"xl",show:d,onHide:()=>h(!1),scrollable:!0,children:[b.jsx(Ln.Header,{closeButton:!0,children:b.jsx(Ln.Title,{children:"Add Publication"})}),b.jsx(Ln.Body,{children:b.jsx(Jk,{})}),b.jsx(Ln.Footer,{children:b.jsxs("div",{className:"d-flex",children:[b.jsx("button",{type:"button",className:"btn btn-danger me-2",onClick:()=>h(!1),children:"Cancel"}),b.jsx("button",{type:"button",className:"btn btn-primary",onClick:()=>{r(),h(!1)},children:"Save Publication"})]})})]}),b.jsx("button",{type:"button",className:"btn btn-primary",onClick:()=>h(!0),children:"Add a New Publication"})]})},M6=n=>({saving:WR(n),showSaved:Bk(n),save_enabled:Hk(n)}),L6=n=>({savePublication:()=>n(Zk())}),P6=fs(M6,L6)(k6),F6=({usernames:n=[],publication_ids:r=[]})=>{const[i,u]=M.useState(n),[l,d]=M.useState(r),[h,v]=M.useState([]),y=M.useRef(i),C=O=>{y.current=O,u(O)},x=async()=>{const _=await(await fetch(vc.routes.search_publications_path({usernames:i}))).json();v(_)};M.useEffect(()=>{x()},[i]),M.useEffect(()=>{addEventListener("requestAddRole",O=>C([...y.current,O.detail.username])),addEventListener("requestRemoveRole",O=>C(y.current.filter(_=>_!=O.detail.username)))},[]);let R=!1,T=!1;const j=h.map(O=>{const _=l.includes(O.publication_id);R=R||_,T=T||!_;const L=new Date(O.publication_year,O.publication_month-1);return b.jsxs("tr",{children:[b.jsx("td",{children:b.jsx("input",{type:"checkbox",name:"publication_ids[]",value:O.publication_id,checked:_,onChange:()=>d(_?l.filter(F=>F!=O.publication_id):[...l,O.publication_id])})}),b.jsx("td",{children:O.title}),b.jsx("td",{children:O.authors.map(F=>`${F.first_name} ${F.last_name}`).join(", ")}),b.jsx("td",{children:O.publication_type}),b.jsxs("td",{children:[L.toLocaleString("default",{month:"short"})," ",O.publication_year]})]},O.publication_id)}),N=`${T?"Select":"Deselect"} all`;return b.jsxs("div",{className:"publications-select",children:[b.jsxs("table",{className:"table",children:[b.jsx("thead",{children:b.jsxs("tr",{children:[b.jsx("th",{children:b.jsx("input",{type:"checkbox",value:"","aria-label":N,title:N,checked:R&&!T,onChange:()=>d(T?h.map(O=>O.publication_id):[]),ref:O=>{O&&(O.indeterminate=R&&T)}})}),b.jsx("th",{children:"Title"}),b.jsx("th",{children:"Authors"}),b.jsx("th",{children:"Type"}),b.jsx("th",{children:"Date"})]})}),b.jsx("tbody",{children:j})]}),b.jsx(P6,{updatePublications:x})]})},V6=()=>`${Math.random().toString(36).slice(2)}`,zw=document.querySelector("#publications-react"),B6=zw?zw.dataset:{},UO={publication_types:[],tag_categories:[],publication:{},projects:[],errors:[],selected_tags:{},data_loaded:!1,saving:!1,show_saved:!1,redirect:B6.redirect||!1,modal:zw==null,form_valid:!1,grant_number:""},z6=(n=UO,r)=>{const{type:i,payload:u}=r;switch(i){case"UPDATE_FIELD":return So(n,d=>(d.publication.fields[u.index].field_value=u.value,d));case"CHANGE_PUB_TYPE":return So(n,d=>{let h=d.publication_types.find(v=>v.publication_type==u).fields;return h.forEach(v=>{const y=d.publication.fields.find(C=>C.csl_field_name==v.csl_field_name);y&&(v.value=y.value)}),d.publication.publication_type=u,d.publication.fields=h,d});case"UPDATE_PUBLICATION":return{...n,publication:{...n.publication,[u.key]:u.value}};case"SET_PUBLICATION":return So(n,d=>(d.publication.fields.forEach(h=>{h.field_value=u[h.csl_field_name]}),Object.keys(d.publication).forEach(h=>{u[h]&&(d.publication[h]=u[h])}),d.form_valid=u.title.trim()!="",d));case"ADD_AUTHOR":{const l={portal_username:"",first_name:"",middle_name:"",last_name:"",prefix:"",suffix:"",initials:"",affiliation:"",hash:{}};return So(n,h=>{h.publication.authors.push(l)})}case"UPDATE_AUTHOR":return So(n,d=>{d.publication.authors[u.idx][u.key]=u.value});case"TOGGLE_TAG":return So(n,d=>{let h=d.tag_categories.find(v=>v.publication_tags_category_id==u.publication_tags_category_id);h.tags[u.idx].selected=!h.tags[u.idx].selected});case"TOGGLE_REQUEST":return So(n,d=>(d.projects[u].selected=!d.projects[u].selected,d));case"UPDATE_ERRORS":{const l={id:V6(),message:u};return{...n,errors:[...n.errors,l]}}case"HIDE_ERROR":{const l=n.errors.filter(d=>d.id!=u);return{...n,errors:l}}case"UPDATE_SELECTED_TAGS":return So(n,d=>{const h=u.tags.map(v=>v.value);return d.selected_tags[u.category]=h,d});case"DELETE_AUTHOR":return So(n,d=>(d.publication.authors.splice(u,1),d));case"DATA_LOADED":return So(n,d=>(d.publication=u.publication,d.form_valid=u.publication.title.trim()!="",d.publication.authors.forEach(h=>{h.affiliation||(h.affiliation="")}),d.publication_types=u.publication_types,d.tag_categories=u.tag_categories,d.projects=u.publication.projects,u.publication.tags.forEach(h=>d.selected_tags[h.label]=h.options.map(v=>v.value)),d.data_loaded=!0,d));case"UPDATE_SHOW_SAVED":return{...n,show_saved:u};case"UPDATE_SAVING":return{...n,saving:u};case"RESET_STATE":return UO;case"SET_FORM_VALID":return{...n,form_valid:u};case"SET_GRANT_NUMBER":return{...n,grant_number:u};case"ADD_PROJECT":return{...n,projects:[...n.projects,u]};default:return n}},H6={catalogs:{},filteredResources:[],filters:[],hasErrors:!1,onRamps:!1,resources:[],resourcesLoaded:!1,resourceSorting:{"NSF Capacity Resources":1,"NSF Innovative Testbeds":2,"Other NSF-funded Resources":3,"Services and Support":4}},r0=Di("resourceCatalog/getResources",async(n,{dispatch:r})=>{r($O(!1));let i=[];n.catalogSources?i=n.catalogSources:i.push({...n,catalogLabel:"Default"}),n.onRamps&&i.push({apiUrl:"https://allocations.access-ci.org/resources.json",catalogLabel:"ACCESS",allowedCategories:[],allowedFilters:[],allowedResources:[],excludedCategories:["Resource Category"],excludedFilters:[],excludedResources:["ACCESS Credits"]});const u=await Promise.all(i.map(async l=>{const h=await(await fetch(l.apiUrl)).json();return{...l,data:h}}));r(W6({data:u,params:n})),r($O(!0))});Di("resourceCatalog/getResources",async(n,{dispatch:r})=>{r(Y6(n)),r(Qk())});const U6=n=>{const r=[],i=n.filter(u=>u.features.filter(l=>l.selected).length>0);return n.forEach(u=>{u.features.forEach(l=>{l.selected&&r.push(l.featureId)})}),i.map(u=>({...u,features:u.features.filter(l=>l.selected)}))},$6=n=>{const r={},i={};let u={};return n.forEach(d=>{r[d.catalogLabel]={...d,resourceIds:[],selected:!1,catalogId:d.catalogLabel.replace(/[^(A-z)]/,"")},delete r[d.catalogLabel].data,d.data.forEach(h=>{if(Hw(d.allowedResources,d.excludedResources,h.resourceName)){const{categories:v,formattedResource:y}=G6(d,h,u);i[h.resourceId]=y,r[d.catalogLabel].resourceIds.push(h.resourceId),u=v}})}),{resources:Object.keys(i).map(d=>i[d]),catalogs:r,categories:u}},Hw=(n,r,i)=>!n&&!r||n&&n.length==0&&r&&r.length==0?!0:n&&n.length>0?n.find(u=>u==i):r&&r.length>0?!r.find(u=>u==i):!0,G6=(n,r,i)=>{const u=[];let l="";r.featureCategories.filter(v=>v.categoryIsFilter).forEach(v=>{const y=v.categoryId;v.categoryName=="ACCESS Resource Grouping"?l=v.features[0].name:(!i[y]&&Hw(n.allowedCategories,n.excludedCategories,v.categoryName)&&(i[y]={categoryId:y,categoryName:v.categoryName,categoryDescription:v.categoryDescription,features:{}}),v.features.forEach(C=>{const x={featureId:C.featureId,name:C.name,description:C.description,categoryId:y,selected:!1},R=Hw(n.allowedFilters,n.excludedFilters,x.name);R&&u.push(x),i[y]&&R&&!i[y].features[C.featureId]&&(i[y].features[C.featureId]=x)}))});const d=u.map(v=>v.name).sort((v,y)=>v>y);return{formattedResource:{...r,resourceName:r.resourceName.trim(),features:d,featureIds:u.map(v=>v.featureId),sortCategory:l},categories:i}},qk=D0({name:"resourceCatalog",initialState:H6,reducers:{handleResponse:(n,{payload:r})=>{const i=r.data,{resources:u,catalogs:l,categories:d}=$6(i);n.catalogs=l,n.onRamps=r.params.onRamps;for(const h in d){const v=d[h],y=[];for(const C in v.features)y.push(v.features[C]);n.filters.push({...v,features:y.sort((C,x)=>C.name>x.name)})}n.filters=n.filters.sort((h,v)=>h.categoryName.localeCompare(v.categoryName)),n.resources=u.sort((h,v)=>h.resourceName.localeCompare(v.resourceName)).sort((h,v)=>n.resourceSorting[h.sortCategory]>n.resourceSorting[v.sortCategory]),n.filteredResources=[...n.resources],n.resourcesLoaded=!0},resetFilters:n=>{n.filters.forEach(r=>{r.features.forEach(i=>i.selected=!1)}),n.filteredResources=[...n.resources]},setResourcesLoaded:(n,{payload:r})=>{n.resourcesLoaded=r},toggleCatalog:(n,{payload:r})=>{const{catalog:i,selected:u}=r;n.catalogs[i.catalogLabel].selected=u},toggleFilter:(n,{payload:r})=>{if(r){const h=r,y=n.filters.find(C=>C.categoryId==h.categoryId).features.find(C=>C.featureId==h.featureId);y.selected=!y.selected}const i=U6(n.filters);let u=[];if(i.length>0){const h=i.map(v=>v.features.map(y=>y.featureId));n.resources.forEach(v=>{let y=0;h.forEach(C=>{let x=!1;v.featureIds.forEach(R=>{C.indexOf(R)>=0&&(x=!0)}),x&&(y+=1)}),y>=h.length&&u.push(v)})}else u=n.resources;const l=Object.keys(n.catalogs).map(h=>n.catalogs[h]),d=l.filter(h=>h.selected);if(d.length>0&&d.length<l.length){const h=d.map(v=>v.resourceIds).flat();u=u.filter(v=>h.indexOf(v.resourceId)>=0)}n.filteredResources=u}},extraReducers:n=>{n.addCase(r0.pending,r=>{}).addCase(r0.fulfilled,(r,i)=>{}).addCase(r0.rejected,(r,i)=>{r.hasErrors=!0,console.log(i.error)})}}),{handleResponse:W6,processData:W8,resetFilters:X6,setResourcesLoaded:$O,toggleCatalog:Y6,toggleFilter:Qk}=qk.actions,Kk=n=>n.resourceCatalog.catalogs,Z6=n=>n.resourceCatalog.filters,J6=n=>n.resourceCatalog.hasErrors,q6=n=>n.resourceCatalog.resourcesLoaded,Q6=n=>n.resourceCatalog.filteredResources,K6=qk.reducer,e8="_access_ae3ny_2",t8="_resourceName_ae3ny_6",n8="_description_ae3ny_11",r8="_filterBar_ae3ny_15",a8="_cardBg_ae3ny_21",i8="_active_ae3ny_26",o8="_plainButton_ae3ny_31",s8="_btnSecondary_ae3ny_41",Pp={access:e8,resourceName:t8,description:n8,filterBar:r8,cardBg:a8,active:i8,plainButton:o8,btnSecondary:s8},l8=({resource:n})=>{const[r,i]=M.useState(!0),u=C=>{const x={"CPU Compute":"cpu-fill","GPU Compute":"gpu-card",Cloud:"cloud-fill","Commercial Cloud":"cloud-fill",Storage:"database-fill","Service / Other":"journal","Innovative / Novel Compute":"pc"};return x[C]?b.jsx("i",{title:C,className:`bi bi-${x[C]} me-2 `},`${n.resourceId}_${x[C]}`):""},l=()=>b.jsxs("span",{className:"float-end",children:[n.features.map(C=>u(C)),n.resourceType]}),d=C=>C.length==0?"":b.jsx(b.Fragment,{children:C.map((x,R)=>b.jsx("span",{className:"badge text-bg-secondary me-2",children:x},`feature_${n.resourceId}_${R}`))}),h=()=>{let C=n.resourceDescription;return C&&C!=""?(Pp.plainButton,b.jsxs(b.Fragment,{children:[b.jsx("div",{className:"row",children:b.jsxs("div",{className:"col fw-bold",children:["About ",n.resourceName]})}),b.jsx("div",{className:"row mb-3",children:b.jsxs("div",{className:"col ",children:[b.jsx("div",{className:Pp.description,dangerouslySetInnerHTML:{__html:C}}),""]})})]})):""},v=()=>n.recommendedUse&&n.recommendedUse!=""?b.jsxs(b.Fragment,{children:[b.jsx("div",{className:"row",children:b.jsx("div",{className:"col fw-bold",children:"Recommended Use"})}),b.jsx("div",{className:"row mb-3",children:b.jsx("div",{className:"col",children:b.jsx("div",{className:Pp.description,dangerouslySetInnerHTML:{__html:n.recommendedUse}})})})]}):"",y=()=>Pp.cardBg;return b.jsx(b.Fragment,{children:b.jsx("div",{className:"row",children:b.jsx("div",{className:"col",children:b.jsxs("div",{className:"card mb-3",children:[b.jsxs("div",{className:`card-header ${y()}`,children:[b.jsx("span",{className:"",children:n.resourceName}),l()]}),b.jsxs("div",{className:"card-body",children:[b.jsx("div",{className:"row mb-3",children:b.jsx("div",{className:"col",children:d(n.features)})}),v(),h()]}),b.jsx("div",{className:"card-footer",children:b.jsxs("a",{target:"_blank",href:n.userGuideUrl,className:"btn btn-info me-2 fw-bold",children:["System Info ",b.jsx("i",{className:"bi bi-box-arrow-up-right"})]})})]})})})})},u8=({filter:n})=>{const r=To(),i=()=>{r(Qk(n))};return b.jsx("div",{className:"row",children:b.jsx("div",{className:"col",children:b.jsxs("div",{className:"form-check",children:[b.jsx("label",{className:"form-check-label",htmlFor:`filter_${n.featureId}`,children:n.name}),b.jsx("input",{className:"form-check-input",type:"checkbox",value:n.featureId,id:`filter_${n.featureId}`,checked:n.selected,onChange:i})]})})})},c8=({category:n})=>b.jsx("div",{className:"row",children:b.jsxs("div",{className:"col",children:[b.jsx("div",{className:"fw-bold mb-1 mt-1",children:b.jsx("abbr",{title:n.categoryDescription,children:n.categoryName})}),n.features.map(r=>b.jsx(u8,{filter:r},r.featureId))]})}),f8=()=>{const n=To(),r=dr(Kk),i=dr(Z6),u=i.filter(l=>l.features.filter(d=>d.selected).length>0);return Object.keys(r).map(l=>r[l]),b.jsxs("div",{children:[i.map(l=>b.jsx(c8,{category:l},l.categoryId)),b.jsx("button",{className:"btn btn-warning mt-2 mb-2",onClick:()=>n(X6()),disabled:u.length==0,children:"Reset Filters"})]})},d8=()=>{const[n,r]=M.useState(!1),i=()=>r(!1),u=()=>r(!0);return b.jsxs(b.Fragment,{children:[b.jsxs("div",{className:`offcanvas offcanvas-start ${n?"show":""}`,tabIndex:"-1",id:"offcanvas","aria-labelledby":"offcanvasLabel",children:[b.jsxs("div",{className:"offcanvas-header",children:[b.jsx("h5",{className:"offcanvas-title",id:"offcanvasLabel",children:"Filters"}),b.jsx("button",{type:"button",className:"btn-close",onClick:i,"aria-label":"Close"})]}),b.jsx("div",{className:"offcanvas-body",children:b.jsx(f8,{})})]}),b.jsx("div",{className:"row mb-2",children:b.jsx("div",{className:"col pt-2 pb-2",children:b.jsx("div",{className:"p-1 pb-0 border-bottom bg-white shadow",children:b.jsxs("button",{className:"btn btn-outline-primary mb-1 mt-1",type:"button",onClick:u,children:[b.jsx("i",{className:"bi bi-filter"})," Filters"]})})})})]})},p8=()=>{const n=dr(Q6);return n.length==0?b.jsx("div",{className:"fw-bold",children:"No Resources Match Your Filters"}):b.jsx("div",{className:"card shadow",children:b.jsxs("div",{className:"card-body",children:[b.jsx(d8,{}),n.map(r=>b.jsx(l8,{resource:r},r.resourceId))]})})},v8=({baseUrl:n})=>b.jsxs(b.Fragment,{children:[b.jsx("div",{className:"row",children:b.jsx("div",{className:"col d-flex",children:b.jsx("img",{alt:"Access Logo",style:{height:"75px"},src:`${n}/access_logo.png`})})}),b.jsx("div",{className:"row",children:b.jsx("div",{className:"col",children:b.jsx("h3",{className:"border-bottom",children:"NSF ACCESS Resources"})})}),b.jsx("div",{className:"row",children:b.jsxs("div",{className:"col",children:[b.jsx("h4",{children:"Discover the nationwide NSF cyberinfrastructure"}),b.jsx("p",{children:"Need advanced computing and storage options for your research or classroom? The ACCESS program has been established and funded by the U.S. National Science Foundation to help you - the nation's researchers and educators - to use some of the country's most advanced computing systems and services - at no cost to you."}),b.jsx("p",{children:"Thousands of researchers, instructors, and students from institutions large and small use ACCESS-integrated resources every year. With more than 30 resources from more than 15 resource providers, there's bound to be a resource for you, your lab, or your class."}),b.jsx("p",{children:"Explore the resource catalog below - filter the list to discover the resources that have the features or services to accelerate your activities. The System Info button will take you to the resource's documentation for all the details."}),b.jsx("p",{children:'Ready to begin? Click the "Get Your First Project" button and join the ACCESS community!'}),b.jsx("p",{children:b.jsxs("a",{href:"https://allocations.access-ci.org/get-your-first-project",target:"_blank",className:`btn btn-secondary fw-bold ${Pp.btnSecondary}`,children:["Get Your First Project ",b.jsx("i",{className:"bi bi-box-arrow-up-right"})]})}),b.jsxs("p",{children:["If you have feedback for ACCESS, please complete our",b.jsx("a",{target:"_blank",href:"https://docs.google.com/forms/d/e/1FAIpQLSdn-SXokNB_5s0r2SA_S9ZIZWZFlVPRD2OHepTH5HY2YND_zw/viewform",children:" Feedback Form"}),".",b.jsx("br",{}),"If you have questions, please",b.jsx("a",{target:"_blank",href:"https://support.access-ci.org/user/login?destination=/open-a-ticket",children:" open a help ticket"}),"."]})]})})]}),h8=({catalogSources:n=[],onRamps:r=!1,baseUrl:i})=>{const u=To(),l=dr(q6),d=dr(J6),h=dr(Kk),v=Object.keys(h).map(C=>h[C]);M.useEffect(()=>{u(r0({catalogSources:n,onRamps:r}))},[]);const y=()=>r&&v.length>1?b.jsx(b.Fragment,{children:v.filter(C=>C.catalogLabel!="ACCESS").map((C,x)=>b.jsx("div",{className:"row mb-3",children:b.jsxs("div",{className:"col",children:[b.jsxs("h4",{className:"border-bottom",children:["About ",C.catalogLabel]}),b.jsx("div",{dangerouslySetInnerHTML:{__html:C.description}})]})},`catalog_${x}`))}):"";return d?b.jsx("div",{className:"row",children:b.jsx("div",{className:"col text-center mt-2",children:b.jsx("h4",{children:"Unable to Load Resources"})})}):l?b.jsxs("div",{className:`container mt-3 ${Pp.access}`,children:[r?b.jsx(v8,{baseUrl:i}):"",y(),b.jsx("div",{className:"row",children:b.jsx("div",{className:"col",children:b.jsx(p8,{})})})]}):b.jsx(Mm,{})},m8={filters:[],resources:[],filteredResources:[],resourcesLoaded:!1,hasErrors:!1,resourceSorting:{"NSF Capacity Resources":1,"NSF Innovative Testbeds":2,"Other NSF-funded Resources":3,"Services and Support":4}},a0=Di("resourceCatalog/getResources",async(n,{dispatch:r})=>{const u=await(await fetch(n.apiUrl)).json();r(y8({data:u,params:n}))}),g8=n=>{const r=[],i=n.filter(u=>u.features.filter(l=>l.selected).length>0);return n.forEach(u=>{u.features.forEach(l=>{l.selected&&r.push(l.featureId)})}),i.map(u=>({...u,features:u.features.filter(l=>l.selected)}))},GO=(n,r,i)=>{if(n.length==0&&r.length==0)return!0;if(n.length>0)return n.find(u=>u==i);if(r.length>0)return!r.find(u=>u==i)},eM=D0({name:"resourceCatalog",initialState:m8,reducers:{handleResponse:(n,{payload:r})=>{const i=r.data,u=r.params.excludedCategories,l=r.params.excludedFilters,d=r.params.excludedResources,h=r.params.allowedCategories,v=r.params.allowedFilters,y=[],C={};i.filter(x=>!d.includes(x.resourceName)).forEach(x=>{const R=[];let T="";x.featureCategories.filter(N=>N.categoryIsFilter).forEach(N=>{const O=N.categoryId;N.categoryName=="ACCESS Resource Grouping"?T=N.features[0].name:(!C[O]&&GO(h,u,N.categoryName)&&(C[O]={categoryId:O,categoryName:N.categoryName,categoryDescription:N.categoryDescription,features:{}}),N.features.forEach(_=>{const L={featureId:_.featureId,name:_.name,description:_.description,categoryId:O,selected:!1},F=GO(v,l,L.name);F&&R.push(L),C[O]&&F&&!C[O].features[_.featureId]&&(C[O].features[_.featureId]=L)}))});const j={resourceName:x.resourceName,resourceId:x.resourceId,resourceType:x.resourceType,organization:x.organization,units:x.units,userGuideUrl:x.userGuideUrl,resourceDescription:x.resourceDescription,description:x.description,recommendedUse:x.recommendedUse,features:R.map(N=>N.name).sort((N,O)=>N>O),featureIds:R.map(N=>N.featureId),sortCategory:T};y.push(j)});for(const x in C){const R=C[x],T=[];for(const j in R.features)T.push(R.features[j]);n.filters.push({...R,features:T.sort((j,N)=>j.name>N.name)})}n.filters=n.filters.sort((x,R)=>x.categoryName.localeCompare(R.categoryName)),n.resources=y.sort((x,R)=>x.resourceName.localeCompare(R.resourceName)).sort((x,R)=>n.resourceSorting[x.sortCategory]>n.resourceSorting[R.sortCategory]),n.filteredResources=[...n.resources],n.resourcesLoaded=!0},resetFilters:n=>{n.filters.forEach(r=>{r.features.forEach(i=>i.selected=!1)}),n.filteredResources=[...n.resources]},toggleFilter:(n,{payload:r})=>{const i=r,l=n.filters.find(h=>h.categoryId==i.categoryId).features.find(h=>h.featureId==i.featureId);l.selected=!l.selected;const d=g8(n.filters);if(d.length>0){const h=[],v=d.map(y=>y.features.map(C=>C.featureId));n.resources.forEach(y=>{let C=0;v.forEach(x=>{let R=!1;y.featureIds.forEach(T=>{x.indexOf(T)>=0&&(R=!0)}),R&&(C+=1)}),C>=v.length&&h.push(y)}),n.filteredResources=h}else n.filteredResources=[...n.resources]}},extraReducers:n=>{n.addCase(a0.pending,r=>{}).addCase(a0.fulfilled,(r,i)=>{}).addCase(a0.rejected,(r,i)=>{r.hasErrors=!0,console.log(i.error)})}}),{handleResponse:y8,processData:X8,resetFilters:b8,toggleFilter:C8}=eM.actions,x8=n=>n.resourceCatalog.hasErrors,S8=n=>n.resourceCatalog.resourcesLoaded,E8=n=>n.resourceCatalog.filters,w8=n=>n.resourceCatalog.filteredResources,R8=eM.reducer,T8=({resource:n})=>{const r=u=>u.length==0?"":b.jsx("ul",{children:u.map((l,d)=>b.jsx("li",{children:l},`feature_${n.resourceId}_${d}`))}),i=(u,l)=>l&&l!=""?b.jsxs(b.Fragment,{children:[b.jsx("div",{className:"row",children:b.jsx("div",{className:"col fw-bold",children:u})}),b.jsx("div",{className:"row mb-3",children:b.jsx("div",{className:"col",dangerouslySetInnerHTML:{__html:l}})})]}):"";return b.jsxs(os.Item,{eventKey:n.resourceId,children:[b.jsx(os.Header,{children:n.resourceName}),b.jsxs(os.Body,{children:[b.jsx("table",{className:"table",children:b.jsxs("tbody",{children:[b.jsxs("tr",{children:[b.jsx("td",{className:"fw-bold",children:"Resource Type:"}),b.jsx("td",{children:n.resourceType})]}),b.jsxs("tr",{children:[b.jsx("td",{className:"fw-bold",children:"Organization:"}),b.jsx("td",{children:n.organization})]}),b.jsxs("tr",{children:[b.jsx("td",{className:"fw-bold",children:"Units:"}),b.jsx("td",{children:n.units})]}),b.jsxs("tr",{children:[b.jsx("td",{className:"fw-bold",children:"User Guide:"}),b.jsx("td",{children:n.userGuideUrl==""?"":b.jsx("a",{href:n.userGuideUrl,target:"_blank",rel:"noreferrer",children:"Link to User Guide"})})]}),b.jsxs("tr",{children:[b.jsx("td",{className:"fw-bold",children:"Features Available:"}),b.jsx("td",{children:r(n.features)})]})]})}),i("Resource Description",n.resourceDescription),i("Allocations Description",n.description),i("Recommended Use",n.recommendedUse)]})]})},I8=()=>{const n=dr(w8);return n.length==0?b.jsx("div",{className:"fw-bold",children:"No Resources Match Your Filters"}):b.jsxs("div",{children:[b.jsx("h4",{className:"mb-0",children:"Resources"}),b.jsx(os,{children:n.map(r=>b.jsx(T8,{resource:r},r.resourceId))})]})},N8=({filter:n})=>{const r=To(),i=()=>{r(C8(n))};return b.jsx("div",{className:"row",children:b.jsx("div",{className:"col",children:b.jsxs("div",{className:"form-check",children:[b.jsx("label",{className:"form-check-label",htmlFor:`filter_${n.featureId}`,children:n.name}),b.jsx("input",{className:"form-check-input",type:"checkbox",value:n.featureId,id:`filter_${n.featureId}`,checked:n.selected,onChange:i})]})})})},_8=({category:n})=>b.jsx("div",{className:"row",children:b.jsxs("div",{className:"col",children:[b.jsx("div",{className:"fw-bold mb-1 mt-1",children:b.jsx("abbr",{title:n.categoryDescription,children:n.categoryName})}),n.features.map(r=>b.jsx(N8,{filter:r},r.featureId))]})}),O8=()=>{const n=To(),r=dr(E8),i=r.filter(u=>u.features.filter(l=>l.selected).length>0);return b.jsxs("div",{children:[b.jsx("h4",{className:"mb-0",children:"Filters"}),r.map(u=>b.jsx(_8,{category:u},u.categoryId)),b.jsx("button",{className:"btn btn-warning mt-2 mb-2",onClick:()=>n(b8()),disabled:i.length==0,children:"Reset Filters"})]})},A8=({apiUrl:n,excludedCategories:r=[],excludedFilters:i=[],excludedResources:u=[],allowedCategories:l=[],allowedFilters:d=[]})=>{const h=To(),v=dr(S8),y=dr(x8);return M.useEffect(()=>{h(a0({apiUrl:n,excludedCategories:r,excludedFilters:i,excludedResources:u,allowedCategories:l,allowedFilters:d}))},[]),y?b.jsx("div",{className:"row",children:b.jsx("div",{className:"col text-center mt-2",children:b.jsx("h4",{children:"Unable to Load Resources"})})}):v?b.jsx(b.Fragment,{children:b.jsxs("div",{className:"row mt-3",children:[b.jsx("div",{className:"col-sm-4",children:b.jsx(O8,{})}),b.jsx("div",{className:"col-sm-8",children:b.jsx(I8,{})})]})}):b.jsx(Mm,{})};function j8(n,{bootstrapFonts:r=!0,bootstrapVariables:i=!0,access:u=!1,baseUrl:l=null}={}){const d=n.attachShadow({mode:"open"}),h=document.createElement("div"),v=document.createElement("div"),y=document.createElement("div"),C=document.createElement("div"),x=document.createElement("link"),R=document.createElement("link"),T=document.createElement("link");return l=l??(typeof document>"u"?require("url").pathToFileURL(__filename).href:IN&&IN.src||new URL("xras-ui.cjs",document.baseURI).href).replace(/\/[^/]+$/,""),x.rel="stylesheet",x.href=`${l}/bootstrap.css`,R.rel="stylesheet",R.href=`${l}/xras-ui.css`,T.rel="stylesheet",T.href=`${l}/access.css`,y.appendChild(C),v.appendChild(y),h.appendChild(v),d.appendChild(x),d.appendChild(R),d.appendChild(T),d.appendChild(h),h.classList.add("bootstrap"),i&&v.classList.add("bootstrap-variables"),r&&(y.classList.add("bootstrap-fonts"),y.setAttribute("data-bs-theme","light")),C}function D8({target:n}){ls.createRoot(n).render(b.jsx(zU,{}))}function k8({target:n,username:r,routes:i}){i&&(Nn.routes=i);const u=Om({reducer:{api:g$}});ls.createRoot(n).render(b.jsx(Qp,{store:u,children:b.jsx(uZ,{username:r})}))}function M8({target:n,apiUrl:r}){const i=Om({reducer:{projectsBrowser:SZ},preloadedState:{projectsBrowser:{...Lk,apiUrl:r}}});ls.createRoot(n).render(b.jsx(Qp,{store:i,children:b.jsx(TZ,{})}))}function tM(){return Om({reducer:{publications_store:z6}})}function L8({target:n,routes:r}){r&&(vc.routes=r),ls.createRoot(n).render(b.jsx(Qp,{store:tM(),children:b.jsx(Jk,{})}))}function P8({target:n,routes:r}){r&&(vc.routes=r),ls.createRoot(n).render(b.jsx(Qp,{store:tM(),children:b.jsx(F6,{...JSON.parse(n.dataset.publicationsSelectProps)})}))}function F8({target:n,catalogSources:r,onRamps:i,baseUrl:u}){const l=Om({reducer:{resourceCatalog:K6}});ls.createRoot(n).render(b.jsx(Qp,{store:l,children:b.jsx(h8,{catalogSources:r,onRamps:i,baseUrl:u})}))}function V8({target:n,apiUrl:r,excludedCategories:i,excludedFilters:u,excludedResources:l,allowedCategories:d,allowedFilters:h}){const v=Om({reducer:{resourceCatalog:R8}});ls.createRoot(n).render(b.jsx(Qp,{store:v,children:b.jsx(A8,{apiUrl:r,excludedCategories:i,excludedFilters:u,excludedResources:l,allowedCategories:d,allowedFilters:h})}))}exports.allocationsMap=D8;exports.onRampsResourceCatalog=F8;exports.projects=k8;exports.projectsBrowser=M8;exports.publications=L8;exports.publicationsSelect=P8;exports.resourceCatalog=V8;exports.shadowTarget=j8;
309
+ `]))),vX=function(r,i){var u=r.isFocused,l=r.size,d=r.theme,h=d.colors,v=d.spacing.baseUnit;return yt({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:l,lineHeight:1,marginRight:l,textAlign:"center",verticalAlign:"middle"},i?{}:{color:u?h.neutral60:h.neutral20,padding:v*2})},WE=function(r){var i=r.delay,u=r.offset;return Et("span",{css:PR({animation:"".concat(pX," 1s ease-in-out ").concat(i,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:u?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},Lw.NODE_ENV==="production"?"":";label:LoadingDot;",Lw.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuaW1wb3J0IHsgZ2V0U3R5bGVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEljb25zXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgU3ZnID0gKHtcbiAgc2l6ZSxcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU6IG51bWJlciB9KSA9PiAoXG4gIDxzdmdcbiAgICBoZWlnaHQ9e3NpemV9XG4gICAgd2lkdGg9e3NpemV9XG4gICAgdmlld0JveD1cIjAgMCAyMCAyMFwiXG4gICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgY3NzPXt7XG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIGZpbGw6ICdjdXJyZW50Q29sb3InLFxuICAgICAgbGluZUhlaWdodDogMSxcbiAgICAgIHN0cm9rZTogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBzdHJva2VXaWR0aDogMCxcbiAgICB9fVxuICAgIHsuLi5wcm9wc31cbiAgLz5cbik7XG5cbmV4cG9ydCB0eXBlIENyb3NzSWNvblByb3BzID0gSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZT86IG51bWJlciB9O1xuZXhwb3J0IGNvbnN0IENyb3NzSWNvbiA9IChwcm9wczogQ3Jvc3NJY29uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTE0LjM0OCAxNC44NDljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDBsLTIuNjUxLTMuMDMwLTIuNjUxIDMuMDI5Yy0wLjQ2OSAwLjQ2OS0xLjIyOSAwLjQ2OS0xLjY5NyAwLTAuNDY5LTAuNDY5LTAuNDY5LTEuMjI5IDAtMS42OTdsMi43NTgtMy4xNS0yLjc1OS0zLjE1MmMtMC40NjktMC40NjktMC40NjktMS4yMjggMC0xLjY5N3MxLjIyOC0wLjQ2OSAxLjY5NyAwbDIuNjUyIDMuMDMxIDIuNjUxLTMuMDMxYzAuNDY5LTAuNDY5IDEuMjI4LTAuNDY5IDEuNjk3IDBzMC40NjkgMS4yMjkgMCAxLjY5N2wtMi43NTggMy4xNTIgMi43NTggMy4xNWMwLjQ2OSAwLjQ2OSAwLjQ2OSAxLjIyOSAwIDEuNjk4elwiIC8+XG4gIDwvU3ZnPlxuKTtcbmV4cG9ydCB0eXBlIERvd25DaGV2cm9uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgRG93bkNoZXZyb24gPSAocHJvcHM6IERvd25DaGV2cm9uUHJvcHMpID0+IChcbiAgPFN2ZyBzaXplPXsyMH0gey4uLnByb3BzfT5cbiAgICA8cGF0aCBkPVwiTTQuNTE2IDcuNTQ4YzAuNDM2LTAuNDQ2IDEuMDQzLTAuNDgxIDEuNTc2IDBsMy45MDggMy43NDcgMy45MDgtMy43NDdjMC41MzMtMC40ODEgMS4xNDEtMC40NDYgMS41NzQgMCAwLjQzNiAwLjQ0NSAwLjQwOCAxLjE5NyAwIDEuNjE1LTAuNDA2IDAuNDE4LTQuNjk1IDQuNTAyLTQuNjk1IDQuNTAyLTAuMjE3IDAuMjIzLTAuNTAyIDAuMzM1LTAuNzg3IDAuMzM1cy0wLjU3LTAuMTEyLTAuNzg5LTAuMzM1YzAgMC00LjI4Ny00LjA4NC00LjY5NS00LjUwMnMtMC40MzYtMS4xNyAwLTEuNjE1elwiIC8+XG4gIDwvU3ZnPlxuKTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBEcm9wZG93biAmIENsZWFyIEJ1dHRvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xufVxuXG5jb25zdCBiYXNlQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTpcbiAgICB8IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbiAgICB8IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JDb250YWluZXInLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICAgICc6aG92ZXInOiB7XG4gICAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsODAgOiBjb2xvcnMubmV1dHJhbDQwLFxuICAgICAgICB9LFxuICAgICAgfSksXG59KTtcblxuZXhwb3J0IGNvbnN0IGRyb3Bkb3duSW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBEcm9wZG93bkluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IERyb3Bkb3duSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2Ryb3Bkb3duSW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdkcm9wZG93bi1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPERvd25DaGV2cm9uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGludGVyZmFjZSBDbGVhckluZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFRoZSBjaGlsZHJlbiB0byBiZSByZW5kZXJlZCBpbnNpZGUgdGhlIGluZGljYXRvci4gKi9cbiAgY2hpbGRyZW4/OiBSZWFjdE5vZGU7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IGNsZWFySW5kaWNhdG9yQ1NTID0gYmFzZUNTUztcbmV4cG9ydCBjb25zdCBDbGVhckluZGljYXRvciA9IDxcbiAgT3B0aW9uLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPlxuPihcbiAgcHJvcHM6IENsZWFySW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGNoaWxkcmVuLCBpbm5lclByb3BzIH0gPSBwcm9wcztcbiAgcmV0dXJuIChcbiAgICA8ZGl2XG4gICAgICB7Li4uZ2V0U3R5bGVQcm9wcyhwcm9wcywgJ2NsZWFySW5kaWNhdG9yJywge1xuICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICdjbGVhci1pbmRpY2F0b3InOiB0cnVlLFxuICAgICAgfSl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICB7Y2hpbGRyZW4gfHwgPENyb3NzSWNvbiAvPn1cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gU2VwYXJhdG9yXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuZXhwb3J0IGludGVyZmFjZSBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaW5uZXJQcm9wcz86IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3BhbiddO1xufVxuXG5leHBvcnQgY29uc3QgaW5kaWNhdG9yU2VwYXJhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNEaXNhYmxlZCxcbiAgICB0aGVtZToge1xuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgICAgY29sb3JzLFxuICAgIH0sXG4gIH06IEluZGljYXRvclNlcGFyYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+LFxuICB1bnN0eWxlZDogYm9vbGVhblxuKTogQ1NTT2JqZWN0V2l0aExhYmVsID0+ICh7XG4gIGxhYmVsOiAnaW5kaWNhdG9yU2VwYXJhdG9yJyxcbiAgYWxpZ25TZWxmOiAnc3RyZXRjaCcsXG4gIHdpZHRoOiAxLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogaXNEaXNhYmxlZCA/IGNvbG9ycy5uZXV0cmFsMTAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBtYXJnaW5Cb3R0b206IGJhc2VVbml0ICogMixcbiAgICAgICAgbWFyZ2luVG9wOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgSW5kaWNhdG9yU2VwYXJhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD5cbikgPT4ge1xuICBjb25zdCB7IGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxzcGFuXG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnaW5kaWNhdG9yU2VwYXJhdG9yJywge1xuICAgICAgICAnaW5kaWNhdG9yLXNlcGFyYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAvPlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBMb2FkaW5nXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cblxuY29uc3QgbG9hZGluZ0RvdEFuaW1hdGlvbnMgPSBrZXlmcmFtZXNgXG4gIDAlLCA4MCUsIDEwMCUgeyBvcGFjaXR5OiAwOyB9XG4gIDQwJSB7IG9wYWNpdHk6IDE7IH1cbmA7XG5cbmV4cG9ydCBjb25zdCBsb2FkaW5nSW5kaWNhdG9yQ1NTID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICB7XG4gICAgaXNGb2N1c2VkLFxuICAgIHNpemUsXG4gICAgdGhlbWU6IHtcbiAgICAgIGNvbG9ycyxcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICB9LFxuICB9OiBMb2FkaW5nSW5kaWNhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdsb2FkaW5nSW5kaWNhdG9yJyxcbiAgZGlzcGxheTogJ2ZsZXgnLFxuICB0cmFuc2l0aW9uOiAnY29sb3IgMTUwbXMnLFxuICBhbGlnblNlbGY6ICdjZW50ZXInLFxuICBmb250U2l6ZTogc2l6ZSxcbiAgbGluZUhlaWdodDogMSxcbiAgbWFyZ2luUmlnaHQ6IHNpemUsXG4gIHRleHRBbGlnbjogJ2NlbnRlcicsXG4gIHZlcnRpY2FsQWxpZ246ICdtaWRkbGUnLFxuICAuLi4odW5zdHlsZWRcbiAgICA/IHt9XG4gICAgOiB7XG4gICAgICAgIGNvbG9yOiBpc0ZvY3VzZWQgPyBjb2xvcnMubmV1dHJhbDYwIDogY29sb3JzLm5ldXRyYWwyMCxcbiAgICAgICAgcGFkZGluZzogYmFzZVVuaXQgKiAyLFxuICAgICAgfSksXG59KTtcblxuaW50ZXJmYWNlIExvYWRpbmdEb3RQcm9wcyB7XG4gIGRlbGF5OiBudW1iZXI7XG4gIG9mZnNldDogYm9vbGVhbjtcbn1cbmNvbnN0IExvYWRpbmdEb3QgPSAoeyBkZWxheSwgb2Zmc2V0IH06IExvYWRpbmdEb3RQcm9wcykgPT4gKFxuICA8c3BhblxuICAgIGNzcz17e1xuICAgICAgYW5pbWF0aW9uOiBgJHtsb2FkaW5nRG90QW5pbWF0aW9uc30gMXMgZWFzZS1pbi1vdXQgJHtkZWxheX1tcyBpbmZpbml0ZTtgLFxuICAgICAgYmFja2dyb3VuZENvbG9yOiAnY3VycmVudENvbG9yJyxcbiAgICAgIGJvcmRlclJhZGl1czogJzFlbScsXG4gICAgICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgICAgIG1hcmdpbkxlZnQ6IG9mZnNldCA/ICcxZW0nIDogdW5kZWZpbmVkLFxuICAgICAgaGVpZ2h0OiAnMWVtJyxcbiAgICAgIHZlcnRpY2FsQWxpZ246ICd0b3AnLFxuICAgICAgd2lkdGg6ICcxZW0nLFxuICAgIH19XG4gIC8+XG4pO1xuXG5leHBvcnQgaW50ZXJmYWNlIExvYWRpbmdJbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBQcm9wcyB0aGF0IHdpbGwgYmUgcGFzc2VkIG9uIHRvIHRoZSBjaGlsZHJlbi4gKi9cbiAgaW5uZXJQcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydkaXYnXTtcbiAgLyoqIFRoZSBmb2N1c2VkIHN0YXRlIG9mIHRoZSBzZWxlY3QuICovXG4gIGlzRm9jdXNlZDogYm9vbGVhbjtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgLyoqIFNldCBzaXplIG9mIHRoZSBjb250YWluZXIuICovXG4gIHNpemU6IG51bWJlcjtcbn1cbmV4cG9ydCBjb25zdCBMb2FkaW5nSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KHtcbiAgaW5uZXJQcm9wcyxcbiAgaXNSdGwsXG4gIHNpemUgPSA0LFxuICAuLi5yZXN0UHJvcHNcbn06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPikgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKFxuICAgICAgICB7IC4uLnJlc3RQcm9wcywgaW5uZXJQcm9wcywgaXNSdGwsIHNpemUgfSxcbiAgICAgICAgJ2xvYWRpbmdJbmRpY2F0b3InLFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH1cbiAgICAgICl9XG4gICAgICB7Li4uaW5uZXJQcm9wc31cbiAgICA+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MH0gb2Zmc2V0PXtpc1J0bH0gLz5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXsxNjB9IG9mZnNldCAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezMyMH0gb2Zmc2V0PXshaXNSdGx9IC8+XG4gICAgPC9kaXY+XG4gICk7XG59O1xuIl19 */")})},hX=function(r){var i=r.innerProps,u=r.isRtl,l=r.size,d=l===void 0?4:l,h=rl(r,aX);return Et("div",Rt({},yr(yt(yt({},h),{},{innerProps:i,isRtl:u,size:d}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),i),Et(WE,{delay:0,offset:u}),Et(WE,{delay:160,offset:!0}),Et(WE,{delay:320,offset:!u}))},mX=function(r,i){var u=r.isDisabled,l=r.isFocused,d=r.theme,h=d.colors,v=d.borderRadius,y=d.spacing;return yt({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:y.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},i?{}:{backgroundColor:u?h.neutral5:h.neutral0,borderColor:u?h.neutral10:l?h.primary:h.neutral20,borderRadius:v,borderStyle:"solid",borderWidth:1,boxShadow:l?"0 0 0 1px ".concat(h.primary):void 0,"&:hover":{borderColor:l?h.primary:h.neutral30}})},gX=function(r){var i=r.children,u=r.isDisabled,l=r.isFocused,d=r.innerRef,h=r.innerProps,v=r.menuIsOpen;return Et("div",Rt({ref:d},yr(r,"control",{control:!0,"control--is-disabled":u,"control--is-focused":l,"control--menu-is-open":v}),h,{"aria-disabled":u||void 0}),i)},yX=gX,bX=["data"],CX=function(r,i){var u=r.theme.spacing;return i?{}:{paddingBottom:u.baseUnit*2,paddingTop:u.baseUnit*2}},xX=function(r){var i=r.children,u=r.cx,l=r.getStyles,d=r.getClassNames,h=r.Heading,v=r.headingProps,y=r.innerProps,C=r.label,x=r.theme,R=r.selectProps;return Et("div",Rt({},yr(r,"group",{group:!0}),y),Et(h,Rt({},v,{selectProps:R,theme:x,getStyles:l,getClassNames:d,cx:u}),C),Et("div",null,i))},SX=function(r,i){var u=r.theme,l=u.colors,d=u.spacing;return yt({label:"group",cursor:"default",display:"block"},i?{}:{color:l.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:d.baseUnit*3,paddingRight:d.baseUnit*3,textTransform:"uppercase"})},EX=function(r){var i=vk(r);i.data;var u=rl(i,bX);return Et("div",Rt({},yr(r,"groupHeading",{"group-heading":!0}),u))},wX=xX,RX=["innerRef","isDisabled","isHidden","inputClassName"],TX=function(r,i){var u=r.isDisabled,l=r.value,d=r.theme,h=d.spacing,v=d.colors;return yt(yt({visibility:u?"hidden":"visible",transform:l?"translateZ(0)":""},IX),i?{}:{margin:h.baseUnit/2,paddingBottom:h.baseUnit/2,paddingTop:h.baseUnit/2,color:v.neutral80})},Ek={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},IX={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":yt({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ek)},NX=function(r){return yt({label:"input",color:"inherit",background:0,opacity:r?0:1,width:"100%"},Ek)},_X=function(r){var i=r.cx,u=r.value,l=vk(r),d=l.innerRef,h=l.isDisabled,v=l.isHidden,y=l.inputClassName,C=rl(l,RX);return Et("div",Rt({},yr(r,"input",{"input-container":!0}),{"data-value":u||""}),Et("input",Rt({className:i({input:!0},y),ref:d,style:NX(v),disabled:h},C)))},OX=_X,AX=function(r,i){var u=r.theme,l=u.spacing,d=u.borderRadius,h=u.colors;return yt({label:"multiValue",display:"flex",minWidth:0},i?{}:{backgroundColor:h.neutral10,borderRadius:d/2,margin:l.baseUnit/2})},jX=function(r,i){var u=r.theme,l=u.borderRadius,d=u.colors,h=r.cropWithEllipsis;return yt({overflow:"hidden",textOverflow:h||h===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},i?{}:{borderRadius:l/2,color:d.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},DX=function(r,i){var u=r.theme,l=u.spacing,d=u.borderRadius,h=u.colors,v=r.isFocused;return yt({alignItems:"center",display:"flex"},i?{}:{borderRadius:d/2,backgroundColor:v?h.dangerLight:void 0,paddingLeft:l.baseUnit,paddingRight:l.baseUnit,":hover":{backgroundColor:h.dangerLight,color:h.danger}})},wk=function(r){var i=r.children,u=r.innerProps;return Et("div",u,i)},kX=wk,MX=wk;function LX(n){var r=n.children,i=n.innerProps;return Et("div",Rt({role:"button"},i),r||Et(zR,{size:14}))}var PX=function(r){var i=r.children,u=r.components,l=r.data,d=r.innerProps,h=r.isDisabled,v=r.removeProps,y=r.selectProps,C=u.Container,x=u.Label,R=u.Remove;return Et(C,{data:l,innerProps:yt(yt({},yr(r,"multiValue",{"multi-value":!0,"multi-value--is-disabled":h})),d),selectProps:y},Et(x,{data:l,innerProps:yt({},yr(r,"multiValueLabel",{"multi-value__label":!0})),selectProps:y},i),Et(R,{data:l,innerProps:yt(yt({},yr(r,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(i||"option")},v),selectProps:y}))},FX=PX,VX=function(r,i){var u=r.isDisabled,l=r.isFocused,d=r.isSelected,h=r.theme,v=h.spacing,y=h.colors;return yt({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},i?{}:{backgroundColor:d?y.primary:l?y.primary25:"transparent",color:u?y.neutral20:d?y.neutral0:"inherit",padding:"".concat(v.baseUnit*2,"px ").concat(v.baseUnit*3,"px"),":active":{backgroundColor:u?void 0:d?y.primary:y.primary50}})},BX=function(r){var i=r.children,u=r.isDisabled,l=r.isFocused,d=r.isSelected,h=r.innerRef,v=r.innerProps;return Et("div",Rt({},yr(r,"option",{option:!0,"option--is-disabled":u,"option--is-focused":l,"option--is-selected":d}),{ref:h,"aria-disabled":u},v),i)},zX=BX,HX=function(r,i){var u=r.theme,l=u.spacing,d=u.colors;return yt({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},i?{}:{color:d.neutral50,marginLeft:l.baseUnit/2,marginRight:l.baseUnit/2})},UX=function(r){var i=r.children,u=r.innerProps;return Et("div",Rt({},yr(r,"placeholder",{placeholder:!0}),u),i)},$X=UX,GX=function(r,i){var u=r.isDisabled,l=r.theme,d=l.spacing,h=l.colors;return yt({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},i?{}:{color:u?h.neutral40:h.neutral80,marginLeft:d.baseUnit/2,marginRight:d.baseUnit/2})},WX=function(r){var i=r.children,u=r.isDisabled,l=r.innerProps;return Et("div",Rt({},yr(r,"singleValue",{"single-value":!0,"single-value--is-disabled":u}),l),i)},XX=WX,YX={ClearIndicator:cX,Control:yX,DropdownIndicator:lX,DownChevron:xk,CrossIcon:zR,Group:wX,GroupHeading:EX,IndicatorsContainer:nX,IndicatorSeparator:dX,Input:OX,LoadingIndicator:hX,Menu:H5,MenuList:$5,MenuPortal:J5,LoadingMessage:Y5,NoOptionsMessage:X5,MultiValue:FX,MultiValueContainer:kX,MultiValueLabel:MX,MultiValueRemove:LX,Option:zX,Placeholder:$X,SelectContainer:Q5,SingleValue:XX,ValueContainer:eX},ZX=function(r){return yt(yt({},YX),r.components)},wO=Number.isNaN||function(r){return typeof r=="number"&&r!==r};function JX(n,r){return!!(n===r||wO(n)&&wO(r))}function qX(n,r){if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!JX(n[i],r[i]))return!1;return!0}function QX(n,r){r===void 0&&(r=qX);var i=null;function u(){for(var l=[],d=0;d<arguments.length;d++)l[d]=arguments[d];if(i&&i.lastThis===this&&r(l,i.lastArgs))return i.lastResult;var h=n.apply(this,l);return i={lastResult:h,lastArgs:l,lastThis:this},h}return u.clear=function(){i=null},u}var Tm={};function KX(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var eY=Tm.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:KX},tY=function(r){return Et("span",Rt({css:eY},r))},RO=tY,nY={guidance:function(r){var i=r.isSearchable,u=r.isMulti,l=r.tabSelectsValue,d=r.context,h=r.isInitialFocus;switch(d){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(l?", press Tab to select the option and exit the menu":"",".");case"input":return h?"".concat(r["aria-label"]||"Select"," is focused ").concat(i?",type to refine list":"",", press Down to open the menu, ").concat(u?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(r){var i=r.action,u=r.label,l=u===void 0?"":u,d=r.labels,h=r.isDisabled;switch(i){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(l,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(d.length>1?"s":""," ").concat(d.join(","),", selected.");case"select-option":return h?"option ".concat(l," is disabled. Select another option."):"option ".concat(l,", selected.");default:return""}},onFocus:function(r){var i=r.context,u=r.focused,l=r.options,d=r.label,h=d===void 0?"":d,v=r.selectValue,y=r.isDisabled,C=r.isSelected,x=r.isAppleDevice,R=function(O,_){return O&&O.length?"".concat(O.indexOf(_)+1," of ").concat(O.length):""};if(i==="value"&&v)return"value ".concat(h," focused, ").concat(R(v,u),".");if(i==="menu"&&x){var T=y?" disabled":"",j="".concat(C?" selected":"").concat(T);return"".concat(h).concat(j,", ").concat(R(l,u),".")}return""},onFilter:function(r){var i=r.inputValue,u=r.resultsMessage;return"".concat(u).concat(i?" for search term "+i:"",".")}},rY=function(r){var i=r.ariaSelection,u=r.focusedOption,l=r.focusedValue,d=r.focusableOptions,h=r.isFocused,v=r.selectValue,y=r.selectProps,C=r.id,x=r.isAppleDevice,R=y.ariaLiveMessages,T=y.getOptionLabel,j=y.inputValue,N=y.isMulti,O=y.isOptionDisabled,_=y.isSearchable,L=y.menuIsOpen,F=y.options,V=y.screenReaderStatus,H=y.tabSelectsValue,z=y.isLoading,U=y["aria-label"],J=y["aria-live"],q=M.useMemo(function(){return yt(yt({},nY),R||{})},[R]),Re=M.useMemo(function(){var xe="";if(i&&q.onChange){var je=i.option,Le=i.options,ne=i.removedValue,_e=i.removedValues,G=i.value,Y=function(we){return Array.isArray(we)?null:we},re=ne||je||Y(G),ye=re?T(re):"",Se=Le||_e||void 0,Ne=Se?Se.map(T):[],le=yt({isDisabled:re&&O(re,v),label:ye,labels:Ne},i);xe=q.onChange(le)}return xe},[i,q,O,v,T]),he=M.useMemo(function(){var xe="",je=u||l,Le=!!(u&&v&&v.includes(u));if(je&&q.onFocus){var ne={focused:je,label:T(je),isDisabled:O(je,v),isSelected:Le,options:d,context:je===u?"menu":"value",selectValue:v,isAppleDevice:x};xe=q.onFocus(ne)}return xe},[u,l,T,O,q,d,v,x]),ge=M.useMemo(function(){var xe="";if(L&&F.length&&!z&&q.onFilter){var je=V({count:d.length});xe=q.onFilter({inputValue:j,resultsMessage:je})}return xe},[d,j,L,q,F,V,z]),fe=(i==null?void 0:i.action)==="initial-input-focus",Oe=M.useMemo(function(){var xe="";if(q.guidance){var je=l?"value":L?"menu":"input";xe=q.guidance({"aria-label":U,context:je,isDisabled:u&&O(u,v),isMulti:N,isSearchable:_,tabSelectsValue:H,isInitialFocus:fe})}return xe},[U,u,l,N,O,_,L,q,v,H,fe]),Te=Et(M.Fragment,null,Et("span",{id:"aria-selection"},Re),Et("span",{id:"aria-focused"},he),Et("span",{id:"aria-results"},ge),Et("span",{id:"aria-guidance"},Oe));return Et(M.Fragment,null,Et(RO,{id:C},fe&&Te),Et(RO,{"aria-live":J,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},h&&!fe&&Te))},aY=rY,Pw=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],iY=new RegExp("["+Pw.map(function(n){return n.letters}).join("")+"]","g"),Rk={};for(var XE=0;XE<Pw.length;XE++)for(var YE=Pw[XE],ZE=0;ZE<YE.letters.length;ZE++)Rk[YE.letters[ZE]]=YE.base;var Tk=function(r){return r.replace(iY,function(i){return Rk[i]})},oY=QX(Tk),TO=function(r){return r.replace(/^\s+|\s+$/g,"")},sY=function(r){return"".concat(r.label," ").concat(r.value)},lY=function(r){return function(i,u){if(i.data.__isNew__)return!0;var l=yt({ignoreCase:!0,ignoreAccents:!0,stringify:sY,trim:!0,matchFrom:"any"},r),d=l.ignoreCase,h=l.ignoreAccents,v=l.stringify,y=l.trim,C=l.matchFrom,x=y?TO(u):u,R=y?TO(v(i)):v(i);return d&&(x=x.toLowerCase(),R=R.toLowerCase()),h&&(x=oY(x),R=Tk(R)),C==="start"?R.substr(0,x.length)===x:R.indexOf(x)>-1}},uY=["innerRef"];function cY(n){var r=n.innerRef,i=rl(n,uY),u=k5(i,"onExited","in","enter","exit","appear");return Et("input",Rt({ref:r},u,{css:PR({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},Tm.NODE_ENV==="production"?"":";label:DummyInput;",Tm.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var fY=function(r){r.cancelable&&r.preventDefault(),r.stopPropagation()};function dY(n){var r=n.isEnabled,i=n.onBottomArrive,u=n.onBottomLeave,l=n.onTopArrive,d=n.onTopLeave,h=M.useRef(!1),v=M.useRef(!1),y=M.useRef(0),C=M.useRef(null),x=M.useCallback(function(_,L){if(C.current!==null){var F=C.current,V=F.scrollTop,H=F.scrollHeight,z=F.clientHeight,U=C.current,J=L>0,q=H-z-V,Re=!1;q>L&&h.current&&(u&&u(_),h.current=!1),J&&v.current&&(d&&d(_),v.current=!1),J&&L>q?(i&&!h.current&&i(_),U.scrollTop=H,Re=!0,h.current=!0):!J&&-L>V&&(l&&!v.current&&l(_),U.scrollTop=0,Re=!0,v.current=!0),Re&&fY(_)}},[i,u,l,d]),R=M.useCallback(function(_){x(_,_.deltaY)},[x]),T=M.useCallback(function(_){y.current=_.changedTouches[0].clientY},[]),j=M.useCallback(function(_){var L=y.current-_.changedTouches[0].clientY;x(_,L)},[x]),N=M.useCallback(function(_){if(_){var L=A5?{passive:!1}:!1;_.addEventListener("wheel",R,L),_.addEventListener("touchstart",T,L),_.addEventListener("touchmove",j,L)}},[j,T,R]),O=M.useCallback(function(_){_&&(_.removeEventListener("wheel",R,!1),_.removeEventListener("touchstart",T,!1),_.removeEventListener("touchmove",j,!1))},[j,T,R]);return M.useEffect(function(){if(r){var _=C.current;return N(_),function(){O(_)}}},[r,N,O]),function(_){C.current=_}}var IO=["boxSizing","height","overflow","paddingRight","position"],NO={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function _O(n){n.preventDefault()}function OO(n){n.stopPropagation()}function AO(){var n=this.scrollTop,r=this.scrollHeight,i=n+this.offsetHeight;n===0?this.scrollTop=1:i===r&&(this.scrollTop=n-1)}function jO(){return"ontouchstart"in window||navigator.maxTouchPoints}var DO=!!(typeof window<"u"&&window.document&&window.document.createElement),lm=0,Lp={capture:!1,passive:!1};function pY(n){var r=n.isEnabled,i=n.accountForScrollbars,u=i===void 0?!0:i,l=M.useRef({}),d=M.useRef(null),h=M.useCallback(function(y){if(DO){var C=document.body,x=C&&C.style;if(u&&IO.forEach(function(N){var O=x&&x[N];l.current[N]=O}),u&&lm<1){var R=parseInt(l.current.paddingRight,10)||0,T=document.body?document.body.clientWidth:0,j=window.innerWidth-T+R||0;Object.keys(NO).forEach(function(N){var O=NO[N];x&&(x[N]=O)}),x&&(x.paddingRight="".concat(j,"px"))}C&&jO()&&(C.addEventListener("touchmove",_O,Lp),y&&(y.addEventListener("touchstart",AO,Lp),y.addEventListener("touchmove",OO,Lp))),lm+=1}},[u]),v=M.useCallback(function(y){if(DO){var C=document.body,x=C&&C.style;lm=Math.max(lm-1,0),u&&lm<1&&IO.forEach(function(R){var T=l.current[R];x&&(x[R]=T)}),C&&jO()&&(C.removeEventListener("touchmove",_O,Lp),y&&(y.removeEventListener("touchstart",AO,Lp),y.removeEventListener("touchmove",OO,Lp)))}},[u]);return M.useEffect(function(){if(r){var y=d.current;return h(y),function(){v(y)}}},[r,h,v]),function(y){d.current=y}}function vY(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var hY=function(r){var i=r.target;return i.ownerDocument.activeElement&&i.ownerDocument.activeElement.blur()},mY=Tm.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:vY};function gY(n){var r=n.children,i=n.lockEnabled,u=n.captureEnabled,l=u===void 0?!0:u,d=n.onBottomArrive,h=n.onBottomLeave,v=n.onTopArrive,y=n.onTopLeave,C=dY({isEnabled:l,onBottomArrive:d,onBottomLeave:h,onTopArrive:v,onTopLeave:y}),x=pY({isEnabled:i}),R=function(j){C(j),x(j)};return Et(M.Fragment,null,i&&Et("div",{onClick:hY,css:mY}),r(R))}function yY(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var bY=Tm.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:yY},CY=function(r){var i=r.name,u=r.onFocus;return Et("input",{required:!0,name:i,tabIndex:-1,"aria-hidden":"true",onFocus:u,css:bY,value:"",onChange:function(){}})},xY=CY;function HR(n){var r;return typeof window<"u"&&window.navigator!=null?n.test(((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.platform)||window.navigator.platform):!1}function SY(){return HR(/^iPhone/i)}function Ik(){return HR(/^Mac/i)}function EY(){return HR(/^iPad/i)||Ik()&&navigator.maxTouchPoints>1}function wY(){return SY()||EY()}function RY(){return Ik()||wY()}var TY=function(r){return r.label},IY=function(r){return r.label},NY=function(r){return r.value},_Y=function(r){return!!r.isDisabled},OY={clearIndicator:uX,container:q5,control:mX,dropdownIndicator:sX,group:CX,groupHeading:SX,indicatorsContainer:tX,indicatorSeparator:fX,input:TX,loadingIndicator:vX,loadingMessage:W5,menu:V5,menuList:U5,menuPortal:Z5,multiValue:AX,multiValueLabel:jX,multiValueRemove:DX,noOptionsMessage:G5,option:VX,placeholder:HX,singleValue:GX,valueContainer:K5},AY={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},jY=4,Nk=4,DY=38,kY=Nk*2,MY={baseUnit:Nk,controlHeight:DY,menuGutter:kY},JE={borderRadius:jY,colors:AY,spacing:MY},LY={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:SO(),captureMenuScroll:!SO(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:lY(),formatGroupLabel:TY,getOptionLabel:IY,getOptionValue:NY,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:_Y,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!_5(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(r){var i=r.count;return"".concat(i," result").concat(i!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function kO(n,r,i,u){var l=Ak(n,r,i),d=jk(n,r,i),h=Ok(n,r),v=N0(n,r);return{type:"option",data:r,isDisabled:l,isSelected:d,label:h,value:v,index:u}}function n0(n,r){return n.options.map(function(i,u){if("options"in i){var l=i.options.map(function(h,v){return kO(n,h,r,v)}).filter(function(h){return LO(n,h)});return l.length>0?{type:"group",data:i,options:l,index:u}:void 0}var d=kO(n,i,r,u);return LO(n,d)?d:void 0}).filter(j5)}function _k(n){return n.reduce(function(r,i){return i.type==="group"?r.push.apply(r,TR(i.options.map(function(u){return u.data}))):r.push(i.data),r},[])}function MO(n,r){return n.reduce(function(i,u){return u.type==="group"?i.push.apply(i,TR(u.options.map(function(l){return{data:l.data,id:"".concat(r,"-").concat(u.index,"-").concat(l.index)}}))):i.push({data:u.data,id:"".concat(r,"-").concat(u.index)}),i},[])}function PY(n,r){return _k(n0(n,r))}function LO(n,r){var i=n.inputValue,u=i===void 0?"":i,l=r.data,d=r.isSelected,h=r.label,v=r.value;return(!kk(n)||!d)&&Dk(n,{label:h,value:v,data:l},u)}function FY(n,r){var i=n.focusedValue,u=n.selectValue,l=u.indexOf(i);if(l>-1){var d=r.indexOf(i);if(d>-1)return i;if(l<r.length)return r[l]}return null}function VY(n,r){var i=n.focusedOption;return i&&r.indexOf(i)>-1?i:r[0]}var qE=function(r,i){var u,l=(u=r.find(function(d){return d.data===i}))===null||u===void 0?void 0:u.id;return l||null},Ok=function(r,i){return r.getOptionLabel(i)},N0=function(r,i){return r.getOptionValue(i)};function Ak(n,r,i){return typeof n.isOptionDisabled=="function"?n.isOptionDisabled(r,i):!1}function jk(n,r,i){if(i.indexOf(r)>-1)return!0;if(typeof n.isOptionSelected=="function")return n.isOptionSelected(r,i);var u=N0(n,r);return i.some(function(l){return N0(n,l)===u})}function Dk(n,r,i){return n.filterOption?n.filterOption(r,i):!0}var kk=function(r){var i=r.hideSelectedOptions,u=r.isMulti;return i===void 0?u:i},BY=1,UR=function(n){G4(i,n);var r=Y4(i);function i(u){var l;if(U4(this,i),l=r.call(this,u),l.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},l.blockOptionHover=!1,l.isComposing=!1,l.commonProps=void 0,l.initialTouchX=0,l.initialTouchY=0,l.openAfterFocus=!1,l.scrollToFocusedOptionOnUpdate=!1,l.userIsDragging=void 0,l.isAppleDevice=RY(),l.controlRef=null,l.getControlRef=function(y){l.controlRef=y},l.focusedOptionRef=null,l.getFocusedOptionRef=function(y){l.focusedOptionRef=y},l.menuListRef=null,l.getMenuListRef=function(y){l.menuListRef=y},l.inputRef=null,l.getInputRef=function(y){l.inputRef=y},l.focus=l.focusInput,l.blur=l.blurInput,l.onChange=function(y,C){var x=l.props,R=x.onChange,T=x.name;C.name=T,l.ariaOnChange(y,C),R(y,C)},l.setValue=function(y,C,x){var R=l.props,T=R.closeMenuOnSelect,j=R.isMulti,N=R.inputValue;l.onInputChange("",{action:"set-value",prevInputValue:N}),T&&(l.setState({inputIsHiddenAfterUpdate:!j}),l.onMenuClose()),l.setState({clearFocusValueOnUpdate:!0}),l.onChange(y,{action:C,option:x})},l.selectOption=function(y){var C=l.props,x=C.blurInputOnSelect,R=C.isMulti,T=C.name,j=l.state.selectValue,N=R&&l.isOptionSelected(y,j),O=l.isOptionDisabled(y,j);if(N){var _=l.getOptionValue(y);l.setValue(j.filter(function(L){return l.getOptionValue(L)!==_}),"deselect-option",y)}else if(!O)R?l.setValue([].concat(TR(j),[y]),"select-option",y):l.setValue(y,"select-option");else{l.ariaOnChange(y,{action:"select-option",option:y,name:T});return}x&&l.blurInput()},l.removeValue=function(y){var C=l.props.isMulti,x=l.state.selectValue,R=l.getOptionValue(y),T=x.filter(function(N){return l.getOptionValue(N)!==R}),j=Ub(C,T,T[0]||null);l.onChange(j,{action:"remove-value",removedValue:y}),l.focusInput()},l.clearValue=function(){var y=l.state.selectValue;l.onChange(Ub(l.props.isMulti,[],null),{action:"clear",removedValues:y})},l.popValue=function(){var y=l.props.isMulti,C=l.state.selectValue,x=C[C.length-1],R=C.slice(0,C.length-1),T=Ub(y,R,R[0]||null);l.onChange(T,{action:"pop-value",removedValue:x})},l.getFocusedOptionId=function(y){return qE(l.state.focusableOptionsWithIds,y)},l.getFocusableOptionsWithIds=function(){return MO(n0(l.props,l.state.selectValue),l.getElementId("option"))},l.getValue=function(){return l.state.selectValue},l.cx=function(){for(var y=arguments.length,C=new Array(y),x=0;x<y;x++)C[x]=arguments[x];return E5.apply(void 0,[l.props.classNamePrefix].concat(C))},l.getOptionLabel=function(y){return Ok(l.props,y)},l.getOptionValue=function(y){return N0(l.props,y)},l.getStyles=function(y,C){var x=l.props.unstyled,R=OY[y](C,x);R.boxSizing="border-box";var T=l.props.styles[y];return T?T(R,C):R},l.getClassNames=function(y,C){var x,R;return(x=(R=l.props.classNames)[y])===null||x===void 0?void 0:x.call(R,C)},l.getElementId=function(y){return"".concat(l.state.instancePrefix,"-").concat(y)},l.getComponents=function(){return ZX(l.props)},l.buildCategorizedOptions=function(){return n0(l.props,l.state.selectValue)},l.getCategorizedOptions=function(){return l.props.menuIsOpen?l.buildCategorizedOptions():[]},l.buildFocusableOptions=function(){return _k(l.buildCategorizedOptions())},l.getFocusableOptions=function(){return l.props.menuIsOpen?l.buildFocusableOptions():[]},l.ariaOnChange=function(y,C){l.setState({ariaSelection:yt({value:y},C)})},l.onMenuMouseDown=function(y){y.button===0&&(y.stopPropagation(),y.preventDefault(),l.focusInput())},l.onMenuMouseMove=function(y){l.blockOptionHover=!1},l.onControlMouseDown=function(y){if(!y.defaultPrevented){var C=l.props.openMenuOnClick;l.state.isFocused?l.props.menuIsOpen?y.target.tagName!=="INPUT"&&y.target.tagName!=="TEXTAREA"&&l.onMenuClose():C&&l.openMenu("first"):(C&&(l.openAfterFocus=!0),l.focusInput()),y.target.tagName!=="INPUT"&&y.target.tagName!=="TEXTAREA"&&y.preventDefault()}},l.onDropdownIndicatorMouseDown=function(y){if(!(y&&y.type==="mousedown"&&y.button!==0)&&!l.props.isDisabled){var C=l.props,x=C.isMulti,R=C.menuIsOpen;l.focusInput(),R?(l.setState({inputIsHiddenAfterUpdate:!x}),l.onMenuClose()):l.openMenu("first"),y.preventDefault()}},l.onClearIndicatorMouseDown=function(y){y&&y.type==="mousedown"&&y.button!==0||(l.clearValue(),y.preventDefault(),l.openAfterFocus=!1,y.type==="touchend"?l.focusInput():setTimeout(function(){return l.focusInput()}))},l.onScroll=function(y){typeof l.props.closeMenuOnScroll=="boolean"?y.target instanceof HTMLElement&&X0(y.target)&&l.props.onMenuClose():typeof l.props.closeMenuOnScroll=="function"&&l.props.closeMenuOnScroll(y)&&l.props.onMenuClose()},l.onCompositionStart=function(){l.isComposing=!0},l.onCompositionEnd=function(){l.isComposing=!1},l.onTouchStart=function(y){var C=y.touches,x=C&&C.item(0);x&&(l.initialTouchX=x.clientX,l.initialTouchY=x.clientY,l.userIsDragging=!1)},l.onTouchMove=function(y){var C=y.touches,x=C&&C.item(0);if(x){var R=Math.abs(x.clientX-l.initialTouchX),T=Math.abs(x.clientY-l.initialTouchY),j=5;l.userIsDragging=R>j||T>j}},l.onTouchEnd=function(y){l.userIsDragging||(l.controlRef&&!l.controlRef.contains(y.target)&&l.menuListRef&&!l.menuListRef.contains(y.target)&&l.blurInput(),l.initialTouchX=0,l.initialTouchY=0)},l.onControlTouchEnd=function(y){l.userIsDragging||l.onControlMouseDown(y)},l.onClearIndicatorTouchEnd=function(y){l.userIsDragging||l.onClearIndicatorMouseDown(y)},l.onDropdownIndicatorTouchEnd=function(y){l.userIsDragging||l.onDropdownIndicatorMouseDown(y)},l.handleInputChange=function(y){var C=l.props.inputValue,x=y.currentTarget.value;l.setState({inputIsHiddenAfterUpdate:!1}),l.onInputChange(x,{action:"input-change",prevInputValue:C}),l.props.menuIsOpen||l.onMenuOpen()},l.onInputFocus=function(y){l.props.onFocus&&l.props.onFocus(y),l.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(l.openAfterFocus||l.props.openMenuOnFocus)&&l.openMenu("first"),l.openAfterFocus=!1},l.onInputBlur=function(y){var C=l.props.inputValue;if(l.menuListRef&&l.menuListRef.contains(document.activeElement)){l.inputRef.focus();return}l.props.onBlur&&l.props.onBlur(y),l.onInputChange("",{action:"input-blur",prevInputValue:C}),l.onMenuClose(),l.setState({focusedValue:null,isFocused:!1})},l.onOptionHover=function(y){if(!(l.blockOptionHover||l.state.focusedOption===y)){var C=l.getFocusableOptions(),x=C.indexOf(y);l.setState({focusedOption:y,focusedOptionId:x>-1?l.getFocusedOptionId(y):null})}},l.shouldHideSelectedOptions=function(){return kk(l.props)},l.onValueInputFocus=function(y){y.preventDefault(),y.stopPropagation(),l.focus()},l.onKeyDown=function(y){var C=l.props,x=C.isMulti,R=C.backspaceRemovesValue,T=C.escapeClearsValue,j=C.inputValue,N=C.isClearable,O=C.isDisabled,_=C.menuIsOpen,L=C.onKeyDown,F=C.tabSelectsValue,V=C.openMenuOnFocus,H=l.state,z=H.focusedOption,U=H.focusedValue,J=H.selectValue;if(!O&&!(typeof L=="function"&&(L(y),y.defaultPrevented))){switch(l.blockOptionHover=!0,y.key){case"ArrowLeft":if(!x||j)return;l.focusValue("previous");break;case"ArrowRight":if(!x||j)return;l.focusValue("next");break;case"Delete":case"Backspace":if(j)return;if(U)l.removeValue(U);else{if(!R)return;x?l.popValue():N&&l.clearValue()}break;case"Tab":if(l.isComposing||y.shiftKey||!_||!F||!z||V&&l.isOptionSelected(z,J))return;l.selectOption(z);break;case"Enter":if(y.keyCode===229)break;if(_){if(!z||l.isComposing)return;l.selectOption(z);break}return;case"Escape":_?(l.setState({inputIsHiddenAfterUpdate:!1}),l.onInputChange("",{action:"menu-close",prevInputValue:j}),l.onMenuClose()):N&&T&&l.clearValue();break;case" ":if(j)return;if(!_){l.openMenu("first");break}if(!z)return;l.selectOption(z);break;case"ArrowUp":_?l.focusOption("up"):l.openMenu("last");break;case"ArrowDown":_?l.focusOption("down"):l.openMenu("first");break;case"PageUp":if(!_)return;l.focusOption("pageup");break;case"PageDown":if(!_)return;l.focusOption("pagedown");break;case"Home":if(!_)return;l.focusOption("first");break;case"End":if(!_)return;l.focusOption("last");break;default:return}y.preventDefault()}},l.state.instancePrefix="react-select-"+(l.props.instanceId||++BY),l.state.selectValue=CO(u.value),u.menuIsOpen&&l.state.selectValue.length){var d=l.getFocusableOptionsWithIds(),h=l.buildFocusableOptions(),v=h.indexOf(l.state.selectValue[0]);l.state.focusableOptionsWithIds=d,l.state.focusedOption=h[v],l.state.focusedOptionId=qE(d,h[v])}return l}return $4(i,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&xO(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(l){var d=this.props,h=d.isDisabled,v=d.menuIsOpen,y=this.state.isFocused;(y&&!h&&l.isDisabled||y&&v&&!l.menuIsOpen)&&this.focusInput(),y&&h&&!l.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!y&&!h&&l.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(xO(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(l,d){this.props.onInputChange(l,d)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(l){var d=this,h=this.state,v=h.selectValue,y=h.isFocused,C=this.buildFocusableOptions(),x=l==="first"?0:C.length-1;if(!this.props.isMulti){var R=C.indexOf(v[0]);R>-1&&(x=R)}this.scrollToFocusedOptionOnUpdate=!(y&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:C[x],focusedOptionId:this.getFocusedOptionId(C[x])},function(){return d.onMenuOpen()})}},{key:"focusValue",value:function(l){var d=this.state,h=d.selectValue,v=d.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var y=h.indexOf(v);v||(y=-1);var C=h.length-1,x=-1;if(h.length){switch(l){case"previous":y===0?x=0:y===-1?x=C:x=y-1;break;case"next":y>-1&&y<C&&(x=y+1);break}this.setState({inputIsHidden:x!==-1,focusedValue:h[x]})}}}},{key:"focusOption",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",d=this.props.pageSize,h=this.state.focusedOption,v=this.getFocusableOptions();if(v.length){var y=0,C=v.indexOf(h);h||(C=-1),l==="up"?y=C>0?C-1:v.length-1:l==="down"?y=(C+1)%v.length:l==="pageup"?(y=C-d,y<0&&(y=0)):l==="pagedown"?(y=C+d,y>v.length-1&&(y=v.length-1)):l==="last"&&(y=v.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:v[y],focusedValue:null,focusedOptionId:this.getFocusedOptionId(v[y])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(JE):yt(yt({},JE),this.props.theme):JE}},{key:"getCommonProps",value:function(){var l=this.clearValue,d=this.cx,h=this.getStyles,v=this.getClassNames,y=this.getValue,C=this.selectOption,x=this.setValue,R=this.props,T=R.isMulti,j=R.isRtl,N=R.options,O=this.hasValue();return{clearValue:l,cx:d,getStyles:h,getClassNames:v,getValue:y,hasValue:O,isMulti:T,isRtl:j,options:N,selectOption:C,selectProps:R,setValue:x,theme:this.getTheme()}}},{key:"hasValue",value:function(){var l=this.state.selectValue;return l.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var l=this.props,d=l.isClearable,h=l.isMulti;return d===void 0?h:d}},{key:"isOptionDisabled",value:function(l,d){return Ak(this.props,l,d)}},{key:"isOptionSelected",value:function(l,d){return jk(this.props,l,d)}},{key:"filterOption",value:function(l,d){return Dk(this.props,l,d)}},{key:"formatOptionLabel",value:function(l,d){if(typeof this.props.formatOptionLabel=="function"){var h=this.props.inputValue,v=this.state.selectValue;return this.props.formatOptionLabel(l,{context:d,inputValue:h,selectValue:v})}else return this.getOptionLabel(l)}},{key:"formatGroupLabel",value:function(l){return this.props.formatGroupLabel(l)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var l=this.props,d=l.isDisabled,h=l.isSearchable,v=l.inputId,y=l.inputValue,C=l.tabIndex,x=l.form,R=l.menuIsOpen,T=l.required,j=this.getComponents(),N=j.Input,O=this.state,_=O.inputIsHidden,L=O.ariaSelection,F=this.commonProps,V=v||this.getElementId("input"),H=yt(yt(yt({"aria-autocomplete":"list","aria-expanded":R,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":T,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},R&&{"aria-controls":this.getElementId("listbox")}),!h&&{"aria-readonly":!0}),this.hasValue()?(L==null?void 0:L.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return h?M.createElement(N,Rt({},F,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:V,innerRef:this.getInputRef,isDisabled:d,isHidden:_,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:C,form:x,type:"text",value:y},H)):M.createElement(cY,Rt({id:V,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:T0,onFocus:this.onInputFocus,disabled:d,tabIndex:C,inputMode:"none",form:x,value:""},H))}},{key:"renderPlaceholderOrValue",value:function(){var l=this,d=this.getComponents(),h=d.MultiValue,v=d.MultiValueContainer,y=d.MultiValueLabel,C=d.MultiValueRemove,x=d.SingleValue,R=d.Placeholder,T=this.commonProps,j=this.props,N=j.controlShouldRenderValue,O=j.isDisabled,_=j.isMulti,L=j.inputValue,F=j.placeholder,V=this.state,H=V.selectValue,z=V.focusedValue,U=V.isFocused;if(!this.hasValue()||!N)return L?null:M.createElement(R,Rt({},T,{key:"placeholder",isDisabled:O,isFocused:U,innerProps:{id:this.getElementId("placeholder")}}),F);if(_)return H.map(function(q,Re){var he=q===z,ge="".concat(l.getOptionLabel(q),"-").concat(l.getOptionValue(q));return M.createElement(h,Rt({},T,{components:{Container:v,Label:y,Remove:C},isFocused:he,isDisabled:O,key:ge,index:Re,removeProps:{onClick:function(){return l.removeValue(q)},onTouchEnd:function(){return l.removeValue(q)},onMouseDown:function(Oe){Oe.preventDefault()}},data:q}),l.formatOptionLabel(q,"value"))});if(L)return null;var J=H[0];return M.createElement(x,Rt({},T,{data:J,isDisabled:O}),this.formatOptionLabel(J,"value"))}},{key:"renderClearIndicator",value:function(){var l=this.getComponents(),d=l.ClearIndicator,h=this.commonProps,v=this.props,y=v.isDisabled,C=v.isLoading,x=this.state.isFocused;if(!this.isClearable()||!d||y||!this.hasValue()||C)return null;var R={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return M.createElement(d,Rt({},h,{innerProps:R,isFocused:x}))}},{key:"renderLoadingIndicator",value:function(){var l=this.getComponents(),d=l.LoadingIndicator,h=this.commonProps,v=this.props,y=v.isDisabled,C=v.isLoading,x=this.state.isFocused;if(!d||!C)return null;var R={"aria-hidden":"true"};return M.createElement(d,Rt({},h,{innerProps:R,isDisabled:y,isFocused:x}))}},{key:"renderIndicatorSeparator",value:function(){var l=this.getComponents(),d=l.DropdownIndicator,h=l.IndicatorSeparator;if(!d||!h)return null;var v=this.commonProps,y=this.props.isDisabled,C=this.state.isFocused;return M.createElement(h,Rt({},v,{isDisabled:y,isFocused:C}))}},{key:"renderDropdownIndicator",value:function(){var l=this.getComponents(),d=l.DropdownIndicator;if(!d)return null;var h=this.commonProps,v=this.props.isDisabled,y=this.state.isFocused,C={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return M.createElement(d,Rt({},h,{innerProps:C,isDisabled:v,isFocused:y}))}},{key:"renderMenu",value:function(){var l=this,d=this.getComponents(),h=d.Group,v=d.GroupHeading,y=d.Menu,C=d.MenuList,x=d.MenuPortal,R=d.LoadingMessage,T=d.NoOptionsMessage,j=d.Option,N=this.commonProps,O=this.state.focusedOption,_=this.props,L=_.captureMenuScroll,F=_.inputValue,V=_.isLoading,H=_.loadingMessage,z=_.minMenuHeight,U=_.maxMenuHeight,J=_.menuIsOpen,q=_.menuPlacement,Re=_.menuPosition,he=_.menuPortalTarget,ge=_.menuShouldBlockScroll,fe=_.menuShouldScrollIntoView,Oe=_.noOptionsMessage,Te=_.onMenuScrollToTop,xe=_.onMenuScrollToBottom;if(!J)return null;var je=function(ye,Se){var Ne=ye.type,le=ye.data,ve=ye.isDisabled,we=ye.isSelected,Ve=ye.label,et=ye.value,tt=O===le,ft=ve?void 0:function(){return l.onOptionHover(le)},Ae=ve?void 0:function(){return l.selectOption(le)},It="".concat(l.getElementId("option"),"-").concat(Se),pt={id:It,onClick:Ae,onMouseMove:ft,onMouseOver:ft,tabIndex:-1,role:"option","aria-selected":l.isAppleDevice?void 0:we};return M.createElement(j,Rt({},N,{innerProps:pt,data:le,isDisabled:ve,isSelected:we,key:It,label:Ve,type:Ne,value:et,isFocused:tt,innerRef:tt?l.getFocusedOptionRef:void 0}),l.formatOptionLabel(ye.data,"menu"))},Le;if(this.hasOptions())Le=this.getCategorizedOptions().map(function(re){if(re.type==="group"){var ye=re.data,Se=re.options,Ne=re.index,le="".concat(l.getElementId("group"),"-").concat(Ne),ve="".concat(le,"-heading");return M.createElement(h,Rt({},N,{key:le,data:ye,options:Se,Heading:v,headingProps:{id:ve,data:re.data},label:l.formatGroupLabel(re.data)}),re.options.map(function(we){return je(we,"".concat(Ne,"-").concat(we.index))}))}else if(re.type==="option")return je(re,"".concat(re.index))});else if(V){var ne=H({inputValue:F});if(ne===null)return null;Le=M.createElement(R,N,ne)}else{var _e=Oe({inputValue:F});if(_e===null)return null;Le=M.createElement(T,N,_e)}var G={minMenuHeight:z,maxMenuHeight:U,menuPlacement:q,menuPosition:Re,menuShouldScrollIntoView:fe},Y=M.createElement(B5,Rt({},N,G),function(re){var ye=re.ref,Se=re.placerProps,Ne=Se.placement,le=Se.maxHeight;return M.createElement(y,Rt({},N,G,{innerRef:ye,innerProps:{onMouseDown:l.onMenuMouseDown,onMouseMove:l.onMenuMouseMove},isLoading:V,placement:Ne}),M.createElement(gY,{captureEnabled:L,onTopArrive:Te,onBottomArrive:xe,lockEnabled:ge},function(ve){return M.createElement(C,Rt({},N,{innerRef:function(Ve){l.getMenuListRef(Ve),ve(Ve)},innerProps:{role:"listbox","aria-multiselectable":N.isMulti,id:l.getElementId("listbox")},isLoading:V,maxHeight:le,focusedOption:O}),Le)}))});return he||Re==="fixed"?M.createElement(x,Rt({},N,{appendTo:he,controlElement:this.controlRef,menuPlacement:q,menuPosition:Re}),Y):Y}},{key:"renderFormField",value:function(){var l=this,d=this.props,h=d.delimiter,v=d.isDisabled,y=d.isMulti,C=d.name,x=d.required,R=this.state.selectValue;if(x&&!this.hasValue()&&!v)return M.createElement(xY,{name:C,onFocus:this.onValueInputFocus});if(!(!C||v))if(y)if(h){var T=R.map(function(O){return l.getOptionValue(O)}).join(h);return M.createElement("input",{name:C,type:"hidden",value:T})}else{var j=R.length>0?R.map(function(O,_){return M.createElement("input",{key:"i-".concat(_),name:C,type:"hidden",value:l.getOptionValue(O)})}):M.createElement("input",{name:C,type:"hidden",value:""});return M.createElement("div",null,j)}else{var N=R[0]?this.getOptionValue(R[0]):"";return M.createElement("input",{name:C,type:"hidden",value:N})}}},{key:"renderLiveRegion",value:function(){var l=this.commonProps,d=this.state,h=d.ariaSelection,v=d.focusedOption,y=d.focusedValue,C=d.isFocused,x=d.selectValue,R=this.getFocusableOptions();return M.createElement(aY,Rt({},l,{id:this.getElementId("live-region"),ariaSelection:h,focusedOption:v,focusedValue:y,isFocused:C,selectValue:x,focusableOptions:R,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var l=this.getComponents(),d=l.Control,h=l.IndicatorsContainer,v=l.SelectContainer,y=l.ValueContainer,C=this.props,x=C.className,R=C.id,T=C.isDisabled,j=C.menuIsOpen,N=this.state.isFocused,O=this.commonProps=this.getCommonProps();return M.createElement(v,Rt({},O,{className:x,innerProps:{id:R,onKeyDown:this.onKeyDown},isDisabled:T,isFocused:N}),this.renderLiveRegion(),M.createElement(d,Rt({},O,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:T,isFocused:N,menuIsOpen:j}),M.createElement(y,Rt({},O,{isDisabled:T}),this.renderPlaceholderOrValue(),this.renderInput()),M.createElement(h,Rt({},O,{isDisabled:T}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(l,d){var h=d.prevProps,v=d.clearFocusValueOnUpdate,y=d.inputIsHiddenAfterUpdate,C=d.ariaSelection,x=d.isFocused,R=d.prevWasFocused,T=d.instancePrefix,j=l.options,N=l.value,O=l.menuIsOpen,_=l.inputValue,L=l.isMulti,F=CO(N),V={};if(h&&(N!==h.value||j!==h.options||O!==h.menuIsOpen||_!==h.inputValue)){var H=O?PY(l,F):[],z=O?MO(n0(l,F),"".concat(T,"-option")):[],U=v?FY(d,F):null,J=VY(d,H),q=qE(z,J);V={selectValue:F,focusedOption:J,focusedOptionId:q,focusableOptionsWithIds:z,focusedValue:U,clearFocusValueOnUpdate:!1}}var Re=y!=null&&l!==h?{inputIsHidden:y,inputIsHiddenAfterUpdate:void 0}:{},he=C,ge=x&&R;return x&&!ge&&(he={value:Ub(L,F,F[0]||null),options:F,action:"initial-input-focus"},ge=!R),(C==null?void 0:C.action)==="initial-input-focus"&&(he=null),yt(yt(yt({},V),Re),{},{prevProps:l,ariaSelection:he,prevWasFocused:ge})}}]),i}(M.Component);UR.defaultProps=LY;var zY=M.forwardRef(function(n,r){var i=GD(n);return M.createElement(UR,Rt({ref:r},i))}),$R=zY;function Hp({bg:n="dark",children:r,color:i="light",fontWeight:u="bold",icon:l="info-circle-fill",initial:d=!1,maxWidth:h="200px",padding:v="10px",placement:y,target:C,trigger:x="click",visible:R=!0}){const T=typeof d=="string"||d instanceof String,[j,N]=M.useState(T?localStorage.getItem(d)!="true":d),[O,_]=M.useState(!1);M.useEffect(()=>{setTimeout(()=>_(!0),100)},[]);const L=()=>{T&&localStorage.setItem(d,"true")},F=b.jsxs(RR,{style:{"--bs-tooltip-bg":`var(--bs-${n})`,"--bs-tooltip-color":`var(--bs-${i})`,"--bs-tooltip-max-width":h,"--bs-tooltip-padding-x":v,"--bs-tooltip-padding-y":v,fontWeight:u},children:[b.jsx("button",{"aria-label":"Close",onClick:()=>{L(),N(!1)},style:{background:"transparent",border:"0 none transparent",float:"right"},children:b.jsx("i",{className:"bi bi-x-lg"})}),r]});return C&&C.current?b.jsx(zD,{target:C.current,placement:y,show:j&&R&&O,children:F}):b.jsx(HD,{placement:y,onToggle:V=>{L(),N(V)},overlay:F,show:j&&R&&O,trigger:x,children:b.jsx("button",{className:"btn bnt-clear border-0",style:{backgroundColor:"transparent"},children:b.jsx("i",{className:`bi bi-${l}`})})})}const HY="_items_c2dbg_1",UY="_item_c2dbg_1",$Y="_details_c2dbg_14",GY="_text_c2dbg_20",WY="_number_c2dbg_35",XY="_outer_c2dbg_50",YY="_inner_c2dbg_61",Zl={items:HY,item:UY,details:$Y,text:GY,number:WY,outer:XY,inner:YY},um=(n,r)=>`${Math.cos(2*Math.PI*n)*r} ${Math.sin(2*Math.PI*n)*r}`;function ZY({requestId:n,grantNumber:r,creditColorClass:i="gray-300",colorClasses:u=pw}){const{request:l}=ri(n,r);if(!l)return;let d=0,h;const v=[];for(let T of l.resources)T.isBoolean||(T.isCredit?h=T:v.push(T),d+=T.requested*T.unitCost);const y=[],C=[];let x=-.25;const R=[...v,h].map((T,j)=>{if(!T)return null;const N=j+1,_=T.requested*T.unitCost/d,L=T.requested-T.used,F=Math.max(0,L),V=T.isCredit?d/T.unitCost:T.requested,H=V==0?0:100*F/V,U=`var(--bs-${T.isCredit?i:u[j%u.length]})`;if(_>0){const J=x,q=x+_/2,Re=x+=_,he=_>.5?1:0,ge=[`M ${um(J,100)}`,`A 100 100 0 ${he} 1 ${um(Re,100)}`,`L ${um(Re,50)}`,`A 50 50 0 ${he} 0 ${um(J,50)}`].join(" "),[fe,Oe]=um(q,75).split(" ").map(Te=>parseFloat(Te));y.push(b.jsx("path",{d:ge,style:{fill:U}},T.resourceId)),C.push(b.jsx("circle",{cx:fe,cy:Oe,r:"8",fill:"black"},`${T.resourceId}-circle`),b.jsx("text",{x:fe-4,y:Oe+4,fill:"white",className:Zl.number,children:N},`${T.resourceId}-text`))}return T.isCredit&&C.push(b.jsx("foreignObject",{x:"-50",y:"-50",width:"100",height:"100",children:b.jsx("div",{className:Zl.text,children:b.jsxs("div",{children:[b.jsx("strong",{children:ni(F,{abbreviate:!0})}),T.unit," available"]})})},"center-text")),b.jsxs("li",{className:Zl.item,children:[b.jsx("span",{className:Zl.number,children:N}),b.jsx("span",{className:`${Zl.outer} ms-2 me-2`,style:{borderColor:U},children:b.jsx("span",{className:Zl.inner,style:{backgroundColor:U,width:`${H}%`}})}),b.jsxs("strong",{className:Zl.name,children:[Uf(T,{userGuide:!1}),": "]}),b.jsxs("span",{className:Zl.details,children:[ni(L,{abbreviate:!0})," ",T.isCredit?null:b.jsxs(b.Fragment,{children:["of ",ni(V,{abbreviate:!0})," "]}),T.unit," ",T.isCredit?"available":"remaining"," (",Math.round(H),"%)"]})]},T.resourceId)});return b.jsxs("div",{className:"row",children:[b.jsx("div",{className:"col-lg-3 mb-3 d-flex flex-row align-items-center justify-content-center",children:b.jsxs("svg",{version:"1.1",viewBox:"-100 -100 200 200",width:"200",height:"200",xmlns:"http://www.w3.org/2000/svg",children:[y,C]})}),b.jsx("div",{className:"col-lg-9 mb-3 d-flex flex-column justify-content-center",children:b.jsx("ul",{className:Zl.items,children:R})})]})}const PO=n=>n;function JY({classes:n,clean:r=PO,format:i=PO,label:u,setValue:l,style:d,value:h}){const v=i(h),[y,C]=M.useState(v);return M.useEffect(()=>{C(v)},[v]),b.jsx("input",{type:"text","aria-label":u,className:`form-control ${n}`,value:y,style:d,onChange:x=>C(x.target.value),onBlur:x=>{const R=r(x.target.value);C(i(R)),l(R)},onKeyDown:x=>{x.code=="Enter"&&(x.preventDefault(),x.target.blur())}})}function qY({requestId:n,grantNumber:r}){const{request:i,addResource:u,openUsageDetailModal:l,resetResources:d,setResourceRequest:h,setResourcesReason:v,statuses:y,toggleActionsModal:C,toggleConfirmModal:x,toggleResourcesModal:R}=ri(n,r),{project:T}=Ji(r||i&&i.grantNumber),j=M.useRef(null),N=M.useRef(null);if(!i||!T)return;const O="Exchange"in i.allowedActions,_="Renewal"in i.allowedActions,L="Supplement"in i.allowedActions,F=i.exchangeStatus==y.pending,V=i.exchangeStatus==y.success,H=i.exchangeStatus==y.error,z=i.exchangeActionId!==null,U=i.resources,J=i.resourcesReason,q={};for(let le of U)q[le.resourceId]=le;const Re=()=>{MA(i)>=.75?C():x()},he=[];for(let le of U){let ve=[];if(le.requested>0){for(let we of le.requires||[]){let Ve=q[we];if(Ve){if(Ve.requested>0){ve=[];break}ve.push(Ve)}}ve.length&&he.push(b.jsxs("span",{children:[Uf(le,{userGuide:!1})," requires"," ",kA(ve.map(we=>Uf(we,{userGuide:!1})),"or"),"."]},le.resourceId))}}const ge=he.length>0;let fe;V?fe=b.jsx(na,{color:"info",children:"Your exchange request has been submitted."}):z?fe=b.jsx(na,{color:"warning",children:"You have an exchange request under review. The information below reflects the pending exchange request."}):H?fe=b.jsx(na,{color:"danger",children:"Sorry, your exchange request could not be submitted. Please try again later."}):i.timeStatus=="current"&&!T.isManager?fe=b.jsxs(na,{color:"warning",children:["You do not have permission to manage resources for this project. Please contact ",tR(T)," to request a change."]}):ge&&(fe=b.jsxs(na,{color:"warning",children:[he," Please adjust your balance values."]}));const Oe=J.length>0;let Te=!1,xe=!1;for(let le of U)if(le.isNew&&(Te=!0),le.allocated!=le.requested&&(xe=!0),Te&&xe)break;const je=U.map(le=>le.resourceId),Le=O&&!V&&!z?i.allowedActions.Exchange.resources.filter(le=>!je.includes(le.resourceId)).map(le=>{const ve=M0(le.name),we=ve.short?`${ve.short} (${ve.full.replace(/ \([^(]+\)/,"")})`:ve.full;return{value:le.resourceId,label:we}}):[],ne=O?i.allowedActions.Exchange.resources.map(le=>le.resourceId):[];let _e;const G=[],Y=[];for(let le of U)le.isCredit?_e=le:(G.push(le),Y.push(!V&&!z&&(le.isNew||le.allocated!=le.requested)?Bp.edited:ne.includes(le.resourceId)?"":Bp.disabled));const re=`Add ${G.length?"another":"a"} resource to your exchange...`,ye=le=>le.requested-le.used,Se=(le,ve)=>{let we=Fp(Number(le.replace(/[^0-9-.]/g,""))+ve.used,ve.decimalPlaces);isNaN(we)&&(we=ve.allocated);const Ve=Math.min(ve.allocated,ve.used);return we<Ve?Ve:ve.unitCost*(we-ve.requested)>_e.requested?Fp(_e.requested/ve.unitCost,ve.decimalPlaces,"floor")+ve.requested:we},Ne=[{key:"name",name:"Resource",format:(le,ve)=>Uf(ve),width:Math.min(350,window.innerWidth*.3)},{key:"isActive",name:"Status",format:(le,ve)=>b.jsx(Zp,{status:le?"Active":ve.isNew?"New":"Inactive"}),width:100},{key:"unit",name:"Unit",width:150,format:(le,ve)=>ve.isBoolean?b.jsx(b.Fragment,{children:"—"}):b.jsx("abbr",{title:`1 ${v_(le,1)} = ${ni(ve.unitCost)} ${v_(_e.name,ve.unitCost)}`,children:le})},{key:"used",name:"Usage",class:"text-end",format:(le,ve)=>ve.isBoolean?b.jsx(b.Fragment,{children:"—"}):b.jsxs(b.Fragment,{children:[ni(le),(T.currentUser.resourceIds.includes(ve.resourceId)||T.currentUser.resourceAccountInactiveIds.includes(ve.resourceId))&&b.jsx(c0,{icon:"table",onClick:()=>l(ve.resourceRepositoryKey),target:"_blank",title:`${ve.name} Usage Details`})]})}];return O&&Ne.push({key:"requested",name:"Balance",class:"text-end",rowClass:le=>!V&&!z&&ne.includes(le.resourceId)?Bp.input:"",format:(le,ve)=>{const we=!V&&!z&&ne.includes(ve.resourceId);return ve.isBoolean?b.jsx("input",{className:"form-check-input",type:"checkbox",checked:le==1,disabled:!we,onChange:Ve=>h(ve.resourceId,Ve.target.checked?1:0)}):we?b.jsx(JY,{classes:"text-end w-100",clean:Ve=>Se(Ve,ve)-ve.used,format:ni,label:`Balance for ${ve.name}`,setValue:Ve=>{h(ve.resourceId,Ve+ve.used)},style:{padding:"0.1rem 0.5rem"},value:ye(ve)}):ni(ye(ve))},formatHeader:le=>b.jsxs(b.Fragment,{children:[le,!V&&!z?b.jsx(Hp,{bg:"secondary",color:"dark",initial:"myprojects.requestedAllocation",placement:"top-end",visible:T.tab=="resources",children:"You can increase or decrease the balance below to change your allocation on a resource. Enter the total amount you would like to have available once the exchange is complete."}):null]})}),b.jsxs("div",{className:"resources",children:[fe,U.length?b.jsx(ZY,{requestId:n}):null,_e&&(O||_||L)?b.jsxs("h2",{className:"mb-1 mt-2 d-flex justify-content-between",children:[b.jsxs("span",{children:[gc(Nn.resourceTypeIcons.credit)," ",ni(_e.requested,_e)," ",_e.unit," available to exchange"]}),_||L?b.jsxs("button",{type:"button",className:"btn btn-sm btn-primary ms-2",onClick:Re,children:[gc(Nn.resourceTypeIcons.credit)," Request More"," ",i.usesCredits?"Credits":"Units"]}):null]}):null,G.length?b.jsx(Kf,{columns:Ne,rows:G,rowClasses:Y,classes:Le.length?"mb-0":"",frozenColumns:2,minWidth:"800px"}):b.jsx("div",{className:"card p-2 text-bg-light p-3",children:"This project does not have any resources."}),Le.length?b.jsxs(b.Fragment,{children:[b.jsx("div",{className:"p-2",style:{backgroundColor:"var(--teal-200)",border:"1px solid #cccccc",marginTop:"-1px"},ref:j,children:b.jsx($R,{classNames:{control:()=>"react-select mb-1"},options:Le,onChange:le=>u(le.value),placeholder:re,value:null,"aria-label":re})}),G.length?null:b.jsx(Hp,{bg:"secondary",color:"dark",visible:T.tab=="resources",initial:!0,target:j,children:"Ready to get started? Search for a resource to add it to your project."}),b.jsxs("p",{className:"text-black-50",style:{fontSize:"0.9rem"},children:["Need help choosing a resource? Visit our"," ",b.jsx("a",{href:Nn.routes.resources_path(),children:"Resource Catalog"}),"."]})]}):null,O&&!V&&!z?b.jsxs(b.Fragment,{children:[b.jsxs("div",{className:"mb-3",children:[b.jsx("label",{htmlFor:"resources-reason",className:"form-label required",children:"Please briefly explain how the requested resources and amounts will contribute to your research."}),b.jsx("textarea",{className:"form-control",id:"resources-reason",rows:"2",value:J,onChange:le=>v(le.target.value),style:{minHeight:"3rem"}})]}),b.jsxs("div",{className:"d-flex",children:[b.jsx("button",{type:"button",className:"btn btn-danger me-2",disabled:F||!xe&&!Oe&&!Te,onClick:d,children:"Reset Form"}),b.jsx("button",{ref:N,type:"button",className:"btn btn-secondary",disabled:F||!xe||!Oe||ge,onClick:R,children:F?"Submitting...":"Submit for Approval"})]}),xe&&!ge?b.jsx(Hp,{bg:"secondary",color:"dark",initial:"myprojects.submitExchange",maxWidth:"390px",placement:"right",target:N,visible:T.tab=="resources",children:"When you are finished adding resources, enter a justification for the requested resources above. Then you can submit your exchange for approval."}):null]}):null]})}function QY({question:n,requestId:r,grantNumber:i}){const{request:u,setResourceQuestionValues:l}=ri(r,i),d=M.useId();if(!n||!u||u.error)return;const{attributeSetId:h,attributes:v,fieldType:y,label:C,resourceId:x,values:R}=n,T=v[0],j=T.required?"required":"",N=V=>l(x,h,V.target.value?[V.target.value]:[]),O=V=>{l(x,h,Array.from(V.target.options).filter(({selected:H})=>H).map(({value:H})=>parseInt(H,10)))},_=V=>{const H=parseInt(V.target.value,10),z=V.target.checked?[...R,H]:R.filter(U=>U!=H);l(x,h,z)},L=V=>{const H=parseInt(V.target.value);l(x,h,isNaN(H)?[]:[H])};let F;if(["calendar","integer_only","text"].includes(y)){const V={calendar:"date",integer_only:"number",text:"text"}[y];F=b.jsx("input",{className:"form-control",id:d,type:V,placeholder:T.label,required:T.required,value:R[0]||"",onChange:y=="integer_only"?L:N})}else if(y=="textarea")F=b.jsx("textarea",{className:"form-control",id:d,placeholder:T.label,required:T.required,value:R[0]||"",onChange:N});else if(y=="drop_down"||v.length>=10){const V=y=="multi_sel";F=b.jsxs("select",{id:d,className:"form-select",required:T.required,multiple:V,onChange:V?O:L,value:V?R:R[0]||"",children:[V?null:b.jsx("option",{}),v.map(H=>b.jsx("option",{value:H.resourceAttributeId,children:H.label},H.resourceAttributeId))]})}else F=b.jsx("div",{id:d,children:v.map(V=>{const H=`resource-attribute-${V.resourceAttributeId}`;return b.jsxs("div",{className:"form-check",children:[b.jsx("input",{className:"form-check-input",type:y=="single_sel"?"radio":"checkbox",id:H,value:V.resourceAttributeId,checked:R.includes(V.resourceAttributeId),onChange:y=="single_sel"?L:_}),b.jsx("label",{className:"form-check-label",htmlFor:H,children:V.label})]},V.resourceAttributeId)})});return b.jsxs("div",{className:"mb-3",children:[b.jsx("label",{htmlFor:d,className:`form-label ${j}`,children:C}),F]})}function KY({requestId:n,grantNumber:r}){const{request:i,saveResources:u,toggleResourcesModal:l}=ri(n,r),{project:d}=Ji(r||i.grantNumber);if(!i||!d||i.error||d.error)return;const h=[],v=i.resources.filter(C=>C.allocated!=C.requested).map(C=>{const x=C.requested-C.allocated;return C.questions&&h.push(...C.questions),b.jsxs("li",{className:"list-group-item d-flex justify-content-between align-items-center mb-0",children:[C.name,b.jsx("span",{className:`badge bg-${x>0?"primary":"danger"} rounded-pill`,children:C.isBoolean?eR(C.requested):b.jsxs(b.Fragment,{children:[x>0?"+":"",ni(x,C)," ",C.unit]})})]},C.resourceId)}),y=h.some(({attributes:C,values:x})=>x.length==0&&C[0].required);return b.jsxs(Ln,{size:"lg",show:i.showResourcesModal,onHide:l,scrollable:!0,children:[b.jsx(Ln.Header,{closeButton:!0,children:b.jsx(Ln.Title,{children:"Complete Your Exchange"})}),b.jsxs(Ln.Body,{children:[b.jsx("p",{children:"Please review your exchange to make sure it includes all the resources you need. Once you submit it, you will not be able to request another exchange until this one has been processed by the resource providers."}),b.jsx("ul",{className:"list-group mb-3",children:v}),h.length?b.jsxs(b.Fragment,{children:[b.jsx("h2",{children:"Resource Questions"}),b.jsx("p",{children:"Some of the resources you selected have associated questions. Please answer the questions below."}),h.map(C=>b.jsx(QY,{question:C,requestId:n,grantNumber:r},C.attributeSetId))]}):null]}),b.jsx(Ln.Footer,{children:b.jsxs("div",{className:"d-flex",children:[b.jsx("button",{type:"button",className:"btn btn-primary me-2",onClick:l,children:"Continue Editing"}),b.jsx("button",{type:"button",className:"btn btn-secondary",onClick:u,disabled:y,children:"Submit"})]})})]})}function Mm(){return b.jsx("div",{className:"spinner-border",role:"status",children:b.jsx("span",{className:"visually-hidden",children:"Loading..."})})}function Mk({user:n}){const r=`${n.lastName}, ${n.firstName}`;let i=r,u=[n.organization,n.email].filter(l=>l).join(", ");return u&&(i+=`: ${u}`),b.jsx("abbr",{title:i,children:r})}function eZ({requestId:n,grantNumber:r}){const{project:i}=Ji(r),{request:u,closeUsageDetailModal:l}=ri(n,r);if(!u||u.error||!i||i.error||!u.usageDetailStatus)return;let d,h="Usage";if(u.usageDetailStatus==ea.pending)d=b.jsx(Mm,{});else if(u.usageDetailStatus==ea.error)d=b.jsx(na,{color:"danger",children:"An error occurred while loading usage data."});else{const{projectTitle:v,resourceDisplayName:y,resourceRepositoryKey:C,users:x}=u.usageDetail,{full:R,short:T}=M0(y),j=u.resources.find(L=>L.resourceRepositoryKey==C),N=L=>ni(L,{decimalPlaces:j?j.decimalPlaces:void 0}),O={};for(let L of i.users)O[L.username]=L;h=b.jsxs(b.Fragment,{children:["Usage: ",T||R," for ",v]});const _=[{key:"name",name:"Name",format:(L,{lastName:F,firstName:V,portalUsername:H})=>{const z=O[H];return z?b.jsx(Mk,{user:z}):`${F}, ${V}`}},{key:"portalUsername",name:"Resource Username",format:L=>{const F=O[L],V=F?F.resourceUsernames[j.resourceId]:null;return V||b.jsx(b.Fragment,{children:"—"})}},{key:"role",name:"Role",format:L=>LA[L].name},{key:"lastWeek",name:"Last Week",class:"text-end",format:N},{key:"lastMonth",name:"Last Month",class:"text-end",format:N},{key:"lastQuarter",name:"Last 3 Months",class:"text-end",format:N},{key:"currentRequest",name:"Current Allocation",class:"text-end",format:N},{key:"total",name:"All Time",class:"text-end",format:N}];d=x.length?b.jsx(Kf,{rows:x,columns:_}):b.jsx(na,{color:"info",children:"There is no usage for this resource."})}return b.jsxs(Ln,{show:!0,size:"lg",onHide:l,scrollable:!0,children:[b.jsx(Ln.Header,{closeButton:!0,children:b.jsx(Ln.Title,{children:h})}),b.jsx(Ln.Body,{children:d})]})}var tZ=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function nZ(n){var r=n.defaultOptions,i=r===void 0?!1:r,u=n.cacheOptions,l=u===void 0?!1:u,d=n.loadOptions;n.options;var h=n.isLoading,v=h===void 0?!1:h,y=n.onInputChange,C=n.filterOption,x=C===void 0?null:C,R=rl(n,tZ),T=R.inputValue,j=M.useRef(void 0),N=M.useRef(!1),O=M.useState(Array.isArray(i)?i:void 0),_=ta(O,2),L=_[0],F=_[1],V=M.useState(typeof T<"u"?T:""),H=ta(V,2),z=H[0],U=H[1],J=M.useState(i===!0),q=ta(J,2),Re=q[0],he=q[1],ge=M.useState(void 0),fe=ta(ge,2),Oe=fe[0],Te=fe[1],xe=M.useState([]),je=ta(xe,2),Le=je[0],ne=je[1],_e=M.useState(!1),G=ta(_e,2),Y=G[0],re=G[1],ye=M.useState({}),Se=ta(ye,2),Ne=Se[0],le=Se[1],ve=M.useState(void 0),we=ta(ve,2),Ve=we[0],et=we[1],tt=M.useState(void 0),ft=ta(tt,2),Ae=ft[0],It=ft[1];l!==Ae&&(le({}),It(l)),i!==Ve&&(F(Array.isArray(i)?i:void 0),et(i)),M.useEffect(function(){return N.current=!0,function(){N.current=!1}},[]);var pt=M.useCallback(function(sn,_n){if(!d)return _n();var Vt=d(sn,_n);Vt&&typeof Vt.then=="function"&&Vt.then(_n,function(){return _n()})},[d]);M.useEffect(function(){i===!0&&pt(z,function(sn){N.current&&(F(sn||[]),he(!!j.current))})},[]);var Kt=M.useCallback(function(sn,_n){var Vt=w5(sn,_n,y);if(!Vt){j.current=void 0,U(""),Te(""),ne([]),he(!1),re(!1);return}if(l&&Ne[Vt])U(Vt),Te(Vt),ne(Ne[Vt]),he(!1),re(!1);else{var Cn=j.current={};U(Vt),he(!0),re(!Oe),pt(Vt,function(qn){N&&Cn===j.current&&(j.current=void 0,he(!1),Te(Vt),ne(qn||[]),re(!1),le(qn?yt(yt({},Ne),{},Pp({},Vt,qn)):Ne))})}},[l,pt,Oe,Ne,y]),on=Y?[]:z&&Oe?Le:L||[];return yt(yt({},R),{},{options:on,isLoading:Re||v,onInputChange:Kt,filterOption:x})}var rZ=M.forwardRef(function(n,r){var i=nZ(n),u=GD(i);return M.createElement(UR,Rt({ref:r},u))}),aZ=rZ;const FO=({description:n,disabled:r=!1,onChange:i,selectedLength:u,totalLength:l})=>{const d=M.useRef(),h=M.useId();let v=u==l,y=u>0&&!v;return M.useEffect(()=>{d.current&&(d.current.checked=v,d.current.indeterminate=y)},[v,y]),b.jsxs(b.Fragment,{children:[b.jsx("input",{className:"custom-checkbox form-check-input",disabled:r,id:h,onChange:C=>i(C.target.checked),ref:d,type:"checkbox"}),b.jsx("label",{className:"form-check-label",htmlFor:h,"aria-description":`${v?"Deselect":"Select"} ${n}`})]})};function iZ({grantNumber:n,requestId:r}){const{project:i,addUser:u,resetUsers:l,saveUsers:d,setTab:h,setUserRole:v,statuses:y,toggleUsersResources:C}=Ji(n),{request:x}=i?ri(r||i.currentRequestId,n):{request:null};if(!i||!i.currentRequestId||!x||i.error||x.error)return;const R=i.isManager,T="Exchange"in x.allowedActions,j=i.usersStatus==y.pending,N=i.usersStatus==y.success,O=i.usersStatus==y.error,_=i.users,L=x.resources.filter(hw),F=L.length==0,V=_.find(he=>he.hasChanges)!==void 0,H=_.find(he=>he.role!="pi")!==void 0;let z;N&&!V?z=b.jsx(na,{color:"info",children:"Your changes have been saved. Creation of user accounts can take some time. Users can check the status of their accounts on the Overview tab of the My Projects page."}):O?z=b.jsx(na,{color:"danger",children:"Sorry, your changes could not be saved. Please try again later."}):R?L.length?F&&(z=b.jsx(na,{color:"warning",children:"This project does not have any active resources."})):z=b.jsxs(na,{color:"warning",children:["This project does not have any resources."," ",T?b.jsx("a",{href:Nn.routes.request_action_path(x.requestId,"new?action_type=Exchange"),onClick:he=>{he.preventDefault(),h("resources")},children:"Exchange credits for resources."}):null," ","Additional users can be added after an exchange is approved."]}):z=b.jsxs(na,{color:"warning",children:["You do not have permission to manage users for this project. Please contact ",tR(i)," to request a change."]});const U=(he,ge)=>{let fe,Oe,Te,xe;if(ge.key=="all"){fe="all resources for all users",Oe=je=>C(je),Te=0;for(let je of _)Te+=je.resourceIds.length;xe=_.length*L.length}else fe=`all users for ${ge.name}`,Oe=je=>C(je,null,ge.key),Te=_.filter(({resourceIds:je})=>je.includes(ge.key)).length,xe=_.length;return b.jsxs(b.Fragment,{children:[ge.key=="all"?he:Uf(ge,{userGuide:!1}),b.jsx("br",{}),b.jsx(FO,{description:fe,disabled:ge.disabled,onChange:Oe,selectedLength:Te,totalLength:xe})]})},J=L0.map(({role:he,name:ge})=>b.jsx("option",{value:he,children:ge},he)),q=[{key:"name",name:"Name",width:200,format:(he,ge)=>b.jsx(Mk,{user:ge})},{key:"username",name:"ACCESS Username",width:100},{key:"role",name:"Role",width:100,format:(he,ge)=>b.jsx("select",{className:"form-select",value:he,onChange:fe=>v(ge.username,fe.target.value),disabled:!R||he=="pi"||he=="co_pi",style:{position:"absolute",left:0,top:0,bottom:0,right:0,borderWidth:0},children:J.filter(fe=>fe.key==he||!["pi","co_pi"].includes(fe.key))})}];L.length&&q.push({key:"all",name:"All Resources",class:`text-center ${Bp.important}`,disabled:!R||F,width:100,format:(he,ge)=>b.jsx(FO,{description:`all users for ${ge.name}`,disabled:!R||F,onChange:fe=>C(fe,ge.username),selectedLength:ge.resourceIds.length,totalLength:L.length}),formatHeader:U});for(let he of L)q.push({key:he.resourceId,name:he.name,class:"text-center",disabled:!R||!he.isActive,icon:he.icon,format:(ge,fe)=>b.jsx(b.Fragment,{children:b.jsx("input",{className:"form-check-input",disabled:!R||!he.isActive,onChange:Oe=>C(Oe.target.checked,fe.username,he.resourceId),type:"checkbox",checked:fe.resourceIds.includes(he.resourceId)})}),formatHeader:U});const Re=_.map(he=>he.hasChanges?Bp.edited:"");return b.jsxs(b.Fragment,{children:[z,b.jsx(Kf,{rows:_,columns:q,frozenColumns:L.length?4:3,classes:"mb-0",minWidth:"800px",rowClasses:Re,scrollRowIndex:i.usersNewRowIndex}),R&&L.length&&!F?b.jsx("div",{style:{marginTop:"-1px",position:"relative",zIndex:100},children:b.jsx(aZ,{classNames:{control:()=>"react-select"},loadOptions:async he=>(await YU(he)).map(fe=>({value:fe,label:`${fe.username} (${fe.firstName} ${fe.lastName}, ${fe.organization}${fe.email?`, ${fe.email}`:""})`})),onChange:he=>u(he.value),placeholder:"Add another user...",value:null,"aria-label":"Add another user"})}):null,R&&(L.length&&!F||H)?b.jsxs("div",{className:"d-flex mt-3",children:[b.jsx("button",{type:"button",className:"btn btn-danger me-2",disabled:j||!V,onClick:l,children:"Reset Form"}),b.jsx("button",{type:"button",className:"btn btn-secondary",disabled:j||!V,onClick:d,children:j?"Saving...":"Save Changes"})]}):null]})}function oZ({requestId:n,grantNumber:r}){const{request:i}=ri(n,r),{project:u,setRequest:l,setTab:d}=Ji(r||i.grantNumber);if(!i)return;if(i.error)return b.jsx(na,{color:"danger",children:i.error});const h=i.timeStatus||i.actions[0].status.toLowerCase(),v=i.actions.find(({showDeleteModal:C})=>C),y=[];return i.resources.length||y.push("resources"),n!=u.currentRequestId&&y.push("users"),b.jsxs("div",{className:"request",children:[i.returnedForCorrections?b.jsxs(na,{color:"warning",children:[b.jsx("p",{children:"Your request has been returned for corrections. These are the notes from the Allocations Team"}),b.jsx("div",{className:S$.returnedForCorrectionsNotes,children:i.returnedForCorrectionsNotes}),b.jsx("p",{className:"mt-3",children:"Please address these issues by clicking the Edit button to edit your request."})]}):"",i.timeStatus!="current"&&!i.returnedForCorrections?b.jsxs(na,{color:"warning",children:["You are viewing ","aeiou".includes(h[0])?"an":"a"," ",h," request."," ",y.length?`You cannot manage ${y.join(" or ")} for this request.`:""," ",u.currentRequestId?b.jsx("a",{href:Nn.routes.request_path(u.currentRequestId),onClick:C=>{C.preventDefault(),l(u.currentRequestId)},children:"Go to the current request."}):null]}):null,b.jsxs(Y3,{activeKey:u.tab,onSelect:d,className:"mt-3 mb-3",children:[b.jsx(kb,{eventKey:"overview",title:"Overview",className:"mb-0",children:b.jsx(P4,{requestId:n,grantNumber:r})}),b.jsx(kb,{eventKey:"resources",title:i.usesCredits?"Credits + Resources":"Resources",disabled:y.includes("resources"),children:b.jsx(qY,{requestId:n})}),b.jsx(kb,{eventKey:"users",title:"Users + Roles",disabled:y.includes("users"),children:b.jsx(iZ,{grantNumber:r})}),b.jsx(kb,{eventKey:"history",title:"History",children:b.jsx(f4,{requestId:n})})]}),b.jsx(e4,{grantNumber:r,requestId:n}),b.jsx(t4,{grantNumber:r,requestId:n}),b.jsx(n4,{grantNumber:r,requestId:n,actionId:v?v.actionId:null}),b.jsx(KY,{grantNumber:r,requestId:n}),b.jsx(eZ,{grantNumber:r,requestId:n})]})}function sZ({requestId:n,grantNumber:r}){const{request:i,toggleActionsModal:u,toggleDeleteModal:l}=ri(n,r);if(!i)return;const{actions:d,allowedActions:h}=i,v=[];h&&(("Extension"in h||"Renewal"in h)&&v.push(["Extend End Date",C=>{C.preventDefault(),u()},"calendar-plus"]),"Final Report"in h&&v.push(["Submit Final Report",`${Nn.routes.request_action_path(n,"new")}?action_type=Final+Report`,"file-earmark-check"]));const y=d.find(C=>C.isRequest);if(y){const C=y.allowedOperations||[];C.includes("Edit")&&v.push(["Edit",Nn.routes.edit_request_path(i.requestId),"pencil"]),C.includes("Delete")&&v.push(["Delete",x=>{x.preventDefault(),l(y.actionId)},"trash","danger"])}return v.map(([C,x,R,T])=>{const j=b.jsxs(b.Fragment,{children:[" ",R&&b.jsx("i",{className:`bi bi-${R} me-1`}),C]});return typeof x=="function"?b.jsx("button",{className:`btn btn-${T||"primary"} ms-2 text-nowrap`,onClick:x,children:j},C):b.jsx("a",{className:`btn btn-${T||"primary"} ms-2 text-nowrap`,href:x,children:j},C)})}function lZ({open:n=!1,grantNumber:r,title:i,status:u}){const[l,d]=M.useState(n),{project:h,setRequest:v}=Ji(r,!l&&i&&u&&!0),y=`project-${r}`;let C=null;if(l&&h)if(h.error)C=b.jsx(na,{color:"danger",children:h.error});else{let x;const R=h.requestsList.map(T=>(T.requestId==h.selectedRequestId&&(x=T),b.jsx("option",{value:T.requestId,children:Kw(T)},T.requestId)));C=b.jsxs(b.Fragment,{children:[b.jsxs("div",{className:"d-flex",children:[b.jsx("select",{className:"form-select","aria-label":"Select a request to display",onChange:T=>v(parseInt(T.target.value,10)),value:h.selectedRequestId,disabled:R.length<2,children:R}),b.jsx(sZ,{requestId:h.selectedRequestId,grantNumber:r})]}),x?b.jsx(oZ,{...x,grantNumber:r}):null]})}return b.jsxs("div",{className:`${y_.project} card mb-3`,children:[b.jsxs("div",{className:`card-header d-flex justify-content-between ${l?"":"border-bottom-0"}`,children:[b.jsx("button",{"aria-expanded":l,"aria-controls":y,className:y_.expand,onClick:()=>d(!l),children:b.jsxs("h2",{className:"mb-1 mt-1 text-start",children:[b.jsx("i",{className:`bi bi-caret-${l?"down":"right"}-fill`})," ",/^[A-Z]/.test(r)?b.jsxs(b.Fragment,{children:[b.jsxs("span",{className:"grant-number",children:[r,":"]})," "]}):null,i||h.title]})}),b.jsx(Zp,{status:u||h.status})]}),b.jsx("div",{className:"card-body",id:y,hidden:!l||!h,children:C})]})}function uZ({username:n,openFirst:r=1}){const{error:i,loading:u,projects:l}=y$(n);return u?b.jsx(Mm,{}):i?b.jsxs(na,{color:"danger",children:[i," ",b.jsx("a",{href:"#",onClick:d=>{d.preventDefault(),window.location.reload()},children:"Reload the page"})," ","to try again."]}):l.length?l.map((d,h)=>b.jsx(lZ,{open:h<r,...d},d.grantNumber)):b.jsxs("div",{className:"pt-5 pb-5 text-bg-light border border-light-subtle",children:[b.jsx("p",{className:"fs-2 text-center mb-4",children:"You don't have any projects yet."}),b.jsxs("div",{className:"d-flex gap-2 justify-content-center",children:[b.jsxs("a",{className:"btn btn-primary w-25",href:Nn.routes.project_types_path(),children:[b.jsx("i",{className:"bi bi-boxes fs-1 d-block"})," Learn about Project Types"]}),b.jsxs("a",{className:"btn btn-secondary w-25",href:Nn.routes.get_your_first_project_path(),children:[b.jsx("i",{className:"bi bi-cpu fs-1 d-block"})," Learn How to Get Your"," ",b.jsx("br",{className:"d-none d-xxl-inline"})," First Project"]}),b.jsxs("a",{className:"btn btn-primary w-25",href:Nn.routes.how_to_path(),children:[b.jsx("i",{className:"bi bi-person-plus fs-1 d-block"})," Learn How to Join an Existing Project"]})]})]})}const Lk={apiUrl:null,pages:1,projects:[],projectsLoaded:!1,filtersLoaded:!0,showPagination:!1,filters:{org:"",allocationType:"",allFosToggled:!0,resource:""},pageData:{current_page:1,last_page:1},typeLists:{orgs:[],fosTypes:[],allocationTypes:[],resources:[]}},cZ=Di("projectsBrowser/initApp",async(n,{getState:r,dispatch:i})=>{await i(Fw()),await i(Gf()),i(fZ())}),fZ=Di("projectsBrowser/filterCleanup",async(n,{getState:r,dispatch:i})=>{const l=r().projectsBrowser.typeLists;i(Pk({...l,orgs:["-- ALL --"].concat(l.orgs)}))}),Fw=Di("projectsBrowser/getFilters",async(n,{getState:r,dispatch:i})=>{const l=`${r().projectsBrowser.apiUrl}?filters=1`,h=await(await fetch(l)).json();i(Pk(h.filters))}),Gf=Di("projectsBrowser/getProjects",async(n,{getState:r})=>{const i=r().projectsBrowser,u=i.filters,l=i.typeLists,d=l.fosTypes.filter(C=>C.checked);let h=`${i.apiUrl}?page=${i.pageData.current_page}`;return d.length!=l.fosTypes.length&&(h+=`&fos=${d.map(C=>C.fosTypeId).join(",")}`),u.org!=""&&u.org!="-- ALL --"&&(h+=`&org=${encodeURIComponent(u.org)}`),u.allocationType!=""&&(h+=`&allocation_type=${u.allocationType}`),u.resource!=""&&(h+=`&resources=${u.resource}`),await(await fetch(h)).json()}),GR=D0({name:"projectsBrowser",initialState:Lk,reducers:{resetFilters:n=>{n.filters={org:"",allocationType:"",allFosToggled:!1,resource:""},GR.caseReducers.toggleAllFos(n)},setApiUrl:(n,{payload:r})=>{n.apiUrl=r},setShowPagination:(n,{payload:r})=>{n.showPagination=r},setTypeLists:(n,{payload:r})=>{n.typeLists=r},toggleAllFos:n=>{n.typeLists.fosTypes.forEach(r=>r.checked=!n.filters.allFosToggled),n.filters.allFosToggled=!n.filters.allFosToggled},toggleFos:(n,{payload:r})=>{n.typeLists.fosTypes.forEach(i=>{i.fosTypeId==r.fosTypeId&&(i.checked=!i.checked)}),n.typeLists.fosTypes.filter(i=>i.checked).length!=n.typeLists.fosTypes.length?n.filters.allFosToggled=!1:n.filters.allFosToggled=!0},updateFilter:(n,{payload:r})=>{n.filters[r.name]=r.value},updatePageData:(n,{payload:r})=>{r.current_page&&(n.pageData.current_page=r.current_page),r.last_page&&(n.pageData.last_page=r.last_page)}},extraReducers:n=>{n.addCase(Gf.pending,r=>{r.projectsLoaded=!1}).addCase(Gf.fulfilled,(r,i)=>{const u=i.payload;r.projectsLoaded=!0,r.projects=u.projects,u.pages!=r.pageData.last_page&&(r.pageData.current_page=1),r.showPagination=!0,r.pageData.last_page=u.pages}).addCase(Gf.rejected,(r,i)=>{console.log(i.error)}).addCase(Fw.pending,r=>{r.filtersLoaded=!1}).addCase(Fw.fulfilled,r=>{r.filtersLoaded=!0})}}),{resetFilters:dZ,setApiUrl:X8,setShowPagination:VO,setTypeLists:Pk,toggleAllFos:pZ,toggleFos:vZ,updateFilter:BO,updatePageData:Vw}=GR.actions,hZ=n=>n.projectsBrowser.filters,mZ=n=>n.projectsBrowser.filtersLoaded,gZ=n=>n.projectsBrowser.projectsLoaded,yZ=n=>n.projectsBrowser.pageData,bZ=n=>n.projectsBrowser.projects,CZ=n=>n.projectsBrowser.filtersLoaded&&n.projectsBrowser.projectsLoaded&&n.projectsBrowser.pageData.last_page>1,xZ=n=>n.projectsBrowser.typeLists,SZ=GR.reducer;const EZ=()=>{const n=Io(),r=dr(hZ),i=dr(xZ),u=i.orgs.map(O=>({label:O,value:O})),l=M.useRef(),[d,h]=M.useState(null),[v,y]=M.useState(!1),C={height:"200px",overflowX:"auto",padding:"2px"},x=O=>{n(BO({name:O.target.name,value:O.target.value}))},R=()=>{window.scrollTo(0,0),y(!0),n(VO(!1)),n(Vw({current_page:1})),n(Gf())},T=()=>{h(null),n(VO(!1)),n(Vw({current_page:1})),n(dZ()),v&&(window.scrollTo(0,0),n(Gf()),y(!1))},j=O=>{h(O),n(BO({name:"org",value:O.value}))},N=()=>r.org==""&&r.allocationType==""&&r.allFosToggled&&r.resource=="";return b.jsx("div",{className:"row sticky-top mb-2",children:b.jsxs("div",{className:"col",children:[b.jsx("h3",{className:"mb-2",children:"Filters"}),b.jsx("h5",{className:"mb-1",children:"Field of Science"}),b.jsxs("div",{className:"border mb-3",style:C,children:[b.jsxs("div",{className:"form-check",children:[b.jsx("input",{className:"form-check-input",type:"checkbox",value:"",id:"toggle_all",checked:r.allFosToggled,onChange:()=>{n(pZ())}}),b.jsx("label",{className:"form-check-label",htmlFor:"toggle_all",children:"(Toggle All)"})]}),i.fosTypes.map(O=>b.jsxs("div",{className:"form-check",children:[b.jsx("input",{className:"form-check-input",type:"checkbox",value:O.fosTypeId,id:`fos_${O.fosTypeId}`,checked:O.checked,onChange:()=>n(vZ(O))}),b.jsx("label",{className:"form-check-label",htmlFor:`fos_${O.fosTypeId}`,children:O.fosName})]},`fos_${O.fosTypeId}`))]}),b.jsx("h5",{id:"org_select_label",className:"mb-1",children:"Organization"}),b.jsx("div",{className:"mb-3",children:b.jsx($R,{options:u,openMenuOnClick:!0,name:"org",inputId:"orgs_filter",ref:l,closeMenuOnSelect:!0,onChange:j,value:d,"aria-labelledby":"org_select_label"},"org_select")}),b.jsx("h5",{id:"project_type_label",className:"mb-1",children:b.jsx("abbr",{title:'A specific level of allocation; also referred to as "Opportunity"',children:"Project Type"})}),b.jsx("div",{className:"mb-3",children:b.jsxs("select",{name:"allocationType",id:"project_type_select",value:r.allocationType,className:"form-control","aria-labelledby":"project_type_label",onChange:O=>x(O),children:[b.jsx("option",{value:"",children:"-- All --"}),i.allocationTypes.map((O,_)=>b.jsx("option",{value:O,children:O},`allocation_type_${_}`))]})}),b.jsx("h5",{id:"resource_filter_label",className:"mb-1",children:"Resource"}),b.jsx("div",{className:"mb-3",children:b.jsxs("select",{name:"resource",id:"resource_select",value:r.resource,className:"form-control","aria-labelledby":"resource_filter_label",onChange:O=>x(O),children:[b.jsx("option",{value:"",children:"-- All --"}),i.resources.map((O,_)=>b.jsx("option",{value:O.resourceId,children:O.resourceName},`resource_${_}`))]})}),b.jsxs("div",{className:"mt-2",children:[b.jsx("button",{className:"btn btn-primary me-2",onClick:R,children:"Submit"}),b.jsx("button",{className:"btn btn-secondary",disabled:N(),onClick:T,children:"Reset"})]})]})})};const wZ=({project:n})=>{const r=n.resources,i=l=>{let d=l.units?l.units:l.resourceUnits;const h=l.allocation?l.allocation:l.amount;if(d=="[Yes = 1, No = 0]"||d=="Yes / No")return h=="1.0"?"Yes":"No";{let v="0";return parseInt(h)&&(v=parseInt(h).toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")),d=="ACCESS Credits"&&(d=b.jsx("span",{className:"tooltip-underline",title:"universal currency that can be exchanged for resource units",children:"ACCESS Credits"})),d=="Dollars"?`$${v}`:b.jsxs(b.Fragment,{children:[v," ",d]})}},u=()=>n.requestNumber&&n.requestNumber!=""?`(${n.requestNumber})`:"";return b.jsxs("div",{className:"card mb-4",children:[b.jsxs("div",{className:"card-header bg-primary text-white",children:[b.jsxs("span",{className:"fw-bold",children:[u()," ",n.requestTitle]})," ",b.jsx("br",{}),b.jsxs("span",{className:"fst-italic",children:[n.pi," ",b.jsxs("small",{children:[" (",n.piInstitution,") "]})]})]}),b.jsxs("div",{className:"card-body",children:[b.jsxs("div",{className:"row fw-bold border-bottom",children:[b.jsx("div",{className:"col",children:b.jsx("span",{className:"mb-1 pb-0",children:"Field of Science"})}),b.jsx("div",{className:"col",children:b.jsx("span",{className:"mb-1 pb-0 tooltip-underline",title:'A specific level of allocation; also referred to as "Opportunity"',children:"Project Type"})}),b.jsx("div",{className:"col",children:b.jsx("span",{className:"mb-1 pb-0",children:"Dates"})})]}),b.jsxs("div",{className:"row",children:[b.jsx("div",{className:"col",children:n.fos}),b.jsx("div",{className:"col",children:n.allocationType}),b.jsxs("div",{className:"col",children:[n.beginDate," to ",n.endDate]})]}),b.jsxs(ss,{flush:!0,className:"mt-3 mb-1",children:[b.jsxs(ss.Item,{eventKey:"0",children:[b.jsx(ss.Header,{children:"Resources"}),b.jsx(ss.Body,{children:b.jsxs("table",{className:"table table-striped table-bordered mt-2 mb-0",children:[b.jsx("thead",{children:b.jsxs("tr",{children:[b.jsx("td",{children:b.jsx("span",{className:"m-0 p-0",children:"Resource"})}),b.jsx("td",{children:b.jsx("span",{className:"m-0 p-0 d-inline",children:"Allocation"})})]})}),b.jsx("tbody",{children:r.map((l,d)=>b.jsxs("tr",{children:[b.jsx("td",{children:l.resourceName}),b.jsx("td",{style:{whiteSpace:"nowrap"},children:i(l)})]},`resource_${n.requestId}_${d}`))})]})})]}),b.jsxs(ss.Item,{eventKey:"1",children:[b.jsx(ss.Header,{children:"Abstract"}),b.jsx(ss.Body,{children:b.jsx("div",{style:{whiteSpace:"pre-wrap",padding:"5px"},children:n.abstract})})]})]})]})]})},RZ=()=>{const n=dr(bZ);return n.length==0?b.jsx("div",{children:"No Projects Found"}):b.jsx("div",{children:n.map((r,i)=>b.jsx(wZ,{project:r},`project_${i}`))})};const zO=()=>{const n=Io(),r=dr(yZ),[i,u]=M.useState([]),[l,d]=M.useState("0"),h=Array.from({length:r.last_page},(N,O)=>O),v=10,y={width:"50px",textAlign:"center"};M.useEffect(()=>{R()},[r]);const C=N=>{const O=parseInt(N);n(Vw({current_page:N})),n(Gf(O))},x=N=>(event.preventDefault(),d("0"),C(N),!1),R=()=>{const N=[];if(r.last_page>v)if(r.current_page>4){N.push(1),N.push("spacer");for(var O=1;O>0;O--)r.current_page-O>1&&N.push(r.current_page-O);N.push(["current",r.current_page]);for(var O=1;O<2;O++)r.current_page+O<=r.last_page&&N.push(r.current_page+O);r.last_page-r.current_page>1&&(N.push("spacer"),N.push(r.last_page))}else[1,2,3,4,5].forEach(_=>{_==r.current_page?N.push(["current",_]):N.push(_)}),N.push("spacer"),N.push(r.last_page);else for(var O=1;O<=r.last_page;O++)O==r.current_page?N.push(["current",O]):N.push(O);u(N)},T=N=>{let O="";return typeof N=="object"?[N,O]=N:O=N,N=="spacer"?b.jsx("li",{className:"page-item disabled",children:b.jsx("span",{className:"page-link",style:y,children:". . ."})}):N=="current"?b.jsx("li",{className:"page-item active","aria-current":"page",children:b.jsx("span",{className:"page-link",style:y,children:O})}):b.jsx("li",{className:"page-item",children:b.jsx("button",{className:"page-link",style:y,onClick:()=>C(N),children:O})})},j=()=>b.jsx("li",{className:"page-item",children:b.jsxs("select",{className:"page-link",style:{...y,height:"100%"},value:l,onChange:N=>x(N.target.value),children:[b.jsx("option",{value:"0",children:"Go To"}),h.map(N=>b.jsx("option",{value:N+1,children:N+1},`page_option_${N}`))]})});return b.jsx("div",{children:b.jsx("nav",{"aria-label":"Pages for the table",children:b.jsxs("ul",{className:"pagination",children:[b.jsx("li",{className:`page-item ${r.current_page==1?"disabled":""}`,children:b.jsx("button",{className:"page-link",style:{width:"50px",textAlign:"center"},onClick:()=>C(r.current_page-1),disabled:r.current_page==1,"aria-label":"Previous Page Button",children:"<"})}),i.map((N,O)=>b.jsx(kr.Fragment,{children:T(N)},`page_${O}`)),r.last_page>v?j():"",b.jsx("li",{className:`page-item ${r.current_page==r.last_page?"disabled":""}`,children:b.jsx("button",{className:"page-link",style:y,onClick:()=>C(r.current_page+1),disabled:r.current_page==r.last_page,"aria-label":"Next Page Button",children:">"})})]})})})},TZ=({api_url:n})=>{const r=Io(),i=dr(gZ),u=dr(mZ),l=dr(CZ),d=b.jsx("div",{className:"loadingDiv",children:"Loading ..."});return M.useEffect(()=>{r(cZ())},[]),b.jsx("div",{className:"container-fluid",children:b.jsxs("div",{className:"row",children:[b.jsx("div",{className:"col-sm-3",children:b.jsx(EZ,{})}),b.jsxs("div",{className:"col-sm-9",children:[b.jsx("div",{className:"row",children:b.jsx("div",{className:"col",children:l?b.jsx(zO,{}):""})}),b.jsx("div",{className:"row",id:"projectListRow",children:b.jsx("div",{className:"col",children:i&&u?b.jsx(RZ,{}):d})}),b.jsx("div",{className:"row",children:b.jsx("div",{className:"col",children:l?b.jsx(zO,{scroll:"projects_browser_app"}):""})})]})]})})},IZ=n=>n.publications_store.publication,NZ=n=>n.publications_store.publication.doi,_Z=n=>n.publications_store.publication_types,Fk=n=>n.publications_store.publication.authors,OZ=n=>n.publications_store.tag_categories,AZ=n=>n.publications_store.projects,jZ=n=>n.publications_store.publication.tags,DZ=n=>n.publications_store.errors,Vk=n=>n.publications_store.data_loaded,Bk=n=>n.publications_store.show_saved,WR=n=>n.publications_store.saving,kZ=n=>n.publications_store.modal,zk=n=>n.publications_store.form_valid,Hk=n=>!WR(n)&&Vk(n)&&zk(n)&&Uk(n)&&n.publications_store.projects.filter(r=>r.selected).length>0,Uk=n=>{const r=Fk(n);return r.length==0?!1:r.filter(i=>i.first_name==""||i.last_name=="").length==0},$k=n=>({type:"UPDATE_PUBLICATION",payload:n}),MZ=n=>({type:"UPDATE_FIELD",payload:n}),Bw=n=>({type:"CHANGE_PUB_TYPE",payload:n}),LZ=n=>({type:"SET_PUBLICATION",payload:n}),PZ=()=>({type:"ADD_AUTHOR"}),FZ=n=>({type:"UPDATE_AUTHOR",payload:n}),VZ=n=>({type:"TOGGLE_REQUEST",payload:n}),Im=n=>({type:"UPDATE_ERRORS",payload:n}),Gk=n=>({type:"HIDE_ERROR",payload:n}),BZ=n=>({type:"UPDATE_SELECTED_TAGS",payload:n}),zZ=n=>({type:"DELETE_AUTHOR",payload:n}),HZ=n=>({type:"DATA_LOADED",payload:n}),Wk=n=>({type:"UPDATE_SHOW_SAVED",payload:n}),UZ=()=>({type:"RESET_STATE"}),QE=n=>({type:"UPDATE_SAVING",payload:n}),$Z=n=>({type:"SET_FORM_VALID",payload:n}),Xk=n=>({type:"SET_GRANT_NUMBER",payload:n}),GZ=n=>({type:"ADD_PROJECT",payload:n}),hc={routes:{}},WZ=(n,r,i)=>{let u=!0;const l=[];for(const h of r)n[h]||(u=!1,l.push(h));const d=n.authors||[];for(const h of d)for(const v of i)h[v]||(u=!1,l.includes(v)||l.push(v));return{formValid:u,missingFields:l}},XZ=n=>n.length>0?b.jsxs("div",{role:"alert",children:[b.jsx("p",{children:"Please provide the following information before submitting:"}),b.jsx("ul",{children:n.map(r=>b.jsx("li",{children:YZ(r)},r))})]}):null;function YZ(n){return n.split("_").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" ")}const ZZ=()=>async(n,r)=>{const i=r().publications_store.publication.doi,u=encodeURIComponent(i).replaceAll(".","%2E"),l="Unable to retrieve publication. Double check your DOI, or continue entering information manually.";fetch(`/publications/lookup?doi=${u}`).then(d=>d.json()).then(d=>{if(d.title!=""){let h=r().publications_store.publication_types.find(v=>v.citation_style_type==d.type);n(Bw(h?h.publication_type:"Other")),n(LZ(d))}else n(Im(l))},d=>{n(Im(l))})},JZ=()=>async(n,r)=>{const i=r().publications_store.grant_number,u=hc.routes.publications_find_project_path();await fetch(`${u}?grant_number=${i}`).then(l=>l.json()).then(l=>{n(GZ(l)),n(Xk(""))},()=>{n(Im("Unable to find a project with this grant number."))})},Yk=()=>async n=>{const r=/^\/requests/.test(window.location.pathname)?hc.routes.publication_path("new.json"):window.location.href+".json";await fetch(r).then(i=>i.json()).then(i=>{n(HZ(i))})},Zk=()=>async(n,r)=>{const i=r().publications_store,u=i.projects.filter(T=>T.selected),l=Object.keys(i.selected_tags).map(T=>i.selected_tags[T]).flat(),d={...i.publication},h=i.errors,{formValid:v,missingFields:y}=WZ(d,["title","publication_year","publication_month"],["first_name","last_name"]);if(!v){h.length>0&&Array.from(h).forEach(j=>{n(Gk(j.id))});const T=XZ(y);n(Im(T));return}const C={authenticity_token:document.getElementsByName("authenticity_token")[0].value,publication:d,authors:d.authors.map(T=>({...T,order:0})),tags:l,projects:u};let x,R;d.publication_id?(x=hc.routes.publication_path(d.publication_id),R="PATCH"):(x=hc.routes.publications_path(),R="POST"),n(QE(!0)),await fetch(x,{method:R,headers:{"Content-Type":"application/json"},body:JSON.stringify(C)}).then(T=>{i.redirect?window.location.href=hc.routes.publications_path():(d.publication_id||(n(UZ()),n(Yk())),n(Wk(!0)),n(QE(!1)))},()=>{n(QE(!1)),n(Im("There was an error saving this publication."))})},qZ=({doi:n,updatePublication:r,doiLookup:i})=>b.jsx("div",{className:"row mb-3",children:b.jsxs("div",{className:"col",children:[b.jsx("label",{htmlFor:"doi",className:"form-label",children:"DOI"}),b.jsxs("div",{className:"input-group",children:[b.jsx("input",{type:"text",className:"form-control",id:"doi",name:"publication[doi]","aria-label":"DOI Input and Search box","aria-describedby":"doi_button",value:n,onChange:u=>r(u.target.value)}),b.jsx("button",{className:"btn btn-primary",type:"button",id:"doi_button",onClick:()=>i(),children:"Lookup Publication"})]})]})}),QZ=n=>({doi:NZ(n)}),KZ=n=>({updatePublication:r=>n($k({key:"doi",value:r})),doiLookup:()=>n(ZZ())}),e6=ds(QZ,KZ)(qZ),t6=({author:n,authorKey:r,updateAuthor:i,deleteAuthor:u})=>{const l=v=>{i({key:v.target.name,value:v.target.value,idx:r})},d=v=>b.jsx("td",{children:b.jsx("input",{type:"text",className:"form-control",name:v,id:v,value:n[v],onChange:y=>l(y)})},`field_${v}`),h=["first_name","last_name","affiliation"];return b.jsxs("tr",{children:[h.map(v=>d(v)),b.jsx("td",{children:r!==0&&b.jsx("button",{className:"btn btn-sm btn-danger",onClick:()=>u(r),children:b.jsx("i",{className:"bi bi-trash"})})})]})},n6=n=>({updateAuthor:r=>n(FZ(r)),deleteAuthor:r=>n(zZ(r))}),HO=ds(null,n6)(t6),r6=({authors:n,addAuthor:r,authors_exist:i})=>{const u=n.length===0,l=()=>i?"":b.jsx("div",{className:"alert alert-danger",children:"You must add at least one author and each author must have a first and last name"});return b.jsxs("div",{children:[l(),b.jsxs("table",{className:"table",children:[b.jsx("thead",{children:b.jsxs("tr",{children:[b.jsx("th",{children:"First Name"}),b.jsx("th",{children:"Last Name"}),b.jsx("th",{children:"Affiliation"}),b.jsx("th",{})]})}),b.jsxs("tbody",{children:[n.map((d,h)=>b.jsx(HO,{author:d,authorKey:h},`author_${h}`)),u&&b.jsx(HO,{author:r()})]})]}),b.jsx("button",{className:"btn btn-primary mt-3",onClick:()=>r(),children:"Add Author"})]})},a6=n=>({authors:Fk(n),authors_exist:Uk(n)}),i6=n=>({addAuthor:()=>n(PZ())}),o6=ds(a6,i6)(r6),s6=({category:n,publication_tags:r,updateSelectedTags:i,index:u})=>{const l=M.useRef(null),d=()=>{const v=r.filter(y=>y.label==n.label)[0];return v?v.options:[]},h=v=>{i({category:n.label,tags:v})};return b.jsxs(b.Fragment,{children:[b.jsx("div",{className:"fw-bold mb-1",children:n.label}),b.jsx("div",{className:"mb-3",children:b.jsx($R,{classNames:{control:v=>v.isFocused?"custom-select-selected":"border-grey-300"},defaultValue:d(),options:n.options,isMulti:!0,openMenuOnClick:!0,name:`tags_${u}`,inputId:`tags_${u}`,ref:l,closeMenuOnSelect:!1,onChange:h})})]})},l6=n=>({updateSelectedTags:r=>n(BZ(r))}),u6=n=>({publication_tags:jZ(n)}),c6=ds(u6,l6)(s6),f6=({projects:n,toggleProject:r})=>{const i=l=>`list-group-item list-group-item-action clickable ${l.selected?"list-group-item-success":""}`,u=()=>n.filter(l=>l.selected).length>0;return b.jsx("div",{className:"row",children:b.jsxs("div",{className:"col",children:[u()?"":b.jsx("div",{className:"alert alert-danger",children:"You must select at least one project"}),b.jsx("div",{className:"list-group",children:n.map((l,d)=>b.jsxs("div",{className:i(l),onClick:()=>r(d),children:[l.grant_number,": ",l.title]},`project_${l.grant_number}`))})]})})},d6=n=>({projects:AZ(n)}),p6=n=>({toggleProject:r=>n(VZ(r))}),v6=ds(d6,p6)(f6),h6=({grant_number:n,setGrantNumber:r,grantSearch:i})=>b.jsx("div",{className:"row",children:b.jsxs("div",{className:"col",children:["If your project isn't listed above, you can manually add it by entering the grant number below.",b.jsxs("div",{className:"input-group mt-1",children:[b.jsx("input",{type:"text",className:"form-control",value:n,onChange:u=>r(u.target.value),placeholder:"Enter a grant number"}),b.jsx("button",{className:"btn btn-primary",onClick:()=>i(),children:"Find Project"})]})]})}),m6=n=>({setGrantNumber:r=>n(Xk(r)),grantSearch:()=>n(JZ())}),g6=n=>({grant_number:n.publications_store.grant_number}),y6=ds(g6,m6)(h6),b6=({publication:n,updateField:r,publication_types:i,changePubType:u,updatePublication:l,tag_categories:d,savePublication:h,modal:v,save_enabled:y,setFormValid:C,form_valid:x})=>{const R=F=>{F.target.value.trim()==""?C(!1):C(!0),l({key:"title",value:F.target.value})},T=()=>n.fields.map((F,V)=>b.jsx("div",{className:"row mb-3",children:b.jsxs("div",{className:"col",children:[b.jsx("label",{htmlFor:`field_${F.csl_field_name}`,className:"form-label",children:F.name}),b.jsx("input",{type:"text",className:"form-control",name:`field_${F.csl_field_name}`,id:`field_${F.csl_field_name}`,value:F.field_value,onChange:H=>r({index:V,value:H.target.value})})]})},`field_${F.csl_field_name}`)),j=()=>{const F=new Date().getFullYear()+2;let V=1980;const H=[];for(;V<=F;)H.push(V++);const z=["January","February","March","April","May","June","July","August","September","October","November","December"],U=b.jsx("i",{className:"bi bi-asterisk text-danger"});return b.jsxs(b.Fragment,{children:[b.jsx("div",{className:"row mb-3",children:b.jsxs("div",{className:"col",children:[b.jsxs("label",{className:"form-label",htmlFor:"publication_title",children:["Title ",U]}),b.jsx("input",{name:"publication_title",id:"publication_title",type:"text",className:`form-control ${x?"":"is-invalid"}`,value:n.title,onChange:J=>R(J)})]})}),b.jsx("div",{className:"row mb-3",children:b.jsxs("div",{className:"col",children:[b.jsx("label",{className:"form-label",htmlFor:"publication_year",children:"Year Published"}),b.jsx("select",{name:"publication_year",id:"publication_year",className:"form-control",value:n.publication_year,onChange:J=>{l({key:"publication_year",value:J.target.value})},children:H.map(J=>b.jsx("option",{value:J,children:J},`year_${J}`))})]})}),b.jsx("div",{className:"row mb-3",children:b.jsxs("div",{className:"col",children:[b.jsx("label",{className:"form-label",htmlFor:"publication_month",children:"Month Published"}),b.jsx("select",{name:"publication_month",id:"publication_month",className:"form-control",value:n.publication_month,onChange:J=>{l({key:"publication_month",value:J.target.value})},children:z.map((J,q)=>b.jsx("option",{value:q+1,children:J},`month_${q}`))})]})})]})},N=b.jsxs("div",{className:"card",children:[b.jsx("div",{className:"card-header",children:b.jsx("h2",{children:"Publication Information"})}),b.jsxs("div",{className:"card-body",children:[b.jsx("p",{className:"mb-2",children:'Enter information about this publication below. If you have a DOI, you may use the "Lookup Publication" button to attempt to find this information automatically.'}),b.jsx(e6,{}),b.jsx("div",{className:"row mb-3",children:b.jsxs("div",{className:"col",children:[b.jsx("label",{htmlFor:"publication_type",className:"form-label",children:"Publication Type"}),b.jsx("select",{name:"publication[publication_type]",id:"publication_type",className:"form-control",value:n.publication_type,onChange:F=>u(F.target.value),children:i.map(F=>b.jsx("option",{value:F.publication_type,children:F.publication_type},`pub_type_${F.type_id}`))})]})}),j(),T()]})]}),O=b.jsxs("div",{className:"card mt-3",children:[b.jsxs("div",{className:"card-header d-flex",children:[b.jsx("h2",{children:"Authors"}),b.jsxs(Hp,{children:[`Add authors by clicking the "Add Authors" button below and entering the author's details. You may also remove authors by clicking the `,b.jsx("i",{className:"bi bi-trash fw-bold text-danger"})," ","button"]})]}),b.jsx("div",{className:"card-body",children:b.jsx(o6,{})})]}),_=b.jsxs("div",{className:"card mt-3",children:[b.jsxs("div",{className:"card-header d-flex",children:[b.jsx("h2",{children:"Tags"}),b.jsx(Hp,{children:"Add related tags from the lists below. You may choose multiple tags per category."})]}),b.jsx("div",{className:"card-body",children:d.map((F,V)=>b.jsx(c6,{index:V,category:F},`tc_${V}`))})]}),L=b.jsxs("div",{className:"card mt-3",children:[b.jsxs("div",{className:"card-header d-flex",children:[b.jsx("h2",{children:"Associated Projects"}),b.jsx(Hp,{children:"Click/Tap each project that this publication is related to."})]}),b.jsxs("div",{className:"card-body",children:[b.jsx(v6,{}),b.jsx("hr",{}),b.jsx(y6,{})]})]});return b.jsxs(b.Fragment,{children:[N,O,_,L,v?null:b.jsx("p",{className:"mt-3",children:b.jsx("button",{onClick:()=>h(),className:"btn btn-success",disabled:!y,children:"Save Publication"})})]})},C6=n=>({publication:IZ(n),publication_types:_Z(n),tag_categories:OZ(n),saving:WR(n),modal:kZ(n),save_enabled:Hk(n),form_valid:zk(n)}),x6=n=>({updateField:r=>n(MZ(r)),changePubType:r=>n(Bw(r)),updatePublication:r=>n($k(r)),savePublication:()=>n(Zk()),setFormValid:r=>n($Z(r))}),S6=ds(C6,x6)(b6),E6=({errors:n,hideError:r})=>b.jsx(b.Fragment,{children:n.map(i=>b.jsxs("div",{className:"alert alert-danger alert-dismissible sticky-top",children:[i.message,b.jsx("button",{type:"button",className:"btn-close","aria-label":"Close",onClick:()=>r(i.id)})]},`err_${i.id}`))}),w6=n=>({errors:DZ(n)}),R6=n=>({hideError:r=>n(Gk(r))}),T6=ds(w6,R6)(E6),I6=({show_saved:n,updateShowSaved:r})=>{const i=b.jsxs("div",{className:"alert alert-success alert-dismissible sticky-top",children:["Publication Saved Successfully!",b.jsx("button",{type:"button",className:"btn-close","aria-label":"Close",onClick:()=>r(!1)})]});return n?i:b.jsx(b.Fragment,{})},N6=n=>({show_saved:Bk(n)}),_6=n=>({updateShowSaved:r=>n(Wk(r))}),O6=ds(N6,_6)(I6),A6=({getData:n,data_loaded:r})=>(M.useEffect(()=>{n()},[]),b.jsxs(b.Fragment,{children:[b.jsx(O6,{}),b.jsx(T6,{}),r?b.jsx(S6,{}):b.jsx(Mm,{})]})),j6=n=>({data_loaded:Vk(n)}),D6=n=>({getData:()=>n(Yk())}),Jk=ds(j6,D6)(A6),k6=({saving:n,savePublication:r,showSaved:i,updatePublications:u,save_enabled:l})=>{const[d,h]=M.useState(!1);return M.useEffect(()=>{!n&&i&&u()},[n,i]),b.jsxs(b.Fragment,{children:[b.jsxs(Ln,{size:"xl",show:d,onHide:()=>h(!1),scrollable:!0,children:[b.jsx(Ln.Header,{closeButton:!0,children:b.jsx(Ln.Title,{children:"Add Publication"})}),b.jsx(Ln.Body,{children:b.jsx(Jk,{})}),b.jsx(Ln.Footer,{children:b.jsxs("div",{className:"d-flex",children:[b.jsx("button",{type:"button",className:"btn btn-danger me-2",onClick:()=>h(!1),children:"Cancel"}),b.jsx("button",{type:"button",className:"btn btn-primary",onClick:()=>{r(),h(!1)},children:"Save Publication"})]})})]}),b.jsx("button",{type:"button",className:"btn btn-primary",onClick:()=>h(!0),children:"Add a New Publication"})]})},M6=n=>({saving:WR(n),showSaved:Bk(n),save_enabled:Hk(n)}),L6=n=>({savePublication:()=>n(Zk())}),P6=ds(M6,L6)(k6),F6=({usernames:n=[],publication_ids:r=[]})=>{const[i,u]=M.useState(n),[l,d]=M.useState(r),[h,v]=M.useState([]),y=M.useRef(i),C=O=>{y.current=O,u(O)},x=async()=>{const _=await(await fetch(hc.routes.search_publications_path({usernames:i}))).json();v(_)};M.useEffect(()=>{x()},[i]),M.useEffect(()=>{addEventListener("requestAddRole",O=>C([...y.current,O.detail.username])),addEventListener("requestRemoveRole",O=>C(y.current.filter(_=>_!=O.detail.username)))},[]);let R=!1,T=!1;const j=h.map(O=>{const _=l.includes(O.publication_id);R=R||_,T=T||!_;const L=new Date(O.publication_year,O.publication_month-1);return b.jsxs("tr",{children:[b.jsx("td",{children:b.jsx("input",{type:"checkbox",name:"publication_ids[]",value:O.publication_id,checked:_,onChange:()=>d(_?l.filter(F=>F!=O.publication_id):[...l,O.publication_id])})}),b.jsx("td",{children:O.title}),b.jsx("td",{children:O.authors.map(F=>`${F.first_name} ${F.last_name}`).join(", ")}),b.jsx("td",{children:O.publication_type}),b.jsxs("td",{children:[L.toLocaleString("default",{month:"short"})," ",O.publication_year]})]},O.publication_id)}),N=`${T?"Select":"Deselect"} all`;return b.jsxs("div",{className:"publications-select",children:[b.jsxs("table",{className:"table",children:[b.jsx("thead",{children:b.jsxs("tr",{children:[b.jsx("th",{children:b.jsx("input",{type:"checkbox",value:"","aria-label":N,title:N,checked:R&&!T,onChange:()=>d(T?h.map(O=>O.publication_id):[]),ref:O=>{O&&(O.indeterminate=R&&T)}})}),b.jsx("th",{children:"Title"}),b.jsx("th",{children:"Authors"}),b.jsx("th",{children:"Type"}),b.jsx("th",{children:"Date"})]})}),b.jsx("tbody",{children:j})]}),b.jsx(P6,{updatePublications:x})]})},V6=()=>`${Math.random().toString(36).slice(2)}`,zw=document.querySelector("#publications-react"),B6=zw?zw.dataset:{},UO={publication_types:[],tag_categories:[],publication:{},projects:[],errors:[],selected_tags:{},data_loaded:!1,saving:!1,show_saved:!1,redirect:B6.redirect||!1,modal:zw==null,form_valid:!1,grant_number:""},z6=(n=UO,r)=>{const{type:i,payload:u}=r;switch(i){case"UPDATE_FIELD":return So(n,d=>(d.publication.fields[u.index].field_value=u.value,d));case"CHANGE_PUB_TYPE":return So(n,d=>{let h=d.publication_types.find(v=>v.publication_type==u).fields;return h.forEach(v=>{const y=d.publication.fields.find(C=>C.csl_field_name==v.csl_field_name);y&&(v.value=y.value)}),d.publication.publication_type=u,d.publication.fields=h,d});case"UPDATE_PUBLICATION":return{...n,publication:{...n.publication,[u.key]:u.value}};case"SET_PUBLICATION":return So(n,d=>(d.publication.fields.forEach(h=>{h.field_value=u[h.csl_field_name]}),Object.keys(d.publication).forEach(h=>{u[h]&&(d.publication[h]=u[h])}),d.form_valid=u.title.trim()!="",d));case"ADD_AUTHOR":{const l={portal_username:"",first_name:"",middle_name:"",last_name:"",prefix:"",suffix:"",initials:"",affiliation:"",hash:{}};return So(n,h=>{h.publication.authors.push(l)})}case"UPDATE_AUTHOR":return So(n,d=>{d.publication.authors[u.idx][u.key]=u.value});case"TOGGLE_TAG":return So(n,d=>{let h=d.tag_categories.find(v=>v.publication_tags_category_id==u.publication_tags_category_id);h.tags[u.idx].selected=!h.tags[u.idx].selected});case"TOGGLE_REQUEST":return So(n,d=>(d.projects[u].selected=!d.projects[u].selected,d));case"UPDATE_ERRORS":{const l={id:V6(),message:u};return{...n,errors:[...n.errors,l]}}case"HIDE_ERROR":{const l=n.errors.filter(d=>d.id!=u);return{...n,errors:l}}case"UPDATE_SELECTED_TAGS":return So(n,d=>{const h=u.tags.map(v=>v.value);return d.selected_tags[u.category]=h,d});case"DELETE_AUTHOR":return So(n,d=>(d.publication.authors.splice(u,1),d));case"DATA_LOADED":return So(n,d=>(d.publication=u.publication,d.form_valid=u.publication.title.trim()!="",d.publication.authors.forEach(h=>{h.affiliation||(h.affiliation="")}),d.publication_types=u.publication_types,d.tag_categories=u.tag_categories,d.projects=u.publication.projects,u.publication.tags.forEach(h=>d.selected_tags[h.label]=h.options.map(v=>v.value)),d.data_loaded=!0,d));case"UPDATE_SHOW_SAVED":return{...n,show_saved:u};case"UPDATE_SAVING":return{...n,saving:u};case"RESET_STATE":return UO;case"SET_FORM_VALID":return{...n,form_valid:u};case"SET_GRANT_NUMBER":return{...n,grant_number:u};case"ADD_PROJECT":return{...n,projects:[...n.projects,u]};default:return n}},H6={catalogs:{},filteredResources:[],filters:[],hasErrors:!1,onRamps:!1,resources:[],resourcesLoaded:!1,resourceSorting:{"NSF Capacity Resources":1,"NSF Innovative Testbeds":2,"Other NSF-funded Resources":3,"Services and Support":4}},r0=Di("resourceCatalog/getResources",async(n,{dispatch:r})=>{r($O(!1));let i=[];n.catalogSources?i=n.catalogSources:i.push({...n,catalogLabel:"Default"}),n.onRamps&&i.push({apiUrl:"https://allocations.access-ci.org/resources.json",catalogLabel:"ACCESS",allowedCategories:[],allowedFilters:[],allowedResources:[],excludedCategories:["Resource Category"],excludedFilters:[],excludedResources:["ACCESS Credits"]});const u=await Promise.all(i.map(async l=>{const h=await(await fetch(l.apiUrl)).json();return{...l,data:h}}));r(W6({data:u,params:n})),r($O(!0))});Di("resourceCatalog/getResources",async(n,{dispatch:r})=>{r(Y6(n)),r(Qk())});const U6=n=>{const r=[],i=n.filter(u=>u.features.filter(l=>l.selected).length>0);return n.forEach(u=>{u.features.forEach(l=>{l.selected&&r.push(l.featureId)})}),i.map(u=>({...u,features:u.features.filter(l=>l.selected)}))},$6=n=>{const r={},i={};let u={};return n.forEach(d=>{r[d.catalogLabel]={...d,resourceIds:[],selected:!1,catalogId:d.catalogLabel.replace(/[^(A-z)]/,"")},delete r[d.catalogLabel].data,d.data.forEach(h=>{if(Hw(d.allowedResources,d.excludedResources,h.resourceName)){const{categories:v,formattedResource:y}=G6(d,h,u);i[h.resourceId]=y,r[d.catalogLabel].resourceIds.push(h.resourceId),u=v}})}),{resources:Object.keys(i).map(d=>i[d]),catalogs:r,categories:u}},Hw=(n,r,i)=>!n&&!r||n&&n.length==0&&r&&r.length==0?!0:n&&n.length>0?n.find(u=>u==i):r&&r.length>0?!r.find(u=>u==i):!0,G6=(n,r,i)=>{const u=[];let l="";r.featureCategories.filter(v=>v.categoryIsFilter).forEach(v=>{const y=v.categoryId;v.categoryName=="ACCESS Resource Grouping"?l=v.features[0].name:(!i[y]&&Hw(n.allowedCategories,n.excludedCategories,v.categoryName)&&(i[y]={categoryId:y,categoryName:v.categoryName,categoryDescription:v.categoryDescription,features:{}}),v.features.forEach(C=>{const x={featureId:C.featureId,name:C.name,description:C.description,categoryId:y,selected:!1},R=Hw(n.allowedFilters,n.excludedFilters,x.name);R&&u.push(x),i[y]&&R&&!i[y].features[C.featureId]&&(i[y].features[C.featureId]=x)}))});const d=u.map(v=>v.name).sort((v,y)=>v>y);return{formattedResource:{...r,resourceName:r.resourceName.trim(),features:d,featureIds:u.map(v=>v.featureId),sortCategory:l},categories:i}},qk=D0({name:"resourceCatalog",initialState:H6,reducers:{handleResponse:(n,{payload:r})=>{const i=r.data,{resources:u,catalogs:l,categories:d}=$6(i);n.catalogs=l,n.onRamps=r.params.onRamps;for(const h in d){const v=d[h],y=[];for(const C in v.features)y.push(v.features[C]);n.filters.push({...v,features:y.sort((C,x)=>C.name>x.name)})}n.filters=n.filters.sort((h,v)=>h.categoryName.localeCompare(v.categoryName)),n.resources=u.sort((h,v)=>h.resourceName.localeCompare(v.resourceName)).sort((h,v)=>n.resourceSorting[h.sortCategory]>n.resourceSorting[v.sortCategory]),n.filteredResources=[...n.resources],n.resourcesLoaded=!0},resetFilters:n=>{n.filters.forEach(r=>{r.features.forEach(i=>i.selected=!1)}),n.filteredResources=[...n.resources]},setResourcesLoaded:(n,{payload:r})=>{n.resourcesLoaded=r},toggleCatalog:(n,{payload:r})=>{const{catalog:i,selected:u}=r;n.catalogs[i.catalogLabel].selected=u},toggleFilter:(n,{payload:r})=>{if(r){const h=r,y=n.filters.find(C=>C.categoryId==h.categoryId).features.find(C=>C.featureId==h.featureId);y.selected=!y.selected}const i=U6(n.filters);let u=[];if(i.length>0){const h=i.map(v=>v.features.map(y=>y.featureId));n.resources.forEach(v=>{let y=0;h.forEach(C=>{let x=!1;v.featureIds.forEach(R=>{C.indexOf(R)>=0&&(x=!0)}),x&&(y+=1)}),y>=h.length&&u.push(v)})}else u=n.resources;const l=Object.keys(n.catalogs).map(h=>n.catalogs[h]),d=l.filter(h=>h.selected);if(d.length>0&&d.length<l.length){const h=d.map(v=>v.resourceIds).flat();u=u.filter(v=>h.indexOf(v.resourceId)>=0)}n.filteredResources=u}},extraReducers:n=>{n.addCase(r0.pending,r=>{}).addCase(r0.fulfilled,(r,i)=>{}).addCase(r0.rejected,(r,i)=>{r.hasErrors=!0,console.log(i.error)})}}),{handleResponse:W6,processData:Y8,resetFilters:X6,setResourcesLoaded:$O,toggleCatalog:Y6,toggleFilter:Qk}=qk.actions,Kk=n=>n.resourceCatalog.catalogs,Z6=n=>n.resourceCatalog.filters,J6=n=>n.resourceCatalog.hasErrors,q6=n=>n.resourceCatalog.resourcesLoaded,Q6=n=>n.resourceCatalog.filteredResources,K6=qk.reducer,e8="_access_1yrq0_2",t8="_resourceName_1yrq0_6",n8="_description_1yrq0_11",r8="_filterBar_1yrq0_15",a8="_cardBg_1yrq0_20",i8="_active_1yrq0_25",o8="_plainButton_1yrq0_30",s8="_btnSecondary_1yrq0_40",l8="_filtersHidden_1yrq0_51",u8="_filtersVisible_1yrq0_57",Eo={access:e8,resourceName:t8,description:n8,filterBar:r8,cardBg:a8,active:i8,plainButton:o8,btnSecondary:s8,filtersHidden:l8,filtersVisible:u8},c8=({resource:n})=>{const[r,i]=M.useState(!0),u=C=>{const x={"CPU Compute":"cpu-fill","GPU Compute":"gpu-card",Cloud:"cloud-fill","Commercial Cloud":"cloud-fill",Storage:"database-fill","Service / Other":"journal","Innovative / Novel Compute":"pc"};return x[C]?b.jsx("i",{title:C,className:`bi bi-${x[C]} me-2 `},`${n.resourceId}_${x[C]}`):""},l=()=>b.jsxs("span",{className:"float-end",children:[n.features.map(C=>u(C)),n.resourceType]}),d=C=>C.length==0?"":b.jsx(b.Fragment,{children:C.map((x,R)=>b.jsx("span",{className:"badge text-bg-secondary me-2",children:x},`feature_${n.resourceId}_${R}`))}),h=()=>{let C=n.resourceDescription;return C&&C!=""?(Eo.plainButton,b.jsxs(b.Fragment,{children:[b.jsx("div",{className:"row",children:b.jsxs("div",{className:"col fw-bold",children:["About ",n.resourceName]})}),b.jsx("div",{className:"row mb-3",children:b.jsxs("div",{className:"col ",children:[b.jsx("div",{className:Eo.description,dangerouslySetInnerHTML:{__html:C}}),""]})})]})):""},v=()=>n.recommendedUse&&n.recommendedUse!=""?b.jsxs(b.Fragment,{children:[b.jsx("div",{className:"row",children:b.jsx("div",{className:"col fw-bold",children:"Recommended Use"})}),b.jsx("div",{className:"row mb-3",children:b.jsx("div",{className:"col",children:b.jsx("div",{className:Eo.description,dangerouslySetInnerHTML:{__html:n.recommendedUse}})})})]}):"",y=()=>Eo.cardBg;return b.jsx(b.Fragment,{children:b.jsx("div",{className:"row",children:b.jsx("div",{className:"col",children:b.jsxs("div",{className:"card mb-3",children:[b.jsxs("div",{className:`card-header ${y()}`,children:[b.jsx("span",{className:"",children:n.resourceName}),l()]}),b.jsxs("div",{className:"card-body",children:[b.jsx("div",{className:"row mb-3",children:b.jsx("div",{className:"col",children:d(n.features)})}),v(),h()]}),b.jsx("div",{className:"card-footer",children:b.jsxs("a",{target:"_blank",href:n.userGuideUrl,className:"btn btn-info me-2 fw-bold",children:["System Info ",b.jsx("i",{className:"bi bi-box-arrow-up-right"})]})})]})})})})},f8=({filter:n})=>{const r=Io(),i=()=>{r(Qk(n))};return b.jsx("div",{className:"row",children:b.jsx("div",{className:"col",children:b.jsxs("div",{className:"form-check",children:[b.jsx("label",{className:"form-check-label",htmlFor:`filter_${n.featureId}`,children:n.name}),b.jsx("input",{className:"form-check-input",type:"checkbox",value:n.featureId,id:`filter_${n.featureId}`,checked:n.selected,onChange:i})]})})})},d8=({category:n})=>b.jsx("div",{className:"row",children:b.jsxs("div",{className:"col",children:[b.jsx("div",{className:"fw-bold mb-1 mt-1",children:b.jsx("abbr",{title:n.categoryDescription,children:n.categoryName})}),n.features.map(r=>b.jsx(f8,{filter:r},r.featureId))]})}),p8=({onReset:n})=>{const r=Io(),i=dr(Kk),u=dr(Z6),l=u.filter(d=>d.features.filter(h=>h.selected).length>0);return Object.keys(i).map(d=>i[d]),b.jsxs(b.Fragment,{children:[u.map(d=>b.jsx(d8,{category:d},d.categoryId)),b.jsx("button",{className:"btn btn-warning mt-2 mb-2",onClick:()=>r(X6()),disabled:l.length==0,children:"Reset Filters"}),b.jsx("button",{className:"btn btn-outline-primary ms-3 mt-2 mb-2",onClick:n,children:"Close Menu"})]})},v8=()=>{const[n,r]=M.useState(!1),i=M.useRef(null),u=()=>{const l=i.current;n?(l.style.height="0px",l.classList.remove(Eo.filtersVisible),l.classList.add(Eo.filtersHidden)):(l.style.height=l.scrollHeight+"px",l.classList.remove(Eo.filtersHidden),l.classList.add(Eo.filtersVisible)),r(!n)};return b.jsx("div",{className:Eo.filterBar,children:b.jsx("div",{className:"row mb-2",children:b.jsx("div",{className:"col pt-2 pb-2",children:b.jsxs("div",{className:"p-1 pb-0 border-bottom bg-white shadow",children:[b.jsxs("button",{className:"btn btn-outline-primary mb-1 mt-1",type:"button",onClick:u,children:[b.jsx("i",{className:"bi bi-filter"})," Filters"]}),b.jsx("div",{className:`${Eo.filtersHidden} pe-2 ps-2`,id:"filtersList",ref:i,children:b.jsx(p8,{onReset:u})})]})})})})},h8=()=>{const n=dr(Q6);return n.length==0?b.jsx("div",{className:"fw-bold",children:"No Resources Match Your Filters"}):b.jsx("div",{className:"card shadow",children:b.jsxs("div",{className:"card-body",children:[b.jsx(v8,{}),n.map(r=>b.jsx(c8,{resource:r},r.resourceId))]})})},m8=({baseUrl:n})=>b.jsxs(b.Fragment,{children:[b.jsx("div",{className:"row",children:b.jsx("div",{className:"col d-flex",children:b.jsx("img",{alt:"Access Logo",style:{height:"75px"},src:`${n}/access_logo.png`})})}),b.jsx("div",{className:"row",children:b.jsx("div",{className:"col",children:b.jsx("h3",{className:"border-bottom",children:"NSF ACCESS Resources"})})}),b.jsx("div",{className:"row",children:b.jsxs("div",{className:"col",children:[b.jsx("h4",{children:"Discover the nationwide NSF cyberinfrastructure"}),b.jsx("p",{children:"Need advanced computing and storage options for your research or classroom? The ACCESS program has been established and funded by the U.S. National Science Foundation to help you - the nation's researchers and educators - to use some of the country's most advanced computing systems and services - at no cost to you."}),b.jsx("p",{children:"Thousands of researchers, instructors, and students from institutions large and small use ACCESS-integrated resources every year. With more than 30 resources from more than 15 resource providers, there's bound to be a resource for you, your lab, or your class."}),b.jsx("p",{children:"Explore the resource catalog below - filter the list to discover the resources that have the features or services to accelerate your activities. The System Info button will take you to the resource's documentation for all the details."}),b.jsx("p",{children:'Ready to begin? Click the "Get Your First Project" button and join the ACCESS community!'}),b.jsx("p",{children:b.jsxs("a",{href:"https://allocations.access-ci.org/get-your-first-project",target:"_blank",className:`btn btn-secondary fw-bold ${Eo.btnSecondary}`,children:["Get Your First Project ",b.jsx("i",{className:"bi bi-box-arrow-up-right"})]})}),b.jsxs("p",{children:["If you have feedback for ACCESS, please complete our",b.jsx("a",{target:"_blank",href:"https://docs.google.com/forms/d/e/1FAIpQLSdn-SXokNB_5s0r2SA_S9ZIZWZFlVPRD2OHepTH5HY2YND_zw/viewform",children:" Feedback Form"}),".",b.jsx("br",{}),"If you have questions, please",b.jsx("a",{target:"_blank",href:"https://support.access-ci.org/user/login?destination=/open-a-ticket",children:" open a help ticket"}),"."]})]})})]}),g8=({catalogSources:n=[],onRamps:r=!1,baseUrl:i})=>{const u=Io(),l=dr(q6),d=dr(J6),h=dr(Kk),v=Object.keys(h).map(C=>h[C]);M.useEffect(()=>{u(r0({catalogSources:n,onRamps:r}))},[]);const y=()=>r&&v.length>1?b.jsx(b.Fragment,{children:v.filter(C=>C.catalogLabel!="ACCESS").map((C,x)=>b.jsx("div",{className:"row mb-3",children:b.jsxs("div",{className:"col",children:[b.jsxs("h4",{className:"border-bottom",children:["About ",C.catalogLabel]}),b.jsx("div",{dangerouslySetInnerHTML:{__html:C.description}})]})},`catalog_${x}`))}):"";return d?b.jsx("div",{className:"row",children:b.jsx("div",{className:"col text-center mt-2",children:b.jsx("h4",{children:"Unable to Load Resources"})})}):l?b.jsxs("div",{className:`container mt-3 ${Eo.access}`,children:[r?b.jsx(m8,{baseUrl:i}):"",y(),b.jsx("div",{className:"row",children:b.jsx("div",{className:"col",children:b.jsx(h8,{})})})]}):b.jsx(Mm,{})},y8={filters:[],resources:[],filteredResources:[],resourcesLoaded:!1,hasErrors:!1,resourceSorting:{"NSF Capacity Resources":1,"NSF Innovative Testbeds":2,"Other NSF-funded Resources":3,"Services and Support":4}},a0=Di("resourceCatalog/getResources",async(n,{dispatch:r})=>{const u=await(await fetch(n.apiUrl)).json();r(C8({data:u,params:n}))}),b8=n=>{const r=[],i=n.filter(u=>u.features.filter(l=>l.selected).length>0);return n.forEach(u=>{u.features.forEach(l=>{l.selected&&r.push(l.featureId)})}),i.map(u=>({...u,features:u.features.filter(l=>l.selected)}))},GO=(n,r,i)=>{if(n.length==0&&r.length==0)return!0;if(n.length>0)return n.find(u=>u==i);if(r.length>0)return!r.find(u=>u==i)},eM=D0({name:"resourceCatalog",initialState:y8,reducers:{handleResponse:(n,{payload:r})=>{const i=r.data,u=r.params.excludedCategories,l=r.params.excludedFilters,d=r.params.excludedResources,h=r.params.allowedCategories,v=r.params.allowedFilters,y=[],C={};i.filter(x=>!d.includes(x.resourceName)).forEach(x=>{const R=[];let T="";x.featureCategories.filter(N=>N.categoryIsFilter).forEach(N=>{const O=N.categoryId;N.categoryName=="ACCESS Resource Grouping"?T=N.features[0].name:(!C[O]&&GO(h,u,N.categoryName)&&(C[O]={categoryId:O,categoryName:N.categoryName,categoryDescription:N.categoryDescription,features:{}}),N.features.forEach(_=>{const L={featureId:_.featureId,name:_.name,description:_.description,categoryId:O,selected:!1},F=GO(v,l,L.name);F&&R.push(L),C[O]&&F&&!C[O].features[_.featureId]&&(C[O].features[_.featureId]=L)}))});const j={resourceName:x.resourceName,resourceId:x.resourceId,resourceType:x.resourceType,organization:x.organization,units:x.units,userGuideUrl:x.userGuideUrl,resourceDescription:x.resourceDescription,description:x.description,recommendedUse:x.recommendedUse,features:R.map(N=>N.name).sort((N,O)=>N>O),featureIds:R.map(N=>N.featureId),sortCategory:T};y.push(j)});for(const x in C){const R=C[x],T=[];for(const j in R.features)T.push(R.features[j]);n.filters.push({...R,features:T.sort((j,N)=>j.name>N.name)})}n.filters=n.filters.sort((x,R)=>x.categoryName.localeCompare(R.categoryName)),n.resources=y.sort((x,R)=>x.resourceName.localeCompare(R.resourceName)).sort((x,R)=>n.resourceSorting[x.sortCategory]>n.resourceSorting[R.sortCategory]),n.filteredResources=[...n.resources],n.resourcesLoaded=!0},resetFilters:n=>{n.filters.forEach(r=>{r.features.forEach(i=>i.selected=!1)}),n.filteredResources=[...n.resources]},toggleFilter:(n,{payload:r})=>{const i=r,l=n.filters.find(h=>h.categoryId==i.categoryId).features.find(h=>h.featureId==i.featureId);l.selected=!l.selected;const d=b8(n.filters);if(d.length>0){const h=[],v=d.map(y=>y.features.map(C=>C.featureId));n.resources.forEach(y=>{let C=0;v.forEach(x=>{let R=!1;y.featureIds.forEach(T=>{x.indexOf(T)>=0&&(R=!0)}),R&&(C+=1)}),C>=v.length&&h.push(y)}),n.filteredResources=h}else n.filteredResources=[...n.resources]}},extraReducers:n=>{n.addCase(a0.pending,r=>{}).addCase(a0.fulfilled,(r,i)=>{}).addCase(a0.rejected,(r,i)=>{r.hasErrors=!0,console.log(i.error)})}}),{handleResponse:C8,processData:Z8,resetFilters:x8,toggleFilter:S8}=eM.actions,E8=n=>n.resourceCatalog.hasErrors,w8=n=>n.resourceCatalog.resourcesLoaded,R8=n=>n.resourceCatalog.filters,T8=n=>n.resourceCatalog.filteredResources,I8=eM.reducer,N8=({resource:n})=>{const r=u=>u.length==0?"":b.jsx("ul",{children:u.map((l,d)=>b.jsx("li",{children:l},`feature_${n.resourceId}_${d}`))}),i=(u,l)=>l&&l!=""?b.jsxs(b.Fragment,{children:[b.jsx("div",{className:"row",children:b.jsx("div",{className:"col fw-bold",children:u})}),b.jsx("div",{className:"row mb-3",children:b.jsx("div",{className:"col",dangerouslySetInnerHTML:{__html:l}})})]}):"";return b.jsxs(ss.Item,{eventKey:n.resourceId,children:[b.jsx(ss.Header,{children:n.resourceName}),b.jsxs(ss.Body,{children:[b.jsx("table",{className:"table",children:b.jsxs("tbody",{children:[b.jsxs("tr",{children:[b.jsx("td",{className:"fw-bold",children:"Resource Type:"}),b.jsx("td",{children:n.resourceType})]}),b.jsxs("tr",{children:[b.jsx("td",{className:"fw-bold",children:"Organization:"}),b.jsx("td",{children:n.organization})]}),b.jsxs("tr",{children:[b.jsx("td",{className:"fw-bold",children:"Units:"}),b.jsx("td",{children:n.units})]}),b.jsxs("tr",{children:[b.jsx("td",{className:"fw-bold",children:"User Guide:"}),b.jsx("td",{children:n.userGuideUrl==""?"":b.jsx("a",{href:n.userGuideUrl,target:"_blank",rel:"noreferrer",children:"Link to User Guide"})})]}),b.jsxs("tr",{children:[b.jsx("td",{className:"fw-bold",children:"Features Available:"}),b.jsx("td",{children:r(n.features)})]})]})}),i("Resource Description",n.resourceDescription),i("Allocations Description",n.description),i("Recommended Use",n.recommendedUse)]})]})},_8=()=>{const n=dr(T8);return n.length==0?b.jsx("div",{className:"fw-bold",children:"No Resources Match Your Filters"}):b.jsxs("div",{children:[b.jsx("h4",{className:"mb-0",children:"Resources"}),b.jsx(ss,{children:n.map(r=>b.jsx(N8,{resource:r},r.resourceId))})]})},O8=({filter:n})=>{const r=Io(),i=()=>{r(S8(n))};return b.jsx("div",{className:"row",children:b.jsx("div",{className:"col",children:b.jsxs("div",{className:"form-check",children:[b.jsx("label",{className:"form-check-label",htmlFor:`filter_${n.featureId}`,children:n.name}),b.jsx("input",{className:"form-check-input",type:"checkbox",value:n.featureId,id:`filter_${n.featureId}`,checked:n.selected,onChange:i})]})})})},A8=({category:n})=>b.jsx("div",{className:"row",children:b.jsxs("div",{className:"col",children:[b.jsx("div",{className:"fw-bold mb-1 mt-1",children:b.jsx("abbr",{title:n.categoryDescription,children:n.categoryName})}),n.features.map(r=>b.jsx(O8,{filter:r},r.featureId))]})}),j8=()=>{const n=Io(),r=dr(R8),i=r.filter(u=>u.features.filter(l=>l.selected).length>0);return b.jsxs("div",{children:[b.jsx("h4",{className:"mb-0",children:"Filters"}),r.map(u=>b.jsx(A8,{category:u},u.categoryId)),b.jsx("button",{className:"btn btn-warning mt-2 mb-2",onClick:()=>n(x8()),disabled:i.length==0,children:"Reset Filters"})]})},D8=({apiUrl:n,excludedCategories:r=[],excludedFilters:i=[],excludedResources:u=[],allowedCategories:l=[],allowedFilters:d=[]})=>{const h=Io(),v=dr(w8),y=dr(E8);return M.useEffect(()=>{h(a0({apiUrl:n,excludedCategories:r,excludedFilters:i,excludedResources:u,allowedCategories:l,allowedFilters:d}))},[]),y?b.jsx("div",{className:"row",children:b.jsx("div",{className:"col text-center mt-2",children:b.jsx("h4",{children:"Unable to Load Resources"})})}):v?b.jsx(b.Fragment,{children:b.jsxs("div",{className:"row mt-3",children:[b.jsx("div",{className:"col-sm-4",children:b.jsx(j8,{})}),b.jsx("div",{className:"col-sm-8",children:b.jsx(_8,{})})]})}):b.jsx(Mm,{})};function k8(n,{bootstrapFonts:r=!0,bootstrapVariables:i=!0,access:u=!1,baseUrl:l=null}={}){const d=n.attachShadow({mode:"open"}),h=document.createElement("div"),v=document.createElement("div"),y=document.createElement("div"),C=document.createElement("div"),x=document.createElement("link"),R=document.createElement("link"),T=document.createElement("link");return l=l??(typeof document>"u"?require("url").pathToFileURL(__filename).href:IN&&IN.src||new URL("xras-ui.cjs",document.baseURI).href).replace(/\/[^/]+$/,""),x.rel="stylesheet",x.href=`${l}/bootstrap.css`,R.rel="stylesheet",R.href=`${l}/xras-ui.css`,T.rel="stylesheet",T.href=`${l}/access.css`,y.appendChild(C),v.appendChild(y),h.appendChild(v),d.appendChild(x),d.appendChild(R),d.appendChild(T),d.appendChild(h),h.classList.add("bootstrap"),i&&v.classList.add("bootstrap-variables"),r&&(y.classList.add("bootstrap-fonts"),y.setAttribute("data-bs-theme","light")),C}function M8({target:n}){us.createRoot(n).render(b.jsx(zU,{}))}function L8({target:n,username:r,routes:i}){i&&(Nn.routes=i);const u=Om({reducer:{api:g$}});us.createRoot(n).render(b.jsx(Qp,{store:u,children:b.jsx(uZ,{username:r})}))}function P8({target:n,apiUrl:r}){const i=Om({reducer:{projectsBrowser:SZ},preloadedState:{projectsBrowser:{...Lk,apiUrl:r}}});us.createRoot(n).render(b.jsx(Qp,{store:i,children:b.jsx(TZ,{})}))}function tM(){return Om({reducer:{publications_store:z6}})}function F8({target:n,routes:r}){r&&(hc.routes=r),us.createRoot(n).render(b.jsx(Qp,{store:tM(),children:b.jsx(Jk,{})}))}function V8({target:n,routes:r}){r&&(hc.routes=r),us.createRoot(n).render(b.jsx(Qp,{store:tM(),children:b.jsx(F6,{...JSON.parse(n.dataset.publicationsSelectProps)})}))}function B8({target:n,catalogSources:r,onRamps:i,baseUrl:u}){const l=Om({reducer:{resourceCatalog:K6}});us.createRoot(n).render(b.jsx(Qp,{store:l,children:b.jsx(g8,{catalogSources:r,onRamps:i,baseUrl:u})}))}function z8({target:n,apiUrl:r,excludedCategories:i,excludedFilters:u,excludedResources:l,allowedCategories:d,allowedFilters:h}){const v=Om({reducer:{resourceCatalog:I8}});us.createRoot(n).render(b.jsx(Qp,{store:v,children:b.jsx(D8,{apiUrl:r,excludedCategories:i,excludedFilters:u,excludedResources:l,allowedCategories:d,allowedFilters:h})}))}exports.allocationsMap=M8;exports.onRampsResourceCatalog=B8;exports.projects=L8;exports.projectsBrowser=P8;exports.publications=F8;exports.publicationsSelect=V8;exports.resourceCatalog=z8;exports.shadowTarget=k8;