function wS(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 vr(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var e1={exports:{}},ms={};/**
 * @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 DS(){if(n4)return ms;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 ms.Fragment=i,ms.jsx=n,ms.jsxs=n,ms}var r4;function TS(){return r4||(r4=1,e1.exports=DS()),e1.exports}var Z=TS(),t1={exports:{}},vs={},n1={exports:{}},r1={};/**
 * @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 xS(){return a4||(a4=1,function(a){function i(w,k){var L=w.length;w.push(k);e:for(;0<L;){var X=L-1>>>1,A=w[X];if(0<l(A,k))w[X]=k,w[L]=A,L=X;else break e}}function n(w){return w.length===0?null:w[0]}function t(w){if(w.length===0)return null;var k=w[0],L=w.pop();if(L!==k){w[0]=L;e:for(var X=0,A=w.length,Y=A>>>1;X<Y;){var oe=2*(X+1)-1,ae=w[oe],he=oe+1,ce=w[he];if(0>l(ae,L))he<A&&0>l(ce,ae)?(w[X]=ce,w[he]=L,X=he):(w[X]=ae,w[oe]=L,X=oe);else if(he<A&&0>l(ce,L))w[X]=ce,w[he]=L,X=he;else break e}}return k}function l(w,k){var L=w.sortIndex-k.sortIndex;return L!==0?L:w.id-k.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,_=3,x=!1,M=!1,N=!1,O=!1,R=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,Q=typeof setImmediate<"u"?setImmediate:null;function J(w){for(var k=n(m);k!==null;){if(k.callback===null)t(m);else if(k.startTime<=w)t(m),k.sortIndex=k.expirationTime,i(h,k);else break;k=n(m)}}function K(w){if(N=!1,J(w),!M)if(n(h)!==null)M=!0,re||(re=!0,q());else{var k=n(m);k!==null&&H(K,k.startTime-w)}}var re=!1,V=-1,S=5,E=-1;function T(){return O?!0:!(a.unstable_now()-E<S)}function U(){if(O=!1,re){var w=a.unstable_now();E=w;var k=!0;try{e:{M=!1,N&&(N=!1,C(V),V=-1),x=!0;var L=_;try{t:{for(J(w),g=n(h);g!==null&&!(g.expirationTime>w&&T());){var X=g.callback;if(typeof X=="function"){g.callback=null,_=g.priorityLevel;var A=X(g.expirationTime<=w);if(w=a.unstable_now(),typeof A=="function"){g.callback=A,J(w),k=!0;break t}g===n(h)&&t(h),J(w)}else t(h);g=n(h)}if(g!==null)k=!0;else{var Y=n(m);Y!==null&&H(K,Y.startTime-w),k=!1}}break e}finally{g=null,_=L,x=!1}k=void 0}}finally{k?q():re=!1}}}var q;if(typeof Q=="function")q=function(){Q(U)};else if(typeof MessageChannel<"u"){var z=new MessageChannel,B=z.port2;z.port1.onmessage=U,q=function(){B.postMessage(null)}}else q=function(){R(U,0)};function H(w,k){V=R(function(){w(a.unstable_now())},k)}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(w){w.callback=null},a.unstable_forceFrameRate=function(w){0>w||125<w?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<w?Math.floor(1e3/w):5},a.unstable_getCurrentPriorityLevel=function(){return _},a.unstable_next=function(w){switch(_){case 1:case 2:case 3:var k=3;break;default:k=_}var L=_;_=k;try{return w()}finally{_=L}},a.unstable_requestPaint=function(){O=!0},a.unstable_runWithPriority=function(w,k){switch(w){case 1:case 2:case 3:case 4:case 5:break;default:w=3}var L=_;_=w;try{return k()}finally{_=L}},a.unstable_scheduleCallback=function(w,k,L){var X=a.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?X+L:X):L=X,w){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,w={id:v++,callback:k,priorityLevel:w,startTime:L,expirationTime:A,sortIndex:-1},L>X?(w.sortIndex=L,i(m,w),n(h)===null&&w===n(m)&&(N?(C(V),V=-1):N=!0,H(K,L-X))):(w.sortIndex=A,i(h,w),M||x||(M=!0,re||(re=!0,q()))),w},a.unstable_shouldYield=T,a.unstable_wrapCallback=function(w){var k=_;return function(){var L=_;_=k;try{return w.apply(this,arguments)}finally{_=L}}}}(r1)),r1}var i4;function MS(){return i4||(i4=1,n1.exports=xS()),n1.exports}var a1={exports:{}},ze={};/**
 * @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 OS(){if(l4)return ze;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 _(A){return A===null||typeof A!="object"?null:(A=g&&A[g]||A["@@iterator"],typeof A=="function"?A:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M=Object.assign,N={};function O(A,Y,oe){this.props=A,this.context=Y,this.refs=N,this.updater=oe||x}O.prototype.isReactComponent={},O.prototype.setState=function(A,Y){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,Y,"setState")},O.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function R(){}R.prototype=O.prototype;function C(A,Y,oe){this.props=A,this.context=Y,this.refs=N,this.updater=oe||x}var Q=C.prototype=new R;Q.constructor=C,M(Q,O.prototype),Q.isPureReactComponent=!0;var J=Array.isArray,K={H:null,A:null,T:null,S:null,V:null},re=Object.prototype.hasOwnProperty;function V(A,Y,oe,ae,he,ce){return oe=ce.ref,{$$typeof:a,type:A,key:Y,ref:oe!==void 0?oe:null,props:ce}}function S(A,Y){return V(A.type,Y,void 0,void 0,void 0,A.props)}function E(A){return typeof A=="object"&&A!==null&&A.$$typeof===a}function T(A){var Y={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(oe){return Y[oe]})}var U=/\/+/g;function q(A,Y){return typeof A=="object"&&A!==null&&A.key!=null?T(""+A.key):Y.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(Y){A.status==="pending"&&(A.status="fulfilled",A.value=Y)},function(Y){A.status==="pending"&&(A.status="rejected",A.reason=Y)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function H(A,Y,oe,ae,he){var ce=typeof A;(ce==="undefined"||ce==="boolean")&&(A=null);var pe=!1;if(A===null)pe=!0;else switch(ce){case"bigint":case"string":case"number":pe=!0;break;case"object":switch(A.$$typeof){case a:case i:pe=!0;break;case v:return pe=A._init,H(pe(A._payload),Y,oe,ae,he)}}if(pe)return he=he(A),pe=ae===""?"."+q(A,0):ae,J(he)?(oe="",pe!=null&&(oe=pe.replace(U,"$&/")+"/"),H(he,Y,oe,"",function(nt){return nt})):he!=null&&(E(he)&&(he=S(he,oe+(he.key==null||A&&A.key===he.key?"":(""+he.key).replace(U,"$&/")+"/")+pe)),Y.push(he)),1;pe=0;var Ye=ae===""?".":ae+":";if(J(A))for(var je=0;je<A.length;je++)ae=A[je],ce=Ye+q(ae,je),pe+=H(ae,Y,oe,ce,he);else if(je=_(A),typeof je=="function")for(A=je.call(A),je=0;!(ae=A.next()).done;)ae=ae.value,ce=Ye+q(ae,je++),pe+=H(ae,Y,oe,ce,he);else if(ce==="object"){if(typeof A.then=="function")return H(B(A),Y,oe,ae,he);throw Y=String(A),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return pe}function w(A,Y,oe){if(A==null)return A;var ae=[],he=0;return H(A,ae,"","",function(ce){return Y.call(oe,ce,he++)}),ae}function k(A){if(A._status===-1){var Y=A._result;Y=Y(),Y.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=Y)}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 Y=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(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)};function X(){}return ze.Children={map:w,forEach:function(A,Y,oe){w(A,function(){Y.apply(this,arguments)},oe)},count:function(A){var Y=0;return w(A,function(){Y++}),Y},toArray:function(A){return w(A,function(Y){return Y})||[]},only:function(A){if(!E(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},ze.Component=O,ze.Fragment=n,ze.Profiler=l,ze.PureComponent=C,ze.StrictMode=t,ze.Suspense=h,ze.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K,ze.__COMPILER_RUNTIME={__proto__:null,c:function(A){return K.H.useMemoCache(A)}},ze.cache=function(A){return function(){return A.apply(null,arguments)}},ze.cloneElement=function(A,Y,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,ce=void 0;if(Y!=null)for(pe in Y.ref!==void 0&&(ce=void 0),Y.key!==void 0&&(he=""+Y.key),Y)!re.call(Y,pe)||pe==="key"||pe==="__self"||pe==="__source"||pe==="ref"&&Y.ref===void 0||(ae[pe]=Y[pe]);var pe=arguments.length-2;if(pe===1)ae.children=oe;else if(1<pe){for(var Ye=Array(pe),je=0;je<pe;je++)Ye[je]=arguments[je+2];ae.children=Ye}return V(A.type,he,void 0,void 0,ce,ae)},ze.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},ze.createElement=function(A,Y,oe){var ae,he={},ce=null;if(Y!=null)for(ae in Y.key!==void 0&&(ce=""+Y.key),Y)re.call(Y,ae)&&ae!=="key"&&ae!=="__self"&&ae!=="__source"&&(he[ae]=Y[ae]);var pe=arguments.length-2;if(pe===1)he.children=oe;else if(1<pe){for(var Ye=Array(pe),je=0;je<pe;je++)Ye[je]=arguments[je+2];he.children=Ye}if(A&&A.defaultProps)for(ae in pe=A.defaultProps,pe)he[ae]===void 0&&(he[ae]=pe[ae]);return V(A,ce,void 0,void 0,null,he)},ze.createRef=function(){return{current:null}},ze.forwardRef=function(A){return{$$typeof:d,render:A}},ze.isValidElement=E,ze.lazy=function(A){return{$$typeof:v,_payload:{_status:-1,_result:A},_init:k}},ze.memo=function(A,Y){return{$$typeof:m,type:A,compare:Y===void 0?null:Y}},ze.startTransition=function(A){var Y=K.T,oe={};K.T=oe;try{var ae=A(),he=K.S;he!==null&&he(oe,ae),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"&&ae.then(X,L)}catch(ce){L(ce)}finally{K.T=Y}},ze.unstable_useCacheRefresh=function(){return K.H.useCacheRefresh()},ze.use=function(A){return K.H.use(A)},ze.useActionState=function(A,Y,oe){return K.H.useActionState(A,Y,oe)},ze.useCallback=function(A,Y){return K.H.useCallback(A,Y)},ze.useContext=function(A){return K.H.useContext(A)},ze.useDebugValue=function(){},ze.useDeferredValue=function(A,Y){return K.H.useDeferredValue(A,Y)},ze.useEffect=function(A,Y,oe){var ae=K.H;if(typeof oe=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return ae.useEffect(A,Y)},ze.useId=function(){return K.H.useId()},ze.useImperativeHandle=function(A,Y,oe){return K.H.useImperativeHandle(A,Y,oe)},ze.useInsertionEffect=function(A,Y){return K.H.useInsertionEffect(A,Y)},ze.useLayoutEffect=function(A,Y){return K.H.useLayoutEffect(A,Y)},ze.useMemo=function(A,Y){return K.H.useMemo(A,Y)},ze.useOptimistic=function(A,Y){return K.H.useOptimistic(A,Y)},ze.useReducer=function(A,Y,oe){return K.H.useReducer(A,Y,oe)},ze.useRef=function(A){return K.H.useRef(A)},ze.useState=function(A){return K.H.useState(A)},ze.useSyncExternalStore=function(A,Y,oe){return K.H.useSyncExternalStore(A,Y,oe)},ze.useTransition=function(){return K.H.useTransition()},ze.version="19.1.0",ze}var o4;function Q2(){return o4||(o4=1,a1.exports=OS()),a1.exports}var i1={exports:{}},Un={};/**
 * @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 AS(){if(s4)return Un;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 Un.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=t,Un.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)},Un.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()}},Un.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))},Un.prefetchDNS=function(h){typeof h=="string"&&t.d.D(h)},Un.preinit=function(h,m){if(typeof h=="string"&&m&&typeof m.as=="string"){var v=m.as,g=d(v,m.crossOrigin),_=typeof m.integrity=="string"?m.integrity:void 0,x=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:_,fetchPriority:x}):v==="script"&&t.d.X(h,{crossOrigin:g,integrity:_,fetchPriority:x,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},Un.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)},Un.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})}},Un.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)},Un.requestFormReset=function(h){t.d.r(h)},Un.unstable_batchedUpdates=function(h,m){return h(m)},Un.useFormState=function(h,m,v){return c.H.useFormState(h,m,v)},Un.useFormStatus=function(){return c.H.useHostTransitionStatus()},Un.version="19.1.0",Un}var u4;function R9(){if(u4)return i1.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(),i1.exports=AS(),i1.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 CS(){if(c4)return vs;c4=1;var a=MS(),i=Q2(),n=R9();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,D=f.child;D;){if(D===o){b=!0,o=f,u=p;break}if(D===u){b=!0,u=f,o=p;break}D=D.sibling}if(!b){for(D=p.child;D;){if(D===o){b=!0,o=p,u=f;break}if(D===u){b=!0,u=p,o=f;break}D=D.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"),_=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),C=Symbol.for("react.consumer"),Q=Symbol.for("react.context"),J=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),re=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),E=Symbol.for("react.activity"),T=Symbol.for("react.memo_cache_sentinel"),U=Symbol.iterator;function q(e){return e===null||typeof e!="object"?null:(e=U&&e[U]||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 O:return"Profiler";case N:return"StrictMode";case K:return"Suspense";case re:return"SuspenseList";case E:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case x:return"Portal";case Q:return(e.displayName||"Context")+".Provider";case C:return(e._context.displayName||"Context")+".Consumer";case J: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 S:r=e._payload,e=e._init;try{return B(e(r))}catch{}}return null}var H=Array.isArray,w=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L={pending:!1,data:null,method:null,action:null},X=[],A=-1;function Y(e){return{current:e}}function oe(e){0>A||(e.current=X[A],X[A]=null,A--)}function ae(e,r){A++,X[A]=e.current,e.current=r}var he=Y(null),ce=Y(null),pe=Y(null),Ye=Y(null);function je(e,r){switch(ae(pe,r),ae(ce,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 nt(){oe(he),oe(ce),oe(pe)}function nn(e){e.memoizedState!==null&&ae(Ye,e);var r=he.current,o=Rv(r,e.type);r!==o&&(ae(ce,e),ae(he,o))}function ut(e){ce.current===e&&(oe(he),oe(ce)),Ye.current===e&&(oe(Ye),cs._currentValue=L)}var At=Object.prototype.hasOwnProperty,vt=a.unstable_scheduleCallback,Ge=a.unstable_cancelCallback,Je=a.unstable_shouldYield,Lt=a.unstable_requestPaint,Ht=a.unstable_now,kn=a.unstable_getCurrentPriorityLevel,gn=a.unstable_ImmediatePriority,ct=a.unstable_UserBlockingPriority,zn=a.unstable_NormalPriority,ke=a.unstable_LowPriority,ge=a.unstable_IdlePriority,Le=a.log,Re=a.unstable_setDisableYieldValue,Xe=null,et=null;function Pt(e){if(typeof Le=="function"&&Re(e),et&&typeof et.setStrictMode=="function")try{et.setStrictMode(Xe,e)}catch{}}var Dt=Math.clz32?Math.clz32:jn,Yn=Math.log,Kn=Math.LN2;function jn(e){return e>>>=0,e===0?32:31-(Yn(e)/Kn|0)|0}var fn=256,Tt=4194304;function Be(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 dn(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 D=u&134217727;return D!==0?(u=D&~p,u!==0?f=Be(u):(b&=D,b!==0?f=Be(b):o||(o=D&~e,o!==0&&(f=Be(o))))):(D=u&~p,D!==0?f=Be(D):b!==0?f=Be(b):o||(o=u&~e,o!==0&&(f=Be(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 xn(e,r){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&r)===0}function gr(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 Bn(){var e=fn;return fn<<=1,(fn&4194048)===0&&(fn=256),e}function Ln(){var e=Tt;return Tt<<=1,(Tt&62914560)===0&&(Tt=4194304),e}function Mn(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 In(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 D=e.entanglements,P=e.expirationTimes,ee=e.hiddenUpdates;for(o=b&~o;0<o;){var ie=31-Dt(o),se=1<<ie;D[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&&nr(e,u,0),p!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=p&~(b&~r))}function nr(e,r,o){e.pendingLanes|=r,e.suspendedLanes&=~r;var u=31-Dt(r);e.entangledLanes|=r,e.entanglements[u]=e.entanglements[u]|1073741824|o&4194090}function He(e,r){var o=e.entangledLanes|=r;for(e=e.entanglements;o;){var u=31-Dt(o),f=1<<u;f&r|e[u]&r&&(e[u]|=r),o&=~f}}function qt(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 xe(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Pe(){var e=k.p;return e!==0?e:(e=window.event,e===void 0?32:Kv(e.type))}function tt(e,r){var o=k.p;try{return k.p=e,r()}finally{k.p=o}}var Bt=Math.random().toString(36).slice(2),fe="__reactFiber$"+Bt,be="__reactProps$"+Bt,we="__reactContainer$"+Bt,ft="__reactEvents$"+Bt,It="__reactListeners$"+Bt,yn="__reactHandles$"+Bt,pn="__reactResources$"+Bt,Ct="__reactMarker$"+Bt;function qe(e){delete e[fe],delete e[be],delete e[ft],delete e[It],delete e[yn]}function Ve(e){var r=e[fe];if(r)return r;for(var o=e.parentNode;o;){if(r=o[we]||o[fe]){if(o=r.alternate,r.child!==null||o!==null&&o.child!==null)for(e=qv(e);e!==null;){if(o=e[fe])return o;e=qv(e)}return r}e=o,o=e.parentNode}return null}function at(e){if(e=e[fe]||e[we]){var r=e.tag;if(r===5||r===6||r===13||r===26||r===27||r===3)return e}return null}function rr(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e.stateNode;throw Error(t(33))}function lt(e){var r=e[pn];return r||(r=e[pn]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function bt(e){e[Ct]=!0}var Se=new Set,j={};function ue(e,r){me(e,r),me(e+"Capture",r)}function me(e,r){for(j[e]=r,e=0;e<r.length;e++)Se.add(r[e])}var Te=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]*$"),$e={},pt={};function gt(e){return At.call(pt,e)?!0:At.call($e,e)?!1:Te.test(e)?pt[e]=!0:($e[e]=!0,!1)}function rn(e,r,o){if(gt(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 bn(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 an(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 Ut,Jr;function yr(e){if(Ut===void 0)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);Ut=r&&r[1]||"",Jr=-1<o.stack.indexOf(`
    at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Ut+e+Jr}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],D=p[1];if(b&&D){var P=b.split(`
`),ee=D.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:"")?yr(o):""}function bo(e){switch(e.tag){case 26:case 27:case 5:return yr(e.type);case 16:return yr("Lazy");case 13:return yr("Suspense");case 19:return yr("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 yr("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 ya(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Qs(e){var r=ya(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 Li(e){e._valueTracker||(e._valueTracker=Qs(e))}function _o(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var o=r.getValue(),u="";return e&&(u=ya(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 Ks=/[\n"\\]/g;function On(e){return e.replace(Ks,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function Ka(e,r,o,u,f,p,b,D){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?ea(e,b,hn(r)):o!=null?ea(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"),D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"?e.name=""+hn(D):e.removeAttribute("name")}function br(e,r,o,u,f,p,b,D){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,D||r===e.value||(e.value=r),e.defaultValue=r}u=u??f,u=typeof u!="function"&&typeof u!="symbol"&&!!u,e.checked=D?e.checked:!!u,e.defaultChecked=!!u,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(e.name=b)}function ea(e,r,o){r==="number"&&Qa(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function ta(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 Xs(e,r,o,u){if(r==null){if(u!=null){if(o!=null)throw Error(t(92));if(H(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 Pr(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 $s(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&&$s(e,f,u)}else for(var p in r)r.hasOwnProperty(p)&&$s(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"]]),ln=/^[\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 zr(e){return ln.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 na=null,ba=null;function wo(e){var r=at(e);if(r&&(e=r.stateNode)){var o=e[be]||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="'+On(""+r)+'"][type="radio"]'),r=0;r<o.length;r++){var u=o[r];if(u!==e&&u.form===e.form){var f=u[be]||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&&ta(e,!!o.multiple,r,!1)}}}var Do=!1;function ar(e,r,o){if(Do)return e(r,o);Do=!0;try{var u=e(r);return u}finally{if(Do=!1,(na!==null||ba!==null)&&(Lu(),na&&(r=na,e=ba,ba=na=null,wo(r),e)))for(r=0;r<e.length;r++)wo(e[r])}}function _r(e,r){var o=e.stateNode;if(o===null)return null;var u=o[be]||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 Sr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),bl=!1;if(Sr)try{var _a={};Object.defineProperty(_a,"passive",{get:function(){bl=!0}}),window.addEventListener("test",_a,_a),window.removeEventListener("test",_a,_a)}catch{bl=!1}var Yr=null,ir=null,qi=null;function To(){if(qi)return qi;var e,r=ir,o=r.length,u,f="value"in Yr?Yr.value:Yr.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 qi=f.slice(e,1<u?1-u:void 0)}function Ui(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 Hi(){return!0}function Js(){return!1}function ye(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 D in e)e.hasOwnProperty(D)&&(o=e[D],this[D]=o?o(p):p[D]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?Hi:Js,this.isPropagationStopped=Js,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=Hi)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Hi)},persist:function(){},isPersistent:Hi}),r}var I={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},de=ye(I),_e=v({},I,{view:0,detail:0}),Nt=ye(_e),on,Ft,sn,Xn=v({},_e,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:sf,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!==sn&&(sn&&e.type==="mousemove"?(on=e.screenX-sn.screenX,Ft=e.screenY-sn.screenY):Ft=on=0,sn=e),on)},movementY:function(e){return"movementY"in e?e.movementY:Ft}}),$a=ye(Xn),xo=v({},Xn,{dataTransfer:0}),_n=ye(xo),eu=v({},_e,{relatedTarget:0}),_l=ye(eu),Mb=v({},I,{animationName:0,elapsedTime:0,pseudoElement:0}),Ob=ye(Mb),Ab=v({},I,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Cb=ye(Ab),Rb=v({},I,{data:0}),Hm=ye(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 sf(){return qb}var Ub=v({},_e,{key:function(e){if(e.key){var r=Nb[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=Ui(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:sf,charCode:function(e){return e.type==="keypress"?Ui(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ui(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Hb=ye(Ub),Pb=v({},Xn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Pm=ye(Pb),zb=v({},_e,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:sf}),Yb=ye(zb),jb=v({},I,{propertyName:0,elapsedTime:0,pseudoElement:0}),Bb=ye(jb),Ib=v({},Xn,{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=ye(Ib),Gb=v({},I,{newState:0,oldState:0}),Zb=ye(Gb),Vb=[9,13,27,32],uf=Sr&&"CompositionEvent"in window,Mo=null;Sr&&"documentMode"in document&&(Mo=document.documentMode);var Wb=Sr&&"TextEvent"in window&&!Mo,zm=Sr&&(!uf||Mo&&8<Mo&&11>=Mo),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 Sl=!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(Sl)return e==="compositionend"||!uf&&Bm(e,r)?(e=To(),qi=ir=Yr=null,Sl=!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){na?ba?ba.push(u):ba=[u]:na=u,r=Yu(r,"onChange"),0<r.length&&(o=new de("onChange","change",null,o,u),e.push({event:o,listeners:r}))}var Oo=null,Ao=null;function $b(e){Tv(e,0)}function tu(e){var r=rr(e);if(_o(r))return e}function Zm(e,r){if(e==="change")return r}var Vm=!1;if(Sr){var cf;if(Sr){var ff="oninput"in document;if(!ff){var Wm=document.createElement("div");Wm.setAttribute("oninput","return;"),ff=typeof Wm.oninput=="function"}cf=ff}else cf=!1;Vm=cf&&(!document.documentMode||9<document.documentMode)}function Qm(){Oo&&(Oo.detachEvent("onpropertychange",Km),Ao=Oo=null)}function Km(e){if(e.propertyName==="value"&&tu(Ao)){var r=[];Gm(r,Ao,e,yl(e)),ar($b,r)}}function Jb(e,r,o){e==="focusin"?(Qm(),Oo=r,Ao=o,Oo.attachEvent("onpropertychange",Km)):e==="focusout"&&Qm()}function e_(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return tu(Ao)}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 lr=typeof Object.is=="function"?Object.is:r_;function Co(e,r){if(lr(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(!At.call(r,f)||!lr(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 df(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_=Sr&&"documentMode"in document&&11>=document.documentMode,El=null,pf=null,Ro=null,hf=!1;function t3(e,r,o){var u=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;hf||El==null||El!==Qa(u)||(u=El,"selectionStart"in u&&df(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}),Ro&&Co(Ro,u)||(Ro=u,u=Yu(pf,"onSelect"),0<u.length&&(r=new de("onSelect","select",null,r,o),e.push({event:r,listeners:u}),r.target=El)))}function Pi(e,r){var o={};return o[e.toLowerCase()]=r.toLowerCase(),o["Webkit"+e]="webkit"+r,o["Moz"+e]="moz"+r,o}var wl={animationend:Pi("Animation","AnimationEnd"),animationiteration:Pi("Animation","AnimationIteration"),animationstart:Pi("Animation","AnimationStart"),transitionrun:Pi("Transition","TransitionRun"),transitionstart:Pi("Transition","TransitionStart"),transitioncancel:Pi("Transition","TransitionCancel"),transitionend:Pi("Transition","TransitionEnd")},mf={},n3={};Sr&&(n3=document.createElement("div").style,"AnimationEvent"in window||(delete wl.animationend.animation,delete wl.animationiteration.animation,delete wl.animationstart.animation),"TransitionEvent"in window||delete wl.transitionend.transition);function zi(e){if(mf[e])return mf[e];if(!wl[e])return e;var r=wl[e],o;for(o in r)if(r.hasOwnProperty(o)&&o in n3)return mf[e]=r[o];return e}var r3=zi("animationend"),a3=zi("animationiteration"),i3=zi("animationstart"),i_=zi("transitionrun"),l_=zi("transitionstart"),o_=zi("transitioncancel"),l3=zi("transitionend"),o3=new Map,vf="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(" ");vf.push("scrollEnd");function jr(e,r){o3.set(e,r),ue(r,[e])}var s3=new WeakMap;function Er(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 wr=[],Dl=0,gf=0;function nu(){for(var e=Dl,r=gf=Dl=0;r<e;){var o=wr[r];wr[r++]=null;var u=wr[r];wr[r++]=null;var f=wr[r];wr[r++]=null;var p=wr[r];if(wr[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){wr[Dl++]=e,wr[Dl++]=r,wr[Dl++]=o,wr[Dl++]=u,gf|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function yf(e,r,o,u){return ru(e,r,o,u),au(e)}function Tl(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-Dt(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<ns)throw ns=0,Dd=null,Error(t(185));for(var r=e.return;r!==null;)e=r,r=e.return;return e.tag===3?e.stateNode:null}var xl={};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 or(e,r,o,u){return new s_(e,r,o,u)}function bf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Sa(e,r){var o=e.alternate;return o===null?(o=or(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")bf(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=or(31,o,r,f),e.elementType=E,e.lanes=p,e;case M:return Yi(o.children,f,p,r);case N:b=8,f|=24;break;case O:return e=or(12,o,r,f|2),e.elementType=O,e.lanes=p,e;case K:return e=or(13,o,r,f),e.elementType=K,e.lanes=p,e;case re:return e=or(19,o,r,f),e.elementType=re,e.lanes=p,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case R:case Q:b=10;break e;case C:b=9;break e;case J:b=11;break e;case V:b=14;break e;case S:b=16,u=null;break e}b=29,o=Error(t(130,e===null?"null":typeof e,"")),u=null}return r=or(b,o,r,f),r.elementType=e,r.type=u,r.lanes=p,r}function Yi(e,r,o,u){return e=or(7,e,u,r),e.lanes=o,e}function _f(e,r,o){return e=or(6,e,null,r),e.lanes=o,e}function Sf(e,r,o){return r=or(4,e.children!==null?e.children:[],e.key,r),r.lanes=o,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}var Ml=[],Ol=0,lu=null,ou=0,Dr=[],Tr=0,ji=null,Ea=1,wa="";function Bi(e,r){Ml[Ol++]=ou,Ml[Ol++]=lu,lu=e,ou=r}function f3(e,r,o){Dr[Tr++]=Ea,Dr[Tr++]=wa,Dr[Tr++]=ji,ji=e;var u=Ea;e=wa;var f=32-Dt(u)-1;u&=~(1<<f),o+=1;var p=32-Dt(r)+f;if(30<p){var b=f-f%5;p=(u&(1<<b)-1).toString(32),u>>=b,f-=b,Ea=1<<32-Dt(r)+f|o<<f|u,wa=p+e}else Ea=1<<p|o<<f|u,wa=e}function Ef(e){e.return!==null&&(Bi(e,1),f3(e,1,0))}function wf(e){for(;e===lu;)lu=Ml[--Ol],Ml[Ol]=null,ou=Ml[--Ol],Ml[Ol]=null;for(;e===ji;)ji=Dr[--Tr],Dr[Tr]=null,wa=Dr[--Tr],Dr[Tr]=null,Ea=Dr[--Tr],Dr[Tr]=null}var Fn=null,Wt=null,ht=!1,Ii=null,ra=!1,Df=Error(t(519));function Fi(e){var r=Error(t(418,""));throw Lo(Er(r,e)),Df}function d3(e){var r=e.stateNode,o=e.type,u=e.memoizedProps;switch(r[fe]=e,r[be]=u,o){case"dialog":Qe("cancel",r),Qe("close",r);break;case"iframe":case"object":case"embed":Qe("load",r);break;case"video":case"audio":for(o=0;o<as.length;o++)Qe(as[o],r);break;case"source":Qe("error",r);break;case"img":case"image":case"link":Qe("error",r),Qe("load",r);break;case"details":Qe("toggle",r);break;case"input":Qe("invalid",r),br(r,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0),Li(r);break;case"select":Qe("invalid",r);break;case"textarea":Qe("invalid",r),Xs(r,u.value,u.defaultValue,u.children),Li(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&&(Qe("beforetoggle",r),Qe("toggle",r)),u.onScroll!=null&&Qe("scroll",r),u.onScrollEnd!=null&&Qe("scrollend",r),u.onClick!=null&&(r.onclick=ju),r=!0):r=!1,r||Fi(e)}function p3(e){for(Fn=e.return;Fn;)switch(Fn.tag){case 5:case 13:ra=!1;return;case 27:case 3:ra=!0;return;default:Fn=Fn.return}}function No(e){if(e!==Fn)return!1;if(!ht)return p3(e),ht=!0,!1;var r=e.tag,o;if((o=r!==3&&r!==27)&&((o=r===5)&&(o=e.type,o=!(o!=="form"&&o!=="button")||Yd(e.type,e.memoizedProps)),o=!o),o&&Wt&&Fi(e),p3(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){Wt=Ir(e.nextSibling);break e}r--}else o!=="$"&&o!=="$!"&&o!=="$?"||r++;e=e.nextSibling}Wt=null}}else r===27?(r=Wt,hi(e.type)?(e=Fd,Fd=null,Wt=e):Wt=r):Wt=Fn?Ir(e.stateNode.nextSibling):null;return!0}function ko(){Wt=Fn=null,ht=!1}function h3(){var e=Ii;return e!==null&&(er===null?er=e:er.push.apply(er,e),Ii=null),e}function Lo(e){Ii===null?Ii=[e]:Ii.push(e)}var Tf=Y(null),Gi=null,Da=null;function Ja(e,r,o){ae(Tf,r._currentValue),r._currentValue=o}function Ta(e){e._currentValue=Tf.current,oe(Tf)}function xf(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 Mf(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 D=p;p=f;for(var P=0;P<r.length;P++)if(D.context===r[P]){p.lanes|=o,D=p.alternate,D!==null&&(D.lanes|=o),xf(p.return,o,e),u||(b=null);break e}p=D.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),xf(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 qo(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 D=f.type;lr(f.pendingProps.value,b.value)||(e!==null?e.push(D):e=[D])}}else if(f===Ye.current){if(b=f.alternate,b===null)throw Error(t(387));b.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(cs):e=[cs])}f=f.return}e!==null&&Mf(r,e,o,u),r.flags|=262144}function su(e){for(e=e.firstContext;e!==null;){if(!lr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Zi(e){Gi=e,Da=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function qn(e){return m3(Gi,e)}function uu(e,r){return Gi===null&&Zi(e),m3(e,r)}function m3(e,r){var o=r._currentValue;if(r={context:r,memoizedValue:o,next:null},Da===null){if(e===null)throw Error(t(308));Da=r,e.dependencies={lanes:0,firstContext:r},e.flags|=524288}else Da=Da.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,mn={$$typeof:Q,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Of(){return{controller:new u_,data:new Map,refCount:0}}function Uo(e){e.refCount--,e.refCount===0&&c_(f_,function(){e.controller.abort()})}var Ho=null,Af=0,Al=0,Cl=null;function d_(e,r){if(Ho===null){var o=Ho=[];Af=0,Al=Rd(),Cl={status:"pending",value:void 0,then:function(u){o.push(u)}}}return Af++,r.then(v3,v3),r}function v3(){if(--Af===0&&Ho!==null){Cl!==null&&(Cl.status="fulfilled");var e=Ho;Ho=null,Al=0,Cl=null;for(var r=0;r<e.length;r++)(0,e[r])()}}function p_(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=w.S;w.S=function(e,r){typeof r=="object"&&r!==null&&typeof r.then=="function"&&d_(e,r),g3!==null&&g3(e,r)};var Vi=Y(null);function Cf(){var e=Vi.current;return e!==null?e:kt.pooledCache}function cu(e,r){r===null?ae(Vi,Vi.current):ae(Vi,r.pool)}function y3(){var e=Cf();return e===null?null:{parent:mn._currentValue,pool:e}}var Po=Error(t(460)),b3=Error(t(474)),fu=Error(t(542)),Rf={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=kt,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 zo=r,Po}}var zo=null;function E3(){if(zo===null)throw Error(t(459));var e=zo;return zo=null,e}function w3(e){if(e===Po||e===fu)throw Error(t(483))}var ei=!1;function Nf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function kf(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,(_t&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 Yo(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,He(e,o)}}function Lf(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 qf=!1;function jo(){if(qf){var e=Cl;if(e!==null)throw e}}function Bo(e,r,o,u){qf=!1;var f=e.updateQueue;ei=!1;var p=f.firstBaseUpdate,b=f.lastBaseUpdate,D=f.shared.pending;if(D!==null){f.shared.pending=null;var P=D,ee=P.next;P.next=null,b===null?p=ee:b.next=ee,b=P;var ie=e.alternate;ie!==null&&(ie=ie.updateQueue,D=ie.lastBaseUpdate,D!==b&&(D===null?ie.firstBaseUpdate=ee:D.next=ee,ie.lastBaseUpdate=P))}if(p!==null){var se=f.baseState;b=0,ie=ee=P=null,D=p;do{var te=D.lane&-536870913,ne=te!==D.lane;if(ne?(it&te)===te:(u&te)===te){te!==0&&te===Al&&(qf=!0),ie!==null&&(ie=ie.next={lane:0,tag:D.tag,payload:D.payload,callback:null,next:null});e:{var Ne=e,Oe=D;te=r;var Ot=o;switch(Oe.tag){case 1:if(Ne=Oe.payload,typeof Ne=="function"){se=Ne.call(Ot,se,te);break e}se=Ne;break e;case 3:Ne.flags=Ne.flags&-65537|128;case 0:if(Ne=Oe.payload,te=typeof Ne=="function"?Ne.call(Ot,se,te):Ne,te==null)break e;se=v({},se,te);break e;case 2:ei=!0}}te=D.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:D.tag,payload:D.payload,callback:D.callback,next:null},ie===null?(ee=ie=ne,P=se):ie=ie.next=ne,b|=te;if(D=D.next,D===null){if(D=f.shared.pending,D===null)break;ne=D,D=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 Rl=Y(null),pu=Y(0);function x3(e,r){e=Na,ae(pu,e),ae(Rl,r),Na=e|r.baseLanes}function Uf(){ae(pu,Na),ae(Rl,Rl.current)}function Hf(){Na=pu.current,oe(Rl),oe(pu)}var ri=0,Ie=null,xt=null,un=null,hu=!1,Nl=!1,Wi=!1,mu=0,Io=0,kl=null,h_=0;function $t(){throw Error(t(321))}function Pf(e,r){if(r===null)return!1;for(var o=0;o<r.length&&o<e.length;o++)if(!lr(e[o],r[o]))return!1;return!0}function zf(e,r,o,u,f,p){return ri=p,Ie=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,w.H=e===null||e.memoizedState===null?u6:c6,Wi=!1,p=o(u,f),Wi=!1,Nl&&(p=O3(r,o,u,f)),M3(e),p}function M3(e){w.H=Su;var r=xt!==null&&xt.next!==null;if(ri=0,un=xt=Ie=null,hu=!1,Io=0,kl=null,r)throw Error(t(300));e===null||Sn||(e=e.dependencies,e!==null&&su(e)&&(Sn=!0))}function O3(e,r,o,u){Ie=e;var f=0;do{if(Nl&&(kl=null),Io=0,Nl=!1,25<=f)throw Error(t(301));if(f+=1,un=xt=null,e.updateQueue!=null){var p=e.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}w.H=S_,p=r(o,u)}while(Nl);return p}function m_(){var e=w.H,r=e.useState()[0];return r=typeof r.then=="function"?Fo(r):r,e=e.useState()[0],(xt!==null?xt.memoizedState:null)!==e&&(Ie.flags|=1024),r}function Yf(){var e=mu!==0;return mu=0,e}function jf(e,r,o){r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~o}function Bf(e){if(hu){for(e=e.memoizedState;e!==null;){var r=e.queue;r!==null&&(r.pending=null),e=e.next}hu=!1}ri=0,un=xt=Ie=null,Nl=!1,Io=mu=0,kl=null}function $n(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return un===null?Ie.memoizedState=un=e:un=un.next=e,un}function cn(){if(xt===null){var e=Ie.alternate;e=e!==null?e.memoizedState:null}else e=xt.next;var r=un===null?Ie.memoizedState:un.next;if(r!==null)un=r,xt=e;else{if(e===null)throw Ie.alternate===null?Error(t(467)):Error(t(310));xt=e,e={memoizedState:xt.memoizedState,baseState:xt.baseState,baseQueue:xt.baseQueue,queue:xt.queue,next:null},un===null?Ie.memoizedState=un=e:un=un.next=e}return un}function If(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Fo(e){var r=Io;return Io+=1,kl===null&&(kl=[]),e=S3(kl,e,r),r=Ie,(un===null?r.memoizedState:un.next)===null&&(r=r.alternate,w.H=r===null||r.memoizedState===null?u6:c6),e}function vu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Fo(e);if(e.$$typeof===Q)return qn(e)}throw Error(t(438,String(e)))}function Ff(e){var r=null,o=Ie.updateQueue;if(o!==null&&(r=o.memoCache),r==null){var u=Ie.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=If(),Ie.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]=T;return r.index++,o}function xa(e,r){return typeof r=="function"?r(e):r}function gu(e){var r=cn();return Gf(r,xt,e)}function Gf(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 D=b=null,P=null,ee=r,ie=!1;do{var se=ee.lane&-536870913;if(se!==ee.lane?(it&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===Al&&(ie=!0);else if((ri&te)===te){ee=ee.next,te===Al&&(ie=!0);continue}else se={lane:0,revertLane:ee.revertLane,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null},P===null?(D=P=se,b=p):P=P.next=se,Ie.lanes|=te,ci|=te;se=ee.action,Wi&&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?(D=P=te,b=p):P=P.next=te,Ie.lanes|=se,ci|=se;ee=ee.next}while(ee!==null&&ee!==r);if(P===null?b=p:P.next=D,!lr(p,e.memoizedState)&&(Sn=!0,ie&&(o=Cl,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 Zf(e){var r=cn(),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);lr(p,r.memoizedState)||(Sn=!0),r.memoizedState=p,r.baseQueue===null&&(r.baseState=p),o.lastRenderedState=p}return[p,u]}function A3(e,r,o){var u=Ie,f=cn(),p=ht;if(p){if(o===void 0)throw Error(t(407));o=o()}else o=r();var b=!lr((xt||f).memoizedState,o);b&&(f.memoizedState=o,Sn=!0),f=f.queue;var D=N3.bind(null,u,f,e);if(Go(2048,8,D,[e]),f.getSnapshot!==r||b||un!==null&&un.memoizedState.tag&1){if(u.flags|=2048,Ll(9,yu(),R3.bind(null,u,f,o,r),null),kt===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=Ie.updateQueue,r===null?(r=If(),Ie.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!lr(e,o)}catch{return!0}}function L3(e){var r=Tl(e,2);r!==null&&dr(r,e,2)}function Vf(e){var r=$n();if(typeof e=="function"){var o=e;if(e=o(),Wi){Pt(!0);try{o()}finally{Pt(!1)}}}return r.memoizedState=r.baseState=e,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xa,lastRenderedState:e},r}function q3(e,r,o,u){return e.baseState=o,Gf(e,xt,typeof u=="function"?u:xa)}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)}};w.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=w.T,b={};w.T=b;try{var D=o(f,u),P=w.S;P!==null&&P(b,D),H3(e,r,D)}catch(ee){Wf(e,r,ee)}finally{w.T=p}}else try{p=o(f,u),H3(e,r,p)}catch(ee){Wf(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 Wf(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 Wf(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(ht){var o=kt.formState;if(o!==null){e:{var u=Ie;if(ht){if(Wt){t:{for(var f=Wt,p=ra;f.nodeType!==8;){if(!p){f=null;break t}if(f=Ir(f.nextSibling),f===null){f=null;break t}}p=f.data,f=p==="F!"||p==="F"?f:null}if(f){Wt=Ir(f.nextSibling),u=f.data==="F!";break e}}Fi(u)}u=!1}u&&(r=o[0])}}return o=$n(),o.memoizedState=o.baseState=r,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Y3,lastRenderedState:r},o.queue=u,o=l6.bind(null,Ie,u),u.dispatch=o,u=Vf(!1),p=Jf.bind(null,Ie,!1,u.queue),u=$n(),f={state:r,dispatch:null,action:e,pending:null},u.queue=f,o=v_.bind(null,Ie,f,p,o),f.dispatch=o,u.memoizedState=e,[r,o,!1]}function B3(e){var r=cn();return I3(r,xt,e)}function I3(e,r,o){if(r=Gf(e,r,Y3)[0],e=gu(xa)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var u=Fo(r)}catch(b){throw b===Po?fu:b}else u=r;r=cn();var f=r.queue,p=f.dispatch;return o!==r.memoizedState&&(Ie.flags|=2048,Ll(9,yu(),g_.bind(null,f,o),null)),[u,p,e]}function g_(e,r){e.action=r}function F3(e){var r=cn(),o=xt;if(o!==null)return I3(r,o,e);cn(),r=r.memoizedState,o=cn();var u=o.queue.dispatch;return o.memoizedState=e,[r,u,!1]}function Ll(e,r,o,u){return e={tag:e,create:o,deps:u,inst:r,next:null},r=Ie.updateQueue,r===null&&(r=If(),Ie.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 cn().memoizedState}function bu(e,r,o,u){var f=$n();u=u===void 0?null:u,Ie.flags|=e,f.memoizedState=Ll(1|r,yu(),o,u)}function Go(e,r,o,u){var f=cn();u=u===void 0?null:u;var p=f.memoizedState.inst;xt!==null&&u!==null&&Pf(u,xt.memoizedState.deps)?f.memoizedState=Ll(r,p,o,u):(Ie.flags|=e,f.memoizedState=Ll(1|r,p,o,u))}function Z3(e,r){bu(8390656,8,e,r)}function V3(e,r){Go(2048,8,e,r)}function W3(e,r){return Go(4,2,e,r)}function Q3(e,r){return Go(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,Go(4,4,K3.bind(null,r,e),o)}function Qf(){}function $3(e,r){var o=cn();r=r===void 0?null:r;var u=o.memoizedState;return r!==null&&Pf(r,u[1])?u[0]:(o.memoizedState=[e,r],e)}function J3(e,r){var o=cn();r=r===void 0?null:r;var u=o.memoizedState;if(r!==null&&Pf(r,u[1]))return u[0];if(u=e(),Wi){Pt(!0);try{e()}finally{Pt(!1)}}return o.memoizedState=[u,r],u}function Kf(e,r,o){return o===void 0||(ri&1073741824)!==0?e.memoizedState=r:(e.memoizedState=o,e=nv(),Ie.lanes|=e,ci|=e,o)}function e6(e,r,o,u){return lr(o,r)?o:Rl.current!==null?(e=Kf(e,o,u),lr(e,r)||(Sn=!0),e):(ri&42)===0?(Sn=!0,e.memoizedState=o):(e=nv(),Ie.lanes|=e,ci|=e,r)}function t6(e,r,o,u,f){var p=k.p;k.p=p!==0&&8>p?p:8;var b=w.T,D={};w.T=D,Jf(e,!1,r,o);try{var P=f(),ee=w.S;if(ee!==null&&ee(D,P),P!==null&&typeof P=="object"&&typeof P.then=="function"){var ie=p_(P,u);Zo(e,r,ie,fr(e))}else Zo(e,r,u,fr(e))}catch(se){Zo(e,r,{then:function(){},status:"rejected",reason:se},fr())}finally{k.p=p,w.T=b}}function y_(){}function Xf(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:xa,lastRenderedState:L},next:null};var o={};return r.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:xa,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;Zo(e,r,{},fr())}function $f(){return qn(cs)}function a6(){return cn().memoizedState}function i6(){return cn().memoizedState}function b_(e){for(var r=e.return;r!==null;){switch(r.tag){case 24:case 3:var o=fr();e=ti(o);var u=ni(r,e,o);u!==null&&(dr(u,r,o),Yo(u,r,o)),r={cache:Of()},e.payload=r;return}r=r.return}}function __(e,r,o){var u=fr();o={lane:u,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null},_u(e)?o6(r,o):(o=yf(e,r,o,u),o!==null&&(dr(o,e,u),s6(o,r,u)))}function l6(e,r,o){var u=fr();Zo(e,r,o,u)}function Zo(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,D=p(b,o);if(f.hasEagerState=!0,f.eagerState=D,lr(D,b))return ru(e,r,f,0),kt===null&&nu(),!1}catch{}finally{}if(o=yf(e,r,f,u),o!==null)return dr(o,e,u),s6(o,r,u),!0}return!1}function Jf(e,r,o,u){if(u={lane:2,revertLane:Rd(),action:u,hasEagerState:!1,eagerState:null,next:null},_u(e)){if(r)throw Error(t(479))}else r=yf(e,o,u,2),r!==null&&dr(r,e,2)}function _u(e){var r=e.alternate;return e===Ie||r!==null&&r===Ie}function o6(e,r){Nl=hu=!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,He(e,o)}}var Su={readContext:qn,use:vu,useCallback:$t,useContext:$t,useEffect:$t,useImperativeHandle:$t,useLayoutEffect:$t,useInsertionEffect:$t,useMemo:$t,useReducer:$t,useRef:$t,useState:$t,useDebugValue:$t,useDeferredValue:$t,useTransition:$t,useSyncExternalStore:$t,useId:$t,useHostTransitionStatus:$t,useFormState:$t,useActionState:$t,useOptimistic:$t,useMemoCache:$t,useCacheRefresh:$t},u6={readContext:qn,use:vu,useCallback:function(e,r){return $n().memoizedState=[e,r===void 0?null:r],e},useContext:qn,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=$n();r=r===void 0?null:r;var u=e();if(Wi){Pt(!0);try{e()}finally{Pt(!1)}}return o.memoizedState=[u,r],u},useReducer:function(e,r,o){var u=$n();if(o!==void 0){var f=o(r);if(Wi){Pt(!0);try{o(r)}finally{Pt(!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,Ie,e),[u.memoizedState,e]},useRef:function(e){var r=$n();return e={current:e},r.memoizedState=e},useState:function(e){e=Vf(e);var r=e.queue,o=l6.bind(null,Ie,r);return r.dispatch=o,[e.memoizedState,o]},useDebugValue:Qf,useDeferredValue:function(e,r){var o=$n();return Kf(o,e,r)},useTransition:function(){var e=Vf(!1);return e=t6.bind(null,Ie,e.queue,!0,!1),$n().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,r,o){var u=Ie,f=$n();if(ht){if(o===void 0)throw Error(t(407));o=o()}else{if(o=r(),kt===null)throw Error(t(349));(it&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,Ll(9,yu(),R3.bind(null,u,p,o,r),null),o},useId:function(){var e=$n(),r=kt.identifierPrefix;if(ht){var o=wa,u=Ea;o=(u&~(1<<32-Dt(u)-1)).toString(32)+o,r="«"+r+"R"+o,o=mu++,0<o&&(r+="H"+o.toString(32)),r+="»"}else o=h_++,r="«"+r+"r"+o.toString(32)+"»";return e.memoizedState=r},useHostTransitionStatus:$f,useFormState:j3,useActionState:j3,useOptimistic:function(e){var r=$n();r.memoizedState=r.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=o,r=Jf.bind(null,Ie,!0,o),o.dispatch=r,[e,r]},useMemoCache:Ff,useCacheRefresh:function(){return $n().memoizedState=b_.bind(null,Ie)}},c6={readContext:qn,use:vu,useCallback:$3,useContext:qn,useEffect:V3,useImperativeHandle:X3,useInsertionEffect:W3,useLayoutEffect:Q3,useMemo:J3,useReducer:gu,useRef:G3,useState:function(){return gu(xa)},useDebugValue:Qf,useDeferredValue:function(e,r){var o=cn();return e6(o,xt.memoizedState,e,r)},useTransition:function(){var e=gu(xa)[0],r=cn().memoizedState;return[typeof e=="boolean"?e:Fo(e),r]},useSyncExternalStore:A3,useId:a6,useHostTransitionStatus:$f,useFormState:B3,useActionState:B3,useOptimistic:function(e,r){var o=cn();return q3(o,xt,e,r)},useMemoCache:Ff,useCacheRefresh:i6},S_={readContext:qn,use:vu,useCallback:$3,useContext:qn,useEffect:V3,useImperativeHandle:X3,useInsertionEffect:W3,useLayoutEffect:Q3,useMemo:J3,useReducer:Zf,useRef:G3,useState:function(){return Zf(xa)},useDebugValue:Qf,useDeferredValue:function(e,r){var o=cn();return xt===null?Kf(o,e,r):e6(o,xt.memoizedState,e,r)},useTransition:function(){var e=Zf(xa)[0],r=cn().memoizedState;return[typeof e=="boolean"?e:Fo(e),r]},useSyncExternalStore:A3,useId:a6,useHostTransitionStatus:$f,useFormState:F3,useActionState:F3,useOptimistic:function(e,r){var o=cn();return xt!==null?q3(o,xt,e,r):(o.baseState=e,[e,o.queue.dispatch])},useMemoCache:Ff,useCacheRefresh:i6},ql=null,Vo=0;function Eu(e){var r=Vo;return Vo+=1,ql===null&&(ql=[]),S3(ql,e,r)}function Wo(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(W,F){if(e){var $=W.deletions;$===null?(W.deletions=[F],W.flags|=16):$.push(F)}}function o(W,F){if(!e)return null;for(;F!==null;)r(W,F),F=F.sibling;return null}function u(W){for(var F=new Map;W!==null;)W.key!==null?F.set(W.key,W):F.set(W.index,W),W=W.sibling;return F}function f(W,F){return W=Sa(W,F),W.index=0,W.sibling=null,W}function p(W,F,$){return W.index=$,e?($=W.alternate,$!==null?($=$.index,$<F?(W.flags|=67108866,F):$):(W.flags|=67108866,F)):(W.flags|=1048576,F)}function b(W){return e&&W.alternate===null&&(W.flags|=67108866),W}function D(W,F,$,le){return F===null||F.tag!==6?(F=_f($,W.mode,le),F.return=W,F):(F=f(F,$),F.return=W,F)}function P(W,F,$,le){var Ee=$.type;return Ee===M?ie(W,F,$.props.children,le,$.key):F!==null&&(F.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===S&&f6(Ee)===F.type)?(F=f(F,$.props),Wo(F,$),F.return=W,F):(F=iu($.type,$.key,$.props,null,W.mode,le),Wo(F,$),F.return=W,F)}function ee(W,F,$,le){return F===null||F.tag!==4||F.stateNode.containerInfo!==$.containerInfo||F.stateNode.implementation!==$.implementation?(F=Sf($,W.mode,le),F.return=W,F):(F=f(F,$.children||[]),F.return=W,F)}function ie(W,F,$,le,Ee){return F===null||F.tag!==7?(F=Yi($,W.mode,le,Ee),F.return=W,F):(F=f(F,$),F.return=W,F)}function se(W,F,$){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return F=_f(""+F,W.mode,$),F.return=W,F;if(typeof F=="object"&&F!==null){switch(F.$$typeof){case _:return $=iu(F.type,F.key,F.props,null,W.mode,$),Wo($,F),$.return=W,$;case x:return F=Sf(F,W.mode,$),F.return=W,F;case S:var le=F._init;return F=le(F._payload),se(W,F,$)}if(H(F)||q(F))return F=Yi(F,W.mode,$,null),F.return=W,F;if(typeof F.then=="function")return se(W,Eu(F),$);if(F.$$typeof===Q)return se(W,uu(W,F),$);wu(W,F)}return null}function te(W,F,$,le){var Ee=F!==null?F.key:null;if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return Ee!==null?null:D(W,F,""+$,le);if(typeof $=="object"&&$!==null){switch($.$$typeof){case _:return $.key===Ee?P(W,F,$,le):null;case x:return $.key===Ee?ee(W,F,$,le):null;case S:return Ee=$._init,$=Ee($._payload),te(W,F,$,le)}if(H($)||q($))return Ee!==null?null:ie(W,F,$,le,null);if(typeof $.then=="function")return te(W,F,Eu($),le);if($.$$typeof===Q)return te(W,F,uu(W,$),le);wu(W,$)}return null}function ne(W,F,$,le,Ee){if(typeof le=="string"&&le!==""||typeof le=="number"||typeof le=="bigint")return W=W.get($)||null,D(F,W,""+le,Ee);if(typeof le=="object"&&le!==null){switch(le.$$typeof){case _:return W=W.get(le.key===null?$:le.key)||null,P(F,W,le,Ee);case x:return W=W.get(le.key===null?$:le.key)||null,ee(F,W,le,Ee);case S:var Ze=le._init;return le=Ze(le._payload),ne(W,F,$,le,Ee)}if(H(le)||q(le))return W=W.get($)||null,ie(F,W,le,Ee,null);if(typeof le.then=="function")return ne(W,F,$,Eu(le),Ee);if(le.$$typeof===Q)return ne(W,F,$,uu(F,le),Ee);wu(F,le)}return null}function Ne(W,F,$,le){for(var Ee=null,Ze=null,Me=F,Ae=F=0,wn=null;Me!==null&&Ae<$.length;Ae++){Me.index>Ae?(wn=Me,Me=null):wn=Me.sibling;var dt=te(W,Me,$[Ae],le);if(dt===null){Me===null&&(Me=wn);break}e&&Me&&dt.alternate===null&&r(W,Me),F=p(dt,F,Ae),Ze===null?Ee=dt:Ze.sibling=dt,Ze=dt,Me=wn}if(Ae===$.length)return o(W,Me),ht&&Bi(W,Ae),Ee;if(Me===null){for(;Ae<$.length;Ae++)Me=se(W,$[Ae],le),Me!==null&&(F=p(Me,F,Ae),Ze===null?Ee=Me:Ze.sibling=Me,Ze=Me);return ht&&Bi(W,Ae),Ee}for(Me=u(Me);Ae<$.length;Ae++)wn=ne(Me,W,Ae,$[Ae],le),wn!==null&&(e&&wn.alternate!==null&&Me.delete(wn.key===null?Ae:wn.key),F=p(wn,F,Ae),Ze===null?Ee=wn:Ze.sibling=wn,Ze=wn);return e&&Me.forEach(function(bi){return r(W,bi)}),ht&&Bi(W,Ae),Ee}function Oe(W,F,$,le){if($==null)throw Error(t(151));for(var Ee=null,Ze=null,Me=F,Ae=F=0,wn=null,dt=$.next();Me!==null&&!dt.done;Ae++,dt=$.next()){Me.index>Ae?(wn=Me,Me=null):wn=Me.sibling;var bi=te(W,Me,dt.value,le);if(bi===null){Me===null&&(Me=wn);break}e&&Me&&bi.alternate===null&&r(W,Me),F=p(bi,F,Ae),Ze===null?Ee=bi:Ze.sibling=bi,Ze=bi,Me=wn}if(dt.done)return o(W,Me),ht&&Bi(W,Ae),Ee;if(Me===null){for(;!dt.done;Ae++,dt=$.next())dt=se(W,dt.value,le),dt!==null&&(F=p(dt,F,Ae),Ze===null?Ee=dt:Ze.sibling=dt,Ze=dt);return ht&&Bi(W,Ae),Ee}for(Me=u(Me);!dt.done;Ae++,dt=$.next())dt=ne(Me,W,Ae,dt.value,le),dt!==null&&(e&&dt.alternate!==null&&Me.delete(dt.key===null?Ae:dt.key),F=p(dt,F,Ae),Ze===null?Ee=dt:Ze.sibling=dt,Ze=dt);return e&&Me.forEach(function(ES){return r(W,ES)}),ht&&Bi(W,Ae),Ee}function Ot(W,F,$,le){if(typeof $=="object"&&$!==null&&$.type===M&&$.key===null&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case _:e:{for(var Ee=$.key;F!==null;){if(F.key===Ee){if(Ee=$.type,Ee===M){if(F.tag===7){o(W,F.sibling),le=f(F,$.props.children),le.return=W,W=le;break e}}else if(F.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===S&&f6(Ee)===F.type){o(W,F.sibling),le=f(F,$.props),Wo(le,$),le.return=W,W=le;break e}o(W,F);break}else r(W,F);F=F.sibling}$.type===M?(le=Yi($.props.children,W.mode,le,$.key),le.return=W,W=le):(le=iu($.type,$.key,$.props,null,W.mode,le),Wo(le,$),le.return=W,W=le)}return b(W);case x:e:{for(Ee=$.key;F!==null;){if(F.key===Ee)if(F.tag===4&&F.stateNode.containerInfo===$.containerInfo&&F.stateNode.implementation===$.implementation){o(W,F.sibling),le=f(F,$.children||[]),le.return=W,W=le;break e}else{o(W,F);break}else r(W,F);F=F.sibling}le=Sf($,W.mode,le),le.return=W,W=le}return b(W);case S:return Ee=$._init,$=Ee($._payload),Ot(W,F,$,le)}if(H($))return Ne(W,F,$,le);if(q($)){if(Ee=q($),typeof Ee!="function")throw Error(t(150));return $=Ee.call($),Oe(W,F,$,le)}if(typeof $.then=="function")return Ot(W,F,Eu($),le);if($.$$typeof===Q)return Ot(W,F,uu(W,$),le);wu(W,$)}return typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint"?($=""+$,F!==null&&F.tag===6?(o(W,F.sibling),le=f(F,$),le.return=W,W=le):(o(W,F),le=_f($,W.mode,le),le.return=W,W=le),b(W)):o(W,F)}return function(W,F,$,le){try{Vo=0;var Ee=Ot(W,F,$,le);return ql=null,Ee}catch(Me){if(Me===Po||Me===fu)throw Me;var Ze=or(29,Me,null,W.mode);return Ze.lanes=le,Ze.return=W,Ze}finally{}}}var Ul=d6(!0),p6=d6(!1),xr=Y(null),aa=null;function ai(e){var r=e.alternate;ae(vn,vn.current&1),ae(xr,e),aa===null&&(r===null||Rl.current!==null||r.memoizedState!==null)&&(aa=e)}function h6(e){if(e.tag===22){if(ae(vn,vn.current),ae(xr,e),aa===null){var r=e.alternate;r!==null&&r.memoizedState!==null&&(aa=e)}}else ii()}function ii(){ae(vn,vn.current),ae(xr,xr.current)}function Ma(e){oe(xr),aa===e&&(aa=null),oe(vn)}var vn=Y(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==="$?"||Id(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 ed(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 td={enqueueSetState:function(e,r,o){e=e._reactInternals;var u=fr(),f=ti(u);f.payload=r,o!=null&&(f.callback=o),r=ni(e,f,u),r!==null&&(dr(r,e,u),Yo(r,e,u))},enqueueReplaceState:function(e,r,o){e=e._reactInternals;var u=fr(),f=ti(u);f.tag=1,f.payload=r,o!=null&&(f.callback=o),r=ni(e,f,u),r!==null&&(dr(r,e,u),Yo(r,e,u))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var o=fr(),u=ti(o);u.tag=2,r!=null&&(u.callback=r),r=ni(e,u,o),r!==null&&(dr(r,e,o),Yo(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?!Co(o,u)||!Co(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&&td.enqueueReplaceState(r,r.state,null)}function Qi(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 nd(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 D=u.stack;this.componentDidCatch(u.value,{componentStack:D!==null?D:""})})}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&&qo(r,o,f,!0),o=xr.current,o!==null){switch(o.tag){case 13:return aa===null?xd():o.alternate===null&&Qt===0&&(Qt=3),o.flags&=-257,o.flags|=65536,o.lanes=f,u===Rf?o.flags|=16384:(r=o.updateQueue,r===null?o.updateQueue=new Set([u]):r.add(u),Od(e,u,f)),!1;case 22:return o.flags|=65536,u===Rf?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)),Od(e,u,f)),!1}throw Error(t(435,o.tag))}return Od(e,u,f),xd(),!1}if(ht)return r=xr.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=f,u!==Df&&(e=Error(t(422),{cause:u}),Lo(Er(e,o)))):(u!==Df&&(r=Error(t(423),{cause:u}),Lo(Er(r,o))),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,u=Er(u,o),f=nd(e.stateNode,u,f),Lf(e,f),Qt!==4&&(Qt=2)),!1;var p=Error(t(520),{cause:u});if(p=Er(p,o),ts===null?ts=[p]:ts.push(p),Qt!==4&&(Qt=2),r===null)return!0;u=Er(u,o),o=r;do{switch(o.tag){case 3:return o.flags|=65536,e=f&-f,o.lanes|=e,e=nd(o.stateNode,u,e),Lf(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),Lf(o,f),!1}o=o.return}while(o!==null);return!1}var w6=Error(t(461)),Sn=!1;function An(e,r,o,u){r.child=e===null?p6(r,null,o,u):Ul(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 D in u)D!=="ref"&&(b[D]=u[D])}else b=u;return Zi(r),u=zf(e,r,o,b,p,f),D=Yf(),e!==null&&!Sn?(jf(e,r,f),Oa(e,r,f)):(ht&&D&&Ef(r),r.flags|=1,An(e,r,u,f),r.child)}function T6(e,r,o,u,f){if(e===null){var p=o.type;return typeof p=="function"&&!bf(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,!cd(e,f)){var b=p.memoizedProps;if(o=o.compare,o=o!==null?o:Co,o(b,u)&&e.ref===r.ref)return Oa(e,r,f)}return r.flags|=1,e=Sa(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(Co(p,u)&&e.ref===r.ref)if(Sn=!1,r.pendingProps=u=p,cd(e,f))(e.flags&131072)!==0&&(Sn=!0);else return r.lanes=e.lanes,Oa(e,r,f)}return rd(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):Uf(),h6(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),Uf(),ii());return An(e,r,f,o),r.child}function O6(e,r,o,u){var f=Cf();return f=f===null?null:{parent:mn._currentValue,pool:f},r.memoizedState={baseLanes:o,cachePool:f},e!==null&&cu(r,null),Uf(),h6(r),e!==null&&qo(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 rd(e,r,o,u,f){return Zi(r),o=zf(e,r,o,u,void 0,f),u=Yf(),e!==null&&!Sn?(jf(e,r,f),Oa(e,r,f)):(ht&&u&&Ef(r),r.flags|=1,An(e,r,o,f),r.child)}function A6(e,r,o,u,f,p){return Zi(r),r.updateQueue=null,o=O3(r,u,o,f),M3(e),u=Yf(),e!==null&&!Sn?(jf(e,r,p),Oa(e,r,p)):(ht&&u&&Ef(r),r.flags|=1,An(e,r,o,p),r.child)}function C6(e,r,o,u,f){if(Zi(r),r.stateNode===null){var p=xl,b=o.contextType;typeof b=="object"&&b!==null&&(p=qn(b)),p=new o(u,p),r.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=td,r.stateNode=p,p._reactInternals=r,p=r.stateNode,p.props=u,p.state=r.memoizedState,p.refs={},Nf(r),b=o.contextType,p.context=typeof b=="object"&&b!==null?qn(b):xl,p.state=r.memoizedState,b=o.getDerivedStateFromProps,typeof b=="function"&&(ed(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&&td.enqueueReplaceState(p,p.state,null),Bo(r,u,p,f),jo(),p.state=r.memoizedState),typeof p.componentDidMount=="function"&&(r.flags|=4194308),u=!0}else if(e===null){p=r.stateNode;var D=r.memoizedProps,P=Qi(o,D);p.props=P;var ee=p.context,ie=o.contextType;b=xl,typeof ie=="object"&&ie!==null&&(b=qn(ie));var se=o.getDerivedStateFromProps;ie=typeof se=="function"||typeof p.getSnapshotBeforeUpdate=="function",D=r.pendingProps!==D,ie||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(D||ee!==b)&&v6(r,p,u,b),ei=!1;var te=r.memoizedState;p.state=te,Bo(r,u,p,f),jo(),ee=r.memoizedState,D||te!==ee||ei?(typeof se=="function"&&(ed(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,kf(e,r),b=r.memoizedProps,ie=Qi(o,b),p.props=ie,se=r.pendingProps,te=p.context,ee=o.contextType,P=xl,typeof ee=="object"&&ee!==null&&(P=qn(ee)),D=o.getDerivedStateFromProps,(ee=typeof D=="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,Bo(r,u,p,f),jo();var ne=r.memoizedState;b!==se||te!==ne||ei||e!==null&&e.dependencies!==null&&su(e.dependencies)?(typeof D=="function"&&(ed(r,o,D,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=Ul(r,e.child,null,f),r.child=Ul(r,null,o,f)):An(e,r,o,f),r.memoizedState=p.state,e=r.child):e=Oa(e,r,f),e}function R6(e,r,o,u){return ko(),r.flags|=256,An(e,r,o,u),r.child}var ad={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function id(e){return{baseLanes:e,cachePool:y3()}}function ld(e,r,o){return e=e!==null?e.childLanes&~o:0,r&&(e|=Mr),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:(vn.current&2)!==0),b&&(f=!0,r.flags&=-129),b=(r.flags&32)!==0,r.flags&=-33,e===null){if(ht){if(f?ai(r):ii(),ht){var D=Wt,P;if(P=D){e:{for(P=D,D=ra;P.nodeType!==8;){if(!D){D=null;break e}if(P=Ir(P.nextSibling),P===null){D=null;break e}}D=P}D!==null?(r.memoizedState={dehydrated:D,treeContext:ji!==null?{id:Ea,overflow:wa}:null,retryLane:536870912,hydrationErrors:null},P=or(18,null,null,0),P.stateNode=D,P.return=r,r.child=P,Fn=r,Wt=null,P=!0):P=!1}P||Fi(r)}if(D=r.memoizedState,D!==null&&(D=D.dehydrated,D!==null))return Id(D)?r.lanes=32:r.lanes=536870912,null;Ma(r)}return D=u.children,u=u.fallback,f?(ii(),f=r.mode,D=Ou({mode:"hidden",children:D},f),u=Yi(u,f,o,null),D.return=r,u.return=r,D.sibling=u,r.child=D,f=r.child,f.memoizedState=id(o),f.childLanes=ld(e,b,o),r.memoizedState=ad,u):(ai(r),od(r,D))}if(P=e.memoizedState,P!==null&&(D=P.dehydrated,D!==null)){if(p)r.flags&256?(ai(r),r.flags&=-257,r=sd(e,r,o)):r.memoizedState!==null?(ii(),r.child=e.child,r.flags|=128,r=null):(ii(),f=u.fallback,D=r.mode,u=Ou({mode:"visible",children:u.children},D),f=Yi(f,D,o,null),f.flags|=2,u.return=r,f.return=r,u.sibling=f,r.child=u,Ul(r,e.child,null,o),u=r.child,u.memoizedState=id(o),u.childLanes=ld(e,b,o),r.memoizedState=ad,r=f);else if(ai(r),Id(D)){if(b=D.nextSibling&&D.nextSibling.dataset,b)var ee=b.dgst;b=ee,u=Error(t(419)),u.stack="",u.digest=b,Lo({value:u,source:null,stack:null}),r=sd(e,r,o)}else if(Sn||qo(e,r,o,!1),b=(o&e.childLanes)!==0,Sn||b){if(b=kt,b!==null&&(u=o&-o,u=(u&42)!==0?1:qt(u),u=(u&(b.suspendedLanes|o))!==0?0:u,u!==0&&u!==P.retryLane))throw P.retryLane=u,Tl(e,u),dr(b,e,u),w6;D.data==="$?"||xd(),r=sd(e,r,o)}else D.data==="$?"?(r.flags|=192,r.child=e.child,r=null):(e=P.treeContext,Wt=Ir(D.nextSibling),Fn=r,ht=!0,Ii=null,ra=!1,e!==null&&(Dr[Tr++]=Ea,Dr[Tr++]=wa,Dr[Tr++]=ji,Ea=e.id,wa=e.overflow,ji=r),r=od(r,u.children),r.flags|=4096);return r}return f?(ii(),f=u.fallback,D=r.mode,P=e.child,ee=P.sibling,u=Sa(P,{mode:"hidden",children:u.children}),u.subtreeFlags=P.subtreeFlags&65011712,ee!==null?f=Sa(ee,f):(f=Yi(f,D,o,null),f.flags|=2),f.return=r,u.return=r,u.sibling=f,r.child=u,u=f,f=r.child,D=e.child.memoizedState,D===null?D=id(o):(P=D.cachePool,P!==null?(ee=mn._currentValue,P=P.parent!==ee?{parent:ee,pool:ee}:P):P=y3(),D={baseLanes:D.baseLanes|o,cachePool:P}),f.memoizedState=D,f.childLanes=ld(e,b,o),r.memoizedState=ad,u):(ai(r),o=e.child,e=o.sibling,o=Sa(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 od(e,r){return r=Ou({mode:"visible",children:r},e.mode),r.return=e,e.child=r}function Ou(e,r){return e=or(22,e,null,r),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function sd(e,r,o){return Ul(r,e.child,null,o),e=od(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),xf(e.return,r,o)}function ud(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(An(e,r,u.children,o),u=vn.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(vn,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),ud(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}ud(r,!0,o,null,p);break;case"together":ud(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Oa(e,r,o){if(e!==null&&(r.dependencies=e.dependencies),ci|=r.lanes,(o&r.childLanes)===0)if(e!==null){if(qo(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=Sa(e,e.pendingProps),r.child=o,o.return=r;e.sibling!==null;)e=e.sibling,o=o.sibling=Sa(e,e.pendingProps),o.return=r;o.sibling=null}return r.child}function cd(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:je(r,r.stateNode.containerInfo),Ja(r,mn,e.memoizedState.cache),ko();break;case 27:case 5:nn(r);break;case 4:je(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=Oa(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||(qo(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(vn,vn.current),u)break;return null;case 22:case 23:return r.lanes=0,M6(e,r,o);case 24:Ja(r,mn,e.memoizedState.cache)}return Oa(e,r,o)}function q6(e,r,o){if(e!==null)if(e.memoizedProps!==r.pendingProps)Sn=!0;else{if(!cd(e,o)&&(r.flags&128)===0)return Sn=!1,w_(e,r,o);Sn=(e.flags&131072)!==0}else Sn=!1,ht&&(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")bf(u)?(e=Qi(u,e),r.tag=1,r=C6(null,r,u,e,o)):(r.tag=0,r=rd(null,r,u,e,o));else{if(u!=null){if(f=u.$$typeof,f===J){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 rd(e,r,r.type,r.pendingProps,o);case 1:return u=r.type,f=Qi(u,r.pendingProps),C6(e,r,u,f,o);case 3:e:{if(je(r,r.stateNode.containerInfo),e===null)throw Error(t(387));u=r.pendingProps;var p=r.memoizedState;f=p.element,kf(e,r),Bo(r,u,null,o);var b=r.memoizedState;if(u=b.cache,Ja(r,mn,u),u!==p.cache&&Mf(r,[mn],o,!0),jo(),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=Er(Error(t(424)),r),Lo(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(Wt=Ir(e.firstChild),Fn=r,ht=!0,Ii=null,ra=!0,o=p6(r,null,u,o),r.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling}else{if(ko(),u===f){r=Oa(e,r,o);break e}An(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:ht||(o=r.type,e=r.pendingProps,u=Bu(pe.current).createElement(o),u[fe]=r,u[be]=e,Rn(u,o,e),bt(u),r.stateNode=u):r.memoizedState=zv(r.type,e.memoizedProps,r.pendingProps,e.memoizedState),null;case 27:return nn(r),e===null&&ht&&(u=r.stateNode=Uv(r.type,r.pendingProps,pe.current),Fn=r,ra=!0,f=Wt,hi(r.type)?(Fd=f,Wt=Ir(u.firstChild)):Wt=f),An(e,r,r.pendingProps.children,o),Mu(e,r),e===null&&(r.flags|=4194304),r.child;case 5:return e===null&&ht&&((f=u=Wt)&&(u=X_(u,r.type,r.pendingProps,ra),u!==null?(r.stateNode=u,Fn=r,Wt=Ir(u.firstChild),ra=!1,f=!0):f=!1),f||Fi(r)),nn(r),f=r.type,p=r.pendingProps,b=e!==null?e.memoizedProps:null,u=p.children,Yd(f,p)?u=null:b!==null&&Yd(f,b)&&(r.flags|=32),r.memoizedState!==null&&(f=zf(e,r,m_,null,null,o),cs._currentValue=f),Mu(e,r),An(e,r,u,o),r.child;case 6:return e===null&&ht&&((e=o=Wt)&&(o=$_(o,r.pendingProps,ra),o!==null?(r.stateNode=o,Fn=r,Wt=null,e=!0):e=!1),e||Fi(r)),null;case 13:return N6(e,r,o);case 4:return je(r,r.stateNode.containerInfo),u=r.pendingProps,e===null?r.child=Ul(r,null,u,o):An(e,r,u,o),r.child;case 11:return D6(e,r,r.type,r.pendingProps,o);case 7:return An(e,r,r.pendingProps,o),r.child;case 8:return An(e,r,r.pendingProps.children,o),r.child;case 12:return An(e,r,r.pendingProps.children,o),r.child;case 10:return u=r.pendingProps,Ja(r,r.type,u.value),An(e,r,u.children,o),r.child;case 9:return f=r.type._context,u=r.pendingProps.children,Zi(r),f=qn(f),u=u(f),r.flags|=1,An(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=Sa(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 Zi(r),u=qn(mn),e===null?(f=Cf(),f===null&&(f=kt,p=Of(),f.pooledCache=p,p.refCount++,p!==null&&(f.pooledCacheLanes|=o),f=p),r.memoizedState={parent:u,cache:f},Nf(r),Ja(r,mn,f)):((e.lanes&o)!==0&&(kf(e,r),Bo(r,null,null,o),jo()),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,mn,u)):(u=p.cache,Ja(r,mn,u),u!==f.cache&&Mf(r,[mn],o,!0))),An(e,r,r.pendingProps.children,o),r.child;case 29:throw r.pendingProps}throw Error(t(156,r.tag))}function Aa(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=xr.current,r!==null&&((it&4194048)===it?aa!==null:(it&62914560)!==it&&(it&536870912)===0||r!==aa))throw zo=Rf,b3;e.flags|=8192}}function Au(e,r){r!==null&&(e.flags|=4),e.flags&16384&&(r=e.tag!==22?Ln():536870912,e.lanes|=r,Yl|=r)}function Qo(e,r){if(!ht)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 Gt(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(wf(r),r.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gt(r),null;case 1:return Gt(r),null;case 3:return o=r.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),r.memoizedState.cache!==u&&(r.flags|=2048),Ta(mn),nt(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(No(r)?Aa(r):e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,h3())),Gt(r),null;case 26:return o=r.memoizedState,e===null?(Aa(r),o!==null?(Gt(r),U6(r,o)):(Gt(r),r.flags&=-16777217)):o?o!==e.memoizedState?(Aa(r),Gt(r),U6(r,o)):(Gt(r),r.flags&=-16777217):(e.memoizedProps!==u&&Aa(r),Gt(r),r.flags&=-16777217),null;case 27:ut(r),o=pe.current;var f=r.type;if(e!==null&&r.stateNode!=null)e.memoizedProps!==u&&Aa(r);else{if(!u){if(r.stateNode===null)throw Error(t(166));return Gt(r),null}e=he.current,No(r)?d3(r):(e=Uv(f,u,o),r.stateNode=e,Aa(r))}return Gt(r),null;case 5:if(ut(r),o=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==u&&Aa(r);else{if(!u){if(r.stateNode===null)throw Error(t(166));return Gt(r),null}if(e=he.current,No(r))d3(r);else{switch(f=Bu(pe.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[fe]=r,e[be]=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(Rn(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&&Aa(r)}}return Gt(r),r.flags&=-16777217,null;case 6:if(e&&r.stateNode!=null)e.memoizedProps!==u&&Aa(r);else{if(typeof u!="string"&&r.stateNode===null)throw Error(t(166));if(e=pe.current,No(r)){if(e=r.stateNode,o=r.memoizedProps,u=null,f=Fn,f!==null)switch(f.tag){case 27:case 5:u=f.memoizedProps}e[fe]=r,e=!!(e.nodeValue===o||u!==null&&u.suppressHydrationWarning===!0||Av(e.nodeValue,o)),e||Fi(r)}else e=Bu(e).createTextNode(u),e[fe]=r,r.stateNode=e}return Gt(r),null;case 13:if(u=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=No(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[fe]=r}else ko(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;Gt(r),f=!1}else f=h3(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=f),f=!0;if(!f)return r.flags&256?(Ma(r),r):(Ma(r),null)}if(Ma(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),Gt(r),null;case 4:return nt(),e===null&&qd(r.stateNode.containerInfo),Gt(r),null;case 10:return Ta(r.type),Gt(r),null;case 19:if(oe(vn),f=r.memoizedState,f===null)return Gt(r),null;if(u=(r.flags&128)!==0,p=f.rendering,p===null)if(u)Qo(f,!1);else{if(Qt!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(p=Du(e),p!==null){for(r.flags|=128,Qo(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(vn,vn.current&1|2),r.child}e=e.sibling}f.tail!==null&&Ht()>Nu&&(r.flags|=128,u=!0,Qo(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),Qo(f,!0),f.tail===null&&f.tailMode==="hidden"&&!p.alternate&&!ht)return Gt(r),null}else 2*Ht()-f.renderingStartTime>Nu&&o!==536870912&&(r.flags|=128,u=!0,Qo(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=Ht(),r.sibling=null,e=vn.current,ae(vn,u?e&1|2:e&1),r):(Gt(r),null);case 22:case 23:return Ma(r),Hf(),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&&(Gt(r),r.subtreeFlags&6&&(r.flags|=8192)):Gt(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(Vi),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),r.memoizedState.cache!==o&&(r.flags|=2048),Ta(mn),Gt(r),null;case 25:return null;case 30:return null}throw Error(t(156,r.tag))}function T_(e,r){switch(wf(r),r.tag){case 1:return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return Ta(mn),nt(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 26:case 27:case 5:return ut(r),null;case 13:if(Ma(r),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(t(340));ko()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return oe(vn),null;case 4:return nt(),null;case 10:return Ta(r.type),null;case 22:case 23:return Ma(r),Hf(),e!==null&&oe(Vi),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 24:return Ta(mn),null;case 25:return null;default:return null}}function H6(e,r){switch(wf(r),r.tag){case 3:Ta(mn),nt();break;case 26:case 27:case 5:ut(r);break;case 4:nt();break;case 13:Ma(r);break;case 19:oe(vn);break;case 10:Ta(r.type);break;case 22:case 23:Ma(r),Hf(),e!==null&&oe(Vi);break;case 24:Ta(mn)}}function Ko(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(D){Rt(r,r.return,D)}}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,D=b.destroy;if(D!==void 0){b.destroy=void 0,f=r;var P=o,ee=D;try{ee()}catch(ie){Rt(f,P,ie)}}}u=u.next}while(u!==p)}}catch(ie){Rt(r,r.return,ie)}}function P6(e){var r=e.updateQueue;if(r!==null){var o=e.stateNode;try{T3(r,o)}catch(u){Rt(e,e.return,u)}}}function z6(e,r,o){o.props=Qi(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(u){Rt(e,r,u)}}function Xo(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){Rt(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){Rt(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){Rt(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){Rt(e,e.return,f)}}function fd(e,r,o){try{var u=e.stateNode;Z_(u,e.type,o,r),u[be]=r}catch(f){Rt(e,e.return,f)}}function j6(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&hi(e.type)||e.tag===4}function dd(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&&hi(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&&hi(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&&hi(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]);Rn(r,u,o),r[fe]=e,r[be]=o}catch(p){Rt(e,e.return,p)}}var Ca=!1,Jt=!1,hd=!1,I6=typeof WeakSet=="function"?WeakSet:Set,En=null;function x_(e,r){if(e=e.containerInfo,Pd=Wu,e=e3(e),df(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,D=-1,P=-1,ee=0,ie=0,se=e,te=null;t:for(;;){for(var ne;se!==o||f!==0&&se.nodeType!==3||(D=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&&(D=b),te===p&&++ie===u&&(P=b),(ne=se.nextSibling)!==null)break;se=te,te=se.parentNode}se=ne}o=D===-1||P===-1?null:{start:D,end:P}}else o=null}o=o||{start:0,end:0}}else o=null;for(zd={focusedElem:e,selectionRange:o},Wu=!1,En=r;En!==null;)if(r=En,e=r.child,(r.subtreeFlags&1024)!==0&&e!==null)e.return=r,En=e;else for(;En!==null;){switch(r=En,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 Ne=Qi(o.type,f,o.elementType===o.type);e=u.getSnapshotBeforeUpdate(Ne,p),u.__reactInternalSnapshotBeforeUpdate=e}catch(Oe){Rt(o,o.return,Oe)}}break;case 3:if((e&1024)!==0){if(e=r.stateNode.containerInfo,o=e.nodeType,o===9)Bd(e);else if(o===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Bd(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,En=e;break}En=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&&Ko(5,o);break;case 1:if(oi(e,o),u&4)if(e=o.stateNode,r===null)try{e.componentDidMount()}catch(b){Rt(o,o.return,b)}else{var f=Qi(o.type,r.memoizedProps);r=r.memoizedState;try{e.componentDidUpdate(f,r,e.__reactInternalSnapshotBeforeUpdate)}catch(b){Rt(o,o.return,b)}}u&64&&P6(o),u&512&&Xo(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){Rt(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&&Xo(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||Ca,!u){r=r!==null&&r.memoizedState!==null||Jt,f=Ca;var p=Jt;Ca=u,(Jt=r)&&!p?si(e,o,(o.subtreeFlags&8772)!==0):oi(e,o),Ca=f,Jt=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&&qe(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 zt=null,Jn=!1;function Ra(e,r,o){for(o=o.child;o!==null;)Z6(e,r,o),o=o.sibling}function Z6(e,r,o){if(et&&typeof et.onCommitFiberUnmount=="function")try{et.onCommitFiberUnmount(Xe,o)}catch{}switch(o.tag){case 26:Jt||ia(o,r),Ra(e,r,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:Jt||ia(o,r);var u=zt,f=Jn;hi(o.type)&&(zt=o.stateNode,Jn=!1),Ra(e,r,o),ls(o.stateNode),zt=u,Jn=f;break;case 5:Jt||ia(o,r);case 6:if(u=zt,f=Jn,zt=null,Ra(e,r,o),zt=u,Jn=f,zt!==null)if(Jn)try{(zt.nodeType===9?zt.body:zt.nodeName==="HTML"?zt.ownerDocument.body:zt).removeChild(o.stateNode)}catch(p){Rt(o,r,p)}else try{zt.removeChild(o.stateNode)}catch(p){Rt(o,r,p)}break;case 18:zt!==null&&(Jn?(e=zt,Lv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,o.stateNode),hs(e)):Lv(zt,o.stateNode));break;case 4:u=zt,f=Jn,zt=o.stateNode.containerInfo,Jn=!0,Ra(e,r,o),zt=u,Jn=f;break;case 0:case 11:case 14:case 15:Jt||li(2,o,r),Jt||li(4,o,r),Ra(e,r,o);break;case 1:Jt||(ia(o,r),u=o.stateNode,typeof u.componentWillUnmount=="function"&&z6(o,r,u)),Ra(e,r,o);break;case 21:Ra(e,r,o);break;case 22:Jt=(u=Jt)||o.memoizedState!==null,Ra(e,r,o),Jt=u;break;default:Ra(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){Rt(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 md(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 sr(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,D=b;e:for(;D!==null;){switch(D.tag){case 27:if(hi(D.type)){zt=D.stateNode,Jn=!1;break e}break;case 5:zt=D.stateNode,Jn=!1;break e;case 3:case 4:zt=D.stateNode.containerInfo,Jn=!0;break e}D=D.return}if(zt===null)throw Error(t(160));Z6(p,b,f),zt=null,Jn=!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 Br=null;function W6(e,r){var o=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:sr(r,e),ur(e),u&4&&(li(3,e,e.return),Ko(3,e),li(5,e,e.return));break;case 1:sr(r,e),ur(e),u&512&&(Jt||o===null||ia(o,o.return)),u&64&&Ca&&(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=Br;if(sr(r,e),ur(e),u&512&&(Jt||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[Ct]||p[fe]||p.namespaceURI==="http://www.w3.org/2000/svg"||p.hasAttribute("itemprop"))&&(p=f.createElement(u),f.head.insertBefore(p,f.querySelector("head > title"))),Rn(p,u,o),p[fe]=e,bt(p),u=p;break e;case"link":var b=Bv("link","href",f).get(u+(o.href||""));if(b){for(var D=0;D<b.length;D++)if(p=b[D],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(D,1);break t}}p=f.createElement(u),Rn(p,u,o),f.head.appendChild(p);break;case"meta":if(b=Bv("meta","content",f).get(u+(o.content||""))){for(D=0;D<b.length;D++)if(p=b[D],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(D,1);break t}}p=f.createElement(u),Rn(p,u,o),f.head.appendChild(p);break;default:throw Error(t(468,u))}p[fe]=e,bt(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&&fd(e,e.memoizedProps,o.memoizedProps)}break;case 27:sr(r,e),ur(e),u&512&&(Jt||o===null||ia(o,o.return)),o!==null&&u&4&&fd(e,e.memoizedProps,o.memoizedProps);break;case 5:if(sr(r,e),ur(e),u&512&&(Jt||o===null||ia(o,o.return)),e.flags&32){f=e.stateNode;try{Pr(f,"")}catch(ne){Rt(e,e.return,ne)}}u&4&&e.stateNode!=null&&(f=e.memoizedProps,fd(e,f,o!==null?o.memoizedProps:f)),u&1024&&(hd=!0);break;case 6:if(sr(r,e),ur(e),u&4){if(e.stateNode===null)throw Error(t(162));u=e.memoizedProps,o=e.stateNode;try{o.nodeValue=u}catch(ne){Rt(e,e.return,ne)}}break;case 3:if(Gu=null,f=Br,Br=Iu(r.containerInfo),sr(r,e),Br=f,ur(e),u&4&&o!==null&&o.memoizedState.isDehydrated)try{hs(r.containerInfo)}catch(ne){Rt(e,e.return,ne)}hd&&(hd=!1,Q6(e));break;case 4:u=Br,Br=Iu(e.stateNode.containerInfo),sr(r,e),ur(e),Br=u;break;case 12:sr(r,e),ur(e);break;case 13:sr(r,e),ur(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Sd=Ht()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,md(e,u)));break;case 22:f=e.memoizedState!==null;var P=o!==null&&o.memoizedState!==null,ee=Ca,ie=Jt;if(Ca=ee||f,Jt=ie||P,sr(r,e),Jt=ie,Ca=ee,ur(e),u&8192)e:for(r=e.stateNode,r._visibility=f?r._visibility&-2:r._visibility|1,f&&(o===null||P||Ca||Jt||Ki(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{D=P.stateNode;var se=P.memoizedProps.style,te=se!=null&&se.hasOwnProperty("display")?se.display:null;D.style.display=te==null||typeof te=="boolean"?"":(""+te).trim()}}catch(ne){Rt(P,P.return,ne)}}}else if(r.tag===6){if(o===null){P=r;try{P.stateNode.nodeValue=f?"":P.memoizedProps}catch(ne){Rt(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,md(e,o))));break;case 19:sr(r,e),ur(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,md(e,u)));break;case 30:break;case 21:break;default:sr(r,e),ur(e)}}function ur(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=dd(e);Cu(e,p,f);break;case 5:var b=o.stateNode;o.flags&32&&(Pr(b,""),o.flags&=-33);var D=dd(e);Cu(e,D,b);break;case 3:case 4:var P=o.stateNode.containerInfo,ee=dd(e);pd(e,ee,P);break;default:throw Error(t(161))}}catch(ie){Rt(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 Ki(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),Ki(r);break;case 1:ia(r,r.return);var o=r.stateNode;typeof o.componentWillUnmount=="function"&&z6(r,r.return,o),Ki(r);break;case 27:ls(r.stateNode);case 26:case 5:ia(r,r.return),Ki(r);break;case 22:r.memoizedState===null&&Ki(r);break;case 30:Ki(r);break;default:Ki(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),Ko(4,p);break;case 1:if(si(f,p,o),u=p,f=u.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(ee){Rt(u,u.return,ee)}if(u=p,f=u.updateQueue,f!==null){var D=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],D)}catch(ee){Rt(u,u.return,ee)}}o&&b&64&&P6(p),Xo(p,p.return);break;case 27:B6(p);case 26:case 5:si(f,p,o),o&&u===null&&b&4&&Y6(p),Xo(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),Xo(p,p.return);break;case 30:break;default:si(f,p,o)}r=r.sibling}}function vd(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&&Uo(o))}function gd(e,r){e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&Uo(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&&Ko(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&&Uo(e)));break;case 12:if(f&2048){la(e,r,o,u),e=r.stateNode;try{var p=r.memoizedProps,b=p.id,D=p.onPostCommit;typeof D=="function"&&D(b,r.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(P){Rt(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):$o(e,r):p._visibility&2?la(e,r,o,u):(p._visibility|=2,Hl(e,r,o,u,(r.subtreeFlags&10256)!==0)),f&2048&&vd(b,r);break;case 24:la(e,r,o,u),f&2048&&gd(r.alternate,r);break;default:la(e,r,o,u)}}function Hl(e,r,o,u,f){for(f=f&&(r.subtreeFlags&10256)!==0,r=r.child;r!==null;){var p=e,b=r,D=o,P=u,ee=b.flags;switch(b.tag){case 0:case 11:case 15:Hl(p,b,D,P,f),Ko(8,b);break;case 23:break;case 22:var ie=b.stateNode;b.memoizedState!==null?ie._visibility&2?Hl(p,b,D,P,f):$o(p,b):(ie._visibility|=2,Hl(p,b,D,P,f)),f&&ee&2048&&vd(b.alternate,b);break;case 24:Hl(p,b,D,P,f),f&&ee&2048&&gd(b.alternate,b);break;default:Hl(p,b,D,P,f)}r=r.sibling}}function $o(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:$o(o,u),f&2048&&vd(u.alternate,u);break;case 24:$o(o,u),f&2048&&gd(u.alternate,u);break;default:$o(o,u)}r=r.sibling}}var Jo=8192;function Pl(e){if(e.subtreeFlags&Jo)for(e=e.child;e!==null;)X6(e),e=e.sibling}function X6(e){switch(e.tag){case 26:Pl(e),e.flags&Jo&&e.memoizedState!==null&&dS(Br,e.memoizedState,e.memoizedProps);break;case 5:Pl(e);break;case 3:case 4:var r=Br;Br=Iu(e.stateNode.containerInfo),Pl(e),Br=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Jo,Jo=16777216,Pl(e),Jo=r):Pl(e));break;default:Pl(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 es(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];En=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:es(e),e.flags&2048&&li(9,e,e.return);break;case 3:es(e);break;case 12:es(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)):es(e);break;default:es(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];En=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(;En!==null;){var o=En;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:Uo(o.memoizedState.cache)}if(u=o.child,u!==null)u.return=o,En=u;else e:for(o=e;En!==null;){u=En;var f=u.sibling,p=u.return;if(G6(u),u===o){En=null;break e}if(f!==null){f.return=p,En=f;break e}En=p}}}var O_={getCacheForType:function(e){var r=qn(mn),o=r.data.get(e);return o===void 0&&(o=e(),r.data.set(e,o)),o}},A_=typeof WeakMap=="function"?WeakMap:Map,_t=0,kt=null,We=null,it=0,St=0,cr=null,ui=!1,zl=!1,yd=!1,Na=0,Qt=0,ci=0,Xi=0,bd=0,Mr=0,Yl=0,ts=null,er=null,_d=!1,Sd=0,Nu=1/0,ku=null,fi=null,Cn=0,di=null,jl=null,Bl=0,Ed=0,wd=null,tv=null,ns=0,Dd=null;function fr(){if((_t&2)!==0&&it!==0)return it&-it;if(w.T!==null){var e=Al;return e!==0?e:Rd()}return Pe()}function nv(){Mr===0&&(Mr=(it&536870912)===0||ht?Bn():536870912);var e=xr.current;return e!==null&&(e.flags|=32),Mr}function dr(e,r,o){(e===kt&&(St===2||St===9)||e.cancelPendingCommit!==null)&&(Il(e,0),pi(e,it,Mr,!1)),rt(e,o),((_t&2)===0||e!==kt)&&(e===kt&&((_t&2)===0&&(Xi|=o),Qt===4&&pi(e,it,Mr,!1)),oa(e))}function rv(e,r,o){if((_t&6)!==0)throw Error(t(327));var u=!o&&(r&124)===0&&(r&e.expiredLanes)===0||xn(e,r),f=u?N_(e,r):Md(e,r,!0),p=u;do{if(f===0){zl&&!u&&pi(e,r,0,!1);break}else{if(o=e.current.alternate,p&&!C_(o)){f=Md(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 D=e;f=ts;var P=D.current.memoizedState.isDehydrated;if(P&&(Il(D,b).flags|=256),b=Md(D,b,!1),b!==2){if(yd&&!P){D.errorRecoveryDisabledLanes|=p,Xi|=p,f=4;break e}p=er,er=f,p!==null&&(er===null?er=p:er.push.apply(er,p))}f=b}if(p=!1,f!==2)continue}}if(f===1){Il(e,0),pi(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:pi(u,r,Mr,!ui);break e;case 2:er=null;break;case 3:case 5:break;default:throw Error(t(329))}if((r&62914560)===r&&(f=Sd+300-Ht(),10<f)){if(pi(u,r,Mr,!ui),dn(u,0,!0)!==0)break e;u.timeoutHandle=Nv(av.bind(null,u,o,er,ku,_d,r,Mr,Xi,Yl,ui,p,2,-0,0),f);break e}av(u,o,er,ku,_d,r,Mr,Xi,Yl,ui,p,0,-0,0)}}break}while(!0);oa(e)}function av(e,r,o,u,f,p,b,D,P,ee,ie,se,te,ne){if(e.timeoutHandle=-1,se=r.subtreeFlags,(se&8192||(se&16785408)===16785408)&&(us={stylesheets:null,count:0,unsuspend:fS},X6(r),se=pS(),se!==null)){e.cancelPendingCommit=se(fv.bind(null,e,r,p,o,u,f,b,D,P,ie,1,te,ne)),pi(e,p,b,!ee);return}fv(e,r,p,o,u,f,b,D,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(!lr(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 pi(e,r,o,u){r&=~bd,r&=~Xi,e.suspendedLanes|=r,e.pingedLanes&=~r,u&&(e.warmLanes|=r),u=e.expirationTimes;for(var f=r;0<f;){var p=31-Dt(f),b=1<<p;u[p]=-1,f&=~b}o!==0&&nr(e,o,r)}function Lu(){return(_t&6)===0?(rs(0),!1):!0}function Td(){if(We!==null){if(St===0)var e=We.return;else e=We,Da=Gi=null,Bf(e),ql=null,Vo=0,e=We;for(;e!==null;)H6(e.alternate,e),e=e.return;We=null}}function Il(e,r){var o=e.timeoutHandle;o!==-1&&(e.timeoutHandle=-1,W_(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),Td(),kt=e,We=o=Sa(e.current,null),it=r,St=0,cr=null,ui=!1,zl=xn(e,r),yd=!1,Yl=Mr=bd=Xi=ci=Qt=0,er=ts=null,_d=!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-Dt(u),p=1<<f;r|=e[f],u&=~p}return Na=r,nu(),o}function iv(e,r){Ie=null,w.H=Su,r===Po||r===fu?(r=E3(),St=3):r===b3?(r=E3(),St=4):St=r===w6?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,cr=r,We===null&&(Qt=1,xu(e,Er(r,e.current)))}function lv(){var e=w.H;return w.H=Su,e===null?Su:e}function ov(){var e=w.A;return w.A=O_,e}function xd(){Qt=4,ui||(it&4194048)!==it&&xr.current!==null||(zl=!0),(ci&134217727)===0&&(Xi&134217727)===0||kt===null||pi(kt,it,Mr,!1)}function Md(e,r,o){var u=_t;_t|=2;var f=lv(),p=ov();(kt!==e||it!==r)&&(ku=null,Il(e,r)),r=!1;var b=Qt;e:do try{if(St!==0&&We!==null){var D=We,P=cr;switch(St){case 8:Td(),b=6;break e;case 3:case 2:case 9:case 6:xr.current===null&&(r=!0);var ee=St;if(St=0,cr=null,Fl(e,D,P,ee),o&&zl){b=0;break e}break;default:ee=St,St=0,cr=null,Fl(e,D,P,ee)}}R_(),b=Qt;break}catch(ie){iv(e,ie)}while(!0);return r&&e.shellSuspendCounter++,Da=Gi=null,_t=u,w.H=f,w.A=p,We===null&&(kt=null,it=0,nu()),b}function R_(){for(;We!==null;)sv(We)}function N_(e,r){var o=_t;_t|=2;var u=lv(),f=ov();kt!==e||it!==r?(ku=null,Nu=Ht()+500,Il(e,r)):zl=xn(e,r);e:do try{if(St!==0&&We!==null){r=We;var p=cr;t:switch(St){case 1:St=0,cr=null,Fl(e,r,p,1);break;case 2:case 9:if(_3(p)){St=0,cr=null,uv(r);break}r=function(){St!==2&&St!==9||kt!==e||(St=7),oa(e)},p.then(r,r);break e;case 3:St=7;break e;case 4:St=5;break e;case 7:_3(p)?(St=0,cr=null,uv(r)):(St=0,cr=null,Fl(e,r,p,7));break;case 5:var b=null;switch(We.tag){case 26:b=We.memoizedState;case 5:case 27:var D=We;if(!b||Fv(b)){St=0,cr=null;var P=D.sibling;if(P!==null)We=P;else{var ee=D.return;ee!==null?(We=ee,qu(ee)):We=null}break t}}St=0,cr=null,Fl(e,r,p,5);break;case 6:St=0,cr=null,Fl(e,r,p,6);break;case 8:Td(),Qt=6;break e;default:throw Error(t(462))}}k_();break}catch(ie){iv(e,ie)}while(!0);return Da=Gi=null,w.H=u,w.A=f,_t=o,We!==null?0:(kt=null,it=0,nu(),Qt)}function k_(){for(;We!==null&&!Je();)sv(We)}function sv(e){var r=q6(e.alternate,e,Na);e.memoizedProps=e.pendingProps,r===null?qu(e):We=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,it);break;case 11:r=A6(o,r,r.pendingProps,r.type.render,r.ref,it);break;case 5:Bf(r);default:H6(o,r),r=We=c3(r,Na),r=q6(o,r,Na)}e.memoizedProps=e.pendingProps,r===null?qu(e):We=r}function Fl(e,r,o,u){Da=Gi=null,Bf(r),ql=null,Vo=0;var f=r.return;try{if(E_(e,f,r,o,it)){Qt=1,xu(e,Er(o,e.current)),We=null;return}}catch(p){if(f!==null)throw We=f,p;Qt=1,xu(e,Er(o,e.current)),We=null;return}r.flags&32768?(ht||u===1?e=!0:zl||(it&536870912)!==0?e=!1:(ui=e=!0,(u===2||u===9||u===3||u===6)&&(u=xr.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,Na);if(o!==null){We=o;return}if(r=r.sibling,r!==null){We=r;return}We=r=e}while(r!==null);Qt===0&&(Qt=5)}function cv(e,r){do{var o=T_(e.alternate,e);if(o!==null){o.flags&=32767,We=o;return}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!r&&(e=e.sibling,e!==null)){We=e;return}We=e=o}while(e!==null);Qt=6,We=null}function fv(e,r,o,u,f,p,b,D,P){e.cancelPendingCommit=null;do Uu();while(Cn!==0);if((_t&6)!==0)throw Error(t(327));if(r!==null){if(r===e.current)throw Error(t(177));if(p=r.lanes|r.childLanes,p|=gf,In(e,o,p,b,D,P),e===kt&&(We=kt=null,it=0),jl=r,di=e,Bl=o,Ed=p,wd=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=w.T,w.T=null,f=k.p,k.p=2,b=_t,_t|=4;try{x_(e,r,o)}finally{_t=b,k.p=f,w.T=u}}Cn=1,dv(),pv(),hv()}}function dv(){if(Cn===1){Cn=0;var e=di,r=jl,o=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||o){o=w.T,w.T=null;var u=k.p;k.p=2;var f=_t;_t|=4;try{W6(r,e);var p=zd,b=e3(e.containerInfo),D=p.focusedElem,P=p.selectionRange;if(b!==D&&D&&D.ownerDocument&&Jm(D.ownerDocument.documentElement,D)){if(P!==null&&df(D)){var ee=P.start,ie=P.end;if(ie===void 0&&(ie=ee),"selectionStart"in D)D.selectionStart=ee,D.selectionEnd=Math.min(ie,D.value.length);else{var se=D.ownerDocument||document,te=se&&se.defaultView||window;if(te.getSelection){var ne=te.getSelection(),Ne=D.textContent.length,Oe=Math.min(P.start,Ne),Ot=P.end===void 0?Oe:Math.min(P.end,Ne);!ne.extend&&Oe>Ot&&(b=Ot,Ot=Oe,Oe=b);var W=$m(D,Oe),F=$m(D,Ot);if(W&&F&&(ne.rangeCount!==1||ne.anchorNode!==W.node||ne.anchorOffset!==W.offset||ne.focusNode!==F.node||ne.focusOffset!==F.offset)){var $=se.createRange();$.setStart(W.node,W.offset),ne.removeAllRanges(),Oe>Ot?(ne.addRange($),ne.extend(F.node,F.offset)):($.setEnd(F.node,F.offset),ne.addRange($))}}}}for(se=[],ne=D;ne=ne.parentNode;)ne.nodeType===1&&se.push({element:ne,left:ne.scrollLeft,top:ne.scrollTop});for(typeof D.focus=="function"&&D.focus(),D=0;D<se.length;D++){var le=se[D];le.element.scrollLeft=le.left,le.element.scrollTop=le.top}}Wu=!!Pd,zd=Pd=null}finally{_t=f,k.p=u,w.T=o}}e.current=r,Cn=2}}function pv(){if(Cn===2){Cn=0;var e=di,r=jl,o=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||o){o=w.T,w.T=null;var u=k.p;k.p=2;var f=_t;_t|=4;try{F6(e,r.alternate,r)}finally{_t=f,k.p=u,w.T=o}}Cn=3}}function hv(){if(Cn===4||Cn===3){Cn=0,Lt();var e=di,r=jl,o=Bl,u=tv;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?Cn=5:(Cn=0,jl=di=null,mv(e,e.pendingLanes));var f=e.pendingLanes;if(f===0&&(fi=null),xe(o),r=r.stateNode,et&&typeof et.onCommitFiberRoot=="function")try{et.onCommitFiberRoot(Xe,r,void 0,(r.current.flags&128)===128)}catch{}if(u!==null){r=w.T,f=k.p,k.p=2,w.T=null;try{for(var p=e.onRecoverableError,b=0;b<u.length;b++){var D=u[b];p(D.value,{componentStack:D.stack})}}finally{w.T=r,k.p=f}}(Bl&3)!==0&&Uu(),oa(e),f=e.pendingLanes,(o&4194090)!==0&&(f&42)!==0?e===Dd?ns++:(ns=0,Dd=e):ns=0,rs(0)}}function mv(e,r){(e.pooledCacheLanes&=r)===0&&(r=e.pooledCache,r!=null&&(e.pooledCache=null,Uo(r)))}function Uu(e){return dv(),pv(),hv(),vv()}function vv(){if(Cn!==5)return!1;var e=di,r=Ed;Ed=0;var o=xe(Bl),u=w.T,f=k.p;try{k.p=32>o?32:o,w.T=null,o=wd,wd=null;var p=di,b=Bl;if(Cn=0,jl=di=null,Bl=0,(_t&6)!==0)throw Error(t(331));var D=_t;if(_t|=4,J6(p.current),K6(p,p.current,b,o),_t=D,rs(0,!1),et&&typeof et.onPostCommitFiberRoot=="function")try{et.onPostCommitFiberRoot(Xe,p)}catch{}return!0}finally{k.p=f,w.T=u,mv(e,r)}}function gv(e,r,o){r=Er(o,r),r=nd(e.stateNode,r,2),e=ni(e,r,2),e!==null&&(rt(e,2),oa(e))}function Rt(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=Er(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 Od(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)||(yd=!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,kt===e&&(it&o)===o&&(Qt===4||Qt===3&&(it&62914560)===it&&300>Ht()-Sd?(_t&2)===0&&Il(e,0):bd|=o,Yl===it&&(Yl=0)),oa(e)}function yv(e,r){r===0&&(r=Ln()),e=Tl(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 vt(e,r)}var Hu=null,Gl=null,Ad=!1,Pu=!1,Cd=!1,$i=0;function oa(e){e!==Gl&&e.next===null&&(Gl===null?Hu=Gl=e:Gl=Gl.next=e),Pu=!0,Ad||(Ad=!0,z_())}function rs(e,r){if(!Cd&&Pu){Cd=!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,D=u.pingedLanes;p=(1<<31-Dt(42|e)+1)-1,p&=f&~(b&~D),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(o=!0,Ev(u,p))}else p=it,p=dn(u,u===kt?p:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(p&3)===0||xn(u,p)||(o=!0,Ev(u,p));u=u.next}while(o);Cd=!1}}function P_(){bv()}function bv(){Pu=Ad=!1;var e=0;$i!==0&&(V_()&&(e=$i),$i=0);for(var r=Ht(),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&&(Gl=o)):(o=u,(e!==0||(p&3)!==0)&&(Pu=!0)),u=f}rs(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-Dt(p),D=1<<b,P=f[b];P===-1?((D&o)===0||(D&u)!==0)&&(f[b]=gr(D,r)):P<=r&&(e.expiredLanes|=D),p&=~D}if(r=kt,o=it,o=dn(e,e===r?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u=e.callbackNode,o===0||e===r&&(St===2||St===9)||e.cancelPendingCommit!==null)return u!==null&&u!==null&&Ge(u),e.callbackNode=null,e.callbackPriority=0;if((o&3)===0||xn(e,o)){if(r=o&-o,r===e.callbackPriority)return r;switch(u!==null&&Ge(u),xe(o)){case 2:case 8:o=ct;break;case 32:o=zn;break;case 268435456:o=ge;break;default:o=zn}return u=Sv.bind(null,e),o=vt(o,u),e.callbackPriority=r,e.callbackNode=o,r}return u!==null&&u!==null&&Ge(u),e.callbackPriority=2,e.callbackNode=null,2}function Sv(e,r){if(Cn!==0&&Cn!==5)return e.callbackNode=null,e.callbackPriority=0,null;var o=e.callbackNode;if(Uu()&&e.callbackNode!==o)return null;var u=it;return u=dn(e,e===kt?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u===0?null:(rv(e,u,r),_v(e,Ht()),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(){(_t&6)!==0?vt(gn,P_):bv()})}function Rd(){return $i===0&&($i=Bn()),$i}function wv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:zr(""+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[be]||null).action),b=u.submitter;b&&(r=(r=b[be]||null)?wv(r.formAction):b.getAttribute("formAction"),r!==null&&(p=r,b=null));var D=new de("action","action",null,u,f);e.push({event:D,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if($i!==0){var P=b?Dv(f,b):new FormData(f);Xf(o,{pending:!0,data:P,method:f.method,action:p},null,P)}}else typeof p=="function"&&(D.preventDefault(),P=b?Dv(f,b):new FormData(f),Xf(o,{pending:!0,data:P,method:f.method,action:p},p,P))},currentTarget:f}]})}}for(var Nd=0;Nd<vf.length;Nd++){var kd=vf[Nd],j_=kd.toLowerCase(),B_=kd[0].toUpperCase()+kd.slice(1);jr(j_,"on"+B_)}jr(r3,"onAnimationEnd"),jr(a3,"onAnimationIteration"),jr(i3,"onAnimationStart"),jr("dblclick","onDoubleClick"),jr("focusin","onFocus"),jr("focusout","onBlur"),jr(i_,"onTransitionRun"),jr(l_,"onTransitionStart"),jr(o_,"onTransitionCancel"),jr(l3,"onTransitionEnd"),me("onMouseEnter",["mouseout","mouseover"]),me("onMouseLeave",["mouseout","mouseover"]),me("onPointerEnter",["pointerout","pointerover"]),me("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 as="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(as));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 D=u[b],P=D.instance,ee=D.currentTarget;if(D=D.listener,P!==p&&f.isPropagationStopped())break e;p=D,f.currentTarget=ee;try{p(f)}catch(ie){Tu(ie)}f.currentTarget=null,p=P}else for(b=0;b<u.length;b++){if(D=u[b],P=D.instance,ee=D.currentTarget,D=D.listener,P!==p&&f.isPropagationStopped())break e;p=D,f.currentTarget=ee;try{p(f)}catch(ie){Tu(ie)}f.currentTarget=null,p=P}}}}function Qe(e,r){var o=r[ft];o===void 0&&(o=r[ft]=new Set);var u=e+"__bubble";o.has(u)||(xv(r,e,2,!1),o.add(u))}function Ld(e,r,o){var u=0;r&&(u|=4),xv(o,e,u,r)}var zu="_reactListening"+Math.random().toString(36).slice(2);function qd(e){if(!e[zu]){e[zu]=!0,Se.forEach(function(o){o!=="selectionchange"&&(I_.has(o)||Ld(o,!1,e),Ld(o,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[zu]||(r[zu]=!0,Ld("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=Qd}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 Ud(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 D=u.stateNode.containerInfo;if(D===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(;D!==null;){if(b=Ve(D),b===null)return;if(P=b.tag,P===5||P===6||P===26||P===27){u=p=b;continue e}D=D.parentNode}}u=u.return}ar(function(){var ee=p,ie=yl(o),se=[];e:{var te=o3.get(e);if(te!==void 0){var ne=de,Ne=e;switch(e){case"keypress":if(Ui(o)===0)break e;case"keydown":case"keyup":ne=Hb;break;case"focusin":Ne="focus",ne=_l;break;case"focusout":Ne="blur",ne=_l;break;case"beforeblur":case"afterblur":ne=_l;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=_n;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=Nt;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 Oe=(r&4)!==0,Ot=!Oe&&(e==="scroll"||e==="scrollend"),W=Oe?te!==null?te+"Capture":null:te;Oe=[];for(var F=ee,$;F!==null;){var le=F;if($=le.stateNode,le=le.tag,le!==5&&le!==26&&le!==27||$===null||W===null||(le=_r(F,W),le!=null&&Oe.push(is(F,le,$))),Ot)break;F=F.return}0<Oe.length&&(te=new ne(te,Ne,null,o,ie),se.push({event:te,listeners:Oe}))}}if((r&7)===0){e:{if(te=e==="mouseover"||e==="pointerover",ne=e==="mouseout"||e==="pointerout",te&&o!==Eo&&(Ne=o.relatedTarget||o.fromElement)&&(Ve(Ne)||Ne[we]))break e;if((ne||te)&&(te=ie.window===ie?ie:(te=ie.ownerDocument)?te.defaultView||te.parentWindow:window,ne?(Ne=o.relatedTarget||o.toElement,ne=ee,Ne=Ne?Ve(Ne):null,Ne!==null&&(Ot=s(Ne),Oe=Ne.tag,Ne!==Ot||Oe!==5&&Oe!==27&&Oe!==6)&&(Ne=null)):(ne=null,Ne=ee),ne!==Ne)){if(Oe=$a,le="onMouseLeave",W="onMouseEnter",F="mouse",(e==="pointerout"||e==="pointerover")&&(Oe=Pm,le="onPointerLeave",W="onPointerEnter",F="pointer"),Ot=ne==null?te:rr(ne),$=Ne==null?te:rr(Ne),te=new Oe(le,F+"leave",ne,o,ie),te.target=Ot,te.relatedTarget=$,le=null,Ve(ie)===ee&&(Oe=new Oe(W,F+"enter",Ne,o,ie),Oe.target=$,Oe.relatedTarget=Ot,le=Oe),Ot=le,ne&&Ne)t:{for(Oe=ne,W=Ne,F=0,$=Oe;$;$=Zl($))F++;for($=0,le=W;le;le=Zl(le))$++;for(;0<F-$;)Oe=Zl(Oe),F--;for(;0<$-F;)W=Zl(W),$--;for(;F--;){if(Oe===W||W!==null&&Oe===W.alternate)break t;Oe=Zl(Oe),W=Zl(W)}Oe=null}else Oe=null;ne!==null&&Mv(se,te,ne,Oe,!1),Ne!==null&&Ot!==null&&Mv(se,Ot,Ne,Oe,!0)}}e:{if(te=ee?rr(ee):window,ne=te.nodeName&&te.nodeName.toLowerCase(),ne==="select"||ne==="input"&&te.type==="file")var Ee=Zm;else if(Fm(te))if(Vm)Ee=n_;else{Ee=e_;var Ze=Jb}else ne=te.nodeName,!ne||ne.toLowerCase()!=="input"||te.type!=="checkbox"&&te.type!=="radio"?ee&&So(ee.elementType)&&(Ee=Zm):Ee=t_;if(Ee&&(Ee=Ee(e,ee))){Gm(se,Ee,o,ie);break e}Ze&&Ze(e,te,ee),e==="focusout"&&ee&&te.type==="number"&&ee.memoizedProps.value!=null&&ea(te,"number",te.value)}switch(Ze=ee?rr(ee):window,e){case"focusin":(Fm(Ze)||Ze.contentEditable==="true")&&(El=Ze,pf=ee,Ro=null);break;case"focusout":Ro=pf=El=null;break;case"mousedown":hf=!0;break;case"contextmenu":case"mouseup":case"dragend":hf=!1,t3(se,o,ie);break;case"selectionchange":if(a_)break;case"keydown":case"keyup":t3(se,o,ie)}var Me;if(uf)e:{switch(e){case"compositionstart":var Ae="onCompositionStart";break e;case"compositionend":Ae="onCompositionEnd";break e;case"compositionupdate":Ae="onCompositionUpdate";break e}Ae=void 0}else Sl?Bm(e,o)&&(Ae="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(Ae="onCompositionStart");Ae&&(zm&&o.locale!=="ko"&&(Sl||Ae!=="onCompositionStart"?Ae==="onCompositionEnd"&&Sl&&(Me=To()):(Yr=ie,ir="value"in Yr?Yr.value:Yr.textContent,Sl=!0)),Ze=Yu(ee,Ae),0<Ze.length&&(Ae=new Hm(Ae,e,null,o,ie),se.push({event:Ae,listeners:Ze}),Me?Ae.data=Me:(Me=Im(o),Me!==null&&(Ae.data=Me)))),(Me=Wb?Qb(e,o):Kb(e,o))&&(Ae=Yu(ee,"onBeforeInput"),0<Ae.length&&(Ze=new Hm("onBeforeInput","beforeinput",null,o,ie),se.push({event:Ze,listeners:Ae}),Ze.data=Me)),Y_(se,e,ee,o,ie)}Tv(se,r)})}function is(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=_r(e,o),f!=null&&u.unshift(is(e,f,p)),f=_r(e,r),f!=null&&u.push(is(e,f,p))),e.tag===3)return u;e=e.return}return[]}function Zl(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 D=o,P=D.alternate,ee=D.stateNode;if(D=D.tag,P!==null&&P===u)break;D!==5&&D!==26&&D!==27||ee===null||(P=ee,f?(ee=_r(o,p),ee!=null&&b.unshift(is(o,ee,P))):f||(ee=_r(o,p),ee!=null&&b.push(is(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 Mt(e,r,o,u,f,p){switch(o){case"children":typeof u=="string"?r==="body"||r==="textarea"&&u===""||Pr(e,u):(typeof u=="number"||typeof u=="bigint")&&r!=="body"&&Pr(e,""+u);break;case"className":bn(e,"class",u);break;case"tabIndex":bn(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":bn(e,o,u);break;case"style":Xa(e,u,p);break;case"data":if(r!=="object"){bn(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=zr(""+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"&&Mt(e,r,"name",f.name,f,null),Mt(e,r,"formEncType",f.formEncType,f,null),Mt(e,r,"formMethod",f.formMethod,f,null),Mt(e,r,"formTarget",f.formTarget,f,null)):(Mt(e,r,"encType",f.encType,f,null),Mt(e,r,"method",f.method,f,null),Mt(e,r,"target",f.target,f,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(o);break}u=zr(""+u),e.setAttribute(o,u);break;case"onClick":u!=null&&(e.onclick=ju);break;case"onScroll":u!=null&&Qe("scroll",e);break;case"onScrollEnd":u!=null&&Qe("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=zr(""+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":Qe("beforetoggle",e),Qe("toggle",e),rn(e,"popover",u);break;case"xlinkActuate":an(e,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":an(e,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":an(e,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":an(e,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":an(e,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":an(e,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":an(e,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":an(e,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":an(e,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":rn(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,rn(e,o,u))}}function Hd(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"?Pr(e,u):(typeof u=="number"||typeof u=="bigint")&&Pr(e,""+u);break;case"onScroll":u!=null&&Qe("scroll",e);break;case"onScrollEnd":u!=null&&Qe("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(!j.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[be]||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,""):rn(e,o,u)}}}function Rn(e,r,o){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Qe("error",e),Qe("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:Mt(e,r,p,b,o,null)}}f&&Mt(e,r,"srcSet",o.srcSet,o,null),u&&Mt(e,r,"src",o.src,o,null);return;case"input":Qe("invalid",e);var D=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":D=ie;break;case"children":case"dangerouslySetInnerHTML":if(ie!=null)throw Error(t(137,r));break;default:Mt(e,r,u,ie,o,null)}}br(e,p,D,P,ee,b,f,!1),Li(e);return;case"select":Qe("invalid",e),u=b=p=null;for(f in o)if(o.hasOwnProperty(f)&&(D=o[f],D!=null))switch(f){case"value":p=D;break;case"defaultValue":b=D;break;case"multiple":u=D;default:Mt(e,r,f,D,o,null)}r=p,o=b,e.multiple=!!u,r!=null?ta(e,!!u,r,!1):o!=null&&ta(e,!!u,o,!0);return;case"textarea":Qe("invalid",e),p=f=u=null;for(b in o)if(o.hasOwnProperty(b)&&(D=o[b],D!=null))switch(b){case"value":u=D;break;case"defaultValue":f=D;break;case"children":p=D;break;case"dangerouslySetInnerHTML":if(D!=null)throw Error(t(91));break;default:Mt(e,r,b,D,o,null)}Xs(e,u,f,p),Li(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:Mt(e,r,P,u,o,null)}return;case"dialog":Qe("beforetoggle",e),Qe("toggle",e),Qe("cancel",e),Qe("close",e);break;case"iframe":case"object":Qe("load",e);break;case"video":case"audio":for(u=0;u<as.length;u++)Qe(as[u],e);break;case"image":Qe("error",e),Qe("load",e);break;case"details":Qe("toggle",e);break;case"embed":case"source":case"link":Qe("error",e),Qe("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:Mt(e,r,ee,u,o,null)}return;default:if(So(r)){for(ie in o)o.hasOwnProperty(ie)&&(u=o[ie],u!==void 0&&Hd(e,r,ie,u,o,void 0));return}}for(D in o)o.hasOwnProperty(D)&&(u=o[D],u!=null&&Mt(e,r,D,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,D=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)||Mt(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":D=ne;break;case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(t(137,r));break;default:ne!==se&&Mt(e,r,te,ne,u,se)}}Ka(e,b,D,P,ee,ie,p,f);return;case"select":ne=b=D=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)||Mt(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":D=p;break;case"multiple":b=p;default:p!==P&&Mt(e,r,f,p,u,P)}r=D,o=b,u=ne,te!=null?ta(e,!!o,te,!1):!!u!=!!o&&(r!=null?ta(e,!!o,r,!0):ta(e,!!o,o?[]:"",!1));return;case"textarea":ne=te=null;for(D in o)if(f=o[D],o.hasOwnProperty(D)&&f!=null&&!u.hasOwnProperty(D))switch(D){case"value":break;case"children":break;default:Mt(e,r,D,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&&Mt(e,r,b,f,u,p)}vl(e,te,ne);return;case"option":for(var Ne in o)if(te=o[Ne],o.hasOwnProperty(Ne)&&te!=null&&!u.hasOwnProperty(Ne))switch(Ne){case"selected":e.selected=!1;break;default:Mt(e,r,Ne,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:Mt(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 Oe in o)te=o[Oe],o.hasOwnProperty(Oe)&&te!=null&&!u.hasOwnProperty(Oe)&&Mt(e,r,Oe,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:Mt(e,r,ee,te,u,ne)}return;default:if(So(r)){for(var Ot in o)te=o[Ot],o.hasOwnProperty(Ot)&&te!==void 0&&!u.hasOwnProperty(Ot)&&Hd(e,r,Ot,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||Hd(e,r,ie,te,u,ne);return}}for(var W in o)te=o[W],o.hasOwnProperty(W)&&te!=null&&!u.hasOwnProperty(W)&&Mt(e,r,W,null,u,te);for(se in u)te=u[se],ne=o[se],!u.hasOwnProperty(se)||te===ne||te==null&&ne==null||Mt(e,r,se,te,u,ne)}var Pd=null,zd=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 Yd(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 jd=null;function V_(){var e=window.event;return e&&e.type==="popstate"?e===jd?!1:(jd=e,!0):(jd=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 hi(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&&ls(b.documentElement),o&2&&ls(b.body),o&4)for(o=b.head,ls(o),b=o.firstChild;b;){var D=b.nextSibling,P=b.nodeName;b[Ct]||P==="SCRIPT"||P==="STYLE"||P==="LINK"&&b.rel.toLowerCase()==="stylesheet"||o.removeChild(b),b=D}}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 Bd(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":Bd(o),qe(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[Ct])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=Ir(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=Ir(e.nextSibling),e===null))return null;return e}function Id(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 Ir(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 Fd=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 ls(e){for(var r=e.attributes;r.length;)e.removeAttributeNode(r[0]);qe(e)}var Or=new Map,Hv=new Set;function Iu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var ka=k.d;k.d={f:eS,r:tS,D:nS,C:rS,L:aS,m:iS,X:oS,S:lS,M:sS};function eS(){var e=ka.f(),r=Lu();return e||r}function tS(e){var r=at(e);r!==null&&r.tag===5&&r.type==="form"?r6(r):ka.r(e)}var Vl=typeof document>"u"?null:document;function Pv(e,r,o){var u=Vl;if(u&&typeof r=="string"&&r){var f=On(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"),Rn(r,"link",e),bt(r),u.head.appendChild(r)))}}function nS(e){ka.D(e),Pv("dns-prefetch",e,null)}function rS(e,r){ka.C(e,r),Pv("preconnect",e,r)}function aS(e,r,o){ka.L(e,r,o);var u=Vl;if(u&&e&&r){var f='link[rel="preload"][as="'+On(r)+'"]';r==="image"&&o&&o.imageSrcSet?(f+='[imagesrcset="'+On(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(f+='[imagesizes="'+On(o.imageSizes)+'"]')):f+='[href="'+On(e)+'"]';var p=f;switch(r){case"style":p=Wl(e);break;case"script":p=Ql(e)}Or.has(p)||(e=v({rel:"preload",href:r==="image"&&o&&o.imageSrcSet?void 0:e,as:r},o),Or.set(p,e),u.querySelector(f)!==null||r==="style"&&u.querySelector(os(p))||r==="script"&&u.querySelector(ss(p))||(r=u.createElement("link"),Rn(r,"link",e),bt(r),u.head.appendChild(r)))}}function iS(e,r){ka.m(e,r);var o=Vl;if(o&&e){var u=r&&typeof r.as=="string"?r.as:"script",f='link[rel="modulepreload"][as="'+On(u)+'"][href="'+On(e)+'"]',p=f;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=Ql(e)}if(!Or.has(p)&&(e=v({rel:"modulepreload",href:e},r),Or.set(p,e),o.querySelector(f)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(ss(p)))return}u=o.createElement("link"),Rn(u,"link",e),bt(u),o.head.appendChild(u)}}}function lS(e,r,o){ka.S(e,r,o);var u=Vl;if(u&&e){var f=lt(u).hoistableStyles,p=Wl(e);r=r||"default";var b=f.get(p);if(!b){var D={loading:0,preload:null};if(b=u.querySelector(os(p)))D.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":r},o),(o=Or.get(p))&&Gd(e,o);var P=b=u.createElement("link");bt(P),Rn(P,"link",e),P._p=new Promise(function(ee,ie){P.onload=ee,P.onerror=ie}),P.addEventListener("load",function(){D.loading|=1}),P.addEventListener("error",function(){D.loading|=2}),D.loading|=4,Fu(b,r,u)}b={type:"stylesheet",instance:b,count:1,state:D},f.set(p,b)}}}function oS(e,r){ka.X(e,r);var o=Vl;if(o&&e){var u=lt(o).hoistableScripts,f=Ql(e),p=u.get(f);p||(p=o.querySelector(ss(f)),p||(e=v({src:e,async:!0},r),(r=Or.get(f))&&Zd(e,r),p=o.createElement("script"),bt(p),Rn(p,"link",e),o.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},u.set(f,p))}}function sS(e,r){ka.M(e,r);var o=Vl;if(o&&e){var u=lt(o).hoistableScripts,f=Ql(e),p=u.get(f);p||(p=o.querySelector(ss(f)),p||(e=v({src:e,async:!0,type:"module"},r),(r=Or.get(f))&&Zd(e,r),p=o.createElement("script"),bt(p),Rn(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=pe.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=Wl(o.href),o=lt(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=Wl(o.href);var p=lt(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(os(e)))&&!p._p&&(b.instance=p,b.state.loading=5),Or.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},Or.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=Ql(o),o=lt(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 Wl(e){return'href="'+On(e)+'"'}function os(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}),Rn(r,"link",o),bt(r),e.head.appendChild(r))}function Ql(e){return'[src="'+On(e)+'"]'}function ss(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~="'+On(o.href)+'"]');if(u)return r.instance=u,bt(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"),bt(u),Rn(u,"style",f),Fu(u,o.precedence,e),r.instance=u;case"stylesheet":f=Wl(o.href);var p=e.querySelector(os(f));if(p)return r.state.loading|=4,r.instance=p,bt(p),p;u=Yv(o),(f=Or.get(f))&&Gd(u,f),p=(e.ownerDocument||e).createElement("link"),bt(p);var b=p;return b._p=new Promise(function(D,P){b.onload=D,b.onerror=P}),Rn(p,"link",u),r.state.loading|=4,Fu(p,o.precedence,e),r.instance=p;case"script":return p=Ql(o.src),(f=e.querySelector(ss(p)))?(r.instance=f,bt(f),f):(u=o,(f=Or.get(p))&&(u=v({},o),Zd(u,f)),e=e.ownerDocument||e,f=e.createElement("script"),bt(f),Rn(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 D=u[b];if(D.dataset.precedence===r)p=D;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 Gd(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.title==null&&(e.title=r.title)}function Zd(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[Ct]||p[fe]||e==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!=="http://www.w3.org/2000/svg"){var b=p.getAttribute(r)||"";b=e+b;var D=u.get(b);D?D.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 us=null;function fS(){}function dS(e,r,o){if(us===null)throw Error(t(475));var u=us;if(r.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var f=Wl(o.href),p=e.querySelector(os(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,bt(p);return}p=e.ownerDocument||e,o=Yv(o),(f=Or.get(f))&&Gd(o,f),p=p.createElement("link"),bt(p);var b=p;b._p=new Promise(function(D,P){b.onload=D,b.onerror=P}),Rn(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 pS(){if(us===null)throw Error(t(475));var e=us;return e.stylesheets&&e.count===0&&Vd(e,e.stylesheets),0<e.count?function(r){var o=setTimeout(function(){if(e.stylesheets&&Vd(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)Vd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Vu=null;function Vd(e,r){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Vu=new Map,r.forEach(hS,e),Vu=null,Zu.call(e))}function hS(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 cs={$$typeof:Q,Provider:null,Consumer:null,_currentValue:L,_currentValue2:L,_threadCount:0};function mS(e,r,o,u,f,p,b,D){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=Mn(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Mn(0),this.hiddenUpdates=Mn(null),this.identifierPrefix=u,this.onUncaughtError=f,this.onCaughtError=p,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=D,this.incompleteTransitions=new Map}function Gv(e,r,o,u,f,p,b,D,P,ee,ie,se){return e=new mS(e,r,o,b,D,P,ee,se),r=1,p===!0&&(r|=24),p=or(3,null,null,r),e.current=p,p.stateNode=e,r=Of(),r.refCount++,e.pooledCache=r,r.refCount++,p.memoizedState={element:u,isDehydrated:o,cache:r},Nf(p),e}function Zv(e){return e?(e=xl,e):xl}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&&(dr(o,e,r),Yo(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 Wd(e,r){Wv(e,r),(e=e.alternate)&&Wv(e,r)}function Qv(e){if(e.tag===13){var r=Tl(e,67108864);r!==null&&dr(r,e,67108864),Wd(e,67108864)}}var Wu=!0;function vS(e,r,o,u){var f=w.T;w.T=null;var p=k.p;try{k.p=2,Qd(e,r,o,u)}finally{k.p=p,w.T=f}}function gS(e,r,o,u){var f=w.T;w.T=null;var p=k.p;try{k.p=8,Qd(e,r,o,u)}finally{k.p=p,w.T=f}}function Qd(e,r,o,u){if(Wu){var f=Kd(u);if(f===null)Ud(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=at(f);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var b=Be(p.pendingLanes);if(b!==0){var D=p;for(D.pendingLanes|=2,D.entangledLanes|=2;b;){var P=1<<31-Dt(b);D.entanglements[1]|=P,b&=~P}oa(p),(_t&6)===0&&(Nu=Ht()+500,rs(0))}}break;case 13:D=Tl(p,2),D!==null&&dr(D,p,2),Lu(),Wd(p,2)}if(p=Kd(u),p===null&&Ud(e,r,u,Qu,o),p===f)break;f=p}f!==null&&u.stopPropagation()}else Ud(e,r,u,null,o)}}function Kd(e){return e=yl(e),Xd(e)}var Qu=null;function Xd(e){if(Qu=null,e=Ve(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(kn()){case gn:return 2;case ct:return 8;case zn:case ke:return 32;case ge:return 268435456;default:return 32}default:return 32}}var $d=!1,mi=null,vi=null,gi=null,fs=new Map,ds=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":fs.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":ds.delete(r.pointerId)}}function ps(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=at(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=ps(mi,e,r,o,u,f),!0;case"dragenter":return vi=ps(vi,e,r,o,u,f),!0;case"mouseover":return gi=ps(gi,e,r,o,u,f),!0;case"pointerover":var p=f.pointerId;return fs.set(p,ps(fs.get(p)||null,e,r,o,u,f)),!0;case"gotpointercapture":return p=f.pointerId,ds.set(p,ps(ds.get(p)||null,e,r,o,u,f)),!0}return!1}function $v(e){var r=Ve(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,tt(e.priority,function(){if(o.tag===13){var u=fr();u=qt(u);var f=Tl(o,u);f!==null&&dr(f,o,u),Wd(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=Kd(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=at(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(){$d=!1,mi!==null&&Ku(mi)&&(mi=null),vi!==null&&Ku(vi)&&(vi=null),gi!==null&&Ku(gi)&&(gi=null),fs.forEach(Jv),ds.forEach(Jv)}function Xu(e,r){e.blockedOn===r&&(e.blockedOn=null,$d||($d=!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(Xd(u||o)===null)continue;break}var p=at(o);p!==null&&(e.splice(r,3),r-=3,Xf(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),fs.forEach(r),ds.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[be]||null;if(typeof p=="function")b||e4(o);else if(b){var D=null;if(p&&p.hasAttribute("formAction")){if(f=p,b=p[be]||null)D=b.formAction;else if(Xd(f)!==null)continue}else D=b.action;typeof D=="function"?o[u+1]=D:(o.splice(u,3),u-=3),e4(o)}}}function Jd(e){this._internalRoot=e}Ju.prototype.render=Jd.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(t(409));var o=r.current,u=fr();Vv(o,u,e,r,null,null)},Ju.prototype.unmount=Jd.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[we]=null}};function Ju(e){this._internalRoot=e}Ju.prototype.unstable_scheduleHydration=function(e){if(e){var r=Pe();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"));k.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:w,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ec=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ec.isDisabled&&ec.supportsFiber)try{Xe=ec.inject(SS),et=ec}catch{}}return vs.createRoot=function(e,r){if(!l(e))throw Error(t(299));var o=!1,u="",f=g6,p=y6,b=b6,D=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&&(D=r.unstable_transitionCallbacks)),r=Gv(e,1,!1,null,null,o,u,f,p,b,D,null),e[we]=r.current,qd(e),new Jd(r)},vs.hydrateRoot=function(e,r,o){if(!l(e))throw Error(t(299));var u=!1,f="",p=g6,b=y6,D=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&&(D=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,D,P,ee),r.context=Zv(null),o=r.current,u=fr(),u=qt(u),f=ti(u),f.callback=null,ni(o,f,u),o=u,r.current.lanes=o,rt(r,o),oa(r),e[we]=r.current,qd(e),new Ju(r)},vs.version="19.1.0",vs}var f4;function RS(){if(f4)return t1.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(),t1.exports=CS(),t1.exports}var NS=RS(),y=Q2();const G=vr(y),N9=wS({__proto__:null,default:G},[y]);/*! @license DOMPurify 3.2.6 | (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.6/LICENSE */var l1,d4;function p4(){if(d4)return l1;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,Le,Re){return ge.apply(Le,Re)}),m||(m=function(ge,Le){return new ge(...Le)});const v=S(Array.prototype.forEach),g=S(Array.prototype.lastIndexOf),_=S(Array.prototype.pop),x=S(Array.prototype.push),M=S(Array.prototype.splice),N=S(String.prototype.toLowerCase),O=S(String.prototype.toString),R=S(String.prototype.match),C=S(String.prototype.replace),Q=S(String.prototype.indexOf),J=S(String.prototype.trim),K=S(Object.prototype.hasOwnProperty),re=S(RegExp.prototype.test),V=E(TypeError);function S(ke){return function(ge){ge instanceof RegExp&&(ge.lastIndex=0);for(var Le=arguments.length,Re=new Array(Le>1?Le-1:0),Xe=1;Xe<Le;Xe++)Re[Xe-1]=arguments[Xe];return h(ke,ge,Re)}}function E(ke){return function(){for(var ge=arguments.length,Le=new Array(ge),Re=0;Re<ge;Re++)Le[Re]=arguments[Re];return m(ke,Le)}}function T(ke,ge){let Le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:N;i&&i(ke,null);let Re=ge.length;for(;Re--;){let Xe=ge[Re];if(typeof Xe=="string"){const et=Le(Xe);et!==Xe&&(n(ge)||(ge[Re]=et),Xe=et)}ke[Xe]=!0}return ke}function U(ke){for(let ge=0;ge<ke.length;ge++)K(ke,ge)||(ke[ge]=null);return ke}function q(ke){const ge=d(null);for(const[Le,Re]of a(ke))K(ke,Le)&&(Array.isArray(Re)?ge[Le]=U(Re):Re&&typeof Re=="object"&&Re.constructor===Object?ge[Le]=q(Re):ge[Le]=Re);return ge}function z(ke,ge){for(;ke!==null;){const Re=l(ke,ge);if(Re){if(Re.get)return S(Re.get);if(typeof Re.value=="function")return S(Re.value)}ke=t(ke)}function Le(){return null}return Le}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"]),H=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"]),w=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"]),k=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"]),X=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),A=s(["#text"]),Y=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"]),ce=c(/\{\{[\w\W]*|[\w\W]*\}\}/gm),pe=c(/<%[\w\W]*|[\w\W]*%>/gm),Ye=c(/\$\{[\w\W]*/gm),je=c(/^data-[\-\w.\u00B7-\uFFFF]+$/),nt=c(/^aria-[\-\w]+$/),nn=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ut=c(/^(?:\w+script|data):/i),At=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),vt=c(/^html$/i),Ge=c(/^[a-z][.\w]*(-[.\w]+)+$/i);var Je=Object.freeze({__proto__:null,ARIA_ATTR:nt,ATTR_WHITESPACE:At,CUSTOM_ELEMENT:Ge,DATA_ATTR:je,DOCTYPE_NAME:vt,ERB_EXPR:pe,IS_ALLOWED_URI:nn,IS_SCRIPT_OR_DATA:ut,MUSTACHE_EXPR:ce,TMPLIT_EXPR:Ye});const Lt={element:1,text:3,progressingInstruction:7,comment:8,document:9},Ht=function(){return typeof window>"u"?null:window},kn=function(ge,Le){if(typeof ge!="object"||typeof ge.createPolicy!="function")return null;let Re=null;const Xe="data-tt-policy-suffix";Le&&Le.hasAttribute(Xe)&&(Re=Le.getAttribute(Xe));const et="dompurify"+(Re?"#"+Re:"");try{return ge.createPolicy(et,{createHTML(Pt){return Pt},createScriptURL(Pt){return Pt}})}catch{return console.warn("TrustedTypes policy "+et+" could not be created."),null}},gn=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ct(){let ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ht();const ge=ye=>ct(ye);if(ge.version="3.2.6",ge.removed=[],!ke||!ke.document||ke.document.nodeType!==Lt.document||!ke.Element)return ge.isSupported=!1,ge;let{document:Le}=ke;const Re=Le,Xe=Re.currentScript,{DocumentFragment:et,HTMLTemplateElement:Pt,Node:Dt,Element:Yn,NodeFilter:Kn,NamedNodeMap:jn=ke.NamedNodeMap||ke.MozNamedAttrMap,HTMLFormElement:fn,DOMParser:Tt,trustedTypes:Be}=ke,dn=Yn.prototype,xn=z(dn,"cloneNode"),gr=z(dn,"remove"),Bn=z(dn,"nextSibling"),Ln=z(dn,"childNodes"),Mn=z(dn,"parentNode");if(typeof Pt=="function"){const ye=Le.createElement("template");ye.content&&ye.content.ownerDocument&&(Le=ye.content.ownerDocument)}let rt,In="";const{implementation:nr,createNodeIterator:He,createDocumentFragment:qt,getElementsByTagName:xe}=Le,{importNode:Pe}=Re;let tt=gn();ge.isSupported=typeof a=="function"&&typeof Mn=="function"&&nr&&nr.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Bt,ERB_EXPR:fe,TMPLIT_EXPR:be,DATA_ATTR:we,ARIA_ATTR:ft,IS_SCRIPT_OR_DATA:It,ATTR_WHITESPACE:yn,CUSTOM_ELEMENT:pn}=Je;let{IS_ALLOWED_URI:Ct}=Je,qe=null;const Ve=T({},[...B,...H,...w,...L,...A]);let at=null;const rr=T({},[...Y,...oe,...ae,...he]);let lt=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}})),bt=null,Se=null,j=!0,ue=!0,me=!1,Te=!0,$e=!1,pt=!0,gt=!1,rn=!1,bn=!1,an=!1,Ut=!1,Jr=!1,yr=!0,ml=!1;const yo="user-content-";let bo=!0,Wa=!1,hn={},ya=null;const Qs=T({},["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 Li=null;const _o=T({},["audio","video","img","source","image","track"]);let Qa=null;const Ks=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),On="http://www.w3.org/1998/Math/MathML",Ka="http://www.w3.org/2000/svg",br="http://www.w3.org/1999/xhtml";let ea=br,ta=!1,vl=null;const Xs=T({},[On,Ka,br],O);let Pr=T({},["mi","mo","mn","ms","mtext"]),gl=T({},["annotation-xml"]);const $s=T({},["title","style","font","a","script"]);let Xa=null;const So=["application/xhtml+xml","text/html"],of="text/html";let ln=null,zr=null;const Eo=Le.createElement("form"),yl=function(I){return I instanceof RegExp||I instanceof Function},na=function(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(zr&&zr===I)){if((!I||typeof I!="object")&&(I={}),I=q(I),Xa=So.indexOf(I.PARSER_MEDIA_TYPE)===-1?of:I.PARSER_MEDIA_TYPE,ln=Xa==="application/xhtml+xml"?O:N,qe=K(I,"ALLOWED_TAGS")?T({},I.ALLOWED_TAGS,ln):Ve,at=K(I,"ALLOWED_ATTR")?T({},I.ALLOWED_ATTR,ln):rr,vl=K(I,"ALLOWED_NAMESPACES")?T({},I.ALLOWED_NAMESPACES,O):Xs,Qa=K(I,"ADD_URI_SAFE_ATTR")?T(q(Ks),I.ADD_URI_SAFE_ATTR,ln):Ks,Li=K(I,"ADD_DATA_URI_TAGS")?T(q(_o),I.ADD_DATA_URI_TAGS,ln):_o,ya=K(I,"FORBID_CONTENTS")?T({},I.FORBID_CONTENTS,ln):Qs,bt=K(I,"FORBID_TAGS")?T({},I.FORBID_TAGS,ln):q({}),Se=K(I,"FORBID_ATTR")?T({},I.FORBID_ATTR,ln):q({}),hn=K(I,"USE_PROFILES")?I.USE_PROFILES:!1,j=I.ALLOW_ARIA_ATTR!==!1,ue=I.ALLOW_DATA_ATTR!==!1,me=I.ALLOW_UNKNOWN_PROTOCOLS||!1,Te=I.ALLOW_SELF_CLOSE_IN_ATTR!==!1,$e=I.SAFE_FOR_TEMPLATES||!1,pt=I.SAFE_FOR_XML!==!1,gt=I.WHOLE_DOCUMENT||!1,an=I.RETURN_DOM||!1,Ut=I.RETURN_DOM_FRAGMENT||!1,Jr=I.RETURN_TRUSTED_TYPE||!1,bn=I.FORCE_BODY||!1,yr=I.SANITIZE_DOM!==!1,ml=I.SANITIZE_NAMED_PROPS||!1,bo=I.KEEP_CONTENT!==!1,Wa=I.IN_PLACE||!1,Ct=I.ALLOWED_URI_REGEXP||nn,ea=I.NAMESPACE||br,Pr=I.MATHML_TEXT_INTEGRATION_POINTS||Pr,gl=I.HTML_INTEGRATION_POINTS||gl,lt=I.CUSTOM_ELEMENT_HANDLING||{},I.CUSTOM_ELEMENT_HANDLING&&yl(I.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(lt.tagNameCheck=I.CUSTOM_ELEMENT_HANDLING.tagNameCheck),I.CUSTOM_ELEMENT_HANDLING&&yl(I.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(lt.attributeNameCheck=I.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),I.CUSTOM_ELEMENT_HANDLING&&typeof I.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(lt.allowCustomizedBuiltInElements=I.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),$e&&(ue=!1),Ut&&(an=!0),hn&&(qe=T({},A),at=[],hn.html===!0&&(T(qe,B),T(at,Y)),hn.svg===!0&&(T(qe,H),T(at,oe),T(at,he)),hn.svgFilters===!0&&(T(qe,w),T(at,oe),T(at,he)),hn.mathMl===!0&&(T(qe,L),T(at,ae),T(at,he))),I.ADD_TAGS&&(qe===Ve&&(qe=q(qe)),T(qe,I.ADD_TAGS,ln)),I.ADD_ATTR&&(at===rr&&(at=q(at)),T(at,I.ADD_ATTR,ln)),I.ADD_URI_SAFE_ATTR&&T(Qa,I.ADD_URI_SAFE_ATTR,ln),I.FORBID_CONTENTS&&(ya===Qs&&(ya=q(ya)),T(ya,I.FORBID_CONTENTS,ln)),bo&&(qe["#text"]=!0),gt&&T(qe,["html","head","body"]),qe.table&&(T(qe,["tbody"]),delete bt.tbody),I.TRUSTED_TYPES_POLICY){if(typeof I.TRUSTED_TYPES_POLICY.createHTML!="function")throw V('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof I.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw V('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');rt=I.TRUSTED_TYPES_POLICY,In=rt.createHTML("")}else rt===void 0&&(rt=kn(Be,Xe)),rt!==null&&typeof In=="string"&&(In=rt.createHTML(""));s&&s(I),zr=I}},ba=T({},[...H,...w,...k]),wo=T({},[...L,...X]),Do=function(I){let de=Mn(I);(!de||!de.tagName)&&(de={namespaceURI:ea,tagName:"template"});const _e=N(I.tagName),Nt=N(de.tagName);return vl[I.namespaceURI]?I.namespaceURI===Ka?de.namespaceURI===br?_e==="svg":de.namespaceURI===On?_e==="svg"&&(Nt==="annotation-xml"||Pr[Nt]):!!ba[_e]:I.namespaceURI===On?de.namespaceURI===br?_e==="math":de.namespaceURI===Ka?_e==="math"&&gl[Nt]:!!wo[_e]:I.namespaceURI===br?de.namespaceURI===Ka&&!gl[Nt]||de.namespaceURI===On&&!Pr[Nt]?!1:!wo[_e]&&($s[_e]||!ba[_e]):!!(Xa==="application/xhtml+xml"&&vl[I.namespaceURI]):!1},ar=function(I){x(ge.removed,{element:I});try{Mn(I).removeChild(I)}catch{gr(I)}},_r=function(I,de){try{x(ge.removed,{attribute:de.getAttributeNode(I),from:de})}catch{x(ge.removed,{attribute:null,from:de})}if(de.removeAttribute(I),I==="is")if(an||Ut)try{ar(de)}catch{}else try{de.setAttribute(I,"")}catch{}},Sr=function(I){let de=null,_e=null;if(bn)I="<remove></remove>"+I;else{const Ft=R(I,/^[\r\n\t ]+/);_e=Ft&&Ft[0]}Xa==="application/xhtml+xml"&&ea===br&&(I='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+I+"</body></html>");const Nt=rt?rt.createHTML(I):I;if(ea===br)try{de=new Tt().parseFromString(Nt,Xa)}catch{}if(!de||!de.documentElement){de=nr.createDocument(ea,"template",null);try{de.documentElement.innerHTML=ta?In:Nt}catch{}}const on=de.body||de.documentElement;return I&&_e&&on.insertBefore(Le.createTextNode(_e),on.childNodes[0]||null),ea===br?xe.call(de,gt?"html":"body")[0]:gt?de.documentElement:on},bl=function(I){return He.call(I.ownerDocument||I,I,Kn.SHOW_ELEMENT|Kn.SHOW_COMMENT|Kn.SHOW_TEXT|Kn.SHOW_PROCESSING_INSTRUCTION|Kn.SHOW_CDATA_SECTION,null)},_a=function(I){return I instanceof fn&&(typeof I.nodeName!="string"||typeof I.textContent!="string"||typeof I.removeChild!="function"||!(I.attributes instanceof jn)||typeof I.removeAttribute!="function"||typeof I.setAttribute!="function"||typeof I.namespaceURI!="string"||typeof I.insertBefore!="function"||typeof I.hasChildNodes!="function")},Yr=function(I){return typeof Dt=="function"&&I instanceof Dt};function ir(ye,I,de){v(ye,_e=>{_e.call(ge,I,de,zr)})}const qi=function(I){let de=null;if(ir(tt.beforeSanitizeElements,I,null),_a(I))return ar(I),!0;const _e=ln(I.nodeName);if(ir(tt.uponSanitizeElement,I,{tagName:_e,allowedTags:qe}),pt&&I.hasChildNodes()&&!Yr(I.firstElementChild)&&re(/<[/\w!]/g,I.innerHTML)&&re(/<[/\w!]/g,I.textContent)||I.nodeType===Lt.progressingInstruction||pt&&I.nodeType===Lt.comment&&re(/<[/\w]/g,I.data))return ar(I),!0;if(!qe[_e]||bt[_e]){if(!bt[_e]&&Ui(_e)&&(lt.tagNameCheck instanceof RegExp&&re(lt.tagNameCheck,_e)||lt.tagNameCheck instanceof Function&&lt.tagNameCheck(_e)))return!1;if(bo&&!ya[_e]){const Nt=Mn(I)||I.parentNode,on=Ln(I)||I.childNodes;if(on&&Nt){const Ft=on.length;for(let sn=Ft-1;sn>=0;--sn){const Xn=xn(on[sn],!0);Xn.__removalCount=(I.__removalCount||0)+1,Nt.insertBefore(Xn,Bn(I))}}}return ar(I),!0}return I instanceof Yn&&!Do(I)||(_e==="noscript"||_e==="noembed"||_e==="noframes")&&re(/<\/no(script|embed|frames)/i,I.innerHTML)?(ar(I),!0):($e&&I.nodeType===Lt.text&&(de=I.textContent,v([Bt,fe,be],Nt=>{de=C(de,Nt," ")}),I.textContent!==de&&(x(ge.removed,{element:I.cloneNode()}),I.textContent=de)),ir(tt.afterSanitizeElements,I,null),!1)},To=function(I,de,_e){if(yr&&(de==="id"||de==="name")&&(_e in Le||_e in Eo))return!1;if(!(ue&&!Se[de]&&re(we,de))){if(!(j&&re(ft,de))){if(!at[de]||Se[de]){if(!(Ui(I)&&(lt.tagNameCheck instanceof RegExp&&re(lt.tagNameCheck,I)||lt.tagNameCheck instanceof Function&&lt.tagNameCheck(I))&&(lt.attributeNameCheck instanceof RegExp&&re(lt.attributeNameCheck,de)||lt.attributeNameCheck instanceof Function&&lt.attributeNameCheck(de))||de==="is"&&lt.allowCustomizedBuiltInElements&&(lt.tagNameCheck instanceof RegExp&&re(lt.tagNameCheck,_e)||lt.tagNameCheck instanceof Function&&lt.tagNameCheck(_e))))return!1}else if(!Qa[de]){if(!re(Ct,C(_e,yn,""))){if(!((de==="src"||de==="xlink:href"||de==="href")&&I!=="script"&&Q(_e,"data:")===0&&Li[I])){if(!(me&&!re(It,C(_e,yn,"")))){if(_e)return!1}}}}}}return!0},Ui=function(I){return I!=="annotation-xml"&&R(I,pn)},Hi=function(I){ir(tt.beforeSanitizeAttributes,I,null);const{attributes:de}=I;if(!de||_a(I))return;const _e={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:at,forceKeepAttr:void 0};let Nt=de.length;for(;Nt--;){const on=de[Nt],{name:Ft,namespaceURI:sn,value:Xn}=on,$a=ln(Ft),xo=Xn;let _n=Ft==="value"?xo:J(xo);if(_e.attrName=$a,_e.attrValue=_n,_e.keepAttr=!0,_e.forceKeepAttr=void 0,ir(tt.uponSanitizeAttribute,I,_e),_n=_e.attrValue,ml&&($a==="id"||$a==="name")&&(_r(Ft,I),_n=yo+_n),pt&&re(/((--!?|])>)|<\/(style|title)/i,_n)){_r(Ft,I);continue}if(_e.forceKeepAttr)continue;if(!_e.keepAttr){_r(Ft,I);continue}if(!Te&&re(/\/>/i,_n)){_r(Ft,I);continue}$e&&v([Bt,fe,be],_l=>{_n=C(_n,_l," ")});const eu=ln(I.nodeName);if(!To(eu,$a,_n)){_r(Ft,I);continue}if(rt&&typeof Be=="object"&&typeof Be.getAttributeType=="function"&&!sn)switch(Be.getAttributeType(eu,$a)){case"TrustedHTML":{_n=rt.createHTML(_n);break}case"TrustedScriptURL":{_n=rt.createScriptURL(_n);break}}if(_n!==xo)try{sn?I.setAttributeNS(sn,Ft,_n):I.setAttribute(Ft,_n),_a(I)?ar(I):_(ge.removed)}catch{_r(Ft,I)}}ir(tt.afterSanitizeAttributes,I,null)},Js=function ye(I){let de=null;const _e=bl(I);for(ir(tt.beforeSanitizeShadowDOM,I,null);de=_e.nextNode();)ir(tt.uponSanitizeShadowNode,de,null),qi(de),Hi(de),de.content instanceof et&&ye(de.content);ir(tt.afterSanitizeShadowDOM,I,null)};return ge.sanitize=function(ye){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},de=null,_e=null,Nt=null,on=null;if(ta=!ye,ta&&(ye="<!-->"),typeof ye!="string"&&!Yr(ye))if(typeof ye.toString=="function"){if(ye=ye.toString(),typeof ye!="string")throw V("dirty is not a string, aborting")}else throw V("toString is not a function");if(!ge.isSupported)return ye;if(rn||na(I),ge.removed=[],typeof ye=="string"&&(Wa=!1),Wa){if(ye.nodeName){const Xn=ln(ye.nodeName);if(!qe[Xn]||bt[Xn])throw V("root node is forbidden and cannot be sanitized in-place")}}else if(ye instanceof Dt)de=Sr("<!---->"),_e=de.ownerDocument.importNode(ye,!0),_e.nodeType===Lt.element&&_e.nodeName==="BODY"||_e.nodeName==="HTML"?de=_e:de.appendChild(_e);else{if(!an&&!$e&&!gt&&ye.indexOf("<")===-1)return rt&&Jr?rt.createHTML(ye):ye;if(de=Sr(ye),!de)return an?null:Jr?In:""}de&&bn&&ar(de.firstChild);const Ft=bl(Wa?ye:de);for(;Nt=Ft.nextNode();)qi(Nt),Hi(Nt),Nt.content instanceof et&&Js(Nt.content);if(Wa)return ye;if(an){if(Ut)for(on=qt.call(de.ownerDocument);de.firstChild;)on.appendChild(de.firstChild);else on=de;return(at.shadowroot||at.shadowrootmode)&&(on=Pe.call(Re,on,!0)),on}let sn=gt?de.outerHTML:de.innerHTML;return gt&&qe["!doctype"]&&de.ownerDocument&&de.ownerDocument.doctype&&de.ownerDocument.doctype.name&&re(vt,de.ownerDocument.doctype.name)&&(sn="<!DOCTYPE "+de.ownerDocument.doctype.name+`>
`+sn),$e&&v([Bt,fe,be],Xn=>{sn=C(sn,Xn," ")}),rt&&Jr?rt.createHTML(sn):sn},ge.setConfig=function(){let ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};na(ye),rn=!0},ge.clearConfig=function(){zr=null,rn=!1},ge.isValidAttribute=function(ye,I,de){zr||na({});const _e=ln(ye),Nt=ln(I);return To(_e,Nt,de)},ge.addHook=function(ye,I){typeof I=="function"&&x(tt[ye],I)},ge.removeHook=function(ye,I){if(I!==void 0){const de=g(tt[ye],I);return de===-1?void 0:M(tt[ye],de,1)[0]}return _(tt[ye])},ge.removeHooks=function(ye){tt[ye]=[]},ge.removeAllHooks=function(){tt=gn()},ge}var zn=ct();return l1=zn,l1}var o1,h4;function kS(){return h4||(h4=1,o1=window.DOMPurify||(window.DOMPurify=p4().default||p4())),o1}var LS=kS();const qS=vr(LS),to=Math.min,rl=Math.max,Tc=Math.round,nc=Math.floor,ha=a=>({x:a,y:a}),US={left:"right",right:"left",bottom:"top",top:"bottom"},HS={start:"end",end:"start"};function h2(a,i,n){return rl(a,to(i,n))}function Ps(a,i){return typeof a=="function"?a(i):a}function ll(a){return a.split("-")[0]}function zs(a){return a.split("-")[1]}function k9(a){return a==="x"?"y":"x"}function K2(a){return a==="y"?"height":"width"}function Ti(a){return["top","bottom"].includes(ll(a))?"y":"x"}function X2(a){return k9(Ti(a))}function PS(a,i,n){n===void 0&&(n=!1);const t=zs(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 zS(a){const i=xc(a);return[m2(a),i,m2(i)]}function m2(a){return a.replace(/start|end/g,i=>HS[i])}function YS(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 jS(a,i,n,t){const l=zs(a);let s=YS(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=>US[i])}function BS(a){return{top:0,right:0,bottom:0,left:0,...a}}function L9(a){return typeof a!="number"?BS(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=Ti(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,_=t[d]/2-l[d]/2;let x;switch(h){case"top":x={x:v,y:t.y-l.height};break;case"bottom":x={x:v,y:t.y+t.height};break;case"right":x={x:t.x+t.width,y:g};break;case"left":x={x:t.x-l.width,y:g};break;default:x={x:t.x,y:t.y}}switch(zs(i)){case"start":x[c]-=_*(n&&m?-1:1);break;case"end":x[c]+=_*(n&&m?-1:1);break}return x}const IS=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),_=t,x={},M=0;for(let N=0;N<d.length;N++){const{name:O,fn:R}=d[N],{x:C,y:Q,data:J,reset:K}=await R({x:v,y:g,initialPlacement:t,placement:_,strategy:l,middlewareData:x,rects:m,platform:c,elements:{reference:a,floating:i}});v=C??v,g=Q??g,x={...x,[O]:{...x[O],...J}},K&&M<=50&&(M++,typeof K=="object"&&(K.placement&&(_=K.placement),K.rects&&(m=K.rects===!0?await c.getElementRects({reference:a,floating:i,strategy:l}):K.rects),{x:v,y:g}=m4(m,_,h)),N=-1)}return{x:v,y:g,placement:_,strategy:l,middlewareData:x}};async function q9(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:_=!1,padding:x=0}=Ps(i,a),M=L9(x),O=d[_?g==="floating"?"reference":"floating":g],R=Mc(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(O)))==null||n?O:O.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:m,rootBoundary:v,strategy:h})),C=g==="floating"?{x:t,y:l,width:c.floating.width,height:c.floating.height}:c.reference,Q=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),J=await(s.isElement==null?void 0:s.isElement(Q))?await(s.getScale==null?void 0:s.getScale(Q))||{x:1,y:1}:{x:1,y:1},K=Mc(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:C,offsetParent:Q,strategy:h}):C);return{top:(R.top-K.top+M.top)/J.y,bottom:(K.bottom-R.bottom+M.bottom)/J.y,left:(R.left-K.left+M.left)/J.x,right:(K.right-R.right+M.right)/J.x}}const FS=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}=Ps(a,i)||{};if(m==null)return{};const g=L9(v),_={x:n,y:t},x=X2(l),M=K2(x),N=await c.getDimensions(m),O=x==="y",R=O?"top":"left",C=O?"bottom":"right",Q=O?"clientHeight":"clientWidth",J=s.reference[M]+s.reference[x]-_[x]-s.floating[M],K=_[x]-s.reference[x],re=await(c.getOffsetParent==null?void 0:c.getOffsetParent(m));let V=re?re[Q]:0;(!V||!await(c.isElement==null?void 0:c.isElement(re)))&&(V=d.floating[Q]||s.floating[M]);const S=J/2-K/2,E=V/2-N[M]/2-1,T=to(g[R],E),U=to(g[C],E),q=T,z=V-N[M]-U,B=V/2-N[M]/2+S,H=h2(q,B,z),w=!h.arrow&&zs(l)!=null&&B!==H&&s.reference[M]/2-(B<q?T:U)-N[M]/2<0,k=w?B<q?B-q:B-z:0;return{[x]:_[x]+k,data:{[x]:H,centerOffset:B-H-k,...w&&{alignmentOffset:k}},reset:w}}}),GS=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:_,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:N=!0,...O}=Ps(a,i);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const R=ll(l),C=Ti(d),Q=ll(d)===d,J=await(h.isRTL==null?void 0:h.isRTL(m.floating)),K=_||(Q||!N?[xc(d)]:zS(d)),re=M!=="none";!_&&re&&K.push(...jS(d,N,M,J));const V=[d,...K],S=await q9(i,O),E=[];let T=((t=s.flip)==null?void 0:t.overflows)||[];if(v&&E.push(S[R]),g){const B=PS(l,c,J);E.push(S[B[0]],S[B[1]])}if(T=[...T,{placement:l,overflows:E}],!E.every(B=>B<=0)){var U,q;const B=(((U=s.flip)==null?void 0:U.index)||0)+1,H=V[B];if(H&&(!(g==="alignment"?C!==Ti(H):!1)||T.every(L=>L.overflows[0]>0&&Ti(L.placement)===C)))return{data:{index:B,overflows:T},reset:{placement:H}};let w=(q=T.filter(k=>k.overflows[0]<=0).sort((k,L)=>k.overflows[1]-L.overflows[1])[0])==null?void 0:q.placement;if(!w)switch(x){case"bestFit":{var z;const k=(z=T.filter(L=>{if(re){const X=Ti(L.placement);return X===C||X==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(X=>X>0).reduce((X,A)=>X+A,0)]).sort((L,X)=>L[1]-X[1])[0])==null?void 0:z[0];k&&(w=k);break}case"initialPlacement":w=d;break}if(l!==w)return{reset:{placement:w}}}return{}}}};async function ZS(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=zs(n),h=Ti(n)==="y",m=["left","top"].includes(c)?-1:1,v=s&&h?-1:1,g=Ps(i,a);let{mainAxis:_,crossAxis:x,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"&&(x=d==="end"?M*-1:M),h?{x:x*v,y:_*m}:{x:_*m,y:x*v}}const VS=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 ZS(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}}}}},WS=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:O=>{let{x:R,y:C}=O;return{x:R,y:C}}},...h}=Ps(a,i),m={x:n,y:t},v=await q9(i,h),g=Ti(ll(l)),_=k9(g);let x=m[_],M=m[g];if(s){const O=_==="y"?"top":"left",R=_==="y"?"bottom":"right",C=x+v[O],Q=x-v[R];x=h2(C,x,Q)}if(c){const O=g==="y"?"top":"left",R=g==="y"?"bottom":"right",C=M+v[O],Q=M-v[R];M=h2(C,M,Q)}const N=d.fn({...i,[_]:x,[g]:M});return{...N,data:{x:N.x-n,y:N.y-t,enabled:{[_]:s,[g]:c}}}}}};function jc(){return typeof window<"u"}function uo(a){return U9(a)?(a.nodeName||"").toLowerCase():"#document"}function mr(a){var i;return(a==null||(i=a.ownerDocument)==null?void 0:i.defaultView)||window}function va(a){var i;return(i=(U9(a)?a.ownerDocument:a.document)||window.document)==null?void 0:i.documentElement}function U9(a){return jc()?a instanceof Node||a instanceof mr(a).Node:!1}function Vn(a){return jc()?a instanceof Element||a instanceof mr(a).Element:!1}function ma(a){return jc()?a instanceof HTMLElement||a instanceof mr(a).HTMLElement:!1}function v4(a){return!jc()||typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof mr(a).ShadowRoot}function Ys(a){const{overflow:i,overflowX:n,overflowY:t,display:l}=Ur(a);return/auto|scroll|overlay|hidden|clip/.test(i+t+n)&&!["inline","contents"].includes(l)}function QS(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=Vn(a)?Ur(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 KS(a){let i=Ri(a);for(;ma(i)&&!no(i);){if($2(i))return i;if(Bc(i))return null;i=Ri(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 Ur(a){return mr(a).getComputedStyle(a)}function Ic(a){return Vn(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function Ri(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 H9(a){const i=Ri(a);return no(i)?a.ownerDocument?a.ownerDocument.body:a.body:ma(i)&&Ys(i)?i:H9(i)}function qs(a,i,n){var t;i===void 0&&(i=[]),n===void 0&&(n=!0);const l=H9(a),s=l===((t=a.ownerDocument)==null?void 0:t.body),c=mr(l);if(s){const d=v2(c);return i.concat(c,c.visualViewport||[],Ys(l)?l:[],d&&n?qs(d):[])}return i.concat(l,qs(l,[],n))}function v2(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function P9(a){const i=Ur(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 Vn(a)?a:a.contextElement}function Jl(a){const i=em(a);if(!ma(i))return ha(1);const n=i.getBoundingClientRect(),{width:t,height:l,$:s}=P9(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 XS=ha(0);function z9(a){const i=mr(a);return!J2()||!i.visualViewport?XS:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function $S(a,i,n){return i===void 0&&(i=!1),!n||i&&n!==mr(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=ha(1);i&&(t?Vn(t)&&(c=Jl(t)):c=Jl(a));const d=$S(s,n,t)?z9(s):ha(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 _=mr(s),x=t&&Vn(t)?mr(t):t;let M=_,N=v2(M);for(;N&&t&&x!==M;){const O=Jl(N),R=N.getBoundingClientRect(),C=Ur(N),Q=R.left+(N.clientLeft+parseFloat(C.paddingLeft))*O.x,J=R.top+(N.clientTop+parseFloat(C.paddingTop))*O.y;h*=O.x,m*=O.y,v*=O.x,g*=O.y,h+=Q,m+=J,M=mr(N),N=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 Y9(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 JS(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=ha(1);const v=ha(0),g=ma(t);if((g||!g&&!s)&&((uo(t)!=="body"||Ys(c))&&(h=Ic(t)),ma(t))){const x=ol(t);m=Jl(t),v.x=x.x+t.clientLeft,v.y=x.y+t.clientTop}const _=c&&!g&&!s?Y9(c,h,!0):ha(0);return{width:n.width*m.x,height:n.height*m.y,x:n.x*m.x-h.scrollLeft*m.x+v.x+_.x,y:n.y*m.y-h.scrollTop*m.y+v.y+_.y}}function eE(a){return Array.from(a.getClientRects())}function tE(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 Ur(t).direction==="rtl"&&(c+=rl(i.clientWidth,t.clientWidth)-l),{width:l,height:s,x:c,y:d}}function nE(a,i){const n=mr(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 rE(a,i){const n=ol(a,!0,i==="fixed"),t=n.top+a.clientTop,l=n.left+a.clientLeft,s=ma(a)?Jl(a):ha(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=nE(a,n);else if(i==="document")t=tE(va(a));else if(Vn(i))t=rE(i,n);else{const l=z9(a);t={x:i.x-l.x,y:i.y-l.y,width:i.width,height:i.height}}return Mc(t)}function j9(a,i){const n=Ri(a);return n===i||!Vn(n)||no(n)?!1:Ur(n).position==="fixed"||j9(n,i)}function aE(a,i){const n=i.get(a);if(n)return n;let t=qs(a,[],!1).filter(d=>Vn(d)&&uo(d)!=="body"),l=null;const s=Ur(a).position==="fixed";let c=s?Ri(a):a;for(;Vn(c)&&!no(c);){const d=Ur(c),h=$2(c);!h&&d.position==="fixed"&&(l=null),(s?!h&&!l:!h&&d.position==="static"&&!!l&&["absolute","fixed"].includes(l.position)||Ys(c)&&!h&&j9(a,c))?t=t.filter(v=>v!==c):l=d,c=Ri(c)}return i.set(a,t),t}function iE(a){let{element:i,boundary:n,rootBoundary:t,strategy:l}=a;const c=[...n==="clippingAncestors"?Bc(i)?[]:aE(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=to(g.right,m.right),m.bottom=to(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 lE(a){const{width:i,height:n}=P9(a);return{width:i,height:n}}function oE(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=ha(0);function m(){h.x=tm(l)}if(t||!t&&!s)if((uo(i)!=="body"||Ys(l))&&(d=Ic(i)),t){const x=ol(i,!0,s,i);h.x=x.x+i.clientLeft,h.y=x.y+i.clientTop}else l&&m();s&&!t&&l&&m();const v=l&&!t&&!s?Y9(l,d):ha(0),g=c.left+d.scrollLeft-h.x-v.x,_=c.top+d.scrollTop-h.y-v.y;return{x:g,y:_,width:c.width,height:c.height}}function s1(a){return Ur(a).position==="static"}function y4(a,i){if(!ma(a)||Ur(a).position==="fixed")return null;if(i)return i(a);let n=a.offsetParent;return va(a)===n&&(n=n.ownerDocument.body),n}function B9(a,i){const n=mr(a);if(Bc(a))return n;if(!ma(a)){let l=Ri(a);for(;l&&!no(l);){if(Vn(l)&&!s1(l))return l;l=Ri(l)}return n}let t=y4(a,i);for(;t&&QS(t)&&s1(t);)t=y4(t,i);return t&&no(t)&&s1(t)&&!$2(t)?n:t||KS(a)||n}const sE=async function(a){const i=this.getOffsetParent||B9,n=this.getDimensions,t=await n(a.floating);return{reference:oE(a.reference,await i(a.floating),a.strategy),floating:{x:0,y:0,width:t.width,height:t.height}}};function uE(a){return Ur(a).direction==="rtl"}const cE={convertOffsetParentRelativeRectToViewportRelativeRect:JS,getDocumentElement:va,getClippingRect:iE,getOffsetParent:B9,getElementRects:sE,getClientRects:eE,getDimensions:lE,getScale:Jl,isElement:Vn,isRTL:uE};function I9(a,i){return a.x===i.x&&a.y===i.y&&a.width===i.width&&a.height===i.height}function fE(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:_,height:x}=m;if(d||i(),!_||!x)return;const M=nc(g),N=nc(l.clientWidth-(v+_)),O=nc(l.clientHeight-(g+x)),R=nc(v),Q={rootMargin:-M+"px "+-N+"px "+-O+"px "+-R+"px",threshold:rl(0,to(1,h))||1};let J=!0;function K(re){const V=re[0].intersectionRatio;if(V!==h){if(!J)return c();V?c(!1,V):t=setTimeout(()=>{c(!1,1e-7)},1e3)}V===1&&!I9(m,a.getBoundingClientRect())&&c(),J=!1}try{n=new IntersectionObserver(K,{...Q,root:l.ownerDocument})}catch{n=new IntersectionObserver(K,Q)}n.observe(a)}return c(!0),s}function F9(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?qs(m):[],...qs(i)]:[];v.forEach(R=>{l&&R.addEventListener("scroll",n,{passive:!0}),s&&R.addEventListener("resize",n)});const g=m&&d?fE(m,n):null;let _=-1,x=null;c&&(x=new ResizeObserver(R=>{let[C]=R;C&&C.target===m&&x&&(x.unobserve(i),cancelAnimationFrame(_),_=requestAnimationFrame(()=>{var Q;(Q=x)==null||Q.observe(i)})),n()}),m&&!h&&x.observe(m),x.observe(i));let M,N=h?ol(a):null;h&&O();function O(){const R=ol(a);N&&!I9(N,R)&&n(),N=R,M=requestAnimationFrame(O)}return n(),()=>{var R;v.forEach(C=>{l&&C.removeEventListener("scroll",n),s&&C.removeEventListener("resize",n)}),g?.(),(R=x)==null||R.disconnect(),x=null,h&&cancelAnimationFrame(M)}}const G9=VS,dE=WS,Z9=GS,g2=FS,y2=(a,i,n)=>{const t=new Map,l={platform:cE,...n},s={...l.platform,_c:t};return IS(a,i,{...l,platform:s})};var u1={exports:{}};/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/var b4;function pE(){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})()}(u1)),u1.exports}var hE=pE();const b2=vr(hE);var _4={};const mE="react-tooltip-core-styles",vE="react-tooltip-base-styles",S4={core:!1,base:!1};function E4({css:a,id:i=vE,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=mE),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=[G9(Number(l)),Z9({fallbackAxisSideDirection:"start"}),dE({padding:5})],border:d,arrowSize:h=8})=>{if(!a)return{tooltipStyles:{},tooltipArrowStyles:{},place:t};if(i===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:t};const m=c;return n?(m.push(g2({element:n,padding:5})),y2(a,i,{placement:t,strategy:s,middleware:m}).then(({x:v,y:g,placement:_,middlewareData:x})=>{var M,N;const O={left:`${v}px`,top:`${g}px`,border:d},{x:R,y:C}=(M=x.arrow)!==null&&M!==void 0?M:{x:0,y:0},Q=(N={top:"bottom",right:"left",bottom:"top",left:"right"}[_.split("-")[0]])!==null&&N!==void 0?N:"bottom",J=d&&{borderBottom:d,borderRight:d};let K=0;if(d){const re=`${d}`.match(/(\d+)px/);K=re?.[1]?Number(re[1]):1}return{tooltipStyles:O,tooltipArrowStyles:{left:R!=null?`${R}px`:"",top:C!=null?`${C}px`:"",right:"",bottom:"",...J,[Q]:`-${h/2+K}px`},place:_}})):y2(a,i,{placement:"bottom",strategy:s,middleware:m}).then(({x:v,y:g,placement:_})=>({tooltipStyles:{left:`${v}px`,top:`${g}px`},tooltipArrowStyles:{},place:_}))},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]))},gE=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(gE(i))return i;i=i.parentElement}return document.scrollingElement||document.documentElement},yE=typeof window<"u"?y.useLayoutEffect:y.useEffect,Ar=a=>{a.current&&(clearTimeout(a.current),a.current=null)},bE="DEFAULT_TOOLTIP_ID",_E={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},SE=y.createContext({getTooltipData:()=>_E});function V9(a=bE){return y.useContext(SE).getTooltipData(a)}var Kl={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"},c1={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 EE=({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:_,wrapper:x,delayShow:M=0,delayHide:N=0,float:O=!1,hidden:R=!1,noArrow:C=!1,clickable:Q=!1,closeOnEsc:J=!1,closeOnScroll:K=!1,closeOnResize:re=!1,openEvents:V,closeEvents:S,globalCloseEvents:E,imperativeModeOnly:T,style:U,position:q,afterShow:z,afterHide:B,disableTooltip:H,content:w,contentWrapperRef:k,isOpen:L,defaultIsOpen:X=!1,setIsOpen:A,activeAnchor:Y,setActiveAnchor:oe,border:ae,opacity:he,arrowColor:ce,arrowSize:pe=8,role:Ye="tooltip"})=>{var je;const nt=y.useRef(null),nn=y.useRef(null),ut=y.useRef(null),At=y.useRef(null),vt=y.useRef(null),[Ge,Je]=y.useState({tooltipStyles:{},tooltipArrowStyles:{},place:d}),[Lt,Ht]=y.useState(!1),[kn,gn]=y.useState(!1),[ct,zn]=y.useState(null),ke=y.useRef(!1),ge=y.useRef(null),{anchorRefs:Le,setActiveAnchor:Re}=V9(i),Xe=y.useRef(!1),[et,Pt]=y.useState([]),Dt=y.useRef(!1),Yn=v||m.includes("click"),Kn=Yn||V?.click||V?.dblclick||V?.mousedown,jn=V?{...V}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!V&&Yn&&Object.assign(jn,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const fn=S?{...S}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!S&&Yn&&Object.assign(fn,{mouseleave:!1,blur:!1,mouseout:!1});const Tt=E?{...E}:{escape:J||!1,scroll:K||!1,resize:re||!1,clickOutsideAnchor:Kn||!1};T&&(Object.assign(jn,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(fn,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(Tt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),yE(()=>(Dt.current=!0,()=>{Dt.current=!1}),[]);const Be=fe=>{Dt.current&&(fe&&gn(!0),setTimeout(()=>{Dt.current&&(A?.(fe),L===void 0&&Ht(fe))},10))};y.useEffect(()=>{if(L===void 0)return()=>null;L&&gn(!0);const fe=setTimeout(()=>{Ht(L)},10);return()=>{clearTimeout(fe)}},[L]),y.useEffect(()=>{if(Lt!==ke.current)if(Ar(vt),ke.current=Lt,Lt)z?.();else{const fe=(be=>{const we=be.match(/^([\d.]+)(ms|s)$/);if(!we)return 0;const[,ft,It]=we;return Number(ft)*(It==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));vt.current=setTimeout(()=>{gn(!1),zn(null),B?.()},fe+25)}},[Lt]);const dn=fe=>{Je(be=>_2(be,fe)?be:fe)},xn=(fe=M)=>{Ar(ut),kn?Be(!0):ut.current=setTimeout(()=>{Be(!0)},fe)},gr=(fe=N)=>{Ar(At),At.current=setTimeout(()=>{Xe.current||Be(!1)},fe)},Bn=fe=>{var be;if(!fe)return;const we=(be=fe.currentTarget)!==null&&be!==void 0?be:fe.target;if(!we?.isConnected)return oe(null),void Re({current:null});M?xn():Be(!0),oe(we),Re({current:we}),Ar(At)},Ln=()=>{Q?gr(N||100):N?gr():Be(!1),Ar(ut)},Mn=({x:fe,y:be})=>{var we;const ft={getBoundingClientRect:()=>({x:fe,y:be,width:0,height:0,top:be,left:fe,right:fe,bottom:be})};w4({place:(we=ct?.place)!==null&&we!==void 0?we:d,offset:h,elementReference:ft,tooltipReference:nt.current,tooltipArrowReference:nn.current,strategy:g,middlewares:_,border:ae,arrowSize:pe}).then(It=>{dn(It)})},rt=fe=>{if(!fe)return;const be=fe,we={x:be.clientX,y:be.clientY};Mn(we),ge.current=we},In=fe=>{var be;if(!Lt)return;const we=fe.target;we.isConnected&&(!((be=nt.current)===null||be===void 0)&&be.contains(we)||[document.querySelector(`[id='${s}']`),...et].some(ft=>ft?.contains(we))||(Be(!1),Ar(ut)))},nr=T4(Bn,50),He=T4(Ln,50),qt=fe=>{He.cancel(),nr(fe)},xe=()=>{nr.cancel(),He()},Pe=y.useCallback(()=>{var fe,be;const we=(fe=ct?.position)!==null&&fe!==void 0?fe:q;we?Mn(we):O?ge.current&&Mn(ge.current):Y?.isConnected&&w4({place:(be=ct?.place)!==null&&be!==void 0?be:d,offset:h,elementReference:Y,tooltipReference:nt.current,tooltipArrowReference:nn.current,strategy:g,middlewares:_,border:ae,arrowSize:pe}).then(ft=>{Dt.current&&dn(ft)})},[Lt,Y,w,U,d,ct?.place,h,g,q,ct?.position,O,pe]);y.useEffect(()=>{var fe,be;const we=new Set(Le);et.forEach(Te=>{H?.(Te)||we.add({current:Te})});const ft=document.querySelector(`[id='${s}']`);ft&&!H?.(ft)&&we.add({current:ft});const It=()=>{Be(!1)},yn=M4(Y),pn=M4(nt.current);Tt.scroll&&(window.addEventListener("scroll",It),yn?.addEventListener("scroll",It),pn?.addEventListener("scroll",It));let Ct=null;Tt.resize?window.addEventListener("resize",It):Y&&nt.current&&(Ct=F9(Y,nt.current,Pe,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const qe=Te=>{Te.key==="Escape"&&Be(!1)};Tt.escape&&window.addEventListener("keydown",qe),Tt.clickOutsideAnchor&&window.addEventListener("click",In);const Ve=[],at=Te=>!!(Te?.target&&Y?.contains(Te.target)),rr=Te=>{Lt&&at(Te)||Bn(Te)},lt=Te=>{Lt&&at(Te)&&Ln()},bt=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],Se=["click","dblclick","mousedown","mouseup"];Object.entries(jn).forEach(([Te,$e])=>{$e&&(bt.includes(Te)?Ve.push({event:Te,listener:qt}):Se.includes(Te)&&Ve.push({event:Te,listener:rr}))}),Object.entries(fn).forEach(([Te,$e])=>{$e&&(bt.includes(Te)?Ve.push({event:Te,listener:xe}):Se.includes(Te)&&Ve.push({event:Te,listener:lt}))}),O&&Ve.push({event:"pointermove",listener:rt});const j=()=>{Xe.current=!0},ue=()=>{Xe.current=!1,Ln()},me=Q&&(fn.mouseout||fn.mouseleave);return me&&((fe=nt.current)===null||fe===void 0||fe.addEventListener("mouseover",j),(be=nt.current)===null||be===void 0||be.addEventListener("mouseout",ue)),Ve.forEach(({event:Te,listener:$e})=>{we.forEach(pt=>{var gt;(gt=pt.current)===null||gt===void 0||gt.addEventListener(Te,$e)})}),()=>{var Te,$e;Tt.scroll&&(window.removeEventListener("scroll",It),yn?.removeEventListener("scroll",It),pn?.removeEventListener("scroll",It)),Tt.resize?window.removeEventListener("resize",It):Ct?.(),Tt.clickOutsideAnchor&&window.removeEventListener("click",In),Tt.escape&&window.removeEventListener("keydown",qe),me&&((Te=nt.current)===null||Te===void 0||Te.removeEventListener("mouseover",j),($e=nt.current)===null||$e===void 0||$e.removeEventListener("mouseout",ue)),Ve.forEach(({event:pt,listener:gt})=>{we.forEach(rn=>{var bn;(bn=rn.current)===null||bn===void 0||bn.removeEventListener(pt,gt)})})}},[Y,Pe,kn,Le,et,V,S,E,Yn,M,N]),y.useEffect(()=>{var fe,be;let we=(be=(fe=ct?.anchorSelect)!==null&&fe!==void 0?fe:c)!==null&&be!==void 0?be:"";!we&&i&&(we=`[data-tooltip-id='${i.replace(/'/g,"\\'")}']`);const ft=new MutationObserver(It=>{const yn=[],pn=[];It.forEach(Ct=>{if(Ct.type==="attributes"&&Ct.attributeName==="data-tooltip-id"&&(Ct.target.getAttribute("data-tooltip-id")===i?yn.push(Ct.target):Ct.oldValue===i&&pn.push(Ct.target)),Ct.type==="childList"){if(Y){const qe=[...Ct.removedNodes].filter(Ve=>Ve.nodeType===1);if(we)try{pn.push(...qe.filter(Ve=>Ve.matches(we))),pn.push(...qe.flatMap(Ve=>[...Ve.querySelectorAll(we)]))}catch{}qe.some(Ve=>{var at;return!!(!((at=Ve?.contains)===null||at===void 0)&&at.call(Ve,Y))&&(gn(!1),Be(!1),oe(null),Ar(ut),Ar(At),!0)})}if(we)try{const qe=[...Ct.addedNodes].filter(Ve=>Ve.nodeType===1);yn.push(...qe.filter(Ve=>Ve.matches(we))),yn.push(...qe.flatMap(Ve=>[...Ve.querySelectorAll(we)]))}catch{}}}),(yn.length||pn.length)&&Pt(Ct=>[...Ct.filter(qe=>!pn.includes(qe)),...yn])});return ft.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{ft.disconnect()}},[i,c,ct?.anchorSelect,Y]),y.useEffect(()=>{Pe()},[Pe]),y.useEffect(()=>{if(!k?.current)return()=>null;const fe=new ResizeObserver(()=>{setTimeout(()=>Pe())});return fe.observe(k.current),()=>{fe.disconnect()}},[w,k?.current]),y.useEffect(()=>{var fe;const be=document.querySelector(`[id='${s}']`),we=[...et,be];Y&&we.includes(Y)||oe((fe=et[0])!==null&&fe!==void 0?fe:be)},[s,et,Y]),y.useEffect(()=>(X&&Be(!0),()=>{Ar(ut),Ar(At)}),[]),y.useEffect(()=>{var fe;let be=(fe=ct?.anchorSelect)!==null&&fe!==void 0?fe:c;if(!be&&i&&(be=`[data-tooltip-id='${i.replace(/'/g,"\\'")}']`),be)try{const we=Array.from(document.querySelectorAll(be));Pt(we)}catch{Pt([])}},[i,c,ct?.anchorSelect]),y.useEffect(()=>{ut.current&&(Ar(ut),xn(M))},[M]);const tt=(je=ct?.content)!==null&&je!==void 0?je:w,Bt=Lt&&Object.keys(Ge.tooltipStyles).length>0;return y.useImperativeHandle(a,()=>({open:fe=>{if(fe?.anchorSelect)try{document.querySelector(fe.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${fe.anchorSelect}" is not a valid CSS selector`)}zn(fe??null),fe?.delay?xn(fe.delay):Be(!0)},close:fe=>{fe?.delay?gr(fe.delay):Be(!1)},activeAnchor:Y,place:Ge.place,isOpen:!!(kn&&!R&&tt&&Bt)})),kn&&!R&&tt?G.createElement(x,{id:i,role:Ye,className:b2("react-tooltip",Kl.tooltip,c1.tooltip,c1[l],n,`react-tooltip__place-${Ge.place}`,Kl[Bt?"show":"closing"],Bt?"react-tooltip__show":"react-tooltip__closing",g==="fixed"&&Kl.fixed,Q&&Kl.clickable),onTransitionEnd:fe=>{Ar(vt),Lt||fe.propertyName!=="opacity"||(gn(!1),zn(null),B?.())},style:{...U,...Ge.tooltipStyles,opacity:he!==void 0&&Bt?he:void 0},ref:nt},tt,G.createElement(x,{className:b2("react-tooltip-arrow",Kl.arrow,c1.arrow,t,C&&Kl.noArrow),style:{...Ge.tooltipArrowStyles,background:ce?`linear-gradient(to right bottom, transparent 50%, ${ce} 50%)`:void 0,"--rt-arrow-size":`${pe}px`},ref:nn})):null},wE=({content:a})=>G.createElement("span",{dangerouslySetInnerHTML:{__html:a}}),DE=G.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:_=null,events:x=["hover"],openOnClick:M=!1,positionStrategy:N="absolute",middlewares:O,delayShow:R=0,delayHide:C=0,float:Q=!1,hidden:J=!1,noArrow:K=!1,clickable:re=!1,closeOnEsc:V=!1,closeOnScroll:S=!1,closeOnResize:E=!1,openEvents:T,closeEvents:U,globalCloseEvents:q,imperativeModeOnly:z=!1,style:B,position:H,isOpen:w,defaultIsOpen:k=!1,disableStyleInjection:L=!1,border:X,opacity:A,arrowColor:Y,arrowSize:oe,setIsOpen:ae,afterShow:he,afterHide:ce,disableTooltip:pe,role:Ye="tooltip"},je)=>{const[nt,nn]=y.useState(t),[ut,At]=y.useState(l),[vt,Ge]=y.useState(m),[Je,Lt]=y.useState(h),[Ht,kn]=y.useState(v),[gn,ct]=y.useState(R),[zn,ke]=y.useState(C),[ge,Le]=y.useState(Q),[Re,Xe]=y.useState(J),[et,Pt]=y.useState(g),[Dt,Yn]=y.useState(x),[Kn,jn]=y.useState(N),[fn,Tt]=y.useState(null),[Be,dn]=y.useState(null),xn=y.useRef(L),{anchorRefs:gr,activeAnchor:Bn}=V9(a),Ln=He=>He?.getAttributeNames().reduce((qt,xe)=>{var Pe;return xe.startsWith("data-tooltip-")&&(qt[xe.replace(/^data-tooltip-/,"")]=(Pe=He?.getAttribute(xe))!==null&&Pe!==void 0?Pe:null),qt},{}),Mn=He=>{const qt={place:xe=>{var Pe;Ge((Pe=xe)!==null&&Pe!==void 0?Pe:m)},content:xe=>{nn(xe??t)},html:xe=>{At(xe??l)},variant:xe=>{var Pe;Lt((Pe=xe)!==null&&Pe!==void 0?Pe:h)},offset:xe=>{kn(xe===null?v:Number(xe))},wrapper:xe=>{var Pe;Pt((Pe=xe)!==null&&Pe!==void 0?Pe:g)},events:xe=>{const Pe=xe?.split(" ");Yn(Pe??x)},"position-strategy":xe=>{var Pe;jn((Pe=xe)!==null&&Pe!==void 0?Pe:N)},"delay-show":xe=>{ct(xe===null?R:Number(xe))},"delay-hide":xe=>{ke(xe===null?C:Number(xe))},float:xe=>{Le(xe===null?Q:xe==="true")},hidden:xe=>{Xe(xe===null?J:xe==="true")},"class-name":xe=>{Tt(xe)}};Object.values(qt).forEach(xe=>xe(null)),Object.entries(He).forEach(([xe,Pe])=>{var tt;(tt=qt[xe])===null||tt===void 0||tt.call(qt,Pe)})};y.useEffect(()=>{nn(t)},[t]),y.useEffect(()=>{At(l)},[l]),y.useEffect(()=>{Ge(m)},[m]),y.useEffect(()=>{Lt(h)},[h]),y.useEffect(()=>{kn(v)},[v]),y.useEffect(()=>{ct(R)},[R]),y.useEffect(()=>{ke(C)},[C]),y.useEffect(()=>{Le(Q)},[Q]),y.useEffect(()=>{Xe(J)},[J]),y.useEffect(()=>{jn(N)},[N]),y.useEffect(()=>{xn.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 He;const qt=new Set(gr);let xe=n;if(!xe&&a&&(xe=`[data-tooltip-id='${a.replace(/'/g,"\\'")}']`),xe)try{document.querySelectorAll(xe).forEach(be=>{qt.add({current:be})})}catch{console.warn(`[react-tooltip] "${xe}" is not a valid CSS selector`)}const Pe=document.querySelector(`[id='${i}']`);if(Pe&&qt.add({current:Pe}),!qt.size)return()=>null;const tt=(He=Be??Pe)!==null&&He!==void 0?He:Bn.current,Bt=new MutationObserver(be=>{be.forEach(we=>{var ft;if(!tt||we.type!=="attributes"||!(!((ft=we.attributeName)===null||ft===void 0)&&ft.startsWith("data-tooltip-")))return;const It=Ln(tt);Mn(It)})}),fe={attributes:!0,childList:!1,subtree:!1};if(tt){const be=Ln(tt);Mn(be),Bt.observe(tt,fe)}return()=>{Bt.disconnect()}},[gr,Bn,Be,i,n]),y.useEffect(()=>{B?.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),X&&!D4("border",`${X}`)&&console.warn(`[react-tooltip] "${X}" is not a valid \`border\`.`),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 rt=_;const In=y.useRef(null);if(s){const He=s({content:Be?.getAttribute("data-tooltip-content")||nt||null,activeAnchor:Be});rt=He?G.createElement("div",{ref:In,className:"react-tooltip-content-wrapper"},He):null}else nt&&(rt=nt);ut&&(rt=G.createElement(wE,{content:ut}));const nr={forwardRef:je,id:a,anchorId:i,anchorSelect:n,className:b2(c,fn),classNameArrow:d,content:rt,contentWrapperRef:In,place:vt,variant:Je,offset:Ht,wrapper:et,events:Dt,openOnClick:M,positionStrategy:Kn,middlewares:O,delayShow:gn,delayHide:zn,float:ge,hidden:Re,noArrow:K,clickable:re,closeOnEsc:V,closeOnScroll:S,closeOnResize:E,openEvents:T,closeEvents:U,globalCloseEvents:q,imperativeModeOnly:z,style:B,position:H,isOpen:w,defaultIsOpen:k,border:X,opacity:A,arrowColor:Y,arrowSize:oe,setIsOpen:ae,afterShow:he,afterHide:ce,disableTooltip:pe,activeAnchor:Be,setActiveAnchor:He=>dn(He),role:Ye};return G.createElement(EE,{...nr})});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;--rt-arrow-size:8px}.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;z-index:-1}.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:var(--rt-arrow-size);height:var(--rt-arrow-size)}[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 TE(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 xE=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 W9=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 ME(a){return a!=null?(a.preventDefault(),a.stopPropagation(),!1):!0}function gs(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 qS.sanitize(a,{ADD_ATTR:["target"]})}function OE(){return crypto.randomUUID&&typeof crypto.randomUUID=="function"&&crypto.randomUUID()||Math.round(new Date().getTime()*Math.random()*1e3).toString()}var AE=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 G.createElement("div",{className:t},G.createElement("div",{className:"sds--alert--inner ".concat(a.asChild?"":"sds--page-container")},G.createElement("div",{className:"sds--alert--visual"},[Ei.Error,Ei.Warning].includes(i)&&G.createElement(rm,null),[Ei.Default,Ei.Info].includes(i)&&G.createElement(Fc,null),[Ei.Success].includes(i)&&G.createElement(nm,null)),G.createElement("div",{className:"sds--alert--textual"},G.createElement("p",{dangerouslySetInnerHTML:{__html:co(a.message)}}),a.action&&G.createElement("button",{type:"button",onClick:a.action,className:"sds--btn sds--btn--ghost--dark sds--btn--small"},a.actionLabel)),a.close&&G.createElement("button",{className:"sds--alert--actions",onClick:a.close},G.createElement("span",{className:"text sds--visually-hidden"},"Close alert"),G.createElement(W9,null))))},CE=function(a){var i="sds--badge--number ".concat(a.colored?"sds--badge--number--colored":""," ").concat(a.small?"sds--badge--number--small":"");return G.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 RE=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 xi=O2,A2;(function(a){a.Default="",a.Small="sds--btn--small",a.Full="sds--btn--full"})(A2||(A2={}));var am=A2;xi.Primary,am.Default;var ro=function(a){var i="".concat((a.type||xi.Primary).toLowerCase()," ")+"".concat(a.type&&a.type===xi.DeleteSecondary?xi.Secondary.toLowerCase():""),n="".concat((a.size||am.Default).toLowerCase()),t=a.children?"sds--btn-chevron":"",l=a.icon?"sds--btn-icon":"",s=a.active||!1,c="sds--btn ".concat(i," ").concat(n," ").concat(t," ").concat(l," ").concat(s?"active":""),d=function(h){ME(h),!a.disabled&&a.onClick&&a.onClick(h)};return G.createElement("button",{type:"button",className:c,onClick:d,disabled:a.disabled},a.children,a.txt&&G.createElement("span",{className:"textual",dangerouslySetInnerHTML:{__html:co(a.txt||"")}}),a.type===xi.Delete?G.createElement(RE,null):a.icon)},NE=function(a){var i="A"+OE();return G.createElement("div",{"data-tooltip-id":i,className:"sds--tooltip-container ".concat(a.standalone?"":"sibbling"),"data-tooltip-html":co(a.tip)},a.children?G.Children.map(a.children,function(n){return n}):G.createElement(Fc,null),G.createElement(DE,{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 Q9=C2,kE=function(a){var i=a.type?a.type:Q9.Main_100;return G.createElement("button",{className:"sds--chips ".concat(i)},a.children&&G.createElement("span",{className:"sds--chips--visual"},a.children),G.createElement("span",{className:"sds--chips--textual sds--text--body--small"},a.label))},rc=35,LE=["Delete","Backspace"],K9=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=gs(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 _=g.target.value;if(!(a.validate&&!a.validate(_))){var x=TE([],n);if(x[v]=a.transformer?a.transformer(_):_,t(x),a.intermediateCallback&&a.intermediateCallback(x),v!==a.size-1&&!gs(_)){var M=l.current[v+1];setTimeout(function(){return M.focus()},rc)}else gs(_)||setTimeout(function(){return a.verify(x.join(""))},rc)}},h=function(v,g){if(LE.includes(g.key)&&v>0&&g.target.value===""){var _=l.current[v-1];_.focus()}return!0},m=function(v,g){if(v!==0)return!1;var _=g.clipboardData.getData("text/plain"),x=_.split("");if(x.length!==a.size||a.validate&&x.map(function(N){return a.validate(N)}).some(function(N){return!N}))return!1;t(a.transformer?x.map(function(N){return a.transformer(N)}):x);var M=l.current[a.size-1];return M.focus(),setTimeout(function(){return a.verify(x.join(""))},rc),!0};return G.createElement("div",{className:"sds--code-validation-container"},G.createElement("div",{className:"sds--code-validation"},Array(a.size).fill("").map(function(v,g){return G.createElement("input",{type:"text",key:"input_".concat(g),disabled:s||gs(n[g])&&g!==0&&gs(n[g-1]),value:n[g]||"",onChange:function(_){return d(g,_)},onKeyDown:function(_){return h(g,_)},onPaste:function(_){return m(g,_)},maxLength:1,ref:function(_){return l.current[g]=_},className:"value index_".concat(g)})})),a.info&&G.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 qE=function(a){var i=a.errorIndicatorType||wi.Error,n="".concat(i.toLowerCase());return G.createElement("div",{className:"sds--error-indicator ".concat(n)},G.createElement("div",{className:"sds--error-indicator--visual"},[wi.Error,wi.Warning].includes(i)&&G.createElement(rm,null),[wi.Default,wi.Info].includes(i)&&G.createElement(Fc,null),[wi.Success].includes(i)&&G.createElement(nm,null)),G.createElement("div",{className:"sds--error-indicator-textual"},a.message&&G.createElement("p",{dangerouslySetInnerHTML:{__html:co(a.message)}})))},im=function(a){var i="sds--loading-container ".concat(a.className||"");return G.createElement("div",{className:i},G.createElement("div",{className:"sds--loading"},G.createElement("span",{className:"sds--loading--dot"}),G.createElement("span",{className:"sds--loading--dot"}),G.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 UE=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,X9=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 G.createElement("div",{className:n},G.createElement("span",{className:"sds--branding--visual"},a.CustomLogo?G.createElement(a.CustomLogo,null):G.createElement(UE,null)),G.createElement("span",{className:"sds--branding--textual"},a.label))},L2;(function(a){a.Bottom="Bottom",a.Up="Up"})(L2||(L2={}));var $9=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 G.createElement("div",{className:"sds--tooltip-parent",onClick:function(){return!a.disabled&&a.onChange(!a.value)}},G.createElement("span",{className:i,role:"switch","aria-checked":a.value}),a.tooltip&&G.createElement(NE,{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 G.createElement("div",{className:l},G.createElement("div",{className:"sds--toaster--visual"},[Di.Error,Di.Warning].includes(a.toasterType)&&G.createElement(rm,null),[Di.Default,Di.Info].includes(a.toasterType)&&G.createElement(Fc,null),[Di.Success].includes(a.toasterType)&&G.createElement(nm,null)),G.createElement("div",{className:"sds--toaster--textual"},a.message&&G.createElement("p",{dangerouslySetInnerHTML:{__html:co(a.message)}}),a.children&&a.children,a.action&&G.createElement("button",{type:"button",onClick:a.action,className:"sds--btn sds--btn--ghost--dark sds--btn--small"},a.actionLabel)),a.close&&G.createElement("button",{className:"sds--alert--actions",onClick:a.close},G.createElement("span",{className:"text sds--visually-hidden"},"Close alert"),G.createElement(W9,null)))},HE=function(a){return G.createElement("div",{className:"sds--toaster-container"},a.children)},PE=function(a){return G.createElement("nav",{className:"sds--user-info ".concat(a.isOpen?"is-open":"")},G.createElement("div",{className:"sds--user-info--textual"},G.createElement("p",{className:"name"},a.userName),G.createElement("p",{className:"role sds--text--body--small"},a.organisationName)),G.createElement("button",{type:"button",className:"sds--user-info--button",onClick:a.toggle},G.createElement(xE,null)),G.createElement("div",{className:"sds--user-info--dropdown"},a.children&&a.children))},ys={},G4;function zE(){if(G4)return ys;G4=1,Object.defineProperty(ys,"__esModule",{value:!0}),ys.parse=c,ys.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 _=function(){};return _.prototype=Object.create(null),_})();function c(_,x){const M=new s,N=_.length;if(N<2)return M;const O=x?.decode||v;let R=0;do{const C=_.indexOf("=",R);if(C===-1)break;const Q=_.indexOf(";",R),J=Q===-1?N:Q;if(C>J){R=_.lastIndexOf(";",C-1)+1;continue}const K=d(_,R,C),re=h(_,C,K),V=_.slice(K,re);if(M[V]===void 0){let S=d(_,C+1,J),E=h(_,J,S);const T=O(_.slice(S,E));M[V]=T}R=J+1}while(R<N);return M}function d(_,x,M){do{const N=_.charCodeAt(x);if(N!==32&&N!==9)return x}while(++x<M);return M}function h(_,x,M){for(;x>M;){const N=_.charCodeAt(--x);if(N!==32&&N!==9)return x+1}return M}function m(_,x,M){const N=M?.encode||encodeURIComponent;if(!a.test(_))throw new TypeError(`argument name is invalid: ${_}`);const O=N(x);if(!i.test(O))throw new TypeError(`argument val is invalid: ${x}`);let R=_+"="+O;if(!M)return R;if(M.maxAge!==void 0){if(!Number.isInteger(M.maxAge))throw new TypeError(`option maxAge is invalid: ${M.maxAge}`);R+="; Max-Age="+M.maxAge}if(M.domain){if(!n.test(M.domain))throw new TypeError(`option domain is invalid: ${M.domain}`);R+="; Domain="+M.domain}if(M.path){if(!t.test(M.path))throw new TypeError(`option path is invalid: ${M.path}`);R+="; Path="+M.path}if(M.expires){if(!g(M.expires)||!Number.isFinite(M.expires.valueOf()))throw new TypeError(`option expires is invalid: ${M.expires}`);R+="; Expires="+M.expires.toUTCString()}if(M.httpOnly&&(R+="; HttpOnly"),M.secure&&(R+="; Secure"),M.partitioned&&(R+="; Partitioned"),M.priority)switch(typeof M.priority=="string"?M.priority.toLowerCase():void 0){case"low":R+="; Priority=Low";break;case"medium":R+="; Priority=Medium";break;case"high":R+="; 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":R+="; SameSite=Strict";break;case"lax":R+="; SameSite=Lax";break;case"none":R+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${M.sameSite}`)}return R}function v(_){if(_.indexOf("%")===-1)return _;try{return decodeURIComponent(_)}catch{return _}}function g(_){return l.call(_)==="[object Date]"}return ys}zE();var Z4="popstate";function YE(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:Us(l)}return BE(i,n,null,a)}function jt(a,i){if(a===!1||a===null||typeof a>"u")throw new Error(i)}function Wr(a,i){if(!a){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function jE(){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||jE()}}function Us({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 BE(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 O=v(),R=O==null?null:O-m;m=O,h&&h({action:d,location:N.location,delta:R})}function _(O,R){d="PUSH";let C=U2(N.location,O,R);m=v()+1;let Q=V4(C,m),J=N.createHref(C);try{c.pushState(Q,"",J)}catch(K){if(K instanceof DOMException&&K.name==="DataCloneError")throw K;l.location.assign(J)}s&&h&&h({action:d,location:N.location,delta:1})}function x(O,R){d="REPLACE";let C=U2(N.location,O,R);m=v();let Q=V4(C,m),J=N.createHref(C);c.replaceState(Q,"",J),s&&h&&h({action:d,location:N.location,delta:0})}function M(O){return IE(O)}let N={get action(){return d},get location(){return a(l,c)},listen(O){if(h)throw new Error("A history only accepts one active listener");return l.addEventListener(Z4,g),h=O,()=>{l.removeEventListener(Z4,g),h=null}},createHref(O){return i(l,O)},createURL:M,encodeLocation(O){let R=M(O);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:_,replace:x,go(O){return c.go(O)}};return N}function IE(a,i=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),jt(n,"No window.location.(origin|href) available to create URL");let t=typeof a=="string"?a:Us(a);return t=t.replace(/ $/,"%20"),!i&&t.startsWith("//")&&(t=n+t),new URL(t,n)}function J9(a,i,n="/"){return FE(a,i,n,!1)}function FE(a,i,n,t){let l=typeof i=="string"?fo(i):i,s=Fa(l.pathname||"/",n);if(s==null)return null;let c=e8(a);GE(c);let d=null;for(let h=0;d==null&&h<c.length;++h){let m=nw(s);d=ew(c[h],m,t)}return d}function e8(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("/")&&(jt(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&&(jt(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),e8(s.children,i,v,m)),!(s.path==null&&!s.index)&&i.push({path:m,score:$E(m,s.index),routesMeta:v})};return a.forEach((s,c)=>{if(s.path===""||!s.path?.includes("?"))l(s,c);else for(let d of t8(s.path))l(s,c,d)}),i}function t8(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=t8(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 GE(a){a.sort((i,n)=>i.score!==n.score?n.score-i.score:JE(i.routesMeta.map(t=>t.childrenIndex),n.routesMeta.map(t=>t.childrenIndex)))}var ZE=/^:[\w-]+$/,VE=3,WE=2,QE=1,KE=10,XE=-2,W4=a=>a==="*";function $E(a,i){let n=a.split("/"),t=n.length;return n.some(W4)&&(t+=XE),i&&(t+=WE),n.filter(l=>!W4(l)).reduce((l,s)=>l+(ZE.test(s)?VE:s===""?QE:KE),t)}function JE(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 ew(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),_=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:lw(Ha([s,g.pathnameBase])),route:_}),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]=tw(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},_)=>{if(v==="*"){let M=d[_]||"";c=s.slice(0,s.length-M.length).replace(/(.)\/+$/,"$1")}const x=d[_];return g&&!x?m[v]=void 0:m[v]=(x||"").replace(/%2F/g,"/"),m},{}),pathname:s,pathnameBase:c,pattern:a}}function tw(a,i=!1,n=!0){Wr(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 nw(a){try{return a.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return Wr(!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 rw(a,i="/"){let{pathname:n,search:t="",hash:l=""}=typeof a=="string"?fo(a):a;return{pathname:n?n.startsWith("/")?n:aw(n,i):i,search:ow(t),hash:sw(l)}}function aw(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 f1(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 iw(a){return a.filter((i,n)=>n===0||i.route.path&&i.route.path.length>0)}function om(a){let i=iw(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},jt(!l.pathname||!l.pathname.includes("?"),f1("?","pathname","search",l)),jt(!l.pathname||!l.pathname.includes("#"),f1("#","pathname","hash",l)),jt(!l.search||!l.search.includes("#"),f1("#","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 _=c.split("/");for(;_[0]==="..";)_.shift(),g-=1;l.pathname=_.join("/")}d=g>=0?i[g]:"/"}let h=rw(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,"/"),lw=a=>a.replace(/\/+$/,"").replace(/^\/*/,"/"),ow=a=>!a||a==="?"?"":a.startsWith("?")?a:"?"+a,sw=a=>!a||a==="#"?"":a.startsWith("#")?a:"#"+a;function uw(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.internal=="boolean"&&"data"in a}var n8=["POST","PUT","PATCH","DELETE"];new Set(n8);var cw=["GET",...n8];new Set(cw);var po=y.createContext(null);po.displayName="DataRouter";var Gc=y.createContext(null);Gc.displayName="DataRouterState";var r8=y.createContext({isTransitioning:!1});r8.displayName="ViewTransition";var fw=y.createContext(new Map);fw.displayName="Fetchers";var dw=y.createContext(null);dw.displayName="Await";var Kr=y.createContext(null);Kr.displayName="Navigation";var js=y.createContext(null);js.displayName="Location";var Xr=y.createContext({outlet:null,matches:[],isDataRoute:!1});Xr.displayName="Route";var um=y.createContext(null);um.displayName="RouteError";function pw(a,{relative:i}={}){jt(ho(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:t}=y.useContext(Kr),{hash:l,pathname:s,search:c}=Bs(a,{relative:i}),d=s;return n!=="/"&&(d=s==="/"?n:Ha([n,s])),t.createHref({pathname:d,search:c,hash:l})}function ho(){return y.useContext(js)!=null}function ki(){return jt(ho(),"useLocation() may be used only in the context of a <Router> component."),y.useContext(js).location}var a8="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function i8(a){y.useContext(Kr).static||y.useLayoutEffect(a)}function fl(){let{isDataRoute:a}=y.useContext(Xr);return a?xw():hw()}function hw(){jt(ho(),"useNavigate() may be used only in the context of a <Router> component.");let a=y.useContext(po),{basename:i,navigator:n}=y.useContext(Kr),{matches:t}=y.useContext(Xr),{pathname:l}=ki(),s=JSON.stringify(om(t)),c=y.useRef(!1);return i8(()=>{c.current=!0}),y.useCallback((h,m={})=>{if(Wr(c.current,a8),!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 l8(){let{matches:a}=y.useContext(Xr),i=a[a.length-1];return i?i.params:{}}function Bs(a,{relative:i}={}){let{matches:n}=y.useContext(Xr),{pathname:t}=ki(),l=JSON.stringify(om(n));return y.useMemo(()=>sm(a,JSON.parse(l),t,i==="path"),[a,l,t,i])}function mw(a,i){return o8(a,i)}function o8(a,i,n,t){jt(ho(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:l}=y.useContext(Kr),{matches:s}=y.useContext(Xr),c=s[s.length-1],d=c?c.params:{},h=c?c.pathname:"/",m=c?c.pathnameBase:"/",v=c&&c.route;{let R=v&&v.path||"";s8(h,!v||R.endsWith("*")||R.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${R}">) 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="${R}"> to <Route path="${R==="/"?"*":`${R}/*`}">.`)}let g=ki(),_;if(i){let R=typeof i=="string"?fo(i):i;jt(m==="/"||R.pathname?.startsWith(m),`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 "${m}" but pathname "${R.pathname}" was given in the \`location\` prop.`),_=R}else _=g;let x=_.pathname||"/",M=x;if(m!=="/"){let R=m.replace(/^\//,"").split("/");M="/"+x.replace(/^\//,"").split("/").slice(R.length).join("/")}let N=J9(a,{pathname:M});Wr(v||N!=null,`No routes matched location "${_.pathname}${_.search}${_.hash}" `),Wr(N==null||N[N.length-1].route.element!==void 0||N[N.length-1].route.Component!==void 0||N[N.length-1].route.lazy!==void 0,`Matched leaf route at location "${_.pathname}${_.search}${_.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 O=_w(N&&N.map(R=>Object.assign({},R,{params:Object.assign({},d,R.params),pathname:Ha([m,l.encodeLocation?l.encodeLocation(R.pathname).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?m:Ha([m,l.encodeLocation?l.encodeLocation(R.pathnameBase).pathname:R.pathnameBase])})),s,n,t);return i&&O?y.createElement(js.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",..._},navigationType:"POP"}},O):O}function vw(){let a=Tw(),i=uw(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 gw=y.createElement(vw,null),yw=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(Xr.Provider,{value:this.props.routeContext},y.createElement(um.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function bw({routeContext:a,match:i,children:n}){let t=y.useContext(po);return t&&t.static&&t.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(t.staticContext._deepestRenderedBoundaryId=i.route.id),y.createElement(Xr.Provider,{value:a},n)}function _w(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?.errors;if(s!=null){let h=l.findIndex(m=>m.route.id&&s?.[m.route.id]!==void 0);jt(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,_=m.route.loader&&!v.hasOwnProperty(m.route.id)&&(!g||g[m.route.id]===void 0);if(m.route.lazy||_){c=!0,d>=0?l=l.slice(0,d+1):l=[l[0]];break}}}return l.reduceRight((h,m,v)=>{let g,_=!1,x=null,M=null;n&&(g=s&&m.route.id?s[m.route.id]:void 0,x=m.route.errorElement||gw,c&&(d<0&&v===0?(s8("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),_=!0,M=null):d===v&&(_=!0,M=m.route.hydrateFallbackElement||null)));let N=i.concat(l.slice(0,v+1)),O=()=>{let R;return g?R=x:_?R=M:m.route.Component?R=y.createElement(m.route.Component,null):m.route.element?R=m.route.element:R=h,y.createElement(bw,{match:m,routeContext:{outlet:h,matches:N,isDataRoute:n!=null},children:R})};return n&&(m.route.ErrorBoundary||m.route.errorElement||v===0)?y.createElement(yw,{location:n.location,revalidation:n.revalidation,component:x,error:g,children:O(),routeContext:{outlet:null,matches:N,isDataRoute:!0}}):O()},null)}function cm(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Sw(a){let i=y.useContext(po);return jt(i,cm(a)),i}function Ew(a){let i=y.useContext(Gc);return jt(i,cm(a)),i}function ww(a){let i=y.useContext(Xr);return jt(i,cm(a)),i}function fm(a){let i=ww(a),n=i.matches[i.matches.length-1];return jt(n.route.id,`${a} can only be used on routes that contain a unique "id"`),n.route.id}function Dw(){return fm("useRouteId")}function Tw(){let a=y.useContext(um),i=Ew("useRouteError"),n=fm("useRouteError");return a!==void 0?a:i.errors?.[n]}function xw(){let{router:a}=Sw("useNavigate"),i=fm("useNavigate"),n=y.useRef(!1);return i8(()=>{n.current=!0}),y.useCallback(async(l,s={})=>{Wr(n.current,a8),n.current&&(typeof l=="number"?a.navigate(l):await a.navigate(l,{fromRouteId:i,...s}))},[a,i])}var Q4={};function s8(a,i,n){!i&&!Q4[a]&&(Q4[a]=!0,Wr(!1,n))}y.memo(Mw);function Mw({routes:a,future:i,state:n}){return o8(a,void 0,n,i)}function K4({to:a,replace:i,state:n,relative:t}){jt(ho(),"<Navigate> may be used only in the context of a <Router> component.");let{static:l}=y.useContext(Kr);Wr(!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(Xr),{pathname:c}=ki(),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){jt(!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 Ow({basename:a="/",children:i=null,location:n,navigationType:t="POP",navigator:l,static:s=!1}){jt(!ho(),"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:_="default"}=n,x=y.useMemo(()=>{let M=Fa(h,c);return M==null?null:{location:{pathname:M,search:m,hash:v,state:g,key:_},navigationType:t}},[c,h,m,v,g,_,t]);return Wr(x!=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.`),x==null?null:y.createElement(Kr.Provider,{value:d},y.createElement(js.Provider,{children:i,value:x}))}function H2({children:a,location:i}){return mw(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}jt(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>`),jt(!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 Aw(a){return Zc(a)&&a.tagName.toLowerCase()==="button"}function Cw(a){return Zc(a)&&a.tagName.toLowerCase()==="form"}function Rw(a){return Zc(a)&&a.tagName.toLowerCase()==="input"}function Nw(a){return!!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)}function kw(a,i){return a.button===0&&(!i||i==="_self")&&!Nw(a)}var ac=null;function Lw(){if(ac===null)try{new FormData(document.createElement("form"),0),ac=!1}catch{ac=!0}return ac}var qw=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function d1(a){return a!=null&&!qw.has(a)?(Wr(!1,`"${a}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${gc}"`),null):a}function Uw(a,i){let n,t,l,s,c;if(Cw(a)){let d=a.getAttribute("action");t=d?Fa(d,i):null,n=a.getAttribute("method")||vc,l=d1(a.getAttribute("enctype"))||gc,s=new FormData(a)}else if(Aw(a)||Rw(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=d1(a.getAttribute("formenctype"))||d1(d.getAttribute("enctype"))||gc,s=new FormData(d,a),!Lw()){let{name:m,type:v,value:g}=a;if(v==="image"){let _=m?`${m}.`:"";s.append(`${_}x`,"0"),s.append(`${_}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 Hw(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 Pw(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 zw(a,i,n){let t=await Promise.all(a.map(async l=>{let s=i.routes[l.route.id];if(s){let c=await Hw(s,n);return c.links?c.links():[]}return[]}));return Iw(t.flat(1).filter(Pw).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)=>n[m].pathname!==h.pathname||n[m].route.path?.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)=>{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 g=h.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(a,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof g=="boolean")return g}return!0}):[]}function Yw(a,i,{includeHydrateFallback:n}={}){return jw(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 jw(a){return[...new Set(a)]}function Bw(a){let i={},n=Object.keys(a).sort();for(let t of n)i[t]=a[t];return i}function Iw(a,i){let n=new Set;return new Set(i),a.reduce((t,l)=>{let s=JSON.stringify(Bw(l));return n.has(s)||(n.add(s),t.push({key:s,link:l})),t},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Fw=new Set([100,101,204,205]);function Gw(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 u8(){let a=y.useContext(po);return dm(a,"You must render this element inside a <DataRouterContext.Provider> element"),a}function Zw(){let a=y.useContext(Gc);return dm(a,"You must render this element inside a <DataRouterStateContext.Provider> element"),a}var pm=y.createContext(void 0);pm.displayName="FrameworkContext";function c8(){let a=y.useContext(pm);return dm(a,"You must render this element inside a <HydratedRouter> element"),a}function Vw(a,i){let n=y.useContext(pm),[t,l]=y.useState(!1),[s,c]=y.useState(!1),{onFocus:d,onBlur:h,onMouseEnter:m,onMouseLeave:v,onTouchStart:g}=i,_=y.useRef(null);y.useEffect(()=>{if(a==="render"&&c(!0),a==="viewport"){let N=R=>{R.forEach(C=>{c(C.isIntersecting)})},O=new IntersectionObserver(N,{threshold:.5});return _.current&&O.observe(_.current),()=>{O.disconnect()}}},[a]),y.useEffect(()=>{if(t){let N=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(N)}}},[t]);let x=()=>{l(!0)},M=()=>{l(!1),c(!1)};return n?a!=="intent"?[s,_,{}]:[s,_,{onFocus:bs(d,x),onBlur:bs(h,M),onMouseEnter:bs(m,x),onMouseLeave:bs(v,M),onTouchStart:bs(g,x)}]:[!1,_,{}]}function bs(a,i){return n=>{a&&a(n),n.defaultPrevented||i(n)}}function Ww({page:a,...i}){let{router:n}=u8(),t=y.useMemo(()=>J9(n.routes,a,n.basename),[n.routes,a,n.basename]);return t?y.createElement(Kw,{page:a,matches:t,...i}):null}function Qw(a){let{manifest:i,routeModules:n}=c8(),[t,l]=y.useState([]);return y.useEffect(()=>{let s=!1;return zw(a,i,n).then(c=>{s||l(c)}),()=>{s=!0}},[a,i,n]),t}function Kw({page:a,matches:i,...n}){let t=ki(),{manifest:l,routeModules:s}=c8(),{basename:c}=u8(),{loaderData:d,matches:h}=Zw(),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,N=!1;if(i.forEach(R=>{let C=l.routes[R.route.id];!C||!C.hasLoader||(!m.some(Q=>Q.route.id===R.route.id)&&R.route.id in d&&s[R.route.id]?.shouldRevalidate||C.hasClientLoader?N=!0:M.add(R.route.id))}),M.size===0)return[];let O=Gw(a,c);return N&&M.size>0&&O.searchParams.set("_routes",i.filter(R=>M.has(R.route.id)).map(R=>R.route.id).join(",")),[O.pathname+O.search]},[c,d,t,l,m,i,a,s]),_=y.useMemo(()=>Yw(v,l),[v,l]),x=Qw(v);return y.createElement(y.Fragment,null,g.map(M=>y.createElement("link",{key:M,rel:"prefetch",as:"fetch",href:M,...n})),_.map(M=>y.createElement("link",{key:M,rel:"modulepreload",href:M,...n})),x.map(({key:M,link:N})=>y.createElement("link",{key:M,...N})))}function Xw(...a){return i=>{a.forEach(n=>{typeof n=="function"?n(i):n!=null&&(n.current=i)})}}var f8=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{f8&&(window.__reactRouterVersion="7.6.3")}catch{}function $w({basename:a,children:i,window:n}){let t=y.useRef();t.current==null&&(t.current=YE({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(Ow,{basename:a,children:i,location:s.location,navigationType:s.action,navigator:l})}var d8=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,hm=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,..._},x){let{basename:M}=y.useContext(Kr),N=typeof m=="string"&&d8.test(m),O,R=!1;if(typeof m=="string"&&N&&(O=m,f8))try{let E=new URL(window.location.href),T=m.startsWith("//")?new URL(E.protocol+m):new URL(m),U=Fa(T.pathname,M);T.origin===E.origin&&U!=null?m=U+T.search+T.hash:R=!0}catch{Wr(!1,`<Link to="${m}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let C=pw(m,{relative:l}),[Q,J,K]=Vw(t,_),re=nD(m,{replace:c,state:d,target:h,preventScrollReset:v,relative:l,viewTransition:g});function V(E){i&&i(E),E.defaultPrevented||re(E)}let S=y.createElement("a",{..._,...K,href:O||C,onClick:R||s?i:V,ref:Xw(x,J),target:h,"data-discover":!N&&n==="render"?"true":void 0});return Q&&!N?y.createElement(y.Fragment,null,S,y.createElement(Ww,{page:C})):S});hm.displayName="Link";var Jw=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=Bs(c,{relative:m.relative}),_=ki(),x=y.useContext(Gc),{navigator:M,basename:N}=y.useContext(Kr),O=x!=null&&oD(g)&&d===!0,R=M.encodeLocation?M.encodeLocation(g).pathname:g.pathname,C=_.pathname,Q=x&&x.navigation&&x.navigation.location?x.navigation.location.pathname:null;n||(C=C.toLowerCase(),Q=Q?Q.toLowerCase():null,R=R.toLowerCase()),Q&&N&&(Q=Fa(Q,N)||Q);const J=R!=="/"&&R.endsWith("/")?R.length-1:R.length;let K=C===R||!l&&C.startsWith(R)&&C.charAt(J)==="/",re=Q!=null&&(Q===R||!l&&Q.startsWith(R)&&Q.charAt(R.length)==="/"),V={isActive:K,isPending:re,isTransitioning:O},S=K?i:void 0,E;typeof t=="function"?E=t(V):E=[t,K?"active":null,re?"pending":null,O?"transitioning":null].filter(Boolean).join(" ");let T=typeof s=="function"?s(V):s;return y.createElement(hm,{...m,"aria-current":S,className:E,ref:v,style:T,to:c,viewTransition:d},typeof h=="function"?h(V):h)});Jw.displayName="NavLink";var eD=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,..._},x)=>{let M=iD(),N=lD(d,{relative:m}),O=c.toLowerCase()==="get"?"get":"post",R=typeof d=="string"&&d8.test(d),C=Q=>{if(h&&h(Q),Q.defaultPrevented)return;Q.preventDefault();let J=Q.nativeEvent.submitter,K=J?.getAttribute("formmethod")||c;M(J||Q.currentTarget,{fetcherKey:i,method:K,navigate:n,replace:l,state:s,relative:m,preventScrollReset:v,viewTransition:g})};return y.createElement("form",{ref:x,method:O,action:N,onSubmit:t?h:C,..._,"data-discover":!R&&a==="render"?"true":void 0})});eD.displayName="Form";function tD(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(po);return jt(i,tD(a)),i}function nD(a,{target:i,replace:n,state:t,preventScrollReset:l,relative:s,viewTransition:c}={}){let d=fl(),h=ki(),m=Bs(a,{relative:s});return y.useCallback(v=>{if(kw(v,i)){v.preventDefault();let g=n!==void 0?n:Us(h)===Us(m);d(a,{replace:g,state:t,preventScrollReset:l,relative:s,viewTransition:c})}},[h,d,m,n,t,i,a,l,s,c])}var rD=0,aD=()=>`__${String(++rD)}__`;function iD(){let{router:a}=p8("useSubmit"),{basename:i}=y.useContext(Kr),n=Dw();return y.useCallback(async(t,l={})=>{let{action:s,method:c,encType:d,formData:h,body:m}=Uw(t,i);if(l.navigate===!1){let v=l.fetcherKey||aD();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 lD(a,{relative:i}={}){let{basename:n}=y.useContext(Kr),t=y.useContext(Xr);jt(t,"useFormAction must be used inside a RouteContext");let[l]=t.matches.slice(-1),s={...Bs(a||".",{relative:i})},c=ki();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])),Us(s)}function oD(a,i={}){let n=y.useContext(r8);jt(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=Bs(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}[...Fw];var h8=R9();const sD=vr(h8),uD={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"}},cD={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 $r(){if($4)return p1;$4=1;var a=Array.isArray;return p1=a,p1}var h1,J4;function m8(){if(J4)return h1;J4=1;var a=typeof tc=="object"&&tc&&tc.Object===Object&&tc;return h1=a,h1}var m1,eg;function ga(){if(eg)return m1;eg=1;var a=m8(),i=typeof self=="object"&&self&&self.Object===Object&&self,n=a||i||Function("return this")();return m1=n,m1}var v1,tg;function Is(){if(tg)return v1;tg=1;var a=ga(),i=a.Symbol;return v1=i,v1}var g1,ng;function fD(){if(ng)return g1;ng=1;var a=Is(),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 g1=s,g1}var y1,rg;function dD(){if(rg)return y1;rg=1;var a=Object.prototype,i=a.toString;function n(t){return i.call(t)}return y1=n,y1}var b1,ag;function mo(){if(ag)return b1;ag=1;var a=Is(),i=fD(),n=dD(),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 b1=c,b1}var _1,ig;function dl(){if(ig)return _1;ig=1;function a(i){return i!=null&&typeof i=="object"}return _1=a,_1}var S1,lg;function Fs(){if(lg)return S1;lg=1;var a=mo(),i=dl(),n="[object Symbol]";function t(l){return typeof l=="symbol"||i(l)&&a(l)==n}return S1=t,S1}var E1,og;function mm(){if(og)return E1;og=1;var a=$r(),i=Fs(),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 E1=l,E1}var w1,sg;function Za(){if(sg)return w1;sg=1;function a(i){var n=typeof i;return i!=null&&(n=="object"||n=="function")}return w1=a,w1}var D1,ug;function vm(){if(ug)return D1;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 D1=c,D1}var T1,cg;function pD(){if(cg)return T1;cg=1;var a=ga(),i=a["__core-js_shared__"];return T1=i,T1}var x1,fg;function hD(){if(fg)return x1;fg=1;var a=pD(),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 x1=n,x1}var M1,dg;function v8(){if(dg)return M1;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 M1=n,M1}var O1,pg;function mD(){if(pg)return O1;pg=1;var a=vm(),i=hD(),n=Za(),t=v8(),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(_){if(!n(_)||i(_))return!1;var x=a(_)?v:s;return x.test(t(_))}return O1=g,O1}var A1,hg;function vD(){if(hg)return A1;hg=1;function a(i,n){return i?.[n]}return A1=a,A1}var C1,mg;function pl(){if(mg)return C1;mg=1;var a=mD(),i=vD();function n(t,l){var s=i(t,l);return a(s)?s:void 0}return C1=n,C1}var R1,vg;function Vc(){if(vg)return R1;vg=1;var a=pl(),i=a(Object,"create");return R1=i,R1}var N1,gg;function gD(){if(gg)return N1;gg=1;var a=Vc();function i(){this.__data__=a?a(null):{},this.size=0}return N1=i,N1}var k1,yg;function yD(){if(yg)return k1;yg=1;function a(i){var n=this.has(i)&&delete this.__data__[i];return this.size-=n?1:0,n}return k1=a,k1}var L1,bg;function bD(){if(bg)return L1;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 L1=l,L1}var q1,_g;function _D(){if(_g)return q1;_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 q1=t,q1}var U1,Sg;function SD(){if(Sg)return U1;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 U1=n,U1}var H1,Eg;function ED(){if(Eg)return H1;Eg=1;var a=gD(),i=yD(),n=bD(),t=_D(),l=SD();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,H1=s,H1}var P1,wg;function wD(){if(wg)return P1;wg=1;function a(){this.__data__=[],this.size=0}return P1=a,P1}var z1,Dg;function Gs(){if(Dg)return z1;Dg=1;function a(i,n){return i===n||i!==i&&n!==n}return z1=a,z1}var Y1,Tg;function Wc(){if(Tg)return Y1;Tg=1;var a=Gs();function i(n,t){for(var l=n.length;l--;)if(a(n[l][0],t))return l;return-1}return Y1=i,Y1}var j1,xg;function DD(){if(xg)return j1;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 j1=t,j1}var B1,Mg;function TD(){if(Mg)return B1;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 B1=i,B1}var I1,Og;function xD(){if(Og)return I1;Og=1;var a=Wc();function i(n){return a(this.__data__,n)>-1}return I1=i,I1}var F1,Ag;function MD(){if(Ag)return F1;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 F1=i,F1}var G1,Cg;function Qc(){if(Cg)return G1;Cg=1;var a=wD(),i=DD(),n=TD(),t=xD(),l=MD();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,G1=s,G1}var Z1,Rg;function gm(){if(Rg)return Z1;Rg=1;var a=pl(),i=ga(),n=a(i,"Map");return Z1=n,Z1}var V1,Ng;function OD(){if(Ng)return V1;Ng=1;var a=ED(),i=Qc(),n=gm();function t(){this.size=0,this.__data__={hash:new a,map:new(n||i),string:new a}}return V1=t,V1}var W1,kg;function AD(){if(kg)return W1;kg=1;function a(i){var n=typeof i;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?i!=="__proto__":i===null}return W1=a,W1}var Q1,Lg;function Kc(){if(Lg)return Q1;Lg=1;var a=AD();function i(n,t){var l=n.__data__;return a(t)?l[typeof t=="string"?"string":"hash"]:l.map}return Q1=i,Q1}var K1,qg;function CD(){if(qg)return K1;qg=1;var a=Kc();function i(n){var t=a(this,n).delete(n);return this.size-=t?1:0,t}return K1=i,K1}var X1,Ug;function RD(){if(Ug)return X1;Ug=1;var a=Kc();function i(n){return a(this,n).get(n)}return X1=i,X1}var $1,Hg;function ND(){if(Hg)return $1;Hg=1;var a=Kc();function i(n){return a(this,n).has(n)}return $1=i,$1}var J1,Pg;function kD(){if(Pg)return J1;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 J1=i,J1}var e0,zg;function ym(){if(zg)return e0;zg=1;var a=OD(),i=CD(),n=RD(),t=ND(),l=kD();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,e0=s,e0}var t0,Yg;function LD(){if(Yg)return t0;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,t0=n,t0}var n0,jg;function qD(){if(jg)return n0;jg=1;var a=LD(),i=500;function n(t){var l=a(t,function(c){return s.size===i&&s.clear(),c}),s=l.cache;return l}return n0=n,n0}var r0,Bg;function UD(){if(Bg)return r0;Bg=1;var a=qD(),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 r0=t,r0}var a0,Ig;function g8(){if(Ig)return a0;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 a0=a,a0}var i0,Fg;function HD(){if(Fg)return i0;Fg=1;var a=Is(),i=g8(),n=$r(),t=Fs(),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 i0=c,i0}var l0,Gg;function vo(){if(Gg)return l0;Gg=1;var a=HD();function i(n){return n==null?"":a(n)}return l0=i,l0}var o0,Zg;function y8(){if(Zg)return o0;Zg=1;var a=$r(),i=mm(),n=UD(),t=vo();function l(s,c){return a(s)?s:i(s,c)?[s]:n(t(s))}return o0=l,o0}var s0,Vg;function Xc(){if(Vg)return s0;Vg=1;var a=Fs();function i(n){if(typeof n=="string"||a(n))return n;var t=n+"";return t=="0"&&1/n==-1/0?"-0":t}return s0=i,s0}var u0,Wg;function bm(){if(Wg)return u0;Wg=1;var a=y8(),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 u0=n,u0}var c0,Qg;function b8(){if(Qg)return c0;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 c0=i,c0}var PD=b8();const zD=vr(PD);var f0,Kg;function YD(){if(Kg)return f0;Kg=1;var a=Object.prototype,i=a.hasOwnProperty;function n(t,l){return t!=null&&i.call(t,l)}return f0=n,f0}var d0,Xg;function jD(){if(Xg)return d0;Xg=1;var a=mo(),i=dl(),n="[object Arguments]";function t(l){return i(l)&&a(l)==n}return d0=t,d0}var p0,$g;function $c(){if($g)return p0;$g=1;var a=jD(),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 h0,Jg;function _m(){if(Jg)return h0;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 h0=n,h0}var m0,e5;function Sm(){if(e5)return m0;e5=1;var a=9007199254740991;function i(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=a}return m0=i,m0}var v0,t5;function _8(){if(t5)return v0;t5=1;var a=y8(),i=$c(),n=$r(),t=_m(),l=Sm(),s=Xc();function c(d,h,m){h=a(h,d);for(var v=-1,g=h.length,_=!1;++v<g;){var x=s(h[v]);if(!(_=d!=null&&m(d,x)))break;d=d[x]}return _||++v!=g?_:(g=d==null?0:d.length,!!g&&l(g)&&t(x,g)&&(n(d)||i(d)))}return v0=c,v0}var g0,n5;function BD(){if(n5)return g0;n5=1;var a=YD(),i=_8();function n(t,l){return t!=null&&i(t,l,a)}return g0=n,g0}var ID=BD();const FD=vr(ID);var y0,r5;function GD(){if(r5)return y0;r5=1;var a=Qc();function i(){this.__data__=new a,this.size=0}return y0=i,y0}var b0,a5;function ZD(){if(a5)return b0;a5=1;function a(i){var n=this.__data__,t=n.delete(i);return this.size=n.size,t}return b0=a,b0}var _0,i5;function VD(){if(i5)return _0;i5=1;function a(i){return this.__data__.get(i)}return _0=a,_0}var S0,l5;function WD(){if(l5)return S0;l5=1;function a(i){return this.__data__.has(i)}return S0=a,S0}var E0,o5;function QD(){if(o5)return E0;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 E0=l,E0}var w0,s5;function Em(){if(s5)return w0;s5=1;var a=Qc(),i=GD(),n=ZD(),t=VD(),l=WD(),s=QD();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,w0=c,w0}var D0,u5;function S8(){if(u5)return D0;u5=1;var a=pl(),i=function(){try{var n=a(Object,"defineProperty");return n({},"",{}),n}catch{}}();return D0=i,D0}var T0,c5;function wm(){if(c5)return T0;c5=1;var a=S8();function i(n,t,l){t=="__proto__"&&a?a(n,t,{configurable:!0,enumerable:!0,value:l,writable:!0}):n[t]=l}return T0=i,T0}var x0,f5;function E8(){if(f5)return x0;f5=1;var a=wm(),i=Gs();function n(t,l,s){(s!==void 0&&!i(t[l],s)||s===void 0&&!(l in t))&&a(t,l,s)}return x0=n,x0}var M0,d5;function KD(){if(d5)return M0;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 M0=a,M0}var O0,p5;function w8(){if(p5)return O0;p5=1;var a=KD(),i=a();return O0=i,O0}var Cs={exports:{}};Cs.exports;var h5;function XD(){return h5||(h5=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,_=d?d(g):new m.constructor(g);return m.copy(_),_}a.exports=h}(Cs,Cs.exports)),Cs.exports}var A0,m5;function D8(){if(m5)return A0;m5=1;var a=ga(),i=a.Uint8Array;return A0=i,A0}var C0,v5;function $D(){if(v5)return C0;v5=1;var a=D8();function i(n){var t=new n.constructor(n.byteLength);return new a(t).set(new a(n)),t}return C0=i,C0}var R0,g5;function JD(){if(g5)return R0;g5=1;var a=$D();function i(n,t){var l=t?a(n.buffer):n.buffer;return new n.constructor(l,n.byteOffset,n.length)}return R0=i,R0}var N0,y5;function eT(){if(y5)return N0;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 N0=a,N0}var k0,b5;function tT(){if(b5)return k0;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 k0=n,k0}var L0,_5;function T8(){if(_5)return L0;_5=1;function a(i,n){return function(t){return i(n(t))}}return L0=a,L0}var q0,S5;function x8(){if(S5)return q0;S5=1;var a=T8(),i=a(Object.getPrototypeOf,Object);return q0=i,q0}var U0,E5;function Dm(){if(E5)return U0;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 U0=i,U0}var H0,w5;function nT(){if(w5)return H0;w5=1;var a=tT(),i=x8(),n=Dm();function t(l){return typeof l.constructor=="function"&&!n(l)?a(i(l)):{}}return H0=t,H0}var P0,D5;function go(){if(D5)return P0;D5=1;var a=vm(),i=Sm();function n(t){return t!=null&&i(t.length)&&!a(t)}return P0=n,P0}var z0,T5;function rT(){if(T5)return z0;T5=1;var a=go(),i=dl();function n(t){return i(t)&&a(t)}return z0=n,z0}var Rs={exports:{}},Y0,x5;function aT(){if(x5)return Y0;x5=1;function a(){return!1}return Y0=a,Y0}Rs.exports;var M5;function Tm(){return M5||(M5=1,function(a,i){var n=ga(),t=aT(),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}(Rs,Rs.exports)),Rs.exports}var j0,O5;function iT(){if(O5)return j0;O5=1;var a=mo(),i=x8(),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 _=d.call(g,"constructor")&&g.constructor;return typeof _=="function"&&_ instanceof _&&c.call(_)==h}return j0=m,j0}var B0,A5;function lT(){if(A5)return B0;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]",_="[object RegExp]",x="[object Set]",M="[object String]",N="[object WeakMap]",O="[object ArrayBuffer]",R="[object DataView]",C="[object Float32Array]",Q="[object Float64Array]",J="[object Int8Array]",K="[object Int16Array]",re="[object Int32Array]",V="[object Uint8Array]",S="[object Uint8ClampedArray]",E="[object Uint16Array]",T="[object Uint32Array]",U={};U[C]=U[Q]=U[J]=U[K]=U[re]=U[V]=U[S]=U[E]=U[T]=!0,U[t]=U[l]=U[O]=U[s]=U[R]=U[c]=U[d]=U[h]=U[m]=U[v]=U[g]=U[_]=U[x]=U[M]=U[N]=!1;function q(z){return n(z)&&i(z.length)&&!!U[a(z)]}return B0=q,B0}var I0,C5;function M8(){if(C5)return I0;C5=1;function a(i){return function(n){return i(n)}}return I0=a,I0}var Ns={exports:{}};Ns.exports;var R5;function oT(){return R5||(R5=1,function(a,i){var n=m8(),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}(Ns,Ns.exports)),Ns.exports}var F0,N5;function xm(){if(N5)return F0;N5=1;var a=lT(),i=M8(),n=oT(),t=n&&n.isTypedArray,l=t?i(t):a;return F0=l,F0}var G0,k5;function O8(){if(k5)return G0;k5=1;function a(i,n){if(!(n==="constructor"&&typeof i[n]=="function")&&n!="__proto__")return i[n]}return G0=a,G0}var Z0,L5;function A8(){if(L5)return Z0;L5=1;var a=wm(),i=Gs(),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 Z0=l,Z0}var V0,q5;function sT(){if(q5)return V0;q5=1;var a=A8(),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 V0=n,V0}var W0,U5;function uT(){if(U5)return W0;U5=1;function a(i,n){for(var t=-1,l=Array(i);++t<i;)l[t]=n(t);return l}return W0=a,W0}var Q0,H5;function C8(){if(H5)return Q0;H5=1;var a=uT(),i=$c(),n=$r(),t=Tm(),l=_m(),s=xm(),c=Object.prototype,d=c.hasOwnProperty;function h(m,v){var g=n(m),_=!g&&i(m),x=!g&&!_&&t(m),M=!g&&!_&&!x&&s(m),N=g||_||x||M,O=N?a(m.length,String):[],R=O.length;for(var C in m)(v||d.call(m,C))&&!(N&&(C=="length"||x&&(C=="offset"||C=="parent")||M&&(C=="buffer"||C=="byteLength"||C=="byteOffset")||l(C,R)))&&O.push(C);return O}return Q0=h,Q0}var K0,P5;function cT(){if(P5)return K0;P5=1;function a(i){var n=[];if(i!=null)for(var t in Object(i))n.push(t);return n}return K0=a,K0}var X0,z5;function fT(){if(z5)return X0;z5=1;var a=Za(),i=Dm(),n=cT(),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 X0=s,X0}var $0,Y5;function R8(){if(Y5)return $0;Y5=1;var a=C8(),i=fT(),n=go();function t(l){return n(l)?a(l,!0):i(l)}return $0=t,$0}var J0,j5;function dT(){if(j5)return J0;j5=1;var a=sT(),i=R8();function n(t){return a(t,i(t))}return J0=n,J0}var ep,B5;function pT(){if(B5)return ep;B5=1;var a=E8(),i=XD(),n=JD(),t=eT(),l=nT(),s=$c(),c=$r(),d=rT(),h=Tm(),m=vm(),v=Za(),g=iT(),_=xm(),x=O8(),M=dT();function N(O,R,C,Q,J,K,re){var V=x(O,C),S=x(R,C),E=re.get(S);if(E){a(O,C,E);return}var T=K?K(V,S,C+"",O,R,re):void 0,U=T===void 0;if(U){var q=c(S),z=!q&&h(S),B=!q&&!z&&_(S);T=S,q||z||B?c(V)?T=V:d(V)?T=t(V):z?(U=!1,T=i(S,!0)):B?(U=!1,T=n(S,!0)):T=[]:g(S)||s(S)?(T=V,s(V)?T=M(V):(!v(V)||m(V))&&(T=l(S))):U=!1}U&&(re.set(S,T),J(T,S,Q,K,re),re.delete(S)),a(O,C,T)}return ep=N,ep}var tp,I5;function hT(){if(I5)return tp;I5=1;var a=Em(),i=E8(),n=w8(),t=pT(),l=Za(),s=R8(),c=O8();function d(h,m,v,g,_){h!==m&&n(m,function(x,M){if(_||(_=new a),l(x))t(h,m,M,v,d,g,_);else{var N=g?g(c(h,M),x,M+"",h,m,_):void 0;N===void 0&&(N=x),i(h,M,N)}},s)}return tp=d,tp}var np,F5;function Jc(){if(F5)return np;F5=1;function a(i){return i}return np=a,np}var rp,G5;function mT(){if(G5)return rp;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 rp=a,rp}var ap,Z5;function vT(){if(Z5)return ap;Z5=1;var a=mT(),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 ap=n,ap}var ip,V5;function gT(){if(V5)return ip;V5=1;function a(i){return function(){return i}}return ip=a,ip}var lp,W5;function yT(){if(W5)return lp;W5=1;var a=gT(),i=S8(),n=Jc(),t=i?function(l,s){return i(l,"toString",{configurable:!0,enumerable:!1,value:a(s),writable:!0})}:n;return lp=t,lp}var op,Q5;function bT(){if(Q5)return op;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 op=t,op}var sp,K5;function _T(){if(K5)return sp;K5=1;var a=yT(),i=bT(),n=i(a);return sp=n,sp}var up,X5;function N8(){if(X5)return up;X5=1;var a=Jc(),i=vT(),n=_T();function t(l,s){return n(i(l,s,a),l+"")}return up=t,up}var cp,$5;function ef(){if($5)return cp;$5=1;var a=Gs(),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 cp=l,cp}var fp,J5;function ST(){if(J5)return fp;J5=1;var a=N8(),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 fp=n,fp}var dp,ey;function ET(){if(ey)return dp;ey=1;var a=hT(),i=ST(),n=i(function(t,l,s){a(t,l,s)});return dp=n,dp}var wT=ET();const DT=vr(wT);var pp,ty;function TT(){if(ty)return pp;ty=1;var a="__lodash_hash_undefined__";function i(n){return this.__data__.set(n,a),this}return pp=i,pp}var hp,ny;function xT(){if(ny)return hp;ny=1;function a(i){return this.__data__.has(i)}return hp=a,hp}var mp,ry;function k8(){if(ry)return mp;ry=1;var a=ym(),i=TT(),n=xT();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,mp=t,mp}var vp,ay;function MT(){if(ay)return vp;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 vp=a,vp}var gp,iy;function OT(){if(iy)return gp;iy=1;function a(i){return i!==i}return gp=a,gp}var yp,ly;function AT(){if(ly)return yp;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 yp=a,yp}var bp,oy;function CT(){if(oy)return bp;oy=1;var a=MT(),i=OT(),n=AT();function t(l,s,c){return s===s?n(l,s,c):a(l,i,c)}return bp=t,bp}var _p,sy;function RT(){if(sy)return _p;sy=1;var a=CT();function i(n,t){var l=n==null?0:n.length;return!!l&&a(n,t,0)>-1}return _p=i,_p}var Sp,uy;function NT(){if(uy)return Sp;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 Sp=a,Sp}var Ep,cy;function L8(){if(cy)return Ep;cy=1;function a(i,n){return i.has(n)}return Ep=a,Ep}var wp,fy;function q8(){if(fy)return wp;fy=1;var a=pl(),i=ga(),n=a(i,"Set");return wp=n,wp}var Dp,dy;function kT(){if(dy)return Dp;dy=1;function a(){}return Dp=a,Dp}var Tp,py;function Mm(){if(py)return Tp;py=1;function a(i){var n=-1,t=Array(i.size);return i.forEach(function(l){t[++n]=l}),t}return Tp=a,Tp}var xp,hy;function LT(){if(hy)return xp;hy=1;var a=q8(),i=kT(),n=Mm(),t=1/0,l=a&&1/n(new a([,-0]))[1]==t?function(s){return new a(s)}:i;return xp=l,xp}var Mp,my;function qT(){if(my)return Mp;my=1;var a=k8(),i=RT(),n=NT(),t=L8(),l=LT(),s=Mm(),c=200;function d(h,m,v){var g=-1,_=i,x=h.length,M=!0,N=[],O=N;if(v)M=!1,_=n;else if(x>=c){var R=m?null:l(h);if(R)return s(R);M=!1,_=t,O=new a}else O=m?[]:N;e:for(;++g<x;){var C=h[g],Q=m?m(C):C;if(C=v||C!==0?C:0,M&&Q===Q){for(var J=O.length;J--;)if(O[J]===Q)continue e;m&&O.push(Q),N.push(C)}else _(O,Q,v)||(O!==N&&O.push(Q),N.push(C))}return N}return Mp=d,Mp}var Op,vy;function UT(){if(vy)return Op;vy=1;var a=qT();function i(n){return n&&n.length?a(n):[]}return Op=i,Op}var HT=UT();const PT=vr(HT),zT=(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])}),PT(t)};class YT{constructor(i){this.i18n=i,this.registry={},this.register("default",zT)}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 jT=(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 BT({pluralizer:a,includeZero:i=!0,ordinal:n=!1}){return function(t,l){return[i&&l===0?"zero":"",a(l,n)].filter(Boolean)}}const IT=BT({pluralizer:jT,includeZero:!0});class FT{constructor(i){this.i18n=i,this.registry={},this.register("default",IT)}register(i,n){this.registry[i]=n}get(i){return this.registry[i]||this.registry[this.i18n.locale]||this.registry.default}}var Ap,gy;function GT(){if(gy)return Ap;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 Ap=a,Ap}var Cp,yy;function ZT(){if(yy)return Cp;yy=1;var a=GT();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 Cp=i,Cp}var Rp,by;function U8(){if(by)return Rp;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 Rp=h,Rp}var Np,_y;function VT(){if(_y)return Np;_y=1;function a(i){return i.split("")}return Np=a,Np}var kp,Sy;function WT(){if(Sy)return kp;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}",_="[\\ud800-\\udbff][\\udc00-\\udfff]",x="\\u200d",M=m+"?",N="["+s+"]?",O="(?:"+x+"(?:"+[v,g,_].join("|")+")"+N+M+")*",R=N+M+O,C="(?:"+[v+d+"?",d,g,_,c].join("|")+")",Q=RegExp(h+"(?="+h+")|"+C+R,"g");function J(K){return K.match(Q)||[]}return kp=J,kp}var Lp,Ey;function QT(){if(Ey)return Lp;Ey=1;var a=VT(),i=U8(),n=WT();function t(l){return i(l)?n(l):a(l)}return Lp=t,Lp}var qp,wy;function KT(){if(wy)return qp;wy=1;var a=ZT(),i=U8(),n=QT(),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 qp=l,qp}var Up,Dy;function XT(){if(Dy)return Up;Dy=1;var a=KT(),i=a("toUpperCase");return Up=i,Up}var Hp,Ty;function $T(){if(Ty)return Hp;Ty=1;var a=vo(),i=XT();function n(t){return i(a(t).toLowerCase())}return Hp=n,Hp}var Pp,xy;function JT(){if(xy)return Pp;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 Pp=a,Pp}var zp,My;function ex(){if(My)return zp;My=1;function a(i){return function(n){return i?.[n]}}return zp=a,zp}var Yp,Oy;function tx(){if(Oy)return Yp;Oy=1;var a=ex(),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 Yp=n,Yp}var jp,Ay;function nx(){if(Ay)return jp;Ay=1;var a=tx(),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 jp=m,jp}var Bp,Cy;function rx(){if(Cy)return Bp;Cy=1;var a=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function i(n){return n.match(a)||[]}return Bp=i,Bp}var Ip,Ry;function ax(){if(Ry)return Ip;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 Ip=i,Ip}var Fp,Ny;function ix(){if(Ny)return Fp;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",_="\\ufe0e\\ufe0f",x=d+h+m+v,M="['’]",N="["+x+"]",O="["+l+"]",R="\\d+",C="["+s+"]",Q="["+c+"]",J="[^"+a+x+R+s+c+g+"]",K="\\ud83c[\\udffb-\\udfff]",re="(?:"+O+"|"+K+")",V="[^"+a+"]",S="(?:\\ud83c[\\udde6-\\uddff]){2}",E="[\\ud800-\\udbff][\\udc00-\\udfff]",T="["+g+"]",U="\\u200d",q="(?:"+Q+"|"+J+")",z="(?:"+T+"|"+J+")",B="(?:"+M+"(?:d|ll|m|re|s|t|ve))?",H="(?:"+M+"(?:D|LL|M|RE|S|T|VE))?",w=re+"?",k="["+_+"]?",L="(?:"+U+"(?:"+[V,S,E].join("|")+")"+k+w+")*",X="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",A="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Y=k+w+L,oe="(?:"+[C,S,E].join("|")+")"+Y,ae=RegExp([T+"?"+Q+"+"+B+"(?="+[N,T,"$"].join("|")+")",z+"+"+H+"(?="+[N,T+q,"$"].join("|")+")",T+"?"+q+"+"+B,T+"+"+H,A,X,R,oe].join("|"),"g");function he(ce){return ce.match(ae)||[]}return Fp=he,Fp}var Gp,ky;function lx(){if(ky)return Gp;ky=1;var a=rx(),i=ax(),n=vo(),t=ix();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 Gp=l,Gp}var Zp,Ly;function ox(){if(Ly)return Zp;Ly=1;var a=JT(),i=nx(),n=lx(),t="['’]",l=RegExp(t,"g");function s(c){return function(d){return a(n(i(d).replace(l,"")),c,"")}}return Zp=s,Zp}var Vp,qy;function sx(){if(qy)return Vp;qy=1;var a=$T(),i=ox(),n=i(function(t,l,s){return l=l.toLowerCase(),t+(s?a(l):l)});return Vp=n,Vp}var ux=sx();const cx=vr(ux);function Fr(a){return a?Object.keys(a).reduce((i,n)=>(i[cx(n)]=a[n],i),{}):{}}function Pa(a){return a!=null}function fx(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 dx=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,Wp=Math.ceil,Rr=Math.floor,tr="[BigNumber Error] ",Uy=tr+"Number primitive has more than 15 significant digits: ",Gr=1e14,Ue=14,Qp=9007199254740991,Kp=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],_i=1e7,Dn=1e9;function H8(a){var i,n,t,l=C.prototype={constructor:C,toString:null,valueOf:null},s=new C(1),c=20,d=4,h=-7,m=21,v=-1e7,g=1e7,_=!1,x=1,M=0,N={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},O="0123456789abcdefghijklmnopqrstuvwxyz",R=!0;function C(S,E){var T,U,q,z,B,H,w,k,L=this;if(!(L instanceof C))return new C(S,E);if(E==null){if(S&&S._isBigNumber===!0){L.s=S.s,!S.c||S.e>g?L.c=L.e=null:S.e<v?L.c=[L.e=0]:(L.e=S.e,L.c=S.c.slice());return}if((H=typeof S=="number")&&S*0==0){if(L.s=1/S<0?(S=-S,-1):1,S===~~S){for(z=0,B=S;B>=10;B/=10,z++);z>g?L.c=L.e=null:(L.e=z,L.c=[S]);return}k=String(S)}else{if(!dx.test(k=String(S)))return t(L,k,H);L.s=k.charCodeAt(0)==45?(k=k.slice(1),-1):1}(z=k.indexOf("."))>-1&&(k=k.replace(".","")),(B=k.search(/e/i))>0?(z<0&&(z=B),z+=+k.slice(B+1),k=k.substring(0,B)):z<0&&(z=k.length)}else{if(Zt(E,2,O.length,"Base"),E==10&&R)return L=new C(S),re(L,c+L.e+1,d);if(k=String(S),H=typeof S=="number"){if(S*0!=0)return t(L,k,H,E);if(L.s=1/S<0?(k=k.slice(1),-1):1,C.DEBUG&&k.replace(/^0\.0*|\./,"").length>15)throw Error(Uy+S)}else L.s=k.charCodeAt(0)===45?(k=k.slice(1),-1):1;for(T=O.slice(0,E),z=B=0,w=k.length;B<w;B++)if(T.indexOf(U=k.charAt(B))<0){if(U=="."){if(B>z){z=w;continue}}else if(!q&&(k==k.toUpperCase()&&(k=k.toLowerCase())||k==k.toLowerCase()&&(k=k.toUpperCase()))){q=!0,B=-1,z=0;continue}return t(L,String(S),H,E)}H=!1,k=n(k,E,10,L.s),(z=k.indexOf("."))>-1?k=k.replace(".",""):z=k.length}for(B=0;k.charCodeAt(B)===48;B++);for(w=k.length;k.charCodeAt(--w)===48;);if(k=k.slice(B,++w)){if(w-=B,H&&C.DEBUG&&w>15&&(S>Qp||S!==Rr(S)))throw Error(Uy+L.s*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)%Ue,z<0&&(B+=Ue),B<w){for(B&&L.c.push(+k.slice(0,B)),w-=Ue;B<w;)L.c.push(+k.slice(B,B+=Ue));B=Ue-(k=k.slice(B)).length}else B-=w;for(;B--;k+="0");L.c.push(+k)}}else L.c=[L.e=0]}C.clone=H8,C.ROUND_UP=0,C.ROUND_DOWN=1,C.ROUND_CEIL=2,C.ROUND_FLOOR=3,C.ROUND_HALF_UP=4,C.ROUND_HALF_DOWN=5,C.ROUND_HALF_EVEN=6,C.ROUND_HALF_CEIL=7,C.ROUND_HALF_FLOOR=8,C.EUCLID=9,C.config=C.set=function(S){var E,T;if(S!=null)if(typeof S=="object"){if(S.hasOwnProperty(E="DECIMAL_PLACES")&&(T=S[E],Zt(T,0,Dn,E),c=T),S.hasOwnProperty(E="ROUNDING_MODE")&&(T=S[E],Zt(T,0,8,E),d=T),S.hasOwnProperty(E="EXPONENTIAL_AT")&&(T=S[E],T&&T.pop?(Zt(T[0],-Dn,0,E),Zt(T[1],0,Dn,E),h=T[0],m=T[1]):(Zt(T,-Dn,Dn,E),h=-(m=T<0?-T:T))),S.hasOwnProperty(E="RANGE"))if(T=S[E],T&&T.pop)Zt(T[0],-Dn,-1,E),Zt(T[1],1,Dn,E),v=T[0],g=T[1];else if(Zt(T,-Dn,Dn,E),T)v=-(g=T<0?-T:T);else throw Error(tr+E+" cannot be zero: "+T);if(S.hasOwnProperty(E="CRYPTO"))if(T=S[E],T===!!T)if(T)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))_=T;else throw _=!T,Error(tr+"crypto unavailable");else _=T;else throw Error(tr+E+" not true or false: "+T);if(S.hasOwnProperty(E="MODULO_MODE")&&(T=S[E],Zt(T,0,9,E),x=T),S.hasOwnProperty(E="POW_PRECISION")&&(T=S[E],Zt(T,0,Dn,E),M=T),S.hasOwnProperty(E="FORMAT"))if(T=S[E],typeof T=="object")N=T;else throw Error(tr+E+" not an object: "+T);if(S.hasOwnProperty(E="ALPHABET"))if(T=S[E],typeof T=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(T))R=T.slice(0,10)=="0123456789",O=T;else throw Error(tr+E+" invalid: "+T)}else throw Error(tr+"Object expected: "+S);return{DECIMAL_PLACES:c,ROUNDING_MODE:d,EXPONENTIAL_AT:[h,m],RANGE:[v,g],CRYPTO:_,MODULO_MODE:x,POW_PRECISION:M,FORMAT:N,ALPHABET:O}},C.isBigNumber=function(S){if(!S||S._isBigNumber!==!0)return!1;if(!C.DEBUG)return!0;var E,T,U=S.c,q=S.e,z=S.s;e:if({}.toString.call(U)=="[object Array]"){if((z===1||z===-1)&&q>=-Dn&&q<=Dn&&q===Rr(q)){if(U[0]===0){if(q===0&&U.length===1)return!0;break e}if(E=(q+1)%Ue,E<1&&(E+=Ue),String(U[0]).length==E){for(E=0;E<U.length;E++)if(T=U[E],T<0||T>=Gr||T!==Rr(T))break e;if(T!==0)return!0}}}else if(U===null&&q===null&&(z===null||z===1||z===-1))return!0;throw Error(tr+"Invalid BigNumber: "+S)},C.maximum=C.max=function(){return J(arguments,-1)},C.minimum=C.min=function(){return J(arguments,1)},C.random=function(){var S=9007199254740992,E=Math.random()*S&2097151?function(){return Rr(Math.random()*S)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(T){var U,q,z,B,H,w=0,k=[],L=new C(s);if(T==null?T=c:Zt(T,0,Dn),B=Wp(T/Ue),_)if(crypto.getRandomValues){for(U=crypto.getRandomValues(new Uint32Array(B*=2));w<B;)H=U[w]*131072+(U[w+1]>>>11),H>=9e15?(q=crypto.getRandomValues(new Uint32Array(2)),U[w]=q[0],U[w+1]=q[1]):(k.push(H%1e14),w+=2);w=B/2}else if(crypto.randomBytes){for(U=crypto.randomBytes(B*=7);w<B;)H=(U[w]&31)*281474976710656+U[w+1]*1099511627776+U[w+2]*4294967296+U[w+3]*16777216+(U[w+4]<<16)+(U[w+5]<<8)+U[w+6],H>=9e15?crypto.randomBytes(7).copy(U,w):(k.push(H%1e14),w+=7);w=B/7}else throw _=!1,Error(tr+"crypto unavailable");if(!_)for(;w<B;)H=E(),H<9e15&&(k[w++]=H%1e14);for(B=k[--w],T%=Ue,B&&T&&(H=Kp[Ue-T],k[w]=Rr(B/H)*H);k[w]===0;k.pop(),w--);if(w<0)k=[z=0];else{for(z=-1;k[0]===0;k.splice(0,1),z-=Ue);for(w=1,H=k[0];H>=10;H/=10,w++);w<Ue&&(z-=Ue-w)}return L.e=z,L.c=k,L}}(),C.sum=function(){for(var S=1,E=arguments,T=new C(E[0]);S<E.length;)T=T.plus(E[S++]);return T},n=function(){var S="0123456789";function E(T,U,q,z){for(var B,H=[0],w,k=0,L=T.length;k<L;){for(w=H.length;w--;H[w]*=U);for(H[0]+=z.indexOf(T.charAt(k++)),B=0;B<H.length;B++)H[B]>q-1&&(H[B+1]==null&&(H[B+1]=0),H[B+1]+=H[B]/q|0,H[B]%=q)}return H.reverse()}return function(T,U,q,z,B){var H,w,k,L,X,A,Y,oe,ae=T.indexOf("."),he=c,ce=d;for(ae>=0&&(L=M,M=0,T=T.replace(".",""),oe=new C(U),A=oe.pow(T.length-ae),M=L,oe.c=E(La(Cr(A.c),A.e,"0"),10,q,S),oe.e=oe.c.length),Y=E(T,U,q,B?(H=O,S):(H=S,O)),k=L=Y.length;Y[--L]==0;Y.pop());if(!Y[0])return H.charAt(0);if(ae<0?--k:(A.c=Y,A.e=k,A.s=z,A=i(A,oe,he,ce,q),Y=A.c,X=A.r,k=A.e),w=k+he+1,ae=Y[w],L=q/2,X=X||w<0||Y[w+1]!=null,X=ce<4?(ae!=null||X)&&(ce==0||ce==(A.s<0?3:2)):ae>L||ae==L&&(ce==4||X||ce==6&&Y[w-1]&1||ce==(A.s<0?8:7)),w<1||!Y[0])T=X?La(H.charAt(1),-he,H.charAt(0)):H.charAt(0);else{if(Y.length=w,X)for(--q;++Y[--w]>q;)Y[w]=0,w||(++k,Y=[1].concat(Y));for(L=Y.length;!Y[--L];);for(ae=0,T="";ae<=L;T+=H.charAt(Y[ae++]));T=La(T,k,H.charAt(0))}return T}}(),i=function(){function S(U,q,z){var B,H,w,k,L=0,X=U.length,A=q%_i,Y=q/_i|0;for(U=U.slice();X--;)w=U[X]%_i,k=U[X]/_i|0,B=Y*w+k*A,H=A*w+B%_i*_i+L,L=(H/z|0)+(B/_i|0)+Y*k,U[X]=H%z;return L&&(U=[L].concat(U)),U}function E(U,q,z,B){var H,w;if(z!=B)w=z>B?1:-1;else for(H=w=0;H<z;H++)if(U[H]!=q[H]){w=U[H]>q[H]?1:-1;break}return w}function T(U,q,z,B){for(var H=0;z--;)U[z]-=H,H=U[z]<q[z]?1:0,U[z]=H*B+U[z]-q[z];for(;!U[0]&&U.length>1;U.splice(0,1));}return function(U,q,z,B,H){var w,k,L,X,A,Y,oe,ae,he,ce,pe,Ye,je,nt,nn,ut,At,vt=U.s==q.s?1:-1,Ge=U.c,Je=q.c;if(!Ge||!Ge[0]||!Je||!Je[0])return new C(!U.s||!q.s||(Ge?Je&&Ge[0]==Je[0]:!Je)?NaN:Ge&&Ge[0]==0||!Je?vt*0:vt/0);for(ae=new C(vt),he=ae.c=[],k=U.e-q.e,vt=z+k+1,H||(H=Gr,k=Nr(U.e/Ue)-Nr(q.e/Ue),vt=vt/Ue|0),L=0;Je[L]==(Ge[L]||0);L++);if(Je[L]>(Ge[L]||0)&&k--,vt<0)he.push(1),X=!0;else{for(nt=Ge.length,ut=Je.length,L=0,vt+=2,A=Rr(H/(Je[0]+1)),A>1&&(Je=S(Je,A,H),Ge=S(Ge,A,H),ut=Je.length,nt=Ge.length),je=ut,ce=Ge.slice(0,ut),pe=ce.length;pe<ut;ce[pe++]=0);At=Je.slice(),At=[0].concat(At),nn=Je[0],Je[1]>=H/2&&nn++;do{if(A=0,w=E(Je,ce,ut,pe),w<0){if(Ye=ce[0],ut!=pe&&(Ye=Ye*H+(ce[1]||0)),A=Rr(Ye/nn),A>1)for(A>=H&&(A=H-1),Y=S(Je,A,H),oe=Y.length,pe=ce.length;E(Y,ce,oe,pe)==1;)A--,T(Y,ut<oe?At:Je,oe,H),oe=Y.length,w=1;else A==0&&(w=A=1),Y=Je.slice(),oe=Y.length;if(oe<pe&&(Y=[0].concat(Y)),T(ce,Y,pe,H),pe=ce.length,w==-1)for(;E(Je,ce,ut,pe)<1;)A++,T(ce,ut<pe?At:Je,pe,H),pe=ce.length}else w===0&&(A++,ce=[0]);he[L++]=A,ce[0]?ce[pe++]=Ge[je]||0:(ce=[Ge[je]],pe=1)}while((je++<nt||ce[0]!=null)&&vt--);X=ce[0]!=null,he[0]||he.splice(0,1)}if(H==Gr){for(L=1,vt=he[0];vt>=10;vt/=10,L++);re(ae,z+(ae.e=L+k*Ue-1)+1,B,X)}else ae.e=k,ae.r=+X;return ae}}();function Q(S,E,T,U){var q,z,B,H,w;if(T==null?T=d:Zt(T,0,8),!S.c)return S.toString();if(q=S.c[0],B=S.e,E==null)w=Cr(S.c),w=U==1||U==2&&(B<=h||B>=m)?lc(w,B):La(w,B,"0");else if(S=re(new C(S),E,T),z=S.e,w=Cr(S.c),H=w.length,U==1||U==2&&(E<=z||z<=h)){for(;H<E;w+="0",H++);w=lc(w,z)}else if(E-=B,w=La(w,z,"0"),z+1>H){if(--E>0)for(w+=".";E--;w+="0");}else if(E+=z-H,E>0)for(z+1==H&&(w+=".");E--;w+="0");return S.s<0&&q?"-"+w:w}function J(S,E){for(var T,U,q=1,z=new C(S[0]);q<S.length;q++)U=new C(S[q]),(!U.s||(T=Ji(z,U))===E||T===0&&z.s===E)&&(z=U);return z}function K(S,E,T){for(var U=1,q=E.length;!E[--q];E.pop());for(q=E[0];q>=10;q/=10,U++);return(T=U+T*Ue-1)>g?S.c=S.e=null:T<v?S.c=[S.e=0]:(S.e=T,S.c=E),S}t=function(){var S=/^(-?)0([xbo])(?=\w[\w.]*$)/i,E=/^([^.]+)\.$/,T=/^\.([^.]+)$/,U=/^-?(Infinity|NaN)$/,q=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(z,B,H,w){var k,L=H?B:B.replace(q,"");if(U.test(L))z.s=isNaN(L)?null:L<0?-1:1;else{if(!H&&(L=L.replace(S,function(X,A,Y){return k=(Y=Y.toLowerCase())=="x"?16:Y=="b"?2:8,!w||w==k?A:X}),w&&(k=w,L=L.replace(E,"$1").replace(T,"0.$1")),B!=L))return new C(L,k);if(C.DEBUG)throw Error(tr+"Not a"+(w?" base "+w:"")+" number: "+B);z.s=null}z.c=z.e=null}}();function re(S,E,T,U){var q,z,B,H,w,k,L,X=S.c,A=Kp;if(X){e:{for(q=1,H=X[0];H>=10;H/=10,q++);if(z=E-q,z<0)z+=Ue,B=E,w=X[k=0],L=Rr(w/A[q-B-1]%10);else if(k=Wp((z+1)/Ue),k>=X.length)if(U){for(;X.length<=k;X.push(0));w=L=0,q=1,z%=Ue,B=z-Ue+1}else break e;else{for(w=H=X[k],q=1;H>=10;H/=10,q++);z%=Ue,B=z-Ue+q,L=B<0?0:Rr(w/A[q-B-1]%10)}if(U=U||E<0||X[k+1]!=null||(B<0?w:w%A[q-B-1]),U=T<4?(L||U)&&(T==0||T==(S.s<0?3:2)):L>5||L==5&&(T==4||U||T==6&&(z>0?B>0?w/A[q-B]:0:X[k-1])%10&1||T==(S.s<0?8:7)),E<1||!X[0])return X.length=0,U?(E-=S.e+1,X[0]=A[(Ue-E%Ue)%Ue],S.e=-E||0):X[0]=S.e=0,S;if(z==0?(X.length=k,H=1,k--):(X.length=k+1,H=A[Ue-z],X[k]=B>0?Rr(w/A[q-B]%A[B])*H:0),U)for(;;)if(k==0){for(z=1,B=X[0];B>=10;B/=10,z++);for(B=X[0]+=H,H=1;B>=10;B/=10,H++);z!=H&&(S.e++,X[0]==Gr&&(X[0]=1));break}else{if(X[k]+=H,X[k]!=Gr)break;X[k--]=0,H=1}for(z=X.length;X[--z]===0;X.pop());}S.e>g?S.c=S.e=null:S.e<v&&(S.c=[S.e=0])}return S}function V(S){var E,T=S.e;return T===null?S.toString():(E=Cr(S.c),E=T<=h||T>=m?lc(E,T):La(E,T,"0"),S.s<0?"-"+E:E)}return l.absoluteValue=l.abs=function(){var S=new C(this);return S.s<0&&(S.s=1),S},l.comparedTo=function(S,E){return Ji(this,new C(S,E))},l.decimalPlaces=l.dp=function(S,E){var T,U,q,z=this;if(S!=null)return Zt(S,0,Dn),E==null?E=d:Zt(E,0,8),re(new C(z),S+z.e+1,E);if(!(T=z.c))return null;if(U=((q=T.length-1)-Nr(this.e/Ue))*Ue,q=T[q])for(;q%10==0;q/=10,U--);return U<0&&(U=0),U},l.dividedBy=l.div=function(S,E){return i(this,new C(S,E),c,d)},l.dividedToIntegerBy=l.idiv=function(S,E){return i(this,new C(S,E),0,1)},l.exponentiatedBy=l.pow=function(S,E){var T,U,q,z,B,H,w,k,L,X=this;if(S=new C(S),S.c&&!S.isInteger())throw Error(tr+"Exponent not an integer: "+V(S));if(E!=null&&(E=new C(E)),H=S.e>14,!X.c||!X.c[0]||X.c[0]==1&&!X.e&&X.c.length==1||!S.c||!S.c[0])return L=new C(Math.pow(+V(X),H?S.s*(2-ic(S)):+V(S))),E?L.mod(E):L;if(w=S.s<0,E){if(E.c?!E.c[0]:!E.s)return new C(NaN);U=!w&&X.isInteger()&&E.isInteger(),U&&(X=X.mod(E))}else{if(S.e>9&&(X.e>0||X.e<-1||(X.e==0?X.c[0]>1||H&&X.c[1]>=24e7:X.c[0]<8e13||H&&X.c[0]<=9999975e7)))return z=X.s<0&&ic(S)?-0:0,X.e>-1&&(z=1/z),new C(w?1/z:z);M&&(z=Wp(M/Ue+2))}for(H?(T=new C(.5),w&&(S.s=1),k=ic(S)):(q=Math.abs(+V(S)),k=q%2),L=new C(s);;){if(k){if(L=L.times(X),!L.c)break;z?L.c.length>z&&(L.c.length=z):U&&(L=L.mod(E))}if(q){if(q=Rr(q/2),q===0)break;k=q%2}else if(S=S.times(T),re(S,S.e+1,1),S.e>14)k=ic(S);else{if(q=+V(S),q===0)break;k=q%2}X=X.times(X),z?X.c&&X.c.length>z&&(X.c.length=z):U&&(X=X.mod(E))}return U?L:(w&&(L=s.div(L)),E?L.mod(E):z?re(L,M,d,B):L)},l.integerValue=function(S){var E=new C(this);return S==null?S=d:Zt(S,0,8),re(E,E.e+1,S)},l.isEqualTo=l.eq=function(S,E){return Ji(this,new C(S,E))===0},l.isFinite=function(){return!!this.c},l.isGreaterThan=l.gt=function(S,E){return Ji(this,new C(S,E))>0},l.isGreaterThanOrEqualTo=l.gte=function(S,E){return(E=Ji(this,new C(S,E)))===1||E===0},l.isInteger=function(){return!!this.c&&Nr(this.e/Ue)>this.c.length-2},l.isLessThan=l.lt=function(S,E){return Ji(this,new C(S,E))<0},l.isLessThanOrEqualTo=l.lte=function(S,E){return(E=Ji(this,new C(S,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(S,E){var T,U,q,z,B=this,H=B.s;if(S=new C(S,E),E=S.s,!H||!E)return new C(NaN);if(H!=E)return S.s=-E,B.plus(S);var w=B.e/Ue,k=S.e/Ue,L=B.c,X=S.c;if(!w||!k){if(!L||!X)return L?(S.s=-E,S):new C(X?B:NaN);if(!L[0]||!X[0])return X[0]?(S.s=-E,S):new C(L[0]?B:d==3?-0:0)}if(w=Nr(w),k=Nr(k),L=L.slice(),H=w-k){for((z=H<0)?(H=-H,q=L):(k=w,q=X),q.reverse(),E=H;E--;q.push(0));q.reverse()}else for(U=(z=(H=L.length)<(E=X.length))?H:E,H=E=0;E<U;E++)if(L[E]!=X[E]){z=L[E]<X[E];break}if(z&&(q=L,L=X,X=q,S.s=-S.s),E=(U=X.length)-(T=L.length),E>0)for(;E--;L[T++]=0);for(E=Gr-1;U>H;){if(L[--U]<X[U]){for(T=U;T&&!L[--T];L[T]=E);--L[T],L[U]+=Gr}L[U]-=X[U]}for(;L[0]==0;L.splice(0,1),--k);return L[0]?K(S,L,k):(S.s=d==3?-1:1,S.c=[S.e=0],S)},l.modulo=l.mod=function(S,E){var T,U,q=this;return S=new C(S,E),!q.c||!S.s||S.c&&!S.c[0]?new C(NaN):!S.c||q.c&&!q.c[0]?new C(q):(x==9?(U=S.s,S.s=1,T=i(q,S,0,3),S.s=U,T.s*=U):T=i(q,S,0,x),S=q.minus(T.times(S)),!S.c[0]&&x==1&&(S.s=q.s),S)},l.multipliedBy=l.times=function(S,E){var T,U,q,z,B,H,w,k,L,X,A,Y,oe,ae,he,ce=this,pe=ce.c,Ye=(S=new C(S,E)).c;if(!pe||!Ye||!pe[0]||!Ye[0])return!ce.s||!S.s||pe&&!pe[0]&&!Ye||Ye&&!Ye[0]&&!pe?S.c=S.e=S.s=null:(S.s*=ce.s,!pe||!Ye?S.c=S.e=null:(S.c=[0],S.e=0)),S;for(U=Nr(ce.e/Ue)+Nr(S.e/Ue),S.s*=ce.s,w=pe.length,X=Ye.length,w<X&&(oe=pe,pe=Ye,Ye=oe,q=w,w=X,X=q),q=w+X,oe=[];q--;oe.push(0));for(ae=Gr,he=_i,q=X;--q>=0;){for(T=0,A=Ye[q]%he,Y=Ye[q]/he|0,B=w,z=q+B;z>q;)k=pe[--B]%he,L=pe[B]/he|0,H=Y*k+L*A,k=A*k+H%he*he+oe[z]+T,T=(k/ae|0)+(H/he|0)+Y*L,oe[z--]=k%ae;oe[z]=T}return T?++U:oe.splice(0,1),K(S,oe,U)},l.negated=function(){var S=new C(this);return S.s=-S.s||null,S},l.plus=function(S,E){var T,U=this,q=U.s;if(S=new C(S,E),E=S.s,!q||!E)return new C(NaN);if(q!=E)return S.s=-E,U.minus(S);var z=U.e/Ue,B=S.e/Ue,H=U.c,w=S.c;if(!z||!B){if(!H||!w)return new C(q/0);if(!H[0]||!w[0])return w[0]?S:new C(H[0]?U:q*0)}if(z=Nr(z),B=Nr(B),H=H.slice(),q=z-B){for(q>0?(B=z,T=w):(q=-q,T=H),T.reverse();q--;T.push(0));T.reverse()}for(q=H.length,E=w.length,q-E<0&&(T=w,w=H,H=T,E=q),q=0;E;)q=(H[--E]=H[E]+w[E]+q)/Gr|0,H[E]=Gr===H[E]?0:H[E]%Gr;return q&&(H=[q].concat(H),++B),K(S,H,B)},l.precision=l.sd=function(S,E){var T,U,q,z=this;if(S!=null&&S!==!!S)return Zt(S,1,Dn),E==null?E=d:Zt(E,0,8),re(new C(z),S,E);if(!(T=z.c))return null;if(q=T.length-1,U=q*Ue+1,q=T[q]){for(;q%10==0;q/=10,U--);for(q=T[0];q>=10;q/=10,U++);}return S&&z.e+1>U&&(U=z.e+1),U},l.shiftedBy=function(S){return Zt(S,-Qp,Qp),this.times("1e"+S)},l.squareRoot=l.sqrt=function(){var S,E,T,U,q,z=this,B=z.c,H=z.s,w=z.e,k=c+4,L=new C("0.5");if(H!==1||!B||!B[0])return new C(!H||H<0&&(!B||B[0])?NaN:B?z:1/0);if(H=Math.sqrt(+V(z)),H==0||H==1/0?(E=Cr(B),(E.length+w)%2==0&&(E+="0"),H=Math.sqrt(+E),w=Nr((w+1)/2)-(w<0||w%2),H==1/0?E="5e"+w:(E=H.toExponential(),E=E.slice(0,E.indexOf("e")+1)+w),T=new C(E)):T=new C(H+""),T.c[0]){for(w=T.e,H=w+k,H<3&&(H=0);;)if(q=T,T=L.times(q.plus(i(z,q,k,1))),Cr(q.c).slice(0,H)===(E=Cr(T.c)).slice(0,H))if(T.e<w&&--H,E=E.slice(H-3,H+1),E=="9999"||!U&&E=="4999"){if(!U&&(re(q,q.e+c+2,0),q.times(q).eq(z))){T=q;break}k+=4,H+=4,U=1}else{(!+E||!+E.slice(1)&&E.charAt(0)=="5")&&(re(T,T.e+c+2,1),S=!T.times(T).eq(z));break}}return re(T,T.e+c+1,d,S)},l.toExponential=function(S,E){return S!=null&&(Zt(S,0,Dn),S++),Q(this,S,E,1)},l.toFixed=function(S,E){return S!=null&&(Zt(S,0,Dn),S=S+this.e+1),Q(this,S,E)},l.toFormat=function(S,E,T){var U,q=this;if(T==null)S!=null&&E&&typeof E=="object"?(T=E,E=null):S&&typeof S=="object"?(T=S,S=E=null):T=N;else if(typeof T!="object")throw Error(tr+"Argument not an object: "+T);if(U=q.toFixed(S,E),q.c){var z,B=U.split("."),H=+T.groupSize,w=+T.secondaryGroupSize,k=T.groupSeparator||"",L=B[0],X=B[1],A=q.s<0,Y=A?L.slice(1):L,oe=Y.length;if(w&&(z=H,H=w,w=z,oe-=z),H>0&&oe>0){for(z=oe%H||H,L=Y.substr(0,z);z<oe;z+=H)L+=k+Y.substr(z,H);w>0&&(L+=k+Y.slice(z)),A&&(L="-"+L)}U=X?L+(T.decimalSeparator||"")+((w=+T.fractionGroupSize)?X.replace(new RegExp("\\d{"+w+"}\\B","g"),"$&"+(T.fractionGroupSeparator||"")):X):L}return(T.prefix||"")+U+(T.suffix||"")},l.toFraction=function(S){var E,T,U,q,z,B,H,w,k,L,X,A,Y=this,oe=Y.c;if(S!=null&&(H=new C(S),!H.isInteger()&&(H.c||H.s!==1)||H.lt(s)))throw Error(tr+"Argument "+(H.isInteger()?"out of range: ":"not an integer: ")+V(H));if(!oe)return new C(Y);for(E=new C(s),k=T=new C(s),U=w=new C(s),A=Cr(oe),z=E.e=A.length-Y.e-1,E.c[0]=Kp[(B=z%Ue)<0?Ue+B:B],S=!S||H.comparedTo(E)>0?z>0?E:k:H,B=g,g=1/0,H=new C(A),w.c[0]=0;L=i(H,E,0,1),q=T.plus(L.times(U)),q.comparedTo(S)!=1;)T=U,U=q,k=w.plus(L.times(q=k)),w=q,E=H.minus(L.times(q=E)),H=q;return q=i(S.minus(T),U,0,1),w=w.plus(q.times(k)),T=T.plus(q.times(U)),w.s=k.s=Y.s,z=z*2,X=i(k,U,z,d).minus(Y).abs().comparedTo(i(w,T,z,d).minus(Y).abs())<1?[k,U]:[w,T],g=B,X},l.toNumber=function(){return+V(this)},l.toPrecision=function(S,E){return S!=null&&Zt(S,1,Dn),Q(this,S,E,2)},l.toString=function(S){var E,T=this,U=T.s,q=T.e;return q===null?U?(E="Infinity",U<0&&(E="-"+E)):E="NaN":(S==null?E=q<=h||q>=m?lc(Cr(T.c),q):La(Cr(T.c),q,"0"):S===10&&R?(T=re(new C(T),c+q+1,d),E=La(Cr(T.c),T.e,"0")):(Zt(S,2,O.length,"Base"),E=n(La(Cr(T.c),q,"0"),10,S,U,!0)),U<0&&T.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&&C.set(a),C}function Nr(a){var i=a|0;return a>0||a===i?i:i-1}function Cr(a){for(var i,n,t=1,l=a.length,s=a[0]+"";t<l;){for(i=a[t++]+"",n=Ue-i.length;n--;i="0"+i);s+=i}for(l=s.length;s.charCodeAt(--l)===48;);return s.slice(0,l+1||1)}function Ji(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 Zt(a,i,n,t){if(a<i||a>n||a!==Rr(a))throw Error(tr+(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 Nr(a.e/Ue)==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 La(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 Kt=H8(),Ac;(function(a){a[a.up=Kt.ROUND_UP]="up",a[a.down=Kt.ROUND_DOWN]="down",a[a.truncate=Kt.ROUND_DOWN]="truncate",a[a.halfUp=Kt.ROUND_HALF_UP]="halfUp",a[a.default=Kt.ROUND_HALF_UP]="default",a[a.halfDown=Kt.ROUND_HALF_DOWN]="halfDown",a[a.halfEven=Kt.ROUND_HALF_EVEN]="halfEven",a[a.banker=Kt.ROUND_HALF_EVEN]="banker",a[a.ceiling=Kt.ROUND_CEIL]="ceiling",a[a.ceil=Kt.ROUND_CEIL]="ceil",a[a.floor=Kt.ROUND_FLOOR]="floor"})(Ac||(Ac={}));function P8(a){var i;return(i=Ac[a])!==null&&i!==void 0?i:Ac.default}var Xp,Hy;function px(){if(Hy)return Xp;Hy=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 Xp=n,Xp}var $p,Py;function hx(){if(Py)return $p;Py=1;var a=/\s/;function i(n){for(var t=n.length;t--&&a.test(n.charAt(t)););return t}return $p=i,$p}var Jp,zy;function mx(){if(zy)return Jp;zy=1;var a=hx(),i=/^\s+/;function n(t){return t&&t.slice(0,a(t)+1).replace(i,"")}return Jp=n,Jp}var eh,Yy;function vx(){if(Yy)return eh;Yy=1;var a=mx(),i=Za(),n=Fs(),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 eh=h,eh}var th,jy;function z8(){if(jy)return th;jy=1;var a=vx(),i=1/0,n=17976931348623157e292;function t(l){if(!l)return l===0?l:0;if(l=a(l),l===i||l===-i){var s=l<0?-1:1;return s*n}return l===l?l:0}return th=t,th}var nh,By;function gx(){if(By)return nh;By=1;var a=z8();function i(n){var t=a(n),l=t%1;return t===t?l?t-l:t:0}return nh=i,nh}var rh,Iy;function yx(){if(Iy)return rh;Iy=1;var a=px(),i=ef(),n=gx(),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 rh=l,rh}var bx=yx();const _x=vr(bx);function Sx(a){return a.isZero()?1:Math.floor(Math.log10(a.abs().toNumber())+1)}function Ex(a,{precision:i,significant:n}){return n&&i!==null&&i>0?i-Sx(a):i}function Cc(a,i){const n=Ex(a,i);if(n===null)return a.toString();const t=P8(i.roundMode);if(n>=0)return a.toFixed(n,t);const l=Math.pow(10,Math.abs(n));return a=new Kt(a.div(l).toFixed(0,t)).times(l),a.toString()}function wx(a,{formattedNumber:i,unit:n}){return a.replace("%n",i).replace("%u",n)}function Dx({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 _s(a,i){var n,t,l;const s=new Kt(a);if(i.raise&&!s.isFinite())throw new Error(`"${a}" is not a valid numeric value`);const c=Cc(s,i),d=new Kt(c),h=d.lt(0),m=d.isZero();let[v,g]=c.split(".");const _=[];let x;const M=(n=i.format)!==null&&n!==void 0?n:"%n",N=(t=i.negativeFormat)!==null&&t!==void 0?t:`-${M}`,O=h&&!m?N:M;for(v=v.replace("-","");v.length>0;)_.unshift(v.substr(Math.max(0,v.length-3),3)),v=v.substr(0,v.length-3);return v=_.join(""),x=_.join(i.delimiter),i.significant?g=Dx({whole:v,significand:g,precision:i.precision}):g=g??_x("0",(l=i.precision)!==null&&l!==void 0?l:0),i.stripInsignificantZeros&&g&&(g=g.replace(/0+$/,"")),s.isNaN()&&(x=a.toString()),g&&s.isFinite()&&(x+=(i.separator||".")+g),wx(O,{formattedNumber:x,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?.constructor)===null||i===void 0?void 0:i.name)===null||n===void 0?void 0:n.toLowerCase())||"object"}function ah(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 Tx(a,i){const n=new Kt(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 ih,Fy;function Y8(){if(Fy)return ih;Fy=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 ih=a,ih}var lh,Gy;function xx(){if(Gy)return lh;Gy=1;var a=Is(),i=$c(),n=$r(),t=a?a.isConcatSpreadable:void 0;function l(s){return n(s)||i(s)||!!(t&&s&&s[t])}return lh=l,lh}var oh,Zy;function Mx(){if(Zy)return oh;Zy=1;var a=Y8(),i=xx();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 oh=n,oh}var sh,Vy;function Ox(){if(Vy)return sh;Vy=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 sh=a,sh}var uh,Wy;function j8(){if(Wy)return uh;Wy=1;var a=k8(),i=Ox(),n=L8(),t=1,l=2;function s(c,d,h,m,v,g){var _=h&t,x=c.length,M=d.length;if(x!=M&&!(_&&M>x))return!1;var N=g.get(c),O=g.get(d);if(N&&O)return N==d&&O==c;var R=-1,C=!0,Q=h&l?new a:void 0;for(g.set(c,d),g.set(d,c);++R<x;){var J=c[R],K=d[R];if(m)var re=_?m(K,J,R,d,c,g):m(J,K,R,c,d,g);if(re!==void 0){if(re)continue;C=!1;break}if(Q){if(!i(d,function(V,S){if(!n(Q,S)&&(J===V||v(J,V,h,m,g)))return Q.push(S)})){C=!1;break}}else if(!(J===K||v(J,K,h,m,g))){C=!1;break}}return g.delete(c),g.delete(d),C}return uh=s,uh}var ch,Qy;function Ax(){if(Qy)return ch;Qy=1;function a(i){var n=-1,t=Array(i.size);return i.forEach(function(l,s){t[++n]=[s,l]}),t}return ch=a,ch}var fh,Ky;function Cx(){if(Ky)return fh;Ky=1;var a=Is(),i=D8(),n=Gs(),t=j8(),l=Ax(),s=Mm(),c=1,d=2,h="[object Boolean]",m="[object Date]",v="[object Error]",g="[object Map]",_="[object Number]",x="[object RegExp]",M="[object Set]",N="[object String]",O="[object Symbol]",R="[object ArrayBuffer]",C="[object DataView]",Q=a?a.prototype:void 0,J=Q?Q.valueOf:void 0;function K(re,V,S,E,T,U,q){switch(S){case C:if(re.byteLength!=V.byteLength||re.byteOffset!=V.byteOffset)return!1;re=re.buffer,V=V.buffer;case R:return!(re.byteLength!=V.byteLength||!U(new i(re),new i(V)));case h:case m:case _:return n(+re,+V);case v:return re.name==V.name&&re.message==V.message;case x:case N: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 H=q.get(re);if(H)return H==V;E|=d,q.set(re,V);var w=t(z(re),z(V),E,T,U,q);return q.delete(re),w;case O:if(J)return J.call(re)==J.call(V)}return!1}return fh=K,fh}var dh,Xy;function Rx(){if(Xy)return dh;Xy=1;var a=Y8(),i=$r();function n(t,l,s){var c=l(t);return i(t)?c:a(c,s(t))}return dh=n,dh}var ph,$y;function Nx(){if($y)return ph;$y=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 ph=a,ph}var hh,Jy;function kx(){if(Jy)return hh;Jy=1;function a(){return[]}return hh=a,hh}var mh,e7;function Lx(){if(e7)return mh;e7=1;var a=Nx(),i=kx(),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 mh=s,mh}var vh,t7;function qx(){if(t7)return vh;t7=1;var a=T8(),i=a(Object.keys,Object);return vh=i,vh}var gh,n7;function Ux(){if(n7)return gh;n7=1;var a=Dm(),i=qx(),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 gh=l,gh}var yh,r7;function Om(){if(r7)return yh;r7=1;var a=C8(),i=Ux(),n=go();function t(l){return n(l)?a(l):i(l)}return yh=t,yh}var bh,a7;function Hx(){if(a7)return bh;a7=1;var a=Rx(),i=Lx(),n=Om();function t(l){return a(l,n,i)}return bh=t,bh}var _h,i7;function Px(){if(i7)return _h;i7=1;var a=Hx(),i=1,n=Object.prototype,t=n.hasOwnProperty;function l(s,c,d,h,m,v){var g=d&i,_=a(s),x=_.length,M=a(c),N=M.length;if(x!=N&&!g)return!1;for(var O=x;O--;){var R=_[O];if(!(g?R in c:t.call(c,R)))return!1}var C=v.get(s),Q=v.get(c);if(C&&Q)return C==c&&Q==s;var J=!0;v.set(s,c),v.set(c,s);for(var K=g;++O<x;){R=_[O];var re=s[R],V=c[R];if(h)var S=g?h(V,re,R,c,s,v):h(re,V,R,s,c,v);if(!(S===void 0?re===V||m(re,V,d,h,v):S)){J=!1;break}K||(K=R=="constructor")}if(J&&!K){var E=s.constructor,T=c.constructor;E!=T&&"constructor"in s&&"constructor"in c&&!(typeof E=="function"&&E instanceof E&&typeof T=="function"&&T instanceof T)&&(J=!1)}return v.delete(s),v.delete(c),J}return _h=l,_h}var Sh,l7;function zx(){if(l7)return Sh;l7=1;var a=pl(),i=ga(),n=a(i,"DataView");return Sh=n,Sh}var Eh,o7;function Yx(){if(o7)return Eh;o7=1;var a=pl(),i=ga(),n=a(i,"Promise");return Eh=n,Eh}var wh,s7;function jx(){if(s7)return wh;s7=1;var a=pl(),i=ga(),n=a(i,"WeakMap");return wh=n,wh}var Dh,u7;function Bx(){if(u7)return Dh;u7=1;var a=zx(),i=gm(),n=Yx(),t=q8(),l=jx(),s=mo(),c=v8(),d="[object Map]",h="[object Object]",m="[object Promise]",v="[object Set]",g="[object WeakMap]",_="[object DataView]",x=c(a),M=c(i),N=c(n),O=c(t),R=c(l),C=s;return(a&&C(new a(new ArrayBuffer(1)))!=_||i&&C(new i)!=d||n&&C(n.resolve())!=m||t&&C(new t)!=v||l&&C(new l)!=g)&&(C=function(Q){var J=s(Q),K=J==h?Q.constructor:void 0,re=K?c(K):"";if(re)switch(re){case x:return _;case M:return d;case N:return m;case O:return v;case R:return g}return J}),Dh=C,Dh}var Th,c7;function Ix(){if(c7)return Th;c7=1;var a=Em(),i=j8(),n=Cx(),t=Px(),l=Bx(),s=$r(),c=Tm(),d=xm(),h=1,m="[object Arguments]",v="[object Array]",g="[object Object]",_=Object.prototype,x=_.hasOwnProperty;function M(N,O,R,C,Q,J){var K=s(N),re=s(O),V=K?v:l(N),S=re?v:l(O);V=V==m?g:V,S=S==m?g:S;var E=V==g,T=S==g,U=V==S;if(U&&c(N)){if(!c(O))return!1;K=!0,E=!1}if(U&&!E)return J||(J=new a),K||d(N)?i(N,O,R,C,Q,J):n(N,O,V,R,C,Q,J);if(!(R&h)){var q=E&&x.call(N,"__wrapped__"),z=T&&x.call(O,"__wrapped__");if(q||z){var B=q?N.value():N,H=z?O.value():O;return J||(J=new a),Q(B,H,R,C,J)}}return U?(J||(J=new a),t(N,O,R,C,Q,J)):!1}return Th=M,Th}var xh,f7;function B8(){if(f7)return xh;f7=1;var a=Ix(),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 xh=n,xh}var Mh,d7;function Fx(){if(d7)return Mh;d7=1;var a=Em(),i=B8(),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 _=d[m];if(g&&_[2]?_[1]!==s[_[0]]:!(_[0]in s))return!1}for(;++m<v;){_=d[m];var x=_[0],M=s[x],N=_[1];if(g&&_[2]){if(M===void 0&&!(x in s))return!1}else{var O=new a;if(h)var R=h(M,N,x,s,c,O);if(!(R===void 0?i(N,M,n|t,h,O):R))return!1}}return!0}return Mh=l,Mh}var Oh,p7;function I8(){if(p7)return Oh;p7=1;var a=Za();function i(n){return n===n&&!a(n)}return Oh=i,Oh}var Ah,h7;function Gx(){if(h7)return Ah;h7=1;var a=I8(),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 Ah=n,Ah}var Ch,m7;function F8(){if(m7)return Ch;m7=1;function a(i,n){return function(t){return t==null?!1:t[i]===n&&(n!==void 0||i in Object(t))}}return Ch=a,Ch}var Rh,v7;function Zx(){if(v7)return Rh;v7=1;var a=Fx(),i=Gx(),n=F8();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 Rh=t,Rh}var Nh,g7;function Vx(){if(g7)return Nh;g7=1;function a(i,n){return i!=null&&n in Object(i)}return Nh=a,Nh}var kh,y7;function Wx(){if(y7)return kh;y7=1;var a=Vx(),i=_8();function n(t,l){return t!=null&&i(t,l,a)}return kh=n,kh}var Lh,b7;function Qx(){if(b7)return Lh;b7=1;var a=B8(),i=b8(),n=Wx(),t=mm(),l=I8(),s=F8(),c=Xc(),d=1,h=2;function m(v,g){return t(v)&&l(g)?s(c(v),g):function(_){var x=i(_,v);return x===void 0&&x===g?n(_,v):a(g,x,d|h)}}return Lh=m,Lh}var qh,_7;function Kx(){if(_7)return qh;_7=1;function a(i){return function(n){return n?.[i]}}return qh=a,qh}var Uh,S7;function Xx(){if(S7)return Uh;S7=1;var a=bm();function i(n){return function(t){return a(t,n)}}return Uh=i,Uh}var Hh,E7;function $x(){if(E7)return Hh;E7=1;var a=Kx(),i=Xx(),n=mm(),t=Xc();function l(s){return n(s)?a(t(s)):i(s)}return Hh=l,Hh}var Ph,w7;function Jx(){if(w7)return Ph;w7=1;var a=Zx(),i=Qx(),n=Jc(),t=$r(),l=$x();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 Ph=s,Ph}var zh,D7;function eM(){if(D7)return zh;D7=1;var a=w8(),i=Om();function n(t,l){return t&&a(t,l,i)}return zh=n,zh}var Yh,T7;function tM(){if(T7)return Yh;T7=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 Yh=i,Yh}var jh,x7;function nM(){if(x7)return jh;x7=1;var a=eM(),i=tM(),n=i(a);return jh=n,jh}var Bh,M7;function rM(){if(M7)return Bh;M7=1;var a=nM(),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 Bh=n,Bh}var Ih,O7;function aM(){if(O7)return Ih;O7=1;function a(i,n){var t=i.length;for(i.sort(n);t--;)i[t]=i[t].value;return i}return Ih=a,Ih}var Fh,A7;function iM(){if(A7)return Fh;A7=1;var a=Fs();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 Fh=i,Fh}var Gh,C7;function lM(){if(C7)return Gh;C7=1;var a=iM();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 Gh=i,Gh}var Zh,R7;function oM(){if(R7)return Zh;R7=1;var a=g8(),i=bm(),n=Jx(),t=rM(),l=aM(),s=M8(),c=lM(),d=Jc(),h=$r();function m(v,g,_){g.length?g=a(g,function(N){return h(N)?function(O){return i(O,N.length===1?N[0]:N)}:N}):g=[d];var x=-1;g=a(g,s(n));var M=t(v,function(N,O,R){var C=a(g,function(Q){return Q(N)});return{criteria:C,index:++x,value:N}});return l(M,function(N,O){return c(N,O,_)})}return Zh=m,Zh}var Vh,N7;function sM(){if(N7)return Vh;N7=1;var a=Mx(),i=oM(),n=N8(),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 Vh=l,Vh}var uM=sM();const cM=vr(uM);var Wh,k7;function fM(){if(k7)return Wh;k7=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 Wh=a,Wh}var Qh,L7;function dM(){if(L7)return Qh;L7=1;var a=A8(),i=fM();function n(t,l){return i(t||[],l||[],a)}return Qh=n,Qh}var pM=dM();const hM=vr(pM),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"},mM=hM(Object.values(z2),Object.keys(z2).map(a=>parseInt(a,10)));function vM(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 Kt(i),t);const c=g=>cM(Object.keys(g).map(_=>mM[_]),_=>_*-1),d=(g,_)=>{const x=g.isZero()?0:Math.floor(Math.log10(g.abs().toNumber()));return c(_).find(M=>x>=M)||0},h=(g,_)=>{const x=z2[_.toString()];return g[x]||""},m=d(new Kt(s),l),v=h(l,m);if(s=Cc(new Kt(s).div(Math.pow(10,m)),t),n.stripInsignificantZeros){let[g,_]=s.split(".");_=(_||"").replace(/0+$/,""),s=g,_&&(s+=`${n.separator}${_}`)}return n.format.replace("%n",s||"0").replace("%u",v).trim()}const q7=["byte","kb","mb","gb","tb","pb","eb"];function gM(a,i,n){const t=P8(n.roundMode),l=1024,s=new Kt(i).abs(),c=s.lt(l);let d;const h=(M,N)=>{const O=N.length-1,R=new Kt(Math.log(M.toNumber())).div(Math.log(l)).integerValue(Kt.ROUND_DOWN).toNumber();return Math.min(O,R)},m=M=>`number.human.storage_units.units.${c?"byte":M[v]}`,v=h(s,q7);c?d=s.integerValue():d=new Kt(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"}),_=a.translate(m(q7),{count:s.integerValue().toNumber()});let x=d.toFixed(n.precision,t);return n.stripInsignificantZeros&&(x=x.replace(/(\..*?)0+$/,"$1").replace(/\.$/,"")),g.replace("%n",x).replace("%u",_)}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(_=>parseInt(_,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 U7({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 yM={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 bM(a,i,n={}){const{abbrDayNames:t,dayNames:l,abbrMonthNames:s,monthNames:c,meridian:d,utc:h}=Object.assign(Object.assign({},yM),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(),_=(h?a.getUTCMonth():a.getMonth())+1,x=h?a.getUTCHours():a.getHours();let M=x;const N=x>11?"pm":"am",O=h?a.getUTCSeconds():a.getSeconds(),R=h?a.getUTCMinutes():a.getMinutes(),C=h?0:a.getTimezoneOffset(),Q=Math.floor(Math.abs(C/60)),J=Math.abs(C)-Q*60,K=(C>0?"-":"+")+(Q.toString().length<2?"0"+Q:Q)+(J.toString().length<2?"0"+J:J);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[_]),i=i.replace("%B",c[_]),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",x.toString().padStart(2,"0")),i=i.replace("%-H",x.toString()),i=i.replace("%k",x.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",_.toString().padStart(2,"0")),i=i.replace("%-m",_.toString()),i=i.replace("%M",R.toString().padStart(2,"0")),i=i.replace("%-M",R.toString()),i=i.replace("%p",d[N]),i=i.replace("%P",d[N].toLowerCase()),i=i.replace("%S",O.toString().padStart(2,"0")),i=i.replace("%-S",O.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,K),i}var Kh,H7;function _M(){if(H7)return Kh;H7=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 Kh=n,Kh}var Xh,P7;function SM(){if(P7)return Xh;P7=1;var a=_M(),i=ef(),n=z8();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 Xh=t,Xh}var $h,z7;function EM(){if(z7)return $h;z7=1;var a=SM(),i=a();return $h=i,$h}var wM=EM();const DM=vr(wM),pr=(a,i,n)=>n>=a&&n<=i;function TM(a,i,n,t={}){const l=t.scope||"datetime.distance_in_words",s=(V,S=0)=>a.t(V,{count:S,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,_=Math.round(m/60),x=Math.round(g),M=Math.round(x/30);if(pr(0,1,m))return t.includeSeconds?pr(0,4,h)?s("less_than_x_seconds",5):pr(5,9,h)?s("less_than_x_seconds",10):pr(10,19,h)?s("less_than_x_seconds",20):pr(20,39,h)?s("half_a_minute"):pr(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(pr(2,44,m))return s("x_minutes",m);if(pr(45,89,m))return s("about_x_hours",1);if(pr(90,1439,m))return s("about_x_hours",_);if(pr(1440,2519,m))return s("x_days",1);if(pr(2520,43199,m))return s("x_days",x);if(pr(43200,86399,m))return s("about_x_months",Math.round(m/43200));if(pr(86400,525599,m))return s("x_months",M);let N=i.getFullYear();i.getMonth()+1>=3&&(N+=1);let O=n.getFullYear();n.getMonth()+1<3&&(O-=1);const R=N>O?0:DM(N,O).filter(V=>new Date(V,1,29).getMonth()==1).length,C=525600,Q=R*1440,J=m-Q,K=Math.trunc(J/C),re=parseFloat((J/C-K).toPrecision(3));return re<.25?s("about_x_years",K):re<.75?s("over_x_years",K):s("almost_x_years",K+1)}const xM=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()}`)},MM=(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]`},OM=(a,i,n)=>{const t=ao(a,i,n),l=[a.locale,t].join(a.defaultSeparator);throw new Error(`Missing translation: ${l}`)};class AM{constructor(i){this.i18n=i,this.registry={},this.register("guess",xM),this.register("message",MM),this.register("error",OM)}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 CM=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 Jh={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 RM=class{constructor(i={},n={}){this._locale=Jh.locale,this._defaultLocale=Jh.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:_}=Object.assign(Object.assign({},Jh),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 FT(this),this.locales=new YT(this),this.missingTranslation=new AM(this),this.transformKey=_,this.interpolate=ah,this.store(i)}store(i){DT(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=fx(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=U7({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"?ah(this,c,n):c)),l):this.missingTranslation.get(i,n)}pluralize(i,n,t){return U7({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 _s(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(),ah(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 _s(i,Object.assign(Object.assign(Object.assign({delimiter:",",format:"%u%n",precision:2,separator:".",significant:!1,stripInsignificantZeros:!1,unit:"$"},Fr(this.get("number.format"))),Fr(this.get("number.currency.format"))),n))}numberToPercentage(i,n={}){return _s(i,Object.assign(Object.assign(Object.assign({delimiter:"",format:"%n%",precision:3,stripInsignificantZeros:!1,separator:".",significant:!1},Fr(this.get("number.format"))),Fr(this.get("number.percentage.format"))),n))}numberToHumanSize(i,n={}){return gM(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:""}},Fr(this.get("number.human.format"))),Fr(this.get("number.human.storage_units"))),n))}numberToHuman(i,n={}){return vM(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:""}},Fr(this.get("number.human.format"))),Fr(this.get("number.human.decimal_units"))),n))}numberToRounded(i,n){return _s(i,Object.assign({unit:"",precision:3,significant:!1,separator:".",delimiter:"",stripInsignificantZeros:!1},n))}numberToDelimited(i,n={}){return Tx(i,Object.assign({delimiterPattern:/(\d)(?=(\d\d\d)+(?!\d))/g,delimiter:",",separator:"."},n))}withLocale(i,n){return CM(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 bM(i,n,Object.assign(Object.assign(Object.assign({},Fr(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&&!FD(this.translations,i))throw new Error(`The path "${i}" is not currently defined`);const l=zD(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 "},Fr(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 TM(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},Fr(this.get("number.format"))),n),_s(i,n)}get(i){return sa(this,i)}runCallbacks(){this.onChangeHandlers.forEach(i=>i(this))}hasChanged(){this._version+=1,this.runCallbacks()}};function NM(a,i,n){const t=new URLSearchParams(a);return t.set(i,n),"?"+t.toString()}function kM(a,i){return new URLSearchParams(i).get(a)}function G8(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 LM={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 Z8=j2(LM,{path:"/"});const Ce=new RM({en:uD,nl:cD});let sl=kM("lang",window.location.search);Ua(sl)&&(sl=Z8.get("lang"));Ua(sl)&&(sl=navigator.language.toLowerCase().substring(0,2));["nl","en"].indexOf(sl)===-1&&(sl="en");Ce.locale=sl;Ce.missingTranslation.register("report-error",(a,i)=>`[missing "${i}" translation]`);Ce.missingBehavior="report-error";const Y7=a=>{let i;const n=new Set,t=(m,v)=>{const g=typeof m=="function"?m(i):m;if(!Object.is(g,i)){const _=i;i=v??(typeof g!="object"||g===null)?g:Object.assign({},i,g),n.forEach(x=>x(i,_))}},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},qM=a=>a?Y7(a):Y7,UM=a=>a;function HM(a,i=UM){const n=G.useSyncExternalStore(a.subscribe,()=>i(a.getState()),()=>i(a.getInitialState()));return G.useDebugValue(n),n}const j7=a=>{const i=qM(a),n=t=>HM(i,t);return Object.assign(n,i),n},PM=a=>a?j7(a):j7,Pn=PM(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 zM(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 YM(a,i,n={},t=!0){const l={Accept:"application/json","Content-Type":"application/json","Accept-Language":Ce.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(zM(t))}function Zs(a,i={},n={},t=!0){return YM(a,i,n,t).then(l=>l.json())}function jM(a,i,n,t=!0){const l=JSON.stringify(i);return Zs(a,{method:n,body:l},{},t)}function BM(){return Zs("/myconext/api/servicedesk/me")}function V8(){const a={credentials:"same-origin",redirect:"manual"};return Zs("/myconext/api/servicedesk/logout").then(()=>fetch("/Shibboleth.sso/Logout",a))}function IM(a){return Zs(`/myconext/api/servicedesk/user/${a}`)}function FM(a){return Zs(`/myconext/api/servicedesk/validate?dayOfBirth=${encodeURIComponent(a)}`)}function GM(a,i,n,t,l,s){return jM("/myconext/api/servicedesk/approve",{firstName:a,lastName:i,dayOfBirth:n,code:t,documentId:l,userUid:s},"PUT",!1)}const ZM=()=>{const a=Pn(n=>n.flash),i=Pn(n=>n.clearFlash);return!Ua(a)&&(a.type==="error"||a.type==="warning")?Z.jsx(AE,{message:a.msg,action:a.action,actionLabel:a.actionLabel,alertType:a.type==="warning"?Ei.Warning:Ei.Error,close:i}):!Ua(a)&&!Ua(a.msg)?Z.jsx(HE,{children:Z.jsx(lm,{message:a.msg,toasterType:Di.Success})}):null},VM=({user:a})=>{const i=fl(),[n,t]=y.useState(!1),l=c=>{G8(c),V8().then(()=>{Pn.setState(()=>({breadcrumbPath:[],user:{},controlCode:{}})),i("/login"),setTimeout(()=>Pn.setState(()=>({user:null,breadcrumbPath:[]})),125)})},s=()=>Z.jsx(Z.Fragment,{children:Z.jsx("ul",{children:Z.jsx("li",{children:Z.jsx("a",{href:"/logout",onClick:l,children:Ce.t("header.links.logout")})})})});return Z.jsx("div",{className:"user-menu",tabIndex:1,onBlur:()=>setTimeout(()=>t(!1),325),children:Z.jsx(PE,{isOpen:n,children:s(),userName:a.displayName,organisationName:a.schacHomeOrganization,toggle:()=>t(!n)})})},WM=()=>{const{user:a}=Pn(i=>i);return Z.jsx("div",{className:"header-container",children:Z.jsxs("div",{className:"header-inner",children:[Z.jsx(hm,{className:"logo",to:"/",children:Z.jsx(X9,{label:Ce.t("header.title"),position:$9.Bottom,color:k2.White})}),a&&a.serviceDeskMember&&Z.jsx(VM,{user:a,actions:[]})]})})},QM=({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"})),KM=y.forwardRef(QM),e2=()=>Z.jsx("div",{className:"not-found",children:Z.jsx(KM,{})}),XM=()=>{const{path:a}=l8(),i=fl();return y.useEffect(()=>{const n=decodeURIComponent(a);i(n)},[a,i]),Z.jsx(im,{})};/*! @license DOMPurify 3.2.6 | (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.6/LICENSE */const{entries:W8,setPrototypeOf:B7,isFrozen:$M,getPrototypeOf:JM,getOwnPropertyDescriptor:eO}=Object;let{freeze:Wn,seal:Hr,create:Q8}=Object,{apply:B2,construct:I2}=typeof Reflect<"u"&&Reflect;Wn||(Wn=function(i){return i});Hr||(Hr=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=Qn(Array.prototype.forEach),tO=Qn(Array.prototype.lastIndexOf),I7=Qn(Array.prototype.pop),Ss=Qn(Array.prototype.push),nO=Qn(Array.prototype.splice),yc=Qn(String.prototype.toLowerCase),t2=Qn(String.prototype.toString),F7=Qn(String.prototype.match),Es=Qn(String.prototype.replace),rO=Qn(String.prototype.indexOf),aO=Qn(String.prototype.trim),Zr=Qn(Object.prototype.hasOwnProperty),Gn=Qn(RegExp.prototype.test),ws=iO(TypeError);function Qn(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 iO(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 Ke(a,i){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:yc;B7&&B7(a,null);let t=i.length;for(;t--;){let l=i[t];if(typeof l=="string"){const s=n(l);s!==l&&($M(i)||(i[t]=s),l=s)}a[l]=!0}return a}function lO(a){for(let i=0;i<a.length;i++)Zr(a,i)||(a[i]=null);return a}function qa(a){const i=Q8(null);for(const[n,t]of W8(a))Zr(a,n)&&(Array.isArray(t)?i[n]=lO(t):t&&typeof t=="object"&&t.constructor===Object?i[n]=qa(t):i[n]=t);return i}function Ds(a,i){for(;a!==null;){const t=eO(a,i);if(t){if(t.get)return Qn(t.get);if(typeof t.value=="function")return Qn(t.value)}a=JM(a)}function n(){return null}return n}const G7=Wn(["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=Wn(["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=Wn(["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"]),oO=Wn(["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=Wn(["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"]),sO=Wn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Z7=Wn(["#text"]),V7=Wn(["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=Wn(["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"]),W7=Wn(["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=Wn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),uO=Hr(/\{\{[\w\W]*|[\w\W]*\}\}/gm),cO=Hr(/<%[\w\W]*|[\w\W]*%>/gm),fO=Hr(/\$\{[\w\W]*/gm),dO=Hr(/^data-[\-\w.\u00B7-\uFFFF]+$/),pO=Hr(/^aria-[\-\w]+$/),K8=Hr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),hO=Hr(/^(?:\w+script|data):/i),mO=Hr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X8=Hr(/^html$/i),vO=Hr(/^[a-z][.\w]*(-[.\w]+)+$/i);var Q7=Object.freeze({__proto__:null,ARIA_ATTR:pO,ATTR_WHITESPACE:mO,CUSTOM_ELEMENT:vO,DATA_ATTR:dO,DOCTYPE_NAME:X8,ERB_EXPR:cO,IS_ALLOWED_URI:K8,IS_SCRIPT_OR_DATA:hO,MUSTACHE_EXPR:uO,TMPLIT_EXPR:fO});const Ts={element:1,text:3,progressingInstruction:7,comment:8,document:9},gO=function(){return typeof window>"u"?null:window},yO=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}},K7=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function $8(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:gO();const i=Se=>$8(Se);if(i.version="3.2.6",i.removed=[],!a||!a.document||a.document.nodeType!==Ts.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:_,trustedTypes:x}=a,M=h.prototype,N=Ds(M,"cloneNode"),O=Ds(M,"remove"),R=Ds(M,"nextSibling"),C=Ds(M,"childNodes"),Q=Ds(M,"parentNode");if(typeof c=="function"){const Se=n.createElement("template");Se.content&&Se.content.ownerDocument&&(n=Se.content.ownerDocument)}let J,K="";const{implementation:re,createNodeIterator:V,createDocumentFragment:S,getElementsByTagName:E}=n,{importNode:T}=t;let U=K7();i.isSupported=typeof W8=="function"&&typeof Q=="function"&&re&&re.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:q,ERB_EXPR:z,TMPLIT_EXPR:B,DATA_ATTR:H,ARIA_ATTR:w,IS_SCRIPT_OR_DATA:k,ATTR_WHITESPACE:L,CUSTOM_ELEMENT:X}=Q7;let{IS_ALLOWED_URI:A}=Q7,Y=null;const oe=Ke({},[...G7,...n2,...r2,...a2,...Z7]);let ae=null;const he=Ke({},[...V7,...i2,...W7,...uc]);let ce=Object.seal(Q8(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}})),pe=null,Ye=null,je=!0,nt=!0,nn=!1,ut=!0,At=!1,vt=!0,Ge=!1,Je=!1,Lt=!1,Ht=!1,kn=!1,gn=!1,ct=!0,zn=!1;const ke="user-content-";let ge=!0,Le=!1,Re={},Xe=null;const et=Ke({},["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 Pt=null;const Dt=Ke({},["audio","video","img","source","image","track"]);let Yn=null;const Kn=Ke({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),jn="http://www.w3.org/1998/Math/MathML",fn="http://www.w3.org/2000/svg",Tt="http://www.w3.org/1999/xhtml";let Be=Tt,dn=!1,xn=null;const gr=Ke({},[jn,fn,Tt],t2);let Bn=Ke({},["mi","mo","mn","ms","mtext"]),Ln=Ke({},["annotation-xml"]);const Mn=Ke({},["title","style","font","a","script"]);let rt=null;const In=["application/xhtml+xml","text/html"],nr="text/html";let He=null,qt=null;const xe=n.createElement("form"),Pe=function(j){return j instanceof RegExp||j instanceof Function},tt=function(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(qt&&qt===j)){if((!j||typeof j!="object")&&(j={}),j=qa(j),rt=In.indexOf(j.PARSER_MEDIA_TYPE)===-1?nr:j.PARSER_MEDIA_TYPE,He=rt==="application/xhtml+xml"?t2:yc,Y=Zr(j,"ALLOWED_TAGS")?Ke({},j.ALLOWED_TAGS,He):oe,ae=Zr(j,"ALLOWED_ATTR")?Ke({},j.ALLOWED_ATTR,He):he,xn=Zr(j,"ALLOWED_NAMESPACES")?Ke({},j.ALLOWED_NAMESPACES,t2):gr,Yn=Zr(j,"ADD_URI_SAFE_ATTR")?Ke(qa(Kn),j.ADD_URI_SAFE_ATTR,He):Kn,Pt=Zr(j,"ADD_DATA_URI_TAGS")?Ke(qa(Dt),j.ADD_DATA_URI_TAGS,He):Dt,Xe=Zr(j,"FORBID_CONTENTS")?Ke({},j.FORBID_CONTENTS,He):et,pe=Zr(j,"FORBID_TAGS")?Ke({},j.FORBID_TAGS,He):qa({}),Ye=Zr(j,"FORBID_ATTR")?Ke({},j.FORBID_ATTR,He):qa({}),Re=Zr(j,"USE_PROFILES")?j.USE_PROFILES:!1,je=j.ALLOW_ARIA_ATTR!==!1,nt=j.ALLOW_DATA_ATTR!==!1,nn=j.ALLOW_UNKNOWN_PROTOCOLS||!1,ut=j.ALLOW_SELF_CLOSE_IN_ATTR!==!1,At=j.SAFE_FOR_TEMPLATES||!1,vt=j.SAFE_FOR_XML!==!1,Ge=j.WHOLE_DOCUMENT||!1,Ht=j.RETURN_DOM||!1,kn=j.RETURN_DOM_FRAGMENT||!1,gn=j.RETURN_TRUSTED_TYPE||!1,Lt=j.FORCE_BODY||!1,ct=j.SANITIZE_DOM!==!1,zn=j.SANITIZE_NAMED_PROPS||!1,ge=j.KEEP_CONTENT!==!1,Le=j.IN_PLACE||!1,A=j.ALLOWED_URI_REGEXP||K8,Be=j.NAMESPACE||Tt,Bn=j.MATHML_TEXT_INTEGRATION_POINTS||Bn,Ln=j.HTML_INTEGRATION_POINTS||Ln,ce=j.CUSTOM_ELEMENT_HANDLING||{},j.CUSTOM_ELEMENT_HANDLING&&Pe(j.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ce.tagNameCheck=j.CUSTOM_ELEMENT_HANDLING.tagNameCheck),j.CUSTOM_ELEMENT_HANDLING&&Pe(j.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ce.attributeNameCheck=j.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),j.CUSTOM_ELEMENT_HANDLING&&typeof j.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ce.allowCustomizedBuiltInElements=j.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),At&&(nt=!1),kn&&(Ht=!0),Re&&(Y=Ke({},Z7),ae=[],Re.html===!0&&(Ke(Y,G7),Ke(ae,V7)),Re.svg===!0&&(Ke(Y,n2),Ke(ae,i2),Ke(ae,uc)),Re.svgFilters===!0&&(Ke(Y,r2),Ke(ae,i2),Ke(ae,uc)),Re.mathMl===!0&&(Ke(Y,a2),Ke(ae,W7),Ke(ae,uc))),j.ADD_TAGS&&(Y===oe&&(Y=qa(Y)),Ke(Y,j.ADD_TAGS,He)),j.ADD_ATTR&&(ae===he&&(ae=qa(ae)),Ke(ae,j.ADD_ATTR,He)),j.ADD_URI_SAFE_ATTR&&Ke(Yn,j.ADD_URI_SAFE_ATTR,He),j.FORBID_CONTENTS&&(Xe===et&&(Xe=qa(Xe)),Ke(Xe,j.FORBID_CONTENTS,He)),ge&&(Y["#text"]=!0),Ge&&Ke(Y,["html","head","body"]),Y.table&&(Ke(Y,["tbody"]),delete pe.tbody),j.TRUSTED_TYPES_POLICY){if(typeof j.TRUSTED_TYPES_POLICY.createHTML!="function")throw ws('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof j.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ws('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');J=j.TRUSTED_TYPES_POLICY,K=J.createHTML("")}else J===void 0&&(J=yO(x,l)),J!==null&&typeof K=="string"&&(K=J.createHTML(""));Wn&&Wn(j),qt=j}},Bt=Ke({},[...n2,...r2,...oO]),fe=Ke({},[...a2,...sO]),be=function(j){let ue=Q(j);(!ue||!ue.tagName)&&(ue={namespaceURI:Be,tagName:"template"});const me=yc(j.tagName),Te=yc(ue.tagName);return xn[j.namespaceURI]?j.namespaceURI===fn?ue.namespaceURI===Tt?me==="svg":ue.namespaceURI===jn?me==="svg"&&(Te==="annotation-xml"||Bn[Te]):!!Bt[me]:j.namespaceURI===jn?ue.namespaceURI===Tt?me==="math":ue.namespaceURI===fn?me==="math"&&Ln[Te]:!!fe[me]:j.namespaceURI===Tt?ue.namespaceURI===fn&&!Ln[Te]||ue.namespaceURI===jn&&!Bn[Te]?!1:!fe[me]&&(Mn[me]||!Bt[me]):!!(rt==="application/xhtml+xml"&&xn[j.namespaceURI]):!1},we=function(j){Ss(i.removed,{element:j});try{Q(j).removeChild(j)}catch{O(j)}},ft=function(j,ue){try{Ss(i.removed,{attribute:ue.getAttributeNode(j),from:ue})}catch{Ss(i.removed,{attribute:null,from:ue})}if(ue.removeAttribute(j),j==="is")if(Ht||kn)try{we(ue)}catch{}else try{ue.setAttribute(j,"")}catch{}},It=function(j){let ue=null,me=null;if(Lt)j="<remove></remove>"+j;else{const pt=F7(j,/^[\r\n\t ]+/);me=pt&&pt[0]}rt==="application/xhtml+xml"&&Be===Tt&&(j='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+j+"</body></html>");const Te=J?J.createHTML(j):j;if(Be===Tt)try{ue=new _().parseFromString(Te,rt)}catch{}if(!ue||!ue.documentElement){ue=re.createDocument(Be,"template",null);try{ue.documentElement.innerHTML=dn?K:Te}catch{}}const $e=ue.body||ue.documentElement;return j&&me&&$e.insertBefore(n.createTextNode(me),$e.childNodes[0]||null),Be===Tt?E.call(ue,Ge?"html":"body")[0]:Ge?ue.documentElement:$e},yn=function(j){return V.call(j.ownerDocument||j,j,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT|m.SHOW_PROCESSING_INSTRUCTION|m.SHOW_CDATA_SECTION,null)},pn=function(j){return j instanceof g&&(typeof j.nodeName!="string"||typeof j.textContent!="string"||typeof j.removeChild!="function"||!(j.attributes instanceof v)||typeof j.removeAttribute!="function"||typeof j.setAttribute!="function"||typeof j.namespaceURI!="string"||typeof j.insertBefore!="function"||typeof j.hasChildNodes!="function")},Ct=function(j){return typeof d=="function"&&j instanceof d};function qe(Se,j,ue){sc(Se,me=>{me.call(i,j,ue,qt)})}const Ve=function(j){let ue=null;if(qe(U.beforeSanitizeElements,j,null),pn(j))return we(j),!0;const me=He(j.nodeName);if(qe(U.uponSanitizeElement,j,{tagName:me,allowedTags:Y}),vt&&j.hasChildNodes()&&!Ct(j.firstElementChild)&&Gn(/<[/\w!]/g,j.innerHTML)&&Gn(/<[/\w!]/g,j.textContent)||j.nodeType===Ts.progressingInstruction||vt&&j.nodeType===Ts.comment&&Gn(/<[/\w]/g,j.data))return we(j),!0;if(!Y[me]||pe[me]){if(!pe[me]&&rr(me)&&(ce.tagNameCheck instanceof RegExp&&Gn(ce.tagNameCheck,me)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(me)))return!1;if(ge&&!Xe[me]){const Te=Q(j)||j.parentNode,$e=C(j)||j.childNodes;if($e&&Te){const pt=$e.length;for(let gt=pt-1;gt>=0;--gt){const rn=N($e[gt],!0);rn.__removalCount=(j.__removalCount||0)+1,Te.insertBefore(rn,R(j))}}}return we(j),!0}return j instanceof h&&!be(j)||(me==="noscript"||me==="noembed"||me==="noframes")&&Gn(/<\/no(script|embed|frames)/i,j.innerHTML)?(we(j),!0):(At&&j.nodeType===Ts.text&&(ue=j.textContent,sc([q,z,B],Te=>{ue=Es(ue,Te," ")}),j.textContent!==ue&&(Ss(i.removed,{element:j.cloneNode()}),j.textContent=ue)),qe(U.afterSanitizeElements,j,null),!1)},at=function(j,ue,me){if(ct&&(ue==="id"||ue==="name")&&(me in n||me in xe))return!1;if(!(nt&&!Ye[ue]&&Gn(H,ue))){if(!(je&&Gn(w,ue))){if(!ae[ue]||Ye[ue]){if(!(rr(j)&&(ce.tagNameCheck instanceof RegExp&&Gn(ce.tagNameCheck,j)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(j))&&(ce.attributeNameCheck instanceof RegExp&&Gn(ce.attributeNameCheck,ue)||ce.attributeNameCheck instanceof Function&&ce.attributeNameCheck(ue))||ue==="is"&&ce.allowCustomizedBuiltInElements&&(ce.tagNameCheck instanceof RegExp&&Gn(ce.tagNameCheck,me)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(me))))return!1}else if(!Yn[ue]){if(!Gn(A,Es(me,L,""))){if(!((ue==="src"||ue==="xlink:href"||ue==="href")&&j!=="script"&&rO(me,"data:")===0&&Pt[j])){if(!(nn&&!Gn(k,Es(me,L,"")))){if(me)return!1}}}}}}return!0},rr=function(j){return j!=="annotation-xml"&&F7(j,X)},lt=function(j){qe(U.beforeSanitizeAttributes,j,null);const{attributes:ue}=j;if(!ue||pn(j))return;const me={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ae,forceKeepAttr:void 0};let Te=ue.length;for(;Te--;){const $e=ue[Te],{name:pt,namespaceURI:gt,value:rn}=$e,bn=He(pt),an=rn;let Ut=pt==="value"?an:aO(an);if(me.attrName=bn,me.attrValue=Ut,me.keepAttr=!0,me.forceKeepAttr=void 0,qe(U.uponSanitizeAttribute,j,me),Ut=me.attrValue,zn&&(bn==="id"||bn==="name")&&(ft(pt,j),Ut=ke+Ut),vt&&Gn(/((--!?|])>)|<\/(style|title)/i,Ut)){ft(pt,j);continue}if(me.forceKeepAttr)continue;if(!me.keepAttr){ft(pt,j);continue}if(!ut&&Gn(/\/>/i,Ut)){ft(pt,j);continue}At&&sc([q,z,B],yr=>{Ut=Es(Ut,yr," ")});const Jr=He(j.nodeName);if(!at(Jr,bn,Ut)){ft(pt,j);continue}if(J&&typeof x=="object"&&typeof x.getAttributeType=="function"&&!gt)switch(x.getAttributeType(Jr,bn)){case"TrustedHTML":{Ut=J.createHTML(Ut);break}case"TrustedScriptURL":{Ut=J.createScriptURL(Ut);break}}if(Ut!==an)try{gt?j.setAttributeNS(gt,pt,Ut):j.setAttribute(pt,Ut),pn(j)?we(j):I7(i.removed)}catch{ft(pt,j)}}qe(U.afterSanitizeAttributes,j,null)},bt=function Se(j){let ue=null;const me=yn(j);for(qe(U.beforeSanitizeShadowDOM,j,null);ue=me.nextNode();)qe(U.uponSanitizeShadowNode,ue,null),Ve(ue),lt(ue),ue.content instanceof s&&Se(ue.content);qe(U.afterSanitizeShadowDOM,j,null)};return i.sanitize=function(Se){let j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ue=null,me=null,Te=null,$e=null;if(dn=!Se,dn&&(Se="<!-->"),typeof Se!="string"&&!Ct(Se))if(typeof Se.toString=="function"){if(Se=Se.toString(),typeof Se!="string")throw ws("dirty is not a string, aborting")}else throw ws("toString is not a function");if(!i.isSupported)return Se;if(Je||tt(j),i.removed=[],typeof Se=="string"&&(Le=!1),Le){if(Se.nodeName){const rn=He(Se.nodeName);if(!Y[rn]||pe[rn])throw ws("root node is forbidden and cannot be sanitized in-place")}}else if(Se instanceof d)ue=It("<!---->"),me=ue.ownerDocument.importNode(Se,!0),me.nodeType===Ts.element&&me.nodeName==="BODY"||me.nodeName==="HTML"?ue=me:ue.appendChild(me);else{if(!Ht&&!At&&!Ge&&Se.indexOf("<")===-1)return J&&gn?J.createHTML(Se):Se;if(ue=It(Se),!ue)return Ht?null:gn?K:""}ue&&Lt&&we(ue.firstChild);const pt=yn(Le?Se:ue);for(;Te=pt.nextNode();)Ve(Te),lt(Te),Te.content instanceof s&&bt(Te.content);if(Le)return Se;if(Ht){if(kn)for($e=S.call(ue.ownerDocument);ue.firstChild;)$e.appendChild(ue.firstChild);else $e=ue;return(ae.shadowroot||ae.shadowrootmode)&&($e=T.call(t,$e,!0)),$e}let gt=Ge?ue.outerHTML:ue.innerHTML;return Ge&&Y["!doctype"]&&ue.ownerDocument&&ue.ownerDocument.doctype&&ue.ownerDocument.doctype.name&&Gn(X8,ue.ownerDocument.doctype.name)&&(gt="<!DOCTYPE "+ue.ownerDocument.doctype.name+`>
`+gt),At&&sc([q,z,B],rn=>{gt=Es(gt,rn," ")}),J&&gn?J.createHTML(gt):gt},i.setConfig=function(){let Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};tt(Se),Je=!0},i.clearConfig=function(){qt=null,Je=!1},i.isValidAttribute=function(Se,j,ue){qt||tt({});const me=He(Se),Te=He(j);return at(me,Te,ue)},i.addHook=function(Se,j){typeof j=="function"&&Ss(U[Se],j)},i.removeHook=function(Se,j){if(j!==void 0){const ue=tO(U[Se],j);return ue===-1?void 0:nO(U[Se],ue,1)[0]}return I7(U[Se])},i.removeHooks=function(Se){U[Se]=[]},i.removeAllHooks=function(){U=K7()},i}var Mi=$8();const bO=({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"})),_O=y.forwardRef(bO),SO="/assets/desk-CxZ7J2lW.webp",EO="/assets/badge-CsAHMs-r.webp",wO="/assets/screen-DJqmZq6P.webp",DO=()=>{const a=(n,t,l)=>{const s=l%2===0?"reversed":"";return Z.jsxs("div",{className:`mod-login info ${s}`,children:[Z.jsxs("div",{className:"header-left info",children:[Z.jsxs("div",{className:"info-title",children:[Z.jsx("h2",{children:n[0]}),Z.jsx("div",{className:"admin-function-container",children:Z.jsx(kE,{label:Ce.t(`landing.${n[2]?"adminFunction":"studentFunction"}`),type:Q9.Main_400})})]}),Z.jsx("p",{dangerouslySetInnerHTML:{__html:Mi.sanitize(n[1])}})]}),Z.jsx("div",{className:"header-right info",children:Z.jsx("img",{src:t,alt:"logo",className:`${s}`})})]},l)},i=[wO,SO,EO];return Z.jsx("div",{className:"mod-login-container bottom",children:Z.jsxs("div",{className:"mod-login bottom",children:[Z.jsx("h1",{children:Ce.t("landing.works")}),Ce.translations[Ce.locale].landing.info.map((n,t)=>a(n,i[t],t)),Z.jsx("div",{className:"landing-footer",children:Z.jsx("p",{dangerouslySetInnerHTML:{__html:Mi.sanitize(Ce.t("landing.footer"))}})})]})})},X7=()=>{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 Z.jsxs("div",{className:"top-container",children:[Z.jsx("div",{className:"mod-login-container",children:Z.jsxs("div",{className:"mod-login",children:[Z.jsxs("div",{className:"header-left",children:[Z.jsx("h1",{className:"header-title",dangerouslySetInnerHTML:{__html:Mi.sanitize(Ce.t("landing.header.title"))}}),Z.jsx(ro,{onClick:()=>t(),txt:Ce.t("landing.header.login"),type:xi.Primary,size:am.Full}),Z.jsx("p",{className:"sup",dangerouslySetInnerHTML:{__html:Mi.sanitize(Ce.t("landing.header.sup"))}})]}),Z.jsx("div",{className:`header-right ${a?"animated":""}`,onClick:n,children:Z.jsx(_O,{})})]})}),Z.jsx(DO,{})]})},TO=({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}))),xO=y.forwardRef(TO);function MO({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=Z.jsx(CE,{value:g,small:!0})}return Z.jsxs("div",{className:t,onClick:m,children:[c&&Z.jsx("span",{className:"notifier",children:Z.jsx(xO,{})}),Z.jsxs("button",{className:"tab-label",children:[s&&Z.jsx(s,{}),l,v]})]})}const OO=({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),Z.jsxs(Z.Fragment,{children:[Z.jsx("div",{className:"tabs-container",children:Z.jsx("div",{className:`tabs ${i||""}`,children:l.map(s=>{const{label:c,name:d,notifier:h,readOnly:m}=s.props;return Z.jsx(MO,{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})]})},AO=({children:a})=>Z.jsx("div",{className:"unit-header-container",children:Z.jsx("div",{className:"unit-header",children:Z.jsx("div",{className:"obj-name",children:a})})}),CO=({children:a,className:i=""})=>Z.jsx("div",{className:`page ${i}`,children:a}),RO=({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"}))),NO=y.forwardRef(RO),kO=({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),IM(m).then(v=>{d(Ce.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 Z.jsxs("div",{className:"verification",children:[Z.jsx("h4",{children:Ce.t("verification.header")}),Z.jsxs("div",{className:"code-validation",children:[Z.jsx(K9,{verify:m=>h(m),size:5,clear:i,intermediateCallback:()=>l(!1),validate:m=>!isNaN(m)}),Z.jsx(ro,{txt:Ce.t("verification.proceed"),disabled:!0,onClick:()=>!0})]}),t&&Z.jsx(qE,{message:Ce.t("verification.error",{code:s})}),Z.jsxs("div",{className:"disclaimer",children:[Z.jsx(NO,{}),Z.jsx("p",{children:Ce.t("verification.info")})]})]})};function J8(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=J8(a[i]))&&(t&&(t+=" "),t+=n)}else for(n in a)a[n]&&(t&&(t+=" "),t+=n);return t}function Nn(){for(var a,i,n=0,t="",l=arguments.length;n<l;n++)(a=arguments[n])&&(i=J8(a))&&(t&&(t+=" "),t+=i);return t}const eb=6048e5,LO=864e5,tf=6e4,nf=36e5,qO=1e3,$7=Symbol.for("constructDateFrom");function wt(a,i){return typeof a=="function"?a(i):a&&typeof a=="object"&&$7 in a?a[$7](i):a instanceof Date?new a.constructor(i):new Date(i)}function De(a,i){return wt(i||a,a)}function Vr(a,i,n){const t=De(a,n?.in);return isNaN(i)?wt(n?.in||a,NaN):(i&&t.setDate(t.getDate()+i),t)}function Qr(a,i,n){const t=De(a,n?.in);if(isNaN(i))return wt(a,NaN);if(!i)return t;const l=t.getDate(),s=wt(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 tb(a,i,n){return wt(a,+De(a)+i)}function UO(a,i,n){return tb(a,i*nf)}let HO={};function hl(){return HO}function Ga(a,i){const n=hl(),t=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,l=De(a,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 nb(a,i){const n=De(a,i?.in),t=n.getFullYear(),l=wt(n,0);l.setFullYear(t+1,0,4),l.setHours(0,0,0,0);const s=io(l),c=wt(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=De(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=wt.bind(null,i.find(t=>typeof t=="object"));return i.map(n)}function ul(a,i){const n=De(a,i?.in);return n.setHours(0,0,0,0),n}function lo(a,i,n){const[t,l]=Va(n?.in,a,i),s=ul(t),c=ul(l),d=+s-Rc(s),h=+c-Rc(c);return Math.round((d-h)/LO)}function PO(a,i){const n=nb(a,i),t=wt(a,0);return t.setFullYear(n,0,4),t.setHours(0,0,0,0),io(t)}function F2(a,i,n){const t=De(a,n?.in);return t.setTime(t.getTime()+i*tf),t}function Am(a,i,n){return Qr(a,i*3,n)}function zO(a,i,n){return tb(a,i*1e3)}function Nc(a,i,n){return Vr(a,i*7,n)}function za(a,i,n){return Qr(a,i*12,n)}function J7(a,i){let n,t=i?.in;return a.forEach(l=>{!t&&typeof l=="object"&&(t=wt.bind(null,l));const s=De(l,t);(!n||n<s||isNaN(+s))&&(n=s)}),wt(t,n||NaN)}function e9(a,i){let n,t=i?.in;return a.forEach(l=>{!t&&typeof l=="object"&&(t=wt.bind(null,l));const s=De(l,t);(!n||n>s||isNaN(+s))&&(n=s)}),wt(t,n||NaN)}function YO(a,i,n){const[t,l]=Va(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(+De(a)))}function Lc(a,i,n){const[t,l]=Va(n?.in,a,i),s=t.getFullYear()-l.getFullYear(),c=t.getMonth()-l.getMonth();return s*12+c}function al(a,i){const n=De(a,i?.in);return Math.trunc(n.getMonth()/3)+1}function qc(a,i,n){const[t,l]=Va(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?.in,a,i);return t.getFullYear()-l.getFullYear()}function jO(a,i,n){const[t,l]=Va(n?.in,a,i),s=t9(t,l),c=Math.abs(lo(t,l));t.setDate(t.getDate()-s*c);const d=+(t9(t,l)===-s),h=s*(c-d);return h===0?0:h}function t9(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 rb(a,i){const n=De(a,i?.in);return n.setHours(23,59,59,999),n}function ab(a,i){const n=De(a,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=De(a,i?.in),t=n.getMonth(),l=t-t%3;return n.setMonth(l,1),n.setHours(0,0,0,0),n}function ib(a,i){const n=De(a,i?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function lb(a,i){const n=De(a,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=De(a,i?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function BO(a,i){const n=hl(),t=n.weekStartsOn??n.locale?.options?.weekStartsOn??0,l=De(a,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 IO={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"}},FO=(a,i,n)=>{let t;const l=IO[a];return typeof l=="string"?t=l:i===1?t=l.one:t=l.other.replace("{{count}}",i.toString()),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 GO={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ZO={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},VO={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},WO={date:l2({formats:GO,defaultWidth:"full"}),time:l2({formats:ZO,defaultWidth:"full"}),dateTime:l2({formats:VO,defaultWidth:"full"})},QO={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},KO=(a,i,n,t)=>QO[a];function xs(a){return(i,n)=>{const t=n?.context?String(n.context):"standalone";let l;if(t==="formatting"&&a.formattingValues){const c=a.defaultFormattingWidth||a.defaultWidth,d=n?.width?String(n.width):c;l=a.formattingValues[d]||a.formattingValues[c]}else{const c=a.defaultWidth,d=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 XO={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},$O={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},JO={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"]},eA={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"]},tA={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"}},nA={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"}},rA=(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"},aA={ordinalNumber:rA,era:xs({values:XO,defaultWidth:"wide"}),quarter:xs({values:$O,defaultWidth:"wide",argumentCallback:a=>a-1}),month:xs({values:JO,defaultWidth:"wide"}),day:xs({values:eA,defaultWidth:"wide"}),dayPeriod:xs({values:tA,defaultWidth:"wide",formattingValues:nA,defaultFormattingWidth:"wide"})};function Ms(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)?lA(d,g=>g.test(c)):iA(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 iA(a,i){for(const n in a)if(Object.prototype.hasOwnProperty.call(a,n)&&i(a[n]))return n}function lA(a,i){for(let n=0;n<a.length;n++)if(i(a[n]))return n}function oA(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 sA=/^(\d+)(th|st|nd|rd)?/i,uA=/\d+/i,cA={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},fA={any:[/^b/i,/^(a|c)/i]},dA={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},pA={any:[/1/i,/2/i,/3/i,/4/i]},hA={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},mA={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]},vA={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},gA={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]},yA={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},bA={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}},_A={ordinalNumber:oA({matchPattern:sA,parsePattern:uA,valueCallback:a=>parseInt(a,10)}),era:Ms({matchPatterns:cA,defaultMatchWidth:"wide",parsePatterns:fA,defaultParseWidth:"any"}),quarter:Ms({matchPatterns:dA,defaultMatchWidth:"wide",parsePatterns:pA,defaultParseWidth:"any",valueCallback:a=>a+1}),month:Ms({matchPatterns:hA,defaultMatchWidth:"wide",parsePatterns:mA,defaultParseWidth:"any"}),day:Ms({matchPatterns:vA,defaultMatchWidth:"wide",parsePatterns:gA,defaultParseWidth:"any"}),dayPeriod:Ms({matchPatterns:yA,defaultMatchWidth:"any",parsePatterns:bA,defaultParseWidth:"any"})},ob={code:"en-US",formatDistance:FO,formatLong:WO,formatRelative:KO,localize:aA,match:_A,options:{weekStartsOn:0,firstWeekContainsDate:1}};function SA(a,i){const n=De(a,i?.in);return lo(n,rf(n))+1}function Cm(a,i){const n=De(a,i?.in),t=+io(n)-+PO(n);return Math.round(t/eb)+1}function Rm(a,i){const n=De(a,i?.in),t=n.getFullYear(),l=hl(),s=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,c=wt(i?.in||a,0);c.setFullYear(t+1,0,s),c.setHours(0,0,0,0);const d=Ga(c,i),h=wt(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 EA(a,i){const n=hl(),t=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,l=Rm(a,i),s=wt(i?.in||a,0);return s.setFullYear(l,0,t),s.setHours(0,0,0,0),Ga(s,i)}function sb(a,i){const n=De(a,i?.in),t=+Ga(n,i)-+EA(n,i);return Math.round(t/eb)+1}function Et(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 Et(i==="yy"?t%100:t,i.length)},M(a,i){const n=a.getMonth();return i==="M"?String(n+1):Et(n+1,2)},d(a,i){return Et(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 Et(a.getHours()%12||12,i.length)},H(a,i){return Et(a.getHours(),i.length)},m(a,i){return Et(a.getMinutes(),i.length)},s(a,i){return Et(a.getSeconds(),i.length)},S(a,i){const n=i.length,t=a.getMilliseconds(),l=Math.trunc(t*Math.pow(10,n-3));return Et(l,i.length)}},Xl={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},n9={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 Et(c,2)}return i==="Yo"?n.ordinalNumber(s,{unit:"year"}):Et(s,i.length)},R:function(a,i){const n=nb(a);return Et(n,i.length)},u:function(a,i){const n=a.getFullYear();return Et(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 Et(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 Et(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 Et(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=sb(a,t);return i==="wo"?n.ordinalNumber(l,{unit:"week"}):Et(l,i.length)},I:function(a,i,n){const t=Cm(a);return i==="Io"?n.ordinalNumber(t,{unit:"week"}):Et(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=SA(a);return i==="Do"?n.ordinalNumber(t,{unit:"dayOfYear"}):Et(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 Et(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 Et(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 Et(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=Xl.noon:t===0?l=Xl.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=Xl.evening:t>=12?l=Xl.afternoon:t>=4?l=Xl.morning:l=Xl.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"}):Et(t,i.length)},k:function(a,i,n){let t=a.getHours();return t===0&&(t=24),i==="ko"?n.ordinalNumber(t,{unit:"hour"}):Et(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 a9(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 a9(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"+r9(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"+r9(t,":");case"zzzz":default:return"GMT"+el(t,":")}},t:function(a,i,n){const t=Math.trunc(+a/1e3);return Et(t,i.length)},T:function(a,i,n){return Et(+a,i.length)}};function r9(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+Et(s,2)}function a9(a,i){return a%60===0?(a>0?"-":"+")+Et(Math.abs(a)/60,2):el(a,i)}function el(a,i=""){const n=a>0?"-":"+",t=Math.abs(a),l=Et(Math.trunc(t/60),2),s=Et(t%60,2);return n+l+i+s}const i9=(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"})}},ub=(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"})}},wA=(a,i)=>{const n=a.match(/(P+)(p+)?/)||[],t=n[1],l=n[2];if(!l)return i9(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}}",i9(t,i)).replace("{{time}}",ub(l,i))},Z2={p:ub,P:wA},DA=/^D+$/,TA=/^Y+$/,xA=["D","DD","YY","YYYY"];function MA(a){return DA.test(a)}function OA(a){return TA.test(a)}function AA(a,i,n){const t=CA(a,i,n);if(console.warn(t),xA.includes(a))throw new RangeError(t)}function CA(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 RA=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,NA=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,kA=/^'([^]*?)'?$/,LA=/''/g,qA=/[a-zA-Z]/;function l9(a,i,n){const t=hl(),l=n?.locale??t.locale??ob,s=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??t.firstWeekContainsDate??t.locale?.options?.firstWeekContainsDate??1,c=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??t.weekStartsOn??t.locale?.options?.weekStartsOn??0,d=De(a,n?.in);if(!kc(d))throw new RangeError("Invalid time value");let h=i.match(NA).map(v=>{const g=v[0];if(g==="p"||g==="P"){const _=Z2[g];return _(v,l.formatLong)}return v}).join("").match(RA).map(v=>{if(v==="''")return{isToken:!1,value:"'"};const g=v[0];if(g==="'")return{isToken:!1,value:UA(v)};if(n9[g])return{isToken:!0,value:v};if(g.match(qA))throw new RangeError("Format string contains an unescaped latin alphabet character `"+g+"`");return{isToken:!1,value:v}});l.localize.preprocessor&&(h=l.localize.preprocessor(d,h));const m={firstWeekContainsDate:s,weekStartsOn:c,locale:l};return h.map(v=>{if(!v.isToken)return v.value;const g=v.value;(!n?.useAdditionalWeekYearTokens&&OA(g)||!n?.useAdditionalDayOfYearTokens&&MA(g))&&AA(g,i,String(a));const _=n9[g[0]];return _(d,g,l.localize,m)}).join("")}function UA(a){const i=a.match(kA);return i?i[1].replace(LA,"'"):a}function o9(a,i){return De(a,i?.in).getDate()}function HA(a,i){return De(a,i?.in).getDay()}function PA(a,i){const n=De(a,i?.in),t=n.getFullYear(),l=n.getMonth(),s=wt(n,0);return s.setFullYear(t,l+1,0),s.setHours(0,0,0,0),s.getDate()}function zA(){return Object.assign({},hl())}function ja(a,i){return De(a,i?.in).getHours()}function YA(a,i){const n=De(a,i?.in).getDay();return n===0?7:n}function Ba(a,i){return De(a,i?.in).getMinutes()}function Hn(a,i){return De(a,i?.in).getMonth()}function Ai(a){return De(a).getSeconds()}function V2(a){return+De(a)}function Fe(a,i){return De(a,i?.in).getFullYear()}function Ni(a,i){return+De(a)>+De(i)}function cl(a,i){return+De(a)<+De(i)}function jA(a,i){return+De(a)==+De(i)}function BA(a,i){const n=IA(i)?new i(0):wt(i,0);return n.setFullYear(a.getFullYear(),a.getMonth(),a.getDate()),n.setHours(a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()),n}function IA(a){return typeof a=="function"&&a.prototype?.constructor===a}const FA=10;class cb{subPriority=0;validate(i,n){return!0}}class GA extends cb{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 ZA extends cb{priority=FA;subPriority=-1;constructor(i,n){super(),this.context=i||(t=>wt(n,t))}set(i,n){return n.timestampIsSet?i:wt(i,BA(i,this.context))}}class mt{run(i,n,t,l){const s=this.parse(i,n,t,l);return s?{setter:new GA(s.value,this.validate,this.set,this.priority,this.subPriority),rest:s.rest}:null}validate(i,n,t){return!0}}class VA extends mt{priority=140;parse(i,n,t){switch(n){case"G":case"GG":case"GGG":return t.era(i,{width:"abbreviated"})||t.era(i,{width:"narrow"});case"GGGGG":return t.era(i,{width:"narrow"});case"GGGG":default:return t.era(i,{width:"wide"})||t.era(i,{width:"abbreviated"})||t.era(i,{width:"narrow"})}}set(i,n,t){return n.era=t,i.setFullYear(t,0,1),i.setHours(0,0,0,0),i}incompatibleTokens=["R","u","t","T"]}const en={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 tn(a,i){return a&&{value:i(a.value),rest:a.rest}}function Vt(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*qO),rest:i.slice(n[0].length)}}function fb(a){return Vt(en.anyDigitsSigned,a)}function Xt(a,i){switch(a){case 1:return Vt(en.singleDigit,i);case 2:return Vt(en.twoDigits,i);case 3:return Vt(en.threeDigits,i);case 4:return Vt(en.fourDigits,i);default:return Vt(new RegExp("^\\d{1,"+a+"}"),i)}}function Hc(a,i){switch(a){case 1:return Vt(en.singleDigitSigned,i);case 2:return Vt(en.twoDigitsSigned,i);case 3:return Vt(en.threeDigitsSigned,i);case 4:return Vt(en.fourDigitsSigned,i);default:return Vt(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 db(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 WA extends mt{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(i,n,t){const l=s=>({year:s,isTwoDigitYear:n==="yy"});switch(n){case"y":return tn(Xt(4,i),l);case"yo":return tn(t.ordinalNumber(i,{unit:"year"}),l);default:return tn(Xt(n.length,i),l)}}validate(i,n){return n.isTwoDigitYear||n.year>0}set(i,n,t){const l=i.getFullYear();if(t.isTwoDigitYear){const c=db(t.year,l);return i.setFullYear(c,0,1),i.setHours(0,0,0,0),i}const s=!("era"in n)||n.era===1?t.year:1-t.year;return i.setFullYear(s,0,1),i.setHours(0,0,0,0),i}}class QA extends mt{priority=130;parse(i,n,t){const l=s=>({year:s,isTwoDigitYear:n==="YY"});switch(n){case"Y":return tn(Xt(4,i),l);case"Yo":return tn(t.ordinalNumber(i,{unit:"year"}),l);default:return tn(Xt(n.length,i),l)}}validate(i,n){return n.isTwoDigitYear||n.year>0}set(i,n,t,l){const s=Rm(i,l);if(t.isTwoDigitYear){const d=db(t.year,s);return i.setFullYear(d,0,l.firstWeekContainsDate),i.setHours(0,0,0,0),Ga(i,l)}const c=!("era"in n)||n.era===1?t.year:1-t.year;return i.setFullYear(c,0,l.firstWeekContainsDate),i.setHours(0,0,0,0),Ga(i,l)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class KA extends mt{priority=130;parse(i,n){return Hc(n==="R"?4:n.length,i)}set(i,n,t){const l=wt(i,0);return l.setFullYear(t,0,4),l.setHours(0,0,0,0),io(l)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class XA extends mt{priority=130;parse(i,n){return Hc(n==="u"?4:n.length,i)}set(i,n,t){return i.setFullYear(t,0,1),i.setHours(0,0,0,0),i}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}class $A extends mt{priority=120;parse(i,n,t){switch(n){case"Q":case"QQ":return Xt(n.length,i);case"Qo":return t.ordinalNumber(i,{unit:"quarter"});case"QQQ":return t.quarter(i,{width:"abbreviated",context:"formatting"})||t.quarter(i,{width:"narrow",context:"formatting"});case"QQQQQ":return t.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(i,{width:"wide",context:"formatting"})||t.quarter(i,{width:"abbreviated",context:"formatting"})||t.quarter(i,{width:"narrow",context:"formatting"})}}validate(i,n){return n>=1&&n<=4}set(i,n,t){return i.setMonth((t-1)*3,1),i.setHours(0,0,0,0),i}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}class JA extends mt{priority=120;parse(i,n,t){switch(n){case"q":case"qq":return Xt(n.length,i);case"qo":return t.ordinalNumber(i,{unit:"quarter"});case"qqq":return t.quarter(i,{width:"abbreviated",context:"standalone"})||t.quarter(i,{width:"narrow",context:"standalone"});case"qqqqq":return t.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(i,{width:"wide",context:"standalone"})||t.quarter(i,{width:"abbreviated",context:"standalone"})||t.quarter(i,{width:"narrow",context:"standalone"})}}validate(i,n){return n>=1&&n<=4}set(i,n,t){return i.setMonth((t-1)*3,1),i.setHours(0,0,0,0),i}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}class eC extends mt{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(i,n,t){const l=s=>s-1;switch(n){case"M":return tn(Vt(en.month,i),l);case"MM":return tn(Xt(2,i),l);case"Mo":return tn(t.ordinalNumber(i,{unit:"month"}),l);case"MMM":return t.month(i,{width:"abbreviated",context:"formatting"})||t.month(i,{width:"narrow",context:"formatting"});case"MMMMM":return t.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(i,{width:"wide",context:"formatting"})||t.month(i,{width:"abbreviated",context:"formatting"})||t.month(i,{width:"narrow",context:"formatting"})}}validate(i,n){return n>=0&&n<=11}set(i,n,t){return i.setMonth(t,1),i.setHours(0,0,0,0),i}}class tC extends mt{priority=110;parse(i,n,t){const l=s=>s-1;switch(n){case"L":return tn(Vt(en.month,i),l);case"LL":return tn(Xt(2,i),l);case"Lo":return tn(t.ordinalNumber(i,{unit:"month"}),l);case"LLL":return t.month(i,{width:"abbreviated",context:"standalone"})||t.month(i,{width:"narrow",context:"standalone"});case"LLLLL":return t.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(i,{width:"wide",context:"standalone"})||t.month(i,{width:"abbreviated",context:"standalone"})||t.month(i,{width:"narrow",context:"standalone"})}}validate(i,n){return n>=0&&n<=11}set(i,n,t){return i.setMonth(t,1),i.setHours(0,0,0,0),i}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}function nC(a,i,n){const t=De(a,n?.in),l=sb(t,n)-i;return t.setDate(t.getDate()-l*7),De(t,n?.in)}class rC extends mt{priority=100;parse(i,n,t){switch(n){case"w":return Vt(en.week,i);case"wo":return t.ordinalNumber(i,{unit:"week"});default:return Xt(n.length,i)}}validate(i,n){return n>=1&&n<=53}set(i,n,t,l){return Ga(nC(i,t,l),l)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function aC(a,i,n){const t=De(a,n?.in),l=Cm(t,n)-i;return t.setDate(t.getDate()-l*7),t}class iC extends mt{priority=100;parse(i,n,t){switch(n){case"I":return Vt(en.week,i);case"Io":return t.ordinalNumber(i,{unit:"week"});default:return Xt(n.length,i)}}validate(i,n){return n>=1&&n<=53}set(i,n,t){return io(aC(i,t))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const lC=[31,28,31,30,31,30,31,31,30,31,30,31],oC=[31,29,31,30,31,30,31,31,30,31,30,31];class sC extends mt{priority=90;subPriority=1;parse(i,n,t){switch(n){case"d":return Vt(en.date,i);case"do":return t.ordinalNumber(i,{unit:"date"});default:return Xt(n.length,i)}}validate(i,n){const t=i.getFullYear(),l=pb(t),s=i.getMonth();return l?n>=1&&n<=oC[s]:n>=1&&n<=lC[s]}set(i,n,t){return i.setDate(t),i.setHours(0,0,0,0),i}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}class uC extends mt{priority=90;subpriority=1;parse(i,n,t){switch(n){case"D":case"DD":return Vt(en.dayOfYear,i);case"Do":return t.ordinalNumber(i,{unit:"date"});default:return Xt(n.length,i)}}validate(i,n){const t=i.getFullYear();return pb(t)?n>=1&&n<=366:n>=1&&n<=365}set(i,n,t){return i.setMonth(0,t),i.setHours(0,0,0,0),i}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}function km(a,i,n){const t=hl(),l=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??t.weekStartsOn??t.locale?.options?.weekStartsOn??0,s=De(a,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 Vr(s,v,n)}class cC extends mt{priority=90;parse(i,n,t){switch(n){case"E":case"EE":case"EEE":return t.day(i,{width:"abbreviated",context:"formatting"})||t.day(i,{width:"short",context:"formatting"})||t.day(i,{width:"narrow",context:"formatting"});case"EEEEE":return t.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(i,{width:"short",context:"formatting"})||t.day(i,{width:"narrow",context:"formatting"});case"EEEE":default:return t.day(i,{width:"wide",context:"formatting"})||t.day(i,{width:"abbreviated",context:"formatting"})||t.day(i,{width:"short",context:"formatting"})||t.day(i,{width:"narrow",context:"formatting"})}}validate(i,n){return n>=0&&n<=6}set(i,n,t,l){return i=km(i,t,l),i.setHours(0,0,0,0),i}incompatibleTokens=["D","i","e","c","t","T"]}class fC extends mt{priority=90;parse(i,n,t,l){const s=c=>{const d=Math.floor((c-1)/7)*7;return(c+l.weekStartsOn+6)%7+d};switch(n){case"e":case"ee":return tn(Xt(n.length,i),s);case"eo":return tn(t.ordinalNumber(i,{unit:"day"}),s);case"eee":return t.day(i,{width:"abbreviated",context:"formatting"})||t.day(i,{width:"short",context:"formatting"})||t.day(i,{width:"narrow",context:"formatting"});case"eeeee":return t.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(i,{width:"short",context:"formatting"})||t.day(i,{width:"narrow",context:"formatting"});case"eeee":default:return t.day(i,{width:"wide",context:"formatting"})||t.day(i,{width:"abbreviated",context:"formatting"})||t.day(i,{width:"short",context:"formatting"})||t.day(i,{width:"narrow",context:"formatting"})}}validate(i,n){return n>=0&&n<=6}set(i,n,t,l){return i=km(i,t,l),i.setHours(0,0,0,0),i}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class dC extends mt{priority=90;parse(i,n,t,l){const s=c=>{const d=Math.floor((c-1)/7)*7;return(c+l.weekStartsOn+6)%7+d};switch(n){case"c":case"cc":return tn(Xt(n.length,i),s);case"co":return tn(t.ordinalNumber(i,{unit:"day"}),s);case"ccc":return t.day(i,{width:"abbreviated",context:"standalone"})||t.day(i,{width:"short",context:"standalone"})||t.day(i,{width:"narrow",context:"standalone"});case"ccccc":return t.day(i,{width:"narrow",context:"standalone"});case"cccccc":return t.day(i,{width:"short",context:"standalone"})||t.day(i,{width:"narrow",context:"standalone"});case"cccc":default:return t.day(i,{width:"wide",context:"standalone"})||t.day(i,{width:"abbreviated",context:"standalone"})||t.day(i,{width:"short",context:"standalone"})||t.day(i,{width:"narrow",context:"standalone"})}}validate(i,n){return n>=0&&n<=6}set(i,n,t,l){return i=km(i,t,l),i.setHours(0,0,0,0),i}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}function pC(a,i,n){const t=De(a,n?.in),l=YA(t,n),s=i-l;return Vr(t,s,n)}class hC extends mt{priority=90;parse(i,n,t){const l=s=>s===0?7:s;switch(n){case"i":case"ii":return Xt(n.length,i);case"io":return t.ordinalNumber(i,{unit:"day"});case"iii":return tn(t.day(i,{width:"abbreviated",context:"formatting"})||t.day(i,{width:"short",context:"formatting"})||t.day(i,{width:"narrow",context:"formatting"}),l);case"iiiii":return tn(t.day(i,{width:"narrow",context:"formatting"}),l);case"iiiiii":return tn(t.day(i,{width:"short",context:"formatting"})||t.day(i,{width:"narrow",context:"formatting"}),l);case"iiii":default:return tn(t.day(i,{width:"wide",context:"formatting"})||t.day(i,{width:"abbreviated",context:"formatting"})||t.day(i,{width:"short",context:"formatting"})||t.day(i,{width:"narrow",context:"formatting"}),l)}}validate(i,n){return n>=1&&n<=7}set(i,n,t){return i=pC(i,t),i.setHours(0,0,0,0),i}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}class mC extends mt{priority=80;parse(i,n,t){switch(n){case"a":case"aa":case"aaa":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"})||t.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaaa":return t.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(i,{width:"wide",context:"formatting"})||t.dayPeriod(i,{width:"abbreviated",context:"formatting"})||t.dayPeriod(i,{width:"narrow",context:"formatting"})}}set(i,n,t){return i.setHours(Nm(t),0,0,0),i}incompatibleTokens=["b","B","H","k","t","T"]}class vC extends mt{priority=80;parse(i,n,t){switch(n){case"b":case"bb":case"bbb":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"})||t.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbbb":return t.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(i,{width:"wide",context:"formatting"})||t.dayPeriod(i,{width:"abbreviated",context:"formatting"})||t.dayPeriod(i,{width:"narrow",context:"formatting"})}}set(i,n,t){return i.setHours(Nm(t),0,0,0),i}incompatibleTokens=["a","B","H","k","t","T"]}class gC extends mt{priority=80;parse(i,n,t){switch(n){case"B":case"BB":case"BBB":return t.dayPeriod(i,{width:"abbreviated",context:"formatting"})||t.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBBB":return t.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(i,{width:"wide",context:"formatting"})||t.dayPeriod(i,{width:"abbreviated",context:"formatting"})||t.dayPeriod(i,{width:"narrow",context:"formatting"})}}set(i,n,t){return i.setHours(Nm(t),0,0,0),i}incompatibleTokens=["a","b","t","T"]}class yC extends mt{priority=70;parse(i,n,t){switch(n){case"h":return Vt(en.hour12h,i);case"ho":return t.ordinalNumber(i,{unit:"hour"});default:return Xt(n.length,i)}}validate(i,n){return n>=1&&n<=12}set(i,n,t){const l=i.getHours()>=12;return l&&t<12?i.setHours(t+12,0,0,0):!l&&t===12?i.setHours(0,0,0,0):i.setHours(t,0,0,0),i}incompatibleTokens=["H","K","k","t","T"]}class bC extends mt{priority=70;parse(i,n,t){switch(n){case"H":return Vt(en.hour23h,i);case"Ho":return t.ordinalNumber(i,{unit:"hour"});default:return Xt(n.length,i)}}validate(i,n){return n>=0&&n<=23}set(i,n,t){return i.setHours(t,0,0,0),i}incompatibleTokens=["a","b","h","K","k","t","T"]}class _C extends mt{priority=70;parse(i,n,t){switch(n){case"K":return Vt(en.hour11h,i);case"Ko":return t.ordinalNumber(i,{unit:"hour"});default:return Xt(n.length,i)}}validate(i,n){return n>=0&&n<=11}set(i,n,t){return i.getHours()>=12&&t<12?i.setHours(t+12,0,0,0):i.setHours(t,0,0,0),i}incompatibleTokens=["h","H","k","t","T"]}class SC extends mt{priority=70;parse(i,n,t){switch(n){case"k":return Vt(en.hour24h,i);case"ko":return t.ordinalNumber(i,{unit:"hour"});default:return Xt(n.length,i)}}validate(i,n){return n>=1&&n<=24}set(i,n,t){const l=t<=24?t%24:t;return i.setHours(l,0,0,0),i}incompatibleTokens=["a","b","h","H","K","t","T"]}class EC extends mt{priority=60;parse(i,n,t){switch(n){case"m":return Vt(en.minute,i);case"mo":return t.ordinalNumber(i,{unit:"minute"});default:return Xt(n.length,i)}}validate(i,n){return n>=0&&n<=59}set(i,n,t){return i.setMinutes(t,0,0),i}incompatibleTokens=["t","T"]}class wC extends mt{priority=50;parse(i,n,t){switch(n){case"s":return Vt(en.second,i);case"so":return t.ordinalNumber(i,{unit:"second"});default:return Xt(n.length,i)}}validate(i,n){return n>=0&&n<=59}set(i,n,t){return i.setSeconds(t,0),i}incompatibleTokens=["t","T"]}class DC extends mt{priority=30;parse(i,n){const t=l=>Math.trunc(l*Math.pow(10,-n.length+3));return tn(Xt(n.length,i),t)}set(i,n,t){return i.setMilliseconds(t),i}incompatibleTokens=["t","T"]}class TC extends mt{priority=10;parse(i,n){switch(n){case"X":return da(fa.basicOptionalMinutes,i);case"XX":return da(fa.basic,i);case"XXXX":return da(fa.basicOptionalSeconds,i);case"XXXXX":return da(fa.extendedOptionalSeconds,i);case"XXX":default:return da(fa.extended,i)}}set(i,n,t){return n.timestampIsSet?i:wt(i,i.getTime()-Rc(i)-t)}incompatibleTokens=["t","T","x"]}class xC extends mt{priority=10;parse(i,n){switch(n){case"x":return da(fa.basicOptionalMinutes,i);case"xx":return da(fa.basic,i);case"xxxx":return da(fa.basicOptionalSeconds,i);case"xxxxx":return da(fa.extendedOptionalSeconds,i);case"xxx":default:return da(fa.extended,i)}}set(i,n,t){return n.timestampIsSet?i:wt(i,i.getTime()-Rc(i)-t)}incompatibleTokens=["t","T","X"]}class MC extends mt{priority=40;parse(i){return fb(i)}set(i,n,t){return[wt(i,t*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}class OC extends mt{priority=20;parse(i){return fb(i)}set(i,n,t){return[wt(i,t),{timestampIsSet:!0}]}incompatibleTokens="*"}const AC={G:new VA,y:new WA,Y:new QA,R:new KA,u:new XA,Q:new $A,q:new JA,M:new eC,L:new tC,w:new rC,I:new iC,d:new sC,D:new uC,E:new cC,e:new fC,c:new dC,i:new hC,a:new mC,b:new vC,B:new gC,h:new yC,H:new bC,K:new _C,k:new SC,m:new EC,s:new wC,S:new DC,X:new TC,x:new xC,t:new MC,T:new OC},CC=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,RC=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,NC=/^'([^]*?)'?$/,kC=/''/g,LC=/\S/,qC=/[a-zA-Z]/;function UC(a,i,n,t){const l=()=>wt(t?.in||n,NaN),s=zA(),c=t?.locale??s.locale??ob,d=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,h=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??s.weekStartsOn??s.locale?.options?.weekStartsOn??0;if(!i)return a?l():De(n,t?.in);const m={firstWeekContainsDate:d,weekStartsOn:h,locale:c},v=[new ZA(t?.in,n)],g=i.match(RC).map(O=>{const R=O[0];if(R in Z2){const C=Z2[R];return C(O,c.formatLong)}return O}).join("").match(CC),_=[];for(let O of g){const R=O[0],C=AC[R];if(C){const{incompatibleTokens:Q}=C;if(Array.isArray(Q)){const K=_.find(re=>Q.includes(re.token)||re.token===R);if(K)throw new RangeError(`The format string mustn't contain \`${K.fullToken}\` and \`${O}\` at the same time`)}else if(C.incompatibleTokens==="*"&&_.length>0)throw new RangeError(`The format string mustn't contain \`${O}\` and any other token at the same time`);_.push({token:R,fullToken:O});const J=C.run(a,O,c.match,m);if(!J)return l();v.push(J.setter),a=J.rest}else{if(R.match(qC))throw new RangeError("Format string contains an unescaped latin alphabet character `"+R+"`");if(O==="''"?O="'":R==="'"&&(O=HC(O)),a.indexOf(O)===0)a=a.slice(O.length);else return l()}}if(a.length>0&&LC.test(a))return l();const x=v.map(O=>O.priority).sort((O,R)=>R-O).filter((O,R,C)=>C.indexOf(O)===R).map(O=>v.filter(R=>R.priority===O).sort((R,C)=>C.subPriority-R.subPriority)).map(O=>O[0]);let M=De(n,t?.in);if(isNaN(+M))return l();const N={};for(const O of x){if(!O.validate(M,m))return l();const R=O.set(M,N,m);Array.isArray(R)?(M=R[0],Object.assign(N,R[1])):M=R}return M}function HC(a){return a.match(NC)[1].replace(kC,"'")}function PC(a,i,n){const[t,l]=Va(n?.in,a,i);return t.getFullYear()===l.getFullYear()&&t.getMonth()===l.getMonth()}function zC(a,i,n){const[t,l]=Va(n?.in,a,i);return+G2(t)==+G2(l)}function YC(a,i,n){const[t,l]=Va(n?.in,a,i);return t.getFullYear()===l.getFullYear()}function Hs(a,i,n){const t=+De(a,n?.in),[l,s]=[+De(i.start,n?.in),+De(i.end,n?.in)].sort((c,d)=>c-d);return t>=l&&t<=s}function jC(a,i,n){return Vr(a,-1,n)}function BC(a,i){const n=()=>wt(i?.in,NaN),l=ZC(a);let s;if(l.date){const m=VC(l.date,2);s=WC(m.restDateString,m.year)}if(!s||isNaN(+s))return n();const c=+s;let d=0,h;if(l.time&&(d=QC(l.time),isNaN(d)))return n();if(l.timezone){if(h=KC(l.timezone),isNaN(h))return n()}else{const m=new Date(c+d),v=De(0,i?.in);return v.setFullYear(m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate()),v.setHours(m.getUTCHours(),m.getUTCMinutes(),m.getUTCSeconds(),m.getUTCMilliseconds()),v}return De(c+d+h,i?.in)}const cc={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},IC=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,FC=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,GC=/^([+-])(\d{2})(?::?(\d{2}))?$/;function ZC(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 VC(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 WC(a,i){if(i===null)return new Date(NaN);const n=a.match(IC);if(!n)return new Date(NaN);const t=!!n[4],l=Os(n[1]),s=Os(n[2])-1,c=Os(n[3]),d=Os(n[4]),h=Os(n[5])-1;if(t)return tR(i,d,h)?XC(i,d,h):new Date(NaN);{const m=new Date(0);return!JC(i,s,c)||!eR(i,l)?new Date(NaN):(m.setUTCFullYear(i,s,Math.max(l,c)),m)}}function Os(a){return a?parseInt(a):1}function QC(a){const i=a.match(FC);if(!i)return NaN;const n=o2(i[1]),t=o2(i[2]),l=o2(i[3]);return nR(n,t,l)?n*nf+t*tf+l*1e3:NaN}function o2(a){return a&&parseFloat(a.replace(",","."))||0}function KC(a){if(a==="Z")return 0;const i=a.match(GC);if(!i)return 0;const n=i[1]==="+"?-1:1,t=parseInt(i[2]),l=i[3]&&parseInt(i[3])||0;return rR(t,l)?n*(t*nf+l*tf):NaN}function XC(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 $C=[31,null,31,30,31,30,31,31,30,31,30,31];function hb(a){return a%400===0||a%4===0&&a%100!==0}function JC(a,i,n){return i>=0&&i<=11&&n>=1&&n<=($C[i]||(hb(a)?29:28))}function eR(a,i){return i>=1&&i<=(hb(a)?366:365)}function tR(a,i,n){return i>=1&&i<=53&&n>=0&&n<=6}function nR(a,i,n){return a===24?i===0&&n===0:n>=0&&n<60&&i>=0&&i<60&&a>=0&&a<25}function rR(a,i){return i>=0&&i<=59}function Lr(a,i,n){const t=De(a,n?.in),l=t.getFullYear(),s=t.getDate(),c=wt(a,0);c.setFullYear(l,i,15),c.setHours(0,0,0,0);const d=PA(c);return t.setMonth(i,Math.min(s,d)),t}function bc(a,i,n){const t=De(a,n?.in);return t.setHours(i),t}function _c(a,i,n){const t=De(a,n?.in);return t.setMinutes(i),t}function $l(a,i,n){const t=De(a,n?.in),l=Math.trunc(t.getMonth()/3)+1,s=i-l;return Lr(t,t.getMonth()+s*3)}function Sc(a,i,n){const t=De(a,n?.in);return t.setSeconds(i),t}function ua(a,i,n){const t=De(a,n?.in);return isNaN(+t)?wt(a,NaN):(t.setFullYear(i),t)}function il(a,i,n){return Qr(a,-i,n)}function mb(a,i,n){return Am(a,-1,n)}function s9(a,i,n){return Nc(a,-1,n)}function oo(a,i,n){return za(a,-i,n)}var aR=typeof document<"u",iR=function(){},Pc=aR?y.useLayoutEffect:iR;const lR={...N9},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 cR=typeof document<"u",fR=function(){},Ec=cR?y.useLayoutEffect:fR;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 vb(a){return typeof window>"u"?1:(a.ownerDocument.defaultView||window).devicePixelRatio||1}function u9(a,i){const n=vb(a);return Math.round(i*n)/n}function s2(a){const i=y.useRef(a);return Ec(()=>{i.current=a}),i}function dR(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}),[_,x]=y.useState(t);zc(_,t)||x(t);const[M,N]=y.useState(null),[O,R]=y.useState(null),C=y.useCallback(L=>{L!==re.current&&(re.current=L,N(L))},[]),Q=y.useCallback(L=>{L!==V.current&&(V.current=L,R(L))},[]),J=s||M,K=c||O,re=y.useRef(null),V=y.useRef(null),S=y.useRef(v),E=h!=null,T=s2(h),U=s2(l),q=s2(m),z=y.useCallback(()=>{if(!re.current||!V.current)return;const L={placement:i,strategy:n,middleware:_};U.current&&(L.platform=U.current),y2(re.current,V.current,L).then(X=>{const A={...X,isPositioned:q.current!==!1};B.current&&!zc(S.current,A)&&(S.current=A,h8.flushSync(()=>{g(A)}))})},[_,i,n,U,q]);Ec(()=>{m===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,g(L=>({...L,isPositioned:!1})))},[m]);const B=y.useRef(!1);Ec(()=>(B.current=!0,()=>{B.current=!1}),[]),Ec(()=>{if(J&&(re.current=J),K&&(V.current=K),J&&K){if(T.current)return T.current(J,K,z);z()}},[J,K,z,T,E]);const H=y.useMemo(()=>({reference:re,floating:V,setReference:C,setFloating:Q}),[C,Q]),w=y.useMemo(()=>({reference:J,floating:K}),[J,K]),k=y.useMemo(()=>{const L={position:n,left:0,top:0};if(!w.floating)return L;const X=u9(w.floating,v.x),A=u9(w.floating,v.y);return d?{...L,transform:"translate("+X+"px, "+A+"px)",...vb(w.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:X,top:A}},[n,d,w.floating,v.x,v.y]);return y.useMemo(()=>({...v,update:z,refs:H,elements:w,floatingStyles:k}),[v,z,H,w,k])}const pR=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):{}}}},hR=(a,i)=>({...G9(a),options:[a,i]}),mR=(a,i)=>({...Z9(a),options:[a,i]}),vR=(a,i)=>({...pR(a),options:[a,i]}),gR={...N9};let c9=!1,yR=0;const f9=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+yR++;function bR(){const[a,i]=y.useState(()=>c9?f9():void 0);return Pc(()=>{a==null&&i(f9())},[]),y.useEffect(()=>{c9=!0},[]),a}const _R=gR.useId,gb=_R||bR,SR=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:_,d:x,style:{transform:M,...N}={},...O}=i,R=gb(),[C,Q]=y.useState(!1);if(Pc(()=>{if(!l)return;Ur(l).direction==="rtl"&&Q(!0)},[l]),!l)return null;const[J,K]=t.split("-"),re=J==="top"||J==="bottom";let V=g;(re&&c!=null&&c.x||!re&&c!=null&&c.y)&&(V=null);const S=v*2,E=S/2,T=d/2*(m/-8+1),U=h/2*m/4,q=!!x,z=V&&K==="end"?"bottom":"top";let B=V&&K==="end"?"right":"left";V&&C&&(B=K==="end"?"left":"right");const H=s?.x!=null?V||s.x:"",w=s?.y!=null?V||s.y:"",k=x||"M0,0"+(" H"+d)+(" L"+(d-T)+","+(h-U))+(" Q"+d/2+","+h+" "+T+","+(h-U))+" Z",L={top:q?"rotate(180deg)":"",left:q?"rotate(90deg)":"rotate(-90deg)",bottom:q?"":"rotate(180deg)",right:q?"rotate(-90deg)":"rotate(90deg)"}[J];return Z.jsxs("svg",{...O,"aria-hidden":!0,ref:n,width:q?d:d+S,height:d,viewBox:"0 0 "+d+" "+(h>d?h:d),style:{position:"absolute",pointerEvents:"none",[B]:H,[z]:w,[J]:re||q?"100%":"calc(100% - "+S/2+"px)",transform:[L,M].filter(X=>!!X).join(" "),...N},children:[S>0&&Z.jsx("path",{clipPath:"url(#"+R+")",fill:"none",stroke:_,strokeWidth:S+(x?0:1),d:k}),Z.jsx("path",{stroke:S&&!x?O.fill:"none",d:k}),Z.jsx("clipPath",{id:R,children:Z.jsx("rect",{x:-E,y:E*(q?-1:1),width:d+S,height:d})})]})});function ER(){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 wR=y.createContext(null),DR=y.createContext(null),TR=()=>{var a;return((a=y.useContext(wR))==null?void 0:a.id)||null},xR=()=>y.useContext(DR);function MR(a){const{open:i=!1,onOpenChange:n,elements:t}=a,l=gb(),s=y.useRef({}),[c]=y.useState(()=>ER()),d=TR()!=null,[h,m]=y.useState(t.reference),v=uR((x,M,N)=>{s.current.openEvent=x?M:void 0,c.emit("openchange",{open:x,event:M,reason:N,nested:d}),n?.(x,M,N)}),g=y.useMemo(()=>({setPositionReference:m}),[]),_=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:_,events:c,floatingId:l,refs:g}),[i,v,_,c,l,g])}function OR(a){a===void 0&&(a={});const{nodeId:i}=a,n=MR({...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?.domReference||s,g=y.useRef(null),_=xR();Pc(()=>{v&&(g.current=v)},[v]);const x=dR({...a,elements:{...l,...d&&{reference:d}}}),M=y.useCallback(Q=>{const J=Vn(Q)?{getBoundingClientRect:()=>Q.getBoundingClientRect(),getClientRects:()=>Q.getClientRects(),contextElement:Q}:Q;h(J),x.refs.setReference(J)},[x.refs]),N=y.useCallback(Q=>{(Vn(Q)||Q===null)&&(g.current=Q,c(Q)),(Vn(x.refs.reference.current)||x.refs.reference.current===null||Q!==null&&!Vn(Q))&&x.refs.setReference(Q)},[x.refs]),O=y.useMemo(()=>({...x.refs,setReference:N,setPositionReference:M,domReference:g}),[x.refs,N,M]),R=y.useMemo(()=>({...x.elements,domReference:v}),[x.elements,v]),C=y.useMemo(()=>({...x,...t,refs:O,elements:R,nodeId:i}),[x,O,R,i,t]);return Pc(()=>{t.dataRef.current.floatingContext=C;const Q=_?.nodesRef.current.find(J=>J.id===i);Q&&(Q.context=C)}),y.useMemo(()=>({...x,context:C,refs:O,elements:R}),[x,O,R,C])}/*!
  react-datepicker v8.4.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 Tn(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 st=function(){return st=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},st.apply(this,arguments)};function pa(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 AR=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 G.createElement("div",{className:s,role:"dialog","aria-label":d,"aria-modal":"true"},c)},CR=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=CR(n,c);return G.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 yb(){var a=typeof window<"u"?window:globalThis;return a}var Vs=12;function yt(a){if(a==null)return new Date;var i=typeof a=="string"?BC(a):De(a);return lf(i)?i:new Date}function u2(a,i,n,t,l){l===void 0&&(l=yt());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=UC(a,m,l,{locale:s});if(lf(v)&&(!t||a===Yt(v,m,n)))return v}return null}function lf(a,i){return kc(a)&&!cl(a,new Date("1/1/1800"))}function Yt(a,i,n){if(n==="en")return l9(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()),l9(a,i,{locale:t,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function kr(a,i){var n=i.dateFormat,t=i.locale,l=Array.isArray(n)&&n.length>0?n[0]:n;return a&&Yt(a,l,t)||""}var bb=" - ";function RR(a,i,n){if(!a)return"";var t=kr(a,n),l=i?kr(i,n):"";return"".concat(t).concat(bb).concat(l)}function NR(a,i){if(!a?.length)return"";var n=a[0]?kr(a[0],i):"";if(a.length===1)return n;if(a.length===2&&a[1]){var t=kr(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 kR(a){return Cm(a)}function LR(a,i){return Yt(a,"ddd",i)}function wc(a){return ul(a)}function Ci(a,i,n){var t=so(i||Lm());return Ga(a,{locale:t,weekStartsOn:n})}function Ia(a){return ib(a)}function ks(a){return rf(a)}function d9(a){return G2(a)}function p9(){return ul(yt())}function h9(a){return rb(a)}function qR(a){return BO(a)}function UR(a){return ab(a)}function ca(a,i){return a&&i?YC(a,i):!a&&!i}function Zn(a,i){return a&&i?PC(a,i):!a&&!i}function Yc(a,i){return a&&i?zC(a,i):!a&&!i}function ot(a,i){return a&&i?YO(a,i):!a&&!i}function nl(a,i){return a&&i?jA(a,i):!a&&!i}function Ls(a,i,n){var t,l=ul(i),s=rb(n);try{t=Hs(a,{start:l,end:s})}catch{t=!1}return t}function Lm(){var a=yb();return a.__localeId__}function so(a){if(typeof a=="string"){var i=yb();return i.__localeData__?i.__localeData__[a]:void 0}else return a}function HR(a,i,n){return i(Yt(a,"EEEE",n))}function PR(a,i){return Yt(a,"EEEEEE",i)}function zR(a,i){return Yt(a,"EEE",i)}function qm(a,i){return Yt(Lr(yt(),a),"LLLL",i)}function _b(a,i){return Yt(Lr(yt(),a),"LLL",i)}function YR(a,i){return Yt($l(yt(),a),"QQQ",i)}function qr(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 Ws(a,{minDate:t,maxDate:l})||s&&s.some(function(v){return v instanceof Date?ot(a,v):ot(a,v.date)})||c&&c.some(function(v){var g=v.start,_=v.end;return Hs(a,{start:g,end:_})})||d&&!d.some(function(v){return ot(a,v)})||h&&!h.some(function(v){var g=v.start,_=v.end;return Hs(a,{start:g,end:_})})||m&&!m(yt(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 Hs(a,{start:c,end:d})}):t&&t.some(function(s){var c;return s instanceof Date?ot(a,s):ot(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 Ws(a,{minDate:t?ib(t):void 0,maxDate:l?ab(l):void 0})||s?.some(function(h){return Zn(a,h instanceof Date?h:h.date)})||c&&!c.some(function(h){return Zn(a,h)})||d&&!d(yt(a))||!1}function fc(a,i,n,t){var l=Fe(a),s=Hn(a),c=Fe(i),d=Hn(i),h=Fe(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 jR(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates;return Ws(a,{minDate:t,maxDate:l})||s&&s.some(function(d){return Zn(d instanceof Date?d:d.date,a)})||c&&!c.some(function(d){return Zn(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 Ws(a,{minDate:t,maxDate:l})||s?.some(function(h){return Yc(a,h instanceof Date?h:h.date)})||c&&!c.some(function(h){return Yc(a,h)})||d&&!d(yt(a))||!1}function pc(a,i,n){if(!i||!n||!kc(i)||!kc(n))return!1;var t=Fe(i),l=Fe(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 Ws(h,{minDate:t?rf(t):void 0,maxDate:l?lb(l):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(yt(h))||!1}function hc(a,i,n,t){var l=Fe(a),s=al(a),c=Fe(i),d=al(i),h=Fe(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 Ws(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 m9(a,i){return i.some(function(n){return ja(n)===ja(a)&&Ba(n)===Ba(a)&&Ai(n)===Ai(a)})}function v9(a,i){var n=i===void 0?{}:i,t=n.excludeTimes,l=n.includeTimes,s=n.filterTime;return t&&m9(a,t)||l&&!m9(a,l)||s&&!s(a)||!1}function g9(a,i){var n=i.minTime,t=i.maxTime;if(!n||!t)throw new Error("Both minTime and maxTime props required");var l=yt();l=bc(l,ja(a)),l=_c(l,Ba(a)),l=Sc(l,Ai(a));var s=yt();s=bc(s,ja(n)),s=_c(s,Ba(n)),s=Sc(s,Ai(n));var c=yt();c=bc(c,ja(t)),c=_c(c,Ba(t)),c=Sc(c,Ai(t));var d;try{d=!Hs(l,{start:s,end:c})}catch{d=!1}return d}function y9(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 b9(a,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.includeDates,s=Qr(a,1);return t&&Lc(s,t)>0||l&&l.every(function(c){return Lc(s,c)>0})||!1}function BR(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.includeDates,s=rf(a),c=mb(s);return t&&qc(t,c)>0||l&&l.every(function(d){return qc(d,c)>0})||!1}function IR(a,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.includeDates,s=lb(a),c=Am(s,1);return t&&qc(c,t)>0||l&&l.every(function(d){return qc(c,d)>0})||!1}function _9(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 FR(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.yearItemNumber,s=l===void 0?Vs:l,c=ks(oo(a,s)),d=Oi(c,s).endPeriod,h=t&&Fe(t);return h&&h>d||!1}function S9(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 GR(a,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.yearItemNumber,s=l===void 0?Vs:l,c=za(a,s),d=Oi(c,s).startPeriod,h=t&&Fe(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 e9(t)}else return n?e9(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 J7(t)}else return n?J7(n):i}function E9(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=Yt(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 _=0,x=g.length;_<x;_++){var M=g[_];if(M){var d=Yt(M,"MM.dd.yyyy"),h=t.get(d)||[];h.includes(v)||(h.push(v),t.set(d,h))}}}}return t}function ZR(a,i){return a.length!==i.length?!1:a.every(function(n,t){return n===i[t]})}function VR(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=Yt(l,"MM.dd.yyyy"),d=n.get(c)||{className:"",holidayNames:[]};if(!("className"in d&&d.className===i&&ZR(d.holidayNames,[s]))){d.className=i;var h=d.holidayNames;d.holidayNames=h?pa(pa([],h,!0),[s],!1):[s],n.set(c,d)}}}),n}function WR(a,i,n,t,l){for(var s=l.length,c=[],d=0;d<s;d++){var h=a,m=l[d];m&&(h=UO(h,ja(m)),h=F2(h,Ba(m)),h=zO(h,Ai(m)));var v=F2(a,(n+1)*t);Ni(h,i)&&cl(h,v)&&m!=null&&c.push(m)}return c}function w9(a){return a<10?"0".concat(a):"".concat(a)}function Oi(a,i){i===void 0&&(i=Vs);var n=Math.ceil(Fe(a)/i)*i,t=n-(i-1);return{startPeriod:t,endPeriod:n}}function QR(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 D9(a){var i=a.getSeconds(),n=a.getMilliseconds();return De(a.getTime()-i*1e3-n)}function KR(a,i){return D9(a).getTime()===D9(i).getTime()}function T9(a){if(!Ya(a))throw new Error("Invalid date");var i=new Date(a);return i.setHours(0,0,0,0),i}function x9(a,i){if(!Ya(a)||!Ya(i))throw new Error("Invalid date received");var n=T9(a),t=T9(i);return cl(n,t)}function Db(a){return a.key===ve.Space}var XR=function(a){Tn(i,a);function i(n){var t=a.call(this,n)||this;return t.inputRef=G.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?.includes(":")){var v=l.split(":"),g=v[0],_=v[1];m.setHours(Number(g)),m.setMinutes(Number(_))}(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}):G.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 G.createElement("div",{className:"react-datepicker__input-time-container"},G.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),G.createElement("div",{className:"react-datepicker-time__input-container"},G.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))},i}(y.Component),$R=function(a){Tn(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 ot(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),qr(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 ot(n.props.day,Ci(n.props.day,n.props.locale,n.props.calendarStartDay))},n.isSameWeek=function(t){return n.props.showWeekPicker&&ot(t,Ci(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=Yt(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=Yt(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:Ls(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,_=(t=n.props.selectingDate)!==null&&t!==void 0?t:n.props.preSelection;return!(c||d||h)||!_||!m&&n.isDisabled()?!1:c&&g&&(cl(_,g)||nl(_,g))?Ls(s,_,g):d&&v&&(Ni(_,v)||nl(_,v))||h&&v&&!g&&(Ni(_,v)||nl(_,v))?Ls(s,v,_):!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?ot(s,h):ot(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?ot(s,m):ot(s,c)},n.isRangeStart=function(){var t=n.props,l=t.day,s=t.startDate,c=t.endDate;return!s||!c?!1:ot(s,l)},n.isRangeEnd=function(){var t=n.props,l=t.day,s=t.startDate,c=t.endDate;return!s||!c?!1:ot(c,l)},n.isWeekend=function(){var t=HA(n.props.day);return t===0||t===6},n.isAfterMonth=function(){return n.props.month!==void 0&&(n.props.month+1)%12===Hn(n.props.day)},n.isBeforeMonth=function(){return n.props.month!==void 0&&(Hn(n.props.day)+1)%12===n.props.month},n.isCurrentDay=function(){return n.isSameDay(yt())},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 Nn("react-datepicker__day",l,"react-datepicker__day--"+LR(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(Yt(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=Yt(l,"MM.dd.yyyy"),m=[];return c.has(h)&&m.push.apply(m,c.get(h).holidayNames),n.isExcluded()&&m.push(d?.filter(function(v){return v instanceof Date?ot(v,l):ot(v?.date,l)}).map(function(v){if(!(v instanceof Date))return 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)&&ot(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(o9(n.props.day),n.props.day):o9(n.props.day)},n.render=function(){return G.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()!==""&&G.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),JR=function(a){Tn(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&&!ot(n.props.date,n.props.selected)&&ot(n.props.date,n.props.preSelection)},n.getTabIndex=function(){return n.props.showWeekPicker&&n.props.showWeekNumber&&(n.isKeyboardSelected()||ot(n.props.date,n.props.selected)&&ot(n.props.preSelection,n.props.selected))?0:-1},n.handleFocusWeekNumber=function(t){var l=!1;n.getTabIndex()===0&&!t?.isInputFocused&&ot(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&&ot(this.props.date,this.props.selected)};return G.createElement("div",{ref:this.weekNumberEl,className:Nn(h),"aria-label":"".concat(c," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},t)},i}(y.Component),eN=function(a){Tn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.isDisabled=function(t){return qr(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 _=!n.isDisabled(g);if(_){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):kR(t)},n.isWeekDisabled=function(){for(var t=n.startOfWeek(),l=Vr(t,6),s=new Date(t);s<=l;){if(!n.isDisabled(s))return!1;s=Vr(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(G.createElement(JR,st({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=Vr(t,d);return G.createElement($R,st({},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 Ci(n.props.day,n.props.locale,n.props.calendarStartDay)},n.isKeyboardSelected=function(){return!n.props.disabledKeyboardNavigation&&!ot(n.startOfWeek(),n.props.selected)&&ot(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":ot(this.startOfWeek(),this.props.selected),"react-datepicker__week--keyboard-selected":this.isKeyboardSelected()};return G.createElement("div",{className:Nn(n)},this.renderDays())},i}(y.Component),As,tN=6,eo={TWO_COLUMNS:"two_columns",THREE_COLUMNS:"three_columns",FOUR_COLUMNS:"four_columns"},f2=(As={},As[eo.TWO_COLUMNS]={grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2},As[eo.THREE_COLUMNS]={grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3},As[eo.FOUR_COLUMNS]={grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4},As),mc=1;function M9(a,i){return a?eo.FOUR_COLUMNS:i?eo.TWO_COLUMNS:eo.THREE_COLUMNS}var nN=function(a){Tn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.MONTH_REFS=pa([],Array(12),!0).map(function(){return y.createRef()}),n.QUARTER_REFS=pa([],Array(4),!0).map(function(){return y.createRef()}),n.isDisabled=function(t){return qr(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:Zn(Lr(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($l(s,t),c)},n.isRangeEndMonth=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:Zn(Lr(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($l(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,_=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return!(d||h||m)||!_?!1:d&&g?fc(_,g,t,c):h&&v||m&&v&&!g?fc(v,_,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=Lr(c,t),v=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return h?Zn(m,v):Zn(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=Lr(c,t),g=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return h||m?Zn(v,g):Zn(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,_=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return!(d||h||m)||!_?!1:d&&g?hc(_,g,t,c):h&&v||m&&v&&!g?hc(v,_,t,c):!1},n.isWeekInMonth=function(t){var l=n.props.day,s=Vr(t,6);return Zn(t,l)||Zn(s,l)},n.isCurrentMonth=function(t,l){return Fe(t)===Fe(yt())&&l===Hn(yt())},n.isCurrentQuarter=function(t,l){return Fe(t)===Fe(yt())&&l===al(yt())},n.isSelectedMonth=function(t,l,s){return Hn(s)===l&&Fe(t)===Fe(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&&Fe(t)===Fe(s)},n.isMonthSelected=function(){var t=n.props,l=t.day,s=t.selected,c=t.selectedDates,d=t.selectsMultiple,h=Hn(l);return d?c?.some(function(m){return n.isSelectedMonth(l,h,m)}):!!s&&n.isSelectedMonth(l,h,s)},n.renderWeeks=function(){for(var t=[],l=n.props.fixedHeight,s=0,c=!1,d=Ci(Ia(n.props.day),n.props.locale,n.props.calendarStartDay),h=function(M){return n.props.showWeekPicker?Ci(M,n.props.locale,n.props.calendarStartDay):n.props.preSelection},m=function(M){return n.props.showWeekPicker?Ci(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(G.createElement(eN,st({},n.props,{ariaLabelPrefix:n.props.weekAriaLabelPrefix,key:s,day:d,month:Hn(n.props.day),onDayClick:n.handleDayClick,onDayMouseEnter:n.handleDayMouseEnter,selected:v,preSelection:g,showWeekNumber:n.props.showWeekNumbers}))),!c;){s++,d=Nc(d,1);var _=l&&s>=tN,x=!l&&!n.isWeekInMonth(d);if(_||x)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,_=d.maxDate,x=d.showFourColumnMonthYearPicker,M=d.showTwoColumnMonthYearPicker;if(m){var N=M9(x,M),O=n.getVerticalOffset(N),R=(c=f2[N])===null||c===void 0?void 0:c.grid,C=function(V,S,E){var T,U,q=S,z=E;switch(V){case ve.ArrowRight:q=Qr(S,mc),z=E===11?0:E+mc;break;case ve.ArrowLeft:q=il(S,mc),z=E===0?11:E-mc;break;case ve.ArrowUp:q=il(S,O),z=!((T=R?.[0])===null||T===void 0)&&T.includes(E)?E+12-O:E-O;break;case ve.ArrowDown:q=Qr(S,O),z=!((U=R?.[R.length-1])===null||U===void 0)&&U.includes(E)?E-12+O:E+O;break}return{newCalculatedDate:q,newCalculatedMonth:z}},Q=function(V,S,E){for(var T=40,U=V,q=!1,z=0,B=C(U,S,E),H=B.newCalculatedDate,w=B.newCalculatedMonth;!q;){if(z>=T){H=S,w=E;break}if(g&&H<g){U=ve.ArrowRight;var k=C(U,H,w);H=k.newCalculatedDate,w=k.newCalculatedMonth}if(_&&H>_){U=ve.ArrowLeft;var k=C(U,H,w);H=k.newCalculatedDate,w=k.newCalculatedMonth}if(jR(H,n.props)){var k=C(U,H,w);H=k.newCalculatedDate,w=k.newCalculatedMonth}else q=!0;z++}return{newCalculatedDate:H,newCalculatedMonth:w}};if(l===ve.Enter){n.isMonthDisabled(s)||(n.onMonthClick(t,s),v?.(h));return}var J=Q(l,m,s),K=J.newCalculatedDate,re=J.newCalculatedMonth;switch(l){case ve.ArrowRight:case ve.ArrowLeft:case ve.ArrowUp:case ve.ArrowDown:n.handleMonthNavigation(re,K);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=$l(n.props.day,l);dc(s,n.props)||n.handleDayClick(d9(s),t)},n.onQuarterMouseEnter=function(t){var l=$l(n.props.day,t);dc(l,n.props)||n.handleDayMouseEnter(d9(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,mb(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=Lr(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(Lr(s,t)):void 0,g=n.getSelection();return Nn("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.isMonthSelected()&&!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=Hn(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=Lr(m,t),_=n.isDisabled(g)||n.isExcluded(g)?h:c;return"".concat(_," ").concat(Yt(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,_=l.includeDates,x=l.filterDate,M=l.preSelection,N=l.disabledKeyboardNavigation,O=(m||v||g||_||x)&&dc($l(s,t),n.props);return Nn("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter-text--disabled":O,"react-datepicker__quarter-text--selected":h?n.isSelectedQuarter(s,t,h):void 0,"react-datepicker__quarter-text--keyboard-selected":!N&&M&&n.isSelectedQuarter(s,t,M)&&!O,"react-datepicker__quarter-text--in-selecting-range":n.isInSelectingRangeQuarter(t),"react-datepicker__quarter-text--in-range":c&&d?hc(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=YR(t,d);return(l=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[M9(c,s)])===null||t===void 0?void 0:t.grid;return m?.map(function(v,g){return G.createElement("div",{className:"react-datepicker__month-wrapper",key:g},v.map(function(_,x){return G.createElement("div",{ref:n.MONTH_REFS[_],key:x,onClick:function(M){n.onMonthClick(M,_)},onKeyDown:function(M){Db(M)&&(M.preventDefault(),M.key=ve.Enter),n.onMonthKeyDown(M,_)},onMouseEnter:n.props.usePointerEvent?void 0:function(){return n.onMonthMouseEnter(_)},onPointerEnter:n.props.usePointerEvent?function(){return n.onMonthMouseEnter(_)}:void 0,tabIndex:Number(n.getTabIndex(_)),className:n.getMonthClassNames(_),"aria-disabled":n.isMonthDisabled(_),role:"option","aria-label":n.getAriaLabel(_),"aria-current":n.isCurrentMonth(d,_)?"date":void 0,"aria-selected":h?n.isSelectedMonth(d,_,h):void 0},n.getMonthContent(_))}))})},n.renderQuarters=function(){var t=n.props,l=t.day,s=t.selected,c=[1,2,3,4];return G.createElement("div",{className:"react-datepicker__quarter-wrapper"},c.map(function(d,h){return G.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 Nn("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 G.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(Yt(s,"MMMM, yyyy",this.props.locale)),role:"listbox"},t?this.renderMonths():l?this.renderQuarters():this.renderWeeks())},i}(y.Component),rN=function(a){Tn(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 G.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)?G.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 G.createElement(af,{className:"react-datepicker__month-dropdown",onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),aN=function(a){Tn(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 G.createElement("option",{key:l,value:s},l)})},n.renderSelectMode=function(t){return G.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 G.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:n.toggleDropdown},G.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),G.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},l[n.props.month]))},n.renderDropdown=function(t){return G.createElement(rN,st({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 G.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},l)},i}(y.Component);function iN(a,i){for(var n=[],t=Ia(a),l=Ia(i);!Ni(t,l);)n.push(yt(t)),t=Qr(t,1);return n}var lN=function(a){Tn(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)&&Zn(t.props.date,l);return G.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?G.createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",Yt(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:iN(t.props.minDate,t.props.maxDate)},t}return i.prototype.render=function(){var n=Nn({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return G.createElement(af,{className:n,onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),oN=function(a){Tn(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=[];!Ni(t,l);){var c=V2(t);s.push(G.createElement("option",{key:c,value:c},Yt(t,n.props.dateFormat,n.props.locale))),t=Qr(t,1)}return s},n.onSelectChange=function(t){n.onChange(parseInt(t.target.value))},n.renderSelectMode=function(){return G.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=Yt(n.props.date,n.props.dateFormat,n.props.locale);return G.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:n.toggleDropdown},G.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),G.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},l))},n.renderDropdown=function(){return G.createElement(lN,st({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=yt(t);ca(n.props.date,l)&&Zn(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 G.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},n)},i}(y.Component),sN=function(a){Tn(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)&&g9(t,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&v9(t,n.props)||(s=(l=n.props).onChange)===null||s===void 0||s.call(l,t)},n.isSelectedTime=function(t){return n.props.selected&&KR(n.props.selected,t)},n.isDisabledTime=function(t){return(n.props.minTime||n.props.maxTime)&&g9(t,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&v9(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+Ai(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||yt(),h=wc(d),m=n.props.injectTimes&&n.props.injectTimes.sort(function(O,R){return O.getTime()-R.getTime()}),v=60*QR(d),g=v/c,_=0;_<g;_++){var x=F2(h,_*c);if(l.push(x),m){var M=WR(h,x,_,c,m);l=l.concat(M)}}var N=l.reduce(function(O,R){return R.getTime()<=d.getTime()?R:O},l[0]);return l.map(function(O){return G.createElement("li",{key:O.valueOf(),onClick:n.handleClick.bind(n,O),className:n.liClasses(O),ref:function(R){O===N&&(n.centerLi=R)},onKeyDown:function(R){n.handleOnKeyDown(R,O)},tabIndex:O===N?0:-1,role:"option","aria-selected":n.isSelectedTime(O)?"true":void 0,"aria-disabled":n.isDisabledTime(O)?"true":void 0},Yt(O,s,n.props.locale))})},n.renderTimeCaption=function(){return n.props.showTimeCaption===!1?G.createElement(G.Fragment,null):G.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}},G.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 G.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(),G.createElement("div",{className:"react-datepicker__time"},G.createElement("div",{className:"react-datepicker__time-box"},G.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),O9=3,uN=function(a){Tn(i,a);function i(n){var t=a.call(this,n)||this;return t.YEAR_REFS=pa([],Array(t.props.yearItemNumber),!0).map(function(){return y.createRef()}),t.isDisabled=function(l){return qr(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,_=v.yearItemNumber;if(!(g===void 0||_===void 0)){var x=Oi(g,_).startPeriod;t.isDisabled(s)||t.isExcluded(s)||((d=(c=t.props).setPreSelection)===null||d===void 0||d.call(c,s),l-x<0?t.updateFocusOnPaginate(_-(x-l)):l-x>=_?t.updateFocusOnPaginate(Math.abs(_-(l-x))):(m=(h=t.YEAR_REFS[l-x])===null||h===void 0?void 0:h.current)===null||m===void 0||m.focus())}},t.isSameDay=function(l,s){return ot(l,s)},t.isCurrentYear=function(l){return l===Fe(yt())},t.isRangeStart=function(l){return t.props.startDate&&t.props.endDate&&ca(ua(yt(),l),t.props.startDate)},t.isRangeEnd=function(l){return t.props.startDate&&t.props.endDate&&ca(ua(yt(),l),t.props.endDate)},t.isInRange=function(l){return pc(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?pc(l,t.selectingDate(),v):d&&m||h&&m&&!v?pc(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(yt(),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(yt(),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=ks(ua(t.props.date,l)),_=(c||d||h||m||v)&&Dc(l,t.props);return!t.props.disabledKeyboardNavigation&&!t.props.inline&&!ot(g,ks(t.props.selected))&&ot(g,ks(t.props.preSelection))&&!_}},t.isSelectedYear=function(l){var s=t.props,c=s.selectsMultiple,d=s.selected,h=s.selectedDates;return c?h?.some(function(m){return l===Fe(m)}):!!d&&l===Fe(d)},t.onYearClick=function(l,s){var c=t.props.date;c!==void 0&&t.handleYearClick(ks(ua(c,s)),l)},t.onYearKeyDown=function(l,s){var c,d,h=l.key,m=t.props,v=m.date,g=m.yearItemNumber,_=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 x=Oi(v,g).startPeriod,M=O9,N=s-M;if(N<x){var O=g%M;s>=x&&s<x+O?M=O:M+=O,N=s-M}t.handleYearNavigation(N,oo(t.props.preSelection,M));break}case ve.ArrowDown:{if(v===void 0||g===void 0||t.props.preSelection==null)break;var R=Oi(v,g).endPeriod,M=O9,N=s+M;if(N>R){var O=g%M;s<=R&&s>R-O?M=O:M+=O,N=s+M}t.handleYearNavigation(N,za(t.props.preSelection,M));break}}_&&_(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.yearClassName;return Nn("react-datepicker__year-text","react-datepicker__year-".concat(l),c?_?.(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=Fe(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=Oi(s,c),v=m.startPeriod,g=m.endPeriod,_=function(N){t.push(G.createElement("div",{ref:x.YEAR_REFS[N-v],onClick:function(O){n.onYearClick(O,N)},onKeyDown:function(O){Db(O)&&(O.preventDefault(),O.key=ve.Enter),n.onYearKeyDown(O,N)},tabIndex:Number(x.getYearTabIndex(N)),className:x.getYearClassNames(N),onMouseEnter:x.props.usePointerEvent?void 0:function(O){return d(O,N)},onPointerEnter:x.props.usePointerEvent?function(O){return d(O,N)}:void 0,onMouseLeave:x.props.usePointerEvent?void 0:function(O){return h(O,N)},onPointerLeave:x.props.usePointerEvent?function(O){return h(O,N)}:void 0,key:N,"aria-current":x.isCurrentYear(N)?"date":void 0},x.getYearContent(N)))},x=this,M=v;M<=g;M++)_(M);return G.createElement("div",{className:"react-datepicker__year"},G.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 cN(a,i,n,t){for(var l=[],s=0;s<2*i+1;s++){var c=a+i-s,d=!0;n&&(d=Fe(n)<=c),t&&d&&(d=Fe(t)>=c),d&&l.push(c)}return l}var fN=function(a){Tn(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 G.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?G.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",g)}),m=t.props.minDate?Fe(t.props.minDate):null,v=t.props.maxDate?Fe(t.props.maxDate):null;return(!v||!t.state.yearsList.find(function(g){return g===v}))&&h.unshift(G.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:t.incrementYears},G.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(G.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:t.decrementYears},G.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:cN(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=Nn({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return G.createElement(af,{className:n,containerRef:this.dropdownRef,onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),dN=function(a){Tn(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?Fe(n.props.minDate):1900,l=n.props.maxDate?Fe(n.props.maxDate):2100,s=[],c=t;c<=l;c++)s.push(G.createElement("option",{key:c,value:c},c));return s},n.onSelectChange=function(t){n.onChange(parseInt(t.target.value))},n.renderSelectMode=function(){return G.createElement("select",{value:n.props.year,className:"react-datepicker__year-select",onChange:n.onSelectChange},n.renderSelectOptions())},n.renderReadView=function(t){return G.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(l){return n.toggleDropdown(l)}},G.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),G.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},n.props.year))},n.renderDropdown=function(){return G.createElement(fN,st({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 G.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},n)},i}(y.Component),pN=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],hN=function(a){var i=(a.className||"").split(/\s+/);return pN.some(function(n){return i.indexOf(n)>=0})},mN=function(a){Tn(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;hN(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=yt(),g=d||c||s;return g||(h&&cl(v,h)?h:m&&Ni(v,m)?m:v)},t.increaseMonth=function(){t.setState(function(l){var s=l.date;return{date:Qr(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(yt(),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(!qr(l,t.props))return l;for(var s=Ia(l),c=UR(l),d=jO(c,s),h=null,m=0;m<=d;m++){var v=Vr(s,m);if(!qr(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:Lr(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(Lr(c,Hn(l)),Fe(l))}},function(){return t.handleMonthYearChange(t.state.date)})},t.header=function(l){l===void 0&&(l=t.state.date);var s=Ci(l,t.props.locale,t.props.calendarStartDay),c=[];return t.props.showWeekNumbers&&c.push(G.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=Vr(s,d),m=t.formatWeekday(h,t.props.locale),v=t.props.weekDayClassName?t.props.weekDayClassName(h):void 0;return G.createElement("div",{key:d,"aria-label":Yt(h,"EEEE",t.props.locale),className:Nn("react-datepicker__day-name",v)},m)}))},t.formatWeekday=function(l,s){return t.props.formatWeekDay?HR(l,t.props.formatWeekDay,s):t.props.useWeekdaysShort?zR(l,s):PR(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=_9(t.state.date,t.props);break;case t.props.showYearPicker:g=FR(t.state.date,t.props);break;case t.props.showQuarterYearPicker:g=BR(t.state.date,t.props);break;default:g=y9(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 _=["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"],x=["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&&(x.push("react-datepicker__navigation--previous--disabled"),M=void 0);var N=t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker,O=t.props,R=O.previousMonthButtonLabel,C=R===void 0?i.defaultProps.previousMonthButtonLabel:R,Q=O.previousYearButtonLabel,J=Q===void 0?i.defaultProps.previousYearButtonLabel:Q,K=t.props,re=K.previousMonthAriaLabel,V=re===void 0?typeof C=="string"?C:"Previous Month":re,S=K.previousYearAriaLabel,E=S===void 0?typeof J=="string"?J:"Previous Year":S;return G.createElement("button",{type:"button",className:x.join(" "),onClick:M,onKeyDown:t.props.handleOnKeyDown,"aria-label":N?E:V},G.createElement("span",{className:_.join(" ")},N?J:C))}}},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=S9(t.state.date,t.props);break;case t.props.showYearPicker:s=GR(t.state.date,t.props);break;case t.props.showQuarterYearPicker:s=IR(t.state.date,t.props);break;default:s=b9(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,_=g===void 0?i.defaultProps.nextMonthButtonLabel:g,x=v.nextYearButtonLabel,M=x===void 0?i.defaultProps.nextYearButtonLabel:x,N=t.props,O=N.nextMonthAriaLabel,R=O===void 0?typeof _=="string"?_:"Next Month":O,C=N.nextYearAriaLabel,Q=C===void 0?typeof M=="string"?M:"Next Year":C;return G.createElement("button",{type:"button",className:c.join(" "),onClick:h,onKeyDown:t.props.handleOnKeyDown,"aria-label":m?Q:R},G.createElement("span",{className:d.join(" ")},m?M:_))}}},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"),G.createElement("h2",{className:s.join(" ")},Yt(l,t.props.dateFormat,t.props.locale))},t.renderYearDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showYearDropdown||l))return G.createElement(dN,st({},i.defaultProps,t.props,{date:t.state.date,onChange:t.changeYear,year:Fe(t.state.date)}))},t.renderMonthDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showMonthDropdown||l))return G.createElement(aN,st({},i.defaultProps,t.props,{month:Hn(t.state.date),onChange:t.changeMonth}))},t.renderMonthYearDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showMonthYearDropdown||l))return G.createElement(oN,st({},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 G.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 G.createElement("div",{className:"react-datepicker__header ".concat(t.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},t.renderCurrentMonth(s),G.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)),G.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=y9(t.state.date,t.props),v=b9(t.state.date,t.props),g=_9(t.state.date,t.props),_=S9(t.state.date,t.props),x=!t.props.showMonthYearPicker&&!t.props.showQuarterYearPicker&&!t.props.showYearPicker;return G.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,st(st({},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:_})),x&&G.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=Oi(s,m),g=v.startPeriod,_=v.endPeriod;return G.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},d?"".concat(g," - ").concat(_):Fe(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 _=g-v+h,x=t.props.showMonthYearPicker||t.props.showQuarterYearPicker?za(m,_):Qr(m,_),M="month-".concat(g),N=g<d-1,O=g>0;c.push(G.createElement("div",{key:M,ref:function(R){t.monthContainer=R??void 0},className:"react-datepicker__month-container"},t.renderHeader({monthDate:x,i:g}),G.createElement(nN,st({},i.defaultProps,t.props,{containerRef:t.containerRef,ariaLabelPrefix:t.props.monthAriaLabelPrefix,day:x,onDayClick:t.handleDayClick,handleOnKeyDown:t.props.handleOnDayKeyDown,handleOnMonthKeyDown:t.props.handleOnKeyDown,onDayMouseEnter:t.handleDayMouseEnter,onMouseLeave:t.handleMonthMouseLeave,orderInDisplay:g,selectingDate:t.state.selectingDate,monthShowsDuplicateDaysEnd:N,monthShowsDuplicateDaysStart:O}))))}return c}},t.renderYears=function(){if(!t.props.showTimeSelectOnly&&t.props.showYearPicker)return G.createElement("div",{className:"react-datepicker__year--container"},t.renderHeader({monthDate:t.state.date}),G.createElement(uN,st({},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 G.createElement(sN,st({},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(w9(l.getHours()),":").concat(w9(l.getMinutes())):"";if(t.props.showTimeInput)return G.createElement(XR,st({},i.defaultProps,t.props,{date:l,timeString:c,onChange:t.props.onTimeChange}))},t.renderAriaLiveRegion=function(){var l,s=Oi(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=Fe(t.state.date):h="".concat(qm(Hn(t.state.date),t.props.locale)," ").concat(Fe(t.state.date)),G.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},t.state.isRenderAriaLiveMessage&&h)},t.renderChildren=function(){if(t.props.children)return G.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:Vs}},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&&(!ot(this.props.preSelection,n.preSelection)||this.props.monthSelectedIn!==n.monthSelectedIn)){var l=!Zn(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return l&&t.handleCustomMonthChange(t.state.date)})}else this.props.openToDate&&!ot(this.props.openToDate,n.openToDate)&&this.setState({date:this.props.openToDate})},i.prototype.render=function(){var n=this.props.container||AR;return G.createElement(af,{onClickOutside:this.handleClickOutside,style:{display:"contents"},ignoreClass:this.props.outsideClickIgnoreClass},G.createElement("div",{style:{display:"contents"},ref:this.containerRef},G.createElement(n,{className:Nn("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),vN=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 G.createElement("i",{className:"".concat(s," ").concat(i," ").concat(t),"aria-hidden":"true",onClick:l});if(G.isValidElement(i)){var c=i;return G.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 G.createElement("svg",{className:"".concat(s," ").concat(t),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:l},G.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){Tn(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 sD.createPortal(this.props.children,this.el)},i}(y.Component),gN="[tabindex], a, button, input, select, textarea",yN=function(a){return(a instanceof HTMLAnchorElement||!a.disabled)&&a.tabIndex!==-1},xb=function(a){Tn(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(gN),1,-1).filter(yN)},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)?G.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},G.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:0,onFocus:this.handleFocusStart}),this.props.children,G.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:0,onFocus:this.handleFocusEnd})):this.props.children},i.defaultProps={enableTabLoop:!0},i}(y.Component);function bN(a){var i=function(n){var t,l=typeof n.hidePopper=="boolean"?n.hidePopper:!0,s=y.useRef(null),c=OR(st({open:!l,whileElementsMounted:F9,placement:n.popperPlacement,middleware:pa([mR({padding:15}),hR(10),vR({element:s})],(t=n.popperModifiers)!==null&&t!==void 0?t:[],!0)},n.popperProps)),d=st(st({},n),{hidePopper:l,popperProps:st(st({},c),{arrowRef:s})});return G.createElement(a,st({},d))};return i}var _N=function(a){Tn(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,_=n.portalHost,x=n.popperProps,M=n.showArrow,N=void 0;if(!c){var O=Nn("react-datepicker-popper",t);N=G.createElement(xb,{enableTabLoop:m},G.createElement("div",{ref:x.refs.setFloating,style:x.floatingStyles,className:O,"data-placement":x.placement,onKeyDown:v},d,M&&G.createElement(SR,{ref:x.arrowRef,context:x.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(N=y.createElement(this.props.popperContainer,{},N)),g&&!c&&(N=G.createElement(Tb,{portalId:g,portalHost:_},N));var R=Nn("react-datepicker-wrapper",l);return G.createElement(G.Fragment,null,G.createElement("div",{ref:x.refs.setReference,className:R},h),N)},i}(y.Component),SN=bN(_N),A9="react-datepicker-ignore-onclickoutside";function EN(a,i){return a&&i?Hn(a)!==Hn(i)||Fe(a)!==Fe(i):a!==i}var d2="Date input not valid.",wN=function(a){Tn(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:yt()},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)?pa(pa([],s,!0),[st(st({},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&&Ni(s,h9(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:E9(t.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},t.resetHiddenStatus=function(){t.setState(st(st({},t.state),{wasHidden:!1}))},t.setHiddenStatus=function(){t.setState(st(st({},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:p2},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?.target instanceof HTMLInputElement?g.target.value:null,lastPreSelectChange:DN});var _=t.props,x=_.selectsRange,M=_.startDate,N=_.endDate,O=(l=t.props.dateFormat)!==null&&l!==void 0?l:i.defaultProps.dateFormat,R=(s=t.props.strictParsing)!==null&&s!==void 0?s:i.defaultProps.strictParsing,C=g?.target instanceof HTMLInputElement?g.target.value:"";if(x){var Q=C.split(O.includes("-")?bb:"-",2).map(function(U){return U.trim()}),J=Q[0],K=Q[1],re=u2(J??"",O,t.props.locale,R),V=u2(K??"",O,t.props.locale,R),S=M?.getTime()!==re?.getTime(),E=N?.getTime()!==V?.getTime();if(!S&&!E||re&&qr(re,t.props)||V&&qr(V,t.props))return;(d=(c=t.props).onChange)===null||d===void 0||d.call(c,[re,V],g)}else{var T=u2(C,O,t.props.locale,R,(h=t.props.selected)!==null&&h!==void 0?h:void 0);(T||!C)&&t.setSelected(T,g,!0)}}},t.handleSelect=function(l,s,c){if(!t.props.readOnly){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||!x9(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(Fe(v),t.props))return}else if(t.props.showMonthYearPicker){if(v!==null&&Sb(v,t.props))return}else if(v!==null&&qr(v,t.props))return;var g=t.props,_=g.onChange,x=g.selectsRange,M=g.startDate,N=g.endDate,O=g.selectsMultiple,R=g.selectedDates,C=g.minTime,Q=g.swapRange;if(!nl(t.props.selected,v)||t.props.allowSameDay||x||O)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:Ai(t.props.selected)})),!c&&(t.props.showTimeSelect||t.props.showTimeSelectOnly)&&C&&(v=c2(v,{hour:C.getHours(),minute:C.getMinutes(),second:C.getSeconds()})),t.props.inline||t.setState({preSelection:v}),t.props.focusSelectedMonth||t.setState({monthSelectedIn:d})),x){var J=!M&&!N,K=M&&!N,re=M&&N;J?_?.([v,null],s):K&&(v===null?_?.([null,null],s):x9(v,M)?_?.(Q?[v,M]:[v,null],s):_?.([M,v],s)),re&&_?.([v,null],s)}else if(O){if(v!==null)if(!R?.length)_?.([v],s);else{var V=R.some(function(E){return ot(E,v)});if(V){var S=R.filter(function(E){return!ot(E,v)});_?.(S,s)}else _?.(pa(pa([],R,!0),[v],!1),s)}}else _?.(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){if(!t.props.readOnly){var s=Ya(t.props.minDate),c=Ya(t.props.maxDate),d=!0;if(l){var h=wc(l);if(s&&c)d=Ls(l,t.props.minDate,t.props.maxDate);else if(s){var m=wc(t.props.minDate);d=Ni(l,m)||nl(h,m)}else if(c){var v=h9(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 _=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"]',x=((h=t.calendar)===null||h===void 0?void 0:h.containerRef.current)instanceof Element&&t.calendar.containerRef.current.querySelector(_);x instanceof HTMLElement&&x.focus({preventScroll:!0});return}var M=yt(t.state.preSelection);g===ve.Enter?(l.preventDefault(),l.target.blur(),t.inputOk()&&t.state.lastPreSelectChange===p2?(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,_=g.minDate,x=g.maxDate,M=g.disabledKeyboardNavigation,N=g.showWeekPicker,O=g.shouldCloseOnSelect,R=g.locale,C=g.calendarStartDay,Q=g.adjustDateOnChange,J=g.inline;if((c=(s=t.props).onKeyDown)===null||c===void 0||c.call(s,l),!M){var K=l.key,re=l.shiftKey,V=yt(t.state.preSelection),S=function(H,w){var k=w;switch(H){case ve.ArrowRight:k=N?Nc(w,1):Vr(w,1);break;case ve.ArrowLeft:k=N?s9(w):jC(w);break;case ve.ArrowUp:k=s9(w);break;case ve.ArrowDown:k=Nc(w,1);break;case ve.PageUp:k=re?oo(w,1):il(w,1);break;case ve.PageDown:k=re?za(w,1):Qr(w,1);break;case ve.Home:k=Ci(w,R,C);break;case ve.End:k=qR(w);break}return k},E=function(H,w){for(var k=40,L=H,X=!1,A=0,Y=S(H,w);!X;){if(A>=k){Y=w;break}_&&Y<_&&(L=ve.ArrowRight,Y=qr(_,t.props)?S(L,Y):_),x&&Y>x&&(L=ve.ArrowLeft,Y=qr(x,t.props)?S(L,Y):x),qr(Y,t.props)?((L===ve.PageUp||L===ve.Home)&&(L=ve.ArrowRight),(L===ve.PageDown||L===ve.End)&&(L=ve.ArrowLeft),Y=S(L,Y)):X=!0,A++}return Y};if(K===ve.Enter){l.preventDefault(),t.handleSelect(V,l),!O&&t.setPreSelection(V);return}else if(K===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 T=null;switch(K){case ve.ArrowLeft:case ve.ArrowRight:case ve.ArrowUp:case ve.ArrowDown:case ve.PageUp:case ve.PageDown:case ve.Home:case ve.End:T=E(K,V);break}if(!T){(v=(m=t.props).onInputError)===null||v===void 0||v.call(m,{code:1,msg:d2});return}if(l.preventDefault(),t.setState({lastPreSelectChange:p2}),Q&&t.setSelected(T),t.setPreSelection(T),J){var U=Hn(V),q=Hn(T),z=Fe(V),B=Fe(T);U!==q||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.setOpen(!1))},t.onClearClick=function(l){l&&l.preventDefault&&l.preventDefault(),t.sendFocusBackToInput();var s=t.props,c=s.selectsRange,d=s.onChange;d?.(c?[null,null]: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:G.createElement(mN,st({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:VR(t.modifyHolidays()),outsideClickIgnoreClass:A9,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(kr(t.props.startDate,{dateFormat:m,locale:d}),". ").concat(t.props.endDate?"End date: "+kr(t.props.endDate,{dateFormat:m,locale:d}):""):t.props.showTimeSelectOnly?v="Selected time: ".concat(kr(t.props.selected,{dateFormat:c,locale:d})):t.props.showYearPicker?v="Selected year: ".concat(kr(t.props.selected,{dateFormat:"yyyy",locale:d})):t.props.showMonthYearPicker?v="Selected month: ".concat(kr(t.props.selected,{dateFormat:"MMMM yyyy",locale:d})):t.props.showQuarterYearPicker?v="Selected quarter: ".concat(kr(t.props.selected,{dateFormat:"yyyy, QQQ",locale:d})):v="Selected date: ".concat(kr(t.props.selected,{dateFormat:m,locale:d})),G.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},v)},t.renderDateInput=function(){var l,s,c,d=Nn(t.props.className,(l={},l[A9]=t.state.open,l)),h=t.props.customInput||G.createElement("input",{type:"text"}),m=t.props.customInputRef||"ref",v=t.props,g=v.dateFormat,_=g===void 0?i.defaultProps.dateFormat:g,x=v.locale,M=typeof t.props.value=="string"?t.props.value:typeof t.state.inputValue=="string"?t.state.inputValue:t.props.selectsRange?RR(t.props.startDate,t.props.endDate,{dateFormat:_,locale:x}):t.props.selectsMultiple?NR((c=t.props.selectedDates)!==null&&c!==void 0?c:[],{dateFormat:_,locale:x}):kr(t.props.selected,{dateFormat:_,locale:x});return y.cloneElement(h,(s={},s[m]=function(N){t.input=N},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=Nn(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,_=g===void 0?"":g,x=l.ariaLabelClose,M=x===void 0?"Close":x,N=l.selectedDates,O=l.readOnly;return s&&!O&&(d!=null||h!=null||m!=null||N?.length)?G.createElement("button",{type:"button",className:Nn("react-datepicker__close-icon",_,{"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:Vs,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&&EN(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:E9(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."),G.createElement("div",{className:"react-datepicker__input-container".concat(t?" react-datepicker__view-calendar-icon":"")},t&&G.createElement(vN,st({icon:l,className:Nn(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?G.createElement(xb,{enableTabLoop:this.props.enableTabLoop},G.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},n)):null;return this.state.open&&this.props.portalId&&(t=G.createElement(Tb,st({portalId:this.props.portalId},this.props),t)),G.createElement("div",null,this.renderInputContainer(),t)}return G.createElement(SN,st({},this.props,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),targetComponent:this.renderInputContainer(),popperComponent:n,popperOnKeyDown:this.onPopperKeyDown,showArrow:this.props.showPopperArrow}))},i}(y.Component),DN="input",p2="navigate";const TN=({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"})),xN=y.forwardRef(TN),MN={year:"numeric",month:"long",day:"numeric"},ON=({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,_]=y.useState({}),[x,M]=y.useState(null),N=y.useRef(null),O=()=>N.current.setOpen(!0),R=["photo","valid","lastName","firstName"];y.useEffect(()=>{FM(n.dayOfBirth).then(V=>{l(V)})},[]);const C=(V,S)=>{const E=[...d];E[V]=S,h(E)},Q=V=>V<10?`0${V}`:V.toString(),J=()=>{const V=Ce.locale==="nl"?"nl-NL":"en-EN";return{dayOfBirth:x.toLocaleDateString(V,MN)}},K=V=>{M(V);const S=`${V.getFullYear()}-${Q(V.getMonth()+1)}-${Q(V.getDate())}`,E={...n,dayOfBirth:S};Pn.setState(()=>({controlCode:E}))},re=()=>{const{firstName:V,lastName:S,dayOfBirth:E,code:T,userUid:U}=n;c(!0),GM(V,S,E,T,m,U).then(()=>{_({}),c(!1),i()}).catch(q=>{c(!1),q.response.json().then(z=>{_(z),window.scrollTo({top:0,left:0,behavior:"smooth"})})})};return Z.jsxs("div",{className:"control",children:[Z.jsxs("div",{className:"control-header",children:[Z.jsxs("h2",{children:[Ce.t("control.header"),Z.jsx("span",{className:"code",children:n.code})]}),Z.jsx(ro,{txt:Ce.t("control.restart"),type:xi.GhostDark,onClick:()=>a()})]}),!Ua(g)&&Z.jsx("div",{className:"error",children:Z.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:Mi.sanitize(Ce.t("control.error",g))}})}),Z.jsxs("div",{className:"control-validation",children:[Z.jsx("h4",{children:Ce.t("control.info")}),Z.jsx("p",{children:Ce.t("control.validDocuments")}),Z.jsx(lm,{toasterType:Di.Warning,message:Ce.t("control.inValidDocuments")}),Z.jsx("h4",{children:Ce.t("control.isValid")}),R.map((V,S)=>Z.jsxs("div",{className:"validation-item",children:[Z.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:Mi.sanitize(Ce.t(`control.validations.${V}`,n))}}),Z.jsx(F4,{value:d[S],onChange:E=>C(S,E)})]},V)),Z.jsxs("div",{className:"validation-item column",children:[Z.jsxs("div",{className:"validation-item-inner",children:[Z.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:Mi.sanitize(Ce.t("control.validations.dayOfBirth",!t&&x!==null?J():n))}}),Z.jsx(F4,{value:d[4],disabled:!t&&x===null,onChange:V=>C(4,V)})]}),!t&&Z.jsxs("div",{className:`validation-item-inner birthday ${x===null?"invalid":"valid"}`,children:[Z.jsx("p",{children:Ce.t(`control.${x===null?"invalidDate":"validDate"}`)}),Z.jsx(wN,{ref:N,preventOpenOnFocus:!0,onChange:K,showWeekNumbers:!0,selected:x,showYearDropdown:!0,showMonthDropdown:!0,dropdownMode:"select",weekLabel:"Week",todayButton:null}),Z.jsx("div",{className:"calendar",onClick:O,children:Z.jsx(xN,{})})]})]}),Z.jsxs("div",{className:"validation-item column",children:[Z.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:Mi.sanitize(Ce.t("control.idDocument"))}}),Z.jsxs("div",{className:"code-validation",children:[Z.jsx(K9,{verify:V=>v(V),size:6,focusFirst:!1,validate:()=>!0}),Z.jsx(ro,{txt:Ce.t("control.proceed"),disabled:Ua(m)||d.some(V=>!V)||s||!Ua(g)||!t&&Ua(x),onClick:()=>re()})]})]})]})]})},AN=({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})),CN=y.forwardRef(AN),RN=({restart:a})=>{const{controlCode:i}=Pn(n=>n);return Z.jsxs("div",{className:"confirmation",children:[Z.jsx("h4",{children:Ce.t("confirmation.header")}),Z.jsx(lm,{toasterType:Di.Success,message:Ce.t("confirmation.info",{controlCode:i})}),Z.jsx("div",{className:"img-container",children:Z.jsx(CN,{})}),Z.jsx("div",{className:"button-container",children:Z.jsx(ro,{txt:Ce.t("confirmation.restart"),type:xi.GhostDark,onClick:()=>a()})})]})},NN=()=>{const[a,i]=y.useState(1);if(a===1)return Z.jsx(kO,{proceed:()=>i(2)});if(a===2)return Z.jsx(ON,{restart:()=>i(1),proceed:()=>i(3)});if(a===3)return Z.jsx(RN,{restart:()=>i(1)})},kN=()=>{const{tab:a="verify"}=l8(),[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:Ce.t("tabs.home")},{value:Ce.t(`tabs.${i}`)}]});const v=[Z.jsx(CO,{name:"verify",label:Ce.t("tabs.verify"),children:Z.jsx(NN,{})},"verify")];l(v),c(!1)},[i,h]);const m=v=>{n(v),d(`/home/${v}`)};return s?Z.jsx(im,{}):Z.jsx("div",{className:"home",children:Z.jsxs("div",{className:"mod-home-container",children:[Z.jsx(AO,{children:Z.jsx("h1",{children:Ce.t("landing.header.subTitle",{name:h.name})})}),Z.jsx(OO,{activeTab:i,tabChanged:m,children:t})]})})},LN=()=>{const a=n=>t=>{G8(t),Z8.set("lang",n,{expires:356,secure:document.location.protocol.endsWith("https")}),Ce.locale=n,window.location.search=NM(window.location.search,"lang",n)},i=n=>Z.jsx("a",{href:"locale",className:`${Ce.locale===n?"is-active":"not-active"}`,title:Ce.t("footer.select_locale"),onClick:a(n),children:Ce.translations[n].code});return Z.jsx("nav",{className:"sds--language-switcher sds--text--body--small","aria-label":"Language",children:Z.jsxs("ul",{children:[Z.jsxs("li",{children:[i("nl"),Z.jsx("span",{className:"sds--language-sds--divider",children:"|"})]}),Z.jsx("li",{children:i("en")})]})})},qN=()=>Z.jsx("footer",{className:"sds--footer sds--footer--single-bar",children:Z.jsx("div",{className:"sds--page-container",children:Z.jsxs("div",{className:"sds--footer--inner",children:[Z.jsx("nav",{className:"menu sds--text--body--small",children:Z.jsxs("ul",{children:[Z.jsx("li",{children:Z.jsx("a",{href:Ce.t("footer.termsLink"),target:"_blank",rel:"noopener noreferrer",children:Z.jsx("span",{children:Ce.t("footer.terms")})})}),Z.jsx("li",{children:Z.jsx("a",{href:Ce.t("footer.privacyLink"),target:"_blank",rel:"noopener noreferrer",children:Z.jsx("span",{children:Ce.t("footer.privacy")})})})]})}),Z.jsx(LN,{}),Z.jsx("div",{className:"sds--branding",children:Z.jsx("a",{href:Ce.t("footer.surfLink"),target:"_blank",rel:"noopener noreferrer",children:Z.jsx(X9,{label:"",position:$9.Bottom})})})]})})}),UN=({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"})),HN=y.forwardRef(UN),C9=()=>{const a=fl(),i=()=>{V8().then(()=>{Pn.setState(()=>({breadcrumbPath:[],user:{},controlCode:{}})),a("/login"),setTimeout(()=>Pn.setState(()=>({user:null,breadcrumbPath:[]})),125)})};return Z.jsx("div",{className:"forbidden-container",children:Z.jsxs("div",{className:"forbidden",children:[Z.jsx("p",{children:Ce.t("forbidden.info")}),Z.jsx(HN,{}),Z.jsx("div",{className:"actions",children:Z.jsx(ro,{txt:Ce.t("forbidden.logout"),onClick:()=>i()})})]})})},PN=()=>{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}BM().then(s=>{Pn.setState(()=>({user:s})),i(!1),s.serviceDeskMember?(t(!0),l("/home")):l("/forbidden")}).catch(()=>{i(!1),l("/login")})},[]),a?Z.jsx(im,{}):Z.jsxs("div",{className:"service-desk",children:[Z.jsxs("div",{className:"container",children:[Z.jsx(ZM,{}),Z.jsx(WM,{}),n&&Z.jsxs(H2,{children:[Z.jsx(hr,{path:"/",element:Z.jsx(K4,{replace:!0,to:"home"})}),Z.jsx(hr,{path:"/home/:tab?",element:Z.jsx(kN,{})}),Z.jsx(hr,{path:"/refresh-route/:path",element:Z.jsx(XM,{})}),Z.jsx(hr,{path:"/forbidden",element:Z.jsx(C9,{})}),Z.jsx(hr,{path:"/login",element:Z.jsx(X7,{})}),Z.jsx(hr,{path:"*",element:Z.jsx(e2,{})})]}),!n&&Z.jsxs(H2,{children:[Z.jsx(hr,{path:"/login",element:Z.jsx(X7,{})}),Z.jsx(hr,{path:"/",element:Z.jsx(K4,{replace:!0,to:"forbidden"})}),Z.jsx(hr,{path:"/forbidden",element:Z.jsx(C9,{})}),Z.jsx(hr,{path:"/404",element:Z.jsx(e2,{})}),Z.jsx(hr,{path:"/*",element:Z.jsx(e2,{})})]})]}),Z.jsx(qN,{})]})},zN=NS.createRoot(document.getElementById("root"));zN.render(Z.jsx(y.StrictMode,{children:Z.jsx($w,{children:Z.jsx(H2,{children:Z.jsx(hr,{path:"/*",element:Z.jsx(PN,{})})})})}));
