@xras/ui 0.1.2 → 0.1.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/CHANGELOG.md +41 -0
- package/README.md +57 -1
- package/dist/bootstrap.css +1 -0
- package/dist/xras-ui.cjs +309 -0
- package/dist/xras-ui.js +17 -12
- package/package.json +2 -1
- package/dist/xras-ui.umd.cjs +0 -309
package/dist/xras-ui.umd.cjs
DELETED
|
@@ -1,309 +0,0 @@
|
|
|
1
|
-
(function(na,Oi){typeof exports=="object"&&typeof module<"u"?Oi(exports):typeof define=="function"&&define.amd?define(["exports"],Oi):(na=typeof globalThis<"u"?globalThis:na||self,Oi(na.XrasUi={}))})(this,function(na){"use strict";var bY=Object.defineProperty;var CY=(na,Oi,Zi)=>Oi in na?bY(na,Oi,{enumerable:!0,configurable:!0,writable:!0,value:Zi}):na[Oi]=Zi;var kw=(na,Oi,Zi)=>(CY(na,typeof Oi!="symbol"?Oi+"":Oi,Zi),Zi);function Oi(n,r){for(var i=0;i<r.length;i++){const u=r[i];if(typeof u!="string"&&!Array.isArray(u)){for(const l in u)if(l!=="default"&&!(l in n)){const d=Object.getOwnPropertyDescriptor(u,l);d&&Object.defineProperty(n,l,d.get?d:{enumerable:!0,get:()=>u[l]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}function Zi(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var F0={exports:{}},Gp={},_m={exports:{}},Gt={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react.production.min.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Mw;function kk(){if(Mw)return Gt;Mw=1;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),p=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),R=Symbol.iterator;function T(L){return L===null||typeof L!="object"?null:(L=R&&L[R]||L["@@iterator"],typeof L=="function"?L:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,j={};function O(L,q,se){this.props=L,this.context=q,this.refs=j,this.updater=se||A}O.prototype.isReactComponent={},O.prototype.setState=function(L,q){if(typeof L!="object"&&typeof L!="function"&&L!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,L,q,"setState")},O.prototype.forceUpdate=function(L){this.updater.enqueueForceUpdate(this,L,"forceUpdate")};function P(){}P.prototype=O.prototype;function B(L,q,se){this.props=L,this.context=q,this.refs=j,this.updater=se||A}var F=B.prototype=new P;F.constructor=B,N(F,O.prototype),F.isPureReactComponent=!0;var U=Array.isArray,z=Object.prototype.hasOwnProperty,G={current:null},X={key:!0,ref:!0,__self:!0,__source:!0};function te(L,q,se){var xe,Ee={},De=null,ie=null;if(q!=null)for(xe in q.ref!==void 0&&(ie=q.ref),q.key!==void 0&&(De=""+q.key),q)z.call(q,xe)&&!X.hasOwnProperty(xe)&&(Ee[xe]=q[xe]);var he=arguments.length-2;if(he===1)Ee.children=se;else if(1<he){for(var Te=Array(he),Ve=0;Ve<he;Ve++)Te[Ve]=arguments[Ve+2];Ee.children=Te}if(L&&L.defaultProps)for(xe in he=L.defaultProps,he)Ee[xe]===void 0&&(Ee[xe]=he[xe]);return{$$typeof:n,type:L,key:De,ref:ie,props:Ee,_owner:G.current}}function Re(L,q){return{$$typeof:n,type:L.type,key:q,ref:L.ref,props:L.props,_owner:L._owner}}function ue(L){return typeof L=="object"&&L!==null&&L.$$typeof===n}function pe(L){var q={"=":"=0",":":"=2"};return"$"+L.replace(/[=:]/g,function(se){return q[se]})}var ye=/\/+/g;function me(L,q){return typeof L=="object"&&L!==null&&L.key!=null?pe(""+L.key):q.toString(36)}function Ae(L,q,se,xe,Ee){var De=typeof L;(De==="undefined"||De==="boolean")&&(L=null);var ie=!1;if(L===null)ie=!0;else switch(De){case"string":case"number":ie=!0;break;case"object":switch(L.$$typeof){case n:case r:ie=!0}}if(ie)return ie=L,Ee=Ee(ie),L=xe===""?"."+me(ie,0):xe,U(Ee)?(se="",L!=null&&(se=L.replace(ye,"$&/")+"/"),Ae(Ee,q,se,"",function(Ve){return Ve})):Ee!=null&&(ue(Ee)&&(Ee=Re(Ee,se+(!Ee.key||ie&&ie.key===Ee.key?"":(""+Ee.key).replace(ye,"$&/")+"/")+L)),q.push(Ee)),1;if(ie=0,xe=xe===""?".":xe+":",U(L))for(var he=0;he<L.length;he++){De=L[he];var Te=xe+me(De,he);ie+=Ae(De,q,se,Te,Ee)}else if(Te=T(L),typeof Te=="function")for(L=Te.call(L),he=0;!(De=L.next()).done;)De=De.value,Te=xe+me(De,he++),ie+=Ae(De,q,se,Te,Ee);else if(De==="object")throw q=String(L),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(L).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.");return ie}function _e(L,q,se){if(L==null)return L;var xe=[],Ee=0;return Ae(L,xe,"","",function(De){return q.call(se,De,Ee++)}),xe}function Oe(L){if(L._status===-1){var q=L._result;q=q(),q.then(function(se){(L._status===0||L._status===-1)&&(L._status=1,L._result=se)},function(se){(L._status===0||L._status===-1)&&(L._status=2,L._result=se)}),L._status===-1&&(L._status=0,L._result=q)}if(L._status===1)return L._result.default;throw L._result}var Ie={current:null},ve={transition:null},Pe={ReactCurrentDispatcher:Ie,ReactCurrentBatchConfig:ve,ReactCurrentOwner:G};return Gt.Children={map:_e,forEach:function(L,q,se){_e(L,function(){q.apply(this,arguments)},se)},count:function(L){var q=0;return _e(L,function(){q++}),q},toArray:function(L){return _e(L,function(q){return q})||[]},only:function(L){if(!ue(L))throw Error("React.Children.only expected to receive a single React element child.");return L}},Gt.Component=O,Gt.Fragment=i,Gt.Profiler=l,Gt.PureComponent=B,Gt.StrictMode=u,Gt.Suspense=g,Gt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Pe,Gt.cloneElement=function(L,q,se){if(L==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+L+".");var xe=N({},L.props),Ee=L.key,De=L.ref,ie=L._owner;if(q!=null){if(q.ref!==void 0&&(De=q.ref,ie=G.current),q.key!==void 0&&(Ee=""+q.key),L.type&&L.type.defaultProps)var he=L.type.defaultProps;for(Te in q)z.call(q,Te)&&!X.hasOwnProperty(Te)&&(xe[Te]=q[Te]===void 0&&he!==void 0?he[Te]:q[Te])}var Te=arguments.length-2;if(Te===1)xe.children=se;else if(1<Te){he=Array(Te);for(var Ve=0;Ve<Te;Ve++)he[Ve]=arguments[Ve+2];xe.children=he}return{$$typeof:n,type:L.type,key:Ee,ref:De,props:xe,_owner:ie}},Gt.createContext=function(L){return L={$$typeof:p,_currentValue:L,_currentValue2:L,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},L.Provider={$$typeof:d,_context:L},L.Consumer=L},Gt.createElement=te,Gt.createFactory=function(L){var q=te.bind(null,L);return q.type=L,q},Gt.createRef=function(){return{current:null}},Gt.forwardRef=function(L){return{$$typeof:y,render:L}},Gt.isValidElement=ue,Gt.lazy=function(L){return{$$typeof:E,_payload:{_status:-1,_result:L},_init:Oe}},Gt.memo=function(L,q){return{$$typeof:b,type:L,compare:q===void 0?null:q}},Gt.startTransition=function(L){var q=ve.transition;ve.transition={};try{L()}finally{ve.transition=q}},Gt.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},Gt.useCallback=function(L,q){return Ie.current.useCallback(L,q)},Gt.useContext=function(L){return Ie.current.useContext(L)},Gt.useDebugValue=function(){},Gt.useDeferredValue=function(L){return Ie.current.useDeferredValue(L)},Gt.useEffect=function(L,q){return Ie.current.useEffect(L,q)},Gt.useId=function(){return Ie.current.useId()},Gt.useImperativeHandle=function(L,q,se){return Ie.current.useImperativeHandle(L,q,se)},Gt.useInsertionEffect=function(L,q){return Ie.current.useInsertionEffect(L,q)},Gt.useLayoutEffect=function(L,q){return Ie.current.useLayoutEffect(L,q)},Gt.useMemo=function(L,q){return Ie.current.useMemo(L,q)},Gt.useReducer=function(L,q,se){return Ie.current.useReducer(L,q,se)},Gt.useRef=function(L){return Ie.current.useRef(L)},Gt.useState=function(L){return Ie.current.useState(L)},Gt.useSyncExternalStore=function(L,q,se){return Ie.current.useSyncExternalStore(L,q,se)},Gt.useTransition=function(){return Ie.current.useTransition()},Gt.version="18.2.0",Gt}var $p={exports:{}};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/$p.exports;var Pw;function Mk(){return Pw||(Pw=1,function(n,r){process.env.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 i="18.2.0",u=Symbol.for("react.element"),l=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),b=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),j=Symbol.for("react.offscreen"),O=Symbol.iterator,P="@@iterator";function B(D){if(D===null||typeof D!="object")return null;var Y=O&&D[O]||D[P];return typeof Y=="function"?Y:null}var F={current:null},U={transition:null},z={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},G={current:null},X={},te=null;function Re(D){te=D}X.setExtraStackFrame=function(D){te=D},X.getCurrentStack=null,X.getStackAddendum=function(){var D="";te&&(D+=te);var Y=X.getCurrentStack;return Y&&(D+=Y()||""),D};var ue=!1,pe=!1,ye=!1,me=!1,Ae=!1,_e={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:U,ReactCurrentOwner:G};_e.ReactDebugCurrentFrame=X,_e.ReactCurrentActQueue=z;function Oe(D){{for(var Y=arguments.length,ce=new Array(Y>1?Y-1:0),ge=1;ge<Y;ge++)ce[ge-1]=arguments[ge];ve("warn",D,ce)}}function Ie(D){{for(var Y=arguments.length,ce=new Array(Y>1?Y-1:0),ge=1;ge<Y;ge++)ce[ge-1]=arguments[ge];ve("error",D,ce)}}function ve(D,Y,ce){{var ge=_e.ReactDebugCurrentFrame,Be=ge.getStackAddendum();Be!==""&&(Y+="%s",ce=ce.concat([Be]));var gt=ce.map(function(We){return String(We)});gt.unshift("Warning: "+Y),Function.prototype.apply.call(console[D],console,gt)}}var Pe={};function L(D,Y){{var ce=D.constructor,ge=ce&&(ce.displayName||ce.name)||"ReactClass",Be=ge+"."+Y;if(Pe[Be])return;Ie("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.",Y,ge),Pe[Be]=!0}}var q={isMounted:function(D){return!1},enqueueForceUpdate:function(D,Y,ce){L(D,"forceUpdate")},enqueueReplaceState:function(D,Y,ce,ge){L(D,"replaceState")},enqueueSetState:function(D,Y,ce,ge){L(D,"setState")}},se=Object.assign,xe={};Object.freeze(xe);function Ee(D,Y,ce){this.props=D,this.context=Y,this.refs=xe,this.updater=ce||q}Ee.prototype.isReactComponent={},Ee.prototype.setState=function(D,Y){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,Y,"setState")},Ee.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};{var De={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)."]},ie=function(D,Y){Object.defineProperty(Ee.prototype,D,{get:function(){Oe("%s(...) is deprecated in plain JavaScript React classes. %s",Y[0],Y[1])}})};for(var he in De)De.hasOwnProperty(he)&&ie(he,De[he])}function Te(){}Te.prototype=Ee.prototype;function Ve(D,Y,ce){this.props=D,this.context=Y,this.refs=xe,this.updater=ce||q}var Ke=Ve.prototype=new Te;Ke.constructor=Ve,se(Ke,Ee.prototype),Ke.isPureReactComponent=!0;function It(){var D={current:null};return Object.seal(D),D}var Ne=Array.isArray;function dt(D){return Ne(D)}function Bt(D){{var Y=typeof Symbol=="function"&&Symbol.toStringTag,ce=Y&&D[Symbol.toStringTag]||D.constructor.name||"Object";return ce}}function lt(D){try{return yn(D),!1}catch{return!0}}function yn(D){return""+D}function nn(D){if(lt(D))return Ie("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Bt(D)),yn(D)}function Hn(D,Y,ce){var ge=D.displayName;if(ge)return ge;var Be=Y.displayName||Y.name||"";return Be!==""?ce+"("+Be+")":ce}function Mn(D){return D.displayName||"Context"}function Mt(D){if(D==null)return null;if(typeof D.tag=="number"&&Ie("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 d:return"Fragment";case l:return"Portal";case y:return"Profiler";case p:return"StrictMode";case R:return"Suspense";case T:return"SuspenseList"}if(typeof D=="object")switch(D.$$typeof){case b:var Y=D;return Mn(Y)+".Consumer";case g:var ce=D;return Mn(ce._context)+".Provider";case E:return Hn(D,D.render,"ForwardRef");case A:var ge=D.displayName||null;return ge!==null?ge:Mt(D.type)||"Memo";case N:{var Be=D,gt=Be._payload,We=Be._init;try{return Mt(We(gt))}catch{return null}}}return null}var Pn=Object.prototype.hasOwnProperty,$n={key:!0,ref:!0,__self:!0,__source:!0},rr,fr,Qn;Qn={};function St(D){if(Pn.call(D,"ref")){var Y=Object.getOwnPropertyDescriptor(D,"ref").get;if(Y&&Y.isReactWarning)return!1}return D.ref!==void 0}function en(D){if(Pn.call(D,"key")){var Y=Object.getOwnPropertyDescriptor(D,"key").get;if(Y&&Y.isReactWarning)return!1}return D.key!==void 0}function ar(D,Y){var ce=function(){rr||(rr=!0,Ie("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Y))};ce.isReactWarning=!0,Object.defineProperty(D,"key",{get:ce,configurable:!0})}function Ki(D,Y){var ce=function(){fr||(fr=!0,Ie("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Y))};ce.isReactWarning=!0,Object.defineProperty(D,"ref",{get:ce,configurable:!0})}function Ha(D){if(typeof D.ref=="string"&&G.current&&D.__self&&G.current.stateNode!==D.__self){var Y=Mt(G.current.type);Qn[Y]||(Ie('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',Y,D.ref),Qn[Y]=!0)}}var He=function(D,Y,ce,ge,Be,gt,We){var ht={$$typeof:u,type:D,key:Y,ref:ce,props:We,_owner:gt};return ht._store={},Object.defineProperty(ht._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ht,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ge}),Object.defineProperty(ht,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Be}),Object.freeze&&(Object.freeze(ht.props),Object.freeze(ht)),ht};function st(D,Y,ce){var ge,Be={},gt=null,We=null,ht=null,Ft=null;if(Y!=null){St(Y)&&(We=Y.ref,Ha(Y)),en(Y)&&(nn(Y.key),gt=""+Y.key),ht=Y.__self===void 0?null:Y.__self,Ft=Y.__source===void 0?null:Y.__source;for(ge in Y)Pn.call(Y,ge)&&!$n.hasOwnProperty(ge)&&(Be[ge]=Y[ge])}var Kt=arguments.length-2;if(Kt===1)Be.children=ce;else if(Kt>1){for(var In=Array(Kt),Cn=0;Cn<Kt;Cn++)In[Cn]=arguments[Cn+2];Object.freeze&&Object.freeze(In),Be.children=In}if(D&&D.defaultProps){var An=D.defaultProps;for(ge in An)Be[ge]===void 0&&(Be[ge]=An[ge])}if(gt||We){var kn=typeof D=="function"?D.displayName||D.name||"Unknown":D;gt&&ar(Be,kn),We&&Ki(Be,kn)}return He(D,gt,We,ht,Ft,G.current,Be)}function Pt(D,Y){var ce=He(D.type,Y,D.ref,D._self,D._source,D._owner,D.props);return ce}function sn(D,Y,ce){if(D==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+D+".");var ge,Be=se({},D.props),gt=D.key,We=D.ref,ht=D._self,Ft=D._source,Kt=D._owner;if(Y!=null){St(Y)&&(We=Y.ref,Kt=G.current),en(Y)&&(nn(Y.key),gt=""+Y.key);var In;D.type&&D.type.defaultProps&&(In=D.type.defaultProps);for(ge in Y)Pn.call(Y,ge)&&!$n.hasOwnProperty(ge)&&(Y[ge]===void 0&&In!==void 0?Be[ge]=In[ge]:Be[ge]=Y[ge])}var Cn=arguments.length-2;if(Cn===1)Be.children=ce;else if(Cn>1){for(var An=Array(Cn),kn=0;kn<Cn;kn++)An[kn]=arguments[kn+2];Be.children=An}return He(D.type,gt,We,ht,Ft,Kt,Be)}function ln(D){return typeof D=="object"&&D!==null&&D.$$typeof===u}var ir=".",Wn=":";function Yr(D){var Y=/[=:]/g,ce={"=":"=0",":":"=2"},ge=D.replace(Y,function(Be){return ce[Be]});return"$"+ge}var bn=!1,oa=/\/+/g;function cn(D){return D.replace(oa,"$&/")}function fn(D,Y){return typeof D=="object"&&D!==null&&D.key!=null?(nn(D.key),Yr(""+D.key)):Y.toString(36)}function Pi(D,Y,ce,ge,Be){var gt=typeof D;(gt==="undefined"||gt==="boolean")&&(D=null);var We=!1;if(D===null)We=!0;else switch(gt){case"string":case"number":We=!0;break;case"object":switch(D.$$typeof){case u:case l:We=!0}}if(We){var ht=D,Ft=Be(ht),Kt=ge===""?ir+fn(ht,0):ge;if(dt(Ft)){var In="";Kt!=null&&(In=cn(Kt)+"/"),Pi(Ft,Y,In,"",function(wv){return wv})}else Ft!=null&&(ln(Ft)&&(Ft.key&&(!ht||ht.key!==Ft.key)&&nn(Ft.key),Ft=Pt(Ft,ce+(Ft.key&&(!ht||ht.key!==Ft.key)?cn(""+Ft.key)+"/":"")+Kt)),Y.push(Ft));return 1}var Cn,An,kn=0,Ut=ge===""?ir:ge+Wn;if(dt(D))for(var No=0;No<D.length;No++)Cn=D[No],An=Ut+fn(Cn,No),kn+=Pi(Cn,Y,ce,An,Be);else{var wl=B(D);if(typeof wl=="function"){var kc=D;wl===kc.entries&&(bn||Oe("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),bn=!0);for(var Sv=wl.call(kc),Bi,Mc=0;!(Bi=Sv.next()).done;)Cn=Bi.value,An=Ut+fn(Cn,Mc++),kn+=Pi(Cn,Y,ce,An,Be)}else if(gt==="object"){var Pc=String(D);throw new Error("Objects are not valid as a React child (found: "+(Pc==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":Pc)+"). If you meant to render a collection of children, use an array instead.")}}return kn}function li(D,Y,ce){if(D==null)return D;var ge=[],Be=0;return Pi(D,ge,"","",function(gt){return Y.call(ce,gt,Be++)}),ge}function ls(D){var Y=0;return li(D,function(){Y++}),Y}function pu(D,Y,ce){li(D,function(){Y.apply(this,arguments)},ce)}function dl(D){return li(D,function(Y){return Y})||[]}function To(D){if(!ln(D))throw new Error("React.Children.only expected to receive a single React element child.");return D}function cs(D){var Y={$$typeof:b,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};Y.Provider={$$typeof:g,_context:Y};var ce=!1,ge=!1,Be=!1;{var gt={$$typeof:b,_context:Y};Object.defineProperties(gt,{Provider:{get:function(){return ge||(ge=!0,Ie("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),Y.Provider},set:function(We){Y.Provider=We}},_currentValue:{get:function(){return Y._currentValue},set:function(We){Y._currentValue=We}},_currentValue2:{get:function(){return Y._currentValue2},set:function(We){Y._currentValue2=We}},_threadCount:{get:function(){return Y._threadCount},set:function(We){Y._threadCount=We}},Consumer:{get:function(){return ce||(ce=!0,Ie("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),Y.Consumer}},displayName:{get:function(){return Y.displayName},set:function(We){Be||(Oe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",We),Be=!0)}}}),Y.Consumer=gt}return Y._currentRenderer=null,Y._currentRenderer2=null,Y}var Ua=-1,eo=0,Ga=1,to=2;function sa(D){if(D._status===Ua){var Y=D._result,ce=Y();if(ce.then(function(gt){if(D._status===eo||D._status===Ua){var We=D;We._status=Ga,We._result=gt}},function(gt){if(D._status===eo||D._status===Ua){var We=D;We._status=to,We._result=gt}}),D._status===Ua){var ge=D;ge._status=eo,ge._result=ce}}if(D._status===Ga){var Be=D._result;return Be===void 0&&Ie(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
18
|
-
|
|
19
|
-
Your code should look like:
|
|
20
|
-
const MyComponent = lazy(() => import('./MyComponent'))
|
|
21
|
-
|
|
22
|
-
Did you accidentally put curly braces around the import?`,Be),"default"in Be||Ie(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
23
|
-
|
|
24
|
-
Your code should look like:
|
|
25
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,Be),Be.default}else throw D._result}function $a(D){var Y={_status:Ua,_result:D},ce={$$typeof:N,_payload:Y,_init:sa};{var ge,Be;Object.defineProperties(ce,{defaultProps:{configurable:!0,get:function(){return ge},set:function(gt){Ie("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."),ge=gt,Object.defineProperty(ce,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return Be},set:function(gt){Ie("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=gt,Object.defineProperty(ce,"propTypes",{enumerable:!0})}}})}return ce}function no(D){D!=null&&D.$$typeof===A?Ie("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof D!="function"?Ie("forwardRef requires a render function but was given %s.",D===null?"null":typeof D):D.length!==0&&D.length!==2&&Ie("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)&&Ie("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var Y={$$typeof:E,render:D};{var ce;Object.defineProperty(Y,"displayName",{enumerable:!1,configurable:!0,get:function(){return ce},set:function(ge){ce=ge,!D.name&&!D.displayName&&(D.displayName=ge)}})}return Y}var Z;Z=Symbol.for("react.module.reference");function je(D){return!!(typeof D=="string"||typeof D=="function"||D===d||D===y||Ae||D===p||D===R||D===T||me||D===j||ue||pe||ye||typeof D=="object"&&D!==null&&(D.$$typeof===N||D.$$typeof===A||D.$$typeof===g||D.$$typeof===b||D.$$typeof===E||D.$$typeof===Z||D.getModuleId!==void 0))}function Ue(D,Y){je(D)||Ie("memo: The first argument must be a component. Instead received: %s",D===null?"null":typeof D);var ce={$$typeof:A,type:D,compare:Y===void 0?null:Y};{var ge;Object.defineProperty(ce,"displayName",{enumerable:!1,configurable:!0,get:function(){return ge},set:function(Be){ge=Be,!D.name&&!D.displayName&&(D.displayName=Be)}})}return ce}function Je(){var D=F.current;return D===null&&Ie(`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
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
27
|
-
2. You might be breaking the Rules of Hooks
|
|
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 _t(D){var Y=Je();if(D._context!==void 0){var ce=D._context;ce.Consumer===D?Ie("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?"):ce.Provider===D&&Ie("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return Y.useContext(D)}function $t(D){var Y=Je();return Y.useState(D)}function Dt(D,Y,ce){var ge=Je();return ge.useReducer(D,Y,ce)}function pt(D){var Y=Je();return Y.useRef(D)}function dr(D,Y){var ce=Je();return ce.useEffect(D,Y)}function Dn(D,Y){var ce=Je();return ce.useInsertionEffect(D,Y)}function jn(D,Y){var ce=Je();return ce.useLayoutEffect(D,Y)}function jr(D,Y){var ce=Je();return ce.useCallback(D,Y)}function ro(D,Y){var ce=Je();return ce.useMemo(D,Y)}function pl(D,Y,ce){var ge=Je();return ge.useImperativeHandle(D,Y,ce)}function qt(D,Y){{var ce=Je();return ce.useDebugValue(D,Y)}}function xv(){var D=Je();return D.useTransition()}function Li(D){var Y=Je();return Y.useDeferredValue(D)}function Lt(){var D=Je();return D.useId()}function ao(D,Y,ce){var ge=Je();return ge.useSyncExternalStore(D,Y,ce)}var fs=0,vl,ds,Sa,Oc,ua,_c,Dc;function ad(){}ad.__reactDisabledLog=!0;function hl(){{if(fs===0){vl=console.log,ds=console.info,Sa=console.warn,Oc=console.error,ua=console.group,_c=console.groupCollapsed,Dc=console.groupEnd;var D={configurable:!0,enumerable:!0,value:ad,writable:!0};Object.defineProperties(console,{info:D,log:D,warn:D,error:D,group:D,groupCollapsed:D,groupEnd:D})}fs++}}function ps(){{if(fs--,fs===0){var D={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:se({},D,{value:vl}),info:se({},D,{value:ds}),warn:se({},D,{value:Sa}),error:se({},D,{value:Oc}),group:se({},D,{value:ua}),groupCollapsed:se({},D,{value:_c}),groupEnd:se({},D,{value:Dc})})}fs<0&&Ie("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Fi=_e.ReactCurrentDispatcher,la;function vs(D,Y,ce){{if(la===void 0)try{throw Error()}catch(Be){var ge=Be.stack.trim().match(/\n( *(at )?)/);la=ge&&ge[1]||""}return`
|
|
30
|
-
`+la+D}}var hs=!1,ms;{var ml=typeof WeakMap=="function"?WeakMap:Map;ms=new ml}function gl(D,Y){if(!D||hs)return"";{var ce=ms.get(D);if(ce!==void 0)return ce}var ge;hs=!0;var Be=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var gt;gt=Fi.current,Fi.current=null,hl();try{if(Y){var We=function(){throw Error()};if(Object.defineProperty(We.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(We,[])}catch(Ut){ge=Ut}Reflect.construct(D,[],We)}else{try{We.call()}catch(Ut){ge=Ut}D.call(We.prototype)}}else{try{throw Error()}catch(Ut){ge=Ut}D()}}catch(Ut){if(Ut&&ge&&typeof Ut.stack=="string"){for(var ht=Ut.stack.split(`
|
|
31
|
-
`),Ft=ge.stack.split(`
|
|
32
|
-
`),Kt=ht.length-1,In=Ft.length-1;Kt>=1&&In>=0&&ht[Kt]!==Ft[In];)In--;for(;Kt>=1&&In>=0;Kt--,In--)if(ht[Kt]!==Ft[In]){if(Kt!==1||In!==1)do if(Kt--,In--,In<0||ht[Kt]!==Ft[In]){var Cn=`
|
|
33
|
-
`+ht[Kt].replace(" at new "," at ");return D.displayName&&Cn.includes("<anonymous>")&&(Cn=Cn.replace("<anonymous>",D.displayName)),typeof D=="function"&&ms.set(D,Cn),Cn}while(Kt>=1&&In>=0);break}}}finally{hs=!1,Fi.current=gt,ps(),Error.prepareStackTrace=Be}var An=D?D.displayName||D.name:"",kn=An?vs(An):"";return typeof D=="function"&&ms.set(D,kn),kn}function Io(D,Y,ce){return gl(D,!1)}function Ev(D){var Y=D.prototype;return!!(Y&&Y.isReactComponent)}function io(D,Y,ce){if(D==null)return"";if(typeof D=="function")return gl(D,Ev(D));if(typeof D=="string")return vs(D);switch(D){case R:return vs("Suspense");case T:return vs("SuspenseList")}if(typeof D=="object")switch(D.$$typeof){case E:return Io(D.render);case A:return io(D.type,Y,ce);case N:{var ge=D,Be=ge._payload,gt=ge._init;try{return io(gt(Be),Y,ce)}catch{}}}return""}var rn={},yl=_e.ReactDebugCurrentFrame;function vu(D){if(D){var Y=D._owner,ce=io(D.type,D._source,Y?Y.type:null);yl.setExtraStackFrame(ce)}else yl.setExtraStackFrame(null)}function bl(D,Y,ce,ge,Be){{var gt=Function.call.bind(Pn);for(var We in D)if(gt(D,We)){var ht=void 0;try{if(typeof D[We]!="function"){var Ft=Error((ge||"React class")+": "+ce+" type `"+We+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof D[We]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ft.name="Invariant Violation",Ft}ht=D[We](Y,We,ge,ce,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Kt){ht=Kt}ht&&!(ht instanceof Error)&&(vu(Be),Ie("%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).",ge||"React class",ce,We,typeof ht),vu(null)),ht instanceof Error&&!(ht.message in rn)&&(rn[ht.message]=!0,vu(Be),Ie("Failed %s type: %s",ce,ht.message),vu(null))}}}function Qt(D){if(D){var Y=D._owner,ce=io(D.type,D._source,Y?Y.type:null);Re(ce)}else Re(null)}var Cl;Cl=!1;function xl(){if(G.current){var D=Mt(G.current.type);if(D)return`
|
|
34
|
-
|
|
35
|
-
Check the render method of \``+D+"`."}return""}function At(D){if(D!==void 0){var Y=D.fileName.replace(/^.*[\\\/]/,""),ce=D.lineNumber;return`
|
|
36
|
-
|
|
37
|
-
Check your code at `+Y+":"+ce+"."}return""}function hu(D){return D!=null?At(D.__source):""}var Xn={};function wa(D){var Y=xl();if(!Y){var ce=typeof D=="string"?D:D.displayName||D.name;ce&&(Y=`
|
|
38
|
-
|
|
39
|
-
Check the top-level render call using <`+ce+">.")}return Y}function ca(D,Y){if(!(!D._store||D._store.validated||D.key!=null)){D._store.validated=!0;var ce=wa(Y);if(!Xn[ce]){Xn[ce]=!0;var ge="";D&&D._owner&&D._owner!==G.current&&(ge=" It was passed a child from "+Mt(D._owner.type)+"."),Qt(D),Ie('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ce,ge),Qt(null)}}}function gs(D,Y){if(typeof D=="object"){if(dt(D))for(var ce=0;ce<D.length;ce++){var ge=D[ce];ln(ge)&&ca(ge,Y)}else if(ln(D))D._store&&(D._store.validated=!0);else if(D){var Be=B(D);if(typeof Be=="function"&&Be!==D.entries)for(var gt=Be.call(D),We;!(We=gt.next()).done;)ln(We.value)&&ca(We.value,Y)}}}function Kn(D){{var Y=D.type;if(Y==null||typeof Y=="string")return;var ce;if(typeof Y=="function")ce=Y.propTypes;else if(typeof Y=="object"&&(Y.$$typeof===E||Y.$$typeof===A))ce=Y.propTypes;else return;if(ce){var ge=Mt(Y);bl(ce,D.props,"prop",ge,D)}else if(Y.PropTypes!==void 0&&!Cl){Cl=!0;var Be=Mt(Y);Ie("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Be||"Unknown")}typeof Y.getDefaultProps=="function"&&!Y.getDefaultProps.isReactClassApproved&&Ie("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function dn(D){{for(var Y=Object.keys(D.props),ce=0;ce<Y.length;ce++){var ge=Y[ce];if(ge!=="children"&&ge!=="key"){Qt(D),Ie("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ge),Qt(null);break}}D.ref!==null&&(Qt(D),Ie("Invalid attribute `ref` supplied to `React.Fragment`."),Qt(null))}}function id(D,Y,ce){var ge=je(D);if(!ge){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 gt=hu(Y);gt?Be+=gt:Be+=xl();var We;D===null?We="null":dt(D)?We="array":D!==void 0&&D.$$typeof===u?(We="<"+(Mt(D.type)||"Unknown")+" />",Be=" Did you accidentally export a JSX literal instead of a component?"):We=typeof D,Ie("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",We,Be)}var ht=st.apply(this,arguments);if(ht==null)return ht;if(ge)for(var Ft=2;Ft<arguments.length;Ft++)gs(arguments[Ft],D);return D===d?dn(ht):Kn(ht),ht}var Ra=!1;function Rr(D){var Y=id.bind(null,D);return Y.type=D,Ra||(Ra=!0,Oe("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(Y,"type",{enumerable:!1,get:function(){return Oe("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:D}),D}}),Y}function oo(D,Y,ce){for(var ge=sn.apply(this,arguments),Be=2;Be<arguments.length;Be++)gs(arguments[Be],ge.type);return Kn(ge),ge}function od(D,Y){var ce=U.transition;U.transition={};var ge=U.transition;U.transition._updatedFibers=new Set;try{D()}finally{if(U.transition=ce,ce===null&&ge._updatedFibers){var Be=ge._updatedFibers.size;Be>10&&Oe("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."),ge._updatedFibers.clear()}}}var Ao=!1,ys=null;function sd(D){if(ys===null)try{var Y=("require"+Math.random()).slice(0,7),ce=n&&n[Y];ys=ce.call(n,"timers").setImmediate}catch{ys=function(Be){Ao===!1&&(Ao=!0,typeof MessageChannel>"u"&&Ie("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 gt=new MessageChannel;gt.port1.onmessage=Be,gt.port2.postMessage(void 0)}}return ys(D)}var ci=0,bs=!1;function Cs(D){{var Y=ci;ci++,z.current===null&&(z.current=[]);var ce=z.isBatchingLegacy,ge;try{if(z.isBatchingLegacy=!0,ge=D(),!ce&&z.didScheduleLegacyUpdate){var Be=z.current;Be!==null&&(z.didScheduleLegacyUpdate=!1,Es(Be))}}catch(An){throw fi(Y),An}finally{z.isBatchingLegacy=ce}if(ge!==null&&typeof ge=="object"&&typeof ge.then=="function"){var gt=ge,We=!1,ht={then:function(An,kn){We=!0,gt.then(function(Ut){fi(Y),ci===0?El(Ut,An,kn):An(Ut)},function(Ut){fi(Y),kn(Ut)})}};return!bs&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){We||(bs=!0,Ie("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 () => ...);"))}),ht}else{var Ft=ge;if(fi(Y),ci===0){var Kt=z.current;Kt!==null&&(Es(Kt),z.current=null);var In={then:function(An,kn){z.current===null?(z.current=[],El(Ft,An,kn)):An(Ft)}};return In}else{var Cn={then:function(An,kn){An(Ft)}};return Cn}}}}function fi(D){D!==ci-1&&Ie("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ci=D}function El(D,Y,ce){{var ge=z.current;if(ge!==null)try{Es(ge),sd(function(){ge.length===0?(z.current=null,Y(D)):El(D,Y,ce)})}catch(Be){ce(Be)}else Y(D)}}var xs=!1;function Es(D){if(!xs){xs=!0;var Y=0;try{for(;Y<D.length;Y++){var ce=D[Y];do ce=ce(!0);while(ce!==null)}D.length=0}catch(ge){throw D=D.slice(Y+1),ge}finally{xs=!1}}}var mu=id,Sl=oo,jc=Rr,Vi={map:li,forEach:pu,count:ls,toArray:dl,only:To};r.Children=Vi,r.Component=Ee,r.Fragment=d,r.Profiler=y,r.PureComponent=Ve,r.StrictMode=p,r.Suspense=R,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_e,r.cloneElement=Sl,r.createContext=cs,r.createElement=mu,r.createFactory=jc,r.createRef=It,r.forwardRef=no,r.isValidElement=ln,r.lazy=$a,r.memo=Ue,r.startTransition=od,r.unstable_act=Cs,r.useCallback=jr,r.useContext=_t,r.useDebugValue=qt,r.useDeferredValue=Li,r.useEffect=dr,r.useId=Lt,r.useImperativeHandle=pl,r.useInsertionEffect=Dn,r.useLayoutEffect=jn,r.useMemo=ro,r.useReducer=Dt,r.useRef=pt,r.useState=$t,r.useSyncExternalStore=ao,r.useTransition=xv,r.version=i,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}($p,$p.exports)),$p.exports}var Lw;function yc(){return Lw||(Lw=1,process.env.NODE_ENV==="production"?_m.exports=kk():_m.exports=Mk()),_m.exports}/**
|
|
40
|
-
* @license React
|
|
41
|
-
* react-jsx-runtime.production.min.js
|
|
42
|
-
*
|
|
43
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
44
|
-
*
|
|
45
|
-
* This source code is licensed under the MIT license found in the
|
|
46
|
-
* LICENSE file in the root directory of this source tree.
|
|
47
|
-
*/var Fw;function Pk(){if(Fw)return Gp;Fw=1;var n=yc(),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 p(y,g,b){var E,R={},T=null,A=null;b!==void 0&&(T=""+b),g.key!==void 0&&(T=""+g.key),g.ref!==void 0&&(A=g.ref);for(E in g)u.call(g,E)&&!d.hasOwnProperty(E)&&(R[E]=g[E]);if(y&&y.defaultProps)for(E in g=y.defaultProps,g)R[E]===void 0&&(R[E]=g[E]);return{$$typeof:r,type:y,key:T,ref:A,props:R,_owner:l.current}}return Gp.Fragment=i,Gp.jsx=p,Gp.jsxs=p,Gp}var Wp={};/**
|
|
48
|
-
* @license React
|
|
49
|
-
* react-jsx-runtime.development.js
|
|
50
|
-
*
|
|
51
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
52
|
-
*
|
|
53
|
-
* This source code is licensed under the MIT license found in the
|
|
54
|
-
* LICENSE file in the root directory of this source tree.
|
|
55
|
-
*/var Vw;function Lk(){return Vw||(Vw=1,process.env.NODE_ENV!=="production"&&function(){var n=yc(),r=Symbol.for("react.element"),i=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),y=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),N=Symbol.iterator,j="@@iterator";function O(Z){if(Z===null||typeof Z!="object")return null;var je=N&&Z[N]||Z[j];return typeof je=="function"?je:null}var P=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function B(Z){{for(var je=arguments.length,Ue=new Array(je>1?je-1:0),Je=1;Je<je;Je++)Ue[Je-1]=arguments[Je];F("error",Z,Ue)}}function F(Z,je,Ue){{var Je=P.ReactDebugCurrentFrame,_t=Je.getStackAddendum();_t!==""&&(je+="%s",Ue=Ue.concat([_t]));var $t=Ue.map(function(Dt){return String(Dt)});$t.unshift("Warning: "+je),Function.prototype.apply.call(console[Z],console,$t)}}var U=!1,z=!1,G=!1,X=!1,te=!1,Re;Re=Symbol.for("react.module.reference");function ue(Z){return!!(typeof Z=="string"||typeof Z=="function"||Z===u||Z===d||te||Z===l||Z===b||Z===E||X||Z===A||U||z||G||typeof Z=="object"&&Z!==null&&(Z.$$typeof===T||Z.$$typeof===R||Z.$$typeof===p||Z.$$typeof===y||Z.$$typeof===g||Z.$$typeof===Re||Z.getModuleId!==void 0))}function pe(Z,je,Ue){var Je=Z.displayName;if(Je)return Je;var _t=je.displayName||je.name||"";return _t!==""?Ue+"("+_t+")":Ue}function ye(Z){return Z.displayName||"Context"}function me(Z){if(Z==null)return null;if(typeof Z.tag=="number"&&B("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 u:return"Fragment";case i:return"Portal";case d:return"Profiler";case l:return"StrictMode";case b:return"Suspense";case E:return"SuspenseList"}if(typeof Z=="object")switch(Z.$$typeof){case y:var je=Z;return ye(je)+".Consumer";case p:var Ue=Z;return ye(Ue._context)+".Provider";case g:return pe(Z,Z.render,"ForwardRef");case R:var Je=Z.displayName||null;return Je!==null?Je:me(Z.type)||"Memo";case T:{var _t=Z,$t=_t._payload,Dt=_t._init;try{return me(Dt($t))}catch{return null}}}return null}var Ae=Object.assign,_e=0,Oe,Ie,ve,Pe,L,q,se;function xe(){}xe.__reactDisabledLog=!0;function Ee(){{if(_e===0){Oe=console.log,Ie=console.info,ve=console.warn,Pe=console.error,L=console.group,q=console.groupCollapsed,se=console.groupEnd;var Z={configurable:!0,enumerable:!0,value:xe,writable:!0};Object.defineProperties(console,{info:Z,log:Z,warn:Z,error:Z,group:Z,groupCollapsed:Z,groupEnd:Z})}_e++}}function De(){{if(_e--,_e===0){var Z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ae({},Z,{value:Oe}),info:Ae({},Z,{value:Ie}),warn:Ae({},Z,{value:ve}),error:Ae({},Z,{value:Pe}),group:Ae({},Z,{value:L}),groupCollapsed:Ae({},Z,{value:q}),groupEnd:Ae({},Z,{value:se})})}_e<0&&B("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ie=P.ReactCurrentDispatcher,he;function Te(Z,je,Ue){{if(he===void 0)try{throw Error()}catch(_t){var Je=_t.stack.trim().match(/\n( *(at )?)/);he=Je&&Je[1]||""}return`
|
|
56
|
-
`+he+Z}}var Ve=!1,Ke;{var It=typeof WeakMap=="function"?WeakMap:Map;Ke=new It}function Ne(Z,je){if(!Z||Ve)return"";{var Ue=Ke.get(Z);if(Ue!==void 0)return Ue}var Je;Ve=!0;var _t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var $t;$t=ie.current,ie.current=null,Ee();try{if(je){var Dt=function(){throw Error()};if(Object.defineProperty(Dt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Dt,[])}catch(qt){Je=qt}Reflect.construct(Z,[],Dt)}else{try{Dt.call()}catch(qt){Je=qt}Z.call(Dt.prototype)}}else{try{throw Error()}catch(qt){Je=qt}Z()}}catch(qt){if(qt&&Je&&typeof qt.stack=="string"){for(var pt=qt.stack.split(`
|
|
57
|
-
`),dr=Je.stack.split(`
|
|
58
|
-
`),Dn=pt.length-1,jn=dr.length-1;Dn>=1&&jn>=0&&pt[Dn]!==dr[jn];)jn--;for(;Dn>=1&&jn>=0;Dn--,jn--)if(pt[Dn]!==dr[jn]){if(Dn!==1||jn!==1)do if(Dn--,jn--,jn<0||pt[Dn]!==dr[jn]){var jr=`
|
|
59
|
-
`+pt[Dn].replace(" at new "," at ");return Z.displayName&&jr.includes("<anonymous>")&&(jr=jr.replace("<anonymous>",Z.displayName)),typeof Z=="function"&&Ke.set(Z,jr),jr}while(Dn>=1&&jn>=0);break}}}finally{Ve=!1,ie.current=$t,De(),Error.prepareStackTrace=_t}var ro=Z?Z.displayName||Z.name:"",pl=ro?Te(ro):"";return typeof Z=="function"&&Ke.set(Z,pl),pl}function dt(Z,je,Ue){return Ne(Z,!1)}function Bt(Z){var je=Z.prototype;return!!(je&&je.isReactComponent)}function lt(Z,je,Ue){if(Z==null)return"";if(typeof Z=="function")return Ne(Z,Bt(Z));if(typeof Z=="string")return Te(Z);switch(Z){case b:return Te("Suspense");case E:return Te("SuspenseList")}if(typeof Z=="object")switch(Z.$$typeof){case g:return dt(Z.render);case R:return lt(Z.type,je,Ue);case T:{var Je=Z,_t=Je._payload,$t=Je._init;try{return lt($t(_t),je,Ue)}catch{}}}return""}var yn=Object.prototype.hasOwnProperty,nn={},Hn=P.ReactDebugCurrentFrame;function Mn(Z){if(Z){var je=Z._owner,Ue=lt(Z.type,Z._source,je?je.type:null);Hn.setExtraStackFrame(Ue)}else Hn.setExtraStackFrame(null)}function Mt(Z,je,Ue,Je,_t){{var $t=Function.call.bind(yn);for(var Dt in Z)if($t(Z,Dt)){var pt=void 0;try{if(typeof Z[Dt]!="function"){var dr=Error((Je||"React class")+": "+Ue+" type `"+Dt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof Z[Dt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw dr.name="Invariant Violation",dr}pt=Z[Dt](je,Dt,Je,Ue,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Dn){pt=Dn}pt&&!(pt instanceof Error)&&(Mn(_t),B("%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).",Je||"React class",Ue,Dt,typeof pt),Mn(null)),pt instanceof Error&&!(pt.message in nn)&&(nn[pt.message]=!0,Mn(_t),B("Failed %s type: %s",Ue,pt.message),Mn(null))}}}var Pn=Array.isArray;function $n(Z){return Pn(Z)}function rr(Z){{var je=typeof Symbol=="function"&&Symbol.toStringTag,Ue=je&&Z[Symbol.toStringTag]||Z.constructor.name||"Object";return Ue}}function fr(Z){try{return Qn(Z),!1}catch{return!0}}function Qn(Z){return""+Z}function St(Z){if(fr(Z))return B("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",rr(Z)),Qn(Z)}var en=P.ReactCurrentOwner,ar={key:!0,ref:!0,__self:!0,__source:!0},Ki,Ha,He;He={};function st(Z){if(yn.call(Z,"ref")){var je=Object.getOwnPropertyDescriptor(Z,"ref").get;if(je&&je.isReactWarning)return!1}return Z.ref!==void 0}function Pt(Z){if(yn.call(Z,"key")){var je=Object.getOwnPropertyDescriptor(Z,"key").get;if(je&&je.isReactWarning)return!1}return Z.key!==void 0}function sn(Z,je){if(typeof Z.ref=="string"&&en.current&&je&&en.current.stateNode!==je){var Ue=me(en.current.type);He[Ue]||(B('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',me(en.current.type),Z.ref),He[Ue]=!0)}}function ln(Z,je){{var Ue=function(){Ki||(Ki=!0,B("%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)",je))};Ue.isReactWarning=!0,Object.defineProperty(Z,"key",{get:Ue,configurable:!0})}}function ir(Z,je){{var Ue=function(){Ha||(Ha=!0,B("%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)",je))};Ue.isReactWarning=!0,Object.defineProperty(Z,"ref",{get:Ue,configurable:!0})}}var Wn=function(Z,je,Ue,Je,_t,$t,Dt){var pt={$$typeof:r,type:Z,key:je,ref:Ue,props:Dt,_owner:$t};return pt._store={},Object.defineProperty(pt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(pt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Je}),Object.defineProperty(pt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:_t}),Object.freeze&&(Object.freeze(pt.props),Object.freeze(pt)),pt};function Yr(Z,je,Ue,Je,_t){{var $t,Dt={},pt=null,dr=null;Ue!==void 0&&(St(Ue),pt=""+Ue),Pt(je)&&(St(je.key),pt=""+je.key),st(je)&&(dr=je.ref,sn(je,_t));for($t in je)yn.call(je,$t)&&!ar.hasOwnProperty($t)&&(Dt[$t]=je[$t]);if(Z&&Z.defaultProps){var Dn=Z.defaultProps;for($t in Dn)Dt[$t]===void 0&&(Dt[$t]=Dn[$t])}if(pt||dr){var jn=typeof Z=="function"?Z.displayName||Z.name||"Unknown":Z;pt&&ln(Dt,jn),dr&&ir(Dt,jn)}return Wn(Z,pt,dr,_t,Je,en.current,Dt)}}var bn=P.ReactCurrentOwner,oa=P.ReactDebugCurrentFrame;function cn(Z){if(Z){var je=Z._owner,Ue=lt(Z.type,Z._source,je?je.type:null);oa.setExtraStackFrame(Ue)}else oa.setExtraStackFrame(null)}var fn;fn=!1;function Pi(Z){return typeof Z=="object"&&Z!==null&&Z.$$typeof===r}function li(){{if(bn.current){var Z=me(bn.current.type);if(Z)return`
|
|
60
|
-
|
|
61
|
-
Check the render method of \``+Z+"`."}return""}}function ls(Z){{if(Z!==void 0){var je=Z.fileName.replace(/^.*[\\\/]/,""),Ue=Z.lineNumber;return`
|
|
62
|
-
|
|
63
|
-
Check your code at `+je+":"+Ue+"."}return""}}var pu={};function dl(Z){{var je=li();if(!je){var Ue=typeof Z=="string"?Z:Z.displayName||Z.name;Ue&&(je=`
|
|
64
|
-
|
|
65
|
-
Check the top-level render call using <`+Ue+">.")}return je}}function To(Z,je){{if(!Z._store||Z._store.validated||Z.key!=null)return;Z._store.validated=!0;var Ue=dl(je);if(pu[Ue])return;pu[Ue]=!0;var Je="";Z&&Z._owner&&Z._owner!==bn.current&&(Je=" It was passed a child from "+me(Z._owner.type)+"."),cn(Z),B('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Ue,Je),cn(null)}}function cs(Z,je){{if(typeof Z!="object")return;if($n(Z))for(var Ue=0;Ue<Z.length;Ue++){var Je=Z[Ue];Pi(Je)&&To(Je,je)}else if(Pi(Z))Z._store&&(Z._store.validated=!0);else if(Z){var _t=O(Z);if(typeof _t=="function"&&_t!==Z.entries)for(var $t=_t.call(Z),Dt;!(Dt=$t.next()).done;)Pi(Dt.value)&&To(Dt.value,je)}}}function Ua(Z){{var je=Z.type;if(je==null||typeof je=="string")return;var Ue;if(typeof je=="function")Ue=je.propTypes;else if(typeof je=="object"&&(je.$$typeof===g||je.$$typeof===R))Ue=je.propTypes;else return;if(Ue){var Je=me(je);Mt(Ue,Z.props,"prop",Je,Z)}else if(je.PropTypes!==void 0&&!fn){fn=!0;var _t=me(je);B("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",_t||"Unknown")}typeof je.getDefaultProps=="function"&&!je.getDefaultProps.isReactClassApproved&&B("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function eo(Z){{for(var je=Object.keys(Z.props),Ue=0;Ue<je.length;Ue++){var Je=je[Ue];if(Je!=="children"&&Je!=="key"){cn(Z),B("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Je),cn(null);break}}Z.ref!==null&&(cn(Z),B("Invalid attribute `ref` supplied to `React.Fragment`."),cn(null))}}function Ga(Z,je,Ue,Je,_t,$t){{var Dt=ue(Z);if(!Dt){var pt="";(Z===void 0||typeof Z=="object"&&Z!==null&&Object.keys(Z).length===0)&&(pt+=" 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 dr=ls(_t);dr?pt+=dr:pt+=li();var Dn;Z===null?Dn="null":$n(Z)?Dn="array":Z!==void 0&&Z.$$typeof===r?(Dn="<"+(me(Z.type)||"Unknown")+" />",pt=" Did you accidentally export a JSX literal instead of a component?"):Dn=typeof Z,B("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Dn,pt)}var jn=Yr(Z,je,Ue,_t,$t);if(jn==null)return jn;if(Dt){var jr=je.children;if(jr!==void 0)if(Je)if($n(jr)){for(var ro=0;ro<jr.length;ro++)cs(jr[ro],Z);Object.freeze&&Object.freeze(jr)}else B("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 cs(jr,Z)}return Z===u?eo(jn):Ua(jn),jn}}function to(Z,je,Ue){return Ga(Z,je,Ue,!0)}function sa(Z,je,Ue){return Ga(Z,je,Ue,!1)}var $a=sa,no=to;Wp.Fragment=u,Wp.jsx=$a,Wp.jsxs=no}()),Wp}process.env.NODE_ENV==="production"?F0.exports=Pk():F0.exports=Lk();var C=F0.exports,ns={},V0={exports:{}},ri={},Dm={exports:{}},B0={};/**
|
|
66
|
-
* @license React
|
|
67
|
-
* scheduler.production.min.js
|
|
68
|
-
*
|
|
69
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
70
|
-
*
|
|
71
|
-
* This source code is licensed under the MIT license found in the
|
|
72
|
-
* LICENSE file in the root directory of this source tree.
|
|
73
|
-
*/var Bw;function Fk(){return Bw||(Bw=1,function(n){function r(ve,Pe){var L=ve.length;ve.push(Pe);e:for(;0<L;){var q=L-1>>>1,se=ve[q];if(0<l(se,Pe))ve[q]=Pe,ve[L]=se,L=q;else break e}}function i(ve){return ve.length===0?null:ve[0]}function u(ve){if(ve.length===0)return null;var Pe=ve[0],L=ve.pop();if(L!==Pe){ve[0]=L;e:for(var q=0,se=ve.length,xe=se>>>1;q<xe;){var Ee=2*(q+1)-1,De=ve[Ee],ie=Ee+1,he=ve[ie];if(0>l(De,L))ie<se&&0>l(he,De)?(ve[q]=he,ve[ie]=L,q=ie):(ve[q]=De,ve[Ee]=L,q=Ee);else if(ie<se&&0>l(he,L))ve[q]=he,ve[ie]=L,q=ie;else break e}}return Pe}function l(ve,Pe){var L=ve.sortIndex-Pe.sortIndex;return L!==0?L:ve.id-Pe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var d=performance;n.unstable_now=function(){return d.now()}}else{var p=Date,y=p.now();n.unstable_now=function(){return p.now()-y}}var g=[],b=[],E=1,R=null,T=3,A=!1,N=!1,j=!1,O=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,B=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function F(ve){for(var Pe=i(b);Pe!==null;){if(Pe.callback===null)u(b);else if(Pe.startTime<=ve)u(b),Pe.sortIndex=Pe.expirationTime,r(g,Pe);else break;Pe=i(b)}}function U(ve){if(j=!1,F(ve),!N)if(i(g)!==null)N=!0,Oe(z);else{var Pe=i(b);Pe!==null&&Ie(U,Pe.startTime-ve)}}function z(ve,Pe){N=!1,j&&(j=!1,P(te),te=-1),A=!0;var L=T;try{for(F(Pe),R=i(g);R!==null&&(!(R.expirationTime>Pe)||ve&&!pe());){var q=R.callback;if(typeof q=="function"){R.callback=null,T=R.priorityLevel;var se=q(R.expirationTime<=Pe);Pe=n.unstable_now(),typeof se=="function"?R.callback=se:R===i(g)&&u(g),F(Pe)}else u(g);R=i(g)}if(R!==null)var xe=!0;else{var Ee=i(b);Ee!==null&&Ie(U,Ee.startTime-Pe),xe=!1}return xe}finally{R=null,T=L,A=!1}}var G=!1,X=null,te=-1,Re=5,ue=-1;function pe(){return!(n.unstable_now()-ue<Re)}function ye(){if(X!==null){var ve=n.unstable_now();ue=ve;var Pe=!0;try{Pe=X(!0,ve)}finally{Pe?me():(G=!1,X=null)}}else G=!1}var me;if(typeof B=="function")me=function(){B(ye)};else if(typeof MessageChannel<"u"){var Ae=new MessageChannel,_e=Ae.port2;Ae.port1.onmessage=ye,me=function(){_e.postMessage(null)}}else me=function(){O(ye,0)};function Oe(ve){X=ve,G||(G=!0,me())}function Ie(ve,Pe){te=O(function(){ve(n.unstable_now())},Pe)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(ve){ve.callback=null},n.unstable_continueExecution=function(){N||A||(N=!0,Oe(z))},n.unstable_forceFrameRate=function(ve){0>ve||125<ve?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Re=0<ve?Math.floor(1e3/ve):5},n.unstable_getCurrentPriorityLevel=function(){return T},n.unstable_getFirstCallbackNode=function(){return i(g)},n.unstable_next=function(ve){switch(T){case 1:case 2:case 3:var Pe=3;break;default:Pe=T}var L=T;T=Pe;try{return ve()}finally{T=L}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(ve,Pe){switch(ve){case 1:case 2:case 3:case 4:case 5:break;default:ve=3}var L=T;T=ve;try{return Pe()}finally{T=L}},n.unstable_scheduleCallback=function(ve,Pe,L){var q=n.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?q+L:q):L=q,ve){case 1:var se=-1;break;case 2:se=250;break;case 5:se=1073741823;break;case 4:se=1e4;break;default:se=5e3}return se=L+se,ve={id:E++,callback:Pe,priorityLevel:ve,startTime:L,expirationTime:se,sortIndex:-1},L>q?(ve.sortIndex=L,r(b,ve),i(g)===null&&ve===i(b)&&(j?(P(te),te=-1):j=!0,Ie(U,L-q))):(ve.sortIndex=se,r(g,ve),N||A||(N=!0,Oe(z))),ve},n.unstable_shouldYield=pe,n.unstable_wrapCallback=function(ve){var Pe=T;return function(){var L=T;T=Pe;try{return ve.apply(this,arguments)}finally{T=L}}}}(B0)),B0}var z0={};/**
|
|
74
|
-
* @license React
|
|
75
|
-
* scheduler.development.js
|
|
76
|
-
*
|
|
77
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
78
|
-
*
|
|
79
|
-
* This source code is licensed under the MIT license found in the
|
|
80
|
-
* LICENSE file in the root directory of this source tree.
|
|
81
|
-
*/var zw;function Vk(){return zw||(zw=1,function(n){process.env.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=!1,i=!1,u=5;function l(He,st){var Pt=He.length;He.push(st),y(He,st,Pt)}function d(He){return He.length===0?null:He[0]}function p(He){if(He.length===0)return null;var st=He[0],Pt=He.pop();return Pt!==st&&(He[0]=Pt,g(He,Pt,0)),st}function y(He,st,Pt){for(var sn=Pt;sn>0;){var ln=sn-1>>>1,ir=He[ln];if(b(ir,st)>0)He[ln]=st,He[sn]=ir,sn=ln;else return}}function g(He,st,Pt){for(var sn=Pt,ln=He.length,ir=ln>>>1;sn<ir;){var Wn=(sn+1)*2-1,Yr=He[Wn],bn=Wn+1,oa=He[bn];if(b(Yr,st)<0)bn<ln&&b(oa,Yr)<0?(He[sn]=oa,He[bn]=st,sn=bn):(He[sn]=Yr,He[Wn]=st,sn=Wn);else if(bn<ln&&b(oa,st)<0)He[sn]=oa,He[bn]=st,sn=bn;else return}}function b(He,st){var Pt=He.sortIndex-st.sortIndex;return Pt!==0?Pt:He.id-st.id}var E=1,R=2,T=3,A=4,N=5;function j(He,st){}var O=typeof performance=="object"&&typeof performance.now=="function";if(O){var P=performance;n.unstable_now=function(){return P.now()}}else{var B=Date,F=B.now();n.unstable_now=function(){return B.now()-F}}var U=1073741823,z=-1,G=250,X=5e3,te=1e4,Re=U,ue=[],pe=[],ye=1,me=null,Ae=T,_e=!1,Oe=!1,Ie=!1,ve=typeof setTimeout=="function"?setTimeout:null,Pe=typeof clearTimeout=="function"?clearTimeout:null,L=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function q(He){for(var st=d(pe);st!==null;){if(st.callback===null)p(pe);else if(st.startTime<=He)p(pe),st.sortIndex=st.expirationTime,l(ue,st);else return;st=d(pe)}}function se(He){if(Ie=!1,q(He),!Oe)if(d(ue)!==null)Oe=!0,St(xe);else{var st=d(pe);st!==null&&en(se,st.startTime-He)}}function xe(He,st){Oe=!1,Ie&&(Ie=!1,ar()),_e=!0;var Pt=Ae;try{var sn;if(!i)return Ee(He,st)}finally{me=null,Ae=Pt,_e=!1}}function Ee(He,st){var Pt=st;for(q(Pt),me=d(ue);me!==null&&!r&&!(me.expirationTime>Pt&&(!He||Mn()));){var sn=me.callback;if(typeof sn=="function"){me.callback=null,Ae=me.priorityLevel;var ln=me.expirationTime<=Pt,ir=sn(ln);Pt=n.unstable_now(),typeof ir=="function"?me.callback=ir:me===d(ue)&&p(ue),q(Pt)}else p(ue);me=d(ue)}if(me!==null)return!0;var Wn=d(pe);return Wn!==null&&en(se,Wn.startTime-Pt),!1}function De(He,st){switch(He){case E:case R:case T:case A:case N:break;default:He=T}var Pt=Ae;Ae=He;try{return st()}finally{Ae=Pt}}function ie(He){var st;switch(Ae){case E:case R:case T:st=T;break;default:st=Ae;break}var Pt=Ae;Ae=st;try{return He()}finally{Ae=Pt}}function he(He){var st=Ae;return function(){var Pt=Ae;Ae=st;try{return He.apply(this,arguments)}finally{Ae=Pt}}}function Te(He,st,Pt){var sn=n.unstable_now(),ln;if(typeof Pt=="object"&&Pt!==null){var ir=Pt.delay;typeof ir=="number"&&ir>0?ln=sn+ir:ln=sn}else ln=sn;var Wn;switch(He){case E:Wn=z;break;case R:Wn=G;break;case N:Wn=Re;break;case A:Wn=te;break;case T:default:Wn=X;break}var Yr=ln+Wn,bn={id:ye++,callback:st,priorityLevel:He,startTime:ln,expirationTime:Yr,sortIndex:-1};return ln>sn?(bn.sortIndex=ln,l(pe,bn),d(ue)===null&&bn===d(pe)&&(Ie?ar():Ie=!0,en(se,ln-sn))):(bn.sortIndex=Yr,l(ue,bn),!Oe&&!_e&&(Oe=!0,St(xe))),bn}function Ve(){}function Ke(){!Oe&&!_e&&(Oe=!0,St(xe))}function It(){return d(ue)}function Ne(He){He.callback=null}function dt(){return Ae}var Bt=!1,lt=null,yn=-1,nn=u,Hn=-1;function Mn(){var He=n.unstable_now()-Hn;return!(He<nn)}function Mt(){}function Pn(He){if(He<0||He>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}He>0?nn=Math.floor(1e3/He):nn=u}var $n=function(){if(lt!==null){var He=n.unstable_now();Hn=He;var st=!0,Pt=!0;try{Pt=lt(st,He)}finally{Pt?rr():(Bt=!1,lt=null)}}else Bt=!1},rr;if(typeof L=="function")rr=function(){L($n)};else if(typeof MessageChannel<"u"){var fr=new MessageChannel,Qn=fr.port2;fr.port1.onmessage=$n,rr=function(){Qn.postMessage(null)}}else rr=function(){ve($n,0)};function St(He){lt=He,Bt||(Bt=!0,rr())}function en(He,st){yn=ve(function(){He(n.unstable_now())},st)}function ar(){Pe(yn),yn=-1}var Ki=Mt,Ha=null;n.unstable_IdlePriority=N,n.unstable_ImmediatePriority=E,n.unstable_LowPriority=A,n.unstable_NormalPriority=T,n.unstable_Profiling=Ha,n.unstable_UserBlockingPriority=R,n.unstable_cancelCallback=Ne,n.unstable_continueExecution=Ke,n.unstable_forceFrameRate=Pn,n.unstable_getCurrentPriorityLevel=dt,n.unstable_getFirstCallbackNode=It,n.unstable_next=ie,n.unstable_pauseExecution=Ve,n.unstable_requestPaint=Ki,n.unstable_runWithPriority=De,n.unstable_scheduleCallback=Te,n.unstable_shouldYield=Mn,n.unstable_wrapCallback=he,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(z0)),z0}var Hw;function Uw(){return Hw||(Hw=1,process.env.NODE_ENV==="production"?Dm.exports=Fk():Dm.exports=Vk()),Dm.exports}/**
|
|
82
|
-
* @license React
|
|
83
|
-
* react-dom.production.min.js
|
|
84
|
-
*
|
|
85
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
86
|
-
*
|
|
87
|
-
* This source code is licensed under the MIT license found in the
|
|
88
|
-
* LICENSE file in the root directory of this source tree.
|
|
89
|
-
*/var Gw;function Bk(){if(Gw)return ri;Gw=1;var n=yc(),r=Uw();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){p(a,o),p(a+"Capture",o)}function p(a,o){for(l[a]=o,a=0;a<o.length;a++)u.add(o[a])}var y=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),g=Object.prototype.hasOwnProperty,b=/^[: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]*$/,E={},R={};function T(a){return g.call(R,a)?!0:g.call(E,a)?!1:b.test(a)?R[a]=!0:(E[a]=!0,!1)}function A(a,o,f,h){if(f!==null&&f.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return h?!1:f!==null?!f.acceptsBooleans:(a=a.toLowerCase().slice(0,5),a!=="data-"&&a!=="aria-");default:return!1}}function N(a,o,f,h){if(o===null||typeof o>"u"||A(a,o,f,h))return!0;if(h)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 j(a,o,f,h,x,w,k){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=h,this.attributeNamespace=x,this.mustUseProperty=f,this.propertyName=a,this.type=o,this.sanitizeURL=w,this.removeEmptyString=k}var O={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){O[a]=new j(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[o]=new j(o,1,!1,a[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(a){O[a]=new j(a,2,!1,a.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){O[a]=new j(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){O[a]=new j(a,3,!1,a.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(a){O[a]=new j(a,3,!0,a,null,!1,!1)}),["capture","download"].forEach(function(a){O[a]=new j(a,4,!1,a,null,!1,!1)}),["cols","rows","size","span"].forEach(function(a){O[a]=new j(a,6,!1,a,null,!1,!1)}),["rowSpan","start"].forEach(function(a){O[a]=new j(a,5,!1,a.toLowerCase(),null,!1,!1)});var P=/[\-:]([a-z])/g;function B(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(P,B);O[o]=new j(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(P,B);O[o]=new j(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(P,B);O[o]=new j(o,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(a){O[a]=new j(a,1,!1,a.toLowerCase(),null,!1,!1)}),O.xlinkHref=new j("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(a){O[a]=new j(a,1,!1,a.toLowerCase(),null,!0,!0)});function F(a,o,f,h){var x=O.hasOwnProperty(o)?O[o]:null;(x!==null?x.type!==0:h||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(N(o,f,x,h)&&(f=null),h||x===null?T(o)&&(f===null?a.removeAttribute(o):a.setAttribute(o,""+f)):x.mustUseProperty?a[x.propertyName]=f===null?x.type===3?!1:"":f:(o=x.attributeName,h=x.attributeNamespace,f===null?a.removeAttribute(o):(x=x.type,f=x===3||x===4&&f===!0?"":""+f,h?a.setAttributeNS(h,o,f):a.setAttribute(o,f))))}var U=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,z=Symbol.for("react.element"),G=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),te=Symbol.for("react.strict_mode"),Re=Symbol.for("react.profiler"),ue=Symbol.for("react.provider"),pe=Symbol.for("react.context"),ye=Symbol.for("react.forward_ref"),me=Symbol.for("react.suspense"),Ae=Symbol.for("react.suspense_list"),_e=Symbol.for("react.memo"),Oe=Symbol.for("react.lazy"),Ie=Symbol.for("react.offscreen"),ve=Symbol.iterator;function Pe(a){return a===null||typeof a!="object"?null:(a=ve&&a[ve]||a["@@iterator"],typeof a=="function"?a:null)}var L=Object.assign,q;function se(a){if(q===void 0)try{throw Error()}catch(f){var o=f.stack.trim().match(/\n( *(at )?)/);q=o&&o[1]||""}return`
|
|
90
|
-
`+q+a}var xe=!1;function Ee(a,o){if(!a||xe)return"";xe=!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(de){var h=de}Reflect.construct(a,[],o)}else{try{o.call()}catch(de){h=de}a.call(o.prototype)}else{try{throw Error()}catch(de){h=de}a()}}catch(de){if(de&&h&&typeof de.stack=="string"){for(var x=de.stack.split(`
|
|
91
|
-
`),w=h.stack.split(`
|
|
92
|
-
`),k=x.length-1,W=w.length-1;1<=k&&0<=W&&x[k]!==w[W];)W--;for(;1<=k&&0<=W;k--,W--)if(x[k]!==w[W]){if(k!==1||W!==1)do if(k--,W--,0>W||x[k]!==w[W]){var J=`
|
|
93
|
-
`+x[k].replace(" at new "," at ");return a.displayName&&J.includes("<anonymous>")&&(J=J.replace("<anonymous>",a.displayName)),J}while(1<=k&&0<=W);break}}}finally{xe=!1,Error.prepareStackTrace=f}return(a=a?a.displayName||a.name:"")?se(a):""}function De(a){switch(a.tag){case 5:return se(a.type);case 16:return se("Lazy");case 13:return se("Suspense");case 19:return se("SuspenseList");case 0:case 2:case 15:return a=Ee(a.type,!1),a;case 11:return a=Ee(a.type.render,!1),a;case 1:return a=Ee(a.type,!0),a;default:return""}}function ie(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 X:return"Fragment";case G:return"Portal";case Re:return"Profiler";case te:return"StrictMode";case me:return"Suspense";case Ae:return"SuspenseList"}if(typeof a=="object")switch(a.$$typeof){case pe:return(a.displayName||"Context")+".Consumer";case ue:return(a._context.displayName||"Context")+".Provider";case ye:var o=a.render;return a=a.displayName,a||(a=o.displayName||o.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case _e:return o=a.displayName||null,o!==null?o:ie(a.type)||"Memo";case Oe:o=a._payload,a=a._init;try{return ie(a(o))}catch{}}return null}function he(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 ie(o);case 8:return o===te?"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 Te(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 Ke(a){var o=Ve(a)?"checked":"value",f=Object.getOwnPropertyDescriptor(a.constructor.prototype,o),h=""+a[o];if(!a.hasOwnProperty(o)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var x=f.get,w=f.set;return Object.defineProperty(a,o,{configurable:!0,get:function(){return x.call(this)},set:function(k){h=""+k,w.call(this,k)}}),Object.defineProperty(a,o,{enumerable:f.enumerable}),{getValue:function(){return h},setValue:function(k){h=""+k},stopTracking:function(){a._valueTracker=null,delete a[o]}}}}function It(a){a._valueTracker||(a._valueTracker=Ke(a))}function Ne(a){if(!a)return!1;var o=a._valueTracker;if(!o)return!0;var f=o.getValue(),h="";return a&&(h=Ve(a)?a.checked?"true":"false":a.value),a=h,a!==f?(o.setValue(a),!0):!1}function dt(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 Bt(a,o){var f=o.checked;return L({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??a._wrapperState.initialChecked})}function lt(a,o){var f=o.defaultValue==null?"":o.defaultValue,h=o.checked!=null?o.checked:o.defaultChecked;f=Te(o.value!=null?o.value:f),a._wrapperState={initialChecked:h,initialValue:f,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function yn(a,o){o=o.checked,o!=null&&F(a,"checked",o,!1)}function nn(a,o){yn(a,o);var f=Te(o.value),h=o.type;if(f!=null)h==="number"?(f===0&&a.value===""||a.value!=f)&&(a.value=""+f):a.value!==""+f&&(a.value=""+f);else if(h==="submit"||h==="reset"){a.removeAttribute("value");return}o.hasOwnProperty("value")?Mn(a,o.type,f):o.hasOwnProperty("defaultValue")&&Mn(a,o.type,Te(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(a.defaultChecked=!!o.defaultChecked)}function Hn(a,o,f){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var h=o.type;if(!(h!=="submit"&&h!=="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 Mn(a,o,f){(o!=="number"||dt(a.ownerDocument)!==a)&&(f==null?a.defaultValue=""+a._wrapperState.initialValue:a.defaultValue!==""+f&&(a.defaultValue=""+f))}var Mt=Array.isArray;function Pn(a,o,f,h){if(a=a.options,o){o={};for(var x=0;x<f.length;x++)o["$"+f[x]]=!0;for(f=0;f<a.length;f++)x=o.hasOwnProperty("$"+a[f].value),a[f].selected!==x&&(a[f].selected=x),x&&h&&(a[f].defaultSelected=!0)}else{for(f=""+Te(f),o=null,x=0;x<a.length;x++){if(a[x].value===f){a[x].selected=!0,h&&(a[x].defaultSelected=!0);return}o!==null||a[x].disabled||(o=a[x])}o!==null&&(o.selected=!0)}}function $n(a,o){if(o.dangerouslySetInnerHTML!=null)throw Error(i(91));return L({},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(Mt(f)){if(1<f.length)throw Error(i(93));f=f[0]}o=f}o==null&&(o=""),f=o}a._wrapperState={initialValue:Te(f)}}function fr(a,o){var f=Te(o.value),h=Te(o.defaultValue);f!=null&&(f=""+f,f!==a.value&&(a.value=f),o.defaultValue==null&&a.defaultValue!==f&&(a.defaultValue=f)),h!=null&&(a.defaultValue=""+h)}function Qn(a){var o=a.textContent;o===a._wrapperState.initialValue&&o!==""&&o!==null&&(a.value=o)}function St(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 en(a,o){return a==null||a==="http://www.w3.org/1999/xhtml"?St(o):a==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":a}var ar,Ki=function(a){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,f,h,x){MSApp.execUnsafeLocalFunction(function(){return a(o,f,h,x)})}:a}(function(a,o){if(a.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in a)a.innerHTML=o;else{for(ar=ar||document.createElement("div"),ar.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=ar.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;o.firstChild;)a.appendChild(o.firstChild)}});function Ha(a,o){if(o){var f=a.firstChild;if(f&&f===a.lastChild&&f.nodeType===3){f.nodeValue=o;return}}a.textContent=o}var He={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},st=["Webkit","ms","Moz","O"];Object.keys(He).forEach(function(a){st.forEach(function(o){o=o+a.charAt(0).toUpperCase()+a.substring(1),He[o]=He[a]})});function Pt(a,o,f){return o==null||typeof o=="boolean"||o===""?"":f||typeof o!="number"||o===0||He.hasOwnProperty(a)&&He[a]?(""+o).trim():o+"px"}function sn(a,o){a=a.style;for(var f in o)if(o.hasOwnProperty(f)){var h=f.indexOf("--")===0,x=Pt(f,o[f],h);f==="float"&&(f="cssFloat"),h?a.setProperty(f,x):a[f]=x}}var ln=L({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 ir(a,o){if(o){if(ln[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 Wn(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 Yr=null;function bn(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var oa=null,cn=null,fn=null;function Pi(a){if(a=Xc(a)){if(typeof oa!="function")throw Error(i(280));var o=a.stateNode;o&&(o=ct(o),oa(a.stateNode,a.type,o))}}function li(a){cn?fn?fn.push(a):fn=[a]:cn=a}function ls(){if(cn){var a=cn,o=fn;if(fn=cn=null,Pi(a),o)for(a=0;a<o.length;a++)Pi(o[a])}}function pu(a,o){return a(o)}function dl(){}var To=!1;function cs(a,o,f){if(To)return a(o,f);To=!0;try{return pu(a,o,f)}finally{To=!1,(cn!==null||fn!==null)&&(dl(),ls())}}function Ua(a,o){var f=a.stateNode;if(f===null)return null;var h=ct(f);if(h===null)return null;f=h[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":(h=!h.disabled)||(a=a.type,h=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!h;break e;default:a=!1}if(a)return null;if(f&&typeof f!="function")throw Error(i(231,o,typeof f));return f}var eo=!1;if(y)try{var Ga={};Object.defineProperty(Ga,"passive",{get:function(){eo=!0}}),window.addEventListener("test",Ga,Ga),window.removeEventListener("test",Ga,Ga)}catch{eo=!1}function to(a,o,f,h,x,w,k,W,J){var de=Array.prototype.slice.call(arguments,3);try{o.apply(f,de)}catch(Me){this.onError(Me)}}var sa=!1,$a=null,no=!1,Z=null,je={onError:function(a){sa=!0,$a=a}};function Ue(a,o,f,h,x,w,k,W,J){sa=!1,$a=null,to.apply(je,arguments)}function Je(a,o,f,h,x,w,k,W,J){if(Ue.apply(this,arguments),sa){if(sa){var de=$a;sa=!1,$a=null}else throw Error(i(198));no||(no=!0,Z=de)}}function _t(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 $t(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 Dt(a){if(_t(a)!==a)throw Error(i(188))}function pt(a){var o=a.alternate;if(!o){if(o=_t(a),o===null)throw Error(i(188));return o!==a?null:a}for(var f=a,h=o;;){var x=f.return;if(x===null)break;var w=x.alternate;if(w===null){if(h=x.return,h!==null){f=h;continue}break}if(x.child===w.child){for(w=x.child;w;){if(w===f)return Dt(x),a;if(w===h)return Dt(x),o;w=w.sibling}throw Error(i(188))}if(f.return!==h.return)f=x,h=w;else{for(var k=!1,W=x.child;W;){if(W===f){k=!0,f=x,h=w;break}if(W===h){k=!0,h=x,f=w;break}W=W.sibling}if(!k){for(W=w.child;W;){if(W===f){k=!0,f=w,h=x;break}if(W===h){k=!0,h=w,f=x;break}W=W.sibling}if(!k)throw Error(i(189))}}if(f.alternate!==h)throw Error(i(190))}if(f.tag!==3)throw Error(i(188));return f.stateNode.current===f?a:o}function dr(a){return a=pt(a),a!==null?Dn(a):null}function Dn(a){if(a.tag===5||a.tag===6)return a;for(a=a.child;a!==null;){var o=Dn(a);if(o!==null)return o;a=a.sibling}return null}var jn=r.unstable_scheduleCallback,jr=r.unstable_cancelCallback,ro=r.unstable_shouldYield,pl=r.unstable_requestPaint,qt=r.unstable_now,xv=r.unstable_getCurrentPriorityLevel,Li=r.unstable_ImmediatePriority,Lt=r.unstable_UserBlockingPriority,ao=r.unstable_NormalPriority,fs=r.unstable_LowPriority,vl=r.unstable_IdlePriority,ds=null,Sa=null;function Oc(a){if(Sa&&typeof Sa.onCommitFiberRoot=="function")try{Sa.onCommitFiberRoot(ds,a,void 0,(a.current.flags&128)===128)}catch{}}var ua=Math.clz32?Math.clz32:ad,_c=Math.log,Dc=Math.LN2;function ad(a){return a>>>=0,a===0?32:31-(_c(a)/Dc|0)|0}var hl=64,ps=4194304;function Fi(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 la(a,o){var f=a.pendingLanes;if(f===0)return 0;var h=0,x=a.suspendedLanes,w=a.pingedLanes,k=f&268435455;if(k!==0){var W=k&~x;W!==0?h=Fi(W):(w&=k,w!==0&&(h=Fi(w)))}else k=f&~x,k!==0?h=Fi(k):w!==0&&(h=Fi(w));if(h===0)return 0;if(o!==0&&o!==h&&!(o&x)&&(x=h&-h,w=o&-o,x>=w||x===16&&(w&4194240)!==0))return o;if(h&4&&(h|=f&16),o=a.entangledLanes,o!==0)for(a=a.entanglements,o&=h;0<o;)f=31-ua(o),x=1<<f,h|=a[f],o&=~x;return h}function vs(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 hs(a,o){for(var f=a.suspendedLanes,h=a.pingedLanes,x=a.expirationTimes,w=a.pendingLanes;0<w;){var k=31-ua(w),W=1<<k,J=x[k];J===-1?(!(W&f)||W&h)&&(x[k]=vs(W,o)):J<=o&&(a.expiredLanes|=W),w&=~W}}function ms(a){return a=a.pendingLanes&-1073741825,a!==0?a:a&1073741824?1073741824:0}function ml(){var a=hl;return hl<<=1,!(hl&4194240)&&(hl=64),a}function gl(a){for(var o=[],f=0;31>f;f++)o.push(a);return o}function Io(a,o,f){a.pendingLanes|=o,o!==536870912&&(a.suspendedLanes=0,a.pingedLanes=0),a=a.eventTimes,o=31-ua(o),a[o]=f}function Ev(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 h=a.eventTimes;for(a=a.expirationTimes;0<f;){var x=31-ua(f),w=1<<x;o[x]=0,h[x]=-1,a[x]=-1,f&=~w}}function io(a,o){var f=a.entangledLanes|=o;for(a=a.entanglements;f;){var h=31-ua(f),x=1<<h;x&o|a[h]&o&&(a[h]|=o),f&=~x}}var rn=0;function yl(a){return a&=-a,1<a?4<a?a&268435455?16:536870912:4:1}var vu,bl,Qt,Cl,xl,At=!1,hu=[],Xn=null,wa=null,ca=null,gs=new Map,Kn=new Map,dn=[],id="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 Ra(a,o){switch(a){case"focusin":case"focusout":Xn=null;break;case"dragenter":case"dragleave":wa=null;break;case"mouseover":case"mouseout":ca=null;break;case"pointerover":case"pointerout":gs.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Kn.delete(o.pointerId)}}function Rr(a,o,f,h,x,w){return a===null||a.nativeEvent!==w?(a={blockedOn:o,domEventName:f,eventSystemFlags:h,nativeEvent:w,targetContainers:[x]},o!==null&&(o=Xc(o),o!==null&&bl(o)),a):(a.eventSystemFlags|=h,o=a.targetContainers,x!==null&&o.indexOf(x)===-1&&o.push(x),a)}function oo(a,o,f,h,x){switch(o){case"focusin":return Xn=Rr(Xn,a,o,f,h,x),!0;case"dragenter":return wa=Rr(wa,a,o,f,h,x),!0;case"mouseover":return ca=Rr(ca,a,o,f,h,x),!0;case"pointerover":var w=x.pointerId;return gs.set(w,Rr(gs.get(w)||null,a,o,f,h,x)),!0;case"gotpointercapture":return w=x.pointerId,Kn.set(w,Rr(Kn.get(w)||null,a,o,f,h,x)),!0}return!1}function od(a){var o=pi(a.target);if(o!==null){var f=_t(o);if(f!==null){if(o=f.tag,o===13){if(o=$t(f),o!==null){a.blockedOn=o,xl(a.priority,function(){Qt(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 Ao(a){if(a.blockedOn!==null)return!1;for(var o=a.targetContainers;0<o.length;){var f=Sl(a.domEventName,a.eventSystemFlags,o[0],a.nativeEvent);if(f===null){f=a.nativeEvent;var h=new f.constructor(f.type,f);Yr=h,f.target.dispatchEvent(h),Yr=null}else return o=Xc(f),o!==null&&bl(o),a.blockedOn=f,!1;o.shift()}return!0}function ys(a,o,f){Ao(a)&&f.delete(o)}function sd(){At=!1,Xn!==null&&Ao(Xn)&&(Xn=null),wa!==null&&Ao(wa)&&(wa=null),ca!==null&&Ao(ca)&&(ca=null),gs.forEach(ys),Kn.forEach(ys)}function ci(a,o){a.blockedOn===o&&(a.blockedOn=null,At||(At=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,sd)))}function bs(a){function o(x){return ci(x,a)}if(0<hu.length){ci(hu[0],a);for(var f=1;f<hu.length;f++){var h=hu[f];h.blockedOn===a&&(h.blockedOn=null)}}for(Xn!==null&&ci(Xn,a),wa!==null&&ci(wa,a),ca!==null&&ci(ca,a),gs.forEach(o),Kn.forEach(o),f=0;f<dn.length;f++)h=dn[f],h.blockedOn===a&&(h.blockedOn=null);for(;0<dn.length&&(f=dn[0],f.blockedOn===null);)od(f),f.blockedOn===null&&dn.shift()}var Cs=U.ReactCurrentBatchConfig,fi=!0;function El(a,o,f,h){var x=rn,w=Cs.transition;Cs.transition=null;try{rn=1,Es(a,o,f,h)}finally{rn=x,Cs.transition=w}}function xs(a,o,f,h){var x=rn,w=Cs.transition;Cs.transition=null;try{rn=4,Es(a,o,f,h)}finally{rn=x,Cs.transition=w}}function Es(a,o,f,h){if(fi){var x=Sl(a,o,f,h);if(x===null)md(a,o,h,mu,f),Ra(a,h);else if(oo(x,a,o,f,h))h.stopPropagation();else if(Ra(a,h),o&4&&-1<id.indexOf(a)){for(;x!==null;){var w=Xc(x);if(w!==null&&vu(w),w=Sl(a,o,f,h),w===null&&md(a,o,h,mu,f),w===x)break;x=w}x!==null&&h.stopPropagation()}else md(a,o,h,null,f)}}var mu=null;function Sl(a,o,f,h){if(mu=null,a=bn(h),a=pi(a),a!==null)if(o=_t(a),o===null)a=null;else if(f=o.tag,f===13){if(a=$t(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 mu=a,null}function jc(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(xv()){case Li:return 1;case Lt:return 4;case ao:case fs:return 16;case vl:return 536870912;default:return 16}default:return 16}}var Vi=null,D=null,Y=null;function ce(){if(Y)return Y;var a,o=D,f=o.length,h,x="value"in Vi?Vi.value:Vi.textContent,w=x.length;for(a=0;a<f&&o[a]===x[a];a++);var k=f-a;for(h=1;h<=k&&o[f-h]===x[w-h];h++);return Y=x.slice(a,1<h?1-h:void 0)}function ge(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 Be(){return!0}function gt(){return!1}function We(a){function o(f,h,x,w,k){this._reactName=f,this._targetInst=x,this.type=h,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)?Be:gt,this.isPropagationStopped=gt,this}return L(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=Be)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=Be)},persist:function(){},isPersistent:Be}),o}var ht={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ft=We(ht),Kt=L({},ht,{view:0,detail:0}),In=We(Kt),Cn,An,kn,Ut=L({},Kt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Iv,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!==kn&&(kn&&a.type==="mousemove"?(Cn=a.screenX-kn.screenX,An=a.screenY-kn.screenY):An=Cn=0,kn=a),Cn)},movementY:function(a){return"movementY"in a?a.movementY:An}}),No=We(Ut),wl=L({},Ut,{dataTransfer:0}),kc=We(wl),Sv=L({},Kt,{relatedTarget:0}),Bi=We(Sv),Mc=L({},ht,{animationName:0,elapsedTime:0,pseudoElement:0}),Pc=We(Mc),wv=L({},ht,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),lE=We(wv),cE=L({},ht,{data:0}),Rv=We(cE),Tv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Kg={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"},ey={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ty(a){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(a):(a=ey[a])?!!o[a]:!1}function Iv(){return ty}var Oo=L({},Kt,{key:function(a){if(a.key){var o=Tv[a.key]||a.key;if(o!=="Unidentified")return o}return a.type==="keypress"?(a=ge(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?Kg[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Iv,charCode:function(a){return a.type==="keypress"?ge(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?ge(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),fE=We(Oo),Av=L({},Ut,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ud=We(Av),Nv=L({},Kt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Iv}),dE=We(Nv),ld=L({},ht,{propertyName:0,elapsedTime:0,pseudoElement:0}),ny=We(ld),Ta=L({},Ut,{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}),_o=We(Ta),pr=[9,13,27,32],zi=y&&"CompositionEvent"in window,gu=null;y&&"documentMode"in document&&(gu=document.documentMode);var cd=y&&"TextEvent"in window&&!gu,ry=y&&(!zi||gu&&8<gu&&11>=gu),Rl=" ",ay=!1;function iy(a,o){switch(a){case"keyup":return pr.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fd(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var Tl=!1;function pE(a,o){switch(a){case"compositionend":return fd(o);case"keypress":return o.which!==32?null:(ay=!0,Rl);case"textInput":return a=o.data,a===Rl&&ay?null:a;default:return null}}function vE(a,o){if(Tl)return a==="compositionend"||!zi&&iy(a,o)?(a=ce(),Y=D=Vi=null,Tl=!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 ry&&o.locale!=="ko"?null:o.data;default:return null}}var oy={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 sy(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o==="input"?!!oy[a.type]:o==="textarea"}function uy(a,o,f,h){li(h),o=Gc(o,"onChange"),0<o.length&&(f=new Ft("onChange","change",null,f,h),a.push({event:f,listeners:o}))}var Lc=null,Il=null;function Al(a){hd(a,0)}function Nl(a){var o=_l(a);if(Ne(o))return a}function ly(a,o){if(a==="change")return o}var Ov=!1;if(y){var _v;if(y){var Dv="oninput"in document;if(!Dv){var cy=document.createElement("div");cy.setAttribute("oninput","return;"),Dv=typeof cy.oninput=="function"}_v=Dv}else _v=!1;Ov=_v&&(!document.documentMode||9<document.documentMode)}function fy(){Lc&&(Lc.detachEvent("onpropertychange",dy),Il=Lc=null)}function dy(a){if(a.propertyName==="value"&&Nl(Il)){var o=[];uy(o,Il,a,bn(a)),cs(Al,o)}}function hE(a,o,f){a==="focusin"?(fy(),Lc=o,Il=f,Lc.attachEvent("onpropertychange",dy)):a==="focusout"&&fy()}function mE(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return Nl(Il)}function gE(a,o){if(a==="click")return Nl(o)}function py(a,o){if(a==="input"||a==="change")return Nl(o)}function yE(a,o){return a===o&&(a!==0||1/a===1/o)||a!==a&&o!==o}var di=typeof Object.is=="function"?Object.is:yE;function Fc(a,o){if(di(a,o))return!0;if(typeof a!="object"||a===null||typeof o!="object"||o===null)return!1;var f=Object.keys(a),h=Object.keys(o);if(f.length!==h.length)return!1;for(h=0;h<f.length;h++){var x=f[h];if(!g.call(o,x)||!di(a[x],o[x]))return!1}return!0}function vy(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function hy(a,o){var f=vy(a);a=0;for(var h;f;){if(f.nodeType===3){if(h=a+f.textContent.length,a<=o&&h>=o)return{node:f,offset:o-a};a=h}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=vy(f)}}function my(a,o){return a&&o?a===o?!0:a&&a.nodeType===3?!1:o&&o.nodeType===3?my(a,o.parentNode):"contains"in a?a.contains(o):a.compareDocumentPosition?!!(a.compareDocumentPosition(o)&16):!1:!1}function dd(){for(var a=window,o=dt();o instanceof a.HTMLIFrameElement;){try{var f=typeof o.contentWindow.location.href=="string"}catch{f=!1}if(f)a=o.contentWindow;else break;o=dt(a.document)}return o}function Do(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 pd(a){var o=dd(),f=a.focusedElem,h=a.selectionRange;if(o!==f&&f&&f.ownerDocument&&my(f.ownerDocument.documentElement,f)){if(h!==null&&Do(f)){if(o=h.start,a=h.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 x=f.textContent.length,w=Math.min(h.start,x);h=h.end===void 0?w:Math.min(h.end,x),!a.extend&&w>h&&(x=h,h=w,w=x),x=hy(f,w);var k=hy(f,h);x&&k&&(a.rangeCount!==1||a.anchorNode!==x.node||a.anchorOffset!==x.offset||a.focusNode!==k.node||a.focusOffset!==k.offset)&&(o=o.createRange(),o.setStart(x.node,x.offset),a.removeAllRanges(),w>h?(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 gy=y&&"documentMode"in document&&11>=document.documentMode,Hi=null,jv=null,Vc=null,kv=!1;function yy(a,o,f){var h=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;kv||Hi==null||Hi!==dt(h)||(h=Hi,"selectionStart"in h&&Do(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),Vc&&Fc(Vc,h)||(Vc=h,h=Gc(jv,"onSelect"),0<h.length&&(o=new Ft("onSelect","select",null,o,f),a.push({event:o,listeners:h}),o.target=Hi)))}function vd(a,o){var f={};return f[a.toLowerCase()]=o.toLowerCase(),f["Webkit"+a]="webkit"+o,f["Moz"+a]="moz"+o,f}var yu={animationend:vd("Animation","AnimationEnd"),animationiteration:vd("Animation","AnimationIteration"),animationstart:vd("Animation","AnimationStart"),transitionend:vd("Transition","TransitionEnd")},Mv={},Pv={};y&&(Pv=document.createElement("div").style,"AnimationEvent"in window||(delete yu.animationend.animation,delete yu.animationiteration.animation,delete yu.animationstart.animation),"TransitionEvent"in window||delete yu.transitionend.transition);function Tr(a){if(Mv[a])return Mv[a];if(!yu[a])return a;var o=yu[a],f;for(f in o)if(o.hasOwnProperty(f)&&f in Pv)return Mv[a]=o[f];return a}var Lv=Tr("animationend"),by=Tr("animationiteration"),Cy=Tr("animationstart"),xy=Tr("transitionend"),Ey=new Map,Sy="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 jo(a,o){Ey.set(a,o),d(o,[a])}for(var Bc=0;Bc<Sy.length;Bc++){var bu=Sy[Bc],bE=bu.toLowerCase(),zc=bu[0].toUpperCase()+bu.slice(1);jo(bE,"on"+zc)}jo(Lv,"onAnimationEnd"),jo(by,"onAnimationIteration"),jo(Cy,"onAnimationStart"),jo("dblclick","onDoubleClick"),jo("focusin","onFocus"),jo("focusout","onBlur"),jo(xy,"onTransitionEnd"),p("onMouseEnter",["mouseout","mouseover"]),p("onMouseLeave",["mouseout","mouseover"]),p("onPointerEnter",["pointerout","pointerover"]),p("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 Hc="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(" "),CE=new Set("cancel close invalid load scroll toggle".split(" ").concat(Hc));function wy(a,o,f){var h=a.type||"unknown-event";a.currentTarget=f,Je(h,o,void 0,a),a.currentTarget=null}function hd(a,o){o=(o&4)!==0;for(var f=0;f<a.length;f++){var h=a[f],x=h.event;h=h.listeners;e:{var w=void 0;if(o)for(var k=h.length-1;0<=k;k--){var W=h[k],J=W.instance,de=W.currentTarget;if(W=W.listener,J!==w&&x.isPropagationStopped())break e;wy(x,W,de),w=J}else for(k=0;k<h.length;k++){if(W=h[k],J=W.instance,de=W.currentTarget,W=W.listener,J!==w&&x.isPropagationStopped())break e;wy(x,W,de),w=J}}}if(no)throw a=Z,no=!1,Z=null,a}function Nn(a,o){var f=o[Gv];f===void 0&&(f=o[Gv]=new Set);var h=a+"__bubble";f.has(h)||(Ry(o,a,2,!1),f.add(h))}function Ss(a,o,f){var h=0;o&&(h|=4),Ry(f,a,h,o)}var ko="_reactListening"+Math.random().toString(36).slice(2);function Ol(a){if(!a[ko]){a[ko]=!0,u.forEach(function(f){f!=="selectionchange"&&(CE.has(f)||Ss(f,!1,a),Ss(f,!0,a))});var o=a.nodeType===9?a:a.ownerDocument;o===null||o[ko]||(o[ko]=!0,Ss("selectionchange",!1,o))}}function Ry(a,o,f,h){switch(jc(o)){case 1:var x=El;break;case 4:x=xs;break;default:x=Es}f=x.bind(null,o,f,a),x=void 0,!eo||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(x=!0),h?x!==void 0?a.addEventListener(o,f,{capture:!0,passive:x}):a.addEventListener(o,f,!0):x!==void 0?a.addEventListener(o,f,{passive:x}):a.addEventListener(o,f,!1)}function md(a,o,f,h,x){var w=h;if(!(o&1)&&!(o&2)&&h!==null)e:for(;;){if(h===null)return;var k=h.tag;if(k===3||k===4){var W=h.stateNode.containerInfo;if(W===x||W.nodeType===8&&W.parentNode===x)break;if(k===4)for(k=h.return;k!==null;){var J=k.tag;if((J===3||J===4)&&(J=k.stateNode.containerInfo,J===x||J.nodeType===8&&J.parentNode===x))return;k=k.return}for(;W!==null;){if(k=pi(W),k===null)return;if(J=k.tag,J===5||J===6){h=w=k;continue e}W=W.parentNode}}h=h.return}cs(function(){var de=w,Me=bn(f),Le=[];e:{var ke=Ey.get(a);if(ke!==void 0){var Ye=Ft,tt=a;switch(a){case"keypress":if(ge(f)===0)break e;case"keydown":case"keyup":Ye=fE;break;case"focusin":tt="focus",Ye=Bi;break;case"focusout":tt="blur",Ye=Bi;break;case"beforeblur":case"afterblur":Ye=Bi;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=No;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ye=kc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ye=dE;break;case Lv:case by:case Cy:Ye=Pc;break;case xy:Ye=ny;break;case"scroll":Ye=In;break;case"wheel":Ye=_o;break;case"copy":case"cut":case"paste":Ye=lE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ye=ud}var at=(o&4)!==0,sr=!at&&a==="scroll",ne=at?ke!==null?ke+"Capture":null:ke;at=[];for(var K=de,oe;K!==null;){oe=K;var ze=oe.stateNode;if(oe.tag===5&&ze!==null&&(oe=ze,ne!==null&&(ze=Ua(K,ne),ze!=null&&at.push(Uc(K,ze,oe)))),sr)break;K=K.return}0<at.length&&(ke=new Ye(ke,tt,null,f,Me),Le.push({event:ke,listeners:at}))}}if(!(o&7)){e:{if(ke=a==="mouseover"||a==="pointerover",Ye=a==="mouseout"||a==="pointerout",ke&&f!==Yr&&(tt=f.relatedTarget||f.fromElement)&&(pi(tt)||tt[Mo]))break e;if((Ye||ke)&&(ke=Me.window===Me?Me:(ke=Me.ownerDocument)?ke.defaultView||ke.parentWindow:window,Ye?(tt=f.relatedTarget||f.toElement,Ye=de,tt=tt?pi(tt):null,tt!==null&&(sr=_t(tt),tt!==sr||tt.tag!==5&&tt.tag!==6)&&(tt=null)):(Ye=null,tt=de),Ye!==tt)){if(at=No,ze="onMouseLeave",ne="onMouseEnter",K="mouse",(a==="pointerout"||a==="pointerover")&&(at=ud,ze="onPointerLeave",ne="onPointerEnter",K="pointer"),sr=Ye==null?ke:_l(Ye),oe=tt==null?ke:_l(tt),ke=new at(ze,K+"leave",Ye,f,Me),ke.target=sr,ke.relatedTarget=oe,ze=null,pi(Me)===de&&(at=new at(ne,K+"enter",tt,f,Me),at.target=oe,at.relatedTarget=sr,ze=at),sr=ze,Ye&&tt)t:{for(at=Ye,ne=tt,K=0,oe=at;oe;oe=Cu(oe))K++;for(oe=0,ze=ne;ze;ze=Cu(ze))oe++;for(;0<K-oe;)at=Cu(at),K--;for(;0<oe-K;)ne=Cu(ne),oe--;for(;K--;){if(at===ne||ne!==null&&at===ne.alternate)break t;at=Cu(at),ne=Cu(ne)}at=null}else at=null;Ye!==null&&Fv(Le,ke,Ye,at,!1),tt!==null&&sr!==null&&Fv(Le,sr,tt,at,!0)}}e:{if(ke=de?_l(de):window,Ye=ke.nodeName&&ke.nodeName.toLowerCase(),Ye==="select"||Ye==="input"&&ke.type==="file")var it=ly;else if(sy(ke))if(Ov)it=py;else{it=mE;var nt=hE}else(Ye=ke.nodeName)&&Ye.toLowerCase()==="input"&&(ke.type==="checkbox"||ke.type==="radio")&&(it=gE);if(it&&(it=it(a,de))){uy(Le,it,f,Me);break e}nt&&nt(a,ke,de),a==="focusout"&&(nt=ke._wrapperState)&&nt.controlled&&ke.type==="number"&&Mn(ke,"number",ke.value)}switch(nt=de?_l(de):window,a){case"focusin":(sy(nt)||nt.contentEditable==="true")&&(Hi=nt,jv=de,Vc=null);break;case"focusout":Vc=jv=Hi=null;break;case"mousedown":kv=!0;break;case"contextmenu":case"mouseup":case"dragend":kv=!1,yy(Le,f,Me);break;case"selectionchange":if(gy)break;case"keydown":case"keyup":yy(Le,f,Me)}var ut;if(zi)e:{switch(a){case"compositionstart":var Rt="onCompositionStart";break e;case"compositionend":Rt="onCompositionEnd";break e;case"compositionupdate":Rt="onCompositionUpdate";break e}Rt=void 0}else Tl?iy(a,f)&&(Rt="onCompositionEnd"):a==="keydown"&&f.keyCode===229&&(Rt="onCompositionStart");Rt&&(ry&&f.locale!=="ko"&&(Tl||Rt!=="onCompositionStart"?Rt==="onCompositionEnd"&&Tl&&(ut=ce()):(Vi=Me,D="value"in Vi?Vi.value:Vi.textContent,Tl=!0)),nt=Gc(de,Rt),0<nt.length&&(Rt=new Rv(Rt,a,null,f,Me),Le.push({event:Rt,listeners:nt}),ut?Rt.data=ut:(ut=fd(f),ut!==null&&(Rt.data=ut)))),(ut=cd?pE(a,f):vE(a,f))&&(de=Gc(de,"onBeforeInput"),0<de.length&&(Me=new Rv("onBeforeInput","beforeinput",null,f,Me),Le.push({event:Me,listeners:de}),Me.data=ut))}hd(Le,o)})}function Uc(a,o,f){return{instance:a,listener:o,currentTarget:f}}function Gc(a,o){for(var f=o+"Capture",h=[];a!==null;){var x=a,w=x.stateNode;x.tag===5&&w!==null&&(x=w,w=Ua(a,f),w!=null&&h.unshift(Uc(a,w,x)),w=Ua(a,o),w!=null&&h.push(Uc(a,w,x))),a=a.return}return h}function Cu(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5);return a||null}function Fv(a,o,f,h,x){for(var w=o._reactName,k=[];f!==null&&f!==h;){var W=f,J=W.alternate,de=W.stateNode;if(J!==null&&J===h)break;W.tag===5&&de!==null&&(W=de,x?(J=Ua(f,w),J!=null&&k.unshift(Uc(f,J,W))):x||(J=Ua(f,w),J!=null&&k.push(Uc(f,J,W)))),f=f.return}k.length!==0&&a.push({event:o,listeners:k})}var Vv=/\r\n?/g,xE=/\u0000|\uFFFD/g;function Bv(a){return(typeof a=="string"?a:""+a).replace(Vv,`
|
|
94
|
-
`).replace(xE,"")}function gd(a,o,f){if(o=Bv(o),Bv(a)!==o&&f)throw Error(i(425))}function yd(){}var zv=null,xu=null;function $c(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 Eu=typeof setTimeout=="function"?setTimeout:void 0,Ty=typeof clearTimeout=="function"?clearTimeout:void 0,Hv=typeof Promise=="function"?Promise:void 0,Uv=typeof queueMicrotask=="function"?queueMicrotask:typeof Hv<"u"?function(a){return Hv.resolve(null).then(a).catch(EE)}:Eu;function EE(a){setTimeout(function(){throw a})}function ws(a,o){var f=o,h=0;do{var x=f.nextSibling;if(a.removeChild(f),x&&x.nodeType===8)if(f=x.data,f==="/$"){if(h===0){a.removeChild(x),bs(o);return}h--}else f!=="$"&&f!=="$?"&&f!=="$!"||h++;f=x}while(f);bs(o)}function Ui(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 Rs=Math.random().toString(36).slice(2),so="__reactFiber$"+Rs,Su="__reactProps$"+Rs,Mo="__reactContainer$"+Rs,Gv="__reactEvents$"+Rs,SE="__reactListeners$"+Rs,$v="__reactHandles$"+Rs;function pi(a){var o=a[so];if(o)return o;for(var f=a.parentNode;f;){if(o=f[Mo]||f[so]){if(f=o.alternate,o.child!==null||f!==null&&f.child!==null)for(a=Wc(a);a!==null;){if(f=a[so])return f;a=Wc(a)}return o}a=f,f=a.parentNode}return null}function Xc(a){return a=a[so]||a[Mo],!a||a.tag!==5&&a.tag!==6&&a.tag!==13&&a.tag!==3?null:a}function _l(a){if(a.tag===5||a.tag===6)return a.stateNode;throw Error(i(33))}function ct(a){return a[Su]||null}var Ts=[],Ln=-1;function jt(a){return{current:a}}function un(a){0>Ln||(a.current=Ts[Ln],Ts[Ln]=null,Ln--)}function pn(a,o){Ln++,Ts[Ln]=a.current,a.current=o}var uo={},wt=jt(uo),er=jt(!1),Ia=uo;function hi(a,o){var f=a.type.contextTypes;if(!f)return uo;var h=a.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===o)return h.__reactInternalMemoizedMaskedChildContext;var x={},w;for(w in f)x[w]=o[w];return h&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=o,a.__reactInternalMemoizedMaskedChildContext=x),x}function Un(a){return a=a.childContextTypes,a!=null}function mi(){un(er),un(wt)}function Is(a,o,f){if(wt.current!==uo)throw Error(i(168));pn(wt,o),pn(er,f)}function Yc(a,o,f){var h=a.stateNode;if(o=o.childContextTypes,typeof h.getChildContext!="function")return f;h=h.getChildContext();for(var x in h)if(!(x in o))throw Error(i(108,he(a)||"Unknown",x));return L({},f,h)}function bd(a){return a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||uo,Ia=wt.current,pn(wt,a),pn(er,er.current),!0}function Iy(a,o,f){var h=a.stateNode;if(!h)throw Error(i(169));f?(a=Yc(a,o,Ia),h.__reactInternalMemoizedMergedChildContext=a,un(er),un(wt),pn(wt,a)):un(er),pn(er,f)}var Wa=null,Ir=!1,Zc=!1;function Wv(a){Wa===null?Wa=[a]:Wa.push(a)}function Xv(a){Ir=!0,Wv(a)}function Aa(){if(!Zc&&Wa!==null){Zc=!0;var a=0,o=rn;try{var f=Wa;for(rn=1;a<f.length;a++){var h=f[a];do h=h(!0);while(h!==null)}Wa=null,Ir=!1}catch(x){throw Wa!==null&&(Wa=Wa.slice(a+1)),jn(Li,Aa),x}finally{rn=o,Zc=!1}}return null}var As=[],Na=0,wu=null,Dl=0,Oa=[],Zr=0,gi=null,kr=1,Po="";function Xa(a,o){As[Na++]=Dl,As[Na++]=wu,wu=a,Dl=o}function Yv(a,o,f){Oa[Zr++]=kr,Oa[Zr++]=Po,Oa[Zr++]=gi,gi=a;var h=kr;a=Po;var x=32-ua(h)-1;h&=~(1<<x),f+=1;var w=32-ua(o)+x;if(30<w){var k=x-x%5;w=(h&(1<<k)-1).toString(32),h>>=k,x-=k,kr=1<<32-ua(o)+x|f<<x|h,Po=w+a}else kr=1<<w|f<<x|h,Po=a}function Cd(a){a.return!==null&&(Xa(a,1),Yv(a,1,0))}function Zv(a){for(;a===wu;)wu=As[--Na],As[Na]=null,Dl=As[--Na],As[Na]=null;for(;a===gi;)gi=Oa[--Zr],Oa[Zr]=null,Po=Oa[--Zr],Oa[Zr]=null,kr=Oa[--Zr],Oa[Zr]=null}var Ya=null,_a=null,Fn=!1,yi=null;function Jv(a,o){var f=wi(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 Ay(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,Ya=a,_a=Ui(o.firstChild),!0):!1;case 6:return o=a.pendingProps===""||o.nodeType!==3?null:o,o!==null?(a.stateNode=o,Ya=a,_a=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(f=gi!==null?{id:kr,overflow:Po}:null,a.memoizedState={dehydrated:o,treeContext:f,retryLane:1073741824},f=wi(18,null,null,0),f.stateNode=o,f.return=a,a.child=f,Ya=a,_a=null,!0):!1;default:return!1}}function xd(a){return(a.mode&1)!==0&&(a.flags&128)===0}function Ed(a){if(Fn){var o=_a;if(o){var f=o;if(!Ay(a,o)){if(xd(a))throw Error(i(418));o=Ui(f.nextSibling);var h=Ya;o&&Ay(a,o)?Jv(h,f):(a.flags=a.flags&-4097|2,Fn=!1,Ya=a)}}else{if(xd(a))throw Error(i(418));a.flags=a.flags&-4097|2,Fn=!1,Ya=a}}}function Ny(a){for(a=a.return;a!==null&&a.tag!==5&&a.tag!==3&&a.tag!==13;)a=a.return;Ya=a}function Sd(a){if(a!==Ya)return!1;if(!Fn)return Ny(a),Fn=!0,!1;var o;if((o=a.tag!==3)&&!(o=a.tag!==5)&&(o=a.type,o=o!=="head"&&o!=="body"&&!$c(a.type,a.memoizedProps)),o&&(o=_a)){if(xd(a))throw Oy(),Error(i(418));for(;o;)Jv(a,o),o=Ui(o.nextSibling)}if(Ny(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){_a=Ui(a.nextSibling);break e}o--}else f!=="$"&&f!=="$!"&&f!=="$?"||o++}a=a.nextSibling}_a=null}}else _a=Ya?Ui(a.stateNode.nextSibling):null;return!0}function Oy(){for(var a=_a;a;)a=Ui(a.nextSibling)}function Yn(){_a=Ya=null,Fn=!1}function qv(a){yi===null?yi=[a]:yi.push(a)}var wd=U.ReactCurrentBatchConfig;function Za(a,o){if(a&&a.defaultProps){o=L({},o),a=a.defaultProps;for(var f in a)o[f]===void 0&&(o[f]=a[f]);return o}return o}var lo=jt(null),Rd=null,Ns=null,Qv=null;function Kv(){Qv=Ns=Rd=null}function Os(a){var o=lo.current;un(lo),a._currentValue=o}function Ar(a,o,f){for(;a!==null;){var h=a.alternate;if((a.childLanes&o)!==o?(a.childLanes|=o,h!==null&&(h.childLanes|=o)):h!==null&&(h.childLanes&o)!==o&&(h.childLanes|=o),a===f)break;a=a.return}}function Ge(a,o){Rd=a,Qv=Ns=null,a=a.dependencies,a!==null&&a.firstContext!==null&&(a.lanes&o&&(vr=!0),a.firstContext=null)}function or(a){var o=a._currentValue;if(Qv!==a)if(a={context:a,memoizedValue:o,next:null},Ns===null){if(Rd===null)throw Error(i(308));Ns=a,Rd.dependencies={lanes:0,firstContext:a}}else Ns=Ns.next=a;return o}var Mr=null;function eh(a){Mr===null?Mr=[a]:Mr.push(a)}function _y(a,o,f,h){var x=o.interleaved;return x===null?(f.next=f,eh(o)):(f.next=x.next,x.next=f),o.interleaved=f,Lo(a,h)}function Lo(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 _s=!1;function th(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function gr(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 Fo(a,o){return{eventTime:a,lane:o,tag:0,payload:null,callback:null,next:null}}function Ds(a,o,f){var h=a.updateQueue;if(h===null)return null;if(h=h.shared,zt&2){var x=h.pending;return x===null?o.next=o:(o.next=x.next,x.next=o),h.pending=o,Lo(a,f)}return x=h.interleaved,x===null?(o.next=o,eh(h)):(o.next=x.next,x.next=o),h.interleaved=o,Lo(a,f)}function Td(a,o,f){if(o=o.updateQueue,o!==null&&(o=o.shared,(f&4194240)!==0)){var h=o.lanes;h&=a.pendingLanes,f|=h,o.lanes=f,io(a,f)}}function nh(a,o){var f=a.updateQueue,h=a.alternate;if(h!==null&&(h=h.updateQueue,f===h)){var x=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?x=w=k:w=w.next=k,f=f.next}while(f!==null);w===null?x=w=o:w=w.next=o}else x=w=o;f={baseState:h.baseState,firstBaseUpdate:x,lastBaseUpdate:w,shared:h.shared,effects:h.effects},a.updateQueue=f;return}a=f.lastBaseUpdate,a===null?f.firstBaseUpdate=o:a.next=o,f.lastBaseUpdate=o}function js(a,o,f,h){var x=a.updateQueue;_s=!1;var w=x.firstBaseUpdate,k=x.lastBaseUpdate,W=x.shared.pending;if(W!==null){x.shared.pending=null;var J=W,de=J.next;J.next=null,k===null?w=de:k.next=de,k=J;var Me=a.alternate;Me!==null&&(Me=Me.updateQueue,W=Me.lastBaseUpdate,W!==k&&(W===null?Me.firstBaseUpdate=de:W.next=de,Me.lastBaseUpdate=J))}if(w!==null){var Le=x.baseState;k=0,Me=de=J=null,W=w;do{var ke=W.lane,Ye=W.eventTime;if((h&ke)===ke){Me!==null&&(Me=Me.next={eventTime:Ye,lane:0,tag:W.tag,payload:W.payload,callback:W.callback,next:null});e:{var tt=a,at=W;switch(ke=o,Ye=f,at.tag){case 1:if(tt=at.payload,typeof tt=="function"){Le=tt.call(Ye,Le,ke);break e}Le=tt;break e;case 3:tt.flags=tt.flags&-65537|128;case 0:if(tt=at.payload,ke=typeof tt=="function"?tt.call(Ye,Le,ke):tt,ke==null)break e;Le=L({},Le,ke);break e;case 2:_s=!0}}W.callback!==null&&W.lane!==0&&(a.flags|=64,ke=x.effects,ke===null?x.effects=[W]:ke.push(W))}else Ye={eventTime:Ye,lane:ke,tag:W.tag,payload:W.payload,callback:W.callback,next:null},Me===null?(de=Me=Ye,J=Le):Me=Me.next=Ye,k|=ke;if(W=W.next,W===null){if(W=x.shared.pending,W===null)break;ke=W,W=ke.next,ke.next=null,x.lastBaseUpdate=ke,x.shared.pending=null}}while(!0);if(Me===null&&(J=Le),x.baseState=J,x.firstBaseUpdate=de,x.lastBaseUpdate=Me,o=x.shared.interleaved,o!==null){x=o;do k|=x.lane,x=x.next;while(x!==o)}else w===null&&(x.shared.lanes=0);Ho|=k,a.lanes=k,a.memoizedState=Le}}function Ru(a,o,f){if(a=o.effects,o.effects=null,a!==null)for(o=0;o<a.length;o++){var h=a[o],x=h.callback;if(x!==null){if(h.callback=null,h=f,typeof x!="function")throw Error(i(191,x));x.call(h)}}}var Dy=new n.Component().refs;function rh(a,o,f,h){o=a.memoizedState,f=f(h,o),f=f==null?o:L({},o,f),a.memoizedState=f,a.lanes===0&&(a.updateQueue.baseState=f)}var Id={isMounted:function(a){return(a=a._reactInternals)?_t(a)===a:!1},enqueueSetState:function(a,o,f){a=a._reactInternals;var h=Kr(),x=hr(a),w=Fo(h,x);w.payload=o,f!=null&&(w.callback=f),o=Ds(a,w,x),o!==null&&(ea(o,a,x,h),Td(o,a,x))},enqueueReplaceState:function(a,o,f){a=a._reactInternals;var h=Kr(),x=hr(a),w=Fo(h,x);w.tag=1,w.payload=o,f!=null&&(w.callback=f),o=Ds(a,w,x),o!==null&&(ea(o,a,x,h),Td(o,a,x))},enqueueForceUpdate:function(a,o){a=a._reactInternals;var f=Kr(),h=hr(a),x=Fo(f,h);x.tag=2,o!=null&&(x.callback=o),o=Ds(a,x,h),o!==null&&(ea(o,a,h,f),Td(o,a,h))}};function jy(a,o,f,h,x,w,k){return a=a.stateNode,typeof a.shouldComponentUpdate=="function"?a.shouldComponentUpdate(h,w,k):o.prototype&&o.prototype.isPureReactComponent?!Fc(f,h)||!Fc(x,w):!0}function ky(a,o,f){var h=!1,x=uo,w=o.contextType;return typeof w=="object"&&w!==null?w=or(w):(x=Un(o)?Ia:wt.current,h=o.contextTypes,w=(h=h!=null)?hi(a,x):uo),o=new o(f,w),a.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=Id,a.stateNode=o,o._reactInternals=a,h&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=x,a.__reactInternalMemoizedMaskedChildContext=w),o}function My(a,o,f,h){a=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(f,h),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(f,h),o.state!==a&&Id.enqueueReplaceState(o,o.state,null)}function Ad(a,o,f,h){var x=a.stateNode;x.props=f,x.state=a.memoizedState,x.refs=Dy,th(a);var w=o.contextType;typeof w=="object"&&w!==null?x.context=or(w):(w=Un(o)?Ia:wt.current,x.context=hi(a,w)),x.state=a.memoizedState,w=o.getDerivedStateFromProps,typeof w=="function"&&(rh(a,o,w,f),x.state=a.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof x.getSnapshotBeforeUpdate=="function"||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(o=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),o!==x.state&&Id.enqueueReplaceState(x,x.state,null),js(a,f,x,h),x.state=a.memoizedState),typeof x.componentDidMount=="function"&&(a.flags|=4194308)}function jl(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 h=f.stateNode}if(!h)throw Error(i(147,a));var x=h,w=""+a;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===w?o.ref:(o=function(k){var W=x.refs;W===Dy&&(W=x.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 Nd(a,o){throw a=Object.prototype.toString.call(o),Error(i(31,a==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":a))}function Py(a){var o=a._init;return o(a._payload)}function Ly(a){function o(ne,K){if(a){var oe=ne.deletions;oe===null?(ne.deletions=[K],ne.flags|=16):oe.push(K)}}function f(ne,K){if(!a)return null;for(;K!==null;)o(ne,K),K=K.sibling;return null}function h(ne,K){for(ne=new Map;K!==null;)K.key!==null?ne.set(K.key,K):ne.set(K.index,K),K=K.sibling;return ne}function x(ne,K){return ne=zs(ne,K),ne.index=0,ne.sibling=null,ne}function w(ne,K,oe){return ne.index=oe,a?(oe=ne.alternate,oe!==null?(oe=oe.index,oe<K?(ne.flags|=2,K):oe):(ne.flags|=2,K)):(ne.flags|=1048576,K)}function k(ne){return a&&ne.alternate===null&&(ne.flags|=2),ne}function W(ne,K,oe,ze){return K===null||K.tag!==6?(K=hf(oe,ne.mode,ze),K.return=ne,K):(K=x(K,oe),K.return=ne,K)}function J(ne,K,oe,ze){var it=oe.type;return it===X?Me(ne,K,oe.props.children,ze,oe.key):K!==null&&(K.elementType===it||typeof it=="object"&&it!==null&&it.$$typeof===Oe&&Py(it)===K.type)?(ze=x(K,oe.props),ze.ref=jl(ne,K,oe),ze.return=ne,ze):(ze=sp(oe.type,oe.key,oe.props,null,ne.mode,ze),ze.ref=jl(ne,K,oe),ze.return=ne,ze)}function de(ne,K,oe,ze){return K===null||K.tag!==4||K.stateNode.containerInfo!==oe.containerInfo||K.stateNode.implementation!==oe.implementation?(K=Gu(oe,ne.mode,ze),K.return=ne,K):(K=x(K,oe.children||[]),K.return=ne,K)}function Me(ne,K,oe,ze,it){return K===null||K.tag!==7?(K=Uu(oe,ne.mode,ze,it),K.return=ne,K):(K=x(K,oe),K.return=ne,K)}function Le(ne,K,oe){if(typeof K=="string"&&K!==""||typeof K=="number")return K=hf(""+K,ne.mode,oe),K.return=ne,K;if(typeof K=="object"&&K!==null){switch(K.$$typeof){case z:return oe=sp(K.type,K.key,K.props,null,ne.mode,oe),oe.ref=jl(ne,null,K),oe.return=ne,oe;case G:return K=Gu(K,ne.mode,oe),K.return=ne,K;case Oe:var ze=K._init;return Le(ne,ze(K._payload),oe)}if(Mt(K)||Pe(K))return K=Uu(K,ne.mode,oe,null),K.return=ne,K;Nd(ne,K)}return null}function ke(ne,K,oe,ze){var it=K!==null?K.key:null;if(typeof oe=="string"&&oe!==""||typeof oe=="number")return it!==null?null:W(ne,K,""+oe,ze);if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case z:return oe.key===it?J(ne,K,oe,ze):null;case G:return oe.key===it?de(ne,K,oe,ze):null;case Oe:return it=oe._init,ke(ne,K,it(oe._payload),ze)}if(Mt(oe)||Pe(oe))return it!==null?null:Me(ne,K,oe,ze,null);Nd(ne,oe)}return null}function Ye(ne,K,oe,ze,it){if(typeof ze=="string"&&ze!==""||typeof ze=="number")return ne=ne.get(oe)||null,W(K,ne,""+ze,it);if(typeof ze=="object"&&ze!==null){switch(ze.$$typeof){case z:return ne=ne.get(ze.key===null?oe:ze.key)||null,J(K,ne,ze,it);case G:return ne=ne.get(ze.key===null?oe:ze.key)||null,de(K,ne,ze,it);case Oe:var nt=ze._init;return Ye(ne,K,oe,nt(ze._payload),it)}if(Mt(ze)||Pe(ze))return ne=ne.get(oe)||null,Me(K,ne,ze,it,null);Nd(K,ze)}return null}function tt(ne,K,oe,ze){for(var it=null,nt=null,ut=K,Rt=K=0,_r=null;ut!==null&&Rt<oe.length;Rt++){ut.index>Rt?(_r=ut,ut=null):_r=ut.sibling;var tn=ke(ne,ut,oe[Rt],ze);if(tn===null){ut===null&&(ut=_r);break}a&&ut&&tn.alternate===null&&o(ne,ut),K=w(tn,K,Rt),nt===null?it=tn:nt.sibling=tn,nt=tn,ut=_r}if(Rt===oe.length)return f(ne,ut),Fn&&Xa(ne,Rt),it;if(ut===null){for(;Rt<oe.length;Rt++)ut=Le(ne,oe[Rt],ze),ut!==null&&(K=w(ut,K,Rt),nt===null?it=ut:nt.sibling=ut,nt=ut);return Fn&&Xa(ne,Rt),it}for(ut=h(ne,ut);Rt<oe.length;Rt++)_r=Ye(ut,ne,Rt,oe[Rt],ze),_r!==null&&(a&&_r.alternate!==null&&ut.delete(_r.key===null?Rt:_r.key),K=w(_r,K,Rt),nt===null?it=_r:nt.sibling=_r,nt=_r);return a&&ut.forEach(function(Hs){return o(ne,Hs)}),Fn&&Xa(ne,Rt),it}function at(ne,K,oe,ze){var it=Pe(oe);if(typeof it!="function")throw Error(i(150));if(oe=it.call(oe),oe==null)throw Error(i(151));for(var nt=it=null,ut=K,Rt=K=0,_r=null,tn=oe.next();ut!==null&&!tn.done;Rt++,tn=oe.next()){ut.index>Rt?(_r=ut,ut=null):_r=ut.sibling;var Hs=ke(ne,ut,tn.value,ze);if(Hs===null){ut===null&&(ut=_r);break}a&&ut&&Hs.alternate===null&&o(ne,ut),K=w(Hs,K,Rt),nt===null?it=Hs:nt.sibling=Hs,nt=Hs,ut=_r}if(tn.done)return f(ne,ut),Fn&&Xa(ne,Rt),it;if(ut===null){for(;!tn.done;Rt++,tn=oe.next())tn=Le(ne,tn.value,ze),tn!==null&&(K=w(tn,K,Rt),nt===null?it=tn:nt.sibling=tn,nt=tn);return Fn&&Xa(ne,Rt),it}for(ut=h(ne,ut);!tn.done;Rt++,tn=oe.next())tn=Ye(ut,ne,Rt,tn.value,ze),tn!==null&&(a&&tn.alternate!==null&&ut.delete(tn.key===null?Rt:tn.key),K=w(tn,K,Rt),nt===null?it=tn:nt.sibling=tn,nt=tn);return a&&ut.forEach(function(UE){return o(ne,UE)}),Fn&&Xa(ne,Rt),it}function sr(ne,K,oe,ze){if(typeof oe=="object"&&oe!==null&&oe.type===X&&oe.key===null&&(oe=oe.props.children),typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case z:e:{for(var it=oe.key,nt=K;nt!==null;){if(nt.key===it){if(it=oe.type,it===X){if(nt.tag===7){f(ne,nt.sibling),K=x(nt,oe.props.children),K.return=ne,ne=K;break e}}else if(nt.elementType===it||typeof it=="object"&&it!==null&&it.$$typeof===Oe&&Py(it)===nt.type){f(ne,nt.sibling),K=x(nt,oe.props),K.ref=jl(ne,nt,oe),K.return=ne,ne=K;break e}f(ne,nt);break}else o(ne,nt);nt=nt.sibling}oe.type===X?(K=Uu(oe.props.children,ne.mode,ze,oe.key),K.return=ne,ne=K):(ze=sp(oe.type,oe.key,oe.props,null,ne.mode,ze),ze.ref=jl(ne,K,oe),ze.return=ne,ne=ze)}return k(ne);case G:e:{for(nt=oe.key;K!==null;){if(K.key===nt)if(K.tag===4&&K.stateNode.containerInfo===oe.containerInfo&&K.stateNode.implementation===oe.implementation){f(ne,K.sibling),K=x(K,oe.children||[]),K.return=ne,ne=K;break e}else{f(ne,K);break}else o(ne,K);K=K.sibling}K=Gu(oe,ne.mode,ze),K.return=ne,ne=K}return k(ne);case Oe:return nt=oe._init,sr(ne,K,nt(oe._payload),ze)}if(Mt(oe))return tt(ne,K,oe,ze);if(Pe(oe))return at(ne,K,oe,ze);Nd(ne,oe)}return typeof oe=="string"&&oe!==""||typeof oe=="number"?(oe=""+oe,K!==null&&K.tag===6?(f(ne,K.sibling),K=x(K,oe),K.return=ne,ne=K):(f(ne,K),K=hf(oe,ne.mode,ze),K.return=ne,ne=K),k(ne)):f(ne,K)}return sr}var kl=Ly(!0),Fy=Ly(!1),Jc={},Gi=jt(Jc),qc=jt(Jc),Ml=jt(Jc);function Tu(a){if(a===Jc)throw Error(i(174));return a}function ah(a,o){switch(pn(Ml,o),pn(qc,a),pn(Gi,Jc),a=o.nodeType,a){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:en(null,"");break;default:a=a===8?o.parentNode:o,o=a.namespaceURI||null,a=a.tagName,o=en(o,a)}un(Gi),pn(Gi,o)}function ks(){un(Gi),un(qc),un(Ml)}function mt(a){Tu(Ml.current);var o=Tu(Gi.current),f=en(o,a.type);o!==f&&(pn(qc,a),pn(Gi,f))}function Vt(a){qc.current===a&&(un(Gi),un(qc))}var yt=jt(0);function Zn(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 bi=[];function Od(){for(var a=0;a<bi.length;a++)bi[a]._workInProgressVersionPrimary=null;bi.length=0}var _d=U.ReactCurrentDispatcher,ih=U.ReactCurrentBatchConfig,Iu=0,Vn=null,Se=null,Wt=null,Ct=!1,co=!1,Ja=0,Au=0;function Bn(){throw Error(i(321))}function Nu(a,o){if(o===null)return!1;for(var f=0;f<o.length&&f<a.length;f++)if(!di(a[f],o[f]))return!1;return!0}function Ms(a,o,f,h,x,w){if(Iu=w,Vn=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,_d.current=a===null||a.memoizedState===null?RE:TE,a=f(h,x),co){w=0;do{if(co=!1,Ja=0,25<=w)throw Error(i(301));w+=1,Wt=Se=null,o.updateQueue=null,_d.current=sh,a=f(h,x)}while(co)}if(_d.current=Xd,o=Se!==null&&Se.next!==null,Iu=0,Wt=Se=Vn=null,Ct=!1,o)throw Error(i(300));return a}function Ou(){var a=Ja!==0;return Ja=0,a}function Ci(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Wt===null?Vn.memoizedState=Wt=a:Wt=Wt.next=a,Wt}function Da(){if(Se===null){var a=Vn.alternate;a=a!==null?a.memoizedState:null}else a=Se.next;var o=Wt===null?Vn.memoizedState:Wt.next;if(o!==null)Wt=o,Se=a;else{if(a===null)throw Error(i(310));Se=a,a={memoizedState:Se.memoizedState,baseState:Se.baseState,baseQueue:Se.baseQueue,queue:Se.queue,next:null},Wt===null?Vn.memoizedState=Wt=a:Wt=Wt.next=a}return Wt}function _u(a,o){return typeof o=="function"?o(a):o}function Qc(a){var o=Da(),f=o.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=a;var h=Se,x=h.baseQueue,w=f.pending;if(w!==null){if(x!==null){var k=x.next;x.next=w.next,w.next=k}h.baseQueue=x=w,f.pending=null}if(x!==null){w=x.next,h=h.baseState;var W=k=null,J=null,de=w;do{var Me=de.lane;if((Iu&Me)===Me)J!==null&&(J=J.next={lane:0,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null}),h=de.hasEagerState?de.eagerState:a(h,de.action);else{var Le={lane:Me,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null};J===null?(W=J=Le,k=h):J=J.next=Le,Vn.lanes|=Me,Ho|=Me}de=de.next}while(de!==null&&de!==w);J===null?k=h:J.next=W,di(h,o.memoizedState)||(vr=!0),o.memoizedState=h,o.baseState=k,o.baseQueue=J,f.lastRenderedState=h}if(a=f.interleaved,a!==null){x=a;do w=x.lane,Vn.lanes|=w,Ho|=w,x=x.next;while(x!==a)}else x===null&&(f.lanes=0);return[o.memoizedState,f.dispatch]}function Kc(a){var o=Da(),f=o.queue;if(f===null)throw Error(i(311));f.lastRenderedReducer=a;var h=f.dispatch,x=f.pending,w=o.memoizedState;if(x!==null){f.pending=null;var k=x=x.next;do w=a(w,k.action),k=k.next;while(k!==x);di(w,o.memoizedState)||(vr=!0),o.memoizedState=w,o.baseQueue===null&&(o.baseState=w),f.lastRenderedState=w}return[w,h]}function Dd(){}function jd(a,o){var f=Vn,h=Da(),x=o(),w=!di(h.memoizedState,x);if(w&&(h.memoizedState=x,vr=!0),h=h.queue,ef(Pd.bind(null,f,h,a),[a]),h.getSnapshot!==o||w||Wt!==null&&Wt.memoizedState.tag&1){if(f.flags|=2048,Du(9,Md.bind(null,f,h,x,o),void 0,null),Jn===null)throw Error(i(349));Iu&30||kd(f,o,x)}return x}function kd(a,o,f){a.flags|=16384,a={getSnapshot:o,value:f},o=Vn.updateQueue,o===null?(o={lastEffect:null,stores:null},Vn.updateQueue=o,o.stores=[a]):(f=o.stores,f===null?o.stores=[a]:f.push(a))}function Md(a,o,f,h){o.value=f,o.getSnapshot=h,Ld(o)&&Fd(a)}function Pd(a,o,f){return f(function(){Ld(o)&&Fd(a)})}function Ld(a){var o=a.getSnapshot;a=a.value;try{var f=o();return!di(a,f)}catch{return!0}}function Fd(a){var o=Lo(a,1);o!==null&&ea(o,a,1,-1)}function Vd(a){var o=Ci();return typeof a=="function"&&(a=a()),o.memoizedState=o.baseState=a,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_u,lastRenderedState:a},o.queue=a,a=a.dispatch=Wd.bind(null,Vn,a),[o.memoizedState,a]}function Du(a,o,f,h){return a={tag:a,create:o,destroy:f,deps:h,next:null},o=Vn.updateQueue,o===null?(o={lastEffect:null,stores:null},Vn.updateQueue=o,o.lastEffect=a.next=a):(f=o.lastEffect,f===null?o.lastEffect=a.next=a:(h=f.next,f.next=a,a.next=h,o.lastEffect=a)),a}function Bd(){return Da().memoizedState}function ju(a,o,f,h){var x=Ci();Vn.flags|=a,x.memoizedState=Du(1|o,f,void 0,h===void 0?null:h)}function Vo(a,o,f,h){var x=Da();h=h===void 0?null:h;var w=void 0;if(Se!==null){var k=Se.memoizedState;if(w=k.destroy,h!==null&&Nu(h,k.deps)){x.memoizedState=Du(o,f,w,h);return}}Vn.flags|=a,x.memoizedState=Du(1|o,f,w,h)}function zd(a,o){return ju(8390656,8,a,o)}function ef(a,o){return Vo(2048,8,a,o)}function Hd(a,o){return Vo(4,2,a,o)}function Ud(a,o){return Vo(4,4,a,o)}function oh(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 Pl(a,o,f){return f=f!=null?f.concat([a]):null,Vo(4,4,oh.bind(null,o,a),f)}function Gd(){}function Ll(a,o){var f=Da();o=o===void 0?null:o;var h=f.memoizedState;return h!==null&&o!==null&&Nu(o,h[1])?h[0]:(f.memoizedState=[a,o],a)}function Ps(a,o){var f=Da();o=o===void 0?null:o;var h=f.memoizedState;return h!==null&&o!==null&&Nu(o,h[1])?h[0]:(a=a(),f.memoizedState=[a,o],a)}function ja(a,o,f){return Iu&21?(di(f,o)||(f=ml(),Vn.lanes|=f,Ho|=f,a.baseState=!0),o):(a.baseState&&(a.baseState=!1,vr=!0),a.memoizedState=f)}function wE(a,o){var f=rn;rn=f!==0&&4>f?f:4,a(!0);var h=ih.transition;ih.transition={};try{a(!1),o()}finally{rn=f,ih.transition=h}}function On(){return Da().memoizedState}function $d(a,o,f){var h=hr(a);if(f={lane:h,action:f,hasEagerState:!1,eagerState:null,next:null},Fl(a))tf(o,f);else if(f=_y(a,o,f,h),f!==null){var x=Kr();ea(f,a,h,x),Vy(f,o,h)}}function Wd(a,o,f){var h=hr(a),x={lane:h,action:f,hasEagerState:!1,eagerState:null,next:null};if(Fl(a))tf(o,x);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(x.hasEagerState=!0,x.eagerState=W,di(W,k)){var J=o.interleaved;J===null?(x.next=x,eh(o)):(x.next=J.next,J.next=x),o.interleaved=x;return}}catch{}finally{}f=_y(a,o,x,h),f!==null&&(x=Kr(),ea(f,a,h,x),Vy(f,o,h))}}function Fl(a){var o=a.alternate;return a===Vn||o!==null&&o===Vn}function tf(a,o){co=Ct=!0;var f=a.pending;f===null?o.next=o:(o.next=f.next,f.next=o),a.pending=o}function Vy(a,o,f){if(f&4194240){var h=o.lanes;h&=a.pendingLanes,f|=h,o.lanes=f,io(a,f)}}var Xd={readContext:or,useCallback:Bn,useContext:Bn,useEffect:Bn,useImperativeHandle:Bn,useInsertionEffect:Bn,useLayoutEffect:Bn,useMemo:Bn,useReducer:Bn,useRef:Bn,useState:Bn,useDebugValue:Bn,useDeferredValue:Bn,useTransition:Bn,useMutableSource:Bn,useSyncExternalStore:Bn,useId:Bn,unstable_isNewReconciler:!1},RE={readContext:or,useCallback:function(a,o){return Ci().memoizedState=[a,o===void 0?null:o],a},useContext:or,useEffect:zd,useImperativeHandle:function(a,o,f){return f=f!=null?f.concat([a]):null,ju(4194308,4,oh.bind(null,o,a),f)},useLayoutEffect:function(a,o){return ju(4194308,4,a,o)},useInsertionEffect:function(a,o){return ju(4,2,a,o)},useMemo:function(a,o){var f=Ci();return o=o===void 0?null:o,a=a(),f.memoizedState=[a,o],a},useReducer:function(a,o,f){var h=Ci();return o=f!==void 0?f(o):o,h.memoizedState=h.baseState=o,a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:o},h.queue=a,a=a.dispatch=$d.bind(null,Vn,a),[h.memoizedState,a]},useRef:function(a){var o=Ci();return a={current:a},o.memoizedState=a},useState:Vd,useDebugValue:Gd,useDeferredValue:function(a){return Ci().memoizedState=a},useTransition:function(){var a=Vd(!1),o=a[0];return a=wE.bind(null,a[1]),Ci().memoizedState=a,[o,a]},useMutableSource:function(){},useSyncExternalStore:function(a,o,f){var h=Vn,x=Ci();if(Fn){if(f===void 0)throw Error(i(407));f=f()}else{if(f=o(),Jn===null)throw Error(i(349));Iu&30||kd(h,o,f)}x.memoizedState=f;var w={value:f,getSnapshot:o};return x.queue=w,zd(Pd.bind(null,h,w,a),[a]),h.flags|=2048,Du(9,Md.bind(null,h,w,f,o),void 0,null),f},useId:function(){var a=Ci(),o=Jn.identifierPrefix;if(Fn){var f=Po,h=kr;f=(h&~(1<<32-ua(h)-1)).toString(32)+f,o=":"+o+"R"+f,f=Ja++,0<f&&(o+="H"+f.toString(32)),o+=":"}else f=Au++,o=":"+o+"r"+f.toString(32)+":";return a.memoizedState=o},unstable_isNewReconciler:!1},TE={readContext:or,useCallback:Ll,useContext:or,useEffect:ef,useImperativeHandle:Pl,useInsertionEffect:Hd,useLayoutEffect:Ud,useMemo:Ps,useReducer:Qc,useRef:Bd,useState:function(){return Qc(_u)},useDebugValue:Gd,useDeferredValue:function(a){var o=Da();return ja(o,Se.memoizedState,a)},useTransition:function(){var a=Qc(_u)[0],o=Da().memoizedState;return[a,o]},useMutableSource:Dd,useSyncExternalStore:jd,useId:On,unstable_isNewReconciler:!1},sh={readContext:or,useCallback:Ll,useContext:or,useEffect:ef,useImperativeHandle:Pl,useInsertionEffect:Hd,useLayoutEffect:Ud,useMemo:Ps,useReducer:Kc,useRef:Bd,useState:function(){return Kc(_u)},useDebugValue:Gd,useDeferredValue:function(a){var o=Da();return Se===null?o.memoizedState=a:ja(o,Se.memoizedState,a)},useTransition:function(){var a=Kc(_u)[0],o=Da().memoizedState;return[a,o]},useMutableSource:Dd,useSyncExternalStore:jd,useId:On,unstable_isNewReconciler:!1};function Vl(a,o){try{var f="",h=o;do f+=De(h),h=h.return;while(h);var x=f}catch(w){x=`
|
|
95
|
-
Error generating stack: `+w.message+`
|
|
96
|
-
`+w.stack}return{value:a,source:o,stack:x,digest:null}}function nf(a,o,f){return{value:a,source:null,stack:f??null,digest:o??null}}function Yd(a,o){try{console.error(o.value)}catch(f){setTimeout(function(){throw f})}}var IE=typeof WeakMap=="function"?WeakMap:Map;function By(a,o,f){f=Fo(-1,f),f.tag=3,f.payload={element:null};var h=o.value;return f.callback=function(){tp||(tp=!0,Fu=h),Yd(a,o)},f}function rf(a,o,f){f=Fo(-1,f),f.tag=3;var h=a.type.getDerivedStateFromError;if(typeof h=="function"){var x=o.value;f.payload=function(){return h(x)},f.callback=function(){Yd(a,o)}}var w=a.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(f.callback=function(){Yd(a,o),typeof h!="function"&&(vo===null?vo=new Set([this]):vo.add(this));var k=o.stack;this.componentDidCatch(o.value,{componentStack:k!==null?k:""})}),f}function zy(a,o,f){var h=a.pingCache;if(h===null){h=a.pingCache=new IE;var x=new Set;h.set(o,x)}else x=h.get(o),x===void 0&&(x=new Set,h.set(o,x));x.has(f)||(x.add(f),a=kE.bind(null,a,o,f),o.then(a,a))}function uh(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 lh(a,o,f,h,x){return a.mode&1?(a.flags|=65536,a.lanes=x,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=Fo(-1,1),o.tag=2,Ds(f,o,1))),f.lanes|=1),a)}var AE=U.ReactCurrentOwner,vr=!1;function yr(a,o,f,h){o.child=a===null?Fy(o,null,f,h):kl(o,a.child,f,h)}function Ls(a,o,f,h,x){f=f.render;var w=o.ref;return Ge(o,x),h=Ms(a,o,f,h,w,x),f=Ou(),a!==null&&!vr?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~x,Pr(a,o,x)):(Fn&&f&&Cd(o),o.flags|=1,yr(a,o,h,x),o.child)}function Zd(a,o,f,h,x){if(a===null){var w=f.type;return typeof w=="function"&&!Ah(w)&&w.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(o.tag=15,o.type=w,ka(a,o,w,h,x)):(a=sp(f.type,null,h,o,o.mode,x),a.ref=o.ref,a.return=o,o.child=a)}if(w=a.child,!(a.lanes&x)){var k=w.memoizedProps;if(f=f.compare,f=f!==null?f:Fc,f(k,h)&&a.ref===o.ref)return Pr(a,o,x)}return o.flags|=1,a=zs(w,h),a.ref=o.ref,a.return=o,o.child=a}function ka(a,o,f,h,x){if(a!==null){var w=a.memoizedProps;if(Fc(w,h)&&a.ref===o.ref)if(vr=!1,o.pendingProps=h=w,(a.lanes&x)!==0)a.flags&131072&&(vr=!0);else return o.lanes=a.lanes,Pr(a,o,x)}return Bl(a,o,f,h,x)}function ku(a,o,f){var h=o.pendingProps,x=h.children,w=a!==null?a.memoizedState:null;if(h.mode==="hidden")if(!(o.mode&1))o.memoizedState={baseLanes:0,cachePool:null,transitions:null},pn(Wl,qa),qa|=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,pn(Wl,qa),qa|=a,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},h=w!==null?w.baseLanes:f,pn(Wl,qa),qa|=h}else w!==null?(h=w.baseLanes|f,o.memoizedState=null):h=f,pn(Wl,qa),qa|=h;return yr(a,o,x,f),o.child}function kt(a,o){var f=o.ref;(a===null&&f!==null||a!==null&&a.ref!==f)&&(o.flags|=512,o.flags|=2097152)}function Bl(a,o,f,h,x){var w=Un(f)?Ia:wt.current;return w=hi(o,w),Ge(o,x),f=Ms(a,o,f,h,w,x),h=Ou(),a!==null&&!vr?(o.updateQueue=a.updateQueue,o.flags&=-2053,a.lanes&=~x,Pr(a,o,x)):(Fn&&h&&Cd(o),o.flags|=1,yr(a,o,f,x),o.child)}function ch(a,o,f,h,x){if(Un(f)){var w=!0;bd(o)}else w=!1;if(Ge(o,x),o.stateNode===null)Jr(a,o),ky(o,f,h),Ad(o,f,h,x),h=!0;else if(a===null){var k=o.stateNode,W=o.memoizedProps;k.props=W;var J=k.context,de=f.contextType;typeof de=="object"&&de!==null?de=or(de):(de=Un(f)?Ia:wt.current,de=hi(o,de));var Me=f.getDerivedStateFromProps,Le=typeof Me=="function"||typeof k.getSnapshotBeforeUpdate=="function";Le||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(W!==h||J!==de)&&My(o,k,h,de),_s=!1;var ke=o.memoizedState;k.state=ke,js(o,h,k,x),J=o.memoizedState,W!==h||ke!==J||er.current||_s?(typeof Me=="function"&&(rh(o,f,Me,h),J=o.memoizedState),(W=_s||jy(o,f,W,h,ke,J,de))?(Le||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=h,o.memoizedState=J),k.props=h,k.state=J,k.context=de,h=W):(typeof k.componentDidMount=="function"&&(o.flags|=4194308),h=!1)}else{k=o.stateNode,gr(a,o),W=o.memoizedProps,de=o.type===o.elementType?W:Za(o.type,W),k.props=de,Le=o.pendingProps,ke=k.context,J=f.contextType,typeof J=="object"&&J!==null?J=or(J):(J=Un(f)?Ia:wt.current,J=hi(o,J));var Ye=f.getDerivedStateFromProps;(Me=typeof Ye=="function"||typeof k.getSnapshotBeforeUpdate=="function")||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(W!==Le||ke!==J)&&My(o,k,h,J),_s=!1,ke=o.memoizedState,k.state=ke,js(o,h,k,x);var tt=o.memoizedState;W!==Le||ke!==tt||er.current||_s?(typeof Ye=="function"&&(rh(o,f,Ye,h),tt=o.memoizedState),(de=_s||jy(o,f,de,h,ke,tt,J)||!1)?(Me||typeof k.UNSAFE_componentWillUpdate!="function"&&typeof k.componentWillUpdate!="function"||(typeof k.componentWillUpdate=="function"&&k.componentWillUpdate(h,tt,J),typeof k.UNSAFE_componentWillUpdate=="function"&&k.UNSAFE_componentWillUpdate(h,tt,J)),typeof k.componentDidUpdate=="function"&&(o.flags|=4),typeof k.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof k.componentDidUpdate!="function"||W===a.memoizedProps&&ke===a.memoizedState||(o.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||W===a.memoizedProps&&ke===a.memoizedState||(o.flags|=1024),o.memoizedProps=h,o.memoizedState=tt),k.props=h,k.state=tt,k.context=J,h=de):(typeof k.componentDidUpdate!="function"||W===a.memoizedProps&&ke===a.memoizedState||(o.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||W===a.memoizedProps&&ke===a.memoizedState||(o.flags|=1024),h=!1)}return Hy(a,o,f,h,w,x)}function Hy(a,o,f,h,x,w){kt(a,o);var k=(o.flags&128)!==0;if(!h&&!k)return x&&Iy(o,f,!1),Pr(a,o,w);h=o.stateNode,AE.current=o;var W=k&&typeof f.getDerivedStateFromError!="function"?null:h.render();return o.flags|=1,a!==null&&k?(o.child=kl(o,a.child,null,w),o.child=kl(o,null,W,w)):yr(a,o,W,w),o.memoizedState=h.state,x&&Iy(o,f,!0),o.child}function Uy(a){var o=a.stateNode;o.pendingContext?Is(a,o.pendingContext,o.pendingContext!==o.context):o.context&&Is(a,o.context,!1),ah(a,o.containerInfo)}function Jd(a,o,f,h,x){return Yn(),qv(x),o.flags|=256,yr(a,o,f,h),o.child}var Mu={dehydrated:null,treeContext:null,retryLane:0};function fh(a){return{baseLanes:a,cachePool:null,transitions:null}}function dh(a,o,f){var h=o.pendingProps,x=yt.current,w=!1,k=(o.flags&128)!==0,W;if((W=k)||(W=a!==null&&a.memoizedState===null?!1:(x&2)!==0),W?(w=!0,o.flags&=-129):(a===null||a.memoizedState!==null)&&(x|=1),pn(yt,x&1),a===null)return Ed(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=h.children,a=h.fallback,w?(h=o.mode,w=o.child,k={mode:"hidden",children:k},!(h&1)&&w!==null?(w.childLanes=0,w.pendingProps=k):w=vf(k,h,0,null),a=Uu(a,h,f,null),w.return=o,a.return=o,w.sibling=a,o.child=w,o.child.memoizedState=fh(f),o.memoizedState=Mu,a):ph(o,k));if(x=a.memoizedState,x!==null&&(W=x.dehydrated,W!==null))return NE(a,o,k,h,W,x,f);if(w){w=h.fallback,k=o.mode,x=a.child,W=x.sibling;var J={mode:"hidden",children:h.children};return!(k&1)&&o.child!==x?(h=o.child,h.childLanes=0,h.pendingProps=J,o.deletions=null):(h=zs(x,J),h.subtreeFlags=x.subtreeFlags&14680064),W!==null?w=zs(W,w):(w=Uu(w,k,f,null),w.flags|=2),w.return=o,h.return=o,h.sibling=w,o.child=h,h=w,w=o.child,k=a.child.memoizedState,k=k===null?fh(f):{baseLanes:k.baseLanes|f,cachePool:null,transitions:k.transitions},w.memoizedState=k,w.childLanes=a.childLanes&~f,o.memoizedState=Mu,h}return w=a.child,a=w.sibling,h=zs(w,{mode:"visible",children:h.children}),!(o.mode&1)&&(h.lanes=f),h.return=o,h.sibling=null,a!==null&&(f=o.deletions,f===null?(o.deletions=[a],o.flags|=16):f.push(a)),o.child=h,o.memoizedState=null,h}function ph(a,o){return o=vf({mode:"visible",children:o},a.mode,0,null),o.return=a,a.child=o}function zl(a,o,f,h){return h!==null&&qv(h),kl(o,a.child,null,f),a=ph(o,o.pendingProps.children),a.flags|=2,o.memoizedState=null,a}function NE(a,o,f,h,x,w,k){if(f)return o.flags&256?(o.flags&=-257,h=nf(Error(i(422))),zl(a,o,k,h)):o.memoizedState!==null?(o.child=a.child,o.flags|=128,null):(w=h.fallback,x=o.mode,h=vf({mode:"visible",children:h.children},x,0,null),w=Uu(w,x,k,null),w.flags|=2,h.return=o,w.return=o,h.sibling=w,o.child=h,o.mode&1&&kl(o,a.child,null,k),o.child.memoizedState=fh(k),o.memoizedState=Mu,w);if(!(o.mode&1))return zl(a,o,k,null);if(x.data==="$!"){if(h=x.nextSibling&&x.nextSibling.dataset,h)var W=h.dgst;return h=W,w=Error(i(419)),h=nf(w,h,void 0),zl(a,o,k,h)}if(W=(k&a.childLanes)!==0,vr||W){if(h=Jn,h!==null){switch(k&-k){case 4:x=2;break;case 16:x=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:x=32;break;case 536870912:x=268435456;break;default:x=0}x=x&(h.suspendedLanes|k)?0:x,x!==0&&x!==w.retryLane&&(w.retryLane=x,Lo(a,x),ea(h,a,x,-1))}return Rh(),h=nf(Error(i(421))),zl(a,o,k,h)}return x.data==="$?"?(o.flags|=128,o.child=a.child,o=ME.bind(null,a),x._reactRetry=o,null):(a=w.treeContext,_a=Ui(x.nextSibling),Ya=o,Fn=!0,yi=null,a!==null&&(Oa[Zr++]=kr,Oa[Zr++]=Po,Oa[Zr++]=gi,kr=a.id,Po=a.overflow,gi=o),o=ph(o,h.children),o.flags|=4096,o)}function vh(a,o,f){a.lanes|=o;var h=a.alternate;h!==null&&(h.lanes|=o),Ar(a.return,o,f)}function qd(a,o,f,h,x){var w=a.memoizedState;w===null?a.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:h,tail:f,tailMode:x}:(w.isBackwards=o,w.rendering=null,w.renderingStartTime=0,w.last=h,w.tail=f,w.tailMode=x)}function hh(a,o,f){var h=o.pendingProps,x=h.revealOrder,w=h.tail;if(yr(a,o,h.children,f),h=yt.current,h&2)h=h&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&&vh(a,f,o);else if(a.tag===19)vh(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}h&=1}if(pn(yt,h),!(o.mode&1))o.memoizedState=null;else switch(x){case"forwards":for(f=o.child,x=null;f!==null;)a=f.alternate,a!==null&&Zn(a)===null&&(x=f),f=f.sibling;f=x,f===null?(x=o.child,o.child=null):(x=f.sibling,f.sibling=null),qd(o,!1,x,f,w);break;case"backwards":for(f=null,x=o.child,o.child=null;x!==null;){if(a=x.alternate,a!==null&&Zn(a)===null){o.child=x;break}a=x.sibling,x.sibling=f,f=x,x=a}qd(o,!0,f,null,w);break;case"together":qd(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function Jr(a,o){!(o.mode&1)&&a!==null&&(a.alternate=null,o.alternate=null,o.flags|=2)}function Pr(a,o,f){if(a!==null&&(o.dependencies=a.dependencies),Ho|=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=zs(a,a.pendingProps),o.child=f,f.return=o;a.sibling!==null;)a=a.sibling,f=f.sibling=zs(a,a.pendingProps),f.return=o;f.sibling=null}return o.child}function Bo(a,o,f){switch(o.tag){case 3:Uy(o),Yn();break;case 5:mt(o);break;case 1:Un(o.type)&&bd(o);break;case 4:ah(o,o.stateNode.containerInfo);break;case 10:var h=o.type._context,x=o.memoizedProps.value;pn(lo,h._currentValue),h._currentValue=x;break;case 13:if(h=o.memoizedState,h!==null)return h.dehydrated!==null?(pn(yt,yt.current&1),o.flags|=128,null):f&o.child.childLanes?dh(a,o,f):(pn(yt,yt.current&1),a=Pr(a,o,f),a!==null?a.sibling:null);pn(yt,yt.current&1);break;case 19:if(h=(f&o.childLanes)!==0,a.flags&128){if(h)return hh(a,o,f);o.flags|=128}if(x=o.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),pn(yt,yt.current),h)break;return null;case 22:case 23:return o.lanes=0,ku(a,o,f)}return Pr(a,o,f)}var af,Pu,xi,br;af=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}},Pu=function(){},xi=function(a,o,f,h){var x=a.memoizedProps;if(x!==h){a=o.stateNode,Tu(Gi.current);var w=null;switch(f){case"input":x=Bt(a,x),h=Bt(a,h),w=[];break;case"select":x=L({},x,{value:void 0}),h=L({},h,{value:void 0}),w=[];break;case"textarea":x=$n(a,x),h=$n(a,h),w=[];break;default:typeof x.onClick!="function"&&typeof h.onClick=="function"&&(a.onclick=yd)}ir(f,h);var k;f=null;for(de in x)if(!h.hasOwnProperty(de)&&x.hasOwnProperty(de)&&x[de]!=null)if(de==="style"){var W=x[de];for(k in W)W.hasOwnProperty(k)&&(f||(f={}),f[k]="")}else de!=="dangerouslySetInnerHTML"&&de!=="children"&&de!=="suppressContentEditableWarning"&&de!=="suppressHydrationWarning"&&de!=="autoFocus"&&(l.hasOwnProperty(de)?w||(w=[]):(w=w||[]).push(de,null));for(de in h){var J=h[de];if(W=x!=null?x[de]:void 0,h.hasOwnProperty(de)&&J!==W&&(J!=null||W!=null))if(de==="style")if(W){for(k in W)!W.hasOwnProperty(k)||J&&J.hasOwnProperty(k)||(f||(f={}),f[k]="");for(k in J)J.hasOwnProperty(k)&&W[k]!==J[k]&&(f||(f={}),f[k]=J[k])}else f||(w||(w=[]),w.push(de,f)),f=J;else de==="dangerouslySetInnerHTML"?(J=J?J.__html:void 0,W=W?W.__html:void 0,J!=null&&W!==J&&(w=w||[]).push(de,J)):de==="children"?typeof J!="string"&&typeof J!="number"||(w=w||[]).push(de,""+J):de!=="suppressContentEditableWarning"&&de!=="suppressHydrationWarning"&&(l.hasOwnProperty(de)?(J!=null&&de==="onScroll"&&Nn("scroll",a),w||W===J||(w=[])):(w=w||[]).push(de,J))}f&&(w=w||[]).push("style",f);var de=w;(o.updateQueue=de)&&(o.flags|=4)}},br=function(a,o,f,h){f!==h&&(o.flags|=4)};function of(a,o){if(!Fn)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 h=null;f!==null;)f.alternate!==null&&(h=f),f=f.sibling;h===null?o||a.tail===null?a.tail=null:a.tail.sibling=null:h.sibling=null}}function qr(a){var o=a.alternate!==null&&a.alternate.child===a.child,f=0,h=0;if(o)for(var x=a.child;x!==null;)f|=x.lanes|x.childLanes,h|=x.subtreeFlags&14680064,h|=x.flags&14680064,x.return=a,x=x.sibling;else for(x=a.child;x!==null;)f|=x.lanes|x.childLanes,h|=x.subtreeFlags,h|=x.flags,x.return=a,x=x.sibling;return a.subtreeFlags|=h,a.childLanes=f,o}function OE(a,o,f){var h=o.pendingProps;switch(Zv(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 Un(o.type)&&mi(),qr(o),null;case 3:return h=o.stateNode,ks(),un(er),un(wt),Od(),h.pendingContext&&(h.context=h.pendingContext,h.pendingContext=null),(a===null||a.child===null)&&(Sd(o)?o.flags|=4:a===null||a.memoizedState.isDehydrated&&!(o.flags&256)||(o.flags|=1024,yi!==null&&(pf(yi),yi=null))),Pu(a,o),qr(o),null;case 5:Vt(o);var x=Tu(Ml.current);if(f=o.type,a!==null&&o.stateNode!=null)xi(a,o,f,h,x),a.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!h){if(o.stateNode===null)throw Error(i(166));return qr(o),null}if(a=Tu(Gi.current),Sd(o)){h=o.stateNode,f=o.type;var w=o.memoizedProps;switch(h[so]=o,h[Su]=w,a=(o.mode&1)!==0,f){case"dialog":Nn("cancel",h),Nn("close",h);break;case"iframe":case"object":case"embed":Nn("load",h);break;case"video":case"audio":for(x=0;x<Hc.length;x++)Nn(Hc[x],h);break;case"source":Nn("error",h);break;case"img":case"image":case"link":Nn("error",h),Nn("load",h);break;case"details":Nn("toggle",h);break;case"input":lt(h,w),Nn("invalid",h);break;case"select":h._wrapperState={wasMultiple:!!w.multiple},Nn("invalid",h);break;case"textarea":rr(h,w),Nn("invalid",h)}ir(f,w),x=null;for(var k in w)if(w.hasOwnProperty(k)){var W=w[k];k==="children"?typeof W=="string"?h.textContent!==W&&(w.suppressHydrationWarning!==!0&&gd(h.textContent,W,a),x=["children",W]):typeof W=="number"&&h.textContent!==""+W&&(w.suppressHydrationWarning!==!0&&gd(h.textContent,W,a),x=["children",""+W]):l.hasOwnProperty(k)&&W!=null&&k==="onScroll"&&Nn("scroll",h)}switch(f){case"input":It(h),Hn(h,w,!0);break;case"textarea":It(h),Qn(h);break;case"select":case"option":break;default:typeof w.onClick=="function"&&(h.onclick=yd)}h=x,o.updateQueue=h,h!==null&&(o.flags|=4)}else{k=x.nodeType===9?x:x.ownerDocument,a==="http://www.w3.org/1999/xhtml"&&(a=St(f)),a==="http://www.w3.org/1999/xhtml"?f==="script"?(a=k.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild)):typeof h.is=="string"?a=k.createElement(f,{is:h.is}):(a=k.createElement(f),f==="select"&&(k=a,h.multiple?k.multiple=!0:h.size&&(k.size=h.size))):a=k.createElementNS(a,f),a[so]=o,a[Su]=h,af(a,o,!1,!1),o.stateNode=a;e:{switch(k=Wn(f,h),f){case"dialog":Nn("cancel",a),Nn("close",a),x=h;break;case"iframe":case"object":case"embed":Nn("load",a),x=h;break;case"video":case"audio":for(x=0;x<Hc.length;x++)Nn(Hc[x],a);x=h;break;case"source":Nn("error",a),x=h;break;case"img":case"image":case"link":Nn("error",a),Nn("load",a),x=h;break;case"details":Nn("toggle",a),x=h;break;case"input":lt(a,h),x=Bt(a,h),Nn("invalid",a);break;case"option":x=h;break;case"select":a._wrapperState={wasMultiple:!!h.multiple},x=L({},h,{value:void 0}),Nn("invalid",a);break;case"textarea":rr(a,h),x=$n(a,h),Nn("invalid",a);break;default:x=h}ir(f,x),W=x;for(w in W)if(W.hasOwnProperty(w)){var J=W[w];w==="style"?sn(a,J):w==="dangerouslySetInnerHTML"?(J=J?J.__html:void 0,J!=null&&Ki(a,J)):w==="children"?typeof J=="string"?(f!=="textarea"||J!=="")&&Ha(a,J):typeof J=="number"&&Ha(a,""+J):w!=="suppressContentEditableWarning"&&w!=="suppressHydrationWarning"&&w!=="autoFocus"&&(l.hasOwnProperty(w)?J!=null&&w==="onScroll"&&Nn("scroll",a):J!=null&&F(a,w,J,k))}switch(f){case"input":It(a),Hn(a,h,!1);break;case"textarea":It(a),Qn(a);break;case"option":h.value!=null&&a.setAttribute("value",""+Te(h.value));break;case"select":a.multiple=!!h.multiple,w=h.value,w!=null?Pn(a,!!h.multiple,w,!1):h.defaultValue!=null&&Pn(a,!!h.multiple,h.defaultValue,!0);break;default:typeof x.onClick=="function"&&(a.onclick=yd)}switch(f){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}}h&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return qr(o),null;case 6:if(a&&o.stateNode!=null)br(a,o,a.memoizedProps,h);else{if(typeof h!="string"&&o.stateNode===null)throw Error(i(166));if(f=Tu(Ml.current),Tu(Gi.current),Sd(o)){if(h=o.stateNode,f=o.memoizedProps,h[so]=o,(w=h.nodeValue!==f)&&(a=Ya,a!==null))switch(a.tag){case 3:gd(h.nodeValue,f,(a.mode&1)!==0);break;case 5:a.memoizedProps.suppressHydrationWarning!==!0&&gd(h.nodeValue,f,(a.mode&1)!==0)}w&&(o.flags|=4)}else h=(f.nodeType===9?f:f.ownerDocument).createTextNode(h),h[so]=o,o.stateNode=h}return qr(o),null;case 13:if(un(yt),h=o.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(Fn&&_a!==null&&o.mode&1&&!(o.flags&128))Oy(),Yn(),o.flags|=98560,w=!1;else if(w=Sd(o),h!==null&&h.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[so]=o}else Yn(),!(o.flags&128)&&(o.memoizedState=null),o.flags|=4;qr(o),w=!1}else yi!==null&&(pf(yi),yi=null),w=!0;if(!w)return o.flags&65536?o:null}return o.flags&128?(o.lanes=f,o):(h=h!==null,h!==(a!==null&&a.memoizedState!==null)&&h&&(o.child.flags|=8192,o.mode&1&&(a===null||yt.current&1?xr===0&&(xr=3):Rh())),o.updateQueue!==null&&(o.flags|=4),qr(o),null);case 4:return ks(),Pu(a,o),a===null&&Ol(o.stateNode.containerInfo),qr(o),null;case 10:return Os(o.type._context),qr(o),null;case 17:return Un(o.type)&&mi(),qr(o),null;case 19:if(un(yt),w=o.memoizedState,w===null)return qr(o),null;if(h=(o.flags&128)!==0,k=w.rendering,k===null)if(h)of(w,!1);else{if(xr!==0||a!==null&&a.flags&128)for(a=o.child;a!==null;){if(k=Zn(a),k!==null){for(o.flags|=128,of(w,!1),h=k.updateQueue,h!==null&&(o.updateQueue=h,o.flags|=4),o.subtreeFlags=0,h=f,f=o.child;f!==null;)w=f,a=h,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 pn(yt,yt.current&1|2),o.child}a=a.sibling}w.tail!==null&&qt()>Yl&&(o.flags|=128,h=!0,of(w,!1),o.lanes=4194304)}else{if(!h)if(a=Zn(k),a!==null){if(o.flags|=128,h=!0,f=a.updateQueue,f!==null&&(o.updateQueue=f,o.flags|=4),of(w,!0),w.tail===null&&w.tailMode==="hidden"&&!k.alternate&&!Fn)return qr(o),null}else 2*qt()-w.renderingStartTime>Yl&&f!==1073741824&&(o.flags|=128,h=!0,of(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=qt(),o.sibling=null,f=yt.current,pn(yt,h?f&1|2:f&1),o):(qr(o),null);case 22:case 23:return wh(),h=o.memoizedState!==null,a!==null&&a.memoizedState!==null!==h&&(o.flags|=8192),h&&o.mode&1?qa&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 mh(a,o){switch(Zv(o),o.tag){case 1:return Un(o.type)&&mi(),a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 3:return ks(),un(er),un(wt),Od(),a=o.flags,a&65536&&!(a&128)?(o.flags=a&-65537|128,o):null;case 5:return Vt(o),null;case 13:if(un(yt),a=o.memoizedState,a!==null&&a.dehydrated!==null){if(o.alternate===null)throw Error(i(340));Yn()}return a=o.flags,a&65536?(o.flags=a&-65537|128,o):null;case 19:return un(yt),null;case 4:return ks(),null;case 10:return Os(o.type._context),null;case 22:case 23:return wh(),null;case 24:return null;default:return null}}var sf=!1,Cr=!1,Gy=typeof WeakSet=="function"?WeakSet:Set,et=null;function Hl(a,o){var f=a.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(h){nr(a,o,h)}else f.current=null}function uf(a,o,f){try{f()}catch(h){nr(a,o,h)}}var $y=!1;function Wy(a,o){if(zv=fi,a=dd(),Do(a)){if("selectionStart"in a)var f={start:a.selectionStart,end:a.selectionEnd};else e:{f=(f=a.ownerDocument)&&f.defaultView||window;var h=f.getSelection&&f.getSelection();if(h&&h.rangeCount!==0){f=h.anchorNode;var x=h.anchorOffset,w=h.focusNode;h=h.focusOffset;try{f.nodeType,w.nodeType}catch{f=null;break e}var k=0,W=-1,J=-1,de=0,Me=0,Le=a,ke=null;t:for(;;){for(var Ye;Le!==f||x!==0&&Le.nodeType!==3||(W=k+x),Le!==w||h!==0&&Le.nodeType!==3||(J=k+h),Le.nodeType===3&&(k+=Le.nodeValue.length),(Ye=Le.firstChild)!==null;)ke=Le,Le=Ye;for(;;){if(Le===a)break t;if(ke===f&&++de===x&&(W=k),ke===w&&++Me===h&&(J=k),(Ye=Le.nextSibling)!==null)break;Le=ke,ke=Le.parentNode}Le=Ye}f=W===-1||J===-1?null:{start:W,end:J}}else f=null}f=f||{start:0,end:0}}else f=null;for(xu={focusedElem:a,selectionRange:f},fi=!1,et=o;et!==null;)if(o=et,a=o.child,(o.subtreeFlags&1028)!==0&&a!==null)a.return=o,et=a;else for(;et!==null;){o=et;try{var tt=o.alternate;if(o.flags&1024)switch(o.tag){case 0:case 11:case 15:break;case 1:if(tt!==null){var at=tt.memoizedProps,sr=tt.memoizedState,ne=o.stateNode,K=ne.getSnapshotBeforeUpdate(o.elementType===o.type?at:Za(o.type,at),sr);ne.__reactInternalSnapshotBeforeUpdate=K}break;case 3:var oe=o.stateNode.containerInfo;oe.nodeType===1?oe.textContent="":oe.nodeType===9&&oe.documentElement&&oe.removeChild(oe.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(ze){nr(o,o.return,ze)}if(a=o.sibling,a!==null){a.return=o.return,et=a;break}et=o.return}return tt=$y,$y=!1,tt}function lf(a,o,f){var h=o.updateQueue;if(h=h!==null?h.lastEffect:null,h!==null){var x=h=h.next;do{if((x.tag&a)===a){var w=x.destroy;x.destroy=void 0,w!==void 0&&uf(o,f,w)}x=x.next}while(x!==h)}}function cf(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 h=f.create;f.destroy=h()}f=f.next}while(f!==o)}}function gh(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 yh(a){var o=a.alternate;o!==null&&(a.alternate=null,yh(o)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(o=a.stateNode,o!==null&&(delete o[so],delete o[Su],delete o[Gv],delete o[SE],delete o[$v])),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 Xy(a){return a.tag===5||a.tag===3||a.tag===4}function Qd(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||Xy(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 Ul(a,o,f){var h=a.tag;if(h===5||h===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=yd));else if(h!==4&&(a=a.child,a!==null))for(Ul(a,o,f),a=a.sibling;a!==null;)Ul(a,o,f),a=a.sibling}function fo(a,o,f){var h=a.tag;if(h===5||h===6)a=a.stateNode,o?f.insertBefore(a,o):f.appendChild(a);else if(h!==4&&(a=a.child,a!==null))for(fo(a,o,f),a=a.sibling;a!==null;)fo(a,o,f),a=a.sibling}var Gn=null,Nr=!1;function Ei(a,o,f){for(f=f.child;f!==null;)Gl(a,o,f),f=f.sibling}function Gl(a,o,f){if(Sa&&typeof Sa.onCommitFiberUnmount=="function")try{Sa.onCommitFiberUnmount(ds,f)}catch{}switch(f.tag){case 5:Cr||Hl(f,o);case 6:var h=Gn,x=Nr;Gn=null,Ei(a,o,f),Gn=h,Nr=x,Gn!==null&&(Nr?(a=Gn,f=f.stateNode,a.nodeType===8?a.parentNode.removeChild(f):a.removeChild(f)):Gn.removeChild(f.stateNode));break;case 18:Gn!==null&&(Nr?(a=Gn,f=f.stateNode,a.nodeType===8?ws(a.parentNode,f):a.nodeType===1&&ws(a,f),bs(a)):ws(Gn,f.stateNode));break;case 4:h=Gn,x=Nr,Gn=f.stateNode.containerInfo,Nr=!0,Ei(a,o,f),Gn=h,Nr=x;break;case 0:case 11:case 14:case 15:if(!Cr&&(h=f.updateQueue,h!==null&&(h=h.lastEffect,h!==null))){x=h=h.next;do{var w=x,k=w.destroy;w=w.tag,k!==void 0&&(w&2||w&4)&&uf(f,o,k),x=x.next}while(x!==h)}Ei(a,o,f);break;case 1:if(!Cr&&(Hl(f,o),h=f.stateNode,typeof h.componentWillUnmount=="function"))try{h.props=f.memoizedProps,h.state=f.memoizedState,h.componentWillUnmount()}catch(W){nr(f,o,W)}Ei(a,o,f);break;case 21:Ei(a,o,f);break;case 22:f.mode&1?(Cr=(h=Cr)||f.memoizedState!==null,Ei(a,o,f),Cr=h):Ei(a,o,f);break;default:Ei(a,o,f)}}function zo(a){var o=a.updateQueue;if(o!==null){a.updateQueue=null;var f=a.stateNode;f===null&&(f=a.stateNode=new Gy),o.forEach(function(h){var x=PE.bind(null,a,h);f.has(h)||(f.add(h),h.then(x,x))})}}function $i(a,o){var f=o.deletions;if(f!==null)for(var h=0;h<f.length;h++){var x=f[h];try{var w=a,k=o,W=k;e:for(;W!==null;){switch(W.tag){case 5:Gn=W.stateNode,Nr=!1;break e;case 3:Gn=W.stateNode.containerInfo,Nr=!0;break e;case 4:Gn=W.stateNode.containerInfo,Nr=!0;break e}W=W.return}if(Gn===null)throw Error(i(160));Gl(w,k,x),Gn=null,Nr=!1;var J=x.alternate;J!==null&&(J.return=null),x.return=null}catch(de){nr(x,o,de)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)Yy(o,a),o=o.sibling}function Yy(a,o){var f=a.alternate,h=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:if($i(o,a),po(a),h&4){try{lf(3,a,a.return),cf(3,a)}catch(at){nr(a,a.return,at)}try{lf(5,a,a.return)}catch(at){nr(a,a.return,at)}}break;case 1:$i(o,a),po(a),h&512&&f!==null&&Hl(f,f.return);break;case 5:if($i(o,a),po(a),h&512&&f!==null&&Hl(f,f.return),a.flags&32){var x=a.stateNode;try{Ha(x,"")}catch(at){nr(a,a.return,at)}}if(h&4&&(x=a.stateNode,x!=null)){var w=a.memoizedProps,k=f!==null?f.memoizedProps:w,W=a.type,J=a.updateQueue;if(a.updateQueue=null,J!==null)try{W==="input"&&w.type==="radio"&&w.name!=null&&yn(x,w),Wn(W,k);var de=Wn(W,w);for(k=0;k<J.length;k+=2){var Me=J[k],Le=J[k+1];Me==="style"?sn(x,Le):Me==="dangerouslySetInnerHTML"?Ki(x,Le):Me==="children"?Ha(x,Le):F(x,Me,Le,de)}switch(W){case"input":nn(x,w);break;case"textarea":fr(x,w);break;case"select":var ke=x._wrapperState.wasMultiple;x._wrapperState.wasMultiple=!!w.multiple;var Ye=w.value;Ye!=null?Pn(x,!!w.multiple,Ye,!1):ke!==!!w.multiple&&(w.defaultValue!=null?Pn(x,!!w.multiple,w.defaultValue,!0):Pn(x,!!w.multiple,w.multiple?[]:"",!1))}x[Su]=w}catch(at){nr(a,a.return,at)}}break;case 6:if($i(o,a),po(a),h&4){if(a.stateNode===null)throw Error(i(162));x=a.stateNode,w=a.memoizedProps;try{x.nodeValue=w}catch(at){nr(a,a.return,at)}}break;case 3:if($i(o,a),po(a),h&4&&f!==null&&f.memoizedState.isDehydrated)try{bs(o.containerInfo)}catch(at){nr(a,a.return,at)}break;case 4:$i(o,a),po(a);break;case 13:$i(o,a),po(a),x=a.child,x.flags&8192&&(w=x.memoizedState!==null,x.stateNode.isHidden=w,!w||x.alternate!==null&&x.alternate.memoizedState!==null||(xh=qt())),h&4&&zo(a);break;case 22:if(Me=f!==null&&f.memoizedState!==null,a.mode&1?(Cr=(de=Cr)||Me,$i(o,a),Cr=de):$i(o,a),po(a),h&8192){if(de=a.memoizedState!==null,(a.stateNode.isHidden=de)&&!Me&&a.mode&1)for(et=a,Me=a.child;Me!==null;){for(Le=et=Me;et!==null;){switch(ke=et,Ye=ke.child,ke.tag){case 0:case 11:case 14:case 15:lf(4,ke,ke.return);break;case 1:Hl(ke,ke.return);var tt=ke.stateNode;if(typeof tt.componentWillUnmount=="function"){h=ke,f=ke.return;try{o=h,tt.props=o.memoizedProps,tt.state=o.memoizedState,tt.componentWillUnmount()}catch(at){nr(h,f,at)}}break;case 5:Hl(ke,ke.return);break;case 22:if(ke.memoizedState!==null){bh(Le);continue}}Ye!==null?(Ye.return=ke,et=Ye):bh(Le)}Me=Me.sibling}e:for(Me=null,Le=a;;){if(Le.tag===5){if(Me===null){Me=Le;try{x=Le.stateNode,de?(w=x.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none"):(W=Le.stateNode,J=Le.memoizedProps.style,k=J!=null&&J.hasOwnProperty("display")?J.display:null,W.style.display=Pt("display",k))}catch(at){nr(a,a.return,at)}}}else if(Le.tag===6){if(Me===null)try{Le.stateNode.nodeValue=de?"":Le.memoizedProps}catch(at){nr(a,a.return,at)}}else if((Le.tag!==22&&Le.tag!==23||Le.memoizedState===null||Le===a)&&Le.child!==null){Le.child.return=Le,Le=Le.child;continue}if(Le===a)break e;for(;Le.sibling===null;){if(Le.return===null||Le.return===a)break e;Me===Le&&(Me=null),Le=Le.return}Me===Le&&(Me=null),Le.sibling.return=Le.return,Le=Le.sibling}}break;case 19:$i(o,a),po(a),h&4&&zo(a);break;case 21:break;default:$i(o,a),po(a)}}function po(a){var o=a.flags;if(o&2){try{e:{for(var f=a.return;f!==null;){if(Xy(f)){var h=f;break e}f=f.return}throw Error(i(160))}switch(h.tag){case 5:var x=h.stateNode;h.flags&32&&(Ha(x,""),h.flags&=-33);var w=Qd(a);fo(a,w,x);break;case 3:case 4:var k=h.stateNode.containerInfo,W=Qd(a);Ul(a,W,k);break;default:throw Error(i(161))}}catch(J){nr(a,a.return,J)}a.flags&=-3}o&4096&&(a.flags&=-4097)}function Zy(a,o,f){et=a,$l(a)}function $l(a,o,f){for(var h=(a.mode&1)!==0;et!==null;){var x=et,w=x.child;if(x.tag===22&&h){var k=x.memoizedState!==null||sf;if(!k){var W=x.alternate,J=W!==null&&W.memoizedState!==null||Cr;W=sf;var de=Cr;if(sf=k,(Cr=J)&&!de)for(et=x;et!==null;)k=et,J=k.child,k.tag===22&&k.memoizedState!==null?qy(x):J!==null?(J.return=k,et=J):qy(x);for(;w!==null;)et=w,$l(w),w=w.sibling;et=x,sf=W,Cr=de}Jy(a)}else x.subtreeFlags&8772&&w!==null?(w.return=x,et=w):Jy(a)}}function Jy(a){for(;et!==null;){var o=et;if(o.flags&8772){var f=o.alternate;try{if(o.flags&8772)switch(o.tag){case 0:case 11:case 15:Cr||cf(5,o);break;case 1:var h=o.stateNode;if(o.flags&4&&!Cr)if(f===null)h.componentDidMount();else{var x=o.elementType===o.type?f.memoizedProps:Za(o.type,f.memoizedProps);h.componentDidUpdate(x,f.memoizedState,h.__reactInternalSnapshotBeforeUpdate)}var w=o.updateQueue;w!==null&&Ru(o,w,h);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}Ru(o,k,f)}break;case 5:var W=o.stateNode;if(f===null&&o.flags&4){f=W;var J=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":J.autoFocus&&f.focus();break;case"img":J.src&&(f.src=J.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var de=o.alternate;if(de!==null){var Me=de.memoizedState;if(Me!==null){var Le=Me.dehydrated;Le!==null&&bs(Le)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}Cr||o.flags&512&&gh(o)}catch(ke){nr(o,o.return,ke)}}if(o===a){et=null;break}if(f=o.sibling,f!==null){f.return=o.return,et=f;break}et=o.return}}function bh(a){for(;et!==null;){var o=et;if(o===a){et=null;break}var f=o.sibling;if(f!==null){f.return=o.return,et=f;break}et=o.return}}function qy(a){for(;et!==null;){var o=et;try{switch(o.tag){case 0:case 11:case 15:var f=o.return;try{cf(4,o)}catch(J){nr(o,f,J)}break;case 1:var h=o.stateNode;if(typeof h.componentDidMount=="function"){var x=o.return;try{h.componentDidMount()}catch(J){nr(o,x,J)}}var w=o.return;try{gh(o)}catch(J){nr(o,w,J)}break;case 5:var k=o.return;try{gh(o)}catch(J){nr(o,k,J)}}}catch(J){nr(o,o.return,J)}if(o===a){et=null;break}var W=o.sibling;if(W!==null){W.return=o.return,et=W;break}et=o.return}}var Kd=Math.ceil,ff=U.ReactCurrentDispatcher,Ch=U.ReactCurrentOwner,Qr=U.ReactCurrentBatchConfig,zt=0,Jn=null,tr=null,Or=0,qa=0,Wl=jt(0),xr=0,df=null,Ho=0,ep=0,Xl=0,Lu=null,fa=null,xh=0,Yl=1/0,Uo=null,tp=!1,Fu=null,vo=null,Fs=!1,Vs=null,np=0,Zl=0,rp=null,Vu=-1,Bu=0;function Kr(){return zt&6?qt():Vu!==-1?Vu:Vu=qt()}function hr(a){return a.mode&1?zt&2&&Or!==0?Or&-Or:wd.transition!==null?(Bu===0&&(Bu=ml()),Bu):(a=rn,a!==0||(a=window.event,a=a===void 0?16:jc(a.type)),a):1}function ea(a,o,f,h){if(50<Zl)throw Zl=0,rp=null,Error(i(185));Io(a,f,h),(!(zt&2)||a!==Jn)&&(a===Jn&&(!(zt&2)&&(ep|=f),xr===4&&Si(a,Or)),ta(a,h),f===1&&zt===0&&!(o.mode&1)&&(Yl=qt()+500,Ir&&Aa()))}function ta(a,o){var f=a.callbackNode;hs(a,o);var h=la(a,a===Jn?Or:0);if(h===0)f!==null&&jr(f),a.callbackNode=null,a.callbackPriority=0;else if(o=h&-h,a.callbackPriority!==o){if(f!=null&&jr(f),o===1)a.tag===0?Xv(Qy.bind(null,a)):Wv(Qy.bind(null,a)),Uv(function(){!(zt&6)&&Aa()}),f=null;else{switch(yl(h)){case 1:f=Li;break;case 4:f=Lt;break;case 16:f=ao;break;case 536870912:f=vl;break;default:f=ao}f=Ih(f,Jl.bind(null,a))}a.callbackPriority=o,a.callbackNode=f}}function Jl(a,o){if(Vu=-1,Bu=0,zt&6)throw Error(i(327));var f=a.callbackNode;if(Ql()&&a.callbackNode!==f)return null;var h=la(a,a===Jn?Or:0);if(h===0)return null;if(h&30||h&a.expiredLanes||o)o=ip(a,h);else{o=h;var x=zt;zt|=2;var w=ap();(Jn!==a||Or!==o)&&(Uo=null,Yl=qt()+500,zu(a,o));do try{DE();break}catch(W){Ky(a,W)}while(!0);Kv(),ff.current=w,zt=x,tr!==null?o=0:(Jn=null,Or=0,o=xr)}if(o!==0){if(o===2&&(x=ms(a),x!==0&&(h=x,o=Eh(a,x))),o===1)throw f=df,zu(a,0),Si(a,h),ta(a,qt()),f;if(o===6)Si(a,h);else{if(x=a.current.alternate,!(h&30)&&!Sh(x)&&(o=ip(a,h),o===2&&(w=ms(a),w!==0&&(h=w,o=Eh(a,w))),o===1))throw f=df,zu(a,0),Si(a,h),ta(a,qt()),f;switch(a.finishedWork=x,a.finishedLanes=h,o){case 0:case 1:throw Error(i(345));case 2:Hu(a,fa,Uo);break;case 3:if(Si(a,h),(h&130023424)===h&&(o=xh+500-qt(),10<o)){if(la(a,0)!==0)break;if(x=a.suspendedLanes,(x&h)!==h){Kr(),a.pingedLanes|=a.suspendedLanes&x;break}a.timeoutHandle=Eu(Hu.bind(null,a,fa,Uo),o);break}Hu(a,fa,Uo);break;case 4:if(Si(a,h),(h&4194240)===h)break;for(o=a.eventTimes,x=-1;0<h;){var k=31-ua(h);w=1<<k,k=o[k],k>x&&(x=k),h&=~w}if(h=x,h=qt()-h,h=(120>h?120:480>h?480:1080>h?1080:1920>h?1920:3e3>h?3e3:4320>h?4320:1960*Kd(h/1960))-h,10<h){a.timeoutHandle=Eu(Hu.bind(null,a,fa,Uo),h);break}Hu(a,fa,Uo);break;case 5:Hu(a,fa,Uo);break;default:throw Error(i(329))}}}return ta(a,qt()),a.callbackNode===f?Jl.bind(null,a):null}function Eh(a,o){var f=Lu;return a.current.memoizedState.isDehydrated&&(zu(a,o).flags|=256),a=ip(a,o),a!==2&&(o=fa,fa=f,o!==null&&pf(o)),a}function pf(a){fa===null?fa=a:fa.push.apply(fa,a)}function Sh(a){for(var o=a;;){if(o.flags&16384){var f=o.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var h=0;h<f.length;h++){var x=f[h],w=x.getSnapshot;x=x.value;try{if(!di(w(),x))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 Si(a,o){for(o&=~Xl,o&=~ep,a.suspendedLanes|=o,a.pingedLanes&=~o,a=a.expirationTimes;0<o;){var f=31-ua(o),h=1<<f;a[f]=-1,o&=~h}}function Qy(a){if(zt&6)throw Error(i(327));Ql();var o=la(a,0);if(!(o&1))return ta(a,qt()),null;var f=ip(a,o);if(a.tag!==0&&f===2){var h=ms(a);h!==0&&(o=h,f=Eh(a,h))}if(f===1)throw f=df,zu(a,0),Si(a,o),ta(a,qt()),f;if(f===6)throw Error(i(345));return a.finishedWork=a.current.alternate,a.finishedLanes=o,Hu(a,fa,Uo),ta(a,qt()),null}function ql(a,o){var f=zt;zt|=1;try{return a(o)}finally{zt=f,zt===0&&(Yl=qt()+500,Ir&&Aa())}}function Bs(a){Vs!==null&&Vs.tag===0&&!(zt&6)&&Ql();var o=zt;zt|=1;var f=Qr.transition,h=rn;try{if(Qr.transition=null,rn=1,a)return a()}finally{rn=h,Qr.transition=f,zt=o,!(zt&6)&&Aa()}}function wh(){qa=Wl.current,un(Wl)}function zu(a,o){a.finishedWork=null,a.finishedLanes=0;var f=a.timeoutHandle;if(f!==-1&&(a.timeoutHandle=-1,Ty(f)),tr!==null)for(f=tr.return;f!==null;){var h=f;switch(Zv(h),h.tag){case 1:h=h.type.childContextTypes,h!=null&&mi();break;case 3:ks(),un(er),un(wt),Od();break;case 5:Vt(h);break;case 4:ks();break;case 13:un(yt);break;case 19:un(yt);break;case 10:Os(h.type._context);break;case 22:case 23:wh()}f=f.return}if(Jn=a,tr=a=zs(a.current,null),Or=qa=o,xr=0,df=null,Xl=ep=Ho=0,fa=Lu=null,Mr!==null){for(o=0;o<Mr.length;o++)if(f=Mr[o],h=f.interleaved,h!==null){f.interleaved=null;var x=h.next,w=f.pending;if(w!==null){var k=w.next;w.next=x,h.next=k}f.pending=h}Mr=null}return a}function Ky(a,o){do{var f=tr;try{if(Kv(),_d.current=Xd,Ct){for(var h=Vn.memoizedState;h!==null;){var x=h.queue;x!==null&&(x.pending=null),h=h.next}Ct=!1}if(Iu=0,Wt=Se=Vn=null,co=!1,Ja=0,Ch.current=null,f===null||f.return===null){xr=1,df=o,tr=null;break}e:{var w=a,k=f.return,W=f,J=o;if(o=Or,W.flags|=32768,J!==null&&typeof J=="object"&&typeof J.then=="function"){var de=J,Me=W,Le=Me.tag;if(!(Me.mode&1)&&(Le===0||Le===11||Le===15)){var ke=Me.alternate;ke?(Me.updateQueue=ke.updateQueue,Me.memoizedState=ke.memoizedState,Me.lanes=ke.lanes):(Me.updateQueue=null,Me.memoizedState=null)}var Ye=uh(k);if(Ye!==null){Ye.flags&=-257,lh(Ye,k,W,w,o),Ye.mode&1&&zy(w,de,o),o=Ye,J=de;var tt=o.updateQueue;if(tt===null){var at=new Set;at.add(J),o.updateQueue=at}else tt.add(J);break e}else{if(!(o&1)){zy(w,de,o),Rh();break e}J=Error(i(426))}}else if(Fn&&W.mode&1){var sr=uh(k);if(sr!==null){!(sr.flags&65536)&&(sr.flags|=256),lh(sr,k,W,w,o),qv(Vl(J,W));break e}}w=J=Vl(J,W),xr!==4&&(xr=2),Lu===null?Lu=[w]:Lu.push(w),w=k;do{switch(w.tag){case 3:w.flags|=65536,o&=-o,w.lanes|=o;var ne=By(w,J,o);nh(w,ne);break e;case 1:W=J;var K=w.type,oe=w.stateNode;if(!(w.flags&128)&&(typeof K.getDerivedStateFromError=="function"||oe!==null&&typeof oe.componentDidCatch=="function"&&(vo===null||!vo.has(oe)))){w.flags|=65536,o&=-o,w.lanes|=o;var ze=rf(w,W,o);nh(w,ze);break e}}w=w.return}while(w!==null)}Th(f)}catch(it){o=it,tr===f&&f!==null&&(tr=f=f.return);continue}break}while(!0)}function ap(){var a=ff.current;return ff.current=Xd,a===null?Xd:a}function Rh(){(xr===0||xr===3||xr===2)&&(xr=4),Jn===null||!(Ho&268435455)&&!(ep&268435455)||Si(Jn,Or)}function ip(a,o){var f=zt;zt|=2;var h=ap();(Jn!==a||Or!==o)&&(Uo=null,zu(a,o));do try{_E();break}catch(x){Ky(a,x)}while(!0);if(Kv(),zt=f,ff.current=h,tr!==null)throw Error(i(261));return Jn=null,Or=0,xr}function _E(){for(;tr!==null;)eb(tr)}function DE(){for(;tr!==null&&!ro();)eb(tr)}function eb(a){var o=nb(a.alternate,a,qa);a.memoizedProps=a.pendingProps,o===null?Th(a):tr=o,Ch.current=null}function Th(a){var o=a;do{var f=o.alternate;if(a=o.return,o.flags&32768){if(f=mh(f,o),f!==null){f.flags&=32767,tr=f;return}if(a!==null)a.flags|=32768,a.subtreeFlags=0,a.deletions=null;else{xr=6,tr=null;return}}else if(f=OE(f,o,qa),f!==null){tr=f;return}if(o=o.sibling,o!==null){tr=o;return}tr=o=a}while(o!==null);xr===0&&(xr=5)}function Hu(a,o,f){var h=rn,x=Qr.transition;try{Qr.transition=null,rn=1,jE(a,o,f,h)}finally{Qr.transition=x,rn=h}return null}function jE(a,o,f,h){do Ql();while(Vs!==null);if(zt&6)throw Error(i(327));f=a.finishedWork;var x=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(Ev(a,w),a===Jn&&(tr=Jn=null,Or=0),!(f.subtreeFlags&2064)&&!(f.flags&2064)||Fs||(Fs=!0,Ih(ao,function(){return Ql(),null})),w=(f.flags&15990)!==0,f.subtreeFlags&15990||w){w=Qr.transition,Qr.transition=null;var k=rn;rn=1;var W=zt;zt|=4,Ch.current=null,Wy(a,f),Yy(f,a),pd(xu),fi=!!zv,xu=zv=null,a.current=f,Zy(f),pl(),zt=W,rn=k,Qr.transition=w}else a.current=f;if(Fs&&(Fs=!1,Vs=a,np=x),w=a.pendingLanes,w===0&&(vo=null),Oc(f.stateNode),ta(a,qt()),o!==null)for(h=a.onRecoverableError,f=0;f<o.length;f++)x=o[f],h(x.value,{componentStack:x.stack,digest:x.digest});if(tp)throw tp=!1,a=Fu,Fu=null,a;return np&1&&a.tag!==0&&Ql(),w=a.pendingLanes,w&1?a===rp?Zl++:(Zl=0,rp=a):Zl=0,Aa(),null}function Ql(){if(Vs!==null){var a=yl(np),o=Qr.transition,f=rn;try{if(Qr.transition=null,rn=16>a?16:a,Vs===null)var h=!1;else{if(a=Vs,Vs=null,np=0,zt&6)throw Error(i(331));var x=zt;for(zt|=4,et=a.current;et!==null;){var w=et,k=w.child;if(et.flags&16){var W=w.deletions;if(W!==null){for(var J=0;J<W.length;J++){var de=W[J];for(et=de;et!==null;){var Me=et;switch(Me.tag){case 0:case 11:case 15:lf(8,Me,w)}var Le=Me.child;if(Le!==null)Le.return=Me,et=Le;else for(;et!==null;){Me=et;var ke=Me.sibling,Ye=Me.return;if(yh(Me),Me===de){et=null;break}if(ke!==null){ke.return=Ye,et=ke;break}et=Ye}}}var tt=w.alternate;if(tt!==null){var at=tt.child;if(at!==null){tt.child=null;do{var sr=at.sibling;at.sibling=null,at=sr}while(at!==null)}}et=w}}if(w.subtreeFlags&2064&&k!==null)k.return=w,et=k;else e:for(;et!==null;){if(w=et,w.flags&2048)switch(w.tag){case 0:case 11:case 15:lf(9,w,w.return)}var ne=w.sibling;if(ne!==null){ne.return=w.return,et=ne;break e}et=w.return}}var K=a.current;for(et=K;et!==null;){k=et;var oe=k.child;if(k.subtreeFlags&2064&&oe!==null)oe.return=k,et=oe;else e:for(k=K;et!==null;){if(W=et,W.flags&2048)try{switch(W.tag){case 0:case 11:case 15:cf(9,W)}}catch(it){nr(W,W.return,it)}if(W===k){et=null;break e}var ze=W.sibling;if(ze!==null){ze.return=W.return,et=ze;break e}et=W.return}}if(zt=x,Aa(),Sa&&typeof Sa.onPostCommitFiberRoot=="function")try{Sa.onPostCommitFiberRoot(ds,a)}catch{}h=!0}return h}finally{rn=f,Qr.transition=o}}return!1}function tb(a,o,f){o=Vl(f,o),o=By(a,o,1),a=Ds(a,o,1),o=Kr(),a!==null&&(Io(a,1,o),ta(a,o))}function nr(a,o,f){if(a.tag===3)tb(a,a,f);else for(;o!==null;){if(o.tag===3){tb(o,a,f);break}else if(o.tag===1){var h=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(vo===null||!vo.has(h))){a=Vl(f,a),a=rf(o,a,1),o=Ds(o,a,1),a=Kr(),o!==null&&(Io(o,1,a),ta(o,a));break}}o=o.return}}function kE(a,o,f){var h=a.pingCache;h!==null&&h.delete(o),o=Kr(),a.pingedLanes|=a.suspendedLanes&f,Jn===a&&(Or&f)===f&&(xr===4||xr===3&&(Or&130023424)===Or&&500>qt()-xh?zu(a,0):Xl|=f),ta(a,o)}function op(a,o){o===0&&(a.mode&1?(o=ps,ps<<=1,!(ps&130023424)&&(ps=4194304)):o=1);var f=Kr();a=Lo(a,o),a!==null&&(Io(a,o,f),ta(a,f))}function ME(a){var o=a.memoizedState,f=0;o!==null&&(f=o.retryLane),op(a,f)}function PE(a,o){var f=0;switch(a.tag){case 13:var h=a.stateNode,x=a.memoizedState;x!==null&&(f=x.retryLane);break;case 19:h=a.stateNode;break;default:throw Error(i(314))}h!==null&&h.delete(o),op(a,f)}var nb;nb=function(a,o,f){if(a!==null)if(a.memoizedProps!==o.pendingProps||er.current)vr=!0;else{if(!(a.lanes&f)&&!(o.flags&128))return vr=!1,Bo(a,o,f);vr=!!(a.flags&131072)}else vr=!1,Fn&&o.flags&1048576&&Yv(o,Dl,o.index);switch(o.lanes=0,o.tag){case 2:var h=o.type;Jr(a,o),a=o.pendingProps;var x=hi(o,wt.current);Ge(o,f),x=Ms(null,o,h,a,x,f);var w=Ou();return o.flags|=1,typeof x=="object"&&x!==null&&typeof x.render=="function"&&x.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,Un(h)?(w=!0,bd(o)):w=!1,o.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,th(o),x.updater=Id,o.stateNode=x,x._reactInternals=o,Ad(o,h,a,f),o=Hy(null,o,h,!0,w,f)):(o.tag=0,Fn&&w&&Cd(o),yr(null,o,x,f),o=o.child),o;case 16:h=o.elementType;e:{switch(Jr(a,o),a=o.pendingProps,x=h._init,h=x(h._payload),o.type=h,x=o.tag=FE(h),a=Za(h,a),x){case 0:o=Bl(null,o,h,a,f);break e;case 1:o=ch(null,o,h,a,f);break e;case 11:o=Ls(null,o,h,a,f);break e;case 14:o=Zd(null,o,h,Za(h.type,a),f);break e}throw Error(i(306,h,""))}return o;case 0:return h=o.type,x=o.pendingProps,x=o.elementType===h?x:Za(h,x),Bl(a,o,h,x,f);case 1:return h=o.type,x=o.pendingProps,x=o.elementType===h?x:Za(h,x),ch(a,o,h,x,f);case 3:e:{if(Uy(o),a===null)throw Error(i(387));h=o.pendingProps,w=o.memoizedState,x=w.element,gr(a,o),js(o,h,null,f);var k=o.memoizedState;if(h=k.element,w.isDehydrated)if(w={element:h,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},o.updateQueue.baseState=w,o.memoizedState=w,o.flags&256){x=Vl(Error(i(423)),o),o=Jd(a,o,h,f,x);break e}else if(h!==x){x=Vl(Error(i(424)),o),o=Jd(a,o,h,f,x);break e}else for(_a=Ui(o.stateNode.containerInfo.firstChild),Ya=o,Fn=!0,yi=null,f=Fy(o,null,h,f),o.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(Yn(),h===x){o=Pr(a,o,f);break e}yr(a,o,h,f)}o=o.child}return o;case 5:return mt(o),a===null&&Ed(o),h=o.type,x=o.pendingProps,w=a!==null?a.memoizedProps:null,k=x.children,$c(h,x)?k=null:w!==null&&$c(h,w)&&(o.flags|=32),kt(a,o),yr(a,o,k,f),o.child;case 6:return a===null&&Ed(o),null;case 13:return dh(a,o,f);case 4:return ah(o,o.stateNode.containerInfo),h=o.pendingProps,a===null?o.child=kl(o,null,h,f):yr(a,o,h,f),o.child;case 11:return h=o.type,x=o.pendingProps,x=o.elementType===h?x:Za(h,x),Ls(a,o,h,x,f);case 7:return yr(a,o,o.pendingProps,f),o.child;case 8:return yr(a,o,o.pendingProps.children,f),o.child;case 12:return yr(a,o,o.pendingProps.children,f),o.child;case 10:e:{if(h=o.type._context,x=o.pendingProps,w=o.memoizedProps,k=x.value,pn(lo,h._currentValue),h._currentValue=k,w!==null)if(di(w.value,k)){if(w.children===x.children&&!er.current){o=Pr(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 J=W.firstContext;J!==null;){if(J.context===h){if(w.tag===1){J=Fo(-1,f&-f),J.tag=2;var de=w.updateQueue;if(de!==null){de=de.shared;var Me=de.pending;Me===null?J.next=J:(J.next=Me.next,Me.next=J),de.pending=J}}w.lanes|=f,J=w.alternate,J!==null&&(J.lanes|=f),Ar(w.return,f,o),W.lanes|=f;break}J=J.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),Ar(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}yr(a,o,x.children,f),o=o.child}return o;case 9:return x=o.type,h=o.pendingProps.children,Ge(o,f),x=or(x),h=h(x),o.flags|=1,yr(a,o,h,f),o.child;case 14:return h=o.type,x=Za(h,o.pendingProps),x=Za(h.type,x),Zd(a,o,h,x,f);case 15:return ka(a,o,o.type,o.pendingProps,f);case 17:return h=o.type,x=o.pendingProps,x=o.elementType===h?x:Za(h,x),Jr(a,o),o.tag=1,Un(h)?(a=!0,bd(o)):a=!1,Ge(o,f),ky(o,h,x),Ad(o,h,x,f),Hy(null,o,h,!0,a,f);case 19:return hh(a,o,f);case 22:return ku(a,o,f)}throw Error(i(156,o.tag))};function Ih(a,o){return jn(a,o)}function LE(a,o,f,h){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=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function wi(a,o,f,h){return new LE(a,o,f,h)}function Ah(a){return a=a.prototype,!(!a||!a.isReactComponent)}function FE(a){if(typeof a=="function")return Ah(a)?1:0;if(a!=null){if(a=a.$$typeof,a===ye)return 11;if(a===_e)return 14}return 2}function zs(a,o){var f=a.alternate;return f===null?(f=wi(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 sp(a,o,f,h,x,w){var k=2;if(h=a,typeof a=="function")Ah(a)&&(k=1);else if(typeof a=="string")k=5;else e:switch(a){case X:return Uu(f.children,x,w,o);case te:k=8,x|=8;break;case Re:return a=wi(12,f,o,x|2),a.elementType=Re,a.lanes=w,a;case me:return a=wi(13,f,o,x),a.elementType=me,a.lanes=w,a;case Ae:return a=wi(19,f,o,x),a.elementType=Ae,a.lanes=w,a;case Ie:return vf(f,x,w,o);default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case ue:k=10;break e;case pe:k=9;break e;case ye:k=11;break e;case _e:k=14;break e;case Oe:k=16,h=null;break e}throw Error(i(130,a==null?a:typeof a,""))}return o=wi(k,f,o,x),o.elementType=a,o.type=h,o.lanes=w,o}function Uu(a,o,f,h){return a=wi(7,a,h,o),a.lanes=f,a}function vf(a,o,f,h){return a=wi(22,a,h,o),a.elementType=Ie,a.lanes=f,a.stateNode={isHidden:!1},a}function hf(a,o,f){return a=wi(6,a,null,o),a.lanes=f,a}function Gu(a,o,f){return o=wi(4,a.children!==null?a.children:[],a.key,o),o.lanes=f,o.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},o}function VE(a,o,f,h,x){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=gl(0),this.expirationTimes=gl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gl(0),this.identifierPrefix=h,this.onRecoverableError=x,this.mutableSourceEagerHydrationData=null}function up(a,o,f,h,x,w,k,W,J){return a=new VE(a,o,f,W,J),o===1?(o=1,w===!0&&(o|=8)):o=0,w=wi(3,null,null,o),a.current=w,w.stateNode=a,w.memoizedState={element:h,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},th(w),a}function rb(a,o,f){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:G,key:h==null?null:""+h,children:a,containerInfo:o,implementation:f}}function Nh(a){if(!a)return uo;a=a._reactInternals;e:{if(_t(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(Un(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(Un(f))return Yc(a,f,o)}return o}function ab(a,o,f,h,x,w,k,W,J){return a=up(f,h,!0,a,x,w,k,W,J),a.context=Nh(null),f=a.current,h=Kr(),x=hr(f),w=Fo(h,x),w.callback=o??null,Ds(f,w,x),a.current.lanes=x,Io(a,x,h),ta(a,h),a}function mf(a,o,f,h){var x=o.current,w=Kr(),k=hr(x);return f=Nh(f),o.context===null?o.context=f:o.pendingContext=f,o=Fo(w,k),o.payload={element:a},h=h===void 0?null:h,h!==null&&(o.callback=h),a=Ds(x,o,k),a!==null&&(ea(a,x,k,w),Td(a,x,k)),k}function lp(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 ib(a,o){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var f=a.retryLane;a.retryLane=f!==0&&f<o?f:o}}function Oh(a,o){ib(a,o),(a=a.alternate)&&ib(a,o)}function ob(){return null}var _h=typeof reportError=="function"?reportError:function(a){console.error(a)};function cp(a){this._internalRoot=a}Go.prototype.render=cp.prototype.render=function(a){var o=this._internalRoot;if(o===null)throw Error(i(409));mf(a,o,null,null)},Go.prototype.unmount=cp.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var o=a.containerInfo;Bs(function(){mf(null,a,null,null)}),o[Mo]=null}};function Go(a){this._internalRoot=a}Go.prototype.unstable_scheduleHydration=function(a){if(a){var o=Cl();a={blockedOn:null,target:a,priority:o};for(var f=0;f<dn.length&&o!==0&&o<dn[f].priority;f++);dn.splice(f,0,a),f===0&&od(a)}};function Dh(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function fp(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11&&(a.nodeType!==8||a.nodeValue!==" react-mount-point-unstable "))}function sb(){}function BE(a,o,f,h,x){if(x){if(typeof h=="function"){var w=h;h=function(){var de=lp(k);w.call(de)}}var k=ab(o,h,a,0,null,!1,!1,"",sb);return a._reactRootContainer=k,a[Mo]=k.current,Ol(a.nodeType===8?a.parentNode:a),Bs(),k}for(;x=a.lastChild;)a.removeChild(x);if(typeof h=="function"){var W=h;h=function(){var de=lp(J);W.call(de)}}var J=up(a,0,!1,null,null,!1,!1,"",sb);return a._reactRootContainer=J,a[Mo]=J.current,Ol(a.nodeType===8?a.parentNode:a),Bs(function(){mf(o,J,f,h)}),J}function dp(a,o,f,h,x){var w=f._reactRootContainer;if(w){var k=w;if(typeof x=="function"){var W=x;x=function(){var J=lp(k);W.call(J)}}mf(o,k,a,x)}else k=BE(f,o,a,x,h);return lp(k)}vu=function(a){switch(a.tag){case 3:var o=a.stateNode;if(o.current.memoizedState.isDehydrated){var f=Fi(o.pendingLanes);f!==0&&(io(o,f|1),ta(o,qt()),!(zt&6)&&(Yl=qt()+500,Aa()))}break;case 13:Bs(function(){var h=Lo(a,1);if(h!==null){var x=Kr();ea(h,a,1,x)}}),Oh(a,1)}},bl=function(a){if(a.tag===13){var o=Lo(a,134217728);if(o!==null){var f=Kr();ea(o,a,134217728,f)}Oh(a,134217728)}},Qt=function(a){if(a.tag===13){var o=hr(a),f=Lo(a,o);if(f!==null){var h=Kr();ea(f,a,o,h)}Oh(a,o)}},Cl=function(){return rn},xl=function(a,o){var f=rn;try{return rn=a,o()}finally{rn=f}},oa=function(a,o,f){switch(o){case"input":if(nn(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 h=f[o];if(h!==a&&h.form===a.form){var x=ct(h);if(!x)throw Error(i(90));Ne(h),nn(h,x)}}}break;case"textarea":fr(a,f);break;case"select":o=f.value,o!=null&&Pn(a,!!f.multiple,o,!1)}},pu=ql,dl=Bs;var zE={usingClientEntryPoint:!1,Events:[Xc,_l,ct,li,ls,ql]},Kl={findFiberByHostInstance:pi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},HE={bundleType:Kl.bundleType,version:Kl.version,rendererPackageName:Kl.rendererPackageName,rendererConfig:Kl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:U.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){return a=dr(a),a===null?null:a.stateNode},findFiberByHostInstance:Kl.findFiberByHostInstance||ob,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 pp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!pp.isDisabled&&pp.supportsFiber)try{ds=pp.inject(HE),Sa=pp}catch{}}return ri.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=zE,ri.createPortal=function(a,o){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Dh(o))throw Error(i(200));return rb(a,o,null,f)},ri.createRoot=function(a,o){if(!Dh(a))throw Error(i(299));var f=!1,h="",x=_h;return o!=null&&(o.unstable_strictMode===!0&&(f=!0),o.identifierPrefix!==void 0&&(h=o.identifierPrefix),o.onRecoverableError!==void 0&&(x=o.onRecoverableError)),o=up(a,1,!1,null,null,f,!1,h,x),a[Mo]=o.current,Ol(a.nodeType===8?a.parentNode:a),new cp(o)},ri.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=dr(o),a=a===null?null:a.stateNode,a},ri.flushSync=function(a){return Bs(a)},ri.hydrate=function(a,o,f){if(!fp(o))throw Error(i(200));return dp(null,a,o,!0,f)},ri.hydrateRoot=function(a,o,f){if(!Dh(a))throw Error(i(405));var h=f!=null&&f.hydratedSources||null,x=!1,w="",k=_h;if(f!=null&&(f.unstable_strictMode===!0&&(x=!0),f.identifierPrefix!==void 0&&(w=f.identifierPrefix),f.onRecoverableError!==void 0&&(k=f.onRecoverableError)),o=ab(o,null,a,1,f??null,x,!1,w,k),a[Mo]=o.current,Ol(a),h)for(a=0;a<h.length;a++)f=h[a],x=f._getVersion,x=x(f._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[f,x]:o.mutableSourceEagerHydrationData.push(f,x);return new Go(o)},ri.render=function(a,o,f){if(!fp(o))throw Error(i(200));return dp(null,a,o,!1,f)},ri.unmountComponentAtNode=function(a){if(!fp(a))throw Error(i(40));return a._reactRootContainer?(Bs(function(){dp(null,null,a,!1,function(){a._reactRootContainer=null,a[Mo]=null})}),!0):!1},ri.unstable_batchedUpdates=ql,ri.unstable_renderSubtreeIntoContainer=function(a,o,f,h){if(!fp(f))throw Error(i(200));if(a==null||a._reactInternals===void 0)throw Error(i(38));return dp(a,o,f,!1,h)},ri.version="18.2.0-next-9e3b772b8-20220608",ri}var ai={};/**
|
|
97
|
-
* @license React
|
|
98
|
-
* react-dom.development.js
|
|
99
|
-
*
|
|
100
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
101
|
-
*
|
|
102
|
-
* This source code is licensed under the MIT license found in the
|
|
103
|
-
* LICENSE file in the root directory of this source tree.
|
|
104
|
-
*/var $w;function zk(){return $w||($w=1,process.env.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 n=yc(),r=Uw(),i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,u=!1;function l(e){u=e}function d(e){if(!u){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 p(e){if(!u){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=i.ReactDebugCurrentFrame,v=c.getStackAddendum();v!==""&&(t+="%s",s=s.concat([v]));var m=s.map(function(S){return String(S)});m.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,m)}}var g=0,b=1,E=2,R=3,T=4,A=5,N=6,j=7,O=8,P=9,B=10,F=11,U=12,z=13,G=14,X=15,te=16,Re=17,ue=18,pe=19,ye=21,me=22,Ae=23,_e=24,Oe=25,Ie=!0,ve=!1,Pe=!1,L=!1,q=!1,se=!0,xe=!1,Ee=!1,De=!0,ie=!0,he=!0,Te=new Set,Ve={},Ke={};function It(e,t){Ne(e,t),Ne(e+"Capture",t)}function Ne(e,t){Ve[e]&&p("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Ve[e]=t;{var s=e.toLowerCase();Ke[s]=e,e==="onDoubleClick"&&(Ke.ondblclick=e)}for(var c=0;c<t.length;c++)Te.add(t[c])}var dt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Bt=Object.prototype.hasOwnProperty;function lt(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,s=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s}}function yn(e){try{return nn(e),!1}catch{return!0}}function nn(e){return""+e}function Hn(e,t){if(yn(e))return p("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,lt(e)),nn(e)}function Mn(e){if(yn(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",lt(e)),nn(e)}function Mt(e,t){if(yn(e))return p("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,lt(e)),nn(e)}function Pn(e,t){if(yn(e))return p("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,lt(e)),nn(e)}function $n(e){if(yn(e))return p("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",lt(e)),nn(e)}function rr(e){if(yn(e))return p("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.",lt(e)),nn(e)}var fr=0,Qn=1,St=2,en=3,ar=4,Ki=5,Ha=6,He=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",st=He+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Pt=new RegExp("^["+He+"]["+st+"]*$"),sn={},ln={};function ir(e){return Bt.call(ln,e)?!0:Bt.call(sn,e)?!1:Pt.test(e)?(ln[e]=!0,!0):(sn[e]=!0,p("Invalid attribute name: `%s`",e),!1)}function Wn(e,t,s){return t!==null?t.type===fr:s?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Yr(e,t,s,c){if(s!==null&&s.type===fr)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(c)return!1;if(s!==null)return!s.acceptsBooleans;var v=e.toLowerCase().slice(0,5);return v!=="data-"&&v!=="aria-"}default:return!1}}function bn(e,t,s,c){if(t===null||typeof t>"u"||Yr(e,t,s,c))return!0;if(c)return!1;if(s!==null)switch(s.type){case en:return!t;case ar:return t===!1;case Ki:return isNaN(t);case Ha:return isNaN(t)||t<1}return!1}function oa(e){return fn.hasOwnProperty(e)?fn[e]:null}function cn(e,t,s,c,v,m,S){this.acceptsBooleans=t===St||t===en||t===ar,this.attributeName=c,this.attributeNamespace=v,this.mustUseProperty=s,this.propertyName=e,this.type=t,this.sanitizeURL=m,this.removeEmptyString=S}var fn={},Pi=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Pi.forEach(function(e){fn[e]=new cn(e,fr,!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];fn[t]=new cn(t,Qn,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){fn[e]=new cn(e,St,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fn[e]=new cn(e,St,!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){fn[e]=new cn(e,en,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){fn[e]=new cn(e,en,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){fn[e]=new cn(e,ar,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){fn[e]=new cn(e,Ha,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){fn[e]=new cn(e,Ki,!1,e.toLowerCase(),null,!1,!1)});var li=/[\-\:]([a-z])/g,ls=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(li,ls);fn[t]=new cn(t,Qn,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(li,ls);fn[t]=new cn(t,Qn,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(li,ls);fn[t]=new cn(t,Qn,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){fn[e]=new cn(e,Qn,!1,e.toLowerCase(),null,!1,!1)});var pu="xlinkHref";fn[pu]=new cn("xlinkHref",Qn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){fn[e]=new cn(e,Qn,!1,e.toLowerCase(),null,!0,!0)});var dl=/^[\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,To=!1;function cs(e){!To&&dl.test(e)&&(To=!0,p("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 Ua(e,t,s,c){if(c.mustUseProperty){var v=c.propertyName;return e[v]}else{Hn(s,t),c.sanitizeURL&&cs(""+s);var m=c.attributeName,S=null;if(c.type===ar){if(e.hasAttribute(m)){var I=e.getAttribute(m);return I===""?!0:bn(t,s,c,!1)?I:I===""+s?s:I}}else if(e.hasAttribute(m)){if(bn(t,s,c,!1))return e.getAttribute(m);if(c.type===en)return s;S=e.getAttribute(m)}return bn(t,s,c,!1)?S===null?s:S:S===""+s?s:S}}function eo(e,t,s,c){{if(!ir(t))return;if(!e.hasAttribute(t))return s===void 0?void 0:null;var v=e.getAttribute(t);return Hn(s,t),v===""+s?s:v}}function Ga(e,t,s,c){var v=oa(t);if(!Wn(t,v,c)){if(bn(t,s,v,c)&&(s=null),c||v===null){if(ir(t)){var m=t;s===null?e.removeAttribute(m):(Hn(s,t),e.setAttribute(m,""+s))}return}var S=v.mustUseProperty;if(S){var I=v.propertyName;if(s===null){var _=v.type;e[I]=_===en?!1:""}else e[I]=s;return}var V=v.attributeName,H=v.attributeNamespace;if(s===null)e.removeAttribute(V);else{var ee=v.type,Q;ee===en||ee===ar&&s===!0?Q="":(Hn(s,V),Q=""+s,v.sanitizeURL&&cs(Q.toString())),H?e.setAttributeNS(H,V,Q):e.setAttribute(V,Q)}}}var to=Symbol.for("react.element"),sa=Symbol.for("react.portal"),$a=Symbol.for("react.fragment"),no=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),je=Symbol.for("react.provider"),Ue=Symbol.for("react.context"),Je=Symbol.for("react.forward_ref"),_t=Symbol.for("react.suspense"),$t=Symbol.for("react.suspense_list"),Dt=Symbol.for("react.memo"),pt=Symbol.for("react.lazy"),dr=Symbol.for("react.scope"),Dn=Symbol.for("react.debug_trace_mode"),jn=Symbol.for("react.offscreen"),jr=Symbol.for("react.legacy_hidden"),ro=Symbol.for("react.cache"),pl=Symbol.for("react.tracing_marker"),qt=Symbol.iterator,xv="@@iterator";function Li(e){if(e===null||typeof e!="object")return null;var t=qt&&e[qt]||e[xv];return typeof t=="function"?t:null}var Lt=Object.assign,ao=0,fs,vl,ds,Sa,Oc,ua,_c;function Dc(){}Dc.__reactDisabledLog=!0;function ad(){{if(ao===0){fs=console.log,vl=console.info,ds=console.warn,Sa=console.error,Oc=console.group,ua=console.groupCollapsed,_c=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Dc,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ao++}}function hl(){{if(ao--,ao===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Lt({},e,{value:fs}),info:Lt({},e,{value:vl}),warn:Lt({},e,{value:ds}),error:Lt({},e,{value:Sa}),group:Lt({},e,{value:Oc}),groupCollapsed:Lt({},e,{value:ua}),groupEnd:Lt({},e,{value:_c})})}ao<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ps=i.ReactCurrentDispatcher,Fi;function la(e,t,s){{if(Fi===void 0)try{throw Error()}catch(v){var c=v.stack.trim().match(/\n( *(at )?)/);Fi=c&&c[1]||""}return`
|
|
105
|
-
`+Fi+e}}var vs=!1,hs;{var ms=typeof WeakMap=="function"?WeakMap:Map;hs=new ms}function ml(e,t){if(!e||vs)return"";{var s=hs.get(e);if(s!==void 0)return s}var c;vs=!0;var v=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var m;m=ps.current,ps.current=null,ad();try{if(t){var S=function(){throw Error()};if(Object.defineProperty(S.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(S,[])}catch(fe){c=fe}Reflect.construct(e,[],S)}else{try{S.call()}catch(fe){c=fe}e.call(S.prototype)}}else{try{throw Error()}catch(fe){c=fe}e()}}catch(fe){if(fe&&c&&typeof fe.stack=="string"){for(var I=fe.stack.split(`
|
|
106
|
-
`),_=c.stack.split(`
|
|
107
|
-
`),V=I.length-1,H=_.length-1;V>=1&&H>=0&&I[V]!==_[H];)H--;for(;V>=1&&H>=0;V--,H--)if(I[V]!==_[H]){if(V!==1||H!==1)do if(V--,H--,H<0||I[V]!==_[H]){var ee=`
|
|
108
|
-
`+I[V].replace(" at new "," at ");return e.displayName&&ee.includes("<anonymous>")&&(ee=ee.replace("<anonymous>",e.displayName)),typeof e=="function"&&hs.set(e,ee),ee}while(V>=1&&H>=0);break}}}finally{vs=!1,ps.current=m,hl(),Error.prepareStackTrace=v}var Q=e?e.displayName||e.name:"",le=Q?la(Q):"";return typeof e=="function"&&hs.set(e,le),le}function gl(e,t,s){return ml(e,!0)}function Io(e,t,s){return ml(e,!1)}function Ev(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function io(e,t,s){if(e==null)return"";if(typeof e=="function")return ml(e,Ev(e));if(typeof e=="string")return la(e);switch(e){case _t:return la("Suspense");case $t:return la("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case Je:return Io(e.render);case Dt:return io(e.type,t,s);case pt:{var c=e,v=c._payload,m=c._init;try{return io(m(v),t,s)}catch{}}}return""}function rn(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case A:return la(e.type);case te:return la("Lazy");case z:return la("Suspense");case pe:return la("SuspenseList");case g:case E:case X:return Io(e.type);case F:return Io(e.type.render);case b:return gl(e.type);default:return""}}function yl(e){try{var t="",s=e;do t+=rn(s),s=s.return;while(s);return t}catch(c){return`
|
|
109
|
-
Error generating stack: `+c.message+`
|
|
110
|
-
`+c.stack}}function vu(e,t,s){var c=e.displayName;if(c)return c;var v=t.displayName||t.name||"";return v!==""?s+"("+v+")":s}function bl(e){return e.displayName||"Context"}function Qt(e){if(e==null)return null;if(typeof e.tag=="number"&&p("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 $a:return"Fragment";case sa:return"Portal";case Z:return"Profiler";case no:return"StrictMode";case _t:return"Suspense";case $t:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ue:var t=e;return bl(t)+".Consumer";case je:var s=e;return bl(s._context)+".Provider";case Je:return vu(e,e.render,"ForwardRef");case Dt:var c=e.displayName||null;return c!==null?c:Qt(e.type)||"Memo";case pt:{var v=e,m=v._payload,S=v._init;try{return Qt(S(m))}catch{return null}}}return null}function Cl(e,t,s){var c=t.displayName||t.name||"";return e.displayName||(c!==""?s+"("+c+")":s)}function xl(e){return e.displayName||"Context"}function At(e){var t=e.tag,s=e.type;switch(t){case _e:return"Cache";case P:var c=s;return xl(c)+".Consumer";case B:var v=s;return xl(v._context)+".Provider";case ue:return"DehydratedFragment";case F:return Cl(s,s.render,"ForwardRef");case j:return"Fragment";case A:return s;case T:return"Portal";case R:return"Root";case N:return"Text";case te:return Qt(s);case O:return s===no?"StrictMode":"Mode";case me:return"Offscreen";case U:return"Profiler";case ye:return"Scope";case z:return"Suspense";case pe:return"SuspenseList";case Oe:return"TracingMarker";case b:case g:case Re:case E:case G:case X:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;break}return null}var hu=i.ReactDebugCurrentFrame,Xn=null,wa=!1;function ca(){{if(Xn===null)return null;var e=Xn._debugOwner;if(e!==null&&typeof e<"u")return At(e)}return null}function gs(){return Xn===null?"":yl(Xn)}function Kn(){hu.getCurrentStack=null,Xn=null,wa=!1}function dn(e){hu.getCurrentStack=e===null?null:gs,Xn=e,wa=!1}function id(){return Xn}function Ra(e){wa=e}function Rr(e){return""+e}function oo(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return rr(e),e;default:return""}}var od={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ao(e,t){od[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||p("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||p("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 ys(e){var t=e.type,s=e.nodeName;return s&&s.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function sd(e){return e._valueTracker}function ci(e){e._valueTracker=null}function bs(e){var t="";return e&&(ys(e)?t=e.checked?"true":"false":t=e.value),t}function Cs(e){var t=ys(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);rr(e[t]);var c=""+e[t];if(!(e.hasOwnProperty(t)||typeof s>"u"||typeof s.get!="function"||typeof s.set!="function")){var v=s.get,m=s.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return v.call(this)},set:function(I){rr(I),c=""+I,m.call(this,I)}}),Object.defineProperty(e,t,{enumerable:s.enumerable});var S={getValue:function(){return c},setValue:function(I){rr(I),c=""+I},stopTracking:function(){ci(e),delete e[t]}};return S}}function fi(e){sd(e)||(e._valueTracker=Cs(e))}function El(e){if(!e)return!1;var t=sd(e);if(!t)return!0;var s=t.getValue(),c=bs(e);return c!==s?(t.setValue(c),!0):!1}function xs(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 Es=!1,mu=!1,Sl=!1,jc=!1;function Vi(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,v=Lt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??s._wrapperState.initialChecked});return v}function Y(e,t){Ao("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!mu&&(p("%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",ca()||"A component",t.type),mu=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Es&&(p("%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",ca()||"A component",t.type),Es=!0);var s=e,c=t.defaultValue==null?"":t.defaultValue;s._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:oo(t.value!=null?t.value:c),controlled:Vi(t)}}function ce(e,t){var s=e,c=t.checked;c!=null&&Ga(s,"checked",c,!1)}function ge(e,t){var s=e;{var c=Vi(t);!s._wrapperState.controlled&&c&&!jc&&(p("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"),jc=!0),s._wrapperState.controlled&&!c&&!Sl&&(p("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"),Sl=!0)}ce(e,t);var v=oo(t.value),m=t.type;if(v!=null)m==="number"?(v===0&&s.value===""||s.value!=v)&&(s.value=Rr(v)):s.value!==Rr(v)&&(s.value=Rr(v));else if(m==="submit"||m==="reset"){s.removeAttribute("value");return}t.hasOwnProperty("value")?ht(s,t.type,v):t.hasOwnProperty("defaultValue")&&ht(s,t.type,oo(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 v=t.type,m=v==="submit"||v==="reset";if(m&&(t.value===void 0||t.value===null))return;var S=Rr(c._wrapperState.initialValue);s||S!==c.value&&(c.value=S),c.defaultValue=S}var I=c.name;I!==""&&(c.name=""),c.defaultChecked=!c.defaultChecked,c.defaultChecked=!!c._wrapperState.initialChecked,I!==""&&(c.name=I)}function gt(e,t){var s=e;ge(s,t),We(s,t)}function We(e,t){var s=t.name;if(t.type==="radio"&&s!=null){for(var c=e;c.parentNode;)c=c.parentNode;Hn(s,"name");for(var v=c.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),m=0;m<v.length;m++){var S=v[m];if(!(S===e||S.form!==e.form)){var I=wb(S);if(!I)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");El(S),ge(S,I)}}}}function ht(e,t,s){(t!=="number"||xs(e.ownerDocument)!==e)&&(s==null?e.defaultValue=Rr(e._wrapperState.initialValue):e.defaultValue!==Rr(s)&&(e.defaultValue=Rr(s)))}var Ft=!1,Kt=!1,In=!1;function Cn(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?n.Children.forEach(t.children,function(s){s!=null&&(typeof s=="string"||typeof s=="number"||Kt||(Kt=!0,p("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(In||(In=!0,p("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Ft&&(p("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Ft=!0)}function An(e,t){t.value!=null&&e.setAttribute("value",Rr(oo(t.value)))}var kn=Array.isArray;function Ut(e){return kn(e)}var No;No=!1;function wl(){var e=ca();return e?`
|
|
111
|
-
|
|
112
|
-
Check the render method of \``+e+"`.":""}var kc=["value","defaultValue"];function Sv(e){{Ao("select",e);for(var t=0;t<kc.length;t++){var s=kc[t];if(e[s]!=null){var c=Ut(e[s]);e.multiple&&!c?p("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,wl()):!e.multiple&&c&&p("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,wl())}}}}function Bi(e,t,s,c){var v=e.options;if(t){for(var m=s,S={},I=0;I<m.length;I++)S["$"+m[I]]=!0;for(var _=0;_<v.length;_++){var V=S.hasOwnProperty("$"+v[_].value);v[_].selected!==V&&(v[_].selected=V),V&&c&&(v[_].defaultSelected=!0)}}else{for(var H=Rr(oo(s)),ee=null,Q=0;Q<v.length;Q++){if(v[Q].value===H){v[Q].selected=!0,c&&(v[Q].defaultSelected=!0);return}ee===null&&!v[Q].disabled&&(ee=v[Q])}ee!==null&&(ee.selected=!0)}}function Mc(e,t){return Lt({},t,{value:void 0})}function Pc(e,t){var s=e;Sv(t),s._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!No&&(p("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"),No=!0)}function wv(e,t){var s=e;s.multiple=!!t.multiple;var c=t.value;c!=null?Bi(s,!!t.multiple,c,!1):t.defaultValue!=null&&Bi(s,!!t.multiple,t.defaultValue,!0)}function lE(e,t){var s=e,c=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!t.multiple;var v=t.value;v!=null?Bi(s,!!t.multiple,v,!1):c!==!!t.multiple&&(t.defaultValue!=null?Bi(s,!!t.multiple,t.defaultValue,!0):Bi(s,!!t.multiple,t.multiple?[]:"",!1))}function cE(e,t){var s=e,c=t.value;c!=null&&Bi(s,!!t.multiple,c,!1)}var Rv=!1;function Tv(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:Rr(s._wrapperState.initialValue)});return c}function Kg(e,t){var s=e;Ao("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Rv&&(p("%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",ca()||"A component"),Rv=!0);var c=t.value;if(c==null){var v=t.children,m=t.defaultValue;if(v!=null){p("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(m!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Ut(v)){if(v.length>1)throw new Error("<textarea> can only have at most one child.");v=v[0]}m=v}}m==null&&(m=""),c=m}s._wrapperState={initialValue:oo(c)}}function ey(e,t){var s=e,c=oo(t.value),v=oo(t.defaultValue);if(c!=null){var m=Rr(c);m!==s.value&&(s.value=m),t.defaultValue==null&&s.defaultValue!==m&&(s.defaultValue=m)}v!=null&&(s.defaultValue=Rr(v))}function ty(e,t){var s=e,c=s.textContent;c===s._wrapperState.initialValue&&c!==""&&c!==null&&(s.value=c)}function Iv(e,t){ey(e,t)}var Oo="http://www.w3.org/1999/xhtml",fE="http://www.w3.org/1998/Math/MathML",Av="http://www.w3.org/2000/svg";function ud(e){switch(e){case"svg":return Av;case"math":return fE;default:return Oo}}function Nv(e,t){return e==null||e===Oo?ud(t):e===Av&&t==="foreignObject"?Oo:e}var dE=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,s,c,v){MSApp.execUnsafeLocalFunction(function(){return e(t,s,c,v)})}:e},ld,ny=dE(function(e,t){if(e.namespaceURI===Av&&!("innerHTML"in e)){ld=ld||document.createElement("div"),ld.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var s=ld.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;s.firstChild;)e.appendChild(s.firstChild);return}e.innerHTML=t}),Ta=1,_o=3,pr=8,zi=9,gu=11,cd=function(e,t){if(t){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===_o){s.nodeValue=t;return}}e.textContent=t},ry={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"]},Rl={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 ay(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var iy=["Webkit","ms","Moz","O"];Object.keys(Rl).forEach(function(e){iy.forEach(function(t){Rl[ay(t,e)]=Rl[e]})});function fd(e,t,s){var c=t==null||typeof t=="boolean"||t==="";return c?"":!s&&typeof t=="number"&&t!==0&&!(Rl.hasOwnProperty(e)&&Rl[e])?t+"px":(Pn(t,e),(""+t).trim())}var Tl=/([A-Z])/g,pE=/^ms-/;function vE(e){return e.replace(Tl,"-$1").toLowerCase().replace(pE,"-ms-")}var oy=function(){};{var sy=/^(?:webkit|moz|o)[A-Z]/,uy=/^-ms-/,Lc=/-(.)/g,Il=/;\s*$/,Al={},Nl={},ly=!1,Ov=!1,_v=function(e){return e.replace(Lc,function(t,s){return s.toUpperCase()})},Dv=function(e){Al.hasOwnProperty(e)&&Al[e]||(Al[e]=!0,p("Unsupported style property %s. Did you mean %s?",e,_v(e.replace(uy,"ms-"))))},cy=function(e){Al.hasOwnProperty(e)&&Al[e]||(Al[e]=!0,p("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},fy=function(e,t){Nl.hasOwnProperty(t)&&Nl[t]||(Nl[t]=!0,p(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Il,"")))},dy=function(e,t){ly||(ly=!0,p("`NaN` is an invalid value for the `%s` css style property.",e))},hE=function(e,t){Ov||(Ov=!0,p("`Infinity` is an invalid value for the `%s` css style property.",e))};oy=function(e,t){e.indexOf("-")>-1?Dv(e):sy.test(e)?cy(e):Il.test(t)&&fy(e,t),typeof t=="number"&&(isNaN(t)?dy(e,t):isFinite(t)||hE(e,t))}}var mE=oy;function gE(e){{var t="",s="";for(var c in e)if(e.hasOwnProperty(c)){var v=e[c];if(v!=null){var m=c.indexOf("--")===0;t+=s+(m?c:vE(c))+":",t+=fd(c,v,m),s=";"}}return t||null}}function py(e,t){var s=e.style;for(var c in t)if(t.hasOwnProperty(c)){var v=c.indexOf("--")===0;v||mE(c,t[c]);var m=fd(c,t[c],v);c==="float"&&(c="cssFloat"),v?s.setProperty(c,m):s[c]=m}}function yE(e){return e==null||typeof e=="boolean"||e===""}function di(e){var t={};for(var s in e)for(var c=ry[s]||[s],v=0;v<c.length;v++)t[c[v]]=s;return t}function Fc(e,t){{if(!t)return;var s=di(e),c=di(t),v={};for(var m in s){var S=s[m],I=c[m];if(I&&S!==I){var _=S+","+I;if(v[_])continue;v[_]=!0,p("%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.",yE(e[S])?"Removing":"Updating",S,I)}}}}var vy={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},hy=Lt({menuitem:!0},vy),my="__html";function dd(e,t){if(t){if(hy[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"||!(my 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&&p("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 Do(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 pd={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"},gy={"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},Hi={},jv=new RegExp("^(aria)-["+st+"]*$"),Vc=new RegExp("^(aria)[A-Z]["+st+"]*$");function kv(e,t){{if(Bt.call(Hi,t)&&Hi[t])return!0;if(Vc.test(t)){var s="aria-"+t.slice(4).toLowerCase(),c=gy.hasOwnProperty(s)?s:null;if(c==null)return p("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Hi[t]=!0,!0;if(t!==c)return p("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,c),Hi[t]=!0,!0}if(jv.test(t)){var v=t.toLowerCase(),m=gy.hasOwnProperty(v)?v:null;if(m==null)return Hi[t]=!0,!1;if(t!==m)return p("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,m),Hi[t]=!0,!0}}return!0}function yy(e,t){{var s=[];for(var c in t){var v=kv(e,c);v||s.push(c)}var m=s.map(function(S){return"`"+S+"`"}).join(", ");s.length===1?p("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",m,e):s.length>1&&p("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",m,e)}}function vd(e,t){Do(e,t)||yy(e,t)}var yu=!1;function Mv(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!yu&&(yu=!0,e==="select"&&t.multiple?p("`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):p("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Pv=function(){};{var Tr={},Lv=/^on./,by=/^on[^A-Z]/,Cy=new RegExp("^(aria)-["+st+"]*$"),xy=new RegExp("^(aria)[A-Z]["+st+"]*$");Pv=function(e,t,s,c){if(Bt.call(Tr,t)&&Tr[t])return!0;var v=t.toLowerCase();if(v==="onfocusin"||v==="onfocusout")return p("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."),Tr[t]=!0,!0;if(c!=null){var m=c.registrationNameDependencies,S=c.possibleRegistrationNames;if(m.hasOwnProperty(t))return!0;var I=S.hasOwnProperty(v)?S[v]:null;if(I!=null)return p("Invalid event handler property `%s`. Did you mean `%s`?",t,I),Tr[t]=!0,!0;if(Lv.test(t))return p("Unknown event handler property `%s`. It will be ignored.",t),Tr[t]=!0,!0}else if(Lv.test(t))return by.test(t)&&p("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Tr[t]=!0,!0;if(Cy.test(t)||xy.test(t))return!0;if(v==="innerhtml")return p("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Tr[t]=!0,!0;if(v==="aria")return p("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Tr[t]=!0,!0;if(v==="is"&&s!==null&&s!==void 0&&typeof s!="string")return p("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),Tr[t]=!0,!0;if(typeof s=="number"&&isNaN(s))return p("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Tr[t]=!0,!0;var _=oa(t),V=_!==null&&_.type===fr;if(pd.hasOwnProperty(v)){var H=pd[v];if(H!==t)return p("Invalid DOM property `%s`. Did you mean `%s`?",t,H),Tr[t]=!0,!0}else if(!V&&t!==v)return p("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,v),Tr[t]=!0,!0;return typeof s=="boolean"&&Yr(t,s,_,!1)?(s?p('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):p('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),Tr[t]=!0,!0):V?!0:Yr(t,s,_,!1)?(Tr[t]=!0,!1):((s==="false"||s==="true")&&_!==null&&_.type===en&&(p("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),Tr[t]=!0),!0)}}var Ey=function(e,t,s){{var c=[];for(var v in t){var m=Pv(e,v,t[v],s);m||c.push(v)}var S=c.map(function(I){return"`"+I+"`"}).join(", ");c.length===1?p("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 ",S,e):c.length>1&&p("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 ",S,e)}};function Sy(e,t,s){Do(e,t)||Ey(e,t,s)}var jo=1,Bc=2,bu=4,bE=jo|Bc|bu,zc=null;function Hc(e){zc!==null&&p("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),zc=e}function CE(){zc===null&&p("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),zc=null}function wy(e){return e===zc}function hd(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===_o?t.parentNode:t}var Nn=null,Ss=null,ko=null;function Ol(e){var t=nc(e);if(t){if(typeof Nn!="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=wb(s);Nn(t.stateNode,t.type,c)}}}function Ry(e){Nn=e}function md(e){Ss?ko?ko.push(e):ko=[e]:Ss=e}function Uc(){return Ss!==null||ko!==null}function Gc(){if(Ss){var e=Ss,t=ko;if(Ss=null,ko=null,Ol(e),t)for(var s=0;s<t.length;s++)Ol(t[s])}}var Cu=function(e,t){return e(t)},Fv=function(){},Vv=!1;function xE(){var e=Uc();e&&(Fv(),Gc())}function Bv(e,t,s){if(Vv)return e(t,s);Vv=!0;try{return Cu(e,t,s)}finally{Vv=!1,xE()}}function gd(e,t,s){Cu=e,Fv=s}function yd(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function zv(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&&yd(t));default:return!1}}function xu(e,t){var s=e.stateNode;if(s===null)return null;var c=wb(s);if(c===null)return null;var v=c[t];if(zv(t,e.type,c))return null;if(v&&typeof v!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof v+"` type.");return v}var $c=!1;if(dt)try{var Eu={};Object.defineProperty(Eu,"passive",{get:function(){$c=!0}}),window.addEventListener("test",Eu,Eu),window.removeEventListener("test",Eu,Eu)}catch{$c=!1}function Ty(e,t,s,c,v,m,S,I,_){var V=Array.prototype.slice.call(arguments,3);try{t.apply(s,V)}catch(H){this.onError(H)}}var Hv=Ty;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Uv=document.createElement("react");Hv=function(t,s,c,v,m,S,I,_,V){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 H=document.createEvent("Event"),ee=!1,Q=!0,le=window.event,fe=Object.getOwnPropertyDescriptor(window,"event");function be(){Uv.removeEventListener(Ce,vt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=le)}var qe=Array.prototype.slice.call(arguments,3);function vt(){ee=!0,be(),s.apply(c,qe),Q=!1}var ot,Yt=!1,Ht=!1;function re(ae){if(ot=ae.error,Yt=!0,ot===null&&ae.colno===0&&ae.lineno===0&&(Ht=!0),ae.defaultPrevented&&ot!=null&&typeof ot=="object")try{ot._suppressLogging=!0}catch{}}var Ce="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",re),Uv.addEventListener(Ce,vt,!1),H.initEvent(Ce,!1,!1),Uv.dispatchEvent(H),fe&&Object.defineProperty(window,"event",fe),ee&&Q&&(Yt?Ht&&(ot=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.")):ot=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(ot)),window.removeEventListener("error",re),!ee)return be(),Ty.apply(this,arguments)}}var EE=Hv,ws=!1,Ui=null,Wc=!1,Rs=null,so={onError:function(e){ws=!0,Ui=e}};function Su(e,t,s,c,v,m,S,I,_){ws=!1,Ui=null,EE.apply(so,arguments)}function Mo(e,t,s,c,v,m,S,I,_){if(Su.apply(this,arguments),ws){var V=$v();Wc||(Wc=!0,Rs=V)}}function Gv(){if(Wc){var e=Rs;throw Wc=!1,Rs=null,e}}function SE(){return ws}function $v(){if(ws){var e=Ui;return ws=!1,Ui=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 pi(e){return e._reactInternals}function Xc(e){return e._reactInternals!==void 0}function _l(e,t){e._reactInternals=t}var ct=0,Ts=1,Ln=2,jt=4,un=16,pn=32,uo=64,wt=128,er=256,Ia=512,hi=1024,Un=2048,mi=4096,Is=8192,Yc=16384,bd=Un|jt|uo|Ia|hi|Yc,Iy=32767,Wa=32768,Ir=65536,Zc=131072,Wv=1048576,Xv=2097152,Aa=4194304,As=8388608,Na=16777216,wu=33554432,Dl=jt|hi|0,Oa=Ln|jt|un|pn|Ia|mi|Is,Zr=jt|uo|Ia|Is,gi=Un|un,kr=Aa|As|Xv,Po=i.ReactCurrentOwner;function Xa(e){var t=e,s=e;if(e.alternate)for(;t.return;)t=t.return;else{var c=t;do t=c,(t.flags&(Ln|mi))!==ct&&(s=t.return),c=t.return;while(c)}return t.tag===R?s:null}function Yv(e){if(e.tag===z){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 Cd(e){return e.tag===R?e.stateNode.containerInfo:null}function Zv(e){return Xa(e)===e}function Ya(e){{var t=Po.current;if(t!==null&&t.tag===b){var s=t,c=s.stateNode;c._warnedAboutRefsInRender||p("%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.",At(s)||"A component"),c._warnedAboutRefsInRender=!0}}var v=pi(e);return v?Xa(v)===v:!1}function _a(e){if(Xa(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Fn(e){var t=e.alternate;if(!t){var s=Xa(e);if(s===null)throw new Error("Unable to find node on an unmounted component.");return s!==e?null:e}for(var c=e,v=t;;){var m=c.return;if(m===null)break;var S=m.alternate;if(S===null){var I=m.return;if(I!==null){c=v=I;continue}break}if(m.child===S.child){for(var _=m.child;_;){if(_===c)return _a(m),e;if(_===v)return _a(m),t;_=_.sibling}throw new Error("Unable to find node on an unmounted component.")}if(c.return!==v.return)c=m,v=S;else{for(var V=!1,H=m.child;H;){if(H===c){V=!0,c=m,v=S;break}if(H===v){V=!0,v=m,c=S;break}H=H.sibling}if(!V){for(H=S.child;H;){if(H===c){V=!0,c=S,v=m;break}if(H===v){V=!0,v=S,c=m;break}H=H.sibling}if(!V)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!==v)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!==R)throw new Error("Unable to find node on an unmounted component.");return c.stateNode.current===c?e:t}function yi(e){var t=Fn(e);return t!==null?Jv(t):null}function Jv(e){if(e.tag===A||e.tag===N)return e;for(var t=e.child;t!==null;){var s=Jv(t);if(s!==null)return s;t=t.sibling}return null}function Ay(e){var t=Fn(e);return t!==null?xd(t):null}function xd(e){if(e.tag===A||e.tag===N)return e;for(var t=e.child;t!==null;){if(t.tag!==T){var s=xd(t);if(s!==null)return s}t=t.sibling}return null}var Ed=r.unstable_scheduleCallback,Ny=r.unstable_cancelCallback,Sd=r.unstable_shouldYield,Oy=r.unstable_requestPaint,Yn=r.unstable_now,qv=r.unstable_getCurrentPriorityLevel,wd=r.unstable_ImmediatePriority,Za=r.unstable_UserBlockingPriority,lo=r.unstable_NormalPriority,Rd=r.unstable_LowPriority,Ns=r.unstable_IdlePriority,Qv=r.unstable_yieldValue,Kv=r.unstable_setDisableYieldValue,Os=null,Ar=null,Ge=null,or=!1,Mr=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function eh(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 p("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{De&&(e=Lt({},e,{getLaneLabelMap:Ds,injectProfilingHooks:Fo})),Os=t.inject(e),Ar=t}catch(s){p("React instrumentation encountered an error: %s.",s)}return!!t.checkDCE}function _y(e,t){if(Ar&&typeof Ar.onScheduleFiberRoot=="function")try{Ar.onScheduleFiberRoot(Os,e,t)}catch(s){or||(or=!0,p("React instrumentation encountered an error: %s",s))}}function Lo(e,t){if(Ar&&typeof Ar.onCommitFiberRoot=="function")try{var s=(e.current.flags&wt)===wt;if(ie){var c;switch(t){case Jr:c=wd;break;case Pr:c=Za;break;case Bo:c=lo;break;case af:c=Ns;break;default:c=lo;break}Ar.onCommitFiberRoot(Os,e,c,s)}}catch(v){or||(or=!0,p("React instrumentation encountered an error: %s",v))}}function _s(e){if(Ar&&typeof Ar.onPostCommitFiberRoot=="function")try{Ar.onPostCommitFiberRoot(Os,e)}catch(t){or||(or=!0,p("React instrumentation encountered an error: %s",t))}}function th(e){if(Ar&&typeof Ar.onCommitFiberUnmount=="function")try{Ar.onCommitFiberUnmount(Os,e)}catch(t){or||(or=!0,p("React instrumentation encountered an error: %s",t))}}function gr(e){if(typeof Qv=="function"&&(Kv(e),l(e)),Ar&&typeof Ar.setStrictMode=="function")try{Ar.setStrictMode(Os,e)}catch(t){or||(or=!0,p("React instrumentation encountered an error: %s",t))}}function Fo(e){Ge=e}function Ds(){{for(var e=new Map,t=1,s=0;s<Vn;s++){var c=wE(t);e.set(t,c),t*=2}return e}}function Td(e){Ge!==null&&typeof Ge.markCommitStarted=="function"&&Ge.markCommitStarted(e)}function nh(){Ge!==null&&typeof Ge.markCommitStopped=="function"&&Ge.markCommitStopped()}function js(e){Ge!==null&&typeof Ge.markComponentRenderStarted=="function"&&Ge.markComponentRenderStarted(e)}function Ru(){Ge!==null&&typeof Ge.markComponentRenderStopped=="function"&&Ge.markComponentRenderStopped()}function Dy(e){Ge!==null&&typeof Ge.markComponentPassiveEffectMountStarted=="function"&&Ge.markComponentPassiveEffectMountStarted(e)}function rh(){Ge!==null&&typeof Ge.markComponentPassiveEffectMountStopped=="function"&&Ge.markComponentPassiveEffectMountStopped()}function Id(e){Ge!==null&&typeof Ge.markComponentPassiveEffectUnmountStarted=="function"&&Ge.markComponentPassiveEffectUnmountStarted(e)}function jy(){Ge!==null&&typeof Ge.markComponentPassiveEffectUnmountStopped=="function"&&Ge.markComponentPassiveEffectUnmountStopped()}function ky(e){Ge!==null&&typeof Ge.markComponentLayoutEffectMountStarted=="function"&&Ge.markComponentLayoutEffectMountStarted(e)}function My(){Ge!==null&&typeof Ge.markComponentLayoutEffectMountStopped=="function"&&Ge.markComponentLayoutEffectMountStopped()}function Ad(e){Ge!==null&&typeof Ge.markComponentLayoutEffectUnmountStarted=="function"&&Ge.markComponentLayoutEffectUnmountStarted(e)}function jl(){Ge!==null&&typeof Ge.markComponentLayoutEffectUnmountStopped=="function"&&Ge.markComponentLayoutEffectUnmountStopped()}function Nd(e,t,s){Ge!==null&&typeof Ge.markComponentErrored=="function"&&Ge.markComponentErrored(e,t,s)}function Py(e,t,s){Ge!==null&&typeof Ge.markComponentSuspended=="function"&&Ge.markComponentSuspended(e,t,s)}function Ly(e){Ge!==null&&typeof Ge.markLayoutEffectsStarted=="function"&&Ge.markLayoutEffectsStarted(e)}function kl(){Ge!==null&&typeof Ge.markLayoutEffectsStopped=="function"&&Ge.markLayoutEffectsStopped()}function Fy(e){Ge!==null&&typeof Ge.markPassiveEffectsStarted=="function"&&Ge.markPassiveEffectsStarted(e)}function Jc(){Ge!==null&&typeof Ge.markPassiveEffectsStopped=="function"&&Ge.markPassiveEffectsStopped()}function Gi(e){Ge!==null&&typeof Ge.markRenderStarted=="function"&&Ge.markRenderStarted(e)}function qc(){Ge!==null&&typeof Ge.markRenderYielded=="function"&&Ge.markRenderYielded()}function Ml(){Ge!==null&&typeof Ge.markRenderStopped=="function"&&Ge.markRenderStopped()}function Tu(e){Ge!==null&&typeof Ge.markRenderScheduled=="function"&&Ge.markRenderScheduled(e)}function ah(e,t){Ge!==null&&typeof Ge.markForceUpdateScheduled=="function"&&Ge.markForceUpdateScheduled(e,t)}function ks(e,t){Ge!==null&&typeof Ge.markStateUpdateScheduled=="function"&&Ge.markStateUpdateScheduled(e,t)}var mt=0,Vt=1,yt=2,Zn=8,bi=16,Od=Math.clz32?Math.clz32:Iu,_d=Math.log,ih=Math.LN2;function Iu(e){var t=e>>>0;return t===0?32:31-(_d(t)/ih|0)|0}var Vn=31,Se=0,Wt=0,Ct=1,co=2,Ja=4,Au=8,Bn=16,Nu=32,Ms=4194240,Ou=64,Ci=128,Da=256,_u=512,Qc=1024,Kc=2048,Dd=4096,jd=8192,kd=16384,Md=32768,Pd=65536,Ld=131072,Fd=262144,Vd=524288,Du=1048576,Bd=2097152,ju=130023424,Vo=4194304,zd=8388608,ef=16777216,Hd=33554432,Ud=67108864,oh=Vo,Pl=134217728,Gd=268435455,Ll=268435456,Ps=536870912,ja=1073741824;function wE(e){{if(e&Ct)return"Sync";if(e&co)return"InputContinuousHydration";if(e&Ja)return"InputContinuous";if(e&Au)return"DefaultHydration";if(e&Bn)return"Default";if(e&Nu)return"TransitionHydration";if(e&Ms)return"Transition";if(e&ju)return"Retry";if(e&Pl)return"SelectiveHydration";if(e&Ll)return"IdleHydration";if(e&Ps)return"Idle";if(e&ja)return"Offscreen"}}var On=-1,$d=Ou,Wd=Vo;function Fl(e){switch(vr(e)){case Ct:return Ct;case co:return co;case Ja:return Ja;case Au:return Au;case Bn:return Bn;case Nu:return Nu;case Ou:case Ci:case Da:case _u:case Qc:case Kc:case Dd:case jd:case kd:case Md:case Pd:case Ld:case Fd:case Vd:case Du:case Bd:return e&Ms;case Vo:case zd:case ef:case Hd:case Ud:return e&ju;case Pl:return Pl;case Ll:return Ll;case Ps:return Ps;case ja:return ja;default:return p("Should have found matching lanes. This is a bug in React."),e}}function tf(e,t){var s=e.pendingLanes;if(s===Se)return Se;var c=Se,v=e.suspendedLanes,m=e.pingedLanes,S=s&Gd;if(S!==Se){var I=S&~v;if(I!==Se)c=Fl(I);else{var _=S&m;_!==Se&&(c=Fl(_))}}else{var V=s&~v;V!==Se?c=Fl(V):m!==Se&&(c=Fl(m))}if(c===Se)return Se;if(t!==Se&&t!==c&&(t&v)===Se){var H=vr(c),ee=vr(t);if(H>=ee||H===Bn&&(ee&Ms)!==Se)return t}(c&Ja)!==Se&&(c|=s&Bn);var Q=e.entangledLanes;if(Q!==Se)for(var le=e.entanglements,fe=c&Q;fe>0;){var be=Ls(fe),qe=1<<be;c|=le[be],fe&=~qe}return c}function Vy(e,t){for(var s=e.eventTimes,c=On;t>0;){var v=Ls(t),m=1<<v,S=s[v];S>c&&(c=S),t&=~m}return c}function Xd(e,t){switch(e){case Ct:case co:case Ja:return t+250;case Au:case Bn:case Nu:case Ou:case Ci:case Da:case _u:case Qc:case Kc:case Dd:case jd:case kd:case Md:case Pd:case Ld:case Fd:case Vd:case Du:case Bd:return t+5e3;case Vo:case zd:case ef:case Hd:case Ud:return On;case Pl:case Ll:case Ps:case ja:return On;default:return p("Should have found matching lanes. This is a bug in React."),On}}function RE(e,t){for(var s=e.pendingLanes,c=e.suspendedLanes,v=e.pingedLanes,m=e.expirationTimes,S=s;S>0;){var I=Ls(S),_=1<<I,V=m[I];V===On?((_&c)===Se||(_&v)!==Se)&&(m[I]=Xd(_,t)):V<=t&&(e.expiredLanes|=_),S&=~_}}function TE(e){return Fl(e.pendingLanes)}function sh(e){var t=e.pendingLanes&~ja;return t!==Se?t:t&ja?ja:Se}function Vl(e){return(e&Ct)!==Se}function nf(e){return(e&Gd)!==Se}function Yd(e){return(e&ju)===e}function IE(e){var t=Ct|Ja|Bn;return(e&t)===Se}function By(e){return(e&Ms)===e}function rf(e,t){var s=co|Ja|Au|Bn;return(t&s)!==Se}function zy(e,t){return(t&e.expiredLanes)!==Se}function uh(e){return(e&Ms)!==Se}function lh(){var e=$d;return $d<<=1,($d&Ms)===Se&&($d=Ou),e}function AE(){var e=Wd;return Wd<<=1,(Wd&ju)===Se&&(Wd=Vo),e}function vr(e){return e&-e}function yr(e){return vr(e)}function Ls(e){return 31-Od(e)}function Zd(e){return Ls(e)}function ka(e,t){return(e&t)!==Se}function ku(e,t){return(e&t)===t}function kt(e,t){return e|t}function Bl(e,t){return e&~t}function ch(e,t){return e&t}function Hy(e){return e}function Uy(e,t){return e!==Wt&&e<t?e:t}function Jd(e){for(var t=[],s=0;s<Vn;s++)t.push(e);return t}function Mu(e,t,s){e.pendingLanes|=t,t!==Ps&&(e.suspendedLanes=Se,e.pingedLanes=Se);var c=e.eventTimes,v=Zd(t);c[v]=s}function fh(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var s=e.expirationTimes,c=t;c>0;){var v=Ls(c),m=1<<v;s[v]=On,c&=~m}}function dh(e,t,s){e.pingedLanes|=e.suspendedLanes&t}function ph(e,t){var s=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Se,e.pingedLanes=Se,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var c=e.entanglements,v=e.eventTimes,m=e.expirationTimes,S=s;S>0;){var I=Ls(S),_=1<<I;c[I]=Se,v[I]=On,m[I]=On,S&=~_}}function zl(e,t){for(var s=e.entangledLanes|=t,c=e.entanglements,v=s;v;){var m=Ls(v),S=1<<m;S&t|c[m]&t&&(c[m]|=t),v&=~S}}function NE(e,t){var s=vr(t),c;switch(s){case Ja:c=co;break;case Bn:c=Au;break;case Ou:case Ci:case Da:case _u:case Qc:case Kc:case Dd:case jd:case kd:case Md:case Pd:case Ld:case Fd:case Vd:case Du:case Bd:case Vo:case zd:case ef:case Hd:case Ud:c=Nu;break;case Ps:c=Ll;break;default:c=Wt;break}return(c&(e.suspendedLanes|t))!==Wt?Wt:c}function vh(e,t,s){if(Mr)for(var c=e.pendingUpdatersLaneMap;s>0;){var v=Zd(s),m=1<<v,S=c[v];S.add(t),s&=~m}}function qd(e,t){if(Mr)for(var s=e.pendingUpdatersLaneMap,c=e.memoizedUpdaters;t>0;){var v=Zd(t),m=1<<v,S=s[v];S.size>0&&(S.forEach(function(I){var _=I.alternate;(_===null||!c.has(_))&&c.add(I)}),S.clear()),t&=~m}}function hh(e,t){return null}var Jr=Ct,Pr=Ja,Bo=Bn,af=Ps,Pu=Wt;function xi(){return Pu}function br(e){Pu=e}function of(e,t){var s=Pu;try{return Pu=e,t()}finally{Pu=s}}function qr(e,t){return e!==0&&e<t?e:t}function OE(e,t){return e===0||e>t?e:t}function mh(e,t){return e!==0&&e<t}function sf(e){var t=vr(e);return mh(Jr,t)?mh(Pr,t)?nf(t)?Bo:af:Pr:Jr}function Cr(e){var t=e.current.memoizedState;return t.isDehydrated}var Gy;function et(e){Gy=e}function Hl(e){Gy(e)}var uf;function $y(e){uf=e}var Wy;function lf(e){Wy=e}var cf;function gh(e){cf=e}var yh;function Xy(e){yh=e}var Qd=!1,Ul=[],fo=null,Gn=null,Nr=null,Ei=new Map,Gl=new Map,zo=[],$i=["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 Yy(e){return $i.indexOf(e)>-1}function po(e,t,s,c,v){return{blockedOn:e,domEventName:t,eventSystemFlags:s,nativeEvent:v,targetContainers:[c]}}function Zy(e,t){switch(e){case"focusin":case"focusout":fo=null;break;case"dragenter":case"dragleave":Gn=null;break;case"mouseover":case"mouseout":Nr=null;break;case"pointerover":case"pointerout":{var s=t.pointerId;Ei.delete(s);break}case"gotpointercapture":case"lostpointercapture":{var c=t.pointerId;Gl.delete(c);break}}}function $l(e,t,s,c,v,m){if(e===null||e.nativeEvent!==m){var S=po(t,s,c,v,m);if(t!==null){var I=nc(t);I!==null&&uf(I)}return S}e.eventSystemFlags|=c;var _=e.targetContainers;return v!==null&&_.indexOf(v)===-1&&_.push(v),e}function Jy(e,t,s,c,v){switch(t){case"focusin":{var m=v;return fo=$l(fo,e,t,s,c,m),!0}case"dragenter":{var S=v;return Gn=$l(Gn,e,t,s,c,S),!0}case"mouseover":{var I=v;return Nr=$l(Nr,e,t,s,c,I),!0}case"pointerover":{var _=v,V=_.pointerId;return Ei.set(V,$l(Ei.get(V)||null,e,t,s,c,_)),!0}case"gotpointercapture":{var H=v,ee=H.pointerId;return Gl.set(ee,$l(Gl.get(ee)||null,e,t,s,c,H)),!0}}return!1}function bh(e){var t=bf(e.target);if(t!==null){var s=Xa(t);if(s!==null){var c=s.tag;if(c===z){var v=Yv(s);if(v!==null){e.blockedOn=v,yh(e.priority,function(){Wy(s)});return}}else if(c===R){var m=s.stateNode;if(Cr(m)){e.blockedOn=Cd(s);return}}}}e.blockedOn=null}function qy(e){for(var t=cf(),s={blockedOn:null,target:e,priority:t},c=0;c<zo.length&&mh(t,zo[c].priority);c++);zo.splice(c,0,s),c===0&&bh(s)}function Kd(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var s=t[0],c=Lu(e.domEventName,e.eventSystemFlags,s,e.nativeEvent);if(c===null){var v=e.nativeEvent,m=new v.constructor(v.type,v);Hc(m),v.target.dispatchEvent(m),CE()}else{var S=nc(c);return S!==null&&uf(S),e.blockedOn=c,!1}t.shift()}return!0}function ff(e,t,s){Kd(e)&&s.delete(t)}function Ch(){Qd=!1,fo!==null&&Kd(fo)&&(fo=null),Gn!==null&&Kd(Gn)&&(Gn=null),Nr!==null&&Kd(Nr)&&(Nr=null),Ei.forEach(ff),Gl.forEach(ff)}function Qr(e,t){e.blockedOn===t&&(e.blockedOn=null,Qd||(Qd=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Ch)))}function zt(e){if(Ul.length>0){Qr(Ul[0],e);for(var t=1;t<Ul.length;t++){var s=Ul[t];s.blockedOn===e&&(s.blockedOn=null)}}fo!==null&&Qr(fo,e),Gn!==null&&Qr(Gn,e),Nr!==null&&Qr(Nr,e);var c=function(I){return Qr(I,e)};Ei.forEach(c),Gl.forEach(c);for(var v=0;v<zo.length;v++){var m=zo[v];m.blockedOn===e&&(m.blockedOn=null)}for(;zo.length>0;){var S=zo[0];if(S.blockedOn!==null)break;bh(S),S.blockedOn===null&&zo.shift()}}var Jn=i.ReactCurrentBatchConfig,tr=!0;function Or(e){tr=!!e}function qa(){return tr}function Wl(e,t,s){var c=fa(t),v;switch(c){case Jr:v=xr;break;case Pr:v=df;break;case Bo:default:v=Ho;break}return v.bind(null,t,s,e)}function xr(e,t,s,c){var v=xi(),m=Jn.transition;Jn.transition=null;try{br(Jr),Ho(e,t,s,c)}finally{br(v),Jn.transition=m}}function df(e,t,s,c){var v=xi(),m=Jn.transition;Jn.transition=null;try{br(Pr),Ho(e,t,s,c)}finally{br(v),Jn.transition=m}}function Ho(e,t,s,c){tr&&ep(e,t,s,c)}function ep(e,t,s,c){var v=Lu(e,t,s,c);if(v===null){JE(e,t,c,Xl,s),Zy(e,c);return}if(Jy(v,e,t,s,c)){c.stopPropagation();return}if(Zy(e,c),t&bu&&Yy(e)){for(;v!==null;){var m=nc(v);m!==null&&Hl(m);var S=Lu(e,t,s,c);if(S===null&&JE(e,t,c,Xl,s),S===v)break;v=S}v!==null&&c.stopPropagation();return}JE(e,t,c,null,s)}var Xl=null;function Lu(e,t,s,c){Xl=null;var v=hd(c),m=bf(v);if(m!==null){var S=Xa(m);if(S===null)m=null;else{var I=S.tag;if(I===z){var _=Yv(S);if(_!==null)return _;m=null}else if(I===R){var V=S.stateNode;if(Cr(V))return Cd(S);m=null}else S!==m&&(m=null)}}return Xl=m,null}function fa(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 Jr;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 Pr;case"message":{var t=qv();switch(t){case wd:return Jr;case Za:return Pr;case lo:case Rd:return Bo;case Ns:return af;default:return Bo}}default:return Bo}}function xh(e,t,s){return e.addEventListener(t,s,!1),s}function Yl(e,t,s){return e.addEventListener(t,s,!0),s}function Uo(e,t,s,c){return e.addEventListener(t,s,{capture:!0,passive:c}),s}function tp(e,t,s,c){return e.addEventListener(t,s,{passive:c}),s}var Fu=null,vo=null,Fs=null;function Vs(e){return Fu=e,vo=rp(),!0}function np(){Fu=null,vo=null,Fs=null}function Zl(){if(Fs)return Fs;var e,t=vo,s=t.length,c,v=rp(),m=v.length;for(e=0;e<s&&t[e]===v[e];e++);var S=s-e;for(c=1;c<=S&&t[s-c]===v[m-c];c++);var I=c>1?1-c:void 0;return Fs=v.slice(e,I),Fs}function rp(){return"value"in Fu?Fu.value:Fu.textContent}function Vu(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 Bu(){return!0}function Kr(){return!1}function hr(e){function t(s,c,v,m,S){this._reactName=s,this._targetInst=v,this.type=c,this.nativeEvent=m,this.target=S,this.currentTarget=null;for(var I in e)if(e.hasOwnProperty(I)){var _=e[I];_?this[I]=_(m):this[I]=m[I]}var V=m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1;return V?this.isDefaultPrevented=Bu:this.isDefaultPrevented=Kr,this.isPropagationStopped=Kr,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=Bu)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Bu)},persist:function(){},isPersistent:Bu}),t}var ea={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ta=hr(ea),Jl=Lt({},ea,{view:0,detail:0}),Eh=hr(Jl),pf,Sh,Si;function Qy(e){e!==Si&&(Si&&e.type==="mousemove"?(pf=e.screenX-Si.screenX,Sh=e.screenY-Si.screenY):(pf=0,Sh=0),Si=e)}var ql=Lt({},Jl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:op,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:(Qy(e),pf)},movementY:function(e){return"movementY"in e?e.movementY:Sh}}),Bs=hr(ql),wh=Lt({},ql,{dataTransfer:0}),zu=hr(wh),Ky=Lt({},Jl,{relatedTarget:0}),ap=hr(Ky),Rh=Lt({},ea,{animationName:0,elapsedTime:0,pseudoElement:0}),ip=hr(Rh),_E=Lt({},ea,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),DE=hr(_E),eb=Lt({},ea,{data:0}),Th=hr(eb),Hu=Th,jE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ql={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 tb(e){if(e.key){var t=jE[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var s=Vu(e);return s===13?"Enter":String.fromCharCode(s)}return e.type==="keydown"||e.type==="keyup"?Ql[e.keyCode]||"Unidentified":""}var nr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kE(e){var t=this,s=t.nativeEvent;if(s.getModifierState)return s.getModifierState(e);var c=nr[e];return c?!!s[c]:!1}function op(e){return kE}var ME=Lt({},Jl,{key:tb,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:op,charCode:function(e){return e.type==="keypress"?Vu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Vu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),PE=hr(ME),nb=Lt({},ql,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ih=hr(nb),LE=Lt({},Jl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:op}),wi=hr(LE),Ah=Lt({},ea,{propertyName:0,elapsedTime:0,pseudoElement:0}),FE=hr(Ah),zs=Lt({},ql,{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}),sp=hr(zs),Uu=[9,13,27,32],vf=229,hf=dt&&"CompositionEvent"in window,Gu=null;dt&&"documentMode"in document&&(Gu=document.documentMode);var VE=dt&&"TextEvent"in window&&!Gu,up=dt&&(!hf||Gu&&Gu>8&&Gu<=11),rb=32,Nh=String.fromCharCode(rb);function ab(){It("onBeforeInput",["compositionend","keypress","textInput","paste"]),It("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),It("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),It("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var mf=!1;function lp(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function ib(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Oh(e,t){return e==="keydown"&&t.keyCode===vf}function ob(e,t){switch(e){case"keyup":return Uu.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==vf;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _h(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function cp(e){return e.locale==="ko"}var Go=!1;function Dh(e,t,s,c,v){var m,S;if(hf?m=ib(t):Go?ob(t,c)&&(m="onCompositionEnd"):Oh(t,c)&&(m="onCompositionStart"),!m)return null;up&&!cp(c)&&(!Go&&m==="onCompositionStart"?Go=Vs(v):m==="onCompositionEnd"&&Go&&(S=Zl()));var I=fb(s,m);if(I.length>0){var _=new Th(m,t,null,c,v);if(e.push({event:_,listeners:I}),S)_.data=S;else{var V=_h(c);V!==null&&(_.data=V)}}}function fp(e,t){switch(e){case"compositionend":return _h(t);case"keypress":var s=t.which;return s!==rb?null:(mf=!0,Nh);case"textInput":var c=t.data;return c===Nh&&mf?null:c;default:return null}}function sb(e,t){if(Go){if(e==="compositionend"||!hf&&ob(e,t)){var s=Zl();return np(),Go=!1,s}return null}switch(e){case"paste":return null;case"keypress":if(!lp(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return up&&!cp(t)?null:t.data;default:return null}}function BE(e,t,s,c,v){var m;if(VE?m=fp(t,c):m=sb(t,c),!m)return null;var S=fb(s,"onBeforeInput");if(S.length>0){var I=new Hu("onBeforeInput","beforeinput",null,c,v);e.push({event:I,listeners:S}),I.data=m}}function dp(e,t,s,c,v,m,S){Dh(e,t,s,c,v),BE(e,t,s,c,v)}var zE={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 Kl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!zE[e.type]:t==="textarea"}/**
|
|
113
|
-
* Checks if an event is supported in the current execution environment.
|
|
114
|
-
*
|
|
115
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
116
|
-
* `reset`, `load`, `error`, and `select`.
|
|
117
|
-
*
|
|
118
|
-
* Borrows from Modernizr.
|
|
119
|
-
*
|
|
120
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
121
|
-
* @return {boolean} True if the event is supported.
|
|
122
|
-
* @internal
|
|
123
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
124
|
-
*/function HE(e){if(!dt)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 pp(){It("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function a(e,t,s,c){md(c);var v=fb(t,"onChange");if(v.length>0){var m=new ta("onChange","change",null,s,c);e.push({event:m,listeners:v})}}var o=null,f=null;function h(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function x(e){var t=[];a(t,f,e,hd(e)),Bv(w,t)}function w(e){d_(e,0)}function k(e){var t=bp(e);if(El(t))return e}function W(e,t){if(e==="change")return t}var J=!1;dt&&(J=HE("input")&&(!document.documentMode||document.documentMode>9));function de(e,t){o=e,f=t,o.attachEvent("onpropertychange",Le)}function Me(){o&&(o.detachEvent("onpropertychange",Le),o=null,f=null)}function Le(e){e.propertyName==="value"&&k(f)&&x(e)}function ke(e,t,s){e==="focusin"?(Me(),de(t,s)):e==="focusout"&&Me()}function Ye(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return k(f)}function tt(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function at(e,t){if(e==="click")return k(t)}function sr(e,t){if(e==="input"||e==="change")return k(t)}function ne(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||ht(e,"number",e.value)}function K(e,t,s,c,v,m,S){var I=s?bp(s):window,_,V;if(h(I)?_=W:Kl(I)?J?_=sr:(_=Ye,V=ke):tt(I)&&(_=at),_){var H=_(t,s);if(H){a(e,H,c,v);return}}V&&V(t,I,s),t==="focusout"&&ne(I)}function oe(){Ne("onMouseEnter",["mouseout","mouseover"]),Ne("onMouseLeave",["mouseout","mouseover"]),Ne("onPointerEnter",["pointerout","pointerover"]),Ne("onPointerLeave",["pointerout","pointerover"])}function ze(e,t,s,c,v,m,S){var I=t==="mouseover"||t==="pointerover",_=t==="mouseout"||t==="pointerout";if(I&&!wy(c)){var V=c.relatedTarget||c.fromElement;if(V&&(bf(V)||Wh(V)))return}if(!(!_&&!I)){var H;if(v.window===v)H=v;else{var ee=v.ownerDocument;ee?H=ee.defaultView||ee.parentWindow:H=window}var Q,le;if(_){var fe=c.relatedTarget||c.toElement;if(Q=s,le=fe?bf(fe):null,le!==null){var be=Xa(le);(le!==be||le.tag!==A&&le.tag!==N)&&(le=null)}}else Q=null,le=s;if(Q!==le){var qe=Bs,vt="onMouseLeave",ot="onMouseEnter",Yt="mouse";(t==="pointerout"||t==="pointerover")&&(qe=Ih,vt="onPointerLeave",ot="onPointerEnter",Yt="pointer");var Ht=Q==null?H:bp(Q),re=le==null?H:bp(le),Ce=new qe(vt,Yt+"leave",Q,c,v);Ce.target=Ht,Ce.relatedTarget=re;var ae=null,Fe=bf(v);if(Fe===s){var Qe=new qe(ot,Yt+"enter",le,c,v);Qe.target=re,Qe.relatedTarget=Ht,ae=Qe}QU(e,Ce,ae,Q,le)}}}function it(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var nt=typeof Object.is=="function"?Object.is:it;function ut(e,t){if(nt(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 v=0;v<s.length;v++){var m=s[v];if(!Bt.call(t,m)||!nt(e[m],t[m]))return!1}return!0}function Rt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function _r(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function tn(e,t){for(var s=Rt(e),c=0,v=0;s;){if(s.nodeType===_o){if(v=c+s.textContent.length,c<=t&&v>=t)return{node:s,offset:t-c};c=v}s=Rt(_r(s))}}function Hs(e){var t=e.ownerDocument,s=t&&t.defaultView||window,c=s.getSelection&&s.getSelection();if(!c||c.rangeCount===0)return null;var v=c.anchorNode,m=c.anchorOffset,S=c.focusNode,I=c.focusOffset;try{v.nodeType,S.nodeType}catch{return null}return UE(e,v,m,S,I)}function UE(e,t,s,c,v){var m=0,S=-1,I=-1,_=0,V=0,H=e,ee=null;e:for(;;){for(var Q=null;H===t&&(s===0||H.nodeType===_o)&&(S=m+s),H===c&&(v===0||H.nodeType===_o)&&(I=m+v),H.nodeType===_o&&(m+=H.nodeValue.length),(Q=H.firstChild)!==null;)ee=H,H=Q;for(;;){if(H===e)break e;if(ee===t&&++_===s&&(S=m),ee===c&&++V===v&&(I=m),(Q=H.nextSibling)!==null)break;H=ee,ee=H.parentNode}H=Q}return S===-1||I===-1?null:{start:S,end:I}}function jU(e,t){var s=e.ownerDocument||document,c=s&&s.defaultView||window;if(c.getSelection){var v=c.getSelection(),m=e.textContent.length,S=Math.min(t.start,m),I=t.end===void 0?S:Math.min(t.end,m);if(!v.extend&&S>I){var _=I;I=S,S=_}var V=tn(e,S),H=tn(e,I);if(V&&H){if(v.rangeCount===1&&v.anchorNode===V.node&&v.anchorOffset===V.offset&&v.focusNode===H.node&&v.focusOffset===H.offset)return;var ee=s.createRange();ee.setStart(V.node,V.offset),v.removeAllRanges(),S>I?(v.addRange(ee),v.extend(H.node,H.offset)):(ee.setEnd(H.node,H.offset),v.addRange(ee))}}}function e_(e){return e&&e.nodeType===_o}function t_(e,t){return!e||!t?!1:e===t?!0:e_(e)?!1:e_(t)?t_(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function kU(e){return e&&e.ownerDocument&&t_(e.ownerDocument.documentElement,e)}function MU(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function n_(){for(var e=window,t=xs();t instanceof e.HTMLIFrameElement;){if(MU(t))e=t.contentWindow;else return t;t=xs(e.document)}return t}function GE(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 PU(){var e=n_();return{focusedElem:e,selectionRange:GE(e)?FU(e):null}}function LU(e){var t=n_(),s=e.focusedElem,c=e.selectionRange;if(t!==s&&kU(s)){c!==null&&GE(s)&&VU(s,c);for(var v=[],m=s;m=m.parentNode;)m.nodeType===Ta&&v.push({element:m,left:m.scrollLeft,top:m.scrollTop});typeof s.focus=="function"&&s.focus();for(var S=0;S<v.length;S++){var I=v[S];I.element.scrollLeft=I.left,I.element.scrollTop=I.top}}}function FU(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Hs(e),t||{start:0,end:0}}function VU(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)):jU(e,t)}var BU=dt&&"documentMode"in document&&document.documentMode<=11;function zU(){It("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var vp=null,$E=null,jh=null,WE=!1;function HU(e){if("selectionStart"in e&&GE(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 UU(e){return e.window===e?e.document:e.nodeType===zi?e:e.ownerDocument}function r_(e,t,s){var c=UU(s);if(!(WE||vp==null||vp!==xs(c))){var v=HU(vp);if(!jh||!ut(jh,v)){jh=v;var m=fb($E,"onSelect");if(m.length>0){var S=new ta("onSelect","select",null,t,s);e.push({event:S,listeners:m}),S.target=vp}}}}function GU(e,t,s,c,v,m,S){var I=s?bp(s):window;switch(t){case"focusin":(Kl(I)||I.contentEditable==="true")&&(vp=I,$E=s,jh=null);break;case"focusout":vp=null,$E=null,jh=null;break;case"mousedown":WE=!0;break;case"contextmenu":case"mouseup":case"dragend":WE=!1,r_(e,c,v);break;case"selectionchange":if(BU)break;case"keydown":case"keyup":r_(e,c,v)}}function ub(e,t){var s={};return s[e.toLowerCase()]=t.toLowerCase(),s["Webkit"+e]="webkit"+t,s["Moz"+e]="moz"+t,s}var hp={animationend:ub("Animation","AnimationEnd"),animationiteration:ub("Animation","AnimationIteration"),animationstart:ub("Animation","AnimationStart"),transitionend:ub("Transition","TransitionEnd")},XE={},a_={};dt&&(a_=document.createElement("div").style,"AnimationEvent"in window||(delete hp.animationend.animation,delete hp.animationiteration.animation,delete hp.animationstart.animation),"TransitionEvent"in window||delete hp.transitionend.transition);function lb(e){if(XE[e])return XE[e];if(!hp[e])return e;var t=hp[e];for(var s in t)if(t.hasOwnProperty(s)&&s in a_)return XE[e]=t[s];return e}var i_=lb("animationend"),o_=lb("animationiteration"),s_=lb("animationstart"),u_=lb("transitionend"),l_=new Map,c_=["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 ec(e,t){l_.set(e,t),It(t,[e])}function $U(){for(var e=0;e<c_.length;e++){var t=c_[e],s=t.toLowerCase(),c=t[0].toUpperCase()+t.slice(1);ec(s,"on"+c)}ec(i_,"onAnimationEnd"),ec(o_,"onAnimationIteration"),ec(s_,"onAnimationStart"),ec("dblclick","onDoubleClick"),ec("focusin","onFocus"),ec("focusout","onBlur"),ec(u_,"onTransitionEnd")}function WU(e,t,s,c,v,m,S){var I=l_.get(t);if(I!==void 0){var _=ta,V=t;switch(t){case"keypress":if(Vu(c)===0)return;case"keydown":case"keyup":_=PE;break;case"focusin":V="focus",_=ap;break;case"focusout":V="blur",_=ap;break;case"beforeblur":case"afterblur":_=ap;break;case"click":if(c.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":_=Bs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":_=zu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":_=wi;break;case i_:case o_:case s_:_=ip;break;case u_:_=FE;break;case"scroll":_=Eh;break;case"wheel":_=sp;break;case"copy":case"cut":case"paste":_=DE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":_=Ih;break}var H=(m&bu)!==0;{var ee=!H&&t==="scroll",Q=JU(s,I,c.type,H,ee);if(Q.length>0){var le=new _(I,V,null,c,v);e.push({event:le,listeners:Q})}}}}$U(),oe(),pp(),zU(),ab();function XU(e,t,s,c,v,m,S){WU(e,t,s,c,v,m);var I=(m&bE)===0;I&&(ze(e,t,s,c,v),K(e,t,s,c,v),GU(e,t,s,c,v),dp(e,t,s,c,v))}var kh=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],YE=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(kh));function f_(e,t,s){var c=e.type||"unknown-event";e.currentTarget=s,Mo(c,t,void 0,e),e.currentTarget=null}function YU(e,t,s){var c;if(s)for(var v=t.length-1;v>=0;v--){var m=t[v],S=m.instance,I=m.currentTarget,_=m.listener;if(S!==c&&e.isPropagationStopped())return;f_(e,_,I),c=S}else for(var V=0;V<t.length;V++){var H=t[V],ee=H.instance,Q=H.currentTarget,le=H.listener;if(ee!==c&&e.isPropagationStopped())return;f_(e,le,Q),c=ee}}function d_(e,t){for(var s=(t&bu)!==0,c=0;c<e.length;c++){var v=e[c],m=v.event,S=v.listeners;YU(m,S,s)}Gv()}function ZU(e,t,s,c,v){var m=hd(s),S=[];XU(S,e,c,s,m,t),d_(S,t)}function qn(e,t){YE.has(e)||p('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var s=!1,c=R$(t),v=KU(e,s);c.has(v)||(p_(t,e,Bc,s),c.add(v))}function ZE(e,t,s){YE.has(e)&&!t&&p('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|=bu),p_(s,e,c,t)}var cb="_reactListening"+Math.random().toString(36).slice(2);function Mh(e){if(!e[cb]){e[cb]=!0,Te.forEach(function(s){s!=="selectionchange"&&(YE.has(s)||ZE(s,!1,e),ZE(s,!0,e))});var t=e.nodeType===zi?e:e.ownerDocument;t!==null&&(t[cb]||(t[cb]=!0,ZE("selectionchange",!1,t)))}}function p_(e,t,s,c,v){var m=Wl(e,t,s),S=void 0;$c&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(S=!0),e=e,c?S!==void 0?Uo(e,t,m,S):Yl(e,t,m):S!==void 0?tp(e,t,m,S):xh(e,t,m)}function v_(e,t){return e===t||e.nodeType===pr&&e.parentNode===t}function JE(e,t,s,c,v){var m=c;if(!(t&jo)&&!(t&Bc)){var S=v;if(c!==null){var I=c;e:for(;;){if(I===null)return;var _=I.tag;if(_===R||_===T){var V=I.stateNode.containerInfo;if(v_(V,S))break;if(_===T)for(var H=I.return;H!==null;){var ee=H.tag;if(ee===R||ee===T){var Q=H.stateNode.containerInfo;if(v_(Q,S))return}H=H.return}for(;V!==null;){var le=bf(V);if(le===null)return;var fe=le.tag;if(fe===A||fe===N){I=m=le;continue e}V=V.parentNode}}I=I.return}}}Bv(function(){return ZU(e,t,s,m)})}function Ph(e,t,s){return{instance:e,listener:t,currentTarget:s}}function JU(e,t,s,c,v,m){for(var S=t!==null?t+"Capture":null,I=c?S:t,_=[],V=e,H=null;V!==null;){var ee=V,Q=ee.stateNode,le=ee.tag;if(le===A&&Q!==null&&(H=Q,I!==null)){var fe=xu(V,I);fe!=null&&_.push(Ph(V,fe,H))}if(v)break;V=V.return}return _}function fb(e,t){for(var s=t+"Capture",c=[],v=e;v!==null;){var m=v,S=m.stateNode,I=m.tag;if(I===A&&S!==null){var _=S,V=xu(v,s);V!=null&&c.unshift(Ph(v,V,_));var H=xu(v,t);H!=null&&c.push(Ph(v,H,_))}v=v.return}return c}function mp(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==A);return e||null}function qU(e,t){for(var s=e,c=t,v=0,m=s;m;m=mp(m))v++;for(var S=0,I=c;I;I=mp(I))S++;for(;v-S>0;)s=mp(s),v--;for(;S-v>0;)c=mp(c),S--;for(var _=v;_--;){if(s===c||c!==null&&s===c.alternate)return s;s=mp(s),c=mp(c)}return null}function h_(e,t,s,c,v){for(var m=t._reactName,S=[],I=s;I!==null&&I!==c;){var _=I,V=_.alternate,H=_.stateNode,ee=_.tag;if(V!==null&&V===c)break;if(ee===A&&H!==null){var Q=H;if(v){var le=xu(I,m);le!=null&&S.unshift(Ph(I,le,Q))}else if(!v){var fe=xu(I,m);fe!=null&&S.push(Ph(I,fe,Q))}}I=I.return}S.length!==0&&e.push({event:t,listeners:S})}function QU(e,t,s,c,v){var m=c&&v?qU(c,v):null;c!==null&&h_(e,t,c,m,!1),v!==null&&s!==null&&h_(e,s,v,m,!0)}function KU(e,t){return e+"__"+(t?"capture":"bubble")}var Ri=!1,Lh="dangerouslySetInnerHTML",db="suppressContentEditableWarning",tc="suppressHydrationWarning",m_="autoFocus",gf="children",yf="style",pb="__html",qE,vb,Fh,g_,hb,y_,b_;qE={dialog:!0,webview:!0},vb=function(e,t){vd(e,t),Mv(e,t),Sy(e,t,{registrationNameDependencies:Ve,possibleRegistrationNames:Ke})},y_=dt&&!document.documentMode,Fh=function(e,t,s){if(!Ri){var c=mb(s),v=mb(t);v!==c&&(Ri=!0,p("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(v),JSON.stringify(c)))}},g_=function(e){if(!Ri){Ri=!0;var t=[];e.forEach(function(s){t.push(s)}),p("Extra attributes from the server: %s",t)}},hb=function(e,t){t===!1?p("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):p("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},b_=function(e,t){var s=e.namespaceURI===Oo?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return s.innerHTML=t,s.innerHTML};var eG=/\r\n?/g,tG=/\u0000|\uFFFD/g;function mb(e){$n(e);var t=typeof e=="string"?e:""+e;return t.replace(eG,`
|
|
125
|
-
`).replace(tG,"")}function gb(e,t,s,c){var v=mb(t),m=mb(e);if(m!==v&&(c&&(Ri||(Ri=!0,p('Text content did not match. Server: "%s" Client: "%s"',m,v))),s&&Ie))throw new Error("Text content does not match server-rendered HTML.")}function C_(e){return e.nodeType===zi?e:e.ownerDocument}function nG(){}function yb(e){e.onclick=nG}function rG(e,t,s,c,v){for(var m in c)if(c.hasOwnProperty(m)){var S=c[m];if(m===yf)S&&Object.freeze(S),py(t,S);else if(m===Lh){var I=S?S[pb]:void 0;I!=null&&ny(t,I)}else if(m===gf)if(typeof S=="string"){var _=e!=="textarea"||S!=="";_&&cd(t,S)}else typeof S=="number"&&cd(t,""+S);else m===db||m===tc||m===m_||(Ve.hasOwnProperty(m)?S!=null&&(typeof S!="function"&&hb(m,S),m==="onScroll"&&qn("scroll",t)):S!=null&&Ga(t,m,S,v))}}function aG(e,t,s,c){for(var v=0;v<t.length;v+=2){var m=t[v],S=t[v+1];m===yf?py(e,S):m===Lh?ny(e,S):m===gf?cd(e,S):Ga(e,m,S,c)}}function iG(e,t,s,c){var v,m=C_(s),S,I=c;if(I===Oo&&(I=ud(e)),I===Oo){if(v=Do(e,t),!v&&e!==e.toLowerCase()&&p("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var _=m.createElement("div");_.innerHTML="<script><\/script>";var V=_.firstChild;S=_.removeChild(V)}else if(typeof t.is=="string")S=m.createElement(e,{is:t.is});else if(S=m.createElement(e),e==="select"){var H=S;t.multiple?H.multiple=!0:t.size&&(H.size=t.size)}}else S=m.createElementNS(I,e);return I===Oo&&!v&&Object.prototype.toString.call(S)==="[object HTMLUnknownElement]"&&!Bt.call(qE,e)&&(qE[e]=!0,p("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),S}function oG(e,t){return C_(t).createTextNode(e)}function sG(e,t,s,c){var v=Do(t,s);vb(t,s);var m;switch(t){case"dialog":qn("cancel",e),qn("close",e),m=s;break;case"iframe":case"object":case"embed":qn("load",e),m=s;break;case"video":case"audio":for(var S=0;S<kh.length;S++)qn(kh[S],e);m=s;break;case"source":qn("error",e),m=s;break;case"img":case"image":case"link":qn("error",e),qn("load",e),m=s;break;case"details":qn("toggle",e),m=s;break;case"input":Y(e,s),m=D(e,s),qn("invalid",e);break;case"option":Cn(e,s),m=s;break;case"select":Pc(e,s),m=Mc(e,s),qn("invalid",e);break;case"textarea":Kg(e,s),m=Tv(e,s),qn("invalid",e);break;default:m=s}switch(dd(t,m),rG(t,e,c,m,v),t){case"input":fi(e),Be(e,s,!1);break;case"textarea":fi(e),ty(e);break;case"option":An(e,s);break;case"select":wv(e,s);break;default:typeof m.onClick=="function"&&yb(e);break}}function uG(e,t,s,c,v){vb(t,c);var m=null,S,I;switch(t){case"input":S=D(e,s),I=D(e,c),m=[];break;case"select":S=Mc(e,s),I=Mc(e,c),m=[];break;case"textarea":S=Tv(e,s),I=Tv(e,c),m=[];break;default:S=s,I=c,typeof S.onClick!="function"&&typeof I.onClick=="function"&&yb(e);break}dd(t,I);var _,V,H=null;for(_ in S)if(!(I.hasOwnProperty(_)||!S.hasOwnProperty(_)||S[_]==null))if(_===yf){var ee=S[_];for(V in ee)ee.hasOwnProperty(V)&&(H||(H={}),H[V]="")}else _===Lh||_===gf||_===db||_===tc||_===m_||(Ve.hasOwnProperty(_)?m||(m=[]):(m=m||[]).push(_,null));for(_ in I){var Q=I[_],le=S!=null?S[_]:void 0;if(!(!I.hasOwnProperty(_)||Q===le||Q==null&&le==null))if(_===yf)if(Q&&Object.freeze(Q),le){for(V in le)le.hasOwnProperty(V)&&(!Q||!Q.hasOwnProperty(V))&&(H||(H={}),H[V]="");for(V in Q)Q.hasOwnProperty(V)&&le[V]!==Q[V]&&(H||(H={}),H[V]=Q[V])}else H||(m||(m=[]),m.push(_,H)),H=Q;else if(_===Lh){var fe=Q?Q[pb]:void 0,be=le?le[pb]:void 0;fe!=null&&be!==fe&&(m=m||[]).push(_,fe)}else _===gf?(typeof Q=="string"||typeof Q=="number")&&(m=m||[]).push(_,""+Q):_===db||_===tc||(Ve.hasOwnProperty(_)?(Q!=null&&(typeof Q!="function"&&hb(_,Q),_==="onScroll"&&qn("scroll",e)),!m&&le!==Q&&(m=[])):(m=m||[]).push(_,Q))}return H&&(Fc(H,I[yf]),(m=m||[]).push(yf,H)),m}function lG(e,t,s,c,v){s==="input"&&v.type==="radio"&&v.name!=null&&ce(e,v);var m=Do(s,c),S=Do(s,v);switch(aG(e,t,m,S),s){case"input":ge(e,v);break;case"textarea":ey(e,v);break;case"select":lE(e,v);break}}function cG(e){{var t=e.toLowerCase();return pd.hasOwnProperty(t)&&pd[t]||null}}function fG(e,t,s,c,v,m,S){var I,_;switch(I=Do(t,s),vb(t,s),t){case"dialog":qn("cancel",e),qn("close",e);break;case"iframe":case"object":case"embed":qn("load",e);break;case"video":case"audio":for(var V=0;V<kh.length;V++)qn(kh[V],e);break;case"source":qn("error",e);break;case"img":case"image":case"link":qn("error",e),qn("load",e);break;case"details":qn("toggle",e);break;case"input":Y(e,s),qn("invalid",e);break;case"option":Cn(e,s);break;case"select":Pc(e,s),qn("invalid",e);break;case"textarea":Kg(e,s),qn("invalid",e);break}dd(t,s);{_=new Set;for(var H=e.attributes,ee=0;ee<H.length;ee++){var Q=H[ee].name.toLowerCase();switch(Q){case"value":break;case"checked":break;case"selected":break;default:_.add(H[ee].name)}}}var le=null;for(var fe in s)if(s.hasOwnProperty(fe)){var be=s[fe];if(fe===gf)typeof be=="string"?e.textContent!==be&&(s[tc]!==!0&&gb(e.textContent,be,m,S),le=[gf,be]):typeof be=="number"&&e.textContent!==""+be&&(s[tc]!==!0&&gb(e.textContent,be,m,S),le=[gf,""+be]);else if(Ve.hasOwnProperty(fe))be!=null&&(typeof be!="function"&&hb(fe,be),fe==="onScroll"&&qn("scroll",e));else if(S&&typeof I=="boolean"){var qe=void 0,vt=I&&xe?null:oa(fe);if(s[tc]!==!0){if(!(fe===db||fe===tc||fe==="value"||fe==="checked"||fe==="selected")){if(fe===Lh){var ot=e.innerHTML,Yt=be?be[pb]:void 0;if(Yt!=null){var Ht=b_(e,Yt);Ht!==ot&&Fh(fe,ot,Ht)}}else if(fe===yf){if(_.delete(fe),y_){var re=gE(be);qe=e.getAttribute("style"),re!==qe&&Fh(fe,qe,re)}}else if(I&&!xe)_.delete(fe.toLowerCase()),qe=eo(e,fe,be),be!==qe&&Fh(fe,qe,be);else if(!Wn(fe,vt,I)&&!bn(fe,be,vt,I)){var Ce=!1;if(vt!==null)_.delete(vt.attributeName),qe=Ua(e,fe,be,vt);else{var ae=c;if(ae===Oo&&(ae=ud(t)),ae===Oo)_.delete(fe.toLowerCase());else{var Fe=cG(fe);Fe!==null&&Fe!==fe&&(Ce=!0,_.delete(Fe)),_.delete(fe)}qe=eo(e,fe,be)}var Qe=xe;!Qe&&be!==qe&&!Ce&&Fh(fe,qe,be)}}}}}switch(S&&_.size>0&&s[tc]!==!0&&g_(_),t){case"input":fi(e),Be(e,s,!0);break;case"textarea":fi(e),ty(e);break;case"select":case"option":break;default:typeof s.onClick=="function"&&yb(e);break}return le}function dG(e,t,s){var c=e.nodeValue!==t;return c}function QE(e,t){{if(Ri)return;Ri=!0,p("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function KE(e,t){{if(Ri)return;Ri=!0,p('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function eS(e,t,s){{if(Ri)return;Ri=!0,p("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function tS(e,t){{if(t===""||Ri)return;Ri=!0,p('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function pG(e,t,s){switch(t){case"input":gt(e,s);return;case"textarea":Iv(e,s);return;case"select":cE(e,s);return}}var Vh=function(){},Bh=function(){};{var vG=["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"],x_=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],hG=x_.concat(["button"]),mG=["dd","dt","li","option","optgroup","p","rp","rt"],E_={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Bh=function(e,t){var s=Lt({},e||E_),c={tag:t};return x_.indexOf(t)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),hG.indexOf(t)!==-1&&(s.pTagInButtonScope=null),vG.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 gG=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 mG.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},yG=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},S_={};Vh=function(e,t,s){s=s||E_;var c=s.current,v=c&&c.tag;t!=null&&(e!=null&&p("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var m=gG(e,v)?null:c,S=m?null:yG(e,s),I=m||S;if(I){var _=I.tag,V=!!m+"|"+e+"|"+_;if(!S_[V]){S_[V]=!0;var H=e,ee="";if(e==="#text"?/\S/.test(t)?H="Text nodes":(H="Whitespace text nodes",ee=" Make sure you don't have any extra whitespace between tags on each line of your source code."):H="<"+e+">",m){var Q="";_==="table"&&e==="tr"&&(Q+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),p("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",H,_,ee,Q)}else p("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",H,_)}}}}var bb="suppressHydrationWarning",Cb="$",xb="/$",zh="$?",Hh="$!",bG="style",nS=null,rS=null;function CG(e){var t,s,c=e.nodeType;switch(c){case zi:case gu:{t=c===zi?"#document":"#fragment";var v=e.documentElement;s=v?v.namespaceURI:Nv(null,"");break}default:{var m=c===pr?e.parentNode:e,S=m.namespaceURI||null;t=m.tagName,s=Nv(S,t);break}}{var I=t.toLowerCase(),_=Bh(null,I);return{namespace:s,ancestorInfo:_}}}function xG(e,t,s){{var c=e,v=Nv(c.namespace,t),m=Bh(c.ancestorInfo,t);return{namespace:v,ancestorInfo:m}}}function DZ(e){return e}function EG(e){nS=qa(),rS=PU();var t=null;return Or(!1),t}function SG(e){LU(rS),Or(nS),nS=null,rS=null}function wG(e,t,s,c,v){var m;{var S=c;if(Vh(e,null,S.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var I=""+t.children,_=Bh(S.ancestorInfo,e);Vh(null,I,_)}m=S.namespace}var V=iG(e,t,s,m);return $h(v,V),fS(V,t),V}function RG(e,t){e.appendChild(t)}function TG(e,t,s,c,v){switch(sG(e,t,s,c),t){case"button":case"input":case"select":case"textarea":return!!s.autoFocus;case"img":return!0;default:return!1}}function IG(e,t,s,c,v,m){{var S=m;if(typeof c.children!=typeof s.children&&(typeof c.children=="string"||typeof c.children=="number")){var I=""+c.children,_=Bh(S.ancestorInfo,t);Vh(null,I,_)}}return uG(e,t,s,c)}function aS(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 AG(e,t,s,c){{var v=s;Vh(null,e,v.ancestorInfo)}var m=oG(e,t);return $h(c,m),m}function NG(){var e=window.event;return e===void 0?Bo:fa(e.type)}var iS=typeof setTimeout=="function"?setTimeout:void 0,OG=typeof clearTimeout=="function"?clearTimeout:void 0,oS=-1,w_=typeof Promise=="function"?Promise:void 0,_G=typeof queueMicrotask=="function"?queueMicrotask:typeof w_<"u"?function(e){return w_.resolve(null).then(e).catch(DG)}:iS;function DG(e){setTimeout(function(){throw e})}function jG(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 kG(e,t,s,c,v,m){lG(e,t,s,c,v),fS(e,v)}function R_(e){cd(e,"")}function MG(e,t,s){e.nodeValue=s}function PG(e,t){e.appendChild(t)}function LG(e,t){var s;e.nodeType===pr?(s=e.parentNode,s.insertBefore(t,e)):(s=e,s.appendChild(t));var c=e._reactRootContainer;c==null&&s.onclick===null&&yb(s)}function FG(e,t,s){e.insertBefore(t,s)}function VG(e,t,s){e.nodeType===pr?e.parentNode.insertBefore(t,s):e.insertBefore(t,s)}function BG(e,t){e.removeChild(t)}function zG(e,t){e.nodeType===pr?e.parentNode.removeChild(t):e.removeChild(t)}function sS(e,t){var s=t,c=0;do{var v=s.nextSibling;if(e.removeChild(s),v&&v.nodeType===pr){var m=v.data;if(m===xb)if(c===0){e.removeChild(v),zt(t);return}else c--;else(m===Cb||m===zh||m===Hh)&&c++}s=v}while(s);zt(t)}function HG(e,t){e.nodeType===pr?sS(e.parentNode,t):e.nodeType===Ta&&sS(e,t),zt(e)}function UG(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function GG(e){e.nodeValue=""}function $G(e,t){e=e;var s=t[bG],c=s!=null&&s.hasOwnProperty("display")?s.display:null;e.style.display=fd("display",c)}function WG(e,t){e.nodeValue=t}function XG(e){e.nodeType===Ta?e.textContent="":e.nodeType===zi&&e.documentElement&&e.removeChild(e.documentElement)}function YG(e,t,s){return e.nodeType!==Ta||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function ZG(e,t){return t===""||e.nodeType!==_o?null:e}function JG(e){return e.nodeType!==pr?null:e}function T_(e){return e.data===zh}function uS(e){return e.data===Hh}function qG(e){var t=e.nextSibling&&e.nextSibling.dataset,s,c,v;return t&&(s=t.dgst,c=t.msg,v=t.stck),{message:c,digest:s,stack:v}}function QG(e,t){e._reactRetry=t}function Eb(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Ta||t===_o)break;if(t===pr){var s=e.data;if(s===Cb||s===Hh||s===zh)break;if(s===xb)return null}}return e}function Uh(e){return Eb(e.nextSibling)}function KG(e){return Eb(e.firstChild)}function e$(e){return Eb(e.firstChild)}function t$(e){return Eb(e.nextSibling)}function n$(e,t,s,c,v,m,S){$h(m,e),fS(e,s);var I;{var _=v;I=_.namespace}var V=(m.mode&Vt)!==mt;return fG(e,t,s,I,c,V,S)}function r$(e,t,s,c){return $h(s,e),s.mode&Vt,dG(e,t)}function a$(e,t){$h(t,e)}function i$(e){for(var t=e.nextSibling,s=0;t;){if(t.nodeType===pr){var c=t.data;if(c===xb){if(s===0)return Uh(t);s--}else(c===Cb||c===Hh||c===zh)&&s++}t=t.nextSibling}return null}function I_(e){for(var t=e.previousSibling,s=0;t;){if(t.nodeType===pr){var c=t.data;if(c===Cb||c===Hh||c===zh){if(s===0)return t;s--}else c===xb&&s++}t=t.previousSibling}return null}function o$(e){zt(e)}function s$(e){zt(e)}function u$(e){return e!=="head"&&e!=="body"}function l$(e,t,s,c){var v=!0;gb(t.nodeValue,s,c,v)}function c$(e,t,s,c,v,m){if(t[bb]!==!0){var S=!0;gb(c.nodeValue,v,m,S)}}function f$(e,t){t.nodeType===Ta?QE(e,t):t.nodeType===pr||KE(e,t)}function d$(e,t){{var s=e.parentNode;s!==null&&(t.nodeType===Ta?QE(s,t):t.nodeType===pr||KE(s,t))}}function p$(e,t,s,c,v){(v||t[bb]!==!0)&&(c.nodeType===Ta?QE(s,c):c.nodeType===pr||KE(s,c))}function v$(e,t,s){eS(e,t)}function h$(e,t){tS(e,t)}function m$(e,t,s){{var c=e.parentNode;c!==null&&eS(c,t)}}function g$(e,t){{var s=e.parentNode;s!==null&&tS(s,t)}}function y$(e,t,s,c,v,m){(m||t[bb]!==!0)&&eS(s,c)}function b$(e,t,s,c,v){(v||t[bb]!==!0)&&tS(s,c)}function C$(e){p("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function x$(e){Mh(e)}var gp=Math.random().toString(36).slice(2),yp="__reactFiber$"+gp,lS="__reactProps$"+gp,Gh="__reactContainer$"+gp,cS="__reactEvents$"+gp,E$="__reactListeners$"+gp,S$="__reactHandles$"+gp;function w$(e){delete e[yp],delete e[lS],delete e[cS],delete e[E$],delete e[S$]}function $h(e,t){t[yp]=e}function Sb(e,t){t[Gh]=e}function A_(e){e[Gh]=null}function Wh(e){return!!e[Gh]}function bf(e){var t=e[yp];if(t)return t;for(var s=e.parentNode;s;){if(t=s[Gh]||s[yp],t){var c=t.alternate;if(t.child!==null||c!==null&&c.child!==null)for(var v=I_(e);v!==null;){var m=v[yp];if(m)return m;v=I_(v)}return t}e=s,s=e.parentNode}return null}function nc(e){var t=e[yp]||e[Gh];return t&&(t.tag===A||t.tag===N||t.tag===z||t.tag===R)?t:null}function bp(e){if(e.tag===A||e.tag===N)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function wb(e){return e[lS]||null}function fS(e,t){e[lS]=t}function R$(e){var t=e[cS];return t===void 0&&(t=e[cS]=new Set),t}var N_={},O_=i.ReactDebugCurrentFrame;function Rb(e){if(e){var t=e._owner,s=io(e.type,e._source,t?t.type:null);O_.setExtraStackFrame(s)}else O_.setExtraStackFrame(null)}function $o(e,t,s,c,v){{var m=Function.call.bind(Bt);for(var S in e)if(m(e,S)){var I=void 0;try{if(typeof e[S]!="function"){var _=Error((c||"React class")+": "+s+" type `"+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[S]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw _.name="Invariant Violation",_}I=e[S](t,S,c,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(V){I=V}I&&!(I instanceof Error)&&(Rb(v),p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",c||"React class",s,S,typeof I),Rb(null)),I instanceof Error&&!(I.message in N_)&&(N_[I.message]=!0,Rb(v),p("Failed %s type: %s",s,I.message),Rb(null))}}}var dS=[],Tb;Tb=[];var $u=-1;function rc(e){return{current:e}}function Ma(e,t){if($u<0){p("Unexpected pop.");return}t!==Tb[$u]&&p("Unexpected Fiber popped."),e.current=dS[$u],dS[$u]=null,Tb[$u]=null,$u--}function Pa(e,t,s){$u++,dS[$u]=e.current,Tb[$u]=s,e.current=t}var pS;pS={};var Wi={};Object.freeze(Wi);var Wu=rc(Wi),Us=rc(!1),vS=Wi;function Cp(e,t,s){return s&&Gs(t)?vS:Wu.current}function __(e,t,s){{var c=e.stateNode;c.__reactInternalMemoizedUnmaskedChildContext=t,c.__reactInternalMemoizedMaskedChildContext=s}}function xp(e,t){{var s=e.type,c=s.contextTypes;if(!c)return Wi;var v=e.stateNode;if(v&&v.__reactInternalMemoizedUnmaskedChildContext===t)return v.__reactInternalMemoizedMaskedChildContext;var m={};for(var S in c)m[S]=t[S];{var I=At(e)||"Unknown";$o(c,m,"context",I)}return v&&__(e,t,m),m}}function Ib(){return Us.current}function Gs(e){{var t=e.childContextTypes;return t!=null}}function Ab(e){Ma(Us,e),Ma(Wu,e)}function hS(e){Ma(Us,e),Ma(Wu,e)}function D_(e,t,s){{if(Wu.current!==Wi)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Pa(Wu,t,e),Pa(Us,s,e)}}function j_(e,t,s){{var c=e.stateNode,v=t.childContextTypes;if(typeof c.getChildContext!="function"){{var m=At(e)||"Unknown";pS[m]||(pS[m]=!0,p("%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.",m,m))}return s}var S=c.getChildContext();for(var I in S)if(!(I in v))throw new Error((At(e)||"Unknown")+'.getChildContext(): key "'+I+'" is not defined in childContextTypes.');{var _=At(e)||"Unknown";$o(v,S,"child context",_)}return Lt({},s,S)}}function Nb(e){{var t=e.stateNode,s=t&&t.__reactInternalMemoizedMergedChildContext||Wi;return vS=Wu.current,Pa(Wu,s,e),Pa(Us,Us.current,e),!0}}function k_(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 v=j_(e,t,vS);c.__reactInternalMemoizedMergedChildContext=v,Ma(Us,e),Ma(Wu,e),Pa(Wu,v,e),Pa(Us,s,e)}else Ma(Us,e),Pa(Us,s,e)}}function T$(e){{if(!Zv(e)||e.tag!==b)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 R:return t.stateNode.context;case b:{var s=t.type;if(Gs(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 ac=0,Ob=1,Xu=null,mS=!1,gS=!1;function M_(e){Xu===null?Xu=[e]:Xu.push(e)}function I$(e){mS=!0,M_(e)}function P_(){mS&&ic()}function ic(){if(!gS&&Xu!==null){gS=!0;var e=0,t=xi();try{var s=!0,c=Xu;for(br(Jr);e<c.length;e++){var v=c[e];do v=v(s);while(v!==null)}Xu=null,mS=!1}catch(m){throw Xu!==null&&(Xu=Xu.slice(e+1)),Ed(wd,ic),m}finally{br(t),gS=!1}}return null}var Ep=[],Sp=0,_b=null,Db=0,ho=[],mo=0,Cf=null,Yu=1,Zu="";function A$(e){return Ef(),(e.flags&Wv)!==ct}function N$(e){return Ef(),Db}function O$(){var e=Zu,t=Yu,s=t&~_$(t);return s.toString(32)+e}function xf(e,t){Ef(),Ep[Sp++]=Db,Ep[Sp++]=_b,_b=e,Db=t}function L_(e,t,s){Ef(),ho[mo++]=Yu,ho[mo++]=Zu,ho[mo++]=Cf,Cf=e;var c=Yu,v=Zu,m=jb(c)-1,S=c&~(1<<m),I=s+1,_=jb(t)+m;if(_>30){var V=m-m%5,H=(1<<V)-1,ee=(S&H).toString(32),Q=S>>V,le=m-V,fe=jb(t)+le,be=I<<le,qe=be|Q,vt=ee+v;Yu=1<<fe|qe,Zu=vt}else{var ot=I<<m,Yt=ot|S,Ht=v;Yu=1<<_|Yt,Zu=Ht}}function yS(e){Ef();var t=e.return;if(t!==null){var s=1,c=0;xf(e,s),L_(e,s,c)}}function jb(e){return 32-Od(e)}function _$(e){return 1<<jb(e)-1}function bS(e){for(;e===_b;)_b=Ep[--Sp],Ep[Sp]=null,Db=Ep[--Sp],Ep[Sp]=null;for(;e===Cf;)Cf=ho[--mo],ho[mo]=null,Zu=ho[--mo],ho[mo]=null,Yu=ho[--mo],ho[mo]=null}function D$(){return Ef(),Cf!==null?{id:Yu,overflow:Zu}:null}function j$(e,t){Ef(),ho[mo++]=Yu,ho[mo++]=Zu,ho[mo++]=Cf,Yu=t.id,Zu=t.overflow,Cf=e}function Ef(){pa()||p("Expected to be hydrating. This is a bug in React. Please file an issue.")}var da=null,go=null,Wo=!1,Sf=!1,oc=null;function k$(){Wo&&p("We should not be hydrating here. This is a bug in React. Please file a bug.")}function F_(){Sf=!0}function M$(){return Sf}function P$(e){var t=e.stateNode.containerInfo;return go=e$(t),da=e,Wo=!0,oc=null,Sf=!1,!0}function L$(e,t,s){return go=t$(t),da=e,Wo=!0,oc=null,Sf=!1,s!==null&&j$(e,s),!0}function V_(e,t){switch(e.tag){case R:{f$(e.stateNode.containerInfo,t);break}case A:{var s=(e.mode&Vt)!==mt;p$(e.type,e.memoizedProps,e.stateNode,t,s);break}case z:{var c=e.memoizedState;c.dehydrated!==null&&d$(c.dehydrated,t);break}}}function B_(e,t){V_(e,t);var s=BX();s.stateNode=t,s.return=e;var c=e.deletions;c===null?(e.deletions=[s],e.flags|=un):c.push(s)}function CS(e,t){{if(Sf)return;switch(e.tag){case R:{var s=e.stateNode.containerInfo;switch(t.tag){case A:var c=t.type;t.pendingProps,v$(s,c);break;case N:var v=t.pendingProps;h$(s,v);break}break}case A:{var m=e.type,S=e.memoizedProps,I=e.stateNode;switch(t.tag){case A:{var _=t.type,V=t.pendingProps,H=(e.mode&Vt)!==mt;y$(m,S,I,_,V,H);break}case N:{var ee=t.pendingProps,Q=(e.mode&Vt)!==mt;b$(m,S,I,ee,Q);break}}break}case z:{var le=e.memoizedState,fe=le.dehydrated;if(fe!==null)switch(t.tag){case A:var be=t.type;t.pendingProps,m$(fe,be);break;case N:var qe=t.pendingProps;g$(fe,qe);break}break}default:return}}}function z_(e,t){t.flags=t.flags&~mi|Ln,CS(e,t)}function H_(e,t){switch(e.tag){case A:{var s=e.type;e.pendingProps;var c=YG(t,s);return c!==null?(e.stateNode=c,da=e,go=KG(c),!0):!1}case N:{var v=e.pendingProps,m=ZG(t,v);return m!==null?(e.stateNode=m,da=e,go=null,!0):!1}case z:{var S=JG(t);if(S!==null){var I={dehydrated:S,treeContext:D$(),retryLane:ja};e.memoizedState=I;var _=zX(S);return _.return=e,e.child=_,da=e,go=null,!0}return!1}default:return!1}}function xS(e){return(e.mode&Vt)!==mt&&(e.flags&wt)===ct}function ES(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function SS(e){if(Wo){var t=go;if(!t){xS(e)&&(CS(da,e),ES()),z_(da,e),Wo=!1,da=e;return}var s=t;if(!H_(e,t)){xS(e)&&(CS(da,e),ES()),t=Uh(s);var c=da;if(!t||!H_(e,t)){z_(da,e),Wo=!1,da=e;return}B_(c,s)}}}function F$(e,t,s){var c=e.stateNode,v=!Sf,m=n$(c,e.type,e.memoizedProps,t,s,e,v);return e.updateQueue=m,m!==null}function V$(e){var t=e.stateNode,s=e.memoizedProps,c=r$(t,s,e);if(c){var v=da;if(v!==null)switch(v.tag){case R:{var m=v.stateNode.containerInfo,S=(v.mode&Vt)!==mt;l$(m,t,s,S);break}case A:{var I=v.type,_=v.memoizedProps,V=v.stateNode,H=(v.mode&Vt)!==mt;c$(I,_,V,t,s,H);break}}}return c}function B$(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.");a$(s,e)}function z$(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 i$(s)}function U_(e){for(var t=e.return;t!==null&&t.tag!==A&&t.tag!==R&&t.tag!==z;)t=t.return;da=t}function kb(e){if(e!==da)return!1;if(!Wo)return U_(e),Wo=!0,!1;if(e.tag!==R&&(e.tag!==A||u$(e.type)&&!aS(e.type,e.memoizedProps))){var t=go;if(t)if(xS(e))G_(e),ES();else for(;t;)B_(e,t),t=Uh(t)}return U_(e),e.tag===z?go=z$(e):go=da?Uh(e.stateNode):null,!0}function H$(){return Wo&&go!==null}function G_(e){for(var t=go;t;)V_(e,t),t=Uh(t)}function wp(){da=null,go=null,Wo=!1,Sf=!1}function $_(){oc!==null&&(Vj(oc),oc=null)}function pa(){return Wo}function wS(e){oc===null?oc=[e]:oc.push(e)}var U$=i.ReactCurrentBatchConfig,G$=null;function $$(){return U$.transition}var Xo={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var W$=function(e){for(var t=null,s=e;s!==null;)s.mode&Zn&&(t=s),s=s.return;return t},wf=function(e){var t=[];return e.forEach(function(s){t.push(s)}),t.sort().join(", ")},Xh=[],Yh=[],Zh=[],Jh=[],qh=[],Qh=[],Rf=new Set;Xo.recordUnsafeLifecycleWarnings=function(e,t){Rf.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Xh.push(e),e.mode&Zn&&typeof t.UNSAFE_componentWillMount=="function"&&Yh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Zh.push(e),e.mode&Zn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Jh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&qh.push(e),e.mode&Zn&&typeof t.UNSAFE_componentWillUpdate=="function"&&Qh.push(e))},Xo.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Xh.length>0&&(Xh.forEach(function(Q){e.add(At(Q)||"Component"),Rf.add(Q.type)}),Xh=[]);var t=new Set;Yh.length>0&&(Yh.forEach(function(Q){t.add(At(Q)||"Component"),Rf.add(Q.type)}),Yh=[]);var s=new Set;Zh.length>0&&(Zh.forEach(function(Q){s.add(At(Q)||"Component"),Rf.add(Q.type)}),Zh=[]);var c=new Set;Jh.length>0&&(Jh.forEach(function(Q){c.add(At(Q)||"Component"),Rf.add(Q.type)}),Jh=[]);var v=new Set;qh.length>0&&(qh.forEach(function(Q){v.add(At(Q)||"Component"),Rf.add(Q.type)}),qh=[]);var m=new Set;if(Qh.length>0&&(Qh.forEach(function(Q){m.add(At(Q)||"Component"),Rf.add(Q.type)}),Qh=[]),t.size>0){var S=wf(t);p(`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
|
-
|
|
127
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
128
|
-
|
|
129
|
-
Please update the following components: %s`,S)}if(c.size>0){var I=wf(c);p(`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
|
-
|
|
131
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
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
|
-
|
|
134
|
-
Please update the following components: %s`,I)}if(m.size>0){var _=wf(m);p(`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
|
-
|
|
136
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
137
|
-
|
|
138
|
-
Please update the following components: %s`,_)}if(e.size>0){var V=wf(e);d(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
139
|
-
|
|
140
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
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
|
-
|
|
143
|
-
Please update the following components: %s`,V)}if(s.size>0){var H=wf(s);d(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
144
|
-
|
|
145
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
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
|
-
* 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
|
-
|
|
149
|
-
Please update the following components: %s`,H)}if(v.size>0){var ee=wf(v);d(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
150
|
-
|
|
151
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
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
|
-
|
|
154
|
-
Please update the following components: %s`,ee)}};var Mb=new Map,W_=new Set;Xo.recordLegacyContextWarning=function(e,t){var s=W$(e);if(s===null){p("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(!W_.has(e.type)){var c=Mb.get(s);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(c===void 0&&(c=[],Mb.set(s,c)),c.push(e))}},Xo.flushLegacyContextWarning=function(){Mb.forEach(function(e,t){if(e.length!==0){var s=e[0],c=new Set;e.forEach(function(m){c.add(At(m)||"Component"),W_.add(m.type)});var v=wf(c);try{dn(s),p(`Legacy context API has been detected within a strict-mode tree.
|
|
155
|
-
|
|
156
|
-
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
157
|
-
|
|
158
|
-
Please update the following components: %s
|
|
159
|
-
|
|
160
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,v)}finally{Kn()}}})},Xo.discardPendingWarnings=function(){Xh=[],Yh=[],Zh=[],Jh=[],qh=[],Qh=[],Mb=new Map}}function Yo(e,t){if(e&&e.defaultProps){var s=Lt({},t),c=e.defaultProps;for(var v in c)s[v]===void 0&&(s[v]=c[v]);return s}return t}var RS=rc(null),TS;TS={};var Pb=null,Rp=null,IS=null,Lb=!1;function Fb(){Pb=null,Rp=null,IS=null,Lb=!1}function X_(){Lb=!0}function Y_(){Lb=!1}function Z_(e,t,s){Pa(RS,t._currentValue,e),t._currentValue=s,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==TS&&p("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=TS}function AS(e,t){var s=RS.current;Ma(RS,t),e._currentValue=s}function NS(e,t,s){for(var c=e;c!==null;){var v=c.alternate;if(ku(c.childLanes,t)?v!==null&&!ku(v.childLanes,t)&&(v.childLanes=kt(v.childLanes,t)):(c.childLanes=kt(c.childLanes,t),v!==null&&(v.childLanes=kt(v.childLanes,t))),c===s)break;c=c.return}c!==s&&p("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 X$(e,t,s){Y$(e,t,s)}function Y$(e,t,s){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var v=void 0,m=c.dependencies;if(m!==null){v=c.child;for(var S=m.firstContext;S!==null;){if(S.context===t){if(c.tag===b){var I=yr(s),_=Ju(On,I);_.tag=Bb;var V=c.updateQueue;if(V!==null){var H=V.shared,ee=H.pending;ee===null?_.next=_:(_.next=ee.next,ee.next=_),H.pending=_}}c.lanes=kt(c.lanes,s);var Q=c.alternate;Q!==null&&(Q.lanes=kt(Q.lanes,s)),NS(c.return,s,e),m.lanes=kt(m.lanes,s);break}S=S.next}}else if(c.tag===B)v=c.type===e.type?null:c.child;else if(c.tag===ue){var le=c.return;if(le===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");le.lanes=kt(le.lanes,s);var fe=le.alternate;fe!==null&&(fe.lanes=kt(fe.lanes,s)),NS(le,s,e),v=c.sibling}else v=c.child;if(v!==null)v.return=c;else for(v=c;v!==null;){if(v===e){v=null;break}var be=v.sibling;if(be!==null){be.return=v.return,v=be;break}v=v.return}c=v}}function Tp(e,t){Pb=e,Rp=null,IS=null;var s=e.dependencies;if(s!==null){var c=s.firstContext;c!==null&&(ka(s.lanes,t)&&dm(),s.firstContext=null)}}function Dr(e){Lb&&p("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(IS!==e){var s={context:e,memoizedValue:t,next:null};if(Rp===null){if(Pb===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().");Rp=s,Pb.dependencies={lanes:Se,firstContext:s}}else Rp=Rp.next=s}return t}var Tf=null;function OS(e){Tf===null?Tf=[e]:Tf.push(e)}function Z$(){if(Tf!==null){for(var e=0;e<Tf.length;e++){var t=Tf[e],s=t.interleaved;if(s!==null){t.interleaved=null;var c=s.next,v=t.pending;if(v!==null){var m=v.next;v.next=c,s.next=m}t.pending=s}}Tf=null}}function J_(e,t,s,c){var v=t.interleaved;return v===null?(s.next=s,OS(t)):(s.next=v.next,v.next=s),t.interleaved=s,Vb(e,c)}function J$(e,t,s,c){var v=t.interleaved;v===null?(s.next=s,OS(t)):(s.next=v.next,v.next=s),t.interleaved=s}function q$(e,t,s,c){var v=t.interleaved;return v===null?(s.next=s,OS(t)):(s.next=v.next,v.next=s),t.interleaved=s,Vb(e,c)}function Ti(e,t){return Vb(e,t)}var Q$=Vb;function Vb(e,t){e.lanes=kt(e.lanes,t);var s=e.alternate;s!==null&&(s.lanes=kt(s.lanes,t)),s===null&&(e.flags&(Ln|mi))!==ct&&qj(e);for(var c=e,v=e.return;v!==null;)v.childLanes=kt(v.childLanes,t),s=v.alternate,s!==null?s.childLanes=kt(s.childLanes,t):(v.flags&(Ln|mi))!==ct&&qj(e),c=v,v=v.return;if(c.tag===R){var m=c.stateNode;return m}else return null}var q_=0,Q_=1,Bb=2,_S=3,zb=!1,DS,Hb;DS=!1,Hb=null;function jS(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Se},effects:null};e.updateQueue=t}function K_(e,t){var s=t.updateQueue,c=e.updateQueue;if(s===c){var v={baseState:c.baseState,firstBaseUpdate:c.firstBaseUpdate,lastBaseUpdate:c.lastBaseUpdate,shared:c.shared,effects:c.effects};t.updateQueue=v}}function Ju(e,t){var s={eventTime:e,lane:t,tag:q_,payload:null,callback:null,next:null};return s}function sc(e,t,s){var c=e.updateQueue;if(c===null)return null;var v=c.shared;if(Hb===v&&!DS&&(p("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."),DS=!0),QW()){var m=v.pending;return m===null?t.next=t:(t.next=m.next,m.next=t),v.pending=t,Q$(e,s)}else return q$(e,v,t,s)}function Ub(e,t,s){var c=t.updateQueue;if(c!==null){var v=c.shared;if(uh(s)){var m=v.lanes;m=ch(m,e.pendingLanes);var S=kt(m,s);v.lanes=S,zl(e,S)}}}function kS(e,t){var s=e.updateQueue,c=e.alternate;if(c!==null){var v=c.updateQueue;if(s===v){var m=null,S=null,I=s.firstBaseUpdate;if(I!==null){var _=I;do{var V={eventTime:_.eventTime,lane:_.lane,tag:_.tag,payload:_.payload,callback:_.callback,next:null};S===null?m=S=V:(S.next=V,S=V),_=_.next}while(_!==null);S===null?m=S=t:(S.next=t,S=t)}else m=S=t;s={baseState:v.baseState,firstBaseUpdate:m,lastBaseUpdate:S,shared:v.shared,effects:v.effects},e.updateQueue=s;return}}var H=s.lastBaseUpdate;H===null?s.firstBaseUpdate=t:H.next=t,s.lastBaseUpdate=t}function K$(e,t,s,c,v,m){switch(s.tag){case Q_:{var S=s.payload;if(typeof S=="function"){X_();var I=S.call(m,c,v);{if(e.mode&Zn){gr(!0);try{S.call(m,c,v)}finally{gr(!1)}}Y_()}return I}return S}case _S:e.flags=e.flags&~Ir|wt;case q_:{var _=s.payload,V;if(typeof _=="function"){X_(),V=_.call(m,c,v);{if(e.mode&Zn){gr(!0);try{_.call(m,c,v)}finally{gr(!1)}}Y_()}}else V=_;return V==null?c:Lt({},c,V)}case Bb:return zb=!0,c}return c}function Gb(e,t,s,c){var v=e.updateQueue;zb=!1,Hb=v.shared;var m=v.firstBaseUpdate,S=v.lastBaseUpdate,I=v.shared.pending;if(I!==null){v.shared.pending=null;var _=I,V=_.next;_.next=null,S===null?m=V:S.next=V,S=_;var H=e.alternate;if(H!==null){var ee=H.updateQueue,Q=ee.lastBaseUpdate;Q!==S&&(Q===null?ee.firstBaseUpdate=V:Q.next=V,ee.lastBaseUpdate=_)}}if(m!==null){var le=v.baseState,fe=Se,be=null,qe=null,vt=null,ot=m;do{var Yt=ot.lane,Ht=ot.eventTime;if(ku(c,Yt)){if(vt!==null){var Ce={eventTime:Ht,lane:Wt,tag:ot.tag,payload:ot.payload,callback:ot.callback,next:null};vt=vt.next=Ce}le=K$(e,v,ot,le,t,s);var ae=ot.callback;if(ae!==null&&ot.lane!==Wt){e.flags|=uo;var Fe=v.effects;Fe===null?v.effects=[ot]:Fe.push(ot)}}else{var re={eventTime:Ht,lane:Yt,tag:ot.tag,payload:ot.payload,callback:ot.callback,next:null};vt===null?(qe=vt=re,be=le):vt=vt.next=re,fe=kt(fe,Yt)}if(ot=ot.next,ot===null){if(I=v.shared.pending,I===null)break;var Qe=I,Xe=Qe.next;Qe.next=null,ot=Xe,v.lastBaseUpdate=Qe,v.shared.pending=null}}while(!0);vt===null&&(be=le),v.baseState=be,v.firstBaseUpdate=qe,v.lastBaseUpdate=vt;var Et=v.shared.interleaved;if(Et!==null){var Ot=Et;do fe=kt(fe,Ot.lane),Ot=Ot.next;while(Ot!==Et)}else m===null&&(v.shared.lanes=Se);wm(fe),e.lanes=fe,e.memoizedState=le}Hb=null}function e5(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function eD(){zb=!1}function $b(){return zb}function tD(e,t,s){var c=t.effects;if(t.effects=null,c!==null)for(var v=0;v<c.length;v++){var m=c[v],S=m.callback;S!==null&&(m.callback=null,e5(S,s))}}var MS={},nD=new n.Component().refs,PS,LS,FS,VS,BS,rD,Wb,zS,HS,US;{PS=new Set,LS=new Set,FS=new Set,VS=new Set,zS=new Set,BS=new Set,HS=new Set,US=new Set;var aD=new Set;Wb=function(e,t){if(!(e===null||typeof e=="function")){var s=t+"_"+e;aD.has(s)||(aD.add(s),p("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},rD=function(e,t){if(t===void 0){var s=Qt(e)||"Component";BS.has(s)||(BS.add(s),p("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}},Object.defineProperty(MS,"_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(MS)}function GS(e,t,s,c){var v=e.memoizedState,m=s(c,v);{if(e.mode&Zn){gr(!0);try{m=s(c,v)}finally{gr(!1)}}rD(t,m)}var S=m==null?v:Lt({},v,m);if(e.memoizedState=S,e.lanes===Se){var I=e.updateQueue;I.baseState=S}}var $S={isMounted:Ya,enqueueSetState:function(e,t,s){var c=pi(e),v=ei(),m=hc(c),S=Ju(v,m);S.payload=t,s!=null&&(Wb(s,"setState"),S.callback=s);var I=sc(c,S,m);I!==null&&(Gr(I,c,m,v),Ub(I,c,m)),ks(c,m)},enqueueReplaceState:function(e,t,s){var c=pi(e),v=ei(),m=hc(c),S=Ju(v,m);S.tag=Q_,S.payload=t,s!=null&&(Wb(s,"replaceState"),S.callback=s);var I=sc(c,S,m);I!==null&&(Gr(I,c,m,v),Ub(I,c,m)),ks(c,m)},enqueueForceUpdate:function(e,t){var s=pi(e),c=ei(),v=hc(s),m=Ju(c,v);m.tag=Bb,t!=null&&(Wb(t,"forceUpdate"),m.callback=t);var S=sc(s,m,v);S!==null&&(Gr(S,s,v,c),Ub(S,s,v)),ah(s,v)}};function iD(e,t,s,c,v,m,S){var I=e.stateNode;if(typeof I.shouldComponentUpdate=="function"){var _=I.shouldComponentUpdate(c,m,S);{if(e.mode&Zn){gr(!0);try{_=I.shouldComponentUpdate(c,m,S)}finally{gr(!1)}}_===void 0&&p("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Qt(t)||"Component")}return _}return t.prototype&&t.prototype.isPureReactComponent?!ut(s,c)||!ut(v,m):!0}function t5(e,t,s){var c=e.stateNode;{var v=Qt(t)||"Component",m=c.render;m||(t.prototype&&typeof t.prototype.render=="function"?p("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",v):p("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",v)),c.getInitialState&&!c.getInitialState.isReactClassApproved&&!c.state&&p("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?",v),c.getDefaultProps&&!c.getDefaultProps.isReactClassApproved&&p("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.",v),c.propTypes&&p("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",v),c.contextType&&p("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",v),c.contextTypes&&p("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",v),t.contextType&&t.contextTypes&&!HS.has(t)&&(HS.add(t),p("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",v)),typeof c.componentShouldUpdate=="function"&&p("%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.",v),t.prototype&&t.prototype.isPureReactComponent&&typeof c.shouldComponentUpdate<"u"&&p("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Qt(t)||"A pure component"),typeof c.componentDidUnmount=="function"&&p("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",v),typeof c.componentDidReceiveProps=="function"&&p("%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().",v),typeof c.componentWillRecieveProps=="function"&&p("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",v),typeof c.UNSAFE_componentWillRecieveProps=="function"&&p("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",v);var S=c.props!==s;c.props!==void 0&&S&&p("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",v,v),c.defaultProps&&p("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",v,v),typeof c.getSnapshotBeforeUpdate=="function"&&typeof c.componentDidUpdate!="function"&&!FS.has(t)&&(FS.add(t),p("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Qt(t))),typeof c.getDerivedStateFromProps=="function"&&p("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",v),typeof c.getDerivedStateFromError=="function"&&p("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",v),typeof t.getSnapshotBeforeUpdate=="function"&&p("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",v);var I=c.state;I&&(typeof I!="object"||Ut(I))&&p("%s.state: must be set to an object or null",v),typeof c.getChildContext=="function"&&typeof t.childContextTypes!="object"&&p("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",v)}}function oD(e,t){t.updater=$S,e.stateNode=t,_l(t,e),t._reactInternalInstance=MS}function sD(e,t,s){var c=!1,v=Wi,m=Wi,S=t.contextType;if("contextType"in t){var I=S===null||S!==void 0&&S.$$typeof===Ue&&S._context===void 0;if(!I&&!US.has(t)){US.add(t);var _="";S===void 0?_=" 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 S!="object"?_=" However, it is set to a "+typeof S+".":S.$$typeof===je?_=" Did you accidentally pass the Context.Provider instead?":S._context!==void 0?_=" Did you accidentally pass the Context.Consumer instead?":_=" However, it is set to an object with keys {"+Object.keys(S).join(", ")+"}.",p("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Qt(t)||"Component",_)}}if(typeof S=="object"&&S!==null)m=Dr(S);else{v=Cp(e,t,!0);var V=t.contextTypes;c=V!=null,m=c?xp(e,v):Wi}var H=new t(s,m);if(e.mode&Zn){gr(!0);try{H=new t(s,m)}finally{gr(!1)}}var ee=e.memoizedState=H.state!==null&&H.state!==void 0?H.state:null;oD(e,H);{if(typeof t.getDerivedStateFromProps=="function"&&ee===null){var Q=Qt(t)||"Component";LS.has(Q)||(LS.add(Q),p("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",Q,H.state===null?"null":"undefined",Q))}if(typeof t.getDerivedStateFromProps=="function"||typeof H.getSnapshotBeforeUpdate=="function"){var le=null,fe=null,be=null;if(typeof H.componentWillMount=="function"&&H.componentWillMount.__suppressDeprecationWarning!==!0?le="componentWillMount":typeof H.UNSAFE_componentWillMount=="function"&&(le="UNSAFE_componentWillMount"),typeof H.componentWillReceiveProps=="function"&&H.componentWillReceiveProps.__suppressDeprecationWarning!==!0?fe="componentWillReceiveProps":typeof H.UNSAFE_componentWillReceiveProps=="function"&&(fe="UNSAFE_componentWillReceiveProps"),typeof H.componentWillUpdate=="function"&&H.componentWillUpdate.__suppressDeprecationWarning!==!0?be="componentWillUpdate":typeof H.UNSAFE_componentWillUpdate=="function"&&(be="UNSAFE_componentWillUpdate"),le!==null||fe!==null||be!==null){var qe=Qt(t)||"Component",vt=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";VS.has(qe)||(VS.add(qe),p(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
161
|
-
|
|
162
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
163
|
-
|
|
164
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
165
|
-
https://reactjs.org/link/unsafe-component-lifecycles`,qe,vt,le!==null?`
|
|
166
|
-
`+le:"",fe!==null?`
|
|
167
|
-
`+fe:"",be!==null?`
|
|
168
|
-
`+be:""))}}}return c&&__(e,v,m),H}function n5(e,t){var s=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),s!==t.state&&(p("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",At(e)||"Component"),$S.enqueueReplaceState(t,t.state,null))}function uD(e,t,s,c){var v=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(s,c),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(s,c),t.state!==v){{var m=At(e)||"Component";PS.has(m)||(PS.add(m),p("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",m))}$S.enqueueReplaceState(t,t.state,null)}}function WS(e,t,s,c){t5(e,t,s);var v=e.stateNode;v.props=s,v.state=e.memoizedState,v.refs=nD,jS(e);var m=t.contextType;if(typeof m=="object"&&m!==null)v.context=Dr(m);else{var S=Cp(e,t,!0);v.context=xp(e,S)}{if(v.state===s){var I=Qt(t)||"Component";zS.has(I)||(zS.add(I),p("%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&Zn&&Xo.recordLegacyContextWarning(e,v),Xo.recordUnsafeLifecycleWarnings(e,v)}v.state=e.memoizedState;var _=t.getDerivedStateFromProps;if(typeof _=="function"&&(GS(e,t,_,s),v.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof v.getSnapshotBeforeUpdate!="function"&&(typeof v.UNSAFE_componentWillMount=="function"||typeof v.componentWillMount=="function")&&(n5(e,v),Gb(e,s,v,c),v.state=e.memoizedState),typeof v.componentDidMount=="function"){var V=jt;V|=Aa,(e.mode&bi)!==mt&&(V|=Na),e.flags|=V}}function r5(e,t,s,c){var v=e.stateNode,m=e.memoizedProps;v.props=m;var S=v.context,I=t.contextType,_=Wi;if(typeof I=="object"&&I!==null)_=Dr(I);else{var V=Cp(e,t,!0);_=xp(e,V)}var H=t.getDerivedStateFromProps,ee=typeof H=="function"||typeof v.getSnapshotBeforeUpdate=="function";!ee&&(typeof v.UNSAFE_componentWillReceiveProps=="function"||typeof v.componentWillReceiveProps=="function")&&(m!==s||S!==_)&&uD(e,v,s,_),eD();var Q=e.memoizedState,le=v.state=Q;if(Gb(e,s,v,c),le=e.memoizedState,m===s&&Q===le&&!Ib()&&!$b()){if(typeof v.componentDidMount=="function"){var fe=jt;fe|=Aa,(e.mode&bi)!==mt&&(fe|=Na),e.flags|=fe}return!1}typeof H=="function"&&(GS(e,t,H,s),le=e.memoizedState);var be=$b()||iD(e,t,m,s,Q,le,_);if(be){if(!ee&&(typeof v.UNSAFE_componentWillMount=="function"||typeof v.componentWillMount=="function")&&(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"){var qe=jt;qe|=Aa,(e.mode&bi)!==mt&&(qe|=Na),e.flags|=qe}}else{if(typeof v.componentDidMount=="function"){var vt=jt;vt|=Aa,(e.mode&bi)!==mt&&(vt|=Na),e.flags|=vt}e.memoizedProps=s,e.memoizedState=le}return v.props=s,v.state=le,v.context=_,be}function a5(e,t,s,c,v){var m=t.stateNode;K_(e,t);var S=t.memoizedProps,I=t.type===t.elementType?S:Yo(t.type,S);m.props=I;var _=t.pendingProps,V=m.context,H=s.contextType,ee=Wi;if(typeof H=="object"&&H!==null)ee=Dr(H);else{var Q=Cp(t,s,!0);ee=xp(t,Q)}var le=s.getDerivedStateFromProps,fe=typeof le=="function"||typeof m.getSnapshotBeforeUpdate=="function";!fe&&(typeof m.UNSAFE_componentWillReceiveProps=="function"||typeof m.componentWillReceiveProps=="function")&&(S!==_||V!==ee)&&uD(t,m,c,ee),eD();var be=t.memoizedState,qe=m.state=be;if(Gb(t,c,m,v),qe=t.memoizedState,S===_&&be===qe&&!Ib()&&!$b()&&!Pe)return typeof m.componentDidUpdate=="function"&&(S!==e.memoizedProps||be!==e.memoizedState)&&(t.flags|=jt),typeof m.getSnapshotBeforeUpdate=="function"&&(S!==e.memoizedProps||be!==e.memoizedState)&&(t.flags|=hi),!1;typeof le=="function"&&(GS(t,s,le,c),qe=t.memoizedState);var vt=$b()||iD(t,s,I,c,be,qe,ee)||Pe;return vt?(!fe&&(typeof m.UNSAFE_componentWillUpdate=="function"||typeof m.componentWillUpdate=="function")&&(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(c,qe,ee),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(c,qe,ee)),typeof m.componentDidUpdate=="function"&&(t.flags|=jt),typeof m.getSnapshotBeforeUpdate=="function"&&(t.flags|=hi)):(typeof m.componentDidUpdate=="function"&&(S!==e.memoizedProps||be!==e.memoizedState)&&(t.flags|=jt),typeof m.getSnapshotBeforeUpdate=="function"&&(S!==e.memoizedProps||be!==e.memoizedState)&&(t.flags|=hi),t.memoizedProps=c,t.memoizedState=qe),m.props=c,m.state=qe,m.context=ee,vt}var XS,YS,ZS,JS,qS,lD=function(e,t){};XS=!1,YS=!1,ZS={},JS={},qS={},lD=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=At(t)||"Component";JS[s]||(JS[s]=!0,p('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function Kh(e,t,s){var c=s.ref;if(c!==null&&typeof c!="function"&&typeof c!="object"){if((e.mode&Zn||Ee)&&!(s._owner&&s._self&&s._owner.stateNode!==s._self)){var v=At(e)||"Component";ZS[v]||(p('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),ZS[v]=!0)}if(s._owner){var m=s._owner,S;if(m){var I=m;if(I.tag!==b)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");S=I.stateNode}if(!S)throw new Error("Missing owner for string ref "+c+". This error is likely caused by a bug in React. Please file an issue.");var _=S;Mt(c,"ref");var V=""+c;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===V)return t.ref;var H=function(ee){var Q=_.refs;Q===nD&&(Q=_.refs={}),ee===null?delete Q[V]:Q[V]=ee};return H._stringRef=V,H}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
|
-
1. You may be adding a ref to a function component
|
|
170
|
-
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
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 Xb(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 Yb(e){{var t=At(e)||"Component";if(qS[t])return;qS[t]=!0,p("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 cD(e){var t=e._payload,s=e._init;return s(t)}function fD(e){function t(re,Ce){if(e){var ae=re.deletions;ae===null?(re.deletions=[Ce],re.flags|=un):ae.push(Ce)}}function s(re,Ce){if(!e)return null;for(var ae=Ce;ae!==null;)t(re,ae),ae=ae.sibling;return null}function c(re,Ce){for(var ae=new Map,Fe=Ce;Fe!==null;)Fe.key!==null?ae.set(Fe.key,Fe):ae.set(Fe.index,Fe),Fe=Fe.sibling;return ae}function v(re,Ce){var ae=kf(re,Ce);return ae.index=0,ae.sibling=null,ae}function m(re,Ce,ae){if(re.index=ae,!e)return re.flags|=Wv,Ce;var Fe=re.alternate;if(Fe!==null){var Qe=Fe.index;return Qe<Ce?(re.flags|=Ln,Ce):Qe}else return re.flags|=Ln,Ce}function S(re){return e&&re.alternate===null&&(re.flags|=Ln),re}function I(re,Ce,ae,Fe){if(Ce===null||Ce.tag!==N){var Qe=ww(ae,re.mode,Fe);return Qe.return=re,Qe}else{var Xe=v(Ce,ae);return Xe.return=re,Xe}}function _(re,Ce,ae,Fe){var Qe=ae.type;if(Qe===$a)return H(re,Ce,ae.props.children,Fe,ae.key);if(Ce!==null&&(Ce.elementType===Qe||tk(Ce,ae)||typeof Qe=="object"&&Qe!==null&&Qe.$$typeof===pt&&cD(Qe)===Ce.type)){var Xe=v(Ce,ae.props);return Xe.ref=Kh(re,Ce,ae),Xe.return=re,Xe._debugSource=ae._source,Xe._debugOwner=ae._owner,Xe}var Et=Sw(ae,re.mode,Fe);return Et.ref=Kh(re,Ce,ae),Et.return=re,Et}function V(re,Ce,ae,Fe){if(Ce===null||Ce.tag!==T||Ce.stateNode.containerInfo!==ae.containerInfo||Ce.stateNode.implementation!==ae.implementation){var Qe=Rw(ae,re.mode,Fe);return Qe.return=re,Qe}else{var Xe=v(Ce,ae.children||[]);return Xe.return=re,Xe}}function H(re,Ce,ae,Fe,Qe){if(Ce===null||Ce.tag!==j){var Xe=gc(ae,re.mode,Fe,Qe);return Xe.return=re,Xe}else{var Et=v(Ce,ae);return Et.return=re,Et}}function ee(re,Ce,ae){if(typeof Ce=="string"&&Ce!==""||typeof Ce=="number"){var Fe=ww(""+Ce,re.mode,ae);return Fe.return=re,Fe}if(typeof Ce=="object"&&Ce!==null){switch(Ce.$$typeof){case to:{var Qe=Sw(Ce,re.mode,ae);return Qe.ref=Kh(re,null,Ce),Qe.return=re,Qe}case sa:{var Xe=Rw(Ce,re.mode,ae);return Xe.return=re,Xe}case pt:{var Et=Ce._payload,Ot=Ce._init;return ee(re,Ot(Et),ae)}}if(Ut(Ce)||Li(Ce)){var Rn=gc(Ce,re.mode,ae,null);return Rn.return=re,Rn}Xb(re,Ce)}return typeof Ce=="function"&&Yb(re),null}function Q(re,Ce,ae,Fe){var Qe=Ce!==null?Ce.key:null;if(typeof ae=="string"&&ae!==""||typeof ae=="number")return Qe!==null?null:I(re,Ce,""+ae,Fe);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case to:return ae.key===Qe?_(re,Ce,ae,Fe):null;case sa:return ae.key===Qe?V(re,Ce,ae,Fe):null;case pt:{var Xe=ae._payload,Et=ae._init;return Q(re,Ce,Et(Xe),Fe)}}if(Ut(ae)||Li(ae))return Qe!==null?null:H(re,Ce,ae,Fe,null);Xb(re,ae)}return typeof ae=="function"&&Yb(re),null}function le(re,Ce,ae,Fe,Qe){if(typeof Fe=="string"&&Fe!==""||typeof Fe=="number"){var Xe=re.get(ae)||null;return I(Ce,Xe,""+Fe,Qe)}if(typeof Fe=="object"&&Fe!==null){switch(Fe.$$typeof){case to:{var Et=re.get(Fe.key===null?ae:Fe.key)||null;return _(Ce,Et,Fe,Qe)}case sa:{var Ot=re.get(Fe.key===null?ae:Fe.key)||null;return V(Ce,Ot,Fe,Qe)}case pt:var Rn=Fe._payload,an=Fe._init;return le(re,Ce,ae,an(Rn),Qe)}if(Ut(Fe)||Li(Fe)){var Er=re.get(ae)||null;return H(Ce,Er,Fe,Qe,null)}Xb(Ce,Fe)}return typeof Fe=="function"&&Yb(Ce),null}function fe(re,Ce,ae){{if(typeof re!="object"||re===null)return Ce;switch(re.$$typeof){case to:case sa:lD(re,ae);var Fe=re.key;if(typeof Fe!="string")break;if(Ce===null){Ce=new Set,Ce.add(Fe);break}if(!Ce.has(Fe)){Ce.add(Fe);break}p("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 pt:var Qe=re._payload,Xe=re._init;fe(Xe(Qe),Ce,ae);break}}return Ce}function be(re,Ce,ae,Fe){for(var Qe=null,Xe=0;Xe<ae.length;Xe++){var Et=ae[Xe];Qe=fe(Et,Qe,re)}for(var Ot=null,Rn=null,an=Ce,Er=0,on=0,mr=null;an!==null&&on<ae.length;on++){an.index>on?(mr=an,an=null):mr=an.sibling;var Fa=Q(re,an,ae[on],Fe);if(Fa===null){an===null&&(an=mr);break}e&&an&&Fa.alternate===null&&t(re,an),Er=m(Fa,Er,on),Rn===null?Ot=Fa:Rn.sibling=Fa,Rn=Fa,an=mr}if(on===ae.length){if(s(re,an),pa()){var Ca=on;xf(re,Ca)}return Ot}if(an===null){for(;on<ae.length;on++){var Yi=ee(re,ae[on],Fe);Yi!==null&&(Er=m(Yi,Er,on),Rn===null?Ot=Yi:Rn.sibling=Yi,Rn=Yi)}if(pa()){var ti=on;xf(re,ti)}return Ot}for(var ni=c(re,an);on<ae.length;on++){var Va=le(ni,re,on,ae[on],Fe);Va!==null&&(e&&Va.alternate!==null&&ni.delete(Va.key===null?on:Va.key),Er=m(Va,Er,on),Rn===null?Ot=Va:Rn.sibling=Va,Rn=Va)}if(e&&ni.forEach(function(Up){return t(re,Up)}),pa()){var nl=on;xf(re,nl)}return Ot}function qe(re,Ce,ae,Fe){var Qe=Li(ae);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"&&ae[Symbol.toStringTag]==="Generator"&&(YS||p("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."),YS=!0),ae.entries===Qe&&(XS||p("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),XS=!0);var Xe=Qe.call(ae);if(Xe)for(var Et=null,Ot=Xe.next();!Ot.done;Ot=Xe.next()){var Rn=Ot.value;Et=fe(Rn,Et,re)}}var an=Qe.call(ae);if(an==null)throw new Error("An iterable object provided no iterator.");for(var Er=null,on=null,mr=Ce,Fa=0,Ca=0,Yi=null,ti=an.next();mr!==null&&!ti.done;Ca++,ti=an.next()){mr.index>Ca?(Yi=mr,mr=null):Yi=mr.sibling;var ni=Q(re,mr,ti.value,Fe);if(ni===null){mr===null&&(mr=Yi);break}e&&mr&&ni.alternate===null&&t(re,mr),Fa=m(ni,Fa,Ca),on===null?Er=ni:on.sibling=ni,on=ni,mr=Yi}if(ti.done){if(s(re,mr),pa()){var Va=Ca;xf(re,Va)}return Er}if(mr===null){for(;!ti.done;Ca++,ti=an.next()){var nl=ee(re,ti.value,Fe);nl!==null&&(Fa=m(nl,Fa,Ca),on===null?Er=nl:on.sibling=nl,on=nl)}if(pa()){var Up=Ca;xf(re,Up)}return Er}for(var Nm=c(re,mr);!ti.done;Ca++,ti=an.next()){var Qs=le(Nm,re,Ca,ti.value,Fe);Qs!==null&&(e&&Qs.alternate!==null&&Nm.delete(Qs.key===null?Ca:Qs.key),Fa=m(Qs,Fa,Ca),on===null?Er=Qs:on.sibling=Qs,on=Qs)}if(e&&Nm.forEach(function(yY){return t(re,yY)}),pa()){var gY=Ca;xf(re,gY)}return Er}function vt(re,Ce,ae,Fe){if(Ce!==null&&Ce.tag===N){s(re,Ce.sibling);var Qe=v(Ce,ae);return Qe.return=re,Qe}s(re,Ce);var Xe=ww(ae,re.mode,Fe);return Xe.return=re,Xe}function ot(re,Ce,ae,Fe){for(var Qe=ae.key,Xe=Ce;Xe!==null;){if(Xe.key===Qe){var Et=ae.type;if(Et===$a){if(Xe.tag===j){s(re,Xe.sibling);var Ot=v(Xe,ae.props.children);return Ot.return=re,Ot._debugSource=ae._source,Ot._debugOwner=ae._owner,Ot}}else if(Xe.elementType===Et||tk(Xe,ae)||typeof Et=="object"&&Et!==null&&Et.$$typeof===pt&&cD(Et)===Xe.type){s(re,Xe.sibling);var Rn=v(Xe,ae.props);return Rn.ref=Kh(re,Xe,ae),Rn.return=re,Rn._debugSource=ae._source,Rn._debugOwner=ae._owner,Rn}s(re,Xe);break}else t(re,Xe);Xe=Xe.sibling}if(ae.type===$a){var an=gc(ae.props.children,re.mode,Fe,ae.key);return an.return=re,an}else{var Er=Sw(ae,re.mode,Fe);return Er.ref=Kh(re,Ce,ae),Er.return=re,Er}}function Yt(re,Ce,ae,Fe){for(var Qe=ae.key,Xe=Ce;Xe!==null;){if(Xe.key===Qe)if(Xe.tag===T&&Xe.stateNode.containerInfo===ae.containerInfo&&Xe.stateNode.implementation===ae.implementation){s(re,Xe.sibling);var Et=v(Xe,ae.children||[]);return Et.return=re,Et}else{s(re,Xe);break}else t(re,Xe);Xe=Xe.sibling}var Ot=Rw(ae,re.mode,Fe);return Ot.return=re,Ot}function Ht(re,Ce,ae,Fe){var Qe=typeof ae=="object"&&ae!==null&&ae.type===$a&&ae.key===null;if(Qe&&(ae=ae.props.children),typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case to:return S(ot(re,Ce,ae,Fe));case sa:return S(Yt(re,Ce,ae,Fe));case pt:var Xe=ae._payload,Et=ae._init;return Ht(re,Ce,Et(Xe),Fe)}if(Ut(ae))return be(re,Ce,ae,Fe);if(Li(ae))return qe(re,Ce,ae,Fe);Xb(re,ae)}return typeof ae=="string"&&ae!==""||typeof ae=="number"?S(vt(re,Ce,""+ae,Fe)):(typeof ae=="function"&&Yb(re),s(re,Ce))}return Ht}var Ip=fD(!0),dD=fD(!1);function i5(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=kf(s,s.pendingProps);for(t.child=c,c.return=t;s.sibling!==null;)s=s.sibling,c=c.sibling=kf(s,s.pendingProps),c.return=t;c.sibling=null}}function o5(e,t){for(var s=e.child;s!==null;)MX(s,t),s=s.sibling}var em={},uc=rc(em),tm=rc(em),Zb=rc(em);function Jb(e){if(e===em)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 pD(){var e=Jb(Zb.current);return e}function QS(e,t){Pa(Zb,t,e),Pa(tm,e,e),Pa(uc,em,e);var s=CG(t);Ma(uc,e),Pa(uc,s,e)}function Ap(e){Ma(uc,e),Ma(tm,e),Ma(Zb,e)}function KS(){var e=Jb(uc.current);return e}function vD(e){Jb(Zb.current);var t=Jb(uc.current),s=xG(t,e.type);t!==s&&(Pa(tm,e,e),Pa(uc,s,e))}function e1(e){tm.current===e&&(Ma(uc,e),Ma(tm,e))}var s5=0,hD=1,mD=1,nm=2,Zo=rc(s5);function t1(e,t){return(e&t)!==0}function Np(e){return e&hD}function n1(e,t){return e&hD|t}function u5(e,t){return e|t}function lc(e,t){Pa(Zo,t,e)}function Op(e){Ma(Zo,e)}function l5(e,t){var s=e.memoizedState;return s!==null?s.dehydrated!==null:(e.memoizedProps,!0)}function qb(e){for(var t=e;t!==null;){if(t.tag===z){var s=t.memoizedState;if(s!==null){var c=s.dehydrated;if(c===null||T_(c)||uS(c))return t}}else if(t.tag===pe&&t.memoizedProps.revealOrder!==void 0){var v=(t.flags&wt)!==ct;if(v)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 Ii=0,Lr=1,$s=2,Fr=4,va=8,r1=[];function a1(){for(var e=0;e<r1.length;e++){var t=r1[e];t._workInProgressVersionPrimary=null}r1.length=0}function c5(e,t){var s=t._getVersion,c=s(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,c]:e.mutableSourceEagerHydrationData.push(t,c)}var Ze=i.ReactCurrentDispatcher,rm=i.ReactCurrentBatchConfig,i1,_p;i1=new Set;var If=Se,wn=null,Vr=null,Br=null,Qb=!1,am=!1,im=0,f5=0,d5=25,we=null,yo=null,cc=-1,o1=!1;function vn(){{var e=we;yo===null?yo=[e]:yo.push(e)}}function $e(){{var e=we;yo!==null&&(cc++,yo[cc]!==e&&p5(e))}}function Dp(e){e!=null&&!Ut(e)&&p("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",we,typeof e)}function p5(e){{var t=At(wn);if(!i1.has(t)&&(i1.add(t),yo!==null)){for(var s="",c=30,v=0;v<=cc;v++){for(var m=yo[v],S=v===cc?e:m,I=v+1+". "+m;I.length<c;)I+=" ";I+=S+`
|
|
173
|
-
`,s+=I}p(`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
|
-
|
|
175
|
-
Previous render Next render
|
|
176
|
-
------------------------------------------------------
|
|
177
|
-
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
178
|
-
`,t,s)}}}function La(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
179
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
180
|
-
2. You might be breaking the Rules of Hooks
|
|
181
|
-
3. You might have more than one copy of React in the same app
|
|
182
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function s1(e,t){if(o1)return!1;if(t===null)return p("%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.",we),!1;e.length!==t.length&&p(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
183
|
-
|
|
184
|
-
Previous: %s
|
|
185
|
-
Incoming: %s`,we,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var s=0;s<t.length&&s<e.length;s++)if(!nt(e[s],t[s]))return!1;return!0}function jp(e,t,s,c,v,m){If=m,wn=t,yo=e!==null?e._debugHookTypes:null,cc=-1,o1=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Se,e!==null&&e.memoizedState!==null?Ze.current=FD:yo!==null?Ze.current=LD:Ze.current=PD;var S=s(c,v);if(am){var I=0;do{if(am=!1,im=0,I>=d5)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");I+=1,o1=!1,Vr=null,Br=null,t.updateQueue=null,cc=-1,Ze.current=VD,S=s(c,v)}while(am)}Ze.current=f0,t._debugHookTypes=yo;var _=Vr!==null&&Vr.next!==null;if(If=Se,wn=null,Vr=null,Br=null,we=null,yo=null,cc=-1,e!==null&&(e.flags&kr)!==(t.flags&kr)&&(e.mode&Vt)!==mt&&p("Internal React error: Expected static flag was missing. Please notify the React team."),Qb=!1,_)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return S}function kp(){var e=im!==0;return im=0,e}function gD(e,t,s){t.updateQueue=e.updateQueue,(t.mode&bi)!==mt?t.flags&=~(wu|Na|Un|jt):t.flags&=~(Un|jt),e.lanes=Bl(e.lanes,s)}function yD(){if(Ze.current=f0,Qb){for(var e=wn.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Qb=!1}If=Se,wn=null,Vr=null,Br=null,yo=null,cc=-1,we=null,_D=!1,am=!1,im=0}function Ws(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Br===null?wn.memoizedState=Br=e:Br=Br.next=e,Br}function bo(){var e;if(Vr===null){var t=wn.alternate;t!==null?e=t.memoizedState:e=null}else e=Vr.next;var s;if(Br===null?s=wn.memoizedState:s=Br.next,s!==null)Br=s,s=Br.next,Vr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Vr=e;var c={memoizedState:Vr.memoizedState,baseState:Vr.baseState,baseQueue:Vr.baseQueue,queue:Vr.queue,next:null};Br===null?wn.memoizedState=Br=c:Br=Br.next=c}return Br}function bD(){return{lastEffect:null,stores:null}}function u1(e,t){return typeof t=="function"?t(e):t}function l1(e,t,s){var c=Ws(),v;s!==void 0?v=s(t):v=t,c.memoizedState=c.baseState=v;var m={pending:null,interleaved:null,lanes:Se,dispatch:null,lastRenderedReducer:e,lastRenderedState:v};c.queue=m;var S=m.dispatch=g5.bind(null,wn,m);return[c.memoizedState,S]}function c1(e,t,s){var c=bo(),v=c.queue;if(v===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");v.lastRenderedReducer=e;var m=Vr,S=m.baseQueue,I=v.pending;if(I!==null){if(S!==null){var _=S.next,V=I.next;S.next=V,I.next=_}m.baseQueue!==S&&p("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),m.baseQueue=S=I,v.pending=null}if(S!==null){var H=S.next,ee=m.baseState,Q=null,le=null,fe=null,be=H;do{var qe=be.lane;if(ku(If,qe)){if(fe!==null){var ot={lane:Wt,action:be.action,hasEagerState:be.hasEagerState,eagerState:be.eagerState,next:null};fe=fe.next=ot}if(be.hasEagerState)ee=be.eagerState;else{var Yt=be.action;ee=e(ee,Yt)}}else{var vt={lane:qe,action:be.action,hasEagerState:be.hasEagerState,eagerState:be.eagerState,next:null};fe===null?(le=fe=vt,Q=ee):fe=fe.next=vt,wn.lanes=kt(wn.lanes,qe),wm(qe)}be=be.next}while(be!==null&&be!==H);fe===null?Q=ee:fe.next=le,nt(ee,c.memoizedState)||dm(),c.memoizedState=ee,c.baseState=Q,c.baseQueue=fe,v.lastRenderedState=ee}var Ht=v.interleaved;if(Ht!==null){var re=Ht;do{var Ce=re.lane;wn.lanes=kt(wn.lanes,Ce),wm(Ce),re=re.next}while(re!==Ht)}else S===null&&(v.lanes=Se);var ae=v.dispatch;return[c.memoizedState,ae]}function f1(e,t,s){var c=bo(),v=c.queue;if(v===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");v.lastRenderedReducer=e;var m=v.dispatch,S=v.pending,I=c.memoizedState;if(S!==null){v.pending=null;var _=S.next,V=_;do{var H=V.action;I=e(I,H),V=V.next}while(V!==_);nt(I,c.memoizedState)||dm(),c.memoizedState=I,c.baseQueue===null&&(c.baseState=I),v.lastRenderedState=I}return[I,m]}function jZ(e,t,s){}function kZ(e,t,s){}function d1(e,t,s){var c=wn,v=Ws(),m,S=pa();if(S){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");m=s(),_p||m!==s()&&(p("The result of getServerSnapshot should be cached to avoid an infinite loop"),_p=!0)}else{if(m=t(),!_p){var I=t();nt(m,I)||(p("The result of getSnapshot should be cached to avoid an infinite loop"),_p=!0)}var _=N0();if(_===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");rf(_,If)||CD(c,t,m)}v.memoizedState=m;var V={value:m,getSnapshot:t};return v.queue=V,r0(ED.bind(null,c,V,e),[e]),c.flags|=Un,om(Lr|va,xD.bind(null,c,V,m,t),void 0,null),m}function Kb(e,t,s){var c=wn,v=bo(),m=t();if(!_p){var S=t();nt(m,S)||(p("The result of getSnapshot should be cached to avoid an infinite loop"),_p=!0)}var I=v.memoizedState,_=!nt(I,m);_&&(v.memoizedState=m,dm());var V=v.queue;if(um(ED.bind(null,c,V,e),[e]),V.getSnapshot!==t||_||Br!==null&&Br.memoizedState.tag&Lr){c.flags|=Un,om(Lr|va,xD.bind(null,c,V,m,t),void 0,null);var H=N0();if(H===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");rf(H,If)||CD(c,t,m)}return m}function CD(e,t,s){e.flags|=Yc;var c={getSnapshot:t,value:s},v=wn.updateQueue;if(v===null)v=bD(),wn.updateQueue=v,v.stores=[c];else{var m=v.stores;m===null?v.stores=[c]:m.push(c)}}function xD(e,t,s,c){t.value=s,t.getSnapshot=c,SD(t)&&wD(e)}function ED(e,t,s){var c=function(){SD(t)&&wD(e)};return s(c)}function SD(e){var t=e.getSnapshot,s=e.value;try{var c=t();return!nt(s,c)}catch{return!0}}function wD(e){var t=Ti(e,Ct);t!==null&&Gr(t,e,Ct,On)}function e0(e){var t=Ws();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var s={pending:null,interleaved:null,lanes:Se,dispatch:null,lastRenderedReducer:u1,lastRenderedState:e};t.queue=s;var c=s.dispatch=y5.bind(null,wn,s);return[t.memoizedState,c]}function p1(e){return c1(u1)}function v1(e){return f1(u1)}function om(e,t,s,c){var v={tag:e,create:t,destroy:s,deps:c,next:null},m=wn.updateQueue;if(m===null)m=bD(),wn.updateQueue=m,m.lastEffect=v.next=v;else{var S=m.lastEffect;if(S===null)m.lastEffect=v.next=v;else{var I=S.next;S.next=v,v.next=I,m.lastEffect=v}}return v}function h1(e){var t=Ws();{var s={current:e};return t.memoizedState=s,s}}function t0(e){var t=bo();return t.memoizedState}function sm(e,t,s,c){var v=Ws(),m=c===void 0?null:c;wn.flags|=e,v.memoizedState=om(Lr|t,s,void 0,m)}function n0(e,t,s,c){var v=bo(),m=c===void 0?null:c,S=void 0;if(Vr!==null){var I=Vr.memoizedState;if(S=I.destroy,m!==null){var _=I.deps;if(s1(m,_)){v.memoizedState=om(t,s,S,m);return}}}wn.flags|=e,v.memoizedState=om(Lr|t,s,S,m)}function r0(e,t){return(wn.mode&bi)!==mt?sm(wu|Un|As,va,e,t):sm(Un|As,va,e,t)}function um(e,t){return n0(Un,va,e,t)}function m1(e,t){return sm(jt,$s,e,t)}function a0(e,t){return n0(jt,$s,e,t)}function g1(e,t){var s=jt;return s|=Aa,(wn.mode&bi)!==mt&&(s|=Na),sm(s,Fr,e,t)}function i0(e,t){return n0(jt,Fr,e,t)}function RD(e,t){if(typeof t=="function"){var s=t,c=e();return s(c),function(){s(null)}}else if(t!=null){var v=t;v.hasOwnProperty("current")||p("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(v).join(", ")+"}");var m=e();return v.current=m,function(){v.current=null}}}function y1(e,t,s){typeof t!="function"&&p("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,v=jt;return v|=Aa,(wn.mode&bi)!==mt&&(v|=Na),sm(v,Fr,RD.bind(null,t,e),c)}function o0(e,t,s){typeof t!="function"&&p("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 n0(jt,Fr,RD.bind(null,t,e),c)}function v5(e,t){}var s0=v5;function b1(e,t){var s=Ws(),c=t===void 0?null:t;return s.memoizedState=[e,c],e}function u0(e,t){var s=bo(),c=t===void 0?null:t,v=s.memoizedState;if(v!==null&&c!==null){var m=v[1];if(s1(c,m))return v[0]}return s.memoizedState=[e,c],e}function C1(e,t){var s=Ws(),c=t===void 0?null:t,v=e();return s.memoizedState=[v,c],v}function l0(e,t){var s=bo(),c=t===void 0?null:t,v=s.memoizedState;if(v!==null&&c!==null){var m=v[1];if(s1(c,m))return v[0]}var S=e();return s.memoizedState=[S,c],S}function x1(e){var t=Ws();return t.memoizedState=e,e}function TD(e){var t=bo(),s=Vr,c=s.memoizedState;return AD(t,c,e)}function ID(e){var t=bo();if(Vr===null)return t.memoizedState=e,e;var s=Vr.memoizedState;return AD(t,s,e)}function AD(e,t,s){var c=!IE(If);if(c){if(!nt(s,t)){var v=lh();wn.lanes=kt(wn.lanes,v),wm(v),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,dm()),e.memoizedState=s,s}function h5(e,t,s){var c=xi();br(qr(c,Pr)),e(!0);var v=rm.transition;rm.transition={};var m=rm.transition;rm.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(br(c),rm.transition=v,v===null&&m._updatedFibers){var S=m._updatedFibers.size;S>10&&d("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),m._updatedFibers.clear()}}}function E1(){var e=e0(!1),t=e[0],s=e[1],c=h5.bind(null,s),v=Ws();return v.memoizedState=c,[t,c]}function ND(){var e=p1(),t=e[0],s=bo(),c=s.memoizedState;return[t,c]}function OD(){var e=v1(),t=e[0],s=bo(),c=s.memoizedState;return[t,c]}var _D=!1;function m5(){return _D}function S1(){var e=Ws(),t=N0(),s=t.identifierPrefix,c;if(pa()){var v=O$();c=":"+s+"R"+v;var m=im++;m>0&&(c+="H"+m.toString(32)),c+=":"}else{var S=f5++;c=":"+s+"r"+S.toString(32)+":"}return e.memoizedState=c,c}function c0(){var e=bo(),t=e.memoizedState;return t}function g5(e,t,s){typeof arguments[3]=="function"&&p("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=hc(e),v={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(DD(e))jD(t,v);else{var m=J_(e,t,v,c);if(m!==null){var S=ei();Gr(m,e,c,S),kD(m,t,c)}}MD(e,c)}function y5(e,t,s){typeof arguments[3]=="function"&&p("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=hc(e),v={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(DD(e))jD(t,v);else{var m=e.alternate;if(e.lanes===Se&&(m===null||m.lanes===Se)){var S=t.lastRenderedReducer;if(S!==null){var I;I=Ze.current,Ze.current=Jo;try{var _=t.lastRenderedState,V=S(_,s);if(v.hasEagerState=!0,v.eagerState=V,nt(V,_)){J$(e,t,v,c);return}}catch{}finally{Ze.current=I}}}var H=J_(e,t,v,c);if(H!==null){var ee=ei();Gr(H,e,c,ee),kD(H,t,c)}}MD(e,c)}function DD(e){var t=e.alternate;return e===wn||t!==null&&t===wn}function jD(e,t){am=Qb=!0;var s=e.pending;s===null?t.next=t:(t.next=s.next,s.next=t),e.pending=t}function kD(e,t,s){if(uh(s)){var c=t.lanes;c=ch(c,e.pendingLanes);var v=kt(c,s);t.lanes=v,zl(e,v)}}function MD(e,t,s){ks(e,t)}var f0={readContext:Dr,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:ve},PD=null,LD=null,FD=null,VD=null,Xs=null,Jo=null,d0=null;{var w1=function(){p("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().")},Nt=function(){p("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")};PD={readContext:function(e){return Dr(e)},useCallback:function(e,t){return we="useCallback",vn(),Dp(t),b1(e,t)},useContext:function(e){return we="useContext",vn(),Dr(e)},useEffect:function(e,t){return we="useEffect",vn(),Dp(t),r0(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",vn(),Dp(s),y1(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",vn(),Dp(t),m1(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",vn(),Dp(t),g1(e,t)},useMemo:function(e,t){we="useMemo",vn(),Dp(t);var s=Ze.current;Ze.current=Xs;try{return C1(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",vn();var c=Ze.current;Ze.current=Xs;try{return l1(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",vn(),h1(e)},useState:function(e){we="useState",vn();var t=Ze.current;Ze.current=Xs;try{return e0(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",vn(),void 0},useDeferredValue:function(e){return we="useDeferredValue",vn(),x1(e)},useTransition:function(){return we="useTransition",vn(),E1()},useMutableSource:function(e,t,s){return we="useMutableSource",vn(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",vn(),d1(e,t,s)},useId:function(){return we="useId",vn(),S1()},unstable_isNewReconciler:ve},LD={readContext:function(e){return Dr(e)},useCallback:function(e,t){return we="useCallback",$e(),b1(e,t)},useContext:function(e){return we="useContext",$e(),Dr(e)},useEffect:function(e,t){return we="useEffect",$e(),r0(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",$e(),y1(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",$e(),m1(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",$e(),g1(e,t)},useMemo:function(e,t){we="useMemo",$e();var s=Ze.current;Ze.current=Xs;try{return C1(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",$e();var c=Ze.current;Ze.current=Xs;try{return l1(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",$e(),h1(e)},useState:function(e){we="useState",$e();var t=Ze.current;Ze.current=Xs;try{return e0(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",$e(),void 0},useDeferredValue:function(e){return we="useDeferredValue",$e(),x1(e)},useTransition:function(){return we="useTransition",$e(),E1()},useMutableSource:function(e,t,s){return we="useMutableSource",$e(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",$e(),d1(e,t,s)},useId:function(){return we="useId",$e(),S1()},unstable_isNewReconciler:ve},FD={readContext:function(e){return Dr(e)},useCallback:function(e,t){return we="useCallback",$e(),u0(e,t)},useContext:function(e){return we="useContext",$e(),Dr(e)},useEffect:function(e,t){return we="useEffect",$e(),um(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",$e(),o0(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",$e(),a0(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",$e(),i0(e,t)},useMemo:function(e,t){we="useMemo",$e();var s=Ze.current;Ze.current=Jo;try{return l0(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",$e();var c=Ze.current;Ze.current=Jo;try{return c1(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",$e(),t0()},useState:function(e){we="useState",$e();var t=Ze.current;Ze.current=Jo;try{return p1(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",$e(),s0()},useDeferredValue:function(e){return we="useDeferredValue",$e(),TD(e)},useTransition:function(){return we="useTransition",$e(),ND()},useMutableSource:function(e,t,s){return we="useMutableSource",$e(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",$e(),Kb(e,t)},useId:function(){return we="useId",$e(),c0()},unstable_isNewReconciler:ve},VD={readContext:function(e){return Dr(e)},useCallback:function(e,t){return we="useCallback",$e(),u0(e,t)},useContext:function(e){return we="useContext",$e(),Dr(e)},useEffect:function(e,t){return we="useEffect",$e(),um(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",$e(),o0(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",$e(),a0(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",$e(),i0(e,t)},useMemo:function(e,t){we="useMemo",$e();var s=Ze.current;Ze.current=d0;try{return l0(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",$e();var c=Ze.current;Ze.current=d0;try{return f1(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",$e(),t0()},useState:function(e){we="useState",$e();var t=Ze.current;Ze.current=d0;try{return v1(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",$e(),s0()},useDeferredValue:function(e){return we="useDeferredValue",$e(),ID(e)},useTransition:function(){return we="useTransition",$e(),OD()},useMutableSource:function(e,t,s){return we="useMutableSource",$e(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",$e(),Kb(e,t)},useId:function(){return we="useId",$e(),c0()},unstable_isNewReconciler:ve},Xs={readContext:function(e){return w1(),Dr(e)},useCallback:function(e,t){return we="useCallback",Nt(),vn(),b1(e,t)},useContext:function(e){return we="useContext",Nt(),vn(),Dr(e)},useEffect:function(e,t){return we="useEffect",Nt(),vn(),r0(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",Nt(),vn(),y1(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",Nt(),vn(),m1(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",Nt(),vn(),g1(e,t)},useMemo:function(e,t){we="useMemo",Nt(),vn();var s=Ze.current;Ze.current=Xs;try{return C1(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",Nt(),vn();var c=Ze.current;Ze.current=Xs;try{return l1(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",Nt(),vn(),h1(e)},useState:function(e){we="useState",Nt(),vn();var t=Ze.current;Ze.current=Xs;try{return e0(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",Nt(),vn(),void 0},useDeferredValue:function(e){return we="useDeferredValue",Nt(),vn(),x1(e)},useTransition:function(){return we="useTransition",Nt(),vn(),E1()},useMutableSource:function(e,t,s){return we="useMutableSource",Nt(),vn(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",Nt(),vn(),d1(e,t,s)},useId:function(){return we="useId",Nt(),vn(),S1()},unstable_isNewReconciler:ve},Jo={readContext:function(e){return w1(),Dr(e)},useCallback:function(e,t){return we="useCallback",Nt(),$e(),u0(e,t)},useContext:function(e){return we="useContext",Nt(),$e(),Dr(e)},useEffect:function(e,t){return we="useEffect",Nt(),$e(),um(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",Nt(),$e(),o0(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",Nt(),$e(),a0(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",Nt(),$e(),i0(e,t)},useMemo:function(e,t){we="useMemo",Nt(),$e();var s=Ze.current;Ze.current=Jo;try{return l0(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",Nt(),$e();var c=Ze.current;Ze.current=Jo;try{return c1(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",Nt(),$e(),t0()},useState:function(e){we="useState",Nt(),$e();var t=Ze.current;Ze.current=Jo;try{return p1(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",Nt(),$e(),s0()},useDeferredValue:function(e){return we="useDeferredValue",Nt(),$e(),TD(e)},useTransition:function(){return we="useTransition",Nt(),$e(),ND()},useMutableSource:function(e,t,s){return we="useMutableSource",Nt(),$e(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",Nt(),$e(),Kb(e,t)},useId:function(){return we="useId",Nt(),$e(),c0()},unstable_isNewReconciler:ve},d0={readContext:function(e){return w1(),Dr(e)},useCallback:function(e,t){return we="useCallback",Nt(),$e(),u0(e,t)},useContext:function(e){return we="useContext",Nt(),$e(),Dr(e)},useEffect:function(e,t){return we="useEffect",Nt(),$e(),um(e,t)},useImperativeHandle:function(e,t,s){return we="useImperativeHandle",Nt(),$e(),o0(e,t,s)},useInsertionEffect:function(e,t){return we="useInsertionEffect",Nt(),$e(),a0(e,t)},useLayoutEffect:function(e,t){return we="useLayoutEffect",Nt(),$e(),i0(e,t)},useMemo:function(e,t){we="useMemo",Nt(),$e();var s=Ze.current;Ze.current=Jo;try{return l0(e,t)}finally{Ze.current=s}},useReducer:function(e,t,s){we="useReducer",Nt(),$e();var c=Ze.current;Ze.current=Jo;try{return f1(e,t,s)}finally{Ze.current=c}},useRef:function(e){return we="useRef",Nt(),$e(),t0()},useState:function(e){we="useState",Nt(),$e();var t=Ze.current;Ze.current=Jo;try{return v1(e)}finally{Ze.current=t}},useDebugValue:function(e,t){return we="useDebugValue",Nt(),$e(),s0()},useDeferredValue:function(e){return we="useDeferredValue",Nt(),$e(),ID(e)},useTransition:function(){return we="useTransition",Nt(),$e(),OD()},useMutableSource:function(e,t,s){return we="useMutableSource",Nt(),$e(),void 0},useSyncExternalStore:function(e,t,s){return we="useSyncExternalStore",Nt(),$e(),Kb(e,t)},useId:function(){return we="useId",Nt(),$e(),c0()},unstable_isNewReconciler:ve}}var fc=r.unstable_now,BD=0,p0=-1,lm=-1,v0=-1,R1=!1,h0=!1;function zD(){return R1}function b5(){h0=!0}function C5(){R1=!1,h0=!1}function x5(){R1=h0,h0=!1}function HD(){return BD}function UD(){BD=fc()}function T1(e){lm=fc(),e.actualStartTime<0&&(e.actualStartTime=fc())}function GD(e){lm=-1}function m0(e,t){if(lm>=0){var s=fc()-lm;e.actualDuration+=s,t&&(e.selfBaseDuration=s),lm=-1}}function Ys(e){if(p0>=0){var t=fc()-p0;p0=-1;for(var s=e.return;s!==null;){switch(s.tag){case R:var c=s.stateNode;c.effectDuration+=t;return;case U:var v=s.stateNode;v.effectDuration+=t;return}s=s.return}}}function I1(e){if(v0>=0){var t=fc()-v0;v0=-1;for(var s=e.return;s!==null;){switch(s.tag){case R:var c=s.stateNode;c!==null&&(c.passiveEffectDuration+=t);return;case U:var v=s.stateNode;v!==null&&(v.passiveEffectDuration+=t);return}s=s.return}}}function Zs(){p0=fc()}function A1(){v0=fc()}function N1(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Af(e,t){return{value:e,source:t,stack:yl(t),digest:null}}function O1(e,t,s){return{value:e,source:null,stack:s??null,digest:t??null}}function E5(e,t){return!0}function _1(e,t){try{var s=E5(e,t);if(s===!1)return;var c=t.value,v=t.source,m=t.stack,S=m!==null?m:"";if(c!=null&&c._suppressLogging){if(e.tag===b)return;console.error(c)}var I=v?At(v):null,_=I?"The above error occurred in the <"+I+"> component:":"The above error occurred in one of your React components:",V;if(e.tag===R)V=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
186
|
-
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var H=At(e)||"Anonymous";V="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+H+".")}var ee=_+`
|
|
187
|
-
`+S+`
|
|
188
|
-
|
|
189
|
-
`+(""+V);console.error(ee)}catch(Q){setTimeout(function(){throw Q})}}var S5=typeof WeakMap=="function"?WeakMap:Map;function $D(e,t,s){var c=Ju(On,s);c.tag=_S,c.payload={element:null};var v=t.value;return c.callback=function(){hX(v),_1(e,t)},c}function D1(e,t,s){var c=Ju(On,s);c.tag=_S;var v=e.type.getDerivedStateFromError;if(typeof v=="function"){var m=t.value;c.payload=function(){return v(m)},c.callback=function(){nk(e),_1(e,t)}}var S=e.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(c.callback=function(){nk(e),_1(e,t),typeof v!="function"&&pX(this);var _=t.value,V=t.stack;this.componentDidCatch(_,{componentStack:V!==null?V:""}),typeof v!="function"&&(ka(e.lanes,Ct)||p("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",At(e)||"Unknown"))}),c}function WD(e,t,s){var c=e.pingCache,v;if(c===null?(c=e.pingCache=new S5,v=new Set,c.set(t,v)):(v=c.get(t),v===void 0&&(v=new Set,c.set(t,v))),!v.has(s)){v.add(s);var m=mX.bind(null,e,t,s);Mr&&Rm(e,s),t.then(m,m)}}function w5(e,t,s,c){var v=e.updateQueue;if(v===null){var m=new Set;m.add(s),e.updateQueue=m}else v.add(s)}function R5(e,t){var s=e.tag;if((e.mode&Vt)===mt&&(s===g||s===F||s===X)){var c=e.alternate;c?(e.updateQueue=c.updateQueue,e.memoizedState=c.memoizedState,e.lanes=c.lanes):(e.updateQueue=null,e.memoizedState=null)}}function XD(e){var t=e;do{if(t.tag===z&&l5(t))return t;t=t.return}while(t!==null);return null}function YD(e,t,s,c,v){if((e.mode&Vt)===mt){if(e===t)e.flags|=Ir;else{if(e.flags|=wt,s.flags|=Zc,s.flags&=~(bd|Wa),s.tag===b){var m=s.alternate;if(m===null)s.tag=Re;else{var S=Ju(On,Ct);S.tag=Bb,sc(s,S,Ct)}}s.lanes=kt(s.lanes,Ct)}return e}return e.flags|=Ir,e.lanes=v,e}function T5(e,t,s,c,v){if(s.flags|=Wa,Mr&&Rm(e,v),c!==null&&typeof c=="object"&&typeof c.then=="function"){var m=c;R5(s),pa()&&s.mode&Vt&&F_();var S=XD(t);if(S!==null){S.flags&=~er,YD(S,t,s,e,v),S.mode&Vt&&WD(e,m,v),w5(S,e,m);return}else{if(!Vl(v)){WD(e,m,v),fw();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(pa()&&s.mode&Vt){F_();var _=XD(t);if(_!==null){(_.flags&Ir)===ct&&(_.flags|=er),YD(_,t,s,e,v),wS(Af(c,s));return}}c=Af(c,s),iX(c);var V=t;do{switch(V.tag){case R:{var H=c;V.flags|=Ir;var ee=yr(v);V.lanes=kt(V.lanes,ee);var Q=$D(V,H,ee);kS(V,Q);return}case b:var le=c,fe=V.type,be=V.stateNode;if((V.flags&wt)===ct&&(typeof fe.getDerivedStateFromError=="function"||be!==null&&typeof be.componentDidCatch=="function"&&!Xj(be))){V.flags|=Ir;var qe=yr(v);V.lanes=kt(V.lanes,qe);var vt=D1(V,le,qe);kS(V,vt);return}break}V=V.return}while(V!==null)}function I5(){return null}var cm=i.ReactCurrentOwner,qo=!1,j1,fm,k1,M1,P1,Nf,L1,g0;j1={},fm={},k1={},M1={},P1={},Nf=!1,L1={},g0={};function Qa(e,t,s,c){e===null?t.child=dD(t,null,s,c):t.child=Ip(t,e.child,s,c)}function A5(e,t,s,c){t.child=Ip(t,e.child,null,c),t.child=Ip(t,null,s,c)}function ZD(e,t,s,c,v){if(t.type!==t.elementType){var m=s.propTypes;m&&$o(m,c,"prop",Qt(s))}var S=s.render,I=t.ref,_,V;Tp(t,v),js(t);{if(cm.current=t,Ra(!0),_=jp(e,t,S,c,I,v),V=kp(),t.mode&Zn){gr(!0);try{_=jp(e,t,S,c,I,v),V=kp()}finally{gr(!1)}}Ra(!1)}return Ru(),e!==null&&!qo?(gD(e,t,v),qu(e,t,v)):(pa()&&V&&yS(t),t.flags|=Ts,Qa(e,t,_,v),t.child)}function JD(e,t,s,c,v){if(e===null){var m=s.type;if(jX(m)&&s.compare===null&&s.defaultProps===void 0){var S=m;return S=Hp(m),t.tag=X,t.type=S,B1(t,m),qD(e,t,S,c,v)}{var I=m.propTypes;I&&$o(I,c,"prop",Qt(m))}var _=Ew(s.type,null,c,t,t.mode,v);return _.ref=t.ref,_.return=t,t.child=_,_}{var V=s.type,H=V.propTypes;H&&$o(H,c,"prop",Qt(V))}var ee=e.child,Q=W1(e,v);if(!Q){var le=ee.memoizedProps,fe=s.compare;if(fe=fe!==null?fe:ut,fe(le,c)&&e.ref===t.ref)return qu(e,t,v)}t.flags|=Ts;var be=kf(ee,c);return be.ref=t.ref,be.return=t,t.child=be,be}function qD(e,t,s,c,v){if(t.type!==t.elementType){var m=t.elementType;if(m.$$typeof===pt){var S=m,I=S._payload,_=S._init;try{m=_(I)}catch{m=null}var V=m&&m.propTypes;V&&$o(V,c,"prop",Qt(m))}}if(e!==null){var H=e.memoizedProps;if(ut(H,c)&&e.ref===t.ref&&t.type===e.type)if(qo=!1,t.pendingProps=c=H,W1(e,v))(e.flags&Zc)!==ct&&(qo=!0);else return t.lanes=e.lanes,qu(e,t,v)}return F1(e,t,s,c,v)}function QD(e,t,s){var c=t.pendingProps,v=c.children,m=e!==null?e.memoizedState:null;if(c.mode==="hidden"||L)if((t.mode&Vt)===mt){var S={baseLanes:Se,cachePool:null,transitions:null};t.memoizedState=S,O0(t,s)}else if(ka(s,ja)){var ee={baseLanes:Se,cachePool:null,transitions:null};t.memoizedState=ee;var Q=m!==null?m.baseLanes:s;O0(t,Q)}else{var I=null,_;if(m!==null){var V=m.baseLanes;_=kt(V,s)}else _=s;t.lanes=t.childLanes=ja;var H={baseLanes:_,cachePool:I,transitions:null};return t.memoizedState=H,t.updateQueue=null,O0(t,_),null}else{var le;m!==null?(le=kt(m.baseLanes,s),t.memoizedState=null):le=s,O0(t,le)}return Qa(e,t,v,s),t.child}function N5(e,t,s){var c=t.pendingProps;return Qa(e,t,c,s),t.child}function O5(e,t,s){var c=t.pendingProps.children;return Qa(e,t,c,s),t.child}function _5(e,t,s){{t.flags|=jt;{var c=t.stateNode;c.effectDuration=0,c.passiveEffectDuration=0}}var v=t.pendingProps,m=v.children;return Qa(e,t,m,s),t.child}function KD(e,t){var s=t.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(t.flags|=Ia,t.flags|=Xv)}function F1(e,t,s,c,v){if(t.type!==t.elementType){var m=s.propTypes;m&&$o(m,c,"prop",Qt(s))}var S;{var I=Cp(t,s,!0);S=xp(t,I)}var _,V;Tp(t,v),js(t);{if(cm.current=t,Ra(!0),_=jp(e,t,s,c,S,v),V=kp(),t.mode&Zn){gr(!0);try{_=jp(e,t,s,c,S,v),V=kp()}finally{gr(!1)}}Ra(!1)}return Ru(),e!==null&&!qo?(gD(e,t,v),qu(e,t,v)):(pa()&&V&&yS(t),t.flags|=Ts,Qa(e,t,_,v),t.child)}function ej(e,t,s,c,v){{switch(YX(t)){case!1:{var m=t.stateNode,S=t.type,I=new S(t.memoizedProps,m.context),_=I.state;m.updater.enqueueSetState(m,_,null);break}case!0:{t.flags|=wt,t.flags|=Ir;var V=new Error("Simulated error coming from DevTools"),H=yr(v);t.lanes=kt(t.lanes,H);var ee=D1(t,Af(V,t),H);kS(t,ee);break}}if(t.type!==t.elementType){var Q=s.propTypes;Q&&$o(Q,c,"prop",Qt(s))}}var le;Gs(s)?(le=!0,Nb(t)):le=!1,Tp(t,v);var fe=t.stateNode,be;fe===null?(b0(e,t),sD(t,s,c),WS(t,s,c,v),be=!0):e===null?be=r5(t,s,c,v):be=a5(e,t,s,c,v);var qe=V1(e,t,s,be,le,v);{var vt=t.stateNode;be&&vt.props!==c&&(Nf||p("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",At(t)||"a component"),Nf=!0)}return qe}function V1(e,t,s,c,v,m){KD(e,t);var S=(t.flags&wt)!==ct;if(!c&&!S)return v&&k_(t,s,!1),qu(e,t,m);var I=t.stateNode;cm.current=t;var _;if(S&&typeof s.getDerivedStateFromError!="function")_=null,GD();else{js(t);{if(Ra(!0),_=I.render(),t.mode&Zn){gr(!0);try{I.render()}finally{gr(!1)}}Ra(!1)}Ru()}return t.flags|=Ts,e!==null&&S?A5(e,t,_,m):Qa(e,t,_,m),t.memoizedState=I.state,v&&k_(t,s,!0),t.child}function tj(e){var t=e.stateNode;t.pendingContext?D_(e,t.pendingContext,t.pendingContext!==t.context):t.context&&D_(e,t.context,!1),QS(e,t.containerInfo)}function D5(e,t,s){if(tj(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var c=t.pendingProps,v=t.memoizedState,m=v.element;K_(e,t),Gb(t,c,null,s);var S=t.memoizedState;t.stateNode;var I=S.element;if(v.isDehydrated){var _={element:I,isDehydrated:!1,cache:S.cache,pendingSuspenseBoundaries:S.pendingSuspenseBoundaries,transitions:S.transitions},V=t.updateQueue;if(V.baseState=_,t.memoizedState=_,t.flags&er){var H=Af(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 nj(e,t,I,s,H)}else if(I!==m){var ee=Af(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return nj(e,t,I,s,ee)}else{P$(t);var Q=dD(t,null,I,s);t.child=Q;for(var le=Q;le;)le.flags=le.flags&~Ln|mi,le=le.sibling}}else{if(wp(),I===m)return qu(e,t,s);Qa(e,t,I,s)}return t.child}function nj(e,t,s,c,v){return wp(),wS(v),t.flags|=er,Qa(e,t,s,c),t.child}function j5(e,t,s){vD(t),e===null&&SS(t);var c=t.type,v=t.pendingProps,m=e!==null?e.memoizedProps:null,S=v.children,I=aS(c,v);return I?S=null:m!==null&&aS(c,m)&&(t.flags|=pn),KD(e,t),Qa(e,t,S,s),t.child}function k5(e,t){return e===null&&SS(t),null}function M5(e,t,s,c){b0(e,t);var v=t.pendingProps,m=s,S=m._payload,I=m._init,_=I(S);t.type=_;var V=t.tag=kX(_),H=Yo(_,v),ee;switch(V){case g:return B1(t,_),t.type=_=Hp(_),ee=F1(null,t,_,H,c),ee;case b:return t.type=_=mw(_),ee=ej(null,t,_,H,c),ee;case F:return t.type=_=gw(_),ee=ZD(null,t,_,H,c),ee;case G:{if(t.type!==t.elementType){var Q=_.propTypes;Q&&$o(Q,H,"prop",Qt(_))}return ee=JD(null,t,_,Yo(_.type,H),c),ee}}var le="";throw _!==null&&typeof _=="object"&&_.$$typeof===pt&&(le=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+_+". "+("Lazy element type must resolve to a class or function."+le))}function P5(e,t,s,c,v){b0(e,t),t.tag=b;var m;return Gs(s)?(m=!0,Nb(t)):m=!1,Tp(t,v),sD(t,s,c),WS(t,s,c,v),V1(null,t,s,!0,m,v)}function L5(e,t,s,c){b0(e,t);var v=t.pendingProps,m;{var S=Cp(t,s,!1);m=xp(t,S)}Tp(t,c);var I,_;js(t);{if(s.prototype&&typeof s.prototype.render=="function"){var V=Qt(s)||"Unknown";j1[V]||(p("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.",V,V),j1[V]=!0)}t.mode&Zn&&Xo.recordLegacyContextWarning(t,null),Ra(!0),cm.current=t,I=jp(null,t,s,v,m,c),_=kp(),Ra(!1)}if(Ru(),t.flags|=Ts,typeof I=="object"&&I!==null&&typeof I.render=="function"&&I.$$typeof===void 0){var H=Qt(s)||"Unknown";fm[H]||(p("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.",H,H,H),fm[H]=!0)}if(typeof I=="object"&&I!==null&&typeof I.render=="function"&&I.$$typeof===void 0){{var ee=Qt(s)||"Unknown";fm[ee]||(p("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.",ee,ee,ee),fm[ee]=!0)}t.tag=b,t.memoizedState=null,t.updateQueue=null;var Q=!1;return Gs(s)?(Q=!0,Nb(t)):Q=!1,t.memoizedState=I.state!==null&&I.state!==void 0?I.state:null,jS(t),oD(t,I),WS(t,s,v,c),V1(null,t,s,!0,Q,c)}else{if(t.tag=g,t.mode&Zn){gr(!0);try{I=jp(null,t,s,v,m,c),_=kp()}finally{gr(!1)}}return pa()&&_&&yS(t),Qa(null,t,I,c),B1(t,s),t.child}}function B1(e,t){{if(t&&t.childContextTypes&&p("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var s="",c=ca();c&&(s+=`
|
|
190
|
-
|
|
191
|
-
Check the render method of \``+c+"`.");var v=c||"",m=e._debugSource;m&&(v=m.fileName+":"+m.lineNumber),P1[v]||(P1[v]=!0,p("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 S=Qt(t)||"Unknown";M1[S]||(p("%s: Function components do not support getDerivedStateFromProps.",S),M1[S]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var I=Qt(t)||"Unknown";k1[I]||(p("%s: Function components do not support contextType.",I),k1[I]=!0)}}}var z1={dehydrated:null,treeContext:null,retryLane:Wt};function H1(e){return{baseLanes:e,cachePool:I5(),transitions:null}}function F5(e,t){var s=null;return{baseLanes:kt(e.baseLanes,t),cachePool:s,transitions:e.transitions}}function V5(e,t,s,c){if(t!==null){var v=t.memoizedState;if(v===null)return!1}return t1(e,nm)}function B5(e,t){return Bl(e.childLanes,t)}function rj(e,t,s){var c=t.pendingProps;ZX(t)&&(t.flags|=wt);var v=Zo.current,m=!1,S=(t.flags&wt)!==ct;if(S||V5(v,e)?(m=!0,t.flags&=~wt):(e===null||e.memoizedState!==null)&&(v=u5(v,mD)),v=Np(v),lc(t,v),e===null){SS(t);var I=t.memoizedState;if(I!==null){var _=I.dehydrated;if(_!==null)return $5(t,_)}var V=c.children,H=c.fallback;if(m){var ee=z5(t,V,H,s),Q=t.child;return Q.memoizedState=H1(s),t.memoizedState=z1,ee}else return U1(t,V)}else{var le=e.memoizedState;if(le!==null){var fe=le.dehydrated;if(fe!==null)return W5(e,t,S,c,fe,le,s)}if(m){var be=c.fallback,qe=c.children,vt=U5(e,t,qe,be,s),ot=t.child,Yt=e.child.memoizedState;return ot.memoizedState=Yt===null?H1(s):F5(Yt,s),ot.childLanes=B5(e,s),t.memoizedState=z1,vt}else{var Ht=c.children,re=H5(e,t,Ht,s);return t.memoizedState=null,re}}}function U1(e,t,s){var c=e.mode,v={mode:"visible",children:t},m=G1(v,c);return m.return=e,e.child=m,m}function z5(e,t,s,c){var v=e.mode,m=e.child,S={mode:"hidden",children:t},I,_;return(v&Vt)===mt&&m!==null?(I=m,I.childLanes=Se,I.pendingProps=S,e.mode&yt&&(I.actualDuration=0,I.actualStartTime=-1,I.selfBaseDuration=0,I.treeBaseDuration=0),_=gc(s,v,c,null)):(I=G1(S,v),_=gc(s,v,c,null)),I.return=e,_.return=e,I.sibling=_,e.child=I,_}function G1(e,t,s){return ak(e,t,Se,null)}function aj(e,t){return kf(e,t)}function H5(e,t,s,c){var v=e.child,m=v.sibling,S=aj(v,{mode:"visible",children:s});if((t.mode&Vt)===mt&&(S.lanes=c),S.return=t,S.sibling=null,m!==null){var I=t.deletions;I===null?(t.deletions=[m],t.flags|=un):I.push(m)}return t.child=S,S}function U5(e,t,s,c,v){var m=t.mode,S=e.child,I=S.sibling,_={mode:"hidden",children:s},V;if((m&Vt)===mt&&t.child!==S){var H=t.child;V=H,V.childLanes=Se,V.pendingProps=_,t.mode&yt&&(V.actualDuration=0,V.actualStartTime=-1,V.selfBaseDuration=S.selfBaseDuration,V.treeBaseDuration=S.treeBaseDuration),t.deletions=null}else V=aj(S,_),V.subtreeFlags=S.subtreeFlags&kr;var ee;return I!==null?ee=kf(I,c):(ee=gc(c,m,v,null),ee.flags|=Ln),ee.return=t,V.return=t,V.sibling=ee,t.child=V,ee}function y0(e,t,s,c){c!==null&&wS(c),Ip(t,e.child,null,s);var v=t.pendingProps,m=v.children,S=U1(t,m);return S.flags|=Ln,t.memoizedState=null,S}function G5(e,t,s,c,v){var m=t.mode,S={mode:"visible",children:s},I=G1(S,m),_=gc(c,m,v,null);return _.flags|=Ln,I.return=t,_.return=t,I.sibling=_,t.child=I,(t.mode&Vt)!==mt&&Ip(t,e.child,null,v),_}function $5(e,t,s){return(e.mode&Vt)===mt?(p("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=Ct):uS(t)?e.lanes=Au:e.lanes=ja,null}function W5(e,t,s,c,v,m,S){if(s)if(t.flags&er){t.flags&=~er;var re=O1(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return y0(e,t,S,re)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=wt,null;var Ce=c.children,ae=c.fallback,Fe=G5(e,t,Ce,ae,S),Qe=t.child;return Qe.memoizedState=H1(S),t.memoizedState=z1,Fe}else{if(k$(),(t.mode&Vt)===mt)return y0(e,t,S,null);if(uS(v)){var I,_,V;{var H=qG(v);I=H.digest,_=H.message,V=H.stack}var ee;_?ee=new Error(_):ee=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var Q=O1(ee,I,V);return y0(e,t,S,Q)}var le=ka(S,e.childLanes);if(qo||le){var fe=N0();if(fe!==null){var be=NE(fe,S);if(be!==Wt&&be!==m.retryLane){m.retryLane=be;var qe=On;Ti(e,be),Gr(fe,e,be,qe)}}fw();var vt=O1(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 y0(e,t,S,vt)}else if(T_(v)){t.flags|=wt,t.child=e.child;var ot=gX.bind(null,e);return QG(v,ot),null}else{L$(t,v,m.treeContext);var Yt=c.children,Ht=U1(t,Yt);return Ht.flags|=mi,Ht}}}function ij(e,t,s){e.lanes=kt(e.lanes,t);var c=e.alternate;c!==null&&(c.lanes=kt(c.lanes,t)),NS(e.return,t,s)}function X5(e,t,s){for(var c=t;c!==null;){if(c.tag===z){var v=c.memoizedState;v!==null&&ij(c,s,e)}else if(c.tag===pe)ij(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 Y5(e){for(var t=e,s=null;t!==null;){var c=t.alternate;c!==null&&qb(c)===null&&(s=t),t=t.sibling}return s}function Z5(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!L1[e])if(L1[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{p('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{p('"%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:p('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else p('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function J5(e,t){e!==void 0&&!g0[e]&&(e!=="collapsed"&&e!=="hidden"?(g0[e]=!0,p('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(g0[e]=!0,p('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function oj(e,t){{var s=Ut(e),c=!s&&typeof Li(e)=="function";if(s||c){var v=s?"array":"iterable";return p("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>",v,t,v),!1}}return!0}function q5(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Ut(e)){for(var s=0;s<e.length;s++)if(!oj(e[s],s))return}else{var c=Li(e);if(typeof c=="function"){var v=c.call(e);if(v)for(var m=v.next(),S=0;!m.done;m=v.next()){if(!oj(m.value,S))return;S++}}else p('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 $1(e,t,s,c,v){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:c,tail:s,tailMode:v}:(m.isBackwards=t,m.rendering=null,m.renderingStartTime=0,m.last=c,m.tail=s,m.tailMode=v)}function sj(e,t,s){var c=t.pendingProps,v=c.revealOrder,m=c.tail,S=c.children;Z5(v),J5(m,v),q5(S,v),Qa(e,t,S,s);var I=Zo.current,_=t1(I,nm);if(_)I=n1(I,nm),t.flags|=wt;else{var V=e!==null&&(e.flags&wt)!==ct;V&&X5(t,t.child,s),I=Np(I)}if(lc(t,I),(t.mode&Vt)===mt)t.memoizedState=null;else switch(v){case"forwards":{var H=Y5(t.child),ee;H===null?(ee=t.child,t.child=null):(ee=H.sibling,H.sibling=null),$1(t,!1,ee,H,m);break}case"backwards":{var Q=null,le=t.child;for(t.child=null;le!==null;){var fe=le.alternate;if(fe!==null&&qb(fe)===null){t.child=le;break}var be=le.sibling;le.sibling=Q,Q=le,le=be}$1(t,!0,Q,null,m);break}case"together":{$1(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function Q5(e,t,s){QS(t,t.stateNode.containerInfo);var c=t.pendingProps;return e===null?t.child=Ip(t,null,c,s):Qa(e,t,c,s),t.child}var uj=!1;function K5(e,t,s){var c=t.type,v=c._context,m=t.pendingProps,S=t.memoizedProps,I=m.value;{"value"in m||uj||(uj=!0,p("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var _=t.type.propTypes;_&&$o(_,m,"prop","Context.Provider")}if(Z_(t,v,I),S!==null){var V=S.value;if(nt(V,I)){if(S.children===m.children&&!Ib())return qu(e,t,s)}else X$(t,v,s)}var H=m.children;return Qa(e,t,H,s),t.child}var lj=!1;function eW(e,t,s){var c=t.type;c._context===void 0?c!==c.Consumer&&(lj||(lj=!0,p("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 v=t.pendingProps,m=v.children;typeof m!="function"&&p("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."),Tp(t,s);var S=Dr(c);js(t);var I;return cm.current=t,Ra(!0),I=m(S),Ra(!1),Ru(),t.flags|=Ts,Qa(e,t,I,s),t.child}function dm(){qo=!0}function b0(e,t){(t.mode&Vt)===mt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Ln)}function qu(e,t,s){return e!==null&&(t.dependencies=e.dependencies),GD(),wm(t.lanes),ka(s,t.childLanes)?(i5(e,t),t.child):null}function tW(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 v=c.child;if(v===null)throw new Error("Expected parent to have a child.");for(;v.sibling!==t;)if(v=v.sibling,v===null)throw new Error("Expected to find the previous sibling.");v.sibling=s}var m=c.deletions;return m===null?(c.deletions=[e],c.flags|=un):m.push(e),s.flags|=Ln,s}}function W1(e,t){var s=e.lanes;return!!ka(s,t)}function nW(e,t,s){switch(t.tag){case R:tj(t),t.stateNode,wp();break;case A:vD(t);break;case b:{var c=t.type;Gs(c)&&Nb(t);break}case T:QS(t,t.stateNode.containerInfo);break;case B:{var v=t.memoizedProps.value,m=t.type._context;Z_(t,m,v);break}case U:{var S=ka(s,t.childLanes);S&&(t.flags|=jt);{var I=t.stateNode;I.effectDuration=0,I.passiveEffectDuration=0}}break;case z:{var _=t.memoizedState;if(_!==null){if(_.dehydrated!==null)return lc(t,Np(Zo.current)),t.flags|=wt,null;var V=t.child,H=V.childLanes;if(ka(s,H))return rj(e,t,s);lc(t,Np(Zo.current));var ee=qu(e,t,s);return ee!==null?ee.sibling:null}else lc(t,Np(Zo.current));break}case pe:{var Q=(e.flags&wt)!==ct,le=ka(s,t.childLanes);if(Q){if(le)return sj(e,t,s);t.flags|=wt}var fe=t.memoizedState;if(fe!==null&&(fe.rendering=null,fe.tail=null,fe.lastEffect=null),lc(t,Zo.current),le)break;return null}case me:case Ae:return t.lanes=Se,QD(e,t,s)}return qu(e,t,s)}function cj(e,t,s){if(t._debugNeedsRemount&&e!==null)return tW(e,t,Ew(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var c=e.memoizedProps,v=t.pendingProps;if(c!==v||Ib()||t.type!==e.type)qo=!0;else{var m=W1(e,s);if(!m&&(t.flags&wt)===ct)return qo=!1,nW(e,t,s);(e.flags&Zc)!==ct?qo=!0:qo=!1}}else if(qo=!1,pa()&&A$(t)){var S=t.index,I=N$();L_(t,I,S)}switch(t.lanes=Se,t.tag){case E:return L5(e,t,t.type,s);case te:{var _=t.elementType;return M5(e,t,_,s)}case g:{var V=t.type,H=t.pendingProps,ee=t.elementType===V?H:Yo(V,H);return F1(e,t,V,ee,s)}case b:{var Q=t.type,le=t.pendingProps,fe=t.elementType===Q?le:Yo(Q,le);return ej(e,t,Q,fe,s)}case R:return D5(e,t,s);case A:return j5(e,t,s);case N:return k5(e,t);case z:return rj(e,t,s);case T:return Q5(e,t,s);case F:{var be=t.type,qe=t.pendingProps,vt=t.elementType===be?qe:Yo(be,qe);return ZD(e,t,be,vt,s)}case j:return N5(e,t,s);case O:return O5(e,t,s);case U:return _5(e,t,s);case B:return K5(e,t,s);case P:return eW(e,t,s);case G:{var ot=t.type,Yt=t.pendingProps,Ht=Yo(ot,Yt);if(t.type!==t.elementType){var re=ot.propTypes;re&&$o(re,Ht,"prop",Qt(ot))}return Ht=Yo(ot.type,Ht),JD(e,t,ot,Ht,s)}case X:return qD(e,t,t.type,t.pendingProps,s);case Re:{var Ce=t.type,ae=t.pendingProps,Fe=t.elementType===Ce?ae:Yo(Ce,ae);return P5(e,t,Ce,Fe,s)}case pe:return sj(e,t,s);case ye:break;case me:return QD(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 Mp(e){e.flags|=jt}function fj(e){e.flags|=Ia,e.flags|=Xv}var dj,X1,pj,vj;dj=function(e,t,s,c){for(var v=t.child;v!==null;){if(v.tag===A||v.tag===N)RG(e,v.stateNode);else if(v.tag!==T){if(v.child!==null){v.child.return=v,v=v.child;continue}}if(v===t)return;for(;v.sibling===null;){if(v.return===null||v.return===t)return;v=v.return}v.sibling.return=v.return,v=v.sibling}},X1=function(e,t){},pj=function(e,t,s,c,v){var m=e.memoizedProps;if(m!==c){var S=t.stateNode,I=KS(),_=IG(S,s,m,c,v,I);t.updateQueue=_,_&&Mp(t)}},vj=function(e,t,s,c){s!==c&&Mp(t)};function pm(e,t){if(!pa())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 v=e.tail,m=null;v!==null;)v.alternate!==null&&(m=v),v=v.sibling;m===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:m.sibling=null;break}}}function ha(e){var t=e.alternate!==null&&e.alternate.child===e.child,s=Se,c=ct;if(t){if((e.mode&yt)!==mt){for(var _=e.selfBaseDuration,V=e.child;V!==null;)s=kt(s,kt(V.lanes,V.childLanes)),c|=V.subtreeFlags&kr,c|=V.flags&kr,_+=V.treeBaseDuration,V=V.sibling;e.treeBaseDuration=_}else for(var H=e.child;H!==null;)s=kt(s,kt(H.lanes,H.childLanes)),c|=H.subtreeFlags&kr,c|=H.flags&kr,H.return=e,H=H.sibling;e.subtreeFlags|=c}else{if((e.mode&yt)!==mt){for(var v=e.actualDuration,m=e.selfBaseDuration,S=e.child;S!==null;)s=kt(s,kt(S.lanes,S.childLanes)),c|=S.subtreeFlags,c|=S.flags,v+=S.actualDuration,m+=S.treeBaseDuration,S=S.sibling;e.actualDuration=v,e.treeBaseDuration=m}else for(var I=e.child;I!==null;)s=kt(s,kt(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 rW(e,t,s){if(H$()&&(t.mode&Vt)!==mt&&(t.flags&wt)===ct)return G_(t),wp(),t.flags|=er|Wa|Ir,!1;var c=kb(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(B$(t),ha(t),(t.mode&yt)!==mt){var v=s!==null;if(v){var m=t.child;m!==null&&(t.treeBaseDuration-=m.treeBaseDuration)}}return!1}else{if(wp(),(t.flags&wt)===ct&&(t.memoizedState=null),t.flags|=jt,ha(t),(t.mode&yt)!==mt){var S=s!==null;if(S){var I=t.child;I!==null&&(t.treeBaseDuration-=I.treeBaseDuration)}}return!1}else return $_(),!0}function hj(e,t,s){var c=t.pendingProps;switch(bS(t),t.tag){case E:case te:case X:case g:case F:case j:case O:case U:case P:case G:return ha(t),null;case b:{var v=t.type;return Gs(v)&&Ab(t),ha(t),null}case R:{var m=t.stateNode;if(Ap(t),hS(t),a1(),m.pendingContext&&(m.context=m.pendingContext,m.pendingContext=null),e===null||e.child===null){var S=kb(t);if(S)Mp(t);else if(e!==null){var I=e.memoizedState;(!I.isDehydrated||(t.flags&er)!==ct)&&(t.flags|=hi,$_())}}return X1(e,t),ha(t),null}case A:{e1(t);var _=pD(),V=t.type;if(e!==null&&t.stateNode!=null)pj(e,t,V,c,_),e.ref!==t.ref&&fj(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 ha(t),null}var H=KS(),ee=kb(t);if(ee)F$(t,_,H)&&Mp(t);else{var Q=wG(V,c,_,H,t);dj(Q,t,!1,!1),t.stateNode=Q,TG(Q,V,c,_)&&Mp(t)}t.ref!==null&&fj(t)}return ha(t),null}case N:{var le=c;if(e&&t.stateNode!=null){var fe=e.memoizedProps;vj(e,t,fe,le)}else{if(typeof le!="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=pD(),qe=KS(),vt=kb(t);vt?V$(t)&&Mp(t):t.stateNode=AG(le,be,qe,t)}return ha(t),null}case z:{Op(t);var ot=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Yt=rW(e,t,ot);if(!Yt)return t.flags&Ir?t:null}if((t.flags&wt)!==ct)return t.lanes=s,(t.mode&yt)!==mt&&N1(t),t;var Ht=ot!==null,re=e!==null&&e.memoizedState!==null;if(Ht!==re&&Ht){var Ce=t.child;if(Ce.flags|=Is,(t.mode&Vt)!==mt){var ae=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!q);ae||t1(Zo.current,mD)?aX():fw()}}var Fe=t.updateQueue;if(Fe!==null&&(t.flags|=jt),ha(t),(t.mode&yt)!==mt&&Ht){var Qe=t.child;Qe!==null&&(t.treeBaseDuration-=Qe.treeBaseDuration)}return null}case T:return Ap(t),X1(e,t),e===null&&x$(t.stateNode.containerInfo),ha(t),null;case B:var Xe=t.type._context;return AS(Xe,t),ha(t),null;case Re:{var Et=t.type;return Gs(Et)&&Ab(t),ha(t),null}case pe:{Op(t);var Ot=t.memoizedState;if(Ot===null)return ha(t),null;var Rn=(t.flags&wt)!==ct,an=Ot.rendering;if(an===null)if(Rn)pm(Ot,!1);else{var Er=oX()&&(e===null||(e.flags&wt)===ct);if(!Er)for(var on=t.child;on!==null;){var mr=qb(on);if(mr!==null){Rn=!0,t.flags|=wt,pm(Ot,!1);var Fa=mr.updateQueue;return Fa!==null&&(t.updateQueue=Fa,t.flags|=jt),t.subtreeFlags=ct,o5(t,s),lc(t,n1(Zo.current,nm)),t.child}on=on.sibling}Ot.tail!==null&&Yn()>Pj()&&(t.flags|=wt,Rn=!0,pm(Ot,!1),t.lanes=oh)}else{if(!Rn){var Ca=qb(an);if(Ca!==null){t.flags|=wt,Rn=!0;var Yi=Ca.updateQueue;if(Yi!==null&&(t.updateQueue=Yi,t.flags|=jt),pm(Ot,!0),Ot.tail===null&&Ot.tailMode==="hidden"&&!an.alternate&&!pa())return ha(t),null}else Yn()*2-Ot.renderingStartTime>Pj()&&s!==ja&&(t.flags|=wt,Rn=!0,pm(Ot,!1),t.lanes=oh)}if(Ot.isBackwards)an.sibling=t.child,t.child=an;else{var ti=Ot.last;ti!==null?ti.sibling=an:t.child=an,Ot.last=an}}if(Ot.tail!==null){var ni=Ot.tail;Ot.rendering=ni,Ot.tail=ni.sibling,Ot.renderingStartTime=Yn(),ni.sibling=null;var Va=Zo.current;return Rn?Va=n1(Va,nm):Va=Np(Va),lc(t,Va),ni}return ha(t),null}case ye:break;case me:case Ae:{cw(t);var nl=t.memoizedState,Up=nl!==null;if(e!==null){var Nm=e.memoizedState,Qs=Nm!==null;Qs!==Up&&!L&&(t.flags|=Is)}return!Up||(t.mode&Vt)===mt?ha(t):ka(qs,ja)&&(ha(t),t.subtreeFlags&(Ln|jt)&&(t.flags|=Is)),null}case _e:return null;case Oe: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 aW(e,t,s){switch(bS(t),t.tag){case b:{var c=t.type;Gs(c)&&Ab(t);var v=t.flags;return v&Ir?(t.flags=v&~Ir|wt,(t.mode&yt)!==mt&&N1(t),t):null}case R:{t.stateNode,Ap(t),hS(t),a1();var m=t.flags;return(m&Ir)!==ct&&(m&wt)===ct?(t.flags=m&~Ir|wt,t):null}case A:return e1(t),null;case z:{Op(t);var S=t.memoizedState;if(S!==null&&S.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");wp()}var I=t.flags;return I&Ir?(t.flags=I&~Ir|wt,(t.mode&yt)!==mt&&N1(t),t):null}case pe:return Op(t),null;case T:return Ap(t),null;case B:var _=t.type._context;return AS(_,t),null;case me:case Ae:return cw(t),null;case _e:return null;default:return null}}function mj(e,t,s){switch(bS(t),t.tag){case b:{var c=t.type.childContextTypes;c!=null&&Ab(t);break}case R:{t.stateNode,Ap(t),hS(t),a1();break}case A:{e1(t);break}case T:Ap(t);break;case z:Op(t);break;case pe:Op(t);break;case B:var v=t.type._context;AS(v,t);break;case me:case Ae:cw(t);break}}var gj=null;gj=new Set;var C0=!1,ma=!1,iW=typeof WeakSet=="function"?WeakSet:Set,rt=null,Pp=null,Lp=null;function oW(e){Su(null,function(){throw e}),$v()}var sW=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&yt)try{Zs(),t.componentWillUnmount()}finally{Ys(e)}else t.componentWillUnmount()};function yj(e,t){try{dc(Fr,e)}catch(s){zn(e,t,s)}}function Y1(e,t,s){try{sW(e,s)}catch(c){zn(e,t,c)}}function uW(e,t,s){try{s.componentDidMount()}catch(c){zn(e,t,c)}}function bj(e,t){try{xj(e)}catch(s){zn(e,t,s)}}function Fp(e,t){var s=e.ref;if(s!==null)if(typeof s=="function"){var c;try{if(ie&&he&&e.mode&yt)try{Zs(),c=s(null)}finally{Ys(e)}else c=s(null)}catch(v){zn(e,t,v)}typeof c=="function"&&p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",At(e))}else s.current=null}function x0(e,t,s){try{s()}catch(c){zn(e,t,c)}}var Cj=!1;function lW(e,t){EG(e.containerInfo),rt=t,cW();var s=Cj;return Cj=!1,s}function cW(){for(;rt!==null;){var e=rt,t=e.child;(e.subtreeFlags&Dl)!==ct&&t!==null?(t.return=e,rt=t):fW()}}function fW(){for(;rt!==null;){var e=rt;dn(e);try{dW(e)}catch(s){zn(e,e.return,s)}Kn();var t=e.sibling;if(t!==null){t.return=e.return,rt=t;return}rt=e.return}}function dW(e){var t=e.alternate,s=e.flags;if((s&hi)!==ct){switch(dn(e),e.tag){case g:case F:case X:break;case b:{if(t!==null){var c=t.memoizedProps,v=t.memoizedState,m=e.stateNode;e.type===e.elementType&&!Nf&&(m.props!==e.memoizedProps&&p("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.",At(e)||"instance"),m.state!==e.memoizedState&&p("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.",At(e)||"instance"));var S=m.getSnapshotBeforeUpdate(e.elementType===e.type?c:Yo(e.type,c),v);{var I=gj;S===void 0&&!I.has(e.type)&&(I.add(e.type),p("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",At(e)))}m.__reactInternalSnapshotBeforeUpdate=S}break}case R:{{var _=e.stateNode;XG(_.containerInfo)}break}case A:case N:case T:case Re:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Kn()}}function Qo(e,t,s){var c=t.updateQueue,v=c!==null?c.lastEffect:null;if(v!==null){var m=v.next,S=m;do{if((S.tag&e)===e){var I=S.destroy;S.destroy=void 0,I!==void 0&&((e&va)!==Ii?Id(t):(e&Fr)!==Ii&&Ad(t),(e&$s)!==Ii&&Tm(!0),x0(t,s,I),(e&$s)!==Ii&&Tm(!1),(e&va)!==Ii?jy():(e&Fr)!==Ii&&jl())}S=S.next}while(S!==m)}}function dc(e,t){var s=t.updateQueue,c=s!==null?s.lastEffect:null;if(c!==null){var v=c.next,m=v;do{if((m.tag&e)===e){(e&va)!==Ii?Dy(t):(e&Fr)!==Ii&&ky(t);var S=m.create;(e&$s)!==Ii&&Tm(!0),m.destroy=S(),(e&$s)!==Ii&&Tm(!1),(e&va)!==Ii?rh():(e&Fr)!==Ii&&My();{var I=m.destroy;if(I!==void 0&&typeof I!="function"){var _=void 0;(m.tag&Fr)!==ct?_="useLayoutEffect":(m.tag&$s)!==ct?_="useInsertionEffect":_="useEffect";var V=void 0;I===null?V=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof I.then=="function"?V=`
|
|
192
|
-
|
|
193
|
-
It looks like you wrote `+_+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
194
|
-
|
|
195
|
-
`+_+`(() => {
|
|
196
|
-
async function fetchData() {
|
|
197
|
-
// You can await here
|
|
198
|
-
const response = await MyAPI.getData(someId);
|
|
199
|
-
// ...
|
|
200
|
-
}
|
|
201
|
-
fetchData();
|
|
202
|
-
}, [someId]); // Or [] if effect doesn't need props or state
|
|
203
|
-
|
|
204
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:V=" You returned: "+I,p("%s must not return anything besides a function, which is used for clean-up.%s",_,V)}}}m=m.next}while(m!==v)}}function pW(e,t){if((t.flags&jt)!==ct)switch(t.tag){case U:{var s=t.stateNode.passiveEffectDuration,c=t.memoizedProps,v=c.id,m=c.onPostCommit,S=HD(),I=t.alternate===null?"mount":"update";zD()&&(I="nested-update"),typeof m=="function"&&m(v,I,s,S);var _=t.return;e:for(;_!==null;){switch(_.tag){case R:var V=_.stateNode;V.passiveEffectDuration+=s;break e;case U:var H=_.stateNode;H.passiveEffectDuration+=s;break e}_=_.return}break}}}function vW(e,t,s,c){if((s.flags&Zr)!==ct)switch(s.tag){case g:case F:case X:{if(!ma)if(s.mode&yt)try{Zs(),dc(Fr|Lr,s)}finally{Ys(s)}else dc(Fr|Lr,s);break}case b:{var v=s.stateNode;if(s.flags&jt&&!ma)if(t===null)if(s.type===s.elementType&&!Nf&&(v.props!==s.memoizedProps&&p("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.",At(s)||"instance"),v.state!==s.memoizedState&&p("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.",At(s)||"instance")),s.mode&yt)try{Zs(),v.componentDidMount()}finally{Ys(s)}else v.componentDidMount();else{var m=s.elementType===s.type?t.memoizedProps:Yo(s.type,t.memoizedProps),S=t.memoizedState;if(s.type===s.elementType&&!Nf&&(v.props!==s.memoizedProps&&p("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.",At(s)||"instance"),v.state!==s.memoizedState&&p("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.",At(s)||"instance")),s.mode&yt)try{Zs(),v.componentDidUpdate(m,S,v.__reactInternalSnapshotBeforeUpdate)}finally{Ys(s)}else v.componentDidUpdate(m,S,v.__reactInternalSnapshotBeforeUpdate)}var I=s.updateQueue;I!==null&&(s.type===s.elementType&&!Nf&&(v.props!==s.memoizedProps&&p("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.",At(s)||"instance"),v.state!==s.memoizedState&&p("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.",At(s)||"instance")),tD(s,I,v));break}case R:{var _=s.updateQueue;if(_!==null){var V=null;if(s.child!==null)switch(s.child.tag){case A:V=s.child.stateNode;break;case b:V=s.child.stateNode;break}tD(s,_,V)}break}case A:{var H=s.stateNode;if(t===null&&s.flags&jt){var ee=s.type,Q=s.memoizedProps;jG(H,ee,Q)}break}case N:break;case T:break;case U:{{var le=s.memoizedProps,fe=le.onCommit,be=le.onRender,qe=s.stateNode.effectDuration,vt=HD(),ot=t===null?"mount":"update";zD()&&(ot="nested-update"),typeof be=="function"&&be(s.memoizedProps.id,ot,s.actualDuration,s.treeBaseDuration,s.actualStartTime,vt);{typeof fe=="function"&&fe(s.memoizedProps.id,ot,qe,vt),fX(s);var Yt=s.return;e:for(;Yt!==null;){switch(Yt.tag){case R:var Ht=Yt.stateNode;Ht.effectDuration+=qe;break e;case U:var re=Yt.stateNode;re.effectDuration+=qe;break e}Yt=Yt.return}}}break}case z:{EW(e,s);break}case pe:case Re:case ye:case me:case Ae:case Oe: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.")}ma||s.flags&Ia&&xj(s)}function hW(e){switch(e.tag){case g:case F:case X:{if(e.mode&yt)try{Zs(),yj(e,e.return)}finally{Ys(e)}else yj(e,e.return);break}case b:{var t=e.stateNode;typeof t.componentDidMount=="function"&&uW(e,e.return,t),bj(e,e.return);break}case A:{bj(e,e.return);break}}}function mW(e,t){for(var s=null,c=e;;){if(c.tag===A){if(s===null){s=c;try{var v=c.stateNode;t?UG(v):$G(c.stateNode,c.memoizedProps)}catch(S){zn(e,e.return,S)}}}else if(c.tag===N){if(s===null)try{var m=c.stateNode;t?GG(m):WG(m,c.memoizedProps)}catch(S){zn(e,e.return,S)}}else if(!((c.tag===me||c.tag===Ae)&&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 xj(e){var t=e.ref;if(t!==null){var s=e.stateNode,c;switch(e.tag){case A:c=s;break;default:c=s}if(typeof t=="function"){var v;if(e.mode&yt)try{Zs(),v=t(c)}finally{Ys(e)}else v=t(c);typeof v=="function"&&p("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",At(e))}else t.hasOwnProperty("current")||p("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",At(e)),t.current=c}}function gW(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function Ej(e){var t=e.alternate;t!==null&&(e.alternate=null,Ej(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===A){var s=e.stateNode;s!==null&&w$(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 yW(e){for(var t=e.return;t!==null;){if(Sj(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 Sj(e){return e.tag===A||e.tag===R||e.tag===T}function wj(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||Sj(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==A&&t.tag!==N&&t.tag!==ue;){if(t.flags&Ln||t.child===null||t.tag===T)continue e;t.child.return=t,t=t.child}if(!(t.flags&Ln))return t.stateNode}}function bW(e){var t=yW(e);switch(t.tag){case A:{var s=t.stateNode;t.flags&pn&&(R_(s),t.flags&=~pn);var c=wj(e);J1(e,c,s);break}case R:case T:{var v=t.stateNode.containerInfo,m=wj(e);Z1(e,m,v);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Z1(e,t,s){var c=e.tag,v=c===A||c===N;if(v){var m=e.stateNode;t?VG(s,m,t):LG(s,m)}else if(c!==T){var S=e.child;if(S!==null){Z1(S,t,s);for(var I=S.sibling;I!==null;)Z1(I,t,s),I=I.sibling}}}function J1(e,t,s){var c=e.tag,v=c===A||c===N;if(v){var m=e.stateNode;t?FG(s,m,t):PG(s,m)}else if(c!==T){var S=e.child;if(S!==null){J1(S,t,s);for(var I=S.sibling;I!==null;)J1(I,t,s),I=I.sibling}}}var ga=null,Ko=!1;function CW(e,t,s){{var c=t;e:for(;c!==null;){switch(c.tag){case A:{ga=c.stateNode,Ko=!1;break e}case R:{ga=c.stateNode.containerInfo,Ko=!0;break e}case T:{ga=c.stateNode.containerInfo,Ko=!0;break e}}c=c.return}if(ga===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Rj(e,t,s),ga=null,Ko=!1}gW(s)}function pc(e,t,s){for(var c=s.child;c!==null;)Rj(e,t,c),c=c.sibling}function Rj(e,t,s){switch(th(s),s.tag){case A:ma||Fp(s,t);case N:{{var c=ga,v=Ko;ga=null,pc(e,t,s),ga=c,Ko=v,ga!==null&&(Ko?zG(ga,s.stateNode):BG(ga,s.stateNode))}return}case ue:{ga!==null&&(Ko?HG(ga,s.stateNode):sS(ga,s.stateNode));return}case T:{{var m=ga,S=Ko;ga=s.stateNode.containerInfo,Ko=!0,pc(e,t,s),ga=m,Ko=S}return}case g:case F:case G:case X:{if(!ma){var I=s.updateQueue;if(I!==null){var _=I.lastEffect;if(_!==null){var V=_.next,H=V;do{var ee=H,Q=ee.destroy,le=ee.tag;Q!==void 0&&((le&$s)!==Ii?x0(s,t,Q):(le&Fr)!==Ii&&(Ad(s),s.mode&yt?(Zs(),x0(s,t,Q),Ys(s)):x0(s,t,Q),jl())),H=H.next}while(H!==V)}}}pc(e,t,s);return}case b:{if(!ma){Fp(s,t);var fe=s.stateNode;typeof fe.componentWillUnmount=="function"&&Y1(s,t,fe)}pc(e,t,s);return}case ye:{pc(e,t,s);return}case me:{if(s.mode&Vt){var be=ma;ma=be||s.memoizedState!==null,pc(e,t,s),ma=be}else pc(e,t,s);break}default:{pc(e,t,s);return}}}function xW(e){e.memoizedState}function EW(e,t){var s=t.memoizedState;if(s===null){var c=t.alternate;if(c!==null){var v=c.memoizedState;if(v!==null){var m=v.dehydrated;m!==null&&s$(m)}}}}function Tj(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new iW),t.forEach(function(c){var v=yX.bind(null,e,c);if(!s.has(c)){if(s.add(c),Mr)if(Pp!==null&&Lp!==null)Rm(Lp,Pp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");c.then(v,v)}})}}function SW(e,t,s){Pp=s,Lp=e,dn(t),Ij(t,e),dn(t),Pp=null,Lp=null}function es(e,t,s){var c=t.deletions;if(c!==null)for(var v=0;v<c.length;v++){var m=c[v];try{CW(e,t,m)}catch(_){zn(m,t,_)}}var S=id();if(t.subtreeFlags&Oa)for(var I=t.child;I!==null;)dn(I),Ij(I,e),I=I.sibling;dn(S)}function Ij(e,t,s){var c=e.alternate,v=e.flags;switch(e.tag){case g:case F:case G:case X:{if(es(t,e),Js(e),v&jt){try{Qo($s|Lr,e,e.return),dc($s|Lr,e)}catch(Et){zn(e,e.return,Et)}if(e.mode&yt){try{Zs(),Qo(Fr|Lr,e,e.return)}catch(Et){zn(e,e.return,Et)}Ys(e)}else try{Qo(Fr|Lr,e,e.return)}catch(Et){zn(e,e.return,Et)}}return}case b:{es(t,e),Js(e),v&Ia&&c!==null&&Fp(c,c.return);return}case A:{es(t,e),Js(e),v&Ia&&c!==null&&Fp(c,c.return);{if(e.flags&pn){var m=e.stateNode;try{R_(m)}catch(Et){zn(e,e.return,Et)}}if(v&jt){var S=e.stateNode;if(S!=null){var I=e.memoizedProps,_=c!==null?c.memoizedProps:I,V=e.type,H=e.updateQueue;if(e.updateQueue=null,H!==null)try{kG(S,H,V,_,I,e)}catch(Et){zn(e,e.return,Et)}}}}return}case N:{if(es(t,e),Js(e),v&jt){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 ee=e.stateNode,Q=e.memoizedProps,le=c!==null?c.memoizedProps:Q;try{MG(ee,le,Q)}catch(Et){zn(e,e.return,Et)}}return}case R:{if(es(t,e),Js(e),v&jt&&c!==null){var fe=c.memoizedState;if(fe.isDehydrated)try{o$(t.containerInfo)}catch(Et){zn(e,e.return,Et)}}return}case T:{es(t,e),Js(e);return}case z:{es(t,e),Js(e);var be=e.child;if(be.flags&Is){var qe=be.stateNode,vt=be.memoizedState,ot=vt!==null;if(qe.isHidden=ot,ot){var Yt=be.alternate!==null&&be.alternate.memoizedState!==null;Yt||rX()}}if(v&jt){try{xW(e)}catch(Et){zn(e,e.return,Et)}Tj(e)}return}case me:{var Ht=c!==null&&c.memoizedState!==null;if(e.mode&Vt){var re=ma;ma=re||Ht,es(t,e),ma=re}else es(t,e);if(Js(e),v&Is){var Ce=e.stateNode,ae=e.memoizedState,Fe=ae!==null,Qe=e;if(Ce.isHidden=Fe,Fe&&!Ht&&(Qe.mode&Vt)!==mt){rt=Qe;for(var Xe=Qe.child;Xe!==null;)rt=Xe,RW(Xe),Xe=Xe.sibling}mW(Qe,Fe)}return}case pe:{es(t,e),Js(e),v&jt&&Tj(e);return}case ye:return;default:{es(t,e),Js(e);return}}}function Js(e){var t=e.flags;if(t&Ln){try{bW(e)}catch(s){zn(e,e.return,s)}e.flags&=~Ln}t&mi&&(e.flags&=~mi)}function wW(e,t,s){Pp=s,Lp=t,rt=e,Aj(e,t,s),Pp=null,Lp=null}function Aj(e,t,s){for(var c=(e.mode&Vt)!==mt;rt!==null;){var v=rt,m=v.child;if(v.tag===me&&c){var S=v.memoizedState!==null,I=S||C0;if(I){q1(e,t,s);continue}else{var _=v.alternate,V=_!==null&&_.memoizedState!==null,H=V||ma,ee=C0,Q=ma;C0=I,ma=H,ma&&!Q&&(rt=v,TW(v));for(var le=m;le!==null;)rt=le,Aj(le,t,s),le=le.sibling;rt=v,C0=ee,ma=Q,q1(e,t,s);continue}}(v.subtreeFlags&Zr)!==ct&&m!==null?(m.return=v,rt=m):q1(e,t,s)}}function q1(e,t,s){for(;rt!==null;){var c=rt;if((c.flags&Zr)!==ct){var v=c.alternate;dn(c);try{vW(t,v,c,s)}catch(S){zn(c,c.return,S)}Kn()}if(c===e){rt=null;return}var m=c.sibling;if(m!==null){m.return=c.return,rt=m;return}rt=c.return}}function RW(e){for(;rt!==null;){var t=rt,s=t.child;switch(t.tag){case g:case F:case G:case X:{if(t.mode&yt)try{Zs(),Qo(Fr,t,t.return)}finally{Ys(t)}else Qo(Fr,t,t.return);break}case b:{Fp(t,t.return);var c=t.stateNode;typeof c.componentWillUnmount=="function"&&Y1(t,t.return,c);break}case A:{Fp(t,t.return);break}case me:{var v=t.memoizedState!==null;if(v){Nj(e);continue}break}}s!==null?(s.return=t,rt=s):Nj(e)}}function Nj(e){for(;rt!==null;){var t=rt;if(t===e){rt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,rt=s;return}rt=t.return}}function TW(e){for(;rt!==null;){var t=rt,s=t.child;if(t.tag===me){var c=t.memoizedState!==null;if(c){Oj(e);continue}}s!==null?(s.return=t,rt=s):Oj(e)}}function Oj(e){for(;rt!==null;){var t=rt;dn(t);try{hW(t)}catch(c){zn(t,t.return,c)}if(Kn(),t===e){rt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,rt=s;return}rt=t.return}}function IW(e,t,s,c){rt=t,AW(t,e,s,c)}function AW(e,t,s,c){for(;rt!==null;){var v=rt,m=v.child;(v.subtreeFlags&gi)!==ct&&m!==null?(m.return=v,rt=m):NW(e,t,s,c)}}function NW(e,t,s,c){for(;rt!==null;){var v=rt;if((v.flags&Un)!==ct){dn(v);try{OW(t,v,s,c)}catch(S){zn(v,v.return,S)}Kn()}if(v===e){rt=null;return}var m=v.sibling;if(m!==null){m.return=v.return,rt=m;return}rt=v.return}}function OW(e,t,s,c){switch(t.tag){case g:case F:case X:{if(t.mode&yt){A1();try{dc(va|Lr,t)}finally{I1(t)}}else dc(va|Lr,t);break}}}function _W(e){rt=e,DW()}function DW(){for(;rt!==null;){var e=rt,t=e.child;if((rt.flags&un)!==ct){var s=e.deletions;if(s!==null){for(var c=0;c<s.length;c++){var v=s[c];rt=v,MW(v,e)}{var m=e.alternate;if(m!==null){var S=m.child;if(S!==null){m.child=null;do{var I=S.sibling;S.sibling=null,S=I}while(S!==null)}}}rt=e}}(e.subtreeFlags&gi)!==ct&&t!==null?(t.return=e,rt=t):jW()}}function jW(){for(;rt!==null;){var e=rt;(e.flags&Un)!==ct&&(dn(e),kW(e),Kn());var t=e.sibling;if(t!==null){t.return=e.return,rt=t;return}rt=e.return}}function kW(e){switch(e.tag){case g:case F:case X:{e.mode&yt?(A1(),Qo(va|Lr,e,e.return),I1(e)):Qo(va|Lr,e,e.return);break}}}function MW(e,t){for(;rt!==null;){var s=rt;dn(s),LW(s,t),Kn();var c=s.child;c!==null?(c.return=s,rt=c):PW(e)}}function PW(e){for(;rt!==null;){var t=rt,s=t.sibling,c=t.return;if(Ej(t),t===e){rt=null;return}if(s!==null){s.return=c,rt=s;return}rt=c}}function LW(e,t){switch(e.tag){case g:case F:case X:{e.mode&yt?(A1(),Qo(va,e,t),I1(e)):Qo(va,e,t);break}}}function FW(e){switch(e.tag){case g:case F:case X:{try{dc(Fr|Lr,e)}catch(s){zn(e,e.return,s)}break}case b:{var t=e.stateNode;try{t.componentDidMount()}catch(s){zn(e,e.return,s)}break}}}function VW(e){switch(e.tag){case g:case F:case X:{try{dc(va|Lr,e)}catch(t){zn(e,e.return,t)}break}}}function BW(e){switch(e.tag){case g:case F:case X:{try{Qo(Fr|Lr,e,e.return)}catch(s){zn(e,e.return,s)}break}case b:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&Y1(e,e.return,t);break}}}function zW(e){switch(e.tag){case g:case F:case X:try{Qo(va|Lr,e,e.return)}catch(t){zn(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var vm=Symbol.for;vm("selector.component"),vm("selector.has_pseudo_class"),vm("selector.role"),vm("selector.test_id"),vm("selector.text")}var HW=[];function UW(){HW.forEach(function(e){return e()})}var GW=i.ReactCurrentActQueue;function $W(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,s=typeof jest<"u";return s&&t!==!1}}function _j(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&GW.current!==null&&p("The current testing environment is not configured to support act(...)"),e}}var WW=Math.ceil,Q1=i.ReactCurrentDispatcher,K1=i.ReactCurrentOwner,ya=i.ReactCurrentBatchConfig,ts=i.ReactCurrentActQueue,zr=0,Dj=1,ba=2,Co=4,Qu=0,hm=1,Of=2,E0=3,mm=4,jj=5,ew=6,Xt=zr,Ka=null,ur=null,Hr=Se,qs=Se,tw=rc(Se),Ur=Qu,gm=null,S0=Se,ym=Se,w0=Se,bm=null,Ai=null,nw=0,kj=500,Mj=1/0,XW=500,Ku=null;function Cm(){Mj=Yn()+XW}function Pj(){return Mj}var R0=!1,rw=null,Vp=null,_f=!1,vc=null,xm=Se,aw=[],iw=null,YW=50,Em=0,ow=null,sw=!1,T0=!1,ZW=50,Bp=0,I0=null,Sm=On,A0=Se,Lj=!1;function N0(){return Ka}function ei(){return(Xt&(ba|Co))!==zr?Yn():(Sm!==On||(Sm=Yn()),Sm)}function hc(e){var t=e.mode;if((t&Vt)===mt)return Ct;if((Xt&ba)!==zr&&Hr!==Se)return yr(Hr);var s=$$()!==G$;if(s){if(ya.transition!==null){var c=ya.transition;c._updatedFibers||(c._updatedFibers=new Set),c._updatedFibers.add(e)}return A0===Wt&&(A0=lh()),A0}var v=xi();if(v!==Wt)return v;var m=NG();return m}function JW(e){var t=e.mode;return(t&Vt)===mt?Ct:AE()}function Gr(e,t,s,c){CX(),Lj&&p("useInsertionEffect must not schedule updates."),sw&&(T0=!0),Mu(e,s,c),(Xt&ba)!==Se&&e===Ka?SX(t):(Mr&&vh(e,t,s),wX(t),e===Ka&&((Xt&ba)===zr&&(ym=kt(ym,s)),Ur===mm&&mc(e,Hr)),Ni(e,c),s===Ct&&Xt===zr&&(t.mode&Vt)===mt&&!ts.isBatchingLegacy&&(Cm(),P_()))}function qW(e,t,s){var c=e.current;c.lanes=t,Mu(e,t,s),Ni(e,s)}function QW(e){return(Xt&ba)!==zr}function Ni(e,t){var s=e.callbackNode;RE(e,t);var c=tf(e,e===Ka?Hr:Se);if(c===Se){s!==null&&Kj(s),e.callbackNode=null,e.callbackPriority=Wt;return}var v=vr(c),m=e.callbackPriority;if(m===v&&!(ts.current!==null&&s!==vw)){s==null&&m!==Ct&&p("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}s!=null&&Kj(s);var S;if(v===Ct)e.tag===ac?(ts.isBatchingLegacy!==null&&(ts.didScheduleLegacyUpdate=!0),I$(Bj.bind(null,e))):M_(Bj.bind(null,e)),ts.current!==null?ts.current.push(ic):_G(function(){(Xt&(ba|Co))===zr&&ic()}),S=null;else{var I;switch(sf(c)){case Jr:I=wd;break;case Pr:I=Za;break;case Bo:I=lo;break;case af:I=Ns;break;default:I=lo;break}S=hw(I,Fj.bind(null,e))}e.callbackPriority=v,e.callbackNode=S}function Fj(e,t){if(C5(),Sm=On,A0=Se,(Xt&(ba|Co))!==zr)throw new Error("Should not already be working.");var s=e.callbackNode,c=tl();if(c&&e.callbackNode!==s)return null;var v=tf(e,e===Ka?Hr:Se);if(v===Se)return null;var m=!rf(e,v)&&!zy(e,v)&&!t,S=m?uX(e,v):_0(e,v);if(S!==Qu){if(S===Of){var I=sh(e);I!==Se&&(v=I,S=uw(e,I))}if(S===hm){var _=gm;throw Df(e,Se),mc(e,v),Ni(e,Yn()),_}if(S===ew)mc(e,v);else{var V=!rf(e,v),H=e.current.alternate;if(V&&!eX(H)){if(S=_0(e,v),S===Of){var ee=sh(e);ee!==Se&&(v=ee,S=uw(e,ee))}if(S===hm){var Q=gm;throw Df(e,Se),mc(e,v),Ni(e,Yn()),Q}}e.finishedWork=H,e.finishedLanes=v,KW(e,S,v)}}return Ni(e,Yn()),e.callbackNode===s?Fj.bind(null,e):null}function uw(e,t){var s=bm;if(Cr(e)){var c=Df(e,t);c.flags|=er,C$(e.containerInfo)}var v=_0(e,t);if(v!==Of){var m=Ai;Ai=s,m!==null&&Vj(m)}return v}function Vj(e){Ai===null?Ai=e:Ai.push.apply(Ai,e)}function KW(e,t,s){switch(t){case Qu:case hm:throw new Error("Root did not complete. This is a bug in React.");case Of:{jf(e,Ai,Ku);break}case E0:{if(mc(e,s),Yd(s)&&!ek()){var c=nw+kj-Yn();if(c>10){var v=tf(e,Se);if(v!==Se)break;var m=e.suspendedLanes;if(!ku(m,s)){ei(),dh(e,m);break}e.timeoutHandle=iS(jf.bind(null,e,Ai,Ku),c);break}}jf(e,Ai,Ku);break}case mm:{if(mc(e,s),By(s))break;if(!ek()){var S=Vy(e,s),I=S,_=Yn()-I,V=bX(_)-_;if(V>10){e.timeoutHandle=iS(jf.bind(null,e,Ai,Ku),V);break}}jf(e,Ai,Ku);break}case jj:{jf(e,Ai,Ku);break}default:throw new Error("Unknown root exit status.")}}function eX(e){for(var t=e;;){if(t.flags&Yc){var s=t.updateQueue;if(s!==null){var c=s.stores;if(c!==null)for(var v=0;v<c.length;v++){var m=c[v],S=m.getSnapshot,I=m.value;try{if(!nt(S(),I))return!1}catch{return!1}}}}var _=t.child;if(t.subtreeFlags&Yc&&_!==null){_.return=t,t=_;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 mc(e,t){t=Bl(t,w0),t=Bl(t,ym),fh(e,t)}function Bj(e){if(x5(),(Xt&(ba|Co))!==zr)throw new Error("Should not already be working.");tl();var t=tf(e,Se);if(!ka(t,Ct))return Ni(e,Yn()),null;var s=_0(e,t);if(e.tag!==ac&&s===Of){var c=sh(e);c!==Se&&(t=c,s=uw(e,c))}if(s===hm){var v=gm;throw Df(e,Se),mc(e,t),Ni(e,Yn()),v}if(s===ew)throw new Error("Root did not complete. This is a bug in React.");var m=e.current.alternate;return e.finishedWork=m,e.finishedLanes=t,jf(e,Ai,Ku),Ni(e,Yn()),null}function tX(e,t){t!==Se&&(zl(e,kt(t,Ct)),Ni(e,Yn()),(Xt&(ba|Co))===zr&&(Cm(),ic()))}function lw(e,t){var s=Xt;Xt|=Dj;try{return e(t)}finally{Xt=s,Xt===zr&&!ts.isBatchingLegacy&&(Cm(),P_())}}function nX(e,t,s,c,v){var m=xi(),S=ya.transition;try{return ya.transition=null,br(Jr),e(t,s,c,v)}finally{br(m),ya.transition=S,Xt===zr&&Cm()}}function el(e){vc!==null&&vc.tag===ac&&(Xt&(ba|Co))===zr&&tl();var t=Xt;Xt|=Dj;var s=ya.transition,c=xi();try{return ya.transition=null,br(Jr),e?e():void 0}finally{br(c),ya.transition=s,Xt=t,(Xt&(ba|Co))===zr&&ic()}}function zj(){return(Xt&(ba|Co))!==zr}function O0(e,t){Pa(tw,qs,e),qs=kt(qs,t)}function cw(e){qs=tw.current,Ma(tw,e)}function Df(e,t){e.finishedWork=null,e.finishedLanes=Se;var s=e.timeoutHandle;if(s!==oS&&(e.timeoutHandle=oS,OG(s)),ur!==null)for(var c=ur.return;c!==null;){var v=c.alternate;mj(v,c),c=c.return}Ka=e;var m=kf(e.current,null);return ur=m,Hr=qs=t,Ur=Qu,gm=null,S0=Se,ym=Se,w0=Se,bm=null,Ai=null,Z$(),Xo.discardPendingWarnings(),m}function Hj(e,t){do{var s=ur;try{if(Fb(),yD(),Kn(),K1.current=null,s===null||s.return===null){Ur=hm,gm=t,ur=null;return}if(ie&&s.mode&yt&&m0(s,!0),De)if(Ru(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var c=t;Py(s,c,Hr)}else Nd(s,t,Hr);T5(e,s.return,s,t,Hr),Wj(s)}catch(v){t=v,ur===s&&s!==null?(s=s.return,ur=s):s=ur;continue}return}while(!0)}function Uj(){var e=Q1.current;return Q1.current=f0,e===null?f0:e}function Gj(e){Q1.current=e}function rX(){nw=Yn()}function wm(e){S0=kt(e,S0)}function aX(){Ur===Qu&&(Ur=E0)}function fw(){(Ur===Qu||Ur===E0||Ur===Of)&&(Ur=mm),Ka!==null&&(nf(S0)||nf(ym))&&mc(Ka,Hr)}function iX(e){Ur!==mm&&(Ur=Of),bm===null?bm=[e]:bm.push(e)}function oX(){return Ur===Qu}function _0(e,t){var s=Xt;Xt|=ba;var c=Uj();if(Ka!==e||Hr!==t){if(Mr){var v=e.memoizedUpdaters;v.size>0&&(Rm(e,Hr),v.clear()),qd(e,t)}Ku=hh(),Df(e,t)}Gi(t);do try{sX();break}catch(m){Hj(e,m)}while(!0);if(Fb(),Xt=s,Gj(c),ur!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Ml(),Ka=null,Hr=Se,Ur}function sX(){for(;ur!==null;)$j(ur)}function uX(e,t){var s=Xt;Xt|=ba;var c=Uj();if(Ka!==e||Hr!==t){if(Mr){var v=e.memoizedUpdaters;v.size>0&&(Rm(e,Hr),v.clear()),qd(e,t)}Ku=hh(),Cm(),Df(e,t)}Gi(t);do try{lX();break}catch(m){Hj(e,m)}while(!0);return Fb(),Gj(c),Xt=s,ur!==null?(qc(),Qu):(Ml(),Ka=null,Hr=Se,Ur)}function lX(){for(;ur!==null&&!Sd();)$j(ur)}function $j(e){var t=e.alternate;dn(e);var s;(e.mode&yt)!==mt?(T1(e),s=dw(t,e,qs),m0(e,!0)):s=dw(t,e,qs),Kn(),e.memoizedProps=e.pendingProps,s===null?Wj(e):ur=s,K1.current=null}function Wj(e){var t=e;do{var s=t.alternate,c=t.return;if((t.flags&Wa)===ct){dn(t);var v=void 0;if((t.mode&yt)===mt?v=hj(s,t,qs):(T1(t),v=hj(s,t,qs),m0(t,!1)),Kn(),v!==null){ur=v;return}}else{var m=aW(s,t);if(m!==null){m.flags&=Iy,ur=m;return}if((t.mode&yt)!==mt){m0(t,!1);for(var S=t.actualDuration,I=t.child;I!==null;)S+=I.actualDuration,I=I.sibling;t.actualDuration=S}if(c!==null)c.flags|=Wa,c.subtreeFlags=ct,c.deletions=null;else{Ur=ew,ur=null;return}}var _=t.sibling;if(_!==null){ur=_;return}t=c,ur=t}while(t!==null);Ur===Qu&&(Ur=jj)}function jf(e,t,s){var c=xi(),v=ya.transition;try{ya.transition=null,br(Jr),cX(e,t,s,c)}finally{ya.transition=v,br(c)}return null}function cX(e,t,s,c){do tl();while(vc!==null);if(xX(),(Xt&(ba|Co))!==zr)throw new Error("Should not already be working.");var v=e.finishedWork,m=e.finishedLanes;if(Td(m),v===null)return nh(),null;if(m===Se&&p("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Se,v===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=Wt;var S=kt(v.lanes,v.childLanes);ph(e,S),e===Ka&&(Ka=null,ur=null,Hr=Se),((v.subtreeFlags&gi)!==ct||(v.flags&gi)!==ct)&&(_f||(_f=!0,iw=s,hw(lo,function(){return tl(),null})));var I=(v.subtreeFlags&(Dl|Oa|Zr|gi))!==ct,_=(v.flags&(Dl|Oa|Zr|gi))!==ct;if(I||_){var V=ya.transition;ya.transition=null;var H=xi();br(Jr);var ee=Xt;Xt|=Co,K1.current=null,lW(e,v),UD(),SW(e,v,m),SG(e.containerInfo),e.current=v,Ly(m),wW(v,e,m),kl(),Oy(),Xt=ee,br(H),ya.transition=V}else e.current=v,UD();var Q=_f;if(_f?(_f=!1,vc=e,xm=m):(Bp=0,I0=null),S=e.pendingLanes,S===Se&&(Vp=null),Q||Jj(e.current,!1),Lo(v.stateNode,c),Mr&&e.memoizedUpdaters.clear(),UW(),Ni(e,Yn()),t!==null)for(var le=e.onRecoverableError,fe=0;fe<t.length;fe++){var be=t[fe],qe=be.stack,vt=be.digest;le(be.value,{componentStack:qe,digest:vt})}if(R0){R0=!1;var ot=rw;throw rw=null,ot}return ka(xm,Ct)&&e.tag!==ac&&tl(),S=e.pendingLanes,ka(S,Ct)?(b5(),e===ow?Em++:(Em=0,ow=e)):Em=0,ic(),nh(),null}function tl(){if(vc!==null){var e=sf(xm),t=OE(Bo,e),s=ya.transition,c=xi();try{return ya.transition=null,br(t),dX()}finally{br(c),ya.transition=s}}return!1}function fX(e){aw.push(e),_f||(_f=!0,hw(lo,function(){return tl(),null}))}function dX(){if(vc===null)return!1;var e=iw;iw=null;var t=vc,s=xm;if(vc=null,xm=Se,(Xt&(ba|Co))!==zr)throw new Error("Cannot flush passive effects while already rendering.");sw=!0,T0=!1,Fy(s);var c=Xt;Xt|=Co,_W(t.current),IW(t,t.current,s,e);{var v=aw;aw=[];for(var m=0;m<v.length;m++){var S=v[m];pW(t,S)}}Jc(),Jj(t.current,!0),Xt=c,ic(),T0?t===I0?Bp++:(Bp=0,I0=t):Bp=0,sw=!1,T0=!1,_s(t);{var I=t.current.stateNode;I.effectDuration=0,I.passiveEffectDuration=0}return!0}function Xj(e){return Vp!==null&&Vp.has(e)}function pX(e){Vp===null?Vp=new Set([e]):Vp.add(e)}function vX(e){R0||(R0=!0,rw=e)}var hX=vX;function Yj(e,t,s){var c=Af(s,t),v=$D(e,c,Ct),m=sc(e,v,Ct),S=ei();m!==null&&(Mu(m,Ct,S),Ni(m,S))}function zn(e,t,s){if(oW(s),Tm(!1),e.tag===R){Yj(e,e,s);return}var c=null;for(c=t;c!==null;){if(c.tag===R){Yj(c,e,s);return}else if(c.tag===b){var v=c.type,m=c.stateNode;if(typeof v.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&!Xj(m)){var S=Af(s,e),I=D1(c,S,Ct),_=sc(c,I,Ct),V=ei();_!==null&&(Mu(_,Ct,V),Ni(_,V));return}}c=c.return}p(`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
|
-
|
|
206
|
-
Error message:
|
|
207
|
-
|
|
208
|
-
%s`,s)}function mX(e,t,s){var c=e.pingCache;c!==null&&c.delete(t);var v=ei();dh(e,s),RX(e),Ka===e&&ku(Hr,s)&&(Ur===mm||Ur===E0&&Yd(Hr)&&Yn()-nw<kj?Df(e,Se):w0=kt(w0,s)),Ni(e,v)}function Zj(e,t){t===Wt&&(t=JW(e));var s=ei(),c=Ti(e,t);c!==null&&(Mu(c,t,s),Ni(c,s))}function gX(e){var t=e.memoizedState,s=Wt;t!==null&&(s=t.retryLane),Zj(e,s)}function yX(e,t){var s=Wt,c;switch(e.tag){case z:c=e.stateNode;var v=e.memoizedState;v!==null&&(s=v.retryLane);break;case pe: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),Zj(e,s)}function bX(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:WW(e/1960)*1960}function CX(){if(Em>YW)throw Em=0,ow=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.");Bp>ZW&&(Bp=0,I0=null,p("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 xX(){Xo.flushLegacyContextWarning(),Xo.flushPendingUnsafeLifecycleWarnings()}function Jj(e,t){dn(e),D0(e,Na,BW),t&&D0(e,wu,zW),D0(e,Na,FW),t&&D0(e,wu,VW),Kn()}function D0(e,t,s){for(var c=e,v=null;c!==null;){var m=c.subtreeFlags&t;c!==v&&c.child!==null&&m!==ct?c=c.child:((c.flags&t)!==ct&&s(c),c.sibling!==null?c=c.sibling:c=v=c.return)}}var j0=null;function qj(e){{if((Xt&ba)!==zr||!(e.mode&Vt))return;var t=e.tag;if(t!==E&&t!==R&&t!==b&&t!==g&&t!==F&&t!==G&&t!==X)return;var s=At(e)||"ReactComponent";if(j0!==null){if(j0.has(s))return;j0.add(s)}else j0=new Set([s]);var c=Xn;try{dn(e),p("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?dn(e):Kn()}}}var dw;{var EX=null;dw=function(e,t,s){var c=ik(EX,t);try{return cj(e,t,s)}catch(m){if(M$()||m!==null&&typeof m=="object"&&typeof m.then=="function")throw m;if(Fb(),yD(),mj(e,t),ik(t,c),t.mode&yt&&T1(t),Su(null,cj,null,e,t,s),SE()){var v=$v();typeof v=="object"&&v!==null&&v._suppressLogging&&typeof m=="object"&&m!==null&&!m._suppressLogging&&(m._suppressLogging=!0)}throw m}}}var Qj=!1,pw;pw=new Set;function SX(e){if(wa&&!m5())switch(e.tag){case g:case F:case X:{var t=ur&&At(ur)||"Unknown",s=t;if(!pw.has(s)){pw.add(s);var c=At(e)||"Unknown";p("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 b:{Qj||(p("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Qj=!0);break}}}function Rm(e,t){if(Mr){var s=e.memoizedUpdaters;s.forEach(function(c){vh(e,c,t)})}}var vw={};function hw(e,t){{var s=ts.current;return s!==null?(s.push(t),vw):Ed(e,t)}}function Kj(e){if(e!==vw)return Ny(e)}function ek(){return ts.current!==null}function wX(e){{if(e.mode&Vt){if(!_j())return}else if(!$W()||Xt!==zr||e.tag!==g&&e.tag!==F&&e.tag!==X)return;if(ts.current===null){var t=Xn;try{dn(e),p(`An update to %s inside a test was not wrapped in act(...).
|
|
209
|
-
|
|
210
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
211
|
-
|
|
212
|
-
act(() => {
|
|
213
|
-
/* fire events that update state */
|
|
214
|
-
});
|
|
215
|
-
/* assert on the output */
|
|
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`,At(e))}finally{t?dn(e):Kn()}}}}function RX(e){e.tag!==ac&&_j()&&ts.current===null&&p(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
218
|
-
|
|
219
|
-
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
220
|
-
|
|
221
|
-
act(() => {
|
|
222
|
-
/* finish loading suspended data */
|
|
223
|
-
});
|
|
224
|
-
/* assert on the output */
|
|
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 Tm(e){Lj=e}var xo=null,zp=null,TX=function(e){xo=e};function Hp(e){{if(xo===null)return e;var t=xo(e);return t===void 0?e:t.current}}function mw(e){return Hp(e)}function gw(e){{if(xo===null)return e;var t=xo(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var s=Hp(e.render);if(e.render!==s){var c={$$typeof:Je,render:s};return e.displayName!==void 0&&(c.displayName=e.displayName),c}}return e}return t.current}}function tk(e,t){{if(xo===null)return!1;var s=e.elementType,c=t.type,v=!1,m=typeof c=="object"&&c!==null?c.$$typeof:null;switch(e.tag){case b:{typeof c=="function"&&(v=!0);break}case g:{(typeof c=="function"||m===pt)&&(v=!0);break}case F:{(m===Je||m===pt)&&(v=!0);break}case G:case X:{(m===Dt||m===pt)&&(v=!0);break}default:return!1}if(v){var S=xo(s);if(S!==void 0&&S===xo(c))return!0}return!1}}function nk(e){{if(xo===null||typeof WeakSet!="function")return;zp===null&&(zp=new WeakSet),zp.add(e)}}var IX=function(e,t){{if(xo===null)return;var s=t.staleFamilies,c=t.updatedFamilies;tl(),el(function(){yw(e.current,c,s)})}},AX=function(e,t){{if(e.context!==Wi)return;tl(),el(function(){Im(t,e,null,null)})}};function yw(e,t,s){{var c=e.alternate,v=e.child,m=e.sibling,S=e.tag,I=e.type,_=null;switch(S){case g:case X:case b:_=I;break;case F:_=I.render;break}if(xo===null)throw new Error("Expected resolveFamily to be set during hot reload.");var V=!1,H=!1;if(_!==null){var ee=xo(_);ee!==void 0&&(s.has(ee)?H=!0:t.has(ee)&&(S===b?H=!0:V=!0))}if(zp!==null&&(zp.has(e)||c!==null&&zp.has(c))&&(H=!0),H&&(e._debugNeedsRemount=!0),H||V){var Q=Ti(e,Ct);Q!==null&&Gr(Q,e,Ct,On)}v!==null&&!H&&yw(v,t,s),m!==null&&yw(m,t,s)}}var NX=function(e,t){{var s=new Set,c=new Set(t.map(function(v){return v.current}));return bw(e.current,c,s),s}};function bw(e,t,s){{var c=e.child,v=e.sibling,m=e.tag,S=e.type,I=null;switch(m){case g:case X:case b:I=S;break;case F:I=S.render;break}var _=!1;I!==null&&t.has(I)&&(_=!0),_?OX(e,s):c!==null&&bw(c,t,s),v!==null&&bw(v,t,s)}}function OX(e,t){{var s=_X(e,t);if(s)return;for(var c=e;;){switch(c.tag){case A:t.add(c.stateNode);return;case T:t.add(c.stateNode.containerInfo);return;case R:t.add(c.stateNode.containerInfo);return}if(c.return===null)throw new Error("Expected to reach root first.");c=c.return}}}function _X(e,t){for(var s=e,c=!1;;){if(s.tag===A)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 Cw;{Cw=!1;try{var rk=Object.preventExtensions({})}catch{Cw=!0}}function DX(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=ct,this.subtreeFlags=ct,this.deletions=null,this.lanes=Se,this.childLanes=Se,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,!Cw&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Xi=function(e,t,s,c){return new DX(e,t,s,c)};function xw(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function jX(e){return typeof e=="function"&&!xw(e)&&e.defaultProps===void 0}function kX(e){if(typeof e=="function")return xw(e)?b:g;if(e!=null){var t=e.$$typeof;if(t===Je)return F;if(t===Dt)return G}return E}function kf(e,t){var s=e.alternate;s===null?(s=Xi(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=ct,s.subtreeFlags=ct,s.deletions=null,s.actualDuration=0,s.actualStartTime=-1),s.flags=e.flags&kr,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 E:case g:case X:s.type=Hp(e.type);break;case b:s.type=mw(e.type);break;case F:s.type=gw(e.type);break}return s}function MX(e,t){e.flags&=kr|Ln;var s=e.alternate;if(s===null)e.childLanes=Se,e.lanes=t,e.child=null,e.subtreeFlags=ct,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=ct,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 PX(e,t,s){var c;return e===Ob?(c=Vt,t===!0&&(c|=Zn,c|=bi)):c=mt,Mr&&(c|=yt),Xi(R,null,null,c)}function Ew(e,t,s,c,v,m){var S=E,I=e;if(typeof e=="function")xw(e)?(S=b,I=mw(I)):I=Hp(I);else if(typeof e=="string")S=A;else e:switch(e){case $a:return gc(s.children,v,m,t);case no:S=O,v|=Zn,(v&Vt)!==mt&&(v|=bi);break;case Z:return LX(s,v,m,t);case _t:return FX(s,v,m,t);case $t:return VX(s,v,m,t);case jn:return ak(s,v,m,t);case jr:case dr:case ro:case pl:case Dn:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case je:S=B;break e;case Ue:S=P;break e;case Je:S=F,I=gw(I);break e;case Dt:S=G;break e;case pt:S=te,I=null;break e}var _="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(_+=" 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 V=c?At(c):null;V&&(_+=`
|
|
227
|
-
|
|
228
|
-
Check the render method of \``+V+"`.")}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)+"."+_))}}var H=Xi(S,s,t,v);return H.elementType=e,H.type=I,H.lanes=m,H._debugOwner=c,H}function Sw(e,t,s){var c=null;c=e._owner;var v=e.type,m=e.key,S=e.props,I=Ew(v,m,S,c,t,s);return I._debugSource=e._source,I._debugOwner=e._owner,I}function gc(e,t,s,c){var v=Xi(j,e,c,t);return v.lanes=s,v}function LX(e,t,s,c){typeof e.id!="string"&&p('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var v=Xi(U,e,c,t|yt);return v.elementType=Z,v.lanes=s,v.stateNode={effectDuration:0,passiveEffectDuration:0},v}function FX(e,t,s,c){var v=Xi(z,e,c,t);return v.elementType=_t,v.lanes=s,v}function VX(e,t,s,c){var v=Xi(pe,e,c,t);return v.elementType=$t,v.lanes=s,v}function ak(e,t,s,c){var v=Xi(me,e,c,t);v.elementType=jn,v.lanes=s;var m={isHidden:!1};return v.stateNode=m,v}function ww(e,t,s){var c=Xi(N,e,null,t);return c.lanes=s,c}function BX(){var e=Xi(A,null,null,mt);return e.elementType="DELETED",e}function zX(e){var t=Xi(ue,null,null,mt);return t.stateNode=e,t}function Rw(e,t,s){var c=e.children!==null?e.children:[],v=Xi(T,c,e.key,t);return v.lanes=s,v.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},v}function ik(e,t){return e===null&&(e=Xi(E,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 HX(e,t,s,c,v){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=oS,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Wt,this.eventTimes=Jd(Se),this.expirationTimes=Jd(On),this.pendingLanes=Se,this.suspendedLanes=Se,this.pingedLanes=Se,this.expiredLanes=Se,this.mutableReadLanes=Se,this.finishedLanes=Se,this.entangledLanes=Se,this.entanglements=Jd(Se),this.identifierPrefix=c,this.onRecoverableError=v,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var m=this.pendingUpdatersLaneMap=[],S=0;S<Vn;S++)m.push(new Set)}switch(t){case Ob:this._debugRootType=s?"hydrateRoot()":"createRoot()";break;case ac:this._debugRootType=s?"hydrate()":"render()";break}}function ok(e,t,s,c,v,m,S,I,_,V){var H=new HX(e,t,s,I,_),ee=PX(t,m);H.current=ee,ee.stateNode=H;{var Q={element:c,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null};ee.memoizedState=Q}return jS(ee),H}var Tw="18.2.0";function UX(e,t,s){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Mn(c),{$$typeof:sa,key:c==null?null:""+c,children:e,containerInfo:t,implementation:s}}var Iw,Aw;Iw=!1,Aw={};function sk(e){if(!e)return Wi;var t=pi(e),s=T$(t);if(t.tag===b){var c=t.type;if(Gs(c))return j_(t,c,s)}return s}function GX(e,t){{var s=pi(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 v=yi(s);if(v===null)return null;if(v.mode&Zn){var m=At(s)||"Component";if(!Aw[m]){Aw[m]=!0;var S=Xn;try{dn(v),s.mode&Zn?p("%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,m):p("%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,m)}finally{S?dn(S):Kn()}}}return v.stateNode}}function uk(e,t,s,c,v,m,S,I){var _=!1,V=null;return ok(e,t,_,V,s,c,v,m,S)}function lk(e,t,s,c,v,m,S,I,_,V){var H=!0,ee=ok(s,c,H,e,v,m,S,I,_);ee.context=sk(null);var Q=ee.current,le=ei(),fe=hc(Q),be=Ju(le,fe);return be.callback=t??null,sc(Q,be,fe),qW(ee,fe,le),ee}function Im(e,t,s,c){_y(t,e);var v=t.current,m=ei(),S=hc(v);Tu(S);var I=sk(s);t.context===null?t.context=I:t.pendingContext=I,wa&&Xn!==null&&!Iw&&(Iw=!0,p(`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
|
-
|
|
230
|
-
Check the render method of %s.`,At(Xn)||"Unknown"));var _=Ju(m,S);_.payload={element:e},c=c===void 0?null:c,c!==null&&(typeof c!="function"&&p("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",c),_.callback=c);var V=sc(v,_,S);return V!==null&&(Gr(V,v,S,m),Ub(V,v,S)),S}function k0(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case A:return t.child.stateNode;default:return t.child.stateNode}}function $X(e){switch(e.tag){case R:{var t=e.stateNode;if(Cr(t)){var s=TE(t);tX(t,s)}break}case z:{el(function(){var v=Ti(e,Ct);if(v!==null){var m=ei();Gr(v,e,Ct,m)}});var c=Ct;Nw(e,c);break}}}function ck(e,t){var s=e.memoizedState;s!==null&&s.dehydrated!==null&&(s.retryLane=Uy(s.retryLane,t))}function Nw(e,t){ck(e,t);var s=e.alternate;s&&ck(s,t)}function WX(e){if(e.tag===z){var t=Pl,s=Ti(e,t);if(s!==null){var c=ei();Gr(s,e,t,c)}Nw(e,t)}}function XX(e){if(e.tag===z){var t=hc(e),s=Ti(e,t);if(s!==null){var c=ei();Gr(s,e,t,c)}Nw(e,t)}}function fk(e){var t=Ay(e);return t===null?null:t.stateNode}var dk=function(e){return null};function YX(e){return dk(e)}var pk=function(e){return!1};function ZX(e){return pk(e)}var vk=null,hk=null,mk=null,gk=null,yk=null,bk=null,Ck=null,xk=null,Ek=null;{var Sk=function(e,t,s){var c=t[s],v=Ut(e)?e.slice():Lt({},e);return s+1===t.length?(Ut(v)?v.splice(c,1):delete v[c],v):(v[c]=Sk(e[c],t,s+1),v)},wk=function(e,t){return Sk(e,t,0)},Rk=function(e,t,s,c){var v=t[c],m=Ut(e)?e.slice():Lt({},e);if(c+1===t.length){var S=s[c];m[S]=m[v],Ut(m)?m.splice(v,1):delete m[v]}else m[v]=Rk(e[v],t,s,c+1);return m},Tk=function(e,t,s){if(t.length!==s.length){d("copyWithRename() expects paths of the same length");return}else for(var c=0;c<s.length-1;c++)if(t[c]!==s[c]){d("copyWithRename() expects paths to be the same except for the deepest key");return}return Rk(e,t,s,0)},Ik=function(e,t,s,c){if(s>=t.length)return c;var v=t[s],m=Ut(e)?e.slice():Lt({},e);return m[v]=Ik(e[v],t,s+1,c),m},Ak=function(e,t,s){return Ik(e,t,0,s)},Ow=function(e,t){for(var s=e.memoizedState;s!==null&&t>0;)s=s.next,t--;return s};vk=function(e,t,s,c){var v=Ow(e,t);if(v!==null){var m=Ak(v.memoizedState,s,c);v.memoizedState=m,v.baseState=m,e.memoizedProps=Lt({},e.memoizedProps);var S=Ti(e,Ct);S!==null&&Gr(S,e,Ct,On)}},hk=function(e,t,s){var c=Ow(e,t);if(c!==null){var v=wk(c.memoizedState,s);c.memoizedState=v,c.baseState=v,e.memoizedProps=Lt({},e.memoizedProps);var m=Ti(e,Ct);m!==null&&Gr(m,e,Ct,On)}},mk=function(e,t,s,c){var v=Ow(e,t);if(v!==null){var m=Tk(v.memoizedState,s,c);v.memoizedState=m,v.baseState=m,e.memoizedProps=Lt({},e.memoizedProps);var S=Ti(e,Ct);S!==null&&Gr(S,e,Ct,On)}},gk=function(e,t,s){e.pendingProps=Ak(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var c=Ti(e,Ct);c!==null&&Gr(c,e,Ct,On)},yk=function(e,t){e.pendingProps=wk(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var s=Ti(e,Ct);s!==null&&Gr(s,e,Ct,On)},bk=function(e,t,s){e.pendingProps=Tk(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var c=Ti(e,Ct);c!==null&&Gr(c,e,Ct,On)},Ck=function(e){var t=Ti(e,Ct);t!==null&&Gr(t,e,Ct,On)},xk=function(e){dk=e},Ek=function(e){pk=e}}function JX(e){var t=yi(e);return t===null?null:t.stateNode}function qX(e){return null}function QX(){return Xn}function KX(e){var t=e.findFiberByHostInstance,s=i.ReactCurrentDispatcher;return eh({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:vk,overrideHookStateDeletePath:hk,overrideHookStateRenamePath:mk,overrideProps:gk,overridePropsDeletePath:yk,overridePropsRenamePath:bk,setErrorHandler:xk,setSuspenseHandler:Ek,scheduleUpdate:Ck,currentDispatcherRef:s,findHostInstanceByFiber:JX,findFiberByHostInstance:t||qX,findHostInstancesForRefresh:NX,scheduleRefresh:IX,scheduleRoot:AX,setRefreshHandler:TX,getCurrentFiber:QX,reconcilerVersion:Tw})}var Nk=typeof reportError=="function"?reportError:function(e){console.error(e)};function _w(e){this._internalRoot=e}M0.prototype.render=_w.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?p("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):P0(arguments[1])?p("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"&&p("You passed a second argument to root.render(...) but it only accepts one argument.");var s=t.containerInfo;if(s.nodeType!==pr){var c=fk(t.current);c&&c.parentNode!==s&&p("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.")}}Im(e,t,null,null)},M0.prototype.unmount=_w.prototype.unmount=function(){typeof arguments[0]=="function"&&p("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;zj()&&p("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."),el(function(){Im(null,e,null,null)}),A_(t)}};function eY(e,t){if(!P0(e))throw new Error("createRoot(...): Target container is not a DOM element.");Ok(e);var s=!1,c=!1,v="",m=Nk;t!=null&&(t.hydrate?d("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===to&&p(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
231
|
-
|
|
232
|
-
let root = createRoot(domContainer);
|
|
233
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(s=!0),t.identifierPrefix!==void 0&&(v=t.identifierPrefix),t.onRecoverableError!==void 0&&(m=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var S=uk(e,Ob,null,s,c,v,m);Sb(S.current,e);var I=e.nodeType===pr?e.parentNode:e;return Mh(I),new _w(S)}function M0(e){this._internalRoot=e}function tY(e){e&&qy(e)}M0.prototype.unstable_scheduleHydration=tY;function nY(e,t,s){if(!P0(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Ok(e),t===void 0&&p("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var c=s??null,v=s!=null&&s.hydratedSources||null,m=!1,S=!1,I="",_=Nk;s!=null&&(s.unstable_strictMode===!0&&(m=!0),s.identifierPrefix!==void 0&&(I=s.identifierPrefix),s.onRecoverableError!==void 0&&(_=s.onRecoverableError));var V=lk(t,null,e,Ob,c,m,S,I,_);if(Sb(V.current,e),Mh(e),v)for(var H=0;H<v.length;H++){var ee=v[H];c5(V,ee)}return new M0(V)}function P0(e){return!!(e&&(e.nodeType===Ta||e.nodeType===zi||e.nodeType===gu||!se))}function Am(e){return!!(e&&(e.nodeType===Ta||e.nodeType===zi||e.nodeType===gu||e.nodeType===pr&&e.nodeValue===" react-mount-point-unstable "))}function Ok(e){e.nodeType===Ta&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&p("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."),Wh(e)&&(e._reactRootContainer?p("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):p("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 rY=i.ReactCurrentOwner,_k;_k=function(e){if(e._reactRootContainer&&e.nodeType!==pr){var t=fk(e._reactRootContainer.current);t&&t.parentNode!==e&&p("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=Dw(e),v=!!(c&&nc(c));v&&!s&&p("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===Ta&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&p("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 Dw(e){return e?e.nodeType===zi?e.documentElement:e.firstChild:null}function Dk(){}function aY(e,t,s,c,v){if(v){if(typeof c=="function"){var m=c;c=function(){var Q=k0(S);m.call(Q)}}var S=lk(t,c,e,ac,null,!1,!1,"",Dk);e._reactRootContainer=S,Sb(S.current,e);var I=e.nodeType===pr?e.parentNode:e;return Mh(I),el(),S}else{for(var _;_=e.lastChild;)e.removeChild(_);if(typeof c=="function"){var V=c;c=function(){var Q=k0(H);V.call(Q)}}var H=uk(e,ac,null,!1,!1,"",Dk);e._reactRootContainer=H,Sb(H.current,e);var ee=e.nodeType===pr?e.parentNode:e;return Mh(ee),el(function(){Im(t,H,s,c)}),H}}function iY(e,t){e!==null&&typeof e!="function"&&p("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function L0(e,t,s,c,v){_k(s),iY(v===void 0?null:v,"render");var m=s._reactRootContainer,S;if(!m)S=aY(s,t,e,v,c);else{if(S=m,typeof v=="function"){var I=v;v=function(){var _=k0(S);I.call(_)}}Im(t,S,e,v)}return k0(S)}function oY(e){{var t=rY.current;if(t!==null&&t.stateNode!==null){var s=t.stateNode._warnedAboutRefsInRender;s||p("%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.",Qt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Ta?e:GX(e,"findDOMNode")}function sY(e,t,s){if(p("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"),!Am(t))throw new Error("Target container is not a DOM element.");{var c=Wh(t)&&t._reactRootContainer===void 0;c&&p("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 L0(null,e,t,!0,s)}function uY(e,t,s){if(p("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"),!Am(t))throw new Error("Target container is not a DOM element.");{var c=Wh(t)&&t._reactRootContainer===void 0;c&&p("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 L0(null,e,t,!1,s)}function lY(e,t,s,c){if(p("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"),!Am(s))throw new Error("Target container is not a DOM element.");if(e==null||!Xc(e))throw new Error("parentComponent must be a valid React Component");return L0(e,t,s,!1,c)}function cY(e){if(!Am(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Wh(e)&&e._reactRootContainer===void 0;t&&p("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=Dw(e),c=s&&!nc(s);c&&p("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return el(function(){L0(null,null,e,!1,function(){e._reactRootContainer=null,A_(e)})}),!0}else{{var v=Dw(e),m=!!(v&&nc(v)),S=e.nodeType===Ta&&Am(e.parentNode)&&!!e.parentNode._reactRootContainer;m&&p("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",S?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}et($X),$y(WX),lf(XX),gh(xi),Xy(of),(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")&&p("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"),Ry(pG),gd(lw,nX,el);function fY(e,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!P0(t))throw new Error("Target container is not a DOM element.");return UX(e,t,null,s)}function dY(e,t,s,c){return lY(e,t,s,c)}var jw={usingClientEntryPoint:!1,Events:[nc,bp,wb,md,Gc,lw]};function pY(e,t){return jw.usingClientEntryPoint||p('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),eY(e,t)}function vY(e,t,s){return jw.usingClientEntryPoint||p('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),nY(e,t,s)}function hY(e){return zj()&&p("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."),el(e)}var mY=KX({findFiberByHostInstance:bf,bundleType:1,version:Tw,rendererPackageName:"react-dom"});if(!mY&&dt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var jk=window.location.protocol;/^(https?|file):$/.test(jk)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(jk==="file:"?`
|
|
234
|
-
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}ai.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=jw,ai.createPortal=fY,ai.createRoot=pY,ai.findDOMNode=oY,ai.flushSync=hY,ai.hydrate=sY,ai.hydrateRoot=vY,ai.render=uY,ai.unmountComponentAtNode=cY,ai.unstable_batchedUpdates=lw,ai.unstable_renderSubtreeIntoContainer=dY,ai.version=Tw,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),ai}function Ww(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ww)}catch(n){console.error(n)}}}process.env.NODE_ENV==="production"?(Ww(),V0.exports=Bk()):V0.exports=zk();var H0=V0.exports;const bc=Zi(H0);var Xp=H0;if(process.env.NODE_ENV==="production")ns.createRoot=Xp.createRoot,ns.hydrateRoot=Xp.hydrateRoot;else{var jm=Xp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ns.createRoot=function(n,r){jm.usingClientEntryPoint=!0;try{return Xp.createRoot(n,r)}finally{jm.usingClientEntryPoint=!1}},ns.hydrateRoot=function(n,r,i){jm.usingClientEntryPoint=!0;try{return Xp.hydrateRoot(n,r,i)}finally{jm.usingClientEntryPoint=!1}}}function ra(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 Hk=typeof Symbol=="function"&&Symbol.observable||"@@observable",Xw=Hk,U0=()=>Math.random().toString(36).substring(7).split("").join("."),Uk={INIT:`@@redux/INIT${U0()}`,REPLACE:`@@redux/REPLACE${U0()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${U0()}`},Cc=Uk;function Yp(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 Gk(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(Xk(n))return"date";if(Wk(n))return"error";const i=$k(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 $k(n){return typeof n.constructor=="function"?n.constructor.name:null}function Wk(n){return n instanceof Error||typeof n.message=="string"&&n.constructor&&typeof n.constructor.stackTraceLimit=="number"}function Xk(n){return n instanceof Date?!0:typeof n.toDateString=="function"&&typeof n.getDate=="function"&&typeof n.setDate=="function"}function rl(n){let r=typeof n;return process.env.NODE_ENV!=="production"&&(r=Gk(n)),r}function Yw(n,r,i){if(typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?ra(2):`Expected the root reducer to be a function. Instead, received: '${rl(n)}'`);if(typeof r=="function"&&typeof i=="function"||typeof i=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?ra(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(process.env.NODE_ENV==="production"?ra(1):`Expected the enhancer to be a function. Instead, received: '${rl(i)}'`);return i(Yw)(n,r)}let u=n,l=r,d=new Map,p=d,y=0,g=!1;function b(){p===d&&(p=new Map,d.forEach((O,P)=>{p.set(P,O)}))}function E(){if(g)throw new Error(process.env.NODE_ENV==="production"?ra(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(O){if(typeof O!="function")throw new Error(process.env.NODE_ENV==="production"?ra(4):`Expected the listener to be a function. Instead, received: '${rl(O)}'`);if(g)throw new Error(process.env.NODE_ENV==="production"?ra(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 P=!0;b();const B=y++;return p.set(B,O),function(){if(P){if(g)throw new Error(process.env.NODE_ENV==="production"?ra(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.");P=!1,b(),p.delete(B),d=null}}}function T(O){if(!Yp(O))throw new Error(process.env.NODE_ENV==="production"?ra(7):`Actions must be plain objects. Instead, the actual type was: '${rl(O)}'. 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 O.type>"u")throw new Error(process.env.NODE_ENV==="production"?ra(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof O.type!="string")throw new Error(process.env.NODE_ENV==="production"?ra(17):`Action "type" property must be a string. Instead, the actual type was: '${rl(O.type)}'. Value was: '${O.type}' (stringified)`);if(g)throw new Error(process.env.NODE_ENV==="production"?ra(9):"Reducers may not dispatch actions.");try{g=!0,l=u(l,O)}finally{g=!1}return(d=p).forEach(B=>{B()}),O}function A(O){if(typeof O!="function")throw new Error(process.env.NODE_ENV==="production"?ra(10):`Expected the nextReducer to be a function. Instead, received: '${rl(O)}`);u=O,T({type:Cc.REPLACE})}function N(){const O=R;return{subscribe(P){if(typeof P!="object"||P===null)throw new Error(process.env.NODE_ENV==="production"?ra(11):`Expected the observer to be an object. Instead, received: '${rl(P)}'`);function B(){const U=P;U.next&&U.next(E())}return B(),{unsubscribe:O(B)}},[Xw](){return this}}}return T({type:Cc.INIT}),{dispatch:T,subscribe:R,getState:E,replaceReducer:A,[Xw]:N}}function Zw(n){typeof console<"u"&&typeof console.error=="function"&&console.error(n);try{throw new Error(n)}catch{}}function Yk(n,r,i,u){const l=Object.keys(r),d=i&&i.type===Cc.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(!Yp(n))return`The ${d} has unexpected type of "${rl(n)}". Expected argument to be an object with the following keys: "${l.join('", "')}"`;const p=Object.keys(n).filter(y=>!r.hasOwnProperty(y)&&!u[y]);if(p.forEach(y=>{u[y]=!0}),!(i&&i.type===Cc.REPLACE)&&p.length>0)return`Unexpected ${p.length>1?"keys":"key"} "${p.join('", "')}" found in ${d}. Expected to find one of the known reducer keys instead: "${l.join('", "')}". Unexpected keys will be ignored.`}function Zk(n){Object.keys(n).forEach(r=>{const i=n[r];if(typeof i(void 0,{type:Cc.INIT})>"u")throw new Error(process.env.NODE_ENV==="production"?ra(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:Cc.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?ra(13):`The slice reducer for key "${r}" returned undefined when probed with a random type. Don't try to handle '${Cc.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 Jk(n){const r=Object.keys(n),i={};for(let p=0;p<r.length;p++){const y=r[p];process.env.NODE_ENV!=="production"&&typeof n[y]>"u"&&Zw(`No reducer provided for key "${y}"`),typeof n[y]=="function"&&(i[y]=n[y])}const u=Object.keys(i);let l;process.env.NODE_ENV!=="production"&&(l={});let d;try{Zk(i)}catch(p){d=p}return function(y={},g){if(d)throw d;if(process.env.NODE_ENV!=="production"){const R=Yk(y,i,g,l);R&&Zw(R)}let b=!1;const E={};for(let R=0;R<u.length;R++){const T=u[R],A=i[T],N=y[T],j=A(N,g);if(typeof j>"u"){const O=g&&g.type;throw new Error(process.env.NODE_ENV==="production"?ra(14):`When called with an action of type ${O?`"${String(O)}"`:"(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.`)}E[T]=j,b=b||j!==N}return b=b||u.length!==Object.keys(y).length,b?E:y}}function km(...n){return n.length===0?r=>r:n.length===1?n[0]:n.reduce((r,i)=>(...u)=>r(i(...u)))}function qk(...n){return r=>(i,u)=>{const l=r(i,u);let d=()=>{throw new Error(process.env.NODE_ENV==="production"?ra(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const p={getState:l.getState,dispatch:(g,...b)=>d(g,...b)},y=n.map(g=>g(p));return d=km(...y)(l.dispatch),{...l,dispatch:d}}}function Jw(n){return Yp(n)&&"type"in n&&typeof n.type=="string"}var qw=Symbol.for("immer-nothing"),Qw=Symbol.for("immer-draftable"),_i=Symbol.for("immer-state"),Qk=process.env.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 ii(n,...r){if(process.env.NODE_ENV!=="production"){const i=Qk[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 Mf=Object.getPrototypeOf;function al(n){return!!n&&!!n[_i]}function Ks(n){var r;return n?Kw(n)||Array.isArray(n)||!!n[Qw]||!!((r=n.constructor)!=null&&r[Qw])||Pm(n)||Lm(n):!1}var Kk=Object.prototype.constructor.toString();function Kw(n){if(!n||typeof n!="object")return!1;const r=Mf(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)===Kk}function Zp(n,r){Mm(n)===0?Object.entries(n).forEach(([i,u])=>{r(i,u,n)}):n.forEach((i,u)=>r(u,i,n))}function Mm(n){const r=n[_i];return r?r.type_:Array.isArray(n)?1:Pm(n)?2:Lm(n)?3:0}function G0(n,r){return Mm(n)===2?n.has(r):Object.prototype.hasOwnProperty.call(n,r)}function eR(n,r,i){const u=Mm(n);u===2?n.set(r,i):u===3?n.add(i):n[r]=i}function eM(n,r){return n===r?n!==0||1/n===1/r:n!==n&&r!==r}function Pm(n){return n instanceof Map}function Lm(n){return n instanceof Set}function xc(n){return n.copy_||n.base_}function $0(n,r){if(Pm(n))return new Map(n);if(Lm(n))return new Set(n);if(Array.isArray(n))return Array.prototype.slice.call(n);if(!r&&Kw(n))return Mf(n)?{...n}:Object.assign(Object.create(null),n);const i=Object.getOwnPropertyDescriptors(n);delete i[_i];let u=Reflect.ownKeys(i);for(let l=0;l<u.length;l++){const d=u[l],p=i[d];p.writable===!1&&(p.writable=!0,p.configurable=!0),(p.get||p.set)&&(i[d]={configurable:!0,writable:!0,enumerable:p.enumerable,value:n[d]})}return Object.create(Mf(n),i)}function W0(n,r=!1){return Fm(n)||al(n)||!Ks(n)||(Mm(n)>1&&(n.set=n.add=n.clear=n.delete=tM),Object.freeze(n),r&&Zp(n,(i,u)=>W0(u,!0))),n}function tM(){ii(2)}function Fm(n){return Object.isFrozen(n)}var nM={};function Ec(n){const r=nM[n];return r||ii(0,n),r}var Jp;function tR(){return Jp}function rM(n,r){return{drafts_:[],parent_:n,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function nR(n,r){r&&(Ec("Patches"),n.patches_=[],n.inversePatches_=[],n.patchListener_=r)}function X0(n){Y0(n),n.drafts_.forEach(aM),n.drafts_=null}function Y0(n){n===Jp&&(Jp=n.parent_)}function rR(n){return Jp=rM(Jp,n)}function aM(n){const r=n[_i];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function aR(n,r){r.unfinalizedDrafts_=r.drafts_.length;const i=r.drafts_[0];return n!==void 0&&n!==i?(i[_i].modified_&&(X0(r),ii(4)),Ks(n)&&(n=Vm(r,n),r.parent_||Bm(r,n)),r.patches_&&Ec("Patches").generateReplacementPatches_(i[_i].base_,n,r.patches_,r.inversePatches_)):n=Vm(r,i,[]),X0(r),r.patches_&&r.patchListener_(r.patches_,r.inversePatches_),n!==qw?n:void 0}function Vm(n,r,i){if(Fm(r))return r;const u=r[_i];if(!u)return Zp(r,(l,d)=>iR(n,u,r,l,d,i)),r;if(u.scope_!==n)return r;if(!u.modified_)return Bm(n,u.base_,!0),u.base_;if(!u.finalized_){u.finalized_=!0,u.scope_.unfinalizedDrafts_--;const l=u.copy_;let d=l,p=!1;u.type_===3&&(d=new Set(l),l.clear(),p=!0),Zp(d,(y,g)=>iR(n,u,l,y,g,i,p)),Bm(n,l,!1),i&&n.patches_&&Ec("Patches").generatePatches_(u,i,n.patches_,n.inversePatches_)}return u.copy_}function iR(n,r,i,u,l,d,p){if(process.env.NODE_ENV!=="production"&&l===i&&ii(5),al(l)){const y=d&&r&&r.type_!==3&&!G0(r.assigned_,u)?d.concat(u):void 0,g=Vm(n,l,y);if(eR(i,u,g),al(g))n.canAutoFreeze_=!1;else return}else p&&i.add(l);if(Ks(l)&&!Fm(l)){if(!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1)return;Vm(n,l),(!r||!r.scope_.parent_)&&Bm(n,l)}}function Bm(n,r,i=!1){!n.parent_&&n.immer_.autoFreeze_&&n.canAutoFreeze_&&W0(r,i)}function iM(n,r){const i=Array.isArray(n),u={type_:i?1:0,scope_:r?r.scope_:tR(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:n,draft_:null,copy_:null,revoke_:null,isManual_:!1};let l=u,d=Z0;i&&(l=[u],d=qp);const{revoke:p,proxy:y}=Proxy.revocable(l,d);return u.draft_=y,u.revoke_=p,y}var Z0={get(n,r){if(r===_i)return n;const i=xc(n);if(!G0(i,r))return oM(n,i,r);const u=i[r];return n.finalized_||!Ks(u)?u:u===J0(n.base_,r)?(Q0(n),n.copy_[r]=K0(u,n)):u},has(n,r){return r in xc(n)},ownKeys(n){return Reflect.ownKeys(xc(n))},set(n,r,i){const u=oR(xc(n),r);if(u!=null&&u.set)return u.set.call(n.draft_,i),!0;if(!n.modified_){const l=J0(xc(n),r),d=l==null?void 0:l[_i];if(d&&d.base_===i)return n.copy_[r]=i,n.assigned_[r]=!1,!0;if(eM(i,l)&&(i!==void 0||G0(n.base_,r)))return!0;Q0(n),q0(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 J0(n.base_,r)!==void 0||r in n.base_?(n.assigned_[r]=!1,Q0(n),q0(n)):delete n.assigned_[r],n.copy_&&delete n.copy_[r],!0},getOwnPropertyDescriptor(n,r){const i=xc(n),u=Reflect.getOwnPropertyDescriptor(i,r);return u&&{writable:!0,configurable:n.type_!==1||r!=="length",enumerable:u.enumerable,value:i[r]}},defineProperty(){ii(11)},getPrototypeOf(n){return Mf(n.base_)},setPrototypeOf(){ii(12)}},qp={};Zp(Z0,(n,r)=>{qp[n]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),qp.deleteProperty=function(n,r){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(r))&&ii(13),qp.set.call(this,n,r,void 0)},qp.set=function(n,r,i){return process.env.NODE_ENV!=="production"&&r!=="length"&&isNaN(parseInt(r))&&ii(14),Z0.set.call(this,n[0],r,i,n[0])};function J0(n,r){const i=n[_i];return(i?xc(i):n)[r]}function oM(n,r,i){var l;const u=oR(r,i);return u?"value"in u?u.value:(l=u.get)==null?void 0:l.call(n.draft_):void 0}function oR(n,r){if(!(r in n))return;let i=Mf(n);for(;i;){const u=Object.getOwnPropertyDescriptor(i,r);if(u)return u;i=Mf(i)}}function q0(n){n.modified_||(n.modified_=!0,n.parent_&&q0(n.parent_))}function Q0(n){n.copy_||(n.copy_=$0(n.base_,n.scope_.immer_.useStrictShallowCopy_))}var sM=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 p=this;return function(g=d,...b){return p.produce(g,E=>i.call(this,E,...b))}}typeof i!="function"&&ii(6),u!==void 0&&typeof u!="function"&&ii(7);let l;if(Ks(r)){const d=rR(this),p=K0(r,void 0);let y=!0;try{l=i(p),y=!1}finally{y?X0(d):Y0(d)}return nR(d,u),aR(l,d)}else if(!r||typeof r!="object"){if(l=i(r),l===void 0&&(l=r),l===qw&&(l=void 0),this.autoFreeze_&&W0(l,!0),u){const d=[],p=[];Ec("Patches").generateReplacementPatches_(r,l,d,p),u(d,p)}return l}else ii(1,r)},this.produceWithPatches=(r,i)=>{if(typeof r=="function")return(p,...y)=>this.produceWithPatches(p,g=>r(g,...y));let u,l;return[this.produce(r,i,(p,y)=>{u=p,l=y}),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){Ks(n)||ii(8),al(n)&&(n=sR(n));const r=rR(this),i=K0(n,void 0);return i[_i].isManual_=!0,Y0(r),i}finishDraft(n,r){const i=n&&n[_i];(!i||!i.isManual_)&&ii(9);const{scope_:u}=i;return nR(u,r),aR(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=Ec("Patches").applyPatches_;return al(n)?u(n,r):this.produce(n,l=>u(l,r))}};function K0(n,r){const i=Pm(n)?Ec("MapSet").proxyMap_(n,r):Lm(n)?Ec("MapSet").proxySet_(n,r):iM(n,r);return(r?r.scope_:tR()).drafts_.push(i),i}function sR(n){return al(n)||ii(10,n),uR(n)}function uR(n){if(!Ks(n)||Fm(n))return n;const r=n[_i];let i;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,i=$0(n,r.scope_.immer_.useStrictShallowCopy_)}else i=$0(n,!0);return Zp(i,(u,l)=>{eR(i,u,uR(l))}),r&&(r.finalized_=!1),i}var Di=new sM,Ji=Di.produce;Di.produceWithPatches.bind(Di),Di.setAutoFreeze.bind(Di),Di.setUseStrictShallowCopy.bind(Di),Di.applyPatches.bind(Di),Di.createDraft.bind(Di),Di.finishDraft.bind(Di);var uM=(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
|
-
\`createSelector([state => state.todos], todos => todos)\`
|
|
236
|
-
This could lead to inefficient memoization and unnecessary re-renders.
|
|
237
|
-
Ensure transformation logic is in the result function, and extraction logic is in the input selectors.`,{stack:l})}}},lM=(n,r,i)=>{const{memoize:u,memoizeOptions:l}=r,{inputSelectorResults:d,inputSelectorResultsCopy:p}=n,y=u(()=>({}),...l);if(!(y.apply(null,d)===y.apply(null,p))){let b;try{throw new Error}catch(E){({stack:b}=E)}console.warn(`An input selector returned a different result when passed same arguments.
|
|
238
|
-
This means your output selector will likely run more frequently than intended.
|
|
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:p,stack:b})}},cM={inputStabilityCheck:"once",identityFunctionCheck:"once"};function fM(n,r=`expected a function, instead received ${typeof n}`){if(typeof n!="function")throw new TypeError(r)}function dM(n,r=`expected an object, instead received ${typeof n}`){if(typeof n!="object")throw new TypeError(r)}function pM(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 lR=n=>Array.isArray(n)?n:[n];function vM(n){const r=Array.isArray(n[0])?n[0]:n;return pM(r,"createSelector expects all input-selectors to be functions, but received the following types: "),r}function cR(n,r){const i=[],{length:u}=n;for(let l=0;l<u;l++)i.push(n[l].apply(null,r));return i}var hM=(n,r)=>{const{identityFunctionCheck:i,inputStabilityCheck:u}={...cM,...r};return{identityFunctionCheck:{shouldRun:i==="always"||i==="once"&&n,run:uM},inputStabilityCheck:{shouldRun:u==="always"||u==="once"&&n,run:lM}}},mM=class{constructor(n){this.value=n}deref(){return this.value}},gM=typeof WeakRef<"u"?WeakRef:mM,yM=0,fR=1;function zm(){return{s:yM,v:void 0,o:null,p:null}}function eC(n,r={}){let i=zm();const{resultEqualityCheck:u}=r;let l,d=0;function p(){var R;let y=i;const{length:g}=arguments;for(let T=0,A=g;T<A;T++){const N=arguments[T];if(typeof N=="function"||typeof N=="object"&&N!==null){let j=y.o;j===null&&(y.o=j=new WeakMap);const O=j.get(N);O===void 0?(y=zm(),j.set(N,y)):y=O}else{let j=y.p;j===null&&(y.p=j=new Map);const O=j.get(N);O===void 0?(y=zm(),j.set(N,y)):y=O}}const b=y;let E;if(y.s===fR?E=y.v:(E=n.apply(null,arguments),d++),b.s=fR,u){const T=((R=l==null?void 0:l.deref)==null?void 0:R.call(l))??l;T!=null&&u(T,E)&&(E=T,d!==0&&d--),l=typeof E=="object"&&E!==null||typeof E=="function"?new gM(E):E}return b.v=E,E}return p.clearCache=()=>{i=zm(),p.resetResultsCount()},p.resultsCount=()=>d,p.resetResultsCount=()=>{d=0},p}function dR(n,...r){const i=typeof n=="function"?{memoize:n,memoizeOptions:r}:n,u=(...l)=>{let d=0,p=0,y,g={},b=l.pop();typeof b=="object"&&(g=b,b=l.pop()),fM(b,`createSelector expects an output function after the inputs, but received: [${typeof b}]`);const E={...i,...g},{memoize:R,memoizeOptions:T=[],argsMemoize:A=eC,argsMemoizeOptions:N=[],devModeChecks:j={}}=E,O=lR(T),P=lR(N),B=vM(l),F=R(function(){return d++,b.apply(null,arguments)},...O);let U=!0;const z=A(function(){p++;const X=cR(B,arguments);if(y=F.apply(null,X),process.env.NODE_ENV!=="production"){const{identityFunctionCheck:te,inputStabilityCheck:Re}=hM(U,j);if(te.shouldRun&&te.run(b,X,y),Re.shouldRun){const ue=cR(B,arguments);Re.run({inputSelectorResults:X,inputSelectorResultsCopy:ue},{memoize:R,memoizeOptions:O},arguments)}U&&(U=!1)}return y},...P);return Object.assign(z,{resultFunc:b,memoizedResultFunc:F,dependencies:B,dependencyRecomputations:()=>p,resetDependencyRecomputations:()=>{p=0},lastResult:()=>y,recomputations:()=>d,resetRecomputations:()=>{d=0},memoize:R,argsMemoize:A})};return Object.assign(u,{withTypes:()=>u}),u}var bM=dR(eC),CM=Object.assign((n,r=bM)=>{dM(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((p,y,g)=>(p[i[g]]=y,p),{}))},{withTypes:()=>CM});function pR(n){return({dispatch:i,getState:u})=>l=>d=>typeof d=="function"?d(i,u,n):l(d)}var xM=pR(),EM=pR,SM=(...n)=>{const r=dR(...n),i=Object.assign((...u)=>{const l=r(...u),d=(p,...y)=>l(al(p)?sR(p):p,...y);return Object.assign(d,l),d},{withTypes:()=>i});return i};SM(eC);var wM=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?km:km.apply(null,arguments)},vR=n=>n&&typeof n.match=="function";function eu(n,r){function i(...u){if(r){let l=r(...u);if(!l)throw new Error(process.env.NODE_ENV==="production"?xn(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=>Jw(u)&&u.type===n,i}function RM(n){return typeof n=="function"&&"type"in n&&vR(n)}function TM(n){const r=n?`${n}`.split("/"):[],i=r[r.length-1]||"actionCreator";return`Detected an action creator with type "${n||"unknown"}" being dispatched.
|
|
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 IM(n={}){if(process.env.NODE_ENV==="production")return()=>i=>u=>i(u);const{isActionCreator:r=RM}=n;return()=>i=>u=>(r(u)&&console.warn(TM(u.type)),i(u))}function hR(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
|
-
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 mR=class Om extends Array{constructor(...r){super(...r),Object.setPrototypeOf(this,Om.prototype)}static get[Symbol.species](){return Om}concat(...r){return super.concat.apply(this,r)}prepend(...r){return r.length===1&&Array.isArray(r[0])?new Om(...r[0].concat(this)):new Om(...r.concat(this))}};function gR(n){return Ks(n)?Ji(n,()=>{}):n}function yR(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(process.env.NODE_ENV==="production"?xn(10):"No insert provided for key not already in map");const u=i.insert(r,n);return n.set(r,u),u}function AM(n){return typeof n!="object"||n==null||Object.isFrozen(n)}function NM(n,r,i){const u=bR(n,r,i);return{detectMutations(){return CR(n,r,u,i)}}}function bR(n,r=[],i,u="",l=new Set){const d={value:i};if(!n(i)&&!l.has(i)){l.add(i),d.children={};for(const p in i){const y=u?u+"."+p:p;r.length&&r.indexOf(y)!==-1||(d.children[p]=bR(n,r,i[p],y))}}return d}function CR(n,r=[],i,u,l=!1,d=""){const p=i?i.value:void 0,y=p===u;if(l&&!y&&!Number.isNaN(u))return{wasMutated:!0,path:d};if(n(p)||n(u))return{wasMutated:!1};const g={};for(let E in i.children)g[E]=!0;for(let E in u)g[E]=!0;const b=r.length>0;for(let E in g){const R=d?d+"."+E:E;if(b&&r.some(N=>N instanceof RegExp?N.test(R):R===N))continue;const T=CR(n,r,i.children[E],u[E],y,R);if(T.wasMutated)return T}return{wasMutated:!1}}function OM(n={}){if(process.env.NODE_ENV==="production")return()=>r=>i=>r(i);{let r=function(y,g,b,E){return JSON.stringify(y,i(g,E),b)},i=function(y,g){let b=[],E=[];return g||(g=function(R,T){return b[0]===T?"[Circular ~]":"[Circular ~."+E.slice(0,b.indexOf(T)).join(".")+"]"}),function(R,T){if(b.length>0){var A=b.indexOf(this);~A?b.splice(A+1):b.push(this),~A?E.splice(A,1/0,R):E.push(R),~b.indexOf(T)&&(T=g.call(this,R,T))}else b.push(T);return y==null?T:y.call(this,R,T)}},{isImmutable:u=AM,ignoredPaths:l,warnAfter:d=32}=n;const p=NM.bind(null,u,l);return({getState:y})=>{let g=y(),b=p(g),E;return R=>T=>{const A=hR(d,"ImmutableStateInvariantMiddleware");A.measureTime(()=>{if(g=y(),E=b.detectMutations(),b=p(g),E.wasMutated)throw new Error(process.env.NODE_ENV==="production"?xn(19):`A state mutation was detected between dispatches, in the path '${E.path||""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)});const N=R(T);return A.measureTime(()=>{if(g=y(),E=b.detectMutations(),b=p(g),E.wasMutated)throw new Error(process.env.NODE_ENV==="production"?xn(20):`A state mutation was detected inside a dispatch, in the path: ${E.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)`)}),A.warnIfExceeded(),N}}}}function xR(n){const r=typeof n;return n==null||r==="string"||r==="boolean"||r==="number"||Array.isArray(n)||Yp(n)}function tC(n,r="",i=xR,u,l=[],d){let p;if(!i(n))return{keyPath:r||"<root>",value:n};if(typeof n!="object"||n===null||d!=null&&d.has(n))return!1;const y=u!=null?u(n):Object.entries(n),g=l.length>0;for(const[b,E]of y){const R=r?r+"."+b:b;if(!(g&&l.some(A=>A instanceof RegExp?A.test(R):R===A))){if(!i(E))return{keyPath:R,value:E};if(typeof E=="object"&&(p=tC(E,R,i,u,l,d),p))return p}}return d&&ER(n)&&d.add(n),!1}function ER(n){if(!Object.isFrozen(n))return!1;for(const r of Object.values(n))if(!(typeof r!="object"||r===null)&&!ER(r))return!1;return!0}function _M(n={}){if(process.env.NODE_ENV==="production")return()=>r=>i=>r(i);{const{isSerializable:r=xR,getEntries:i,ignoredActions:u=[],ignoredActionPaths:l=["meta.arg","meta.baseQueryMeta"],ignoredPaths:d=[],warnAfter:p=32,ignoreState:y=!1,ignoreActions:g=!1,disableCache:b=!1}=n,E=!b&&WeakSet?new WeakSet:void 0;return R=>T=>A=>{if(!Jw(A))return T(A);const N=T(A),j=hR(p,"SerializableStateInvariantMiddleware");return!g&&!(u.length&&u.indexOf(A.type)!==-1)&&j.measureTime(()=>{const O=tC(A,"",r,i,l,E);if(O){const{keyPath:P,value:B}=O;console.error(`A non-serializable value was detected in an action, in the path: \`${P}\`. Value:`,B,`
|
|
244
|
-
Take a look at the logic that dispatched this action: `,A,`
|
|
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
|
-
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),y||(j.measureTime(()=>{const O=R.getState(),P=tC(O,"",r,i,d,E);if(P){const{keyPath:B,value:F}=P;console.error(`A non-serializable value was detected in the state, in the path: \`${B}\`. Value:`,F,`
|
|
247
|
-
Take a look at the reducer(s) handling this action type: ${A.type}.
|
|
248
|
-
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),j.warnIfExceeded()),N}}}function Hm(n){return typeof n=="boolean"}var DM=()=>function(r){const{thunk:i=!0,immutableCheck:u=!0,serializableCheck:l=!0,actionCreatorCheck:d=!0}=r??{};let p=new mR;if(i&&(Hm(i)?p.push(xM):p.push(EM(i.extraArgument))),process.env.NODE_ENV!=="production"){if(u){let y={};Hm(u)||(y=u),p.unshift(OM(y))}if(l){let y={};Hm(l)||(y=l),p.push(_M(y))}if(d){let y={};Hm(d)||(y=d),p.unshift(IM(y))}}return p},jM="RTK_autoBatch",SR=n=>r=>{setTimeout(r,n)},kM=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:SR(10),MM=(n={type:"raf"})=>r=>(...i)=>{const u=r(...i);let l=!0,d=!1,p=!1;const y=new Set,g=n.type==="tick"?queueMicrotask:n.type==="raf"?kM:n.type==="callback"?n.queueNotification:SR(n.timeout),b=()=>{p=!1,d&&(d=!1,y.forEach(E=>E()))};return Object.assign({},u,{subscribe(E){const R=()=>l&&E(),T=u.subscribe(R);return y.add(E),()=>{T(),y.delete(E)}},dispatch(E){var R;try{return l=!((R=E==null?void 0:E.meta)!=null&&R[jM]),d=!l,d&&(p||(p=!0,g(b))),u.dispatch(E)}finally{l=!0}}})},PM=n=>function(i){const{autoBatch:u=!0}=i??{};let l=new mR(n);return u&&l.push(MM(typeof u=="object"?u:void 0)),l},il=process.env.NODE_ENV==="production";function Um(n){const r=DM(),{reducer:i=void 0,middleware:u,devTools:l=!0,preloadedState:d=void 0,enhancers:p=void 0}=n||{};let y;if(typeof i=="function")y=i;else if(Yp(i))y=Jk(i);else throw new Error(process.env.NODE_ENV==="production"?xn(1):"`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers");if(!il&&u&&typeof u!="function")throw new Error(process.env.NODE_ENV==="production"?xn(2):"`middleware` field must be a callback");let g;if(typeof u=="function"){if(g=u(r),!il&&!Array.isArray(g))throw new Error(process.env.NODE_ENV==="production"?xn(3):"when using a middleware builder function, an array of middleware must be returned")}else g=r();if(!il&&g.some(N=>typeof N!="function"))throw new Error(process.env.NODE_ENV==="production"?xn(4):"each middleware provided to configureStore must be a function");let b=km;l&&(b=wM({trace:!il,...typeof l=="object"&&l}));const E=qk(...g),R=PM(E);if(!il&&p&&typeof p!="function")throw new Error(process.env.NODE_ENV==="production"?xn(5):"`enhancers` field must be a callback");let T=typeof p=="function"?p(R):R();if(!il&&!Array.isArray(T))throw new Error(process.env.NODE_ENV==="production"?xn(6):"`enhancers` callback must return an array");if(!il&&T.some(N=>typeof N!="function"))throw new Error(process.env.NODE_ENV==="production"?xn(7):"each enhancer provided to configureStore must be a function");!il&&g.length&&!T.includes(E)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");const A=b(...T);return Yw(y,d,A)}function wR(n){const r={},i=[];let u;const l={addCase(d,p){if(process.env.NODE_ENV!=="production"){if(i.length>0)throw new Error(process.env.NODE_ENV==="production"?xn(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(u)throw new Error(process.env.NODE_ENV==="production"?xn(27):"`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const y=typeof d=="string"?d:d.type;if(!y)throw new Error(process.env.NODE_ENV==="production"?xn(28):"`builder.addCase` cannot be called with an empty action type");if(y in r)throw new Error(process.env.NODE_ENV==="production"?xn(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${y}'`);return r[y]=p,l},addMatcher(d,p){if(process.env.NODE_ENV!=="production"&&u)throw new Error(process.env.NODE_ENV==="production"?xn(30):"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return i.push({matcher:d,reducer:p}),l},addDefaultCase(d){if(process.env.NODE_ENV!=="production"&&u)throw new Error(process.env.NODE_ENV==="production"?xn(31):"`builder.addDefaultCase` can only be called once");return u=d,l}};return n(l),[r,i,u]}function LM(n){return typeof n=="function"}function FM(n,r){if(process.env.NODE_ENV!=="production"&&typeof r=="object")throw new Error(process.env.NODE_ENV==="production"?xn(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]=wR(r),d;if(LM(n))d=()=>gR(n());else{const y=gR(n);d=()=>y}function p(y=d(),g){let b=[i[g.type],...u.filter(({matcher:E})=>E(g)).map(({reducer:E})=>E)];return b.filter(E=>!!E).length===0&&(b=[l]),b.reduce((E,R)=>{if(R)if(al(E)){const A=R(E,g);return A===void 0?E:A}else{if(Ks(E))return Ji(E,T=>R(T,g));{const T=R(E,g);if(T===void 0){if(E===null)return E;throw new Error(process.env.NODE_ENV==="production"?xn(9):"A case reducer on a non-draftable value must not return undefined")}return T}}return E},y)}return p.getInitialState=d,p}var VM="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",RR=(n=21)=>{let r="",i=n;for(;i--;)r+=VM[Math.random()*64|0];return r},BM=(n,r)=>vR(n)?n.match(r):n(r);function zM(...n){return r=>n.some(i=>BM(i,r))}var HM=["name","message","stack","code"],nC=class{constructor(n,r){kw(this,"_type");this.payload=n,this.meta=r}},TR=class{constructor(n,r){kw(this,"_type");this.payload=n,this.meta=r}},UM=n=>{if(typeof n=="object"&&n!==null){const r={};for(const i of HM)typeof n[i]=="string"&&(r[i]=n[i]);return r}return{message:String(n)}},tu=(()=>{function n(r,i,u){const l=eu(r+"/fulfilled",(g,b,E,R)=>({payload:g,meta:{...R||{},arg:E,requestId:b,requestStatus:"fulfilled"}})),d=eu(r+"/pending",(g,b,E)=>({payload:void 0,meta:{...E||{},arg:b,requestId:g,requestStatus:"pending"}})),p=eu(r+"/rejected",(g,b,E,R,T)=>({payload:R,error:(u&&u.serializeError||UM)(g||"Rejected"),meta:{...T||{},arg:E,requestId:b,rejectedWithValue:!!R,requestStatus:"rejected",aborted:(g==null?void 0:g.name)==="AbortError",condition:(g==null?void 0:g.name)==="ConditionError"}}));function y(g){return(b,E,R)=>{const T=u!=null&&u.idGenerator?u.idGenerator(g):RR(),A=new AbortController;let N,j;function O(B){j=B,A.abort()}const P=async function(){var U,z;let B;try{let G=(U=u==null?void 0:u.condition)==null?void 0:U.call(u,g,{getState:E,extra:R});if($M(G)&&(G=await G),G===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const X=new Promise((te,Re)=>{N=()=>{Re({name:"AbortError",message:j||"Aborted"})},A.signal.addEventListener("abort",N)});b(d(T,g,(z=u==null?void 0:u.getPendingMeta)==null?void 0:z.call(u,{requestId:T,arg:g},{getState:E,extra:R}))),B=await Promise.race([X,Promise.resolve(i(g,{dispatch:b,getState:E,extra:R,requestId:T,signal:A.signal,abort:O,rejectWithValue:(te,Re)=>new nC(te,Re),fulfillWithValue:(te,Re)=>new TR(te,Re)})).then(te=>{if(te instanceof nC)throw te;return te instanceof TR?l(te.payload,T,g,te.meta):l(te,T,g)})])}catch(G){B=G instanceof nC?p(null,T,g,G.payload,G.meta):p(G,T,g)}finally{N&&A.signal.removeEventListener("abort",N)}return u&&!u.dispatchConditionRejection&&p.match(B)&&B.meta.condition||b(B),B}();return Object.assign(P,{abort:O,requestId:T,arg:g,unwrap(){return P.then(GM)}})}}return Object.assign(y,{pending:d,rejected:p,fulfilled:l,settled:zM(p,l),typePrefix:r})}return n.withTypes=()=>n,n})();function GM(n){if(n.meta&&n.meta.rejectedWithValue)throw n.payload;if(n.error)throw n.error;return n.payload}function $M(n){return n!==null&&typeof n=="object"&&typeof n.then=="function"}var WM=Symbol.for("rtk-slice-createasyncthunk");function XM(n,r){return`${n}/${r}`}function YM({creators:n}={}){var i;const r=(i=n==null?void 0:n.asyncThunk)==null?void 0:i[WM];return function(l){const{name:d,reducerPath:p=d}=l;if(!d)throw new Error(process.env.NODE_ENV==="production"?xn(11):"`name` is a required option for createSlice");typeof process<"u"&&process.env.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 y=(typeof l.reducers=="function"?l.reducers(JM()):l.reducers)||{},g=Object.keys(y),b={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},E={addCase(F,U){const z=typeof F=="string"?F:F.type;if(!z)throw new Error(process.env.NODE_ENV==="production"?xn(12):"`context.addCase` cannot be called with an empty action type");if(z in b.sliceCaseReducersByType)throw new Error(process.env.NODE_ENV==="production"?xn(13):"`context.addCase` cannot be called with two reducers for the same action type: "+z);return b.sliceCaseReducersByType[z]=U,E},addMatcher(F,U){return b.sliceMatchers.push({matcher:F,reducer:U}),E},exposeAction(F,U){return b.actionCreators[F]=U,E},exposeCaseReducer(F,U){return b.sliceCaseReducersByName[F]=U,E}};g.forEach(F=>{const U=y[F],z={reducerName:F,type:XM(d,F),createNotation:typeof l.reducers=="function"};QM(U)?e2(z,U,E,r):qM(z,U,E)});function R(){if(process.env.NODE_ENV!=="production"&&typeof l.extraReducers=="object")throw new Error(process.env.NODE_ENV==="production"?xn(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[F={},U=[],z=void 0]=typeof l.extraReducers=="function"?wR(l.extraReducers):[l.extraReducers],G={...F,...b.sliceCaseReducersByType};return FM(l.initialState,X=>{for(let te in G)X.addCase(te,G[te]);for(let te of b.sliceMatchers)X.addMatcher(te.matcher,te.reducer);for(let te of U)X.addMatcher(te.matcher,te.reducer);z&&X.addDefaultCase(z)})}const T=F=>F,A=new Map;let N;function j(F,U){return N||(N=R()),N(F,U)}function O(){return N||(N=R()),N.getInitialState()}function P(F,U=!1){function z(X){let te=X[F];if(typeof te>"u"){if(U)te=O();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?xn(15):"selectSlice returned undefined for an uninjected slice reducer")}return te}function G(X=T){const te=yR(A,U,{insert:()=>new WeakMap});return yR(te,X,{insert:()=>{const Re={};for(const[ue,pe]of Object.entries(l.selectors??{}))Re[ue]=ZM(pe,X,O,U);return Re}})}return{reducerPath:F,getSelectors:G,get selectors(){return G(z)},selectSlice:z}}const B={name:d,reducer:j,actions:b.actionCreators,caseReducers:b.sliceCaseReducersByName,getInitialState:O,...P(p),injectInto(F,{reducerPath:U,...z}={}){const G=U??p;return F.inject({reducerPath:G,reducer:j},z),{...B,...P(G,!0)}}};return B}}function ZM(n,r,i,u){function l(d,...p){let y=r(d);if(typeof y>"u"){if(u)y=i();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?xn(16):"selectState returned undefined for an uninjected slice reducer")}return n(y,...p)}return l.unwrapped=n,l}var rC=YM();function JM(){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 qM({type:n,reducerName:r,createNotation:i},u,l){let d,p;if("reducer"in u){if(i&&!KM(u))throw new Error(process.env.NODE_ENV==="production"?xn(17):"Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");d=u.reducer,p=u.prepare}else d=u;l.addCase(n,d).exposeCaseReducer(r,d).exposeAction(r,p?eu(n,p):eu(n))}function QM(n){return n._reducerDefinitionType==="asyncThunk"}function KM(n){return n._reducerDefinitionType==="reducerWithPrepare"}function e2({type:n,reducerName:r},i,u,l){if(!l)throw new Error(process.env.NODE_ENV==="production"?xn(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:p,pending:y,rejected:g,settled:b,options:E}=i,R=l(n,d,E);u.exposeAction(r,R),p&&u.addCase(R.fulfilled,p),y&&u.addCase(R.pending,y),g&&u.addCase(R.rejected,g),b&&u.addMatcher(R.settled,b),u.exposeCaseReducer(r,{fulfilled:p||Gm,pending:y||Gm,rejected:g||Gm,settled:b||Gm})}function Gm(){}var t2=(n,r)=>{if(typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?xn(32):`${r} is not a function`)},aC="listenerMiddleware",n2=n=>{let{type:r,actionCreator:i,matcher:u,predicate:l,effect:d}=n;if(r)l=eu(r).match;else if(i)r=i.type,l=i.match;else if(u)l=u;else if(!l)throw new Error(process.env.NODE_ENV==="production"?xn(21):"Creating or removing a listener requires one of the known fields for matching an action");return t2(d,"options.listener"),{predicate:l,type:r,effect:d}},r2=Object.assign(n=>{const{type:r,predicate:i,effect:u}=n2(n);return{id:RR(),effect:u,type:r,predicate:i,pending:new Set,unsubscribe:()=>{throw new Error(process.env.NODE_ENV==="production"?xn(22):"Unsubscribe not initialized")}}},{withTypes:()=>r2}),a2=Object.assign(eu(`${aC}/add`),{withTypes:()=>a2});eu(`${aC}/removeAll`);var i2=Object.assign(eu(`${aC}/remove`),{withTypes:()=>i2});function xn(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=yc();const Sr=Zi(M),$m=Oi({__proto__:null,default:Sr},[M]);var iC={exports:{}},oC={};/**
|
|
249
|
-
* @license React
|
|
250
|
-
* use-sync-external-store-with-selector.production.min.js
|
|
251
|
-
*
|
|
252
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
253
|
-
*
|
|
254
|
-
* This source code is licensed under the MIT license found in the
|
|
255
|
-
* LICENSE file in the root directory of this source tree.
|
|
256
|
-
*/var IR;function o2(){if(IR)return oC;IR=1;var n=yc();function r(g,b){return g===b&&(g!==0||1/g===1/b)||g!==g&&b!==b}var i=typeof Object.is=="function"?Object.is:r,u=n.useSyncExternalStore,l=n.useRef,d=n.useEffect,p=n.useMemo,y=n.useDebugValue;return oC.useSyncExternalStoreWithSelector=function(g,b,E,R,T){var A=l(null);if(A.current===null){var N={hasValue:!1,value:null};A.current=N}else N=A.current;A=p(function(){function O(z){if(!P){if(P=!0,B=z,z=R(z),T!==void 0&&N.hasValue){var G=N.value;if(T(G,z))return F=G}return F=z}if(G=F,i(B,z))return G;var X=R(z);return T!==void 0&&T(G,X)?G:(B=z,F=X)}var P=!1,B,F,U=E===void 0?null:E;return[function(){return O(b())},U===null?void 0:function(){return O(U())}]},[b,E,R,T]);var j=u(g,A[0],A[1]);return d(function(){N.hasValue=!0,N.value=j},[j]),y(j),j},oC}var sC={};/**
|
|
257
|
-
* @license React
|
|
258
|
-
* use-sync-external-store-with-selector.development.js
|
|
259
|
-
*
|
|
260
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
261
|
-
*
|
|
262
|
-
* This source code is licensed under the MIT license found in the
|
|
263
|
-
* LICENSE file in the root directory of this source tree.
|
|
264
|
-
*/var AR;function s2(){return AR||(AR=1,process.env.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 n=yc();function r(b,E){return b===E&&(b!==0||1/b===1/E)||b!==b&&E!==E}var i=typeof Object.is=="function"?Object.is:r,u=n.useSyncExternalStore,l=n.useRef,d=n.useEffect,p=n.useMemo,y=n.useDebugValue;function g(b,E,R,T,A){var N=l(null),j;N.current===null?(j={hasValue:!1,value:null},N.current=j):j=N.current;var O=p(function(){var U=!1,z,G,X=function(pe){if(!U){U=!0,z=pe;var ye=T(pe);if(A!==void 0&&j.hasValue){var me=j.value;if(A(me,ye))return G=me,me}return G=ye,ye}var Ae=z,_e=G;if(i(Ae,pe))return _e;var Oe=T(pe);return A!==void 0&&A(_e,Oe)?_e:(z=pe,G=Oe,Oe)},te=R===void 0?null:R,Re=function(){return X(E())},ue=te===null?void 0:function(){return X(te())};return[Re,ue]},[E,R,T,A]),P=O[0],B=O[1],F=u(b,P,B);return d(function(){j.hasValue=!0,j.value=F},[F]),y(F),F}sC.useSyncExternalStoreWithSelector=g,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),sC}process.env.NODE_ENV==="production"?iC.exports=o2():iC.exports=s2();var u2=iC.exports,Zt="default"in $m?Sr:$m,NR=Symbol.for("react-redux-context"),OR=typeof globalThis<"u"?globalThis:{};function l2(){if(!Zt.createContext)return{};const n=OR[NR]??(OR[NR]=new Map);let r=n.get(Zt.createContext);return r||(r=Zt.createContext(null),process.env.NODE_ENV!=="production"&&(r.displayName="ReactRedux"),n.set(Zt.createContext,r)),r}var nu=l2(),_R=()=>{throw new Error("uSES not initialized!")};function uC(n=nu){return function(){const i=Zt.useContext(n);if(process.env.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 DR=uC(),jR=_R,c2=n=>{jR=n},f2=(n,r)=>n===r;function d2(n=nu){const r=n===nu?DR:uC(n),i=(u,l={})=>{const{equalityFn:d=f2,devModeChecks:p={}}=typeof l=="function"?{equalityFn:l}:l;if(process.env.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:y,subscription:g,getServerState:b,stabilityCheck:E,identityFunctionCheck:R}=r(),T=Zt.useRef(!0),A=Zt.useCallback({[u.name](j){const O=u(j);if(process.env.NODE_ENV!=="production"){const{identityFunctionCheck:P,stabilityCheck:B}={stabilityCheck:E,identityFunctionCheck:R,...p};if(B==="always"||B==="once"&&T.current){const F=u(j);if(!d(O,F)){let U;try{throw new Error}catch(z){({stack:U}=z)}console.warn("Selector "+(u.name||"unknown")+` returned a different result when called with the same parameters. This can lead to unnecessary rerenders.
|
|
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:j,selected:O,selected2:F,stack:U})}}if((P==="always"||P==="once"&&T.current)&&O===j){let F;try{throw new Error}catch(U){({stack:F}=U)}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:F})}T.current&&(T.current=!1)}return O}}[u.name],[u,E,p.stabilityCheck]),N=jR(g.addNestedSub,y.getState,b||y.getState,A,d);return Zt.useDebugValue(N),N};return Object.assign(i,{withTypes:()=>i}),i}var xa=d2(),p2=Symbol.for("react.element"),v2=Symbol.for("react.portal"),kR=Symbol.for("react.fragment"),MR=Symbol.for("react.strict_mode"),PR=Symbol.for("react.profiler"),LR=Symbol.for("react.provider"),lC=Symbol.for("react.context"),h2=Symbol.for("react.server_context"),cC=Symbol.for("react.forward_ref"),FR=Symbol.for("react.suspense"),VR=Symbol.for("react.suspense_list"),Wm=Symbol.for("react.memo"),BR=Symbol.for("react.lazy"),m2=Symbol.for("react.offscreen"),g2=Symbol.for("react.client.reference"),y2=cC,b2=Wm;function C2(n){return typeof n=="string"||typeof n=="function"||n===kR||n===PR||n===MR||n===FR||n===VR||n===m2||typeof n=="object"&&n!==null&&(n.$$typeof===BR||n.$$typeof===Wm||n.$$typeof===LR||n.$$typeof===lC||n.$$typeof===cC||n.$$typeof===g2||n.getModuleId!==void 0)}function zR(n){if(typeof n=="object"&&n!==null){const r=n.$$typeof;switch(r){case p2:{const i=n.type;switch(i){case kR:case PR:case MR:case FR:case VR:return i;default:{const u=i&&i.$$typeof;switch(u){case h2:case lC:case cC:case BR:case Wm:case LR:return u;default:return r}}}}case v2:return r}}}function x2(n){return zR(n)===lC}function E2(n){return zR(n)===Wm}function fC(n){typeof console<"u"&&typeof console.error=="function"&&console.error(n);try{throw new Error(n)}catch{}}function dC(n,r){if(n)(r==="mapStateToProps"||r==="mapDispatchToProps")&&(Object.prototype.hasOwnProperty.call(n,"dependsOnOwnProps")||fC(`The selector for ${r} of connect did not specify a value for dependsOnOwnProps.`));else throw new Error(`Unexpected value for ${r} in connect.`)}function S2(n,r,i){dC(n,"mapStateToProps"),dC(r,"mapDispatchToProps"),dC(i,"mergeProps")}function w2(n,r,i,u,{areStatesEqual:l,areOwnPropsEqual:d,areStatePropsEqual:p}){let y=!1,g,b,E,R,T;function A(B,F){return g=B,b=F,E=n(g,b),R=r(u,b),T=i(E,R,b),y=!0,T}function N(){return E=n(g,b),r.dependsOnOwnProps&&(R=r(u,b)),T=i(E,R,b),T}function j(){return n.dependsOnOwnProps&&(E=n(g,b)),r.dependsOnOwnProps&&(R=r(u,b)),T=i(E,R,b),T}function O(){const B=n(g,b),F=!p(B,E);return E=B,F&&(T=i(E,R,b)),T}function P(B,F){const U=!d(F,b),z=!l(B,g,F,b);return g=B,b=F,U&&z?N():U?j():z?O():T}return function(F,U){return y?P(F,U):A(F,U)}}function R2(n,{initMapStateToProps:r,initMapDispatchToProps:i,initMergeProps:u,...l}){const d=r(n,l),p=i(n,l),y=u(n,l);return process.env.NODE_ENV!=="production"&&S2(d,p,y),w2(d,p,y,n,l)}function T2(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 I2(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 HR(n,r,i){I2(n)||fC(`${i}() in ${r} must return a plain object. Instead received ${n}.`)}function pC(n){return function(i){const u=n(i);function l(){return u}return l.dependsOnOwnProps=!1,l}}function UR(n){return n.dependsOnOwnProps?!!n.dependsOnOwnProps:n.length!==1}function GR(n,r){return function(u,{displayName:l}){const d=function(y,g){return d.dependsOnOwnProps?d.mapToProps(y,g):d.mapToProps(y,void 0)};return d.dependsOnOwnProps=!0,d.mapToProps=function(y,g){d.mapToProps=n,d.dependsOnOwnProps=UR(n);let b=d(y,g);return typeof b=="function"&&(d.mapToProps=b,d.dependsOnOwnProps=UR(b),b=d(y,g)),process.env.NODE_ENV!=="production"&&HR(b,l,r),b},d}}function vC(n,r){return(i,u)=>{throw new Error(`Invalid value of type ${typeof n} for ${r} argument when connecting component ${u.wrappedComponentName}.`)}}function A2(n){return n&&typeof n=="object"?pC(r=>T2(n,r)):n?typeof n=="function"?GR(n,"mapDispatchToProps"):vC(n,"mapDispatchToProps"):pC(r=>({dispatch:r}))}function N2(n){return n?typeof n=="function"?GR(n,"mapStateToProps"):vC(n,"mapStateToProps"):pC(()=>({}))}function O2(n,r,i){return{...i,...n,...r}}function _2(n){return function(i,{displayName:u,areMergedPropsEqual:l}){let d=!1,p;return function(g,b,E){const R=n(g,b,E);return d?l(R,p)||(p=R):(d=!0,p=R,process.env.NODE_ENV!=="production"&&HR(p,u,"mergeProps")),p}}}function D2(n){return n?typeof n=="function"?_2(n):vC(n,"mergeProps"):()=>O2}function j2(n){n()}function k2(){let n=null,r=null;return{clear(){n=null,r=null},notify(){j2(()=>{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 $R={notify(){},get:()=>[]};function WR(n,r){let i,u=$R,l=0,d=!1;function p(j){E();const O=u.subscribe(j);let P=!1;return()=>{P||(P=!0,O(),R())}}function y(){u.notify()}function g(){N.onStateChange&&N.onStateChange()}function b(){return d}function E(){l++,i||(i=r?r.addNestedSub(g):n.subscribe(g),u=k2())}function R(){l--,i&&l===0&&(i(),i=void 0,u.clear(),u=$R)}function T(){d||(d=!0,E())}function A(){d&&(d=!1,R())}const N={addNestedSub:p,notifyNestedSubs:y,handleChangeWrapper:g,isSubscribed:b,trySubscribe:T,tryUnsubscribe:A,getListeners:()=>u};return N}var M2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Xm=M2?Zt.useLayoutEffect:Zt.useEffect;function XR(n,r){return n===r?n!==0||r!==0||1/n===1/r:n!==n&&r!==r}function hC(n,r){if(XR(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])||!XR(n[i[l]],r[i[l]]))return!1;return!0}var P2={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},L2={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},F2={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},YR={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},V2={[y2]:F2,[b2]:YR};function ZR(n){return E2(n)?YR:V2[n.$$typeof]||P2}var B2=Object.defineProperty,z2=Object.getOwnPropertyNames,JR=Object.getOwnPropertySymbols,H2=Object.getOwnPropertyDescriptor,U2=Object.getPrototypeOf,qR=Object.prototype;function mC(n,r){if(typeof r!="string"){if(qR){const d=U2(r);d&&d!==qR&&mC(n,d)}let i=z2(r);JR&&(i=i.concat(JR(r)));const u=ZR(n),l=ZR(r);for(let d=0;d<i.length;++d){const p=i[d];if(!L2[p]&&!(l&&l[p])&&!(u&&u[p])){const y=H2(r,p);try{B2(n,p,y)}catch{}}}}return n}var QR=_R,G2=n=>{QR=n},$2=[null,null],W2=n=>{try{return JSON.stringify(n)}catch{return String(n)}};function X2(n,r,i){Xm(()=>n(...r),i)}function Y2(n,r,i,u,l,d){n.current=u,i.current=!1,l.current&&(l.current=null,d())}function Z2(n,r,i,u,l,d,p,y,g,b,E){if(!n)return()=>{};let R=!1,T=null;const A=()=>{if(R||!y.current)return;const j=r.getState();let O,P;try{O=u(j,l.current)}catch(B){P=B,T=B}P||(T=null),O===d.current?p.current||b():(d.current=O,g.current=O,p.current=!0,E())};return i.onStateChange=A,i.trySubscribe(),A(),()=>{if(R=!0,i.tryUnsubscribe(),i.onStateChange=null,T)throw T}}function J2(n,r){return n===r}var KR=!1;function q2(n,r,i,{pure:u,areStatesEqual:l=J2,areOwnPropsEqual:d=hC,areStatePropsEqual:p=hC,areMergedPropsEqual:y=hC,forwardRef:g=!1,context:b=nu}={}){process.env.NODE_ENV!=="production"&&u!==void 0&&!KR&&(KR=!0,fC('The `pure` option has been removed. `connect` is now always a "pure/memoized" component'));const E=b,R=N2(n),T=A2(r),A=D2(i),N=!!n;return O=>{if(process.env.NODE_ENV!=="production"&&!C2(O))throw new Error(`You must pass a component to the function returned by connect. Instead received ${W2(O)}`);const P=O.displayName||O.name||"Component",B=`Connect(${P})`,F={shouldHandleStateChanges:N,displayName:B,wrappedComponentName:P,WrappedComponent:O,initMapStateToProps:R,initMapDispatchToProps:T,initMergeProps:A,areStatesEqual:l,areStatePropsEqual:p,areOwnPropsEqual:d,areMergedPropsEqual:y};function U(X){const[te,Re,ue]=Zt.useMemo(()=>{const{reactReduxForwardedRef:Ne,...dt}=X;return[X.context,Ne,dt]},[X]),pe=Zt.useMemo(()=>{let Ne=E;if(te!=null&&te.Consumer&&process.env.NODE_ENV!=="production"){if(!x2(Zt.createElement(te.Consumer,null)))throw new Error("You must pass a valid React context consumer as `props.context`");Ne=te}return Ne},[te,E]),ye=Zt.useContext(pe),me=!!X.store&&!!X.store.getState&&!!X.store.dispatch,Ae=!!ye&&!!ye.store;if(process.env.NODE_ENV!=="production"&&!me&&!Ae)throw new Error(`Could not find "store" in the context of "${B}". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to ${B} in connect options.`);const _e=me?X.store:ye.store,Oe=Ae?ye.getServerState:_e.getState,Ie=Zt.useMemo(()=>R2(_e.dispatch,F),[_e]),[ve,Pe]=Zt.useMemo(()=>{if(!N)return $2;const Ne=WR(_e,me?void 0:ye.subscription),dt=Ne.notifyNestedSubs.bind(Ne);return[Ne,dt]},[_e,me,ye]),L=Zt.useMemo(()=>me?ye:{...ye,subscription:ve},[me,ye,ve]),q=Zt.useRef(),se=Zt.useRef(ue),xe=Zt.useRef(),Ee=Zt.useRef(!1);Zt.useRef(!1);const De=Zt.useRef(!1),ie=Zt.useRef();Xm(()=>(De.current=!0,()=>{De.current=!1}),[]);const he=Zt.useMemo(()=>()=>xe.current&&ue===se.current?xe.current:Ie(_e.getState(),ue),[_e,ue]),Te=Zt.useMemo(()=>dt=>ve?Z2(N,_e,ve,Ie,se,q,Ee,De,xe,Pe,dt):()=>{},[ve]);X2(Y2,[se,q,Ee,ue,xe,Pe]);let Ve;try{Ve=QR(Te,he,Oe?()=>Ie(Oe(),ue):he)}catch(Ne){throw ie.current&&(Ne.message+=`
|
|
267
|
-
The error may be correlated with this previous error:
|
|
268
|
-
${ie.current.stack}
|
|
269
|
-
|
|
270
|
-
`),Ne}Xm(()=>{ie.current=void 0,xe.current=void 0,q.current=Ve});const Ke=Zt.useMemo(()=>Zt.createElement(O,{...Ve,ref:Re}),[Re,O,Ve]);return Zt.useMemo(()=>N?Zt.createElement(pe.Provider,{value:L},Ke):Ke,[pe,Ke,L])}const G=Zt.memo(U);if(G.WrappedComponent=O,G.displayName=U.displayName=B,g){const te=Zt.forwardRef(function(ue,pe){return Zt.createElement(G,{...ue,reactReduxForwardedRef:pe})});return te.displayName=B,te.WrappedComponent=O,mC(te,O)}return mC(G,O)}}var Eo=q2;function Q2({store:n,context:r,children:i,serverState:u,stabilityCheck:l="once",identityFunctionCheck:d="once"}){const p=Zt.useMemo(()=>{const b=WR(n);return{store:n,subscription:b,getServerState:u?()=>u:void 0,stabilityCheck:l,identityFunctionCheck:d}},[n,u,l,d]),y=Zt.useMemo(()=>n.getState(),[n]);Xm(()=>{const{subscription:b}=p;return b.onStateChange=b.notifyNestedSubs,b.trySubscribe(),y!==n.getState()&&b.notifyNestedSubs(),()=>{b.tryUnsubscribe(),b.onStateChange=void 0}},[p,y]);const g=r||nu;return Zt.createElement(g.Provider,{value:p},i)}var Qp=Q2;function eT(n=nu){const r=n===nu?DR:uC(n),i=()=>{const{store:u}=r();return u};return Object.assign(i,{withTypes:()=>i}),i}var K2=eT();function eP(n=nu){const r=n===nu?K2:eT(n),i=()=>r().dispatch;return Object.assign(i,{withTypes:()=>i}),i}var ru=eP();c2(u2.useSyncExternalStoreWithSelector),G2(M.useSyncExternalStore);const gC={user:{colors:["#ffc42d","#fea92c","#f98f30","#f07537"]},rp:{colors:["#48c0b9","#2e9da4","#207b8b","#1a5b6e"]}},yC={};function tT(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 tP(){return await(await fetch("https://basemaps-api.arcgis.com/arcgis/rest/services/styles/ArcGIS:Community?type=style&token=AAPK220079f462f24fda89c27fa210c3f887EJPCECuukKD8PnCIBqktgGTKZWPlVXWjRoSsZYGkOJ12QemGItZ4liRZkcUzYyme")).json()}async function nP(n){if(yC[n])return yC[n];const r=document.location,i=`${r.protocol}//${r.host}${r.pathname}`,l=await(await fetch(`${i}/${n}`)).json();return yC[n]=l,l}function rP(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:rT(r),points:rT(i)}}function nT({activeOrg:n,basemapStyle:r,creditLevels:i,creditType:u,geoJSON:l,organizationType:d}){const p={},y=[];if(l&&i){const b=d==="user"?"rp":"user",E=l[`${d}Points`],R=l[`${b}Points`],T=`${d}Credits`,A=`${b}Credits`;p.organizations={type:"geojson",data:E};const N={user:[],rp:[]},j=[];i.points.forEach((P,B)=>{Object.keys(gC).forEach(F=>{N[F].push(P[1],gC[F].colors[B])}),j.push(P[1],5*(B+1))});const O=[];if(i.lines.forEach((P,B)=>{O.push(P[1],1*(B+1))}),y.push({id:"organizations",type:"circle",source:"organizations",paint:{"circle-radius":["interpolate",["linear"],["get",T],...j],"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"){p.opp={type:"geojson",data:R};const P=["get",n.id.toString(),["get",`${A}Map`]];y.push({id:"opp",type:"circle",source:"opp",filter:["has",n.id.toString(),["get",`${A}Map`]],paint:{"circle-radius":["interpolate",["linear"],P,...j],"circle-color":["interpolate",["linear"],P,...N[b]],"circle-stroke-color":"#ffffff","circle-stroke-width":1}}),p.credits={type:"geojson",data:l.creditLines},y.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"],...O]}})}}const g=r||{version:8,sources:{},layers:[]};return{...g,sources:{...g.sources,...p},layers:[...g.layers.filter(b=>b.id!=="Marine waterbody/label/2x large"),...y]}}function aP(n,r,i,u,l=20){return[...Array(l+1).keys()].map(d=>d/l).map(d=>{let p=d*(i-n)+n,y=d*(u-r)+r+Math.abs(Math.sin(d*Math.PI)*(i-n)*.1);return[p,y]})}function iP(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 p=u[d.user_organization_id],y=u[d.rp_organization_id];if(p.properties.userCredits+=d.credits,y&&(y.properties.rpCredits+=d.credits),p.properties.userCreditsMap[d.rp_organization_id]=(p.properties.userCreditsMap[d.rp_organization_id]||0)+d.credits,y&&(y.properties.rpCreditsMap[d.user_organization_id]=(y.properties.rpCreditsMap[d.user_organization_id]||0)+d.credits),i!=="allocated")return{type:"Feature",geometry:{type:"LineString",coordinates:aP(...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,p)=>d.properties.userCredits>p.properties.userCredits?-1:1)},rpPoints:{type:"FeatureCollection",features:Object.values(u).filter(d=>d.properties.rpCredits>0).sort((d,p)=>d.properties.rpCredits>p.properties.rpCredits?-1:1)}}}function rT(n,r=[0,.3,.6,.9]){return r.map((i,u)=>{const l=oP(n,i),d=u===r.length-1?"+":"";return[`${tT(Math.round(l))}${d}`,l]})}function oP(n,r){n.sort((d,p)=>d-p);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 Ym={"allocations-map":"_allocations-map_1iid9_1",fullscreen:"_fullscreen_1iid9_6",map:"_map_1iid9_14"},bC={group:"_group_11k83_1",button:"_button_11k83_6",icon:"_icon_11k83_16"};function aT({choices:n,disabledValues:r=[],label:i,value:u,setValue:l}){const d=[];return n.forEach(([p,y])=>d.push(C.jsx("input",{type:"radio",className:"btn-check",name:p,id:p,autoComplete:"off",checked:u===p,onChange:()=>l(p),disabled:r.includes(p)},p),C.jsxs("label",{className:`btn btn-outline-primary ${bC.button}`,htmlFor:p,disabled:r.includes(p),children:[u===p?C.jsx("i",{className:`bi bi-check ${bC.icon}`}):null," ",y]},`${p}-label`))),C.jsx("div",{className:"mb-2",children:C.jsx("div",{className:`btn-group ${bC.group}`,role:"group","aria-label":i,children:d})})}const sP={controls:"_controls_1be4t_1"};function uP({creditType:n,organizationType:r,setCreditType:i,setOrganizationType:u}){return C.jsxs("div",{className:sP.controls,children:[C.jsx("h2",{children:"ACCESS Allocations"}),C.jsx(aT,{choices:[["allocated","Allocations"],["exchanged","Exchanges"],["used","Usage"]],label:"Credit Type",value:n,setValue:i}),C.jsx(aT,{choices:[["user","By Research Institution"],["rp","By Resource Provider"]],disabledValues:n==="allocated"?["rp"]:[],label:"Organization Type",value:r,setValue:u})]})}const Zm={legend:"_legend_odgg9_1",symbols:"_symbols_odgg9_17",symbol:"_symbol_odgg9_17"};function lP(n,r){const i=2*n+2;return C.jsx("svg",{viewBox:`0 0 ${i} ${i}`,xmlns:"http://www.w3.org/2000/svg",stroke:"white",strokeWidth:"1",height:i,width:i,children:C.jsx("circle",{fill:r,cx:n+1,cy:n+1,r:n})})}function cP({activeOrg:n,creditLevels:r,organizationType:i}){if(n||!r)return;const u=r.points.map((l,d)=>C.jsxs("div",{className:Zm.symbol,children:[lP(5*(d+1),gC[i].colors[d]),C.jsx("br",{}),C.jsx("span",{className:"label",children:l[0]})]},l[0]));return C.jsxs("div",{className:Zm.legend,children:[C.jsxs("h2",{className:"fs-6 mt-0 mb-0",children:["ACCESS Credits ",C.jsx("small",{children:"or credit equivalents"})]}),C.jsx("div",{className:Zm.symbols,children:u})]})}const Jm={info:"_info_oxxoh_1",user:"_user_oxxoh_7",rp:"_rp_oxxoh_10",credits:"_credits_oxxoh_15"};function iT(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,p,y)=>[l,C.jsx("span",{className:`name ${Jm[r]}`,children:d},d),[""," and ",", "][y.length-p-1]],[])}function fP({activeOrg:n,creditType:r,organizationMap:i,organizationType:u}){if(!n||!i)return;const l=n.properties,d=l[`${u}Credits`],p=u==="rp"?"user":"rp",y=JSON.parse(l[`${u}CreditsMap`]),g={user:[],rp:[]};return g[u].push([l.name,d]),Object.keys(y).forEach(b=>g[p].push([i[b],y[b]])),C.jsx("div",{className:`${Zm.legend} ${Jm.info}`,children:C.jsxs("p",{className:Jm[u],children:["Researchers at ",iT(g.user,"user","research institution")," ",r==="allocated"?"were ":"",r," ",C.jsxs("span",{className:Jm.credits,children:[tT(d)," ACCESS Credits"]}),r!=="allocated"?C.jsxs(C.Fragment,{children:[" ",r==="exchanged"?"for":"on"," resources at"," ",iT(g.rp,"rp","resource provider")]}):"","."]})})}function dP(){const n=M.useRef(null),r=M.useRef(null),[i,u]=M.useState(null),[l,d]=M.useState(null),[p,y]=M.useState(null),[g,b]=M.useState(!1),[E,R]=M.useState(null),[T,A]=M.useState(null),[N,j]=M.useState(null),[O,P]=M.useState("user"),[B,F]=M.useState("exchanged");return M.useEffect(()=>{(async()=>d(await tP()))()},[]),M.useEffect(()=>{(async U=>{const[z,G]=await Promise.all(["organizations",`credits_${U}`].map(nP));if(!N){const te={};z.features.forEach(Re=>te[Re.id.toString()]=Re.properties.name),j(te)}const X=iP(z,G,B);R(X),U==="exchanged"&&!p&&y(rP(X))})(B)},[B]),M.useEffect(()=>{T&&T.setStyle(nT({activeOrg:i,basemapStyle:l,creditLevels:p,creditType:B,geoJSON:E,organizationType:O}))},[i,E,T,O]),M.useEffect(()=>{T&&(T.on("mousemove","organizations",U=>u(U.features.length?U.features[0]:null)),T.on("mouseleave","organizations",()=>u(null)))},[T]),M.useEffect(()=>{T&&T.resize()},[g]),M.useEffect(()=>{B==="allocated"&&P("user")},[B]),M.useLayoutEffect(()=>A(new maplibregl.Map({container:r.current,style:nT({activeOrg:i,basemapStyle:l,creditLevels:p,creditType:B,geoJSON:E,organizationType:O}),center:[-111.01,38.88],zoom:3.4,hash:!0})),[]),M.useLayoutEffect(()=>n.current.addEventListener("keydown",U=>{U.key==="Escape"&&b(!1)}),[]),C.jsxs("section",{className:`${Ym["allocations-map"]} ${g?Ym.fullscreen:"border border-3 border-primary"}`,ref:n,children:[C.jsx("div",{className:Ym.map,ref:r}),C.jsx(uP,{creditType:B,fullscreen:g,organizationType:O,setCreditType:F,setFullscreen:b,setOrganizationType:P}),C.jsx(cP,{activeOrg:i,creditLevels:p,organizationType:O}),C.jsx(fP,{activeOrg:i,creditType:B,organizationMap:N,organizationType:O}),C.jsx("button",{title:`${g?"Exit":"Enter"} Fullscreen`,className:Ym.fullscreen,onClick:()=>b(!g),children:C.jsx("i",{className:`bi ${g?"bi-fullscreen-exit":"bi-arrows-fullscreen"}`,"aria-label":"Fullscreen"})})]})}const au="https://allocations.access-ci.org",Tn={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:()=>`${au}/get-your-first-project`,project_types_path:()=>`${au}/project-types`,projects_path:()=>`${au}/projects`,projects_save_users_path:()=>"/projects/save_users",renew_request_path:n=>`${au}/requests/${n}/renew`,request_action_path:(n,r)=>`${au}/requests/${n}/actions/${r}`,request_actions_path:n=>`${au}/requests/${n}/actions`,request_path:n=>`${au}/requests/${n}`,resources_path:()=>`${au}/resources`,search_people_path:()=>`${au}/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 qm({color:n="primary",href:r,icon:i,onClick:u,target:l,title:d}){const p=C.jsx("i",{className:`bi bi-${i}`}),y={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?C.jsx("a",{...y,children:p}):C.jsx("button",{...y,children:p})}const Pf=(n,r,i="round")=>{const u=Math.pow(10,r||0);return Math[i](n*u)/u},pP=n=>new Date(`${n}T00:00:00`),vP={year:"numeric",month:"short",day:"numeric"},Lf=(n,r)=>pP(n).toLocaleString("en-us",r||vP),Ba=(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})},CC=(n,r)=>{if(n.startDate&&n.endDate){const l=Lf(n.startDate,r),d=Lf(n.endDate,r);return`${n.allocationType}: ${l} to ${d}`}const i=Lf(n.entryDate,r),u=n.status=="Incomplete"?"Started":"Submitted";return`${n.allocationType}: ${u} ${i}`},ol=n=>C.jsx("i",{className:`bi bi-${n}`}),Qm=n=>{const r=n.match(/^([^\(\)]+) (\(([^\)]+)\))?$/);return{full:n,short:r&&r[3]||null}},Sc=(n,{userGuide:r=!0}={})=>{const{full:i,short:u}=Qm(n.name),l=u?C.jsx("abbr",{title:i,children:u}):i;return C.jsxs(C.Fragment,{children:[ol(Tn.resourceTypeIcons[n.icon])," ",l,!n.isCredit&&n.userGuideUrl&&r?C.jsx(qm,{icon:"book",href:n.userGuideUrl,target:"_blank",title:`${n.name} User Guide`}):null]})},oT=n=>{const r=Qm(n.name);return r.short||r.full},Km=(n,r)=>n.isCredit>r.isCredit||n.isActive>r.isActive||oT(n)<oT(r)?-1:1,sT=(...n)=>{for(let r of n)if(r!=null)return r;return null},uT=(n,r="and",i=", ")=>n.reduce((u,l,d)=>C.jsxs(C.Fragment,{children:[u,n.length-1>d?i:` ${r} `,l]})),xC=n=>n?C.jsxs(C.Fragment,{children:[ol("check-circle")," Yes"]}):C.jsxs(C.Fragment,{children:[ol("x-circle")," No"]}),EC=n=>uT(n.users.filter(({role:r})=>["pi","co_pi","allocation_manager"].includes(r)).map(r=>`${r.firstName} ${r.lastName}`),"or"),lT=(n,r)=>r==1&&n.endsWith("s")?n.slice(0,-1):n,cT=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},eg=[{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"}],fT={};for(let n of eg)fT[n.role]=n;const SC={};for(let{role:n,xrasRole:r}of eg)SC[n]=r;const wC=["info","success","secondary","warning","danger"],$r={error:"error",pending:"pending",success:"success"},tg=n=>n.endDate||n.startDate||(n.actions[0]||{}).entryDate,dT=n=>`${{pi:"01",co_pi:"02",allocation_manager:"03"}[n.role]||"04"} ${n.lastName}, ${n.firstName}`,hP=(n,{grantNumber:r,projectManager:i,requestMasterId:u,requests:l,title:d,users:p},y)=>{r=r||u,l.sort((E,R)=>tg(E)>tg(R)?-1:1);const g=l.find(E=>E.timeStatus=="current"),b=g?g.requestId:null;n.projects[r]={currentRequestId:b,grantNumber:r,isManager:i,requestsList:l.map(E=>{const{actions:R,allocationType:T,endDate:A,requestId:N,startDate:j,status:O}=E,P=R.map(({entryDate:B})=>B).sort()[0].split("T")[0];return mP(n,E,{entryDate:P,grantNumber:r}),{allocationType:T,endDate:A,entryDate:P,requestId:N,startDate:j,status:O}}),selectedRequestId:b||l[0].requestId,status:y,tab:"overview",title:d,users:p.map(({email:E,firstName:R,lastName:T,organization:A,resources:N,role:j,username:O})=>{const P=N.filter(G=>G.userAccountState=="active"&&G.unitType!="ACCESS Credits"),B=P.map(G=>G.xrasResourceId),F=P.filter(G=>G.resourceProviderState=="pending-active").map(G=>G.xrasResourceId),U=N.filter(G=>G.userAccountState!="active").map(G=>G.xrasResourceId),z={};for(let G of P)z[G.xrasResourceId]=G.resourceUsername;return{email:E,firstName:R,initialResourceIds:[...B],initialRole:j,lastName:T,organization:A,resourceAccountPendingIds:F,resourceAccountInactiveIds:U,resourceIds:B,resourceUsernames:z,role:j,username:O}}).sort((E,R)=>dT(E)<dT(R)?-1:1),usersNewRowIndex:0,usersStatus:null},n.projects[r].currentUser=n.projects[r].users.find(({username:E})=>E==n.username)},mP=(n,{actions:r,allocationType:i,allowedActions:u,endDate:l,requestId:d,requestType:p,resources:y,startDate:g,status:b,timeStatus:E},{entryDate:R,grantNumber:T})=>{y=y||[];const A={actions:r.map(({actionId:O,actionStatusType:P,actionType:B,allowedOperations:F,approvedStartDate:U,detailAvailable:z,entryDate:G,isRequest:X,requestedStartDate:te,resources:Re})=>({actionId:O,allowedOperations:F,detailAvailable:z,date:(U||te||G).split("T")[0],deleteStatus:null,isRequest:X,resources:Re.map(RC).sort(Km),showDeleteModal:!1,status:P,type:B})),allocationType:i,allowedActions:gP(u),endDate:l,entryDate:R,exchangeActionId:null,exchangeStatus:null,grantNumber:T,isMaximize:i=="Maximize",requestId:d,resources:y.map(RC).filter(O=>O.isCredit||O.allocated>0).sort(Km),resourcesReason:"",showActionsModal:!1,showConfirmModal:!1,showResourcesModal:!1,startDate:g,status:b,timeStatus:E,type:p,usageDetail:null,usageDetailStatus:null,usesCredits:["Explore","Discover","Accelerate"].includes(i)};let N={};for(let O of A.actions)if(["Exchange","Transfer"].includes(O.type)&&["Submitted","Under Review"].includes(O.status)){A.exchangeActionId=O.actionId;for(let P of O.resources)N[P.resourceId]=P;for(let P of A.resources)P.resourceId in N&&(P.requested+=N[P.resourceId].requested,delete N[P.resourceId]);A.resources.push(...Object.values(N).map(P=>({...P,isNew:!0})));break}const j=A.allowedActions.Exchange||A.allowedActions.Transfer;if(j){N={};for(let O of j.resources)N[O.resourceId]=O;for(let O of A.resources)O.resourceId in N&&(O.questions=N[O.resourceId].questions||[])}!A.usesCredits&&y.length&&A.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]=A},gP=n=>{const r={};for(let{actionType:i,allowedResources:u,opportunityId:l,opportunityName:d}of n){let p={name:i,resources:u.map(RC).sort(Km),opportunityId:l,opportunityName:d};i in r?(Array.isArray(r[i])||(r[i]=[r[i]]),r[i].push(p)):r[i]=p}return"Transfer"in r&&!("Exchange"in r)&&(r.Exchange=r.Transfer),r},pT=(n,r)=>n.relativeOrder<r.relativeOrder?-1:1,RC=({allocationState:n,amountAllocated:r,amountApproved:i,amountRequested:u,amountUsed:l,attributeSets:d,dependentResourceXrasIds:p,displayResourceName:y,endDate:g,exchangeRate:b,resourceRepositoryKey:E,resourceType:R,startDate:T,unitType:A,userGuideUrl:N,xrasResourceId:j})=>({allocated:Pf(sT(r,i)||0,0,"floor"),decimalPlaces:0,endDate:g,icon:A=="ACCESS Credits"?"credit":R.toLowerCase(),isActive:n=="active",isBoolean:A=="[Yes = 1, No = 0]",isCredit:A=="ACCESS Credits",isFake:!1,isUnderReview:!1,isNew:!1,name:y.trim(),questions:(d||[]).filter(({isActive:O})=>O).sort(pT).map(O=>({attributeSetId:O.attributeSetId,attributes:O.attributes.sort(pT).map(P=>({required:P.isRequired,resourceAttributeId:P.resourceAttributeId,label:P.attributeName})),fieldType:O.attributeSetRelationType,label:O.attributeSetName,resourceId:j,values:[]})),requested:Pf(sT(u,r)||0,0,"floor"),requires:p||[],resourceId:j,resourceRepositoryKey:E,startDate:T,type:R,unit:A,unitCost:A!="[Yes = 1, No = 0]"&&b?b:0,used:Pf(l||0,0,"ceil"),userGuideUrl:N}),vT=(n,r)=>(n=[...n].sort(),r=[...r].sort(),n.length===r.length&&n.every((i,u)=>i===r[u])),ng=(n,r)=>{const i=Wr(n,r);for(let u of i.actions)if(u.actionId==r.payload.actionId)return u},rs=(n,r)=>n.projects[r.payload.grantNumber],Wr=(n,r)=>n.requests[r.payload.requestId],yP=(n,r)=>rs(n,r).users.find(({username:i})=>i==r.payload.username),TC=({allocated:n,isActive:r,isCredit:i})=>n>0&&r&&!i,hT=n=>n.hasChanges=n.isNew||n.role!=n.initialRole||!vT(n.resourceIds,n.initialResourceIds),mT=()=>document.querySelector("meta[name=csrf-token]").content,bP=async n=>{const r=new URLSearchParams({q:n});return(await(await fetch(`${Tn.routes.search_people_path()}?${r}`)).json()).map(({email:u,first_name:l,last_name:d,username:p,organization:y})=>({email:u,firstName:l,lastName:d,username:p,organization:y}))},rg=tu("api/fetchProjectsList",async(n,{rejectWithValue:r})=>{const i=await fetch(`${Tn.routes.projects_path()}.json`);return i.status==200?{username:n,projectsList:(await i.json()).result}:r({})}),gT=tu("api/fetchProjectDetail",async({grantNumber:n},{rejectWithValue:r})=>r({grantNumber:n})),yT=tu("api/fetchRequestDetail",async({grantNumber:n,requestId:r},{rejectWithValue:i})=>i({grantNumber:n,requestId:r})),ag=tu("api/fetchUsageDetail",async({grantNumber:n,requestId:r,resourceRepositoryKey:i},{rejectWithValue:u})=>{const l=await fetch(`${Tn.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})}),ig=tu("api/deleteAction",async({actionId:n,requestId:r},{getState:i,rejectWithValue:u})=>{const l=i().api.requests[r],d=l.actions.find(b=>b.actionId==n);if(!d||!d.allowedOperations||!d.allowedOperations.includes("Delete"))return u({actionId:n,requestId:r});const p=Tn.routes.request_action_path(l.requestId,d.actionId),y={_method:"delete",authenticity_token:mT()};return(await fetch(p,{body:Object.keys(y).map(b=>`${encodeURIComponent(b)}=${encodeURIComponent(y[b])}`).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})}),og=tu("api/saveResources",async({requestId:n},{getState:r,rejectWithValue:i})=>{const u=r().api.requests[n],l={},d={};for(let{allocated:b,isFake:E,questions:R,requested:T,resourceId:A}of u.resources)if(T!=b&&!E){l[A]={resource_id:A,requested:1,amount:T-b};for(let{attributes:N,values:j,fieldType:O}of R)if(j.length){let P=N[0].resourceAttributeId,B=["drop_down","single_sel","multi_sel"].includes(O),U={resource_attribute_id:O=="multi_sel"?j:B?j[0]:P};B||(U.attribute_value=j[0]),d[P]=U}}const p={authenticity_token:mT(),request_action:{action_type:u.allowedActions.Exchange.name,user_comments:u.resourcesReason,resource_attributes:d},requested_resources:l},y=u.exchangeActionId?Tn.routes.request_action_path(u.requestId,u.exchangeActionId):Tn.routes.request_actions_path(u.requestId),g=await fetch(`${y}.json`,{body:JSON.stringify(p),headers:{"Content-Type":"application/json"},method:u.exchangeActionId?"PUT":"POST"});if(g.status==200){const b=parseInt(g.url.split("/").pop(),10);return{requestId:n,exchangeActionId:b}}return i({requestId:n})}),sg=tu("api/saveUsers",async({grantNumber:n},{getState:r,rejectWithValue:i})=>{const l=r().api.projects[n].users,d=l.filter(b=>!vT(b.resourceIds,b.initialResourceIds)||b.isNew).length==0?[]:l.map(b=>({username:b.username,resources:b.resourceIds})),p=l.filter(b=>b.role!=b.initialRole).map(b=>({username:b.username,role:SC[b.role],initialRole:SC[b.initialRole]})),y={grantNumber:n,resourceChanges:d,roleChanges:p,authenticity_token:document.querySelector("meta[name=csrf-token]").content};return(await fetch(Tn.routes.projects_save_users_path(),{method:"POST",body:JSON.stringify(y),headers:{"Content-Type":"application/json"}})).status==200?{grantNumber:n}:i({grantNumber:n})}),bT=rC({name:"api",initialState:{error:null,projectsList:[],projectListLoading:!1,projects:{},requests:{},username:null},reducers:{addResource:(n,r)=>{const{resourceId:i}=r.payload,u=Wr(n,r),l=u.allowedActions.Exchange;if(!l)return;const d={};for(let g of l.resources)d[g.resourceId]=g;const p=u.resources.map(g=>g.resourceId),y=[i,...d[i].requires||[]].filter(g=>g in d&&!p.includes(g));u.resources.push(...y.map(g=>({...d[g],allocated:0,isNew:!0,used:0,requested:0})))},addUser:(n,r)=>{const i=rs(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(TC).map(d=>d.resourceId),role:"user",initialResourceIds:[],initialRole:"user",hasChanges:!0,isNew:!0}),i.usersNewRowIndex=i.users.length-1)},closeUsageDetailModal:(n,r)=>{const i=Wr(n,r);i.usageDetail=null,i.usageDetailStatus=null},resetResources:(n,r)=>{const i=Wr(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=rs(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=rs(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=Wr(n,r);for(let p of d.resources)if(p.resourceId==u){for(let y of p.questions)if(y.attributeSetId==i){y.values=l;break}break}},setResourceRequest:(n,r)=>{const{resourceId:i,requested:u}=r.payload,l=Wr(n,r);let d,p=0;for(let y of l.resources)y.resourceId==i&&(y.requested=u),y.isCredit?(d=y,p+=y.allocated*y.unitCost):p-=(y.requested-y.allocated)*y.unitCost;d&&(d.requested=Pf(p,d.decimalPlaces,"floor"))},setResourcesReason:(n,r)=>{const i=Wr(n,r);i.resourcesReason=r.payload.reason},setTab:(n,r)=>{const i=rs(n,r);i&&(i.tab=r.payload.tab)},setUserRole:(n,r)=>{const i=yP(n,r);i.role=r.payload.role,hT(i)},toggleActionsModal:(n,r)=>{const i=Wr(n,r);i.showActionsModal=!i.showActionsModal},toggleConfirmModal:(n,r)=>{const i=Wr(n,r);i.showConfirmModal=!i.showConfirmModal},toggleDeleteModal:(n,r)=>{const i=ng(n,r);i.showDeleteModal=!i.showDeleteModal},toggleResourcesModal:(n,r)=>{const i=Wr(n,r);i.showResourcesModal=!i.showResourcesModal},toggleUsersResources:(n,r)=>{const i=rs(n,r),u=n.requests[i.currentRequestId],{username:l,resourceId:d,checked:p}=r.payload,y=l?[i.users.find(g=>g.username==l)]:i.users;for(let g of y){if(d){let b=g.resourceIds.indexOf(d);p&&b==-1?g.resourceIds.push(d):!p&&b>=0&&g.resourceIds.splice(b,1)}else g.resourceIds=p?u.resources.filter(TC).map(({resourceId:b})=>b):[];hT(g)}}},extraReducers:n=>{n.addCase(rg.pending,r=>{r.projectListLoading=!0}).addCase(rg.fulfilled,(r,i)=>{i.payload.projectsList.sort((u,l)=>tg(u.requests[0])>tg(l.requests[0])?-1:1),r.username=i.payload.username,r.projectsList=i.payload.projectsList.map(u=>{const{grantNumber:l,requestMasterId:d,requests:p,status:y,title:g}=u,b=y||p&&(p.find(({timeStatus:E})=>E=="current")?"Active":p[0].timeStatus=="past"?"Inactive":p[0].status);return p&&hP(r,u,b),{grantNumber:l||d,status:b,title:g}}),r.projectListLoading=!1}).addCase(rg.rejected,r=>{r.error="Failed to load project list.",r.projectListLoading=!1}).addCase(gT.rejected,(r,i)=>{const{grantNumber:u}=i.payload;r.projects[u]={error:"Failed to load project data."}}).addCase(yT.rejected,(r,i)=>{const{requestId:u}=i.payload;r.requests[u]={error:"Failed to load request data."}}).addCase(ag.pending,(r,i)=>{const u=Wr(r,{payload:i.meta.arg});u.usageDetailStatus=$r.pending}).addCase(ag.fulfilled,(r,i)=>{const u=Wr(r,i);u.usageDetail=i.payload.usageDetail,u.usageDetailStatus=$r.success}).addCase(ag.rejected,(r,i)=>{const u=Wr(r,i);u.usageDetailStatus=$r.error}).addCase(ig.pending,(r,i)=>{const u=ng(r,{payload:i.meta.arg});u.deleteStatus=$r.pending}).addCase(ig.fulfilled,(r,i)=>{const u=Wr(r,i),l=ng(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=$r.success,l.showDeleteModal=!1}).addCase(ig.rejected,(r,i)=>{const u=ng(r,i);u.deleteStatus=$r.error}).addCase(og.pending,(r,i)=>{const u=Wr(r,{payload:i.meta.arg});u.exchangeStatus=$r.pending,u.showResourcesModal=!1}).addCase(og.fulfilled,(r,i)=>{const u=Wr(r,i);u.exchangeActionId=i.payload.exchangeActionId,u.exchangeStatus=$r.success}).addCase(og.rejected,(r,i)=>{const u=Wr(r,i);u.exchangeStatus=$r.error}).addCase(sg.pending,(r,i)=>{const u=rs(r,{payload:i.meta.arg});u.usersStatus=$r.pending}).addCase(sg.fulfilled,(r,i)=>{const u=rs(r,i);u.users=u.users.map(l=>({...l,initialResourceIds:[...l.resourceIds],initialRole:l.role,hasChanges:!1,isNew:!1})),u.usersStatus=$r.success}).addCase(sg.rejected,(r,i)=>{const u=rs(r,i);u.usersStatus=$r.error})}}),CP=n=>n.api.error,xP=n=>n.api.projectsList,EP=n=>n.api.projectListLoading,SP=(n,r)=>rs(n.api,{payload:{grantNumber:r}}),wP=(n,r)=>Wr(n.api,{payload:{requestId:r}}),RP=n=>n.api.username,{addResource:TP,addUser:IP,closeUsageDetailModal:AP,hideAlert:kY,resetResources:NP,resetUsers:OP,setRequest:_P,setResourceQuestionValues:DP,setResourceRequest:jP,setResourcesReason:kP,setTab:MP,setUserRole:PP,toggleActionsModal:LP,toggleConfirmModal:FP,toggleDeleteModal:VP,toggleResourcesModal:BP,toggleUsersResources:zP}=bT.actions,HP=bT.reducer,UP=n=>{const r=xa(CP),i=xa(EP),u=xa(xP),l=ru();return M.useEffect(()=>{l(rg(n))},[]),{error:r,loading:i,projects:u}},ji=(n,r)=>{const i=xa(d=>SP(d,n)),u=xa(RP),l=ru();return M.useEffect(()=>{!i&&!r&&l(gT({grantNumber:n}))},[r]),{project:i,addUser:d=>l(IP({grantNumber:n,user:d})),resetUsers:()=>l(OP({grantNumber:n})),saveUsers:()=>l(sg({grantNumber:n})),setRequest:d=>l(_P({grantNumber:n,requestId:d})),setTab:d=>l(MP({grantNumber:n,tab:d})),setUserRole:(d,p)=>l(PP({grantNumber:n,username:d,role:p})),statuses:$r,toggleUsersResources:(d,p,y)=>l(zP({grantNumber:n,username:p,resourceId:y,checked:d})),username:u}},za=(n,r)=>{const i=xa(l=>wP(l,n)),u=ru();return M.useEffect(()=>{i||u(yT({grantNumber:r,requestId:n}))},[r,n]),{request:i,addResource:l=>u(TP({requestId:n,resourceId:l})),closeUsageDetailModal:()=>u(AP({requestId:n})),deleteAction:l=>u(ig({actionId:l,requestId:n})),openUsageDetailModal:l=>u(ag({grantNumber:i.grantNumber,requestId:n,resourceRepositoryKey:l})),resetResources:()=>u(NP({requestId:n})),saveResources:()=>u(og({requestId:n})),setResourceQuestionValues:(l,d,p)=>u(DP({requestId:n,resourceId:l,attributeSetId:d,values:p})),setResourceRequest:(l,d)=>u(jP({requestId:n,resourceId:l,requested:d})),setResourcesReason:l=>u(kP({requestId:n,reason:l})),statuses:$r,toggleActionsModal:()=>u(LP({requestId:n})),toggleConfirmModal:()=>u(FP({requestId:n})),toggleDeleteModal:l=>u(VP({requestId:n,actionId:l})),toggleResourcesModal:()=>u(BP({requestId:n}))}},aa=({children:n,color:r})=>C.jsx("div",{className:`alert alert-${r} mt-3`,role:"alert",children:n}),CT={project:"_project_qqnbz_1",expand:"_expand_qqnbz_5"};var IC={exports:{}},AC={exports:{}},En={};/** @license React v16.13.1
|
|
271
|
-
* react-is.production.min.js
|
|
272
|
-
*
|
|
273
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
274
|
-
*
|
|
275
|
-
* This source code is licensed under the MIT license found in the
|
|
276
|
-
* LICENSE file in the root directory of this source tree.
|
|
277
|
-
*/var xT;function GP(){if(xT)return En;xT=1;var n=typeof Symbol=="function"&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,u=n?Symbol.for("react.fragment"):60107,l=n?Symbol.for("react.strict_mode"):60108,d=n?Symbol.for("react.profiler"):60114,p=n?Symbol.for("react.provider"):60109,y=n?Symbol.for("react.context"):60110,g=n?Symbol.for("react.async_mode"):60111,b=n?Symbol.for("react.concurrent_mode"):60111,E=n?Symbol.for("react.forward_ref"):60112,R=n?Symbol.for("react.suspense"):60113,T=n?Symbol.for("react.suspense_list"):60120,A=n?Symbol.for("react.memo"):60115,N=n?Symbol.for("react.lazy"):60116,j=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,P=n?Symbol.for("react.responder"):60118,B=n?Symbol.for("react.scope"):60119;function F(z){if(typeof z=="object"&&z!==null){var G=z.$$typeof;switch(G){case r:switch(z=z.type,z){case g:case b:case u:case d:case l:case R:return z;default:switch(z=z&&z.$$typeof,z){case y:case E:case N:case A:case p:return z;default:return G}}case i:return G}}}function U(z){return F(z)===b}return En.AsyncMode=g,En.ConcurrentMode=b,En.ContextConsumer=y,En.ContextProvider=p,En.Element=r,En.ForwardRef=E,En.Fragment=u,En.Lazy=N,En.Memo=A,En.Portal=i,En.Profiler=d,En.StrictMode=l,En.Suspense=R,En.isAsyncMode=function(z){return U(z)||F(z)===g},En.isConcurrentMode=U,En.isContextConsumer=function(z){return F(z)===y},En.isContextProvider=function(z){return F(z)===p},En.isElement=function(z){return typeof z=="object"&&z!==null&&z.$$typeof===r},En.isForwardRef=function(z){return F(z)===E},En.isFragment=function(z){return F(z)===u},En.isLazy=function(z){return F(z)===N},En.isMemo=function(z){return F(z)===A},En.isPortal=function(z){return F(z)===i},En.isProfiler=function(z){return F(z)===d},En.isStrictMode=function(z){return F(z)===l},En.isSuspense=function(z){return F(z)===R},En.isValidElementType=function(z){return typeof z=="string"||typeof z=="function"||z===u||z===b||z===d||z===l||z===R||z===T||typeof z=="object"&&z!==null&&(z.$$typeof===N||z.$$typeof===A||z.$$typeof===p||z.$$typeof===y||z.$$typeof===E||z.$$typeof===O||z.$$typeof===P||z.$$typeof===B||z.$$typeof===j)},En.typeOf=F,En}var Sn={};/** @license React v16.13.1
|
|
278
|
-
* react-is.development.js
|
|
279
|
-
*
|
|
280
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
281
|
-
*
|
|
282
|
-
* This source code is licensed under the MIT license found in the
|
|
283
|
-
* LICENSE file in the root directory of this source tree.
|
|
284
|
-
*/var ET;function $P(){return ET||(ET=1,process.env.NODE_ENV!=="production"&&function(){var n=typeof Symbol=="function"&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,u=n?Symbol.for("react.fragment"):60107,l=n?Symbol.for("react.strict_mode"):60108,d=n?Symbol.for("react.profiler"):60114,p=n?Symbol.for("react.provider"):60109,y=n?Symbol.for("react.context"):60110,g=n?Symbol.for("react.async_mode"):60111,b=n?Symbol.for("react.concurrent_mode"):60111,E=n?Symbol.for("react.forward_ref"):60112,R=n?Symbol.for("react.suspense"):60113,T=n?Symbol.for("react.suspense_list"):60120,A=n?Symbol.for("react.memo"):60115,N=n?Symbol.for("react.lazy"):60116,j=n?Symbol.for("react.block"):60121,O=n?Symbol.for("react.fundamental"):60117,P=n?Symbol.for("react.responder"):60118,B=n?Symbol.for("react.scope"):60119;function F(Ne){return typeof Ne=="string"||typeof Ne=="function"||Ne===u||Ne===b||Ne===d||Ne===l||Ne===R||Ne===T||typeof Ne=="object"&&Ne!==null&&(Ne.$$typeof===N||Ne.$$typeof===A||Ne.$$typeof===p||Ne.$$typeof===y||Ne.$$typeof===E||Ne.$$typeof===O||Ne.$$typeof===P||Ne.$$typeof===B||Ne.$$typeof===j)}function U(Ne){if(typeof Ne=="object"&&Ne!==null){var dt=Ne.$$typeof;switch(dt){case r:var Bt=Ne.type;switch(Bt){case g:case b:case u:case d:case l:case R:return Bt;default:var lt=Bt&&Bt.$$typeof;switch(lt){case y:case E:case N:case A:case p:return lt;default:return dt}}case i:return dt}}}var z=g,G=b,X=y,te=p,Re=r,ue=E,pe=u,ye=N,me=A,Ae=i,_e=d,Oe=l,Ie=R,ve=!1;function Pe(Ne){return ve||(ve=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),L(Ne)||U(Ne)===g}function L(Ne){return U(Ne)===b}function q(Ne){return U(Ne)===y}function se(Ne){return U(Ne)===p}function xe(Ne){return typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===r}function Ee(Ne){return U(Ne)===E}function De(Ne){return U(Ne)===u}function ie(Ne){return U(Ne)===N}function he(Ne){return U(Ne)===A}function Te(Ne){return U(Ne)===i}function Ve(Ne){return U(Ne)===d}function Ke(Ne){return U(Ne)===l}function It(Ne){return U(Ne)===R}Sn.AsyncMode=z,Sn.ConcurrentMode=G,Sn.ContextConsumer=X,Sn.ContextProvider=te,Sn.Element=Re,Sn.ForwardRef=ue,Sn.Fragment=pe,Sn.Lazy=ye,Sn.Memo=me,Sn.Portal=Ae,Sn.Profiler=_e,Sn.StrictMode=Oe,Sn.Suspense=Ie,Sn.isAsyncMode=Pe,Sn.isConcurrentMode=L,Sn.isContextConsumer=q,Sn.isContextProvider=se,Sn.isElement=xe,Sn.isForwardRef=Ee,Sn.isFragment=De,Sn.isLazy=ie,Sn.isMemo=he,Sn.isPortal=Te,Sn.isProfiler=Ve,Sn.isStrictMode=Ke,Sn.isSuspense=It,Sn.isValidElementType=F,Sn.typeOf=U}()),Sn}process.env.NODE_ENV==="production"?AC.exports=GP():AC.exports=$P();var NC=AC.exports;/*
|
|
285
|
-
object-assign
|
|
286
|
-
(c) Sindre Sorhus
|
|
287
|
-
@license MIT
|
|
288
|
-
*/var OC,ST;function WP(){if(ST)return OC;ST=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 p={},y=0;y<10;y++)p["_"+String.fromCharCode(y)]=y;var g=Object.getOwnPropertyNames(p).map(function(E){return p[E]});if(g.join("")!=="0123456789")return!1;var b={};return"abcdefghijklmnopqrst".split("").forEach(function(E){b[E]=E}),Object.keys(Object.assign({},b)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return OC=l()?Object.assign:function(d,p){for(var y,g=u(d),b,E=1;E<arguments.length;E++){y=Object(arguments[E]);for(var R in y)r.call(y,R)&&(g[R]=y[R]);if(n){b=n(y);for(var T=0;T<b.length;T++)i.call(y,b[T])&&(g[b[T]]=y[b[T]])}}return g},OC}var _C,wT;function DC(){if(wT)return _C;wT=1;var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return _C=n,_C}var jC,RT;function TT(){return RT||(RT=1,jC=Function.call.bind(Object.prototype.hasOwnProperty)),jC}var kC,IT;function XP(){if(IT)return kC;IT=1;var n=function(){};if(process.env.NODE_ENV!=="production"){var r=DC(),i={},u=TT();n=function(d){var p="Warning: "+d;typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}}}function l(d,p,y,g,b){if(process.env.NODE_ENV!=="production"){for(var E in d)if(u(d,E)){var R;try{if(typeof d[E]!="function"){var T=Error((g||"React class")+": "+y+" type `"+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[E]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}R=d[E](p,E,g,y,null,r)}catch(N){R=N}if(R&&!(R instanceof Error)&&n((g||"React class")+": type specification of "+y+" `"+E+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof R+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),R instanceof Error&&!(R.message in i)){i[R.message]=!0;var A=b?b():"";n("Failed "+y+" type: "+R.message+(A??""))}}}}return l.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(i={})},kC=l,kC}var MC,AT;function YP(){if(AT)return MC;AT=1;var n=NC,r=WP(),i=DC(),u=TT(),l=XP(),d=function(){};process.env.NODE_ENV!=="production"&&(d=function(y){var g="Warning: "+y;typeof console<"u"&&console.error(g);try{throw new Error(g)}catch{}});function p(){return null}return MC=function(y,g){var b=typeof Symbol=="function"&&Symbol.iterator,E="@@iterator";function R(L){var q=L&&(b&&L[b]||L[E]);if(typeof q=="function")return q}var T="<<anonymous>>",A={array:P("array"),bigint:P("bigint"),bool:P("boolean"),func:P("function"),number:P("number"),object:P("object"),string:P("string"),symbol:P("symbol"),any:B(),arrayOf:F,element:U(),elementType:z(),instanceOf:G,node:ue(),objectOf:te,oneOf:X,oneOfType:Re,shape:ye,exact:me};function N(L,q){return L===q?L!==0||1/L===1/q:L!==L&&q!==q}function j(L,q){this.message=L,this.data=q&&typeof q=="object"?q:{},this.stack=""}j.prototype=Error.prototype;function O(L){if(process.env.NODE_ENV!=="production")var q={},se=0;function xe(De,ie,he,Te,Ve,Ke,It){if(Te=Te||T,Ke=Ke||he,It!==i){if(g){var Ne=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 Ne.name="Invariant Violation",Ne}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var dt=Te+":"+he;!q[dt]&&se<3&&(d("You are manually calling a React.PropTypes validation function for the `"+Ke+"` prop on `"+Te+"`. 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."),q[dt]=!0,se++)}}return ie[he]==null?De?ie[he]===null?new j("The "+Ve+" `"+Ke+"` is marked as required "+("in `"+Te+"`, but its value is `null`.")):new j("The "+Ve+" `"+Ke+"` is marked as required in "+("`"+Te+"`, but its value is `undefined`.")):null:L(ie,he,Te,Ve,Ke)}var Ee=xe.bind(null,!1);return Ee.isRequired=xe.bind(null,!0),Ee}function P(L){function q(se,xe,Ee,De,ie,he){var Te=se[xe],Ve=Oe(Te);if(Ve!==L){var Ke=Ie(Te);return new j("Invalid "+De+" `"+ie+"` of type "+("`"+Ke+"` supplied to `"+Ee+"`, expected ")+("`"+L+"`."),{expectedType:L})}return null}return O(q)}function B(){return O(p)}function F(L){function q(se,xe,Ee,De,ie){if(typeof L!="function")return new j("Property `"+ie+"` of component `"+Ee+"` has invalid PropType notation inside arrayOf.");var he=se[xe];if(!Array.isArray(he)){var Te=Oe(he);return new j("Invalid "+De+" `"+ie+"` of type "+("`"+Te+"` supplied to `"+Ee+"`, expected an array."))}for(var Ve=0;Ve<he.length;Ve++){var Ke=L(he,Ve,Ee,De,ie+"["+Ve+"]",i);if(Ke instanceof Error)return Ke}return null}return O(q)}function U(){function L(q,se,xe,Ee,De){var ie=q[se];if(!y(ie)){var he=Oe(ie);return new j("Invalid "+Ee+" `"+De+"` of type "+("`"+he+"` supplied to `"+xe+"`, expected a single ReactElement."))}return null}return O(L)}function z(){function L(q,se,xe,Ee,De){var ie=q[se];if(!n.isValidElementType(ie)){var he=Oe(ie);return new j("Invalid "+Ee+" `"+De+"` of type "+("`"+he+"` supplied to `"+xe+"`, expected a single ReactElement type."))}return null}return O(L)}function G(L){function q(se,xe,Ee,De,ie){if(!(se[xe]instanceof L)){var he=L.name||T,Te=Pe(se[xe]);return new j("Invalid "+De+" `"+ie+"` of type "+("`"+Te+"` supplied to `"+Ee+"`, expected ")+("instance of `"+he+"`."))}return null}return O(q)}function X(L){if(!Array.isArray(L))return process.env.NODE_ENV!=="production"&&(arguments.length>1?d("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])."):d("Invalid argument supplied to oneOf, expected an array.")),p;function q(se,xe,Ee,De,ie){for(var he=se[xe],Te=0;Te<L.length;Te++)if(N(he,L[Te]))return null;var Ve=JSON.stringify(L,function(It,Ne){var dt=Ie(Ne);return dt==="symbol"?String(Ne):Ne});return new j("Invalid "+De+" `"+ie+"` of value `"+String(he)+"` "+("supplied to `"+Ee+"`, expected one of "+Ve+"."))}return O(q)}function te(L){function q(se,xe,Ee,De,ie){if(typeof L!="function")return new j("Property `"+ie+"` of component `"+Ee+"` has invalid PropType notation inside objectOf.");var he=se[xe],Te=Oe(he);if(Te!=="object")return new j("Invalid "+De+" `"+ie+"` of type "+("`"+Te+"` supplied to `"+Ee+"`, expected an object."));for(var Ve in he)if(u(he,Ve)){var Ke=L(he,Ve,Ee,De,ie+"."+Ve,i);if(Ke instanceof Error)return Ke}return null}return O(q)}function Re(L){if(!Array.isArray(L))return process.env.NODE_ENV!=="production"&&d("Invalid argument supplied to oneOfType, expected an instance of array."),p;for(var q=0;q<L.length;q++){var se=L[q];if(typeof se!="function")return d("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ve(se)+" at index "+q+"."),p}function xe(Ee,De,ie,he,Te){for(var Ve=[],Ke=0;Ke<L.length;Ke++){var It=L[Ke],Ne=It(Ee,De,ie,he,Te,i);if(Ne==null)return null;Ne.data&&u(Ne.data,"expectedType")&&Ve.push(Ne.data.expectedType)}var dt=Ve.length>0?", expected one of type ["+Ve.join(", ")+"]":"";return new j("Invalid "+he+" `"+Te+"` supplied to "+("`"+ie+"`"+dt+"."))}return O(xe)}function ue(){function L(q,se,xe,Ee,De){return Ae(q[se])?null:new j("Invalid "+Ee+" `"+De+"` supplied to "+("`"+xe+"`, expected a ReactNode."))}return O(L)}function pe(L,q,se,xe,Ee){return new j((L||"React class")+": "+q+" type `"+se+"."+xe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Ee+"`.")}function ye(L){function q(se,xe,Ee,De,ie){var he=se[xe],Te=Oe(he);if(Te!=="object")return new j("Invalid "+De+" `"+ie+"` of type `"+Te+"` "+("supplied to `"+Ee+"`, expected `object`."));for(var Ve in L){var Ke=L[Ve];if(typeof Ke!="function")return pe(Ee,De,ie,Ve,Ie(Ke));var It=Ke(he,Ve,Ee,De,ie+"."+Ve,i);if(It)return It}return null}return O(q)}function me(L){function q(se,xe,Ee,De,ie){var he=se[xe],Te=Oe(he);if(Te!=="object")return new j("Invalid "+De+" `"+ie+"` of type `"+Te+"` "+("supplied to `"+Ee+"`, expected `object`."));var Ve=r({},se[xe],L);for(var Ke in Ve){var It=L[Ke];if(u(L,Ke)&&typeof It!="function")return pe(Ee,De,ie,Ke,Ie(It));if(!It)return new j("Invalid "+De+" `"+ie+"` key `"+Ke+"` supplied to `"+Ee+"`.\nBad object: "+JSON.stringify(se[xe],null," ")+`
|
|
289
|
-
Valid keys: `+JSON.stringify(Object.keys(L),null," "));var Ne=It(he,Ke,Ee,De,ie+"."+Ke,i);if(Ne)return Ne}return null}return O(q)}function Ae(L){switch(typeof L){case"number":case"string":case"undefined":return!0;case"boolean":return!L;case"object":if(Array.isArray(L))return L.every(Ae);if(L===null||y(L))return!0;var q=R(L);if(q){var se=q.call(L),xe;if(q!==L.entries){for(;!(xe=se.next()).done;)if(!Ae(xe.value))return!1}else for(;!(xe=se.next()).done;){var Ee=xe.value;if(Ee&&!Ae(Ee[1]))return!1}}else return!1;return!0;default:return!1}}function _e(L,q){return L==="symbol"?!0:q?q["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&q instanceof Symbol:!1}function Oe(L){var q=typeof L;return Array.isArray(L)?"array":L instanceof RegExp?"object":_e(q,L)?"symbol":q}function Ie(L){if(typeof L>"u"||L===null)return""+L;var q=Oe(L);if(q==="object"){if(L instanceof Date)return"date";if(L instanceof RegExp)return"regexp"}return q}function ve(L){var q=Ie(L);switch(q){case"array":case"object":return"an "+q;case"boolean":case"date":case"regexp":return"a "+q;default:return q}}function Pe(L){return!L.constructor||!L.constructor.name?T:L.constructor.name}return A.checkPropTypes=l,A.resetWarningCache=l.resetWarningCache,A.PropTypes=A,A},MC}var PC,NT;function ZP(){if(NT)return PC;NT=1;var n=DC();function r(){}function i(){}return i.resetWarningCache=r,PC=function(){function u(p,y,g,b,E,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},PC}if(process.env.NODE_ENV!=="production"){var JP=NC,qP=!0;IC.exports=YP()(JP.isElement,qP)}else IC.exports=ZP()();var QP=IC.exports;const Tt=Zi(QP);function OT(n,r,i){const u=M.useRef(n!==void 0),[l,d]=M.useState(r),p=n!==void 0,y=u.current;return u.current=p,!p&&y&&l!==r&&d(r),[p?n:l,M.useCallback((...g)=>{const[b,...E]=g;let R=i==null?void 0:i(b,...E);return d(b),R},[i])]}const ug={prefix:String(Math.round(Math.random()*1e10)),current:0},_T=Sr.createContext(ug),KP=Sr.createContext(!1);let eL=!!(typeof window<"u"&&window.document&&window.document.createElement),LC=new WeakMap;function tL(n=!1){let r=M.useContext(_T),i=M.useRef(null);if(i.current===null&&!n){var u,l;let d=(l=Sr.__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 p=LC.get(d);p==null?LC.set(d,{id:r.current,state:d.memoizedState}):d.memoizedState!==p.state&&(r.current=p.id,LC.delete(d))}i.current=++r.current}return i.current}function nL(n){let r=M.useContext(_T);r===ug&&!eL&&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=tL(!!n),u=r===ug&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${r.prefix}`;return n||`${u}-${i}`}function rL(n){let r=Sr.useId(),[i]=M.useState(sL()),u=i||process.env.NODE_ENV==="test"?"react-aria":`react-aria${ug.prefix}`;return n||`${u}-${r}`}const DT=typeof Sr.useId=="function"?rL:nL;function aL(){return!1}function iL(){return!0}function oL(n){return()=>{}}function sL(){return typeof Sr.useSyncExternalStore=="function"?Sr.useSyncExternalStore(oL,aL,iL):M.useContext(KP)}const Ff=M.createContext(null),uL=M.createContext(null),wc=(n,r=null)=>n!=null?String(n):r||null,iu=uL;function lL(n){const r=M.useRef(n);return M.useEffect(()=>{r.current=n},[n]),r}function lr(n){const r=lL(n);return M.useCallback(function(...i){return r.current&&r.current(...i)},[r])}const jT=n=>!n||typeof n=="function"?n:r=>{n.current=r};function cL(n,r){const i=jT(n),u=jT(r);return l=>{i&&i(l),u&&u(l)}}function So(n,r){return M.useMemo(()=>cL(n,r),[n,r])}function FC({children:n,in:r,onExited:i,mountOnEnter:u,unmountOnExit:l}){const d=M.useRef(null),p=M.useRef(r),y=lr(i);M.useEffect(()=>{r?p.current=!0:y(d.current)},[r,y]);const g=So(d,n.ref),b=M.cloneElement(n,{ref:g});return r?b:l||!p.current&&u?null:b}const fL=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],dL=["activeKey","getControlledId","getControllerId"],pL=["as"];function VC(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 kT(n){let{active:r,eventKey:i,mountOnEnter:u,transition:l,unmountOnExit:d,role:p="tabpanel",onEnter:y,onEntering:g,onEntered:b,onExit:E,onExiting:R,onExited:T}=n,A=VC(n,fL);const N=M.useContext(Ff);if(!N)return[Object.assign({},A,{role:p}),{eventKey:i,isActive:r,mountOnEnter:u,transition:l,unmountOnExit:d,onEnter:y,onEntering:g,onEntered:b,onExit:E,onExiting:R,onExited:T}];const{activeKey:j,getControlledId:O,getControllerId:P}=N,B=VC(N,dL),F=wc(i);return[Object.assign({},A,{role:p,id:O(i),"aria-labelledby":P(i)}),{eventKey:i,isActive:r==null&&F!=null?wc(j)===F:r,transition:l||B.transition,mountOnEnter:u??B.mountOnEnter,unmountOnExit:d??B.unmountOnExit,onEnter:y,onEntering:g,onEntered:b,onExit:E,onExiting:R,onExited:T}]}const MT=M.forwardRef((n,r)=>{let{as:i="div"}=n,u=VC(n,pL);const[l,{isActive:d,onEnter:p,onEntering:y,onEntered:g,onExit:b,onExiting:E,onExited:R,mountOnEnter:T,unmountOnExit:A,transition:N=FC}]=kT(u);return C.jsx(Ff.Provider,{value:null,children:C.jsx(iu.Provider,{value:null,children:C.jsx(N,{in:d,onEnter:p,onEntering:y,onEntered:g,onExit:b,onExiting:E,onExited:R,mountOnEnter:T,unmountOnExit:A,children:C.jsx(i,Object.assign({},l,{ref:r,hidden:!d,"aria-hidden":!d}))})})})});MT.displayName="TabPanel";const PT=n=>{const{id:r,generateChildId:i,onSelect:u,activeKey:l,defaultActiveKey:d,transition:p,mountOnEnter:y,unmountOnExit:g,children:b}=n,[E,R]=OT(l,d,u),T=DT(r),A=M.useMemo(()=>i||((j,O)=>T?`${T}-${O}-${j}`:null),[T,i]),N=M.useMemo(()=>({onSelect:R,activeKey:E,transition:p,mountOnEnter:y||!1,unmountOnExit:g||!1,getControlledId:j=>A(j,"tabpane"),getControllerId:j=>A(j,"tab")}),[R,E,p,y,g,A]);return C.jsx(Ff.Provider,{value:N,children:C.jsx(iu.Provider,{value:R||null,children:b})})};PT.Panel=MT;const LT=PT;var FT={exports:{}};/*!
|
|
290
|
-
Copyright (c) 2018 Jed Watson.
|
|
291
|
-
Licensed under the MIT License (MIT), see
|
|
292
|
-
http://jedwatson.github.io/classnames
|
|
293
|
-
*/(function(n){(function(){var r={}.hasOwnProperty;function i(){for(var d="",p=0;p<arguments.length;p++){var y=arguments[p];y&&(d=l(d,u(y)))}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 p="";for(var y in d)r.call(d,y)&&d[y]&&(p=l(p,y));return p}function l(d,p){return p?d?d+" "+p:d+p:d}n.exports?(i.default=i,n.exports=i):window.classNames=i})()})(FT);var vL=FT.exports;const Jt=Zi(vL);function BC(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 lg(n,r){return lg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,l){return u.__proto__=l,u},lg(n,r)}function hL(n,r){n.prototype=Object.create(r.prototype),n.prototype.constructor=n,lg(n,r)}const VT={disabled:!1};var mL=process.env.NODE_ENV!=="production"?Tt.oneOfType([Tt.number,Tt.shape({enter:Tt.number,exit:Tt.number,appear:Tt.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&Tt.oneOfType([Tt.string,Tt.shape({enter:Tt.string,exit:Tt.string,active:Tt.string}),Tt.shape({enter:Tt.string,enterDone:Tt.string,enterActive:Tt.string,exit:Tt.string,exitDone:Tt.string,exitActive:Tt.string})]);const BT=Sr.createContext(null);var gL=function(r){return r.scrollTop},Kp="unmounted",sl="exited",ou="entering",ul="entered",cg="exiting",su=function(n){hL(r,n);function r(u,l){var d;d=n.call(this,u,l)||this;var p=l,y=p&&!p.isMounting?u.enter:u.appear,g;return d.appearStatus=null,u.in?y?(g=sl,d.appearStatus=ou):g=ul:u.unmountOnExit||u.mountOnEnter?g=Kp:g=sl,d.state={status:g},d.nextCallback=null,d}r.getDerivedStateFromProps=function(l,d){var p=l.in;return p&&d.status===Kp?{status:sl}: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 p=this.state.status;this.props.in?p!==ou&&p!==ul&&(d=ou):(p===ou||p===ul)&&(d=cg)}this.updateStatus(!1,d)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var l=this.props.timeout,d,p,y;return d=p=y=l,l!=null&&typeof l!="number"&&(d=l.exit,p=l.enter,y=l.appear!==void 0?l.appear:p),{exit:d,enter:p,appear:y}},i.updateStatus=function(l,d){if(l===void 0&&(l=!1),d!==null)if(this.cancelNextCallback(),d===ou){if(this.props.unmountOnExit||this.props.mountOnEnter){var p=this.props.nodeRef?this.props.nodeRef.current:bc.findDOMNode(this);p&&gL(p)}this.performEnter(l)}else this.performExit();else this.props.unmountOnExit&&this.state.status===sl&&this.setState({status:Kp})},i.performEnter=function(l){var d=this,p=this.props.enter,y=this.context?this.context.isMounting:l,g=this.props.nodeRef?[y]:[bc.findDOMNode(this),y],b=g[0],E=g[1],R=this.getTimeouts(),T=y?R.appear:R.enter;if(!l&&!p||VT.disabled){this.safeSetState({status:ul},function(){d.props.onEntered(b)});return}this.props.onEnter(b,E),this.safeSetState({status:ou},function(){d.props.onEntering(b,E),d.onTransitionEnd(T,function(){d.safeSetState({status:ul},function(){d.props.onEntered(b,E)})})})},i.performExit=function(){var l=this,d=this.props.exit,p=this.getTimeouts(),y=this.props.nodeRef?void 0:bc.findDOMNode(this);if(!d||VT.disabled){this.safeSetState({status:sl},function(){l.props.onExited(y)});return}this.props.onExit(y),this.safeSetState({status:cg},function(){l.props.onExiting(y),l.onTransitionEnd(p.exit,function(){l.safeSetState({status:sl},function(){l.props.onExited(y)})})})},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,p=!0;return this.nextCallback=function(y){p&&(p=!1,d.nextCallback=null,l(y))},this.nextCallback.cancel=function(){p=!1},this.nextCallback},i.onTransitionEnd=function(l,d){this.setNextCallback(d);var p=this.props.nodeRef?this.props.nodeRef.current:bc.findDOMNode(this),y=l==null&&!this.props.addEndListener;if(!p||y){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var g=this.props.nodeRef?[this.nextCallback]:[p,this.nextCallback],b=g[0],E=g[1];this.props.addEndListener(b,E)}l!=null&&setTimeout(this.nextCallback,l)},i.render=function(){var l=this.state.status;if(l===Kp)return null;var d=this.props,p=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 y=BC(d,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Sr.createElement(BT.Provider,{value:null},typeof p=="function"?p(l,y):Sr.cloneElement(Sr.Children.only(p),y))},r}(Sr.Component);su.contextType=BT,su.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:Tt.shape({current:typeof Element>"u"?Tt.any:function(n,r,i,u,l,d){var p=n[r];return Tt.instanceOf(p&&"ownerDocument"in p?p.ownerDocument.defaultView.Element:Element)(n,r,i,u,l,d)}}),children:Tt.oneOfType([Tt.func.isRequired,Tt.element.isRequired]).isRequired,in:Tt.bool,mountOnEnter:Tt.bool,unmountOnExit:Tt.bool,appear:Tt.bool,enter:Tt.bool,exit:Tt.bool,timeout:function(r){var i=mL;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:Tt.func,onEnter:Tt.func,onEntering:Tt.func,onEntered:Tt.func,onExit:Tt.func,onExiting:Tt.func,onExited:Tt.func}:{};function Vf(){}su.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Vf,onEntering:Vf,onEntered:Vf,onExit:Vf,onExiting:Vf,onExited:Vf},su.UNMOUNTED=Kp,su.EXITED=sl,su.ENTERING=ou,su.ENTERED=ul,su.EXITING=cg;const yL=su;function Bf(n){return n&&n.ownerDocument||document}function bL(n){var r=Bf(n);return r&&r.defaultView||window}function CL(n,r){return bL(n).getComputedStyle(n,r)}var xL=/([A-Z])/g;function EL(n){return n.replace(xL,"-$1").toLowerCase()}var SL=/^ms-/;function fg(n){return EL(n).replace(SL,"-ms-")}var wL=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function RL(n){return!!(n&&wL.test(n))}function uu(n,r){var i="",u="";if(typeof r=="string")return n.style.getPropertyValue(fg(r))||CL(n).getPropertyValue(fg(r));Object.keys(r).forEach(function(l){var d=r[l];!d&&d!==0?n.style.removeProperty(fg(l)):RL(l)?u+=l+"("+d+") ":i+=fg(l)+": "+d+";"}),u&&(i+="transform: "+u+";"),n.style.cssText+=";"+i}const zf=!!(typeof window<"u"&&window.document&&window.document.createElement);var zC=!1,HC=!1;try{var UC={get passive(){return zC=!0},get once(){return HC=zC=!0}};zf&&(window.addEventListener("test",UC,UC),window.removeEventListener("test",UC,!0))}catch{}function GC(n,r,i,u){if(u&&typeof u!="boolean"&&!HC){var l=u.once,d=u.capture,p=i;!HC&&l&&(p=i.__once||function y(g){this.removeEventListener(r,y,d),i.call(this,g)},i.__once=p),n.addEventListener(r,p,zC?u:d)}n.addEventListener(r,i,u)}function $C(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 lu(n,r,i,u){return GC(n,r,i,u),function(){$C(n,r,i,u)}}function TL(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 IL(n){var r=uu(n,"transitionDuration")||"",i=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*i}function AL(n,r,i){i===void 0&&(i=5);var u=!1,l=setTimeout(function(){u||TL(n,"transitionend",!0)},r+i),d=lu(n,"transitionend",function(){u=!0},{once:!0});return function(){clearTimeout(l),d()}}function zT(n,r,i,u){i==null&&(i=IL(n)||0);var l=AL(n,i,u),d=lu(n,"transitionend",r);return function(){l(),d()}}function HT(n,r){const i=uu(n,r)||"",u=i.indexOf("ms")===-1?1e3:1;return parseFloat(i)*u}function UT(n,r){const i=HT(n,"transitionDuration"),u=HT(n,"transitionDelay"),l=zT(n,d=>{d.target===n&&(l(),r(d))},i+u)}function GT(n){n.offsetHeight}function dg(n){return n&&"setState"in n?bc.findDOMNode(n):n??null}const $T=Sr.forwardRef(({onEnter:n,onEntering:r,onEntered:i,onExit:u,onExiting:l,onExited:d,addEndListener:p,children:y,childRef:g,...b},E)=>{const R=M.useRef(null),T=So(R,g),A=G=>{T(dg(G))},N=G=>X=>{G&&R.current&&G(R.current,X)},j=M.useCallback(N(n),[n]),O=M.useCallback(N(r),[r]),P=M.useCallback(N(i),[i]),B=M.useCallback(N(u),[u]),F=M.useCallback(N(l),[l]),U=M.useCallback(N(d),[d]),z=M.useCallback(N(p),[p]);return C.jsx(yL,{ref:E,...b,onEnter:j,onEntered:P,onEntering:O,onExit:B,onExited:U,onExiting:F,addEndListener:z,nodeRef:R,children:typeof y=="function"?(G,X)=>y(G,{...X,ref:A}):Sr.cloneElement(y,{ref:A})})}),NL={[ou]:"show",[ul]:"show"},WT=M.forwardRef(({className:n,children:r,transitionClasses:i={},onEnter:u,...l},d)=>{const p={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...l},y=M.useCallback((g,b)=>{GT(g),u==null||u(g,b)},[u]);return C.jsx($T,{ref:d,addEndListener:UT,...p,onEnter:y,childRef:r.ref,children:(g,b)=>M.cloneElement(r,{...b,className:Jt("fade",n,r.props.className,NL[g],i[g])})})});WT.displayName="Fade";const Hf=WT;function WC(n){return typeof n=="boolean"?n?Hf:FC:n}const XT=({transition:n,...r})=>C.jsx(LT,{...r,transition:WC(n)});XT.displayName="TabContainer";const OL=XT,_L=["xxl","xl","lg","md","sm","xs"],YT=M.createContext({prefixes:{},breakpoints:_L,minBreakpoint:"xs"});function hn(n,r){const{prefixes:i}=M.useContext(YT);return n||i[r]||r}function pg(){const{dir:n}=M.useContext(YT);return n==="rtl"}const ZT=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=hn(r,"tab-content"),C.jsx(i,{ref:l,className:Jt(n,r),...u})));ZT.displayName="TabContent";const JT=ZT,qT=M.forwardRef(({bsPrefix:n,transition:r,...i},u)=>{const[{className:l,as:d="div",...p},{isActive:y,onEnter:g,onEntering:b,onEntered:E,onExit:R,onExiting:T,onExited:A,mountOnEnter:N,unmountOnExit:j,transition:O=Hf}]=kT({...i,transition:WC(r)}),P=hn(n,"tab-pane");return C.jsx(Ff.Provider,{value:null,children:C.jsx(iu.Provider,{value:null,children:C.jsx(O,{in:y,onEnter:g,onEntering:b,onEntered:E,onExit:R,onExiting:T,onExited:A,mountOnEnter:N,unmountOnExit:j,children:C.jsx(d,{...p,ref:u,className:Jt(l,P,y&&"active")})})})})});qT.displayName="TabPane";const QT=qT,DL={eventKey:Tt.oneOfType([Tt.string,Tt.number]),title:Tt.node.isRequired,disabled:Tt.bool,tabClassName:Tt.string,tabAttrs:Tt.object},KT=()=>{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")};KT.propTypes=DL;const vg=Object.assign(KT,{Container:OL,Content:JT,Pane:QT});function xt(){return xt=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},xt.apply(this,arguments)}var jL=function(n,r,i,u,l,d,p,y){if(process.env.NODE_ENV!=="production"&&r===void 0)throw new Error("invariant requires an error message argument");if(!n){var g;if(r===void 0)g=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var b=[i,u,l,d,p,y],E=0;g=new Error(r.replace(/%s/g,function(){return b[E++]})),g.name="Invariant Violation"}throw g.framesToPop=1,g}},kL=jL;const eI=Zi(kL);function tI(n){return"default"+n.charAt(0).toUpperCase()+n.substr(1)}function ML(n){var r=PL(n,"string");return typeof r=="symbol"?r:String(r)}function PL(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 nI(n,r,i){var u=M.useRef(n!==void 0),l=M.useState(r),d=l[0],p=l[1],y=n!==void 0,g=u.current;return u.current=y,!y&&g&&d!==r&&p(r),[y?n:d,M.useCallback(function(b){for(var E=arguments.length,R=new Array(E>1?E-1:0),T=1;T<E;T++)R[T-1]=arguments[T];i&&i.apply(void 0,[b].concat(R)),p(b)},[i])]}function hg(n,r){return Object.keys(r).reduce(function(i,u){var l,d=i,p=d[tI(u)],y=d[u],g=BC(d,[tI(u),u].map(ML)),b=r[u],E=nI(y,p,n[b]),R=E[0],T=E[1];return xt({},g,(l={},l[u]=R,l[b]=T,l))},n)}var rI={exports:{}},XC={exports:{}};(function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=i;function i(u){function l(p,y,g,b,E,R){var T=b||"<<anonymous>>",A=R||g;if(y[g]==null)return p?new Error("Required "+E+" `"+A+"` was not specified "+("in `"+T+"`.")):null;for(var N=arguments.length,j=Array(N>6?N-6:0),O=6;O<N;O++)j[O-6]=arguments[O];return u.apply(void 0,[y,g,T,E,A].concat(j))}var d=l.bind(null,!1);return d.isRequired=l.bind(null,!0),d}n.exports=r.default})(XC,XC.exports);var LL=XC.exports;(function(n,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=d;var i=LL,u=l(i);function l(p){return p&&p.__esModule?p:{default:p}}function d(){for(var p=arguments.length,y=Array(p),g=0;g<p;g++)y[g]=arguments[g];function b(){for(var E=arguments.length,R=Array(E),T=0;T<E;T++)R[T]=arguments[T];var A=null;return y.forEach(function(N){if(A==null){var j=N.apply(void 0,R);j!=null&&(A=j)}}),A}return(0,u.default)(b)}n.exports=r.default})(rI,rI.exports);var FL=Function.prototype.bind.call(Function.prototype.call,[].slice);function cu(n,r){return FL(n.querySelectorAll(r))}function aI(){const[,n]=M.useReducer(r=>!r,!1);return n}const iI=M.createContext(null);iI.displayName="NavContext";const YC=iI,VL="data-rr-ui-",BL="rrUi";function Uf(n){return`${VL}${n}`}function zL(n){return`${BL}${n}`}const HL=["as","disabled"];function UL(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 GL(n){return!n||n.trim()==="#"}function ZC({tagName:n,disabled:r,href:i,target:u,rel:l,role:d,onClick:p,tabIndex:y=0,type:g}){n||(i!=null||u!=null||l!=null?n="a":n="button");const b={tagName:n};if(n==="button")return[{type:g||"button",disabled:r},b];const E=T=>{if((r||n==="a"&&GL(i))&&T.preventDefault(),r){T.stopPropagation();return}p==null||p(T)},R=T=>{T.key===" "&&(T.preventDefault(),E(T))};return n==="a"&&(i||(i="#"),r&&(i=void 0)),[{role:d??"button",disabled:void 0,tabIndex:r?void 0:y,href:i,target:n==="a"?u:void 0,"aria-disabled":r||void 0,rel:n==="a"?l:void 0,onClick:E,onKeyDown:R},b]}const JC=M.forwardRef((n,r)=>{let{as:i,disabled:u}=n,l=UL(n,HL);const[d,{tagName:p}]=ZC(Object.assign({tagName:i,disabled:u},l));return C.jsx(p,Object.assign({},l,d,{ref:r}))});JC.displayName="Button";const $L=["as","active","eventKey"];function WL(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 oI({key:n,onClick:r,active:i,id:u,role:l,disabled:d}){const p=M.useContext(iu),y=M.useContext(YC),g=M.useContext(Ff);let b=i;const E={role:l};if(y){!l&&y.role==="tablist"&&(E.role="tab");const R=y.getControllerId(n??null),T=y.getControlledId(n??null);E[Uf("event-key")]=n,E.id=R||u,b=i==null&&n!=null?y.activeKey===n:i,(b||!(g!=null&&g.unmountOnExit)&&!(g!=null&&g.mountOnEnter))&&(E["aria-controls"]=T)}return E.role==="tab"&&(E["aria-selected"]=b,b||(E.tabIndex=-1),d&&(E.tabIndex=-1,E["aria-disabled"]=!0)),E.onClick=lr(R=>{d||(r==null||r(R),n!=null&&p&&!R.isPropagationStopped()&&p(n,R))}),[E,{isActive:b}]}const sI=M.forwardRef((n,r)=>{let{as:i=JC,active:u,eventKey:l}=n,d=WL(n,$L);const[p,y]=oI(Object.assign({key:wc(l,d.href),active:u},d));return p[Uf("active")]=y.isActive,C.jsx(i,Object.assign({},d,p,{ref:r}))});sI.displayName="NavItem";const XL=sI,YL=["as","onSelect","activeKey","role","onKeyDown"];function ZL(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 uI=()=>{},lI=Uf("event-key"),cI=M.forwardRef((n,r)=>{let{as:i="div",onSelect:u,activeKey:l,role:d,onKeyDown:p}=n,y=ZL(n,YL);const g=aI(),b=M.useRef(!1),E=M.useContext(iu),R=M.useContext(Ff);let T,A;R&&(d=d||"tablist",l=R.activeKey,T=R.getControlledId,A=R.getControllerId);const N=M.useRef(null),j=F=>{const U=N.current;if(!U)return null;const z=cu(U,`[${lI}]:not([aria-disabled=true])`),G=U.querySelector("[aria-selected=true]");if(!G||G!==document.activeElement)return null;const X=z.indexOf(G);if(X===-1)return null;let te=X+F;return te>=z.length&&(te=0),te<0&&(te=z.length-1),z[te]},O=(F,U)=>{F!=null&&(u==null||u(F,U),E==null||E(F,U))},P=F=>{if(p==null||p(F),!R)return;let U;switch(F.key){case"ArrowLeft":case"ArrowUp":U=j(-1);break;case"ArrowRight":case"ArrowDown":U=j(1);break;default:return}U&&(F.preventDefault(),O(U.dataset[zL("EventKey")]||null,F),b.current=!0,g())};M.useEffect(()=>{if(N.current&&b.current){const F=N.current.querySelector(`[${lI}][aria-selected=true]`);F==null||F.focus()}b.current=!1});const B=So(r,N);return C.jsx(iu.Provider,{value:O,children:C.jsx(YC.Provider,{value:{role:d,activeKey:wc(l),getControlledId:T||uI,getControllerId:A||uI},children:C.jsx(i,Object.assign({},y,{onKeyDown:P,ref:B,role:d}))})})});cI.displayName="Nav";const JL=Object.assign(cI,{Item:XL}),fI=M.createContext(null);fI.displayName="NavbarContext";const dI=fI,pI=M.createContext(null);pI.displayName="CardHeaderContext";const qL=pI,vI=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=hn(r,"nav-item"),C.jsx(i,{ref:l,className:Jt(n,r),...u})));vI.displayName="NavItem";const hI=vI;function mg(){return M.useState(null)}function QL(n,r,i,u=!1){const l=lr(i);M.useEffect(()=>{const d=typeof n=="function"?n():n;return d.addEventListener(r,l,u),()=>d.removeEventListener(r,l,u)},[n])}function qC(){const n=M.useRef(!0),r=M.useRef(()=>n.current);return M.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[]),r.current}function mI(n){const r=M.useRef(null);return M.useEffect(()=>{r.current=n}),r.current}const KL=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",gg=typeof document<"u"||KL?M.useLayoutEffect:M.useEffect,eF=["onKeyDown"];function tF(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 nF(n){return!n||n.trim()==="#"}const gI=M.forwardRef((n,r)=>{let{onKeyDown:i}=n,u=tF(n,eF);const[l]=ZC(Object.assign({tagName:"a"},u)),d=lr(p=>{l.onKeyDown(p),i==null||i(p)});return nF(u.href)||u.role==="button"?C.jsx("a",Object.assign({ref:r},u,l,{onKeyDown:d})):C.jsx("a",Object.assign({ref:r},u,{onKeyDown:i}))});gI.displayName="Anchor";const yI=gI,bI=M.forwardRef(({bsPrefix:n,className:r,as:i=yI,active:u,eventKey:l,disabled:d=!1,...p},y)=>{n=hn(n,"nav-link");const[g,b]=oI({key:wc(l,p.href),active:u,disabled:d,...p});return C.jsx(i,{...p,...g,ref:y,disabled:d,className:Jt(r,n,d&&"disabled",b.isActive&&"active")})});bI.displayName="NavLink";const CI=bI,xI=M.forwardRef((n,r)=>{const{as:i="div",bsPrefix:u,variant:l,fill:d=!1,justify:p=!1,navbar:y,navbarScroll:g,className:b,activeKey:E,...R}=hg(n,{activeKey:"onSelect"}),T=hn(u,"nav");let A,N,j=!1;const O=M.useContext(dI),P=M.useContext(qL);return O?(A=O.bsPrefix,j=y??!0):P&&({cardHeaderBsPrefix:N}=P),C.jsx(JL,{as:i,ref:r,activeKey:E,className:Jt(b,{[T]:!j,[`${A}-nav`]:j,[`${A}-nav-scroll`]:j&&g,[`${N}-${l}`]:!!N,[`${T}-${l}`]:!!l,[`${T}-fill`]:d,[`${T}-justified`]:p}),...R})});xI.displayName="Nav";const rF=Object.assign(xI,{Item:hI,Link:CI});function EI(n,r){let i=0;return M.Children.map(n,u=>M.isValidElement(u)?r(u,i++):u)}function aF(n,r){let i=0;M.Children.forEach(n,u=>{M.isValidElement(u)&&r(u,i++)})}function iF(n){let r;return aF(n,i=>{r==null&&(r=i.props.eventKey)}),r}function oF(n){const{title:r,eventKey:i,disabled:u,tabClassName:l,tabAttrs:d,id:p}=n.props;return r==null?null:C.jsx(hI,{as:"li",role:"presentation",children:C.jsx(CI,{as:"button",type:"button",eventKey:i,disabled:u,id:p,className:l,...d,children:r})})}const SI=n=>{const{id:r,onSelect:i,transition:u,mountOnEnter:l=!1,unmountOnExit:d=!1,variant:p="tabs",children:y,activeKey:g=iF(y),...b}=hg(n,{activeKey:"onSelect"});return C.jsxs(LT,{id:r,activeKey:g,onSelect:i,transition:WC(u),mountOnEnter:l,unmountOnExit:d,children:[C.jsx(rF,{...b,role:"tablist",as:"ul",variant:p,children:EI(y,oF)}),C.jsx(JT,{children:EI(y,E=>{const R={...E.props};return delete R.title,delete R.disabled,delete R.tabClassName,delete R.tabAttrs,C.jsx(QT,{...R})})})]})};SI.displayName="Tabs";const sF=SI,yg=M.createContext(null);var wI=Object.prototype.hasOwnProperty;function RI(n,r,i){for(i of n.keys())if(ev(i,r))return i}function ev(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--&&ev(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=RI(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=RI(r,l),!l)||!ev(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(wI.call(n,i)&&++u&&!wI.call(r,i)||!(i in r)||!ev(n[i],r[i]))return!1;return Object.keys(r).length===u}}return n!==n&&r!==r}function uF(n){const r=qC();return[n[0],M.useCallback(i=>{if(r())return n[1](i)},[r,n[1]])]}var oi="top",qi="bottom",Qi="right",si="left",QC="auto",tv=[oi,qi,Qi,si],Gf="start",nv="end",lF="clippingParents",TI="viewport",rv="popper",cF="reference",II=tv.reduce(function(n,r){return n.concat([r+"-"+Gf,r+"-"+nv])},[]),AI=[].concat(tv,[QC]).reduce(function(n,r){return n.concat([r,r+"-"+Gf,r+"-"+nv])},[]),fF="beforeRead",dF="read",pF="afterRead",vF="beforeMain",hF="main",mF="afterMain",gF="beforeWrite",yF="write",bF="afterWrite",CF=[fF,dF,pF,vF,hF,mF,gF,yF,bF];function as(n){return n.split("-")[0]}function ki(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var r=n.ownerDocument;return r&&r.defaultView||window}return n}function Rc(n){var r=ki(n).Element;return n instanceof r||n instanceof Element}function is(n){var r=ki(n).HTMLElement;return n instanceof r||n instanceof HTMLElement}function KC(n){if(typeof ShadowRoot>"u")return!1;var r=ki(n).ShadowRoot;return n instanceof r||n instanceof ShadowRoot}var Tc=Math.max,bg=Math.min,$f=Math.round;function ex(){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 NI(){return!/^((?!chrome|android).)*safari/i.test(ex())}function Wf(n,r,i){r===void 0&&(r=!1),i===void 0&&(i=!1);var u=n.getBoundingClientRect(),l=1,d=1;r&&is(n)&&(l=n.offsetWidth>0&&$f(u.width)/n.offsetWidth||1,d=n.offsetHeight>0&&$f(u.height)/n.offsetHeight||1);var p=Rc(n)?ki(n):window,y=p.visualViewport,g=!NI()&&i,b=(u.left+(g&&y?y.offsetLeft:0))/l,E=(u.top+(g&&y?y.offsetTop:0))/d,R=u.width/l,T=u.height/d;return{width:R,height:T,top:E,right:b+R,bottom:E+T,left:b,x:b,y:E}}function tx(n){var r=Wf(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 OI(n,r){var i=r.getRootNode&&r.getRootNode();if(n.contains(r))return!0;if(i&&KC(i)){var u=r;do{if(u&&n.isSameNode(u))return!0;u=u.parentNode||u.host}while(u)}return!1}function ll(n){return n?(n.nodeName||"").toLowerCase():null}function fu(n){return ki(n).getComputedStyle(n)}function xF(n){return["table","td","th"].indexOf(ll(n))>=0}function cl(n){return((Rc(n)?n.ownerDocument:n.document)||window.document).documentElement}function Cg(n){return ll(n)==="html"?n:n.assignedSlot||n.parentNode||(KC(n)?n.host:null)||cl(n)}function _I(n){return!is(n)||fu(n).position==="fixed"?null:n.offsetParent}function EF(n){var r=/firefox/i.test(ex()),i=/Trident/i.test(ex());if(i&&is(n)){var u=fu(n);if(u.position==="fixed")return null}var l=Cg(n);for(KC(l)&&(l=l.host);is(l)&&["html","body"].indexOf(ll(l))<0;){var d=fu(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 av(n){for(var r=ki(n),i=_I(n);i&&xF(i)&&fu(i).position==="static";)i=_I(i);return i&&(ll(i)==="html"||ll(i)==="body"&&fu(i).position==="static")?r:i||EF(n)||r}function nx(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function iv(n,r,i){return Tc(n,bg(r,i))}function SF(n,r,i){var u=iv(n,r,i);return u>i?i:u}function DI(){return{top:0,right:0,bottom:0,left:0}}function jI(n){return Object.assign({},DI(),n)}function kI(n,r){return r.reduce(function(i,u){return i[u]=n,i},{})}var wF=function(r,i){return r=typeof r=="function"?r(Object.assign({},i.rects,{placement:i.placement})):r,jI(typeof r!="number"?r:kI(r,tv))};function RF(n){var r,i=n.state,u=n.name,l=n.options,d=i.elements.arrow,p=i.modifiersData.popperOffsets,y=as(i.placement),g=nx(y),b=[si,Qi].indexOf(y)>=0,E=b?"height":"width";if(!(!d||!p)){var R=wF(l.padding,i),T=tx(d),A=g==="y"?oi:si,N=g==="y"?qi:Qi,j=i.rects.reference[E]+i.rects.reference[g]-p[g]-i.rects.popper[E],O=p[g]-i.rects.reference[g],P=av(d),B=P?g==="y"?P.clientHeight||0:P.clientWidth||0:0,F=j/2-O/2,U=R[A],z=B-T[E]-R[N],G=B/2-T[E]/2+F,X=iv(U,G,z),te=g;i.modifiersData[u]=(r={},r[te]=X,r.centerOffset=X-G,r)}}function TF(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)||OI(r.elements.popper,l)&&(r.elements.arrow=l))}const IF={name:"arrow",enabled:!0,phase:"main",fn:RF,effect:TF,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Xf(n){return n.split("-")[1]}var AF={top:"auto",right:"auto",bottom:"auto",left:"auto"};function NF(n,r){var i=n.x,u=n.y,l=r.devicePixelRatio||1;return{x:$f(i*l)/l||0,y:$f(u*l)/l||0}}function MI(n){var r,i=n.popper,u=n.popperRect,l=n.placement,d=n.variation,p=n.offsets,y=n.position,g=n.gpuAcceleration,b=n.adaptive,E=n.roundOffsets,R=n.isFixed,T=p.x,A=T===void 0?0:T,N=p.y,j=N===void 0?0:N,O=typeof E=="function"?E({x:A,y:j}):{x:A,y:j};A=O.x,j=O.y;var P=p.hasOwnProperty("x"),B=p.hasOwnProperty("y"),F=si,U=oi,z=window;if(b){var G=av(i),X="clientHeight",te="clientWidth";if(G===ki(i)&&(G=cl(i),fu(G).position!=="static"&&y==="absolute"&&(X="scrollHeight",te="scrollWidth")),G=G,l===oi||(l===si||l===Qi)&&d===nv){U=qi;var Re=R&&G===z&&z.visualViewport?z.visualViewport.height:G[X];j-=Re-u.height,j*=g?1:-1}if(l===si||(l===oi||l===qi)&&d===nv){F=Qi;var ue=R&&G===z&&z.visualViewport?z.visualViewport.width:G[te];A-=ue-u.width,A*=g?1:-1}}var pe=Object.assign({position:y},b&&AF),ye=E===!0?NF({x:A,y:j},ki(i)):{x:A,y:j};if(A=ye.x,j=ye.y,g){var me;return Object.assign({},pe,(me={},me[U]=B?"0":"",me[F]=P?"0":"",me.transform=(z.devicePixelRatio||1)<=1?"translate("+A+"px, "+j+"px)":"translate3d("+A+"px, "+j+"px, 0)",me))}return Object.assign({},pe,(r={},r[U]=B?j+"px":"",r[F]=P?A+"px":"",r.transform="",r))}function OF(n){var r=n.state,i=n.options,u=i.gpuAcceleration,l=u===void 0?!0:u,d=i.adaptive,p=d===void 0?!0:d,y=i.roundOffsets,g=y===void 0?!0:y,b={placement:as(r.placement),variation:Xf(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,MI(Object.assign({},b,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:p,roundOffsets:g})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,MI(Object.assign({},b,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:g})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}const _F={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:OF,data:{}};var xg={passive:!0};function DF(n){var r=n.state,i=n.instance,u=n.options,l=u.scroll,d=l===void 0?!0:l,p=u.resize,y=p===void 0?!0:p,g=ki(r.elements.popper),b=[].concat(r.scrollParents.reference,r.scrollParents.popper);return d&&b.forEach(function(E){E.addEventListener("scroll",i.update,xg)}),y&&g.addEventListener("resize",i.update,xg),function(){d&&b.forEach(function(E){E.removeEventListener("scroll",i.update,xg)}),y&&g.removeEventListener("resize",i.update,xg)}}const jF={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:DF,data:{}};var kF={left:"right",right:"left",bottom:"top",top:"bottom"};function Eg(n){return n.replace(/left|right|bottom|top/g,function(r){return kF[r]})}var MF={start:"end",end:"start"};function PI(n){return n.replace(/start|end/g,function(r){return MF[r]})}function rx(n){var r=ki(n),i=r.pageXOffset,u=r.pageYOffset;return{scrollLeft:i,scrollTop:u}}function ax(n){return Wf(cl(n)).left+rx(n).scrollLeft}function PF(n,r){var i=ki(n),u=cl(n),l=i.visualViewport,d=u.clientWidth,p=u.clientHeight,y=0,g=0;if(l){d=l.width,p=l.height;var b=NI();(b||!b&&r==="fixed")&&(y=l.offsetLeft,g=l.offsetTop)}return{width:d,height:p,x:y+ax(n),y:g}}function LF(n){var r,i=cl(n),u=rx(n),l=(r=n.ownerDocument)==null?void 0:r.body,d=Tc(i.scrollWidth,i.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),p=Tc(i.scrollHeight,i.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),y=-u.scrollLeft+ax(n),g=-u.scrollTop;return fu(l||i).direction==="rtl"&&(y+=Tc(i.clientWidth,l?l.clientWidth:0)-d),{width:d,height:p,x:y,y:g}}function ix(n){var r=fu(n),i=r.overflow,u=r.overflowX,l=r.overflowY;return/auto|scroll|overlay|hidden/.test(i+l+u)}function LI(n){return["html","body","#document"].indexOf(ll(n))>=0?n.ownerDocument.body:is(n)&&ix(n)?n:LI(Cg(n))}function ov(n,r){var i;r===void 0&&(r=[]);var u=LI(n),l=u===((i=n.ownerDocument)==null?void 0:i.body),d=ki(u),p=l?[d].concat(d.visualViewport||[],ix(u)?u:[]):u,y=r.concat(p);return l?y:y.concat(ov(Cg(p)))}function ox(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function FF(n,r){var i=Wf(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 FI(n,r,i){return r===TI?ox(PF(n,i)):Rc(r)?FF(r,i):ox(LF(cl(n)))}function VF(n){var r=ov(Cg(n)),i=["absolute","fixed"].indexOf(fu(n).position)>=0,u=i&&is(n)?av(n):n;return Rc(u)?r.filter(function(l){return Rc(l)&&OI(l,u)&&ll(l)!=="body"}):[]}function BF(n,r,i,u){var l=r==="clippingParents"?VF(n):[].concat(r),d=[].concat(l,[i]),p=d[0],y=d.reduce(function(g,b){var E=FI(n,b,u);return g.top=Tc(E.top,g.top),g.right=bg(E.right,g.right),g.bottom=bg(E.bottom,g.bottom),g.left=Tc(E.left,g.left),g},FI(n,p,u));return y.width=y.right-y.left,y.height=y.bottom-y.top,y.x=y.left,y.y=y.top,y}function VI(n){var r=n.reference,i=n.element,u=n.placement,l=u?as(u):null,d=u?Xf(u):null,p=r.x+r.width/2-i.width/2,y=r.y+r.height/2-i.height/2,g;switch(l){case oi:g={x:p,y:r.y-i.height};break;case qi:g={x:p,y:r.y+r.height};break;case Qi:g={x:r.x+r.width,y};break;case si:g={x:r.x-i.width,y};break;default:g={x:r.x,y:r.y}}var b=l?nx(l):null;if(b!=null){var E=b==="y"?"height":"width";switch(d){case Gf:g[b]=g[b]-(r[E]/2-i[E]/2);break;case nv:g[b]=g[b]+(r[E]/2-i[E]/2);break}}return g}function sv(n,r){r===void 0&&(r={});var i=r,u=i.placement,l=u===void 0?n.placement:u,d=i.strategy,p=d===void 0?n.strategy:d,y=i.boundary,g=y===void 0?lF:y,b=i.rootBoundary,E=b===void 0?TI:b,R=i.elementContext,T=R===void 0?rv:R,A=i.altBoundary,N=A===void 0?!1:A,j=i.padding,O=j===void 0?0:j,P=jI(typeof O!="number"?O:kI(O,tv)),B=T===rv?cF:rv,F=n.rects.popper,U=n.elements[N?B:T],z=BF(Rc(U)?U:U.contextElement||cl(n.elements.popper),g,E,p),G=Wf(n.elements.reference),X=VI({reference:G,element:F,strategy:"absolute",placement:l}),te=ox(Object.assign({},F,X)),Re=T===rv?te:G,ue={top:z.top-Re.top+P.top,bottom:Re.bottom-z.bottom+P.bottom,left:z.left-Re.left+P.left,right:Re.right-z.right+P.right},pe=n.modifiersData.offset;if(T===rv&&pe){var ye=pe[l];Object.keys(ue).forEach(function(me){var Ae=[Qi,qi].indexOf(me)>=0?1:-1,_e=[oi,qi].indexOf(me)>=0?"y":"x";ue[me]+=ye[_e]*Ae})}return ue}function zF(n,r){r===void 0&&(r={});var i=r,u=i.placement,l=i.boundary,d=i.rootBoundary,p=i.padding,y=i.flipVariations,g=i.allowedAutoPlacements,b=g===void 0?AI:g,E=Xf(u),R=E?y?II:II.filter(function(N){return Xf(N)===E}):tv,T=R.filter(function(N){return b.indexOf(N)>=0});T.length===0&&(T=R);var A=T.reduce(function(N,j){return N[j]=sv(n,{placement:j,boundary:l,rootBoundary:d,padding:p})[as(j)],N},{});return Object.keys(A).sort(function(N,j){return A[N]-A[j]})}function HF(n){if(as(n)===QC)return[];var r=Eg(n);return[PI(n),r,PI(r)]}function UF(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,p=i.altAxis,y=p===void 0?!0:p,g=i.fallbackPlacements,b=i.padding,E=i.boundary,R=i.rootBoundary,T=i.altBoundary,A=i.flipVariations,N=A===void 0?!0:A,j=i.allowedAutoPlacements,O=r.options.placement,P=as(O),B=P===O,F=g||(B||!N?[Eg(O)]:HF(O)),U=[O].concat(F).reduce(function(Ee,De){return Ee.concat(as(De)===QC?zF(r,{placement:De,boundary:E,rootBoundary:R,padding:b,flipVariations:N,allowedAutoPlacements:j}):De)},[]),z=r.rects.reference,G=r.rects.popper,X=new Map,te=!0,Re=U[0],ue=0;ue<U.length;ue++){var pe=U[ue],ye=as(pe),me=Xf(pe)===Gf,Ae=[oi,qi].indexOf(ye)>=0,_e=Ae?"width":"height",Oe=sv(r,{placement:pe,boundary:E,rootBoundary:R,altBoundary:T,padding:b}),Ie=Ae?me?Qi:si:me?qi:oi;z[_e]>G[_e]&&(Ie=Eg(Ie));var ve=Eg(Ie),Pe=[];if(d&&Pe.push(Oe[ye]<=0),y&&Pe.push(Oe[Ie]<=0,Oe[ve]<=0),Pe.every(function(Ee){return Ee})){Re=pe,te=!1;break}X.set(pe,Pe)}if(te)for(var L=N?3:1,q=function(De){var ie=U.find(function(he){var Te=X.get(he);if(Te)return Te.slice(0,De).every(function(Ve){return Ve})});if(ie)return Re=ie,"break"},se=L;se>0;se--){var xe=q(se);if(xe==="break")break}r.placement!==Re&&(r.modifiersData[u]._skip=!0,r.placement=Re,r.reset=!0)}}const GF={name:"flip",enabled:!0,phase:"main",fn:UF,requiresIfExists:["offset"],data:{_skip:!1}};function BI(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 zI(n){return[oi,Qi,qi,si].some(function(r){return n[r]>=0})}function $F(n){var r=n.state,i=n.name,u=r.rects.reference,l=r.rects.popper,d=r.modifiersData.preventOverflow,p=sv(r,{elementContext:"reference"}),y=sv(r,{altBoundary:!0}),g=BI(p,u),b=BI(y,l,d),E=zI(g),R=zI(b);r.modifiersData[i]={referenceClippingOffsets:g,popperEscapeOffsets:b,isReferenceHidden:E,hasPopperEscaped:R},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":E,"data-popper-escaped":R})}const WF={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:$F};function XF(n,r,i){var u=as(n),l=[si,oi].indexOf(u)>=0?-1:1,d=typeof i=="function"?i(Object.assign({},r,{placement:n})):i,p=d[0],y=d[1];return p=p||0,y=(y||0)*l,[si,Qi].indexOf(u)>=0?{x:y,y:p}:{x:p,y}}function YF(n){var r=n.state,i=n.options,u=n.name,l=i.offset,d=l===void 0?[0,0]:l,p=AI.reduce(function(E,R){return E[R]=XF(R,r.rects,d),E},{}),y=p[r.placement],g=y.x,b=y.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=g,r.modifiersData.popperOffsets.y+=b),r.modifiersData[u]=p}const ZF={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:YF};function JF(n){var r=n.state,i=n.name;r.modifiersData[i]=VI({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}const qF={name:"popperOffsets",enabled:!0,phase:"read",fn:JF,data:{}};function QF(n){return n==="x"?"y":"x"}function KF(n){var r=n.state,i=n.options,u=n.name,l=i.mainAxis,d=l===void 0?!0:l,p=i.altAxis,y=p===void 0?!1:p,g=i.boundary,b=i.rootBoundary,E=i.altBoundary,R=i.padding,T=i.tether,A=T===void 0?!0:T,N=i.tetherOffset,j=N===void 0?0:N,O=sv(r,{boundary:g,rootBoundary:b,padding:R,altBoundary:E}),P=as(r.placement),B=Xf(r.placement),F=!B,U=nx(P),z=QF(U),G=r.modifiersData.popperOffsets,X=r.rects.reference,te=r.rects.popper,Re=typeof j=="function"?j(Object.assign({},r.rects,{placement:r.placement})):j,ue=typeof Re=="number"?{mainAxis:Re,altAxis:Re}:Object.assign({mainAxis:0,altAxis:0},Re),pe=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,ye={x:0,y:0};if(G){if(d){var me,Ae=U==="y"?oi:si,_e=U==="y"?qi:Qi,Oe=U==="y"?"height":"width",Ie=G[U],ve=Ie+O[Ae],Pe=Ie-O[_e],L=A?-te[Oe]/2:0,q=B===Gf?X[Oe]:te[Oe],se=B===Gf?-te[Oe]:-X[Oe],xe=r.elements.arrow,Ee=A&&xe?tx(xe):{width:0,height:0},De=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:DI(),ie=De[Ae],he=De[_e],Te=iv(0,X[Oe],Ee[Oe]),Ve=F?X[Oe]/2-L-Te-ie-ue.mainAxis:q-Te-ie-ue.mainAxis,Ke=F?-X[Oe]/2+L+Te+he+ue.mainAxis:se+Te+he+ue.mainAxis,It=r.elements.arrow&&av(r.elements.arrow),Ne=It?U==="y"?It.clientTop||0:It.clientLeft||0:0,dt=(me=pe==null?void 0:pe[U])!=null?me:0,Bt=Ie+Ve-dt-Ne,lt=Ie+Ke-dt,yn=iv(A?bg(ve,Bt):ve,Ie,A?Tc(Pe,lt):Pe);G[U]=yn,ye[U]=yn-Ie}if(y){var nn,Hn=U==="x"?oi:si,Mn=U==="x"?qi:Qi,Mt=G[z],Pn=z==="y"?"height":"width",$n=Mt+O[Hn],rr=Mt-O[Mn],fr=[oi,si].indexOf(P)!==-1,Qn=(nn=pe==null?void 0:pe[z])!=null?nn:0,St=fr?$n:Mt-X[Pn]-te[Pn]-Qn+ue.altAxis,en=fr?Mt+X[Pn]+te[Pn]-Qn-ue.altAxis:rr,ar=A&&fr?SF(St,Mt,en):iv(A?St:$n,Mt,A?en:rr);G[z]=ar,ye[z]=ar-Mt}r.modifiersData[u]=ye}}const eV={name:"preventOverflow",enabled:!0,phase:"main",fn:KF,requiresIfExists:["offset"]};function tV(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function nV(n){return n===ki(n)||!is(n)?rx(n):tV(n)}function rV(n){var r=n.getBoundingClientRect(),i=$f(r.width)/n.offsetWidth||1,u=$f(r.height)/n.offsetHeight||1;return i!==1||u!==1}function aV(n,r,i){i===void 0&&(i=!1);var u=is(r),l=is(r)&&rV(r),d=cl(r),p=Wf(n,l,i),y={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(u||!u&&!i)&&((ll(r)!=="body"||ix(d))&&(y=nV(r)),is(r)?(g=Wf(r,!0),g.x+=r.clientLeft,g.y+=r.clientTop):d&&(g.x=ax(d))),{x:p.left+y.scrollLeft-g.x,y:p.top+y.scrollTop-g.y,width:p.width,height:p.height}}function iV(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 p=[].concat(d.requires||[],d.requiresIfExists||[]);p.forEach(function(y){if(!i.has(y)){var g=r.get(y);g&&l(g)}}),u.push(d)}return n.forEach(function(d){i.has(d.name)||l(d)}),u}function oV(n){var r=iV(n);return CF.reduce(function(i,u){return i.concat(r.filter(function(l){return l.phase===u}))},[])}function sV(n){var r;return function(){return r||(r=new Promise(function(i){Promise.resolve().then(function(){r=void 0,i(n())})})),r}}function uV(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 HI={placement:"bottom",modifiers:[],strategy:"absolute"};function UI(){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 lV(n){n===void 0&&(n={});var r=n,i=r.defaultModifiers,u=i===void 0?[]:i,l=r.defaultOptions,d=l===void 0?HI:l;return function(y,g,b){b===void 0&&(b=d);var E={placement:"bottom",orderedModifiers:[],options:Object.assign({},HI,d),modifiersData:{},elements:{reference:y,popper:g},attributes:{},styles:{}},R=[],T=!1,A={state:E,setOptions:function(P){var B=typeof P=="function"?P(E.options):P;j(),E.options=Object.assign({},d,E.options,B),E.scrollParents={reference:Rc(y)?ov(y):y.contextElement?ov(y.contextElement):[],popper:ov(g)};var F=oV(uV([].concat(u,E.options.modifiers)));return E.orderedModifiers=F.filter(function(U){return U.enabled}),N(),A.update()},forceUpdate:function(){if(!T){var P=E.elements,B=P.reference,F=P.popper;if(UI(B,F)){E.rects={reference:aV(B,av(F),E.options.strategy==="fixed"),popper:tx(F)},E.reset=!1,E.placement=E.options.placement,E.orderedModifiers.forEach(function(ue){return E.modifiersData[ue.name]=Object.assign({},ue.data)});for(var U=0;U<E.orderedModifiers.length;U++){if(E.reset===!0){E.reset=!1,U=-1;continue}var z=E.orderedModifiers[U],G=z.fn,X=z.options,te=X===void 0?{}:X,Re=z.name;typeof G=="function"&&(E=G({state:E,options:te,name:Re,instance:A})||E)}}}},update:sV(function(){return new Promise(function(O){A.forceUpdate(),O(E)})}),destroy:function(){j(),T=!0}};if(!UI(y,g))return A;A.setOptions(b).then(function(O){!T&&b.onFirstUpdate&&b.onFirstUpdate(O)});function N(){E.orderedModifiers.forEach(function(O){var P=O.name,B=O.options,F=B===void 0?{}:B,U=O.effect;if(typeof U=="function"){var z=U({state:E,name:P,instance:A,options:F}),G=function(){};R.push(z||G)}})}function j(){R.forEach(function(O){return O()}),R=[]}return A}}const cV=lV({defaultModifiers:[WF,qF,_F,jF,ZF,GF,eV,IF]}),fV=["enabled","placement","strategy","modifiers"];function dV(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 pV={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},vV={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)}}},hV=[];function GI(n,r,i={}){let{enabled:u=!0,placement:l="bottom",strategy:d="absolute",modifiers:p=hV}=i,y=dV(i,fV);const g=M.useRef(p),b=M.useRef(),E=M.useCallback(()=>{var O;(O=b.current)==null||O.update()},[]),R=M.useCallback(()=>{var O;(O=b.current)==null||O.forceUpdate()},[]),[T,A]=uF(M.useState({placement:l,update:E,forceUpdate:R,attributes:{},styles:{popper:{},arrow:{}}})),N=M.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:O})=>{const P={},B={};Object.keys(O.elements).forEach(F=>{P[F]=O.styles[F],B[F]=O.attributes[F]}),A({state:O,styles:P,attributes:B,update:E,forceUpdate:R,placement:O.placement})}}),[E,R,A]),j=M.useMemo(()=>(ev(g.current,p)||(g.current=p),g.current),[p]);return M.useEffect(()=>{!b.current||!u||b.current.setOptions({placement:l,strategy:d,modifiers:[...j,N,pV]})},[d,l,N,u,j]),M.useEffect(()=>{if(!(!u||n==null||r==null))return b.current=cV(n,r,Object.assign({},y,{placement:l,strategy:d,modifiers:[...j,vV,N]})),()=>{b.current!=null&&(b.current.destroy(),b.current=void 0,A(O=>Object.assign({},O,{attributes:{},styles:{popper:{}}})))}},[u,n,r]),T}function uv(n,r){if(n.contains)return n.contains(r);if(n.compareDocumentPosition)return n===r||!!(n.compareDocumentPosition(r)&16)}var mV=process.env.NODE_ENV!=="production",$I=function(){};if(mV){var gV=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,p="Warning: "+r.replace(/%s/g,function(){return i[d++]});typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}};$I=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||gV.apply(null,[r].concat(i))}}var yV=$I;const sx=Zi(yV),WI=()=>{};function bV(n){return n.button===0}function CV(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}const Sg=n=>n&&("current"in n?n.current:n),XI={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function YI(n,r=WI,{disabled:i,clickTrigger:u="click"}={}){const l=M.useRef(!1),d=M.useRef(!1),p=M.useCallback(b=>{const E=Sg(n);sx(!!E,"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=!E||CV(b)||!bV(b)||!!uv(E,b.target)||d.current,d.current=!1},[n]),y=lr(b=>{const E=Sg(n);E&&uv(E,b.target)&&(d.current=!0)}),g=lr(b=>{l.current||r(b)});M.useEffect(()=>{var b,E;if(i||n==null)return;const R=Bf(Sg(n)),T=R.defaultView||window;let A=(b=T.event)!=null?b:(E=T.parent)==null?void 0:E.event,N=null;XI[u]&&(N=lu(R,XI[u],y,!0));const j=lu(R,u,p,!0),O=lu(R,u,B=>{if(B===A){A=void 0;return}g(B)});let P=[];return"ontouchstart"in R.documentElement&&(P=[].slice.call(R.body.children).map(B=>lu(B,"mousemove",WI))),()=>{N==null||N(),j(),O(),P.forEach(B=>B())}},[n,i,u,p,y,g])}function xV(n){const r={};return Array.isArray(n)?(n==null||n.forEach(i=>{r[i.name]=i}),r):n||r}function EV(n={}){return Array.isArray(n)?n:Object.keys(n).map(r=>(n[r].name=r,n[r]))}function ZI({enabled:n,enableEvents:r,placement:i,flip:u,offset:l,fixed:d,containerPadding:p,arrowElement:y,popperConfig:g={}}){var b,E,R,T,A;const N=xV(g.modifiers);return Object.assign({},g,{placement:i,enabled:n,strategy:d?"fixed":g.strategy,modifiers:EV(Object.assign({},N,{eventListeners:{enabled:r,options:(b=N.eventListeners)==null?void 0:b.options},preventOverflow:Object.assign({},N.preventOverflow,{options:p?Object.assign({padding:p},(E=N.preventOverflow)==null?void 0:E.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:!!y,options:Object.assign({},(A=N.arrow)==null?void 0:A.options,{element:y})}),flip:Object.assign({enabled:!!u},N.flip)}))})}const SV=["children"];function wV(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 RV=()=>{};function JI(n={}){const r=M.useContext(yg),[i,u]=mg(),l=M.useRef(!1),{flip:d,offset:p,rootCloseEvent:y,fixed:g=!1,placement:b,popperConfig:E={},enableEventListeners:R=!0,usePopper:T=!!r}=n,A=(r==null?void 0:r.show)==null?!!n.show:r.show;A&&!l.current&&(l.current=!0);const N=G=>{r==null||r.toggle(!1,G)},{placement:j,setMenu:O,menuElement:P,toggleElement:B}=r||{},F=GI(B,P,ZI({placement:b||j||"bottom-start",enabled:T,enableEvents:R??A,offset:p,flip:d,fixed:g,arrowElement:i,popperConfig:E})),U=Object.assign({ref:O||RV,"aria-labelledby":B==null?void 0:B.id},F.attributes.popper,{style:F.styles.popper}),z={show:A,placement:j,hasShown:l.current,toggle:r==null?void 0:r.toggle,popper:T?F:null,arrowProps:T?Object.assign({ref:u},F.attributes.arrow,{style:F.styles.arrow}):{}};return YI(P,N,{clickTrigger:y,disabled:!A}),[U,z]}const TV={usePopper:!0};function ux(n){let{children:r}=n,i=wV(n,SV);const[u,l]=JI(i);return C.jsx(C.Fragment,{children:r(u,l)})}ux.displayName="DropdownMenu",ux.defaultProps=TV;const qI=n=>{var r;return((r=n.getAttribute("role"))==null?void 0:r.toLowerCase())==="menu"},QI=()=>{};function KI(){const n=DT(),{show:r=!1,toggle:i=QI,setToggle:u,menuElement:l}=M.useContext(yg)||{},d=M.useCallback(y=>{i(!r,y)},[r,i]),p={id:n,ref:u||QI,onClick:d,"aria-expanded":!!r};return l&&qI(l)&&(p["aria-haspopup"]=!0),[p,{show:r,toggle:i}]}function eA({children:n}){const[r,i]=KI();return C.jsx(C.Fragment,{children:n(r,i)})}eA.displayName="DropdownToggle";const IV=["eventKey","disabled","onClick","active","as"];function AV(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 tA({key:n,href:r,active:i,disabled:u,onClick:l}){const d=M.useContext(iu),p=M.useContext(YC),{activeKey:y}=p||{},g=wc(n,r),b=i==null&&n!=null?wc(y)===g:i;return[{onClick:lr(R=>{u||(l==null||l(R),d&&!R.isPropagationStopped()&&d(g,R))}),"aria-disabled":u||void 0,"aria-selected":b,[Uf("dropdown-item")]:""},{isActive:b}]}const nA=M.forwardRef((n,r)=>{let{eventKey:i,disabled:u,onClick:l,active:d,as:p=JC}=n,y=AV(n,IV);const[g]=tA({key:i,href:y.href,disabled:u,onClick:l,active:d});return C.jsx(p,Object.assign({},y,{ref:r},g))});nA.displayName="DropdownItem";const rA=M.createContext(zf?window:void 0);rA.Provider;function wg(){return M.useContext(rA)}function aA(){const n=aI(),r=M.useRef(null),i=M.useCallback(u=>{r.current=u,n()},[n]);return[r,i]}function lv({defaultShow:n,show:r,onSelect:i,onToggle:u,itemSelector:l=`* [${Uf("dropdown-item")}]`,focusFirstItemOnShow:d,placement:p="bottom-start",children:y}){const g=wg(),[b,E]=OT(r,n,u),[R,T]=aA(),A=R.current,[N,j]=aA(),O=N.current,P=mI(b),B=M.useRef(null),F=M.useRef(!1),U=M.useContext(iu),z=M.useCallback((pe,ye,me=ye==null?void 0:ye.type)=>{E(pe,{originalEvent:ye,source:me})},[E]),G=lr((pe,ye)=>{i==null||i(pe,ye),z(!1,ye,"select"),ye.isPropagationStopped()||U==null||U(pe,ye)}),X=M.useMemo(()=>({toggle:z,placement:p,show:b,menuElement:A,toggleElement:O,setMenu:T,setToggle:j}),[z,p,b,A,O,T,j]);A&&P&&!b&&(F.current=A.contains(A.ownerDocument.activeElement));const te=lr(()=>{O&&O.focus&&O.focus()}),Re=lr(()=>{const pe=B.current;let ye=d;if(ye==null&&(ye=R.current&&qI(R.current)?"keyboard":!1),ye===!1||ye==="keyboard"&&!/^key.+$/.test(pe))return;const me=cu(R.current,l)[0];me&&me.focus&&me.focus()});M.useEffect(()=>{b?Re():F.current&&(F.current=!1,te())},[b,F,te,Re]),M.useEffect(()=>{B.current=null});const ue=(pe,ye)=>{if(!R.current)return null;const me=cu(R.current,l);let Ae=me.indexOf(pe)+ye;return Ae=Math.max(0,Math.min(Ae,me.length)),me[Ae]};return QL(M.useCallback(()=>g.document,[g]),"keydown",pe=>{var ye,me;const{key:Ae}=pe,_e=pe.target,Oe=(ye=R.current)==null?void 0:ye.contains(_e),Ie=(me=N.current)==null?void 0:me.contains(_e);if(/input|textarea/i.test(_e.tagName)&&(Ae===" "||Ae!=="Escape"&&Oe||Ae==="Escape"&&_e.type==="search")||!Oe&&!Ie||Ae==="Tab"&&(!R.current||!b))return;B.current=pe.type;const Pe={originalEvent:pe,source:pe.type};switch(Ae){case"ArrowUp":{const L=ue(_e,-1);L&&L.focus&&L.focus(),pe.preventDefault();return}case"ArrowDown":if(pe.preventDefault(),!b)E(!0,Pe);else{const L=ue(_e,1);L&&L.focus&&L.focus()}return;case"Tab":GC(_e.ownerDocument,"keyup",L=>{var q;(L.key==="Tab"&&!L.target||!((q=R.current)!=null&&q.contains(L.target)))&&E(!1,Pe)},{once:!0});break;case"Escape":Ae==="Escape"&&(pe.preventDefault(),pe.stopPropagation()),E(!1,Pe);break}}),C.jsx(iu.Provider,{value:G,children:C.jsx(yg.Provider,{value:X,children:y})})}lv.displayName="Dropdown",lv.Menu=ux,lv.Toggle=eA,lv.Item=nA;const iA=M.createContext({});iA.displayName="DropdownContext";const oA=iA,sA=M.forwardRef(({className:n,bsPrefix:r,as:i="hr",role:u="separator",...l},d)=>(r=hn(r,"dropdown-divider"),C.jsx(i,{ref:d,className:Jt(n,r),role:u,...l})));sA.displayName="DropdownDivider";const NV=sA,uA=M.forwardRef(({className:n,bsPrefix:r,as:i="div",role:u="heading",...l},d)=>(r=hn(r,"dropdown-header"),C.jsx(i,{ref:d,className:Jt(n,r),role:u,...l})));uA.displayName="DropdownHeader";const OV=uA,lA=M.forwardRef(({bsPrefix:n,className:r,eventKey:i,disabled:u=!1,onClick:l,active:d,as:p=yI,...y},g)=>{const b=hn(n,"dropdown-item"),[E,R]=tA({key:i,href:y.href,disabled:u,onClick:l,active:d});return C.jsx(p,{...y,...E,ref:g,className:Jt(r,b,R.isActive&&"active",u&&"disabled")})});lA.displayName="DropdownItem";const _V=lA,cA=M.forwardRef(({className:n,bsPrefix:r,as:i="span",...u},l)=>(r=hn(r,"dropdown-item-text"),C.jsx(i,{ref:l,className:Jt(n,r),...u})));cA.displayName="DropdownItemText";const DV=cA,fA=M.createContext(null);fA.displayName="InputGroupContext";const dA=fA;function pA(n,r){if(process.env.NODE_ENV==="production")return n;const i=M.useCallback(u=>{u==null||!u.isReactComponent||(process.env.NODE_ENV!=="production"?eI(!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`):eI(!1))},[r]);return So(i,n)}function vA(n,r,i){const u=i?"top-end":"top-start",l=i?"top-start":"top-end",d=i?"bottom-end":"bottom-start",p=i?"bottom-start":"bottom-end",y=i?"right-start":"left-start",g=i?"right-end":"left-end",b=i?"left-start":"right-start",E=i?"left-end":"right-end";let R=n?p:d;return r==="up"?R=n?l:u:r==="end"?R=n?E:b:r==="start"?R=n?g:y:r==="down-centered"?R="bottom":r==="up-centered"&&(R="top"),R}const hA=M.forwardRef(({bsPrefix:n,className:r,align:i,rootCloseEvent:u,flip:l=!0,show:d,renderOnMount:p,as:y="div",popperConfig:g,variant:b,...E},R)=>{let T=!1;const A=M.useContext(dI),N=hn(n,"dropdown-menu"),{align:j,drop:O,isRTL:P}=M.useContext(oA);i=i||j;const B=M.useContext(dA),F=[];if(i)if(typeof i=="object"){const pe=Object.keys(i);if(process.env.NODE_ENV!=="production"&&sx(pe.length===1,"There should only be 1 breakpoint when passing an object to `align`"),pe.length){const ye=pe[0],me=i[ye];T=me==="start",F.push(`${N}-${ye}-${me}`)}}else i==="end"&&(T=!0);const U=vA(T,O,P),[z,{hasShown:G,popper:X,show:te,toggle:Re}]=JI({flip:l,rootCloseEvent:u,show:d,usePopper:!A&&F.length===0,offset:[0,2],popperConfig:g,placement:U});if(z.ref=So(pA(R,"DropdownMenu"),z.ref),gg(()=>{te&&(X==null||X.update())},[te]),!G&&!p&&!B)return null;typeof y!="string"&&(z.show=te,z.close=()=>Re==null?void 0:Re(!1),z.align=i);let ue=E.style;return X!=null&&X.placement&&(ue={...E.style,...z.style},E["x-placement"]=X.placement),C.jsx(y,{...E,...z,style:ue,...(F.length||A)&&{"data-bs-popper":"static"},className:Jt(r,N,te&&"show",T&&`${N}-end`,b&&`${N}-${b}`,...F)})});hA.displayName="DropdownMenu";const jV=hA,mA=M.forwardRef(({as:n,bsPrefix:r,variant:i="primary",size:u,active:l=!1,disabled:d=!1,className:p,...y},g)=>{const b=hn(r,"btn"),[E,{tagName:R}]=ZC({tagName:n,disabled:d,...y}),T=R;return C.jsx(T,{...E,...y,ref:g,disabled:d,className:Jt(p,b,l&&"active",i&&`${b}-${i}`,u&&`${b}-${u}`,y.href&&d&&"disabled")})});mA.displayName="Button";const kV=mA,gA=M.forwardRef(({bsPrefix:n,split:r,className:i,childBsPrefix:u,as:l=kV,...d},p)=>{const y=hn(n,"dropdown-toggle"),g=M.useContext(yg);u!==void 0&&(d.bsPrefix=u);const[b]=KI();return b.ref=So(b.ref,pA(p,"DropdownToggle")),C.jsx(l,{className:Jt(i,y,r&&`${y}-split`,(g==null?void 0:g.show)&&"show"),...b,...d})});gA.displayName="DropdownToggle";const MV=gA,yA=M.forwardRef((n,r)=>{const{bsPrefix:i,drop:u="down",show:l,className:d,align:p="start",onSelect:y,onToggle:g,focusFirstItemOnShow:b,as:E="div",navbar:R,autoClose:T=!0,...A}=hg(n,{show:"onToggle"}),N=M.useContext(dA),j=hn(i,"dropdown"),O=pg(),P=X=>T===!1?X==="click":T==="inside"?X!=="rootClose":T==="outside"?X!=="select":!0,B=lr((X,te)=>{var Re,ue;!((Re=te.originalEvent)==null||(ue=Re.target)==null)&&ue.classList.contains("dropdown-toggle")&&te.source==="mousedown"||(te.originalEvent.currentTarget===document&&(te.source!=="keydown"||te.originalEvent.key==="Escape")&&(te.source="rootClose"),P(te.source)&&(g==null||g(X,te)))}),U=vA(p==="end",u,O),z=M.useMemo(()=>({align:p,drop:u,isRTL:O}),[p,u,O]),G={down:j,"down-centered":`${j}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return C.jsx(oA.Provider,{value:z,children:C.jsx(lv,{placement:U,show:l,onSelect:y,onToggle:B,focusFirstItemOnShow:b,itemSelector:`.${j}-item:not(.disabled):not(:disabled)`,children:N?A.children:C.jsx(E,{...A,ref:r,className:Jt(d,l&&"show",G[u])})})})});yA.displayName="Dropdown";const Rg=Object.assign(yA,{Toggle:MV,Menu:jV,Item:_V,ItemText:DV,Divider:NV,Header:OV});var Tg;function bA(n){if((!Tg&&Tg!==0||n)&&zf){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),Tg=r.offsetWidth-r.clientWidth,document.body.removeChild(r)}return Tg}function PV(n){const r=M.useRef(n);return r.current=n,r}function lx(n){const r=PV(n);M.useEffect(()=>()=>r.current(),[])}function cx(n){n===void 0&&(n=Bf());try{var r=n.activeElement;return!r||!r.nodeName?null:r}catch{return n.body}}function LV(n=document){const r=n.defaultView;return Math.abs(r.innerWidth-n.documentElement.clientWidth)}const CA=Uf("modal-open");class FV{constructor({ownerDocument:r,handleContainerOverflow:i=!0,isRTL:u=!1}={}){this.handleContainerOverflow=i,this.isRTL=u,this.modals=[],this.ownerDocument=r}getScrollbarWidth(){return LV(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(uu(l,u)||"0",10)+r.scrollBarWidth}px`),l.setAttribute(CA,""),uu(l,i)}reset(){[...this.modals].forEach(r=>this.remove(r))}removeContainerStyle(r){const i=this.getElement();i.removeAttribute(CA),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 fx=FV,dx=(n,r)=>zf?n==null?(r||Bf()).body:(typeof n=="function"&&(n=n()),n&&"current"in n&&(n=n.current),n&&("nodeType"in n||n.getBoundingClientRect)?n:null):null;function px(n,r){const i=wg(),[u,l]=M.useState(()=>dx(n,i==null?void 0:i.document));if(!u){const d=dx(n);d&&l(d)}return M.useEffect(()=>{r&&u&&r(u)},[r,u]),M.useEffect(()=>{const d=dx(n);d!==u&&l(d)},[n,u]),u}function VV({in:n,onTransition:r}){const i=M.useRef(null),u=M.useRef(!0),l=lr(r);return gg(()=>{if(!i.current)return;let d=!1;return l({in:n,element:i.current,initial:u.current,isStale:()=>d}),()=>{d=!0}},[n,l]),gg(()=>(u.current=!1,()=>{u.current=!0}),[]),i}function BV({children:n,in:r,onExited:i,onEntered:u,transition:l}){const[d,p]=M.useState(!r);r&&d&&p(!1);const y=VV({in:!!r,onTransition:b=>{const E=()=>{b.isStale()||(b.in?u==null||u(b.element,b.initial):(p(!0),i==null||i(b.element)))};Promise.resolve(l(b)).then(E,R=>{throw b.in||p(!0),R})}}),g=So(y,n.ref);return d&&!r?null:M.cloneElement(n,{ref:g})}function vx(n,r,i){return n?C.jsx(n,Object.assign({},i)):r?C.jsx(BV,Object.assign({},i,{transition:r})):C.jsx(FC,Object.assign({},i))}function xA(n){return n.code==="Escape"||n.keyCode===27}const zV=["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 HV(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 hx;function UV(n){return hx||(hx=new fx({ownerDocument:n==null?void 0:n.document})),hx}function GV(n){const r=wg(),i=n||UV(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 EA=M.forwardRef((n,r)=>{let{show:i=!1,role:u="dialog",className:l,style:d,children:p,backdrop:y=!0,keyboard:g=!0,onBackdropClick:b,onEscapeKeyDown:E,transition:R,runTransition:T,backdropTransition:A,runBackdropTransition:N,autoFocus:j=!0,enforceFocus:O=!0,restoreFocus:P=!0,restoreFocusOptions:B,renderDialog:F,renderBackdrop:U=lt=>C.jsx("div",Object.assign({},lt)),manager:z,container:G,onShow:X,onHide:te=()=>{},onExit:Re,onExited:ue,onExiting:pe,onEnter:ye,onEntering:me,onEntered:Ae}=n,_e=HV(n,zV);const Oe=wg(),Ie=px(G),ve=GV(z),Pe=qC(),L=mI(i),[q,se]=M.useState(!i),xe=M.useRef(null);M.useImperativeHandle(r,()=>ve,[ve]),zf&&!L&&i&&(xe.current=cx(Oe==null?void 0:Oe.document)),i&&q&&se(!1);const Ee=lr(()=>{if(ve.add(),Ke.current=lu(document,"keydown",Te),Ve.current=lu(document,"focus",()=>setTimeout(ie),!0),X&&X(),j){var lt,yn;const nn=cx((lt=(yn=ve.dialog)==null?void 0:yn.ownerDocument)!=null?lt:Oe==null?void 0:Oe.document);ve.dialog&&nn&&!uv(ve.dialog,nn)&&(xe.current=nn,ve.dialog.focus())}}),De=lr(()=>{if(ve.remove(),Ke.current==null||Ke.current(),Ve.current==null||Ve.current(),P){var lt;(lt=xe.current)==null||lt.focus==null||lt.focus(B),xe.current=null}});M.useEffect(()=>{!i||!Ie||Ee()},[i,Ie,Ee]),M.useEffect(()=>{q&&De()},[q,De]),lx(()=>{De()});const ie=lr(()=>{if(!O||!Pe()||!ve.isTopModal())return;const lt=cx(Oe==null?void 0:Oe.document);ve.dialog&<&&!uv(ve.dialog,lt)&&ve.dialog.focus()}),he=lr(lt=>{lt.target===lt.currentTarget&&(b==null||b(lt),y===!0&&te())}),Te=lr(lt=>{g&&xA(lt)&&ve.isTopModal()&&(E==null||E(lt),lt.defaultPrevented||te())}),Ve=M.useRef(),Ke=M.useRef(),It=(...lt)=>{se(!0),ue==null||ue(...lt)};if(!Ie)return null;const Ne=Object.assign({role:u,ref:ve.setDialogRef,"aria-modal":u==="dialog"?!0:void 0},_e,{style:d,className:l,tabIndex:-1});let dt=F?F(Ne):C.jsx("div",Object.assign({},Ne,{children:M.cloneElement(p,{role:"document"})}));dt=vx(R,T,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!i,onExit:Re,onExiting:pe,onExited:It,onEnter:ye,onEntering:me,onEntered:Ae,children:dt});let Bt=null;return y&&(Bt=U({ref:ve.setBackdropRef,onClick:he}),Bt=vx(A,N,{in:!!i,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:Bt})),C.jsx(C.Fragment,{children:bc.createPortal(C.jsxs(C.Fragment,{children:[Bt,dt]}),Ie)})});EA.displayName="Modal";const $V=Object.assign(EA,{Manager:fx});function mx(n,r){return n.classList?!!r&&n.classList.contains(r):(" "+(n.className.baseVal||n.className)+" ").indexOf(" "+r+" ")!==-1}function WV(n,r){n.classList?n.classList.add(r):mx(n,r)||(typeof n.className=="string"?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r))}function SA(n,r){return n.replace(new RegExp("(^|\\s)"+r+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function XV(n,r){n.classList?n.classList.remove(r):typeof n.className=="string"?n.className=SA(n.className,r):n.setAttribute("class",SA(n.className&&n.className.baseVal||"",r))}const Yf={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class YV extends fx{adjustAndStore(r,i,u){const l=i.style[r];i.dataset[r]=l,uu(i,{[r]:`${parseFloat(uu(i,r))+u}px`})}restore(r,i){const u=i.dataset[r];u!==void 0&&(delete i.dataset[r],uu(i,{[r]:u}))}setContainerStyle(r){super.setContainerStyle(r);const i=this.getElement();if(WV(i,"modal-open"),!r.scrollBarWidth)return;const u=this.isRTL?"paddingLeft":"paddingRight",l=this.isRTL?"marginLeft":"marginRight";cu(i,Yf.FIXED_CONTENT).forEach(d=>this.adjustAndStore(u,d,r.scrollBarWidth)),cu(i,Yf.STICKY_CONTENT).forEach(d=>this.adjustAndStore(l,d,-r.scrollBarWidth)),cu(i,Yf.NAVBAR_TOGGLER).forEach(d=>this.adjustAndStore(l,d,r.scrollBarWidth))}removeContainerStyle(r){super.removeContainerStyle(r);const i=this.getElement();XV(i,"modal-open");const u=this.isRTL?"paddingLeft":"paddingRight",l=this.isRTL?"marginLeft":"marginRight";cu(i,Yf.FIXED_CONTENT).forEach(d=>this.restore(u,d)),cu(i,Yf.STICKY_CONTENT).forEach(d=>this.restore(l,d)),cu(i,Yf.NAVBAR_TOGGLER).forEach(d=>this.restore(l,d))}}let gx;function ZV(n){return gx||(gx=new YV(n)),gx}const wA=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=hn(r,"modal-body"),C.jsx(i,{ref:l,className:Jt(n,r),...u})));wA.displayName="ModalBody";const JV=wA,RA=M.createContext({onHide(){}}),TA=M.forwardRef(({bsPrefix:n,className:r,contentClassName:i,centered:u,size:l,fullscreen:d,children:p,scrollable:y,...g},b)=>{n=hn(n,"modal");const E=`${n}-dialog`,R=typeof d=="string"?`${n}-fullscreen-${d}`:`${n}-fullscreen`;return C.jsx("div",{...g,ref:b,className:Jt(E,r,l&&`${n}-${l}`,u&&`${E}-centered`,y&&`${E}-scrollable`,d&&R),children:C.jsx("div",{className:Jt(`${n}-content`,i),children:p})})});TA.displayName="ModalDialog";const IA=TA,AA=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=hn(r,"modal-footer"),C.jsx(i,{ref:l,className:Jt(n,r),...u})));AA.displayName="ModalFooter";const qV=AA,QV={"aria-label":Tt.string,onClick:Tt.func,variant:Tt.oneOf(["white"])},yx=M.forwardRef(({className:n,variant:r,"aria-label":i="Close",...u},l)=>C.jsx("button",{ref:l,type:"button",className:Jt("btn-close",r&&`btn-close-${r}`,n),"aria-label":i,...u}));yx.displayName="CloseButton",yx.propTypes=QV;const KV=yx,eB=M.forwardRef(({closeLabel:n="Close",closeVariant:r,closeButton:i=!1,onHide:u,children:l,...d},p)=>{const y=M.useContext(RA),g=lr(()=>{y==null||y.onHide(),u==null||u()});return C.jsxs("div",{ref:p,...d,children:[l,i&&C.jsx(KV,{"aria-label":n,variant:r,onClick:g})]})}),NA=M.forwardRef(({bsPrefix:n,className:r,closeLabel:i="Close",closeButton:u=!1,...l},d)=>(n=hn(n,"modal-header"),C.jsx(eB,{ref:d,...l,className:Jt(r,n),closeLabel:i,closeButton:u})));NA.displayName="ModalHeader";const tB=NA,nB=(n=>M.forwardRef((r,i)=>C.jsx("div",{...r,ref:i,className:Jt(r.className,n)})))("h4"),OA=M.forwardRef(({className:n,bsPrefix:r,as:i=nB,...u},l)=>(r=hn(r,"modal-title"),C.jsx(i,{ref:l,className:Jt(n,r),...u})));OA.displayName="ModalTitle";const rB=OA;function aB(n){return C.jsx(Hf,{...n,timeout:null})}function iB(n){return C.jsx(Hf,{...n,timeout:null})}const _A=M.forwardRef(({bsPrefix:n,className:r,style:i,dialogClassName:u,contentClassName:l,children:d,dialogAs:p=IA,"data-bs-theme":y,"aria-labelledby":g,"aria-describedby":b,"aria-label":E,show:R=!1,animation:T=!0,backdrop:A=!0,keyboard:N=!0,onEscapeKeyDown:j,onShow:O,onHide:P,container:B,autoFocus:F=!0,enforceFocus:U=!0,restoreFocus:z=!0,restoreFocusOptions:G,onEntered:X,onExit:te,onExiting:Re,onEnter:ue,onEntering:pe,onExited:ye,backdropClassName:me,manager:Ae,..._e},Oe)=>{const[Ie,ve]=M.useState({}),[Pe,L]=M.useState(!1),q=M.useRef(!1),se=M.useRef(!1),xe=M.useRef(null),[Ee,De]=mg(),ie=So(Oe,De),he=lr(P),Te=pg();n=hn(n,"modal");const Ve=M.useMemo(()=>({onHide:he}),[he]);function Ke(){return Ae||ZV({isRTL:Te})}function It(St){if(!zf)return;const en=Ke().getScrollbarWidth()>0,ar=St.scrollHeight>Bf(St).documentElement.clientHeight;ve({paddingRight:en&&!ar?bA():void 0,paddingLeft:!en&&ar?bA():void 0})}const Ne=lr(()=>{Ee&&It(Ee.dialog)});lx(()=>{$C(window,"resize",Ne),xe.current==null||xe.current()});const dt=()=>{q.current=!0},Bt=St=>{q.current&&Ee&&St.target===Ee.dialog&&(se.current=!0),q.current=!1},lt=()=>{L(!0),xe.current=zT(Ee.dialog,()=>{L(!1)})},yn=St=>{St.target===St.currentTarget&<()},nn=St=>{if(A==="static"){yn(St);return}if(se.current||St.target!==St.currentTarget){se.current=!1;return}P==null||P()},Hn=St=>{N?j==null||j(St):(St.preventDefault(),A==="static"&<())},Mn=(St,en)=>{St&&It(St),ue==null||ue(St,en)},Mt=St=>{xe.current==null||xe.current(),te==null||te(St)},Pn=(St,en)=>{pe==null||pe(St,en),GC(window,"resize",Ne)},$n=St=>{St&&(St.style.display=""),ye==null||ye(St),$C(window,"resize",Ne)},rr=M.useCallback(St=>C.jsx("div",{...St,className:Jt(`${n}-backdrop`,me,!T&&"show")}),[T,me,n]),fr={...i,...Ie};fr.display="block";const Qn=St=>C.jsx("div",{role:"dialog",...St,style:fr,className:Jt(r,n,Pe&&`${n}-static`,!T&&"show"),onClick:A?nn:void 0,onMouseUp:Bt,"data-bs-theme":y,"aria-label":E,"aria-labelledby":g,"aria-describedby":b,children:C.jsx(p,{..._e,onMouseDown:dt,className:u,contentClassName:l,children:d})});return C.jsx(RA.Provider,{value:Ve,children:C.jsx($V,{show:R,ref:ie,backdrop:A,container:B,keyboard:!0,autoFocus:F,enforceFocus:U,restoreFocus:z,restoreFocusOptions:G,onEscapeKeyDown:Hn,onShow:O,onHide:P,onEnter:Mn,onEntering:Pn,onEntered:X,onExit:Mt,onExiting:Re,onExited:$n,manager:Ke(),transition:T?aB:void 0,backdropTransition:T?iB:void 0,renderBackdrop:rr,renderDialog:Qn})})});_A.displayName="Modal";const _n=Object.assign(_A,{Body:JV,Header:tB,Title:rB,Footer:qV,Dialog:IA,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),oB=Sr.forwardRef(({children:n,onClick:r},i)=>C.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:C.jsx("span",{className:"dropdown-toggle",children:n})}));function sB({requestId:n,grantNumber:r}){const{request:i,toggleActionsModal:u}=za(n,r),{project:l}=ji(r||i.grantNumber);if(!i||!l||i.error||l.error)return;const d=Tn.routes.request_action_path(n,"new"),p=i.allowedActions.Renewal?Array.isArray(i.allowedActions.Renewal)?[...i.allowedActions.Renewal]:[i.allowedActions.Renewal]:[];p.sort((b,E)=>b.opportunityId<E.opportunityId?-1:1);const y=[{id:"extension",action:`${d}?action_type=Extension`,isEnabled:"Extension"in i.allowedActions,button:"Request an Extension",enabled:i.usesCredits?C.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."}):C.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:C.jsxs("p",{children:["Your project is not currently eligible for an extension of its end date.",i.usesCredits?C.jsxs(C.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?C.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."]}):C.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:C.jsxs("p",{children:["Your project is not currently eligible for a supplement of additional"," ",i.usesCredits?"ACCESS Credits":"units","."]})},{id:"renewal",action:p.map(b=>[b.opportunityName,`${Tn.routes.renew_request_path(n)}?opportunity_id=${b.opportunityId}`,"post"]),isEnabled:"Renewal"in i.allowedActions,button:"Request a Renewal",enabled:C.jsxs("p",{children:["Your ",i.allocationType," project can be renewed! The requirements for renewing your project depend on the"," ",C.jsx("a",{href:Tn.routes.project_types_path(),target:"_blank",children:"new project type you select"}),"."]}),disabled:C.jsxs("p",{children:["Your project is not currently eligible for renewal.",i.usesCredits&&C.jsxs(C.Fragment,{children:[" ","Renewals are available starting 30 days before the project's current end date."]}),i.isMaximize&&C.jsxs(C.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",Tn.routes.how_to_path(),"get"],["Submit a Help Ticket","https://support.access-ci.org/open-a-ticket","get"]],isEnabled:!0,button:"Request Help",enabled:C.jsxs("p",{children:["Need to change something else about your project or expecting another option? Submit a help ticket that includes"," ",C.jsxs("em",{children:["grant number ",l.grantNumber]})," and a detailed description of the problem."]})}];y.sort((b,E)=>b.isEnabled<E.isEnabled?1:-1);const g=y.map(({id:b,action:E,isEnabled:R,button:T,enabled:A,disabled:N})=>C.jsxs("div",{className:"row",children:[C.jsx("div",{className:"col-sm-4 mb-2 d-grid",children:Array.isArray(E)&&E.length?C.jsxs(Rg,{className:"d-flex flex-column",children:[C.jsx(Rg.Toggle,{as:oB,children:T}),C.jsx(Rg.Menu,{children:E.map(([j,O,P])=>C.jsx(Rg.Item,{href:O,onClick:B=>{P!=="get"&&(B.preventDefault(),B.target.dataset.method=P,$&&$.rails&&$.rails.handleMethod($(B.target)))},children:j},O))})]}):C.jsx("a",{className:`btn btn-secondary d-flex flex-column justify-content-center ${R?"":"disabled"}`,href:R?E:"",children:C.jsx("span",{children:T})})}),C.jsx("div",{className:"col-sm-8 mb-2",children:R?A:N})]},b));return C.jsxs(_n,{size:"lg",show:i.showActionsModal,onHide:u,children:[C.jsx(_n.Header,{closeButton:!0,children:C.jsx(_n.Title,{children:"Manage Your Project"})}),C.jsxs(_n.Body,{children:[C.jsxs("p",{children:["Please select an action to manage your project"," ",C.jsxs("strong",{children:[l.grantNumber,": ",l.title]}),"."]}),g]})]})}function uB({requestId:n,grantNumber:r}){const{request:i,toggleActionsModal:u,toggleConfirmModal:l}=za(n,r),{project:d}=ji(r||i.grantNumber);if(!i||!d||i.error||d.error)return;const p=i.usesCredits?"credits":"units",y=(1-cT(i))*100;return C.jsxs(_n,{size:"lg",show:i.showConfirmModal,onHide:l,scrollable:!0,children:[C.jsx(_n.Header,{closeButton:!0,children:C.jsx(_n.Title,{children:"Consider Requesting an Exchange"})}),C.jsx(_n.Body,{children:C.jsxs("p",{children:[C.jsxs("strong",{children:[Math.round(y),"% of your allocation is unused."]})," ","Are you sure you want to request more ",p,"? You can exchange"," ",i.usesCredits?"credits for resources or ":""," one resource for another by changing the ",C.jsx("strong",{children:"balance"})," numbers in the table on the previous screen."]})}),C.jsx(_n.Footer,{children:C.jsxs("div",{className:"d-flex",children:[C.jsx("button",{type:"button",className:"btn btn-primary me-2",onClick:l,children:"Return to Exchange"}),C.jsxs("button",{type:"button",className:"btn btn-secondary",onClick:()=>{l(),u()},children:["Request More ",p]})]})})]})}function lB({requestId:n,grantNumber:r,actionId:i}){const{deleteAction:u,request:l,toggleDeleteModal:d}=za(n,r);if(!l||l.error)return;const p=l.actions.find(T=>T.actionId==i);if(!p)return;const{deleteStatus:y,isRequest:g}=p,b=y==$r.pending,E=y==$r.error,R=()=>d(i);return C.jsxs(_n,{show:p.showDeleteModal,onHide:R,scrollable:!0,children:[C.jsx(_n.Header,{closeButton:!0,children:C.jsx(_n.Title,{children:"Confirm Deletion"})}),C.jsxs(_n.Body,{children:[E&&C.jsxs(aa,{color:"danger",children:["Deletion of the ",g?"request":"action"," failed."]}),C.jsxs("p",{children:["Are you sure you want to delete"," ",!g&&C.jsxs(C.Fragment,{children:["action"," ",C.jsxs("strong",{children:[p.type,": ",Lf(p.date)]})," ","on"," "]}),"request ",C.jsx("strong",{children:CC(l)}),"? Deletions cannot be undone."]})]}),C.jsx(_n.Footer,{children:C.jsxs("div",{className:"d-flex",children:[C.jsx("button",{type:"button",className:"btn btn-primary me-2",onClick:R,disabled:b,children:"Cancel"}),C.jsx("button",{type:"button",className:"btn btn-danger",onClick:()=>u(i),disabled:b,children:b?"Deleting...":"Delete"})]})})]})}function DA({action:n,request:r,toggleDeleteModal:i}){const u=n.allowedOperations||[],l=[];u.includes("Edit")&&l.push(C.jsx(qm,{href:n.isRequest?Tn.routes.edit_request_path(r.requestId):Tn.routes.edit_request_action_path(r.requestId,n.actionId),icon:"pencil",title:"Edit action"},"edit")),u.includes("Delete")&&l.push(C.jsx(qm,{color:"danger",icon:"trash",onClick:()=>i(n.actionId),title:"Edit action"},"delete"));const d=`${n.type}: ${Lf(n.date)}`;return C.jsxs(C.Fragment,{children:[n.detailAvailable?C.jsx("a",{href:Tn.routes.request_action_path(r.requestId,n.actionId),children:d}):d,l]})}const Zf={grid:"_grid_15z6r_1",important:"_important_15z6r_32",input:"_input_15z6r_36",edited:"_edited_15z6r_40",disabled:"_disabled_15z6r_48"};function cB({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)),C.jsx("td",{className:l.join(" "),style:i,children:u})}const fB={text:cB};function Ic({columns:n,rows:r,classes:i,frozenColumns:u=0,minWidth:l,rowClasses:d=[],scrollBehavior:p="smooth",scrollRowIndex:y=0}){const g=M.useRef();M.useLayoutEffect(()=>{if(!g.current)return;const N=g.current.querySelector(`tbody tr:nth-child(${y+1})`);N&&N.scrollIntoView({behavior:p,block:"nearest",inline:"nearest"})},[y,p]);const b=[0];for(let N=0;N<u;N++)b[N+1]=b[N]+(n[N].width||100);const E=(N,j)=>N<u?{position:"sticky",left:`${b[N]}px`,minWidth:`${n[N].width||100}px`,width:`${n[N].width||100}px`,zIndex:j||1}:{},R=n.map((N,j)=>C.jsx("th",{className:N.headerClass||N.class||"",style:E(j,100),children:N.formatHeader?N.formatHeader(N.name,N):N.name},N.key)),T=r.map((N,j)=>{const O=n.map((P,B)=>{const F=fB[P.type||"text"];return C.jsx(F,{column:P,row:N,style:E(B)},P.key)});return C.jsx("tr",{className:d[j]||"",children:O},j)}),A={};return l&&(A.minWidth=l),C.jsx("div",{className:`${Zf.grid} ${i||""}`,ref:g,children:C.jsxs("table",{className:"table table-bordered",style:A,children:[C.jsx("thead",{children:C.jsx("tr",{children:R})}),C.jsx("tbody",{children:T})]})})}function Jf({status:n,title:r}){const i={Active:"primary",Approved:"primary",New:"secondary",Pending:"secondary","Under Review":"secondary"}[n]||"dark";return C.jsx("span",{className:`badge text-bg-${i} align-self-center`,title:r,children:n})}const dB=n=>C.jsx("span",{className:n<0?"text-danger":"",children:n===0?"":n.toLocaleString()});function pB({requestId:n,grantNumber:r}){const{request:i,toggleDeleteModal:u}=za(n,r),{project:l,setRequest:d}=ji(r||i.grantNumber);if(!i||!l)return;const p=l.requestsList;let y=0;for(;y<p.length&&p[y].requestId!==n;)y++;const g=p[y+1],b=p[y-1],E=(j,O)=>j?C.jsxs("button",{type:"button",className:"btn btn-light btn-sm",onClick:()=>d(j.requestId),children:[O=="prev"?C.jsx("i",{className:"bi bi-chevron-left"}):null,CC(j),O=="next"?C.jsx("i",{className:"bi bi-chevron-right"}):null]}):C.jsx("span",{}),R=new Set,T=[];for(let j of i.actions)for(let O of j.resources)R.has(O.resourceId)||(R.add(O.resourceId),T.push(O));T.sort(Km);const A=[{key:"action",name:"Action Details",format:(j,O)=>C.jsx(DA,{action:O,request:i,toggleDeleteModal:u})},{key:"status",name:"Status",format:j=>C.jsx(Jf,{status:j})},...T.map(j=>({key:`resource${j.resourceId}`,name:j.name,icon:j.icon,class:"text-end",format:j.isBoolean?O=>O?xC(O):null:dB,formatHeader:(O,P)=>Sc(P,{userGuide:!1})}))],N=i.actions.map(j=>{const O={...j};for(let{resourceId:P}of T)O[`resource${P}`]=0;for(let{resourceId:P,approved:B,requested:F}of j.resources)O[`resource${P}`]=B||F||0;return O});return C.jsxs("div",{className:"history",children:[C.jsx(Ic,{columns:A,rows:N}),C.jsxs("div",{className:"buttons d-flex justify-content-between",children:[E(g,"prev"),E(b,"next")]})]})}function vB({requestId:n,grantNumber:r}){const{request:i,toggleDeleteModal:u}=za(n,r);if(!i)return;const l=[{key:"type",name:"Action Details",format:(d,p)=>C.jsx(DA,{action:p,request:i,toggleDeleteModal:u})},{key:"status",name:"Status",format:d=>C.jsx(Jf,{status:d})}];if(i.actions&&i.actions.length)return C.jsx(Ic,{rows:i.actions,columns:l})}function cv(...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 hB={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function mB(n,r){const i=`offset${n[0].toUpperCase()}${n.slice(1)}`,u=r[i],l=hB[n];return u+parseInt(uu(r,l[0]),10)+parseInt(uu(r,l[1]),10)}const gB={[sl]:"collapse",[cg]:"collapsing",[ou]:"collapsing",[ul]:"collapse show"},yB=Sr.forwardRef(({onEnter:n,onEntering:r,onEntered:i,onExit:u,onExiting:l,className:d,children:p,dimension:y="height",in:g=!1,timeout:b=300,mountOnEnter:E=!1,unmountOnExit:R=!1,appear:T=!1,getDimensionValue:A=mB,...N},j)=>{const O=typeof y=="function"?y():y,P=M.useMemo(()=>cv(G=>{G.style[O]="0"},n),[O,n]),B=M.useMemo(()=>cv(G=>{const X=`scroll${O[0].toUpperCase()}${O.slice(1)}`;G.style[O]=`${G[X]}px`},r),[O,r]),F=M.useMemo(()=>cv(G=>{G.style[O]=null},i),[O,i]),U=M.useMemo(()=>cv(G=>{G.style[O]=`${A(O,G)}px`,GT(G)},u),[u,A,O]),z=M.useMemo(()=>cv(G=>{G.style[O]=null},l),[O,l]);return C.jsx($T,{ref:j,addEndListener:UT,...N,"aria-expanded":N.role?g:null,onEnter:P,onEntering:B,onEntered:F,onExit:U,onExiting:z,childRef:p.ref,in:g,timeout:b,mountOnEnter:E,unmountOnExit:R,appear:T,children:(G,X)=>Sr.cloneElement(p,{...X,className:Jt(d,p.props.className,gB[G],O==="width"&&"collapse-horizontal")})})});function jA(n,r){return Array.isArray(n)?n.includes(r):n===r}const kA=M.createContext({});kA.displayName="AccordionContext";const Ig=kA,MA=M.forwardRef(({as:n="div",bsPrefix:r,className:i,children:u,eventKey:l,...d},p)=>{const{activeEventKey:y}=M.useContext(Ig);return r=hn(r,"accordion-collapse"),C.jsx(yB,{ref:p,in:jA(y,l),...d,className:Jt(i,r),children:C.jsx(n,{children:M.Children.only(u)})})});MA.displayName="AccordionCollapse";const PA=MA,LA=M.createContext({eventKey:""});LA.displayName="AccordionItemContext";const bx=LA,FA=M.forwardRef(({as:n="div",bsPrefix:r,className:i,onEnter:u,onEntering:l,onEntered:d,onExit:p,onExiting:y,onExited:g,...b},E)=>{r=hn(r,"accordion-body");const{eventKey:R}=M.useContext(bx);return C.jsx(PA,{eventKey:R,onEnter:u,onEntering:l,onEntered:d,onExit:p,onExiting:y,onExited:g,children:C.jsx(n,{ref:E,...b,className:Jt(i,r)})})});FA.displayName="AccordionBody";const bB=FA;function CB(n,r){const{activeEventKey:i,onSelect:u,alwaysOpen:l}=M.useContext(Ig);return d=>{let p=n===i?null:n;l&&(Array.isArray(i)?i.includes(n)?p=i.filter(y=>y!==n):p=[...i,n]:p=[n]),u==null||u(p,d),r==null||r(d)}}const VA=M.forwardRef(({as:n="button",bsPrefix:r,className:i,onClick:u,...l},d)=>{r=hn(r,"accordion-button");const{eventKey:p}=M.useContext(bx),y=CB(p,u),{activeEventKey:g}=M.useContext(Ig);return n==="button"&&(l.type="button"),C.jsx(n,{ref:d,onClick:y,...l,"aria-expanded":Array.isArray(g)?g.includes(p):p===g,className:Jt(i,r,!jA(g,p)&&"collapsed")})});VA.displayName="AccordionButton";const BA=VA,zA=M.forwardRef(({as:n="h2",bsPrefix:r,className:i,children:u,onClick:l,...d},p)=>(r=hn(r,"accordion-header"),C.jsx(n,{ref:p,...d,className:Jt(i,r),children:C.jsx(BA,{onClick:l,children:u})})));zA.displayName="AccordionHeader";const xB=zA,HA=M.forwardRef(({as:n="div",bsPrefix:r,className:i,eventKey:u,...l},d)=>{r=hn(r,"accordion-item");const p=M.useMemo(()=>({eventKey:u}),[u]);return C.jsx(bx.Provider,{value:p,children:C.jsx(n,{ref:d,...l,className:Jt(i,r)})})});HA.displayName="AccordionItem";const EB=HA,UA=M.forwardRef((n,r)=>{const{as:i="div",activeKey:u,bsPrefix:l,className:d,onSelect:p,flush:y,alwaysOpen:g,...b}=hg(n,{activeKey:"onSelect"}),E=hn(l,"accordion"),R=M.useMemo(()=>({activeEventKey:u,onSelect:p,alwaysOpen:g}),[u,p,g]);return C.jsx(Ig.Provider,{value:R,children:C.jsx(i,{ref:r,...b,className:Jt(d,E,y&&`${E}-flush`)})})});UA.displayName="Accordion";const Ag=Object.assign(UA,{Button:BA,Collapse:PA,Item:EB,Header:xB,Body:bB}),Cx=2**31-1;function GA(n,r,i){const u=i-Date.now();n.current=u<=Cx?setTimeout(r,u):setTimeout(()=>GA(n,r,i),Cx)}function SB(){const n=qC(),r=M.useRef();return lx(()=>clearTimeout(r.current)),M.useMemo(()=>{const i=()=>clearTimeout(r.current);function u(l,d=0){n()&&(i(),d<=Cx?r.current=setTimeout(l,d):GA(r,l,Date.now()+d))}return{set:u,clear:i,handleRef:r}},[])}const wB=()=>{};function RB(n,r,{disabled:i,clickTrigger:u}={}){const l=r||wB;YI(n,l,{disabled:i,clickTrigger:u});const d=lr(p=>{xA(p)&&l(p)});M.useEffect(()=>{if(i||n==null)return;const p=Bf(Sg(n));let y=(p.defaultView||window).event;const g=lu(p,"keyup",b=>{if(b===y){y=void 0;return}d(b)});return()=>{g()}},[n,i,d])}const $A=M.forwardRef((n,r)=>{const{flip:i,offset:u,placement:l,containerPadding:d,popperConfig:p={},transition:y,runTransition:g}=n,[b,E]=mg(),[R,T]=mg(),A=So(E,r),N=px(n.container),j=px(n.target),[O,P]=M.useState(!n.show),B=GI(j,b,ZI({placement:l,enableEvents:!!n.show,containerPadding:d||5,flip:i,offset:u,arrowElement:R,popperConfig:p}));n.show&&O&&P(!1);const F=(...pe)=>{P(!0),n.onExited&&n.onExited(...pe)},U=n.show||!O;if(RB(b,n.onHide,{disabled:!n.rootClose||n.rootCloseDisabled,clickTrigger:n.rootCloseEvent}),!U)return null;const{onExit:z,onExiting:G,onEnter:X,onEntering:te,onEntered:Re}=n;let ue=n.children(Object.assign({},B.attributes.popper,{style:B.styles.popper,ref:A}),{popper:B,placement:l,show:!!n.show,arrowProps:Object.assign({},B.attributes.arrow,{style:B.styles.arrow,ref:T})});return ue=vx(y,g,{in:!!n.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:ue,onExit:z,onExiting:G,onExited:F,onEnter:X,onEntering:te,onEntered:Re}),N?bc.createPortal(ue,N):null});$A.displayName="Overlay";const TB=$A,WA=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=hn(r,"popover-header"),C.jsx(i,{ref:l,className:Jt(n,r),...u})));WA.displayName="PopoverHeader";const IB=WA,XA=M.forwardRef(({className:n,bsPrefix:r,as:i="div",...u},l)=>(r=hn(r,"popover-body"),C.jsx(i,{ref:l,className:Jt(n,r),...u})));XA.displayName="PopoverBody";const YA=XA;function ZA(n,r){let i=n;return n==="left"?i=r?"end":"start":n==="right"&&(i=r?"start":"end"),i}function JA(n="absolute"){return{position:n,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const AB=Object.assign(M.forwardRef(({bsPrefix:n,placement:r="right",className:i,style:u,children:l,body:d,arrowProps:p,hasDoneInitialMeasure:y,popper:g,show:b,...E},R)=>{const T=hn(n,"popover"),A=pg(),[N]=(r==null?void 0:r.split("-"))||[],j=ZA(N,A);let O=u;return b&&!y&&(O={...u,...JA(g==null?void 0:g.strategy)}),C.jsxs("div",{ref:R,role:"tooltip",style:O,"x-placement":N,className:Jt(i,T,N&&`bs-popover-${j}`),...E,children:[C.jsx("div",{className:"popover-arrow",...p}),d?C.jsx(YA,{children:l}):l]})}),{Header:IB,Body:YA,POPPER_OFFSET:[0,8]}),qA=M.forwardRef(({bsPrefix:n,placement:r="right",className:i,style:u,children:l,arrowProps:d,hasDoneInitialMeasure:p,popper:y,show:g,...b},E)=>{n=hn(n,"tooltip");const R=pg(),[T]=(r==null?void 0:r.split("-"))||[],A=ZA(T,R);let N=u;return g&&!p&&(N={...u,...JA(y==null?void 0:y.strategy)}),C.jsxs("div",{ref:E,style:N,role:"tooltip","x-placement":T,className:Jt(i,n,`bs-tooltip-${A}`),...b,children:[C.jsx("div",{className:"tooltip-arrow",...d}),C.jsx("div",{className:`${n}-inner`,children:l})]})});qA.displayName="Tooltip";const xx=Object.assign(qA,{TOOLTIP_OFFSET:[0,6]});function NB(n){const r=M.useRef(null),i=hn(void 0,"popover"),u=hn(void 0,"tooltip"),l=M.useMemo(()=>({name:"offset",options:{offset:()=>{if(n)return n;if(r.current){if(mx(r.current,i))return AB.POPPER_OFFSET;if(mx(r.current,u))return xx.TOOLTIP_OFFSET}return[0,0]}}}),[n,i,u]);return[r,[l]]}function OB(n,r){const{ref:i}=n,{ref:u}=r;n.ref=i.__wrapped||(i.__wrapped=l=>i(dg(l))),r.ref=u.__wrapped||(u.__wrapped=l=>u(dg(l)))}const QA=M.forwardRef(({children:n,transition:r=Hf,popperConfig:i={},rootClose:u=!1,placement:l="top",show:d=!1,...p},y)=>{const g=M.useRef({}),[b,E]=M.useState(null),[R,T]=NB(p.offset),A=So(y,R),N=r===!0?Hf:r||void 0,j=lr(O=>{E(O),i==null||i.onFirstUpdate==null||i.onFirstUpdate(O)});return gg(()=>{b&&p.target&&(g.current.scheduleUpdate==null||g.current.scheduleUpdate())},[b,p.target]),M.useEffect(()=>{d||E(null)},[d]),C.jsx(TB,{...p,ref:A,popperConfig:{...i,modifiers:T.concat(i.modifiers||[]),onFirstUpdate:j},transition:N,rootClose:u,placement:l,show:d,children:(O,{arrowProps:P,popper:B,show:F})=>{var U,z;OB(O,P);const G=B==null?void 0:B.placement,X=Object.assign(g.current,{state:B==null?void 0:B.state,scheduleUpdate:B==null?void 0:B.update,placement:G,outOfBoundaries:(B==null||(U=B.state)==null||(z=U.modifiersData.hide)==null?void 0:z.isReferenceHidden)||!1,strategy:i.strategy}),te=!!b;return typeof n=="function"?n({...O,placement:G,show:F,...!r&&F&&{className:"show"},popper:X,arrowProps:P,hasDoneInitialMeasure:te}):M.cloneElement(n,{...O,placement:G,arrowProps:P,popper:X,hasDoneInitialMeasure:te,className:Jt(n.props.className,!r&&F&&"show"),style:{...n.props.style,...O.style}})}})});QA.displayName="Overlay";const KA=QA;function _B(n){return n&&typeof n=="object"?n:{show:n,hide:n}}function eN(n,r,i){const[u]=r,l=u.currentTarget,d=u.relatedTarget||u.nativeEvent[i];(!d||d!==l)&&!uv(l,d)&&n(...r)}Tt.oneOf(["click","hover","focus"]);const tN=({trigger:n=["hover","focus"],overlay:r,children:i,popperConfig:u={},show:l,defaultShow:d=!1,onToggle:p,delay:y,placement:g,flip:b=g&&g.indexOf("auto")!==-1,...E})=>{const R=M.useRef(null),T=So(R,i.ref),A=SB(),N=M.useRef(""),[j,O]=nI(l,d,p),P=_B(y),{onFocus:B,onBlur:F,onClick:U}=typeof i!="function"?M.Children.only(i).props:{},z=_e=>{T(dg(_e))},G=M.useCallback(()=>{if(A.clear(),N.current="show",!P.show){O(!0);return}A.set(()=>{N.current==="show"&&O(!0)},P.show)},[P.show,O,A]),X=M.useCallback(()=>{if(A.clear(),N.current="hide",!P.hide){O(!1);return}A.set(()=>{N.current==="hide"&&O(!1)},P.hide)},[P.hide,O,A]),te=M.useCallback((..._e)=>{G(),B==null||B(..._e)},[G,B]),Re=M.useCallback((..._e)=>{X(),F==null||F(..._e)},[X,F]),ue=M.useCallback((..._e)=>{O(!j),U==null||U(..._e)},[U,O,j]),pe=M.useCallback((..._e)=>{eN(G,_e,"fromElement")},[G]),ye=M.useCallback((..._e)=>{eN(X,_e,"toElement")},[X]),me=n==null?[]:[].concat(n),Ae={ref:z};return me.indexOf("click")!==-1&&(Ae.onClick=ue),me.indexOf("focus")!==-1&&(Ae.onFocus=te,Ae.onBlur=Re),me.indexOf("hover")!==-1&&(process.env.NODE_ENV!=="production"&&sx(me.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.'),Ae.onMouseOver=pe,Ae.onMouseOut=ye),C.jsxs(C.Fragment,{children:[typeof i=="function"?i(Ae):M.cloneElement(i,Ae),C.jsx(KA,{...E,show:j,onHide:X,flip:b,placement:g,popperConfig:u,target:R.current,children:r})]})};function DB({requestId:n,grantNumber:r}){const{request:i}=za(n,r),{project:u}=ji(r||i.grantNumber),{setTab:l}=ji(r||i.grantNumber);if(!i||!u)return;let d;const p={};for(let T of u.users||[])for(let A of T.resourceIds)p[A]=p[A]||0,p[A]+=1;const y=(i.resources||[]).filter(T=>T.isCredit?(d=T,!1):T.allocated>0).map((T,A)=>({...T,userCount:p[T.resourceId]||0,color:wC[A%wC.length]})),g=d?d.allocated:0,b="Exchange"in i.allowedActions,E=i.exchangeActionId!==null,R=[{key:"name",name:"Resource",format:(T,A)=>Sc(A)},{key:"isActive",name:"Status",format:T=>C.jsx(Jf,{status:T?"Active":"Inactive"})},{key:"used",name:"Balance",class:"position-relative",format:(T,A)=>{if(A.isBoolean)return xC(A.allocated);const N=A.allocated-T,j=Math.max(N,0)*100/A.allocated;return C.jsxs(C.Fragment,{children:[C.jsx("div",{className:`usage bg-${A.color}`,style:{width:`${Math.min(j,100)}%`}}),Ba(N,{abbreviate:!0})," of"," ",Ba(A.allocated,{abbreviate:!0})," ",A.unit," ","remaining (",Math.round(j),"%)"]})}},{key:"endDate",name:"End Date",format:T=>Lf(T)}];return u.isManager&&R.push({key:"userCount",name:"Users",class:"text-end",format:Ba}),u.currentUser&&R.push({key:"resourceUsername",name:"My Username",format:(T,A)=>{const N=u.currentUser.resourceUsernames[A.resourceId];if(N)return N;if(u.currentUser.resourceAccountPendingIds.includes(A.resourceId))return C.jsx(Jf,{status:"Pending",title:"Creation of your account by the resource provider is pending."});if(u.currentUser.resourceIds.includes(A.resourceId)||!A.isActive)return C.jsx(C.Fragment,{children:"—"});if(u.isManager)return C.jsx("a",{href:"#",onClick:O=>{O.preventDefault(),l("users")},children:"Grant access"});const j=C.jsxs(xx,{children:["Please contact ",EC(u)," to request access to this resource."]});return C.jsx(tN,{overlay:j,children:C.jsx("a",{href:"#",onClick:O=>{O.preventDefault()},children:"Request access"})})}}),C.jsxs("div",{className:"overview",children:[b&&!E&&g>Tn.creditAlertThreshold?C.jsxs("button",{onClick:()=>l("resources"),className:"alert alert-info d-flex justify-content-between align-items-center w-100",children:[C.jsxs("span",{children:[C.jsxs("span",{className:"fs-3",children:[ol(Tn.resourceTypeIcons[d.icon])," ",Ba(g)]})," ",d.unit," available"]}),C.jsxs("span",{className:"align-middle d-flex align-items-center",children:["Exchange credits for resources!"," ",C.jsx("span",{className:"fs-3",children:ol("chevron-right")})]})]}):null,y.length?C.jsx(Ic,{columns:R,rows:y}):null]})}const jB=[{key:"role",name:"Role",format:n=>C.jsxs(C.Fragment,{children:[ol(Tn.roleIcons[n])," ",n]})},{key:"users",name:"Users",format:n=>{const r=n.slice(0,3);return n.length>4&&(r[2]=`${Ba(n.length-3)} others`),r.map((i,u)=>{const l=r.length-u;return`${i}${l>2?",":l==2&&r.length>1?" and":""}`}).join(" ")}}],kB=({requestId:n,grantNumber:r})=>{const{project:i}=ji(r);if(!i)return;const u=eg.map(({role:l,name:d})=>({role:d,users:(i.users||[]).filter(p=>p.role===l).map(p=>`${p.firstName} ${p.lastName}`)})).filter(l=>l.users.length>0);return u.length?C.jsx(Ic,{rows:u,columns:jB}):null};function MB({requestId:n,grantNumber:r}){const{request:i}=za(n,r),{project:u,username:l}=ji(r||i.grantNumber);if(!(!i||!u||i.error||u.error)&&i)return C.jsxs("div",{className:"overview",children:[C.jsx(DB,{requestId:n,grantNumber:r}),u.isManager?C.jsxs("div",{className:"row",children:[C.jsx("div",{className:"col-lg-6",children:C.jsx(kB,{requestId:n,grantNumber:r})}),C.jsx("div",{className:"col-lg-6",children:C.jsx(vB,{requestId:n})})]}):null]})}function Ac(n){"@babel/helpers - typeof";return Ac=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},Ac(n)}function PB(n,r){if(Ac(n)!="object"||!n)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var u=i.call(n,r||"default");if(Ac(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}function nN(n){var r=PB(n,"string");return Ac(r)=="symbol"?r:String(r)}function qf(n,r,i){return r=nN(r),r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n}function rN(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 ft(n){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?rN(Object(i),!0).forEach(function(u){qf(n,u,i[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):rN(Object(i)).forEach(function(u){Object.defineProperty(n,u,Object.getOwnPropertyDescriptor(i,u))})}return n}function LB(n){if(Array.isArray(n))return n}function FB(n,r){var i=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(i!=null){var u,l,d,p,y=[],g=!0,b=!1;try{if(d=(i=i.call(n)).next,r===0){if(Object(i)!==i)return;g=!1}else for(;!(g=(u=d.call(i)).done)&&(y.push(u.value),y.length!==r);g=!0);}catch(E){b=!0,l=E}finally{try{if(!g&&i.return!=null&&(p=i.return(),Object(p)!==p))return}finally{if(b)throw l}}return y}}function Ex(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 aN(n,r){if(n){if(typeof n=="string")return Ex(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 Ex(n,r)}}function VB(){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 Xr(n,r){return LB(n)||FB(n,r)||aN(n,r)||VB()}function os(n,r){if(n==null)return{};var i=BC(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 BB=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function iN(n){var r=n.defaultInputValue,i=r===void 0?"":r,u=n.defaultMenuIsOpen,l=u===void 0?!1:u,d=n.defaultValue,p=d===void 0?null:d,y=n.inputValue,g=n.menuIsOpen,b=n.onChange,E=n.onInputChange,R=n.onMenuClose,T=n.onMenuOpen,A=n.value,N=os(n,BB),j=M.useState(y!==void 0?y:i),O=Xr(j,2),P=O[0],B=O[1],F=M.useState(g!==void 0?g:l),U=Xr(F,2),z=U[0],G=U[1],X=M.useState(A!==void 0?A:p),te=Xr(X,2),Re=te[0],ue=te[1],pe=M.useCallback(function(ve,Pe){typeof b=="function"&&b(ve,Pe),ue(ve)},[b]),ye=M.useCallback(function(ve,Pe){var L;typeof E=="function"&&(L=E(ve,Pe)),B(L!==void 0?L:ve)},[E]),me=M.useCallback(function(){typeof T=="function"&&T(),G(!0)},[T]),Ae=M.useCallback(function(){typeof R=="function"&&R(),G(!1)},[R]),_e=y!==void 0?y:P,Oe=g!==void 0?g:z,Ie=A!==void 0?A:Re;return ft(ft({},N),{},{inputValue:_e,menuIsOpen:Oe,onChange:pe,onInputChange:ye,onMenuClose:Ae,onMenuOpen:me,value:Ie})}function zB(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function oN(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,nN(u.key),u)}}function HB(n,r,i){return r&&oN(n.prototype,r),i&&oN(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n}function UB(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&&lg(n,r)}function Ng(n){return Ng=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Ng(n)}function sN(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(sN=function(){return!!n})()}function GB(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function $B(n,r){if(r&&(Ac(r)==="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return GB(n)}function WB(n){var r=sN();return function(){var u=Ng(n),l;if(r){var d=Ng(this).constructor;l=Reflect.construct(u,arguments,d)}else l=u.apply(this,arguments);return $B(this,l)}}function XB(n){if(Array.isArray(n))return Ex(n)}function YB(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function ZB(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
295
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Sx(n){return XB(n)||YB(n)||aN(n)||ZB()}function JB(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 qB(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 QB=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?process.env.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(qB(this));var l=this.tags[this.tags.length-1];if(process.env.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 p=JB(l);try{p.insertRule(u,p.cssRules.length)}catch(y){process.env.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+'"',y)}}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,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},n}(),Ea="-ms-",Og="-moz-",mn="-webkit-",wx="comm",Rx="rule",Tx="decl",KB="@import",uN="@keyframes",e4="@layer",t4=Math.abs,_g=String.fromCharCode,n4=Object.assign;function r4(n,r){return ia(n,0)^45?(((r<<2^ia(n,0))<<2^ia(n,1))<<2^ia(n,2))<<2^ia(n,3):0}function lN(n){return n.trim()}function a4(n,r){return(n=r.exec(n))?n[0]:n}function gn(n,r,i){return n.replace(r,i)}function Ix(n,r){return n.indexOf(r)}function ia(n,r){return n.charCodeAt(r)|0}function fv(n,r,i){return n.slice(r,i)}function ss(n){return n.length}function Ax(n){return n.length}function Dg(n,r){return r.push(n),n}function i4(n,r){return n.map(r).join("")}var jg=1,Qf=1,cN=0,ui=0,wr=0,Kf="";function kg(n,r,i,u,l,d,p){return{value:n,root:r,parent:i,type:u,props:l,children:d,line:jg,column:Qf,length:p,return:""}}function dv(n,r){return n4(kg("",null,null,"",null,null,0),n,{length:-n.length},r)}function o4(){return wr}function s4(){return wr=ui>0?ia(Kf,--ui):0,Qf--,wr===10&&(Qf=1,jg--),wr}function Mi(){return wr=ui<cN?ia(Kf,ui++):0,Qf++,wr===10&&(Qf=1,jg++),wr}function us(){return ia(Kf,ui)}function Mg(){return ui}function pv(n,r){return fv(Kf,n,r)}function vv(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 fN(n){return jg=Qf=1,cN=ss(Kf=n),ui=0,[]}function dN(n){return Kf="",n}function Pg(n){return lN(pv(ui-1,Nx(n===91?n+2:n===40?n+1:n)))}function u4(n){for(;(wr=us())&&wr<33;)Mi();return vv(n)>2||vv(wr)>3?"":" "}function l4(n,r){for(;--r&&Mi()&&!(wr<48||wr>102||wr>57&&wr<65||wr>70&&wr<97););return pv(n,Mg()+(r<6&&us()==32&&Mi()==32))}function Nx(n){for(;Mi();)switch(wr){case n:return ui;case 34:case 39:n!==34&&n!==39&&Nx(wr);break;case 40:n===41&&Nx(n);break;case 92:Mi();break}return ui}function c4(n,r){for(;Mi()&&n+wr!==57;)if(n+wr===84&&us()===47)break;return"/*"+pv(r,ui-1)+"*"+_g(n===47?n:Mi())}function f4(n){for(;!vv(us());)Mi();return pv(n,ui)}function d4(n){return dN(Lg("",null,null,null,[""],n=fN(n),0,[0],n))}function Lg(n,r,i,u,l,d,p,y,g){for(var b=0,E=0,R=p,T=0,A=0,N=0,j=1,O=1,P=1,B=0,F="",U=l,z=d,G=u,X=F;O;)switch(N=B,B=Mi()){case 40:if(N!=108&&ia(X,R-1)==58){Ix(X+=gn(Pg(B),"&","&\f"),"&\f")!=-1&&(P=-1);break}case 34:case 39:case 91:X+=Pg(B);break;case 9:case 10:case 13:case 32:X+=u4(N);break;case 92:X+=l4(Mg()-1,7);continue;case 47:switch(us()){case 42:case 47:Dg(p4(c4(Mi(),Mg()),r,i),g);break;default:X+="/"}break;case 123*j:y[b++]=ss(X)*P;case 125*j:case 59:case 0:switch(B){case 0:case 125:O=0;case 59+E:P==-1&&(X=gn(X,/\f/g,"")),A>0&&ss(X)-R&&Dg(A>32?vN(X+";",u,i,R-1):vN(gn(X," ","")+";",u,i,R-2),g);break;case 59:X+=";";default:if(Dg(G=pN(X,r,i,b,E,l,y,F,U=[],z=[],R),d),B===123)if(E===0)Lg(X,r,G,G,U,d,R,y,z);else switch(T===99&&ia(X,3)===110?100:T){case 100:case 108:case 109:case 115:Lg(n,G,G,u&&Dg(pN(n,G,G,0,0,l,y,F,l,U=[],R),z),l,z,R,y,u?U:z);break;default:Lg(X,G,G,G,[""],z,0,y,z)}}b=E=A=0,j=P=1,F=X="",R=p;break;case 58:R=1+ss(X),A=N;default:if(j<1){if(B==123)--j;else if(B==125&&j++==0&&s4()==125)continue}switch(X+=_g(B),B*j){case 38:P=E>0?1:(X+="\f",-1);break;case 44:y[b++]=(ss(X)-1)*P,P=1;break;case 64:us()===45&&(X+=Pg(Mi())),T=us(),E=R=ss(F=X+=f4(Mg())),B++;break;case 45:N===45&&ss(X)==2&&(j=0)}}return d}function pN(n,r,i,u,l,d,p,y,g,b,E){for(var R=l-1,T=l===0?d:[""],A=Ax(T),N=0,j=0,O=0;N<u;++N)for(var P=0,B=fv(n,R+1,R=t4(j=p[N])),F=n;P<A;++P)(F=lN(j>0?T[P]+" "+B:gn(B,/&\f/g,T[P])))&&(g[O++]=F);return kg(n,r,i,l===0?Rx:y,g,b,E)}function p4(n,r,i){return kg(n,r,i,wx,_g(o4()),fv(n,2,-2),0)}function vN(n,r,i,u){return kg(n,r,i,Tx,fv(n,0,u),fv(n,u+1,-1),u)}function ed(n,r){for(var i="",u=Ax(n),l=0;l<u;l++)i+=r(n[l],l,n,r)||"";return i}function v4(n,r,i,u){switch(n.type){case e4:if(n.children.length)break;case KB:case Tx:return n.return=n.return||n.value;case wx:return"";case uN:return n.return=n.value+"{"+ed(n.children,u)+"}";case Rx:n.value=n.props.join(",")}return ss(i=ed(n.children,u))?n.return=n.value+"{"+i+"}":""}function h4(n){var r=Ax(n);return function(i,u,l,d){for(var p="",y=0;y<r;y++)p+=n[y](i,u,l,d)||"";return p}}function m4(n){return function(r){r.root||(r=r.return)&&n(r)}}function g4(n){var r=Object.create(null);return function(i){return r[i]===void 0&&(r[i]=n(i)),r[i]}}var y4=function(r,i,u){for(var l=0,d=0;l=d,d=us(),l===38&&d===12&&(i[u]=1),!vv(d);)Mi();return pv(r,ui)},b4=function(r,i){var u=-1,l=44;do switch(vv(l)){case 0:l===38&&us()===12&&(i[u]=1),r[u]+=y4(ui-1,i,u);break;case 2:r[u]+=Pg(l);break;case 4:if(l===44){r[++u]=us()===58?"&\f":"",i[u]=r[u].length;break}default:r[u]+=_g(l)}while(l=Mi());return r},C4=function(r,i){return dN(b4(fN(r),i))},hN=new WeakMap,x4=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&&!hN.get(u))&&!l){hN.set(r,!0);for(var d=[],p=C4(i,d),y=u.props,g=0,b=0;g<p.length;g++)for(var E=0;E<y.length;E++,b++)r.props[b]=d[g]?p[g].replace(/&\f/g,y[E]):y[E]+" "+p[g]}}},E4=function(r){if(r.type==="decl"){var i=r.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(r.return="",r.value="")}},S4="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",w4=function(r){return r.type==="comm"&&r.children.indexOf(S4)>-1},R4=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 p=!!i.parent,y=p?i.parent.children:l,g=y.length-1;g>=0;g--){var b=y[g];if(b.line<i.line)break;if(b.column<i.column){if(w4(b))return;break}}d.forEach(function(E){console.error('The pseudo class "'+E+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+E.split("-child")[0]+'-of-type".')})}}}},mN=function(r){return r.type.charCodeAt(1)===105&&r.type.charCodeAt(0)===64},T4=function(r,i){for(var u=r-1;u>=0;u--)if(!mN(i[u]))return!0;return!1},gN=function(r){r.type="",r.value="",r.return="",r.children="",r.props=""},I4=function(r,i,u){mN(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."),gN(r)):T4(i,u)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),gN(r)))};function yN(n,r){switch(r4(n,r)){case 5103:return mn+"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 mn+n+n;case 5349:case 4246:case 4810:case 6968:case 2756:return mn+n+Og+n+Ea+n+n;case 6828:case 4268:return mn+n+Ea+n+n;case 6165:return mn+n+Ea+"flex-"+n+n;case 5187:return mn+n+gn(n,/(\w+).+(:[^]+)/,mn+"box-$1$2"+Ea+"flex-$1$2")+n;case 5443:return mn+n+Ea+"flex-item-"+gn(n,/flex-|-self/,"")+n;case 4675:return mn+n+Ea+"flex-line-pack"+gn(n,/align-content|flex-|-self/,"")+n;case 5548:return mn+n+Ea+gn(n,"shrink","negative")+n;case 5292:return mn+n+Ea+gn(n,"basis","preferred-size")+n;case 6060:return mn+"box-"+gn(n,"-grow","")+mn+n+Ea+gn(n,"grow","positive")+n;case 4554:return mn+gn(n,/([^-])(transform)/g,"$1"+mn+"$2")+n;case 6187:return gn(gn(gn(n,/(zoom-|grab)/,mn+"$1"),/(image-set)/,mn+"$1"),n,"")+n;case 5495:case 3959:return gn(n,/(image-set\([^]*)/,mn+"$1$`$1");case 4968:return gn(gn(n,/(.+:)(flex-)?(.*)/,mn+"box-pack:$3"+Ea+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+mn+n+n;case 4095:case 3583:case 4068:case 2532:return gn(n,/(.+)-inline(.+)/,mn+"$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(ss(n)-1-r>6)switch(ia(n,r+1)){case 109:if(ia(n,r+4)!==45)break;case 102:return gn(n,/(.+:)(.+)-([^]+)/,"$1"+mn+"$2-$3$1"+Og+(ia(n,r+3)==108?"$3":"$2-$3"))+n;case 115:return~Ix(n,"stretch")?yN(gn(n,"stretch","fill-available"),r)+n:n}break;case 4949:if(ia(n,r+1)!==115)break;case 6444:switch(ia(n,ss(n)-3-(~Ix(n,"!important")&&10))){case 107:return gn(n,":",":"+mn)+n;case 101:return gn(n,/(.+:)([^;!]+)(;|!.+)?/,"$1"+mn+(ia(n,14)===45?"inline-":"")+"box$3$1"+mn+"$2$3$1"+Ea+"$2box$3")+n}break;case 5936:switch(ia(n,r+11)){case 114:return mn+n+Ea+gn(n,/[svh]\w+-[tblr]{2}/,"tb")+n;case 108:return mn+n+Ea+gn(n,/[svh]\w+-[tblr]{2}/,"tb-rl")+n;case 45:return mn+n+Ea+gn(n,/[svh]\w+-[tblr]{2}/,"lr")+n}return mn+n+Ea+n+n}return n}var A4=function(r,i,u,l){if(r.length>-1&&!r.return)switch(r.type){case Tx:r.return=yN(r.value,r.length);break;case uN:return ed([dv(r,{value:gn(r.value,"@","@"+mn)})],l);case Rx:if(r.length)return i4(r.props,function(d){switch(a4(d,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ed([dv(r,{props:[gn(d,/:(read-\w+)/,":"+Og+"$1")]})],l);case"::placeholder":return ed([dv(r,{props:[gn(d,/:(plac\w+)/,":"+mn+"input-$1")]}),dv(r,{props:[gn(d,/:(plac\w+)/,":"+Og+"$1")]}),dv(r,{props:[gn(d,/:(plac\w+)/,Ea+"input-$1")]})],l)}return""})}},N4=[A4],O4=function(r){var i=r.key;if(process.env.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(j){var O=j.getAttribute("data-emotion");O.indexOf(" ")!==-1&&(document.head.appendChild(j),j.setAttribute("data-s",""))})}var l=r.stylisPlugins||N4;if(process.env.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={},p,y=[];p=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(j){for(var O=j.getAttribute("data-emotion").split(" "),P=1;P<O.length;P++)d[O[P]]=!0;y.push(j)});var g,b=[x4,E4];process.env.NODE_ENV!=="production"&&b.push(R4({get compat(){return N.compat}}),I4);{var E,R=[v4,process.env.NODE_ENV!=="production"?function(j){j.root||(j.return?E.insert(j.return):j.value&&j.type!==wx&&E.insert(j.value+"{}"))}:m4(function(j){E.insert(j)})],T=h4(b.concat(l,R)),A=function(O){return ed(d4(O),T)};g=function(O,P,B,F){E=B,process.env.NODE_ENV!=="production"&&P.map!==void 0&&(E={insert:function(z){B.insert(z+P.map)}}),A(O?O+"{"+P.styles+"}":P.styles),F&&(N.inserted[P.name]=!0)}}var N={key:i,sheet:new QB({key:i,container:p,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:d,registered:{},insert:g};return N.sheet.hydrate(y),N},bN=NC,_4={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},D4={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},CN={};CN[bN.ForwardRef]=_4,CN[bN.Memo]=D4;var j4=!0;function xN(n,r,i){var u="";return i.split(" ").forEach(function(l){n[l]!==void 0?r.push(n[l]+";"):u+=l+" "}),u}var Ox=function(r,i,u){var l=r.key+"-"+i.name;(u===!1||j4===!1)&&r.registered[l]===void 0&&(r.registered[l]=i.styles)},_x=function(r,i,u){Ox(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 k4(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 M4={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},EN=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
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
|
-
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`,P4="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",L4=/[A-Z]|^ms/g,SN=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Dx=function(r){return r.charCodeAt(1)===45},wN=function(r){return r!=null&&typeof r!="boolean"},jx=g4(function(n){return Dx(n)?n:n.replace(L4,"-$&").toLowerCase()}),Fg=function(r,i){switch(r){case"animation":case"animationName":if(typeof i=="string")return i.replace(SN,function(u,l,d){return wo={name:l,styles:d,next:wo},l})}return M4[r]!==1&&!Dx(r)&&typeof i=="number"&&i!==0?i+"px":i};if(process.env.NODE_ENV!=="production"){var F4=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,V4=["normal","none","initial","inherit","unset"],B4=Fg,z4=/^-ms-/,H4=/-(.)/g,RN={};Fg=function(r,i){if(r==="content"&&(typeof i!="string"||V4.indexOf(i)===-1&&!F4.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=B4(r,i);return u!==""&&!Dx(r)&&r.indexOf("-")!==-1&&RN[r]===void 0&&(RN[r]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+r.replace(z4,"ms-").replace(H4,function(l,d){return d.toUpperCase()})+"?")),u}}var TN="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function hv(n,r,i){if(i==null)return"";if(i.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&i.toString()==="NO_COMPONENT_SELECTOR")throw new Error(TN);return i}switch(typeof i){case"boolean":return"";case"object":{if(i.anim===1)return wo={name:i.name,styles:i.styles,next:wo},i.name;if(i.styles!==void 0){var u=i.next;if(u!==void 0)for(;u!==void 0;)wo={name:u.name,styles:u.styles,next:wo},u=u.next;var l=i.styles+";";return process.env.NODE_ENV!=="production"&&i.map!==void 0&&(l+=i.map),l}return U4(n,r,i)}case"function":{if(n!==void 0){var d=wo,p=i(n);return wo=d,hv(n,r,p)}else process.env.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(process.env.NODE_ENV!=="production"){var y=[],g=i.replace(SN,function(E,R,T){var A="animation"+y.length;return y.push("const "+A+" = keyframes`"+T.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+A+"}"});y.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(y,["`"+g+"`"]).join(`
|
|
301
|
-
`)+`
|
|
302
|
-
|
|
303
|
-
You should wrap it with \`css\` like this:
|
|
304
|
-
|
|
305
|
-
`+("css`"+g+"`"))}break}if(r==null)return i;var b=r[i];return b!==void 0?b:i}function U4(n,r,i){var u="";if(Array.isArray(i))for(var l=0;l<i.length;l++)u+=hv(n,r,i[l])+";";else for(var d in i){var p=i[d];if(typeof p!="object")r!=null&&r[p]!==void 0?u+=d+"{"+r[p]+"}":wN(p)&&(u+=jx(d)+":"+Fg(d,p)+";");else{if(d==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(TN);if(Array.isArray(p)&&typeof p[0]=="string"&&(r==null||r[p[0]]===void 0))for(var y=0;y<p.length;y++)wN(p[y])&&(u+=jx(d)+":"+Fg(d,p[y])+";");else{var g=hv(n,r,p);switch(d){case"animation":case"animationName":{u+=jx(d)+":"+g+";";break}default:process.env.NODE_ENV!=="production"&&d==="undefined"&&console.error(P4),u+=d+"{"+g+"}"}}}}return u}var IN=/label:\s*([^\s;\n{]+)\s*(;|$)/g,AN;process.env.NODE_ENV!=="production"&&(AN=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var wo,mv=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="";wo=void 0;var p=r[0];p==null||p.raw===void 0?(l=!1,d+=hv(u,i,p)):(process.env.NODE_ENV!=="production"&&p[0]===void 0&&console.error(EN),d+=p[0]);for(var y=1;y<r.length;y++)d+=hv(u,i,r[y]),l&&(process.env.NODE_ENV!=="production"&&p[y]===void 0&&console.error(EN),d+=p[y]);var g;process.env.NODE_ENV!=="production"&&(d=d.replace(AN,function(T){return g=T,""})),IN.lastIndex=0;for(var b="",E;(E=IN.exec(d))!==null;)b+="-"+E[1];var R=k4(d)+b;return process.env.NODE_ENV!=="production"?{name:R,styles:d,map:g,next:wo,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:wo}},G4=function(r){return r()},NN=$m.useInsertionEffect?$m.useInsertionEffect:!1,ON=NN||G4,_N=NN||M.useLayoutEffect,kx={}.hasOwnProperty,Mx=M.createContext(typeof HTMLElement<"u"?O4({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Mx.displayName="EmotionCacheContext"),Mx.Provider;var Px=function(r){return M.forwardRef(function(i,u){var l=M.useContext(Mx);return r(i,l,u)})},Vg=M.createContext({});process.env.NODE_ENV!=="production"&&(Vg.displayName="EmotionThemeContext");var DN=function(r){var i=r.split(".");return i[i.length-1]},$4=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 DN(i[1])},W4=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),X4=function(r){return r.replace(/\$/g,"-")},Y4=function(r){if(r)for(var i=r.split(`
|
|
306
|
-
`),u=0;u<i.length;u++){var l=$4(i[u]);if(l){if(W4.has(l))break;if(/^[A-Z]/.test(l))return X4(l)}}},Lx="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Fx="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Z4=function(r,i){if(process.env.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)kx.call(i,l)&&(u[l]=i[l]);if(u[Lx]=r,process.env.NODE_ENV!=="production"&&i.css&&(typeof i.css!="object"||typeof i.css.name!="string"||i.css.name.indexOf("-")===-1)){var d=Y4(new Error().stack);d&&(u[Fx]=d)}return u},J4=function(r){var i=r.cache,u=r.serialized,l=r.isStringTag;return Ox(i,u,l),ON(function(){return _x(i,u,l)}),null},jN=Px(function(n,r,i){var u=n.css;typeof u=="string"&&r.registered[u]!==void 0&&(u=r.registered[u]);var l=n[Lx],d=[u],p="";typeof n.className=="string"?p=xN(r.registered,d,n.className):n.className!=null&&(p=n.className+" ");var y=mv(d,void 0,M.useContext(Vg));if(process.env.NODE_ENV!=="production"&&y.name.indexOf("-")===-1){var g=n[Fx];g&&(y=mv([y,"label:"+g+";"]))}p+=r.key+"-"+y.name;var b={};for(var E in n)kx.call(n,E)&&E!=="css"&&E!==Lx&&(process.env.NODE_ENV==="production"||E!==Fx)&&(b[E]=n[E]);return b.ref=i,b.className=p,M.createElement(M.Fragment,null,M.createElement(J4,{cache:r,serialized:y,isStringTag:typeof l=="string"}),M.createElement(l,b))});process.env.NODE_ENV!=="production"&&(jN.displayName="EmotionCssPropInternal");var q4=jN,Q4={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"}}}}},bt=function(r,i){var u=arguments;if(i==null||!kx.call(i,"css"))return M.createElement.apply(void 0,u);var l=u.length,d=new Array(l);d[0]=q4,d[1]=Z4(r,i);for(var p=2;p<l;p++)d[p]=u[p];return M.createElement.apply(null,d)},kN=!1,K4=Px(function(n,r){process.env.NODE_ENV!=="production"&&!kN&&(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?"),kN=!0);var i=n.styles,u=mv([i],void 0,M.useContext(Vg)),l=M.useRef();return _N(function(){var d=r.key+"-global",p=new r.sheet.constructor({key:d,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy}),y=!1,g=document.querySelector('style[data-emotion="'+d+" "+u.name+'"]');return r.sheet.tags.length&&(p.before=r.sheet.tags[0]),g!==null&&(y=!0,g.setAttribute("data-emotion",d),p.hydrate([g])),l.current=[p,y],function(){p.flush()}},[r]),_N(function(){var d=l.current,p=d[0],y=d[1];if(y){d[1]=!1;return}if(u.next!==void 0&&_x(r,u.next,!0),p.tags.length){var g=p.tags[p.tags.length-1].nextElementSibling;p.before=g,p.flush()}r.insert("",u,p,!1)},[r,u.name]),null});process.env.NODE_ENV!=="production"&&(K4.displayName="EmotionGlobal");function Vx(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return mv(r)}var ez=function(){var r=Vx.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_"}}},tz=function n(r){for(var i=r.length,u=0,l="";u<i;u++){var d=r[u];if(d!=null){var p=void 0;switch(typeof d){case"boolean":break;case"object":{if(Array.isArray(d))p=n(d);else{process.env.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."),p="";for(var y in d)d[y]&&y&&(p&&(p+=" "),p+=y)}break}default:p=d}p&&(l&&(l+=" "),l+=p)}}return l};function nz(n,r,i){var u=[],l=xN(n,u,i);return u.length<2?i:l+r(u)}var rz=function(r){var i=r.cache,u=r.serializedArr;return ON(function(){for(var l=0;l<u.length;l++)_x(i,u[l],!1)}),null},az=Px(function(n,r){var i=!1,u=[],l=function(){if(i&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var b=arguments.length,E=new Array(b),R=0;R<b;R++)E[R]=arguments[R];var T=mv(E,r.registered);return u.push(T),Ox(r,T,!1),r.key+"-"+T.name},d=function(){if(i&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var b=arguments.length,E=new Array(b),R=0;R<b;R++)E[R]=arguments[R];return nz(r.registered,l,tz(E))},p={css:l,cx:d,theme:M.useContext(Vg)},y=n.children(p);return i=!0,M.createElement(M.Fragment,null,M.createElement(rz,{cache:r,serializedArr:u}),y)});if(process.env.NODE_ENV!=="production"&&(az.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var MN=!0,iz=typeof jest<"u"||typeof vi<"u";if(MN&&!iz){var PN=typeof globalThis<"u"?globalThis:MN?window:global,LN="__EMOTION_REACT_"+Q4.version.split(".")[0]+"__";PN[LN]&&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."),PN[LN]=!0}}function oz(n,r){return r||(r=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(r)}}))}const sz=Math.min,uz=Math.max,Bg=Math.round,zg=Math.floor,Hg=n=>({x:n,y:n});function lz(n){return{...n,top:n.y,left:n.x,right:n.x+n.width,bottom:n.y+n.height}}function FN(n){return BN(n)?(n.nodeName||"").toLowerCase():"#document"}function Ro(n){var r;return(n==null||(r=n.ownerDocument)==null?void 0:r.defaultView)||window}function VN(n){var r;return(r=(BN(n)?n.ownerDocument:n.document)||window.document)==null?void 0:r.documentElement}function BN(n){return n instanceof Node||n instanceof Ro(n).Node}function Bx(n){return n instanceof Element||n instanceof Ro(n).Element}function zx(n){return n instanceof HTMLElement||n instanceof Ro(n).HTMLElement}function zN(n){return typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Ro(n).ShadowRoot}function HN(n){const{overflow:r,overflowX:i,overflowY:u,display:l}=Hx(n);return/auto|scroll|overlay|hidden|clip/.test(r+u+i)&&!["inline","contents"].includes(l)}function cz(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function fz(n){return["html","body","#document"].includes(FN(n))}function Hx(n){return Ro(n).getComputedStyle(n)}function dz(n){if(FN(n)==="html")return n;const r=n.assignedSlot||n.parentNode||zN(n)&&n.host||VN(n);return zN(r)?r.host:r}function UN(n){const r=dz(n);return fz(r)?n.ownerDocument?n.ownerDocument.body:n.body:zx(r)&&HN(r)?r:UN(r)}function Ug(n,r,i){var u;r===void 0&&(r=[]),i===void 0&&(i=!0);const l=UN(n),d=l===((u=n.ownerDocument)==null?void 0:u.body),p=Ro(l);return d?r.concat(p,p.visualViewport||[],HN(l)?l:[],p.frameElement&&i?Ug(p.frameElement):[]):r.concat(l,Ug(l,[],i))}function pz(n){const r=Hx(n);let i=parseFloat(r.width)||0,u=parseFloat(r.height)||0;const l=zx(n),d=l?n.offsetWidth:i,p=l?n.offsetHeight:u,y=Bg(i)!==d||Bg(u)!==p;return y&&(i=d,u=p),{width:i,height:u,$:y}}function Ux(n){return Bx(n)?n:n.contextElement}function Gx(n){const r=Ux(n);if(!zx(r))return Hg(1);const i=r.getBoundingClientRect(),{width:u,height:l,$:d}=pz(r);let p=(d?Bg(i.width):i.width)/u,y=(d?Bg(i.height):i.height)/l;return(!p||!Number.isFinite(p))&&(p=1),(!y||!Number.isFinite(y))&&(y=1),{x:p,y}}const vz=Hg(0);function hz(n){const r=Ro(n);return!cz()||!r.visualViewport?vz:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function mz(n,r,i){return r===void 0&&(r=!1),!i||r&&i!==Ro(n)?!1:r}function GN(n,r,i,u){r===void 0&&(r=!1),i===void 0&&(i=!1);const l=n.getBoundingClientRect(),d=Ux(n);let p=Hg(1);r&&(u?Bx(u)&&(p=Gx(u)):p=Gx(n));const y=mz(d,i,u)?hz(d):Hg(0);let g=(l.left+y.x)/p.x,b=(l.top+y.y)/p.y,E=l.width/p.x,R=l.height/p.y;if(d){const T=Ro(d),A=u&&Bx(u)?Ro(u):u;let N=T.frameElement;for(;N&&u&&A!==T;){const j=Gx(N),O=N.getBoundingClientRect(),P=Hx(N),B=O.left+(N.clientLeft+parseFloat(P.paddingLeft))*j.x,F=O.top+(N.clientTop+parseFloat(P.paddingTop))*j.y;g*=j.x,b*=j.y,E*=j.x,R*=j.y,g+=B,b+=F,N=Ro(N).frameElement}}return lz({width:E,height:R,x:g,y:b})}function gz(n,r){let i=null,u;const l=VN(n);function d(){var y;clearTimeout(u),(y=i)==null||y.disconnect(),i=null}function p(y,g){y===void 0&&(y=!1),g===void 0&&(g=1),d();const{left:b,top:E,width:R,height:T}=n.getBoundingClientRect();if(y||r(),!R||!T)return;const A=zg(E),N=zg(l.clientWidth-(b+R)),j=zg(l.clientHeight-(E+T)),O=zg(b),B={rootMargin:-A+"px "+-N+"px "+-j+"px "+-O+"px",threshold:uz(0,sz(1,g))||1};let F=!0;function U(z){const G=z[0].intersectionRatio;if(G!==g){if(!F)return p();G?p(!1,G):u=setTimeout(()=>{p(!1,1e-7)},100)}F=!1}try{i=new IntersectionObserver(U,{...B,root:l.ownerDocument})}catch{i=new IntersectionObserver(U,B)}i.observe(n)}return p(!0),d}function yz(n,r,i,u){u===void 0&&(u={});const{ancestorScroll:l=!0,ancestorResize:d=!0,elementResize:p=typeof ResizeObserver=="function",layoutShift:y=typeof IntersectionObserver=="function",animationFrame:g=!1}=u,b=Ux(n),E=l||d?[...b?Ug(b):[],...Ug(r)]:[];E.forEach(P=>{l&&P.addEventListener("scroll",i,{passive:!0}),d&&P.addEventListener("resize",i)});const R=b&&y?gz(b,i):null;let T=-1,A=null;p&&(A=new ResizeObserver(P=>{let[B]=P;B&&B.target===b&&A&&(A.unobserve(r),cancelAnimationFrame(T),T=requestAnimationFrame(()=>{var F;(F=A)==null||F.observe(r)})),i()}),b&&!g&&A.observe(b),A.observe(r));let N,j=g?GN(n):null;g&&O();function O(){const P=GN(n);j&&(P.x!==j.x||P.y!==j.y||P.width!==j.width||P.height!==j.height)&&i(),j=P,N=requestAnimationFrame(O)}return i(),()=>{var P;E.forEach(B=>{l&&B.removeEventListener("scroll",i),d&&B.removeEventListener("resize",i)}),R==null||R(),(P=A)==null||P.disconnect(),A=null,g&&cancelAnimationFrame(N)}}var $x=M.useLayoutEffect,bz=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Gg=function(){};function Cz(n,r){return r?r[0]==="-"?n+r:n+"__"+r:n}function xz(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 p in r)r.hasOwnProperty(p)&&r[p]&&d.push("".concat(Cz(n,p)));return d.filter(function(y){return y}).map(function(y){return String(y).trim()}).join(" ")}var $N=function(r){return _z(r)?r.filter(Boolean):Ac(r)==="object"&&r!==null?[r]:[]},WN=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=os(r,bz);return ft({},i)},cr=function(r,i,u){var l=r.cx,d=r.getStyles,p=r.getClassNames,y=r.className;return{css:d(i,r),className:l(u??{},p(i,r),y)}};function Ez(n,r,i){if(i){var u=i(n,r);if(typeof u=="string")return u}return n}function $g(n){return[document.documentElement,document.body,window].indexOf(n)>-1}function Sz(n){return $g(n)?window.innerHeight:n.clientHeight}function XN(n){return $g(n)?window.pageYOffset:n.scrollTop}function Wg(n,r){if($g(n)){window.scrollTo(0,r);return}n.scrollTop=r}function wz(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 Rz(n,r,i,u){return i*((n=n/u-1)*n*n+1)+r}function Xg(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Gg,l=XN(n),d=r-l,p=10,y=0;function g(){y+=p;var b=Rz(y,l,d,i);Wg(n,b),y<i?window.requestAnimationFrame(g):u(n)}g()}function YN(n,r){var i=n.getBoundingClientRect(),u=r.getBoundingClientRect(),l=r.offsetHeight/3;u.bottom+l>i.bottom?Wg(n,Math.min(r.offsetTop+r.clientHeight-n.offsetHeight+l,n.scrollHeight)):u.top-l<i.top&&Wg(n,Math.max(r.offsetTop-l,0))}function Tz(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 ZN(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Iz(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var JN=!1,Az={get passive(){return JN=!0}},Yg=typeof window<"u"?window:{};Yg.addEventListener&&Yg.removeEventListener&&(Yg.addEventListener("p",Gg,Az),Yg.removeEventListener("p",Gg,!1));var Nz=JN;function Oz(n){return n!=null}function _z(n){return Array.isArray(n)}function Zg(n,r,i){return n?r:i}function KY(n){return n}function eZ(n){return n}var Dz=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(p){var y=Xr(p,1),g=y[0];return!u.includes(g)});return d.reduce(function(p,y){var g=Xr(y,2),b=g[0],E=g[1];return p[b]=E,p},{})},jz=["children","innerProps"],kz=["children","innerProps"];function Mz(n){var r=n.maxHeight,i=n.menuEl,u=n.minHeight,l=n.placement,d=n.shouldScroll,p=n.isFixedPosition,y=n.controlHeight,g=wz(i),b={placement:"bottom",maxHeight:r};if(!i||!i.offsetParent)return b;var E=g.getBoundingClientRect(),R=E.height,T=i.getBoundingClientRect(),A=T.bottom,N=T.height,j=T.top,O=i.offsetParent.getBoundingClientRect(),P=O.top,B=p?window.innerHeight:Sz(g),F=XN(g),U=parseInt(getComputedStyle(i).marginBottom,10),z=parseInt(getComputedStyle(i).marginTop,10),G=P-z,X=B-j,te=G+F,Re=R-F-j,ue=A-B+F+U,pe=F+j-z,ye=160;switch(l){case"auto":case"bottom":if(X>=N)return{placement:"bottom",maxHeight:r};if(Re>=N&&!p)return d&&Xg(g,ue,ye),{placement:"bottom",maxHeight:r};if(!p&&Re>=u||p&&X>=u){d&&Xg(g,ue,ye);var me=p?X-U:Re-U;return{placement:"bottom",maxHeight:me}}if(l==="auto"||p){var Ae=r,_e=p?G:te;return _e>=u&&(Ae=Math.min(_e-U-y,r)),{placement:"top",maxHeight:Ae}}if(l==="bottom")return d&&Wg(g,ue),{placement:"bottom",maxHeight:r};break;case"top":if(G>=N)return{placement:"top",maxHeight:r};if(te>=N&&!p)return d&&Xg(g,pe,ye),{placement:"top",maxHeight:r};if(!p&&te>=u||p&&G>=u){var Oe=r;return(!p&&te>=u||p&&G>=u)&&(Oe=p?G-z:te-z),d&&Xg(g,pe,ye),{placement:"top",maxHeight:Oe}}return{placement:"bottom",maxHeight:r};default:throw new Error('Invalid placement provided "'.concat(l,'".'))}return b}function Pz(n){var r={bottom:"top",top:"bottom"};return n?r[n]:"bottom"}var qN=function(r){return r==="auto"?"bottom":r},Lz=function(r,i){var u,l=r.placement,d=r.theme,p=d.borderRadius,y=d.spacing,g=d.colors;return ft((u={label:"menu"},qf(u,Pz(l),"100%"),qf(u,"position","absolute"),qf(u,"width","100%"),qf(u,"zIndex",1),u),i?{}:{backgroundColor:g.neutral0,borderRadius:p,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:y.menuGutter,marginTop:y.menuGutter})},QN=M.createContext(null),Fz=function(r){var i=r.children,u=r.minMenuHeight,l=r.maxMenuHeight,d=r.menuPlacement,p=r.menuPosition,y=r.menuShouldScrollIntoView,g=r.theme,b=M.useContext(QN)||{},E=b.setPortalPlacement,R=M.useRef(null),T=M.useState(l),A=Xr(T,2),N=A[0],j=A[1],O=M.useState(null),P=Xr(O,2),B=P[0],F=P[1],U=g.spacing.controlHeight;return $x(function(){var z=R.current;if(z){var G=p==="fixed",X=y&&!G,te=Mz({maxHeight:l,menuEl:z,minHeight:u,placement:d,shouldScroll:X,isFixedPosition:G,controlHeight:U});j(te.maxHeight),F(te.placement),E==null||E(te.placement)}},[l,d,p,y,u,E,U]),i({ref:R,placerProps:ft(ft({},r),{},{placement:B||qN(d),maxHeight:N})})},Vz=function(r){var i=r.children,u=r.innerRef,l=r.innerProps;return bt("div",xt({},cr(r,"menu",{menu:!0}),{ref:u},l),i)},Bz=Vz,zz=function(r,i){var u=r.maxHeight,l=r.theme.spacing.baseUnit;return ft({maxHeight:u,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},i?{}:{paddingBottom:l,paddingTop:l})},Hz=function(r){var i=r.children,u=r.innerProps,l=r.innerRef,d=r.isMulti;return bt("div",xt({},cr(r,"menuList",{"menu-list":!0,"menu-list--is-multi":d}),{ref:l},u),i)},KN=function(r,i){var u=r.theme,l=u.spacing.baseUnit,d=u.colors;return ft({textAlign:"center"},i?{}:{color:d.neutral40,padding:"".concat(l*2,"px ").concat(l*3,"px")})},Uz=KN,Gz=KN,$z=function(r){var i=r.children,u=i===void 0?"No options":i,l=r.innerProps,d=os(r,jz);return bt("div",xt({},cr(ft(ft({},d),{},{children:u,innerProps:l}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),l),u)},Wz=function(r){var i=r.children,u=i===void 0?"Loading...":i,l=r.innerProps,d=os(r,kz);return bt("div",xt({},cr(ft(ft({},d),{},{children:u,innerProps:l}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),l),u)},Xz=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}},Yz=function(r){var i=r.appendTo,u=r.children,l=r.controlElement,d=r.innerProps,p=r.menuPlacement,y=r.menuPosition,g=M.useRef(null),b=M.useRef(null),E=M.useState(qN(p)),R=Xr(E,2),T=R[0],A=R[1],N=M.useMemo(function(){return{setPortalPlacement:A}},[]),j=M.useState(null),O=Xr(j,2),P=O[0],B=O[1],F=M.useCallback(function(){if(l){var X=Tz(l),te=y==="fixed"?0:window.pageYOffset,Re=X[T]+te;(Re!==(P==null?void 0:P.offset)||X.left!==(P==null?void 0:P.rect.left)||X.width!==(P==null?void 0:P.rect.width))&&B({offset:Re,rect:X})}},[l,y,T,P==null?void 0:P.offset,P==null?void 0:P.rect.left,P==null?void 0:P.rect.width]);$x(function(){F()},[F]);var U=M.useCallback(function(){typeof b.current=="function"&&(b.current(),b.current=null),l&&g.current&&(b.current=yz(l,g.current,F,{elementResize:"ResizeObserver"in window}))},[l,F]);$x(function(){U()},[U]);var z=M.useCallback(function(X){g.current=X,U()},[U]);if(!i&&y!=="fixed"||!P)return null;var G=bt("div",xt({ref:z},cr(ft(ft({},r),{},{offset:P.offset,position:y,rect:P.rect}),"menuPortal",{"menu-portal":!0}),d),u);return bt(QN.Provider,{value:N},i?H0.createPortal(G,i):G)},Zz=function(r){var i=r.isDisabled,u=r.isRtl;return{label:"container",direction:u?"rtl":void 0,pointerEvents:i?"none":void 0,position:"relative"}},Jz=function(r){var i=r.children,u=r.innerProps,l=r.isDisabled,d=r.isRtl;return bt("div",xt({},cr(r,"container",{"--is-disabled":l,"--is-rtl":d}),u),i)},qz=function(r,i){var u=r.theme.spacing,l=r.isMulti,d=r.hasValue,p=r.selectProps.controlShouldRenderValue;return ft({alignItems:"center",display:l&&d&&p?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},i?{}:{padding:"".concat(u.baseUnit/2,"px ").concat(u.baseUnit*2,"px")})},Qz=function(r){var i=r.children,u=r.innerProps,l=r.isMulti,d=r.hasValue;return bt("div",xt({},cr(r,"valueContainer",{"value-container":!0,"value-container--is-multi":l,"value-container--has-value":d}),u),i)},Kz=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},e3=function(r){var i=r.children,u=r.innerProps;return bt("div",xt({},cr(r,"indicatorsContainer",{indicators:!0}),u),i)},eO,t3=["size"],n3=["innerProps","isRtl","size"];function r3(){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 a3=process.env.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:r3},tO=function(r){var i=r.size,u=os(r,t3);return bt("svg",xt({height:i,width:i,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:a3},u))},Wx=function(r){return bt(tO,xt({size:20},r),bt("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"}))},nO=function(r){return bt(tO,xt({size:20},r),bt("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"}))},rO=function(r,i){var u=r.isFocused,l=r.theme,d=l.spacing.baseUnit,p=l.colors;return ft({label:"indicatorContainer",display:"flex",transition:"color 150ms"},i?{}:{color:u?p.neutral60:p.neutral20,padding:d*2,":hover":{color:u?p.neutral80:p.neutral40}})},i3=rO,o3=function(r){var i=r.children,u=r.innerProps;return bt("div",xt({},cr(r,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),u),i||bt(nO,null))},s3=rO,u3=function(r){var i=r.children,u=r.innerProps;return bt("div",xt({},cr(r,"clearIndicator",{indicator:!0,"clear-indicator":!0}),u),i||bt(Wx,null))},l3=function(r,i){var u=r.isDisabled,l=r.theme,d=l.spacing.baseUnit,p=l.colors;return ft({label:"indicatorSeparator",alignSelf:"stretch",width:1},i?{}:{backgroundColor:u?p.neutral10:p.neutral20,marginBottom:d*2,marginTop:d*2})},c3=function(r){var i=r.innerProps;return bt("span",xt({},i,cr(r,"indicatorSeparator",{"indicator-separator":!0})))},f3=ez(eO||(eO=oz([`
|
|
307
|
-
0%, 80%, 100% { opacity: 0; }
|
|
308
|
-
40% { opacity: 1; }
|
|
309
|
-
`]))),d3=function(r,i){var u=r.isFocused,l=r.size,d=r.theme,p=d.colors,y=d.spacing.baseUnit;return ft({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:l,lineHeight:1,marginRight:l,textAlign:"center",verticalAlign:"middle"},i?{}:{color:u?p.neutral60:p.neutral20,padding:y*2})},Xx=function(r){var i=r.delay,u=r.offset;return bt("span",{css:Vx({animation:"".concat(f3," 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"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.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 */")})},p3=function(r){var i=r.innerProps,u=r.isRtl,l=r.size,d=l===void 0?4:l,p=os(r,n3);return bt("div",xt({},cr(ft(ft({},p),{},{innerProps:i,isRtl:u,size:d}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),i),bt(Xx,{delay:0,offset:u}),bt(Xx,{delay:160,offset:!0}),bt(Xx,{delay:320,offset:!u}))},v3=function(r,i){var u=r.isDisabled,l=r.isFocused,d=r.theme,p=d.colors,y=d.borderRadius,g=d.spacing;return ft({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:g.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},i?{}:{backgroundColor:u?p.neutral5:p.neutral0,borderColor:u?p.neutral10:l?p.primary:p.neutral20,borderRadius:y,borderStyle:"solid",borderWidth:1,boxShadow:l?"0 0 0 1px ".concat(p.primary):void 0,"&:hover":{borderColor:l?p.primary:p.neutral30}})},h3=function(r){var i=r.children,u=r.isDisabled,l=r.isFocused,d=r.innerRef,p=r.innerProps,y=r.menuIsOpen;return bt("div",xt({ref:d},cr(r,"control",{control:!0,"control--is-disabled":u,"control--is-focused":l,"control--menu-is-open":y}),p,{"aria-disabled":u||void 0}),i)},m3=h3,g3=["data"],y3=function(r,i){var u=r.theme.spacing;return i?{}:{paddingBottom:u.baseUnit*2,paddingTop:u.baseUnit*2}},b3=function(r){var i=r.children,u=r.cx,l=r.getStyles,d=r.getClassNames,p=r.Heading,y=r.headingProps,g=r.innerProps,b=r.label,E=r.theme,R=r.selectProps;return bt("div",xt({},cr(r,"group",{group:!0}),g),bt(p,xt({},y,{selectProps:R,theme:E,getStyles:l,getClassNames:d,cx:u}),b),bt("div",null,i))},C3=function(r,i){var u=r.theme,l=u.colors,d=u.spacing;return ft({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"})},x3=function(r){var i=WN(r);i.data;var u=os(i,g3);return bt("div",xt({},cr(r,"groupHeading",{"group-heading":!0}),u))},E3=b3,S3=["innerRef","isDisabled","isHidden","inputClassName"],w3=function(r,i){var u=r.isDisabled,l=r.value,d=r.theme,p=d.spacing,y=d.colors;return ft(ft({visibility:u?"hidden":"visible",transform:l?"translateZ(0)":""},R3),i?{}:{margin:p.baseUnit/2,paddingBottom:p.baseUnit/2,paddingTop:p.baseUnit/2,color:y.neutral80})},aO={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},R3={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":ft({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},aO)},T3=function(r){return ft({label:"input",color:"inherit",background:0,opacity:r?0:1,width:"100%"},aO)},I3=function(r){var i=r.cx,u=r.value,l=WN(r),d=l.innerRef,p=l.isDisabled,y=l.isHidden,g=l.inputClassName,b=os(l,S3);return bt("div",xt({},cr(r,"input",{"input-container":!0}),{"data-value":u||""}),bt("input",xt({className:i({input:!0},g),ref:d,style:T3(y),disabled:p},b)))},A3=I3,N3=function(r,i){var u=r.theme,l=u.spacing,d=u.borderRadius,p=u.colors;return ft({label:"multiValue",display:"flex",minWidth:0},i?{}:{backgroundColor:p.neutral10,borderRadius:d/2,margin:l.baseUnit/2})},O3=function(r,i){var u=r.theme,l=u.borderRadius,d=u.colors,p=r.cropWithEllipsis;return ft({overflow:"hidden",textOverflow:p||p===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},i?{}:{borderRadius:l/2,color:d.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},_3=function(r,i){var u=r.theme,l=u.spacing,d=u.borderRadius,p=u.colors,y=r.isFocused;return ft({alignItems:"center",display:"flex"},i?{}:{borderRadius:d/2,backgroundColor:y?p.dangerLight:void 0,paddingLeft:l.baseUnit,paddingRight:l.baseUnit,":hover":{backgroundColor:p.dangerLight,color:p.danger}})},iO=function(r){var i=r.children,u=r.innerProps;return bt("div",u,i)},D3=iO,j3=iO;function k3(n){var r=n.children,i=n.innerProps;return bt("div",xt({role:"button"},i),r||bt(Wx,{size:14}))}var M3=function(r){var i=r.children,u=r.components,l=r.data,d=r.innerProps,p=r.isDisabled,y=r.removeProps,g=r.selectProps,b=u.Container,E=u.Label,R=u.Remove;return bt(b,{data:l,innerProps:ft(ft({},cr(r,"multiValue",{"multi-value":!0,"multi-value--is-disabled":p})),d),selectProps:g},bt(E,{data:l,innerProps:ft({},cr(r,"multiValueLabel",{"multi-value__label":!0})),selectProps:g},i),bt(R,{data:l,innerProps:ft(ft({},cr(r,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(i||"option")},y),selectProps:g}))},P3=M3,L3=function(r,i){var u=r.isDisabled,l=r.isFocused,d=r.isSelected,p=r.theme,y=p.spacing,g=p.colors;return ft({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},i?{}:{backgroundColor:d?g.primary:l?g.primary25:"transparent",color:u?g.neutral20:d?g.neutral0:"inherit",padding:"".concat(y.baseUnit*2,"px ").concat(y.baseUnit*3,"px"),":active":{backgroundColor:u?void 0:d?g.primary:g.primary50}})},F3=function(r){var i=r.children,u=r.isDisabled,l=r.isFocused,d=r.isSelected,p=r.innerRef,y=r.innerProps;return bt("div",xt({},cr(r,"option",{option:!0,"option--is-disabled":u,"option--is-focused":l,"option--is-selected":d}),{ref:p,"aria-disabled":u},y),i)},V3=F3,B3=function(r,i){var u=r.theme,l=u.spacing,d=u.colors;return ft({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},i?{}:{color:d.neutral50,marginLeft:l.baseUnit/2,marginRight:l.baseUnit/2})},z3=function(r){var i=r.children,u=r.innerProps;return bt("div",xt({},cr(r,"placeholder",{placeholder:!0}),u),i)},H3=z3,U3=function(r,i){var u=r.isDisabled,l=r.theme,d=l.spacing,p=l.colors;return ft({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},i?{}:{color:u?p.neutral40:p.neutral80,marginLeft:d.baseUnit/2,marginRight:d.baseUnit/2})},G3=function(r){var i=r.children,u=r.isDisabled,l=r.innerProps;return bt("div",xt({},cr(r,"singleValue",{"single-value":!0,"single-value--is-disabled":u}),l),i)},$3=G3,W3={ClearIndicator:u3,Control:m3,DropdownIndicator:o3,DownChevron:nO,CrossIcon:Wx,Group:E3,GroupHeading:x3,IndicatorsContainer:e3,IndicatorSeparator:c3,Input:A3,LoadingIndicator:p3,Menu:Bz,MenuList:Hz,MenuPortal:Yz,LoadingMessage:Wz,NoOptionsMessage:$z,MultiValue:P3,MultiValueContainer:D3,MultiValueLabel:j3,MultiValueRemove:k3,Option:V3,Placeholder:H3,SelectContainer:Jz,SingleValue:$3,ValueContainer:Qz},X3=function(r){return ft(ft({},W3),r.components)},oO=Number.isNaN||function(r){return typeof r=="number"&&r!==r};function Y3(n,r){return!!(n===r||oO(n)&&oO(r))}function Z3(n,r){if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Y3(n[i],r[i]))return!1;return!0}function J3(n,r){r===void 0&&(r=Z3);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 p=n.apply(this,l);return i={lastResult:p,lastArgs:l,lastThis:this},p}return u.clear=function(){i=null},u}function q3(){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)."}for(var Q3=process.env.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:q3},K3=function(r){return bt("span",xt({css:Q3},r))},sO=K3,e9={guidance:function(r){var i=r.isSearchable,u=r.isMulti,l=r.tabSelectsValue,d=r.context,p=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 p?"".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,p=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 p?"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,p=d===void 0?"":d,y=r.selectValue,g=r.isDisabled,b=r.isSelected,E=r.isAppleDevice,R=function(j,O){return j&&j.length?"".concat(j.indexOf(O)+1," of ").concat(j.length):""};if(i==="value"&&y)return"value ".concat(p," focused, ").concat(R(y,u),".");if(i==="menu"&&E){var T=g?" disabled":"",A="".concat(b?" selected":"").concat(T);return"".concat(p).concat(A,", ").concat(R(l,u),".")}return""},onFilter:function(r){var i=r.inputValue,u=r.resultsMessage;return"".concat(u).concat(i?" for search term "+i:"",".")}},t9=function(r){var i=r.ariaSelection,u=r.focusedOption,l=r.focusedValue,d=r.focusableOptions,p=r.isFocused,y=r.selectValue,g=r.selectProps,b=r.id,E=r.isAppleDevice,R=g.ariaLiveMessages,T=g.getOptionLabel,A=g.inputValue,N=g.isMulti,j=g.isOptionDisabled,O=g.isSearchable,P=g.menuIsOpen,B=g.options,F=g.screenReaderStatus,U=g.tabSelectsValue,z=g.isLoading,G=g["aria-label"],X=g["aria-live"],te=M.useMemo(function(){return ft(ft({},e9),R||{})},[R]),Re=M.useMemo(function(){var _e="";if(i&&te.onChange){var Oe=i.option,Ie=i.options,ve=i.removedValue,Pe=i.removedValues,L=i.value,q=function(Te){return Array.isArray(Te)?null:Te},se=ve||Oe||q(L),xe=se?T(se):"",Ee=Ie||Pe||void 0,De=Ee?Ee.map(T):[],ie=ft({isDisabled:se&&j(se,y),label:xe,labels:De},i);_e=te.onChange(ie)}return _e},[i,te,j,y,T]),ue=M.useMemo(function(){var _e="",Oe=u||l,Ie=!!(u&&y&&y.includes(u));if(Oe&&te.onFocus){var ve={focused:Oe,label:T(Oe),isDisabled:j(Oe,y),isSelected:Ie,options:d,context:Oe===u?"menu":"value",selectValue:y,isAppleDevice:E};_e=te.onFocus(ve)}return _e},[u,l,T,j,te,d,y,E]),pe=M.useMemo(function(){var _e="";if(P&&B.length&&!z&&te.onFilter){var Oe=F({count:d.length});_e=te.onFilter({inputValue:A,resultsMessage:Oe})}return _e},[d,A,P,te,B,F,z]),ye=(i==null?void 0:i.action)==="initial-input-focus",me=M.useMemo(function(){var _e="";if(te.guidance){var Oe=l?"value":P?"menu":"input";_e=te.guidance({"aria-label":G,context:Oe,isDisabled:u&&j(u,y),isMulti:N,isSearchable:O,tabSelectsValue:U,isInitialFocus:ye})}return _e},[G,u,l,N,j,O,P,te,y,U,ye]),Ae=bt(M.Fragment,null,bt("span",{id:"aria-selection"},Re),bt("span",{id:"aria-focused"},ue),bt("span",{id:"aria-results"},pe),bt("span",{id:"aria-guidance"},me));return bt(M.Fragment,null,bt(sO,{id:b},ye&&Ae),bt(sO,{"aria-live":X,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},p&&!ye&&Ae))},n9=t9,Yx=[{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źẑżžẓẕƶȥɀⱬꝣ"}],r9=new RegExp("["+Yx.map(function(n){return n.letters}).join("")+"]","g"),uO={},Zx=0;Zx<Yx.length;Zx++)for(var Jx=Yx[Zx],qx=0;qx<Jx.letters.length;qx++)uO[Jx.letters[qx]]=Jx.base;var lO=function(r){return r.replace(r9,function(i){return uO[i]})},a9=J3(lO),cO=function(r){return r.replace(/^\s+|\s+$/g,"")},i9=function(r){return"".concat(r.label," ").concat(r.value)},o9=function(r){return function(i,u){if(i.data.__isNew__)return!0;var l=ft({ignoreCase:!0,ignoreAccents:!0,stringify:i9,trim:!0,matchFrom:"any"},r),d=l.ignoreCase,p=l.ignoreAccents,y=l.stringify,g=l.trim,b=l.matchFrom,E=g?cO(u):u,R=g?cO(y(i)):y(i);return d&&(E=E.toLowerCase(),R=R.toLowerCase()),p&&(E=a9(E),R=lO(R)),b==="start"?R.substr(0,E.length)===E:R.indexOf(E)>-1}},s9=["innerRef"];function u9(n){var r=n.innerRef,i=os(n,s9),u=Dz(i,"onExited","in","enter","exit","appear");return bt("input",xt({ref:r},u,{css:Vx({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)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVmIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgcmVtb3ZlUHJvcHMgfSBmcm9tICcuLi91dGlscyc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixcbiAgLi4ucHJvcHNcbn06IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snaW5wdXQnXSAmIHtcbiAgcmVhZG9ubHkgaW5uZXJSZWY6IFJlZjxIVE1MSW5wdXRFbGVtZW50Pjtcbn0pIHtcbiAgLy8gUmVtb3ZlIGFuaW1hdGlvbiBwcm9wcyBub3QgbWVhbnQgZm9yIEhUTUwgZWxlbWVudHNcbiAgY29uc3QgZmlsdGVyZWRQcm9wcyA9IHJlbW92ZVByb3BzKFxuICAgIHByb3BzLFxuICAgICdvbkV4aXRlZCcsXG4gICAgJ2luJyxcbiAgICAnZW50ZXInLFxuICAgICdleGl0JyxcbiAgICAnYXBwZWFyJ1xuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGlucHV0XG4gICAgICByZWY9e2lubmVyUmVmfVxuICAgICAgey4uLmZpbHRlcmVkUHJvcHN9XG4gICAgICBjc3M9e3tcbiAgICAgICAgbGFiZWw6ICdkdW1teUlucHV0JyxcbiAgICAgICAgLy8gZ2V0IHJpZCBvZiBhbnkgZGVmYXVsdCBzdHlsZXNcbiAgICAgICAgYmFja2dyb3VuZDogMCxcbiAgICAgICAgYm9yZGVyOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHRoaXMgaGlkZXMgdGhlIGZsYXNoaW5nIGN1cnNvclxuICAgICAgICBjYXJldENvbG9yOiAndHJhbnNwYXJlbnQnLFxuICAgICAgICBmb250U2l6ZTogJ2luaGVyaXQnLFxuICAgICAgICBncmlkQXJlYTogJzEgLyAxIC8gMiAvIDMnLFxuICAgICAgICBvdXRsaW5lOiAwLFxuICAgICAgICBwYWRkaW5nOiAwLFxuICAgICAgICAvLyBpbXBvcnRhbnQhIHdpdGhvdXQgYHdpZHRoYCBicm93c2VycyB3b24ndCBhbGxvdyBmb2N1c1xuICAgICAgICB3aWR0aDogMSxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIGRlc2t0b3BcbiAgICAgICAgY29sb3I6ICd0cmFuc3BhcmVudCcsXG5cbiAgICAgICAgLy8gcmVtb3ZlIGN1cnNvciBvbiBtb2JpbGUgd2hpbHN0IG1haW50YWluaW5nIFwic2Nyb2xsIGludG8gdmlld1wiIGJlaGF2aW91clxuICAgICAgICBsZWZ0OiAtMTAwLFxuICAgICAgICBvcGFjaXR5OiAwLFxuICAgICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgICAgdHJhbnNmb3JtOiAnc2NhbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")}))}var l9=function(r){r.cancelable&&r.preventDefault(),r.stopPropagation()};function c9(n){var r=n.isEnabled,i=n.onBottomArrive,u=n.onBottomLeave,l=n.onTopArrive,d=n.onTopLeave,p=M.useRef(!1),y=M.useRef(!1),g=M.useRef(0),b=M.useRef(null),E=M.useCallback(function(O,P){if(b.current!==null){var B=b.current,F=B.scrollTop,U=B.scrollHeight,z=B.clientHeight,G=b.current,X=P>0,te=U-z-F,Re=!1;te>P&&p.current&&(u&&u(O),p.current=!1),X&&y.current&&(d&&d(O),y.current=!1),X&&P>te?(i&&!p.current&&i(O),G.scrollTop=U,Re=!0,p.current=!0):!X&&-P>F&&(l&&!y.current&&l(O),G.scrollTop=0,Re=!0,y.current=!0),Re&&l9(O)}},[i,u,l,d]),R=M.useCallback(function(O){E(O,O.deltaY)},[E]),T=M.useCallback(function(O){g.current=O.changedTouches[0].clientY},[]),A=M.useCallback(function(O){var P=g.current-O.changedTouches[0].clientY;E(O,P)},[E]),N=M.useCallback(function(O){if(O){var P=Nz?{passive:!1}:!1;O.addEventListener("wheel",R,P),O.addEventListener("touchstart",T,P),O.addEventListener("touchmove",A,P)}},[A,T,R]),j=M.useCallback(function(O){O&&(O.removeEventListener("wheel",R,!1),O.removeEventListener("touchstart",T,!1),O.removeEventListener("touchmove",A,!1))},[A,T,R]);return M.useEffect(function(){if(r){var O=b.current;return N(O),function(){j(O)}}},[r,N,j]),function(O){b.current=O}}var fO=["boxSizing","height","overflow","paddingRight","position"],dO={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function pO(n){n.preventDefault()}function vO(n){n.stopPropagation()}function hO(){var n=this.scrollTop,r=this.scrollHeight,i=n+this.offsetHeight;n===0?this.scrollTop=1:i===r&&(this.scrollTop=n-1)}function mO(){return"ontouchstart"in window||navigator.maxTouchPoints}var gO=!!(typeof window<"u"&&window.document&&window.document.createElement),gv=0,td={capture:!1,passive:!1};function f9(n){var r=n.isEnabled,i=n.accountForScrollbars,u=i===void 0?!0:i,l=M.useRef({}),d=M.useRef(null),p=M.useCallback(function(g){if(gO){var b=document.body,E=b&&b.style;if(u&&fO.forEach(function(N){var j=E&&E[N];l.current[N]=j}),u&&gv<1){var R=parseInt(l.current.paddingRight,10)||0,T=document.body?document.body.clientWidth:0,A=window.innerWidth-T+R||0;Object.keys(dO).forEach(function(N){var j=dO[N];E&&(E[N]=j)}),E&&(E.paddingRight="".concat(A,"px"))}b&&mO()&&(b.addEventListener("touchmove",pO,td),g&&(g.addEventListener("touchstart",hO,td),g.addEventListener("touchmove",vO,td))),gv+=1}},[u]),y=M.useCallback(function(g){if(gO){var b=document.body,E=b&&b.style;gv=Math.max(gv-1,0),u&&gv<1&&fO.forEach(function(R){var T=l.current[R];E&&(E[R]=T)}),b&&mO()&&(b.removeEventListener("touchmove",pO,td),g&&(g.removeEventListener("touchstart",hO,td),g.removeEventListener("touchmove",vO,td)))}},[u]);return M.useEffect(function(){if(r){var g=d.current;return p(g),function(){y(g)}}},[r,p,y]),function(g){d.current=g}}function d9(){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 p9=function(r){var i=r.target;return i.ownerDocument.activeElement&&i.ownerDocument.activeElement.blur()},v9=process.env.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:d9};function h9(n){var r=n.children,i=n.lockEnabled,u=n.captureEnabled,l=u===void 0?!0:u,d=n.onBottomArrive,p=n.onBottomLeave,y=n.onTopArrive,g=n.onTopLeave,b=c9({isEnabled:l,onBottomArrive:d,onBottomLeave:p,onTopArrive:y,onTopLeave:g}),E=f9({isEnabled:i}),R=function(A){b(A),E(A)};return bt(M.Fragment,null,i&&bt("div",{onClick:p9,css:v9}),r(R))}function m9(){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 g9=process.env.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:m9},y9=function(r){var i=r.name,u=r.onFocus;return bt("input",{required:!0,name:i,tabIndex:-1,"aria-hidden":"true",onFocus:u,css:g9,value:"",onChange:function(){}})},b9=y9;function Qx(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 C9(){return Qx(/^iPhone/i)}function yO(){return Qx(/^Mac/i)}function x9(){return Qx(/^iPad/i)||yO()&&navigator.maxTouchPoints>1}function E9(){return C9()||x9()}function S9(){return yO()||E9()}var w9=function(r){return r.label},R9=function(r){return r.label},T9=function(r){return r.value},I9=function(r){return!!r.isDisabled},A9={clearIndicator:s3,container:Zz,control:v3,dropdownIndicator:i3,group:y3,groupHeading:C3,indicatorsContainer:Kz,indicatorSeparator:l3,input:w3,loadingIndicator:d3,loadingMessage:Gz,menu:Lz,menuList:zz,menuPortal:Xz,multiValue:N3,multiValueLabel:O3,multiValueRemove:_3,noOptionsMessage:Uz,option:L3,placeholder:B3,singleValue:U3,valueContainer:qz},N9={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%)"},O9=4,bO=4,_9=38,D9=bO*2,j9={baseUnit:bO,controlHeight:_9,menuGutter:D9},Kx={borderRadius:O9,colors:N9,spacing:j9},k9={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ZN(),captureMenuScroll:!ZN(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:o9(),formatGroupLabel:w9,getOptionLabel:R9,getOptionValue:T9,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:I9,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Iz(),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 CO(n,r,i,u){var l=RO(n,r,i),d=TO(n,r,i),p=wO(n,r),y=qg(n,r);return{type:"option",data:r,isDisabled:l,isSelected:d,label:p,value:y,index:u}}function Jg(n,r){return n.options.map(function(i,u){if("options"in i){var l=i.options.map(function(p,y){return CO(n,p,r,y)}).filter(function(p){return SO(n,p)});return l.length>0?{type:"group",data:i,options:l,index:u}:void 0}var d=CO(n,i,r,u);return SO(n,d)?d:void 0}).filter(Oz)}function xO(n){return n.reduce(function(r,i){return i.type==="group"?r.push.apply(r,Sx(i.options.map(function(u){return u.data}))):r.push(i.data),r},[])}function EO(n,r){return n.reduce(function(i,u){return u.type==="group"?i.push.apply(i,Sx(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 M9(n,r){return xO(Jg(n,r))}function SO(n,r){var i=n.inputValue,u=i===void 0?"":i,l=r.data,d=r.isSelected,p=r.label,y=r.value;return(!AO(n)||!d)&&IO(n,{label:p,value:y,data:l},u)}function P9(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 L9(n,r){var i=n.focusedOption;return i&&r.indexOf(i)>-1?i:r[0]}var eE=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},wO=function(r,i){return r.getOptionLabel(i)},qg=function(r,i){return r.getOptionValue(i)};function RO(n,r,i){return typeof n.isOptionDisabled=="function"?n.isOptionDisabled(r,i):!1}function TO(n,r,i){if(i.indexOf(r)>-1)return!0;if(typeof n.isOptionSelected=="function")return n.isOptionSelected(r,i);var u=qg(n,r);return i.some(function(l){return qg(n,l)===u})}function IO(n,r,i){return n.filterOption?n.filterOption(r,i):!0}var AO=function(r){var i=r.hideSelectedOptions,u=r.isMulti;return i===void 0?u:i},F9=1,tE=function(n){UB(i,n);var r=WB(i);function i(u){var l;if(zB(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=S9(),l.controlRef=null,l.getControlRef=function(g){l.controlRef=g},l.focusedOptionRef=null,l.getFocusedOptionRef=function(g){l.focusedOptionRef=g},l.menuListRef=null,l.getMenuListRef=function(g){l.menuListRef=g},l.inputRef=null,l.getInputRef=function(g){l.inputRef=g},l.focus=l.focusInput,l.blur=l.blurInput,l.onChange=function(g,b){var E=l.props,R=E.onChange,T=E.name;b.name=T,l.ariaOnChange(g,b),R(g,b)},l.setValue=function(g,b,E){var R=l.props,T=R.closeMenuOnSelect,A=R.isMulti,N=R.inputValue;l.onInputChange("",{action:"set-value",prevInputValue:N}),T&&(l.setState({inputIsHiddenAfterUpdate:!A}),l.onMenuClose()),l.setState({clearFocusValueOnUpdate:!0}),l.onChange(g,{action:b,option:E})},l.selectOption=function(g){var b=l.props,E=b.blurInputOnSelect,R=b.isMulti,T=b.name,A=l.state.selectValue,N=R&&l.isOptionSelected(g,A),j=l.isOptionDisabled(g,A);if(N){var O=l.getOptionValue(g);l.setValue(A.filter(function(P){return l.getOptionValue(P)!==O}),"deselect-option",g)}else if(!j)R?l.setValue([].concat(Sx(A),[g]),"select-option",g):l.setValue(g,"select-option");else{l.ariaOnChange(g,{action:"select-option",option:g,name:T});return}E&&l.blurInput()},l.removeValue=function(g){var b=l.props.isMulti,E=l.state.selectValue,R=l.getOptionValue(g),T=E.filter(function(N){return l.getOptionValue(N)!==R}),A=Zg(b,T,T[0]||null);l.onChange(A,{action:"remove-value",removedValue:g}),l.focusInput()},l.clearValue=function(){var g=l.state.selectValue;l.onChange(Zg(l.props.isMulti,[],null),{action:"clear",removedValues:g})},l.popValue=function(){var g=l.props.isMulti,b=l.state.selectValue,E=b[b.length-1],R=b.slice(0,b.length-1),T=Zg(g,R,R[0]||null);l.onChange(T,{action:"pop-value",removedValue:E})},l.getFocusedOptionId=function(g){return eE(l.state.focusableOptionsWithIds,g)},l.getFocusableOptionsWithIds=function(){return EO(Jg(l.props,l.state.selectValue),l.getElementId("option"))},l.getValue=function(){return l.state.selectValue},l.cx=function(){for(var g=arguments.length,b=new Array(g),E=0;E<g;E++)b[E]=arguments[E];return xz.apply(void 0,[l.props.classNamePrefix].concat(b))},l.getOptionLabel=function(g){return wO(l.props,g)},l.getOptionValue=function(g){return qg(l.props,g)},l.getStyles=function(g,b){var E=l.props.unstyled,R=A9[g](b,E);R.boxSizing="border-box";var T=l.props.styles[g];return T?T(R,b):R},l.getClassNames=function(g,b){var E,R;return(E=(R=l.props.classNames)[g])===null||E===void 0?void 0:E.call(R,b)},l.getElementId=function(g){return"".concat(l.state.instancePrefix,"-").concat(g)},l.getComponents=function(){return X3(l.props)},l.buildCategorizedOptions=function(){return Jg(l.props,l.state.selectValue)},l.getCategorizedOptions=function(){return l.props.menuIsOpen?l.buildCategorizedOptions():[]},l.buildFocusableOptions=function(){return xO(l.buildCategorizedOptions())},l.getFocusableOptions=function(){return l.props.menuIsOpen?l.buildFocusableOptions():[]},l.ariaOnChange=function(g,b){l.setState({ariaSelection:ft({value:g},b)})},l.onMenuMouseDown=function(g){g.button===0&&(g.stopPropagation(),g.preventDefault(),l.focusInput())},l.onMenuMouseMove=function(g){l.blockOptionHover=!1},l.onControlMouseDown=function(g){if(!g.defaultPrevented){var b=l.props.openMenuOnClick;l.state.isFocused?l.props.menuIsOpen?g.target.tagName!=="INPUT"&&g.target.tagName!=="TEXTAREA"&&l.onMenuClose():b&&l.openMenu("first"):(b&&(l.openAfterFocus=!0),l.focusInput()),g.target.tagName!=="INPUT"&&g.target.tagName!=="TEXTAREA"&&g.preventDefault()}},l.onDropdownIndicatorMouseDown=function(g){if(!(g&&g.type==="mousedown"&&g.button!==0)&&!l.props.isDisabled){var b=l.props,E=b.isMulti,R=b.menuIsOpen;l.focusInput(),R?(l.setState({inputIsHiddenAfterUpdate:!E}),l.onMenuClose()):l.openMenu("first"),g.preventDefault()}},l.onClearIndicatorMouseDown=function(g){g&&g.type==="mousedown"&&g.button!==0||(l.clearValue(),g.preventDefault(),l.openAfterFocus=!1,g.type==="touchend"?l.focusInput():setTimeout(function(){return l.focusInput()}))},l.onScroll=function(g){typeof l.props.closeMenuOnScroll=="boolean"?g.target instanceof HTMLElement&&$g(g.target)&&l.props.onMenuClose():typeof l.props.closeMenuOnScroll=="function"&&l.props.closeMenuOnScroll(g)&&l.props.onMenuClose()},l.onCompositionStart=function(){l.isComposing=!0},l.onCompositionEnd=function(){l.isComposing=!1},l.onTouchStart=function(g){var b=g.touches,E=b&&b.item(0);E&&(l.initialTouchX=E.clientX,l.initialTouchY=E.clientY,l.userIsDragging=!1)},l.onTouchMove=function(g){var b=g.touches,E=b&&b.item(0);if(E){var R=Math.abs(E.clientX-l.initialTouchX),T=Math.abs(E.clientY-l.initialTouchY),A=5;l.userIsDragging=R>A||T>A}},l.onTouchEnd=function(g){l.userIsDragging||(l.controlRef&&!l.controlRef.contains(g.target)&&l.menuListRef&&!l.menuListRef.contains(g.target)&&l.blurInput(),l.initialTouchX=0,l.initialTouchY=0)},l.onControlTouchEnd=function(g){l.userIsDragging||l.onControlMouseDown(g)},l.onClearIndicatorTouchEnd=function(g){l.userIsDragging||l.onClearIndicatorMouseDown(g)},l.onDropdownIndicatorTouchEnd=function(g){l.userIsDragging||l.onDropdownIndicatorMouseDown(g)},l.handleInputChange=function(g){var b=l.props.inputValue,E=g.currentTarget.value;l.setState({inputIsHiddenAfterUpdate:!1}),l.onInputChange(E,{action:"input-change",prevInputValue:b}),l.props.menuIsOpen||l.onMenuOpen()},l.onInputFocus=function(g){l.props.onFocus&&l.props.onFocus(g),l.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(l.openAfterFocus||l.props.openMenuOnFocus)&&l.openMenu("first"),l.openAfterFocus=!1},l.onInputBlur=function(g){var b=l.props.inputValue;if(l.menuListRef&&l.menuListRef.contains(document.activeElement)){l.inputRef.focus();return}l.props.onBlur&&l.props.onBlur(g),l.onInputChange("",{action:"input-blur",prevInputValue:b}),l.onMenuClose(),l.setState({focusedValue:null,isFocused:!1})},l.onOptionHover=function(g){if(!(l.blockOptionHover||l.state.focusedOption===g)){var b=l.getFocusableOptions(),E=b.indexOf(g);l.setState({focusedOption:g,focusedOptionId:E>-1?l.getFocusedOptionId(g):null})}},l.shouldHideSelectedOptions=function(){return AO(l.props)},l.onValueInputFocus=function(g){g.preventDefault(),g.stopPropagation(),l.focus()},l.onKeyDown=function(g){var b=l.props,E=b.isMulti,R=b.backspaceRemovesValue,T=b.escapeClearsValue,A=b.inputValue,N=b.isClearable,j=b.isDisabled,O=b.menuIsOpen,P=b.onKeyDown,B=b.tabSelectsValue,F=b.openMenuOnFocus,U=l.state,z=U.focusedOption,G=U.focusedValue,X=U.selectValue;if(!j&&!(typeof P=="function"&&(P(g),g.defaultPrevented))){switch(l.blockOptionHover=!0,g.key){case"ArrowLeft":if(!E||A)return;l.focusValue("previous");break;case"ArrowRight":if(!E||A)return;l.focusValue("next");break;case"Delete":case"Backspace":if(A)return;if(G)l.removeValue(G);else{if(!R)return;E?l.popValue():N&&l.clearValue()}break;case"Tab":if(l.isComposing||g.shiftKey||!O||!B||!z||F&&l.isOptionSelected(z,X))return;l.selectOption(z);break;case"Enter":if(g.keyCode===229)break;if(O){if(!z||l.isComposing)return;l.selectOption(z);break}return;case"Escape":O?(l.setState({inputIsHiddenAfterUpdate:!1}),l.onInputChange("",{action:"menu-close",prevInputValue:A}),l.onMenuClose()):N&&T&&l.clearValue();break;case" ":if(A)return;if(!O){l.openMenu("first");break}if(!z)return;l.selectOption(z);break;case"ArrowUp":O?l.focusOption("up"):l.openMenu("last");break;case"ArrowDown":O?l.focusOption("down"):l.openMenu("first");break;case"PageUp":if(!O)return;l.focusOption("pageup");break;case"PageDown":if(!O)return;l.focusOption("pagedown");break;case"Home":if(!O)return;l.focusOption("first");break;case"End":if(!O)return;l.focusOption("last");break;default:return}g.preventDefault()}},l.state.instancePrefix="react-select-"+(l.props.instanceId||++F9),l.state.selectValue=$N(u.value),u.menuIsOpen&&l.state.selectValue.length){var d=l.getFocusableOptionsWithIds(),p=l.buildFocusableOptions(),y=p.indexOf(l.state.selectValue[0]);l.state.focusableOptionsWithIds=d,l.state.focusedOption=p[y],l.state.focusedOptionId=eE(d,p[y])}return l}return HB(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&&YN(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(l){var d=this.props,p=d.isDisabled,y=d.menuIsOpen,g=this.state.isFocused;(g&&!p&&l.isDisabled||g&&y&&!l.menuIsOpen)&&this.focusInput(),g&&p&&!l.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!g&&!p&&l.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(YN(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,p=this.state,y=p.selectValue,g=p.isFocused,b=this.buildFocusableOptions(),E=l==="first"?0:b.length-1;if(!this.props.isMulti){var R=b.indexOf(y[0]);R>-1&&(E=R)}this.scrollToFocusedOptionOnUpdate=!(g&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:b[E],focusedOptionId:this.getFocusedOptionId(b[E])},function(){return d.onMenuOpen()})}},{key:"focusValue",value:function(l){var d=this.state,p=d.selectValue,y=d.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var g=p.indexOf(y);y||(g=-1);var b=p.length-1,E=-1;if(p.length){switch(l){case"previous":g===0?E=0:g===-1?E=b:E=g-1;break;case"next":g>-1&&g<b&&(E=g+1);break}this.setState({inputIsHidden:E!==-1,focusedValue:p[E]})}}}},{key:"focusOption",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",d=this.props.pageSize,p=this.state.focusedOption,y=this.getFocusableOptions();if(y.length){var g=0,b=y.indexOf(p);p||(b=-1),l==="up"?g=b>0?b-1:y.length-1:l==="down"?g=(b+1)%y.length:l==="pageup"?(g=b-d,g<0&&(g=0)):l==="pagedown"?(g=b+d,g>y.length-1&&(g=y.length-1)):l==="last"&&(g=y.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:y[g],focusedValue:null,focusedOptionId:this.getFocusedOptionId(y[g])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Kx):ft(ft({},Kx),this.props.theme):Kx}},{key:"getCommonProps",value:function(){var l=this.clearValue,d=this.cx,p=this.getStyles,y=this.getClassNames,g=this.getValue,b=this.selectOption,E=this.setValue,R=this.props,T=R.isMulti,A=R.isRtl,N=R.options,j=this.hasValue();return{clearValue:l,cx:d,getStyles:p,getClassNames:y,getValue:g,hasValue:j,isMulti:T,isRtl:A,options:N,selectOption:b,selectProps:R,setValue:E,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,p=l.isMulti;return d===void 0?p:d}},{key:"isOptionDisabled",value:function(l,d){return RO(this.props,l,d)}},{key:"isOptionSelected",value:function(l,d){return TO(this.props,l,d)}},{key:"filterOption",value:function(l,d){return IO(this.props,l,d)}},{key:"formatOptionLabel",value:function(l,d){if(typeof this.props.formatOptionLabel=="function"){var p=this.props.inputValue,y=this.state.selectValue;return this.props.formatOptionLabel(l,{context:d,inputValue:p,selectValue:y})}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,p=l.isSearchable,y=l.inputId,g=l.inputValue,b=l.tabIndex,E=l.form,R=l.menuIsOpen,T=l.required,A=this.getComponents(),N=A.Input,j=this.state,O=j.inputIsHidden,P=j.ariaSelection,B=this.commonProps,F=y||this.getElementId("input"),U=ft(ft(ft({"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")}),!p&&{"aria-readonly":!0}),this.hasValue()?(P==null?void 0:P.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return p?M.createElement(N,xt({},B,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:F,innerRef:this.getInputRef,isDisabled:d,isHidden:O,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:b,form:E,type:"text",value:g},U)):M.createElement(u9,xt({id:F,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Gg,onFocus:this.onInputFocus,disabled:d,tabIndex:b,inputMode:"none",form:E,value:""},U))}},{key:"renderPlaceholderOrValue",value:function(){var l=this,d=this.getComponents(),p=d.MultiValue,y=d.MultiValueContainer,g=d.MultiValueLabel,b=d.MultiValueRemove,E=d.SingleValue,R=d.Placeholder,T=this.commonProps,A=this.props,N=A.controlShouldRenderValue,j=A.isDisabled,O=A.isMulti,P=A.inputValue,B=A.placeholder,F=this.state,U=F.selectValue,z=F.focusedValue,G=F.isFocused;if(!this.hasValue()||!N)return P?null:M.createElement(R,xt({},T,{key:"placeholder",isDisabled:j,isFocused:G,innerProps:{id:this.getElementId("placeholder")}}),B);if(O)return U.map(function(te,Re){var ue=te===z,pe="".concat(l.getOptionLabel(te),"-").concat(l.getOptionValue(te));return M.createElement(p,xt({},T,{components:{Container:y,Label:g,Remove:b},isFocused:ue,isDisabled:j,key:pe,index:Re,removeProps:{onClick:function(){return l.removeValue(te)},onTouchEnd:function(){return l.removeValue(te)},onMouseDown:function(me){me.preventDefault()}},data:te}),l.formatOptionLabel(te,"value"))});if(P)return null;var X=U[0];return M.createElement(E,xt({},T,{data:X,isDisabled:j}),this.formatOptionLabel(X,"value"))}},{key:"renderClearIndicator",value:function(){var l=this.getComponents(),d=l.ClearIndicator,p=this.commonProps,y=this.props,g=y.isDisabled,b=y.isLoading,E=this.state.isFocused;if(!this.isClearable()||!d||g||!this.hasValue()||b)return null;var R={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return M.createElement(d,xt({},p,{innerProps:R,isFocused:E}))}},{key:"renderLoadingIndicator",value:function(){var l=this.getComponents(),d=l.LoadingIndicator,p=this.commonProps,y=this.props,g=y.isDisabled,b=y.isLoading,E=this.state.isFocused;if(!d||!b)return null;var R={"aria-hidden":"true"};return M.createElement(d,xt({},p,{innerProps:R,isDisabled:g,isFocused:E}))}},{key:"renderIndicatorSeparator",value:function(){var l=this.getComponents(),d=l.DropdownIndicator,p=l.IndicatorSeparator;if(!d||!p)return null;var y=this.commonProps,g=this.props.isDisabled,b=this.state.isFocused;return M.createElement(p,xt({},y,{isDisabled:g,isFocused:b}))}},{key:"renderDropdownIndicator",value:function(){var l=this.getComponents(),d=l.DropdownIndicator;if(!d)return null;var p=this.commonProps,y=this.props.isDisabled,g=this.state.isFocused,b={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return M.createElement(d,xt({},p,{innerProps:b,isDisabled:y,isFocused:g}))}},{key:"renderMenu",value:function(){var l=this,d=this.getComponents(),p=d.Group,y=d.GroupHeading,g=d.Menu,b=d.MenuList,E=d.MenuPortal,R=d.LoadingMessage,T=d.NoOptionsMessage,A=d.Option,N=this.commonProps,j=this.state.focusedOption,O=this.props,P=O.captureMenuScroll,B=O.inputValue,F=O.isLoading,U=O.loadingMessage,z=O.minMenuHeight,G=O.maxMenuHeight,X=O.menuIsOpen,te=O.menuPlacement,Re=O.menuPosition,ue=O.menuPortalTarget,pe=O.menuShouldBlockScroll,ye=O.menuShouldScrollIntoView,me=O.noOptionsMessage,Ae=O.onMenuScrollToTop,_e=O.onMenuScrollToBottom;if(!X)return null;var Oe=function(xe,Ee){var De=xe.type,ie=xe.data,he=xe.isDisabled,Te=xe.isSelected,Ve=xe.label,Ke=xe.value,It=j===ie,Ne=he?void 0:function(){return l.onOptionHover(ie)},dt=he?void 0:function(){return l.selectOption(ie)},Bt="".concat(l.getElementId("option"),"-").concat(Ee),lt={id:Bt,onClick:dt,onMouseMove:Ne,onMouseOver:Ne,tabIndex:-1,role:"option","aria-selected":l.isAppleDevice?void 0:Te};return M.createElement(A,xt({},N,{innerProps:lt,data:ie,isDisabled:he,isSelected:Te,key:Bt,label:Ve,type:De,value:Ke,isFocused:It,innerRef:It?l.getFocusedOptionRef:void 0}),l.formatOptionLabel(xe.data,"menu"))},Ie;if(this.hasOptions())Ie=this.getCategorizedOptions().map(function(se){if(se.type==="group"){var xe=se.data,Ee=se.options,De=se.index,ie="".concat(l.getElementId("group"),"-").concat(De),he="".concat(ie,"-heading");return M.createElement(p,xt({},N,{key:ie,data:xe,options:Ee,Heading:y,headingProps:{id:he,data:se.data},label:l.formatGroupLabel(se.data)}),se.options.map(function(Te){return Oe(Te,"".concat(De,"-").concat(Te.index))}))}else if(se.type==="option")return Oe(se,"".concat(se.index))});else if(F){var ve=U({inputValue:B});if(ve===null)return null;Ie=M.createElement(R,N,ve)}else{var Pe=me({inputValue:B});if(Pe===null)return null;Ie=M.createElement(T,N,Pe)}var L={minMenuHeight:z,maxMenuHeight:G,menuPlacement:te,menuPosition:Re,menuShouldScrollIntoView:ye},q=M.createElement(Fz,xt({},N,L),function(se){var xe=se.ref,Ee=se.placerProps,De=Ee.placement,ie=Ee.maxHeight;return M.createElement(g,xt({},N,L,{innerRef:xe,innerProps:{onMouseDown:l.onMenuMouseDown,onMouseMove:l.onMenuMouseMove},isLoading:F,placement:De}),M.createElement(h9,{captureEnabled:P,onTopArrive:Ae,onBottomArrive:_e,lockEnabled:pe},function(he){return M.createElement(b,xt({},N,{innerRef:function(Ve){l.getMenuListRef(Ve),he(Ve)},innerProps:{role:"listbox","aria-multiselectable":N.isMulti,id:l.getElementId("listbox")},isLoading:F,maxHeight:ie,focusedOption:j}),Ie)}))});return ue||Re==="fixed"?M.createElement(E,xt({},N,{appendTo:ue,controlElement:this.controlRef,menuPlacement:te,menuPosition:Re}),q):q}},{key:"renderFormField",value:function(){var l=this,d=this.props,p=d.delimiter,y=d.isDisabled,g=d.isMulti,b=d.name,E=d.required,R=this.state.selectValue;if(E&&!this.hasValue()&&!y)return M.createElement(b9,{name:b,onFocus:this.onValueInputFocus});if(!(!b||y))if(g)if(p){var T=R.map(function(j){return l.getOptionValue(j)}).join(p);return M.createElement("input",{name:b,type:"hidden",value:T})}else{var A=R.length>0?R.map(function(j,O){return M.createElement("input",{key:"i-".concat(O),name:b,type:"hidden",value:l.getOptionValue(j)})}):M.createElement("input",{name:b,type:"hidden",value:""});return M.createElement("div",null,A)}else{var N=R[0]?this.getOptionValue(R[0]):"";return M.createElement("input",{name:b,type:"hidden",value:N})}}},{key:"renderLiveRegion",value:function(){var l=this.commonProps,d=this.state,p=d.ariaSelection,y=d.focusedOption,g=d.focusedValue,b=d.isFocused,E=d.selectValue,R=this.getFocusableOptions();return M.createElement(n9,xt({},l,{id:this.getElementId("live-region"),ariaSelection:p,focusedOption:y,focusedValue:g,isFocused:b,selectValue:E,focusableOptions:R,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var l=this.getComponents(),d=l.Control,p=l.IndicatorsContainer,y=l.SelectContainer,g=l.ValueContainer,b=this.props,E=b.className,R=b.id,T=b.isDisabled,A=b.menuIsOpen,N=this.state.isFocused,j=this.commonProps=this.getCommonProps();return M.createElement(y,xt({},j,{className:E,innerProps:{id:R,onKeyDown:this.onKeyDown},isDisabled:T,isFocused:N}),this.renderLiveRegion(),M.createElement(d,xt({},j,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:T,isFocused:N,menuIsOpen:A}),M.createElement(g,xt({},j,{isDisabled:T}),this.renderPlaceholderOrValue(),this.renderInput()),M.createElement(p,xt({},j,{isDisabled:T}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(l,d){var p=d.prevProps,y=d.clearFocusValueOnUpdate,g=d.inputIsHiddenAfterUpdate,b=d.ariaSelection,E=d.isFocused,R=d.prevWasFocused,T=d.instancePrefix,A=l.options,N=l.value,j=l.menuIsOpen,O=l.inputValue,P=l.isMulti,B=$N(N),F={};if(p&&(N!==p.value||A!==p.options||j!==p.menuIsOpen||O!==p.inputValue)){var U=j?M9(l,B):[],z=j?EO(Jg(l,B),"".concat(T,"-option")):[],G=y?P9(d,B):null,X=L9(d,U),te=eE(z,X);F={selectValue:B,focusedOption:X,focusedOptionId:te,focusableOptionsWithIds:z,focusedValue:G,clearFocusValueOnUpdate:!1}}var Re=g!=null&&l!==p?{inputIsHidden:g,inputIsHiddenAfterUpdate:void 0}:{},ue=b,pe=E&&R;return E&&!pe&&(ue={value:Zg(P,B,B[0]||null),options:B,action:"initial-input-focus"},pe=!R),(b==null?void 0:b.action)==="initial-input-focus"&&(ue=null),ft(ft(ft({},F),Re),{},{prevProps:l,ariaSelection:ue,prevWasFocused:pe})}}]),i}(M.Component);tE.defaultProps=k9;var V9=M.forwardRef(function(n,r){var i=iN(n);return M.createElement(tE,xt({ref:r},i))}),nE=V9;function nd({bg:n="dark",children:r,color:i="light",fontWeight:u="bold",icon:l="info-circle-fill",initial:d=!1,maxWidth:p="200px",padding:y="10px",placement:g,target:b,trigger:E="click",visible:R=!0}){const T=typeof d=="string"||d instanceof String,[A,N]=M.useState(T?localStorage.getItem(d)!="true":d),[j,O]=M.useState(!1);M.useEffect(()=>{setTimeout(()=>O(!0),100)},[]);const P=()=>{T&&localStorage.setItem(d,"true")},B=C.jsxs(xx,{style:{"--bs-tooltip-bg":`var(--bs-${n})`,"--bs-tooltip-color":`var(--bs-${i})`,"--bs-tooltip-max-width":p,"--bs-tooltip-padding-x":y,"--bs-tooltip-padding-y":y,fontWeight:u},children:[C.jsx("button",{"aria-label":"Close",onClick:()=>{P(),N(!1)},style:{background:"transparent",border:"0 none transparent",float:"right"},children:C.jsx("i",{className:"bi bi-x-lg"})}),r]});return b&&b.current?C.jsx(KA,{target:b.current,placement:g,show:A&&R&&j,children:B}):C.jsx(tN,{placement:g,onToggle:F=>{P(),N(F)},overlay:B,show:A&&R&&j,trigger:E,children:C.jsx("button",{className:"btn bnt-clear border-0",style:{backgroundColor:"transparent"},children:C.jsx("i",{className:`bi bi-${l}`})})})}const du={items:"_items_c2dbg_1",item:"_item_c2dbg_1",details:"_details_c2dbg_14",text:"_text_c2dbg_20",number:"_number_c2dbg_35",outer:"_outer_c2dbg_50",inner:"_inner_c2dbg_61"},yv=(n,r)=>`${Math.cos(2*Math.PI*n)*r} ${Math.sin(2*Math.PI*n)*r}`;function B9({requestId:n,grantNumber:r,creditColorClass:i="gray-300",colorClasses:u=wC}){const{request:l}=za(n,r);if(!l)return;let d=0,p;const y=[];for(let T of l.resources)T.isBoolean||(T.isCredit?p=T:y.push(T),d+=T.requested*T.unitCost);const g=[],b=[];let E=-.25;const R=[...y,p].map((T,A)=>{if(!T)return null;const N=A+1,O=T.requested*T.unitCost/d,P=T.requested-T.used,B=Math.max(0,P),F=T.isCredit?d/T.unitCost:T.requested,U=F==0?0:100*B/F,G=`var(--bs-${T.isCredit?i:u[A%u.length]})`;if(O>0){const X=E,te=E+O/2,Re=E+=O,ue=O>.5?1:0,pe=[`M ${yv(X,100)}`,`A 100 100 0 ${ue} 1 ${yv(Re,100)}`,`L ${yv(Re,50)}`,`A 50 50 0 ${ue} 0 ${yv(X,50)}`].join(" "),[ye,me]=yv(te,75).split(" ").map(Ae=>parseFloat(Ae));g.push(C.jsx("path",{d:pe,style:{fill:G}},T.resourceId)),b.push(C.jsx("circle",{cx:ye,cy:me,r:"8",fill:"black"},`${T.resourceId}-circle`),C.jsx("text",{x:ye-4,y:me+4,fill:"white",className:du.number,children:N},`${T.resourceId}-text`))}return T.isCredit&&b.push(C.jsx("foreignObject",{x:"-50",y:"-50",width:"100",height:"100",children:C.jsx("div",{className:du.text,children:C.jsxs("div",{children:[C.jsx("strong",{children:Ba(B,{abbreviate:!0})}),T.unit," available"]})})},"center-text")),C.jsxs("li",{className:du.item,children:[C.jsx("span",{className:du.number,children:N}),C.jsx("span",{className:`${du.outer} ms-2 me-2`,style:{borderColor:G},children:C.jsx("span",{className:du.inner,style:{backgroundColor:G,width:`${U}%`}})}),C.jsxs("strong",{className:du.name,children:[Sc(T,{userGuide:!1}),": "]}),C.jsxs("span",{className:du.details,children:[Ba(P,{abbreviate:!0})," ",T.isCredit?null:C.jsxs(C.Fragment,{children:["of ",Ba(F,{abbreviate:!0})," "]}),T.unit," ",T.isCredit?"available":"remaining"," (",Math.round(U),"%)"]})]},T.resourceId)});return C.jsxs("div",{className:"row",children:[C.jsx("div",{className:"col-lg-3 mb-3 d-flex flex-row align-items-center justify-content-center",children:C.jsxs("svg",{version:"1.1",viewBox:"-100 -100 200 200",width:"200",height:"200",xmlns:"http://www.w3.org/2000/svg",children:[g,b]})}),C.jsx("div",{className:"col-lg-9 mb-3 d-flex flex-column justify-content-center",children:C.jsx("ul",{className:du.items,children:R})})]})}const NO=n=>n;function z9({classes:n,clean:r=NO,format:i=NO,label:u,setValue:l,style:d,value:p}){const y=i(p),[g,b]=M.useState(y);return M.useEffect(()=>{b(y)},[y]),C.jsx("input",{type:"text","aria-label":u,className:`form-control ${n}`,value:g,style:d,onChange:E=>b(E.target.value),onBlur:E=>{const R=r(E.target.value);b(i(R)),l(R)},onKeyDown:E=>{E.code=="Enter"&&(E.preventDefault(),E.target.blur())}})}function H9({requestId:n,grantNumber:r}){const{request:i,addResource:u,openUsageDetailModal:l,resetResources:d,setResourceRequest:p,setResourcesReason:y,statuses:g,toggleActionsModal:b,toggleConfirmModal:E,toggleResourcesModal:R}=za(n,r),{project:T}=ji(r||i&&i.grantNumber),A=M.useRef(null),N=M.useRef(null);if(!i||!T)return;const j="Exchange"in i.allowedActions,O="Renewal"in i.allowedActions,P="Supplement"in i.allowedActions,B=i.exchangeStatus==g.pending,F=i.exchangeStatus==g.success,U=i.exchangeStatus==g.error,z=i.exchangeActionId!==null,G=i.resources,X=i.resourcesReason,te={};for(let ie of G)te[ie.resourceId]=ie;const Re=()=>{cT(i)>=.75?b():E()},ue=[];for(let ie of G){let he=[];if(ie.requested>0){for(let Te of ie.requires||[]){let Ve=te[Te];if(Ve){if(Ve.requested>0){he=[];break}he.push(Ve)}}he.length&&ue.push(C.jsxs("span",{children:[Sc(ie,{userGuide:!1})," requires"," ",uT(he.map(Te=>Sc(Te,{userGuide:!1})),"or"),"."]},ie.resourceId))}}const pe=ue.length>0;let ye;F?ye=C.jsx(aa,{color:"info",children:"Your exchange request has been submitted."}):z?ye=C.jsx(aa,{color:"warning",children:"You have an exchange request under review. The information below reflects the pending exchange request."}):U?ye=C.jsx(aa,{color:"danger",children:"Sorry, your exchange request could not be submitted. Please try again later."}):i.timeStatus=="current"&&!T.isManager?ye=C.jsxs(aa,{color:"warning",children:["You do not have permission to manage resources for this project. Please contact ",EC(T)," to request a change."]}):pe&&(ye=C.jsxs(aa,{color:"warning",children:[ue," Please adjust your balance values."]}));const me=X.length>0;let Ae=!1,_e=!1;for(let ie of G)if(ie.isNew&&(Ae=!0),ie.allocated!=ie.requested&&(_e=!0),Ae&&_e)break;const Oe=G.map(ie=>ie.resourceId),Ie=j&&!F&&!z?i.allowedActions.Exchange.resources.filter(ie=>!Oe.includes(ie.resourceId)).map(ie=>{const he=Qm(ie.name),Te=he.short?`${he.short} (${he.full.replace(/ \([^(]+\)/,"")})`:he.full;return{value:ie.resourceId,label:Te}}):[],ve=j?i.allowedActions.Exchange.resources.map(ie=>ie.resourceId):[];let Pe;const L=[],q=[];for(let ie of G)ie.isCredit?Pe=ie:(L.push(ie),q.push(!F&&!z&&(ie.isNew||ie.allocated!=ie.requested)?Zf.edited:ve.includes(ie.resourceId)?"":Zf.disabled));const se=`Add ${L.length?"another":"a"} resource to your exchange...`,xe=ie=>ie.requested-ie.used,Ee=(ie,he)=>{let Te=Pf(Number(ie.replace(/[^0-9-.]/g,""))+he.used,he.decimalPlaces);isNaN(Te)&&(Te=he.allocated);const Ve=Math.min(he.allocated,he.used);return Te<Ve?Ve:he.unitCost*(Te-he.requested)>Pe.requested?Pf(Pe.requested/he.unitCost,he.decimalPlaces,"floor")+he.requested:Te},De=[{key:"name",name:"Resource",format:(ie,he)=>Sc(he),width:Math.min(350,window.innerWidth*.3)},{key:"isActive",name:"Status",format:(ie,he)=>C.jsx(Jf,{status:ie?"Active":he.isNew?"New":"Inactive"}),width:100},{key:"unit",name:"Unit",width:150,format:(ie,he)=>he.isBoolean?C.jsx(C.Fragment,{children:"—"}):C.jsx("abbr",{title:`1 ${lT(ie,1)} = ${Ba(he.unitCost)} ${lT(Pe.name,he.unitCost)}`,children:ie})},{key:"used",name:"Usage",class:"text-end",format:(ie,he)=>he.isBoolean?C.jsx(C.Fragment,{children:"—"}):C.jsxs(C.Fragment,{children:[Ba(ie),(T.currentUser.resourceIds.includes(he.resourceId)||T.currentUser.resourceAccountInactiveIds.includes(he.resourceId))&&C.jsx(qm,{icon:"table",onClick:()=>l(he.resourceRepositoryKey),target:"_blank",title:`${he.name} Usage Details`})]})}];return j&&De.push({key:"requested",name:"Balance",class:"text-end",rowClass:ie=>!F&&!z&&ve.includes(ie.resourceId)?Zf.input:"",format:(ie,he)=>{const Te=!F&&!z&&ve.includes(he.resourceId);return he.isBoolean?C.jsx("input",{className:"form-check-input",type:"checkbox",checked:ie==1,disabled:!Te,onChange:Ve=>p(he.resourceId,Ve.target.checked?1:0)}):Te?C.jsx(z9,{classes:"text-end w-100",clean:Ve=>Ee(Ve,he)-he.used,format:Ba,label:`Balance for ${he.name}`,setValue:Ve=>{p(he.resourceId,Ve+he.used)},style:{padding:"0.1rem 0.5rem"},value:xe(he)}):Ba(xe(he))},formatHeader:ie=>C.jsxs(C.Fragment,{children:[ie,!F&&!z?C.jsx(nd,{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]})}),C.jsxs("div",{className:"resources",children:[ye,G.length?C.jsx(B9,{requestId:n}):null,Pe&&(j||O||P)?C.jsxs("h2",{className:"mb-1 mt-2 d-flex justify-content-between",children:[C.jsxs("span",{children:[ol(Tn.resourceTypeIcons.credit)," ",Ba(Pe.requested,Pe)," ",Pe.unit," available to exchange"]}),O||P?C.jsxs("button",{type:"button",className:"btn btn-sm btn-primary ms-2",onClick:Re,children:[ol(Tn.resourceTypeIcons.credit)," Request More"," ",i.usesCredits?"Credits":"Units"]}):null]}):null,L.length?C.jsx(Ic,{columns:De,rows:L,rowClasses:q,classes:Ie.length?"mb-0":"",frozenColumns:2,minWidth:"800px"}):C.jsx("div",{className:"card p-2 text-bg-light p-3",children:"This project does not have any resources."}),Ie.length?C.jsxs(C.Fragment,{children:[C.jsx("div",{className:"p-2",style:{backgroundColor:"var(--teal-200)",border:"1px solid #cccccc",marginTop:"-1px"},ref:A,children:C.jsx(nE,{classNames:{control:()=>"react-select mb-1"},options:Ie,onChange:ie=>u(ie.value),placeholder:se,value:null,"aria-label":se})}),L.length?null:C.jsx(nd,{bg:"secondary",color:"dark",visible:T.tab=="resources",initial:!0,target:A,children:"Ready to get started? Search for a resource to add it to your project."}),C.jsxs("p",{className:"text-black-50",style:{fontSize:"0.9rem"},children:["Need help choosing a resource? Visit our"," ",C.jsx("a",{href:Tn.routes.resources_path(),children:"Resource Catalog"}),"."]})]}):null,j&&!F&&!z?C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:"mb-3",children:[C.jsx("label",{htmlFor:"resources-reason",className:"form-label required",children:"Please briefly explain how the requested resources and amounts will contribute to your research."}),C.jsx("textarea",{className:"form-control",id:"resources-reason",rows:"2",value:X,onChange:ie=>y(ie.target.value),style:{minHeight:"3rem"}})]}),C.jsxs("div",{className:"d-flex",children:[C.jsx("button",{type:"button",className:"btn btn-danger me-2",disabled:B||!_e&&!me&&!Ae,onClick:d,children:"Reset Form"}),C.jsx("button",{ref:N,type:"button",className:"btn btn-secondary",disabled:B||!_e||!me||pe,onClick:R,children:B?"Submitting...":"Submit for Approval"})]}),_e&&!pe?C.jsx(nd,{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 U9({question:n,requestId:r,grantNumber:i}){const{request:u,setResourceQuestionValues:l}=za(r,i),d=M.useId();if(!n||!u||u.error)return;const{attributeSetId:p,attributes:y,fieldType:g,label:b,resourceId:E,values:R}=n,T=y[0],A=T.required?"required":"",N=F=>l(E,p,F.target.value?[F.target.value]:[]),j=F=>{l(E,p,Array.from(F.target.options).filter(({selected:U})=>U).map(({value:U})=>parseInt(U,10)))},O=F=>{const U=parseInt(F.target.value,10),z=F.target.checked?[...R,U]:R.filter(G=>G!=U);l(E,p,z)},P=F=>{const U=parseInt(F.target.value);l(E,p,isNaN(U)?[]:[U])};let B;if(["calendar","integer_only","text"].includes(g)){const F={calendar:"date",integer_only:"number",text:"text"}[g];B=C.jsx("input",{className:"form-control",id:d,type:F,placeholder:T.label,required:T.required,value:R[0]||"",onChange:g=="integer_only"?P:N})}else if(g=="textarea")B=C.jsx("textarea",{className:"form-control",id:d,placeholder:T.label,required:T.required,value:R[0]||"",onChange:N});else if(g=="drop_down"||y.length>=10){const F=g=="multi_sel";B=C.jsxs("select",{id:d,className:"form-select",required:T.required,multiple:F,onChange:F?j:P,value:F?R:R[0]||"",children:[F?null:C.jsx("option",{}),y.map(U=>C.jsx("option",{value:U.resourceAttributeId,children:U.label},U.resourceAttributeId))]})}else B=C.jsx("div",{id:d,children:y.map(F=>{const U=`resource-attribute-${F.resourceAttributeId}`;return C.jsxs("div",{className:"form-check",children:[C.jsx("input",{className:"form-check-input",type:g=="single_sel"?"radio":"checkbox",id:U,value:F.resourceAttributeId,checked:R.includes(F.resourceAttributeId),onChange:g=="single_sel"?P:O}),C.jsx("label",{className:"form-check-label",htmlFor:U,children:F.label})]},F.resourceAttributeId)})});return C.jsxs("div",{className:"mb-3",children:[C.jsx("label",{htmlFor:d,className:`form-label ${A}`,children:b}),B]})}function G9({requestId:n,grantNumber:r}){const{request:i,saveResources:u,toggleResourcesModal:l}=za(n,r),{project:d}=ji(r||i.grantNumber);if(!i||!d||i.error||d.error)return;const p=[],y=i.resources.filter(b=>b.allocated!=b.requested).map(b=>{const E=b.requested-b.allocated;return b.questions&&p.push(...b.questions),C.jsxs("li",{className:"list-group-item d-flex justify-content-between align-items-center mb-0",children:[b.name,C.jsx("span",{className:`badge bg-${E>0?"primary":"danger"} rounded-pill`,children:b.isBoolean?xC(b.requested):C.jsxs(C.Fragment,{children:[E>0?"+":"",Ba(E,b)," ",b.unit]})})]},b.resourceId)}),g=p.some(({attributes:b,values:E})=>E.length==0&&b[0].required);return C.jsxs(_n,{size:"lg",show:i.showResourcesModal,onHide:l,scrollable:!0,children:[C.jsx(_n.Header,{closeButton:!0,children:C.jsx(_n.Title,{children:"Complete Your Exchange"})}),C.jsxs(_n.Body,{children:[C.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."}),C.jsx("ul",{className:"list-group mb-3",children:y}),p.length?C.jsxs(C.Fragment,{children:[C.jsx("h2",{children:"Resource Questions"}),C.jsx("p",{children:"Some of the resources you selected have associated questions. Please answer the questions below."}),p.map(b=>C.jsx(U9,{question:b,requestId:n,grantNumber:r},b.attributeSetId))]}):null]}),C.jsx(_n.Footer,{children:C.jsxs("div",{className:"d-flex",children:[C.jsx("button",{type:"button",className:"btn btn-primary me-2",onClick:l,children:"Continue Editing"}),C.jsx("button",{type:"button",className:"btn btn-secondary",onClick:u,disabled:g,children:"Submit"})]})})]})}function bv(){return C.jsx("div",{className:"spinner-border",role:"status",children:C.jsx("span",{className:"visually-hidden",children:"Loading..."})})}function OO({user:n}){const r=`${n.lastName}, ${n.firstName}`;let i=r,u=[n.organization,n.email].filter(l=>l).join(", ");return u&&(i+=`: ${u}`),C.jsx("abbr",{title:i,children:r})}function $9({requestId:n,grantNumber:r}){const{project:i}=ji(r),{request:u,closeUsageDetailModal:l}=za(n,r);if(!u||u.error||!i||i.error||!u.usageDetailStatus)return;let d,p="Usage";if(u.usageDetailStatus==$r.pending)d=C.jsx(bv,{});else if(u.usageDetailStatus==$r.error)d=C.jsx(aa,{color:"danger",children:"An error occurred while loading usage data."});else{const{projectTitle:y,resourceDisplayName:g,resourceRepositoryKey:b,users:E}=u.usageDetail,{full:R,short:T}=Qm(g),A=u.resources.find(P=>P.resourceRepositoryKey==b),N=P=>Ba(P,{decimalPlaces:A?A.decimalPlaces:void 0}),j={};for(let P of i.users)j[P.username]=P;p=C.jsxs(C.Fragment,{children:["Usage: ",T||R," for ",y]});const O=[{key:"name",name:"Name",format:(P,{lastName:B,firstName:F,portalUsername:U})=>{const z=j[U];return z?C.jsx(OO,{user:z}):`${B}, ${F}`}},{key:"portalUsername",name:"Resource Username",format:P=>{const B=j[P],F=B?B.resourceUsernames[A.resourceId]:null;return F||C.jsx(C.Fragment,{children:"—"})}},{key:"role",name:"Role",format:P=>fT[P].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=E.length?C.jsx(Ic,{rows:E,columns:O}):C.jsx(aa,{color:"info",children:"There is no usage for this resource."})}return C.jsxs(_n,{show:!0,size:"lg",onHide:l,scrollable:!0,children:[C.jsx(_n.Header,{closeButton:!0,children:C.jsx(_n.Title,{children:p})}),C.jsx(_n.Body,{children:d})]})}var W9=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function X9(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 p=n.isLoading,y=p===void 0?!1:p,g=n.onInputChange,b=n.filterOption,E=b===void 0?null:b,R=os(n,W9),T=R.inputValue,A=M.useRef(void 0),N=M.useRef(!1),j=M.useState(Array.isArray(i)?i:void 0),O=Xr(j,2),P=O[0],B=O[1],F=M.useState(typeof T<"u"?T:""),U=Xr(F,2),z=U[0],G=U[1],X=M.useState(i===!0),te=Xr(X,2),Re=te[0],ue=te[1],pe=M.useState(void 0),ye=Xr(pe,2),me=ye[0],Ae=ye[1],_e=M.useState([]),Oe=Xr(_e,2),Ie=Oe[0],ve=Oe[1],Pe=M.useState(!1),L=Xr(Pe,2),q=L[0],se=L[1],xe=M.useState({}),Ee=Xr(xe,2),De=Ee[0],ie=Ee[1],he=M.useState(void 0),Te=Xr(he,2),Ve=Te[0],Ke=Te[1],It=M.useState(void 0),Ne=Xr(It,2),dt=Ne[0],Bt=Ne[1];l!==dt&&(ie({}),Bt(l)),i!==Ve&&(B(Array.isArray(i)?i:void 0),Ke(i)),M.useEffect(function(){return N.current=!0,function(){N.current=!1}},[]);var lt=M.useCallback(function(Hn,Mn){if(!d)return Mn();var Mt=d(Hn,Mn);Mt&&typeof Mt.then=="function"&&Mt.then(Mn,function(){return Mn()})},[d]);M.useEffect(function(){i===!0&<(z,function(Hn){N.current&&(B(Hn||[]),ue(!!A.current))})},[]);var yn=M.useCallback(function(Hn,Mn){var Mt=Ez(Hn,Mn,g);if(!Mt){A.current=void 0,G(""),Ae(""),ve([]),ue(!1),se(!1);return}if(l&&De[Mt])G(Mt),Ae(Mt),ve(De[Mt]),ue(!1),se(!1);else{var Pn=A.current={};G(Mt),ue(!0),se(!me),lt(Mt,function($n){N&&Pn===A.current&&(A.current=void 0,ue(!1),Ae(Mt),ve($n||[]),se(!1),ie($n?ft(ft({},De),{},qf({},Mt,$n)):De))})}},[l,lt,me,De,g]),nn=q?[]:z&&me?Ie:P||[];return ft(ft({},R),{},{options:nn,isLoading:Re||y,onInputChange:yn,filterOption:E})}var Y9=M.forwardRef(function(n,r){var i=X9(n),u=iN(i);return M.createElement(tE,xt({ref:r},u))}),Z9=Y9;const _O=({description:n,disabled:r=!1,onChange:i,selectedLength:u,totalLength:l})=>{const d=M.useRef(),p=M.useId();let y=u==l,g=u>0&&!y;return M.useEffect(()=>{d.current&&(d.current.checked=y,d.current.indeterminate=g)},[y,g]),C.jsxs(C.Fragment,{children:[C.jsx("input",{className:"custom-checkbox form-check-input",disabled:r,id:p,onChange:b=>i(b.target.checked),ref:d,type:"checkbox"}),C.jsx("label",{className:"form-check-label",htmlFor:p,"aria-description":`${y?"Deselect":"Select"} ${n}`})]})};function J9({grantNumber:n,requestId:r}){const{project:i,addUser:u,resetUsers:l,saveUsers:d,setTab:p,setUserRole:y,statuses:g,toggleUsersResources:b}=ji(n),{request:E}=i?za(r||i.currentRequestId,n):{request:null};if(!i||!i.currentRequestId||!E||i.error||E.error)return;const R=i.isManager,T="Exchange"in E.allowedActions,A=i.usersStatus==g.pending,N=i.usersStatus==g.success,j=i.usersStatus==g.error,O=i.users,P=E.resources.filter(TC),B=P.length==0,F=O.find(ue=>ue.hasChanges)!==void 0,U=O.find(ue=>ue.role!="pi")!==void 0;let z;N&&!F?z=C.jsx(aa,{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."}):j?z=C.jsx(aa,{color:"danger",children:"Sorry, your changes could not be saved. Please try again later."}):R?P.length?B&&(z=C.jsx(aa,{color:"warning",children:"This project does not have any active resources."})):z=C.jsxs(aa,{color:"warning",children:["This project does not have any resources."," ",T?C.jsx("a",{href:Tn.routes.request_action_path(E.requestId,"new?action_type=Exchange"),onClick:ue=>{ue.preventDefault(),p("resources")},children:"Exchange credits for resources."}):null," ","Additional users can be added after an exchange is approved."]}):z=C.jsxs(aa,{color:"warning",children:["You do not have permission to manage users for this project. Please contact ",EC(i)," to request a change."]});const G=(ue,pe)=>{let ye,me,Ae,_e;if(pe.key=="all"){ye="all resources for all users",me=Oe=>b(Oe),Ae=0;for(let Oe of O)Ae+=Oe.resourceIds.length;_e=O.length*P.length}else ye=`all users for ${pe.name}`,me=Oe=>b(Oe,null,pe.key),Ae=O.filter(({resourceIds:Oe})=>Oe.includes(pe.key)).length,_e=O.length;return C.jsxs(C.Fragment,{children:[pe.key=="all"?ue:Sc(pe,{userGuide:!1}),C.jsx("br",{}),C.jsx(_O,{description:ye,disabled:pe.disabled,onChange:me,selectedLength:Ae,totalLength:_e})]})},X=eg.map(({role:ue,name:pe})=>C.jsx("option",{value:ue,children:pe},ue)),te=[{key:"name",name:"Name",width:200,format:(ue,pe)=>C.jsx(OO,{user:pe})},{key:"username",name:"ACCESS Username",width:100},{key:"role",name:"Role",width:100,format:(ue,pe)=>C.jsx("select",{className:"form-select",value:ue,onChange:ye=>y(pe.username,ye.target.value),disabled:!R||ue=="pi"||ue=="co_pi",style:{position:"absolute",left:0,top:0,bottom:0,right:0,borderWidth:0},children:X.filter(ye=>ye.key==ue||!["pi","co_pi"].includes(ye.key))})}];P.length&&te.push({key:"all",name:"All Resources",class:`text-center ${Zf.important}`,disabled:!R||B,width:100,format:(ue,pe)=>C.jsx(_O,{description:`all users for ${pe.name}`,disabled:!R||B,onChange:ye=>b(ye,pe.username),selectedLength:pe.resourceIds.length,totalLength:P.length}),formatHeader:G});for(let ue of P)te.push({key:ue.resourceId,name:ue.name,class:"text-center",disabled:!R||!ue.isActive,icon:ue.icon,format:(pe,ye)=>C.jsx(C.Fragment,{children:C.jsx("input",{className:"form-check-input",disabled:!R||!ue.isActive,onChange:me=>b(me.target.checked,ye.username,ue.resourceId),type:"checkbox",checked:ye.resourceIds.includes(ue.resourceId)})}),formatHeader:G});const Re=O.map(ue=>ue.hasChanges?Zf.edited:"");return C.jsxs(C.Fragment,{children:[z,C.jsx(Ic,{rows:O,columns:te,frozenColumns:P.length?4:3,classes:"mb-0",minWidth:"800px",rowClasses:Re,scrollRowIndex:i.usersNewRowIndex}),R&&P.length&&!B?C.jsx("div",{style:{marginTop:"-1px",position:"relative",zIndex:100},children:C.jsx(Z9,{classNames:{control:()=>"react-select"},loadOptions:async ue=>(await bP(ue)).map(ye=>({value:ye,label:`${ye.username} (${ye.firstName} ${ye.lastName}, ${ye.organization}${ye.email?`, ${ye.email}`:""})`})),onChange:ue=>u(ue.value),placeholder:"Add another user...",value:null,"aria-label":"Add another user"})}):null,R&&(P.length&&!B||U)?C.jsxs("div",{className:"d-flex mt-3",children:[C.jsx("button",{type:"button",className:"btn btn-danger me-2",disabled:A||!F,onClick:l,children:"Reset Form"}),C.jsx("button",{type:"button",className:"btn btn-secondary",disabled:A||!F,onClick:d,children:A?"Saving...":"Save Changes"})]}):null]})}function q9({requestId:n,grantNumber:r}){const{request:i}=za(n,r),{project:u,setRequest:l,setTab:d}=ji(r||i.grantNumber);if(!i)return;if(i.error)return C.jsx(aa,{color:"danger",children:i.error});const p=i.timeStatus||i.actions[0].status.toLowerCase(),y=i.actions.find(({showDeleteModal:b})=>b),g=[];return i.resources.length||g.push("resources"),n!=u.currentRequestId&&g.push("users"),C.jsxs("div",{className:"request",children:[i.timeStatus!="current"?C.jsxs(aa,{color:"warning",children:["You are viewing ","aeiou".includes(p[0])?"an":"a"," ",p," request."," ",g.length?`You cannot manage ${g.join(" or ")} for this request.`:""," ",u.currentRequestId?C.jsx("a",{href:Tn.routes.request_path(u.currentRequestId),onClick:b=>{b.preventDefault(),l(u.currentRequestId)},children:"Go to the current request."}):null]}):null,C.jsxs(sF,{activeKey:u.tab,onSelect:d,className:"mt-3 mb-3",children:[C.jsx(vg,{eventKey:"overview",title:"Overview",className:"mb-0",children:C.jsx(MB,{requestId:n,grantNumber:r})}),C.jsx(vg,{eventKey:"resources",title:i.usesCredits?"Credits + Resources":"Resources",disabled:g.includes("resources"),children:C.jsx(H9,{requestId:n})}),C.jsx(vg,{eventKey:"users",title:"Users + Roles",disabled:g.includes("users"),children:C.jsx(J9,{grantNumber:r})}),C.jsx(vg,{eventKey:"history",title:"History",children:C.jsx(pB,{requestId:n})})]}),C.jsx(sB,{grantNumber:r,requestId:n}),C.jsx(uB,{grantNumber:r,requestId:n}),C.jsx(lB,{grantNumber:r,requestId:n,actionId:y?y.actionId:null}),C.jsx(G9,{grantNumber:r,requestId:n}),C.jsx($9,{grantNumber:r,requestId:n})]})}function Q9({requestId:n,grantNumber:r}){const{request:i,toggleActionsModal:u,toggleDeleteModal:l}=za(n,r);if(!i)return;const{actions:d,allowedActions:p}=i,y=[];p&&(("Extension"in p||"Renewal"in p)&&y.push(["Extend End Date",b=>{b.preventDefault(),u()},"calendar-plus"]),"Final Report"in p&&y.push(["Submit Final Report",`${Tn.routes.request_action_path(n,"new")}?action_type=Final+Report`,"file-earmark-check"]));const g=d.find(b=>b.isRequest);if(g){const b=g.allowedOperations||[];b.includes("Edit")&&y.push(["Edit",Tn.routes.edit_request_path(i.requestId),"pencil"]),b.includes("Delete")&&y.push(["Delete",E=>{E.preventDefault(),l(g.actionId)},"trash","danger"])}return y.map(([b,E,R,T])=>{const A=C.jsxs(C.Fragment,{children:[" ",R&&C.jsx("i",{className:`bi bi-${R} me-1`}),b]});return typeof E=="function"?C.jsx("button",{className:`btn btn-${T||"primary"} ms-2 text-nowrap`,onClick:E,children:A},b):C.jsx("a",{className:`btn btn-${T||"primary"} ms-2 text-nowrap`,href:E,children:A},b)})}function K9({open:n=!1,grantNumber:r,title:i,status:u}){const[l,d]=M.useState(n),{project:p,setRequest:y}=ji(r,!l&&i&&u&&!0),g=`project-${r}`;let b=null;if(l&&p)if(p.error)b=C.jsx(aa,{color:"danger",children:p.error});else{let E;const R=p.requestsList.map(T=>(T.requestId==p.selectedRequestId&&(E=T),C.jsx("option",{value:T.requestId,children:CC(T)},T.requestId)));b=C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:"d-flex",children:[C.jsx("select",{className:"form-select","aria-label":"Select a request to display",onChange:T=>y(parseInt(T.target.value,10)),value:p.selectedRequestId,disabled:R.length<2,children:R}),C.jsx(Q9,{requestId:p.selectedRequestId,grantNumber:r})]}),E?C.jsx(q9,{...E,grantNumber:r}):null]})}return C.jsxs("div",{className:`${CT.project} card mb-3`,children:[C.jsxs("div",{className:`card-header d-flex justify-content-between ${l?"":"border-bottom-0"}`,children:[C.jsx("button",{"aria-expanded":l,"aria-controls":g,className:CT.expand,onClick:()=>d(!l),children:C.jsxs("h2",{className:"mb-1 mt-1 text-start",children:[C.jsx("i",{className:`bi bi-caret-${l?"down":"right"}-fill`})," ",/^[A-Z]/.test(r)?C.jsxs(C.Fragment,{children:[C.jsxs("span",{className:"grant-number",children:[r,":"]})," "]}):null,i||p.title]})}),C.jsx(Jf,{status:u||p.status})]}),C.jsx("div",{className:"card-body",id:g,hidden:!l||!p,children:b})]})}function eH({username:n,openFirst:r=1}){const{error:i,loading:u,projects:l}=UP(n);return u?C.jsx(bv,{}):i?C.jsxs(aa,{color:"danger",children:[i," ",C.jsx("a",{href:"#",onClick:d=>{d.preventDefault(),window.location.reload()},children:"Reload the page"})," ","to try again."]}):l.length?l.map((d,p)=>C.jsx(K9,{open:p<r,...d},d.grantNumber)):C.jsxs("div",{className:"pt-5 pb-5 text-bg-light border border-light-subtle",children:[C.jsx("p",{className:"fs-2 text-center mb-4",children:"You don't have any projects yet."}),C.jsxs("div",{className:"d-flex gap-2 justify-content-center",children:[C.jsxs("a",{className:"btn btn-primary w-25",href:Tn.routes.project_types_path(),children:[C.jsx("i",{className:"bi bi-boxes fs-1 d-block"})," Learn about Project Types"]}),C.jsxs("a",{className:"btn btn-secondary w-25",href:Tn.routes.get_your_first_project_path(),children:[C.jsx("i",{className:"bi bi-cpu fs-1 d-block"})," Learn How to Get Your"," ",C.jsx("br",{className:"d-none d-xxl-inline"})," First Project"]}),C.jsxs("a",{className:"btn btn-primary w-25",href:Tn.routes.how_to_path(),children:[C.jsx("i",{className:"bi bi-person-plus fs-1 d-block"})," Learn How to Join an Existing Project"]})]})]})}const DO={pages:1,projects:[],projectsLoaded:!1,showPagination:!1,filters:{org:"",allocationType:"",allFosToggled:!0},pageData:{current_page:1,last_page:1},typeLists:{orgs:[],fosTypes:[],allocationTypes:[]}},Nc=tu("projectBrowser/getProjects",async(n,{getState:r})=>{const i=r().projectBrowser,u=i.filters,l=i.typeLists,d=l.fosTypes.filter(b=>b.checked);let p=`/current-projects.json?page=${i.pageData.current_page}`;return d.length!=l.fosTypes.length&&(p+=`&fos=${d.map(b=>b.fos_type_id)}`),u.org!=""&&(p+=`&org=${u.org}`),u.allocationType!=""&&(p+=`&allocation_type=${u.allocationType}`),await(await fetch(p)).json()}),rE=rC({name:"projectBrowser",initialState:DO,reducers:{resetFilters:n=>{n.filters={org:"",allocationType:"",allFosToggled:!1},rE.caseReducers.toggleAllFos(n)},setShowPagination:(n,{payload:r})=>{n.showPagination=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.fos_type_id==r.fos_type_id&&(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(Nc.pending,r=>{r.projectsLoaded=!1}).addCase(Nc.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(Nc.rejected,(r,i)=>{console.log(i.error)})}}),{resetFilters:tH,setShowPagination:jO,toggleAllFos:nH,toggleFos:rH,updateFilter:kO,updatePageData:aE}=rE.actions,aH=n=>n.projectBrowser.filters,iH=n=>n.projectBrowser.projectsLoaded,oH=n=>n.projectBrowser.pageData,sH=n=>n.projectBrowser.projects,uH=n=>n.projectBrowser.showPagination,lH=n=>n.projectBrowser.typeLists,cH=rE.reducer,fH={"fos-select-list":"_fos-select-list_1bl6z_1"},dH=()=>{const n=ru(),r=xa(aH),i=xa(lH),u=i.orgs.map(N=>({label:N,value:N})),l=M.useRef(),[d,p]=M.useState(null),[y,g]=M.useState(!1),b=N=>{n(kO({name:N.target.name,value:N.target.value}))},E=()=>{window.scrollTo(0,0),g(!0),n(jO(!1)),n(aE({current_page:1})),n(Nc())},R=()=>{p(null),n(jO(!1)),n(aE({current_page:1})),n(tH()),y&&(window.scrollTo(0,0),n(Nc()),g(!1))},T=N=>{p(N),n(kO({name:"org",value:N.value}))},A=()=>r.org==""&&r.allocationType==""&&r.allFosToggled;return C.jsx("div",{className:"row sticky-top mb-2",children:C.jsxs("div",{className:"col",children:[C.jsx("h3",{className:"mb-2",children:"Filters"}),C.jsx("h5",{className:"mb-1",children:"Field of Science"}),C.jsxs("div",{className:`${fH["fos-select-list"]} border mb-3`,children:[C.jsxs("div",{className:"form-check",children:[C.jsx("input",{className:"form-check-input",type:"checkbox",value:"",id:"toggle_all",checked:r.allFosToggled,onChange:()=>{n(nH())}}),C.jsx("label",{className:"form-check-label",htmlFor:"toggle_all",children:"(Toggle All)"})]}),i.fosTypes.map(N=>C.jsxs("div",{className:"form-check",children:[C.jsx("input",{className:"form-check-input",type:"checkbox",value:N.fos_type_id,id:`fos_${N.fos_type_id}`,checked:N.checked,onChange:()=>n(rH(N))}),C.jsx("label",{className:"form-check-label",htmlFor:`fos_${N.fos_type_id}`,children:N.fos_name})]},`fos_${N.fos_type_id}`))]}),C.jsx("h5",{id:"org_select_label",className:"mb-1",children:"Organization"}),C.jsx("div",{className:"mb-3",children:C.jsx(nE,{options:u,openMenuOnClick:!0,name:"org",inputId:"orgs_filter",ref:l,closeMenuOnSelect:!0,onChange:T,value:d,"aria-labelledby":"org_select_label"},"org_select")}),C.jsx("h5",{id:"project_type_label",className:"mb-1",children:C.jsx("abbr",{title:'A specific level of allocation; also referred to as "Opportunity"',children:"Project Type"})}),C.jsx("div",{className:"mb-3",children:C.jsxs("select",{name:"allocationType",id:"project_type_select",value:r.allocationType,className:"form-control","aria-labelledby":"project_type_label",onChange:N=>b(N),children:[C.jsx("option",{value:"",children:"-- All --"}),i.allocationTypes.map((N,j)=>C.jsx("option",{value:N,children:N},`allocation_type_${j}`))]})}),C.jsxs("div",{className:"mt-2",children:[C.jsx("button",{className:"btn btn-primary me-2",onClick:E,children:"Submit"}),C.jsx("button",{className:"btn btn-secondary",disabled:A(),onClick:R,children:"Reset"})]})]})})},pH={abstract:"_abstract_cz9zk_1"},vH=({project:n})=>{const r=n.resources,i=u=>{if(u.units=="[Yes = 1, No = 0]")return u.allocation=="1.0"?"Yes":"No";{const l=parseInt(u.allocation).toString().replace(/\B(?=(\d{3})+(?!\d))/g,",");let d=u.units;return d=="ACCESS Credits"&&(d=C.jsx("span",{className:"tooltip-underline",title:"universal currency that can be exchanged for resource units",children:"ACCESS Credits"})),C.jsxs(C.Fragment,{children:[l," ",d]})}};return C.jsxs("div",{className:"card mb-4",children:[C.jsxs("div",{className:"card-header bg-primary text-white rounded-0",children:[C.jsx("span",{className:"fw-bold",children:n.title})," ",C.jsx("br",{}),C.jsxs("span",{className:"fst-italic",children:[n.pi," ",C.jsxs("small",{children:[" (",n.pi_institution,") "]})]})]}),C.jsxs("div",{className:"card-body",children:[C.jsxs("div",{className:"row fw-bold border-bottom",children:[C.jsx("div",{className:"col",children:C.jsx("h5",{className:"mb-1 pb-0",children:"Field of Science"})}),C.jsx("div",{className:"col",children:C.jsx("h5",{className:"mb-1 pb-0 tooltip-underline",title:'A specific level of allocation; also referred to as "Opportunity"',children:"Project Type"})}),C.jsx("div",{className:"col",children:C.jsx("h5",{className:"mb-1 pb-0",children:"Dates"})})]}),C.jsxs("div",{className:"row",children:[C.jsx("div",{className:"col",children:n.primary_fos}),C.jsx("div",{className:"col",children:n.allocation_type}),C.jsxs("div",{className:"col",children:[n.start_date," to ",n.end_date]})]}),C.jsxs("div",{className:"accordion accordion-flush mt-3 mb-1",children:[C.jsxs("div",{className:"accordion-item",children:[C.jsx("h2",{className:"accordion-header",children:C.jsx("button",{className:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":`#resources_${n.project_id}`,"aria-expanded":"false","aria-controls":`resources_${n.project_id}`,children:"Resources"})}),C.jsx("div",{id:`resources_${n.project_id}`,className:"accordion-collapse collapse",children:C.jsx("div",{className:"accordion-body",children:C.jsxs("table",{className:"table table-striped table-bordered mt-2 mb-0",children:[C.jsx("thead",{children:C.jsxs("tr",{children:[C.jsx("td",{children:C.jsx("h5",{className:"m-0 p-0",children:"Resource"})}),C.jsx("td",{children:C.jsx("h5",{className:"m-0 p-0 d-inline",children:"Allocation"})})]})}),C.jsx("tbody",{children:r.map((u,l)=>C.jsxs("tr",{children:[C.jsx("td",{children:u.resource_name}),C.jsx("td",{style:{whiteSpace:"nowrap"},children:i(u)})]},`resource_${n.project_id}_${l}`))})]})})})]}),C.jsxs("div",{className:"accordion-item",children:[C.jsx("h2",{className:"accordion-header",children:C.jsx("button",{className:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":`#abstract_${n.project_id}`,"aria-expanded":"false","aria-controls":`abstract_${n.project_id}`,children:"Abstract"})}),C.jsx("div",{id:`abstract_${n.project_id}`,className:"accordion-collapse collapse",children:C.jsx("div",{className:"accordion-body",children:C.jsx("div",{className:pH.abstract,children:n.abstract})})})]})]})]})]})},hH=()=>{const n=xa(sH);return C.jsx("div",{children:n.map((r,i)=>C.jsx(vH,{project:r},`project_${i}`))})},rd={link:"_link_viyef_1"},MO=()=>{const n=ru(),r=xa(oH),[i,u]=M.useState([]),[l,d]=M.useState("0"),p=Array.from({length:r.last_page},(A,N)=>N),y=10;M.useEffect(()=>{E()},[r]);const g=A=>{const N=parseInt(A);n(aE({current_page:A})),n(Nc(N))},b=A=>(event.preventDefault(),d("0"),g(A),!1),E=()=>{const A=[];if(r.last_page>y)if(r.current_page>4){A.push(1),A.push("spacer");for(var N=1;N>0;N--)r.current_page-N>1&&A.push(r.current_page-N);A.push(["current",r.current_page]);for(var N=1;N<2;N++)r.current_page+N<=r.last_page&&A.push(r.current_page+N);r.last_page-r.current_page>1&&(A.push("spacer"),A.push(r.last_page))}else[1,2,3,4,5].forEach(j=>{j==r.current_page?A.push(["current",j]):A.push(j)}),A.push("spacer"),A.push(r.last_page);else for(var N=1;N<=r.last_page;N++)N==r.current_page?A.push(["current",N]):A.push(N);u(A)},R=A=>{let N="";return typeof A=="object"?[A,N]=A:N=A,A=="spacer"?C.jsx("li",{className:"page-item disabled",children:C.jsx("span",{className:`page-link ${rd.link}`,children:". . ."})}):A=="current"?C.jsx("li",{className:"page-item active","aria-current":"page",children:C.jsx("span",{className:`page-link ${rd.link}`,children:N})}):C.jsx("li",{className:"page-item",children:C.jsx("button",{className:`page-link ${rd.link}`,onClick:()=>g(A),children:N})})},T=()=>C.jsx("li",{className:"page-item",children:C.jsxs("select",{className:`page-link ${rd.link}`,style:{height:"100%"},value:l,onChange:A=>b(A.target.value),children:[C.jsx("option",{value:"0",children:"Go To"}),p.map(A=>C.jsx("option",{value:A+1,children:A+1},`page_option_${A}`))]})});return C.jsx("div",{children:C.jsx("nav",{"aria-label":"Pages for the table",children:C.jsxs("ul",{className:"pagination",children:[C.jsx("li",{className:`page-item ${r.current_page==1?"disabled":""}`,children:C.jsx("button",{className:`page-link ${rd.link}`,onClick:()=>g(r.current_page-1),disabled:r.current_page==1,"aria-label":"Previous Page Button",children:C.jsx("i",{className:"bi bi-chevron-left"})})}),i.map((A,N)=>C.jsx(Sr.Fragment,{children:R(A)},`page_${N}`)),r.last_page>y?T():"",C.jsx("li",{className:`page-item ${r.current_page==r.last_page?"disabled":""}`,children:C.jsx("button",{className:`page-link ${rd.link}`,onClick:()=>g(r.current_page+1),disabled:r.current_page==r.last_page,"aria-label":"Next Page Button",children:C.jsx("i",{className:"bi bi-chevron-right"})})})]})})})},mH=()=>{const n=ru(),r=xa(iH),i=xa(uH);return M.useEffect(()=>{n(Nc())},[]),C.jsx("div",{className:"container-fluid",children:C.jsxs("div",{className:"row",children:[C.jsx("div",{className:"col-sm-3",children:C.jsx(dH,{})}),C.jsxs("div",{className:"col-sm-9",children:[C.jsx("div",{className:"row",children:C.jsx("div",{className:"col",children:i?C.jsx(MO,{}):""})}),C.jsx("div",{className:"row",children:C.jsx("div",{className:"col",children:r?C.jsx(hH,{}):C.jsx(bv,{})})}),C.jsx("div",{className:"row",children:C.jsx("div",{className:"col",children:i?C.jsx(MO,{}):""})})]})]})})},gH=n=>n.publications_store.publication,yH=n=>n.publications_store.publication.doi,bH=n=>n.publications_store.publication_types,PO=n=>n.publications_store.publication.authors,CH=n=>n.publications_store.tag_categories,xH=n=>n.publications_store.projects,EH=n=>n.publications_store.publication.tags,SH=n=>n.publications_store.errors,LO=n=>n.publications_store.data_loaded,FO=n=>n.publications_store.show_saved,iE=n=>n.publications_store.saving,wH=n=>n.publications_store.modal,VO=n=>n.publications_store.form_valid,BO=n=>!iE(n)&&LO(n)&&VO(n)&&zO(n)&&n.publications_store.projects.filter(r=>r.selected).length>0,zO=n=>{const r=PO(n);return r.length==0?!1:r.filter(i=>i.first_name==""||i.last_name=="").length==0},HO=n=>({type:"UPDATE_PUBLICATION",payload:n}),RH=n=>({type:"UPDATE_FIELD",payload:n}),oE=n=>({type:"CHANGE_PUB_TYPE",payload:n}),TH=n=>({type:"SET_PUBLICATION",payload:n}),IH=()=>({type:"ADD_AUTHOR"}),AH=n=>({type:"UPDATE_AUTHOR",payload:n}),NH=n=>({type:"TOGGLE_REQUEST",payload:n}),Cv=n=>({type:"UPDATE_ERRORS",payload:n}),UO=n=>({type:"HIDE_ERROR",payload:n}),OH=n=>({type:"UPDATE_SELECTED_TAGS",payload:n}),_H=n=>({type:"DELETE_AUTHOR",payload:n}),DH=n=>({type:"DATA_LOADED",payload:n}),GO=n=>({type:"UPDATE_SHOW_SAVED",payload:n}),jH=()=>({type:"RESET_STATE"}),sE=n=>({type:"UPDATE_SAVING",payload:n}),kH=n=>({type:"SET_FORM_VALID",payload:n}),$O=n=>({type:"SET_GRANT_NUMBER",payload:n}),MH=n=>({type:"ADD_PROJECT",payload:n}),fl={routes:{}},PH=(n,r,i)=>{let u=!0;const l=[];for(const p of r)n[p]||(u=!1,l.push(p));const d=n.authors||[];for(const p of d)for(const y of i)p[y]||(u=!1,l.includes(y)||l.push(y));return{formValid:u,missingFields:l}},LH=n=>n.length>0?C.jsxs("div",{role:"alert",children:[C.jsx("p",{children:"Please provide the following information before submitting:"}),C.jsx("ul",{children:n.map(r=>C.jsx("li",{children:FH(r)},r))})]}):null;function FH(n){return n.split("_").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" ")}const VH=()=>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 p=r().publications_store.publication_types.find(y=>y.citation_style_type==d.type);n(oE(p?p.publication_type:"Other")),n(TH(d))}else n(Cv(l))},d=>{n(Cv(l))})},BH=()=>async(n,r)=>{const i=r().publications_store.grant_number,u=fl.routes.publications_find_project_path();await fetch(`${u}?grant_number=${i}`).then(l=>l.json()).then(l=>{n(MH(l)),n($O(""))},()=>{n(Cv("Unable to find a project with this grant number."))})},WO=()=>async n=>{const r=/^\/requests/.test(window.location.pathname)?fl.routes.publication_path("new.json"):window.location.href+".json";await fetch(r).then(i=>i.json()).then(i=>{n(DH(i))})},XO=()=>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},p=i.errors,{formValid:y,missingFields:g}=PH(d,["title","publication_year","publication_month"],["first_name","last_name","affiliation"]);if(!y){p.length>0&&Array.from(p).forEach(A=>{n(UO(A.id))});const T=LH(g);n(Cv(T));return}const b={authenticity_token:document.getElementsByName("authenticity_token")[0].value,publication:d,authors:d.authors.map(T=>({...T,order:0})),tags:l,projects:u};let E,R;d.publication_id?(E=fl.routes.publication_path(d.publication_id),R="PATCH"):(E=fl.routes.publications_path(),R="POST"),n(sE(!0)),await fetch(E,{method:R,headers:{"Content-Type":"application/json"},body:JSON.stringify(b)}).then(T=>{i.redirect?window.location.href=fl.routes.publications_path():(d.publication_id||(n(jH()),n(WO())),n(GO(!0)),n(sE(!1)))},()=>{n(sE(!1)),n(Cv("There was an error saving this publication."))})},zH=({doi:n,updatePublication:r,doiLookup:i})=>C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsx("label",{htmlFor:"doi",className:"form-label",children:"DOI"}),C.jsxs("div",{className:"input-group",children:[C.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)}),C.jsx("button",{className:"btn btn-primary",type:"button",id:"doi_button",onClick:()=>i(),children:"Lookup Publication"})]})]})}),HH=Eo(n=>({doi:yH(n)}),n=>({updatePublication:r=>n(HO({key:"doi",value:r})),doiLookup:()=>n(VH())}))(zH),UH=({author:n,authorKey:r,updateAuthor:i,deleteAuthor:u})=>{const l=y=>{i({key:y.target.name,value:y.target.value,idx:r})},d=y=>C.jsx("td",{children:C.jsx("input",{type:"text",className:"form-control",name:y,id:y,value:n[y],onChange:g=>l(g)})},`field_${y}`),p=["first_name","last_name","affiliation"];return C.jsxs("tr",{children:[p.map(y=>d(y)),C.jsx("td",{children:r!==0&&C.jsx("button",{className:"btn btn-sm btn-danger",onClick:()=>u(r),children:C.jsx("i",{className:"bi bi-trash"})})})]})},YO=Eo(null,n=>({updateAuthor:r=>n(AH(r)),deleteAuthor:r=>n(_H(r))}))(UH),GH=({authors:n,addAuthor:r,authors_exist:i})=>{const u=n.length===0,l=()=>i?"":C.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 C.jsxs("div",{children:[l(),C.jsxs("table",{className:"table",children:[C.jsx("thead",{children:C.jsxs("tr",{children:[C.jsx("th",{children:"First Name"}),C.jsx("th",{children:"Last Name"}),C.jsx("th",{children:"Affiliation"}),C.jsx("th",{})]})}),C.jsxs("tbody",{children:[n.map((d,p)=>C.jsx(YO,{author:d,authorKey:p},`author_${p}`)),u&&C.jsx(YO,{author:r()})]})]}),C.jsx("button",{className:"btn btn-primary mt-3",onClick:()=>r(),children:"Add Author"})]})},$H=Eo(n=>({authors:PO(n),authors_exist:zO(n)}),n=>({addAuthor:()=>n(IH())}))(GH),WH=({category:n,publication_tags:r,updateSelectedTags:i,index:u})=>{const l=M.useRef(null),d=()=>{const y=r.filter(g=>g.label==n.label)[0];return y?y.options:[]},p=y=>{i({category:n.label,tags:y})};return C.jsxs(C.Fragment,{children:[C.jsx("div",{className:"fw-bold mb-1",children:n.label}),C.jsx("div",{className:"mb-3",children:C.jsx(nE,{classNames:{control:y=>y.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:p})})]})},XH=Eo(n=>({publication_tags:EH(n)}),n=>({updateSelectedTags:r=>n(OH(r))}))(WH),YH=({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 C.jsx("div",{className:"row",children:C.jsxs("div",{className:"col",children:[u()?"":C.jsx("div",{className:"alert alert-danger",children:"You must select at least one project"}),C.jsx("div",{className:"list-group",children:n.map((l,d)=>C.jsxs("div",{className:i(l),onClick:()=>r(d),children:[l.grant_number,": ",l.title]},`project_${l.grant_number}`))})]})})},ZH=Eo(n=>({projects:xH(n)}),n=>({toggleProject:r=>n(NH(r))}))(YH),JH=({grant_number:n,setGrantNumber:r,grantSearch:i})=>C.jsx("div",{className:"row",children:C.jsxs("div",{className:"col",children:["If your project isn't listed above, you can manually add it by entering the grant number below.",C.jsxs("div",{className:"input-group mt-1",children:[C.jsx("input",{type:"text",className:"form-control",value:n,onChange:u=>r(u.target.value),placeholder:"Enter a grant number"}),C.jsx("button",{className:"btn btn-primary",onClick:()=>i(),children:"Find Project"})]})]})}),qH=Eo(n=>({grant_number:n.publications_store.grant_number}),n=>({setGrantNumber:r=>n($O(r)),grantSearch:()=>n(BH())}))(JH),QH=({publication:n,updateField:r,publication_types:i,changePubType:u,updatePublication:l,tag_categories:d,savePublication:p,modal:y,save_enabled:g,setFormValid:b,form_valid:E})=>{const R=B=>{B.target.value.trim()==""?b(!1):b(!0),l({key:"title",value:B.target.value})},T=()=>n.fields.map((B,F)=>C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsx("label",{htmlFor:`field_${B.csl_field_name}`,className:"form-label",children:B.name}),C.jsx("input",{type:"text",className:"form-control",name:`field_${B.csl_field_name}`,id:`field_${B.csl_field_name}`,value:B.field_value,onChange:U=>r({index:F,value:U.target.value})})]})},`field_${B.csl_field_name}`)),A=()=>{const B=new Date().getFullYear()+2;let F=1980;const U=[];for(;F<=B;)U.push(F++);const z=["January","February","March","April","May","June","July","August","September","October","November","December"],G=C.jsx("i",{className:"bi bi-asterisk text-danger"});return C.jsxs(C.Fragment,{children:[C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsxs("label",{className:"form-label",htmlFor:"publication_title",children:["Title ",G]}),C.jsx("input",{name:"publication_title",id:"publication_title",type:"text",className:`form-control ${E?"":"is-invalid"}`,value:n.title,onChange:X=>R(X)})]})}),C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsx("label",{className:"form-label",htmlFor:"publication_year",children:"Year Published"}),C.jsx("select",{name:"publication_year",id:"publication_year",className:"form-control",value:n.publication_year,onChange:X=>{l({key:"publication_year",value:X.target.value})},children:U.map(X=>C.jsx("option",{value:X,children:X},`year_${X}`))})]})}),C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsx("label",{className:"form-label",htmlFor:"publication_month",children:"Month Published"}),C.jsx("select",{name:"publication_month",id:"publication_month",className:"form-control",value:n.publication_month,onChange:X=>{l({key:"publication_month",value:X.target.value})},children:z.map((X,te)=>C.jsx("option",{value:te+1,children:X},`month_${te}`))})]})})]})},N=C.jsxs("div",{className:"card",children:[C.jsx("div",{className:"card-header",children:C.jsx("h2",{children:"Publication Information"})}),C.jsxs("div",{className:"card-body",children:[C.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.'}),C.jsx(HH,{}),C.jsx("div",{className:"row mb-3",children:C.jsxs("div",{className:"col",children:[C.jsx("label",{htmlFor:"publication_type",className:"form-label",children:"Publication Type"}),C.jsx("select",{name:"publication[publication_type]",id:"publication_type",className:"form-control",value:n.publication_type,onChange:B=>u(B.target.value),children:i.map(B=>C.jsx("option",{value:B.publication_type,children:B.publication_type},`pub_type_${B.type_id}`))})]})}),A(),T()]})]}),j=C.jsxs("div",{className:"card mt-3",children:[C.jsxs("div",{className:"card-header d-flex",children:[C.jsx("h2",{children:"Authors"}),C.jsxs(nd,{children:[`Add authors by clicking the "Add Authors" button below and entering the author's details. You may also remove authors by clicking the `,C.jsx("i",{className:"bi bi-trash fw-bold text-danger"})," ","button"]})]}),C.jsx("div",{className:"card-body",children:C.jsx($H,{})})]}),O=C.jsxs("div",{className:"card mt-3",children:[C.jsxs("div",{className:"card-header d-flex",children:[C.jsx("h2",{children:"Tags"}),C.jsx(nd,{children:"Add related tags from the lists below. You may choose multiple tags per category."})]}),C.jsx("div",{className:"card-body",children:d.map((B,F)=>C.jsx(XH,{index:F,category:B},`tc_${F}`))})]}),P=C.jsxs("div",{className:"card mt-3",children:[C.jsxs("div",{className:"card-header d-flex",children:[C.jsx("h2",{children:"Associated Projects"}),C.jsx(nd,{children:"Click/Tap each project that this publication is related to."})]}),C.jsxs("div",{className:"card-body",children:[C.jsx(ZH,{}),C.jsx("hr",{}),C.jsx(qH,{})]})]});return C.jsxs(C.Fragment,{children:[N,j,O,P,y?null:C.jsx("p",{className:"mt-3",children:C.jsx("button",{onClick:()=>p(),className:"btn btn-success",disabled:!g,children:"Save Publication"})})]})},KH=Eo(n=>({publication:gH(n),publication_types:bH(n),tag_categories:CH(n),saving:iE(n),modal:wH(n),save_enabled:BO(n),form_valid:VO(n)}),n=>({updateField:r=>n(RH(r)),changePubType:r=>n(oE(r)),updatePublication:r=>n(HO(r)),savePublication:()=>n(XO()),setFormValid:r=>n(kH(r))}))(QH),eU=({errors:n,hideError:r})=>C.jsx(C.Fragment,{children:n.map(i=>C.jsxs("div",{className:"alert alert-danger alert-dismissible sticky-top",children:[i.message,C.jsx("button",{type:"button",className:"btn-close","aria-label":"Close",onClick:()=>r(i.id)})]},`err_${i.id}`))}),tU=Eo(n=>({errors:SH(n)}),n=>({hideError:r=>n(UO(r))}))(eU),nU=({show_saved:n,updateShowSaved:r})=>{const i=C.jsxs("div",{className:"alert alert-success alert-dismissible sticky-top",children:["Publication Saved Successfully!",C.jsx("button",{type:"button",className:"btn-close","aria-label":"Close",onClick:()=>r(!1)})]});return n?i:C.jsx(C.Fragment,{})},rU=Eo(n=>({show_saved:FO(n)}),n=>({updateShowSaved:r=>n(GO(r))}))(nU),aU=({getData:n,data_loaded:r})=>(M.useEffect(()=>{n()},[]),C.jsxs(C.Fragment,{children:[C.jsx(rU,{}),C.jsx(tU,{}),r?C.jsx(KH,{}):C.jsx(bv,{})]})),ZO=Eo(n=>({data_loaded:LO(n)}),n=>({getData:()=>n(WO())}))(aU),iU=({saving:n,savePublication:r,showSaved:i,updatePublications:u,save_enabled:l})=>{const[d,p]=M.useState(!1);return M.useEffect(()=>{!n&&i&&u()},[n,i]),C.jsxs(C.Fragment,{children:[C.jsxs(_n,{size:"xl",show:d,onHide:()=>p(!1),scrollable:!0,children:[C.jsx(_n.Header,{closeButton:!0,children:C.jsx(_n.Title,{children:"Add Publication"})}),C.jsx(_n.Body,{children:C.jsx(ZO,{})}),C.jsx(_n.Footer,{children:C.jsxs("div",{className:"d-flex",children:[C.jsx("button",{type:"button",className:"btn btn-danger me-2",onClick:()=>p(!1),children:"Cancel"}),C.jsx("button",{type:"button",className:"btn btn-primary",onClick:()=>{r(),p(!1)},children:"Save Publication"})]})})]}),C.jsx("button",{type:"button",className:"btn btn-primary",onClick:()=>p(!0),children:"Add a New Publication"})]})},oU=Eo(n=>({saving:iE(n),showSaved:FO(n),save_enabled:BO(n)}),n=>({savePublication:()=>n(XO())}))(iU),sU=({usernames:n=[],publication_ids:r=[]})=>{const[i,u]=M.useState(n),[l,d]=M.useState(r),[p,y]=M.useState([]),g=M.useRef(i),b=j=>{g.current=j,u(j)},E=async()=>{const O=await(await fetch(fl.routes.search_publications_path({usernames:i}))).json();y(O)};M.useEffect(()=>{E()},[i]),M.useEffect(()=>{addEventListener("requestAddRole",j=>b([...g.current,j.detail.username])),addEventListener("requestRemoveRole",j=>b(g.current.filter(O=>O!=j.detail.username)))},[]);let R=!1,T=!1;const A=p.map(j=>{const O=l.includes(j.publication_id);R=R||O,T=T||!O;const P=new Date(j.publication_year,j.publication_month-1);return C.jsxs("tr",{children:[C.jsx("td",{children:C.jsx("input",{type:"checkbox",name:"publication_ids[]",value:j.publication_id,checked:O,onChange:()=>d(O?l.filter(B=>B!=j.publication_id):[...l,j.publication_id])})}),C.jsx("td",{children:j.title}),C.jsx("td",{children:j.authors.map(B=>`${B.first_name} ${B.last_name}`).join(", ")}),C.jsx("td",{children:j.publication_type}),C.jsxs("td",{children:[P.toLocaleString("default",{month:"short"})," ",j.publication_year]})]},j.publication_id)}),N=`${T?"Select":"Deselect"} all`;return C.jsxs("div",{className:"publications-select",children:[C.jsxs("table",{className:"table",children:[C.jsx("thead",{children:C.jsxs("tr",{children:[C.jsx("th",{children:C.jsx("input",{type:"checkbox",value:"","aria-label":N,title:N,checked:R&&!T,onChange:()=>d(T?p.map(j=>j.publication_id):[]),ref:j=>{j&&(j.indeterminate=R&&T)}})}),C.jsx("th",{children:"Title"}),C.jsx("th",{children:"Authors"}),C.jsx("th",{children:"Type"}),C.jsx("th",{children:"Date"})]})}),C.jsx("tbody",{children:A})]}),C.jsx(oU,{updatePublications:E})]})},uU=()=>`${Math.random().toString(36).slice(2)}`,uE=document.querySelector("#publications-react"),lU=uE?uE.dataset:{},JO={publication_types:[],tag_categories:[],publication:{},projects:[],errors:[],selected_tags:{},data_loaded:!1,saving:!1,show_saved:!1,redirect:lU.redirect||!1,modal:uE==null,form_valid:!1,grant_number:""},cU=(n=JO,r)=>{const{type:i,payload:u}=r;switch(i){case"UPDATE_FIELD":return Ji(n,d=>(d.publication.fields[u.index].field_value=u.value,d));case"CHANGE_PUB_TYPE":return Ji(n,d=>{let p=d.publication_types.find(y=>y.publication_type==u).fields;return p.forEach(y=>{const g=d.publication.fields.find(b=>b.csl_field_name==y.csl_field_name);g&&(y.value=g.value)}),d.publication.publication_type=u,d.publication.fields=p,d});case"UPDATE_PUBLICATION":return{...n,publication:{...n.publication,[u.key]:u.value}};case"SET_PUBLICATION":return Ji(n,d=>(d.publication.fields.forEach(p=>{p.field_value=u[p.csl_field_name]}),Object.keys(d.publication).forEach(p=>{u[p]&&(d.publication[p]=u[p])}),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 Ji(n,p=>{p.publication.authors.push(l)})}case"UPDATE_AUTHOR":return Ji(n,d=>{d.publication.authors[u.idx][u.key]=u.value});case"TOGGLE_TAG":return Ji(n,d=>{let p=d.tag_categories.find(y=>y.publication_tags_category_id==u.publication_tags_category_id);p.tags[u.idx].selected=!p.tags[u.idx].selected});case"TOGGLE_REQUEST":return Ji(n,d=>(d.projects[u].selected=!d.projects[u].selected,d));case"UPDATE_ERRORS":{const l={id:uU(),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 Ji(n,d=>{const p=u.tags.map(y=>y.value);return d.selected_tags[u.category]=p,d});case"DELETE_AUTHOR":return Ji(n,d=>(d.publication.authors.splice(u,1),d));case"DATA_LOADED":return Ji(n,d=>(d.publication=u.publication,d.form_valid=u.publication.title.trim()!="",d.publication.authors.forEach(p=>{p.affiliation||(p.affiliation="")}),d.publication_types=u.publication_types,d.tag_categories=u.tag_categories,d.projects=u.publication.projects,u.publication.tags.forEach(p=>d.selected_tags[p.label]=p.options.map(y=>y.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 JO;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}},fU={filters:[],resources:[],filteredResources:[],resourcesLoaded:!1,hasErrors:!1},Qg=tu("resourceCatalog/getResources",async(n,{dispatch:r})=>{const u=await(await fetch(n.apiUrl)).json();r(pU({data:u,params:n}))}),dU=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)}))},qO=(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)},QO=rC({name:"resourceCatalog",initialState:fU,reducers:{handleResponse:(n,{payload:r})=>{const i=r.data,u=r.params.excludedCategories,l=r.params.excludedFilters,d=r.params.allowedCategories,p=r.params.allowedFilters,y=[],g={};i.forEach(b=>{const E=[];b.featureCategories.filter(T=>T.categoryIsFilter).forEach(T=>{const A=T.categoryId;!g[A]&&qO(d,u,T.categoryName)&&(g[A]={categoryId:A,categoryName:T.categoryName,categoryDescription:T.categoryDescription,features:{}}),T.features.forEach(N=>{const j={featureId:N.featureId,name:N.name,description:N.description,categoryId:A,selected:!1},O=qO(p,l,j.name);O&&E.push(j),g[A]&&O&&!g[A].features[N.featureId]&&(g[A].features[N.featureId]=j)})});const R={resourceName:b.resourceName,resourceId:b.resourceId,resourceType:b.resourceType,organization:b.organization,units:b.units,userGuideUrl:b.userGuideUrl,resourceDescription:b.resourceDescription,description:b.description,recommendedUse:b.recommendedUse,features:E.map(T=>T.name).sort((T,A)=>T>A),featureIds:E.map(T=>T.featureId)};y.push(R)});for(const b in g){const E=g[b],R=[];for(const T in E.features)R.push(E.features[T]);n.filters.push({...E,features:R.sort((T,A)=>T.name>A.name)})}n.filters=n.filters.sort((b,E)=>b.categoryName.localeCompare(E.categoryName)),n.resources=y.sort((b,E)=>b.resourceName.localeCompare(E.resourceName)),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(p=>p.categoryId==i.categoryId).features.find(p=>p.featureId==i.featureId);l.selected=!l.selected;const d=dU(n.filters);if(d.length>0){const p=[],y=d.map(g=>g.features.map(b=>b.featureId));n.resources.forEach(g=>{let b=0;y.forEach(E=>{let R=!1;g.featureIds.forEach(T=>{E.indexOf(T)>=0&&(R=!0)}),R&&(b+=1)}),b>=y.length&&p.push(g)}),n.filteredResources=p}else n.filteredResources=[...n.resources]}},extraReducers:n=>{n.addCase(Qg.pending,r=>{}).addCase(Qg.fulfilled,(r,i)=>{}).addCase(Qg.rejected,(r,i)=>{r.hasErrors=!0,console.log(i.error)})}}),{handleResponse:pU,processData:_Z,resetFilters:vU,toggleFilter:hU}=QO.actions,mU=n=>n.resourceCatalog.hasErrors,gU=n=>n.resourceCatalog.resourcesLoaded,yU=n=>n.resourceCatalog.filters,bU=n=>n.resourceCatalog.filteredResources,CU=QO.reducer,xU=({resource:n})=>{const r=u=>u.length==0?"":C.jsx("ul",{children:u.map((l,d)=>C.jsx("li",{children:l},`feature_${n.resourceId}_${d}`))}),i=(u,l)=>l&&l!=""?C.jsxs(C.Fragment,{children:[C.jsx("div",{className:"row",children:C.jsx("div",{className:"col fw-bold",children:u})}),C.jsx("div",{className:"row mb-3",children:C.jsx("div",{className:"col",dangerouslySetInnerHTML:{__html:l}})})]}):"";return C.jsxs(Ag.Item,{eventKey:n.resourceId,children:[C.jsx(Ag.Header,{children:n.resourceName}),C.jsxs(Ag.Body,{children:[C.jsx("table",{className:"table",children:C.jsxs("tbody",{children:[C.jsxs("tr",{children:[C.jsx("td",{className:"fw-bold",children:"Resource Type:"}),C.jsx("td",{children:n.resourceType})]}),C.jsxs("tr",{children:[C.jsx("td",{className:"fw-bold",children:"Organization:"}),C.jsx("td",{children:n.organization})]}),C.jsxs("tr",{children:[C.jsx("td",{className:"fw-bold",children:"Units:"}),C.jsx("td",{children:n.units})]}),C.jsxs("tr",{children:[C.jsx("td",{className:"fw-bold",children:"User Guide:"}),C.jsx("td",{children:n.userGuideUrl==""?"":C.jsx("a",{href:n.userGuideUrl,target:"_blank",rel:"noreferrer",children:"Link to User Guide"})})]}),C.jsxs("tr",{children:[C.jsx("td",{className:"fw-bold",children:"Features Available:"}),C.jsx("td",{children:r(n.features)})]})]})}),i("Resource Description",n.resourceDescription),i("Allocations Description",n.description),i("Recommended Use",n.recommendedUse)]})]})},EU=()=>{const n=xa(bU);return n.length==0?C.jsx("div",{className:"fw-bold",children:"No Resources Match Your Filters"}):C.jsxs("div",{children:[C.jsx("h4",{className:"mb-0",children:"Resources"}),C.jsx(Ag,{children:n.map(r=>C.jsx(xU,{resource:r},r.resourceId))})]})},SU=({filter:n})=>{const r=ru(),i=()=>{r(hU(n))};return C.jsx("div",{className:"row",children:C.jsx("div",{className:"col",children:C.jsxs("div",{className:"form-check",children:[C.jsx("label",{className:"form-check-label",htmlFor:`filter_${n.featureId}`,children:n.name}),C.jsx("input",{className:"form-check-input",type:"checkbox",value:n.featureId,id:`filter_${n.featureId}`,checked:n.selected,onChange:i})]})})})},wU=({category:n})=>C.jsx("div",{className:"row",children:C.jsxs("div",{className:"col",children:[C.jsx("div",{className:"fw-bold mb-1 mt-1",children:C.jsx("abbr",{title:n.categoryDescription,children:n.categoryName})}),n.features.map(r=>C.jsx(SU,{filter:r},r.featureId))]})}),RU=()=>{const n=ru(),r=xa(yU),i=r.filter(u=>u.features.filter(l=>l.selected).length>0);return C.jsxs("div",{children:[C.jsx("h4",{className:"mb-0",children:"Filters"}),r.map(u=>C.jsx(wU,{category:u},u.categoryId)),C.jsx("button",{className:"btn btn-warning mt-2 mb-2",onClick:()=>n(vU()),disabled:i.length==0,children:"Reset Filters"})]})},TU=({apiUrl:n,excludedCategories:r=[],excludedFilters:i=[],allowedCategories:u=[],allowedFilters:l=[]})=>{const d=ru(),p=xa(gU),y=xa(mU);return M.useEffect(()=>{d(Qg({apiUrl:n,excludedCategories:r,excludedFilters:i,allowedCategories:u,allowedFilters:l}))},[]),y?C.jsx("div",{className:"row",children:C.jsx("div",{className:"col text-center mt-2",children:C.jsx("h4",{children:"Unable to Load Resources"})})}):p?C.jsx(C.Fragment,{children:C.jsxs("div",{className:"row mt-3",children:[C.jsx("div",{className:"col-sm-4",children:C.jsx(RU,{})}),C.jsx("div",{className:"col-sm-8",children:C.jsx(EU,{})})]})}):C.jsx(bv,{})};function IU({target:n}){ns.createRoot(n).render(C.jsx(dP,{}))}function AU({target:n,username:r,routes:i}){i&&(Tn.routes=i);const u=Um({reducer:{api:HP}});ns.createRoot(n).render(C.jsx(Qp,{store:u,children:C.jsx(eH,{username:r})}))}function NU({target:n}){const r={};for(let u in n.dataset)r[u]=JSON.parse(n.dataset[u]);const i=Um({reducer:{projectBrowser:cH},preloadedState:{projectBrowser:{...DO,typeLists:r}}});ns.createRoot(n).render(C.jsx(Qp,{store:i,children:C.jsx(mH,{})}))}function KO(){return Um({reducer:{publications_store:cU}})}function OU({target:n,routes:r}){r&&(fl.routes=r),ns.createRoot(n).render(C.jsx(Qp,{store:KO(),children:C.jsx(ZO,{})}))}function _U({target:n,routes:r}){r&&(fl.routes=r),ns.createRoot(n).render(C.jsx(Qp,{store:KO(),children:C.jsx(sU,{...JSON.parse(n.dataset.publicationsSelectProps)})}))}function DU({target:n,apiUrl:r,excludedCategories:i,excludedFilters:u,allowedCategories:l,allowedFilters:d}){const p=Um({reducer:{resourceCatalog:CU}});ns.createRoot(n).render(C.jsx(Qp,{store:p,children:C.jsx(TU,{apiUrl:r,excludedCategories:i,excludedFilters:u,allowedCategories:l,allowedFilters:d})}))}na.allocationsMap=IU,na.projects=AU,na.projectsBrowser=NU,na.publications=OU,na.publicationsSelect=_U,na.resourceCatalog=DU,Object.defineProperty(na,Symbol.toStringTag,{value:"Module"})});
|