")))}class hg extends j.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?j.createElement(ti.Provider,{value:this.props.routeContext},j.createElement(xp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function vg(e){let{routeContext:t,match:n,children:r}=e,o=j.useContext(ag);return o&&n.route.errorElement&&(o._deepestRenderedBoundaryId=n.route.id),j.createElement(ti.Provider,{value:t},r)}function mg(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let r=e,o=n==null?void 0:n.errors;if(o!=null){let l=r.findIndex(i=>i.route.id&&(o==null?void 0:o[i.route.id]));l>=0||be(!1),r=r.slice(0,Math.min(r.length,l+1))}return r.reduceRight((l,i,u)=>{let s=i.route.id?o==null?void 0:o[i.route.id]:null,a=n?i.route.errorElement||j.createElement(pg,null):null,f=t.concat(r.slice(0,u+1)),d=()=>j.createElement(vg,{match:i,routeContext:{outlet:l,matches:f}},s?a:i.route.element!==void 0?i.route.element:l);return n&&(i.route.errorElement||u===0)?j.createElement(hg,{location:n.location,component:a,error:s,children:d(),routeContext:{outlet:null,matches:f}}):d()},null)}var Hc;(function(e){e.UseRevalidator="useRevalidator"})(Hc||(Hc={}));var $l;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})($l||($l={}));function yg(e){let t=j.useContext(Lp);return t||be(!1),t}function gg(e){let t=j.useContext(ti);return t||be(!1),t}function Sg(e){let t=gg(),n=t.matches[t.matches.length-1];return n.route.id||be(!1),n.route.id}function _g(){var e;let t=j.useContext(xp),n=yg($l.UseRouteError),r=Sg($l.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function wg(e){be(!1)}function Rg(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Xt.Pop,navigator:l,static:i=!1}=e;ca()&&be(!1);let u=t.replace(/^\/*/,"/"),s=j.useMemo(()=>({basename:u,navigator:l,static:i}),[u,l,i]);typeof r=="string"&&(r=ql(r));let{pathname:a="/",search:f="",hash:d="",state:v=null,key:_="default"}=r,g=j.useMemo(()=>{let w=Np(a,u);return w==null?null:{pathname:w,search:f,hash:d,state:v,key:_}},[u,a,f,d,v,_]);return g==null?null:j.createElement(Ap.Provider,{value:s},j.createElement(ei.Provider,{children:n,value:{location:g,navigationType:o}}))}function fE(e){let{children:t,location:n}=e,r=j.useContext(cg),o=r&&!t?r.router.routes:ls(t);return dg(o,n)}var Kc;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(Kc||(Kc={}));new Promise(()=>{});function ls(e,t){t===void 0&&(t=[]);let n=[];return j.Children.forEach(e,(r,o)=>{if(!j.isValidElement(r))return;if(r.type===j.Fragment){n.push.apply(n,ls(r.props.children,t));return}r.type!==wg&&be(!1),!r.props.index||!r.props.children||be(!1);let l=[...t,o],i={id:r.props.id||l.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,hasErrorBoundary:r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle};r.props.children&&(i.children=ls(r.props.children,l)),n.push(i)}),n}/**
+ * React Router DOM v6.6.1
+ *
+ * Copyright (c) Remix Software Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE.md file in the root directory of this source tree.
+ *
+ * @license MIT
+ */function dE(e){let{basename:t,children:n,window:r}=e,o=j.useRef();o.current==null&&(o.current=Ay({window:r,v5Compat:!0}));let l=o.current,[i,u]=j.useState({action:l.action,location:l.location});return j.useLayoutEffect(()=>l.listen(u),[l]),j.createElement(Rg,{basename:t,children:n,location:i.location,navigationType:i.action,navigator:l})}var Gc;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(Gc||(Gc={}));var Qc;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Qc||(Qc={}));function Eg(e){const t=new Error(e);if(t.stack===void 0)try{throw t}catch{}return t}var kg=Eg,Z=kg;function Tg(e){return!!e&&typeof e.then=="function"}var pe=Tg;function Cg(e,t){if(e!=null)return e;throw Z(t??"Got unexpected null or undefined")}var he=Cg;function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class ni{getValue(){throw Z("BaseLoadable")}toPromise(){throw Z("BaseLoadable")}valueMaybe(){throw Z("BaseLoadable")}valueOrThrow(){throw Z(`Loadable expected value, but in "${this.state}" state`)}promiseMaybe(){throw Z("BaseLoadable")}promiseOrThrow(){throw Z(`Loadable expected promise, but in "${this.state}" state`)}errorMaybe(){throw Z("BaseLoadable")}errorOrThrow(){throw Z(`Loadable expected error, but in "${this.state}" state`)}is(t){return t.state===this.state&&t.contents===this.contents}map(t){throw Z("BaseLoadable")}}class Ng extends ni{constructor(t){super(),b(this,"state","hasValue"),b(this,"contents",void 0),this.contents=t}getValue(){return this.contents}toPromise(){return Promise.resolve(this.contents)}valueMaybe(){return this.contents}valueOrThrow(){return this.contents}promiseMaybe(){}errorMaybe(){}map(t){try{const n=t(this.contents);return pe(n)?Ln(n):cr(n)?n:_o(n)}catch(n){return pe(n)?Ln(n.next(()=>this.map(t))):ri(n)}}}class Lg extends ni{constructor(t){super(),b(this,"state","hasError"),b(this,"contents",void 0),this.contents=t}getValue(){throw this.contents}toPromise(){return Promise.reject(this.contents)}valueMaybe(){}promiseMaybe(){}errorMaybe(){return this.contents}errorOrThrow(){return this.contents}map(t){return this}}class Pp extends ni{constructor(t){super(),b(this,"state","loading"),b(this,"contents",void 0),this.contents=t}getValue(){throw this.contents}toPromise(){return this.contents}valueMaybe(){}promiseMaybe(){return this.contents}promiseOrThrow(){return this.contents}errorMaybe(){}map(t){return Ln(this.contents.then(n=>{const r=t(n);if(cr(r)){const o=r;switch(o.state){case"hasValue":return o.contents;case"hasError":throw o.contents;case"loading":return o.contents}}return r}).catch(n=>{if(pe(n))return n.then(()=>this.map(t).contents);throw n}))}}function _o(e){return Object.freeze(new Ng(e))}function ri(e){return Object.freeze(new Lg(e))}function Ln(e){return Object.freeze(new Pp(e))}function Mp(){return Object.freeze(new Pp(new Promise(()=>{})))}function Ag(e){return e.every(t=>t.state==="hasValue")?_o(e.map(t=>t.contents)):e.some(t=>t.state==="hasError")?ri(he(e.find(t=>t.state==="hasError"),"Invalid loadable passed to loadableAll").contents):Ln(Promise.all(e.map(t=>t.contents)))}function $p(e){const n=(Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(o=>e[o])).map(o=>cr(o)?o:pe(o)?Ln(o):_o(o)),r=Ag(n);return Array.isArray(e)?r:r.map(o=>Object.getOwnPropertyNames(e).reduce((l,i,u)=>({...l,[i]:o[u]}),{}))}function cr(e){return e instanceof ni}const xg={of:e=>pe(e)?Ln(e):cr(e)?e:_o(e),error:e=>ri(e),loading:()=>Mp(),all:$p,isLoadable:cr};var Mn={loadableWithValue:_o,loadableWithError:ri,loadableWithPromise:Ln,loadableLoading:Mp,loadableAll:$p,isLoadable:cr,RecoilLoadable:xg},Pg=Mn.loadableWithValue,Mg=Mn.loadableWithError,$g=Mn.loadableWithPromise,Ig=Mn.loadableLoading,Vg=Mn.loadableAll,Dg=Mn.isLoadable,Ug=Mn.RecoilLoadable,wo=Object.freeze({__proto__:null,loadableWithValue:Pg,loadableWithError:Mg,loadableWithPromise:$g,loadableLoading:Ig,loadableAll:Vg,isLoadable:Dg,RecoilLoadable:Ug});const oi=new Map().set("recoil_hamt_2020",!0).set("recoil_sync_external_store",!0).set("recoil_suppress_rerender_in_callback",!0).set("recoil_memory_managament_2020",!0);function li(e){var t;return(t=oi.get(e))!==null&&t!==void 0?t:!1}li.setPass=e=>{oi.set(e,!0)};li.setFail=e=>{oi.set(e,!1)};li.clear=()=>{oi.clear()};var le=li;function zg(e,t,{error:n}={}){return null}var Og=zg,fa=Og,qi,eu,tu;const Fg=(qi=ae.createMutableSource)!==null&&qi!==void 0?qi:ae.unstable_createMutableSource,Ip=(eu=ae.useMutableSource)!==null&&eu!==void 0?eu:ae.unstable_useMutableSource,Vp=(tu=ae.useSyncExternalStore)!==null&&tu!==void 0?tu:ae.unstable_useSyncExternalStore;function Bg(){var e;const{ReactCurrentDispatcher:t,ReactCurrentOwner:n}=ae.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;return((e=t==null?void 0:t.current)!==null&&e!==void 0?e:n.currentDispatcher).useSyncExternalStore!=null}function jg(){return le("recoil_transition_support")?{mode:"TRANSITION_SUPPORT",early:!0,concurrent:!0}:le("recoil_sync_external_store")&&Vp!=null?{mode:"SYNC_EXTERNAL_STORE",early:!0,concurrent:!1}:le("recoil_mutable_source")&&Ip!=null&&typeof window<"u"&&!window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE?le("recoil_suppress_rerender_in_callback")?{mode:"MUTABLE_SOURCE",early:!0,concurrent:!0}:{mode:"MUTABLE_SOURCE",early:!1,concurrent:!1}:le("recoil_suppress_rerender_in_callback")?{mode:"LEGACY",early:!0,concurrent:!1}:{mode:"LEGACY",early:!1,concurrent:!1}}function Wg(){return!1}var Ro={createMutableSource:Fg,useMutableSource:Ip,useSyncExternalStore:Vp,currentRendererSupportsUseSyncExternalStore:Bg,reactMode:jg,isFastRefreshEnabled:Wg};const Dp={RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED:!0};function Hg(){var e,t,n;if(typeof process>"u"||((e=process)===null||e===void 0?void 0:e.env)==null)return;const r=(t={}.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED)===null||t===void 0||(n=t.toLowerCase())===null||n===void 0?void 0:n.trim();if(r==null||r==="")return;if(!["true","false"].includes(r))throw Z(`({}).RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED value must be 'true', 'false', or empty: ${r}`);Dp.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=r==="true"}Hg();var Up=Dp;class da{constructor(t){b(this,"key",void 0),this.key=t}toJSON(){return{key:this.key}}}class zp extends da{}class Op extends da{}function Kg(e){return e instanceof zp||e instanceof Op}var ii={AbstractRecoilValue:da,RecoilState:zp,RecoilValueReadOnly:Op,isRecoilValue:Kg},Gg=ii.AbstractRecoilValue,Qg=ii.RecoilState,bg=ii.RecoilValueReadOnly,Yg=ii.isRecoilValue,fr=Object.freeze({__proto__:null,AbstractRecoilValue:Gg,RecoilState:Qg,RecoilValueReadOnly:bg,isRecoilValue:Yg});function Zg(e,t){return function*(){let n=0;for(const r of e)yield t(r,n++)}()}var ui=Zg;class Fp{}const Xg=new Fp,An=new Map,pa=new Map;function Jg(e){return ui(e,t=>he(pa.get(t)))}function qg(e){if(An.has(e)){const t=`Duplicate atom key "${e}". This is a FATAL ERROR in
+ production. But it is safe to ignore this warning if it occurred because of
+ hot module replacement.`;console.warn(t)}}function e0(e){Up.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED&&qg(e.key),An.set(e.key,e);const t=e.set==null?new fr.RecoilValueReadOnly(e.key):new fr.RecoilState(e.key);return pa.set(e.key,t),t}class Bp extends Error{}function t0(e){const t=An.get(e);if(t==null)throw new Bp(`Missing definition for RecoilValue: "${e}""`);return t}function n0(e){return An.get(e)}const Il=new Map;function r0(e){var t;if(!le("recoil_memory_managament_2020"))return;const n=An.get(e);if(n!=null&&(t=n.shouldDeleteConfigOnRelease)!==null&&t!==void 0&&t.call(n)){var r;An.delete(e),(r=jp(e))===null||r===void 0||r(),Il.delete(e)}}function o0(e,t){le("recoil_memory_managament_2020")&&(t===void 0?Il.delete(e):Il.set(e,t))}function jp(e){return Il.get(e)}var Ye={nodes:An,recoilValues:pa,registerNode:e0,getNode:t0,getNodeMaybe:n0,deleteNodeConfigIfPossible:r0,setConfigDeletionHandler:o0,getConfigDeletionHandler:jp,recoilValuesForKeys:Jg,NodeMissingError:Bp,DefaultValue:Fp,DEFAULT_VALUE:Xg};function l0(e,t){t()}var i0={enqueueExecution:l0};function u0(e,t){return t={exports:{}},e(t,t.exports),t.exports}var s0=u0(function(e){var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},n={},r=5,o=Math.pow(2,r),l=o-1,i=o/2,u=o/4,s={},a=function(m){return function(){return m}},f=n.hash=function(S){var m=typeof S>"u"?"undefined":t(S);if(m==="number")return S;m!=="string"&&(S+="");for(var E=0,x=0,P=S.length;x>1&1431655765,m=(m&858993459)+(m>>2&858993459),m=m+(m>>4)&252645135,m+=m>>8,m+=m>>16,m&127},v=function(m,E){return E>>>m&l},_=function(m){return 1<=E;)P[Q--]=P[Q];return P[E]=x,P}for(var H=0,K=0,X=new Array(z+1);H>>=1;return Q[E]=x,oe(m,K+1,Q)},Me=function(m,E,x,P){for(var z=new Array(E-1),Q=0,H=0,K=0,X=P.length;K1?te(m,this.hash,X):X[0]}var fe=P();return fe===s?this:(++H.value,jt(m,x,this.hash,this,z,I(m,z,Q,fe)))},$=function(m,E,x,P,z,Q,H){var K=this.mask,X=this.children,fe=v(x,z),Be=_(fe),Ce=g(K,Be),it=K&Be,ht=it?X[Ce]:N,In=ht._modify(m,E,x+r,P,z,Q,H);if(ht===In)return this;var No=Xe(m,this),Sr=K,_r=void 0;if(it&&L(In)){if(Sr&=~Be,!Sr)return N;if(X.length<=2&&Ze(X[Ce^1]))return X[Ce^1];_r=O(No,Ce,X)}else if(!it&&!L(In)){if(X.length>=i)return ve(m,fe,In,K,X);Sr|=Be,_r=h(No,Ce,In,X)}else _r=w(No,Ce,In,X);return No?(this.mask=Sr,this.children=_r,this):U(m,Sr,_r)},F=function(m,E,x,P,z,Q,H){var K=this.size,X=this.children,fe=v(x,z),Be=X[fe],Ce=(Be||N)._modify(m,E,x+r,P,z,Q,H);if(Be===Ce)return this;var it=Xe(m,this),ht=void 0;if(L(Be)&&!L(Ce))++K,ht=w(it,fe,Ce,X);else if(!L(Be)&&L(Ce)){if(--K,K<=u)return Me(m,K,fe,X);ht=w(it,fe,N,X)}else ht=w(it,fe,Ce,X);return it?(this.size=K,this.children=ht,this):oe(m,K,ht)};N._modify=function(S,m,E,x,P,z,Q){var H=x();return H===s?N:(++Q.value,I(S,P,z,H))};function y(S,m,E,x,P){this._editable=S,this._edit=m,this._config=E,this._root=x,this._size=P}y.prototype.setTree=function(S,m){return this._editable?(this._root=S,this._size=m,this):S===this._root?this:new y(this._editable,this._edit,this._config,S,m)};var C=n.tryGetHash=function(S,m,E,x){for(var P=x._root,z=0,Q=x._config.keyEq;;)switch(P.type){case c:return Q(E,P.key)?P.value:S;case p:{if(m===P.hash)for(var H=P.children,K=0,X=H.length;K{n.set(o,t(r,o))}),n}var Vl=h0;function v0(){return{nodeDeps:new Map,nodeToNodeSubscriptions:new Map}}function m0(e){return{nodeDeps:Vl(e.nodeDeps,t=>new Set(t)),nodeToNodeSubscriptions:Vl(e.nodeToNodeSubscriptions,t=>new Set(t))}}function nu(e,t,n,r){const{nodeDeps:o,nodeToNodeSubscriptions:l}=n,i=o.get(e);if(i&&r&&i!==r.nodeDeps.get(e))return;o.set(e,t);const u=i==null?t:br(t,i);for(const s of u)l.has(s)||l.set(s,new Set),he(l.get(s)).add(e);if(i){const s=br(i,t);for(const a of s){if(!l.has(a))return;const f=he(l.get(a));f.delete(e),f.size===0&&l.delete(a)}}}function y0(e,t,n,r){var o,l,i,u;const s=n.getState();r===s.currentTree.version||r===((o=s.nextTree)===null||o===void 0?void 0:o.version)||((l=s.previousTree)===null||l===void 0||l.version);const a=n.getGraph(r);if(nu(e,t,a),r===((i=s.previousTree)===null||i===void 0?void 0:i.version)){const d=n.getGraph(s.currentTree.version);nu(e,t,d,a)}if(r===((u=s.previousTree)===null||u===void 0?void 0:u.version)||r===s.currentTree.version){var f;const d=(f=s.nextTree)===null||f===void 0?void 0:f.version;if(d!==void 0){const v=n.getGraph(d);nu(e,t,v,a)}}}var Eo={cloneGraph:m0,graph:v0,saveDepsToStore:y0};let g0=0;const S0=()=>g0++;let _0=0;const w0=()=>_0++;let R0=0;const E0=()=>R0++;var si={getNextTreeStateVersion:S0,getNextStoreID:w0,getNextComponentID:E0};const{persistentMap:bc}=d0,{graph:k0}=Eo,{getNextTreeStateVersion:Wp}=si;function Hp(){const e=Wp();return{version:e,stateID:e,transactionMetadata:{},dirtyAtoms:new Set,atomValues:bc(),nonvalidatedAtoms:bc()}}function T0(){const e=Hp();return{currentTree:e,nextTree:null,previousTree:null,commitDepth:0,knownAtoms:new Set,knownSelectors:new Set,transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(e.version,k0()),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}}var Kp={makeEmptyTreeState:Hp,makeEmptyStoreState:T0,getNextTreeStateVersion:Wp};class Gp{}function C0(){return new Gp}var ai={RetentionZone:Gp,retentionZone:C0};function N0(e,t){const n=new Set(e);return n.add(t),n}function L0(e,t){const n=new Set(e);return n.delete(t),n}function A0(e,t,n){const r=new Map(e);return r.set(t,n),r}function x0(e,t,n){const r=new Map(e);return r.set(t,n(r.get(t))),r}function P0(e,t){const n=new Map(e);return n.delete(t),n}function M0(e,t){const n=new Map(e);return t.forEach(r=>n.delete(r)),n}var Qp={setByAddingToSet:N0,setByDeletingFromSet:L0,mapBySettingInMap:A0,mapByUpdatingInMap:x0,mapByDeletingFromMap:P0,mapByDeletingMultipleFromMap:M0};function*$0(e,t){let n=0;for(const r of e)t(r,n++)&&(yield r)}var ma=$0;function I0(e,t){return new Proxy(e,{get:(r,o)=>(!(o in r)&&o in t&&(r[o]=t[o]()),r[o]),ownKeys:r=>Object.keys(r)})}var bp=I0;const{getNode:ko,getNodeMaybe:V0,recoilValuesForKeys:Yc}=Ye,{RetentionZone:Zc}=ai,{setByAddingToSet:D0}=Qp,U0=Object.freeze(new Set);class z0 extends Error{}function O0(e,t,n){if(!le("recoil_memory_managament_2020"))return()=>{};const{nodesRetainedByZone:r}=e.getState().retention;function o(l){let i=r.get(l);i||r.set(l,i=new Set),i.add(t)}if(n instanceof Zc)o(n);else if(Array.isArray(n))for(const l of n)o(l);return()=>{if(!le("recoil_memory_managament_2020"))return;const{retention:l}=e.getState();function i(u){const s=l.nodesRetainedByZone.get(u);s==null||s.delete(t),s&&s.size===0&&l.nodesRetainedByZone.delete(u)}if(n instanceof Zc)i(n);else if(Array.isArray(n))for(const u of n)i(u)}}function ya(e,t,n,r){const o=e.getState();if(o.nodeCleanupFunctions.has(n))return;const l=ko(n),i=O0(e,n,l.retainedBy),u=l.init(e,t,r);o.nodeCleanupFunctions.set(n,()=>{u(),i()})}function F0(e,t,n){ya(e,e.getState().currentTree,t,n)}function B0(e,t){var n;const r=e.getState();(n=r.nodeCleanupFunctions.get(t))===null||n===void 0||n(),r.nodeCleanupFunctions.delete(t)}function j0(e,t,n){return ya(e,t,n,"get"),ko(n).get(e,t)}function Yp(e,t,n){return ko(n).peek(e,t)}function W0(e,t,n){var r;const o=V0(t);return o==null||(r=o.invalidate)===null||r===void 0||r.call(o,e),{...e,atomValues:e.atomValues.clone().delete(t),nonvalidatedAtoms:e.nonvalidatedAtoms.clone().set(t,n),dirtyAtoms:D0(e.dirtyAtoms,t)}}function H0(e,t,n,r){const o=ko(n);if(o.set==null)throw new z0(`Attempt to set read-only RecoilValue: ${n}`);const l=o.set;return ya(e,t,n,"set"),l(e,t,r)}function K0(e,t,n){const r=e.getState(),o=e.getGraph(t.version),l=ko(n).nodeType;return bp({type:l},{loadable:()=>Yp(e,t,n),isActive:()=>r.knownAtoms.has(n)||r.knownSelectors.has(n),isSet:()=>l==="selector"?!1:t.atomValues.has(n),isModified:()=>t.dirtyAtoms.has(n),deps:()=>{var i;return Yc((i=o.nodeDeps.get(n))!==null&&i!==void 0?i:[])},subscribers:()=>{var i,u;return{nodes:Yc(ma(Zp(e,t,new Set([n])),s=>s!==n)),components:ui((i=(u=r.nodeToComponentSubscriptions.get(n))===null||u===void 0?void 0:u.values())!==null&&i!==void 0?i:[],([s])=>({name:s}))}}})}function Zp(e,t,n){const r=new Set,o=Array.from(n),l=e.getGraph(t.version);for(let u=o.pop();u;u=o.pop()){var i;r.add(u);const s=(i=l.nodeToNodeSubscriptions.get(u))!==null&&i!==void 0?i:U0;for(const a of s)r.has(a)||o.push(a)}return r}var dn={getNodeLoadable:j0,peekNodeLoadable:Yp,setNodeValue:H0,initializeNode:F0,cleanUpNode:B0,setUnvalidatedAtomValue_DEPRECATED:W0,peekNodeInfo:K0,getDownstreamNodes:Zp};let Xp=null;function G0(e){Xp=e}function Q0(){var e;(e=Xp)===null||e===void 0||e()}var Jp={setInvalidateMemoizedSnapshot:G0,invalidateMemoizedSnapshot:Q0};const{getDownstreamNodes:b0,getNodeLoadable:qp,setNodeValue:Y0}=dn,{getNextComponentID:Z0}=si,{getNode:X0,getNodeMaybe:eh}=Ye,{DefaultValue:ga}=Ye,{reactMode:J0}=Ro,{AbstractRecoilValue:q0,RecoilState:eS,RecoilValueReadOnly:tS,isRecoilValue:nS}=fr,{invalidateMemoizedSnapshot:rS}=Jp;function oS(e,{key:t},n=e.getState().currentTree){var r,o;const l=e.getState();n.version===l.currentTree.version||n.version===((r=l.nextTree)===null||r===void 0?void 0:r.version)||(n.version,(o=l.previousTree)===null||o===void 0||o.version);const i=qp(e,n,t);return i.state==="loading"&&i.contents.catch(()=>{}),i}function lS(e,t){const n=e.clone();return t.forEach((r,o)=>{r.state==="hasValue"&&r.contents instanceof ga?n.delete(o):n.set(o,r)}),n}function iS(e,t,{key:n},r){if(typeof r=="function"){const o=qp(e,t,n);if(o.state==="loading"){const l=`Tried to set atom or selector "${n}" using an updater function while the current state is pending, this is not currently supported.`;throw Z(l)}else if(o.state==="hasError")throw o.contents;return r(o.contents)}else return r}function uS(e,t,n){if(n.type==="set"){const{recoilValue:o,valueOrUpdater:l}=n,i=iS(e,t,o,l),u=Y0(e,t,o.key,i);for(const[s,a]of u.entries())is(t,s,a)}else if(n.type==="setLoadable"){const{recoilValue:{key:o},loadable:l}=n;is(t,o,l)}else if(n.type==="markModified"){const{recoilValue:{key:o}}=n;t.dirtyAtoms.add(o)}else if(n.type==="setUnvalidated"){var r;const{recoilValue:{key:o},unvalidatedValue:l}=n,i=eh(o);i==null||(r=i.invalidate)===null||r===void 0||r.call(i,t),t.atomValues.delete(o),t.nonvalidatedAtoms.set(o,l),t.dirtyAtoms.add(o)}else fa(`Unknown action ${n.type}`)}function is(e,t,n){n.state==="hasValue"&&n.contents instanceof ga?e.atomValues.delete(t):e.atomValues.set(t,n),e.dirtyAtoms.add(t),e.nonvalidatedAtoms.delete(t)}function th(e,t){e.replaceState(n=>{const r=nh(n);for(const o of t)uS(e,r,o);return rh(e,r),rS(),r})}function ci(e,t){if(Yr.length){const n=Yr[Yr.length-1];let r=n.get(e);r||n.set(e,r=[]),r.push(t)}else th(e,[t])}const Yr=[];function sS(){const e=new Map;return Yr.push(e),()=>{for(const[t,n]of e)th(t,n);Yr.pop()}}function nh(e){return{...e,atomValues:e.atomValues.clone(),nonvalidatedAtoms:e.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(e.dirtyAtoms)}}function rh(e,t){const n=b0(e,t,t.dirtyAtoms);for(const l of n){var r,o;(r=eh(l))===null||r===void 0||(o=r.invalidate)===null||o===void 0||o.call(r,t)}}function oh(e,t,n){ci(e,{type:"set",recoilValue:t,valueOrUpdater:n})}function aS(e,t,n){if(n instanceof ga)return oh(e,t,n);ci(e,{type:"setLoadable",recoilValue:t,loadable:n})}function cS(e,t){ci(e,{type:"markModified",recoilValue:t})}function fS(e,t,n){ci(e,{type:"setUnvalidated",recoilValue:t,unvalidatedValue:n})}function dS(e,{key:t},n,r=null){const o=Z0(),l=e.getState();l.nodeToComponentSubscriptions.has(t)||l.nodeToComponentSubscriptions.set(t,new Map),he(l.nodeToComponentSubscriptions.get(t)).set(o,[r??"",n]);const i=J0();if(i.early&&(i.mode==="LEGACY"||i.mode==="MUTABLE_SOURCE")){const u=e.getState().nextTree;u&&u.dirtyAtoms.has(t)&&n(u)}return{release:()=>{const u=e.getState(),s=u.nodeToComponentSubscriptions.get(t);s===void 0||!s.has(o)||(s.delete(o),s.size===0&&u.nodeToComponentSubscriptions.delete(t))}}}function pS(e,t){var n;const{currentTree:r}=e.getState(),o=X0(t.key);(n=o.clearCache)===null||n===void 0||n.call(o,e,r)}var At={RecoilValueReadOnly:tS,AbstractRecoilValue:q0,RecoilState:eS,getRecoilValueAsLoadable:oS,setRecoilValue:oh,setRecoilValueLoadable:aS,markRecoilValueModified:cS,setUnvalidatedRecoilValue:fS,subscribeToRecoilValue:dS,isRecoilValue:nS,applyAtomValueWrites:lS,batchStart:sS,writeLoadableToTreeState:is,invalidateDownstreams:rh,copyTreeState:nh,refreshRecoilValue:pS};function hS(e,t,n){const r=e.entries();let o=r.next();for(;!o.done;){const l=o.value;if(t.call(n,l[1],l[0],e))return!0;o=r.next()}return!1}var vS=hS;const{cleanUpNode:mS}=dn,{deleteNodeConfigIfPossible:yS,getNode:lh}=Ye,{RetentionZone:ih}=ai,gS=12e4,uh=new Set;function sh(e,t){const n=e.getState(),r=n.currentTree;if(n.nextTree)return;const o=new Set;for(const i of t)if(i instanceof ih)for(const u of RS(n,i))o.add(u);else o.add(i);const l=SS(e,o);for(const i of l)wS(e,r,i)}function SS(e,t){const n=e.getState(),r=n.currentTree,o=e.getGraph(r.version),l=new Set,i=new Set;return u(t),l;function u(s){const a=new Set,f=_S(e,r,s,l,i);for(const g of f){var d;if(lh(g).retainedBy==="recoilRoot"){i.add(g);continue}if(((d=n.retention.referenceCounts.get(g))!==null&&d!==void 0?d:0)>0){i.add(g);continue}if(ah(g).some(O=>n.retention.referenceCounts.get(O))){i.add(g);continue}const w=o.nodeToNodeSubscriptions.get(g);if(w&&vS(w,O=>i.has(O))){i.add(g);continue}l.add(g),a.add(g)}const v=new Set;for(const g of a)for(const w of(_=o.nodeDeps.get(g))!==null&&_!==void 0?_:uh){var _;l.has(w)||v.add(w)}v.size&&u(v)}}function _S(e,t,n,r,o){const l=e.getGraph(t.version),i=[],u=new Set;for(;n.size>0;)s(he(n.values().next().value));return i;function s(a){if(r.has(a)||o.has(a)){n.delete(a);return}if(u.has(a))return;const f=l.nodeToNodeSubscriptions.get(a);if(f)for(const d of f)s(d);u.add(a),n.delete(a),i.push(a)}}function wS(e,t,n){if(!le("recoil_memory_managament_2020"))return;mS(e,n);const r=e.getState();r.knownAtoms.delete(n),r.knownSelectors.delete(n),r.nodeTransactionSubscriptions.delete(n),r.retention.referenceCounts.delete(n);const o=ah(n);for(const s of o){var l;(l=r.retention.nodesRetainedByZone.get(s))===null||l===void 0||l.delete(n)}t.atomValues.delete(n),t.dirtyAtoms.delete(n),t.nonvalidatedAtoms.delete(n);const i=r.graphsByVersion.get(t.version);if(i){const s=i.nodeDeps.get(n);if(s!==void 0){i.nodeDeps.delete(n);for(const a of s){var u;(u=i.nodeToNodeSubscriptions.get(a))===null||u===void 0||u.delete(n)}}i.nodeToNodeSubscriptions.delete(n)}yS(n)}function RS(e,t){var n;return(n=e.retention.nodesRetainedByZone.get(t))!==null&&n!==void 0?n:uh}function ah(e){const t=lh(e).retainedBy;return t===void 0||t==="components"||t==="recoilRoot"?[]:t instanceof ih?[t]:t}function ES(e,t){const n=e.getState();n.nextTree?n.retention.retainablesToCheckForRelease.add(t):sh(e,new Set([t]))}function kS(e,t,n){var r;if(!le("recoil_memory_managament_2020"))return;const o=e.getState().retention.referenceCounts,l=((r=o.get(t))!==null&&r!==void 0?r:0)+n;l===0?ch(e,t):o.set(t,l)}function ch(e,t){if(!le("recoil_memory_managament_2020"))return;e.getState().retention.referenceCounts.delete(t),ES(e,t)}function TS(e){if(!le("recoil_memory_managament_2020"))return;const t=e.getState();sh(e,t.retention.retainablesToCheckForRelease),t.retention.retainablesToCheckForRelease.clear()}function CS(e){return e===void 0?"recoilRoot":e}var $n={SUSPENSE_TIMEOUT_MS:gS,updateRetainCount:kS,updateRetainCountToZero:ch,releaseScheduledRetainablesNow:TS,retainedByOptionWithDefault:CS};const{unstable_batchedUpdates:NS}=Ly;var LS={unstable_batchedUpdates:NS};const{unstable_batchedUpdates:AS}=LS;var xS={unstable_batchedUpdates:AS};const{batchStart:PS}=At,{unstable_batchedUpdates:MS}=xS;let Sa=MS;const $S=e=>{Sa=e},IS=()=>Sa,VS=e=>{Sa(()=>{let t=()=>{};try{t=PS(),e()}finally{t()}})};var fi={getBatcher:IS,setBatcher:$S,batchUpdates:VS};function*DS(e){for(const t of e)for(const n of t)yield n}var fh=DS;const dh=typeof Window>"u"||typeof window>"u",US=e=>!dh&&(e===window||e instanceof Window),zS=typeof navigator<"u"&&navigator.product==="ReactNative";var _a={isSSR:dh,isReactNative:zS,isWindow:US};function OS(e,t){let n;return(...o)=>{n||(n={});const l=t(...o);return Object.hasOwnProperty.call(n,l)||(n[l]=e(...o)),n[l]}}function FS(e,t){let n,r;return(...l)=>{const i=t(...l);return n===i||(n=i,r=e(...l)),r}}function BS(e,t){let n,r;return[(...i)=>{const u=t(...i);return n===u||(n=u,r=e(...i)),r},()=>{n=null}]}var jS={memoizeWithArgsHash:OS,memoizeOneWithArgsHash:FS,memoizeOneWithArgsHashAndInvalidation:BS};const{batchUpdates:us}=fi,{initializeNode:WS,peekNodeInfo:HS}=dn,{graph:KS}=Eo,{getNextStoreID:GS}=si,{DEFAULT_VALUE:QS,recoilValues:Xc,recoilValuesForKeys:Jc}=Ye,{AbstractRecoilValue:bS,getRecoilValueAsLoadable:YS,setRecoilValue:qc,setUnvalidatedRecoilValue:ZS}=At,{updateRetainCount:sl}=$n,{setInvalidateMemoizedSnapshot:XS}=Jp,{getNextTreeStateVersion:JS,makeEmptyStoreState:qS}=Kp,{isSSR:e1}=_a,{memoizeOneWithArgsHashAndInvalidation:t1}=jS;class di{constructor(t,n){b(this,"_store",void 0),b(this,"_refCount",1),b(this,"getLoadable",r=>(this.checkRefCount_INTERNAL(),YS(this._store,r))),b(this,"getPromise",r=>(this.checkRefCount_INTERNAL(),this.getLoadable(r).toPromise())),b(this,"getNodes_UNSTABLE",r=>{if(this.checkRefCount_INTERNAL(),(r==null?void 0:r.isModified)===!0){if((r==null?void 0:r.isInitialized)===!1)return[];const i=this._store.getState().currentTree;return Jc(i.dirtyAtoms)}const o=this._store.getState().knownAtoms,l=this._store.getState().knownSelectors;return(r==null?void 0:r.isInitialized)==null?Xc.values():r.isInitialized===!0?Jc(fh([o,l])):ma(Xc.values(),({key:i})=>!o.has(i)&&!l.has(i))}),b(this,"getInfo_UNSTABLE",({key:r})=>(this.checkRefCount_INTERNAL(),HS(this._store,this._store.getState().currentTree,r))),b(this,"map",r=>{this.checkRefCount_INTERNAL();const o=new ss(this,us);return r(o),o}),b(this,"asyncMap",async r=>{this.checkRefCount_INTERNAL();const o=new ss(this,us);return o.retain(),await r(o),o.autoRelease_INTERNAL(),o}),this._store={storeID:GS(),parentStoreID:n,getState:()=>t,replaceState:r=>{t.currentTree=r(t.currentTree)},getGraph:r=>{const o=t.graphsByVersion;if(o.has(r))return he(o.get(r));const l=KS();return o.set(r,l),l},subscribeToTransactions:()=>({release:()=>{}}),addTransactionMetadata:()=>{throw Z("Cannot subscribe to Snapshots")}};for(const r of this._store.getState().knownAtoms)WS(this._store,r,"get"),sl(this._store,r,1);this.autoRelease_INTERNAL()}retain(){this._refCount<=0,this._refCount++;let t=!1;return()=>{t||(t=!0,this._release())}}autoRelease_INTERNAL(){e1||window.setTimeout(()=>this._release(),10)}_release(){if(this._refCount--,this._refCount===0){if(this._store.getState().nodeCleanupFunctions.forEach(t=>t()),this._store.getState().nodeCleanupFunctions.clear(),!le("recoil_memory_managament_2020"))return}else this._refCount<0}isRetained(){return this._refCount>0}checkRefCount_INTERNAL(){le("recoil_memory_managament_2020")&&this._refCount<=0}getStore_INTERNAL(){return this.checkRefCount_INTERNAL(),this._store}getID(){return this.checkRefCount_INTERNAL(),this._store.getState().currentTree.stateID}getStoreID(){return this.checkRefCount_INTERNAL(),this._store.storeID}}function ph(e,t,n=!1){const r=e.getState(),o=n?JS():t.version;return{currentTree:{version:n?o:t.version,stateID:n?o:t.stateID,transactionMetadata:{...t.transactionMetadata},dirtyAtoms:new Set(t.dirtyAtoms),atomValues:t.atomValues.clone(),nonvalidatedAtoms:t.nonvalidatedAtoms.clone()},commitDepth:0,nextTree:null,previousTree:null,knownAtoms:new Set(r.knownAtoms),knownSelectors:new Set(r.knownSelectors),transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(o,e.getGraph(t.version)),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map(ui(r.nodeCleanupFunctions.entries(),([l])=>[l,()=>{}]))}}function n1(e){const t=new di(qS());return e!=null?t.map(e):t}const[ef,hh]=t1((e,t)=>{var n;const r=e.getState(),o=t==="latest"?(n=r.nextTree)!==null&&n!==void 0?n:r.currentTree:he(r.previousTree);return new di(ph(e,o),e.storeID)},(e,t)=>{var n,r;return String(t)+String(e.storeID)+String((n=e.getState().nextTree)===null||n===void 0?void 0:n.version)+String(e.getState().currentTree.version)+String((r=e.getState().previousTree)===null||r===void 0?void 0:r.version)});XS(hh);function r1(e,t="latest"){const n=ef(e,t);return n.isRetained()?n:(hh(),ef(e,t))}class ss extends di{constructor(t,n){super(ph(t.getStore_INTERNAL(),t.getStore_INTERNAL().getState().currentTree,!0),t.getStoreID()),b(this,"_batch",void 0),b(this,"set",(r,o)=>{this.checkRefCount_INTERNAL();const l=this.getStore_INTERNAL();this._batch(()=>{sl(l,r.key,1),qc(this.getStore_INTERNAL(),r,o)})}),b(this,"reset",r=>{this.checkRefCount_INTERNAL();const o=this.getStore_INTERNAL();this._batch(()=>{sl(o,r.key,1),qc(this.getStore_INTERNAL(),r,QS)})}),b(this,"setUnvalidatedAtomValues_DEPRECATED",r=>{this.checkRefCount_INTERNAL();const o=this.getStore_INTERNAL();us(()=>{for(const[l,i]of r.entries())sl(o,l,1),ZS(o,new bS(l),i)})}),this._batch=n}}var pi={Snapshot:di,MutableSnapshot:ss,freshSnapshot:n1,cloneSnapshot:r1},o1=pi.Snapshot,l1=pi.MutableSnapshot,i1=pi.freshSnapshot,u1=pi.cloneSnapshot,hi=Object.freeze({__proto__:null,Snapshot:o1,MutableSnapshot:l1,freshSnapshot:i1,cloneSnapshot:u1});function s1(...e){const t=new Set;for(const n of e)for(const r of n)t.add(r);return t}var a1=s1;const{useRef:c1}=ae;function f1(e){const t=c1(e);return t.current===e&&typeof e=="function"&&(t.current=e()),t}var tf=f1;const{getNextTreeStateVersion:d1,makeEmptyStoreState:vh}=Kp,{cleanUpNode:p1,getDownstreamNodes:h1,initializeNode:v1,setNodeValue:m1,setUnvalidatedAtomValue_DEPRECATED:y1}=dn,{graph:g1}=Eo,{cloneGraph:S1}=Eo,{getNextStoreID:mh}=si,{createMutableSource:ru,reactMode:yh}=Ro,{applyAtomValueWrites:_1}=At,{releaseScheduledRetainablesNow:gh}=$n,{freshSnapshot:w1}=hi,{useCallback:R1,useContext:Sh,useEffect:as,useMemo:E1,useRef:k1,useState:T1}=ae;function Ar(){throw Z("This component must be used inside a component.")}const _h=Object.freeze({storeID:mh(),getState:Ar,replaceState:Ar,getGraph:Ar,subscribeToTransactions:Ar,addTransactionMetadata:Ar});let cs=!1;function nf(e){if(cs)throw Z("An atom update was triggered within the execution of a state updater function. State updater functions provided to Recoil must be pure functions.");const t=e.getState();if(t.nextTree===null){le("recoil_memory_managament_2020")&&le("recoil_release_on_cascading_update_killswitch_2021")&&t.commitDepth>0&&gh(e);const n=t.currentTree.version,r=d1();t.nextTree={...t.currentTree,version:r,stateID:r,dirtyAtoms:new Set,transactionMetadata:{}},t.graphsByVersion.set(r,S1(he(t.graphsByVersion.get(n))))}}const wh=ae.createContext({current:_h}),vi=()=>Sh(wh),Rh=ae.createContext(null);function C1(){return Sh(Rh)}function wa(e,t,n){const r=h1(e,n,n.dirtyAtoms);for(const o of r){const l=t.nodeToComponentSubscriptions.get(o);if(l)for(const[i,[u,s]]of l)s(n)}}function Eh(e){const t=e.getState(),n=t.currentTree,r=n.dirtyAtoms;if(r.size){for(const[o,l]of t.nodeTransactionSubscriptions)if(r.has(o))for(const[i,u]of l)u(e);for(const[o,l]of t.transactionSubscriptions)l(e);(!yh().early||t.suspendedComponentResolvers.size>0)&&(wa(e,t,n),t.suspendedComponentResolvers.forEach(o=>o()),t.suspendedComponentResolvers.clear())}t.queuedComponentCallbacks_DEPRECATED.forEach(o=>o(n)),t.queuedComponentCallbacks_DEPRECATED.splice(0,t.queuedComponentCallbacks_DEPRECATED.length)}function N1(e){const t=e.getState();t.commitDepth++;try{const{nextTree:n}=t;if(n==null)return;t.previousTree=t.currentTree,t.currentTree=n,t.nextTree=null,Eh(e),t.previousTree!=null?t.graphsByVersion.delete(t.previousTree.version):fa("Ended batch with no previous state, which is unexpected","recoil"),t.previousTree=null,le("recoil_memory_managament_2020")&&n==null&&gh(e)}finally{t.commitDepth--}}function L1({setNotifyBatcherOfChange:e}){const t=vi(),[,n]=T1([]);return e(()=>n({})),as(()=>(e(()=>n({})),()=>{e(()=>{})}),[e]),as(()=>{i0.enqueueExecution("Batcher",()=>{N1(t.current)})}),null}function A1(e,t){const n=vh();return t({set:(r,o)=>{const l=n.currentTree,i=m1(e,l,r.key,o),u=new Set(i.keys()),s=l.nonvalidatedAtoms.clone();for(const a of u)s.delete(a);n.currentTree={...l,dirtyAtoms:a1(l.dirtyAtoms,u),atomValues:_1(l.atomValues,i),nonvalidatedAtoms:s}},setUnvalidatedAtomValues:r=>{r.forEach((o,l)=>{n.currentTree=y1(n.currentTree,l,o)})}}),n}function x1(e){const t=w1(e),n=t.getStore_INTERNAL().getState();return t.retain(),n.nodeCleanupFunctions.forEach(r=>r()),n.nodeCleanupFunctions.clear(),n}let rf=0;function P1({initializeState_DEPRECATED:e,initializeState:t,store_INTERNAL:n,children:r}){let o;const l=_=>{const g=o.current.graphsByVersion;if(g.has(_))return he(g.get(_));const w=g1();return g.set(_,w),w},i=(_,g)=>{if(g==null){const{transactionSubscriptions:w}=d.current.getState(),O=rf++;return w.set(O,_),{release:()=>{w.delete(O)}}}else{const{nodeTransactionSubscriptions:w}=d.current.getState();w.has(g)||w.set(g,new Map);const O=rf++;return he(w.get(g)).set(O,_),{release:()=>{const h=w.get(g);h&&(h.delete(O),h.size===0&&w.delete(g))}}}},u=_=>{nf(d.current);for(const g of Object.keys(_))he(d.current.getState().nextTree).transactionMetadata[g]=_[g]},s=_=>{nf(d.current);const g=he(o.current.nextTree);let w;try{cs=!0,w=_(g)}finally{cs=!1}w!==g&&(o.current.nextTree=w,yh().early&&wa(d.current,o.current,w),he(a.current)())},a=k1(null),f=R1(_=>{a.current=_},[a]),d=tf(()=>n??{storeID:mh(),getState:()=>o.current,replaceState:s,getGraph:l,subscribeToTransactions:i,addTransactionMetadata:u});n!=null&&(d.current=n),o=tf(()=>e!=null?A1(d.current,e):t!=null?x1(t):vh());const v=E1(()=>ru==null?void 0:ru(o,()=>o.current.currentTree.version),[o]);return as(()=>{const _=d.current;for(const g of new Set(_.getState().knownAtoms))v1(_,g,"get");return()=>{for(const g of _.getState().knownAtoms)p1(_,g)}},[d]),ae.createElement(wh.Provider,{value:d},ae.createElement(Rh.Provider,{value:v},ae.createElement(L1,{setNotifyBatcherOfChange:f}),r))}function M1(e){const{override:t,...n}=e,r=vi();return t===!1&&r.current!==_h?e.children:ae.createElement(P1,n)}function $1(){return vi().current.storeID}var Bt={RecoilRoot:M1,useStoreRef:vi,useRecoilMutableSource:C1,useRecoilStoreID:$1,notifyComponents_FOR_TESTING:wa,sendEndOfBatchNotifications_FOR_TESTING:Eh};function I1(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n{t.current=e}),t.current}var kh=z1;const{useStoreRef:O1}=Bt,{SUSPENSE_TIMEOUT_MS:F1}=$n,{updateRetainCount:xr}=$n,{RetentionZone:B1}=ai,{useEffect:j1,useRef:W1}=ae,{isSSR:of}=_a;function H1(e){if(le("recoil_memory_managament_2020"))return K1(e)}function K1(e){const n=(Array.isArray(e)?e:[e]).map(i=>i instanceof B1?i:i.key),r=O1();j1(()=>{if(!le("recoil_memory_managament_2020"))return;const i=r.current;if(o.current&&!of)window.clearTimeout(o.current),o.current=null;else for(const u of n)xr(i,u,1);return()=>{for(const u of n)xr(i,u,-1)}},[r,...n]);const o=W1(),l=kh(n);if(!of&&(l===void 0||!V1(l,n))){const i=r.current;for(const u of n)xr(i,u,1);if(l)for(const u of l)xr(i,u,-1);o.current&&window.clearTimeout(o.current),o.current=window.setTimeout(()=>{o.current=null;for(const u of n)xr(i,u,-1)},F1)}}var Ra=H1;function G1(){return""}var To=G1;const{batchUpdates:Q1}=fi,{DEFAULT_VALUE:Th}=Ye,{currentRendererSupportsUseSyncExternalStore:b1,reactMode:gr,useMutableSource:Y1,useSyncExternalStore:Z1}=Ro,{useRecoilMutableSource:X1,useStoreRef:xt}=Bt,{AbstractRecoilValue:fs,getRecoilValueAsLoadable:Co,setRecoilValue:Dl,setUnvalidatedRecoilValue:J1,subscribeToRecoilValue:dr}=At,{useCallback:Qe,useEffect:pr,useMemo:Ch,useRef:Zr,useState:Ea}=ae,{setByAddingToSet:q1}=Qp;function ka(e,t,n){if(e.state==="hasValue")return e.contents;throw e.state==="loading"?new Promise(o=>{n.current.getState().suspendedComponentResolvers.add(o)}):e.state==="hasError"?e.contents:Z(`Invalid value of loadable atom "${t.key}"`)}function e_(){const e=To(),t=xt(),[,n]=Ea([]),r=Zr(new Set);r.current=new Set;const o=Zr(new Set),l=Zr(new Map),i=Qe(s=>{const a=l.current.get(s);a&&(a.release(),l.current.delete(s))},[l]),u=Qe((s,a)=>{l.current.has(a)&&n([])},[]);return pr(()=>{const s=t.current;br(r.current,o.current).forEach(a=>{if(l.current.has(a))return;const f=dr(s,new fs(a),v=>u(v,a),e);l.current.set(a,f),s.getState().nextTree?s.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{u(s.getState(),a)}):u(s.getState(),a)}),br(o.current,r.current).forEach(a=>{i(a)}),o.current=r.current}),pr(()=>{const s=l.current;return br(r.current,new Set(s.keys())).forEach(a=>{const f=dr(t.current,new fs(a),d=>u(d,a),e);s.set(a,f)}),()=>s.forEach((a,f)=>i(f))},[e,t,i,u]),Ch(()=>{function s(g){return w=>{Dl(t.current,g,w)}}function a(g){return()=>Dl(t.current,g,Th)}function f(g){var w;r.current.has(g.key)||(r.current=q1(r.current,g.key));const O=t.current.getState();return Co(t.current,g,gr().early&&(w=O.nextTree)!==null&&w!==void 0?w:O.currentTree)}function d(g){const w=f(g);return ka(w,g,t)}function v(g){return[d(g),s(g)]}function _(g){return[f(g),s(g)]}return{getRecoilValue:d,getRecoilValueLoadable:f,getRecoilState:v,getRecoilStateLoadable:_,getSetRecoilState:s,getResetRecoilState:a}},[r,t])}const t_={current:0};function n_(e){const t=xt(),n=To(),r=Qe(()=>{var u;const s=t.current,a=s.getState(),f=gr().early&&(u=a.nextTree)!==null&&u!==void 0?u:a.currentTree;return{loadable:Co(s,e,f),key:e.key}},[t,e]),o=Qe(u=>{let s;return()=>{var a,f;const d=u();return(a=s)!==null&&a!==void 0&&a.loadable.is(d.loadable)&&((f=s)===null||f===void 0?void 0:f.key)===d.key?s:(s=d,d)}},[]),l=Ch(()=>o(r),[r,o]),i=Qe(u=>{const s=t.current;return dr(s,e,u,n).release},[t,e,n]);return Z1(i,l,l).loadable}function r_(e){const t=xt(),n=Qe(()=>{var a;const f=t.current,d=f.getState(),v=gr().early&&(a=d.nextTree)!==null&&a!==void 0?a:d.currentTree;return Co(f,e,v)},[t,e]),r=Qe(()=>n(),[n]),o=To(),l=Qe((a,f)=>{const d=t.current;return dr(d,e,()=>{if(!le("recoil_suppress_rerender_in_callback"))return f();const _=n();s.current.is(_)||f(),s.current=_},o).release},[t,e,o,n]),i=X1();if(i==null)throw Z("Recoil hooks must be used in components contained within a component.");const u=Y1(i,r,l),s=Zr(u);return pr(()=>{s.current=u}),u}function ds(e){const t=xt(),n=To(),r=Qe(()=>{var s;const a=t.current,f=a.getState(),d=gr().early&&(s=f.nextTree)!==null&&s!==void 0?s:f.currentTree;return Co(a,e,d)},[t,e]),o=Qe(()=>({loadable:r(),key:e.key}),[r,e.key]),l=Qe(s=>{const a=o();return s.loadable.is(a.loadable)&&s.key===a.key?s:a},[o]);pr(()=>{const s=dr(t.current,e,a=>{u(l)},n);return u(l),s.release},[n,e,t,l]);const[i,u]=Ea(o);return i.key!==e.key?o().loadable:i.loadable}function o_(e){const t=xt(),[,n]=Ea([]),r=To(),o=Qe(()=>{var u;const s=t.current,a=s.getState(),f=gr().early&&(u=a.nextTree)!==null&&u!==void 0?u:a.currentTree;return Co(s,e,f)},[t,e]),l=o(),i=Zr(l);return pr(()=>{i.current=l}),pr(()=>{const u=t.current,s=u.getState(),a=dr(u,e,d=>{var v;if(!le("recoil_suppress_rerender_in_callback"))return n([]);const _=o();(v=i.current)!==null&&v!==void 0&&v.is(_)||n(_),i.current=_},r);if(s.nextTree)u.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{i.current=null,n([])});else{var f;if(!le("recoil_suppress_rerender_in_callback"))return n([]);const d=o();(f=i.current)!==null&&f!==void 0&&f.is(d)||n(d),i.current=d}return a.release},[r,o,e,t]),l}function Ta(e){return le("recoil_memory_managament_2020")&&Ra(e),{TRANSITION_SUPPORT:ds,SYNC_EXTERNAL_STORE:b1()?n_:ds,MUTABLE_SOURCE:r_,LEGACY:o_}[gr().mode](e)}function Nh(e){const t=xt(),n=Ta(e);return ka(n,e,t)}function mi(e){const t=xt();return Qe(n=>{Dl(t.current,e,n)},[t,e])}function l_(e){const t=xt();return Qe(()=>{Dl(t.current,e,Th)},[t,e])}function i_(e){return[Nh(e),mi(e)]}function u_(e){return[Ta(e),mi(e)]}function s_(){const e=xt();return(t,n={})=>{Q1(()=>{e.current.addTransactionMetadata(n),t.forEach((r,o)=>J1(e.current,new fs(o),r))})}}function Lh(e){return le("recoil_memory_managament_2020")&&Ra(e),ds(e)}function Ah(e){const t=xt(),n=Lh(e);return ka(n,e,t)}function a_(e){return[Ah(e),mi(e)]}var c_={recoilComponentGetRecoilValueCount_FOR_TESTING:t_,useRecoilInterface:e_,useRecoilState:i_,useRecoilStateLoadable:u_,useRecoilValue:Nh,useRecoilValueLoadable:Ta,useResetRecoilState:l_,useSetRecoilState:mi,useSetUnvalidatedAtomValues:s_,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:Lh,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Ah,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:a_};function f_(e,t){const n=new Map;for(const[r,o]of e)t(o,r)&&n.set(r,o);return n}var d_=f_;function p_(e,t){const n=new Set;for(const r of e)t(r)&&n.add(r);return n}var h_=p_;function v_(...e){const t=new Map;for(let n=0;nt.current.subscribeToTransactions(e).release,[e,t])}function sf(e){const t=e.atomValues.toMap(),n=Vl(d_(t,(r,o)=>{const i=xh(o).persistence_UNSTABLE;return i!=null&&i.type!=="none"&&r.state==="hasValue"}),r=>r.contents);return m_(e.nonvalidatedAtoms.toMap(),n)}function k_(e){gi(yi(t=>{let n=t.getState().previousTree;const r=t.getState().currentTree;n||(n=t.getState().currentTree);const o=sf(r),l=sf(n),i=Vl(S_,s=>{var a,f,d,v;return{persistence_UNSTABLE:{type:(a=(f=s.persistence_UNSTABLE)===null||f===void 0?void 0:f.type)!==null&&a!==void 0?a:"none",backButton:(d=(v=s.persistence_UNSTABLE)===null||v===void 0?void 0:v.backButton)!==null&&d!==void 0?d:!1}}}),u=h_(r.dirtyAtoms,s=>o.has(s)||l.has(s));e({atomValues:o,previousAtomValues:l,atomInfo:i,modifiedAtoms:u,transactionMetadata:{...r.transactionMetadata}})},[e]))}function T_(e){gi(yi(t=>{const n=Ul(t,"latest"),r=Ul(t,"previous");e({snapshot:n,previousSnapshot:r})},[e]))}function C_(){const e=Ca(),[t,n]=E_(()=>Ul(e.current)),r=kh(t),o=lf(),l=lf();if(gi(yi(u=>n(Ul(u)),[])),Ph(()=>{const u=t.retain();if(o.current&&!uf){var s;window.clearTimeout(o.current),o.current=null,(s=l.current)===null||s===void 0||s.call(l),l.current=null}return()=>{window.setTimeout(u,10)}},[t]),r!==t&&!uf){if(o.current){var i;window.clearTimeout(o.current),o.current=null,(i=l.current)===null||i===void 0||i.call(l),l.current=null}l.current=t.retain(),o.current=window.setTimeout(()=>{var u;o.current=null,(u=l.current)===null||u===void 0||u.call(l),l.current=null},R_)}return t}function Mh(e,t){var n;const r=e.getState(),o=(n=r.nextTree)!==null&&n!==void 0?n:r.currentTree,l=t.getStore_INTERNAL().getState().currentTree;y_(()=>{const i=new Set;for(const a of[o.atomValues.keys(),l.atomValues.keys()])for(const f of a){var u,s;((u=o.atomValues.get(f))===null||u===void 0?void 0:u.contents)!==((s=l.atomValues.get(f))===null||s===void 0?void 0:s.contents)&&xh(f).shouldRestoreFromSnapshots&&i.add(f)}i.forEach(a=>{w_(e,new __(a),l.atomValues.has(a)?he(l.atomValues.get(a)):g_)}),e.replaceState(a=>({...a,stateID:t.getID()}))})}function N_(){const e=Ca();return yi(t=>Mh(e.current,t),[e])}var $h={useRecoilSnapshot:C_,gotoSnapshot:Mh,useGotoRecoilSnapshot:N_,useRecoilTransactionObserver:T_,useTransactionObservation_DEPRECATED:k_,useTransactionSubscription_DEPRECATED:gi};const{peekNodeInfo:L_}=dn,{useStoreRef:A_}=Bt;function x_(){const e=A_();return({key:t})=>L_(e.current,e.current.getState().currentTree,t)}var P_=x_;const{reactMode:M_}=Ro,{RecoilRoot:$_,useStoreRef:I_}=Bt,{useMemo:V_}=ae;function D_(){M_().mode==="MUTABLE_SOURCE"&&console.warn("Warning: There are known issues using useRecoilBridgeAcrossReactRoots() in recoil_mutable_source rendering mode. Please consider upgrading to recoil_sync_external_store mode.");const e=I_().current;return V_(()=>{function t({children:n}){return ae.createElement($_,{store_INTERNAL:e},n)}return t},[e])}var U_=D_;const{loadableWithValue:z_}=wo,{initializeNode:O_}=dn,{DEFAULT_VALUE:F_,getNode:B_}=Ye,{copyTreeState:j_,getRecoilValueAsLoadable:W_,invalidateDownstreams:H_,writeLoadableToTreeState:K_}=At;function af(e){return B_(e.key).nodeType==="atom"}class G_{constructor(t,n){b(this,"_store",void 0),b(this,"_treeState",void 0),b(this,"_changes",void 0),b(this,"get",r=>{if(this._changes.has(r.key))return this._changes.get(r.key);if(!af(r))throw Z("Reading selectors within atomicUpdate is not supported");const o=W_(this._store,r,this._treeState);if(o.state==="hasValue")return o.contents;throw o.state==="hasError"?o.contents:Z(`Expected Recoil atom ${r.key} to have a value, but it is in a loading state.`)}),b(this,"set",(r,o)=>{if(!af(r))throw Z("Setting selectors within atomicUpdate is not supported");if(typeof o=="function"){const l=this.get(r);this._changes.set(r.key,o(l))}else O_(this._store,r.key,"set"),this._changes.set(r.key,o)}),b(this,"reset",r=>{this.set(r,F_)}),this._store=t,this._treeState=n,this._changes=new Map}newTreeState_INTERNAL(){if(this._changes.size===0)return this._treeState;const t=j_(this._treeState);for(const[n,r]of this._changes)K_(t,n,z_(r));return H_(this._store,t),t}}function Q_(e){return t=>{e.replaceState(n=>{const r=new G_(e,n);return t(r),r.newTreeState_INTERNAL()})}}var b_={atomicUpdater:Q_},Y_=b_.atomicUpdater,Ih=Object.freeze({__proto__:null,atomicUpdater:Y_});function Z_(e,t){if(!e)throw new Error(t)}var X_=Z_,zr=X_;const{atomicUpdater:J_}=Ih,{batchUpdates:q_}=fi,{DEFAULT_VALUE:ew}=Ye,{useStoreRef:tw}=Bt,{refreshRecoilValue:nw,setRecoilValue:cf}=At,{cloneSnapshot:rw}=hi,{gotoSnapshot:ow}=$h,{useCallback:lw}=ae;class Vh{}const iw=new Vh;function Dh(e,t,n,r){let o=iw,l;if(q_(()=>{const u="useRecoilCallback() expects a function that returns a function: it accepts a function of the type (RecoilInterface) => (Args) => ReturnType and returns a callback function (Args) => ReturnType, where RecoilInterface is an object {snapshot, set, ...} and Args and ReturnType are the argument and return types of the callback you want to create. Please see the docs at recoiljs.org for details.";if(typeof t!="function")throw Z(u);const s=bp({...r??{},set:(f,d)=>cf(e,f,d),reset:f=>cf(e,f,ew),refresh:f=>nw(e,f),gotoSnapshot:f=>ow(e,f),transact_UNSTABLE:f=>J_(e)(f)},{snapshot:()=>{const f=rw(e);return l=f.retain(),f}}),a=t(s);if(typeof a!="function")throw Z(u);o=a(...n)}),o instanceof Vh&&zr(!1),pe(o))o.finally(()=>{var u;(u=l)===null||u===void 0||u()});else{var i;(i=l)===null||i===void 0||i()}return o}function uw(e,t){const n=tw();return lw((...r)=>Dh(n.current,e,r),t!=null?[...t,n]:void 0)}var Uh={recoilCallback:Dh,useRecoilCallback:uw};const{useStoreRef:sw}=Bt,{refreshRecoilValue:aw}=At,{useCallback:cw}=ae;function fw(e){const t=sw();return cw(()=>{const n=t.current;aw(n,e)},[e,t])}var dw=fw;const{atomicUpdater:pw}=Ih,{useStoreRef:hw}=Bt,{useMemo:vw}=ae;function mw(e,t){const n=hw();return vw(()=>(...r)=>{pw(n.current)(l=>{e(l)(...r)})},t!=null?[...t,n]:void 0)}var yw=mw;class gw{constructor(t){b(this,"value",void 0),this.value=t}}var Sw={WrappedValue:gw},_w=Sw.WrappedValue,zh=Object.freeze({__proto__:null,WrappedValue:_w});const{isFastRefreshEnabled:ww}=Ro;class ff extends Error{}class Rw{constructor(t){var n,r,o;b(this,"_name",void 0),b(this,"_numLeafs",void 0),b(this,"_root",void 0),b(this,"_onHit",void 0),b(this,"_onSet",void 0),b(this,"_mapNodeValue",void 0),this._name=t==null?void 0:t.name,this._numLeafs=0,this._root=null,this._onHit=(n=t==null?void 0:t.onHit)!==null&&n!==void 0?n:()=>{},this._onSet=(r=t==null?void 0:t.onSet)!==null&&r!==void 0?r:()=>{},this._mapNodeValue=(o=t==null?void 0:t.mapNodeValue)!==null&&o!==void 0?o:l=>l}size(){return this._numLeafs}root(){return this._root}get(t,n){var r;return(r=this.getLeafNode(t,n))===null||r===void 0?void 0:r.value}getLeafNode(t,n){if(this._root==null)return;let r=this._root;for(;r;){if(n==null||n.onNodeVisit(r),r.type==="leaf")return this._onHit(r),r;const o=this._mapNodeValue(t(r.nodeKey));r=r.branches.get(o)}}set(t,n,r){const o=()=>{var l,i,u,s;let a,f;for(const[O,h]of t){var d,v,_;const c=this._root;if((c==null?void 0:c.type)==="leaf")throw this.invalidCacheError();const p=a;if(a=p?p.branches.get(f):c,a=(d=a)!==null&&d!==void 0?d:{type:"branch",nodeKey:O,parent:p,branches:new Map,branchKey:f},a.type!=="branch"||a.nodeKey!==O)throw this.invalidCacheError();p==null||p.branches.set(f,a),r==null||(v=r.onNodeVisit)===null||v===void 0||v.call(r,a),f=this._mapNodeValue(h),this._root=(_=this._root)!==null&&_!==void 0?_:a}const g=a?(l=a)===null||l===void 0?void 0:l.branches.get(f):this._root;if(g!=null&&(g.type!=="leaf"||g.branchKey!==f))throw this.invalidCacheError();const w={type:"leaf",value:n,parent:a,branchKey:f};(i=a)===null||i===void 0||i.branches.set(f,w),this._root=(u=this._root)!==null&&u!==void 0?u:w,this._numLeafs++,this._onSet(w),r==null||(s=r.onNodeVisit)===null||s===void 0||s.call(r,w)};try{o()}catch(l){if(l instanceof ff)this.clear(),o();else throw l}}delete(t){const n=this.root();if(!n)return!1;if(t===n)return this._root=null,this._numLeafs=0,!0;let r=t.parent,o=t.branchKey;for(;r;){var l;if(r.branches.delete(o),r===n)return r.branches.size===0?(this._root=null,this._numLeafs=0):this._numLeafs--,!0;if(r.branches.size>0)break;o=(l=r)===null||l===void 0?void 0:l.branchKey,r=r.parent}for(;r!==n;r=r.parent)if(r==null)return!1;return this._numLeafs--,!0}clear(){this._numLeafs=0,this._root=null}invalidCacheError(){const t=ww()?"Possible Fast Refresh module reload detected. This may also be caused by an selector returning inconsistent values. Resetting cache.":"Invalid cache values. This happens when selectors do not return consistent values for the same input dependency values. That may also be caused when using Fast Refresh to change a selector implementation. Resetting cache.";throw fa(t+(this._name!=null?` - ${this._name}`:"")),new ff}}var Ew={TreeCache:Rw},kw=Ew.TreeCache,Oh=Object.freeze({__proto__:null,TreeCache:kw});class Tw{constructor(t){var n;b(this,"_maxSize",void 0),b(this,"_size",void 0),b(this,"_head",void 0),b(this,"_tail",void 0),b(this,"_map",void 0),b(this,"_keyMapper",void 0),this._maxSize=t.maxSize,this._size=0,this._head=null,this._tail=null,this._map=new Map,this._keyMapper=(n=t.mapKey)!==null&&n!==void 0?n:r=>r}head(){return this._head}tail(){return this._tail}size(){return this._size}maxSize(){return this._maxSize}has(t){return this._map.has(this._keyMapper(t))}get(t){const n=this._keyMapper(t),r=this._map.get(n);if(r)return this.set(t,r.value),r.value}set(t,n){const r=this._keyMapper(t);this._map.get(r)&&this.delete(t);const l=this.head(),i={key:t,right:l,left:null,value:n};l?l.left=i:this._tail=i,this._map.set(r,i),this._head=i,this._size++,this._maybeDeleteLRU()}_maybeDeleteLRU(){this.size()>this.maxSize()&&this.deleteLru()}deleteLru(){const t=this.tail();t&&this.delete(t.key)}delete(t){const n=this._keyMapper(t);if(!this._size||!this._map.has(n))return;const r=he(this._map.get(n)),o=r.right,l=r.left;o&&(o.left=r.left),l&&(l.right=r.right),r===this.head()&&(this._head=o),r===this.tail()&&(this._tail=l),this._map.delete(n),this._size--}clear(){this._size=0,this._head=null,this._tail=null,this._map=new Map}}var Cw={LRUCache:Tw},Nw=Cw.LRUCache,Fh=Object.freeze({__proto__:null,LRUCache:Nw});const{LRUCache:Lw}=Fh,{TreeCache:Aw}=Oh;function xw({name:e,maxSize:t,mapNodeValue:n=r=>r}){const r=new Lw({maxSize:t}),o=new Aw({name:e,mapNodeValue:n,onHit:l=>{r.set(l,!0)},onSet:l=>{const i=r.tail();r.set(l,!0),i&&o.size()>t&&o.delete(i.key)}});return o}var df=xw;function mt(e,t,n){if(typeof e=="string"&&!e.includes('"')&&!e.includes("\\"))return`"${e}"`;switch(typeof e){case"undefined":return"";case"boolean":return e?"true":"false";case"number":case"symbol":return String(e);case"string":return JSON.stringify(e);case"function":if((t==null?void 0:t.allowFunctions)!==!0)throw Z("Attempt to serialize function in a Recoil cache key");return`__FUNCTION(${e.name})__`}if(e===null)return"null";if(typeof e!="object"){var r;return(r=JSON.stringify(e))!==null&&r!==void 0?r:""}if(pe(e))return"__PROMISE__";if(Array.isArray(e))return`[${e.map((o,l)=>mt(o,t,l.toString()))}]`;if(typeof e.toJSON=="function")return mt(e.toJSON(n),t,n);if(e instanceof Map){const o={};for(const[l,i]of e)o[typeof l=="string"?l:mt(l,t)]=i;return mt(o,t,n)}return e instanceof Set?mt(Array.from(e).sort((o,l)=>mt(o,t).localeCompare(mt(l,t))),t,n):Symbol!==void 0&&e[Symbol.iterator]!=null&&typeof e[Symbol.iterator]=="function"?mt(Array.from(e),t,n):`{${Object.keys(e).filter(o=>e[o]!==void 0).sort().map(o=>`${mt(o,t)}:${mt(e[o],t,o)}`).join(",")}}`}function Pw(e,t={allowFunctions:!1}){return mt(e,t)}var Si=Pw;const{TreeCache:Mw}=Oh,Ko={equality:"reference",eviction:"keep-all",maxSize:1/0};function $w({equality:e=Ko.equality,eviction:t=Ko.eviction,maxSize:n=Ko.maxSize}=Ko,r){const o=Iw(e);return Vw(t,n,o,r)}function Iw(e){switch(e){case"reference":return t=>t;case"value":return t=>Si(t)}throw Z(`Unrecognized equality policy ${e}`)}function Vw(e,t,n,r){switch(e){case"keep-all":return new Mw({name:r,mapNodeValue:n});case"lru":return df({name:r,maxSize:he(t),mapNodeValue:n});case"most-recent":return df({name:r,maxSize:1,mapNodeValue:n})}throw Z(`Unrecognized eviction policy ${e}`)}var Dw=$w;function Uw(e){return()=>null}var zw={startPerfBlock:Uw};const{isLoadable:Ow,loadableWithError:Go,loadableWithPromise:Fw,loadableWithValue:ou}=wo,{WrappedValue:Bh}=zh,{getNodeLoadable:Qo,peekNodeLoadable:Bw,setNodeValue:jw}=dn,{saveDepsToStore:Ww}=Eo,{DEFAULT_VALUE:Hw,getConfigDeletionHandler:Kw,getNode:Gw,registerNode:pf}=Ye,{isRecoilValue:Qw}=fr,{markRecoilValueModified:hf}=At,{retainedByOptionWithDefault:bw}=$n,{recoilCallback:Yw}=Uh,{startPerfBlock:Zw}=zw;class jh{}const Pr=new jh,Mr=[],bo=new Map,Xw=(()=>{let e=0;return()=>e++})();function Wh(e){let t=null;const{key:n,get:r,cachePolicy_UNSTABLE:o}=e,l=e.set!=null?e.set:void 0,i=new Set,u=Dw(o??{equality:"reference",eviction:"keep-all"},n),s=bw(e.retainedBy_UNSTABLE),a=new Map;let f=0;function d(){return!le("recoil_memory_managament_2020")||f>0}function v(y){return y.getState().knownSelectors.add(n),f++,()=>{f--}}function _(){return Kw(n)!==void 0&&!d()}function g(y,C,A,G,V){Et(C,G,V),w(y,A)}function w(y,C){Me(y,C)&&ve(y),h(C,!0)}function O(y,C){Me(y,C)&&(he(U(y)).stateVersions.clear(),h(C,!1))}function h(y,C){const A=bo.get(y);if(A!=null){for(const G of A)hf(G,he(t));C&&bo.delete(y)}}function c(y,C){let A=bo.get(C);A==null&&bo.set(C,A=new Set),A.add(y)}function p(y,C,A,G,V,Y){return C.then(J=>{if(!d())throw ve(y),Pr;const B=ou(J);return g(y,A,V,B,G),J}).catch(J=>{if(!d())throw ve(y),Pr;if(pe(J))return R(y,J,A,G,V,Y);const B=Go(J);throw g(y,A,V,B,G),J})}function R(y,C,A,G,V,Y){return C.then(J=>{if(!d())throw ve(y),Pr;Y.loadingDepKey!=null&&Y.loadingDepPromise===C?A.atomValues.set(Y.loadingDepKey,ou(J)):y.getState().knownSelectors.forEach(re=>{A.atomValues.delete(re)});const B=L(y,A);if(B&&B.state!=="loading"){if((Me(y,V)||U(y)==null)&&w(y,V),B.state==="hasValue")return B.contents;throw B.contents}if(!Me(y,V)){const re=te(y,A);if(re!=null)return re.loadingLoadable.contents}const[ce,Ee]=N(y,A,V);if(ce.state!=="loading"&&g(y,A,V,ce,Ee),ce.state==="hasError")throw ce.contents;return ce.contents}).catch(J=>{if(J instanceof jh)throw Pr;if(!d())throw ve(y),Pr;const B=Go(J);throw g(y,A,V,B,G),J})}function T(y,C,A,G){var V,Y,J,B;if(Me(y,G)||C.version===((V=y.getState())===null||V===void 0||(Y=V.currentTree)===null||Y===void 0?void 0:Y.version)||C.version===((J=y.getState())===null||J===void 0||(B=J.nextTree)===null||B===void 0?void 0:B.version)){var ce,Ee,re;Ww(n,A,y,(ce=(Ee=y.getState())===null||Ee===void 0||(re=Ee.nextTree)===null||re===void 0?void 0:re.version)!==null&&ce!==void 0?ce:y.getState().currentTree.version)}for(const me of A)i.add(me)}function N(y,C,A){const G=Zw(n);let V=!0,Y=!0;const J=()=>{G(),Y=!1};let B,ce=!1,Ee;const re={loadingDepKey:null,loadingDepPromise:null},me=new Map;function pt({key:lt}){const Je=Qo(y,C,lt);switch(me.set(lt,Je),V||(T(y,C,new Set(me.keys()),A),O(y,A)),Je.state){case"hasValue":return Je.contents;case"hasError":throw Je.contents;case"loading":throw re.loadingDepKey=lt,re.loadingDepPromise=Je.contents,Je.contents}throw Z("Invalid Loadable state")}const hn=lt=>(...Je)=>{if(Y)throw Z("Callbacks from getCallback() should only be called asynchronously after the selector is evalutated. It can be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.");return t==null&&zr(!1),Yw(y,lt,Je,{node:t})};try{B=r({get:pt,getCallback:hn}),B=Qw(B)?pt(B):B,Ow(B)&&(B.state==="hasError"&&(ce=!0),B=B.contents),pe(B)?B=p(y,B,C,me,A,re).finally(J):J(),B=B instanceof Bh?B.value:B}catch(lt){B=lt,pe(B)?B=R(y,B,C,me,A,re).finally(J):(ce=!0,J())}return ce?Ee=Go(B):pe(B)?Ee=Fw(B):Ee=ou(B),V=!1,Ze(y,A,me),T(y,C,new Set(me.keys()),A),[Ee,me]}function L(y,C){let A=C.atomValues.get(n);if(A!=null)return A;const G=new Set;try{A=u.get(Y=>(typeof Y!="string"&&zr(!1),Qo(y,C,Y).contents),{onNodeVisit:Y=>{Y.type==="branch"&&Y.nodeKey!==n&&G.add(Y.nodeKey)}})}catch(Y){throw Z(`Problem with cache lookup for selector "${n}": ${Y.message}`)}if(A){var V;C.atomValues.set(n,A),T(y,C,G,(V=U(y))===null||V===void 0?void 0:V.executionID)}return A}function I(y,C){const A=L(y,C);if(A!=null)return ve(y),A;const G=te(y,C);if(G!=null){var V;return((V=G.loadingLoadable)===null||V===void 0?void 0:V.state)==="loading"&&c(y,G.executionID),G.loadingLoadable}const Y=Xw(),[J,B]=N(y,C,Y);return J.state==="loading"?(oe(y,Y,J,B,C),c(y,Y)):(ve(y),Et(C,J,B)),J}function te(y,C){const A=fh([a.has(y)?[he(a.get(y))]:[],ui(ma(a,([V])=>V!==y),([,V])=>V)]);function G(V){for(const[Y,J]of V)if(!Qo(y,C,Y).is(J))return!0;return!1}for(const V of A){if(V.stateVersions.get(C.version)||!G(V.depValuesDiscoveredSoFarDuringAsyncWork))return V.stateVersions.set(C.version,!0),V;V.stateVersions.set(C.version,!1)}}function U(y){return a.get(y)}function oe(y,C,A,G,V){a.set(y,{depValuesDiscoveredSoFarDuringAsyncWork:G,executionID:C,loadingLoadable:A,stateVersions:new Map([[V.version,!0]])})}function Ze(y,C,A){if(Me(y,C)){const G=U(y);G!=null&&(G.depValuesDiscoveredSoFarDuringAsyncWork=A)}}function ve(y){a.delete(y)}function Me(y,C){var A;return C===((A=U(y))===null||A===void 0?void 0:A.executionID)}function jt(y){return Array.from(y.entries()).map(([C,A])=>[C,A.contents])}function Et(y,C,A){y.atomValues.set(n,C);try{u.set(jt(A),C)}catch(G){throw Z(`Problem with setting cache for selector "${n}": ${G.message}`)}}function Xe(y){if(Mr.includes(n)){const C=`Recoil selector has circular dependencies: ${Mr.slice(Mr.indexOf(n)).join(" → ")}`;return Go(Z(C))}Mr.push(n);try{return y()}finally{Mr.pop()}}function M(y,C){const A=C.atomValues.get(n);return A??u.get(G=>{var V;return typeof G!="string"&&zr(!1),(V=Bw(y,C,G))===null||V===void 0?void 0:V.contents})}function W(y,C){return Xe(()=>I(y,C))}function $(y){y.atomValues.delete(n)}function F(y,C){t==null&&zr(!1);for(const G of i){var A;const V=Gw(G);(A=V.clearCache)===null||A===void 0||A.call(V,y,C)}i.clear(),$(C),u.clear(),hf(y,t)}return l!=null?t=pf({key:n,nodeType:"selector",peek:M,get:W,set:(C,A,G)=>{let V=!1;const Y=new Map;function J({key:re}){if(V)throw Z("Recoil: Async selector sets are not currently supported.");const me=Qo(C,A,re);if(me.state==="hasValue")return me.contents;if(me.state==="loading"){const pt=`Getting value of asynchronous atom or selector "${re}" in a pending state while setting selector "${n}" is not yet supported.`;throw Z(pt)}else throw me.contents}function B(re,me){if(V)throw Z("Recoil: Async selector sets are not currently supported.");const pt=typeof me=="function"?me(J(re)):me;jw(C,A,re.key,pt).forEach((lt,Je)=>Y.set(Je,lt))}function ce(re){B(re,Hw)}const Ee=l({set:B,get:J,reset:ce},G);if(Ee!==void 0)throw pe(Ee)?Z("Recoil: Async selector sets are not currently supported."):Z("Recoil: selector set should be a void function.");return V=!0,Y},init:v,invalidate:$,clearCache:F,shouldDeleteConfigOnRelease:_,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:s}):t=pf({key:n,nodeType:"selector",peek:M,get:W,init:v,invalidate:$,clearCache:F,shouldDeleteConfigOnRelease:_,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:s})}Wh.value=e=>new Bh(e);var hr=Wh;const{isLoadable:Jw,loadableWithError:lu,loadableWithPromise:iu,loadableWithValue:Dn}=wo,{WrappedValue:Hh}=zh,{peekNodeInfo:qw}=dn,{DEFAULT_VALUE:yn,DefaultValue:Gt,getConfigDeletionHandler:Kh,registerNode:eR,setConfigDeletionHandler:tR}=Ye,{isRecoilValue:nR}=fr,{getRecoilValueAsLoadable:rR,markRecoilValueModified:oR,setRecoilValue:vf,setRecoilValueLoadable:lR}=At,{retainedByOptionWithDefault:iR}=$n,$r=e=>e instanceof Hh?e.value:e;function uR(e){const{key:t,persistence_UNSTABLE:n}=e,r=iR(e.retainedBy_UNSTABLE);let o=0;function l(c){return iu(c.then(p=>(i=Dn(p),p)).catch(p=>{throw i=lu(p),p}))}let i=pe(e.default)?l(e.default):Jw(e.default)?e.default.state==="loading"?l(e.default.contents):e.default:Dn($r(e.default));i.contents;let u;const s=new Map;function a(c){return c}function f(c,p){const R=p.then(T=>{var N,L;return((L=((N=c.getState().nextTree)!==null&&N!==void 0?N:c.getState().currentTree).atomValues.get(t))===null||L===void 0?void 0:L.contents)===R&&vf(c,h,T),T}).catch(T=>{var N,L;throw((L=((N=c.getState().nextTree)!==null&&N!==void 0?N:c.getState().currentTree).atomValues.get(t))===null||L===void 0?void 0:L.contents)===R&&lR(c,h,lu(T)),T});return R}function d(c,p,R){var T;o++;const N=()=>{var U;o--,(U=s.get(c))===null||U===void 0||U.forEach(oe=>oe()),s.delete(c)};if(c.getState().knownAtoms.add(t),i.state==="loading"){const U=()=>{var oe;((oe=c.getState().nextTree)!==null&&oe!==void 0?oe:c.getState().currentTree).atomValues.has(t)||oR(c,h)};i.contents.finally(U)}const L=(T=e.effects)!==null&&T!==void 0?T:e.effects_UNSTABLE;if(L!=null){let Me=function($){if(oe&&$.key===t){const F=U;return F instanceof Gt?v(c,p):pe(F)?iu(F.then(y=>y instanceof Gt?i.toPromise():y)):Dn(F)}return rR(c,$)},jt=function($){return Me($).toPromise()},Et=function($){var F;const y=qw(c,(F=c.getState().nextTree)!==null&&F!==void 0?F:c.getState().currentTree,$.key);return oe&&$.key===t&&!(U instanceof Gt)?{...y,isSet:!0,loadable:Me($)}:y},U=yn,oe=!0,Ze=!1,ve=null;const Xe=$=>F=>{if(oe){const y=Me(h),C=y.state==="hasValue"?y.contents:yn;U=typeof F=="function"?F(C):F,pe(U)&&(U=U.then(A=>(ve={effect:$,value:A},A)))}else{if(pe(F))throw Z("Setting atoms to async values is not implemented.");typeof F!="function"&&(ve={effect:$,value:$r(F)}),vf(c,h,typeof F=="function"?y=>{const C=$r(F(y));return ve={effect:$,value:C},C}:$r(F))}},M=$=>()=>Xe($)(yn),W=$=>F=>{var y;const{release:C}=c.subscribeToTransactions(A=>{var G;let{currentTree:V,previousTree:Y}=A.getState();Y||(Y=V);const J=(G=V.atomValues.get(t))!==null&&G!==void 0?G:i;if(J.state==="hasValue"){var B,ce,Ee,re;const me=J.contents,pt=(B=Y.atomValues.get(t))!==null&&B!==void 0?B:i,hn=pt.state==="hasValue"?pt.contents:yn;((ce=ve)===null||ce===void 0?void 0:ce.effect)!==$||((Ee=ve)===null||Ee===void 0?void 0:Ee.value)!==me?F(me,hn,!V.atomValues.has(t)):((re=ve)===null||re===void 0?void 0:re.effect)===$&&(ve=null)}},t);s.set(c,[...(y=s.get(c))!==null&&y!==void 0?y:[],C])};for(const $ of L)try{const F=$({node:h,storeID:c.storeID,parentStoreID_UNSTABLE:c.parentStoreID,trigger:R,setSelf:Xe($),resetSelf:M($),onSet:W($),getPromise:jt,getLoadable:Me,getInfo_UNSTABLE:Et});if(F!=null){var I;s.set(c,[...(I=s.get(c))!==null&&I!==void 0?I:[],F])}}catch(F){U=F,Ze=!0}if(oe=!1,!(U instanceof Gt)){var te;const $=Ze?lu(U):pe(U)?iu(f(c,U)):Dn($r(U));$.contents,p.atomValues.set(t,$),(te=c.getState().nextTree)===null||te===void 0||te.atomValues.set(t,$)}}return N}function v(c,p){var R,T;return(R=(T=p.atomValues.get(t))!==null&&T!==void 0?T:u)!==null&&R!==void 0?R:i}function _(c,p){if(p.atomValues.has(t))return he(p.atomValues.get(t));if(p.nonvalidatedAtoms.has(t)){if(u!=null)return u;if(n==null)return i;const R=p.nonvalidatedAtoms.get(t),T=n.validator(R,yn);return u=T instanceof Gt?i:Dn(T),u}else return i}function g(){u=void 0}function w(c,p,R){if(p.atomValues.has(t)){const T=he(p.atomValues.get(t));if(T.state==="hasValue"&&R===T.contents)return new Map}else if(!p.nonvalidatedAtoms.has(t)&&R instanceof Gt)return new Map;return u=void 0,new Map().set(t,Dn(R))}function O(){return Kh(t)!==void 0&&o<=0}const h=eR({key:t,nodeType:"atom",peek:v,get:_,set:w,init:d,invalidate:g,shouldDeleteConfigOnRelease:O,dangerouslyAllowMutability:e.dangerouslyAllowMutability,persistence_UNSTABLE:e.persistence_UNSTABLE?{type:e.persistence_UNSTABLE.type,backButton:e.persistence_UNSTABLE.backButton}:void 0,shouldRestoreFromSnapshots:!0,retainedBy:r});return h}function Na(e){const{...t}=e,n="default"in e?e.default:new Promise(()=>{});return nR(n)?sR({...t,default:n}):uR({...t,default:n})}function sR(e){const t=Na({...e,default:yn,persistence_UNSTABLE:e.persistence_UNSTABLE===void 0?void 0:{...e.persistence_UNSTABLE,validator:r=>r instanceof Gt?r:he(e.persistence_UNSTABLE).validator(r,yn)},effects:e.effects,effects_UNSTABLE:e.effects_UNSTABLE}),n=hr({key:`${e.key}__withFallback`,get:({get:r})=>{const o=r(t);return o instanceof Gt?e.default:o},set:({set:r},o)=>r(t,o),cachePolicy_UNSTABLE:{eviction:"most-recent"},dangerouslyAllowMutability:e.dangerouslyAllowMutability});return tR(n.key,Kh(e.key)),n}Na.value=e=>new Hh(e);var Gh=Na;class aR{constructor(t){var n;b(this,"_map",void 0),b(this,"_keyMapper",void 0),this._map=new Map,this._keyMapper=(n=t==null?void 0:t.mapKey)!==null&&n!==void 0?n:r=>r}size(){return this._map.size}has(t){return this._map.has(this._keyMapper(t))}get(t){return this._map.get(this._keyMapper(t))}set(t,n){this._map.set(this._keyMapper(t),n)}delete(t){this._map.delete(this._keyMapper(t))}clear(){this._map.clear()}}var cR={MapCache:aR},fR=cR.MapCache,dR=Object.freeze({__proto__:null,MapCache:fR});const{LRUCache:mf}=Fh,{MapCache:pR}=dR,Yo={equality:"reference",eviction:"none",maxSize:1/0};function hR({equality:e=Yo.equality,eviction:t=Yo.eviction,maxSize:n=Yo.maxSize}=Yo){const r=vR(e);return mR(t,n,r)}function vR(e){switch(e){case"reference":return t=>t;case"value":return t=>Si(t)}throw Z(`Unrecognized equality policy ${e}`)}function mR(e,t,n){switch(e){case"keep-all":return new pR({mapKey:n});case"lru":return new mf({mapKey:n,maxSize:he(t)});case"most-recent":return new mf({mapKey:n,maxSize:1})}throw Z(`Unrecognized eviction policy ${e}`)}var Qh=hR;const{setConfigDeletionHandler:yR}=Ye;function gR(e){var t,n;const r=Qh({equality:(t=(n=e.cachePolicyForParams_UNSTABLE)===null||n===void 0?void 0:n.equality)!==null&&t!==void 0?t:"value",eviction:"keep-all"});return o=>{var l,i;const u=r.get(o);if(u!=null)return u;const{cachePolicyForParams_UNSTABLE:s,...a}=e,f="default"in e?e.default:new Promise(()=>{}),d=Gh({...a,key:`${e.key}__${(l=Si(o))!==null&&l!==void 0?l:"void"}`,default:typeof f=="function"?f(o):f,retainedBy_UNSTABLE:typeof e.retainedBy_UNSTABLE=="function"?e.retainedBy_UNSTABLE(o):e.retainedBy_UNSTABLE,effects:typeof e.effects=="function"?e.effects(o):typeof e.effects_UNSTABLE=="function"?e.effects_UNSTABLE(o):(i=e.effects)!==null&&i!==void 0?i:e.effects_UNSTABLE});return r.set(o,d),yR(d.key,()=>{r.delete(o)}),d}}var SR=gR;const{setConfigDeletionHandler:_R}=Ye;let wR=0;function RR(e){var t,n;const r=Qh({equality:(t=(n=e.cachePolicyForParams_UNSTABLE)===null||n===void 0?void 0:n.equality)!==null&&t!==void 0?t:"value",eviction:"keep-all"});return o=>{var l;let i;try{i=r.get(o)}catch(v){throw Z(`Problem with cache lookup for selector ${e.key}: ${v.message}`)}if(i!=null)return i;const u=`${e.key}__selectorFamily/${(l=Si(o,{allowFunctions:!0}))!==null&&l!==void 0?l:"void"}/${wR++}`,s=v=>e.get(o)(v),a=e.cachePolicy_UNSTABLE,f=typeof e.retainedBy_UNSTABLE=="function"?e.retainedBy_UNSTABLE(o):e.retainedBy_UNSTABLE;let d;if(e.set!=null){const v=e.set;d=hr({key:u,get:s,set:(g,w)=>v(o)(g,w),cachePolicy_UNSTABLE:a,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:f})}else d=hr({key:u,get:s,cachePolicy_UNSTABLE:a,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:f});return r.set(o,d),_R(d.key,()=>{r.delete(o)}),d}}var pn=RR;const ER=pn({key:"__constant",get:e=>()=>e,cachePolicyForParams_UNSTABLE:{equality:"reference"}});function kR(e){return ER(e)}var TR=kR;const CR=pn({key:"__error",get:e=>()=>{throw Z(e)},cachePolicyForParams_UNSTABLE:{equality:"reference"}});function NR(e){return CR(e)}var LR=NR;function AR(e){return e}var xR=AR;const{loadableWithError:bh,loadableWithPromise:Yh,loadableWithValue:Zh}=wo;function _i(e,t){const n=Array(t.length).fill(void 0),r=Array(t.length).fill(void 0);for(const[o,l]of t.entries())try{n[o]=e(l)}catch(i){r[o]=i}return[n,r]}function PR(e){return e!=null&&!pe(e)}function wi(e){return Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(t=>e[t])}function ps(e,t){return Array.isArray(e)?t:Object.getOwnPropertyNames(e).reduce((n,r,o)=>({...n,[r]:t[o]}),{})}function nr(e,t,n){const r=n.map((o,l)=>o==null?Zh(t[l]):pe(o)?Yh(o):bh(o));return ps(e,r)}function MR(e,t){return t.map((n,r)=>n===void 0?e[r]:n)}const $R=pn({key:"__waitForNone",get:e=>({get:t})=>{const n=wi(e),[r,o]=_i(t,n);return nr(e,r,o)},dangerouslyAllowMutability:!0}),IR=pn({key:"__waitForAny",get:e=>({get:t})=>{const n=wi(e),[r,o]=_i(t,n);return o.some(l=>!pe(l))?nr(e,r,o):new Promise(l=>{for(const[i,u]of o.entries())pe(u)&&u.then(s=>{r[i]=s,o[i]=void 0,l(nr(e,r,o))}).catch(s=>{o[i]=s,l(nr(e,r,o))})})},dangerouslyAllowMutability:!0}),VR=pn({key:"__waitForAll",get:e=>({get:t})=>{const n=wi(e),[r,o]=_i(t,n);if(o.every(i=>i==null))return ps(e,r);const l=o.find(PR);if(l!=null)throw l;return Promise.all(o).then(i=>ps(e,MR(r,i)))},dangerouslyAllowMutability:!0}),DR=pn({key:"__waitForAllSettled",get:e=>({get:t})=>{const n=wi(e),[r,o]=_i(t,n);return o.every(l=>!pe(l))?nr(e,r,o):Promise.all(o.map((l,i)=>pe(l)?l.then(u=>{r[i]=u,o[i]=void 0}).catch(u=>{r[i]=void 0,o[i]=u}):null)).then(()=>nr(e,r,o))},dangerouslyAllowMutability:!0}),UR=pn({key:"__noWait",get:e=>({get:t})=>{try{return hr.value(Zh(t(e)))}catch(n){return hr.value(pe(n)?Yh(n):bh(n))}},dangerouslyAllowMutability:!0});var zR={waitForNone:$R,waitForAny:IR,waitForAll:VR,waitForAllSettled:DR,noWait:UR};const{RecoilLoadable:OR}=wo,{DefaultValue:FR}=Ye,{RecoilRoot:BR,useRecoilStoreID:jR}=Bt,{isRecoilValue:WR}=fr,{retentionZone:HR}=ai,{freshSnapshot:KR}=hi,{useRecoilState:GR,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:QR,useRecoilStateLoadable:bR,useRecoilValue:YR,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:ZR,useRecoilValueLoadable:XR,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:JR,useResetRecoilState:qR,useSetRecoilState:eE}=c_,{useGotoRecoilSnapshot:tE,useRecoilSnapshot:nE,useRecoilTransactionObserver:rE}=$h,{useRecoilCallback:oE}=Uh,{noWait:lE,waitForAll:iE,waitForAllSettled:uE,waitForAny:sE,waitForNone:aE}=zR;var Ri={DefaultValue:FR,isRecoilValue:WR,RecoilLoadable:OR,RecoilEnv:Up,RecoilRoot:BR,useRecoilStoreID:jR,useRecoilBridgeAcrossReactRoots_UNSTABLE:U_,atom:Gh,selector:hr,atomFamily:SR,selectorFamily:pn,constSelector:TR,errorSelector:LR,readOnlySelector:xR,noWait:lE,waitForNone:aE,waitForAny:sE,waitForAll:iE,waitForAllSettled:uE,useRecoilValue:YR,useRecoilValueLoadable:XR,useRecoilState:GR,useRecoilStateLoadable:bR,useSetRecoilState:eE,useResetRecoilState:qR,useGetRecoilValueInfo_UNSTABLE:P_,useRecoilRefresher_UNSTABLE:dw,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:JR,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:ZR,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:QR,useRecoilCallback:oE,useRecoilTransaction_UNSTABLE:yw,useGotoRecoilSnapshot:tE,useRecoilSnapshot:nE,useRecoilTransactionObserver_UNSTABLE:rE,snapshot_UNSTABLE:KR,useRetain:Ra,retentionZone:HR},pE=Ri.RecoilRoot,hE=Ri.atom,vE=Ri.selectorFamily,mE=Ri.useRecoilValue;export{dE as B,uu as R,j as a,ae as b,Ly as c,hE as d,vE as e,mE as f,cE as g,fE as h,wg as i,pE as j,su as r,fg as u};
diff --git a/favicon.ico b/favicon.ico
new file mode 100644
index 0000000..2210cc4
Binary files /dev/null and b/favicon.ico differ
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..4b315ef
--- /dev/null
+++ b/index.html
@@ -0,0 +1,79 @@
+
+
+
+
+
+ Arkreen Network
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/logo192.svg b/logo192.svg
new file mode 100644
index 0000000..676e4ea
--- /dev/null
+++ b/logo192.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/meter.jpg b/meter.jpg
new file mode 100644
index 0000000..2aa240c
Binary files /dev/null and b/meter.jpg differ
diff --git a/meter3.jpg b/meter3.jpg
new file mode 100644
index 0000000..942f269
Binary files /dev/null and b/meter3.jpg differ
diff --git a/plug.jpeg b/plug.jpeg
new file mode 100644
index 0000000..794e53c
Binary files /dev/null and b/plug.jpeg differ
diff --git a/plug2.jpeg b/plug2.jpeg
new file mode 100644
index 0000000..9c393b9
Binary files /dev/null and b/plug2.jpeg differ