PHP-Course/exam/dist/assets/vendor_react-BnzSvkeI.js

73 lines
283 KiB
JavaScript

var dm=Object.defineProperty;var pm=(e,t,n)=>t in e?dm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Du=(e,t,n)=>pm(e,typeof t!="symbol"?t+"":t,n);import{c as Hf}from"./vendor_mui-DqRwP0O9.js";function Vf(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Rr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Oa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Yt(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 i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var Wf={exports:{}},Do={},Kf={exports:{}},I={};/**
* @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 ci=Symbol.for("react.element"),hm=Symbol.for("react.portal"),mm=Symbol.for("react.fragment"),gm=Symbol.for("react.strict_mode"),ym=Symbol.for("react.profiler"),vm=Symbol.for("react.provider"),wm=Symbol.for("react.context"),Sm=Symbol.for("react.forward_ref"),xm=Symbol.for("react.suspense"),km=Symbol.for("react.memo"),Em=Symbol.for("react.lazy"),zu=Symbol.iterator;function Cm(e){return e===null||typeof e!="object"?null:(e=zu&&e[zu]||e["@@iterator"],typeof e=="function"?e:null)}var Qf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Gf=Object.assign,qf={};function or(e,t,n){this.props=e,this.context=t,this.refs=qf,this.updater=n||Qf}or.prototype.isReactComponent={};or.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")};or.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Xf(){}Xf.prototype=or.prototype;function _a(e,t,n){this.props=e,this.context=t,this.refs=qf,this.updater=n||Qf}var Ta=_a.prototype=new Xf;Ta.constructor=_a;Gf(Ta,or.prototype);Ta.isPureReactComponent=!0;var Uu=Array.isArray,Yf=Object.prototype.hasOwnProperty,Ra={current:null},Jf={key:!0,ref:!0,__self:!0,__source:!0};function Zf(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)Yf.call(t,r)&&!Jf.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){for(var a=Array(l),u=0;u<l;u++)a[u]=arguments[u+2];i.children=a}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)i[r]===void 0&&(i[r]=l[r]);return{$$typeof:ci,type:e,key:o,ref:s,props:i,_owner:Ra.current}}function Pm(e,t){return{$$typeof:ci,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Na(e){return typeof e=="object"&&e!==null&&e.$$typeof===ci}function Om(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Bu=/\/+/g;function Fs(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Om(""+e.key):t.toString(36)}function Bi(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case ci:case hm:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+Fs(s,0):r,Uu(i)?(n="",e!=null&&(n=e.replace(Bu,"$&/")+"/"),Bi(i,t,n,"",function(u){return u})):i!=null&&(Na(i)&&(i=Pm(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(Bu,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",Uu(e))for(var l=0;l<e.length;l++){o=e[l];var a=r+Fs(o,l);s+=Bi(o,t,n,a,i)}else if(a=Cm(e),typeof a=="function")for(e=a.call(e),l=0;!(o=e.next()).done;)o=o.value,a=r+Fs(o,l++),s+=Bi(o,t,n,a,i);else if(o==="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 Si(e,t,n){if(e==null)return e;var r=[],i=0;return Bi(e,r,"","",function(o){return t.call(n,o,i++)}),r}function _m(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 Te={current:null},Hi={transition:null},Tm={ReactCurrentDispatcher:Te,ReactCurrentBatchConfig:Hi,ReactCurrentOwner:Ra};function ed(){throw Error("act(...) is not supported in production builds of React.")}I.Children={map:Si,forEach:function(e,t,n){Si(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Si(e,function(){t++}),t},toArray:function(e){return Si(e,function(t){return t})||[]},only:function(e){if(!Na(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};I.Component=or;I.Fragment=mm;I.Profiler=ym;I.PureComponent=_a;I.StrictMode=gm;I.Suspense=xm;I.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tm;I.act=ed;I.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=Gf({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=Ra.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)Yf.call(t,a)&&!Jf.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:ci,type:e.type,key:i,ref:o,props:r,_owner:s}};I.createContext=function(e){return e={$$typeof:wm,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:vm,_context:e},e.Consumer=e};I.createElement=Zf;I.createFactory=function(e){var t=Zf.bind(null,e);return t.type=e,t};I.createRef=function(){return{current:null}};I.forwardRef=function(e){return{$$typeof:Sm,render:e}};I.isValidElement=Na;I.lazy=function(e){return{$$typeof:Em,_payload:{_status:-1,_result:e},_init:_m}};I.memo=function(e,t){return{$$typeof:km,type:e,compare:t===void 0?null:t}};I.startTransition=function(e){var t=Hi.transition;Hi.transition={};try{e()}finally{Hi.transition=t}};I.unstable_act=ed;I.useCallback=function(e,t){return Te.current.useCallback(e,t)};I.useContext=function(e){return Te.current.useContext(e)};I.useDebugValue=function(){};I.useDeferredValue=function(e){return Te.current.useDeferredValue(e)};I.useEffect=function(e,t){return Te.current.useEffect(e,t)};I.useId=function(){return Te.current.useId()};I.useImperativeHandle=function(e,t,n){return Te.current.useImperativeHandle(e,t,n)};I.useInsertionEffect=function(e,t){return Te.current.useInsertionEffect(e,t)};I.useLayoutEffect=function(e,t){return Te.current.useLayoutEffect(e,t)};I.useMemo=function(e,t){return Te.current.useMemo(e,t)};I.useReducer=function(e,t,n){return Te.current.useReducer(e,t,n)};I.useRef=function(e){return Te.current.useRef(e)};I.useState=function(e){return Te.current.useState(e)};I.useSyncExternalStore=function(e,t,n){return Te.current.useSyncExternalStore(e,t,n)};I.useTransition=function(){return Te.current.useTransition()};I.version="18.3.1";Kf.exports=I;var b=Kf.exports;const gt=Oa(b),yl=Vf({__proto__:null,default:gt},[b]);/**
* @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 Rm=b,Nm=Symbol.for("react.element"),Lm=Symbol.for("react.fragment"),$m=Object.prototype.hasOwnProperty,bm=Rm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,jm={key:!0,ref:!0,__self:!0,__source:!0};function td(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)$m.call(t,r)&&!jm.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Nm,type:e,key:o,ref:s,props:i,_owner:bm.current}}Do.Fragment=Lm;Do.jsx=td;Do.jsxs=td;Wf.exports=Do;var sr=Wf.exports,Am="Invariant failed";function ZS(e,t){if(!e)throw new Error(Am)}function ex(e,t){}var nd={exports:{}},rd={},id={exports:{}},od={};/**
* @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 qn=b;function Mm(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Im=typeof Object.is=="function"?Object.is:Mm,Fm=qn.useState,Dm=qn.useEffect,zm=qn.useLayoutEffect,Um=qn.useDebugValue;function Bm(e,t){var n=t(),r=Fm({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return zm(function(){i.value=n,i.getSnapshot=t,Ds(i)&&o({inst:i})},[e,n,t]),Dm(function(){return Ds(i)&&o({inst:i}),e(function(){Ds(i)&&o({inst:i})})},[e]),Um(n),n}function Ds(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Im(e,n)}catch{return!0}}function Hm(e,t){return t()}var Vm=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Hm:Bm;od.useSyncExternalStore=qn.useSyncExternalStore!==void 0?qn.useSyncExternalStore:Vm;id.exports=od;var Wm=id.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 zo=b,Km=Wm;function Qm(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Gm=typeof Object.is=="function"?Object.is:Qm,qm=Km.useSyncExternalStore,Xm=zo.useRef,Ym=zo.useEffect,Jm=zo.useMemo,Zm=zo.useDebugValue;rd.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=Xm(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=Jm(function(){function a(y){if(!u){if(u=!0,f=y,y=r(y),i!==void 0&&s.hasValue){var g=s.value;if(i(g,y))return d=g}return d=y}if(g=d,Gm(f,y))return g;var v=r(y);return i!==void 0&&i(g,v)?g:(f=y,d=v)}var u=!1,f,d,c=n===void 0?null:n;return[function(){return a(t())},c===null?void 0:function(){return a(c())}]},[t,n,r,i]);var l=qm(e,o[0],o[1]);return Ym(function(){s.hasValue=!0,s.value=l},[l]),Zm(l),l};nd.exports=rd;var tx=nd.exports,sd={exports:{}},He={},ld={exports:{}},ad={};/**
* @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(E,N){var R=E.length;E.push(N);e:for(;0<R;){var B=R-1>>>1,se=E[B];if(0<i(se,N))E[B]=N,E[R]=se,R=B;else break e}}function n(E){return E.length===0?null:E[0]}function r(E){if(E.length===0)return null;var N=E[0],R=E.pop();if(R!==N){E[0]=R;e:for(var B=0,se=E.length,me=se>>>1;B<me;){var Ke=2*(B+1)-1,Is=E[Ke],nn=Ke+1,wi=E[nn];if(0>i(Is,R))nn<se&&0>i(wi,Is)?(E[B]=wi,E[nn]=R,B=nn):(E[B]=Is,E[Ke]=R,B=Ke);else if(nn<se&&0>i(wi,R))E[B]=wi,E[nn]=R,B=nn;else break e}}return N}function i(E,N){var R=E.sortIndex-N.sortIndex;return R!==0?R:E.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],f=1,d=null,c=3,y=!1,g=!1,v=!1,_=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(E){for(var N=n(u);N!==null;){if(N.callback===null)r(u);else if(N.startTime<=E)r(u),N.sortIndex=N.expirationTime,t(a,N);else break;N=n(u)}}function S(E){if(v=!1,m(E),!g)if(n(a)!==null)g=!0,P(x);else{var N=n(u);N!==null&&A(S,N.startTime-E)}}function x(E,N){g=!1,v&&(v=!1,h(T),T=-1),y=!0;var R=c;try{for(m(N),d=n(a);d!==null&&(!(d.expirationTime>N)||E&&!M());){var B=d.callback;if(typeof B=="function"){d.callback=null,c=d.priorityLevel;var se=B(d.expirationTime<=N);N=e.unstable_now(),typeof se=="function"?d.callback=se:d===n(a)&&r(a),m(N)}else r(a);d=n(a)}if(d!==null)var me=!0;else{var Ke=n(u);Ke!==null&&A(S,Ke.startTime-N),me=!1}return me}finally{d=null,c=R,y=!1}}var C=!1,k=null,T=-1,j=5,$=-1;function M(){return!(e.unstable_now()-$<j)}function U(){if(k!==null){var E=e.unstable_now();$=E;var N=!0;try{N=k(!0,E)}finally{N?Pe():(C=!1,k=null)}}else C=!1}var Pe;if(typeof p=="function")Pe=function(){p(U)};else if(typeof MessageChannel<"u"){var he=new MessageChannel,w=he.port2;he.port1.onmessage=U,Pe=function(){w.postMessage(null)}}else Pe=function(){_(U,0)};function P(E){k=E,C||(C=!0,Pe())}function A(E,N){T=_(function(){E(e.unstable_now())},N)}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(E){E.callback=null},e.unstable_continueExecution=function(){g||y||(g=!0,P(x))},e.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<E?Math.floor(1e3/E):5},e.unstable_getCurrentPriorityLevel=function(){return c},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(E){switch(c){case 1:case 2:case 3:var N=3;break;default:N=c}var R=c;c=N;try{return E()}finally{c=R}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(E,N){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var R=c;c=E;try{return N()}finally{c=R}},e.unstable_scheduleCallback=function(E,N,R){var B=e.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0<R?B+R:B):R=B,E){case 1:var se=-1;break;case 2:se=250;break;case 5:se=1073741823;break;case 4:se=1e4;break;default:se=5e3}return se=R+se,E={id:f++,callback:N,priorityLevel:E,startTime:R,expirationTime:se,sortIndex:-1},R>B?(E.sortIndex=R,t(u,E),n(a)===null&&E===n(u)&&(v?(h(T),T=-1):v=!0,A(S,R-B))):(E.sortIndex=se,t(a,E),g||y||(g=!0,P(x))),E},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(E){var N=c;return function(){var R=c;c=N;try{return E.apply(this,arguments)}finally{c=R}}}})(ad);ld.exports=ad;var eg=ld.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 tg=b,Be=eg;function O(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 ud=new Set,Ur={};function xn(e,t){Xn(e,t),Xn(e+"Capture",t)}function Xn(e,t){for(Ur[e]=t,e=0;e<t.length;e++)ud.add(t[e])}var _t=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vl=Object.prototype.hasOwnProperty,ng=/^[: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]*$/,Hu={},Vu={};function rg(e){return vl.call(Vu,e)?!0:vl.call(Hu,e)?!1:ng.test(e)?Vu[e]=!0:(Hu[e]=!0,!1)}function ig(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 og(e,t,n,r){if(t===null||typeof t>"u"||ig(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 Re(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var we={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){we[e]=new Re(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];we[t]=new Re(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){we[e]=new Re(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){we[e]=new Re(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){we[e]=new Re(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){we[e]=new Re(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){we[e]=new Re(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){we[e]=new Re(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){we[e]=new Re(e,5,!1,e.toLowerCase(),null,!1,!1)});var La=/[\-:]([a-z])/g;function $a(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(La,$a);we[t]=new Re(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(La,$a);we[t]=new Re(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(La,$a);we[t]=new Re(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){we[e]=new Re(e,1,!1,e.toLowerCase(),null,!1,!1)});we.xlinkHref=new Re("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){we[e]=new Re(e,1,!1,e.toLowerCase(),null,!0,!0)});function ba(e,t,n,r){var i=we.hasOwnProperty(t)?we[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(og(t,n,i,r)&&(n=null),r||i===null?rg(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var $t=tg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,xi=Symbol.for("react.element"),Rn=Symbol.for("react.portal"),Nn=Symbol.for("react.fragment"),ja=Symbol.for("react.strict_mode"),wl=Symbol.for("react.profiler"),cd=Symbol.for("react.provider"),fd=Symbol.for("react.context"),Aa=Symbol.for("react.forward_ref"),Sl=Symbol.for("react.suspense"),xl=Symbol.for("react.suspense_list"),Ma=Symbol.for("react.memo"),jt=Symbol.for("react.lazy"),dd=Symbol.for("react.offscreen"),Wu=Symbol.iterator;function dr(e){return e===null||typeof e!="object"?null:(e=Wu&&e[Wu]||e["@@iterator"],typeof e=="function"?e:null)}var Z=Object.assign,zs;function Cr(e){if(zs===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);zs=t&&t[1]||""}return`
`+zs+e}var Us=!1;function Bs(e,t){if(!e||Us)return"";Us=!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 i=u.stack.split(`
`),o=r.stack.split(`
`),s=i.length-1,l=o.length-1;1<=s&&0<=l&&i[s]!==o[l];)l--;for(;1<=s&&0<=l;s--,l--)if(i[s]!==o[l]){if(s!==1||l!==1)do if(s--,l--,0>l||i[s]!==o[l]){var a=`
`+i[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{Us=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Cr(e):""}function sg(e){switch(e.tag){case 5:return Cr(e.type);case 16:return Cr("Lazy");case 13:return Cr("Suspense");case 19:return Cr("SuspenseList");case 0:case 2:case 15:return e=Bs(e.type,!1),e;case 11:return e=Bs(e.type.render,!1),e;case 1:return e=Bs(e.type,!0),e;default:return""}}function kl(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 Nn:return"Fragment";case Rn:return"Portal";case wl:return"Profiler";case ja:return"StrictMode";case Sl:return"Suspense";case xl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case fd:return(e.displayName||"Context")+".Consumer";case cd:return(e._context.displayName||"Context")+".Provider";case Aa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ma:return t=e.displayName||null,t!==null?t:kl(e.type)||"Memo";case jt:t=e._payload,e=e._init;try{return kl(e(t))}catch{}}return null}function lg(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 kl(t);case 8:return t===ja?"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 qt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ag(e){var t=pd(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.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 ki(e){e._valueTracker||(e._valueTracker=ag(e))}function hd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=pd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function oo(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 El(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ku(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=qt(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 md(e,t){t=t.checked,t!=null&&ba(e,"checked",t,!1)}function Cl(e,t){md(e,t);var n=qt(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")?Pl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Pl(e,t.type,qt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Qu(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 Pl(e,t,n){(t!=="number"||oo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Pr=Array.isArray;function Un(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+qt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ol(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(O(91));return Z({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Gu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(O(92));if(Pr(n)){if(1<n.length)throw Error(O(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:qt(n)}}function gd(e,t){var n=qt(t.value),r=qt(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 qu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function yd(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 _l(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?yd(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ei,vd=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ei=Ei||document.createElement("div"),Ei.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ei.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Br(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Nr={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},ug=["Webkit","ms","Moz","O"];Object.keys(Nr).forEach(function(e){ug.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Nr[t]=Nr[e]})});function wd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Nr.hasOwnProperty(e)&&Nr[e]?(""+t).trim():t+"px"}function Sd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=wd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var cg=Z({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 Tl(e,t){if(t){if(cg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function Rl(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 Nl=null;function Ia(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ll=null,Bn=null,Hn=null;function Xu(e){if(e=pi(e)){if(typeof Ll!="function")throw Error(O(280));var t=e.stateNode;t&&(t=Wo(t),Ll(e.stateNode,e.type,t))}}function xd(e){Bn?Hn?Hn.push(e):Hn=[e]:Bn=e}function kd(){if(Bn){var e=Bn,t=Hn;if(Hn=Bn=null,Xu(e),t)for(e=0;e<t.length;e++)Xu(t[e])}}function Ed(e,t){return e(t)}function Cd(){}var Hs=!1;function Pd(e,t,n){if(Hs)return e(t,n);Hs=!0;try{return Ed(e,t,n)}finally{Hs=!1,(Bn!==null||Hn!==null)&&(Cd(),kd())}}function Hr(e,t){var n=e.stateNode;if(n===null)return null;var r=Wo(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(O(231,t,typeof n));return n}var $l=!1;if(_t)try{var pr={};Object.defineProperty(pr,"passive",{get:function(){$l=!0}}),window.addEventListener("test",pr,pr),window.removeEventListener("test",pr,pr)}catch{$l=!1}function fg(e,t,n,r,i,o,s,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(f){this.onError(f)}}var Lr=!1,so=null,lo=!1,bl=null,dg={onError:function(e){Lr=!0,so=e}};function pg(e,t,n,r,i,o,s,l,a){Lr=!1,so=null,fg.apply(dg,arguments)}function hg(e,t,n,r,i,o,s,l,a){if(pg.apply(this,arguments),Lr){if(Lr){var u=so;Lr=!1,so=null}else throw Error(O(198));lo||(lo=!0,bl=u)}}function kn(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 Od(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 Yu(e){if(kn(e)!==e)throw Error(O(188))}function mg(e){var t=e.alternate;if(!t){if(t=kn(e),t===null)throw Error(O(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Yu(i),e;if(o===r)return Yu(i),t;o=o.sibling}throw Error(O(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,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){for(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)throw Error(O(189))}}if(n.alternate!==r)throw Error(O(190))}if(n.tag!==3)throw Error(O(188));return n.stateNode.current===n?e:t}function _d(e){return e=mg(e),e!==null?Td(e):null}function Td(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Td(e);if(t!==null)return t;e=e.sibling}return null}var Rd=Be.unstable_scheduleCallback,Ju=Be.unstable_cancelCallback,gg=Be.unstable_shouldYield,yg=Be.unstable_requestPaint,re=Be.unstable_now,vg=Be.unstable_getCurrentPriorityLevel,Fa=Be.unstable_ImmediatePriority,Nd=Be.unstable_UserBlockingPriority,ao=Be.unstable_NormalPriority,wg=Be.unstable_LowPriority,Ld=Be.unstable_IdlePriority,Uo=null,vt=null;function Sg(e){if(vt&&typeof vt.onCommitFiberRoot=="function")try{vt.onCommitFiberRoot(Uo,e,void 0,(e.current.flags&128)===128)}catch{}}var at=Math.clz32?Math.clz32:Eg,xg=Math.log,kg=Math.LN2;function Eg(e){return e>>>=0,e===0?32:31-(xg(e)/kg|0)|0}var Ci=64,Pi=4194304;function Or(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 uo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=Or(l):(o&=s,o!==0&&(r=Or(o)))}else s=n&~i,s!==0?r=Or(s):o!==0&&(r=Or(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&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-at(t),i=1<<n,r|=e[n],t&=~i;return r}function Cg(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 Pg(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-at(o),l=1<<s,a=i[s];a===-1?(!(l&n)||l&r)&&(i[s]=Cg(l,t)):a<=t&&(e.expiredLanes|=l),o&=~l}}function jl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function $d(){var e=Ci;return Ci<<=1,!(Ci&4194240)&&(Ci=64),e}function Vs(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function fi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-at(t),e[t]=n}function Og(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 i=31-at(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Da(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var H=0;function bd(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var jd,za,Ad,Md,Id,Al=!1,Oi=[],Ut=null,Bt=null,Ht=null,Vr=new Map,Wr=new Map,Mt=[],_g="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 Zu(e,t){switch(e){case"focusin":case"focusout":Ut=null;break;case"dragenter":case"dragleave":Bt=null;break;case"mouseover":case"mouseout":Ht=null;break;case"pointerover":case"pointerout":Vr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Wr.delete(t.pointerId)}}function hr(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=pi(t),t!==null&&za(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Tg(e,t,n,r,i){switch(t){case"focusin":return Ut=hr(Ut,e,t,n,r,i),!0;case"dragenter":return Bt=hr(Bt,e,t,n,r,i),!0;case"mouseover":return Ht=hr(Ht,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Vr.set(o,hr(Vr.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Wr.set(o,hr(Wr.get(o)||null,e,t,n,r,i)),!0}return!1}function Fd(e){var t=an(e.target);if(t!==null){var n=kn(t);if(n!==null){if(t=n.tag,t===13){if(t=Od(n),t!==null){e.blockedOn=t,Id(e.priority,function(){Ad(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 Vi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ml(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Nl=r,n.target.dispatchEvent(r),Nl=null}else return t=pi(n),t!==null&&za(t),e.blockedOn=n,!1;t.shift()}return!0}function ec(e,t,n){Vi(e)&&n.delete(t)}function Rg(){Al=!1,Ut!==null&&Vi(Ut)&&(Ut=null),Bt!==null&&Vi(Bt)&&(Bt=null),Ht!==null&&Vi(Ht)&&(Ht=null),Vr.forEach(ec),Wr.forEach(ec)}function mr(e,t){e.blockedOn===t&&(e.blockedOn=null,Al||(Al=!0,Be.unstable_scheduleCallback(Be.unstable_NormalPriority,Rg)))}function Kr(e){function t(i){return mr(i,e)}if(0<Oi.length){mr(Oi[0],e);for(var n=1;n<Oi.length;n++){var r=Oi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Ut!==null&&mr(Ut,e),Bt!==null&&mr(Bt,e),Ht!==null&&mr(Ht,e),Vr.forEach(t),Wr.forEach(t),n=0;n<Mt.length;n++)r=Mt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Mt.length&&(n=Mt[0],n.blockedOn===null);)Fd(n),n.blockedOn===null&&Mt.shift()}var Vn=$t.ReactCurrentBatchConfig,co=!0;function Ng(e,t,n,r){var i=H,o=Vn.transition;Vn.transition=null;try{H=1,Ua(e,t,n,r)}finally{H=i,Vn.transition=o}}function Lg(e,t,n,r){var i=H,o=Vn.transition;Vn.transition=null;try{H=4,Ua(e,t,n,r)}finally{H=i,Vn.transition=o}}function Ua(e,t,n,r){if(co){var i=Ml(e,t,n,r);if(i===null)el(e,t,r,fo,n),Zu(e,r);else if(Tg(i,e,t,n,r))r.stopPropagation();else if(Zu(e,r),t&4&&-1<_g.indexOf(e)){for(;i!==null;){var o=pi(i);if(o!==null&&jd(o),o=Ml(e,t,n,r),o===null&&el(e,t,r,fo,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else el(e,t,r,null,n)}}var fo=null;function Ml(e,t,n,r){if(fo=null,e=Ia(r),e=an(e),e!==null)if(t=kn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Od(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 fo=e,null}function Dd(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(vg()){case Fa:return 1;case Nd:return 4;case ao:case wg:return 16;case Ld:return 536870912;default:return 16}default:return 16}}var Dt=null,Ba=null,Wi=null;function zd(){if(Wi)return Wi;var e,t=Ba,n=t.length,r,i="value"in Dt?Dt.value:Dt.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return Wi=i.slice(e,1<r?1-r:void 0)}function Ki(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 _i(){return!0}function tc(){return!1}function Ve(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?_i:tc,this.isPropagationStopped=tc,this}return Z(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=_i)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=_i)},persist:function(){},isPersistent:_i}),t}var lr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ha=Ve(lr),di=Z({},lr,{view:0,detail:0}),$g=Ve(di),Ws,Ks,gr,Bo=Z({},di,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Va,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!==gr&&(gr&&e.type==="mousemove"?(Ws=e.screenX-gr.screenX,Ks=e.screenY-gr.screenY):Ks=Ws=0,gr=e),Ws)},movementY:function(e){return"movementY"in e?e.movementY:Ks}}),nc=Ve(Bo),bg=Z({},Bo,{dataTransfer:0}),jg=Ve(bg),Ag=Z({},di,{relatedTarget:0}),Qs=Ve(Ag),Mg=Z({},lr,{animationName:0,elapsedTime:0,pseudoElement:0}),Ig=Ve(Mg),Fg=Z({},lr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Dg=Ve(Fg),zg=Z({},lr,{data:0}),rc=Ve(zg),Ug={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bg={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"},Hg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Vg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Hg[e])?!!t[e]:!1}function Va(){return Vg}var Wg=Z({},di,{key:function(e){if(e.key){var t=Ug[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ki(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Bg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Va,charCode:function(e){return e.type==="keypress"?Ki(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ki(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Kg=Ve(Wg),Qg=Z({},Bo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ic=Ve(Qg),Gg=Z({},di,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Va}),qg=Ve(Gg),Xg=Z({},lr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Yg=Ve(Xg),Jg=Z({},Bo,{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}),Zg=Ve(Jg),ey=[9,13,27,32],Wa=_t&&"CompositionEvent"in window,$r=null;_t&&"documentMode"in document&&($r=document.documentMode);var ty=_t&&"TextEvent"in window&&!$r,Ud=_t&&(!Wa||$r&&8<$r&&11>=$r),oc=" ",sc=!1;function Bd(e,t){switch(e){case"keyup":return ey.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ln=!1;function ny(e,t){switch(e){case"compositionend":return Hd(t);case"keypress":return t.which!==32?null:(sc=!0,oc);case"textInput":return e=t.data,e===oc&&sc?null:e;default:return null}}function ry(e,t){if(Ln)return e==="compositionend"||!Wa&&Bd(e,t)?(e=zd(),Wi=Ba=Dt=null,Ln=!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 Ud&&t.locale!=="ko"?null:t.data;default:return null}}var iy={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 lc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!iy[e.type]:t==="textarea"}function Vd(e,t,n,r){xd(r),t=po(t,"onChange"),0<t.length&&(n=new Ha("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var br=null,Qr=null;function oy(e){tp(e,0)}function Ho(e){var t=jn(e);if(hd(t))return e}function sy(e,t){if(e==="change")return t}var Wd=!1;if(_t){var Gs;if(_t){var qs="oninput"in document;if(!qs){var ac=document.createElement("div");ac.setAttribute("oninput","return;"),qs=typeof ac.oninput=="function"}Gs=qs}else Gs=!1;Wd=Gs&&(!document.documentMode||9<document.documentMode)}function uc(){br&&(br.detachEvent("onpropertychange",Kd),Qr=br=null)}function Kd(e){if(e.propertyName==="value"&&Ho(Qr)){var t=[];Vd(t,Qr,e,Ia(e)),Pd(oy,t)}}function ly(e,t,n){e==="focusin"?(uc(),br=t,Qr=n,br.attachEvent("onpropertychange",Kd)):e==="focusout"&&uc()}function ay(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ho(Qr)}function uy(e,t){if(e==="click")return Ho(t)}function cy(e,t){if(e==="input"||e==="change")return Ho(t)}function fy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ct=typeof Object.is=="function"?Object.is:fy;function Gr(e,t){if(ct(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 i=n[r];if(!vl.call(t,i)||!ct(e[i],t[i]))return!1}return!0}function cc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fc(e,t){var n=cc(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=cc(n)}}function Qd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Gd(){for(var e=window,t=oo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=oo(e.document)}return t}function Ka(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 dy(e){var t=Gd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Qd(n.ownerDocument.documentElement,n)){if(r!==null&&Ka(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 i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=fc(n,o);var s=fc(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>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 py=_t&&"documentMode"in document&&11>=document.documentMode,$n=null,Il=null,jr=null,Fl=!1;function dc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Fl||$n==null||$n!==oo(r)||(r=$n,"selectionStart"in r&&Ka(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),jr&&Gr(jr,r)||(jr=r,r=po(Il,"onSelect"),0<r.length&&(t=new Ha("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=$n)))}function Ti(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var bn={animationend:Ti("Animation","AnimationEnd"),animationiteration:Ti("Animation","AnimationIteration"),animationstart:Ti("Animation","AnimationStart"),transitionend:Ti("Transition","TransitionEnd")},Xs={},qd={};_t&&(qd=document.createElement("div").style,"AnimationEvent"in window||(delete bn.animationend.animation,delete bn.animationiteration.animation,delete bn.animationstart.animation),"TransitionEvent"in window||delete bn.transitionend.transition);function Vo(e){if(Xs[e])return Xs[e];if(!bn[e])return e;var t=bn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in qd)return Xs[e]=t[n];return e}var Xd=Vo("animationend"),Yd=Vo("animationiteration"),Jd=Vo("animationstart"),Zd=Vo("transitionend"),ep=new Map,pc="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 Jt(e,t){ep.set(e,t),xn(t,[e])}for(var Ys=0;Ys<pc.length;Ys++){var Js=pc[Ys],hy=Js.toLowerCase(),my=Js[0].toUpperCase()+Js.slice(1);Jt(hy,"on"+my)}Jt(Xd,"onAnimationEnd");Jt(Yd,"onAnimationIteration");Jt(Jd,"onAnimationStart");Jt("dblclick","onDoubleClick");Jt("focusin","onFocus");Jt("focusout","onBlur");Jt(Zd,"onTransitionEnd");Xn("onMouseEnter",["mouseout","mouseover"]);Xn("onMouseLeave",["mouseout","mouseover"]);Xn("onPointerEnter",["pointerout","pointerover"]);Xn("onPointerLeave",["pointerout","pointerover"]);xn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));xn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));xn("onBeforeInput",["compositionend","keypress","textInput","paste"]);xn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));xn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));xn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _r="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(" "),gy=new Set("cancel close invalid load scroll toggle".split(" ").concat(_r));function hc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,hg(r,t,void 0,e),e.currentTarget=null}function tp(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=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!==o&&i.isPropagationStopped())break e;hc(i,l,u),o=a}else for(s=0;s<r.length;s++){if(l=r[s],a=l.instance,u=l.currentTarget,l=l.listener,a!==o&&i.isPropagationStopped())break e;hc(i,l,u),o=a}}}if(lo)throw e=bl,lo=!1,bl=null,e}function G(e,t){var n=t[Hl];n===void 0&&(n=t[Hl]=new Set);var r=e+"__bubble";n.has(r)||(np(t,e,2,!1),n.add(r))}function Zs(e,t,n){var r=0;t&&(r|=4),np(n,e,r,t)}var Ri="_reactListening"+Math.random().toString(36).slice(2);function qr(e){if(!e[Ri]){e[Ri]=!0,ud.forEach(function(n){n!=="selectionchange"&&(gy.has(n)||Zs(n,!1,e),Zs(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ri]||(t[Ri]=!0,Zs("selectionchange",!1,t))}}function np(e,t,n,r){switch(Dd(t)){case 1:var i=Ng;break;case 4:i=Lg;break;default:i=Ua}n=i.bind(null,t,n,e),i=void 0,!$l||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function el(e,t,n,r,i){var o=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===i||l.nodeType===8&&l.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var a=s.tag;if((a===3||a===4)&&(a=s.stateNode.containerInfo,a===i||a.nodeType===8&&a.parentNode===i))return;s=s.return}for(;l!==null;){if(s=an(l),s===null)return;if(a=s.tag,a===5||a===6){r=o=s;continue e}l=l.parentNode}}r=r.return}Pd(function(){var u=o,f=Ia(n),d=[];e:{var c=ep.get(e);if(c!==void 0){var y=Ha,g=e;switch(e){case"keypress":if(Ki(n)===0)break e;case"keydown":case"keyup":y=Kg;break;case"focusin":g="focus",y=Qs;break;case"focusout":g="blur",y=Qs;break;case"beforeblur":case"afterblur":y=Qs;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":y=nc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=jg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=qg;break;case Xd:case Yd:case Jd:y=Ig;break;case Zd:y=Yg;break;case"scroll":y=$g;break;case"wheel":y=Zg;break;case"copy":case"cut":case"paste":y=Dg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=ic}var v=(t&4)!==0,_=!v&&e==="scroll",h=v?c!==null?c+"Capture":null:c;v=[];for(var p=u,m;p!==null;){m=p;var S=m.stateNode;if(m.tag===5&&S!==null&&(m=S,h!==null&&(S=Hr(p,h),S!=null&&v.push(Xr(p,S,m)))),_)break;p=p.return}0<v.length&&(c=new y(c,g,null,n,f),d.push({event:c,listeners:v}))}}if(!(t&7)){e:{if(c=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",c&&n!==Nl&&(g=n.relatedTarget||n.fromElement)&&(an(g)||g[Tt]))break e;if((y||c)&&(c=f.window===f?f:(c=f.ownerDocument)?c.defaultView||c.parentWindow:window,y?(g=n.relatedTarget||n.toElement,y=u,g=g?an(g):null,g!==null&&(_=kn(g),g!==_||g.tag!==5&&g.tag!==6)&&(g=null)):(y=null,g=u),y!==g)){if(v=nc,S="onMouseLeave",h="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(v=ic,S="onPointerLeave",h="onPointerEnter",p="pointer"),_=y==null?c:jn(y),m=g==null?c:jn(g),c=new v(S,p+"leave",y,n,f),c.target=_,c.relatedTarget=m,S=null,an(f)===u&&(v=new v(h,p+"enter",g,n,f),v.target=m,v.relatedTarget=_,S=v),_=S,y&&g)t:{for(v=y,h=g,p=0,m=v;m;m=Cn(m))p++;for(m=0,S=h;S;S=Cn(S))m++;for(;0<p-m;)v=Cn(v),p--;for(;0<m-p;)h=Cn(h),m--;for(;p--;){if(v===h||h!==null&&v===h.alternate)break t;v=Cn(v),h=Cn(h)}v=null}else v=null;y!==null&&mc(d,c,y,v,!1),g!==null&&_!==null&&mc(d,_,g,v,!0)}}e:{if(c=u?jn(u):window,y=c.nodeName&&c.nodeName.toLowerCase(),y==="select"||y==="input"&&c.type==="file")var x=sy;else if(lc(c))if(Wd)x=cy;else{x=ay;var C=ly}else(y=c.nodeName)&&y.toLowerCase()==="input"&&(c.type==="checkbox"||c.type==="radio")&&(x=uy);if(x&&(x=x(e,u))){Vd(d,x,n,f);break e}C&&C(e,c,u),e==="focusout"&&(C=c._wrapperState)&&C.controlled&&c.type==="number"&&Pl(c,"number",c.value)}switch(C=u?jn(u):window,e){case"focusin":(lc(C)||C.contentEditable==="true")&&($n=C,Il=u,jr=null);break;case"focusout":jr=Il=$n=null;break;case"mousedown":Fl=!0;break;case"contextmenu":case"mouseup":case"dragend":Fl=!1,dc(d,n,f);break;case"selectionchange":if(py)break;case"keydown":case"keyup":dc(d,n,f)}var k;if(Wa)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else Ln?Bd(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(Ud&&n.locale!=="ko"&&(Ln||T!=="onCompositionStart"?T==="onCompositionEnd"&&Ln&&(k=zd()):(Dt=f,Ba="value"in Dt?Dt.value:Dt.textContent,Ln=!0)),C=po(u,T),0<C.length&&(T=new rc(T,e,null,n,f),d.push({event:T,listeners:C}),k?T.data=k:(k=Hd(n),k!==null&&(T.data=k)))),(k=ty?ny(e,n):ry(e,n))&&(u=po(u,"onBeforeInput"),0<u.length&&(f=new rc("onBeforeInput","beforeinput",null,n,f),d.push({event:f,listeners:u}),f.data=k))}tp(d,t)})}function Xr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function po(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Hr(e,n),o!=null&&r.unshift(Xr(e,o,i)),o=Hr(e,t),o!=null&&r.push(Xr(e,o,i))),e=e.return}return r}function Cn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function mc(e,t,n,r,i){for(var o=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,i?(a=Hr(n,o),a!=null&&s.unshift(Xr(n,a,l))):i||(a=Hr(n,o),a!=null&&s.push(Xr(n,a,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var yy=/\r\n?/g,vy=/\u0000|\uFFFD/g;function gc(e){return(typeof e=="string"?e:""+e).replace(yy,`
`).replace(vy,"")}function Ni(e,t,n){if(t=gc(t),gc(e)!==t&&n)throw Error(O(425))}function ho(){}var Dl=null,zl=null;function Ul(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 Bl=typeof setTimeout=="function"?setTimeout:void 0,wy=typeof clearTimeout=="function"?clearTimeout:void 0,yc=typeof Promise=="function"?Promise:void 0,Sy=typeof queueMicrotask=="function"?queueMicrotask:typeof yc<"u"?function(e){return yc.resolve(null).then(e).catch(xy)}:Bl;function xy(e){setTimeout(function(){throw e})}function tl(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Kr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Kr(t)}function Vt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function vc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var ar=Math.random().toString(36).slice(2),mt="__reactFiber$"+ar,Yr="__reactProps$"+ar,Tt="__reactContainer$"+ar,Hl="__reactEvents$"+ar,ky="__reactListeners$"+ar,Ey="__reactHandles$"+ar;function an(e){var t=e[mt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Tt]||n[mt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=vc(e);e!==null;){if(n=e[mt])return n;e=vc(e)}return t}e=n,n=e.parentNode}return null}function pi(e){return e=e[mt]||e[Tt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function jn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(O(33))}function Wo(e){return e[Yr]||null}var Vl=[],An=-1;function Zt(e){return{current:e}}function q(e){0>An||(e.current=Vl[An],Vl[An]=null,An--)}function K(e,t){An++,Vl[An]=e.current,e.current=t}var Xt={},Ce=Zt(Xt),be=Zt(!1),mn=Xt;function Yn(e,t){var n=e.type.contextTypes;if(!n)return Xt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function je(e){return e=e.childContextTypes,e!=null}function mo(){q(be),q(Ce)}function wc(e,t,n){if(Ce.current!==Xt)throw Error(O(168));K(Ce,t),K(be,n)}function rp(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(O(108,lg(e)||"Unknown",i));return Z({},n,r)}function go(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Xt,mn=Ce.current,K(Ce,e),K(be,be.current),!0}function Sc(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=rp(e,t,mn),r.__reactInternalMemoizedMergedChildContext=e,q(be),q(Ce),K(Ce,e)):q(be),K(be,n)}var kt=null,Ko=!1,nl=!1;function ip(e){kt===null?kt=[e]:kt.push(e)}function Cy(e){Ko=!0,ip(e)}function en(){if(!nl&&kt!==null){nl=!0;var e=0,t=H;try{var n=kt;for(H=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}kt=null,Ko=!1}catch(i){throw kt!==null&&(kt=kt.slice(e+1)),Rd(Fa,en),i}finally{H=t,nl=!1}}return null}var Mn=[],In=0,yo=null,vo=0,Ge=[],qe=0,gn=null,Et=1,Ct="";function rn(e,t){Mn[In++]=vo,Mn[In++]=yo,yo=e,vo=t}function op(e,t,n){Ge[qe++]=Et,Ge[qe++]=Ct,Ge[qe++]=gn,gn=e;var r=Et;e=Ct;var i=32-at(r)-1;r&=~(1<<i),n+=1;var o=32-at(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,Et=1<<32-at(t)+i|n<<i|r,Ct=o+e}else Et=1<<o|n<<i|r,Ct=e}function Qa(e){e.return!==null&&(rn(e,1),op(e,1,0))}function Ga(e){for(;e===yo;)yo=Mn[--In],Mn[In]=null,vo=Mn[--In],Mn[In]=null;for(;e===gn;)gn=Ge[--qe],Ge[qe]=null,Ct=Ge[--qe],Ge[qe]=null,Et=Ge[--qe],Ge[qe]=null}var ze=null,De=null,X=!1,lt=null;function sp(e,t){var n=Ye(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 xc(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,ze=e,De=Vt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ze=e,De=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=gn!==null?{id:Et,overflow:Ct}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ye(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ze=e,De=null,!0):!1;default:return!1}}function Wl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Kl(e){if(X){var t=De;if(t){var n=t;if(!xc(e,t)){if(Wl(e))throw Error(O(418));t=Vt(n.nextSibling);var r=ze;t&&xc(e,t)?sp(r,n):(e.flags=e.flags&-4097|2,X=!1,ze=e)}}else{if(Wl(e))throw Error(O(418));e.flags=e.flags&-4097|2,X=!1,ze=e}}}function kc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ze=e}function Li(e){if(e!==ze)return!1;if(!X)return kc(e),X=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ul(e.type,e.memoizedProps)),t&&(t=De)){if(Wl(e))throw lp(),Error(O(418));for(;t;)sp(e,t),t=Vt(t.nextSibling)}if(kc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(O(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){De=Vt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}De=null}}else De=ze?Vt(e.stateNode.nextSibling):null;return!0}function lp(){for(var e=De;e;)e=Vt(e.nextSibling)}function Jn(){De=ze=null,X=!1}function qa(e){lt===null?lt=[e]:lt.push(e)}var Py=$t.ReactCurrentBatchConfig;function yr(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(O(309));var r=n.stateNode}if(!r)throw Error(O(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var l=i.refs;s===null?delete l[o]:l[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(O(284));if(!n._owner)throw Error(O(290,e))}return e}function $i(e,t){throw e=Object.prototype.toString.call(t),Error(O(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ec(e){var t=e._init;return t(e._payload)}function ap(e){function t(h,p){if(e){var m=h.deletions;m===null?(h.deletions=[p],h.flags|=16):m.push(p)}}function n(h,p){if(!e)return null;for(;p!==null;)t(h,p),p=p.sibling;return null}function r(h,p){for(h=new Map;p!==null;)p.key!==null?h.set(p.key,p):h.set(p.index,p),p=p.sibling;return h}function i(h,p){return h=Gt(h,p),h.index=0,h.sibling=null,h}function o(h,p,m){return h.index=m,e?(m=h.alternate,m!==null?(m=m.index,m<p?(h.flags|=2,p):m):(h.flags|=2,p)):(h.flags|=1048576,p)}function s(h){return e&&h.alternate===null&&(h.flags|=2),h}function l(h,p,m,S){return p===null||p.tag!==6?(p=ul(m,h.mode,S),p.return=h,p):(p=i(p,m),p.return=h,p)}function a(h,p,m,S){var x=m.type;return x===Nn?f(h,p,m.props.children,S,m.key):p!==null&&(p.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===jt&&Ec(x)===p.type)?(S=i(p,m.props),S.ref=yr(h,p,m),S.return=h,S):(S=Zi(m.type,m.key,m.props,null,h.mode,S),S.ref=yr(h,p,m),S.return=h,S)}function u(h,p,m,S){return p===null||p.tag!==4||p.stateNode.containerInfo!==m.containerInfo||p.stateNode.implementation!==m.implementation?(p=cl(m,h.mode,S),p.return=h,p):(p=i(p,m.children||[]),p.return=h,p)}function f(h,p,m,S,x){return p===null||p.tag!==7?(p=pn(m,h.mode,S,x),p.return=h,p):(p=i(p,m),p.return=h,p)}function d(h,p,m){if(typeof p=="string"&&p!==""||typeof p=="number")return p=ul(""+p,h.mode,m),p.return=h,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case xi:return m=Zi(p.type,p.key,p.props,null,h.mode,m),m.ref=yr(h,null,p),m.return=h,m;case Rn:return p=cl(p,h.mode,m),p.return=h,p;case jt:var S=p._init;return d(h,S(p._payload),m)}if(Pr(p)||dr(p))return p=pn(p,h.mode,m,null),p.return=h,p;$i(h,p)}return null}function c(h,p,m,S){var x=p!==null?p.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return x!==null?null:l(h,p,""+m,S);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case xi:return m.key===x?a(h,p,m,S):null;case Rn:return m.key===x?u(h,p,m,S):null;case jt:return x=m._init,c(h,p,x(m._payload),S)}if(Pr(m)||dr(m))return x!==null?null:f(h,p,m,S,null);$i(h,m)}return null}function y(h,p,m,S,x){if(typeof S=="string"&&S!==""||typeof S=="number")return h=h.get(m)||null,l(p,h,""+S,x);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case xi:return h=h.get(S.key===null?m:S.key)||null,a(p,h,S,x);case Rn:return h=h.get(S.key===null?m:S.key)||null,u(p,h,S,x);case jt:var C=S._init;return y(h,p,m,C(S._payload),x)}if(Pr(S)||dr(S))return h=h.get(m)||null,f(p,h,S,x,null);$i(p,S)}return null}function g(h,p,m,S){for(var x=null,C=null,k=p,T=p=0,j=null;k!==null&&T<m.length;T++){k.index>T?(j=k,k=null):j=k.sibling;var $=c(h,k,m[T],S);if($===null){k===null&&(k=j);break}e&&k&&$.alternate===null&&t(h,k),p=o($,p,T),C===null?x=$:C.sibling=$,C=$,k=j}if(T===m.length)return n(h,k),X&&rn(h,T),x;if(k===null){for(;T<m.length;T++)k=d(h,m[T],S),k!==null&&(p=o(k,p,T),C===null?x=k:C.sibling=k,C=k);return X&&rn(h,T),x}for(k=r(h,k);T<m.length;T++)j=y(k,h,T,m[T],S),j!==null&&(e&&j.alternate!==null&&k.delete(j.key===null?T:j.key),p=o(j,p,T),C===null?x=j:C.sibling=j,C=j);return e&&k.forEach(function(M){return t(h,M)}),X&&rn(h,T),x}function v(h,p,m,S){var x=dr(m);if(typeof x!="function")throw Error(O(150));if(m=x.call(m),m==null)throw Error(O(151));for(var C=x=null,k=p,T=p=0,j=null,$=m.next();k!==null&&!$.done;T++,$=m.next()){k.index>T?(j=k,k=null):j=k.sibling;var M=c(h,k,$.value,S);if(M===null){k===null&&(k=j);break}e&&k&&M.alternate===null&&t(h,k),p=o(M,p,T),C===null?x=M:C.sibling=M,C=M,k=j}if($.done)return n(h,k),X&&rn(h,T),x;if(k===null){for(;!$.done;T++,$=m.next())$=d(h,$.value,S),$!==null&&(p=o($,p,T),C===null?x=$:C.sibling=$,C=$);return X&&rn(h,T),x}for(k=r(h,k);!$.done;T++,$=m.next())$=y(k,h,T,$.value,S),$!==null&&(e&&$.alternate!==null&&k.delete($.key===null?T:$.key),p=o($,p,T),C===null?x=$:C.sibling=$,C=$);return e&&k.forEach(function(U){return t(h,U)}),X&&rn(h,T),x}function _(h,p,m,S){if(typeof m=="object"&&m!==null&&m.type===Nn&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case xi:e:{for(var x=m.key,C=p;C!==null;){if(C.key===x){if(x=m.type,x===Nn){if(C.tag===7){n(h,C.sibling),p=i(C,m.props.children),p.return=h,h=p;break e}}else if(C.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===jt&&Ec(x)===C.type){n(h,C.sibling),p=i(C,m.props),p.ref=yr(h,C,m),p.return=h,h=p;break e}n(h,C);break}else t(h,C);C=C.sibling}m.type===Nn?(p=pn(m.props.children,h.mode,S,m.key),p.return=h,h=p):(S=Zi(m.type,m.key,m.props,null,h.mode,S),S.ref=yr(h,p,m),S.return=h,h=S)}return s(h);case Rn:e:{for(C=m.key;p!==null;){if(p.key===C)if(p.tag===4&&p.stateNode.containerInfo===m.containerInfo&&p.stateNode.implementation===m.implementation){n(h,p.sibling),p=i(p,m.children||[]),p.return=h,h=p;break e}else{n(h,p);break}else t(h,p);p=p.sibling}p=cl(m,h.mode,S),p.return=h,h=p}return s(h);case jt:return C=m._init,_(h,p,C(m._payload),S)}if(Pr(m))return g(h,p,m,S);if(dr(m))return v(h,p,m,S);$i(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,p!==null&&p.tag===6?(n(h,p.sibling),p=i(p,m),p.return=h,h=p):(n(h,p),p=ul(m,h.mode,S),p.return=h,h=p),s(h)):n(h,p)}return _}var Zn=ap(!0),up=ap(!1),wo=Zt(null),So=null,Fn=null,Xa=null;function Ya(){Xa=Fn=So=null}function Ja(e){var t=wo.current;q(wo),e._currentValue=t}function Ql(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 Wn(e,t){So=e,Xa=Fn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&($e=!0),e.firstContext=null)}function Ze(e){var t=e._currentValue;if(Xa!==e)if(e={context:e,memoizedValue:t,next:null},Fn===null){if(So===null)throw Error(O(308));Fn=e,So.dependencies={lanes:0,firstContext:e}}else Fn=Fn.next=e;return t}var un=null;function Za(e){un===null?un=[e]:un.push(e)}function cp(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Za(t)):(n.next=i.next,i.next=n),t.interleaved=n,Rt(e,r)}function Rt(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 At=!1;function eu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function fp(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 Pt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Wt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,F&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Rt(e,n)}return i=r.interleaved,i===null?(t.next=t,Za(r)):(t.next=i.next,i.next=t),r.interleaved=t,Rt(e,n)}function Qi(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,Da(e,n)}}function Cc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=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};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,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 xo(e,t,n,r){var i=e.updateQueue;At=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?o=u:s.next=u,s=a;var f=e.alternate;f!==null&&(f=f.updateQueue,l=f.lastBaseUpdate,l!==s&&(l===null?f.firstBaseUpdate=u:l.next=u,f.lastBaseUpdate=a))}if(o!==null){var d=i.baseState;s=0,f=u=a=null,l=o;do{var c=l.lane,y=l.eventTime;if((r&c)===c){f!==null&&(f=f.next={eventTime:y,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var g=e,v=l;switch(c=t,y=n,v.tag){case 1:if(g=v.payload,typeof g=="function"){d=g.call(y,d,c);break e}d=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=v.payload,c=typeof g=="function"?g.call(y,d,c):g,c==null)break e;d=Z({},d,c);break e;case 2:At=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,c=i.effects,c===null?i.effects=[l]:c.push(l))}else y={eventTime:y,lane:c,tag:l.tag,payload:l.payload,callback:l.callback,next:null},f===null?(u=f=y,a=d):f=f.next=y,s|=c;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;c=l,l=c.next,c.next=null,i.lastBaseUpdate=c,i.shared.pending=null}}while(!0);if(f===null&&(a=d),i.baseState=a,i.firstBaseUpdate=u,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);vn|=s,e.lanes=s,e.memoizedState=d}}function Pc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(O(191,i));i.call(r)}}}var hi={},wt=Zt(hi),Jr=Zt(hi),Zr=Zt(hi);function cn(e){if(e===hi)throw Error(O(174));return e}function tu(e,t){switch(K(Zr,t),K(Jr,e),K(wt,hi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:_l(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=_l(t,e)}q(wt),K(wt,t)}function er(){q(wt),q(Jr),q(Zr)}function dp(e){cn(Zr.current);var t=cn(wt.current),n=_l(t,e.type);t!==n&&(K(Jr,e),K(wt,n))}function nu(e){Jr.current===e&&(q(wt),q(Jr))}var Y=Zt(0);function ko(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 rl=[];function ru(){for(var e=0;e<rl.length;e++)rl[e]._workInProgressVersionPrimary=null;rl.length=0}var Gi=$t.ReactCurrentDispatcher,il=$t.ReactCurrentBatchConfig,yn=0,J=null,ue=null,fe=null,Eo=!1,Ar=!1,ei=0,Oy=0;function Se(){throw Error(O(321))}function iu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ct(e[n],t[n]))return!1;return!0}function ou(e,t,n,r,i,o){if(yn=o,J=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Gi.current=e===null||e.memoizedState===null?Ny:Ly,e=n(r,i),Ar){o=0;do{if(Ar=!1,ei=0,25<=o)throw Error(O(301));o+=1,fe=ue=null,t.updateQueue=null,Gi.current=$y,e=n(r,i)}while(Ar)}if(Gi.current=Co,t=ue!==null&&ue.next!==null,yn=0,fe=ue=J=null,Eo=!1,t)throw Error(O(300));return e}function su(){var e=ei!==0;return ei=0,e}function dt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return fe===null?J.memoizedState=fe=e:fe=fe.next=e,fe}function et(){if(ue===null){var e=J.alternate;e=e!==null?e.memoizedState:null}else e=ue.next;var t=fe===null?J.memoizedState:fe.next;if(t!==null)fe=t,ue=e;else{if(e===null)throw Error(O(310));ue=e,e={memoizedState:ue.memoizedState,baseState:ue.baseState,baseQueue:ue.baseQueue,queue:ue.queue,next:null},fe===null?J.memoizedState=fe=e:fe=fe.next=e}return fe}function ti(e,t){return typeof t=="function"?t(e):t}function ol(e){var t=et(),n=t.queue;if(n===null)throw Error(O(311));n.lastRenderedReducer=e;var r=ue,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var l=s=null,a=null,u=o;do{var f=u.lane;if((yn&f)===f)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:f,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=d,s=r):a=a.next=d,J.lanes|=f,vn|=f}u=u.next}while(u!==null&&u!==o);a===null?s=r:a.next=l,ct(r,t.memoizedState)||($e=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,J.lanes|=o,vn|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function sl(e){var t=et(),n=t.queue;if(n===null)throw Error(O(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);ct(o,t.memoizedState)||($e=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function pp(){}function hp(e,t){var n=J,r=et(),i=t(),o=!ct(r.memoizedState,i);if(o&&(r.memoizedState=i,$e=!0),r=r.queue,lu(yp.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||fe!==null&&fe.memoizedState.tag&1){if(n.flags|=2048,ni(9,gp.bind(null,n,r,i,t),void 0,null),de===null)throw Error(O(349));yn&30||mp(n,t,i)}return i}function mp(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=J.updateQueue,t===null?(t={lastEffect:null,stores:null},J.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function gp(e,t,n,r){t.value=n,t.getSnapshot=r,vp(t)&&wp(e)}function yp(e,t,n){return n(function(){vp(t)&&wp(e)})}function vp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ct(e,n)}catch{return!0}}function wp(e){var t=Rt(e,1);t!==null&&ut(t,e,1,-1)}function Oc(e){var t=dt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ti,lastRenderedState:e},t.queue=e,e=e.dispatch=Ry.bind(null,J,e),[t.memoizedState,e]}function ni(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=J.updateQueue,t===null?(t={lastEffect:null,stores:null},J.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 Sp(){return et().memoizedState}function qi(e,t,n,r){var i=dt();J.flags|=e,i.memoizedState=ni(1|t,n,void 0,r===void 0?null:r)}function Qo(e,t,n,r){var i=et();r=r===void 0?null:r;var o=void 0;if(ue!==null){var s=ue.memoizedState;if(o=s.destroy,r!==null&&iu(r,s.deps)){i.memoizedState=ni(t,n,o,r);return}}J.flags|=e,i.memoizedState=ni(1|t,n,o,r)}function _c(e,t){return qi(8390656,8,e,t)}function lu(e,t){return Qo(2048,8,e,t)}function xp(e,t){return Qo(4,2,e,t)}function kp(e,t){return Qo(4,4,e,t)}function Ep(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 Cp(e,t,n){return n=n!=null?n.concat([e]):null,Qo(4,4,Ep.bind(null,t,e),n)}function au(){}function Pp(e,t){var n=et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&iu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Op(e,t){var n=et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&iu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function _p(e,t,n){return yn&21?(ct(n,t)||(n=$d(),J.lanes|=n,vn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,$e=!0),e.memoizedState=n)}function _y(e,t){var n=H;H=n!==0&&4>n?n:4,e(!0);var r=il.transition;il.transition={};try{e(!1),t()}finally{H=n,il.transition=r}}function Tp(){return et().memoizedState}function Ty(e,t,n){var r=Qt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Rp(e))Np(t,n);else if(n=cp(e,t,n,r),n!==null){var i=_e();ut(n,e,r,i),Lp(n,t,r)}}function Ry(e,t,n){var r=Qt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Rp(e))Np(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,ct(l,s)){var a=t.interleaved;a===null?(i.next=i,Za(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=cp(e,t,i,r),n!==null&&(i=_e(),ut(n,e,r,i),Lp(n,t,r))}}function Rp(e){var t=e.alternate;return e===J||t!==null&&t===J}function Np(e,t){Ar=Eo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Lp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Da(e,n)}}var Co={readContext:Ze,useCallback:Se,useContext:Se,useEffect:Se,useImperativeHandle:Se,useInsertionEffect:Se,useLayoutEffect:Se,useMemo:Se,useReducer:Se,useRef:Se,useState:Se,useDebugValue:Se,useDeferredValue:Se,useTransition:Se,useMutableSource:Se,useSyncExternalStore:Se,useId:Se,unstable_isNewReconciler:!1},Ny={readContext:Ze,useCallback:function(e,t){return dt().memoizedState=[e,t===void 0?null:t],e},useContext:Ze,useEffect:_c,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,qi(4194308,4,Ep.bind(null,t,e),n)},useLayoutEffect:function(e,t){return qi(4194308,4,e,t)},useInsertionEffect:function(e,t){return qi(4,2,e,t)},useMemo:function(e,t){var n=dt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=dt();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=Ty.bind(null,J,e),[r.memoizedState,e]},useRef:function(e){var t=dt();return e={current:e},t.memoizedState=e},useState:Oc,useDebugValue:au,useDeferredValue:function(e){return dt().memoizedState=e},useTransition:function(){var e=Oc(!1),t=e[0];return e=_y.bind(null,e[1]),dt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=J,i=dt();if(X){if(n===void 0)throw Error(O(407));n=n()}else{if(n=t(),de===null)throw Error(O(349));yn&30||mp(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,_c(yp.bind(null,r,o,e),[e]),r.flags|=2048,ni(9,gp.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=dt(),t=de.identifierPrefix;if(X){var n=Ct,r=Et;n=(r&~(1<<32-at(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ei++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Oy++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Ly={readContext:Ze,useCallback:Pp,useContext:Ze,useEffect:lu,useImperativeHandle:Cp,useInsertionEffect:xp,useLayoutEffect:kp,useMemo:Op,useReducer:ol,useRef:Sp,useState:function(){return ol(ti)},useDebugValue:au,useDeferredValue:function(e){var t=et();return _p(t,ue.memoizedState,e)},useTransition:function(){var e=ol(ti)[0],t=et().memoizedState;return[e,t]},useMutableSource:pp,useSyncExternalStore:hp,useId:Tp,unstable_isNewReconciler:!1},$y={readContext:Ze,useCallback:Pp,useContext:Ze,useEffect:lu,useImperativeHandle:Cp,useInsertionEffect:xp,useLayoutEffect:kp,useMemo:Op,useReducer:sl,useRef:Sp,useState:function(){return sl(ti)},useDebugValue:au,useDeferredValue:function(e){var t=et();return ue===null?t.memoizedState=e:_p(t,ue.memoizedState,e)},useTransition:function(){var e=sl(ti)[0],t=et().memoizedState;return[e,t]},useMutableSource:pp,useSyncExternalStore:hp,useId:Tp,unstable_isNewReconciler:!1};function ot(e,t){if(e&&e.defaultProps){t=Z({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Gl(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Z({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Go={isMounted:function(e){return(e=e._reactInternals)?kn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=_e(),i=Qt(e),o=Pt(r,i);o.payload=t,n!=null&&(o.callback=n),t=Wt(e,o,i),t!==null&&(ut(t,e,i,r),Qi(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=_e(),i=Qt(e),o=Pt(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Wt(e,o,i),t!==null&&(ut(t,e,i,r),Qi(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=_e(),r=Qt(e),i=Pt(n,r);i.tag=2,t!=null&&(i.callback=t),t=Wt(e,i,r),t!==null&&(ut(t,e,r,n),Qi(t,e,r))}};function Tc(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!Gr(n,r)||!Gr(i,o):!0}function $p(e,t,n){var r=!1,i=Xt,o=t.contextType;return typeof o=="object"&&o!==null?o=Ze(o):(i=je(t)?mn:Ce.current,r=t.contextTypes,o=(r=r!=null)?Yn(e,i):Xt),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Go,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Rc(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&&Go.enqueueReplaceState(t,t.state,null)}function ql(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},eu(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=Ze(o):(o=je(t)?mn:Ce.current,i.context=Yn(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Gl(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Go.enqueueReplaceState(i,i.state,null),xo(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function tr(e,t){try{var n="",r=t;do n+=sg(r),r=r.return;while(r);var i=n}catch(o){i=`
Error generating stack: `+o.message+`
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function ll(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Xl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var by=typeof WeakMap=="function"?WeakMap:Map;function bp(e,t,n){n=Pt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Oo||(Oo=!0,sa=r),Xl(e,t)},n}function jp(e,t,n){n=Pt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Xl(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Xl(e,t),typeof r!="function"&&(Kt===null?Kt=new Set([this]):Kt.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Nc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new by;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Qy.bind(null,e,t,n),t.then(e,e))}function Lc(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function $c(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,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=Pt(-1,1),t.tag=2,Wt(n,t,1))),n.lanes|=1),e)}var jy=$t.ReactCurrentOwner,$e=!1;function Oe(e,t,n,r){t.child=e===null?up(t,null,n,r):Zn(t,e.child,n,r)}function bc(e,t,n,r,i){n=n.render;var o=t.ref;return Wn(t,i),r=ou(e,t,n,r,o,i),n=su(),e!==null&&!$e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Nt(e,t,i)):(X&&n&&Qa(t),t.flags|=1,Oe(e,t,r,i),t.child)}function jc(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!gu(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Ap(e,t,o,r,i)):(e=Zi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:Gr,n(s,r)&&e.ref===t.ref)return Nt(e,t,i)}return t.flags|=1,e=Gt(o,r),e.ref=t.ref,e.return=t,t.child=e}function Ap(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Gr(o,r)&&e.ref===t.ref)if($e=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&($e=!0);else return t.lanes=e.lanes,Nt(e,t,i)}return Yl(e,t,n,r,i)}function Mp(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},K(zn,Ie),Ie|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,K(zn,Ie),Ie|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,K(zn,Ie),Ie|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,K(zn,Ie),Ie|=r;return Oe(e,t,i,n),t.child}function Ip(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Yl(e,t,n,r,i){var o=je(n)?mn:Ce.current;return o=Yn(t,o),Wn(t,i),n=ou(e,t,n,r,o,i),r=su(),e!==null&&!$e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Nt(e,t,i)):(X&&r&&Qa(t),t.flags|=1,Oe(e,t,n,i),t.child)}function Ac(e,t,n,r,i){if(je(n)){var o=!0;go(t)}else o=!1;if(Wn(t,i),t.stateNode===null)Xi(e,t),$p(t,n,r),ql(t,n,r,i),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=Ze(u):(u=je(n)?mn:Ce.current,u=Yn(t,u));var f=n.getDerivedStateFromProps,d=typeof f=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&Rc(t,s,r,u),At=!1;var c=t.memoizedState;s.state=c,xo(t,r,s,i),a=t.memoizedState,l!==r||c!==a||be.current||At?(typeof f=="function"&&(Gl(t,n,f,r),a=t.memoizedState),(l=At||Tc(t,n,l,r,c,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,fp(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:ot(t.type,l),s.props=u,d=t.pendingProps,c=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=Ze(a):(a=je(n)?mn:Ce.current,a=Yn(t,a));var y=n.getDerivedStateFromProps;(f=typeof y=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==d||c!==a)&&Rc(t,s,r,a),At=!1,c=t.memoizedState,s.state=c,xo(t,r,s,i);var g=t.memoizedState;l!==d||c!==g||be.current||At?(typeof y=="function"&&(Gl(t,n,y,r),g=t.memoizedState),(u=At||Tc(t,n,u,r,c,g,a)||!1)?(f||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&&c===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&c===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&&c===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&c===e.memoizedState||(t.flags|=1024),r=!1)}return Jl(e,t,n,r,o,i)}function Jl(e,t,n,r,i,o){Ip(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&Sc(t,n,!1),Nt(e,t,o);r=t.stateNode,jy.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Zn(t,e.child,null,o),t.child=Zn(t,null,l,o)):Oe(e,t,l,o),t.memoizedState=r.state,i&&Sc(t,n,!0),t.child}function Fp(e){var t=e.stateNode;t.pendingContext?wc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&wc(e,t.context,!1),tu(e,t.containerInfo)}function Mc(e,t,n,r,i){return Jn(),qa(i),t.flags|=256,Oe(e,t,n,r),t.child}var Zl={dehydrated:null,treeContext:null,retryLane:0};function ea(e){return{baseLanes:e,cachePool:null,transitions:null}}function Dp(e,t,n){var r=t.pendingProps,i=Y.current,o=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),K(Y,i&1),e===null)return Kl(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,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Yo(s,r,0,null),e=pn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=ea(n),t.memoizedState=Zl,e):uu(t,s));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return Ay(e,t,s,r,l,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,l=i.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=Gt(i,a),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?o=Gt(l,o):(o=pn(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?ea(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Zl,r}return o=e.child,e=o.sibling,r=Gt(o,{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 uu(e,t){return t=Yo({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function bi(e,t,n,r){return r!==null&&qa(r),Zn(t,e.child,null,n),e=uu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ay(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=ll(Error(O(422))),bi(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Yo({mode:"visible",children:r.children},i,0,null),o=pn(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Zn(t,e.child,null,s),t.child.memoizedState=ea(s),t.memoizedState=Zl,o);if(!(t.mode&1))return bi(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(O(419)),r=ll(o,r,void 0),bi(e,t,s,r)}if(l=(s&e.childLanes)!==0,$e||l){if(r=de,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Rt(e,i),ut(r,e,i,-1))}return mu(),r=ll(Error(O(421))),bi(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Gy.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,De=Vt(i.nextSibling),ze=t,X=!0,lt=null,e!==null&&(Ge[qe++]=Et,Ge[qe++]=Ct,Ge[qe++]=gn,Et=e.id,Ct=e.overflow,gn=t),t=uu(t,r.children),t.flags|=4096,t)}function Ic(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ql(e.return,t,n)}function al(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function zp(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Oe(e,t,r.children,n),r=Y.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&&Ic(e,n,t);else if(e.tag===19)Ic(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(K(Y,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ko(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),al(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ko(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}al(t,!0,n,null,o);break;case"together":al(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Xi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Nt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),vn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(O(153));if(t.child!==null){for(e=t.child,n=Gt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Gt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function My(e,t,n){switch(t.tag){case 3:Fp(t),Jn();break;case 5:dp(t);break;case 1:je(t.type)&&go(t);break;case 4:tu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;K(wo,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(K(Y,Y.current&1),t.flags|=128,null):n&t.child.childLanes?Dp(e,t,n):(K(Y,Y.current&1),e=Nt(e,t,n),e!==null?e.sibling:null);K(Y,Y.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return zp(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),K(Y,Y.current),r)break;return null;case 22:case 23:return t.lanes=0,Mp(e,t,n)}return Nt(e,t,n)}var Up,ta,Bp,Hp;Up=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}};ta=function(){};Bp=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,cn(wt.current);var o=null;switch(n){case"input":i=El(e,i),r=El(e,r),o=[];break;case"select":i=Z({},i,{value:void 0}),r=Z({},r,{value:void 0}),o=[];break;case"textarea":i=Ol(e,i),r=Ol(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ho)}Tl(n,r);var s;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ur.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var a=r[u];if(l=i!=null?i[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||(o||(o=[]),o.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(o=o||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(o=o||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ur.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&G("scroll",e),o||l===a||(o=[])):(o=o||[]).push(u,a))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};Hp=function(e,t,n,r){n!==r&&(t.flags|=4)};function vr(e,t){if(!X)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 xe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Iy(e,t,n){var r=t.pendingProps;switch(Ga(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return xe(t),null;case 1:return je(t.type)&&mo(),xe(t),null;case 3:return r=t.stateNode,er(),q(be),q(Ce),ru(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Li(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,lt!==null&&(ua(lt),lt=null))),ta(e,t),xe(t),null;case 5:nu(t);var i=cn(Zr.current);if(n=t.type,e!==null&&t.stateNode!=null)Bp(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(O(166));return xe(t),null}if(e=cn(wt.current),Li(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[mt]=t,r[Yr]=o,e=(t.mode&1)!==0,n){case"dialog":G("cancel",r),G("close",r);break;case"iframe":case"object":case"embed":G("load",r);break;case"video":case"audio":for(i=0;i<_r.length;i++)G(_r[i],r);break;case"source":G("error",r);break;case"img":case"image":case"link":G("error",r),G("load",r);break;case"details":G("toggle",r);break;case"input":Ku(r,o),G("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},G("invalid",r);break;case"textarea":Gu(r,o),G("invalid",r)}Tl(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var l=o[s];s==="children"?typeof l=="string"?r.textContent!==l&&(o.suppressHydrationWarning!==!0&&Ni(r.textContent,l,e),i=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(o.suppressHydrationWarning!==!0&&Ni(r.textContent,l,e),i=["children",""+l]):Ur.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&G("scroll",r)}switch(n){case"input":ki(r),Qu(r,o,!0);break;case"textarea":ki(r),qu(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=ho)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=yd(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[mt]=t,e[Yr]=r,Up(e,t,!1,!1),t.stateNode=e;e:{switch(s=Rl(n,r),n){case"dialog":G("cancel",e),G("close",e),i=r;break;case"iframe":case"object":case"embed":G("load",e),i=r;break;case"video":case"audio":for(i=0;i<_r.length;i++)G(_r[i],e);i=r;break;case"source":G("error",e),i=r;break;case"img":case"image":case"link":G("error",e),G("load",e),i=r;break;case"details":G("toggle",e),i=r;break;case"input":Ku(e,r),i=El(e,r),G("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Z({},r,{value:void 0}),G("invalid",e);break;case"textarea":Gu(e,r),i=Ol(e,r),G("invalid",e);break;default:i=r}Tl(n,i),l=i;for(o in l)if(l.hasOwnProperty(o)){var a=l[o];o==="style"?Sd(e,a):o==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&vd(e,a)):o==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Br(e,a):typeof a=="number"&&Br(e,""+a):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Ur.hasOwnProperty(o)?a!=null&&o==="onScroll"&&G("scroll",e):a!=null&&ba(e,o,a,s))}switch(n){case"input":ki(e),Qu(e,r,!1);break;case"textarea":ki(e),qu(e);break;case"option":r.value!=null&&e.setAttribute("value",""+qt(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Un(e,!!r.multiple,o,!1):r.defaultValue!=null&&Un(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=ho)}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 xe(t),null;case 6:if(e&&t.stateNode!=null)Hp(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(O(166));if(n=cn(Zr.current),cn(wt.current),Li(t)){if(r=t.stateNode,n=t.memoizedProps,r[mt]=t,(o=r.nodeValue!==n)&&(e=ze,e!==null))switch(e.tag){case 3:Ni(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ni(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[mt]=t,t.stateNode=r}return xe(t),null;case 13:if(q(Y),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(X&&De!==null&&t.mode&1&&!(t.flags&128))lp(),Jn(),t.flags|=98560,o=!1;else if(o=Li(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(O(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(O(317));o[mt]=t}else Jn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;xe(t),o=!1}else lt!==null&&(ua(lt),lt=null),o=!0;if(!o)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||Y.current&1?ce===0&&(ce=3):mu())),t.updateQueue!==null&&(t.flags|=4),xe(t),null);case 4:return er(),ta(e,t),e===null&&qr(t.stateNode.containerInfo),xe(t),null;case 10:return Ja(t.type._context),xe(t),null;case 17:return je(t.type)&&mo(),xe(t),null;case 19:if(q(Y),o=t.memoizedState,o===null)return xe(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)vr(o,!1);else{if(ce!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=ko(e),s!==null){for(t.flags|=128,vr(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return K(Y,Y.current&1|2),t.child}e=e.sibling}o.tail!==null&&re()>nr&&(t.flags|=128,r=!0,vr(o,!1),t.lanes=4194304)}else{if(!r)if(e=ko(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!X)return xe(t),null}else 2*re()-o.renderingStartTime>nr&&n!==1073741824&&(t.flags|=128,r=!0,vr(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=re(),t.sibling=null,n=Y.current,K(Y,r?n&1|2:n&1),t):(xe(t),null);case 22:case 23:return hu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ie&1073741824&&(xe(t),t.subtreeFlags&6&&(t.flags|=8192)):xe(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function Fy(e,t){switch(Ga(t),t.tag){case 1:return je(t.type)&&mo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return er(),q(be),q(Ce),ru(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return nu(t),null;case 13:if(q(Y),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));Jn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return q(Y),null;case 4:return er(),null;case 10:return Ja(t.type._context),null;case 22:case 23:return hu(),null;case 24:return null;default:return null}}var ji=!1,Ee=!1,Dy=typeof WeakSet=="function"?WeakSet:Set,L=null;function Dn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ne(e,t,r)}else n.current=null}function na(e,t,n){try{n()}catch(r){ne(e,t,r)}}var Fc=!1;function zy(e,t){if(Dl=co,e=Gd(),Ka(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 i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,f=0,d=e,c=null;t:for(;;){for(var y;d!==n||i!==0&&d.nodeType!==3||(l=s+i),d!==o||r!==0&&d.nodeType!==3||(a=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(y=d.firstChild)!==null;)c=d,d=y;for(;;){if(d===e)break t;if(c===n&&++u===i&&(l=s),c===o&&++f===r&&(a=s),(y=d.nextSibling)!==null)break;d=c,c=d.parentNode}d=y}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(zl={focusedElem:e,selectionRange:n},co=!1,L=t;L!==null;)if(t=L,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,L=e;else for(;L!==null;){t=L;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 v=g.memoizedProps,_=g.memoizedState,h=t.stateNode,p=h.getSnapshotBeforeUpdate(t.elementType===t.type?v:ot(t.type,v),_);h.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(S){ne(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,L=e;break}L=t.return}return g=Fc,Fc=!1,g}function Mr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&na(t,n,o)}i=i.next}while(i!==r)}}function qo(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 ra(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 Vp(e){var t=e.alternate;t!==null&&(e.alternate=null,Vp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[mt],delete t[Yr],delete t[Hl],delete t[ky],delete t[Ey])),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 Wp(e){return e.tag===5||e.tag===3||e.tag===4}function Dc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Wp(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 ia(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=ho));else if(r!==4&&(e=e.child,e!==null))for(ia(e,t,n),e=e.sibling;e!==null;)ia(e,t,n),e=e.sibling}function oa(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(oa(e,t,n),e=e.sibling;e!==null;)oa(e,t,n),e=e.sibling}var ge=null,st=!1;function bt(e,t,n){for(n=n.child;n!==null;)Kp(e,t,n),n=n.sibling}function Kp(e,t,n){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(Uo,n)}catch{}switch(n.tag){case 5:Ee||Dn(n,t);case 6:var r=ge,i=st;ge=null,bt(e,t,n),ge=r,st=i,ge!==null&&(st?(e=ge,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ge.removeChild(n.stateNode));break;case 18:ge!==null&&(st?(e=ge,n=n.stateNode,e.nodeType===8?tl(e.parentNode,n):e.nodeType===1&&tl(e,n),Kr(e)):tl(ge,n.stateNode));break;case 4:r=ge,i=st,ge=n.stateNode.containerInfo,st=!0,bt(e,t,n),ge=r,st=i;break;case 0:case 11:case 14:case 15:if(!Ee&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&na(n,t,s),i=i.next}while(i!==r)}bt(e,t,n);break;case 1:if(!Ee&&(Dn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ne(n,t,l)}bt(e,t,n);break;case 21:bt(e,t,n);break;case 22:n.mode&1?(Ee=(r=Ee)||n.memoizedState!==null,bt(e,t,n),Ee=r):bt(e,t,n);break;default:bt(e,t,n)}}function zc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Dy),t.forEach(function(r){var i=qy.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function it(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:ge=l.stateNode,st=!1;break e;case 3:ge=l.stateNode.containerInfo,st=!0;break e;case 4:ge=l.stateNode.containerInfo,st=!0;break e}l=l.return}if(ge===null)throw Error(O(160));Kp(o,s,i),ge=null,st=!1;var a=i.alternate;a!==null&&(a.return=null),i.return=null}catch(u){ne(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Qp(t,e),t=t.sibling}function Qp(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(it(t,e),ft(e),r&4){try{Mr(3,e,e.return),qo(3,e)}catch(v){ne(e,e.return,v)}try{Mr(5,e,e.return)}catch(v){ne(e,e.return,v)}}break;case 1:it(t,e),ft(e),r&512&&n!==null&&Dn(n,n.return);break;case 5:if(it(t,e),ft(e),r&512&&n!==null&&Dn(n,n.return),e.flags&32){var i=e.stateNode;try{Br(i,"")}catch(v){ne(e,e.return,v)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&o.type==="radio"&&o.name!=null&&md(i,o),Rl(l,s);var u=Rl(l,o);for(s=0;s<a.length;s+=2){var f=a[s],d=a[s+1];f==="style"?Sd(i,d):f==="dangerouslySetInnerHTML"?vd(i,d):f==="children"?Br(i,d):ba(i,f,d,u)}switch(l){case"input":Cl(i,o);break;case"textarea":gd(i,o);break;case"select":var c=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var y=o.value;y!=null?Un(i,!!o.multiple,y,!1):c!==!!o.multiple&&(o.defaultValue!=null?Un(i,!!o.multiple,o.defaultValue,!0):Un(i,!!o.multiple,o.multiple?[]:"",!1))}i[Yr]=o}catch(v){ne(e,e.return,v)}}break;case 6:if(it(t,e),ft(e),r&4){if(e.stateNode===null)throw Error(O(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(v){ne(e,e.return,v)}}break;case 3:if(it(t,e),ft(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Kr(t.containerInfo)}catch(v){ne(e,e.return,v)}break;case 4:it(t,e),ft(e);break;case 13:it(t,e),ft(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(du=re())),r&4&&zc(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(Ee=(u=Ee)||f,it(t,e),Ee=u):it(t,e),ft(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!f&&e.mode&1)for(L=e,f=e.child;f!==null;){for(d=L=f;L!==null;){switch(c=L,y=c.child,c.tag){case 0:case 11:case 14:case 15:Mr(4,c,c.return);break;case 1:Dn(c,c.return);var g=c.stateNode;if(typeof g.componentWillUnmount=="function"){r=c,n=c.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(v){ne(r,n,v)}}break;case 5:Dn(c,c.return);break;case 22:if(c.memoizedState!==null){Bc(d);continue}}y!==null?(y.return=c,L=y):Bc(d)}f=f.sibling}e:for(f=null,d=e;;){if(d.tag===5){if(f===null){f=d;try{i=d.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(l=d.stateNode,a=d.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=wd("display",s))}catch(v){ne(e,e.return,v)}}}else if(d.tag===6){if(f===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(v){ne(e,e.return,v)}}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;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:it(t,e),ft(e),r&4&&zc(e);break;case 21:break;default:it(t,e),ft(e)}}function ft(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Wp(n)){var r=n;break e}n=n.return}throw Error(O(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Br(i,""),r.flags&=-33);var o=Dc(e);oa(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,l=Dc(e);ia(e,l,s);break;default:throw Error(O(161))}}catch(a){ne(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Uy(e,t,n){L=e,Gp(e)}function Gp(e,t,n){for(var r=(e.mode&1)!==0;L!==null;){var i=L,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||ji;if(!s){var l=i.alternate,a=l!==null&&l.memoizedState!==null||Ee;l=ji;var u=Ee;if(ji=s,(Ee=a)&&!u)for(L=i;L!==null;)s=L,a=s.child,s.tag===22&&s.memoizedState!==null?Hc(i):a!==null?(a.return=s,L=a):Hc(i);for(;o!==null;)L=o,Gp(o),o=o.sibling;L=i,ji=l,Ee=u}Uc(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,L=o):Uc(e)}}function Uc(e){for(;L!==null;){var t=L;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ee||qo(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ee)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:ot(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Pc(t,o,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}Pc(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 f=u.memoizedState;if(f!==null){var d=f.dehydrated;d!==null&&Kr(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(O(163))}Ee||t.flags&512&&ra(t)}catch(c){ne(t,t.return,c)}}if(t===e){L=null;break}if(n=t.sibling,n!==null){n.return=t.return,L=n;break}L=t.return}}function Bc(e){for(;L!==null;){var t=L;if(t===e){L=null;break}var n=t.sibling;if(n!==null){n.return=t.return,L=n;break}L=t.return}}function Hc(e){for(;L!==null;){var t=L;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{qo(4,t)}catch(a){ne(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(a){ne(t,i,a)}}var o=t.return;try{ra(t)}catch(a){ne(t,o,a)}break;case 5:var s=t.return;try{ra(t)}catch(a){ne(t,s,a)}}}catch(a){ne(t,t.return,a)}if(t===e){L=null;break}var l=t.sibling;if(l!==null){l.return=t.return,L=l;break}L=t.return}}var By=Math.ceil,Po=$t.ReactCurrentDispatcher,cu=$t.ReactCurrentOwner,Je=$t.ReactCurrentBatchConfig,F=0,de=null,ae=null,ve=0,Ie=0,zn=Zt(0),ce=0,ri=null,vn=0,Xo=0,fu=0,Ir=null,Le=null,du=0,nr=1/0,xt=null,Oo=!1,sa=null,Kt=null,Ai=!1,zt=null,_o=0,Fr=0,la=null,Yi=-1,Ji=0;function _e(){return F&6?re():Yi!==-1?Yi:Yi=re()}function Qt(e){return e.mode&1?F&2&&ve!==0?ve&-ve:Py.transition!==null?(Ji===0&&(Ji=$d()),Ji):(e=H,e!==0||(e=window.event,e=e===void 0?16:Dd(e.type)),e):1}function ut(e,t,n,r){if(50<Fr)throw Fr=0,la=null,Error(O(185));fi(e,n,r),(!(F&2)||e!==de)&&(e===de&&(!(F&2)&&(Xo|=n),ce===4&&It(e,ve)),Ae(e,r),n===1&&F===0&&!(t.mode&1)&&(nr=re()+500,Ko&&en()))}function Ae(e,t){var n=e.callbackNode;Pg(e,t);var r=uo(e,e===de?ve:0);if(r===0)n!==null&&Ju(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ju(n),t===1)e.tag===0?Cy(Vc.bind(null,e)):ip(Vc.bind(null,e)),Sy(function(){!(F&6)&&en()}),n=null;else{switch(bd(r)){case 1:n=Fa;break;case 4:n=Nd;break;case 16:n=ao;break;case 536870912:n=Ld;break;default:n=ao}n=nh(n,qp.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function qp(e,t){if(Yi=-1,Ji=0,F&6)throw Error(O(327));var n=e.callbackNode;if(Kn()&&e.callbackNode!==n)return null;var r=uo(e,e===de?ve:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=To(e,r);else{t=r;var i=F;F|=2;var o=Yp();(de!==e||ve!==t)&&(xt=null,nr=re()+500,dn(e,t));do try{Wy();break}catch(l){Xp(e,l)}while(!0);Ya(),Po.current=o,F=i,ae!==null?t=0:(de=null,ve=0,t=ce)}if(t!==0){if(t===2&&(i=jl(e),i!==0&&(r=i,t=aa(e,i))),t===1)throw n=ri,dn(e,0),It(e,r),Ae(e,re()),n;if(t===6)It(e,r);else{if(i=e.current.alternate,!(r&30)&&!Hy(i)&&(t=To(e,r),t===2&&(o=jl(e),o!==0&&(r=o,t=aa(e,o))),t===1))throw n=ri,dn(e,0),It(e,r),Ae(e,re()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(O(345));case 2:on(e,Le,xt);break;case 3:if(It(e,r),(r&130023424)===r&&(t=du+500-re(),10<t)){if(uo(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){_e(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Bl(on.bind(null,e,Le,xt),t);break}on(e,Le,xt);break;case 4:if(It(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-at(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=re()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*By(r/1960))-r,10<r){e.timeoutHandle=Bl(on.bind(null,e,Le,xt),r);break}on(e,Le,xt);break;case 5:on(e,Le,xt);break;default:throw Error(O(329))}}}return Ae(e,re()),e.callbackNode===n?qp.bind(null,e):null}function aa(e,t){var n=Ir;return e.current.memoizedState.isDehydrated&&(dn(e,t).flags|=256),e=To(e,t),e!==2&&(t=Le,Le=n,t!==null&&ua(t)),e}function ua(e){Le===null?Le=e:Le.push.apply(Le,e)}function Hy(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 i=n[r],o=i.getSnapshot;i=i.value;try{if(!ct(o(),i))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 It(e,t){for(t&=~fu,t&=~Xo,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function Vc(e){if(F&6)throw Error(O(327));Kn();var t=uo(e,0);if(!(t&1))return Ae(e,re()),null;var n=To(e,t);if(e.tag!==0&&n===2){var r=jl(e);r!==0&&(t=r,n=aa(e,r))}if(n===1)throw n=ri,dn(e,0),It(e,t),Ae(e,re()),n;if(n===6)throw Error(O(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,on(e,Le,xt),Ae(e,re()),null}function pu(e,t){var n=F;F|=1;try{return e(t)}finally{F=n,F===0&&(nr=re()+500,Ko&&en())}}function wn(e){zt!==null&&zt.tag===0&&!(F&6)&&Kn();var t=F;F|=1;var n=Je.transition,r=H;try{if(Je.transition=null,H=1,e)return e()}finally{H=r,Je.transition=n,F=t,!(F&6)&&en()}}function hu(){Ie=zn.current,q(zn)}function dn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,wy(n)),ae!==null)for(n=ae.return;n!==null;){var r=n;switch(Ga(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&mo();break;case 3:er(),q(be),q(Ce),ru();break;case 5:nu(r);break;case 4:er();break;case 13:q(Y);break;case 19:q(Y);break;case 10:Ja(r.type._context);break;case 22:case 23:hu()}n=n.return}if(de=e,ae=e=Gt(e.current,null),ve=Ie=t,ce=0,ri=null,fu=Xo=vn=0,Le=Ir=null,un!==null){for(t=0;t<un.length;t++)if(n=un[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}un=null}return e}function Xp(e,t){do{var n=ae;try{if(Ya(),Gi.current=Co,Eo){for(var r=J.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Eo=!1}if(yn=0,fe=ue=J=null,Ar=!1,ei=0,cu.current=null,n===null||n.return===null){ce=1,ri=t,ae=null;break}e:{var o=e,s=n.return,l=n,a=t;if(t=ve,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,f=l,d=f.tag;if(!(f.mode&1)&&(d===0||d===11||d===15)){var c=f.alternate;c?(f.updateQueue=c.updateQueue,f.memoizedState=c.memoizedState,f.lanes=c.lanes):(f.updateQueue=null,f.memoizedState=null)}var y=Lc(s);if(y!==null){y.flags&=-257,$c(y,s,l,o,t),y.mode&1&&Nc(o,u,t),t=y,a=u;var g=t.updateQueue;if(g===null){var v=new Set;v.add(a),t.updateQueue=v}else g.add(a);break e}else{if(!(t&1)){Nc(o,u,t),mu();break e}a=Error(O(426))}}else if(X&&l.mode&1){var _=Lc(s);if(_!==null){!(_.flags&65536)&&(_.flags|=256),$c(_,s,l,o,t),qa(tr(a,l));break e}}o=a=tr(a,l),ce!==4&&(ce=2),Ir===null?Ir=[o]:Ir.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var h=bp(o,a,t);Cc(o,h);break e;case 1:l=a;var p=o.type,m=o.stateNode;if(!(o.flags&128)&&(typeof p.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(Kt===null||!Kt.has(m)))){o.flags|=65536,t&=-t,o.lanes|=t;var S=jp(o,l,t);Cc(o,S);break e}}o=o.return}while(o!==null)}Zp(n)}catch(x){t=x,ae===n&&n!==null&&(ae=n=n.return);continue}break}while(!0)}function Yp(){var e=Po.current;return Po.current=Co,e===null?Co:e}function mu(){(ce===0||ce===3||ce===2)&&(ce=4),de===null||!(vn&268435455)&&!(Xo&268435455)||It(de,ve)}function To(e,t){var n=F;F|=2;var r=Yp();(de!==e||ve!==t)&&(xt=null,dn(e,t));do try{Vy();break}catch(i){Xp(e,i)}while(!0);if(Ya(),F=n,Po.current=r,ae!==null)throw Error(O(261));return de=null,ve=0,ce}function Vy(){for(;ae!==null;)Jp(ae)}function Wy(){for(;ae!==null&&!gg();)Jp(ae)}function Jp(e){var t=th(e.alternate,e,Ie);e.memoizedProps=e.pendingProps,t===null?Zp(e):ae=t,cu.current=null}function Zp(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Fy(n,t),n!==null){n.flags&=32767,ae=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ce=6,ae=null;return}}else if(n=Iy(n,t,Ie),n!==null){ae=n;return}if(t=t.sibling,t!==null){ae=t;return}ae=t=e}while(t!==null);ce===0&&(ce=5)}function on(e,t,n){var r=H,i=Je.transition;try{Je.transition=null,H=1,Ky(e,t,n,r)}finally{Je.transition=i,H=r}return null}function Ky(e,t,n,r){do Kn();while(zt!==null);if(F&6)throw Error(O(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(O(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Og(e,o),e===de&&(ae=de=null,ve=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ai||(Ai=!0,nh(ao,function(){return Kn(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Je.transition,Je.transition=null;var s=H;H=1;var l=F;F|=4,cu.current=null,zy(e,n),Qp(n,e),dy(zl),co=!!Dl,zl=Dl=null,e.current=n,Uy(n),yg(),F=l,H=s,Je.transition=o}else e.current=n;if(Ai&&(Ai=!1,zt=e,_o=i),o=e.pendingLanes,o===0&&(Kt=null),Sg(n.stateNode),Ae(e,re()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Oo)throw Oo=!1,e=sa,sa=null,e;return _o&1&&e.tag!==0&&Kn(),o=e.pendingLanes,o&1?e===la?Fr++:(Fr=0,la=e):Fr=0,en(),null}function Kn(){if(zt!==null){var e=bd(_o),t=Je.transition,n=H;try{if(Je.transition=null,H=16>e?16:e,zt===null)var r=!1;else{if(e=zt,zt=null,_o=0,F&6)throw Error(O(331));var i=F;for(F|=4,L=e.current;L!==null;){var o=L,s=o.child;if(L.flags&16){var l=o.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for(L=u;L!==null;){var f=L;switch(f.tag){case 0:case 11:case 15:Mr(8,f,o)}var d=f.child;if(d!==null)d.return=f,L=d;else for(;L!==null;){f=L;var c=f.sibling,y=f.return;if(Vp(f),f===u){L=null;break}if(c!==null){c.return=y,L=c;break}L=y}}}var g=o.alternate;if(g!==null){var v=g.child;if(v!==null){g.child=null;do{var _=v.sibling;v.sibling=null,v=_}while(v!==null)}}L=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,L=s;else e:for(;L!==null;){if(o=L,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Mr(9,o,o.return)}var h=o.sibling;if(h!==null){h.return=o.return,L=h;break e}L=o.return}}var p=e.current;for(L=p;L!==null;){s=L;var m=s.child;if(s.subtreeFlags&2064&&m!==null)m.return=s,L=m;else e:for(s=p;L!==null;){if(l=L,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:qo(9,l)}}catch(x){ne(l,l.return,x)}if(l===s){L=null;break e}var S=l.sibling;if(S!==null){S.return=l.return,L=S;break e}L=l.return}}if(F=i,en(),vt&&typeof vt.onPostCommitFiberRoot=="function")try{vt.onPostCommitFiberRoot(Uo,e)}catch{}r=!0}return r}finally{H=n,Je.transition=t}}return!1}function Wc(e,t,n){t=tr(n,t),t=bp(e,t,1),e=Wt(e,t,1),t=_e(),e!==null&&(fi(e,1,t),Ae(e,t))}function ne(e,t,n){if(e.tag===3)Wc(e,e,n);else for(;t!==null;){if(t.tag===3){Wc(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Kt===null||!Kt.has(r))){e=tr(n,e),e=jp(t,e,1),t=Wt(t,e,1),e=_e(),t!==null&&(fi(t,1,e),Ae(t,e));break}}t=t.return}}function Qy(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=_e(),e.pingedLanes|=e.suspendedLanes&n,de===e&&(ve&n)===n&&(ce===4||ce===3&&(ve&130023424)===ve&&500>re()-du?dn(e,0):fu|=n),Ae(e,t)}function eh(e,t){t===0&&(e.mode&1?(t=Pi,Pi<<=1,!(Pi&130023424)&&(Pi=4194304)):t=1);var n=_e();e=Rt(e,t),e!==null&&(fi(e,t,n),Ae(e,n))}function Gy(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),eh(e,n)}function qy(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(O(314))}r!==null&&r.delete(t),eh(e,n)}var th;th=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||be.current)$e=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return $e=!1,My(e,t,n);$e=!!(e.flags&131072)}else $e=!1,X&&t.flags&1048576&&op(t,vo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Xi(e,t),e=t.pendingProps;var i=Yn(t,Ce.current);Wn(t,n),i=ou(null,t,r,e,i,n);var o=su();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,je(r)?(o=!0,go(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,eu(t),i.updater=Go,t.stateNode=i,i._reactInternals=t,ql(t,r,e,n),t=Jl(null,t,r,!0,o,n)):(t.tag=0,X&&o&&Qa(t),Oe(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Xi(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Yy(r),e=ot(r,e),i){case 0:t=Yl(null,t,r,e,n);break e;case 1:t=Ac(null,t,r,e,n);break e;case 11:t=bc(null,t,r,e,n);break e;case 14:t=jc(null,t,r,ot(r.type,e),n);break e}throw Error(O(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ot(r,i),Yl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ot(r,i),Ac(e,t,r,i,n);case 3:e:{if(Fp(t),e===null)throw Error(O(387));r=t.pendingProps,o=t.memoizedState,i=o.element,fp(e,t),xo(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=tr(Error(O(423)),t),t=Mc(e,t,r,n,i);break e}else if(r!==i){i=tr(Error(O(424)),t),t=Mc(e,t,r,n,i);break e}else for(De=Vt(t.stateNode.containerInfo.firstChild),ze=t,X=!0,lt=null,n=up(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Jn(),r===i){t=Nt(e,t,n);break e}Oe(e,t,r,n)}t=t.child}return t;case 5:return dp(t),e===null&&Kl(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Ul(r,i)?s=null:o!==null&&Ul(r,o)&&(t.flags|=32),Ip(e,t),Oe(e,t,s,n),t.child;case 6:return e===null&&Kl(t),null;case 13:return Dp(e,t,n);case 4:return tu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Zn(t,null,r,n):Oe(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ot(r,i),bc(e,t,r,i,n);case 7:return Oe(e,t,t.pendingProps,n),t.child;case 8:return Oe(e,t,t.pendingProps.children,n),t.child;case 12:return Oe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,K(wo,r._currentValue),r._currentValue=s,o!==null)if(ct(o.value,s)){if(o.children===i.children&&!be.current){t=Nt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=Pt(-1,n&-n),a.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?a.next=a:(a.next=f.next,f.next=a),u.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Ql(o.return,n,t),l.lanes|=n;break}a=a.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(O(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Ql(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Oe(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Wn(t,n),i=Ze(i),r=r(i),t.flags|=1,Oe(e,t,r,n),t.child;case 14:return r=t.type,i=ot(r,t.pendingProps),i=ot(r.type,i),jc(e,t,r,i,n);case 15:return Ap(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ot(r,i),Xi(e,t),t.tag=1,je(r)?(e=!0,go(t)):e=!1,Wn(t,n),$p(t,r,i),ql(t,r,i,n),Jl(null,t,r,!0,e,n);case 19:return zp(e,t,n);case 22:return Mp(e,t,n)}throw Error(O(156,t.tag))};function nh(e,t){return Rd(e,t)}function Xy(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 Ye(e,t,n,r){return new Xy(e,t,n,r)}function gu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Yy(e){if(typeof e=="function")return gu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Aa)return 11;if(e===Ma)return 14}return 2}function Gt(e,t){var n=e.alternate;return n===null?(n=Ye(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 Zi(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")gu(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Nn:return pn(n.children,i,o,t);case ja:s=8,i|=8;break;case wl:return e=Ye(12,n,t,i|2),e.elementType=wl,e.lanes=o,e;case Sl:return e=Ye(13,n,t,i),e.elementType=Sl,e.lanes=o,e;case xl:return e=Ye(19,n,t,i),e.elementType=xl,e.lanes=o,e;case dd:return Yo(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case cd:s=10;break e;case fd:s=9;break e;case Aa:s=11;break e;case Ma:s=14;break e;case jt:s=16,r=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=Ye(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function pn(e,t,n,r){return e=Ye(7,e,r,t),e.lanes=n,e}function Yo(e,t,n,r){return e=Ye(22,e,r,t),e.elementType=dd,e.lanes=n,e.stateNode={isHidden:!1},e}function ul(e,t,n){return e=Ye(6,e,null,t),e.lanes=n,e}function cl(e,t,n){return t=Ye(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Jy(e,t,n,r,i){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=Vs(0),this.expirationTimes=Vs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vs(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function yu(e,t,n,r,i,o,s,l,a){return e=new Jy(e,t,n,l,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ye(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},eu(o),e}function Zy(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Rn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function rh(e){if(!e)return Xt;e=e._reactInternals;e:{if(kn(e)!==e||e.tag!==1)throw Error(O(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(je(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(O(171))}if(e.tag===1){var n=e.type;if(je(n))return rp(e,n,t)}return t}function ih(e,t,n,r,i,o,s,l,a){return e=yu(n,r,!0,e,i,o,s,l,a),e.context=rh(null),n=e.current,r=_e(),i=Qt(n),o=Pt(r,i),o.callback=t??null,Wt(n,o,i),e.current.lanes=i,fi(e,i,r),Ae(e,r),e}function Jo(e,t,n,r){var i=t.current,o=_e(),s=Qt(i);return n=rh(n),t.context===null?t.context=n:t.pendingContext=n,t=Pt(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Wt(i,t,s),e!==null&&(ut(e,i,s,o),Qi(e,i,s)),s}function Ro(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 Kc(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function vu(e,t){Kc(e,t),(e=e.alternate)&&Kc(e,t)}function ev(){return null}var oh=typeof reportError=="function"?reportError:function(e){console.error(e)};function wu(e){this._internalRoot=e}Zo.prototype.render=wu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(O(409));Jo(e,t,null,null)};Zo.prototype.unmount=wu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;wn(function(){Jo(null,e,null,null)}),t[Tt]=null}};function Zo(e){this._internalRoot=e}Zo.prototype.unstable_scheduleHydration=function(e){if(e){var t=Md();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Mt.length&&t!==0&&t<Mt[n].priority;n++);Mt.splice(n,0,e),n===0&&Fd(e)}};function Su(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function es(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Qc(){}function tv(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=Ro(s);o.call(u)}}var s=ih(t,r,e,0,null,!1,!1,"",Qc);return e._reactRootContainer=s,e[Tt]=s.current,qr(e.nodeType===8?e.parentNode:e),wn(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var l=r;r=function(){var u=Ro(a);l.call(u)}}var a=yu(e,0,!1,null,null,!1,!1,"",Qc);return e._reactRootContainer=a,e[Tt]=a.current,qr(e.nodeType===8?e.parentNode:e),wn(function(){Jo(t,a,n,r)}),a}function ts(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var l=i;i=function(){var a=Ro(s);l.call(a)}}Jo(t,s,e,i)}else s=tv(n,t,e,i,r);return Ro(s)}jd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Or(t.pendingLanes);n!==0&&(Da(t,n|1),Ae(t,re()),!(F&6)&&(nr=re()+500,en()))}break;case 13:wn(function(){var r=Rt(e,1);if(r!==null){var i=_e();ut(r,e,1,i)}}),vu(e,1)}};za=function(e){if(e.tag===13){var t=Rt(e,134217728);if(t!==null){var n=_e();ut(t,e,134217728,n)}vu(e,134217728)}};Ad=function(e){if(e.tag===13){var t=Qt(e),n=Rt(e,t);if(n!==null){var r=_e();ut(n,e,t,r)}vu(e,t)}};Md=function(){return H};Id=function(e,t){var n=H;try{return H=e,t()}finally{H=n}};Ll=function(e,t,n){switch(t){case"input":if(Cl(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 i=Wo(r);if(!i)throw Error(O(90));hd(r),Cl(r,i)}}}break;case"textarea":gd(e,n);break;case"select":t=n.value,t!=null&&Un(e,!!n.multiple,t,!1)}};Ed=pu;Cd=wn;var nv={usingClientEntryPoint:!1,Events:[pi,jn,Wo,xd,kd,pu]},wr={findFiberByHostInstance:an,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},rv={bundleType:wr.bundleType,version:wr.version,rendererPackageName:wr.rendererPackageName,rendererConfig:wr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:$t.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=_d(e),e===null?null:e.stateNode},findFiberByHostInstance:wr.findFiberByHostInstance||ev,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 Mi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Mi.isDisabled&&Mi.supportsFiber)try{Uo=Mi.inject(rv),vt=Mi}catch{}}He.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nv;He.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Su(t))throw Error(O(200));return Zy(e,t,null,n)};He.createRoot=function(e,t){if(!Su(e))throw Error(O(299));var n=!1,r="",i=oh;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=yu(e,1,!1,null,null,n,!1,r,i),e[Tt]=t.current,qr(e.nodeType===8?e.parentNode:e),new wu(t)};He.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(O(188)):(e=Object.keys(e).join(","),Error(O(268,e)));return e=_d(t),e=e===null?null:e.stateNode,e};He.flushSync=function(e){return wn(e)};He.hydrate=function(e,t,n){if(!es(t))throw Error(O(200));return ts(null,e,t,!0,n)};He.hydrateRoot=function(e,t,n){if(!Su(e))throw Error(O(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=oh;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=ih(t,null,e,1,n??null,i,!1,o,s),e[Tt]=t.current,qr(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Zo(t)};He.render=function(e,t,n){if(!es(t))throw Error(O(200));return ts(null,e,t,!1,n)};He.unmountComponentAtNode=function(e){if(!es(e))throw Error(O(40));return e._reactRootContainer?(wn(function(){ts(null,null,e,!1,function(){e._reactRootContainer=null,e[Tt]=null})}),!0):!1};He.unstable_batchedUpdates=pu;He.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!es(n))throw Error(O(200));if(e==null||e._reactInternals===void 0)throw Error(O(38));return ts(e,t,n,!1,r)};He.version="18.3.1-next-f1338f8080-20240426";function sh(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(sh)}catch(e){console.error(e)}}sh(),sd.exports=He;var lh=sd.exports;const Ii=Oa(lh);var Gc={},qc=lh;Gc.createRoot=qc.createRoot,Gc.hydrateRoot=qc.hydrateRoot;function ah(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=ah(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ca(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ah(e))&&(r&&(r+=" "),r+=t);return r}function Q(){return Q=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},Q.apply(null,arguments)}function Ft(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 uh(e){if(!Ft(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=uh(e[n])}),t}function ii(e,t,n={clone:!0}){const r=n.clone?Q({},e):e;return Ft(e)&&Ft(t)&&Object.keys(t).forEach(i=>{Ft(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Ft(e[i])?r[i]=ii(e[i],t[i],n):n.clone?r[i]=Ft(t[i])?uh(t[i]):t[i]:r[i]=t[i]}),r}const iv=Object.freeze(Object.defineProperty({__proto__:null,default:ii,isPlainObject:Ft},Symbol.toStringTag,{value:"Module"}));function ch(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 ov=Object.freeze(Object.defineProperty({__proto__:null,default:ch},Symbol.toStringTag,{value:"Module"}));var fh={exports:{}},V={};/**
* @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 xu=Symbol.for("react.element"),ku=Symbol.for("react.portal"),ns=Symbol.for("react.fragment"),rs=Symbol.for("react.strict_mode"),is=Symbol.for("react.profiler"),os=Symbol.for("react.provider"),ss=Symbol.for("react.context"),sv=Symbol.for("react.server_context"),ls=Symbol.for("react.forward_ref"),as=Symbol.for("react.suspense"),us=Symbol.for("react.suspense_list"),cs=Symbol.for("react.memo"),fs=Symbol.for("react.lazy"),lv=Symbol.for("react.offscreen"),dh;dh=Symbol.for("react.module.reference");function nt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case xu:switch(e=e.type,e){case ns:case is:case rs:case as:case us:return e;default:switch(e=e&&e.$$typeof,e){case sv:case ss:case ls:case fs:case cs:case os:return e;default:return t}}case ku:return t}}}V.ContextConsumer=ss;V.ContextProvider=os;V.Element=xu;V.ForwardRef=ls;V.Fragment=ns;V.Lazy=fs;V.Memo=cs;V.Portal=ku;V.Profiler=is;V.StrictMode=rs;V.Suspense=as;V.SuspenseList=us;V.isAsyncMode=function(){return!1};V.isConcurrentMode=function(){return!1};V.isContextConsumer=function(e){return nt(e)===ss};V.isContextProvider=function(e){return nt(e)===os};V.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===xu};V.isForwardRef=function(e){return nt(e)===ls};V.isFragment=function(e){return nt(e)===ns};V.isLazy=function(e){return nt(e)===fs};V.isMemo=function(e){return nt(e)===cs};V.isPortal=function(e){return nt(e)===ku};V.isProfiler=function(e){return nt(e)===is};V.isStrictMode=function(e){return nt(e)===rs};V.isSuspense=function(e){return nt(e)===as};V.isSuspenseList=function(e){return nt(e)===us};V.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ns||e===is||e===rs||e===as||e===us||e===lv||typeof e=="object"&&e!==null&&(e.$$typeof===fs||e.$$typeof===cs||e.$$typeof===os||e.$$typeof===ss||e.$$typeof===ls||e.$$typeof===dh||e.getModuleId!==void 0)};V.typeOf=nt;fh.exports=V;var Xc=fh.exports;const av=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function ph(e){const t=`${e}`.match(av);return t&&t[1]||""}function hh(e,t=""){return e.displayName||e.name||ph(e)||t}function Yc(e,t,n){const r=hh(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function uv(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return hh(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Xc.ForwardRef:return Yc(e,e.render,"ForwardRef");case Xc.Memo:return Yc(e,e.type,"memo");default:return}}}const cv=Object.freeze(Object.defineProperty({__proto__:null,default:uv,getFunctionName:ph},Symbol.toStringTag,{value:"Module"}));function Eu(e){if(typeof e!="string")throw new Error(ch(7));return e.charAt(0).toUpperCase()+e.slice(1)}const fv=Object.freeze(Object.defineProperty({__proto__:null,default:Eu},Symbol.toStringTag,{value:"Module"}));function nx(...e){return e.reduce((t,n)=>n==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function rx(e,t=166){let n;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(o,t)}return r.clear=()=>{clearTimeout(n)},r}function ix(e,t){var n,r;return b.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function dv(e){return e&&e.ownerDocument||document}function ox(e){return dv(e).defaultView||window}function pv(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const hv=typeof window<"u"?b.useLayoutEffect:b.useEffect;let Jc=0;function mv(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(Jc+=1,n(`mui-${Jc}`))},[t]),r}const Zc=yl.useId;function sx(e){if(Zc!==void 0){const t=Zc();return e??t}return mv(e)}function lx({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=b.useRef(e!==void 0),[o,s]=b.useState(t),l=i?e:o,a=b.useCallback(u=>{i||s(u)},[]);return[l,a]}function ax(e){const t=b.useRef(e);return hv(()=>{t.current=e}),b.useRef((...n)=>(0,t.current)(...n)).current}function gv(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{pv(n,t)})},e)}const ef={};function yv(e,t){const n=b.useRef(ef);return n.current===ef&&(n.current=e(t)),n}const vv=[];function wv(e){b.useEffect(e,vv)}class ds{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new ds}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function ux(){const e=yv(ds.create).current;return wv(e.disposeEffect),e}let ps=!0,fa=!1;const Sv=new ds,xv={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 kv(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&xv[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Ev(e){e.metaKey||e.altKey||e.ctrlKey||(ps=!0)}function fl(){ps=!1}function Cv(){this.visibilityState==="hidden"&&fa&&(ps=!0)}function Pv(e){e.addEventListener("keydown",Ev,!0),e.addEventListener("mousedown",fl,!0),e.addEventListener("pointerdown",fl,!0),e.addEventListener("touchstart",fl,!0),e.addEventListener("visibilitychange",Cv,!0)}function Ov(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return ps||kv(t)}function cx(){const e=b.useCallback(i=>{i!=null&&Pv(i.ownerDocument)},[]),t=b.useRef(!1);function n(){return t.current?(fa=!0,Sv.start(100,()=>{fa=!1}),t.current=!1,!0):!1}function r(i){return Ov(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function fx(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function da(e,t){const n=Q({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=Q({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},o=t[r];n[r]={},!o||!Object.keys(o)?n[r]=i:!i||!Object.keys(i)?n[r]=o:(n[r]=Q({},o),Object.keys(i).forEach(s=>{n[r][s]=da(i[s],o[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function dx(e,t,n=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((o,s)=>{if(s){const l=t(s);l!==""&&o.push(l),n&&n[s]&&o.push(n[s])}return o},[]).join(" ")}),r}const tf=e=>e,_v=()=>{let e=tf;return{configure(t){e=t},generate(t){return e(t)},reset(){e=tf}}},Tv=_v(),Rv={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 Nv(e,t,n="Mui"){const r=Rv[t];return r?`${n}-${r}`:`${Tv.generate(e)}-${t}`}function px(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=Nv(e,i,n)}),r}function Lv(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const $v=Object.freeze(Object.defineProperty({__proto__:null,default:Lv},Symbol.toStringTag,{value:"Module"}));function En(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 bv(e){return typeof e=="string"}function jv(e,t,n){return e===void 0||bv(e)?t:Q({},t,{ownerState:Q({},t.ownerState,n)})}function Av(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function nf(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function Mv(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!t){const y=ca(n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),g=Q({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),v=Q({},n,i,r);return y.length>0&&(v.className=y),Object.keys(g).length>0&&(v.style=g),{props:v,internalRef:void 0}}const s=Av(Q({},i,r)),l=nf(r),a=nf(i),u=t(s),f=ca(u==null?void 0:u.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),d=Q({},u==null?void 0:u.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),c=Q({},u,n,a,l);return f.length>0&&(c.className=f),Object.keys(d).length>0&&(c.style=d),{props:c,internalRef:u.ref}}function Iv(e,t,n){return typeof e=="function"?e(t,n):e}const Fv=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function hx(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=e,s=En(e,Fv),l=o?{}:Iv(r,i),{props:a,internalRef:u}=Mv(Q({},s,{externalSlotProps:l})),f=gv(u,l==null?void 0:l.ref,(t=e.additionalProps)==null?void 0:t.ref);return jv(n,Q({},a,{ref:f}),i)}const Dv=b.createContext(void 0);function zv(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const i=t.components[n];return i.defaultProps?da(i.defaultProps,r):!i.styleOverrides&&!i.variants?da(i,r):r}function mx({props:e,name:t}){const n=b.useContext(Dv);return zv({props:e,name:t,theme:{components:n}})}var mi={},mh={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})(mh);var gh=mh.exports,dl={exports:{}},rf;function Uv(){return rf||(rf=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 i=arguments[r];for(var o in i)({}).hasOwnProperty.call(i,o)&&(n[o]=i[o])}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}(dl)),dl.exports}var pl={exports:{}},of;function Bv(){return of||(of=1,function(e){function t(n,r){if(n==null)return{};var i={};for(var o in n)if({}.hasOwnProperty.call(n,o)){if(r.includes(o))continue;i[o]=n[o]}return i}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(pl)),pl.exports}function yh(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Hv=/^((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)-.*))$/,Vv=yh(function(e){return Hv.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Wv=!1;function Kv(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 Qv(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 Gv=function(){function e(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!Wv: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(Qv(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Kv(i);try{o.insertRule(r,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},e}(),ke="-ms-",No="-moz-",D="-webkit-",vh="comm",Cu="rule",Pu="decl",qv="@import",wh="@keyframes",Xv="@layer",Yv=Math.abs,hs=String.fromCharCode,Jv=Object.assign;function Zv(e,t){return ye(e,0)^45?(((t<<2^ye(e,0))<<2^ye(e,1))<<2^ye(e,2))<<2^ye(e,3):0}function Sh(e){return e.trim()}function e1(e,t){return(e=t.exec(e))?e[0]:e}function z(e,t,n){return e.replace(t,n)}function pa(e,t){return e.indexOf(t)}function ye(e,t){return e.charCodeAt(t)|0}function oi(e,t,n){return e.slice(t,n)}function pt(e){return e.length}function Ou(e){return e.length}function Fi(e,t){return t.push(e),e}function t1(e,t){return e.map(t).join("")}var ms=1,rr=1,xh=0,Me=0,le=0,ur="";function gs(e,t,n,r,i,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:ms,column:rr,length:s,return:""}}function Sr(e,t){return Jv(gs("",null,null,"",null,null,0),e,{length:-e.length},t)}function n1(){return le}function r1(){return le=Me>0?ye(ur,--Me):0,rr--,le===10&&(rr=1,ms--),le}function Ue(){return le=Me<xh?ye(ur,Me++):0,rr++,le===10&&(rr=1,ms++),le}function St(){return ye(ur,Me)}function eo(){return Me}function gi(e,t){return oi(ur,e,t)}function si(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 kh(e){return ms=rr=1,xh=pt(ur=e),Me=0,[]}function Eh(e){return ur="",e}function to(e){return Sh(gi(Me-1,ha(e===91?e+2:e===40?e+1:e)))}function i1(e){for(;(le=St())&&le<33;)Ue();return si(e)>2||si(le)>3?"":" "}function o1(e,t){for(;--t&&Ue()&&!(le<48||le>102||le>57&&le<65||le>70&&le<97););return gi(e,eo()+(t<6&&St()==32&&Ue()==32))}function ha(e){for(;Ue();)switch(le){case e:return Me;case 34:case 39:e!==34&&e!==39&&ha(le);break;case 40:e===41&&ha(e);break;case 92:Ue();break}return Me}function s1(e,t){for(;Ue()&&e+le!==57;)if(e+le===84&&St()===47)break;return"/*"+gi(t,Me-1)+"*"+hs(e===47?e:Ue())}function l1(e){for(;!si(St());)Ue();return gi(e,Me)}function a1(e){return Eh(no("",null,null,null,[""],e=kh(e),0,[0],e))}function no(e,t,n,r,i,o,s,l,a){for(var u=0,f=0,d=s,c=0,y=0,g=0,v=1,_=1,h=1,p=0,m="",S=i,x=o,C=r,k=m;_;)switch(g=p,p=Ue()){case 40:if(g!=108&&ye(k,d-1)==58){pa(k+=z(to(p),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:k+=to(p);break;case 9:case 10:case 13:case 32:k+=i1(g);break;case 92:k+=o1(eo()-1,7);continue;case 47:switch(St()){case 42:case 47:Fi(u1(s1(Ue(),eo()),t,n),a);break;default:k+="/"}break;case 123*v:l[u++]=pt(k)*h;case 125*v:case 59:case 0:switch(p){case 0:case 125:_=0;case 59+f:h==-1&&(k=z(k,/\f/g,"")),y>0&&pt(k)-d&&Fi(y>32?lf(k+";",r,n,d-1):lf(z(k," ","")+";",r,n,d-2),a);break;case 59:k+=";";default:if(Fi(C=sf(k,t,n,u,f,i,l,m,S=[],x=[],d),o),p===123)if(f===0)no(k,t,C,C,S,o,d,l,x);else switch(c===99&&ye(k,3)===110?100:c){case 100:case 108:case 109:case 115:no(e,C,C,r&&Fi(sf(e,C,C,0,0,i,l,m,i,S=[],d),x),i,x,d,l,r?S:x);break;default:no(k,C,C,C,[""],x,0,l,x)}}u=f=y=0,v=h=1,m=k="",d=s;break;case 58:d=1+pt(k),y=g;default:if(v<1){if(p==123)--v;else if(p==125&&v++==0&&r1()==125)continue}switch(k+=hs(p),p*v){case 38:h=f>0?1:(k+="\f",-1);break;case 44:l[u++]=(pt(k)-1)*h,h=1;break;case 64:St()===45&&(k+=to(Ue())),c=St(),f=d=pt(m=k+=l1(eo())),p++;break;case 45:g===45&&pt(k)==2&&(v=0)}}return o}function sf(e,t,n,r,i,o,s,l,a,u,f){for(var d=i-1,c=i===0?o:[""],y=Ou(c),g=0,v=0,_=0;g<r;++g)for(var h=0,p=oi(e,d+1,d=Yv(v=s[g])),m=e;h<y;++h)(m=Sh(v>0?c[h]+" "+p:z(p,/&\f/g,c[h])))&&(a[_++]=m);return gs(e,t,n,i===0?Cu:l,a,u,f)}function u1(e,t,n){return gs(e,t,n,vh,hs(n1()),oi(e,2,-2),0)}function lf(e,t,n,r){return gs(e,t,n,Pu,oi(e,0,r),oi(e,r+1,-1),r)}function Qn(e,t){for(var n="",r=Ou(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function c1(e,t,n,r){switch(e.type){case Xv:if(e.children.length)break;case qv:case Pu:return e.return=e.return||e.value;case vh:return"";case wh:return e.return=e.value+"{"+Qn(e.children,r)+"}";case Cu:e.value=e.props.join(",")}return pt(n=Qn(e.children,r))?e.return=e.value+"{"+n+"}":""}function f1(e){var t=Ou(e);return function(n,r,i,o){for(var s="",l=0;l<t;l++)s+=e[l](n,r,i,o)||"";return s}}function d1(e){return function(t){t.root||(t=t.return)&&e(t)}}var p1=function(t,n,r){for(var i=0,o=0;i=o,o=St(),i===38&&o===12&&(n[r]=1),!si(o);)Ue();return gi(t,Me)},h1=function(t,n){var r=-1,i=44;do switch(si(i)){case 0:i===38&&St()===12&&(n[r]=1),t[r]+=p1(Me-1,n,r);break;case 2:t[r]+=to(i);break;case 4:if(i===44){t[++r]=St()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=hs(i)}while(i=Ue());return t},m1=function(t,n){return Eh(h1(kh(t),n))},af=new WeakMap,g1=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=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&&!af.get(r))&&!i){af.set(t,!0);for(var o=[],s=m1(n,o),l=r.props,a=0,u=0;a<s.length;a++)for(var f=0;f<l.length;f++,u++)t.props[u]=o[a]?s[a].replace(/&\f/g,l[f]):l[f]+" "+s[a]}}},y1=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Ch(e,t){switch(Zv(e,t)){case 5103:return D+"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 D+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return D+e+No+e+ke+e+e;case 6828:case 4268:return D+e+ke+e+e;case 6165:return D+e+ke+"flex-"+e+e;case 5187:return D+e+z(e,/(\w+).+(:[^]+)/,D+"box-$1$2"+ke+"flex-$1$2")+e;case 5443:return D+e+ke+"flex-item-"+z(e,/flex-|-self/,"")+e;case 4675:return D+e+ke+"flex-line-pack"+z(e,/align-content|flex-|-self/,"")+e;case 5548:return D+e+ke+z(e,"shrink","negative")+e;case 5292:return D+e+ke+z(e,"basis","preferred-size")+e;case 6060:return D+"box-"+z(e,"-grow","")+D+e+ke+z(e,"grow","positive")+e;case 4554:return D+z(e,/([^-])(transform)/g,"$1"+D+"$2")+e;case 6187:return z(z(z(e,/(zoom-|grab)/,D+"$1"),/(image-set)/,D+"$1"),e,"")+e;case 5495:case 3959:return z(e,/(image-set\([^]*)/,D+"$1$`$1");case 4968:return z(z(e,/(.+:)(flex-)?(.*)/,D+"box-pack:$3"+ke+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+D+e+e;case 4095:case 3583:case 4068:case 2532:return z(e,/(.+)-inline(.+)/,D+"$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(pt(e)-1-t>6)switch(ye(e,t+1)){case 109:if(ye(e,t+4)!==45)break;case 102:return z(e,/(.+:)(.+)-([^]+)/,"$1"+D+"$2-$3$1"+No+(ye(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~pa(e,"stretch")?Ch(z(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ye(e,t+1)!==115)break;case 6444:switch(ye(e,pt(e)-3-(~pa(e,"!important")&&10))){case 107:return z(e,":",":"+D)+e;case 101:return z(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+D+(ye(e,14)===45?"inline-":"")+"box$3$1"+D+"$2$3$1"+ke+"$2box$3")+e}break;case 5936:switch(ye(e,t+11)){case 114:return D+e+ke+z(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return D+e+ke+z(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return D+e+ke+z(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return D+e+ke+e+e}return e}var v1=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case Pu:t.return=Ch(t.value,t.length);break;case wh:return Qn([Sr(t,{value:z(t.value,"@","@"+D)})],i);case Cu:if(t.length)return t1(t.props,function(o){switch(e1(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Qn([Sr(t,{props:[z(o,/:(read-\w+)/,":"+No+"$1")]})],i);case"::placeholder":return Qn([Sr(t,{props:[z(o,/:(plac\w+)/,":"+D+"input-$1")]}),Sr(t,{props:[z(o,/:(plac\w+)/,":"+No+"$1")]}),Sr(t,{props:[z(o,/:(plac\w+)/,ke+"input-$1")]})],i)}return""})}},w1=[v1],Ph=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(v){var _=v.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var i=t.stylisPlugins||w1,o={},s,l=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var _=v.getAttribute("data-emotion").split(" "),h=1;h<_.length;h++)o[_[h]]=!0;l.push(v)});var a,u=[g1,y1];{var f,d=[c1,d1(function(v){f.insert(v)})],c=f1(u.concat(i,d)),y=function(_){return Qn(a1(_),c)};a=function(_,h,p,m){f=p,y(_?_+"{"+h.styles+"}":h.styles),m&&(g.inserted[h.name]=!0)}}var g={key:n,sheet:new Gv({key:n,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:a};return g.sheet.hydrate(l),g},Oh={exports:{}},W={};/** @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 pe=typeof Symbol=="function"&&Symbol.for,_u=pe?Symbol.for("react.element"):60103,Tu=pe?Symbol.for("react.portal"):60106,ys=pe?Symbol.for("react.fragment"):60107,vs=pe?Symbol.for("react.strict_mode"):60108,ws=pe?Symbol.for("react.profiler"):60114,Ss=pe?Symbol.for("react.provider"):60109,xs=pe?Symbol.for("react.context"):60110,Ru=pe?Symbol.for("react.async_mode"):60111,ks=pe?Symbol.for("react.concurrent_mode"):60111,Es=pe?Symbol.for("react.forward_ref"):60112,Cs=pe?Symbol.for("react.suspense"):60113,S1=pe?Symbol.for("react.suspense_list"):60120,Ps=pe?Symbol.for("react.memo"):60115,Os=pe?Symbol.for("react.lazy"):60116,x1=pe?Symbol.for("react.block"):60121,k1=pe?Symbol.for("react.fundamental"):60117,E1=pe?Symbol.for("react.responder"):60118,C1=pe?Symbol.for("react.scope"):60119;function We(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case _u:switch(e=e.type,e){case Ru:case ks:case ys:case ws:case vs:case Cs:return e;default:switch(e=e&&e.$$typeof,e){case xs:case Es:case Os:case Ps:case Ss:return e;default:return t}}case Tu:return t}}}function _h(e){return We(e)===ks}W.AsyncMode=Ru;W.ConcurrentMode=ks;W.ContextConsumer=xs;W.ContextProvider=Ss;W.Element=_u;W.ForwardRef=Es;W.Fragment=ys;W.Lazy=Os;W.Memo=Ps;W.Portal=Tu;W.Profiler=ws;W.StrictMode=vs;W.Suspense=Cs;W.isAsyncMode=function(e){return _h(e)||We(e)===Ru};W.isConcurrentMode=_h;W.isContextConsumer=function(e){return We(e)===xs};W.isContextProvider=function(e){return We(e)===Ss};W.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===_u};W.isForwardRef=function(e){return We(e)===Es};W.isFragment=function(e){return We(e)===ys};W.isLazy=function(e){return We(e)===Os};W.isMemo=function(e){return We(e)===Ps};W.isPortal=function(e){return We(e)===Tu};W.isProfiler=function(e){return We(e)===ws};W.isStrictMode=function(e){return We(e)===vs};W.isSuspense=function(e){return We(e)===Cs};W.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ys||e===ks||e===ws||e===vs||e===Cs||e===S1||typeof e=="object"&&e!==null&&(e.$$typeof===Os||e.$$typeof===Ps||e.$$typeof===Ss||e.$$typeof===xs||e.$$typeof===Es||e.$$typeof===k1||e.$$typeof===E1||e.$$typeof===C1||e.$$typeof===x1)};W.typeOf=We;Oh.exports=W;var P1=Oh.exports,Th=P1,O1={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},_1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Rh={};Rh[Th.ForwardRef]=O1;Rh[Th.Memo]=_1;var T1=!0;function R1(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var Nh=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||T1===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},Lh=function(t,n,r){Nh(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function N1(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=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(i){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 L1={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},$1=!1,b1=/[A-Z]|^ms/g,j1=/_EMO_([^_]+?)_([^]*?)_EMO_/g,$h=function(t){return t.charCodeAt(1)===45},uf=function(t){return t!=null&&typeof t!="boolean"},hl=yh(function(e){return $h(e)?e:e.replace(b1,"-$&").toLowerCase()}),cf=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(j1,function(r,i,o){return ht={name:i,styles:o,next:ht},i})}return L1[t]!==1&&!$h(t)&&typeof n=="number"&&n!==0?n+"px":n},A1="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function li(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 i=n;if(i.anim===1)return ht={name:i.name,styles:i.styles,next:ht},i.name;var o=n;if(o.styles!==void 0){var s=o.next;if(s!==void 0)for(;s!==void 0;)ht={name:s.name,styles:s.styles,next:ht},s=s.next;var l=o.styles+";";return l}return M1(e,t,n)}case"function":{if(e!==void 0){var a=ht,u=n(e);return ht=a,li(e,t,u)}break}}var f=n;if(t==null)return f;var d=t[f];return d!==void 0?d:f}function M1(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=li(e,t,n[i])+";";else for(var o in n){var s=n[o];if(typeof s!="object"){var l=s;t!=null&&t[l]!==void 0?r+=o+"{"+t[l]+"}":uf(l)&&(r+=hl(o)+":"+cf(o,l)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&$1)throw new Error(A1);if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)uf(s[a])&&(r+=hl(o)+":"+cf(o,s[a])+";");else{var u=li(e,t,s);switch(o){case"animation":case"animationName":{r+=hl(o)+":"+u+";";break}default:r+=o+"{"+u+"}"}}}}return r}var ff=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ht;function Nu(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,i="";ht=void 0;var o=e[0];if(o==null||o.raw===void 0)r=!1,i+=li(n,t,o);else{var s=o;i+=s[0]}for(var l=1;l<e.length;l++)if(i+=li(n,t,e[l]),r){var a=o;i+=a[l]}ff.lastIndex=0;for(var u="",f;(f=ff.exec(i))!==null;)u+="-"+f[1];var d=N1(i)+u;return{name:d,styles:i,next:ht}}var I1=function(t){return t()},bh=yl.useInsertionEffect?yl.useInsertionEffect:!1,F1=bh||I1,df=bh||b.useLayoutEffect,jh=b.createContext(typeof HTMLElement<"u"?Ph({key:"css"}):null),D1=jh.Provider,Ah=function(t){return b.forwardRef(function(n,r){var i=b.useContext(jh);return t(n,i,r)})},_s=b.createContext({}),z1=Ah(function(e,t){var n=e.styles,r=Nu([n],void 0,b.useContext(_s)),i=b.useRef();return df(function(){var o=t.key+"-global",s=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,a=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),a!==null&&(l=!0,a.setAttribute("data-emotion",o),s.hydrate([a])),i.current=[s,l],function(){s.flush()}},[t]),df(function(){var o=i.current,s=o[0],l=o[1];if(l){o[1]=!1;return}if(r.next!==void 0&&Lh(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 Mh(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Nu(t)}var U1=function(){var t=Mh.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_"}}},B1=Vv,H1=function(t){return t!=="theme"},pf=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?B1:H1},hf=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},V1=!1,W1=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Nh(n,r,i),F1(function(){return Lh(n,r,i)}),null},K1=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,s;n!==void 0&&(o=n.label,s=n.target);var l=hf(t,n,r),a=l||pf(i),u=!a("as");return function(){var f=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),f[0]==null||f[0].raw===void 0)d.push.apply(d,f);else{d.push(f[0][0]);for(var c=f.length,y=1;y<c;y++)d.push(f[y],f[0][y])}var g=Ah(function(v,_,h){var p=u&&v.as||i,m="",S=[],x=v;if(v.theme==null){x={};for(var C in v)x[C]=v[C];x.theme=b.useContext(_s)}typeof v.className=="string"?m=R1(_.registered,S,v.className):v.className!=null&&(m=v.className+" ");var k=Nu(d.concat(S),_.registered,x);m+=_.key+"-"+k.name,s!==void 0&&(m+=" "+s);var T=u&&l===void 0?pf(p):a,j={};for(var $ in v)u&&$==="as"||T($)&&(j[$]=v[$]);return j.className=m,h&&(j.ref=h),b.createElement(b.Fragment,null,b.createElement(W1,{cache:_,serialized:k,isStringTag:typeof p=="string"}),b.createElement(p,j))});return g.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=i,g.__emotion_styles=d,g.__emotion_forwardProp=l,Object.defineProperty(g,"toString",{value:function(){return s===void 0&&V1?"NO_COMPONENT_SELECTOR":"."+s}}),g.withComponent=function(v,_){return e(v,Q({},n,_,{shouldForwardProp:hf(g,_,!0)})).apply(void 0,d)},g}},Q1=["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"],ma=K1.bind();Q1.forEach(function(e){ma[e]=ma(e)});let ga;typeof document=="object"&&(ga=Ph({key:"css",prepend:!0}));function G1(e){const{injectFirst:t,children:n}=e;return t&&ga?sr.jsx(D1,{value:ga,children:n}):n}function q1(e){return e==null||Object.keys(e).length===0}function Ih(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?i=>t(q1(i)?n:i):t;return sr.jsx(z1,{styles:r})}function Fh(e,t){return ma(e,t)}const X1=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Y1=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Ih,StyledEngineProvider:G1,ThemeContext:_s,css:Mh,default:Fh,internal_processStyles:X1,keyframes:U1},Symbol.toStringTag,{value:"Module"})),J1=Yt(Y1),Z1=Yt(iv),e0=Yt(fv),t0=Yt(cv),n0=["values","unit","step"],r0=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)=>Q({},n,{[r.key]:r.val}),{})};function Dh(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=En(e,n0),o=r0(t),s=Object.keys(o);function l(c){return`@media (min-width:${typeof t[c]=="number"?t[c]:c}${n})`}function a(c){return`@media (max-width:${(typeof t[c]=="number"?t[c]:c)-r/100}${n})`}function u(c,y){const g=s.indexOf(y);return`@media (min-width:${typeof t[c]=="number"?t[c]:c}${n}) and (max-width:${(g!==-1&&typeof t[s[g]]=="number"?t[s[g]]:y)-r/100}${n})`}function f(c){return s.indexOf(c)+1<s.length?u(c,s[s.indexOf(c)+1]):l(c)}function d(c){const y=s.indexOf(c);return y===0?l(s[1]):y===s.length-1?a(s[y]):u(c,s[s.indexOf(c)+1]).replace("@media","@media not all and")}return Q({keys:s,values:o,up:l,down:a,between:u,only:f,not:d,unit:n},i)}const i0={borderRadius:4};function Dr(e,t){return t?ii(e,t,{clone:!1}):e}const Lu={xs:0,sm:600,md:900,lg:1200,xl:1536},mf={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Lu[e]}px)`};function Lt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||mf;return t.reduce((s,l,a)=>(s[o.up(o.keys[a])]=n(t[a]),s),{})}if(typeof t=="object"){const o=r.breakpoints||mf;return Object.keys(t).reduce((s,l)=>{if(Object.keys(o.values||Lu).indexOf(l)!==-1){const a=o.up(l);s[a]=n(t[l],l)}else{const a=l;s[a]=t[a]}return s},{})}return n(t)}function o0(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function s0(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function l0(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((i,o)=>{o<e.length&&(n[i]=!0)}):r.forEach(i=>{e[i]!=null&&(n[i]=!0)}),n}function gx({values:e,breakpoints:t,base:n}){const r=n||l0(e,t),i=Object.keys(r);if(i.length===0)return e;let o;return i.reduce((s,l,a)=>(Array.isArray(e)?(s[l]=e[a]!=null?e[a]:e[o],o=a):typeof e=="object"?(s[l]=e[l]!=null?e[l]:e[o],o=l):s[l]=e,s),{})}function Ts(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function Lo(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=Ts(e,n)||r,t&&(i=t(i,r,e)),i}function ie(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,o=s=>{if(s[t]==null)return null;const l=s[t],a=s.theme,u=Ts(a,r)||{};return Lt(s,l,d=>{let c=Lo(u,i,d);return d===c&&typeof d=="string"&&(c=Lo(u,i,`${t}${d==="default"?"":Eu(d)}`,d)),n===!1?c:{[n]:c}})};return o.propTypes={},o.filterProps=[t],o}function a0(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const u0={m:"margin",p:"padding"},c0={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},gf={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},f0=a0(e=>{if(e.length>2)if(gf[e])e=gf[e];else return[e];const[t,n]=e.split(""),r=u0[t],i=c0[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),$u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],bu=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...$u,...bu];function yi(e,t,n,r){var i;const o=(i=Ts(e,t,!1))!=null?i:n;return typeof o=="number"?s=>typeof s=="string"?s:o*s:Array.isArray(o)?s=>typeof s=="string"?s:o[s]:typeof o=="function"?o:()=>{}}function zh(e){return yi(e,"spacing",8)}function vi(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 d0(e,t){return n=>e.reduce((r,i)=>(r[i]=vi(t,n),r),{})}function p0(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=f0(n),o=d0(i,r),s=e[n];return Lt(e,s,o)}function Uh(e,t){const n=zh(e.theme);return Object.keys(e).map(r=>p0(e,t,r,n)).reduce(Dr,{})}function ee(e){return Uh(e,$u)}ee.propTypes={};ee.filterProps=$u;function te(e){return Uh(e,bu)}te.propTypes={};te.filterProps=bu;function h0(e=8){if(e.mui)return e;const t=zh({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(o=>{const s=t(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Rs(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>t[o]?Dr(i,t[o](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function Xe(e){return typeof e!="number"?e:`${e}px solid`}function rt(e,t){return ie({prop:e,themeKey:"borders",transform:t})}const m0=rt("border",Xe),g0=rt("borderTop",Xe),y0=rt("borderRight",Xe),v0=rt("borderBottom",Xe),w0=rt("borderLeft",Xe),S0=rt("borderColor"),x0=rt("borderTopColor"),k0=rt("borderRightColor"),E0=rt("borderBottomColor"),C0=rt("borderLeftColor"),P0=rt("outline",Xe),O0=rt("outlineColor"),Ns=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=yi(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:vi(t,r)});return Lt(e,e.borderRadius,n)}return null};Ns.propTypes={};Ns.filterProps=["borderRadius"];Rs(m0,g0,y0,v0,w0,S0,x0,k0,E0,C0,Ns,P0,O0);const Ls=e=>{if(e.gap!==void 0&&e.gap!==null){const t=yi(e.theme,"spacing",8),n=r=>({gap:vi(t,r)});return Lt(e,e.gap,n)}return null};Ls.propTypes={};Ls.filterProps=["gap"];const $s=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=yi(e.theme,"spacing",8),n=r=>({columnGap:vi(t,r)});return Lt(e,e.columnGap,n)}return null};$s.propTypes={};$s.filterProps=["columnGap"];const bs=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=yi(e.theme,"spacing",8),n=r=>({rowGap:vi(t,r)});return Lt(e,e.rowGap,n)}return null};bs.propTypes={};bs.filterProps=["rowGap"];const _0=ie({prop:"gridColumn"}),T0=ie({prop:"gridRow"}),R0=ie({prop:"gridAutoFlow"}),N0=ie({prop:"gridAutoColumns"}),L0=ie({prop:"gridAutoRows"}),$0=ie({prop:"gridTemplateColumns"}),b0=ie({prop:"gridTemplateRows"}),j0=ie({prop:"gridTemplateAreas"}),A0=ie({prop:"gridArea"});Rs(Ls,$s,bs,_0,T0,R0,N0,L0,$0,b0,j0,A0);function Gn(e,t){return t==="grey"?t:e}const M0=ie({prop:"color",themeKey:"palette",transform:Gn}),I0=ie({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Gn}),F0=ie({prop:"backgroundColor",themeKey:"palette",transform:Gn});Rs(M0,I0,F0);function Fe(e){return e<=1&&e!==0?`${e*100}%`:e}const D0=ie({prop:"width",transform:Fe}),ju=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i;const o=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||Lu[n];return o?((i=e.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Fe(n)}};return Lt(e,e.maxWidth,t)}return null};ju.filterProps=["maxWidth"];const z0=ie({prop:"minWidth",transform:Fe}),U0=ie({prop:"height",transform:Fe}),B0=ie({prop:"maxHeight",transform:Fe}),H0=ie({prop:"minHeight",transform:Fe});ie({prop:"size",cssProperty:"width",transform:Fe});ie({prop:"size",cssProperty:"height",transform:Fe});const V0=ie({prop:"boxSizing"});Rs(D0,ju,z0,U0,B0,H0,V0);const js={border:{themeKey:"borders",transform:Xe},borderTop:{themeKey:"borders",transform:Xe},borderRight:{themeKey:"borders",transform:Xe},borderBottom:{themeKey:"borders",transform:Xe},borderLeft:{themeKey:"borders",transform:Xe},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Xe},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ns},color:{themeKey:"palette",transform:Gn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Gn},backgroundColor:{themeKey:"palette",transform:Gn},p:{style:te},pt:{style:te},pr:{style:te},pb:{style:te},pl:{style:te},px:{style:te},py:{style:te},padding:{style:te},paddingTop:{style:te},paddingRight:{style:te},paddingBottom:{style:te},paddingLeft:{style:te},paddingX:{style:te},paddingY:{style:te},paddingInline:{style:te},paddingInlineStart:{style:te},paddingInlineEnd:{style:te},paddingBlock:{style:te},paddingBlockStart:{style:te},paddingBlockEnd:{style:te},m:{style:ee},mt:{style:ee},mr:{style:ee},mb:{style:ee},ml:{style:ee},mx:{style:ee},my:{style:ee},margin:{style:ee},marginTop:{style:ee},marginRight:{style:ee},marginBottom:{style:ee},marginLeft:{style:ee},marginX:{style:ee},marginY:{style:ee},marginInline:{style:ee},marginInlineStart:{style:ee},marginInlineEnd:{style:ee},marginBlock:{style:ee},marginBlockStart:{style:ee},marginBlockEnd:{style:ee},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:Ls},rowGap:{style:bs},columnGap:{style:$s},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Fe},maxWidth:{style:ju},minWidth:{transform:Fe},height:{transform:Fe},maxHeight:{transform:Fe},minHeight:{transform:Fe},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function W0(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function K0(e,t){return typeof e=="function"?e(t):e}function Bh(){function e(n,r,i,o){const s={[n]:r,theme:i},l=o[n];if(!l)return{[n]:r};const{cssProperty:a=n,themeKey:u,transform:f,style:d}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const c=Ts(i,u)||{};return d?d(s):Lt(s,r,g=>{let v=Lo(c,f,g);return g===v&&typeof g=="string"&&(v=Lo(c,f,`${n}${g==="default"?"":Eu(g)}`,g)),a===!1?v:{[a]:v}})}function t(n){var r;const{sx:i,theme:o={}}=n||{};if(!i)return null;const s=(r=o.unstable_sxConfig)!=null?r:js;function l(a){let u=a;if(typeof a=="function")u=a(o);else if(typeof a!="object")return a;if(!u)return null;const f=o0(o.breakpoints),d=Object.keys(f);let c=f;return Object.keys(u).forEach(y=>{const g=K0(u[y],o);if(g!=null)if(typeof g=="object")if(s[y])c=Dr(c,e(y,g,o,s));else{const v=Lt({theme:o},g,_=>({[y]:_}));W0(v,g)?c[y]=t({sx:g,theme:o}):c=Dr(c,v)}else c=Dr(c,e(y,g,o,s))}),s0(d,c)}return Array.isArray(i)?i.map(l):l(i)}return t}const As=Bh();As.filterProps=["sx"];function Hh(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 Q0=["breakpoints","palette","spacing","shape"];function Vh(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=e,s=En(e,Q0),l=Dh(n),a=h0(i);let u=ii({breakpoints:l,direction:"ltr",components:{},palette:Q({mode:"light"},r),spacing:a,shape:Q({},i0,o)},s);return u.applyStyles=Hh,u=t.reduce((f,d)=>ii(f,d),u),u.unstable_sxConfig=Q({},js,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return As({sx:d,theme:this})},u}const G0=Object.freeze(Object.defineProperty({__proto__:null,default:Vh,private_createBreakpoints:Dh,unstable_applyStyles:Hh},Symbol.toStringTag,{value:"Module"})),q0=Yt(G0),X0=["sx"],Y0=e=>{var t,n;const r={systemProps:{},otherProps:{}},i=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:js;return Object.keys(e).forEach(o=>{i[o]?r.systemProps[o]=e[o]:r.otherProps[o]=e[o]}),r};function Wh(e){const{sx:t}=e,n=En(e,X0),{systemProps:r,otherProps:i}=Y0(n);let o;return Array.isArray(t)?o=[r,...t]:typeof t=="function"?o=(...s)=>{const l=t(...s);return Ft(l)?Q({},r,l):r}:o=Q({},r,t),Q({},i,{sx:o})}const J0=Object.freeze(Object.defineProperty({__proto__:null,default:As,extendSxProp:Wh,unstable_createStyleFunctionSx:Bh,unstable_defaultSxConfig:js},Symbol.toStringTag,{value:"Module"})),Z0=Yt(J0);var cr=gh;Object.defineProperty(mi,"__esModule",{value:!0});var yx=mi.default=dw;mi.shouldForwardProp=ro;mi.systemDefaultTheme=void 0;var Qe=cr(Uv()),ya=cr(Bv()),yf=sw(J1),ew=Z1;cr(e0);cr(t0);var tw=cr(q0),nw=cr(Z0);const rw=["ownerState"],iw=["variants"],ow=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Kh(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Kh=function(r){return r?n:t})(e)}function sw(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Kh(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function lw(e){return Object.keys(e).length===0}function aw(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ro(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const uw=mi.systemDefaultTheme=(0,tw.default)(),cw=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Di({defaultTheme:e,theme:t,themeId:n}){return lw(t)?e:t[n]||t}function fw(e){return e?(t,n)=>n[e]:null}function io(e,t){let{ownerState:n}=t,r=(0,ya.default)(t,rw);const i=typeof e=="function"?e((0,Qe.default)({ownerState:n},r)):e;if(Array.isArray(i))return i.flatMap(o=>io(o,(0,Qe.default)({ownerState:n},r)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:o=[]}=i;let l=(0,ya.default)(i,iw);return o.forEach(a=>{let u=!0;typeof a.props=="function"?u=a.props((0,Qe.default)({ownerState:n},r,n)):Object.keys(a.props).forEach(f=>{(n==null?void 0:n[f])!==a.props[f]&&r[f]!==a.props[f]&&(u=!1)}),u&&(Array.isArray(l)||(l=[l]),l.push(typeof a.style=="function"?a.style((0,Qe.default)({ownerState:n},r,n)):a.style))}),l}return i}function dw(e={}){const{themeId:t,defaultTheme:n=uw,rootShouldForwardProp:r=ro,slotShouldForwardProp:i=ro}=e,o=s=>(0,nw.default)((0,Qe.default)({},s,{theme:Di((0,Qe.default)({},s,{defaultTheme:n,themeId:t}))}));return o.__mui_systemSx=!0,(s,l={})=>{(0,yf.internal_processStyles)(s,x=>x.filter(C=>!(C!=null&&C.__mui_systemSx)));const{name:a,slot:u,skipVariantsResolver:f,skipSx:d,overridesResolver:c=fw(cw(u))}=l,y=(0,ya.default)(l,ow),g=f!==void 0?f:u&&u!=="Root"&&u!=="root"||!1,v=d||!1;let _,h=ro;u==="Root"||u==="root"?h=r:u?h=i:aw(s)&&(h=void 0);const p=(0,yf.default)(s,(0,Qe.default)({shouldForwardProp:h,label:_},y)),m=x=>typeof x=="function"&&x.__emotion_real!==x||(0,ew.isPlainObject)(x)?C=>io(x,(0,Qe.default)({},C,{theme:Di({theme:C.theme,defaultTheme:n,themeId:t})})):x,S=(x,...C)=>{let k=m(x);const T=C?C.map(m):[];a&&c&&T.push(M=>{const U=Di((0,Qe.default)({},M,{defaultTheme:n,themeId:t}));if(!U.components||!U.components[a]||!U.components[a].styleOverrides)return null;const Pe=U.components[a].styleOverrides,he={};return Object.entries(Pe).forEach(([w,P])=>{he[w]=io(P,(0,Qe.default)({},M,{theme:U}))}),c(M,he)}),a&&!g&&T.push(M=>{var U;const Pe=Di((0,Qe.default)({},M,{defaultTheme:n,themeId:t})),he=Pe==null||(U=Pe.components)==null||(U=U[a])==null?void 0:U.variants;return io({variants:he},(0,Qe.default)({},M,{theme:Pe}))}),v||T.push(o);const j=T.length-C.length;if(Array.isArray(x)&&j>0){const M=new Array(j).fill("");k=[...x,...M],k.raw=[...x.raw,...M]}const $=p(k,...T);return s.muiName&&($.muiName=s.muiName),$};return p.withConfig&&(S.withConfig=p.withConfig),S}}var oe={};const pw=Yt(ov),hw=Yt($v);var Qh=gh;Object.defineProperty(oe,"__esModule",{value:!0});var vx=oe.alpha=Yh;oe.blend=Cw;oe.colorChannel=void 0;var wx=oe.darken=Mu;oe.decomposeColor=tt;var Sx=oe.emphasize=Jh,xx=oe.getContrastRatio=ww;oe.getLuminance=$o;oe.hexToRgb=Gh;oe.hslToRgb=Xh;var kx=oe.lighten=Iu;oe.private_safeAlpha=Sw;oe.private_safeColorChannel=void 0;oe.private_safeDarken=xw;oe.private_safeEmphasize=Ew;oe.private_safeLighten=kw;oe.recomposeColor=fr;oe.rgbToHex=vw;var vf=Qh(pw),mw=Qh(hw);function Au(e,t=0,n=1){return(0,mw.default)(e,t,n)}function Gh(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,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function gw(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function tt(e){if(e.type)return e;if(e.charAt(0)==="#")return tt(Gh(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,vf.default)(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=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(i)===-1)throw new Error((0,vf.default)(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}const qh=e=>{const t=tt(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};oe.colorChannel=qh;const yw=(e,t)=>{try{return qh(e)}catch{return e}};oe.private_safeColorChannel=yw;function fr(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):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 vw(e){if(e.indexOf("#")===0)return e;const{values:t}=tt(e);return`#${t.map((n,r)=>gw(r===3?Math.round(255*n):n)).join("")}`}function Xh(e){e=tt(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),s=(u,f=(u+n/30)%12)=>i-o*Math.max(Math.min(f-3,9-f,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])),fr({type:l,values:a})}function $o(e){e=tt(e);let t=e.type==="hsl"||e.type==="hsla"?tt(Xh(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 ww(e,t){const n=$o(e),r=$o(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Yh(e,t){return e=tt(e),t=Au(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,fr(e)}function Sw(e,t,n){try{return Yh(e,t)}catch{return e}}function Mu(e,t){if(e=tt(e),t=Au(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 fr(e)}function xw(e,t,n){try{return Mu(e,t)}catch{return e}}function Iu(e,t){if(e=tt(e),t=Au(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 fr(e)}function kw(e,t,n){try{return Iu(e,t)}catch{return e}}function Jh(e,t=.15){return $o(e)>.5?Mu(e,t):Iu(e,t)}function Ew(e,t,n){try{return Jh(e,t)}catch{return e}}function Cw(e,t,n,r=1){const i=(a,u)=>Math.round((a**(1/r)*(1-n)+u**(1/r)*n)**r),o=tt(e),s=tt(t),l=[i(o.values[0],s.values[0]),i(o.values[1],s.values[1]),i(o.values[2],s.values[2])];return fr({type:"rgb",values:l})}const Ex=Hf(sr.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6m0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20"}),"AccountCircle"),Cx=Hf(sr.jsx("path",{d:"m12.87 15.07-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2zm-2.62 7 1.62-4.33L19.12 17z"}),"Translate");function Pw(e){return Object.keys(e).length===0}function Ow(e=null){const t=b.useContext(_s);return!t||Pw(t)?e:t}const _w=Vh();function Zh(e=_w){return Ow(e)}function Px({styles:e,themeId:t,defaultTheme:n={}}){const r=Zh(n),i=typeof e=="function"?e(t&&r[t]||r):e;return sr.jsx(Ih,{styles:i})}const Tw=["className","component"];function Ox(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:i}=e,o=Fh("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(As);return b.forwardRef(function(a,u){const f=Zh(n),d=Wh(a),{className:c,component:y="div"}=d,g=En(d,Tw);return sr.jsx(o,Q({as:y,ref:u,className:ca(c,i?i(r):r),theme:t&&f[t]||f},g))})}const Rw=b.createContext(),_x=()=>{const e=b.useContext(Rw);return e??!1};function va(e,t){return va=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},va(e,t)}function em(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,va(e,t)}const wf={disabled:!1},bo=gt.createContext(null);var Nw=function(t){return t.scrollTop},Tr="unmounted",sn="exited",ln="entering",Tn="entered",wa="exiting",tn=function(e){em(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var s=i,l=s&&!s.isMounting?r.enter:r.appear,a;return o.appearStatus=null,r.in?l?(a=sn,o.appearStatus=ln):a=Tn:r.unmountOnExit||r.mountOnEnter?a=Tr:a=sn,o.state={status:a},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===Tr?{status:sn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==ln&&s!==Tn&&(o=ln):(s===ln||s===Tn)&&(o=wa)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,l;return o=s=l=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,l=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:l}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===ln){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Ii.findDOMNode(this);s&&Nw(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===sn&&this.setState({status:Tr})},n.performEnter=function(i){var o=this,s=this.props.enter,l=this.context?this.context.isMounting:i,a=this.props.nodeRef?[l]:[Ii.findDOMNode(this),l],u=a[0],f=a[1],d=this.getTimeouts(),c=l?d.appear:d.enter;if(!i&&!s||wf.disabled){this.safeSetState({status:Tn},function(){o.props.onEntered(u)});return}this.props.onEnter(u,f),this.safeSetState({status:ln},function(){o.props.onEntering(u,f),o.onTransitionEnd(c,function(){o.safeSetState({status:Tn},function(){o.props.onEntered(u,f)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:Ii.findDOMNode(this);if(!o||wf.disabled){this.safeSetState({status:sn},function(){i.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:wa},function(){i.props.onExiting(l),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:sn},function(){i.props.onExited(l)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(l){s&&(s=!1,o.nextCallback=null,i(l))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:Ii.findDOMNode(this),l=i==null&&!this.props.addEndListener;if(!s||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=a[0],f=a[1];this.props.addEndListener(u,f)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Tr)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var l=En(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return gt.createElement(bo.Provider,{value:null},typeof s=="function"?s(i,l):gt.cloneElement(gt.Children.only(s),l))},t}(gt.Component);tn.contextType=bo;tn.propTypes={};function Pn(){}tn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Pn,onEntering:Pn,onEntered:Pn,onExit:Pn,onExiting:Pn,onExited:Pn};tn.UNMOUNTED=Tr;tn.EXITED=sn;tn.ENTERING=ln;tn.ENTERED=Tn;tn.EXITING=wa;function Lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fu(e,t){var n=function(o){return t&&b.isValidElement(o)?t(o):o},r=Object.create(null);return e&&b.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function $w(e,t){e=e||{},t=t||{};function n(f){return f in t?t[f]:e[f]}var r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);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<i.length;s++)l[i[s]]=n(i[s]);return l}function fn(e,t,n){return n[t]!=null?n[t]:e.props[t]}function bw(e,t){return Fu(e.children,function(n){return b.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:fn(n,"appear",e),enter:fn(n,"enter",e),exit:fn(n,"exit",e)})})}function jw(e,t,n){var r=Fu(e.children),i=$w(t,r);return Object.keys(i).forEach(function(o){var s=i[o];if(b.isValidElement(s)){var l=o in t,a=o in r,u=t[o],f=b.isValidElement(u)&&!u.props.in;a&&(!l||f)?i[o]=b.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:fn(s,"exit",e),enter:fn(s,"enter",e)}):!a&&l&&!f?i[o]=b.cloneElement(s,{in:!1}):a&&l&&b.isValidElement(u)&&(i[o]=b.cloneElement(s,{onExited:n.bind(null,s),in:u.props.in,exit:fn(s,"exit",e),enter:fn(s,"enter",e)}))}}),i}var Aw=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Mw={component:"div",childFactory:function(t){return t}},tm=function(e){em(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var s=o.handleExited.bind(Lw(o));return o.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},o}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(i,o){var s=o.children,l=o.handleExited,a=o.firstRender;return{children:a?bw(i,l):jw(i,s,l),firstRender:!1}},n.handleExited=function(i,o){var s=Fu(this.props.children);i.key in s||(i.props.onExited&&i.props.onExited(o),this.mounted&&this.setState(function(l){var a=Q({},l.children);return delete a[i.key],{children:a}}))},n.render=function(){var i=this.props,o=i.component,s=i.childFactory,l=En(i,["component","childFactory"]),a=this.state.contextValue,u=Aw(this.state.children).map(s);return delete l.appear,delete l.enter,delete l.exit,o===null?gt.createElement(bo.Provider,{value:a},u):gt.createElement(bo.Provider,{value:a},gt.createElement(o,l,u))},t}(gt.Component);tm.propTypes={};tm.defaultProps=Mw;const Iw=(...e)=>{console!=null&&console.warn&&(hn(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},Sf={},Sa=(...e)=>{hn(e[0])&&Sf[e[0]]||(hn(e[0])&&(Sf[e[0]]=new Date),Iw(...e))},nm=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},xf=(e,t,n)=>{e.loadNamespaces(t,nm(e,n))},kf=(e,t,n,r)=>{hn(n)&&(n=[n]),n.forEach(i=>{e.options.ns.indexOf(i)<0&&e.options.ns.push(i)}),e.loadLanguages(t,nm(e,r))},Fw=(e,t,n={})=>!t.languages||!t.languages.length?(Sa("i18n.languages were undefined or empty",t.languages),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,i)=>{var o;if(((o=n.bindI18n)==null?void 0:o.indexOf("languageChanging"))>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!i(r.isLanguageChangingTo,e))return!1}}),hn=e=>typeof e=="string",Dw=e=>typeof e=="object"&&e!==null,zw=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Uw={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},Bw=e=>Uw[e],Hw=e=>e.replace(zw,Bw);let xa={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Hw};const Vw=(e={})=>{xa={...xa,...e}},Ww=()=>xa;let rm;const Kw=e=>{rm=e},Qw=()=>rm,Tx={type:"3rdParty",init(e){Vw(e.options.react),Kw(e)}},Gw=b.createContext();class qw{constructor(){Du(this,"getUsedNamespaces",()=>Object.keys(this.usedNamespaces));this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{var r;(r=this.usedNamespaces)[n]??(r[n]=!0)})}}const Xw=(e,t)=>{const n=b.useRef();return b.useEffect(()=>{n.current=e},[e,t]),n.current},im=(e,t,n,r)=>e.getFixedT(t,n,r),Yw=(e,t,n,r)=>b.useCallback(im(e,t,n,r),[e,t,n,r]),Rx=(e,t={})=>{var S,x,C,k;const{i18n:n}=t,{i18n:r,defaultNS:i}=b.useContext(Gw)||{},o=n||r||Qw();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new qw),!o){Sa("You will need to pass in an i18next instance by using initReactI18next");const T=($,M)=>hn(M)?M:Dw(M)&&hn(M.defaultValue)?M.defaultValue:Array.isArray($)?$[$.length-1]:$,j=[T,{},!1];return j.t=T,j.i18n={},j.ready=!1,j}(S=o.options.react)!=null&&S.wait&&Sa("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const s={...Ww(),...o.options.react,...t},{useSuspense:l,keyPrefix:a}=s;let u=i||((x=o.options)==null?void 0:x.defaultNS);u=hn(u)?[u]:u||["translation"],(k=(C=o.reportNamespaces).addUsedNamespaces)==null||k.call(C,u);const f=(o.isInitialized||o.initializedStoreOnce)&&u.every(T=>Fw(T,o,s)),d=Yw(o,t.lng||null,s.nsMode==="fallback"?u:u[0],a),c=()=>d,y=()=>im(o,t.lng||null,s.nsMode==="fallback"?u:u[0],a),[g,v]=b.useState(c);let _=u.join();t.lng&&(_=`${t.lng}${_}`);const h=Xw(_),p=b.useRef(!0);b.useEffect(()=>{const{bindI18n:T,bindI18nStore:j}=s;p.current=!0,!f&&!l&&(t.lng?kf(o,t.lng,u,()=>{p.current&&v(y)}):xf(o,u,()=>{p.current&&v(y)})),f&&h&&h!==_&&p.current&&v(y);const $=()=>{p.current&&v(y)};return T&&(o==null||o.on(T,$)),j&&(o==null||o.store.on(j,$)),()=>{p.current=!1,o&&(T==null||T.split(" ").forEach(M=>o.off(M,$))),j&&o&&j.split(" ").forEach(M=>o.store.off(M,$))}},[o,_]),b.useEffect(()=>{p.current&&f&&v(c)},[o,a,f]);const m=[g,o,f];if(m.t=g,m.i18n=o,m.ready=f,f||!f&&!l)return m;throw new Promise(T=>{t.lng?kf(o,t.lng,u,()=>T()):xf(o,u,()=>T())})},Jw={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class jo{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||Jw,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,i){return i&&!this.debug?null:(typeof t[0]=="string"&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new jo(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new jo(this.logger,t)}}var yt=new jo;class Ms{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const i=this.observers[r].get(n)||0;this.observers[r].set(n,i+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(s=>{let[l,a]=s;for(let u=0;u<a;u++)l(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(s=>{let[l,a]=s;for(let u=0;u<a;u++)l.apply(l,[t,...r])})}}function xr(){let e,t;const n=new Promise((r,i)=>{e=r,t=i});return n.resolve=e,n.reject=t,n}function Ef(e){return e==null?"":""+e}function Zw(e,t,n){e.forEach(r=>{t[r]&&(n[r]=t[r])})}const eS=/###/g;function zr(e,t,n){function r(l){return l&&l.indexOf("###")>-1?l.replace(eS,"."):l}function i(){return!e||typeof e=="string"}const o=typeof t!="string"?t:t.split(".");let s=0;for(;s<o.length-1;){if(i())return{};const l=r(o[s]);!e[l]&&n&&(e[l]=new n),Object.prototype.hasOwnProperty.call(e,l)?e=e[l]:e={},++s}return i()?{}:{obj:e,k:r(o[s])}}function Cf(e,t,n){const{obj:r,k:i}=zr(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let o=t[t.length-1],s=t.slice(0,t.length-1),l=zr(e,s,Object);for(;l.obj===void 0&&s.length;)o=`${s[s.length-1]}.${o}`,s=s.slice(0,s.length-1),l=zr(e,s,Object),l&&l.obj&&typeof l.obj[`${l.k}.${o}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${o}`]=n}function tS(e,t,n,r){const{obj:i,k:o}=zr(e,t,Object);i[o]=i[o]||[],i[o].push(n)}function Ao(e,t){const{obj:n,k:r}=zr(e,t);if(n)return n[r]}function nS(e,t,n){const r=Ao(e,n);return r!==void 0?r:Ao(t,n)}function om(e,t,n){for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):om(e[r],t[r],n):e[r]=t[r]);return e}function On(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var rS={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function iS(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>rS[t]):e}class oS{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const sS=[" ",",","?","!",";"],lS=new oS(20);function aS(e,t,n){t=t||"",n=n||"";const r=sS.filter(s=>t.indexOf(s)<0&&n.indexOf(s)<0);if(r.length===0)return!0;const i=lS.getRegExp(`(${r.map(s=>s==="?"?"\\?":s).join("|")})`);let o=!i.test(e);if(!o){const s=e.indexOf(n);s>0&&!i.test(e.substring(0,s))&&(o=!0)}return o}function ka(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let i=e;for(let o=0;o<r.length;){if(!i||typeof i!="object")return;let s,l="";for(let a=o;a<r.length;++a)if(a!==o&&(l+=n),l+=r[a],s=i[l],s!==void 0){if(["string","number","boolean"].indexOf(typeof s)>-1&&a<r.length-1)continue;o+=a-o+1;break}i=s}return i}function Mo(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class Pf extends Ms{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,s=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,n],r&&(Array.isArray(r)?l.push(...r):typeof r=="string"&&o?l.push(...r.split(o)):l.push(r)));const a=Ao(this.data,l);return!a&&!n&&!r&&t.indexOf(".")>-1&&(t=l[0],n=l[1],r=l.slice(2).join(".")),a||!s||typeof r!="string"?a:ka(this.data&&this.data[t]&&this.data[t][n],r,o)}addResource(t,n,r,i){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let l=[t,n];r&&(l=l.concat(s?r.split(s):r)),t.indexOf(".")>-1&&(l=t.split("."),i=n,n=l[1]),this.addNamespaces(n),Cf(this.data,l,i),o.silent||this.emit("added",t,n,r,i)}addResources(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in r)(typeof r[o]=="string"||Array.isArray(r[o]))&&this.addResource(t,n,o,r[o],{silent:!0});i.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,i,o){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,n];t.indexOf(".")>-1&&(l=t.split("."),i=r,r=n,n=l[1]),this.addNamespaces(n);let a=Ao(this.data,l)||{};s.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?om(a,r,o):a={...a,...r},Cf(this.data,l,a),s.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(i=>n[i]&&Object.keys(n[i]).length>0)}toJSON(){return this.data}}var sm={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(o=>{this.processors[o]&&(t=this.processors[o].process(t,n,r,i))}),t}};const Of={};class Io extends Ms{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Zw(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=yt.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let o=n.ns||this.options.defaultNS||[];const s=r&&t.indexOf(r)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!aS(t,r,i);if(s&&!l){const a=t.match(this.interpolator.nestingRegexp);if(a&&a.length>0)return{key:t,namespaces:o};const u=t.split(r);(r!==i||r===i&&this.options.ns.indexOf(u[0])>-1)&&(o=u.shift()),t=u.join(i)}return typeof o=="string"&&(o=[o]),{key:t,namespaces:o}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const i=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:s,namespaces:l}=this.extractFromKey(t[t.length-1],n),a=l[l.length-1],u=n.lng||this.language,f=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(f){const S=n.nsSeparator||this.options.nsSeparator;return i?{res:`${a}${S}${s}`,usedKey:s,exactUsedKey:s,usedLng:u,usedNS:a,usedParams:this.getUsedParamsDetails(n)}:`${a}${S}${s}`}return i?{res:s,usedKey:s,exactUsedKey:s,usedLng:u,usedNS:a,usedParams:this.getUsedParamsDetails(n)}:s}const d=this.resolve(t,n);let c=d&&d.res;const y=d&&d.usedKey||s,g=d&&d.exactUsedKey||s,v=Object.prototype.toString.apply(c),_=["[object Number]","[object Function]","[object RegExp]"],h=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,p=!this.i18nFormat||this.i18nFormat.handleAsObject;if(p&&c&&(typeof c!="string"&&typeof c!="boolean"&&typeof c!="number")&&_.indexOf(v)<0&&!(typeof h=="string"&&Array.isArray(c))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const S=this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,c,{...n,ns:l}):`key '${s} (${this.language})' returned an object instead of string.`;return i?(d.res=S,d.usedParams=this.getUsedParamsDetails(n),d):S}if(o){const S=Array.isArray(c),x=S?[]:{},C=S?g:y;for(const k in c)if(Object.prototype.hasOwnProperty.call(c,k)){const T=`${C}${o}${k}`;x[k]=this.translate(T,{...n,joinArrays:!1,ns:l}),x[k]===T&&(x[k]=c[k])}c=x}}else if(p&&typeof h=="string"&&Array.isArray(c))c=c.join(h),c&&(c=this.extendTranslation(c,t,n,r));else{let S=!1,x=!1;const C=n.count!==void 0&&typeof n.count!="string",k=Io.hasDefaultValue(n),T=C?this.pluralResolver.getSuffix(u,n.count,n):"",j=n.ordinal&&C?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",$=C&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),M=$&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${T}`]||n[`defaultValue${j}`]||n.defaultValue;!this.isValidLookup(c)&&k&&(S=!0,c=M),this.isValidLookup(c)||(x=!0,c=s);const Pe=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&x?void 0:c,he=k&&M!==c&&this.options.updateMissing;if(x||S||he){if(this.logger.log(he?"updateKey":"missingKey",u,a,s,he?M:c),o){const E=this.resolve(s,{...n,keySeparator:!1});E&&E.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let w=[];const P=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&P&&P[0])for(let E=0;E<P.length;E++)w.push(P[E]);else this.options.saveMissingTo==="all"?w=this.languageUtils.toResolveHierarchy(n.lng||this.language):w.push(n.lng||this.language);const A=(E,N,R)=>{const B=k&&R!==c?R:Pe;this.options.missingKeyHandler?this.options.missingKeyHandler(E,a,N,B,he,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(E,a,N,B,he,n),this.emit("missingKey",E,a,N,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&C?w.forEach(E=>{const N=this.pluralResolver.getSuffixes(E,n);$&&n[`defaultValue${this.options.pluralSeparator}zero`]&&N.indexOf(`${this.options.pluralSeparator}zero`)<0&&N.push(`${this.options.pluralSeparator}zero`),N.forEach(R=>{A([E],s+R,n[`defaultValue${R}`]||M)})}):A(w,s,M))}c=this.extendTranslation(c,t,n,d,r),x&&c===s&&this.options.appendNamespaceToMissingKey&&(c=`${a}:${s}`),(x||S)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?c=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${a}:${s}`:s,S?c:void 0):c=this.options.parseMissingKeyHandler(c))}return i?(d.res=c,d.usedParams=this.getUsedParamsDetails(n),d):c}extendTranslation(t,n,r,i,o){var s=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const u=typeof t=="string"&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let f;if(u){const c=t.match(this.interpolator.nestingRegexp);f=c&&c.length}let d=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(d={...this.options.interpolation.defaultVariables,...d}),t=this.interpolator.interpolate(t,d,r.lng||this.language||i.usedLng,r),u){const c=t.match(this.interpolator.nestingRegexp),y=c&&c.length;f<y&&(r.nest=!1)}!r.lng&&this.options.compatibilityAPI!=="v1"&&i&&i.res&&(r.lng=this.language||i.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var c=arguments.length,y=new Array(c),g=0;g<c;g++)y[g]=arguments[g];return o&&o[0]===y[0]&&!r.context?(s.logger.warn(`It seems you are nesting recursively key: ${y[0]} in key: ${n[0]}`),null):s.translate(...y,n)},r)),r.interpolation&&this.interpolator.reset()}const l=r.postProcess||this.options.postProcess,a=typeof l=="string"?[l]:l;return t!=null&&a&&a.length&&r.applyPostProcessor!==!1&&(t=sm.handle(a,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,i,o,s,l;return typeof t=="string"&&(t=[t]),t.forEach(a=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(a,n),f=u.key;i=f;let d=u.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));const c=n.count!==void 0&&typeof n.count!="string",y=c&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),g=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",v=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);d.forEach(_=>{this.isValidLookup(r)||(l=_,!Of[`${v[0]}-${_}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(Of[`${v[0]}-${_}`]=!0,this.logger.warn(`key "${i}" for languages "${v.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),v.forEach(h=>{if(this.isValidLookup(r))return;s=h;const p=[f];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(p,f,h,_,n);else{let S;c&&(S=this.pluralResolver.getSuffix(h,n.count,n));const x=`${this.options.pluralSeparator}zero`,C=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(p.push(f+S),n.ordinal&&S.indexOf(C)===0&&p.push(f+S.replace(C,this.options.pluralSeparator)),y&&p.push(f+x)),g){const k=`${f}${this.options.contextSeparator}${n.context}`;p.push(k),c&&(p.push(k+S),n.ordinal&&S.indexOf(C)===0&&p.push(k+S.replace(C,this.options.pluralSeparator)),y&&p.push(k+x))}}let m;for(;m=p.pop();)this.isValidLookup(r)||(o=m,r=this.getResource(h,_,m,n))}))})}),{res:r,usedKey:i,exactUsedKey:o,usedLng:s,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,i):this.resourceStore.getResource(t,n,r,i)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&typeof t.replace!="string";let i=r?t.replace:t;if(r&&typeof t.count<"u"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!r){i={...i};for(const o of n)delete i[o]}return i}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}function ml(e){return e.charAt(0).toUpperCase()+e.slice(1)}class _f{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=yt.create("languageUtils")}getScriptPartFromCode(t){if(t=Mo(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=Mo(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(i=>i.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=ml(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=ml(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=ml(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const i=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(i))&&(n=i)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const i=this.getLanguagePartFromCode(r);if(this.isSupportedCode(i))return n=i;n=this.options.supportedLngs.find(o=>{if(o===i)return o;if(!(o.indexOf("-")<0&&i.indexOf("-")<0)&&(o.indexOf("-")>0&&i.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===i||o.indexOf(i)===0&&i.length>1))return o})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),i=[],o=s=>{s&&(this.isSupportedCode(s)?i.push(s):this.logger.warn(`rejecting language code not found in supportedLngs: ${s}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(t))):typeof t=="string"&&o(this.formatLanguageCode(t)),r.forEach(s=>{i.indexOf(s)<0&&o(this.formatLanguageCode(s))}),i}}let uS=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],cS={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const fS=["v1","v2","v3"],dS=["v4"],Tf={zero:0,one:1,two:2,few:3,many:4,other:5};function pS(){const e={};return uS.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:cS[t.fc]}})}),e}class hS{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=yt.create("pluralResolver"),(!this.options.compatibilityJSON||dS.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=pS()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(Mo(t==="dev"?"en":t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(i=>`${n}${i}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((i,o)=>Tf[i]-Tf[o]).map(i=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i}`):r.numbers.map(i=>this.getSuffix(t,i,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(t,r);return i?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(n)}`:this.getSuffixRetroCompatible(i,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let i=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(i===2?i="plural":i===1&&(i=""));const o=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return this.options.compatibilityJSON==="v1"?i===1?"":typeof i=="number"?`_plural_${i.toString()}`:o():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!fS.includes(this.options.compatibilityJSON)}}function Rf(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=nS(e,t,n);return!o&&i&&typeof n=="string"&&(o=ka(e,n,r),o===void 0&&(o=ka(t,n,r))),o}class mS{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=yt.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:i,prefix:o,prefixEscaped:s,suffix:l,suffixEscaped:a,formatSeparator:u,unescapeSuffix:f,unescapePrefix:d,nestingPrefix:c,nestingPrefixEscaped:y,nestingSuffix:g,nestingSuffixEscaped:v,nestingOptionsSeparator:_,maxReplaces:h,alwaysFormat:p}=t.interpolation;this.escape=n!==void 0?n:iS,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=o?On(o):s||"{{",this.suffix=l?On(l):a||"}}",this.formatSeparator=u||",",this.unescapePrefix=f?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":f||"",this.nestingPrefix=c?On(c):y||On("$t("),this.nestingSuffix=g?On(g):v||On(")"),this.nestingOptionsSeparator=_||",",this.maxReplaces=h||1e3,this.alwaysFormat=p!==void 0?p:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,i){let o,s,l;const a=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(g){return g.replace(/\$/g,"$$$$")}const f=g=>{if(g.indexOf(this.formatSeparator)<0){const p=Rf(n,a,g,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(p,void 0,r,{...i,...n,interpolationkey:g}):p}const v=g.split(this.formatSeparator),_=v.shift().trim(),h=v.join(this.formatSeparator).trim();return this.format(Rf(n,a,_,this.options.keySeparator,this.options.ignoreJSONStructure),h,r,{...i,...n,interpolationkey:_})};this.resetRegExp();const d=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,c=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:g=>u(g)},{regex:this.regexp,safeValue:g=>this.escapeValue?u(this.escape(g)):u(g)}].forEach(g=>{for(l=0;o=g.regex.exec(t);){const v=o[1].trim();if(s=f(v),s===void 0)if(typeof d=="function"){const h=d(t,o,i);s=typeof h=="string"?h:""}else if(i&&Object.prototype.hasOwnProperty.call(i,v))s="";else if(c){s=o[0];continue}else this.logger.warn(`missed to pass in variable ${v} for interpolating ${t}`),s="";else typeof s!="string"&&!this.useRawValueToEscape&&(s=Ef(s));const _=g.safeValue(s);if(t=t.replace(o[0],_),c?(g.regex.lastIndex+=s.length,g.regex.lastIndex-=o[0].length):g.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,o,s;function l(a,u){const f=this.nestingOptionsSeparator;if(a.indexOf(f)<0)return a;const d=a.split(new RegExp(`${f}[ ]*{`));let c=`{${d[1]}`;a=d[0],c=this.interpolate(c,s);const y=c.match(/'/g),g=c.match(/"/g);(y&&y.length%2===0&&!g||g.length%2!==0)&&(c=c.replace(/'/g,'"'));try{s=JSON.parse(c),u&&(s={...u,...s})}catch(v){return this.logger.warn(`failed parsing options string in nesting for key ${a}`,v),`${a}${f}${c}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,a}for(;i=this.nestingRegexp.exec(t);){let a=[];s={...r},s=s.replace&&typeof s.replace!="string"?s.replace:s,s.applyPostProcessor=!1,delete s.defaultValue;let u=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const f=i[1].split(this.formatSeparator).map(d=>d.trim());i[1]=f.shift(),a=f,u=!0}if(o=n(l.call(this,i[1].trim(),s),s),o&&i[0]===t&&typeof o!="string")return o;typeof o!="string"&&(o=Ef(o)),o||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),o=""),u&&(o=a.reduce((f,d)=>this.format(f,d,r.lng,{...r,interpolationkey:i[1].trim()}),o.trim())),t=t.replace(i[0],o),this.regexp.lastIndex=0}return t}}function gS(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);t==="currency"&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):t==="relativetime"&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach(s=>{if(s){const[l,...a]=s.split(":"),u=a.join(":").trim().replace(/^'+|'+$/g,""),f=l.trim();n[f]||(n[f]=u),u==="false"&&(n[f]=!1),u==="true"&&(n[f]=!0),isNaN(u)||(n[f]=parseInt(u,10))}})}return{formatName:t,formatOptions:n}}function _n(e){const t={};return function(r,i,o){const s=i+JSON.stringify(o);let l=t[s];return l||(l=e(Mo(i),o),t[s]=l),l(r)}}class yS{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=yt.create("formatter"),this.options=t,this.formats={number:_n((n,r)=>{const i=new Intl.NumberFormat(n,{...r});return o=>i.format(o)}),currency:_n((n,r)=>{const i=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>i.format(o)}),datetime:_n((n,r)=>{const i=new Intl.DateTimeFormat(n,{...r});return o=>i.format(o)}),relativetime:_n((n,r)=>{const i=new Intl.RelativeTimeFormat(n,{...r});return o=>i.format(o,r.range||"day")}),list:_n((n,r)=>{const i=new Intl.ListFormat(n,{...r});return o=>i.format(o)})},this.init(t)}init(t){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=_n(n)}format(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((l,a)=>{const{formatName:u,formatOptions:f}=gS(a);if(this.formats[u]){let d=l;try{const c=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},y=c.locale||c.lng||i.locale||i.lng||r;d=this.formats[u](l,y,{...f,...i,...c})}catch(c){this.logger.warn(c)}return d}else this.logger.warn(`there was no format function for ${u}`);return l},t)}}function vS(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class wS extends Ms{constructor(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=yt.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,i.backend,i)}queueLoad(t,n,r,i){const o={},s={},l={},a={};return t.forEach(u=>{let f=!0;n.forEach(d=>{const c=`${u}|${d}`;!r.reload&&this.store.hasResourceBundle(u,d)?this.state[c]=2:this.state[c]<0||(this.state[c]===1?s[c]===void 0&&(s[c]=!0):(this.state[c]=1,f=!1,s[c]===void 0&&(s[c]=!0),o[c]===void 0&&(o[c]=!0),a[d]===void 0&&(a[d]=!0)))}),f||(l[u]=!0)}),(Object.keys(o).length||Object.keys(s).length)&&this.queue.push({pending:s,pendingCount:Object.keys(s).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(s),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(a)}}loaded(t,n,r){const i=t.split("|"),o=i[0],s=i[1];n&&this.emit("failedLoading",o,s,n),r&&this.store.addResourceBundle(o,s,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2;const l={};this.queue.forEach(a=>{tS(a.loaded,[o],s),vS(a,t),n&&a.errors.push(n),a.pendingCount===0&&!a.done&&(Object.keys(a.loaded).forEach(u=>{l[u]||(l[u]={});const f=a.loaded[u];f.length&&f.forEach(d=>{l[u][d]===void 0&&(l[u][d]=!0)})}),a.done=!0,a.errors.length?a.callback(a.errors):a.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(a=>!a.done)}read(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,s=arguments.length>5?arguments[5]:void 0;if(!t.length)return s(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:i,wait:o,callback:s});return}this.readingCalls++;const l=(u,f)=>{if(this.readingCalls--,this.waitingReads.length>0){const d=this.waitingReads.shift();this.read(d.lng,d.ns,d.fcName,d.tried,d.wait,d.callback)}if(u&&f&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,i+1,o*2,s)},o);return}s(u,f)},a=this.backend[r].bind(this.backend);if(a.length===2){try{const u=a(t,n);u&&typeof u.then=="function"?u.then(f=>l(null,f)).catch(l):l(null,u)}catch(u){l(u)}return}return a(t,n,l)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const o=this.queueLoad(t,n,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(s=>{this.loadOne(s)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,(s,l)=>{s&&this.logger.warn(`${n}loading namespace ${o} for language ${i} failed`,s),!s&&l&&this.logger.log(`${n}loaded namespace ${o} for language ${i}`,l),this.loaded(t,s,l)})}saveMissing(t,n,r,i,o){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const a={...s,isUpdate:o},u=this.backend.create.bind(this.backend);if(u.length<6)try{let f;u.length===5?f=u(t,n,r,i,a):f=u(t,n,r,i),f&&typeof f.then=="function"?f.then(d=>l(null,d)).catch(l):l(null,f)}catch(f){l(f)}else u(t,n,r,i,l,a)}!t||!t[0]||this.store.addResource(t[0],n,r,i)}}}function Nf(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){let n={};if(typeof t[1]=="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const r=t[3]||t[2];Object.keys(r).forEach(i=>{n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Lf(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function zi(){}function SS(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}class ai extends Ms{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Lf(t),this.services={},this.logger=yt,this.modules={external:[]},SS(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const i=Nf();this.options={...i,...this.options,...Lf(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function o(f){return f?typeof f=="function"?new f:f:null}if(!this.options.isClone){this.modules.logger?yt.init(o(this.modules.logger),this.options):yt.init(null,this.options);let f;this.modules.formatter?f=this.modules.formatter:typeof Intl<"u"&&(f=yS);const d=new _f(this.options);this.store=new Pf(this.options.resources,this.options);const c=this.services;c.logger=yt,c.resourceStore=this.store,c.languageUtils=d,c.pluralResolver=new hS(d,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),f&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(c.formatter=o(f),c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new mS(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new wS(o(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",function(y){for(var g=arguments.length,v=new Array(g>1?g-1:0),_=1;_<g;_++)v[_-1]=arguments[_];t.emit(y,...v)}),this.modules.languageDetector&&(c.languageDetector=o(this.modules.languageDetector),c.languageDetector.init&&c.languageDetector.init(c,this.options.detection,this.options)),this.modules.i18nFormat&&(c.i18nFormat=o(this.modules.i18nFormat),c.i18nFormat.init&&c.i18nFormat.init(this)),this.translator=new Io(this.services,this.options),this.translator.on("*",function(y){for(var g=arguments.length,v=new Array(g>1?g-1:0),_=1;_<g;_++)v[_-1]=arguments[_];t.emit(y,...v)}),this.modules.external.forEach(y=>{y.init&&y.init(this)})}if(this.format=this.options.interpolation.format,r||(r=zi),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.length>0&&f[0]!=="dev"&&(this.options.lng=f[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(f=>{this[f]=function(){return t.store[f](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(f=>{this[f]=function(){return t.store[f](...arguments),t}});const a=xr(),u=()=>{const f=(d,c)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(c),r(d,c)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return f(null,this.t.bind(this));this.changeLanguage(this.options.lng,f)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),a}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:zi;const i=typeof t=="string"?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const o=[],s=l=>{if(!l||l==="cimode")return;this.services.languageUtils.toResolveHierarchy(l).forEach(u=>{u!=="cimode"&&o.indexOf(u)<0&&o.push(u)})};i?s(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(a=>s(a)),this.options.preload&&this.options.preload.forEach(l=>s(l)),this.services.backendConnector.load(o,this.options.ns,l=>{!l&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(l)})}else r(null)}reloadResources(t,n,r){const i=xr();return t||(t=this.languages),n||(n=this.options.ns),r||(r=zi),this.services.backendConnector.reload(t,n,o=>{i.resolve(),r(o)}),i}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&sm.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const i=xr();this.emit("languageChanging",t);const o=a=>{this.language=a,this.languages=this.services.languageUtils.toResolveHierarchy(a),this.resolvedLanguage=void 0,this.setResolvedLanguage(a)},s=(a,u)=>{u?(o(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,i.resolve(function(){return r.t(...arguments)}),n&&n(a,function(){return r.t(...arguments)})},l=a=>{!t&&!a&&this.services.languageDetector&&(a=[]);const u=typeof a=="string"?a:this.services.languageUtils.getBestMatchFromCodes(a);u&&(this.language||o(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,f=>{s(f,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),i}getFixedT(t,n,r){var i=this;const o=function(s,l){let a;if(typeof l!="object"){for(var u=arguments.length,f=new Array(u>2?u-2:0),d=2;d<u;d++)f[d-2]=arguments[d];a=i.options.overloadTranslationOptionHandler([s,l].concat(f))}else a={...l};a.lng=a.lng||o.lng,a.lngs=a.lngs||o.lngs,a.ns=a.ns||o.ns,a.keyPrefix!==""&&(a.keyPrefix=a.keyPrefix||r||o.keyPrefix);const c=i.options.keySeparator||".";let y;return a.keyPrefix&&Array.isArray(s)?y=s.map(g=>`${a.keyPrefix}${c}${g}`):y=a.keyPrefix?`${a.keyPrefix}${c}${s}`:s,i.t(y,a)};return typeof t=="string"?o.lng=t:o.lngs=t,o.ns=n,o.keyPrefix=r,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const s=(l,a)=>{const u=this.services.backendConnector.state[`${l}|${a}`];return u===-1||u===2};if(n.precheck){const l=n.precheck(this,s);if(l!==void 0)return l}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||s(r,t)&&(!i||s(o,t)))}loadNamespaces(t,n){const r=xr();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=xr();typeof t=="string"&&(t=[t]);const i=this.options.preload||[],o=t.filter(s=>i.indexOf(s)<0&&this.services.languageUtils.isSupportedCode(s));return o.length?(this.options.preload=i.concat(o),this.loadResources(s=>{r.resolve(),n&&n(s)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new _f(Nf());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new ai(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:zi;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const i={...this.options,...t,isClone:!0},o=new ai(i);return(t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(l=>{o[l]=this[l]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r&&(o.store=new Pf(this.store.data,i),o.services.resourceStore=o.store),o.translator=new Io(o.services,i),o.translator.on("*",function(l){for(var a=arguments.length,u=new Array(a>1?a-1:0),f=1;f<a;f++)u[f-1]=arguments[f];o.emit(l,...u)}),o.init(i,n),o.translator.options=i,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Ne=ai.createInstance();Ne.createInstance=ai.createInstance;Ne.createInstance;Ne.dir;Ne.init;Ne.loadResources;Ne.reloadResources;Ne.use;Ne.changeLanguage;Ne.getFixedT;const Nx=Ne.t;Ne.exists;Ne.setDefaultNamespace;Ne.hasLoadedNamespace;Ne.loadNamespaces;Ne.loadLanguages;const{slice:xS,forEach:kS}=[];function ES(e){return kS.call(xS.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}const $f=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,CS=(e,t,n)=>{const r=n||{};r.path=r.path||"/";const i=encodeURIComponent(t);let o=`${e}=${i}`;if(r.maxAge>0){const s=r.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");o+=`; Max-Age=${Math.floor(s)}`}if(r.domain){if(!$f.test(r.domain))throw new TypeError("option domain is invalid");o+=`; Domain=${r.domain}`}if(r.path){if(!$f.test(r.path))throw new TypeError("option path is invalid");o+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");o+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o},bf={create(e,t,n,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+n*60*1e3)),r&&(i.domain=r),document.cookie=CS(e,encodeURIComponent(t),i)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let r=0;r<n.length;r++){let i=n[r];for(;i.charAt(0)===" ";)i=i.substring(1,i.length);if(i.indexOf(t)===0)return i.substring(t.length,i.length)}return null},remove(e){this.create(e,"",-1)}};var PS={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&typeof document<"u")return bf.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:n,cookieMinutes:r,cookieDomain:i,cookieOptions:o}=t;n&&typeof document<"u"&&bf.create(n,e,r,i,o)}},OS={name:"querystring",lookup(e){var r;let{lookupQuerystring:t}=e,n;if(typeof window<"u"){let{search:i}=window.location;!window.location.search&&((r=window.location.hash)==null?void 0:r.indexOf("?"))>-1&&(i=window.location.hash.substring(window.location.hash.indexOf("?")));const s=i.substring(1).split("&");for(let l=0;l<s.length;l++){const a=s[l].indexOf("=");a>0&&s[l].substring(0,a)===t&&(n=s[l].substring(a+1))}}return n}};let kr=null;const jf=()=>{if(kr!==null)return kr;try{kr=window!=="undefined"&&window.localStorage!==null;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{kr=!1}return kr};var _S={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&jf())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&jf()&&window.localStorage.setItem(n,e)}};let Er=null;const Af=()=>{if(Er!==null)return Er;try{Er=window!=="undefined"&&window.sessionStorage!==null;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{Er=!1}return Er};var TS={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&Af())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&Af()&&window.sessionStorage.setItem(n,e)}},RS={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:n,userLanguage:r,language:i}=navigator;if(n)for(let o=0;o<n.length;o++)t.push(n[o]);r&&t.push(r),i&&t.push(i)}return t.length>0?t:void 0}},NS={name:"htmlTag",lookup(e){let{htmlTag:t}=e,n;const r=t||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},LS={name:"path",lookup(e){var i;let{lookupFromPathIndex:t}=e;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?(i=n[typeof t=="number"?t:0])==null?void 0:i.replace("/",""):void 0}},$S={name:"subdomain",lookup(e){var i,o;let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,r=typeof window<"u"&&((o=(i=window.location)==null?void 0:i.hostname)==null?void 0:o.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[n]}};function bS(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}}class jS{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t||{languageUtils:{}},this.options=ES(n,this.options||{},bS()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=i=>i.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(PS),this.addDetector(OS),this.addDetector(_S),this.addDetector(TS),this.addDetector(RS),this.addDetector(NS),this.addDetector(LS),this.addDetector($S)}addDetector(t){return this.detectors[t.name]=t,this}detect(t){t||(t=this.options.order);let n=[];return t.forEach(r=>{if(this.detectors[r]){let i=this.detectors[r].lookup(this.options);i&&typeof i=="string"&&(i=[i]),i&&(n=n.concat(i))}}),n=n.map(r=>this.options.convertDetectedLanguage(r)),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(t,n){n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||n.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(t,this.options)}))}}jS.type="languageDetector";function Ea(e){"@babel/helpers - typeof";return Ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ea(e)}function lm(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":Ea(XMLHttpRequest))==="object"}function AS(e){return!!e&&typeof e.then=="function"}function MS(e){return AS(e)?e:Promise.resolve(e)}function IS(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ca={exports:{}},Ui={exports:{}},Mf;function FS(){return Mf||(Mf=1,function(e,t){var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof Rr<"u"&&Rr,r=function(){function o(){this.fetch=!1,this.DOMException=n.DOMException}return o.prototype=n,new o}();(function(o){(function(s){var l=typeof o<"u"&&o||typeof self<"u"&&self||typeof l<"u"&&l,a={searchParams:"URLSearchParams"in l,iterable:"Symbol"in l&&"iterator"in Symbol,blob:"FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in l,arrayBuffer:"ArrayBuffer"in l};function u(w){return w&&DataView.prototype.isPrototypeOf(w)}if(a.arrayBuffer)var f=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function(w){return w&&f.indexOf(Object.prototype.toString.call(w))>-1};function c(w){if(typeof w!="string"&&(w=String(w)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(w)||w==="")throw new TypeError('Invalid character in header field name: "'+w+'"');return w.toLowerCase()}function y(w){return typeof w!="string"&&(w=String(w)),w}function g(w){var P={next:function(){var A=w.shift();return{done:A===void 0,value:A}}};return a.iterable&&(P[Symbol.iterator]=function(){return P}),P}function v(w){this.map={},w instanceof v?w.forEach(function(P,A){this.append(A,P)},this):Array.isArray(w)?w.forEach(function(P){this.append(P[0],P[1])},this):w&&Object.getOwnPropertyNames(w).forEach(function(P){this.append(P,w[P])},this)}v.prototype.append=function(w,P){w=c(w),P=y(P);var A=this.map[w];this.map[w]=A?A+", "+P:P},v.prototype.delete=function(w){delete this.map[c(w)]},v.prototype.get=function(w){return w=c(w),this.has(w)?this.map[w]:null},v.prototype.has=function(w){return this.map.hasOwnProperty(c(w))},v.prototype.set=function(w,P){this.map[c(w)]=y(P)},v.prototype.forEach=function(w,P){for(var A in this.map)this.map.hasOwnProperty(A)&&w.call(P,this.map[A],A,this)},v.prototype.keys=function(){var w=[];return this.forEach(function(P,A){w.push(A)}),g(w)},v.prototype.values=function(){var w=[];return this.forEach(function(P){w.push(P)}),g(w)},v.prototype.entries=function(){var w=[];return this.forEach(function(P,A){w.push([A,P])}),g(w)},a.iterable&&(v.prototype[Symbol.iterator]=v.prototype.entries);function _(w){if(w.bodyUsed)return Promise.reject(new TypeError("Already read"));w.bodyUsed=!0}function h(w){return new Promise(function(P,A){w.onload=function(){P(w.result)},w.onerror=function(){A(w.error)}})}function p(w){var P=new FileReader,A=h(P);return P.readAsArrayBuffer(w),A}function m(w){var P=new FileReader,A=h(P);return P.readAsText(w),A}function S(w){for(var P=new Uint8Array(w),A=new Array(P.length),E=0;E<P.length;E++)A[E]=String.fromCharCode(P[E]);return A.join("")}function x(w){if(w.slice)return w.slice(0);var P=new Uint8Array(w.byteLength);return P.set(new Uint8Array(w)),P.buffer}function C(){return this.bodyUsed=!1,this._initBody=function(w){this.bodyUsed=this.bodyUsed,this._bodyInit=w,w?typeof w=="string"?this._bodyText=w:a.blob&&Blob.prototype.isPrototypeOf(w)?this._bodyBlob=w:a.formData&&FormData.prototype.isPrototypeOf(w)?this._bodyFormData=w:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(w)?this._bodyText=w.toString():a.arrayBuffer&&a.blob&&u(w)?(this._bodyArrayBuffer=x(w.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(w)||d(w))?this._bodyArrayBuffer=x(w):this._bodyText=w=Object.prototype.toString.call(w):this._bodyText="",this.headers.get("content-type")||(typeof w=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(w)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var w=_(this);if(w)return w;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var w=_(this);return w||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else return this.blob().then(p)}),this.text=function(){var w=_(this);if(w)return w;if(this._bodyBlob)return m(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(S(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then($)}),this.json=function(){return this.text().then(JSON.parse)},this}var k=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function T(w){var P=w.toUpperCase();return k.indexOf(P)>-1?P:w}function j(w,P){if(!(this instanceof j))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');P=P||{};var A=P.body;if(w instanceof j){if(w.bodyUsed)throw new TypeError("Already read");this.url=w.url,this.credentials=w.credentials,P.headers||(this.headers=new v(w.headers)),this.method=w.method,this.mode=w.mode,this.signal=w.signal,!A&&w._bodyInit!=null&&(A=w._bodyInit,w.bodyUsed=!0)}else this.url=String(w);if(this.credentials=P.credentials||this.credentials||"same-origin",(P.headers||!this.headers)&&(this.headers=new v(P.headers)),this.method=T(P.method||this.method||"GET"),this.mode=P.mode||this.mode||null,this.signal=P.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&A)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(A),(this.method==="GET"||this.method==="HEAD")&&(P.cache==="no-store"||P.cache==="no-cache")){var E=/([?&])_=[^&]*/;if(E.test(this.url))this.url=this.url.replace(E,"$1_="+new Date().getTime());else{var N=/\?/;this.url+=(N.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})};function $(w){var P=new FormData;return w.trim().split("&").forEach(function(A){if(A){var E=A.split("="),N=E.shift().replace(/\+/g," "),R=E.join("=").replace(/\+/g," ");P.append(decodeURIComponent(N),decodeURIComponent(R))}}),P}function M(w){var P=new v,A=w.replace(/\r?\n[\t ]+/g," ");return A.split("\r").map(function(E){return E.indexOf(`
`)===0?E.substr(1,E.length):E}).forEach(function(E){var N=E.split(":"),R=N.shift().trim();if(R){var B=N.join(":").trim();P.append(R,B)}}),P}C.call(j.prototype);function U(w,P){if(!(this instanceof U))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');P||(P={}),this.type="default",this.status=P.status===void 0?200:P.status,this.ok=this.status>=200&&this.status<300,this.statusText=P.statusText===void 0?"":""+P.statusText,this.headers=new v(P.headers),this.url=P.url||"",this._initBody(w)}C.call(U.prototype),U.prototype.clone=function(){return new U(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new v(this.headers),url:this.url})},U.error=function(){var w=new U(null,{status:0,statusText:""});return w.type="error",w};var Pe=[301,302,303,307,308];U.redirect=function(w,P){if(Pe.indexOf(P)===-1)throw new RangeError("Invalid status code");return new U(null,{status:P,headers:{location:w}})},s.DOMException=l.DOMException;try{new s.DOMException}catch{s.DOMException=function(P,A){this.message=P,this.name=A;var E=Error(P);this.stack=E.stack},s.DOMException.prototype=Object.create(Error.prototype),s.DOMException.prototype.constructor=s.DOMException}function he(w,P){return new Promise(function(A,E){var N=new j(w,P);if(N.signal&&N.signal.aborted)return E(new s.DOMException("Aborted","AbortError"));var R=new XMLHttpRequest;function B(){R.abort()}R.onload=function(){var me={status:R.status,statusText:R.statusText,headers:M(R.getAllResponseHeaders()||"")};me.url="responseURL"in R?R.responseURL:me.headers.get("X-Request-URL");var Ke="response"in R?R.response:R.responseText;setTimeout(function(){A(new U(Ke,me))},0)},R.onerror=function(){setTimeout(function(){E(new TypeError("Network request failed"))},0)},R.ontimeout=function(){setTimeout(function(){E(new TypeError("Network request failed"))},0)},R.onabort=function(){setTimeout(function(){E(new s.DOMException("Aborted","AbortError"))},0)};function se(me){try{return me===""&&l.location.href?l.location.href:me}catch{return me}}R.open(N.method,se(N.url),!0),N.credentials==="include"?R.withCredentials=!0:N.credentials==="omit"&&(R.withCredentials=!1),"responseType"in R&&(a.blob?R.responseType="blob":a.arrayBuffer&&N.headers.get("Content-Type")&&N.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(R.responseType="arraybuffer")),P&&typeof P.headers=="object"&&!(P.headers instanceof v)?Object.getOwnPropertyNames(P.headers).forEach(function(me){R.setRequestHeader(me,y(P.headers[me]))}):N.headers.forEach(function(me,Ke){R.setRequestHeader(Ke,me)}),N.signal&&(N.signal.addEventListener("abort",B),R.onreadystatechange=function(){R.readyState===4&&N.signal.removeEventListener("abort",B)}),R.send(typeof N._bodyInit>"u"?null:N._bodyInit)})}return he.polyfill=!0,l.fetch||(l.fetch=he,l.Headers=v,l.Request=j,l.Response=U),s.Headers=v,s.Request=j,s.Response=U,s.fetch=he,s})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=n.fetch?n:r;t=i.fetch,t.default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t}(Ui,Ui.exports)),Ui.exports}(function(e,t){var n;if(typeof fetch=="function"&&(typeof Rr<"u"&&Rr.fetch?n=Rr.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof IS<"u"&&typeof window>"u"){var r=n||FS();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(Ca,Ca.exports);var am=Ca.exports;const um=Oa(am),If=Vf({__proto__:null,default:um},[am]);function Ff(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Df(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ff(Object(n),!0).forEach(function(r){DS(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ff(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function DS(e,t,n){return t=zS(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zS(e){var t=US(e,"string");return Sn(t)=="symbol"?t:t+""}function US(e,t){if(Sn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Sn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Sn(e){"@babel/helpers - typeof";return Sn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sn(e)}var Ot;typeof fetch=="function"&&(typeof global<"u"&&global.fetch?Ot=global.fetch:typeof window<"u"&&window.fetch?Ot=window.fetch:Ot=fetch);var ui;lm()&&(typeof global<"u"&&global.XMLHttpRequest?ui=global.XMLHttpRequest:typeof window<"u"&&window.XMLHttpRequest&&(ui=window.XMLHttpRequest));var Fo;typeof ActiveXObject=="function"&&(typeof global<"u"&&global.ActiveXObject?Fo=global.ActiveXObject:typeof window<"u"&&window.ActiveXObject&&(Fo=window.ActiveXObject));!Ot&&If&&!ui&&!Fo&&(Ot=um||If);typeof Ot!="function"&&(Ot=void 0);var Pa=function(t,n){if(n&&Sn(n)==="object"){var r="";for(var i in n)r+="&"+encodeURIComponent(i)+"="+encodeURIComponent(n[i]);if(!r)return t;t=t+(t.indexOf("?")!==-1?"&":"?")+r.slice(1)}return t},zf=function(t,n,r,i){var o=function(a){if(!a.ok)return r(a.statusText||"Error",{status:a.status});a.text().then(function(u){r(null,{status:a.status,data:u})}).catch(r)};if(i){var s=i(t,n);if(s instanceof Promise){s.then(o).catch(r);return}}typeof fetch=="function"?fetch(t,n).then(o).catch(r):Ot(t,n).then(o).catch(r)},Uf=!1,BS=function(t,n,r,i){t.queryStringParams&&(n=Pa(n,t.queryStringParams));var o=Df({},typeof t.customHeaders=="function"?t.customHeaders():t.customHeaders);typeof window>"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(o["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),r&&(o["Content-Type"]="application/json");var s=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,l=Df({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:o},Uf?{}:s),a=typeof t.alternateFetch=="function"&&t.alternateFetch.length>=1?t.alternateFetch:void 0;try{zf(n,l,i,a)}catch(u){if(!s||Object.keys(s).length===0||!u.message||u.message.indexOf("not implemented")<0)return i(u);try{Object.keys(s).forEach(function(f){delete l[f]}),zf(n,l,i,a),Uf=!0}catch(f){i(f)}}},HS=function(t,n,r,i){r&&Sn(r)==="object"&&(r=Pa("",r).slice(1)),t.queryStringParams&&(n=Pa(n,t.queryStringParams));try{var o;ui?o=new ui:o=new Fo("MSXML2.XMLHTTP.3.0"),o.open(r?"POST":"GET",n,1),t.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!t.withCredentials,r&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var s=t.customHeaders;if(s=typeof s=="function"?s():s,s)for(var l in s)o.setRequestHeader(l,s[l]);o.onreadystatechange=function(){o.readyState>3&&i(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(r)}catch(a){console&&console.log(a)}},VS=function(t,n,r,i){if(typeof r=="function"&&(i=r,r=void 0),i=i||function(){},Ot&&n.indexOf("file:")!==0)return BS(t,n,r,i);if(lm()||typeof ActiveXObject=="function")return HS(t,n,r,i);i(new Error("No fetch and no xhr implementation found!"))};function ir(e){"@babel/helpers - typeof";return ir=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ir(e)}function Bf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function gl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Bf(Object(n),!0).forEach(function(r){cm(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function WS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,fm(r.key),r)}}function QS(e,t,n){return t&&KS(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function cm(e,t,n){return t=fm(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fm(e){var t=GS(e,"string");return ir(t)=="symbol"?t:t+""}function GS(e,t){if(ir(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(ir(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var qS=function(){return{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:function(n){return JSON.parse(n)},stringify:JSON.stringify,parsePayload:function(n,r,i){return cm({},r,i||"")},parseLoadPayload:function(n,r){},request:VS,reloadInterval:typeof window<"u"?!1:60*60*1e3,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}},XS=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};WS(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return QS(e,[{key:"init",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.services=n,this.options=gl(gl(gl({},qS()),this.options||{}),i),this.allOptions=o,this.services&&this.options.reloadInterval){var s=setInterval(function(){return r.reload()},this.options.reloadInterval);ir(s)==="object"&&typeof s.unref=="function"&&s.unref()}}},{key:"readMulti",value:function(n,r,i){this._readAny(n,n,r,r,i)}},{key:"read",value:function(n,r,i){this._readAny([n],n,[r],r,i)}},{key:"_readAny",value:function(n,r,i,o,s){var l=this,a=this.options.loadPath;typeof this.options.loadPath=="function"&&(a=this.options.loadPath(n,i)),a=MS(a),a.then(function(u){if(!u)return s(null,{});var f=l.services.interpolator.interpolate(u,{lng:n.join("+"),ns:i.join("+")});l.loadUrl(f,s,r,o)})}},{key:"loadUrl",value:function(n,r,i,o){var s=this,l=typeof i=="string"?[i]:i,a=typeof o=="string"?[o]:o,u=this.options.parseLoadPayload(l,a);this.options.request(this.options,n,u,function(f,d){if(d&&(d.status>=500&&d.status<600||!d.status))return r("failed loading "+n+"; status code: "+d.status,!0);if(d&&d.status>=400&&d.status<500)return r("failed loading "+n+"; status code: "+d.status,!1);if(!d&&f&&f.message&&f.message.indexOf("Failed to fetch")>-1)return r("failed loading "+n+": "+f.message,!0);if(f)return r(f,!1);var c,y;try{typeof d.data=="string"?c=s.options.parse(d.data,i,o):c=d.data}catch{y="failed parsing "+n+" to json"}if(y)return r(y,!1);r(null,c)})}},{key:"create",value:function(n,r,i,o,s){var l=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var a=this.options.parsePayload(r,i,o),u=0,f=[],d=[];n.forEach(function(c){var y=l.options.addPath;typeof l.options.addPath=="function"&&(y=l.options.addPath(c,r));var g=l.services.interpolator.interpolate(y,{lng:c,ns:r});l.options.request(l.options,g,a,function(v,_){u+=1,f.push(v),d.push(_),u===n.length&&typeof s=="function"&&s(f,d)})})}}},{key:"reload",value:function(){var n=this,r=this.services,i=r.backendConnector,o=r.languageUtils,s=r.logger,l=i.language;if(!(l&&l.toLowerCase()==="cimode")){var a=[],u=function(d){var c=o.toResolveHierarchy(d);c.forEach(function(y){a.indexOf(y)<0&&a.push(y)})};u(l),this.allOptions.preload&&this.allOptions.preload.forEach(function(f){return u(f)}),a.forEach(function(f){n.allOptions.ns.forEach(function(d){i.read(f,d,"read",null,null,function(c,y){c&&s.warn("loading namespace ".concat(d," for language ").concat(f," failed"),c),!c&&y&&s.log("loaded namespace ".concat(d," for language ").concat(f),y),i.loaded("".concat(f,"|").concat(d),c,y)})})})}}}])}();XS.type="backend";export{_x as $,cx as A,Zh as B,vx as C,Iv as D,Mv as E,jv as F,U1 as G,ux as H,Wh as I,pv as J,lh as K,Px as L,bv as M,tn as N,Ox as O,Tv as P,da as Q,Mh as R,fx as S,tm as T,Av as U,nx as V,hx as W,gx as X,Lt as Y,Ts as Z,Q as _,En as a,sx as a0,Sx as a1,ex as a2,tx as a3,ZS as a4,Ne as a5,XS as a6,jS as a7,Tx as a8,Rx as a9,Nx as aa,Cx as ab,Ex as ac,Gc as ad,wx as b,Eu as c,ii as d,Vh as e,ch as f,xx as g,js as h,yx as i,Nv as j,px as k,kx as l,sr as m,ca as n,dx as o,rx as p,ix as q,b as r,As as s,dv as t,mx as u,ox as v,hv as w,lx as x,ax as y,gv as z};