PHP-Course/exam/dist/assets/index-B-6Z6srI.js
2024-07-24 01:29:53 +02:00

165 lines
300 KiB
JavaScript

var gf=e=>{throw TypeError(e)};var oa=(e,t,n)=>t.has(e)||gf("Cannot "+n);var E=(e,t,n)=>(oa(e,t,"read from private field"),n?n.call(e):t.get(e)),q=(e,t,n)=>t.has(e)?gf("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),D=(e,t,n,r)=>(oa(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),be=(e,t,n)=>(oa(e,t,"access private method"),n);var Ri=(e,t,n,r)=>({set _(o){D(e,t,o,n)},get _(){return E(e,t,r)}});function wy(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 zp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function An(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Np={exports:{}},qs={},jp={exports:{}},U={};/**
* @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 yi=Symbol.for("react.element"),xy=Symbol.for("react.portal"),ky=Symbol.for("react.fragment"),_y=Symbol.for("react.strict_mode"),Cy=Symbol.for("react.profiler"),Ey=Symbol.for("react.provider"),Py=Symbol.for("react.context"),Ry=Symbol.for("react.forward_ref"),Ty=Symbol.for("react.suspense"),Oy=Symbol.for("react.memo"),My=Symbol.for("react.lazy"),Sf=Symbol.iterator;function $y(e){return e===null||typeof e!="object"?null:(e=Sf&&e[Sf]||e["@@iterator"],typeof e=="function"?e:null)}var Ap={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Dp=Object.assign,Bp={};function ao(e,t,n){this.props=e,this.context=t,this.refs=Bp,this.updater=n||Ap}ao.prototype.isReactComponent={};ao.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")};ao.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Up(){}Up.prototype=ao.prototype;function Gu(e,t,n){this.props=e,this.context=t,this.refs=Bp,this.updater=n||Ap}var qu=Gu.prototype=new Up;qu.constructor=Gu;Dp(qu,ao.prototype);qu.isPureReactComponent=!0;var wf=Array.isArray,Vp=Object.prototype.hasOwnProperty,Xu={current:null},Wp={key:!0,ref:!0,__self:!0,__source:!0};function Hp(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)Vp.call(t,r)&&!Wp.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:yi,type:e,key:i,ref:s,props:o,_owner:Xu.current}}function Ly(e,t){return{$$typeof:yi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Yu(e){return typeof e=="object"&&e!==null&&e.$$typeof===yi}function by(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var xf=/\/+/g;function ia(e,t){return typeof e=="object"&&e!==null&&e.key!=null?by(""+e.key):t.toString(36)}function Zi(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 yi:case xy:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+ia(s,0):r,wf(o)?(n="",e!=null&&(n=e.replace(xf,"$&/")+"/"),Zi(o,t,n,"",function(u){return u})):o!=null&&(Yu(o)&&(o=Ly(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(xf,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",wf(e))for(var l=0;l<e.length;l++){i=e[l];var a=r+ia(i,l);s+=Zi(i,t,n,a,o)}else if(a=$y(e),typeof a=="function")for(e=a.call(e),l=0;!(i=e.next()).done;)i=i.value,a=r+ia(i,l++),s+=Zi(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 Ti(e,t,n){if(e==null)return e;var r=[],o=0;return Zi(e,r,"","",function(i){return t.call(n,i,o++)}),r}function Iy(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ke={current:null},es={transition:null},Fy={ReactCurrentDispatcher:Ke,ReactCurrentBatchConfig:es,ReactCurrentOwner:Xu};function Kp(){throw Error("act(...) is not supported in production builds of React.")}U.Children={map:Ti,forEach:function(e,t,n){Ti(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ti(e,function(){t++}),t},toArray:function(e){return Ti(e,function(t){return t})||[]},only:function(e){if(!Yu(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};U.Component=ao;U.Fragment=ky;U.Profiler=Cy;U.PureComponent=Gu;U.StrictMode=_y;U.Suspense=Ty;U.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Fy;U.act=Kp;U.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=Dp({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Xu.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)Vp.call(t,a)&&!Wp.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:yi,type:e.type,key:o,ref:i,props:r,_owner:s}};U.createContext=function(e){return e={$$typeof:Py,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Ey,_context:e},e.Consumer=e};U.createElement=Hp;U.createFactory=function(e){var t=Hp.bind(null,e);return t.type=e,t};U.createRef=function(){return{current:null}};U.forwardRef=function(e){return{$$typeof:Ry,render:e}};U.isValidElement=Yu;U.lazy=function(e){return{$$typeof:My,_payload:{_status:-1,_result:e},_init:Iy}};U.memo=function(e,t){return{$$typeof:Oy,type:e,compare:t===void 0?null:t}};U.startTransition=function(e){var t=es.transition;es.transition={};try{e()}finally{es.transition=t}};U.unstable_act=Kp;U.useCallback=function(e,t){return Ke.current.useCallback(e,t)};U.useContext=function(e){return Ke.current.useContext(e)};U.useDebugValue=function(){};U.useDeferredValue=function(e){return Ke.current.useDeferredValue(e)};U.useEffect=function(e,t){return Ke.current.useEffect(e,t)};U.useId=function(){return Ke.current.useId()};U.useImperativeHandle=function(e,t,n){return Ke.current.useImperativeHandle(e,t,n)};U.useInsertionEffect=function(e,t){return Ke.current.useInsertionEffect(e,t)};U.useLayoutEffect=function(e,t){return Ke.current.useLayoutEffect(e,t)};U.useMemo=function(e,t){return Ke.current.useMemo(e,t)};U.useReducer=function(e,t,n){return Ke.current.useReducer(e,t,n)};U.useRef=function(e){return Ke.current.useRef(e)};U.useState=function(e){return Ke.current.useState(e)};U.useSyncExternalStore=function(e,t,n){return Ke.current.useSyncExternalStore(e,t,n)};U.useTransition=function(){return Ke.current.useTransition()};U.version="18.3.1";jp.exports=U;var R=jp.exports;const Qn=zp(R),kf=wy({__proto__:null,default:Qn},[R]);/**
* @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 zy=R,Ny=Symbol.for("react.element"),jy=Symbol.for("react.fragment"),Ay=Object.prototype.hasOwnProperty,Dy=zy.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,By={key:!0,ref:!0,__self:!0,__source:!0};function Qp(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)Ay.call(t,r)&&!By.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:Ny,type:e,key:i,ref:s,props:o,_owner:Dy.current}}qs.Fragment=jy;qs.jsx=Qp;qs.jsxs=Qp;Np.exports=qs;var M=Np.exports,Xs=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(){}},Ys=typeof window>"u"||"Deno"in globalThis;function $t(){}function Uy(e,t){return typeof e=="function"?e(t):e}function Vy(e){return typeof e=="number"&&e>=0&&e!==1/0}function Wy(e,t){return Math.max(e+(t||0)-Date.now(),0)}function _f(e,t){return typeof e=="function"?e(t):e}function Hy(e,t){return typeof e=="function"?e(t):e}function Cf(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:l}=e;if(s){if(r){if(t.queryHash!==Ju(s,t.options))return!1}else if(!Ho(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 Ef(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Wo(t.options.mutationKey)!==Wo(i))return!1}else if(!Ho(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Ju(e,t){return((t==null?void 0:t.queryKeyHashFn)||Wo)(e)}function Wo(e){return JSON.stringify(e,(t,n)=>Wa(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Ho(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Ho(e[n],t[n])):!1}function Gp(e,t){if(e===t)return e;const n=Pf(e)&&Pf(t);if(n||Wa(e)&&Wa(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 c=n?u:i[u];(!n&&r.includes(c)||n)&&e[c]===void 0&&t[c]===void 0?(l[c]=void 0,a++):(l[c]=Gp(e[c],t[c]),l[c]===e[c]&&e[c]!==void 0&&a++)}return o===s&&a===o?e:l}return t}function Pf(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Wa(e){if(!Rf(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Rf(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Rf(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ky(e){return new Promise(t=>{setTimeout(t,e)})}function Qy(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Gp(e,t):t}function Gy(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function qy(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var qp=Symbol();function Xp(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===qp?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Zn,xn,Br,Tp,Xy=(Tp=class extends Xs{constructor(){super();q(this,Zn);q(this,xn);q(this,Br);D(this,Br,t=>{if(!Ys&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){E(this,xn)||this.setEventListener(E(this,Br))}onUnsubscribe(){var t;this.hasListeners()||((t=E(this,xn))==null||t.call(this),D(this,xn,void 0))}setEventListener(t){var n;D(this,Br,t),(n=E(this,xn))==null||n.call(this),D(this,xn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){E(this,Zn)!==t&&(D(this,Zn,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof E(this,Zn)=="boolean"?E(this,Zn):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Zn=new WeakMap,xn=new WeakMap,Br=new WeakMap,Tp),Yp=new Xy,Ur,kn,Vr,Op,Yy=(Op=class extends Xs{constructor(){super();q(this,Ur,!0);q(this,kn);q(this,Vr);D(this,Vr,t=>{if(!Ys&&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(){E(this,kn)||this.setEventListener(E(this,Vr))}onUnsubscribe(){var t;this.hasListeners()||((t=E(this,kn))==null||t.call(this),D(this,kn,void 0))}setEventListener(t){var n;D(this,Vr,t),(n=E(this,kn))==null||n.call(this),D(this,kn,t(this.setOnline.bind(this)))}setOnline(t){E(this,Ur)!==t&&(D(this,Ur,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return E(this,Ur)}},Ur=new WeakMap,kn=new WeakMap,Vr=new WeakMap,Op),vs=new Yy;function Jy(e){return Math.min(1e3*2**e,3e4)}function Jp(e){return(e??"online")==="online"?vs.isOnline():!0}var Zp=class{constructor(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function sa(e){return e instanceof Zp}function eh(e){let t=!1,n=0,r=!1,o,i,s;const l=new Promise((p,h)=>{i=p,s=h}),a=p=>{var h;r||(g(new Zp(p)),(h=e.abort)==null||h.call(e))},u=()=>{t=!0},c=()=>{t=!1},d=()=>Yp.isFocused()&&(e.networkMode==="always"||vs.isOnline())&&e.canRun(),f=()=>Jp(e.networkMode)&&e.canRun(),v=p=>{var h;r||(r=!0,(h=e.onSuccess)==null||h.call(e,p),o==null||o(),i(p))},g=p=>{var h;r||(r=!0,(h=e.onError)==null||h.call(e,p),o==null||o(),s(p))},y=()=>new Promise(p=>{var h;o=m=>{(r||d())&&p(m)},(h=e.onPause)==null||h.call(e)}).then(()=>{var p;o=void 0,r||(p=e.onContinue)==null||p.call(e)}),k=()=>{if(r)return;let p;const h=n===0?e.initialPromise:void 0;try{p=h??e.fn()}catch(m){p=Promise.reject(m)}Promise.resolve(p).then(v).catch(m=>{var _;if(r)return;const S=e.retry??(Ys?0:3),w=e.retryDelay??Jy,C=typeof w=="function"?w(n,m):w,x=S===!0||typeof S=="number"&&n<S||typeof S=="function"&&S(n,m);if(t||!x){g(m);return}n++,(_=e.onFail)==null||_.call(e,n,m),Ky(C).then(()=>d()?void 0:y()).then(()=>{t?g(m):k()})})};return{promise:l,cancel:a,continue:()=>(o==null||o(),l),cancelRetry:u,continueRetry:c,canStart:f,start:()=>(f()?k():y().then(k),l)}}function Zy(){let e=[],t=0,n=f=>{f()},r=f=>{f()},o=f=>setTimeout(f,0);const i=f=>{o=f},s=f=>{let v;t++;try{v=f()}finally{t--,t||u()}return v},l=f=>{t?e.push(f):o(()=>{n(f)})},a=f=>(...v)=>{l(()=>{f(...v)})},u=()=>{const f=e;e=[],f.length&&o(()=>{r(()=>{f.forEach(v=>{n(v)})})})};return{batch:s,batchCalls:a,schedule:l,setNotifyFunction:f=>{n=f},setBatchNotifyFunction:f=>{r=f},setScheduler:i}}var Ve=Zy(),er,Mp,th=(Mp=class{constructor(){q(this,er)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Vy(this.gcTime)&&D(this,er,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ys?1/0:5*60*1e3))}clearGcTimeout(){E(this,er)&&(clearTimeout(E(this,er)),D(this,er,void 0))}},er=new WeakMap,Mp),Wr,Hr,mt,Ne,hi,tr,bt,tn,$p,ev=($p=class extends th{constructor(t){super();q(this,bt);q(this,Wr);q(this,Hr);q(this,mt);q(this,Ne);q(this,hi);q(this,tr);D(this,tr,!1),D(this,hi,t.defaultOptions),this.setOptions(t.options),this.observers=[],D(this,mt,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,D(this,Wr,t.state||nv(this.options)),this.state=E(this,Wr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=E(this,Ne))==null?void 0:t.promise}setOptions(t){this.options={...E(this,hi),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&E(this,mt).remove(this)}setData(t,n){const r=Qy(this.state.data,t,this.options);return be(this,bt,tn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){be(this,bt,tn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=E(this,Ne))==null?void 0:r.promise;return(o=E(this,Ne))==null||o.cancel(t),n?n.then($t).catch($t):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(E(this,Wr))}isActive(){return this.observers.some(t=>Hy(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}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||!Wy(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=E(this,Ne))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=E(this,Ne))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),E(this,mt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(E(this,Ne)&&(E(this,tr)?E(this,Ne).cancel({revert:!0}):E(this,Ne).cancelRetry()),this.scheduleGc()),E(this,mt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||be(this,bt,tn).call(this,{type:"invalidate"})}fetch(t,n){var a,u,c;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(E(this,Ne))return E(this,Ne).continueRetry(),E(this,Ne).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(f=>f.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,o=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(D(this,tr,!0),r.signal)})},i=()=>{const d=Xp(this.options,n),f={queryKey:this.queryKey,meta:this.meta};return o(f),D(this,tr,!1),this.options.persister?this.options.persister(d,f,this):d(f)},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),D(this,Hr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=s.fetchOptions)==null?void 0:u.meta))&&be(this,bt,tn).call(this,{type:"fetch",meta:(c=s.fetchOptions)==null?void 0:c.meta});const l=d=>{var f,v,g,y;sa(d)&&d.silent||be(this,bt,tn).call(this,{type:"error",error:d}),sa(d)||((v=(f=E(this,mt).config).onError)==null||v.call(f,d,this),(y=(g=E(this,mt).config).onSettled)==null||y.call(g,this.state.data,d,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return D(this,Ne,eh({initialPromise:n==null?void 0:n.initialPromise,fn:s.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{var f,v,g,y;if(d===void 0){l(new Error(`${this.queryHash} data is undefined`));return}this.setData(d),(v=(f=E(this,mt).config).onSuccess)==null||v.call(f,d,this),(y=(g=E(this,mt).config).onSettled)==null||y.call(g,d,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:l,onFail:(d,f)=>{be(this,bt,tn).call(this,{type:"failed",failureCount:d,error:f})},onPause:()=>{be(this,bt,tn).call(this,{type:"pause"})},onContinue:()=>{be(this,bt,tn).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),E(this,Ne).start()}},Wr=new WeakMap,Hr=new WeakMap,mt=new WeakMap,Ne=new WeakMap,hi=new WeakMap,tr=new WeakMap,bt=new WeakSet,tn=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,...tv(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 sa(o)&&o.revert&&E(this,Hr)?{...E(this,Hr),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),Ve.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),E(this,mt).notify({query:this,type:"updated",action:t})})},$p);function tv(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Jp(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function nv(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 Wt,Lp,rv=(Lp=class extends Xs{constructor(t={}){super();q(this,Wt);this.config=t,D(this,Wt,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??Ju(o,n);let s=this.get(i);return s||(s=new ev({cache:this,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){E(this,Wt).has(t.queryHash)||(E(this,Wt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=E(this,Wt).get(t.queryHash);n&&(t.destroy(),n===t&&E(this,Wt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ve.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return E(this,Wt).get(t)}getAll(){return[...E(this,Wt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Cf(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Cf(t,r)):n}notify(t){Ve.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ve.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ve.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Wt=new WeakMap,Lp),Ht,Be,nr,Kt,mn,bp,ov=(bp=class extends th{constructor(t){super();q(this,Kt);q(this,Ht);q(this,Be);q(this,nr);this.mutationId=t.mutationId,D(this,Be,t.mutationCache),D(this,Ht,[]),this.state=t.state||iv(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){E(this,Ht).includes(t)||(E(this,Ht).push(t),this.clearGcTimeout(),E(this,Be).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){D(this,Ht,E(this,Ht).filter(n=>n!==t)),this.scheduleGc(),E(this,Be).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){E(this,Ht).length||(this.state.status==="pending"?this.scheduleGc():E(this,Be).remove(this))}continue(){var t;return((t=E(this,nr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,i,s,l,a,u,c,d,f,v,g,y,k,p,h,m,S,w,C,x;D(this,nr,eh({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(_,b)=>{be(this,Kt,mn).call(this,{type:"failed",failureCount:_,error:b})},onPause:()=>{be(this,Kt,mn).call(this,{type:"pause"})},onContinue:()=>{be(this,Kt,mn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>E(this,Be).canRun(this)}));const n=this.state.status==="pending",r=!E(this,nr).canStart();try{if(!n){be(this,Kt,mn).call(this,{type:"pending",variables:t,isPaused:r}),await((i=(o=E(this,Be).config).onMutate)==null?void 0:i.call(o,t,this));const b=await((l=(s=this.options).onMutate)==null?void 0:l.call(s,t));b!==this.state.context&&be(this,Kt,mn).call(this,{type:"pending",context:b,variables:t,isPaused:r})}const _=await E(this,nr).start();return await((u=(a=E(this,Be).config).onSuccess)==null?void 0:u.call(a,_,t,this.state.context,this)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,_,t,this.state.context)),await((v=(f=E(this,Be).config).onSettled)==null?void 0:v.call(f,_,null,this.state.variables,this.state.context,this)),await((y=(g=this.options).onSettled)==null?void 0:y.call(g,_,null,t,this.state.context)),be(this,Kt,mn).call(this,{type:"success",data:_}),_}catch(_){try{throw await((p=(k=E(this,Be).config).onError)==null?void 0:p.call(k,_,t,this.state.context,this)),await((m=(h=this.options).onError)==null?void 0:m.call(h,_,t,this.state.context)),await((w=(S=E(this,Be).config).onSettled)==null?void 0:w.call(S,void 0,_,this.state.variables,this.state.context,this)),await((x=(C=this.options).onSettled)==null?void 0:x.call(C,void 0,_,t,this.state.context)),_}finally{be(this,Kt,mn).call(this,{type:"error",error:_})}}finally{E(this,Be).runNext(this)}}},Ht=new WeakMap,Be=new WeakMap,nr=new WeakMap,Kt=new WeakSet,mn=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),Ve.batch(()=>{E(this,Ht).forEach(r=>{r.onMutationUpdate(t)}),E(this,Be).notify({mutation:this,type:"updated",action:t})})},bp);function iv(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ot,mi,Ip,sv=(Ip=class extends Xs{constructor(t={}){super();q(this,ot);q(this,mi);this.config=t,D(this,ot,new Map),D(this,mi,Date.now())}build(t,n,r){const o=new ov({mutationCache:this,mutationId:++Ri(this,mi)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){const n=Oi(t),r=E(this,ot).get(n)??[];r.push(t),E(this,ot).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Oi(t);if(E(this,ot).has(n)){const o=(r=E(this,ot).get(n))==null?void 0:r.filter(i=>i!==t);o&&(o.length===0?E(this,ot).delete(n):E(this,ot).set(n,o))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=E(this,ot).get(Oi(t)))==null?void 0:r.find(o=>o.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=E(this,ot).get(Oi(t)))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){Ve.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...E(this,ot).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ef(n,r))}findAll(t={}){return this.getAll().filter(n=>Ef(t,n))}notify(t){Ve.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ve.batch(()=>Promise.all(t.map(n=>n.continue().catch($t))))}},ot=new WeakMap,mi=new WeakMap,Ip);function Oi(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function lv(e){return{onFetch:(t,n)=>{const r=async()=>{var g,y,k,p,h;const o=t.options,i=(k=(y=(g=t.fetchOptions)==null?void 0:g.meta)==null?void 0:y.fetchMore)==null?void 0:k.direction,s=((p=t.state.data)==null?void 0:p.pages)||[],l=((h=t.state.data)==null?void 0:h.pageParams)||[],a={pages:[],pageParams:[]};let u=!1;const c=m=>{Object.defineProperty(m,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",()=>{u=!0}),t.signal)})},d=Xp(t.options,t.fetchOptions),f=async(m,S,w)=>{if(u)return Promise.reject();if(S==null&&m.pages.length)return Promise.resolve(m);const C={queryKey:t.queryKey,pageParam:S,direction:w?"backward":"forward",meta:t.options.meta};c(C);const x=await d(C),{maxPages:_}=t.options,b=w?qy:Gy;return{pages:b(m.pages,x,_),pageParams:b(m.pageParams,S,_)}};let v;if(i&&s.length){const m=i==="backward",S=m?av:Tf,w={pages:s,pageParams:l},C=S(o,w);v=await f(w,C,m)}else{v=await f(a,l[0]??o.initialPageParam);const m=e??s.length;for(let S=1;S<m;S++){const w=Tf(o,v);v=await f(v,w)}}return v};t.options.persister?t.fetchFn=()=>{var o,i;return(i=(o=t.options).persister)==null?void 0:i.call(o,r,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=r}}}function Tf(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 av(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 me,_n,Cn,Kr,Qr,En,Gr,qr,Fp,uv=(Fp=class{constructor(e={}){q(this,me);q(this,_n);q(this,Cn);q(this,Kr);q(this,Qr);q(this,En);q(this,Gr);q(this,qr);D(this,me,e.queryCache||new rv),D(this,_n,e.mutationCache||new sv),D(this,Cn,e.defaultOptions||{}),D(this,Kr,new Map),D(this,Qr,new Map),D(this,En,0)}mount(){Ri(this,En)._++,E(this,En)===1&&(D(this,Gr,Yp.subscribe(async e=>{e&&(await this.resumePausedMutations(),E(this,me).onFocus())})),D(this,qr,vs.subscribe(async e=>{e&&(await this.resumePausedMutations(),E(this,me).onOnline())})))}unmount(){var e,t;Ri(this,En)._--,E(this,En)===0&&((e=E(this,Gr))==null||e.call(this),D(this,Gr,void 0),(t=E(this,qr))==null||t.call(this),D(this,qr,void 0))}isFetching(e){return E(this,me).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return E(this,_n).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=E(this,me).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=E(this,me).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(_f(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return E(this,me).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=E(this,me).get(r.queryHash),i=o==null?void 0:o.state.data,s=Uy(t,i);if(s!==void 0)return E(this,me).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return Ve.batch(()=>E(this,me).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=E(this,me).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=E(this,me);Ve.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=E(this,me),r={type:"active",...e};return Ve.batch(()=>(n.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=Ve.batch(()=>E(this,me).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then($t).catch($t)}invalidateQueries(e={},t={}){return Ve.batch(()=>{if(E(this,me).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=Ve.batch(()=>E(this,me).findAll(e).filter(o=>!o.isDisabled()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch($t)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then($t)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=E(this,me).build(this,t);return n.isStaleByTime(_f(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then($t).catch($t)}fetchInfiniteQuery(e){return e.behavior=lv(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then($t).catch($t)}resumePausedMutations(){return vs.isOnline()?E(this,_n).resumePausedMutations():Promise.resolve()}getQueryCache(){return E(this,me)}getMutationCache(){return E(this,_n)}getDefaultOptions(){return E(this,Cn)}setDefaultOptions(e){D(this,Cn,e)}setQueryDefaults(e,t){E(this,Kr).set(Wo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...E(this,Kr).values()];let n={};return t.forEach(r=>{Ho(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){E(this,Qr).set(Wo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...E(this,Qr).values()];let n={};return t.forEach(r=>{Ho(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...E(this,Cn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Ju(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===qp&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...E(this,Cn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){E(this,me).clear(),E(this,_n).clear()}},me=new WeakMap,_n=new WeakMap,Cn=new WeakMap,Kr=new WeakMap,Qr=new WeakMap,En=new WeakMap,Gr=new WeakMap,qr=new WeakMap,Fp),cv=R.createContext(void 0),fv=({client:e,children:t})=>(R.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),M.jsx(cv.Provider,{value:e,children:t}));const Of="pushstate",Mf="popstate",nh="beforeunload",rh=e=>(e.preventDefault(),e.returnValue=""),dv=()=>{removeEventListener(nh,rh,{capture:!0})};function oh(e){let t=e.getLocation();const n=new Set;let r=[];const o=()=>{t=e.getLocation(),n.forEach(s=>s())},i=async(s,l)=>{var a;if(!((l==null?void 0:l.ignoreBlocker)??!1)&&typeof document<"u"&&r.length){for(const c of r)if(!await c()){(a=e.onBlocked)==null||a.call(e,o);return}}s()};return{get location(){return t},subscribers:n,subscribe:s=>(n.add(s),()=>{n.delete(s)}),push:(s,l,a)=>{l=Lo(l),i(()=>{e.pushState(s,l),o()},a)},replace:(s,l,a)=>{l=Lo(l),i(()=>{e.replaceState(s,l),o()},a)},go:(s,l)=>{i(()=>{e.go(s),o()},l)},back:s=>{i(()=>{e.back(),o()},s)},forward:s=>{i(()=>{e.forward(),o()},s)},createHref:s=>e.createHref(s),block:s=>(r.push(s),r.length===1&&addEventListener(nh,rh,{capture:!0}),()=>{r=r.filter(l=>l!==s),r.length||dv()}),flush:()=>{var s;return(s=e.flush)==null?void 0:s.call(e)},destroy:()=>{var s;return(s=e.destroy)==null?void 0:s.call(e)},notify:o}}function Lo(e){return e||(e={}),{...e,key:ih()}}function pv(e){const t=typeof document<"u"?window:void 0,n=t.history.pushState,r=t.history.replaceState,o=y=>y,i=()=>Ha(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state);let s=i(),l;const a=()=>s;let u,c;const d=()=>{if(!u)return;(u.isPush?n:r).call(t.history,u.state,"",u.href),u=void 0,c=void 0,l=void 0},f=(y,k,p)=>{const h=o(k);c||(l=s),s=Ha(k,p),u={href:h,state:p,isPush:(u==null?void 0:u.isPush)||y==="push"},c||(c=Promise.resolve().then(()=>d()))},v=()=>{s=i(),g.notify()},g=oh({getLocation:a,pushState:(y,k)=>f("push",y,k),replaceState:(y,k)=>f("replace",y,k),back:()=>t.history.back(),forward:()=>t.history.forward(),go:y=>t.history.go(y),createHref:y=>o(y),flush:d,destroy:()=>{t.history.pushState=n,t.history.replaceState=r,t.removeEventListener(Of,v),t.removeEventListener(Mf,v)},onBlocked:y=>{l&&s!==l&&(s=l,y())}});return t.addEventListener(Of,v),t.addEventListener(Mf,v),t.history.pushState=function(...y){const k=n.apply(t.history,y);return v(),k},t.history.replaceState=function(...y){const k=r.apply(t.history,y);return v(),k},g}function hv(e={initialEntries:["/"]}){const t=e.initialEntries;let n=e.initialIndex??t.length-1,r={key:ih()};return oh({getLocation:()=>Ha(t[n],r),pushState:(i,s)=>{r=s,t.splice,n<t.length-1&&t.splice(n+1),t.push(i),n=Math.max(t.length-1,0)},replaceState:(i,s)=>{r=s,t[n]=i},back:()=>{r=Lo(r),n=Math.max(n-1,0)},forward:()=>{r=Lo(r),n=Math.min(n+1,t.length-1)},go:i=>{r=Lo(r),n=Math.min(Math.max(n+i,0),t.length-1)},createHref:i=>i})}function Ha(e,t){const n=e.indexOf("#"),r=e.indexOf("?");return{href:e,pathname:e.substring(0,n>0?r>0?Math.min(n,r):n:r>0?r:e.length),hash:n>-1?e.substring(n):"",search:r>-1?e.slice(r,n===-1?void 0:n):"",state:t||{}}}function ih(){return(Math.random()+1).toString(36).substring(7)}var mv="Invariant failed";function qe(e,t){if(!e)throw new Error(mv)}const la=R.createContext(null);function sh(){return typeof document>"u"?la:window.__TSR_ROUTER_CONTEXT__?window.__TSR_ROUTER_CONTEXT__:(window.__TSR_ROUTER_CONTEXT__=la,la)}function Dn(e){const t=R.useContext(sh());return e==null||e.warn,t}var lh={exports:{}},ah={},uh={exports:{}},ch={};/**
* @license React
* use-sync-external-store-shim.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 Xr=R;function yv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var vv=typeof Object.is=="function"?Object.is:yv,gv=Xr.useState,Sv=Xr.useEffect,wv=Xr.useLayoutEffect,xv=Xr.useDebugValue;function kv(e,t){var n=t(),r=gv({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return wv(function(){o.value=n,o.getSnapshot=t,aa(o)&&i({inst:o})},[e,n,t]),Sv(function(){return aa(o)&&i({inst:o}),e(function(){aa(o)&&i({inst:o})})},[e]),xv(n),n}function aa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!vv(e,n)}catch{return!0}}function _v(e,t){return t()}var Cv=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?_v:kv;ch.useSyncExternalStore=Xr.useSyncExternalStore!==void 0?Xr.useSyncExternalStore:Cv;uh.exports=ch;var Ev=uh.exports;/**
* @license React
* use-sync-external-store-shim/with-selector.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 Js=R,Pv=Ev;function Rv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Tv=typeof Object.is=="function"?Object.is:Rv,Ov=Pv.useSyncExternalStore,Mv=Js.useRef,$v=Js.useEffect,Lv=Js.useMemo,bv=Js.useDebugValue;ah.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=Mv(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=Lv(function(){function a(v){if(!u){if(u=!0,c=v,v=r(v),o!==void 0&&s.hasValue){var g=s.value;if(o(g,v))return d=g}return d=v}if(g=d,Tv(c,v))return g;var y=r(v);return o!==void 0&&o(g,y)?g:(c=v,d=y)}var u=!1,c,d,f=n===void 0?null:n;return[function(){return a(t())},f===null?void 0:function(){return a(f())}]},[t,n,r,o]);var l=Ov(e,i[0],i[1]);return $v(function(){s.hasValue=!0,s.value=l},[l]),bv(l),l};lh.exports=ah;var Iv=lh.exports;class Fv{constructor(t,n){this.listeners=new Set,this._batching=!1,this._flushing=0,this.subscribe=r=>{var o,i;this.listeners.add(r);const s=(i=(o=this.options)==null?void 0:o.onSubscribe)==null?void 0:i.call(o,r,this);return()=>{this.listeners.delete(r),s==null||s()}},this.setState=r=>{var o,i,s;const l=this.state;this.state=(o=this.options)!=null&&o.updateFn?this.options.updateFn(l)(r):r(l),(s=(i=this.options)==null?void 0:i.onUpdate)==null||s.call(i),this._flush()},this._flush=()=>{if(this._batching)return;const r=++this._flushing;this.listeners.forEach(o=>{this._flushing===r&&o()})},this.batch=r=>{if(this._batching)return r();this._batching=!0,r(),this._batching=!1,this._flush()},this.state=t,this.options=n}}function zv(e,t=n=>n){return Iv.useSyncExternalStoreWithSelector(e.subscribe,()=>e.state,()=>e.state,t,Nv)}function Nv(e,t){if(Object.is(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!Object.is(e[n[r]],t[n[r]]))return!1;return!0}const st="__root__";function jv(e,t){let n,r,o,i="";for(n in e)if((o=e[n])!==void 0)if(Array.isArray(o))for(r=0;r<o.length;r++)i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o[r]);else i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o);return""+i}function $f(e){if(!e)return"";const t=decodeURIComponent(e);return t==="false"?!1:t==="true"?!0:+t*0===0&&+t+""===t?+t:t}function Av(e,t){let n,r;const o={},i=e.split("&");for(;n=i.shift();){const s=n.indexOf("=");if(s!==-1){r=n.slice(0,s);const l=n.slice(s+1);o[r]!==void 0?o[r]=[].concat(o[r],$f(l)):o[r]=$f(l)}else r=n,o[r]=""}return o}const Dv=Uv(JSON.parse),Bv=Vv(JSON.stringify,JSON.parse);function Uv(e){return t=>{t.substring(0,1)==="?"&&(t=t.substring(1));const n=Av(t);for(const r in n){const o=n[r];if(typeof o=="string")try{n[r]=e(o)}catch{}}return n}}function Vv(e,t){function n(r){if(typeof r=="object"&&r!==null)try{return e(r)}catch{}else if(typeof r=="string"&&typeof t=="function")try{return t(r),e(r)}catch{}return r}return r=>{r={...r},Object.keys(r).forEach(i=>{const s=r[i];typeof s>"u"||s===void 0?delete r[i]:r[i]=n(s)});const o=jv(r).toString();return o?`?${o}`:""}}function gs(e){return e[e.length-1]}function Wv(e){return typeof e=="function"}function Sr(e,t){return Wv(e)?e(t):e}function bo(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function Bt(e,t){if(e===t)return e;const n=t,r=bf(e)&&bf(n);if(r||Ss(e)&&Ss(n)){const o=r?e:Object.keys(e),i=o.length,s=r?n:Object.keys(n),l=s.length,a=r?[]:{};let u=0;for(let c=0;c<l;c++){const d=r?c:s[c];(!r&&o.includes(d)||r)&&e[d]===void 0&&n[d]===void 0?(a[d]=void 0,u++):(a[d]=Bt(e[d],n[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return i===l&&u===i?e:a}return n}function Ss(e){if(!Lf(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const n=t.prototype;return!(!Lf(n)||!n.hasOwnProperty("isPrototypeOf"))}function Lf(e){return Object.prototype.toString.call(e)==="[object Object]"}function bf(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Lr(e,t,n=!1){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(Ss(e)&&Ss(t)){const r=Object.keys(e).filter(i=>e[i]!==void 0),o=Object.keys(t).filter(i=>t[i]!==void 0);return!n&&r.length!==o.length?!1:!o.some(i=>!(i in e)||!Lr(e[i],t[i],n))}return Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:!e.some((r,o)=>!Lr(r,t[o],n)):!1}const ua=typeof window<"u"?R.useLayoutEffect:R.useEffect;function gr(e){let t,n;const r=new Promise((o,i)=>{t=o,n=i});return r.status="pending",r.resolve=o=>{r.status="resolved",r.value=o,t(o),e==null||e(o)},r.reject=o=>{r.status="rejected",n(o)},r}function If(e){const t=R.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function Tn(e){return Zs(e.filter(Boolean).join("/"))}function Zs(e){return e.replace(/\/{2,}/g,"/")}function Zu(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function Gn(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function Hv(e){return Gn(Zu(e))}function ws(e,t){return e.endsWith("/")&&e!=="/"&&e!==`${t}/`?e.slice(0,-1):e}function Kv(e,t,n){return ws(e,n)===ws(t,n)}function Qv({basepath:e,base:t,to:n,trailingSlash:r="never"}){var o,i;t=t.replace(new RegExp(`^${e}`),"/"),n=n.replace(new RegExp(`^${e}`),"/");let s=Yr(t);const l=Yr(n);s.length>1&&((o=gs(s))==null?void 0:o.value)==="/"&&s.pop(),l.forEach((u,c)=>{u.value==="/"?c?c===l.length-1&&s.push(u):s=[u]:u.value===".."?s.pop():u.value==="."||s.push(u)}),s.length>1&&(((i=gs(s))==null?void 0:i.value)==="/"?r==="never"&&s.pop():r==="always"&&s.push({type:"pathname",value:"/"}));const a=Tn([e,...s.map(u=>u.value)]);return Zs(a)}function Yr(e){if(!e)return[];e=Zs(e);const t=[];if(e.slice(0,1)==="/"&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),!e)return t;const n=e.split("/").filter(Boolean);return t.push(...n.map(r=>r==="$"||r==="*"?{type:"wildcard",value:r}:r.charAt(0)==="$"?{type:"param",value:r}:{type:"pathname",value:decodeURIComponent(r)})),e.slice(-1)==="/"&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),t}function ca({path:e,params:t,leaveWildcards:n,leaveParams:r}){const o=Yr(e),i={};for(const[s,l]of Object.entries(t)){const a=typeof l=="string";["*","_splat"].includes(s)?i[s]=a?encodeURI(l):l:i[s]=a?encodeURIComponent(l):l}return Tn(o.map(s=>{if(s.type==="wildcard"){const l=i._splat;return n?`${s.value}${l??""}`:l}if(s.type==="param"){if(r){const l=i[s.value];return`${s.value}${l??""}`}return i[s.value.substring(1)]??"undefined"}return s.value}))}function Mi(e,t,n){const r=Gv(e,t,n);if(!(n.to&&!r))return r??{}}function Ff(e,t){switch(!0){case e==="/":return t;case t===e:return"";case t.length<e.length:return t;case t[e.length]!=="/":return t;case t.startsWith(e):return t.slice(e.length);default:return t}}function Gv(e,t,n){t=Ff(e,t);const r=Ff(e,`${n.to??"$"}`),o=Yr(t),i=Yr(r);t.startsWith("/")||o.unshift({type:"pathname",value:"/"}),r.startsWith("/")||i.unshift({type:"pathname",value:"/"});const s={};return(()=>{for(let a=0;a<Math.max(o.length,i.length);a++){const u=o[a],c=i[a],d=a>=o.length-1,f=a>=i.length-1;if(c){if(c.type==="wildcard"){if(u!=null&&u.value){const v=decodeURI(Tn(o.slice(a).map(g=>g.value)));return s["*"]=v,s._splat=v,!0}return!1}if(c.type==="pathname"){if(c.value==="/"&&!(u!=null&&u.value))return!0;if(u){if(n.caseSensitive){if(c.value!==u.value)return!1}else if(c.value.toLowerCase()!==u.value.toLowerCase())return!1}}if(!u)return!1;if(c.type==="param"){if(u.value==="/")return!1;u.value.charAt(0)!=="$"&&(s[c.value.substring(1)]=decodeURIComponent(u.value))}}if(!d&&f)return s["**"]=Tn(o.slice(a+1).map(v=>v.value)),!!n.fuzzy&&(c==null?void 0:c.value)!=="/"}return!0})()?s:void 0}function Wn(e){return!!(e!=null&&e.isRedirect)}function zf(e){return!!(e!=null&&e.isRedirect)&&e.href}function ec(e){const t=e.errorComponent??el;return M.jsx(qv,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:n,reset:r})=>n?R.createElement(t,{error:n,reset:r}):e.children})}class qv extends R.Component{constructor(){super(...arguments),this.state={error:null}}static getDerivedStateFromProps(t){return{resetKey:t.getResetKey()}}static getDerivedStateFromError(t){return{error:t}}reset(){this.setState({error:null})}componentDidUpdate(t,n){n.error&&n.resetKey!==this.state.resetKey&&this.reset()}componentDidCatch(t,n){this.props.onCatch&&this.props.onCatch(t,n)}render(){return this.props.children({error:this.state.resetKey!==this.props.getResetKey()?null:this.state.error,reset:()=>{this.reset()}})}}function el({error:e}){const[t,n]=R.useState(!1);return M.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[M.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[M.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),M.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>n(r=>!r),children:t?"Hide Error":"Show Error"})]}),M.jsx("div",{style:{height:".25rem"}}),t?M.jsx("div",{children:M.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?M.jsx("code",{children:e.message}):null})}):null]})}function We(e){const t=Dn({warn:(e==null?void 0:e.router)===void 0});return zv(((e==null?void 0:e.router)||t).__store,e==null?void 0:e.select)}function Vt(e){return!!(e!=null&&e.isNotFound)}function Xv(e){const t=We({select:n=>`not-found-${n.location.pathname}-${n.status}`});return M.jsx(ec,{getResetKey:()=>t,onCatch:(n,r)=>{var o;if(Vt(n))(o=e.onCatch)==null||o.call(e,n,r);else throw n},errorComponent:({error:n})=>{var r;return(r=e.fallback)==null?void 0:r.call(e,n)},children:e.children})}function Yv(){return M.jsx("p",{children:"Not Found"})}const Jv=["component","errorComponent","pendingComponent","notFoundComponent"];function Zv(e){return new eg(e)}class eg{constructor(t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.subscribers=new Set,this.startReactTransition=n=>n(),this.update=n=>{n.notFoundRoute&&console.warn("The notFoundRoute API is deprecated and will be removed in the next major version. See https://tanstack.com/router/v1/docs/guide/not-found-errors#migrating-from-notfoundroute for more info.");const r=this.options;this.options={...this.options,...n},this.isServer=this.options.isServer??typeof document>"u",(!this.basepath||n.basepath&&n.basepath!==r.basepath)&&(n.basepath===void 0||n.basepath===""||n.basepath==="/"?this.basepath="/":this.basepath=`/${Hv(n.basepath)}`),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.history=this.options.history??(this.isServer?hv({initialEntries:[this.basepath||"/"]}):pv()),this.latestLocation=this.parseLocation()),this.options.routeTree!==this.routeTree&&(this.routeTree=this.options.routeTree,this.buildRouteTree()),this.__store||(this.__store=new Fv(rg(this.latestLocation),{onUpdate:()=>{this.__store.state={...this.state,cachedMatches:this.state.cachedMatches.filter(o=>!["redirected"].includes(o.status))}}}))},this.buildRouteTree=()=>{this.routesById={},this.routesByPath={};const n=this.options.notFoundRoute;n&&(n.init({originalIndex:99999999999}),this.routesById[n.id]=n);const r=s=>{s.forEach((l,a)=>{l.init({originalIndex:a});const u=this.routesById[l.id];if(qe(!u,`Duplicate routes found with id: ${String(l.id)}`),this.routesById[l.id]=l,!l.isRoot&&l.path){const d=Gn(l.fullPath);(!this.routesByPath[d]||l.fullPath.endsWith("/"))&&(this.routesByPath[d]=l)}const c=l.children;c!=null&&c.length&&r(c)})};r([this.routeTree]);const o=[];Object.values(this.routesById).forEach((s,l)=>{var a;if(s.isRoot||!s.path)return;const u=Zu(s.fullPath),c=Yr(u);for(;c.length>1&&((a=c[0])==null?void 0:a.value)==="/";)c.shift();const d=c.map(f=>f.value==="/"?.75:f.type==="param"?.5:f.type==="wildcard"?.25:1);o.push({child:s,trimmed:u,parsed:c,index:l,scores:d})}),this.flatRoutes=o.sort((s,l)=>{const a=Math.min(s.scores.length,l.scores.length);for(let u=0;u<a;u++)if(s.scores[u]!==l.scores[u])return l.scores[u]-s.scores[u];if(s.scores.length!==l.scores.length)return l.scores.length-s.scores.length;for(let u=0;u<a;u++)if(s.parsed[u].value!==l.parsed[u].value)return s.parsed[u].value>l.parsed[u].value?1:-1;return s.index-l.index}).map((s,l)=>(s.child.rank=l,s.child))},this.subscribe=(n,r)=>{const o={eventType:n,fn:r};return this.subscribers.add(o),()=>{this.subscribers.delete(o)}},this.emit=n=>{this.subscribers.forEach(r=>{r.eventType===n.type&&r.fn(n)})},this.parseLocation=n=>{const r=({pathname:l,search:a,hash:u,state:c})=>{const d=this.options.parseSearch(a),f=this.options.stringifySearch(d);return{pathname:l,searchStr:f,search:Bt(n==null?void 0:n.search,d),hash:u.split("#").reverse()[0]??"",href:`${l}${f}${u}`,state:Bt(n==null?void 0:n.state,c)}},o=r(this.history.location),{__tempLocation:i,__tempKey:s}=o.state;if(i&&(!s||s===this.tempLocationKey)){const l=r(i);return l.state.key=o.state.key,delete l.state.__tempLocation,{...l,maskedLocation:o}}return o},this.resolvePathWithBase=(n,r)=>Qv({basepath:this.basepath,base:n,to:Zs(r),trailingSlash:this.options.trailingSlash}),this.matchRoutes=(n,r,o)=>{let i={};const s=this.flatRoutes.find(v=>{const g=Mi(this.basepath,Gn(n),{to:v.fullPath,caseSensitive:v.options.caseSensitive??this.options.caseSensitive,fuzzy:!0});return g?(i=g,!0):!1});let l=s||this.routesById[st];const a=[l];let u=!1;for((s?s.path!=="/"&&i["**"]:Gn(n))&&(this.options.notFoundRoute?a.push(this.options.notFoundRoute):u=!0);l.parentRoute;)l=l.parentRoute,a.unshift(l);const c=(()=>{if(u){if(this.options.notFoundMode!=="root")for(let v=a.length-1;v>=0;v--){const g=a[v];if(g.children)return g.id}return st}})(),d=a.map(v=>{var g;let y;const k=((g=v.options.params)==null?void 0:g.parse)??v.options.parseParams;if(k)try{const p=k(i);Object.assign(i,p)}catch(p){if(y=new ng(p.message,{cause:p}),o!=null&&o.throwOnError)throw y;return y}}),f=[];return a.forEach((v,g)=>{var y,k,p,h,m,S,w,C,x,_;const b=f[g-1],[O,F]=(()=>{const L=(b==null?void 0:b.search)??r;try{const I=typeof v.options.validateSearch=="object"?v.options.validateSearch.parse:v.options.validateSearch,B=(I==null?void 0:I(L))??{};return[{...L,...B},void 0]}catch(I){const B=new tg(I.message,{cause:I});if(o!=null&&o.throwOnError)throw B;return[L,B]}})(),z=((k=(y=v.options).loaderDeps)==null?void 0:k.call(y,{search:O}))??"",N=z?JSON.stringify(z):"",V=ca({path:v.fullPath,params:i}),X=ca({path:v.id,params:i,leaveWildcards:!0})+N,K=this.getMatch(X),we=this.state.matches.find(L=>L.id===X)?"stay":"enter";let P;if(K)P={...K,cause:we,params:i};else{const L=v.options.loader||v.options.beforeLoad||v.lazyFn?"pending":"success";P={id:X,index:g,routeId:v.id,params:i,pathname:Tn([this.basepath,V]),updatedAt:Date.now(),search:{},searchError:void 0,status:L,isFetching:!1,error:void 0,paramsError:d[g],routeContext:void 0,context:void 0,abortController:new AbortController,fetchCount:0,cause:we,loaderDeps:z,invalid:!1,preload:!1,links:(h=(p=v.options).links)==null?void 0:h.call(p),scripts:(S=(m=v.options).scripts)==null?void 0:S.call(m),staticData:v.options.staticData||{},loadPromise:gr()}}P.status==="success"&&(P.meta=(C=(w=v.options).meta)==null?void 0:C.call(w,{matches:f,match:P,params:P.params,loaderData:P.loaderData}),P.headers=(_=(x=v.options).headers)==null?void 0:_.call(x,{loaderData:P.loaderData})),o!=null&&o.preload||(P.globalNotFound=c===v.id),P.search=Bt(P.search,O),P.searchError=F,f.push(P)}),f},this.cancelMatch=n=>{const r=this.getMatch(n);r&&(r.abortController.abort(),clearTimeout(r.pendingTimeout))},this.cancelMatches=()=>{var n;(n=this.state.pendingMatches)==null||n.forEach(r=>{this.cancelMatch(r.id)})},this.buildLocation=n=>{const r=(i={},s)=>{var l,a,u;const c=i._fromLocation!=null?this.matchRoutes(i._fromLocation.pathname,i.fromSearch||i._fromLocation.search):this.state.matches,d=i.from!=null?c.find(N=>Mi(this.basepath,Gn(N.pathname),{to:i.from,caseSensitive:!1,fuzzy:!1})):void 0,f=(d==null?void 0:d.pathname)||this.latestLocation.pathname;qe(i.from==null||d!=null,"Could not find match for from: "+i.from);const v=((l=gs(c))==null?void 0:l.search)||this.latestLocation.search,g=s==null?void 0:s.filter(N=>c.find(V=>V.routeId===N.routeId)),y=this.routesById[(a=g==null?void 0:g.find(N=>N.pathname===f))==null?void 0:a.routeId];let k=i.to?this.resolvePathWithBase(f,`${i.to}`):this.resolvePathWithBase(f,(y==null?void 0:y.to)??f);const p={...(u=gs(c))==null?void 0:u.params};let h=(i.params??!0)===!0?p:{...p,...Sr(i.params,p)};Object.keys(h).length>0&&(s==null||s.map(N=>{var V;const X=this.looseRoutesById[N.routeId];return((V=X==null?void 0:X.options.params)==null?void 0:V.stringify)??X.options.stringifyParams}).filter(Boolean).forEach(N=>{h={...h,...N(h)}})),k=ca({path:k,params:h??{},leaveWildcards:!1,leaveParams:n.leaveParams});const m=(g==null?void 0:g.map(N=>this.looseRoutesById[N.routeId].options.preSearchFilters??[]).flat().filter(Boolean))??[],S=(g==null?void 0:g.map(N=>this.looseRoutesById[N.routeId].options.postSearchFilters??[]).flat().filter(Boolean))??[],w=m.length?m.reduce((N,V)=>V(N),v):v,C=i.search===!0?w:i.search?Sr(i.search,w):m.length?w:{},x=S.length?S.reduce((N,V)=>V(N),C):C,_=Bt(v,x),b=this.options.stringifySearch(_),O=i.hash===!0?this.latestLocation.hash:i.hash?Sr(i.hash,this.latestLocation.hash):void 0,F=O?`#${O}`:"";let z=i.state===!0?this.latestLocation.state:i.state?Sr(i.state,this.latestLocation.state):{};return z=Bt(this.latestLocation.state,z),{pathname:k,search:_,searchStr:b,state:z,hash:O??"",href:`${k}${b}${F}`,unmaskOnReload:i.unmaskOnReload}},o=(i={},s)=>{var l;const a=r(i);let u=s?r(s):void 0;if(!u){let g={};const y=(l=this.options.routeMasks)==null?void 0:l.find(k=>{const p=Mi(this.basepath,a.pathname,{to:k.from,caseSensitive:!1,fuzzy:!1});return p?(g=p,!0):!1});if(y){const{from:k,...p}=y;s={...bo(n,["from"]),...p,params:g},u=r(s)}}const c=this.matchRoutes(a.pathname,a.search),d=u?this.matchRoutes(u.pathname,u.search):void 0,f=u?r(s,d):void 0,v=r(i,c);return f&&(v.maskedLocation=f),v};return n.mask?o(n,{...bo(n,["from"]),...n.mask}):o(n)},this.commitLocation=({viewTransition:n,ignoreBlocker:r,...o})=>{const i=()=>{o.state.key=this.latestLocation.state.key;const a=Lr(o.state,this.latestLocation.state);return delete o.state.key,a},s=this.latestLocation.href===o.href,l=this.commitLocationPromise;if(this.commitLocationPromise=gr(()=>{l==null||l.resolve()}),s&&i())this.load();else{let{maskedLocation:a,...u}=o;a&&(u={...a,state:{...a.state,__tempKey:void 0,__tempLocation:{...u,search:u.searchStr,state:{...u.state,__tempKey:void 0,__tempLocation:void 0,key:void 0}}}},(u.unmaskOnReload??this.options.unmaskOnReload??!1)&&(u.state.__tempKey=this.tempLocationKey)),this.shouldViewTransition=n,this.history[o.replace?"replace":"push"](u.href,u.state,{ignoreBlocker:r})}return this.resetNextScroll=o.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:n,resetScroll:r,viewTransition:o,ignoreBlocker:i,...s}={})=>{const l=this.buildLocation(s);return this.commitLocation({...l,viewTransition:o,replace:n,resetScroll:r,ignoreBlocker:i})},this.navigate=({from:n,to:r,__isRedirect:o,...i})=>{const s=String(r);let l;try{new URL(`${s}`),l=!0}catch{}return qe(!l),this.buildAndCommitLocation({...i,from:n,to:r})},this.load=async()=>{this.latestLocation=this.parseLocation(this.latestLocation),this.__store.setState(i=>({...i,loadedAt:Date.now()}));let n,r;const o=new Promise(i=>{this.startReactTransition(async()=>{var s;try{const l=this.latestLocation,a=this.state.resolvedLocation,u=a.href!==l.href;this.cancelMatches();let c;this.__store.batch(()=>{c=this.matchRoutes(l.pathname,l.search),this.__store.setState(d=>({...d,status:"pending",isLoading:!0,location:l,pendingMatches:c,cachedMatches:d.cachedMatches.filter(f=>!c.find(v=>v.id===f.id))}))}),this.state.redirect||this.emit({type:"onBeforeNavigate",fromLocation:a,toLocation:l,pathChanged:u}),this.emit({type:"onBeforeLoad",fromLocation:a,toLocation:l,pathChanged:u}),await this.loadMatches({matches:c,location:l,onReady:async()=>{this.startViewTransition(async()=>{let d,f,v;this.__store.batch(()=>{this.__store.setState(g=>{const y=g.matches,k=g.pendingMatches||g.matches;return d=y.filter(p=>!k.find(h=>h.id===p.id)),f=k.filter(p=>!y.find(h=>h.id===p.id)),v=y.filter(p=>k.find(h=>h.id===p.id)),{...g,isLoading:!1,matches:k,pendingMatches:void 0,cachedMatches:[...g.cachedMatches,...d.filter(p=>p.status!=="error")]}}),this.cleanCache()}),[[d,"onLeave"],[f,"onEnter"],[v,"onStay"]].forEach(([g,y])=>{g.forEach(k=>{var p,h;(h=(p=this.looseRoutesById[k.routeId].options)[y])==null||h.call(p,k)})})})}})}catch(l){zf(l)?(n=l,this.isServer||this.navigate({...l,replace:!0,__isRedirect:!0})):Vt(l)&&(r=l),this.__store.setState(a=>({...a,statusCode:n?n.statusCode:r?404:a.matches.some(u=>u.status==="error")?500:200,redirect:n}))}this.latestLoadPromise===o&&((s=this.commitLocationPromise)==null||s.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),i()})});for(this.latestLoadPromise=o,await o;this.latestLoadPromise&&o!==this.latestLoadPromise;)await this.latestLoadPromise},this.startViewTransition=n=>{var r,o;const i=this.shouldViewTransition??this.options.defaultViewTransition;delete this.shouldViewTransition,(o=(r=i&&typeof document<"u"?document:void 0)==null?void 0:r.startViewTransition)!=null&&o.call(r,n)||n()},this.updateMatch=(n,r)=>{var o;let i;const s=(o=this.state.pendingMatches)==null?void 0:o.find(u=>u.id===n),l=this.state.matches.find(u=>u.id===n),a=s?"pendingMatches":l?"matches":"cachedMatches";return this.__store.setState(u=>{var c;return{...u,[a]:(c=u[a])==null?void 0:c.map(d=>d.id===n?i=r(d):d)}}),i},this.getMatch=n=>[...this.state.cachedMatches,...this.state.pendingMatches??[],...this.state.matches].find(r=>r.id===n),this.loadMatches=async({location:n,matches:r,preload:o,onReady:i,updateMatch:s=this.updateMatch})=>{let l,a=!1;const u=async()=>{a||(a=!0,await(i==null?void 0:i()))};!this.isServer&&!this.state.matches.length&&u();const c=(d,f)=>{var v,g,y;if(zf(f))throw f;if(Wn(f)||Vt(f)){if(s(d.id,k=>({...k,status:Wn(f)?"redirected":Vt(f)?"notFound":"error",isFetching:!1,error:f,beforeLoadPromise:void 0,loaderPromise:void 0})),f.routeId||(f.routeId=d.routeId),(v=d.beforeLoadPromise)==null||v.resolve(),(g=d.loaderPromise)==null||g.resolve(),(y=d.loadPromise)==null||y.resolve(),Wn(f))throw a=!0,f=this.resolveRedirect({...f,_fromLocation:n}),f;if(Vt(f))throw this._handleNotFound(r,f,{updateMatch:s}),f}};try{await new Promise((d,f)=>{(async()=>{var v,g,y;try{const k=(m,S,w)=>{var C,x;const{id:_,routeId:b}=r[m],O=this.looseRoutesById[b];if(S instanceof Promise)throw S;S.routerCode=w,l=l??m,c(this.getMatch(_),S);try{(x=(C=O.options).onError)==null||x.call(C,S)}catch(F){S=F,c(this.getMatch(_),S)}s(_,F=>{var z;return(z=F.beforeLoadPromise)==null||z.resolve(),{...F,error:S,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController,beforeLoadPromise:void 0}})};for(const[m,{id:S,routeId:w}]of r.entries()){const C=this.getMatch(S);if(C.beforeLoadPromise||C.loaderPromise)await C.beforeLoadPromise;else{try{s(S,ee=>({...ee,loadPromise:gr(()=>{var te;(te=ee.loadPromise)==null||te.resolve()}),beforeLoadPromise:gr()}));const x=this.looseRoutesById[w],_=new AbortController,b=(v=r[m-1])==null?void 0:v.id,O=()=>b?this.getMatch(b).context??this.options.context??{}:this.options.context??{},F=x.options.pendingMs??this.options.defaultPendingMs,z=!!(i&&!this.isServer&&!o&&(x.options.loader||x.options.beforeLoad)&&typeof F=="number"&&F!==1/0&&(x.options.pendingComponent??this.options.defaultPendingComponent));let N;z&&(N=setTimeout(()=>{try{u()}catch{}},F));const{paramsError:V,searchError:X}=this.getMatch(S);V&&k(m,V,"PARSE_PARAMS"),X&&k(m,X,"VALIDATE_SEARCH");const K=O();s(S,ee=>({...ee,isFetching:"beforeLoad",fetchCount:ee.fetchCount+1,routeContext:Bt(ee.routeContext,K),context:Bt(ee.context,K),abortController:_,pendingTimeout:N}));const{search:we,params:P,routeContext:L,cause:I}=this.getMatch(S),B={search:we,abortController:_,params:P,preload:!!o,context:L,location:n,navigate:ee=>this.navigate({...ee,_fromLocation:n}),buildLocation:this.buildLocation,cause:o?"preload":I},W=await((y=(g=x.options).beforeLoad)==null?void 0:y.call(g,B))??{};(Wn(W)||Vt(W))&&k(m,W,"BEFORE_LOAD"),s(S,ee=>{const te={...ee.routeContext,...W};return{...ee,routeContext:Bt(ee.routeContext,te),context:Bt(ee.context,te),abortController:_}})}catch(x){k(m,x,"BEFORE_LOAD")}s(S,x=>{var _;return(_=x.beforeLoadPromise)==null||_.resolve(),{...x,beforeLoadPromise:void 0,isFetching:!1}})}}const p=r.slice(0,l),h=[];p.forEach(({id:m,routeId:S},w)=>{h.push((async()=>{const{loaderPromise:C}=this.getMatch(m);if(C)await C;else{const x=h[w-1],_=this.looseRoutesById[S],b=()=>{const{params:L,loaderDeps:I,abortController:B,context:W,cause:ee}=this.getMatch(m);return{params:L,deps:I,preload:!!o,parentMatchPromise:x,abortController:B,context:W,location:n,navigate:te=>this.navigate({...te,_fromLocation:n}),cause:o?"preload":ee,route:_}},O=Date.now()-this.getMatch(m).updatedAt,F=o?_.options.preloadStaleTime??this.options.defaultPreloadStaleTime??3e4:_.options.staleTime??this.options.defaultStaleTime??0,z=_.options.shouldReload,N=typeof z=="function"?z(b()):z;s(m,L=>({...L,loaderPromise:gr(),preload:!!o&&!this.state.matches.find(I=>I.id===m)}));const V=async()=>{var L,I,B,W,ee,te,rt,xe;try{const De=async()=>{const Ge=this.getMatch(m);Ge.minPendingPromise&&await Ge.minPendingPromise};try{_._lazyPromise=_._lazyPromise||(_.lazyFn?_.lazyFn().then(ne=>{Object.assign(_.options,ne.options)}):Promise.resolve());const Ge=this.getMatch(m).componentsPromise||_._lazyPromise.then(()=>Promise.all(Jv.map(async ne=>{const en=_.options[ne];en!=null&&en.preload&&await en.preload()})));s(m,ne=>({...ne,isFetching:"loader",componentsPromise:Ge})),await _._lazyPromise;let fe=await((I=(L=_.options).loader)==null?void 0:I.call(L,b()));this.serializeLoaderData&&(fe=this.serializeLoaderData(fe,{router:this,match:this.getMatch(m)})),c(this.getMatch(m),fe),await De();const Ot=(W=(B=_.options).meta)==null?void 0:W.call(B,{matches:r,match:this.getMatch(m),params:this.getMatch(m).params,loaderData:fe}),de=(te=(ee=_.options).headers)==null?void 0:te.call(ee,{loaderData:fe});s(m,ne=>({...ne,error:void 0,status:"success",isFetching:!1,updatedAt:Date.now(),loaderData:fe,meta:Ot,headers:de}))}catch(Ge){let fe=Ge;await De(),c(this.getMatch(m),Ge);try{(xe=(rt=_.options).onError)==null||xe.call(rt,Ge)}catch(Ot){fe=Ot,c(this.getMatch(m),Ot)}s(m,Ot=>({...Ot,error:fe,status:"error",isFetching:!1}))}await this.getMatch(m).componentsPromise}catch(De){c(this.getMatch(m),De)}},{status:X,invalid:K}=this.getMatch(m);X==="success"&&(K||(N??O>F))?(async()=>{try{await V()}catch{}})():X!=="success"&&await V();const{loaderPromise:we,loadPromise:P}=this.getMatch(m);we==null||we.resolve(),P==null||P.resolve()}s(m,x=>({...x,isFetching:!1,loaderPromise:void 0}))})())}),await Promise.all(h),d()}catch(k){f(k)}})()}),await u()}catch(d){if(Wn(d)||Vt(d))throw Vt(d)&&!o&&await u(),d}return r},this.invalidate=()=>{const n=r=>({...r,invalid:!0,...r.status==="error"?{status:"pending",error:void 0}:{}});return this.__store.setState(r=>{var o;return{...r,matches:r.matches.map(n),cachedMatches:r.cachedMatches.map(n),pendingMatches:(o=r.pendingMatches)==null?void 0:o.map(n)}}),this.load()},this.resolveRedirect=n=>{const r=n;return r.href||(r.href=this.buildLocation(r).href),r},this.cleanCache=()=>{this.__store.setState(n=>({...n,cachedMatches:n.cachedMatches.filter(r=>{const o=this.looseRoutesById[r.routeId];if(!o.options.loader)return!1;const i=(r.preload?o.options.preloadGcTime??this.options.defaultPreloadGcTime:o.options.gcTime??this.options.defaultGcTime)??5*60*1e3;return r.status!=="error"&&Date.now()-r.updatedAt<i})}))},this.preloadRoute=async n=>{const r=this.buildLocation(n);let o=this.matchRoutes(r.pathname,r.search,{throwOnError:!0,preload:!0});const i=Object.fromEntries([...this.state.matches,...this.state.pendingMatches??[],...this.state.cachedMatches].map(l=>[l.id,!0]));this.__store.batch(()=>{o.forEach(l=>{i[l.id]||this.__store.setState(a=>({...a,cachedMatches:[...a.cachedMatches,l]}))})});const s=new Set([...this.state.matches,...this.state.pendingMatches??[]].map(l=>l.id));try{return o=await this.loadMatches({matches:o,location:r,preload:!0,updateMatch:(l,a)=>{s.has(l)?o=o.map(u=>u.id===l?a(u):u):this.updateMatch(l,a)}}),o}catch(l){if(Wn(l))return await this.preloadRoute({...l,_fromLocation:r});console.error(l);return}},this.matchRoute=(n,r)=>{const o={...n,to:n.to?this.resolvePathWithBase(n.from||"",n.to):void 0,params:n.params||{},leaveParams:!0},i=this.buildLocation(o);if(r!=null&&r.pending&&this.state.status!=="pending")return!1;const l=((r==null?void 0:r.pending)===void 0?!this.state.isLoading:r.pending)?this.latestLocation:this.state.resolvedLocation,a=Mi(this.basepath,l.pathname,{...r,to:i.pathname});return!a||n.params&&!Lr(a,n.params,!0)?!1:a&&((r==null?void 0:r.includeSearch)??!0)?Lr(l.search,i.search,!0)?a:!1:a},this.dehydrate=()=>{var n;const r=((n=this.options.errorSerializer)==null?void 0:n.serialize)??og;return{state:{dehydratedMatches:this.state.matches.map(o=>({...bo(o,["id","status","updatedAt"]),error:o.error?{data:r(o.error),__isServerError:!0}:void 0}))},manifest:this.manifest}},this.hydrate=()=>{var n,r,o;let i;typeof document<"u"&&(i=this.options.transformer.parse((n=window.__TSR__)==null?void 0:n.dehydrated)),qe(i),this.dehydratedData=i.payload,(o=(r=this.options).hydrate)==null||o.call(r,i.payload);const s=i.router.state,l=this.matchRoutes(this.state.location.pathname,this.state.location.search).map(a=>{const u=s.dehydratedMatches.find(c=>c.id===a.id);return qe(u,`Could not find a client-side match for dehydrated match with id: ${a.id}!`),{...a,...u}});this.__store.setState(a=>({...a,matches:l})),this.manifest=i.router.manifest},this.injectedHtml=[],this.injectHtml=n=>{const r=()=>(this.injectedHtml=this.injectedHtml.filter(o=>o!==r),n);this.injectedHtml.push(r)},this.streamedKeys=new Set,this.getStreamedValue=n=>{var r;if(this.isServer)return;const o=(r=window.__TSR__)==null?void 0:r.streamedValues[n];if(o)return o.parsed||(o.parsed=this.options.transformer.parse(o.value)),o.parsed},this.streamValue=(n,r)=>{var o;this.streamedKeys.has(n),this.streamedKeys.add(n);const i=`__TSR__.streamedValues['${n}'] = { value: ${(o=this.serializer)==null?void 0:o.call(this,this.options.transformer.stringify(r))}}`;this.injectHtml(`<script class='tsr-once'>${i}; __TSR__.cleanScripts()<\/script>`)},this._handleNotFound=(n,r,{updateMatch:o=this.updateMatch}={})=>{const i=Object.fromEntries(n.map(a=>[a.routeId,a]));let s=(r.global?this.looseRoutesById[st]:this.looseRoutesById[r.routeId])||this.looseRoutesById[st];for(;!s.options.notFoundComponent&&!this.options.defaultNotFoundComponent&&s.id!==st;)s=s.parentRoute,qe(s);const l=i[s.id];qe(l,"Could not find match for route: "+s.id),o(l.id,a=>({...a,status:"notFound",error:r,isFetching:!1})),r.routerCode==="BEFORE_LOAD"&&s.parentRoute&&(r.routeId=s.parentRoute.id,this._handleNotFound(n,r,{updateMatch:o}))},this.hasNotFoundMatch=()=>this.__store.state.matches.some(n=>n.status==="notFound"||n.globalNotFound),this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...t,stringifySearch:t.stringifySearch??Bv,parseSearch:t.parseSearch??Dv}),typeof document<"u"&&(window.__TSR__ROUTER__=this)}get state(){return this.__store.state}get looseRoutesById(){return this.routesById}}class tg extends Error{}class ng extends Error{}function rg(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:{...e},location:e,matches:[],pendingMatches:[],cachedMatches:[],statusCode:200}}function og(e){return e instanceof Error?{name:e.name,message:e.message}:{data:e}}function Nf(e){return!(typeof e=="object"&&e&&"data"in e)||!("__isServerError"in e&&e.__isServerError)||!(typeof e.data=="object"&&e.data)?!1:e.__isServerError===!0}function jf(e){if("name"in e&&"message"in e){const t=new Error(e.message);return t.name=e.name,t}return e.data}const tl=R.createContext(void 0);function Jr(e){const t=R.useContext(tl);return We({select:r=>{const o=r.matches.find(i=>e.from?e.from===i.routeId:i.id===t);if(qe(!((e.shouldThrow??!0)&&!o),`Could not find ${e.from?`an active match from "${e.from}"`:"a nearest match!"}`),o!==void 0)return e.select?e.select(o):o}})}function ig(e){return Jr({...e,select:t=>typeof e.select=="function"?e.select(t.loaderDeps):t.loaderDeps})}function sg(e){return Jr({...e,select:t=>typeof e.select=="function"?e.select(t.loaderData):t.loaderData})}function lg(e){return Jr({...e,select:t=>e.select?e.select(t.params):t.params})}function ag(e){return Jr({...e,select:t=>e.select?e.select(t.search):t.search})}function ug(e){const t=Dn();return R.useCallback(n=>t.navigate({...n}),[t])}let fh=class{constructor(t){this.init=n=>{var r,o;this.originalIndex=n.originalIndex;const i=this.options,s=!(i!=null&&i.path)&&!(i!=null&&i.id);this.parentRoute=(o=(r=this.options)==null?void 0:r.getParentRoute)==null?void 0:o.call(r),s?this.path=st:qe(this.parentRoute);let l=s?st:i.path;l&&l!=="/"&&(l=Zu(l));const a=(i==null?void 0:i.id)||l;let u=s?st:Tn([this.parentRoute.id===st?"":this.parentRoute.id,a]);l===st&&(l="/"),u!==st&&(u=Tn(["/",u]));const c=u===st?"/":Tn([this.parentRoute.fullPath,l]);this.path=l,this.id=u,this.fullPath=c,this.to=c},this.updateLoader=n=>(Object.assign(this.options,n),this),this.update=n=>(Object.assign(this.options,n),this),this.lazy=n=>(this.lazyFn=n,this),this.useMatch=n=>Jr({...n,from:this.id}),this.useRouteContext=n=>Jr({...n,from:this.id,select:r=>n!=null&&n.select?n.select(r.context):r.context}),this.useSearch=n=>ag({...n,from:this.id}),this.useParams=n=>lg({...n,from:this.id}),this.useLoaderDeps=n=>ig({...n,from:this.id}),this.useLoaderData=n=>sg({...n,from:this.id}),this.useNavigate=()=>ug({from:this.id}),this.options=t||{},this.isRoot=!(t!=null&&t.getParentRoute),qe(!(t!=null&&t.id&&(t!=null&&t.path))),this.$$typeof=Symbol.for("react.memo")}addChildren(t){return this.children=Array.isArray(t)?t:Object.values(t),this}};function cg(e){return new fh(e)}function fg(){return e=>pg(e)}class dg extends fh{constructor(t){super(t)}addChildren(t){return super.addChildren(t)}}function pg(e){return new dg(e)}function hg(e){return new mg(e,{silent:!0}).createRoute}class mg{constructor(t,n){this.path=t,this.createRoute=r=>{this.silent;const o=cg(r);return o.isRoot=!1,o},this.silent=n==null?void 0:n.silent}}var dh={exports:{}},dt={},ph={exports:{}},hh={};/**
* @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(P,L){var I=P.length;P.push(L);e:for(;0<I;){var B=I-1>>>1,W=P[B];if(0<o(W,L))P[B]=L,P[I]=W,I=B;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var L=P[0],I=P.pop();if(I!==L){P[0]=I;e:for(var B=0,W=P.length,ee=W>>>1;B<ee;){var te=2*(B+1)-1,rt=P[te],xe=te+1,De=P[xe];if(0>o(rt,I))xe<W&&0>o(De,rt)?(P[B]=De,P[xe]=I,B=xe):(P[B]=rt,P[te]=I,B=te);else if(xe<W&&0>o(De,I))P[B]=De,P[xe]=I,B=xe;else break e}}return L}function o(P,L){var I=P.sortIndex-L.sortIndex;return I!==0?I:P.id-L.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=[],c=1,d=null,f=3,v=!1,g=!1,y=!1,k=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,h=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(P){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=P)r(u),L.sortIndex=L.expirationTime,t(a,L);else break;L=n(u)}}function S(P){if(y=!1,m(P),!g)if(n(a)!==null)g=!0,K(w);else{var L=n(u);L!==null&&we(S,L.startTime-P)}}function w(P,L){g=!1,y&&(y=!1,p(_),_=-1),v=!0;var I=f;try{for(m(L),d=n(a);d!==null&&(!(d.expirationTime>L)||P&&!F());){var B=d.callback;if(typeof B=="function"){d.callback=null,f=d.priorityLevel;var W=B(d.expirationTime<=L);L=e.unstable_now(),typeof W=="function"?d.callback=W:d===n(a)&&r(a),m(L)}else r(a);d=n(a)}if(d!==null)var ee=!0;else{var te=n(u);te!==null&&we(S,te.startTime-L),ee=!1}return ee}finally{d=null,f=I,v=!1}}var C=!1,x=null,_=-1,b=5,O=-1;function F(){return!(e.unstable_now()-O<b)}function z(){if(x!==null){var P=e.unstable_now();O=P;var L=!0;try{L=x(!0,P)}finally{L?N():(C=!1,x=null)}}else C=!1}var N;if(typeof h=="function")N=function(){h(z)};else if(typeof MessageChannel<"u"){var V=new MessageChannel,X=V.port2;V.port1.onmessage=z,N=function(){X.postMessage(null)}}else N=function(){k(z,0)};function K(P){x=P,C||(C=!0,N())}function we(P,L){_=k(function(){P(e.unstable_now())},L)}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(P){P.callback=null},e.unstable_continueExecution=function(){g||v||(g=!0,K(w))},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(P){switch(f){case 1:case 2:case 3:var L=3;break;default:L=f}var I=f;f=L;try{return P()}finally{f=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,L){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var I=f;f=P;try{return L()}finally{f=I}},e.unstable_scheduleCallback=function(P,L,I){var B=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?B+I:B):I=B,P){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=I+W,P={id:c++,callback:L,priorityLevel:P,startTime:I,expirationTime:W,sortIndex:-1},I>B?(P.sortIndex=I,t(u,P),n(a)===null&&P===n(u)&&(y?(p(_),_=-1):y=!0,we(S,I-B))):(P.sortIndex=W,t(a,P),g||v||(g=!0,K(w))),P},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(P){var L=f;return function(){var I=f;f=L;try{return P.apply(this,arguments)}finally{f=I}}}})(hh);ph.exports=hh;var yg=ph.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 vg=R,ft=yg;function T(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 mh=new Set,Ko={};function cr(e,t){Zr(e,t),Zr(e+"Capture",t)}function Zr(e,t){for(Ko[e]=t,e=0;e<t.length;e++)mh.add(t[e])}var an=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ka=Object.prototype.hasOwnProperty,gg=/^[: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]*$/,Af={},Df={};function Sg(e){return Ka.call(Df,e)?!0:Ka.call(Af,e)?!1:gg.test(e)?Df[e]=!0:(Af[e]=!0,!1)}function wg(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 xg(e,t,n,r){if(t===null||typeof t>"u"||wg(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Qe(e,t,n,r,o,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 Le={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Le[e]=new Qe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Le[t]=new Qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Le[e]=new Qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Le[e]=new Qe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Le[e]=new Qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Le[e]=new Qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Le[e]=new Qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Le[e]=new Qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Le[e]=new Qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var tc=/[\-:]([a-z])/g;function nc(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(tc,nc);Le[t]=new Qe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(tc,nc);Le[t]=new Qe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(tc,nc);Le[t]=new Qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Le[e]=new Qe(e,1,!1,e.toLowerCase(),null,!1,!1)});Le.xlinkHref=new Qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Le[e]=new Qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function rc(e,t,n,r){var o=Le.hasOwnProperty(t)?Le[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(xg(t,n,o,r)&&(n=null),r||o===null?Sg(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 pn=vg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$i=Symbol.for("react.element"),wr=Symbol.for("react.portal"),xr=Symbol.for("react.fragment"),oc=Symbol.for("react.strict_mode"),Qa=Symbol.for("react.profiler"),yh=Symbol.for("react.provider"),vh=Symbol.for("react.context"),ic=Symbol.for("react.forward_ref"),Ga=Symbol.for("react.suspense"),qa=Symbol.for("react.suspense_list"),sc=Symbol.for("react.memo"),yn=Symbol.for("react.lazy"),gh=Symbol.for("react.offscreen"),Bf=Symbol.iterator;function go(e){return e===null||typeof e!="object"?null:(e=Bf&&e[Bf]||e["@@iterator"],typeof e=="function"?e:null)}var ce=Object.assign,fa;function To(e){if(fa===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);fa=t&&t[1]||""}return`
`+fa+e}var da=!1;function pa(e,t){if(!e||da)return"";da=!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{da=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?To(e):""}function kg(e){switch(e.tag){case 5:return To(e.type);case 16:return To("Lazy");case 13:return To("Suspense");case 19:return To("SuspenseList");case 0:case 2:case 15:return e=pa(e.type,!1),e;case 11:return e=pa(e.type.render,!1),e;case 1:return e=pa(e.type,!0),e;default:return""}}function Xa(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 xr:return"Fragment";case wr:return"Portal";case Qa:return"Profiler";case oc:return"StrictMode";case Ga:return"Suspense";case qa:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case vh:return(e.displayName||"Context")+".Consumer";case yh:return(e._context.displayName||"Context")+".Provider";case ic:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case sc:return t=e.displayName||null,t!==null?t:Xa(e.type)||"Memo";case yn:t=e._payload,e=e._init;try{return Xa(e(t))}catch{}}return null}function _g(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 Xa(t);case 8:return t===oc?"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 Nn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Sh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Cg(e){var t=Sh(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 Li(e){e._valueTracker||(e._valueTracker=Cg(e))}function wh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Sh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function xs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ya(e,t){var n=t.checked;return ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Uf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Nn(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 xh(e,t){t=t.checked,t!=null&&rc(e,"checked",t,!1)}function Ja(e,t){xh(e,t);var n=Nn(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")?Za(e,t.type,n):t.hasOwnProperty("defaultValue")&&Za(e,t.type,Nn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Vf(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 Za(e,t,n){(t!=="number"||xs(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Oo=Array.isArray;function br(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=""+Nn(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 eu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(T(91));return ce({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Wf(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(T(92));if(Oo(n)){if(1<n.length)throw Error(T(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Nn(n)}}function kh(e,t){var n=Nn(t.value),r=Nn(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 Hf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function _h(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 tu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?_h(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var bi,Ch=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(bi=bi||document.createElement("div"),bi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=bi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Qo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Io={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},Eg=["Webkit","ms","Moz","O"];Object.keys(Io).forEach(function(e){Eg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Io[t]=Io[e]})});function Eh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Io.hasOwnProperty(e)&&Io[e]?(""+t).trim():t+"px"}function Ph(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Eh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Pg=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 nu(e,t){if(t){if(Pg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(T(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(T(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(T(61))}if(t.style!=null&&typeof t.style!="object")throw Error(T(62))}}function ru(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 ou=null;function lc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var iu=null,Ir=null,Fr=null;function Kf(e){if(e=Si(e)){if(typeof iu!="function")throw Error(T(280));var t=e.stateNode;t&&(t=sl(t),iu(e.stateNode,e.type,t))}}function Rh(e){Ir?Fr?Fr.push(e):Fr=[e]:Ir=e}function Th(){if(Ir){var e=Ir,t=Fr;if(Fr=Ir=null,Kf(e),t)for(e=0;e<t.length;e++)Kf(t[e])}}function Oh(e,t){return e(t)}function Mh(){}var ha=!1;function $h(e,t,n){if(ha)return e(t,n);ha=!0;try{return Oh(e,t,n)}finally{ha=!1,(Ir!==null||Fr!==null)&&(Mh(),Th())}}function Go(e,t){var n=e.stateNode;if(n===null)return null;var r=sl(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(T(231,t,typeof n));return n}var su=!1;if(an)try{var So={};Object.defineProperty(So,"passive",{get:function(){su=!0}}),window.addEventListener("test",So,So),window.removeEventListener("test",So,So)}catch{su=!1}function Rg(e,t,n,r,o,i,s,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Fo=!1,ks=null,_s=!1,lu=null,Tg={onError:function(e){Fo=!0,ks=e}};function Og(e,t,n,r,o,i,s,l,a){Fo=!1,ks=null,Rg.apply(Tg,arguments)}function Mg(e,t,n,r,o,i,s,l,a){if(Og.apply(this,arguments),Fo){if(Fo){var u=ks;Fo=!1,ks=null}else throw Error(T(198));_s||(_s=!0,lu=u)}}function fr(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 Lh(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 Qf(e){if(fr(e)!==e)throw Error(T(188))}function $g(e){var t=e.alternate;if(!t){if(t=fr(e),t===null)throw Error(T(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 Qf(o),e;if(i===r)return Qf(o),t;i=i.sibling}throw Error(T(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(T(189))}}if(n.alternate!==r)throw Error(T(190))}if(n.tag!==3)throw Error(T(188));return n.stateNode.current===n?e:t}function bh(e){return e=$g(e),e!==null?Ih(e):null}function Ih(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ih(e);if(t!==null)return t;e=e.sibling}return null}var Fh=ft.unstable_scheduleCallback,Gf=ft.unstable_cancelCallback,Lg=ft.unstable_shouldYield,bg=ft.unstable_requestPaint,ve=ft.unstable_now,Ig=ft.unstable_getCurrentPriorityLevel,ac=ft.unstable_ImmediatePriority,zh=ft.unstable_UserBlockingPriority,Cs=ft.unstable_NormalPriority,Fg=ft.unstable_LowPriority,Nh=ft.unstable_IdlePriority,nl=null,Xt=null;function zg(e){if(Xt&&typeof Xt.onCommitFiberRoot=="function")try{Xt.onCommitFiberRoot(nl,e,void 0,(e.current.flags&128)===128)}catch{}}var zt=Math.clz32?Math.clz32:Ag,Ng=Math.log,jg=Math.LN2;function Ag(e){return e>>>=0,e===0?32:31-(Ng(e)/jg|0)|0}var Ii=64,Fi=4194304;function Mo(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 Es(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=Mo(l):(i&=s,i!==0&&(r=Mo(i)))}else s=n&~o,s!==0?r=Mo(s):i!==0&&(r=Mo(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-zt(t),o=1<<n,r|=e[n],t&=~o;return r}function Dg(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 Bg(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-zt(i),l=1<<s,a=o[s];a===-1?(!(l&n)||l&r)&&(o[s]=Dg(l,t)):a<=t&&(e.expiredLanes|=l),i&=~l}}function au(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function jh(){var e=Ii;return Ii<<=1,!(Ii&4194240)&&(Ii=64),e}function ma(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-zt(t),e[t]=n}function Ug(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-zt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function uc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-zt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var Y=0;function Ah(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Dh,cc,Bh,Uh,Vh,uu=!1,zi=[],On=null,Mn=null,$n=null,qo=new Map,Xo=new Map,gn=[],Vg="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 qf(e,t){switch(e){case"focusin":case"focusout":On=null;break;case"dragenter":case"dragleave":Mn=null;break;case"mouseover":case"mouseout":$n=null;break;case"pointerover":case"pointerout":qo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Xo.delete(t.pointerId)}}function wo(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=Si(t),t!==null&&cc(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Wg(e,t,n,r,o){switch(t){case"focusin":return On=wo(On,e,t,n,r,o),!0;case"dragenter":return Mn=wo(Mn,e,t,n,r,o),!0;case"mouseover":return $n=wo($n,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return qo.set(i,wo(qo.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Xo.set(i,wo(Xo.get(i)||null,e,t,n,r,o)),!0}return!1}function Wh(e){var t=qn(e.target);if(t!==null){var n=fr(t);if(n!==null){if(t=n.tag,t===13){if(t=Lh(n),t!==null){e.blockedOn=t,Vh(e.priority,function(){Bh(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 ts(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=cu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ou=r,n.target.dispatchEvent(r),ou=null}else return t=Si(n),t!==null&&cc(t),e.blockedOn=n,!1;t.shift()}return!0}function Xf(e,t,n){ts(e)&&n.delete(t)}function Hg(){uu=!1,On!==null&&ts(On)&&(On=null),Mn!==null&&ts(Mn)&&(Mn=null),$n!==null&&ts($n)&&($n=null),qo.forEach(Xf),Xo.forEach(Xf)}function xo(e,t){e.blockedOn===t&&(e.blockedOn=null,uu||(uu=!0,ft.unstable_scheduleCallback(ft.unstable_NormalPriority,Hg)))}function Yo(e){function t(o){return xo(o,e)}if(0<zi.length){xo(zi[0],e);for(var n=1;n<zi.length;n++){var r=zi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(On!==null&&xo(On,e),Mn!==null&&xo(Mn,e),$n!==null&&xo($n,e),qo.forEach(t),Xo.forEach(t),n=0;n<gn.length;n++)r=gn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<gn.length&&(n=gn[0],n.blockedOn===null);)Wh(n),n.blockedOn===null&&gn.shift()}var zr=pn.ReactCurrentBatchConfig,Ps=!0;function Kg(e,t,n,r){var o=Y,i=zr.transition;zr.transition=null;try{Y=1,fc(e,t,n,r)}finally{Y=o,zr.transition=i}}function Qg(e,t,n,r){var o=Y,i=zr.transition;zr.transition=null;try{Y=4,fc(e,t,n,r)}finally{Y=o,zr.transition=i}}function fc(e,t,n,r){if(Ps){var o=cu(e,t,n,r);if(o===null)Ea(e,t,r,Rs,n),qf(e,r);else if(Wg(o,e,t,n,r))r.stopPropagation();else if(qf(e,r),t&4&&-1<Vg.indexOf(e)){for(;o!==null;){var i=Si(o);if(i!==null&&Dh(i),i=cu(e,t,n,r),i===null&&Ea(e,t,r,Rs,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else Ea(e,t,r,null,n)}}var Rs=null;function cu(e,t,n,r){if(Rs=null,e=lc(r),e=qn(e),e!==null)if(t=fr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Lh(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 Rs=e,null}function Hh(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(Ig()){case ac:return 1;case zh:return 4;case Cs:case Fg:return 16;case Nh:return 536870912;default:return 16}default:return 16}}var Pn=null,dc=null,ns=null;function Kh(){if(ns)return ns;var e,t=dc,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 ns=o.slice(e,1<r?1-r:void 0)}function rs(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 Ni(){return!0}function Yf(){return!1}function pt(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)?Ni:Yf,this.isPropagationStopped=Yf,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=Ni)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ni)},persist:function(){},isPersistent:Ni}),t}var uo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pc=pt(uo),gi=ce({},uo,{view:0,detail:0}),Gg=pt(gi),ya,va,ko,rl=ce({},gi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hc,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!==ko&&(ko&&e.type==="mousemove"?(ya=e.screenX-ko.screenX,va=e.screenY-ko.screenY):va=ya=0,ko=e),ya)},movementY:function(e){return"movementY"in e?e.movementY:va}}),Jf=pt(rl),qg=ce({},rl,{dataTransfer:0}),Xg=pt(qg),Yg=ce({},gi,{relatedTarget:0}),ga=pt(Yg),Jg=ce({},uo,{animationName:0,elapsedTime:0,pseudoElement:0}),Zg=pt(Jg),e1=ce({},uo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),t1=pt(e1),n1=ce({},uo,{data:0}),Zf=pt(n1),r1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},o1={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"},i1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function s1(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=i1[e])?!!t[e]:!1}function hc(){return s1}var l1=ce({},gi,{key:function(e){if(e.key){var t=r1[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=rs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?o1[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hc,charCode:function(e){return e.type==="keypress"?rs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?rs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),a1=pt(l1),u1=ce({},rl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ed=pt(u1),c1=ce({},gi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hc}),f1=pt(c1),d1=ce({},uo,{propertyName:0,elapsedTime:0,pseudoElement:0}),p1=pt(d1),h1=ce({},rl,{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}),m1=pt(h1),y1=[9,13,27,32],mc=an&&"CompositionEvent"in window,zo=null;an&&"documentMode"in document&&(zo=document.documentMode);var v1=an&&"TextEvent"in window&&!zo,Qh=an&&(!mc||zo&&8<zo&&11>=zo),td=" ",nd=!1;function Gh(e,t){switch(e){case"keyup":return y1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var kr=!1;function g1(e,t){switch(e){case"compositionend":return qh(t);case"keypress":return t.which!==32?null:(nd=!0,td);case"textInput":return e=t.data,e===td&&nd?null:e;default:return null}}function S1(e,t){if(kr)return e==="compositionend"||!mc&&Gh(e,t)?(e=Kh(),ns=dc=Pn=null,kr=!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 Qh&&t.locale!=="ko"?null:t.data;default:return null}}var w1={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 rd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!w1[e.type]:t==="textarea"}function Xh(e,t,n,r){Rh(r),t=Ts(t,"onChange"),0<t.length&&(n=new pc("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var No=null,Jo=null;function x1(e){lm(e,0)}function ol(e){var t=Er(e);if(wh(t))return e}function k1(e,t){if(e==="change")return t}var Yh=!1;if(an){var Sa;if(an){var wa="oninput"in document;if(!wa){var od=document.createElement("div");od.setAttribute("oninput","return;"),wa=typeof od.oninput=="function"}Sa=wa}else Sa=!1;Yh=Sa&&(!document.documentMode||9<document.documentMode)}function id(){No&&(No.detachEvent("onpropertychange",Jh),Jo=No=null)}function Jh(e){if(e.propertyName==="value"&&ol(Jo)){var t=[];Xh(t,Jo,e,lc(e)),$h(x1,t)}}function _1(e,t,n){e==="focusin"?(id(),No=t,Jo=n,No.attachEvent("onpropertychange",Jh)):e==="focusout"&&id()}function C1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ol(Jo)}function E1(e,t){if(e==="click")return ol(t)}function P1(e,t){if(e==="input"||e==="change")return ol(t)}function R1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jt=typeof Object.is=="function"?Object.is:R1;function Zo(e,t){if(jt(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(!Ka.call(t,o)||!jt(e[o],t[o]))return!1}return!0}function sd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ld(e,t){var n=sd(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=sd(n)}}function Zh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Zh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function em(){for(var e=window,t=xs();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=xs(e.document)}return t}function yc(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 T1(e){var t=em(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Zh(n.ownerDocument.documentElement,n)){if(r!==null&&yc(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=ld(n,i);var s=ld(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 O1=an&&"documentMode"in document&&11>=document.documentMode,_r=null,fu=null,jo=null,du=!1;function ad(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;du||_r==null||_r!==xs(r)||(r=_r,"selectionStart"in r&&yc(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}),jo&&Zo(jo,r)||(jo=r,r=Ts(fu,"onSelect"),0<r.length&&(t=new pc("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=_r)))}function ji(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Cr={animationend:ji("Animation","AnimationEnd"),animationiteration:ji("Animation","AnimationIteration"),animationstart:ji("Animation","AnimationStart"),transitionend:ji("Transition","TransitionEnd")},xa={},tm={};an&&(tm=document.createElement("div").style,"AnimationEvent"in window||(delete Cr.animationend.animation,delete Cr.animationiteration.animation,delete Cr.animationstart.animation),"TransitionEvent"in window||delete Cr.transitionend.transition);function il(e){if(xa[e])return xa[e];if(!Cr[e])return e;var t=Cr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in tm)return xa[e]=t[n];return e}var nm=il("animationend"),rm=il("animationiteration"),om=il("animationstart"),im=il("transitionend"),sm=new Map,ud="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 Bn(e,t){sm.set(e,t),cr(t,[e])}for(var ka=0;ka<ud.length;ka++){var _a=ud[ka],M1=_a.toLowerCase(),$1=_a[0].toUpperCase()+_a.slice(1);Bn(M1,"on"+$1)}Bn(nm,"onAnimationEnd");Bn(rm,"onAnimationIteration");Bn(om,"onAnimationStart");Bn("dblclick","onDoubleClick");Bn("focusin","onFocus");Bn("focusout","onBlur");Bn(im,"onTransitionEnd");Zr("onMouseEnter",["mouseout","mouseover"]);Zr("onMouseLeave",["mouseout","mouseover"]);Zr("onPointerEnter",["pointerout","pointerover"]);Zr("onPointerLeave",["pointerout","pointerover"]);cr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));cr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));cr("onBeforeInput",["compositionend","keypress","textInput","paste"]);cr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));cr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));cr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var $o="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(" "),L1=new Set("cancel close invalid load scroll toggle".split(" ").concat($o));function cd(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Mg(r,t,void 0,e),e.currentTarget=null}function lm(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;cd(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;cd(o,l,u),i=a}}}if(_s)throw e=lu,_s=!1,lu=null,e}function oe(e,t){var n=t[vu];n===void 0&&(n=t[vu]=new Set);var r=e+"__bubble";n.has(r)||(am(t,e,2,!1),n.add(r))}function Ca(e,t,n){var r=0;t&&(r|=4),am(n,e,r,t)}var Ai="_reactListening"+Math.random().toString(36).slice(2);function ei(e){if(!e[Ai]){e[Ai]=!0,mh.forEach(function(n){n!=="selectionchange"&&(L1.has(n)||Ca(n,!1,e),Ca(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ai]||(t[Ai]=!0,Ca("selectionchange",!1,t))}}function am(e,t,n,r){switch(Hh(t)){case 1:var o=Kg;break;case 4:o=Qg;break;default:o=fc}n=o.bind(null,t,n,e),o=void 0,!su||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 Ea(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=qn(l),s===null)return;if(a=s.tag,a===5||a===6){r=i=s;continue e}l=l.parentNode}}r=r.return}$h(function(){var u=i,c=lc(n),d=[];e:{var f=sm.get(e);if(f!==void 0){var v=pc,g=e;switch(e){case"keypress":if(rs(n)===0)break e;case"keydown":case"keyup":v=a1;break;case"focusin":g="focus",v=ga;break;case"focusout":g="blur",v=ga;break;case"beforeblur":case"afterblur":v=ga;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":v=Jf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=Xg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=f1;break;case nm:case rm:case om:v=Zg;break;case im:v=p1;break;case"scroll":v=Gg;break;case"wheel":v=m1;break;case"copy":case"cut":case"paste":v=t1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=ed}var y=(t&4)!==0,k=!y&&e==="scroll",p=y?f!==null?f+"Capture":null:f;y=[];for(var h=u,m;h!==null;){m=h;var S=m.stateNode;if(m.tag===5&&S!==null&&(m=S,p!==null&&(S=Go(h,p),S!=null&&y.push(ti(h,S,m)))),k)break;h=h.return}0<y.length&&(f=new v(f,g,null,n,c),d.push({event:f,listeners:y}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",v=e==="mouseout"||e==="pointerout",f&&n!==ou&&(g=n.relatedTarget||n.fromElement)&&(qn(g)||g[un]))break e;if((v||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,v?(g=n.relatedTarget||n.toElement,v=u,g=g?qn(g):null,g!==null&&(k=fr(g),g!==k||g.tag!==5&&g.tag!==6)&&(g=null)):(v=null,g=u),v!==g)){if(y=Jf,S="onMouseLeave",p="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(y=ed,S="onPointerLeave",p="onPointerEnter",h="pointer"),k=v==null?f:Er(v),m=g==null?f:Er(g),f=new y(S,h+"leave",v,n,c),f.target=k,f.relatedTarget=m,S=null,qn(c)===u&&(y=new y(p,h+"enter",g,n,c),y.target=m,y.relatedTarget=k,S=y),k=S,v&&g)t:{for(y=v,p=g,h=0,m=y;m;m=dr(m))h++;for(m=0,S=p;S;S=dr(S))m++;for(;0<h-m;)y=dr(y),h--;for(;0<m-h;)p=dr(p),m--;for(;h--;){if(y===p||p!==null&&y===p.alternate)break t;y=dr(y),p=dr(p)}y=null}else y=null;v!==null&&fd(d,f,v,y,!1),g!==null&&k!==null&&fd(d,k,g,y,!0)}}e:{if(f=u?Er(u):window,v=f.nodeName&&f.nodeName.toLowerCase(),v==="select"||v==="input"&&f.type==="file")var w=k1;else if(rd(f))if(Yh)w=P1;else{w=C1;var C=_1}else(v=f.nodeName)&&v.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(w=E1);if(w&&(w=w(e,u))){Xh(d,w,n,c);break e}C&&C(e,f,u),e==="focusout"&&(C=f._wrapperState)&&C.controlled&&f.type==="number"&&Za(f,"number",f.value)}switch(C=u?Er(u):window,e){case"focusin":(rd(C)||C.contentEditable==="true")&&(_r=C,fu=u,jo=null);break;case"focusout":jo=fu=_r=null;break;case"mousedown":du=!0;break;case"contextmenu":case"mouseup":case"dragend":du=!1,ad(d,n,c);break;case"selectionchange":if(O1)break;case"keydown":case"keyup":ad(d,n,c)}var x;if(mc)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else kr?Gh(e,n)&&(_="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(_="onCompositionStart");_&&(Qh&&n.locale!=="ko"&&(kr||_!=="onCompositionStart"?_==="onCompositionEnd"&&kr&&(x=Kh()):(Pn=c,dc="value"in Pn?Pn.value:Pn.textContent,kr=!0)),C=Ts(u,_),0<C.length&&(_=new Zf(_,e,null,n,c),d.push({event:_,listeners:C}),x?_.data=x:(x=qh(n),x!==null&&(_.data=x)))),(x=v1?g1(e,n):S1(e,n))&&(u=Ts(u,"onBeforeInput"),0<u.length&&(c=new Zf("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=x))}lm(d,t)})}function ti(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ts(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Go(e,n),i!=null&&r.unshift(ti(e,i,o)),i=Go(e,t),i!=null&&r.push(ti(e,i,o))),e=e.return}return r}function dr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function fd(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=Go(n,i),a!=null&&s.unshift(ti(n,a,l))):o||(a=Go(n,i),a!=null&&s.push(ti(n,a,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var b1=/\r\n?/g,I1=/\u0000|\uFFFD/g;function dd(e){return(typeof e=="string"?e:""+e).replace(b1,`
`).replace(I1,"")}function Di(e,t,n){if(t=dd(t),dd(e)!==t&&n)throw Error(T(425))}function Os(){}var pu=null,hu=null;function mu(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 yu=typeof setTimeout=="function"?setTimeout:void 0,F1=typeof clearTimeout=="function"?clearTimeout:void 0,pd=typeof Promise=="function"?Promise:void 0,z1=typeof queueMicrotask=="function"?queueMicrotask:typeof pd<"u"?function(e){return pd.resolve(null).then(e).catch(N1)}:yu;function N1(e){setTimeout(function(){throw e})}function Pa(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),Yo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Yo(t)}function Ln(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 hd(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 co=Math.random().toString(36).slice(2),qt="__reactFiber$"+co,ni="__reactProps$"+co,un="__reactContainer$"+co,vu="__reactEvents$"+co,j1="__reactListeners$"+co,A1="__reactHandles$"+co;function qn(e){var t=e[qt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[un]||n[qt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=hd(e);e!==null;){if(n=e[qt])return n;e=hd(e)}return t}e=n,n=e.parentNode}return null}function Si(e){return e=e[qt]||e[un],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Er(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(T(33))}function sl(e){return e[ni]||null}var gu=[],Pr=-1;function Un(e){return{current:e}}function ie(e){0>Pr||(e.current=gu[Pr],gu[Pr]=null,Pr--)}function re(e,t){Pr++,gu[Pr]=e.current,e.current=t}var jn={},Ae=Un(jn),Ze=Un(!1),ir=jn;function eo(e,t){var n=e.type.contextTypes;if(!n)return jn;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 et(e){return e=e.childContextTypes,e!=null}function Ms(){ie(Ze),ie(Ae)}function md(e,t,n){if(Ae.current!==jn)throw Error(T(168));re(Ae,t),re(Ze,n)}function um(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(T(108,_g(e)||"Unknown",o));return ce({},n,r)}function $s(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jn,ir=Ae.current,re(Ae,e),re(Ze,Ze.current),!0}function yd(e,t,n){var r=e.stateNode;if(!r)throw Error(T(169));n?(e=um(e,t,ir),r.__reactInternalMemoizedMergedChildContext=e,ie(Ze),ie(Ae),re(Ae,e)):ie(Ze),re(Ze,n)}var rn=null,ll=!1,Ra=!1;function cm(e){rn===null?rn=[e]:rn.push(e)}function D1(e){ll=!0,cm(e)}function Vn(){if(!Ra&&rn!==null){Ra=!0;var e=0,t=Y;try{var n=rn;for(Y=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}rn=null,ll=!1}catch(o){throw rn!==null&&(rn=rn.slice(e+1)),Fh(ac,Vn),o}finally{Y=t,Ra=!1}}return null}var Rr=[],Tr=0,Ls=null,bs=0,St=[],wt=0,sr=null,on=1,sn="";function Hn(e,t){Rr[Tr++]=bs,Rr[Tr++]=Ls,Ls=e,bs=t}function fm(e,t,n){St[wt++]=on,St[wt++]=sn,St[wt++]=sr,sr=e;var r=on;e=sn;var o=32-zt(r)-1;r&=~(1<<o),n+=1;var i=32-zt(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,on=1<<32-zt(t)+o|n<<o|r,sn=i+e}else on=1<<i|n<<o|r,sn=e}function vc(e){e.return!==null&&(Hn(e,1),fm(e,1,0))}function gc(e){for(;e===Ls;)Ls=Rr[--Tr],Rr[Tr]=null,bs=Rr[--Tr],Rr[Tr]=null;for(;e===sr;)sr=St[--wt],St[wt]=null,sn=St[--wt],St[wt]=null,on=St[--wt],St[wt]=null}var ut=null,at=null,le=!1,Ft=null;function dm(e,t){var n=kt(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 vd(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,ut=e,at=Ln(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ut=e,at=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=sr!==null?{id:on,overflow:sn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=kt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ut=e,at=null,!0):!1;default:return!1}}function Su(e){return(e.mode&1)!==0&&(e.flags&128)===0}function wu(e){if(le){var t=at;if(t){var n=t;if(!vd(e,t)){if(Su(e))throw Error(T(418));t=Ln(n.nextSibling);var r=ut;t&&vd(e,t)?dm(r,n):(e.flags=e.flags&-4097|2,le=!1,ut=e)}}else{if(Su(e))throw Error(T(418));e.flags=e.flags&-4097|2,le=!1,ut=e}}}function gd(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ut=e}function Bi(e){if(e!==ut)return!1;if(!le)return gd(e),le=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!mu(e.type,e.memoizedProps)),t&&(t=at)){if(Su(e))throw pm(),Error(T(418));for(;t;)dm(e,t),t=Ln(t.nextSibling)}if(gd(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(T(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){at=Ln(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}at=null}}else at=ut?Ln(e.stateNode.nextSibling):null;return!0}function pm(){for(var e=at;e;)e=Ln(e.nextSibling)}function to(){at=ut=null,le=!1}function Sc(e){Ft===null?Ft=[e]:Ft.push(e)}var B1=pn.ReactCurrentBatchConfig;function _o(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(T(309));var r=n.stateNode}if(!r)throw Error(T(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(T(284));if(!n._owner)throw Error(T(290,e))}return e}function Ui(e,t){throw e=Object.prototype.toString.call(t),Error(T(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Sd(e){var t=e._init;return t(e._payload)}function hm(e){function t(p,h){if(e){var m=p.deletions;m===null?(p.deletions=[h],p.flags|=16):m.push(h)}}function n(p,h){if(!e)return null;for(;h!==null;)t(p,h),h=h.sibling;return null}function r(p,h){for(p=new Map;h!==null;)h.key!==null?p.set(h.key,h):p.set(h.index,h),h=h.sibling;return p}function o(p,h){return p=zn(p,h),p.index=0,p.sibling=null,p}function i(p,h,m){return p.index=m,e?(m=p.alternate,m!==null?(m=m.index,m<h?(p.flags|=2,h):m):(p.flags|=2,h)):(p.flags|=1048576,h)}function s(p){return e&&p.alternate===null&&(p.flags|=2),p}function l(p,h,m,S){return h===null||h.tag!==6?(h=Ia(m,p.mode,S),h.return=p,h):(h=o(h,m),h.return=p,h)}function a(p,h,m,S){var w=m.type;return w===xr?c(p,h,m.props.children,S,m.key):h!==null&&(h.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===yn&&Sd(w)===h.type)?(S=o(h,m.props),S.ref=_o(p,h,m),S.return=p,S):(S=cs(m.type,m.key,m.props,null,p.mode,S),S.ref=_o(p,h,m),S.return=p,S)}function u(p,h,m,S){return h===null||h.tag!==4||h.stateNode.containerInfo!==m.containerInfo||h.stateNode.implementation!==m.implementation?(h=Fa(m,p.mode,S),h.return=p,h):(h=o(h,m.children||[]),h.return=p,h)}function c(p,h,m,S,w){return h===null||h.tag!==7?(h=or(m,p.mode,S,w),h.return=p,h):(h=o(h,m),h.return=p,h)}function d(p,h,m){if(typeof h=="string"&&h!==""||typeof h=="number")return h=Ia(""+h,p.mode,m),h.return=p,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case $i:return m=cs(h.type,h.key,h.props,null,p.mode,m),m.ref=_o(p,null,h),m.return=p,m;case wr:return h=Fa(h,p.mode,m),h.return=p,h;case yn:var S=h._init;return d(p,S(h._payload),m)}if(Oo(h)||go(h))return h=or(h,p.mode,m,null),h.return=p,h;Ui(p,h)}return null}function f(p,h,m,S){var w=h!==null?h.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return w!==null?null:l(p,h,""+m,S);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case $i:return m.key===w?a(p,h,m,S):null;case wr:return m.key===w?u(p,h,m,S):null;case yn:return w=m._init,f(p,h,w(m._payload),S)}if(Oo(m)||go(m))return w!==null?null:c(p,h,m,S,null);Ui(p,m)}return null}function v(p,h,m,S,w){if(typeof S=="string"&&S!==""||typeof S=="number")return p=p.get(m)||null,l(h,p,""+S,w);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case $i:return p=p.get(S.key===null?m:S.key)||null,a(h,p,S,w);case wr:return p=p.get(S.key===null?m:S.key)||null,u(h,p,S,w);case yn:var C=S._init;return v(p,h,m,C(S._payload),w)}if(Oo(S)||go(S))return p=p.get(m)||null,c(h,p,S,w,null);Ui(h,S)}return null}function g(p,h,m,S){for(var w=null,C=null,x=h,_=h=0,b=null;x!==null&&_<m.length;_++){x.index>_?(b=x,x=null):b=x.sibling;var O=f(p,x,m[_],S);if(O===null){x===null&&(x=b);break}e&&x&&O.alternate===null&&t(p,x),h=i(O,h,_),C===null?w=O:C.sibling=O,C=O,x=b}if(_===m.length)return n(p,x),le&&Hn(p,_),w;if(x===null){for(;_<m.length;_++)x=d(p,m[_],S),x!==null&&(h=i(x,h,_),C===null?w=x:C.sibling=x,C=x);return le&&Hn(p,_),w}for(x=r(p,x);_<m.length;_++)b=v(x,p,_,m[_],S),b!==null&&(e&&b.alternate!==null&&x.delete(b.key===null?_:b.key),h=i(b,h,_),C===null?w=b:C.sibling=b,C=b);return e&&x.forEach(function(F){return t(p,F)}),le&&Hn(p,_),w}function y(p,h,m,S){var w=go(m);if(typeof w!="function")throw Error(T(150));if(m=w.call(m),m==null)throw Error(T(151));for(var C=w=null,x=h,_=h=0,b=null,O=m.next();x!==null&&!O.done;_++,O=m.next()){x.index>_?(b=x,x=null):b=x.sibling;var F=f(p,x,O.value,S);if(F===null){x===null&&(x=b);break}e&&x&&F.alternate===null&&t(p,x),h=i(F,h,_),C===null?w=F:C.sibling=F,C=F,x=b}if(O.done)return n(p,x),le&&Hn(p,_),w;if(x===null){for(;!O.done;_++,O=m.next())O=d(p,O.value,S),O!==null&&(h=i(O,h,_),C===null?w=O:C.sibling=O,C=O);return le&&Hn(p,_),w}for(x=r(p,x);!O.done;_++,O=m.next())O=v(x,p,_,O.value,S),O!==null&&(e&&O.alternate!==null&&x.delete(O.key===null?_:O.key),h=i(O,h,_),C===null?w=O:C.sibling=O,C=O);return e&&x.forEach(function(z){return t(p,z)}),le&&Hn(p,_),w}function k(p,h,m,S){if(typeof m=="object"&&m!==null&&m.type===xr&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case $i:e:{for(var w=m.key,C=h;C!==null;){if(C.key===w){if(w=m.type,w===xr){if(C.tag===7){n(p,C.sibling),h=o(C,m.props.children),h.return=p,p=h;break e}}else if(C.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===yn&&Sd(w)===C.type){n(p,C.sibling),h=o(C,m.props),h.ref=_o(p,C,m),h.return=p,p=h;break e}n(p,C);break}else t(p,C);C=C.sibling}m.type===xr?(h=or(m.props.children,p.mode,S,m.key),h.return=p,p=h):(S=cs(m.type,m.key,m.props,null,p.mode,S),S.ref=_o(p,h,m),S.return=p,p=S)}return s(p);case wr:e:{for(C=m.key;h!==null;){if(h.key===C)if(h.tag===4&&h.stateNode.containerInfo===m.containerInfo&&h.stateNode.implementation===m.implementation){n(p,h.sibling),h=o(h,m.children||[]),h.return=p,p=h;break e}else{n(p,h);break}else t(p,h);h=h.sibling}h=Fa(m,p.mode,S),h.return=p,p=h}return s(p);case yn:return C=m._init,k(p,h,C(m._payload),S)}if(Oo(m))return g(p,h,m,S);if(go(m))return y(p,h,m,S);Ui(p,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,h!==null&&h.tag===6?(n(p,h.sibling),h=o(h,m),h.return=p,p=h):(n(p,h),h=Ia(m,p.mode,S),h.return=p,p=h),s(p)):n(p,h)}return k}var no=hm(!0),mm=hm(!1),Is=Un(null),Fs=null,Or=null,wc=null;function xc(){wc=Or=Fs=null}function kc(e){var t=Is.current;ie(Is),e._currentValue=t}function xu(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 Nr(e,t){Fs=e,wc=Or=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Je=!0),e.firstContext=null)}function Ct(e){var t=e._currentValue;if(wc!==e)if(e={context:e,memoizedValue:t,next:null},Or===null){if(Fs===null)throw Error(T(308));Or=e,Fs.dependencies={lanes:0,firstContext:e}}else Or=Or.next=e;return t}var Xn=null;function _c(e){Xn===null?Xn=[e]:Xn.push(e)}function ym(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,_c(t)):(n.next=o.next,o.next=n),t.interleaved=n,cn(e,r)}function cn(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 vn=!1;function Cc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function vm(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 ln(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function bn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,H&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,cn(e,n)}return o=r.interleaved,o===null?(t.next=t,_c(r)):(t.next=o.next,o.next=t),r.interleaved=t,cn(e,n)}function os(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,uc(e,n)}}function wd(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 zs(e,t,n,r){var o=e.updateQueue;vn=!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 c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==s&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=a))}if(i!==null){var d=o.baseState;s=0,c=u=a=null,l=i;do{var f=l.lane,v=l.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:v,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var g=e,y=l;switch(f=t,v=n,y.tag){case 1:if(g=y.payload,typeof g=="function"){d=g.call(v,d,f);break e}d=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,f=typeof g=="function"?g.call(v,d,f):g,f==null)break e;d=ce({},d,f);break e;case 2:vn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[l]:f.push(l))}else v={eventTime:v,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=v,a=d):c=c.next=v,s|=f;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;f=l,l=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(c===null&&(a=d),o.baseState=a,o.firstBaseUpdate=u,o.lastBaseUpdate=c,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);ar|=s,e.lanes=s,e.memoizedState=d}}function xd(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(T(191,o));o.call(r)}}}var wi={},Yt=Un(wi),ri=Un(wi),oi=Un(wi);function Yn(e){if(e===wi)throw Error(T(174));return e}function Ec(e,t){switch(re(oi,t),re(ri,e),re(Yt,wi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:tu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=tu(t,e)}ie(Yt),re(Yt,t)}function ro(){ie(Yt),ie(ri),ie(oi)}function gm(e){Yn(oi.current);var t=Yn(Yt.current),n=tu(t,e.type);t!==n&&(re(ri,e),re(Yt,n))}function Pc(e){ri.current===e&&(ie(Yt),ie(ri))}var ae=Un(0);function Ns(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 Ta=[];function Rc(){for(var e=0;e<Ta.length;e++)Ta[e]._workInProgressVersionPrimary=null;Ta.length=0}var is=pn.ReactCurrentDispatcher,Oa=pn.ReactCurrentBatchConfig,lr=0,ue=null,Ce=null,Pe=null,js=!1,Ao=!1,ii=0,U1=0;function Ie(){throw Error(T(321))}function Tc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!jt(e[n],t[n]))return!1;return!0}function Oc(e,t,n,r,o,i){if(lr=i,ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,is.current=e===null||e.memoizedState===null?K1:Q1,e=n(r,o),Ao){i=0;do{if(Ao=!1,ii=0,25<=i)throw Error(T(301));i+=1,Pe=Ce=null,t.updateQueue=null,is.current=G1,e=n(r,o)}while(Ao)}if(is.current=As,t=Ce!==null&&Ce.next!==null,lr=0,Pe=Ce=ue=null,js=!1,t)throw Error(T(300));return e}function Mc(){var e=ii!==0;return ii=0,e}function Ut(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pe===null?ue.memoizedState=Pe=e:Pe=Pe.next=e,Pe}function Et(){if(Ce===null){var e=ue.alternate;e=e!==null?e.memoizedState:null}else e=Ce.next;var t=Pe===null?ue.memoizedState:Pe.next;if(t!==null)Pe=t,Ce=e;else{if(e===null)throw Error(T(310));Ce=e,e={memoizedState:Ce.memoizedState,baseState:Ce.baseState,baseQueue:Ce.baseQueue,queue:Ce.queue,next:null},Pe===null?ue.memoizedState=Pe=e:Pe=Pe.next=e}return Pe}function si(e,t){return typeof t=="function"?t(e):t}function Ma(e){var t=Et(),n=t.queue;if(n===null)throw Error(T(311));n.lastRenderedReducer=e;var r=Ce,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 c=u.lane;if((lr&c)===c)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 d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=d,s=r):a=a.next=d,ue.lanes|=c,ar|=c}u=u.next}while(u!==null&&u!==i);a===null?s=r:a.next=l,jt(r,t.memoizedState)||(Je=!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,ar|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function $a(e){var t=Et(),n=t.queue;if(n===null)throw Error(T(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);jt(i,t.memoizedState)||(Je=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Sm(){}function wm(e,t){var n=ue,r=Et(),o=t(),i=!jt(r.memoizedState,o);if(i&&(r.memoizedState=o,Je=!0),r=r.queue,$c(_m.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Pe!==null&&Pe.memoizedState.tag&1){if(n.flags|=2048,li(9,km.bind(null,n,r,o,t),void 0,null),Re===null)throw Error(T(349));lr&30||xm(n,t,o)}return o}function xm(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 km(e,t,n,r){t.value=n,t.getSnapshot=r,Cm(t)&&Em(e)}function _m(e,t,n){return n(function(){Cm(t)&&Em(e)})}function Cm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!jt(e,n)}catch{return!0}}function Em(e){var t=cn(e,1);t!==null&&Nt(t,e,1,-1)}function kd(e){var t=Ut();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:si,lastRenderedState:e},t.queue=e,e=e.dispatch=H1.bind(null,ue,e),[t.memoizedState,e]}function li(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 Pm(){return Et().memoizedState}function ss(e,t,n,r){var o=Ut();ue.flags|=e,o.memoizedState=li(1|t,n,void 0,r===void 0?null:r)}function al(e,t,n,r){var o=Et();r=r===void 0?null:r;var i=void 0;if(Ce!==null){var s=Ce.memoizedState;if(i=s.destroy,r!==null&&Tc(r,s.deps)){o.memoizedState=li(t,n,i,r);return}}ue.flags|=e,o.memoizedState=li(1|t,n,i,r)}function _d(e,t){return ss(8390656,8,e,t)}function $c(e,t){return al(2048,8,e,t)}function Rm(e,t){return al(4,2,e,t)}function Tm(e,t){return al(4,4,e,t)}function Om(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 Mm(e,t,n){return n=n!=null?n.concat([e]):null,al(4,4,Om.bind(null,t,e),n)}function Lc(){}function $m(e,t){var n=Et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Tc(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Lm(e,t){var n=Et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Tc(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function bm(e,t,n){return lr&21?(jt(n,t)||(n=jh(),ue.lanes|=n,ar|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Je=!0),e.memoizedState=n)}function V1(e,t){var n=Y;Y=n!==0&&4>n?n:4,e(!0);var r=Oa.transition;Oa.transition={};try{e(!1),t()}finally{Y=n,Oa.transition=r}}function Im(){return Et().memoizedState}function W1(e,t,n){var r=Fn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Fm(e))zm(t,n);else if(n=ym(e,t,n,r),n!==null){var o=He();Nt(n,e,r,o),Nm(n,t,r)}}function H1(e,t,n){var r=Fn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Fm(e))zm(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,jt(l,s)){var a=t.interleaved;a===null?(o.next=o,_c(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=ym(e,t,o,r),n!==null&&(o=He(),Nt(n,e,r,o),Nm(n,t,r))}}function Fm(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function zm(e,t){Ao=js=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Nm(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,uc(e,n)}}var As={readContext:Ct,useCallback:Ie,useContext:Ie,useEffect:Ie,useImperativeHandle:Ie,useInsertionEffect:Ie,useLayoutEffect:Ie,useMemo:Ie,useReducer:Ie,useRef:Ie,useState:Ie,useDebugValue:Ie,useDeferredValue:Ie,useTransition:Ie,useMutableSource:Ie,useSyncExternalStore:Ie,useId:Ie,unstable_isNewReconciler:!1},K1={readContext:Ct,useCallback:function(e,t){return Ut().memoizedState=[e,t===void 0?null:t],e},useContext:Ct,useEffect:_d,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ss(4194308,4,Om.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ss(4194308,4,e,t)},useInsertionEffect:function(e,t){return ss(4,2,e,t)},useMemo:function(e,t){var n=Ut();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ut();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=W1.bind(null,ue,e),[r.memoizedState,e]},useRef:function(e){var t=Ut();return e={current:e},t.memoizedState=e},useState:kd,useDebugValue:Lc,useDeferredValue:function(e){return Ut().memoizedState=e},useTransition:function(){var e=kd(!1),t=e[0];return e=V1.bind(null,e[1]),Ut().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ue,o=Ut();if(le){if(n===void 0)throw Error(T(407));n=n()}else{if(n=t(),Re===null)throw Error(T(349));lr&30||xm(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,_d(_m.bind(null,r,i,e),[e]),r.flags|=2048,li(9,km.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ut(),t=Re.identifierPrefix;if(le){var n=sn,r=on;n=(r&~(1<<32-zt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ii++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=U1++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Q1={readContext:Ct,useCallback:$m,useContext:Ct,useEffect:$c,useImperativeHandle:Mm,useInsertionEffect:Rm,useLayoutEffect:Tm,useMemo:Lm,useReducer:Ma,useRef:Pm,useState:function(){return Ma(si)},useDebugValue:Lc,useDeferredValue:function(e){var t=Et();return bm(t,Ce.memoizedState,e)},useTransition:function(){var e=Ma(si)[0],t=Et().memoizedState;return[e,t]},useMutableSource:Sm,useSyncExternalStore:wm,useId:Im,unstable_isNewReconciler:!1},G1={readContext:Ct,useCallback:$m,useContext:Ct,useEffect:$c,useImperativeHandle:Mm,useInsertionEffect:Rm,useLayoutEffect:Tm,useMemo:Lm,useReducer:$a,useRef:Pm,useState:function(){return $a(si)},useDebugValue:Lc,useDeferredValue:function(e){var t=Et();return Ce===null?t.memoizedState=e:bm(t,Ce.memoizedState,e)},useTransition:function(){var e=$a(si)[0],t=Et().memoizedState;return[e,t]},useMutableSource:Sm,useSyncExternalStore:wm,useId:Im,unstable_isNewReconciler:!1};function Lt(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 ku(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 ul={isMounted:function(e){return(e=e._reactInternals)?fr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=He(),o=Fn(e),i=ln(r,o);i.payload=t,n!=null&&(i.callback=n),t=bn(e,i,o),t!==null&&(Nt(t,e,o,r),os(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=He(),o=Fn(e),i=ln(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=bn(e,i,o),t!==null&&(Nt(t,e,o,r),os(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=He(),r=Fn(e),o=ln(n,r);o.tag=2,t!=null&&(o.callback=t),t=bn(e,o,r),t!==null&&(Nt(t,e,r,n),os(t,e,r))}};function Cd(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?!Zo(n,r)||!Zo(o,i):!0}function jm(e,t,n){var r=!1,o=jn,i=t.contextType;return typeof i=="object"&&i!==null?i=Ct(i):(o=et(t)?ir:Ae.current,r=t.contextTypes,i=(r=r!=null)?eo(e,o):jn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ul,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Ed(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&&ul.enqueueReplaceState(t,t.state,null)}function _u(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Cc(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Ct(i):(i=et(t)?ir:Ae.current,o.context=eo(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(ku(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&&ul.enqueueReplaceState(o,o.state,null),zs(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function oo(e,t){try{var n="",r=t;do n+=kg(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 La(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Cu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var q1=typeof WeakMap=="function"?WeakMap:Map;function Am(e,t,n){n=ln(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Bs||(Bs=!0,Iu=r),Cu(e,t)},n}function Dm(e,t,n){n=ln(-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(){Cu(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Cu(e,t),typeof r!="function"&&(In===null?In=new Set([this]):In.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Pd(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new q1;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=uS.bind(null,e,t,n),t.then(e,e))}function Rd(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 Td(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=ln(-1,1),t.tag=2,bn(n,t,1))),n.lanes|=1),e)}var X1=pn.ReactCurrentOwner,Je=!1;function Ue(e,t,n,r){t.child=e===null?mm(t,null,n,r):no(t,e.child,n,r)}function Od(e,t,n,r,o){n=n.render;var i=t.ref;return Nr(t,o),r=Oc(e,t,n,r,i,o),n=Mc(),e!==null&&!Je?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,fn(e,t,o)):(le&&n&&vc(t),t.flags|=1,Ue(e,t,r,o),t.child)}function Md(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Dc(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Bm(e,t,i,r,o)):(e=cs(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:Zo,n(s,r)&&e.ref===t.ref)return fn(e,t,o)}return t.flags|=1,e=zn(i,r),e.ref=t.ref,e.return=t,t.child=e}function Bm(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Zo(i,r)&&e.ref===t.ref)if(Je=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Je=!0);else return t.lanes=e.lanes,fn(e,t,o)}return Eu(e,t,n,r,o)}function Um(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},re($r,it),it|=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,re($r,it),it|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,re($r,it),it|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,re($r,it),it|=r;return Ue(e,t,o,n),t.child}function Vm(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Eu(e,t,n,r,o){var i=et(n)?ir:Ae.current;return i=eo(t,i),Nr(t,o),n=Oc(e,t,n,r,i,o),r=Mc(),e!==null&&!Je?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,fn(e,t,o)):(le&&r&&vc(t),t.flags|=1,Ue(e,t,n,o),t.child)}function $d(e,t,n,r,o){if(et(n)){var i=!0;$s(t)}else i=!1;if(Nr(t,o),t.stateNode===null)ls(e,t),jm(t,n,r),_u(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=Ct(u):(u=et(n)?ir:Ae.current,u=eo(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&Ed(t,s,r,u),vn=!1;var f=t.memoizedState;s.state=f,zs(t,r,s,o),a=t.memoizedState,l!==r||f!==a||Ze.current||vn?(typeof c=="function"&&(ku(t,n,c,r),a=t.memoizedState),(l=vn||Cd(t,n,l,r,f,a,u))?(d||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,vm(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Lt(t.type,l),s.props=u,d=t.pendingProps,f=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=Ct(a):(a=et(n)?ir:Ae.current,a=eo(t,a));var v=n.getDerivedStateFromProps;(c=typeof v=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==d||f!==a)&&Ed(t,s,r,a),vn=!1,f=t.memoizedState,s.state=f,zs(t,r,s,o);var g=t.memoizedState;l!==d||f!==g||Ze.current||vn?(typeof v=="function"&&(ku(t,n,v,r),g=t.memoizedState),(u=vn||Cd(t,n,u,r,f,g,a)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,g,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,g,a)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),s.props=r,s.state=g,s.context=a,r=u):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Pu(e,t,n,r,i,o)}function Pu(e,t,n,r,o,i){Vm(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&yd(t,n,!1),fn(e,t,i);r=t.stateNode,X1.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=no(t,e.child,null,i),t.child=no(t,null,l,i)):Ue(e,t,l,i),t.memoizedState=r.state,o&&yd(t,n,!0),t.child}function Wm(e){var t=e.stateNode;t.pendingContext?md(e,t.pendingContext,t.pendingContext!==t.context):t.context&&md(e,t.context,!1),Ec(e,t.containerInfo)}function Ld(e,t,n,r,o){return to(),Sc(o),t.flags|=256,Ue(e,t,n,r),t.child}var Ru={dehydrated:null,treeContext:null,retryLane:0};function Tu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Hm(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),re(ae,o&1),e===null)return wu(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=dl(s,r,0,null),e=or(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Tu(n),t.memoizedState=Ru,e):bc(t,s));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return Y1(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=zn(o,a),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=zn(l,i):(i=or(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?Tu(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=Ru,r}return i=e.child,e=i.sibling,r=zn(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 bc(e,t){return t=dl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Vi(e,t,n,r){return r!==null&&Sc(r),no(t,e.child,null,n),e=bc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Y1(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=La(Error(T(422))),Vi(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=dl({mode:"visible",children:r.children},o,0,null),i=or(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&no(t,e.child,null,s),t.child.memoizedState=Tu(s),t.memoizedState=Ru,i);if(!(t.mode&1))return Vi(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(T(419)),r=La(i,r,void 0),Vi(e,t,s,r)}if(l=(s&e.childLanes)!==0,Je||l){if(r=Re,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,cn(e,o),Nt(r,e,o,-1))}return Ac(),r=La(Error(T(421))),Vi(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=cS.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,at=Ln(o.nextSibling),ut=t,le=!0,Ft=null,e!==null&&(St[wt++]=on,St[wt++]=sn,St[wt++]=sr,on=e.id,sn=e.overflow,sr=t),t=bc(t,r.children),t.flags|=4096,t)}function bd(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),xu(e.return,t,n)}function ba(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 Km(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ue(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&&bd(e,n,t);else if(e.tag===19)bd(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(re(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&&Ns(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),ba(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&&Ns(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}ba(t,!0,n,null,i);break;case"together":ba(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ls(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function fn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ar|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(T(153));if(t.child!==null){for(e=t.child,n=zn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=zn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function J1(e,t,n){switch(t.tag){case 3:Wm(t),to();break;case 5:gm(t);break;case 1:et(t.type)&&$s(t);break;case 4:Ec(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;re(Is,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(re(ae,ae.current&1),t.flags|=128,null):n&t.child.childLanes?Hm(e,t,n):(re(ae,ae.current&1),e=fn(e,t,n),e!==null?e.sibling:null);re(ae,ae.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Km(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),re(ae,ae.current),r)break;return null;case 22:case 23:return t.lanes=0,Um(e,t,n)}return fn(e,t,n)}var Qm,Ou,Gm,qm;Qm=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}};Ou=function(){};Gm=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Yn(Yt.current);var i=null;switch(n){case"input":o=Ya(e,o),r=Ya(e,r),i=[];break;case"select":o=ce({},o,{value:void 0}),r=ce({},r,{value:void 0}),i=[];break;case"textarea":o=eu(e,o),r=eu(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Os)}nu(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"&&(Ko.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"&&(Ko.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)}};qm=function(e,t,n,r){n!==r&&(t.flags|=4)};function Co(e,t){if(!le)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Fe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Z1(e,t,n){var r=t.pendingProps;switch(gc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fe(t),null;case 1:return et(t.type)&&Ms(),Fe(t),null;case 3:return r=t.stateNode,ro(),ie(Ze),ie(Ae),Rc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Bi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ft!==null&&(Nu(Ft),Ft=null))),Ou(e,t),Fe(t),null;case 5:Pc(t);var o=Yn(oi.current);if(n=t.type,e!==null&&t.stateNode!=null)Gm(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(T(166));return Fe(t),null}if(e=Yn(Yt.current),Bi(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[qt]=t,r[ni]=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<$o.length;o++)oe($o[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":Uf(r,i),oe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},oe("invalid",r);break;case"textarea":Wf(r,i),oe("invalid",r)}nu(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&&Di(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&Di(r.textContent,l,e),o=["children",""+l]):Ko.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&oe("scroll",r)}switch(n){case"input":Li(r),Vf(r,i,!0);break;case"textarea":Li(r),Hf(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Os)}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=_h(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[qt]=t,e[ni]=r,Qm(e,t,!1,!1),t.stateNode=e;e:{switch(s=ru(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<$o.length;o++)oe($o[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":Uf(e,r),o=Ya(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":Wf(e,r),o=eu(e,r),oe("invalid",e);break;default:o=r}nu(n,o),l=o;for(i in l)if(l.hasOwnProperty(i)){var a=l[i];i==="style"?Ph(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Ch(e,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Qo(e,a):typeof a=="number"&&Qo(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Ko.hasOwnProperty(i)?a!=null&&i==="onScroll"&&oe("scroll",e):a!=null&&rc(e,i,a,s))}switch(n){case"input":Li(e),Vf(e,r,!1);break;case"textarea":Li(e),Hf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Nn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?br(e,!!r.multiple,i,!1):r.defaultValue!=null&&br(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Os)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Fe(t),null;case 6:if(e&&t.stateNode!=null)qm(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(T(166));if(n=Yn(oi.current),Yn(Yt.current),Bi(t)){if(r=t.stateNode,n=t.memoizedProps,r[qt]=t,(i=r.nodeValue!==n)&&(e=ut,e!==null))switch(e.tag){case 3:Di(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Di(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[qt]=t,t.stateNode=r}return Fe(t),null;case 13:if(ie(ae),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(le&&at!==null&&t.mode&1&&!(t.flags&128))pm(),to(),t.flags|=98560,i=!1;else if(i=Bi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(T(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(T(317));i[qt]=t}else to(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Fe(t),i=!1}else Ft!==null&&(Nu(Ft),Ft=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?Ee===0&&(Ee=3):Ac())),t.updateQueue!==null&&(t.flags|=4),Fe(t),null);case 4:return ro(),Ou(e,t),e===null&&ei(t.stateNode.containerInfo),Fe(t),null;case 10:return kc(t.type._context),Fe(t),null;case 17:return et(t.type)&&Ms(),Fe(t),null;case 19:if(ie(ae),i=t.memoizedState,i===null)return Fe(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)Co(i,!1);else{if(Ee!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Ns(e),s!==null){for(t.flags|=128,Co(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 re(ae,ae.current&1|2),t.child}e=e.sibling}i.tail!==null&&ve()>io&&(t.flags|=128,r=!0,Co(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ns(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Co(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!le)return Fe(t),null}else 2*ve()-i.renderingStartTime>io&&n!==1073741824&&(t.flags|=128,r=!0,Co(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=ve(),t.sibling=null,n=ae.current,re(ae,r?n&1|2:n&1),t):(Fe(t),null);case 22:case 23:return jc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?it&1073741824&&(Fe(t),t.subtreeFlags&6&&(t.flags|=8192)):Fe(t),null;case 24:return null;case 25:return null}throw Error(T(156,t.tag))}function eS(e,t){switch(gc(t),t.tag){case 1:return et(t.type)&&Ms(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ro(),ie(Ze),ie(Ae),Rc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Pc(t),null;case 13:if(ie(ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(T(340));to()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ie(ae),null;case 4:return ro(),null;case 10:return kc(t.type._context),null;case 22:case 23:return jc(),null;case 24:return null;default:return null}}var Wi=!1,je=!1,tS=typeof WeakSet=="function"?WeakSet:Set,$=null;function Mr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ye(e,t,r)}else n.current=null}function Mu(e,t,n){try{n()}catch(r){ye(e,t,r)}}var Id=!1;function nS(e,t){if(pu=Ps,e=em(),yc(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,c=0,d=e,f=null;t:for(;;){for(var v;d!==n||o!==0&&d.nodeType!==3||(l=s+o),d!==i||r!==0&&d.nodeType!==3||(a=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(v=d.firstChild)!==null;)f=d,d=v;for(;;){if(d===e)break t;if(f===n&&++u===o&&(l=s),f===i&&++c===r&&(a=s),(v=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=v}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(hu={focusedElem:e,selectionRange:n},Ps=!1,$=t;$!==null;)if(t=$,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,$=e;else for(;$!==null;){t=$;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,k=g.memoizedState,p=t.stateNode,h=p.getSnapshotBeforeUpdate(t.elementType===t.type?y:Lt(t.type,y),k);p.__reactInternalSnapshotBeforeUpdate=h}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(T(163))}}catch(S){ye(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,$=e;break}$=t.return}return g=Id,Id=!1,g}function Do(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&&Mu(t,n,i)}o=o.next}while(o!==r)}}function cl(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 $u(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 Xm(e){var t=e.alternate;t!==null&&(e.alternate=null,Xm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[qt],delete t[ni],delete t[vu],delete t[j1],delete t[A1])),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 Ym(e){return e.tag===5||e.tag===3||e.tag===4}function Fd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ym(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 Lu(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=Os));else if(r!==4&&(e=e.child,e!==null))for(Lu(e,t,n),e=e.sibling;e!==null;)Lu(e,t,n),e=e.sibling}function bu(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(bu(e,t,n),e=e.sibling;e!==null;)bu(e,t,n),e=e.sibling}var Oe=null,It=!1;function hn(e,t,n){for(n=n.child;n!==null;)Jm(e,t,n),n=n.sibling}function Jm(e,t,n){if(Xt&&typeof Xt.onCommitFiberUnmount=="function")try{Xt.onCommitFiberUnmount(nl,n)}catch{}switch(n.tag){case 5:je||Mr(n,t);case 6:var r=Oe,o=It;Oe=null,hn(e,t,n),Oe=r,It=o,Oe!==null&&(It?(e=Oe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Oe.removeChild(n.stateNode));break;case 18:Oe!==null&&(It?(e=Oe,n=n.stateNode,e.nodeType===8?Pa(e.parentNode,n):e.nodeType===1&&Pa(e,n),Yo(e)):Pa(Oe,n.stateNode));break;case 4:r=Oe,o=It,Oe=n.stateNode.containerInfo,It=!0,hn(e,t,n),Oe=r,It=o;break;case 0:case 11:case 14:case 15:if(!je&&(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)&&Mu(n,t,s),o=o.next}while(o!==r)}hn(e,t,n);break;case 1:if(!je&&(Mr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ye(n,t,l)}hn(e,t,n);break;case 21:hn(e,t,n);break;case 22:n.mode&1?(je=(r=je)||n.memoizedState!==null,hn(e,t,n),je=r):hn(e,t,n);break;default:hn(e,t,n)}}function zd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new tS),t.forEach(function(r){var o=fS.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Mt(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:Oe=l.stateNode,It=!1;break e;case 3:Oe=l.stateNode.containerInfo,It=!0;break e;case 4:Oe=l.stateNode.containerInfo,It=!0;break e}l=l.return}if(Oe===null)throw Error(T(160));Jm(i,s,o),Oe=null,It=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(u){ye(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Zm(t,e),t=t.sibling}function Zm(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Mt(t,e),Dt(e),r&4){try{Do(3,e,e.return),cl(3,e)}catch(y){ye(e,e.return,y)}try{Do(5,e,e.return)}catch(y){ye(e,e.return,y)}}break;case 1:Mt(t,e),Dt(e),r&512&&n!==null&&Mr(n,n.return);break;case 5:if(Mt(t,e),Dt(e),r&512&&n!==null&&Mr(n,n.return),e.flags&32){var o=e.stateNode;try{Qo(o,"")}catch(y){ye(e,e.return,y)}}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&&xh(o,i),ru(l,s);var u=ru(l,i);for(s=0;s<a.length;s+=2){var c=a[s],d=a[s+1];c==="style"?Ph(o,d):c==="dangerouslySetInnerHTML"?Ch(o,d):c==="children"?Qo(o,d):rc(o,c,d,u)}switch(l){case"input":Ja(o,i);break;case"textarea":kh(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var v=i.value;v!=null?br(o,!!i.multiple,v,!1):f!==!!i.multiple&&(i.defaultValue!=null?br(o,!!i.multiple,i.defaultValue,!0):br(o,!!i.multiple,i.multiple?[]:"",!1))}o[ni]=i}catch(y){ye(e,e.return,y)}}break;case 6:if(Mt(t,e),Dt(e),r&4){if(e.stateNode===null)throw Error(T(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(y){ye(e,e.return,y)}}break;case 3:if(Mt(t,e),Dt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Yo(t.containerInfo)}catch(y){ye(e,e.return,y)}break;case 4:Mt(t,e),Dt(e);break;case 13:Mt(t,e),Dt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(zc=ve())),r&4&&zd(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(je=(u=je)||c,Mt(t,e),je=u):Mt(t,e),Dt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for($=e,c=e.child;c!==null;){for(d=$=c;$!==null;){switch(f=$,v=f.child,f.tag){case 0:case 11:case 14:case 15:Do(4,f,f.return);break;case 1:Mr(f,f.return);var g=f.stateNode;if(typeof g.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(y){ye(r,n,y)}}break;case 5:Mr(f,f.return);break;case 22:if(f.memoizedState!==null){jd(d);continue}}v!==null?(v.return=f,$=v):jd(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=d.stateNode,a=d.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=Eh("display",s))}catch(y){ye(e,e.return,y)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(y){ye(e,e.return,y)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Mt(t,e),Dt(e),r&4&&zd(e);break;case 21:break;default:Mt(t,e),Dt(e)}}function Dt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Ym(n)){var r=n;break e}n=n.return}throw Error(T(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Qo(o,""),r.flags&=-33);var i=Fd(e);bu(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,l=Fd(e);Lu(e,l,s);break;default:throw Error(T(161))}}catch(a){ye(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function rS(e,t,n){$=e,e0(e)}function e0(e,t,n){for(var r=(e.mode&1)!==0;$!==null;){var o=$,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||Wi;if(!s){var l=o.alternate,a=l!==null&&l.memoizedState!==null||je;l=Wi;var u=je;if(Wi=s,(je=a)&&!u)for($=o;$!==null;)s=$,a=s.child,s.tag===22&&s.memoizedState!==null?Ad(o):a!==null?(a.return=s,$=a):Ad(o);for(;i!==null;)$=i,e0(i),i=i.sibling;$=o,Wi=l,je=u}Nd(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,$=i):Nd(e)}}function Nd(e){for(;$!==null;){var t=$;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:je||cl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!je)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Lt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&xd(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}xd(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 c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&Yo(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(T(163))}je||t.flags&512&&$u(t)}catch(f){ye(t,t.return,f)}}if(t===e){$=null;break}if(n=t.sibling,n!==null){n.return=t.return,$=n;break}$=t.return}}function jd(e){for(;$!==null;){var t=$;if(t===e){$=null;break}var n=t.sibling;if(n!==null){n.return=t.return,$=n;break}$=t.return}}function Ad(e){for(;$!==null;){var t=$;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{cl(4,t)}catch(a){ye(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(a){ye(t,o,a)}}var i=t.return;try{$u(t)}catch(a){ye(t,i,a)}break;case 5:var s=t.return;try{$u(t)}catch(a){ye(t,s,a)}}}catch(a){ye(t,t.return,a)}if(t===e){$=null;break}var l=t.sibling;if(l!==null){l.return=t.return,$=l;break}$=t.return}}var oS=Math.ceil,Ds=pn.ReactCurrentDispatcher,Ic=pn.ReactCurrentOwner,_t=pn.ReactCurrentBatchConfig,H=0,Re=null,_e=null,$e=0,it=0,$r=Un(0),Ee=0,ai=null,ar=0,fl=0,Fc=0,Bo=null,Xe=null,zc=0,io=1/0,nn=null,Bs=!1,Iu=null,In=null,Hi=!1,Rn=null,Us=0,Uo=0,Fu=null,as=-1,us=0;function He(){return H&6?ve():as!==-1?as:as=ve()}function Fn(e){return e.mode&1?H&2&&$e!==0?$e&-$e:B1.transition!==null?(us===0&&(us=jh()),us):(e=Y,e!==0||(e=window.event,e=e===void 0?16:Hh(e.type)),e):1}function Nt(e,t,n,r){if(50<Uo)throw Uo=0,Fu=null,Error(T(185));vi(e,n,r),(!(H&2)||e!==Re)&&(e===Re&&(!(H&2)&&(fl|=n),Ee===4&&Sn(e,$e)),tt(e,r),n===1&&H===0&&!(t.mode&1)&&(io=ve()+500,ll&&Vn()))}function tt(e,t){var n=e.callbackNode;Bg(e,t);var r=Es(e,e===Re?$e:0);if(r===0)n!==null&&Gf(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Gf(n),t===1)e.tag===0?D1(Dd.bind(null,e)):cm(Dd.bind(null,e)),z1(function(){!(H&6)&&Vn()}),n=null;else{switch(Ah(r)){case 1:n=ac;break;case 4:n=zh;break;case 16:n=Cs;break;case 536870912:n=Nh;break;default:n=Cs}n=a0(n,t0.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function t0(e,t){if(as=-1,us=0,H&6)throw Error(T(327));var n=e.callbackNode;if(jr()&&e.callbackNode!==n)return null;var r=Es(e,e===Re?$e:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Vs(e,r);else{t=r;var o=H;H|=2;var i=r0();(Re!==e||$e!==t)&&(nn=null,io=ve()+500,rr(e,t));do try{lS();break}catch(l){n0(e,l)}while(!0);xc(),Ds.current=i,H=o,_e!==null?t=0:(Re=null,$e=0,t=Ee)}if(t!==0){if(t===2&&(o=au(e),o!==0&&(r=o,t=zu(e,o))),t===1)throw n=ai,rr(e,0),Sn(e,r),tt(e,ve()),n;if(t===6)Sn(e,r);else{if(o=e.current.alternate,!(r&30)&&!iS(o)&&(t=Vs(e,r),t===2&&(i=au(e),i!==0&&(r=i,t=zu(e,i))),t===1))throw n=ai,rr(e,0),Sn(e,r),tt(e,ve()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(T(345));case 2:Kn(e,Xe,nn);break;case 3:if(Sn(e,r),(r&130023424)===r&&(t=zc+500-ve(),10<t)){if(Es(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){He(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=yu(Kn.bind(null,e,Xe,nn),t);break}Kn(e,Xe,nn);break;case 4:if(Sn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-zt(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=ve()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*oS(r/1960))-r,10<r){e.timeoutHandle=yu(Kn.bind(null,e,Xe,nn),r);break}Kn(e,Xe,nn);break;case 5:Kn(e,Xe,nn);break;default:throw Error(T(329))}}}return tt(e,ve()),e.callbackNode===n?t0.bind(null,e):null}function zu(e,t){var n=Bo;return e.current.memoizedState.isDehydrated&&(rr(e,t).flags|=256),e=Vs(e,t),e!==2&&(t=Xe,Xe=n,t!==null&&Nu(t)),e}function Nu(e){Xe===null?Xe=e:Xe.push.apply(Xe,e)}function iS(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(!jt(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 Sn(e,t){for(t&=~Fc,t&=~fl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-zt(t),r=1<<n;e[n]=-1,t&=~r}}function Dd(e){if(H&6)throw Error(T(327));jr();var t=Es(e,0);if(!(t&1))return tt(e,ve()),null;var n=Vs(e,t);if(e.tag!==0&&n===2){var r=au(e);r!==0&&(t=r,n=zu(e,r))}if(n===1)throw n=ai,rr(e,0),Sn(e,t),tt(e,ve()),n;if(n===6)throw Error(T(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Kn(e,Xe,nn),tt(e,ve()),null}function Nc(e,t){var n=H;H|=1;try{return e(t)}finally{H=n,H===0&&(io=ve()+500,ll&&Vn())}}function ur(e){Rn!==null&&Rn.tag===0&&!(H&6)&&jr();var t=H;H|=1;var n=_t.transition,r=Y;try{if(_t.transition=null,Y=1,e)return e()}finally{Y=r,_t.transition=n,H=t,!(H&6)&&Vn()}}function jc(){it=$r.current,ie($r)}function rr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,F1(n)),_e!==null)for(n=_e.return;n!==null;){var r=n;switch(gc(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ms();break;case 3:ro(),ie(Ze),ie(Ae),Rc();break;case 5:Pc(r);break;case 4:ro();break;case 13:ie(ae);break;case 19:ie(ae);break;case 10:kc(r.type._context);break;case 22:case 23:jc()}n=n.return}if(Re=e,_e=e=zn(e.current,null),$e=it=t,Ee=0,ai=null,Fc=fl=ar=0,Xe=Bo=null,Xn!==null){for(t=0;t<Xn.length;t++)if(n=Xn[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}Xn=null}return e}function n0(e,t){do{var n=_e;try{if(xc(),is.current=As,js){for(var r=ue.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}js=!1}if(lr=0,Pe=Ce=ue=null,Ao=!1,ii=0,Ic.current=null,n===null||n.return===null){Ee=1,ai=t,_e=null;break}e:{var i=e,s=n.return,l=n,a=t;if(t=$e,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,c=l,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var v=Rd(s);if(v!==null){v.flags&=-257,Td(v,s,l,i,t),v.mode&1&&Pd(i,u,t),t=v,a=u;var g=t.updateQueue;if(g===null){var y=new Set;y.add(a),t.updateQueue=y}else g.add(a);break e}else{if(!(t&1)){Pd(i,u,t),Ac();break e}a=Error(T(426))}}else if(le&&l.mode&1){var k=Rd(s);if(k!==null){!(k.flags&65536)&&(k.flags|=256),Td(k,s,l,i,t),Sc(oo(a,l));break e}}i=a=oo(a,l),Ee!==4&&(Ee=2),Bo===null?Bo=[i]:Bo.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var p=Am(i,a,t);wd(i,p);break e;case 1:l=a;var h=i.type,m=i.stateNode;if(!(i.flags&128)&&(typeof h.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(In===null||!In.has(m)))){i.flags|=65536,t&=-t,i.lanes|=t;var S=Dm(i,l,t);wd(i,S);break e}}i=i.return}while(i!==null)}i0(n)}catch(w){t=w,_e===n&&n!==null&&(_e=n=n.return);continue}break}while(!0)}function r0(){var e=Ds.current;return Ds.current=As,e===null?As:e}function Ac(){(Ee===0||Ee===3||Ee===2)&&(Ee=4),Re===null||!(ar&268435455)&&!(fl&268435455)||Sn(Re,$e)}function Vs(e,t){var n=H;H|=2;var r=r0();(Re!==e||$e!==t)&&(nn=null,rr(e,t));do try{sS();break}catch(o){n0(e,o)}while(!0);if(xc(),H=n,Ds.current=r,_e!==null)throw Error(T(261));return Re=null,$e=0,Ee}function sS(){for(;_e!==null;)o0(_e)}function lS(){for(;_e!==null&&!Lg();)o0(_e)}function o0(e){var t=l0(e.alternate,e,it);e.memoizedProps=e.pendingProps,t===null?i0(e):_e=t,Ic.current=null}function i0(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=eS(n,t),n!==null){n.flags&=32767,_e=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ee=6,_e=null;return}}else if(n=Z1(n,t,it),n!==null){_e=n;return}if(t=t.sibling,t!==null){_e=t;return}_e=t=e}while(t!==null);Ee===0&&(Ee=5)}function Kn(e,t,n){var r=Y,o=_t.transition;try{_t.transition=null,Y=1,aS(e,t,n,r)}finally{_t.transition=o,Y=r}return null}function aS(e,t,n,r){do jr();while(Rn!==null);if(H&6)throw Error(T(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(T(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Ug(e,i),e===Re&&(_e=Re=null,$e=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Hi||(Hi=!0,a0(Cs,function(){return jr(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=_t.transition,_t.transition=null;var s=Y;Y=1;var l=H;H|=4,Ic.current=null,nS(e,n),Zm(n,e),T1(hu),Ps=!!pu,hu=pu=null,e.current=n,rS(n),bg(),H=l,Y=s,_t.transition=i}else e.current=n;if(Hi&&(Hi=!1,Rn=e,Us=o),i=e.pendingLanes,i===0&&(In=null),zg(n.stateNode),tt(e,ve()),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(Bs)throw Bs=!1,e=Iu,Iu=null,e;return Us&1&&e.tag!==0&&jr(),i=e.pendingLanes,i&1?e===Fu?Uo++:(Uo=0,Fu=e):Uo=0,Vn(),null}function jr(){if(Rn!==null){var e=Ah(Us),t=_t.transition,n=Y;try{if(_t.transition=null,Y=16>e?16:e,Rn===null)var r=!1;else{if(e=Rn,Rn=null,Us=0,H&6)throw Error(T(331));var o=H;for(H|=4,$=e.current;$!==null;){var i=$,s=i.child;if($.flags&16){var l=i.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for($=u;$!==null;){var c=$;switch(c.tag){case 0:case 11:case 15:Do(8,c,i)}var d=c.child;if(d!==null)d.return=c,$=d;else for(;$!==null;){c=$;var f=c.sibling,v=c.return;if(Xm(c),c===u){$=null;break}if(f!==null){f.return=v,$=f;break}$=v}}}var g=i.alternate;if(g!==null){var y=g.child;if(y!==null){g.child=null;do{var k=y.sibling;y.sibling=null,y=k}while(y!==null)}}$=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,$=s;else e:for(;$!==null;){if(i=$,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Do(9,i,i.return)}var p=i.sibling;if(p!==null){p.return=i.return,$=p;break e}$=i.return}}var h=e.current;for($=h;$!==null;){s=$;var m=s.child;if(s.subtreeFlags&2064&&m!==null)m.return=s,$=m;else e:for(s=h;$!==null;){if(l=$,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:cl(9,l)}}catch(w){ye(l,l.return,w)}if(l===s){$=null;break e}var S=l.sibling;if(S!==null){S.return=l.return,$=S;break e}$=l.return}}if(H=o,Vn(),Xt&&typeof Xt.onPostCommitFiberRoot=="function")try{Xt.onPostCommitFiberRoot(nl,e)}catch{}r=!0}return r}finally{Y=n,_t.transition=t}}return!1}function Bd(e,t,n){t=oo(n,t),t=Am(e,t,1),e=bn(e,t,1),t=He(),e!==null&&(vi(e,1,t),tt(e,t))}function ye(e,t,n){if(e.tag===3)Bd(e,e,n);else for(;t!==null;){if(t.tag===3){Bd(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(In===null||!In.has(r))){e=oo(n,e),e=Dm(t,e,1),t=bn(t,e,1),e=He(),t!==null&&(vi(t,1,e),tt(t,e));break}}t=t.return}}function uS(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=He(),e.pingedLanes|=e.suspendedLanes&n,Re===e&&($e&n)===n&&(Ee===4||Ee===3&&($e&130023424)===$e&&500>ve()-zc?rr(e,0):Fc|=n),tt(e,t)}function s0(e,t){t===0&&(e.mode&1?(t=Fi,Fi<<=1,!(Fi&130023424)&&(Fi=4194304)):t=1);var n=He();e=cn(e,t),e!==null&&(vi(e,t,n),tt(e,n))}function cS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),s0(e,n)}function fS(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(T(314))}r!==null&&r.delete(t),s0(e,n)}var l0;l0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ze.current)Je=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Je=!1,J1(e,t,n);Je=!!(e.flags&131072)}else Je=!1,le&&t.flags&1048576&&fm(t,bs,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ls(e,t),e=t.pendingProps;var o=eo(t,Ae.current);Nr(t,n),o=Oc(null,t,r,e,o,n);var i=Mc();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,et(r)?(i=!0,$s(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Cc(t),o.updater=ul,t.stateNode=o,o._reactInternals=t,_u(t,r,e,n),t=Pu(null,t,r,!0,i,n)):(t.tag=0,le&&i&&vc(t),Ue(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ls(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=pS(r),e=Lt(r,e),o){case 0:t=Eu(null,t,r,e,n);break e;case 1:t=$d(null,t,r,e,n);break e;case 11:t=Od(null,t,r,e,n);break e;case 14:t=Md(null,t,r,Lt(r.type,e),n);break e}throw Error(T(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),Eu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),$d(e,t,r,o,n);case 3:e:{if(Wm(t),e===null)throw Error(T(387));r=t.pendingProps,i=t.memoizedState,o=i.element,vm(e,t),zs(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=oo(Error(T(423)),t),t=Ld(e,t,r,n,o);break e}else if(r!==o){o=oo(Error(T(424)),t),t=Ld(e,t,r,n,o);break e}else for(at=Ln(t.stateNode.containerInfo.firstChild),ut=t,le=!0,Ft=null,n=mm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(to(),r===o){t=fn(e,t,n);break e}Ue(e,t,r,n)}t=t.child}return t;case 5:return gm(t),e===null&&wu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,mu(r,o)?s=null:i!==null&&mu(r,i)&&(t.flags|=32),Vm(e,t),Ue(e,t,s,n),t.child;case 6:return e===null&&wu(t),null;case 13:return Hm(e,t,n);case 4:return Ec(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=no(t,null,r,n):Ue(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),Od(e,t,r,o,n);case 7:return Ue(e,t,t.pendingProps,n),t.child;case 8:return Ue(e,t,t.pendingProps.children,n),t.child;case 12:return Ue(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,re(Is,r._currentValue),r._currentValue=s,i!==null)if(jt(i.value,s)){if(i.children===o.children&&!Ze.current){t=fn(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=ln(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),xu(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(T(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),xu(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}Ue(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Nr(t,n),o=Ct(o),r=r(o),t.flags|=1,Ue(e,t,r,n),t.child;case 14:return r=t.type,o=Lt(r,t.pendingProps),o=Lt(r.type,o),Md(e,t,r,o,n);case 15:return Bm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Lt(r,o),ls(e,t),t.tag=1,et(r)?(e=!0,$s(t)):e=!1,Nr(t,n),jm(t,r,o),_u(t,r,o,n),Pu(null,t,r,!0,e,n);case 19:return Km(e,t,n);case 22:return Um(e,t,n)}throw Error(T(156,t.tag))};function a0(e,t){return Fh(e,t)}function dS(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 kt(e,t,n,r){return new dS(e,t,n,r)}function Dc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pS(e){if(typeof e=="function")return Dc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ic)return 11;if(e===sc)return 14}return 2}function zn(e,t){var n=e.alternate;return n===null?(n=kt(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 cs(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")Dc(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case xr:return or(n.children,o,i,t);case oc:s=8,o|=8;break;case Qa:return e=kt(12,n,t,o|2),e.elementType=Qa,e.lanes=i,e;case Ga:return e=kt(13,n,t,o),e.elementType=Ga,e.lanes=i,e;case qa:return e=kt(19,n,t,o),e.elementType=qa,e.lanes=i,e;case gh:return dl(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case yh:s=10;break e;case vh:s=9;break e;case ic:s=11;break e;case sc:s=14;break e;case yn:s=16,r=null;break e}throw Error(T(130,e==null?e:typeof e,""))}return t=kt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function or(e,t,n,r){return e=kt(7,e,r,t),e.lanes=n,e}function dl(e,t,n,r){return e=kt(22,e,r,t),e.elementType=gh,e.lanes=n,e.stateNode={isHidden:!1},e}function Ia(e,t,n){return e=kt(6,e,null,t),e.lanes=n,e}function Fa(e,t,n){return t=kt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function hS(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=ma(0),this.expirationTimes=ma(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ma(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bc(e,t,n,r,o,i,s,l,a){return e=new hS(e,t,n,l,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=kt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Cc(i),e}function mS(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:wr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function u0(e){if(!e)return jn;e=e._reactInternals;e:{if(fr(e)!==e||e.tag!==1)throw Error(T(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(et(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(T(171))}if(e.tag===1){var n=e.type;if(et(n))return um(e,n,t)}return t}function c0(e,t,n,r,o,i,s,l,a){return e=Bc(n,r,!0,e,o,i,s,l,a),e.context=u0(null),n=e.current,r=He(),o=Fn(n),i=ln(r,o),i.callback=t??null,bn(n,i,o),e.current.lanes=o,vi(e,o,r),tt(e,r),e}function pl(e,t,n,r){var o=t.current,i=He(),s=Fn(o);return n=u0(n),t.context===null?t.context=n:t.pendingContext=n,t=ln(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=bn(o,t,s),e!==null&&(Nt(e,o,s,i),os(e,o,s)),s}function Ws(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 Ud(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Uc(e,t){Ud(e,t),(e=e.alternate)&&Ud(e,t)}function yS(){return null}var f0=typeof reportError=="function"?reportError:function(e){console.error(e)};function Vc(e){this._internalRoot=e}hl.prototype.render=Vc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(T(409));pl(e,t,null,null)};hl.prototype.unmount=Vc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ur(function(){pl(null,e,null,null)}),t[un]=null}};function hl(e){this._internalRoot=e}hl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Uh();e={blockedOn:null,target:e,priority:t};for(var n=0;n<gn.length&&t!==0&&t<gn[n].priority;n++);gn.splice(n,0,e),n===0&&Wh(e)}};function Wc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ml(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Vd(){}function vS(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=Ws(s);i.call(u)}}var s=c0(t,r,e,0,null,!1,!1,"",Vd);return e._reactRootContainer=s,e[un]=s.current,ei(e.nodeType===8?e.parentNode:e),ur(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=Ws(a);l.call(u)}}var a=Bc(e,0,!1,null,null,!1,!1,"",Vd);return e._reactRootContainer=a,e[un]=a.current,ei(e.nodeType===8?e.parentNode:e),ur(function(){pl(t,a,n,r)}),a}function yl(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=Ws(s);l.call(a)}}pl(t,s,e,o)}else s=vS(n,t,e,o,r);return Ws(s)}Dh=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Mo(t.pendingLanes);n!==0&&(uc(t,n|1),tt(t,ve()),!(H&6)&&(io=ve()+500,Vn()))}break;case 13:ur(function(){var r=cn(e,1);if(r!==null){var o=He();Nt(r,e,1,o)}}),Uc(e,1)}};cc=function(e){if(e.tag===13){var t=cn(e,134217728);if(t!==null){var n=He();Nt(t,e,134217728,n)}Uc(e,134217728)}};Bh=function(e){if(e.tag===13){var t=Fn(e),n=cn(e,t);if(n!==null){var r=He();Nt(n,e,t,r)}Uc(e,t)}};Uh=function(){return Y};Vh=function(e,t){var n=Y;try{return Y=e,t()}finally{Y=n}};iu=function(e,t,n){switch(t){case"input":if(Ja(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=sl(r);if(!o)throw Error(T(90));wh(r),Ja(r,o)}}}break;case"textarea":kh(e,n);break;case"select":t=n.value,t!=null&&br(e,!!n.multiple,t,!1)}};Oh=Nc;Mh=ur;var gS={usingClientEntryPoint:!1,Events:[Si,Er,sl,Rh,Th,Nc]},Eo={findFiberByHostInstance:qn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},SS={bundleType:Eo.bundleType,version:Eo.version,rendererPackageName:Eo.rendererPackageName,rendererConfig:Eo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:pn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=bh(e),e===null?null:e.stateNode},findFiberByHostInstance:Eo.findFiberByHostInstance||yS,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 Ki=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ki.isDisabled&&Ki.supportsFiber)try{nl=Ki.inject(SS),Xt=Ki}catch{}}dt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=gS;dt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Wc(t))throw Error(T(200));return mS(e,t,null,n)};dt.createRoot=function(e,t){if(!Wc(e))throw Error(T(299));var n=!1,r="",o=f0;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Bc(e,1,!1,null,null,n,!1,r,o),e[un]=t.current,ei(e.nodeType===8?e.parentNode:e),new Vc(t)};dt.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(T(188)):(e=Object.keys(e).join(","),Error(T(268,e)));return e=bh(t),e=e===null?null:e.stateNode,e};dt.flushSync=function(e){return ur(e)};dt.hydrate=function(e,t,n){if(!ml(t))throw Error(T(200));return yl(null,e,t,!0,n)};dt.hydrateRoot=function(e,t,n){if(!Wc(e))throw Error(T(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=f0;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=c0(t,null,e,1,n??null,o,!1,i,s),e[un]=t.current,ei(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 hl(t)};dt.render=function(e,t,n){if(!ml(t))throw Error(T(200));return yl(null,e,t,!1,n)};dt.unmountComponentAtNode=function(e){if(!ml(e))throw Error(T(40));return e._reactRootContainer?(ur(function(){yl(null,null,e,!1,function(){e._reactRootContainer=null,e[un]=null})}),!0):!1};dt.unstable_batchedUpdates=Nc;dt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ml(n))throw Error(T(200));if(e==null||e._reactInternals===void 0)throw Error(T(38));return yl(e,t,n,!1,r)};dt.version="18.3.1-next-f1338f8080-20240426";function d0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(d0)}catch(e){console.error(e)}}d0(),dh.exports=dt;var p0=dh.exports;const wS="Error preloading route! ☝️";function xS(e){const t=Dn(),[n,r]=R.useState(!1),{activeProps:o=()=>({className:"active"}),inactiveProps:i=()=>({}),activeOptions:s,hash:l,search:a,params:u,to:c,state:d,mask:f,preload:v,preloadDelay:g,replace:y,startTransition:k,resetScroll:p,viewTransition:h,children:m,target:S,disabled:w,style:C,className:x,onClick:_,onFocus:b,onMouseEnter:O,onMouseLeave:F,onTouchStart:z,ignoreBlocker:N,...V}=e;let X="internal";try{new URL(`${c}`),X="external"}catch{}const K=t.buildLocation(e),we=v??t.options.defaultPreload,P=g??t.options.defaultPreloadDelay??0,L=We({select:de=>{const ne=ws(de.location.pathname,t.basepath).split("/"),yo=ws(K.pathname,t.basepath).split("/").every((ea,ta)=>ea===ne[ta]),Yl=s!=null&&s.exact?Kv(de.location.pathname,K.pathname,t.basepath):yo,Jl=s!=null&&s.includeHash?de.location.hash===K.hash:!0,Zl=(s==null?void 0:s.includeSearch)??!0?Lr(de.location.search,K.search,!(s!=null&&s.exact)):!0;return Yl&&Jl&&Zl}});if(X==="external")return{...V,type:X,href:c,...m&&{children:m},...S&&{target:S},...w&&{disabled:w},...C&&{style:C},...x&&{className:x},..._&&{onClick:_},...b&&{onFocus:b},...O&&{onMouseEnter:O},...F&&{onMouseLeave:F},...z&&{onTouchStart:z}};const I=de=>{if(!w&&!_S(de)&&!de.defaultPrevented&&(!S||S==="_self")&&de.button===0){de.preventDefault(),p0.flushSync(()=>{r(!0)});const ne=t.subscribe("onResolved",()=>{ne(),r(!1)});t.commitLocation({...K,replace:y,resetScroll:p,startTransition:k,viewTransition:h,ignoreBlocker:N})}},B=()=>{t.preloadRoute(e).catch(de=>{console.warn(de),console.warn(wS)})},W=de=>{w||we&&B()},ee=W,te=de=>{if(w)return;const ne=de.target||{};if(we){if(ne.preloadTimeout)return;ne.preloadTimeout=setTimeout(()=>{ne.preloadTimeout=null,B()},P)}},rt=de=>{if(w)return;const ne=de.target||{};ne.preloadTimeout&&(clearTimeout(ne.preloadTimeout),ne.preloadTimeout=null)},xe=de=>ne=>{var en;(en=ne.persist)==null||en.call(ne),de.filter(Boolean).forEach(yo=>{ne.defaultPrevented||yo(ne)})},De=L?Sr(o,{})??{}:{},Ge=L?{}:Sr(i,{}),fe=[x,De.className,Ge.className].filter(Boolean).join(" "),Ot={...C,...De.style,...Ge.style};return{...De,...Ge,...V,href:w?void 0:K.maskedLocation?t.history.createHref(K.maskedLocation.href):t.history.createHref(K.href),onClick:xe([_,I]),onFocus:xe([b,W]),onMouseEnter:xe([O,te]),onMouseLeave:xe([F,rt]),onTouchStart:xe([z,ee]),disabled:!!w,target:S,...Object.keys(Ot).length&&{style:Ot},...fe&&{className:fe},...w&&{role:"link","aria-disabled":!0},...L&&{"data-status":"active","aria-current":"page"},...n&&{"data-transitioning":"transitioning"}}}const kS=R.forwardRef((e,t)=>{const{_asChild:n,...r}=e,{type:o,...i}=xS(r),s=typeof r.children=="function"?r.children({isActive:i["data-status"]==="active"}):r.children;return typeof n>"u"&&delete i.disabled,R.createElement(n||"a",{...i,ref:t},s)});function _S(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function CS(){const e=Dn(),t=R.useRef({router:e,mounted:!1}),n=We({select:u=>bo(u,["isLoading","location","resolvedLocation","isTransitioning"])}),[r,o]=R.useTransition(),i=We({select:u=>u.matches.some(c=>c.status==="pending")}),s=If(n.isLoading),l=n.isLoading||r||i,a=If(l);return e.isServer||(e.startReactTransition=o),R.useEffect(()=>{const u=e.history.subscribe(e.load),c=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0});return Gn(e.latestLocation.href)!==Gn(c.href)&&e.commitLocation({...c,replace:!0}),()=>{u()}},[e,e.history]),ua(()=>{var u;if((u=window.__TSR__)!=null&&u.dehydrated||t.current.router===e&&t.current.mounted)return;t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(d){console.error(d)}})()},[e]),ua(()=>{if(s&&!n.isLoading){const u=e.state.location,c=e.state.resolvedLocation,d=c.href!==u.href;e.emit({type:"onLoad",fromLocation:c,toLocation:u,pathChanged:d})}},[s,e,n.isLoading]),ua(()=>{if(a&&!l){const u=e.state.location,c=e.state.resolvedLocation,d=c.href!==u.href;if(e.emit({type:"onResolved",fromLocation:c,toLocation:u,pathChanged:d}),e.__store.setState(f=>({...f,status:"idle",resolvedLocation:f.location})),document.querySelector&&e.state.location.hash!==""){const f=document.getElementById(e.state.location.hash);f&&f.scrollIntoView()}}},[l,a,e]),null}function fs(e){return M.jsx(M.Fragment,{children:e.children})}function h0(e,t,n){return t.options.notFoundComponent?M.jsx(t.options.notFoundComponent,{data:n}):e.options.defaultNotFoundComponent?M.jsx(e.options.defaultNotFoundComponent,{data:n}):M.jsx(Yv,{})}function m0({matchId:e}){var t,n;const r=Dn(),o=We({select:y=>{var k;return(k=y.matches.find(p=>p.id===e))==null?void 0:k.routeId}});qe(o);const i=r.routesById[o],s=i.options.pendingComponent??r.options.defaultPendingComponent,l=s?M.jsx(s,{}):null,a=i.options.errorComponent??r.options.defaultErrorComponent,u=i.options.onCatch??r.options.defaultOnCatch,c=i.isRoot?i.options.notFoundComponent??((t=r.options.notFoundRoute)==null?void 0:t.options.component):i.options.notFoundComponent,d=(!i.isRoot||i.options.wrapInSuspense)&&(i.options.wrapInSuspense??s??((n=i.options.errorComponent)==null?void 0:n.preload))?R.Suspense:fs,f=a?ec:fs,v=c?Xv:fs,g=We({select:y=>y.loadedAt});return M.jsx(tl.Provider,{value:e,children:M.jsx(d,{fallback:l,children:M.jsx(f,{getResetKey:()=>g,errorComponent:a||el,onCatch:(y,k)=>{if(Vt(y))throw y;u==null||u(y,k)},children:M.jsx(v,{fallback:y=>{if(!c||y.routeId&&y.routeId!==o||!y.routeId&&!i.isRoot)throw y;return R.createElement(c,y)},children:M.jsx(ES,{matchId:e})})})})})}function ES({matchId:e}){var t,n;const r=Dn(),o=We({select:d=>{var f;return(f=d.matches.find(v=>v.id===e))==null?void 0:f.routeId}}),i=r.routesById[o],s=We({select:d=>d.matches.findIndex(f=>f.id===e)}),l=We({select:d=>{const f=d.matches[s];return bo(f,["id","status","error","loadPromise","minPendingPromise"])}}),a=(i.options.errorComponent??r.options.defaultErrorComponent)||el;if(l.status==="notFound"){let d;return Nf(l.error)?d=(((t=r.options.errorSerializer)==null?void 0:t.deserialize)??jf)(l.error.data):d=l.error,qe(Vt(d)),h0(r,i,d)}if(l.status==="redirected")throw qe(Wn(l.error)),l.loadPromise;if(l.status==="error"){if(r.isServer)return M.jsx(a,{error:l.error,info:{componentStack:""}});throw Nf(l.error)?(((n=r.options.errorSerializer)==null?void 0:n.deserialize)??jf)(l.error.data):l.error}if(l.status==="pending"){const d=i.options.pendingMinMs??r.options.defaultPendingMinMs;if(d&&!l.minPendingPromise&&!r.isServer){const f=gr();Promise.resolve().then(()=>{r.updateMatch(l.id,v=>({...v,minPendingPromise:f}))}),setTimeout(()=>{f.resolve(),r.updateMatch(l.id,v=>({...v,minPendingPromise:void 0}))},d)}throw l.loadPromise}const u=i.options.component??r.options.defaultComponent,c=u?M.jsx(u,{}):M.jsx(y0,{});return M.jsxs(M.Fragment,{children:[c,r.AfterEachMatch?M.jsx(r.AfterEachMatch,{match:l,matchIndex:s}):null]})}const y0=R.memo(function(){const t=Dn(),n=R.useContext(tl),r=We({select:u=>{var c;return(c=u.matches.find(d=>d.id===n))==null?void 0:c.routeId}}),o=t.routesById[r],{parentGlobalNotFound:i}=We({select:u=>{const d=u.matches.find(f=>f.id===n);return qe(d),{parentGlobalNotFound:d.globalNotFound}}}),s=We({select:u=>{var c;const d=u.matches,f=d.findIndex(v=>v.id===n);return(c=d[f+1])==null?void 0:c.id}});if(i)return h0(t,o,void 0);if(!s)return null;const l=M.jsx(m0,{matchId:s}),a=t.options.defaultPendingComponent?M.jsx(t.options.defaultPendingComponent,{}):null;return n===st?M.jsx(R.Suspense,{fallback:a,children:l}):l});function PS(){const e=Dn(),t=e.options.defaultPendingComponent?M.jsx(e.options.defaultPendingComponent,{}):null,n=e.state.matches.length?fs:R.Suspense,r=M.jsxs(n,{fallback:t,children:[M.jsx(CS,{}),M.jsx(RS,{})]});return e.options.InnerWrap?M.jsx(e.options.InnerWrap,{children:r}):r}function RS(){const e=We({select:n=>{var r;return(r=n.matches[0])==null?void 0:r.id}}),t=We({select:n=>n.loadedAt});return M.jsx(tl.Provider,{value:e,children:M.jsx(ec,{getResetKey:()=>t,errorComponent:el,onCatch:n=>{n.message||n.toString()},children:e?M.jsx(m0,{matchId:e}):null})})}function TS({router:e,children:t,...n}){e.update({...e.options,...n,context:{...e.options.context,...n.context}});const r=sh(),o=M.jsx(r.Provider,{value:e,children:t});return e.options.Wrap?M.jsx(e.options.Wrap,{children:o}):o}function OS({router:e,...t}){return M.jsx(TS,{router:e,...t,children:M.jsx(PS,{})})}var ju={},Wd=p0;ju.createRoot=Wd.createRoot,ju.hydrateRoot=Wd.hydrateRoot;var MS=function(){return null};function v0(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=v0(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function vt(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=v0(e))&&(r&&(r+=" "),r+=t);return r}const g0=fg()({component:()=>M.jsxs(M.Fragment,{children:[M.jsx(kS,{to:"/",activeProps:{className:"font-bold"},activeOptions:{exact:!0},children:"Home"}),M.jsx(y0,{}),!1]})}),ui={black:"#000",white:"#fff"},pr={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},hr={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},mr={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},yr={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},vr={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Po={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},$S={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function ci(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const LS=Object.freeze(Object.defineProperty({__proto__:null,default:ci},Symbol.toStringTag,{value:"Module"})),bS="$$material";function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j.apply(null,arguments)}function At(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function S0(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var IS=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,FS=S0(function(e){return IS.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),zS=!1;function NS(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function jS(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var AS=function(){function e(n){var r=this;this._insertTag=function(o){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,i),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!zS:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(jS(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=NS(o);try{i.insertRule(r,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e}(),ze="-ms-",Hs="-moz-",Q="-webkit-",w0="comm",Hc="rule",Kc="decl",DS="@import",x0="@keyframes",BS="@layer",US=Math.abs,vl=String.fromCharCode,VS=Object.assign;function WS(e,t){return Me(e,0)^45?(((t<<2^Me(e,0))<<2^Me(e,1))<<2^Me(e,2))<<2^Me(e,3):0}function k0(e){return e.trim()}function HS(e,t){return(e=t.exec(e))?e[0]:e}function G(e,t,n){return e.replace(t,n)}function Au(e,t){return e.indexOf(t)}function Me(e,t){return e.charCodeAt(t)|0}function fi(e,t,n){return e.slice(t,n)}function Qt(e){return e.length}function Qc(e){return e.length}function Qi(e,t){return t.push(e),e}function KS(e,t){return e.map(t).join("")}var gl=1,so=1,_0=0,nt=0,ke=0,fo="";function Sl(e,t,n,r,o,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:gl,column:so,length:s,return:""}}function Ro(e,t){return VS(Sl("",null,null,"",null,null,0),e,{length:-e.length},t)}function QS(){return ke}function GS(){return ke=nt>0?Me(fo,--nt):0,so--,ke===10&&(so=1,gl--),ke}function ct(){return ke=nt<_0?Me(fo,nt++):0,so++,ke===10&&(so=1,gl++),ke}function Jt(){return Me(fo,nt)}function ds(){return nt}function xi(e,t){return fi(fo,e,t)}function di(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function C0(e){return gl=so=1,_0=Qt(fo=e),nt=0,[]}function E0(e){return fo="",e}function ps(e){return k0(xi(nt-1,Du(e===91?e+2:e===40?e+1:e)))}function qS(e){for(;(ke=Jt())&&ke<33;)ct();return di(e)>2||di(ke)>3?"":" "}function XS(e,t){for(;--t&&ct()&&!(ke<48||ke>102||ke>57&&ke<65||ke>70&&ke<97););return xi(e,ds()+(t<6&&Jt()==32&&ct()==32))}function Du(e){for(;ct();)switch(ke){case e:return nt;case 34:case 39:e!==34&&e!==39&&Du(ke);break;case 40:e===41&&Du(e);break;case 92:ct();break}return nt}function YS(e,t){for(;ct()&&e+ke!==57;)if(e+ke===84&&Jt()===47)break;return"/*"+xi(t,nt-1)+"*"+vl(e===47?e:ct())}function JS(e){for(;!di(Jt());)ct();return xi(e,nt)}function ZS(e){return E0(hs("",null,null,null,[""],e=C0(e),0,[0],e))}function hs(e,t,n,r,o,i,s,l,a){for(var u=0,c=0,d=s,f=0,v=0,g=0,y=1,k=1,p=1,h=0,m="",S=o,w=i,C=r,x=m;k;)switch(g=h,h=ct()){case 40:if(g!=108&&Me(x,d-1)==58){Au(x+=G(ps(h),"&","&\f"),"&\f")!=-1&&(p=-1);break}case 34:case 39:case 91:x+=ps(h);break;case 9:case 10:case 13:case 32:x+=qS(g);break;case 92:x+=XS(ds()-1,7);continue;case 47:switch(Jt()){case 42:case 47:Qi(ew(YS(ct(),ds()),t,n),a);break;default:x+="/"}break;case 123*y:l[u++]=Qt(x)*p;case 125*y:case 59:case 0:switch(h){case 0:case 125:k=0;case 59+c:p==-1&&(x=G(x,/\f/g,"")),v>0&&Qt(x)-d&&Qi(v>32?Kd(x+";",r,n,d-1):Kd(G(x," ","")+";",r,n,d-2),a);break;case 59:x+=";";default:if(Qi(C=Hd(x,t,n,u,c,o,l,m,S=[],w=[],d),i),h===123)if(c===0)hs(x,t,C,C,S,i,d,l,w);else switch(f===99&&Me(x,3)===110?100:f){case 100:case 108:case 109:case 115:hs(e,C,C,r&&Qi(Hd(e,C,C,0,0,o,l,m,o,S=[],d),w),o,w,d,l,r?S:w);break;default:hs(x,C,C,C,[""],w,0,l,w)}}u=c=v=0,y=p=1,m=x="",d=s;break;case 58:d=1+Qt(x),v=g;default:if(y<1){if(h==123)--y;else if(h==125&&y++==0&&GS()==125)continue}switch(x+=vl(h),h*y){case 38:p=c>0?1:(x+="\f",-1);break;case 44:l[u++]=(Qt(x)-1)*p,p=1;break;case 64:Jt()===45&&(x+=ps(ct())),f=Jt(),c=d=Qt(m=x+=JS(ds())),h++;break;case 45:g===45&&Qt(x)==2&&(y=0)}}return i}function Hd(e,t,n,r,o,i,s,l,a,u,c){for(var d=o-1,f=o===0?i:[""],v=Qc(f),g=0,y=0,k=0;g<r;++g)for(var p=0,h=fi(e,d+1,d=US(y=s[g])),m=e;p<v;++p)(m=k0(y>0?f[p]+" "+h:G(h,/&\f/g,f[p])))&&(a[k++]=m);return Sl(e,t,n,o===0?Hc:l,a,u,c)}function ew(e,t,n){return Sl(e,t,n,w0,vl(QS()),fi(e,2,-2),0)}function Kd(e,t,n,r){return Sl(e,t,n,Kc,fi(e,0,r),fi(e,r+1,-1),r)}function Ar(e,t){for(var n="",r=Qc(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function tw(e,t,n,r){switch(e.type){case BS:if(e.children.length)break;case DS:case Kc:return e.return=e.return||e.value;case w0:return"";case x0:return e.return=e.value+"{"+Ar(e.children,r)+"}";case Hc:e.value=e.props.join(",")}return Qt(n=Ar(e.children,r))?e.return=e.value+"{"+n+"}":""}function nw(e){var t=Qc(e);return function(n,r,o,i){for(var s="",l=0;l<t;l++)s+=e[l](n,r,o,i)||"";return s}}function rw(e){return function(t){t.root||(t=t.return)&&e(t)}}var ow=function(t,n,r){for(var o=0,i=0;o=i,i=Jt(),o===38&&i===12&&(n[r]=1),!di(i);)ct();return xi(t,nt)},iw=function(t,n){var r=-1,o=44;do switch(di(o)){case 0:o===38&&Jt()===12&&(n[r]=1),t[r]+=ow(nt-1,n,r);break;case 2:t[r]+=ps(o);break;case 4:if(o===44){t[++r]=Jt()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=vl(o)}while(o=ct());return t},sw=function(t,n){return E0(iw(C0(t),n))},Qd=new WeakMap,lw=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Qd.get(r))&&!o){Qd.set(t,!0);for(var i=[],s=sw(n,i),l=r.props,a=0,u=0;a<s.length;a++)for(var c=0;c<l.length;c++,u++)t.props[u]=i[a]?s[a].replace(/&\f/g,l[c]):l[c]+" "+s[a]}}},aw=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function P0(e,t){switch(WS(e,t)){case 5103:return Q+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Q+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Q+e+Hs+e+ze+e+e;case 6828:case 4268:return Q+e+ze+e+e;case 6165:return Q+e+ze+"flex-"+e+e;case 5187:return Q+e+G(e,/(\w+).+(:[^]+)/,Q+"box-$1$2"+ze+"flex-$1$2")+e;case 5443:return Q+e+ze+"flex-item-"+G(e,/flex-|-self/,"")+e;case 4675:return Q+e+ze+"flex-line-pack"+G(e,/align-content|flex-|-self/,"")+e;case 5548:return Q+e+ze+G(e,"shrink","negative")+e;case 5292:return Q+e+ze+G(e,"basis","preferred-size")+e;case 6060:return Q+"box-"+G(e,"-grow","")+Q+e+ze+G(e,"grow","positive")+e;case 4554:return Q+G(e,/([^-])(transform)/g,"$1"+Q+"$2")+e;case 6187:return G(G(G(e,/(zoom-|grab)/,Q+"$1"),/(image-set)/,Q+"$1"),e,"")+e;case 5495:case 3959:return G(e,/(image-set\([^]*)/,Q+"$1$`$1");case 4968:return G(G(e,/(.+:)(flex-)?(.*)/,Q+"box-pack:$3"+ze+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Q+e+e;case 4095:case 3583:case 4068:case 2532:return G(e,/(.+)-inline(.+)/,Q+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Qt(e)-1-t>6)switch(Me(e,t+1)){case 109:if(Me(e,t+4)!==45)break;case 102:return G(e,/(.+:)(.+)-([^]+)/,"$1"+Q+"$2-$3$1"+Hs+(Me(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Au(e,"stretch")?P0(G(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Me(e,t+1)!==115)break;case 6444:switch(Me(e,Qt(e)-3-(~Au(e,"!important")&&10))){case 107:return G(e,":",":"+Q)+e;case 101:return G(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Q+(Me(e,14)===45?"inline-":"")+"box$3$1"+Q+"$2$3$1"+ze+"$2box$3")+e}break;case 5936:switch(Me(e,t+11)){case 114:return Q+e+ze+G(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Q+e+ze+G(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Q+e+ze+G(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Q+e+ze+e+e}return e}var uw=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Kc:t.return=P0(t.value,t.length);break;case x0:return Ar([Ro(t,{value:G(t.value,"@","@"+Q)})],o);case Hc:if(t.length)return KS(t.props,function(i){switch(HS(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ar([Ro(t,{props:[G(i,/:(read-\w+)/,":"+Hs+"$1")]})],o);case"::placeholder":return Ar([Ro(t,{props:[G(i,/:(plac\w+)/,":"+Q+"input-$1")]}),Ro(t,{props:[G(i,/:(plac\w+)/,":"+Hs+"$1")]}),Ro(t,{props:[G(i,/:(plac\w+)/,ze+"input-$1")]})],o)}return""})}},cw=[uw],R0=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var k=y.getAttribute("data-emotion");k.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||cw,i={},s,l=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var k=y.getAttribute("data-emotion").split(" "),p=1;p<k.length;p++)i[k[p]]=!0;l.push(y)});var a,u=[lw,aw];{var c,d=[tw,rw(function(y){c.insert(y)})],f=nw(u.concat(o,d)),v=function(k){return Ar(ZS(k),f)};a=function(k,p,h,m){c=h,v(k?k+"{"+p.styles+"}":p.styles),m&&(g.inserted[p.name]=!0)}}var g={key:n,sheet:new AS({key:n,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:a};return g.sheet.hydrate(l),g},T0={exports:{}},J={};/** @license React v16.13.1
* react-is.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 Te=typeof Symbol=="function"&&Symbol.for,Gc=Te?Symbol.for("react.element"):60103,qc=Te?Symbol.for("react.portal"):60106,wl=Te?Symbol.for("react.fragment"):60107,xl=Te?Symbol.for("react.strict_mode"):60108,kl=Te?Symbol.for("react.profiler"):60114,_l=Te?Symbol.for("react.provider"):60109,Cl=Te?Symbol.for("react.context"):60110,Xc=Te?Symbol.for("react.async_mode"):60111,El=Te?Symbol.for("react.concurrent_mode"):60111,Pl=Te?Symbol.for("react.forward_ref"):60112,Rl=Te?Symbol.for("react.suspense"):60113,fw=Te?Symbol.for("react.suspense_list"):60120,Tl=Te?Symbol.for("react.memo"):60115,Ol=Te?Symbol.for("react.lazy"):60116,dw=Te?Symbol.for("react.block"):60121,pw=Te?Symbol.for("react.fundamental"):60117,hw=Te?Symbol.for("react.responder"):60118,mw=Te?Symbol.for("react.scope"):60119;function ht(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Gc:switch(e=e.type,e){case Xc:case El:case wl:case kl:case xl:case Rl:return e;default:switch(e=e&&e.$$typeof,e){case Cl:case Pl:case Ol:case Tl:case _l:return e;default:return t}}case qc:return t}}}function O0(e){return ht(e)===El}J.AsyncMode=Xc;J.ConcurrentMode=El;J.ContextConsumer=Cl;J.ContextProvider=_l;J.Element=Gc;J.ForwardRef=Pl;J.Fragment=wl;J.Lazy=Ol;J.Memo=Tl;J.Portal=qc;J.Profiler=kl;J.StrictMode=xl;J.Suspense=Rl;J.isAsyncMode=function(e){return O0(e)||ht(e)===Xc};J.isConcurrentMode=O0;J.isContextConsumer=function(e){return ht(e)===Cl};J.isContextProvider=function(e){return ht(e)===_l};J.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Gc};J.isForwardRef=function(e){return ht(e)===Pl};J.isFragment=function(e){return ht(e)===wl};J.isLazy=function(e){return ht(e)===Ol};J.isMemo=function(e){return ht(e)===Tl};J.isPortal=function(e){return ht(e)===qc};J.isProfiler=function(e){return ht(e)===kl};J.isStrictMode=function(e){return ht(e)===xl};J.isSuspense=function(e){return ht(e)===Rl};J.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===wl||e===El||e===kl||e===xl||e===Rl||e===fw||typeof e=="object"&&e!==null&&(e.$$typeof===Ol||e.$$typeof===Tl||e.$$typeof===_l||e.$$typeof===Cl||e.$$typeof===Pl||e.$$typeof===pw||e.$$typeof===hw||e.$$typeof===mw||e.$$typeof===dw)};J.typeOf=ht;T0.exports=J;var yw=T0.exports,M0=yw,vw={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},gw={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},$0={};$0[M0.ForwardRef]=vw;$0[M0.Memo]=gw;var Sw=!0;function ww(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):r+=o+" "}),r}var L0=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||Sw===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},b0=function(t,n,r){L0(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function xw(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var kw={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},_w=!1,Cw=/[A-Z]|^ms/g,Ew=/_EMO_([^_]+?)_([^]*?)_EMO_/g,I0=function(t){return t.charCodeAt(1)===45},Gd=function(t){return t!=null&&typeof t!="boolean"},za=S0(function(e){return I0(e)?e:e.replace(Cw,"-$&").toLowerCase()}),qd=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Ew,function(r,o,i){return Gt={name:o,styles:i,next:Gt},o})}return kw[t]!==1&&!I0(t)&&typeof n=="number"&&n!==0?n+"px":n},Pw="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function pi(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return Gt={name:o.name,styles:o.styles,next:Gt},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Gt={name:s.name,styles:s.styles,next:Gt},s=s.next;var l=i.styles+";";return l}return Rw(e,t,n)}case"function":{if(e!==void 0){var a=Gt,u=n(e);return Gt=a,pi(e,t,u)}break}}var c=n;if(t==null)return c;var d=t[c];return d!==void 0?d:c}function Rw(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=pi(e,t,n[o])+";";else for(var i in n){var s=n[i];if(typeof s!="object"){var l=s;t!=null&&t[l]!==void 0?r+=i+"{"+t[l]+"}":Gd(l)&&(r+=za(i)+":"+qd(i,l)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&_w)throw new Error(Pw);if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)Gd(s[a])&&(r+=za(i)+":"+qd(i,s[a])+";");else{var u=pi(e,t,s);switch(i){case"animation":case"animationName":{r+=za(i)+":"+u+";";break}default:r+=i+"{"+u+"}"}}}}return r}var Xd=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Gt;function Yc(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";Gt=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,o+=pi(n,t,i);else{var s=i;o+=s[0]}for(var l=1;l<e.length;l++)if(o+=pi(n,t,e[l]),r){var a=i;o+=a[l]}Xd.lastIndex=0;for(var u="",c;(c=Xd.exec(o))!==null;)u+="-"+c[1];var d=xw(o)+u;return{name:d,styles:o,next:Gt}}var Tw=function(t){return t()},F0=kf.useInsertionEffect?kf.useInsertionEffect:!1,Ow=F0||Tw,Yd=F0||R.useLayoutEffect,z0=R.createContext(typeof HTMLElement<"u"?R0({key:"css"}):null),Mw=z0.Provider,N0=function(t){return R.forwardRef(function(n,r){var o=R.useContext(z0);return t(n,o,r)})},Jc=R.createContext({}),$w=N0(function(e,t){var n=e.styles,r=Yc([n],void 0,R.useContext(Jc)),o=R.useRef();return Yd(function(){var i=t.key+"-global",s=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,a=document.querySelector('style[data-emotion="'+i+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),a!==null&&(l=!0,a.setAttribute("data-emotion",i),s.hydrate([a])),o.current=[s,l],function(){s.flush()}},[t]),Yd(function(){var i=o.current,s=i[0],l=i[1];if(l){i[1]=!1;return}if(r.next!==void 0&&b0(t,r.next,!0),s.tags.length){var a=s.tags[s.tags.length-1].nextElementSibling;s.before=a,s.flush()}t.insert("",r,s,!1)},[t,r.name]),null});function j0(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Yc(t)}var Ml=function(){var t=j0.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Lw=FS,bw=function(t){return t!=="theme"},Jd=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Lw:bw},Zd=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},Iw=!1,Fw=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return L0(n,r,o),Ow(function(){return b0(n,r,o)}),null},zw=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,s;n!==void 0&&(i=n.label,s=n.target);var l=Zd(t,n,r),a=l||Jd(o),u=!a("as");return function(){var c=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,v=1;v<f;v++)d.push(c[v],c[0][v])}var g=N0(function(y,k,p){var h=u&&y.as||o,m="",S=[],w=y;if(y.theme==null){w={};for(var C in y)w[C]=y[C];w.theme=R.useContext(Jc)}typeof y.className=="string"?m=ww(k.registered,S,y.className):y.className!=null&&(m=y.className+" ");var x=Yc(d.concat(S),k.registered,w);m+=k.key+"-"+x.name,s!==void 0&&(m+=" "+s);var _=u&&l===void 0?Jd(h):a,b={};for(var O in y)u&&O==="as"||_(O)&&(b[O]=y[O]);return b.className=m,p&&(b.ref=p),R.createElement(R.Fragment,null,R.createElement(Fw,{cache:k,serialized:x,isStringTag:typeof h=="string"}),R.createElement(h,b))});return g.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=o,g.__emotion_styles=d,g.__emotion_forwardProp=l,Object.defineProperty(g,"toString",{value:function(){return s===void 0&&Iw?"NO_COMPONENT_SELECTOR":"."+s}}),g.withComponent=function(y,k){return e(y,j({},n,k,{shouldForwardProp:Zd(g,k,!0)})).apply(void 0,d)},g}},Nw=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Bu=zw.bind();Nw.forEach(function(e){Bu[e]=Bu(e)});let Uu;typeof document=="object"&&(Uu=R0({key:"css",prepend:!0}));function jw(e){const{injectFirst:t,children:n}=e;return t&&Uu?M.jsx(Mw,{value:Uu,children:n}):n}function Aw(e){return e==null||Object.keys(e).length===0}function Dw(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(Aw(o)?n:o):t;return M.jsx($w,{styles:r})}function Bw(e,t){return Bu(e,t)}const Uw=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Vw=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Dw,StyledEngineProvider:jw,ThemeContext:Jc,css:j0,default:Bw,internal_processStyles:Uw,keyframes:Ml},Symbol.toStringTag,{value:"Module"}));function wn(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function A0(e){if(!wn(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=A0(e[n])}),t}function Zt(e,t,n={clone:!0}){const r=n.clone?j({},e):e;return wn(e)&&wn(t)&&Object.keys(t).forEach(o=>{wn(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&wn(e[o])?r[o]=Zt(e[o],t[o],n):n.clone?r[o]=wn(t[o])?A0(t[o]):t[o]:r[o]=t[o]}),r}const Ww=Object.freeze(Object.defineProperty({__proto__:null,default:Zt,isPlainObject:wn},Symbol.toStringTag,{value:"Module"})),Hw=["values","unit","step"],Kw=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>j({},n,{[r.key]:r.val}),{})};function D0(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=At(e,Hw),i=Kw(t),s=Object.keys(i);function l(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function a(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function u(f,v){const g=s.indexOf(v);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(g!==-1&&typeof t[s[g]]=="number"?t[s[g]]:v)-r/100}${n})`}function c(f){return s.indexOf(f)+1<s.length?u(f,s[s.indexOf(f)+1]):l(f)}function d(f){const v=s.indexOf(f);return v===0?l(s[1]):v===s.length-1?a(s[v]):u(f,s[s.indexOf(f)+1]).replace("@media","@media not all and")}return j({keys:s,values:i,up:l,down:a,between:u,only:c,not:d,unit:n},o)}const Qw={borderRadius:4};function Vo(e,t){return t?Zt(e,t,{clone:!1}):e}const Zc={xs:0,sm:600,md:900,lg:1200,xl:1536},ep={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Zc[e]}px)`};function dn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||ep;return t.reduce((s,l,a)=>(s[i.up(i.keys[a])]=n(t[a]),s),{})}if(typeof t=="object"){const i=r.breakpoints||ep;return Object.keys(t).reduce((s,l)=>{if(Object.keys(i.values||Zc).indexOf(l)!==-1){const a=i.up(l);s[a]=n(t[l],l)}else{const a=l;s[a]=t[a]}return s},{})}return n(t)}function Gw(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function qw(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Ye(e){if(typeof e!="string")throw new Error(ci(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Xw=Object.freeze(Object.defineProperty({__proto__:null,default:Ye},Symbol.toStringTag,{value:"Module"}));function $l(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Ks(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=$l(e,n)||r,t&&(o=t(o,r,e)),o}function ge(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const l=s[t],a=s.theme,u=$l(a,r)||{};return dn(s,l,d=>{let f=Ks(u,o,d);return d===f&&typeof d=="string"&&(f=Ks(u,o,`${t}${d==="default"?"":Ye(d)}`,d)),n===!1?f:{[n]:f}})};return i.propTypes={},i.filterProps=[t],i}function Yw(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Jw={m:"margin",p:"padding"},Zw={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},tp={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ex=Yw(e=>{if(e.length>2)if(tp[e])e=tp[e];else return[e];const[t,n]=e.split(""),r=Jw[t],o=Zw[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),ef=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],tf=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...ef,...tf];function ki(e,t,n,r){var o;const i=(o=$l(e,t,!1))!=null?o:n;return typeof i=="number"?s=>typeof s=="string"?s:i*s:Array.isArray(i)?s=>typeof s=="string"?s:i[s]:typeof i=="function"?i:()=>{}}function B0(e){return ki(e,"spacing",8)}function _i(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function tx(e,t){return n=>e.reduce((r,o)=>(r[o]=_i(t,n),r),{})}function nx(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=ex(n),i=tx(o,r),s=e[n];return dn(e,s,i)}function U0(e,t){const n=B0(e.theme);return Object.keys(e).map(r=>nx(e,t,r,n)).reduce(Vo,{})}function pe(e){return U0(e,ef)}pe.propTypes={};pe.filterProps=ef;function he(e){return U0(e,tf)}he.propTypes={};he.filterProps=tf;function rx(e=8){if(e.mui)return e;const t=B0({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Ll(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Vo(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function xt(e){return typeof e!="number"?e:`${e}px solid`}function Rt(e,t){return ge({prop:e,themeKey:"borders",transform:t})}const ox=Rt("border",xt),ix=Rt("borderTop",xt),sx=Rt("borderRight",xt),lx=Rt("borderBottom",xt),ax=Rt("borderLeft",xt),ux=Rt("borderColor"),cx=Rt("borderTopColor"),fx=Rt("borderRightColor"),dx=Rt("borderBottomColor"),px=Rt("borderLeftColor"),hx=Rt("outline",xt),mx=Rt("outlineColor"),bl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ki(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:_i(t,r)});return dn(e,e.borderRadius,n)}return null};bl.propTypes={};bl.filterProps=["borderRadius"];Ll(ox,ix,sx,lx,ax,ux,cx,fx,dx,px,bl,hx,mx);const Il=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ki(e.theme,"spacing",8),n=r=>({gap:_i(t,r)});return dn(e,e.gap,n)}return null};Il.propTypes={};Il.filterProps=["gap"];const Fl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ki(e.theme,"spacing",8),n=r=>({columnGap:_i(t,r)});return dn(e,e.columnGap,n)}return null};Fl.propTypes={};Fl.filterProps=["columnGap"];const zl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ki(e.theme,"spacing",8),n=r=>({rowGap:_i(t,r)});return dn(e,e.rowGap,n)}return null};zl.propTypes={};zl.filterProps=["rowGap"];const yx=ge({prop:"gridColumn"}),vx=ge({prop:"gridRow"}),gx=ge({prop:"gridAutoFlow"}),Sx=ge({prop:"gridAutoColumns"}),wx=ge({prop:"gridAutoRows"}),xx=ge({prop:"gridTemplateColumns"}),kx=ge({prop:"gridTemplateRows"}),_x=ge({prop:"gridTemplateAreas"}),Cx=ge({prop:"gridArea"});Ll(Il,Fl,zl,yx,vx,gx,Sx,wx,xx,kx,_x,Cx);function Dr(e,t){return t==="grey"?t:e}const Ex=ge({prop:"color",themeKey:"palette",transform:Dr}),Px=ge({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Dr}),Rx=ge({prop:"backgroundColor",themeKey:"palette",transform:Dr});Ll(Ex,Px,Rx);function lt(e){return e<=1&&e!==0?`${e*100}%`:e}const Tx=ge({prop:"width",transform:lt}),nf=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||Zc[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:lt(n)}};return dn(e,e.maxWidth,t)}return null};nf.filterProps=["maxWidth"];const Ox=ge({prop:"minWidth",transform:lt}),Mx=ge({prop:"height",transform:lt}),$x=ge({prop:"maxHeight",transform:lt}),Lx=ge({prop:"minHeight",transform:lt});ge({prop:"size",cssProperty:"width",transform:lt});ge({prop:"size",cssProperty:"height",transform:lt});const bx=ge({prop:"boxSizing"});Ll(Tx,nf,Ox,Mx,$x,Lx,bx);const Ix={border:{themeKey:"borders",transform:xt},borderTop:{themeKey:"borders",transform:xt},borderRight:{themeKey:"borders",transform:xt},borderBottom:{themeKey:"borders",transform:xt},borderLeft:{themeKey:"borders",transform:xt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:xt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:bl},color:{themeKey:"palette",transform:Dr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Dr},backgroundColor:{themeKey:"palette",transform:Dr},p:{style:he},pt:{style:he},pr:{style:he},pb:{style:he},pl:{style:he},px:{style:he},py:{style:he},padding:{style:he},paddingTop:{style:he},paddingRight:{style:he},paddingBottom:{style:he},paddingLeft:{style:he},paddingX:{style:he},paddingY:{style:he},paddingInline:{style:he},paddingInlineStart:{style:he},paddingInlineEnd:{style:he},paddingBlock:{style:he},paddingBlockStart:{style:he},paddingBlockEnd:{style:he},m:{style:pe},mt:{style:pe},mr:{style:pe},mb:{style:pe},ml:{style:pe},mx:{style:pe},my:{style:pe},margin:{style:pe},marginTop:{style:pe},marginRight:{style:pe},marginBottom:{style:pe},marginLeft:{style:pe},marginX:{style:pe},marginY:{style:pe},marginInline:{style:pe},marginInlineStart:{style:pe},marginInlineEnd:{style:pe},marginBlock:{style:pe},marginBlockStart:{style:pe},marginBlockEnd:{style:pe},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Il},rowGap:{style:zl},columnGap:{style:Fl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:lt},maxWidth:{style:nf},minWidth:{transform:lt},height:{transform:lt},maxHeight:{transform:lt},minHeight:{transform:lt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Ci=Ix;function Fx(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function zx(e,t){return typeof e=="function"?e(t):e}function V0(){function e(n,r,o,i){const s={[n]:r,theme:o},l=i[n];if(!l)return{[n]:r};const{cssProperty:a=n,themeKey:u,transform:c,style:d}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const f=$l(o,u)||{};return d?d(s):dn(s,r,g=>{let y=Ks(f,c,g);return g===y&&typeof g=="string"&&(y=Ks(f,c,`${n}${g==="default"?"":Ye(g)}`,g)),a===!1?y:{[a]:y}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const s=(r=i.unstable_sxConfig)!=null?r:Ci;function l(a){let u=a;if(typeof a=="function")u=a(i);else if(typeof a!="object")return a;if(!u)return null;const c=Gw(i.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(v=>{const g=zx(u[v],i);if(g!=null)if(typeof g=="object")if(s[v])f=Vo(f,e(v,g,i,s));else{const y=dn({theme:i},g,k=>({[v]:k}));Fx(y,g)?f[v]=t({sx:g,theme:i}):f=Vo(f,y)}else f=Vo(f,e(v,g,i,s))}),qw(d,f)}return Array.isArray(o)?o.map(l):l(o)}return t}const W0=V0();W0.filterProps=["sx"];const rf=W0;function H0(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const Nx=["breakpoints","palette","spacing","shape"];function K0(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,s=At(e,Nx),l=D0(n),a=rx(o);let u=Zt({breakpoints:l,direction:"ltr",components:{},palette:j({mode:"light"},r),spacing:a,shape:j({},Qw,i)},s);return u.applyStyles=H0,u=t.reduce((c,d)=>Zt(c,d),u),u.unstable_sxConfig=j({},Ci,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return rf({sx:d,theme:this})},u}const jx=Object.freeze(Object.defineProperty({__proto__:null,default:K0,private_createBreakpoints:D0,unstable_applyStyles:H0},Symbol.toStringTag,{value:"Module"})),Ax=["sx"],Dx=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Ci;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function Bx(e){const{sx:t}=e,n=At(e,Ax),{systemProps:r,otherProps:o}=Dx(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const l=t(...s);return wn(l)?j({},r,l):r}:i=j({},r,t),j({},o,{sx:i})}const Ux=Object.freeze(Object.defineProperty({__proto__:null,default:rf,extendSxProp:Bx,unstable_createStyleFunctionSx:V0,unstable_defaultSxConfig:Ci},Symbol.toStringTag,{value:"Module"})),np=e=>e,Vx=()=>{let e=np;return{configure(t){e=t},generate(t){return e(t)},reset(){e=np}}},Wx=Vx(),Hx={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function of(e,t,n="Mui"){const r=Hx[t];return r?`${n}-${r}`:`${Wx.generate(e)}-${t}`}function sf(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=of(e,o,n)}),r}var Q0={exports:{}},Z={};/**
* @license React
* react-is.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 lf=Symbol.for("react.element"),af=Symbol.for("react.portal"),Nl=Symbol.for("react.fragment"),jl=Symbol.for("react.strict_mode"),Al=Symbol.for("react.profiler"),Dl=Symbol.for("react.provider"),Bl=Symbol.for("react.context"),Kx=Symbol.for("react.server_context"),Ul=Symbol.for("react.forward_ref"),Vl=Symbol.for("react.suspense"),Wl=Symbol.for("react.suspense_list"),Hl=Symbol.for("react.memo"),Kl=Symbol.for("react.lazy"),Qx=Symbol.for("react.offscreen"),G0;G0=Symbol.for("react.module.reference");function Tt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case lf:switch(e=e.type,e){case Nl:case Al:case jl:case Vl:case Wl:return e;default:switch(e=e&&e.$$typeof,e){case Kx:case Bl:case Ul:case Kl:case Hl:case Dl:return e;default:return t}}case af:return t}}}Z.ContextConsumer=Bl;Z.ContextProvider=Dl;Z.Element=lf;Z.ForwardRef=Ul;Z.Fragment=Nl;Z.Lazy=Kl;Z.Memo=Hl;Z.Portal=af;Z.Profiler=Al;Z.StrictMode=jl;Z.Suspense=Vl;Z.SuspenseList=Wl;Z.isAsyncMode=function(){return!1};Z.isConcurrentMode=function(){return!1};Z.isContextConsumer=function(e){return Tt(e)===Bl};Z.isContextProvider=function(e){return Tt(e)===Dl};Z.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===lf};Z.isForwardRef=function(e){return Tt(e)===Ul};Z.isFragment=function(e){return Tt(e)===Nl};Z.isLazy=function(e){return Tt(e)===Kl};Z.isMemo=function(e){return Tt(e)===Hl};Z.isPortal=function(e){return Tt(e)===af};Z.isProfiler=function(e){return Tt(e)===Al};Z.isStrictMode=function(e){return Tt(e)===jl};Z.isSuspense=function(e){return Tt(e)===Vl};Z.isSuspenseList=function(e){return Tt(e)===Wl};Z.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Nl||e===Al||e===jl||e===Vl||e===Wl||e===Qx||typeof e=="object"&&e!==null&&(e.$$typeof===Kl||e.$$typeof===Hl||e.$$typeof===Dl||e.$$typeof===Bl||e.$$typeof===Ul||e.$$typeof===G0||e.getModuleId!==void 0)};Z.typeOf=Tt;Q0.exports=Z;var rp=Q0.exports;const Gx=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function q0(e){const t=`${e}`.match(Gx);return t&&t[1]||""}function X0(e,t=""){return e.displayName||e.name||q0(e)||t}function op(e,t,n){const r=X0(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function qx(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return X0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case rp.ForwardRef:return op(e,e.render,"ForwardRef");case rp.Memo:return op(e,e.type,"memo");default:return}}}const Xx=Object.freeze(Object.defineProperty({__proto__:null,default:qx,getFunctionName:q0},Symbol.toStringTag,{value:"Module"}));function Qs(e,t){const n=j({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=j({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=j({},i),Object.keys(o).forEach(s=>{n[r][s]=Qs(o[s],i[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}const Yx=typeof window<"u"?R.useLayoutEffect:R.useEffect;function Jx(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const Zx=Object.freeze(Object.defineProperty({__proto__:null,default:Jx},Symbol.toStringTag,{value:"Module"}));function ek(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Gi(e){const t=R.useRef(e);return Yx(()=>{t.current=e}),R.useRef((...n)=>(0,t.current)(...n)).current}function ip(...e){return R.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{ek(n,t)})},e)}const sp={};function tk(e,t){const n=R.useRef(sp);return n.current===sp&&(n.current=e(t)),n}const nk=[];function rk(e){R.useEffect(e,nk)}class Ql{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Ql}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function ok(){const e=tk(Ql.create).current;return rk(e.disposeEffect),e}let Gl=!0,Vu=!1;const ik=new Ql,sk={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function lk(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&sk[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function ak(e){e.metaKey||e.altKey||e.ctrlKey||(Gl=!0)}function Na(){Gl=!1}function uk(){this.visibilityState==="hidden"&&Vu&&(Gl=!0)}function ck(e){e.addEventListener("keydown",ak,!0),e.addEventListener("mousedown",Na,!0),e.addEventListener("pointerdown",Na,!0),e.addEventListener("touchstart",Na,!0),e.addEventListener("visibilitychange",uk,!0)}function fk(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Gl||lk(t)}function dk(){const e=R.useCallback(o=>{o!=null&&ck(o.ownerDocument)},[]),t=R.useRef(!1);function n(){return t.current?(Vu=!0,ik.start(100,()=>{Vu=!1}),t.current=!1,!0):!1}function r(o){return fk(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Y0(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,s)=>{if(s){const l=t(s);l!==""&&i.push(l),n&&n[s]&&i.push(n[s])}return i},[]).join(" ")}),r}const pk=R.createContext(void 0);function hk(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Qs(o.defaultProps,r):!o.styleOverrides&&!o.variants?Qs(o,r):r}function mk({props:e,name:t}){const n=R.useContext(pk);return hk({props:e,name:t,theme:{components:n}})}function yk(e,t){return j({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Se={},J0={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(J0);var Z0=J0.exports;const vk=An(LS),gk=An(Zx);var ey=Z0;Object.defineProperty(Se,"__esModule",{value:!0});var qi=Se.alpha=oy;Se.blend=$k;Se.colorChannel=void 0;var Sk=Se.darken=cf;Se.decomposeColor=Pt;Se.emphasize=iy;var wk=Se.getContrastRatio=Pk;Se.getLuminance=Gs;Se.hexToRgb=ty;Se.hslToRgb=ry;var xk=Se.lighten=ff;Se.private_safeAlpha=Rk;Se.private_safeColorChannel=void 0;Se.private_safeDarken=Tk;Se.private_safeEmphasize=Mk;Se.private_safeLighten=Ok;Se.recomposeColor=po;Se.rgbToHex=Ek;var lp=ey(vk),kk=ey(gk);function uf(e,t=0,n=1){return(0,kk.default)(e,t,n)}function ty(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function _k(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Pt(e){if(e.type)return e;if(e.charAt(0)==="#")return Pt(ty(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,lp.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,lp.default)(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const ny=e=>{const t=Pt(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};Se.colorChannel=ny;const Ck=(e,t)=>{try{return ny(e)}catch{return e}};Se.private_safeColorChannel=Ck;function po(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function Ek(e){if(e.indexOf("#")===0)return e;const{values:t}=Pt(e);return`#${t.map((n,r)=>_k(r===3?Math.round(255*n):n)).join("")}`}function ry(e){e=Pt(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(u,c=(u+n/30)%12)=>o-i*Math.max(Math.min(c-3,9-c,1),-1);let l="rgb";const a=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(l+="a",a.push(t[3])),po({type:l,values:a})}function Gs(e){e=Pt(e);let t=e.type==="hsl"||e.type==="hsla"?Pt(ry(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Pk(e,t){const n=Gs(e),r=Gs(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function oy(e,t){return e=Pt(e),t=uf(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,po(e)}function Rk(e,t,n){try{return oy(e,t)}catch{return e}}function cf(e,t){if(e=Pt(e),t=uf(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return po(e)}function Tk(e,t,n){try{return cf(e,t)}catch{return e}}function ff(e,t){if(e=Pt(e),t=uf(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return po(e)}function Ok(e,t,n){try{return ff(e,t)}catch{return e}}function iy(e,t=.15){return Gs(e)>.5?cf(e,t):ff(e,t)}function Mk(e,t,n){try{return iy(e,t)}catch{return e}}function $k(e,t,n,r=1){const o=(a,u)=>Math.round((a**(1/r)*(1-n)+u**(1/r)*n)**r),i=Pt(e),s=Pt(t),l=[o(i.values[0],s.values[0]),o(i.values[1],s.values[1]),o(i.values[2],s.values[2])];return po({type:"rgb",values:l})}const Lk=["mode","contrastThreshold","tonalOffset"],ap={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ui.white,default:ui.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},ja={text:{primary:ui.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:ui.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function up(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=xk(e.main,o):t==="dark"&&(e.dark=Sk(e.main,i)))}function bk(e="light"){return e==="dark"?{main:mr[200],light:mr[50],dark:mr[400]}:{main:mr[700],light:mr[400],dark:mr[800]}}function Ik(e="light"){return e==="dark"?{main:hr[200],light:hr[50],dark:hr[400]}:{main:hr[500],light:hr[300],dark:hr[700]}}function Fk(e="light"){return e==="dark"?{main:pr[500],light:pr[300],dark:pr[700]}:{main:pr[700],light:pr[400],dark:pr[800]}}function zk(e="light"){return e==="dark"?{main:yr[400],light:yr[300],dark:yr[700]}:{main:yr[700],light:yr[500],dark:yr[900]}}function Nk(e="light"){return e==="dark"?{main:vr[400],light:vr[300],dark:vr[700]}:{main:vr[800],light:vr[500],dark:vr[900]}}function jk(e="light"){return e==="dark"?{main:Po[400],light:Po[300],dark:Po[700]}:{main:"#ed6c02",light:Po[500],dark:Po[900]}}function Ak(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=At(e,Lk),i=e.primary||bk(t),s=e.secondary||Ik(t),l=e.error||Fk(t),a=e.info||zk(t),u=e.success||Nk(t),c=e.warning||jk(t);function d(y){return wk(y,ja.text.primary)>=n?ja.text.primary:ap.text.primary}const f=({color:y,name:k,mainShade:p=500,lightShade:h=300,darkShade:m=700})=>{if(y=j({},y),!y.main&&y[p]&&(y.main=y[p]),!y.hasOwnProperty("main"))throw new Error(ci(11,k?` (${k})`:"",p));if(typeof y.main!="string")throw new Error(ci(12,k?` (${k})`:"",JSON.stringify(y.main)));return up(y,"light",h,r),up(y,"dark",m,r),y.contrastText||(y.contrastText=d(y.main)),y},v={dark:ja,light:ap};return Zt(j({common:j({},ui),mode:t,primary:f({color:i,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:l,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:a,name:"info"}),success:f({color:u,name:"success"}),grey:$S,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},v[t]),o)}const Dk=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Bk(e){return Math.round(e*1e5)/1e5}const cp={textTransform:"uppercase"},fp='"Roboto", "Helvetica", "Arial", sans-serif';function Uk(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=fp,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:l=500,fontWeightBold:a=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,f=At(n,Dk),v=o/14,g=d||(p=>`${p/u*v}rem`),y=(p,h,m,S,w)=>j({fontFamily:r,fontWeight:p,fontSize:g(h),lineHeight:m},r===fp?{letterSpacing:`${Bk(S/h)}em`}:{},w,c),k={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(s,48,1.167,0),h4:y(s,34,1.235,.25),h5:y(s,24,1.334,0),h6:y(l,20,1.6,.15),subtitle1:y(s,16,1.75,.15),subtitle2:y(l,14,1.57,.1),body1:y(s,16,1.5,.15),body2:y(s,14,1.43,.15),button:y(l,14,1.75,.4,cp),caption:y(s,12,1.66,.4),overline:y(s,12,2.66,1,cp),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Zt(j({htmlFontSize:u,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:l,fontWeightBold:a},k),f,{clone:!1})}const Vk=.2,Wk=.14,Hk=.12;function se(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Vk})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Wk})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Hk})`].join(",")}const Kk=["none",se(0,2,1,-1,0,1,1,0,0,1,3,0),se(0,3,1,-2,0,2,2,0,0,1,5,0),se(0,3,3,-2,0,3,4,0,0,1,8,0),se(0,2,4,-1,0,4,5,0,0,1,10,0),se(0,3,5,-1,0,5,8,0,0,1,14,0),se(0,3,5,-1,0,6,10,0,0,1,18,0),se(0,4,5,-2,0,7,10,1,0,2,16,1),se(0,5,5,-3,0,8,10,1,0,3,14,2),se(0,5,6,-3,0,9,12,1,0,3,16,2),se(0,6,6,-3,0,10,14,1,0,4,18,3),se(0,6,7,-4,0,11,15,1,0,4,20,3),se(0,7,8,-4,0,12,17,2,0,5,22,4),se(0,7,8,-4,0,13,19,2,0,5,24,4),se(0,7,9,-4,0,14,21,2,0,5,26,4),se(0,8,9,-5,0,15,22,2,0,6,28,5),se(0,8,10,-5,0,16,24,2,0,6,30,5),se(0,8,11,-5,0,17,26,2,0,6,32,5),se(0,9,11,-5,0,18,28,2,0,7,34,6),se(0,9,12,-6,0,19,29,2,0,7,36,6),se(0,10,13,-6,0,20,31,3,0,8,38,7),se(0,10,13,-6,0,21,33,3,0,8,40,7),se(0,10,14,-6,0,22,35,3,0,8,42,7),se(0,11,14,-7,0,23,36,3,0,9,44,8),se(0,11,15,-7,0,24,38,3,0,9,46,8)],Qk=["duration","easing","delay"],Gk={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},qk={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function dp(e){return`${Math.round(e)}ms`}function Xk(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Yk(e){const t=j({},Gk,e.easing),n=j({},qk,e.duration);return j({getAutoHeightDuration:Xk,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:l=t.easeInOut,delay:a=0}=i;return At(i,Qk),(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof s=="string"?s:dp(s)} ${l} ${typeof a=="string"?a:dp(a)}`).join(",")}},e,{easing:t,duration:n})}const Jk={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Zk=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function e_(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,s=At(e,Zk);if(e.vars)throw new Error(ci(18));const l=Ak(r),a=K0(e);let u=Zt(a,{mixins:yk(a.breakpoints,n),palette:l,shadows:Kk.slice(),typography:Uk(l,i),transitions:Yk(o),zIndex:j({},Jk)});return u=Zt(u,s),u=t.reduce((c,d)=>Zt(c,d),u),u.unstable_sxConfig=j({},Ci,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return rf({sx:d,theme:this})},u}const t_=e_();var Ei={},Aa={exports:{}},pp;function n_(){return pp||(pp=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var i in o)({}).hasOwnProperty.call(o,i)&&(n[i]=o[i])}return n},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Aa)),Aa.exports}var Da={exports:{}},hp;function r_(){return hp||(hp=1,function(e){function t(n,r){if(n==null)return{};var o={};for(var i in n)if({}.hasOwnProperty.call(n,i)){if(r.includes(i))continue;o[i]=n[i]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Da)),Da.exports}const o_=An(Vw),i_=An(Ww),s_=An(Xw),l_=An(Xx),a_=An(jx),u_=An(Ux);var ho=Z0;Object.defineProperty(Ei,"__esModule",{value:!0});var c_=Ei.default=__;Ei.shouldForwardProp=ms;Ei.systemDefaultTheme=void 0;var yt=ho(n_()),Wu=ho(r_()),mp=v_(o_),f_=i_;ho(s_);ho(l_);var d_=ho(a_),p_=ho(u_);const h_=["ownerState"],m_=["variants"],y_=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function sy(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(sy=function(r){return r?n:t})(e)}function v_(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=sy(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function g_(e){return Object.keys(e).length===0}function S_(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ms(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const w_=Ei.systemDefaultTheme=(0,d_.default)(),x_=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Xi({defaultTheme:e,theme:t,themeId:n}){return g_(t)?e:t[n]||t}function k_(e){return e?(t,n)=>n[e]:null}function ys(e,t){let{ownerState:n}=t,r=(0,Wu.default)(t,h_);const o=typeof e=="function"?e((0,yt.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>ys(i,(0,yt.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let l=(0,Wu.default)(o,m_);return i.forEach(a=>{let u=!0;typeof a.props=="function"?u=a.props((0,yt.default)({ownerState:n},r,n)):Object.keys(a.props).forEach(c=>{(n==null?void 0:n[c])!==a.props[c]&&r[c]!==a.props[c]&&(u=!1)}),u&&(Array.isArray(l)||(l=[l]),l.push(typeof a.style=="function"?a.style((0,yt.default)({ownerState:n},r,n)):a.style))}),l}return o}function __(e={}){const{themeId:t,defaultTheme:n=w_,rootShouldForwardProp:r=ms,slotShouldForwardProp:o=ms}=e,i=s=>(0,p_.default)((0,yt.default)({},s,{theme:Xi((0,yt.default)({},s,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(s,l={})=>{(0,mp.internal_processStyles)(s,w=>w.filter(C=>!(C!=null&&C.__mui_systemSx)));const{name:a,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f=k_(x_(u))}=l,v=(0,Wu.default)(l,y_),g=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,y=d||!1;let k,p=ms;u==="Root"||u==="root"?p=r:u?p=o:S_(s)&&(p=void 0);const h=(0,mp.default)(s,(0,yt.default)({shouldForwardProp:p,label:k},v)),m=w=>typeof w=="function"&&w.__emotion_real!==w||(0,f_.isPlainObject)(w)?C=>ys(w,(0,yt.default)({},C,{theme:Xi({theme:C.theme,defaultTheme:n,themeId:t})})):w,S=(w,...C)=>{let x=m(w);const _=C?C.map(m):[];a&&f&&_.push(F=>{const z=Xi((0,yt.default)({},F,{defaultTheme:n,themeId:t}));if(!z.components||!z.components[a]||!z.components[a].styleOverrides)return null;const N=z.components[a].styleOverrides,V={};return Object.entries(N).forEach(([X,K])=>{V[X]=ys(K,(0,yt.default)({},F,{theme:z}))}),f(F,V)}),a&&!g&&_.push(F=>{var z;const N=Xi((0,yt.default)({},F,{defaultTheme:n,themeId:t})),V=N==null||(z=N.components)==null||(z=z[a])==null?void 0:z.variants;return ys({variants:V},(0,yt.default)({},F,{theme:N}))}),y||_.push(i);const b=_.length-C.length;if(Array.isArray(w)&&b>0){const F=new Array(b).fill("");x=[...w,...F],x.raw=[...w.raw,...F]}const O=h(x,..._);return s.muiName&&(O.muiName=s.muiName),O};return h.withConfig&&(S.withConfig=h.withConfig),S}}function C_(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ly=e=>C_(e)&&e!=="classes",mo=c_({themeId:bS,defaultTheme:t_,rootShouldForwardProp:ly});function df(e){return mk(e)}function Hu(e,t){return Hu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Hu(e,t)}function E_(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Hu(e,t)}const yp=Qn.createContext(null);function P_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pf(e,t){var n=function(i){return t&&R.isValidElement(i)?t(i):i},r=Object.create(null);return e&&R.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function R_(e,t){e=e||{},t=t||{};function n(c){return c in t?t[c]:e[c]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var s,l={};for(var a in t){if(r[a])for(s=0;s<r[a].length;s++){var u=r[a][s];l[r[a][s]]=n(u)}l[a]=n(a)}for(s=0;s<o.length;s++)l[o[s]]=n(o[s]);return l}function Jn(e,t,n){return n[t]!=null?n[t]:e.props[t]}function T_(e,t){return pf(e.children,function(n){return R.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:Jn(n,"appear",e),enter:Jn(n,"enter",e),exit:Jn(n,"exit",e)})})}function O_(e,t,n){var r=pf(e.children),o=R_(t,r);return Object.keys(o).forEach(function(i){var s=o[i];if(R.isValidElement(s)){var l=i in t,a=i in r,u=t[i],c=R.isValidElement(u)&&!u.props.in;a&&(!l||c)?o[i]=R.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:Jn(s,"exit",e),enter:Jn(s,"enter",e)}):!a&&l&&!c?o[i]=R.cloneElement(s,{in:!1}):a&&l&&R.isValidElement(u)&&(o[i]=R.cloneElement(s,{onExited:n.bind(null,s),in:u.props.in,exit:Jn(s,"exit",e),enter:Jn(s,"enter",e)}))}}),o}var M_=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},$_={component:"div",childFactory:function(t){return t}},hf=function(e){E_(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=i.handleExited.bind(P_(i));return i.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},i}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var s=i.children,l=i.handleExited,a=i.firstRender;return{children:a?T_(o,l):O_(o,s,l),firstRender:!1}},n.handleExited=function(o,i){var s=pf(this.props.children);o.key in s||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(l){var a=j({},l.children);return delete a[o.key],{children:a}}))},n.render=function(){var o=this.props,i=o.component,s=o.childFactory,l=At(o,["component","childFactory"]),a=this.state.contextValue,u=M_(this.state.children).map(s);return delete l.appear,delete l.enter,delete l.exit,i===null?Qn.createElement(yp.Provider,{value:a},u):Qn.createElement(yp.Provider,{value:a},Qn.createElement(i,l,u))},t}(Qn.Component);hf.propTypes={};hf.defaultProps=$_;function L_(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:s,in:l,onExited:a,timeout:u}=e,[c,d]=R.useState(!1),f=vt(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),v={width:s,height:s,top:-(s/2)+i,left:-(s/2)+o},g=vt(n.child,c&&n.childLeaving,r&&n.childPulsate);return!l&&!c&&d(!0),R.useEffect(()=>{if(!l&&a!=null){const y=setTimeout(a,u);return()=>{clearTimeout(y)}}},[a,l,u]),M.jsx("span",{className:f,style:v,children:M.jsx("span",{className:g})})}const gt=sf("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),b_=["center","classes","className"];let ql=e=>e,vp,gp,Sp,wp;const Ku=550,I_=80,F_=Ml(vp||(vp=ql`
0% {
transform: scale(0);
opacity: 0.1;
}
100% {
transform: scale(1);
opacity: 0.3;
}
`)),z_=Ml(gp||(gp=ql`
0% {
opacity: 1;
}
100% {
opacity: 0;
}
`)),N_=Ml(Sp||(Sp=ql`
0% {
transform: scale(1);
}
50% {
transform: scale(0.92);
}
100% {
transform: scale(1);
}
`)),j_=mo("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),A_=mo(L_,{name:"MuiTouchRipple",slot:"Ripple"})(wp||(wp=ql`
opacity: 0;
position: absolute;
&.${0} {
opacity: 0.3;
transform: scale(1);
animation-name: ${0};
animation-duration: ${0}ms;
animation-timing-function: ${0};
}
&.${0} {
animation-duration: ${0}ms;
}
& .${0} {
opacity: 1;
display: block;
width: 100%;
height: 100%;
border-radius: 50%;
background-color: currentColor;
}
& .${0} {
opacity: 0;
animation-name: ${0};
animation-duration: ${0}ms;
animation-timing-function: ${0};
}
& .${0} {
position: absolute;
/* @noflip */
left: 0px;
top: 0;
animation-name: ${0};
animation-duration: 2500ms;
animation-timing-function: ${0};
animation-iteration-count: infinite;
animation-delay: 200ms;
}
`),gt.rippleVisible,F_,Ku,({theme:e})=>e.transitions.easing.easeInOut,gt.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,gt.child,gt.childLeaving,z_,Ku,({theme:e})=>e.transitions.easing.easeInOut,gt.childPulsate,N_,({theme:e})=>e.transitions.easing.easeInOut),D_=R.forwardRef(function(t,n){const r=df({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s}=r,l=At(r,b_),[a,u]=R.useState([]),c=R.useRef(0),d=R.useRef(null);R.useEffect(()=>{d.current&&(d.current(),d.current=null)},[a]);const f=R.useRef(!1),v=ok(),g=R.useRef(null),y=R.useRef(null),k=R.useCallback(S=>{const{pulsate:w,rippleX:C,rippleY:x,rippleSize:_,cb:b}=S;u(O=>[...O,M.jsx(A_,{classes:{ripple:vt(i.ripple,gt.ripple),rippleVisible:vt(i.rippleVisible,gt.rippleVisible),ripplePulsate:vt(i.ripplePulsate,gt.ripplePulsate),child:vt(i.child,gt.child),childLeaving:vt(i.childLeaving,gt.childLeaving),childPulsate:vt(i.childPulsate,gt.childPulsate)},timeout:Ku,pulsate:w,rippleX:C,rippleY:x,rippleSize:_},c.current)]),c.current+=1,d.current=b},[i]),p=R.useCallback((S={},w={},C=()=>{})=>{const{pulsate:x=!1,center:_=o||w.pulsate,fakeElement:b=!1}=w;if((S==null?void 0:S.type)==="mousedown"&&f.current){f.current=!1;return}(S==null?void 0:S.type)==="touchstart"&&(f.current=!0);const O=b?null:y.current,F=O?O.getBoundingClientRect():{width:0,height:0,left:0,top:0};let z,N,V;if(_||S===void 0||S.clientX===0&&S.clientY===0||!S.clientX&&!S.touches)z=Math.round(F.width/2),N=Math.round(F.height/2);else{const{clientX:X,clientY:K}=S.touches&&S.touches.length>0?S.touches[0]:S;z=Math.round(X-F.left),N=Math.round(K-F.top)}if(_)V=Math.sqrt((2*F.width**2+F.height**2)/3),V%2===0&&(V+=1);else{const X=Math.max(Math.abs((O?O.clientWidth:0)-z),z)*2+2,K=Math.max(Math.abs((O?O.clientHeight:0)-N),N)*2+2;V=Math.sqrt(X**2+K**2)}S!=null&&S.touches?g.current===null&&(g.current=()=>{k({pulsate:x,rippleX:z,rippleY:N,rippleSize:V,cb:C})},v.start(I_,()=>{g.current&&(g.current(),g.current=null)})):k({pulsate:x,rippleX:z,rippleY:N,rippleSize:V,cb:C})},[o,k,v]),h=R.useCallback(()=>{p({},{pulsate:!0})},[p]),m=R.useCallback((S,w)=>{if(v.clear(),(S==null?void 0:S.type)==="touchend"&&g.current){g.current(),g.current=null,v.start(0,()=>{m(S,w)});return}g.current=null,u(C=>C.length>0?C.slice(1):C),d.current=w},[v]);return R.useImperativeHandle(n,()=>({pulsate:h,start:p,stop:m}),[h,p,m]),M.jsx(j_,j({className:vt(gt.root,i.root,s),ref:y},l,{children:M.jsx(hf,{component:null,exit:!0,children:a})}))});function B_(e){return of("MuiButtonBase",e)}const U_=sf("MuiButtonBase",["root","disabled","focusVisible"]),V_=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],W_=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=Y0({root:["root",t&&"disabled",n&&"focusVisible"]},B_,o);return n&&r&&(s.root+=` ${r}`),s},H_=mo("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${U_.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),K_=R.forwardRef(function(t,n){const r=df({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:l,component:a="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:v="a",onBlur:g,onClick:y,onContextMenu:k,onDragLeave:p,onFocus:h,onFocusVisible:m,onKeyDown:S,onKeyUp:w,onMouseDown:C,onMouseLeave:x,onMouseUp:_,onTouchEnd:b,onTouchMove:O,onTouchStart:F,tabIndex:z=0,TouchRippleProps:N,touchRippleRef:V,type:X}=r,K=At(r,V_),we=R.useRef(null),P=R.useRef(null),L=ip(P,V),{isFocusVisibleRef:I,onFocus:B,onBlur:W,ref:ee}=dk(),[te,rt]=R.useState(!1);u&&te&&rt(!1),R.useImperativeHandle(o,()=>({focusVisible:()=>{rt(!0),we.current.focus()}}),[]);const[xe,De]=R.useState(!1);R.useEffect(()=>{De(!0)},[]);const Ge=xe&&!c&&!u;R.useEffect(()=>{te&&f&&!c&&xe&&P.current.pulsate()},[c,f,te,xe]);function fe(A,yf,Sy=d){return Gi(vf=>(yf&&yf(vf),!Sy&&P.current&&P.current[A](vf),!0))}const Ot=fe("start",C),de=fe("stop",k),ne=fe("stop",p),en=fe("stop",_),yo=fe("stop",A=>{te&&A.preventDefault(),x&&x(A)}),Yl=fe("start",F),Jl=fe("stop",b),Zl=fe("stop",O),ea=fe("stop",A=>{W(A),I.current===!1&&rt(!1),g&&g(A)},!1),ta=Gi(A=>{we.current||(we.current=A.currentTarget),B(A),I.current===!0&&(rt(!0),m&&m(A)),h&&h(A)}),na=()=>{const A=we.current;return a&&a!=="button"&&!(A.tagName==="A"&&A.href)},ra=R.useRef(!1),my=Gi(A=>{f&&!ra.current&&te&&P.current&&A.key===" "&&(ra.current=!0,P.current.stop(A,()=>{P.current.start(A)})),A.target===A.currentTarget&&na()&&A.key===" "&&A.preventDefault(),S&&S(A),A.target===A.currentTarget&&na()&&A.key==="Enter"&&!u&&(A.preventDefault(),y&&y(A))}),yy=Gi(A=>{f&&A.key===" "&&P.current&&te&&!A.defaultPrevented&&(ra.current=!1,P.current.stop(A,()=>{P.current.pulsate(A)})),w&&w(A),y&&A.target===A.currentTarget&&na()&&A.key===" "&&!A.defaultPrevented&&y(A)});let Pi=a;Pi==="button"&&(K.href||K.to)&&(Pi=v);const vo={};Pi==="button"?(vo.type=X===void 0?"button":X,vo.disabled=u):(!K.href&&!K.to&&(vo.role="button"),u&&(vo["aria-disabled"]=u));const vy=ip(n,ee,we),mf=j({},r,{centerRipple:i,component:a,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:z,focusVisible:te}),gy=W_(mf);return M.jsxs(H_,j({as:Pi,className:vt(gy.root,l),ownerState:mf,onBlur:ea,onClick:y,onContextMenu:de,onFocus:ta,onKeyDown:my,onKeyUp:yy,onMouseDown:Ot,onMouseLeave:yo,onMouseUp:en,onDragLeave:ne,onTouchEnd:Jl,onTouchMove:Zl,onTouchStart:Yl,ref:vy,tabIndex:u?-1:z,type:X},vo,K,{children:[s,Ge?M.jsx(D_,j({ref:L,center:i},N)):null]}))});function Q_(e){return of("MuiButton",e)}const Yi=sf("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),G_=R.createContext({}),q_=R.createContext(void 0),X_=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Y_=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:s}=e,l={root:["root",i,`${i}${Ye(t)}`,`size${Ye(o)}`,`${i}Size${Ye(o)}`,`color${Ye(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Ye(o)}`],endIcon:["icon","endIcon",`iconSize${Ye(o)}`]},a=Y0(l,Q_,s);return j({},s,a)},ay=e=>j({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),J_=mo(K_,{shouldForwardProp:e=>ly(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Ye(n.color)}`],t[`size${Ye(n.size)}`],t[`${n.variant}Size${Ye(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return j({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":j({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:qi(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:qi(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:qi(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":j({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Yi.focusVisible}`]:j({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Yi.disabled}`]:j({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${qi(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Yi.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Yi.disabled}`]:{boxShadow:"none"}}),Z_=mo("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Ye(n.size)}`]]}})(({ownerState:e})=>j({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},ay(e))),eC=mo("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Ye(n.size)}`]]}})(({ownerState:e})=>j({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},ay(e))),xp=R.forwardRef(function(t,n){const r=R.useContext(G_),o=R.useContext(q_),i=Qs(r,t),s=df({props:i,name:"MuiButton"}),{children:l,color:a="primary",component:u="button",className:c,disabled:d=!1,disableElevation:f=!1,disableFocusRipple:v=!1,endIcon:g,focusVisibleClassName:y,fullWidth:k=!1,size:p="medium",startIcon:h,type:m,variant:S="text"}=s,w=At(s,X_),C=j({},s,{color:a,component:u,disabled:d,disableElevation:f,disableFocusRipple:v,fullWidth:k,size:p,type:m,variant:S}),x=Y_(C),_=h&&M.jsx(Z_,{className:x.startIcon,ownerState:C,children:h}),b=g&&M.jsx(eC,{className:x.endIcon,ownerState:C,children:g}),O=o||"";return M.jsxs(J_,j({ownerState:C,className:vt(r.className,x.root,c,O),component:u,disabled:d,focusRipple:!v,focusVisibleClassName:vt(x.focusVisible,y),ref:n,type:m},w,{classes:x,children:[_,l,b]}))}),kp="https://khofmann.userpage.fu-berlin.de/phpCourse/exam/api/";let _p;class tC{constructor(){if(this.token="",this.logIn=async(t,n)=>{const{user:r,token:o}=await(await this.post("login",{email:t,password:n})).json();return this.token=o,r},this.logOut=async()=>await(await this.postAuth("logout")).json(),this.post=async(t,n=void 0,r=void 0)=>{const o=await fetch(`${kp}${t}`,{mode:"cors",method:"post",headers:r,body:JSON.stringify(n)});if(o.ok)return o;throw await o.json()},this.postAuth=async(t,n=void 0,r=void 0)=>{const o=await fetch(`${kp}${t}`,{mode:"cors",method:"post",headers:{token:this.token,...r},body:JSON.stringify(n)});if(o.ok)return o;throw await o.json()},_p)throw new Error("New instance cannot be created!!");_p=this}}const Cp=new tC;var nC={BASE_URL:"/phpCourse/exam/dist",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const Ep=e=>{let t;const n=new Set,r=(c,d)=>{const f=typeof c=="function"?c(t):c;if(!Object.is(f,t)){const v=t;t=d??(typeof f!="object"||f===null)?f:Object.assign({},t,f),n.forEach(g=>g(t,v))}},o=()=>t,a={setState:r,getState:o,getInitialState:()=>u,subscribe:c=>(n.add(c),()=>n.delete(c)),destroy:()=>{(nC?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},u=t=e(r,o,a);return a},rC=e=>e?Ep(e):Ep;var uy={exports:{}},cy={},fy={exports:{}},dy={};/**
* @license React
* use-sync-external-store-shim.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 lo=R;function oC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var iC=typeof Object.is=="function"?Object.is:oC,sC=lo.useState,lC=lo.useEffect,aC=lo.useLayoutEffect,uC=lo.useDebugValue;function cC(e,t){var n=t(),r=sC({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return aC(function(){o.value=n,o.getSnapshot=t,Ba(o)&&i({inst:o})},[e,n,t]),lC(function(){return Ba(o)&&i({inst:o}),e(function(){Ba(o)&&i({inst:o})})},[e]),uC(n),n}function Ba(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!iC(e,n)}catch{return!0}}function fC(e,t){return t()}var dC=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?fC:cC;dy.useSyncExternalStore=lo.useSyncExternalStore!==void 0?lo.useSyncExternalStore:dC;fy.exports=dy;var pC=fy.exports;/**
* @license React
* use-sync-external-store-shim/with-selector.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 Xl=R,hC=pC;function mC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var yC=typeof Object.is=="function"?Object.is:mC,vC=hC.useSyncExternalStore,gC=Xl.useRef,SC=Xl.useEffect,wC=Xl.useMemo,xC=Xl.useDebugValue;cy.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=gC(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=wC(function(){function a(v){if(!u){if(u=!0,c=v,v=r(v),o!==void 0&&s.hasValue){var g=s.value;if(o(g,v))return d=g}return d=v}if(g=d,yC(c,v))return g;var y=r(v);return o!==void 0&&o(g,y)?g:(c=v,d=y)}var u=!1,c,d,f=n===void 0?null:n;return[function(){return a(t())},f===null?void 0:function(){return a(f())}]},[t,n,r,o]);var l=vC(e,i[0],i[1]);return SC(function(){s.hasValue=!0,s.value=l},[l]),xC(l),l};uy.exports=cy;var kC=uy.exports;const _C=zp(kC);var py={BASE_URL:"/phpCourse/exam/dist",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{useDebugValue:CC}=Qn,{useSyncExternalStoreWithSelector:EC}=_C;let Pp=!1;const PC=e=>e;function RC(e,t=PC,n){(py?"production":void 0)!=="production"&&n&&!Pp&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),Pp=!0);const r=EC(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return CC(r),r}const TC=e=>{(py?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?rC(e):e,n=(r,o)=>RC(t,r,o);return Object.assign(n,t),n},OC=e=>TC;var Ua={BASE_URL:"/phpCourse/exam/dist",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const Qu=new Map,Ji=e=>{const t=Qu.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([n,r])=>[n,r.getState()])):{}},MC=(e,t,n)=>{if(e===void 0)return{type:"untracked",connection:t.connect(n)};const r=Qu.get(n.name);if(r)return{type:"tracked",store:e,...r};const o={connection:t.connect(n),stores:{}};return Qu.set(n.name,o),{type:"tracked",store:e,...o}},$C=(e,t={})=>(n,r,o)=>{const{enabled:i,anonymousActionType:s,store:l,...a}=t;let u;try{u=(i??(Ua?"production":void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!u)return(Ua?"production":void 0)!=="production"&&i&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(n,r,o);const{connection:c,...d}=MC(l,u,a);let f=!0;o.setState=(y,k,p)=>{const h=n(y,k);if(!f)return h;const m=p===void 0?{type:s||"anonymous"}:typeof p=="string"?{type:p}:p;return l===void 0?(c==null||c.send(m,r()),h):(c==null||c.send({...m,type:`${l}/${m.type}`},{...Ji(a.name),[l]:o.getState()}),h)};const v=(...y)=>{const k=f;f=!1,n(...y),f=k},g=e(o.setState,r,o);if(d.type==="untracked"?c==null||c.init(g):(d.stores[d.store]=o,c==null||c.init(Object.fromEntries(Object.entries(d.stores).map(([y,k])=>[y,y===d.store?g:k.getState()])))),o.dispatchFromDevtools&&typeof o.dispatch=="function"){let y=!1;const k=o.dispatch;o.dispatch=(...p)=>{(Ua?"production":void 0)!=="production"&&p[0].type==="__setState"&&!y&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),y=!0),k(...p)}}return c.subscribe(y=>{var k;switch(y.type){case"ACTION":if(typeof y.payload!="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return Va(y.payload,p=>{if(p.type==="__setState"){if(l===void 0){v(p.state);return}Object.keys(p.state).length!==1&&console.error(`
[zustand devtools middleware] Unsupported __setState action format.
When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),
and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }
`);const h=p.state[l];if(h==null)return;JSON.stringify(o.getState())!==JSON.stringify(h)&&v(h);return}o.dispatchFromDevtools&&typeof o.dispatch=="function"&&o.dispatch(p)});case"DISPATCH":switch(y.payload.type){case"RESET":return v(g),l===void 0?c==null?void 0:c.init(o.getState()):c==null?void 0:c.init(Ji(a.name));case"COMMIT":if(l===void 0){c==null||c.init(o.getState());return}return c==null?void 0:c.init(Ji(a.name));case"ROLLBACK":return Va(y.state,p=>{if(l===void 0){v(p),c==null||c.init(o.getState());return}v(p[l]),c==null||c.init(Ji(a.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return Va(y.state,p=>{if(l===void 0){v(p);return}JSON.stringify(o.getState())!==JSON.stringify(p[l])&&v(p[l])});case"IMPORT_STATE":{const{nextLiftedState:p}=y.payload,h=(k=p.computedStates.slice(-1)[0])==null?void 0:k.state;if(!h)return;v(l===void 0?h:h[l]),c==null||c.send(null,p);return}case"PAUSE_RECORDING":return f=!f}return}}),g},LC=$C,Va=(e,t)=>{let n;try{n=JSON.parse(e)}catch(r){console.error("[zustand devtools middleware] Could not parse the received json",r)}n!==void 0&&t(n)},bC=OC()(LC(e=>({user:void 0,setUser:t=>e(()=>({user:t}))}))),IC=hg("/")({component:FC});function FC(){const e=bC(t=>t.setUser);return M.jsxs(M.Fragment,{children:[M.jsx(xp,{onClick:async()=>{try{e(await Cp.logIn("max@moritz.net","max"))}catch(t){console.log(t)}},children:"Log In"}),M.jsx(xp,{onClick:async()=>{try{await Cp.logOut(),e(void 0)}catch(t){console.log(t)}},children:"Log Out"})]})}const zC=IC.update({path:"/",getParentRoute:()=>g0}),NC=g0.addChildren({IndexRoute:zC}),hy=new uv,jC=Zv({routeTree:NC,context:{queryClient:hy},defaultPreload:"intent",defaultPreloadStaleTime:0,basepath:"/phpCourse/exam"}),Rp=document.getElementById("root");Rp.innerHTML||ju.createRoot(Rp).render(M.jsx(R.StrictMode,{children:M.jsxs(fv,{client:hy,children:[M.jsx(OS,{router:jC}),M.jsx(MS,{initialIsOpen:!1})]})}));