File: /var/www/html/wordpress/wp-content/plugins/bit-integrations/assets/main-685.js
var cv=Object.defineProperty,fv=Object.defineProperties;var dv=Object.getOwnPropertyDescriptors;var zo=Object.getOwnPropertySymbols;var Ms=Object.prototype.hasOwnProperty,$s=Object.prototype.propertyIsEnumerable;var Vs=(e,t,n)=>t in e?cv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ze=(e,t)=>{for(var n in t||(t={}))Ms.call(t,n)&&Vs(e,n,t[n]);if(zo)for(var n of zo(t))$s.call(t,n)&&Vs(e,n,t[n]);return e},Ze=(e,t)=>fv(e,dv(t));var Oo=(e,t)=>{var n={};for(var r in e)Ms.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&zo)for(var r of zo(e))t.indexOf(r)<0&&$s.call(e,r)&&(n[r]=e[r]);return n};var Us=(e,t,n)=>new Promise((r,o)=>{var l=a=>{try{u(n.next(a))}catch(s){o(s)}},i=a=>{try{u(n.throw(a))}catch(s){o(s)}},u=a=>a.done?r(a.value):Promise.resolve(a.value).then(l,i);u((n=n.apply(e,t)).next())});function pv(e,t){return t.forEach(n=>n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(r=>{if(r!=="default"&&!(r in e)){var o=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:()=>n[r]})}})),Object.freeze(e)}const hv="modulepreload",vv=function(e,t){return new URL(e,t).href},Ds={},mv=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(l=>{if(l=vv(l,r),l in Ds)return;Ds[l]=!0;const i=l.endsWith(".css"),u=i?'[rel="stylesheet"]':"";if(!!r)for(let p=o.length-1;p>=0;p--){const d=o[p];if(d.href===l&&(!i||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${u}`))return;const s=document.createElement("link");if(s.rel=i?"stylesheet":hv,i||(s.as="script",s.crossOrigin=""),s.href=l,document.head.appendChild(s),i)return new Promise((p,d)=>{s.addEventListener("load",p),s.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>t()).catch(l=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=l,window.dispatchEvent(i),!i.defaultPrevented)throw l})};var nk=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function _f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function yv(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var wf={exports:{}},Jl={},Rf={exports:{}},Y={};/**
* @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 No=Symbol.for("react.element"),gv=Symbol.for("react.portal"),Sv=Symbol.for("react.fragment"),_v=Symbol.for("react.strict_mode"),wv=Symbol.for("react.profiler"),Rv=Symbol.for("react.provider"),Ev=Symbol.for("react.context"),kv=Symbol.for("react.forward_ref"),Tv=Symbol.for("react.suspense"),Cv=Symbol.for("react.memo"),Nv=Symbol.for("react.lazy"),Is=Symbol.iterator;function Lv(e){return e===null||typeof e!="object"?null:(e=Is&&e[Is]||e["@@iterator"],typeof e=="function"?e:null)}var Ef={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},kf=Object.assign,Tf={};function kr(e,t,n){this.props=e,this.context=t,this.refs=Tf,this.updater=n||Ef}kr.prototype.isReactComponent={};kr.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")};kr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Cf(){}Cf.prototype=kr.prototype;function ya(e,t,n){this.props=e,this.context=t,this.refs=Tf,this.updater=n||Ef}var ga=ya.prototype=new Cf;ga.constructor=ya;kf(ga,kr.prototype);ga.isPureReactComponent=!0;var zs=Array.isArray,Nf=Object.prototype.hasOwnProperty,Sa={current:null},Lf={key:!0,ref:!0,__self:!0,__source:!0};function xf(e,t,n){var r,o={},l=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(l=""+t.key),t)Nf.call(t,r)&&!Lf.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1<u){for(var a=Array(u),s=0;s<u;s++)a[s]=arguments[s+2];o.children=a}if(e&&e.defaultProps)for(r in u=e.defaultProps,u)o[r]===void 0&&(o[r]=u[r]);return{$$typeof:No,type:e,key:l,ref:i,props:o,_owner:Sa.current}}function xv(e,t){return{$$typeof:No,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function _a(e){return typeof e=="object"&&e!==null&&e.$$typeof===No}function Av(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Os=/\/+/g;function $i(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Av(""+e.key):t.toString(36)}function il(e,t,n,r,o){var l=typeof e;(l==="undefined"||l==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(l){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case No:case gv:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+$i(i,0):r,zs(o)?(n="",e!=null&&(n=e.replace(Os,"$&/")+"/"),il(o,t,n,"",function(s){return s})):o!=null&&(_a(o)&&(o=xv(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(Os,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",zs(e))for(var u=0;u<e.length;u++){l=e[u];var a=r+$i(l,u);i+=il(l,t,n,a,o)}else if(a=Lv(e),typeof a=="function")for(e=a.call(e),u=0;!(l=e.next()).done;)l=l.value,a=r+$i(l,u++),i+=il(l,t,n,a,o);else if(l==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Fo(e,t,n){if(e==null)return e;var r=[],o=0;return il(e,r,"","",function(l){return t.call(n,l,o++)}),r}function Pv(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ke={current:null},ul={transition:null},Vv={ReactCurrentDispatcher:Ke,ReactCurrentBatchConfig:ul,ReactCurrentOwner:Sa};function Af(){throw Error("act(...) is not supported in production builds of React.")}Y.Children={map:Fo,forEach:function(e,t,n){Fo(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Fo(e,function(){t++}),t},toArray:function(e){return Fo(e,function(t){return t})||[]},only:function(e){if(!_a(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Y.Component=kr;Y.Fragment=Sv;Y.Profiler=wv;Y.PureComponent=ya;Y.StrictMode=_v;Y.Suspense=Tv;Y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Vv;Y.act=Af;Y.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=kf({},e.props),o=e.key,l=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(l=t.ref,i=Sa.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(a in t)Nf.call(t,a)&&!Lf.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&u!==void 0?u[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){u=Array(a);for(var s=0;s<a;s++)u[s]=arguments[s+2];r.children=u}return{$$typeof:No,type:e.type,key:o,ref:l,props:r,_owner:i}};Y.createContext=function(e){return e={$$typeof:Ev,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Rv,_context:e},e.Consumer=e};Y.createElement=xf;Y.createFactory=function(e){var t=xf.bind(null,e);return t.type=e,t};Y.createRef=function(){return{current:null}};Y.forwardRef=function(e){return{$$typeof:kv,render:e}};Y.isValidElement=_a;Y.lazy=function(e){return{$$typeof:Nv,_payload:{_status:-1,_result:e},_init:Pv}};Y.memo=function(e,t){return{$$typeof:Cv,type:e,compare:t===void 0?null:t}};Y.startTransition=function(e){var t=ul.transition;ul.transition={};try{e()}finally{ul.transition=t}};Y.unstable_act=Af;Y.useCallback=function(e,t){return Ke.current.useCallback(e,t)};Y.useContext=function(e){return Ke.current.useContext(e)};Y.useDebugValue=function(){};Y.useDeferredValue=function(e){return Ke.current.useDeferredValue(e)};Y.useEffect=function(e,t){return Ke.current.useEffect(e,t)};Y.useId=function(){return Ke.current.useId()};Y.useImperativeHandle=function(e,t,n){return Ke.current.useImperativeHandle(e,t,n)};Y.useInsertionEffect=function(e,t){return Ke.current.useInsertionEffect(e,t)};Y.useLayoutEffect=function(e,t){return Ke.current.useLayoutEffect(e,t)};Y.useMemo=function(e,t){return Ke.current.useMemo(e,t)};Y.useReducer=function(e,t,n){return Ke.current.useReducer(e,t,n)};Y.useRef=function(e){return Ke.current.useRef(e)};Y.useState=function(e){return Ke.current.useState(e)};Y.useSyncExternalStore=function(e,t,n){return Ke.current.useSyncExternalStore(e,t,n)};Y.useTransition=function(){return Ke.current.useTransition()};Y.version="18.3.1";Rf.exports=Y;var U=Rf.exports,we=_f(U),Mv=pv({__proto__:null,default:we},[U]);/**
* @license React
* react-jsx-runtime.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 $v=U,Uv=Symbol.for("react.element"),Dv=Symbol.for("react.fragment"),Iv=Object.prototype.hasOwnProperty,zv=$v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ov={key:!0,ref:!0,__self:!0,__source:!0};function Pf(e,t,n){var r,o={},l=null,i=null;n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)Iv.call(t,r)&&!Ov.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:Uv,type:e,key:l,ref:i,props:o,_owner:zv.current}}Jl.Fragment=Dv;Jl.jsx=Pf;Jl.jsxs=Pf;wf.exports=Jl;var it=wf.exports,du={},Vf={exports:{}},ct={},Mf={exports:{}},$f={};/**
* @license React
* scheduler.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.
*/(function(e){function t(k,O){var W=k.length;k.push(O);e:for(;0<W;){var ne=W-1>>>1,j=k[ne];if(0<o(j,O))k[ne]=O,k[W]=j,W=ne;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var O=k[0],W=k.pop();if(W!==O){k[0]=W;e:for(var ne=0,j=k.length,Ie=j>>>1;ne<Ie;){var Ve=2*(ne+1)-1,rt=k[Ve],Me=Ve+1,R=k[Me];if(0>o(rt,W))Me<j&&0>o(R,rt)?(k[ne]=R,k[Me]=W,ne=Me):(k[ne]=rt,k[Ve]=W,ne=Ve);else if(Me<j&&0>o(R,W))k[ne]=R,k[Me]=W,ne=Me;else break e}}return O}function o(k,O){var W=k.sortIndex-O.sortIndex;return W!==0?W:k.id-O.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var a=[],s=[],p=1,d=null,v=3,g=!1,S=!1,w=!1,N=typeof setTimeout=="function"?setTimeout:null,c=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(k){for(var O=n(s);O!==null;){if(O.callback===null)r(s);else if(O.startTime<=k)r(s),O.sortIndex=O.expirationTime,t(a,O);else break;O=n(s)}}function _(k){if(w=!1,h(k),!S)if(n(a)!==null)S=!0,Ot(E);else{var O=n(s);O!==null&&ee(_,O.startTime-k)}}function E(k,O){S=!1,w&&(w=!1,c(D),D=-1),g=!0;var W=v;try{for(h(O),d=n(a);d!==null&&(!(d.expirationTime>O)||k&&!le());){var ne=d.callback;if(typeof ne=="function"){d.callback=null,v=d.priorityLevel;var j=ne(d.expirationTime<=O);O=e.unstable_now(),typeof j=="function"?d.callback=j:d===n(a)&&r(a),h(O)}else r(a);d=n(a)}if(d!==null)var Ie=!0;else{var Ve=n(s);Ve!==null&&ee(_,Ve.startTime-O),Ie=!1}return Ie}finally{d=null,v=W,g=!1}}var L=!1,V=null,D=-1,q=5,B=-1;function le(){return!(e.unstable_now()-B<q)}function tt(){if(V!==null){var k=e.unstable_now();B=k;var O=!0;try{O=V(!0,k)}finally{O?nt():(L=!1,V=null)}}else L=!1}var nt;if(typeof f=="function")nt=function(){f(tt)};else if(typeof MessageChannel!="undefined"){var zt=new MessageChannel,St=zt.port2;zt.port1.onmessage=tt,nt=function(){St.postMessage(null)}}else nt=function(){N(tt,0)};function Ot(k){V=k,L||(L=!0,nt())}function ee(k,O){D=N(function(){k(e.unstable_now())},O)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(k){k.callback=null},e.unstable_continueExecution=function(){S||g||(S=!0,Ot(E))},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):q=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(k){switch(v){case 1:case 2:case 3:var O=3;break;default:O=v}var W=v;v=O;try{return k()}finally{v=W}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,O){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var W=v;v=k;try{return O()}finally{v=W}},e.unstable_scheduleCallback=function(k,O,W){var ne=e.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?ne+W:ne):W=ne,k){case 1:var j=-1;break;case 2:j=250;break;case 5:j=1073741823;break;case 4:j=1e4;break;default:j=5e3}return j=W+j,k={id:p++,callback:O,priorityLevel:k,startTime:W,expirationTime:j,sortIndex:-1},W>ne?(k.sortIndex=W,t(s,k),n(a)===null&&k===n(s)&&(w?(c(D),D=-1):w=!0,ee(_,W-ne))):(k.sortIndex=j,t(a,k),S||g||(S=!0,Ot(E))),k},e.unstable_shouldYield=le,e.unstable_wrapCallback=function(k){var O=v;return function(){var W=v;v=O;try{return k.apply(this,arguments)}finally{v=W}}}})($f);Mf.exports=$f;var Fv=Mf.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 Bv=U,st=Fv;function C(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Uf=new Set,io={};function On(e,t){mr(e,t),mr(e+"Capture",t)}function mr(e,t){for(io[e]=t,e=0;e<t.length;e++)Uf.add(t[e])}var Kt=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),pu=Object.prototype.hasOwnProperty,jv=/^[: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]*$/,Fs={},Bs={};function Wv(e){return pu.call(Bs,e)?!0:pu.call(Fs,e)?!1:jv.test(e)?Bs[e]=!0:(Fs[e]=!0,!1)}function Hv(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 Kv(e,t,n,r){if(t===null||typeof t=="undefined"||Hv(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 Qe(e,t,n,r,o,l,i){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=l,this.removeEmptyString=i}var De={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){De[e]=new Qe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];De[t]=new Qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){De[e]=new Qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){De[e]=new Qe(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){De[e]=new Qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){De[e]=new Qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){De[e]=new Qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){De[e]=new Qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){De[e]=new Qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var wa=/[\-:]([a-z])/g;function Ra(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(wa,Ra);De[t]=new Qe(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(wa,Ra);De[t]=new Qe(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(wa,Ra);De[t]=new Qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){De[e]=new Qe(e,1,!1,e.toLowerCase(),null,!1,!1)});De.xlinkHref=new Qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){De[e]=new Qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ea(e,t,n,r){var o=De.hasOwnProperty(t)?De[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Kv(t,n,o,r)&&(n=null),r||o===null?Wv(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Zt=Bv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Bo=Symbol.for("react.element"),Yn=Symbol.for("react.portal"),Xn=Symbol.for("react.fragment"),ka=Symbol.for("react.strict_mode"),hu=Symbol.for("react.profiler"),Df=Symbol.for("react.provider"),If=Symbol.for("react.context"),Ta=Symbol.for("react.forward_ref"),vu=Symbol.for("react.suspense"),mu=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),qt=Symbol.for("react.lazy"),zf=Symbol.for("react.offscreen"),js=Symbol.iterator;function Ar(e){return e===null||typeof e!="object"?null:(e=js&&e[js]||e["@@iterator"],typeof e=="function"?e:null)}var ye=Object.assign,Ui;function Hr(e){if(Ui===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ui=t&&t[1]||""}return`
`+Ui+e}var Di=!1;function Ii(e,t){if(!e||Di)return"";Di=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&typeof s.stack=="string"){for(var o=s.stack.split(`
`),l=r.stack.split(`
`),i=o.length-1,u=l.length-1;1<=i&&0<=u&&o[i]!==l[u];)u--;for(;1<=i&&0<=u;i--,u--)if(o[i]!==l[u]){if(i!==1||u!==1)do if(i--,u--,0>u||o[i]!==l[u]){var a=`
`+o[i].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=i&&0<=u);break}}}finally{Di=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Hr(e):""}function Qv(e){switch(e.tag){case 5:return Hr(e.type);case 16:return Hr("Lazy");case 13:return Hr("Suspense");case 19:return Hr("SuspenseList");case 0:case 2:case 15:return e=Ii(e.type,!1),e;case 11:return e=Ii(e.type.render,!1),e;case 1:return e=Ii(e.type,!0),e;default:return""}}function yu(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 Xn:return"Fragment";case Yn:return"Portal";case hu:return"Profiler";case ka:return"StrictMode";case vu:return"Suspense";case mu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case If:return(e.displayName||"Context")+".Consumer";case Df:return(e._context.displayName||"Context")+".Provider";case Ta:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ca:return t=e.displayName||null,t!==null?t:yu(e.type)||"Memo";case qt:t=e._payload,e=e._init;try{return yu(e(t))}catch(n){}}return null}function bv(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 yu(t);case 8:return t===ka?"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 yn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Of(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Gv(e){var t=Of(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,l.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function jo(e){e._valueTracker||(e._valueTracker=Gv(e))}function Ff(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Of(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function _l(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch(t){return e.body}}function gu(e,t){var n=t.checked;return ye({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function Ws(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=yn(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 Bf(e,t){t=t.checked,t!=null&&Ea(e,"checked",t,!1)}function Su(e,t){Bf(e,t);var n=yn(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")?_u(e,t.type,n):t.hasOwnProperty("defaultValue")&&_u(e,t.type,yn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Hs(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 _u(e,t,n){(t!=="number"||_l(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Kr=Array.isArray;function ar(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+yn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function wu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(C(91));return ye({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ks(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(C(92));if(Kr(n)){if(1<n.length)throw Error(C(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:yn(n)}}function jf(e,t){var n=yn(t.value),r=yn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Qs(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Wf(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ru(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Wf(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Wo,Hf=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Wo=Wo||document.createElement("div"),Wo.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Wo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function uo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Gr={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},Zv=["Webkit","ms","Moz","O"];Object.keys(Gr).forEach(function(e){Zv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Gr[t]=Gr[e]})});function Kf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Gr.hasOwnProperty(e)&&Gr[e]?(""+t).trim():t+"px"}function Qf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Kf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Yv=ye({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 Eu(e,t){if(t){if(Yv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function ku(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 Tu=null;function Na(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Cu=null,sr=null,cr=null;function bs(e){if(e=Ao(e)){if(typeof Cu!="function")throw Error(C(280));var t=e.stateNode;t&&(t=ri(t),Cu(e.stateNode,e.type,t))}}function bf(e){sr?cr?cr.push(e):cr=[e]:sr=e}function Gf(){if(sr){var e=sr,t=cr;if(cr=sr=null,bs(e),t)for(e=0;e<t.length;e++)bs(t[e])}}function Zf(e,t){return e(t)}function Yf(){}var zi=!1;function Xf(e,t,n){if(zi)return e(t,n);zi=!0;try{return Zf(e,t,n)}finally{zi=!1,(sr!==null||cr!==null)&&(Yf(),Gf())}}function ao(e,t){var n=e.stateNode;if(n===null)return null;var r=ri(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(C(231,t,typeof n));return n}var Nu=!1;if(Kt)try{var Pr={};Object.defineProperty(Pr,"passive",{get:function(){Nu=!0}}),window.addEventListener("test",Pr,Pr),window.removeEventListener("test",Pr,Pr)}catch(e){Nu=!1}function Xv(e,t,n,r,o,l,i,u,a){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(p){this.onError(p)}}var Zr=!1,wl=null,Rl=!1,Lu=null,Jv={onError:function(e){Zr=!0,wl=e}};function qv(e,t,n,r,o,l,i,u,a){Zr=!1,wl=null,Xv.apply(Jv,arguments)}function em(e,t,n,r,o,l,i,u,a){if(qv.apply(this,arguments),Zr){if(Zr){var s=wl;Zr=!1,wl=null}else throw Error(C(198));Rl||(Rl=!0,Lu=s)}}function Fn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Jf(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Gs(e){if(Fn(e)!==e)throw Error(C(188))}function tm(e){var t=e.alternate;if(!t){if(t=Fn(e),t===null)throw Error(C(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var l=o.alternate;if(l===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===l.child){for(l=o.child;l;){if(l===n)return Gs(o),e;if(l===r)return Gs(o),t;l=l.sibling}throw Error(C(188))}if(n.return!==r.return)n=o,r=l;else{for(var i=!1,u=o.child;u;){if(u===n){i=!0,n=o,r=l;break}if(u===r){i=!0,r=o,n=l;break}u=u.sibling}if(!i){for(u=l.child;u;){if(u===n){i=!0,n=l,r=o;break}if(u===r){i=!0,r=l,n=o;break}u=u.sibling}if(!i)throw Error(C(189))}}if(n.alternate!==r)throw Error(C(190))}if(n.tag!==3)throw Error(C(188));return n.stateNode.current===n?e:t}function qf(e){return e=tm(e),e!==null?ed(e):null}function ed(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ed(e);if(t!==null)return t;e=e.sibling}return null}var td=st.unstable_scheduleCallback,Zs=st.unstable_cancelCallback,nm=st.unstable_shouldYield,rm=st.unstable_requestPaint,ke=st.unstable_now,om=st.unstable_getCurrentPriorityLevel,La=st.unstable_ImmediatePriority,nd=st.unstable_UserBlockingPriority,El=st.unstable_NormalPriority,lm=st.unstable_LowPriority,rd=st.unstable_IdlePriority,ql=null,Dt=null;function im(e){if(Dt&&typeof Dt.onCommitFiberRoot=="function")try{Dt.onCommitFiberRoot(ql,e,void 0,(e.current.flags&128)===128)}catch(t){}}var Nt=Math.clz32?Math.clz32:sm,um=Math.log,am=Math.LN2;function sm(e){return e>>>=0,e===0?32:31-(um(e)/am|0)|0}var Ho=64,Ko=4194304;function Qr(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 kl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,l=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~o;u!==0?r=Qr(u):(l&=i,l!==0&&(r=Qr(l)))}else i=n&~o,i!==0?r=Qr(i):l!==0&&(r=Qr(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,l=t&-t,o>=l||o===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Nt(t),o=1<<n,r|=e[n],t&=~o;return r}function cm(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function fm(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,l=e.pendingLanes;0<l;){var i=31-Nt(l),u=1<<i,a=o[i];a===-1?(!(u&n)||u&r)&&(o[i]=cm(u,t)):a<=t&&(e.expiredLanes|=u),l&=~u}}function xu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function od(){var e=Ho;return Ho<<=1,!(Ho&4194240)&&(Ho=64),e}function Oi(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Lo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Nt(t),e[t]=n}function dm(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<n;){var o=31-Nt(n),l=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~l}}function xa(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Nt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var ie=0;function ld(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var id,Aa,ud,ad,sd,Au=!1,Qo=[],an=null,sn=null,cn=null,so=new Map,co=new Map,tn=[],pm="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ys(e,t){switch(e){case"focusin":case"focusout":an=null;break;case"dragenter":case"dragleave":sn=null;break;case"mouseover":case"mouseout":cn=null;break;case"pointerover":case"pointerout":so.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":co.delete(t.pointerId)}}function Vr(e,t,n,r,o,l){return e===null||e.nativeEvent!==l?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:l,targetContainers:[o]},t!==null&&(t=Ao(t),t!==null&&Aa(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function hm(e,t,n,r,o){switch(t){case"focusin":return an=Vr(an,e,t,n,r,o),!0;case"dragenter":return sn=Vr(sn,e,t,n,r,o),!0;case"mouseover":return cn=Vr(cn,e,t,n,r,o),!0;case"pointerover":var l=o.pointerId;return so.set(l,Vr(so.get(l)||null,e,t,n,r,o)),!0;case"gotpointercapture":return l=o.pointerId,co.set(l,Vr(co.get(l)||null,e,t,n,r,o)),!0}return!1}function cd(e){var t=Nn(e.target);if(t!==null){var n=Fn(t);if(n!==null){if(t=n.tag,t===13){if(t=Jf(n),t!==null){e.blockedOn=t,sd(e.priority,function(){ud(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function al(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Pu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Tu=r,n.target.dispatchEvent(r),Tu=null}else return t=Ao(n),t!==null&&Aa(t),e.blockedOn=n,!1;t.shift()}return!0}function Xs(e,t,n){al(e)&&n.delete(t)}function vm(){Au=!1,an!==null&&al(an)&&(an=null),sn!==null&&al(sn)&&(sn=null),cn!==null&&al(cn)&&(cn=null),so.forEach(Xs),co.forEach(Xs)}function Mr(e,t){e.blockedOn===t&&(e.blockedOn=null,Au||(Au=!0,st.unstable_scheduleCallback(st.unstable_NormalPriority,vm)))}function fo(e){function t(o){return Mr(o,e)}if(0<Qo.length){Mr(Qo[0],e);for(var n=1;n<Qo.length;n++){var r=Qo[n];r.blockedOn===e&&(r.blockedOn=null)}}for(an!==null&&Mr(an,e),sn!==null&&Mr(sn,e),cn!==null&&Mr(cn,e),so.forEach(t),co.forEach(t),n=0;n<tn.length;n++)r=tn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<tn.length&&(n=tn[0],n.blockedOn===null);)cd(n),n.blockedOn===null&&tn.shift()}var fr=Zt.ReactCurrentBatchConfig,Tl=!0;function mm(e,t,n,r){var o=ie,l=fr.transition;fr.transition=null;try{ie=1,Pa(e,t,n,r)}finally{ie=o,fr.transition=l}}function ym(e,t,n,r){var o=ie,l=fr.transition;fr.transition=null;try{ie=4,Pa(e,t,n,r)}finally{ie=o,fr.transition=l}}function Pa(e,t,n,r){if(Tl){var o=Pu(e,t,n,r);if(o===null)Zi(e,t,r,Cl,n),Ys(e,r);else if(hm(o,e,t,n,r))r.stopPropagation();else if(Ys(e,r),t&4&&-1<pm.indexOf(e)){for(;o!==null;){var l=Ao(o);if(l!==null&&id(l),l=Pu(e,t,n,r),l===null&&Zi(e,t,r,Cl,n),l===o)break;o=l}o!==null&&r.stopPropagation()}else Zi(e,t,r,null,n)}}var Cl=null;function Pu(e,t,n,r){if(Cl=null,e=Na(r),e=Nn(e),e!==null)if(t=Fn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Jf(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Cl=e,null}function fd(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(om()){case La:return 1;case nd:return 4;case El:case lm:return 16;case rd:return 536870912;default:return 16}default:return 16}}var rn=null,Va=null,sl=null;function dd(){if(sl)return sl;var e,t=Va,n=t.length,r,o="value"in rn?rn.value:rn.textContent,l=o.length;for(e=0;e<n&&t[e]===o[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===o[l-r];r++);return sl=o.slice(e,1<r?1-r:void 0)}function cl(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function bo(){return!0}function Js(){return!1}function ft(e){function t(n,r,o,l,i){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=l,this.target=i,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(l):l[u]);return this.isDefaultPrevented=(l.defaultPrevented!=null?l.defaultPrevented:l.returnValue===!1)?bo:Js,this.isPropagationStopped=Js,this}return ye(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=bo)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=bo)},persist:function(){},isPersistent:bo}),t}var Tr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ma=ft(Tr),xo=ye({},Tr,{view:0,detail:0}),gm=ft(xo),Fi,Bi,$r,ei=ye({},xo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$a,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==$r&&($r&&e.type==="mousemove"?(Fi=e.screenX-$r.screenX,Bi=e.screenY-$r.screenY):Bi=Fi=0,$r=e),Fi)},movementY:function(e){return"movementY"in e?e.movementY:Bi}}),qs=ft(ei),Sm=ye({},ei,{dataTransfer:0}),_m=ft(Sm),wm=ye({},xo,{relatedTarget:0}),ji=ft(wm),Rm=ye({},Tr,{animationName:0,elapsedTime:0,pseudoElement:0}),Em=ft(Rm),km=ye({},Tr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Tm=ft(km),Cm=ye({},Tr,{data:0}),ec=ft(Cm),Nm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Am(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=xm[e])?!!t[e]:!1}function $a(){return Am}var Pm=ye({},xo,{key:function(e){if(e.key){var t=Nm[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=cl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Lm[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$a,charCode:function(e){return e.type==="keypress"?cl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?cl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Vm=ft(Pm),Mm=ye({},ei,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),tc=ft(Mm),$m=ye({},xo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$a}),Um=ft($m),Dm=ye({},Tr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Im=ft(Dm),zm=ye({},ei,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Om=ft(zm),Fm=[9,13,27,32],Ua=Kt&&"CompositionEvent"in window,Yr=null;Kt&&"documentMode"in document&&(Yr=document.documentMode);var Bm=Kt&&"TextEvent"in window&&!Yr,pd=Kt&&(!Ua||Yr&&8<Yr&&11>=Yr),nc=String.fromCharCode(32),rc=!1;function hd(e,t){switch(e){case"keyup":return Fm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function vd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Jn=!1;function jm(e,t){switch(e){case"compositionend":return vd(t);case"keypress":return t.which!==32?null:(rc=!0,nc);case"textInput":return e=t.data,e===nc&&rc?null:e;default:return null}}function Wm(e,t){if(Jn)return e==="compositionend"||!Ua&&hd(e,t)?(e=dd(),sl=Va=rn=null,Jn=!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.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return pd&&t.locale!=="ko"?null:t.data;default:return null}}var Hm={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function oc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Hm[e.type]:t==="textarea"}function md(e,t,n,r){bf(r),t=Nl(t,"onChange"),0<t.length&&(n=new Ma("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Xr=null,po=null;function Km(e){Nd(e,0)}function ti(e){var t=tr(e);if(Ff(t))return e}function Qm(e,t){if(e==="change")return t}var yd=!1;if(Kt){var Wi;if(Kt){var Hi="oninput"in document;if(!Hi){var lc=document.createElement("div");lc.setAttribute("oninput","return;"),Hi=typeof lc.oninput=="function"}Wi=Hi}else Wi=!1;yd=Wi&&(!document.documentMode||9<document.documentMode)}function ic(){Xr&&(Xr.detachEvent("onpropertychange",gd),po=Xr=null)}function gd(e){if(e.propertyName==="value"&&ti(po)){var t=[];md(t,po,e,Na(e)),Xf(Km,t)}}function bm(e,t,n){e==="focusin"?(ic(),Xr=t,po=n,Xr.attachEvent("onpropertychange",gd)):e==="focusout"&&ic()}function Gm(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ti(po)}function Zm(e,t){if(e==="click")return ti(t)}function Ym(e,t){if(e==="input"||e==="change")return ti(t)}function Xm(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var xt=typeof Object.is=="function"?Object.is:Xm;function ho(e,t){if(xt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!pu.call(t,o)||!xt(e[o],t[o]))return!1}return!0}function uc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ac(e,t){var n=uc(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=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=uc(n)}}function Sd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Sd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function _d(){for(var e=window,t=_l();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch(r){n=!1}if(n)e=t.contentWindow;else break;t=_l(e.document)}return t}function Da(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 Jm(e){var t=_d(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Sd(n.ownerDocument.documentElement,n)){if(r!==null&&Da(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,l=Math.min(r.start,o);r=r.end===void 0?l:Math.min(r.end,o),!e.extend&&l>r&&(o=r,r=l,l=o),o=ac(n,l);var i=ac(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var qm=Kt&&"documentMode"in document&&11>=document.documentMode,qn=null,Vu=null,Jr=null,Mu=!1;function sc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mu||qn==null||qn!==_l(r)||(r=qn,"selectionStart"in r&&Da(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}),Jr&&ho(Jr,r)||(Jr=r,r=Nl(Vu,"onSelect"),0<r.length&&(t=new Ma("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=qn)))}function Go(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var er={animationend:Go("Animation","AnimationEnd"),animationiteration:Go("Animation","AnimationIteration"),animationstart:Go("Animation","AnimationStart"),transitionend:Go("Transition","TransitionEnd")},Ki={},wd={};Kt&&(wd=document.createElement("div").style,"AnimationEvent"in window||(delete er.animationend.animation,delete er.animationiteration.animation,delete er.animationstart.animation),"TransitionEvent"in window||delete er.transitionend.transition);function ni(e){if(Ki[e])return Ki[e];if(!er[e])return e;var t=er[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in wd)return Ki[e]=t[n];return e}var Rd=ni("animationend"),Ed=ni("animationiteration"),kd=ni("animationstart"),Td=ni("transitionend"),Cd=new Map,cc="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Sn(e,t){Cd.set(e,t),On(t,[e])}for(var Qi=0;Qi<cc.length;Qi++){var bi=cc[Qi],e0=bi.toLowerCase(),t0=bi[0].toUpperCase()+bi.slice(1);Sn(e0,"on"+t0)}Sn(Rd,"onAnimationEnd");Sn(Ed,"onAnimationIteration");Sn(kd,"onAnimationStart");Sn("dblclick","onDoubleClick");Sn("focusin","onFocus");Sn("focusout","onBlur");Sn(Td,"onTransitionEnd");mr("onMouseEnter",["mouseout","mouseover"]);mr("onMouseLeave",["mouseout","mouseover"]);mr("onPointerEnter",["pointerout","pointerover"]);mr("onPointerLeave",["pointerout","pointerover"]);On("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));On("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));On("onBeforeInput",["compositionend","keypress","textInput","paste"]);On("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));On("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));On("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var br="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),n0=new Set("cancel close invalid load scroll toggle".split(" ").concat(br));function fc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,em(r,t,void 0,e),e.currentTarget=null}function Nd(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var l=void 0;if(t)for(var i=r.length-1;0<=i;i--){var u=r[i],a=u.instance,s=u.currentTarget;if(u=u.listener,a!==l&&o.isPropagationStopped())break e;fc(o,u,s),l=a}else for(i=0;i<r.length;i++){if(u=r[i],a=u.instance,s=u.currentTarget,u=u.listener,a!==l&&o.isPropagationStopped())break e;fc(o,u,s),l=a}}}if(Rl)throw e=Lu,Rl=!1,Lu=null,e}function ce(e,t){var n=t[zu];n===void 0&&(n=t[zu]=new Set);var r=e+"__bubble";n.has(r)||(Ld(t,e,2,!1),n.add(r))}function Gi(e,t,n){var r=0;t&&(r|=4),Ld(n,e,r,t)}var Zo="_reactListening"+Math.random().toString(36).slice(2);function vo(e){if(!e[Zo]){e[Zo]=!0,Uf.forEach(function(n){n!=="selectionchange"&&(n0.has(n)||Gi(n,!1,e),Gi(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Zo]||(t[Zo]=!0,Gi("selectionchange",!1,t))}}function Ld(e,t,n,r){switch(fd(t)){case 1:var o=mm;break;case 4:o=ym;break;default:o=Pa}n=o.bind(null,t,n,e),o=void 0,!Nu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Zi(e,t,n,r,o){var l=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var u=r.stateNode.containerInfo;if(u===o||u.nodeType===8&&u.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var a=i.tag;if((a===3||a===4)&&(a=i.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;i=i.return}for(;u!==null;){if(i=Nn(u),i===null)return;if(a=i.tag,a===5||a===6){r=l=i;continue e}u=u.parentNode}}r=r.return}Xf(function(){var s=l,p=Na(n),d=[];e:{var v=Cd.get(e);if(v!==void 0){var g=Ma,S=e;switch(e){case"keypress":if(cl(n)===0)break e;case"keydown":case"keyup":g=Vm;break;case"focusin":S="focus",g=ji;break;case"focusout":S="blur",g=ji;break;case"beforeblur":case"afterblur":g=ji;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=qs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=_m;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=Um;break;case Rd:case Ed:case kd:g=Em;break;case Td:g=Im;break;case"scroll":g=gm;break;case"wheel":g=Om;break;case"copy":case"cut":case"paste":g=Tm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=tc}var w=(t&4)!==0,N=!w&&e==="scroll",c=w?v!==null?v+"Capture":null:v;w=[];for(var f=s,h;f!==null;){h=f;var _=h.stateNode;if(h.tag===5&&_!==null&&(h=_,c!==null&&(_=ao(f,c),_!=null&&w.push(mo(f,_,h)))),N)break;f=f.return}0<w.length&&(v=new g(v,S,null,n,p),d.push({event:v,listeners:w}))}}if(!(t&7)){e:{if(v=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",v&&n!==Tu&&(S=n.relatedTarget||n.fromElement)&&(Nn(S)||S[Qt]))break e;if((g||v)&&(v=p.window===p?p:(v=p.ownerDocument)?v.defaultView||v.parentWindow:window,g?(S=n.relatedTarget||n.toElement,g=s,S=S?Nn(S):null,S!==null&&(N=Fn(S),S!==N||S.tag!==5&&S.tag!==6)&&(S=null)):(g=null,S=s),g!==S)){if(w=qs,_="onMouseLeave",c="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(w=tc,_="onPointerLeave",c="onPointerEnter",f="pointer"),N=g==null?v:tr(g),h=S==null?v:tr(S),v=new w(_,f+"leave",g,n,p),v.target=N,v.relatedTarget=h,_=null,Nn(p)===s&&(w=new w(c,f+"enter",S,n,p),w.target=h,w.relatedTarget=N,_=w),N=_,g&&S)t:{for(w=g,c=S,f=0,h=w;h;h=Gn(h))f++;for(h=0,_=c;_;_=Gn(_))h++;for(;0<f-h;)w=Gn(w),f--;for(;0<h-f;)c=Gn(c),h--;for(;f--;){if(w===c||c!==null&&w===c.alternate)break t;w=Gn(w),c=Gn(c)}w=null}else w=null;g!==null&&dc(d,v,g,w,!1),S!==null&&N!==null&&dc(d,N,S,w,!0)}}e:{if(v=s?tr(s):window,g=v.nodeName&&v.nodeName.toLowerCase(),g==="select"||g==="input"&&v.type==="file")var E=Qm;else if(oc(v))if(yd)E=Ym;else{E=Gm;var L=bm}else(g=v.nodeName)&&g.toLowerCase()==="input"&&(v.type==="checkbox"||v.type==="radio")&&(E=Zm);if(E&&(E=E(e,s))){md(d,E,n,p);break e}L&&L(e,v,s),e==="focusout"&&(L=v._wrapperState)&&L.controlled&&v.type==="number"&&_u(v,"number",v.value)}switch(L=s?tr(s):window,e){case"focusin":(oc(L)||L.contentEditable==="true")&&(qn=L,Vu=s,Jr=null);break;case"focusout":Jr=Vu=qn=null;break;case"mousedown":Mu=!0;break;case"contextmenu":case"mouseup":case"dragend":Mu=!1,sc(d,n,p);break;case"selectionchange":if(qm)break;case"keydown":case"keyup":sc(d,n,p)}var V;if(Ua)e:{switch(e){case"compositionstart":var D="onCompositionStart";break e;case"compositionend":D="onCompositionEnd";break e;case"compositionupdate":D="onCompositionUpdate";break e}D=void 0}else Jn?hd(e,n)&&(D="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(D="onCompositionStart");D&&(pd&&n.locale!=="ko"&&(Jn||D!=="onCompositionStart"?D==="onCompositionEnd"&&Jn&&(V=dd()):(rn=p,Va="value"in rn?rn.value:rn.textContent,Jn=!0)),L=Nl(s,D),0<L.length&&(D=new ec(D,e,null,n,p),d.push({event:D,listeners:L}),V?D.data=V:(V=vd(n),V!==null&&(D.data=V)))),(V=Bm?jm(e,n):Wm(e,n))&&(s=Nl(s,"onBeforeInput"),0<s.length&&(p=new ec("onBeforeInput","beforeinput",null,n,p),d.push({event:p,listeners:s}),p.data=V))}Nd(d,t)})}function mo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Nl(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,l=o.stateNode;o.tag===5&&l!==null&&(o=l,l=ao(e,n),l!=null&&r.unshift(mo(e,l,o)),l=ao(e,t),l!=null&&r.push(mo(e,l,o))),e=e.return}return r}function Gn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function dc(e,t,n,r,o){for(var l=t._reactName,i=[];n!==null&&n!==r;){var u=n,a=u.alternate,s=u.stateNode;if(a!==null&&a===r)break;u.tag===5&&s!==null&&(u=s,o?(a=ao(n,l),a!=null&&i.unshift(mo(n,a,u))):o||(a=ao(n,l),a!=null&&i.push(mo(n,a,u)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var r0=/\r\n?/g,o0=/\u0000|\uFFFD/g;function pc(e){return(typeof e=="string"?e:""+e).replace(r0,`
`).replace(o0,"")}function Yo(e,t,n){if(t=pc(t),pc(e)!==t&&n)throw Error(C(425))}function Ll(){}var $u=null,Uu=null;function Du(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Iu=typeof setTimeout=="function"?setTimeout:void 0,l0=typeof clearTimeout=="function"?clearTimeout:void 0,hc=typeof Promise=="function"?Promise:void 0,i0=typeof queueMicrotask=="function"?queueMicrotask:typeof hc!="undefined"?function(e){return hc.resolve(null).then(e).catch(u0)}:Iu;function u0(e){setTimeout(function(){throw e})}function Yi(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),fo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);fo(t)}function fn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function vc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Cr=Math.random().toString(36).slice(2),$t="__reactFiber$"+Cr,yo="__reactProps$"+Cr,Qt="__reactContainer$"+Cr,zu="__reactEvents$"+Cr,a0="__reactListeners$"+Cr,s0="__reactHandles$"+Cr;function Nn(e){var t=e[$t];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Qt]||n[$t]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=vc(e);e!==null;){if(n=e[$t])return n;e=vc(e)}return t}e=n,n=e.parentNode}return null}function Ao(e){return e=e[$t]||e[Qt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function tr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(C(33))}function ri(e){return e[yo]||null}var Ou=[],nr=-1;function _n(e){return{current:e}}function fe(e){0>nr||(e.current=Ou[nr],Ou[nr]=null,nr--)}function se(e,t){nr++,Ou[nr]=e.current,e.current=t}var gn={},je=_n(gn),Je=_n(!1),Vn=gn;function yr(e,t){var n=e.type.contextTypes;if(!n)return gn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},l;for(l in n)o[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function qe(e){return e=e.childContextTypes,e!=null}function xl(){fe(Je),fe(je)}function mc(e,t,n){if(je.current!==gn)throw Error(C(168));se(je,t),se(Je,n)}function xd(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(C(108,bv(e)||"Unknown",o));return ye({},n,r)}function Al(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||gn,Vn=je.current,se(je,e),se(Je,Je.current),!0}function yc(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=xd(e,t,Vn),r.__reactInternalMemoizedMergedChildContext=e,fe(Je),fe(je),se(je,e)):fe(Je),se(Je,n)}var Bt=null,oi=!1,Xi=!1;function Ad(e){Bt===null?Bt=[e]:Bt.push(e)}function c0(e){oi=!0,Ad(e)}function wn(){if(!Xi&&Bt!==null){Xi=!0;var e=0,t=ie;try{var n=Bt;for(ie=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Bt=null,oi=!1}catch(o){throw Bt!==null&&(Bt=Bt.slice(e+1)),td(La,wn),o}finally{ie=t,Xi=!1}}return null}var rr=[],or=0,Pl=null,Vl=0,pt=[],ht=0,Mn=null,jt=1,Wt="";function kn(e,t){rr[or++]=Vl,rr[or++]=Pl,Pl=e,Vl=t}function Pd(e,t,n){pt[ht++]=jt,pt[ht++]=Wt,pt[ht++]=Mn,Mn=e;var r=jt;e=Wt;var o=32-Nt(r)-1;r&=~(1<<o),n+=1;var l=32-Nt(t)+o;if(30<l){var i=o-o%5;l=(r&(1<<i)-1).toString(32),r>>=i,o-=i,jt=1<<32-Nt(t)+o|n<<o|r,Wt=l+e}else jt=1<<l|n<<o|r,Wt=e}function Ia(e){e.return!==null&&(kn(e,1),Pd(e,1,0))}function za(e){for(;e===Pl;)Pl=rr[--or],rr[or]=null,Vl=rr[--or],rr[or]=null;for(;e===Mn;)Mn=pt[--ht],pt[ht]=null,Wt=pt[--ht],pt[ht]=null,jt=pt[--ht],pt[ht]=null}var at=null,ut=null,pe=!1,Ct=null;function Vd(e,t){var n=vt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function gc(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,at=e,ut=fn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,at=e,ut=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Mn!==null?{id:jt,overflow:Wt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=vt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,at=e,ut=null,!0):!1;default:return!1}}function Fu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Bu(e){if(pe){var t=ut;if(t){var n=t;if(!gc(e,t)){if(Fu(e))throw Error(C(418));t=fn(n.nextSibling);var r=at;t&&gc(e,t)?Vd(r,n):(e.flags=e.flags&-4097|2,pe=!1,at=e)}}else{if(Fu(e))throw Error(C(418));e.flags=e.flags&-4097|2,pe=!1,at=e}}}function Sc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;at=e}function Xo(e){if(e!==at)return!1;if(!pe)return Sc(e),pe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Du(e.type,e.memoizedProps)),t&&(t=ut)){if(Fu(e))throw Md(),Error(C(418));for(;t;)Vd(e,t),t=fn(t.nextSibling)}if(Sc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(C(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ut=fn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ut=null}}else ut=at?fn(e.stateNode.nextSibling):null;return!0}function Md(){for(var e=ut;e;)e=fn(e.nextSibling)}function gr(){ut=at=null,pe=!1}function Oa(e){Ct===null?Ct=[e]:Ct.push(e)}var f0=Zt.ReactCurrentBatchConfig;function Ur(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(C(309));var r=n.stateNode}if(!r)throw Error(C(147,e));var o=r,l=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===l?t.ref:(t=function(i){var u=o.refs;i===null?delete u[l]:u[l]=i},t._stringRef=l,t)}if(typeof e!="string")throw Error(C(284));if(!n._owner)throw Error(C(290,e))}return e}function Jo(e,t){throw e=Object.prototype.toString.call(t),Error(C(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function _c(e){var t=e._init;return t(e._payload)}function $d(e){function t(c,f){if(e){var h=c.deletions;h===null?(c.deletions=[f],c.flags|=16):h.push(f)}}function n(c,f){if(!e)return null;for(;f!==null;)t(c,f),f=f.sibling;return null}function r(c,f){for(c=new Map;f!==null;)f.key!==null?c.set(f.key,f):c.set(f.index,f),f=f.sibling;return c}function o(c,f){return c=vn(c,f),c.index=0,c.sibling=null,c}function l(c,f,h){return c.index=h,e?(h=c.alternate,h!==null?(h=h.index,h<f?(c.flags|=2,f):h):(c.flags|=2,f)):(c.flags|=1048576,f)}function i(c){return e&&c.alternate===null&&(c.flags|=2),c}function u(c,f,h,_){return f===null||f.tag!==6?(f=ou(h,c.mode,_),f.return=c,f):(f=o(f,h),f.return=c,f)}function a(c,f,h,_){var E=h.type;return E===Xn?p(c,f,h.props.children,_,h.key):f!==null&&(f.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===qt&&_c(E)===f.type)?(_=o(f,h.props),_.ref=Ur(c,f,h),_.return=c,_):(_=yl(h.type,h.key,h.props,null,c.mode,_),_.ref=Ur(c,f,h),_.return=c,_)}function s(c,f,h,_){return f===null||f.tag!==4||f.stateNode.containerInfo!==h.containerInfo||f.stateNode.implementation!==h.implementation?(f=lu(h,c.mode,_),f.return=c,f):(f=o(f,h.children||[]),f.return=c,f)}function p(c,f,h,_,E){return f===null||f.tag!==7?(f=Pn(h,c.mode,_,E),f.return=c,f):(f=o(f,h),f.return=c,f)}function d(c,f,h){if(typeof f=="string"&&f!==""||typeof f=="number")return f=ou(""+f,c.mode,h),f.return=c,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case Bo:return h=yl(f.type,f.key,f.props,null,c.mode,h),h.ref=Ur(c,null,f),h.return=c,h;case Yn:return f=lu(f,c.mode,h),f.return=c,f;case qt:var _=f._init;return d(c,_(f._payload),h)}if(Kr(f)||Ar(f))return f=Pn(f,c.mode,h,null),f.return=c,f;Jo(c,f)}return null}function v(c,f,h,_){var E=f!==null?f.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return E!==null?null:u(c,f,""+h,_);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Bo:return h.key===E?a(c,f,h,_):null;case Yn:return h.key===E?s(c,f,h,_):null;case qt:return E=h._init,v(c,f,E(h._payload),_)}if(Kr(h)||Ar(h))return E!==null?null:p(c,f,h,_,null);Jo(c,h)}return null}function g(c,f,h,_,E){if(typeof _=="string"&&_!==""||typeof _=="number")return c=c.get(h)||null,u(f,c,""+_,E);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Bo:return c=c.get(_.key===null?h:_.key)||null,a(f,c,_,E);case Yn:return c=c.get(_.key===null?h:_.key)||null,s(f,c,_,E);case qt:var L=_._init;return g(c,f,h,L(_._payload),E)}if(Kr(_)||Ar(_))return c=c.get(h)||null,p(f,c,_,E,null);Jo(f,_)}return null}function S(c,f,h,_){for(var E=null,L=null,V=f,D=f=0,q=null;V!==null&&D<h.length;D++){V.index>D?(q=V,V=null):q=V.sibling;var B=v(c,V,h[D],_);if(B===null){V===null&&(V=q);break}e&&V&&B.alternate===null&&t(c,V),f=l(B,f,D),L===null?E=B:L.sibling=B,L=B,V=q}if(D===h.length)return n(c,V),pe&&kn(c,D),E;if(V===null){for(;D<h.length;D++)V=d(c,h[D],_),V!==null&&(f=l(V,f,D),L===null?E=V:L.sibling=V,L=V);return pe&&kn(c,D),E}for(V=r(c,V);D<h.length;D++)q=g(V,c,D,h[D],_),q!==null&&(e&&q.alternate!==null&&V.delete(q.key===null?D:q.key),f=l(q,f,D),L===null?E=q:L.sibling=q,L=q);return e&&V.forEach(function(le){return t(c,le)}),pe&&kn(c,D),E}function w(c,f,h,_){var E=Ar(h);if(typeof E!="function")throw Error(C(150));if(h=E.call(h),h==null)throw Error(C(151));for(var L=E=null,V=f,D=f=0,q=null,B=h.next();V!==null&&!B.done;D++,B=h.next()){V.index>D?(q=V,V=null):q=V.sibling;var le=v(c,V,B.value,_);if(le===null){V===null&&(V=q);break}e&&V&&le.alternate===null&&t(c,V),f=l(le,f,D),L===null?E=le:L.sibling=le,L=le,V=q}if(B.done)return n(c,V),pe&&kn(c,D),E;if(V===null){for(;!B.done;D++,B=h.next())B=d(c,B.value,_),B!==null&&(f=l(B,f,D),L===null?E=B:L.sibling=B,L=B);return pe&&kn(c,D),E}for(V=r(c,V);!B.done;D++,B=h.next())B=g(V,c,D,B.value,_),B!==null&&(e&&B.alternate!==null&&V.delete(B.key===null?D:B.key),f=l(B,f,D),L===null?E=B:L.sibling=B,L=B);return e&&V.forEach(function(tt){return t(c,tt)}),pe&&kn(c,D),E}function N(c,f,h,_){if(typeof h=="object"&&h!==null&&h.type===Xn&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Bo:e:{for(var E=h.key,L=f;L!==null;){if(L.key===E){if(E=h.type,E===Xn){if(L.tag===7){n(c,L.sibling),f=o(L,h.props.children),f.return=c,c=f;break e}}else if(L.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===qt&&_c(E)===L.type){n(c,L.sibling),f=o(L,h.props),f.ref=Ur(c,L,h),f.return=c,c=f;break e}n(c,L);break}else t(c,L);L=L.sibling}h.type===Xn?(f=Pn(h.props.children,c.mode,_,h.key),f.return=c,c=f):(_=yl(h.type,h.key,h.props,null,c.mode,_),_.ref=Ur(c,f,h),_.return=c,c=_)}return i(c);case Yn:e:{for(L=h.key;f!==null;){if(f.key===L)if(f.tag===4&&f.stateNode.containerInfo===h.containerInfo&&f.stateNode.implementation===h.implementation){n(c,f.sibling),f=o(f,h.children||[]),f.return=c,c=f;break e}else{n(c,f);break}else t(c,f);f=f.sibling}f=lu(h,c.mode,_),f.return=c,c=f}return i(c);case qt:return L=h._init,N(c,f,L(h._payload),_)}if(Kr(h))return S(c,f,h,_);if(Ar(h))return w(c,f,h,_);Jo(c,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,f!==null&&f.tag===6?(n(c,f.sibling),f=o(f,h),f.return=c,c=f):(n(c,f),f=ou(h,c.mode,_),f.return=c,c=f),i(c)):n(c,f)}return N}var Sr=$d(!0),Ud=$d(!1),Ml=_n(null),$l=null,lr=null,Fa=null;function Ba(){Fa=lr=$l=null}function ja(e){var t=Ml.current;fe(Ml),e._currentValue=t}function ju(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function dr(e,t){$l=e,Fa=lr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Xe=!0),e.firstContext=null)}function yt(e){var t=e._currentValue;if(Fa!==e)if(e={context:e,memoizedValue:t,next:null},lr===null){if($l===null)throw Error(C(308));lr=e,$l.dependencies={lanes:0,firstContext:e}}else lr=lr.next=e;return t}var Ln=null;function Wa(e){Ln===null?Ln=[e]:Ln.push(e)}function Dd(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Wa(t)):(n.next=o.next,o.next=n),t.interleaved=n,bt(e,r)}function bt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var en=!1;function Ha(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Id(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ht(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function dn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,re&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,bt(e,n)}return o=r.interleaved,o===null?(t.next=t,Wa(r)):(t.next=o.next,o.next=t),r.interleaved=t,bt(e,n)}function fl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xa(e,n)}}function wc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};l===null?o=l=i:l=l.next=i,n=n.next}while(n!==null);l===null?o=l=t:l=l.next=t}else o=l=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ul(e,t,n,r){var o=e.updateQueue;en=!1;var l=o.firstBaseUpdate,i=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var a=u,s=a.next;a.next=null,i===null?l=s:i.next=s,i=a;var p=e.alternate;p!==null&&(p=p.updateQueue,u=p.lastBaseUpdate,u!==i&&(u===null?p.firstBaseUpdate=s:u.next=s,p.lastBaseUpdate=a))}if(l!==null){var d=o.baseState;i=0,p=s=a=null,u=l;do{var v=u.lane,g=u.eventTime;if((r&v)===v){p!==null&&(p=p.next={eventTime:g,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var S=e,w=u;switch(v=t,g=n,w.tag){case 1:if(S=w.payload,typeof S=="function"){d=S.call(g,d,v);break e}d=S;break e;case 3:S.flags=S.flags&-65537|128;case 0:if(S=w.payload,v=typeof S=="function"?S.call(g,d,v):S,v==null)break e;d=ye({},d,v);break e;case 2:en=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,v=o.effects,v===null?o.effects=[u]:v.push(u))}else g={eventTime:g,lane:v,tag:u.tag,payload:u.payload,callback:u.callback,next:null},p===null?(s=p=g,a=d):p=p.next=g,i|=v;if(u=u.next,u===null){if(u=o.shared.pending,u===null)break;v=u,u=v.next,v.next=null,o.lastBaseUpdate=v,o.shared.pending=null}}while(1);if(p===null&&(a=d),o.baseState=a,o.firstBaseUpdate=s,o.lastBaseUpdate=p,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else l===null&&(o.shared.lanes=0);Un|=i,e.lanes=i,e.memoizedState=d}}function Rc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(C(191,o));o.call(r)}}}var Po={},It=_n(Po),go=_n(Po),So=_n(Po);function xn(e){if(e===Po)throw Error(C(174));return e}function Ka(e,t){switch(se(So,t),se(go,e),se(It,Po),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ru(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ru(t,e)}fe(It),se(It,t)}function _r(){fe(It),fe(go),fe(So)}function zd(e){xn(So.current);var t=xn(It.current),n=Ru(t,e.type);t!==n&&(se(go,e),se(It,n))}function Qa(e){go.current===e&&(fe(It),fe(go))}var he=_n(0);function Dl(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 Ji=[];function ba(){for(var e=0;e<Ji.length;e++)Ji[e]._workInProgressVersionPrimary=null;Ji.length=0}var dl=Zt.ReactCurrentDispatcher,qi=Zt.ReactCurrentBatchConfig,$n=0,me=null,Ne=null,Ae=null,Il=!1,qr=!1,_o=0,d0=0;function Oe(){throw Error(C(321))}function Ga(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!xt(e[n],t[n]))return!1;return!0}function Za(e,t,n,r,o,l){if($n=l,me=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,dl.current=e===null||e.memoizedState===null?m0:y0,e=n(r,o),qr){l=0;do{if(qr=!1,_o=0,25<=l)throw Error(C(301));l+=1,Ae=Ne=null,t.updateQueue=null,dl.current=g0,e=n(r,o)}while(qr)}if(dl.current=zl,t=Ne!==null&&Ne.next!==null,$n=0,Ae=Ne=me=null,Il=!1,t)throw Error(C(300));return e}function Ya(){var e=_o!==0;return _o=0,e}function Vt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ae===null?me.memoizedState=Ae=e:Ae=Ae.next=e,Ae}function gt(){if(Ne===null){var e=me.alternate;e=e!==null?e.memoizedState:null}else e=Ne.next;var t=Ae===null?me.memoizedState:Ae.next;if(t!==null)Ae=t,Ne=e;else{if(e===null)throw Error(C(310));Ne=e,e={memoizedState:Ne.memoizedState,baseState:Ne.baseState,baseQueue:Ne.baseQueue,queue:Ne.queue,next:null},Ae===null?me.memoizedState=Ae=e:Ae=Ae.next=e}return Ae}function wo(e,t){return typeof t=="function"?t(e):t}function eu(e){var t=gt(),n=t.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=e;var r=Ne,o=r.baseQueue,l=n.pending;if(l!==null){if(o!==null){var i=o.next;o.next=l.next,l.next=i}r.baseQueue=o=l,n.pending=null}if(o!==null){l=o.next,r=r.baseState;var u=i=null,a=null,s=l;do{var p=s.lane;if(($n&p)===p)a!==null&&(a=a.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else{var d={lane:p,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};a===null?(u=a=d,i=r):a=a.next=d,me.lanes|=p,Un|=p}s=s.next}while(s!==null&&s!==l);a===null?i=r:a.next=u,xt(r,t.memoizedState)||(Xe=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do l=o.lane,me.lanes|=l,Un|=l,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function tu(e){var t=gt(),n=t.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,l=t.memoizedState;if(o!==null){n.pending=null;var i=o=o.next;do l=e(l,i.action),i=i.next;while(i!==o);xt(l,t.memoizedState)||(Xe=!0),t.memoizedState=l,t.baseQueue===null&&(t.baseState=l),n.lastRenderedState=l}return[l,r]}function Od(){}function Fd(e,t){var n=me,r=gt(),o=t(),l=!xt(r.memoizedState,o);if(l&&(r.memoizedState=o,Xe=!0),r=r.queue,Xa(Wd.bind(null,n,r,e),[e]),r.getSnapshot!==t||l||Ae!==null&&Ae.memoizedState.tag&1){if(n.flags|=2048,Ro(9,jd.bind(null,n,r,o,t),void 0,null),Pe===null)throw Error(C(349));$n&30||Bd(n,t,o)}return o}function Bd(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=me.updateQueue,t===null?(t={lastEffect:null,stores:null},me.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function jd(e,t,n,r){t.value=n,t.getSnapshot=r,Hd(t)&&Kd(e)}function Wd(e,t,n){return n(function(){Hd(t)&&Kd(e)})}function Hd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!xt(e,n)}catch(r){return!0}}function Kd(e){var t=bt(e,1);t!==null&&Lt(t,e,1,-1)}function Ec(e){var t=Vt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wo,lastRenderedState:e},t.queue=e,e=e.dispatch=v0.bind(null,me,e),[t.memoizedState,e]}function Ro(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=me.updateQueue,t===null?(t={lastEffect:null,stores:null},me.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Qd(){return gt().memoizedState}function pl(e,t,n,r){var o=Vt();me.flags|=e,o.memoizedState=Ro(1|t,n,void 0,r===void 0?null:r)}function li(e,t,n,r){var o=gt();r=r===void 0?null:r;var l=void 0;if(Ne!==null){var i=Ne.memoizedState;if(l=i.destroy,r!==null&&Ga(r,i.deps)){o.memoizedState=Ro(t,n,l,r);return}}me.flags|=e,o.memoizedState=Ro(1|t,n,l,r)}function kc(e,t){return pl(8390656,8,e,t)}function Xa(e,t){return li(2048,8,e,t)}function bd(e,t){return li(4,2,e,t)}function Gd(e,t){return li(4,4,e,t)}function Zd(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Yd(e,t,n){return n=n!=null?n.concat([e]):null,li(4,4,Zd.bind(null,t,e),n)}function Ja(){}function Xd(e,t){var n=gt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ga(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Jd(e,t){var n=gt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ga(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function qd(e,t,n){return $n&21?(xt(n,t)||(n=od(),me.lanes|=n,Un|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Xe=!0),e.memoizedState=n)}function p0(e,t){var n=ie;ie=n!==0&&4>n?n:4,e(!0);var r=qi.transition;qi.transition={};try{e(!1),t()}finally{ie=n,qi.transition=r}}function ep(){return gt().memoizedState}function h0(e,t,n){var r=hn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},tp(e))np(t,n);else if(n=Dd(e,t,n,r),n!==null){var o=He();Lt(n,e,r,o),rp(n,t,r)}}function v0(e,t,n){var r=hn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(tp(e))np(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var i=t.lastRenderedState,u=l(i,n);if(o.hasEagerState=!0,o.eagerState=u,xt(u,i)){var a=t.interleaved;a===null?(o.next=o,Wa(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch(s){}finally{}n=Dd(e,t,o,r),n!==null&&(o=He(),Lt(n,e,r,o),rp(n,t,r))}}function tp(e){var t=e.alternate;return e===me||t!==null&&t===me}function np(e,t){qr=Il=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function rp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xa(e,n)}}var zl={readContext:yt,useCallback:Oe,useContext:Oe,useEffect:Oe,useImperativeHandle:Oe,useInsertionEffect:Oe,useLayoutEffect:Oe,useMemo:Oe,useReducer:Oe,useRef:Oe,useState:Oe,useDebugValue:Oe,useDeferredValue:Oe,useTransition:Oe,useMutableSource:Oe,useSyncExternalStore:Oe,useId:Oe,unstable_isNewReconciler:!1},m0={readContext:yt,useCallback:function(e,t){return Vt().memoizedState=[e,t===void 0?null:t],e},useContext:yt,useEffect:kc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,pl(4194308,4,Zd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return pl(4194308,4,e,t)},useInsertionEffect:function(e,t){return pl(4,2,e,t)},useMemo:function(e,t){var n=Vt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Vt();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=h0.bind(null,me,e),[r.memoizedState,e]},useRef:function(e){var t=Vt();return e={current:e},t.memoizedState=e},useState:Ec,useDebugValue:Ja,useDeferredValue:function(e){return Vt().memoizedState=e},useTransition:function(){var e=Ec(!1),t=e[0];return e=p0.bind(null,e[1]),Vt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=me,o=Vt();if(pe){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),Pe===null)throw Error(C(349));$n&30||Bd(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,kc(Wd.bind(null,r,l,e),[e]),r.flags|=2048,Ro(9,jd.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=Vt(),t=Pe.identifierPrefix;if(pe){var n=Wt,r=jt;n=(r&~(1<<32-Nt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=_o++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=d0++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},y0={readContext:yt,useCallback:Xd,useContext:yt,useEffect:Xa,useImperativeHandle:Yd,useInsertionEffect:bd,useLayoutEffect:Gd,useMemo:Jd,useReducer:eu,useRef:Qd,useState:function(){return eu(wo)},useDebugValue:Ja,useDeferredValue:function(e){var t=gt();return qd(t,Ne.memoizedState,e)},useTransition:function(){var e=eu(wo)[0],t=gt().memoizedState;return[e,t]},useMutableSource:Od,useSyncExternalStore:Fd,useId:ep,unstable_isNewReconciler:!1},g0={readContext:yt,useCallback:Xd,useContext:yt,useEffect:Xa,useImperativeHandle:Yd,useInsertionEffect:bd,useLayoutEffect:Gd,useMemo:Jd,useReducer:tu,useRef:Qd,useState:function(){return tu(wo)},useDebugValue:Ja,useDeferredValue:function(e){var t=gt();return Ne===null?t.memoizedState=e:qd(t,Ne.memoizedState,e)},useTransition:function(){var e=tu(wo)[0],t=gt().memoizedState;return[e,t]},useMutableSource:Od,useSyncExternalStore:Fd,useId:ep,unstable_isNewReconciler:!1};function kt(e,t){if(e&&e.defaultProps){t=ye({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Wu(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ye({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ii={isMounted:function(e){return(e=e._reactInternals)?Fn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=He(),o=hn(e),l=Ht(r,o);l.payload=t,n!=null&&(l.callback=n),t=dn(e,l,o),t!==null&&(Lt(t,e,o,r),fl(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=He(),o=hn(e),l=Ht(r,o);l.tag=1,l.payload=t,n!=null&&(l.callback=n),t=dn(e,l,o),t!==null&&(Lt(t,e,o,r),fl(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=He(),r=hn(e),o=Ht(n,r);o.tag=2,t!=null&&(o.callback=t),t=dn(e,o,r),t!==null&&(Lt(t,e,r,n),fl(t,e,r))}};function Tc(e,t,n,r,o,l,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,l,i):t.prototype&&t.prototype.isPureReactComponent?!ho(n,r)||!ho(o,l):!0}function op(e,t,n){var r=!1,o=gn,l=t.contextType;return typeof l=="object"&&l!==null?l=yt(l):(o=qe(t)?Vn:je.current,r=t.contextTypes,l=(r=r!=null)?yr(e,o):gn),t=new t(n,l),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ii,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=l),t}function Cc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ii.enqueueReplaceState(t,t.state,null)}function Hu(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Ha(e);var l=t.contextType;typeof l=="object"&&l!==null?o.context=yt(l):(l=qe(t)?Vn:je.current,o.context=yr(e,l)),o.state=e.memoizedState,l=t.getDerivedStateFromProps,typeof l=="function"&&(Wu(e,t,l,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&ii.enqueueReplaceState(o,o.state,null),Ul(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function wr(e,t){try{var n="",r=t;do n+=Qv(r),r=r.return;while(r);var o=n}catch(l){o=`
Error generating stack: `+l.message+`
`+l.stack}return{value:e,source:t,stack:o,digest:null}}function nu(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function Ku(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var S0=typeof WeakMap=="function"?WeakMap:Map;function lp(e,t,n){n=Ht(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Fl||(Fl=!0,ta=r),Ku(e,t)},n}function ip(e,t,n){n=Ht(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Ku(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(n.callback=function(){Ku(e,t),typeof r!="function"&&(pn===null?pn=new Set([this]):pn.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function Nc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new S0;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=M0.bind(null,e,t,n),t.then(e,e))}function Lc(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function xc(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Ht(-1,1),t.tag=2,dn(n,t,1))),n.lanes|=1),e)}var _0=Zt.ReactCurrentOwner,Xe=!1;function We(e,t,n,r){t.child=e===null?Ud(t,null,n,r):Sr(t,e.child,n,r)}function Ac(e,t,n,r,o){n=n.render;var l=t.ref;return dr(t,o),r=Za(e,t,n,r,l,o),n=Ya(),e!==null&&!Xe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Gt(e,t,o)):(pe&&n&&Ia(t),t.flags|=1,We(e,t,r,o),t.child)}function Pc(e,t,n,r,o){if(e===null){var l=n.type;return typeof l=="function"&&!is(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,up(e,t,l,r,o)):(e=yl(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,!(e.lanes&o)){var i=l.memoizedProps;if(n=n.compare,n=n!==null?n:ho,n(i,r)&&e.ref===t.ref)return Gt(e,t,o)}return t.flags|=1,e=vn(l,r),e.ref=t.ref,e.return=t,t.child=e}function up(e,t,n,r,o){if(e!==null){var l=e.memoizedProps;if(ho(l,r)&&e.ref===t.ref)if(Xe=!1,t.pendingProps=r=l,(e.lanes&o)!==0)e.flags&131072&&(Xe=!0);else return t.lanes=e.lanes,Gt(e,t,o)}return Qu(e,t,n,r,o)}function ap(e,t,n){var r=t.pendingProps,o=r.children,l=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},se(ur,lt),lt|=n;else{if(!(n&1073741824))return e=l!==null?l.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,se(ur,lt),lt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=l!==null?l.baseLanes:n,se(ur,lt),lt|=r}else l!==null?(r=l.baseLanes|n,t.memoizedState=null):r=n,se(ur,lt),lt|=r;return We(e,t,o,n),t.child}function sp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Qu(e,t,n,r,o){var l=qe(n)?Vn:je.current;return l=yr(t,l),dr(t,o),n=Za(e,t,n,r,l,o),r=Ya(),e!==null&&!Xe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Gt(e,t,o)):(pe&&r&&Ia(t),t.flags|=1,We(e,t,n,o),t.child)}function Vc(e,t,n,r,o){if(qe(n)){var l=!0;Al(t)}else l=!1;if(dr(t,o),t.stateNode===null)hl(e,t),op(t,n,r),Hu(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,u=t.memoizedProps;i.props=u;var a=i.context,s=n.contextType;typeof s=="object"&&s!==null?s=yt(s):(s=qe(n)?Vn:je.current,s=yr(t,s));var p=n.getDerivedStateFromProps,d=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function";d||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==r||a!==s)&&Cc(t,i,r,s),en=!1;var v=t.memoizedState;i.state=v,Ul(t,r,i,o),a=t.memoizedState,u!==r||v!==a||Je.current||en?(typeof p=="function"&&(Wu(t,n,p,r),a=t.memoizedState),(u=en||Tc(t,n,u,r,v,a,s))?(d||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),i.props=r,i.state=a,i.context=s,r=u):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Id(e,t),u=t.memoizedProps,s=t.type===t.elementType?u:kt(t.type,u),i.props=s,d=t.pendingProps,v=i.context,a=n.contextType,typeof a=="object"&&a!==null?a=yt(a):(a=qe(n)?Vn:je.current,a=yr(t,a));var g=n.getDerivedStateFromProps;(p=typeof g=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==d||v!==a)&&Cc(t,i,r,a),en=!1,v=t.memoizedState,i.state=v,Ul(t,r,i,o);var S=t.memoizedState;u!==d||v!==S||Je.current||en?(typeof g=="function"&&(Wu(t,n,g,r),S=t.memoizedState),(s=en||Tc(t,n,s,r,v,S,a)||!1)?(p||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,S,a),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,S,a)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=S),i.props=r,i.state=S,i.context=a,r=s):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),r=!1)}return bu(e,t,n,r,l,o)}function bu(e,t,n,r,o,l){sp(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&yc(t,n,!1),Gt(e,t,l);r=t.stateNode,_0.current=t;var u=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=Sr(t,e.child,null,l),t.child=Sr(t,null,u,l)):We(e,t,u,l),t.memoizedState=r.state,o&&yc(t,n,!0),t.child}function cp(e){var t=e.stateNode;t.pendingContext?mc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&mc(e,t.context,!1),Ka(e,t.containerInfo)}function Mc(e,t,n,r,o){return gr(),Oa(o),t.flags|=256,We(e,t,n,r),t.child}var Gu={dehydrated:null,treeContext:null,retryLane:0};function Zu(e){return{baseLanes:e,cachePool:null,transitions:null}}function fp(e,t,n){var r=t.pendingProps,o=he.current,l=!1,i=(t.flags&128)!==0,u;if((u=i)||(u=e!==null&&e.memoizedState===null?!1:(o&2)!==0),u?(l=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),se(he,o&1),e===null)return Bu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,l?(r=t.mode,l=t.child,i={mode:"hidden",children:i},!(r&1)&&l!==null?(l.childLanes=0,l.pendingProps=i):l=si(i,r,0,null),e=Pn(e,r,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Zu(n),t.memoizedState=Gu,e):qa(t,i));if(o=e.memoizedState,o!==null&&(u=o.dehydrated,u!==null))return w0(e,t,i,r,u,o,n);if(l){l=r.fallback,i=t.mode,o=e.child,u=o.sibling;var a={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=vn(o,a),r.subtreeFlags=o.subtreeFlags&14680064),u!==null?l=vn(u,l):(l=Pn(l,i,n,null),l.flags|=2),l.return=t,r.return=t,r.sibling=l,t.child=r,r=l,l=t.child,i=e.child.memoizedState,i=i===null?Zu(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},l.memoizedState=i,l.childLanes=e.childLanes&~n,t.memoizedState=Gu,r}return l=e.child,e=l.sibling,r=vn(l,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function qa(e,t){return t=si({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function qo(e,t,n,r){return r!==null&&Oa(r),Sr(t,e.child,null,n),e=qa(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function w0(e,t,n,r,o,l,i){if(n)return t.flags&256?(t.flags&=-257,r=nu(Error(C(422))),qo(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(l=r.fallback,o=t.mode,r=si({mode:"visible",children:r.children},o,0,null),l=Pn(l,o,i,null),l.flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,t.mode&1&&Sr(t,e.child,null,i),t.child.memoizedState=Zu(i),t.memoizedState=Gu,l);if(!(t.mode&1))return qo(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var u=r.dgst;return r=u,l=Error(C(419)),r=nu(l,r,void 0),qo(e,t,i,r)}if(u=(i&e.childLanes)!==0,Xe||u){if(r=Pe,r!==null){switch(i&-i){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|i)?0:o,o!==0&&o!==l.retryLane&&(l.retryLane=o,bt(e,o),Lt(r,e,o,-1))}return ls(),r=nu(Error(C(421))),qo(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=$0.bind(null,e),o._reactRetry=t,null):(e=l.treeContext,ut=fn(o.nextSibling),at=t,pe=!0,Ct=null,e!==null&&(pt[ht++]=jt,pt[ht++]=Wt,pt[ht++]=Mn,jt=e.id,Wt=e.overflow,Mn=t),t=qa(t,r.children),t.flags|=4096,t)}function $c(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ju(e.return,t,n)}function ru(e,t,n,r,o){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=n,l.tailMode=o)}function dp(e,t,n){var r=t.pendingProps,o=r.revealOrder,l=r.tail;if(We(e,t,r.children,n),r=he.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&$c(e,n,t);else if(e.tag===19)$c(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(se(he,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Dl(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),ru(t,!1,o,n,l);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Dl(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}ru(t,!0,n,null,l);break;case"together":ru(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function hl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Gt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Un|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(C(153));if(t.child!==null){for(e=t.child,n=vn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=vn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function R0(e,t,n){switch(t.tag){case 3:cp(t),gr();break;case 5:zd(t);break;case 1:qe(t.type)&&Al(t);break;case 4:Ka(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;se(Ml,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(se(he,he.current&1),t.flags|=128,null):n&t.child.childLanes?fp(e,t,n):(se(he,he.current&1),e=Gt(e,t,n),e!==null?e.sibling:null);se(he,he.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return dp(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),se(he,he.current),r)break;return null;case 22:case 23:return t.lanes=0,ap(e,t,n)}return Gt(e,t,n)}var pp,Yu,hp,vp;pp=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Yu=function(){};hp=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,xn(It.current);var l=null;switch(n){case"input":o=gu(e,o),r=gu(e,r),l=[];break;case"select":o=ye({},o,{value:void 0}),r=ye({},r,{value:void 0}),l=[];break;case"textarea":o=wu(e,o),r=wu(e,r),l=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ll)}Eu(n,r);var i;n=null;for(s in o)if(!r.hasOwnProperty(s)&&o.hasOwnProperty(s)&&o[s]!=null)if(s==="style"){var u=o[s];for(i in u)u.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(io.hasOwnProperty(s)?l||(l=[]):(l=l||[]).push(s,null));for(s in r){var a=r[s];if(u=o!=null?o[s]:void 0,r.hasOwnProperty(s)&&a!==u&&(a!=null||u!=null))if(s==="style")if(u){for(i in u)!u.hasOwnProperty(i)||a&&a.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in a)a.hasOwnProperty(i)&&u[i]!==a[i]&&(n||(n={}),n[i]=a[i])}else n||(l||(l=[]),l.push(s,n)),n=a;else s==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,u=u?u.__html:void 0,a!=null&&u!==a&&(l=l||[]).push(s,a)):s==="children"?typeof a!="string"&&typeof a!="number"||(l=l||[]).push(s,""+a):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(io.hasOwnProperty(s)?(a!=null&&s==="onScroll"&&ce("scroll",e),l||u===a||(l=[])):(l=l||[]).push(s,a))}n&&(l=l||[]).push("style",n);var s=l;(t.updateQueue=s)&&(t.flags|=4)}};vp=function(e,t,n,r){n!==r&&(t.flags|=4)};function Dr(e,t){if(!pe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Fe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function E0(e,t,n){var r=t.pendingProps;switch(za(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fe(t),null;case 1:return qe(t.type)&&xl(),Fe(t),null;case 3:return r=t.stateNode,_r(),fe(Je),fe(je),ba(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Xo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ct!==null&&(oa(Ct),Ct=null))),Yu(e,t),Fe(t),null;case 5:Qa(t);var o=xn(So.current);if(n=t.type,e!==null&&t.stateNode!=null)hp(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(C(166));return Fe(t),null}if(e=xn(It.current),Xo(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[$t]=t,r[yo]=l,e=(t.mode&1)!==0,n){case"dialog":ce("cancel",r),ce("close",r);break;case"iframe":case"object":case"embed":ce("load",r);break;case"video":case"audio":for(o=0;o<br.length;o++)ce(br[o],r);break;case"source":ce("error",r);break;case"img":case"image":case"link":ce("error",r),ce("load",r);break;case"details":ce("toggle",r);break;case"input":Ws(r,l),ce("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},ce("invalid",r);break;case"textarea":Ks(r,l),ce("invalid",r)}Eu(n,l),o=null;for(var i in l)if(l.hasOwnProperty(i)){var u=l[i];i==="children"?typeof u=="string"?r.textContent!==u&&(l.suppressHydrationWarning!==!0&&Yo(r.textContent,u,e),o=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(l.suppressHydrationWarning!==!0&&Yo(r.textContent,u,e),o=["children",""+u]):io.hasOwnProperty(i)&&u!=null&&i==="onScroll"&&ce("scroll",r)}switch(n){case"input":jo(r),Hs(r,l,!0);break;case"textarea":jo(r),Qs(r);break;case"select":case"option":break;default:typeof l.onClick=="function"&&(r.onclick=Ll)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Wf(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[$t]=t,e[yo]=r,pp(e,t,!1,!1),t.stateNode=e;e:{switch(i=ku(n,r),n){case"dialog":ce("cancel",e),ce("close",e),o=r;break;case"iframe":case"object":case"embed":ce("load",e),o=r;break;case"video":case"audio":for(o=0;o<br.length;o++)ce(br[o],e);o=r;break;case"source":ce("error",e),o=r;break;case"img":case"image":case"link":ce("error",e),ce("load",e),o=r;break;case"details":ce("toggle",e),o=r;break;case"input":Ws(e,r),o=gu(e,r),ce("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ye({},r,{value:void 0}),ce("invalid",e);break;case"textarea":Ks(e,r),o=wu(e,r),ce("invalid",e);break;default:o=r}Eu(n,o),u=o;for(l in u)if(u.hasOwnProperty(l)){var a=u[l];l==="style"?Qf(e,a):l==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Hf(e,a)):l==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&uo(e,a):typeof a=="number"&&uo(e,""+a):l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&l!=="autoFocus"&&(io.hasOwnProperty(l)?a!=null&&l==="onScroll"&&ce("scroll",e):a!=null&&Ea(e,l,a,i))}switch(n){case"input":jo(e),Hs(e,r,!1);break;case"textarea":jo(e),Qs(e);break;case"option":r.value!=null&&e.setAttribute("value",""+yn(r.value));break;case"select":e.multiple=!!r.multiple,l=r.value,l!=null?ar(e,!!r.multiple,l,!1):r.defaultValue!=null&&ar(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Ll)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Fe(t),null;case 6:if(e&&t.stateNode!=null)vp(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(C(166));if(n=xn(So.current),xn(It.current),Xo(t)){if(r=t.stateNode,n=t.memoizedProps,r[$t]=t,(l=r.nodeValue!==n)&&(e=at,e!==null))switch(e.tag){case 3:Yo(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Yo(r.nodeValue,n,(e.mode&1)!==0)}l&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[$t]=t,t.stateNode=r}return Fe(t),null;case 13:if(fe(he),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(pe&&ut!==null&&t.mode&1&&!(t.flags&128))Md(),gr(),t.flags|=98560,l=!1;else if(l=Xo(t),r!==null&&r.dehydrated!==null){if(e===null){if(!l)throw Error(C(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(C(317));l[$t]=t}else gr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Fe(t),l=!1}else Ct!==null&&(oa(Ct),Ct=null),l=!0;if(!l)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||he.current&1?Le===0&&(Le=3):ls())),t.updateQueue!==null&&(t.flags|=4),Fe(t),null);case 4:return _r(),Yu(e,t),e===null&&vo(t.stateNode.containerInfo),Fe(t),null;case 10:return ja(t.type._context),Fe(t),null;case 17:return qe(t.type)&&xl(),Fe(t),null;case 19:if(fe(he),l=t.memoizedState,l===null)return Fe(t),null;if(r=(t.flags&128)!==0,i=l.rendering,i===null)if(r)Dr(l,!1);else{if(Le!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Dl(e),i!==null){for(t.flags|=128,Dr(l,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)l=n,e=r,l.flags&=14680066,i=l.alternate,i===null?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=i.childLanes,l.lanes=i.lanes,l.child=i.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=i.memoizedProps,l.memoizedState=i.memoizedState,l.updateQueue=i.updateQueue,l.type=i.type,e=i.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return se(he,he.current&1|2),t.child}e=e.sibling}l.tail!==null&&ke()>Rr&&(t.flags|=128,r=!0,Dr(l,!1),t.lanes=4194304)}else{if(!r)if(e=Dl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Dr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!pe)return Fe(t),null}else 2*ke()-l.renderingStartTime>Rr&&n!==1073741824&&(t.flags|=128,r=!0,Dr(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(n=l.last,n!==null?n.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=ke(),t.sibling=null,n=he.current,se(he,r?n&1|2:n&1),t):(Fe(t),null);case 22:case 23:return os(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?lt&1073741824&&(Fe(t),t.subtreeFlags&6&&(t.flags|=8192)):Fe(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function k0(e,t){switch(za(t),t.tag){case 1:return qe(t.type)&&xl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _r(),fe(Je),fe(je),ba(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qa(t),null;case 13:if(fe(he),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));gr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return fe(he),null;case 4:return _r(),null;case 10:return ja(t.type._context),null;case 22:case 23:return os(),null;case 24:return null;default:return null}}var el=!1,Be=!1,T0=typeof WeakSet=="function"?WeakSet:Set,I=null;function ir(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){_e(e,t,r)}else n.current=null}function Xu(e,t,n){try{n()}catch(r){_e(e,t,r)}}var Uc=!1;function C0(e,t){if($u=Tl,e=_d(),Da(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,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch(_){n=null;break e}var i=0,u=-1,a=-1,s=0,p=0,d=e,v=null;t:for(;;){for(var g;d!==n||o!==0&&d.nodeType!==3||(u=i+o),d!==l||r!==0&&d.nodeType!==3||(a=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(g=d.firstChild)!==null;)v=d,d=g;for(;;){if(d===e)break t;if(v===n&&++s===o&&(u=i),v===l&&++p===r&&(a=i),(g=d.nextSibling)!==null)break;d=v,v=d.parentNode}d=g}n=u===-1||a===-1?null:{start:u,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Uu={focusedElem:e,selectionRange:n},Tl=!1,I=t;I!==null;)if(t=I,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,I=e;else for(;I!==null;){t=I;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var w=S.memoizedProps,N=S.memoizedState,c=t.stateNode,f=c.getSnapshotBeforeUpdate(t.elementType===t.type?w:kt(t.type,w),N);c.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(_){_e(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,I=e;break}I=t.return}return S=Uc,Uc=!1,S}function eo(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 l=o.destroy;o.destroy=void 0,l!==void 0&&Xu(t,n,l)}o=o.next}while(o!==r)}}function ui(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 Ju(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 mp(e){var t=e.alternate;t!==null&&(e.alternate=null,mp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[$t],delete t[yo],delete t[zu],delete t[a0],delete t[s0])),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 yp(e){return e.tag===5||e.tag===3||e.tag===4}function Dc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yp(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 qu(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=Ll));else if(r!==4&&(e=e.child,e!==null))for(qu(e,t,n),e=e.sibling;e!==null;)qu(e,t,n),e=e.sibling}function ea(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(ea(e,t,n),e=e.sibling;e!==null;)ea(e,t,n),e=e.sibling}var $e=null,Tt=!1;function Jt(e,t,n){for(n=n.child;n!==null;)gp(e,t,n),n=n.sibling}function gp(e,t,n){if(Dt&&typeof Dt.onCommitFiberUnmount=="function")try{Dt.onCommitFiberUnmount(ql,n)}catch(u){}switch(n.tag){case 5:Be||ir(n,t);case 6:var r=$e,o=Tt;$e=null,Jt(e,t,n),$e=r,Tt=o,$e!==null&&(Tt?(e=$e,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):$e.removeChild(n.stateNode));break;case 18:$e!==null&&(Tt?(e=$e,n=n.stateNode,e.nodeType===8?Yi(e.parentNode,n):e.nodeType===1&&Yi(e,n),fo(e)):Yi($e,n.stateNode));break;case 4:r=$e,o=Tt,$e=n.stateNode.containerInfo,Tt=!0,Jt(e,t,n),$e=r,Tt=o;break;case 0:case 11:case 14:case 15:if(!Be&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var l=o,i=l.destroy;l=l.tag,i!==void 0&&(l&2||l&4)&&Xu(n,t,i),o=o.next}while(o!==r)}Jt(e,t,n);break;case 1:if(!Be&&(ir(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){_e(n,t,u)}Jt(e,t,n);break;case 21:Jt(e,t,n);break;case 22:n.mode&1?(Be=(r=Be)||n.memoizedState!==null,Jt(e,t,n),Be=r):Jt(e,t,n);break;default:Jt(e,t,n)}}function Ic(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new T0),t.forEach(function(r){var o=U0.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Rt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var l=e,i=t,u=i;e:for(;u!==null;){switch(u.tag){case 5:$e=u.stateNode,Tt=!1;break e;case 3:$e=u.stateNode.containerInfo,Tt=!0;break e;case 4:$e=u.stateNode.containerInfo,Tt=!0;break e}u=u.return}if($e===null)throw Error(C(160));gp(l,i,o),$e=null,Tt=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(s){_e(o,t,s)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Sp(t,e),t=t.sibling}function Sp(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Rt(t,e),Pt(e),r&4){try{eo(3,e,e.return),ui(3,e)}catch(w){_e(e,e.return,w)}try{eo(5,e,e.return)}catch(w){_e(e,e.return,w)}}break;case 1:Rt(t,e),Pt(e),r&512&&n!==null&&ir(n,n.return);break;case 5:if(Rt(t,e),Pt(e),r&512&&n!==null&&ir(n,n.return),e.flags&32){var o=e.stateNode;try{uo(o,"")}catch(w){_e(e,e.return,w)}}if(r&4&&(o=e.stateNode,o!=null)){var l=e.memoizedProps,i=n!==null?n.memoizedProps:l,u=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{u==="input"&&l.type==="radio"&&l.name!=null&&Bf(o,l),ku(u,i);var s=ku(u,l);for(i=0;i<a.length;i+=2){var p=a[i],d=a[i+1];p==="style"?Qf(o,d):p==="dangerouslySetInnerHTML"?Hf(o,d):p==="children"?uo(o,d):Ea(o,p,d,s)}switch(u){case"input":Su(o,l);break;case"textarea":jf(o,l);break;case"select":var v=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!l.multiple;var g=l.value;g!=null?ar(o,!!l.multiple,g,!1):v!==!!l.multiple&&(l.defaultValue!=null?ar(o,!!l.multiple,l.defaultValue,!0):ar(o,!!l.multiple,l.multiple?[]:"",!1))}o[yo]=l}catch(w){_e(e,e.return,w)}}break;case 6:if(Rt(t,e),Pt(e),r&4){if(e.stateNode===null)throw Error(C(162));o=e.stateNode,l=e.memoizedProps;try{o.nodeValue=l}catch(w){_e(e,e.return,w)}}break;case 3:if(Rt(t,e),Pt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{fo(t.containerInfo)}catch(w){_e(e,e.return,w)}break;case 4:Rt(t,e),Pt(e);break;case 13:Rt(t,e),Pt(e),o=e.child,o.flags&8192&&(l=o.memoizedState!==null,o.stateNode.isHidden=l,!l||o.alternate!==null&&o.alternate.memoizedState!==null||(ns=ke())),r&4&&Ic(e);break;case 22:if(p=n!==null&&n.memoizedState!==null,e.mode&1?(Be=(s=Be)||p,Rt(t,e),Be=s):Rt(t,e),Pt(e),r&8192){if(s=e.memoizedState!==null,(e.stateNode.isHidden=s)&&!p&&e.mode&1)for(I=e,p=e.child;p!==null;){for(d=I=p;I!==null;){switch(v=I,g=v.child,v.tag){case 0:case 11:case 14:case 15:eo(4,v,v.return);break;case 1:ir(v,v.return);var S=v.stateNode;if(typeof S.componentWillUnmount=="function"){r=v,n=v.return;try{t=r,S.props=t.memoizedProps,S.state=t.memoizedState,S.componentWillUnmount()}catch(w){_e(r,n,w)}}break;case 5:ir(v,v.return);break;case 22:if(v.memoizedState!==null){Oc(d);continue}}g!==null?(g.return=v,I=g):Oc(d)}p=p.sibling}e:for(p=null,d=e;;){if(d.tag===5){if(p===null){p=d;try{o=d.stateNode,s?(l=o.style,typeof l.setProperty=="function"?l.setProperty("display","none","important"):l.display="none"):(u=d.stateNode,a=d.memoizedProps.style,i=a!=null&&a.hasOwnProperty("display")?a.display:null,u.style.display=Kf("display",i))}catch(w){_e(e,e.return,w)}}}else if(d.tag===6){if(p===null)try{d.stateNode.nodeValue=s?"":d.memoizedProps}catch(w){_e(e,e.return,w)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;p===d&&(p=null),d=d.return}p===d&&(p=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Rt(t,e),Pt(e),r&4&&Ic(e);break;case 21:break;default:Rt(t,e),Pt(e)}}function Pt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(yp(n)){var r=n;break e}n=n.return}throw Error(C(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(uo(o,""),r.flags&=-33);var l=Dc(e);ea(e,l,o);break;case 3:case 4:var i=r.stateNode.containerInfo,u=Dc(e);qu(e,u,i);break;default:throw Error(C(161))}}catch(a){_e(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function N0(e,t,n){I=e,_p(e)}function _p(e,t,n){for(var r=(e.mode&1)!==0;I!==null;){var o=I,l=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||el;if(!i){var u=o.alternate,a=u!==null&&u.memoizedState!==null||Be;u=el;var s=Be;if(el=i,(Be=a)&&!s)for(I=o;I!==null;)i=I,a=i.child,i.tag===22&&i.memoizedState!==null?Fc(o):a!==null?(a.return=i,I=a):Fc(o);for(;l!==null;)I=l,_p(l),l=l.sibling;I=o,el=u,Be=s}zc(e)}else o.subtreeFlags&8772&&l!==null?(l.return=o,I=l):zc(e)}}function zc(e){for(;I!==null;){var t=I;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Be||ui(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Be)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:kt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var l=t.updateQueue;l!==null&&Rc(t,l,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Rc(t,i,n)}break;case 5:var u=t.stateNode;if(n===null&&t.flags&4){n=u;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var s=t.alternate;if(s!==null){var p=s.memoizedState;if(p!==null){var d=p.dehydrated;d!==null&&fo(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(C(163))}Be||t.flags&512&&Ju(t)}catch(v){_e(t,t.return,v)}}if(t===e){I=null;break}if(n=t.sibling,n!==null){n.return=t.return,I=n;break}I=t.return}}function Oc(e){for(;I!==null;){var t=I;if(t===e){I=null;break}var n=t.sibling;if(n!==null){n.return=t.return,I=n;break}I=t.return}}function Fc(e){for(;I!==null;){var t=I;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ui(4,t)}catch(a){_e(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(a){_e(t,o,a)}}var l=t.return;try{Ju(t)}catch(a){_e(t,l,a)}break;case 5:var i=t.return;try{Ju(t)}catch(a){_e(t,i,a)}}}catch(a){_e(t,t.return,a)}if(t===e){I=null;break}var u=t.sibling;if(u!==null){u.return=t.return,I=u;break}I=t.return}}var L0=Math.ceil,Ol=Zt.ReactCurrentDispatcher,es=Zt.ReactCurrentOwner,mt=Zt.ReactCurrentBatchConfig,re=0,Pe=null,Te=null,Ue=0,lt=0,ur=_n(0),Le=0,Eo=null,Un=0,ai=0,ts=0,to=null,Ye=null,ns=0,Rr=1/0,Ft=null,Fl=!1,ta=null,pn=null,tl=!1,on=null,Bl=0,no=0,na=null,vl=-1,ml=0;function He(){return re&6?ke():vl!==-1?vl:vl=ke()}function hn(e){return e.mode&1?re&2&&Ue!==0?Ue&-Ue:f0.transition!==null?(ml===0&&(ml=od()),ml):(e=ie,e!==0||(e=window.event,e=e===void 0?16:fd(e.type)),e):1}function Lt(e,t,n,r){if(50<no)throw no=0,na=null,Error(C(185));Lo(e,n,r),(!(re&2)||e!==Pe)&&(e===Pe&&(!(re&2)&&(ai|=n),Le===4&&nn(e,Ue)),et(e,r),n===1&&re===0&&!(t.mode&1)&&(Rr=ke()+500,oi&&wn()))}function et(e,t){var n=e.callbackNode;fm(e,t);var r=kl(e,e===Pe?Ue:0);if(r===0)n!==null&&Zs(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Zs(n),t===1)e.tag===0?c0(Bc.bind(null,e)):Ad(Bc.bind(null,e)),i0(function(){!(re&6)&&wn()}),n=null;else{switch(ld(r)){case 1:n=La;break;case 4:n=nd;break;case 16:n=El;break;case 536870912:n=rd;break;default:n=El}n=Lp(n,wp.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function wp(e,t){if(vl=-1,ml=0,re&6)throw Error(C(327));var n=e.callbackNode;if(pr()&&e.callbackNode!==n)return null;var r=kl(e,e===Pe?Ue:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=jl(e,r);else{t=r;var o=re;re|=2;var l=Ep();(Pe!==e||Ue!==t)&&(Ft=null,Rr=ke()+500,An(e,t));do try{P0();break}catch(u){Rp(e,u)}while(1);Ba(),Ol.current=l,re=o,Te!==null?t=0:(Pe=null,Ue=0,t=Le)}if(t!==0){if(t===2&&(o=xu(e),o!==0&&(r=o,t=ra(e,o))),t===1)throw n=Eo,An(e,0),nn(e,r),et(e,ke()),n;if(t===6)nn(e,r);else{if(o=e.current.alternate,!(r&30)&&!x0(o)&&(t=jl(e,r),t===2&&(l=xu(e),l!==0&&(r=l,t=ra(e,l))),t===1))throw n=Eo,An(e,0),nn(e,r),et(e,ke()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(C(345));case 2:Tn(e,Ye,Ft);break;case 3:if(nn(e,r),(r&130023424)===r&&(t=ns+500-ke(),10<t)){if(kl(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){He(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Iu(Tn.bind(null,e,Ye,Ft),t);break}Tn(e,Ye,Ft);break;case 4:if(nn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-Nt(r);l=1<<i,i=t[i],i>o&&(o=i),r&=~l}if(r=o,r=ke()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*L0(r/1960))-r,10<r){e.timeoutHandle=Iu(Tn.bind(null,e,Ye,Ft),r);break}Tn(e,Ye,Ft);break;case 5:Tn(e,Ye,Ft);break;default:throw Error(C(329))}}}return et(e,ke()),e.callbackNode===n?wp.bind(null,e):null}function ra(e,t){var n=to;return e.current.memoizedState.isDehydrated&&(An(e,t).flags|=256),e=jl(e,t),e!==2&&(t=Ye,Ye=n,t!==null&&oa(t)),e}function oa(e){Ye===null?Ye=e:Ye.push.apply(Ye,e)}function x0(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],l=o.getSnapshot;o=o.value;try{if(!xt(l(),o))return!1}catch(i){return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function nn(e,t){for(t&=~ts,t&=~ai,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Nt(t),r=1<<n;e[n]=-1,t&=~r}}function Bc(e){if(re&6)throw Error(C(327));pr();var t=kl(e,0);if(!(t&1))return et(e,ke()),null;var n=jl(e,t);if(e.tag!==0&&n===2){var r=xu(e);r!==0&&(t=r,n=ra(e,r))}if(n===1)throw n=Eo,An(e,0),nn(e,t),et(e,ke()),n;if(n===6)throw Error(C(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Tn(e,Ye,Ft),et(e,ke()),null}function rs(e,t){var n=re;re|=1;try{return e(t)}finally{re=n,re===0&&(Rr=ke()+500,oi&&wn())}}function Dn(e){on!==null&&on.tag===0&&!(re&6)&&pr();var t=re;re|=1;var n=mt.transition,r=ie;try{if(mt.transition=null,ie=1,e)return e()}finally{ie=r,mt.transition=n,re=t,!(re&6)&&wn()}}function os(){lt=ur.current,fe(ur)}function An(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,l0(n)),Te!==null)for(n=Te.return;n!==null;){var r=n;switch(za(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&xl();break;case 3:_r(),fe(Je),fe(je),ba();break;case 5:Qa(r);break;case 4:_r();break;case 13:fe(he);break;case 19:fe(he);break;case 10:ja(r.type._context);break;case 22:case 23:os()}n=n.return}if(Pe=e,Te=e=vn(e.current,null),Ue=lt=t,Le=0,Eo=null,ts=ai=Un=0,Ye=to=null,Ln!==null){for(t=0;t<Ln.length;t++)if(n=Ln[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,l=n.pending;if(l!==null){var i=l.next;l.next=o,r.next=i}n.pending=r}Ln=null}return e}function Rp(e,t){do{var n=Te;try{if(Ba(),dl.current=zl,Il){for(var r=me.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Il=!1}if($n=0,Ae=Ne=me=null,qr=!1,_o=0,es.current=null,n===null||n.return===null){Le=1,Eo=t,Te=null;break}e:{var l=e,i=n.return,u=n,a=t;if(t=Ue,u.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var s=a,p=u,d=p.tag;if(!(p.mode&1)&&(d===0||d===11||d===15)){var v=p.alternate;v?(p.updateQueue=v.updateQueue,p.memoizedState=v.memoizedState,p.lanes=v.lanes):(p.updateQueue=null,p.memoizedState=null)}var g=Lc(i);if(g!==null){g.flags&=-257,xc(g,i,u,l,t),g.mode&1&&Nc(l,s,t),t=g,a=s;var S=t.updateQueue;if(S===null){var w=new Set;w.add(a),t.updateQueue=w}else S.add(a);break e}else{if(!(t&1)){Nc(l,s,t),ls();break e}a=Error(C(426))}}else if(pe&&u.mode&1){var N=Lc(i);if(N!==null){!(N.flags&65536)&&(N.flags|=256),xc(N,i,u,l,t),Oa(wr(a,u));break e}}l=a=wr(a,u),Le!==4&&(Le=2),to===null?to=[l]:to.push(l),l=i;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t;var c=lp(l,a,t);wc(l,c);break e;case 1:u=a;var f=l.type,h=l.stateNode;if(!(l.flags&128)&&(typeof f.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(pn===null||!pn.has(h)))){l.flags|=65536,t&=-t,l.lanes|=t;var _=ip(l,u,t);wc(l,_);break e}}l=l.return}while(l!==null)}Tp(n)}catch(E){t=E,Te===n&&n!==null&&(Te=n=n.return);continue}break}while(1)}function Ep(){var e=Ol.current;return Ol.current=zl,e===null?zl:e}function ls(){(Le===0||Le===3||Le===2)&&(Le=4),Pe===null||!(Un&268435455)&&!(ai&268435455)||nn(Pe,Ue)}function jl(e,t){var n=re;re|=2;var r=Ep();(Pe!==e||Ue!==t)&&(Ft=null,An(e,t));do try{A0();break}catch(o){Rp(e,o)}while(1);if(Ba(),re=n,Ol.current=r,Te!==null)throw Error(C(261));return Pe=null,Ue=0,Le}function A0(){for(;Te!==null;)kp(Te)}function P0(){for(;Te!==null&&!nm();)kp(Te)}function kp(e){var t=Np(e.alternate,e,lt);e.memoizedProps=e.pendingProps,t===null?Tp(e):Te=t,es.current=null}function Tp(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=k0(n,t),n!==null){n.flags&=32767,Te=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Le=6,Te=null;return}}else if(n=E0(n,t,lt),n!==null){Te=n;return}if(t=t.sibling,t!==null){Te=t;return}Te=t=e}while(t!==null);Le===0&&(Le=5)}function Tn(e,t,n){var r=ie,o=mt.transition;try{mt.transition=null,ie=1,V0(e,t,n,r)}finally{mt.transition=o,ie=r}return null}function V0(e,t,n,r){do pr();while(on!==null);if(re&6)throw Error(C(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(C(177));e.callbackNode=null,e.callbackPriority=0;var l=n.lanes|n.childLanes;if(dm(e,l),e===Pe&&(Te=Pe=null,Ue=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||tl||(tl=!0,Lp(El,function(){return pr(),null})),l=(n.flags&15990)!==0,n.subtreeFlags&15990||l){l=mt.transition,mt.transition=null;var i=ie;ie=1;var u=re;re|=4,es.current=null,C0(e,n),Sp(n,e),Jm(Uu),Tl=!!$u,Uu=$u=null,e.current=n,N0(n),rm(),re=u,ie=i,mt.transition=l}else e.current=n;if(tl&&(tl=!1,on=e,Bl=o),l=e.pendingLanes,l===0&&(pn=null),im(n.stateNode),et(e,ke()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Fl)throw Fl=!1,e=ta,ta=null,e;return Bl&1&&e.tag!==0&&pr(),l=e.pendingLanes,l&1?e===na?no++:(no=0,na=e):no=0,wn(),null}function pr(){if(on!==null){var e=ld(Bl),t=mt.transition,n=ie;try{if(mt.transition=null,ie=16>e?16:e,on===null)var r=!1;else{if(e=on,on=null,Bl=0,re&6)throw Error(C(331));var o=re;for(re|=4,I=e.current;I!==null;){var l=I,i=l.child;if(I.flags&16){var u=l.deletions;if(u!==null){for(var a=0;a<u.length;a++){var s=u[a];for(I=s;I!==null;){var p=I;switch(p.tag){case 0:case 11:case 15:eo(8,p,l)}var d=p.child;if(d!==null)d.return=p,I=d;else for(;I!==null;){p=I;var v=p.sibling,g=p.return;if(mp(p),p===s){I=null;break}if(v!==null){v.return=g,I=v;break}I=g}}}var S=l.alternate;if(S!==null){var w=S.child;if(w!==null){S.child=null;do{var N=w.sibling;w.sibling=null,w=N}while(w!==null)}}I=l}}if(l.subtreeFlags&2064&&i!==null)i.return=l,I=i;else e:for(;I!==null;){if(l=I,l.flags&2048)switch(l.tag){case 0:case 11:case 15:eo(9,l,l.return)}var c=l.sibling;if(c!==null){c.return=l.return,I=c;break e}I=l.return}}var f=e.current;for(I=f;I!==null;){i=I;var h=i.child;if(i.subtreeFlags&2064&&h!==null)h.return=i,I=h;else e:for(i=f;I!==null;){if(u=I,u.flags&2048)try{switch(u.tag){case 0:case 11:case 15:ui(9,u)}}catch(E){_e(u,u.return,E)}if(u===i){I=null;break e}var _=u.sibling;if(_!==null){_.return=u.return,I=_;break e}I=u.return}}if(re=o,wn(),Dt&&typeof Dt.onPostCommitFiberRoot=="function")try{Dt.onPostCommitFiberRoot(ql,e)}catch(E){}r=!0}return r}finally{ie=n,mt.transition=t}}return!1}function jc(e,t,n){t=wr(n,t),t=lp(e,t,1),e=dn(e,t,1),t=He(),e!==null&&(Lo(e,1,t),et(e,t))}function _e(e,t,n){if(e.tag===3)jc(e,e,n);else for(;t!==null;){if(t.tag===3){jc(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(pn===null||!pn.has(r))){e=wr(n,e),e=ip(t,e,1),t=dn(t,e,1),e=He(),t!==null&&(Lo(t,1,e),et(t,e));break}}t=t.return}}function M0(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=He(),e.pingedLanes|=e.suspendedLanes&n,Pe===e&&(Ue&n)===n&&(Le===4||Le===3&&(Ue&130023424)===Ue&&500>ke()-ns?An(e,0):ts|=n),et(e,t)}function Cp(e,t){t===0&&(e.mode&1?(t=Ko,Ko<<=1,!(Ko&130023424)&&(Ko=4194304)):t=1);var n=He();e=bt(e,t),e!==null&&(Lo(e,t,n),et(e,n))}function $0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Cp(e,n)}function U0(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(C(314))}r!==null&&r.delete(t),Cp(e,n)}var Np;Np=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Je.current)Xe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Xe=!1,R0(e,t,n);Xe=!!(e.flags&131072)}else Xe=!1,pe&&t.flags&1048576&&Pd(t,Vl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;hl(e,t),e=t.pendingProps;var o=yr(t,je.current);dr(t,n),o=Za(null,t,r,e,o,n);var l=Ya();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,qe(r)?(l=!0,Al(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Ha(t),o.updater=ii,t.stateNode=o,o._reactInternals=t,Hu(t,r,e,n),t=bu(null,t,r,!0,l,n)):(t.tag=0,pe&&l&&Ia(t),We(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(hl(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=I0(r),e=kt(r,e),o){case 0:t=Qu(null,t,r,e,n);break e;case 1:t=Vc(null,t,r,e,n);break e;case 11:t=Ac(null,t,r,e,n);break e;case 14:t=Pc(null,t,r,kt(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:kt(r,o),Qu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:kt(r,o),Vc(e,t,r,o,n);case 3:e:{if(cp(t),e===null)throw Error(C(387));r=t.pendingProps,l=t.memoizedState,o=l.element,Id(e,t),Ul(t,r,null,n);var i=t.memoizedState;if(r=i.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){o=wr(Error(C(423)),t),t=Mc(e,t,r,n,o);break e}else if(r!==o){o=wr(Error(C(424)),t),t=Mc(e,t,r,n,o);break e}else for(ut=fn(t.stateNode.containerInfo.firstChild),at=t,pe=!0,Ct=null,n=Ud(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(gr(),r===o){t=Gt(e,t,n);break e}We(e,t,r,n)}t=t.child}return t;case 5:return zd(t),e===null&&Bu(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,Du(r,o)?i=null:l!==null&&Du(r,l)&&(t.flags|=32),sp(e,t),We(e,t,i,n),t.child;case 6:return e===null&&Bu(t),null;case 13:return fp(e,t,n);case 4:return Ka(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Sr(t,null,r,n):We(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:kt(r,o),Ac(e,t,r,o,n);case 7:return We(e,t,t.pendingProps,n),t.child;case 8:return We(e,t,t.pendingProps.children,n),t.child;case 12:return We(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value,se(Ml,r._currentValue),r._currentValue=i,l!==null)if(xt(l.value,i)){if(l.children===o.children&&!Je.current){t=Gt(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var u=l.dependencies;if(u!==null){i=l.child;for(var a=u.firstContext;a!==null;){if(a.context===r){if(l.tag===1){a=Ht(-1,n&-n),a.tag=2;var s=l.updateQueue;if(s!==null){s=s.shared;var p=s.pending;p===null?a.next=a:(a.next=p.next,p.next=a),s.pending=a}}l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),ju(l.return,n,t),u.lanes|=n;break}a=a.next}}else if(l.tag===10)i=l.type===t.type?null:l.child;else if(l.tag===18){if(i=l.return,i===null)throw Error(C(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),ju(i,n,t),i=l.sibling}else i=l.child;if(i!==null)i.return=l;else for(i=l;i!==null;){if(i===t){i=null;break}if(l=i.sibling,l!==null){l.return=i.return,i=l;break}i=i.return}l=i}We(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,dr(t,n),o=yt(o),r=r(o),t.flags|=1,We(e,t,r,n),t.child;case 14:return r=t.type,o=kt(r,t.pendingProps),o=kt(r.type,o),Pc(e,t,r,o,n);case 15:return up(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:kt(r,o),hl(e,t),t.tag=1,qe(r)?(e=!0,Al(t)):e=!1,dr(t,n),op(t,r,o),Hu(t,r,o,n),bu(null,t,r,!0,e,n);case 19:return dp(e,t,n);case 22:return ap(e,t,n)}throw Error(C(156,t.tag))};function Lp(e,t){return td(e,t)}function D0(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 vt(e,t,n,r){return new D0(e,t,n,r)}function is(e){return e=e.prototype,!(!e||!e.isReactComponent)}function I0(e){if(typeof e=="function")return is(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ta)return 11;if(e===Ca)return 14}return 2}function vn(e,t){var n=e.alternate;return n===null?(n=vt(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 yl(e,t,n,r,o,l){var i=2;if(r=e,typeof e=="function")is(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Xn:return Pn(n.children,o,l,t);case ka:i=8,o|=8;break;case hu:return e=vt(12,n,t,o|2),e.elementType=hu,e.lanes=l,e;case vu:return e=vt(13,n,t,o),e.elementType=vu,e.lanes=l,e;case mu:return e=vt(19,n,t,o),e.elementType=mu,e.lanes=l,e;case zf:return si(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Df:i=10;break e;case If:i=9;break e;case Ta:i=11;break e;case Ca:i=14;break e;case qt:i=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=vt(i,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function Pn(e,t,n,r){return e=vt(7,e,r,t),e.lanes=n,e}function si(e,t,n,r){return e=vt(22,e,r,t),e.elementType=zf,e.lanes=n,e.stateNode={isHidden:!1},e}function ou(e,t,n){return e=vt(6,e,null,t),e.lanes=n,e}function lu(e,t,n){return t=vt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function z0(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=Oi(0),this.expirationTimes=Oi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Oi(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function us(e,t,n,r,o,l,i,u,a){return e=new z0(e,t,n,u,a),t===1?(t=1,l===!0&&(t|=8)):t=0,l=vt(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ha(l),e}function O0(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Yn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function xp(e){if(!e)return gn;e=e._reactInternals;e:{if(Fn(e)!==e||e.tag!==1)throw Error(C(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(qe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(C(171))}if(e.tag===1){var n=e.type;if(qe(n))return xd(e,n,t)}return t}function Ap(e,t,n,r,o,l,i,u,a){return e=us(n,r,!0,e,o,l,i,u,a),e.context=xp(null),n=e.current,r=He(),o=hn(n),l=Ht(r,o),l.callback=t!=null?t:null,dn(n,l,o),e.current.lanes=o,Lo(e,o,r),et(e,r),e}function ci(e,t,n,r){var o=t.current,l=He(),i=hn(o);return n=xp(n),t.context===null?t.context=n:t.pendingContext=n,t=Ht(l,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=dn(o,t,i),e!==null&&(Lt(e,o,i,l),fl(e,o,i)),i}function Wl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Wc(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function as(e,t){Wc(e,t),(e=e.alternate)&&Wc(e,t)}function F0(){return null}var Pp=typeof reportError=="function"?reportError:function(e){console.error(e)};function ss(e){this._internalRoot=e}fi.prototype.render=ss.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(C(409));ci(e,t,null,null)};fi.prototype.unmount=ss.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Dn(function(){ci(null,e,null,null)}),t[Qt]=null}};function fi(e){this._internalRoot=e}fi.prototype.unstable_scheduleHydration=function(e){if(e){var t=ad();e={blockedOn:null,target:e,priority:t};for(var n=0;n<tn.length&&t!==0&&t<tn[n].priority;n++);tn.splice(n,0,e),n===0&&cd(e)}};function cs(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function di(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Hc(){}function B0(e,t,n,r,o){if(o){if(typeof r=="function"){var l=r;r=function(){var s=Wl(i);l.call(s)}}var i=Ap(t,r,e,0,null,!1,!1,"",Hc);return e._reactRootContainer=i,e[Qt]=i.current,vo(e.nodeType===8?e.parentNode:e),Dn(),i}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var u=r;r=function(){var s=Wl(a);u.call(s)}}var a=us(e,0,!1,null,null,!1,!1,"",Hc);return e._reactRootContainer=a,e[Qt]=a.current,vo(e.nodeType===8?e.parentNode:e),Dn(function(){ci(t,a,n,r)}),a}function pi(e,t,n,r,o){var l=n._reactRootContainer;if(l){var i=l;if(typeof o=="function"){var u=o;o=function(){var a=Wl(i);u.call(a)}}ci(t,i,e,o)}else i=B0(n,t,e,o,r);return Wl(i)}id=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Qr(t.pendingLanes);n!==0&&(xa(t,n|1),et(t,ke()),!(re&6)&&(Rr=ke()+500,wn()))}break;case 13:Dn(function(){var r=bt(e,1);if(r!==null){var o=He();Lt(r,e,1,o)}}),as(e,1)}};Aa=function(e){if(e.tag===13){var t=bt(e,134217728);if(t!==null){var n=He();Lt(t,e,134217728,n)}as(e,134217728)}};ud=function(e){if(e.tag===13){var t=hn(e),n=bt(e,t);if(n!==null){var r=He();Lt(n,e,t,r)}as(e,t)}};ad=function(){return ie};sd=function(e,t){var n=ie;try{return ie=e,t()}finally{ie=n}};Cu=function(e,t,n){switch(t){case"input":if(Su(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ri(r);if(!o)throw Error(C(90));Ff(r),Su(r,o)}}}break;case"textarea":jf(e,n);break;case"select":t=n.value,t!=null&&ar(e,!!n.multiple,t,!1)}};Zf=rs;Yf=Dn;var j0={usingClientEntryPoint:!1,Events:[Ao,tr,ri,bf,Gf,rs]},Ir={findFiberByHostInstance:Nn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},W0={bundleType:Ir.bundleType,version:Ir.version,rendererPackageName:Ir.rendererPackageName,rendererConfig:Ir.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Zt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=qf(e),e===null?null:e.stateNode},findFiberByHostInstance:Ir.findFiberByHostInstance||F0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var nl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nl.isDisabled&&nl.supportsFiber)try{ql=nl.inject(W0),Dt=nl}catch(e){}}ct.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=j0;ct.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!cs(t))throw Error(C(200));return O0(e,t,null,n)};ct.createRoot=function(e,t){if(!cs(e))throw Error(C(299));var n=!1,r="",o=Pp;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=us(e,1,!1,null,null,n,!1,r,o),e[Qt]=t.current,vo(e.nodeType===8?e.parentNode:e),new ss(t)};ct.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(C(188)):(e=Object.keys(e).join(","),Error(C(268,e)));return e=qf(t),e=e===null?null:e.stateNode,e};ct.flushSync=function(e){return Dn(e)};ct.hydrate=function(e,t,n){if(!di(t))throw Error(C(200));return pi(null,e,t,!0,n)};ct.hydrateRoot=function(e,t,n){if(!cs(e))throw Error(C(405));var r=n!=null&&n.hydratedSources||null,o=!1,l="",i=Pp;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=Ap(t,null,e,1,n!=null?n:null,o,!1,l,i),e[Qt]=t.current,vo(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new fi(t)};ct.render=function(e,t,n){if(!di(t))throw Error(C(200));return pi(null,e,t,!1,n)};ct.unmountComponentAtNode=function(e){if(!di(e))throw Error(C(40));return e._reactRootContainer?(Dn(function(){pi(null,null,e,!1,function(){e._reactRootContainer=null,e[Qt]=null})}),!0):!1};ct.unstable_batchedUpdates=rs;ct.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!di(n))throw Error(C(200));if(e==null||e._reactInternals===void 0)throw Error(C(38));return pi(e,t,n,!1,r)};ct.version="18.3.1-next-f1338f8080-20240426";function Vp(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Vp)}catch(e){console.error(e)}}Vp(),Vf.exports=ct;var Mp=Vf.exports,H0=_f(Mp),Kc=Mp;du.createRoot=Kc.createRoot,du.hydrateRoot=Kc.hydrateRoot;/**
* @remix-run/router v1.23.0
*
* 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 ko(){return ko=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ko.apply(this,arguments)}var ln;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(ln||(ln={}));const Qc="popstate";function K0(e){e===void 0&&(e={});function t(o,l){let{pathname:i="/",search:u="",hash:a=""}=Bn(o.location.hash.substr(1));return!i.startsWith("/")&&!i.startsWith(".")&&(i="/"+i),la("",{pathname:i,search:u,hash:a},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function n(o,l){let i=o.document.querySelector("base"),u="";if(i&&i.getAttribute("href")){let a=o.location.href,s=a.indexOf("#");u=s===-1?a:a.slice(0,s)}return u+"#"+(typeof l=="string"?l:Hl(l))}function r(o,l){fs(o.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(l)+")")}return b0(t,n,r,e)}function Ce(e,t){if(e===!1||e===null||typeof e=="undefined")throw new Error(t)}function fs(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch(n){}}}function Q0(){return Math.random().toString(36).substr(2,8)}function bc(e,t){return{usr:e.state,key:e.key,idx:t}}function la(e,t,n,r){return n===void 0&&(n=null),ko({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Bn(t):t,{state:n,key:t&&t.key||r||Q0()})}function Hl(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 Bn(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 b0(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:l=!1}=r,i=o.history,u=ln.Pop,a=null,s=p();s==null&&(s=0,i.replaceState(ko({},i.state,{idx:s}),""));function p(){return(i.state||{idx:null}).idx}function d(){u=ln.Pop;let N=p(),c=N==null?null:N-s;s=N,a&&a({action:u,location:w.location,delta:c})}function v(N,c){u=ln.Push;let f=la(w.location,N,c);n&&n(f,N),s=p()+1;let h=bc(f,s),_=w.createHref(f);try{i.pushState(h,"",_)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;o.location.assign(_)}l&&a&&a({action:u,location:w.location,delta:1})}function g(N,c){u=ln.Replace;let f=la(w.location,N,c);n&&n(f,N),s=p();let h=bc(f,s),_=w.createHref(f);i.replaceState(h,"",_),l&&a&&a({action:u,location:w.location,delta:0})}function S(N){let c=o.location.origin!=="null"?o.location.origin:o.location.href,f=typeof N=="string"?N:Hl(N);return f=f.replace(/ $/,"%20"),Ce(c,"No window.location.(origin|href) available to create URL for href: "+f),new URL(f,c)}let w={get action(){return u},get location(){return e(o,i)},listen(N){if(a)throw new Error("A history only accepts one active listener");return o.addEventListener(Qc,d),a=N,()=>{o.removeEventListener(Qc,d),a=null}},createHref(N){return t(o,N)},createURL:S,encodeLocation(N){let c=S(N);return{pathname:c.pathname,search:c.search,hash:c.hash}},push:v,replace:g,go(N){return i.go(N)}};return w}var Gc;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Gc||(Gc={}));function G0(e,t,n){return n===void 0&&(n="/"),Z0(e,t,n,!1)}function Z0(e,t,n,r){let o=typeof t=="string"?Bn(t):t,l=ds(o.pathname||"/",n);if(l==null)return null;let i=$p(e);Y0(i);let u=null;for(let a=0;u==null&&a<i.length;++a){let s=uy(l);u=ly(i[a],s,r)}return u}function $p(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(l,i,u)=>{let a={relativePath:u===void 0?l.path||"":u,caseSensitive:l.caseSensitive===!0,childrenIndex:i,route:l};a.relativePath.startsWith("/")&&(Ce(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let s=mn([r,a.relativePath]),p=n.concat(a);l.children&&l.children.length>0&&(Ce(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),$p(l.children,t,p,s)),!(l.path==null&&!l.index)&&t.push({path:s,score:ry(s,l.index),routesMeta:p})};return e.forEach((l,i)=>{var u;if(l.path===""||!((u=l.path)!=null&&u.includes("?")))o(l,i);else for(let a of Up(l.path))o(l,i,a)}),t}function Up(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),l=n.replace(/\?$/,"");if(r.length===0)return o?[l,""]:[l];let i=Up(r.join("/")),u=[];return u.push(...i.map(a=>a===""?l:[l,a].join("/"))),o&&u.push(...i),u.map(a=>e.startsWith("/")&&a===""?"/":a)}function Y0(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:oy(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const X0=/^:[\w-]+$/,J0=3,q0=2,ey=1,ty=10,ny=-2,Zc=e=>e==="*";function ry(e,t){let n=e.split("/"),r=n.length;return n.some(Zc)&&(r+=ny),t&&(r+=q0),n.filter(o=>!Zc(o)).reduce((o,l)=>o+(X0.test(l)?J0:l===""?ey:ty),r)}function oy(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 ly(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,o={},l="/",i=[];for(let u=0;u<r.length;++u){let a=r[u],s=u===r.length-1,p=l==="/"?t:t.slice(l.length)||"/",d=Yc({path:a.relativePath,caseSensitive:a.caseSensitive,end:s},p),v=a.route;if(!d&&s&&n&&!r[r.length-1].route.index&&(d=Yc({path:a.relativePath,caseSensitive:a.caseSensitive,end:!1},p)),!d)return null;Object.assign(o,d.params),i.push({params:o,pathname:mn([l,d.pathname]),pathnameBase:fy(mn([l,d.pathnameBase])),route:v}),d.pathnameBase!=="/"&&(l=mn([l,d.pathnameBase]))}return i}function Yc(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=iy(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let l=o[0],i=l.replace(/(.)\/+$/,"$1"),u=o.slice(1);return{params:r.reduce((s,p,d)=>{let{paramName:v,isOptional:g}=p;if(v==="*"){let w=u[d]||"";i=l.slice(0,l.length-w.length).replace(/(.)\/+$/,"$1")}const S=u[d];return g&&!S?s[v]=void 0:s[v]=(S||"").replace(/%2F/g,"/"),s},{}),pathname:l,pathnameBase:i,pattern:e}}function iy(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),fs(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,(i,u,a)=>(r.push({paramName:u,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function uy(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return fs(!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 ds(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 ay(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Bn(e):e;return{pathname:n?n.startsWith("/")?n:sy(n,t):t,search:dy(r),hash:py(o)}}function sy(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 iu(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 <Link to="..."> and the router will parse it for you.'}function cy(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Dp(e,t){let n=cy(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Ip(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Bn(e):(o=ko({},e),Ce(!o.pathname||!o.pathname.includes("?"),iu("?","pathname","search",o)),Ce(!o.pathname||!o.pathname.includes("#"),iu("#","pathname","hash",o)),Ce(!o.search||!o.search.includes("#"),iu("#","search","hash",o)));let l=e===""||o.pathname==="",i=l?"/":o.pathname,u;if(i==null)u=n;else{let d=t.length-1;if(!r&&i.startsWith("..")){let v=i.split("/");for(;v[0]==="..";)v.shift(),d-=1;o.pathname=v.join("/")}u=d>=0?t[d]:"/"}let a=ay(o,u),s=i&&i!=="/"&&i.endsWith("/"),p=(l||i===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(s||p)&&(a.pathname+="/"),a}const mn=e=>e.join("/").replace(/\/\/+/g,"/"),fy=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),dy=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,py=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function hy(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const zp=["post","put","patch","delete"];new Set(zp);const vy=["get",...zp];new Set(vy);/**
* React Router v6.30.0
*
* 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 To(){return To=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},To.apply(this,arguments)}const ps=U.createContext(null),my=U.createContext(null),jn=U.createContext(null),hi=U.createContext(null),Rn=U.createContext({outlet:null,matches:[],isDataRoute:!1}),Op=U.createContext(null);function yy(e,t){let{relative:n}=t===void 0?{}:t;Vo()||Ce(!1);let{basename:r,navigator:o}=U.useContext(jn),{hash:l,pathname:i,search:u}=Bp(e,{relative:n}),a=i;return r!=="/"&&(a=i==="/"?r:mn([r,i])),o.createHref({pathname:a,search:u,hash:l})}function Vo(){return U.useContext(hi)!=null}function vi(){return Vo()||Ce(!1),U.useContext(hi).location}function Fp(e){U.useContext(jn).static||U.useLayoutEffect(e)}function gy(){let{isDataRoute:e}=U.useContext(Rn);return e?Py():Sy()}function Sy(){Vo()||Ce(!1);let e=U.useContext(ps),{basename:t,future:n,navigator:r}=U.useContext(jn),{matches:o}=U.useContext(Rn),{pathname:l}=vi(),i=JSON.stringify(Dp(o,n.v7_relativeSplatPath)),u=U.useRef(!1);return Fp(()=>{u.current=!0}),U.useCallback(function(s,p){if(p===void 0&&(p={}),!u.current)return;if(typeof s=="number"){r.go(s);return}let d=Ip(s,JSON.parse(i),l,p.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:mn([t,d.pathname])),(p.replace?r.replace:r.push)(d,p.state,p)},[t,r,i,l,e])}function rk(){let{matches:e}=U.useContext(Rn),t=e[e.length-1];return t?t.params:{}}function Bp(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=U.useContext(jn),{matches:o}=U.useContext(Rn),{pathname:l}=vi(),i=JSON.stringify(Dp(o,r.v7_relativeSplatPath));return U.useMemo(()=>Ip(e,JSON.parse(i),l,n==="path"),[e,i,l,n])}function _y(e,t){return wy(e,t)}function wy(e,t,n,r){Vo()||Ce(!1);let{navigator:o,static:l}=U.useContext(jn),{matches:i}=U.useContext(Rn),u=i[i.length-1],a=u?u.params:{};u&&u.pathname;let s=u?u.pathnameBase:"/";u&&u.route;let p=vi(),d;if(t){var v;let c=typeof t=="string"?Bn(t):t;s==="/"||(v=c.pathname)!=null&&v.startsWith(s)||Ce(!1),d=c}else d=p;let g=d.pathname||"/",S=g;if(s!=="/"){let c=s.replace(/^\//,"").split("/");S="/"+g.replace(/^\//,"").split("/").slice(c.length).join("/")}let w=!l&&n&&n.matches&&n.matches.length>0?n.matches:G0(e,{pathname:S}),N=Cy(w&&w.map(c=>Object.assign({},c,{params:Object.assign({},a,c.params),pathname:mn([s,o.encodeLocation?o.encodeLocation(c.pathname).pathname:c.pathname]),pathnameBase:c.pathnameBase==="/"?s:mn([s,o.encodeLocation?o.encodeLocation(c.pathnameBase).pathname:c.pathnameBase])})),i,n,r);return t&&N?U.createElement(hi.Provider,{value:{location:To({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:ln.Pop}},N):N}function Ry(){let e=Ay(),t=hy(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)"},l=null;return U.createElement(U.Fragment,null,U.createElement("h2",null,"Unexpected Application Error!"),U.createElement("h3",{style:{fontStyle:"italic"}},t),n?U.createElement("pre",{style:o},n):null,l)}const Ey=U.createElement(Ry,null);class ky extends U.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?U.createElement(Rn.Provider,{value:this.props.routeContext},U.createElement(Op.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ty(e){let{routeContext:t,match:n,children:r}=e,o=U.useContext(ps);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),U.createElement(Rn.Provider,{value:t},r)}function Cy(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var l;if(!n)return null;if(n.errors)e=n.matches;else if((l=r)!=null&&l.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,u=(o=n)==null?void 0:o.errors;if(u!=null){let p=i.findIndex(d=>d.route.id&&(u==null?void 0:u[d.route.id])!==void 0);p>=0||Ce(!1),i=i.slice(0,Math.min(i.length,p+1))}let a=!1,s=-1;if(n&&r&&r.v7_partialHydration)for(let p=0;p<i.length;p++){let d=i[p];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(s=p),d.route.id){let{loaderData:v,errors:g}=n,S=d.route.loader&&v[d.route.id]===void 0&&(!g||g[d.route.id]===void 0);if(d.route.lazy||S){a=!0,s>=0?i=i.slice(0,s+1):i=[i[0]];break}}}return i.reduceRight((p,d,v)=>{let g,S=!1,w=null,N=null;n&&(g=u&&d.route.id?u[d.route.id]:void 0,w=d.route.errorElement||Ey,a&&(s<0&&v===0?(Vy("route-fallback",!1),S=!0,N=null):s===v&&(S=!0,N=d.route.hydrateFallbackElement||null)));let c=t.concat(i.slice(0,v+1)),f=()=>{let h;return g?h=w:S?h=N:d.route.Component?h=U.createElement(d.route.Component,null):d.route.element?h=d.route.element:h=p,U.createElement(Ty,{match:d,routeContext:{outlet:p,matches:c,isDataRoute:n!=null},children:h})};return n&&(d.route.ErrorBoundary||d.route.errorElement||v===0)?U.createElement(ky,{location:n.location,revalidation:n.revalidation,component:w,error:g,children:f(),routeContext:{outlet:null,matches:c,isDataRoute:!0}}):f()},null)}var jp=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(jp||{}),Kl=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}(Kl||{});function Ny(e){let t=U.useContext(ps);return t||Ce(!1),t}function Ly(e){let t=U.useContext(my);return t||Ce(!1),t}function xy(e){let t=U.useContext(Rn);return t||Ce(!1),t}function Wp(e){let t=xy(),n=t.matches[t.matches.length-1];return n.route.id||Ce(!1),n.route.id}function Ay(){var e;let t=U.useContext(Op),n=Ly(Kl.UseRouteError),r=Wp(Kl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Py(){let{router:e}=Ny(jp.UseNavigateStable),t=Wp(Kl.UseNavigateStable),n=U.useRef(!1);return Fp(()=>{n.current=!0}),U.useCallback(function(o,l){l===void 0&&(l={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,To({fromRouteId:t},l)))},[e,t])}const Xc={};function Vy(e,t,n){!t&&!Xc[e]&&(Xc[e]=!0)}function My(e,t){e==null||e.v7_startTransition,(e==null?void 0:e.v7_relativeSplatPath)===void 0&&(!t||t.v7_relativeSplatPath),t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation)}function $y(e){Ce(!1)}function Uy(e){let{basename:t="/",children:n=null,location:r,navigationType:o=ln.Pop,navigator:l,static:i=!1,future:u}=e;Vo()&&Ce(!1);let a=t.replace(/^\/*/,"/"),s=U.useMemo(()=>({basename:a,navigator:l,static:i,future:To({v7_relativeSplatPath:!1},u)}),[a,u,l,i]);typeof r=="string"&&(r=Bn(r));let{pathname:p="/",search:d="",hash:v="",state:g=null,key:S="default"}=r,w=U.useMemo(()=>{let N=ds(p,a);return N==null?null:{location:{pathname:N,search:d,hash:v,state:g,key:S},navigationType:o}},[a,p,d,v,g,S,o]);return w==null?null:U.createElement(jn.Provider,{value:s},U.createElement(hi.Provider,{children:n,value:w}))}function ok(e){let{children:t,location:n}=e;return _y(ia(t),n)}new Promise(()=>{});function ia(e,t){t===void 0&&(t=[]);let n=[];return U.Children.forEach(e,(r,o)=>{if(!U.isValidElement(r))return;let l=[...t,o];if(r.type===U.Fragment){n.push.apply(n,ia(r.props.children,l));return}r.type!==$y&&Ce(!1),!r.props.index||!r.props.children||Ce(!1);let i={id:r.props.id||l.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=ia(r.props.children,l)),n.push(i)}),n}/**
* React Router DOM v6.30.0
*
* 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 ua(){return ua=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ua.apply(this,arguments)}function Dy(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,l;for(l=0;l<r.length;l++)o=r[l],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function Iy(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function zy(e,t){return e.button===0&&(!t||t==="_self")&&!Iy(e)}const Oy=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Fy="6";try{window.__reactRouterVersion=Fy}catch(e){}const By="startTransition",Jc=Mv[By];function jy(e){let{basename:t,children:n,future:r,window:o}=e,l=U.useRef();l.current==null&&(l.current=K0({window:o,v5Compat:!0}));let i=l.current,[u,a]=U.useState({action:i.action,location:i.location}),{v7_startTransition:s}=r||{},p=U.useCallback(d=>{s&&Jc?Jc(()=>a(d)):a(d)},[a,s]);return U.useLayoutEffect(()=>i.listen(p),[i,p]),U.useEffect(()=>My(r),[r]),U.createElement(Uy,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i,future:r})}const Wy=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",Hy=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,lk=U.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:l,replace:i,state:u,target:a,to:s,preventScrollReset:p,viewTransition:d}=t,v=Dy(t,Oy),{basename:g}=U.useContext(jn),S,w=!1;if(typeof s=="string"&&Hy.test(s)&&(S=s,Wy))try{let h=new URL(window.location.href),_=s.startsWith("//")?new URL(h.protocol+s):new URL(s),E=ds(_.pathname,g);_.origin===h.origin&&E!=null?s=E+_.search+_.hash:w=!0}catch(h){}let N=yy(s,{relative:o}),c=Ky(s,{replace:i,state:u,target:a,preventScrollReset:p,relative:o,viewTransition:d});function f(h){r&&r(h),h.defaultPrevented||c(h)}return U.createElement("a",ua({},v,{href:S||N,onClick:w||l?r:f,ref:n,target:a}))});var qc;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(qc||(qc={}));var ef;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ef||(ef={}));function Ky(e,t){let{target:n,replace:r,state:o,preventScrollReset:l,relative:i,viewTransition:u}=t===void 0?{}:t,a=gy(),s=vi(),p=Bp(e,{relative:i});return U.useCallback(d=>{if(zy(d,n)){d.preventDefault();let v=r!==void 0?r:Hl(s)===Hl(p);a(e,{replace:v,state:o,preventScrollReset:l,relative:i,viewTransition:u})}},[s,a,p,r,o,n,e,l,i,u])}function Qy(e){const t=new Error(e);if(t.stack===void 0)try{throw t}catch(n){}return t}var by=Qy,X=by;function Gy(e){return!!e&&typeof e.then=="function"}var ve=Gy;function Zy(e,t){if(e!=null)return e;throw X(t!=null?t:"Got unexpected null or undefined")}var oe=Zy;function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class mi{getValue(){throw X("BaseLoadable")}toPromise(){throw X("BaseLoadable")}valueMaybe(){throw X("BaseLoadable")}valueOrThrow(){throw X(`Loadable expected value, but in "${this.state}" state`)}promiseMaybe(){throw X("BaseLoadable")}promiseOrThrow(){throw X(`Loadable expected promise, but in "${this.state}" state`)}errorMaybe(){throw X("BaseLoadable")}errorOrThrow(){throw X(`Loadable expected error, but in "${this.state}" state`)}is(t){return t.state===this.state&&t.contents===this.contents}map(t){throw X("BaseLoadable")}}class Yy extends mi{constructor(t){super(),G(this,"state","hasValue"),G(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 ve(n)?Er(n):Si(n)?n:yi(n)}catch(n){return ve(n)?Er(n.next(()=>this.map(t))):gi(n)}}}class Xy extends mi{constructor(t){super(),G(this,"state","hasError"),G(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 Hp extends mi{constructor(t){super(),G(this,"state","loading"),G(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 Er(this.contents.then(n=>{const r=t(n);if(Si(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(ve(n))return n.then(()=>this.map(t).contents);throw n}))}}function yi(e){return Object.freeze(new Yy(e))}function gi(e){return Object.freeze(new Xy(e))}function Er(e){return Object.freeze(new Hp(e))}function Jy(){return Object.freeze(new Hp(new Promise(()=>{})))}function qy(e){return e.every(t=>t.state==="hasValue")?yi(e.map(t=>t.contents)):e.some(t=>t.state==="hasError")?gi(oe(e.find(t=>t.state==="hasError"),"Invalid loadable passed to loadableAll").contents):Er(Promise.all(e.map(t=>t.contents)))}function Kp(e){const t=Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(r=>e[r]),n=qy(t);return Array.isArray(e)?n:n.map(r=>Object.getOwnPropertyNames(e).reduce((o,l,i)=>Ze(ze({},o),{[l]:r[i]}),{}))}function Si(e){return e instanceof mi}const eg={of:e=>ve(e)?Er(e):yi(e),error:e=>gi(e),all:Kp,isLoadable:Si};var Wn={loadableWithValue:yi,loadableWithError:gi,loadableWithPromise:Er,loadableLoading:Jy,loadableAll:Kp,isLoadable:Si,RecoilLoadable:eg},tg=Wn.loadableWithValue,ng=Wn.loadableWithError,rg=Wn.loadableWithPromise,og=Wn.loadableLoading,lg=Wn.loadableAll,ig=Wn.isLoadable,ug=Wn.RecoilLoadable,Mo=Object.freeze({__proto__:null,loadableWithValue:tg,loadableWithError:ng,loadableWithPromise:rg,loadableLoading:og,loadableAll:lg,isLoadable:ig,RecoilLoadable:ug}),uu;const Qp=(uu=we.useMutableSource)!==null&&uu!==void 0?uu:we.unstable_useMutableSource;function ag(){return Qp&&!(typeof window!="undefined"&&window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE)}var bp={mutableSourceExists:ag,useMutableSource:Qp};const{mutableSourceExists:sg}=bp,hs=new Map().set("recoil_hamt_2020",!0).set("recoil_memory_managament_2020",!0).set("recoil_suppress_rerender_in_callback",!0);function vs(e){var t;return e==="recoil_early_rendering_2021"&&!sg()?!1:(t=hs.get(e))!==null&&t!==void 0?t:!1}vs.setPass=e=>{hs.set(e,!0)};vs.setFail=e=>{hs.set(e,!1)};var ae=vs;function cg(e,t){return function*(){let n=0;for(const r of e)yield t(r,n++)}()}var Gp=cg;function fg(e,t,{error:n}={}){return null}var dg=fg,Zp=dg;class ms{constructor(t){G(this,"key",void 0),this.key=t}}class Yp extends ms{}class Xp extends ms{}function pg(e){return e instanceof Yp||e instanceof Xp}var _i={AbstractRecoilValue:ms,RecoilState:Yp,RecoilValueReadOnly:Xp,isRecoilValue:pg},hg=_i.AbstractRecoilValue,vg=_i.RecoilState,mg=_i.RecoilValueReadOnly,yg=_i.isRecoilValue,In=Object.freeze({__proto__:null,AbstractRecoilValue:hg,RecoilState:vg,RecoilValueReadOnly:mg,isRecoilValue:yg});class Jp{}const gg=new Jp;class Sg extends Error{constructor(t){super(`Tried to set the value of Recoil selector ${t} using an updater function, but it is an async selector in a pending or error state; this is not supported.`)}}const zn=new Map,ys=new Map;function _g(e){return Gp(e,t=>oe(ys.get(t)))}function wg(e){if(zn.has(e.key)){const n=`Duplicate atom key "${e.key}". 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(n)}zn.set(e.key,e);const t=e.set==null?new In.RecoilValueReadOnly(e.key):new In.RecoilState(e.key);return ys.set(e.key,t),t}class qp extends Error{}function Rg(e){const t=zn.get(e);if(t==null)throw new qp(`Missing definition for RecoilValue: "${e}""`);return t}function Eg(e){return zn.get(e)}const Ql=new Map;function kg(e){var t;if(!ae("recoil_memory_managament_2020"))return;const n=zn.get(e);if(!(n==null||(t=n.shouldDeleteConfigOnRelease)===null||t===void 0)&&t.call(n)){var r;zn.delete(e),(r=eh(e))===null||r===void 0||r(),Ql.delete(e)}}function Tg(e,t){ae("recoil_memory_managament_2020")&&(t===void 0?Ql.delete(e):Ql.set(e,t))}function eh(e){return Ql.get(e)}var be={nodes:zn,recoilValues:ys,registerNode:wg,getNode:Rg,getNodeMaybe:Eg,deleteNodeConfigIfPossible:kg,setConfigDeletionHandler:Tg,getConfigDeletionHandler:eh,recoilValuesForKeys:_g,NodeMissingError:qp,DefaultValue:Jp,DEFAULT_VALUE:gg,RecoilValueNotReady:Sg};function Cg(e,t){t()}var Ng={enqueueExecution:Cg};function Lg(e,t){return t={exports:{}},e(t,t.exports),t.exports}var xg=Lg(function(e){var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},n={},r=5,o=Math.pow(2,r),l=o-1,i=o/2,u=o/4,a={},s=function(m){return function(){return m}},p=n.hash=function(y){var m=typeof y=="undefined"?"undefined":t(y);if(m==="number")return y;m!=="string"&&(y+="");for(var T=0,M=0,$=y.length;M<$;++M){var z=y.charCodeAt(M);T=(T<<5)-T+z|0}return T},d=function(m){return m-=m>>1&1431655765,m=(m&858993459)+(m>>2&858993459),m=m+(m>>4)&252645135,m+=m>>8,m+=m>>16,m&127},v=function(m,T){return T>>>m&l},g=function(m){return 1<<m},S=function(m,T){return d(m&T-1)},w=function(m,T,M,$){var z=$;if(!m){var Q=$.length;z=new Array(Q);for(var H=0;H<Q;++H)z[H]=$[H]}return z[T]=M,z},N=function(m,T,M){var $=M.length-1,z=0,Q=0,H=M;if(m)z=Q=T;else for(H=new Array($);z<T;)H[Q++]=M[z++];for(++z;z<=$;)H[Q++]=M[z++];return m&&(H.length=$),H},c=function(m,T,M,$){var z=$.length;if(m){for(var Q=z;Q>=T;)$[Q--]=$[Q];return $[T]=M,$}for(var H=0,K=0,Z=new Array(z+1);H<T;)Z[K++]=$[H++];for(Z[T]=M;H<z;)Z[++K]=$[H++];return Z},f=1,h=2,_=3,E=4,L={__hamt_isEmpty:!0},V=function(m){return m===L||m&&m.__hamt_isEmpty},D=function(m,T,M,$){return{type:f,edit:m,hash:T,key:M,value:$,_modify:k}},q=function(m,T,M){return{type:h,edit:m,hash:T,children:M,_modify:O}},B=function(m,T,M){return{type:_,edit:m,mask:T,children:M,_modify:W}},le=function(m,T,M){return{type:E,edit:m,size:T,children:M,_modify:ne}},tt=function(m){return m===L||m.type===f||m.type===h},nt=function(m,T,M,$,z){for(var Q=[],H=$,K=0,Z=0;H;++Z)H&1&&(Q[Z]=z[K++]),H>>>=1;return Q[T]=M,le(m,K+1,Q)},zt=function(m,T,M,$){for(var z=new Array(T-1),Q=0,H=0,K=0,Z=$.length;K<Z;++K)if(K!==M){var de=$[K];de&&!V(de)&&(z[Q++]=de,H|=1<<K)}return B(m,H,z)},St=function y(m,T,M,$,z,Q){if(M===z)return q(m,M,[Q,$]);var H=v(T,M),K=v(T,z);return B(m,g(H)|g(K),H===K?[y(m,T+r,M,$,z,Q)]:H<K?[$,Q]:[Q,$])},Ot=function(m,T,M,$,z,Q,H,K){for(var Z=z.length,de=0;de<Z;++de){var Ge=z[de];if(M(H,Ge.key)){var xe=Ge.value,dt=Q(xe);return dt===xe?z:dt===a?(--K.value,N(m,de,z)):w(m,de,D(T,$,H,dt),z)}}var wt=Q();return wt===a?z:(++K.value,w(m,Z,D(T,$,H,wt),z))},ee=function(m,T){return m===T.edit},k=function(m,T,M,$,z,Q,H){if(T(Q,this.key)){var K=$(this.value);return K===this.value?this:K===a?(--H.value,L):ee(m,this)?(this.value=K,this):D(m,z,Q,K)}var Z=$();return Z===a?this:(++H.value,St(m,M,this.hash,this,z,D(m,z,Q,Z)))},O=function(m,T,M,$,z,Q,H){if(z===this.hash){var K=ee(m,this),Z=Ot(K,m,T,this.hash,this.children,$,Q,H);return Z===this.children?this:Z.length>1?q(m,this.hash,Z):Z[0]}var de=$();return de===a?this:(++H.value,St(m,M,this.hash,this,z,D(m,z,Q,de)))},W=function(m,T,M,$,z,Q,H){var K=this.mask,Z=this.children,de=v(M,z),Ge=g(de),xe=S(K,Ge),dt=K&Ge,wt=dt?Z[xe]:L,bn=wt._modify(m,T,M+r,$,z,Q,H);if(wt===bn)return this;var Io=ee(m,this),Lr=K,xr=void 0;if(dt&&V(bn)){if(Lr&=~Ge,!Lr)return L;if(Z.length<=2&&tt(Z[xe^1]))return Z[xe^1];xr=N(Io,xe,Z)}else if(!dt&&!V(bn)){if(Z.length>=i)return nt(m,de,bn,K,Z);Lr|=Ge,xr=c(Io,xe,bn,Z)}else xr=w(Io,xe,bn,Z);return Io?(this.mask=Lr,this.children=xr,this):B(m,Lr,xr)},ne=function(m,T,M,$,z,Q,H){var K=this.size,Z=this.children,de=v(M,z),Ge=Z[de],xe=(Ge||L)._modify(m,T,M+r,$,z,Q,H);if(Ge===xe)return this;var dt=ee(m,this),wt=void 0;if(V(Ge)&&!V(xe))++K,wt=w(dt,de,xe,Z);else if(!V(Ge)&&V(xe)){if(--K,K<=u)return zt(m,K,de,Z);wt=w(dt,de,L,Z)}else wt=w(dt,de,xe,Z);return dt?(this.size=K,this.children=wt,this):le(m,K,wt)};L._modify=function(y,m,T,M,$,z,Q){var H=M();return H===a?L:(++Q.value,D(y,$,z,H))};function j(y,m,T,M,$){this._editable=y,this._edit=m,this._config=T,this._root=M,this._size=$}j.prototype.setTree=function(y,m){return this._editable?(this._root=y,this._size=m,this):y===this._root?this:new j(this._editable,this._edit,this._config,y,m)};var Ie=n.tryGetHash=function(y,m,T,M){for(var $=M._root,z=0,Q=M._config.keyEq;;)switch($.type){case f:return Q(T,$.key)?$.value:y;case h:{if(m===$.hash)for(var H=$.children,K=0,Z=H.length;K<Z;++K){var de=H[K];if(Q(T,de.key))return de.value}return y}case _:{var Ge=v(z,m),xe=g(Ge);if($.mask&xe){$=$.children[S($.mask,xe)],z+=r;break}return y}case E:{if($=$.children[v(z,m)],$){z+=r;break}return y}default:return y}};j.prototype.tryGetHash=function(y,m,T){return Ie(y,m,T,this)};var Ve=n.tryGet=function(y,m,T){return Ie(y,T._config.hash(m),m,T)};j.prototype.tryGet=function(y,m){return Ve(y,m,this)};var rt=n.getHash=function(y,m,T){return Ie(void 0,y,m,T)};j.prototype.getHash=function(y,m){return rt(y,m,this)},n.get=function(y,m){return Ie(void 0,m._config.hash(y),y,m)},j.prototype.get=function(y,m){return Ve(m,y,this)};var Me=n.has=function(y,m,T){return Ie(a,y,m,T)!==a};j.prototype.hasHash=function(y,m){return Me(y,m,this)};var R=n.has=function(y,m){return Me(m._config.hash(y),y,m)};j.prototype.has=function(y){return R(y,this)};var A=function(m,T){return m===T};n.make=function(y){return new j(0,0,{keyEq:y&&y.keyEq||A,hash:y&&y.hash||p},L,0)},n.empty=n.make();var x=n.isEmpty=function(y){return y&&!!V(y._root)};j.prototype.isEmpty=function(){return x(this)};var F=n.modifyHash=function(y,m,T,M){var $={value:M._size},z=M._root._modify(M._editable?M._edit:NaN,M._config.keyEq,0,y,m,T,$);return M.setTree(z,$.value)};j.prototype.modifyHash=function(y,m,T){return F(T,y,m,this)};var P=n.modify=function(y,m,T){return F(y,T._config.hash(m),m,T)};j.prototype.modify=function(y,m){return P(m,y,this)};var b=n.setHash=function(y,m,T,M){return F(s(T),y,m,M)};j.prototype.setHash=function(y,m,T){return b(y,m,T,this)};var te=n.set=function(y,m,T){return b(T._config.hash(y),y,m,T)};j.prototype.set=function(y,m){return te(y,m,this)};var ue=s(a),Re=n.removeHash=function(y,m,T){return F(ue,y,m,T)};j.prototype.removeHash=j.prototype.deleteHash=function(y,m){return Re(y,m,this)};var ge=n.remove=function(y,m){return Re(m._config.hash(y),y,m)};j.prototype.remove=j.prototype.delete=function(y){return ge(y,this)};var Se=n.beginMutation=function(y){return new j(y._editable+1,y._edit+1,y._config,y._root,y._size)};j.prototype.beginMutation=function(){return Se(this)};var Ee=n.endMutation=function(y){return y._editable=y._editable&&y._editable-1,y};j.prototype.endMutation=function(){return Ee(this)};var Nr=n.mutate=function(y,m){var T=Se(m);return y(T),Ee(T)};j.prototype.mutate=function(y){return Nr(y,this)};var At=function(m){return m&&_t(m[0],m[1],m[2],m[3],m[4])},_t=function(m,T,M,$,z){for(;M<m;){var Q=T[M++];if(Q&&!V(Q))return ot(Q,$,[m,T,M,$,z])}return At(z)},ot=function(m,T,M){switch(m.type){case f:return{value:T(m),rest:M};case h:case E:case _:var $=m.children;return _t($.length,$,0,T,M);default:return At(M)}},Do={done:!0};function Vi(y){this.v=y}Vi.prototype.next=function(){if(!this.v)return Do;var y=this.v;return this.v=At(y.rest),y},Vi.prototype[Symbol.iterator]=function(){return this};var Mi=function(m,T){return new Vi(ot(m._root,T))},nv=function(m){return[m.key,m.value]},rv=n.entries=function(y){return Mi(y,nv)};j.prototype.entries=j.prototype[Symbol.iterator]=function(){return rv(this)};var ov=function(m){return m.key},lv=n.keys=function(y){return Mi(y,ov)};j.prototype.keys=function(){return lv(this)};var iv=function(m){return m.value},uv=n.values=j.prototype.values=function(y){return Mi(y,iv)};j.prototype.values=function(){return uv(this)};var Ps=n.fold=function(y,m,T){var M=T._root;if(M.type===f)return y(m,M.value,M.key);for(var $=[M.children],z=void 0;z=$.pop();)for(var Q=0,H=z.length;Q<H;){var K=z[Q++];K&&K.type&&(K.type===f?m=y(m,K.value,K.key):$.push(K.children))}return m};j.prototype.fold=function(y,m){return Ps(y,m,this)};var av=n.forEach=function(y,m){return Ps(function(T,M,$){return y(M,$,m)},null,m)};j.prototype.forEach=function(y){return av(y,this)};var sv=n.count=function(y){return y._size};j.prototype.count=function(){return sv(this)},Object.defineProperty(j.prototype,"size",{get:j.prototype.count}),e.exports?e.exports=n:(void 0).hamt=n});class Ag{constructor(t){G(this,"_map",void 0),this._map=new Map(t==null?void 0:t.entries())}keys(){return this._map.keys()}entries(){return this._map.entries()}get(t){return this._map.get(t)}has(t){return this._map.has(t)}set(t,n){return this._map.set(t,n),this}delete(t){return this._map.delete(t),this}clone(){return Ss(this)}toMap(){return new Map(this._map)}}class gs{constructor(t){if(G(this,"_hamt",xg.empty.beginMutation()),t instanceof gs){const n=t._hamt.endMutation();t._hamt=n.beginMutation(),this._hamt=n.beginMutation()}else if(t)for(const[n,r]of t.entries())this._hamt.set(n,r)}keys(){return this._hamt.keys()}entries(){return this._hamt.entries()}get(t){return this._hamt.get(t)}has(t){return this._hamt.has(t)}set(t,n){return this._hamt.set(t,n),this}delete(t){return this._hamt.delete(t),this}clone(){return Ss(this)}toMap(){return new Map(this._hamt)}}function Ss(e){return ae("recoil_hamt_2020")?new gs(e):new Ag(e)}var Pg={persistentMap:Ss},Vg=Pg.persistentMap,Mg=Object.freeze({__proto__:null,persistentMap:Vg});function $g(e,...t){const n=new Set;e:for(const r of e){for(const o of t)if(o.has(r))continue e;n.add(r)}return n}var bl=$g;function Ug(e,t){const n=new Map;return e.forEach((r,o)=>{n.set(o,t(r,o))}),n}var Gl=Ug;function Dg(){return{nodeDeps:new Map,nodeToNodeSubscriptions:new Map}}function Ig(e){return{nodeDeps:Gl(e.nodeDeps,t=>new Set(t)),nodeToNodeSubscriptions:Gl(e.nodeToNodeSubscriptions,t=>new Set(t))}}function au(e,t,n){const{nodeDeps:r,nodeToNodeSubscriptions:o}=t;e.forEach((l,i)=>{const u=r.get(i);if(u&&n&&u!==n.nodeDeps.get(i))return;r.set(i,new Set(l)),(u==null?l:bl(l,u)).forEach(s=>{o.has(s)||o.set(s,new Set),oe(o.get(s)).add(i)}),u&&bl(u,l).forEach(p=>{if(!o.has(p))return;const d=oe(o.get(p));d.delete(i),d.size===0&&o.delete(p)})})}function zg(e,t,n){var r,o,l,i;const u=t.getState();n===u.currentTree.version||n===((r=u.nextTree)===null||r===void 0?void 0:r.version)||((o=u.previousTree)===null||o===void 0||o.version);const a=t.getGraph(n);if(au(e,a),n===((l=u.previousTree)===null||l===void 0?void 0:l.version)){const p=t.getGraph(u.currentTree.version);au(e,p,a)}if(n===((i=u.previousTree)===null||i===void 0?void 0:i.version)||n===u.currentTree.version){var s;const p=(s=u.nextTree)===null||s===void 0?void 0:s.version;if(p!==void 0){const d=t.getGraph(p);au(e,d,a)}}}function Og(e,t){e.forEach((n,r)=>{t.has(r)||t.set(r,new Set);const o=oe(t.get(r));n.forEach(l=>o.add(l))})}function Fg(e,t,n){n.has(e)||n.set(e,new Set),oe(n.get(e)).add(t)}var $o={addToDependencyMap:Fg,cloneGraph:Ig,graph:Dg,mergeDepsIntoDependencyMap:Og,saveDependencyMapToStore:zg};const{persistentMap:tf}=Mg,{graph:Bg}=$o;let jg=0;const th=()=>jg++;function nh(){const e=th();return{version:e,stateID:e,transactionMetadata:{},dirtyAtoms:new Set,atomValues:tf(),nonvalidatedAtoms:tf()}}function Wg(){const e=nh();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,Bg()),versionsUsedByComponent:new Map,retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}}var rh={makeEmptyTreeState:nh,makeEmptyStoreState:Wg,getNextTreeStateVersion:th};function Hg(...e){const t=new Set;for(const n of e)for(const r of n)t.add(r);return t}var Kg=Hg;function Qg(e,t){const n=new Set(e);return n.add(t),n}function bg(e,t){const n=new Set(e);return n.delete(t),n}function Gg(e,t,n){const r=new Map(e);return r.set(t,n),r}function Zg(e,t,n){const r=new Map(e);return r.set(t,n(r.get(t))),r}function Yg(e,t){const n=new Map(e);return n.delete(t),n}function Xg(e,t){const n=new Map(e);return t.forEach(r=>n.delete(r)),n}var oh={setByAddingToSet:Qg,setByDeletingFromSet:bg,mapBySettingInMap:Gg,mapByUpdatingInMap:Zg,mapByDeletingFromMap:Yg,mapByDeletingMultipleFromMap:Xg};function*Jg(e,t){let n=0;for(const r of e)t(r,n++)&&(yield r)}var lh=Jg;class ih{}function qg(){return new ih}var wi={RetentionZone:ih,retentionZone:qg};const{setByAddingToSet:e1}=oh,{getNode:Ri,getNodeMaybe:t1,recoilValuesForKeys:nf}=be,{RetentionZone:rf}=wi,n1=Object.freeze(new Set);class r1 extends Error{}function o1(e,t,n){if(!ae("recoil_memory_managament_2020"))return()=>{};const{nodesRetainedByZone:r}=e.getState().retention;function o(l){let i=r.get(l);i||r.set(l,i=new Set),i.add(t)}if(n instanceof rf)o(n);else if(Array.isArray(n))for(const l of n)o(l);return()=>{if(!ae("recoil_memory_managament_2020"))return;const l=e.getState().retention.nodesRetainedByZone;function i(u){const a=l.get(u);a&&a.delete(t),a&&a.size===0&&l.delete(u)}if(n instanceof rf)i(n);else if(Array.isArray(n))for(const u of n)i(u)}}function _s(e,t,n,r){const o=e.getState();if(o.nodeCleanupFunctions.has(n))return;const l=Ri(n),i=o1(e,n,l.retainedBy),u=l.init(e,t,r);o.nodeCleanupFunctions.set(n,()=>{u(),i()})}function l1(e,t){var n;const r=e.getState();(n=r.nodeCleanupFunctions.get(t))===null||n===void 0||n(),r.nodeCleanupFunctions.delete(t)}function i1(e,t,n){return _s(e,t,n,"get"),Ri(n).get(e,t)}function uh(e,t,n){return Ri(n).peek(e,t)}function u1(e,t,n){var r;const o=t1(t);return o==null||(r=o.invalidate)===null||r===void 0||r.call(o,e),Ze(ze({},e),{atomValues:e.atomValues.clone().delete(t),nonvalidatedAtoms:e.nonvalidatedAtoms.clone().set(t,n),dirtyAtoms:e1(e.dirtyAtoms,t)})}function a1(e,t,n,r){const o=Ri(n);if(o.set==null)throw new r1(`Attempt to set read-only RecoilValue: ${n}`);const l=o.set;return _s(e,t,n,"set"),l(e,t,r)}function s1(e,t,n){var r,o,l;const i=e.getState(),u=e.getGraph(t.version),a=i.knownAtoms.has(n)?"atom":i.knownSelectors.has(n)?"selector":void 0,s=lh(ah(e,t,new Set([n])),p=>p!==n);return{loadable:uh(e,t,n),isActive:i.knownAtoms.has(n)||i.knownSelectors.has(n),isSet:a==="selector"?!1:t.atomValues.has(n),isModified:t.dirtyAtoms.has(n),type:a,deps:nf((r=u.nodeDeps.get(n))!==null&&r!==void 0?r:[]),subscribers:{nodes:nf(s),components:Gp((o=(l=i.nodeToComponentSubscriptions.get(n))===null||l===void 0?void 0:l.values())!==null&&o!==void 0?o:[],([p])=>({name:p}))}}}function ah(e,t,n){const r=new Set,o=Array.from(n),l=e.getGraph(t.version);for(let u=o.pop();u;u=o.pop()){var i;r.add(u);const a=(i=l.nodeToNodeSubscriptions.get(u))!==null&&i!==void 0?i:n1;for(const s of a)r.has(s)||o.push(s)}return r}var Hn={getNodeLoadable:i1,peekNodeLoadable:uh,setNodeValue:a1,cleanUpNode:l1,setUnvalidatedAtomValue_DEPRECATED:u1,peekNodeInfo:s1,getDownstreamNodes:ah,initializeNodeIfNewToStore:_s};const{getDownstreamNodes:c1,getNodeLoadable:sh,setNodeValue:f1}=Hn,{getNodeMaybe:ch}=be,{DefaultValue:ws,RecoilValueNotReady:d1}=be,{AbstractRecoilValue:p1,RecoilState:h1,RecoilValueReadOnly:v1,isRecoilValue:m1}=In;function y1(e,{key:t},n=e.getState().currentTree){var r,o;const l=e.getState();n.version===l.currentTree.version||n.version===((r=l.nextTree)===null||r===void 0?void 0:r.version)||(n.version,(o=l.previousTree)===null||o===void 0||o.version);const i=sh(e,n,t);return i.state==="loading"&&i.contents.catch(()=>{}),i}function g1(e,t){const n=e.clone();return t.forEach((r,o)=>{r.state==="hasValue"&&r.contents instanceof ws?n.delete(o):n.set(o,r)}),n}function S1(e,t,{key:n},r){if(typeof r=="function"){const o=sh(e,t,n);if(o.state==="loading")throw new d1(n);if(o.state==="hasError")throw o.contents;return r(o.contents)}else return r}function _1(e,t,n){if(n.type==="set"){const{recoilValue:o,valueOrUpdater:l}=n,i=S1(e,t,o,l),u=f1(e,t,o.key,i);for(const[a,s]of u.entries())aa(t,a,s)}else if(n.type==="setLoadable"){const{recoilValue:{key:o},loadable:l}=n;aa(t,o,l)}else if(n.type==="markModified"){const{recoilValue:{key:o}}=n;t.dirtyAtoms.add(o)}else if(n.type==="setUnvalidated"){var r;const{recoilValue:{key:o},unvalidatedValue:l}=n,i=ch(o);i==null||(r=i.invalidate)===null||r===void 0||r.call(i,t),t.atomValues.delete(o),t.nonvalidatedAtoms.set(o,l),t.dirtyAtoms.add(o)}else Zp(`Unknown action ${n.type}`)}function aa(e,t,n){n.state==="hasValue"&&n.contents instanceof ws?e.atomValues.delete(t):e.atomValues.set(t,n),e.dirtyAtoms.add(t),e.nonvalidatedAtoms.delete(t)}function fh(e,t){e.replaceState(n=>{const r=dh(n);for(const o of t)_1(e,r,o);return sa(e,r),r})}function Ei(e,t){if(ro.length){const n=ro[ro.length-1];let r=n.get(e);r||n.set(e,r=[]),r.push(t)}else fh(e,[t])}const ro=[];function w1(){const e=new Map;return ro.push(e),()=>{for(const[t,n]of e)fh(t,n);ro.pop()}}function dh(e){return Ze(ze({},e),{atomValues:e.atomValues.clone(),nonvalidatedAtoms:e.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(e.dirtyAtoms)})}function sa(e,t){const n=c1(e,t,t.dirtyAtoms);for(const l of n){var r,o;(r=ch(l))===null||r===void 0||(o=r.invalidate)===null||o===void 0||o.call(r,t)}}function ph(e,t,n){Ei(e,{type:"set",recoilValue:t,valueOrUpdater:n})}function R1(e,t,n){if(n instanceof ws)return ph(e,t,n);Ei(e,{type:"setLoadable",recoilValue:t,loadable:n})}function E1(e,t){Ei(e,{type:"markModified",recoilValue:t})}function k1(e,t,n){Ei(e,{type:"setUnvalidated",recoilValue:t,unvalidatedValue:n})}let T1=0;function C1(e,{key:t},n,r=null){const o=T1++,l=e.getState();if(l.nodeToComponentSubscriptions.has(t)||l.nodeToComponentSubscriptions.set(t,new Map),oe(l.nodeToComponentSubscriptions.get(t)).set(o,[r!=null?r:"<not captured>",n]),ae("recoil_early_rendering_2021")){const i=e.getState().nextTree;i&&i.dirtyAtoms.has(t)&&n(i)}return{release:()=>{const i=e.getState(),u=i.nodeToComponentSubscriptions.get(t);u===void 0||!u.has(o)||(u.delete(o),u.size===0&&i.nodeToComponentSubscriptions.delete(t))}}}var Yt={RecoilValueReadOnly:v1,AbstractRecoilValue:p1,RecoilState:h1,getRecoilValueAsLoadable:y1,setRecoilValue:ph,setRecoilValueLoadable:R1,markRecoilValueModified:E1,setUnvalidatedRecoilValue:k1,subscribeToRecoilValue:C1,isRecoilValue:m1,applyAtomValueWrites:g1,batchStart:w1,writeLoadableToTreeState:aa,invalidateDownstreams:sa,copyTreeState:dh,invalidateDownstreams_FOR_TESTING:sa};function N1(e,t,n){const r=e.entries();let o=r.next();for(;!o.done;){const l=o.value;if(t.call(n,l[1],l[0],e))return!0;o=r.next()}return!1}var L1=N1;const{cleanUpNode:x1}=Hn,{deleteNodeConfigIfPossible:A1,getNode:hh}=be,{RetentionZone:vh}=wi,P1=12e4,mh=new Set;function yh(e,t){const n=e.getState(),r=n.currentTree;if(n.nextTree)return;const o=new Set;for(const i of t)if(i instanceof vh)for(const u of U1(n,i))o.add(u);else o.add(i);const l=V1(e,o);for(const i of l)$1(e,r,i)}function V1(e,t){const n=e.getState(),r=n.currentTree,o=e.getGraph(r.version),l=new Set,i=new Set;return u(t),l;function u(a){const s=new Set,p=M1(e,r,a,l,i);for(const S of p){var d;if(hh(S).retainedBy==="recoilRoot"){i.add(S);continue}if(((d=n.retention.referenceCounts.get(S))!==null&&d!==void 0?d:0)>0){i.add(S);continue}if(gh(S).some(N=>n.retention.referenceCounts.get(N))){i.add(S);continue}const w=o.nodeToNodeSubscriptions.get(S);if(w&&L1(w,N=>i.has(N))){i.add(S);continue}l.add(S),s.add(S)}const v=new Set;for(const S of s)for(const w of(g=o.nodeDeps.get(S))!==null&&g!==void 0?g:mh){var g;l.has(w)||v.add(w)}v.size&&u(v)}}function M1(e,t,n,r,o){const l=e.getGraph(t.version),i=[],u=new Set;for(;n.size>0;)a(oe(n.values().next().value));return i;function a(s){if(r.has(s)||o.has(s)){n.delete(s);return}if(u.has(s))return;const p=l.nodeToNodeSubscriptions.get(s);if(p)for(const d of p)a(d);u.add(s),n.delete(s),i.push(s)}}function $1(e,t,n){if(!ae("recoil_memory_managament_2020"))return;x1(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=gh(n);for(const a of o){var l;(l=r.retention.nodesRetainedByZone.get(a))===null||l===void 0||l.delete(n)}t.atomValues.delete(n),t.dirtyAtoms.delete(n),t.nonvalidatedAtoms.delete(n);const i=r.graphsByVersion.get(t.version);if(i){const a=i.nodeDeps.get(n);if(a!==void 0){i.nodeDeps.delete(n);for(const s of a){var u;(u=i.nodeToNodeSubscriptions.get(s))===null||u===void 0||u.delete(n)}}i.nodeToNodeSubscriptions.delete(n)}A1(n)}function U1(e,t){var n;return(n=e.retention.nodesRetainedByZone.get(t))!==null&&n!==void 0?n:mh}function gh(e){const t=hh(e).retainedBy;return t===void 0||t==="components"||t==="recoilRoot"?[]:t instanceof vh?[t]:t}function D1(e,t){const n=e.getState();n.nextTree?n.retention.retainablesToCheckForRelease.add(t):yh(e,new Set([t]))}function I1(e,t,n){var r;if(!ae("recoil_memory_managament_2020"))return;const o=e.getState().retention.referenceCounts,l=((r=o.get(t))!==null&&r!==void 0?r:0)+n;l===0?Sh(e,t):o.set(t,l)}function Sh(e,t){if(!ae("recoil_memory_managament_2020"))return;e.getState().retention.referenceCounts.delete(t),D1(e,t)}function z1(e){if(!ae("recoil_memory_managament_2020"))return;const t=e.getState();yh(e,t.retention.retainablesToCheckForRelease),t.retention.retainablesToCheckForRelease.clear()}function O1(e){return e===void 0?"recoilRoot":e}var Kn={SUSPENSE_TIMEOUT_MS:P1,updateRetainCount:I1,updateRetainCountToZero:Sh,releaseScheduledRetainablesNow:z1,retainedByOptionWithDefault:O1};function*F1(e){for(const t of e)for(const n of t)yield n}var B1=F1;const j1=typeof window=="undefined",W1=typeof navigator!="undefined"&&navigator.product==="ReactNative";var Rs={isSSR:j1,isReactNative:W1};const{unstable_batchedUpdates:H1}=H0;var K1={unstable_batchedUpdates:H1};const{unstable_batchedUpdates:Q1}=K1;var b1={unstable_batchedUpdates:Q1};const{batchStart:G1}=Yt,{unstable_batchedUpdates:Z1}=b1;let Es=Z1;const Y1=e=>{Es=e},X1=()=>Es,J1=e=>{Es(()=>{let t=()=>{};try{t=G1(),e()}finally{t()}})};var ki={getBatcher:X1,setBatcher:Y1,batchUpdates:J1};const{isSSR:q1}=Rs,{batchUpdates:ca}=ki,{initializeNodeIfNewToStore:eS,peekNodeInfo:tS}=Hn,{graph:nS}=$o,{DEFAULT_VALUE:rS,recoilValues:of,recoilValuesForKeys:lf}=be,{AbstractRecoilValue:oS,getRecoilValueAsLoadable:lS,setRecoilValue:uf,setUnvalidatedRecoilValue:iS}=Yt,{updateRetainCount:gl}=Kn,{getNextTreeStateVersion:uS,makeEmptyStoreState:aS}=rh;class Ti{constructor(t){G(this,"_store",void 0),G(this,"_refCount",0),G(this,"getLoadable",n=>(this.checkRefCount_INTERNAL(),lS(this._store,n))),G(this,"getPromise",n=>(this.checkRefCount_INTERNAL(),this.getLoadable(n).toPromise())),G(this,"getNodes_UNSTABLE",n=>{if(this.checkRefCount_INTERNAL(),(n==null?void 0:n.isModified)===!0){if((n==null?void 0:n.isInitialized)===!1)return[];const l=this._store.getState().currentTree;return lf(l.dirtyAtoms)}const r=this._store.getState().knownAtoms,o=this._store.getState().knownSelectors;return(n==null?void 0:n.isInitialized)==null?of.values():n.isInitialized===!0?lf(B1([this._store.getState().knownAtoms,this._store.getState().knownSelectors])):lh(of.values(),({key:l})=>!r.has(l)&&!o.has(l))}),G(this,"getInfo_UNSTABLE",({key:n})=>(this.checkRefCount_INTERNAL(),tS(this._store,this._store.getState().currentTree,n))),G(this,"map",n=>{this.checkRefCount_INTERNAL();const r=new da(this,ca);return n(r),fa(r.getStore_INTERNAL())}),G(this,"asyncMap",n=>Us(this,null,function*(){this.checkRefCount_INTERNAL();const r=new da(this,ca);return yield n(r),fa(r.getStore_INTERNAL())})),this._store={getState:()=>t,replaceState:n=>{t.currentTree=n(t.currentTree)},getGraph:n=>{const r=t.graphsByVersion;if(r.has(n))return oe(r.get(n));const o=nS();return r.set(n,o),o},subscribeToTransactions:()=>({release:()=>{}}),addTransactionMetadata:()=>{throw X("Cannot subscribe to Snapshots")}};for(const n of this._store.getState().nodeCleanupFunctions.keys())eS(this._store,t.currentTree,n,"get"),gl(this._store,n,1);this.retain(),this.autorelease_INTERNAL()}retain(){if(!ae("recoil_memory_managament_2020"))return()=>{};this._refCount++;let t=!1;return()=>{t||(t=!0,this.release_INTERNAL())}}autorelease_INTERNAL(){ae("recoil_memory_managament_2020")&&(q1||window.setTimeout(()=>this.release_INTERNAL(),0))}release_INTERNAL(){ae("recoil_memory_managament_2020")&&(this._refCount--,this._refCount)}checkRefCount_INTERNAL(){ae("recoil_memory_managament_2020")&&this._refCount<=0}getStore_INTERNAL(){return this.checkRefCount_INTERNAL(),this._store}getID(){return this.checkRefCount_INTERNAL(),this.getID_INTERNAL()}getID_INTERNAL(){return this.checkRefCount_INTERNAL(),this._store.getState().currentTree.stateID}}function _h(e,t,n=!1){const r=e.getState(),o=n?uS():t.version;return{currentTree:n?{version:o,stateID:o,transactionMetadata:ze({},t.transactionMetadata),dirtyAtoms:new Set(t.dirtyAtoms),atomValues:t.atomValues.clone(),nonvalidatedAtoms:t.nonvalidatedAtoms.clone()}:t,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)),versionsUsedByComponent:new Map,retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}}function sS(e){const t=new Ti(aS());return e!=null?t.map(e):t}function fa(e,t="current"){const n=e.getState(),r=t==="current"?n.currentTree:oe(n.previousTree);return new Ti(_h(e,r))}class da extends Ti{constructor(t,n){super(_h(t.getStore_INTERNAL(),t.getStore_INTERNAL().getState().currentTree,!0)),G(this,"_batch",void 0),G(this,"set",(r,o)=>{this.checkRefCount_INTERNAL();const l=this.getStore_INTERNAL();this._batch(()=>{gl(l,r.key,1),uf(this.getStore_INTERNAL(),r,o)})}),G(this,"reset",r=>{this.checkRefCount_INTERNAL();const o=this.getStore_INTERNAL();this._batch(()=>{gl(o,r.key,1),uf(this.getStore_INTERNAL(),r,rS)})}),G(this,"setUnvalidatedAtomValues_DEPRECATED",r=>{this.checkRefCount_INTERNAL();const o=this.getStore_INTERNAL();ca(()=>{for(const[l,i]of r.entries())gl(o,l,1),iS(o,new oS(l),i)})}),this._batch=n}}var Ci={Snapshot:Ti,MutableSnapshot:da,freshSnapshot:sS,cloneSnapshot:fa},cS=Ci.Snapshot,fS=Ci.MutableSnapshot,dS=Ci.freshSnapshot,pS=Ci.cloneSnapshot,Uo=Object.freeze({__proto__:null,Snapshot:cS,MutableSnapshot:fS,freshSnapshot:dS,cloneSnapshot:pS});const{getNextTreeStateVersion:hS,makeEmptyStoreState:wh}=rh,{cleanUpNode:vS,getDownstreamNodes:mS,setNodeValue:yS,setUnvalidatedAtomValue_DEPRECATED:gS}=Hn,{graph:SS}=$o,{cloneGraph:_S}=$o,{applyAtomValueWrites:wS}=Yt,{releaseScheduledRetainablesNow:Rh}=Kn,{freshSnapshot:RS}=Uo,{useCallback:ES,useContext:Eh,useEffect:pa,useMemo:kS,useRef:su,useState:TS}=we;function zr(){throw X("This component must be used inside a <RecoilRoot> component.")}const kh=Object.freeze({getState:zr,replaceState:zr,getGraph:zr,subscribeToTransactions:zr,addTransactionMetadata:zr});let ha=!1;function af(e){if(ha)throw X("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){ae("recoil_memory_managament_2020")&&ae("recoil_release_on_cascading_update_killswitch_2021")&&t.commitDepth>0&&Rh(e);const n=t.currentTree.version,r=hS();t.nextTree=Ze(ze({},t.currentTree),{version:r,stateID:r,dirtyAtoms:new Set,transactionMetadata:{}}),t.graphsByVersion.set(r,_S(oe(t.graphsByVersion.get(n))))}}const Th=we.createContext({current:kh}),ks=()=>Eh(Th),Ch=we.createContext(null);function CS(){return Eh(Ch)}function Ts(e,t,n){const r=mS(e,n,n.dirtyAtoms);for(const o of r){const l=t.nodeToComponentSubscriptions.get(o);if(l)for(const[i,[u,a]]of l)a(n)}}function Nh(e){const t=e.getState(),n=t.currentTree,r=n.dirtyAtoms;if(r.size){for(const[o,l]of t.nodeTransactionSubscriptions)if(r.has(o))for(const[i,u]of l)u(e);for(const[o,l]of t.transactionSubscriptions)l(e);(!ae("recoil_early_rendering_2021")||t.suspendedComponentResolvers.size)&&(Ts(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 NS(e){const t=e.current.getState();t.commitDepth++;try{const{nextTree:n}=t;if(n===null)return;t.previousTree=t.currentTree,t.currentTree=n,t.nextTree=null,Nh(e.current),t.previousTree!=null?t.graphsByVersion.delete(t.previousTree.version):Zp("Ended batch with no previous state, which is unexpected","recoil"),t.previousTree=null,ae("recoil_memory_managament_2020")&&Rh(e.current)}finally{t.commitDepth--}}function LS({setNotifyBatcherOfChange:e}){const t=ks(),[n,r]=TS([]);return e(()=>r({})),pa(()=>{Ng.enqueueExecution("Batcher",()=>{NS(t)})}),pa(()=>()=>{e(()=>{})},[e]),null}function xS(e,t){const n=wh();return t({set:(r,o)=>{const l=n.currentTree,i=yS(e,l,r.key,o),u=new Set(i.keys()),a=l.nonvalidatedAtoms.clone();for(const s of u)a.delete(s);n.currentTree=Ze(ze({},l),{dirtyAtoms:Kg(l.dirtyAtoms,u),atomValues:wS(l.atomValues,i),nonvalidatedAtoms:a})},setUnvalidatedAtomValues:r=>{r.forEach((o,l)=>{n.currentTree=gS(n.currentTree,l,o)})}}),n}function AS(e){return RS().map(e).getStore_INTERNAL().getState()}let sf=0;function PS({initializeState_DEPRECATED:e,initializeState:t,store_INTERNAL:n,children:r}){var o;let l;const i=N=>{const c=l.current.graphsByVersion;if(c.has(N))return oe(c.get(N));const f=SS();return c.set(N,f),f},u=(N,c)=>{if(c==null){const{transactionSubscriptions:f}=S.current.getState(),h=sf++;return f.set(h,N),{release:()=>{f.delete(h)}}}else{const{nodeTransactionSubscriptions:f}=S.current.getState();f.has(c)||f.set(c,new Map);const h=sf++;return oe(f.get(c)).set(h,N),{release:()=>{const _=f.get(c);_&&(_.delete(h),_.size===0&&f.delete(c))}}}},a=N=>{af(S.current);for(const c of Object.keys(N))oe(S.current.getState().nextTree).transactionMetadata[c]=N[c]},s=N=>{const c=S.current.getState();af(S.current);const f=oe(c.nextTree);let h;try{ha=!0,h=N(f)}finally{ha=!1}h!==f&&(c.nextTree=h,ae("recoil_early_rendering_2021")&&Ts(g,c,h),oe(p.current)())},p=su(null),d=ES(N=>{p.current=N},[p]),v=(o=we.createMutableSource)!==null&&o!==void 0?o:we.unstable_createMutableSource,g=n!=null?n:{getState:()=>l.current,replaceState:s,getGraph:i,subscribeToTransactions:u,addTransactionMetadata:a},S=su(g);l=su(e!=null?xS(g,e):t!=null?AS(t):wh());const w=kS(()=>v?v(l,()=>l.current.currentTree.version):null,[v,l]);return pa(()=>()=>{for(const N of S.current.getState().knownAtoms)vS(S.current,N)},[]),we.createElement(Th.Provider,{value:S},we.createElement(Ch.Provider,{value:w},we.createElement(LS,{setNotifyBatcherOfChange:d}),r))}function VS(e){const o=e,{override:t}=o,n=Oo(o,["override"]),r=ks();return t===!1&&r.current!==kh?e.children:we.createElement(PS,n)}var Xt={useStoreRef:ks,useRecoilMutableSource:CS,RecoilRoot:VS,notifyComponents_FOR_TESTING:Ts,sendEndOfBatchNotifications_FOR_TESTING:Nh};const{useRef:MS}=we;function $S(){return MS(),"<component name not available>"}var Cs=$S;function US(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0}var DS=US;const{useEffect:IS,useRef:zS}=we;function OS(e){const t=zS();return IS(()=>{t.current=e}),t.current}var Lh=OS;const{useStoreRef:FS}=Xt,{SUSPENSE_TIMEOUT_MS:BS}=Kn,{updateRetainCount:Or}=Kn,{RetentionZone:jS}=wi,{isSSR:cf}=Rs,{useEffect:WS,useRef:HS}=we;function KS(e){if(ae("recoil_memory_managament_2020"))return QS(e)}function QS(e){const n=(Array.isArray(e)?e:[e]).map(i=>i instanceof jS?i:i.key),r=FS();WS(()=>{if(!ae("recoil_memory_managament_2020"))return;const i=r.current;if(o.current&&!cf)window.clearTimeout(o.current),o.current=null;else for(const u of n)Or(i,u,1);return()=>{for(const u of n)Or(i,u,-1)}},[r,...n]);const o=HS(),l=Lh(n);if(!cf&&(l===void 0||!DS(l,n))){const i=r.current;for(const u of n)Or(i,u,1);if(l)for(const u of l)Or(i,u,-1);o.current&&window.clearTimeout(o.current),o.current=window.setTimeout(()=>{o.current=null;for(const u of n)Or(i,u,-1)},BS)}}var xh=KS;const{batchUpdates:bS}=ki,{DEFAULT_VALUE:Ah}=be,{useRecoilMutableSource:GS,useStoreRef:Qn}=Xt,{AbstractRecoilValue:Ph,getRecoilValueAsLoadable:oo,setRecoilValue:Zl,setUnvalidatedRecoilValue:ZS,subscribeToRecoilValue:Ns}=Yt,{setByAddingToSet:YS}=oh,{mutableSourceExists:XS,useMutableSource:JS}=bp,{useCallback:hr,useEffect:Co,useMemo:qS,useRef:lo,useState:Vh}=we;function Mh(e,t,n){if(e.state==="hasValue")return e.contents;throw e.state==="loading"?new Promise(o=>{n.current.getState().suspendedComponentResolvers.add(o)}):e.state==="hasError"?e.contents:X(`Invalid value of loadable atom "${t.key}"`)}function e_(){const e=Qn(),[,t]=Vh([]),n=lo(new Set);n.current=new Set;const r=lo(new Set),o=lo(new Map),l=hr(u=>{const a=o.current.get(u);a&&(a.release(),o.current.delete(u))},[o]),i=Cs();return Co(()=>{const u=e.current;function a(s,p){o.current.has(p)&&t([])}bl(n.current,r.current).forEach(s=>{if(o.current.has(s))return;const p=Ns(u,new Ph(s),v=>{a(v,s)},i);o.current.set(s,p),u.getState().nextTree?u.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{a(u.getState(),s)}):a(u.getState(),s)}),bl(r.current,n.current).forEach(s=>{l(s)}),r.current=n.current}),Co(()=>{const u=o.current;return()=>u.forEach((a,s)=>l(s))},[l]),qS(()=>{function u(g){return S=>{Zl(e.current,g,S)}}function a(g){return()=>Zl(e.current,g,Ah)}function s(g){var S;n.current.has(g.key)||(n.current=YS(n.current,g.key));const w=e.current.getState();return oo(e.current,g,ae("recoil_early_rendering_2021")&&(S=w.nextTree)!==null&&S!==void 0?S:w.currentTree)}function p(g){const S=s(g);return Mh(S,g,e)}function d(g){return[p(g),u(g)]}function v(g){return[s(g),u(g)]}return{getRecoilValue:p,getRecoilValueLoadable:s,getRecoilState:d,getRecoilStateLoadable:v,getSetRecoilState:u,getResetRecoilState:a}},[n,e])}const t_={current:0};function n_(e){const t=Qn(),n=hr(()=>{var s;const p=t.current,d=p.getState(),v=ae("recoil_early_rendering_2021")&&(s=d.nextTree)!==null&&s!==void 0?s:d.currentTree;return oo(p,e,v)},[t,e]),r=hr(()=>n(),[n]),o=Cs(),l=hr((s,p)=>{const d=t.current;return Ns(d,e,()=>{if(!ae("recoil_suppress_rerender_in_callback"))return p();const g=n();a.current.is(g)||p(),a.current=g},o).release},[t,e,o,n]),i=GS(),u=JS(i,r,l),a=lo(u);return Co(()=>{a.current=u}),u}function r_(e){const t=Qn(),[n,r]=Vh([]),o=Cs();Co(()=>{const u=t.current,a=u.getState(),s=Ns(u,e,d=>{var v;if(!ae("recoil_suppress_rerender_in_callback"))return r([]);const g=oo(u,e,u.getState().currentTree);!((v=i.current)===null||v===void 0)&&v.is(g)||r(g),i.current=g},o);if(a.nextTree)u.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{i.current=null,r([])});else{var p;if(!ae("recoil_suppress_rerender_in_callback"))return r([]);const d=oo(u,e,u.getState().currentTree);!((p=i.current)===null||p===void 0)&&p.is(d)||r(d),i.current=d}return s.release},[o,e,t]);const l=oo(t.current,e),i=lo(l);return Co(()=>{i.current=l}),l}function Ls(e){return ae("recoil_memory_managament_2020")&&xh(e),XS()?n_(e):r_(e)}function $h(e){const t=Qn(),n=Ls(e);return Mh(n,e,t)}function xs(e){const t=Qn();return hr(n=>{Zl(t.current,e,n)},[t,e])}function o_(e){const t=Qn();return hr(()=>{Zl(t.current,e,Ah)},[t,e])}function l_(e){return[$h(e),xs(e)]}function i_(e){return[Ls(e),xs(e)]}function u_(){const e=Qn();return(t,n={})=>{bS(()=>{e.current.addTransactionMetadata(n),t.forEach((r,o)=>ZS(e.current,new Ph(o),r))})}}var a_={recoilComponentGetRecoilValueCount_FOR_TESTING:t_,useRecoilInterface:e_,useRecoilState:l_,useRecoilStateLoadable:i_,useRecoilValue:$h,useRecoilValueLoadable:Ls,useResetRecoilState:o_,useSetRecoilState:xs,useSetUnvalidatedAtomValues:u_};function s_(e,t){const n=new Map;for(const[r,o]of e)t(o,r)&&n.set(r,o);return n}var c_=s_;function f_(e,t){const n=new Set;for(const r of e)t(r)&&n.add(r);return n}var d_=f_;function p_(...e){const t=new Map;for(let n=0;n<e.length;n++){const r=e[n].keys();let o;for(;!(o=r.next()).done;)t.set(o.value,e[n].get(o.value))}return t}var h_=p_;const{batchUpdates:v_}=ki,{DEFAULT_VALUE:m_,getNode:Uh,nodes:y_}=be,{useStoreRef:As}=Xt,{AbstractRecoilValue:g_,setRecoilValueLoadable:S_}=Yt,{SUSPENSE_TIMEOUT_MS:__}=Kn,{Snapshot:ik,cloneSnapshot:Yl}=Uo,{isSSR:ff}=Rs,{useCallback:Ni,useEffect:Dh,useRef:w_,useState:R_}=we;function Li(e){const t=As();Dh(()=>t.current.subscribeToTransactions(e).release,[e,t])}function df(e){const t=e.atomValues.toMap(),n=Gl(c_(t,(r,o)=>{const i=Uh(o).persistence_UNSTABLE;return i!=null&&i.type!=="none"&&r.state==="hasValue"}),r=>r.contents);return h_(e.nonvalidatedAtoms.toMap(),n)}function E_(e){Li(Ni(t=>{let n=t.getState().previousTree;const r=t.getState().currentTree;n||(n=t.getState().currentTree);const o=df(r),l=df(n),i=Gl(y_,a=>{var s,p,d,v;return{persistence_UNSTABLE:{type:(s=(p=a.persistence_UNSTABLE)===null||p===void 0?void 0:p.type)!==null&&s!==void 0?s:"none",backButton:(d=(v=a.persistence_UNSTABLE)===null||v===void 0?void 0:v.backButton)!==null&&d!==void 0?d:!1}}}),u=d_(r.dirtyAtoms,a=>o.has(a)||l.has(a));e({atomValues:o,previousAtomValues:l,atomInfo:i,modifiedAtoms:u,transactionMetadata:ze({},r.transactionMetadata)})},[e]))}function k_(e){Li(Ni(t=>{const n=Yl(t,"current"),r=Yl(t,"previous");e({snapshot:n,previousSnapshot:r})},[e]))}function T_(){const e=As(),[t,n]=R_(()=>Yl(e.current)),r=Lh(t),o=w_();return Dh(()=>(o.current&&!ff&&window.clearTimeout(o.current),t.retain()),[t]),Li(Ni(l=>n(Yl(l)),[])),r!==t&&!ff&&(o.current&&(r==null||r.release_INTERNAL(),window.clearTimeout(o.current)),t.retain(),o.current=window.setTimeout(()=>{t.release_INTERNAL(),o.current=null},__)),t}function C_(){const e=As();return Ni(t=>{var n;const r=e.current.getState(),o=(n=r.nextTree)!==null&&n!==void 0?n:r.currentTree,l=t.getStore_INTERNAL().getState().currentTree;v_(()=>{const i=new Set;for(const s of[o.atomValues.keys(),l.atomValues.keys()])for(const p of s){var u,a;((u=o.atomValues.get(p))===null||u===void 0?void 0:u.contents)!==((a=l.atomValues.get(p))===null||a===void 0?void 0:a.contents)&&Uh(p).shouldRestoreFromSnapshots&&i.add(p)}i.forEach(s=>{S_(e.current,new g_(s),l.atomValues.has(s)?oe(l.atomValues.get(s)):m_)}),e.current.replaceState(s=>Ze(ze({},s),{stateID:t.getID_INTERNAL()}))})},[e])}var Ih={useRecoilSnapshot:T_,useGotoRecoilSnapshot:C_,useRecoilTransactionObserver:k_,useTransactionObservation_DEPRECATED:E_,useTransactionSubscription_DEPRECATED:Li};const{peekNodeInfo:N_}=Hn,{useStoreRef:L_}=Xt;function x_(){const e=L_();return({key:t})=>N_(e.current,e.current.getState().currentTree,t)}var A_=x_;const{RecoilRoot:P_,useStoreRef:V_}=Xt,{useMemo:M_}=we;function $_(){const e=V_().current;return M_(()=>{function t({children:n}){return we.createElement(P_,{store_INTERNAL:e},n)}return t},[e])}var U_=$_;const{loadableWithValue:D_}=Mo,{DEFAULT_VALUE:I_,getNode:z_}=be,{copyTreeState:O_,getRecoilValueAsLoadable:F_,invalidateDownstreams:B_,writeLoadableToTreeState:j_}=Yt;function pf(e){return z_(e.key).nodeType==="atom"}class W_{constructor(t,n){G(this,"_store",void 0),G(this,"_treeState",void 0),G(this,"_changes",void 0),G(this,"get",r=>{if(this._changes.has(r.key))return this._changes.get(r.key);if(!pf(r))throw X("Reading selectors within atomicUpdate is not supported");const o=F_(this._store,r,this._treeState);if(o.state==="hasValue")return o.contents;throw o.state==="hasError"?o.contents:X(`Expected Recoil atom ${r.key} to have a value, but it is in a loading state.`)}),G(this,"set",(r,o)=>{if(!pf(r))throw X("Setting selectors within atomicUpdate is not supported");if(typeof o=="function"){const l=this.get(r);this._changes.set(r.key,o(l))}else this._changes.set(r.key,o)}),G(this,"reset",r=>{this.set(r,I_)}),this._store=t,this._treeState=n,this._changes=new Map}newTreeState_INTERNAL(){if(this._changes.size===0)return this._treeState;const t=O_(this._treeState);for(const[n,r]of this._changes)j_(t,n,D_(r));return B_(this._store,t),t}}function H_(e){return t=>{e.replaceState(n=>{const r=new W_(e,n);return t(r),r.newTreeState_INTERNAL()})}}var K_={atomicUpdater:H_},Q_=K_.atomicUpdater,zh=Object.freeze({__proto__:null,atomicUpdater:Q_});function b_(e,t){if(!e)throw new Error(t)}var G_=b_,Sl=G_;const{atomicUpdater:Z_}=zh,{batchUpdates:Y_}=ki,{DEFAULT_VALUE:X_}=be,{useStoreRef:J_}=Xt,{setRecoilValue:hf}=Yt,{Snapshot:uk,cloneSnapshot:q_}=Uo,{useGotoRecoilSnapshot:ew}=Ih,{useCallback:tw}=we;class Oh{}const nw=new Oh;function rw(e,t){const n=J_(),r=ew();return tw((...o)=>{function l(p,d){hf(n.current,p,d)}function i(p){hf(n.current,p,X_)}const u=q_(n.current),a=Z_(n.current);let s=nw;return Y_(()=>{const p="useRecoilCallback expects a function that returns a function: it accepts a function of the type (RecoilInterface) => T = R and returns a callback function T => R, where RecoilInterface is an object {snapshot, set, ...} and T and R are the argument and return types of the callback you want to create. Please see the docs at recoiljs.org for details.";if(typeof e!="function")throw X(p);const d=e({set:l,reset:i,snapshot:u,gotoSnapshot:r,transact_UNSTABLE:a});if(typeof d!="function")throw X(p);s=d(...o)}),s instanceof Oh&&Sl(!1),s},t!=null?[...t,n]:void 0)}var ow=rw;const{getNode:lw}=be,{useStoreRef:iw}=Xt,{useCallback:uw}=we;function aw(e){const t=iw();return uw(()=>{var n;const r=t.current,{currentTree:o}=r.getState(),l=lw(e.key);(n=l.clearCache)===null||n===void 0||n.call(l,r,o)},[e,t])}var sw=aw;const{atomicUpdater:cw}=zh,{useStoreRef:fw}=Xt,{useMemo:dw}=we;function pw(e,t){const n=fw();return dw(()=>(...r)=>{cw(n.current)(l=>{e(l)(...r)})},t!=null?[...t,n]:void 0)}var hw=pw;function Et(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 X("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(ve(e))return"__PROMISE__";if(Array.isArray(e))return`[${e.map((o,l)=>Et(o,t,l.toString()))}]`;if(typeof e.toJSON=="function")return Et(e.toJSON(n),t,n);if(e instanceof Map){const o={};for(const[l,i]of e)o[typeof l=="string"?l:Et(l,t)]=i;return Et(o,t,n)}return e instanceof Set?Et(Array.from(e).sort((o,l)=>Et(o,t).localeCompare(Et(l,t))),t,n):Symbol!==void 0&&e[Symbol.iterator]!=null&&typeof e[Symbol.iterator]=="function"?Et(Array.from(e),t,n):`{${Object.keys(e).filter(o=>e[o]!==void 0).sort().map(o=>`${Et(o,t)}:${Et(e[o],t,o)}`).join(",")}}`}function vw(e,t={allowFunctions:!1}){return Et(e,t)}var xi=vw;class mw{constructor(t){var n,r,o;G(this,"_numLeafs",void 0),G(this,"_root",void 0),G(this,"_onHit",void 0),G(this,"_onSet",void 0),G(this,"_mapNodeValue",void 0),this._numLeafs=0,this._root=null,this._onHit=(n=t==null?void 0:t.onHit)!==null&&n!==void 0?n:()=>{},this._onSet=(r=t==null?void 0:t.onSet)!==null&&r!==void 0?r:()=>{},this._mapNodeValue=(o=t==null?void 0:t.mapNodeValue)!==null&&o!==void 0?o:l=>l}size(){return this._numLeafs}root(){return this._root}get(t,n){var r;return(r=this.getLeafNode(t,n))===null||r===void 0?void 0:r.value}getLeafNode(t,n){return Fh(this.root(),r=>this._mapNodeValue(t(r)),{onNodeVisit:r=>{n==null||n.onNodeVisit(r),r.type==="leaf"&&this._onHit(r)}})}set(t,n,r){let o,l=null;const i=()=>{l=va(this.root(),t.map(([u,a])=>[u,this._mapNodeValue(a)]),null,n,null,{onNodeVisit:u=>{r==null||r.onNodeVisit(u),u.type==="leaf"&&(o=u)}},()=>{this.clear(),i()})};i(),this.root()||(this._root=l),this._numLeafs++,this._onSet(oe(o))}delete(t){if(!this.root())return!1;const n=oe(this.root());return yw(n,t,t.parent)?t===n||n.type==="branch"&&!n.branches.size?(this._root=null,this._numLeafs=0,!0):(this._numLeafs-=jh(t),!0):!1}clear(){this._numLeafs=0,this._root=null}}const Fh=(e,t,n)=>{var r;if(e==null)return;if(n==null||(r=n.onNodeVisit)===null||r===void 0||r.call(n,e),e.type==="leaf")return e;const o=t(e.nodeKey);return Fh(e.branches.get(o),t,n)},va=(e,t,n,r,o,l,i)=>{var u;let a;if(e==null)if(t.length===0)a={type:"leaf",value:r,parent:n,branchKey:o};else{const[s,...p]=t,[d,v]=s;a={type:"branch",nodeKey:d,parent:n,branches:new Map,branchKey:o},a.branches.set(v,va(null,p,a,r,v,l,i))}else if(a=e,t.length){const[s,...p]=t,[d,v]=s;if(e.type!=="branch"||e.nodeKey!==d)return i(),a;e.branches.set(v,va(e.branches.get(v),p,e,r,v,l,i))}return l==null||(u=l.onNodeVisit)===null||u===void 0||u.call(l,a),a},yw=(e,t,n)=>n?(n.branches.delete(t.branchKey),Bh(e,n,n.parent)):e===t,Bh=(e,t,n)=>n?(t.branches.size===0&&n.branches.delete(t.branchKey),Bh(e,n,n.parent)):e===t,jh=e=>e.type==="leaf"?1:Array.from(e.branches.values()).reduce((t,n)=>t+jh(n),0);var gw={TreeCache:mw},Sw=gw.TreeCache,Wh=Object.freeze({__proto__:null,TreeCache:Sw});class _w{constructor(t){var n;G(this,"_maxSize",void 0),G(this,"_size",void 0),G(this,"_head",void 0),G(this,"_tail",void 0),G(this,"_map",void 0),G(this,"_keyMapper",void 0),this._maxSize=t.maxSize,this._size=0,this._head=null,this._tail=null,this._map=new Map,this._keyMapper=(n=t.mapKey)!==null&&n!==void 0?n:r=>r}head(){return this._head}tail(){return this._tail}size(){return this._size}maxSize(){return this._maxSize}has(t){return this._map.has(this._keyMapper(t))}get(t){const n=this._keyMapper(t),r=this._map.get(n);if(r)return this.set(t,r.value),r.value}set(t,n){const r=this._keyMapper(t);this._map.get(r)&&this.delete(t);const l=this.head(),i={key:t,right:l,left:null,value:n};l?l.left=i:this._tail=i,this._map.set(r,i),this._head=i,this._size++,this._maybeDeleteLRU()}_maybeDeleteLRU(){this.size()>this.maxSize()&&this.deleteLru()}deleteLru(){const t=this.tail();t&&this.delete(t.key)}delete(t){const n=this._keyMapper(t);if(!this._size||!this._map.has(n))return;const r=oe(this._map.get(n)),o=r.right,l=r.left;o&&(o.left=r.left),l&&(l.right=r.right),r===this.head()&&(this._head=o),r===this.tail()&&(this._tail=l),this._map.delete(n),this._size--}clear(){this._size=0,this._head=null,this._tail=null,this._map=new Map}}var ww={LRUCache:_w},Rw=ww.LRUCache,Hh=Object.freeze({__proto__:null,LRUCache:Rw});const{LRUCache:Ew}=Hh,{TreeCache:kw}=Wh;function Tw(e,t=n=>n){const n=new Ew({maxSize:e}),r=new kw({mapNodeValue:t,onHit:o=>{n.set(o,!0)},onSet:o=>{const l=n.tail();n.set(o,!0),l&&r.size()>e&&r.delete(l.key)}});return r}var vf=Tw;const{TreeCache:Cw}=Wh,rl={equality:"reference",eviction:"keep-all",maxSize:1/0};function Nw({equality:e=rl.equality,eviction:t=rl.eviction,maxSize:n=rl.maxSize}=rl){const r=Lw(e);return xw(t,n,r)}function Lw(e){switch(e){case"reference":return t=>t;case"value":return t=>xi(t)}throw X(`Unrecognized equality policy ${e}`)}function xw(e,t,n){switch(e){case"keep-all":return new Cw({mapNodeValue:n});case"lru":return vf(oe(t),n);case"most-recent":return vf(1,n)}throw X(`Unrecognized eviction policy ${e}`)}var Aw=Nw;function Pw(e){return()=>null}var Vw={startPerfBlock:Pw};const{loadableWithError:Fr,loadableWithPromise:Mw,loadableWithValue:cu}=Mo,{getNodeLoadable:$w,peekNodeLoadable:Uw,setNodeValue:Dw}=Hn,{saveDependencyMapToStore:Iw}=$o,{DEFAULT_VALUE:zw,RecoilValueNotReady:Ow,getConfigDeletionHandler:Fw,getNode:Bw,registerNode:mf}=be,{isRecoilValue:jw}=In,{AbstractRecoilValue:Ww}=In,{markRecoilValueModified:Hw,setRecoilValueLoadable:Kw}=Yt,{retainedByOptionWithDefault:Qw}=Kn,{cloneSnapshot:bw}=Uo,{startPerfBlock:Gw}=Vw;class Kh{}const Br=new Kh,jr=[],ol=new Map,Zw=(()=>{let e=0;return()=>e++})();function Yw(){return{depValuesDiscoveredSoFarDuringAsyncWork:null,latestLoadable:null,latestExecutionId:null,stateVersion:null}}function Xw(e){let t=null;const{key:n,get:r,cachePolicy_UNSTABLE:o}=e,l=e.set!=null?e.set:void 0,i=new Set,u=Aw(o!=null?o:{equality:"reference",eviction:"keep-all"}),a=Qw(e.retainedBy_UNSTABLE),s=new Map;let p=0;function d(){return!ae("recoil_memory_managament_2020")||p>0}function v(R){return s.has(R)||s.set(R,Yw()),oe(s.get(R))}function g(R){return p++,R.getState().knownSelectors.add(n),()=>{p--,R.getState().knownSelectors.delete(n),s.delete(R)}}function S(){return Fw(n)!==void 0&&!d()}function w(R,A,x){if(A.state==="loading"){let F=ol.get(x);F==null&&ol.set(x,F=new Set),F.add(R)}}function N(R,A){const x=ol.get(A);if(x!==void 0){for(const F of x)Kw(F,new Ww(n),R);ol.delete(A)}}function c(R,A,x){const F=R.getState().knownSelectors.has(x);if(F&&A.atomValues.has(x))return oe(A.atomValues.get(x));const P=$w(R,A,x);return P.state!=="loading"&&F&&A.atomValues.set(x,P),P}function f(R,A,x,F,P,b){return A.then(te=>{if(!d())throw k(R,P),Br;const ue=cu(te);return ne(x,q(F),ue),E(R,x,new Set(F.keys()),P),_(R,ue,P),te}).catch(te=>{if(!d())throw k(R,P),Br;if(O(R,P)&&ee(F,R,P),ve(te))return h(R,te,x,F,P,b);const ue=Fr(te);throw ne(x,q(F),ue),E(R,x,new Set(F.keys()),P),_(R,ue,P),te})}function h(R,A,x,F,P,b){return A.then(te=>{if(!d())throw k(R,P),Br;b.loadingDepKey!=null&&b.loadingDepPromise===A?x.atomValues.set(b.loadingDepKey,cu(te)):R.getState().knownSelectors.forEach(Ee=>{x.atomValues.delete(Ee)});const ue=D(R,x);if(ue&&ue.state==="hasValue")return St(ue,R),ue.contents;if(!O(R,P)){var Re;const Ee=tt(x);if((Ee==null||(Re=Ee.latestLoadable)===null||Re===void 0?void 0:Re.state)==="loading")return Ee.latestLoadable.contents}const[ge,Se]=V(R,x,P);if(O(R,P)&&ee(Se,R,P),ge.state!=="loading"&&(ne(x,q(Se),ge),E(R,x,new Set(Se.keys()),P),_(R,ge,P)),ge.state==="hasError")throw ge.contents;return ge.contents}).catch(te=>{if(te instanceof Kh)throw Br;if(!d())throw k(R,P),Br;const ue=Fr(te);throw ne(x,q(F),Fr(te)),E(R,x,new Set(F.keys()),P),_(R,ue,P),te})}function _(R,A,x){O(R,x)&&(St(A,R),N(A,x))}function E(R,A,x,F){var P,b,te,ue;if(O(R,F)||A.version===((P=R.getState())===null||P===void 0||(b=P.currentTree)===null||b===void 0?void 0:b.version)||A.version===((te=R.getState())===null||te===void 0||(ue=te.nextTree)===null||ue===void 0?void 0:ue.version)){var Re,ge,Se;Iw(new Map([[n,x]]),R,(Re=(ge=R.getState())===null||ge===void 0||(Se=ge.nextTree)===null||Se===void 0?void 0:Se.version)!==null&&Re!==void 0?Re:R.getState().currentTree.version)}}function L(R,A,x,F,P){x.add(F),E(R,A,x,P)}function V(R,A,x){const F=Gw(n);let P,b=!1,te;const ue={loadingDepKey:null,loadingDepPromise:null},Re=new Map,ge=new Set;E(R,A,ge,x);function Se(At){const{key:_t}=At;L(R,A,ge,_t,x);const ot=c(R,A,_t);switch(Re.set(_t,ot),ot.state){case"hasValue":return ot.contents;case"hasError":throw ot.contents;case"loading":throw ue.loadingDepKey=_t,ue.loadingDepPromise=ot.contents,ot.contents}throw X("Invalid Loadable state")}let Ee=!1;const Nr=At=>(..._t)=>{if(!Ee)throw X("getCallback() should only be called asynchronously after the selector is evalutated. It can be used for selectors to return objects with callbacks that can obtain the current Recoil state without a subscription.");const ot=bw(R),Do=At({snapshot:ot});if(typeof Do!="function")throw X("getCallback() expects a function that returns a function.");return Do(..._t)};try{P=r({get:Se,getCallback:Nr}),P=jw(P)?Se(P):P,Ee=!0,ve(P)?P=f(R,P,A,Re,x,ue).finally(F):F()}catch(At){P=At,ve(P)?P=h(R,P,A,Re,x,ue).finally(F):(b=!0,F())}return b?te=Fr(P):ve(P)?te=Mw(P):te=cu(P),te.state!=="loading"&&(te.contents,void 0),[te,Re]}function D(R,A){const x=new Set,F=v(R);let P;try{P=u.get(b=>(typeof b!="string"&&Sl(!1),c(R,A,b).contents),{onNodeVisit:b=>{b.type==="branch"&&b.nodeKey!==n&&typeof b.nodeKey=="string"&&(x.add(b.nodeKey),i.add(b.nodeKey))}})}catch(b){throw X(`Problem with cache lookup for selector "${n}": ${b.message}`)}return P&&E(R,A,x,F.latestExecutionId),P}function q(R){return Array.from(R.entries()).map(([A,x])=>[A,x.contents])}function B(R,A){const x=Zw(),[F,P]=V(R,A,x);return St(F,R,P,x,A),Ot(A,q(P),F),w(R,F,x),F}function le(R,A){const x=D(R,A);if(x!=null)return St(x,R),x;const F=tt(A);if(F){const P=F;return w(R,oe(P.latestLoadable),oe(P.latestExecutionId)),oe(P.latestLoadable)}return B(R,A)}function tt(R){var A;const[,x]=(A=Array.from(s.entries()).find(([F,P])=>P.latestLoadable!=null&&P.latestExecutionId!=null&&!zt(F,R)))!==null&&A!==void 0?A:[];return x}const nt=new Map;function zt(R,A){var x,F;const P=v(R),b=(x=P.depValuesDiscoveredSoFarDuringAsyncWork)!==null&&x!==void 0?x:new Map,te=Array(((F=nt.get(A.version))!==null&&F!==void 0?F:new Map).entries()),ue=nt.has(A.version)&&te.length===b.size&&te.every(([Re,ge])=>b.get(Re)===ge);return b==null||A.version===P.stateVersion||ue?!1:(nt.set(A.version,new Map(b)),Array.from(b).some(([Re,ge])=>c(R,A,Re).contents!==ge.contents))}function St(R,A,x,F,P){const b=v(A);R.state==="loading"?(b.depValuesDiscoveredSoFarDuringAsyncWork=x,b.latestExecutionId=F,b.latestLoadable=R,b.stateVersion=P==null?void 0:P.version):(b.depValuesDiscoveredSoFarDuringAsyncWork=null,b.latestExecutionId=null,b.latestLoadable=null,b.stateVersion=null)}function Ot(R,A,x){x.state!=="loading"&&ne(R,A,x)}function ee(R,A,x){const F=v(A);O(A,x)&&(F.depValuesDiscoveredSoFarDuringAsyncWork=R)}function k(R,A){O(R,A)&&s.delete(R)}function O(R,A){const x=v(R);return A===x.latestExecutionId}function W(R){}function ne(R,A,x){R.atomValues.set(n,x);try{u.set(A,x)}catch(F){throw X(`Problem with setting cache for selector "${n}": ${F.message}`)}}function j(R){if(jr.includes(n)){const A=`Recoil selector has circular dependencies: ${jr.slice(jr.indexOf(n)).join(" → ")}`;return Fr(X(A))}jr.push(n);try{return R()}finally{jr.pop()}}function Ie(R,A){return u.get(F=>{typeof F!="string"&&Sl(!1);const P=Uw(R,A,F);return P==null?void 0:P.contents})}function Ve(R,A){return j(()=>le(R,A))}function rt(R){R.atomValues.delete(n)}function Me(R,A){t==null&&Sl(!1);for(const F of i){var x;const P=Bw(F);(x=P.clearCache)===null||x===void 0||x.call(P,R,A)}rt(A),u.clear(),Hw(R,t)}return l!=null?t=mf({key:n,nodeType:"selector",peek:Ie,get:Ve,set:(A,x,F)=>{let P=!1;const b=new Map;function te({key:Se}){if(P)throw X("Recoil: Async selector sets are not currently supported.");const Ee=c(A,x,Se);if(Ee.state==="hasValue")return Ee.contents;throw Ee.state==="loading"?new Ow(Se):Ee.contents}function ue(Se,Ee){if(P)throw X("Recoil: Async selector sets are not currently supported.");const Nr=typeof Ee=="function"?Ee(te(Se)):Ee;Dw(A,x,Se.key,Nr).forEach((_t,ot)=>b.set(ot,_t))}function Re(Se){ue(Se,zw)}const ge=l({set:ue,get:te,reset:Re},F);if(ge!==void 0)throw ve(ge)?X("Recoil: Async selector sets are not currently supported."):X("Recoil: selector set should be a void function.");return P=!0,b},init:g,invalidate:rt,clearCache:Me,shouldDeleteConfigOnRelease:S,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:a}):t=mf({key:n,nodeType:"selector",peek:Ie,get:Ve,init:g,invalidate:rt,clearCache:Me,shouldDeleteConfigOnRelease:S,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:a})}var Xl=Xw;const{loadableWithError:yf,loadableWithPromise:fu,loadableWithValue:Zn}=Mo,{peekNodeInfo:Jw}=Hn,{DEFAULT_VALUE:Cn,DefaultValue:Mt,getConfigDeletionHandler:Qh,registerNode:qw,setConfigDeletionHandler:eR}=be,{isRecoilValue:tR}=In,{getRecoilValueAsLoadable:nR,markRecoilValueModified:rR,setRecoilValue:gf,setRecoilValueLoadable:oR}=Yt,{retainedByOptionWithDefault:lR}=Kn;function iR(e){const{key:t,persistence_UNSTABLE:n}=e,r=lR(e.retainedBy_UNSTABLE);let o=0,l=ve(e.default)?fu(e.default.then(c=>(l=Zn(c),c)).catch(c=>{throw l=yf(c),c})):Zn(e.default);e.default;let i;const u=new Map;function a(c){return c}function s(c,f){const h=f.then(_=>{var E,L;return((L=((E=c.getState().nextTree)!==null&&E!==void 0?E:c.getState().currentTree).atomValues.get(t))===null||L===void 0?void 0:L.contents)===h&&gf(c,N,_),_}).catch(_=>{var E,L;throw((L=((E=c.getState().nextTree)!==null&&E!==void 0?E:c.getState().currentTree).atomValues.get(t))===null||L===void 0?void 0:L.contents)===h&&oR(c,N,yf(_)),_});return h}function p(c,f,h){o++;const _=c.getState().knownAtoms.has(t);if(c.getState().knownAtoms.add(t),l.state==="loading"){const B=()=>{var le;((le=c.getState().nextTree)!==null&&le!==void 0?le:c.getState().currentTree).atomValues.has(t)||rR(c,N)};l.contents.then(B).catch(B)}let E=Cn,L=null;if(e.effects_UNSTABLE!=null&&!_){let le=function(ee){if(B&&ee.key===t&&!(E instanceof Mt)){const k=E;return k instanceof Mt?l:ve(k)?fu(k.then(O=>O instanceof Mt?l.toPromise():O)):Zn(k)}return nR(c,ee)},tt=function(ee){return le(ee).toPromise()},nt=function(ee){var k;const O=Jw(c,(k=c.getState().nextTree)!==null&&k!==void 0?k:c.getState().currentTree,ee.key);return B&&ee.key===t&&!(E instanceof Mt)?Ze(ze({},O),{isSet:!0,loadable:le(ee)}):O},B=!0;const zt=ee=>k=>{if(B){const O=E instanceof Mt||ve(E)?l.state==="hasValue"?l.contents:Cn:E;E=typeof k=="function"?k(O):k,ve(E)&&(E=E.then(W=>(L={effect:ee,value:W},W)))}else{if(ve(k))throw X("Setting atoms to async values is not implemented.");typeof k!="function"&&(L={effect:ee,value:k}),gf(c,N,typeof k=="function"?O=>{const W=k(O);return L={effect:ee,value:W},W}:k)}},St=ee=>()=>zt(ee)(Cn),Ot=ee=>k=>{c.subscribeToTransactions(O=>{var W;let{currentTree:ne,previousTree:j}=O.getState();j||(j=ne);const Ie=(W=ne.atomValues.get(t))!==null&&W!==void 0?W:l;if(Ie.state==="hasValue"){var Ve,rt,Me,R;const A=Ie.contents,x=(Ve=j.atomValues.get(t))!==null&&Ve!==void 0?Ve:l,F=x.state==="hasValue"?x.contents:Cn;((rt=L)===null||rt===void 0?void 0:rt.effect)!==ee||((Me=L)===null||Me===void 0?void 0:Me.value)!==A?k(A,F,!ne.atomValues.has(t)):((R=L)===null||R===void 0?void 0:R.effect)===ee&&(L=null)}},t)};for(const ee of(V=e.effects_UNSTABLE)!==null&&V!==void 0?V:[]){var V;const k=ee({node:N,trigger:h,setSelf:zt(ee),resetSelf:St(ee),onSet:Ot(ee),getPromise:tt,getLoadable:le,getInfo_UNSTABLE:nt});if(k!=null){var D;u.set(c,[...(D=u.get(c))!==null&&D!==void 0?D:[],k])}}B=!1}if(!(E instanceof Mt)){var q;const B=E,le=ve(B)?fu(s(c,B)):Zn(B);f.atomValues.set(t,le),(q=c.getState().nextTree)===null||q===void 0||q.atomValues.set(t,le)}return()=>{var B;o--,(B=u.get(c))===null||B===void 0||B.forEach(le=>le()),u.delete(c),c.getState().knownAtoms.delete(t)}}function d(c,f){var h,_;return(h=(_=f.atomValues.get(t))!==null&&_!==void 0?_:i)!==null&&h!==void 0?h:l}function v(c,f){if(f.atomValues.has(t))return oe(f.atomValues.get(t));if(f.nonvalidatedAtoms.has(t)){if(i!=null)return i;if(n==null)return l;const h=f.nonvalidatedAtoms.get(t),_=n.validator(h,Cn);return i=_ instanceof Mt?l:Zn(_),i}else return l}function g(){i=void 0}function S(c,f,h){if(f.atomValues.has(t)){const _=oe(f.atomValues.get(t));if(_.state==="hasValue"&&h===_.contents)return new Map}else if(!f.nonvalidatedAtoms.has(t)&&h instanceof Mt)return new Map;return i=void 0,new Map().set(t,Zn(h))}function w(){return Qh(t)!==void 0&&o<=0}const N=qw({key:t,nodeType:"atom",peek:d,get:v,set:S,init:p,invalidate:g,shouldDeleteConfigOnRelease:w,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 N}function bh(e){const r=e,{default:t}=r,n=Oo(r,["default"]);return tR(t)?uR(Ze(ze({},n),{default:t})):iR(Ze(ze({},n),{default:t}))}function uR(e){const t=bh(Ze(ze({},e),{default:Cn,persistence_UNSTABLE:e.persistence_UNSTABLE===void 0?void 0:Ze(ze({},e.persistence_UNSTABLE),{validator:r=>r instanceof Mt?r:oe(e.persistence_UNSTABLE).validator(r,Cn)}),effects_UNSTABLE:e.effects_UNSTABLE})),n=Xl({key:`${e.key}__withFallback`,get:({get:r})=>{const o=r(t);return o instanceof Mt?e.default:o},set:({set:r},o)=>r(t,o),dangerouslyAllowMutability:e.dangerouslyAllowMutability});return eR(n.key,Qh(e.key)),n}var Gh=bh;class aR{constructor(t){var n;G(this,"_map",void 0),G(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 sR={MapCache:aR},cR=sR.MapCache,fR=Object.freeze({__proto__:null,MapCache:cR});const{LRUCache:Sf}=Hh,{MapCache:dR}=fR,ll={equality:"reference",eviction:"none",maxSize:1/0};function pR({equality:e=ll.equality,eviction:t=ll.eviction,maxSize:n=ll.maxSize}=ll){const r=hR(e);return vR(t,n,r)}function hR(e){switch(e){case"reference":return t=>t;case"value":return t=>xi(t)}throw X(`Unrecognized equality policy ${e}`)}function vR(e,t,n){switch(e){case"keep-all":return new dR({mapKey:n});case"lru":return new Sf({mapKey:n,maxSize:oe(t)});case"most-recent":return new Sf({mapKey:n,maxSize:1})}throw X(`Unrecognized eviction policy ${e}`)}var Zh=pR;const{setConfigDeletionHandler:mR}=be;function yR(e){var t,n;const r=Zh({equality:(t=(n=e.cachePolicyForParams_UNSTABLE)===null||n===void 0?void 0:n.equality)!==null&&t!==void 0?t:"value",eviction:"keep-all"});return o=>{var l;const i=r.get(o);if(i!=null)return i;const p=e,{cachePolicyForParams_UNSTABLE:u}=p,a=Oo(p,["cachePolicyForParams_UNSTABLE"]),s=Gh(Ze(ze({},a),{key:`${e.key}__${(l=xi(o))!==null&&l!==void 0?l:"void"}`,default:typeof e.default=="function"?e.default(o):e.default,retainedBy_UNSTABLE:typeof e.retainedBy_UNSTABLE=="function"?e.retainedBy_UNSTABLE(o):e.retainedBy_UNSTABLE,effects_UNSTABLE:typeof e.effects_UNSTABLE=="function"?e.effects_UNSTABLE(o):e.effects_UNSTABLE}));return r.set(o,s),mR(s.key,()=>{r.delete(o)}),s}}var gR=yR;const{setConfigDeletionHandler:SR}=be;let _R=0;function wR(e){var t,n;const r=Zh({equality:(t=(n=e.cachePolicyForParams_UNSTABLE)===null||n===void 0?void 0:n.equality)!==null&&t!==void 0?t:"value",eviction:"keep-all"});return o=>{var l;const i=r.get(o);if(i!=null)return i;const u=`${e.key}__selectorFamily/${(l=xi(o,{allowFunctions:!0}))!==null&&l!==void 0?l:"void"}/${_R++}`,a=v=>e.get(o)(v),s=e.cachePolicy_UNSTABLE,p=typeof e.retainedBy_UNSTABLE=="function"?e.retainedBy_UNSTABLE(o):e.retainedBy_UNSTABLE;let d;if(e.set!=null){const v=e.set;d=Xl({key:u,get:a,set:(S,w)=>v(o)(S,w),cachePolicy_UNSTABLE:s,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:p})}else d=Xl({key:u,get:a,cachePolicy_UNSTABLE:s,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:p});return r.set(o,d),SR(d.key,()=>{r.delete(o)}),d}}var En=wR;const RR=En({key:"__constant",get:e=>()=>e,cachePolicyForParams_UNSTABLE:{equality:"reference"}});function ER(e){return RR(e)}var kR=ER;const TR=En({key:"__error",get:e=>()=>{throw X(e)},cachePolicyForParams_UNSTABLE:{equality:"reference"}});function CR(e){return TR(e)}var NR=CR;function LR(e){return e}var xR=LR;const{loadableWithError:Yh,loadableWithPromise:Xh,loadableWithValue:Jh}=Mo;function Ai(e,t){const n=Array(t.length).fill(void 0),r=Array(t.length).fill(void 0);for(const[o,l]of t.entries())try{n[o]=e(l)}catch(i){r[o]=i}return[n,r]}function AR(e){return e!=null&&!ve(e)}function Pi(e){return Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(t=>e[t])}function ma(e,t){return Array.isArray(e)?t:Object.getOwnPropertyNames(e).reduce((n,r,o)=>Ze(ze({},n),{[r]:t[o]}),{})}function vr(e,t,n){const r=n.map((o,l)=>o==null?Jh(t[l]):ve(o)?Xh(o):Yh(o));return ma(e,r)}function PR(e,t){return t.map((n,r)=>n===void 0?e[r]:n)}const VR=En({key:"__waitForNone",get:e=>({get:t})=>{const n=Pi(e),[r,o]=Ai(t,n);return vr(e,r,o)},dangerouslyAllowMutability:!0}),MR=En({key:"__waitForAny",get:e=>({get:t})=>{const n=Pi(e),[r,o]=Ai(t,n);return o.some(l=>!ve(l))?vr(e,r,o):new Promise(l=>{for(const[i,u]of o.entries())ve(u)&&u.then(a=>{r[i]=a,o[i]=void 0,l(vr(e,r,o))}).catch(a=>{o[i]=a,l(vr(e,r,o))})})},dangerouslyAllowMutability:!0}),$R=En({key:"__waitForAll",get:e=>({get:t})=>{const n=Pi(e),[r,o]=Ai(t,n);if(o.every(i=>i==null))return ma(e,r);const l=o.find(AR);if(l!=null)throw l;return Promise.all(o).then(i=>ma(e,PR(r,i)))},dangerouslyAllowMutability:!0}),UR=En({key:"__waitForAllSettled",get:e=>({get:t})=>{const n=Pi(e),[r,o]=Ai(t,n);return o.every(l=>!ve(l))?vr(e,r,o):Promise.all(o.map((l,i)=>ve(l)?l.then(u=>{r[i]=u,o[i]=void 0}).catch(u=>{r[i]=void 0,o[i]=u}):null)).then(()=>vr(e,r,o))},dangerouslyAllowMutability:!0}),DR=En({key:"__noWait",get:e=>({get:t})=>{try{return Jh(t(e))}catch(n){return ve(n)?Xh(n):Yh(n)}},dangerouslyAllowMutability:!0});var IR={waitForNone:VR,waitForAny:MR,waitForAll:$R,waitForAllSettled:UR,noWait:DR};const{RecoilLoadable:zR}=Mo,{DefaultValue:OR}=be,{RecoilRoot:FR}=Xt,{isRecoilValue:BR}=In,{retentionZone:jR}=wi,{freshSnapshot:WR}=Uo,{useRecoilState:HR,useRecoilStateLoadable:KR,useRecoilValue:QR,useRecoilValueLoadable:bR,useResetRecoilState:GR,useSetRecoilState:ZR,useSetUnvalidatedAtomValues:YR}=a_,{useGotoRecoilSnapshot:XR,useRecoilSnapshot:JR,useRecoilTransactionObserver:qR,useTransactionObservation_DEPRECATED:eE}=Ih,{noWait:tE,waitForAll:nE,waitForAllSettled:rE,waitForAny:oE,waitForNone:lE}=IR;var J={DefaultValue:OR,isRecoilValue:BR,RecoilLoadable:zR,RecoilRoot:FR,useRecoilBridgeAcrossReactRoots_UNSTABLE:U_,atom:Gh,selector:Xl,atomFamily:gR,selectorFamily:En,constSelector:kR,errorSelector:NR,readOnlySelector:xR,noWait:tE,waitForNone:lE,waitForAny:oE,waitForAll:nE,waitForAllSettled:rE,useRecoilValue:QR,useRecoilValueLoadable:bR,useRecoilState:HR,useRecoilStateLoadable:KR,useSetRecoilState:ZR,useResetRecoilState:GR,useGetRecoilValueInfo_UNSTABLE:A_,useRecoilRefresher_UNSTABLE:sw,useRecoilCallback:ow,useRecoilTransaction_UNSTABLE:hw,useGotoRecoilSnapshot:XR,useRecoilSnapshot:JR,useRecoilTransactionObserver_UNSTABLE:qR,useTransactionObservation_UNSTABLE:eE,useSetUnvalidatedAtomValues_UNSTABLE:YR,snapshot_UNSTABLE:WR,useRetain:xh,retentionZone:jR},iE=J.DefaultValue,uE=J.isRecoilValue,aE=J.RecoilLoadable,qh=J.RecoilRoot,sE=J.useRecoilBridgeAcrossReactRoots_UNSTABLE,cE=J.atom,fE=J.selector,dE=J.atomFamily,pE=J.selectorFamily,hE=J.constSelector,vE=J.errorSelector,mE=J.readOnlySelector,yE=J.noWait,gE=J.waitForNone,SE=J.waitForAny,_E=J.waitForAll,wE=J.waitForAllSettled,RE=J.useRecoilValue,EE=J.useRecoilValueLoadable,kE=J.useRecoilState,TE=J.useRecoilStateLoadable,CE=J.useSetRecoilState,NE=J.useResetRecoilState,LE=J.useGetRecoilValueInfo_UNSTABLE,xE=J.useRecoilRefresher_UNSTABLE,AE=J.useRecoilCallback,PE=J.useRecoilTransaction_UNSTABLE,VE=J.useGotoRecoilSnapshot,ME=J.useRecoilSnapshot,$E=J.useRecoilTransactionObserver_UNSTABLE,UE=J.useTransactionObservation_UNSTABLE,DE=J.useSetUnvalidatedAtomValues_UNSTABLE,IE=J.snapshot_UNSTABLE,zE=J.useRetain,OE=J.retentionZone,FE=Object.freeze({__proto__:null,DefaultValue:iE,RecoilLoadable:aE,RecoilRoot:qh,atom:cE,atomFamily:dE,constSelector:hE,default:J,errorSelector:vE,isRecoilValue:uE,noWait:yE,readOnlySelector:mE,retentionZone:OE,selector:fE,selectorFamily:pE,snapshot_UNSTABLE:IE,useGetRecoilValueInfo_UNSTABLE:LE,useGotoRecoilSnapshot:VE,useRecoilBridgeAcrossReactRoots_UNSTABLE:sE,useRecoilCallback:AE,useRecoilRefresher_UNSTABLE:xE,useRecoilSnapshot:ME,useRecoilState:kE,useRecoilStateLoadable:TE,useRecoilTransactionObserver_UNSTABLE:$E,useRecoilTransaction_UNSTABLE:PE,useRecoilValue:RE,useRecoilValueLoadable:EE,useResetRecoilState:NE,useRetain:zE,useSetRecoilState:CE,useSetUnvalidatedAtomValues_UNSTABLE:DE,useTransactionObservation_UNSTABLE:UE,waitForAll:_E,waitForAllSettled:wE,waitForAny:SE,waitForNone:gE}),Ut={},ev=yv(FE);Object.defineProperty(Ut,"__esModule",{value:!0});var BE=Ut.resetRecoil=Ut.setRecoil=Ut.getRecoilPromise=QE=Ut.getRecoil=void 0,jE=ev,Wr=ev,un={};function WE(){un.get=(0,Wr.useRecoilCallback)(function(n){var r=n.snapshot;return function(o){return r.getLoadable(o).contents}},[]),un.getPromise=(0,Wr.useRecoilCallback)(function(n){var r=n.snapshot;return function(o){return r.getPromise(o)}},[]);var e=(0,jE.useGetRecoilValueInfo_UNSTABLE)(),t=(0,Wr.useRecoilTransaction_UNSTABLE)(function(n){var r=n.set;return r});return un.set=(0,Wr.useRecoilCallback)(function(n){var r=n.set;return function(o,l){var i={atom:t,selector:r}[e(o).type];i(o,l)}},[]),un.reset=(0,Wr.useRecoilCallback)(function(n){var r=n.reset;return r},[]),null}var HE=Ut.default=WE;function KE(e){return un.get(e)}var QE=Ut.getRecoil=KE;function bE(e){return un.getPromise(e)}Ut.getRecoilPromise=bE;function GE(e,t){un.set(e,t)}Ut.setRecoil=GE;function ZE(e){un.reset(e)}BE=Ut.resetRecoil=ZE;function tv({style:e,className:t}){return it.jsx("div",{className:t,style:e,children:it.jsx("div",{children:it.jsx("svg",{version:"1.1",style:{height:70},x:"0px",y:"0px",viewBox:"0 0 80 80",xmlSpace:"preserve",children:it.jsx("path",{fill:"#0a8dff",d:`M10,40c0,0,0-0.4,0-1.1c0-0.3,0-0.8,0-1.3c0-0.3,0-0.5,0-0.8c0-0.3,0.1-0.6,0.1-0.9c0.1-0.6,0.1-1.4,0.2-2.1
c0.2-0.8,0.3-1.6,0.5-2.5c0.2-0.9,0.6-1.8,0.8-2.8c0.3-1,0.8-1.9,1.2-3c0.5-1,1.1-2,1.7-3.1c0.7-1,1.4-2.1,2.2-3.1
c1.6-2.1,3.7-3.9,6-5.6c2.3-1.7,5-3,7.9-4.1c0.7-0.2,1.5-0.4,2.2-0.7c0.7-0.3,1.5-0.3,2.3-0.5c0.8-0.2,1.5-0.3,2.3-0.4l1.2-0.1
l0.6-0.1l0.3,0l0.1,0l0.1,0l0,0c0.1,0-0.1,0,0.1,0c1.5,0,2.9-0.1,4.5,0.2c0.8,0.1,1.6,0.1,2.4,0.3c0.8,0.2,1.5,0.3,2.3,0.5
c3,0.8,5.9,2,8.5,3.6c2.6,1.6,4.9,3.4,6.8,5.4c1,1,1.8,2.1,2.7,3.1c0.8,1.1,1.5,2.1,2.1,3.2c0.6,1.1,1.2,2.1,1.6,3.1
c0.4,1,0.9,2,1.2,3c0.3,1,0.6,1.9,0.8,2.7c0.2,0.9,0.3,1.6,0.5,2.4c0.1,0.4,0.1,0.7,0.2,1c0,0.3,0.1,0.6,0.1,0.9
c0.1,0.6,0.1,1,0.1,1.4C74,39.6,74,40,74,40c0.2,2.2-1.5,4.1-3.7,4.3s-4.1-1.5-4.3-3.7c0-0.1,0-0.2,0-0.3l0-0.4c0,0,0-0.3,0-0.9
c0-0.3,0-0.7,0-1.1c0-0.2,0-0.5,0-0.7c0-0.2-0.1-0.5-0.1-0.8c-0.1-0.6-0.1-1.2-0.2-1.9c-0.1-0.7-0.3-1.4-0.4-2.2
c-0.2-0.8-0.5-1.6-0.7-2.4c-0.3-0.8-0.7-1.7-1.1-2.6c-0.5-0.9-0.9-1.8-1.5-2.7c-0.6-0.9-1.2-1.8-1.9-2.7c-1.4-1.8-3.2-3.4-5.2-4.9
c-2-1.5-4.4-2.7-6.9-3.6c-0.6-0.2-1.3-0.4-1.9-0.6c-0.7-0.2-1.3-0.3-1.9-0.4c-1.2-0.3-2.8-0.4-4.2-0.5l-2,0c-0.7,0-1.4,0.1-2.1,0.1
c-0.7,0.1-1.4,0.1-2,0.3c-0.7,0.1-1.3,0.3-2,0.4c-2.6,0.7-5.2,1.7-7.5,3.1c-2.2,1.4-4.3,2.9-6,4.7c-0.9,0.8-1.6,1.8-2.4,2.7
c-0.7,0.9-1.3,1.9-1.9,2.8c-0.5,1-1,1.9-1.4,2.8c-0.4,0.9-0.8,1.8-1,2.6c-0.3,0.9-0.5,1.6-0.7,2.4c-0.2,0.7-0.3,1.4-0.4,2.1
c-0.1,0.3-0.1,0.6-0.2,0.9c0,0.3-0.1,0.6-0.1,0.8c0,0.5-0.1,0.9-0.1,1.3C10,39.6,10,40,10,40z`,children:it.jsx("animateTransform",{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 40 40",to:"360 40 40",dur:"0.6s",repeatCount:"indefinite"})})})})})}var ak=Object.freeze({__proto__:null,default:tv});const YE=(e,t)=>{switch(t.type){case"add":return[...e,t.data];case"remove":return e.splice(t.data,1),[...e];case"update":return e.map(n=>{var r;return n.formID===t.data.formID&&((r=Object.entries((t==null?void 0:t.data)||{}))==null||r.forEach(([o])=>{n[o]=t.data[o]})),null}),[...e];case"set":return e=typeof t.data=="undefined"?[]:t.data,[...e]}return null},XE=U.createContext(),JE=e=>{var o;let t=[];typeof btcbi!="undefined"&&btcbi.allForms!==null&&(t=(o=btcbi==null?void 0:btcbi.allForms)==null?void 0:o.map(l=>({formID:l.id,status:l.gclid,formName:l.title,shortcode:`wpforms id='${l.id}'`})));const[n,r]=U.useReducer(YE,t);return it.jsx(XE.Provider,{value:{allFormsData:{allForms:n,allFormsDispatchHandler:r}},children:e.children})},qE=U.lazy(()=>mv(()=>import("./bi.878.0.js").then(e=>e.A),["./bi.878.0.js","./App.css.342.1018.css"],import.meta.url)),ek=du.createRoot(document.getElementById("btcd-app"));ek.render(it.jsx(JE,{children:it.jsxs(qh,{children:[it.jsx(HE,{}),it.jsx(jy,{children:it.jsx(U.Suspense,{fallback:it.jsx(tv,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"82vh"}}),children:it.jsx(qE,{})})})]})}));export{tv as L,cE as R,mv as _,fE as a,iE as b,we as c,H0 as d,kE as e,RE as f,_f as g,ok as h,$y as i,it as j,CE as k,lk as l,QE as m,BE as n,rk as o,NE as p,nk as q,U as r,yv as s,Mp as t,gy as u,ak as v};