From d2b0c3c946ab12f795c83e2812d2003d775f93c1 Mon Sep 17 00:00:00 2001 From: hoeun0723 Date: Wed, 10 Jan 2024 06:35:07 +0000 Subject: [PATCH] =?UTF-8?q?Deploy=20preview=20for=20PR=2061=20=F0=9F=9B=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pr-preview/pr-61/assets/index-ZXlZaGTr.js | 446 ++++++++++++++++++++ pr-preview/pr-61/index.html | 17 + pr-preview/pr-61/svg/favicon.svg | 5 + pr-preview/pr-61/svg/ic_add.svg | 5 + pr-preview/pr-61/svg/ic_alert_circle.svg | 4 + pr-preview/pr-61/svg/ic_alert_square.svg | 3 + pr-preview/pr-61/svg/ic_alert_triangle.svg | 3 + pr-preview/pr-61/svg/ic_calender.svg | 3 + pr-preview/pr-61/svg/ic_cancel.svg | 3 + pr-preview/pr-61/svg/ic_cancel_circle.svg | 4 + pr-preview/pr-61/svg/ic_check_contained.svg | 3 + pr-preview/pr-61/svg/ic_circle.svg | 5 + pr-preview/pr-61/svg/ic_circle_pink.svg | 6 + pr-preview/pr-61/svg/ic_clock.svg | 3 + pr-preview/pr-61/svg/ic_copy.svg | 3 + pr-preview/pr-61/svg/ic_down.svg | 3 + pr-preview/pr-61/svg/ic_edit-2.svg | 3 + pr-preview/pr-61/svg/ic_edit.svg | 3 + pr-preview/pr-61/svg/ic_external.svg | 3 + pr-preview/pr-61/svg/ic_gift.svg | 3 + pr-preview/pr-61/svg/ic_img.svg | 3 + pr-preview/pr-61/svg/ic_img_add.svg | 3 + pr-preview/pr-61/svg/ic_kakao_small.svg | 12 + pr-preview/pr-61/svg/ic_kako_large.svg | 12 + pr-preview/pr-61/svg/ic_left.svg | 3 + pr-preview/pr-61/svg/ic_link.svg | 3 + pr-preview/pr-61/svg/ic_menu.svg | 3 + pr-preview/pr-61/svg/ic_plus.svg | 3 + pr-preview/pr-61/svg/ic_plus_image.svg | 6 + pr-preview/pr-61/svg/ic_refresh.svg | 3 + pr-preview/pr-61/svg/ic_right.svg | 3 + pr-preview/pr-61/svg/ic_settings.svg | 4 + pr-preview/pr-61/svg/ic_up.svg | 3 + pr-preview/pr-61/svg/ic_user.svg | 4 + pr-preview/pr-61/svg/logo_sweet.svg | 11 + pr-preview/pr-61/svg/logotype.svg | 8 + pr-preview/pr-61/svg/vite.svg | 1 + 37 files changed, 613 insertions(+) create mode 100644 pr-preview/pr-61/assets/index-ZXlZaGTr.js create mode 100644 pr-preview/pr-61/index.html create mode 100644 pr-preview/pr-61/svg/favicon.svg create mode 100644 pr-preview/pr-61/svg/ic_add.svg create mode 100644 pr-preview/pr-61/svg/ic_alert_circle.svg create mode 100644 pr-preview/pr-61/svg/ic_alert_square.svg create mode 100644 pr-preview/pr-61/svg/ic_alert_triangle.svg create mode 100644 pr-preview/pr-61/svg/ic_calender.svg create mode 100644 pr-preview/pr-61/svg/ic_cancel.svg create mode 100644 pr-preview/pr-61/svg/ic_cancel_circle.svg create mode 100644 pr-preview/pr-61/svg/ic_check_contained.svg create mode 100644 pr-preview/pr-61/svg/ic_circle.svg create mode 100644 pr-preview/pr-61/svg/ic_circle_pink.svg create mode 100644 pr-preview/pr-61/svg/ic_clock.svg create mode 100644 pr-preview/pr-61/svg/ic_copy.svg create mode 100644 pr-preview/pr-61/svg/ic_down.svg create mode 100644 pr-preview/pr-61/svg/ic_edit-2.svg create mode 100644 pr-preview/pr-61/svg/ic_edit.svg create mode 100644 pr-preview/pr-61/svg/ic_external.svg create mode 100644 pr-preview/pr-61/svg/ic_gift.svg create mode 100644 pr-preview/pr-61/svg/ic_img.svg create mode 100644 pr-preview/pr-61/svg/ic_img_add.svg create mode 100644 pr-preview/pr-61/svg/ic_kakao_small.svg create mode 100644 pr-preview/pr-61/svg/ic_kako_large.svg create mode 100644 pr-preview/pr-61/svg/ic_left.svg create mode 100644 pr-preview/pr-61/svg/ic_link.svg create mode 100644 pr-preview/pr-61/svg/ic_menu.svg create mode 100644 pr-preview/pr-61/svg/ic_plus.svg create mode 100644 pr-preview/pr-61/svg/ic_plus_image.svg create mode 100644 pr-preview/pr-61/svg/ic_refresh.svg create mode 100644 pr-preview/pr-61/svg/ic_right.svg create mode 100644 pr-preview/pr-61/svg/ic_settings.svg create mode 100644 pr-preview/pr-61/svg/ic_up.svg create mode 100644 pr-preview/pr-61/svg/ic_user.svg create mode 100644 pr-preview/pr-61/svg/logo_sweet.svg create mode 100644 pr-preview/pr-61/svg/logotype.svg create mode 100644 pr-preview/pr-61/svg/vite.svg diff --git a/pr-preview/pr-61/assets/index-ZXlZaGTr.js b/pr-preview/pr-61/assets/index-ZXlZaGTr.js new file mode 100644 index 00000000..cc6a2efb --- /dev/null +++ b/pr-preview/pr-61/assets/index-ZXlZaGTr.js @@ -0,0 +1,446 @@ +var _u=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var A=(e,t,n)=>(_u(e,t,"read from private field"),n?n.call(e):t.get(e)),we=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},ae=(e,t,n,r)=>(_u(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var Jl=(e,t,n,r)=>({set _(o){ae(e,t,o,n)},get _(){return A(e,t,r)}}),Je=(e,t,n)=>(_u(e,t,"access private method"),n);function _m(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Rm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Em={exports:{}},Es={},Tm={exports:{}},Se={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Al=Symbol.for("react.element"),J0=Symbol.for("react.portal"),eS=Symbol.for("react.fragment"),tS=Symbol.for("react.strict_mode"),nS=Symbol.for("react.profiler"),rS=Symbol.for("react.provider"),oS=Symbol.for("react.context"),iS=Symbol.for("react.forward_ref"),lS=Symbol.for("react.suspense"),aS=Symbol.for("react.memo"),sS=Symbol.for("react.lazy"),Zd=Symbol.iterator;function uS(e){return e===null||typeof e!="object"?null:(e=Zd&&e[Zd]||e["@@iterator"],typeof e=="function"?e:null)}var Cm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},km=Object.assign,xm={};function fi(e,t,n){this.props=e,this.context=t,this.refs=xm,this.updater=n||Cm}fi.prototype.isReactComponent={};fi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};fi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Nm(){}Nm.prototype=fi.prototype;function Lf(e,t,n){this.props=e,this.context=t,this.refs=xm,this.updater=n||Cm}var Pf=Lf.prototype=new Nm;Pf.constructor=Lf;km(Pf,fi.prototype);Pf.isPureReactComponent=!0;var Xd=Array.isArray,Lm=Object.prototype.hasOwnProperty,Af={current:null},Pm={key:!0,ref:!0,__self:!0,__source:!0};function Am(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)Lm.call(t,r)&&!Pm.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1>>1,E=V[K];if(0>>1;K<$;){var D=2*(K+1)-1,X=V[D],U=D+1,re=V[U];if(0>o(X,O))Uo(re,X)?(V[K]=re,V[U]=O,K=U):(V[K]=X,V[D]=O,K=D);else if(Uo(re,O))V[K]=re,V[U]=O,K=U;else break e}}return Y}function o(V,Y){var O=V.sortIndex-Y.sortIndex;return O!==0?O:V.id-Y.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var s=[],u=[],c=1,d=null,h=3,y=!1,g=!1,w=!1,T=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(V){for(var Y=n(u);Y!==null;){if(Y.callback===null)r(u);else if(Y.startTime<=V)r(u),Y.sortIndex=Y.expirationTime,t(s,Y);else break;Y=n(u)}}function C(V){if(w=!1,m(V),!g)if(n(s)!==null)g=!0,je(L);else{var Y=n(u);Y!==null&&ve(C,Y.startTime-V)}}function L(V,Y){g=!1,w&&(w=!1,p(P),P=-1),y=!0;var O=h;try{for(m(Y),d=n(s);d!==null&&(!(d.expirationTime>Y)||V&&!le());){var K=d.callback;if(typeof K=="function"){d.callback=null,h=d.priorityLevel;var E=K(d.expirationTime<=Y);Y=e.unstable_now(),typeof E=="function"?d.callback=E:d===n(s)&&r(s),m(Y)}else r(s);d=n(s)}if(d!==null)var $=!0;else{var D=n(u);D!==null&&ve(C,D.startTime-Y),$=!1}return $}finally{d=null,h=O,y=!1}}var v=!1,k=null,P=-1,F=5,G=-1;function le(){return!(e.unstable_now()-GV||125K?(V.sortIndex=O,t(u,V),n(s)===null&&V===n(u)&&(w?(p(P),P=-1):w=!0,ve(C,O-K))):(V.sortIndex=E,t(s,V),g||y||(g=!0,je(L))),V},e.unstable_shouldYield=le,e.unstable_wrapCallback=function(V){var Y=h;return function(){var O=h;h=Y;try{return V.apply(this,arguments)}finally{h=O}}}})(Im);$m.exports=Im;var _S=$m.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var bm=B,Vt=_S;function I(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fc=Object.prototype.hasOwnProperty,RS=/^[: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]*$/,eh={},th={};function ES(e){return fc.call(th,e)?!0:fc.call(eh,e)?!1:RS.test(e)?th[e]=!0:(eh[e]=!0,!1)}function TS(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function CS(e,t,n,r){if(t===null||typeof t>"u"||TS(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ct(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var dt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){dt[e]=new Ct(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];dt[t]=new Ct(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){dt[e]=new Ct(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){dt[e]=new Ct(e,2,!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".split(" ").forEach(function(e){dt[e]=new Ct(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){dt[e]=new Ct(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){dt[e]=new Ct(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){dt[e]=new Ct(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){dt[e]=new Ct(e,5,!1,e.toLowerCase(),null,!1,!1)});var Df=/[\-:]([a-z])/g;function $f(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".split(" ").forEach(function(e){var t=e.replace(Df,$f);dt[t]=new Ct(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Df,$f);dt[t]=new Ct(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Df,$f);dt[t]=new Ct(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){dt[e]=new Ct(e,1,!1,e.toLowerCase(),null,!1,!1)});dt.xlinkHref=new Ct("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){dt[e]=new Ct(e,1,!1,e.toLowerCase(),null,!0,!0)});function If(e,t,n,r){var o=dt.hasOwnProperty(t)?dt[t]:null;(o!==null?o.type!==0:r||!(2a||o[l]!==i[a]){var s=` +`+o[l].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=a);break}}}finally{Tu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ui(e):""}function kS(e){switch(e.tag){case 5:return Ui(e.type);case 16:return Ui("Lazy");case 13:return Ui("Suspense");case 19:return Ui("SuspenseList");case 0:case 2:case 15:return e=Cu(e.type,!1),e;case 11:return e=Cu(e.type.render,!1),e;case 1:return e=Cu(e.type,!0),e;default:return""}}function mc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case yo:return"Fragment";case vo:return"Portal";case dc:return"Profiler";case bf:return"StrictMode";case hc:return"Suspense";case pc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Um:return(e.displayName||"Context")+".Consumer";case Fm:return(e._context.displayName||"Context")+".Provider";case Of:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ff:return t=e.displayName||null,t!==null?t:mc(e.type)||"Memo";case Yn:t=e._payload,e=e._init;try{return mc(e(t))}catch{}}return null}function xS(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return mc(t);case 8:return t===bf?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Er(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Vm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function NS(e){var t=Vm(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function na(e){e._valueTracker||(e._valueTracker=NS(e))}function jm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Vm(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ba(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}}function vc(e,t){var n=t.checked;return He({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function rh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Er(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Bm(e,t){t=t.checked,t!=null&&If(e,"checked",t,!1)}function yc(e,t){Bm(e,t);var n=Er(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?gc(e,t.type,n):t.hasOwnProperty("defaultValue")&&gc(e,t.type,Er(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function oh(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function gc(e,t,n){(t!=="number"||Ba(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var zi=Array.isArray;function Ao(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=ra.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ll(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Hi={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},LS=["Webkit","ms","Moz","O"];Object.keys(Hi).forEach(function(e){LS.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Hi[t]=Hi[e]})});function Km(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Hi.hasOwnProperty(e)&&Hi[e]?(""+t).trim():t+"px"}function Qm(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Km(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var PS=He({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 _c(e,t){if(t){if(PS[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(I(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(I(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(I(61))}if(t.style!=null&&typeof t.style!="object")throw Error(I(62))}}function Rc(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 Ec=null;function Uf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Tc=null,Mo=null,Do=null;function ah(e){if(e=$l(e)){if(typeof Tc!="function")throw Error(I(280));var t=e.stateNode;t&&(t=Ns(t),Tc(e.stateNode,e.type,t))}}function qm(e){Mo?Do?Do.push(e):Do=[e]:Mo=e}function Ym(){if(Mo){var e=Mo,t=Do;if(Do=Mo=null,ah(e),t)for(e=0;e>>=0,e===0?32:31-(VS(e)/jS|0)|0}var oa=64,ia=4194304;function Vi(e){switch(e&-e){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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ka(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~o;a!==0?r=Vi(a):(i&=l,i!==0&&(r=Vi(i)))}else l=n&~o,l!==0?r=Vi(l):i!==0&&(r=Vi(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ml(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-dn(t),e[t]=n}function GS(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Ki),vh=" ",yh=!1;function vv(e,t){switch(e){case"keyup":return w1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var go=!1;function R1(e,t){switch(e){case"compositionend":return yv(t);case"keypress":return t.which!==32?null:(yh=!0,vh);case"textInput":return e=t.data,e===vh&&yh?null:e;default:return null}}function E1(e,t){if(go)return e==="compositionend"||!Kf&&vv(e,t)?(e=pv(),xa=Wf=ar=null,go=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=_h(n)}}function _v(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_v(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Rv(){for(var e=window,t=Ba();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ba(e.document)}return t}function Qf(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 M1(e){var t=Rv(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_v(n.ownerDocument.documentElement,n)){if(r!==null&&Qf(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Rh(n,i);var l=Rh(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,So=null,Pc=null,qi=null,Ac=!1;function Eh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ac||So==null||So!==Ba(r)||(r=So,"selectionStart"in r&&Qf(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),qi&&dl(qi,r)||(qi=r,r=Ya(Pc,"onSelect"),0Ro||(e.current=Oc[Ro],Oc[Ro]=null,Ro--)}function De(e,t){Ro++,Oc[Ro]=e.current,e.current=t}var Tr={},gt=kr(Tr),Pt=kr(!1),Qr=Tr;function Yo(e,t){var n=e.type.contextTypes;if(!n)return Tr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function At(e){return e=e.childContextTypes,e!=null}function Xa(){Oe(Pt),Oe(gt)}function Ph(e,t,n){if(gt.current!==Tr)throw Error(I(168));De(gt,t),De(Pt,n)}function Av(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(I(108,xS(e)||"Unknown",o));return He({},n,r)}function Ja(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Tr,Qr=gt.current,De(gt,e),De(Pt,Pt.current),!0}function Ah(e,t,n){var r=e.stateNode;if(!r)throw Error(I(169));n?(e=Av(e,t,Qr),r.__reactInternalMemoizedMergedChildContext=e,Oe(Pt),Oe(gt),De(gt,e)):Oe(Pt),De(Pt,n)}var Dn=null,Ls=!1,Uu=!1;function Mv(e){Dn===null?Dn=[e]:Dn.push(e)}function W1(e){Ls=!0,Mv(e)}function xr(){if(!Uu&&Dn!==null){Uu=!0;var e=0,t=Ce;try{var n=Dn;for(Ce=1;e>=l,o-=l,$n=1<<32-dn(t)+o|n<P?(F=k,k=null):F=k.sibling;var G=h(p,k,m[P],C);if(G===null){k===null&&(k=F);break}e&&k&&G.alternate===null&&t(p,k),f=i(G,f,P),v===null?L=G:v.sibling=G,v=G,k=F}if(P===m.length)return n(p,k),ze&&Ar(p,P),L;if(k===null){for(;PP?(F=k,k=null):F=k.sibling;var le=h(p,k,G.value,C);if(le===null){k===null&&(k=F);break}e&&k&&le.alternate===null&&t(p,k),f=i(le,f,P),v===null?L=le:v.sibling=le,v=le,k=F}if(G.done)return n(p,k),ze&&Ar(p,P),L;if(k===null){for(;!G.done;P++,G=m.next())G=d(p,G.value,C),G!==null&&(f=i(G,f,P),v===null?L=G:v.sibling=G,v=G);return ze&&Ar(p,P),L}for(k=r(p,k);!G.done;P++,G=m.next())G=y(k,p,P,G.value,C),G!==null&&(e&&G.alternate!==null&&k.delete(G.key===null?P:G.key),f=i(G,f,P),v===null?L=G:v.sibling=G,v=G);return e&&k.forEach(function(ke){return t(p,ke)}),ze&&Ar(p,P),L}function T(p,f,m,C){if(typeof m=="object"&&m!==null&&m.type===yo&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case ta:e:{for(var L=m.key,v=f;v!==null;){if(v.key===L){if(L=m.type,L===yo){if(v.tag===7){n(p,v.sibling),f=o(v,m.props.children),f.return=p,p=f;break e}}else if(v.elementType===L||typeof L=="object"&&L!==null&&L.$$typeof===Yn&&Fh(L)===v.type){n(p,v.sibling),f=o(v,m.props),f.ref=ki(p,v,m),f.return=p,p=f;break e}n(p,v);break}else t(p,v);v=v.sibling}m.type===yo?(f=Hr(m.props.children,p.mode,C,m.key),f.return=p,p=f):(C=Ia(m.type,m.key,m.props,null,p.mode,C),C.ref=ki(p,f,m),C.return=p,p=C)}return l(p);case vo:e:{for(v=m.key;f!==null;){if(f.key===v)if(f.tag===4&&f.stateNode.containerInfo===m.containerInfo&&f.stateNode.implementation===m.implementation){n(p,f.sibling),f=o(f,m.children||[]),f.return=p,p=f;break e}else{n(p,f);break}else t(p,f);f=f.sibling}f=Ku(m,p.mode,C),f.return=p,p=f}return l(p);case Yn:return v=m._init,T(p,f,v(m._payload),C)}if(zi(m))return g(p,f,m,C);if(_i(m))return w(p,f,m,C);da(p,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,f!==null&&f.tag===6?(n(p,f.sibling),f=o(f,m),f.return=p,p=f):(n(p,f),f=Gu(m,p.mode,C),f.return=p,p=f),l(p)):n(p,f)}return T}var Xo=zv(!0),Vv=zv(!1),Il={},kn=kr(Il),vl=kr(Il),yl=kr(Il);function br(e){if(e===Il)throw Error(I(174));return e}function rd(e,t){switch(De(yl,t),De(vl,e),De(kn,Il),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:wc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=wc(t,e)}Oe(kn),De(kn,t)}function Jo(){Oe(kn),Oe(vl),Oe(yl)}function jv(e){br(yl.current);var t=br(kn.current),n=wc(t,e.type);t!==n&&(De(vl,e),De(kn,n))}function od(e){vl.current===e&&(Oe(kn),Oe(vl))}var Be=kr(0);function is(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;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 zu=[];function id(){for(var e=0;en?n:4,e(!0);var r=Vu.transition;Vu.transition={};try{e(!1),t()}finally{Ce=n,Vu.transition=r}}function oy(){return tn().memoizedState}function Q1(e,t,n){var r=wr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},iy(e))ly(t,n);else if(n=bv(e,t,n,r),n!==null){var o=Et();hn(n,e,r,o),ay(n,t,r)}}function q1(e,t,n){var r=wr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(iy(e))ly(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,a=i(l,n);if(o.hasEagerState=!0,o.eagerState=a,mn(a,l)){var s=t.interleaved;s===null?(o.next=o,td(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=bv(e,t,o,r),n!==null&&(o=Et(),hn(n,e,r,o),ay(n,t,r))}}function iy(e){var t=e.alternate;return e===We||t!==null&&t===We}function ly(e,t){Yi=ls=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ay(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Vf(e,n)}}var as={readContext:en,useCallback:pt,useContext:pt,useEffect:pt,useImperativeHandle:pt,useInsertionEffect:pt,useLayoutEffect:pt,useMemo:pt,useReducer:pt,useRef:pt,useState:pt,useDebugValue:pt,useDeferredValue:pt,useTransition:pt,useMutableSource:pt,useSyncExternalStore:pt,useId:pt,unstable_isNewReconciler:!1},Y1={readContext:en,useCallback:function(e,t){return Sn().memoizedState=[e,t===void 0?null:t],e},useContext:en,useEffect:zh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Aa(4194308,4,Jv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Aa(4194308,4,e,t)},useInsertionEffect:function(e,t){return Aa(4,2,e,t)},useMemo:function(e,t){var n=Sn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Sn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Q1.bind(null,We,e),[r.memoizedState,e]},useRef:function(e){var t=Sn();return e={current:e},t.memoizedState=e},useState:Uh,useDebugValue:cd,useDeferredValue:function(e){return Sn().memoizedState=e},useTransition:function(){var e=Uh(!1),t=e[0];return e=K1.bind(null,e[1]),Sn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=We,o=Sn();if(ze){if(n===void 0)throw Error(I(407));n=n()}else{if(n=t(),st===null)throw Error(I(349));Yr&30||Hv(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,zh(Kv.bind(null,r,i,e),[e]),r.flags|=2048,wl(9,Gv.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Sn(),t=st.identifierPrefix;if(ze){var n=In,r=$n;n=(r&~(1<<32-dn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=gl++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[Tn]=t,e[ml]=r,vy(e,t,!1,!1),t.stateNode=e;e:{switch(l=Rc(n,r),n){case"dialog":$e("cancel",e),$e("close",e),o=r;break;case"iframe":case"object":case"embed":$e("load",e),o=r;break;case"video":case"audio":for(o=0;oti&&(t.flags|=128,r=!0,xi(i,!1),t.lanes=4194304)}else{if(!r)if(e=is(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),xi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!ze)return mt(t),null}else 2*Ye()-i.renderingStartTime>ti&&n!==1073741824&&(t.flags|=128,r=!0,xi(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ye(),t.sibling=null,n=Be.current,De(Be,r?n&1|2:n&1),t):(mt(t),null);case 22:case 23:return vd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ft&1073741824&&(mt(t),t.subtreeFlags&6&&(t.flags|=8192)):mt(t),null;case 24:return null;case 25:return null}throw Error(I(156,t.tag))}function ow(e,t){switch(Yf(t),t.tag){case 1:return At(t.type)&&Xa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Jo(),Oe(Pt),Oe(gt),id(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return od(t),null;case 13:if(Oe(Be),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(I(340));Zo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Oe(Be),null;case 4:return Jo(),null;case 10:return ed(t.type._context),null;case 22:case 23:return vd(),null;case 24:return null;default:return null}}var pa=!1,yt=!1,iw=typeof WeakSet=="function"?WeakSet:Set,q=null;function ko(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ke(e,t,r)}else n.current=null}function qc(e,t,n){try{n()}catch(r){Ke(e,t,r)}}var qh=!1;function lw(e,t){if(Mc=Qa,e=Rv(),Qf(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,a=-1,s=-1,u=0,c=0,d=e,h=null;t:for(;;){for(var y;d!==n||o!==0&&d.nodeType!==3||(a=l+o),d!==i||r!==0&&d.nodeType!==3||(s=l+r),d.nodeType===3&&(l+=d.nodeValue.length),(y=d.firstChild)!==null;)h=d,d=y;for(;;){if(d===e)break t;if(h===n&&++u===o&&(a=l),h===i&&++c===r&&(s=l),(y=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=y}n=a===-1||s===-1?null:{start:a,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Dc={focusedElem:e,selectionRange:n},Qa=!1,q=t;q!==null;)if(t=q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,q=e;else for(;q!==null;){t=q;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var w=g.memoizedProps,T=g.memoizedState,p=t.stateNode,f=p.getSnapshotBeforeUpdate(t.elementType===t.type?w:ln(t.type,w),T);p.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(I(163))}}catch(C){Ke(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,q=e;break}q=t.return}return g=qh,qh=!1,g}function Zi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&qc(t,n,i)}o=o.next}while(o!==r)}}function Ms(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Yc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Sy(e){var t=e.alternate;t!==null&&(e.alternate=null,Sy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Tn],delete t[ml],delete t[bc],delete t[j1],delete t[B1])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function wy(e){return e.tag===5||e.tag===3||e.tag===4}function Yh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||wy(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Zc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Za));else if(r!==4&&(e=e.child,e!==null))for(Zc(e,t,n),e=e.sibling;e!==null;)Zc(e,t,n),e=e.sibling}function Xc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Xc(e,t,n),e=e.sibling;e!==null;)Xc(e,t,n),e=e.sibling}var ct=null,un=!1;function Gn(e,t,n){for(n=n.child;n!==null;)_y(e,t,n),n=n.sibling}function _y(e,t,n){if(Cn&&typeof Cn.onCommitFiberUnmount=="function")try{Cn.onCommitFiberUnmount(Ts,n)}catch{}switch(n.tag){case 5:yt||ko(n,t);case 6:var r=ct,o=un;ct=null,Gn(e,t,n),ct=r,un=o,ct!==null&&(un?(e=ct,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ct.removeChild(n.stateNode));break;case 18:ct!==null&&(un?(e=ct,n=n.stateNode,e.nodeType===8?Fu(e.parentNode,n):e.nodeType===1&&Fu(e,n),cl(e)):Fu(ct,n.stateNode));break;case 4:r=ct,o=un,ct=n.stateNode.containerInfo,un=!0,Gn(e,t,n),ct=r,un=o;break;case 0:case 11:case 14:case 15:if(!yt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&qc(n,t,l),o=o.next}while(o!==r)}Gn(e,t,n);break;case 1:if(!yt&&(ko(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ke(n,t,a)}Gn(e,t,n);break;case 21:Gn(e,t,n);break;case 22:n.mode&1?(yt=(r=yt)||n.memoizedState!==null,Gn(e,t,n),yt=r):Gn(e,t,n);break;default:Gn(e,t,n)}}function Zh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new iw),t.forEach(function(r){var o=mw.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function rn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=Ye()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*sw(r/1960))-r,10e?16:e,sr===null)var r=!1;else{if(e=sr,sr=null,cs=0,Re&6)throw Error(I(331));var o=Re;for(Re|=4,q=e.current;q!==null;){var i=q,l=i.child;if(q.flags&16){var a=i.deletions;if(a!==null){for(var s=0;sYe()-pd?Wr(e,0):hd|=n),Mt(e,t)}function Ly(e,t){t===0&&(e.mode&1?(t=ia,ia<<=1,!(ia&130023424)&&(ia=4194304)):t=1);var n=Et();e=Un(e,t),e!==null&&(Ml(e,t,n),Mt(e,n))}function pw(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ly(e,n)}function mw(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(I(314))}r!==null&&r.delete(t),Ly(e,n)}var Py;Py=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Pt.current)Lt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Lt=!1,nw(e,t,n);Lt=!!(e.flags&131072)}else Lt=!1,ze&&t.flags&1048576&&Dv(t,ts,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ma(e,t),e=t.pendingProps;var o=Yo(t,gt.current);Io(t,n),o=ad(null,t,r,e,o,n);var i=sd();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,At(r)?(i=!0,Ja(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,nd(t),o.updater=Ps,t.stateNode=o,o._reactInternals=t,jc(t,r,e,n),t=Hc(null,t,r,!0,i,n)):(t.tag=0,ze&&i&&qf(t),_t(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ma(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=yw(r),e=ln(r,e),o){case 0:t=Wc(null,t,r,e,n);break e;case 1:t=Gh(null,t,r,e,n);break e;case 11:t=Wh(null,t,r,e,n);break e;case 14:t=Hh(null,t,r,ln(r.type,e),n);break e}throw Error(I(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ln(r,o),Wc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ln(r,o),Gh(e,t,r,o,n);case 3:e:{if(hy(t),e===null)throw Error(I(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Ov(e,t),os(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=ei(Error(I(423)),t),t=Kh(e,t,r,n,o);break e}else if(r!==o){o=ei(Error(I(424)),t),t=Kh(e,t,r,n,o);break e}else for(Ut=yr(t.stateNode.containerInfo.firstChild),zt=t,ze=!0,fn=null,n=Vv(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Zo(),r===o){t=zn(e,t,n);break e}_t(e,t,r,n)}t=t.child}return t;case 5:return jv(t),e===null&&Uc(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,$c(r,o)?l=null:i!==null&&$c(r,i)&&(t.flags|=32),dy(e,t),_t(e,t,l,n),t.child;case 6:return e===null&&Uc(t),null;case 13:return py(e,t,n);case 4:return rd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Xo(t,null,r,n):_t(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ln(r,o),Wh(e,t,r,o,n);case 7:return _t(e,t,t.pendingProps,n),t.child;case 8:return _t(e,t,t.pendingProps.children,n),t.child;case 12:return _t(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,De(ns,r._currentValue),r._currentValue=l,i!==null)if(mn(i.value,l)){if(i.children===o.children&&!Pt.current){t=zn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){l=i.child;for(var s=a.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=bn(-1,n&-n),s.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),zc(i.return,n,t),a.lanes|=n;break}s=s.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(I(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),zc(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}_t(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Io(t,n),o=en(o),r=r(o),t.flags|=1,_t(e,t,r,n),t.child;case 14:return r=t.type,o=ln(r,t.pendingProps),o=ln(r.type,o),Hh(e,t,r,o,n);case 15:return cy(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ln(r,o),Ma(e,t),t.tag=1,At(r)?(e=!0,Ja(t)):e=!1,Io(t,n),Uv(t,r,o),jc(t,r,o,n),Hc(null,t,r,!0,e,n);case 19:return my(e,t,n);case 22:return fy(e,t,n)}throw Error(I(156,t.tag))};function Ay(e,t){return rv(e,t)}function vw(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Xt(e,t,n,r){return new vw(e,t,n,r)}function gd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function yw(e){if(typeof e=="function")return gd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Of)return 11;if(e===Ff)return 14}return 2}function _r(e,t){var n=e.alternate;return n===null?(n=Xt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ia(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")gd(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case yo:return Hr(n.children,o,i,t);case bf:l=8,o|=8;break;case dc:return e=Xt(12,n,t,o|2),e.elementType=dc,e.lanes=i,e;case hc:return e=Xt(13,n,t,o),e.elementType=hc,e.lanes=i,e;case pc:return e=Xt(19,n,t,o),e.elementType=pc,e.lanes=i,e;case zm:return $s(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Fm:l=10;break e;case Um:l=9;break e;case Of:l=11;break e;case Ff:l=14;break e;case Yn:l=16,r=null;break e}throw Error(I(130,e==null?e:typeof e,""))}return t=Xt(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Hr(e,t,n,r){return e=Xt(7,e,r,t),e.lanes=n,e}function $s(e,t,n,r){return e=Xt(22,e,r,t),e.elementType=zm,e.lanes=n,e.stateNode={isHidden:!1},e}function Gu(e,t,n){return e=Xt(6,e,null,t),e.lanes=n,e}function Ku(e,t,n){return t=Xt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function gw(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=xu(0),this.expirationTimes=xu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Sd(e,t,n,r,o,i,l,a,s){return e=new gw(e,t,n,a,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Xt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},nd(i),e}function Sw(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Iy)}catch(e){console.error(e)}}Iy(),Dm.exports=jt;var Ed=Dm.exports;const by=Rm(Ed),Tw=_m({__proto__:null,default:by},[Ed]);var ip=Ed;cc.createRoot=ip.createRoot,cc.hydrateRoot=ip.hydrateRoot;var Us=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},zs=typeof window>"u"||"Deno"in window;function an(){}function Cw(e,t){return typeof e=="function"?e(t):e}function kw(e){return typeof e=="number"&&e>=0&&e!==1/0}function xw(e,t){return Math.max(e+(t||0)-Date.now(),0)}function lp(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:l,stale:a}=e;if(l){if(r){if(t.queryHash!==Td(l,t.options))return!1}else if(!El(t.queryKey,l))return!1}if(n!=="all"){const s=t.isActive();if(n==="active"&&!s||n==="inactive"&&s)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||typeof o<"u"&&o!==t.state.fetchStatus||i&&!i(t))}function ap(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Rl(t.options.mutationKey)!==Rl(i))return!1}else if(!El(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Td(e,t){return((t==null?void 0:t.queryKeyHashFn)||Rl)(e)}function Rl(e){return JSON.stringify(e,(t,n)=>rf(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function El(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!El(e[n],t[n])):!1}function Oy(e,t){if(e===t)return e;const n=sp(e)&&sp(t);if(n||rf(e)&&rf(t)){const r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,l=n?[]:{};let a=0;for(let s=0;s"u")return!0;const n=t.prototype;return!(!up(n)||!n.hasOwnProperty("isPrototypeOf"))}function up(e){return Object.prototype.toString.call(e)==="[object Object]"}function Nw(e){return new Promise(t=>{setTimeout(t,e)})}function Lw(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Oy(e,t):t}function Pw(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Aw(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var zr,tr,Fo,hm,Mw=(hm=class extends Us{constructor(){super();we(this,zr,void 0);we(this,tr,void 0);we(this,Fo,void 0);ae(this,Fo,t=>{if(!zs&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){A(this,tr)||this.setEventListener(A(this,Fo))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,tr))==null||t.call(this),ae(this,tr,void 0))}setEventListener(t){var n;ae(this,Fo,t),(n=A(this,tr))==null||n.call(this),ae(this,tr,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){A(this,zr)!==t&&(ae(this,zr,t),this.onFocus())}onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){var t;return typeof A(this,zr)=="boolean"?A(this,zr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},zr=new WeakMap,tr=new WeakMap,Fo=new WeakMap,hm),of=new Mw,Uo,nr,zo,pm,Dw=(pm=class extends Us{constructor(){super();we(this,Uo,!0);we(this,nr,void 0);we(this,zo,void 0);ae(this,zo,t=>{if(!zs&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){A(this,nr)||this.setEventListener(A(this,zo))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,nr))==null||t.call(this),ae(this,nr,void 0))}setEventListener(t){var n;ae(this,zo,t),(n=A(this,nr))==null||n.call(this),ae(this,nr,t(this.setOnline.bind(this)))}setOnline(t){A(this,Uo)!==t&&(ae(this,Uo,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return A(this,Uo)}},Uo=new WeakMap,nr=new WeakMap,zo=new WeakMap,pm),hs=new Dw;function $w(e){return Math.min(1e3*2**e,3e4)}function Cd(e){return(e??"online")==="online"?hs.isOnline():!0}var Fy=class{constructor(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Qu(e){return e instanceof Fy}function Uy(e){let t=!1,n=0,r=!1,o,i,l;const a=new Promise((T,p)=>{i=T,l=p}),s=T=>{var p;r||(y(new Fy(T)),(p=e.abort)==null||p.call(e))},u=()=>{t=!0},c=()=>{t=!1},d=()=>!of.isFocused()||e.networkMode!=="always"&&!hs.isOnline(),h=T=>{var p;r||(r=!0,(p=e.onSuccess)==null||p.call(e,T),o==null||o(),i(T))},y=T=>{var p;r||(r=!0,(p=e.onError)==null||p.call(e,T),o==null||o(),l(T))},g=()=>new Promise(T=>{var p;o=f=>{const m=r||!d();return m&&T(f),m},(p=e.onPause)==null||p.call(e)}).then(()=>{var T;o=void 0,r||(T=e.onContinue)==null||T.call(e)}),w=()=>{if(r)return;let T;try{T=e.fn()}catch(p){T=Promise.reject(p)}Promise.resolve(T).then(h).catch(p=>{var v;if(r)return;const f=e.retry??(zs?0:3),m=e.retryDelay??$w,C=typeof m=="function"?m(n,p):m,L=f===!0||typeof f=="number"&&n{if(d())return g()}).then(()=>{t?y(p):w()})})};return Cd(e.networkMode)?w():g().then(w),{promise:a,cancel:s,continue:()=>(o==null?void 0:o())?a:Promise.resolve(),cancelRetry:u,continueRetry:c}}function Iw(){let e=[],t=0,n=h=>{h()},r=h=>{h()},o=h=>setTimeout(h,0);const i=h=>{o=h},l=h=>{let y;t++;try{y=h()}finally{t--,t||u()}return y},a=h=>{t?e.push(h):o(()=>{n(h)})},s=h=>(...y)=>{a(()=>{h(...y)})},u=()=>{const h=e;e=[],h.length&&o(()=>{r(()=>{h.forEach(y=>{n(y)})})})};return{batch:l,batchCalls:s,schedule:a,setNotifyFunction:h=>{n=h},setBatchNotifyFunction:h=>{r=h},setScheduler:i}}var Rt=Iw(),Vr,mm,zy=(mm=class{constructor(){we(this,Vr,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),kw(this.gcTime)&&ae(this,Vr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(zs?1/0:5*60*1e3))}clearGcTimeout(){A(this,Vr)&&(clearTimeout(A(this,Vr)),ae(this,Vr,void 0))}},Vr=new WeakMap,mm),Vo,jo,Gt,rr,Kt,ot,Nl,jr,Bo,ba,sn,Pn,vm,bw=(vm=class extends zy{constructor(t){super();we(this,Bo);we(this,sn);we(this,Vo,void 0);we(this,jo,void 0);we(this,Gt,void 0);we(this,rr,void 0);we(this,Kt,void 0);we(this,ot,void 0);we(this,Nl,void 0);we(this,jr,void 0);ae(this,jr,!1),ae(this,Nl,t.defaultOptions),Je(this,Bo,ba).call(this,t.options),ae(this,ot,[]),ae(this,Gt,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ae(this,Vo,t.state||Ow(this.options)),this.state=A(this,Vo),this.scheduleGc()}get meta(){return this.options.meta}optionalRemove(){!A(this,ot).length&&this.state.fetchStatus==="idle"&&A(this,Gt).remove(this)}setData(t,n){const r=Lw(this.state.data,t,this.options);return Je(this,sn,Pn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Je(this,sn,Pn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r;const n=A(this,rr);return(r=A(this,Kt))==null||r.cancel(t),n?n.then(an).catch(an):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(A(this,Vo))}isActive(){return A(this,ot).some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||A(this,ot).some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!xw(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=A(this,ot).find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,Kt))==null||n.continue()}onOnline(){var n;const t=A(this,ot).find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,Kt))==null||n.continue()}addObserver(t){A(this,ot).includes(t)||(A(this,ot).push(t),this.clearGcTimeout(),A(this,Gt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){A(this,ot).includes(t)&&(ae(this,ot,A(this,ot).filter(n=>n!==t)),A(this,ot).length||(A(this,Kt)&&(A(this,jr)?A(this,Kt).cancel({revert:!0}):A(this,Kt).cancelRetry()),this.scheduleGc()),A(this,Gt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return A(this,ot).length}invalidate(){this.state.isInvalidated||Je(this,sn,Pn).call(this,{type:"invalidate"})}fetch(t,n){var u,c,d,h;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(A(this,rr))return(u=A(this,Kt))==null||u.continueRetry(),A(this,rr)}if(t&&Je(this,Bo,ba).call(this,t),!this.options.queryFn){const y=A(this,ot).find(g=>g.options.queryFn);y&&Je(this,Bo,ba).call(this,y.options)}const r=new AbortController,o={queryKey:this.queryKey,meta:this.meta},i=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(ae(this,jr,!0),r.signal)})};i(o);const l=()=>this.options.queryFn?(ae(this,jr,!1),this.options.persister?this.options.persister(this.options.queryFn,o,this):this.options.queryFn(o)):Promise.reject(new Error(`Missing queryFn: '${this.options.queryHash}'`)),a={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:l};i(a),(c=this.options.behavior)==null||c.onFetch(a,this),ae(this,jo,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=a.fetchOptions)==null?void 0:d.meta))&&Je(this,sn,Pn).call(this,{type:"fetch",meta:(h=a.fetchOptions)==null?void 0:h.meta});const s=y=>{var g,w,T,p;Qu(y)&&y.silent||Je(this,sn,Pn).call(this,{type:"error",error:y}),Qu(y)||((w=(g=A(this,Gt).config).onError)==null||w.call(g,y,this),(p=(T=A(this,Gt).config).onSettled)==null||p.call(T,this.state.data,y,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return ae(this,Kt,Uy({fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:y=>{var g,w,T,p;if(typeof y>"u"){s(new Error(`${this.queryHash} data is undefined`));return}this.setData(y),(w=(g=A(this,Gt).config).onSuccess)==null||w.call(g,y,this),(p=(T=A(this,Gt).config).onSettled)==null||p.call(T,y,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:s,onFail:(y,g)=>{Je(this,sn,Pn).call(this,{type:"failed",failureCount:y,error:g})},onPause:()=>{Je(this,sn,Pn).call(this,{type:"pause"})},onContinue:()=>{Je(this,sn,Pn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode})),ae(this,rr,A(this,Kt).promise),A(this,rr)}},Vo=new WeakMap,jo=new WeakMap,Gt=new WeakMap,rr=new WeakMap,Kt=new WeakMap,ot=new WeakMap,Nl=new WeakMap,jr=new WeakMap,Bo=new WeakSet,ba=function(t){this.options={...A(this,Nl),...t},this.updateGcTime(this.options.gcTime)},sn=new WeakSet,Pn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:t.meta??null,fetchStatus:Cd(this.options.networkMode)?"fetching":"paused",...!r.dataUpdatedAt&&{error:null,status:"pending"}};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return Qu(o)&&o.revert&&A(this,jo)?{...A(this,jo),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Rt.batch(()=>{A(this,ot).forEach(r=>{r.onQueryUpdate()}),A(this,Gt).notify({query:this,type:"updated",action:t})})},vm);function Ow(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=typeof t<"u",r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var wn,ym,Fw=(ym=class extends Us{constructor(t={}){super();we(this,wn,void 0);this.config=t,ae(this,wn,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??Td(o,n);let l=this.get(i);return l||(l=new bw({cache:this,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(l)),l}add(t){A(this,wn).has(t.queryHash)||(A(this,wn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=A(this,wn).get(t.queryHash);n&&(t.destroy(),n===t&&A(this,wn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Rt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return A(this,wn).get(t)}getAll(){return[...A(this,wn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>lp(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>lp(t,r)):n}notify(t){Rt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Rt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Rt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},wn=new WeakMap,ym),_n,Ll,Ot,Wo,Rn,Kn,gm,Uw=(gm=class extends zy{constructor(t){super();we(this,Rn);we(this,_n,void 0);we(this,Ll,void 0);we(this,Ot,void 0);we(this,Wo,void 0);this.mutationId=t.mutationId,ae(this,Ll,t.defaultOptions),ae(this,Ot,t.mutationCache),ae(this,_n,[]),this.state=t.state||zw(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options={...A(this,Ll),...t},this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){A(this,_n).includes(t)||(A(this,_n).push(t),this.clearGcTimeout(),A(this,Ot).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ae(this,_n,A(this,_n).filter(n=>n!==t)),this.scheduleGc(),A(this,Ot).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){A(this,_n).length||(this.state.status==="pending"?this.scheduleGc():A(this,Ot).remove(this))}continue(){var t;return((t=A(this,Wo))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,i,l,a,s,u,c,d,h,y,g,w,T,p,f,m,C,L,v,k;const n=()=>(ae(this,Wo,Uy({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(P,F)=>{Je(this,Rn,Kn).call(this,{type:"failed",failureCount:P,error:F})},onPause:()=>{Je(this,Rn,Kn).call(this,{type:"pause"})},onContinue:()=>{Je(this,Rn,Kn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode})),A(this,Wo).promise),r=this.state.status==="pending";try{if(!r){Je(this,Rn,Kn).call(this,{type:"pending",variables:t}),await((i=(o=A(this,Ot).config).onMutate)==null?void 0:i.call(o,t,this));const F=await((a=(l=this.options).onMutate)==null?void 0:a.call(l,t));F!==this.state.context&&Je(this,Rn,Kn).call(this,{type:"pending",context:F,variables:t})}const P=await n();return await((u=(s=A(this,Ot).config).onSuccess)==null?void 0:u.call(s,P,t,this.state.context,this)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,P,t,this.state.context)),await((y=(h=A(this,Ot).config).onSettled)==null?void 0:y.call(h,P,null,this.state.variables,this.state.context,this)),await((w=(g=this.options).onSettled)==null?void 0:w.call(g,P,null,t,this.state.context)),Je(this,Rn,Kn).call(this,{type:"success",data:P}),P}catch(P){try{throw await((p=(T=A(this,Ot).config).onError)==null?void 0:p.call(T,P,t,this.state.context,this)),await((m=(f=this.options).onError)==null?void 0:m.call(f,P,t,this.state.context)),await((L=(C=A(this,Ot).config).onSettled)==null?void 0:L.call(C,void 0,P,this.state.variables,this.state.context,this)),await((k=(v=this.options).onSettled)==null?void 0:k.call(v,void 0,P,t,this.state.context)),P}finally{Je(this,Rn,Kn).call(this,{type:"error",error:P})}}}},_n=new WeakMap,Ll=new WeakMap,Ot=new WeakMap,Wo=new WeakMap,Rn=new WeakSet,Kn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!Cd(this.options.networkMode),status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Rt.batch(()=>{A(this,_n).forEach(r=>{r.onMutationUpdate(t)}),A(this,Ot).notify({mutation:this,type:"updated",action:t})})},gm);function zw(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Qt,Pl,Br,Sm,Vw=(Sm=class extends Us{constructor(t={}){super();we(this,Qt,void 0);we(this,Pl,void 0);we(this,Br,void 0);this.config=t,ae(this,Qt,[]),ae(this,Pl,0)}build(t,n,r){const o=new Uw({mutationCache:this,mutationId:++Jl(this,Pl)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){A(this,Qt).push(t),this.notify({type:"added",mutation:t})}remove(t){ae(this,Qt,A(this,Qt).filter(n=>n!==t)),this.notify({type:"removed",mutation:t})}clear(){Rt.batch(()=>{A(this,Qt).forEach(t=>{this.remove(t)})})}getAll(){return A(this,Qt)}find(t){const n={exact:!0,...t};return A(this,Qt).find(r=>ap(n,r))}findAll(t={}){return A(this,Qt).filter(n=>ap(t,n))}notify(t){Rt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){return ae(this,Br,(A(this,Br)??Promise.resolve()).then(()=>{const t=A(this,Qt).filter(n=>n.state.isPaused);return Rt.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(an)),Promise.resolve()))}).then(()=>{ae(this,Br,void 0)})),A(this,Br)}},Qt=new WeakMap,Pl=new WeakMap,Br=new WeakMap,Sm);function jw(e){return{onFetch:(t,n)=>{const r=async()=>{var g,w,T,p,f;const o=t.options,i=(T=(w=(g=t.fetchOptions)==null?void 0:g.meta)==null?void 0:w.fetchMore)==null?void 0:T.direction,l=((p=t.state.data)==null?void 0:p.pages)||[],a=((f=t.state.data)==null?void 0:f.pageParams)||[],s={pages:[],pageParams:[]};let u=!1;const c=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",()=>{u=!0}),t.signal)})},d=t.options.queryFn||(()=>Promise.reject(new Error(`Missing queryFn: '${t.options.queryHash}'`))),h=async(m,C,L)=>{if(u)return Promise.reject();if(C==null&&m.pages.length)return Promise.resolve(m);const v={queryKey:t.queryKey,pageParam:C,direction:L?"backward":"forward",meta:t.options.meta};c(v);const k=await d(v),{maxPages:P}=t.options,F=L?Aw:Pw;return{pages:F(m.pages,k,P),pageParams:F(m.pageParams,C,P)}};let y;if(i&&l.length){const m=i==="backward",C=m?Bw:cp,L={pages:l,pageParams:a},v=C(o,L);y=await h(L,v,m)}else{y=await h(s,a[0]??o.initialPageParam);const m=e??l.length;for(let C=1;C{var o,i;return(i=(o=t.options).persister)==null?void 0:i.call(o,r,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=r}}}function cp(e,{pages:t,pageParams:n}){const r=t.length-1;return e.getNextPageParam(t[r],t,n[r],n)}function Bw(e,{pages:t,pageParams:n}){var r;return(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n)}var et,or,ir,Ho,Go,lr,Ko,Qo,wm,Ww=(wm=class{constructor(e={}){we(this,et,void 0);we(this,or,void 0);we(this,ir,void 0);we(this,Ho,void 0);we(this,Go,void 0);we(this,lr,void 0);we(this,Ko,void 0);we(this,Qo,void 0);ae(this,et,e.queryCache||new Fw),ae(this,or,e.mutationCache||new Vw),ae(this,ir,e.defaultOptions||{}),ae(this,Ho,new Map),ae(this,Go,new Map),ae(this,lr,0)}mount(){Jl(this,lr)._++,A(this,lr)===1&&(ae(this,Ko,of.subscribe(()=>{of.isFocused()&&(this.resumePausedMutations(),A(this,et).onFocus())})),ae(this,Qo,hs.subscribe(()=>{hs.isOnline()&&(this.resumePausedMutations(),A(this,et).onOnline())})))}unmount(){var e,t;Jl(this,lr)._--,A(this,lr)===0&&((e=A(this,Ko))==null||e.call(this),ae(this,Ko,void 0),(t=A(this,Qo))==null||t.call(this),ae(this,Qo,void 0))}isFetching(e){return A(this,et).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return A(this,or).findAll({...e,status:"pending"}).length}getQueryData(e){var t;return(t=A(this,et).find({queryKey:e}))==null?void 0:t.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);return t!==void 0?Promise.resolve(t):this.fetchQuery(e)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=A(this,et).find({queryKey:e}),o=r==null?void 0:r.state.data,i=Cw(t,o);if(typeof i>"u")return;const l=this.defaultQueryOptions({queryKey:e});return A(this,et).build(this,l).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return Rt.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var t;return(t=A(this,et).find({queryKey:e}))==null?void 0:t.state}removeQueries(e){const t=A(this,et);Rt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=A(this,et),r={type:"active",...e};return Rt.batch(()=>(n.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=Rt.batch(()=>A(this,et).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(an).catch(an)}invalidateQueries(e={},t={}){return Rt.batch(()=>{if(A(this,et).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=Rt.batch(()=>A(this,et).findAll(e).filter(o=>!o.isDisabled()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(an)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(an)}fetchQuery(e){const t=this.defaultQueryOptions(e);typeof t.retry>"u"&&(t.retry=!1);const n=A(this,et).build(this,t);return n.isStaleByTime(t.staleTime)?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(an).catch(an)}fetchInfiniteQuery(e){return e.behavior=jw(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(an).catch(an)}resumePausedMutations(){return A(this,or).resumePausedMutations()}getQueryCache(){return A(this,et)}getMutationCache(){return A(this,or)}getDefaultOptions(){return A(this,ir)}setDefaultOptions(e){ae(this,ir,e)}setQueryDefaults(e,t){A(this,Ho).set(Rl(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...A(this,Ho).values()];let n={};return t.forEach(r=>{El(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){A(this,Go).set(Rl(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...A(this,Go).values()];let n={};return t.forEach(r=>{El(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e!=null&&e._defaulted)return e;const t={...A(this,ir).queries,...(e==null?void 0:e.queryKey)&&this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Td(t.queryKey,t)),typeof t.refetchOnReconnect>"u"&&(t.refetchOnReconnect=t.networkMode!=="always"),typeof t.throwOnError>"u"&&(t.throwOnError=!!t.suspense),typeof t.networkMode>"u"&&t.persister&&(t.networkMode="offlineFirst"),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...A(this,ir).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){A(this,et).clear(),A(this,or).clear()}},et=new WeakMap,or=new WeakMap,ir=new WeakMap,Ho=new WeakMap,Go=new WeakMap,lr=new WeakMap,Ko=new WeakMap,Qo=new WeakMap,wm),Hw=B.createContext(void 0),Gw=({client:e,children:t})=>(B.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),B.createElement(Hw.Provider,{value:e},t));/** + * @remix-run/router v1.14.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 Qe(){return Qe=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Jr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Qw(){return Math.random().toString(36).substr(2,8)}function dp(e,t){return{usr:e.state,key:e.key,idx:t}}function Tl(e,t,n,r){return n===void 0&&(n=null),Qe({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?jn(t):t,{state:n,key:t&&t.key||r||Qw()})}function bl(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function jn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function qw(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,l=o.history,a=qe.Pop,s=null,u=c();u==null&&(u=0,l.replaceState(Qe({},l.state,{idx:u}),""));function c(){return(l.state||{idx:null}).idx}function d(){a=qe.Pop;let T=c(),p=T==null?null:T-u;u=T,s&&s({action:a,location:w.location,delta:p})}function h(T,p){a=qe.Push;let f=Tl(w.location,T,p);n&&n(f,T),u=c()+1;let m=dp(f,u),C=w.createHref(f);try{l.pushState(m,"",C)}catch(L){if(L instanceof DOMException&&L.name==="DataCloneError")throw L;o.location.assign(C)}i&&s&&s({action:a,location:w.location,delta:1})}function y(T,p){a=qe.Replace;let f=Tl(w.location,T,p);n&&n(f,T),u=c();let m=dp(f,u),C=w.createHref(f);l.replaceState(m,"",C),i&&s&&s({action:a,location:w.location,delta:0})}function g(T){let p=o.location.origin!=="null"?o.location.origin:o.location.href,f=typeof T=="string"?T:bl(T);return _e(p,"No window.location.(origin|href) available to create URL for href: "+f),new URL(f,p)}let w={get action(){return a},get location(){return e(o,l)},listen(T){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener(fp,d),s=T,()=>{o.removeEventListener(fp,d),s=null}},createHref(T){return t(o,T)},createURL:g,encodeLocation(T){let p=g(T);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:h,replace:y,go(T){return l.go(T)}};return w}var Ge;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ge||(Ge={}));const Yw=new Set(["lazy","caseSensitive","path","id","index","children"]);function Zw(e){return e.index===!0}function lf(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((o,i)=>{let l=[...n,i],a=typeof o.id=="string"?o.id:l.join("-");if(_e(o.index!==!0||!o.children,"Cannot specify children on an index route"),_e(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),Zw(o)){let s=Qe({},o,t(o),{id:a});return r[a]=s,s}else{let s=Qe({},o,t(o),{id:a,children:void 0});return r[a]=s,o.children&&(s.children=lf(o.children,t,l,r)),s}})}function No(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?jn(t):t,o=Ol(r.pathname||"/",n);if(o==null)return null;let i=Vy(e);Jw(i);let l=null;for(let a=0;l==null&&a{let s={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:l,route:i};s.relativePath.startsWith("/")&&(_e(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let u=Gr([r,s.relativePath]),c=n.concat(s);i.children&&i.children.length>0&&(_e(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Vy(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:l_(u,i.index),routesMeta:c})};return e.forEach((i,l)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,l);else for(let s of jy(i.path))o(i,l,s)}),t}function jy(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let l=jy(r.join("/")),a=[];return a.push(...l.map(s=>s===""?i:[i,s].join("/"))),o&&a.push(...l),a.map(s=>e.startsWith("/")&&s===""?"/":s)}function Jw(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:a_(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const e_=/^:\w+$/,t_=3,n_=2,r_=1,o_=10,i_=-2,hp=e=>e==="*";function l_(e,t){let n=e.split("/"),r=n.length;return n.some(hp)&&(r+=i_),t&&(r+=n_),n.filter(o=>!hp(o)).reduce((o,i)=>o+(e_.test(i)?t_:i===""?r_:o_),r)}function a_(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function s_(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let l=0;l{let{paramName:h,isOptional:y}=c;if(h==="*"){let w=a[d]||"";l=i.slice(0,i.length-w.length).replace(/(.)\/+$/,"$1")}const g=a[d];return y&&!g?u[h]=void 0:u[h]=d_(g||"",h),u},{}),pathname:i,pathnameBase:l,pattern:e}}function c_(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Jr(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:(\w+)(\?)?/g,(l,a,s)=>(r.push({paramName:a,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function f_(e){try{return decodeURI(e)}catch(t){return Jr(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function d_(e,t){try{return decodeURIComponent(e)}catch(n){return Jr(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Ol(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function h_(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?jn(e):e;return{pathname:n?n.startsWith("/")?n:p_(n,t):t,search:g_(r),hash:S_(o)}}function p_(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function qu(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function By(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function m_(e,t){let n=By(e);return t?n.map((r,o)=>o===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function v_(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=jn(e):(o=Qe({},e),_e(!o.pathname||!o.pathname.includes("?"),qu("?","pathname","search",o)),_e(!o.pathname||!o.pathname.includes("#"),qu("#","pathname","hash",o)),_e(!o.search||!o.search.includes("#"),qu("#","search","hash",o)));let i=e===""||o.pathname==="",l=i?"/":o.pathname,a;if(l==null)a=n;else{let d=t.length-1;if(!r&&l.startsWith("..")){let h=l.split("/");for(;h[0]==="..";)h.shift(),d-=1;o.pathname=h.join("/")}a=d>=0?t[d]:"/"}let s=h_(o,a),u=l&&l!=="/"&&l.endsWith("/"),c=(i||l===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||c)&&(s.pathname+="/"),s}const Gr=e=>e.join("/").replace(/\/\/+/g,"/"),y_=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),g_=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,S_=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class kd{constructor(t,n,r,o){o===void 0&&(o=!1),this.status=t,this.statusText=n||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function Wy(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Hy=["post","put","patch","delete"],w_=new Set(Hy),__=["get",...Hy],R_=new Set(__),E_=new Set([301,302,303,307,308]),T_=new Set([307,308]),Yu={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},C_={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Li={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Gy=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,k_=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Ky="remix-router-transitions";function x_(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;_e(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let o;if(e.mapRouteProperties)o=e.mapRouteProperties;else if(e.detectErrorBoundary){let S=e.detectErrorBoundary;o=_=>({hasErrorBoundary:S(_)})}else o=k_;let i={},l=lf(e.routes,o,void 0,i),a,s=e.basename||"/",u=Qe({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},e.future),c=null,d=new Set,h=null,y=null,g=null,w=e.hydrationData!=null,T=No(l,e.history.location,s),p=null;if(T==null){let S=qt(404,{pathname:e.history.location.pathname}),{matches:_,route:N}=_p(l);T=_,p={[N.id]:S}}let f,m=T.some(S=>S.route.lazy),C=T.some(S=>S.route.loader);if(m)f=!1;else if(!C)f=!0;else if(u.v7_partialHydration){let S=e.hydrationData?e.hydrationData.loaderData:null,_=e.hydrationData?e.hydrationData.errors:null;f=T.every(N=>N.route.loader&&N.route.loader.hydrate!==!0&&(S&&S[N.route.id]!==void 0||_&&_[N.route.id]!==void 0))}else f=e.hydrationData!=null;let L,v={historyAction:e.history.action,location:e.history.location,matches:T,initialized:f,navigation:Yu,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||p,fetchers:new Map,blockers:new Map},k=qe.Pop,P=!1,F,G=!1,le=new Map,ke=null,se=!1,xe=!1,ht=[],je=[],ve=new Map,V=0,Y=-1,O=new Map,K=new Set,E=new Map,$=new Map,D=new Set,X=new Map,U=new Map,re=!1;function ue(){if(c=e.history.listen(S=>{let{action:_,location:N,delta:b}=S;if(re){re=!1;return}Jr(U.size===0||b!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let j=R({currentLocation:v.location,nextLocation:N,historyAction:_});if(j&&b!=null){re=!0,e.history.go(b*-1),x(j,{state:"blocked",location:N,proceed(){x(j,{state:"proceeding",proceed:void 0,reset:void 0,location:N}),e.history.go(b)},reset(){let ne=new Map(v.blockers);ne.set(j,Li),ye({blockers:ne})}});return}return St(_,N)}),n){F_(t,le);let S=()=>U_(t,le);t.addEventListener("pagehide",S),ke=()=>t.removeEventListener("pagehide",S)}return v.initialized||St(qe.Pop,v.location,{initialHydration:!0}),L}function Z(){c&&c(),ke&&ke(),d.clear(),F&&F.abort(),v.fetchers.forEach((S,_)=>so(_)),v.blockers.forEach((S,_)=>Yl(_))}function Ee(S){return d.add(S),()=>d.delete(S)}function ye(S,_){_===void 0&&(_={}),v=Qe({},v,S);let N=[],b=[];u.v7_fetcherPersist&&v.fetchers.forEach((j,ne)=>{j.state==="idle"&&(D.has(ne)?b.push(ne):N.push(ne))}),[...d].forEach(j=>j(v,{deletedFetchers:b,unstable_viewTransitionOpts:_.viewTransitionOpts,unstable_flushSync:_.flushSync===!0})),u.v7_fetcherPersist&&(N.forEach(j=>v.fetchers.delete(j)),b.forEach(j=>so(j)))}function ce(S,_,N){var b,j;let{flushSync:ne}=N===void 0?{}:N,J=v.actionData!=null&&v.navigation.formMethod!=null&&cn(v.navigation.formMethod)&&v.navigation.state==="loading"&&((b=S.state)==null?void 0:b._isRedirect)!==!0,te;_.actionData?Object.keys(_.actionData).length>0?te=_.actionData:te=null:J?te=v.actionData:te=null;let ee=_.loaderData?wp(v.loaderData,_.loaderData,_.matches||[],_.errors):v.loaderData,de=v.blockers;de.size>0&&(de=new Map(de),de.forEach((Me,ut)=>de.set(ut,Li)));let Fe=P===!0||v.navigation.formMethod!=null&&cn(v.navigation.formMethod)&&((j=S.state)==null?void 0:j._isRedirect)!==!0;a&&(l=a,a=void 0),se||k===qe.Pop||(k===qe.Push?e.history.push(S,S.state):k===qe.Replace&&e.history.replace(S,S.state));let he;if(k===qe.Pop){let Me=le.get(v.location.pathname);Me&&Me.has(S.pathname)?he={currentLocation:v.location,nextLocation:S}:le.has(S.pathname)&&(he={currentLocation:S,nextLocation:v.location})}else if(G){let Me=le.get(v.location.pathname);Me?Me.add(S.pathname):(Me=new Set([S.pathname]),le.set(v.location.pathname,Me)),he={currentLocation:v.location,nextLocation:S}}ye(Qe({},_,{actionData:te,loaderData:ee,historyAction:k,location:S,initialized:!0,navigation:Yu,revalidation:"idle",restoreScrollPosition:oe(S,_.matches||v.matches),preventScrollReset:Fe,blockers:de}),{viewTransitionOpts:he,flushSync:ne===!0}),k=qe.Pop,P=!1,G=!1,se=!1,xe=!1,ht=[],je=[]}async function Ae(S,_){if(typeof S=="number"){e.history.go(S);return}let N=af(v.location,v.matches,s,u.v7_prependBasename,S,u.v7_relativeSplatPath,_==null?void 0:_.fromRouteId,_==null?void 0:_.relative),{path:b,submission:j,error:ne}=pp(u.v7_normalizeFormMethod,!1,N,_),J=v.location,te=Tl(v.location,b,_&&_.state);te=Qe({},te,e.history.encodeLocation(te));let ee=_&&_.replace!=null?_.replace:void 0,de=qe.Push;ee===!0?de=qe.Replace:ee===!1||j!=null&&cn(j.formMethod)&&j.formAction===v.location.pathname+v.location.search&&(de=qe.Replace);let Fe=_&&"preventScrollReset"in _?_.preventScrollReset===!0:void 0,he=(_&&_.unstable_flushSync)===!0,Me=R({currentLocation:J,nextLocation:te,historyAction:de});if(Me){x(Me,{state:"blocked",location:te,proceed(){x(Me,{state:"proceeding",proceed:void 0,reset:void 0,location:te}),Ae(S,_)},reset(){let ut=new Map(v.blockers);ut.set(Me,Li),ye({blockers:ut})}});return}return await St(de,te,{submission:j,pendingError:ne,preventScrollReset:Fe,replace:_&&_.replace,enableViewTransition:_&&_.unstable_viewTransition,flushSync:he})}function It(){if(Si(),ye({revalidation:"loading"}),v.navigation.state!=="submitting"){if(v.navigation.state==="idle"){St(v.historyAction,v.location,{startUninterruptedRevalidation:!0});return}St(k||v.historyAction,v.navigation.location,{overrideNavigation:v.navigation})}}async function St(S,_,N){F&&F.abort(),F=null,k=S,se=(N&&N.startUninterruptedRevalidation)===!0,Q(v.location,v.matches),P=(N&&N.preventScrollReset)===!0,G=(N&&N.enableViewTransition)===!0;let b=a||l,j=N&&N.overrideNavigation,ne=No(b,_,s),J=(N&&N.flushSync)===!0;if(!ne){let ut=qt(404,{pathname:_.pathname}),{matches:Ht,route:rt}=_p(b);M(),ce(_,{matches:Ht,loaderData:{},errors:{[rt.id]:ut}},{flushSync:J});return}if(v.initialized&&!xe&&M_(v.location,_)&&!(N&&N.submission&&cn(N.submission.formMethod))){ce(_,{matches:ne},{flushSync:J});return}F=new AbortController;let te=Ai(e.history,_,F.signal,N&&N.submission),ee,de;if(N&&N.pendingError)de={[el(ne).route.id]:N.pendingError};else if(N&&N.submission&&cn(N.submission.formMethod)){let ut=await xt(te,_,N.submission,ne,{replace:N.replace,flushSync:J});if(ut.shortCircuited)return;ee=ut.pendingActionData,de=ut.pendingActionError,j=Zu(_,N.submission),J=!1,te=new Request(te.url,{signal:te.signal})}let{shortCircuited:Fe,loaderData:he,errors:Me}=await wt(te,_,ne,j,N&&N.submission,N&&N.fetcherSubmission,N&&N.replace,N&&N.initialHydration===!0,J,ee,de);Fe||(F=null,ce(_,Qe({matches:ne},ee?{actionData:ee}:{},{loaderData:he,errors:Me})))}async function xt(S,_,N,b,j){j===void 0&&(j={}),Si();let ne=b_(_,N);ye({navigation:ne},{flushSync:j.flushSync===!0});let J,te=uf(b,_);if(!te.route.action&&!te.route.lazy)J={type:Ge.error,error:qt(405,{method:S.method,pathname:_.pathname,routeId:te.route.id})};else if(J=await Pi("action",S,te,b,i,o,s,u.v7_relativeSplatPath),S.signal.aborted)return{shortCircuited:!0};if(Fr(J)){let ee;return j&&j.replace!=null?ee=j.replace:ee=J.location===v.location.pathname+v.location.search,await Wn(v,J,{submission:N,replace:ee}),{shortCircuited:!0}}if(Lo(J)){let ee=el(b,te.route.id);return(j&&j.replace)!==!0&&(k=qe.Push),{pendingActionData:{},pendingActionError:{[ee.route.id]:J.error}}}if(Or(J))throw qt(400,{type:"defer-action"});return{pendingActionData:{[te.route.id]:J.data}}}async function wt(S,_,N,b,j,ne,J,te,ee,de,Fe){let he=b||Zu(_,j),Me=j||ne||Tp(he),ut=a||l,[Ht,rt]=mp(e.history,v,N,Me,_,u.v7_partialHydration&&te===!0,xe,ht,je,D,E,K,ut,s,de,Fe);if(M(Ne=>!(N&&N.some(Ue=>Ue.route.id===Ne))||Ht&&Ht.some(Ue=>Ue.route.id===Ne)),Y=++V,Ht.length===0&&rt.length===0){let Ne=ql();return ce(_,Qe({matches:N,loaderData:{},errors:Fe||null},de?{actionData:de}:{},Ne?{fetchers:new Map(v.fetchers)}:{}),{flushSync:ee}),{shortCircuited:!0}}if(!se&&(!u.v7_partialHydration||!te)){rt.forEach(Ue=>{let yn=v.fetchers.get(Ue.key),Xl=Mi(void 0,yn?yn.data:void 0);v.fetchers.set(Ue.key,Xl)});let Ne=de||v.actionData;ye(Qe({navigation:he},Ne?Object.keys(Ne).length===0?{actionData:null}:{actionData:Ne}:{},rt.length>0?{fetchers:new Map(v.fetchers)}:{}),{flushSync:ee})}rt.forEach(Ne=>{ve.has(Ne.key)&&vn(Ne.key),Ne.controller&&ve.set(Ne.key,Ne.controller)});let uo=()=>rt.forEach(Ne=>vn(Ne.key));F&&F.signal.addEventListener("abort",uo);let{results:yu,loaderResults:co,fetcherResults:Hn}=await gi(v.matches,N,Ht,rt,S);if(S.signal.aborted)return{shortCircuited:!0};F&&F.signal.removeEventListener("abort",uo),rt.forEach(Ne=>ve.delete(Ne.key));let Pr=Rp(yu);if(Pr){if(Pr.idx>=Ht.length){let Ne=rt[Pr.idx-Ht.length].key;K.add(Ne)}return await Wn(v,Pr.result,{replace:J}),{shortCircuited:!0}}let{loaderData:gu,errors:Su}=Sp(v,N,Ht,co,Fe,rt,Hn,X);X.forEach((Ne,Ue)=>{Ne.subscribe(yn=>{(yn||Ne.done)&&X.delete(Ue)})});let wu=ql(),fo=wi(Y),Zl=wu||fo||rt.length>0;return Qe({loaderData:gu,errors:Su},Zl?{fetchers:new Map(v.fetchers)}:{})}function Gl(S,_,N,b){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");ve.has(S)&&vn(S);let j=(b&&b.unstable_flushSync)===!0,ne=a||l,J=af(v.location,v.matches,s,u.v7_prependBasename,N,u.v7_relativeSplatPath,_,b==null?void 0:b.relative),te=No(ne,J,s);if(!te){Ln(S,_,qt(404,{pathname:J}),{flushSync:j});return}let{path:ee,submission:de,error:Fe}=pp(u.v7_normalizeFormMethod,!0,J,b);if(Fe){Ln(S,_,Fe,{flushSync:j});return}let he=uf(te,ee);if(P=(b&&b.preventScrollReset)===!0,de&&cn(de.formMethod)){pu(S,_,ee,he,te,j,de);return}E.set(S,{routeId:_,path:ee}),yi(S,_,ee,he,te,j,de)}async function pu(S,_,N,b,j,ne,J){if(Si(),E.delete(S),!b.route.action&&!b.route.lazy){let Ue=qt(405,{method:J.formMethod,pathname:N,routeId:_});Ln(S,_,Ue,{flushSync:ne});return}let te=v.fetchers.get(S);Wt(S,O_(J,te),{flushSync:ne});let ee=new AbortController,de=Ai(e.history,N,ee.signal,J);ve.set(S,ee);let Fe=V,he=await Pi("action",de,b,j,i,o,s,u.v7_relativeSplatPath);if(de.signal.aborted){ve.get(S)===ee&&ve.delete(S);return}if(u.v7_fetcherPersist&&D.has(S)){if(Fr(he)||Lo(he)){Wt(S,Qn(void 0));return}}else{if(Fr(he))if(ve.delete(S),Y>Fe){Wt(S,Qn(void 0));return}else return K.add(S),Wt(S,Mi(J)),Wn(v,he,{fetcherSubmission:J});if(Lo(he)){Ln(S,_,he.error);return}}if(Or(he))throw qt(400,{type:"defer-action"});let Me=v.navigation.location||v.location,ut=Ai(e.history,Me,ee.signal),Ht=a||l,rt=v.navigation.state!=="idle"?No(Ht,v.navigation.location,s):v.matches;_e(rt,"Didn't find any matches after fetcher action");let uo=++V;O.set(S,uo);let yu=Mi(J,he.data);v.fetchers.set(S,yu);let[co,Hn]=mp(e.history,v,rt,J,Me,!1,xe,ht,je,D,E,K,Ht,s,{[b.route.id]:he.data},void 0);Hn.filter(Ue=>Ue.key!==S).forEach(Ue=>{let yn=Ue.key,Xl=v.fetchers.get(yn),X0=Mi(void 0,Xl?Xl.data:void 0);v.fetchers.set(yn,X0),ve.has(yn)&&vn(yn),Ue.controller&&ve.set(yn,Ue.controller)}),ye({fetchers:new Map(v.fetchers)});let Pr=()=>Hn.forEach(Ue=>vn(Ue.key));ee.signal.addEventListener("abort",Pr);let{results:gu,loaderResults:Su,fetcherResults:wu}=await gi(v.matches,rt,co,Hn,ut);if(ee.signal.aborted)return;ee.signal.removeEventListener("abort",Pr),O.delete(S),ve.delete(S),Hn.forEach(Ue=>ve.delete(Ue.key));let fo=Rp(gu);if(fo){if(fo.idx>=co.length){let Ue=Hn[fo.idx-co.length].key;K.add(Ue)}return Wn(v,fo.result)}let{loaderData:Zl,errors:Ne}=Sp(v,v.matches,co,Su,void 0,Hn,wu,X);if(v.fetchers.has(S)){let Ue=Qn(he.data);v.fetchers.set(S,Ue)}wi(uo),v.navigation.state==="loading"&&uo>Y?(_e(k,"Expected pending action"),F&&F.abort(),ce(v.navigation.location,{matches:rt,loaderData:Zl,errors:Ne,fetchers:new Map(v.fetchers)})):(ye({errors:Ne,loaderData:wp(v.loaderData,Zl,rt,Ne),fetchers:new Map(v.fetchers)}),xe=!1)}async function yi(S,_,N,b,j,ne,J){let te=v.fetchers.get(S);Wt(S,Mi(J,te?te.data:void 0),{flushSync:ne});let ee=new AbortController,de=Ai(e.history,N,ee.signal);ve.set(S,ee);let Fe=V,he=await Pi("loader",de,b,j,i,o,s,u.v7_relativeSplatPath);if(Or(he)&&(he=await Yy(he,de.signal,!0)||he),ve.get(S)===ee&&ve.delete(S),!de.signal.aborted){if(D.has(S)){Wt(S,Qn(void 0));return}if(Fr(he))if(Y>Fe){Wt(S,Qn(void 0));return}else{K.add(S),await Wn(v,he);return}if(Lo(he)){Ln(S,_,he.error);return}_e(!Or(he),"Unhandled fetcher deferred data"),Wt(S,Qn(he.data))}}async function Wn(S,_,N){let{submission:b,fetcherSubmission:j,replace:ne}=N===void 0?{}:N;_.revalidate&&(xe=!0);let J=Tl(S.location,_.location,{_isRedirect:!0});if(_e(J,"Expected a location on the redirect navigation"),n){let Me=!1;if(_.reloadDocument)Me=!0;else if(Gy.test(_.location)){const ut=e.history.createURL(_.location);Me=ut.origin!==t.location.origin||Ol(ut.pathname,s)==null}if(Me){ne?t.location.replace(_.location):t.location.assign(_.location);return}}F=null;let te=ne===!0?qe.Replace:qe.Push,{formMethod:ee,formAction:de,formEncType:Fe}=S.navigation;!b&&!j&&ee&&de&&Fe&&(b=Tp(S.navigation));let he=b||j;if(T_.has(_.status)&&he&&cn(he.formMethod))await St(te,J,{submission:Qe({},he,{formAction:_.location}),preventScrollReset:P});else{let Me=Zu(J,b);await St(te,J,{overrideNavigation:Me,fetcherSubmission:j,preventScrollReset:P})}}async function gi(S,_,N,b,j){let ne=await Promise.all([...N.map(ee=>Pi("loader",j,ee,_,i,o,s,u.v7_relativeSplatPath)),...b.map(ee=>ee.matches&&ee.match&&ee.controller?Pi("loader",Ai(e.history,ee.path,ee.controller.signal),ee.match,ee.matches,i,o,s,u.v7_relativeSplatPath):{type:Ge.error,error:qt(404,{pathname:ee.path})})]),J=ne.slice(0,N.length),te=ne.slice(N.length);return await Promise.all([Ep(S,N,J,J.map(()=>j.signal),!1,v.loaderData),Ep(S,b.map(ee=>ee.match),te,b.map(ee=>ee.controller?ee.controller.signal:null),!0)]),{results:ne,loaderResults:J,fetcherResults:te}}function Si(){xe=!0,ht.push(...M()),E.forEach((S,_)=>{ve.has(_)&&(je.push(_),vn(_))})}function Wt(S,_,N){N===void 0&&(N={}),v.fetchers.set(S,_),ye({fetchers:new Map(v.fetchers)},{flushSync:(N&&N.flushSync)===!0})}function Ln(S,_,N,b){b===void 0&&(b={});let j=el(v.matches,_);so(S),ye({errors:{[j.route.id]:N},fetchers:new Map(v.fetchers)},{flushSync:(b&&b.flushSync)===!0})}function Kl(S){return u.v7_fetcherPersist&&($.set(S,($.get(S)||0)+1),D.has(S)&&D.delete(S)),v.fetchers.get(S)||C_}function so(S){let _=v.fetchers.get(S);ve.has(S)&&!(_&&_.state==="loading"&&O.has(S))&&vn(S),E.delete(S),O.delete(S),K.delete(S),D.delete(S),v.fetchers.delete(S)}function mu(S){if(u.v7_fetcherPersist){let _=($.get(S)||0)-1;_<=0?($.delete(S),D.add(S)):$.set(S,_)}else so(S);ye({fetchers:new Map(v.fetchers)})}function vn(S){let _=ve.get(S);_e(_,"Expected fetch controller: "+S),_.abort(),ve.delete(S)}function Ql(S){for(let _ of S){let N=Kl(_),b=Qn(N.data);v.fetchers.set(_,b)}}function ql(){let S=[],_=!1;for(let N of K){let b=v.fetchers.get(N);_e(b,"Expected fetcher: "+N),b.state==="loading"&&(K.delete(N),S.push(N),_=!0)}return Ql(S),_}function wi(S){let _=[];for(let[N,b]of O)if(b0}function vu(S,_){let N=v.blockers.get(S)||Li;return U.get(S)!==_&&U.set(S,_),N}function Yl(S){v.blockers.delete(S),U.delete(S)}function x(S,_){let N=v.blockers.get(S)||Li;_e(N.state==="unblocked"&&_.state==="blocked"||N.state==="blocked"&&_.state==="blocked"||N.state==="blocked"&&_.state==="proceeding"||N.state==="blocked"&&_.state==="unblocked"||N.state==="proceeding"&&_.state==="unblocked","Invalid blocker state transition: "+N.state+" -> "+_.state);let b=new Map(v.blockers);b.set(S,_),ye({blockers:b})}function R(S){let{currentLocation:_,nextLocation:N,historyAction:b}=S;if(U.size===0)return;U.size>1&&Jr(!1,"A router only supports one blocker at a time");let j=Array.from(U.entries()),[ne,J]=j[j.length-1],te=v.blockers.get(ne);if(!(te&&te.state==="proceeding")&&J({currentLocation:_,nextLocation:N,historyAction:b}))return ne}function M(S){let _=[];return X.forEach((N,b)=>{(!S||S(b))&&(N.cancel(),_.push(b),X.delete(b))}),_}function H(S,_,N){if(h=S,g=_,y=N||null,!w&&v.navigation===Yu){w=!0;let b=oe(v.location,v.matches);b!=null&&ye({restoreScrollPosition:b})}return()=>{h=null,g=null,y=null}}function W(S,_){return y&&y(S,_.map(b=>Xw(b,v.loaderData)))||S.key}function Q(S,_){if(h&&g){let N=W(S,_);h[N]=g()}}function oe(S,_){if(h){let N=W(S,_),b=h[N];if(typeof b=="number")return b}return null}function ie(S){i={},a=lf(S,o,void 0,i)}return L={get basename(){return s},get future(){return u},get state(){return v},get routes(){return l},get window(){return t},initialize:ue,subscribe:Ee,enableScrollRestoration:H,navigate:Ae,fetch:Gl,revalidate:It,createHref:S=>e.history.createHref(S),encodeLocation:S=>e.history.encodeLocation(S),getFetcher:Kl,deleteFetcher:mu,dispose:Z,getBlocker:vu,deleteBlocker:Yl,_internalFetchControllers:ve,_internalActiveDeferreds:X,_internalSetRoutes:ie},L}function N_(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function af(e,t,n,r,o,i,l,a){let s,u;if(l){s=[];for(let d of t)if(s.push(d),d.route.id===l){u=d;break}}else s=t,u=t[t.length-1];let c=v_(o||".",m_(s,i),Ol(e.pathname,n)||e.pathname,a==="path");return o==null&&(c.search=e.search,c.hash=e.hash),(o==null||o===""||o===".")&&u&&u.route.index&&!xd(c.search)&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(c.pathname=c.pathname==="/"?n:Gr([n,c.pathname])),bl(c)}function pp(e,t,n,r){if(!r||!N_(r))return{path:n};if(r.formMethod&&!I_(r.formMethod))return{path:n,error:qt(405,{method:r.formMethod})};let o=()=>({path:n,error:qt(400,{type:"invalid-body"})}),i=r.formMethod||"get",l=e?i.toUpperCase():i.toLowerCase(),a=qy(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!cn(l))return o();let h=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((y,g)=>{let[w,T]=g;return""+y+w+"="+T+` +`},""):String(r.body);return{path:n,submission:{formMethod:l,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:h}}}else if(r.formEncType==="application/json"){if(!cn(l))return o();try{let h=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:l,formAction:a,formEncType:r.formEncType,formData:void 0,json:h,text:void 0}}}catch{return o()}}}_e(typeof FormData=="function","FormData is not available in this environment");let s,u;if(r.formData)s=sf(r.formData),u=r.formData;else if(r.body instanceof FormData)s=sf(r.body),u=r.body;else if(r.body instanceof URLSearchParams)s=r.body,u=gp(s);else if(r.body==null)s=new URLSearchParams,u=new FormData;else try{s=new URLSearchParams(r.body),u=gp(s)}catch{return o()}let c={formMethod:l,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(cn(c.formMethod))return{path:n,submission:c};let d=jn(n);return t&&d.search&&xd(d.search)&&s.append("index",""),d.search="?"+s,{path:bl(d),submission:c}}function L_(e,t){let n=e;if(t){let r=e.findIndex(o=>o.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function mp(e,t,n,r,o,i,l,a,s,u,c,d,h,y,g,w){let T=w?Object.values(w)[0]:g?Object.values(g)[0]:void 0,p=e.createURL(t.location),f=e.createURL(o),m=w?Object.keys(w)[0]:void 0,L=L_(n,m).filter((k,P)=>{let{route:F}=k;if(F.lazy)return!0;if(F.loader==null)return!1;if(i)return F.loader.hydrate?!0:t.loaderData[F.id]===void 0&&(!t.errors||t.errors[F.id]===void 0);if(P_(t.loaderData,t.matches[P],k)||a.some(ke=>ke===k.route.id))return!0;let G=t.matches[P],le=k;return vp(k,Qe({currentUrl:p,currentParams:G.params,nextUrl:f,nextParams:le.params},r,{actionResult:T,defaultShouldRevalidate:l||p.pathname+p.search===f.pathname+f.search||p.search!==f.search||Qy(G,le)}))}),v=[];return c.forEach((k,P)=>{if(i||!n.some(se=>se.route.id===k.routeId)||u.has(P))return;let F=No(h,k.path,y);if(!F){v.push({key:P,routeId:k.routeId,path:k.path,matches:null,match:null,controller:null});return}let G=t.fetchers.get(P),le=uf(F,k.path),ke=!1;d.has(P)?ke=!1:s.includes(P)?ke=!0:G&&G.state!=="idle"&&G.data===void 0?ke=l:ke=vp(le,Qe({currentUrl:p,currentParams:t.matches[t.matches.length-1].params,nextUrl:f,nextParams:n[n.length-1].params},r,{actionResult:T,defaultShouldRevalidate:l})),ke&&v.push({key:P,routeId:k.routeId,path:k.path,matches:F,match:le,controller:new AbortController})}),[L,v]}function P_(e,t,n){let r=!t||n.route.id!==t.route.id,o=e[n.route.id]===void 0;return r||o}function Qy(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function vp(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function yp(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let o=n[e.id];_e(o,"No route found in manifest");let i={};for(let l in r){let s=o[l]!==void 0&&l!=="hasErrorBoundary";Jr(!s,'Route "'+o.id+'" has a static property "'+l+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+l+'" will be ignored.')),!s&&!Yw.has(l)&&(i[l]=r[l])}Object.assign(o,i),Object.assign(o,Qe({},t(o),{lazy:void 0}))}async function Pi(e,t,n,r,o,i,l,a,s){s===void 0&&(s={});let u,c,d,h=w=>{let T,p=new Promise((f,m)=>T=m);return d=()=>T(),t.signal.addEventListener("abort",d),Promise.race([w({request:t,params:n.params,context:s.requestContext}),p])};try{let w=n.route[e];if(n.route.lazy)if(w){let T,p=await Promise.all([h(w).catch(f=>{T=f}),yp(n.route,i,o)]);if(T)throw T;c=p[0]}else if(await yp(n.route,i,o),w=n.route[e],w)c=await h(w);else if(e==="action"){let T=new URL(t.url),p=T.pathname+T.search;throw qt(405,{method:t.method,pathname:p,routeId:n.route.id})}else return{type:Ge.data,data:void 0};else if(w)c=await h(w);else{let T=new URL(t.url),p=T.pathname+T.search;throw qt(404,{pathname:p})}_e(c!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(w){u=Ge.error,c=w}finally{d&&t.signal.removeEventListener("abort",d)}if($_(c)){let w=c.status;if(E_.has(w)){let p=c.headers.get("Location");if(_e(p,"Redirects returned/thrown from loaders/actions must have a Location header"),!Gy.test(p))p=af(new URL(t.url),r.slice(0,r.indexOf(n)+1),l,!0,p,a);else if(!s.isStaticRequest){let f=new URL(t.url),m=p.startsWith("//")?new URL(f.protocol+p):new URL(p),C=Ol(m.pathname,l)!=null;m.origin===f.origin&&C&&(p=m.pathname+m.search+m.hash)}if(s.isStaticRequest)throw c.headers.set("Location",p),c;return{type:Ge.redirect,status:w,location:p,revalidate:c.headers.get("X-Remix-Revalidate")!==null,reloadDocument:c.headers.get("X-Remix-Reload-Document")!==null}}if(s.isRouteRequest)throw{type:u===Ge.error?Ge.error:Ge.data,response:c};let T;try{let p=c.headers.get("Content-Type");p&&/\bapplication\/json\b/.test(p)?T=await c.json():T=await c.text()}catch(p){return{type:Ge.error,error:p}}return u===Ge.error?{type:u,error:new kd(w,c.statusText,T),headers:c.headers}:{type:Ge.data,data:T,statusCode:c.status,headers:c.headers}}if(u===Ge.error)return{type:u,error:c};if(D_(c)){var y,g;return{type:Ge.deferred,deferredData:c,statusCode:(y=c.init)==null?void 0:y.status,headers:((g=c.init)==null?void 0:g.headers)&&new Headers(c.init.headers)}}return{type:Ge.data,data:c}}function Ai(e,t,n,r){let o=e.createURL(qy(t)).toString(),i={signal:n};if(r&&cn(r.formMethod)){let{formMethod:l,formEncType:a}=r;i.method=l.toUpperCase(),a==="application/json"?(i.headers=new Headers({"Content-Type":a}),i.body=JSON.stringify(r.json)):a==="text/plain"?i.body=r.text:a==="application/x-www-form-urlencoded"&&r.formData?i.body=sf(r.formData):i.body=r.formData}return new Request(o,i)}function sf(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function gp(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function A_(e,t,n,r,o){let i={},l=null,a,s=!1,u={};return n.forEach((c,d)=>{let h=t[d].route.id;if(_e(!Fr(c),"Cannot handle redirect results in processLoaderData"),Lo(c)){let y=el(e,h),g=c.error;r&&(g=Object.values(r)[0],r=void 0),l=l||{},l[y.route.id]==null&&(l[y.route.id]=g),i[h]=void 0,s||(s=!0,a=Wy(c.error)?c.error.status:500),c.headers&&(u[h]=c.headers)}else Or(c)?(o.set(h,c.deferredData),i[h]=c.deferredData.data):i[h]=c.data,c.statusCode!=null&&c.statusCode!==200&&!s&&(a=c.statusCode),c.headers&&(u[h]=c.headers)}),r&&(l=r,i[Object.keys(r)[0]]=void 0),{loaderData:i,errors:l,statusCode:a||200,loaderHeaders:u}}function Sp(e,t,n,r,o,i,l,a){let{loaderData:s,errors:u}=A_(t,n,r,o,a);for(let c=0;cr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function _p(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function qt(e,t){let{pathname:n,routeId:r,method:o,type:i}=t===void 0?{}:t,l="Unknown Server Error",a="Unknown @remix-run/router error";return e===400?(l="Bad Request",o&&n&&r?a="You made a "+o+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":i==="defer-action"?a="defer() is not supported in actions":i==="invalid-body"&&(a="Unable to encode submission body")):e===403?(l="Forbidden",a='Route "'+r+'" does not match URL "'+n+'"'):e===404?(l="Not Found",a='No route matches URL "'+n+'"'):e===405&&(l="Method Not Allowed",o&&n&&r?a="You made a "+o.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":o&&(a='Invalid request method "'+o.toUpperCase()+'"')),new kd(e||500,l,new Error(a),!0)}function Rp(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(Fr(n))return{result:n,idx:t}}}function qy(e){let t=typeof e=="string"?jn(e):e;return bl(Qe({},t,{hash:""}))}function M_(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Or(e){return e.type===Ge.deferred}function Lo(e){return e.type===Ge.error}function Fr(e){return(e&&e.type)===Ge.redirect}function D_(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function $_(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function I_(e){return R_.has(e.toLowerCase())}function cn(e){return w_.has(e.toLowerCase())}async function Ep(e,t,n,r,o,i){for(let l=0;ld.route.id===s.route.id),c=u!=null&&!Qy(u,s)&&(i&&i[s.route.id])!==void 0;if(Or(a)&&(o||c)){let d=r[l];_e(d,"Expected an AbortSignal for revalidating fetcher deferred result"),await Yy(a,d,o).then(h=>{h&&(n[l]=h||n[l])})}}}async function Yy(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:Ge.data,data:e.deferredData.unwrappedData}}catch(o){return{type:Ge.error,error:o}}return{type:Ge.data,data:e.deferredData.data}}}function xd(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function uf(e,t){let n=typeof t=="string"?jn(t).search:t.search;if(e[e.length-1].route.index&&xd(n||""))return e[e.length-1];let r=By(e);return r[r.length-1]}function Tp(e){let{formMethod:t,formAction:n,formEncType:r,text:o,formData:i,json:l}=e;if(!(!t||!n||!r)){if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:o};if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0};if(l!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:l,text:void 0}}}function Zu(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function b_(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Mi(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function O_(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Qn(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function F_(e,t){try{let n=e.sessionStorage.getItem(Ky);if(n){let r=JSON.parse(n);for(let[o,i]of Object.entries(r||{}))i&&Array.isArray(i)&&t.set(o,new Set(i||[]))}}catch{}}function U_(e,t){if(t.size>0){let n={};for(let[r,o]of t)n[r]=[...o];try{e.sessionStorage.setItem(Ky,JSON.stringify(n))}catch(r){Jr(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** + * React Router v6.21.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 ps(){return ps=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},T,{params:Object.assign({},a,T.params),pathname:Gr([s,o.encodeLocation?o.encodeLocation(T.pathname).pathname:T.pathname]),pathnameBase:T.pathnameBase==="/"?s:Gr([s,o.encodeLocation?o.encodeLocation(T.pathnameBase).pathname:T.pathnameBase])})),i,n,r);return t&&w?B.createElement(Vs.Provider,{value:{location:ps({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:qe.Pop}},w):w}function W_(){let e=X_(),t=Wy(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return B.createElement(B.Fragment,null,B.createElement("h2",null,"Unexpected Application Error!"),B.createElement("h3",{style:{fontStyle:"italic"}},t),n?B.createElement("pre",{style:o},n):null,i)}const H_=B.createElement(W_,null);class G_ extends B.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?B.createElement(Fl.Provider,{value:this.props.routeContext},B.createElement(eg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function K_(e){let{routeContext:t,match:n,children:r}=e,o=B.useContext(Zy);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),B.createElement(Fl.Provider,{value:t},r)}function Q_(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let l=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let c=l.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id]));c>=0||_e(!1),l=l.slice(0,Math.min(l.length,c+1))}let s=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?l=l.slice(0,u+1):l=[l[0]];break}}}return l.reduceRight((c,d,h)=>{let y,g=!1,w=null,T=null;n&&(y=a&&d.route.id?a[d.route.id]:void 0,w=d.route.errorElement||H_,s&&(u<0&&h===0?(J_("route-fallback",!1),g=!0,T=null):u===h&&(g=!0,T=d.route.hydrateFallbackElement||null)));let p=t.concat(l.slice(0,h+1)),f=()=>{let m;return y?m=w:g?m=T:d.route.Component?m=B.createElement(d.route.Component,null):d.route.element?m=d.route.element:m=c,B.createElement(K_,{match:d,routeContext:{outlet:c,matches:p,isDataRoute:n!=null},children:m})};return n&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?B.createElement(G_,{location:n.location,revalidation:n.revalidation,component:w,error:y,children:f(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):f()},null)}var cf=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(cf||{});function q_(e){let t=B.useContext(Xy);return t||_e(!1),t}function Y_(e){let t=B.useContext(Fl);return t||_e(!1),t}function Z_(e){let t=Y_(),n=t.matches[t.matches.length-1];return n.route.id||_e(!1),n.route.id}function X_(){var e;let t=B.useContext(eg),n=q_(cf.UseRouteError),r=Z_(cf.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}const Cp={};function J_(e,t,n){!t&&!Cp[e]&&(Cp[e]=!0)}function eR(e){return j_(e.context)}function tR(e){let{basename:t="/",children:n=null,location:r,navigationType:o=qe.Pop,navigator:i,static:l=!1,future:a}=e;Nd()&&_e(!1);let s=t.replace(/^\/*/,"/"),u=B.useMemo(()=>({basename:s,navigator:i,static:l,future:ps({v7_relativeSplatPath:!1},a)}),[s,a,i,l]);typeof r=="string"&&(r=jn(r));let{pathname:c="/",search:d="",hash:h="",state:y=null,key:g="default"}=r,w=B.useMemo(()=>{let T=Ol(c,s);return T==null?null:{location:{pathname:T,search:d,hash:h,state:y,key:g},navigationType:o}},[s,c,d,h,y,g,o]);return w==null?null:B.createElement(Jy.Provider,{value:u},B.createElement(Vs.Provider,{children:n,value:w}))}new Promise(()=>{});function nR(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:B.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:B.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:B.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + * React Router DOM v6.21.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 ms(){return ms=Object.assign?Object.assign.bind():function(e){for(var t=1;t{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function dR(e){let{fallbackElement:t,router:n,future:r}=e,[o,i]=B.useState(n.state),[l,a]=B.useState(),[s,u]=B.useState({isTransitioning:!1}),[c,d]=B.useState(),[h,y]=B.useState(),[g,w]=B.useState(),T=B.useRef(new Map),{v7_startTransition:p}=r||{},f=B.useCallback(k=>{p?cR(k):k()},[p]),m=B.useCallback((k,P)=>{let{deletedFetchers:F,unstable_flushSync:G,unstable_viewTransitionOpts:le}=P;F.forEach(se=>T.current.delete(se)),k.fetchers.forEach((se,xe)=>{se.data!==void 0&&T.current.set(xe,se.data)});let ke=n.window==null||typeof n.window.document.startViewTransition!="function";if(!le||ke){G?Di(()=>i(k)):f(()=>i(k));return}if(G){Di(()=>{h&&(c&&c.resolve(),h.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:le.currentLocation,nextLocation:le.nextLocation})});let se=n.window.document.startViewTransition(()=>{Di(()=>i(k))});se.finished.finally(()=>{Di(()=>{d(void 0),y(void 0),a(void 0),u({isTransitioning:!1})})}),Di(()=>y(se));return}h?(c&&c.resolve(),h.skipTransition(),w({state:k,currentLocation:le.currentLocation,nextLocation:le.nextLocation})):(a(k),u({isTransitioning:!0,flushSync:!1,currentLocation:le.currentLocation,nextLocation:le.nextLocation}))},[n.window,h,c,T,f]);B.useLayoutEffect(()=>n.subscribe(m),[n,m]),B.useEffect(()=>{s.isTransitioning&&!s.flushSync&&d(new fR)},[s]),B.useEffect(()=>{if(c&&l&&n.window){let k=l,P=c.promise,F=n.window.document.startViewTransition(async()=>{f(()=>i(k)),await P});F.finished.finally(()=>{d(void 0),y(void 0),a(void 0),u({isTransitioning:!1})}),y(F)}},[f,l,c,n.window]),B.useEffect(()=>{c&&l&&o.location.key===l.location.key&&c.resolve()},[c,h,o.location,l]),B.useEffect(()=>{!s.isTransitioning&&g&&(a(g.state),u({isTransitioning:!0,flushSync:!1,currentLocation:g.currentLocation,nextLocation:g.nextLocation}),w(void 0))},[s.isTransitioning,g]),B.useEffect(()=>{},[]);let C=B.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:k=>n.navigate(k),push:(k,P,F)=>n.navigate(k,{state:P,preventScrollReset:F==null?void 0:F.preventScrollReset}),replace:(k,P,F)=>n.navigate(k,{replace:!0,state:P,preventScrollReset:F==null?void 0:F.preventScrollReset})}),[n]),L=n.basename||"/",v=B.useMemo(()=>({router:n,navigator:C,static:!1,basename:L}),[n,C,L]);return B.createElement(B.Fragment,null,B.createElement(Zy.Provider,{value:v},B.createElement(Xy.Provider,{value:o},B.createElement(aR.Provider,{value:T.current},B.createElement(lR.Provider,{value:s},B.createElement(tR,{basename:L,location:o.location,navigationType:o.historyAction,navigator:C,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},o.initialized||n.future.v7_partialHydration?B.createElement(hR,{routes:n.routes,future:n.future,state:o}):t))))),null)}function hR(e){let{routes:t,future:n,state:r}=e;return B_(t,void 0,r,n)}var Np;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Np||(Np={}));var Lp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Lp||(Lp={}));var tg={};function pR(e){const t=new Error(e);if(t.stack===void 0)try{throw t}catch{}return t}var mR=pR,me=mR;function vR(e){return!!e&&typeof e.then=="function"}var be=vR;function yR(e,t){if(e!=null)return e;throw me(t??"Got unexpected null or undefined")}var Ve=yR;function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class js{getValue(){throw me("BaseLoadable")}toPromise(){throw me("BaseLoadable")}valueMaybe(){throw me("BaseLoadable")}valueOrThrow(){throw me(`Loadable expected value, but in "${this.state}" state`)}promiseMaybe(){throw me("BaseLoadable")}promiseOrThrow(){throw me(`Loadable expected promise, but in "${this.state}" state`)}errorMaybe(){throw me("BaseLoadable")}errorOrThrow(){throw me(`Loadable expected error, but in "${this.state}" state`)}is(t){return t.state===this.state&&t.contents===this.contents}map(t){throw me("BaseLoadable")}}class gR extends js{constructor(t){super(),fe(this,"state","hasValue"),fe(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 be(n)?eo(n):ni(n)?n:Ul(n)}catch(n){return be(n)?eo(n.next(()=>this.map(t))):Bs(n)}}}class SR extends js{constructor(t){super(),fe(this,"state","hasError"),fe(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 ng extends js{constructor(t){super(),fe(this,"state","loading"),fe(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 eo(this.contents.then(n=>{const r=t(n);if(ni(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(be(n))return n.then(()=>this.map(t).contents);throw n}))}}function Ul(e){return Object.freeze(new gR(e))}function Bs(e){return Object.freeze(new SR(e))}function eo(e){return Object.freeze(new ng(e))}function rg(){return Object.freeze(new ng(new Promise(()=>{})))}function wR(e){return e.every(t=>t.state==="hasValue")?Ul(e.map(t=>t.contents)):e.some(t=>t.state==="hasError")?Bs(Ve(e.find(t=>t.state==="hasError"),"Invalid loadable passed to loadableAll").contents):eo(Promise.all(e.map(t=>t.contents)))}function og(e){const n=(Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(o=>e[o])).map(o=>ni(o)?o:be(o)?eo(o):Ul(o)),r=wR(n);return Array.isArray(e)?r:r.map(o=>Object.getOwnPropertyNames(e).reduce((i,l,a)=>({...i,[l]:o[a]}),{}))}function ni(e){return e instanceof js}const _R={of:e=>be(e)?eo(e):ni(e)?e:Ul(e),error:e=>Bs(e),loading:()=>rg(),all:og,isLoadable:ni};var lo={loadableWithValue:Ul,loadableWithError:Bs,loadableWithPromise:eo,loadableLoading:rg,loadableAll:og,isLoadable:ni,RecoilLoadable:_R},RR=lo.loadableWithValue,ER=lo.loadableWithError,TR=lo.loadableWithPromise,CR=lo.loadableLoading,kR=lo.loadableAll,xR=lo.isLoadable,NR=lo.RecoilLoadable,zl=Object.freeze({__proto__:null,loadableWithValue:RR,loadableWithError:ER,loadableWithPromise:TR,loadableLoading:CR,loadableAll:kR,isLoadable:xR,RecoilLoadable:NR});const ff={RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED:!0,RECOIL_GKS_ENABLED:new Set(["recoil_hamt_2020","recoil_sync_external_store","recoil_suppress_rerender_in_callback","recoil_memory_managament_2020"])};function LR(e,t){var n,r;const o=(n=tg[e])===null||n===void 0||(r=n.toLowerCase())===null||r===void 0?void 0:r.trim();if(o==null||o==="")return;if(!["true","false"].includes(o))throw me(`process.env.${e} value must be 'true', 'false', or empty: ${o}`);t(o==="true")}function PR(e,t){var n;const r=(n=tg[e])===null||n===void 0?void 0:n.trim();r==null||r===""||t(r.split(/\s*,\s*|\s+/))}function AR(){var e;typeof process>"u"||((e=process)===null||e===void 0?void 0:e.env)!=null&&(LR("RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED",t=>{ff.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=t}),PR("RECOIL_GKS_ENABLED",t=>{t.forEach(n=>{ff.RECOIL_GKS_ENABLED.add(n)})}))}AR();var pi=ff;function Ws(e){return pi.RECOIL_GKS_ENABLED.has(e)}Ws.setPass=e=>{pi.RECOIL_GKS_ENABLED.add(e)};Ws.setFail=e=>{pi.RECOIL_GKS_ENABLED.delete(e)};Ws.clear=()=>{pi.RECOIL_GKS_ENABLED.clear()};var Pe=Ws;function MR(e,t,{error:n}={}){return null}var DR=MR,Ld=DR,Xu,Ju,ec;const $R=(Xu=ge.createMutableSource)!==null&&Xu!==void 0?Xu:ge.unstable_createMutableSource,ig=(Ju=ge.useMutableSource)!==null&&Ju!==void 0?Ju:ge.unstable_useMutableSource,lg=(ec=ge.useSyncExternalStore)!==null&&ec!==void 0?ec:ge.unstable_useSyncExternalStore;function IR(){var e;const{ReactCurrentDispatcher:t,ReactCurrentOwner:n}=ge.__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 bR(){return Pe("recoil_transition_support")?{mode:"TRANSITION_SUPPORT",early:!0,concurrent:!0}:Pe("recoil_sync_external_store")&&lg!=null?{mode:"SYNC_EXTERNAL_STORE",early:!0,concurrent:!1}:Pe("recoil_mutable_source")&&ig!=null&&typeof window<"u"&&!window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE?Pe("recoil_suppress_rerender_in_callback")?{mode:"MUTABLE_SOURCE",early:!0,concurrent:!0}:{mode:"MUTABLE_SOURCE",early:!1,concurrent:!1}:Pe("recoil_suppress_rerender_in_callback")?{mode:"LEGACY",early:!0,concurrent:!1}:{mode:"LEGACY",early:!1,concurrent:!1}}function OR(){return!1}var Vl={createMutableSource:$R,useMutableSource:ig,useSyncExternalStore:lg,currentRendererSupportsUseSyncExternalStore:IR,reactMode:bR,isFastRefreshEnabled:OR};class Pd{constructor(t){fe(this,"key",void 0),this.key=t}toJSON(){return{key:this.key}}}class ag extends Pd{}class sg extends Pd{}function FR(e){return e instanceof ag||e instanceof sg}var Hs={AbstractRecoilValue:Pd,RecoilState:ag,RecoilValueReadOnly:sg,isRecoilValue:FR},UR=Hs.AbstractRecoilValue,zR=Hs.RecoilState,VR=Hs.RecoilValueReadOnly,jR=Hs.isRecoilValue,ri=Object.freeze({__proto__:null,AbstractRecoilValue:UR,RecoilState:zR,RecoilValueReadOnly:VR,isRecoilValue:jR});function BR(e,t){return function*(){let n=0;for(const r of e)yield t(r,n++)}()}var Gs=BR;class ug{}const WR=new ug,to=new Map,Ad=new Map;function HR(e){return Gs(e,t=>Ve(Ad.get(t)))}function GR(e){if(to.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 KR(e){pi.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED&&GR(e.key),to.set(e.key,e);const t=e.set==null?new ri.RecoilValueReadOnly(e.key):new ri.RecoilState(e.key);return Ad.set(e.key,t),t}class cg extends Error{}function QR(e){const t=to.get(e);if(t==null)throw new cg(`Missing definition for RecoilValue: "${e}""`);return t}function qR(e){return to.get(e)}const vs=new Map;function YR(e){var t;if(!Pe("recoil_memory_managament_2020"))return;const n=to.get(e);if(n!=null&&(t=n.shouldDeleteConfigOnRelease)!==null&&t!==void 0&&t.call(n)){var r;to.delete(e),(r=fg(e))===null||r===void 0||r(),vs.delete(e)}}function ZR(e,t){Pe("recoil_memory_managament_2020")&&(t===void 0?vs.delete(e):vs.set(e,t))}function fg(e){return vs.get(e)}var $t={nodes:to,recoilValues:Ad,registerNode:KR,getNode:QR,getNodeMaybe:qR,deleteNodeConfigIfPossible:YR,setConfigDeletionHandler:ZR,getConfigDeletionHandler:fg,recoilValuesForKeys:HR,NodeMissingError:cg,DefaultValue:ug,DEFAULT_VALUE:WR};function XR(e,t){t()}var JR={enqueueExecution:XR};function eE(e,t){return t={exports:{}},e(t,t.exports),t.exports}var tE=eE(function(e){var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},n={},r=5,o=Math.pow(2,r),i=o-1,l=o/2,a=o/4,s={},u=function(R){return function(){return R}},c=n.hash=function(x){var R=typeof x>"u"?"undefined":t(x);if(R==="number")return x;R!=="string"&&(x+="");for(var M=0,H=0,W=x.length;H>1&1431655765,R=(R&858993459)+(R>>2&858993459),R=R+(R>>4)&252645135,R+=R>>8,R+=R>>16,R&127},h=function(R,M){return M>>>R&i},y=function(R){return 1<=M;)W[oe--]=W[oe];return W[M]=H,W}for(var ie=0,S=0,_=new Array(Q+1);ie>>=1;return oe[M]=H,le(R,S+1,oe)},xe=function(R,M,H,W){for(var Q=new Array(M-1),oe=0,ie=0,S=0,_=W.length;S<_;++S)if(S!==H){var N=W[S];N&&!k(N)&&(Q[oe++]=N,ie|=1<1?F(R,this.hash,_):_[0]}var N=W();return N===s?this:(++ie.value,ht(R,H,this.hash,this,Q,P(R,Q,oe,N)))},O=function(R,M,H,W,Q,oe,ie){var S=this.mask,_=this.children,N=h(H,Q),b=y(N),j=g(S,b),ne=S&b,J=ne?_[j]:v,te=J._modify(R,M,H+r,W,Q,oe,ie);if(J===te)return this;var ee=ve(R,this),de=S,Fe=void 0;if(ne&&k(te)){if(de&=~b,!de)return v;if(_.length<=2&&ke(_[j^1]))return _[j^1];Fe=T(ee,j,_)}else if(!ne&&!k(te)){if(_.length>=l)return se(R,N,te,S,_);de|=b,Fe=p(ee,j,te,_)}else Fe=w(ee,j,te,_);return ee?(this.mask=de,this.children=Fe,this):G(R,de,Fe)},K=function(R,M,H,W,Q,oe,ie){var S=this.size,_=this.children,N=h(H,Q),b=_[N],j=(b||v)._modify(R,M,H+r,W,Q,oe,ie);if(b===j)return this;var ne=ve(R,this),J=void 0;if(k(b)&&!k(j))++S,J=w(ne,N,j,_);else if(!k(b)&&k(j)){if(--S,S<=a)return xe(R,S,N,_);J=w(ne,N,v,_)}else J=w(ne,N,j,_);return ne?(this.size=S,this.children=J,this):le(R,S,J)};v._modify=function(x,R,M,H,W,Q,oe){var ie=H();return ie===s?v:(++oe.value,P(x,W,Q,ie))};function E(x,R,M,H,W){this._editable=x,this._edit=R,this._config=M,this._root=H,this._size=W}E.prototype.setTree=function(x,R){return this._editable?(this._root=x,this._size=R,this):x===this._root?this:new E(this._editable,this._edit,this._config,x,R)};var $=n.tryGetHash=function(x,R,M,H){for(var W=H._root,Q=0,oe=H._config.keyEq;;)switch(W.type){case f:return oe(M,W.key)?W.value:x;case m:{if(R===W.hash)for(var ie=W.children,S=0,_=ie.length;S<_;++S){var N=ie[S];if(oe(M,N.key))return N.value}return x}case C:{var b=h(Q,R),j=y(b);if(W.mask&j){W=W.children[g(W.mask,j)],Q+=r;break}return x}case L:{if(W=W.children[h(Q,R)],W){Q+=r;break}return x}default:return x}};E.prototype.tryGetHash=function(x,R,M){return $(x,R,M,this)};var D=n.tryGet=function(x,R,M){return $(x,M._config.hash(R),R,M)};E.prototype.tryGet=function(x,R){return D(x,R,this)};var X=n.getHash=function(x,R,M){return $(void 0,x,R,M)};E.prototype.getHash=function(x,R){return X(x,R,this)},n.get=function(x,R){return $(void 0,R._config.hash(x),x,R)},E.prototype.get=function(x,R){return D(R,x,this)};var U=n.has=function(x,R,M){return $(s,x,R,M)!==s};E.prototype.hasHash=function(x,R){return U(x,R,this)};var re=n.has=function(x,R){return U(R._config.hash(x),x,R)};E.prototype.has=function(x){return re(x,this)};var ue=function(R,M){return R===M};n.make=function(x){return new E(0,0,{keyEq:x&&x.keyEq||ue,hash:x&&x.hash||c},v,0)},n.empty=n.make();var Z=n.isEmpty=function(x){return x&&!!k(x._root)};E.prototype.isEmpty=function(){return Z(this)};var Ee=n.modifyHash=function(x,R,M,H){var W={value:H._size},Q=H._root._modify(H._editable?H._edit:NaN,H._config.keyEq,0,x,R,M,W);return H.setTree(Q,W.value)};E.prototype.modifyHash=function(x,R,M){return Ee(M,x,R,this)};var ye=n.modify=function(x,R,M){return Ee(x,M._config.hash(R),R,M)};E.prototype.modify=function(x,R){return ye(R,x,this)};var ce=n.setHash=function(x,R,M,H){return Ee(u(M),x,R,H)};E.prototype.setHash=function(x,R,M){return ce(x,R,M,this)};var Ae=n.set=function(x,R,M){return ce(M._config.hash(x),x,R,M)};E.prototype.set=function(x,R){return Ae(x,R,this)};var It=u(s),St=n.removeHash=function(x,R,M){return Ee(It,x,R,M)};E.prototype.removeHash=E.prototype.deleteHash=function(x,R){return St(x,R,this)};var xt=n.remove=function(x,R){return St(R._config.hash(x),x,R)};E.prototype.remove=E.prototype.delete=function(x){return xt(x,this)};var wt=n.beginMutation=function(x){return new E(x._editable+1,x._edit+1,x._config,x._root,x._size)};E.prototype.beginMutation=function(){return wt(this)};var Gl=n.endMutation=function(x){return x._editable=x._editable&&x._editable-1,x};E.prototype.endMutation=function(){return Gl(this)};var pu=n.mutate=function(x,R){var M=wt(R);return x(M),Gl(M)};E.prototype.mutate=function(x){return pu(x,this)};var yi=function(R){return R&&Wn(R[0],R[1],R[2],R[3],R[4])},Wn=function(R,M,H,W,Q){for(;H{n.set(o,t(r,o))}),n}var ys=aE;function sE(){return{nodeDeps:new Map,nodeToNodeSubscriptions:new Map}}function uE(e){return{nodeDeps:ys(e.nodeDeps,t=>new Set(t)),nodeToNodeSubscriptions:ys(e.nodeToNodeSubscriptions,t=>new Set(t))}}function tc(e,t,n,r){const{nodeDeps:o,nodeToNodeSubscriptions:i}=n,l=o.get(e);if(l&&r&&l!==r.nodeDeps.get(e))return;o.set(e,t);const a=l==null?t:tl(t,l);for(const s of a)i.has(s)||i.set(s,new Set),Ve(i.get(s)).add(e);if(l){const s=tl(l,t);for(const u of s){if(!i.has(u))return;const c=Ve(i.get(u));c.delete(e),c.size===0&&i.delete(u)}}}function cE(e,t,n,r){var o,i,l,a;const s=n.getState();r===s.currentTree.version||r===((o=s.nextTree)===null||o===void 0?void 0:o.version)||((i=s.previousTree)===null||i===void 0||i.version);const u=n.getGraph(r);if(tc(e,t,u),r===((l=s.previousTree)===null||l===void 0?void 0:l.version)){const d=n.getGraph(s.currentTree.version);tc(e,t,d,u)}if(r===((a=s.previousTree)===null||a===void 0?void 0:a.version)||r===s.currentTree.version){var c;const d=(c=s.nextTree)===null||c===void 0?void 0:c.version;if(d!==void 0){const h=n.getGraph(d);tc(e,t,h,u)}}}var jl={cloneGraph:uE,graph:sE,saveDepsToStore:cE};let fE=0;const dE=()=>fE++;let hE=0;const pE=()=>hE++;let mE=0;const vE=()=>mE++;var Ks={getNextTreeStateVersion:dE,getNextStoreID:pE,getNextComponentID:vE};const{persistentMap:Pp}=iE,{graph:yE}=jl,{getNextTreeStateVersion:dg}=Ks;function hg(){const e=dg();return{version:e,stateID:e,transactionMetadata:{},dirtyAtoms:new Set,atomValues:Pp(),nonvalidatedAtoms:Pp()}}function gE(){const e=hg();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,yE()),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}}var pg={makeEmptyTreeState:hg,makeEmptyStoreState:gE,getNextTreeStateVersion:dg};class mg{}function SE(){return new mg}var Qs={RetentionZone:mg,retentionZone:SE};function wE(e,t){const n=new Set(e);return n.add(t),n}function _E(e,t){const n=new Set(e);return n.delete(t),n}function RE(e,t,n){const r=new Map(e);return r.set(t,n),r}function EE(e,t,n){const r=new Map(e);return r.set(t,n(r.get(t))),r}function TE(e,t){const n=new Map(e);return n.delete(t),n}function CE(e,t){const n=new Map(e);return t.forEach(r=>n.delete(r)),n}var vg={setByAddingToSet:wE,setByDeletingFromSet:_E,mapBySettingInMap:RE,mapByUpdatingInMap:EE,mapByDeletingFromMap:TE,mapByDeletingMultipleFromMap:CE};function*kE(e,t){let n=0;for(const r of e)t(r,n++)&&(yield r)}var $d=kE;function xE(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 yg=xE;const{getNode:Bl,getNodeMaybe:NE,recoilValuesForKeys:Ap}=$t,{RetentionZone:Mp}=Qs,{setByAddingToSet:LE}=vg,PE=Object.freeze(new Set);class AE extends Error{}function ME(e,t,n){if(!Pe("recoil_memory_managament_2020"))return()=>{};const{nodesRetainedByZone:r}=e.getState().retention;function o(i){let l=r.get(i);l||r.set(i,l=new Set),l.add(t)}if(n instanceof Mp)o(n);else if(Array.isArray(n))for(const i of n)o(i);return()=>{if(!Pe("recoil_memory_managament_2020"))return;const{retention:i}=e.getState();function l(a){const s=i.nodesRetainedByZone.get(a);s==null||s.delete(t),s&&s.size===0&&i.nodesRetainedByZone.delete(a)}if(n instanceof Mp)l(n);else if(Array.isArray(n))for(const a of n)l(a)}}function Id(e,t,n,r){const o=e.getState();if(o.nodeCleanupFunctions.has(n))return;const i=Bl(n),l=ME(e,n,i.retainedBy),a=i.init(e,t,r);o.nodeCleanupFunctions.set(n,()=>{a(),l()})}function DE(e,t,n){Id(e,e.getState().currentTree,t,n)}function $E(e,t){var n;const r=e.getState();(n=r.nodeCleanupFunctions.get(t))===null||n===void 0||n(),r.nodeCleanupFunctions.delete(t)}function IE(e,t,n){return Id(e,t,n,"get"),Bl(n).get(e,t)}function gg(e,t,n){return Bl(n).peek(e,t)}function bE(e,t,n){var r;const o=NE(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:LE(e.dirtyAtoms,t)}}function OE(e,t,n,r){const o=Bl(n);if(o.set==null)throw new AE(`Attempt to set read-only RecoilValue: ${n}`);const i=o.set;return Id(e,t,n,"set"),i(e,t,r)}function FE(e,t,n){const r=e.getState(),o=e.getGraph(t.version),i=Bl(n).nodeType;return yg({type:i},{loadable:()=>gg(e,t,n),isActive:()=>r.knownAtoms.has(n)||r.knownSelectors.has(n),isSet:()=>i==="selector"?!1:t.atomValues.has(n),isModified:()=>t.dirtyAtoms.has(n),deps:()=>{var l;return Ap((l=o.nodeDeps.get(n))!==null&&l!==void 0?l:[])},subscribers:()=>{var l,a;return{nodes:Ap($d(Sg(e,t,new Set([n])),s=>s!==n)),components:Gs((l=(a=r.nodeToComponentSubscriptions.get(n))===null||a===void 0?void 0:a.values())!==null&&l!==void 0?l:[],([s])=>({name:s}))}}})}function Sg(e,t,n){const r=new Set,o=Array.from(n),i=e.getGraph(t.version);for(let a=o.pop();a;a=o.pop()){var l;r.add(a);const s=(l=i.nodeToNodeSubscriptions.get(a))!==null&&l!==void 0?l:PE;for(const u of s)r.has(u)||o.push(u)}return r}var Nr={getNodeLoadable:IE,peekNodeLoadable:gg,setNodeValue:OE,initializeNode:DE,cleanUpNode:$E,setUnvalidatedAtomValue_DEPRECATED:bE,peekNodeInfo:FE,getDownstreamNodes:Sg};let wg=null;function UE(e){wg=e}function zE(){var e;(e=wg)===null||e===void 0||e()}var _g={setInvalidateMemoizedSnapshot:UE,invalidateMemoizedSnapshot:zE};const{getDownstreamNodes:VE,getNodeLoadable:Rg,setNodeValue:jE}=Nr,{getNextComponentID:BE}=Ks,{getNode:WE,getNodeMaybe:Eg}=$t,{DefaultValue:bd}=$t,{reactMode:HE}=Vl,{AbstractRecoilValue:GE,RecoilState:KE,RecoilValueReadOnly:QE,isRecoilValue:qE}=ri,{invalidateMemoizedSnapshot:YE}=_g;function ZE(e,{key:t},n=e.getState().currentTree){var r,o;const i=e.getState();n.version===i.currentTree.version||n.version===((r=i.nextTree)===null||r===void 0?void 0:r.version)||(n.version,(o=i.previousTree)===null||o===void 0||o.version);const l=Rg(e,n,t);return l.state==="loading"&&l.contents.catch(()=>{}),l}function XE(e,t){const n=e.clone();return t.forEach((r,o)=>{r.state==="hasValue"&&r.contents instanceof bd?n.delete(o):n.set(o,r)}),n}function JE(e,t,{key:n},r){if(typeof r=="function"){const o=Rg(e,t,n);if(o.state==="loading"){const i=`Tried to set atom or selector "${n}" using an updater function while the current state is pending, this is not currently supported.`;throw me(i)}else if(o.state==="hasError")throw o.contents;return r(o.contents)}else return r}function eT(e,t,n){if(n.type==="set"){const{recoilValue:o,valueOrUpdater:i}=n,l=JE(e,t,o,i),a=jE(e,t,o.key,l);for(const[s,u]of a.entries())df(t,s,u)}else if(n.type==="setLoadable"){const{recoilValue:{key:o},loadable:i}=n;df(t,o,i)}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:i}=n,l=Eg(o);l==null||(r=l.invalidate)===null||r===void 0||r.call(l,t),t.atomValues.delete(o),t.nonvalidatedAtoms.set(o,i),t.dirtyAtoms.add(o)}else Ld(`Unknown action ${n.type}`)}function df(e,t,n){n.state==="hasValue"&&n.contents instanceof bd?e.atomValues.delete(t):e.atomValues.set(t,n),e.dirtyAtoms.add(t),e.nonvalidatedAtoms.delete(t)}function Tg(e,t){e.replaceState(n=>{const r=Cg(n);for(const o of t)eT(e,r,o);return kg(e,r),YE(),r})}function qs(e,t){if(nl.length){const n=nl[nl.length-1];let r=n.get(e);r||n.set(e,r=[]),r.push(t)}else Tg(e,[t])}const nl=[];function tT(){const e=new Map;return nl.push(e),()=>{for(const[t,n]of e)Tg(t,n);nl.pop()}}function Cg(e){return{...e,atomValues:e.atomValues.clone(),nonvalidatedAtoms:e.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(e.dirtyAtoms)}}function kg(e,t){const n=VE(e,t,t.dirtyAtoms);for(const i of n){var r,o;(r=Eg(i))===null||r===void 0||(o=r.invalidate)===null||o===void 0||o.call(r,t)}}function xg(e,t,n){qs(e,{type:"set",recoilValue:t,valueOrUpdater:n})}function nT(e,t,n){if(n instanceof bd)return xg(e,t,n);qs(e,{type:"setLoadable",recoilValue:t,loadable:n})}function rT(e,t){qs(e,{type:"markModified",recoilValue:t})}function oT(e,t,n){qs(e,{type:"setUnvalidated",recoilValue:t,unvalidatedValue:n})}function iT(e,{key:t},n,r=null){const o=BE(),i=e.getState();i.nodeToComponentSubscriptions.has(t)||i.nodeToComponentSubscriptions.set(t,new Map),Ve(i.nodeToComponentSubscriptions.get(t)).set(o,[r??"",n]);const l=HE();if(l.early&&(l.mode==="LEGACY"||l.mode==="MUTABLE_SOURCE")){const a=e.getState().nextTree;a&&a.dirtyAtoms.has(t)&&n(a)}return{release:()=>{const a=e.getState(),s=a.nodeToComponentSubscriptions.get(t);s===void 0||!s.has(o)||(s.delete(o),s.size===0&&a.nodeToComponentSubscriptions.delete(t))}}}function lT(e,t){var n;const{currentTree:r}=e.getState(),o=WE(t.key);(n=o.clearCache)===null||n===void 0||n.call(o,e,r)}var xn={RecoilValueReadOnly:QE,AbstractRecoilValue:GE,RecoilState:KE,getRecoilValueAsLoadable:ZE,setRecoilValue:xg,setRecoilValueLoadable:nT,markRecoilValueModified:rT,setUnvalidatedRecoilValue:oT,subscribeToRecoilValue:iT,isRecoilValue:qE,applyAtomValueWrites:XE,batchStart:tT,writeLoadableToTreeState:df,invalidateDownstreams:kg,copyTreeState:Cg,refreshRecoilValue:lT};function aT(e,t,n){const r=e.entries();let o=r.next();for(;!o.done;){const i=o.value;if(t.call(n,i[1],i[0],e))return!0;o=r.next()}return!1}var sT=aT;const{cleanUpNode:uT}=Nr,{deleteNodeConfigIfPossible:cT,getNode:Ng}=$t,{RetentionZone:Lg}=Qs,fT=12e4,Pg=new Set;function Ag(e,t){const n=e.getState(),r=n.currentTree;if(n.nextTree)return;const o=new Set;for(const l of t)if(l instanceof Lg)for(const a of mT(n,l))o.add(a);else o.add(l);const i=dT(e,o);for(const l of i)pT(e,r,l)}function dT(e,t){const n=e.getState(),r=n.currentTree,o=e.getGraph(r.version),i=new Set,l=new Set;return a(t),i;function a(s){const u=new Set,c=hT(e,r,s,i,l);for(const g of c){var d;if(Ng(g).retainedBy==="recoilRoot"){l.add(g);continue}if(((d=n.retention.referenceCounts.get(g))!==null&&d!==void 0?d:0)>0){l.add(g);continue}if(Mg(g).some(T=>n.retention.referenceCounts.get(T))){l.add(g);continue}const w=o.nodeToNodeSubscriptions.get(g);if(w&&sT(w,T=>l.has(T))){l.add(g);continue}i.add(g),u.add(g)}const h=new Set;for(const g of u)for(const w of(y=o.nodeDeps.get(g))!==null&&y!==void 0?y:Pg){var y;i.has(w)||h.add(w)}h.size&&a(h)}}function hT(e,t,n,r,o){const i=e.getGraph(t.version),l=[],a=new Set;for(;n.size>0;)s(Ve(n.values().next().value));return l;function s(u){if(r.has(u)||o.has(u)){n.delete(u);return}if(a.has(u))return;const c=i.nodeToNodeSubscriptions.get(u);if(c)for(const d of c)s(d);a.add(u),n.delete(u),l.push(u)}}function pT(e,t,n){if(!Pe("recoil_memory_managament_2020"))return;uT(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=Mg(n);for(const s of o){var i;(i=r.retention.nodesRetainedByZone.get(s))===null||i===void 0||i.delete(n)}t.atomValues.delete(n),t.dirtyAtoms.delete(n),t.nonvalidatedAtoms.delete(n);const l=r.graphsByVersion.get(t.version);if(l){const s=l.nodeDeps.get(n);if(s!==void 0){l.nodeDeps.delete(n);for(const u of s){var a;(a=l.nodeToNodeSubscriptions.get(u))===null||a===void 0||a.delete(n)}}l.nodeToNodeSubscriptions.delete(n)}cT(n)}function mT(e,t){var n;return(n=e.retention.nodesRetainedByZone.get(t))!==null&&n!==void 0?n:Pg}function Mg(e){const t=Ng(e).retainedBy;return t===void 0||t==="components"||t==="recoilRoot"?[]:t instanceof Lg?[t]:t}function vT(e,t){const n=e.getState();n.nextTree?n.retention.retainablesToCheckForRelease.add(t):Ag(e,new Set([t]))}function yT(e,t,n){var r;if(!Pe("recoil_memory_managament_2020"))return;const o=e.getState().retention.referenceCounts,i=((r=o.get(t))!==null&&r!==void 0?r:0)+n;i===0?Dg(e,t):o.set(t,i)}function Dg(e,t){if(!Pe("recoil_memory_managament_2020"))return;e.getState().retention.referenceCounts.delete(t),vT(e,t)}function gT(e){if(!Pe("recoil_memory_managament_2020"))return;const t=e.getState();Ag(e,t.retention.retainablesToCheckForRelease),t.retention.retainablesToCheckForRelease.clear()}function ST(e){return e===void 0?"recoilRoot":e}var ao={SUSPENSE_TIMEOUT_MS:fT,updateRetainCount:yT,updateRetainCountToZero:Dg,releaseScheduledRetainablesNow:gT,retainedByOptionWithDefault:ST};const{unstable_batchedUpdates:wT}=by;var _T={unstable_batchedUpdates:wT};const{unstable_batchedUpdates:RT}=_T;var ET={unstable_batchedUpdates:RT};const{batchStart:TT}=xn,{unstable_batchedUpdates:CT}=ET;let Od=CT||(e=>e());const kT=e=>{Od=e},xT=()=>Od,NT=e=>{Od(()=>{let t=()=>{};try{t=TT(),e()}finally{t()}})};var Ys={getBatcher:xT,setBatcher:kT,batchUpdates:NT};function*LT(e){for(const t of e)for(const n of t)yield n}var $g=LT;const Ig=typeof Window>"u"||typeof window>"u",PT=e=>!Ig&&(e===window||e instanceof Window),AT=typeof navigator<"u"&&navigator.product==="ReactNative";var Zs={isSSR:Ig,isReactNative:AT,isWindow:PT};function MT(e,t){let n;return(...r)=>{n||(n={});const o=t(...r);return Object.hasOwnProperty.call(n,o)||(n[o]=e(...r)),n[o]}}function DT(e,t){let n,r;return(...o)=>{const i=t(...o);return n===i||(n=i,r=e(...o)),r}}function $T(e,t){let n,r;return[(...l)=>{const a=t(...l);return n===a||(n=a,r=e(...l)),r},()=>{n=null}]}var IT={memoizeWithArgsHash:MT,memoizeOneWithArgsHash:DT,memoizeOneWithArgsHashAndInvalidation:$T};const{batchUpdates:hf}=Ys,{initializeNode:bT,peekNodeInfo:OT}=Nr,{graph:FT}=jl,{getNextStoreID:UT}=Ks,{DEFAULT_VALUE:zT,recoilValues:Dp,recoilValuesForKeys:$p}=$t,{AbstractRecoilValue:VT,getRecoilValueAsLoadable:jT,setRecoilValue:Ip,setUnvalidatedRecoilValue:BT}=xn,{updateRetainCount:Oa}=ao,{setInvalidateMemoizedSnapshot:WT}=_g,{getNextTreeStateVersion:HT,makeEmptyStoreState:GT}=pg,{isSSR:KT}=Zs,{memoizeOneWithArgsHashAndInvalidation:QT}=IT;class Xs{constructor(t,n){fe(this,"_store",void 0),fe(this,"_refCount",1),fe(this,"getLoadable",r=>(this.checkRefCount_INTERNAL(),jT(this._store,r))),fe(this,"getPromise",r=>(this.checkRefCount_INTERNAL(),this.getLoadable(r).toPromise())),fe(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 l=this._store.getState().currentTree;return $p(l.dirtyAtoms)}const o=this._store.getState().knownAtoms,i=this._store.getState().knownSelectors;return(r==null?void 0:r.isInitialized)==null?Dp.values():r.isInitialized===!0?$p($g([o,i])):$d(Dp.values(),({key:l})=>!o.has(l)&&!i.has(l))}),fe(this,"getInfo_UNSTABLE",({key:r})=>(this.checkRefCount_INTERNAL(),OT(this._store,this._store.getState().currentTree,r))),fe(this,"map",r=>{this.checkRefCount_INTERNAL();const o=new pf(this,hf);return r(o),o}),fe(this,"asyncMap",async r=>{this.checkRefCount_INTERNAL();const o=new pf(this,hf);return o.retain(),await r(o),o.autoRelease_INTERNAL(),o}),this._store={storeID:UT(),parentStoreID:n,getState:()=>t,replaceState:r=>{t.currentTree=r(t.currentTree)},getGraph:r=>{const o=t.graphsByVersion;if(o.has(r))return Ve(o.get(r));const i=FT();return o.set(r,i),i},subscribeToTransactions:()=>({release:()=>{}}),addTransactionMetadata:()=>{throw me("Cannot subscribe to Snapshots")}};for(const r of this._store.getState().knownAtoms)bT(this._store,r,"get"),Oa(this._store,r,1);this.autoRelease_INTERNAL()}retain(){this._refCount<=0,this._refCount++;let t=!1;return()=>{t||(t=!0,this._release())}}autoRelease_INTERNAL(){KT||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(),!Pe("recoil_memory_managament_2020"))return}else this._refCount<0}isRetained(){return this._refCount>0}checkRefCount_INTERNAL(){Pe("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 bg(e,t,n=!1){const r=e.getState(),o=n?HT():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(Gs(r.nodeCleanupFunctions.entries(),([i])=>[i,()=>{}]))}}function qT(e){const t=new Xs(GT());return e!=null?t.map(e):t}const[bp,Og]=QT((e,t)=>{var n;const r=e.getState(),o=t==="latest"?(n=r.nextTree)!==null&&n!==void 0?n:r.currentTree:Ve(r.previousTree);return new Xs(bg(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)});WT(Og);function YT(e,t="latest"){const n=bp(e,t);return n.isRetained()?n:(Og(),bp(e,t))}class pf extends Xs{constructor(t,n){super(bg(t.getStore_INTERNAL(),t.getStore_INTERNAL().getState().currentTree,!0),t.getStoreID()),fe(this,"_batch",void 0),fe(this,"set",(r,o)=>{this.checkRefCount_INTERNAL();const i=this.getStore_INTERNAL();this._batch(()=>{Oa(i,r.key,1),Ip(this.getStore_INTERNAL(),r,o)})}),fe(this,"reset",r=>{this.checkRefCount_INTERNAL();const o=this.getStore_INTERNAL();this._batch(()=>{Oa(o,r.key,1),Ip(this.getStore_INTERNAL(),r,zT)})}),fe(this,"setUnvalidatedAtomValues_DEPRECATED",r=>{this.checkRefCount_INTERNAL();const o=this.getStore_INTERNAL();hf(()=>{for(const[i,l]of r.entries())Oa(o,i,1),BT(o,new VT(i),l)})}),this._batch=n}}var Js={Snapshot:Xs,MutableSnapshot:pf,freshSnapshot:qT,cloneSnapshot:YT},ZT=Js.Snapshot,XT=Js.MutableSnapshot,JT=Js.freshSnapshot,eC=Js.cloneSnapshot,eu=Object.freeze({__proto__:null,Snapshot:ZT,MutableSnapshot:XT,freshSnapshot:JT,cloneSnapshot:eC});function tC(...e){const t=new Set;for(const n of e)for(const r of n)t.add(r);return t}var nC=tC;const{useRef:rC}=ge;function oC(e){const t=rC(e);return t.current===e&&typeof e=="function"&&(t.current=e()),t}var Op=oC;const{getNextTreeStateVersion:iC,makeEmptyStoreState:Fg}=pg,{cleanUpNode:lC,getDownstreamNodes:aC,initializeNode:sC,setNodeValue:uC,setUnvalidatedAtomValue_DEPRECATED:cC}=Nr,{graph:fC}=jl,{cloneGraph:dC}=jl,{getNextStoreID:Ug}=Ks,{createMutableSource:nc,reactMode:zg}=Vl,{applyAtomValueWrites:hC}=xn,{releaseScheduledRetainablesNow:Vg}=ao,{freshSnapshot:pC}=eu,{useCallback:mC,useContext:jg,useEffect:mf,useMemo:vC,useRef:yC,useState:gC}=ge;function $i(){throw me("This component must be used inside a component.")}const Bg=Object.freeze({storeID:Ug(),getState:$i,replaceState:$i,getGraph:$i,subscribeToTransactions:$i,addTransactionMetadata:$i});let vf=!1;function Fp(e){if(vf)throw me("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){Pe("recoil_memory_managament_2020")&&Pe("recoil_release_on_cascading_update_killswitch_2021")&&t.commitDepth>0&&Vg(e);const n=t.currentTree.version,r=iC();t.nextTree={...t.currentTree,version:r,stateID:r,dirtyAtoms:new Set,transactionMetadata:{}},t.graphsByVersion.set(r,dC(Ve(t.graphsByVersion.get(n))))}}const Wg=ge.createContext({current:Bg}),tu=()=>jg(Wg),Hg=ge.createContext(null);function SC(){return jg(Hg)}function Fd(e,t,n){const r=aC(e,n,n.dirtyAtoms);for(const o of r){const i=t.nodeToComponentSubscriptions.get(o);if(i)for(const[l,[a,s]]of i)s(n)}}function Gg(e){const t=e.getState(),n=t.currentTree,r=n.dirtyAtoms;if(r.size){for(const[o,i]of t.nodeTransactionSubscriptions)if(r.has(o))for(const[l,a]of i)a(e);for(const[o,i]of t.transactionSubscriptions)i(e);(!zg().early||t.suspendedComponentResolvers.size>0)&&(Fd(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 wC(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,Gg(e),t.previousTree!=null?t.graphsByVersion.delete(t.previousTree.version):Ld("Ended batch with no previous state, which is unexpected","recoil"),t.previousTree=null,Pe("recoil_memory_managament_2020")&&n==null&&Vg(e)}finally{t.commitDepth--}}function _C({setNotifyBatcherOfChange:e}){const t=tu(),[,n]=gC([]);return e(()=>n({})),mf(()=>(e(()=>n({})),()=>{e(()=>{})}),[e]),mf(()=>{JR.enqueueExecution("Batcher",()=>{wC(t.current)})}),null}function RC(e,t){const n=Fg();return t({set:(r,o)=>{const i=n.currentTree,l=uC(e,i,r.key,o),a=new Set(l.keys()),s=i.nonvalidatedAtoms.clone();for(const u of a)s.delete(u);n.currentTree={...i,dirtyAtoms:nC(i.dirtyAtoms,a),atomValues:hC(i.atomValues,l),nonvalidatedAtoms:s}},setUnvalidatedAtomValues:r=>{r.forEach((o,i)=>{n.currentTree=cC(n.currentTree,i,o)})}}),n}function EC(e){const t=pC(e),n=t.getStore_INTERNAL().getState();return t.retain(),n.nodeCleanupFunctions.forEach(r=>r()),n.nodeCleanupFunctions.clear(),n}let Up=0;function TC({initializeState_DEPRECATED:e,initializeState:t,store_INTERNAL:n,children:r}){let o;const i=y=>{const g=o.current.graphsByVersion;if(g.has(y))return Ve(g.get(y));const w=fC();return g.set(y,w),w},l=(y,g)=>{if(g==null){const{transactionSubscriptions:w}=d.current.getState(),T=Up++;return w.set(T,y),{release:()=>{w.delete(T)}}}else{const{nodeTransactionSubscriptions:w}=d.current.getState();w.has(g)||w.set(g,new Map);const T=Up++;return Ve(w.get(g)).set(T,y),{release:()=>{const p=w.get(g);p&&(p.delete(T),p.size===0&&w.delete(g))}}}},a=y=>{Fp(d.current);for(const g of Object.keys(y))Ve(d.current.getState().nextTree).transactionMetadata[g]=y[g]},s=y=>{Fp(d.current);const g=Ve(o.current.nextTree);let w;try{vf=!0,w=y(g)}finally{vf=!1}w!==g&&(o.current.nextTree=w,zg().early&&Fd(d.current,o.current,w),Ve(u.current)())},u=yC(null),c=mC(y=>{u.current=y},[u]),d=Op(()=>n??{storeID:Ug(),getState:()=>o.current,replaceState:s,getGraph:i,subscribeToTransactions:l,addTransactionMetadata:a});n!=null&&(d.current=n),o=Op(()=>e!=null?RC(d.current,e):t!=null?EC(t):Fg());const h=vC(()=>nc==null?void 0:nc(o,()=>o.current.currentTree.version),[o]);return mf(()=>{const y=d.current;for(const g of new Set(y.getState().knownAtoms))sC(y,g,"get");return()=>{for(const g of y.getState().knownAtoms)lC(y,g)}},[d]),ge.createElement(Wg.Provider,{value:d},ge.createElement(Hg.Provider,{value:h},ge.createElement(_C,{setNotifyBatcherOfChange:c}),r))}function CC(e){const{override:t,...n}=e,r=tu();return t===!1&&r.current!==Bg?e.children:ge.createElement(TC,n)}function kC(){return tu().current.storeID}var Bn={RecoilRoot:CC,useStoreRef:tu,useRecoilMutableSource:SC,useRecoilStoreID:kC,notifyComponents_FOR_TESTING:Fd,sendEndOfBatchNotifications_FOR_TESTING:Gg};function xC(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 Kg=AC;const{useStoreRef:MC}=Bn,{SUSPENSE_TIMEOUT_MS:DC}=ao,{updateRetainCount:Ii}=ao,{RetentionZone:$C}=Qs,{useEffect:IC,useRef:bC}=ge,{isSSR:zp}=Zs;function OC(e){if(Pe("recoil_memory_managament_2020"))return FC(e)}function FC(e){const n=(Array.isArray(e)?e:[e]).map(l=>l instanceof $C?l:l.key),r=MC();IC(()=>{if(!Pe("recoil_memory_managament_2020"))return;const l=r.current;if(o.current&&!zp)window.clearTimeout(o.current),o.current=null;else for(const a of n)Ii(l,a,1);return()=>{for(const a of n)Ii(l,a,-1)}},[r,...n]);const o=bC(),i=Kg(n);if(!zp&&(i===void 0||!NC(i,n))){const l=r.current;for(const a of n)Ii(l,a,1);if(i)for(const a of i)Ii(l,a,-1);o.current&&window.clearTimeout(o.current),o.current=window.setTimeout(()=>{o.current=null;for(const a of n)Ii(l,a,-1)},DC)}}var Ud=OC;function UC(){return""}var Wl=UC;const{batchUpdates:zC}=Ys,{DEFAULT_VALUE:Qg}=$t,{currentRendererSupportsUseSyncExternalStore:VC,reactMode:mi,useMutableSource:jC,useSyncExternalStore:BC}=Vl,{useRecoilMutableSource:WC,useStoreRef:Nn}=Bn,{AbstractRecoilValue:yf,getRecoilValueAsLoadable:Hl,setRecoilValue:gs,setUnvalidatedRecoilValue:HC,subscribeToRecoilValue:oi}=xn,{useCallback:Dt,useEffect:ii,useMemo:qg,useRef:rl,useState:zd}=ge,{setByAddingToSet:GC}=vg,{isSSR:KC}=Zs;function Vd(e,t,n){if(e.state==="hasValue")return e.contents;throw e.state==="loading"?new Promise(o=>{const i=n.current.getState().suspendedComponentResolvers;i.add(o),KC&&be(e.contents)&&e.contents.finally(()=>{i.delete(o)})}):e.state==="hasError"?e.contents:me(`Invalid value of loadable atom "${t.key}"`)}function QC(){const e=Wl(),t=Nn(),[,n]=zd([]),r=rl(new Set);r.current=new Set;const o=rl(new Set),i=rl(new Map),l=Dt(s=>{const u=i.current.get(s);u&&(u.release(),i.current.delete(s))},[i]),a=Dt((s,u)=>{i.current.has(u)&&n([])},[]);return ii(()=>{const s=t.current;tl(r.current,o.current).forEach(u=>{if(i.current.has(u))return;const c=oi(s,new yf(u),h=>a(h,u),e);i.current.set(u,c),s.getState().nextTree?s.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{a(s.getState(),u)}):a(s.getState(),u)}),tl(o.current,r.current).forEach(u=>{l(u)}),o.current=r.current}),ii(()=>{const s=i.current;return tl(r.current,new Set(s.keys())).forEach(u=>{const c=oi(t.current,new yf(u),d=>a(d,u),e);s.set(u,c)}),()=>s.forEach((u,c)=>l(c))},[e,t,l,a]),qg(()=>{function s(g){return w=>{gs(t.current,g,w)}}function u(g){return()=>gs(t.current,g,Qg)}function c(g){var w;r.current.has(g.key)||(r.current=GC(r.current,g.key));const T=t.current.getState();return Hl(t.current,g,mi().early&&(w=T.nextTree)!==null&&w!==void 0?w:T.currentTree)}function d(g){const w=c(g);return Vd(w,g,t)}function h(g){return[d(g),s(g)]}function y(g){return[c(g),s(g)]}return{getRecoilValue:d,getRecoilValueLoadable:c,getRecoilState:h,getRecoilStateLoadable:y,getSetRecoilState:s,getResetRecoilState:u}},[r,t])}const qC={current:0};function YC(e){const t=Nn(),n=Wl(),r=Dt(()=>{var a;const s=t.current,u=s.getState(),c=mi().early&&(a=u.nextTree)!==null&&a!==void 0?a:u.currentTree;return{loadable:Hl(s,e,c),key:e.key}},[t,e]),o=Dt(a=>{let s;return()=>{var u,c;const d=a();return(u=s)!==null&&u!==void 0&&u.loadable.is(d.loadable)&&((c=s)===null||c===void 0?void 0:c.key)===d.key?s:(s=d,d)}},[]),i=qg(()=>o(r),[r,o]),l=Dt(a=>{const s=t.current;return oi(s,e,a,n).release},[t,e,n]);return BC(l,i,i).loadable}function ZC(e){const t=Nn(),n=Dt(()=>{var u;const c=t.current,d=c.getState(),h=mi().early&&(u=d.nextTree)!==null&&u!==void 0?u:d.currentTree;return Hl(c,e,h)},[t,e]),r=Dt(()=>n(),[n]),o=Wl(),i=Dt((u,c)=>{const d=t.current;return oi(d,e,()=>{if(!Pe("recoil_suppress_rerender_in_callback"))return c();const y=n();s.current.is(y)||c(),s.current=y},o).release},[t,e,o,n]),l=WC();if(l==null)throw me("Recoil hooks must be used in components contained within a component.");const a=jC(l,r,i),s=rl(a);return ii(()=>{s.current=a}),a}function gf(e){const t=Nn(),n=Wl(),r=Dt(()=>{var s;const u=t.current,c=u.getState(),d=mi().early&&(s=c.nextTree)!==null&&s!==void 0?s:c.currentTree;return Hl(u,e,d)},[t,e]),o=Dt(()=>({loadable:r(),key:e.key}),[r,e.key]),i=Dt(s=>{const u=o();return s.loadable.is(u.loadable)&&s.key===u.key?s:u},[o]);ii(()=>{const s=oi(t.current,e,u=>{a(i)},n);return a(i),s.release},[n,e,t,i]);const[l,a]=zd(o);return l.key!==e.key?o().loadable:l.loadable}function XC(e){const t=Nn(),[,n]=zd([]),r=Wl(),o=Dt(()=>{var a;const s=t.current,u=s.getState(),c=mi().early&&(a=u.nextTree)!==null&&a!==void 0?a:u.currentTree;return Hl(s,e,c)},[t,e]),i=o(),l=rl(i);return ii(()=>{l.current=i}),ii(()=>{const a=t.current,s=a.getState(),u=oi(a,e,d=>{var h;if(!Pe("recoil_suppress_rerender_in_callback"))return n([]);const y=o();(h=l.current)!==null&&h!==void 0&&h.is(y)||n(y),l.current=y},r);if(s.nextTree)a.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{l.current=null,n([])});else{var c;if(!Pe("recoil_suppress_rerender_in_callback"))return n([]);const d=o();(c=l.current)!==null&&c!==void 0&&c.is(d)||n(d),l.current=d}return u.release},[r,o,e,t]),i}function jd(e){return Pe("recoil_memory_managament_2020")&&Ud(e),{TRANSITION_SUPPORT:gf,SYNC_EXTERNAL_STORE:VC()?YC:gf,MUTABLE_SOURCE:ZC,LEGACY:XC}[mi().mode](e)}function Yg(e){const t=Nn(),n=jd(e);return Vd(n,e,t)}function nu(e){const t=Nn();return Dt(n=>{gs(t.current,e,n)},[t,e])}function JC(e){const t=Nn();return Dt(()=>{gs(t.current,e,Qg)},[t,e])}function ek(e){return[Yg(e),nu(e)]}function tk(e){return[jd(e),nu(e)]}function nk(){const e=Nn();return(t,n={})=>{zC(()=>{e.current.addTransactionMetadata(n),t.forEach((r,o)=>HC(e.current,new yf(o),r))})}}function Zg(e){return Pe("recoil_memory_managament_2020")&&Ud(e),gf(e)}function Xg(e){const t=Nn(),n=Zg(e);return Vd(n,e,t)}function rk(e){return[Xg(e),nu(e)]}var ok={recoilComponentGetRecoilValueCount_FOR_TESTING:qC,useRecoilInterface:QC,useRecoilState:ek,useRecoilStateLoadable:tk,useRecoilValue:Yg,useRecoilValueLoadable:jd,useResetRecoilState:JC,useSetRecoilState:nu,useSetUnvalidatedAtomValues:nk,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:Zg,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Xg,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:rk};function ik(e,t){const n=new Map;for(const[r,o]of e)t(o,r)&&n.set(r,o);return n}var lk=ik;function ak(e,t){const n=new Set;for(const r of e)t(r)&&n.add(r);return n}var sk=ak;function uk(...e){const t=new Map;for(let n=0;nt.current.subscribeToTransactions(e).release,[e,t])}function Bp(e){const t=e.atomValues.toMap(),n=ys(lk(t,(r,o)=>{const l=Jg(o).persistence_UNSTABLE;return l!=null&&l.type!=="none"&&r.state==="hasValue"}),r=>r.contents);return ck(e.nonvalidatedAtoms.toMap(),n)}function gk(e){ou(ru(t=>{let n=t.getState().previousTree;const r=t.getState().currentTree;n||(n=t.getState().currentTree);const o=Bp(r),i=Bp(n),l=ys(hk,s=>{var u,c,d,h;return{persistence_UNSTABLE:{type:(u=(c=s.persistence_UNSTABLE)===null||c===void 0?void 0:c.type)!==null&&u!==void 0?u:"none",backButton:(d=(h=s.persistence_UNSTABLE)===null||h===void 0?void 0:h.backButton)!==null&&d!==void 0?d:!1}}}),a=sk(r.dirtyAtoms,s=>o.has(s)||i.has(s));e({atomValues:o,previousAtomValues:i,atomInfo:l,modifiedAtoms:a,transactionMetadata:{...r.transactionMetadata}})},[e]))}function Sk(e){ou(ru(t=>{const n=Ss(t,"latest"),r=Ss(t,"previous");e({snapshot:n,previousSnapshot:r})},[e]))}function wk(){const e=Bd(),[t,n]=yk(()=>Ss(e.current)),r=Kg(t),o=Vp(),i=Vp();if(ou(ru(a=>n(Ss(a)),[])),e0(()=>{const a=t.retain();if(o.current&&!jp){var s;window.clearTimeout(o.current),o.current=null,(s=i.current)===null||s===void 0||s.call(i),i.current=null}return()=>{window.setTimeout(a,10)}},[t]),r!==t&&!jp){if(o.current){var l;window.clearTimeout(o.current),o.current=null,(l=i.current)===null||l===void 0||l.call(i),i.current=null}i.current=t.retain(),o.current=window.setTimeout(()=>{var a;o.current=null,(a=i.current)===null||a===void 0||a.call(i),i.current=null},vk)}return t}function t0(e,t){var n;const r=e.getState(),o=(n=r.nextTree)!==null&&n!==void 0?n:r.currentTree,i=t.getStore_INTERNAL().getState().currentTree;fk(()=>{const l=new Set;for(const u of[o.atomValues.keys(),i.atomValues.keys()])for(const c of u){var a,s;((a=o.atomValues.get(c))===null||a===void 0?void 0:a.contents)!==((s=i.atomValues.get(c))===null||s===void 0?void 0:s.contents)&&Jg(c).shouldRestoreFromSnapshots&&l.add(c)}l.forEach(u=>{mk(e,new pk(u),i.atomValues.has(u)?Ve(i.atomValues.get(u)):dk)}),e.replaceState(u=>({...u,stateID:t.getID()}))})}function _k(){const e=Bd();return ru(t=>t0(e.current,t),[e])}var n0={useRecoilSnapshot:wk,gotoSnapshot:t0,useGotoRecoilSnapshot:_k,useRecoilTransactionObserver:Sk,useTransactionObservation_DEPRECATED:gk,useTransactionSubscription_DEPRECATED:ou};const{peekNodeInfo:Rk}=Nr,{useStoreRef:Ek}=Bn;function Tk(){const e=Ek();return({key:t})=>Rk(e.current,e.current.getState().currentTree,t)}var Ck=Tk;const{reactMode:kk}=Vl,{RecoilRoot:xk,useStoreRef:Nk}=Bn,{useMemo:Lk}=ge;function Pk(){kk().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=Nk().current;return Lk(()=>{function t({children:n}){return ge.createElement(xk,{store_INTERNAL:e},n)}return t},[e])}var Ak=Pk;const{loadableWithValue:Mk}=zl,{initializeNode:Dk}=Nr,{DEFAULT_VALUE:$k,getNode:Ik}=$t,{copyTreeState:bk,getRecoilValueAsLoadable:Ok,invalidateDownstreams:Fk,writeLoadableToTreeState:Uk}=xn;function Wp(e){return Ik(e.key).nodeType==="atom"}class zk{constructor(t,n){fe(this,"_store",void 0),fe(this,"_treeState",void 0),fe(this,"_changes",void 0),fe(this,"get",r=>{if(this._changes.has(r.key))return this._changes.get(r.key);if(!Wp(r))throw me("Reading selectors within atomicUpdate is not supported");const o=Ok(this._store,r,this._treeState);if(o.state==="hasValue")return o.contents;throw o.state==="hasError"?o.contents:me(`Expected Recoil atom ${r.key} to have a value, but it is in a loading state.`)}),fe(this,"set",(r,o)=>{if(!Wp(r))throw me("Setting selectors within atomicUpdate is not supported");if(typeof o=="function"){const i=this.get(r);this._changes.set(r.key,o(i))}else Dk(this._store,r.key,"set"),this._changes.set(r.key,o)}),fe(this,"reset",r=>{this.set(r,$k)}),this._store=t,this._treeState=n,this._changes=new Map}newTreeState_INTERNAL(){if(this._changes.size===0)return this._treeState;const t=bk(this._treeState);for(const[n,r]of this._changes)Uk(t,n,Mk(r));return Fk(this._store,t),t}}function Vk(e){return t=>{e.replaceState(n=>{const r=new zk(e,n);return t(r),r.newTreeState_INTERNAL()})}}var jk={atomicUpdater:Vk},Bk=jk.atomicUpdater,r0=Object.freeze({__proto__:null,atomicUpdater:Bk});function Wk(e,t){if(!e)throw new Error(t)}var Hk=Wk,Bi=Hk;const{atomicUpdater:Gk}=r0,{batchUpdates:Kk}=Ys,{DEFAULT_VALUE:Qk}=$t,{useStoreRef:qk}=Bn,{refreshRecoilValue:Yk,setRecoilValue:Hp}=xn,{cloneSnapshot:Zk}=eu,{gotoSnapshot:Xk}=n0,{useCallback:Jk}=ge;class o0{}const ex=new o0;function i0(e,t,n,r){let o=ex,i;if(Kk(()=>{const a="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 me(a);const s=yg({...r??{},set:(c,d)=>Hp(e,c,d),reset:c=>Hp(e,c,Qk),refresh:c=>Yk(e,c),gotoSnapshot:c=>Xk(e,c),transact_UNSTABLE:c=>Gk(e)(c)},{snapshot:()=>{const c=Zk(e);return i=c.retain(),c}}),u=t(s);if(typeof u!="function")throw me(a);o=u(...n)}),o instanceof o0&&Bi(!1),be(o))o=o.finally(()=>{var a;(a=i)===null||a===void 0||a()});else{var l;(l=i)===null||l===void 0||l()}return o}function tx(e,t){const n=qk();return Jk((...r)=>i0(n.current,e,r),t!=null?[...t,n]:void 0)}var l0={recoilCallback:i0,useRecoilCallback:tx};const{useStoreRef:nx}=Bn,{refreshRecoilValue:rx}=xn,{useCallback:ox}=ge;function ix(e){const t=nx();return ox(()=>{const n=t.current;rx(n,e)},[e,t])}var lx=ix;const{atomicUpdater:ax}=r0,{useStoreRef:sx}=Bn,{useMemo:ux}=ge;function cx(e,t){const n=sx();return ux(()=>(...r)=>{ax(n.current)(i=>{e(i)(...r)})},t!=null?[...t,n]:void 0)}var fx=cx;class dx{constructor(t){fe(this,"value",void 0),this.value=t}}var hx={WrappedValue:dx},px=hx.WrappedValue,a0=Object.freeze({__proto__:null,WrappedValue:px});const{isFastRefreshEnabled:mx}=Vl;class Gp extends Error{}class vx{constructor(t){var n,r,o;fe(this,"_name",void 0),fe(this,"_numLeafs",void 0),fe(this,"_root",void 0),fe(this,"_onHit",void 0),fe(this,"_onSet",void 0),fe(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:i=>i}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 i,l,a,s;let u,c;for(const[T,p]of t){var d,h,y;const f=this._root;if((f==null?void 0:f.type)==="leaf")throw this.invalidCacheError();const m=u;if(u=m?m.branches.get(c):f,u=(d=u)!==null&&d!==void 0?d:{type:"branch",nodeKey:T,parent:m,branches:new Map,branchKey:c},u.type!=="branch"||u.nodeKey!==T)throw this.invalidCacheError();m==null||m.branches.set(c,u),r==null||(h=r.onNodeVisit)===null||h===void 0||h.call(r,u),c=this._mapNodeValue(p),this._root=(y=this._root)!==null&&y!==void 0?y:u}const g=u?(i=u)===null||i===void 0?void 0:i.branches.get(c):this._root;if(g!=null&&(g.type!=="leaf"||g.branchKey!==c))throw this.invalidCacheError();const w={type:"leaf",value:n,parent:u,branchKey:c};(l=u)===null||l===void 0||l.branches.set(c,w),this._root=(a=this._root)!==null&&a!==void 0?a:w,this._numLeafs++,this._onSet(w),r==null||(s=r.onNodeVisit)===null||s===void 0||s.call(r,w)};try{o()}catch(i){if(i instanceof Gp)this.clear(),o();else throw i}}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 i;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=(i=r)===null||i===void 0?void 0:i.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=mx()?"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 Ld(t+(this._name!=null?` - ${this._name}`:"")),new Gp}}var yx={TreeCache:vx},gx=yx.TreeCache,s0=Object.freeze({__proto__:null,TreeCache:gx});class Sx{constructor(t){var n;fe(this,"_maxSize",void 0),fe(this,"_size",void 0),fe(this,"_head",void 0),fe(this,"_tail",void 0),fe(this,"_map",void 0),fe(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 i=this.head(),l={key:t,right:i,left:null,value:n};i?i.left=l:this._tail=l,this._map.set(r,l),this._head=l,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=Ve(this._map.get(n)),o=r.right,i=r.left;o&&(o.left=r.left),i&&(i.right=r.right),r===this.head()&&(this._head=o),r===this.tail()&&(this._tail=i),this._map.delete(n),this._size--}clear(){this._size=0,this._head=null,this._tail=null,this._map=new Map}}var wx={LRUCache:Sx},_x=wx.LRUCache,u0=Object.freeze({__proto__:null,LRUCache:_x});const{LRUCache:Rx}=u0,{TreeCache:Ex}=s0;function Tx({name:e,maxSize:t,mapNodeValue:n=r=>r}){const r=new Rx({maxSize:t}),o=new Ex({name:e,mapNodeValue:n,onHit:i=>{r.set(i,!0)},onSet:i=>{const l=r.tail();r.set(i,!0),l&&o.size()>t&&o.delete(l.key)}});return o}var Kp=Tx;function on(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 me("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(be(e))return"__PROMISE__";if(Array.isArray(e))return`[${e.map((o,i)=>on(o,t,i.toString()))}]`;if(typeof e.toJSON=="function")return on(e.toJSON(n),t,n);if(e instanceof Map){const o={};for(const[i,l]of e)o[typeof i=="string"?i:on(i,t)]=l;return on(o,t,n)}return e instanceof Set?on(Array.from(e).sort((o,i)=>on(o,t).localeCompare(on(i,t))),t,n):Symbol!==void 0&&e[Symbol.iterator]!=null&&typeof e[Symbol.iterator]=="function"?on(Array.from(e),t,n):`{${Object.keys(e).filter(o=>e[o]!==void 0).sort().map(o=>`${on(o,t)}:${on(e[o],t,o)}`).join(",")}}`}function Cx(e,t={allowFunctions:!1}){return on(e,t)}var iu=Cx;const{TreeCache:kx}=s0,ya={equality:"reference",eviction:"keep-all",maxSize:1/0};function xx({equality:e=ya.equality,eviction:t=ya.eviction,maxSize:n=ya.maxSize}=ya,r){const o=Nx(e);return Lx(t,n,o,r)}function Nx(e){switch(e){case"reference":return t=>t;case"value":return t=>iu(t)}throw me(`Unrecognized equality policy ${e}`)}function Lx(e,t,n,r){switch(e){case"keep-all":return new kx({name:r,mapNodeValue:n});case"lru":return Kp({name:r,maxSize:Ve(t),mapNodeValue:n});case"most-recent":return Kp({name:r,maxSize:1,mapNodeValue:n})}throw me(`Unrecognized eviction policy ${e}`)}var Px=xx;function Ax(e){return()=>null}var Mx={startPerfBlock:Ax};const{isLoadable:Dx,loadableWithError:ga,loadableWithPromise:$x,loadableWithValue:rc}=zl,{WrappedValue:c0}=a0,{getNodeLoadable:Sa,peekNodeLoadable:Ix,setNodeValue:bx}=Nr,{saveDepsToStore:Ox}=jl,{DEFAULT_VALUE:Fx,getConfigDeletionHandler:Ux,getNode:zx,registerNode:Qp}=$t,{isRecoilValue:Vx}=ri,{markRecoilValueModified:qp}=xn,{retainedByOptionWithDefault:jx}=ao,{recoilCallback:Bx}=l0,{startPerfBlock:Wx}=Mx;class f0{}const bi=new f0,Oi=[],wa=new Map,Hx=(()=>{let e=0;return()=>e++})();function d0(e){let t=null;const{key:n,get:r,cachePolicy_UNSTABLE:o}=e,i=e.set!=null?e.set:void 0,l=new Set,a=Px(o??{equality:"reference",eviction:"keep-all"},n),s=jx(e.retainedBy_UNSTABLE),u=new Map;let c=0;function d(){return!Pe("recoil_memory_managament_2020")||c>0}function h(E){return E.getState().knownSelectors.add(n),c++,()=>{c--}}function y(){return Ux(n)!==void 0&&!d()}function g(E,$,D,X,U){je($,X,U),w(E,D)}function w(E,$){xe(E,$)&&se(E),p($,!0)}function T(E,$){xe(E,$)&&(Ve(G(E)).stateVersions.clear(),p($,!1))}function p(E,$){const D=wa.get(E);if(D!=null){for(const X of D)qp(X,Ve(t));$&&wa.delete(E)}}function f(E,$){let D=wa.get($);D==null&&wa.set($,D=new Set),D.add(E)}function m(E,$,D,X,U,re){return $.then(ue=>{if(!d())throw se(E),bi;const Z=rc(ue);return g(E,D,U,Z,X),ue}).catch(ue=>{if(!d())throw se(E),bi;if(be(ue))return C(E,ue,D,X,U,re);const Z=ga(ue);throw g(E,D,U,Z,X),ue})}function C(E,$,D,X,U,re){return $.then(ue=>{if(!d())throw se(E),bi;re.loadingDepKey!=null&&re.loadingDepPromise===$?D.atomValues.set(re.loadingDepKey,rc(ue)):E.getState().knownSelectors.forEach(ce=>{D.atomValues.delete(ce)});const Z=k(E,D);if(Z&&Z.state!=="loading"){if((xe(E,U)||G(E)==null)&&w(E,U),Z.state==="hasValue")return Z.contents;throw Z.contents}if(!xe(E,U)){const ce=F(E,D);if(ce!=null)return ce.loadingLoadable.contents}const[Ee,ye]=v(E,D,U);if(Ee.state!=="loading"&&g(E,D,U,Ee,ye),Ee.state==="hasError")throw Ee.contents;return Ee.contents}).catch(ue=>{if(ue instanceof f0)throw bi;if(!d())throw se(E),bi;const Z=ga(ue);throw g(E,D,U,Z,X),ue})}function L(E,$,D,X){var U,re,ue,Z;if(xe(E,X)||$.version===((U=E.getState())===null||U===void 0||(re=U.currentTree)===null||re===void 0?void 0:re.version)||$.version===((ue=E.getState())===null||ue===void 0||(Z=ue.nextTree)===null||Z===void 0?void 0:Z.version)){var Ee,ye,ce;Ox(n,D,E,(Ee=(ye=E.getState())===null||ye===void 0||(ce=ye.nextTree)===null||ce===void 0?void 0:ce.version)!==null&&Ee!==void 0?Ee:E.getState().currentTree.version)}for(const Ae of D)l.add(Ae)}function v(E,$,D){const X=Wx(n);let U=!0,re=!0;const ue=()=>{X(),re=!1};let Z,Ee=!1,ye;const ce={loadingDepKey:null,loadingDepPromise:null},Ae=new Map;function It({key:xt}){const wt=Sa(E,$,xt);switch(Ae.set(xt,wt),U||(L(E,$,new Set(Ae.keys()),D),T(E,D)),wt.state){case"hasValue":return wt.contents;case"hasError":throw wt.contents;case"loading":throw ce.loadingDepKey=xt,ce.loadingDepPromise=wt.contents,wt.contents}throw me("Invalid Loadable state")}const St=xt=>(...wt)=>{if(re)throw me("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&&Bi(!1),Bx(E,xt,wt,{node:t})};try{Z=r({get:It,getCallback:St}),Z=Vx(Z)?It(Z):Z,Dx(Z)&&(Z.state==="hasError"&&(Ee=!0),Z=Z.contents),be(Z)?Z=m(E,Z,$,Ae,D,ce).finally(ue):ue(),Z=Z instanceof c0?Z.value:Z}catch(xt){Z=xt,be(Z)?Z=C(E,Z,$,Ae,D,ce).finally(ue):(Ee=!0,ue())}return Ee?ye=ga(Z):be(Z)?ye=$x(Z):ye=rc(Z),U=!1,ke(E,D,Ae),L(E,$,new Set(Ae.keys()),D),[ye,Ae]}function k(E,$){let D=$.atomValues.get(n);if(D!=null)return D;const X=new Set;try{D=a.get(re=>(typeof re!="string"&&Bi(!1),Sa(E,$,re).contents),{onNodeVisit:re=>{re.type==="branch"&&re.nodeKey!==n&&X.add(re.nodeKey)}})}catch(re){throw me(`Problem with cache lookup for selector "${n}": ${re.message}`)}if(D){var U;$.atomValues.set(n,D),L(E,$,X,(U=G(E))===null||U===void 0?void 0:U.executionID)}return D}function P(E,$){const D=k(E,$);if(D!=null)return se(E),D;const X=F(E,$);if(X!=null){var U;return((U=X.loadingLoadable)===null||U===void 0?void 0:U.state)==="loading"&&f(E,X.executionID),X.loadingLoadable}const re=Hx(),[ue,Z]=v(E,$,re);return ue.state==="loading"?(le(E,re,ue,Z,$),f(E,re)):(se(E),je($,ue,Z)),ue}function F(E,$){const D=$g([u.has(E)?[Ve(u.get(E))]:[],Gs($d(u,([U])=>U!==E),([,U])=>U)]);function X(U){for(const[re,ue]of U)if(!Sa(E,$,re).is(ue))return!0;return!1}for(const U of D){if(U.stateVersions.get($.version)||!X(U.depValuesDiscoveredSoFarDuringAsyncWork))return U.stateVersions.set($.version,!0),U;U.stateVersions.set($.version,!1)}}function G(E){return u.get(E)}function le(E,$,D,X,U){u.set(E,{depValuesDiscoveredSoFarDuringAsyncWork:X,executionID:$,loadingLoadable:D,stateVersions:new Map([[U.version,!0]])})}function ke(E,$,D){if(xe(E,$)){const X=G(E);X!=null&&(X.depValuesDiscoveredSoFarDuringAsyncWork=D)}}function se(E){u.delete(E)}function xe(E,$){var D;return $===((D=G(E))===null||D===void 0?void 0:D.executionID)}function ht(E){return Array.from(E.entries()).map(([$,D])=>[$,D.contents])}function je(E,$,D){E.atomValues.set(n,$);try{a.set(ht(D),$)}catch(X){throw me(`Problem with setting cache for selector "${n}": ${X.message}`)}}function ve(E){if(Oi.includes(n)){const $=`Recoil selector has circular dependencies: ${Oi.slice(Oi.indexOf(n)).join(" → ")}`;return ga(me($))}Oi.push(n);try{return E()}finally{Oi.pop()}}function V(E,$){const D=$.atomValues.get(n);return D??a.get(X=>{var U;return typeof X!="string"&&Bi(!1),(U=Ix(E,$,X))===null||U===void 0?void 0:U.contents})}function Y(E,$){return ve(()=>P(E,$))}function O(E){E.atomValues.delete(n)}function K(E,$){t==null&&Bi(!1);for(const X of l){var D;const U=zx(X);(D=U.clearCache)===null||D===void 0||D.call(U,E,$)}l.clear(),O($),a.clear(),qp(E,t)}return i!=null?t=Qp({key:n,nodeType:"selector",peek:V,get:Y,set:($,D,X)=>{let U=!1;const re=new Map;function ue({key:ce}){if(U)throw me("Recoil: Async selector sets are not currently supported.");const Ae=Sa($,D,ce);if(Ae.state==="hasValue")return Ae.contents;if(Ae.state==="loading"){const It=`Getting value of asynchronous atom or selector "${ce}" in a pending state while setting selector "${n}" is not yet supported.`;throw me(It)}else throw Ae.contents}function Z(ce,Ae){if(U)throw me("Recoil: Async selector sets are not currently supported.");const It=typeof Ae=="function"?Ae(ue(ce)):Ae;bx($,D,ce.key,It).forEach((xt,wt)=>re.set(wt,xt))}function Ee(ce){Z(ce,Fx)}const ye=i({set:Z,get:ue,reset:Ee},X);if(ye!==void 0)throw be(ye)?me("Recoil: Async selector sets are not currently supported."):me("Recoil: selector set should be a void function.");return U=!0,re},init:h,invalidate:O,clearCache:K,shouldDeleteConfigOnRelease:y,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:s}):t=Qp({key:n,nodeType:"selector",peek:V,get:Y,init:h,invalidate:O,clearCache:K,shouldDeleteConfigOnRelease:y,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:s})}d0.value=e=>new c0(e);var li=d0;const{isLoadable:Gx,loadableWithError:oc,loadableWithPromise:ic,loadableWithValue:po}=zl,{WrappedValue:h0}=a0,{peekNodeInfo:Kx}=Nr,{DEFAULT_VALUE:Dr,DefaultValue:Xn,getConfigDeletionHandler:p0,registerNode:Qx,setConfigDeletionHandler:qx}=$t,{isRecoilValue:Yx}=ri,{getRecoilValueAsLoadable:Zx,markRecoilValueModified:Xx,setRecoilValue:Yp,setRecoilValueLoadable:Jx}=xn,{retainedByOptionWithDefault:eN}=ao,Fi=e=>e instanceof h0?e.value:e;function tN(e){const{key:t,persistence_UNSTABLE:n}=e,r=eN(e.retainedBy_UNSTABLE);let o=0;function i(f){return ic(f.then(m=>(l=po(m),m)).catch(m=>{throw l=oc(m),m}))}let l=be(e.default)?i(e.default):Gx(e.default)?e.default.state==="loading"?i(e.default.contents):e.default:po(Fi(e.default));l.contents;let a;const s=new Map;function u(f){return f}function c(f,m){const C=m.then(L=>{var v,k;return((k=((v=f.getState().nextTree)!==null&&v!==void 0?v:f.getState().currentTree).atomValues.get(t))===null||k===void 0?void 0:k.contents)===C&&Yp(f,p,L),L}).catch(L=>{var v,k;throw((k=((v=f.getState().nextTree)!==null&&v!==void 0?v:f.getState().currentTree).atomValues.get(t))===null||k===void 0?void 0:k.contents)===C&&Jx(f,p,oc(L)),L});return C}function d(f,m,C){var L;o++;const v=()=>{var G;o--,(G=s.get(f))===null||G===void 0||G.forEach(le=>le()),s.delete(f)};if(f.getState().knownAtoms.add(t),l.state==="loading"){const G=()=>{var le;((le=f.getState().nextTree)!==null&&le!==void 0?le:f.getState().currentTree).atomValues.has(t)||Xx(f,p)};l.contents.finally(G)}const k=(L=e.effects)!==null&&L!==void 0?L:e.effects_UNSTABLE;if(k!=null){let G=function(O){if(xe&&O.key===t){const K=se;return K instanceof Xn?h(f,m):be(K)?ic(K.then(E=>E instanceof Xn?l.toPromise():E)):po(K)}return Zx(f,O)},le=function(O){return G(O).toPromise()},ke=function(O){var K;const E=Kx(f,(K=f.getState().nextTree)!==null&&K!==void 0?K:f.getState().currentTree,O.key);return xe&&O.key===t&&!(se instanceof Xn)?{...E,isSet:!0,loadable:G(O)}:E},se=Dr,xe=!0,ht=!1,je=null;const ve=O=>K=>{if(xe){const E=G(p),$=E.state==="hasValue"?E.contents:Dr;se=typeof K=="function"?K($):K,be(se)&&(se=se.then(D=>(je={effect:O,value:D},D)))}else{if(be(K))throw me("Setting atoms to async values is not implemented.");typeof K!="function"&&(je={effect:O,value:Fi(K)}),Yp(f,p,typeof K=="function"?E=>{const $=Fi(K(E));return je={effect:O,value:$},$}:Fi(K))}},V=O=>()=>ve(O)(Dr),Y=O=>K=>{var E;const{release:$}=f.subscribeToTransactions(D=>{var X;let{currentTree:U,previousTree:re}=D.getState();re||(re=U);const ue=(X=U.atomValues.get(t))!==null&&X!==void 0?X:l;if(ue.state==="hasValue"){var Z,Ee,ye,ce;const Ae=ue.contents,It=(Z=re.atomValues.get(t))!==null&&Z!==void 0?Z:l,St=It.state==="hasValue"?It.contents:Dr;((Ee=je)===null||Ee===void 0?void 0:Ee.effect)!==O||((ye=je)===null||ye===void 0?void 0:ye.value)!==Ae?K(Ae,St,!U.atomValues.has(t)):((ce=je)===null||ce===void 0?void 0:ce.effect)===O&&(je=null)}},t);s.set(f,[...(E=s.get(f))!==null&&E!==void 0?E:[],$])};for(const O of k)try{const K=O({node:p,storeID:f.storeID,parentStoreID_UNSTABLE:f.parentStoreID,trigger:C,setSelf:ve(O),resetSelf:V(O),onSet:Y(O),getPromise:le,getLoadable:G,getInfo_UNSTABLE:ke});if(K!=null){var P;s.set(f,[...(P=s.get(f))!==null&&P!==void 0?P:[],K])}}catch(K){se=K,ht=!0}if(xe=!1,!(se instanceof Xn)){var F;const O=ht?oc(se):be(se)?ic(c(f,se)):po(Fi(se));O.contents,m.atomValues.set(t,O),(F=f.getState().nextTree)===null||F===void 0||F.atomValues.set(t,O)}}return v}function h(f,m){var C,L;return(C=(L=m.atomValues.get(t))!==null&&L!==void 0?L:a)!==null&&C!==void 0?C:l}function y(f,m){if(m.atomValues.has(t))return Ve(m.atomValues.get(t));if(m.nonvalidatedAtoms.has(t)){if(a!=null)return a;if(n==null)return l;const C=m.nonvalidatedAtoms.get(t),L=n.validator(C,Dr);return a=L instanceof Xn?l:po(L),a}else return l}function g(){a=void 0}function w(f,m,C){if(m.atomValues.has(t)){const L=Ve(m.atomValues.get(t));if(L.state==="hasValue"&&C===L.contents)return new Map}else if(!m.nonvalidatedAtoms.has(t)&&C instanceof Xn)return new Map;return a=void 0,new Map().set(t,po(C))}function T(){return p0(t)!==void 0&&o<=0}const p=Qx({key:t,nodeType:"atom",peek:h,get:y,set:w,init:d,invalidate:g,shouldDeleteConfigOnRelease:T,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 p}function Wd(e){const{...t}=e,n="default"in e?e.default:new Promise(()=>{});return Yx(n)?nN({...t,default:n}):tN({...t,default:n})}function nN(e){const t=Wd({...e,default:Dr,persistence_UNSTABLE:e.persistence_UNSTABLE===void 0?void 0:{...e.persistence_UNSTABLE,validator:r=>r instanceof Xn?r:Ve(e.persistence_UNSTABLE).validator(r,Dr)},effects:e.effects,effects_UNSTABLE:e.effects_UNSTABLE}),n=li({key:`${e.key}__withFallback`,get:({get:r})=>{const o=r(t);return o instanceof Xn?e.default:o},set:({set:r},o)=>r(t,o),cachePolicy_UNSTABLE:{eviction:"most-recent"},dangerouslyAllowMutability:e.dangerouslyAllowMutability});return qx(n.key,p0(e.key)),n}Wd.value=e=>new h0(e);var m0=Wd;class rN{constructor(t){var n;fe(this,"_map",void 0),fe(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 oN={MapCache:rN},iN=oN.MapCache,lN=Object.freeze({__proto__:null,MapCache:iN});const{LRUCache:Zp}=u0,{MapCache:aN}=lN,_a={equality:"reference",eviction:"none",maxSize:1/0};function sN({equality:e=_a.equality,eviction:t=_a.eviction,maxSize:n=_a.maxSize}=_a){const r=uN(e);return cN(t,n,r)}function uN(e){switch(e){case"reference":return t=>t;case"value":return t=>iu(t)}throw me(`Unrecognized equality policy ${e}`)}function cN(e,t,n){switch(e){case"keep-all":return new aN({mapKey:n});case"lru":return new Zp({mapKey:n,maxSize:Ve(t)});case"most-recent":return new Zp({mapKey:n,maxSize:1})}throw me(`Unrecognized eviction policy ${e}`)}var v0=sN;const{setConfigDeletionHandler:fN}=$t;function dN(e){var t,n;const r=v0({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 i,l;const a=r.get(o);if(a!=null)return a;const{cachePolicyForParams_UNSTABLE:s,...u}=e,c="default"in e?e.default:new Promise(()=>{}),d=m0({...u,key:`${e.key}__${(i=iu(o))!==null&&i!==void 0?i:"void"}`,default:typeof c=="function"?c(o):c,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):(l=e.effects)!==null&&l!==void 0?l:e.effects_UNSTABLE});return r.set(o,d),fN(d.key,()=>{r.delete(o)}),d}}var hN=dN;const{setConfigDeletionHandler:pN}=$t;let mN=0;function vN(e){var t,n;const r=v0({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 i;let l;try{l=r.get(o)}catch(h){throw me(`Problem with cache lookup for selector ${e.key}: ${h.message}`)}if(l!=null)return l;const a=`${e.key}__selectorFamily/${(i=iu(o,{allowFunctions:!0}))!==null&&i!==void 0?i:"void"}/${mN++}`,s=h=>e.get(o)(h),u=e.cachePolicy_UNSTABLE,c=typeof e.retainedBy_UNSTABLE=="function"?e.retainedBy_UNSTABLE(o):e.retainedBy_UNSTABLE;let d;if(e.set!=null){const h=e.set;d=li({key:a,get:s,set:(g,w)=>h(o)(g,w),cachePolicy_UNSTABLE:u,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:c})}else d=li({key:a,get:s,cachePolicy_UNSTABLE:u,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:c});return r.set(o,d),pN(d.key,()=>{r.delete(o)}),d}}var Lr=vN;const yN=Lr({key:"__constant",get:e=>()=>e,cachePolicyForParams_UNSTABLE:{equality:"reference"}});function gN(e){return yN(e)}var SN=gN;const wN=Lr({key:"__error",get:e=>()=>{throw me(e)},cachePolicyForParams_UNSTABLE:{equality:"reference"}});function _N(e){return wN(e)}var RN=_N;function EN(e){return e}var TN=EN;const{loadableWithError:y0,loadableWithPromise:g0,loadableWithValue:S0}=zl;function lu(e,t){const n=Array(t.length).fill(void 0),r=Array(t.length).fill(void 0);for(const[o,i]of t.entries())try{n[o]=e(i)}catch(l){r[o]=l}return[n,r]}function CN(e){return e!=null&&!be(e)}function au(e){return Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(t=>e[t])}function Sf(e,t){return Array.isArray(e)?t:Object.getOwnPropertyNames(e).reduce((n,r,o)=>({...n,[r]:t[o]}),{})}function Oo(e,t,n){const r=n.map((o,i)=>o==null?S0(t[i]):be(o)?g0(o):y0(o));return Sf(e,r)}function kN(e,t){return t.map((n,r)=>n===void 0?e[r]:n)}const xN=Lr({key:"__waitForNone",get:e=>({get:t})=>{const n=au(e),[r,o]=lu(t,n);return Oo(e,r,o)},dangerouslyAllowMutability:!0}),NN=Lr({key:"__waitForAny",get:e=>({get:t})=>{const n=au(e),[r,o]=lu(t,n);return o.some(i=>!be(i))?Oo(e,r,o):new Promise(i=>{for(const[l,a]of o.entries())be(a)&&a.then(s=>{r[l]=s,o[l]=void 0,i(Oo(e,r,o))}).catch(s=>{o[l]=s,i(Oo(e,r,o))})})},dangerouslyAllowMutability:!0}),LN=Lr({key:"__waitForAll",get:e=>({get:t})=>{const n=au(e),[r,o]=lu(t,n);if(o.every(l=>l==null))return Sf(e,r);const i=o.find(CN);if(i!=null)throw i;return Promise.all(o).then(l=>Sf(e,kN(r,l)))},dangerouslyAllowMutability:!0}),PN=Lr({key:"__waitForAllSettled",get:e=>({get:t})=>{const n=au(e),[r,o]=lu(t,n);return o.every(i=>!be(i))?Oo(e,r,o):Promise.all(o.map((i,l)=>be(i)?i.then(a=>{r[l]=a,o[l]=void 0}).catch(a=>{r[l]=void 0,o[l]=a}):null)).then(()=>Oo(e,r,o))},dangerouslyAllowMutability:!0}),AN=Lr({key:"__noWait",get:e=>({get:t})=>{try{return li.value(S0(t(e)))}catch(n){return li.value(be(n)?g0(n):y0(n))}},dangerouslyAllowMutability:!0});var MN={waitForNone:xN,waitForAny:NN,waitForAll:LN,waitForAllSettled:PN,noWait:AN};const{RecoilLoadable:DN}=zl,{DefaultValue:$N}=$t,{RecoilRoot:IN,useRecoilStoreID:bN}=Bn,{isRecoilValue:ON}=ri,{retentionZone:FN}=Qs,{freshSnapshot:UN}=eu,{useRecoilState:zN,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:VN,useRecoilStateLoadable:jN,useRecoilValue:BN,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:WN,useRecoilValueLoadable:HN,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:GN,useResetRecoilState:KN,useSetRecoilState:QN}=ok,{useGotoRecoilSnapshot:qN,useRecoilSnapshot:YN,useRecoilTransactionObserver:ZN}=n0,{useRecoilCallback:XN}=l0,{noWait:JN,waitForAll:eL,waitForAllSettled:tL,waitForAny:nL,waitForNone:rL}=MN;var oL={DefaultValue:$N,isRecoilValue:ON,RecoilLoadable:DN,RecoilEnv:pi,RecoilRoot:IN,useRecoilStoreID:bN,useRecoilBridgeAcrossReactRoots_UNSTABLE:Ak,atom:m0,selector:li,atomFamily:hN,selectorFamily:Lr,constSelector:SN,errorSelector:RN,readOnlySelector:TN,noWait:JN,waitForNone:rL,waitForAny:nL,waitForAll:eL,waitForAllSettled:tL,useRecoilValue:BN,useRecoilValueLoadable:HN,useRecoilState:zN,useRecoilStateLoadable:jN,useSetRecoilState:QN,useResetRecoilState:KN,useGetRecoilValueInfo_UNSTABLE:Ck,useRecoilRefresher_UNSTABLE:lx,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:GN,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:WN,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:VN,useRecoilCallback:XN,useRecoilTransaction_UNSTABLE:fx,useGotoRecoilSnapshot:qN,useRecoilSnapshot:YN,useRecoilTransactionObserver_UNSTABLE:ZN,snapshot_UNSTABLE:UN,useRetain:Ud,retentionZone:FN},iL=oL.RecoilRoot;function lL(){return z.jsx("div",{children:"Main"})}function aL(){return z.jsx("div",{children:"Mypage"})}function sL(){function e(){const t=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${t}px`);const n=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,r=Math.min(375,n);document.documentElement.style.setProperty("max-width",`${r}px`)}B.useEffect(()=>(e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}),[])}function uL(){return z.jsx("div",{children:"Footer"})}function cL(){return z.jsx("div",{children:"Header"})}function fL(){return sL(),z.jsxs(z.Fragment,{children:[z.jsx(cL,{}),z.jsx(eR,{}),z.jsx(uL,{})]})}var at=function(){return at=Object.assign||function(t){for(var n,r=1,o=arguments.length;r0?lt(vi,--nn):0,si--,Ze===10&&(si=1,uu--),Ze}function pn(){return Ze=nn2||_f(Ze)>3?"":" "}function _L(e,t){for(;--t&&pn()&&!(Ze<48||Ze>102||Ze>57&&Ze<65||Ze>70&&Ze<97););return fu(e,Ua()+(t<6&&Kr()==32&&pn()==32))}function Rf(e){for(;pn();)switch(Ze){case e:return nn;case 34:case 39:e!==34&&e!==39&&Rf(Ze);break;case 40:e===41&&Rf(e);break;case 92:pn();break}return nn}function RL(e,t){for(;pn()&&e+Ze!==57;)if(e+Ze===84&&Kr()===47)break;return"/*"+fu(t,nn-1)+"*"+Gd(e===47?e:pn())}function EL(e){for(;!_f(Kr());)pn();return fu(e,nn)}function TL(e){return SL(za("",null,null,null,[""],e=gL(e),0,[0],e))}function za(e,t,n,r,o,i,l,a,s){for(var u=0,c=0,d=l,h=0,y=0,g=0,w=1,T=1,p=1,f=0,m="",C=o,L=i,v=r,k=m;T;)switch(g=f,f=pn()){case 40:if(g!=108&<(k,d-1)==58){Fa(k+=pe(lc(f),"&","&\f"),"&\f",R0(u?a[u-1]:0))!=-1&&(p=-1);break}case 34:case 39:case 91:k+=lc(f);break;case 9:case 10:case 13:case 32:k+=wL(g);break;case 92:k+=_L(Ua()-1,7);continue;case 47:switch(Kr()){case 42:case 47:Wi(CL(RL(pn(),Ua()),t,n,s),s);break;default:k+="/"}break;case 123*w:a[u++]=En(k)*p;case 125*w:case 59:case 0:switch(f){case 0:case 125:T=0;case 59+c:p==-1&&(k=pe(k,/\f/g,"")),y>0&&En(k)-d&&Wi(y>32?em(k+";",r,n,d-1,s):em(pe(k," ","")+";",r,n,d-2,s),s);break;case 59:k+=";";default:if(Wi(v=Jp(k,t,n,u,c,o,a,m,C=[],L=[],d,i),i),f===123)if(c===0)za(k,t,v,v,C,i,d,a,L);else switch(h===99&<(k,3)===110?100:h){case 100:case 108:case 109:case 115:za(e,v,v,r&&Wi(Jp(e,v,v,0,0,o,a,m,o,C=[],d,L),L),o,L,d,a,r?C:L);break;default:za(k,v,v,v,[""],L,0,a,L)}}u=c=y=0,w=p=1,m=k="",d=l;break;case 58:d=1+En(k),y=g;default:if(w<1){if(f==123)--w;else if(f==125&&w++==0&&yL()==125)continue}switch(k+=Gd(f),f*w){case 38:p=c>0?1:(k+="\f",-1);break;case 44:a[u++]=(En(k)-1)*p,p=1;break;case 64:Kr()===45&&(k+=lc(pn())),h=Kr(),c=d=En(m=k+=EL(Ua())),f++;break;case 45:g===45&&En(k)==2&&(w=0)}}return i}function Jp(e,t,n,r,o,i,l,a,s,u,c,d){for(var h=o-1,y=o===0?i:[""],g=T0(y),w=0,T=0,p=0;w0?y[f]+" "+m:pe(m,/&\f/g,y[f])))&&(s[p++]=C);return cu(e,t,n,o===0?su:a,s,u,c,d)}function CL(e,t,n,r){return cu(e,t,n,w0,Gd(vL()),ai(e,2,-2),0,r)}function em(e,t,n,r,o){return cu(e,t,n,Hd,ai(e,0,r),ai(e,r+1,-1),r,o)}function k0(e,t,n){switch(pL(e,t)){case 5103:return Te+"print-"+e+e;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 Te+e+e;case 4789:return ol+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Te+e+ol+e+Ie+e+e;case 5936:switch(lt(e,t+11)){case 114:return Te+e+Ie+pe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Te+e+Ie+pe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Te+e+Ie+pe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Te+e+Ie+e+e;case 6165:return Te+e+Ie+"flex-"+e+e;case 5187:return Te+e+pe(e,/(\w+).+(:[^]+)/,Te+"box-$1$2"+Ie+"flex-$1$2")+e;case 5443:return Te+e+Ie+"flex-item-"+pe(e,/flex-|-self/g,"")+(Mn(e,/flex-|baseline/)?"":Ie+"grid-row-"+pe(e,/flex-|-self/g,""))+e;case 4675:return Te+e+Ie+"flex-line-pack"+pe(e,/align-content|flex-|-self/g,"")+e;case 5548:return Te+e+Ie+pe(e,"shrink","negative")+e;case 5292:return Te+e+Ie+pe(e,"basis","preferred-size")+e;case 6060:return Te+"box-"+pe(e,"-grow","")+Te+e+Ie+pe(e,"grow","positive")+e;case 4554:return Te+pe(e,/([^-])(transform)/g,"$1"+Te+"$2")+e;case 6187:return pe(pe(pe(e,/(zoom-|grab)/,Te+"$1"),/(image-set)/,Te+"$1"),e,"")+e;case 5495:case 3959:return pe(e,/(image-set\([^]*)/,Te+"$1$`$1");case 4968:return pe(pe(e,/(.+:)(flex-)?(.*)/,Te+"box-pack:$3"+Ie+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Te+e+e;case 4200:if(!Mn(e,/flex-|baseline/))return Ie+"grid-column-align"+ai(e,t)+e;break;case 2592:case 3360:return Ie+pe(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,o){return t=o,Mn(r.props,/grid-\w+-end/)})?~Fa(e+(n=n[t].value),"span",0)?e:Ie+pe(e,"-start","")+e+Ie+"grid-row-span:"+(~Fa(n,"span",0)?Mn(n,/\d+/):+Mn(n,/\d+/)-+Mn(e,/\d+/))+";":Ie+pe(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return Mn(r.props,/grid-\w+-start/)})?e:Ie+pe(pe(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return pe(e,/(.+)-inline(.+)/,Te+"$1$2")+e;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(En(e)-1-t>6)switch(lt(e,t+1)){case 109:if(lt(e,t+4)!==45)break;case 102:return pe(e,/(.+:)(.+)-([^]+)/,"$1"+Te+"$2-$3$1"+ol+(lt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Fa(e,"stretch",0)?k0(pe(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return pe(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,i,l,a,s,u){return Ie+o+":"+i+u+(l?Ie+o+"-span:"+(a?s:+s-+i)+u:"")+e});case 4949:if(lt(e,t+6)===121)return pe(e,":",":"+Te)+e;break;case 6444:switch(lt(e,lt(e,14)===45?18:11)){case 120:return pe(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Te+(lt(e,14)===45?"inline-":"")+"box$3$1"+Te+"$2$3$1"+Ie+"$2box$3")+e;case 100:return pe(e,":",":"+Ie)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return pe(e,"scroll-","scroll-snap-")+e}return e}function ws(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case Hd:e.return=k0(e.value,e.length,n);return;case _0:return ws([qn(e,{value:pe(e.value,"@","@"+Te)})],r);case su:if(e.length)return mL(n=e.props,function(o){switch(Mn(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":mo(qn(e,{props:[pe(o,/:(read-\w+)/,":"+ol+"$1")]})),mo(qn(e,{props:[o]})),wf(e,{props:Xp(n,r)});break;case"::placeholder":mo(qn(e,{props:[pe(o,/:(plac\w+)/,":"+Te+"input-$1")]})),mo(qn(e,{props:[pe(o,/:(plac\w+)/,":"+ol+"$1")]})),mo(qn(e,{props:[pe(o,/:(plac\w+)/,Ie+"input-$1")]})),mo(qn(e,{props:[o]})),wf(e,{props:Xp(n,r)});break}return""})}}var PL={animationIterationCount: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},bt={},ui=typeof process<"u"&&bt!==void 0&&(bt.REACT_APP_SC_ATTR||bt.SC_ATTR)||"data-styled",x0="active",N0="data-styled-version",du="6.1.6",Kd=`/*!sc*/ +`,Qd=typeof window<"u"&&"HTMLElement"in window,AL=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&bt!==void 0&&bt.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&bt.REACT_APP_SC_DISABLE_SPEEDY!==""?bt.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&bt.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&bt!==void 0&&bt.SC_DISABLE_SPEEDY!==void 0&&bt.SC_DISABLE_SPEEDY!==""&&bt.SC_DISABLE_SPEEDY!=="false"&&bt.SC_DISABLE_SPEEDY),ML={},hu=Object.freeze([]),ci=Object.freeze({});function L0(e,t,n){return n===void 0&&(n=ci),e.theme!==n.theme&&e.theme||t||n.theme}var P0=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),DL=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,$L=/(^-|-$)/g;function tm(e){return e.replace(DL,"-").replace($L,"")}var IL=/(a)(d)/gi,Ra=52,nm=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ef(e){var t,n="";for(t=Math.abs(e);t>Ra;t=t/Ra|0)n=nm(t%Ra)+n;return(nm(t%Ra)+n).replace(IL,"$1-$2")}var ac,A0=5381,Po=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},M0=function(e){return Po(A0,e)};function D0(e){return Ef(M0(e)>>>0)}function bL(e){return e.displayName||e.name||"Component"}function sc(e){return typeof e=="string"&&!0}var $0=typeof Symbol=="function"&&Symbol.for,I0=$0?Symbol.for("react.memo"):60115,OL=$0?Symbol.for("react.forward_ref"):60112,FL={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},UL={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},b0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},zL=((ac={})[OL]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ac[I0]=b0,ac);function rm(e){return("type"in(t=e)&&t.type.$$typeof)===I0?b0:"$$typeof"in e?zL[e.$$typeof]:FL;var t}var VL=Object.defineProperty,jL=Object.getOwnPropertyNames,om=Object.getOwnPropertySymbols,BL=Object.getOwnPropertyDescriptor,WL=Object.getPrototypeOf,im=Object.prototype;function O0(e,t,n){if(typeof t!="string"){if(im){var r=WL(t);r&&r!==im&&O0(e,r,n)}var o=jL(t);om&&(o=o.concat(om(t)));for(var i=rm(e),l=rm(t),a=0;a0?" Args: ".concat(t.join(", ")):""))}var HL=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,i=o;t>=i;)if((i<<=1)<0)throw ro(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var l=o;l=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],o=this.indexOfGroup(t),i=o+r,l=o;l=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(T+="".concat(p,","))}),s+="".concat(g).concat(w,'{content:"').concat(T,'"}').concat(Kd)},c=0;c0?".".concat(t):h},c=s.slice();c.push(function(h){h.type===su&&h.value.includes("&")&&(h.props[0]=h.props[0].replace(nP,n).replace(r,u))}),l.prefix&&c.push(LL),c.push(kL);var d=function(h,y,g,w){y===void 0&&(y=""),g===void 0&&(g=""),w===void 0&&(w="&"),t=w,n=y,r=new RegExp("\\".concat(n,"\\b"),"g");var T=h.replace(rP,""),p=TL(g||y?"".concat(g," ").concat(y," { ").concat(T," }"):T);l.namespace&&(p=U0(p,l.namespace));var f=[];return ws(p,xL(c.concat(NL(function(m){return f.push(m)})))),f};return d.hash=s.length?s.reduce(function(h,y){return y.name||ro(15),Po(h,y.name)},A0).toString():"",d}var iP=new Rs,kf=oP(),z0=ge.createContext({shouldForwardProp:void 0,styleSheet:iP,stylis:kf});z0.Consumer;ge.createContext(void 0);function xf(){return B.useContext(z0)}var lP=function(){function e(t,n){var r=this;this.inject=function(o,i){i===void 0&&(i=kf);var l=r.name+i.hash;o.hasNameForId(r.id,l)||o.insertRules(r.id,l,i(r.rules,l,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,Yd(this,function(){throw ro(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=kf),this.name+t.hash},e}(),aP=function(e){return e>="A"&&e<="Z"};function am(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,l)){var a=r(i,".".concat(l),void 0,this.componentId);n.insertRules(this.componentId,l,a)}o=Ur(o,l),this.staticRulesId=l}else{for(var s=Po(this.baseHash,r.hash),u="",c=0;c>>0);n.hasNameForId(this.componentId,y)||n.insertRules(this.componentId,y,r(u,".".concat(y),void 0,this.componentId)),o=Ur(o,y)}}return o},e}(),xl=ge.createContext(void 0);xl.Consumer;function cP(e){var t=ge.useContext(xl),n=B.useMemo(function(){return function(r,o){if(!r)throw ro(14);if(no(r)){var i=r(o);return i}if(Array.isArray(r)||typeof r!="object")throw ro(8);return o?at(at({},o),r):r}(e.theme,t)},[e.theme,t]);return e.children?ge.createElement(xl.Provider,{value:n},e.children):null}var uc={};function fP(e,t,n){var r=qd(e),o=e,i=!sc(e),l=t.attrs,a=l===void 0?hu:l,s=t.componentId,u=s===void 0?function(C,L){var v=typeof C!="string"?"sc":tm(C);uc[v]=(uc[v]||0)+1;var k="".concat(v,"-").concat(D0(du+v+uc[v]));return L?"".concat(L,"-").concat(k):k}(t.displayName,t.parentComponentId):s,c=t.displayName,d=c===void 0?function(C){return sc(C)?"styled.".concat(C):"Styled(".concat(bL(C),")")}(e):c,h=t.displayName&&t.componentId?"".concat(tm(t.displayName),"-").concat(t.componentId):t.componentId||u,y=r&&o.attrs?o.attrs.concat(a).filter(Boolean):a,g=t.shouldForwardProp;if(r&&o.shouldForwardProp){var w=o.shouldForwardProp;if(t.shouldForwardProp){var T=t.shouldForwardProp;g=function(C,L){return w(C,L)&&T(C,L)}}else g=w}var p=new uP(n,h,r?o.componentStyle:void 0);function f(C,L){return function(v,k,P){var F=v.attrs,G=v.componentStyle,le=v.defaultProps,ke=v.foldedComponentIds,se=v.styledComponentId,xe=v.target,ht=ge.useContext(xl),je=xf(),ve=v.shouldForwardProp||je.shouldForwardProp,V=L0(k,ht,le)||ci,Y=function(X,U,re){for(var ue,Z=at(at({},U),{className:void 0,theme:re}),Ee=0;Ee2&&Rs.registerId(this.componentId+t),this.removeStyles(t,r),this.createStyles(t,n,r,o)},e}();function H0(e){for(var t=[],n=1;ne.colors.white}; +`,K0=kt.div` + width: 100%; + padding: 0 2rem; + + display: flex; + justify-content: space-between; + flex-wrap: wrap; +`,ur=kt.div` + width: 16rem; + height: 25.7rem; + padding: 0; + + display: flex; + flex-direction: column; + align-items: flex-start; +`,cr=kt.img` + width: 16rem; + height: 16rem; + + border-radius: 1rem; + background-color: ${({theme:e})=>e.colors.G_03}; + border: 1px solid ${({theme:e})=>e.colors.G_02}; +`,fr=kt.p` + display: -webkit-box; + width: 12.8rem; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; + + ${({theme:e})=>e.fonts.body_09}; + overflow: hidden; + color: ${({theme:e})=>e.colors.black}; + text-overflow: ellipsis; + text-align: left; +`,dr=kt.span` + ${({theme:e})=>e.fonts.body_07}; + color: ${({theme:e})=>e.colors.black}; +`,hr=kt.span` + ${({theme:e})=>e.fonts.caption_02}; + color: ${({theme:e})=>e.colors.G_08}; +`,hP=kt.div` + width: 10.3rem; + height: 2.7rem; + + padding: 0.3rem 1rem; + margin: 2.2rem 0 1.2rem 0; + + display: flex; + justify-content: center; + align-items: center; + + column-gap: 0.4rem; + + border-radius: 1.4rem; + background: ${({theme:e})=>e.colors.G_01}; +`,pP=kt.span` + ${({theme:e})=>e.fonts.body_09}; + color: ${({theme:e})=>e.colors.P_06}; +`;function Q0({time:e}){return z.jsx(hP,{children:z.jsx(pP,{children:e})})}function mP(){const t="왕호은",r="00:00:00";return z.jsxs(G0,{children:[z.jsx(Q0,{time:r}),z.jsxs(K0,{children:[z.jsxs(ur,{children:[z.jsx(cr,{}),z.jsx(fr,{children:"어센틱 로고 후디 멜란지 그레이"}),z.jsxs(dr,{children:[42e3,"원"]}),z.jsxs(hr,{children:[t," | 인당 ",Math.floor(42e3/3),"원"]})]}),z.jsxs(ur,{children:[z.jsx(cr,{}),z.jsx(fr,{children:"어센틱 로고 후디 멜란지 그레이"}),z.jsxs(dr,{children:[42e3,"원"]}),z.jsxs(hr,{children:[t," | 인당 ",Math.floor(42e3/3),"원"]})]}),z.jsxs(ur,{children:[z.jsx(cr,{}),z.jsx(fr,{children:"어센틱 로고 후디 멜란지 그레이"}),z.jsxs(dr,{children:[42e3,"원"]}),z.jsxs(hr,{children:[t," | 인당 ",Math.floor(42e3/3),"원"]})]}),z.jsxs(ur,{children:[z.jsx(cr,{}),z.jsx(fr,{children:"어센틱 로고 후디 멜란지 그레이"}),z.jsxs(dr,{children:[42e3,"원"]}),z.jsxs(hr,{children:[t," | 인당 ",Math.floor(42e3/3),"원"]})]})]})]})}function vP(){const t="왕호은",n="00:00:00";return z.jsxs(G0,{children:[z.jsx(Q0,{time:n}),z.jsxs(K0,{children:[z.jsxs(ur,{children:[z.jsx(cr,{}),z.jsx(fr,{children:"어센틱 로고 후디 멜란지 그레이"}),z.jsxs(dr,{children:[42e3,"원"]}),z.jsx(hr,{children:t})]}),z.jsxs(ur,{children:[z.jsx(cr,{}),z.jsx(fr,{children:"어센틱 로고 후디 멜란지 그레이"}),z.jsxs(dr,{children:[42e3,"원"]}),z.jsx(hr,{children:t})]}),z.jsxs(ur,{children:[z.jsx(cr,{}),z.jsx(fr,{children:"어센틱 로고 후디 멜란지 그레이"}),z.jsxs(dr,{children:[42e3,"원"]}),z.jsx(hr,{children:t})]}),z.jsxs(ur,{children:[z.jsx(cr,{}),z.jsx(fr,{children:"어센틱 로고 후디 멜란지 그레이"}),z.jsxs(dr,{children:[42e3,"원"]}),z.jsx(hr,{children:t})]})]})]})}const yP={flexBox:({direction:e="row",align:t,justify:n})=>Le` + display: flex; + flex-direction: ${e}; + align-items: ${t}; + justify-content: ${n}; + `,inlineFlexBox:({direction:e="row",align:t,justify:n})=>Le` + display: inline-flex; + flex-direction: ${e}; + align-items: ${t}; + justify-content: ${n}; + `,flexCenter:({direction:e="column"})=>Le` + display: flex; + flex-direction: ${e}; + align-items: center; + justify-content: center; + `},gP={white:"#FFFFFF",black:"#222222",G_01:"#F8F8F8",G_02:"#EBE9EA",G_03:"#E1DEDF",G_04:"#D3CFD1",G_05:"#CAC6C8",G_06:"#BDB8BA",G_07:"#ACA7A9",G_08:"#868384",G_09:"#686566",G_10:"#4F4D4E",P_01:"#FFE9F1",P_02:"#FFBAD5",P_03:"#FF99C0",P_04:"#FF6AA3",P_05:"#FF4D91",P_06:"#FF2176",P_07:"#E81E6B",P_08:"#B51754",P_09:"#8C1241",P_10:"#6B0E32",R_01:"#FFEDED",R_02:"#FF4A4A",B_01:"#EDF1FF",B_02:"#4A72FF"},SP={Title:Le` + font-family: 'SUIT'; + font-size: 2.4rem; + font-style: normal; + font-weight: 600; + line-height: 150%; + `,heading_01:Le` + font-family: 'SUIT'; + font-size: 2.2rem; + font-style: normal; + font-weight: 600; + line-height: 150%; + `,heading_02:Le` + font-family: 'SUIT'; + font-size: 2.2rem; + font-style: normal; + font-weight: 400; + line-height: 150%; + `,heading_03:Le` + font-family: 'SUIT'; + font-size: 2rem; + font-style: normal; + font-weight: 600; + line-height: 150%; + `,heading_04:Le` + font-family: 'SUIT'; + font-size: 2rem; + font-style: normal; + font-weight: 400; + line-height: 150%; + `,body_01:Le` + font-family: 'SUIT'; + font-size: 1.8rem; + font-style: normal; + font-weight: 600; + line-height: 150%; + `,body_02:Le` + font-family: 'SUIT'; + font-size: 1.8rem; + font-style: normal; + font-weight: 400; + line-height: 150%; + `,body_03:Le` + font-family: 'SUIT'; + font-size: 1.7rem; + font-style: normal; + font-weight: 600; + line-height: 150%; + `,body_04:Le` + font-family: 'SUIT'; + font-size: 1.7rem; + font-style: normal; + font-weight: 400; + line-height: 150%; + `,body_05:Le` + font-family: 'SUIT'; + font-size: 1.6rem; + font-style: normal; + font-weight: 600; + line-height: 150%; + `,body_06:Le` + font-family: 'SUIT'; + font-size: 1.6rem; + font-style: normal; + font-weight: 400; + line-height: 150%; + `,body_07:Le` + font-family: 'SUIT'; + font-size: 1.5rem; + font-style: normal; + font-weight: 600; + line-height: 150%; + `,body_08:Le` + font-family: 'SUIT'; + font-size: 1.5rem; + font-style: normal; + font-weight: 400; + line-height: 150%; + `,body_09:Le` + font-family: 'SUIT'; + font-size: 1.4rem; + font-style: normal; + font-weight: 600; + line-height: 150%; + `,body_10:Le` + font-family: 'SUIT'; + font-size: 1.4rem; + font-style: normal; + font-weight: 400; + line-height: 150%; + `,caption_01:Le` + font-family: 'SUIT'; + font-size: 1.2rem; + font-style: normal; + font-weight: 600; + line-height: 150%; + `,caption_02:Le` + font-family: 'SUIT'; + font-size: 1.2rem; + font-style: normal; + font-weight: 400; + line-height: 150%; + `,caption_03:Le` + font-family: 'SUIT'; + font-size: 1rem; + font-style: normal; + font-weight: 600; + line-height: 150%; + `,caption_04:Le` + font-family: 'SUIT'; + font-size: 1rem; + font-style: normal; + font-weight: 400; + line-height: 150%; + `},vt={mixin:yP,colors:gP,fonts:SP},wP=kt.p` + color: ${vt.colors.B_01}; + ${vt.fonts.heading_01}; +`;kt.p` + color: ${vt.colors.G_10}; + ${vt.fonts.caption_02}; +`;const cm=({title:e})=>z.jsx(wP,{children:e}),_P=kt.input` + display: flex; + justify-content: center; + align-items: flex-start; + width: 100%; + margin-top: 7.2rem; + border: none; + border-bottom: 0.1rem solid ${vt.colors.G_02}; + outline: none; + gap: 0.8rem; + + ${e=>e.hasContent&&Le` + border-bottom: 0.1rem solid ${vt.colors.P_06}; + `} + + ${e=>e.maxLengthReached&&Le` + border-bottom: 0.1rem solid ${vt.colors.G_02}; + `} + + input::placeholder { + color: ${vt.colors.G_07}; + ${vt.fonts.body_06} + } + + &::-webkit-input-placeholder { + color: ${vt.colors.G_07}; + ${vt.fonts.body_06} + } + + &:-ms-input-placeholder { + color: ${vt.colors.G_07}; + ${vt.fonts.body_06} + } +`,RP=kt.p` + color: ${vt.colors.G_07}; + ${vt.fonts.body_10} +`,EP=()=>{const[e,t]=B.useState(""),n=r=>{const o=r.target.value,i=[...o].filter(l=>/[\ud800-\udfff]/.test(l)).length;o.length+i<=10?t(o):r.preventDefault()};return z.jsxs(z.Fragment,{children:[z.jsx(cm,{title:"선물 받을 분의"}),z.jsx(cm,{title:"이름, 혹은 닉네임을 알려주세요"}),z.jsx(_P,{type:"text",onChange:n,maxLength:10,placeholder:"이름을 입력해주세요",hasContent:e.length>0,maxLengthReached:e.length===10}),z.jsxs(RP,{children:["(",e.length,"/10)"]})]})},TP=()=>z.jsx(CP,{children:z.jsx(EP,{})}),CP=kt.div` + margin: 2rem; +`,kP=rR([{path:"/",element:z.jsx(fL,{}),children:[{path:"/",element:z.jsx(lL,{})},{path:"/mypage",element:z.jsx(aL,{})},{path:"/giftdetailfriends",element:z.jsx(mP,{})},{path:"/giftdetail2030",element:z.jsx(vP,{})},{path:"/onboarding",element:z.jsx(TP,{})}]}]);var q0=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Y0=Le(fm||(fm=q0([` +/* http://meyerweb.com/eric/tools/css/reset/ + v5.0.1 | 20191019 + License: none (public domain) +*/ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, menu, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +main, menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, main, menu, nav, section { + display: block; +} +/* HTML5 hidden-attribute fix for newer browsers */ +*[hidden] { + display: none; +} +body { + line-height: 1; +} +menu, ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +`],[` +/* http://meyerweb.com/eric/tools/css/reset/ + v5.0.1 | 20191019 + License: none (public domain) +*/ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, menu, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +main, menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, main, menu, nav, section { + display: block; +} +/* HTML5 hidden-attribute fix for newer browsers */ +*[hidden] { + display: none; +} +body { + line-height: 1; +} +menu, ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +`])));H0(dm||(dm=q0(["",""],["",""])),Y0);var fm,dm;const Z0=H0` + +${Y0} + + a{ + text-decoration: none; + } + + * { + box-sizing: border-box; + } + + button { + cursor: pointer; + } + + :root { + --vh: 100% + } +#root, body, html { + scrollbar-width: none; /* 파이어폭스 스크롤바 숨김 */ + + margin: 0 auto; + padding:0; + font-size: 62.5%; + -ms-overflow-style: none; /* 인터넷 익스플로러 스크롤바 숨김 */ + scrollbar-width: none; /* 파이어폭스 스크롤바 숨김 */ +} +#root::-webkit-scrollbar { + display: none; /* 크롬, 사파리, 오페라, 엣지 스크롤바 숨김 */ +} +`;function xP(){const[e]=B.useState(()=>new Ww({defaultOptions:{queries:{refetchOnWindowFocus:!1}}}));return z.jsx(Gw,{client:e,children:z.jsxs(iL,{children:[z.jsx(dR,{router:kP}),z.jsx(Z0,{})]})})}const NP=({children:e})=>z.jsxs(cP,{theme:vt,children:[z.jsx(Z0,{}),e]});cc.createRoot(document.getElementById("root")).render(z.jsx(ge.StrictMode,{children:z.jsx(NP,{children:z.jsx(xP,{})})})); diff --git a/pr-preview/pr-61/index.html b/pr-preview/pr-61/index.html new file mode 100644 index 00000000..f91183d5 --- /dev/null +++ b/pr-preview/pr-61/index.html @@ -0,0 +1,17 @@ + + + + + + + Vite + React + TS + + + +
+ + diff --git a/pr-preview/pr-61/svg/favicon.svg b/pr-preview/pr-61/svg/favicon.svg new file mode 100644 index 00000000..f1810396 --- /dev/null +++ b/pr-preview/pr-61/svg/favicon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/pr-preview/pr-61/svg/ic_add.svg b/pr-preview/pr-61/svg/ic_add.svg new file mode 100644 index 00000000..7b7a9a58 --- /dev/null +++ b/pr-preview/pr-61/svg/ic_add.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/pr-preview/pr-61/svg/ic_alert_circle.svg b/pr-preview/pr-61/svg/ic_alert_circle.svg new file mode 100644 index 00000000..ce2d6d3f --- /dev/null +++ b/pr-preview/pr-61/svg/ic_alert_circle.svg @@ -0,0 +1,4 @@ + + + + diff --git a/pr-preview/pr-61/svg/ic_alert_square.svg b/pr-preview/pr-61/svg/ic_alert_square.svg new file mode 100644 index 00000000..6037b3b2 --- /dev/null +++ b/pr-preview/pr-61/svg/ic_alert_square.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_alert_triangle.svg b/pr-preview/pr-61/svg/ic_alert_triangle.svg new file mode 100644 index 00000000..e35e1add --- /dev/null +++ b/pr-preview/pr-61/svg/ic_alert_triangle.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_calender.svg b/pr-preview/pr-61/svg/ic_calender.svg new file mode 100644 index 00000000..20d1d2c8 --- /dev/null +++ b/pr-preview/pr-61/svg/ic_calender.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_cancel.svg b/pr-preview/pr-61/svg/ic_cancel.svg new file mode 100644 index 00000000..af51f9e7 --- /dev/null +++ b/pr-preview/pr-61/svg/ic_cancel.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_cancel_circle.svg b/pr-preview/pr-61/svg/ic_cancel_circle.svg new file mode 100644 index 00000000..07f516e2 --- /dev/null +++ b/pr-preview/pr-61/svg/ic_cancel_circle.svg @@ -0,0 +1,4 @@ + + + + diff --git a/pr-preview/pr-61/svg/ic_check_contained.svg b/pr-preview/pr-61/svg/ic_check_contained.svg new file mode 100644 index 00000000..dee31d61 --- /dev/null +++ b/pr-preview/pr-61/svg/ic_check_contained.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_circle.svg b/pr-preview/pr-61/svg/ic_circle.svg new file mode 100644 index 00000000..cc930d5c --- /dev/null +++ b/pr-preview/pr-61/svg/ic_circle.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/pr-preview/pr-61/svg/ic_circle_pink.svg b/pr-preview/pr-61/svg/ic_circle_pink.svg new file mode 100644 index 00000000..60e3557e --- /dev/null +++ b/pr-preview/pr-61/svg/ic_circle_pink.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/pr-preview/pr-61/svg/ic_clock.svg b/pr-preview/pr-61/svg/ic_clock.svg new file mode 100644 index 00000000..80a26d6d --- /dev/null +++ b/pr-preview/pr-61/svg/ic_clock.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_copy.svg b/pr-preview/pr-61/svg/ic_copy.svg new file mode 100644 index 00000000..2a7da21b --- /dev/null +++ b/pr-preview/pr-61/svg/ic_copy.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_down.svg b/pr-preview/pr-61/svg/ic_down.svg new file mode 100644 index 00000000..0746b2fa --- /dev/null +++ b/pr-preview/pr-61/svg/ic_down.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_edit-2.svg b/pr-preview/pr-61/svg/ic_edit-2.svg new file mode 100644 index 00000000..7997136e --- /dev/null +++ b/pr-preview/pr-61/svg/ic_edit-2.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_edit.svg b/pr-preview/pr-61/svg/ic_edit.svg new file mode 100644 index 00000000..c2475716 --- /dev/null +++ b/pr-preview/pr-61/svg/ic_edit.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_external.svg b/pr-preview/pr-61/svg/ic_external.svg new file mode 100644 index 00000000..9a93cadc --- /dev/null +++ b/pr-preview/pr-61/svg/ic_external.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_gift.svg b/pr-preview/pr-61/svg/ic_gift.svg new file mode 100644 index 00000000..45ff7865 --- /dev/null +++ b/pr-preview/pr-61/svg/ic_gift.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_img.svg b/pr-preview/pr-61/svg/ic_img.svg new file mode 100644 index 00000000..fe2526ca --- /dev/null +++ b/pr-preview/pr-61/svg/ic_img.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_img_add.svg b/pr-preview/pr-61/svg/ic_img_add.svg new file mode 100644 index 00000000..b7d25376 --- /dev/null +++ b/pr-preview/pr-61/svg/ic_img_add.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_kakao_small.svg b/pr-preview/pr-61/svg/ic_kakao_small.svg new file mode 100644 index 00000000..d05dd8bb --- /dev/null +++ b/pr-preview/pr-61/svg/ic_kakao_small.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/pr-preview/pr-61/svg/ic_kako_large.svg b/pr-preview/pr-61/svg/ic_kako_large.svg new file mode 100644 index 00000000..130d2b15 --- /dev/null +++ b/pr-preview/pr-61/svg/ic_kako_large.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/pr-preview/pr-61/svg/ic_left.svg b/pr-preview/pr-61/svg/ic_left.svg new file mode 100644 index 00000000..e9ad73c8 --- /dev/null +++ b/pr-preview/pr-61/svg/ic_left.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_link.svg b/pr-preview/pr-61/svg/ic_link.svg new file mode 100644 index 00000000..c3c38b57 --- /dev/null +++ b/pr-preview/pr-61/svg/ic_link.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_menu.svg b/pr-preview/pr-61/svg/ic_menu.svg new file mode 100644 index 00000000..cd98c51c --- /dev/null +++ b/pr-preview/pr-61/svg/ic_menu.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_plus.svg b/pr-preview/pr-61/svg/ic_plus.svg new file mode 100644 index 00000000..ed025d0c --- /dev/null +++ b/pr-preview/pr-61/svg/ic_plus.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_plus_image.svg b/pr-preview/pr-61/svg/ic_plus_image.svg new file mode 100644 index 00000000..e9a4f2df --- /dev/null +++ b/pr-preview/pr-61/svg/ic_plus_image.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/pr-preview/pr-61/svg/ic_refresh.svg b/pr-preview/pr-61/svg/ic_refresh.svg new file mode 100644 index 00000000..e9dc63d9 --- /dev/null +++ b/pr-preview/pr-61/svg/ic_refresh.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_right.svg b/pr-preview/pr-61/svg/ic_right.svg new file mode 100644 index 00000000..e7cbd4e7 --- /dev/null +++ b/pr-preview/pr-61/svg/ic_right.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_settings.svg b/pr-preview/pr-61/svg/ic_settings.svg new file mode 100644 index 00000000..06a899a9 --- /dev/null +++ b/pr-preview/pr-61/svg/ic_settings.svg @@ -0,0 +1,4 @@ + + + + diff --git a/pr-preview/pr-61/svg/ic_up.svg b/pr-preview/pr-61/svg/ic_up.svg new file mode 100644 index 00000000..5edc7772 --- /dev/null +++ b/pr-preview/pr-61/svg/ic_up.svg @@ -0,0 +1,3 @@ + + + diff --git a/pr-preview/pr-61/svg/ic_user.svg b/pr-preview/pr-61/svg/ic_user.svg new file mode 100644 index 00000000..68da84cf --- /dev/null +++ b/pr-preview/pr-61/svg/ic_user.svg @@ -0,0 +1,4 @@ + + + + diff --git a/pr-preview/pr-61/svg/logo_sweet.svg b/pr-preview/pr-61/svg/logo_sweet.svg new file mode 100644 index 00000000..61cb8026 --- /dev/null +++ b/pr-preview/pr-61/svg/logo_sweet.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/pr-preview/pr-61/svg/logotype.svg b/pr-preview/pr-61/svg/logotype.svg new file mode 100644 index 00000000..5a9e5890 --- /dev/null +++ b/pr-preview/pr-61/svg/logotype.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/pr-preview/pr-61/svg/vite.svg b/pr-preview/pr-61/svg/vite.svg new file mode 100644 index 00000000..e7b8dfb1 --- /dev/null +++ b/pr-preview/pr-61/svg/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file