var wS=Object.defineProperty;var DS=(a,i,n)=>i in a?wS(a,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[i]=n;var _e=(a,i,n)=>DS(a,typeof i!="symbol"?i+"":i,n);function TS(a,i){for(var n=0;n<i.length;n++){const t=i[n];if(typeof t!="string"&&!Array.isArray(t)){for(const l in t)if(l!=="default"&&!(l in a)){const s=Object.getOwnPropertyDescriptor(t,l);s&&Object.defineProperty(a,l,s.get?s:{enumerable:!0,get:()=>t[l]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))t(l);new MutationObserver(l=>{for(const s of l)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&t(c)}).observe(document,{childList:!0,subtree:!0});function n(l){const s={};return l.integrity&&(s.integrity=l.integrity),l.referrerPolicy&&(s.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?s.credentials="include":l.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function t(l){if(l.ep)return;l.ep=!0;const s=n(l);fetch(l.href,s)}})();var tc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function mr(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var t1={exports:{}},ps={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n4;function xS(){if(n4)return ps;n4=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function n(t,l,s){var c=null;if(s!==void 0&&(c=""+s),l.key!==void 0&&(c=""+l.key),"key"in l){s={};for(var d in l)d!=="key"&&(s[d]=l[d])}else s=l;return l=s.ref,{$$typeof:a,type:t,key:c,ref:l!==void 0?l:null,props:s}}return ps.Fragment=i,ps.jsx=n,ps.jsxs=n,ps}var r4;function MS(){return r4||(r4=1,t1.exports=xS()),t1.exports}var W=MS(),n1={exports:{}},ms={},r1={exports:{}},a1={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var a4;function OS(){return a4||(a4=1,function(a){function i(T,N){var L=T.length;T.push(N);e:for(;0<L;){var $=L-1>>>1,A=T[$];if(0<l(A,N))T[$]=N,T[L]=A,L=$;else break e}}function n(T){return T.length===0?null:T[0]}function t(T){if(T.length===0)return null;var N=T[0],L=T.pop();if(L!==N){T[0]=L;e:for(var $=0,A=T.length,j=A>>>1;$<j;){var oe=2*($+1)-1,ae=T[oe],he=oe+1,fe=T[he];if(0>l(ae,L))he<A&&0>l(fe,ae)?(T[$]=fe,T[he]=L,$=he):(T[$]=ae,T[oe]=L,$=oe);else if(he<A&&0>l(fe,L))T[$]=fe,T[he]=L,$=he;else break e}}return N}function l(T,N){var L=T.sortIndex-N.sortIndex;return L!==0?L:T.id-N.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;a.unstable_now=function(){return s.now()}}else{var c=Date,d=c.now();a.unstable_now=function(){return c.now()-d}}var h=[],m=[],v=1,g=null,S=3,w=!1,M=!1,R=!1,C=!1,H=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,Y=typeof setImmediate<"u"?setImmediate:null;function K(T){for(var N=n(m);N!==null;){if(N.callback===null)t(m);else if(N.startTime<=T)t(m),N.sortIndex=N.expirationTime,i(h,N);else break;N=n(m)}}function X(T){if(R=!1,K(T),!M)if(n(h)!==null)M=!0,re||(re=!0,k());else{var N=n(m);N!==null&&U(X,N.startTime-T)}}var re=!1,V=-1,_=5,E=-1;function D(){return C?!0:!(a.unstable_now()-E<_)}function q(){if(C=!1,re){var T=a.unstable_now();E=T;var N=!0;try{e:{M=!1,R&&(R=!1,O(V),V=-1),w=!0;var L=S;try{t:{for(K(T),g=n(h);g!==null&&!(g.expirationTime>T&&D());){var $=g.callback;if(typeof $=="function"){g.callback=null,S=g.priorityLevel;var A=$(g.expirationTime<=T);if(T=a.unstable_now(),typeof A=="function"){g.callback=A,K(T),N=!0;break t}g===n(h)&&t(h),K(T)}else t(h);g=n(h)}if(g!==null)N=!0;else{var j=n(m);j!==null&&U(X,j.startTime-T),N=!1}}break e}finally{g=null,S=L,w=!1}N=void 0}}finally{N?k():re=!1}}}var k;if(typeof Y=="function")k=function(){Y(q)};else if(typeof MessageChannel<"u"){var z=new MessageChannel,B=z.port2;z.port1.onmessage=q,k=function(){B.postMessage(null)}}else k=function(){H(q,0)};function U(T,N){V=H(function(){T(a.unstable_now())},N)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(T){T.callback=null},a.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_=0<T?Math.floor(1e3/T):5},a.unstable_getCurrentPriorityLevel=function(){return S},a.unstable_next=function(T){switch(S){case 1:case 2:case 3:var N=3;break;default:N=S}var L=S;S=N;try{return T()}finally{S=L}},a.unstable_requestPaint=function(){C=!0},a.unstable_runWithPriority=function(T,N){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var L=S;S=T;try{return N()}finally{S=L}},a.unstable_scheduleCallback=function(T,N,L){var $=a.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?$+L:$):L=$,T){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5e3}return A=L+A,T={id:v++,callback:N,priorityLevel:T,startTime:L,expirationTime:A,sortIndex:-1},L>$?(T.sortIndex=L,i(m,T),n(h)===null&&T===n(m)&&(R?(O(V),V=-1):R=!0,U(X,L-$))):(T.sortIndex=A,i(h,T),M||w||(M=!0,re||(re=!0,k()))),T},a.unstable_shouldYield=D,a.unstable_wrapCallback=function(T){var N=S;return function(){var L=S;S=N;try{return T.apply(this,arguments)}finally{S=L}}}}(a1)),a1}var i4;function AS(){return i4||(i4=1,r1.exports=OS()),r1.exports}var i1={exports:{}},je={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var l4;function CS(){if(l4)return je;l4=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),t=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.iterator;function S(A){return A===null||typeof A!="object"?null:(A=g&&A[g]||A["@@iterator"],typeof A=="function"?A:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M=Object.assign,R={};function C(A,j,oe){this.props=A,this.context=j,this.refs=R,this.updater=oe||w}C.prototype.isReactComponent={},C.prototype.setState=function(A,j){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,j,"setState")},C.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function H(){}H.prototype=C.prototype;function O(A,j,oe){this.props=A,this.context=j,this.refs=R,this.updater=oe||w}var Y=O.prototype=new H;Y.constructor=O,M(Y,C.prototype),Y.isPureReactComponent=!0;var K=Array.isArray,X={H:null,A:null,T:null,S:null,V:null},re=Object.prototype.hasOwnProperty;function V(A,j,oe,ae,he,fe){return oe=fe.ref,{$$typeof:a,type:A,key:j,ref:oe!==void 0?oe:null,props:fe}}function _(A,j){return V(A.type,j,void 0,void 0,void 0,A.props)}function E(A){return typeof A=="object"&&A!==null&&A.$$typeof===a}function D(A){var j={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(oe){return j[oe]})}var q=/\/+/g;function k(A,j){return typeof A=="object"&&A!==null&&A.key!=null?D(""+A.key):j.toString(36)}function z(){}function B(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(z,z):(A.status="pending",A.then(function(j){A.status==="pending"&&(A.status="fulfilled",A.value=j)},function(j){A.status==="pending"&&(A.status="rejected",A.reason=j)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function U(A,j,oe,ae,he){var fe=typeof A;(fe==="undefined"||fe==="boolean")&&(A=null);var me=!1;if(A===null)me=!0;else switch(fe){case"bigint":case"string":case"number":me=!0;break;case"object":switch(A.$$typeof){case a:case i:me=!0;break;case v:return me=A._init,U(me(A._payload),j,oe,ae,he)}}if(me)return he=he(A),me=ae===""?"."+k(A,0):ae,K(he)?(oe="",me!=null&&(oe=me.replace(q,"$&/")+"/"),U(he,j,oe,"",function(qt){return qt})):he!=null&&(E(he)&&(he=_(he,oe+(he.key==null||A&&A.key===he.key?"":(""+he.key).replace(q,"$&/")+"/")+me)),j.push(he)),1;me=0;var ze=ae===""?".":ae+":";if(K(A))for(var Re=0;Re<A.length;Re++)ae=A[Re],fe=ze+k(ae,Re),me+=U(ae,j,oe,fe,he);else if(Re=S(A),typeof Re=="function")for(A=Re.call(A),Re=0;!(ae=A.next()).done;)ae=ae.value,fe=ze+k(ae,Re++),me+=U(ae,j,oe,fe,he);else if(fe==="object"){if(typeof A.then=="function")return U(B(A),j,oe,ae,he);throw j=String(A),Error("Objects are not valid as a React child (found: "+(j==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":j)+"). If you meant to render a collection of children, use an array instead.")}return me}function T(A,j,oe){if(A==null)return A;var ae=[],he=0;return U(A,ae,"","",function(fe){return j.call(oe,fe,he++)}),ae}function N(A){if(A._status===-1){var j=A._result;j=j(),j.then(function(oe){(A._status===0||A._status===-1)&&(A._status=1,A._result=oe)},function(oe){(A._status===0||A._status===-1)&&(A._status=2,A._result=oe)}),A._status===-1&&(A._status=0,A._result=j)}if(A._status===1)return A._result.default;throw A._result}var L=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var j=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent(j))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)};function $(){}return je.Children={map:T,forEach:function(A,j,oe){T(A,function(){j.apply(this,arguments)},oe)},count:function(A){var j=0;return T(A,function(){j++}),j},toArray:function(A){return T(A,function(j){return j})||[]},only:function(A){if(!E(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},je.Component=C,je.Fragment=n,je.Profiler=l,je.PureComponent=O,je.StrictMode=t,je.Suspense=h,je.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=X,je.__COMPILER_RUNTIME={__proto__:null,c:function(A){return X.H.useMemoCache(A)}},je.cache=function(A){return function(){return A.apply(null,arguments)}},je.cloneElement=function(A,j,oe){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var ae=M({},A.props),he=A.key,fe=void 0;if(j!=null)for(me in j.ref!==void 0&&(fe=void 0),j.key!==void 0&&(he=""+j.key),j)!re.call(j,me)||me==="key"||me==="__self"||me==="__source"||me==="ref"&&j.ref===void 0||(ae[me]=j[me]);var me=arguments.length-2;if(me===1)ae.children=oe;else if(1<me){for(var ze=Array(me),Re=0;Re<me;Re++)ze[Re]=arguments[Re+2];ae.children=ze}return V(A.type,he,void 0,void 0,fe,ae)},je.createContext=function(A){return A={$$typeof:c,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:s,_context:A},A},je.createElement=function(A,j,oe){var ae,he={},fe=null;if(j!=null)for(ae in j.key!==void 0&&(fe=""+j.key),j)re.call(j,ae)&&ae!=="key"&&ae!=="__self"&&ae!=="__source"&&(he[ae]=j[ae]);var me=arguments.length-2;if(me===1)he.children=oe;else if(1<me){for(var ze=Array(me),Re=0;Re<me;Re++)ze[Re]=arguments[Re+2];he.children=ze}if(A&&A.defaultProps)for(ae in me=A.defaultProps,me)he[ae]===void 0&&(he[ae]=me[ae]);return V(A,fe,void 0,void 0,null,he)},je.createRef=function(){return{current:null}},je.forwardRef=function(A){return{$$typeof:d,render:A}},je.isValidElement=E,je.lazy=function(A){return{$$typeof:v,_payload:{_status:-1,_result:A},_init:N}},je.memo=function(A,j){return{$$typeof:m,type:A,compare:j===void 0?null:j}},je.startTransition=function(A){var j=X.T,oe={};X.T=oe;try{var ae=A(),he=X.S;he!==null&&he(oe,ae),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"&&ae.then($,L)}catch(fe){L(fe)}finally{X.T=j}},je.unstable_useCacheRefresh=function(){return X.H.useCacheRefresh()},je.use=function(A){return X.H.use(A)},je.useActionState=function(A,j,oe){return X.H.useActionState(A,j,oe)},je.useCallback=function(A,j){return X.H.useCallback(A,j)},je.useContext=function(A){return X.H.useContext(A)},je.useDebugValue=function(){},je.useDeferredValue=function(A,j){return X.H.useDeferredValue(A,j)},je.useEffect=function(A,j,oe){var ae=X.H;if(typeof oe=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return ae.useEffect(A,j)},je.useId=function(){return X.H.useId()},je.useImperativeHandle=function(A,j,oe){return X.H.useImperativeHandle(A,j,oe)},je.useInsertionEffect=function(A,j){return X.H.useInsertionEffect(A,j)},je.useLayoutEffect=function(A,j){return X.H.useLayoutEffect(A,j)},je.useMemo=function(A,j){return X.H.useMemo(A,j)},je.useOptimistic=function(A,j){return X.H.useOptimistic(A,j)},je.useReducer=function(A,j,oe){return X.H.useReducer(A,j,oe)},je.useRef=function(A){return X.H.useRef(A)},je.useState=function(A){return X.H.useState(A)},je.useSyncExternalStore=function(A,j,oe){return X.H.useSyncExternalStore(A,j,oe)},je.useTransition=function(){return X.H.useTransition()},je.version="19.1.0",je}var o4;function Q2(){return o4||(o4=1,i1.exports=CS()),i1.exports}var l1={exports:{}},Hn={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var s4;function RS(){if(s4)return Hn;s4=1;var a=Q2();function i(h){var m="https://react.dev/errors/"+h;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)m+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+h+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var t={d:{f:n,r:function(){throw Error(i(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},l=Symbol.for("react.portal");function s(h,m,v){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:g==null?null:""+g,children:h,containerInfo:m,implementation:v}}var c=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(h,m){if(h==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return Hn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=t,Hn.createPortal=function(h,m){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(i(299));return s(h,m,null,v)},Hn.flushSync=function(h){var m=c.T,v=t.p;try{if(c.T=null,t.p=2,h)return h()}finally{c.T=m,t.p=v,t.d.f()}},Hn.preconnect=function(h,m){typeof h=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,t.d.C(h,m))},Hn.prefetchDNS=function(h){typeof h=="string"&&t.d.D(h)},Hn.preinit=function(h,m){if(typeof h=="string"&&m&&typeof m.as=="string"){var v=m.as,g=d(v,m.crossOrigin),S=typeof m.integrity=="string"?m.integrity:void 0,w=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;v==="style"?t.d.S(h,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:g,integrity:S,fetchPriority:w}):v==="script"&&t.d.X(h,{crossOrigin:g,integrity:S,fetchPriority:w,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},Hn.preinitModule=function(h,m){if(typeof h=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var v=d(m.as,m.crossOrigin);t.d.M(h,{crossOrigin:v,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&t.d.M(h)},Hn.preload=function(h,m){if(typeof h=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var v=m.as,g=d(v,m.crossOrigin);t.d.L(h,v,{crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},Hn.preloadModule=function(h,m){if(typeof h=="string")if(m){var v=d(m.as,m.crossOrigin);t.d.m(h,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:v,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else t.d.m(h)},Hn.requestFormReset=function(h){t.d.r(h)},Hn.unstable_batchedUpdates=function(h,m){return h(m)},Hn.useFormState=function(h,m,v){return c.H.useFormState(h,m,v)},Hn.useFormStatus=function(){return c.H.useHostTransitionStatus()},Hn.version="19.1.0",Hn}var u4;function N9(){if(u4)return l1.exports;u4=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),l1.exports=RS(),l1.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var c4;function NS(){if(c4)return ms;c4=1;var a=AS(),i=Q2(),n=N9();function t(e){var r="https://react.dev/errors/"+e;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)r+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function s(e){var r=e,o=e;if(e.alternate)for(;r.return;)r=r.return;else{e=r;do r=e,(r.flags&4098)!==0&&(o=r.return),e=r.return;while(e)}return r.tag===3?o:null}function c(e){if(e.tag===13){var r=e.memoizedState;if(r===null&&(e=e.alternate,e!==null&&(r=e.memoizedState)),r!==null)return r.dehydrated}return null}function d(e){if(s(e)!==e)throw Error(t(188))}function h(e){var r=e.alternate;if(!r){if(r=s(e),r===null)throw Error(t(188));return r!==e?null:e}for(var o=e,u=r;;){var f=o.return;if(f===null)break;var p=f.alternate;if(p===null){if(u=f.return,u!==null){o=u;continue}break}if(f.child===p.child){for(p=f.child;p;){if(p===o)return d(f),e;if(p===u)return d(f),r;p=p.sibling}throw Error(t(188))}if(o.return!==u.return)o=f,u=p;else{for(var b=!1,x=f.child;x;){if(x===o){b=!0,o=f,u=p;break}if(x===u){b=!0,u=f,o=p;break}x=x.sibling}if(!b){for(x=p.child;x;){if(x===o){b=!0,o=p,u=f;break}if(x===u){b=!0,u=p,o=f;break}x=x.sibling}if(!b)throw Error(t(189))}}if(o.alternate!==u)throw Error(t(190))}if(o.tag!==3)throw Error(t(188));return o.stateNode.current===o?e:r}function m(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e;for(e=e.child;e!==null;){if(r=m(e),r!==null)return r;e=e.sibling}return null}var v=Object.assign,g=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),H=Symbol.for("react.provider"),O=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),re=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),E=Symbol.for("react.activity"),D=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function k(e){return e===null||typeof e!="object"?null:(e=q&&e[q]||e["@@iterator"],typeof e=="function"?e:null)}var z=Symbol.for("react.client.reference");function B(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===z?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case M:return"Fragment";case C:return"Profiler";case R:return"StrictMode";case X:return"Suspense";case re:return"SuspenseList";case E:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case w:return"Portal";case Y:return(e.displayName||"Context")+".Provider";case O:return(e._context.displayName||"Context")+".Consumer";case K:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case V:return r=e.displayName||null,r!==null?r:B(e.type)||"Memo";case _:r=e._payload,e=e._init;try{return B(e(r))}catch{}}return null}var U=Array.isArray,T=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,N=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L={pending:!1,data:null,method:null,action:null},$=[],A=-1;function j(e){return{current:e}}function oe(e){0>A||(e.current=$[A],$[A]=null,A--)}function ae(e,r){A++,$[A]=e.current,e.current=r}var he=j(null),fe=j(null),me=j(null),ze=j(null);function Re(e,r){switch(ae(me,r),ae(fe,e),ae(he,null),r.nodeType){case 9:case 11:e=(e=r.documentElement)&&(e=e.namespaceURI)?Cv(e):0;break;default:if(e=r.tagName,r=r.namespaceURI)r=Cv(r),e=Rv(r,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}oe(he),ae(he,e)}function qt(){oe(he),oe(fe),oe(me)}function Ut(e){e.memoizedState!==null&&ae(ze,e);var r=he.current,o=Rv(r,e.type);r!==o&&(ae(fe,e),ae(he,o))}function mt(e){fe.current===e&&(oe(he),oe(fe)),ze.current===e&&(oe(ze),us._currentValue=L)}var Ht=Object.prototype.hasOwnProperty,lt=a.unstable_scheduleCallback,nt=a.unstable_cancelCallback,Ue=a.unstable_shouldYield,Rn=a.unstable_requestPaint,xt=a.unstable_now,Nn=a.unstable_getCurrentPriorityLevel,Je=a.unstable_ImmediatePriority,Wn=a.unstable_UserBlockingPriority,zn=a.unstable_NormalPriority,qe=a.unstable_LowPriority,ge=a.unstable_IdlePriority,He=a.log,Ae=a.unstable_setDisableYieldValue,Ze=null,ot=null;function Rt(e){if(typeof He=="function"&&Ae(e),ot&&typeof ot.setStrictMode=="function")try{ot.setStrictMode(Ze,e)}catch{}}var Mt=Math.clz32?Math.clz32:kn,vr=Math.log,En=Math.LN2;function kn(e){return e>>>=0,e===0?32:31-(vr(e)/En|0)|0}var Ft=256,We=4194304;function Pt(e){var r=e&42;if(r!==0)return r;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:return 64;case 128:return 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&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ln(e,r,o){var u=e.pendingLanes;if(u===0)return 0;var f=0,p=e.suspendedLanes,b=e.pingedLanes;e=e.warmLanes;var x=u&134217727;return x!==0?(u=x&~p,u!==0?f=Pt(u):(b&=x,b!==0?f=Pt(b):o||(o=x&~e,o!==0&&(f=Pt(o))))):(x=u&~p,x!==0?f=Pt(x):b!==0?f=Pt(b):o||(o=u&~e,o!==0&&(f=Pt(o)))),f===0?0:r!==0&&r!==f&&(r&p)===0&&(p=f&-f,o=r&-r,p>=o||p===32&&(o&4194048)!==0)?r:f}function vn(e,r){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&r)===0}function qr(e,r){switch(e){case 1:case 2:case 4:case 8:case 64:return r+250;case 16:case 32: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 r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ln(){var e=Ft;return Ft<<=1,(Ft&4194048)===0&&(Ft=256),e}function qn(){var e=We;return We<<=1,(We&62914560)===0&&(We=4194304),e}function wn(e){for(var r=[],o=0;31>o;o++)r.push(e);return r}function rt(e,r){e.pendingLanes|=r,r!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Qn(e,r,o,u,f,p){var b=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var x=e.entanglements,P=e.expirationTimes,ee=e.hiddenUpdates;for(o=b&~o;0<o;){var ie=31-Mt(o),se=1<<ie;x[ie]=0,P[ie]=-1;var te=ee[ie];if(te!==null)for(ee[ie]=null,ie=0;ie<te.length;ie++){var ne=te[ie];ne!==null&&(ne.lane&=-536870913)}o&=~se}u!==0&&Ot(e,u,0),p!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=p&~(b&~r))}function Ot(e,r,o){e.pendingLanes|=r,e.suspendedLanes&=~r;var u=31-Mt(r);e.entangledLanes|=r,e.entanglements[u]=e.entanglements[u]|1073741824|o&4194090}function $e(e,r){var o=e.entangledLanes|=r;for(e=e.entanglements;o;){var u=31-Mt(o),f=1<<u;f&r|e[u]&r&&(e[u]|=r),o&=~f}}function Te(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Ye(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Jt(){var e=N.p;return e!==0?e:(e=window.event,e===void 0?32:Kv(e.type))}function vt(e,r){var o=N.p;try{return N.p=e,r()}finally{N.p=o}}var pe=Math.random().toString(36).slice(2),ye="__reactFiber$"+pe,we="__reactProps$"+pe,Be="__reactContainer$"+pe,At="__reactEvents$"+pe,Dn="__reactListeners$"+pe,gn="__reactHandles$"+pe,zt="__reactResources$"+pe,Yt="__reactMarker$"+pe;function Me(e){delete e[ye],delete e[we],delete e[At],delete e[Dn],delete e[gn]}function dn(e){var r=e[ye];if(r)return r;for(var o=e.parentNode;o;){if(r=o[Be]||o[ye]){if(o=r.alternate,r.child!==null||o!==null&&o.child!==null)for(e=qv(e);e!==null;){if(o=e[ye])return o;e=qv(e)}return r}e=o,o=e.parentNode}return null}function gt(e){if(e=e[ye]||e[Be]){var r=e.tag;if(r===5||r===6||r===13||r===26||r===27||r===3)return e}return null}function tr(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e.stateNode;throw Error(t(33))}function et(e){var r=e[zt];return r||(r=e[zt]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function yt(e){e[Yt]=!0}var Ee=new Set,F={};function ue(e,r){ce(e,r),ce(e+"Capture",r)}function ce(e,r){for(F[e]=r,e=0;e<r.length;e++)Ee.add(r[e])}var Ie=RegExp("^[: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]*$"),dt={},ht={};function Nt(e){return Ht.call(ht,e)?!0:Ht.call(dt,e)?!1:Ie.test(e)?ht[e]=!0:(dt[e]=!0,!1)}function Gt(e,r,o){if(Nt(r))if(o===null)e.removeAttribute(r);else{switch(typeof o){case"undefined":case"function":case"symbol":e.removeAttribute(r);return;case"boolean":var u=r.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){e.removeAttribute(r);return}}e.setAttribute(r,""+o)}}function Kn(e,r,o){if(o===null)e.removeAttribute(r);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttribute(r,""+o)}}function st(e,r,o,u){if(u===null)e.removeAttribute(o);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(o);return}e.setAttributeNS(r,o,""+u)}}var Ur,$r;function ya(e){if(Ur===void 0)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);Ur=r&&r[1]||"",$r=-1<o.stack.indexOf(`
    at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Ur+e+$r}var ml=!1;function yo(e,r){if(!e||ml)return"";ml=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(r){var se=function(){throw Error()};if(Object.defineProperty(se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(se,[])}catch(ne){var te=ne}Reflect.construct(e,[],se)}else{try{se.call()}catch(ne){te=ne}e.call(se.prototype)}}else{try{throw Error()}catch(ne){te=ne}(se=e())&&typeof se.catch=="function"&&se.catch(function(){})}}catch(ne){if(ne&&te&&typeof ne.stack=="string")return[ne.stack,te.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var p=u.DetermineComponentFrameRoot(),b=p[0],x=p[1];if(b&&x){var P=b.split(`
`),ee=x.split(`
`);for(f=u=0;u<P.length&&!P[u].includes("DetermineComponentFrameRoot");)u++;for(;f<ee.length&&!ee[f].includes("DetermineComponentFrameRoot");)f++;if(u===P.length||f===ee.length)for(u=P.length-1,f=ee.length-1;1<=u&&0<=f&&P[u]!==ee[f];)f--;for(;1<=u&&0<=f;u--,f--)if(P[u]!==ee[f]){if(u!==1||f!==1)do if(u--,f--,0>f||P[u]!==ee[f]){var ie=`
`+P[u].replace(" at new "," at ");return e.displayName&&ie.includes("<anonymous>")&&(ie=ie.replace("<anonymous>",e.displayName)),ie}while(1<=u&&0<=f);break}}}finally{ml=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?ya(o):""}function bo(e){switch(e.tag){case 26:case 27:case 5:return ya(e.type);case 16:return ya("Lazy");case 13:return ya("Suspense");case 19:return ya("SuspenseList");case 0:case 15:return yo(e.type,!1);case 11:return yo(e.type.render,!1);case 1:return yo(e.type,!0);case 31:return ya("Activity");default:return""}}function Wa(e){try{var r="";do r+=bo(e),e=e.return;while(e);return r}catch(o){return`
Error generating stack: `+o.message+`
`+o.stack}}function hn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ba(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Ws(e){var r=ba(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),u=""+e[r];if(!e.hasOwnProperty(r)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var f=o.get,p=o.set;return Object.defineProperty(e,r,{configurable:!0,get:function(){return f.call(this)},set:function(b){u=""+b,p.call(this,b)}}),Object.defineProperty(e,r,{enumerable:o.enumerable}),{getValue:function(){return u},setValue:function(b){u=""+b},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function ki(e){e._valueTracker||(e._valueTracker=Ws(e))}function _o(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var o=r.getValue(),u="";return e&&(u=ba(e)?e.checked?"true":"false":e.value),e=u,e!==o?(r.setValue(e),!0):!1}function Qa(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}}var Qs=/[\n"\\]/g;function Tn(e){return e.replace(Qs,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function Ka(e,r,o,u,f,p,b,x){e.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.type=b:e.removeAttribute("type"),r!=null?b==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+hn(r)):e.value!==""+hn(r)&&(e.value=""+hn(r)):b!=="submit"&&b!=="reset"||e.removeAttribute("value"),r!=null?Jr(e,b,hn(r)):o!=null?Jr(e,b,hn(o)):u!=null&&e.removeAttribute("value"),f==null&&p!=null&&(e.defaultChecked=!!p),f!=null&&(e.checked=f&&typeof f!="function"&&typeof f!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.name=""+hn(x):e.removeAttribute("name")}function gr(e,r,o,u,f,p,b,x){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(e.type=p),r!=null||o!=null){if(!(p!=="submit"&&p!=="reset"||r!=null))return;o=o!=null?""+hn(o):"",r=r!=null?""+hn(r):o,x||r===e.value||(e.value=r),e.defaultValue=r}u=u??f,u=typeof u!="function"&&typeof u!="symbol"&&!!u,e.checked=x?e.checked:!!u,e.defaultChecked=!!u,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(e.name=b)}function Jr(e,r,o){r==="number"&&Qa(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function ea(e,r,o,u){if(e=e.options,r){r={};for(var f=0;f<o.length;f++)r["$"+o[f]]=!0;for(o=0;o<e.length;o++)f=r.hasOwnProperty("$"+e[o].value),e[o].selected!==f&&(e[o].selected=f),f&&u&&(e[o].defaultSelected=!0)}else{for(o=""+hn(o),r=null,f=0;f<e.length;f++){if(e[f].value===o){e[f].selected=!0,u&&(e[f].defaultSelected=!0);return}r!==null||e[f].disabled||(r=e[f])}r!==null&&(r.selected=!0)}}function vl(e,r,o){if(r!=null&&(r=""+hn(r),r!==e.value&&(e.value=r),o==null)){e.defaultValue!==r&&(e.defaultValue=r);return}e.defaultValue=o!=null?""+hn(o):""}function Ks(e,r,o,u){if(r==null){if(u!=null){if(o!=null)throw Error(t(92));if(U(u)){if(1<u.length)throw Error(t(93));u=u[0]}o=u}o==null&&(o=""),r=o}o=hn(r),e.defaultValue=o,u=e.textContent,u===o&&u!==""&&u!==null&&(e.value=u)}function Hr(e,r){if(r){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=r;return}}e.textContent=r}var gl=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Xs(e,r,o){var u=r.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?u?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="":u?e.setProperty(r,o):typeof o!="number"||o===0||gl.has(r)?r==="float"?e.cssFloat=o:e[r]=(""+o).trim():e[r]=o+"px"}function Xa(e,r,o){if(r!=null&&typeof r!="object")throw Error(t(62));if(e=e.style,o!=null){for(var u in o)!o.hasOwnProperty(u)||r!=null&&r.hasOwnProperty(u)||(u.indexOf("--")===0?e.setProperty(u,""):u==="float"?e.cssFloat="":e[u]="");for(var f in r)u=r[f],r.hasOwnProperty(f)&&o[f]!==u&&Xs(e,f,u)}else for(var p in r)r.hasOwnProperty(p)&&Xs(e,p,r[p])}function So(e){if(e.indexOf("-")===-1)return!1;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 of=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),on=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Pr(e){return on.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Eo=null;function yl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ta=null,_a=null;function wo(e){var r=gt(e);if(r&&(e=r.stateNode)){var o=e[we]||null;e:switch(e=r.stateNode,r.type){case"input":if(Ka(e,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),r=o.name,o.type==="radio"&&r!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+Tn(""+r)+'"][type="radio"]'),r=0;r<o.length;r++){var u=o[r];if(u!==e&&u.form===e.form){var f=u[we]||null;if(!f)throw Error(t(90));Ka(u,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(r=0;r<o.length;r++)u=o[r],u.form===e.form&&_o(u)}break e;case"textarea":vl(e,o.value,o.defaultValue);break e;case"select":r=o.value,r!=null&&ea(e,!!o.multiple,r,!1)}}}var Do=!1;function nr(e,r,o){if(Do)return e(r,o);Do=!0;try{var u=e(r);return u}finally{if(Do=!1,(ta!==null||_a!==null)&&(Lu(),ta&&(r=ta,e=_a,_a=ta=null,wo(r),e)))for(r=0;r<e.length;r++)wo(e[r])}}function na(e,r){var o=e.stateNode;if(o===null)return null;var u=o[we]||null;if(u===null)return null;o=u[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(t(231,r,typeof o));return o}var yr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),bl=!1;if(yr)try{var Sa={};Object.defineProperty(Sa,"passive",{get:function(){bl=!0}}),window.addEventListener("test",Sa,Sa),window.removeEventListener("test",Sa,Sa)}catch{bl=!1}var zr=null,rr=null,Li=null;function To(){if(Li)return Li;var e,r=rr,o=r.length,u,f="value"in zr?zr.value:zr.textContent,p=f.length;for(e=0;e<o&&r[e]===f[e];e++);var b=o-e;for(u=1;u<=b&&r[o-u]===f[p-u];u++);return Li=f.slice(e,1<u?1-u:void 0)}function qi(e){var r=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&r===13&&(e=13)):e=r,e===10&&(e=13),32<=e||e===13?e:0}function Ui(){return!0}function $s(){return!1}function be(e){function r(o,u,f,p,b){this._reactName=o,this._targetInst=f,this.type=u,this.nativeEvent=p,this.target=b,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(o=e[x],this[x]=o?o(p):p[x]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?Ui:$s,this.isPropagationStopped=$s,this}return v(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Ui)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Ui)},persist:function(){},isPersistent:Ui}),r}var G={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},de=be(G),Se=v({},G,{view:0,detail:0}),kt=be(Se),sn,en,un,Yn=v({},Se,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:uf,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!==un&&(un&&e.type==="mousemove"?(sn=e.screenX-un.screenX,en=e.screenY-un.screenY):en=sn=0,un=e),sn)},movementY:function(e){return"movementY"in e?e.movementY:en}}),$a=be(Yn),xn=v({},Yn,{dataTransfer:0}),Js=be(xn),eu=v({},Se,{relatedTarget:0}),sf=be(eu),Mb=v({},G,{animationName:0,elapsedTime:0,pseudoElement:0}),Ob=be(Mb),Ab=v({},G,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Cb=be(Ab),Rb=v({},G,{data:0}),Hm=be(Rb),Nb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kb={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"},Lb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qb(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=Lb[e])?!!r[e]:!1}function uf(){return qb}var Ub=v({},Se,{key:function(e){if(e.key){var r=Nb[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=qi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?kb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:uf,charCode:function(e){return e.type==="keypress"?qi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?qi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Hb=be(Ub),Pb=v({},Yn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Pm=be(Pb),zb=v({},Se,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:uf}),Yb=be(zb),jb=v({},G,{propertyName:0,elapsedTime:0,pseudoElement:0}),Bb=be(jb),Ib=v({},Yn,{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}),Fb=be(Ib),Gb=v({},G,{newState:0,oldState:0}),Zb=be(Gb),Vb=[9,13,27,32],cf=yr&&"CompositionEvent"in window,xo=null;yr&&"documentMode"in document&&(xo=document.documentMode);var Wb=yr&&"TextEvent"in window&&!xo,zm=yr&&(!cf||xo&&8<xo&&11>=xo),Ym=" ",jm=!1;function Bm(e,r){switch(e){case"keyup":return Vb.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Im(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var _l=!1;function Qb(e,r){switch(e){case"compositionend":return Im(r);case"keypress":return r.which!==32?null:(jm=!0,Ym);case"textInput":return e=r.data,e===Ym&&jm?null:e;default:return null}}function Kb(e,r){if(_l)return e==="compositionend"||!cf&&Bm(e,r)?(e=To(),Li=rr=zr=null,_l=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return zm&&r.locale!=="ko"?null:r.data;default:return null}}var Xb={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 Fm(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!Xb[e.type]:r==="textarea"}function Gm(e,r,o,u){ta?_a?_a.push(u):_a=[u]:ta=u,r=Yu(r,"onChange"),0<r.length&&(o=new de("onChange","change",null,o,u),e.push({event:o,listeners:r}))}var Mo=null,Oo=null;function $b(e){Tv(e,0)}function tu(e){var r=tr(e);if(_o(r))return e}function Zm(e,r){if(e==="change")return r}var Vm=!1;if(yr){var ff;if(yr){var df="oninput"in document;if(!df){var Wm=document.createElement("div");Wm.setAttribute("oninput","return;"),df=typeof Wm.oninput=="function"}ff=df}else ff=!1;Vm=ff&&(!document.documentMode||9<document.documentMode)}function Qm(){Mo&&(Mo.detachEvent("onpropertychange",Km),Oo=Mo=null)}function Km(e){if(e.propertyName==="value"&&tu(Oo)){var r=[];Gm(r,Oo,e,yl(e)),nr($b,r)}}function Jb(e,r,o){e==="focusin"?(Qm(),Mo=r,Oo=o,Mo.attachEvent("onpropertychange",Km)):e==="focusout"&&Qm()}function e_(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return tu(Oo)}function t_(e,r){if(e==="click")return tu(r)}function n_(e,r){if(e==="input"||e==="change")return tu(r)}function r_(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var ar=typeof Object.is=="function"?Object.is:r_;function Ao(e,r){if(ar(e,r))return!0;if(typeof e!="object"||e===null||typeof r!="object"||r===null)return!1;var o=Object.keys(e),u=Object.keys(r);if(o.length!==u.length)return!1;for(u=0;u<o.length;u++){var f=o[u];if(!Ht.call(r,f)||!ar(e[f],r[f]))return!1}return!0}function Xm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $m(e,r){var o=Xm(e);e=0;for(var u;o;){if(o.nodeType===3){if(u=e+o.textContent.length,e<=r&&u>=r)return{node:o,offset:r-e};e=u}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Xm(o)}}function Jm(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?Jm(e,r.parentNode):"contains"in e?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function e3(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var r=Qa(e.document);r instanceof e.HTMLIFrameElement;){try{var o=typeof r.contentWindow.location.href=="string"}catch{o=!1}if(o)e=r.contentWindow;else break;r=Qa(e.document)}return r}function hf(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r&&(r==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||r==="textarea"||e.contentEditable==="true")}var a_=yr&&"documentMode"in document&&11>=document.documentMode,Sl=null,pf=null,Co=null,mf=!1;function t3(e,r,o){var u=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;mf||Sl==null||Sl!==Qa(u)||(u=Sl,"selectionStart"in u&&hf(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Co&&Ao(Co,u)||(Co=u,u=Yu(pf,"onSelect"),0<u.length&&(r=new de("onSelect","select",null,r,o),e.push({event:r,listeners:u}),r.target=Sl)))}function Hi(e,r){var o={};return o[e.toLowerCase()]=r.toLowerCase(),o["Webkit"+e]="webkit"+r,o["Moz"+e]="moz"+r,o}var El={animationend:Hi("Animation","AnimationEnd"),animationiteration:Hi("Animation","AnimationIteration"),animationstart:Hi("Animation","AnimationStart"),transitionrun:Hi("Transition","TransitionRun"),transitionstart:Hi("Transition","TransitionStart"),transitioncancel:Hi("Transition","TransitionCancel"),transitionend:Hi("Transition","TransitionEnd")},vf={},n3={};yr&&(n3=document.createElement("div").style,"AnimationEvent"in window||(delete El.animationend.animation,delete El.animationiteration.animation,delete El.animationstart.animation),"TransitionEvent"in window||delete El.transitionend.transition);function Pi(e){if(vf[e])return vf[e];if(!El[e])return e;var r=El[e],o;for(o in r)if(r.hasOwnProperty(o)&&o in n3)return vf[e]=r[o];return e}var r3=Pi("animationend"),a3=Pi("animationiteration"),i3=Pi("animationstart"),i_=Pi("transitionrun"),l_=Pi("transitionstart"),o_=Pi("transitioncancel"),l3=Pi("transitionend"),o3=new Map,gf="abort auxClick beforeToggle 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(" ");gf.push("scrollEnd");function Yr(e,r){o3.set(e,r),ue(r,[e])}var s3=new WeakMap;function br(e,r){if(typeof e=="object"&&e!==null){var o=s3.get(e);return o!==void 0?o:(r={value:e,source:r,stack:Wa(r)},s3.set(e,r),r)}return{value:e,source:r,stack:Wa(r)}}var _r=[],wl=0,yf=0;function nu(){for(var e=wl,r=yf=wl=0;r<e;){var o=_r[r];_r[r++]=null;var u=_r[r];_r[r++]=null;var f=_r[r];_r[r++]=null;var p=_r[r];if(_r[r++]=null,u!==null&&f!==null){var b=u.pending;b===null?f.next=f:(f.next=b.next,b.next=f),u.pending=f}p!==0&&u3(o,f,p)}}function ru(e,r,o,u){_r[wl++]=e,_r[wl++]=r,_r[wl++]=o,_r[wl++]=u,yf|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function bf(e,r,o,u){return ru(e,r,o,u),au(e)}function Dl(e,r){return ru(e,null,null,r),au(e)}function u3(e,r,o){e.lanes|=o;var u=e.alternate;u!==null&&(u.lanes|=o);for(var f=!1,p=e.return;p!==null;)p.childLanes|=o,u=p.alternate,u!==null&&(u.childLanes|=o),p.tag===22&&(e=p.stateNode,e===null||e._visibility&1||(f=!0)),e=p,p=p.return;return e.tag===3?(p=e.stateNode,f&&r!==null&&(f=31-Mt(o),e=p.hiddenUpdates,u=e[f],u===null?e[f]=[r]:u.push(r),r.lane=o|536870912),p):null}function au(e){if(50<ts)throw ts=0,Td=null,Error(t(185));for(var r=e.return;r!==null;)e=r,r=e.return;return e.tag===3?e.stateNode:null}var Tl={};function s_(e,r,o,u){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ir(e,r,o,u){return new s_(e,r,o,u)}function _f(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ea(e,r){var o=e.alternate;return o===null?(o=ir(e.tag,r,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=r,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&65011712,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,r=e.dependencies,o.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.refCleanup=e.refCleanup,o}function c3(e,r){e.flags&=65011714;var o=e.alternate;return o===null?(e.childLanes=0,e.lanes=r,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=o.childLanes,e.lanes=o.lanes,e.child=o.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=o.memoizedProps,e.memoizedState=o.memoizedState,e.updateQueue=o.updateQueue,e.type=o.type,r=o.dependencies,e.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),e}function iu(e,r,o,u,f,p){var b=0;if(u=e,typeof e=="function")_f(e)&&(b=1);else if(typeof e=="string")b=cS(e,o,he.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case E:return e=ir(31,o,r,f),e.elementType=E,e.lanes=p,e;case M:return zi(o.children,f,p,r);case R:b=8,f|=24;break;case C:return e=ir(12,o,r,f|2),e.elementType=C,e.lanes=p,e;case X:return e=ir(13,o,r,f),e.elementType=X,e.lanes=p,e;case re:return e=ir(19,o,r,f),e.elementType=re,e.lanes=p,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case H:case Y:b=10;break e;case O:b=9;break e;case K:b=11;break e;case V:b=14;break e;case _:b=16,u=null;break e}b=29,o=Error(t(130,e===null?"null":typeof e,"")),u=null}return r=ir(b,o,r,f),r.elementType=e,r.type=u,r.lanes=p,r}function zi(e,r,o,u){return e=ir(7,e,u,r),e.lanes=o,e}function Sf(e,r,o){return e=ir(6,e,null,r),e.lanes=o,e}function Ef(e,r,o){return r=ir(4,e.children!==null?e.children:[],e.key,r),r.lanes=o,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}var xl=[],Ml=0,lu=null,ou=0,Sr=[],Er=0,Yi=null,wa=1,Da="";function ji(e,r){xl[Ml++]=ou,xl[Ml++]=lu,lu=e,ou=r}function f3(e,r,o){Sr[Er++]=wa,Sr[Er++]=Da,Sr[Er++]=Yi,Yi=e;var u=wa;e=Da;var f=32-Mt(u)-1;u&=~(1<<f),o+=1;var p=32-Mt(r)+f;if(30<p){var b=f-f%5;p=(u&(1<<b)-1).toString(32),u>>=b,f-=b,wa=1<<32-Mt(r)+f|o<<f|u,Da=p+e}else wa=1<<p|o<<f|u,Da=e}function wf(e){e.return!==null&&(ji(e,1),f3(e,1,0))}function Df(e){for(;e===lu;)lu=xl[--Ml],xl[Ml]=null,ou=xl[--Ml],xl[Ml]=null;for(;e===Yi;)Yi=Sr[--Er],Sr[Er]=null,Da=Sr[--Er],Sr[Er]=null,wa=Sr[--Er],Sr[Er]=null}var jn=null,Qt=null,ct=!1,Bi=null,ra=!1,Tf=Error(t(519));function Ii(e){var r=Error(t(418,""));throw ko(br(r,e)),Tf}function d3(e){var r=e.stateNode,o=e.type,u=e.memoizedProps;switch(r[ye]=e,r[we]=u,o){case"dialog":Ke("cancel",r),Ke("close",r);break;case"iframe":case"object":case"embed":Ke("load",r);break;case"video":case"audio":for(o=0;o<rs.length;o++)Ke(rs[o],r);break;case"source":Ke("error",r);break;case"img":case"image":case"link":Ke("error",r),Ke("load",r);break;case"details":Ke("toggle",r);break;case"input":Ke("invalid",r),gr(r,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0),ki(r);break;case"select":Ke("invalid",r);break;case"textarea":Ke("invalid",r),Ks(r,u.value,u.defaultValue,u.children),ki(r)}o=u.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||r.textContent===""+o||u.suppressHydrationWarning===!0||Av(r.textContent,o)?(u.popover!=null&&(Ke("beforetoggle",r),Ke("toggle",r)),u.onScroll!=null&&Ke("scroll",r),u.onScrollEnd!=null&&Ke("scrollend",r),u.onClick!=null&&(r.onclick=ju),r=!0):r=!1,r||Ii(e)}function h3(e){for(jn=e.return;jn;)switch(jn.tag){case 5:case 13:ra=!1;return;case 27:case 3:ra=!0;return;default:jn=jn.return}}function Ro(e){if(e!==jn)return!1;if(!ct)return h3(e),ct=!0,!1;var r=e.tag,o;if((o=r!==3&&r!==27)&&((o=r===5)&&(o=e.type,o=!(o!=="form"&&o!=="button")||jd(e.type,e.memoizedProps)),o=!o),o&&Qt&&Ii(e),h3(e),r===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(t(317));e:{for(e=e.nextSibling,r=0;e;){if(e.nodeType===8)if(o=e.data,o==="/$"){if(r===0){Qt=Br(e.nextSibling);break e}r--}else o!=="$"&&o!=="$!"&&o!=="$?"||r++;e=e.nextSibling}Qt=null}}else r===27?(r=Qt,pi(e.type)?(e=Gd,Gd=null,Qt=e):Qt=r):Qt=jn?Br(e.stateNode.nextSibling):null;return!0}function No(){Qt=jn=null,ct=!1}function p3(){var e=Bi;return e!==null&&(Jn===null?Jn=e:Jn.push.apply(Jn,e),Bi=null),e}function ko(e){Bi===null?Bi=[e]:Bi.push(e)}var xf=j(null),Fi=null,Ta=null;function Ja(e,r,o){ae(xf,r._currentValue),r._currentValue=o}function xa(e){e._currentValue=xf.current,oe(xf)}function Mf(e,r,o){for(;e!==null;){var u=e.alternate;if((e.childLanes&r)!==r?(e.childLanes|=r,u!==null&&(u.childLanes|=r)):u!==null&&(u.childLanes&r)!==r&&(u.childLanes|=r),e===o)break;e=e.return}}function Of(e,r,o,u){var f=e.child;for(f!==null&&(f.return=e);f!==null;){var p=f.dependencies;if(p!==null){var b=f.child;p=p.firstContext;e:for(;p!==null;){var x=p;p=f;for(var P=0;P<r.length;P++)if(x.context===r[P]){p.lanes|=o,x=p.alternate,x!==null&&(x.lanes|=o),Mf(p.return,o,e),u||(b=null);break e}p=x.next}}else if(f.tag===18){if(b=f.return,b===null)throw Error(t(341));b.lanes|=o,p=b.alternate,p!==null&&(p.lanes|=o),Mf(b,o,e),b=null}else b=f.child;if(b!==null)b.return=f;else for(b=f;b!==null;){if(b===e){b=null;break}if(f=b.sibling,f!==null){f.return=b.return,b=f;break}b=b.return}f=b}}function Lo(e,r,o,u){e=null;for(var f=r,p=!1;f!==null;){if(!p){if((f.flags&524288)!==0)p=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var b=f.alternate;if(b===null)throw Error(t(387));if(b=b.memoizedProps,b!==null){var x=f.type;ar(f.pendingProps.value,b.value)||(e!==null?e.push(x):e=[x])}}else if(f===ze.current){if(b=f.alternate,b===null)throw Error(t(387));b.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(us):e=[us])}f=f.return}e!==null&&Of(r,e,o,u),r.flags|=262144}function su(e){for(e=e.firstContext;e!==null;){if(!ar(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Gi(e){Fi=e,Ta=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Un(e){return m3(Fi,e)}function uu(e,r){return Fi===null&&Gi(e),m3(e,r)}function m3(e,r){var o=r._currentValue;if(r={context:r,memoizedValue:o,next:null},Ta===null){if(e===null)throw Error(t(308));Ta=r,e.dependencies={lanes:0,firstContext:r},e.flags|=524288}else Ta=Ta.next=r;return o}var u_=typeof AbortController<"u"?AbortController:function(){var e=[],r=this.signal={aborted:!1,addEventListener:function(o,u){e.push(u)}};this.abort=function(){r.aborted=!0,e.forEach(function(o){return o()})}},c_=a.unstable_scheduleCallback,f_=a.unstable_NormalPriority,pn={$$typeof:Y,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Af(){return{controller:new u_,data:new Map,refCount:0}}function qo(e){e.refCount--,e.refCount===0&&c_(f_,function(){e.controller.abort()})}var Uo=null,Cf=0,Ol=0,Al=null;function d_(e,r){if(Uo===null){var o=Uo=[];Cf=0,Ol=Nd(),Al={status:"pending",value:void 0,then:function(u){o.push(u)}}}return Cf++,r.then(v3,v3),r}function v3(){if(--Cf===0&&Uo!==null){Al!==null&&(Al.status="fulfilled");var e=Uo;Uo=null,Ol=0,Al=null;for(var r=0;r<e.length;r++)(0,e[r])()}}function h_(e,r){var o=[],u={status:"pending",value:null,reason:null,then:function(f){o.push(f)}};return e.then(function(){u.status="fulfilled",u.value=r;for(var f=0;f<o.length;f++)(0,o[f])(r)},function(f){for(u.status="rejected",u.reason=f,f=0;f<o.length;f++)(0,o[f])(void 0)}),u}var g3=T.S;T.S=function(e,r){typeof r=="object"&&r!==null&&typeof r.then=="function"&&d_(e,r),g3!==null&&g3(e,r)};var Zi=j(null);function Rf(){var e=Zi.current;return e!==null?e:Lt.pooledCache}function cu(e,r){r===null?ae(Zi,Zi.current):ae(Zi,r.pool)}function y3(){var e=Rf();return e===null?null:{parent:pn._currentValue,pool:e}}var Ho=Error(t(460)),b3=Error(t(474)),fu=Error(t(542)),Nf={then:function(){}};function _3(e){return e=e.status,e==="fulfilled"||e==="rejected"}function du(){}function S3(e,r,o){switch(o=e[o],o===void 0?e.push(r):o!==r&&(r.then(du,du),r=o),r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,w3(e),e;default:if(typeof r.status=="string")r.then(du,du);else{if(e=Lt,e!==null&&100<e.shellSuspendCounter)throw Error(t(482));e=r,e.status="pending",e.then(function(u){if(r.status==="pending"){var f=r;f.status="fulfilled",f.value=u}},function(u){if(r.status==="pending"){var f=r;f.status="rejected",f.reason=u}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,w3(e),e}throw Po=r,Ho}}var Po=null;function E3(){if(Po===null)throw Error(t(459));var e=Po;return Po=null,e}function w3(e){if(e===Ho||e===fu)throw Error(t(483))}var ei=!1;function kf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Lf(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ti(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ni(e,r,o){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,(bt&2)!==0){var f=u.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),u.pending=r,r=au(e),u3(e,null,o),r}return ru(e,u,r,o),au(e)}function zo(e,r,o){if(r=r.updateQueue,r!==null&&(r=r.shared,(o&4194048)!==0)){var u=r.lanes;u&=e.pendingLanes,o|=u,r.lanes=o,$e(e,o)}}function qf(e,r){var o=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,o===u)){var f=null,p=null;if(o=o.firstBaseUpdate,o!==null){do{var b={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};p===null?f=p=b:p=p.next=b,o=o.next}while(o!==null);p===null?f=p=r:p=p.next=r}else f=p=r;o={baseState:u.baseState,firstBaseUpdate:f,lastBaseUpdate:p,shared:u.shared,callbacks:u.callbacks},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=r:e.next=r,o.lastBaseUpdate=r}var Uf=!1;function Yo(){if(Uf){var e=Al;if(e!==null)throw e}}function jo(e,r,o,u){Uf=!1;var f=e.updateQueue;ei=!1;var p=f.firstBaseUpdate,b=f.lastBaseUpdate,x=f.shared.pending;if(x!==null){f.shared.pending=null;var P=x,ee=P.next;P.next=null,b===null?p=ee:b.next=ee,b=P;var ie=e.alternate;ie!==null&&(ie=ie.updateQueue,x=ie.lastBaseUpdate,x!==b&&(x===null?ie.firstBaseUpdate=ee:x.next=ee,ie.lastBaseUpdate=P))}if(p!==null){var se=f.baseState;b=0,ie=ee=P=null,x=p;do{var te=x.lane&-536870913,ne=te!==x.lane;if(ne?(tt&te)===te:(u&te)===te){te!==0&&te===Ol&&(Uf=!0),ie!==null&&(ie=ie.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{var Le=e,Ce=x;te=r;var Tt=o;switch(Ce.tag){case 1:if(Le=Ce.payload,typeof Le=="function"){se=Le.call(Tt,se,te);break e}se=Le;break e;case 3:Le.flags=Le.flags&-65537|128;case 0:if(Le=Ce.payload,te=typeof Le=="function"?Le.call(Tt,se,te):Le,te==null)break e;se=v({},se,te);break e;case 2:ei=!0}}te=x.callback,te!==null&&(e.flags|=64,ne&&(e.flags|=8192),ne=f.callbacks,ne===null?f.callbacks=[te]:ne.push(te))}else ne={lane:te,tag:x.tag,payload:x.payload,callback:x.callback,next:null},ie===null?(ee=ie=ne,P=se):ie=ie.next=ne,b|=te;if(x=x.next,x===null){if(x=f.shared.pending,x===null)break;ne=x,x=ne.next,ne.next=null,f.lastBaseUpdate=ne,f.shared.pending=null}}while(!0);ie===null&&(P=se),f.baseState=P,f.firstBaseUpdate=ee,f.lastBaseUpdate=ie,p===null&&(f.shared.lanes=0),ci|=b,e.lanes=b,e.memoizedState=se}}function D3(e,r){if(typeof e!="function")throw Error(t(191,e));e.call(r)}function T3(e,r){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;e<o.length;e++)D3(o[e],r)}var Cl=j(null),hu=j(0);function x3(e,r){e=ka,ae(hu,e),ae(Cl,r),ka=e|r.baseLanes}function Hf(){ae(hu,ka),ae(Cl,Cl.current)}function Pf(){ka=hu.current,oe(Cl),oe(hu)}var ri=0,Fe=null,wt=null,cn=null,pu=!1,Rl=!1,Vi=!1,mu=0,Bo=0,Nl=null,p_=0;function tn(){throw Error(t(321))}function zf(e,r){if(r===null)return!1;for(var o=0;o<r.length&&o<e.length;o++)if(!ar(e[o],r[o]))return!1;return!0}function Yf(e,r,o,u,f,p){return ri=p,Fe=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,T.H=e===null||e.memoizedState===null?u6:c6,Vi=!1,p=o(u,f),Vi=!1,Rl&&(p=O3(r,o,u,f)),M3(e),p}function M3(e){T.H=Su;var r=wt!==null&&wt.next!==null;if(ri=0,cn=wt=Fe=null,pu=!1,Bo=0,Nl=null,r)throw Error(t(300));e===null||yn||(e=e.dependencies,e!==null&&su(e)&&(yn=!0))}function O3(e,r,o,u){Fe=e;var f=0;do{if(Rl&&(Nl=null),Bo=0,Rl=!1,25<=f)throw Error(t(301));if(f+=1,cn=wt=null,e.updateQueue!=null){var p=e.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}T.H=S_,p=r(o,u)}while(Rl);return p}function m_(){var e=T.H,r=e.useState()[0];return r=typeof r.then=="function"?Io(r):r,e=e.useState()[0],(wt!==null?wt.memoizedState:null)!==e&&(Fe.flags|=1024),r}function jf(){var e=mu!==0;return mu=0,e}function Bf(e,r,o){r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~o}function If(e){if(pu){for(e=e.memoizedState;e!==null;){var r=e.queue;r!==null&&(r.pending=null),e=e.next}pu=!1}ri=0,cn=wt=Fe=null,Rl=!1,Bo=mu=0,Nl=null}function Xn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return cn===null?Fe.memoizedState=cn=e:cn=cn.next=e,cn}function fn(){if(wt===null){var e=Fe.alternate;e=e!==null?e.memoizedState:null}else e=wt.next;var r=cn===null?Fe.memoizedState:cn.next;if(r!==null)cn=r,wt=e;else{if(e===null)throw Fe.alternate===null?Error(t(467)):Error(t(310));wt=e,e={memoizedState:wt.memoizedState,baseState:wt.baseState,baseQueue:wt.baseQueue,queue:wt.queue,next:null},cn===null?Fe.memoizedState=cn=e:cn=cn.next=e}return cn}function Ff(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Io(e){var r=Bo;return Bo+=1,Nl===null&&(Nl=[]),e=S3(Nl,e,r),r=Fe,(cn===null?r.memoizedState:cn.next)===null&&(r=r.alternate,T.H=r===null||r.memoizedState===null?u6:c6),e}function vu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Io(e);if(e.$$typeof===Y)return Un(e)}throw Error(t(438,String(e)))}function Gf(e){var r=null,o=Fe.updateQueue;if(o!==null&&(r=o.memoCache),r==null){var u=Fe.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(r={data:u.data.map(function(f){return f.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),o===null&&(o=Ff(),Fe.updateQueue=o),o.memoCache=r,o=r.data[r.index],o===void 0)for(o=r.data[r.index]=Array(e),u=0;u<e;u++)o[u]=D;return r.index++,o}function Ma(e,r){return typeof r=="function"?r(e):r}function gu(e){var r=fn();return Zf(r,wt,e)}function Zf(e,r,o){var u=e.queue;if(u===null)throw Error(t(311));u.lastRenderedReducer=o;var f=e.baseQueue,p=u.pending;if(p!==null){if(f!==null){var b=f.next;f.next=p.next,p.next=b}r.baseQueue=f=p,u.pending=null}if(p=e.baseState,f===null)e.memoizedState=p;else{r=f.next;var x=b=null,P=null,ee=r,ie=!1;do{var se=ee.lane&-536870913;if(se!==ee.lane?(tt&se)===se:(ri&se)===se){var te=ee.revertLane;if(te===0)P!==null&&(P=P.next={lane:0,revertLane:0,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null}),se===Ol&&(ie=!0);else if((ri&te)===te){ee=ee.next,te===Ol&&(ie=!0);continue}else se={lane:0,revertLane:ee.revertLane,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null},P===null?(x=P=se,b=p):P=P.next=se,Fe.lanes|=te,ci|=te;se=ee.action,Vi&&o(p,se),p=ee.hasEagerState?ee.eagerState:o(p,se)}else te={lane:se,revertLane:ee.revertLane,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null},P===null?(x=P=te,b=p):P=P.next=te,Fe.lanes|=se,ci|=se;ee=ee.next}while(ee!==null&&ee!==r);if(P===null?b=p:P.next=x,!ar(p,e.memoizedState)&&(yn=!0,ie&&(o=Al,o!==null)))throw o;e.memoizedState=p,e.baseState=b,e.baseQueue=P,u.lastRenderedState=p}return f===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function Vf(e){var r=fn(),o=r.queue;if(o===null)throw Error(t(311));o.lastRenderedReducer=e;var u=o.dispatch,f=o.pending,p=r.memoizedState;if(f!==null){o.pending=null;var b=f=f.next;do p=e(p,b.action),b=b.next;while(b!==f);ar(p,r.memoizedState)||(yn=!0),r.memoizedState=p,r.baseQueue===null&&(r.baseState=p),o.lastRenderedState=p}return[p,u]}function A3(e,r,o){var u=Fe,f=fn(),p=ct;if(p){if(o===void 0)throw Error(t(407));o=o()}else o=r();var b=!ar((wt||f).memoizedState,o);b&&(f.memoizedState=o,yn=!0),f=f.queue;var x=N3.bind(null,u,f,e);if(Fo(2048,8,x,[e]),f.getSnapshot!==r||b||cn!==null&&cn.memoizedState.tag&1){if(u.flags|=2048,kl(9,yu(),R3.bind(null,u,f,o,r),null),Lt===null)throw Error(t(349));p||(ri&124)!==0||C3(u,r,o)}return o}function C3(e,r,o){e.flags|=16384,e={getSnapshot:r,value:o},r=Fe.updateQueue,r===null?(r=Ff(),Fe.updateQueue=r,r.stores=[e]):(o=r.stores,o===null?r.stores=[e]:o.push(e))}function R3(e,r,o,u){r.value=o,r.getSnapshot=u,k3(r)&&L3(e)}function N3(e,r,o){return o(function(){k3(r)&&L3(e)})}function k3(e){var r=e.getSnapshot;e=e.value;try{var o=r();return!ar(e,o)}catch{return!0}}function L3(e){var r=Dl(e,2);r!==null&&cr(r,e,2)}function Wf(e){var r=Xn();if(typeof e=="function"){var o=e;if(e=o(),Vi){Rt(!0);try{o()}finally{Rt(!1)}}}return r.memoizedState=r.baseState=e,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:e},r}function q3(e,r,o,u){return e.baseState=o,Zf(e,wt,typeof u=="function"?u:Ma)}function v_(e,r,o,u,f){if(_u(e))throw Error(t(485));if(e=r.action,e!==null){var p={payload:f,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){p.listeners.push(b)}};T.T!==null?o(!0):p.isTransition=!1,u(p),o=r.pending,o===null?(p.next=r.pending=p,U3(r,p)):(p.next=o.next,r.pending=o.next=p)}}function U3(e,r){var o=r.action,u=r.payload,f=e.state;if(r.isTransition){var p=T.T,b={};T.T=b;try{var x=o(f,u),P=T.S;P!==null&&P(b,x),H3(e,r,x)}catch(ee){Qf(e,r,ee)}finally{T.T=p}}else try{p=o(f,u),H3(e,r,p)}catch(ee){Qf(e,r,ee)}}function H3(e,r,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(u){P3(e,r,u)},function(u){return Qf(e,r,u)}):P3(e,r,o)}function P3(e,r,o){r.status="fulfilled",r.value=o,z3(r),e.state=o,r=e.pending,r!==null&&(o=r.next,o===r?e.pending=null:(o=o.next,r.next=o,U3(e,o)))}function Qf(e,r,o){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do r.status="rejected",r.reason=o,z3(r),r=r.next;while(r!==u)}e.action=null}function z3(e){e=e.listeners;for(var r=0;r<e.length;r++)(0,e[r])()}function Y3(e,r){return r}function j3(e,r){if(ct){var o=Lt.formState;if(o!==null){e:{var u=Fe;if(ct){if(Qt){t:{for(var f=Qt,p=ra;f.nodeType!==8;){if(!p){f=null;break t}if(f=Br(f.nextSibling),f===null){f=null;break t}}p=f.data,f=p==="F!"||p==="F"?f:null}if(f){Qt=Br(f.nextSibling),u=f.data==="F!";break e}}Ii(u)}u=!1}u&&(r=o[0])}}return o=Xn(),o.memoizedState=o.baseState=r,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Y3,lastRenderedState:r},o.queue=u,o=l6.bind(null,Fe,u),u.dispatch=o,u=Wf(!1),p=ed.bind(null,Fe,!1,u.queue),u=Xn(),f={state:r,dispatch:null,action:e,pending:null},u.queue=f,o=v_.bind(null,Fe,f,p,o),f.dispatch=o,u.memoizedState=e,[r,o,!1]}function B3(e){var r=fn();return I3(r,wt,e)}function I3(e,r,o){if(r=Zf(e,r,Y3)[0],e=gu(Ma)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var u=Io(r)}catch(b){throw b===Ho?fu:b}else u=r;r=fn();var f=r.queue,p=f.dispatch;return o!==r.memoizedState&&(Fe.flags|=2048,kl(9,yu(),g_.bind(null,f,o),null)),[u,p,e]}function g_(e,r){e.action=r}function F3(e){var r=fn(),o=wt;if(o!==null)return I3(r,o,e);fn(),r=r.memoizedState,o=fn();var u=o.queue.dispatch;return o.memoizedState=e,[r,u,!1]}function kl(e,r,o,u){return e={tag:e,create:o,deps:u,inst:r,next:null},r=Fe.updateQueue,r===null&&(r=Ff(),Fe.updateQueue=r),o=r.lastEffect,o===null?r.lastEffect=e.next=e:(u=o.next,o.next=e,e.next=u,r.lastEffect=e),e}function yu(){return{destroy:void 0,resource:void 0}}function G3(){return fn().memoizedState}function bu(e,r,o,u){var f=Xn();u=u===void 0?null:u,Fe.flags|=e,f.memoizedState=kl(1|r,yu(),o,u)}function Fo(e,r,o,u){var f=fn();u=u===void 0?null:u;var p=f.memoizedState.inst;wt!==null&&u!==null&&zf(u,wt.memoizedState.deps)?f.memoizedState=kl(r,p,o,u):(Fe.flags|=e,f.memoizedState=kl(1|r,p,o,u))}function Z3(e,r){bu(8390656,8,e,r)}function V3(e,r){Fo(2048,8,e,r)}function W3(e,r){return Fo(4,2,e,r)}function Q3(e,r){return Fo(4,4,e,r)}function K3(e,r){if(typeof r=="function"){e=e();var o=r(e);return function(){typeof o=="function"?o():r(null)}}if(r!=null)return e=e(),r.current=e,function(){r.current=null}}function X3(e,r,o){o=o!=null?o.concat([e]):null,Fo(4,4,K3.bind(null,r,e),o)}function Kf(){}function $3(e,r){var o=fn();r=r===void 0?null:r;var u=o.memoizedState;return r!==null&&zf(r,u[1])?u[0]:(o.memoizedState=[e,r],e)}function J3(e,r){var o=fn();r=r===void 0?null:r;var u=o.memoizedState;if(r!==null&&zf(r,u[1]))return u[0];if(u=e(),Vi){Rt(!0);try{e()}finally{Rt(!1)}}return o.memoizedState=[u,r],u}function Xf(e,r,o){return o===void 0||(ri&1073741824)!==0?e.memoizedState=r:(e.memoizedState=o,e=nv(),Fe.lanes|=e,ci|=e,o)}function e6(e,r,o,u){return ar(o,r)?o:Cl.current!==null?(e=Xf(e,o,u),ar(e,r)||(yn=!0),e):(ri&42)===0?(yn=!0,e.memoizedState=o):(e=nv(),Fe.lanes|=e,ci|=e,r)}function t6(e,r,o,u,f){var p=N.p;N.p=p!==0&&8>p?p:8;var b=T.T,x={};T.T=x,ed(e,!1,r,o);try{var P=f(),ee=T.S;if(ee!==null&&ee(x,P),P!==null&&typeof P=="object"&&typeof P.then=="function"){var ie=h_(P,u);Go(e,r,ie,ur(e))}else Go(e,r,u,ur(e))}catch(se){Go(e,r,{then:function(){},status:"rejected",reason:se},ur())}finally{N.p=p,T.T=b}}function y_(){}function $f(e,r,o,u){if(e.tag!==5)throw Error(t(476));var f=n6(e).queue;t6(e,f,r,L,o===null?y_:function(){return r6(e),o(u)})}function n6(e){var r=e.memoizedState;if(r!==null)return r;r={memoizedState:L,baseState:L,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:L},next:null};var o={};return r.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:o},next:null},e.memoizedState=r,e=e.alternate,e!==null&&(e.memoizedState=r),r}function r6(e){var r=n6(e).next.queue;Go(e,r,{},ur())}function Jf(){return Un(us)}function a6(){return fn().memoizedState}function i6(){return fn().memoizedState}function b_(e){for(var r=e.return;r!==null;){switch(r.tag){case 24:case 3:var o=ur();e=ti(o);var u=ni(r,e,o);u!==null&&(cr(u,r,o),zo(u,r,o)),r={cache:Af()},e.payload=r;return}r=r.return}}function __(e,r,o){var u=ur();o={lane:u,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null},_u(e)?o6(r,o):(o=bf(e,r,o,u),o!==null&&(cr(o,e,u),s6(o,r,u)))}function l6(e,r,o){var u=ur();Go(e,r,o,u)}function Go(e,r,o,u){var f={lane:u,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null};if(_u(e))o6(r,f);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=r.lastRenderedReducer,p!==null))try{var b=r.lastRenderedState,x=p(b,o);if(f.hasEagerState=!0,f.eagerState=x,ar(x,b))return ru(e,r,f,0),Lt===null&&nu(),!1}catch{}finally{}if(o=bf(e,r,f,u),o!==null)return cr(o,e,u),s6(o,r,u),!0}return!1}function ed(e,r,o,u){if(u={lane:2,revertLane:Nd(),action:u,hasEagerState:!1,eagerState:null,next:null},_u(e)){if(r)throw Error(t(479))}else r=bf(e,o,u,2),r!==null&&cr(r,e,2)}function _u(e){var r=e.alternate;return e===Fe||r!==null&&r===Fe}function o6(e,r){Rl=pu=!0;var o=e.pending;o===null?r.next=r:(r.next=o.next,o.next=r),e.pending=r}function s6(e,r,o){if((o&4194048)!==0){var u=r.lanes;u&=e.pendingLanes,o|=u,r.lanes=o,$e(e,o)}}var Su={readContext:Un,use:vu,useCallback:tn,useContext:tn,useEffect:tn,useImperativeHandle:tn,useLayoutEffect:tn,useInsertionEffect:tn,useMemo:tn,useReducer:tn,useRef:tn,useState:tn,useDebugValue:tn,useDeferredValue:tn,useTransition:tn,useSyncExternalStore:tn,useId:tn,useHostTransitionStatus:tn,useFormState:tn,useActionState:tn,useOptimistic:tn,useMemoCache:tn,useCacheRefresh:tn},u6={readContext:Un,use:vu,useCallback:function(e,r){return Xn().memoizedState=[e,r===void 0?null:r],e},useContext:Un,useEffect:Z3,useImperativeHandle:function(e,r,o){o=o!=null?o.concat([e]):null,bu(4194308,4,K3.bind(null,r,e),o)},useLayoutEffect:function(e,r){return bu(4194308,4,e,r)},useInsertionEffect:function(e,r){bu(4,2,e,r)},useMemo:function(e,r){var o=Xn();r=r===void 0?null:r;var u=e();if(Vi){Rt(!0);try{e()}finally{Rt(!1)}}return o.memoizedState=[u,r],u},useReducer:function(e,r,o){var u=Xn();if(o!==void 0){var f=o(r);if(Vi){Rt(!0);try{o(r)}finally{Rt(!1)}}}else f=r;return u.memoizedState=u.baseState=f,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:f},u.queue=e,e=e.dispatch=__.bind(null,Fe,e),[u.memoizedState,e]},useRef:function(e){var r=Xn();return e={current:e},r.memoizedState=e},useState:function(e){e=Wf(e);var r=e.queue,o=l6.bind(null,Fe,r);return r.dispatch=o,[e.memoizedState,o]},useDebugValue:Kf,useDeferredValue:function(e,r){var o=Xn();return Xf(o,e,r)},useTransition:function(){var e=Wf(!1);return e=t6.bind(null,Fe,e.queue,!0,!1),Xn().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,r,o){var u=Fe,f=Xn();if(ct){if(o===void 0)throw Error(t(407));o=o()}else{if(o=r(),Lt===null)throw Error(t(349));(tt&124)!==0||C3(u,r,o)}f.memoizedState=o;var p={value:o,getSnapshot:r};return f.queue=p,Z3(N3.bind(null,u,p,e),[e]),u.flags|=2048,kl(9,yu(),R3.bind(null,u,p,o,r),null),o},useId:function(){var e=Xn(),r=Lt.identifierPrefix;if(ct){var o=Da,u=wa;o=(u&~(1<<32-Mt(u)-1)).toString(32)+o,r="«"+r+"R"+o,o=mu++,0<o&&(r+="H"+o.toString(32)),r+="»"}else o=p_++,r="«"+r+"r"+o.toString(32)+"»";return e.memoizedState=r},useHostTransitionStatus:Jf,useFormState:j3,useActionState:j3,useOptimistic:function(e){var r=Xn();r.memoizedState=r.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=o,r=ed.bind(null,Fe,!0,o),o.dispatch=r,[e,r]},useMemoCache:Gf,useCacheRefresh:function(){return Xn().memoizedState=b_.bind(null,Fe)}},c6={readContext:Un,use:vu,useCallback:$3,useContext:Un,useEffect:V3,useImperativeHandle:X3,useInsertionEffect:W3,useLayoutEffect:Q3,useMemo:J3,useReducer:gu,useRef:G3,useState:function(){return gu(Ma)},useDebugValue:Kf,useDeferredValue:function(e,r){var o=fn();return e6(o,wt.memoizedState,e,r)},useTransition:function(){var e=gu(Ma)[0],r=fn().memoizedState;return[typeof e=="boolean"?e:Io(e),r]},useSyncExternalStore:A3,useId:a6,useHostTransitionStatus:Jf,useFormState:B3,useActionState:B3,useOptimistic:function(e,r){var o=fn();return q3(o,wt,e,r)},useMemoCache:Gf,useCacheRefresh:i6},S_={readContext:Un,use:vu,useCallback:$3,useContext:Un,useEffect:V3,useImperativeHandle:X3,useInsertionEffect:W3,useLayoutEffect:Q3,useMemo:J3,useReducer:Vf,useRef:G3,useState:function(){return Vf(Ma)},useDebugValue:Kf,useDeferredValue:function(e,r){var o=fn();return wt===null?Xf(o,e,r):e6(o,wt.memoizedState,e,r)},useTransition:function(){var e=Vf(Ma)[0],r=fn().memoizedState;return[typeof e=="boolean"?e:Io(e),r]},useSyncExternalStore:A3,useId:a6,useHostTransitionStatus:Jf,useFormState:F3,useActionState:F3,useOptimistic:function(e,r){var o=fn();return wt!==null?q3(o,wt,e,r):(o.baseState=e,[e,o.queue.dispatch])},useMemoCache:Gf,useCacheRefresh:i6},Ll=null,Zo=0;function Eu(e){var r=Zo;return Zo+=1,Ll===null&&(Ll=[]),S3(Ll,e,r)}function Vo(e,r){r=r.props.ref,e.ref=r!==void 0?r:null}function wu(e,r){throw r.$$typeof===g?Error(t(525)):(e=Object.prototype.toString.call(r),Error(t(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e)))}function f6(e){var r=e._init;return r(e._payload)}function d6(e){function r(Q,I){if(e){var J=Q.deletions;J===null?(Q.deletions=[I],Q.flags|=16):J.push(I)}}function o(Q,I){if(!e)return null;for(;I!==null;)r(Q,I),I=I.sibling;return null}function u(Q){for(var I=new Map;Q!==null;)Q.key!==null?I.set(Q.key,Q):I.set(Q.index,Q),Q=Q.sibling;return I}function f(Q,I){return Q=Ea(Q,I),Q.index=0,Q.sibling=null,Q}function p(Q,I,J){return Q.index=J,e?(J=Q.alternate,J!==null?(J=J.index,J<I?(Q.flags|=67108866,I):J):(Q.flags|=67108866,I)):(Q.flags|=1048576,I)}function b(Q){return e&&Q.alternate===null&&(Q.flags|=67108866),Q}function x(Q,I,J,le){return I===null||I.tag!==6?(I=Sf(J,Q.mode,le),I.return=Q,I):(I=f(I,J),I.return=Q,I)}function P(Q,I,J,le){var De=J.type;return De===M?ie(Q,I,J.props.children,le,J.key):I!==null&&(I.elementType===De||typeof De=="object"&&De!==null&&De.$$typeof===_&&f6(De)===I.type)?(I=f(I,J.props),Vo(I,J),I.return=Q,I):(I=iu(J.type,J.key,J.props,null,Q.mode,le),Vo(I,J),I.return=Q,I)}function ee(Q,I,J,le){return I===null||I.tag!==4||I.stateNode.containerInfo!==J.containerInfo||I.stateNode.implementation!==J.implementation?(I=Ef(J,Q.mode,le),I.return=Q,I):(I=f(I,J.children||[]),I.return=Q,I)}function ie(Q,I,J,le,De){return I===null||I.tag!==7?(I=zi(J,Q.mode,le,De),I.return=Q,I):(I=f(I,J),I.return=Q,I)}function se(Q,I,J){if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return I=Sf(""+I,Q.mode,J),I.return=Q,I;if(typeof I=="object"&&I!==null){switch(I.$$typeof){case S:return J=iu(I.type,I.key,I.props,null,Q.mode,J),Vo(J,I),J.return=Q,J;case w:return I=Ef(I,Q.mode,J),I.return=Q,I;case _:var le=I._init;return I=le(I._payload),se(Q,I,J)}if(U(I)||k(I))return I=zi(I,Q.mode,J,null),I.return=Q,I;if(typeof I.then=="function")return se(Q,Eu(I),J);if(I.$$typeof===Y)return se(Q,uu(Q,I),J);wu(Q,I)}return null}function te(Q,I,J,le){var De=I!==null?I.key:null;if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return De!==null?null:x(Q,I,""+J,le);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case S:return J.key===De?P(Q,I,J,le):null;case w:return J.key===De?ee(Q,I,J,le):null;case _:return De=J._init,J=De(J._payload),te(Q,I,J,le)}if(U(J)||k(J))return De!==null?null:ie(Q,I,J,le,null);if(typeof J.then=="function")return te(Q,I,Eu(J),le);if(J.$$typeof===Y)return te(Q,I,uu(Q,J),le);wu(Q,J)}return null}function ne(Q,I,J,le,De){if(typeof le=="string"&&le!==""||typeof le=="number"||typeof le=="bigint")return Q=Q.get(J)||null,x(I,Q,""+le,De);if(typeof le=="object"&&le!==null){switch(le.$$typeof){case S:return Q=Q.get(le.key===null?J:le.key)||null,P(I,Q,le,De);case w:return Q=Q.get(le.key===null?J:le.key)||null,ee(I,Q,le,De);case _:var Ve=le._init;return le=Ve(le._payload),ne(Q,I,J,le,De)}if(U(le)||k(le))return Q=Q.get(J)||null,ie(I,Q,le,De,null);if(typeof le.then=="function")return ne(Q,I,J,Eu(le),De);if(le.$$typeof===Y)return ne(Q,I,J,uu(I,le),De);wu(I,le)}return null}function Le(Q,I,J,le){for(var De=null,Ve=null,Oe=I,Ne=I=0,_n=null;Oe!==null&&Ne<J.length;Ne++){Oe.index>Ne?(_n=Oe,Oe=null):_n=Oe.sibling;var ut=te(Q,Oe,J[Ne],le);if(ut===null){Oe===null&&(Oe=_n);break}e&&Oe&&ut.alternate===null&&r(Q,Oe),I=p(ut,I,Ne),Ve===null?De=ut:Ve.sibling=ut,Ve=ut,Oe=_n}if(Ne===J.length)return o(Q,Oe),ct&&ji(Q,Ne),De;if(Oe===null){for(;Ne<J.length;Ne++)Oe=se(Q,J[Ne],le),Oe!==null&&(I=p(Oe,I,Ne),Ve===null?De=Oe:Ve.sibling=Oe,Ve=Oe);return ct&&ji(Q,Ne),De}for(Oe=u(Oe);Ne<J.length;Ne++)_n=ne(Oe,Q,Ne,J[Ne],le),_n!==null&&(e&&_n.alternate!==null&&Oe.delete(_n.key===null?Ne:_n.key),I=p(_n,I,Ne),Ve===null?De=_n:Ve.sibling=_n,Ve=_n);return e&&Oe.forEach(function(bi){return r(Q,bi)}),ct&&ji(Q,Ne),De}function Ce(Q,I,J,le){if(J==null)throw Error(t(151));for(var De=null,Ve=null,Oe=I,Ne=I=0,_n=null,ut=J.next();Oe!==null&&!ut.done;Ne++,ut=J.next()){Oe.index>Ne?(_n=Oe,Oe=null):_n=Oe.sibling;var bi=te(Q,Oe,ut.value,le);if(bi===null){Oe===null&&(Oe=_n);break}e&&Oe&&bi.alternate===null&&r(Q,Oe),I=p(bi,I,Ne),Ve===null?De=bi:Ve.sibling=bi,Ve=bi,Oe=_n}if(ut.done)return o(Q,Oe),ct&&ji(Q,Ne),De;if(Oe===null){for(;!ut.done;Ne++,ut=J.next())ut=se(Q,ut.value,le),ut!==null&&(I=p(ut,I,Ne),Ve===null?De=ut:Ve.sibling=ut,Ve=ut);return ct&&ji(Q,Ne),De}for(Oe=u(Oe);!ut.done;Ne++,ut=J.next())ut=ne(Oe,Q,Ne,ut.value,le),ut!==null&&(e&&ut.alternate!==null&&Oe.delete(ut.key===null?Ne:ut.key),I=p(ut,I,Ne),Ve===null?De=ut:Ve.sibling=ut,Ve=ut);return e&&Oe.forEach(function(ES){return r(Q,ES)}),ct&&ji(Q,Ne),De}function Tt(Q,I,J,le){if(typeof J=="object"&&J!==null&&J.type===M&&J.key===null&&(J=J.props.children),typeof J=="object"&&J!==null){switch(J.$$typeof){case S:e:{for(var De=J.key;I!==null;){if(I.key===De){if(De=J.type,De===M){if(I.tag===7){o(Q,I.sibling),le=f(I,J.props.children),le.return=Q,Q=le;break e}}else if(I.elementType===De||typeof De=="object"&&De!==null&&De.$$typeof===_&&f6(De)===I.type){o(Q,I.sibling),le=f(I,J.props),Vo(le,J),le.return=Q,Q=le;break e}o(Q,I);break}else r(Q,I);I=I.sibling}J.type===M?(le=zi(J.props.children,Q.mode,le,J.key),le.return=Q,Q=le):(le=iu(J.type,J.key,J.props,null,Q.mode,le),Vo(le,J),le.return=Q,Q=le)}return b(Q);case w:e:{for(De=J.key;I!==null;){if(I.key===De)if(I.tag===4&&I.stateNode.containerInfo===J.containerInfo&&I.stateNode.implementation===J.implementation){o(Q,I.sibling),le=f(I,J.children||[]),le.return=Q,Q=le;break e}else{o(Q,I);break}else r(Q,I);I=I.sibling}le=Ef(J,Q.mode,le),le.return=Q,Q=le}return b(Q);case _:return De=J._init,J=De(J._payload),Tt(Q,I,J,le)}if(U(J))return Le(Q,I,J,le);if(k(J)){if(De=k(J),typeof De!="function")throw Error(t(150));return J=De.call(J),Ce(Q,I,J,le)}if(typeof J.then=="function")return Tt(Q,I,Eu(J),le);if(J.$$typeof===Y)return Tt(Q,I,uu(Q,J),le);wu(Q,J)}return typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint"?(J=""+J,I!==null&&I.tag===6?(o(Q,I.sibling),le=f(I,J),le.return=Q,Q=le):(o(Q,I),le=Sf(J,Q.mode,le),le.return=Q,Q=le),b(Q)):o(Q,I)}return function(Q,I,J,le){try{Zo=0;var De=Tt(Q,I,J,le);return Ll=null,De}catch(Oe){if(Oe===Ho||Oe===fu)throw Oe;var Ve=ir(29,Oe,null,Q.mode);return Ve.lanes=le,Ve.return=Q,Ve}finally{}}}var ql=d6(!0),h6=d6(!1),wr=j(null),aa=null;function ai(e){var r=e.alternate;ae(mn,mn.current&1),ae(wr,e),aa===null&&(r===null||Cl.current!==null||r.memoizedState!==null)&&(aa=e)}function p6(e){if(e.tag===22){if(ae(mn,mn.current),ae(wr,e),aa===null){var r=e.alternate;r!==null&&r.memoizedState!==null&&(aa=e)}}else ii()}function ii(){ae(mn,mn.current),ae(wr,wr.current)}function Oa(e){oe(wr),aa===e&&(aa=null),oe(mn)}var mn=j(0);function Du(e){for(var r=e;r!==null;){if(r.tag===13){var o=r.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||Fd(o)))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}function td(e,r,o,u){r=e.memoizedState,o=o(u,r),o=o==null?r:v({},r,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var nd={enqueueSetState:function(e,r,o){e=e._reactInternals;var u=ur(),f=ti(u);f.payload=r,o!=null&&(f.callback=o),r=ni(e,f,u),r!==null&&(cr(r,e,u),zo(r,e,u))},enqueueReplaceState:function(e,r,o){e=e._reactInternals;var u=ur(),f=ti(u);f.tag=1,f.payload=r,o!=null&&(f.callback=o),r=ni(e,f,u),r!==null&&(cr(r,e,u),zo(r,e,u))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var o=ur(),u=ti(o);u.tag=2,r!=null&&(u.callback=r),r=ni(e,u,o),r!==null&&(cr(r,e,o),zo(r,e,o))}};function m6(e,r,o,u,f,p,b){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(u,p,b):r.prototype&&r.prototype.isPureReactComponent?!Ao(o,u)||!Ao(f,p):!0}function v6(e,r,o,u){e=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(o,u),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(o,u),r.state!==e&&nd.enqueueReplaceState(r,r.state,null)}function Wi(e,r){var o=r;if("ref"in r){o={};for(var u in r)u!=="ref"&&(o[u]=r[u])}if(e=e.defaultProps){o===r&&(o=v({},o));for(var f in e)o[f]===void 0&&(o[f]=e[f])}return o}var Tu=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function g6(e){Tu(e)}function y6(e){console.error(e)}function b6(e){Tu(e)}function xu(e,r){try{var o=e.onUncaughtError;o(r.value,{componentStack:r.stack})}catch(u){setTimeout(function(){throw u})}}function _6(e,r,o){try{var u=e.onCaughtError;u(o.value,{componentStack:o.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function rd(e,r,o){return o=ti(o),o.tag=3,o.payload={element:null},o.callback=function(){xu(e,r)},o}function S6(e){return e=ti(e),e.tag=3,e}function E6(e,r,o,u){var f=o.type.getDerivedStateFromError;if(typeof f=="function"){var p=u.value;e.payload=function(){return f(p)},e.callback=function(){_6(r,o,u)}}var b=o.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(e.callback=function(){_6(r,o,u),typeof f!="function"&&(fi===null?fi=new Set([this]):fi.add(this));var x=u.stack;this.componentDidCatch(u.value,{componentStack:x!==null?x:""})})}function E_(e,r,o,u,f){if(o.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(r=o.alternate,r!==null&&Lo(r,o,f,!0),o=wr.current,o!==null){switch(o.tag){case 13:return aa===null?Md():o.alternate===null&&Kt===0&&(Kt=3),o.flags&=-257,o.flags|=65536,o.lanes=f,u===Nf?o.flags|=16384:(r=o.updateQueue,r===null?o.updateQueue=new Set([u]):r.add(u),Ad(e,u,f)),!1;case 22:return o.flags|=65536,u===Nf?o.flags|=16384:(r=o.updateQueue,r===null?(r={transitions:null,markerInstances:null,retryQueue:new Set([u])},o.updateQueue=r):(o=r.retryQueue,o===null?r.retryQueue=new Set([u]):o.add(u)),Ad(e,u,f)),!1}throw Error(t(435,o.tag))}return Ad(e,u,f),Md(),!1}if(ct)return r=wr.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=f,u!==Tf&&(e=Error(t(422),{cause:u}),ko(br(e,o)))):(u!==Tf&&(r=Error(t(423),{cause:u}),ko(br(r,o))),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,u=br(u,o),f=rd(e.stateNode,u,f),qf(e,f),Kt!==4&&(Kt=2)),!1;var p=Error(t(520),{cause:u});if(p=br(p,o),es===null?es=[p]:es.push(p),Kt!==4&&(Kt=2),r===null)return!0;u=br(u,o),o=r;do{switch(o.tag){case 3:return o.flags|=65536,e=f&-f,o.lanes|=e,e=rd(o.stateNode,u,e),qf(o,e),!1;case 1:if(r=o.type,p=o.stateNode,(o.flags&128)===0&&(typeof r.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(fi===null||!fi.has(p))))return o.flags|=65536,f&=-f,o.lanes|=f,f=S6(f),E6(f,e,o,u),qf(o,f),!1}o=o.return}while(o!==null);return!1}var w6=Error(t(461)),yn=!1;function Mn(e,r,o,u){r.child=e===null?h6(r,null,o,u):ql(r,e.child,o,u)}function D6(e,r,o,u,f){o=o.render;var p=r.ref;if("ref"in u){var b={};for(var x in u)x!=="ref"&&(b[x]=u[x])}else b=u;return Gi(r),u=Yf(e,r,o,b,p,f),x=jf(),e!==null&&!yn?(Bf(e,r,f),Aa(e,r,f)):(ct&&x&&wf(r),r.flags|=1,Mn(e,r,u,f),r.child)}function T6(e,r,o,u,f){if(e===null){var p=o.type;return typeof p=="function"&&!_f(p)&&p.defaultProps===void 0&&o.compare===null?(r.tag=15,r.type=p,x6(e,r,p,u,f)):(e=iu(o.type,null,u,r,r.mode,f),e.ref=r.ref,e.return=r,r.child=e)}if(p=e.child,!fd(e,f)){var b=p.memoizedProps;if(o=o.compare,o=o!==null?o:Ao,o(b,u)&&e.ref===r.ref)return Aa(e,r,f)}return r.flags|=1,e=Ea(p,u),e.ref=r.ref,e.return=r,r.child=e}function x6(e,r,o,u,f){if(e!==null){var p=e.memoizedProps;if(Ao(p,u)&&e.ref===r.ref)if(yn=!1,r.pendingProps=u=p,fd(e,f))(e.flags&131072)!==0&&(yn=!0);else return r.lanes=e.lanes,Aa(e,r,f)}return ad(e,r,o,u,f)}function M6(e,r,o){var u=r.pendingProps,f=u.children,p=e!==null?e.memoizedState:null;if(u.mode==="hidden"){if((r.flags&128)!==0){if(u=p!==null?p.baseLanes|o:o,e!==null){for(f=r.child=e.child,p=0;f!==null;)p=p|f.lanes|f.childLanes,f=f.sibling;r.childLanes=p&~u}else r.childLanes=0,r.child=null;return O6(e,r,u,o)}if((o&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},e!==null&&cu(r,p!==null?p.cachePool:null),p!==null?x3(r,p):Hf(),p6(r);else return r.lanes=r.childLanes=536870912,O6(e,r,p!==null?p.baseLanes|o:o,o)}else p!==null?(cu(r,p.cachePool),x3(r,p),ii(),r.memoizedState=null):(e!==null&&cu(r,null),Hf(),ii());return Mn(e,r,f,o),r.child}function O6(e,r,o,u){var f=Rf();return f=f===null?null:{parent:pn._currentValue,pool:f},r.memoizedState={baseLanes:o,cachePool:f},e!==null&&cu(r,null),Hf(),p6(r),e!==null&&Lo(e,r,u,!0),null}function Mu(e,r){var o=r.ref;if(o===null)e!==null&&e.ref!==null&&(r.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(t(284));(e===null||e.ref!==o)&&(r.flags|=4194816)}}function ad(e,r,o,u,f){return Gi(r),o=Yf(e,r,o,u,void 0,f),u=jf(),e!==null&&!yn?(Bf(e,r,f),Aa(e,r,f)):(ct&&u&&wf(r),r.flags|=1,Mn(e,r,o,f),r.child)}function A6(e,r,o,u,f,p){return Gi(r),r.updateQueue=null,o=O3(r,u,o,f),M3(e),u=jf(),e!==null&&!yn?(Bf(e,r,p),Aa(e,r,p)):(ct&&u&&wf(r),r.flags|=1,Mn(e,r,o,p),r.child)}function C6(e,r,o,u,f){if(Gi(r),r.stateNode===null){var p=Tl,b=o.contextType;typeof b=="object"&&b!==null&&(p=Un(b)),p=new o(u,p),r.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=nd,r.stateNode=p,p._reactInternals=r,p=r.stateNode,p.props=u,p.state=r.memoizedState,p.refs={},kf(r),b=o.contextType,p.context=typeof b=="object"&&b!==null?Un(b):Tl,p.state=r.memoizedState,b=o.getDerivedStateFromProps,typeof b=="function"&&(td(r,o,b,u),p.state=r.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(b=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),b!==p.state&&nd.enqueueReplaceState(p,p.state,null),jo(r,u,p,f),Yo(),p.state=r.memoizedState),typeof p.componentDidMount=="function"&&(r.flags|=4194308),u=!0}else if(e===null){p=r.stateNode;var x=r.memoizedProps,P=Wi(o,x);p.props=P;var ee=p.context,ie=o.contextType;b=Tl,typeof ie=="object"&&ie!==null&&(b=Un(ie));var se=o.getDerivedStateFromProps;ie=typeof se=="function"||typeof p.getSnapshotBeforeUpdate=="function",x=r.pendingProps!==x,ie||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(x||ee!==b)&&v6(r,p,u,b),ei=!1;var te=r.memoizedState;p.state=te,jo(r,u,p,f),Yo(),ee=r.memoizedState,x||te!==ee||ei?(typeof se=="function"&&(td(r,o,se,u),ee=r.memoizedState),(P=ei||m6(r,o,P,u,te,ee,b))?(ie||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"&&(r.flags|=4194308)):(typeof p.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=u,r.memoizedState=ee),p.props=u,p.state=ee,p.context=b,u=P):(typeof p.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{p=r.stateNode,Lf(e,r),b=r.memoizedProps,ie=Wi(o,b),p.props=ie,se=r.pendingProps,te=p.context,ee=o.contextType,P=Tl,typeof ee=="object"&&ee!==null&&(P=Un(ee)),x=o.getDerivedStateFromProps,(ee=typeof x=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(b!==se||te!==P)&&v6(r,p,u,P),ei=!1,te=r.memoizedState,p.state=te,jo(r,u,p,f),Yo();var ne=r.memoizedState;b!==se||te!==ne||ei||e!==null&&e.dependencies!==null&&su(e.dependencies)?(typeof x=="function"&&(td(r,o,x,u),ne=r.memoizedState),(ie=ei||m6(r,o,ie,u,te,ne,P)||e!==null&&e.dependencies!==null&&su(e.dependencies))?(ee||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(u,ne,P),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(u,ne,P)),typeof p.componentDidUpdate=="function"&&(r.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof p.componentDidUpdate!="function"||b===e.memoizedProps&&te===e.memoizedState||(r.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&te===e.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=ne),p.props=u,p.state=ne,p.context=P,u=ie):(typeof p.componentDidUpdate!="function"||b===e.memoizedProps&&te===e.memoizedState||(r.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&te===e.memoizedState||(r.flags|=1024),u=!1)}return p=u,Mu(e,r),u=(r.flags&128)!==0,p||u?(p=r.stateNode,o=u&&typeof o.getDerivedStateFromError!="function"?null:p.render(),r.flags|=1,e!==null&&u?(r.child=ql(r,e.child,null,f),r.child=ql(r,null,o,f)):Mn(e,r,o,f),r.memoizedState=p.state,e=r.child):e=Aa(e,r,f),e}function R6(e,r,o,u){return No(),r.flags|=256,Mn(e,r,o,u),r.child}var id={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ld(e){return{baseLanes:e,cachePool:y3()}}function od(e,r,o){return e=e!==null?e.childLanes&~o:0,r&&(e|=Dr),e}function N6(e,r,o){var u=r.pendingProps,f=!1,p=(r.flags&128)!==0,b;if((b=p)||(b=e!==null&&e.memoizedState===null?!1:(mn.current&2)!==0),b&&(f=!0,r.flags&=-129),b=(r.flags&32)!==0,r.flags&=-33,e===null){if(ct){if(f?ai(r):ii(),ct){var x=Qt,P;if(P=x){e:{for(P=x,x=ra;P.nodeType!==8;){if(!x){x=null;break e}if(P=Br(P.nextSibling),P===null){x=null;break e}}x=P}x!==null?(r.memoizedState={dehydrated:x,treeContext:Yi!==null?{id:wa,overflow:Da}:null,retryLane:536870912,hydrationErrors:null},P=ir(18,null,null,0),P.stateNode=x,P.return=r,r.child=P,jn=r,Qt=null,P=!0):P=!1}P||Ii(r)}if(x=r.memoizedState,x!==null&&(x=x.dehydrated,x!==null))return Fd(x)?r.lanes=32:r.lanes=536870912,null;Oa(r)}return x=u.children,u=u.fallback,f?(ii(),f=r.mode,x=Ou({mode:"hidden",children:x},f),u=zi(u,f,o,null),x.return=r,u.return=r,x.sibling=u,r.child=x,f=r.child,f.memoizedState=ld(o),f.childLanes=od(e,b,o),r.memoizedState=id,u):(ai(r),sd(r,x))}if(P=e.memoizedState,P!==null&&(x=P.dehydrated,x!==null)){if(p)r.flags&256?(ai(r),r.flags&=-257,r=ud(e,r,o)):r.memoizedState!==null?(ii(),r.child=e.child,r.flags|=128,r=null):(ii(),f=u.fallback,x=r.mode,u=Ou({mode:"visible",children:u.children},x),f=zi(f,x,o,null),f.flags|=2,u.return=r,f.return=r,u.sibling=f,r.child=u,ql(r,e.child,null,o),u=r.child,u.memoizedState=ld(o),u.childLanes=od(e,b,o),r.memoizedState=id,r=f);else if(ai(r),Fd(x)){if(b=x.nextSibling&&x.nextSibling.dataset,b)var ee=b.dgst;b=ee,u=Error(t(419)),u.stack="",u.digest=b,ko({value:u,source:null,stack:null}),r=ud(e,r,o)}else if(yn||Lo(e,r,o,!1),b=(o&e.childLanes)!==0,yn||b){if(b=Lt,b!==null&&(u=o&-o,u=(u&42)!==0?1:Te(u),u=(u&(b.suspendedLanes|o))!==0?0:u,u!==0&&u!==P.retryLane))throw P.retryLane=u,Dl(e,u),cr(b,e,u),w6;x.data==="$?"||Md(),r=ud(e,r,o)}else x.data==="$?"?(r.flags|=192,r.child=e.child,r=null):(e=P.treeContext,Qt=Br(x.nextSibling),jn=r,ct=!0,Bi=null,ra=!1,e!==null&&(Sr[Er++]=wa,Sr[Er++]=Da,Sr[Er++]=Yi,wa=e.id,Da=e.overflow,Yi=r),r=sd(r,u.children),r.flags|=4096);return r}return f?(ii(),f=u.fallback,x=r.mode,P=e.child,ee=P.sibling,u=Ea(P,{mode:"hidden",children:u.children}),u.subtreeFlags=P.subtreeFlags&65011712,ee!==null?f=Ea(ee,f):(f=zi(f,x,o,null),f.flags|=2),f.return=r,u.return=r,u.sibling=f,r.child=u,u=f,f=r.child,x=e.child.memoizedState,x===null?x=ld(o):(P=x.cachePool,P!==null?(ee=pn._currentValue,P=P.parent!==ee?{parent:ee,pool:ee}:P):P=y3(),x={baseLanes:x.baseLanes|o,cachePool:P}),f.memoizedState=x,f.childLanes=od(e,b,o),r.memoizedState=id,u):(ai(r),o=e.child,e=o.sibling,o=Ea(o,{mode:"visible",children:u.children}),o.return=r,o.sibling=null,e!==null&&(b=r.deletions,b===null?(r.deletions=[e],r.flags|=16):b.push(e)),r.child=o,r.memoizedState=null,o)}function sd(e,r){return r=Ou({mode:"visible",children:r},e.mode),r.return=e,e.child=r}function Ou(e,r){return e=ir(22,e,null,r),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function ud(e,r,o){return ql(r,e.child,null,o),e=sd(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function k6(e,r,o){e.lanes|=r;var u=e.alternate;u!==null&&(u.lanes|=r),Mf(e.return,r,o)}function cd(e,r,o,u,f){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:u,tail:o,tailMode:f}:(p.isBackwards=r,p.rendering=null,p.renderingStartTime=0,p.last=u,p.tail=o,p.tailMode=f)}function L6(e,r,o){var u=r.pendingProps,f=u.revealOrder,p=u.tail;if(Mn(e,r,u.children,o),u=mn.current,(u&2)!==0)u=u&1|2,r.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&k6(e,o,r);else if(e.tag===19)k6(e,o,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===r)break e;for(;e.sibling===null;){if(e.return===null||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}switch(ae(mn,u),f){case"forwards":for(o=r.child,f=null;o!==null;)e=o.alternate,e!==null&&Du(e)===null&&(f=o),o=o.sibling;o=f,o===null?(f=r.child,r.child=null):(f=o.sibling,o.sibling=null),cd(r,!1,f,o,p);break;case"backwards":for(o=null,f=r.child,r.child=null;f!==null;){if(e=f.alternate,e!==null&&Du(e)===null){r.child=f;break}e=f.sibling,f.sibling=o,o=f,f=e}cd(r,!0,o,null,p);break;case"together":cd(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Aa(e,r,o){if(e!==null&&(r.dependencies=e.dependencies),ci|=r.lanes,(o&r.childLanes)===0)if(e!==null){if(Lo(e,r,o,!1),(o&r.childLanes)===0)return null}else return null;if(e!==null&&r.child!==e.child)throw Error(t(153));if(r.child!==null){for(e=r.child,o=Ea(e,e.pendingProps),r.child=o,o.return=r;e.sibling!==null;)e=e.sibling,o=o.sibling=Ea(e,e.pendingProps),o.return=r;o.sibling=null}return r.child}function fd(e,r){return(e.lanes&r)!==0?!0:(e=e.dependencies,!!(e!==null&&su(e)))}function w_(e,r,o){switch(r.tag){case 3:Re(r,r.stateNode.containerInfo),Ja(r,pn,e.memoizedState.cache),No();break;case 27:case 5:Ut(r);break;case 4:Re(r,r.stateNode.containerInfo);break;case 10:Ja(r,r.type,r.memoizedProps.value);break;case 13:var u=r.memoizedState;if(u!==null)return u.dehydrated!==null?(ai(r),r.flags|=128,null):(o&r.child.childLanes)!==0?N6(e,r,o):(ai(r),e=Aa(e,r,o),e!==null?e.sibling:null);ai(r);break;case 19:var f=(e.flags&128)!==0;if(u=(o&r.childLanes)!==0,u||(Lo(e,r,o,!1),u=(o&r.childLanes)!==0),f){if(u)return L6(e,r,o);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),ae(mn,mn.current),u)break;return null;case 22:case 23:return r.lanes=0,M6(e,r,o);case 24:Ja(r,pn,e.memoizedState.cache)}return Aa(e,r,o)}function q6(e,r,o){if(e!==null)if(e.memoizedProps!==r.pendingProps)yn=!0;else{if(!fd(e,o)&&(r.flags&128)===0)return yn=!1,w_(e,r,o);yn=(e.flags&131072)!==0}else yn=!1,ct&&(r.flags&1048576)!==0&&f3(r,ou,r.index);switch(r.lanes=0,r.tag){case 16:e:{e=r.pendingProps;var u=r.elementType,f=u._init;if(u=f(u._payload),r.type=u,typeof u=="function")_f(u)?(e=Wi(u,e),r.tag=1,r=C6(null,r,u,e,o)):(r.tag=0,r=ad(null,r,u,e,o));else{if(u!=null){if(f=u.$$typeof,f===K){r.tag=11,r=D6(null,r,u,e,o);break e}else if(f===V){r.tag=14,r=T6(null,r,u,e,o);break e}}throw r=B(u)||u,Error(t(306,r,""))}}return r;case 0:return ad(e,r,r.type,r.pendingProps,o);case 1:return u=r.type,f=Wi(u,r.pendingProps),C6(e,r,u,f,o);case 3:e:{if(Re(r,r.stateNode.containerInfo),e===null)throw Error(t(387));u=r.pendingProps;var p=r.memoizedState;f=p.element,Lf(e,r),jo(r,u,null,o);var b=r.memoizedState;if(u=b.cache,Ja(r,pn,u),u!==p.cache&&Of(r,[pn],o,!0),Yo(),u=b.element,p.isDehydrated)if(p={element:u,isDehydrated:!1,cache:b.cache},r.updateQueue.baseState=p,r.memoizedState=p,r.flags&256){r=R6(e,r,u,o);break e}else if(u!==f){f=br(Error(t(424)),r),ko(f),r=R6(e,r,u,o);break e}else{switch(e=r.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Qt=Br(e.firstChild),jn=r,ct=!0,Bi=null,ra=!0,o=h6(r,null,u,o),r.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling}else{if(No(),u===f){r=Aa(e,r,o);break e}Mn(e,r,u,o)}r=r.child}return r;case 26:return Mu(e,r),e===null?(o=zv(r.type,null,r.pendingProps,null))?r.memoizedState=o:ct||(o=r.type,e=r.pendingProps,u=Bu(me.current).createElement(o),u[ye]=r,u[we]=e,An(u,o,e),yt(u),r.stateNode=u):r.memoizedState=zv(r.type,e.memoizedProps,r.pendingProps,e.memoizedState),null;case 27:return Ut(r),e===null&&ct&&(u=r.stateNode=Uv(r.type,r.pendingProps,me.current),jn=r,ra=!0,f=Qt,pi(r.type)?(Gd=f,Qt=Br(u.firstChild)):Qt=f),Mn(e,r,r.pendingProps.children,o),Mu(e,r),e===null&&(r.flags|=4194304),r.child;case 5:return e===null&&ct&&((f=u=Qt)&&(u=X_(u,r.type,r.pendingProps,ra),u!==null?(r.stateNode=u,jn=r,Qt=Br(u.firstChild),ra=!1,f=!0):f=!1),f||Ii(r)),Ut(r),f=r.type,p=r.pendingProps,b=e!==null?e.memoizedProps:null,u=p.children,jd(f,p)?u=null:b!==null&&jd(f,b)&&(r.flags|=32),r.memoizedState!==null&&(f=Yf(e,r,m_,null,null,o),us._currentValue=f),Mu(e,r),Mn(e,r,u,o),r.child;case 6:return e===null&&ct&&((e=o=Qt)&&(o=$_(o,r.pendingProps,ra),o!==null?(r.stateNode=o,jn=r,Qt=null,e=!0):e=!1),e||Ii(r)),null;case 13:return N6(e,r,o);case 4:return Re(r,r.stateNode.containerInfo),u=r.pendingProps,e===null?r.child=ql(r,null,u,o):Mn(e,r,u,o),r.child;case 11:return D6(e,r,r.type,r.pendingProps,o);case 7:return Mn(e,r,r.pendingProps,o),r.child;case 8:return Mn(e,r,r.pendingProps.children,o),r.child;case 12:return Mn(e,r,r.pendingProps.children,o),r.child;case 10:return u=r.pendingProps,Ja(r,r.type,u.value),Mn(e,r,u.children,o),r.child;case 9:return f=r.type._context,u=r.pendingProps.children,Gi(r),f=Un(f),u=u(f),r.flags|=1,Mn(e,r,u,o),r.child;case 14:return T6(e,r,r.type,r.pendingProps,o);case 15:return x6(e,r,r.type,r.pendingProps,o);case 19:return L6(e,r,o);case 31:return u=r.pendingProps,o=r.mode,u={mode:u.mode,children:u.children},e===null?(o=Ou(u,o),o.ref=r.ref,r.child=o,o.return=r,r=o):(o=Ea(e.child,u),o.ref=r.ref,r.child=o,o.return=r,r=o),r;case 22:return M6(e,r,o);case 24:return Gi(r),u=Un(pn),e===null?(f=Rf(),f===null&&(f=Lt,p=Af(),f.pooledCache=p,p.refCount++,p!==null&&(f.pooledCacheLanes|=o),f=p),r.memoizedState={parent:u,cache:f},kf(r),Ja(r,pn,f)):((e.lanes&o)!==0&&(Lf(e,r),jo(r,null,null,o),Yo()),f=e.memoizedState,p=r.memoizedState,f.parent!==u?(f={parent:u,cache:u},r.memoizedState=f,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=f),Ja(r,pn,u)):(u=p.cache,Ja(r,pn,u),u!==f.cache&&Of(r,[pn],o,!0))),Mn(e,r,r.pendingProps.children,o),r.child;case 29:throw r.pendingProps}throw Error(t(156,r.tag))}function Ca(e){e.flags|=4}function U6(e,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Fv(r)){if(r=wr.current,r!==null&&((tt&4194048)===tt?aa!==null:(tt&62914560)!==tt&&(tt&536870912)===0||r!==aa))throw Po=Nf,b3;e.flags|=8192}}function Au(e,r){r!==null&&(e.flags|=4),e.flags&16384&&(r=e.tag!==22?qn():536870912,e.lanes|=r,zl|=r)}function Wo(e,r){if(!ct)switch(e.tailMode){case"hidden":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var u=null;o!==null;)o.alternate!==null&&(u=o),o=o.sibling;u===null?r||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Zt(e){var r=e.alternate!==null&&e.alternate.child===e.child,o=0,u=0;if(r)for(var f=e.child;f!==null;)o|=f.lanes|f.childLanes,u|=f.subtreeFlags&65011712,u|=f.flags&65011712,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)o|=f.lanes|f.childLanes,u|=f.subtreeFlags,u|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=u,e.childLanes=o,r}function D_(e,r,o){var u=r.pendingProps;switch(Df(r),r.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zt(r),null;case 1:return Zt(r),null;case 3:return o=r.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),r.memoizedState.cache!==u&&(r.flags|=2048),xa(pn),qt(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(Ro(r)?Ca(r):e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,p3())),Zt(r),null;case 26:return o=r.memoizedState,e===null?(Ca(r),o!==null?(Zt(r),U6(r,o)):(Zt(r),r.flags&=-16777217)):o?o!==e.memoizedState?(Ca(r),Zt(r),U6(r,o)):(Zt(r),r.flags&=-16777217):(e.memoizedProps!==u&&Ca(r),Zt(r),r.flags&=-16777217),null;case 27:mt(r),o=me.current;var f=r.type;if(e!==null&&r.stateNode!=null)e.memoizedProps!==u&&Ca(r);else{if(!u){if(r.stateNode===null)throw Error(t(166));return Zt(r),null}e=he.current,Ro(r)?d3(r):(e=Uv(f,u,o),r.stateNode=e,Ca(r))}return Zt(r),null;case 5:if(mt(r),o=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==u&&Ca(r);else{if(!u){if(r.stateNode===null)throw Error(t(166));return Zt(r),null}if(e=he.current,Ro(r))d3(r);else{switch(f=Bu(me.current),e){case 1:e=f.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:e=f.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":e=f.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":e=f.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":e=f.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof u.is=="string"?f.createElement("select",{is:u.is}):f.createElement("select"),u.multiple?e.multiple=!0:u.size&&(e.size=u.size);break;default:e=typeof u.is=="string"?f.createElement(o,{is:u.is}):f.createElement(o)}}e[ye]=r,e[we]=u;e:for(f=r.child;f!==null;){if(f.tag===5||f.tag===6)e.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===r)break e;for(;f.sibling===null;){if(f.return===null||f.return===r)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}r.stateNode=e;e:switch(An(e,o,u),o){case"button":case"input":case"select":case"textarea":e=!!u.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Ca(r)}}return Zt(r),r.flags&=-16777217,null;case 6:if(e&&r.stateNode!=null)e.memoizedProps!==u&&Ca(r);else{if(typeof u!="string"&&r.stateNode===null)throw Error(t(166));if(e=me.current,Ro(r)){if(e=r.stateNode,o=r.memoizedProps,u=null,f=jn,f!==null)switch(f.tag){case 27:case 5:u=f.memoizedProps}e[ye]=r,e=!!(e.nodeValue===o||u!==null&&u.suppressHydrationWarning===!0||Av(e.nodeValue,o)),e||Ii(r)}else e=Bu(e).createTextNode(u),e[ye]=r,r.stateNode=e}return Zt(r),null;case 13:if(u=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=Ro(r),u!==null&&u.dehydrated!==null){if(e===null){if(!f)throw Error(t(318));if(f=r.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(t(317));f[ye]=r}else No(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;Zt(r),f=!1}else f=p3(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=f),f=!0;if(!f)return r.flags&256?(Oa(r),r):(Oa(r),null)}if(Oa(r),(r.flags&128)!==0)return r.lanes=o,r;if(o=u!==null,e=e!==null&&e.memoizedState!==null,o){u=r.child,f=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(f=u.alternate.memoizedState.cachePool.pool);var p=null;u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(p=u.memoizedState.cachePool.pool),p!==f&&(u.flags|=2048)}return o!==e&&o&&(r.child.flags|=8192),Au(r,r.updateQueue),Zt(r),null;case 4:return qt(),e===null&&Ud(r.stateNode.containerInfo),Zt(r),null;case 10:return xa(r.type),Zt(r),null;case 19:if(oe(mn),f=r.memoizedState,f===null)return Zt(r),null;if(u=(r.flags&128)!==0,p=f.rendering,p===null)if(u)Wo(f,!1);else{if(Kt!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(p=Du(e),p!==null){for(r.flags|=128,Wo(f,!1),e=p.updateQueue,r.updateQueue=e,Au(r,e),r.subtreeFlags=0,e=o,o=r.child;o!==null;)c3(o,e),o=o.sibling;return ae(mn,mn.current&1|2),r.child}e=e.sibling}f.tail!==null&&xt()>Nu&&(r.flags|=128,u=!0,Wo(f,!1),r.lanes=4194304)}else{if(!u)if(e=Du(p),e!==null){if(r.flags|=128,u=!0,e=e.updateQueue,r.updateQueue=e,Au(r,e),Wo(f,!0),f.tail===null&&f.tailMode==="hidden"&&!p.alternate&&!ct)return Zt(r),null}else 2*xt()-f.renderingStartTime>Nu&&o!==536870912&&(r.flags|=128,u=!0,Wo(f,!1),r.lanes=4194304);f.isBackwards?(p.sibling=r.child,r.child=p):(e=f.last,e!==null?e.sibling=p:r.child=p,f.last=p)}return f.tail!==null?(r=f.tail,f.rendering=r,f.tail=r.sibling,f.renderingStartTime=xt(),r.sibling=null,e=mn.current,ae(mn,u?e&1|2:e&1),r):(Zt(r),null);case 22:case 23:return Oa(r),Pf(),u=r.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(r.flags|=8192):u&&(r.flags|=8192),u?(o&536870912)!==0&&(r.flags&128)===0&&(Zt(r),r.subtreeFlags&6&&(r.flags|=8192)):Zt(r),o=r.updateQueue,o!==null&&Au(r,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),u=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),u!==o&&(r.flags|=2048),e!==null&&oe(Zi),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),r.memoizedState.cache!==o&&(r.flags|=2048),xa(pn),Zt(r),null;case 25:return null;case 30:return null}throw Error(t(156,r.tag))}function T_(e,r){switch(Df(r),r.tag){case 1:return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return xa(pn),qt(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 26:case 27:case 5:return mt(r),null;case 13:if(Oa(r),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(t(340));No()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return oe(mn),null;case 4:return qt(),null;case 10:return xa(r.type),null;case 22:case 23:return Oa(r),Pf(),e!==null&&oe(Zi),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 24:return xa(pn),null;case 25:return null;default:return null}}function H6(e,r){switch(Df(r),r.tag){case 3:xa(pn),qt();break;case 26:case 27:case 5:mt(r);break;case 4:qt();break;case 13:Oa(r);break;case 19:oe(mn);break;case 10:xa(r.type);break;case 22:case 23:Oa(r),Pf(),e!==null&&oe(Zi);break;case 24:xa(pn)}}function Qo(e,r){try{var o=r.updateQueue,u=o!==null?o.lastEffect:null;if(u!==null){var f=u.next;o=f;do{if((o.tag&e)===e){u=void 0;var p=o.create,b=o.inst;u=p(),b.destroy=u}o=o.next}while(o!==f)}}catch(x){Ct(r,r.return,x)}}function li(e,r,o){try{var u=r.updateQueue,f=u!==null?u.lastEffect:null;if(f!==null){var p=f.next;u=p;do{if((u.tag&e)===e){var b=u.inst,x=b.destroy;if(x!==void 0){b.destroy=void 0,f=r;var P=o,ee=x;try{ee()}catch(ie){Ct(f,P,ie)}}}u=u.next}while(u!==p)}}catch(ie){Ct(r,r.return,ie)}}function P6(e){var r=e.updateQueue;if(r!==null){var o=e.stateNode;try{T3(r,o)}catch(u){Ct(e,e.return,u)}}}function z6(e,r,o){o.props=Wi(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(u){Ct(e,r,u)}}function Ko(e,r){try{var o=e.ref;if(o!==null){switch(e.tag){case 26:case 27:case 5:var u=e.stateNode;break;case 30:u=e.stateNode;break;default:u=e.stateNode}typeof o=="function"?e.refCleanup=o(u):o.current=u}}catch(f){Ct(e,r,f)}}function ia(e,r){var o=e.ref,u=e.refCleanup;if(o!==null)if(typeof u=="function")try{u()}catch(f){Ct(e,r,f)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(f){Ct(e,r,f)}else o.current=null}function Y6(e){var r=e.type,o=e.memoizedProps,u=e.stateNode;try{e:switch(r){case"button":case"input":case"select":case"textarea":o.autoFocus&&u.focus();break e;case"img":o.src?u.src=o.src:o.srcSet&&(u.srcset=o.srcSet)}}catch(f){Ct(e,e.return,f)}}function dd(e,r,o){try{var u=e.stateNode;Z_(u,e.type,o,r),u[we]=r}catch(f){Ct(e,e.return,f)}}function j6(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&pi(e.type)||e.tag===4}function hd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||j6(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.tag===27&&pi(e.type)||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 pd(e,r,o){var u=e.tag;if(u===5||u===6)e=e.stateNode,r?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(e,r):(r=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,r.appendChild(e),o=o._reactRootContainer,o!=null||r.onclick!==null||(r.onclick=ju));else if(u!==4&&(u===27&&pi(e.type)&&(o=e.stateNode,r=null),e=e.child,e!==null))for(pd(e,r,o),e=e.sibling;e!==null;)pd(e,r,o),e=e.sibling}function Cu(e,r,o){var u=e.tag;if(u===5||u===6)e=e.stateNode,r?o.insertBefore(e,r):o.appendChild(e);else if(u!==4&&(u===27&&pi(e.type)&&(o=e.stateNode),e=e.child,e!==null))for(Cu(e,r,o),e=e.sibling;e!==null;)Cu(e,r,o),e=e.sibling}function B6(e){var r=e.stateNode,o=e.memoizedProps;try{for(var u=e.type,f=r.attributes;f.length;)r.removeAttributeNode(f[0]);An(r,u,o),r[ye]=e,r[we]=o}catch(p){Ct(e,e.return,p)}}var Ra=!1,nn=!1,md=!1,I6=typeof WeakSet=="function"?WeakSet:Set,bn=null;function x_(e,r){if(e=e.containerInfo,zd=Wu,e=e3(e),hf(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var u=o.getSelection&&o.getSelection();if(u&&u.rangeCount!==0){o=u.anchorNode;var f=u.anchorOffset,p=u.focusNode;u=u.focusOffset;try{o.nodeType,p.nodeType}catch{o=null;break e}var b=0,x=-1,P=-1,ee=0,ie=0,se=e,te=null;t:for(;;){for(var ne;se!==o||f!==0&&se.nodeType!==3||(x=b+f),se!==p||u!==0&&se.nodeType!==3||(P=b+u),se.nodeType===3&&(b+=se.nodeValue.length),(ne=se.firstChild)!==null;)te=se,se=ne;for(;;){if(se===e)break t;if(te===o&&++ee===f&&(x=b),te===p&&++ie===u&&(P=b),(ne=se.nextSibling)!==null)break;se=te,te=se.parentNode}se=ne}o=x===-1||P===-1?null:{start:x,end:P}}else o=null}o=o||{start:0,end:0}}else o=null;for(Yd={focusedElem:e,selectionRange:o},Wu=!1,bn=r;bn!==null;)if(r=bn,e=r.child,(r.subtreeFlags&1024)!==0&&e!==null)e.return=r,bn=e;else for(;bn!==null;){switch(r=bn,p=r.alternate,e=r.flags,r.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&p!==null){e=void 0,o=r,f=p.memoizedProps,p=p.memoizedState,u=o.stateNode;try{var Le=Wi(o.type,f,o.elementType===o.type);e=u.getSnapshotBeforeUpdate(Le,p),u.__reactInternalSnapshotBeforeUpdate=e}catch(Ce){Ct(o,o.return,Ce)}}break;case 3:if((e&1024)!==0){if(e=r.stateNode.containerInfo,o=e.nodeType,o===9)Id(e);else if(o===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Id(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(t(163))}if(e=r.sibling,e!==null){e.return=r.return,bn=e;break}bn=r.return}}function F6(e,r,o){var u=o.flags;switch(o.tag){case 0:case 11:case 15:oi(e,o),u&4&&Qo(5,o);break;case 1:if(oi(e,o),u&4)if(e=o.stateNode,r===null)try{e.componentDidMount()}catch(b){Ct(o,o.return,b)}else{var f=Wi(o.type,r.memoizedProps);r=r.memoizedState;try{e.componentDidUpdate(f,r,e.__reactInternalSnapshotBeforeUpdate)}catch(b){Ct(o,o.return,b)}}u&64&&P6(o),u&512&&Ko(o,o.return);break;case 3:if(oi(e,o),u&64&&(e=o.updateQueue,e!==null)){if(r=null,o.child!==null)switch(o.child.tag){case 27:case 5:r=o.child.stateNode;break;case 1:r=o.child.stateNode}try{T3(e,r)}catch(b){Ct(o,o.return,b)}}break;case 27:r===null&&u&4&&B6(o);case 26:case 5:oi(e,o),r===null&&u&4&&Y6(o),u&512&&Ko(o,o.return);break;case 12:oi(e,o);break;case 13:oi(e,o),u&4&&V6(e,o),u&64&&(e=o.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(o=q_.bind(null,o),J_(e,o))));break;case 22:if(u=o.memoizedState!==null||Ra,!u){r=r!==null&&r.memoizedState!==null||nn,f=Ra;var p=nn;Ra=u,(nn=r)&&!p?si(e,o,(o.subtreeFlags&8772)!==0):oi(e,o),Ra=f,nn=p}break;case 30:break;default:oi(e,o)}}function G6(e){var r=e.alternate;r!==null&&(e.alternate=null,G6(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&Me(r)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var jt=null,$n=!1;function Na(e,r,o){for(o=o.child;o!==null;)Z6(e,r,o),o=o.sibling}function Z6(e,r,o){if(ot&&typeof ot.onCommitFiberUnmount=="function")try{ot.onCommitFiberUnmount(Ze,o)}catch{}switch(o.tag){case 26:nn||ia(o,r),Na(e,r,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:nn||ia(o,r);var u=jt,f=$n;pi(o.type)&&(jt=o.stateNode,$n=!1),Na(e,r,o),is(o.stateNode),jt=u,$n=f;break;case 5:nn||ia(o,r);case 6:if(u=jt,f=$n,jt=null,Na(e,r,o),jt=u,$n=f,jt!==null)if($n)try{(jt.nodeType===9?jt.body:jt.nodeName==="HTML"?jt.ownerDocument.body:jt).removeChild(o.stateNode)}catch(p){Ct(o,r,p)}else try{jt.removeChild(o.stateNode)}catch(p){Ct(o,r,p)}break;case 18:jt!==null&&($n?(e=jt,Lv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,o.stateNode),hs(e)):Lv(jt,o.stateNode));break;case 4:u=jt,f=$n,jt=o.stateNode.containerInfo,$n=!0,Na(e,r,o),jt=u,$n=f;break;case 0:case 11:case 14:case 15:nn||li(2,o,r),nn||li(4,o,r),Na(e,r,o);break;case 1:nn||(ia(o,r),u=o.stateNode,typeof u.componentWillUnmount=="function"&&z6(o,r,u)),Na(e,r,o);break;case 21:Na(e,r,o);break;case 22:nn=(u=nn)||o.memoizedState!==null,Na(e,r,o),nn=u;break;default:Na(e,r,o)}}function V6(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{hs(e)}catch(o){Ct(r,r.return,o)}}function M_(e){switch(e.tag){case 13:case 19:var r=e.stateNode;return r===null&&(r=e.stateNode=new I6),r;case 22:return e=e.stateNode,r=e._retryCache,r===null&&(r=e._retryCache=new I6),r;default:throw Error(t(435,e.tag))}}function vd(e,r){var o=M_(e);r.forEach(function(u){var f=U_.bind(null,e,u);o.has(u)||(o.add(u),u.then(f,f))})}function lr(e,r){var o=r.deletions;if(o!==null)for(var u=0;u<o.length;u++){var f=o[u],p=e,b=r,x=b;e:for(;x!==null;){switch(x.tag){case 27:if(pi(x.type)){jt=x.stateNode,$n=!1;break e}break;case 5:jt=x.stateNode,$n=!1;break e;case 3:case 4:jt=x.stateNode.containerInfo,$n=!0;break e}x=x.return}if(jt===null)throw Error(t(160));Z6(p,b,f),jt=null,$n=!1,p=f.alternate,p!==null&&(p.return=null),f.return=null}if(r.subtreeFlags&13878)for(r=r.child;r!==null;)W6(r,e),r=r.sibling}var jr=null;function W6(e,r){var o=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:lr(r,e),or(e),u&4&&(li(3,e,e.return),Qo(3,e),li(5,e,e.return));break;case 1:lr(r,e),or(e),u&512&&(nn||o===null||ia(o,o.return)),u&64&&Ra&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(o=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=o===null?u:o.concat(u))));break;case 26:var f=jr;if(lr(r,e),or(e),u&512&&(nn||o===null||ia(o,o.return)),u&4){var p=o!==null?o.memoizedState:null;if(u=e.memoizedState,o===null)if(u===null)if(e.stateNode===null){e:{u=e.type,o=e.memoizedProps,f=f.ownerDocument||f;t:switch(u){case"title":p=f.getElementsByTagName("title")[0],(!p||p[Yt]||p[ye]||p.namespaceURI==="http://www.w3.org/2000/svg"||p.hasAttribute("itemprop"))&&(p=f.createElement(u),f.head.insertBefore(p,f.querySelector("head > title"))),An(p,u,o),p[ye]=e,yt(p),u=p;break e;case"link":var b=Bv("link","href",f).get(u+(o.href||""));if(b){for(var x=0;x<b.length;x++)if(p=b[x],p.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&p.getAttribute("rel")===(o.rel==null?null:o.rel)&&p.getAttribute("title")===(o.title==null?null:o.title)&&p.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){b.splice(x,1);break t}}p=f.createElement(u),An(p,u,o),f.head.appendChild(p);break;case"meta":if(b=Bv("meta","content",f).get(u+(o.content||""))){for(x=0;x<b.length;x++)if(p=b[x],p.getAttribute("content")===(o.content==null?null:""+o.content)&&p.getAttribute("name")===(o.name==null?null:o.name)&&p.getAttribute("property")===(o.property==null?null:o.property)&&p.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&p.getAttribute("charset")===(o.charSet==null?null:o.charSet)){b.splice(x,1);break t}}p=f.createElement(u),An(p,u,o),f.head.appendChild(p);break;default:throw Error(t(468,u))}p[ye]=e,yt(p),u=p}e.stateNode=u}else Iv(f,e.type,e.stateNode);else e.stateNode=jv(f,u,e.memoizedProps);else p!==u?(p===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):p.count--,u===null?Iv(f,e.type,e.stateNode):jv(f,u,e.memoizedProps)):u===null&&e.stateNode!==null&&dd(e,e.memoizedProps,o.memoizedProps)}break;case 27:lr(r,e),or(e),u&512&&(nn||o===null||ia(o,o.return)),o!==null&&u&4&&dd(e,e.memoizedProps,o.memoizedProps);break;case 5:if(lr(r,e),or(e),u&512&&(nn||o===null||ia(o,o.return)),e.flags&32){f=e.stateNode;try{Hr(f,"")}catch(ne){Ct(e,e.return,ne)}}u&4&&e.stateNode!=null&&(f=e.memoizedProps,dd(e,f,o!==null?o.memoizedProps:f)),u&1024&&(md=!0);break;case 6:if(lr(r,e),or(e),u&4){if(e.stateNode===null)throw Error(t(162));u=e.memoizedProps,o=e.stateNode;try{o.nodeValue=u}catch(ne){Ct(e,e.return,ne)}}break;case 3:if(Gu=null,f=jr,jr=Iu(r.containerInfo),lr(r,e),jr=f,or(e),u&4&&o!==null&&o.memoizedState.isDehydrated)try{hs(r.containerInfo)}catch(ne){Ct(e,e.return,ne)}md&&(md=!1,Q6(e));break;case 4:u=jr,jr=Iu(e.stateNode.containerInfo),lr(r,e),or(e),jr=u;break;case 12:lr(r,e),or(e);break;case 13:lr(r,e),or(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Ed=xt()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,vd(e,u)));break;case 22:f=e.memoizedState!==null;var P=o!==null&&o.memoizedState!==null,ee=Ra,ie=nn;if(Ra=ee||f,nn=ie||P,lr(r,e),nn=ie,Ra=ee,or(e),u&8192)e:for(r=e.stateNode,r._visibility=f?r._visibility&-2:r._visibility|1,f&&(o===null||P||Ra||nn||Qi(e)),o=null,r=e;;){if(r.tag===5||r.tag===26){if(o===null){P=o=r;try{if(p=P.stateNode,f)b=p.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{x=P.stateNode;var se=P.memoizedProps.style,te=se!=null&&se.hasOwnProperty("display")?se.display:null;x.style.display=te==null||typeof te=="boolean"?"":(""+te).trim()}}catch(ne){Ct(P,P.return,ne)}}}else if(r.tag===6){if(o===null){P=r;try{P.stateNode.nodeValue=f?"":P.memoizedProps}catch(ne){Ct(P,P.return,ne)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break e;for(;r.sibling===null;){if(r.return===null||r.return===e)break e;o===r&&(o=null),r=r.return}o===r&&(o=null),r.sibling.return=r.return,r=r.sibling}u&4&&(u=e.updateQueue,u!==null&&(o=u.retryQueue,o!==null&&(u.retryQueue=null,vd(e,o))));break;case 19:lr(r,e),or(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,vd(e,u)));break;case 30:break;case 21:break;default:lr(r,e),or(e)}}function or(e){var r=e.flags;if(r&2){try{for(var o,u=e.return;u!==null;){if(j6(u)){o=u;break}u=u.return}if(o==null)throw Error(t(160));switch(o.tag){case 27:var f=o.stateNode,p=hd(e);Cu(e,p,f);break;case 5:var b=o.stateNode;o.flags&32&&(Hr(b,""),o.flags&=-33);var x=hd(e);Cu(e,x,b);break;case 3:case 4:var P=o.stateNode.containerInfo,ee=hd(e);pd(e,ee,P);break;default:throw Error(t(161))}}catch(ie){Ct(e,e.return,ie)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function Q6(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var r=e;Q6(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),e=e.sibling}}function oi(e,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)F6(e,r.alternate,r),r=r.sibling}function Qi(e){for(e=e.child;e!==null;){var r=e;switch(r.tag){case 0:case 11:case 14:case 15:li(4,r,r.return),Qi(r);break;case 1:ia(r,r.return);var o=r.stateNode;typeof o.componentWillUnmount=="function"&&z6(r,r.return,o),Qi(r);break;case 27:is(r.stateNode);case 26:case 5:ia(r,r.return),Qi(r);break;case 22:r.memoizedState===null&&Qi(r);break;case 30:Qi(r);break;default:Qi(r)}e=e.sibling}}function si(e,r,o){for(o=o&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var u=r.alternate,f=e,p=r,b=p.flags;switch(p.tag){case 0:case 11:case 15:si(f,p,o),Qo(4,p);break;case 1:if(si(f,p,o),u=p,f=u.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(ee){Ct(u,u.return,ee)}if(u=p,f=u.updateQueue,f!==null){var x=u.stateNode;try{var P=f.shared.hiddenCallbacks;if(P!==null)for(f.shared.hiddenCallbacks=null,f=0;f<P.length;f++)D3(P[f],x)}catch(ee){Ct(u,u.return,ee)}}o&&b&64&&P6(p),Ko(p,p.return);break;case 27:B6(p);case 26:case 5:si(f,p,o),o&&u===null&&b&4&&Y6(p),Ko(p,p.return);break;case 12:si(f,p,o);break;case 13:si(f,p,o),o&&b&4&&V6(f,p);break;case 22:p.memoizedState===null&&si(f,p,o),Ko(p,p.return);break;case 30:break;default:si(f,p,o)}r=r.sibling}}function gd(e,r){var o=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),e=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(e=r.memoizedState.cachePool.pool),e!==o&&(e!=null&&e.refCount++,o!=null&&qo(o))}function yd(e,r){e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&qo(e))}function la(e,r,o,u){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)K6(e,r,o,u),r=r.sibling}function K6(e,r,o,u){var f=r.flags;switch(r.tag){case 0:case 11:case 15:la(e,r,o,u),f&2048&&Qo(9,r);break;case 1:la(e,r,o,u);break;case 3:la(e,r,o,u),f&2048&&(e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&qo(e)));break;case 12:if(f&2048){la(e,r,o,u),e=r.stateNode;try{var p=r.memoizedProps,b=p.id,x=p.onPostCommit;typeof x=="function"&&x(b,r.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(P){Ct(r,r.return,P)}}else la(e,r,o,u);break;case 13:la(e,r,o,u);break;case 23:break;case 22:p=r.stateNode,b=r.alternate,r.memoizedState!==null?p._visibility&2?la(e,r,o,u):Xo(e,r):p._visibility&2?la(e,r,o,u):(p._visibility|=2,Ul(e,r,o,u,(r.subtreeFlags&10256)!==0)),f&2048&&gd(b,r);break;case 24:la(e,r,o,u),f&2048&&yd(r.alternate,r);break;default:la(e,r,o,u)}}function Ul(e,r,o,u,f){for(f=f&&(r.subtreeFlags&10256)!==0,r=r.child;r!==null;){var p=e,b=r,x=o,P=u,ee=b.flags;switch(b.tag){case 0:case 11:case 15:Ul(p,b,x,P,f),Qo(8,b);break;case 23:break;case 22:var ie=b.stateNode;b.memoizedState!==null?ie._visibility&2?Ul(p,b,x,P,f):Xo(p,b):(ie._visibility|=2,Ul(p,b,x,P,f)),f&&ee&2048&&gd(b.alternate,b);break;case 24:Ul(p,b,x,P,f),f&&ee&2048&&yd(b.alternate,b);break;default:Ul(p,b,x,P,f)}r=r.sibling}}function Xo(e,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var o=e,u=r,f=u.flags;switch(u.tag){case 22:Xo(o,u),f&2048&&gd(u.alternate,u);break;case 24:Xo(o,u),f&2048&&yd(u.alternate,u);break;default:Xo(o,u)}r=r.sibling}}var $o=8192;function Hl(e){if(e.subtreeFlags&$o)for(e=e.child;e!==null;)X6(e),e=e.sibling}function X6(e){switch(e.tag){case 26:Hl(e),e.flags&$o&&e.memoizedState!==null&&dS(jr,e.memoizedState,e.memoizedProps);break;case 5:Hl(e);break;case 3:case 4:var r=jr;jr=Iu(e.stateNode.containerInfo),Hl(e),jr=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=$o,$o=16777216,Hl(e),$o=r):Hl(e));break;default:Hl(e)}}function $6(e){var r=e.alternate;if(r!==null&&(e=r.child,e!==null)){r.child=null;do r=e.sibling,e.sibling=null,e=r;while(e!==null)}}function Jo(e){var r=e.deletions;if((e.flags&16)!==0){if(r!==null)for(var o=0;o<r.length;o++){var u=r[o];bn=u,ev(u,e)}$6(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)J6(e),e=e.sibling}function J6(e){switch(e.tag){case 0:case 11:case 15:Jo(e),e.flags&2048&&li(9,e,e.return);break;case 3:Jo(e);break;case 12:Jo(e);break;case 22:var r=e.stateNode;e.memoizedState!==null&&r._visibility&2&&(e.return===null||e.return.tag!==13)?(r._visibility&=-3,Ru(e)):Jo(e);break;default:Jo(e)}}function Ru(e){var r=e.deletions;if((e.flags&16)!==0){if(r!==null)for(var o=0;o<r.length;o++){var u=r[o];bn=u,ev(u,e)}$6(e)}for(e=e.child;e!==null;){switch(r=e,r.tag){case 0:case 11:case 15:li(8,r,r.return),Ru(r);break;case 22:o=r.stateNode,o._visibility&2&&(o._visibility&=-3,Ru(r));break;default:Ru(r)}e=e.sibling}}function ev(e,r){for(;bn!==null;){var o=bn;switch(o.tag){case 0:case 11:case 15:li(8,o,r);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var u=o.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:qo(o.memoizedState.cache)}if(u=o.child,u!==null)u.return=o,bn=u;else e:for(o=e;bn!==null;){u=bn;var f=u.sibling,p=u.return;if(G6(u),u===o){bn=null;break e}if(f!==null){f.return=p,bn=f;break e}bn=p}}}var O_={getCacheForType:function(e){var r=Un(pn),o=r.data.get(e);return o===void 0&&(o=e(),r.data.set(e,o)),o}},A_=typeof WeakMap=="function"?WeakMap:Map,bt=0,Lt=null,Qe=null,tt=0,_t=0,sr=null,ui=!1,Pl=!1,bd=!1,ka=0,Kt=0,ci=0,Ki=0,_d=0,Dr=0,zl=0,es=null,Jn=null,Sd=!1,Ed=0,Nu=1/0,ku=null,fi=null,On=0,di=null,Yl=null,jl=0,wd=0,Dd=null,tv=null,ts=0,Td=null;function ur(){if((bt&2)!==0&&tt!==0)return tt&-tt;if(T.T!==null){var e=Ol;return e!==0?e:Nd()}return Jt()}function nv(){Dr===0&&(Dr=(tt&536870912)===0||ct?Ln():536870912);var e=wr.current;return e!==null&&(e.flags|=32),Dr}function cr(e,r,o){(e===Lt&&(_t===2||_t===9)||e.cancelPendingCommit!==null)&&(Bl(e,0),hi(e,tt,Dr,!1)),rt(e,o),((bt&2)===0||e!==Lt)&&(e===Lt&&((bt&2)===0&&(Ki|=o),Kt===4&&hi(e,tt,Dr,!1)),oa(e))}function rv(e,r,o){if((bt&6)!==0)throw Error(t(327));var u=!o&&(r&124)===0&&(r&e.expiredLanes)===0||vn(e,r),f=u?N_(e,r):Od(e,r,!0),p=u;do{if(f===0){Pl&&!u&&hi(e,r,0,!1);break}else{if(o=e.current.alternate,p&&!C_(o)){f=Od(e,r,!1),p=!1;continue}if(f===2){if(p=r,e.errorRecoveryDisabledLanes&p)var b=0;else b=e.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){r=b;e:{var x=e;f=es;var P=x.current.memoizedState.isDehydrated;if(P&&(Bl(x,b).flags|=256),b=Od(x,b,!1),b!==2){if(bd&&!P){x.errorRecoveryDisabledLanes|=p,Ki|=p,f=4;break e}p=Jn,Jn=f,p!==null&&(Jn===null?Jn=p:Jn.push.apply(Jn,p))}f=b}if(p=!1,f!==2)continue}}if(f===1){Bl(e,0),hi(e,r,0,!0);break}e:{switch(u=e,p=f,p){case 0:case 1:throw Error(t(345));case 4:if((r&4194048)!==r)break;case 6:hi(u,r,Dr,!ui);break e;case 2:Jn=null;break;case 3:case 5:break;default:throw Error(t(329))}if((r&62914560)===r&&(f=Ed+300-xt(),10<f)){if(hi(u,r,Dr,!ui),ln(u,0,!0)!==0)break e;u.timeoutHandle=Nv(av.bind(null,u,o,Jn,ku,Sd,r,Dr,Ki,zl,ui,p,2,-0,0),f);break e}av(u,o,Jn,ku,Sd,r,Dr,Ki,zl,ui,p,0,-0,0)}}break}while(!0);oa(e)}function av(e,r,o,u,f,p,b,x,P,ee,ie,se,te,ne){if(e.timeoutHandle=-1,se=r.subtreeFlags,(se&8192||(se&16785408)===16785408)&&(ss={stylesheets:null,count:0,unsuspend:fS},X6(r),se=hS(),se!==null)){e.cancelPendingCommit=se(fv.bind(null,e,r,p,o,u,f,b,x,P,ie,1,te,ne)),hi(e,p,b,!ee);return}fv(e,r,p,o,u,f,b,x,P)}function C_(e){for(var r=e;;){var o=r.tag;if((o===0||o===11||o===15)&&r.flags&16384&&(o=r.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var u=0;u<o.length;u++){var f=o[u],p=f.getSnapshot;f=f.value;try{if(!ar(p(),f))return!1}catch{return!1}}if(o=r.child,r.subtreeFlags&16384&&o!==null)o.return=r,r=o;else{if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function hi(e,r,o,u){r&=~_d,r&=~Ki,e.suspendedLanes|=r,e.pingedLanes&=~r,u&&(e.warmLanes|=r),u=e.expirationTimes;for(var f=r;0<f;){var p=31-Mt(f),b=1<<p;u[p]=-1,f&=~b}o!==0&&Ot(e,o,r)}function Lu(){return(bt&6)===0?(ns(0),!1):!0}function xd(){if(Qe!==null){if(_t===0)var e=Qe.return;else e=Qe,Ta=Fi=null,If(e),Ll=null,Zo=0,e=Qe;for(;e!==null;)H6(e.alternate,e),e=e.return;Qe=null}}function Bl(e,r){var o=e.timeoutHandle;o!==-1&&(e.timeoutHandle=-1,W_(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),xd(),Lt=e,Qe=o=Ea(e.current,null),tt=r,_t=0,sr=null,ui=!1,Pl=vn(e,r),bd=!1,zl=Dr=_d=Ki=ci=Kt=0,Jn=es=null,Sd=!1,(r&8)!==0&&(r|=r&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=r;0<u;){var f=31-Mt(u),p=1<<f;r|=e[f],u&=~p}return ka=r,nu(),o}function iv(e,r){Fe=null,T.H=Su,r===Ho||r===fu?(r=E3(),_t=3):r===b3?(r=E3(),_t=4):_t=r===w6?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,sr=r,Qe===null&&(Kt=1,xu(e,br(r,e.current)))}function lv(){var e=T.H;return T.H=Su,e===null?Su:e}function ov(){var e=T.A;return T.A=O_,e}function Md(){Kt=4,ui||(tt&4194048)!==tt&&wr.current!==null||(Pl=!0),(ci&134217727)===0&&(Ki&134217727)===0||Lt===null||hi(Lt,tt,Dr,!1)}function Od(e,r,o){var u=bt;bt|=2;var f=lv(),p=ov();(Lt!==e||tt!==r)&&(ku=null,Bl(e,r)),r=!1;var b=Kt;e:do try{if(_t!==0&&Qe!==null){var x=Qe,P=sr;switch(_t){case 8:xd(),b=6;break e;case 3:case 2:case 9:case 6:wr.current===null&&(r=!0);var ee=_t;if(_t=0,sr=null,Il(e,x,P,ee),o&&Pl){b=0;break e}break;default:ee=_t,_t=0,sr=null,Il(e,x,P,ee)}}R_(),b=Kt;break}catch(ie){iv(e,ie)}while(!0);return r&&e.shellSuspendCounter++,Ta=Fi=null,bt=u,T.H=f,T.A=p,Qe===null&&(Lt=null,tt=0,nu()),b}function R_(){for(;Qe!==null;)sv(Qe)}function N_(e,r){var o=bt;bt|=2;var u=lv(),f=ov();Lt!==e||tt!==r?(ku=null,Nu=xt()+500,Bl(e,r)):Pl=vn(e,r);e:do try{if(_t!==0&&Qe!==null){r=Qe;var p=sr;t:switch(_t){case 1:_t=0,sr=null,Il(e,r,p,1);break;case 2:case 9:if(_3(p)){_t=0,sr=null,uv(r);break}r=function(){_t!==2&&_t!==9||Lt!==e||(_t=7),oa(e)},p.then(r,r);break e;case 3:_t=7;break e;case 4:_t=5;break e;case 7:_3(p)?(_t=0,sr=null,uv(r)):(_t=0,sr=null,Il(e,r,p,7));break;case 5:var b=null;switch(Qe.tag){case 26:b=Qe.memoizedState;case 5:case 27:var x=Qe;if(!b||Fv(b)){_t=0,sr=null;var P=x.sibling;if(P!==null)Qe=P;else{var ee=x.return;ee!==null?(Qe=ee,qu(ee)):Qe=null}break t}}_t=0,sr=null,Il(e,r,p,5);break;case 6:_t=0,sr=null,Il(e,r,p,6);break;case 8:xd(),Kt=6;break e;default:throw Error(t(462))}}k_();break}catch(ie){iv(e,ie)}while(!0);return Ta=Fi=null,T.H=u,T.A=f,bt=o,Qe!==null?0:(Lt=null,tt=0,nu(),Kt)}function k_(){for(;Qe!==null&&!Ue();)sv(Qe)}function sv(e){var r=q6(e.alternate,e,ka);e.memoizedProps=e.pendingProps,r===null?qu(e):Qe=r}function uv(e){var r=e,o=r.alternate;switch(r.tag){case 15:case 0:r=A6(o,r,r.pendingProps,r.type,void 0,tt);break;case 11:r=A6(o,r,r.pendingProps,r.type.render,r.ref,tt);break;case 5:If(r);default:H6(o,r),r=Qe=c3(r,ka),r=q6(o,r,ka)}e.memoizedProps=e.pendingProps,r===null?qu(e):Qe=r}function Il(e,r,o,u){Ta=Fi=null,If(r),Ll=null,Zo=0;var f=r.return;try{if(E_(e,f,r,o,tt)){Kt=1,xu(e,br(o,e.current)),Qe=null;return}}catch(p){if(f!==null)throw Qe=f,p;Kt=1,xu(e,br(o,e.current)),Qe=null;return}r.flags&32768?(ct||u===1?e=!0:Pl||(tt&536870912)!==0?e=!1:(ui=e=!0,(u===2||u===9||u===3||u===6)&&(u=wr.current,u!==null&&u.tag===13&&(u.flags|=16384))),cv(r,e)):qu(r)}function qu(e){var r=e;do{if((r.flags&32768)!==0){cv(r,ui);return}e=r.return;var o=D_(r.alternate,r,ka);if(o!==null){Qe=o;return}if(r=r.sibling,r!==null){Qe=r;return}Qe=r=e}while(r!==null);Kt===0&&(Kt=5)}function cv(e,r){do{var o=T_(e.alternate,e);if(o!==null){o.flags&=32767,Qe=o;return}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!r&&(e=e.sibling,e!==null)){Qe=e;return}Qe=e=o}while(e!==null);Kt=6,Qe=null}function fv(e,r,o,u,f,p,b,x,P){e.cancelPendingCommit=null;do Uu();while(On!==0);if((bt&6)!==0)throw Error(t(327));if(r!==null){if(r===e.current)throw Error(t(177));if(p=r.lanes|r.childLanes,p|=yf,Qn(e,o,p,b,x,P),e===Lt&&(Qe=Lt=null,tt=0),Yl=r,di=e,jl=o,wd=p,Dd=f,tv=u,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,H_(zn,function(){return vv(),null})):(e.callbackNode=null,e.callbackPriority=0),u=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||u){u=T.T,T.T=null,f=N.p,N.p=2,b=bt,bt|=4;try{x_(e,r,o)}finally{bt=b,N.p=f,T.T=u}}On=1,dv(),hv(),pv()}}function dv(){if(On===1){On=0;var e=di,r=Yl,o=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||o){o=T.T,T.T=null;var u=N.p;N.p=2;var f=bt;bt|=4;try{W6(r,e);var p=Yd,b=e3(e.containerInfo),x=p.focusedElem,P=p.selectionRange;if(b!==x&&x&&x.ownerDocument&&Jm(x.ownerDocument.documentElement,x)){if(P!==null&&hf(x)){var ee=P.start,ie=P.end;if(ie===void 0&&(ie=ee),"selectionStart"in x)x.selectionStart=ee,x.selectionEnd=Math.min(ie,x.value.length);else{var se=x.ownerDocument||document,te=se&&se.defaultView||window;if(te.getSelection){var ne=te.getSelection(),Le=x.textContent.length,Ce=Math.min(P.start,Le),Tt=P.end===void 0?Ce:Math.min(P.end,Le);!ne.extend&&Ce>Tt&&(b=Tt,Tt=Ce,Ce=b);var Q=$m(x,Ce),I=$m(x,Tt);if(Q&&I&&(ne.rangeCount!==1||ne.anchorNode!==Q.node||ne.anchorOffset!==Q.offset||ne.focusNode!==I.node||ne.focusOffset!==I.offset)){var J=se.createRange();J.setStart(Q.node,Q.offset),ne.removeAllRanges(),Ce>Tt?(ne.addRange(J),ne.extend(I.node,I.offset)):(J.setEnd(I.node,I.offset),ne.addRange(J))}}}}for(se=[],ne=x;ne=ne.parentNode;)ne.nodeType===1&&se.push({element:ne,left:ne.scrollLeft,top:ne.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<se.length;x++){var le=se[x];le.element.scrollLeft=le.left,le.element.scrollTop=le.top}}Wu=!!zd,Yd=zd=null}finally{bt=f,N.p=u,T.T=o}}e.current=r,On=2}}function hv(){if(On===2){On=0;var e=di,r=Yl,o=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||o){o=T.T,T.T=null;var u=N.p;N.p=2;var f=bt;bt|=4;try{F6(e,r.alternate,r)}finally{bt=f,N.p=u,T.T=o}}On=3}}function pv(){if(On===4||On===3){On=0,Rn();var e=di,r=Yl,o=jl,u=tv;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?On=5:(On=0,Yl=di=null,mv(e,e.pendingLanes));var f=e.pendingLanes;if(f===0&&(fi=null),Ye(o),r=r.stateNode,ot&&typeof ot.onCommitFiberRoot=="function")try{ot.onCommitFiberRoot(Ze,r,void 0,(r.current.flags&128)===128)}catch{}if(u!==null){r=T.T,f=N.p,N.p=2,T.T=null;try{for(var p=e.onRecoverableError,b=0;b<u.length;b++){var x=u[b];p(x.value,{componentStack:x.stack})}}finally{T.T=r,N.p=f}}(jl&3)!==0&&Uu(),oa(e),f=e.pendingLanes,(o&4194090)!==0&&(f&42)!==0?e===Td?ts++:(ts=0,Td=e):ts=0,ns(0)}}function mv(e,r){(e.pooledCacheLanes&=r)===0&&(r=e.pooledCache,r!=null&&(e.pooledCache=null,qo(r)))}function Uu(e){return dv(),hv(),pv(),vv()}function vv(){if(On!==5)return!1;var e=di,r=wd;wd=0;var o=Ye(jl),u=T.T,f=N.p;try{N.p=32>o?32:o,T.T=null,o=Dd,Dd=null;var p=di,b=jl;if(On=0,Yl=di=null,jl=0,(bt&6)!==0)throw Error(t(331));var x=bt;if(bt|=4,J6(p.current),K6(p,p.current,b,o),bt=x,ns(0,!1),ot&&typeof ot.onPostCommitFiberRoot=="function")try{ot.onPostCommitFiberRoot(Ze,p)}catch{}return!0}finally{N.p=f,T.T=u,mv(e,r)}}function gv(e,r,o){r=br(o,r),r=rd(e.stateNode,r,2),e=ni(e,r,2),e!==null&&(rt(e,2),oa(e))}function Ct(e,r,o){if(e.tag===3)gv(e,e,o);else for(;r!==null;){if(r.tag===3){gv(r,e,o);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(fi===null||!fi.has(u))){e=br(o,e),o=S6(2),u=ni(r,o,2),u!==null&&(E6(o,u,r,e),rt(u,2),oa(u));break}}r=r.return}}function Ad(e,r,o){var u=e.pingCache;if(u===null){u=e.pingCache=new A_;var f=new Set;u.set(r,f)}else f=u.get(r),f===void 0&&(f=new Set,u.set(r,f));f.has(o)||(bd=!0,f.add(o),e=L_.bind(null,e,r,o),r.then(e,e))}function L_(e,r,o){var u=e.pingCache;u!==null&&u.delete(r),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,Lt===e&&(tt&o)===o&&(Kt===4||Kt===3&&(tt&62914560)===tt&&300>xt()-Ed?(bt&2)===0&&Bl(e,0):_d|=o,zl===tt&&(zl=0)),oa(e)}function yv(e,r){r===0&&(r=qn()),e=Dl(e,r),e!==null&&(rt(e,r),oa(e))}function q_(e){var r=e.memoizedState,o=0;r!==null&&(o=r.retryLane),yv(e,o)}function U_(e,r){var o=0;switch(e.tag){case 13:var u=e.stateNode,f=e.memoizedState;f!==null&&(o=f.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error(t(314))}u!==null&&u.delete(r),yv(e,o)}function H_(e,r){return lt(e,r)}var Hu=null,Fl=null,Cd=!1,Pu=!1,Rd=!1,Xi=0;function oa(e){e!==Fl&&e.next===null&&(Fl===null?Hu=Fl=e:Fl=Fl.next=e),Pu=!0,Cd||(Cd=!0,z_())}function ns(e,r){if(!Rd&&Pu){Rd=!0;do for(var o=!1,u=Hu;u!==null;){if(e!==0){var f=u.pendingLanes;if(f===0)var p=0;else{var b=u.suspendedLanes,x=u.pingedLanes;p=(1<<31-Mt(42|e)+1)-1,p&=f&~(b&~x),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(o=!0,Ev(u,p))}else p=tt,p=ln(u,u===Lt?p:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(p&3)===0||vn(u,p)||(o=!0,Ev(u,p));u=u.next}while(o);Rd=!1}}function P_(){bv()}function bv(){Pu=Cd=!1;var e=0;Xi!==0&&(V_()&&(e=Xi),Xi=0);for(var r=xt(),o=null,u=Hu;u!==null;){var f=u.next,p=_v(u,r);p===0?(u.next=null,o===null?Hu=f:o.next=f,f===null&&(Fl=o)):(o=u,(e!==0||(p&3)!==0)&&(Pu=!0)),u=f}ns(e)}function _v(e,r){for(var o=e.suspendedLanes,u=e.pingedLanes,f=e.expirationTimes,p=e.pendingLanes&-62914561;0<p;){var b=31-Mt(p),x=1<<b,P=f[b];P===-1?((x&o)===0||(x&u)!==0)&&(f[b]=qr(x,r)):P<=r&&(e.expiredLanes|=x),p&=~x}if(r=Lt,o=tt,o=ln(e,e===r?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u=e.callbackNode,o===0||e===r&&(_t===2||_t===9)||e.cancelPendingCommit!==null)return u!==null&&u!==null&&nt(u),e.callbackNode=null,e.callbackPriority=0;if((o&3)===0||vn(e,o)){if(r=o&-o,r===e.callbackPriority)return r;switch(u!==null&&nt(u),Ye(o)){case 2:case 8:o=Wn;break;case 32:o=zn;break;case 268435456:o=ge;break;default:o=zn}return u=Sv.bind(null,e),o=lt(o,u),e.callbackPriority=r,e.callbackNode=o,r}return u!==null&&u!==null&&nt(u),e.callbackPriority=2,e.callbackNode=null,2}function Sv(e,r){if(On!==0&&On!==5)return e.callbackNode=null,e.callbackPriority=0,null;var o=e.callbackNode;if(Uu()&&e.callbackNode!==o)return null;var u=tt;return u=ln(e,e===Lt?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u===0?null:(rv(e,u,r),_v(e,xt()),e.callbackNode!=null&&e.callbackNode===o?Sv.bind(null,e):null)}function Ev(e,r){if(Uu())return null;rv(e,r,!0)}function z_(){Q_(function(){(bt&6)!==0?lt(Je,P_):bv()})}function Nd(){return Xi===0&&(Xi=Ln()),Xi}function wv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Pr(""+e)}function Dv(e,r){var o=r.ownerDocument.createElement("input");return o.name=r.name,o.value=r.value,e.id&&o.setAttribute("form",e.id),r.parentNode.insertBefore(o,r),e=new FormData(e),o.parentNode.removeChild(o),e}function Y_(e,r,o,u,f){if(r==="submit"&&o&&o.stateNode===f){var p=wv((f[we]||null).action),b=u.submitter;b&&(r=(r=b[we]||null)?wv(r.formAction):b.getAttribute("formAction"),r!==null&&(p=r,b=null));var x=new de("action","action",null,u,f);e.push({event:x,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(Xi!==0){var P=b?Dv(f,b):new FormData(f);$f(o,{pending:!0,data:P,method:f.method,action:p},null,P)}}else typeof p=="function"&&(x.preventDefault(),P=b?Dv(f,b):new FormData(f),$f(o,{pending:!0,data:P,method:f.method,action:p},p,P))},currentTarget:f}]})}}for(var kd=0;kd<gf.length;kd++){var Ld=gf[kd],j_=Ld.toLowerCase(),B_=Ld[0].toUpperCase()+Ld.slice(1);Yr(j_,"on"+B_)}Yr(r3,"onAnimationEnd"),Yr(a3,"onAnimationIteration"),Yr(i3,"onAnimationStart"),Yr("dblclick","onDoubleClick"),Yr("focusin","onFocus"),Yr("focusout","onBlur"),Yr(i_,"onTransitionRun"),Yr(l_,"onTransitionStart"),Yr(o_,"onTransitionCancel"),Yr(l3,"onTransitionEnd"),ce("onMouseEnter",["mouseout","mouseover"]),ce("onMouseLeave",["mouseout","mouseover"]),ce("onPointerEnter",["pointerout","pointerover"]),ce("onPointerLeave",["pointerout","pointerover"]),ue("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ue("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ue("onBeforeInput",["compositionend","keypress","textInput","paste"]),ue("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ue("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ue("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var rs="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(" "),I_=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(rs));function Tv(e,r){r=(r&4)!==0;for(var o=0;o<e.length;o++){var u=e[o],f=u.event;u=u.listeners;e:{var p=void 0;if(r)for(var b=u.length-1;0<=b;b--){var x=u[b],P=x.instance,ee=x.currentTarget;if(x=x.listener,P!==p&&f.isPropagationStopped())break e;p=x,f.currentTarget=ee;try{p(f)}catch(ie){Tu(ie)}f.currentTarget=null,p=P}else for(b=0;b<u.length;b++){if(x=u[b],P=x.instance,ee=x.currentTarget,x=x.listener,P!==p&&f.isPropagationStopped())break e;p=x,f.currentTarget=ee;try{p(f)}catch(ie){Tu(ie)}f.currentTarget=null,p=P}}}}function Ke(e,r){var o=r[At];o===void 0&&(o=r[At]=new Set);var u=e+"__bubble";o.has(u)||(xv(r,e,2,!1),o.add(u))}function qd(e,r,o){var u=0;r&&(u|=4),xv(o,e,u,r)}var zu="_reactListening"+Math.random().toString(36).slice(2);function Ud(e){if(!e[zu]){e[zu]=!0,Ee.forEach(function(o){o!=="selectionchange"&&(I_.has(o)||qd(o,!1,e),qd(o,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[zu]||(r[zu]=!0,qd("selectionchange",!1,r))}}function xv(e,r,o,u){switch(Kv(r)){case 2:var f=vS;break;case 8:f=gS;break;default:f=Kd}o=f.bind(null,r,o,e),f=void 0,!bl||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(f=!0),u?f!==void 0?e.addEventListener(r,o,{capture:!0,passive:f}):e.addEventListener(r,o,!0):f!==void 0?e.addEventListener(r,o,{passive:f}):e.addEventListener(r,o,!1)}function Hd(e,r,o,u,f){var p=u;if((r&1)===0&&(r&2)===0&&u!==null)e:for(;;){if(u===null)return;var b=u.tag;if(b===3||b===4){var x=u.stateNode.containerInfo;if(x===f)break;if(b===4)for(b=u.return;b!==null;){var P=b.tag;if((P===3||P===4)&&b.stateNode.containerInfo===f)return;b=b.return}for(;x!==null;){if(b=dn(x),b===null)return;if(P=b.tag,P===5||P===6||P===26||P===27){u=p=b;continue e}x=x.parentNode}}u=u.return}nr(function(){var ee=p,ie=yl(o),se=[];e:{var te=o3.get(e);if(te!==void 0){var ne=de,Le=e;switch(e){case"keypress":if(qi(o)===0)break e;case"keydown":case"keyup":ne=Hb;break;case"focusin":Le="focus",ne=sf;break;case"focusout":Le="blur",ne=sf;break;case"beforeblur":case"afterblur":ne=sf;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ne=$a;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ne=Js;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ne=Yb;break;case r3:case a3:case i3:ne=Ob;break;case l3:ne=Bb;break;case"scroll":case"scrollend":ne=kt;break;case"wheel":ne=Fb;break;case"copy":case"cut":case"paste":ne=Cb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ne=Pm;break;case"toggle":case"beforetoggle":ne=Zb}var Ce=(r&4)!==0,Tt=!Ce&&(e==="scroll"||e==="scrollend"),Q=Ce?te!==null?te+"Capture":null:te;Ce=[];for(var I=ee,J;I!==null;){var le=I;if(J=le.stateNode,le=le.tag,le!==5&&le!==26&&le!==27||J===null||Q===null||(le=na(I,Q),le!=null&&Ce.push(as(I,le,J))),Tt)break;I=I.return}0<Ce.length&&(te=new ne(te,Le,null,o,ie),se.push({event:te,listeners:Ce}))}}if((r&7)===0){e:{if(te=e==="mouseover"||e==="pointerover",ne=e==="mouseout"||e==="pointerout",te&&o!==Eo&&(Le=o.relatedTarget||o.fromElement)&&(dn(Le)||Le[Be]))break e;if((ne||te)&&(te=ie.window===ie?ie:(te=ie.ownerDocument)?te.defaultView||te.parentWindow:window,ne?(Le=o.relatedTarget||o.toElement,ne=ee,Le=Le?dn(Le):null,Le!==null&&(Tt=s(Le),Ce=Le.tag,Le!==Tt||Ce!==5&&Ce!==27&&Ce!==6)&&(Le=null)):(ne=null,Le=ee),ne!==Le)){if(Ce=$a,le="onMouseLeave",Q="onMouseEnter",I="mouse",(e==="pointerout"||e==="pointerover")&&(Ce=Pm,le="onPointerLeave",Q="onPointerEnter",I="pointer"),Tt=ne==null?te:tr(ne),J=Le==null?te:tr(Le),te=new Ce(le,I+"leave",ne,o,ie),te.target=Tt,te.relatedTarget=J,le=null,dn(ie)===ee&&(Ce=new Ce(Q,I+"enter",Le,o,ie),Ce.target=J,Ce.relatedTarget=Tt,le=Ce),Tt=le,ne&&Le)t:{for(Ce=ne,Q=Le,I=0,J=Ce;J;J=Gl(J))I++;for(J=0,le=Q;le;le=Gl(le))J++;for(;0<I-J;)Ce=Gl(Ce),I--;for(;0<J-I;)Q=Gl(Q),J--;for(;I--;){if(Ce===Q||Q!==null&&Ce===Q.alternate)break t;Ce=Gl(Ce),Q=Gl(Q)}Ce=null}else Ce=null;ne!==null&&Mv(se,te,ne,Ce,!1),Le!==null&&Tt!==null&&Mv(se,Tt,Le,Ce,!0)}}e:{if(te=ee?tr(ee):window,ne=te.nodeName&&te.nodeName.toLowerCase(),ne==="select"||ne==="input"&&te.type==="file")var De=Zm;else if(Fm(te))if(Vm)De=n_;else{De=e_;var Ve=Jb}else ne=te.nodeName,!ne||ne.toLowerCase()!=="input"||te.type!=="checkbox"&&te.type!=="radio"?ee&&So(ee.elementType)&&(De=Zm):De=t_;if(De&&(De=De(e,ee))){Gm(se,De,o,ie);break e}Ve&&Ve(e,te,ee),e==="focusout"&&ee&&te.type==="number"&&ee.memoizedProps.value!=null&&Jr(te,"number",te.value)}switch(Ve=ee?tr(ee):window,e){case"focusin":(Fm(Ve)||Ve.contentEditable==="true")&&(Sl=Ve,pf=ee,Co=null);break;case"focusout":Co=pf=Sl=null;break;case"mousedown":mf=!0;break;case"contextmenu":case"mouseup":case"dragend":mf=!1,t3(se,o,ie);break;case"selectionchange":if(a_)break;case"keydown":case"keyup":t3(se,o,ie)}var Oe;if(cf)e:{switch(e){case"compositionstart":var Ne="onCompositionStart";break e;case"compositionend":Ne="onCompositionEnd";break e;case"compositionupdate":Ne="onCompositionUpdate";break e}Ne=void 0}else _l?Bm(e,o)&&(Ne="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(Ne="onCompositionStart");Ne&&(zm&&o.locale!=="ko"&&(_l||Ne!=="onCompositionStart"?Ne==="onCompositionEnd"&&_l&&(Oe=To()):(zr=ie,rr="value"in zr?zr.value:zr.textContent,_l=!0)),Ve=Yu(ee,Ne),0<Ve.length&&(Ne=new Hm(Ne,e,null,o,ie),se.push({event:Ne,listeners:Ve}),Oe?Ne.data=Oe:(Oe=Im(o),Oe!==null&&(Ne.data=Oe)))),(Oe=Wb?Qb(e,o):Kb(e,o))&&(Ne=Yu(ee,"onBeforeInput"),0<Ne.length&&(Ve=new Hm("onBeforeInput","beforeinput",null,o,ie),se.push({event:Ve,listeners:Ne}),Ve.data=Oe)),Y_(se,e,ee,o,ie)}Tv(se,r)})}function as(e,r,o){return{instance:e,listener:r,currentTarget:o}}function Yu(e,r){for(var o=r+"Capture",u=[];e!==null;){var f=e,p=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||p===null||(f=na(e,o),f!=null&&u.unshift(as(e,f,p)),f=na(e,r),f!=null&&u.push(as(e,f,p))),e.tag===3)return u;e=e.return}return[]}function Gl(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Mv(e,r,o,u,f){for(var p=r._reactName,b=[];o!==null&&o!==u;){var x=o,P=x.alternate,ee=x.stateNode;if(x=x.tag,P!==null&&P===u)break;x!==5&&x!==26&&x!==27||ee===null||(P=ee,f?(ee=na(o,p),ee!=null&&b.unshift(as(o,ee,P))):f||(ee=na(o,p),ee!=null&&b.push(as(o,ee,P)))),o=o.return}b.length!==0&&e.push({event:r,listeners:b})}var F_=/\r\n?/g,G_=/\u0000|\uFFFD/g;function Ov(e){return(typeof e=="string"?e:""+e).replace(F_,`
`).replace(G_,"")}function Av(e,r){return r=Ov(r),Ov(e)===r}function ju(){}function Dt(e,r,o,u,f,p){switch(o){case"children":typeof u=="string"?r==="body"||r==="textarea"&&u===""||Hr(e,u):(typeof u=="number"||typeof u=="bigint")&&r!=="body"&&Hr(e,""+u);break;case"className":Kn(e,"class",u);break;case"tabIndex":Kn(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":Kn(e,o,u);break;case"style":Xa(e,u,p);break;case"data":if(r!=="object"){Kn(e,"data",u);break}case"src":case"href":if(u===""&&(r!=="a"||o!=="href")){e.removeAttribute(o);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(o);break}u=Pr(""+u),e.setAttribute(o,u);break;case"action":case"formAction":if(typeof u=="function"){e.setAttribute(o,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof p=="function"&&(o==="formAction"?(r!=="input"&&Dt(e,r,"name",f.name,f,null),Dt(e,r,"formEncType",f.formEncType,f,null),Dt(e,r,"formMethod",f.formMethod,f,null),Dt(e,r,"formTarget",f.formTarget,f,null)):(Dt(e,r,"encType",f.encType,f,null),Dt(e,r,"method",f.method,f,null),Dt(e,r,"target",f.target,f,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(o);break}u=Pr(""+u),e.setAttribute(o,u);break;case"onClick":u!=null&&(e.onclick=ju);break;case"onScroll":u!=null&&Ke("scroll",e);break;case"onScrollEnd":u!=null&&Ke("scrollend",e);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(t(61));if(o=u.__html,o!=null){if(f.children!=null)throw Error(t(60));e.innerHTML=o}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}o=Pr(""+u),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(o,""+u):e.removeAttribute(o);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(o,""):e.removeAttribute(o);break;case"capture":case"download":u===!0?e.setAttribute(o,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(o,u):e.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?e.setAttribute(o,u):e.removeAttribute(o);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(o):e.setAttribute(o,u);break;case"popover":Ke("beforetoggle",e),Ke("toggle",e),Gt(e,"popover",u);break;case"xlinkActuate":st(e,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":st(e,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":st(e,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":st(e,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":st(e,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":st(e,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":st(e,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":st(e,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":st(e,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":Gt(e,"is",u);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=of.get(o)||o,Gt(e,o,u))}}function Pd(e,r,o,u,f,p){switch(o){case"style":Xa(e,u,p);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(t(61));if(o=u.__html,o!=null){if(f.children!=null)throw Error(t(60));e.innerHTML=o}}break;case"children":typeof u=="string"?Hr(e,u):(typeof u=="number"||typeof u=="bigint")&&Hr(e,""+u);break;case"onScroll":u!=null&&Ke("scroll",e);break;case"onScrollEnd":u!=null&&Ke("scrollend",e);break;case"onClick":u!=null&&(e.onclick=ju);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!F.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(f=o.endsWith("Capture"),r=o.slice(2,f?o.length-7:void 0),p=e[we]||null,p=p!=null?p[o]:null,typeof p=="function"&&e.removeEventListener(r,p,f),typeof u=="function")){typeof p!="function"&&p!==null&&(o in e?e[o]=null:e.hasAttribute(o)&&e.removeAttribute(o)),e.addEventListener(r,u,f);break e}o in e?e[o]=u:u===!0?e.setAttribute(o,""):Gt(e,o,u)}}}function An(e,r,o){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ke("error",e),Ke("load",e);var u=!1,f=!1,p;for(p in o)if(o.hasOwnProperty(p)){var b=o[p];if(b!=null)switch(p){case"src":u=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t(137,r));default:Dt(e,r,p,b,o,null)}}f&&Dt(e,r,"srcSet",o.srcSet,o,null),u&&Dt(e,r,"src",o.src,o,null);return;case"input":Ke("invalid",e);var x=p=b=f=null,P=null,ee=null;for(u in o)if(o.hasOwnProperty(u)){var ie=o[u];if(ie!=null)switch(u){case"name":f=ie;break;case"type":b=ie;break;case"checked":P=ie;break;case"defaultChecked":ee=ie;break;case"value":p=ie;break;case"defaultValue":x=ie;break;case"children":case"dangerouslySetInnerHTML":if(ie!=null)throw Error(t(137,r));break;default:Dt(e,r,u,ie,o,null)}}gr(e,p,x,P,ee,b,f,!1),ki(e);return;case"select":Ke("invalid",e),u=b=p=null;for(f in o)if(o.hasOwnProperty(f)&&(x=o[f],x!=null))switch(f){case"value":p=x;break;case"defaultValue":b=x;break;case"multiple":u=x;default:Dt(e,r,f,x,o,null)}r=p,o=b,e.multiple=!!u,r!=null?ea(e,!!u,r,!1):o!=null&&ea(e,!!u,o,!0);return;case"textarea":Ke("invalid",e),p=f=u=null;for(b in o)if(o.hasOwnProperty(b)&&(x=o[b],x!=null))switch(b){case"value":u=x;break;case"defaultValue":f=x;break;case"children":p=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(t(91));break;default:Dt(e,r,b,x,o,null)}Ks(e,u,f,p),ki(e);return;case"option":for(P in o)if(o.hasOwnProperty(P)&&(u=o[P],u!=null))switch(P){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:Dt(e,r,P,u,o,null)}return;case"dialog":Ke("beforetoggle",e),Ke("toggle",e),Ke("cancel",e),Ke("close",e);break;case"iframe":case"object":Ke("load",e);break;case"video":case"audio":for(u=0;u<rs.length;u++)Ke(rs[u],e);break;case"image":Ke("error",e),Ke("load",e);break;case"details":Ke("toggle",e);break;case"embed":case"source":case"link":Ke("error",e),Ke("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(ee in o)if(o.hasOwnProperty(ee)&&(u=o[ee],u!=null))switch(ee){case"children":case"dangerouslySetInnerHTML":throw Error(t(137,r));default:Dt(e,r,ee,u,o,null)}return;default:if(So(r)){for(ie in o)o.hasOwnProperty(ie)&&(u=o[ie],u!==void 0&&Pd(e,r,ie,u,o,void 0));return}}for(x in o)o.hasOwnProperty(x)&&(u=o[x],u!=null&&Dt(e,r,x,u,o,null))}function Z_(e,r,o,u){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,p=null,b=null,x=null,P=null,ee=null,ie=null;for(ne in o){var se=o[ne];if(o.hasOwnProperty(ne)&&se!=null)switch(ne){case"checked":break;case"value":break;case"defaultValue":P=se;default:u.hasOwnProperty(ne)||Dt(e,r,ne,null,u,se)}}for(var te in u){var ne=u[te];if(se=o[te],u.hasOwnProperty(te)&&(ne!=null||se!=null))switch(te){case"type":p=ne;break;case"name":f=ne;break;case"checked":ee=ne;break;case"defaultChecked":ie=ne;break;case"value":b=ne;break;case"defaultValue":x=ne;break;case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(t(137,r));break;default:ne!==se&&Dt(e,r,te,ne,u,se)}}Ka(e,b,x,P,ee,ie,p,f);return;case"select":ne=b=x=te=null;for(p in o)if(P=o[p],o.hasOwnProperty(p)&&P!=null)switch(p){case"value":break;case"multiple":ne=P;default:u.hasOwnProperty(p)||Dt(e,r,p,null,u,P)}for(f in u)if(p=u[f],P=o[f],u.hasOwnProperty(f)&&(p!=null||P!=null))switch(f){case"value":te=p;break;case"defaultValue":x=p;break;case"multiple":b=p;default:p!==P&&Dt(e,r,f,p,u,P)}r=x,o=b,u=ne,te!=null?ea(e,!!o,te,!1):!!u!=!!o&&(r!=null?ea(e,!!o,r,!0):ea(e,!!o,o?[]:"",!1));return;case"textarea":ne=te=null;for(x in o)if(f=o[x],o.hasOwnProperty(x)&&f!=null&&!u.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Dt(e,r,x,null,u,f)}for(b in u)if(f=u[b],p=o[b],u.hasOwnProperty(b)&&(f!=null||p!=null))switch(b){case"value":te=f;break;case"defaultValue":ne=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(t(91));break;default:f!==p&&Dt(e,r,b,f,u,p)}vl(e,te,ne);return;case"option":for(var Le in o)if(te=o[Le],o.hasOwnProperty(Le)&&te!=null&&!u.hasOwnProperty(Le))switch(Le){case"selected":e.selected=!1;break;default:Dt(e,r,Le,null,u,te)}for(P in u)if(te=u[P],ne=o[P],u.hasOwnProperty(P)&&te!==ne&&(te!=null||ne!=null))switch(P){case"selected":e.selected=te&&typeof te!="function"&&typeof te!="symbol";break;default:Dt(e,r,P,te,u,ne)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ce in o)te=o[Ce],o.hasOwnProperty(Ce)&&te!=null&&!u.hasOwnProperty(Ce)&&Dt(e,r,Ce,null,u,te);for(ee in u)if(te=u[ee],ne=o[ee],u.hasOwnProperty(ee)&&te!==ne&&(te!=null||ne!=null))switch(ee){case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(t(137,r));break;default:Dt(e,r,ee,te,u,ne)}return;default:if(So(r)){for(var Tt in o)te=o[Tt],o.hasOwnProperty(Tt)&&te!==void 0&&!u.hasOwnProperty(Tt)&&Pd(e,r,Tt,void 0,u,te);for(ie in u)te=u[ie],ne=o[ie],!u.hasOwnProperty(ie)||te===ne||te===void 0&&ne===void 0||Pd(e,r,ie,te,u,ne);return}}for(var Q in o)te=o[Q],o.hasOwnProperty(Q)&&te!=null&&!u.hasOwnProperty(Q)&&Dt(e,r,Q,null,u,te);for(se in u)te=u[se],ne=o[se],!u.hasOwnProperty(se)||te===ne||te==null&&ne==null||Dt(e,r,se,te,u,ne)}var zd=null,Yd=null;function Bu(e){return e.nodeType===9?e:e.ownerDocument}function Cv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Rv(e,r){if(e===0)switch(r){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&r==="foreignObject"?0:e}function jd(e,r){return e==="textarea"||e==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.children=="bigint"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Bd=null;function V_(){var e=window.event;return e&&e.type==="popstate"?e===Bd?!1:(Bd=e,!0):(Bd=null,!1)}var Nv=typeof setTimeout=="function"?setTimeout:void 0,W_=typeof clearTimeout=="function"?clearTimeout:void 0,kv=typeof Promise=="function"?Promise:void 0,Q_=typeof queueMicrotask=="function"?queueMicrotask:typeof kv<"u"?function(e){return kv.resolve(null).then(e).catch(K_)}:Nv;function K_(e){setTimeout(function(){throw e})}function pi(e){return e==="head"}function Lv(e,r){var o=r,u=0,f=0;do{var p=o.nextSibling;if(e.removeChild(o),p&&p.nodeType===8)if(o=p.data,o==="/$"){if(0<u&&8>u){o=u;var b=e.ownerDocument;if(o&1&&is(b.documentElement),o&2&&is(b.body),o&4)for(o=b.head,is(o),b=o.firstChild;b;){var x=b.nextSibling,P=b.nodeName;b[Yt]||P==="SCRIPT"||P==="STYLE"||P==="LINK"&&b.rel.toLowerCase()==="stylesheet"||o.removeChild(b),b=x}}if(f===0){e.removeChild(p),hs(r);return}f--}else o==="$"||o==="$?"||o==="$!"?f++:u=o.charCodeAt(0)-48;else u=0;o=p}while(o);hs(r)}function Id(e){var r=e.firstChild;for(r&&r.nodeType===10&&(r=r.nextSibling);r;){var o=r;switch(r=r.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":Id(o),Me(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}e.removeChild(o)}}function X_(e,r,o,u){for(;e.nodeType===1;){var f=o;if(e.nodeName.toLowerCase()!==r.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[Yt])switch(r){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(p=e.getAttribute("rel"),p==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(p!==f.rel||e.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||e.getAttribute("title")!==(f.title==null?null:f.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(p=e.getAttribute("src"),(p!==(f.src==null?null:f.src)||e.getAttribute("type")!==(f.type==null?null:f.type)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&p&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(r==="input"&&e.type==="hidden"){var p=f.name==null?null:""+f.name;if(f.type==="hidden"&&e.getAttribute("name")===p)return e}else return e;if(e=Br(e.nextSibling),e===null)break}return null}function $_(e,r,o){if(r==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!o||(e=Br(e.nextSibling),e===null))return null;return e}function Fd(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function J_(e,r){var o=e.ownerDocument;if(e.data!=="$?"||o.readyState==="complete")r();else{var u=function(){r(),o.removeEventListener("DOMContentLoaded",u)};o.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function Br(e){for(;e!=null;e=e.nextSibling){var r=e.nodeType;if(r===1||r===3)break;if(r===8){if(r=e.data,r==="$"||r==="$!"||r==="$?"||r==="F!"||r==="F")break;if(r==="/$")return null}}return e}var Gd=null;function qv(e){e=e.previousSibling;for(var r=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(r===0)return e;r--}else o==="/$"&&r++}e=e.previousSibling}return null}function Uv(e,r,o){switch(r=Bu(o),e){case"html":if(e=r.documentElement,!e)throw Error(t(452));return e;case"head":if(e=r.head,!e)throw Error(t(453));return e;case"body":if(e=r.body,!e)throw Error(t(454));return e;default:throw Error(t(451))}}function is(e){for(var r=e.attributes;r.length;)e.removeAttributeNode(r[0]);Me(e)}var Tr=new Map,Hv=new Set;function Iu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var La=N.d;N.d={f:eS,r:tS,D:nS,C:rS,L:aS,m:iS,X:oS,S:lS,M:sS};function eS(){var e=La.f(),r=Lu();return e||r}function tS(e){var r=gt(e);r!==null&&r.tag===5&&r.type==="form"?r6(r):La.r(e)}var Zl=typeof document>"u"?null:document;function Pv(e,r,o){var u=Zl;if(u&&typeof r=="string"&&r){var f=Tn(r);f='link[rel="'+e+'"][href="'+f+'"]',typeof o=="string"&&(f+='[crossorigin="'+o+'"]'),Hv.has(f)||(Hv.add(f),e={rel:e,crossOrigin:o,href:r},u.querySelector(f)===null&&(r=u.createElement("link"),An(r,"link",e),yt(r),u.head.appendChild(r)))}}function nS(e){La.D(e),Pv("dns-prefetch",e,null)}function rS(e,r){La.C(e,r),Pv("preconnect",e,r)}function aS(e,r,o){La.L(e,r,o);var u=Zl;if(u&&e&&r){var f='link[rel="preload"][as="'+Tn(r)+'"]';r==="image"&&o&&o.imageSrcSet?(f+='[imagesrcset="'+Tn(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(f+='[imagesizes="'+Tn(o.imageSizes)+'"]')):f+='[href="'+Tn(e)+'"]';var p=f;switch(r){case"style":p=Vl(e);break;case"script":p=Wl(e)}Tr.has(p)||(e=v({rel:"preload",href:r==="image"&&o&&o.imageSrcSet?void 0:e,as:r},o),Tr.set(p,e),u.querySelector(f)!==null||r==="style"&&u.querySelector(ls(p))||r==="script"&&u.querySelector(os(p))||(r=u.createElement("link"),An(r,"link",e),yt(r),u.head.appendChild(r)))}}function iS(e,r){La.m(e,r);var o=Zl;if(o&&e){var u=r&&typeof r.as=="string"?r.as:"script",f='link[rel="modulepreload"][as="'+Tn(u)+'"][href="'+Tn(e)+'"]',p=f;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=Wl(e)}if(!Tr.has(p)&&(e=v({rel:"modulepreload",href:e},r),Tr.set(p,e),o.querySelector(f)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(os(p)))return}u=o.createElement("link"),An(u,"link",e),yt(u),o.head.appendChild(u)}}}function lS(e,r,o){La.S(e,r,o);var u=Zl;if(u&&e){var f=et(u).hoistableStyles,p=Vl(e);r=r||"default";var b=f.get(p);if(!b){var x={loading:0,preload:null};if(b=u.querySelector(ls(p)))x.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":r},o),(o=Tr.get(p))&&Zd(e,o);var P=b=u.createElement("link");yt(P),An(P,"link",e),P._p=new Promise(function(ee,ie){P.onload=ee,P.onerror=ie}),P.addEventListener("load",function(){x.loading|=1}),P.addEventListener("error",function(){x.loading|=2}),x.loading|=4,Fu(b,r,u)}b={type:"stylesheet",instance:b,count:1,state:x},f.set(p,b)}}}function oS(e,r){La.X(e,r);var o=Zl;if(o&&e){var u=et(o).hoistableScripts,f=Wl(e),p=u.get(f);p||(p=o.querySelector(os(f)),p||(e=v({src:e,async:!0},r),(r=Tr.get(f))&&Vd(e,r),p=o.createElement("script"),yt(p),An(p,"link",e),o.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},u.set(f,p))}}function sS(e,r){La.M(e,r);var o=Zl;if(o&&e){var u=et(o).hoistableScripts,f=Wl(e),p=u.get(f);p||(p=o.querySelector(os(f)),p||(e=v({src:e,async:!0,type:"module"},r),(r=Tr.get(f))&&Vd(e,r),p=o.createElement("script"),yt(p),An(p,"link",e),o.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},u.set(f,p))}}function zv(e,r,o,u){var f=(f=me.current)?Iu(f):null;if(!f)throw Error(t(446));switch(e){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(r=Vl(o.href),o=et(f).hoistableStyles,u=o.get(r),u||(u={type:"style",instance:null,count:0,state:null},o.set(r,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){e=Vl(o.href);var p=et(f).hoistableStyles,b=p.get(e);if(b||(f=f.ownerDocument||f,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(e,b),(p=f.querySelector(ls(e)))&&!p._p&&(b.instance=p,b.state.loading=5),Tr.has(e)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Tr.set(e,o),p||uS(f,e,o,b.state))),r&&u===null)throw Error(t(528,""));return b}if(r&&u!==null)throw Error(t(529,""));return null;case"script":return r=o.async,o=o.src,typeof o=="string"&&r&&typeof r!="function"&&typeof r!="symbol"?(r=Wl(o),o=et(f).hoistableScripts,u=o.get(r),u||(u={type:"script",instance:null,count:0,state:null},o.set(r,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(t(444,e))}}function Vl(e){return'href="'+Tn(e)+'"'}function ls(e){return'link[rel="stylesheet"]['+e+"]"}function Yv(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function uS(e,r,o,u){e.querySelector('link[rel="preload"][as="style"]['+r+"]")?u.loading=1:(r=e.createElement("link"),u.preload=r,r.addEventListener("load",function(){return u.loading|=1}),r.addEventListener("error",function(){return u.loading|=2}),An(r,"link",o),yt(r),e.head.appendChild(r))}function Wl(e){return'[src="'+Tn(e)+'"]'}function os(e){return"script[async]"+e}function jv(e,r,o){if(r.count++,r.instance===null)switch(r.type){case"style":var u=e.querySelector('style[data-href~="'+Tn(o.href)+'"]');if(u)return r.instance=u,yt(u),u;var f=v({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),yt(u),An(u,"style",f),Fu(u,o.precedence,e),r.instance=u;case"stylesheet":f=Vl(o.href);var p=e.querySelector(ls(f));if(p)return r.state.loading|=4,r.instance=p,yt(p),p;u=Yv(o),(f=Tr.get(f))&&Zd(u,f),p=(e.ownerDocument||e).createElement("link"),yt(p);var b=p;return b._p=new Promise(function(x,P){b.onload=x,b.onerror=P}),An(p,"link",u),r.state.loading|=4,Fu(p,o.precedence,e),r.instance=p;case"script":return p=Wl(o.src),(f=e.querySelector(os(p)))?(r.instance=f,yt(f),f):(u=o,(f=Tr.get(p))&&(u=v({},o),Vd(u,f)),e=e.ownerDocument||e,f=e.createElement("script"),yt(f),An(f,"link",u),e.head.appendChild(f),r.instance=f);case"void":return null;default:throw Error(t(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(u=r.instance,r.state.loading|=4,Fu(u,o.precedence,e));return r.instance}function Fu(e,r,o){for(var u=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=u.length?u[u.length-1]:null,p=f,b=0;b<u.length;b++){var x=u[b];if(x.dataset.precedence===r)p=x;else if(p!==f)break}p?p.parentNode.insertBefore(e,p.nextSibling):(r=o.nodeType===9?o.head:o,r.insertBefore(e,r.firstChild))}function Zd(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.title==null&&(e.title=r.title)}function Vd(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.integrity==null&&(e.integrity=r.integrity)}var Gu=null;function Bv(e,r,o){if(Gu===null){var u=new Map,f=Gu=new Map;f.set(o,u)}else f=Gu,u=f.get(o),u||(u=new Map,f.set(o,u));if(u.has(e))return u;for(u.set(e,null),o=o.getElementsByTagName(e),f=0;f<o.length;f++){var p=o[f];if(!(p[Yt]||p[ye]||e==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!=="http://www.w3.org/2000/svg"){var b=p.getAttribute(r)||"";b=e+b;var x=u.get(b);x?x.push(p):u.set(b,[p])}}return u}function Iv(e,r,o){e=e.ownerDocument||e,e.head.insertBefore(o,r==="title"?e.querySelector("head > title"):null)}function cS(e,r,o){if(o===1||r.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof r.precedence!="string"||typeof r.href!="string"||r.href==="")break;return!0;case"link":if(typeof r.rel!="string"||typeof r.href!="string"||r.href===""||r.onLoad||r.onError)break;switch(r.rel){case"stylesheet":return e=r.disabled,typeof r.precedence=="string"&&e==null;default:return!0}case"script":if(r.async&&typeof r.async!="function"&&typeof r.async!="symbol"&&!r.onLoad&&!r.onError&&r.src&&typeof r.src=="string")return!0}return!1}function Fv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var ss=null;function fS(){}function dS(e,r,o){if(ss===null)throw Error(t(475));var u=ss;if(r.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var f=Vl(o.href),p=e.querySelector(ls(f));if(p){e=p._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(u.count++,u=Zu.bind(u),e.then(u,u)),r.state.loading|=4,r.instance=p,yt(p);return}p=e.ownerDocument||e,o=Yv(o),(f=Tr.get(f))&&Zd(o,f),p=p.createElement("link"),yt(p);var b=p;b._p=new Promise(function(x,P){b.onload=x,b.onerror=P}),An(p,"link",o),r.instance=p}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(r,e),(e=r.state.preload)&&(r.state.loading&3)===0&&(u.count++,r=Zu.bind(u),e.addEventListener("load",r),e.addEventListener("error",r))}}function hS(){if(ss===null)throw Error(t(475));var e=ss;return e.stylesheets&&e.count===0&&Wd(e,e.stylesheets),0<e.count?function(r){var o=setTimeout(function(){if(e.stylesheets&&Wd(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(o)}}:null}function Zu(){if(this.count--,this.count===0){if(this.stylesheets)Wd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Vu=null;function Wd(e,r){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Vu=new Map,r.forEach(pS,e),Vu=null,Zu.call(e))}function pS(e,r){if(!(r.state.loading&4)){var o=Vu.get(e);if(o)var u=o.get(null);else{o=new Map,Vu.set(e,o);for(var f=e.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p<f.length;p++){var b=f[p];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(o.set(b.dataset.precedence,b),u=b)}u&&o.set(null,u)}f=r.instance,b=f.getAttribute("data-precedence"),p=o.get(b)||u,p===u&&o.set(null,f),o.set(b,f),this.count++,u=Zu.bind(this),f.addEventListener("load",u),f.addEventListener("error",u),p?p.parentNode.insertBefore(f,p.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(f,e.firstChild)),r.state.loading|=4}}var us={$$typeof:Y,Provider:null,Consumer:null,_currentValue:L,_currentValue2:L,_threadCount:0};function mS(e,r,o,u,f,p,b,x){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=wn(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wn(0),this.hiddenUpdates=wn(null),this.identifierPrefix=u,this.onUncaughtError=f,this.onCaughtError=p,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map}function Gv(e,r,o,u,f,p,b,x,P,ee,ie,se){return e=new mS(e,r,o,b,x,P,ee,se),r=1,p===!0&&(r|=24),p=ir(3,null,null,r),e.current=p,p.stateNode=e,r=Af(),r.refCount++,e.pooledCache=r,r.refCount++,p.memoizedState={element:u,isDehydrated:o,cache:r},kf(p),e}function Zv(e){return e?(e=Tl,e):Tl}function Vv(e,r,o,u,f,p){f=Zv(f),u.context===null?u.context=f:u.pendingContext=f,u=ti(r),u.payload={element:o},p=p===void 0?null:p,p!==null&&(u.callback=p),o=ni(e,u,r),o!==null&&(cr(o,e,r),zo(o,e,r))}function Wv(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<r?o:r}}function Qd(e,r){Wv(e,r),(e=e.alternate)&&Wv(e,r)}function Qv(e){if(e.tag===13){var r=Dl(e,67108864);r!==null&&cr(r,e,67108864),Qd(e,67108864)}}var Wu=!0;function vS(e,r,o,u){var f=T.T;T.T=null;var p=N.p;try{N.p=2,Kd(e,r,o,u)}finally{N.p=p,T.T=f}}function gS(e,r,o,u){var f=T.T;T.T=null;var p=N.p;try{N.p=8,Kd(e,r,o,u)}finally{N.p=p,T.T=f}}function Kd(e,r,o,u){if(Wu){var f=Xd(u);if(f===null)Hd(e,r,u,Qu,o),Xv(e,u);else if(bS(f,e,r,o,u))u.stopPropagation();else if(Xv(e,u),r&4&&-1<yS.indexOf(e)){for(;f!==null;){var p=gt(f);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var b=Pt(p.pendingLanes);if(b!==0){var x=p;for(x.pendingLanes|=2,x.entangledLanes|=2;b;){var P=1<<31-Mt(b);x.entanglements[1]|=P,b&=~P}oa(p),(bt&6)===0&&(Nu=xt()+500,ns(0))}}break;case 13:x=Dl(p,2),x!==null&&cr(x,p,2),Lu(),Qd(p,2)}if(p=Xd(u),p===null&&Hd(e,r,u,Qu,o),p===f)break;f=p}f!==null&&u.stopPropagation()}else Hd(e,r,u,null,o)}}function Xd(e){return e=yl(e),$d(e)}var Qu=null;function $d(e){if(Qu=null,e=dn(e),e!==null){var r=s(e);if(r===null)e=null;else{var o=r.tag;if(o===13){if(e=c(r),e!==null)return e;e=null}else if(o===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;e=null}else r!==e&&(e=null)}}return Qu=e,null}function Kv(e){switch(e){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Nn()){case Je:return 2;case Wn:return 8;case zn:case qe:return 32;case ge:return 268435456;default:return 32}default:return 32}}var Jd=!1,mi=null,vi=null,gi=null,cs=new Map,fs=new Map,yi=[],yS="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".split(" ");function Xv(e,r){switch(e){case"focusin":case"focusout":mi=null;break;case"dragenter":case"dragleave":vi=null;break;case"mouseover":case"mouseout":gi=null;break;case"pointerover":case"pointerout":cs.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":fs.delete(r.pointerId)}}function ds(e,r,o,u,f,p){return e===null||e.nativeEvent!==p?(e={blockedOn:r,domEventName:o,eventSystemFlags:u,nativeEvent:p,targetContainers:[f]},r!==null&&(r=gt(r),r!==null&&Qv(r)),e):(e.eventSystemFlags|=u,r=e.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),e)}function bS(e,r,o,u,f){switch(r){case"focusin":return mi=ds(mi,e,r,o,u,f),!0;case"dragenter":return vi=ds(vi,e,r,o,u,f),!0;case"mouseover":return gi=ds(gi,e,r,o,u,f),!0;case"pointerover":var p=f.pointerId;return cs.set(p,ds(cs.get(p)||null,e,r,o,u,f)),!0;case"gotpointercapture":return p=f.pointerId,fs.set(p,ds(fs.get(p)||null,e,r,o,u,f)),!0}return!1}function $v(e){var r=dn(e.target);if(r!==null){var o=s(r);if(o!==null){if(r=o.tag,r===13){if(r=c(o),r!==null){e.blockedOn=r,vt(e.priority,function(){if(o.tag===13){var u=ur();u=Te(u);var f=Dl(o,u);f!==null&&cr(f,o,u),Qd(o,u)}});return}}else if(r===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ku(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var o=Xd(e.nativeEvent);if(o===null){o=e.nativeEvent;var u=new o.constructor(o.type,o);Eo=u,o.target.dispatchEvent(u),Eo=null}else return r=gt(o),r!==null&&Qv(r),e.blockedOn=o,!1;r.shift()}return!0}function Jv(e,r,o){Ku(e)&&o.delete(r)}function _S(){Jd=!1,mi!==null&&Ku(mi)&&(mi=null),vi!==null&&Ku(vi)&&(vi=null),gi!==null&&Ku(gi)&&(gi=null),cs.forEach(Jv),fs.forEach(Jv)}function Xu(e,r){e.blockedOn===r&&(e.blockedOn=null,Jd||(Jd=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,_S)))}var $u=null;function e4(e){$u!==e&&($u=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){$u===e&&($u=null);for(var r=0;r<e.length;r+=3){var o=e[r],u=e[r+1],f=e[r+2];if(typeof u!="function"){if($d(u||o)===null)continue;break}var p=gt(o);p!==null&&(e.splice(r,3),r-=3,$f(p,{pending:!0,data:f,method:o.method,action:u},u,f))}}))}function hs(e){function r(P){return Xu(P,e)}mi!==null&&Xu(mi,e),vi!==null&&Xu(vi,e),gi!==null&&Xu(gi,e),cs.forEach(r),fs.forEach(r);for(var o=0;o<yi.length;o++){var u=yi[o];u.blockedOn===e&&(u.blockedOn=null)}for(;0<yi.length&&(o=yi[0],o.blockedOn===null);)$v(o),o.blockedOn===null&&yi.shift();if(o=(e.ownerDocument||e).$$reactFormReplay,o!=null)for(u=0;u<o.length;u+=3){var f=o[u],p=o[u+1],b=f[we]||null;if(typeof p=="function")b||e4(o);else if(b){var x=null;if(p&&p.hasAttribute("formAction")){if(f=p,b=p[we]||null)x=b.formAction;else if($d(f)!==null)continue}else x=b.action;typeof x=="function"?o[u+1]=x:(o.splice(u,3),u-=3),e4(o)}}}function e1(e){this._internalRoot=e}Ju.prototype.render=e1.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(t(409));var o=r.current,u=ur();Vv(o,u,e,r,null,null)},Ju.prototype.unmount=e1.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;Vv(e.current,2,null,e,null,null),Lu(),r[Be]=null}};function Ju(e){this._internalRoot=e}Ju.prototype.unstable_scheduleHydration=function(e){if(e){var r=Jt();e={blockedOn:null,target:e,priority:r};for(var o=0;o<yi.length&&r!==0&&r<yi[o].priority;o++);yi.splice(o,0,e),o===0&&$v(e)}};var t4=i.version;if(t4!=="19.1.0")throw Error(t(527,t4,"19.1.0"));N.findDOMNode=function(e){var r=e._reactInternals;if(r===void 0)throw typeof e.render=="function"?Error(t(188)):(e=Object.keys(e).join(","),Error(t(268,e)));return e=h(r),e=e!==null?m(e):null,e=e===null?null:e.stateNode,e};var SS={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:T,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ec=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ec.isDisabled&&ec.supportsFiber)try{Ze=ec.inject(SS),ot=ec}catch{}}return ms.createRoot=function(e,r){if(!l(e))throw Error(t(299));var o=!1,u="",f=g6,p=y6,b=b6,x=null;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onUncaughtError!==void 0&&(f=r.onUncaughtError),r.onCaughtError!==void 0&&(p=r.onCaughtError),r.onRecoverableError!==void 0&&(b=r.onRecoverableError),r.unstable_transitionCallbacks!==void 0&&(x=r.unstable_transitionCallbacks)),r=Gv(e,1,!1,null,null,o,u,f,p,b,x,null),e[Be]=r.current,Ud(e),new e1(r)},ms.hydrateRoot=function(e,r,o){if(!l(e))throw Error(t(299));var u=!1,f="",p=g6,b=y6,x=b6,P=null,ee=null;return o!=null&&(o.unstable_strictMode===!0&&(u=!0),o.identifierPrefix!==void 0&&(f=o.identifierPrefix),o.onUncaughtError!==void 0&&(p=o.onUncaughtError),o.onCaughtError!==void 0&&(b=o.onCaughtError),o.onRecoverableError!==void 0&&(x=o.onRecoverableError),o.unstable_transitionCallbacks!==void 0&&(P=o.unstable_transitionCallbacks),o.formState!==void 0&&(ee=o.formState)),r=Gv(e,1,!0,r,o??null,u,f,p,b,x,P,ee),r.context=Zv(null),o=r.current,u=ur(),u=Te(u),f=ti(u),f.callback=null,ni(o,f,u),o=u,r.current.lanes=o,rt(r,o),oa(r),e[Be]=r.current,Ud(e),new Ju(r)},ms.version="19.1.0",ms}var f4;function kS(){if(f4)return n1.exports;f4=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),n1.exports=NS(),n1.exports}var LS=kS(),y=Q2();const Z=mr(y),k9=TS({__proto__:null,default:Z},[y]);/*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE */var o1,d4;function h4(){if(d4)return o1;d4=1;const{entries:a,setPrototypeOf:i,isFrozen:n,getPrototypeOf:t,getOwnPropertyDescriptor:l}=Object;let{freeze:s,seal:c,create:d}=Object,{apply:h,construct:m}=typeof Reflect<"u"&&Reflect;s||(s=function(ge){return ge}),c||(c=function(ge){return ge}),h||(h=function(ge,He,Ae){return ge.apply(He,Ae)}),m||(m=function(ge,He){return new ge(...He)});const v=_(Array.prototype.forEach),g=_(Array.prototype.lastIndexOf),S=_(Array.prototype.pop),w=_(Array.prototype.push),M=_(Array.prototype.splice),R=_(String.prototype.toLowerCase),C=_(String.prototype.toString),H=_(String.prototype.match),O=_(String.prototype.replace),Y=_(String.prototype.indexOf),K=_(String.prototype.trim),X=_(Object.prototype.hasOwnProperty),re=_(RegExp.prototype.test),V=E(TypeError);function _(qe){return function(ge){ge instanceof RegExp&&(ge.lastIndex=0);for(var He=arguments.length,Ae=new Array(He>1?He-1:0),Ze=1;Ze<He;Ze++)Ae[Ze-1]=arguments[Ze];return h(qe,ge,Ae)}}function E(qe){return function(){for(var ge=arguments.length,He=new Array(ge),Ae=0;Ae<ge;Ae++)He[Ae]=arguments[Ae];return m(qe,He)}}function D(qe,ge){let He=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R;i&&i(qe,null);let Ae=ge.length;for(;Ae--;){let Ze=ge[Ae];if(typeof Ze=="string"){const ot=He(Ze);ot!==Ze&&(n(ge)||(ge[Ae]=ot),Ze=ot)}qe[Ze]=!0}return qe}function q(qe){for(let ge=0;ge<qe.length;ge++)X(qe,ge)||(qe[ge]=null);return qe}function k(qe){const ge=d(null);for(const[He,Ae]of a(qe))X(qe,He)&&(Array.isArray(Ae)?ge[He]=q(Ae):Ae&&typeof Ae=="object"&&Ae.constructor===Object?ge[He]=k(Ae):ge[He]=Ae);return ge}function z(qe,ge){for(;qe!==null;){const Ae=l(qe,ge);if(Ae){if(Ae.get)return _(Ae.get);if(typeof Ae.value=="function")return _(Ae.value)}qe=t(qe)}function He(){return null}return He}const B=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),U=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),T=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),N=s(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),L=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),$=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),A=s(["#text"]),j=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),oe=s(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ae=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),he=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),fe=c(/\{\{[\w\W]*|[\w\W]*\}\}/gm),me=c(/<%[\w\W]*|[\w\W]*%>/gm),ze=c(/\$\{[\w\W]*/gm),Re=c(/^data-[\-\w.\u00B7-\uFFFF]+$/),qt=c(/^aria-[\-\w]+$/),Ut=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),mt=c(/^(?:\w+script|data):/i),Ht=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),lt=c(/^html$/i),nt=c(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ue=Object.freeze({__proto__:null,ARIA_ATTR:qt,ATTR_WHITESPACE:Ht,CUSTOM_ELEMENT:nt,DATA_ATTR:Re,DOCTYPE_NAME:lt,ERB_EXPR:me,IS_ALLOWED_URI:Ut,IS_SCRIPT_OR_DATA:mt,MUSTACHE_EXPR:fe,TMPLIT_EXPR:ze});const Rn={element:1,text:3,progressingInstruction:7,comment:8,document:9},xt=function(){return typeof window>"u"?null:window},Nn=function(ge,He){if(typeof ge!="object"||typeof ge.createPolicy!="function")return null;let Ae=null;const Ze="data-tt-policy-suffix";He&&He.hasAttribute(Ze)&&(Ae=He.getAttribute(Ze));const ot="dompurify"+(Ae?"#"+Ae:"");try{return ge.createPolicy(ot,{createHTML(Rt){return Rt},createScriptURL(Rt){return Rt}})}catch{return console.warn("TrustedTypes policy "+ot+" could not be created."),null}},Je=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Wn(){let qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:xt();const ge=be=>Wn(be);if(ge.version="3.2.5",ge.removed=[],!qe||!qe.document||qe.document.nodeType!==Rn.document||!qe.Element)return ge.isSupported=!1,ge;let{document:He}=qe;const Ae=He,Ze=Ae.currentScript,{DocumentFragment:ot,HTMLTemplateElement:Rt,Node:Mt,Element:vr,NodeFilter:En,NamedNodeMap:kn=qe.NamedNodeMap||qe.MozNamedAttrMap,HTMLFormElement:Ft,DOMParser:We,trustedTypes:Pt}=qe,ln=vr.prototype,vn=z(ln,"cloneNode"),qr=z(ln,"remove"),Ln=z(ln,"nextSibling"),qn=z(ln,"childNodes"),wn=z(ln,"parentNode");if(typeof Rt=="function"){const be=He.createElement("template");be.content&&be.content.ownerDocument&&(He=be.content.ownerDocument)}let rt,Qn="";const{implementation:Ot,createNodeIterator:$e,createDocumentFragment:Te,getElementsByTagName:Ye}=He,{importNode:Jt}=Ae;let vt=Je();ge.isSupported=typeof a=="function"&&typeof wn=="function"&&Ot&&Ot.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:pe,ERB_EXPR:ye,TMPLIT_EXPR:we,DATA_ATTR:Be,ARIA_ATTR:At,IS_SCRIPT_OR_DATA:Dn,ATTR_WHITESPACE:gn,CUSTOM_ELEMENT:zt}=Ue;let{IS_ALLOWED_URI:Yt}=Ue,Me=null;const dn=D({},[...B,...U,...T,...L,...A]);let gt=null;const tr=D({},[...j,...oe,...ae,...he]);let et=Object.seal(d(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),yt=null,Ee=null,F=!0,ue=!0,ce=!1,Ie=!0,dt=!1,ht=!0,Nt=!1,Gt=!1,Kn=!1,st=!1,Ur=!1,$r=!1,ya=!0,ml=!1;const yo="user-content-";let bo=!0,Wa=!1,hn={},ba=null;const Ws=D({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ki=null;const _o=D({},["audio","video","img","source","image","track"]);let Qa=null;const Qs=D({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Tn="http://www.w3.org/1998/Math/MathML",Ka="http://www.w3.org/2000/svg",gr="http://www.w3.org/1999/xhtml";let Jr=gr,ea=!1,vl=null;const Ks=D({},[Tn,Ka,gr],C);let Hr=D({},["mi","mo","mn","ms","mtext"]),gl=D({},["annotation-xml"]);const Xs=D({},["title","style","font","a","script"]);let Xa=null;const So=["application/xhtml+xml","text/html"],of="text/html";let on=null,Pr=null;const Eo=He.createElement("form"),yl=function(G){return G instanceof RegExp||G instanceof Function},ta=function(){let G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Pr&&Pr===G)){if((!G||typeof G!="object")&&(G={}),G=k(G),Xa=So.indexOf(G.PARSER_MEDIA_TYPE)===-1?of:G.PARSER_MEDIA_TYPE,on=Xa==="application/xhtml+xml"?C:R,Me=X(G,"ALLOWED_TAGS")?D({},G.ALLOWED_TAGS,on):dn,gt=X(G,"ALLOWED_ATTR")?D({},G.ALLOWED_ATTR,on):tr,vl=X(G,"ALLOWED_NAMESPACES")?D({},G.ALLOWED_NAMESPACES,C):Ks,Qa=X(G,"ADD_URI_SAFE_ATTR")?D(k(Qs),G.ADD_URI_SAFE_ATTR,on):Qs,ki=X(G,"ADD_DATA_URI_TAGS")?D(k(_o),G.ADD_DATA_URI_TAGS,on):_o,ba=X(G,"FORBID_CONTENTS")?D({},G.FORBID_CONTENTS,on):Ws,yt=X(G,"FORBID_TAGS")?D({},G.FORBID_TAGS,on):{},Ee=X(G,"FORBID_ATTR")?D({},G.FORBID_ATTR,on):{},hn=X(G,"USE_PROFILES")?G.USE_PROFILES:!1,F=G.ALLOW_ARIA_ATTR!==!1,ue=G.ALLOW_DATA_ATTR!==!1,ce=G.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=G.ALLOW_SELF_CLOSE_IN_ATTR!==!1,dt=G.SAFE_FOR_TEMPLATES||!1,ht=G.SAFE_FOR_XML!==!1,Nt=G.WHOLE_DOCUMENT||!1,st=G.RETURN_DOM||!1,Ur=G.RETURN_DOM_FRAGMENT||!1,$r=G.RETURN_TRUSTED_TYPE||!1,Kn=G.FORCE_BODY||!1,ya=G.SANITIZE_DOM!==!1,ml=G.SANITIZE_NAMED_PROPS||!1,bo=G.KEEP_CONTENT!==!1,Wa=G.IN_PLACE||!1,Yt=G.ALLOWED_URI_REGEXP||Ut,Jr=G.NAMESPACE||gr,Hr=G.MATHML_TEXT_INTEGRATION_POINTS||Hr,gl=G.HTML_INTEGRATION_POINTS||gl,et=G.CUSTOM_ELEMENT_HANDLING||{},G.CUSTOM_ELEMENT_HANDLING&&yl(G.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(et.tagNameCheck=G.CUSTOM_ELEMENT_HANDLING.tagNameCheck),G.CUSTOM_ELEMENT_HANDLING&&yl(G.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(et.attributeNameCheck=G.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),G.CUSTOM_ELEMENT_HANDLING&&typeof G.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(et.allowCustomizedBuiltInElements=G.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),dt&&(ue=!1),Ur&&(st=!0),hn&&(Me=D({},A),gt=[],hn.html===!0&&(D(Me,B),D(gt,j)),hn.svg===!0&&(D(Me,U),D(gt,oe),D(gt,he)),hn.svgFilters===!0&&(D(Me,T),D(gt,oe),D(gt,he)),hn.mathMl===!0&&(D(Me,L),D(gt,ae),D(gt,he))),G.ADD_TAGS&&(Me===dn&&(Me=k(Me)),D(Me,G.ADD_TAGS,on)),G.ADD_ATTR&&(gt===tr&&(gt=k(gt)),D(gt,G.ADD_ATTR,on)),G.ADD_URI_SAFE_ATTR&&D(Qa,G.ADD_URI_SAFE_ATTR,on),G.FORBID_CONTENTS&&(ba===Ws&&(ba=k(ba)),D(ba,G.FORBID_CONTENTS,on)),bo&&(Me["#text"]=!0),Nt&&D(Me,["html","head","body"]),Me.table&&(D(Me,["tbody"]),delete yt.tbody),G.TRUSTED_TYPES_POLICY){if(typeof G.TRUSTED_TYPES_POLICY.createHTML!="function")throw V('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof G.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw V('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');rt=G.TRUSTED_TYPES_POLICY,Qn=rt.createHTML("")}else rt===void 0&&(rt=Nn(Pt,Ze)),rt!==null&&typeof Qn=="string"&&(Qn=rt.createHTML(""));s&&s(G),Pr=G}},_a=D({},[...U,...T,...N]),wo=D({},[...L,...$]),Do=function(G){let de=wn(G);(!de||!de.tagName)&&(de={namespaceURI:Jr,tagName:"template"});const Se=R(G.tagName),kt=R(de.tagName);return vl[G.namespaceURI]?G.namespaceURI===Ka?de.namespaceURI===gr?Se==="svg":de.namespaceURI===Tn?Se==="svg"&&(kt==="annotation-xml"||Hr[kt]):!!_a[Se]:G.namespaceURI===Tn?de.namespaceURI===gr?Se==="math":de.namespaceURI===Ka?Se==="math"&&gl[kt]:!!wo[Se]:G.namespaceURI===gr?de.namespaceURI===Ka&&!gl[kt]||de.namespaceURI===Tn&&!Hr[kt]?!1:!wo[Se]&&(Xs[Se]||!_a[Se]):!!(Xa==="application/xhtml+xml"&&vl[G.namespaceURI]):!1},nr=function(G){w(ge.removed,{element:G});try{wn(G).removeChild(G)}catch{qr(G)}},na=function(G,de){try{w(ge.removed,{attribute:de.getAttributeNode(G),from:de})}catch{w(ge.removed,{attribute:null,from:de})}if(de.removeAttribute(G),G==="is")if(st||Ur)try{nr(de)}catch{}else try{de.setAttribute(G,"")}catch{}},yr=function(G){let de=null,Se=null;if(Kn)G="<remove></remove>"+G;else{const en=H(G,/^[\r\n\t ]+/);Se=en&&en[0]}Xa==="application/xhtml+xml"&&Jr===gr&&(G='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+G+"</body></html>");const kt=rt?rt.createHTML(G):G;if(Jr===gr)try{de=new We().parseFromString(kt,Xa)}catch{}if(!de||!de.documentElement){de=Ot.createDocument(Jr,"template",null);try{de.documentElement.innerHTML=ea?Qn:kt}catch{}}const sn=de.body||de.documentElement;return G&&Se&&sn.insertBefore(He.createTextNode(Se),sn.childNodes[0]||null),Jr===gr?Ye.call(de,Nt?"html":"body")[0]:Nt?de.documentElement:sn},bl=function(G){return $e.call(G.ownerDocument||G,G,En.SHOW_ELEMENT|En.SHOW_COMMENT|En.SHOW_TEXT|En.SHOW_PROCESSING_INSTRUCTION|En.SHOW_CDATA_SECTION,null)},Sa=function(G){return G instanceof Ft&&(typeof G.nodeName!="string"||typeof G.textContent!="string"||typeof G.removeChild!="function"||!(G.attributes instanceof kn)||typeof G.removeAttribute!="function"||typeof G.setAttribute!="function"||typeof G.namespaceURI!="string"||typeof G.insertBefore!="function"||typeof G.hasChildNodes!="function")},zr=function(G){return typeof Mt=="function"&&G instanceof Mt};function rr(be,G,de){v(be,Se=>{Se.call(ge,G,de,Pr)})}const Li=function(G){let de=null;if(rr(vt.beforeSanitizeElements,G,null),Sa(G))return nr(G),!0;const Se=on(G.nodeName);if(rr(vt.uponSanitizeElement,G,{tagName:Se,allowedTags:Me}),G.hasChildNodes()&&!zr(G.firstElementChild)&&re(/<[/\w!]/g,G.innerHTML)&&re(/<[/\w!]/g,G.textContent)||G.nodeType===Rn.progressingInstruction||ht&&G.nodeType===Rn.comment&&re(/<[/\w]/g,G.data))return nr(G),!0;if(!Me[Se]||yt[Se]){if(!yt[Se]&&qi(Se)&&(et.tagNameCheck instanceof RegExp&&re(et.tagNameCheck,Se)||et.tagNameCheck instanceof Function&&et.tagNameCheck(Se)))return!1;if(bo&&!ba[Se]){const kt=wn(G)||G.parentNode,sn=qn(G)||G.childNodes;if(sn&&kt){const en=sn.length;for(let un=en-1;un>=0;--un){const Yn=vn(sn[un],!0);Yn.__removalCount=(G.__removalCount||0)+1,kt.insertBefore(Yn,Ln(G))}}}return nr(G),!0}return G instanceof vr&&!Do(G)||(Se==="noscript"||Se==="noembed"||Se==="noframes")&&re(/<\/no(script|embed|frames)/i,G.innerHTML)?(nr(G),!0):(dt&&G.nodeType===Rn.text&&(de=G.textContent,v([pe,ye,we],kt=>{de=O(de,kt," ")}),G.textContent!==de&&(w(ge.removed,{element:G.cloneNode()}),G.textContent=de)),rr(vt.afterSanitizeElements,G,null),!1)},To=function(G,de,Se){if(ya&&(de==="id"||de==="name")&&(Se in He||Se in Eo))return!1;if(!(ue&&!Ee[de]&&re(Be,de))){if(!(F&&re(At,de))){if(!gt[de]||Ee[de]){if(!(qi(G)&&(et.tagNameCheck instanceof RegExp&&re(et.tagNameCheck,G)||et.tagNameCheck instanceof Function&&et.tagNameCheck(G))&&(et.attributeNameCheck instanceof RegExp&&re(et.attributeNameCheck,de)||et.attributeNameCheck instanceof Function&&et.attributeNameCheck(de))||de==="is"&&et.allowCustomizedBuiltInElements&&(et.tagNameCheck instanceof RegExp&&re(et.tagNameCheck,Se)||et.tagNameCheck instanceof Function&&et.tagNameCheck(Se))))return!1}else if(!Qa[de]){if(!re(Yt,O(Se,gn,""))){if(!((de==="src"||de==="xlink:href"||de==="href")&&G!=="script"&&Y(Se,"data:")===0&&ki[G])){if(!(ce&&!re(Dn,O(Se,gn,"")))){if(Se)return!1}}}}}}return!0},qi=function(G){return G!=="annotation-xml"&&H(G,zt)},Ui=function(G){rr(vt.beforeSanitizeAttributes,G,null);const{attributes:de}=G;if(!de||Sa(G))return;const Se={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:gt,forceKeepAttr:void 0};let kt=de.length;for(;kt--;){const sn=de[kt],{name:en,namespaceURI:un,value:Yn}=sn,$a=on(en);let xn=en==="value"?Yn:K(Yn);if(Se.attrName=$a,Se.attrValue=xn,Se.keepAttr=!0,Se.forceKeepAttr=void 0,rr(vt.uponSanitizeAttribute,G,Se),xn=Se.attrValue,ml&&($a==="id"||$a==="name")&&(na(en,G),xn=yo+xn),ht&&re(/((--!?|])>)|<\/(style|title)/i,xn)){na(en,G);continue}if(Se.forceKeepAttr||(na(en,G),!Se.keepAttr))continue;if(!Ie&&re(/\/>/i,xn)){na(en,G);continue}dt&&v([pe,ye,we],eu=>{xn=O(xn,eu," ")});const Js=on(G.nodeName);if(To(Js,$a,xn)){if(rt&&typeof Pt=="object"&&typeof Pt.getAttributeType=="function"&&!un)switch(Pt.getAttributeType(Js,$a)){case"TrustedHTML":{xn=rt.createHTML(xn);break}case"TrustedScriptURL":{xn=rt.createScriptURL(xn);break}}try{un?G.setAttributeNS(un,en,xn):G.setAttribute(en,xn),Sa(G)?nr(G):S(ge.removed)}catch{}}}rr(vt.afterSanitizeAttributes,G,null)},$s=function be(G){let de=null;const Se=bl(G);for(rr(vt.beforeSanitizeShadowDOM,G,null);de=Se.nextNode();)rr(vt.uponSanitizeShadowNode,de,null),Li(de),Ui(de),de.content instanceof ot&&be(de.content);rr(vt.afterSanitizeShadowDOM,G,null)};return ge.sanitize=function(be){let G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},de=null,Se=null,kt=null,sn=null;if(ea=!be,ea&&(be="<!-->"),typeof be!="string"&&!zr(be))if(typeof be.toString=="function"){if(be=be.toString(),typeof be!="string")throw V("dirty is not a string, aborting")}else throw V("toString is not a function");if(!ge.isSupported)return be;if(Gt||ta(G),ge.removed=[],typeof be=="string"&&(Wa=!1),Wa){if(be.nodeName){const Yn=on(be.nodeName);if(!Me[Yn]||yt[Yn])throw V("root node is forbidden and cannot be sanitized in-place")}}else if(be instanceof Mt)de=yr("<!---->"),Se=de.ownerDocument.importNode(be,!0),Se.nodeType===Rn.element&&Se.nodeName==="BODY"||Se.nodeName==="HTML"?de=Se:de.appendChild(Se);else{if(!st&&!dt&&!Nt&&be.indexOf("<")===-1)return rt&&$r?rt.createHTML(be):be;if(de=yr(be),!de)return st?null:$r?Qn:""}de&&Kn&&nr(de.firstChild);const en=bl(Wa?be:de);for(;kt=en.nextNode();)Li(kt),Ui(kt),kt.content instanceof ot&&$s(kt.content);if(Wa)return be;if(st){if(Ur)for(sn=Te.call(de.ownerDocument);de.firstChild;)sn.appendChild(de.firstChild);else sn=de;return(gt.shadowroot||gt.shadowrootmode)&&(sn=Jt.call(Ae,sn,!0)),sn}let un=Nt?de.outerHTML:de.innerHTML;return Nt&&Me["!doctype"]&&de.ownerDocument&&de.ownerDocument.doctype&&de.ownerDocument.doctype.name&&re(lt,de.ownerDocument.doctype.name)&&(un="<!DOCTYPE "+de.ownerDocument.doctype.name+`>
`+un),dt&&v([pe,ye,we],Yn=>{un=O(un,Yn," ")}),rt&&$r?rt.createHTML(un):un},ge.setConfig=function(){let be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ta(be),Gt=!0},ge.clearConfig=function(){Pr=null,Gt=!1},ge.isValidAttribute=function(be,G,de){Pr||ta({});const Se=on(be),kt=on(G);return To(Se,kt,de)},ge.addHook=function(be,G){typeof G=="function"&&w(vt[be],G)},ge.removeHook=function(be,G){if(G!==void 0){const de=g(vt[be],G);return de===-1?void 0:M(vt[be],de,1)[0]}return S(vt[be])},ge.removeHooks=function(be){vt[be]=[]},ge.removeAllHooks=function(){vt=Je()},ge}var zn=Wn();return o1=zn,o1}var s1,p4;function qS(){return p4||(p4=1,s1=window.DOMPurify||(window.DOMPurify=h4().default||h4())),s1}var US=qS();const HS=mr(US),eo=Math.min,rl=Math.max,Tc=Math.round,nc=Math.floor,pa=a=>({x:a,y:a}),PS={left:"right",right:"left",bottom:"top",top:"bottom"},zS={start:"end",end:"start"};function p2(a,i,n){return rl(a,eo(i,n))}function Hs(a,i){return typeof a=="function"?a(i):a}function ll(a){return a.split("-")[0]}function Ps(a){return a.split("-")[1]}function L9(a){return a==="x"?"y":"x"}function K2(a){return a==="y"?"height":"width"}function to(a){return["top","bottom"].includes(ll(a))?"y":"x"}function X2(a){return L9(to(a))}function YS(a,i,n){n===void 0&&(n=!1);const t=Ps(a),l=X2(a),s=K2(l);let c=l==="x"?t===(n?"end":"start")?"right":"left":t==="start"?"bottom":"top";return i.reference[s]>i.floating[s]&&(c=xc(c)),[c,xc(c)]}function jS(a){const i=xc(a);return[m2(a),i,m2(i)]}function m2(a){return a.replace(/start|end/g,i=>zS[i])}function BS(a,i,n){const t=["left","right"],l=["right","left"],s=["top","bottom"],c=["bottom","top"];switch(a){case"top":case"bottom":return n?i?l:t:i?t:l;case"left":case"right":return i?s:c;default:return[]}}function IS(a,i,n,t){const l=Ps(a);let s=BS(ll(a),n==="start",t);return l&&(s=s.map(c=>c+"-"+l),i&&(s=s.concat(s.map(m2)))),s}function xc(a){return a.replace(/left|right|bottom|top/g,i=>PS[i])}function FS(a){return{top:0,right:0,bottom:0,left:0,...a}}function q9(a){return typeof a!="number"?FS(a):{top:a,right:a,bottom:a,left:a}}function Mc(a){const{x:i,y:n,width:t,height:l}=a;return{width:t,height:l,top:n,left:i,right:i+t,bottom:n+l,x:i,y:n}}function m4(a,i,n){let{reference:t,floating:l}=a;const s=to(i),c=X2(i),d=K2(c),h=ll(i),m=s==="y",v=t.x+t.width/2-l.width/2,g=t.y+t.height/2-l.height/2,S=t[d]/2-l[d]/2;let w;switch(h){case"top":w={x:v,y:t.y-l.height};break;case"bottom":w={x:v,y:t.y+t.height};break;case"right":w={x:t.x+t.width,y:g};break;case"left":w={x:t.x-l.width,y:g};break;default:w={x:t.x,y:t.y}}switch(Ps(i)){case"start":w[c]-=S*(n&&m?-1:1);break;case"end":w[c]+=S*(n&&m?-1:1);break}return w}const GS=async(a,i,n)=>{const{placement:t="bottom",strategy:l="absolute",middleware:s=[],platform:c}=n,d=s.filter(Boolean),h=await(c.isRTL==null?void 0:c.isRTL(i));let m=await c.getElementRects({reference:a,floating:i,strategy:l}),{x:v,y:g}=m4(m,t,h),S=t,w={},M=0;for(let R=0;R<d.length;R++){const{name:C,fn:H}=d[R],{x:O,y:Y,data:K,reset:X}=await H({x:v,y:g,initialPlacement:t,placement:S,strategy:l,middlewareData:w,rects:m,platform:c,elements:{reference:a,floating:i}});v=O??v,g=Y??g,w={...w,[C]:{...w[C],...K}},X&&M<=50&&(M++,typeof X=="object"&&(X.placement&&(S=X.placement),X.rects&&(m=X.rects===!0?await c.getElementRects({reference:a,floating:i,strategy:l}):X.rects),{x:v,y:g}=m4(m,S,h)),R=-1)}return{x:v,y:g,placement:S,strategy:l,middlewareData:w}};async function U9(a,i){var n;i===void 0&&(i={});const{x:t,y:l,platform:s,rects:c,elements:d,strategy:h}=a,{boundary:m="clippingAncestors",rootBoundary:v="viewport",elementContext:g="floating",altBoundary:S=!1,padding:w=0}=Hs(i,a),M=q9(w),C=d[S?g==="floating"?"reference":"floating":g],H=Mc(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(C)))==null||n?C:C.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:m,rootBoundary:v,strategy:h})),O=g==="floating"?{x:t,y:l,width:c.floating.width,height:c.floating.height}:c.reference,Y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),K=await(s.isElement==null?void 0:s.isElement(Y))?await(s.getScale==null?void 0:s.getScale(Y))||{x:1,y:1}:{x:1,y:1},X=Mc(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:O,offsetParent:Y,strategy:h}):O);return{top:(H.top-X.top+M.top)/K.y,bottom:(X.bottom-H.bottom+M.bottom)/K.y,left:(H.left-X.left+M.left)/K.x,right:(X.right-H.right+M.right)/K.x}}const ZS=a=>({name:"arrow",options:a,async fn(i){const{x:n,y:t,placement:l,rects:s,platform:c,elements:d,middlewareData:h}=i,{element:m,padding:v=0}=Hs(a,i)||{};if(m==null)return{};const g=q9(v),S={x:n,y:t},w=X2(l),M=K2(w),R=await c.getDimensions(m),C=w==="y",H=C?"top":"left",O=C?"bottom":"right",Y=C?"clientHeight":"clientWidth",K=s.reference[M]+s.reference[w]-S[w]-s.floating[M],X=S[w]-s.reference[w],re=await(c.getOffsetParent==null?void 0:c.getOffsetParent(m));let V=re?re[Y]:0;(!V||!await(c.isElement==null?void 0:c.isElement(re)))&&(V=d.floating[Y]||s.floating[M]);const _=K/2-X/2,E=V/2-R[M]/2-1,D=eo(g[H],E),q=eo(g[O],E),k=D,z=V-R[M]-q,B=V/2-R[M]/2+_,U=p2(k,B,z),T=!h.arrow&&Ps(l)!=null&&B!==U&&s.reference[M]/2-(B<k?D:q)-R[M]/2<0,N=T?B<k?B-k:B-z:0;return{[w]:S[w]+N,data:{[w]:U,centerOffset:B-U-N,...T&&{alignmentOffset:N}},reset:T}}}),VS=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(i){var n,t;const{placement:l,middlewareData:s,rects:c,initialPlacement:d,platform:h,elements:m}=i,{mainAxis:v=!0,crossAxis:g=!0,fallbackPlacements:S,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:R=!0,...C}=Hs(a,i);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const H=ll(l),O=to(d),Y=ll(d)===d,K=await(h.isRTL==null?void 0:h.isRTL(m.floating)),X=S||(Y||!R?[xc(d)]:jS(d)),re=M!=="none";!S&&re&&X.push(...IS(d,R,M,K));const V=[d,...X],_=await U9(i,C),E=[];let D=((t=s.flip)==null?void 0:t.overflows)||[];if(v&&E.push(_[H]),g){const B=YS(l,c,K);E.push(_[B[0]],_[B[1]])}if(D=[...D,{placement:l,overflows:E}],!E.every(B=>B<=0)){var q,k;const B=(((q=s.flip)==null?void 0:q.index)||0)+1,U=V[B];if(U)return{data:{index:B,overflows:D},reset:{placement:U}};let T=(k=D.filter(N=>N.overflows[0]<=0).sort((N,L)=>N.overflows[1]-L.overflows[1])[0])==null?void 0:k.placement;if(!T)switch(w){case"bestFit":{var z;const N=(z=D.filter(L=>{if(re){const $=to(L.placement);return $===O||$==="y"}return!0}).map(L=>[L.placement,L.overflows.filter($=>$>0).reduce(($,A)=>$+A,0)]).sort((L,$)=>L[1]-$[1])[0])==null?void 0:z[0];N&&(T=N);break}case"initialPlacement":T=d;break}if(l!==T)return{reset:{placement:T}}}return{}}}};async function WS(a,i){const{placement:n,platform:t,elements:l}=a,s=await(t.isRTL==null?void 0:t.isRTL(l.floating)),c=ll(n),d=Ps(n),h=to(n)==="y",m=["left","top"].includes(c)?-1:1,v=s&&h?-1:1,g=Hs(i,a);let{mainAxis:S,crossAxis:w,alignmentAxis:M}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return d&&typeof M=="number"&&(w=d==="end"?M*-1:M),h?{x:w*v,y:S*m}:{x:S*m,y:w*v}}const QS=function(a){return a===void 0&&(a=0),{name:"offset",options:a,async fn(i){var n,t;const{x:l,y:s,placement:c,middlewareData:d}=i,h=await WS(i,a);return c===((n=d.offset)==null?void 0:n.placement)&&(t=d.arrow)!=null&&t.alignmentOffset?{}:{x:l+h.x,y:s+h.y,data:{...h,placement:c}}}}},KS=function(a){return a===void 0&&(a={}),{name:"shift",options:a,async fn(i){const{x:n,y:t,placement:l}=i,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:C=>{let{x:H,y:O}=C;return{x:H,y:O}}},...h}=Hs(a,i),m={x:n,y:t},v=await U9(i,h),g=to(ll(l)),S=L9(g);let w=m[S],M=m[g];if(s){const C=S==="y"?"top":"left",H=S==="y"?"bottom":"right",O=w+v[C],Y=w-v[H];w=p2(O,w,Y)}if(c){const C=g==="y"?"top":"left",H=g==="y"?"bottom":"right",O=M+v[C],Y=M-v[H];M=p2(O,M,Y)}const R=d.fn({...i,[S]:w,[g]:M});return{...R,data:{x:R.x-n,y:R.y-t,enabled:{[S]:s,[g]:c}}}}}};function jc(){return typeof window<"u"}function uo(a){return H9(a)?(a.nodeName||"").toLowerCase():"#document"}function pr(a){var i;return(a==null||(i=a.ownerDocument)==null?void 0:i.defaultView)||window}function va(a){var i;return(i=(H9(a)?a.ownerDocument:a.document)||window.document)==null?void 0:i.documentElement}function H9(a){return jc()?a instanceof Node||a instanceof pr(a).Node:!1}function Fn(a){return jc()?a instanceof Element||a instanceof pr(a).Element:!1}function ma(a){return jc()?a instanceof HTMLElement||a instanceof pr(a).HTMLElement:!1}function v4(a){return!jc()||typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof pr(a).ShadowRoot}function zs(a){const{overflow:i,overflowX:n,overflowY:t,display:l}=kr(a);return/auto|scroll|overlay|hidden|clip/.test(i+t+n)&&!["inline","contents"].includes(l)}function XS(a){return["table","td","th"].includes(uo(a))}function Bc(a){return[":popover-open",":modal"].some(i=>{try{return a.matches(i)}catch{return!1}})}function $2(a){const i=J2(),n=Fn(a)?kr(a):a;return["transform","translate","scale","rotate","perspective"].some(t=>n[t]?n[t]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!i&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!i&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(t=>(n.willChange||"").includes(t))||["paint","layout","strict","content"].some(t=>(n.contain||"").includes(t))}function $S(a){let i=Ci(a);for(;ma(i)&&!no(i);){if($2(i))return i;if(Bc(i))return null;i=Ci(i)}return null}function J2(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function no(a){return["html","body","#document"].includes(uo(a))}function kr(a){return pr(a).getComputedStyle(a)}function Ic(a){return Fn(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function Ci(a){if(uo(a)==="html")return a;const i=a.assignedSlot||a.parentNode||v4(a)&&a.host||va(a);return v4(i)?i.host:i}function P9(a){const i=Ci(a);return no(i)?a.ownerDocument?a.ownerDocument.body:a.body:ma(i)&&zs(i)?i:P9(i)}function Ls(a,i,n){var t;i===void 0&&(i=[]),n===void 0&&(n=!0);const l=P9(a),s=l===((t=a.ownerDocument)==null?void 0:t.body),c=pr(l);if(s){const d=v2(c);return i.concat(c,c.visualViewport||[],zs(l)?l:[],d&&n?Ls(d):[])}return i.concat(l,Ls(l,[],n))}function v2(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function z9(a){const i=kr(a);let n=parseFloat(i.width)||0,t=parseFloat(i.height)||0;const l=ma(a),s=l?a.offsetWidth:n,c=l?a.offsetHeight:t,d=Tc(n)!==s||Tc(t)!==c;return d&&(n=s,t=c),{width:n,height:t,$:d}}function em(a){return Fn(a)?a:a.contextElement}function $l(a){const i=em(a);if(!ma(i))return pa(1);const n=i.getBoundingClientRect(),{width:t,height:l,$:s}=z9(i);let c=(s?Tc(n.width):n.width)/t,d=(s?Tc(n.height):n.height)/l;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}const JS=pa(0);function Y9(a){const i=pr(a);return!J2()||!i.visualViewport?JS:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function eE(a,i,n){return i===void 0&&(i=!1),!n||i&&n!==pr(a)?!1:i}function ol(a,i,n,t){i===void 0&&(i=!1),n===void 0&&(n=!1);const l=a.getBoundingClientRect(),s=em(a);let c=pa(1);i&&(t?Fn(t)&&(c=$l(t)):c=$l(a));const d=eE(s,n,t)?Y9(s):pa(0);let h=(l.left+d.x)/c.x,m=(l.top+d.y)/c.y,v=l.width/c.x,g=l.height/c.y;if(s){const S=pr(s),w=t&&Fn(t)?pr(t):t;let M=S,R=v2(M);for(;R&&t&&w!==M;){const C=$l(R),H=R.getBoundingClientRect(),O=kr(R),Y=H.left+(R.clientLeft+parseFloat(O.paddingLeft))*C.x,K=H.top+(R.clientTop+parseFloat(O.paddingTop))*C.y;h*=C.x,m*=C.y,v*=C.x,g*=C.y,h+=Y,m+=K,M=pr(R),R=v2(M)}}return Mc({width:v,height:g,x:h,y:m})}function tm(a,i){const n=Ic(a).scrollLeft;return i?i.left+n:ol(va(a)).left+n}function j9(a,i,n){n===void 0&&(n=!1);const t=a.getBoundingClientRect(),l=t.left+i.scrollLeft-(n?0:tm(a,t)),s=t.top+i.scrollTop;return{x:l,y:s}}function tE(a){let{elements:i,rect:n,offsetParent:t,strategy:l}=a;const s=l==="fixed",c=va(t),d=i?Bc(i.floating):!1;if(t===c||d&&s)return n;let h={scrollLeft:0,scrollTop:0},m=pa(1);const v=pa(0),g=ma(t);if((g||!g&&!s)&&((uo(t)!=="body"||zs(c))&&(h=Ic(t)),ma(t))){const w=ol(t);m=$l(t),v.x=w.x+t.clientLeft,v.y=w.y+t.clientTop}const S=c&&!g&&!s?j9(c,h,!0):pa(0);return{width:n.width*m.x,height:n.height*m.y,x:n.x*m.x-h.scrollLeft*m.x+v.x+S.x,y:n.y*m.y-h.scrollTop*m.y+v.y+S.y}}function nE(a){return Array.from(a.getClientRects())}function rE(a){const i=va(a),n=Ic(a),t=a.ownerDocument.body,l=rl(i.scrollWidth,i.clientWidth,t.scrollWidth,t.clientWidth),s=rl(i.scrollHeight,i.clientHeight,t.scrollHeight,t.clientHeight);let c=-n.scrollLeft+tm(a);const d=-n.scrollTop;return kr(t).direction==="rtl"&&(c+=rl(i.clientWidth,t.clientWidth)-l),{width:l,height:s,x:c,y:d}}function aE(a,i){const n=pr(a),t=va(a),l=n.visualViewport;let s=t.clientWidth,c=t.clientHeight,d=0,h=0;if(l){s=l.width,c=l.height;const m=J2();(!m||m&&i==="fixed")&&(d=l.offsetLeft,h=l.offsetTop)}return{width:s,height:c,x:d,y:h}}function iE(a,i){const n=ol(a,!0,i==="fixed"),t=n.top+a.clientTop,l=n.left+a.clientLeft,s=ma(a)?$l(a):pa(1),c=a.clientWidth*s.x,d=a.clientHeight*s.y,h=l*s.x,m=t*s.y;return{width:c,height:d,x:h,y:m}}function g4(a,i,n){let t;if(i==="viewport")t=aE(a,n);else if(i==="document")t=rE(va(a));else if(Fn(i))t=iE(i,n);else{const l=Y9(a);t={x:i.x-l.x,y:i.y-l.y,width:i.width,height:i.height}}return Mc(t)}function B9(a,i){const n=Ci(a);return n===i||!Fn(n)||no(n)?!1:kr(n).position==="fixed"||B9(n,i)}function lE(a,i){const n=i.get(a);if(n)return n;let t=Ls(a,[],!1).filter(d=>Fn(d)&&uo(d)!=="body"),l=null;const s=kr(a).position==="fixed";let c=s?Ci(a):a;for(;Fn(c)&&!no(c);){const d=kr(c),h=$2(c);!h&&d.position==="fixed"&&(l=null),(s?!h&&!l:!h&&d.position==="static"&&!!l&&["absolute","fixed"].includes(l.position)||zs(c)&&!h&&B9(a,c))?t=t.filter(v=>v!==c):l=d,c=Ci(c)}return i.set(a,t),t}function oE(a){let{element:i,boundary:n,rootBoundary:t,strategy:l}=a;const c=[...n==="clippingAncestors"?Bc(i)?[]:lE(i,this._c):[].concat(n),t],d=c[0],h=c.reduce((m,v)=>{const g=g4(i,v,l);return m.top=rl(g.top,m.top),m.right=eo(g.right,m.right),m.bottom=eo(g.bottom,m.bottom),m.left=rl(g.left,m.left),m},g4(i,d,l));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function sE(a){const{width:i,height:n}=z9(a);return{width:i,height:n}}function uE(a,i,n){const t=ma(i),l=va(i),s=n==="fixed",c=ol(a,!0,s,i);let d={scrollLeft:0,scrollTop:0};const h=pa(0);if(t||!t&&!s)if((uo(i)!=="body"||zs(l))&&(d=Ic(i)),t){const S=ol(i,!0,s,i);h.x=S.x+i.clientLeft,h.y=S.y+i.clientTop}else l&&(h.x=tm(l));const m=l&&!t&&!s?j9(l,d):pa(0),v=c.left+d.scrollLeft-h.x-m.x,g=c.top+d.scrollTop-h.y-m.y;return{x:v,y:g,width:c.width,height:c.height}}function u1(a){return kr(a).position==="static"}function y4(a,i){if(!ma(a)||kr(a).position==="fixed")return null;if(i)return i(a);let n=a.offsetParent;return va(a)===n&&(n=n.ownerDocument.body),n}function I9(a,i){const n=pr(a);if(Bc(a))return n;if(!ma(a)){let l=Ci(a);for(;l&&!no(l);){if(Fn(l)&&!u1(l))return l;l=Ci(l)}return n}let t=y4(a,i);for(;t&&XS(t)&&u1(t);)t=y4(t,i);return t&&no(t)&&u1(t)&&!$2(t)?n:t||$S(a)||n}const cE=async function(a){const i=this.getOffsetParent||I9,n=this.getDimensions,t=await n(a.floating);return{reference:uE(a.reference,await i(a.floating),a.strategy),floating:{x:0,y:0,width:t.width,height:t.height}}};function fE(a){return kr(a).direction==="rtl"}const dE={convertOffsetParentRelativeRectToViewportRelativeRect:tE,getDocumentElement:va,getClippingRect:oE,getOffsetParent:I9,getElementRects:cE,getClientRects:nE,getDimensions:sE,getScale:$l,isElement:Fn,isRTL:fE};function F9(a,i){return a.x===i.x&&a.y===i.y&&a.width===i.width&&a.height===i.height}function hE(a,i){let n=null,t;const l=va(a);function s(){var d;clearTimeout(t),(d=n)==null||d.disconnect(),n=null}function c(d,h){d===void 0&&(d=!1),h===void 0&&(h=1),s();const m=a.getBoundingClientRect(),{left:v,top:g,width:S,height:w}=m;if(d||i(),!S||!w)return;const M=nc(g),R=nc(l.clientWidth-(v+S)),C=nc(l.clientHeight-(g+w)),H=nc(v),Y={rootMargin:-M+"px "+-R+"px "+-C+"px "+-H+"px",threshold:rl(0,eo(1,h))||1};let K=!0;function X(re){const V=re[0].intersectionRatio;if(V!==h){if(!K)return c();V?c(!1,V):t=setTimeout(()=>{c(!1,1e-7)},1e3)}V===1&&!F9(m,a.getBoundingClientRect())&&c(),K=!1}try{n=new IntersectionObserver(X,{...Y,root:l.ownerDocument})}catch{n=new IntersectionObserver(X,Y)}n.observe(a)}return c(!0),s}function G9(a,i,n,t){t===void 0&&(t={});const{ancestorScroll:l=!0,ancestorResize:s=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:h=!1}=t,m=em(a),v=l||s?[...m?Ls(m):[],...Ls(i)]:[];v.forEach(H=>{l&&H.addEventListener("scroll",n,{passive:!0}),s&&H.addEventListener("resize",n)});const g=m&&d?hE(m,n):null;let S=-1,w=null;c&&(w=new ResizeObserver(H=>{let[O]=H;O&&O.target===m&&w&&(w.unobserve(i),cancelAnimationFrame(S),S=requestAnimationFrame(()=>{var Y;(Y=w)==null||Y.observe(i)})),n()}),m&&!h&&w.observe(m),w.observe(i));let M,R=h?ol(a):null;h&&C();function C(){const H=ol(a);R&&!F9(R,H)&&n(),R=H,M=requestAnimationFrame(C)}return n(),()=>{var H;v.forEach(O=>{l&&O.removeEventListener("scroll",n),s&&O.removeEventListener("resize",n)}),g==null||g(),(H=w)==null||H.disconnect(),w=null,h&&cancelAnimationFrame(M)}}const Z9=QS,pE=KS,V9=VS,g2=ZS,y2=(a,i,n)=>{const t=new Map,l={platform:dE,...n},s={...l.platform,_c:t};return GS(a,i,{...l,platform:s})};var c1={exports:{}};/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/var b4;function mE(){return b4||(b4=1,function(a){(function(){var i={}.hasOwnProperty;function n(){for(var s="",c=0;c<arguments.length;c++){var d=arguments[c];d&&(s=l(s,t(d)))}return s}function t(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var c="";for(var d in s)i.call(s,d)&&s[d]&&(c=l(c,d));return c}function l(s,c){return c?s?s+" "+c:s+c:s}a.exports?(n.default=n,a.exports=n):window.classNames=n})()}(c1)),c1.exports}var vE=mE();const b2=mr(vE);var _4={};const gE="react-tooltip-core-styles",yE="react-tooltip-base-styles",S4={core:!1,base:!1};function E4({css:a,id:i=yE,type:n="base",ref:t}){var l,s;if(!a||typeof document>"u"||S4[n]||n==="core"&&typeof process<"u"&&(!((l=process==null?void 0:_4)===null||l===void 0)&&l.REACT_TOOLTIP_DISABLE_CORE_STYLES)||n!=="base"&&typeof process<"u"&&(!((s=process==null?void 0:_4)===null||s===void 0)&&s.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;n==="core"&&(i=gE),t||(t={});const{insertAt:c}=t;if(document.getElementById(i))return;const d=document.head||document.getElementsByTagName("head")[0],h=document.createElement("style");h.id=i,h.type="text/css",c==="top"&&d.firstChild?d.insertBefore(h,d.firstChild):d.appendChild(h),h.styleSheet?h.styleSheet.cssText=a:h.appendChild(document.createTextNode(a)),S4[n]=!0}const w4=async({elementReference:a=null,tooltipReference:i=null,tooltipArrowReference:n=null,place:t="top",offset:l=10,strategy:s="absolute",middlewares:c=[Z9(Number(l)),V9({fallbackAxisSideDirection:"start"}),pE({padding:5})],border:d})=>{if(!a)return{tooltipStyles:{},tooltipArrowStyles:{},place:t};if(i===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:t};const h=c;return n?(h.push(g2({element:n,padding:5})),y2(a,i,{placement:t,strategy:s,middleware:h}).then(({x:m,y:v,placement:g,middlewareData:S})=>{var w,M;const R={left:`${m}px`,top:`${v}px`,border:d},{x:C,y:H}=(w=S.arrow)!==null&&w!==void 0?w:{x:0,y:0},O=(M={top:"bottom",right:"left",bottom:"top",left:"right"}[g.split("-")[0]])!==null&&M!==void 0?M:"bottom",Y=d&&{borderBottom:d,borderRight:d};let K=0;if(d){const X=`${d}`.match(/(\d+)px/);K=X!=null&&X[1]?Number(X[1]):1}return{tooltipStyles:R,tooltipArrowStyles:{left:C!=null?`${C}px`:"",top:H!=null?`${H}px`:"",right:"",bottom:"",...Y,[O]:`-${4+K}px`},place:g}})):y2(a,i,{placement:"bottom",strategy:s,middleware:h}).then(({x:m,y:v,placement:g})=>({tooltipStyles:{left:`${m}px`,top:`${v}px`},tooltipArrowStyles:{},place:g}))},D4=(a,i)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(a,i),T4=(a,i,n)=>{let t=null;const l=function(...s){const c=()=>{t=null};!t&&(a.apply(this,s),t=setTimeout(c,i))};return l.cancel=()=>{t&&(clearTimeout(t),t=null)},l},x4=a=>a!==null&&!Array.isArray(a)&&typeof a=="object",_2=(a,i)=>{if(a===i)return!0;if(Array.isArray(a)&&Array.isArray(i))return a.length===i.length&&a.every((l,s)=>_2(l,i[s]));if(Array.isArray(a)!==Array.isArray(i))return!1;if(!x4(a)||!x4(i))return a===i;const n=Object.keys(a),t=Object.keys(i);return n.length===t.length&&n.every(l=>_2(a[l],i[l]))},bE=a=>{if(!(a instanceof HTMLElement||a instanceof SVGElement))return!1;const i=getComputedStyle(a);return["overflow","overflow-x","overflow-y"].some(n=>{const t=i.getPropertyValue(n);return t==="auto"||t==="scroll"})},M4=a=>{if(!a)return null;let i=a.parentElement;for(;i;){if(bE(i))return i;i=i.parentElement}return document.scrollingElement||document.documentElement},_E=typeof window<"u"?y.useLayoutEffect:y.useEffect,xr=a=>{a.current&&(clearTimeout(a.current),a.current=null)},SE="DEFAULT_TOOLTIP_ID",EE={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},wE=y.createContext({getTooltipData:()=>EE});function W9(a=SE){return y.useContext(wE).getTooltipData(a)}var Ql={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},f1={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const DE=({forwardRef:a,id:i,className:n,classNameArrow:t,variant:l="dark",anchorId:s,anchorSelect:c,place:d="top",offset:h=10,events:m=["hover"],openOnClick:v=!1,positionStrategy:g="absolute",middlewares:S,wrapper:w,delayShow:M=0,delayHide:R=0,float:C=!1,hidden:H=!1,noArrow:O=!1,clickable:Y=!1,closeOnEsc:K=!1,closeOnScroll:X=!1,closeOnResize:re=!1,openEvents:V,closeEvents:_,globalCloseEvents:E,imperativeModeOnly:D,style:q,position:k,afterShow:z,afterHide:B,disableTooltip:U,content:T,contentWrapperRef:N,isOpen:L,defaultIsOpen:$=!1,setIsOpen:A,activeAnchor:j,setActiveAnchor:oe,border:ae,opacity:he,arrowColor:fe,role:me="tooltip"})=>{var ze;const Re=y.useRef(null),qt=y.useRef(null),Ut=y.useRef(null),mt=y.useRef(null),Ht=y.useRef(null),[lt,nt]=y.useState({tooltipStyles:{},tooltipArrowStyles:{},place:d}),[Ue,Rn]=y.useState(!1),[xt,Nn]=y.useState(!1),[Je,Wn]=y.useState(null),zn=y.useRef(!1),qe=y.useRef(null),{anchorRefs:ge,setActiveAnchor:He}=W9(i),Ae=y.useRef(!1),[Ze,ot]=y.useState([]),Rt=y.useRef(!1),Mt=v||m.includes("click"),vr=Mt||(V==null?void 0:V.click)||(V==null?void 0:V.dblclick)||(V==null?void 0:V.mousedown),En=V?{...V}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!V&&Mt&&Object.assign(En,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const kn=_?{..._}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!_&&Mt&&Object.assign(kn,{mouseleave:!1,blur:!1,mouseout:!1});const Ft=E?{...E}:{escape:K||!1,scroll:X||!1,resize:re||!1,clickOutsideAnchor:vr||!1};D&&(Object.assign(En,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(kn,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(Ft,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),_E(()=>(Rt.current=!0,()=>{Rt.current=!1}),[]);const We=pe=>{Rt.current&&(pe&&Nn(!0),setTimeout(()=>{Rt.current&&(A==null||A(pe),L===void 0&&Rn(pe))},10))};y.useEffect(()=>{if(L===void 0)return()=>null;L&&Nn(!0);const pe=setTimeout(()=>{Rn(L)},10);return()=>{clearTimeout(pe)}},[L]),y.useEffect(()=>{if(Ue!==zn.current)if(xr(Ht),zn.current=Ue,Ue)z==null||z();else{const pe=(ye=>{const we=ye.match(/^([\d.]+)(ms|s)$/);if(!we)return 0;const[,Be,At]=we;return Number(Be)*(At==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Ht.current=setTimeout(()=>{Nn(!1),Wn(null),B==null||B()},pe+25)}},[Ue]);const Pt=pe=>{nt(ye=>_2(ye,pe)?ye:pe)},ln=(pe=M)=>{xr(Ut),xt?We(!0):Ut.current=setTimeout(()=>{We(!0)},pe)},vn=(pe=R)=>{xr(mt),mt.current=setTimeout(()=>{Ae.current||We(!1)},pe)},qr=pe=>{var ye;if(!pe)return;const we=(ye=pe.currentTarget)!==null&&ye!==void 0?ye:pe.target;if(!(we!=null&&we.isConnected))return oe(null),void He({current:null});M?ln():We(!0),oe(we),He({current:we}),xr(mt)},Ln=()=>{Y?vn(R||100):R?vn():We(!1),xr(Ut)},qn=({x:pe,y:ye})=>{var we;const Be={getBoundingClientRect:()=>({x:pe,y:ye,width:0,height:0,top:ye,left:pe,right:pe,bottom:ye})};w4({place:(we=Je==null?void 0:Je.place)!==null&&we!==void 0?we:d,offset:h,elementReference:Be,tooltipReference:Re.current,tooltipArrowReference:qt.current,strategy:g,middlewares:S,border:ae}).then(At=>{Pt(At)})},wn=pe=>{if(!pe)return;const ye=pe,we={x:ye.clientX,y:ye.clientY};qn(we),qe.current=we},rt=pe=>{var ye;if(!Ue)return;const we=pe.target;we.isConnected&&(!((ye=Re.current)===null||ye===void 0)&&ye.contains(we)||[document.querySelector(`[id='${s}']`),...Ze].some(Be=>Be==null?void 0:Be.contains(we))||(We(!1),xr(Ut)))},Qn=T4(qr,50),Ot=T4(Ln,50),$e=pe=>{Ot.cancel(),Qn(pe)},Te=()=>{Qn.cancel(),Ot()},Ye=y.useCallback(()=>{var pe,ye;const we=(pe=Je==null?void 0:Je.position)!==null&&pe!==void 0?pe:k;we?qn(we):C?qe.current&&qn(qe.current):j!=null&&j.isConnected&&w4({place:(ye=Je==null?void 0:Je.place)!==null&&ye!==void 0?ye:d,offset:h,elementReference:j,tooltipReference:Re.current,tooltipArrowReference:qt.current,strategy:g,middlewares:S,border:ae}).then(Be=>{Rt.current&&Pt(Be)})},[Ue,j,T,q,d,Je==null?void 0:Je.place,h,g,k,Je==null?void 0:Je.position,C]);y.useEffect(()=>{var pe,ye;const we=new Set(ge);Ze.forEach(ce=>{U!=null&&U(ce)||we.add({current:ce})});const Be=document.querySelector(`[id='${s}']`);Be&&!(U!=null&&U(Be))&&we.add({current:Be});const At=()=>{We(!1)},Dn=M4(j),gn=M4(Re.current);Ft.scroll&&(window.addEventListener("scroll",At),Dn==null||Dn.addEventListener("scroll",At),gn==null||gn.addEventListener("scroll",At));let zt=null;Ft.resize?window.addEventListener("resize",At):j&&Re.current&&(zt=G9(j,Re.current,Ye,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const Yt=ce=>{ce.key==="Escape"&&We(!1)};Ft.escape&&window.addEventListener("keydown",Yt),Ft.clickOutsideAnchor&&window.addEventListener("click",rt);const Me=[],dn=ce=>!!(ce!=null&&ce.target&&(j!=null&&j.contains(ce.target))),gt=ce=>{Ue&&dn(ce)||qr(ce)},tr=ce=>{Ue&&dn(ce)&&Ln()},et=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],yt=["click","dblclick","mousedown","mouseup"];Object.entries(En).forEach(([ce,Ie])=>{Ie&&(et.includes(ce)?Me.push({event:ce,listener:$e}):yt.includes(ce)&&Me.push({event:ce,listener:gt}))}),Object.entries(kn).forEach(([ce,Ie])=>{Ie&&(et.includes(ce)?Me.push({event:ce,listener:Te}):yt.includes(ce)&&Me.push({event:ce,listener:tr}))}),C&&Me.push({event:"pointermove",listener:wn});const Ee=()=>{Ae.current=!0},F=()=>{Ae.current=!1,Ln()},ue=Y&&(kn.mouseout||kn.mouseleave);return ue&&((pe=Re.current)===null||pe===void 0||pe.addEventListener("mouseover",Ee),(ye=Re.current)===null||ye===void 0||ye.addEventListener("mouseout",F)),Me.forEach(({event:ce,listener:Ie})=>{we.forEach(dt=>{var ht;(ht=dt.current)===null||ht===void 0||ht.addEventListener(ce,Ie)})}),()=>{var ce,Ie;Ft.scroll&&(window.removeEventListener("scroll",At),Dn==null||Dn.removeEventListener("scroll",At),gn==null||gn.removeEventListener("scroll",At)),Ft.resize?window.removeEventListener("resize",At):zt==null||zt(),Ft.clickOutsideAnchor&&window.removeEventListener("click",rt),Ft.escape&&window.removeEventListener("keydown",Yt),ue&&((ce=Re.current)===null||ce===void 0||ce.removeEventListener("mouseover",Ee),(Ie=Re.current)===null||Ie===void 0||Ie.removeEventListener("mouseout",F)),Me.forEach(({event:dt,listener:ht})=>{we.forEach(Nt=>{var Gt;(Gt=Nt.current)===null||Gt===void 0||Gt.removeEventListener(dt,ht)})})}},[j,Ye,xt,ge,Ze,V,_,E,Mt,M,R]),y.useEffect(()=>{var pe,ye;let we=(ye=(pe=Je==null?void 0:Je.anchorSelect)!==null&&pe!==void 0?pe:c)!==null&&ye!==void 0?ye:"";!we&&i&&(we=`[data-tooltip-id='${i.replace(/'/g,"\\'")}']`);const Be=new MutationObserver(At=>{const Dn=[],gn=[];At.forEach(zt=>{if(zt.type==="attributes"&&zt.attributeName==="data-tooltip-id"&&(zt.target.getAttribute("data-tooltip-id")===i?Dn.push(zt.target):zt.oldValue===i&&gn.push(zt.target)),zt.type==="childList"){if(j){const Yt=[...zt.removedNodes].filter(Me=>Me.nodeType===1);if(we)try{gn.push(...Yt.filter(Me=>Me.matches(we))),gn.push(...Yt.flatMap(Me=>[...Me.querySelectorAll(we)]))}catch{}Yt.some(Me=>{var dn;return!!(!((dn=Me==null?void 0:Me.contains)===null||dn===void 0)&&dn.call(Me,j))&&(Nn(!1),We(!1),oe(null),xr(Ut),xr(mt),!0)})}if(we)try{const Yt=[...zt.addedNodes].filter(Me=>Me.nodeType===1);Dn.push(...Yt.filter(Me=>Me.matches(we))),Dn.push(...Yt.flatMap(Me=>[...Me.querySelectorAll(we)]))}catch{}}}),(Dn.length||gn.length)&&ot(zt=>[...zt.filter(Yt=>!gn.includes(Yt)),...Dn])});return Be.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Be.disconnect()}},[i,c,Je==null?void 0:Je.anchorSelect,j]),y.useEffect(()=>{Ye()},[Ye]),y.useEffect(()=>{if(!(N!=null&&N.current))return()=>null;const pe=new ResizeObserver(()=>{setTimeout(()=>Ye())});return pe.observe(N.current),()=>{pe.disconnect()}},[T,N==null?void 0:N.current]),y.useEffect(()=>{var pe;const ye=document.querySelector(`[id='${s}']`),we=[...Ze,ye];j&&we.includes(j)||oe((pe=Ze[0])!==null&&pe!==void 0?pe:ye)},[s,Ze,j]),y.useEffect(()=>($&&We(!0),()=>{xr(Ut),xr(mt)}),[]),y.useEffect(()=>{var pe;let ye=(pe=Je==null?void 0:Je.anchorSelect)!==null&&pe!==void 0?pe:c;if(!ye&&i&&(ye=`[data-tooltip-id='${i.replace(/'/g,"\\'")}']`),ye)try{const we=Array.from(document.querySelectorAll(ye));ot(we)}catch{ot([])}},[i,c,Je==null?void 0:Je.anchorSelect]),y.useEffect(()=>{Ut.current&&(xr(Ut),ln(M))},[M]);const Jt=(ze=Je==null?void 0:Je.content)!==null&&ze!==void 0?ze:T,vt=Ue&&Object.keys(lt.tooltipStyles).length>0;return y.useImperativeHandle(a,()=>({open:pe=>{if(pe!=null&&pe.anchorSelect)try{document.querySelector(pe.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${pe.anchorSelect}" is not a valid CSS selector`)}Wn(pe??null),pe!=null&&pe.delay?ln(pe.delay):We(!0)},close:pe=>{pe!=null&&pe.delay?vn(pe.delay):We(!1)},activeAnchor:j,place:lt.place,isOpen:!!(xt&&!H&&Jt&&vt)})),xt&&!H&&Jt?Z.createElement(w,{id:i,role:me,className:b2("react-tooltip",Ql.tooltip,f1.tooltip,f1[l],n,`react-tooltip__place-${lt.place}`,Ql[vt?"show":"closing"],vt?"react-tooltip__show":"react-tooltip__closing",g==="fixed"&&Ql.fixed,Y&&Ql.clickable),onTransitionEnd:pe=>{xr(Ht),Ue||pe.propertyName!=="opacity"||(Nn(!1),Wn(null),B==null||B())},style:{...q,...lt.tooltipStyles,opacity:he!==void 0&&vt?he:void 0},ref:Re},Jt,Z.createElement(w,{className:b2("react-tooltip-arrow",Ql.arrow,f1.arrow,t,O&&Ql.noArrow),style:{...lt.tooltipArrowStyles,background:fe?`linear-gradient(to right bottom, transparent 50%, ${fe} 50%)`:void 0},ref:qt})):null},TE=({content:a})=>Z.createElement("span",{dangerouslySetInnerHTML:{__html:a}}),xE=Z.forwardRef(({id:a,anchorId:i,anchorSelect:n,content:t,html:l,render:s,className:c,classNameArrow:d,variant:h="dark",place:m="top",offset:v=10,wrapper:g="div",children:S=null,events:w=["hover"],openOnClick:M=!1,positionStrategy:R="absolute",middlewares:C,delayShow:H=0,delayHide:O=0,float:Y=!1,hidden:K=!1,noArrow:X=!1,clickable:re=!1,closeOnEsc:V=!1,closeOnScroll:_=!1,closeOnResize:E=!1,openEvents:D,closeEvents:q,globalCloseEvents:k,imperativeModeOnly:z=!1,style:B,position:U,isOpen:T,defaultIsOpen:N=!1,disableStyleInjection:L=!1,border:$,opacity:A,arrowColor:j,setIsOpen:oe,afterShow:ae,afterHide:he,disableTooltip:fe,role:me="tooltip"},ze)=>{const[Re,qt]=y.useState(t),[Ut,mt]=y.useState(l),[Ht,lt]=y.useState(m),[nt,Ue]=y.useState(h),[Rn,xt]=y.useState(v),[Nn,Je]=y.useState(H),[Wn,zn]=y.useState(O),[qe,ge]=y.useState(Y),[He,Ae]=y.useState(K),[Ze,ot]=y.useState(g),[Rt,Mt]=y.useState(w),[vr,En]=y.useState(R),[kn,Ft]=y.useState(null),[We,Pt]=y.useState(null),ln=y.useRef(L),{anchorRefs:vn,activeAnchor:qr}=W9(a),Ln=Ot=>Ot==null?void 0:Ot.getAttributeNames().reduce(($e,Te)=>{var Ye;return Te.startsWith("data-tooltip-")&&($e[Te.replace(/^data-tooltip-/,"")]=(Ye=Ot==null?void 0:Ot.getAttribute(Te))!==null&&Ye!==void 0?Ye:null),$e},{}),qn=Ot=>{const $e={place:Te=>{var Ye;lt((Ye=Te)!==null&&Ye!==void 0?Ye:m)},content:Te=>{qt(Te??t)},html:Te=>{mt(Te??l)},variant:Te=>{var Ye;Ue((Ye=Te)!==null&&Ye!==void 0?Ye:h)},offset:Te=>{xt(Te===null?v:Number(Te))},wrapper:Te=>{var Ye;ot((Ye=Te)!==null&&Ye!==void 0?Ye:g)},events:Te=>{const Ye=Te==null?void 0:Te.split(" ");Mt(Ye??w)},"position-strategy":Te=>{var Ye;En((Ye=Te)!==null&&Ye!==void 0?Ye:R)},"delay-show":Te=>{Je(Te===null?H:Number(Te))},"delay-hide":Te=>{zn(Te===null?O:Number(Te))},float:Te=>{ge(Te===null?Y:Te==="true")},hidden:Te=>{Ae(Te===null?K:Te==="true")},"class-name":Te=>{Ft(Te)}};Object.values($e).forEach(Te=>Te(null)),Object.entries(Ot).forEach(([Te,Ye])=>{var Jt;(Jt=$e[Te])===null||Jt===void 0||Jt.call($e,Ye)})};y.useEffect(()=>{qt(t)},[t]),y.useEffect(()=>{mt(l)},[l]),y.useEffect(()=>{lt(m)},[m]),y.useEffect(()=>{Ue(h)},[h]),y.useEffect(()=>{xt(v)},[v]),y.useEffect(()=>{Je(H)},[H]),y.useEffect(()=>{zn(O)},[O]),y.useEffect(()=>{ge(Y)},[Y]),y.useEffect(()=>{Ae(K)},[K]),y.useEffect(()=>{En(R)},[R]),y.useEffect(()=>{ln.current!==L&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[L]),y.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:L==="core",disableBase:L}}))},[]),y.useEffect(()=>{var Ot;const $e=new Set(vn);let Te=n;if(!Te&&a&&(Te=`[data-tooltip-id='${a.replace(/'/g,"\\'")}']`),Te)try{document.querySelectorAll(Te).forEach(ye=>{$e.add({current:ye})})}catch{console.warn(`[react-tooltip] "${Te}" is not a valid CSS selector`)}const Ye=document.querySelector(`[id='${i}']`);if(Ye&&$e.add({current:Ye}),!$e.size)return()=>null;const Jt=(Ot=We??Ye)!==null&&Ot!==void 0?Ot:qr.current,vt=new MutationObserver(ye=>{ye.forEach(we=>{var Be;if(!Jt||we.type!=="attributes"||!(!((Be=we.attributeName)===null||Be===void 0)&&Be.startsWith("data-tooltip-")))return;const At=Ln(Jt);qn(At)})}),pe={attributes:!0,childList:!1,subtree:!1};if(Jt){const ye=Ln(Jt);qn(ye),vt.observe(Jt,pe)}return()=>{vt.disconnect()}},[vn,qr,We,i,n]),y.useEffect(()=>{B!=null&&B.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),$&&!D4("border",`${$}`)&&console.warn(`[react-tooltip] "${$}" is not a valid \`border\`.`),B!=null&&B.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),A&&!D4("opacity",`${A}`)&&console.warn(`[react-tooltip] "${A}" is not a valid \`opacity\`.`)},[]);let wn=S;const rt=y.useRef(null);if(s){const Ot=s({content:(We==null?void 0:We.getAttribute("data-tooltip-content"))||Re||null,activeAnchor:We});wn=Ot?Z.createElement("div",{ref:rt,className:"react-tooltip-content-wrapper"},Ot):null}else Re&&(wn=Re);Ut&&(wn=Z.createElement(TE,{content:Ut}));const Qn={forwardRef:ze,id:a,anchorId:i,anchorSelect:n,className:b2(c,kn),classNameArrow:d,content:wn,contentWrapperRef:rt,place:Ht,variant:nt,offset:Rn,wrapper:Ze,events:Rt,openOnClick:M,positionStrategy:vr,middlewares:C,delayShow:Nn,delayHide:Wn,float:qe,hidden:He,noArrow:X,clickable:re,closeOnEsc:V,closeOnScroll:_,closeOnResize:E,openEvents:D,closeEvents:q,globalCloseEvents:k,imperativeModeOnly:z,style:B,position:U,isOpen:T,defaultIsOpen:N,border:$,opacity:A,arrowColor:j,setIsOpen:oe,afterShow:ae,afterHide:he,disableTooltip:fe,activeAnchor:We,setActiveAnchor:Ot=>Pt(Ot),role:me};return Z.createElement(DE,{...Qn})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",a=>{a.detail.disableCore||E4({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),a.detail.disableBase||E4({css:`
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});function ME(a,i,n){for(var t=0,l=i.length,s;t<l;t++)(s||!(t in i))&&(s||(s=Array.prototype.slice.call(i,0,t)),s[t]=i[t]);return a.concat(s||Array.prototype.slice.call(i))}var O4;function S2(){return S2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},S2.apply(null,arguments)}var OE=function(i){return y.createElement("svg",S2({xmlns:"http://www.w3.org/2000/svg",width:24,height:12.4,viewBox:"0 0 24 12.4"},i),O4||(O4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M23.2.8 12.5 11.5c-.1.1-.2.1-.2.2-.1 0-.2.1-.3.1s-.2 0-.3-.1c-.1 0-.2-.1-.2-.2L.8.8"})))},A4,C4;function E2(){return E2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},E2.apply(null,arguments)}var Fc=function(i){return y.createElement("svg",E2({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,className:"info-svg",viewBox:"0 0 22.5 22.5"},i),A4||(A4=y.createElement("circle",{cx:11.2,cy:11.2,r:11.2,fill:"none",className:"bg"})),C4||(C4=y.createElement("g",{fill:"none"},y.createElement("path",{d:"M21.8 11.2c0 5.8-4.7 10.5-10.5 10.5C5.5 21.8.8 17 .8 11.2S5.5.7 11.3.7c5.7.1 10.5 4.8 10.5 10.5"}),y.createElement("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M21.8 11.2c0 5.8-4.7 10.5-10.5 10.5C5.5 21.8.8 17 .8 11.2S5.5.7 11.3.7c5.7.1 10.5 4.8 10.5 10.5"}),y.createElement("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M13.5 15.8h-.8c-.4 0-.8-.2-1.1-.4-.3-.3-.4-.7-.4-1.1v-3.8c0-.2-.1-.4-.2-.5s-.3-.2-.5-.2h-.7M10.9 6c-.1 0-.1 0-.2.1-.1 0-.1.1-.1.2v.2c0 .1.1.1.1.2.1.1.1.1.2.1h.2c.1 0 .1-.1.2-.1 0-.1.1-.1.1-.2s0-.2-.1-.3c-.2-.2-.3-.2-.4-.2"}))))},R4,N4;function w2(){return w2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},w2.apply(null,arguments)}var nm=function(i){return y.createElement("svg",w2({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,viewBox:"0 0 22.5 22.5"},i),R4||(R4=y.createElement("circle",{cx:11.2,cy:11.2,r:11.2,fill:"none",className:"bg"})),N4||(N4=y.createElement("g",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5},y.createElement("path",{d:"M11.2 21.8c5.8 0 10.5-4.7 10.5-10.6C21.7 5.4 17 .7 11.2.7S.7 5.5.7 11.3s4.7 10.5 10.5 10.5"}),y.createElement("path",{d:"m5.6 12.4 2.2 3.3c.2.1.4.3.4.3.1.1.3.1.5.1s.3 0 .5-.1.3-.2.4-.3l7.3-9.3"}))))},k4,L4,q4,U4;function D2(){return D2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},D2.apply(null,arguments)}var rm=function(i){return y.createElement("svg",D2({xmlns:"http://www.w3.org/2000/svg",width:22.6,height:22.6,viewBox:"0 0 22.6 22.6"},i),k4||(k4=y.createElement("path",{fill:"none",d:"M12.8 1.8c-.1-.3-.4-.6-.6-.7q-.45-.3-.9-.3-.6 0-.9.3c-.3.3-.5.3-.7.6L.9 19.9c-.1.2-.2.5-.2.7 0 .3.1.5.2.7s.3.4.6.5c.2.1.5.2.7.2h18.3c.3 0 .5-.1.7-.2s.4-.3.6-.5c.1-.2.2-.5.2-.7 0-.3 0-.5-.2-.7z",className:"bg"})),L4||(L4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12.8 1.8c-.1-.3-.4-.6-.6-.7q-.45-.3-.9-.3-.6 0-.9.3c-.3.3-.5.3-.7.6L.9 19.9c-.1.2-.2.5-.2.7 0 .3.1.5.2.7s.3.4.6.5c.2.1.5.2.7.2h18.3c.3 0 .5-.1.7-.2s.4-.3.6-.5c.1-.2.2-.5.2-.7 0-.3 0-.5-.2-.7z"})),q4||(q4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M11.3 17.7c-.1 0-.1 0-.2.1-.1 0-.1.1-.1.2v.2c0 .1.1.1.1.2.1.1.1.1.2.1h.2c.1 0 .1-.1.2-.1 0-.1.1-.1.1-.2s0-.2-.1-.3c-.2-.2-.3-.2-.4-.2"})),U4||(U4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M11.3 14.9V7.8"})))},H4;function T2(){return T2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},T2.apply(null,arguments)}var Q9=function(i){return y.createElement("svg",T2({xmlns:"http://www.w3.org/2000/svg",width:13.5,height:13.5,viewBox:"0 0 13.5 13.5"},i),H4||(H4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m.8 12.8 12-12m0 12L.8.8"})))},x2;(function(a){a.Default="sds--alert--status-default",a.Success="sds--alert--status-success",a.Warning="sds--alert--status-warning",a.Error="sds--alert--status-error",a.Info="sds--alert--status-info"})(x2||(x2={}));var Ei=x2;function AE(a){return a!=null?(a.preventDefault(),a.stopPropagation(),!1):!0}function vs(a){return a==null?!0:Array.isArray(a)?a.length===0:typeof a=="string"?a.trim().length===0:a&&a.getTime&&typeof a.getTime=="function"?a.getTime()!==a.getTime():typeof a=="object"?Object.keys(a).length===0:!1}function co(a){return HS.sanitize(a,{ADD_ATTR:["target"]})}function CE(){return crypto.randomUUID&&typeof crypto.randomUUID=="function"&&crypto.randomUUID()||Math.round(new Date().getTime()*Math.random()*1e3).toString()}var RE=function(a){var i=a.alertType||Ei.Success,n=a.action?"sds--alert--has-action":"",t="sds--alert ".concat(i.toLowerCase()," ").concat(n," ").concat(a.hide?"hide":"");return Z.createElement("div",{className:t},Z.createElement("div",{className:"sds--alert--inner ".concat(a.asChild?"":"sds--page-container")},Z.createElement("div",{className:"sds--alert--visual"},[Ei.Error,Ei.Warning].includes(i)&&Z.createElement(rm,null),[Ei.Default,Ei.Info].includes(i)&&Z.createElement(Fc,null),[Ei.Success].includes(i)&&Z.createElement(nm,null)),Z.createElement("div",{className:"sds--alert--textual"},Z.createElement("p",{dangerouslySetInnerHTML:{__html:co(a.message)}}),a.action&&Z.createElement("button",{type:"button",onClick:a.action,className:"sds--btn sds--btn--ghost--dark sds--btn--small"},a.actionLabel)),a.close&&Z.createElement("button",{className:"sds--alert--actions",onClick:a.close},Z.createElement("span",{className:"text sds--visually-hidden"},"Close alert"),Z.createElement(Q9,null))))},NE=function(a){var i="sds--badge--number ".concat(a.colored?"sds--badge--number--colored":""," ").concat(a.small?"sds--badge--number--small":"");return Z.createElement("span",{className:i},a.value)},P4;(function(a){a.Horizontal="",a.Vertical="sds--block-switch--vertical"})(P4||(P4={}));var z4;function M2(){return M2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},M2.apply(null,arguments)}var kE=function(i){return y.createElement("svg",M2({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,className:"bin-svg",viewBox:"0 0 22.5 22.5"},i),z4||(z4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M.8 3.8h21m-8.3-3H9c-.4 0-.8.2-1.1.4-.2.3-.4.7-.4 1v1.5H15V2.2c0-.4-.2-.8-.4-1.1-.3-.2-.7-.3-1.1-.3M9 16.5V9m4.5 7.5V9m4.6 11.4c0 .4-.2.7-.5 1s-.6.4-1 .4H5.9c-.4 0-.7-.1-1-.4s-.4-.6-.5-1L3 3.8h16.5z"})))},O2;(function(a){a.Primary="sds--btn--primary",a.Secondary="sds--btn--secondary",a.Tertiary="sds--btn--tertiary",a.GhostDark="sds--btn--ghost--dark",a.GhostLight="sds--btn--ghost--light",a.Delete="sds--btn--delete",a.DeleteSecondary="sds--btn--delete--secondary",a.Chevron="sds--btn--chevron",a.DestructivePrimary="sds--btn sds--btn-destructive--primary",a.DestructiveSecondary="sds--btn sds--btn-destructive--secondary",a.DestructiveTertiary="sds--btn sds--btn-destructive--tertiary"})(O2||(O2={}));var Ti=O2,A2;(function(a){a.Default="",a.Small="sds--btn--small",a.Full="sds--btn--full"})(A2||(A2={}));var am=A2;Ti.Primary,am.Default;var ro=function(a){var i="".concat((a.type||Ti.Primary).toLowerCase()," ")+"".concat(a.type&&a.type===Ti.DeleteSecondary?Ti.Secondary.toLowerCase():""),n="".concat((a.size||am.Default).toLowerCase()),t=a.children?"sds--btn-chevron":"",l=a.active||!1,s="sds--btn ".concat(i," ").concat(n," ").concat(t," ").concat(l?"active":""),c=function(d){AE(d),!a.disabled&&a.onClick&&a.onClick(d)};return Z.createElement("button",{type:"button",className:s,onClick:c,disabled:a.disabled},a.children,a.txt&&Z.createElement("span",{className:"textual",dangerouslySetInnerHTML:{__html:co(a.txt||"")}}),a.type===Ti.Delete?Z.createElement(kE,null):a.icon)},LE=function(a){var i="A"+CE();return Z.createElement("div",{"data-tooltip-id":i,className:"sds--tooltip-container ".concat(a.standalone?"":"sibbling"),"data-tooltip-html":co(a.tip)},a.children?Z.Children.map(a.children,function(n){return n}):Z.createElement(Fc,null),Z.createElement(xE,{id:i,place:a.place,clickable:a.clickable||!1,disableStyleInjection:"core"}))},Y4;(function(a){a.Default="sds--card",a.Big="sds--card sds--card--big"})(Y4||(Y4={}));var C2;(function(a){a.Main_100="main-100",a.Main_200="main-200",a.Main_300="main-300",a.Main_400="main-400",a.Main_500="main-500",a.Support_100="support-100",a.Support_400="support-400",a.Support_500="support-500",a.Status_default="status-default",a.Status_success="status-success",a.Status_warning="status-warning",a.Status_error="status-error",a.Status_info="status-info"})(C2||(C2={}));var K9=C2,qE=function(a){var i=a.type?a.type:K9.Main_100;return Z.createElement("button",{className:"sds--chips ".concat(i)},a.children&&Z.createElement("span",{className:"sds--chips--visual"},a.children),Z.createElement("span",{className:"sds--chips--textual sds--text--body--small"},a.label))},rc=35,UE=["Delete","Backspace"],X9=function(a){var i=y.useState(Array(a.size).fill("")),n=i[0],t=i[1],l=y.useRef([]),s=a.disabled||!1,c=a.focusFirst===void 0||a.focusFirst;y.useEffect(function(){var v=vs(n.join(""));if(a.clear&&t(Array(a.size).fill("")),v&&c&&!a.disabled){var g=l.current[0];setTimeout(function(){return g.focus()},rc)}},[a]);var d=function(v,g){var S=g.target.value;if(!(a.validate&&!a.validate(S))){var w=ME([],n);if(w[v]=a.transformer?a.transformer(S):S,t(w),a.intermediateCallback&&a.intermediateCallback(w),v!==a.size-1&&!vs(S)){var M=l.current[v+1];setTimeout(function(){return M.focus()},rc)}else vs(S)||setTimeout(function(){return a.verify(w.join(""))},rc)}},h=function(v,g){if(UE.includes(g.key)&&v>0&&g.target.value===""){var S=l.current[v-1];S.focus()}return!0},m=function(v,g){if(v!==0)return!1;var S=g.clipboardData.getData("text/plain"),w=S.split("");if(w.length!==a.size||a.validate&&w.map(function(R){return a.validate(R)}).some(function(R){return!R}))return!1;t(a.transformer?w.map(function(R){return a.transformer(R)}):w);var M=l.current[a.size-1];return M.focus(),setTimeout(function(){return a.verify(w.join(""))},rc),!0};return Z.createElement("div",{className:"sds--code-validation-container"},Z.createElement("div",{className:"sds--code-validation"},Array(a.size).fill("").map(function(v,g){return Z.createElement("input",{type:"text",key:"input_".concat(g),disabled:s||vs(n[g])&&g!==0&&vs(n[g-1]),value:n[g]||"",onChange:function(S){return d(g,S)},onKeyDown:function(S){return h(g,S)},onPaste:function(S){return m(g,S)},maxLength:1,ref:function(S){return l.current[g]=S},className:"value index_".concat(g)})})),a.info&&Z.createElement("p",{className:"info",dangerouslySetInnerHTML:{__html:co(a.info)}}))},wi;(function(a){a.Default="sds--error-indicator--status-default",a.Success="sds--error-indicator--status-success",a.Warning="sds--error-indicator--status-warning",a.Error="sds--error-indicator--status-error",a.Info="sds--error-indicator--status-info"})(wi||(wi={}));var HE=function(a){var i=a.errorIndicatorType||wi.Error,n="".concat(i.toLowerCase());return Z.createElement("div",{className:"sds--error-indicator ".concat(n)},Z.createElement("div",{className:"sds--error-indicator--visual"},[wi.Error,wi.Warning].includes(i)&&Z.createElement(rm,null),[wi.Default,wi.Info].includes(i)&&Z.createElement(Fc,null),[wi.Success].includes(i)&&Z.createElement(nm,null)),Z.createElement("div",{className:"sds--error-indicator-textual"},a.message&&Z.createElement("p",{dangerouslySetInnerHTML:{__html:co(a.message)}})))},im=function(a){var i="sds--loading-container ".concat(a.className||"");return Z.createElement("div",{className:i},Z.createElement("div",{className:"sds--loading"},Z.createElement("span",{className:"sds--loading--dot"}),Z.createElement("span",{className:"sds--loading--dot"}),Z.createElement("span",{className:"sds--loading--dot"})),a.children&&a.children)},j4,B4;function R2(){return R2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},R2.apply(null,arguments)}var PE=function(i){return y.createElement("svg",R2({xmlns:"http://www.w3.org/2000/svg",width:70.9,height:36,className:"logo-surf",viewBox:"0 0 70.9 36"},i),j4||(j4=y.createElement("path",{fillRule:"evenodd",d:"M65.5 21.8c3 0 5.4 2.4 5.4 5.4v3.4c0 3-2.4 5.4-5.4 5.4h-8.1c-3 0-5.4-2.4-5.4-5.4v-2.1c0-3.7-3-6.7-6.7-6.7H6.7C3 21.8 0 18.7 0 15V6.7C0 3 3 0 6.7 0h38.5C49 0 52 3 52 6.7V15c0 3.7 3 6.7 6.7 6.7h6.8z",className:"shape",clipRule:"evenodd"})),B4||(B4=y.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M43.4 12.5c.7 0 1.1-.4 1.1-1.1s-.3-1.1-1.1-1.1h-2.7v-2H45c.7 0 1.1-.4 1.1-1.1s-.4-1.1-1.1-1.1h-5.4c-.7 0-1.1.4-1.1 1.1v7.6c0 .7.4 1.1 1.1 1.1s1.1-.4 1.1-1.1v-2.4h2.7zM32.2 8.3c.9 0 1.5.4 1.5 1.3s-.7 1.3-1.5 1.3h-1.9V8.3zm1.3 7c.2.5.5.7.9.7.6 0 1.3-.4 1.3-1.1 0-.2 0-.4-.1-.6l-1-2.1q1.5-.75 1.5-2.7c0-2-1.5-3.4-3.6-3.4h-3.2c-.7 0-1.1.4-1.1 1.1v7.6c0 .7.4 1.1 1.1 1.1s1.1-.4 1.1-1.1v-2h2.1zm-10.3-3.9c0 1.5-.9 2.4-2.2 2.4s-2.2-.9-2.2-2.4V7.2c0-.7-.4-1.1-1.1-1.1s-1.1.4-1.1 1.1v4.3c0 2.8 1.9 4.6 4.4 4.6 2.6 0 4.5-1.8 4.5-4.6V7.2c0-.7-.4-1.1-1.1-1.1s-1.1.4-1.1 1.1v4.2zM10.5 14c-.9 0-1.5-.2-1.9-.4-.4-.1-.7-.2-1-.2-.6 0-1 .4-1 1 0 1 2.1 1.6 4 1.6 2.2 0 3.9-1.2 3.9-3 0-1.7-1.1-2.4-2.4-2.8l-1.8-.6C9.4 9.5 9 9.3 9 8.8s.8-.7 1.4-.7c.8 0 1.3.2 1.8.4.3.1.6.2.9.2.6 0 .9-.4.9-1 0-1-1.9-1.6-3.6-1.6C8.3 6 6.7 7.2 6.7 8.9c0 1.4 1 2.3 2.2 2.6l1.6.5c.8.2 1.5.5 1.5 1 .1.6-.8 1-1.5 1",className:"text",clipRule:"evenodd"})))},N2;(function(a){a.White="White",a.Black="Black"})(N2||(N2={}));var k2=N2,$9=function(a){var i=(a.color||k2.Black)===k2.White?"sds--branding--negative":"",n="sds--logo sds--branding sds--branding--name-".concat(a.position.toLowerCase()," ").concat(i);return Z.createElement("div",{className:n},Z.createElement("span",{className:"sds--branding--visual"},a.CustomLogo?Z.createElement(a.CustomLogo,null):Z.createElement(PE,null)),Z.createElement("span",{className:"sds--branding--textual"},a.label))},L2;(function(a){a.Bottom="Bottom",a.Up="Up"})(L2||(L2={}));var J9=L2,I4;(function(a){a.row="row",a.column="column"})(I4||(I4={}));var F4=function(a){var i="sds--switch ".concat(a.value?"sds--switch--active":""," ").concat(a.disabled?"sds--switch--disabled":"");return Z.createElement("div",{className:"sds--tooltip-parent",onClick:function(){return!a.disabled&&a.onChange(!a.value)}},Z.createElement("span",{className:i,role:"switch","aria-checked":a.value}),a.tooltip&&Z.createElement(LE,{tip:a.tooltip}))},q2;(function(a){a.Default="sds--toaster--status-default",a.Success="sds--toaster--status-success",a.Warning="sds--toaster--status-warning",a.Error="sds--toaster--status-error",a.Info="sds--toaster--status-info"})(q2||(q2={}));var Di=q2,lm=function(a){var i="".concat(a.toasterType.toLowerCase()),n=a.large?"sds--toaster--full-width":"",t=a.action?"sds--toaster--has-action":"",l="sds--toaster ".concat(i," ").concat(t," ").concat(n);return Z.createElement("div",{className:l},Z.createElement("div",{className:"sds--toaster--visual"},[Di.Error,Di.Warning].includes(a.toasterType)&&Z.createElement(rm,null),[Di.Default,Di.Info].includes(a.toasterType)&&Z.createElement(Fc,null),[Di.Success].includes(a.toasterType)&&Z.createElement(nm,null)),Z.createElement("div",{className:"sds--toaster--textual"},a.message&&Z.createElement("p",{dangerouslySetInnerHTML:{__html:co(a.message)}}),a.children&&a.children,a.action&&Z.createElement("button",{type:"button",onClick:a.action,className:"sds--btn sds--btn--ghost--dark sds--btn--small"},a.actionLabel)),a.close&&Z.createElement("button",{className:"sds--alert--actions",onClick:a.close},Z.createElement("span",{className:"text sds--visually-hidden"},"Close alert"),Z.createElement(Q9,null)))},zE=function(a){return Z.createElement("div",{className:"sds--toaster-container"},a.children)},YE=function(a){return Z.createElement("nav",{className:"sds--user-info ".concat(a.isOpen?"is-open":"")},Z.createElement("div",{className:"sds--user-info--textual"},Z.createElement("p",{className:"name"},a.userName),Z.createElement("p",{className:"role sds--text--body--small"},a.organisationName)),Z.createElement("button",{type:"button",className:"sds--user-info--button",onClick:a.toggle},Z.createElement(OE,null)),Z.createElement("div",{className:"sds--user-info--dropdown"},a.children&&a.children))},gs={},G4;function jE(){if(G4)return gs;G4=1,Object.defineProperty(gs,"__esModule",{value:!0}),gs.parse=c,gs.serialize=m;const a=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,i=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,t=/^[\u0020-\u003A\u003D-\u007E]*$/,l=Object.prototype.toString,s=(()=>{const S=function(){};return S.prototype=Object.create(null),S})();function c(S,w){const M=new s,R=S.length;if(R<2)return M;const C=(w==null?void 0:w.decode)||v;let H=0;do{const O=S.indexOf("=",H);if(O===-1)break;const Y=S.indexOf(";",H),K=Y===-1?R:Y;if(O>K){H=S.lastIndexOf(";",O-1)+1;continue}const X=d(S,H,O),re=h(S,O,X),V=S.slice(X,re);if(M[V]===void 0){let _=d(S,O+1,K),E=h(S,K,_);const D=C(S.slice(_,E));M[V]=D}H=K+1}while(H<R);return M}function d(S,w,M){do{const R=S.charCodeAt(w);if(R!==32&&R!==9)return w}while(++w<M);return M}function h(S,w,M){for(;w>M;){const R=S.charCodeAt(--w);if(R!==32&&R!==9)return w+1}return M}function m(S,w,M){const R=(M==null?void 0:M.encode)||encodeURIComponent;if(!a.test(S))throw new TypeError(`argument name is invalid: ${S}`);const C=R(w);if(!i.test(C))throw new TypeError(`argument val is invalid: ${w}`);let H=S+"="+C;if(!M)return H;if(M.maxAge!==void 0){if(!Number.isInteger(M.maxAge))throw new TypeError(`option maxAge is invalid: ${M.maxAge}`);H+="; Max-Age="+M.maxAge}if(M.domain){if(!n.test(M.domain))throw new TypeError(`option domain is invalid: ${M.domain}`);H+="; Domain="+M.domain}if(M.path){if(!t.test(M.path))throw new TypeError(`option path is invalid: ${M.path}`);H+="; Path="+M.path}if(M.expires){if(!g(M.expires)||!Number.isFinite(M.expires.valueOf()))throw new TypeError(`option expires is invalid: ${M.expires}`);H+="; Expires="+M.expires.toUTCString()}if(M.httpOnly&&(H+="; HttpOnly"),M.secure&&(H+="; Secure"),M.partitioned&&(H+="; Partitioned"),M.priority)switch(typeof M.priority=="string"?M.priority.toLowerCase():void 0){case"low":H+="; Priority=Low";break;case"medium":H+="; Priority=Medium";break;case"high":H+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${M.priority}`)}if(M.sameSite)switch(typeof M.sameSite=="string"?M.sameSite.toLowerCase():M.sameSite){case!0:case"strict":H+="; SameSite=Strict";break;case"lax":H+="; SameSite=Lax";break;case"none":H+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${M.sameSite}`)}return H}function v(S){if(S.indexOf("%")===-1)return S;try{return decodeURIComponent(S)}catch{return S}}function g(S){return l.call(S)==="[object Date]"}return gs}jE();var Z4="popstate";function BE(a={}){function i(t,l){let{pathname:s,search:c,hash:d}=t.location;return U2("",{pathname:s,search:c,hash:d},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function n(t,l){return typeof l=="string"?l:qs(l)}return FE(i,n,null,a)}function It(a,i){if(a===!1||a===null||typeof a>"u")throw new Error(i)}function Vr(a,i){if(!a){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function IE(){return Math.random().toString(36).substring(2,10)}function V4(a,i){return{usr:a.state,key:a.key,idx:i}}function U2(a,i,n=null,t){return{pathname:typeof a=="string"?a:a.pathname,search:"",hash:"",...typeof i=="string"?fo(i):i,state:n,key:i&&i.key||t||IE()}}function qs({pathname:a="/",search:i="",hash:n=""}){return i&&i!=="?"&&(a+=i.charAt(0)==="?"?i:"?"+i),n&&n!=="#"&&(a+=n.charAt(0)==="#"?n:"#"+n),a}function fo(a){let i={};if(a){let n=a.indexOf("#");n>=0&&(i.hash=a.substring(n),a=a.substring(0,n));let t=a.indexOf("?");t>=0&&(i.search=a.substring(t),a=a.substring(0,t)),a&&(i.pathname=a)}return i}function FE(a,i,n,t={}){let{window:l=document.defaultView,v5Compat:s=!1}=t,c=l.history,d="POP",h=null,m=v();m==null&&(m=0,c.replaceState({...c.state,idx:m},""));function v(){return(c.state||{idx:null}).idx}function g(){d="POP";let C=v(),H=C==null?null:C-m;m=C,h&&h({action:d,location:R.location,delta:H})}function S(C,H){d="PUSH";let O=U2(R.location,C,H);m=v()+1;let Y=V4(O,m),K=R.createHref(O);try{c.pushState(Y,"",K)}catch(X){if(X instanceof DOMException&&X.name==="DataCloneError")throw X;l.location.assign(K)}s&&h&&h({action:d,location:R.location,delta:1})}function w(C,H){d="REPLACE";let O=U2(R.location,C,H);m=v();let Y=V4(O,m),K=R.createHref(O);c.replaceState(Y,"",K),s&&h&&h({action:d,location:R.location,delta:0})}function M(C){return GE(C)}let R={get action(){return d},get location(){return a(l,c)},listen(C){if(h)throw new Error("A history only accepts one active listener");return l.addEventListener(Z4,g),h=C,()=>{l.removeEventListener(Z4,g),h=null}},createHref(C){return i(l,C)},createURL:M,encodeLocation(C){let H=M(C);return{pathname:H.pathname,search:H.search,hash:H.hash}},push:S,replace:w,go(C){return c.go(C)}};return R}function GE(a,i=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),It(n,"No window.location.(origin|href) available to create URL");let t=typeof a=="string"?a:qs(a);return t=t.replace(/ $/,"%20"),!i&&t.startsWith("//")&&(t=n+t),new URL(t,n)}function e8(a,i,n="/"){return ZE(a,i,n,!1)}function ZE(a,i,n,t){let l=typeof i=="string"?fo(i):i,s=Fa(l.pathname||"/",n);if(s==null)return null;let c=t8(a);VE(c);let d=null;for(let h=0;d==null&&h<c.length;++h){let m=aw(s);d=nw(c[h],m,t)}return d}function t8(a,i=[],n=[],t=""){let l=(s,c,d)=>{let h={relativePath:d===void 0?s.path||"":d,caseSensitive:s.caseSensitive===!0,childrenIndex:c,route:s};h.relativePath.startsWith("/")&&(It(h.relativePath.startsWith(t),`Absolute route path "${h.relativePath}" nested under path "${t}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),h.relativePath=h.relativePath.slice(t.length));let m=Ha([t,h.relativePath]),v=n.concat(h);s.children&&s.children.length>0&&(It(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),t8(s.children,i,v,m)),!(s.path==null&&!s.index)&&i.push({path:m,score:ew(m,s.index),routesMeta:v})};return a.forEach((s,c)=>{var d;if(s.path===""||!((d=s.path)!=null&&d.includes("?")))l(s,c);else for(let h of n8(s.path))l(s,c,h)}),i}function n8(a){let i=a.split("/");if(i.length===0)return[];let[n,...t]=i,l=n.endsWith("?"),s=n.replace(/\?$/,"");if(t.length===0)return l?[s,""]:[s];let c=n8(t.join("/")),d=[];return d.push(...c.map(h=>h===""?s:[s,h].join("/"))),l&&d.push(...c),d.map(h=>a.startsWith("/")&&h===""?"/":h)}function VE(a){a.sort((i,n)=>i.score!==n.score?n.score-i.score:tw(i.routesMeta.map(t=>t.childrenIndex),n.routesMeta.map(t=>t.childrenIndex)))}var WE=/^:[\w-]+$/,QE=3,KE=2,XE=1,$E=10,JE=-2,W4=a=>a==="*";function ew(a,i){let n=a.split("/"),t=n.length;return n.some(W4)&&(t+=JE),i&&(t+=KE),n.filter(l=>!W4(l)).reduce((l,s)=>l+(WE.test(s)?QE:s===""?XE:$E),t)}function tw(a,i){return a.length===i.length&&a.slice(0,-1).every((t,l)=>t===i[l])?a[a.length-1]-i[i.length-1]:0}function nw(a,i,n=!1){let{routesMeta:t}=a,l={},s="/",c=[];for(let d=0;d<t.length;++d){let h=t[d],m=d===t.length-1,v=s==="/"?i:i.slice(s.length)||"/",g=Oc({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},v),S=h.route;if(!g&&m&&n&&!t[t.length-1].route.index&&(g=Oc({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},v)),!g)return null;Object.assign(l,g.params),c.push({params:l,pathname:Ha([s,g.pathname]),pathnameBase:sw(Ha([s,g.pathnameBase])),route:S}),g.pathnameBase!=="/"&&(s=Ha([s,g.pathnameBase]))}return c}function Oc(a,i){typeof a=="string"&&(a={path:a,caseSensitive:!1,end:!0});let[n,t]=rw(a.path,a.caseSensitive,a.end),l=i.match(n);if(!l)return null;let s=l[0],c=s.replace(/(.)\/+$/,"$1"),d=l.slice(1);return{params:t.reduce((m,{paramName:v,isOptional:g},S)=>{if(v==="*"){let M=d[S]||"";c=s.slice(0,s.length-M.length).replace(/(.)\/+$/,"$1")}const w=d[S];return g&&!w?m[v]=void 0:m[v]=(w||"").replace(/%2F/g,"/"),m},{}),pathname:s,pathnameBase:c,pattern:a}}function rw(a,i=!1,n=!0){Vr(a==="*"||!a.endsWith("*")||a.endsWith("/*"),`Route path "${a}" will be treated as if it were "${a.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${a.replace(/\*$/,"/*")}".`);let t=[],l="^"+a.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,d,h)=>(t.push({paramName:d,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)"));return a.endsWith("*")?(t.push({paramName:"*"}),l+=a==="*"||a==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":a!==""&&a!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,i?void 0:"i"),t]}function aw(a){try{return a.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return Vr(!1,`The URL path "${a}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),a}}function Fa(a,i){if(i==="/")return a;if(!a.toLowerCase().startsWith(i.toLowerCase()))return null;let n=i.endsWith("/")?i.length-1:i.length,t=a.charAt(n);return t&&t!=="/"?null:a.slice(n)||"/"}function iw(a,i="/"){let{pathname:n,search:t="",hash:l=""}=typeof a=="string"?fo(a):a;return{pathname:n?n.startsWith("/")?n:lw(n,i):i,search:uw(t),hash:cw(l)}}function lw(a,i){let n=i.replace(/\/+$/,"").split("/");return a.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function d1(a,i,n,t){return`Cannot include a '${a}' character in a manually specified \`to.${i}\` field [${JSON.stringify(t)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function ow(a){return a.filter((i,n)=>n===0||i.route.path&&i.route.path.length>0)}function om(a){let i=ow(a);return i.map((n,t)=>t===i.length-1?n.pathname:n.pathnameBase)}function sm(a,i,n,t=!1){let l;typeof a=="string"?l=fo(a):(l={...a},It(!l.pathname||!l.pathname.includes("?"),d1("?","pathname","search",l)),It(!l.pathname||!l.pathname.includes("#"),d1("#","pathname","hash",l)),It(!l.search||!l.search.includes("#"),d1("#","search","hash",l)));let s=a===""||l.pathname==="",c=s?"/":l.pathname,d;if(c==null)d=n;else{let g=i.length-1;if(!t&&c.startsWith("..")){let S=c.split("/");for(;S[0]==="..";)S.shift(),g-=1;l.pathname=S.join("/")}d=g>=0?i[g]:"/"}let h=iw(l,d),m=c&&c!=="/"&&c.endsWith("/"),v=(s||c===".")&&n.endsWith("/");return!h.pathname.endsWith("/")&&(m||v)&&(h.pathname+="/"),h}var Ha=a=>a.join("/").replace(/\/\/+/g,"/"),sw=a=>a.replace(/\/+$/,"").replace(/^\/*/,"/"),uw=a=>!a||a==="?"?"":a.startsWith("?")?a:"?"+a,cw=a=>!a||a==="#"?"":a.startsWith("#")?a:"#"+a;function fw(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.internal=="boolean"&&"data"in a}var r8=["POST","PUT","PATCH","DELETE"];new Set(r8);var dw=["GET",...r8];new Set(dw);var ho=y.createContext(null);ho.displayName="DataRouter";var Gc=y.createContext(null);Gc.displayName="DataRouterState";var a8=y.createContext({isTransitioning:!1});a8.displayName="ViewTransition";var hw=y.createContext(new Map);hw.displayName="Fetchers";var pw=y.createContext(null);pw.displayName="Await";var Qr=y.createContext(null);Qr.displayName="Navigation";var Ys=y.createContext(null);Ys.displayName="Location";var Kr=y.createContext({outlet:null,matches:[],isDataRoute:!1});Kr.displayName="Route";var um=y.createContext(null);um.displayName="RouteError";function mw(a,{relative:i}={}){It(po(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:t}=y.useContext(Qr),{hash:l,pathname:s,search:c}=js(a,{relative:i}),d=s;return n!=="/"&&(d=s==="/"?n:Ha([n,s])),t.createHref({pathname:d,search:c,hash:l})}function po(){return y.useContext(Ys)!=null}function Ni(){return It(po(),"useLocation() may be used only in the context of a <Router> component."),y.useContext(Ys).location}var i8="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function l8(a){y.useContext(Qr).static||y.useLayoutEffect(a)}function fl(){let{isDataRoute:a}=y.useContext(Kr);return a?Ow():vw()}function vw(){It(po(),"useNavigate() may be used only in the context of a <Router> component.");let a=y.useContext(ho),{basename:i,navigator:n}=y.useContext(Qr),{matches:t}=y.useContext(Kr),{pathname:l}=Ni(),s=JSON.stringify(om(t)),c=y.useRef(!1);return l8(()=>{c.current=!0}),y.useCallback((h,m={})=>{if(Vr(c.current,i8),!c.current)return;if(typeof h=="number"){n.go(h);return}let v=sm(h,JSON.parse(s),l,m.relative==="path");a==null&&i!=="/"&&(v.pathname=v.pathname==="/"?i:Ha([i,v.pathname])),(m.replace?n.replace:n.push)(v,m.state,m)},[i,n,s,l,a])}y.createContext(null);function o8(){let{matches:a}=y.useContext(Kr),i=a[a.length-1];return i?i.params:{}}function js(a,{relative:i}={}){let{matches:n}=y.useContext(Kr),{pathname:t}=Ni(),l=JSON.stringify(om(n));return y.useMemo(()=>sm(a,JSON.parse(l),t,i==="path"),[a,l,t,i])}function gw(a,i){return s8(a,i)}function s8(a,i,n,t){var O;It(po(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:l,static:s}=y.useContext(Qr),{matches:c}=y.useContext(Kr),d=c[c.length-1],h=d?d.params:{},m=d?d.pathname:"/",v=d?d.pathnameBase:"/",g=d&&d.route;{let Y=g&&g.path||"";u8(m,!g||Y.endsWith("*")||Y.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${Y}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.

Please change the parent <Route path="${Y}"> to <Route path="${Y==="/"?"*":`${Y}/*`}">.`)}let S=Ni(),w;if(i){let Y=typeof i=="string"?fo(i):i;It(v==="/"||((O=Y.pathname)==null?void 0:O.startsWith(v)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${v}" but pathname "${Y.pathname}" was given in the \`location\` prop.`),w=Y}else w=S;let M=w.pathname||"/",R=M;if(v!=="/"){let Y=v.replace(/^\//,"").split("/");R="/"+M.replace(/^\//,"").split("/").slice(Y.length).join("/")}let C=!s&&n&&n.matches&&n.matches.length>0?n.matches:e8(a,{pathname:R});Vr(g||C!=null,`No routes matched location "${w.pathname}${w.search}${w.hash}" `),Vr(C==null||C[C.length-1].route.element!==void 0||C[C.length-1].route.Component!==void 0||C[C.length-1].route.lazy!==void 0,`Matched leaf route at location "${w.pathname}${w.search}${w.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let H=Ew(C&&C.map(Y=>Object.assign({},Y,{params:Object.assign({},h,Y.params),pathname:Ha([v,l.encodeLocation?l.encodeLocation(Y.pathname).pathname:Y.pathname]),pathnameBase:Y.pathnameBase==="/"?v:Ha([v,l.encodeLocation?l.encodeLocation(Y.pathnameBase).pathname:Y.pathnameBase])})),c,n,t);return i&&H?y.createElement(Ys.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...w},navigationType:"POP"}},H):H}function yw(){let a=Mw(),i=fw(a)?`${a.status} ${a.statusText}`:a instanceof Error?a.message:JSON.stringify(a),n=a instanceof Error?a.stack:null,t="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:t},s={padding:"2px 4px",backgroundColor:t},c=null;return console.error("Error handled by React Router default ErrorBoundary:",a),c=y.createElement(y.Fragment,null,y.createElement("p",null,"💿 Hey developer 👋"),y.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",y.createElement("code",{style:s},"ErrorBoundary")," or"," ",y.createElement("code",{style:s},"errorElement")," prop on your route.")),y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},i),n?y.createElement("pre",{style:l},n):null,c)}var bw=y.createElement(yw,null),_w=class extends y.Component{constructor(a){super(a),this.state={location:a.location,revalidation:a.revalidation,error:a.error}}static getDerivedStateFromError(a){return{error:a}}static getDerivedStateFromProps(a,i){return i.location!==a.location||i.revalidation!=="idle"&&a.revalidation==="idle"?{error:a.error,location:a.location,revalidation:a.revalidation}:{error:a.error!==void 0?a.error:i.error,location:i.location,revalidation:a.revalidation||i.revalidation}}componentDidCatch(a,i){console.error("React Router caught the following error during render",a,i)}render(){return this.state.error!==void 0?y.createElement(Kr.Provider,{value:this.props.routeContext},y.createElement(um.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Sw({routeContext:a,match:i,children:n}){let t=y.useContext(ho);return t&&t.static&&t.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(t.staticContext._deepestRenderedBoundaryId=i.route.id),y.createElement(Kr.Provider,{value:a},n)}function Ew(a,i=[],n=null,t=null){if(a==null){if(!n)return null;if(n.errors)a=n.matches;else if(i.length===0&&!n.initialized&&n.matches.length>0)a=n.matches;else return null}let l=a,s=n==null?void 0:n.errors;if(s!=null){let h=l.findIndex(m=>m.route.id&&(s==null?void 0:s[m.route.id])!==void 0);It(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),l=l.slice(0,Math.min(l.length,h+1))}let c=!1,d=-1;if(n)for(let h=0;h<l.length;h++){let m=l[h];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(d=h),m.route.id){let{loaderData:v,errors:g}=n,S=m.route.loader&&!v.hasOwnProperty(m.route.id)&&(!g||g[m.route.id]===void 0);if(m.route.lazy||S){c=!0,d>=0?l=l.slice(0,d+1):l=[l[0]];break}}}return l.reduceRight((h,m,v)=>{let g,S=!1,w=null,M=null;n&&(g=s&&m.route.id?s[m.route.id]:void 0,w=m.route.errorElement||bw,c&&(d<0&&v===0?(u8("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),S=!0,M=null):d===v&&(S=!0,M=m.route.hydrateFallbackElement||null)));let R=i.concat(l.slice(0,v+1)),C=()=>{let H;return g?H=w:S?H=M:m.route.Component?H=y.createElement(m.route.Component,null):m.route.element?H=m.route.element:H=h,y.createElement(Sw,{match:m,routeContext:{outlet:h,matches:R,isDataRoute:n!=null},children:H})};return n&&(m.route.ErrorBoundary||m.route.errorElement||v===0)?y.createElement(_w,{location:n.location,revalidation:n.revalidation,component:w,error:g,children:C(),routeContext:{outlet:null,matches:R,isDataRoute:!0}}):C()},null)}function cm(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function ww(a){let i=y.useContext(ho);return It(i,cm(a)),i}function Dw(a){let i=y.useContext(Gc);return It(i,cm(a)),i}function Tw(a){let i=y.useContext(Kr);return It(i,cm(a)),i}function fm(a){let i=Tw(a),n=i.matches[i.matches.length-1];return It(n.route.id,`${a} can only be used on routes that contain a unique "id"`),n.route.id}function xw(){return fm("useRouteId")}function Mw(){var t;let a=y.useContext(um),i=Dw("useRouteError"),n=fm("useRouteError");return a!==void 0?a:(t=i.errors)==null?void 0:t[n]}function Ow(){let{router:a}=ww("useNavigate"),i=fm("useNavigate"),n=y.useRef(!1);return l8(()=>{n.current=!0}),y.useCallback(async(l,s={})=>{Vr(n.current,i8),n.current&&(typeof l=="number"?a.navigate(l):await a.navigate(l,{fromRouteId:i,...s}))},[a,i])}var Q4={};function u8(a,i,n){!i&&!Q4[a]&&(Q4[a]=!0,Vr(!1,n))}y.memo(Aw);function Aw({routes:a,future:i,state:n}){return s8(a,void 0,n,i)}function K4({to:a,replace:i,state:n,relative:t}){It(po(),"<Navigate> may be used only in the context of a <Router> component.");let{static:l}=y.useContext(Qr);Vr(!l,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:s}=y.useContext(Kr),{pathname:c}=Ni(),d=fl(),h=sm(a,om(s),c,t==="path"),m=JSON.stringify(h);return y.useEffect(()=>{d(JSON.parse(m),{replace:i,state:n,relative:t})},[d,m,t,i,n]),null}function hr(a){It(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Cw({basename:a="/",children:i=null,location:n,navigationType:t="POP",navigator:l,static:s=!1}){It(!po(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=a.replace(/^\/*/,"/"),d=y.useMemo(()=>({basename:c,navigator:l,static:s,future:{}}),[c,l,s]);typeof n=="string"&&(n=fo(n));let{pathname:h="/",search:m="",hash:v="",state:g=null,key:S="default"}=n,w=y.useMemo(()=>{let M=Fa(h,c);return M==null?null:{location:{pathname:M,search:m,hash:v,state:g,key:S},navigationType:t}},[c,h,m,v,g,S,t]);return Vr(w!=null,`<Router basename="${c}"> is not able to match the URL "${h}${m}${v}" because it does not start with the basename, so the <Router> won't render anything.`),w==null?null:y.createElement(Qr.Provider,{value:d},y.createElement(Ys.Provider,{children:i,value:w}))}function H2({children:a,location:i}){return gw(P2(a),i)}function P2(a,i=[]){let n=[];return y.Children.forEach(a,(t,l)=>{if(!y.isValidElement(t))return;let s=[...i,l];if(t.type===y.Fragment){n.push.apply(n,P2(t.props.children,s));return}It(t.type===hr,`[${typeof t.type=="string"?t.type:t.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),It(!t.props.index||!t.props.children,"An index route cannot have child routes.");let c={id:t.props.id||s.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,Component:t.props.Component,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,hydrateFallbackElement:t.props.hydrateFallbackElement,HydrateFallback:t.props.HydrateFallback,errorElement:t.props.errorElement,ErrorBoundary:t.props.ErrorBoundary,hasErrorBoundary:t.props.hasErrorBoundary===!0||t.props.ErrorBoundary!=null||t.props.errorElement!=null,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle,lazy:t.props.lazy};t.props.children&&(c.children=P2(t.props.children,s)),n.push(c)}),n}var vc="get",gc="application/x-www-form-urlencoded";function Zc(a){return a!=null&&typeof a.tagName=="string"}function Rw(a){return Zc(a)&&a.tagName.toLowerCase()==="button"}function Nw(a){return Zc(a)&&a.tagName.toLowerCase()==="form"}function kw(a){return Zc(a)&&a.tagName.toLowerCase()==="input"}function Lw(a){return!!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)}function qw(a,i){return a.button===0&&(!i||i==="_self")&&!Lw(a)}var ac=null;function Uw(){if(ac===null)try{new FormData(document.createElement("form"),0),ac=!1}catch{ac=!0}return ac}var Hw=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function h1(a){return a!=null&&!Hw.has(a)?(Vr(!1,`"${a}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${gc}"`),null):a}function Pw(a,i){let n,t,l,s,c;if(Nw(a)){let d=a.getAttribute("action");t=d?Fa(d,i):null,n=a.getAttribute("method")||vc,l=h1(a.getAttribute("enctype"))||gc,s=new FormData(a)}else if(Rw(a)||kw(a)&&(a.type==="submit"||a.type==="image")){let d=a.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=a.getAttribute("formaction")||d.getAttribute("action");if(t=h?Fa(h,i):null,n=a.getAttribute("formmethod")||d.getAttribute("method")||vc,l=h1(a.getAttribute("formenctype"))||h1(d.getAttribute("enctype"))||gc,s=new FormData(d,a),!Uw()){let{name:m,type:v,value:g}=a;if(v==="image"){let S=m?`${m}.`:"";s.append(`${S}x`,"0"),s.append(`${S}y`,"0")}else m&&s.append(m,g)}}else{if(Zc(a))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=vc,t=null,l=gc,c=a}return s&&l==="text/plain"&&(c=s,s=void 0),{action:t,method:n.toLowerCase(),encType:l,formData:s,body:c}}function dm(a,i){if(a===!1||a===null||typeof a>"u")throw new Error(i)}async function zw(a,i){if(a.id in i)return i[a.id];try{let n=await import(a.module);return i[a.id]=n,n}catch(n){return console.error(`Error loading route module \`${a.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Yw(a){return a==null?!1:a.href==null?a.rel==="preload"&&typeof a.imageSrcSet=="string"&&typeof a.imageSizes=="string":typeof a.rel=="string"&&typeof a.href=="string"}async function jw(a,i,n){let t=await Promise.all(a.map(async l=>{let s=i.routes[l.route.id];if(s){let c=await zw(s,n);return c.links?c.links():[]}return[]}));return Gw(t.flat(1).filter(Yw).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function X4(a,i,n,t,l,s){let c=(h,m)=>n[m]?h.route.id!==n[m].route.id:!0,d=(h,m)=>{var v;return n[m].pathname!==h.pathname||((v=n[m].route.path)==null?void 0:v.endsWith("*"))&&n[m].params["*"]!==h.params["*"]};return s==="assets"?i.filter((h,m)=>c(h,m)||d(h,m)):s==="data"?i.filter((h,m)=>{var g;let v=t.routes[h.route.id];if(!v||!v.hasLoader)return!1;if(c(h,m)||d(h,m))return!0;if(h.route.shouldRevalidate){let S=h.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:((g=n[0])==null?void 0:g.params)||{},nextUrl:new URL(a,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof S=="boolean")return S}return!0}):[]}function Bw(a,i,{includeHydrateFallback:n}={}){return Iw(a.map(t=>{let l=i.routes[t.route.id];if(!l)return[];let s=[l.module];return l.clientActionModule&&(s=s.concat(l.clientActionModule)),l.clientLoaderModule&&(s=s.concat(l.clientLoaderModule)),n&&l.hydrateFallbackModule&&(s=s.concat(l.hydrateFallbackModule)),l.imports&&(s=s.concat(l.imports)),s}).flat(1))}function Iw(a){return[...new Set(a)]}function Fw(a){let i={},n=Object.keys(a).sort();for(let t of n)i[t]=a[t];return i}function Gw(a,i){let n=new Set;return new Set(i),a.reduce((t,l)=>{let s=JSON.stringify(Fw(l));return n.has(s)||(n.add(s),t.push({key:s,link:l})),t},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Zw=new Set([100,101,204,205]);function Vw(a,i){let n=typeof a=="string"?new URL(a,typeof window>"u"?"server://singlefetch/":window.location.origin):a;return n.pathname==="/"?n.pathname="_root.data":i&&Fa(n.pathname,i)==="/"?n.pathname=`${i.replace(/\/$/,"")}/_root.data`:n.pathname=`${n.pathname.replace(/\/$/,"")}.data`,n}function c8(){let a=y.useContext(ho);return dm(a,"You must render this element inside a <DataRouterContext.Provider> element"),a}function Ww(){let a=y.useContext(Gc);return dm(a,"You must render this element inside a <DataRouterStateContext.Provider> element"),a}var hm=y.createContext(void 0);hm.displayName="FrameworkContext";function f8(){let a=y.useContext(hm);return dm(a,"You must render this element inside a <HydratedRouter> element"),a}function Qw(a,i){let n=y.useContext(hm),[t,l]=y.useState(!1),[s,c]=y.useState(!1),{onFocus:d,onBlur:h,onMouseEnter:m,onMouseLeave:v,onTouchStart:g}=i,S=y.useRef(null);y.useEffect(()=>{if(a==="render"&&c(!0),a==="viewport"){let R=H=>{H.forEach(O=>{c(O.isIntersecting)})},C=new IntersectionObserver(R,{threshold:.5});return S.current&&C.observe(S.current),()=>{C.disconnect()}}},[a]),y.useEffect(()=>{if(t){let R=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(R)}}},[t]);let w=()=>{l(!0)},M=()=>{l(!1),c(!1)};return n?a!=="intent"?[s,S,{}]:[s,S,{onFocus:ys(d,w),onBlur:ys(h,M),onMouseEnter:ys(m,w),onMouseLeave:ys(v,M),onTouchStart:ys(g,w)}]:[!1,S,{}]}function ys(a,i){return n=>{a&&a(n),n.defaultPrevented||i(n)}}function Kw({page:a,...i}){let{router:n}=c8(),t=y.useMemo(()=>e8(n.routes,a,n.basename),[n.routes,a,n.basename]);return t?y.createElement($w,{page:a,matches:t,...i}):null}function Xw(a){let{manifest:i,routeModules:n}=f8(),[t,l]=y.useState([]);return y.useEffect(()=>{let s=!1;return jw(a,i,n).then(c=>{s||l(c)}),()=>{s=!0}},[a,i,n]),t}function $w({page:a,matches:i,...n}){let t=Ni(),{manifest:l,routeModules:s}=f8(),{basename:c}=c8(),{loaderData:d,matches:h}=Ww(),m=y.useMemo(()=>X4(a,i,h,l,t,"data"),[a,i,h,l,t]),v=y.useMemo(()=>X4(a,i,h,l,t,"assets"),[a,i,h,l,t]),g=y.useMemo(()=>{if(a===t.pathname+t.search+t.hash)return[];let M=new Set,R=!1;if(i.forEach(H=>{var Y;let O=l.routes[H.route.id];!O||!O.hasLoader||(!m.some(K=>K.route.id===H.route.id)&&H.route.id in d&&((Y=s[H.route.id])!=null&&Y.shouldRevalidate)||O.hasClientLoader?R=!0:M.add(H.route.id))}),M.size===0)return[];let C=Vw(a,c);return R&&M.size>0&&C.searchParams.set("_routes",i.filter(H=>M.has(H.route.id)).map(H=>H.route.id).join(",")),[C.pathname+C.search]},[c,d,t,l,m,i,a,s]),S=y.useMemo(()=>Bw(v,l),[v,l]),w=Xw(v);return y.createElement(y.Fragment,null,g.map(M=>y.createElement("link",{key:M,rel:"prefetch",as:"fetch",href:M,...n})),S.map(M=>y.createElement("link",{key:M,rel:"modulepreload",href:M,...n})),w.map(({key:M,link:R})=>y.createElement("link",{key:M,...R})))}function Jw(...a){return i=>{a.forEach(n=>{typeof n=="function"?n(i):n!=null&&(n.current=i)})}}var d8=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{d8&&(window.__reactRouterVersion="7.6.0")}catch{}function eD({basename:a,children:i,window:n}){let t=y.useRef();t.current==null&&(t.current=BE({window:n,v5Compat:!0}));let l=t.current,[s,c]=y.useState({action:l.action,location:l.location}),d=y.useCallback(h=>{y.startTransition(()=>c(h))},[c]);return y.useLayoutEffect(()=>l.listen(d),[l,d]),y.createElement(Cw,{basename:a,children:i,location:s.location,navigationType:s.action,navigator:l})}var h8=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,pm=y.forwardRef(function({onClick:i,discover:n="render",prefetch:t="none",relative:l,reloadDocument:s,replace:c,state:d,target:h,to:m,preventScrollReset:v,viewTransition:g,...S},w){let{basename:M}=y.useContext(Qr),R=typeof m=="string"&&h8.test(m),C,H=!1;if(typeof m=="string"&&R&&(C=m,d8))try{let E=new URL(window.location.href),D=m.startsWith("//")?new URL(E.protocol+m):new URL(m),q=Fa(D.pathname,M);D.origin===E.origin&&q!=null?m=q+D.search+D.hash:H=!0}catch{Vr(!1,`<Link to="${m}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let O=mw(m,{relative:l}),[Y,K,X]=Qw(t,S),re=aD(m,{replace:c,state:d,target:h,preventScrollReset:v,relative:l,viewTransition:g});function V(E){i&&i(E),E.defaultPrevented||re(E)}let _=y.createElement("a",{...S,...X,href:C||O,onClick:H||s?i:V,ref:Jw(w,K),target:h,"data-discover":!R&&n==="render"?"true":void 0});return Y&&!R?y.createElement(y.Fragment,null,_,y.createElement(Kw,{page:O})):_});pm.displayName="Link";var tD=y.forwardRef(function({"aria-current":i="page",caseSensitive:n=!1,className:t="",end:l=!1,style:s,to:c,viewTransition:d,children:h,...m},v){let g=js(c,{relative:m.relative}),S=Ni(),w=y.useContext(Gc),{navigator:M,basename:R}=y.useContext(Qr),C=w!=null&&uD(g)&&d===!0,H=M.encodeLocation?M.encodeLocation(g).pathname:g.pathname,O=S.pathname,Y=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;n||(O=O.toLowerCase(),Y=Y?Y.toLowerCase():null,H=H.toLowerCase()),Y&&R&&(Y=Fa(Y,R)||Y);const K=H!=="/"&&H.endsWith("/")?H.length-1:H.length;let X=O===H||!l&&O.startsWith(H)&&O.charAt(K)==="/",re=Y!=null&&(Y===H||!l&&Y.startsWith(H)&&Y.charAt(H.length)==="/"),V={isActive:X,isPending:re,isTransitioning:C},_=X?i:void 0,E;typeof t=="function"?E=t(V):E=[t,X?"active":null,re?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let D=typeof s=="function"?s(V):s;return y.createElement(pm,{...m,"aria-current":_,className:E,ref:v,style:D,to:c,viewTransition:d},typeof h=="function"?h(V):h)});tD.displayName="NavLink";var nD=y.forwardRef(({discover:a="render",fetcherKey:i,navigate:n,reloadDocument:t,replace:l,state:s,method:c=vc,action:d,onSubmit:h,relative:m,preventScrollReset:v,viewTransition:g,...S},w)=>{let M=oD(),R=sD(d,{relative:m}),C=c.toLowerCase()==="get"?"get":"post",H=typeof d=="string"&&h8.test(d),O=Y=>{if(h&&h(Y),Y.defaultPrevented)return;Y.preventDefault();let K=Y.nativeEvent.submitter,X=(K==null?void 0:K.getAttribute("formmethod"))||c;M(K||Y.currentTarget,{fetcherKey:i,method:X,navigate:n,replace:l,state:s,relative:m,preventScrollReset:v,viewTransition:g})};return y.createElement("form",{ref:w,method:C,action:R,onSubmit:t?h:O,...S,"data-discover":!H&&a==="render"?"true":void 0})});nD.displayName="Form";function rD(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function p8(a){let i=y.useContext(ho);return It(i,rD(a)),i}function aD(a,{target:i,replace:n,state:t,preventScrollReset:l,relative:s,viewTransition:c}={}){let d=fl(),h=Ni(),m=js(a,{relative:s});return y.useCallback(v=>{if(qw(v,i)){v.preventDefault();let g=n!==void 0?n:qs(h)===qs(m);d(a,{replace:g,state:t,preventScrollReset:l,relative:s,viewTransition:c})}},[h,d,m,n,t,i,a,l,s,c])}var iD=0,lD=()=>`__${String(++iD)}__`;function oD(){let{router:a}=p8("useSubmit"),{basename:i}=y.useContext(Qr),n=xw();return y.useCallback(async(t,l={})=>{let{action:s,method:c,encType:d,formData:h,body:m}=Pw(t,i);if(l.navigate===!1){let v=l.fetcherKey||lD();await a.fetch(v,n,l.action||s,{preventScrollReset:l.preventScrollReset,formData:h,body:m,formMethod:l.method||c,formEncType:l.encType||d,flushSync:l.flushSync})}else await a.navigate(l.action||s,{preventScrollReset:l.preventScrollReset,formData:h,body:m,formMethod:l.method||c,formEncType:l.encType||d,replace:l.replace,state:l.state,fromRouteId:n,flushSync:l.flushSync,viewTransition:l.viewTransition})},[a,i,n])}function sD(a,{relative:i}={}){let{basename:n}=y.useContext(Qr),t=y.useContext(Kr);It(t,"useFormAction must be used inside a RouteContext");let[l]=t.matches.slice(-1),s={...js(a||".",{relative:i})},c=Ni();if(a==null){s.search=c.search;let d=new URLSearchParams(s.search),h=d.getAll("index");if(h.some(v=>v==="")){d.delete("index"),h.filter(g=>g).forEach(g=>d.append("index",g));let v=d.toString();s.search=v?`?${v}`:""}}return(!a||a===".")&&l.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(s.pathname=s.pathname==="/"?n:Ha([n,s.pathname])),qs(s)}function uD(a,i={}){let n=y.useContext(a8);It(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:t}=p8("useViewTransitionState"),l=js(a,{relative:i.relative});if(!n.isTransitioning)return!1;let s=Fa(n.currentLocation.pathname,t)||n.currentLocation.pathname,c=Fa(n.nextLocation.pathname,t)||n.nextLocation.pathname;return Oc(l.pathname,c)!=null||Oc(l.pathname,s)!=null}[...Zw];var m8=N9();const cD=mr(m8),fD={code:"EN",name:"English",languages:{language:"Language",en:"English",nl:"Dutch"},landing:{header:{title:"ServiceDesk",subTitle:"Hello {{name}}",login:"Log in",sup:"EduID ServiceDesk is by invitation only."},works:"How does it work?",adminFunction:"Employee",studentFunction:"Student",info:[["Security","<p>EduID ServiceDesk is a secure platform designed to validate the identity of students who have applied for an identity check. This service ensures compliance with formal identification standards while providing a user-friendly process for employees and students.</p>",!0],["Compliance","<p>Built to adhere to formal identification regulations and ensure accuracy in identity verification. Reduces errors through a structured and step-by-step validation process</p>",!0],["Authentication","<p>Employees initiate the verification process using a unique code sent to the student via email. The system ensures that only students with valid application codes can proceed with the identity check.</p><br/>",!1]],footer:"<p>The eduID ServiceDesk simplifies the identity verification process, ensuring security and efficiency.</p><p>Do you want to know more? <a href='https://support.surfconext.nl/servicedesk-en'>Read more</a>.</p>"},header:{title:"ServiceDesk eduID",links:{logout:"Logout"}},serviceDesk:{member:"ServiceDesk member"},tabs:{home:"Home",verify:"Identity check"},verification:{header:"Enter the verification code",proceed:"Continue",error:"No user found for verification code {{code}}",info:"The person generated this code in eduID.",flash:"Verification code found for user {{name}}"},control:{header:"Verification code ",restart:"Start again",proceed:"Ready",error:"An unexpected error has occurred. Please contact <a href='mailto:servicedesk@surf.nl?subject=Reference {{reference}}'>SURF ServiceDesk</a>",info:"Check this person’s ID",validDocuments:"Valid documents: passports, EEA ID cards, Dutch driving licenses and Dutch residence permits",inValidDocuments:"Copies, public transport tickets and student cards are not valid documents",isValid:"Is everything correct?",validations:{photo:"The person <span>looks like the photo</span> in the document",valid:"The document is <span>still valid</span>",lastName:"The last name in the document: <span>{{lastName}}</span>",firstName:"The first names in the document: <span>{{firstName}}</span>",dayOfBirth:"The date of birth in the document: <span>{{dayOfBirth}}</span> "},invalidDate:"The day of birth has an invalid format, first select the correct date by pressing the calendar button at the right",validDate:"The day of birth is now valid and can be confirmed",idDocument:"Fill in the <span>last 6 characters</span> of the ID document"},forbidden:{info:"Unfortunately you do not have access to the ServiceDesk. If you logout, you can try again with a different account.",logout:"Logout"},confirmation:{header:"The identity of the person has been confirmed",info:"From now on, the person will see a check mark in front of the personal data in eduID",restart:"Back to home"},footer:{terms:"Terms of Use",termsLink:"https://support.surfconext.nl/terms-en",privacy:"Privacy policy",privacyLink:"https://support.surfconext.nl/privacy-en",surfLink:"https://surf.nl",select_locale:"Select your preferred language"}},dD={code:"NL",name:"Nederlands",languages:{language:"Language",en:"Engels",nl:"Nederlands"},landing:{header:{title:"ServiceDesk",subTitle:"",login:"Log in",sup:"EduID ServiceDesk is alleen op uitnodiging beschikbaar."},works:"Hoe werkt het?",adminFunction:"Medewerker",studentFunction:"Student",info:[["Beveiliging","<p>EduID ServiceDesk is een beveiligd platform ontworpen om de identiteit te valideren van studenten die een identiteitscontrole hebben aangevraagd. Deze dienst waarborgt naleving van formele identificatienormen en biedt tegelijkertijd een gebruiksvriendelijk proces voor medewerkers en studenten. </p>",!0],["Compliance","<p>Gebouwd om te voldoen aan de formele identificatievoorschriften en nauwkeurigheid bij identiteitsverificatie te garanderen. Vermindert fouten door een gestructureerd en stapsgewijs validatieproces</p>",!0],["Authenticatie","<p>Medewerkers initiëren het verificatieproces met behulp van een unieke code die via e-mail naar de student wordt verzonden. Het systeem zorgt ervoor dat alleen studenten met geldige aanmeldingscodes door kunnen gaan met de identiteitscontrole.</p><br/> ",!1]],footer:"<p>De eduID ServiceDesk vereenvoudigt het identiteitsverificatieproces en zorgt voor veiligheid en efficiëntie.</p><p>Wil je meer weten? <a href='https://support.surfconext.nl/servicedesk-nl'>Lees verder</a>.</p>"},header:{title:"EduID ServiceDesk",links:{logout:"Logout"}},serviceDesk:{member:"ServiceDesk lid"},tabs:{home:"Home",verify:"Identiteitscontrole"},verification:{header:"Vul de controlecode in",proceed:"Ga verder",error:"Geen gebruiker gevonden voor de verificatiecode {{code}}",info:"Deze code heeft de persoon gegenereerd in eduID",flash:"Verificatie code gevonden voor gebruiker {{name}}"},control:{header:"Identiteitscontrole voor code: ",restart:"Start opnieuw",proceed:"Klaar",error:"Er is een onverwachte fout opgetreden. Neem dan contact op met <a href='mailto:servicedesk@surf.nl>?subject=Referentie {{reference}}'>SURF ServiceDesk</a>",info:"Controleer het identiteitsbewijs van deze persoon",validDocuments:"Geldige documenten: paspoorten, EER ID-kaarten, Nederlandse rijbewijzen en Nederlandse verblijfsvergunningen",inValidDocuments:"Kopieën, OV-kaarten en studentenkaarten zijn geen geldige documenten",isValid:"Klopt dit allemaal?",validations:{photo:"De persoon <span>lijkt op de foto</span> in het document",valid:"Het document is <span>nog geldig</span>",lastName:"De achternaam in het document: <span>{{lastName}}</span>",firstName:"De voornamen in het document: <span>{{firstName}}</span>",dayOfBirth:"De geboortedatum in het document: <span>{{dayOfBirth}}</span>"},invalidDate:"De geboortedatum heeft een ongeldig formaat, selecteer eerst de juiste geboortedatum door op de kalendar knop rechts te drukken",validDate:"De geboortedatum is nu correct en kan worden bevestigd",idDocument:"Vul de <span>laatste 6 karakters</span> van het document in"},forbidden:{info:"Helaas heb je geen toegang tot de ServiceDesk. Als je uitlogt, dan kan je het opnieuw proberen met een andere account",logout:"Uitloggen"},confirmation:{header:"De identiteit van de persoon is bevestigd",info:"De persoon ziet vanaf nu in eduID een vinkje voor de persoonsgegevens",restart:"Terug naar home"},footer:{terms:"Gebruiksvoorwaarden",termsLink:"https://support.surfconext.nl/terms-nl",privacy:"Privacybeleid",privacyLink:"https://support.surfconext.nl/privacy-nl",surfLink:"https://surf.nl",select_locale:"Kies jouw taal"}};var p1,$4;function Xr(){if($4)return p1;$4=1;var a=Array.isArray;return p1=a,p1}var m1,J4;function v8(){if(J4)return m1;J4=1;var a=typeof tc=="object"&&tc&&tc.Object===Object&&tc;return m1=a,m1}var v1,eg;function ga(){if(eg)return v1;eg=1;var a=v8(),i=typeof self=="object"&&self&&self.Object===Object&&self,n=a||i||Function("return this")();return v1=n,v1}var g1,tg;function Bs(){if(tg)return g1;tg=1;var a=ga(),i=a.Symbol;return g1=i,g1}var y1,ng;function hD(){if(ng)return y1;ng=1;var a=Bs(),i=Object.prototype,n=i.hasOwnProperty,t=i.toString,l=a?a.toStringTag:void 0;function s(c){var d=n.call(c,l),h=c[l];try{c[l]=void 0;var m=!0}catch{}var v=t.call(c);return m&&(d?c[l]=h:delete c[l]),v}return y1=s,y1}var b1,rg;function pD(){if(rg)return b1;rg=1;var a=Object.prototype,i=a.toString;function n(t){return i.call(t)}return b1=n,b1}var _1,ag;function mo(){if(ag)return _1;ag=1;var a=Bs(),i=hD(),n=pD(),t="[object Null]",l="[object Undefined]",s=a?a.toStringTag:void 0;function c(d){return d==null?d===void 0?l:t:s&&s in Object(d)?i(d):n(d)}return _1=c,_1}var S1,ig;function dl(){if(ig)return S1;ig=1;function a(i){return i!=null&&typeof i=="object"}return S1=a,S1}var E1,lg;function Is(){if(lg)return E1;lg=1;var a=mo(),i=dl(),n="[object Symbol]";function t(l){return typeof l=="symbol"||i(l)&&a(l)==n}return E1=t,E1}var w1,og;function mm(){if(og)return w1;og=1;var a=Xr(),i=Is(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,t=/^\w*$/;function l(s,c){if(a(s))return!1;var d=typeof s;return d=="number"||d=="symbol"||d=="boolean"||s==null||i(s)?!0:t.test(s)||!n.test(s)||c!=null&&s in Object(c)}return w1=l,w1}var D1,sg;function Za(){if(sg)return D1;sg=1;function a(i){var n=typeof i;return i!=null&&(n=="object"||n=="function")}return D1=a,D1}var T1,ug;function vm(){if(ug)return T1;ug=1;var a=mo(),i=Za(),n="[object AsyncFunction]",t="[object Function]",l="[object GeneratorFunction]",s="[object Proxy]";function c(d){if(!i(d))return!1;var h=a(d);return h==t||h==l||h==n||h==s}return T1=c,T1}var x1,cg;function mD(){if(cg)return x1;cg=1;var a=ga(),i=a["__core-js_shared__"];return x1=i,x1}var M1,fg;function vD(){if(fg)return M1;fg=1;var a=mD(),i=function(){var t=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function n(t){return!!i&&i in t}return M1=n,M1}var O1,dg;function g8(){if(dg)return O1;dg=1;var a=Function.prototype,i=a.toString;function n(t){if(t!=null){try{return i.call(t)}catch{}try{return t+""}catch{}}return""}return O1=n,O1}var A1,hg;function gD(){if(hg)return A1;hg=1;var a=vm(),i=vD(),n=Za(),t=g8(),l=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,d=Object.prototype,h=c.toString,m=d.hasOwnProperty,v=RegExp("^"+h.call(m).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function g(S){if(!n(S)||i(S))return!1;var w=a(S)?v:s;return w.test(t(S))}return A1=g,A1}var C1,pg;function yD(){if(pg)return C1;pg=1;function a(i,n){return i==null?void 0:i[n]}return C1=a,C1}var R1,mg;function hl(){if(mg)return R1;mg=1;var a=gD(),i=yD();function n(t,l){var s=i(t,l);return a(s)?s:void 0}return R1=n,R1}var N1,vg;function Vc(){if(vg)return N1;vg=1;var a=hl(),i=a(Object,"create");return N1=i,N1}var k1,gg;function bD(){if(gg)return k1;gg=1;var a=Vc();function i(){this.__data__=a?a(null):{},this.size=0}return k1=i,k1}var L1,yg;function _D(){if(yg)return L1;yg=1;function a(i){var n=this.has(i)&&delete this.__data__[i];return this.size-=n?1:0,n}return L1=a,L1}var q1,bg;function SD(){if(bg)return q1;bg=1;var a=Vc(),i="__lodash_hash_undefined__",n=Object.prototype,t=n.hasOwnProperty;function l(s){var c=this.__data__;if(a){var d=c[s];return d===i?void 0:d}return t.call(c,s)?c[s]:void 0}return q1=l,q1}var U1,_g;function ED(){if(_g)return U1;_g=1;var a=Vc(),i=Object.prototype,n=i.hasOwnProperty;function t(l){var s=this.__data__;return a?s[l]!==void 0:n.call(s,l)}return U1=t,U1}var H1,Sg;function wD(){if(Sg)return H1;Sg=1;var a=Vc(),i="__lodash_hash_undefined__";function n(t,l){var s=this.__data__;return this.size+=this.has(t)?0:1,s[t]=a&&l===void 0?i:l,this}return H1=n,H1}var P1,Eg;function DD(){if(Eg)return P1;Eg=1;var a=bD(),i=_D(),n=SD(),t=ED(),l=wD();function s(c){var d=-1,h=c==null?0:c.length;for(this.clear();++d<h;){var m=c[d];this.set(m[0],m[1])}}return s.prototype.clear=a,s.prototype.delete=i,s.prototype.get=n,s.prototype.has=t,s.prototype.set=l,P1=s,P1}var z1,wg;function TD(){if(wg)return z1;wg=1;function a(){this.__data__=[],this.size=0}return z1=a,z1}var Y1,Dg;function Fs(){if(Dg)return Y1;Dg=1;function a(i,n){return i===n||i!==i&&n!==n}return Y1=a,Y1}var j1,Tg;function Wc(){if(Tg)return j1;Tg=1;var a=Fs();function i(n,t){for(var l=n.length;l--;)if(a(n[l][0],t))return l;return-1}return j1=i,j1}var B1,xg;function xD(){if(xg)return B1;xg=1;var a=Wc(),i=Array.prototype,n=i.splice;function t(l){var s=this.__data__,c=a(s,l);if(c<0)return!1;var d=s.length-1;return c==d?s.pop():n.call(s,c,1),--this.size,!0}return B1=t,B1}var I1,Mg;function MD(){if(Mg)return I1;Mg=1;var a=Wc();function i(n){var t=this.__data__,l=a(t,n);return l<0?void 0:t[l][1]}return I1=i,I1}var F1,Og;function OD(){if(Og)return F1;Og=1;var a=Wc();function i(n){return a(this.__data__,n)>-1}return F1=i,F1}var G1,Ag;function AD(){if(Ag)return G1;Ag=1;var a=Wc();function i(n,t){var l=this.__data__,s=a(l,n);return s<0?(++this.size,l.push([n,t])):l[s][1]=t,this}return G1=i,G1}var Z1,Cg;function Qc(){if(Cg)return Z1;Cg=1;var a=TD(),i=xD(),n=MD(),t=OD(),l=AD();function s(c){var d=-1,h=c==null?0:c.length;for(this.clear();++d<h;){var m=c[d];this.set(m[0],m[1])}}return s.prototype.clear=a,s.prototype.delete=i,s.prototype.get=n,s.prototype.has=t,s.prototype.set=l,Z1=s,Z1}var V1,Rg;function gm(){if(Rg)return V1;Rg=1;var a=hl(),i=ga(),n=a(i,"Map");return V1=n,V1}var W1,Ng;function CD(){if(Ng)return W1;Ng=1;var a=DD(),i=Qc(),n=gm();function t(){this.size=0,this.__data__={hash:new a,map:new(n||i),string:new a}}return W1=t,W1}var Q1,kg;function RD(){if(kg)return Q1;kg=1;function a(i){var n=typeof i;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?i!=="__proto__":i===null}return Q1=a,Q1}var K1,Lg;function Kc(){if(Lg)return K1;Lg=1;var a=RD();function i(n,t){var l=n.__data__;return a(t)?l[typeof t=="string"?"string":"hash"]:l.map}return K1=i,K1}var X1,qg;function ND(){if(qg)return X1;qg=1;var a=Kc();function i(n){var t=a(this,n).delete(n);return this.size-=t?1:0,t}return X1=i,X1}var $1,Ug;function kD(){if(Ug)return $1;Ug=1;var a=Kc();function i(n){return a(this,n).get(n)}return $1=i,$1}var J1,Hg;function LD(){if(Hg)return J1;Hg=1;var a=Kc();function i(n){return a(this,n).has(n)}return J1=i,J1}var e0,Pg;function qD(){if(Pg)return e0;Pg=1;var a=Kc();function i(n,t){var l=a(this,n),s=l.size;return l.set(n,t),this.size+=l.size==s?0:1,this}return e0=i,e0}var t0,zg;function ym(){if(zg)return t0;zg=1;var a=CD(),i=ND(),n=kD(),t=LD(),l=qD();function s(c){var d=-1,h=c==null?0:c.length;for(this.clear();++d<h;){var m=c[d];this.set(m[0],m[1])}}return s.prototype.clear=a,s.prototype.delete=i,s.prototype.get=n,s.prototype.has=t,s.prototype.set=l,t0=s,t0}var n0,Yg;function UD(){if(Yg)return n0;Yg=1;var a=ym(),i="Expected a function";function n(t,l){if(typeof t!="function"||l!=null&&typeof l!="function")throw new TypeError(i);var s=function(){var c=arguments,d=l?l.apply(this,c):c[0],h=s.cache;if(h.has(d))return h.get(d);var m=t.apply(this,c);return s.cache=h.set(d,m)||h,m};return s.cache=new(n.Cache||a),s}return n.Cache=a,n0=n,n0}var r0,jg;function HD(){if(jg)return r0;jg=1;var a=UD(),i=500;function n(t){var l=a(t,function(c){return s.size===i&&s.clear(),c}),s=l.cache;return l}return r0=n,r0}var a0,Bg;function PD(){if(Bg)return a0;Bg=1;var a=HD(),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,t=a(function(l){var s=[];return l.charCodeAt(0)===46&&s.push(""),l.replace(i,function(c,d,h,m){s.push(h?m.replace(n,"$1"):d||c)}),s});return a0=t,a0}var i0,Ig;function y8(){if(Ig)return i0;Ig=1;function a(i,n){for(var t=-1,l=i==null?0:i.length,s=Array(l);++t<l;)s[t]=n(i[t],t,i);return s}return i0=a,i0}var l0,Fg;function zD(){if(Fg)return l0;Fg=1;var a=Bs(),i=y8(),n=Xr(),t=Is(),l=a?a.prototype:void 0,s=l?l.toString:void 0;function c(d){if(typeof d=="string")return d;if(n(d))return i(d,c)+"";if(t(d))return s?s.call(d):"";var h=d+"";return h=="0"&&1/d==-1/0?"-0":h}return l0=c,l0}var o0,Gg;function vo(){if(Gg)return o0;Gg=1;var a=zD();function i(n){return n==null?"":a(n)}return o0=i,o0}var s0,Zg;function b8(){if(Zg)return s0;Zg=1;var a=Xr(),i=mm(),n=PD(),t=vo();function l(s,c){return a(s)?s:i(s,c)?[s]:n(t(s))}return s0=l,s0}var u0,Vg;function Xc(){if(Vg)return u0;Vg=1;var a=Is();function i(n){if(typeof n=="string"||a(n))return n;var t=n+"";return t=="0"&&1/n==-1/0?"-0":t}return u0=i,u0}var c0,Wg;function bm(){if(Wg)return c0;Wg=1;var a=b8(),i=Xc();function n(t,l){l=a(l,t);for(var s=0,c=l.length;t!=null&&s<c;)t=t[i(l[s++])];return s&&s==c?t:void 0}return c0=n,c0}var f0,Qg;function _8(){if(Qg)return f0;Qg=1;var a=bm();function i(n,t,l){var s=n==null?void 0:a(n,t);return s===void 0?l:s}return f0=i,f0}var YD=_8();const jD=mr(YD);var d0,Kg;function BD(){if(Kg)return d0;Kg=1;var a=Object.prototype,i=a.hasOwnProperty;function n(t,l){return t!=null&&i.call(t,l)}return d0=n,d0}var h0,Xg;function ID(){if(Xg)return h0;Xg=1;var a=mo(),i=dl(),n="[object Arguments]";function t(l){return i(l)&&a(l)==n}return h0=t,h0}var p0,$g;function $c(){if($g)return p0;$g=1;var a=ID(),i=dl(),n=Object.prototype,t=n.hasOwnProperty,l=n.propertyIsEnumerable,s=a(function(){return arguments}())?a:function(c){return i(c)&&t.call(c,"callee")&&!l.call(c,"callee")};return p0=s,p0}var m0,Jg;function _m(){if(Jg)return m0;Jg=1;var a=9007199254740991,i=/^(?:0|[1-9]\d*)$/;function n(t,l){var s=typeof t;return l=l??a,!!l&&(s=="number"||s!="symbol"&&i.test(t))&&t>-1&&t%1==0&&t<l}return m0=n,m0}var v0,e5;function Sm(){if(e5)return v0;e5=1;var a=9007199254740991;function i(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=a}return v0=i,v0}var g0,t5;function S8(){if(t5)return g0;t5=1;var a=b8(),i=$c(),n=Xr(),t=_m(),l=Sm(),s=Xc();function c(d,h,m){h=a(h,d);for(var v=-1,g=h.length,S=!1;++v<g;){var w=s(h[v]);if(!(S=d!=null&&m(d,w)))break;d=d[w]}return S||++v!=g?S:(g=d==null?0:d.length,!!g&&l(g)&&t(w,g)&&(n(d)||i(d)))}return g0=c,g0}var y0,n5;function FD(){if(n5)return y0;n5=1;var a=BD(),i=S8();function n(t,l){return t!=null&&i(t,l,a)}return y0=n,y0}var GD=FD();const ZD=mr(GD);var b0,r5;function VD(){if(r5)return b0;r5=1;var a=Qc();function i(){this.__data__=new a,this.size=0}return b0=i,b0}var _0,a5;function WD(){if(a5)return _0;a5=1;function a(i){var n=this.__data__,t=n.delete(i);return this.size=n.size,t}return _0=a,_0}var S0,i5;function QD(){if(i5)return S0;i5=1;function a(i){return this.__data__.get(i)}return S0=a,S0}var E0,l5;function KD(){if(l5)return E0;l5=1;function a(i){return this.__data__.has(i)}return E0=a,E0}var w0,o5;function XD(){if(o5)return w0;o5=1;var a=Qc(),i=gm(),n=ym(),t=200;function l(s,c){var d=this.__data__;if(d instanceof a){var h=d.__data__;if(!i||h.length<t-1)return h.push([s,c]),this.size=++d.size,this;d=this.__data__=new n(h)}return d.set(s,c),this.size=d.size,this}return w0=l,w0}var D0,s5;function Em(){if(s5)return D0;s5=1;var a=Qc(),i=VD(),n=WD(),t=QD(),l=KD(),s=XD();function c(d){var h=this.__data__=new a(d);this.size=h.size}return c.prototype.clear=i,c.prototype.delete=n,c.prototype.get=t,c.prototype.has=l,c.prototype.set=s,D0=c,D0}var T0,u5;function E8(){if(u5)return T0;u5=1;var a=hl(),i=function(){try{var n=a(Object,"defineProperty");return n({},"",{}),n}catch{}}();return T0=i,T0}var x0,c5;function wm(){if(c5)return x0;c5=1;var a=E8();function i(n,t,l){t=="__proto__"&&a?a(n,t,{configurable:!0,enumerable:!0,value:l,writable:!0}):n[t]=l}return x0=i,x0}var M0,f5;function w8(){if(f5)return M0;f5=1;var a=wm(),i=Fs();function n(t,l,s){(s!==void 0&&!i(t[l],s)||s===void 0&&!(l in t))&&a(t,l,s)}return M0=n,M0}var O0,d5;function $D(){if(d5)return O0;d5=1;function a(i){return function(n,t,l){for(var s=-1,c=Object(n),d=l(n),h=d.length;h--;){var m=d[i?h:++s];if(t(c[m],m,c)===!1)break}return n}}return O0=a,O0}var A0,h5;function D8(){if(h5)return A0;h5=1;var a=$D(),i=a();return A0=i,A0}var As={exports:{}};As.exports;var p5;function JD(){return p5||(p5=1,function(a,i){var n=ga(),t=i&&!i.nodeType&&i,l=t&&!0&&a&&!a.nodeType&&a,s=l&&l.exports===t,c=s?n.Buffer:void 0,d=c?c.allocUnsafe:void 0;function h(m,v){if(v)return m.slice();var g=m.length,S=d?d(g):new m.constructor(g);return m.copy(S),S}a.exports=h}(As,As.exports)),As.exports}var C0,m5;function T8(){if(m5)return C0;m5=1;var a=ga(),i=a.Uint8Array;return C0=i,C0}var R0,v5;function eT(){if(v5)return R0;v5=1;var a=T8();function i(n){var t=new n.constructor(n.byteLength);return new a(t).set(new a(n)),t}return R0=i,R0}var N0,g5;function tT(){if(g5)return N0;g5=1;var a=eT();function i(n,t){var l=t?a(n.buffer):n.buffer;return new n.constructor(l,n.byteOffset,n.length)}return N0=i,N0}var k0,y5;function nT(){if(y5)return k0;y5=1;function a(i,n){var t=-1,l=i.length;for(n||(n=Array(l));++t<l;)n[t]=i[t];return n}return k0=a,k0}var L0,b5;function rT(){if(b5)return L0;b5=1;var a=Za(),i=Object.create,n=function(){function t(){}return function(l){if(!a(l))return{};if(i)return i(l);t.prototype=l;var s=new t;return t.prototype=void 0,s}}();return L0=n,L0}var q0,_5;function x8(){if(_5)return q0;_5=1;function a(i,n){return function(t){return i(n(t))}}return q0=a,q0}var U0,S5;function M8(){if(S5)return U0;S5=1;var a=x8(),i=a(Object.getPrototypeOf,Object);return U0=i,U0}var H0,E5;function Dm(){if(E5)return H0;E5=1;var a=Object.prototype;function i(n){var t=n&&n.constructor,l=typeof t=="function"&&t.prototype||a;return n===l}return H0=i,H0}var P0,w5;function aT(){if(w5)return P0;w5=1;var a=rT(),i=M8(),n=Dm();function t(l){return typeof l.constructor=="function"&&!n(l)?a(i(l)):{}}return P0=t,P0}var z0,D5;function go(){if(D5)return z0;D5=1;var a=vm(),i=Sm();function n(t){return t!=null&&i(t.length)&&!a(t)}return z0=n,z0}var Y0,T5;function iT(){if(T5)return Y0;T5=1;var a=go(),i=dl();function n(t){return i(t)&&a(t)}return Y0=n,Y0}var Cs={exports:{}},j0,x5;function lT(){if(x5)return j0;x5=1;function a(){return!1}return j0=a,j0}Cs.exports;var M5;function Tm(){return M5||(M5=1,function(a,i){var n=ga(),t=lT(),l=i&&!i.nodeType&&i,s=l&&!0&&a&&!a.nodeType&&a,c=s&&s.exports===l,d=c?n.Buffer:void 0,h=d?d.isBuffer:void 0,m=h||t;a.exports=m}(Cs,Cs.exports)),Cs.exports}var B0,O5;function oT(){if(O5)return B0;O5=1;var a=mo(),i=M8(),n=dl(),t="[object Object]",l=Function.prototype,s=Object.prototype,c=l.toString,d=s.hasOwnProperty,h=c.call(Object);function m(v){if(!n(v)||a(v)!=t)return!1;var g=i(v);if(g===null)return!0;var S=d.call(g,"constructor")&&g.constructor;return typeof S=="function"&&S instanceof S&&c.call(S)==h}return B0=m,B0}var I0,A5;function sT(){if(A5)return I0;A5=1;var a=mo(),i=Sm(),n=dl(),t="[object Arguments]",l="[object Array]",s="[object Boolean]",c="[object Date]",d="[object Error]",h="[object Function]",m="[object Map]",v="[object Number]",g="[object Object]",S="[object RegExp]",w="[object Set]",M="[object String]",R="[object WeakMap]",C="[object ArrayBuffer]",H="[object DataView]",O="[object Float32Array]",Y="[object Float64Array]",K="[object Int8Array]",X="[object Int16Array]",re="[object Int32Array]",V="[object Uint8Array]",_="[object Uint8ClampedArray]",E="[object Uint16Array]",D="[object Uint32Array]",q={};q[O]=q[Y]=q[K]=q[X]=q[re]=q[V]=q[_]=q[E]=q[D]=!0,q[t]=q[l]=q[C]=q[s]=q[H]=q[c]=q[d]=q[h]=q[m]=q[v]=q[g]=q[S]=q[w]=q[M]=q[R]=!1;function k(z){return n(z)&&i(z.length)&&!!q[a(z)]}return I0=k,I0}var F0,C5;function O8(){if(C5)return F0;C5=1;function a(i){return function(n){return i(n)}}return F0=a,F0}var Rs={exports:{}};Rs.exports;var R5;function uT(){return R5||(R5=1,function(a,i){var n=v8(),t=i&&!i.nodeType&&i,l=t&&!0&&a&&!a.nodeType&&a,s=l&&l.exports===t,c=s&&n.process,d=function(){try{var h=l&&l.require&&l.require("util").types;return h||c&&c.binding&&c.binding("util")}catch{}}();a.exports=d}(Rs,Rs.exports)),Rs.exports}var G0,N5;function xm(){if(N5)return G0;N5=1;var a=sT(),i=O8(),n=uT(),t=n&&n.isTypedArray,l=t?i(t):a;return G0=l,G0}var Z0,k5;function A8(){if(k5)return Z0;k5=1;function a(i,n){if(!(n==="constructor"&&typeof i[n]=="function")&&n!="__proto__")return i[n]}return Z0=a,Z0}var V0,L5;function C8(){if(L5)return V0;L5=1;var a=wm(),i=Fs(),n=Object.prototype,t=n.hasOwnProperty;function l(s,c,d){var h=s[c];(!(t.call(s,c)&&i(h,d))||d===void 0&&!(c in s))&&a(s,c,d)}return V0=l,V0}var W0,q5;function cT(){if(q5)return W0;q5=1;var a=C8(),i=wm();function n(t,l,s,c){var d=!s;s||(s={});for(var h=-1,m=l.length;++h<m;){var v=l[h],g=c?c(s[v],t[v],v,s,t):void 0;g===void 0&&(g=t[v]),d?i(s,v,g):a(s,v,g)}return s}return W0=n,W0}var Q0,U5;function fT(){if(U5)return Q0;U5=1;function a(i,n){for(var t=-1,l=Array(i);++t<i;)l[t]=n(t);return l}return Q0=a,Q0}var K0,H5;function R8(){if(H5)return K0;H5=1;var a=fT(),i=$c(),n=Xr(),t=Tm(),l=_m(),s=xm(),c=Object.prototype,d=c.hasOwnProperty;function h(m,v){var g=n(m),S=!g&&i(m),w=!g&&!S&&t(m),M=!g&&!S&&!w&&s(m),R=g||S||w||M,C=R?a(m.length,String):[],H=C.length;for(var O in m)(v||d.call(m,O))&&!(R&&(O=="length"||w&&(O=="offset"||O=="parent")||M&&(O=="buffer"||O=="byteLength"||O=="byteOffset")||l(O,H)))&&C.push(O);return C}return K0=h,K0}var X0,P5;function dT(){if(P5)return X0;P5=1;function a(i){var n=[];if(i!=null)for(var t in Object(i))n.push(t);return n}return X0=a,X0}var $0,z5;function hT(){if(z5)return $0;z5=1;var a=Za(),i=Dm(),n=dT(),t=Object.prototype,l=t.hasOwnProperty;function s(c){if(!a(c))return n(c);var d=i(c),h=[];for(var m in c)m=="constructor"&&(d||!l.call(c,m))||h.push(m);return h}return $0=s,$0}var J0,Y5;function N8(){if(Y5)return J0;Y5=1;var a=R8(),i=hT(),n=go();function t(l){return n(l)?a(l,!0):i(l)}return J0=t,J0}var eh,j5;function pT(){if(j5)return eh;j5=1;var a=cT(),i=N8();function n(t){return a(t,i(t))}return eh=n,eh}var th,B5;function mT(){if(B5)return th;B5=1;var a=w8(),i=JD(),n=tT(),t=nT(),l=aT(),s=$c(),c=Xr(),d=iT(),h=Tm(),m=vm(),v=Za(),g=oT(),S=xm(),w=A8(),M=pT();function R(C,H,O,Y,K,X,re){var V=w(C,O),_=w(H,O),E=re.get(_);if(E){a(C,O,E);return}var D=X?X(V,_,O+"",C,H,re):void 0,q=D===void 0;if(q){var k=c(_),z=!k&&h(_),B=!k&&!z&&S(_);D=_,k||z||B?c(V)?D=V:d(V)?D=t(V):z?(q=!1,D=i(_,!0)):B?(q=!1,D=n(_,!0)):D=[]:g(_)||s(_)?(D=V,s(V)?D=M(V):(!v(V)||m(V))&&(D=l(_))):q=!1}q&&(re.set(_,D),K(D,_,Y,X,re),re.delete(_)),a(C,O,D)}return th=R,th}var nh,I5;function vT(){if(I5)return nh;I5=1;var a=Em(),i=w8(),n=D8(),t=mT(),l=Za(),s=N8(),c=A8();function d(h,m,v,g,S){h!==m&&n(m,function(w,M){if(S||(S=new a),l(w))t(h,m,M,v,d,g,S);else{var R=g?g(c(h,M),w,M+"",h,m,S):void 0;R===void 0&&(R=w),i(h,M,R)}},s)}return nh=d,nh}var rh,F5;function Jc(){if(F5)return rh;F5=1;function a(i){return i}return rh=a,rh}var ah,G5;function gT(){if(G5)return ah;G5=1;function a(i,n,t){switch(t.length){case 0:return i.call(n);case 1:return i.call(n,t[0]);case 2:return i.call(n,t[0],t[1]);case 3:return i.call(n,t[0],t[1],t[2])}return i.apply(n,t)}return ah=a,ah}var ih,Z5;function yT(){if(Z5)return ih;Z5=1;var a=gT(),i=Math.max;function n(t,l,s){return l=i(l===void 0?t.length-1:l,0),function(){for(var c=arguments,d=-1,h=i(c.length-l,0),m=Array(h);++d<h;)m[d]=c[l+d];d=-1;for(var v=Array(l+1);++d<l;)v[d]=c[d];return v[l]=s(m),a(t,this,v)}}return ih=n,ih}var lh,V5;function bT(){if(V5)return lh;V5=1;function a(i){return function(){return i}}return lh=a,lh}var oh,W5;function _T(){if(W5)return oh;W5=1;var a=bT(),i=E8(),n=Jc(),t=i?function(l,s){return i(l,"toString",{configurable:!0,enumerable:!1,value:a(s),writable:!0})}:n;return oh=t,oh}var sh,Q5;function ST(){if(Q5)return sh;Q5=1;var a=800,i=16,n=Date.now;function t(l){var s=0,c=0;return function(){var d=n(),h=i-(d-c);if(c=d,h>0){if(++s>=a)return arguments[0]}else s=0;return l.apply(void 0,arguments)}}return sh=t,sh}var uh,K5;function ET(){if(K5)return uh;K5=1;var a=_T(),i=ST(),n=i(a);return uh=n,uh}var ch,X5;function k8(){if(X5)return ch;X5=1;var a=Jc(),i=yT(),n=ET();function t(l,s){return n(i(l,s,a),l+"")}return ch=t,ch}var fh,$5;function ef(){if($5)return fh;$5=1;var a=Fs(),i=go(),n=_m(),t=Za();function l(s,c,d){if(!t(d))return!1;var h=typeof c;return(h=="number"?i(d)&&n(c,d.length):h=="string"&&c in d)?a(d[c],s):!1}return fh=l,fh}var dh,J5;function wT(){if(J5)return dh;J5=1;var a=k8(),i=ef();function n(t){return a(function(l,s){var c=-1,d=s.length,h=d>1?s[d-1]:void 0,m=d>2?s[2]:void 0;for(h=t.length>3&&typeof h=="function"?(d--,h):void 0,m&&i(s[0],s[1],m)&&(h=d<3?void 0:h,d=1),l=Object(l);++c<d;){var v=s[c];v&&t(l,v,c,h)}return l})}return dh=n,dh}var hh,ey;function DT(){if(ey)return hh;ey=1;var a=vT(),i=wT(),n=i(function(t,l,s){a(t,l,s)});return hh=n,hh}var TT=DT();const xT=mr(TT);var ph,ty;function MT(){if(ty)return ph;ty=1;var a="__lodash_hash_undefined__";function i(n){return this.__data__.set(n,a),this}return ph=i,ph}var mh,ny;function OT(){if(ny)return mh;ny=1;function a(i){return this.__data__.has(i)}return mh=a,mh}var vh,ry;function L8(){if(ry)return vh;ry=1;var a=ym(),i=MT(),n=OT();function t(l){var s=-1,c=l==null?0:l.length;for(this.__data__=new a;++s<c;)this.add(l[s])}return t.prototype.add=t.prototype.push=i,t.prototype.has=n,vh=t,vh}var gh,ay;function AT(){if(ay)return gh;ay=1;function a(i,n,t,l){for(var s=i.length,c=t+(l?1:-1);l?c--:++c<s;)if(n(i[c],c,i))return c;return-1}return gh=a,gh}var yh,iy;function CT(){if(iy)return yh;iy=1;function a(i){return i!==i}return yh=a,yh}var bh,ly;function RT(){if(ly)return bh;ly=1;function a(i,n,t){for(var l=t-1,s=i.length;++l<s;)if(i[l]===n)return l;return-1}return bh=a,bh}var _h,oy;function NT(){if(oy)return _h;oy=1;var a=AT(),i=CT(),n=RT();function t(l,s,c){return s===s?n(l,s,c):a(l,i,c)}return _h=t,_h}var Sh,sy;function kT(){if(sy)return Sh;sy=1;var a=NT();function i(n,t){var l=n==null?0:n.length;return!!l&&a(n,t,0)>-1}return Sh=i,Sh}var Eh,uy;function LT(){if(uy)return Eh;uy=1;function a(i,n,t){for(var l=-1,s=i==null?0:i.length;++l<s;)if(t(n,i[l]))return!0;return!1}return Eh=a,Eh}var wh,cy;function q8(){if(cy)return wh;cy=1;function a(i,n){return i.has(n)}return wh=a,wh}var Dh,fy;function U8(){if(fy)return Dh;fy=1;var a=hl(),i=ga(),n=a(i,"Set");return Dh=n,Dh}var Th,dy;function qT(){if(dy)return Th;dy=1;function a(){}return Th=a,Th}var xh,hy;function Mm(){if(hy)return xh;hy=1;function a(i){var n=-1,t=Array(i.size);return i.forEach(function(l){t[++n]=l}),t}return xh=a,xh}var Mh,py;function UT(){if(py)return Mh;py=1;var a=U8(),i=qT(),n=Mm(),t=1/0,l=a&&1/n(new a([,-0]))[1]==t?function(s){return new a(s)}:i;return Mh=l,Mh}var Oh,my;function HT(){if(my)return Oh;my=1;var a=L8(),i=kT(),n=LT(),t=q8(),l=UT(),s=Mm(),c=200;function d(h,m,v){var g=-1,S=i,w=h.length,M=!0,R=[],C=R;if(v)M=!1,S=n;else if(w>=c){var H=m?null:l(h);if(H)return s(H);M=!1,S=t,C=new a}else C=m?[]:R;e:for(;++g<w;){var O=h[g],Y=m?m(O):O;if(O=v||O!==0?O:0,M&&Y===Y){for(var K=C.length;K--;)if(C[K]===Y)continue e;m&&C.push(Y),R.push(O)}else S(C,Y,v)||(C!==R&&C.push(Y),R.push(O))}return R}return Oh=d,Oh}var Ah,vy;function PT(){if(vy)return Ah;vy=1;var a=HT();function i(n){return n&&n.length?a(n):[]}return Ah=i,Ah}var zT=PT();const YT=mr(zT),jT=(a,i)=>{const n=[],t=[];return n.push(i),i||n.push(a.locale),a.enableFallback&&n.push(a.defaultLocale),n.filter(Boolean).map(l=>l.toString()).forEach(function(l){if(t.includes(l)||t.push(l),!a.enableFallback)return;const s=l.split("-");s.length===3&&t.push(`${s[0]}-${s[1]}`),t.push(s[0])}),YT(t)};class BT{constructor(i){this.i18n=i,this.registry={},this.register("default",jT)}register(i,n){if(typeof n!="function"){const t=n;n=()=>t}this.registry[i]=n}get(i){let n=this.registry[i]||this.registry[this.i18n.locale]||this.registry.default;return typeof n=="function"&&(n=n(this.i18n,i)),n instanceof Array||(n=[n]),n}}const IT=(a,i)=>{const n=String(a).split("."),t=!n[1],l=Number(n[0])==a,s=l&&n[0].slice(-1),c=l&&n[0].slice(-2);return i?s==1&&c!=11?"one":s==2&&c!=12?"two":s==3&&c!=13?"few":"other":a==1&&t?"one":"other"};function FT({pluralizer:a,includeZero:i=!0,ordinal:n=!1}){return function(t,l){return[i&&l===0?"zero":"",a(l,n)].filter(Boolean)}}const GT=FT({pluralizer:IT,includeZero:!0});class ZT{constructor(i){this.i18n=i,this.registry={},this.register("default",GT)}register(i,n){this.registry[i]=n}get(i){return this.registry[i]||this.registry[this.i18n.locale]||this.registry.default}}var Ch,gy;function VT(){if(gy)return Ch;gy=1;function a(i,n,t){var l=-1,s=i.length;n<0&&(n=-n>s?0:s+n),t=t>s?s:t,t<0&&(t+=s),s=n>t?0:t-n>>>0,n>>>=0;for(var c=Array(s);++l<s;)c[l]=i[l+n];return c}return Ch=a,Ch}var Rh,yy;function WT(){if(yy)return Rh;yy=1;var a=VT();function i(n,t,l){var s=n.length;return l=l===void 0?s:l,!t&&l>=s?n:a(n,t,l)}return Rh=i,Rh}var Nh,by;function H8(){if(by)return Nh;by=1;var a="\\ud800-\\udfff",i="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",t="\\u20d0-\\u20ff",l=i+n+t,s="\\ufe0e\\ufe0f",c="\\u200d",d=RegExp("["+c+a+l+s+"]");function h(m){return d.test(m)}return Nh=h,Nh}var kh,_y;function QT(){if(_y)return kh;_y=1;function a(i){return i.split("")}return kh=a,kh}var Lh,Sy;function KT(){if(Sy)return Lh;Sy=1;var a="\\ud800-\\udfff",i="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",t="\\u20d0-\\u20ff",l=i+n+t,s="\\ufe0e\\ufe0f",c="["+a+"]",d="["+l+"]",h="\\ud83c[\\udffb-\\udfff]",m="(?:"+d+"|"+h+")",v="[^"+a+"]",g="(?:\\ud83c[\\udde6-\\uddff]){2}",S="[\\ud800-\\udbff][\\udc00-\\udfff]",w="\\u200d",M=m+"?",R="["+s+"]?",C="(?:"+w+"(?:"+[v,g,S].join("|")+")"+R+M+")*",H=R+M+C,O="(?:"+[v+d+"?",d,g,S,c].join("|")+")",Y=RegExp(h+"(?="+h+")|"+O+H,"g");function K(X){return X.match(Y)||[]}return Lh=K,Lh}var qh,Ey;function XT(){if(Ey)return qh;Ey=1;var a=QT(),i=H8(),n=KT();function t(l){return i(l)?n(l):a(l)}return qh=t,qh}var Uh,wy;function $T(){if(wy)return Uh;wy=1;var a=WT(),i=H8(),n=XT(),t=vo();function l(s){return function(c){c=t(c);var d=i(c)?n(c):void 0,h=d?d[0]:c.charAt(0),m=d?a(d,1).join(""):c.slice(1);return h[s]()+m}}return Uh=l,Uh}var Hh,Dy;function JT(){if(Dy)return Hh;Dy=1;var a=$T(),i=a("toUpperCase");return Hh=i,Hh}var Ph,Ty;function ex(){if(Ty)return Ph;Ty=1;var a=vo(),i=JT();function n(t){return i(a(t).toLowerCase())}return Ph=n,Ph}var zh,xy;function tx(){if(xy)return zh;xy=1;function a(i,n,t,l){var s=-1,c=i==null?0:i.length;for(l&&c&&(t=i[++s]);++s<c;)t=n(t,i[s],s,i);return t}return zh=a,zh}var Yh,My;function nx(){if(My)return Yh;My=1;function a(i){return function(n){return i==null?void 0:i[n]}}return Yh=a,Yh}var jh,Oy;function rx(){if(Oy)return jh;Oy=1;var a=nx(),i={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",Ĳ:"IJ",ĳ:"ij",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"},n=a(i);return jh=n,jh}var Bh,Ay;function ax(){if(Ay)return Bh;Ay=1;var a=rx(),i=vo(),n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,t="\\u0300-\\u036f",l="\\ufe20-\\ufe2f",s="\\u20d0-\\u20ff",c=t+l+s,d="["+c+"]",h=RegExp(d,"g");function m(v){return v=i(v),v&&v.replace(n,a).replace(h,"")}return Bh=m,Bh}var Ih,Cy;function ix(){if(Cy)return Ih;Cy=1;var a=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function i(n){return n.match(a)||[]}return Ih=i,Ih}var Fh,Ry;function lx(){if(Ry)return Fh;Ry=1;var a=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function i(n){return a.test(n)}return Fh=i,Fh}var Gh,Ny;function ox(){if(Ny)return Gh;Ny=1;var a="\\ud800-\\udfff",i="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",t="\\u20d0-\\u20ff",l=i+n+t,s="\\u2700-\\u27bf",c="a-z\\xdf-\\xf6\\xf8-\\xff",d="\\xac\\xb1\\xd7\\xf7",h="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",m="\\u2000-\\u206f",v=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",g="A-Z\\xc0-\\xd6\\xd8-\\xde",S="\\ufe0e\\ufe0f",w=d+h+m+v,M="['’]",R="["+w+"]",C="["+l+"]",H="\\d+",O="["+s+"]",Y="["+c+"]",K="[^"+a+w+H+s+c+g+"]",X="\\ud83c[\\udffb-\\udfff]",re="(?:"+C+"|"+X+")",V="[^"+a+"]",_="(?:\\ud83c[\\udde6-\\uddff]){2}",E="[\\ud800-\\udbff][\\udc00-\\udfff]",D="["+g+"]",q="\\u200d",k="(?:"+Y+"|"+K+")",z="(?:"+D+"|"+K+")",B="(?:"+M+"(?:d|ll|m|re|s|t|ve))?",U="(?:"+M+"(?:D|LL|M|RE|S|T|VE))?",T=re+"?",N="["+S+"]?",L="(?:"+q+"(?:"+[V,_,E].join("|")+")"+N+T+")*",$="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",A="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",j=N+T+L,oe="(?:"+[O,_,E].join("|")+")"+j,ae=RegExp([D+"?"+Y+"+"+B+"(?="+[R,D,"$"].join("|")+")",z+"+"+U+"(?="+[R,D+k,"$"].join("|")+")",D+"?"+k+"+"+B,D+"+"+U,A,$,H,oe].join("|"),"g");function he(fe){return fe.match(ae)||[]}return Gh=he,Gh}var Zh,ky;function sx(){if(ky)return Zh;ky=1;var a=ix(),i=lx(),n=vo(),t=ox();function l(s,c,d){return s=n(s),c=d?void 0:c,c===void 0?i(s)?t(s):a(s):s.match(c)||[]}return Zh=l,Zh}var Vh,Ly;function ux(){if(Ly)return Vh;Ly=1;var a=tx(),i=ax(),n=sx(),t="['’]",l=RegExp(t,"g");function s(c){return function(d){return a(n(i(d).replace(l,"")),c,"")}}return Vh=s,Vh}var Wh,qy;function cx(){if(qy)return Wh;qy=1;var a=ex(),i=ux(),n=i(function(t,l,s){return l=l.toLowerCase(),t+(s?a(l):l)});return Wh=n,Wh}var fx=cx();const dx=mr(fx);function Ir(a){return a?Object.keys(a).reduce((i,n)=>(i[dx(n)]=a[n],i),{}):{}}function Pa(a){return a!=null}function hx(a,i,n){let t=[{scope:i}];if(Pa(n.defaults)&&(t=t.concat(n.defaults)),Pa(n.defaultValue)){const l=typeof n.defaultValue=="function"?n.defaultValue(a,i,n):n.defaultValue;t.push({message:l}),delete n.defaultValue}return t}var px=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,Qh=Math.ceil,Or=Math.floor,er="[BigNumber Error] ",Uy=er+"Number primitive has more than 15 significant digits: ",Fr=1e14,Pe=14,Hy=9007199254740991,Kh=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],_i=1e7,fr=1e9;function P8(a){var i,n,t,l=O.prototype={constructor:O,toString:null,valueOf:null},s=new O(1),c=20,d=4,h=-7,m=21,v=-1e7,g=1e7,S=!1,w=1,M=0,R={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},C="0123456789abcdefghijklmnopqrstuvwxyz",H=!0;function O(_,E){var D,q,k,z,B,U,T,N,L=this;if(!(L instanceof O))return new O(_,E);if(E==null){if(_&&_._isBigNumber===!0){L.s=_.s,!_.c||_.e>g?L.c=L.e=null:_.e<v?L.c=[L.e=0]:(L.e=_.e,L.c=_.c.slice());return}if((U=typeof _=="number")&&_*0==0){if(L.s=1/_<0?(_=-_,-1):1,_===~~_){for(z=0,B=_;B>=10;B/=10,z++);z>g?L.c=L.e=null:(L.e=z,L.c=[_]);return}N=String(_)}else{if(!px.test(N=String(_)))return t(L,N,U);L.s=N.charCodeAt(0)==45?(N=N.slice(1),-1):1}(z=N.indexOf("."))>-1&&(N=N.replace(".","")),(B=N.search(/e/i))>0?(z<0&&(z=B),z+=+N.slice(B+1),N=N.substring(0,B)):z<0&&(z=N.length)}else{if(Vt(E,2,C.length,"Base"),E==10&&H)return L=new O(_),re(L,c+L.e+1,d);if(N=String(_),U=typeof _=="number"){if(_*0!=0)return t(L,N,U,E);if(L.s=1/_<0?(N=N.slice(1),-1):1,O.DEBUG&&N.replace(/^0\.0*|\./,"").length>15)throw Error(Uy+_)}else L.s=N.charCodeAt(0)===45?(N=N.slice(1),-1):1;for(D=C.slice(0,E),z=B=0,T=N.length;B<T;B++)if(D.indexOf(q=N.charAt(B))<0){if(q=="."){if(B>z){z=T;continue}}else if(!k&&(N==N.toUpperCase()&&(N=N.toLowerCase())||N==N.toLowerCase()&&(N=N.toUpperCase()))){k=!0,B=-1,z=0;continue}return t(L,String(_),U,E)}U=!1,N=n(N,E,10,L.s),(z=N.indexOf("."))>-1?N=N.replace(".",""):z=N.length}for(B=0;N.charCodeAt(B)===48;B++);for(T=N.length;N.charCodeAt(--T)===48;);if(N=N.slice(B,++T)){if(T-=B,U&&O.DEBUG&&T>15&&(_>Hy||_!==Or(_)))throw Error(Uy+L.s*_);if((z=z-B-1)>g)L.c=L.e=null;else if(z<v)L.c=[L.e=0];else{if(L.e=z,L.c=[],B=(z+1)%Pe,z<0&&(B+=Pe),B<T){for(B&&L.c.push(+N.slice(0,B)),T-=Pe;B<T;)L.c.push(+N.slice(B,B+=Pe));B=Pe-(N=N.slice(B)).length}else B-=T;for(;B--;N+="0");L.c.push(+N)}}else L.c=[L.e=0]}O.clone=P8,O.ROUND_UP=0,O.ROUND_DOWN=1,O.ROUND_CEIL=2,O.ROUND_FLOOR=3,O.ROUND_HALF_UP=4,O.ROUND_HALF_DOWN=5,O.ROUND_HALF_EVEN=6,O.ROUND_HALF_CEIL=7,O.ROUND_HALF_FLOOR=8,O.EUCLID=9,O.config=O.set=function(_){var E,D;if(_!=null)if(typeof _=="object"){if(_.hasOwnProperty(E="DECIMAL_PLACES")&&(D=_[E],Vt(D,0,fr,E),c=D),_.hasOwnProperty(E="ROUNDING_MODE")&&(D=_[E],Vt(D,0,8,E),d=D),_.hasOwnProperty(E="EXPONENTIAL_AT")&&(D=_[E],D&&D.pop?(Vt(D[0],-1e9,0,E),Vt(D[1],0,fr,E),h=D[0],m=D[1]):(Vt(D,-1e9,fr,E),h=-(m=D<0?-D:D))),_.hasOwnProperty(E="RANGE"))if(D=_[E],D&&D.pop)Vt(D[0],-1e9,-1,E),Vt(D[1],1,fr,E),v=D[0],g=D[1];else if(Vt(D,-1e9,fr,E),D)v=-(g=D<0?-D:D);else throw Error(er+E+" cannot be zero: "+D);if(_.hasOwnProperty(E="CRYPTO"))if(D=_[E],D===!!D)if(D)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))S=D;else throw S=!D,Error(er+"crypto unavailable");else S=D;else throw Error(er+E+" not true or false: "+D);if(_.hasOwnProperty(E="MODULO_MODE")&&(D=_[E],Vt(D,0,9,E),w=D),_.hasOwnProperty(E="POW_PRECISION")&&(D=_[E],Vt(D,0,fr,E),M=D),_.hasOwnProperty(E="FORMAT"))if(D=_[E],typeof D=="object")R=D;else throw Error(er+E+" not an object: "+D);if(_.hasOwnProperty(E="ALPHABET"))if(D=_[E],typeof D=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(D))H=D.slice(0,10)=="0123456789",C=D;else throw Error(er+E+" invalid: "+D)}else throw Error(er+"Object expected: "+_);return{DECIMAL_PLACES:c,ROUNDING_MODE:d,EXPONENTIAL_AT:[h,m],RANGE:[v,g],CRYPTO:S,MODULO_MODE:w,POW_PRECISION:M,FORMAT:R,ALPHABET:C}},O.isBigNumber=function(_){if(!_||_._isBigNumber!==!0)return!1;if(!O.DEBUG)return!0;var E,D,q=_.c,k=_.e,z=_.s;e:if({}.toString.call(q)=="[object Array]"){if((z===1||z===-1)&&k>=-1e9&&k<=fr&&k===Or(k)){if(q[0]===0){if(k===0&&q.length===1)return!0;break e}if(E=(k+1)%Pe,E<1&&(E+=Pe),String(q[0]).length==E){for(E=0;E<q.length;E++)if(D=q[E],D<0||D>=Fr||D!==Or(D))break e;if(D!==0)return!0}}}else if(q===null&&k===null&&(z===null||z===1||z===-1))return!0;throw Error(er+"Invalid BigNumber: "+_)},O.maximum=O.max=function(){return K(arguments,-1)},O.minimum=O.min=function(){return K(arguments,1)},O.random=function(){var _=9007199254740992,E=Math.random()*_&2097151?function(){return Or(Math.random()*_)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(D){var q,k,z,B,U,T=0,N=[],L=new O(s);if(D==null?D=c:Vt(D,0,fr),B=Qh(D/Pe),S)if(crypto.getRandomValues){for(q=crypto.getRandomValues(new Uint32Array(B*=2));T<B;)U=q[T]*131072+(q[T+1]>>>11),U>=9e15?(k=crypto.getRandomValues(new Uint32Array(2)),q[T]=k[0],q[T+1]=k[1]):(N.push(U%1e14),T+=2);T=B/2}else if(crypto.randomBytes){for(q=crypto.randomBytes(B*=7);T<B;)U=(q[T]&31)*281474976710656+q[T+1]*1099511627776+q[T+2]*4294967296+q[T+3]*16777216+(q[T+4]<<16)+(q[T+5]<<8)+q[T+6],U>=9e15?crypto.randomBytes(7).copy(q,T):(N.push(U%1e14),T+=7);T=B/7}else throw S=!1,Error(er+"crypto unavailable");if(!S)for(;T<B;)U=E(),U<9e15&&(N[T++]=U%1e14);for(B=N[--T],D%=Pe,B&&D&&(U=Kh[Pe-D],N[T]=Or(B/U)*U);N[T]===0;N.pop(),T--);if(T<0)N=[z=0];else{for(z=-1;N[0]===0;N.splice(0,1),z-=Pe);for(T=1,U=N[0];U>=10;U/=10,T++);T<Pe&&(z-=Pe-T)}return L.e=z,L.c=N,L}}(),O.sum=function(){for(var _=1,E=arguments,D=new O(E[0]);_<E.length;)D=D.plus(E[_++]);return D},n=function(){var _="0123456789";function E(D,q,k,z){for(var B,U=[0],T,N=0,L=D.length;N<L;){for(T=U.length;T--;U[T]*=q);for(U[0]+=z.indexOf(D.charAt(N++)),B=0;B<U.length;B++)U[B]>k-1&&(U[B+1]==null&&(U[B+1]=0),U[B+1]+=U[B]/k|0,U[B]%=k)}return U.reverse()}return function(D,q,k,z,B){var U,T,N,L,$,A,j,oe,ae=D.indexOf("."),he=c,fe=d;for(ae>=0&&(L=M,M=0,D=D.replace(".",""),oe=new O(q),A=oe.pow(D.length-ae),M=L,oe.c=E(qa(Mr(A.c),A.e,"0"),10,k,_),oe.e=oe.c.length),j=E(D,q,k,B?(U=C,_):(U=_,C)),N=L=j.length;j[--L]==0;j.pop());if(!j[0])return U.charAt(0);if(ae<0?--N:(A.c=j,A.e=N,A.s=z,A=i(A,oe,he,fe,k),j=A.c,$=A.r,N=A.e),T=N+he+1,ae=j[T],L=k/2,$=$||T<0||j[T+1]!=null,$=fe<4?(ae!=null||$)&&(fe==0||fe==(A.s<0?3:2)):ae>L||ae==L&&(fe==4||$||fe==6&&j[T-1]&1||fe==(A.s<0?8:7)),T<1||!j[0])D=$?qa(U.charAt(1),-he,U.charAt(0)):U.charAt(0);else{if(j.length=T,$)for(--k;++j[--T]>k;)j[T]=0,T||(++N,j=[1].concat(j));for(L=j.length;!j[--L];);for(ae=0,D="";ae<=L;D+=U.charAt(j[ae++]));D=qa(D,N,U.charAt(0))}return D}}(),i=function(){function _(q,k,z){var B,U,T,N,L=0,$=q.length,A=k%_i,j=k/_i|0;for(q=q.slice();$--;)T=q[$]%_i,N=q[$]/_i|0,B=j*T+N*A,U=A*T+B%_i*_i+L,L=(U/z|0)+(B/_i|0)+j*N,q[$]=U%z;return L&&(q=[L].concat(q)),q}function E(q,k,z,B){var U,T;if(z!=B)T=z>B?1:-1;else for(U=T=0;U<z;U++)if(q[U]!=k[U]){T=q[U]>k[U]?1:-1;break}return T}function D(q,k,z,B){for(var U=0;z--;)q[z]-=U,U=q[z]<k[z]?1:0,q[z]=U*B+q[z]-k[z];for(;!q[0]&&q.length>1;q.splice(0,1));}return function(q,k,z,B,U){var T,N,L,$,A,j,oe,ae,he,fe,me,ze,Re,qt,Ut,mt,Ht,lt=q.s==k.s?1:-1,nt=q.c,Ue=k.c;if(!nt||!nt[0]||!Ue||!Ue[0])return new O(!q.s||!k.s||(nt?Ue&&nt[0]==Ue[0]:!Ue)?NaN:nt&&nt[0]==0||!Ue?lt*0:lt/0);for(ae=new O(lt),he=ae.c=[],N=q.e-k.e,lt=z+N+1,U||(U=Fr,N=Ar(q.e/Pe)-Ar(k.e/Pe),lt=lt/Pe|0),L=0;Ue[L]==(nt[L]||0);L++);if(Ue[L]>(nt[L]||0)&&N--,lt<0)he.push(1),$=!0;else{for(qt=nt.length,mt=Ue.length,L=0,lt+=2,A=Or(U/(Ue[0]+1)),A>1&&(Ue=_(Ue,A,U),nt=_(nt,A,U),mt=Ue.length,qt=nt.length),Re=mt,fe=nt.slice(0,mt),me=fe.length;me<mt;fe[me++]=0);Ht=Ue.slice(),Ht=[0].concat(Ht),Ut=Ue[0],Ue[1]>=U/2&&Ut++;do{if(A=0,T=E(Ue,fe,mt,me),T<0){if(ze=fe[0],mt!=me&&(ze=ze*U+(fe[1]||0)),A=Or(ze/Ut),A>1)for(A>=U&&(A=U-1),j=_(Ue,A,U),oe=j.length,me=fe.length;E(j,fe,oe,me)==1;)A--,D(j,mt<oe?Ht:Ue,oe,U),oe=j.length,T=1;else A==0&&(T=A=1),j=Ue.slice(),oe=j.length;if(oe<me&&(j=[0].concat(j)),D(fe,j,me,U),me=fe.length,T==-1)for(;E(Ue,fe,mt,me)<1;)A++,D(fe,mt<me?Ht:Ue,me,U),me=fe.length}else T===0&&(A++,fe=[0]);he[L++]=A,fe[0]?fe[me++]=nt[Re]||0:(fe=[nt[Re]],me=1)}while((Re++<qt||fe[0]!=null)&&lt--);$=fe[0]!=null,he[0]||he.splice(0,1)}if(U==Fr){for(L=1,lt=he[0];lt>=10;lt/=10,L++);re(ae,z+(ae.e=L+N*Pe-1)+1,B,$)}else ae.e=N,ae.r=+$;return ae}}();function Y(_,E,D,q){var k,z,B,U,T;if(D==null?D=d:Vt(D,0,8),!_.c)return _.toString();if(k=_.c[0],B=_.e,E==null)T=Mr(_.c),T=q==1||q==2&&(B<=h||B>=m)?lc(T,B):qa(T,B,"0");else if(_=re(new O(_),E,D),z=_.e,T=Mr(_.c),U=T.length,q==1||q==2&&(E<=z||z<=h)){for(;U<E;T+="0",U++);T=lc(T,z)}else if(E-=B,T=qa(T,z,"0"),z+1>U){if(--E>0)for(T+=".";E--;T+="0");}else if(E+=z-U,E>0)for(z+1==U&&(T+=".");E--;T+="0");return _.s<0&&k?"-"+T:T}function K(_,E){for(var D,q,k=1,z=new O(_[0]);k<_.length;k++)q=new O(_[k]),(!q.s||(D=$i(z,q))===E||D===0&&z.s===E)&&(z=q);return z}function X(_,E,D){for(var q=1,k=E.length;!E[--k];E.pop());for(k=E[0];k>=10;k/=10,q++);return(D=q+D*Pe-1)>g?_.c=_.e=null:D<v?_.c=[_.e=0]:(_.e=D,_.c=E),_}t=function(){var _=/^(-?)0([xbo])(?=\w[\w.]*$)/i,E=/^([^.]+)\.$/,D=/^\.([^.]+)$/,q=/^-?(Infinity|NaN)$/,k=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(z,B,U,T){var N,L=U?B:B.replace(k,"");if(q.test(L))z.s=isNaN(L)?null:L<0?-1:1;else{if(!U&&(L=L.replace(_,function($,A,j){return N=(j=j.toLowerCase())=="x"?16:j=="b"?2:8,!T||T==N?A:$}),T&&(N=T,L=L.replace(E,"$1").replace(D,"0.$1")),B!=L))return new O(L,N);if(O.DEBUG)throw Error(er+"Not a"+(T?" base "+T:"")+" number: "+B);z.s=null}z.c=z.e=null}}();function re(_,E,D,q){var k,z,B,U,T,N,L,$=_.c,A=Kh;if($){e:{for(k=1,U=$[0];U>=10;U/=10,k++);if(z=E-k,z<0)z+=Pe,B=E,T=$[N=0],L=Or(T/A[k-B-1]%10);else if(N=Qh((z+1)/Pe),N>=$.length)if(q){for(;$.length<=N;$.push(0));T=L=0,k=1,z%=Pe,B=z-Pe+1}else break e;else{for(T=U=$[N],k=1;U>=10;U/=10,k++);z%=Pe,B=z-Pe+k,L=B<0?0:Or(T/A[k-B-1]%10)}if(q=q||E<0||$[N+1]!=null||(B<0?T:T%A[k-B-1]),q=D<4?(L||q)&&(D==0||D==(_.s<0?3:2)):L>5||L==5&&(D==4||q||D==6&&(z>0?B>0?T/A[k-B]:0:$[N-1])%10&1||D==(_.s<0?8:7)),E<1||!$[0])return $.length=0,q?(E-=_.e+1,$[0]=A[(Pe-E%Pe)%Pe],_.e=-E||0):$[0]=_.e=0,_;if(z==0?($.length=N,U=1,N--):($.length=N+1,U=A[Pe-z],$[N]=B>0?Or(T/A[k-B]%A[B])*U:0),q)for(;;)if(N==0){for(z=1,B=$[0];B>=10;B/=10,z++);for(B=$[0]+=U,U=1;B>=10;B/=10,U++);z!=U&&(_.e++,$[0]==Fr&&($[0]=1));break}else{if($[N]+=U,$[N]!=Fr)break;$[N--]=0,U=1}for(z=$.length;$[--z]===0;$.pop());}_.e>g?_.c=_.e=null:_.e<v&&(_.c=[_.e=0])}return _}function V(_){var E,D=_.e;return D===null?_.toString():(E=Mr(_.c),E=D<=h||D>=m?lc(E,D):qa(E,D,"0"),_.s<0?"-"+E:E)}return l.absoluteValue=l.abs=function(){var _=new O(this);return _.s<0&&(_.s=1),_},l.comparedTo=function(_,E){return $i(this,new O(_,E))},l.decimalPlaces=l.dp=function(_,E){var D,q,k,z=this;if(_!=null)return Vt(_,0,fr),E==null?E=d:Vt(E,0,8),re(new O(z),_+z.e+1,E);if(!(D=z.c))return null;if(q=((k=D.length-1)-Ar(this.e/Pe))*Pe,k=D[k])for(;k%10==0;k/=10,q--);return q<0&&(q=0),q},l.dividedBy=l.div=function(_,E){return i(this,new O(_,E),c,d)},l.dividedToIntegerBy=l.idiv=function(_,E){return i(this,new O(_,E),0,1)},l.exponentiatedBy=l.pow=function(_,E){var D,q,k,z,B,U,T,N,L,$=this;if(_=new O(_),_.c&&!_.isInteger())throw Error(er+"Exponent not an integer: "+V(_));if(E!=null&&(E=new O(E)),U=_.e>14,!$.c||!$.c[0]||$.c[0]==1&&!$.e&&$.c.length==1||!_.c||!_.c[0])return L=new O(Math.pow(+V($),U?_.s*(2-ic(_)):+V(_))),E?L.mod(E):L;if(T=_.s<0,E){if(E.c?!E.c[0]:!E.s)return new O(NaN);q=!T&&$.isInteger()&&E.isInteger(),q&&($=$.mod(E))}else{if(_.e>9&&($.e>0||$.e<-1||($.e==0?$.c[0]>1||U&&$.c[1]>=24e7:$.c[0]<8e13||U&&$.c[0]<=9999975e7)))return z=$.s<0&&ic(_)?-0:0,$.e>-1&&(z=1/z),new O(T?1/z:z);M&&(z=Qh(M/Pe+2))}for(U?(D=new O(.5),T&&(_.s=1),N=ic(_)):(k=Math.abs(+V(_)),N=k%2),L=new O(s);;){if(N){if(L=L.times($),!L.c)break;z?L.c.length>z&&(L.c.length=z):q&&(L=L.mod(E))}if(k){if(k=Or(k/2),k===0)break;N=k%2}else if(_=_.times(D),re(_,_.e+1,1),_.e>14)N=ic(_);else{if(k=+V(_),k===0)break;N=k%2}$=$.times($),z?$.c&&$.c.length>z&&($.c.length=z):q&&($=$.mod(E))}return q?L:(T&&(L=s.div(L)),E?L.mod(E):z?re(L,M,d,B):L)},l.integerValue=function(_){var E=new O(this);return _==null?_=d:Vt(_,0,8),re(E,E.e+1,_)},l.isEqualTo=l.eq=function(_,E){return $i(this,new O(_,E))===0},l.isFinite=function(){return!!this.c},l.isGreaterThan=l.gt=function(_,E){return $i(this,new O(_,E))>0},l.isGreaterThanOrEqualTo=l.gte=function(_,E){return(E=$i(this,new O(_,E)))===1||E===0},l.isInteger=function(){return!!this.c&&Ar(this.e/Pe)>this.c.length-2},l.isLessThan=l.lt=function(_,E){return $i(this,new O(_,E))<0},l.isLessThanOrEqualTo=l.lte=function(_,E){return(E=$i(this,new O(_,E)))===-1||E===0},l.isNaN=function(){return!this.s},l.isNegative=function(){return this.s<0},l.isPositive=function(){return this.s>0},l.isZero=function(){return!!this.c&&this.c[0]==0},l.minus=function(_,E){var D,q,k,z,B=this,U=B.s;if(_=new O(_,E),E=_.s,!U||!E)return new O(NaN);if(U!=E)return _.s=-E,B.plus(_);var T=B.e/Pe,N=_.e/Pe,L=B.c,$=_.c;if(!T||!N){if(!L||!$)return L?(_.s=-E,_):new O($?B:NaN);if(!L[0]||!$[0])return $[0]?(_.s=-E,_):new O(L[0]?B:d==3?-0:0)}if(T=Ar(T),N=Ar(N),L=L.slice(),U=T-N){for((z=U<0)?(U=-U,k=L):(N=T,k=$),k.reverse(),E=U;E--;k.push(0));k.reverse()}else for(q=(z=(U=L.length)<(E=$.length))?U:E,U=E=0;E<q;E++)if(L[E]!=$[E]){z=L[E]<$[E];break}if(z&&(k=L,L=$,$=k,_.s=-_.s),E=(q=$.length)-(D=L.length),E>0)for(;E--;L[D++]=0);for(E=Fr-1;q>U;){if(L[--q]<$[q]){for(D=q;D&&!L[--D];L[D]=E);--L[D],L[q]+=Fr}L[q]-=$[q]}for(;L[0]==0;L.splice(0,1),--N);return L[0]?X(_,L,N):(_.s=d==3?-1:1,_.c=[_.e=0],_)},l.modulo=l.mod=function(_,E){var D,q,k=this;return _=new O(_,E),!k.c||!_.s||_.c&&!_.c[0]?new O(NaN):!_.c||k.c&&!k.c[0]?new O(k):(w==9?(q=_.s,_.s=1,D=i(k,_,0,3),_.s=q,D.s*=q):D=i(k,_,0,w),_=k.minus(D.times(_)),!_.c[0]&&w==1&&(_.s=k.s),_)},l.multipliedBy=l.times=function(_,E){var D,q,k,z,B,U,T,N,L,$,A,j,oe,ae,he,fe=this,me=fe.c,ze=(_=new O(_,E)).c;if(!me||!ze||!me[0]||!ze[0])return!fe.s||!_.s||me&&!me[0]&&!ze||ze&&!ze[0]&&!me?_.c=_.e=_.s=null:(_.s*=fe.s,!me||!ze?_.c=_.e=null:(_.c=[0],_.e=0)),_;for(q=Ar(fe.e/Pe)+Ar(_.e/Pe),_.s*=fe.s,T=me.length,$=ze.length,T<$&&(oe=me,me=ze,ze=oe,k=T,T=$,$=k),k=T+$,oe=[];k--;oe.push(0));for(ae=Fr,he=_i,k=$;--k>=0;){for(D=0,A=ze[k]%he,j=ze[k]/he|0,B=T,z=k+B;z>k;)N=me[--B]%he,L=me[B]/he|0,U=j*N+L*A,N=A*N+U%he*he+oe[z]+D,D=(N/ae|0)+(U/he|0)+j*L,oe[z--]=N%ae;oe[z]=D}return D?++q:oe.splice(0,1),X(_,oe,q)},l.negated=function(){var _=new O(this);return _.s=-_.s||null,_},l.plus=function(_,E){var D,q=this,k=q.s;if(_=new O(_,E),E=_.s,!k||!E)return new O(NaN);if(k!=E)return _.s=-E,q.minus(_);var z=q.e/Pe,B=_.e/Pe,U=q.c,T=_.c;if(!z||!B){if(!U||!T)return new O(k/0);if(!U[0]||!T[0])return T[0]?_:new O(U[0]?q:k*0)}if(z=Ar(z),B=Ar(B),U=U.slice(),k=z-B){for(k>0?(B=z,D=T):(k=-k,D=U),D.reverse();k--;D.push(0));D.reverse()}for(k=U.length,E=T.length,k-E<0&&(D=T,T=U,U=D,E=k),k=0;E;)k=(U[--E]=U[E]+T[E]+k)/Fr|0,U[E]=Fr===U[E]?0:U[E]%Fr;return k&&(U=[k].concat(U),++B),X(_,U,B)},l.precision=l.sd=function(_,E){var D,q,k,z=this;if(_!=null&&_!==!!_)return Vt(_,1,fr),E==null?E=d:Vt(E,0,8),re(new O(z),_,E);if(!(D=z.c))return null;if(k=D.length-1,q=k*Pe+1,k=D[k]){for(;k%10==0;k/=10,q--);for(k=D[0];k>=10;k/=10,q++);}return _&&z.e+1>q&&(q=z.e+1),q},l.shiftedBy=function(_){return Vt(_,-9007199254740991,Hy),this.times("1e"+_)},l.squareRoot=l.sqrt=function(){var _,E,D,q,k,z=this,B=z.c,U=z.s,T=z.e,N=c+4,L=new O("0.5");if(U!==1||!B||!B[0])return new O(!U||U<0&&(!B||B[0])?NaN:B?z:1/0);if(U=Math.sqrt(+V(z)),U==0||U==1/0?(E=Mr(B),(E.length+T)%2==0&&(E+="0"),U=Math.sqrt(+E),T=Ar((T+1)/2)-(T<0||T%2),U==1/0?E="5e"+T:(E=U.toExponential(),E=E.slice(0,E.indexOf("e")+1)+T),D=new O(E)):D=new O(U+""),D.c[0]){for(T=D.e,U=T+N,U<3&&(U=0);;)if(k=D,D=L.times(k.plus(i(z,k,N,1))),Mr(k.c).slice(0,U)===(E=Mr(D.c)).slice(0,U))if(D.e<T&&--U,E=E.slice(U-3,U+1),E=="9999"||!q&&E=="4999"){if(!q&&(re(k,k.e+c+2,0),k.times(k).eq(z))){D=k;break}N+=4,U+=4,q=1}else{(!+E||!+E.slice(1)&&E.charAt(0)=="5")&&(re(D,D.e+c+2,1),_=!D.times(D).eq(z));break}}return re(D,D.e+c+1,d,_)},l.toExponential=function(_,E){return _!=null&&(Vt(_,0,fr),_++),Y(this,_,E,1)},l.toFixed=function(_,E){return _!=null&&(Vt(_,0,fr),_=_+this.e+1),Y(this,_,E)},l.toFormat=function(_,E,D){var q,k=this;if(D==null)_!=null&&E&&typeof E=="object"?(D=E,E=null):_&&typeof _=="object"?(D=_,_=E=null):D=R;else if(typeof D!="object")throw Error(er+"Argument not an object: "+D);if(q=k.toFixed(_,E),k.c){var z,B=q.split("."),U=+D.groupSize,T=+D.secondaryGroupSize,N=D.groupSeparator||"",L=B[0],$=B[1],A=k.s<0,j=A?L.slice(1):L,oe=j.length;if(T&&(z=U,U=T,T=z,oe-=z),U>0&&oe>0){for(z=oe%U||U,L=j.substr(0,z);z<oe;z+=U)L+=N+j.substr(z,U);T>0&&(L+=N+j.slice(z)),A&&(L="-"+L)}q=$?L+(D.decimalSeparator||"")+((T=+D.fractionGroupSize)?$.replace(new RegExp("\\d{"+T+"}\\B","g"),"$&"+(D.fractionGroupSeparator||"")):$):L}return(D.prefix||"")+q+(D.suffix||"")},l.toFraction=function(_){var E,D,q,k,z,B,U,T,N,L,$,A,j=this,oe=j.c;if(_!=null&&(U=new O(_),!U.isInteger()&&(U.c||U.s!==1)||U.lt(s)))throw Error(er+"Argument "+(U.isInteger()?"out of range: ":"not an integer: ")+V(U));if(!oe)return new O(j);for(E=new O(s),N=D=new O(s),q=T=new O(s),A=Mr(oe),z=E.e=A.length-j.e-1,E.c[0]=Kh[(B=z%Pe)<0?Pe+B:B],_=!_||U.comparedTo(E)>0?z>0?E:N:U,B=g,g=1/0,U=new O(A),T.c[0]=0;L=i(U,E,0,1),k=D.plus(L.times(q)),k.comparedTo(_)!=1;)D=q,q=k,N=T.plus(L.times(k=N)),T=k,E=U.minus(L.times(k=E)),U=k;return k=i(_.minus(D),q,0,1),T=T.plus(k.times(N)),D=D.plus(k.times(q)),T.s=N.s=j.s,z=z*2,$=i(N,q,z,d).minus(j).abs().comparedTo(i(T,D,z,d).minus(j).abs())<1?[N,q]:[T,D],g=B,$},l.toNumber=function(){return+V(this)},l.toPrecision=function(_,E){return _!=null&&Vt(_,1,fr),Y(this,_,E,2)},l.toString=function(_){var E,D=this,q=D.s,k=D.e;return k===null?q?(E="Infinity",q<0&&(E="-"+E)):E="NaN":(_==null?E=k<=h||k>=m?lc(Mr(D.c),k):qa(Mr(D.c),k,"0"):_===10&&H?(D=re(new O(D),c+k+1,d),E=qa(Mr(D.c),D.e,"0")):(Vt(_,2,C.length,"Base"),E=n(qa(Mr(D.c),k,"0"),10,_,q,!0)),q<0&&D.c[0]&&(E="-"+E)),E},l.valueOf=l.toJSON=function(){return V(this)},l._isBigNumber=!0,l[Symbol.toStringTag]="BigNumber",l[Symbol.for("nodejs.util.inspect.custom")]=l.valueOf,a!=null&&O.set(a),O}function Ar(a){var i=a|0;return a>0||a===i?i:i-1}function Mr(a){for(var i,n,t=1,l=a.length,s=a[0]+"";t<l;){for(i=a[t++]+"",n=Pe-i.length;n--;i="0"+i);s+=i}for(l=s.length;s.charCodeAt(--l)===48;);return s.slice(0,l+1||1)}function $i(a,i){var n,t,l=a.c,s=i.c,c=a.s,d=i.s,h=a.e,m=i.e;if(!c||!d)return null;if(n=l&&!l[0],t=s&&!s[0],n||t)return n?t?0:-d:c;if(c!=d)return c;if(n=c<0,t=h==m,!l||!s)return t?0:!l^n?1:-1;if(!t)return h>m^n?1:-1;for(d=(h=l.length)<(m=s.length)?h:m,c=0;c<d;c++)if(l[c]!=s[c])return l[c]>s[c]^n?1:-1;return h==m?0:h>m^n?1:-1}function Vt(a,i,n,t){if(a<i||a>n||a!==Or(a))throw Error(er+(t||"Argument")+(typeof a=="number"?a<i||a>n?" out of range: ":" not an integer: ":" not a primitive number: ")+String(a))}function ic(a){var i=a.c.length-1;return Ar(a.e/Pe)==i&&a.c[i]%2!=0}function lc(a,i){return(a.length>1?a.charAt(0)+"."+a.slice(1):a)+(i<0?"e":"e+")+i}function qa(a,i,n){var t,l;if(i<0){for(l=n+".";++i;l+=n);a=l+a}else if(t=a.length,++i>t){for(l=n,i-=t;--i;l+=n);a+=l}else i<t&&(a=a.slice(0,i)+"."+a.slice(i));return a}var Xt=P8(),Ac;(function(a){a[a.up=Xt.ROUND_UP]="up",a[a.down=Xt.ROUND_DOWN]="down",a[a.truncate=Xt.ROUND_DOWN]="truncate",a[a.halfUp=Xt.ROUND_HALF_UP]="halfUp",a[a.default=Xt.ROUND_HALF_UP]="default",a[a.halfDown=Xt.ROUND_HALF_DOWN]="halfDown",a[a.halfEven=Xt.ROUND_HALF_EVEN]="halfEven",a[a.banker=Xt.ROUND_HALF_EVEN]="banker",a[a.ceiling=Xt.ROUND_CEIL]="ceiling",a[a.ceil=Xt.ROUND_CEIL]="ceil",a[a.floor=Xt.ROUND_FLOOR]="floor"})(Ac||(Ac={}));function z8(a){var i;return(i=Ac[a])!==null&&i!==void 0?i:Ac.default}var Xh,Py;function mx(){if(Py)return Xh;Py=1;var a=9007199254740991,i=Math.floor;function n(t,l){var s="";if(!t||l<1||l>a)return s;do l%2&&(s+=t),l=i(l/2),l&&(t+=t);while(l);return s}return Xh=n,Xh}var $h,zy;function vx(){if(zy)return $h;zy=1;var a=/\s/;function i(n){for(var t=n.length;t--&&a.test(n.charAt(t)););return t}return $h=i,$h}var Jh,Yy;function gx(){if(Yy)return Jh;Yy=1;var a=vx(),i=/^\s+/;function n(t){return t&&t.slice(0,a(t)+1).replace(i,"")}return Jh=n,Jh}var ep,jy;function yx(){if(jy)return ep;jy=1;var a=gx(),i=Za(),n=Is(),t=NaN,l=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;function h(m){if(typeof m=="number")return m;if(n(m))return t;if(i(m)){var v=typeof m.valueOf=="function"?m.valueOf():m;m=i(v)?v+"":v}if(typeof m!="string")return m===0?m:+m;m=a(m);var g=s.test(m);return g||c.test(m)?d(m.slice(2),g?2:8):l.test(m)?t:+m}return ep=h,ep}var tp,By;function Y8(){if(By)return tp;By=1;var a=yx(),i=1/0,n=17976931348623157e292;function t(l){if(!l)return l===0?l:0;if(l=a(l),l===i||l===-1/0){var s=l<0?-1:1;return s*n}return l===l?l:0}return tp=t,tp}var np,Iy;function bx(){if(Iy)return np;Iy=1;var a=Y8();function i(n){var t=a(n),l=t%1;return t===t?l?t-l:t:0}return np=i,np}var rp,Fy;function _x(){if(Fy)return rp;Fy=1;var a=mx(),i=ef(),n=bx(),t=vo();function l(s,c,d){return(d?i(s,c,d):c===void 0)?c=1:c=n(c),a(t(s),c)}return rp=l,rp}var Sx=_x();const Ex=mr(Sx);function wx(a){return a.isZero()?1:Math.floor(Math.log10(a.abs().toNumber())+1)}function Dx(a,{precision:i,significant:n}){return n&&i!==null&&i>0?i-wx(a):i}function Cc(a,i){const n=Dx(a,i);if(n===null)return a.toString();const t=z8(i.roundMode);if(n>=0)return a.toFixed(n,t);const l=Math.pow(10,Math.abs(n));return a=new Xt(a.div(l).toFixed(0,t)).times(l),a.toString()}function Tx(a,{formattedNumber:i,unit:n}){return a.replace("%n",i).replace("%u",n)}function xx({significand:a,whole:i,precision:n}){if(i==="0"||n===null)return a;const t=Math.max(0,n-i.length);return(a??"").substr(0,t)}function bs(a,i){var n,t,l;const s=new Xt(a);if(i.raise&&!s.isFinite())throw new Error(`"${a}" is not a valid numeric value`);const c=Cc(s,i),d=new Xt(c),h=d.lt(0),m=d.isZero();let[v,g]=c.split(".");const S=[];let w;const M=(n=i.format)!==null&&n!==void 0?n:"%n",R=(t=i.negativeFormat)!==null&&t!==void 0?t:`-${M}`,C=h&&!m?R:M;for(v=v.replace("-","");v.length>0;)S.unshift(v.substr(Math.max(0,v.length-3),3)),v=v.substr(0,v.length-3);return v=S.join(""),w=S.join(i.delimiter),i.significant?g=xx({whole:v,significand:g,precision:i.precision}):g=g??Ex("0",(l=i.precision)!==null&&l!==void 0?l:0),i.stripInsignificantZeros&&g&&(g=g.replace(/0+$/,"")),s.isNaN()&&(w=a.toString()),g&&s.isFinite()&&(w+=(i.separator||".")+g),Tx(C,{formattedNumber:w,unit:i.unit})}function ao(a,i,n){let t="";return(i instanceof String||typeof i=="string")&&(t=i),i instanceof Array&&(t=i.join(a.defaultSeparator)),n.scope&&(t=[n.scope,t].join(a.defaultSeparator)),t}function tl(a){var i,n;if(a===null)return"null";const t=typeof a;return t!=="object"?t:((n=(i=a==null?void 0:a.constructor)===null||i===void 0?void 0:i.name)===null||n===void 0?void 0:n.toLowerCase())||"object"}function ap(a,i,n){n=Object.keys(n).reduce((l,s)=>(l[a.transformKey(s)]=n[s],l),{});const t=i.match(a.placeholder);if(!t)return i;for(;t.length;){let l;const s=t.shift(),c=s.replace(a.placeholder,"$1");Pa(n[c])?l=n[c].toString().replace(/\$/gm,"_#$#_"):c in n?l=a.nullPlaceholder(a,s,i,n):l=a.missingPlaceholder(a,s,i,n);const d=new RegExp(s.replace(/\{/gm,"\\{").replace(/\}/gm,"\\}"),"g");i=i.replace(d,l)}return i.replace(/_#\$#_/g,"$")}function sa(a,i,n={}){n=Object.assign({},n);const t="locale"in n?n.locale:a.locale,l=tl(t),s=a.locales.get(l==="string"?t:typeof t).slice(),c=ao(a,i,n).split(a.defaultSeparator).map(h=>a.transformKey(h)),d=s.map(h=>c.reduce((m,v)=>m&&m[v],a.translations[h]));return d.push(n.defaultValue),d.find(h=>Pa(h))}function Mx(a,i){const n=new Xt(a);if(!n.isFinite())return a.toString();if(!i.delimiterPattern.global)throw new Error(`options.delimiterPattern must be a global regular expression; received ${i.delimiterPattern}`);let[t,l]=n.toString().split(".");return t=t.replace(i.delimiterPattern,s=>`${s}${i.delimiter}`),[t,l].filter(Boolean).join(i.separator)}var ip,Gy;function j8(){if(Gy)return ip;Gy=1;function a(i,n){for(var t=-1,l=n.length,s=i.length;++t<l;)i[s+t]=n[t];return i}return ip=a,ip}var lp,Zy;function Ox(){if(Zy)return lp;Zy=1;var a=Bs(),i=$c(),n=Xr(),t=a?a.isConcatSpreadable:void 0;function l(s){return n(s)||i(s)||!!(t&&s&&s[t])}return lp=l,lp}var op,Vy;function Ax(){if(Vy)return op;Vy=1;var a=j8(),i=Ox();function n(t,l,s,c,d){var h=-1,m=t.length;for(s||(s=i),d||(d=[]);++h<m;){var v=t[h];l>0&&s(v)?l>1?n(v,l-1,s,c,d):a(d,v):c||(d[d.length]=v)}return d}return op=n,op}var sp,Wy;function Cx(){if(Wy)return sp;Wy=1;function a(i,n){for(var t=-1,l=i==null?0:i.length;++t<l;)if(n(i[t],t,i))return!0;return!1}return sp=a,sp}var up,Qy;function B8(){if(Qy)return up;Qy=1;var a=L8(),i=Cx(),n=q8(),t=1,l=2;function s(c,d,h,m,v,g){var S=h&t,w=c.length,M=d.length;if(w!=M&&!(S&&M>w))return!1;var R=g.get(c),C=g.get(d);if(R&&C)return R==d&&C==c;var H=-1,O=!0,Y=h&l?new a:void 0;for(g.set(c,d),g.set(d,c);++H<w;){var K=c[H],X=d[H];if(m)var re=S?m(X,K,H,d,c,g):m(K,X,H,c,d,g);if(re!==void 0){if(re)continue;O=!1;break}if(Y){if(!i(d,function(V,_){if(!n(Y,_)&&(K===V||v(K,V,h,m,g)))return Y.push(_)})){O=!1;break}}else if(!(K===X||v(K,X,h,m,g))){O=!1;break}}return g.delete(c),g.delete(d),O}return up=s,up}var cp,Ky;function Rx(){if(Ky)return cp;Ky=1;function a(i){var n=-1,t=Array(i.size);return i.forEach(function(l,s){t[++n]=[s,l]}),t}return cp=a,cp}var fp,Xy;function Nx(){if(Xy)return fp;Xy=1;var a=Bs(),i=T8(),n=Fs(),t=B8(),l=Rx(),s=Mm(),c=1,d=2,h="[object Boolean]",m="[object Date]",v="[object Error]",g="[object Map]",S="[object Number]",w="[object RegExp]",M="[object Set]",R="[object String]",C="[object Symbol]",H="[object ArrayBuffer]",O="[object DataView]",Y=a?a.prototype:void 0,K=Y?Y.valueOf:void 0;function X(re,V,_,E,D,q,k){switch(_){case O:if(re.byteLength!=V.byteLength||re.byteOffset!=V.byteOffset)return!1;re=re.buffer,V=V.buffer;case H:return!(re.byteLength!=V.byteLength||!q(new i(re),new i(V)));case h:case m:case S:return n(+re,+V);case v:return re.name==V.name&&re.message==V.message;case w:case R:return re==V+"";case g:var z=l;case M:var B=E&c;if(z||(z=s),re.size!=V.size&&!B)return!1;var U=k.get(re);if(U)return U==V;E|=d,k.set(re,V);var T=t(z(re),z(V),E,D,q,k);return k.delete(re),T;case C:if(K)return K.call(re)==K.call(V)}return!1}return fp=X,fp}var dp,$y;function kx(){if($y)return dp;$y=1;var a=j8(),i=Xr();function n(t,l,s){var c=l(t);return i(t)?c:a(c,s(t))}return dp=n,dp}var hp,Jy;function Lx(){if(Jy)return hp;Jy=1;function a(i,n){for(var t=-1,l=i==null?0:i.length,s=0,c=[];++t<l;){var d=i[t];n(d,t,i)&&(c[s++]=d)}return c}return hp=a,hp}var pp,e7;function qx(){if(e7)return pp;e7=1;function a(){return[]}return pp=a,pp}var mp,t7;function Ux(){if(t7)return mp;t7=1;var a=Lx(),i=qx(),n=Object.prototype,t=n.propertyIsEnumerable,l=Object.getOwnPropertySymbols,s=l?function(c){return c==null?[]:(c=Object(c),a(l(c),function(d){return t.call(c,d)}))}:i;return mp=s,mp}var vp,n7;function Hx(){if(n7)return vp;n7=1;var a=x8(),i=a(Object.keys,Object);return vp=i,vp}var gp,r7;function Px(){if(r7)return gp;r7=1;var a=Dm(),i=Hx(),n=Object.prototype,t=n.hasOwnProperty;function l(s){if(!a(s))return i(s);var c=[];for(var d in Object(s))t.call(s,d)&&d!="constructor"&&c.push(d);return c}return gp=l,gp}var yp,a7;function Om(){if(a7)return yp;a7=1;var a=R8(),i=Px(),n=go();function t(l){return n(l)?a(l):i(l)}return yp=t,yp}var bp,i7;function zx(){if(i7)return bp;i7=1;var a=kx(),i=Ux(),n=Om();function t(l){return a(l,n,i)}return bp=t,bp}var _p,l7;function Yx(){if(l7)return _p;l7=1;var a=zx(),i=1,n=Object.prototype,t=n.hasOwnProperty;function l(s,c,d,h,m,v){var g=d&i,S=a(s),w=S.length,M=a(c),R=M.length;if(w!=R&&!g)return!1;for(var C=w;C--;){var H=S[C];if(!(g?H in c:t.call(c,H)))return!1}var O=v.get(s),Y=v.get(c);if(O&&Y)return O==c&&Y==s;var K=!0;v.set(s,c),v.set(c,s);for(var X=g;++C<w;){H=S[C];var re=s[H],V=c[H];if(h)var _=g?h(V,re,H,c,s,v):h(re,V,H,s,c,v);if(!(_===void 0?re===V||m(re,V,d,h,v):_)){K=!1;break}X||(X=H=="constructor")}if(K&&!X){var E=s.constructor,D=c.constructor;E!=D&&"constructor"in s&&"constructor"in c&&!(typeof E=="function"&&E instanceof E&&typeof D=="function"&&D instanceof D)&&(K=!1)}return v.delete(s),v.delete(c),K}return _p=l,_p}var Sp,o7;function jx(){if(o7)return Sp;o7=1;var a=hl(),i=ga(),n=a(i,"DataView");return Sp=n,Sp}var Ep,s7;function Bx(){if(s7)return Ep;s7=1;var a=hl(),i=ga(),n=a(i,"Promise");return Ep=n,Ep}var wp,u7;function Ix(){if(u7)return wp;u7=1;var a=hl(),i=ga(),n=a(i,"WeakMap");return wp=n,wp}var Dp,c7;function Fx(){if(c7)return Dp;c7=1;var a=jx(),i=gm(),n=Bx(),t=U8(),l=Ix(),s=mo(),c=g8(),d="[object Map]",h="[object Object]",m="[object Promise]",v="[object Set]",g="[object WeakMap]",S="[object DataView]",w=c(a),M=c(i),R=c(n),C=c(t),H=c(l),O=s;return(a&&O(new a(new ArrayBuffer(1)))!=S||i&&O(new i)!=d||n&&O(n.resolve())!=m||t&&O(new t)!=v||l&&O(new l)!=g)&&(O=function(Y){var K=s(Y),X=K==h?Y.constructor:void 0,re=X?c(X):"";if(re)switch(re){case w:return S;case M:return d;case R:return m;case C:return v;case H:return g}return K}),Dp=O,Dp}var Tp,f7;function Gx(){if(f7)return Tp;f7=1;var a=Em(),i=B8(),n=Nx(),t=Yx(),l=Fx(),s=Xr(),c=Tm(),d=xm(),h=1,m="[object Arguments]",v="[object Array]",g="[object Object]",S=Object.prototype,w=S.hasOwnProperty;function M(R,C,H,O,Y,K){var X=s(R),re=s(C),V=X?v:l(R),_=re?v:l(C);V=V==m?g:V,_=_==m?g:_;var E=V==g,D=_==g,q=V==_;if(q&&c(R)){if(!c(C))return!1;X=!0,E=!1}if(q&&!E)return K||(K=new a),X||d(R)?i(R,C,H,O,Y,K):n(R,C,V,H,O,Y,K);if(!(H&h)){var k=E&&w.call(R,"__wrapped__"),z=D&&w.call(C,"__wrapped__");if(k||z){var B=k?R.value():R,U=z?C.value():C;return K||(K=new a),Y(B,U,H,O,K)}}return q?(K||(K=new a),t(R,C,H,O,Y,K)):!1}return Tp=M,Tp}var xp,d7;function I8(){if(d7)return xp;d7=1;var a=Gx(),i=dl();function n(t,l,s,c,d){return t===l?!0:t==null||l==null||!i(t)&&!i(l)?t!==t&&l!==l:a(t,l,s,c,n,d)}return xp=n,xp}var Mp,h7;function Zx(){if(h7)return Mp;h7=1;var a=Em(),i=I8(),n=1,t=2;function l(s,c,d,h){var m=d.length,v=m,g=!h;if(s==null)return!v;for(s=Object(s);m--;){var S=d[m];if(g&&S[2]?S[1]!==s[S[0]]:!(S[0]in s))return!1}for(;++m<v;){S=d[m];var w=S[0],M=s[w],R=S[1];if(g&&S[2]){if(M===void 0&&!(w in s))return!1}else{var C=new a;if(h)var H=h(M,R,w,s,c,C);if(!(H===void 0?i(R,M,n|t,h,C):H))return!1}}return!0}return Mp=l,Mp}var Op,p7;function F8(){if(p7)return Op;p7=1;var a=Za();function i(n){return n===n&&!a(n)}return Op=i,Op}var Ap,m7;function Vx(){if(m7)return Ap;m7=1;var a=F8(),i=Om();function n(t){for(var l=i(t),s=l.length;s--;){var c=l[s],d=t[c];l[s]=[c,d,a(d)]}return l}return Ap=n,Ap}var Cp,v7;function G8(){if(v7)return Cp;v7=1;function a(i,n){return function(t){return t==null?!1:t[i]===n&&(n!==void 0||i in Object(t))}}return Cp=a,Cp}var Rp,g7;function Wx(){if(g7)return Rp;g7=1;var a=Zx(),i=Vx(),n=G8();function t(l){var s=i(l);return s.length==1&&s[0][2]?n(s[0][0],s[0][1]):function(c){return c===l||a(c,l,s)}}return Rp=t,Rp}var Np,y7;function Qx(){if(y7)return Np;y7=1;function a(i,n){return i!=null&&n in Object(i)}return Np=a,Np}var kp,b7;function Kx(){if(b7)return kp;b7=1;var a=Qx(),i=S8();function n(t,l){return t!=null&&i(t,l,a)}return kp=n,kp}var Lp,_7;function Xx(){if(_7)return Lp;_7=1;var a=I8(),i=_8(),n=Kx(),t=mm(),l=F8(),s=G8(),c=Xc(),d=1,h=2;function m(v,g){return t(v)&&l(g)?s(c(v),g):function(S){var w=i(S,v);return w===void 0&&w===g?n(S,v):a(g,w,d|h)}}return Lp=m,Lp}var qp,S7;function $x(){if(S7)return qp;S7=1;function a(i){return function(n){return n==null?void 0:n[i]}}return qp=a,qp}var Up,E7;function Jx(){if(E7)return Up;E7=1;var a=bm();function i(n){return function(t){return a(t,n)}}return Up=i,Up}var Hp,w7;function eM(){if(w7)return Hp;w7=1;var a=$x(),i=Jx(),n=mm(),t=Xc();function l(s){return n(s)?a(t(s)):i(s)}return Hp=l,Hp}var Pp,D7;function tM(){if(D7)return Pp;D7=1;var a=Wx(),i=Xx(),n=Jc(),t=Xr(),l=eM();function s(c){return typeof c=="function"?c:c==null?n:typeof c=="object"?t(c)?i(c[0],c[1]):a(c):l(c)}return Pp=s,Pp}var zp,T7;function nM(){if(T7)return zp;T7=1;var a=D8(),i=Om();function n(t,l){return t&&a(t,l,i)}return zp=n,zp}var Yp,x7;function rM(){if(x7)return Yp;x7=1;var a=go();function i(n,t){return function(l,s){if(l==null)return l;if(!a(l))return n(l,s);for(var c=l.length,d=t?c:-1,h=Object(l);(t?d--:++d<c)&&s(h[d],d,h)!==!1;);return l}}return Yp=i,Yp}var jp,M7;function aM(){if(M7)return jp;M7=1;var a=nM(),i=rM(),n=i(a);return jp=n,jp}var Bp,O7;function iM(){if(O7)return Bp;O7=1;var a=aM(),i=go();function n(t,l){var s=-1,c=i(t)?Array(t.length):[];return a(t,function(d,h,m){c[++s]=l(d,h,m)}),c}return Bp=n,Bp}var Ip,A7;function lM(){if(A7)return Ip;A7=1;function a(i,n){var t=i.length;for(i.sort(n);t--;)i[t]=i[t].value;return i}return Ip=a,Ip}var Fp,C7;function oM(){if(C7)return Fp;C7=1;var a=Is();function i(n,t){if(n!==t){var l=n!==void 0,s=n===null,c=n===n,d=a(n),h=t!==void 0,m=t===null,v=t===t,g=a(t);if(!m&&!g&&!d&&n>t||d&&h&&v&&!m&&!g||s&&h&&v||!l&&v||!c)return 1;if(!s&&!d&&!g&&n<t||g&&l&&c&&!s&&!d||m&&l&&c||!h&&c||!v)return-1}return 0}return Fp=i,Fp}var Gp,R7;function sM(){if(R7)return Gp;R7=1;var a=oM();function i(n,t,l){for(var s=-1,c=n.criteria,d=t.criteria,h=c.length,m=l.length;++s<h;){var v=a(c[s],d[s]);if(v){if(s>=m)return v;var g=l[s];return v*(g=="desc"?-1:1)}}return n.index-t.index}return Gp=i,Gp}var Zp,N7;function uM(){if(N7)return Zp;N7=1;var a=y8(),i=bm(),n=tM(),t=iM(),l=lM(),s=O8(),c=sM(),d=Jc(),h=Xr();function m(v,g,S){g.length?g=a(g,function(R){return h(R)?function(C){return i(C,R.length===1?R[0]:R)}:R}):g=[d];var w=-1;g=a(g,s(n));var M=t(v,function(R,C,H){var O=a(g,function(Y){return Y(R)});return{criteria:O,index:++w,value:R}});return l(M,function(R,C){return c(R,C,S)})}return Zp=m,Zp}var Vp,k7;function cM(){if(k7)return Vp;k7=1;var a=Ax(),i=uM(),n=k8(),t=ef(),l=n(function(s,c){if(s==null)return[];var d=c.length;return d>1&&t(s,c[0],c[1])?c=[]:d>2&&t(c[0],c[1],c[2])&&(c=[c[0]]),i(s,a(c,1),[])});return Vp=l,Vp}var fM=cM();const dM=mr(fM);var Wp,L7;function hM(){if(L7)return Wp;L7=1;function a(i,n,t){for(var l=-1,s=i.length,c=n.length,d={};++l<s;){var h=l<c?n[l]:void 0;t(d,i[l],h)}return d}return Wp=a,Wp}var Qp,q7;function pM(){if(q7)return Qp;q7=1;var a=C8(),i=hM();function n(t,l){return i(t||[],l||[],a)}return Qp=n,Qp}var mM=pM();const vM=mr(mM),z2={0:"unit",1:"ten",2:"hundred",3:"thousand",6:"million",9:"billion",12:"trillion",15:"quadrillion","-1":"deci","-2":"centi","-3":"mili","-6":"micro","-9":"nano","-12":"pico","-15":"femto"},gM=vM(Object.values(z2),Object.keys(z2).map(a=>parseInt(a,10)));function yM(a,i,n){const t={roundMode:n.roundMode,precision:n.precision,significant:n.significant};let l;if(tl(n.units)==="string"){const g=n.units;if(l=sa(a,g),!l)throw new Error(`The scope "${a.locale}${a.defaultSeparator}${ao(a,g,{})}" couldn't be found`)}else l=n.units;let s=Cc(new Xt(i),t);const c=g=>dM(Object.keys(g).map(S=>gM[S]),S=>S*-1),d=(g,S)=>{const w=g.isZero()?0:Math.floor(Math.log10(g.abs().toNumber()));return c(S).find(M=>w>=M)||0},h=(g,S)=>{const w=z2[S.toString()];return g[w]||""},m=d(new Xt(s),l),v=h(l,m);if(s=Cc(new Xt(s).div(Math.pow(10,m)),t),n.stripInsignificantZeros){let[g,S]=s.split(".");S=(S||"").replace(/0+$/,""),s=g,S&&(s+=`${n.separator}${S}`)}return n.format.replace("%n",s||"0").replace("%u",v).trim()}const U7=["byte","kb","mb","gb","tb","pb","eb"];function bM(a,i,n){const t=z8(n.roundMode),l=1024,s=new Xt(i).abs(),c=s.lt(l);let d;const h=(M,R)=>{const C=R.length-1,H=new Xt(Math.log(M.toNumber())).div(Math.log(l)).integerValue(Xt.ROUND_DOWN).toNumber();return Math.min(C,H)},m=M=>`number.human.storage_units.units.${c?"byte":M[v]}`,v=h(s,U7);c?d=s.integerValue():d=new Xt(Cc(s.div(Math.pow(l,v)),{significant:n.significant,precision:n.precision,roundMode:n.roundMode}));const g=a.translate("number.human.storage_units.format",{defaultValue:"%n %u"}),S=a.translate(m(U7),{count:s.integerValue().toNumber()});let w=d.toFixed(n.precision,t);return n.stripInsignificantZeros&&(w=w.replace(/(\..*?)0+$/,"$1").replace(/\.$/,"")),g.replace("%n",w).replace("%u",S)}function Y2(a){if(a instanceof Date)return a;if(typeof a=="number"){const t=new Date;return t.setTime(a),t}const i=new String(a).match(/(\d{4})-(\d{2})-(\d{2})(?:[ T](\d{2}):(\d{2}):(\d{2})(?:[.,](\d{1,3}))?)?(Z|\+00:?00)?/);if(i){const t=i.slice(1,8).map(S=>parseInt(S,10)||0);t[1]-=1;const[l,s,c,d,h,m,v]=t;return i[8]?new Date(Date.UTC(l,s,c,d,h,m,v)):new Date(l,s,c,d,h,m,v)}a.match(/([A-Z][a-z]{2}) ([A-Z][a-z]{2}) (\d+) (\d+:\d+:\d+) ([+-]\d+) (\d+)/)&&new Date().setTime(Date.parse([RegExp.$1,RegExp.$2,RegExp.$3,RegExp.$6,RegExp.$4,RegExp.$5].join(" ")));const n=new Date;return n.setTime(Date.parse(a)),n}function H7({i18n:a,count:i,scope:n,options:t,baseScope:l}){t=Object.assign({},t);let s,c;if(typeof n=="object"&&n?s=n:s=sa(a,n,t),!s)return a.missingTranslation.get(n,t);const h=a.pluralization.get(t.locale)(a,i),m=[];for(;h.length;){const v=h.shift();if(Pa(s[v])){c=s[v];break}m.push(v)}return Pa(c)?(t.count=i,a.interpolate(a,c,t)):a.missingTranslation.get(l.split(a.defaultSeparator).concat([m[0]]),t)}const _M={meridian:{am:"AM",pm:"PM"},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbrDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],monthNames:[null,"January","February","March","April","May","June","July","August","September","October","November","December"],abbrMonthNames:[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]};function SM(a,i,n={}){const{abbrDayNames:t,dayNames:l,abbrMonthNames:s,monthNames:c,meridian:d,utc:h}=Object.assign(Object.assign({},_M),n);if(isNaN(a.getTime()))throw new Error("strftime() requires a valid date object, but received an invalid date.");const m=h?a.getUTCDay():a.getDay(),v=h?a.getUTCDate():a.getDate(),g=h?a.getUTCFullYear():a.getFullYear(),S=(h?a.getUTCMonth():a.getMonth())+1,w=h?a.getUTCHours():a.getHours();let M=w;const R=w>11?"pm":"am",C=h?a.getUTCSeconds():a.getSeconds(),H=h?a.getUTCMinutes():a.getMinutes(),O=h?0:a.getTimezoneOffset(),Y=Math.floor(Math.abs(O/60)),K=Math.abs(O)-Y*60,X=(O>0?"-":"+")+(Y.toString().length<2?"0"+Y:Y)+(K.toString().length<2?"0"+K:K);return M>12?M=M-12:M===0&&(M=12),i=i.replace("%a",t[m]),i=i.replace("%A",l[m]),i=i.replace("%b",s[S]),i=i.replace("%B",c[S]),i=i.replace("%d",v.toString().padStart(2,"0")),i=i.replace("%e",v.toString()),i=i.replace("%-d",v.toString()),i=i.replace("%H",w.toString().padStart(2,"0")),i=i.replace("%-H",w.toString()),i=i.replace("%k",w.toString()),i=i.replace("%I",M.toString().padStart(2,"0")),i=i.replace("%-I",M.toString()),i=i.replace("%l",M.toString()),i=i.replace("%m",S.toString().padStart(2,"0")),i=i.replace("%-m",S.toString()),i=i.replace("%M",H.toString().padStart(2,"0")),i=i.replace("%-M",H.toString()),i=i.replace("%p",d[R]),i=i.replace("%P",d[R].toLowerCase()),i=i.replace("%S",C.toString().padStart(2,"0")),i=i.replace("%-S",C.toString()),i=i.replace("%w",m.toString()),i=i.replace("%y",g.toString().padStart(2,"0").substr(-2)),i=i.replace("%-y",g.toString().padStart(2,"0").substr(-2).replace(/^0+/,"")),i=i.replace("%Y",g.toString()),i=i.replace(/%z/i,X),i}var Kp,P7;function EM(){if(P7)return Kp;P7=1;var a=Math.ceil,i=Math.max;function n(t,l,s,c){for(var d=-1,h=i(a((l-t)/(s||1)),0),m=Array(h);h--;)m[c?h:++d]=t,t+=s;return m}return Kp=n,Kp}var Xp,z7;function wM(){if(z7)return Xp;z7=1;var a=EM(),i=ef(),n=Y8();function t(l){return function(s,c,d){return d&&typeof d!="number"&&i(s,c,d)&&(c=d=void 0),s=n(s),c===void 0?(c=s,s=0):c=n(c),d=d===void 0?s<c?1:-1:n(d),a(s,c,d,l)}}return Xp=t,Xp}var $p,Y7;function DM(){if(Y7)return $p;Y7=1;var a=wM(),i=a();return $p=i,$p}var TM=DM();const xM=mr(TM),dr=(a,i,n)=>n>=a&&n<=i;function MM(a,i,n,t={}){const l=t.scope||"datetime.distance_in_words",s=(V,_=0)=>a.t(V,{count:_,scope:l});i=Y2(i),n=Y2(n);let c=i.getTime()/1e3,d=n.getTime()/1e3;c>d&&([i,n,c,d]=[n,i,d,c]);const h=Math.round(d-c),m=Math.round((d-c)/60),g=m/60/24,S=Math.round(m/60),w=Math.round(g),M=Math.round(w/30);if(dr(0,1,m))return t.includeSeconds?dr(0,4,h)?s("less_than_x_seconds",5):dr(5,9,h)?s("less_than_x_seconds",10):dr(10,19,h)?s("less_than_x_seconds",20):dr(20,39,h)?s("half_a_minute"):dr(40,59,h)?s("less_than_x_minutes",1):s("x_minutes",1):m===0?s("less_than_x_minutes",1):s("x_minutes",m);if(dr(2,44,m))return s("x_minutes",m);if(dr(45,89,m))return s("about_x_hours",1);if(dr(90,1439,m))return s("about_x_hours",S);if(dr(1440,2519,m))return s("x_days",1);if(dr(2520,43199,m))return s("x_days",w);if(dr(43200,86399,m))return s("about_x_months",Math.round(m/43200));if(dr(86400,525599,m))return s("x_months",M);let R=i.getFullYear();i.getMonth()+1>=3&&(R+=1);let C=n.getFullYear();n.getMonth()+1<3&&(C-=1);const H=R>C?0:xM(R,C).filter(V=>new Date(V,1,29).getMonth()==1).length,O=525600,Y=H*1440,K=m-Y,X=Math.trunc(K/O),re=parseFloat((K/O-X).toPrecision(3));return re<.25?s("about_x_years",X):re<.75?s("over_x_years",X):s("almost_x_years",X+1)}const OM=function(a,i){i instanceof Array&&(i=i.join(a.defaultSeparator));const n=i.split(a.defaultSeparator).slice(-1)[0];return a.missingTranslationPrefix+n.replace("_"," ").replace(/([a-z])([A-Z])/g,(t,l,s)=>`${l} ${s.toLowerCase()}`)},AM=(a,i,n)=>{const t=ao(a,i,n),l="locale"in n?n.locale:a.locale,s=tl(l);return`[missing "${[s=="string"?l:s,t].join(a.defaultSeparator)}" translation]`},CM=(a,i,n)=>{const t=ao(a,i,n),l=[a.locale,t].join(a.defaultSeparator);throw new Error(`Missing translation: ${l}`)};class RM{constructor(i){this.i18n=i,this.registry={},this.register("guess",OM),this.register("message",AM),this.register("error",CM)}register(i,n){this.registry[i]=n}get(i,n){var t;return this.registry[(t=n.missingBehavior)!==null&&t!==void 0?t:this.i18n.missingBehavior](this.i18n,i,n)}}var NM=function(a,i,n,t){function l(s){return s instanceof n?s:new n(function(c){c(s)})}return new(n||(n=Promise))(function(s,c){function d(v){try{m(t.next(v))}catch(g){c(g)}}function h(v){try{m(t.throw(v))}catch(g){c(g)}}function m(v){v.done?s(v.value):l(v.value).then(d,h)}m((t=t.apply(a,i||[])).next())})};const Jp={defaultLocale:"en",locale:"en",defaultSeparator:".",placeholder:/(?:\{\{|%\{)(.*?)(?:\}\}?)/gm,enableFallback:!1,missingBehavior:"message",missingTranslationPrefix:"",missingPlaceholder:(a,i)=>`[missing "${i}" value]`,nullPlaceholder:(a,i,n,t)=>a.missingPlaceholder(a,i,n,t),transformKey:a=>a};let kM=class{constructor(i={},n={}){this._locale=Jp.locale,this._defaultLocale=Jp.defaultLocale,this._version=0,this.onChangeHandlers=[],this.translations={},this.t=this.translate,this.p=this.pluralize,this.l=this.localize,this.distanceOfTimeInWords=this.timeAgoInWords;const{locale:t,enableFallback:l,missingBehavior:s,missingTranslationPrefix:c,missingPlaceholder:d,nullPlaceholder:h,defaultLocale:m,defaultSeparator:v,placeholder:g,transformKey:S}=Object.assign(Object.assign({},Jp),n);this.locale=t,this.defaultLocale=m,this.defaultSeparator=v,this.enableFallback=l,this.locale=t,this.missingBehavior=s,this.missingTranslationPrefix=c,this.missingPlaceholder=d,this.nullPlaceholder=h,this.placeholder=g,this.pluralization=new ZT(this),this.locales=new BT(this),this.missingTranslation=new RM(this),this.transformKey=S,this.interpolate=ap,this.store(i)}store(i){xT(this.translations,i),this.hasChanged()}get locale(){return this._locale||this.defaultLocale||"en"}set locale(i){if(typeof i!="string")throw new Error(`Expected newLocale to be a string; got ${tl(i)}`);const n=this._locale!==i;this._locale=i,n&&this.hasChanged()}get defaultLocale(){return this._defaultLocale||"en"}set defaultLocale(i){if(typeof i!="string")throw new Error(`Expected newLocale to be a string; got ${tl(i)}`);const n=this._defaultLocale!==i;this._defaultLocale=i,n&&this.hasChanged()}translate(i,n){n=Object.assign({},n);const t=hx(this,i,n);let l;return t.some(c=>(Pa(c.scope)?l=sa(this,c.scope,n):Pa(c.message)&&(l=c.message),l!=null))?(typeof l=="string"?l=this.interpolate(this,l,n):typeof l=="object"&&l&&Pa(n.count)&&(l=H7({i18n:this,count:n.count||0,scope:l,options:n,baseScope:ao(this,i,n)})),n&&l instanceof Array&&(l=l.map(c=>typeof c=="string"?ap(this,c,n):c)),l):this.missingTranslation.get(i,n)}pluralize(i,n,t){return H7({i18n:this,count:i,scope:n,options:Object.assign({},t),baseScope:ao(this,n,t??{})})}localize(i,n,t){if(t=Object.assign({},t),n==null)return"";switch(i){case"currency":return this.numberToCurrency(n);case"number":return bs(n,Object.assign({delimiter:",",precision:3,separator:".",significant:!1,stripInsignificantZeros:!1},sa(this,"number.format")));case"percentage":return this.numberToPercentage(n);default:{let l;return i.match(/^(date|time)/)?l=this.toTime(i,n):l=n.toString(),ap(this,l,t)}}}toTime(i,n){const t=Y2(n),l=sa(this,i);return t.toString().match(/invalid/i)||!l?t.toString():this.strftime(t,l)}numberToCurrency(i,n={}){return bs(i,Object.assign(Object.assign(Object.assign({delimiter:",",format:"%u%n",precision:2,separator:".",significant:!1,stripInsignificantZeros:!1,unit:"$"},Ir(this.get("number.format"))),Ir(this.get("number.currency.format"))),n))}numberToPercentage(i,n={}){return bs(i,Object.assign(Object.assign(Object.assign({delimiter:"",format:"%n%",precision:3,stripInsignificantZeros:!1,separator:".",significant:!1},Ir(this.get("number.format"))),Ir(this.get("number.percentage.format"))),n))}numberToHumanSize(i,n={}){return bM(this,i,Object.assign(Object.assign(Object.assign({delimiter:"",precision:3,significant:!0,stripInsignificantZeros:!0,units:{billion:"Billion",million:"Million",quadrillion:"Quadrillion",thousand:"Thousand",trillion:"Trillion",unit:""}},Ir(this.get("number.human.format"))),Ir(this.get("number.human.storage_units"))),n))}numberToHuman(i,n={}){return yM(this,i,Object.assign(Object.assign(Object.assign({delimiter:"",separator:".",precision:3,significant:!0,stripInsignificantZeros:!0,format:"%n %u",roundMode:"default",units:{billion:"Billion",million:"Million",quadrillion:"Quadrillion",thousand:"Thousand",trillion:"Trillion",unit:""}},Ir(this.get("number.human.format"))),Ir(this.get("number.human.decimal_units"))),n))}numberToRounded(i,n){return bs(i,Object.assign({unit:"",precision:3,significant:!1,separator:".",delimiter:"",stripInsignificantZeros:!1},n))}numberToDelimited(i,n={}){return Mx(i,Object.assign({delimiterPattern:/(\d)(?=(\d\d\d)+(?!\d))/g,delimiter:",",separator:"."},n))}withLocale(i,n){return NM(this,void 0,void 0,function*(){const t=this.locale;try{this.locale=i,yield n()}finally{this.locale=t}})}strftime(i,n,t={}){return SM(i,n,Object.assign(Object.assign(Object.assign({},Ir(sa(this,"date"))),{meridian:{am:sa(this,"time.am")||"AM",pm:sa(this,"time.pm")||"PM"}}),t))}update(i,n,t={strict:!1}){if(t.strict&&!ZD(this.translations,i))throw new Error(`The path "${i}" is not currently defined`);const l=jD(this.translations,i),s=tl(l),c=tl(n);if(t.strict&&s!==c)throw new Error(`The current type for "${i}" is "${s}", but you're trying to override it with "${c}"`);let d;c==="object"?d=Object.assign(Object.assign({},l),n):d=n;const h=i.split(this.defaultSeparator),m=h.pop();let v=this.translations;for(const g of h)v[g]||(v[g]={}),v=v[g];v[m]=d,this.hasChanged()}toSentence(i,n={}){const{wordsConnector:t,twoWordsConnector:l,lastWordConnector:s}=Object.assign(Object.assign({wordsConnector:", ",twoWordsConnector:" and ",lastWordConnector:", and "},Ir(sa(this,"support.array"))),n),c=i.length;switch(c){case 0:return"";case 1:return`${i[0]}`;case 2:return i.join(l);default:return[i.slice(0,c-1).join(t),s,i[c-1]].join("")}}timeAgoInWords(i,n,t={}){return MM(this,i,n,t)}onChange(i){return this.onChangeHandlers.push(i),()=>{this.onChangeHandlers.splice(this.onChangeHandlers.indexOf(i),1)}}get version(){return this._version}formatNumber(i,n={}){return n=Object.assign(Object.assign({delimiter:",",precision:3,separator:".",unit:"",format:"%u%n",significant:!1,stripInsignificantZeros:!1},Ir(this.get("number.format"))),n),bs(i,n)}get(i){return sa(this,i)}runCallbacks(){this.onChangeHandlers.forEach(i=>i(this))}hasChanged(){this._version+=1,this.runCallbacks()}};function LM(a,i,n){const t=new URLSearchParams(a);return t.set(i,n),"?"+t.toString()}function qM(a,i){return new URLSearchParams(i).get(a)}function Z8(a){return a!=null?(a.preventDefault(),a.stopPropagation(),!1):!0}function Ua(a){return a==null?!0:Array.isArray(a)?a.length===0:typeof a=="string"?a.trim().length===0:a&&a.getTime?a.getTime()!==a.getTime():typeof a=="object"?Object.keys(a).length===0:!1}/*! js-cookie v3.0.5 | MIT */function oc(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)a[t]=n[t]}return a}var UM={read:function(a){return a[0]==='"'&&(a=a.slice(1,-1)),a.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(a){return encodeURIComponent(a).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function j2(a,i){function n(l,s,c){if(!(typeof document>"u")){c=oc({},i,c),typeof c.expires=="number"&&(c.expires=new Date(Date.now()+c.expires*864e5)),c.expires&&(c.expires=c.expires.toUTCString()),l=encodeURIComponent(l).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var d="";for(var h in c)c[h]&&(d+="; "+h,c[h]!==!0&&(d+="="+c[h].split(";")[0]));return document.cookie=l+"="+a.write(s,l)+d}}function t(l){if(!(typeof document>"u"||arguments.length&&!l)){for(var s=document.cookie?document.cookie.split("; "):[],c={},d=0;d<s.length;d++){var h=s[d].split("="),m=h.slice(1).join("=");try{var v=decodeURIComponent(h[0]);if(c[v]=a.read(m,v),l===v)break}catch{}}return l?c[l]:c}}return Object.create({set:n,get:t,remove:function(l,s){n(l,"",oc({},s,{expires:-1}))},withAttributes:function(l){return j2(this.converter,oc({},this.attributes,l))},withConverter:function(l){return j2(oc({},this.converter,l),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(a)}})}var V8=j2(UM,{path:"/"});const ke=new kM({en:fD,nl:dD});let sl=qM("lang",window.location.search);Ua(sl)&&(sl=V8.get("lang"));Ua(sl)&&(sl=navigator.language.toLowerCase().substring(0,2));["nl","en"].indexOf(sl)===-1&&(sl="en");ke.locale=sl;ke.missingTranslation.register("report-error",(a,i)=>`[missing "${i}" translation]`);ke.missingBehavior="report-error";const j7=a=>{let i;const n=new Set,t=(m,v)=>{const g=typeof m=="function"?m(i):m;if(!Object.is(g,i)){const S=i;i=v??(typeof g!="object"||g===null)?g:Object.assign({},i,g),n.forEach(w=>w(i,S))}},l=()=>i,d={setState:t,getState:l,getInitialState:()=>h,subscribe:m=>(n.add(m),()=>n.delete(m))},h=i=a(t,l,d);return d},HM=a=>a?j7(a):j7,PM=a=>a;function zM(a,i=PM){const n=Z.useSyncExternalStore(a.subscribe,()=>i(a.getState()),()=>i(a.getInitialState()));return Z.useDebugValue(n),n}const B7=a=>{const i=HM(a),n=t=>zM(i,t);return Object.assign(n,i),n},YM=a=>a?B7(a):B7,Pn=YM(a=>({user:{},controlCode:{},flash:{msg:"",className:"hide",type:"info"},setFlash:(i,n)=>{a({flash:{msg:i,type:n||"info"}}),(!n||n==="info")&&setTimeout(()=>a({flash:{}}),5e3)},clearFlash:()=>a({flash:{}}),breadcrumbPath:[]}));function jM(a){return i=>{if(!i.ok){if(i.type==="opaqueredirect")return setTimeout(()=>window.location.reload(!0),100),i;const n=new Error(i.statusText);if(n.response=i,a&&i.status===401){window.location.reload(!0);return}throw a&&setTimeout(()=>{throw n},250),n}return i}}function BM(a,i,n={},t=!0){const l={Accept:"application/json","Content-Type":"application/json","Accept-Language":ke.locale,"X-CSRF-TOKEN":Pn.getState().csrfToken,...n},s=Object.assign({},{headers:l},i,{credentials:"same-origin",redirect:"manual",changeOrigin:!1});return fetch(a,s).then(jM(t))}function Gs(a,i={},n={},t=!0){return BM(a,i,n,t).then(l=>l.json())}function IM(a,i,n,t=!0){const l=JSON.stringify(i);return Gs(a,{method:n,body:l},{},t)}function FM(){return Gs("/myconext/api/sp/me")}function W8(){const a={credentials:"same-origin",redirect:"manual"};return Gs("/myconext/api/sp/logout").then(()=>fetch("/Shibboleth.sso/Logout",a))}function GM(a){return Gs(`/myconext/api/servicedesk/user/${a}`)}function ZM(a){return Gs(`/myconext/api/servicedesk/validate?dayOfBirth=${encodeURIComponent(a)}`)}function VM(a,i,n,t,l,s){return IM("/myconext/api/servicedesk/approve",{firstName:a,lastName:i,dayOfBirth:n,code:t,documentId:l,userUid:s},"PUT",!1)}const WM=()=>{const a=Pn(n=>n.flash),i=Pn(n=>n.clearFlash);return!Ua(a)&&(a.type==="error"||a.type==="warning")?W.jsx(RE,{message:a.msg,action:a.action,actionLabel:a.actionLabel,alertType:a.type==="warning"?Ei.Warning:Ei.Error,close:i}):!Ua(a)&&!Ua(a.msg)?W.jsx(zE,{children:W.jsx(lm,{message:a.msg,toasterType:Di.Success})}):null},QM=({user:a})=>{const i=fl(),[n,t]=y.useState(!1),l=c=>{Z8(c),W8().then(()=>{Pn.setState(()=>({breadcrumbPath:[],user:{},controlCode:{}})),i("/login"),setTimeout(()=>Pn.setState(()=>({user:null,breadcrumbPath:[]})),125)})},s=()=>W.jsx(W.Fragment,{children:W.jsx("ul",{children:W.jsx("li",{children:W.jsx("a",{href:"/logout",onClick:l,children:ke.t("header.links.logout")})})})});return W.jsx("div",{className:"user-menu",tabIndex:1,onBlur:()=>setTimeout(()=>t(!1),325),children:W.jsx(YE,{isOpen:n,children:s(),userName:a.displayName,organisationName:a.schacHomeOrganization,toggle:()=>t(!n)})})},KM=()=>{const{user:a}=Pn(i=>i);return W.jsx("div",{className:"header-container",children:W.jsxs("div",{className:"header-inner",children:[W.jsx(pm,{className:"logo",to:"/",children:W.jsx($9,{label:ke.t("header.title"),position:J9.Bottom,color:k2.White})}),a&&a.serviceDeskMember&&W.jsx(QM,{user:a,actions:[]})]})})},XM=({title:a,titleId:i,...n},t)=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",width:860.13137,height:571.14799,viewBox:"0 0 860.13137 571.14799",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("path",{d:"M605.66974,324.95306c-7.66934-12.68446-16.7572-26.22768-30.98954-30.36953-16.482-4.7965-33.4132,4.73193-47.77473,14.13453a1392.15692,1392.15692,0,0,0-123.89338,91.28311l.04331.49238q46.22556-3.1878,92.451-6.37554c22.26532-1.53546,45.29557-3.2827,64.97195-13.8156,7.46652-3.99683,14.74475-9.33579,23.20555-9.70782,10.51175-.46217,19.67733,6.87923,26.8802,14.54931,42.60731,45.371,54.937,114.75409,102.73817,154.61591A1516.99453,1516.99453,0,0,0,605.66974,324.95306Z",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M867.57068,709.78146c-4.71167-5.94958-6.6369-7.343-11.28457-13.34761q-56.7644-73.41638-106.70791-151.79237-33.92354-53.23-64.48275-108.50439-14.54864-26.2781-28.29961-52.96872-10.67044-20.6952-20.8646-41.63793c-1.94358-3.98782-3.8321-7.99393-5.71122-12.00922-4.42788-9.44232-8.77341-18.93047-13.43943-28.24449-5.31686-10.61572-11.789-21.74485-21.55259-28.877a29.40493,29.40493,0,0,0-15.31855-5.89458c-7.948-.51336-15.28184,2.76855-22.17568,6.35295-50.43859,26.301-97.65922,59.27589-140.3696,96.79771A730.77816,730.77816,0,0,0,303.32241,496.24719c-1.008,1.43927-3.39164.06417-2.37419-1.38422q6.00933-8.49818,12.25681-16.81288A734.817,734.817,0,0,1,500.80465,303.06436q18.24824-11.82581,37.18269-22.54245c6.36206-3.60275,12.75188-7.15967,19.25136-10.49653,6.37146-3.27274,13.13683-6.21547,20.41563-6.32547,24.7701-.385,37.59539,27.66695,46.40506,46.54248q4.15283,8.9106,8.40636,17.76626,16.0748,33.62106,33.38729,66.628,10.68453,20.379,21.83683,40.51955,34.7071,62.71816,73.77854,122.897c34.5059,53.1429,68.73651,100.08874,108.04585,149.78472C870.59617,709.21309,868.662,711.17491,867.57068,709.78146Z",transform:"translate(-169.93432 -164.42601)",fill:"#e4e4e4"}),y.createElement("path",{d:"M414.91613,355.804c-1.43911-1.60428-2.86927-3.20856-4.31777-4.81284-11.42244-12.63259-23.6788-25.11847-39.3644-32.36067a57.11025,57.11025,0,0,0-23.92679-5.54622c-8.56213.02753-16.93178,2.27348-24.84306,5.41792-3.74034,1.49427-7.39831,3.1902-11.00078,4.99614-4.11634,2.07182-8.15927,4.28118-12.1834,6.50883q-11.33112,6.27044-22.36816,13.09089-21.9606,13.57221-42.54566,29.21623-10.67111,8.11311-20.90174,16.75788-9.51557,8.03054-18.64618,16.492c-1.30169,1.20091-3.24527-.74255-1.94358-1.94347,1.60428-1.49428,3.22691-2.97938,4.84955-4.44613q6.87547-6.21546,13.9712-12.19257,12.93921-10.91827,26.54851-20.99312,21.16293-15.67614,43.78288-29.22541,11.30361-6.76545,22.91829-12.96259c2.33794-1.24675,4.70318-2.466,7.09572-3.6211a113.11578,113.11578,0,0,1,16.86777-6.86632,60.0063,60.0063,0,0,1,25.476-2.50265,66.32706,66.32706,0,0,1,23.50512,8.1314c15.40091,8.60812,27.34573,21.919,38.97,34.90915C418.03337,355.17141,416.09875,357.12405,414.91613,355.804Z",transform:"translate(-169.93432 -164.42601)",fill:"#e4e4e4"}),y.createElement("path",{d:"M730.47659,486.71092l36.90462-13.498,18.32327-6.70183c5.96758-2.18267,11.92082-4.66747,18.08988-6.23036a28.53871,28.53871,0,0,1,16.37356.20862,37.73753,37.73753,0,0,1,12.771,7.91666,103.63965,103.63965,0,0,1,10.47487,11.18643c3.98932,4.79426,7.91971,9.63877,11.86772,14.46706q24.44136,29.89094,48.56307,60.04134,24.12117,30.14991,47.91981,60.556,23.85681,30.48041,47.38548,61.21573,2.88229,3.76518,5.75966,7.53415c1.0598,1.38809,3.44949.01962,2.37472-1.38808Q983.582,650.9742,959.54931,620.184q-24.09177-30.86383-48.51647-61.46586-24.42421-30.60141-49.17853-60.93743-6.16706-7.55761-12.35445-15.09858c-3.47953-4.24073-6.91983-8.52718-10.73628-12.47427-7.00539-7.24516-15.75772-13.64794-26.23437-13.82166-6.15972-.10214-12.121,1.85248-17.844,3.92287-6.16968,2.232-12.32455,4.50571-18.48633,6.75941l-37.16269,13.59243-9.29067,3.3981c-1.64875.603-.93651,3.2619.73111,2.652Z",transform:"translate(-169.93432 -164.42601)",fill:"#e4e4e4"}),y.createElement("path",{d:"M366.37741,334.52609c-18.75411-9.63866-42.77137-7.75087-60.00508,4.29119a855.84708,855.84708,0,0,1,97.37056,22.72581C390.4603,353.75916,380.07013,341.5635,366.37741,334.52609Z",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M306.18775,338.7841l-3.61042,2.93462c1.22123-1.02713,2.4908-1.99013,3.795-2.90144C306.31073,338.80665,306.24935,338.79473,306.18775,338.7841Z",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M831.54929,486.84576c-3.6328-4.42207-7.56046-9.05222-12.99421-10.84836l-5.07308.20008A575.436,575.436,0,0,0,966.74929,651.418Q899.14929,569.13192,831.54929,486.84576Z",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M516.08388,450.36652A37.4811,37.4811,0,0,0,531.015,471.32518c2.82017,1.92011,6.15681,3.76209,7.12158,7.03463a8.37858,8.37858,0,0,1-.87362,6.1499,24.88351,24.88351,0,0,1-3.86126,5.04137l-.13667.512c-6.99843-4.14731-13.65641-9.3934-17.52227-16.55115s-4.40553-16.53895.34116-23.14544",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M749.08388,653.36652A37.4811,37.4811,0,0,0,764.015,674.32518c2.82017,1.92011,6.15681,3.76209,7.12158,7.03463a8.37858,8.37858,0,0,1-.87362,6.1499,24.88351,24.88351,0,0,1-3.86126,5.04137l-.13667.512c-6.99843-4.14731-13.65641-9.3934-17.52227-16.55115s-4.40553-16.53895.34116-23.14544",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M284.08388,639.36652A37.4811,37.4811,0,0,0,299.015,660.32518c2.82017,1.92011,6.15681,3.76209,7.12158,7.03463a8.37858,8.37858,0,0,1-.87362,6.1499,24.88351,24.88351,0,0,1-3.86126,5.04137l-.13667.512c-6.99843-4.14731-13.65641-9.3934-17.52227-16.55115s-4.40553-16.53895.34116-23.14544",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("circle",{cx:649.24878,cy:51,r:51,fill:"#6c63ff"}),y.createElement("path",{d:"M911.21851,176.29639c-24.7168-3.34094-52.93512,10.01868-59.34131,34.12353a21.59653,21.59653,0,0,0-41.09351,2.10871l2.82972,2.02667a372.27461,372.27461,0,0,0,160.65881-.72638C957.07935,195.76,935.93537,179.63727,911.21851,176.29639Z",transform:"translate(-169.93432 -164.42601)",fill:"#f0f0f0"}),y.createElement("path",{d:"M805.21851,244.29639c-24.7168-3.34094-52.93512,10.01868-59.34131,34.12353a21.59653,21.59653,0,0,0-41.09351,2.10871l2.82972,2.02667a372.27461,372.27461,0,0,0,160.65881-.72638C851.07935,263.76,829.93537,247.63727,805.21851,244.29639Z",transform:"translate(-169.93432 -164.42601)",fill:"#f0f0f0"}),y.createElement("path",{d:"M1020.94552,257.15423a.98189.98189,0,0,1-.30176-.04688C756.237,173.48919,523.19942,184.42376,374.26388,208.32122c-20.26856,3.251-40.59131,7.00586-60.40381,11.16113-5.05811,1.05957-10.30567,2.19532-15.59668,3.37793-6.31885,1.40723-12.55371,2.85645-18.53223,4.30567q-3.873.917-7.59472,1.84863c-3.75831.92773-7.57178,1.89453-11.65967,2.957-4.56787,1.17774-9.209,2.41309-13.79737,3.67188a.44239.44239,0,0,1-.05127.01465l.00049.001c-5.18261,1.415-10.33789,2.8711-15.32324,4.3252-2.69824.77929-5.30371,1.54785-7.79932,2.30664-.2788.07715-.52587.15136-.77636.22754l-.53614.16308c-.31054.09473-.61718.1875-.92382.27539l-.01953.00586.00048.001-.81152.252c-.96777.293-1.91211.5791-2.84082.86426-24.54492,7.56641-38.03809,12.94922-38.17139,13.00195a1,1,0,1,1-.74414-1.85644c.13428-.05274,13.69336-5.46289,38.32764-13.05762.93213-.28613,1.87891-.57226,2.84961-.86621l.7539-.23438c.02588-.00976.05176-.01757.07813-.02539.30518-.08691.60986-.17968.91943-.27343l.53711-.16309c.26758-.08105.53125-.16113.80127-.23535,2.47852-.75391,5.09278-1.52441,7.79785-2.30664,4.98731-1.45508,10.14746-2.91113,15.334-4.32813.01611-.00586.03271-.00976.04883-.01464v-.001c4.60449-1.2627,9.26269-2.50293,13.84521-3.68457,4.09424-1.06348,7.915-2.03223,11.67969-2.96192q3.73755-.93017,7.60937-1.85253c5.98536-1.45118,12.23291-2.90235,18.563-4.3125,5.29932-1.1836,10.55567-2.32227,15.62207-3.38282,19.84326-4.16211,40.19776-7.92285,60.49707-11.17871C523.09591,182.415,756.46749,171.46282,1021.2463,255.2011a.99974.99974,0,0,1-.30078,1.95313Z",transform:"translate(-169.93432 -164.42601)",fill:"#ccc"}),y.createElement("path",{d:"M432.92309,584.266a6.72948,6.72948,0,0,0-1.7-2.67,6.42983,6.42983,0,0,0-.92-.71c-2.61-1.74-6.51-2.13-8.99,0a5.81012,5.81012,0,0,0-.69.71q-1.11,1.365-2.28,2.67c-1.28,1.46-2.59,2.87-3.96,4.24-.39.38-.78.77-1.18,1.15-.23.23-.46.45-.69.67-.88.84-1.78,1.65-2.69,2.45-.48.43-.96.85-1.45,1.26-.73.61-1.46,1.22-2.2,1.81-.07.05-.14.1-.21.16-.02.01-.03.03-.05.04-.01,0-.02,0-.03.02a.17861.17861,0,0,0-.07.05c-.22.15-.37.25-.48.34.04-.01995.08-.05.12-.07-.18.14-.37.28-.55.42-1.75,1.29-3.54,2.53-5.37,3.69a99.21022,99.21022,0,0,1-14.22,7.55c-.33.13-.67.27-1.01.4a85.96993,85.96993,0,0,1-40.85,6.02q-2.13008-.165-4.26-.45c-1.64-.24-3.27-.53-4.89-.86a97.93186,97.93186,0,0,1-18.02-5.44,118.65185,118.65185,0,0,1-20.66-12.12c-1-.71-2.01-1.42-3.02-2.11,1.15-2.82,2.28-5.64,3.38-8.48.55-1.37,1.08-2.74,1.6-4.12,4.09-10.63,7.93-21.36,11.61-32.13q5.58-16.365,10.53-32.92.51-1.68.99-3.36,2.595-8.745,4.98-17.53c.15-.56994.31-1.12994.45-1.7q.68994-2.52,1.35-5.04c1-3.79-1.26-8.32-5.24-9.23a7.63441,7.63441,0,0,0-9.22,5.24c-.43,1.62-.86,3.23-1.3,4.85q-3.165,11.74494-6.66,23.41-.51,1.68-1.02,3.36-7.71,25.41-16.93,50.31-1.11,3.015-2.25,6.01c-.37.98-.74,1.96-1.12,2.94-.73,1.93-1.48,3.86-2.23,5.79-.43006,1.13-.87006,2.26-1.31,3.38-.29.71-.57,1.42-.85,2.12a41.80941,41.80941,0,0,0-8.81-2.12l-.48-.06a27.397,27.397,0,0,0-7.01.06,23.91419,23.91419,0,0,0-17.24,10.66c-4.77,7.51-4.71,18.25,1.98,24.63,6.89,6.57,17.32,6.52,25.43,2.41a28.35124,28.35124,0,0,0,10.52-9.86,50.56939,50.56939,0,0,0,2.74-4.65c.21.14.42.28.63.43.8.56,1.6,1.13,2.39,1.69a111.73777,111.73777,0,0,0,14.51,8.91,108.35887,108.35887,0,0,0,34.62,10.47c.27.03.53.07.8.1,1.33.17,2.67.3,4.01.41a103.78229,103.78229,0,0,0,55.58-11.36q2.175-1.125,4.31-2.36,3.315-1.92,6.48-4.08c1.15-.78,2.27-1.57,3.38-2.4a101.04244,101.04244,0,0,0,13.51-11.95q2.35491-2.475,4.51-5.11005a8.0612,8.0612,0,0,0,2.2-5.3A7.5644,7.5644,0,0,0,432.92309,584.266Zm-165.59,23.82c.21-.15.42-.31.62-.47C267.89312,607.766,267.60308,607.936,267.33312,608.086Zm3.21-3.23c-.23.26-.44.52-.67.78a23.36609,23.36609,0,0,1-2.25,2.2c-.11.1-.23.2-.35.29a.00976.00976,0,0,0-.01.01,3.80417,3.80417,0,0,0-.42005.22q-.645.39-1.31994.72a17.00459,17.00459,0,0,1-2.71.75,16.79925,16.79925,0,0,1-2.13.02h-.02a14.82252,14.82252,0,0,1-1.45-.4c-.24-.12-.47-.25994-.7-.4-.09-.08-.17005-.16-.22-.21a2.44015,2.44015,0,0,1-.26995-.29.0098.0098,0,0,0-.01-.01c-.11005-.2-.23005-.4-.34-.6a.031.031,0,0,1-.01-.02c-.08-.25-.15-.51-.21-.77a12.51066,12.51066,0,0,1,.01-1.37,13.4675,13.4675,0,0,1,.54-1.88,11.06776,11.06776,0,0,1,.69-1.26c.02-.04.12-.2.23-.38.01-.01.01-.01.01-.02.15-.17.3-.35.46-.51.27-.3.56-.56.85-.83a18.02212,18.02212,0,0,1,1.75-1.01,19.48061,19.48061,0,0,1,2.93-.79,24.98945,24.98945,0,0,1,4.41.04,30.30134,30.30134,0,0,1,4.1,1.01,36.94452,36.94452,0,0,1-2.77,4.54C270.6231,604.746,270.58312,604.806,270.54308,604.856Zm-11.12-3.29a2.18029,2.18029,0,0,1-.31.38995A1.40868,1.40868,0,0,1,259.42309,601.566Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M402.86309,482.136q-.13494,4.71-.27,9.42-.285,10.455-.59,20.92-.315,11.775-.66,23.54-.165,6.07507-.34,12.15-.465,16.365-.92,32.72c-.03,1.13-.07,2.25-.1,3.38q-.225,8.11506-.45,16.23-.255,8.805-.5,17.61-.18,6.59994-.37,13.21-1.34994,47.895-2.7,95.79a7.64844,7.64844,0,0,1-7.5,7.5,7.56114,7.56114,0,0,1-7.5-7.5q.75-26.94,1.52-53.88.675-24.36,1.37-48.72.225-8.025.45-16.06.345-12.09.68-24.18c.03-1.13.07-2.25.1-3.38.02-.99.05-1.97.08-2.96q.66-23.475,1.32-46.96.27-9.24.52-18.49.3-10.545.6-21.08c.09-3.09.17005-6.17.26-9.26a7.64844,7.64844,0,0,1,7.5-7.5A7.56116,7.56116,0,0,1,402.86309,482.136Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M814.29118,484.2172a893.23753,893.23753,0,0,1-28.16112,87.94127c-3.007,7.94641-6.08319,15.877-9.3715,23.71185l.75606-1.7916a54.58274,54.58274,0,0,1-5.58953,10.61184q-.22935.32119-.46685.63642,1.16559-1.49043.4428-.589c-.25405.30065-.5049.60219-.7676.89546a23.66436,23.66436,0,0,1-2.2489,2.20318q-.30139.25767-.61188.5043l.93783-.729c-.10884.25668-.87275.59747-1.11067.74287a18.25362,18.25362,0,0,1-2.40479,1.21853l1.7916-.75606a19.0859,19.0859,0,0,1-4.23122,1.16069l1.9938-.26791a17.02055,17.02055,0,0,1-4.29785.046l1.99379.2679a14.0022,14.0022,0,0,1-3.40493-.917l1.79159.75606a12.01175,12.01175,0,0,1-1.67882-.89614c-.27135-.17688-1.10526-.80852-.01487.02461,1.13336.86595.14562.07434-.08763-.15584-.19427-.19171-.36962-.4-.55974-.595-.88208-.90454.99637,1.55662.39689.49858a18.18179,18.18179,0,0,1-.87827-1.63672l.75606,1.7916a11.92493,11.92493,0,0,1-.728-2.65143l.26791,1.9938a13.65147,13.65147,0,0,1-.00316-3.40491l-.2679,1.9938a15.96371,15.96371,0,0,1,.99486-3.68011l-.75606,1.7916a16.72914,16.72914,0,0,1,1.17794-2.29848,6.72934,6.72934,0,0,1,.72851-1.0714c.04915.01594-1.26865,1.51278-.56937.757.1829-.19767.354-.40592.539-.602.29617-.31382.61354-.60082.92561-.89791,1.04458-.99442-1.46188.966-.25652.17907a19.0489,19.0489,0,0,1,2.74925-1.49923l-1.79159.75606a20.31136,20.31136,0,0,1,4.99523-1.33984l-1.9938.2679a25.62828,25.62828,0,0,1,6.46062.07647l-1.9938-.2679a33.21056,33.21056,0,0,1,7.89178,2.2199l-1.7916-.75606c5.38965,2.31383,10.16308,5.74926,14.928,9.118a111.94962,111.94962,0,0,0,14.50615,8.9065,108.38849,108.38849,0,0,0,34.62226,10.47371,103.93268,103.93268,0,0,0,92.58557-36.75192,8.07773,8.07773,0,0,0,2.1967-5.3033,7.63232,7.63232,0,0,0-2.1967-5.3033c-2.75154-2.52586-7.94926-3.239-10.6066,0a95.63575,95.63575,0,0,1-8.10664,8.72692q-2.01736,1.914-4.14232,3.70983-1.21364,1.02588-2.46086,2.01121c-.3934.31081-1.61863,1.13807.26309-.19744-.43135.30614-.845.64036-1.27058.95478a99.26881,99.26881,0,0,1-20.33215,11.56478l1.79159-.75606a96.8364,96.8364,0,0,1-24.17119,6.62249l1.99379-.2679a97.64308,97.64308,0,0,1-25.75362-.03807l1.99379.2679a99.79982,99.79982,0,0,1-24.857-6.77027l1.7916.75607a116.02515,116.02515,0,0,1-21.7364-12.59112,86.87725,86.87725,0,0,0-11.113-6.99417,42.8238,42.8238,0,0,0-14.43784-4.38851c-9.43884-1.11076-19.0571,2.56562-24.24624,10.72035-4.77557,7.50482-4.71394,18.24362,1.97369,24.62519,6.8877,6.5725,17.31846,6.51693,25.43556,2.40567,7.81741-3.95946,12.51288-12.18539,15.815-19.94186,7.43109-17.45514,14.01023-35.31364,20.1399-53.263q9.09651-26.63712,16.49855-53.81332.91661-3.36581,1.80683-6.73869c1.001-3.78869-1.26094-8.32-5.23829-9.22589a7.63317,7.63317,0,0,0-9.22589,5.23829Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M889.12382,482.13557l-2.69954,95.79311-2.68548,95.29418-1.5185,53.88362a7.56465,7.56465,0,0,0,7.5,7.5,7.64923,7.64923,0,0,0,7.5-7.5l2.69955-95.79311,2.68548-95.29418,1.51849-53.88362a7.56465,7.56465,0,0,0-7.5-7.5,7.64923,7.64923,0,0,0-7.5,7.5Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M629.52566,700.36106h2.32885V594.31942h54.32863v-2.32291H631.85451V547.25214H673.8102q-.92256-1.17339-1.89893-2.31694H631.85451V515.38231c-.7703-.32846-1.54659-.64493-2.32885-.9435V544.9352h-45.652V507.07c-.78227.03583-1.55258.08959-2.3289.15527v37.71h-36.4201V516.68409c-.78227.34636-1.55258.71061-2.31694,1.0928V544.9352h-30.6158v2.31694h30.6158v44.74437h-30.6158v2.32291h30.6158V700.36106h2.31694V594.31942a36.41283,36.41283,0,0,1,36.4201,36.42007v69.62157h2.3289V594.31942h45.652Zm-84.401-108.36455V547.25214h36.4201v44.74437Zm38.749,0V547.25214h.91362a44.74135,44.74135,0,0,1,44.73842,44.74437Z",transform:"translate(-169.93432 -164.42601)",opacity:.2}),y.createElement("path",{d:"M615.30309,668.566a63.05854,63.05854,0,0,1-20.05,33.7c-.74.64-1.48,1.26-2.25,1.87q-2.805.25506-5.57.52c-1.53.14-3.04.29-4.54.43l-.27.03-.19-1.64-.76-6.64a37.623,37.623,0,0,1-3.3-32.44c2.64-7.12,7.42-13.41,12.12-19.65,6.49-8.62,12.8-17.14,13.03-27.65a60.54415,60.54415,0,0,1,7.9,13.33,16.432,16.432,0,0,0-5.12,3.76995c-.41.45-.82,1.08-.54,1.62006.24.46.84.57,1.36.62994,1.25.13,2.51.26,3.76.39,1,.11,2,.21,3,.32a63.99025,63.99025,0,0,1,2.45,12.18A61.18851,61.18851,0,0,1,615.30309,668.566Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M648.50311,642.356c-5.9,4.29-9.35,10.46-12.03,17.26a16.62776,16.62776,0,0,0-7.17,4.58c-.41.45-.82,1.08-.54,1.62006.24.46.84.57,1.36.62994,1.25.13,2.51.26,3.76.39-2.68,8.04-5.14,16.36-9.88,23.15a36.98942,36.98942,0,0,1-12.03,10.91,38.49166,38.49166,0,0,1-4.02,1.99q-7.62.585-14.95,1.25-2.805.25506-5.57.52c-1.53.14-3.04.29-4.54.43q-.015-.825,0-1.65a63.30382,63.30382,0,0,1,15.25-39.86c.45-.52.91-1.03,1.38-1.54a61.7925,61.7925,0,0,1,16.81-12.7A62.65425,62.65425,0,0,1,648.50311,642.356Z",transform:"translate(-169.93432 -164.42601)",fill:"#6c63ff"}),y.createElement("path",{d:"M589.16308,699.526l-1.15,3.4-.58,1.73c-1.53.14-3.04.29-4.54.43l-.27.03c-1.66.17-3.31.34-4.96.51-.43-.5-.86-1.01-1.28-1.53a62.03045,62.03045,0,0,1,8.07-87.11c-1.32,6.91.22,13.53,2.75,20.1-.27.11-.53.22-.78.34a16.432,16.432,0,0,0-5.12,3.76995c-.41.45-.82,1.08-.54,1.62006.24.46.84.57,1.36.62994,1.25.13,2.51.26,3.76.39,1,.11,2,.21,3,.32q.705.075,1.41.15c.07.15.13.29.2.44,2.85,6.18,5.92,12.39,7.65,18.83a43.66591,43.66591,0,0,1,1.02,4.91A37.604,37.604,0,0,1,589.16308,699.526Z",transform:"translate(-169.93432 -164.42601)",fill:"#6c63ff"}),y.createElement("path",{d:"M689.82123,554.48655c-8.60876-16.79219-21.94605-30.92088-37.63219-41.30357a114.2374,114.2374,0,0,0-52.5626-18.37992q-3.69043-.33535-7.399-.39281c-2.92141-.04371-46.866,12.63176-61.58712,22.98214a114.29462,114.29462,0,0,0-35.333,39.527,102.49972,102.49972,0,0,0-12.12557,51.6334,113.56387,113.56387,0,0,0,14.70268,51.47577,110.47507,110.47507,0,0,0,36.44425,38.74592C549.66655,708.561,565.07375,734.51,583.1831,735.426c18.24576.923,39.05418-23.55495,55.6951-30.98707a104.42533,104.42533,0,0,0,41.72554-34.005,110.24964,110.24964,0,0,0,19.599-48.94777c2.57368-18.08313,1.37415-36.73271-4.80123-54.01627a111.85969,111.85969,0,0,0-5.58024-12.9833c-1.77961-3.50519-6.996-4.7959-10.26142-2.69063a7.67979,7.67979,0,0,0-2.69064,10.26142q1.56766,3.08773,2.91536,6.27758l-.75606-1.7916a101.15088,101.15088,0,0,1,6.87641,25.53816l-.26791-1.99379a109.2286,109.2286,0,0,1-.06613,28.68252l.26791-1.9938a109.73379,109.73379,0,0,1-7.55462,27.67419l.75606-1.79159a104.212,104.212,0,0,1-6.67151,13.09835q-1.92308,3.18563-4.08062,6.22159c-.63172.8881-1.28287,1.761-1.939,2.63114-.85625,1.13555,1.16691-1.48321.28228-.36941-.15068.18972-.30049.3801-.45182.5693q-.68121.85165-1.3818,1.68765a93.61337,93.61337,0,0,1-10.17647,10.38359q-1.36615,1.19232-2.77786,2.33115c-.46871.37832-.932.77269-1.42079,1.12472.01861-.0134,1.57956-1.19945.65556-.511-.2905.21644-.57851.43619-.86961.65184q-2.90994,2.1558-5.97433,4.092a103.48509,103.48509,0,0,1-14.75565,7.7131l1.7916-.75606a109.21493,109.21493,0,0,1-27.59663,7.55154l1.9938-.26791a108.15361,108.15361,0,0,1-28.58907.0506l1.99379.2679a99.835,99.835,0,0,1-25.09531-6.78448l1.79159.75607a93.64314,93.64314,0,0,1-13.41605-6.99094q-3.17437-2-6.18358-4.24743c-.2862-.21359-.56992-.43038-.855-.64549-.9155-.69088.65765.50965.67021.51787a19.16864,19.16864,0,0,1-1.535-1.22469q-1.45353-1.18358-2.86136-2.4218a101.98931,101.98931,0,0,1-10.49319-10.70945q-1.21308-1.43379-2.37407-2.91054c-.33524-.4263-.9465-1.29026.40424.5289-.17775-.23939-.36206-.47414-.54159-.71223q-.64657-.85751-1.27568-1.72793-2.203-3.048-4.18787-6.24586a109.29037,109.29037,0,0,1-7.8054-15.10831l.75606,1.7916a106.58753,106.58753,0,0,1-7.34039-26.837l.26791,1.9938a97.86589,97.86589,0,0,1-.04843-25.63587l-.2679,1.9938A94.673,94.673,0,0,1,505.27587,570.55l-.75606,1.7916a101.55725,101.55725,0,0,1,7.19519-13.85624q2.0655-3.32328,4.37767-6.4847.52528-.71832,1.06244-1.42786c.324-.4279,1.215-1.49333-.30537.38842.14906-.18449.29252-.37428.43942-.56041q1.26882-1.60756,2.59959-3.1649A107.40164,107.40164,0,0,1,530.772,536.21508q1.47408-1.29171,2.99464-2.52906.6909-.56218,1.39108-1.11284c.18664-.14673.37574-.29073.56152-.43858-1.99743,1.58953-.555.43261-.10157.09288q3.13393-2.34833,6.43534-4.46134a103.64393,103.64393,0,0,1,15.38655-8.10791l-1.7916.75606c7.76008-3.25839,42.14086-10.9492,48.394-10.10973l-1.99379-.26791A106.22471,106.22471,0,0,1,628.768,517.419l-1.7916-.75606a110.31334,110.31334,0,0,1,12.6002,6.32922q3.04344,1.78405,5.96742,3.76252,1.38351.93658,2.73809,1.915.677.48917,1.34626.98885c.24789.185.49386.37253.74135.558,1.03924.779-1.43148-1.1281-.34209-.26655a110.84261,110.84261,0,0,1,10.36783,9.2532q2.401,2.445,4.63686,5.04515,1.14659,1.33419,2.24643,2.70757c.36436.45495,1.60506,2.101.08448.08457.37165.49285.74744.98239,1.11436,1.47884a97.97718,97.97718,0,0,1,8.39161,13.53807c1.79317,3.49775,6.98675,4.80186,10.26142,2.69064A7.67666,7.67666,0,0,0,689.82123,554.48655Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M602.43116,676.88167a3.77983,3.77983,0,0,1-2.73939-6.55137c.09531-.37882.16368-.65085.259-1.02968q-.05115-.12366-.1029-.24717c-3.47987-8.29769-25.685,14.83336-26.645,22.63179a30.029,30.029,0,0,0,.52714,10.32752A120.39223,120.39223,0,0,1,562.77838,652.01a116.20247,116.20247,0,0,1,.72078-12.96332q.59712-5.293,1.65679-10.51055a121.78667,121.78667,0,0,1,24.1515-51.61646c6.87378.38364,12.898-.66348,13.47967-13.98532.10346-2.36972,1.86113-4.42156,2.24841-6.756-.65621.08607-1.32321.13985-1.97941.18285-.20444.0107-.41958.02149-.624.03228l-.07709.00346a3.745,3.745,0,0,1-3.07566-6.10115q.425-.52305.85054-1.04557c.43036-.53793.87143-1.06507,1.30171-1.60292a1.865,1.865,0,0,0,.13986-.16144c.49494-.61322.98971-1.21564,1.48465-1.82885a10.82911,10.82911,0,0,0-3.55014-3.43169c-4.95941-2.90463-11.80146-.89293-15.38389,3.59313-3.59313,4.486-4.27083,10.77947-3.023,16.3843a43.39764,43.39764,0,0,0,6.003,13.3828c-.269.34429-.54872.67779-.81765,1.02209a122.57366,122.57366,0,0,0-12.79359,20.2681c1.0163-7.93863-11.41159-36.60795-16.21776-42.68052-5.773-7.29409-17.61108-4.11077-18.62815,5.13562q-.01476.13428-.02884.26849,1.07082.60411,2.0964,1.28237a5.12707,5.12707,0,0,1-2.06713,9.33031l-.10452.01613c-9.55573,13.64367,21.07745,49.1547,28.74518,41.18139a125.11045,125.11045,0,0,0-6.73449,31.69282,118.66429,118.66429,0,0,0,.08607,19.15986l-.03231-.22593C558.90163,648.154,529.674,627.51374,521.139,629.233c-4.91675.99041-9.75952.76525-9.01293,5.72484q.01788.11874.03635.2375a34.4418,34.4418,0,0,1,3.862,1.86105q1.07082.60423,2.09639,1.28237a5.12712,5.12712,0,0,1-2.06712,9.33039l-.10464.01606c-.07528.01079-.13987.02157-.21507.03237-4.34967,14.96631,27.90735,39.12,47.5177,31.43461h.01081a125.07484,125.07484,0,0,0,8.402,24.52806H601.679c.10765-.3335.20443-.67779.3013-1.01129a34.102,34.102,0,0,1-8.30521-.49477c2.22693-2.73257,4.45377-5.48664,6.6807-8.21913a1.86122,1.86122,0,0,0,.13986-.16135c1.12956-1.39849,2.26992-2.78627,3.39948-4.18476l.00061-.00173a49.95232,49.95232,0,0,0-1.46367-12.72495Zm-34.37066-67.613.0158-.02133-.0158.04282Zm-6.64832,59.93237-.25822-.58084c.01079-.41957.01079-.83914,0-1.26942,0-.11845-.0215-.23672-.0215-.35508.09678.74228.18285,1.48464.29042,2.22692Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("circle",{cx:95.24878,cy:439,r:11,fill:"#3f3d56"}),y.createElement("circle",{cx:227.24878,cy:559,r:11,fill:"#3f3d56"}),y.createElement("circle",{cx:728.24878,cy:559,r:11,fill:"#3f3d56"}),y.createElement("circle",{cx:755.24878,cy:419,r:11,fill:"#3f3d56"}),y.createElement("circle",{cx:723.24878,cy:317,r:11,fill:"#3f3d56"}),y.createElement("path",{d:"M434.1831,583.426a10.949,10.949,0,1,1-.21-2.16A10.9921,10.9921,0,0,1,434.1831,583.426Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("circle",{cx:484.24878,cy:349,r:11,fill:"#3f3d56"}),y.createElement("path",{d:"M545.1831,513.426a10.949,10.949,0,1,1-.21-2.16A10.9921,10.9921,0,0,1,545.1831,513.426Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M403.1831,481.426a10.949,10.949,0,1,1-.21-2.16A10.9921,10.9921,0,0,1,403.1831,481.426Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("circle",{cx:599.24878,cy:443,r:11,fill:"#3f3d56"}),y.createElement("circle",{cx:426.24878,cy:338,r:16,fill:"#3f3d56"}),y.createElement("path",{d:"M1028.875,735.26666l-857.75.30733a1.19068,1.19068,0,1,1,0-2.38136l857.75-.30734a1.19069,1.19069,0,0,1,0,2.38137Z",transform:"translate(-169.93432 -164.42601)",fill:"#cacaca"})),$M=y.forwardRef(XM),e2=()=>W.jsx("div",{className:"not-found",children:W.jsx($M,{})}),JM=()=>{const{path:a}=o8(),i=fl();return y.useEffect(()=>{const n=decodeURIComponent(a);i(n)},[a,i]),W.jsx(im,{})};/*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE */const{entries:Q8,setPrototypeOf:I7,isFrozen:eO,getPrototypeOf:tO,getOwnPropertyDescriptor:nO}=Object;let{freeze:Zn,seal:Lr,create:K8}=Object,{apply:B2,construct:I2}=typeof Reflect<"u"&&Reflect;Zn||(Zn=function(i){return i});Lr||(Lr=function(i){return i});B2||(B2=function(i,n,t){return i.apply(n,t)});I2||(I2=function(i,n){return new i(...n)});const sc=Vn(Array.prototype.forEach),rO=Vn(Array.prototype.lastIndexOf),F7=Vn(Array.prototype.pop),_s=Vn(Array.prototype.push),aO=Vn(Array.prototype.splice),yc=Vn(String.prototype.toLowerCase),t2=Vn(String.prototype.toString),G7=Vn(String.prototype.match),Ss=Vn(String.prototype.replace),iO=Vn(String.prototype.indexOf),lO=Vn(String.prototype.trim),Gr=Vn(Object.prototype.hasOwnProperty),Bn=Vn(RegExp.prototype.test),Es=oO(TypeError);function Vn(a){return function(i){i instanceof RegExp&&(i.lastIndex=0);for(var n=arguments.length,t=new Array(n>1?n-1:0),l=1;l<n;l++)t[l-1]=arguments[l];return B2(a,i,t)}}function oO(a){return function(){for(var i=arguments.length,n=new Array(i),t=0;t<i;t++)n[t]=arguments[t];return I2(a,n)}}function Xe(a,i){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:yc;I7&&I7(a,null);let t=i.length;for(;t--;){let l=i[t];if(typeof l=="string"){const s=n(l);s!==l&&(eO(i)||(i[t]=s),l=s)}a[l]=!0}return a}function sO(a){for(let i=0;i<a.length;i++)Gr(a,i)||(a[i]=null);return a}function Ji(a){const i=K8(null);for(const[n,t]of Q8(a))Gr(a,n)&&(Array.isArray(t)?i[n]=sO(t):t&&typeof t=="object"&&t.constructor===Object?i[n]=Ji(t):i[n]=t);return i}function ws(a,i){for(;a!==null;){const t=nO(a,i);if(t){if(t.get)return Vn(t.get);if(typeof t.value=="function")return Vn(t.value)}a=tO(a)}function n(){return null}return n}const Z7=Zn(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),n2=Zn(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),r2=Zn(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),uO=Zn(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),a2=Zn(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),cO=Zn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),V7=Zn(["#text"]),W7=Zn(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),i2=Zn(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Q7=Zn(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),uc=Zn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),fO=Lr(/\{\{[\w\W]*|[\w\W]*\}\}/gm),dO=Lr(/<%[\w\W]*|[\w\W]*%>/gm),hO=Lr(/\$\{[\w\W]*/gm),pO=Lr(/^data-[\-\w.\u00B7-\uFFFF]+$/),mO=Lr(/^aria-[\-\w]+$/),X8=Lr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),vO=Lr(/^(?:\w+script|data):/i),gO=Lr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$8=Lr(/^html$/i),yO=Lr(/^[a-z][.\w]*(-[.\w]+)+$/i);var K7=Object.freeze({__proto__:null,ARIA_ATTR:mO,ATTR_WHITESPACE:gO,CUSTOM_ELEMENT:yO,DATA_ATTR:pO,DOCTYPE_NAME:$8,ERB_EXPR:dO,IS_ALLOWED_URI:X8,IS_SCRIPT_OR_DATA:vO,MUSTACHE_EXPR:fO,TMPLIT_EXPR:hO});const Ds={element:1,text:3,progressingInstruction:7,comment:8,document:9},bO=function(){return typeof window>"u"?null:window},_O=function(i,n){if(typeof i!="object"||typeof i.createPolicy!="function")return null;let t=null;const l="data-tt-policy-suffix";n&&n.hasAttribute(l)&&(t=n.getAttribute(l));const s="dompurify"+(t?"#"+t:"");try{return i.createPolicy(s,{createHTML(c){return c},createScriptURL(c){return c}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},X7=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function J8(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bO();const i=Ee=>J8(Ee);if(i.version="3.2.5",i.removed=[],!a||!a.document||a.document.nodeType!==Ds.document||!a.Element)return i.isSupported=!1,i;let{document:n}=a;const t=n,l=t.currentScript,{DocumentFragment:s,HTMLTemplateElement:c,Node:d,Element:h,NodeFilter:m,NamedNodeMap:v=a.NamedNodeMap||a.MozNamedAttrMap,HTMLFormElement:g,DOMParser:S,trustedTypes:w}=a,M=h.prototype,R=ws(M,"cloneNode"),C=ws(M,"remove"),H=ws(M,"nextSibling"),O=ws(M,"childNodes"),Y=ws(M,"parentNode");if(typeof c=="function"){const Ee=n.createElement("template");Ee.content&&Ee.content.ownerDocument&&(n=Ee.content.ownerDocument)}let K,X="";const{implementation:re,createNodeIterator:V,createDocumentFragment:_,getElementsByTagName:E}=n,{importNode:D}=t;let q=X7();i.isSupported=typeof Q8=="function"&&typeof Y=="function"&&re&&re.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:k,ERB_EXPR:z,TMPLIT_EXPR:B,DATA_ATTR:U,ARIA_ATTR:T,IS_SCRIPT_OR_DATA:N,ATTR_WHITESPACE:L,CUSTOM_ELEMENT:$}=K7;let{IS_ALLOWED_URI:A}=K7,j=null;const oe=Xe({},[...Z7,...n2,...r2,...a2,...V7]);let ae=null;const he=Xe({},[...W7,...i2,...Q7,...uc]);let fe=Object.seal(K8(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),me=null,ze=null,Re=!0,qt=!0,Ut=!1,mt=!0,Ht=!1,lt=!0,nt=!1,Ue=!1,Rn=!1,xt=!1,Nn=!1,Je=!1,Wn=!0,zn=!1;const qe="user-content-";let ge=!0,He=!1,Ae={},Ze=null;const ot=Xe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Rt=null;const Mt=Xe({},["audio","video","img","source","image","track"]);let vr=null;const En=Xe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),kn="http://www.w3.org/1998/Math/MathML",Ft="http://www.w3.org/2000/svg",We="http://www.w3.org/1999/xhtml";let Pt=We,ln=!1,vn=null;const qr=Xe({},[kn,Ft,We],t2);let Ln=Xe({},["mi","mo","mn","ms","mtext"]),qn=Xe({},["annotation-xml"]);const wn=Xe({},["title","style","font","a","script"]);let rt=null;const Qn=["application/xhtml+xml","text/html"],Ot="text/html";let $e=null,Te=null;const Ye=n.createElement("form"),Jt=function(F){return F instanceof RegExp||F instanceof Function},vt=function(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Te&&Te===F)){if((!F||typeof F!="object")&&(F={}),F=Ji(F),rt=Qn.indexOf(F.PARSER_MEDIA_TYPE)===-1?Ot:F.PARSER_MEDIA_TYPE,$e=rt==="application/xhtml+xml"?t2:yc,j=Gr(F,"ALLOWED_TAGS")?Xe({},F.ALLOWED_TAGS,$e):oe,ae=Gr(F,"ALLOWED_ATTR")?Xe({},F.ALLOWED_ATTR,$e):he,vn=Gr(F,"ALLOWED_NAMESPACES")?Xe({},F.ALLOWED_NAMESPACES,t2):qr,vr=Gr(F,"ADD_URI_SAFE_ATTR")?Xe(Ji(En),F.ADD_URI_SAFE_ATTR,$e):En,Rt=Gr(F,"ADD_DATA_URI_TAGS")?Xe(Ji(Mt),F.ADD_DATA_URI_TAGS,$e):Mt,Ze=Gr(F,"FORBID_CONTENTS")?Xe({},F.FORBID_CONTENTS,$e):ot,me=Gr(F,"FORBID_TAGS")?Xe({},F.FORBID_TAGS,$e):{},ze=Gr(F,"FORBID_ATTR")?Xe({},F.FORBID_ATTR,$e):{},Ae=Gr(F,"USE_PROFILES")?F.USE_PROFILES:!1,Re=F.ALLOW_ARIA_ATTR!==!1,qt=F.ALLOW_DATA_ATTR!==!1,Ut=F.ALLOW_UNKNOWN_PROTOCOLS||!1,mt=F.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ht=F.SAFE_FOR_TEMPLATES||!1,lt=F.SAFE_FOR_XML!==!1,nt=F.WHOLE_DOCUMENT||!1,xt=F.RETURN_DOM||!1,Nn=F.RETURN_DOM_FRAGMENT||!1,Je=F.RETURN_TRUSTED_TYPE||!1,Rn=F.FORCE_BODY||!1,Wn=F.SANITIZE_DOM!==!1,zn=F.SANITIZE_NAMED_PROPS||!1,ge=F.KEEP_CONTENT!==!1,He=F.IN_PLACE||!1,A=F.ALLOWED_URI_REGEXP||X8,Pt=F.NAMESPACE||We,Ln=F.MATHML_TEXT_INTEGRATION_POINTS||Ln,qn=F.HTML_INTEGRATION_POINTS||qn,fe=F.CUSTOM_ELEMENT_HANDLING||{},F.CUSTOM_ELEMENT_HANDLING&&Jt(F.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(fe.tagNameCheck=F.CUSTOM_ELEMENT_HANDLING.tagNameCheck),F.CUSTOM_ELEMENT_HANDLING&&Jt(F.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(fe.attributeNameCheck=F.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),F.CUSTOM_ELEMENT_HANDLING&&typeof F.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(fe.allowCustomizedBuiltInElements=F.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ht&&(qt=!1),Nn&&(xt=!0),Ae&&(j=Xe({},V7),ae=[],Ae.html===!0&&(Xe(j,Z7),Xe(ae,W7)),Ae.svg===!0&&(Xe(j,n2),Xe(ae,i2),Xe(ae,uc)),Ae.svgFilters===!0&&(Xe(j,r2),Xe(ae,i2),Xe(ae,uc)),Ae.mathMl===!0&&(Xe(j,a2),Xe(ae,Q7),Xe(ae,uc))),F.ADD_TAGS&&(j===oe&&(j=Ji(j)),Xe(j,F.ADD_TAGS,$e)),F.ADD_ATTR&&(ae===he&&(ae=Ji(ae)),Xe(ae,F.ADD_ATTR,$e)),F.ADD_URI_SAFE_ATTR&&Xe(vr,F.ADD_URI_SAFE_ATTR,$e),F.FORBID_CONTENTS&&(Ze===ot&&(Ze=Ji(Ze)),Xe(Ze,F.FORBID_CONTENTS,$e)),ge&&(j["#text"]=!0),nt&&Xe(j,["html","head","body"]),j.table&&(Xe(j,["tbody"]),delete me.tbody),F.TRUSTED_TYPES_POLICY){if(typeof F.TRUSTED_TYPES_POLICY.createHTML!="function")throw Es('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof F.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Es('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');K=F.TRUSTED_TYPES_POLICY,X=K.createHTML("")}else K===void 0&&(K=_O(w,l)),K!==null&&typeof X=="string"&&(X=K.createHTML(""));Zn&&Zn(F),Te=F}},pe=Xe({},[...n2,...r2,...uO]),ye=Xe({},[...a2,...cO]),we=function(F){let ue=Y(F);(!ue||!ue.tagName)&&(ue={namespaceURI:Pt,tagName:"template"});const ce=yc(F.tagName),Ie=yc(ue.tagName);return vn[F.namespaceURI]?F.namespaceURI===Ft?ue.namespaceURI===We?ce==="svg":ue.namespaceURI===kn?ce==="svg"&&(Ie==="annotation-xml"||Ln[Ie]):!!pe[ce]:F.namespaceURI===kn?ue.namespaceURI===We?ce==="math":ue.namespaceURI===Ft?ce==="math"&&qn[Ie]:!!ye[ce]:F.namespaceURI===We?ue.namespaceURI===Ft&&!qn[Ie]||ue.namespaceURI===kn&&!Ln[Ie]?!1:!ye[ce]&&(wn[ce]||!pe[ce]):!!(rt==="application/xhtml+xml"&&vn[F.namespaceURI]):!1},Be=function(F){_s(i.removed,{element:F});try{Y(F).removeChild(F)}catch{C(F)}},At=function(F,ue){try{_s(i.removed,{attribute:ue.getAttributeNode(F),from:ue})}catch{_s(i.removed,{attribute:null,from:ue})}if(ue.removeAttribute(F),F==="is")if(xt||Nn)try{Be(ue)}catch{}else try{ue.setAttribute(F,"")}catch{}},Dn=function(F){let ue=null,ce=null;if(Rn)F="<remove></remove>"+F;else{const ht=G7(F,/^[\r\n\t ]+/);ce=ht&&ht[0]}rt==="application/xhtml+xml"&&Pt===We&&(F='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+F+"</body></html>");const Ie=K?K.createHTML(F):F;if(Pt===We)try{ue=new S().parseFromString(Ie,rt)}catch{}if(!ue||!ue.documentElement){ue=re.createDocument(Pt,"template",null);try{ue.documentElement.innerHTML=ln?X:Ie}catch{}}const dt=ue.body||ue.documentElement;return F&&ce&&dt.insertBefore(n.createTextNode(ce),dt.childNodes[0]||null),Pt===We?E.call(ue,nt?"html":"body")[0]:nt?ue.documentElement:dt},gn=function(F){return V.call(F.ownerDocument||F,F,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT|m.SHOW_PROCESSING_INSTRUCTION|m.SHOW_CDATA_SECTION,null)},zt=function(F){return F instanceof g&&(typeof F.nodeName!="string"||typeof F.textContent!="string"||typeof F.removeChild!="function"||!(F.attributes instanceof v)||typeof F.removeAttribute!="function"||typeof F.setAttribute!="function"||typeof F.namespaceURI!="string"||typeof F.insertBefore!="function"||typeof F.hasChildNodes!="function")},Yt=function(F){return typeof d=="function"&&F instanceof d};function Me(Ee,F,ue){sc(Ee,ce=>{ce.call(i,F,ue,Te)})}const dn=function(F){let ue=null;if(Me(q.beforeSanitizeElements,F,null),zt(F))return Be(F),!0;const ce=$e(F.nodeName);if(Me(q.uponSanitizeElement,F,{tagName:ce,allowedTags:j}),F.hasChildNodes()&&!Yt(F.firstElementChild)&&Bn(/<[/\w!]/g,F.innerHTML)&&Bn(/<[/\w!]/g,F.textContent)||F.nodeType===Ds.progressingInstruction||lt&&F.nodeType===Ds.comment&&Bn(/<[/\w]/g,F.data))return Be(F),!0;if(!j[ce]||me[ce]){if(!me[ce]&&tr(ce)&&(fe.tagNameCheck instanceof RegExp&&Bn(fe.tagNameCheck,ce)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(ce)))return!1;if(ge&&!Ze[ce]){const Ie=Y(F)||F.parentNode,dt=O(F)||F.childNodes;if(dt&&Ie){const ht=dt.length;for(let Nt=ht-1;Nt>=0;--Nt){const Gt=R(dt[Nt],!0);Gt.__removalCount=(F.__removalCount||0)+1,Ie.insertBefore(Gt,H(F))}}}return Be(F),!0}return F instanceof h&&!we(F)||(ce==="noscript"||ce==="noembed"||ce==="noframes")&&Bn(/<\/no(script|embed|frames)/i,F.innerHTML)?(Be(F),!0):(Ht&&F.nodeType===Ds.text&&(ue=F.textContent,sc([k,z,B],Ie=>{ue=Ss(ue,Ie," ")}),F.textContent!==ue&&(_s(i.removed,{element:F.cloneNode()}),F.textContent=ue)),Me(q.afterSanitizeElements,F,null),!1)},gt=function(F,ue,ce){if(Wn&&(ue==="id"||ue==="name")&&(ce in n||ce in Ye))return!1;if(!(qt&&!ze[ue]&&Bn(U,ue))){if(!(Re&&Bn(T,ue))){if(!ae[ue]||ze[ue]){if(!(tr(F)&&(fe.tagNameCheck instanceof RegExp&&Bn(fe.tagNameCheck,F)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(F))&&(fe.attributeNameCheck instanceof RegExp&&Bn(fe.attributeNameCheck,ue)||fe.attributeNameCheck instanceof Function&&fe.attributeNameCheck(ue))||ue==="is"&&fe.allowCustomizedBuiltInElements&&(fe.tagNameCheck instanceof RegExp&&Bn(fe.tagNameCheck,ce)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(ce))))return!1}else if(!vr[ue]){if(!Bn(A,Ss(ce,L,""))){if(!((ue==="src"||ue==="xlink:href"||ue==="href")&&F!=="script"&&iO(ce,"data:")===0&&Rt[F])){if(!(Ut&&!Bn(N,Ss(ce,L,"")))){if(ce)return!1}}}}}}return!0},tr=function(F){return F!=="annotation-xml"&&G7(F,$)},et=function(F){Me(q.beforeSanitizeAttributes,F,null);const{attributes:ue}=F;if(!ue||zt(F))return;const ce={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ae,forceKeepAttr:void 0};let Ie=ue.length;for(;Ie--;){const dt=ue[Ie],{name:ht,namespaceURI:Nt,value:Gt}=dt,Kn=$e(ht);let st=ht==="value"?Gt:lO(Gt);if(ce.attrName=Kn,ce.attrValue=st,ce.keepAttr=!0,ce.forceKeepAttr=void 0,Me(q.uponSanitizeAttribute,F,ce),st=ce.attrValue,zn&&(Kn==="id"||Kn==="name")&&(At(ht,F),st=qe+st),lt&&Bn(/((--!?|])>)|<\/(style|title)/i,st)){At(ht,F);continue}if(ce.forceKeepAttr||(At(ht,F),!ce.keepAttr))continue;if(!mt&&Bn(/\/>/i,st)){At(ht,F);continue}Ht&&sc([k,z,B],$r=>{st=Ss(st,$r," ")});const Ur=$e(F.nodeName);if(gt(Ur,Kn,st)){if(K&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!Nt)switch(w.getAttributeType(Ur,Kn)){case"TrustedHTML":{st=K.createHTML(st);break}case"TrustedScriptURL":{st=K.createScriptURL(st);break}}try{Nt?F.setAttributeNS(Nt,ht,st):F.setAttribute(ht,st),zt(F)?Be(F):F7(i.removed)}catch{}}}Me(q.afterSanitizeAttributes,F,null)},yt=function Ee(F){let ue=null;const ce=gn(F);for(Me(q.beforeSanitizeShadowDOM,F,null);ue=ce.nextNode();)Me(q.uponSanitizeShadowNode,ue,null),dn(ue),et(ue),ue.content instanceof s&&Ee(ue.content);Me(q.afterSanitizeShadowDOM,F,null)};return i.sanitize=function(Ee){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ue=null,ce=null,Ie=null,dt=null;if(ln=!Ee,ln&&(Ee="<!-->"),typeof Ee!="string"&&!Yt(Ee))if(typeof Ee.toString=="function"){if(Ee=Ee.toString(),typeof Ee!="string")throw Es("dirty is not a string, aborting")}else throw Es("toString is not a function");if(!i.isSupported)return Ee;if(Ue||vt(F),i.removed=[],typeof Ee=="string"&&(He=!1),He){if(Ee.nodeName){const Gt=$e(Ee.nodeName);if(!j[Gt]||me[Gt])throw Es("root node is forbidden and cannot be sanitized in-place")}}else if(Ee instanceof d)ue=Dn("<!---->"),ce=ue.ownerDocument.importNode(Ee,!0),ce.nodeType===Ds.element&&ce.nodeName==="BODY"||ce.nodeName==="HTML"?ue=ce:ue.appendChild(ce);else{if(!xt&&!Ht&&!nt&&Ee.indexOf("<")===-1)return K&&Je?K.createHTML(Ee):Ee;if(ue=Dn(Ee),!ue)return xt?null:Je?X:""}ue&&Rn&&Be(ue.firstChild);const ht=gn(He?Ee:ue);for(;Ie=ht.nextNode();)dn(Ie),et(Ie),Ie.content instanceof s&&yt(Ie.content);if(He)return Ee;if(xt){if(Nn)for(dt=_.call(ue.ownerDocument);ue.firstChild;)dt.appendChild(ue.firstChild);else dt=ue;return(ae.shadowroot||ae.shadowrootmode)&&(dt=D.call(t,dt,!0)),dt}let Nt=nt?ue.outerHTML:ue.innerHTML;return nt&&j["!doctype"]&&ue.ownerDocument&&ue.ownerDocument.doctype&&ue.ownerDocument.doctype.name&&Bn($8,ue.ownerDocument.doctype.name)&&(Nt="<!DOCTYPE "+ue.ownerDocument.doctype.name+`>
`+Nt),Ht&&sc([k,z,B],Gt=>{Nt=Ss(Nt,Gt," ")}),K&&Je?K.createHTML(Nt):Nt},i.setConfig=function(){let Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};vt(Ee),Ue=!0},i.clearConfig=function(){Te=null,Ue=!1},i.isValidAttribute=function(Ee,F,ue){Te||vt({});const ce=$e(Ee),Ie=$e(F);return gt(ce,Ie,ue)},i.addHook=function(Ee,F){typeof F=="function"&&_s(q[Ee],F)},i.removeHook=function(Ee,F){if(F!==void 0){const ue=rO(q[Ee],F);return ue===-1?void 0:aO(q[Ee],ue,1)[0]}return F7(q[Ee])},i.removeHooks=function(Ee){q[Ee]=[]},i.removeAllHooks=function(){q=X7()},i}var xi=J8();const SO=({title:a,titleId:i,...n},t)=>y.createElement("svg",{height:"300px",width:"300px",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 100 100",enableBackground:"new 0 0 100 100",xmlSpace:"preserve",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("path",{d:"M66.55,46.015c5.367,0,9.733-4.367,9.733-9.734s-4.366-9.734-9.733-9.734s-9.733,4.367-9.733,9.734  S61.183,46.015,66.55,46.015z M66.55,29.548c3.713,0,6.733,3.021,6.733,6.734s-3.021,6.734-6.733,6.734s-6.733-3.021-6.733-6.734  S62.837,29.548,66.55,29.548z M23.698,30.048c0-4.222,3.422-7.644,7.645-7.644c4.223,0,7.645,3.422,7.645,7.644  c0,4.222-3.422,7.645-7.645,7.645C27.121,37.692,23.698,34.27,23.698,30.048z M96.021,64.201H83.41v21.783h-3V61.749  c0-6.025-4.902-10.928-10.928-10.928h-3.865c-6.025,0-10.928,4.902-10.928,10.928v24.235h-3V64.201H6.021v-3h12.918v-9.557  c0-6.373,5.166-11.539,11.538-11.539h1.731c6.372,0,11.539,5.166,11.539,11.539v9.557h7.97c0.291-7.425,6.405-13.38,13.9-13.38  h3.865c7.495,0,13.609,5.955,13.9,13.38h12.639V64.201z"})),EO=y.forwardRef(SO),wO="/assets/desk-CxZ7J2lW.webp",DO="/assets/badge-CsAHMs-r.webp",TO="/assets/screen-DJqmZq6P.webp",xO=()=>{const a=(n,t,l)=>{const s=l%2===0?"reversed":"";return W.jsxs("div",{className:`mod-login info ${s}`,children:[W.jsxs("div",{className:"header-left info",children:[W.jsxs("div",{className:"info-title",children:[W.jsx("h2",{children:n[0]}),W.jsx("div",{className:"admin-function-container",children:W.jsx(qE,{label:ke.t(`landing.${n[2]?"adminFunction":"studentFunction"}`),type:K9.Main_400})})]}),W.jsx("p",{dangerouslySetInnerHTML:{__html:xi.sanitize(n[1])}})]}),W.jsx("div",{className:"header-right info",children:W.jsx("img",{src:t,alt:"logo",className:`${s}`})})]},l)},i=[TO,wO,DO];return W.jsx("div",{className:"mod-login-container bottom",children:W.jsxs("div",{className:"mod-login bottom",children:[W.jsx("h1",{children:ke.t("landing.works")}),ke.translations[ke.locale].landing.info.map((n,t)=>a(n,i[t],t)),W.jsx("div",{className:"landing-footer",children:W.jsx("p",{dangerouslySetInnerHTML:{__html:xi.sanitize(ke.t("landing.footer"))}})})]})})},$7=()=>{const[a,i]=y.useState(!1),n=()=>{i(!0),setTimeout(()=>i(!1),2250)},t=()=>{const l=window.location.origin;window.location.href=`${l}/Shibboleth.sso/Login?target=/&forceAuthn=true`};return W.jsxs("div",{className:"top-container",children:[W.jsx("div",{className:"mod-login-container",children:W.jsxs("div",{className:"mod-login",children:[W.jsxs("div",{className:"header-left",children:[W.jsx("h1",{className:"header-title",dangerouslySetInnerHTML:{__html:xi.sanitize(ke.t("landing.header.title"))}}),W.jsx(ro,{onClick:()=>t(),txt:ke.t("landing.header.login"),type:Ti.Primary,size:am.Full}),W.jsx("p",{className:"sup",dangerouslySetInnerHTML:{__html:xi.sanitize(ke.t("landing.header.sup"))}})]}),W.jsx("div",{className:`header-right ${a?"animated":""}`,onClick:n,children:W.jsx(EO,{})})]})}),W.jsx(xO,{})]})},MO=({title:a,titleId:i,...n},t)=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,viewBox:"0 0 22.5 22.5",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("circle",{className:"bg",cx:11.2,cy:11.2,r:11.2,fill:"none"}),y.createElement("g",{fill:"none",stroke:"#000",strokeWidth:1.5},y.createElement("path",{d:"M11.2 21.8c5.8 0 10.5-4.7 10.5-10.5S17.1.8 11.2.8.8 5.4.8 11.2s4.6 10.6 10.4 10.6z",strokeMiterlimit:10}),y.createElement("path",{d:"M11.2 15.5c-.1 0-.1 0-.2.1-.1 0-.1.1-.1.2v.2c0 .1.1.1.1.2.1.1.1.1.2.1h.2c.1 0 .1-.1.2-.1 0-.1.1-.1.1-.2s0-.2-.1-.3c-.2-.2-.3-.2-.4-.2z",strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M11.2 12.7V4.9",strokeLinecap:"round",strokeMiterlimit:10}))),OO=y.forwardRef(MO);function AO({name:a,onClick:i,activeTab:n,className:t="",label:l,Icon:s,notifier:c,readOnly:d,busy:h}){const m=()=>{d||i(a)};t+=` tab ${a}`,n===a&&(t+=" active"),d&&(t+=" read-only"),h&&(t+=" busy");let v=null;if(l&&l.indexOf("(")>-1){const g=l.substring(l.indexOf("(")+1,l.indexOf(")"));l=l.substring(0,l.indexOf("(")-1),v=W.jsx(NE,{value:g,small:!0})}return W.jsxs("div",{className:t,onClick:m,children:[c&&W.jsx("span",{className:"notifier",children:W.jsx(OO,{})}),W.jsxs("button",{className:"tab-label",children:[s&&W.jsx(s,{}),l,v]})]})}const CO=({children:a,className:i,activeTab:n,tabChanged:t})=>{const l=a.filter(s=>s);return a.some(s=>s.props&&s.props.name===n)||(n=(a[0]||{props:{name:n}}).props.name),W.jsxs(W.Fragment,{children:[W.jsx("div",{className:"tabs-container",children:W.jsx("div",{className:`tabs ${i||""}`,children:l.map(s=>{const{label:c,name:d,notifier:h,readOnly:m}=s.props;return W.jsx(AO,{activeTab:n,readOnly:m,name:d,notifier:h,label:c,onClick:v=>t(v),className:i},d)})})}),l.map(s=>{if(s.props.name===n)return s})]})},RO=({children:a})=>W.jsx("div",{className:"unit-header-container",children:W.jsx("div",{className:"unit-header",children:W.jsx("div",{className:"obj-name",children:a})})}),NO=({children:a,className:i=""})=>W.jsx("div",{className:`page ${i}`,children:a}),kO=({title:a,titleId:i,...n},t)=>y.createElement("svg",{className:"info-svg",xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,viewBox:"0 0 22.5 22.5",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("circle",{className:"bg",cx:11.2,cy:11.2,r:11.2,fill:"none"}),y.createElement("g",{fill:"none"},y.createElement("path",{d:"M21.8 11.2c0 5.8-4.7 10.5-10.5 10.5C5.5 21.8.8 17 .8 11.2S5.5.7 11.3.7c5.7.1 10.5 4.8 10.5 10.5z"}),y.createElement("path",{d:"M21.8 11.2c0 5.8-4.7 10.5-10.5 10.5C5.5 21.8.8 17 .8 11.2S5.5.7 11.3.7c5.7.1 10.5 4.8 10.5 10.5z",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M13.5 15.8h-.8c-.4 0-.8-.2-1.1-.4-.3-.3-.4-.7-.4-1.1v-3.8c0-.2-.1-.4-.2-.5-.1-.1-.3-.2-.5-.2h-.7M10.9 6c-.1 0-.1 0-.2.1-.1 0-.1.1-.1.2v.2c0 .1.1.1.1.2.1.1.1.1.2.1h.2c.1 0 .1-.1.2-.1 0-.1.1-.1.1-.2s0-.2-.1-.3c-.2-.2-.3-.2-.4-.2z",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),LO=y.forwardRef(kO),qO=({proceed:a})=>{const[i,n]=y.useState(!1),[t,l]=y.useState(!1),[s,c]=y.useState(""),{setFlash:d}=Pn(m=>m),h=m=>{c(m),GM(m).then(v=>{d(ke.t("verification.flash",{name:`${v.firstName} ${v.lastName}`})),Pn.setState(()=>({controlCode:v})),n(!1),c(""),l(!1),a()}).catch(()=>{n(!0),setTimeout(()=>n(!1),20),l(!0)})};return W.jsxs("div",{className:"verification",children:[W.jsx("h4",{children:ke.t("verification.header")}),W.jsxs("div",{className:"code-validation",children:[W.jsx(X9,{verify:m=>h(m),size:5,clear:i,intermediateCallback:()=>l(!1),validate:m=>!isNaN(m)}),W.jsx(ro,{txt:ke.t("verification.proceed"),disabled:!0,onClick:()=>!0})]}),t&&W.jsx(HE,{message:ke.t("verification.error",{code:s})}),W.jsxs("div",{className:"disclaimer",children:[W.jsx(LO,{}),W.jsx("p",{children:ke.t("verification.info")})]})]})};function eb(a){var i,n,t="";if(typeof a=="string"||typeof a=="number")t+=a;else if(typeof a=="object")if(Array.isArray(a)){var l=a.length;for(i=0;i<l;i++)a[i]&&(n=eb(a[i]))&&(t&&(t+=" "),t+=n)}else for(n in a)a[n]&&(t&&(t+=" "),t+=n);return t}function Cn(){for(var a,i,n=0,t="",l=arguments.length;n<l;n++)(a=arguments[n])&&(i=eb(a))&&(t&&(t+=" "),t+=i);return t}const tb=6048e5,UO=864e5,tf=6e4,nf=36e5,HO=1e3,J7=Symbol.for("constructDateFrom");function Et(a,i){return typeof a=="function"?a(i):a&&typeof a=="object"&&J7 in a?a[J7](i):a instanceof Date?new a.constructor(i):new Date(i)}function xe(a,i){return Et(i||a,a)}function Zr(a,i,n){const t=xe(a,n==null?void 0:n.in);return isNaN(i)?Et((n==null?void 0:n.in)||a,NaN):(i&&t.setDate(t.getDate()+i),t)}function Wr(a,i,n){const t=xe(a,n==null?void 0:n.in);if(isNaN(i))return Et(a,NaN);if(!i)return t;const l=t.getDate(),s=Et(a,t.getTime());s.setMonth(t.getMonth()+i+1,0);const c=s.getDate();return l>=c?s:(t.setFullYear(s.getFullYear(),s.getMonth(),l),t)}function nb(a,i,n){return Et(a,+xe(a)+i)}function PO(a,i,n){return nb(a,i*nf)}let zO={};function pl(){return zO}function Ga(a,i){var d,h,m,v;const n=pl(),t=(i==null?void 0:i.weekStartsOn)??((h=(d=i==null?void 0:i.locale)==null?void 0:d.options)==null?void 0:h.weekStartsOn)??n.weekStartsOn??((v=(m=n.locale)==null?void 0:m.options)==null?void 0:v.weekStartsOn)??0,l=xe(a,i==null?void 0:i.in),s=l.getDay(),c=(s<t?7:0)+s-t;return l.setDate(l.getDate()-c),l.setHours(0,0,0,0),l}function io(a,i){return Ga(a,{...i,weekStartsOn:1})}function rb(a,i){const n=xe(a,i==null?void 0:i.in),t=n.getFullYear(),l=Et(n,0);l.setFullYear(t+1,0,4),l.setHours(0,0,0,0);const s=io(l),c=Et(n,0);c.setFullYear(t,0,4),c.setHours(0,0,0,0);const d=io(c);return n.getTime()>=s.getTime()?t+1:n.getTime()>=d.getTime()?t:t-1}function Rc(a){const i=xe(a),n=new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()));return n.setUTCFullYear(i.getFullYear()),+a-+n}function Va(a,...i){const n=Et.bind(null,i.find(t=>typeof t=="object"));return i.map(n)}function ul(a,i){const n=xe(a,i==null?void 0:i.in);return n.setHours(0,0,0,0),n}function lo(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i),s=ul(t),c=ul(l),d=+s-Rc(s),h=+c-Rc(c);return Math.round((d-h)/UO)}function YO(a,i){const n=rb(a,i),t=Et(a,0);return t.setFullYear(n,0,4),t.setHours(0,0,0,0),io(t)}function F2(a,i,n){const t=xe(a,n==null?void 0:n.in);return t.setTime(t.getTime()+i*tf),t}function Am(a,i,n){return Wr(a,i*3,n)}function jO(a,i,n){return nb(a,i*1e3)}function Nc(a,i,n){return Zr(a,i*7,n)}function za(a,i,n){return Wr(a,i*12,n)}function e9(a,i){let n,t=i==null?void 0:i.in;return a.forEach(l=>{!t&&typeof l=="object"&&(t=Et.bind(null,l));const s=xe(l,t);(!n||n<s||isNaN(+s))&&(n=s)}),Et(t,n||NaN)}function t9(a,i){let n,t=i==null?void 0:i.in;return a.forEach(l=>{!t&&typeof l=="object"&&(t=Et.bind(null,l));const s=xe(l,t);(!n||n>s||isNaN(+s))&&(n=s)}),Et(t,n||NaN)}function BO(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i);return+ul(t)==+ul(l)}function Ya(a){return a instanceof Date||typeof a=="object"&&Object.prototype.toString.call(a)==="[object Date]"}function kc(a){return!(!Ya(a)&&typeof a!="number"||isNaN(+xe(a)))}function Lc(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i),s=t.getFullYear()-l.getFullYear(),c=t.getMonth()-l.getMonth();return s*12+c}function al(a,i){const n=xe(a,i==null?void 0:i.in);return Math.trunc(n.getMonth()/3)+1}function qc(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i),s=t.getFullYear()-l.getFullYear(),c=al(t)-al(l);return s*4+c}function Uc(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i);return t.getFullYear()-l.getFullYear()}function IO(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i),s=n9(t,l),c=Math.abs(lo(t,l));t.setDate(t.getDate()-s*c);const d=+(n9(t,l)===-s),h=s*(c-d);return h===0?0:h}function n9(a,i){const n=a.getFullYear()-i.getFullYear()||a.getMonth()-i.getMonth()||a.getDate()-i.getDate()||a.getHours()-i.getHours()||a.getMinutes()-i.getMinutes()||a.getSeconds()-i.getSeconds()||a.getMilliseconds()-i.getMilliseconds();return n<0?-1:n>0?1:n}function ab(a,i){const n=xe(a,i==null?void 0:i.in);return n.setHours(23,59,59,999),n}function ib(a,i){const n=xe(a,i==null?void 0:i.in),t=n.getMonth();return n.setFullYear(n.getFullYear(),t+1,0),n.setHours(23,59,59,999),n}function G2(a,i){const n=xe(a,i==null?void 0:i.in),t=n.getMonth(),l=t-t%3;return n.setMonth(l,1),n.setHours(0,0,0,0),n}function lb(a,i){const n=xe(a,i==null?void 0:i.in);return n.setDate(1),n.setHours(0,0,0,0),n}function ob(a,i){const n=xe(a,i==null?void 0:i.in),t=n.getFullYear();return n.setFullYear(t+1,0,0),n.setHours(23,59,59,999),n}function rf(a,i){const n=xe(a,i==null?void 0:i.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function FO(a,i){var d,h;const n=pl(),t=n.weekStartsOn??((h=(d=n.locale)==null?void 0:d.options)==null?void 0:h.weekStartsOn)??0,l=xe(a,i==null?void 0:i.in),s=l.getDay(),c=(s<t?-7:0)+6-(s-t);return l.setDate(l.getDate()+c),l.setHours(23,59,59,999),l}const GO={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ZO=(a,i,n)=>{let t;const l=GO[a];return typeof l=="string"?t=l:i===1?t=l.one:t=l.other.replace("{{count}}",i.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+t:t+" ago":t};function l2(a){return(i={})=>{const n=i.width?String(i.width):a.defaultWidth;return a.formats[n]||a.formats[a.defaultWidth]}}const VO={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},WO={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},QO={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},KO={date:l2({formats:VO,defaultWidth:"full"}),time:l2({formats:WO,defaultWidth:"full"}),dateTime:l2({formats:QO,defaultWidth:"full"})},XO={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},$O=(a,i,n,t)=>XO[a];function Ts(a){return(i,n)=>{const t=n!=null&&n.context?String(n.context):"standalone";let l;if(t==="formatting"&&a.formattingValues){const c=a.defaultFormattingWidth||a.defaultWidth,d=n!=null&&n.width?String(n.width):c;l=a.formattingValues[d]||a.formattingValues[c]}else{const c=a.defaultWidth,d=n!=null&&n.width?String(n.width):a.defaultWidth;l=a.values[d]||a.values[c]}const s=a.argumentCallback?a.argumentCallback(i):i;return l[s]}}const JO={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},eA={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},tA={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},nA={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},rA={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},aA={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},iA=(a,i)=>{const n=Number(a),t=n%100;if(t>20||t<10)switch(t%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},lA={ordinalNumber:iA,era:Ts({values:JO,defaultWidth:"wide"}),quarter:Ts({values:eA,defaultWidth:"wide",argumentCallback:a=>a-1}),month:Ts({values:tA,defaultWidth:"wide"}),day:Ts({values:nA,defaultWidth:"wide"}),dayPeriod:Ts({values:rA,defaultWidth:"wide",formattingValues:aA,defaultFormattingWidth:"wide"})};function xs(a){return(i,n={})=>{const t=n.width,l=t&&a.matchPatterns[t]||a.matchPatterns[a.defaultMatchWidth],s=i.match(l);if(!s)return null;const c=s[0],d=t&&a.parsePatterns[t]||a.parsePatterns[a.defaultParseWidth],h=Array.isArray(d)?sA(d,g=>g.test(c)):oA(d,g=>g.test(c));let m;m=a.valueCallback?a.valueCallback(h):h,m=n.valueCallback?n.valueCallback(m):m;const v=i.slice(c.length);return{value:m,rest:v}}}function oA(a,i){for(const n in a)if(Object.prototype.hasOwnProperty.call(a,n)&&i(a[n]))return n}function sA(a,i){for(let n=0;n<a.length;n++)if(i(a[n]))return n}function uA(a){return(i,n={})=>{const t=i.match(a.matchPattern);if(!t)return null;const l=t[0],s=i.match(a.parsePattern);if(!s)return null;let c=a.valueCallback?a.valueCallback(s[0]):s[0];c=n.valueCallback?n.valueCallback(c):c;const d=i.slice(l.length);return{value:c,rest:d}}}const cA=/^(\d+)(th|st|nd|rd)?/i,fA=/\d+/i,dA={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},hA={any:[/^b/i,/^(a|c)/i]},pA={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},mA={any:[/1/i,/2/i,/3/i,/4/i]},vA={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},gA={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},yA={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},bA={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},_A={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},SA={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},EA={ordinalNumber:uA({matchPattern:cA,parsePattern:fA,valueCallback:a=>parseInt(a,10)}),era:xs({matchPatterns:dA,defaultMatchWidth:"wide",parsePatterns:hA,defaultParseWidth:"any"}),quarter:xs({matchPatterns:pA,defaultMatchWidth:"wide",parsePatterns:mA,defaultParseWidth:"any",valueCallback:a=>a+1}),month:xs({matchPatterns:vA,defaultMatchWidth:"wide",parsePatterns:gA,defaultParseWidth:"any"}),day:xs({matchPatterns:yA,defaultMatchWidth:"wide",parsePatterns:bA,defaultParseWidth:"any"}),dayPeriod:xs({matchPatterns:_A,defaultMatchWidth:"any",parsePatterns:SA,defaultParseWidth:"any"})},sb={code:"en-US",formatDistance:ZO,formatLong:KO,formatRelative:$O,localize:lA,match:EA,options:{weekStartsOn:0,firstWeekContainsDate:1}};function wA(a,i){const n=xe(a,i==null?void 0:i.in);return lo(n,rf(n))+1}function Cm(a,i){const n=xe(a,i==null?void 0:i.in),t=+io(n)-+YO(n);return Math.round(t/tb)+1}function Rm(a,i){var v,g,S,w;const n=xe(a,i==null?void 0:i.in),t=n.getFullYear(),l=pl(),s=(i==null?void 0:i.firstWeekContainsDate)??((g=(v=i==null?void 0:i.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??l.firstWeekContainsDate??((w=(S=l.locale)==null?void 0:S.options)==null?void 0:w.firstWeekContainsDate)??1,c=Et((i==null?void 0:i.in)||a,0);c.setFullYear(t+1,0,s),c.setHours(0,0,0,0);const d=Ga(c,i),h=Et((i==null?void 0:i.in)||a,0);h.setFullYear(t,0,s),h.setHours(0,0,0,0);const m=Ga(h,i);return+n>=+d?t+1:+n>=+m?t:t-1}function DA(a,i){var d,h,m,v;const n=pl(),t=(i==null?void 0:i.firstWeekContainsDate)??((h=(d=i==null?void 0:i.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??n.firstWeekContainsDate??((v=(m=n.locale)==null?void 0:m.options)==null?void 0:v.firstWeekContainsDate)??1,l=Rm(a,i),s=Et((i==null?void 0:i.in)||a,0);return s.setFullYear(l,0,t),s.setHours(0,0,0,0),Ga(s,i)}function ub(a,i){const n=xe(a,i==null?void 0:i.in),t=+Ga(n,i)-+DA(n,i);return Math.round(t/tb)+1}function St(a,i){const n=a<0?"-":"",t=Math.abs(a).toString().padStart(i,"0");return n+t}const Si={y(a,i){const n=a.getFullYear(),t=n>0?n:1-n;return St(i==="yy"?t%100:t,i.length)},M(a,i){const n=a.getMonth();return i==="M"?String(n+1):St(n+1,2)},d(a,i){return St(a.getDate(),i.length)},a(a,i){const n=a.getHours()/12>=1?"pm":"am";switch(i){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(a,i){return St(a.getHours()%12||12,i.length)},H(a,i){return St(a.getHours(),i.length)},m(a,i){return St(a.getMinutes(),i.length)},s(a,i){return St(a.getSeconds(),i.length)},S(a,i){const n=i.length,t=a.getMilliseconds(),l=Math.trunc(t*Math.pow(10,n-3));return St(l,i.length)}},Kl={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},r9={G:function(a,i,n){const t=a.getFullYear()>0?1:0;switch(i){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"});case"GGGGG":return n.era(t,{width:"narrow"});case"GGGG":default:return n.era(t,{width:"wide"})}},y:function(a,i,n){if(i==="yo"){const t=a.getFullYear(),l=t>0?t:1-t;return n.ordinalNumber(l,{unit:"year"})}return Si.y(a,i)},Y:function(a,i,n,t){const l=Rm(a,t),s=l>0?l:1-l;if(i==="YY"){const c=s%100;return St(c,2)}return i==="Yo"?n.ordinalNumber(s,{unit:"year"}):St(s,i.length)},R:function(a,i){const n=rb(a);return St(n,i.length)},u:function(a,i){const n=a.getFullYear();return St(n,i.length)},Q:function(a,i,n){const t=Math.ceil((a.getMonth()+1)/3);switch(i){case"Q":return String(t);case"QQ":return St(t,2);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(t,{width:"wide",context:"formatting"})}},q:function(a,i,n){const t=Math.ceil((a.getMonth()+1)/3);switch(i){case"q":return String(t);case"qq":return St(t,2);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(t,{width:"wide",context:"standalone"})}},M:function(a,i,n){const t=a.getMonth();switch(i){case"M":case"MM":return Si.M(a,i);case"Mo":return n.ordinalNumber(t+1,{unit:"month"});case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(t,{width:"wide",context:"formatting"})}},L:function(a,i,n){const t=a.getMonth();switch(i){case"L":return String(t+1);case"LL":return St(t+1,2);case"Lo":return n.ordinalNumber(t+1,{unit:"month"});case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(t,{width:"wide",context:"standalone"})}},w:function(a,i,n,t){const l=ub(a,t);return i==="wo"?n.ordinalNumber(l,{unit:"week"}):St(l,i.length)},I:function(a,i,n){const t=Cm(a);return i==="Io"?n.ordinalNumber(t,{unit:"week"}):St(t,i.length)},d:function(a,i,n){return i==="do"?n.ordinalNumber(a.getDate(),{unit:"date"}):Si.d(a,i)},D:function(a,i,n){const t=wA(a);return i==="Do"?n.ordinalNumber(t,{unit:"dayOfYear"}):St(t,i.length)},E:function(a,i,n){const t=a.getDay();switch(i){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"});case"EEEE":default:return n.day(t,{width:"wide",context:"formatting"})}},e:function(a,i,n,t){const l=a.getDay(),s=(l-t.weekStartsOn+8)%7||7;switch(i){case"e":return String(s);case"ee":return St(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(l,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(l,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(l,{width:"short",context:"formatting"});case"eeee":default:return n.day(l,{width:"wide",context:"formatting"})}},c:function(a,i,n,t){const l=a.getDay(),s=(l-t.weekStartsOn+8)%7||7;switch(i){case"c":return String(s);case"cc":return St(s,i.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(l,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(l,{width:"narrow",context:"standalone"});case"cccccc":return n.day(l,{width:"short",context:"standalone"});case"cccc":default:return n.day(l,{width:"wide",context:"standalone"})}},i:function(a,i,n){const t=a.getDay(),l=t===0?7:t;switch(i){case"i":return String(l);case"ii":return St(l,i.length);case"io":return n.ordinalNumber(l,{unit:"day"});case"iii":return n.day(t,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(t,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(t,{width:"short",context:"formatting"});case"iiii":default:return n.day(t,{width:"wide",context:"formatting"})}},a:function(a,i,n){const l=a.getHours()/12>=1?"pm":"am";switch(i){case"a":case"aa":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(l,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},b:function(a,i,n){const t=a.getHours();let l;switch(t===12?l=Kl.noon:t===0?l=Kl.midnight:l=t/12>=1?"pm":"am",i){case"b":case"bb":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(l,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},B:function(a,i,n){const t=a.getHours();let l;switch(t>=17?l=Kl.evening:t>=12?l=Kl.afternoon:t>=4?l=Kl.morning:l=Kl.night,i){case"B":case"BB":case"BBB":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(l,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},h:function(a,i,n){if(i==="ho"){let t=a.getHours()%12;return t===0&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return Si.h(a,i)},H:function(a,i,n){return i==="Ho"?n.ordinalNumber(a.getHours(),{unit:"hour"}):Si.H(a,i)},K:function(a,i,n){const t=a.getHours()%12;return i==="Ko"?n.ordinalNumber(t,{unit:"hour"}):St(t,i.length)},k:function(a,i,n){let t=a.getHours();return t===0&&(t=24),i==="ko"?n.ordinalNumber(t,{unit:"hour"}):St(t,i.length)},m:function(a,i,n){return i==="mo"?n.ordinalNumber(a.getMinutes(),{unit:"minute"}):Si.m(a,i)},s:function(a,i,n){return i==="so"?n.ordinalNumber(a.getSeconds(),{unit:"second"}):Si.s(a,i)},S:function(a,i){return Si.S(a,i)},X:function(a,i,n){const t=a.getTimezoneOffset();if(t===0)return"Z";switch(i){case"X":return i9(t);case"XXXX":case"XX":return el(t);case"XXXXX":case"XXX":default:return el(t,":")}},x:function(a,i,n){const t=a.getTimezoneOffset();switch(i){case"x":return i9(t);case"xxxx":case"xx":return el(t);case"xxxxx":case"xxx":default:return el(t,":")}},O:function(a,i,n){const t=a.getTimezoneOffset();switch(i){case"O":case"OO":case"OOO":return"GMT"+a9(t,":");case"OOOO":default:return"GMT"+el(t,":")}},z:function(a,i,n){const t=a.getTimezoneOffset();switch(i){case"z":case"zz":case"zzz":return"GMT"+a9(t,":");case"zzzz":default:return"GMT"+el(t,":")}},t:function(a,i,n){const t=Math.trunc(+a/1e3);return St(t,i.length)},T:function(a,i,n){return St(+a,i.length)}};function a9(a,i=""){const n=a>0?"-":"+",t=Math.abs(a),l=Math.trunc(t/60),s=t%60;return s===0?n+String(l):n+String(l)+i+St(s,2)}function i9(a,i){return a%60===0?(a>0?"-":"+")+St(Math.abs(a)/60,2):el(a,i)}function el(a,i=""){const n=a>0?"-":"+",t=Math.abs(a),l=St(Math.trunc(t/60),2),s=St(t%60,2);return n+l+i+s}const l9=(a,i)=>{switch(a){case"P":return i.date({width:"short"});case"PP":return i.date({width:"medium"});case"PPP":return i.date({width:"long"});case"PPPP":default:return i.date({width:"full"})}},cb=(a,i)=>{switch(a){case"p":return i.time({width:"short"});case"pp":return i.time({width:"medium"});case"ppp":return i.time({width:"long"});case"pppp":default:return i.time({width:"full"})}},TA=(a,i)=>{const n=a.match(/(P+)(p+)?/)||[],t=n[1],l=n[2];if(!l)return l9(a,i);let s;switch(t){case"P":s=i.dateTime({width:"short"});break;case"PP":s=i.dateTime({width:"medium"});break;case"PPP":s=i.dateTime({width:"long"});break;case"PPPP":default:s=i.dateTime({width:"full"});break}return s.replace("{{date}}",l9(t,i)).replace("{{time}}",cb(l,i))},Z2={p:cb,P:TA},xA=/^D+$/,MA=/^Y+$/,OA=["D","DD","YY","YYYY"];function AA(a){return xA.test(a)}function CA(a){return MA.test(a)}function RA(a,i,n){const t=NA(a,i,n);if(console.warn(t),OA.includes(a))throw new RangeError(t)}function NA(a,i,n){const t=a[0]==="Y"?"years":"days of the month";return`Use \`${a.toLowerCase()}\` instead of \`${a}\` (in \`${i}\`) for formatting ${t} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const kA=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,LA=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,qA=/^'([^]*?)'?$/,UA=/''/g,HA=/[a-zA-Z]/;function o9(a,i,n){var v,g,S,w,M,R,C,H;const t=pl(),l=(n==null?void 0:n.locale)??t.locale??sb,s=(n==null?void 0:n.firstWeekContainsDate)??((g=(v=n==null?void 0:n.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??t.firstWeekContainsDate??((w=(S=t.locale)==null?void 0:S.options)==null?void 0:w.firstWeekContainsDate)??1,c=(n==null?void 0:n.weekStartsOn)??((R=(M=n==null?void 0:n.locale)==null?void 0:M.options)==null?void 0:R.weekStartsOn)??t.weekStartsOn??((H=(C=t.locale)==null?void 0:C.options)==null?void 0:H.weekStartsOn)??0,d=xe(a,n==null?void 0:n.in);if(!kc(d))throw new RangeError("Invalid time value");let h=i.match(LA).map(O=>{const Y=O[0];if(Y==="p"||Y==="P"){const K=Z2[Y];return K(O,l.formatLong)}return O}).join("").match(kA).map(O=>{if(O==="''")return{isToken:!1,value:"'"};const Y=O[0];if(Y==="'")return{isToken:!1,value:PA(O)};if(r9[Y])return{isToken:!0,value:O};if(Y.match(HA))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Y+"`");return{isToken:!1,value:O}});l.localize.preprocessor&&(h=l.localize.preprocessor(d,h));const m={firstWeekContainsDate:s,weekStartsOn:c,locale:l};return h.map(O=>{if(!O.isToken)return O.value;const Y=O.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&CA(Y)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&AA(Y))&&RA(Y,i,String(a));const K=r9[Y[0]];return K(d,Y,l.localize,m)}).join("")}function PA(a){const i=a.match(qA);return i?i[1].replace(UA,"'"):a}function s9(a,i){return xe(a,i==null?void 0:i.in).getDate()}function zA(a,i){return xe(a,i==null?void 0:i.in).getDay()}function YA(a,i){const n=xe(a,i==null?void 0:i.in),t=n.getFullYear(),l=n.getMonth(),s=Et(n,0);return s.setFullYear(t,l+1,0),s.setHours(0,0,0,0),s.getDate()}function jA(){return Object.assign({},pl())}function ja(a,i){return xe(a,i==null?void 0:i.in).getHours()}function BA(a,i){const n=xe(a,i==null?void 0:i.in).getDay();return n===0?7:n}function Ba(a,i){return xe(a,i==null?void 0:i.in).getMinutes()}function Gn(a,i){return xe(a,i==null?void 0:i.in).getMonth()}function Oi(a){return xe(a).getSeconds()}function V2(a){return+xe(a)}function Ge(a,i){return xe(a,i==null?void 0:i.in).getFullYear()}function Ri(a,i){return+xe(a)>+xe(i)}function cl(a,i){return+xe(a)<+xe(i)}function IA(a,i){return+xe(a)==+xe(i)}function FA(a,i){const n=GA(i)?new i(0):Et(i,0);return n.setFullYear(a.getFullYear(),a.getMonth(),a.getDate()),n.setHours(a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()),n}function GA(a){var i;return typeof a=="function"&&((i=a.prototype)==null?void 0:i.constructor)===a}const ZA=10;class fb{constructor(){_e(this,"subPriority",0)}validate(i,n){return!0}}class VA extends fb{constructor(i,n,t,l,s){super(),this.value=i,this.validateValue=n,this.setValue=t,this.priority=l,s&&(this.subPriority=s)}validate(i,n){return this.validateValue(i,this.value,n)}set(i,n,t){return this.setValue(i,n,this.value,t)}}class WA extends fb{constructor(n,t){super();_e(this,"priority",ZA);_e(this,"subPriority",-1);this.context=n||(l=>Et(t,l))}set(n,t){return t.timestampIsSet?n:Et(n,FA(n,this.context))}}class ft{run(i,n,t,l){const s=this.parse(i,n,t,l);return s?{setter:new VA(s.value,this.validate,this.set,this.priority,this.subPriority),rest:s.rest}:null}validate(i,n,t){return!0}}class QA extends ft{constructor(){super(...arguments);_e(this,"priority",140);_e(this,"incompatibleTokens",["R","u","t","T"])}parse(n,t,l){switch(t){case"G":case"GG":case"GGG":return l.era(n,{width:"abbreviated"})||l.era(n,{width:"narrow"});case"GGGGG":return l.era(n,{width:"narrow"});case"GGGG":default:return l.era(n,{width:"wide"})||l.era(n,{width:"abbreviated"})||l.era(n,{width:"narrow"})}}set(n,t,l){return t.era=l,n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}}const rn={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},fa={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function an(a,i){return a&&{value:i(a.value),rest:a.rest}}function Wt(a,i){const n=i.match(a);return n?{value:parseInt(n[0],10),rest:i.slice(n[0].length)}:null}function da(a,i){const n=i.match(a);if(!n)return null;if(n[0]==="Z")return{value:0,rest:i.slice(1)};const t=n[1]==="+"?1:-1,l=n[2]?parseInt(n[2],10):0,s=n[3]?parseInt(n[3],10):0,c=n[5]?parseInt(n[5],10):0;return{value:t*(l*nf+s*tf+c*HO),rest:i.slice(n[0].length)}}function db(a){return Wt(rn.anyDigitsSigned,a)}function $t(a,i){switch(a){case 1:return Wt(rn.singleDigit,i);case 2:return Wt(rn.twoDigits,i);case 3:return Wt(rn.threeDigits,i);case 4:return Wt(rn.fourDigits,i);default:return Wt(new RegExp("^\\d{1,"+a+"}"),i)}}function Hc(a,i){switch(a){case 1:return Wt(rn.singleDigitSigned,i);case 2:return Wt(rn.twoDigitsSigned,i);case 3:return Wt(rn.threeDigitsSigned,i);case 4:return Wt(rn.fourDigitsSigned,i);default:return Wt(new RegExp("^-?\\d{1,"+a+"}"),i)}}function Nm(a){switch(a){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function hb(a,i){const n=i>0,t=n?i:1-i;let l;if(t<=50)l=a||100;else{const s=t+50,c=Math.trunc(s/100)*100,d=a>=s%100;l=a+c-(d?100:0)}return n?l:1-l}function pb(a){return a%400===0||a%4===0&&a%100!==0}class KA extends ft{constructor(){super(...arguments);_e(this,"priority",130);_e(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(n,t,l){const s=c=>({year:c,isTwoDigitYear:t==="yy"});switch(t){case"y":return an($t(4,n),s);case"yo":return an(l.ordinalNumber(n,{unit:"year"}),s);default:return an($t(t.length,n),s)}}validate(n,t){return t.isTwoDigitYear||t.year>0}set(n,t,l){const s=n.getFullYear();if(l.isTwoDigitYear){const d=hb(l.year,s);return n.setFullYear(d,0,1),n.setHours(0,0,0,0),n}const c=!("era"in t)||t.era===1?l.year:1-l.year;return n.setFullYear(c,0,1),n.setHours(0,0,0,0),n}}class XA extends ft{constructor(){super(...arguments);_e(this,"priority",130);_e(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(n,t,l){const s=c=>({year:c,isTwoDigitYear:t==="YY"});switch(t){case"Y":return an($t(4,n),s);case"Yo":return an(l.ordinalNumber(n,{unit:"year"}),s);default:return an($t(t.length,n),s)}}validate(n,t){return t.isTwoDigitYear||t.year>0}set(n,t,l,s){const c=Rm(n,s);if(l.isTwoDigitYear){const h=hb(l.year,c);return n.setFullYear(h,0,s.firstWeekContainsDate),n.setHours(0,0,0,0),Ga(n,s)}const d=!("era"in t)||t.era===1?l.year:1-l.year;return n.setFullYear(d,0,s.firstWeekContainsDate),n.setHours(0,0,0,0),Ga(n,s)}}class $A extends ft{constructor(){super(...arguments);_e(this,"priority",130);_e(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(n,t){return Hc(t==="R"?4:t.length,n)}set(n,t,l){const s=Et(n,0);return s.setFullYear(l,0,4),s.setHours(0,0,0,0),io(s)}}class JA extends ft{constructor(){super(...arguments);_e(this,"priority",130);_e(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(n,t){return Hc(t==="u"?4:t.length,n)}set(n,t,l){return n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}}class eC extends ft{constructor(){super(...arguments);_e(this,"priority",120);_e(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,t,l){switch(t){case"Q":case"QQ":return $t(t.length,n);case"Qo":return l.ordinalNumber(n,{unit:"quarter"});case"QQQ":return l.quarter(n,{width:"abbreviated",context:"formatting"})||l.quarter(n,{width:"narrow",context:"formatting"});case"QQQQQ":return l.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return l.quarter(n,{width:"wide",context:"formatting"})||l.quarter(n,{width:"abbreviated",context:"formatting"})||l.quarter(n,{width:"narrow",context:"formatting"})}}validate(n,t){return t>=1&&t<=4}set(n,t,l){return n.setMonth((l-1)*3,1),n.setHours(0,0,0,0),n}}class tC extends ft{constructor(){super(...arguments);_e(this,"priority",120);_e(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,t,l){switch(t){case"q":case"qq":return $t(t.length,n);case"qo":return l.ordinalNumber(n,{unit:"quarter"});case"qqq":return l.quarter(n,{width:"abbreviated",context:"standalone"})||l.quarter(n,{width:"narrow",context:"standalone"});case"qqqqq":return l.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return l.quarter(n,{width:"wide",context:"standalone"})||l.quarter(n,{width:"abbreviated",context:"standalone"})||l.quarter(n,{width:"narrow",context:"standalone"})}}validate(n,t){return t>=1&&t<=4}set(n,t,l){return n.setMonth((l-1)*3,1),n.setHours(0,0,0,0),n}}class nC extends ft{constructor(){super(...arguments);_e(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);_e(this,"priority",110)}parse(n,t,l){const s=c=>c-1;switch(t){case"M":return an(Wt(rn.month,n),s);case"MM":return an($t(2,n),s);case"Mo":return an(l.ordinalNumber(n,{unit:"month"}),s);case"MMM":return l.month(n,{width:"abbreviated",context:"formatting"})||l.month(n,{width:"narrow",context:"formatting"});case"MMMMM":return l.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return l.month(n,{width:"wide",context:"formatting"})||l.month(n,{width:"abbreviated",context:"formatting"})||l.month(n,{width:"narrow",context:"formatting"})}}validate(n,t){return t>=0&&t<=11}set(n,t,l){return n.setMonth(l,1),n.setHours(0,0,0,0),n}}class rC extends ft{constructor(){super(...arguments);_e(this,"priority",110);_e(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(n,t,l){const s=c=>c-1;switch(t){case"L":return an(Wt(rn.month,n),s);case"LL":return an($t(2,n),s);case"Lo":return an(l.ordinalNumber(n,{unit:"month"}),s);case"LLL":return l.month(n,{width:"abbreviated",context:"standalone"})||l.month(n,{width:"narrow",context:"standalone"});case"LLLLL":return l.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return l.month(n,{width:"wide",context:"standalone"})||l.month(n,{width:"abbreviated",context:"standalone"})||l.month(n,{width:"narrow",context:"standalone"})}}validate(n,t){return t>=0&&t<=11}set(n,t,l){return n.setMonth(l,1),n.setHours(0,0,0,0),n}}function aC(a,i,n){const t=xe(a,n==null?void 0:n.in),l=ub(t,n)-i;return t.setDate(t.getDate()-l*7),xe(t,n==null?void 0:n.in)}class iC extends ft{constructor(){super(...arguments);_e(this,"priority",100);_e(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(n,t,l){switch(t){case"w":return Wt(rn.week,n);case"wo":return l.ordinalNumber(n,{unit:"week"});default:return $t(t.length,n)}}validate(n,t){return t>=1&&t<=53}set(n,t,l,s){return Ga(aC(n,l,s),s)}}function lC(a,i,n){const t=xe(a,n==null?void 0:n.in),l=Cm(t,n)-i;return t.setDate(t.getDate()-l*7),t}class oC extends ft{constructor(){super(...arguments);_e(this,"priority",100);_e(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(n,t,l){switch(t){case"I":return Wt(rn.week,n);case"Io":return l.ordinalNumber(n,{unit:"week"});default:return $t(t.length,n)}}validate(n,t){return t>=1&&t<=53}set(n,t,l){return io(lC(n,l))}}const sC=[31,28,31,30,31,30,31,31,30,31,30,31],uC=[31,29,31,30,31,30,31,31,30,31,30,31];class cC extends ft{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"subPriority",1);_e(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(n,t,l){switch(t){case"d":return Wt(rn.date,n);case"do":return l.ordinalNumber(n,{unit:"date"});default:return $t(t.length,n)}}validate(n,t){const l=n.getFullYear(),s=pb(l),c=n.getMonth();return s?t>=1&&t<=uC[c]:t>=1&&t<=sC[c]}set(n,t,l){return n.setDate(l),n.setHours(0,0,0,0),n}}class fC extends ft{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"subpriority",1);_e(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(n,t,l){switch(t){case"D":case"DD":return Wt(rn.dayOfYear,n);case"Do":return l.ordinalNumber(n,{unit:"date"});default:return $t(t.length,n)}}validate(n,t){const l=n.getFullYear();return pb(l)?t>=1&&t<=366:t>=1&&t<=365}set(n,t,l){return n.setMonth(0,l),n.setHours(0,0,0,0),n}}function km(a,i,n){var g,S,w,M;const t=pl(),l=(n==null?void 0:n.weekStartsOn)??((S=(g=n==null?void 0:n.locale)==null?void 0:g.options)==null?void 0:S.weekStartsOn)??t.weekStartsOn??((M=(w=t.locale)==null?void 0:w.options)==null?void 0:M.weekStartsOn)??0,s=xe(a,n==null?void 0:n.in),c=s.getDay(),h=(i%7+7)%7,m=7-l,v=i<0||i>6?i-(c+m)%7:(h+m)%7-(c+m)%7;return Zr(s,v,n)}class dC extends ft{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(n,t,l){switch(t){case"E":case"EE":case"EEE":return l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return l.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"EEEE":default:return l.day(n,{width:"wide",context:"formatting"})||l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"})}}validate(n,t){return t>=0&&t<=6}set(n,t,l,s){return n=km(n,l,s),n.setHours(0,0,0,0),n}}class hC extends ft{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(n,t,l,s){const c=d=>{const h=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+h};switch(t){case"e":case"ee":return an($t(t.length,n),c);case"eo":return an(l.ordinalNumber(n,{unit:"day"}),c);case"eee":return l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"eeeee":return l.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"eeee":default:return l.day(n,{width:"wide",context:"formatting"})||l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"})}}validate(n,t){return t>=0&&t<=6}set(n,t,l,s){return n=km(n,l,s),n.setHours(0,0,0,0),n}}class pC extends ft{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(n,t,l,s){const c=d=>{const h=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+h};switch(t){case"c":case"cc":return an($t(t.length,n),c);case"co":return an(l.ordinalNumber(n,{unit:"day"}),c);case"ccc":return l.day(n,{width:"abbreviated",context:"standalone"})||l.day(n,{width:"short",context:"standalone"})||l.day(n,{width:"narrow",context:"standalone"});case"ccccc":return l.day(n,{width:"narrow",context:"standalone"});case"cccccc":return l.day(n,{width:"short",context:"standalone"})||l.day(n,{width:"narrow",context:"standalone"});case"cccc":default:return l.day(n,{width:"wide",context:"standalone"})||l.day(n,{width:"abbreviated",context:"standalone"})||l.day(n,{width:"short",context:"standalone"})||l.day(n,{width:"narrow",context:"standalone"})}}validate(n,t){return t>=0&&t<=6}set(n,t,l,s){return n=km(n,l,s),n.setHours(0,0,0,0),n}}function mC(a,i,n){const t=xe(a,n==null?void 0:n.in),l=BA(t,n),s=i-l;return Zr(t,s,n)}class vC extends ft{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(n,t,l){const s=c=>c===0?7:c;switch(t){case"i":case"ii":return $t(t.length,n);case"io":return l.ordinalNumber(n,{unit:"day"});case"iii":return an(l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"}),s);case"iiiii":return an(l.day(n,{width:"narrow",context:"formatting"}),s);case"iiiiii":return an(l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"}),s);case"iiii":default:return an(l.day(n,{width:"wide",context:"formatting"})||l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"}),s)}}validate(n,t){return t>=1&&t<=7}set(n,t,l){return n=mC(n,l),n.setHours(0,0,0,0),n}}class gC extends ft{constructor(){super(...arguments);_e(this,"priority",80);_e(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(n,t,l){switch(t){case"a":case"aa":case"aaa":return l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return l.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return l.dayPeriod(n,{width:"wide",context:"formatting"})||l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,t,l){return n.setHours(Nm(l),0,0,0),n}}class yC extends ft{constructor(){super(...arguments);_e(this,"priority",80);_e(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(n,t,l){switch(t){case"b":case"bb":case"bbb":return l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return l.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return l.dayPeriod(n,{width:"wide",context:"formatting"})||l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,t,l){return n.setHours(Nm(l),0,0,0),n}}class bC extends ft{constructor(){super(...arguments);_e(this,"priority",80);_e(this,"incompatibleTokens",["a","b","t","T"])}parse(n,t,l){switch(t){case"B":case"BB":case"BBB":return l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return l.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return l.dayPeriod(n,{width:"wide",context:"formatting"})||l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,t,l){return n.setHours(Nm(l),0,0,0),n}}class _C extends ft{constructor(){super(...arguments);_e(this,"priority",70);_e(this,"incompatibleTokens",["H","K","k","t","T"])}parse(n,t,l){switch(t){case"h":return Wt(rn.hour12h,n);case"ho":return l.ordinalNumber(n,{unit:"hour"});default:return $t(t.length,n)}}validate(n,t){return t>=1&&t<=12}set(n,t,l){const s=n.getHours()>=12;return s&&l<12?n.setHours(l+12,0,0,0):!s&&l===12?n.setHours(0,0,0,0):n.setHours(l,0,0,0),n}}class SC extends ft{constructor(){super(...arguments);_e(this,"priority",70);_e(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(n,t,l){switch(t){case"H":return Wt(rn.hour23h,n);case"Ho":return l.ordinalNumber(n,{unit:"hour"});default:return $t(t.length,n)}}validate(n,t){return t>=0&&t<=23}set(n,t,l){return n.setHours(l,0,0,0),n}}class EC extends ft{constructor(){super(...arguments);_e(this,"priority",70);_e(this,"incompatibleTokens",["h","H","k","t","T"])}parse(n,t,l){switch(t){case"K":return Wt(rn.hour11h,n);case"Ko":return l.ordinalNumber(n,{unit:"hour"});default:return $t(t.length,n)}}validate(n,t){return t>=0&&t<=11}set(n,t,l){return n.getHours()>=12&&l<12?n.setHours(l+12,0,0,0):n.setHours(l,0,0,0),n}}class wC extends ft{constructor(){super(...arguments);_e(this,"priority",70);_e(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(n,t,l){switch(t){case"k":return Wt(rn.hour24h,n);case"ko":return l.ordinalNumber(n,{unit:"hour"});default:return $t(t.length,n)}}validate(n,t){return t>=1&&t<=24}set(n,t,l){const s=l<=24?l%24:l;return n.setHours(s,0,0,0),n}}class DC extends ft{constructor(){super(...arguments);_e(this,"priority",60);_e(this,"incompatibleTokens",["t","T"])}parse(n,t,l){switch(t){case"m":return Wt(rn.minute,n);case"mo":return l.ordinalNumber(n,{unit:"minute"});default:return $t(t.length,n)}}validate(n,t){return t>=0&&t<=59}set(n,t,l){return n.setMinutes(l,0,0),n}}class TC extends ft{constructor(){super(...arguments);_e(this,"priority",50);_e(this,"incompatibleTokens",["t","T"])}parse(n,t,l){switch(t){case"s":return Wt(rn.second,n);case"so":return l.ordinalNumber(n,{unit:"second"});default:return $t(t.length,n)}}validate(n,t){return t>=0&&t<=59}set(n,t,l){return n.setSeconds(l,0),n}}class xC extends ft{constructor(){super(...arguments);_e(this,"priority",30);_e(this,"incompatibleTokens",["t","T"])}parse(n,t){const l=s=>Math.trunc(s*Math.pow(10,-t.length+3));return an($t(t.length,n),l)}set(n,t,l){return n.setMilliseconds(l),n}}class MC extends ft{constructor(){super(...arguments);_e(this,"priority",10);_e(this,"incompatibleTokens",["t","T","x"])}parse(n,t){switch(t){case"X":return da(fa.basicOptionalMinutes,n);case"XX":return da(fa.basic,n);case"XXXX":return da(fa.basicOptionalSeconds,n);case"XXXXX":return da(fa.extendedOptionalSeconds,n);case"XXX":default:return da(fa.extended,n)}}set(n,t,l){return t.timestampIsSet?n:Et(n,n.getTime()-Rc(n)-l)}}class OC extends ft{constructor(){super(...arguments);_e(this,"priority",10);_e(this,"incompatibleTokens",["t","T","X"])}parse(n,t){switch(t){case"x":return da(fa.basicOptionalMinutes,n);case"xx":return da(fa.basic,n);case"xxxx":return da(fa.basicOptionalSeconds,n);case"xxxxx":return da(fa.extendedOptionalSeconds,n);case"xxx":default:return da(fa.extended,n)}}set(n,t,l){return t.timestampIsSet?n:Et(n,n.getTime()-Rc(n)-l)}}class AC extends ft{constructor(){super(...arguments);_e(this,"priority",40);_e(this,"incompatibleTokens","*")}parse(n){return db(n)}set(n,t,l){return[Et(n,l*1e3),{timestampIsSet:!0}]}}class CC extends ft{constructor(){super(...arguments);_e(this,"priority",20);_e(this,"incompatibleTokens","*")}parse(n){return db(n)}set(n,t,l){return[Et(n,l),{timestampIsSet:!0}]}}const RC={G:new QA,y:new KA,Y:new XA,R:new $A,u:new JA,Q:new eC,q:new tC,M:new nC,L:new rC,w:new iC,I:new oC,d:new cC,D:new fC,E:new dC,e:new hC,c:new pC,i:new vC,a:new gC,b:new yC,B:new bC,h:new _C,H:new SC,K:new EC,k:new wC,m:new DC,s:new TC,S:new xC,X:new MC,x:new OC,t:new AC,T:new CC},NC=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,kC=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,LC=/^'([^]*?)'?$/,qC=/''/g,UC=/\S/,HC=/[a-zA-Z]/;function PC(a,i,n,t){var C,H,O,Y,K,X,re,V;const l=()=>Et((t==null?void 0:t.in)||n,NaN),s=jA(),c=(t==null?void 0:t.locale)??s.locale??sb,d=(t==null?void 0:t.firstWeekContainsDate)??((H=(C=t==null?void 0:t.locale)==null?void 0:C.options)==null?void 0:H.firstWeekContainsDate)??s.firstWeekContainsDate??((Y=(O=s.locale)==null?void 0:O.options)==null?void 0:Y.firstWeekContainsDate)??1,h=(t==null?void 0:t.weekStartsOn)??((X=(K=t==null?void 0:t.locale)==null?void 0:K.options)==null?void 0:X.weekStartsOn)??s.weekStartsOn??((V=(re=s.locale)==null?void 0:re.options)==null?void 0:V.weekStartsOn)??0;if(!i)return a?l():xe(n,t==null?void 0:t.in);const m={firstWeekContainsDate:d,weekStartsOn:h,locale:c},v=[new WA(t==null?void 0:t.in,n)],g=i.match(kC).map(_=>{const E=_[0];if(E in Z2){const D=Z2[E];return D(_,c.formatLong)}return _}).join("").match(NC),S=[];for(let _ of g){const E=_[0],D=RC[E];if(D){const{incompatibleTokens:q}=D;if(Array.isArray(q)){const z=S.find(B=>q.includes(B.token)||B.token===E);if(z)throw new RangeError(`The format string mustn't contain \`${z.fullToken}\` and \`${_}\` at the same time`)}else if(D.incompatibleTokens==="*"&&S.length>0)throw new RangeError(`The format string mustn't contain \`${_}\` and any other token at the same time`);S.push({token:E,fullToken:_});const k=D.run(a,_,c.match,m);if(!k)return l();v.push(k.setter),a=k.rest}else{if(E.match(HC))throw new RangeError("Format string contains an unescaped latin alphabet character `"+E+"`");if(_==="''"?_="'":E==="'"&&(_=zC(_)),a.indexOf(_)===0)a=a.slice(_.length);else return l()}}if(a.length>0&&UC.test(a))return l();const w=v.map(_=>_.priority).sort((_,E)=>E-_).filter((_,E,D)=>D.indexOf(_)===E).map(_=>v.filter(E=>E.priority===_).sort((E,D)=>D.subPriority-E.subPriority)).map(_=>_[0]);let M=xe(n,t==null?void 0:t.in);if(isNaN(+M))return l();const R={};for(const _ of w){if(!_.validate(M,m))return l();const E=_.set(M,R,m);Array.isArray(E)?(M=E[0],Object.assign(R,E[1])):M=E}return M}function zC(a){return a.match(LC)[1].replace(qC,"'")}function YC(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i);return t.getFullYear()===l.getFullYear()&&t.getMonth()===l.getMonth()}function jC(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i);return+G2(t)==+G2(l)}function BC(a,i,n){const[t,l]=Va(n==null?void 0:n.in,a,i);return t.getFullYear()===l.getFullYear()}function Us(a,i,n){const t=+xe(a,n==null?void 0:n.in),[l,s]=[+xe(i.start,n==null?void 0:n.in),+xe(i.end,n==null?void 0:n.in)].sort((c,d)=>c-d);return t>=l&&t<=s}function IC(a,i,n){return Zr(a,-1,n)}function FC(a,i){const n=()=>Et(i==null?void 0:i.in,NaN),l=WC(a);let s;if(l.date){const m=QC(l.date,2);s=KC(m.restDateString,m.year)}if(!s||isNaN(+s))return n();const c=+s;let d=0,h;if(l.time&&(d=XC(l.time),isNaN(d)))return n();if(l.timezone){if(h=$C(l.timezone),isNaN(h))return n()}else{const m=new Date(c+d),v=xe(0,i==null?void 0:i.in);return v.setFullYear(m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate()),v.setHours(m.getUTCHours(),m.getUTCMinutes(),m.getUTCSeconds(),m.getUTCMilliseconds()),v}return xe(c+d+h,i==null?void 0:i.in)}const cc={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},GC=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,ZC=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,VC=/^([+-])(\d{2})(?::?(\d{2}))?$/;function WC(a){const i={},n=a.split(cc.dateTimeDelimiter);let t;if(n.length>2)return i;if(/:/.test(n[0])?t=n[0]:(i.date=n[0],t=n[1],cc.timeZoneDelimiter.test(i.date)&&(i.date=a.split(cc.timeZoneDelimiter)[0],t=a.substr(i.date.length,a.length))),t){const l=cc.timezone.exec(t);l?(i.time=t.replace(l[1],""),i.timezone=l[1]):i.time=t}return i}function QC(a,i){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+i)+"})|(\\d{2}|[+-]\\d{"+(2+i)+"})$)"),t=a.match(n);if(!t)return{year:NaN,restDateString:""};const l=t[1]?parseInt(t[1]):null,s=t[2]?parseInt(t[2]):null;return{year:s===null?l:s*100,restDateString:a.slice((t[1]||t[2]).length)}}function KC(a,i){if(i===null)return new Date(NaN);const n=a.match(GC);if(!n)return new Date(NaN);const t=!!n[4],l=Ms(n[1]),s=Ms(n[2])-1,c=Ms(n[3]),d=Ms(n[4]),h=Ms(n[5])-1;if(t)return rR(i,d,h)?JC(i,d,h):new Date(NaN);{const m=new Date(0);return!tR(i,s,c)||!nR(i,l)?new Date(NaN):(m.setUTCFullYear(i,s,Math.max(l,c)),m)}}function Ms(a){return a?parseInt(a):1}function XC(a){const i=a.match(ZC);if(!i)return NaN;const n=o2(i[1]),t=o2(i[2]),l=o2(i[3]);return aR(n,t,l)?n*nf+t*tf+l*1e3:NaN}function o2(a){return a&&parseFloat(a.replace(",","."))||0}function $C(a){if(a==="Z")return 0;const i=a.match(VC);if(!i)return 0;const n=i[1]==="+"?-1:1,t=parseInt(i[2]),l=i[3]&&parseInt(i[3])||0;return iR(t,l)?n*(t*nf+l*tf):NaN}function JC(a,i,n){const t=new Date(0);t.setUTCFullYear(a,0,4);const l=t.getUTCDay()||7,s=(i-1)*7+n+1-l;return t.setUTCDate(t.getUTCDate()+s),t}const eR=[31,null,31,30,31,30,31,31,30,31,30,31];function mb(a){return a%400===0||a%4===0&&a%100!==0}function tR(a,i,n){return i>=0&&i<=11&&n>=1&&n<=(eR[i]||(mb(a)?29:28))}function nR(a,i){return i>=1&&i<=(mb(a)?366:365)}function rR(a,i,n){return i>=1&&i<=53&&n>=0&&n<=6}function aR(a,i,n){return a===24?i===0&&n===0:n>=0&&n<60&&i>=0&&i<60&&a>=0&&a<25}function iR(a,i){return i>=0&&i<=59}function Rr(a,i,n){const t=xe(a,n==null?void 0:n.in),l=t.getFullYear(),s=t.getDate(),c=Et(a,0);c.setFullYear(l,i,15),c.setHours(0,0,0,0);const d=YA(c);return t.setMonth(i,Math.min(s,d)),t}function bc(a,i,n){const t=xe(a,n==null?void 0:n.in);return t.setHours(i),t}function _c(a,i,n){const t=xe(a,n==null?void 0:n.in);return t.setMinutes(i),t}function Xl(a,i,n){const t=xe(a,n==null?void 0:n.in),l=Math.trunc(t.getMonth()/3)+1,s=i-l;return Rr(t,t.getMonth()+s*3)}function Sc(a,i,n){const t=xe(a,n==null?void 0:n.in);return t.setSeconds(i),t}function ua(a,i,n){const t=xe(a,n==null?void 0:n.in);return isNaN(+t)?Et(a,NaN):(t.setFullYear(i),t)}function il(a,i,n){return Wr(a,-i,n)}function vb(a,i,n){return Am(a,-1,n)}function u9(a,i,n){return Nc(a,-1,n)}function oo(a,i,n){return za(a,-i,n)}var Pc=typeof document<"u"?y.useLayoutEffect:y.useEffect;const lR={...k9},oR=lR.useInsertionEffect,sR=oR||(a=>a());function uR(a){const i=y.useRef(()=>{});return sR(()=>{i.current=a}),y.useCallback(function(){for(var n=arguments.length,t=new Array(n),l=0;l<n;l++)t[l]=arguments[l];return i.current==null?void 0:i.current(...t)},[])}var Ec=typeof document<"u"?y.useLayoutEffect:y.useEffect;function zc(a,i){if(a===i)return!0;if(typeof a!=typeof i)return!1;if(typeof a=="function"&&a.toString()===i.toString())return!0;let n,t,l;if(a&&i&&typeof a=="object"){if(Array.isArray(a)){if(n=a.length,n!==i.length)return!1;for(t=n;t--!==0;)if(!zc(a[t],i[t]))return!1;return!0}if(l=Object.keys(a),n=l.length,n!==Object.keys(i).length)return!1;for(t=n;t--!==0;)if(!{}.hasOwnProperty.call(i,l[t]))return!1;for(t=n;t--!==0;){const s=l[t];if(!(s==="_owner"&&a.$$typeof)&&!zc(a[s],i[s]))return!1}return!0}return a!==a&&i!==i}function gb(a){return typeof window>"u"?1:(a.ownerDocument.defaultView||window).devicePixelRatio||1}function c9(a,i){const n=gb(a);return Math.round(i*n)/n}function s2(a){const i=y.useRef(a);return Ec(()=>{i.current=a}),i}function cR(a){a===void 0&&(a={});const{placement:i="bottom",strategy:n="absolute",middleware:t=[],platform:l,elements:{reference:s,floating:c}={},transform:d=!0,whileElementsMounted:h,open:m}=a,[v,g]=y.useState({x:0,y:0,strategy:n,placement:i,middlewareData:{},isPositioned:!1}),[S,w]=y.useState(t);zc(S,t)||w(t);const[M,R]=y.useState(null),[C,H]=y.useState(null),O=y.useCallback(L=>{L!==re.current&&(re.current=L,R(L))},[]),Y=y.useCallback(L=>{L!==V.current&&(V.current=L,H(L))},[]),K=s||M,X=c||C,re=y.useRef(null),V=y.useRef(null),_=y.useRef(v),E=h!=null,D=s2(h),q=s2(l),k=s2(m),z=y.useCallback(()=>{if(!re.current||!V.current)return;const L={placement:i,strategy:n,middleware:S};q.current&&(L.platform=q.current),y2(re.current,V.current,L).then($=>{const A={...$,isPositioned:k.current!==!1};B.current&&!zc(_.current,A)&&(_.current=A,m8.flushSync(()=>{g(A)}))})},[S,i,n,q,k]);Ec(()=>{m===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,g(L=>({...L,isPositioned:!1})))},[m]);const B=y.useRef(!1);Ec(()=>(B.current=!0,()=>{B.current=!1}),[]),Ec(()=>{if(K&&(re.current=K),X&&(V.current=X),K&&X){if(D.current)return D.current(K,X,z);z()}},[K,X,z,D,E]);const U=y.useMemo(()=>({reference:re,floating:V,setReference:O,setFloating:Y}),[O,Y]),T=y.useMemo(()=>({reference:K,floating:X}),[K,X]),N=y.useMemo(()=>{const L={position:n,left:0,top:0};if(!T.floating)return L;const $=c9(T.floating,v.x),A=c9(T.floating,v.y);return d?{...L,transform:"translate("+$+"px, "+A+"px)",...gb(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:$,top:A}},[n,d,T.floating,v.x,v.y]);return y.useMemo(()=>({...v,update:z,refs:U,elements:T,floatingStyles:N}),[v,z,U,T,N])}const fR=a=>{function i(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:a,fn(n){const{element:t,padding:l}=typeof a=="function"?a(n):a;return t&&i(t)?t.current!=null?g2({element:t.current,padding:l}).fn(n):{}:t?g2({element:t,padding:l}).fn(n):{}}}},dR=(a,i)=>({...Z9(a),options:[a,i]}),hR=(a,i)=>({...V9(a),options:[a,i]}),pR=(a,i)=>({...fR(a),options:[a,i]}),mR={...k9};let f9=!1,vR=0;const d9=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+vR++;function gR(){const[a,i]=y.useState(()=>f9?d9():void 0);return Pc(()=>{a==null&&i(d9())},[]),y.useEffect(()=>{f9=!0},[]),a}const yR=mR.useId,yb=yR||gR,bR=y.forwardRef(function(i,n){const{context:{placement:t,elements:{floating:l},middlewareData:{arrow:s,shift:c}},width:d=14,height:h=7,tipRadius:m=0,strokeWidth:v=0,staticOffset:g,stroke:S,d:w,style:{transform:M,...R}={},...C}=i,H=yb(),[O,Y]=y.useState(!1);if(Pc(()=>{if(!l)return;kr(l).direction==="rtl"&&Y(!0)},[l]),!l)return null;const[K,X]=t.split("-"),re=K==="top"||K==="bottom";let V=g;(re&&c!=null&&c.x||!re&&c!=null&&c.y)&&(V=null);const _=v*2,E=_/2,D=d/2*(m/-8+1),q=h/2*m/4,k=!!w,z=V&&X==="end"?"bottom":"top";let B=V&&X==="end"?"right":"left";V&&O&&(B=X==="end"?"left":"right");const U=(s==null?void 0:s.x)!=null?V||s.x:"",T=(s==null?void 0:s.y)!=null?V||s.y:"",N=w||"M0,0"+(" H"+d)+(" L"+(d-D)+","+(h-q))+(" Q"+d/2+","+h+" "+D+","+(h-q))+" Z",L={top:k?"rotate(180deg)":"",left:k?"rotate(90deg)":"rotate(-90deg)",bottom:k?"":"rotate(180deg)",right:k?"rotate(-90deg)":"rotate(90deg)"}[K];return W.jsxs("svg",{...C,"aria-hidden":!0,ref:n,width:k?d:d+_,height:d,viewBox:"0 0 "+d+" "+(h>d?h:d),style:{position:"absolute",pointerEvents:"none",[B]:U,[z]:T,[K]:re||k?"100%":"calc(100% - "+_/2+"px)",transform:[L,M].filter($=>!!$).join(" "),...R},children:[_>0&&W.jsx("path",{clipPath:"url(#"+H+")",fill:"none",stroke:S,strokeWidth:_+(w?0:1),d:N}),W.jsx("path",{stroke:_&&!w?C.fill:"none",d:N}),W.jsx("clipPath",{id:H,children:W.jsx("rect",{x:-E,y:E*(k?-1:1),width:d+_,height:d})})]})});function _R(){const a=new Map;return{emit(i,n){var t;(t=a.get(i))==null||t.forEach(l=>l(n))},on(i,n){a.has(i)||a.set(i,new Set),a.get(i).add(n)},off(i,n){var t;(t=a.get(i))==null||t.delete(n)}}}const SR=y.createContext(null),ER=y.createContext(null),wR=()=>{var a;return((a=y.useContext(SR))==null?void 0:a.id)||null},DR=()=>y.useContext(ER);function TR(a){const{open:i=!1,onOpenChange:n,elements:t}=a,l=yb(),s=y.useRef({}),[c]=y.useState(()=>_R()),d=wR()!=null,[h,m]=y.useState(t.reference),v=uR((w,M,R)=>{s.current.openEvent=w?M:void 0,c.emit("openchange",{open:w,event:M,reason:R,nested:d}),n==null||n(w,M,R)}),g=y.useMemo(()=>({setPositionReference:m}),[]),S=y.useMemo(()=>({reference:h||t.reference||null,floating:t.floating||null,domReference:t.reference}),[h,t.reference,t.floating]);return y.useMemo(()=>({dataRef:s,open:i,onOpenChange:v,elements:S,events:c,floatingId:l,refs:g}),[i,v,S,c,l,g])}function xR(a){a===void 0&&(a={});const{nodeId:i}=a,n=TR({...a,elements:{reference:null,floating:null,...a.elements}}),t=a.rootContext||n,l=t.elements,[s,c]=y.useState(null),[d,h]=y.useState(null),v=(l==null?void 0:l.domReference)||s,g=y.useRef(null),S=DR();Pc(()=>{v&&(g.current=v)},[v]);const w=cR({...a,elements:{...l,...d&&{reference:d}}}),M=y.useCallback(Y=>{const K=Fn(Y)?{getBoundingClientRect:()=>Y.getBoundingClientRect(),getClientRects:()=>Y.getClientRects(),contextElement:Y}:Y;h(K),w.refs.setReference(K)},[w.refs]),R=y.useCallback(Y=>{(Fn(Y)||Y===null)&&(g.current=Y,c(Y)),(Fn(w.refs.reference.current)||w.refs.reference.current===null||Y!==null&&!Fn(Y))&&w.refs.setReference(Y)},[w.refs]),C=y.useMemo(()=>({...w.refs,setReference:R,setPositionReference:M,domReference:g}),[w.refs,R,M]),H=y.useMemo(()=>({...w.elements,domReference:v}),[w.elements,v]),O=y.useMemo(()=>({...w,...t,refs:C,elements:H,nodeId:i}),[w,C,H,i,t]);return Pc(()=>{t.dataRef.current.floatingContext=O;const Y=S==null?void 0:S.nodesRef.current.find(K=>K.id===i);Y&&(Y.context=O)}),y.useMemo(()=>({...w,context:O,refs:C,elements:H}),[w,C,H,O])}/*!
  react-datepicker v8.3.0
  https://github.com/Hacker0x01/react-datepicker
  Released under the MIT License.
*/var W2=function(i,n){return W2=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,l){t.__proto__=l}||function(t,l){for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(t[s]=l[s])},W2(i,n)};function Sn(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");W2(a,i);function n(){this.constructor=a}a.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)}var it=function(){return it=Object.assign||function(n){for(var t,l=1,s=arguments.length;l<s;l++){t=arguments[l];for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&(n[c]=t[c])}return n},it.apply(this,arguments)};function ha(a,i,n){if(n||arguments.length===2)for(var t=0,l=i.length,s;t<l;t++)(s||!(t in i))&&(s||(s=Array.prototype.slice.call(i,0,t)),s[t]=i[t]);return a.concat(s||Array.prototype.slice.call(i))}var MR=function(a){var i=a.showTimeSelectOnly,n=i===void 0?!1:i,t=a.showTime,l=t===void 0?!1:t,s=a.className,c=a.children,d=n?"Choose Time":"Choose Date".concat(l?" and Time":"");return Z.createElement("div",{className:s,role:"dialog","aria-label":d,"aria-modal":"true"},c)},OR=function(a,i){var n=y.useRef(null),t=y.useRef(a);t.current=a;var l=y.useCallback(function(s){var c,d=s.composed&&s.composedPath&&s.composedPath().find(function(h){return h instanceof Node})||s.target;n.current&&!n.current.contains(d)&&(i&&d instanceof HTMLElement&&d.classList.contains(i)||(c=t.current)===null||c===void 0||c.call(t,s))},[i]);return y.useEffect(function(){return document.addEventListener("mousedown",l),function(){document.removeEventListener("mousedown",l)}},[l]),n},af=function(a){var i=a.children,n=a.onClickOutside,t=a.className,l=a.containerRef,s=a.style,c=a.ignoreClass,d=OR(n,c);return Z.createElement("div",{className:t,style:s,ref:function(h){d.current=h,l&&(l.current=h)}},i)},ve;(function(a){a.ArrowUp="ArrowUp",a.ArrowDown="ArrowDown",a.ArrowLeft="ArrowLeft",a.ArrowRight="ArrowRight",a.PageUp="PageUp",a.PageDown="PageDown",a.Home="Home",a.End="End",a.Enter="Enter",a.Space=" ",a.Tab="Tab",a.Escape="Escape",a.Backspace="Backspace",a.X="x"})(ve||(ve={}));function bb(){var a=typeof window<"u"?window:globalThis;return a}var Zs=12;function pt(a){if(a==null)return new Date;var i=typeof a=="string"?FC(a):xe(a);return lf(i)?i:new Date}function u2(a,i,n,t,l){l===void 0&&(l=pt());for(var s=so(n)||so(Lm()),c=Array.isArray(i)?i:[i],d=0,h=c;d<h.length;d++){var m=h[d],v=PC(a,m,l,{locale:s});if(lf(v)&&(!t||a===Bt(v,m,n)))return v}return null}function lf(a,i){return kc(a)&&!cl(a,new Date("1/1/1800"))}function Bt(a,i,n){if(n==="en")return o9(a,i,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});var t=n?so(n):void 0;return n&&!t&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),t=t||so(Lm()),o9(a,i,{locale:t,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function Cr(a,i){var n=i.dateFormat,t=i.locale,l=Array.isArray(n)&&n.length>0?n[0]:n;return a&&Bt(a,l,t)||""}function AR(a,i,n){if(!a)return"";var t=Cr(a,n),l=i?Cr(i,n):"";return"".concat(t," - ").concat(l)}function CR(a,i){if(!(a!=null&&a.length))return"";var n=a[0]?Cr(a[0],i):"";if(a.length===1)return n;if(a.length===2&&a[1]){var t=Cr(a[1],i);return"".concat(n,", ").concat(t)}var l=a.length-1;return"".concat(n," (+").concat(l,")")}function c2(a,i){var n=i.hour,t=n===void 0?0:n,l=i.minute,s=l===void 0?0:l,c=i.second,d=c===void 0?0:c;return bc(_c(Sc(a,d),s),t)}function RR(a){return Cm(a)}function NR(a,i){return Bt(a,"ddd",i)}function wc(a){return ul(a)}function Ai(a,i,n){var t=so(i||Lm());return Ga(a,{locale:t,weekStartsOn:n})}function Ia(a){return lb(a)}function Ns(a){return rf(a)}function h9(a){return G2(a)}function p9(){return ul(pt())}function m9(a){return ab(a)}function kR(a){return FO(a)}function LR(a){return ib(a)}function ca(a,i){return a&&i?BC(a,i):!a&&!i}function In(a,i){return a&&i?YC(a,i):!a&&!i}function Yc(a,i){return a&&i?jC(a,i):!a&&!i}function at(a,i){return a&&i?BO(a,i):!a&&!i}function nl(a,i){return a&&i?IA(a,i):!a&&!i}function ks(a,i,n){var t,l=ul(i),s=ab(n);try{t=Us(a,{start:l,end:s})}catch{t=!1}return t}function Lm(){var a=bb();return a.__localeId__}function so(a){if(typeof a=="string"){var i=bb();return i.__localeData__?i.__localeData__[a]:void 0}else return a}function qR(a,i,n){return i(Bt(a,"EEEE",n))}function UR(a,i){return Bt(a,"EEEEEE",i)}function HR(a,i){return Bt(a,"EEE",i)}function qm(a,i){return Bt(Rr(pt(),a),"LLLL",i)}function _b(a,i){return Bt(Rr(pt(),a),"LLL",i)}function PR(a,i){return Bt(Xl(pt(),a),"QQQ",i)}function Nr(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.excludeDateIntervals,d=n.includeDates,h=n.includeDateIntervals,m=n.filterDate;return Vs(a,{minDate:t,maxDate:l})||s&&s.some(function(v){return v instanceof Date?at(a,v):at(a,v.date)})||c&&c.some(function(v){var g=v.start,S=v.end;return Us(a,{start:g,end:S})})||d&&!d.some(function(v){return at(a,v)})||h&&!h.some(function(v){var g=v.start,S=v.end;return Us(a,{start:g,end:S})})||m&&!m(pt(a))||!1}function Um(a,i){var n=i===void 0?{}:i,t=n.excludeDates,l=n.excludeDateIntervals;return l&&l.length>0?l.some(function(s){var c=s.start,d=s.end;return Us(a,{start:c,end:d})}):t&&t.some(function(s){var c;return s instanceof Date?at(a,s):at(a,(c=s.date)!==null&&c!==void 0?c:new Date)})||!1}function Sb(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates,d=n.filterDate;return Vs(a,{minDate:t?lb(t):void 0,maxDate:l?ib(l):void 0})||(s==null?void 0:s.some(function(h){return In(a,h instanceof Date?h:h.date)}))||c&&!c.some(function(h){return In(a,h)})||d&&!d(pt(a))||!1}function fc(a,i,n,t){var l=Ge(a),s=Gn(a),c=Ge(i),d=Gn(i),h=Ge(t);return l===c&&l===h?s<=n&&n<=d:l<c?h===l&&s<=n||h===c&&d>=n||h<c&&h>l:!1}function zR(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates;return Vs(a,{minDate:t,maxDate:l})||s&&s.some(function(d){return In(d instanceof Date?d:d.date,a)})||c&&!c.some(function(d){return In(d,a)})||!1}function dc(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates,d=n.filterDate;return Vs(a,{minDate:t,maxDate:l})||(s==null?void 0:s.some(function(h){return Yc(a,h instanceof Date?h:h.date)}))||c&&!c.some(function(h){return Yc(a,h)})||d&&!d(pt(a))||!1}function hc(a,i,n){if(!i||!n||!kc(i)||!kc(n))return!1;var t=Ge(i),l=Ge(n);return t<=a&&l>=a}function Dc(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates,d=n.filterDate,h=new Date(a,0,1);return Vs(h,{minDate:t?rf(t):void 0,maxDate:l?ob(l):void 0})||(s==null?void 0:s.some(function(m){return ca(h,m instanceof Date?m:m.date)}))||c&&!c.some(function(m){return ca(h,m)})||d&&!d(pt(h))||!1}function pc(a,i,n,t){var l=Ge(a),s=al(a),c=Ge(i),d=al(i),h=Ge(t);return l===c&&l===h?s<=n&&n<=d:l<c?h===l&&s<=n||h===c&&d>=n||h<c&&h>l:!1}function Vs(a,i){var n,t=i===void 0?{}:i,l=t.minDate,s=t.maxDate;return(n=l&&lo(a,l)<0||s&&lo(a,s)>0)!==null&&n!==void 0?n:!1}function v9(a,i){return i.some(function(n){return ja(n)===ja(a)&&Ba(n)===Ba(a)&&Oi(n)===Oi(a)})}function g9(a,i){var n=i===void 0?{}:i,t=n.excludeTimes,l=n.includeTimes,s=n.filterTime;return t&&v9(a,t)||l&&!v9(a,l)||s&&!s(a)||!1}function y9(a,i){var n=i.minTime,t=i.maxTime;if(!n||!t)throw new Error("Both minTime and maxTime props required");var l=pt();l=bc(l,ja(a)),l=_c(l,Ba(a)),l=Sc(l,Oi(a));var s=pt();s=bc(s,ja(n)),s=_c(s,Ba(n)),s=Sc(s,Oi(n));var c=pt();c=bc(c,ja(t)),c=_c(c,Ba(t)),c=Sc(c,Oi(t));var d;try{d=!Us(l,{start:s,end:c})}catch{d=!1}return d}function b9(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.includeDates,s=il(a,1);return t&&Lc(t,s)>0||l&&l.every(function(c){return Lc(c,s)>0})||!1}function _9(a,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.includeDates,s=Wr(a,1);return t&&Lc(s,t)>0||l&&l.every(function(c){return Lc(s,c)>0})||!1}function YR(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.includeDates,s=rf(a),c=vb(s);return t&&qc(t,c)>0||l&&l.every(function(d){return qc(d,c)>0})||!1}function jR(a,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.includeDates,s=ob(a),c=Am(s,1);return t&&qc(c,t)>0||l&&l.every(function(d){return qc(c,d)>0})||!1}function S9(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.includeDates,s=oo(a,1);return t&&Uc(t,s)>0||l&&l.every(function(c){return Uc(c,s)>0})||!1}function BR(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.yearItemNumber,s=l===void 0?Zs:l,c=Ns(oo(a,s)),d=Mi(c,s).endPeriod,h=t&&Ge(t);return h&&h>d||!1}function E9(a,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.includeDates,s=za(a,1);return t&&Uc(s,t)>0||l&&l.every(function(c){return Uc(s,c)>0})||!1}function IR(a,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.yearItemNumber,s=l===void 0?Zs:l,c=za(a,s),d=Mi(c,s).startPeriod,h=t&&Ge(t);return h&&h<d||!1}function Eb(a){var i=a.minDate,n=a.includeDates;if(n&&i){var t=n.filter(function(l){return lo(l,i)>=0});return t9(t)}else return n?t9(n):i}function wb(a){var i=a.maxDate,n=a.includeDates;if(n&&i){var t=n.filter(function(l){return lo(l,i)<=0});return e9(t)}else return n?e9(n):i}function w9(a,i){var n;a===void 0&&(a=[]),i===void 0&&(i="react-datepicker__day--highlighted");for(var t=new Map,l=0,s=a.length;l<s;l++){var c=a[l];if(Ya(c)){var d=Bt(c,"MM.dd.yyyy"),h=t.get(d)||[];h.includes(i)||(h.push(i),t.set(d,h))}else if(typeof c=="object"){var m=Object.keys(c),v=(n=m[0])!==null&&n!==void 0?n:"",g=c[v];if(typeof v=="string"&&Array.isArray(g))for(var S=0,w=g.length;S<w;S++){var M=g[S];if(M){var d=Bt(M,"MM.dd.yyyy"),h=t.get(d)||[];h.includes(v)||(h.push(v),t.set(d,h))}}}}return t}function FR(a,i){return a.length!==i.length?!1:a.every(function(n,t){return n===i[t]})}function GR(a,i){a===void 0&&(a=[]),i===void 0&&(i="react-datepicker__day--holidays");var n=new Map;return a.forEach(function(t){var l=t.date,s=t.holidayName;if(Ya(l)){var c=Bt(l,"MM.dd.yyyy"),d=n.get(c)||{className:"",holidayNames:[]};if(!("className"in d&&d.className===i&&FR(d.holidayNames,[s]))){d.className=i;var h=d.holidayNames;d.holidayNames=h?ha(ha([],h,!0),[s],!1):[s],n.set(c,d)}}}),n}function ZR(a,i,n,t,l){for(var s=l.length,c=[],d=0;d<s;d++){var h=a,m=l[d];m&&(h=PO(h,ja(m)),h=F2(h,Ba(m)),h=jO(h,Oi(m)));var v=F2(a,(n+1)*t);Ri(h,i)&&cl(h,v)&&m!=null&&c.push(m)}return c}function D9(a){return a<10?"0".concat(a):"".concat(a)}function Mi(a,i){i===void 0&&(i=Zs);var n=Math.ceil(Ge(a)/i)*i,t=n-(i-1);return{startPeriod:t,endPeriod:n}}function VR(a){var i=new Date(a.getFullYear(),a.getMonth(),a.getDate()),n=new Date(a.getFullYear(),a.getMonth(),a.getDate(),24);return Math.round((+n-+i)/36e5)}function T9(a){var i=a.getSeconds(),n=a.getMilliseconds();return xe(a.getTime()-i*1e3-n)}function WR(a,i){return T9(a).getTime()===T9(i).getTime()}function x9(a){if(!Ya(a))throw new Error("Invalid date");var i=new Date(a);return i.setHours(0,0,0,0),i}function M9(a,i){if(!Ya(a)||!Ya(i))throw new Error("Invalid date received");var n=x9(a),t=x9(i);return cl(n,t)}function Db(a){return a.key===ve.Space}var QR=function(a){Sn(i,a);function i(n){var t=a.call(this,n)||this;return t.inputRef=Z.createRef(),t.onTimeChange=function(l){var s,c;t.setState({time:l});var d=t.props.date,h=d instanceof Date&&!isNaN(+d),m=h?d:new Date;if(l!=null&&l.includes(":")){var v=l.split(":"),g=v[0],S=v[1];m.setHours(Number(g)),m.setMinutes(Number(S))}(c=(s=t.props).onChange)===null||c===void 0||c.call(s,m)},t.renderTimeInput=function(){var l=t.state.time,s=t.props,c=s.date,d=s.timeString,h=s.customTimeInput;return h?y.cloneElement(h,{date:c,value:l,onChange:t.onTimeChange}):Z.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",ref:t.inputRef,onClick:function(){var m;(m=t.inputRef.current)===null||m===void 0||m.focus()},required:!0,value:l,onChange:function(m){t.onTimeChange(m.target.value||d)}})},t.state={time:t.props.timeString},t}return i.getDerivedStateFromProps=function(n,t){return n.timeString!==t.time?{time:n.timeString}:null},i.prototype.render=function(){return Z.createElement("div",{className:"react-datepicker__input-time-container"},Z.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),Z.createElement("div",{className:"react-datepicker-time__input-container"},Z.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))},i}(y.Component),KR=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.dayEl=y.createRef(),n.handleClick=function(t){!n.isDisabled()&&n.props.onClick&&n.props.onClick(t)},n.handleMouseEnter=function(t){!n.isDisabled()&&n.props.onMouseEnter&&n.props.onMouseEnter(t)},n.handleOnKeyDown=function(t){var l,s,c=t.key;c===ve.Space&&(t.preventDefault(),t.key=ve.Enter),(s=(l=n.props).handleOnKeyDown)===null||s===void 0||s.call(l,t)},n.isSameDay=function(t){return at(n.props.day,t)},n.isKeyboardSelected=function(){var t;if(n.props.disabledKeyboardNavigation)return!1;var l=n.props.selectsMultiple?(t=n.props.selectedDates)===null||t===void 0?void 0:t.some(function(c){return n.isSameDayOrWeek(c)}):n.isSameDayOrWeek(n.props.selected),s=n.props.preSelection&&n.isDisabled(n.props.preSelection);return!l&&n.isSameDayOrWeek(n.props.preSelection)&&!s},n.isDisabled=function(t){return t===void 0&&(t=n.props.day),Nr(t,{minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,includeDateIntervals:n.props.includeDateIntervals,includeDates:n.props.includeDates,filterDate:n.props.filterDate})},n.isExcluded=function(){return Um(n.props.day,{excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals})},n.isStartOfWeek=function(){return at(n.props.day,Ai(n.props.day,n.props.locale,n.props.calendarStartDay))},n.isSameWeek=function(t){return n.props.showWeekPicker&&at(t,Ai(n.props.day,n.props.locale,n.props.calendarStartDay))},n.isSameDayOrWeek=function(t){return n.isSameDay(t)||n.isSameWeek(t)},n.getHighLightedClass=function(){var t=n.props,l=t.day,s=t.highlightDates;if(!s)return!1;var c=Bt(l,"MM.dd.yyyy");return s.get(c)},n.getHolidaysClass=function(){var t,l=n.props,s=l.day,c=l.holidays;if(!c)return[void 0];var d=Bt(s,"MM.dd.yyyy");return c.has(d)?[(t=c.get(d))===null||t===void 0?void 0:t.className]:[void 0]},n.isInRange=function(){var t=n.props,l=t.day,s=t.startDate,c=t.endDate;return!s||!c?!1:ks(l,s,c)},n.isInSelectingRange=function(){var t,l=n.props,s=l.day,c=l.selectsStart,d=l.selectsEnd,h=l.selectsRange,m=l.selectsDisabledDaysInRange,v=l.startDate,g=l.endDate,S=(t=n.props.selectingDate)!==null&&t!==void 0?t:n.props.preSelection;return!(c||d||h)||!S||!m&&n.isDisabled()?!1:c&&g&&(cl(S,g)||nl(S,g))?ks(s,S,g):d&&v&&!g&&(Ri(S,v)||nl(S,v))||h&&v&&!g&&(Ri(S,v)||nl(S,v))?ks(s,v,S):!1},n.isSelectingRangeStart=function(){var t;if(!n.isInSelectingRange())return!1;var l=n.props,s=l.day,c=l.startDate,d=l.selectsStart,h=(t=n.props.selectingDate)!==null&&t!==void 0?t:n.props.preSelection;return d?at(s,h):at(s,c)},n.isSelectingRangeEnd=function(){var t;if(!n.isInSelectingRange())return!1;var l=n.props,s=l.day,c=l.endDate,d=l.selectsEnd,h=l.selectsRange,m=(t=n.props.selectingDate)!==null&&t!==void 0?t:n.props.preSelection;return d||h?at(s,m):at(s,c)},n.isRangeStart=function(){var t=n.props,l=t.day,s=t.startDate,c=t.endDate;return!s||!c?!1:at(s,l)},n.isRangeEnd=function(){var t=n.props,l=t.day,s=t.startDate,c=t.endDate;return!s||!c?!1:at(c,l)},n.isWeekend=function(){var t=zA(n.props.day);return t===0||t===6},n.isAfterMonth=function(){return n.props.month!==void 0&&(n.props.month+1)%12===Gn(n.props.day)},n.isBeforeMonth=function(){return n.props.month!==void 0&&(Gn(n.props.day)+1)%12===n.props.month},n.isCurrentDay=function(){return n.isSameDay(pt())},n.isSelected=function(){var t;return n.props.selectsMultiple?(t=n.props.selectedDates)===null||t===void 0?void 0:t.some(function(l){return n.isSameDayOrWeek(l)}):n.isSameDayOrWeek(n.props.selected)},n.getClassNames=function(t){var l=n.props.dayClassName?n.props.dayClassName(t):void 0;return Cn("react-datepicker__day",l,"react-datepicker__day--"+NR(n.props.day),{"react-datepicker__day--disabled":n.isDisabled(),"react-datepicker__day--excluded":n.isExcluded(),"react-datepicker__day--selected":n.isSelected(),"react-datepicker__day--keyboard-selected":n.isKeyboardSelected(),"react-datepicker__day--range-start":n.isRangeStart(),"react-datepicker__day--range-end":n.isRangeEnd(),"react-datepicker__day--in-range":n.isInRange(),"react-datepicker__day--in-selecting-range":n.isInSelectingRange(),"react-datepicker__day--selecting-range-start":n.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":n.isSelectingRangeEnd(),"react-datepicker__day--today":n.isCurrentDay(),"react-datepicker__day--weekend":n.isWeekend(),"react-datepicker__day--outside-month":n.isAfterMonth()||n.isBeforeMonth()},n.getHighLightedClass(),n.getHolidaysClass())},n.getAriaLabel=function(){var t=n.props,l=t.day,s=t.ariaLabelPrefixWhenEnabled,c=s===void 0?"Choose":s,d=t.ariaLabelPrefixWhenDisabled,h=d===void 0?"Not available":d,m=n.isDisabled()||n.isExcluded()?h:c;return"".concat(m," ").concat(Bt(l,"PPPP",n.props.locale))},n.getTitle=function(){var t=n.props,l=t.day,s=t.holidays,c=s===void 0?new Map:s,d=t.excludeDates,h=Bt(l,"MM.dd.yyyy"),m=[];return c.has(h)&&m.push.apply(m,c.get(h).holidayNames),n.isExcluded()&&m.push(d==null?void 0:d.filter(function(v){return v instanceof Date?at(v,l):at(v==null?void 0:v.date,l)}).map(function(v){if(!(v instanceof Date))return v==null?void 0:v.message})),m.join(", ")},n.getTabIndex=function(){var t=n.props.selected,l=n.props.preSelection,s=!(n.props.showWeekPicker&&(n.props.showWeekNumber||!n.isStartOfWeek()))&&(n.isKeyboardSelected()||n.isSameDay(t)&&at(l,t))?0:-1;return s},n.handleFocusDay=function(){var t;n.shouldFocusDay()&&((t=n.dayEl.current)===null||t===void 0||t.focus({preventScroll:!0}))},n.renderDayContents=function(){return n.props.monthShowsDuplicateDaysEnd&&n.isAfterMonth()||n.props.monthShowsDuplicateDaysStart&&n.isBeforeMonth()?null:n.props.renderDayContents?n.props.renderDayContents(s9(n.props.day),n.props.day):s9(n.props.day)},n.render=function(){return Z.createElement("div",{ref:n.dayEl,className:n.getClassNames(n.props.day),onKeyDown:n.handleOnKeyDown,onClick:n.handleClick,onMouseEnter:n.props.usePointerEvent?void 0:n.handleMouseEnter,onPointerEnter:n.props.usePointerEvent?n.handleMouseEnter:void 0,tabIndex:n.getTabIndex(),"aria-label":n.getAriaLabel(),role:"option",title:n.getTitle(),"aria-disabled":n.isDisabled(),"aria-current":n.isCurrentDay()?"date":void 0,"aria-selected":n.isSelected()||n.isInRange()},n.renderDayContents(),n.getTitle()!==""&&Z.createElement("span",{className:"overlay"},n.getTitle()))},n}return i.prototype.componentDidMount=function(){this.handleFocusDay()},i.prototype.componentDidUpdate=function(){this.handleFocusDay()},i.prototype.shouldFocusDay=function(){var n=!1;return this.getTabIndex()===0&&this.isSameDay(this.props.preSelection)&&((!document.activeElement||document.activeElement===document.body)&&(n=!0),this.props.inline&&!this.props.shouldFocusDayInline&&(n=!1),this.isDayActiveElement()&&(n=!0),this.isDuplicateDay()&&(n=!1)),n},i.prototype.isDayActiveElement=function(){var n,t,l;return((t=(n=this.props.containerRef)===null||n===void 0?void 0:n.current)===null||t===void 0?void 0:t.contains(document.activeElement))&&((l=document.activeElement)===null||l===void 0?void 0:l.classList.contains("react-datepicker__day"))},i.prototype.isDuplicateDay=function(){return this.props.monthShowsDuplicateDaysEnd&&this.isAfterMonth()||this.props.monthShowsDuplicateDaysStart&&this.isBeforeMonth()},i}(y.Component),XR=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.weekNumberEl=y.createRef(),n.handleClick=function(t){n.props.onClick&&n.props.onClick(t)},n.handleOnKeyDown=function(t){var l,s,c=t.key;c===ve.Space&&(t.preventDefault(),t.key=ve.Enter),(s=(l=n.props).handleOnKeyDown)===null||s===void 0||s.call(l,t)},n.isKeyboardSelected=function(){return!n.props.disabledKeyboardNavigation&&!at(n.props.date,n.props.selected)&&at(n.props.date,n.props.preSelection)},n.getTabIndex=function(){return n.props.showWeekPicker&&n.props.showWeekNumber&&(n.isKeyboardSelected()||at(n.props.date,n.props.selected)&&at(n.props.preSelection,n.props.selected))?0:-1},n.handleFocusWeekNumber=function(t){var l=!1;n.getTabIndex()===0&&!(t!=null&&t.isInputFocused)&&at(n.props.date,n.props.preSelection)&&((!document.activeElement||document.activeElement===document.body)&&(l=!0),n.props.inline&&!n.props.shouldFocusDayInline&&(l=!1),n.props.containerRef&&n.props.containerRef.current&&n.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(l=!0)),l&&n.weekNumberEl.current&&n.weekNumberEl.current.focus({preventScroll:!0})},n}return Object.defineProperty(i,"defaultProps",{get:function(){return{ariaLabelPrefix:"week "}},enumerable:!1,configurable:!0}),i.prototype.componentDidMount=function(){this.handleFocusWeekNumber()},i.prototype.componentDidUpdate=function(n){this.handleFocusWeekNumber(n)},i.prototype.render=function(){var n=this.props,t=n.weekNumber,l=n.isWeekDisabled,s=n.ariaLabelPrefix,c=s===void 0?i.defaultProps.ariaLabelPrefix:s,d=n.onClick,h={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!d&&!l,"react-datepicker__week-number--selected":!!d&&at(this.props.date,this.props.selected)};return Z.createElement("div",{ref:this.weekNumberEl,className:Cn(h),"aria-label":"".concat(c," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},t)},i}(y.Component),$R=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.isDisabled=function(t){return Nr(t,{minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,includeDateIntervals:n.props.includeDateIntervals,includeDates:n.props.includeDates,filterDate:n.props.filterDate})},n.handleDayClick=function(t,l){n.props.onDayClick&&n.props.onDayClick(t,l)},n.handleDayMouseEnter=function(t){n.props.onDayMouseEnter&&n.props.onDayMouseEnter(t)},n.handleWeekClick=function(t,l,s){for(var c,d,h,m=new Date(t),v=0;v<7;v++){var g=new Date(t);g.setDate(g.getDate()+v);var S=!n.isDisabled(g);if(S){m=g;break}}typeof n.props.onWeekSelect=="function"&&n.props.onWeekSelect(m,l,s),n.props.showWeekPicker&&n.handleDayClick(m,s),((c=n.props.shouldCloseOnSelect)!==null&&c!==void 0?c:i.defaultProps.shouldCloseOnSelect)&&((h=(d=n.props).setOpen)===null||h===void 0||h.call(d,!1))},n.formatWeekNumber=function(t){return n.props.formatWeekNumber?n.props.formatWeekNumber(t):RR(t)},n.isWeekDisabled=function(){for(var t=n.startOfWeek(),l=Zr(t,6),s=new Date(t);s<=l;){if(!n.isDisabled(s))return!1;s=Zr(s,1)}return!0},n.renderDays=function(){var t=n.startOfWeek(),l=[],s=n.formatWeekNumber(t);if(n.props.showWeekNumber){var c=n.props.onWeekSelect||n.props.showWeekPicker?n.handleWeekClick.bind(n,t,s):void 0;l.push(Z.createElement(XR,it({key:"W"},i.defaultProps,n.props,{weekNumber:s,isWeekDisabled:n.isWeekDisabled(),date:t,onClick:c})))}return l.concat([0,1,2,3,4,5,6].map(function(d){var h=Zr(t,d);return Z.createElement(KR,it({},i.defaultProps,n.props,{ariaLabelPrefixWhenEnabled:n.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:n.props.disabledDayAriaLabelPrefix,key:h.valueOf(),day:h,onClick:n.handleDayClick.bind(n,h),onMouseEnter:n.handleDayMouseEnter.bind(n,h)}))}))},n.startOfWeek=function(){return Ai(n.props.day,n.props.locale,n.props.calendarStartDay)},n.isKeyboardSelected=function(){return!n.props.disabledKeyboardNavigation&&!at(n.startOfWeek(),n.props.selected)&&at(n.startOfWeek(),n.props.preSelection)},n}return Object.defineProperty(i,"defaultProps",{get:function(){return{shouldCloseOnSelect:!0}},enumerable:!1,configurable:!0}),i.prototype.render=function(){var n={"react-datepicker__week":!0,"react-datepicker__week--selected":at(this.startOfWeek(),this.props.selected),"react-datepicker__week--keyboard-selected":this.isKeyboardSelected()};return Z.createElement("div",{className:Cn(n)},this.renderDays())},i}(y.Component),Os,JR=6,Jl={TWO_COLUMNS:"two_columns",THREE_COLUMNS:"three_columns",FOUR_COLUMNS:"four_columns"},f2=(Os={},Os[Jl.TWO_COLUMNS]={grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2},Os[Jl.THREE_COLUMNS]={grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3},Os[Jl.FOUR_COLUMNS]={grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4},Os),mc=1;function O9(a,i){return a?Jl.FOUR_COLUMNS:i?Jl.TWO_COLUMNS:Jl.THREE_COLUMNS}var eN=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.MONTH_REFS=ha([],Array(12),!0).map(function(){return y.createRef()}),n.QUARTER_REFS=ha([],Array(4),!0).map(function(){return y.createRef()}),n.isDisabled=function(t){return Nr(t,{minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,includeDateIntervals:n.props.includeDateIntervals,includeDates:n.props.includeDates,filterDate:n.props.filterDate})},n.isExcluded=function(t){return Um(t,{excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals})},n.handleDayClick=function(t,l){var s,c;(c=(s=n.props).onDayClick)===null||c===void 0||c.call(s,t,l,n.props.orderInDisplay)},n.handleDayMouseEnter=function(t){var l,s;(s=(l=n.props).onDayMouseEnter)===null||s===void 0||s.call(l,t)},n.handleMouseLeave=function(){var t,l;(l=(t=n.props).onMouseLeave)===null||l===void 0||l.call(t)},n.isRangeStartMonth=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:In(Rr(s,t),c)},n.isRangeStartQuarter=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:Yc(Xl(s,t),c)},n.isRangeEndMonth=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:In(Rr(s,t),d)},n.isRangeEndQuarter=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:Yc(Xl(s,t),d)},n.isInSelectingRangeMonth=function(t){var l,s=n.props,c=s.day,d=s.selectsStart,h=s.selectsEnd,m=s.selectsRange,v=s.startDate,g=s.endDate,S=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return!(d||h||m)||!S?!1:d&&g?fc(S,g,t,c):h&&v||m&&v&&!g?fc(v,S,t,c):!1},n.isSelectingMonthRangeStart=function(t){var l;if(!n.isInSelectingRangeMonth(t))return!1;var s=n.props,c=s.day,d=s.startDate,h=s.selectsStart,m=Rr(c,t),v=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return h?In(m,v):In(m,d)},n.isSelectingMonthRangeEnd=function(t){var l;if(!n.isInSelectingRangeMonth(t))return!1;var s=n.props,c=s.day,d=s.endDate,h=s.selectsEnd,m=s.selectsRange,v=Rr(c,t),g=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return h||m?In(v,g):In(v,d)},n.isInSelectingRangeQuarter=function(t){var l,s=n.props,c=s.day,d=s.selectsStart,h=s.selectsEnd,m=s.selectsRange,v=s.startDate,g=s.endDate,S=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return!(d||h||m)||!S?!1:d&&g?pc(S,g,t,c):h&&v||m&&v&&!g?pc(v,S,t,c):!1},n.isWeekInMonth=function(t){var l=n.props.day,s=Zr(t,6);return In(t,l)||In(s,l)},n.isCurrentMonth=function(t,l){return Ge(t)===Ge(pt())&&l===Gn(pt())},n.isCurrentQuarter=function(t,l){return Ge(t)===Ge(pt())&&l===al(pt())},n.isSelectedMonth=function(t,l,s){return Gn(s)===l&&Ge(t)===Ge(s)},n.isSelectMonthInList=function(t,l,s){return s.some(function(c){return n.isSelectedMonth(t,l,c)})},n.isSelectedQuarter=function(t,l,s){return al(t)===l&&Ge(t)===Ge(s)},n.renderWeeks=function(){for(var t=[],l=n.props.fixedHeight,s=0,c=!1,d=Ai(Ia(n.props.day),n.props.locale,n.props.calendarStartDay),h=function(M){return n.props.showWeekPicker?Ai(M,n.props.locale,n.props.calendarStartDay):n.props.preSelection},m=function(M){return n.props.showWeekPicker?Ai(M,n.props.locale,n.props.calendarStartDay):n.props.selected},v=n.props.selected?m(n.props.selected):void 0,g=n.props.preSelection?h(n.props.preSelection):void 0;t.push(Z.createElement($R,it({},n.props,{ariaLabelPrefix:n.props.weekAriaLabelPrefix,key:s,day:d,month:Gn(n.props.day),onDayClick:n.handleDayClick,onDayMouseEnter:n.handleDayMouseEnter,selected:v,preSelection:g,showWeekNumber:n.props.showWeekNumbers}))),!c;){s++,d=Nc(d,1);var S=l&&s>=JR,w=!l&&!n.isWeekInMonth(d);if(S||w)if(n.props.peekNextMonth)c=!0;else break}return t},n.onMonthClick=function(t,l){var s=n.isMonthDisabledForLabelDate(l),c=s.isDisabled,d=s.labelDate;c||n.handleDayClick(Ia(d),t)},n.onMonthMouseEnter=function(t){var l=n.isMonthDisabledForLabelDate(t),s=l.isDisabled,c=l.labelDate;s||n.handleDayMouseEnter(Ia(c))},n.handleMonthNavigation=function(t,l){var s,c,d,h;(c=(s=n.props).setPreSelection)===null||c===void 0||c.call(s,l),(h=(d=n.MONTH_REFS[t])===null||d===void 0?void 0:d.current)===null||h===void 0||h.focus()},n.handleKeyboardNavigation=function(t,l,s){var c,d=n.props,h=d.selected,m=d.preSelection,v=d.setPreSelection,g=d.minDate,S=d.maxDate,w=d.showFourColumnMonthYearPicker,M=d.showTwoColumnMonthYearPicker;if(m){var R=O9(w,M),C=n.getVerticalOffset(R),H=(c=f2[R])===null||c===void 0?void 0:c.grid,O=function(V,_,E){var D,q,k=_,z=E;switch(V){case ve.ArrowRight:k=Wr(_,mc),z=E===11?0:E+mc;break;case ve.ArrowLeft:k=il(_,mc),z=E===0?11:E-mc;break;case ve.ArrowUp:k=il(_,C),z=!((D=H==null?void 0:H[0])===null||D===void 0)&&D.includes(E)?E+12-C:E-C;break;case ve.ArrowDown:k=Wr(_,C),z=!((q=H==null?void 0:H[H.length-1])===null||q===void 0)&&q.includes(E)?E-12+C:E+C;break}return{newCalculatedDate:k,newCalculatedMonth:z}},Y=function(V,_,E){for(var D=40,q=V,k=!1,z=0,B=O(q,_,E),U=B.newCalculatedDate,T=B.newCalculatedMonth;!k;){if(z>=D){U=_,T=E;break}if(g&&U<g){q=ve.ArrowRight;var N=O(q,U,T);U=N.newCalculatedDate,T=N.newCalculatedMonth}if(S&&U>S){q=ve.ArrowLeft;var N=O(q,U,T);U=N.newCalculatedDate,T=N.newCalculatedMonth}if(zR(U,n.props)){var N=O(q,U,T);U=N.newCalculatedDate,T=N.newCalculatedMonth}else k=!0;z++}return{newCalculatedDate:U,newCalculatedMonth:T}};if(l===ve.Enter){n.isMonthDisabled(s)||(n.onMonthClick(t,s),v==null||v(h));return}var K=Y(l,m,s),X=K.newCalculatedDate,re=K.newCalculatedMonth;switch(l){case ve.ArrowRight:case ve.ArrowLeft:case ve.ArrowUp:case ve.ArrowDown:n.handleMonthNavigation(re,X);break}}},n.getVerticalOffset=function(t){var l,s;return(s=(l=f2[t])===null||l===void 0?void 0:l.verticalNavigationOffset)!==null&&s!==void 0?s:0},n.onMonthKeyDown=function(t,l){var s=n.props,c=s.disabledKeyboardNavigation,d=s.handleOnMonthKeyDown,h=t.key;h!==ve.Tab&&t.preventDefault(),c||n.handleKeyboardNavigation(t,h,l),d&&d(t)},n.onQuarterClick=function(t,l){var s=Xl(n.props.day,l);dc(s,n.props)||n.handleDayClick(h9(s),t)},n.onQuarterMouseEnter=function(t){var l=Xl(n.props.day,t);dc(l,n.props)||n.handleDayMouseEnter(h9(l))},n.handleQuarterNavigation=function(t,l){var s,c,d,h;n.isDisabled(l)||n.isExcluded(l)||((c=(s=n.props).setPreSelection)===null||c===void 0||c.call(s,l),(h=(d=n.QUARTER_REFS[t-1])===null||d===void 0?void 0:d.current)===null||h===void 0||h.focus())},n.onQuarterKeyDown=function(t,l){var s,c,d=t.key;if(!n.props.disabledKeyboardNavigation)switch(d){case ve.Enter:n.onQuarterClick(t,l),(c=(s=n.props).setPreSelection)===null||c===void 0||c.call(s,n.props.selected);break;case ve.ArrowRight:if(!n.props.preSelection)break;n.handleQuarterNavigation(l===4?1:l+1,Am(n.props.preSelection,1));break;case ve.ArrowLeft:if(!n.props.preSelection)break;n.handleQuarterNavigation(l===1?4:l-1,vb(n.props.preSelection));break}},n.isMonthDisabledForLabelDate=function(t){var l,s=n.props,c=s.day,d=s.minDate,h=s.maxDate,m=s.excludeDates,v=s.includeDates,g=Rr(c,t);return{isDisabled:(l=(d||h||m||v)&&Sb(g,n.props))!==null&&l!==void 0?l:!1,labelDate:g}},n.isMonthDisabled=function(t){var l=n.isMonthDisabledForLabelDate(t).isDisabled;return l},n.getMonthClassNames=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate,h=l.preSelection,m=l.monthClassName,v=m?m(Rr(s,t)):void 0,g=n.getSelection();return Cn("react-datepicker__month-text","react-datepicker__month-".concat(t),v,{"react-datepicker__month-text--disabled":n.isMonthDisabled(t),"react-datepicker__month-text--selected":g?n.isSelectMonthInList(s,t,g):void 0,"react-datepicker__month-text--keyboard-selected":!n.props.disabledKeyboardNavigation&&h&&n.isSelectedMonth(s,t,h)&&!n.isMonthDisabled(t),"react-datepicker__month-text--in-selecting-range":n.isInSelectingRangeMonth(t),"react-datepicker__month-text--in-range":c&&d?fc(c,d,t,s):void 0,"react-datepicker__month-text--range-start":n.isRangeStartMonth(t),"react-datepicker__month-text--range-end":n.isRangeEndMonth(t),"react-datepicker__month-text--selecting-range-start":n.isSelectingMonthRangeStart(t),"react-datepicker__month-text--selecting-range-end":n.isSelectingMonthRangeEnd(t),"react-datepicker__month-text--today":n.isCurrentMonth(s,t)})},n.getTabIndex=function(t){if(n.props.preSelection==null)return"-1";var l=Gn(n.props.preSelection),s=n.isMonthDisabledForLabelDate(l).isDisabled,c=t===l&&!(s||n.props.disabledKeyboardNavigation)?"0":"-1";return c},n.getQuarterTabIndex=function(t){if(n.props.preSelection==null)return"-1";var l=al(n.props.preSelection),s=dc(n.props.day,n.props),c=t===l&&!(s||n.props.disabledKeyboardNavigation)?"0":"-1";return c},n.getAriaLabel=function(t){var l=n.props,s=l.chooseDayAriaLabelPrefix,c=s===void 0?"Choose":s,d=l.disabledDayAriaLabelPrefix,h=d===void 0?"Not available":d,m=l.day,v=l.locale,g=Rr(m,t),S=n.isDisabled(g)||n.isExcluded(g)?h:c;return"".concat(S," ").concat(Bt(g,"MMMM yyyy",v))},n.getQuarterClassNames=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate,h=l.selected,m=l.minDate,v=l.maxDate,g=l.excludeDates,S=l.includeDates,w=l.filterDate,M=l.preSelection,R=l.disabledKeyboardNavigation,C=(m||v||g||S||w)&&dc(Xl(s,t),n.props);return Cn("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter-text--disabled":C,"react-datepicker__quarter-text--selected":h?n.isSelectedQuarter(s,t,h):void 0,"react-datepicker__quarter-text--keyboard-selected":!R&&M&&n.isSelectedQuarter(s,t,M)&&!C,"react-datepicker__quarter-text--in-selecting-range":n.isInSelectingRangeQuarter(t),"react-datepicker__quarter-text--in-range":c&&d?pc(c,d,t,s):void 0,"react-datepicker__quarter-text--range-start":n.isRangeStartQuarter(t),"react-datepicker__quarter-text--range-end":n.isRangeEndQuarter(t),"react-datepicker__quarter-text--today":n.isCurrentQuarter(s,t)})},n.getMonthContent=function(t){var l=n.props,s=l.showFullMonthYearPicker,c=l.renderMonthContent,d=l.locale,h=l.day,m=_b(t,d),v=qm(t,d);return c?c(t,m,v,h):s?v:m},n.getQuarterContent=function(t){var l,s=n.props,c=s.renderQuarterContent,d=s.locale,h=PR(t,d);return(l=c==null?void 0:c(t,h))!==null&&l!==void 0?l:h},n.renderMonths=function(){var t,l=n.props,s=l.showTwoColumnMonthYearPicker,c=l.showFourColumnMonthYearPicker,d=l.day,h=l.selected,m=(t=f2[O9(c,s)])===null||t===void 0?void 0:t.grid;return m==null?void 0:m.map(function(v,g){return Z.createElement("div",{className:"react-datepicker__month-wrapper",key:g},v.map(function(S,w){return Z.createElement("div",{ref:n.MONTH_REFS[S],key:w,onClick:function(M){n.onMonthClick(M,S)},onKeyDown:function(M){Db(M)&&(M.preventDefault(),M.key=ve.Enter),n.onMonthKeyDown(M,S)},onMouseEnter:n.props.usePointerEvent?void 0:function(){return n.onMonthMouseEnter(S)},onPointerEnter:n.props.usePointerEvent?function(){return n.onMonthMouseEnter(S)}:void 0,tabIndex:Number(n.getTabIndex(S)),className:n.getMonthClassNames(S),"aria-disabled":n.isMonthDisabled(S),role:"option","aria-label":n.getAriaLabel(S),"aria-current":n.isCurrentMonth(d,S)?"date":void 0,"aria-selected":h?n.isSelectedMonth(d,S,h):void 0},n.getMonthContent(S))}))})},n.renderQuarters=function(){var t=n.props,l=t.day,s=t.selected,c=[1,2,3,4];return Z.createElement("div",{className:"react-datepicker__quarter-wrapper"},c.map(function(d,h){return Z.createElement("div",{key:h,ref:n.QUARTER_REFS[h],role:"option",onClick:function(m){n.onQuarterClick(m,d)},onKeyDown:function(m){n.onQuarterKeyDown(m,d)},onMouseEnter:n.props.usePointerEvent?void 0:function(){return n.onQuarterMouseEnter(d)},onPointerEnter:n.props.usePointerEvent?function(){return n.onQuarterMouseEnter(d)}:void 0,className:n.getQuarterClassNames(d),"aria-selected":s?n.isSelectedQuarter(l,d,s):void 0,tabIndex:Number(n.getQuarterTabIndex(d)),"aria-current":n.isCurrentQuarter(l,d)?"date":void 0},n.getQuarterContent(d))}))},n.getClassNames=function(){var t=n.props,l=t.selectingDate,s=t.selectsStart,c=t.selectsEnd,d=t.showMonthYearPicker,h=t.showQuarterYearPicker,m=t.showWeekPicker;return Cn("react-datepicker__month",{"react-datepicker__month--selecting-range":l&&(s||c)},{"react-datepicker__monthPicker":d},{"react-datepicker__quarterPicker":h},{"react-datepicker__weekPicker":m})},n}return i.prototype.getSelection=function(){var n=this.props,t=n.selected,l=n.selectedDates,s=n.selectsMultiple;if(s)return l;if(t)return[t]},i.prototype.render=function(){var n=this.props,t=n.showMonthYearPicker,l=n.showQuarterYearPicker,s=n.day,c=n.ariaLabelPrefix,d=c===void 0?"Month ":c,h=d?d.trim()+" ":"";return Z.createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":"".concat(h).concat(Bt(s,"MMMM, yyyy",this.props.locale)),role:"listbox"},t?this.renderMonths():l?this.renderQuarters():this.renderWeeks())},i}(y.Component),tN=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.isSelectedMonth=function(t){return n.props.month===t},n.renderOptions=function(){return n.props.monthNames.map(function(t,l){return Z.createElement("div",{className:n.isSelectedMonth(l)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:t,onClick:n.onChange.bind(n,l),"aria-selected":n.isSelectedMonth(l)?"true":void 0},n.isSelectedMonth(l)?Z.createElement("span",{className:"react-datepicker__month-option--selected"},"✓"):"",t)})},n.onChange=function(t){return n.props.onChange(t)},n.handleClickOutside=function(){return n.props.onCancel()},n}return i.prototype.render=function(){return Z.createElement(af,{className:"react-datepicker__month-dropdown",onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),nN=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(t){return t.map(function(l,s){return Z.createElement("option",{key:l,value:s},l)})},n.renderSelectMode=function(t){return Z.createElement("select",{value:n.props.month,className:"react-datepicker__month-select",onChange:function(l){return n.onChange(parseInt(l.target.value))}},n.renderSelectOptions(t))},n.renderReadView=function(t,l){return Z.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:n.toggleDropdown},Z.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),Z.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},l[n.props.month]))},n.renderDropdown=function(t){return Z.createElement(tN,it({key:"dropdown"},n.props,{monthNames:t,onChange:n.onChange,onCancel:n.toggleDropdown}))},n.renderScrollMode=function(t){var l=n.state.dropdownVisible,s=[n.renderReadView(!l,t)];return l&&s.unshift(n.renderDropdown(t)),s},n.onChange=function(t){n.toggleDropdown(),t!==n.props.month&&n.props.onChange(t)},n.toggleDropdown=function(){return n.setState({dropdownVisible:!n.state.dropdownVisible})},n}return i.prototype.render=function(){var n=this,t=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(s){return _b(s,n.props.locale)}:function(s){return qm(s,n.props.locale)}),l;switch(this.props.dropdownMode){case"scroll":l=this.renderScrollMode(t);break;case"select":l=this.renderSelectMode(t);break}return Z.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},l)},i}(y.Component);function rN(a,i){for(var n=[],t=Ia(a),l=Ia(i);!Ri(t,l);)n.push(pt(t)),t=Wr(t,1);return n}var aN=function(a){Sn(i,a);function i(n){var t=a.call(this,n)||this;return t.renderOptions=function(){return t.state.monthYearsList.map(function(l){var s=V2(l),c=ca(t.props.date,l)&&In(t.props.date,l);return Z.createElement("div",{className:c?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:s,onClick:t.onChange.bind(t,s),"aria-selected":c?"true":void 0},c?Z.createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",Bt(l,t.props.dateFormat,t.props.locale))})},t.onChange=function(l){return t.props.onChange(l)},t.handleClickOutside=function(){t.props.onCancel()},t.state={monthYearsList:rN(t.props.minDate,t.props.maxDate)},t}return i.prototype.render=function(){var n=Cn({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return Z.createElement(af,{className:n,onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),iN=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(){for(var t=Ia(n.props.minDate),l=Ia(n.props.maxDate),s=[];!Ri(t,l);){var c=V2(t);s.push(Z.createElement("option",{key:c,value:c},Bt(t,n.props.dateFormat,n.props.locale))),t=Wr(t,1)}return s},n.onSelectChange=function(t){n.onChange(parseInt(t.target.value))},n.renderSelectMode=function(){return Z.createElement("select",{value:V2(Ia(n.props.date)),className:"react-datepicker__month-year-select",onChange:n.onSelectChange},n.renderSelectOptions())},n.renderReadView=function(t){var l=Bt(n.props.date,n.props.dateFormat,n.props.locale);return Z.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:n.toggleDropdown},Z.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),Z.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},l))},n.renderDropdown=function(){return Z.createElement(aN,it({key:"dropdown"},n.props,{onChange:n.onChange,onCancel:n.toggleDropdown}))},n.renderScrollMode=function(){var t=n.state.dropdownVisible,l=[n.renderReadView(!t)];return t&&l.unshift(n.renderDropdown()),l},n.onChange=function(t){n.toggleDropdown();var l=pt(t);ca(n.props.date,l)&&In(n.props.date,l)||n.props.onChange(l)},n.toggleDropdown=function(){return n.setState({dropdownVisible:!n.state.dropdownVisible})},n}return i.prototype.render=function(){var n;switch(this.props.dropdownMode){case"scroll":n=this.renderScrollMode();break;case"select":n=this.renderSelectMode();break}return Z.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},n)},i}(y.Component),lN=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.state={height:null},n.scrollToTheSelectedTime=function(){requestAnimationFrame(function(){var t,l,s;n.list&&(n.list.scrollTop=(s=n.centerLi&&i.calcCenterPosition(n.props.monthRef?n.props.monthRef.clientHeight-((l=(t=n.header)===null||t===void 0?void 0:t.clientHeight)!==null&&l!==void 0?l:0):n.list.clientHeight,n.centerLi))!==null&&s!==void 0?s:0)})},n.handleClick=function(t){var l,s;(n.props.minTime||n.props.maxTime)&&y9(t,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&g9(t,n.props)||(s=(l=n.props).onChange)===null||s===void 0||s.call(l,t)},n.isSelectedTime=function(t){return n.props.selected&&WR(n.props.selected,t)},n.isDisabledTime=function(t){return(n.props.minTime||n.props.maxTime)&&y9(t,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&g9(t,n.props)},n.liClasses=function(t){var l,s=["react-datepicker__time-list-item",n.props.timeClassName?n.props.timeClassName(t):void 0];return n.isSelectedTime(t)&&s.push("react-datepicker__time-list-item--selected"),n.isDisabledTime(t)&&s.push("react-datepicker__time-list-item--disabled"),n.props.injectTimes&&(ja(t)*3600+Ba(t)*60+Oi(t))%(((l=n.props.intervals)!==null&&l!==void 0?l:i.defaultProps.intervals)*60)!==0&&s.push("react-datepicker__time-list-item--injected"),s.join(" ")},n.handleOnKeyDown=function(t,l){var s,c;t.key===ve.Space&&(t.preventDefault(),t.key=ve.Enter),(t.key===ve.ArrowUp||t.key===ve.ArrowLeft)&&t.target instanceof HTMLElement&&t.target.previousSibling&&(t.preventDefault(),t.target.previousSibling instanceof HTMLElement&&t.target.previousSibling.focus()),(t.key===ve.ArrowDown||t.key===ve.ArrowRight)&&t.target instanceof HTMLElement&&t.target.nextSibling&&(t.preventDefault(),t.target.nextSibling instanceof HTMLElement&&t.target.nextSibling.focus()),t.key===ve.Enter&&n.handleClick(l),(c=(s=n.props).handleOnKeyDown)===null||c===void 0||c.call(s,t)},n.renderTimes=function(){for(var t,l=[],s=typeof n.props.format=="string"?n.props.format:"p",c=(t=n.props.intervals)!==null&&t!==void 0?t:i.defaultProps.intervals,d=n.props.selected||n.props.openToDate||pt(),h=wc(d),m=n.props.injectTimes&&n.props.injectTimes.sort(function(C,H){return C.getTime()-H.getTime()}),v=60*VR(d),g=v/c,S=0;S<g;S++){var w=F2(h,S*c);if(l.push(w),m){var M=ZR(h,w,S,c,m);l=l.concat(M)}}var R=l.reduce(function(C,H){return H.getTime()<=d.getTime()?H:C},l[0]);return l.map(function(C){return Z.createElement("li",{key:C.valueOf(),onClick:n.handleClick.bind(n,C),className:n.liClasses(C),ref:function(H){C===R&&(n.centerLi=H)},onKeyDown:function(H){n.handleOnKeyDown(H,C)},tabIndex:C===R?0:-1,role:"option","aria-selected":n.isSelectedTime(C)?"true":void 0,"aria-disabled":n.isDisabledTime(C)?"true":void 0},Bt(C,s,n.props.locale))})},n.renderTimeCaption=function(){return n.props.showTimeCaption===!1?Z.createElement(Z.Fragment,null):Z.createElement("div",{className:"react-datepicker__header react-datepicker__header--time ".concat(n.props.showTimeSelectOnly?"react-datepicker__header--time--only":""),ref:function(t){n.header=t}},Z.createElement("div",{className:"react-datepicker-time__header"},n.props.timeCaption))},n}return Object.defineProperty(i,"defaultProps",{get:function(){return{intervals:30,todayButton:null,timeCaption:"Time",showTimeCaption:!0}},enumerable:!1,configurable:!0}),i.prototype.componentDidMount=function(){this.scrollToTheSelectedTime(),this.observeDatePickerHeightChanges()},i.prototype.componentWillUnmount=function(){var n;(n=this.resizeObserver)===null||n===void 0||n.disconnect()},i.prototype.observeDatePickerHeightChanges=function(){var n=this,t=this.props.monthRef;this.updateContainerHeight(),t&&(this.resizeObserver=new ResizeObserver(function(){n.updateContainerHeight()}),this.resizeObserver.observe(t))},i.prototype.updateContainerHeight=function(){this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})},i.prototype.render=function(){var n=this,t,l=this.state.height;return Z.createElement("div",{className:"react-datepicker__time-container ".concat(((t=this.props.todayButton)!==null&&t!==void 0?t:i.defaultProps.todayButton)?"react-datepicker__time-container--with-today-button":"")},this.renderTimeCaption(),Z.createElement("div",{className:"react-datepicker__time"},Z.createElement("div",{className:"react-datepicker__time-box"},Z.createElement("ul",{className:"react-datepicker__time-list",ref:function(s){n.list=s},style:l?{height:l}:{},role:"listbox","aria-label":this.props.timeCaption},this.renderTimes()))))},i.calcCenterPosition=function(n,t){return t.offsetTop-(n/2-t.clientHeight/2)},i}(y.Component),A9=3,oN=function(a){Sn(i,a);function i(n){var t=a.call(this,n)||this;return t.YEAR_REFS=ha([],Array(t.props.yearItemNumber),!0).map(function(){return y.createRef()}),t.isDisabled=function(l){return Nr(l,{minDate:t.props.minDate,maxDate:t.props.maxDate,excludeDates:t.props.excludeDates,includeDates:t.props.includeDates,filterDate:t.props.filterDate})},t.isExcluded=function(l){return Um(l,{excludeDates:t.props.excludeDates})},t.selectingDate=function(){var l;return(l=t.props.selectingDate)!==null&&l!==void 0?l:t.props.preSelection},t.updateFocusOnPaginate=function(l){var s=function(){var c,d;(d=(c=t.YEAR_REFS[l])===null||c===void 0?void 0:c.current)===null||d===void 0||d.focus()};window.requestAnimationFrame(s)},t.handleYearClick=function(l,s){t.props.onDayClick&&t.props.onDayClick(l,s)},t.handleYearNavigation=function(l,s){var c,d,h,m,v=t.props,g=v.date,S=v.yearItemNumber;if(!(g===void 0||S===void 0)){var w=Mi(g,S).startPeriod;t.isDisabled(s)||t.isExcluded(s)||((d=(c=t.props).setPreSelection)===null||d===void 0||d.call(c,s),l-w<0?t.updateFocusOnPaginate(S-(w-l)):l-w>=S?t.updateFocusOnPaginate(Math.abs(S-(l-w))):(m=(h=t.YEAR_REFS[l-w])===null||h===void 0?void 0:h.current)===null||m===void 0||m.focus())}},t.isSameDay=function(l,s){return at(l,s)},t.isCurrentYear=function(l){return l===Ge(pt())},t.isRangeStart=function(l){return t.props.startDate&&t.props.endDate&&ca(ua(pt(),l),t.props.startDate)},t.isRangeEnd=function(l){return t.props.startDate&&t.props.endDate&&ca(ua(pt(),l),t.props.endDate)},t.isInRange=function(l){return hc(l,t.props.startDate,t.props.endDate)},t.isInSelectingRange=function(l){var s=t.props,c=s.selectsStart,d=s.selectsEnd,h=s.selectsRange,m=s.startDate,v=s.endDate;return!(c||d||h)||!t.selectingDate()?!1:c&&v?hc(l,t.selectingDate(),v):d&&m||h&&m&&!v?hc(l,m,t.selectingDate()):!1},t.isSelectingRangeStart=function(l){var s;if(!t.isInSelectingRange(l))return!1;var c=t.props,d=c.startDate,h=c.selectsStart,m=ua(pt(),l);return h?ca(m,(s=t.selectingDate())!==null&&s!==void 0?s:null):ca(m,d??null)},t.isSelectingRangeEnd=function(l){var s;if(!t.isInSelectingRange(l))return!1;var c=t.props,d=c.endDate,h=c.selectsEnd,m=c.selectsRange,v=ua(pt(),l);return h||m?ca(v,(s=t.selectingDate())!==null&&s!==void 0?s:null):ca(v,d??null)},t.isKeyboardSelected=function(l){if(!(t.props.date===void 0||t.props.selected==null||t.props.preSelection==null)){var s=t.props,c=s.minDate,d=s.maxDate,h=s.excludeDates,m=s.includeDates,v=s.filterDate,g=Ns(ua(t.props.date,l)),S=(c||d||h||m||v)&&Dc(l,t.props);return!t.props.disabledKeyboardNavigation&&!t.props.inline&&!at(g,Ns(t.props.selected))&&at(g,Ns(t.props.preSelection))&&!S}},t.isSelectedYear=function(l){var s=t.props,c=s.selectsMultiple,d=s.selected,h=s.selectedDates;return c?h==null?void 0:h.some(function(m){return l===Ge(m)}):!d||l===Ge(d)},t.onYearClick=function(l,s){var c=t.props.date;c!==void 0&&t.handleYearClick(Ns(ua(c,s)),l)},t.onYearKeyDown=function(l,s){var c,d,h=l.key,m=t.props,v=m.date,g=m.yearItemNumber,S=m.handleOnKeyDown;if(h!==ve.Tab&&l.preventDefault(),!t.props.disabledKeyboardNavigation)switch(h){case ve.Enter:if(t.props.selected==null)break;t.onYearClick(l,s),(d=(c=t.props).setPreSelection)===null||d===void 0||d.call(c,t.props.selected);break;case ve.ArrowRight:if(t.props.preSelection==null)break;t.handleYearNavigation(s+1,za(t.props.preSelection,1));break;case ve.ArrowLeft:if(t.props.preSelection==null)break;t.handleYearNavigation(s-1,oo(t.props.preSelection,1));break;case ve.ArrowUp:{if(v===void 0||g===void 0||t.props.preSelection==null)break;var w=Mi(v,g).startPeriod,M=A9,R=s-M;if(R<w){var C=g%M;s>=w&&s<w+C?M=C:M+=C,R=s-M}t.handleYearNavigation(R,oo(t.props.preSelection,M));break}case ve.ArrowDown:{if(v===void 0||g===void 0||t.props.preSelection==null)break;var H=Mi(v,g).endPeriod,M=A9,R=s+M;if(R>H){var C=g%M;s<=H&&s>H-C?M=C:M+=C,R=s+M}t.handleYearNavigation(R,za(t.props.preSelection,M));break}}S&&S(l)},t.getYearClassNames=function(l){var s=t.props,c=s.date,d=s.minDate,h=s.maxDate,m=s.excludeDates,v=s.includeDates,g=s.filterDate,S=s.yearClassName;return Cn("react-datepicker__year-text","react-datepicker__year-".concat(l),c?S==null?void 0:S(ua(c,l)):void 0,{"react-datepicker__year-text--selected":t.isSelectedYear(l),"react-datepicker__year-text--disabled":(d||h||m||v||g)&&Dc(l,t.props),"react-datepicker__year-text--keyboard-selected":t.isKeyboardSelected(l),"react-datepicker__year-text--range-start":t.isRangeStart(l),"react-datepicker__year-text--range-end":t.isRangeEnd(l),"react-datepicker__year-text--in-range":t.isInRange(l),"react-datepicker__year-text--in-selecting-range":t.isInSelectingRange(l),"react-datepicker__year-text--selecting-range-start":t.isSelectingRangeStart(l),"react-datepicker__year-text--selecting-range-end":t.isSelectingRangeEnd(l),"react-datepicker__year-text--today":t.isCurrentYear(l)})},t.getYearTabIndex=function(l){if(t.props.disabledKeyboardNavigation||t.props.preSelection==null)return"-1";var s=Ge(t.props.preSelection),c=Dc(l,t.props);return l===s&&!c?"0":"-1"},t.getYearContent=function(l){return t.props.renderYearContent?t.props.renderYearContent(l):l},t}return i.prototype.render=function(){var n=this,t=[],l=this.props,s=l.date,c=l.yearItemNumber,d=l.onYearMouseEnter,h=l.onYearMouseLeave;if(s===void 0)return null;for(var m=Mi(s,c),v=m.startPeriod,g=m.endPeriod,S=function(R){t.push(Z.createElement("div",{ref:w.YEAR_REFS[R-v],onClick:function(C){n.onYearClick(C,R)},onKeyDown:function(C){Db(C)&&(C.preventDefault(),C.key=ve.Enter),n.onYearKeyDown(C,R)},tabIndex:Number(w.getYearTabIndex(R)),className:w.getYearClassNames(R),onMouseEnter:w.props.usePointerEvent?void 0:function(C){return d(C,R)},onPointerEnter:w.props.usePointerEvent?function(C){return d(C,R)}:void 0,onMouseLeave:w.props.usePointerEvent?void 0:function(C){return h(C,R)},onPointerLeave:w.props.usePointerEvent?function(C){return h(C,R)}:void 0,key:R,"aria-current":w.isCurrentYear(R)?"date":void 0},w.getYearContent(R)))},w=this,M=v;M<=g;M++)S(M);return Z.createElement("div",{className:"react-datepicker__year"},Z.createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.usePointerEvent?void 0:this.props.clearSelectingDate,onPointerLeave:this.props.usePointerEvent?this.props.clearSelectingDate:void 0},t))},i}(y.Component);function sN(a,i,n,t){for(var l=[],s=0;s<2*i+1;s++){var c=a+i-s,d=!0;n&&(d=Ge(n)<=c),t&&d&&(d=Ge(t)>=c),d&&l.push(c)}return l}var uN=function(a){Sn(i,a);function i(n){var t=a.call(this,n)||this;t.renderOptions=function(){var d=t.props.year,h=t.state.yearsList.map(function(g){return Z.createElement("div",{className:d===g?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:g,onClick:t.onChange.bind(t,g),"aria-selected":d===g?"true":void 0},d===g?Z.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",g)}),m=t.props.minDate?Ge(t.props.minDate):null,v=t.props.maxDate?Ge(t.props.maxDate):null;return(!v||!t.state.yearsList.find(function(g){return g===v}))&&h.unshift(Z.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:t.incrementYears},Z.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),(!m||!t.state.yearsList.find(function(g){return g===m}))&&h.push(Z.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:t.decrementYears},Z.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),h},t.onChange=function(d){t.props.onChange(d)},t.handleClickOutside=function(){t.props.onCancel()},t.shiftYears=function(d){var h=t.state.yearsList.map(function(m){return m+d});t.setState({yearsList:h})},t.incrementYears=function(){return t.shiftYears(1)},t.decrementYears=function(){return t.shiftYears(-1)};var l=n.yearDropdownItemNumber,s=n.scrollableYearDropdown,c=l||(s?10:5);return t.state={yearsList:sN(t.props.year,c,t.props.minDate,t.props.maxDate)},t.dropdownRef=y.createRef(),t}return i.prototype.componentDidMount=function(){var n=this.dropdownRef.current;if(n){var t=n.children?Array.from(n.children):null,l=t?t.find(function(s){return s.ariaSelected}):null;n.scrollTop=l&&l instanceof HTMLElement?l.offsetTop+(l.clientHeight-n.clientHeight)/2:(n.scrollHeight-n.clientHeight)/2}},i.prototype.render=function(){var n=Cn({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return Z.createElement(af,{className:n,containerRef:this.dropdownRef,onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),cN=function(a){Sn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(){for(var t=n.props.minDate?Ge(n.props.minDate):1900,l=n.props.maxDate?Ge(n.props.maxDate):2100,s=[],c=t;c<=l;c++)s.push(Z.createElement("option",{key:c,value:c},c));return s},n.onSelectChange=function(t){n.onChange(parseInt(t.target.value))},n.renderSelectMode=function(){return Z.createElement("select",{value:n.props.year,className:"react-datepicker__year-select",onChange:n.onSelectChange},n.renderSelectOptions())},n.renderReadView=function(t){return Z.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(l){return n.toggleDropdown(l)}},Z.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),Z.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},n.props.year))},n.renderDropdown=function(){return Z.createElement(uN,it({key:"dropdown"},n.props,{onChange:n.onChange,onCancel:n.toggleDropdown}))},n.renderScrollMode=function(){var t=n.state.dropdownVisible,l=[n.renderReadView(!t)];return t&&l.unshift(n.renderDropdown()),l},n.onChange=function(t){n.toggleDropdown(),t!==n.props.year&&n.props.onChange(t)},n.toggleDropdown=function(t){n.setState({dropdownVisible:!n.state.dropdownVisible},function(){n.props.adjustDateOnChange&&n.handleYearChange(n.props.date,t)})},n.handleYearChange=function(t,l){var s;(s=n.onSelect)===null||s===void 0||s.call(n,t,l),n.setOpen()},n.onSelect=function(t,l){var s,c;(c=(s=n.props).onSelect)===null||c===void 0||c.call(s,t,l)},n.setOpen=function(){var t,l;(l=(t=n.props).setOpen)===null||l===void 0||l.call(t,!0)},n}return i.prototype.render=function(){var n;switch(this.props.dropdownMode){case"scroll":n=this.renderScrollMode();break;case"select":n=this.renderSelectMode();break}return Z.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},n)},i}(y.Component),fN=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],dN=function(a){var i=(a.className||"").split(/\s+/);return fN.some(function(n){return i.indexOf(n)>=0})},hN=function(a){Sn(i,a);function i(n){var t=a.call(this,n)||this;return t.monthContainer=void 0,t.handleClickOutside=function(l){t.props.onClickOutside(l)},t.setClickOutsideRef=function(){return t.containerRef.current},t.handleDropdownFocus=function(l){var s,c;dN(l.target)&&((c=(s=t.props).onDropdownFocus)===null||c===void 0||c.call(s,l))},t.getDateInView=function(){var l=t.props,s=l.preSelection,c=l.selected,d=l.openToDate,h=Eb(t.props),m=wb(t.props),v=pt(),g=d||c||s;return g||(h&&cl(v,h)?h:m&&Ri(v,m)?m:v)},t.increaseMonth=function(){t.setState(function(l){var s=l.date;return{date:Wr(s,1)}},function(){return t.handleMonthChange(t.state.date)})},t.decreaseMonth=function(){t.setState(function(l){var s=l.date;return{date:il(s,1)}},function(){return t.handleMonthChange(t.state.date)})},t.handleDayClick=function(l,s,c){t.props.onSelect(l,s,c),t.props.setPreSelection&&t.props.setPreSelection(l)},t.handleDayMouseEnter=function(l){t.setState({selectingDate:l}),t.props.onDayMouseEnter&&t.props.onDayMouseEnter(l)},t.handleMonthMouseLeave=function(){t.setState({selectingDate:void 0}),t.props.onMonthMouseLeave&&t.props.onMonthMouseLeave()},t.handleYearMouseEnter=function(l,s){t.setState({selectingDate:ua(pt(),s)}),t.props.onYearMouseEnter&&t.props.onYearMouseEnter(l,s)},t.handleYearMouseLeave=function(l,s){t.props.onYearMouseLeave&&t.props.onYearMouseLeave(l,s)},t.handleYearChange=function(l){var s,c,d,h;(c=(s=t.props).onYearChange)===null||c===void 0||c.call(s,l),t.setState({isRenderAriaLiveMessage:!0}),t.props.adjustDateOnChange&&(t.props.onSelect(l),(h=(d=t.props).setOpen)===null||h===void 0||h.call(d,!0)),t.props.setPreSelection&&t.props.setPreSelection(l)},t.getEnabledPreSelectionDateForMonth=function(l){if(!Nr(l,t.props))return l;for(var s=Ia(l),c=LR(l),d=IO(c,s),h=null,m=0;m<=d;m++){var v=Zr(s,m);if(!Nr(v,t.props)){h=v;break}}return h},t.handleMonthChange=function(l){var s,c,d,h=(s=t.getEnabledPreSelectionDateForMonth(l))!==null&&s!==void 0?s:l;t.handleCustomMonthChange(h),t.props.adjustDateOnChange&&(t.props.onSelect(h),(d=(c=t.props).setOpen)===null||d===void 0||d.call(c,!0)),t.props.setPreSelection&&t.props.setPreSelection(h)},t.handleCustomMonthChange=function(l){var s,c;(c=(s=t.props).onMonthChange)===null||c===void 0||c.call(s,l),t.setState({isRenderAriaLiveMessage:!0})},t.handleMonthYearChange=function(l){t.handleYearChange(l),t.handleMonthChange(l)},t.changeYear=function(l){t.setState(function(s){var c=s.date;return{date:ua(c,Number(l))}},function(){return t.handleYearChange(t.state.date)})},t.changeMonth=function(l){t.setState(function(s){var c=s.date;return{date:Rr(c,Number(l))}},function(){return t.handleMonthChange(t.state.date)})},t.changeMonthYear=function(l){t.setState(function(s){var c=s.date;return{date:ua(Rr(c,Gn(l)),Ge(l))}},function(){return t.handleMonthYearChange(t.state.date)})},t.header=function(l){l===void 0&&(l=t.state.date);var s=Ai(l,t.props.locale,t.props.calendarStartDay),c=[];return t.props.showWeekNumbers&&c.push(Z.createElement("div",{key:"W",className:"react-datepicker__day-name"},t.props.weekLabel||"#")),c.concat([0,1,2,3,4,5,6].map(function(d){var h=Zr(s,d),m=t.formatWeekday(h,t.props.locale),v=t.props.weekDayClassName?t.props.weekDayClassName(h):void 0;return Z.createElement("div",{key:d,"aria-label":Bt(h,"EEEE",t.props.locale),className:Cn("react-datepicker__day-name",v)},m)}))},t.formatWeekday=function(l,s){return t.props.formatWeekDay?qR(l,t.props.formatWeekDay,s):t.props.useWeekdaysShort?HR(l,s):UR(l,s)},t.decreaseYear=function(){t.setState(function(l){var s,c=l.date;return{date:oo(c,t.props.showYearPicker?(s=t.props.yearItemNumber)!==null&&s!==void 0?s:i.defaultProps.yearItemNumber:1)}},function(){return t.handleYearChange(t.state.date)})},t.clearSelectingDate=function(){t.setState({selectingDate:void 0})},t.renderPreviousButton=function(){var l,s,c;if(!t.props.renderCustomHeader){var d=(l=t.props.monthsShown)!==null&&l!==void 0?l:i.defaultProps.monthsShown,h=t.props.showPreviousMonths?d-1:0,m=(s=t.props.monthSelectedIn)!==null&&s!==void 0?s:h,v=il(t.state.date,m),g;switch(!0){case t.props.showMonthYearPicker:g=S9(t.state.date,t.props);break;case t.props.showYearPicker:g=BR(t.state.date,t.props);break;case t.props.showQuarterYearPicker:g=YR(t.state.date,t.props);break;default:g=b9(v,t.props);break}if(!(!((c=t.props.forceShowMonthNavigation)!==null&&c!==void 0?c:i.defaultProps.forceShowMonthNavigation)&&!t.props.showDisabledMonthNavigation&&g||t.props.showTimeSelectOnly)){var S=["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"],w=["react-datepicker__navigation","react-datepicker__navigation--previous"],M=t.decreaseMonth;(t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker)&&(M=t.decreaseYear),g&&t.props.showDisabledMonthNavigation&&(w.push("react-datepicker__navigation--previous--disabled"),M=void 0);var R=t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker,C=t.props,H=C.previousMonthButtonLabel,O=H===void 0?i.defaultProps.previousMonthButtonLabel:H,Y=C.previousYearButtonLabel,K=Y===void 0?i.defaultProps.previousYearButtonLabel:Y,X=t.props,re=X.previousMonthAriaLabel,V=re===void 0?typeof O=="string"?O:"Previous Month":re,_=X.previousYearAriaLabel,E=_===void 0?typeof K=="string"?K:"Previous Year":_;return Z.createElement("button",{type:"button",className:w.join(" "),onClick:M,onKeyDown:t.props.handleOnKeyDown,"aria-label":R?E:V},Z.createElement("span",{className:S.join(" ")},R?K:O))}}},t.increaseYear=function(){t.setState(function(l){var s,c=l.date;return{date:za(c,t.props.showYearPicker?(s=t.props.yearItemNumber)!==null&&s!==void 0?s:i.defaultProps.yearItemNumber:1)}},function(){return t.handleYearChange(t.state.date)})},t.renderNextButton=function(){var l;if(!t.props.renderCustomHeader){var s;switch(!0){case t.props.showMonthYearPicker:s=E9(t.state.date,t.props);break;case t.props.showYearPicker:s=IR(t.state.date,t.props);break;case t.props.showQuarterYearPicker:s=jR(t.state.date,t.props);break;default:s=_9(t.state.date,t.props);break}if(!(!((l=t.props.forceShowMonthNavigation)!==null&&l!==void 0?l:i.defaultProps.forceShowMonthNavigation)&&!t.props.showDisabledMonthNavigation&&s||t.props.showTimeSelectOnly)){var c=["react-datepicker__navigation","react-datepicker__navigation--next"],d=["react-datepicker__navigation-icon","react-datepicker__navigation-icon--next"];t.props.showTimeSelect&&c.push("react-datepicker__navigation--next--with-time"),t.props.todayButton&&c.push("react-datepicker__navigation--next--with-today-button");var h=t.increaseMonth;(t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker)&&(h=t.increaseYear),s&&t.props.showDisabledMonthNavigation&&(c.push("react-datepicker__navigation--next--disabled"),h=void 0);var m=t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker,v=t.props,g=v.nextMonthButtonLabel,S=g===void 0?i.defaultProps.nextMonthButtonLabel:g,w=v.nextYearButtonLabel,M=w===void 0?i.defaultProps.nextYearButtonLabel:w,R=t.props,C=R.nextMonthAriaLabel,H=C===void 0?typeof S=="string"?S:"Next Month":C,O=R.nextYearAriaLabel,Y=O===void 0?typeof M=="string"?M:"Next Year":O;return Z.createElement("button",{type:"button",className:c.join(" "),onClick:h,onKeyDown:t.props.handleOnKeyDown,"aria-label":m?Y:H},Z.createElement("span",{className:d.join(" ")},m?M:S))}}},t.renderCurrentMonth=function(l){l===void 0&&(l=t.state.date);var s=["react-datepicker__current-month"];return t.props.showYearDropdown&&s.push("react-datepicker__current-month--hasYearDropdown"),t.props.showMonthDropdown&&s.push("react-datepicker__current-month--hasMonthDropdown"),t.props.showMonthYearDropdown&&s.push("react-datepicker__current-month--hasMonthYearDropdown"),Z.createElement("h2",{className:s.join(" ")},Bt(l,t.props.dateFormat,t.props.locale))},t.renderYearDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showYearDropdown||l))return Z.createElement(cN,it({},i.defaultProps,t.props,{date:t.state.date,onChange:t.changeYear,year:Ge(t.state.date)}))},t.renderMonthDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showMonthDropdown||l))return Z.createElement(nN,it({},i.defaultProps,t.props,{month:Gn(t.state.date),onChange:t.changeMonth}))},t.renderMonthYearDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showMonthYearDropdown||l))return Z.createElement(iN,it({},i.defaultProps,t.props,{date:t.state.date,onChange:t.changeMonthYear}))},t.handleTodayButtonClick=function(l){t.props.onSelect(p9(),l),t.props.setPreSelection&&t.props.setPreSelection(p9())},t.renderTodayButton=function(){if(!(!t.props.todayButton||t.props.showTimeSelectOnly))return Z.createElement("div",{className:"react-datepicker__today-button",onClick:t.handleTodayButtonClick},t.props.todayButton)},t.renderDefaultHeader=function(l){var s=l.monthDate,c=l.i;return Z.createElement("div",{className:"react-datepicker__header ".concat(t.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},t.renderCurrentMonth(s),Z.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(t.props.dropdownMode),onFocus:t.handleDropdownFocus},t.renderMonthDropdown(c!==0),t.renderMonthYearDropdown(c!==0),t.renderYearDropdown(c!==0)),Z.createElement("div",{className:"react-datepicker__day-names"},t.header(s)))},t.renderCustomHeader=function(l){var s,c,d=l.monthDate,h=l.i;if(t.props.showTimeSelect&&!t.state.monthContainer||t.props.showTimeSelectOnly)return null;var m=b9(t.state.date,t.props),v=_9(t.state.date,t.props),g=S9(t.state.date,t.props),S=E9(t.state.date,t.props),w=!t.props.showMonthYearPicker&&!t.props.showQuarterYearPicker&&!t.props.showYearPicker;return Z.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:t.props.onDropdownFocus},(c=(s=t.props).renderCustomHeader)===null||c===void 0?void 0:c.call(s,it(it({},t.state),{customHeaderCount:h,monthDate:d,changeMonth:t.changeMonth,changeYear:t.changeYear,decreaseMonth:t.decreaseMonth,increaseMonth:t.increaseMonth,decreaseYear:t.decreaseYear,increaseYear:t.increaseYear,prevMonthButtonDisabled:m,nextMonthButtonDisabled:v,prevYearButtonDisabled:g,nextYearButtonDisabled:S})),w&&Z.createElement("div",{className:"react-datepicker__day-names"},t.header(d)))},t.renderYearHeader=function(l){var s=l.monthDate,c=t.props,d=c.showYearPicker,h=c.yearItemNumber,m=h===void 0?i.defaultProps.yearItemNumber:h,v=Mi(s,m),g=v.startPeriod,S=v.endPeriod;return Z.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},d?"".concat(g," - ").concat(S):Ge(s))},t.renderHeader=function(l){var s=l.monthDate,c=l.i,d=c===void 0?0:c,h={monthDate:s,i:d};switch(!0){case t.props.renderCustomHeader!==void 0:return t.renderCustomHeader(h);case(t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker):return t.renderYearHeader(h);default:return t.renderDefaultHeader(h)}},t.renderMonths=function(){var l,s;if(!(t.props.showTimeSelectOnly||t.props.showYearPicker)){for(var c=[],d=(l=t.props.monthsShown)!==null&&l!==void 0?l:i.defaultProps.monthsShown,h=t.props.showPreviousMonths?d-1:0,m=t.props.showMonthYearPicker||t.props.showQuarterYearPicker?za(t.state.date,h):il(t.state.date,h),v=(s=t.props.monthSelectedIn)!==null&&s!==void 0?s:h,g=0;g<d;++g){var S=g-v+h,w=t.props.showMonthYearPicker||t.props.showQuarterYearPicker?za(m,S):Wr(m,S),M="month-".concat(g),R=g<d-1,C=g>0;c.push(Z.createElement("div",{key:M,ref:function(H){t.monthContainer=H??void 0},className:"react-datepicker__month-container"},t.renderHeader({monthDate:w,i:g}),Z.createElement(eN,it({},i.defaultProps,t.props,{containerRef:t.containerRef,ariaLabelPrefix:t.props.monthAriaLabelPrefix,day:w,onDayClick:t.handleDayClick,handleOnKeyDown:t.props.handleOnDayKeyDown,handleOnMonthKeyDown:t.props.handleOnKeyDown,onDayMouseEnter:t.handleDayMouseEnter,onMouseLeave:t.handleMonthMouseLeave,orderInDisplay:g,selectingDate:t.state.selectingDate,monthShowsDuplicateDaysEnd:R,monthShowsDuplicateDaysStart:C}))))}return c}},t.renderYears=function(){if(!t.props.showTimeSelectOnly&&t.props.showYearPicker)return Z.createElement("div",{className:"react-datepicker__year--container"},t.renderHeader({monthDate:t.state.date}),Z.createElement(oN,it({},i.defaultProps,t.props,{selectingDate:t.state.selectingDate,date:t.state.date,onDayClick:t.handleDayClick,clearSelectingDate:t.clearSelectingDate,onYearMouseEnter:t.handleYearMouseEnter,onYearMouseLeave:t.handleYearMouseLeave})))},t.renderTimeSection=function(){if(t.props.showTimeSelect&&(t.state.monthContainer||t.props.showTimeSelectOnly))return Z.createElement(lN,it({},i.defaultProps,t.props,{onChange:t.props.onTimeChange,format:t.props.timeFormat,intervals:t.props.timeIntervals,monthRef:t.state.monthContainer}))},t.renderInputTimeSection=function(){var l=t.props.selected?new Date(t.props.selected):void 0,s=l&&lf(l)&&!!t.props.selected,c=s?"".concat(D9(l.getHours()),":").concat(D9(l.getMinutes())):"";if(t.props.showTimeInput)return Z.createElement(QR,it({},i.defaultProps,t.props,{date:l,timeString:c,onChange:t.props.onTimeChange}))},t.renderAriaLiveRegion=function(){var l,s=Mi(t.state.date,(l=t.props.yearItemNumber)!==null&&l!==void 0?l:i.defaultProps.yearItemNumber),c=s.startPeriod,d=s.endPeriod,h;return t.props.showYearPicker?h="".concat(c," - ").concat(d):t.props.showMonthYearPicker||t.props.showQuarterYearPicker?h=Ge(t.state.date):h="".concat(qm(Gn(t.state.date),t.props.locale)," ").concat(Ge(t.state.date)),Z.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},t.state.isRenderAriaLiveMessage&&h)},t.renderChildren=function(){if(t.props.children)return Z.createElement("div",{className:"react-datepicker__children-container"},t.props.children)},t.containerRef=y.createRef(),t.state={date:t.getDateInView(),selectingDate:void 0,monthContainer:void 0,isRenderAriaLiveMessage:!1},t}return Object.defineProperty(i,"defaultProps",{get:function(){return{monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",yearItemNumber:Zs}},enumerable:!1,configurable:!0}),i.prototype.componentDidMount=function(){var n=this;this.props.showTimeSelect&&(this.assignMonthContainer=function(){n.setState({monthContainer:n.monthContainer})}())},i.prototype.componentDidUpdate=function(n){var t=this;if(this.props.preSelection&&(!at(this.props.preSelection,n.preSelection)||this.props.monthSelectedIn!==n.monthSelectedIn)){var l=!In(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return l&&t.handleCustomMonthChange(t.state.date)})}else this.props.openToDate&&!at(this.props.openToDate,n.openToDate)&&this.setState({date:this.props.openToDate})},i.prototype.render=function(){var n=this.props.container||MR;return Z.createElement(af,{onClickOutside:this.handleClickOutside,style:{display:"contents"},ignoreClass:this.props.outsideClickIgnoreClass},Z.createElement("div",{style:{display:"contents"},ref:this.containerRef},Z.createElement(n,{className:Cn("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showTime:this.props.showTimeSelect||this.props.showTimeInput,showTimeSelectOnly:this.props.showTimeSelectOnly},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren())))},i}(y.Component),pN=function(a){var i=a.icon,n=a.className,t=n===void 0?"":n,l=a.onClick,s="react-datepicker__calendar-icon";if(typeof i=="string")return Z.createElement("i",{className:"".concat(s," ").concat(i," ").concat(t),"aria-hidden":"true",onClick:l});if(Z.isValidElement(i)){var c=i;return Z.cloneElement(c,{className:"".concat(c.props.className||""," ").concat(s," ").concat(t),onClick:function(d){typeof c.props.onClick=="function"&&c.props.onClick(d),typeof l=="function"&&l(d)}})}return Z.createElement("svg",{className:"".concat(s," ").concat(t),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:l},Z.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},Tb=function(a){Sn(i,a);function i(n){var t=a.call(this,n)||this;return t.portalRoot=null,t.el=document.createElement("div"),t}return i.prototype.componentDidMount=function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)},i.prototype.componentWillUnmount=function(){this.portalRoot&&this.portalRoot.removeChild(this.el)},i.prototype.render=function(){return cD.createPortal(this.props.children,this.el)},i}(y.Component),mN="[tabindex], a, button, input, select, textarea",vN=function(a){return(a instanceof HTMLAnchorElement||!a.disabled)&&a.tabIndex!==-1},xb=function(a){Sn(i,a);function i(n){var t=a.call(this,n)||this;return t.getTabChildren=function(){var l;return Array.prototype.slice.call((l=t.tabLoopRef.current)===null||l===void 0?void 0:l.querySelectorAll(mN),1,-1).filter(vN)},t.handleFocusStart=function(){var l=t.getTabChildren();l&&l.length>1&&l[l.length-1].focus()},t.handleFocusEnd=function(){var l=t.getTabChildren();l&&l.length>1&&l[0].focus()},t.tabLoopRef=y.createRef(),t}return i.prototype.render=function(){var n;return((n=this.props.enableTabLoop)!==null&&n!==void 0?n:i.defaultProps.enableTabLoop)?Z.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},Z.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:0,onFocus:this.handleFocusStart}),this.props.children,Z.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:0,onFocus:this.handleFocusEnd})):this.props.children},i.defaultProps={enableTabLoop:!0},i}(y.Component);function gN(a){var i=function(n){var t,l=typeof n.hidePopper=="boolean"?n.hidePopper:!0,s=y.useRef(null),c=xR(it({open:!l,whileElementsMounted:G9,placement:n.popperPlacement,middleware:ha([hR({padding:15}),dR(10),pR({element:s})],(t=n.popperModifiers)!==null&&t!==void 0?t:[],!0)},n.popperProps)),d=it(it({},n),{hidePopper:l,popperProps:it(it({},c),{arrowRef:s})});return Z.createElement(a,it({},d))};return i}var yN=function(a){Sn(i,a);function i(){return a!==null&&a.apply(this,arguments)||this}return Object.defineProperty(i,"defaultProps",{get:function(){return{hidePopper:!0}},enumerable:!1,configurable:!0}),i.prototype.render=function(){var n=this.props,t=n.className,l=n.wrapperClassName,s=n.hidePopper,c=s===void 0?i.defaultProps.hidePopper:s,d=n.popperComponent,h=n.targetComponent,m=n.enableTabLoop,v=n.popperOnKeyDown,g=n.portalId,S=n.portalHost,w=n.popperProps,M=n.showArrow,R=void 0;if(!c){var C=Cn("react-datepicker-popper",t);R=Z.createElement(xb,{enableTabLoop:m},Z.createElement("div",{ref:w.refs.setFloating,style:w.floatingStyles,className:C,"data-placement":w.placement,onKeyDown:v},d,M&&Z.createElement(bR,{ref:w.arrowRef,context:w.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(R=y.createElement(this.props.popperContainer,{},R)),g&&!c&&(R=Z.createElement(Tb,{portalId:g,portalHost:S},R));var H=Cn("react-datepicker-wrapper",l);return Z.createElement(Z.Fragment,null,Z.createElement("div",{ref:w.refs.setReference,className:H},h),R)},i}(y.Component),bN=gN(yN),C9="react-datepicker-ignore-onclickoutside";function _N(a,i){return a&&i?Gn(a)!==Gn(i)||Ge(a)!==Ge(i):a!==i}var d2="Date input not valid.",SN=function(a){Sn(i,a);function i(n){var t=a.call(this,n)||this;return t.calendar=null,t.input=null,t.getPreSelection=function(){return t.props.openToDate?t.props.openToDate:t.props.selectsEnd&&t.props.startDate?t.props.startDate:t.props.selectsStart&&t.props.endDate?t.props.endDate:pt()},t.modifyHolidays=function(){var l;return(l=t.props.holidays)===null||l===void 0?void 0:l.reduce(function(s,c){var d=new Date(c.date);return lf(d)?ha(ha([],s,!0),[it(it({},c),{date:d})],!1):s},[])},t.calcInitialState=function(){var l,s=t.getPreSelection(),c=Eb(t.props),d=wb(t.props),h=c&&cl(s,wc(c))?c:d&&Ri(s,m9(d))?d:s;return{open:t.props.startOpen||!1,preventFocus:!1,inputValue:null,preSelection:(l=t.props.selectsRange?t.props.startDate:t.props.selected)!==null&&l!==void 0?l:h,highlightDates:w9(t.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},t.resetHiddenStatus=function(){t.setState(it(it({},t.state),{wasHidden:!1}))},t.setHiddenStatus=function(){t.setState(it(it({},t.state),{wasHidden:!0}))},t.setHiddenStateOnVisibilityHidden=function(){document.visibilityState==="hidden"&&t.setHiddenStatus()},t.clearPreventFocusTimeout=function(){t.preventFocusTimeout&&clearTimeout(t.preventFocusTimeout)},t.setFocus=function(){var l,s;(s=(l=t.input)===null||l===void 0?void 0:l.focus)===null||s===void 0||s.call(l,{preventScroll:!0})},t.setBlur=function(){var l,s;(s=(l=t.input)===null||l===void 0?void 0:l.blur)===null||s===void 0||s.call(l),t.cancelFocusInput()},t.deferBlur=function(){requestAnimationFrame(function(){t.setBlur()})},t.setOpen=function(l,s){s===void 0&&(s=!1),t.setState({open:l,preSelection:l&&t.state.open?t.state.preSelection:t.calcInitialState().preSelection,lastPreSelectChange:h2},function(){l||t.setState(function(c){return{focused:s?c.focused:!1}},function(){!s&&t.deferBlur(),t.setState({inputValue:null})})})},t.inputOk=function(){return Ya(t.state.preSelection)},t.isCalendarOpen=function(){return t.props.open===void 0?t.state.open&&!t.props.disabled&&!t.props.readOnly:t.props.open},t.handleFocus=function(l){var s,c,d=t.state.wasHidden,h=d?t.state.open:!0;d&&t.resetHiddenStatus(),t.state.preventFocus||((c=(s=t.props).onFocus)===null||c===void 0||c.call(s,l),h&&!t.props.preventOpenOnFocus&&!t.props.readOnly&&t.setOpen(!0)),t.setState({focused:!0})},t.sendFocusBackToInput=function(){t.preventFocusTimeout&&t.clearPreventFocusTimeout(),t.setState({preventFocus:!0},function(){t.preventFocusTimeout=setTimeout(function(){t.setFocus(),t.setState({preventFocus:!1})})})},t.cancelFocusInput=function(){clearTimeout(t.inputFocusTimeout),t.inputFocusTimeout=void 0},t.deferFocusInput=function(){t.cancelFocusInput(),t.inputFocusTimeout=setTimeout(function(){return t.setFocus()},1)},t.handleDropdownFocus=function(){t.cancelFocusInput()},t.handleBlur=function(l){var s,c;(!t.state.open||t.props.withPortal||t.props.showTimeInput)&&((c=(s=t.props).onBlur)===null||c===void 0||c.call(s,l)),t.state.open&&t.props.open===!1&&t.setOpen(!1),t.setState({focused:!1})},t.handleCalendarClickOutside=function(l){var s,c;t.props.inline||t.setOpen(!1),(c=(s=t.props).onClickOutside)===null||c===void 0||c.call(s,l),t.props.withPortal&&l.preventDefault()},t.handleChange=function(){for(var l,s,c,d,h,m=[],v=0;v<arguments.length;v++)m[v]=arguments[v];var g=m[0];if(!(t.props.onChangeRaw&&(t.props.onChangeRaw.apply(t,m),!g||typeof g.isDefaultPrevented!="function"||g.isDefaultPrevented()))){t.setState({inputValue:(g==null?void 0:g.target)instanceof HTMLInputElement?g.target.value:null,lastPreSelectChange:EN});var S=t.props,w=S.selectsRange,M=S.startDate,R=S.endDate,C=(l=t.props.dateFormat)!==null&&l!==void 0?l:i.defaultProps.dateFormat,H=(s=t.props.strictParsing)!==null&&s!==void 0?s:i.defaultProps.strictParsing,O=(g==null?void 0:g.target)instanceof HTMLInputElement?g.target.value:"";if(w){var Y=O.split("-",2).map(function(q){return q.trim()}),K=Y[0],X=Y[1],re=u2(K??"",C,t.props.locale,H),V=u2(X??"",C,t.props.locale,H),_=(M==null?void 0:M.getTime())!==(re==null?void 0:re.getTime()),E=(R==null?void 0:R.getTime())!==(V==null?void 0:V.getTime());if(!_&&!E||re&&Nr(re,t.props)||V&&Nr(V,t.props))return;(d=(c=t.props).onChange)===null||d===void 0||d.call(c,[re,V],g)}else{var D=u2(O,C,t.props.locale,H,(h=t.props.selected)!==null&&h!==void 0?h:void 0);(D||!O)&&t.setSelected(D,g,!0)}}},t.handleSelect=function(l,s,c){if(t.props.shouldCloseOnSelect&&!t.props.showTimeSelect&&t.sendFocusBackToInput(),t.props.onChangeRaw&&t.props.onChangeRaw(s),t.setSelected(l,s,!1,c),t.props.showDateSelect&&t.setState({isRenderAriaLiveMessage:!0}),!t.props.shouldCloseOnSelect||t.props.showTimeSelect)t.setPreSelection(l);else if(!t.props.inline){t.props.selectsRange||t.setOpen(!1);var d=t.props,h=d.startDate,m=d.endDate;h&&!m&&(t.props.swapRange||!M9(l,h))&&t.setOpen(!1)}},t.setSelected=function(l,s,c,d){var h,m,v=l;if(t.props.showYearPicker){if(v!==null&&Dc(Ge(v),t.props))return}else if(t.props.showMonthYearPicker){if(v!==null&&Sb(v,t.props))return}else if(v!==null&&Nr(v,t.props))return;var g=t.props,S=g.onChange,w=g.selectsRange,M=g.startDate,R=g.endDate,C=g.selectsMultiple,H=g.selectedDates,O=g.minTime,Y=g.swapRange;if(!nl(t.props.selected,v)||t.props.allowSameDay||w||C)if(v!==null&&(t.props.selected&&(!c||!t.props.showTimeSelect&&!t.props.showTimeSelectOnly&&!t.props.showTimeInput)&&(v=c2(v,{hour:ja(t.props.selected),minute:Ba(t.props.selected),second:Oi(t.props.selected)})),!c&&(t.props.showTimeSelect||t.props.showTimeSelectOnly)&&O&&(v=c2(v,{hour:O.getHours(),minute:O.getMinutes(),second:O.getSeconds()})),t.props.inline||t.setState({preSelection:v}),t.props.focusSelectedMonth||t.setState({monthSelectedIn:d})),w){var K=!M&&!R,X=M&&!R,re=M&&R;K?S==null||S([v,null],s):X&&(v===null?S==null||S([null,null],s):M9(v,M)?Y?S==null||S([v,M],s):S==null||S([v,null],s):S==null||S([M,v],s)),re&&(S==null||S([v,null],s))}else if(C){if(v!==null)if(!(H!=null&&H.length))S==null||S([v],s);else{var V=H.some(function(E){return at(E,v)});if(V){var _=H.filter(function(E){return!at(E,v)});S==null||S(_,s)}else S==null||S(ha(ha([],H,!0),[v],!1),s)}}else S==null||S(v,s);c||((m=(h=t.props).onSelect)===null||m===void 0||m.call(h,v,s),t.setState({inputValue:null}))},t.setPreSelection=function(l){var s=Ya(t.props.minDate),c=Ya(t.props.maxDate),d=!0;if(l){var h=wc(l);if(s&&c)d=ks(l,t.props.minDate,t.props.maxDate);else if(s){var m=wc(t.props.minDate);d=Ri(l,m)||nl(h,m)}else if(c){var v=m9(t.props.maxDate);d=cl(l,v)||nl(h,v)}}d&&t.setState({preSelection:l})},t.toggleCalendar=function(){t.setOpen(!t.state.open)},t.handleTimeChange=function(l){var s,c;if(!(t.props.selectsRange||t.props.selectsMultiple)){var d=t.props.selected?t.props.selected:t.getPreSelection(),h=t.props.selected?l:c2(d,{hour:ja(l),minute:Ba(l)});t.setState({preSelection:h}),(c=(s=t.props).onChange)===null||c===void 0||c.call(s,h),t.props.shouldCloseOnSelect&&!t.props.showTimeInput&&(t.sendFocusBackToInput(),t.setOpen(!1)),t.props.showTimeInput&&t.setOpen(!0),(t.props.showTimeSelectOnly||t.props.showTimeSelect)&&t.setState({isRenderAriaLiveMessage:!0}),t.setState({inputValue:null})}},t.onInputClick=function(){var l,s;!t.props.disabled&&!t.props.readOnly&&t.setOpen(!0),(s=(l=t.props).onInputClick)===null||s===void 0||s.call(l)},t.onInputKeyDown=function(l){var s,c,d,h,m,v;(c=(s=t.props).onKeyDown)===null||c===void 0||c.call(s,l);var g=l.key;if(!t.state.open&&!t.props.inline&&!t.props.preventOpenOnFocus){(g===ve.ArrowDown||g===ve.ArrowUp||g===ve.Enter)&&((d=t.onInputClick)===null||d===void 0||d.call(t));return}if(t.state.open){if(g===ve.ArrowDown||g===ve.ArrowUp){l.preventDefault();var S=t.props.showTimeSelectOnly?".react-datepicker__time-list-item[tabindex='0']":t.props.showWeekPicker&&t.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':t.props.showFullMonthYearPicker||t.props.showMonthYearPicker?'.react-datepicker__month-text[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',w=((h=t.calendar)===null||h===void 0?void 0:h.containerRef.current)instanceof Element&&t.calendar.containerRef.current.querySelector(S);w instanceof HTMLElement&&w.focus({preventScroll:!0});return}var M=pt(t.state.preSelection);g===ve.Enter?(l.preventDefault(),l.target.blur(),t.inputOk()&&t.state.lastPreSelectChange===h2?(t.handleSelect(M,l),!t.props.shouldCloseOnSelect&&t.setPreSelection(M)):t.setOpen(!1)):g===ve.Escape?(l.preventDefault(),l.target.blur(),t.sendFocusBackToInput(),t.setOpen(!1)):g===ve.Tab&&t.setOpen(!1),t.inputOk()||(v=(m=t.props).onInputError)===null||v===void 0||v.call(m,{code:1,msg:d2})}},t.onPortalKeyDown=function(l){var s=l.key;s===ve.Escape&&(l.preventDefault(),t.setState({preventFocus:!0},function(){t.setOpen(!1),setTimeout(function(){t.setFocus(),t.setState({preventFocus:!1})})}))},t.onDayKeyDown=function(l){var s,c,d,h,m,v,g=t.props,S=g.minDate,w=g.maxDate,M=g.disabledKeyboardNavigation,R=g.showWeekPicker,C=g.shouldCloseOnSelect,H=g.locale,O=g.calendarStartDay,Y=g.adjustDateOnChange,K=g.inline;if((c=(s=t.props).onKeyDown)===null||c===void 0||c.call(s,l),!M){var X=l.key,re=l.shiftKey,V=pt(t.state.preSelection),_=function(U,T){var N=T;switch(U){case ve.ArrowRight:N=R?Nc(T,1):Zr(T,1);break;case ve.ArrowLeft:N=R?u9(T):IC(T);break;case ve.ArrowUp:N=u9(T);break;case ve.ArrowDown:N=Nc(T,1);break;case ve.PageUp:N=re?oo(T,1):il(T,1);break;case ve.PageDown:N=re?za(T,1):Wr(T,1);break;case ve.Home:N=Ai(T,H,O);break;case ve.End:N=kR(T);break}return N},E=function(U,T){for(var N=40,L=U,$=!1,A=0,j=_(U,T);!$;){if(A>=N){j=T;break}S&&j<S&&(L=ve.ArrowRight,j=Nr(S,t.props)?_(L,j):S),w&&j>w&&(L=ve.ArrowLeft,j=Nr(w,t.props)?_(L,j):w),Nr(j,t.props)?((L===ve.PageUp||L===ve.Home)&&(L=ve.ArrowRight),(L===ve.PageDown||L===ve.End)&&(L=ve.ArrowLeft),j=_(L,j)):$=!0,A++}return j};if(X===ve.Enter){l.preventDefault(),t.handleSelect(V,l),!C&&t.setPreSelection(V);return}else if(X===ve.Escape){l.preventDefault(),t.setOpen(!1),t.inputOk()||(h=(d=t.props).onInputError)===null||h===void 0||h.call(d,{code:1,msg:d2});return}var D=null;switch(X){case ve.ArrowLeft:case ve.ArrowRight:case ve.ArrowUp:case ve.ArrowDown:case ve.PageUp:case ve.PageDown:case ve.Home:case ve.End:D=E(X,V);break}if(!D){(v=(m=t.props).onInputError)===null||v===void 0||v.call(m,{code:1,msg:d2});return}if(l.preventDefault(),t.setState({lastPreSelectChange:h2}),Y&&t.setSelected(D),t.setPreSelection(D),K){var q=Gn(V),k=Gn(D),z=Ge(V),B=Ge(D);q!==k||z!==B?t.setState({shouldFocusDayInline:!0}):t.setState({shouldFocusDayInline:!1})}}},t.onPopperKeyDown=function(l){var s=l.key;s===ve.Escape&&(l.preventDefault(),t.sendFocusBackToInput())},t.onClearClick=function(l){l&&l.preventDefault&&l.preventDefault(),t.sendFocusBackToInput();var s=t.props,c=s.selectsRange,d=s.onChange;c?d==null||d([null,null],l):d==null||d(null,l),t.setState({inputValue:null})},t.clear=function(){t.onClearClick()},t.onScroll=function(l){typeof t.props.closeOnScroll=="boolean"&&t.props.closeOnScroll?(l.target===document||l.target===document.documentElement||l.target===document.body)&&t.setOpen(!1):typeof t.props.closeOnScroll=="function"&&t.props.closeOnScroll(l)&&t.setOpen(!1)},t.renderCalendar=function(){var l,s;return!t.props.inline&&!t.isCalendarOpen()?null:Z.createElement(hN,it({showMonthYearDropdown:void 0,ref:function(c){t.calendar=c}},t.props,t.state,{setOpen:t.setOpen,dateFormat:(l=t.props.dateFormatCalendar)!==null&&l!==void 0?l:i.defaultProps.dateFormatCalendar,onSelect:t.handleSelect,onClickOutside:t.handleCalendarClickOutside,holidays:GR(t.modifyHolidays()),outsideClickIgnoreClass:C9,onDropdownFocus:t.handleDropdownFocus,onTimeChange:t.handleTimeChange,className:t.props.calendarClassName,container:t.props.calendarContainer,handleOnKeyDown:t.props.onKeyDown,handleOnDayKeyDown:t.onDayKeyDown,setPreSelection:t.setPreSelection,dropdownMode:(s=t.props.dropdownMode)!==null&&s!==void 0?s:i.defaultProps.dropdownMode}),t.props.children)},t.renderAriaLiveRegion=function(){var l=t.props,s=l.dateFormat,c=s===void 0?i.defaultProps.dateFormat:s,d=l.locale,h=t.props.showTimeInput||t.props.showTimeSelect,m=h?"PPPPp":"PPPP",v;return t.props.selectsRange?v="Selected start date: ".concat(Cr(t.props.startDate,{dateFormat:m,locale:d}),". ").concat(t.props.endDate?"End date: "+Cr(t.props.endDate,{dateFormat:m,locale:d}):""):t.props.showTimeSelectOnly?v="Selected time: ".concat(Cr(t.props.selected,{dateFormat:c,locale:d})):t.props.showYearPicker?v="Selected year: ".concat(Cr(t.props.selected,{dateFormat:"yyyy",locale:d})):t.props.showMonthYearPicker?v="Selected month: ".concat(Cr(t.props.selected,{dateFormat:"MMMM yyyy",locale:d})):t.props.showQuarterYearPicker?v="Selected quarter: ".concat(Cr(t.props.selected,{dateFormat:"yyyy, QQQ",locale:d})):v="Selected date: ".concat(Cr(t.props.selected,{dateFormat:m,locale:d})),Z.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},v)},t.renderDateInput=function(){var l,s,c,d=Cn(t.props.className,(l={},l[C9]=t.state.open,l)),h=t.props.customInput||Z.createElement("input",{type:"text"}),m=t.props.customInputRef||"ref",v=t.props,g=v.dateFormat,S=g===void 0?i.defaultProps.dateFormat:g,w=v.locale,M=typeof t.props.value=="string"?t.props.value:typeof t.state.inputValue=="string"?t.state.inputValue:t.props.selectsRange?AR(t.props.startDate,t.props.endDate,{dateFormat:S,locale:w}):t.props.selectsMultiple?CR((c=t.props.selectedDates)!==null&&c!==void 0?c:[],{dateFormat:S,locale:w}):Cr(t.props.selected,{dateFormat:S,locale:w});return y.cloneElement(h,(s={},s[m]=function(R){t.input=R},s.value=M,s.onBlur=t.handleBlur,s.onChange=t.handleChange,s.onClick=t.onInputClick,s.onFocus=t.handleFocus,s.onKeyDown=t.onInputKeyDown,s.id=t.props.id,s.name=t.props.name,s.form=t.props.form,s.autoFocus=t.props.autoFocus,s.placeholder=t.props.placeholderText,s.disabled=t.props.disabled,s.autoComplete=t.props.autoComplete,s.className=Cn(h.props.className,d),s.title=t.props.title,s.readOnly=t.props.readOnly,s.required=t.props.required,s.tabIndex=t.props.tabIndex,s["aria-describedby"]=t.props.ariaDescribedBy,s["aria-invalid"]=t.props.ariaInvalid,s["aria-labelledby"]=t.props.ariaLabelledBy,s["aria-required"]=t.props.ariaRequired,s))},t.renderClearButton=function(){var l=t.props,s=l.isClearable,c=l.disabled,d=l.selected,h=l.startDate,m=l.endDate,v=l.clearButtonTitle,g=l.clearButtonClassName,S=g===void 0?"":g,w=l.ariaLabelClose,M=w===void 0?"Close":w,R=l.selectedDates;return s&&(d!=null||h!=null||m!=null||R!=null&&R.length)?Z.createElement("button",{type:"button",className:Cn("react-datepicker__close-icon",S,{"react-datepicker__close-icon--disabled":c}),disabled:c,"aria-label":M,onClick:t.onClearClick,title:v,tabIndex:-1}):null},t.state=t.calcInitialState(),t.preventFocusTimeout=void 0,t}return Object.defineProperty(i,"defaultProps",{get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",preventOpenOnFocus:!1,monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,swapRange:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:Zs,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1,usePointerEvent:!1}},enumerable:!1,configurable:!0}),i.prototype.componentDidMount=function(){window.addEventListener("scroll",this.onScroll,!0),document.addEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},i.prototype.componentDidUpdate=function(n,t){var l,s,c,d;n.inline&&_N(n.selected,this.props.selected)&&this.setPreSelection(this.props.selected),this.state.monthSelectedIn!==void 0&&n.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),n.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:w9(this.props.highlightDates)}),!t.focused&&!nl(n.selected,this.props.selected)&&this.setState({inputValue:null}),t.open!==this.state.open&&(t.open===!1&&this.state.open===!0&&((s=(l=this.props).onCalendarOpen)===null||s===void 0||s.call(l)),t.open===!0&&this.state.open===!1&&((d=(c=this.props).onCalendarClose)===null||d===void 0||d.call(c)))},i.prototype.componentWillUnmount=function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0),document.removeEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},i.prototype.renderInputContainer=function(){var n=this.props,t=n.showIcon,l=n.icon,s=n.calendarIconClassname,c=n.calendarIconClassName,d=n.toggleCalendarOnIconClick,h=this.state.open;return s&&console.warn("calendarIconClassname props is deprecated. should use calendarIconClassName props."),Z.createElement("div",{className:"react-datepicker__input-container".concat(t?" react-datepicker__view-calendar-icon":"")},t&&Z.createElement(pN,it({icon:l,className:Cn(c,!c&&s,h&&"react-datepicker-ignore-onclickoutside")},d?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())},i.prototype.render=function(){var n=this.renderCalendar();if(this.props.inline)return n;if(this.props.withPortal){var t=this.state.open?Z.createElement(xb,{enableTabLoop:this.props.enableTabLoop},Z.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},n)):null;return this.state.open&&this.props.portalId&&(t=Z.createElement(Tb,it({portalId:this.props.portalId},this.props),t)),Z.createElement("div",null,this.renderInputContainer(),t)}return Z.createElement(bN,it({},this.props,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),targetComponent:this.renderInputContainer(),popperComponent:n,popperOnKeyDown:this.onPopperKeyDown,showArrow:this.props.showPopperArrow}))},i}(y.Component),EN="input",h2="navigate";const wN=({title:a,titleId:i,...n},t)=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("path",{fill:"currentColor",d:"M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"})),DN=y.forwardRef(wN),TN={year:"numeric",month:"long",day:"numeric"},xN=({restart:a,proceed:i})=>{const{controlCode:n}=Pn(V=>V),[t,l]=y.useState(!0),[s,c]=y.useState(!1),[d,h]=y.useState(Array(5).fill(!1)),[m,v]=y.useState(""),[g,S]=y.useState({}),[w,M]=y.useState(null),R=y.useRef(null),C=()=>R.current.setOpen(!0),H=["photo","valid","lastName","firstName"];y.useEffect(()=>{ZM(n.dayOfBirth).then(V=>{l(V)})},[]);const O=(V,_)=>{const E=[...d];E[V]=_,h(E)},Y=V=>V<10?`0${V}`:V.toString(),K=()=>{const V=ke.locale==="nl"?"nl-NL":"en-EN";return{dayOfBirth:w.toLocaleDateString(V,TN)}},X=V=>{M(V);const _=`${V.getFullYear()}-${Y(V.getMonth()+1)}-${Y(V.getDate())}`,E={...n,dayOfBirth:_};Pn.setState(()=>({controlCode:E}))},re=()=>{const{firstName:V,lastName:_,dayOfBirth:E,code:D,userUid:q}=n;c(!0),VM(V,_,E,D,m,q).then(()=>{S({}),c(!1),i()}).catch(k=>{c(!1),k.response.json().then(z=>{S(z),window.scrollTo({top:0,left:0,behavior:"smooth"})})})};return W.jsxs("div",{className:"control",children:[W.jsxs("div",{className:"control-header",children:[W.jsxs("h2",{children:[ke.t("control.header"),W.jsx("span",{className:"code",children:n.code})]}),W.jsx(ro,{txt:ke.t("control.restart"),type:Ti.GhostDark,onClick:()=>a()})]}),!Ua(g)&&W.jsx("div",{className:"error",children:W.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:xi.sanitize(ke.t("control.error",g))}})}),W.jsxs("div",{className:"control-validation",children:[W.jsx("h4",{children:ke.t("control.info")}),W.jsx("p",{children:ke.t("control.validDocuments")}),W.jsx(lm,{toasterType:Di.Warning,message:ke.t("control.inValidDocuments")}),W.jsx("h4",{children:ke.t("control.isValid")}),H.map((V,_)=>W.jsxs("div",{className:"validation-item",children:[W.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:xi.sanitize(ke.t(`control.validations.${V}`,n))}}),W.jsx(F4,{value:d[_],onChange:E=>O(_,E)})]},V)),W.jsxs("div",{className:"validation-item column",children:[W.jsxs("div",{className:"validation-item-inner",children:[W.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:xi.sanitize(ke.t("control.validations.dayOfBirth",!t&&w!==null?K():n))}}),W.jsx(F4,{value:d[4],disabled:!t&&w===null,onChange:V=>O(4,V)})]}),!t&&W.jsxs("div",{className:`validation-item-inner birthday ${w===null?"invalid":"valid"}`,children:[W.jsx("p",{children:ke.t(`control.${w===null?"invalidDate":"validDate"}`)}),W.jsx(SN,{ref:R,preventOpenOnFocus:!0,onChange:X,showWeekNumbers:!0,selected:w,showYearDropdown:!0,showMonthDropdown:!0,dropdownMode:"select",weekLabel:"Week",todayButton:null}),W.jsx("div",{className:"calendar",onClick:C,children:W.jsx(DN,{})})]})]}),W.jsxs("div",{className:"validation-item column",children:[W.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:xi.sanitize(ke.t("control.idDocument"))}}),W.jsxs("div",{className:"code-validation",children:[W.jsx(X9,{verify:V=>v(V),size:6,focusFirst:!1,validate:()=>!0}),W.jsx(ro,{txt:ke.t("control.proceed"),disabled:Ua(m)||d.some(V=>!V)||s||!Ua(g)||!t&&Ua(w),onClick:()=>re()})]})]})]})]})},MN=({title:a,titleId:i,...n},t)=>y.createElement("svg",{id:"dcc22515-6e5c-427c-a472-433a07234f27","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",width:1009.54,height:766.62,viewBox:"0 0 1009.54 766.62",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("defs",null,y.createElement("linearGradient",{id:"43242edf-68b9-436b-b935-0b4e021271d5",x1:625.8,y1:769.51,x2:625.8,y2:88.59,gradientUnits:"userSpaceOnUse"},y.createElement("stop",{offset:0,stopColor:"gray",stopOpacity:.25}),y.createElement("stop",{offset:.54,stopColor:"gray",stopOpacity:.12}),y.createElement("stop",{offset:1,stopColor:"gray",stopOpacity:.1}))),y.createElement("path",{d:"M335.05,706.45c-8.5-.86-17.38-1.78-25.43.47s-14.72,8.82-12.33,15.1c5.34,14,36.68,4.25,51.13,13.82,5.16,3.42,7.17,8.8,11.2,13,6.52,6.82,17.73,10,28.55,11.75,65,10.51,139.1-16.54,196.07,9.51,18.45,8.44,33,21.87,53.23,27.5,26.8,7.46,56.15-.51,83.88-5.62a410.28,410.28,0,0,1,104.89-5.5c25.93,2,60.42,2.67,68.72-16.16C900.3,758.21,889,744.73,874,739s-32.56-5.55-49.31-5c-32.33,1.16-64.67,3.5-97,2.36-62.52-2.22-121.58-27-182.46-27.82C474.33,707.68,406.28,713.63,335.05,706.45Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M269.32,393c-10,10.11-10.61,25.61-10.61,25.61s15.49-.88,25.45-11S294.78,382,294.78,382,279.28,382.91,269.32,393Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M309.57,143.24c3.53,13.75,16.48,22.3,16.48,22.3s7.23-13.73,3.7-27.48-16.48-22.29-16.48-22.29S306,129.5,309.57,143.24Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M894.41,181.06c-10,10.11-10.62,25.61-10.62,25.61s15.5-.88,25.46-11,10.61-25.62,10.61-25.62S904.37,171,894.41,181.06Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M589.62,322.74c-1.16,14.14,8.27,26.46,8.27,26.46s11.33-10.61,12.49-24.76S602.11,298,602.11,298,590.78,308.59,589.62,322.74Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M917.68,521.05c-1.16,14.14,8.27,26.46,8.27,26.46s11.33-10.61,12.49-24.75-8.27-26.46-8.27-26.46S918.84,506.91,917.68,521.05Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M681.78,163.07c-64.72-1.95-126.36-20-185.22-39.8S379.4,81.58,316.23,71.1c-40.63-6.74-87.1-7.69-119.83,11.16-31.51,18.13-41.69,49.44-47.16,78.49-4.12,21.85-6.54,44.85,4.74,65.31,7.84,14.21,21.74,26.15,31.36,39.75,33.47,47.35,9.81,105.73-26.45,152-17,21.69-36.75,42.37-49.88,65.46s-19.2,49.53-7.71,73.07c11.38,23.34,38.51,40.87,67.9,53.2,59.69,25,130,32.21,198.61,36.27,151.83,9,304.46,5.1,456.69,1.2,56.34-1.44,112.92-2.9,168.34-10.44,30.78-4.18,62.55-10.82,84.9-26.86,28.36-20.36,35.39-54.83,16.38-80.36-31.88-42.81-120-53.45-142.31-99.4-12.26-25.29.33-53.46,18.16-76.92,38.24-50.32,102.33-94.47,105.7-152,2.32-39.5-28.49-79.06-76.13-97.75-49.93-19.6-119.18-17.13-156,15.3C805.59,151.93,738.93,164.78,681.78,163.07Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M896.32,351.32a9,9,0,0,0-6.14,5.41l-1-.16-3.73-.6s-19.76-1.63-23.45-1.38-6-3.39-6-3.39l-14.69-12.43-1.14-1c1.59-.6,2.58-.91,2.58-.91s-39.42-49-47.92-49.95-22.55-12.39-22.69-12.5l-.15-.78c-.31-1.65-.54-3.32-.71-5l2.09,1.28h0c0-.58,0-1.16.06-1.74h0a31.64,31.64,0,0,1,5.88-16.8c4.11-5.7,10.19-10.18,12.62-16.75a24.21,24.21,0,0,0,1.29-8.79,29.3,29.3,0,0,0-4.1-15.29,19.1,19.1,0,0,0-12.9-8.9c-1.4-.22-2.83-.25-4.21-.57-8.21-1.93-11.23-12.94-19.21-15.64-3.72-1.26-7.86-.43-11.45,1.13s-6.84,3.8-10.35,5.53-7.49,3-10.68,5.45c-.33.25-.68.55-1,.86h0l-.63.61h0a22.64,22.64,0,0,0-3.41,4.45l-.15.25c-.1.17-.19.35-.28.53s-.15.28-.21.42-.16.32-.23.48l-.21.48-.18.46c-.06.17-.13.34-.18.52s-.1.29-.14.44l-.15.53-.09.43c0,.18-.07.37-.1.55s0,.27,0,.4,0,.38,0,.57,0,.25,0,.37,0,.4,0,.61,0,.2,0,.3a6.09,6.09,0,0,0,.18.87v0c.54,1.84,2.4,3.72,3.82,5.36-.16.15-.32.29-.48.45a34.86,34.86,0,0,0-10.67,25.11,34.4,34.4,0,0,0,.57,6.21,33.32,33.32,0,0,0-5.83-3.53,50.89,50.89,0,0,0-21.69-5c-12.25-.14-29.46-4.74-29.46-4.74a11.7,11.7,0,0,1,1,2.65c-.75-.43-1.56-.89-2.45-1.37a71.82,71.82,0,0,0-23-7.7s-5.1.71-5.78-10a45.41,45.41,0,0,0-1.8-9.87,168.22,168.22,0,0,1-6.06-30L610,163.52s7.7-41,3.07-58.48c1.49-5.48.65-10.5-4.26-14.11-19.37-14.26-38.91,41.24-38.91,41.24l-7.26,7.05a15.58,15.58,0,0,0-6.16-2.35s-3.91,4-6.63,14.92c-1.44,5.79-11.28,15.46-20.18,23.25-6.32,5.53-12.42,11.28-18.51,17.05-4.5,4.28-14.53,10.4-36.41,13.86-3.43.54-6.55,1.05-9.4,1.52a29.33,29.33,0,0,0,1.1-7.94,29.78,29.78,0,0,0-23.36-28.93,7.46,7.46,0,0,0,0-2.11,8.74,8.74,0,0,0-2.21-4c-4.61-5.7-9.61-11.56-16.47-14.26a21.45,21.45,0,0,0-8.89-1.43h-1.52c-.31,0-.61,0-.92,0h0a22.78,22.78,0,0,0-16.66,8.68c-2.46,3.29-3.94,7.19-6.06,10.7-3.94,6.5-10,11.51-16.57,15.47-3.95,2.39-8.1,4.45-11.83,7.16-13.53,9.83-19.77,28-16.37,44.24,1.5,7.13,4.67,14.15,3.82,21.38-.67,5.61-3.69,10.65-6.77,15.41s-6.34,9.6-7.56,15.11.06,12,4.68,15.34c1.7,1.22,3.76,2,5.21,3.48a16.7,16.7,0,0,1,2.4,3.76,37.42,37.42,0,0,0,23.27,18.08,17,17,0,0,0,4.76.52h.17l.31,0c3.67.23,7.43-.75,8.66-4a9.08,9.08,0,0,1,.83-2.12,2.49,2.49,0,0,1,1.45-1,13.32,13.32,0,0,1,3.39,1.28A43.12,43.12,0,0,0,406.69,327a23.2,23.2,0,0,0,2.89.05,12.78,12.78,0,0,0,5.89-.84,12.62,12.62,0,0,0,4.53-3.88c.26-.33.5-.68.75-1a82.71,82.71,0,0,1-7.38,23s-6,10-5.57,20.08a20.17,20.17,0,0,0,2.25,10.6s.17-.44.52-1.13c1.72,2.88,7.36,12.09,11.06,15.32.18,9.51.14,21.42-1.05,23.87-2,4.19-8.32,34,18.86,54.33l6.27,13.73-25.81,1.83c-2.61-.36-36.36-4.9-36.53,1.71-.17,6.87,5.1,73.77,22.6,69.24,16.31-4.22,10.93-23.73,10.12-26.35l.58-.16-.64-.18,13.05-12.37a5.78,5.78,0,0,0-1-4.29l.13-.07,31.52,1.41L467.14,528s12.57,19.12,2.38,35.21-20.73,41.25-22.43,56.51c-1.39,12.48-10.63,24.74-13.94,28.78-5.91,2-28.58,10.9-19.53,24.37,10.36,15.42,44,44.77,57.6,43.76s8.15-10.9,8.15-10.9L468,694.71s-2-23.48-1.19-30.35c.44-3.57-2.19-6.14-5-7.23,1.07-7.65,3.78-22.15,9.6-30.16,8.15-11.24,34.32-60.7,34.32-60.7s8.32-7.38,6.45-29.34c-.75-8.86-1.17-16.64-1.41-22.79l29.62,1.33s31.77-3.19,10.19-37.23-67.45-67.4-67.45-67.4l-.41-21.07c2.08.52,3.3.78,3.3.78s-.18-.76-.48-2.12l.48.11s-6.63-28.69-8.67-51.5l1.87.86c19.71,22.81,33,3.53,33,3.53s41.63-58.52,37.55-55.84a3.54,3.54,0,0,1-2.74.17l3-9.56s12.29-18.78-5.55-29.34c-14.56-8.62-14.18,18.4-13.55,28.61l-.72-.61s-13.93,21-21.41,32.7-13.76,4-13.76,4l-9.45-10.65a37.41,37.41,0,0,0,2.25-13.32,22.63,22.63,0,0,0-6.39-17.28c-7.21-7.35-9.32-14.47-9.54-19.95a21.12,21.12,0,0,1,1.89-8.22l49.11-26s10.36.16,24.29-21.3a368.42,368.42,0,0,1,29.74-39.23s-.29-.42-.79-1.11c.5-.59.79-.91.79-.91s-.57-.83-1.54-2.11l7.57-8.73a112,112,0,0,0-.09,11.85l3.92,13.25,2.2,73.77s-2.38,7,12.92,14.09c12.94,6,33.44,16,39.42,18.95-.22.54-.35.83-.35.83l1.78-.12.26.12h0c29.89-2.68,28.87,27.16,28.87,27.16s2,60.7-7.13,81.83-7.82,47.28-7.82,47.28.91-4.46,6,1.37c-.1.51-.21,1.06-.33,1.63-2.92,14.63-9,45.75-10.13,58.37a204.52,204.52,0,0,1-6.63,34l-3,55.83,19.11.93-.21,2a6.28,6.28,0,0,1-3.24,4.87c-6.54,3.55-22,16-20.76,54.42l-.66,6.18a77.64,77.64,0,0,1-9.33,29.81c-.44.78-.83,1.53-1.16,2.25a1.84,1.84,0,0,1,.52-1.07s-9.93,2.06-7.89,28.89,5.1,31.52,9.18,31.85,24,5.2,22.93-4.69-2-31.86-.68-35.21,6.74-12.39,1.6-14.57h0a76.64,76.64,0,0,0,2.15-18.8s10-15.76,17.15-21.63,11-15.84,13.59-28.67c.18-.84,21.07-14.76,18-26.32-.54-2-.93-3.77-1.23-5.37-.13-.71-.24-1.38-.34-2l.37,0,4.25-25.49v24.82l2.52.33-.09,2-1.07,23.8a39.18,39.18,0,0,1-3,13.48c-4.5,10.65-12.8,34.36-10.54,60l-.24,22.86c-.72.14-11.1,2.59-9.13,28.5,2,26.82,5.09,31.52,9.17,31.85s24,5.2,22.94-4.69-2-31.86-.68-35.21,3.7-12.21-1.44-14.39a19.16,19.16,0,0,1,2.14-8.63c2.24-3.81,9.72-21.92,15.35-35.85a128.31,128.31,0,0,0,9.45-44.33c0-.17,0-.34,0-.51a41.56,41.56,0,0,1,3.25-14.93,96.28,96.28,0,0,0,5.44-16.41c.14-.67.25-1.32.35-2l4.88.65,16.66-72.1s4.56-39.08,2.33-56.73c-.09-.73-.19-1.4-.31-2.05l1,.09s3.4-8.71,2.38-45.94,6.8-49,6.8-49c4.22-13.38,8.88-17.86,11.6-19.36h0a4.91,4.91,0,0,1,2.33-.76l12.61,14.43h0l2.32,2.66a.86.86,0,0,0,0-.16l1,1.17a10.78,10.78,0,0,1-.08-1.79c6.73,3.91,22.28,13.05,31.56,19.61,12.1,8.55,15.42,7.55,26,6.66,6.42-.53,15.1-4.13,20.92-6.87l.53-.25a25.54,25.54,0,0,0,4.92,2s17.08,14.47,18.73-11.94S896.32,351.32,896.32,351.32Zm-443,307.56a24.7,24.7,0,0,1-5-2.11ZM426.58,373l.06,3.75-.26.12C426.46,375.55,426.52,374.25,426.58,373ZM693.72,707.72l0,1.46A1.07,1.07,0,0,1,693.72,707.72Z",transform:"translate(-95.23 -66.69)",fill:"url(#43242edf-68b9-436b-b935-0b4e021271d5)"}),y.createElement("rect",{x:624.01,y:201.63,width:29,height:30.5,fill:"#ff7590"}),y.createElement("path",{d:"M684,620.49c-2.55,12.75-6.33,22.66-13.33,28.5s-16.83,21.5-16.83,21.5c-.17,20.83-5.67,27.16-5.67,27.16l-5.67,1.5h-14s-2.5-7-3-11.16c-.17-1.39.82-3.72,2.2-6.22a77.92,77.92,0,0,0,9.15-29.63l.65-6.15c-1.18-38.17,14-50.56,20.37-54.09a6.24,6.24,0,0,0,3.17-4.84h0l1.13-10.91L699.83,578s-.8,3.32.63,11c.29,1.59.68,3.36,1.2,5.33C704.66,605.82,684.16,619.65,684,620.49Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M747.86,594.13a97.09,97.09,0,0,1-5.33,16.31,41.88,41.88,0,0,0-3.2,14.84c0,.17,0,.34,0,.51a129.17,129.17,0,0,1-9.27,44.06c-5.53,13.84-12.86,31.85-15.06,35.64-3.66,6.33-1.5,17-1.5,17l-21.2-1.5.37-35.67c-2.21-25.47,5.93-49,10.34-59.63a39.08,39.08,0,0,0,3-13.39l1-23.66.31-7s37.48-5.33,40.64,3.17C748.83,587.06,748.62,590.41,747.86,594.13Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M700.46,589,661,587.06l1.13-10.91L699.83,578S699,581.31,700.46,589Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M747.86,594.13,707,588.64l.31-7s37.48-5.33,40.64,3.17C748.83,587.06,748.62,590.41,747.86,594.13Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M769.33,521.15,753,592.82l-48.33-6.5V561.65L700.49,587l-58-2.84,3-55.5a205.85,205.85,0,0,0,6.5-33.83c1.13-12.54,7.07-43.47,9.94-58,1-4.79,1.56-7.81,1.56-7.81s99.34,20.66,105.84,28.16c1.11,1.28,1.84,4,2.29,7.61C773.8,482.31,769.33,521.15,769.33,521.15Z",transform:"translate(-95.23 -66.69)",fill:"#bdd2e8"}),y.createElement("path",{d:"M653.33,525.82s39.1-20.5,48.63-16.17Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M674.66,458.82s32.5,24.67,33.5,31.33Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M665.83,543.82s23.5-1,31,5Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M708.16,517.44S719.33,554,714.49,564s-9.83-2.34-9.83-2.34Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M692.47,708s-11,1.67-9,28.33,5,31.34,9,31.67,23.5,5.17,22.5-4.67-2-31.66-.67-35,3.63-12.13-1.41-14.3l-1.09,5.14s-10.67-9.84-17-2.67a27.7,27.7,0,0,0-1.31-5.13C692.86,709.81,691.48,709,692.47,708Z",transform:"translate(-95.23 -66.69)",fill:"#494457"}),y.createElement("path",{d:"M893.78,380.82s-2.52,1.41-6.22,3.17c-5.71,2.72-14.22,6.3-20.52,6.83-10.38.88-13.63,1.88-25.5-6.62-9.11-6.52-24.36-15.61-31-19.49L807.65,363l-.29-.17,0-.12,5.51-15.14,19.5-10.37,4.84,4.15,14.41,12.35s2.25,3.62,5.88,3.37,23,1.37,23,1.37l3.66.6,7.71,1.28Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M893.78,380.82s-2.52,1.41-6.22,3.17c-3.91-2-8.77-5.75-6.9-11.92,1.69-5.55,2.15-9.88,3.54-13l7.71,1.28Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M891.16,353.82s21.75-6.25,20.13,20-18.38,11.88-18.38,11.88-14.25-3.75-11.25-13.63S883.79,356.2,891.16,353.82Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M665.66,268.82,643,278.34l-.35.15-.25-.12-1.41-.71c-5.86-2.92-26-12.91-38.67-18.84-15-7-12.67-14-12.67-14l-2.16-73.33-3.84-13.17s-2.71-44.64,19-55.83,7.67,64.66,7.67,64.66L612,182.91a168.78,168.78,0,0,0,5.95,29.77,46.24,46.24,0,0,1,1.76,9.81c.67,10.66,5.67,9.95,5.67,9.95a69.61,69.61,0,0,1,22.54,7.66,56.38,56.38,0,0,1,7.46,4.72Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M746.33,303.82l-19.34-2s5.7-8.48,8.21-16.73a28.42,28.42,0,0,0,.85-3.45c.58-3.27.43-6.3-1.06-8.49-5.66-8.33,33.67-20,33.67-20a96.07,96.07,0,0,0-.43,13.88,70.23,70.23,0,0,0,1,9.61c1.19,6.47,3.56,12.56,8.08,15.68C789.66,300.82,746.33,303.82,746.33,303.82Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M746.33,303.82l-19.34-2s5.7-8.48,8.21-16.73c2.23,3.17,3,3.1,6.13,3.73,0,0,19.52,2.89,27.92-12.18,1.19,6.47,3.56,12.56,8.08,15.68C789.66,300.82,746.33,303.82,746.33,303.82Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M810.58,364.71a10.71,10.71,0,0,0,.08,1.78l-3-3.49-.25-.29,5.51-15.14,19.5-10.37,4.84,4.15C830.33,344,810.89,352.41,810.58,364.71Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M665.66,268.82,643,278.34l-.6,0-1.75.12s.13-.29.34-.83c1.89-4.59,10.66-27,6.87-37.56a56.38,56.38,0,0,1,7.46,4.72Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M771.62,464.76c-8.82-.79-97.06-8.95-105.29-21.94a45.64,45.64,0,0,0-4.4-6c1-4.79,1.56-7.81,1.56-7.81s99.34,20.66,105.84,28.16C770.44,458.43,771.17,461.14,771.62,464.76Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M741.33,289.82s19.73,2.92,28.07-12.41c0,0,13.93,11.44,22.26,12.42s47,49.66,47,49.66-31,10-29,26l-14.67-17s-7.33-.34-13.66,20c0,0-7.67,11.66-6.67,48.66s-2.33,45.67-2.33,45.67-97.34-8.33-106-22-10-7-10-7-1.34-26,7.66-47,7-81.33,7-81.33,1-29.67-28.33-27c0,0,12.33-28.67,6.67-39.67,0,0,16.87,4.58,28.89,4.72a49.42,49.42,0,0,1,21.28,5c3.61,1.77,6.94,4,8.83,6.66,5.66,8,15,4.34,15,4.34a151.41,151.41,0,0,0,8.7,21.33c.39.73.78,1.45,1.18,2.14.58,1,1.18,2,1.78,2.82C737.39,289.26,738.07,289.17,741.33,289.82Z",transform:"translate(-95.23 -66.69)",fill:"#ff7590"}),y.createElement("path",{d:"M768.23,267a34.24,34.24,0,0,1-3.54,4.25,34.89,34.89,0,0,1-25,10.54,35.91,35.91,0,0,1-3.61-.18c.58-3.27.43-6.3-1.06-8.49-5.66-8.33,33.67-20,33.67-20A96.07,96.07,0,0,0,768.23,267Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M774.66,245.82a35,35,0,1,1-35-35A34.87,34.87,0,0,1,774.66,245.82Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M792,325.82l.72,23.42s10.45-8.42,10.78-16.42S792,325.82,792,325.82Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M707.66,349.24s27.5,37.75,43.5,41.58S713.66,361.48,707.66,349.24Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M736.83,353.17s15.33,17.32,26.33,19.48Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M682.83,396.82s28,27.5,44,29.17Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M774.66,245.82a34.87,34.87,0,0,1-10,24.46l-3.84-2.39a10.62,10.62,0,0,1-3.74-3.25c-1.27-2.12-.9-4.78-.8-7.25.21-5.23-1.23-10.89-5.32-14.16-6.63-5.31-17.26-2.37-24-7.58a23.66,23.66,0,0,1-4.25-4.73l-6.32-8.47c-.38-.5-.84-1-1.33-1.59a35,35,0,0,1,59.54,25Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M718.57,201c3.13-2.39,6.95-3.65,10.47-5.41s6.63-4,10.15-5.5,7.59-2.38,11.24-1.13c7.83,2.69,10.79,13.63,18.84,15.55,1.36.32,2.76.35,4.13.56a18.8,18.8,0,0,1,12.65,8.85,29.46,29.46,0,0,1,4,15.21,24.37,24.37,0,0,1-1.27,8.73c-2.38,6.53-8.35,11-12.38,16.65A31.66,31.66,0,0,0,770.61,273l-9.76-6.07a10.52,10.52,0,0,1-3.74-3.25c-1.27-2.12-.9-4.78-.8-7.25.21-5.23-1.23-10.89-5.31-14.16-6.64-5.31-17.27-2.37-24-7.58a23.66,23.66,0,0,1-4.25-4.73l-6.32-8.47c-1.37-1.84-4-4.13-4.6-6.37C710.5,210.3,715.05,203.71,718.57,201Z",transform:"translate(-95.23 -66.69)",fill:"#362133"}),y.createElement("path",{d:"M761.94,265.8a10.52,10.52,0,0,1-3.74-3.25c-1.27-2.12-.9-4.78-.8-7.25.21-5.23-1.23-10.89-5.32-14.16-6.63-5.31-17.26-2.37-24-7.58a23.66,23.66,0,0,1-4.25-4.73l-6.32-8.47c-1.38-1.84-4-4.13-4.6-6.37-1.09-3.86,1.67-8.89,4.62-12.11-3.31,3.06-6.94,8.87-5.71,13.2.64,2.24,3.23,4.53,4.6,6.37l6.32,8.47a23.66,23.66,0,0,0,4.25,4.73c6.71,5.21,17.34,2.27,24,7.58,4.08,3.27,5.52,8.93,5.31,14.16-.1,2.47-.47,5.13.8,7.25a10.52,10.52,0,0,0,3.74,3.25l9.76,6.07c0-.58,0-1.16.06-1.73Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M627.07,682.94s-9.74,2-7.74,28.71,5,31.34,9,31.67,23.5,5.17,22.5-4.67-2-31.66-.67-35,6.61-12.31,1.57-14.48l-4.07,5.32s-10.67-9.84-17-2.67C630.66,691.82,624.74,685.27,627.07,682.94Z",transform:"translate(-95.23 -66.69)",fill:"#494457"}),y.createElement("path",{d:"M633.23,699.5c2.11,1,4.08,2.22,6.18,3.22a13.87,13.87,0,0,0,6.71,1.58,4.68,4.68,0,0,0,2.74-.95",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M697.33,725.62c1.25,1.15,2.22,2.62,3.63,3.57,2,1.34,4.56,1.42,7,1.45a2.84,2.84,0,0,0,1.2-.15,2.92,2.92,0,0,0,1.07-1l1.31-1.69",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M533,282.15s-4.5-42.66,13-32.16,5.45,29.16,5.45,29.16l-4.11,13.17Z",transform:"translate(-95.23 -66.69)",fill:"#ffc1c7"}),y.createElement("path",{d:"M561,145.82,571,136s19.17-55.17,38.17-41-24.08,50-24.08,50l-11.42,13.33Z",transform:"translate(-95.23 -66.69)",fill:"#ffc1c7"}),y.createElement("path",{d:"M414.66,364l-.5,11.33s9.17,16,13,17.17,3.5-33.84,3.5-33.84Z",transform:"translate(-95.23 -66.69)",fill:"#ff5374"}),y.createElement("path",{d:"M414.66,364l-.5,11.33s9.17,16,13,17.17,3.5-33.84,3.5-33.84Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("polygon",{points:"334.76 284.87 335.44 326.63 381.93 326.63 378.43 302.3 334.76 284.87",fill:"#ffc1c7"}),y.createElement("path",{d:"M440.83,455.82,443,469.15l27.17,60.34s12.33,19,2.33,35-20.33,41-22,56.16-14.83,30-14.83,30l28.67,12.17s2-23.83,10-35S508,567.49,508,567.49s8.17-7.34,6.34-29.17-1.67-37.17-1.67-37.17l-2.83-34.83Z",transform:"translate(-95.23 -66.69)",fill:"#575988"}),y.createElement("path",{d:"M440.83,455.82,443,469.15l27.17,60.34s12.33,19,2.33,35-20.33,41-22,56.16-14.83,30-14.83,30l28.67,12.17s2-23.83,10-35S508,567.49,508,567.49s8.17-7.34,6.34-29.17-1.67-37.17-1.67-37.17l-2.83-34.83Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M438.16,648.82s-30.67,9.33-20.5,24.67,43.17,44.5,56.5,43.5,8-10.84,8-10.84l-11.17-11s-2-23.33-1.16-30.16-9.5-10-10.84-6S438.16,648.82,438.16,648.82Z",transform:"translate(-95.23 -66.69)",fill:"#c4747b"}),y.createElement("path",{d:"M457.49,375.58l-24.31,2.69a8.72,8.72,0,0,0-7.76,8.89c.26,9.72.43,25.18-.93,28-2,4.17-8.16,33.84,18.5,54l36.17,11.5-58,4.17L423,517l9-5,110,5s31.17-3.17,10-37-66.16-67-66.16-67l-.5-26.34L482,379Z",transform:"translate(-95.23 -66.69)",fill:"#575988"}),y.createElement("path",{d:"M487.66,480.15a31.24,31.24,0,0,1,25,0Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M424,484.65s-35.83-5.16-36,1.67,5,73.33,22.17,68.83,9.83-26.5,9.83-26.5l12.84-12.33s1.33-6.83-7.17-6.17Z",transform:"translate(-95.23 -66.69)",fill:"#c4747b"}),y.createElement("path",{d:"M483.33,298.15l14.16,16.17s6.17,7.67,13.5-4,21-32.5,21-32.5,15.17,13.33,19.17,10.67S514.33,344,514.33,344s-13,19.16-32.34-3.5l-5.66-2.67Z",transform:"translate(-95.23 -66.69)",fill:"#ff5374"}),y.createElement("path",{d:"M483.33,298.15l14.16,16.17s6.17,7.67,13.5-4,21-32.5,21-32.5,15.17,13.33,19.17,10.67S514.33,344,514.33,344s-13,19.16-32.34-3.5l-5.66-2.67Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("circle",{cx:344.78,cy:136.25,r:29.5,fill:"#ffc1c7"}),y.createElement("path",{d:"M440,218.82s-25.35,12-22.35,33,3.5,47.5,3.5,47.5,11.51,17-3.75,49.5c0,0-9.75,16.5-3.25,28.5,0,0,7.21-19,25.85-5s48.65,20.5,48.65,20.5-15.5-68-6-77.5c0,0,16.5-24.5,1.5-40s-7.5-30-7.5-30l48.17-25.83s10.16.16,23.83-21.17a367.33,367.33,0,0,1,29.17-39s-10.34-15.5-20-16.67c0,0-3.84,4-6.5,14.84-1.42,5.75-11.07,15.36-19.8,23.11-6.2,5.5-12.18,11.21-18.15,17-4.42,4.25-14.26,10.33-35.72,13.77C442.33,217,440,218.82,440,218.82Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M440,216.82s-25.35,12-22.35,33,3.5,47.5,3.5,47.5,11.51,17-3.75,49.5c0,0-9.75,16.5-3.25,28.5,0,0,7.21-19,25.85-5s48.65,20.5,48.65,20.5-15.5-68-6-77.5c0,0,16.5-24.5,1.5-40s-7.5-30-7.5-30l48.17-25.83s10.16.16,23.83-21.17a367.33,367.33,0,0,1,29.17-39s-10.34-15.5-20-16.67c0,0-3.84,4-6.5,14.84-1.42,5.75-11.07,15.36-19.8,23.11-6.2,5.5-12.18,11.21-18.15,17-4.42,4.25-14.26,10.33-35.72,13.77C442.33,215,440,216.82,440,216.82Z",transform:"translate(-95.23 -66.69)",fill:"#ff5374"}),y.createElement("path",{d:"M461.83,342.49s19.66,29,20.16,34C482,376.49,479,345.32,461.83,342.49Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M436,244.82s13.71,16.5,33.52,2.67A42.49,42.49,0,0,1,436,244.82Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M446.63,172.09a8.85,8.85,0,0,0-2.16-4c-4.52-5.67-9.43-11.49-16.16-14.18a22.34,22.34,0,0,0-25.49,7.26c-2.42,3.26-3.86,7.14-5.95,10.63-3.86,6.46-9.83,11.44-16.25,15.38-3.87,2.37-7.95,4.42-11.6,7.11-13.27,9.77-19.4,27.83-16.06,44,1.47,7.08,4.58,14.06,3.74,21.25-.65,5.58-3.62,10.58-6.63,15.32s-6.22,9.54-7.42,15,.06,11.93,4.59,15.24c1.67,1.22,3.68,2,5.11,3.46a16.61,16.61,0,0,1,2.35,3.74,36.77,36.77,0,0,0,22.83,18c4.3,1.13,10.07.72,11.64-3.44a9,9,0,0,1,.81-2.11c1.42-2,4.55-.88,6.75.27a41.79,41.79,0,0,0,16.13,4.63,13.45,13.45,0,0,0,6.61-.79,12.21,12.21,0,0,0,4.45-3.85c5.26-6.85,6.77-15.8,7.67-24.39.59-5.59,1-11.28-.07-16.8-1.7-8.86-7.09-17.14-6.29-26.12.85-9.6,8.64-17.45,9.83-27a20.59,20.59,0,0,0-3.51-14.19,20.29,20.29,0,0,1-2.67-4.18,4.15,4.15,0,0,1,.8-4.59,7,7,0,0,1,2.08-1c6.43-2.47,9.86-8.91,10.32-15.5.18-2.5,0-4.8.69-7.24C443.87,180.23,447.2,176.11,446.63,172.09Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M444.63,172.09a8.85,8.85,0,0,0-2.16-4c-4.52-5.67-9.43-11.49-16.16-14.18a22.34,22.34,0,0,0-25.49,7.26c-2.42,3.26-3.86,7.14-5.95,10.63-3.86,6.46-9.83,11.44-16.25,15.38-3.87,2.37-7.95,4.42-11.6,7.11-13.27,9.77-19.4,27.83-16.06,44,1.47,7.08,4.58,14.06,3.74,21.25-.65,5.58-3.62,10.58-6.63,15.32s-6.22,9.54-7.42,15,.06,11.93,4.59,15.24c1.67,1.22,3.68,2,5.11,3.46a16.61,16.61,0,0,1,2.35,3.74,36.77,36.77,0,0,0,22.83,18c4.3,1.13,10.07.72,11.64-3.44a9,9,0,0,1,.81-2.11c1.42-2,4.55-.88,6.75.27a41.79,41.79,0,0,0,16.13,4.63,13.45,13.45,0,0,0,6.61-.79,12.21,12.21,0,0,0,4.45-3.85c5.26-6.85,6.77-15.8,7.67-24.39.59-5.59,1-11.28-.07-16.8-1.7-8.86-7.09-17.14-6.29-26.12.85-9.6,8.64-17.45,9.83-27a20.59,20.59,0,0,0-3.51-14.19,20.29,20.29,0,0,1-2.67-4.18,4.15,4.15,0,0,1,.8-4.59,7,7,0,0,1,2.08-1c6.43-2.47,9.86-8.91,10.32-15.5.18-2.5,0-4.8.69-7.24C441.87,180.23,445.2,176.11,444.63,172.09Z",transform:"translate(-95.23 -66.69)",fill:"#bb7684"}),y.createElement("g",{opacity:.1},y.createElement("path",{d:"M385,324.7a9.43,9.43,0,0,0-.82,2.11c-.93,2.48-3.36,3.62-6.07,3.9,3.77.38,7.8-.53,9.07-3.9a9.43,9.43,0,0,1,.82-2.11,2.5,2.5,0,0,1,1-.85C387.48,323.41,385.92,323.43,385,324.7Z",transform:"translate(-95.23 -66.69)"}),y.createElement("path",{d:"M444.68,172.08a8.63,8.63,0,0,0-2.16-4c-4.52-5.67-9.43-11.49-16.16-14.18a21,21,0,0,0-9.2-1.38,20.42,20.42,0,0,1,6.2,1.38c6.73,2.69,11.64,8.51,16.16,14.18a8.63,8.63,0,0,1,2.16,4c.57,4-2.75,8.15-3.85,11.85-.73,2.44-.52,4.73-.69,7.24-.47,6.58-3.89,13-10.33,15.5a7,7,0,0,0-2.08,1,4.15,4.15,0,0,0-.79,4.6,20.24,20.24,0,0,0,2.66,4.18,20.57,20.57,0,0,1,3.52,14.18c-1.2,9.57-9,17.41-9.84,27-.8,9,4.6,17.26,6.29,26.11,1.06,5.52.66,11.21.07,16.8-.9,8.59-2.4,17.55-7.67,24.39a12.17,12.17,0,0,1-4.44,3.85,9.94,9.94,0,0,1-3.27.81,12.93,12.93,0,0,0,6.27-.81A12.17,12.17,0,0,0,422,325c5.27-6.84,6.77-15.8,7.67-24.39.59-5.59,1-11.28-.07-16.8-1.69-8.85-7.09-17.14-6.29-26.11.86-9.61,8.64-17.45,9.84-27a20.57,20.57,0,0,0-3.52-14.18,20.24,20.24,0,0,1-2.66-4.18,4.15,4.15,0,0,1,.79-4.6,7,7,0,0,1,2.08-1c6.44-2.48,9.86-8.92,10.33-15.5.17-2.51,0-4.8.69-7.24C441.93,180.23,445.25,176.11,444.68,172.08Z",transform:"translate(-95.23 -66.69)"})),y.createElement("path",{d:"M406.82,525a13.51,13.51,0,0,0,13.83,3.82",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M470.9,696a8.49,8.49,0,0,1-6.9,1.74",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("ellipse",{cx:105.15,cy:655.8,rx:26.93,ry:4.55,fill:"#d1061a",opacity:.1}),y.createElement("ellipse",{cx:842.43,cy:746.4,rx:26.93,ry:4.55,fill:"#d1061a"}),y.createElement("ellipse",{cx:842.43,cy:658.82,rx:26.93,ry:4.55,fill:"#d1061a",opacity:.1}),y.createElement("ellipse",{cx:181.51,cy:698.05,rx:26.93,ry:4.55,fill:"#d1061a",opacity:.1}),y.createElement("ellipse",{cx:927.6,cy:698.05,rx:40.21,ry:6.8,fill:"#d1061a"}),y.createElement("ellipse",{cx:349.46,cy:751.28,rx:90.76,ry:15.34,fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M1039.45,753.62a11.73,11.73,0,0,0,3.84-5.79c.49-2.3-.49-5.05-2.68-5.89-2.46-.94-5.09.76-7.08,2.49s-4.28,3.68-6.89,3.32a10.47,10.47,0,0,0,3.24-9.81,4.11,4.11,0,0,0-.9-2c-1.37-1.46-3.84-.83-5.48.32-5.2,3.66-6.65,10.72-6.68,17.08-.52-2.29-.08-4.68-.09-7s-.66-5-2.64-6.23a8.07,8.07,0,0,0-4-1c-2.34-.08-4.94.15-6.54,1.86-2,2.13-1.47,5.69.26,8s4.35,3.8,6.76,5.42a15,15,0,0,1,4.84,4.61,5.08,5.08,0,0,1,.36.82h14.65A40.73,40.73,0,0,0,1039.45,753.62Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M954.29,802.21a11.71,11.71,0,0,0,3.83-5.79c.49-2.3-.48-5-2.68-5.89-2.46-.94-5.09.76-7.08,2.49s-4.28,3.68-6.89,3.32a10.47,10.47,0,0,0,3.24-9.81,4,4,0,0,0-.9-2c-1.36-1.46-3.84-.83-5.47.32-5.2,3.66-6.65,10.72-6.68,17.08-.53-2.29-.09-4.68-.1-7s-.66-5-2.64-6.23a8,8,0,0,0-4-.95c-2.34-.08-4.94.15-6.54,1.86-2,2.13-1.47,5.69.26,8s4.35,3.8,6.77,5.42a15,15,0,0,1,4.83,4.61,5.08,5.08,0,0,1,.36.82h14.65A41,41,0,0,0,954.29,802.21Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M307.24,712s-14.05-47.71,2.64-82.82A75.36,75.36,0,0,0,316,581.88a126.56,126.56,0,0,0-6.69-22.19",transform:"translate(-95.23 -66.69)",fill:"none",stroke:"#535461",strokeMiterlimit:10,strokeWidth:2}),y.createElement("path",{d:"M319.66,537.5c0,5.85-10.59,22.8-10.59,22.8s-10.58-16.95-10.58-22.8a10.59,10.59,0,1,1,21.17,0Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M337.16,569.89c-3.18,4.9-21.28,13.38-21.28,13.38s.33-20,3.51-24.89a10.59,10.59,0,0,1,17.77,11.51Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M336.4,625.23c-5.22,2.64-25.13.82-25.13.82s10.37-17.09,15.59-19.72a10.59,10.59,0,0,1,9.54,18.9Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M326.39,667c-4.7,3.47-24.63,5-24.63,5s7.34-18.6,12-22.08a10.59,10.59,0,0,1,12.59,17Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M293.65,584.41c4.2,4.07,23.73,8.29,23.73,8.29s-4.78-19.41-9-23.48a10.59,10.59,0,0,0-14.75,15.19Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M282.57,633.38c5.22,2.63,25.12.81,25.12.81s-10.37-17.09-15.59-19.72a10.59,10.59,0,0,0-9.53,18.91Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M278.32,682.45c4.7,3.48,24.63,5,24.63,5s-7.34-18.6-12-22.07a10.59,10.59,0,0,0-12.59,17Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M274,709s17.11-3.4,21.68-7.93,25.09-12.45,27.37-6.79,30.8,24.91,11.41,28.31-45.63,4.53-51.33,2.27S274,709,274,709Z",transform:"translate(-95.23 -66.69)",fill:"#a8a8a8"}),y.createElement("path",{d:"M334.49,720.46c-19.39,3.4-45.63,4.53-51.33,2.26-4.35-1.72-7.37-10-8.56-13.87L274,709s3.42,13.59,9.13,15.86,31.94,1.13,51.33-2.27c5.6-1,7.2-3.28,6.6-6.2C340.61,718.26,338.66,719.73,334.49,720.46Z",transform:"translate(-95.23 -66.69)",opacity:.2}),y.createElement("path",{d:"M943.17,659.91s5.5,7.19-2.53,18-14.65,20-12,26.77c0,0,12.12-20.15,22-20.43S954,672,943.17,659.91Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M943.17,659.91a9,9,0,0,1,1.13,2.26c9.62,11.3,14.74,21.85,5.49,22.11-8.61.25-18.94,15.65-21.42,19.54a9.24,9.24,0,0,0,.29.89s12.12-20.15,22-20.43S954,672,943.17,659.91Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M953.39,669.07c0,2.53-.29,4.58-.64,4.58s-.63-2-.63-4.58.35-1.34.7-1.34S953.39,666.54,953.39,669.07Z",transform:"translate(-95.23 -66.69)",fill:"#ffd037"}),y.createElement("path",{d:"M956.89,672.09c-2.22,1.21-4.16,1.94-4.32,1.63s1.49-1.53,3.71-2.74,1.35-.33,1.52,0S959.11,670.88,956.89,672.09Z",transform:"translate(-95.23 -66.69)",fill:"#ffd037"}),y.createElement("path",{d:"M914.16,659.91s-5.5,7.19,2.53,18,14.65,20,12,26.77c0,0-12.11-20.15-22-20.43S903.31,672,914.16,659.91Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M914.16,659.91a9,9,0,0,0-1.13,2.26c-9.62,11.3-14.74,21.85-5.49,22.11,8.61.25,18.94,15.65,21.42,19.54a7.16,7.16,0,0,1-.3.89s-12.11-20.15-22-20.43S903.31,672,914.16,659.91Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M903.94,669.07c0,2.53.29,4.58.64,4.58s.63-2,.63-4.58-.35-1.34-.7-1.34S903.94,666.54,903.94,669.07Z",transform:"translate(-95.23 -66.69)",fill:"#ffd037"}),y.createElement("path",{d:"M900.44,672.09c2.22,1.21,4.15,1.94,4.32,1.63s-1.49-1.53-3.71-2.74-1.35-.33-1.52,0S898.22,670.88,900.44,672.09Z",transform:"translate(-95.23 -66.69)",fill:"#ffd037"}),y.createElement("path",{d:"M905.69,703.77s15.36-.48,20-3.77,23.63-7.23,24.78-2,23.08,26.29,5.74,26.43-40.29-2.7-44.91-5.51S905.69,703.77,905.69,703.77Z",transform:"translate(-95.23 -66.69)",fill:"#a8a8a8"}),y.createElement("path",{d:"M956.51,722.64c-17.34.14-40.29-2.7-44.91-5.51-3.52-2.14-4.93-9.83-5.39-13.38l-.52,0s1,12.39,5.6,15.2,27.57,5.65,44.91,5.51c5,0,6.73-1.82,6.64-4.45C962.14,721.62,960.23,722.61,956.51,722.64Z",transform:"translate(-95.23 -66.69)",opacity:.2})),ON=y.forwardRef(MN),AN=({restart:a})=>{const{controlCode:i}=Pn(n=>n);return W.jsxs("div",{className:"confirmation",children:[W.jsx("h4",{children:ke.t("confirmation.header")}),W.jsx(lm,{toasterType:Di.Success,message:ke.t("confirmation.info",{controlCode:i})}),W.jsx("div",{className:"img-container",children:W.jsx(ON,{})}),W.jsx("div",{className:"button-container",children:W.jsx(ro,{txt:ke.t("confirmation.restart"),type:Ti.GhostDark,onClick:()=>a()})})]})},CN=()=>{const[a,i]=y.useState(1);if(a===1)return W.jsx(qO,{proceed:()=>i(2)});if(a===2)return W.jsx(xN,{restart:()=>i(1),proceed:()=>i(3)});if(a===3)return W.jsx(AN,{restart:()=>i(1)})},RN=()=>{const{tab:a="verify"}=o8(),[i,n]=y.useState(a),[t,l]=y.useState([]),[s,c]=y.useState(!0),d=fl(),h=Pn(v=>v.user);y.useEffect(()=>{h&&Pn.setState({breadcrumbPath:[{path:"/home",value:ke.t("tabs.home")},{value:ke.t(`tabs.${i}`)}]});const v=[W.jsx(NO,{name:"verify",label:ke.t("tabs.verify"),children:W.jsx(CN,{})},"verify")];l(v),c(!1)},[i,h]);const m=v=>{n(v),d(`/home/${v}`)};return s?W.jsx(im,{}):W.jsx("div",{className:"home",children:W.jsxs("div",{className:"mod-home-container",children:[W.jsx(RO,{children:W.jsx("h1",{children:ke.t("landing.header.subTitle",{name:h.displayName})})}),W.jsx(CO,{activeTab:i,tabChanged:m,children:t})]})})},NN=()=>{const a=n=>t=>{Z8(t),V8.set("lang",n,{expires:356,secure:document.location.protocol.endsWith("https")}),ke.locale=n,window.location.search=LM(window.location.search,"lang",n)},i=n=>W.jsx("a",{href:"locale",className:`${ke.locale===n?"is-active":"not-active"}`,title:ke.t("footer.select_locale"),onClick:a(n),children:ke.translations[n].code});return W.jsx("nav",{className:"sds--language-switcher sds--text--body--small","aria-label":"Language",children:W.jsxs("ul",{children:[W.jsxs("li",{children:[i("nl"),W.jsx("span",{className:"sds--language-sds--divider",children:"|"})]}),W.jsx("li",{children:i("en")})]})})},kN=()=>W.jsx("footer",{className:"sds--footer sds--footer--single-bar",children:W.jsx("div",{className:"sds--page-container",children:W.jsxs("div",{className:"sds--footer--inner",children:[W.jsx("nav",{className:"menu sds--text--body--small",children:W.jsxs("ul",{children:[W.jsx("li",{children:W.jsx("a",{href:ke.t("footer.termsLink"),target:"_blank",rel:"noopener noreferrer",children:W.jsx("span",{children:ke.t("footer.terms")})})}),W.jsx("li",{children:W.jsx("a",{href:ke.t("footer.privacyLink"),target:"_blank",rel:"noopener noreferrer",children:W.jsx("span",{children:ke.t("footer.privacy")})})})]})}),W.jsx(NN,{}),W.jsx("div",{className:"sds--branding",children:W.jsx("a",{href:ke.t("footer.surfLink"),target:"_blank",rel:"noopener noreferrer",children:W.jsx($9,{label:"",position:J9.Bottom})})})]})})}),LN=({title:a,titleId:i,...n},t)=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:524.67001,height:418.27099,viewBox:"0 0 524.67001 418.27099",xmlnsXlink:"http://www.w3.org/1999/xlink",role:"img",artist:"Katerina Limpitsouni",source:"https://undraw.co/",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("path",{d:"M442.17403,400.47713c2.06599,.12871,3.20692-2.43846,1.64338-3.93389l-.1557-.61814c.0204-.04935,.04089-.09868,.06153-.14794,1.23211-2.94003,4.62545-4.33201,7.57137-3.11404,9.3142,3.85087-.51966,12.69986,.21957,18.68773,.25911,2.06671,8.35473,2.18034,7.89681,4.2086,4.30482-9.41207,6.56835-19.68889,6.56478-30.02306-.0009-2.59653-.14392-5.19297-.43543-7.78281-.23975-2.11845-.56985-4.22389-.9969-6.30999-2.30966-11.27639-7.30614-22.01572-14.51084-30.98461-3.46263-1.89129-1.35074-4.85018-3.09586-8.39544-.62694-1.27868-6.21792-1.30745-6.45092-2.70892,.25019,.03272,3.86434-3.721,2.6705-5.5767-.78555-1.22107-.54106-2.7763,.4681-3.82017,.09887-.1023,.19234-.2103,.27796-.32648,2.98093-4.04443,7.09003-3.33985,9.23695,2.15406,4.58304,2.31107,4.62871,6.14647,1.81834,9.83619-1.78798,2.34745-2.03264,5.52304-3.60129,8.03604,.16157,.20664,.32958,.40684,.49112,.61348,2.96237,3.79686,5.52482,7.87809,7.68524,12.16592-.61182-4.76599,.28705-10.50831,1.8215-14.21023,1.75933-4.24835,5.06953-7.8221,7.96883-11.49665,3.46275-4.38865,10.5104-2.39707,11.12286,3.15951,.00588,.05337,.0116,.10665,.01724,.16003-.42884,.24212-.84895,.49935-1.25929,.77094-2.33882,1.54808-1.52824,5.17442,1.24391,5.60071l.06278,.00965c-.1545,1.54372-5.63258,6.40679-6.01957,7.91187,3.70514,14.30838,.93282,16.19755-10.46624,16.43703l-.59825,.8522c1.08024,3.1058,1.94956,6.2861,2.60235,9.50743,.61462,2.99021,1.042,6.01282,1.28197,9.04845,.29847,3.82994,.27396,7.6795-.04769,11.50325l.01933-.13563c.81879-4.21143,3.1039-8.1457,6.42284-10.87249,4.94421-4.06436,11.93091-5.56281,17.2652-8.83022,2.56778-1.57285,5.85959,.45742,5.41241,3.4352l-.02177,.14262c-.79432,.32315-1.56922,.69808-2.31831,1.11814-.42921,.24237-.84965,.49978-1.26032,.77165-2.33916,1.54848-1.52796,5.1753,1.24498,5.60009l.06281,.00962c.0452,.00645,.08399,.01291,.12913,.0194-1.3617,3.23628-14.33553,7.80147-16.71149,10.39229-2.31031,12.49793-1.17531,12.12596-11.81075,8.49032h-.00647c-1.16085,5.06419-2.8578,10.01225-5.03931,14.72794l-18.0202,.00623c-.06471-.2002-.12288-.40688-.18109-.60712,1.66645,.10285,3.34571,.00534,4.98619-.29875-1.33757-1.64013-2.67509-3.29317-4.01266-4.93324-.0323-.03228-.05819-.06459-.08402-.09686l-.02036-.02517-1.85532-6.10724c.14644-1.35476,.38536-2.69828,.70958-4.02051l.00049-.00037v.00006Z",fill:"#f2f2f2"}),y.createElement("path",{d:"M251.74443,416.41995l-159.45702,.05516c-8.01074,.00277-15.18649-4.13684-19.19426-11.07295-2.00413-3.46855-3.00642-7.27337-3.00774-11.07904-.00132-3.80518,.99882-7.61119,3.00007-11.08063l79.67786-145.04905c4.00346-6.93937,11.17634-11.08346,19.18708-11.08623s15.18649,4.13635,19.19475,11.07295l79.78843,145.01196c1.99876,3.45927,2.99861,7.25971,2.99894,11.06293-.00015,3.80322-.99981,7.60874-3.00154,11.07868-4.00297,6.93889-11.17585,11.08346-19.1866,11.08623h.00002Zm-179.65463-22.09948c-.00026,3.46387,17.5953-4.00023,19.41817-.8451,3.64623,6.31026-6.50934,21.00225,.77874,20.99973,0,0,173.27016-3.828,176.91202-10.14078,1.82069-3.15639,2.73062-6.61911,2.72942-10.08102s-.91353-6.92351-2.73688-10.07864l-79.78845-145.01196c-3.63597-6.2922-10.16364-10.05801-17.45172-10.05549-7.28467,.00252-99.86105,161.74891-99.86132,165.21326h.00002Z",fill:"#3f3d56"}),y.createElement("path",{d:"M253.51521,414.41934c-1.99862,4.00069,91.61376,2.7712,92.72051,2.77082,0,0,26.3119-.58131,26.86492-1.53993,.27648-.47931,.41466-1.00515,.41448-1.53084s-.13873-1.05137-.4156-1.5305l-12.11626-22.02074c-.55215-.9555-1.54341-1.52736-2.65013-1.52698-.04608,.00002-.11394,.04093-.20168,.11933-16.16328,14.44385-36.0828,23.99237-57.75707,24.31469-23.047,.34272-46.73217,.6899-46.85919,.94416h.00002Z",fill:"#3f3d56"}),y.createElement("path",{d:"M0,417.0814c.00023,.66003,.53044,1.18982,1.19047,1.18959l522.28995-.18066c.65997-.00023,1.18982-.53038,1.18959-1.19041-.00023-.65997-.53044-1.18982-1.19041-1.18959l-522.28995,.18066c-.66003,.00023-1.18988,.53044-1.18965,1.19041Z",fill:"#ccc"}),y.createElement("g",null,y.createElement("polygon",{points:"403.87773 411.30541 394.83299 411.30765 390.51828 376.42194 403.86746 376.41823 403.87773 411.30541",fill:"#a0616a"}),y.createElement("path",{d:"M372.88925,411.11096h0c-.28145,.4744-.42951,2.00528-.42932,2.55685h0c.00059,1.6954,1.37542,3.06935,3.07089,3.06876l28.01047-.00969c1.15659-.0004,2.09391-.93832,2.09351-2.09496l-.0004-1.16617s1.38444-3.50542-1.46987-7.82444c0,0-3.54448,3.38386-8.84444-1.91244l-1.56336-2.82981-11.30656,8.27506-6.26838,.77377c-1.3714,.16927-2.58738-.02532-3.29241,1.16307h-.00012Z",fill:"#2f2e41"})),y.createElement("g",null,y.createElement("polygon",{points:"369.19708 381.46752 360.62951 384.36642 345.36911 352.70019 358.01396 348.42131 369.19708 381.46752",fill:"#a0616a"}),y.createElement("path",{d:"M339.77867,391.20807h0c-.11468,.53956,.23535,2.03724,.41217,2.5597h0c.54355,1.60589,2.28601,2.46714,3.89196,1.92358l26.53193-8.98019c1.09554-.3708,1.68312-1.55951,1.31228-2.65512l-.37389-1.10461s.18882-3.76416-3.8984-6.94155c0,0-2.27401,4.34084-8.99107,1.02096l-2.38732-2.18005-8.0607,11.46034-5.69037,2.74062c-1.24494,.59958-2.45919,.80471-2.74651,2.15628l-.00009,.00003Z",fill:"#2f2e41"})),y.createElement("polygon",{points:"355.22599 179.09003 337.68255 237.19081 316.97199 289.45207 349.76053 364.08569 361.91802 358.67731 347.37062 290.11706 377.87822 243.59436 392.11437 388.82623 404.27349 388.14652 420.76309 212.84336 423.11421 174.67566 355.22599 179.09003",fill:"#2f2e41"}),y.createElement("path",{d:"M408.20979,50.38513l-25.66813,4.73752-2.02258,11.48454-15.53439,7.43609-8.07702,84.4428s-13.50433,17.56819-2.69414,22.96862l68.9007-6.77904s3.37327-12.4903-.00473-13.67529-3.38832-31.01955-3.38832-31.01955l15.51573-61.36599-22.97048-8.09829-4.05664-10.13141Z",fill:"#e6e6e6"}),y.createElement("circle",{cx:393.06995,cy:29.43589,r:20.7276,fill:"#a0616a"}),y.createElement("path",{d:"M406.79605,32.51227c-1.65401,.9055-.08471,5.22869-1.11848,5.60245-1.19492,.43202-5.55162-4.52715-5.60554-10.08176-.01633-1.68115,.37051-2.48839-.00155-4.48164-.48668-2.6073-1.98045-5.68253-3.36317-5.60089-.81965,.04839-1.62013,1.20723-1.67986,2.2414-.0837,1.44941,1.32419,2.01989,1.12139,2.80064-.38627,1.4871-6.29829,2.5138-8.40308,.00291-1.65013-1.9685-.38463-5.4247-1.12236-5.60167-.54378-.13045-1.12759,1.77241-3.35988,3.9226-.84103,.8101-2.09186,2.0149-2.80044,1.68159-1.02397-.48167-.28003-3.87624-.56157-3.92125-.23314-.03727-.37947,2.3487-1.67908,4.48223-1.66968,2.74103-5.11398,4.85374-6.72112,3.92377-.98466-.56978-1.06245-2.15606-1.12158-3.36084-.1245-2.53816-3.81308-8.37644-2.85882-11.09166,1.94221-5.5263,5.2701-1.63078,6.7752-3.47504,2.03756-2.49669,3.86572-1.15434,7.28133-3.92396,3.33668-2.70564,3.36577-5.42504,5.60011-5.604,2.01221-.16116,2.7278,1.98528,5.04242,1.67887,1.96079-.25957,2.38749-1.92436,3.92087-1.68198,1.40389,.2219,1.49646,1.68849,3.36201,2.23966,1.19101,.35188,1.45267-.15743,2.80103-.00097,2.80559,.32556,4.69002,2.88083,5.043,3.35949,1.36081,1.84526,.83282,2.62341,2.24236,4.48086,1.21555,1.6018,3.90913,.9216,4.92189,1.72162,3.30928,2.61409,4.73124,7.43497,4.75994,12.92962,.0201,3.8431-.48103,5.78482-1.59913,10.63564-.84901,3.6834-4.78175,8.44334-6.94987,10.5659-.58199,.56975-2.21351,2.167-3.36066,1.68178-1.08704-.45979-1.11995-2.52764-1.12139-2.80064-.0049-.93901,.24521-2.1009,2.23907-5.04263,2.09442-3.09006,2.92645-3.44271,2.79948-4.48262-.22445-1.83818-3.16424-3.52123-4.48263-2.79948h.00012Z",fill:"#2f2e41"}),y.createElement("g",null,y.createElement("path",{d:"M334.49457,225.75979c-.64513,5.40264,1.61895,10.11513,5.05699,10.52567s6.7481-3.63632,7.39324-9.03898c.28242-2.36492,.00723-4.59754-.6797-6.39504l2.44642-22.92684-10.7834-.91891-1.26717,22.69891c-1.09088,1.58522-1.88401,3.69026-2.16639,6.05519h.00003Z",fill:"#a0616a"}),y.createElement("path",{d:"M365.49095,73.49769s-5.58664,.07946-9.28568,7.30383c-1.96565,3.83897-12.48211,75.62767-12.48211,75.62767l-9.68742,58.80847,16.50214,.08313,12.859-55.69302,10.81723-32.30088-8.72315-53.82921Z",fill:"#e6e6e6"})),y.createElement("path",{d:"M411.92961,217.13028c-1.58023,5.20651-.17535,10.24237,3.13786,11.24797s7.28015-2.39987,8.86035-7.60638c.69172-2.27906,.81133-4.5254,.44941-6.41533l6.4191-22.14543-10.45641-2.79098-5.21815,22.12729c-1.35133,1.36996-2.50044,3.30383-3.19216,5.58289v-.00003Z",fill:"#a0616a"}),y.createElement("path",{d:"M423.41564,69.63219s8.10413-6.08248,14.86262,3.37246c6.75846,9.45495,9.48742,87.1388,9.48742,87.1388l-18.89796,47.96845-14.18755-4.72373,13.49008-58.7749-23.65861-44.57614,18.90403-30.40494h-.00003Z",fill:"#e6e6e6"}),y.createElement("g",null,y.createElement("circle",{cx:218.47958,cy:311.43145,r:73,fill:"#83201B"}),y.createElement("g",null,y.createElement("circle",{cx:218.49274,cy:349.47878,r:6.70264,fill:"#fff"}),y.createElement("path",{d:"M218.4641,266.68145c-.6157,4.0912,.48747,4.94727,.49357,22.58508,.0061,17.63782,3.66579,41.28574-.47148,41.28717s-5.65047-48.80276-20.01681-53.12218c-16.89088-5.07846,21.98785-23.99409,19.99471-10.75007Z",fill:"#fff"}))),y.createElement("path",{d:"M120.50313,348.70219l-6.59532,13.93527c7.97328-5.71745,20.42715-10.64598,30.3376-13.28567-9.23403-4.46037-20.53313-11.65189-27.2835-18.77194l3.7934,14.72434c-44.47393-9.0585-76.41138-43.17661-76.4249-82.25924l-1.60648-.5527c.01412,40.82281,31.50971,76.96121,77.7792,86.20995Z",fill:"#3f3d56"})),qN=y.forwardRef(LN),R9=()=>{const a=fl(),i=()=>{W8().then(()=>{Pn.setState(()=>({breadcrumbPath:[],user:{},controlCode:{}})),a("/login"),setTimeout(()=>Pn.setState(()=>({user:null,breadcrumbPath:[]})),125)})};return W.jsx("div",{className:"forbidden-container",children:W.jsxs("div",{className:"forbidden",children:[W.jsx("p",{children:ke.t("forbidden.info")}),W.jsx(qN,{}),W.jsx("div",{className:"actions",children:W.jsx(ro,{txt:ke.t("forbidden.logout"),onClick:()=>i()})})]})})},UN=()=>{const[a,i]=y.useState(!0),[n,t]=y.useState(!1),l=fl();return y.useEffect(()=>{if(window.location.pathname.endsWith("/login")){i(!1);return}FM().then(s=>{Pn.setState(()=>({user:s})),i(!1),s.serviceDeskMember?(t(!0),l("/home")):l("/forbidden")}).catch(()=>{i(!1),l("/login")})},[]),a?W.jsx(im,{}):W.jsxs("div",{className:"service-desk",children:[W.jsxs("div",{className:"container",children:[W.jsx(WM,{}),W.jsx(KM,{}),n&&W.jsxs(H2,{children:[W.jsx(hr,{path:"/",element:W.jsx(K4,{replace:!0,to:"home"})}),W.jsx(hr,{path:"/home/:tab?",element:W.jsx(RN,{})}),W.jsx(hr,{path:"/refresh-route/:path",element:W.jsx(JM,{})}),W.jsx(hr,{path:"/forbidden",element:W.jsx(R9,{})}),W.jsx(hr,{path:"/login",element:W.jsx($7,{})}),W.jsx(hr,{path:"*",element:W.jsx(e2,{})})]}),!n&&W.jsxs(H2,{children:[W.jsx(hr,{path:"/login",element:W.jsx($7,{})}),W.jsx(hr,{path:"/",element:W.jsx(K4,{replace:!0,to:"forbidden"})}),W.jsx(hr,{path:"/forbidden",element:W.jsx(R9,{})}),W.jsx(hr,{path:"/404",element:W.jsx(e2,{})}),W.jsx(hr,{path:"/*",element:W.jsx(e2,{})})]})]}),W.jsx(kN,{})]})},HN=LS.createRoot(document.getElementById("root"));HN.render(W.jsx(y.StrictMode,{children:W.jsx(eD,{children:W.jsx(H2,{children:W.jsx(hr,{path:"/*",element:W.jsx(UN,{})})})})}));
