var Zw=Object.defineProperty;var Qw=(r,i,n)=>i in r?Zw(r,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[i]=n;var we=(r,i,n)=>Qw(r,typeof i!="symbol"?i+"":i,n);function Kw(r,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 r)){const s=Object.getOwnPropertyDescriptor(t,l);s&&Object.defineProperty(r,l,s.get?s:{enumerable:!0,get:()=>t[l]})}}}return Object.freeze(Object.defineProperty(r,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 hc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hr(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var y1={exports:{}},xs={};/**
 * @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 m6;function Xw(){if(m6)return xs;m6=1;var r=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:r,type:t,key:c,ref:l!==void 0?l:null,props:s}}return xs.Fragment=i,xs.jsx=n,xs.jsxs=n,xs}var v6;function $w(){return v6||(v6=1,y1.exports=Xw()),y1.exports}var X=$w(),b1={exports:{}},Os={},_1={exports:{}},w1={};/**
 * @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 g6;function Jw(){return g6||(g6=1,function(r){function i(M,P){var L=M.length;M.push(P);e:for(;0<L;){var J=L-1>>>1,R=M[J];if(0<l(R,P))M[J]=P,M[L]=R,L=J;else break e}}function n(M){return M.length===0?null:M[0]}function t(M){if(M.length===0)return null;var P=M[0],L=M.pop();if(L!==P){M[0]=L;e:for(var J=0,R=M.length,I=R>>>1;J<I;){var fe=2*(J+1)-1,se=M[fe],ue=fe+1,ce=M[ue];if(0>l(se,L))ue<R&&0>l(ce,se)?(M[J]=ce,M[ue]=L,J=ue):(M[J]=se,M[fe]=L,J=fe);else if(ue<R&&0>l(ce,L))M[J]=ce,M[ue]=L,J=ue;else break e}}return P}function l(M,P){var L=M.sortIndex-P.sortIndex;return L!==0?L:M.id-P.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;r.unstable_now=function(){return s.now()}}else{var c=Date,d=c.now();r.unstable_now=function(){return c.now()-d}}var h=[],m=[],v=1,g=null,_=3,S=!1,T=!1,A=!1,C=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;function B(M){for(var P=n(m);P!==null;){if(P.callback===null)t(m);else if(P.startTime<=M)t(m),P.sortIndex=P.expirationTime,i(h,P);else break;P=n(m)}}function Q(M){if(A=!1,B(M),!T)if(n(h)!==null)T=!0,j();else{var P=n(m);P!==null&&H(Q,P.startTime-M)}}var $=!1,ne=-1,Z=5,w=-1;function E(){return!(r.unstable_now()-w<Z)}function D(){if($){var M=r.unstable_now();w=M;var P=!0;try{e:{T=!1,A&&(A=!1,N(ne),ne=-1),S=!0;var L=_;try{t:{for(B(M),g=n(h);g!==null&&!(g.expirationTime>M&&E());){var J=g.callback;if(typeof J=="function"){g.callback=null,_=g.priorityLevel;var R=J(g.expirationTime<=M);if(M=r.unstable_now(),typeof R=="function"){g.callback=R,B(M),P=!0;break t}g===n(h)&&t(h),B(M)}else t(h);g=n(h)}if(g!==null)P=!0;else{var I=n(m);I!==null&&H(Q,I.startTime-M),P=!1}}break e}finally{g=null,_=L,S=!1}P=void 0}}finally{P?k():$=!1}}}var k;if(typeof O=="function")k=function(){O(D)};else if(typeof MessageChannel<"u"){var q=new MessageChannel,z=q.port2;q.port1.onmessage=D,k=function(){z.postMessage(null)}}else k=function(){C(D,0)};function j(){$||($=!0,k())}function H(M,P){ne=C(function(){M(r.unstable_now())},P)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(M){M.callback=null},r.unstable_continueExecution=function(){T||S||(T=!0,j())},r.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Z=0<M?Math.floor(1e3/M):5},r.unstable_getCurrentPriorityLevel=function(){return _},r.unstable_getFirstCallbackNode=function(){return n(h)},r.unstable_next=function(M){switch(_){case 1:case 2:case 3:var P=3;break;default:P=_}var L=_;_=P;try{return M()}finally{_=L}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(M,P){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var L=_;_=M;try{return P()}finally{_=L}},r.unstable_scheduleCallback=function(M,P,L){var J=r.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?J+L:J):L=J,M){case 1:var R=-1;break;case 2:R=250;break;case 5:R=1073741823;break;case 4:R=1e4;break;default:R=5e3}return R=L+R,M={id:v++,callback:P,priorityLevel:M,startTime:L,expirationTime:R,sortIndex:-1},L>J?(M.sortIndex=L,i(m,M),n(h)===null&&M===n(m)&&(A?(N(ne),ne=-1):A=!0,H(Q,L-J))):(M.sortIndex=R,i(h,M),T||S||(T=!0,j())),M},r.unstable_shouldYield=E,r.unstable_wrapCallback=function(M){var P=_;return function(){var L=_;_=P;try{return M.apply(this,arguments)}finally{_=L}}}}(w1)),w1}var y6;function eE(){return y6||(y6=1,_1.exports=Jw()),_1.exports}var E1={exports:{}},Fe={};/**
 * @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 b6;function tE(){if(b6)return Fe;b6=1;var r=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 _(R){return R===null||typeof R!="object"?null:(R=g&&R[g]||R["@@iterator"],typeof R=="function"?R:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,A={};function C(R,I,fe){this.props=R,this.context=I,this.refs=A,this.updater=fe||S}C.prototype.isReactComponent={},C.prototype.setState=function(R,I){if(typeof R!="object"&&typeof R!="function"&&R!=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,R,I,"setState")},C.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function N(){}N.prototype=C.prototype;function O(R,I,fe){this.props=R,this.context=I,this.refs=A,this.updater=fe||S}var B=O.prototype=new N;B.constructor=O,T(B,C.prototype),B.isPureReactComponent=!0;var Q=Array.isArray,$={H:null,A:null,T:null,S:null},ne=Object.prototype.hasOwnProperty;function Z(R,I,fe,se,ue,ce){return fe=ce.ref,{$$typeof:r,type:R,key:I,ref:fe!==void 0?fe:null,props:ce}}function w(R,I){return Z(R.type,I,void 0,void 0,void 0,R.props)}function E(R){return typeof R=="object"&&R!==null&&R.$$typeof===r}function D(R){var I={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(fe){return I[fe]})}var k=/\/+/g;function q(R,I){return typeof R=="object"&&R!==null&&R.key!=null?D(""+R.key):I.toString(36)}function z(){}function j(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status=="string"?R.then(z,z):(R.status="pending",R.then(function(I){R.status==="pending"&&(R.status="fulfilled",R.value=I)},function(I){R.status==="pending"&&(R.status="rejected",R.reason=I)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function H(R,I,fe,se,ue){var ce=typeof R;(ce==="undefined"||ce==="boolean")&&(R=null);var pe=!1;if(R===null)pe=!0;else switch(ce){case"bigint":case"string":case"number":pe=!0;break;case"object":switch(R.$$typeof){case r:case i:pe=!0;break;case v:return pe=R._init,H(pe(R._payload),I,fe,se,ue)}}if(pe)return ue=ue(R),pe=se===""?"."+q(R,0):se,Q(ue)?(fe="",pe!=null&&(fe=pe.replace(k,"$&/")+"/"),H(ue,I,fe,"",function(Ke){return Ke})):ue!=null&&(E(ue)&&(ue=w(ue,fe+(ue.key==null||R&&R.key===ue.key?"":(""+ue.key).replace(k,"$&/")+"/")+pe)),I.push(ue)),1;pe=0;var ze=se===""?".":se+":";if(Q(R))for(var Oe=0;Oe<R.length;Oe++)se=R[Oe],ce=ze+q(se,Oe),pe+=H(se,I,fe,ce,ue);else if(Oe=_(R),typeof Oe=="function")for(R=Oe.call(R),Oe=0;!(se=R.next()).done;)se=se.value,ce=ze+q(se,Oe++),pe+=H(se,I,fe,ce,ue);else if(ce==="object"){if(typeof R.then=="function")return H(j(R),I,fe,se,ue);throw I=String(R),Error("Objects are not valid as a React child (found: "+(I==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":I)+"). If you meant to render a collection of children, use an array instead.")}return pe}function M(R,I,fe){if(R==null)return R;var se=[],ue=0;return H(R,se,"","",function(ce){return I.call(fe,ce,ue++)}),se}function P(R){if(R._status===-1){var I=R._result;I=I(),I.then(function(fe){(R._status===0||R._status===-1)&&(R._status=1,R._result=fe)},function(fe){(R._status===0||R._status===-1)&&(R._status=2,R._result=fe)}),R._status===-1&&(R._status=0,R._result=I)}if(R._status===1)return R._result.default;throw R._result}var L=typeof reportError=="function"?reportError:function(R){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var I=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof R=="object"&&R!==null&&typeof R.message=="string"?String(R.message):String(R),error:R});if(!window.dispatchEvent(I))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",R);return}console.error(R)};function J(){}return Fe.Children={map:M,forEach:function(R,I,fe){M(R,function(){I.apply(this,arguments)},fe)},count:function(R){var I=0;return M(R,function(){I++}),I},toArray:function(R){return M(R,function(I){return I})||[]},only:function(R){if(!E(R))throw Error("React.Children.only expected to receive a single React element child.");return R}},Fe.Component=C,Fe.Fragment=n,Fe.Profiler=l,Fe.PureComponent=O,Fe.StrictMode=t,Fe.Suspense=h,Fe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,Fe.act=function(){throw Error("act(...) is not supported in production builds of React.")},Fe.cache=function(R){return function(){return R.apply(null,arguments)}},Fe.cloneElement=function(R,I,fe){if(R==null)throw Error("The argument must be a React element, but you passed "+R+".");var se=T({},R.props),ue=R.key,ce=void 0;if(I!=null)for(pe in I.ref!==void 0&&(ce=void 0),I.key!==void 0&&(ue=""+I.key),I)!ne.call(I,pe)||pe==="key"||pe==="__self"||pe==="__source"||pe==="ref"&&I.ref===void 0||(se[pe]=I[pe]);var pe=arguments.length-2;if(pe===1)se.children=fe;else if(1<pe){for(var ze=Array(pe),Oe=0;Oe<pe;Oe++)ze[Oe]=arguments[Oe+2];se.children=ze}return Z(R.type,ue,void 0,void 0,ce,se)},Fe.createContext=function(R){return R={$$typeof:c,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null},R.Provider=R,R.Consumer={$$typeof:s,_context:R},R},Fe.createElement=function(R,I,fe){var se,ue={},ce=null;if(I!=null)for(se in I.key!==void 0&&(ce=""+I.key),I)ne.call(I,se)&&se!=="key"&&se!=="__self"&&se!=="__source"&&(ue[se]=I[se]);var pe=arguments.length-2;if(pe===1)ue.children=fe;else if(1<pe){for(var ze=Array(pe),Oe=0;Oe<pe;Oe++)ze[Oe]=arguments[Oe+2];ue.children=ze}if(R&&R.defaultProps)for(se in pe=R.defaultProps,pe)ue[se]===void 0&&(ue[se]=pe[se]);return Z(R,ce,void 0,void 0,null,ue)},Fe.createRef=function(){return{current:null}},Fe.forwardRef=function(R){return{$$typeof:d,render:R}},Fe.isValidElement=E,Fe.lazy=function(R){return{$$typeof:v,_payload:{_status:-1,_result:R},_init:P}},Fe.memo=function(R,I){return{$$typeof:m,type:R,compare:I===void 0?null:I}},Fe.startTransition=function(R){var I=$.T,fe={};$.T=fe;try{var se=R(),ue=$.S;ue!==null&&ue(fe,se),typeof se=="object"&&se!==null&&typeof se.then=="function"&&se.then(J,L)}catch(ce){L(ce)}finally{$.T=I}},Fe.unstable_useCacheRefresh=function(){return $.H.useCacheRefresh()},Fe.use=function(R){return $.H.use(R)},Fe.useActionState=function(R,I,fe){return $.H.useActionState(R,I,fe)},Fe.useCallback=function(R,I){return $.H.useCallback(R,I)},Fe.useContext=function(R){return $.H.useContext(R)},Fe.useDebugValue=function(){},Fe.useDeferredValue=function(R,I){return $.H.useDeferredValue(R,I)},Fe.useEffect=function(R,I){return $.H.useEffect(R,I)},Fe.useId=function(){return $.H.useId()},Fe.useImperativeHandle=function(R,I,fe){return $.H.useImperativeHandle(R,I,fe)},Fe.useInsertionEffect=function(R,I){return $.H.useInsertionEffect(R,I)},Fe.useLayoutEffect=function(R,I){return $.H.useLayoutEffect(R,I)},Fe.useMemo=function(R,I){return $.H.useMemo(R,I)},Fe.useOptimistic=function(R,I){return $.H.useOptimistic(R,I)},Fe.useReducer=function(R,I,fe){return $.H.useReducer(R,I,fe)},Fe.useRef=function(R){return $.H.useRef(R)},Fe.useState=function(R){return $.H.useState(R)},Fe.useSyncExternalStore=function(R,I,fe){return $.H.useSyncExternalStore(R,I,fe)},Fe.useTransition=function(){return $.H.useTransition()},Fe.version="19.0.0",Fe}var _6;function h2(){return _6||(_6=1,E1.exports=tE()),E1.exports}var S1={exports:{}},qn={};/**
 * @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 w6;function nE(){if(w6)return qn;w6=1;var r=h2();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=r.__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 qn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=t,qn.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)},qn.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()}},qn.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))},qn.prefetchDNS=function(h){typeof h=="string"&&t.d.D(h)},qn.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,S=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:S}):v==="script"&&t.d.X(h,{crossOrigin:g,integrity:_,fetchPriority:S,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},qn.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)},qn.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})}},qn.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)},qn.requestFormReset=function(h){t.d.r(h)},qn.unstable_batchedUpdates=function(h,m){return h(m)},qn.useFormState=function(h,m,v){return c.H.useFormState(h,m,v)},qn.useFormStatus=function(){return c.H.useHostTransitionStatus()},qn.version="19.0.0",qn}var E6;function Qb(){if(E6)return S1.exports;E6=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}return r(),S1.exports=nE(),S1.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 S6;function rE(){if(S6)return Os;S6=1;var r=eE(),i=h2(),n=Qb();function t(e){var a="https://react.dev/errors/"+e;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)a+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+a+" 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)}var s=Symbol.for("react.element"),c=Symbol.for("react.transitional.element"),d=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),_=Symbol.for("react.consumer"),S=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),B=Symbol.for("react.offscreen"),Q=Symbol.for("react.memo_cache_sentinel"),$=Symbol.iterator;function ne(e){return e===null||typeof e!="object"?null:(e=$&&e[$]||e["@@iterator"],typeof e=="function"?e:null)}var Z=Symbol.for("react.client.reference");function w(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 h:return"Fragment";case d:return"Portal";case v:return"Profiler";case m:return"StrictMode";case A:return"Suspense";case C:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case S:return(e.displayName||"Context")+".Provider";case _:return(e._context.displayName||"Context")+".Consumer";case T:var a=e.render;return e=e.displayName,e||(e=a.displayName||a.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case N:return a=e.displayName||null,a!==null?a:w(e.type)||"Memo";case O:a=e._payload,e=e._init;try{return w(e(a))}catch{}}return null}var E=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=Object.assign,k,q;function z(e){if(k===void 0)try{throw Error()}catch(o){var a=o.stack.trim().match(/\n( *(at )?)/);k=a&&a[1]||"",q=-1<o.stack.indexOf(`
    at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
`+k+e+q}var j=!1;function H(e,a){if(!e||j)return"";j=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(a){var oe=function(){throw Error()};if(Object.defineProperty(oe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(oe,[])}catch(re){var te=re}Reflect.construct(e,[],oe)}else{try{oe.call()}catch(re){te=re}e.call(oe.prototype)}}else{try{throw Error()}catch(re){te=re}(oe=e())&&typeof oe.catch=="function"&&oe.catch(function(){})}}catch(re){if(re&&te&&typeof re.stack=="string")return[re.stack,te.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var p=u.DetermineComponentFrameRoot(),b=p[0],x=p[1];if(b&&x){var U=b.split(`
`),W=x.split(`
`);for(f=u=0;u<U.length&&!U[u].includes("DetermineComponentFrameRoot");)u++;for(;f<W.length&&!W[f].includes("DetermineComponentFrameRoot");)f++;if(u===U.length||f===W.length)for(u=U.length-1,f=W.length-1;1<=u&&0<=f&&U[u]!==W[f];)f--;for(;1<=u&&0<=f;u--,f--)if(U[u]!==W[f]){if(u!==1||f!==1)do if(u--,f--,0>f||U[u]!==W[f]){var ae=`
`+U[u].replace(" at new "," at ");return e.displayName&&ae.includes("<anonymous>")&&(ae=ae.replace("<anonymous>",e.displayName)),ae}while(1<=u&&0<=f);break}}}finally{j=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?z(o):""}function M(e){switch(e.tag){case 26:case 27:case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 15:return e=H(e.type,!1),e;case 11:return e=H(e.type.render,!1),e;case 1:return e=H(e.type,!0),e;default:return""}}function P(e){try{var a="";do a+=M(e),e=e.return;while(e);return a}catch(o){return`
Error generating stack: `+o.message+`
`+o.stack}}function L(e){var a=e,o=e;if(e.alternate)for(;a.return;)a=a.return;else{e=a;do a=e,(a.flags&4098)!==0&&(o=a.return),e=a.return;while(e)}return a.tag===3?o:null}function J(e){if(e.tag===13){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function R(e){if(L(e)!==e)throw Error(t(188))}function I(e){var a=e.alternate;if(!a){if(a=L(e),a===null)throw Error(t(188));return a!==e?null:e}for(var o=e,u=a;;){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 R(f),e;if(p===u)return R(f),a;p=p.sibling}throw Error(t(188))}if(o.return!==u.return)o=f,u=p;else{for(var b=!1,x=f.child;x;){if(x===o){b=!0,o=f,u=p;break}if(x===u){b=!0,u=f,o=p;break}x=x.sibling}if(!b){for(x=p.child;x;){if(x===o){b=!0,o=p,u=f;break}if(x===u){b=!0,u=p,o=f;break}x=x.sibling}if(!b)throw Error(t(189))}}if(o.alternate!==u)throw Error(t(190))}if(o.tag!==3)throw Error(t(188));return o.stateNode.current===o?e:a}function fe(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e;for(e=e.child;e!==null;){if(a=fe(e),a!==null)return a;e=e.sibling}return null}var se=Array.isArray,ue=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ce={pending:!1,data:null,method:null,action:null},pe=[],ze=-1;function Oe(e){return{current:e}}function Ke(e){0>ze||(e.current=pe[ze],pe[ze]=null,ze--)}function He(e,a){ze++,pe[ze]=e.current,e.current=a}var et=Oe(null),xt=Oe(null),Xe=Oe(null),lt=Oe(null);function Le(e,a){switch(He(Xe,a),He(xt,e),He(et,null),e=a.nodeType,e){case 9:case 11:a=(a=a.documentElement)&&(a=a.namespaceURI)?F3(a):0;break;default:if(e=e===8?a.parentNode:a,a=e.tagName,e=e.namespaceURI)e=F3(e),a=G3(e,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}Ke(et),He(et,a)}function Zt(){Ke(et),Ke(xt),Ke(Xe)}function tn(e){e.memoizedState!==null&&He(lt,e);var a=et.current,o=G3(a,e.type);a!==o&&(He(xt,e),He(et,o))}function cn(e){xt.current===e&&(Ke(et),Ke(xt)),lt.current===e&&(Ke(lt),ws._currentValue=ce)}var tt=Object.prototype.hasOwnProperty,Hn=r.unstable_scheduleCallback,Qn=r.unstable_cancelCallback,Ue=r.unstable_shouldYield,ye=r.unstable_requestPaint,Ce=r.unstable_now,Ne=r.unstable_getCurrentPriorityLevel,nt=r.unstable_ImmediatePriority,Qt=r.unstable_UserBlockingPriority,jt=r.unstable_NormalPriority,Un=r.unstable_LowPriority,Pn=r.unstable_IdlePriority,Sn=r.log,Kn=r.unstable_setDisableYieldValue,Lt=null,Pe=null;function pn(e){if(Pe&&typeof Pe.onCommitFiberRoot=="function")try{Pe.onCommitFiberRoot(Lt,e,void 0,(e.current.flags&128)===128)}catch{}}function qt(e){if(typeof Sn=="function"&&Kn(e),Pe&&typeof Pe.setStrictMode=="function")try{Pe.setStrictMode(Lt,e)}catch{}}var Ot=Math.clz32?Math.clz32:Yn,Nr=Math.log,zn=Math.LN2;function Yn(e){return e>>>=0,e===0?32:31-(Nr(e)/zn|0)|0}var mn=128,ct=4194304;function nn(e){var a=e&42;if(a!==0)return a;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: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&4194176;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 yt(e,a){var o=e.pendingLanes;if(o===0)return 0;var u=0,f=e.suspendedLanes,p=e.pingedLanes,b=e.warmLanes;e=e.finishedLanes!==0;var x=o&134217727;return x!==0?(o=x&~f,o!==0?u=nn(o):(p&=x,p!==0?u=nn(p):e||(b=x&~b,b!==0&&(u=nn(b))))):(x=o&~f,x!==0?u=nn(x):p!==0?u=nn(p):e||(b=o&~b,b!==0&&(u=nn(b)))),u===0?0:a!==0&&a!==u&&(a&f)===0&&(f=u&-u,b=a&-a,f>=b||f===32&&(b&4194176)!==0)?a:u}function Ge(e,a){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&a)===0}function De(e,a){switch(e){case 1:case 2:case 4:case 8:return a+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+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 Ie(){var e=mn;return mn<<=1,(mn&4194176)===0&&(mn=128),e}function Kt(){var e=ct;return ct<<=1,(ct&62914560)===0&&(ct=4194304),e}function pt(e){for(var a=[],o=0;31>o;o++)a.push(e);return a}function he(e,a){e.pendingLanes|=a,a!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Me(e,a,o,u,f,p){var b=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var x=e.entanglements,U=e.expirationTimes,W=e.hiddenUpdates;for(o=b&~o;0<o;){var ae=31-Ot(o),oe=1<<ae;x[ae]=0,U[ae]=-1;var te=W[ae];if(te!==null)for(W[ae]=null,ae=0;ae<te.length;ae++){var re=te[ae];re!==null&&(re.lane&=-536870913)}o&=~oe}u!==0&&Re(e,u,0),p!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=p&~(b&~a))}function Re(e,a,o){e.pendingLanes|=a,e.suspendedLanes&=~a;var u=31-Ot(a);e.entangledLanes|=a,e.entanglements[u]=e.entanglements[u]|1073741824|o&4194218}function rt(e,a){var o=e.entangledLanes|=a;for(e=e.entanglements;o;){var u=31-Ot(o),f=1<<u;f&a|e[u]&a&&(e[u]|=a),o&=~f}}function Mt(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function vn(){var e=ue.p;return e!==0?e:(e=window.event,e===void 0?32:u6(e.type))}function gn(e,a){var o=ue.p;try{return ue.p=e,a()}finally{ue.p=o}}var vt=Math.random().toString(36).slice(2),at="__reactFiber$"+vt,be="__reactProps$"+vt,yn="__reactContainer$"+vt,At="__reactEvents$"+vt,Jr="__reactListeners$"+vt,bt="__reactHandles$"+vt,tr="__reactResources$"+vt,_e="__reactMarker$"+vt;function Y(e){delete e[at],delete e[be],delete e[At],delete e[Jr],delete e[bt]}function le(e){var a=e[at];if(a)return a;for(var o=e.parentNode;o;){if(a=o[yn]||o[at]){if(o=a.alternate,a.child!==null||o!==null&&o.child!==null)for(e=Z3(e);e!==null;){if(o=e[at])return o;e=Z3(e)}return a}e=o,o=e.parentNode}return null}function me(e){if(e=e[at]||e[yn]){var a=e.tag;if(a===5||a===6||a===13||a===26||a===27||a===3)return e}return null}function Ve(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e.stateNode;throw Error(t(33))}function ft(e){var a=e[tr];return a||(a=e[tr]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function Ye(e){e[_e]=!0}var kt=new Set,Dn={};function Tn(e,a){_t(e,a),_t(e+"Capture",a)}function _t(e,a){for(Dn[e]=a,e=0;e<a.length;e++)kt.add(a[e])}var xn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_a=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]*$"),Lo={},qo={};function Df(e){return tt.call(qo,e)?!0:tt.call(Lo,e)?!1:_a.test(e)?qo[e]=!0:(Lo[e]=!0,!1)}function Ja(e,a,o){if(Df(a))if(o===null)e.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":e.removeAttribute(a);return;case"boolean":var u=a.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){e.removeAttribute(a);return}}e.setAttribute(a,""+o)}}function ea(e,a,o){if(o===null)e.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttribute(a,""+o)}}function kn(e,a,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(a,o,""+u)}}function fn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ho(e){var a=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function uu(e){var a=Ho(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,a),u=""+e[a];if(!e.hasOwnProperty(a)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var f=o.get,p=o.set;return Object.defineProperty(e,a,{configurable:!0,get:function(){return f.call(this)},set:function(b){u=""+b,p.call(this,b)}}),Object.defineProperty(e,a,{enumerable:o.enumerable}),{getValue:function(){return u},setValue:function(b){u=""+b},stopTracking:function(){e._valueTracker=null,delete e[a]}}}}function Pi(e){e._valueTracker||(e._valueTracker=uu(e))}function Ml(e){if(!e)return!1;var a=e._valueTracker;if(!a)return!0;var o=a.getValue(),u="";return e&&(u=Ho(e)?e.checked?"true":"false":e.value),e=u,e!==o?(a.setValue(e),!0):!1}function zi(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 Al=/[\n"\\]/g;function On(e){return e.replace(Al,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function nr(e,a,o,u,f,p,b,x){e.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.type=b:e.removeAttribute("type"),a!=null?b==="number"?(a===0&&e.value===""||e.value!=a)&&(e.value=""+fn(a)):e.value!==""+fn(a)&&(e.value=""+fn(a)):b!=="submit"&&b!=="reset"||e.removeAttribute("value"),a!=null?Yi(e,b,fn(a)):o!=null?Yi(e,b,fn(o)):u!=null&&e.removeAttribute("value"),f==null&&p!=null&&(e.defaultChecked=!!p),f!=null&&(e.checked=f&&typeof f!="function"&&typeof f!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.name=""+fn(x):e.removeAttribute("name")}function wa(e,a,o,u,f,p,b,x){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(e.type=p),a!=null||o!=null){if(!(p!=="submit"&&p!=="reset"||a!=null))return;o=o!=null?""+fn(o):"",a=a!=null?""+fn(a):o,x||a===e.value||(e.value=a),e.defaultValue=a}u=u??f,u=typeof u!="function"&&typeof u!="symbol"&&!!u,e.checked=x?e.checked:!!u,e.defaultChecked=!!u,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(e.name=b)}function Yi(e,a,o){a==="number"&&zi(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function ta(e,a,o,u){if(e=e.options,a){a={};for(var f=0;f<o.length;f++)a["$"+o[f]]=!0;for(o=0;o<e.length;o++)f=a.hasOwnProperty("$"+e[o].value),e[o].selected!==f&&(e[o].selected=f),f&&u&&(e[o].defaultSelected=!0)}else{for(o=""+fn(o),a=null,f=0;f<e.length;f++){if(e[f].value===o){e[f].selected=!0,u&&(e[f].defaultSelected=!0);return}a!==null||e[f].disabled||(a=e[f])}a!==null&&(a.selected=!0)}}function cu(e,a,o){if(a!=null&&(a=""+fn(a),a!==e.value&&(e.value=a),o==null)){e.defaultValue!==a&&(e.defaultValue=a);return}e.defaultValue=o!=null?""+fn(o):""}function Bi(e,a,o,u){if(a==null){if(u!=null){if(o!=null)throw Error(t(92));if(se(u)){if(1<u.length)throw Error(t(93));u=u[0]}o=u}o==null&&(o=""),a=o}o=fn(a),e.defaultValue=o,u=e.textContent,u===o&&u!==""&&u!==null&&(e.value=u)}function kr(e,a){if(a){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=a;return}}e.textContent=a}var Tf=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 ei(e,a,o){var u=a.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?u?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="":u?e.setProperty(a,o):typeof o!="number"||o===0||Tf.has(a)?a==="float"?e.cssFloat=o:e[a]=(""+o).trim():e[a]=o+"px"}function fu(e,a,o){if(a!=null&&typeof a!="object")throw Error(t(62));if(e=e.style,o!=null){for(var u in o)!o.hasOwnProperty(u)||a!=null&&a.hasOwnProperty(u)||(u.indexOf("--")===0?e.setProperty(u,""):u==="float"?e.cssFloat="":e[u]="");for(var f in a)u=a[f],a.hasOwnProperty(f)&&o[f]!==u&&ei(e,f,u)}else for(var p in a)a.hasOwnProperty(p)&&ei(e,p,a[p])}function Uo(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 rn=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"]]),ti=/^[\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 Cl(e){return ti.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Rl=null;function ji(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ea=null,Sa=null;function du(e){var a=me(e);if(a&&(e=a.stateNode)){var o=e[be]||null;e:switch(e=a.stateNode,a.type){case"input":if(nr(e,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),a=o.name,o.type==="radio"&&a!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+On(""+a)+'"][type="radio"]'),a=0;a<o.length;a++){var u=o[a];if(u!==e&&u.form===e.form){var f=u[be]||null;if(!f)throw Error(t(90));nr(u,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(a=0;a<o.length;a++)u=o[a],u.form===e.form&&Ml(u)}break e;case"textarea":cu(e,o.value,o.defaultValue);break e;case"select":a=o.value,a!=null&&ta(e,!!o.multiple,a,!1)}}}var Xn=!1;function Ii(e,a,o){if(Xn)return e(a,o);Xn=!0;try{var u=e(a);return u}finally{if(Xn=!1,(Ea!==null||Sa!==null)&&(Wu(),Ea&&(a=Ea,e=Sa,Sa=Ea=null,du(a),e)))for(a=0;a<e.length;a++)du(e[a])}}function ni(e,a){var o=e.stateNode;if(o===null)return null;var u=o[be]||null;if(u===null)return null;o=u[a];e:switch(a){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,a,typeof o));return o}var Nl=!1;if(xn)try{var Da={};Object.defineProperty(Da,"passive",{get:function(){Nl=!0}}),window.addEventListener("test",Da,Da),window.removeEventListener("test",Da,Da)}catch{Nl=!1}var Lr=null,rr=null,Fi=null;function Po(){if(Fi)return Fi;var e,a=rr,o=a.length,u,f="value"in Lr?Lr.value:Lr.textContent,p=f.length;for(e=0;e<o&&a[e]===f[e];e++);var b=o-e;for(u=1;u<=b&&a[o-u]===f[p-u];u++);return Fi=f.slice(e,1<u?1-u:void 0)}function Gi(e){var a=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&a===13&&(e=13)):e=a,e===10&&(e=13),32<=e||e===13?e:0}function Vi(){return!0}function hu(){return!1}function ge(e){function a(o,u,f,p,b){this._reactName=o,this._targetInst=f,this.type=u,this.nativeEvent=p,this.target=b,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(o=e[x],this[x]=o?o(p):p[x]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?Vi:hu,this.isPropagationStopped=hu,this}return D(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Vi)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Vi)},persist:function(){},isPersistent:Vi}),a}var F={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},de=ge(F),Ee=D({},F,{view:0,detail:0}),Ct=ge(Ee),an,Xt,ln,Bn=D({},Ee,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Of,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!==ln&&(ln&&e.type==="mousemove"?(an=e.screenX-ln.screenX,Xt=e.screenY-ln.screenY):Xt=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:Xt}}),ri=ge(Bn),Mn=D({},Bn,{dataTransfer:0}),pu=ge(Mn),mu=D({},Ee,{relatedTarget:0}),xf=ge(mu),$8=D({},F,{animationName:0,elapsedTime:0,pseudoElement:0}),J8=ge($8),e_=D({},F,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),t_=ge(e_),n_=D({},F,{data:0}),iv=ge(n_),r_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a_={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"},i_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function l_(e){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(e):(e=i_[e])?!!a[e]:!1}function Of(){return l_}var o_=D({},Ee,{key:function(e){if(e.key){var a=r_[e.key]||e.key;if(a!=="Unidentified")return a}return e.type==="keypress"?(e=Gi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?a_[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Of,charCode:function(e){return e.type==="keypress"?Gi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Gi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),s_=ge(o_),u_=D({},Bn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),lv=ge(u_),c_=D({},Ee,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Of}),f_=ge(c_),d_=D({},F,{propertyName:0,elapsedTime:0,pseudoElement:0}),h_=ge(d_),p_=D({},Bn,{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}),m_=ge(p_),v_=D({},F,{newState:0,oldState:0}),g_=ge(v_),y_=[9,13,27,32],Mf=xn&&"CompositionEvent"in window,zo=null;xn&&"documentMode"in document&&(zo=document.documentMode);var b_=xn&&"TextEvent"in window&&!zo,ov=xn&&(!Mf||zo&&8<zo&&11>=zo),sv=" ",uv=!1;function cv(e,a){switch(e){case"keyup":return y_.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var kl=!1;function __(e,a){switch(e){case"compositionend":return fv(a);case"keypress":return a.which!==32?null:(uv=!0,sv);case"textInput":return e=a.data,e===sv&&uv?null:e;default:return null}}function w_(e,a){if(kl)return e==="compositionend"||!Mf&&cv(e,a)?(e=Po(),Fi=rr=Lr=null,kl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return ov&&a.locale!=="ko"?null:a.data;default:return null}}var E_={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 dv(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a==="input"?!!E_[e.type]:a==="textarea"}function hv(e,a,o,u){Ea?Sa?Sa.push(u):Sa=[u]:Ea=u,a=$u(a,"onChange"),0<a.length&&(o=new de("onChange","change",null,o,u),e.push({event:o,listeners:a}))}var Yo=null,Bo=null;function S_(e){z3(e,0)}function vu(e){var a=Ve(e);if(Ml(a))return e}function pv(e,a){if(e==="change")return a}var mv=!1;if(xn){var Af;if(xn){var Cf="oninput"in document;if(!Cf){var vv=document.createElement("div");vv.setAttribute("oninput","return;"),Cf=typeof vv.oninput=="function"}Af=Cf}else Af=!1;mv=Af&&(!document.documentMode||9<document.documentMode)}function gv(){Yo&&(Yo.detachEvent("onpropertychange",yv),Bo=Yo=null)}function yv(e){if(e.propertyName==="value"&&vu(Bo)){var a=[];hv(a,Bo,e,ji(e)),Ii(S_,a)}}function D_(e,a,o){e==="focusin"?(gv(),Yo=a,Bo=o,Yo.attachEvent("onpropertychange",yv)):e==="focusout"&&gv()}function T_(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return vu(Bo)}function x_(e,a){if(e==="click")return vu(a)}function O_(e,a){if(e==="input"||e==="change")return vu(a)}function M_(e,a){return e===a&&(e!==0||1/e===1/a)||e!==e&&a!==a}var ar=typeof Object.is=="function"?Object.is:M_;function jo(e,a){if(ar(e,a))return!0;if(typeof e!="object"||e===null||typeof a!="object"||a===null)return!1;var o=Object.keys(e),u=Object.keys(a);if(o.length!==u.length)return!1;for(u=0;u<o.length;u++){var f=o[u];if(!tt.call(a,f)||!ar(e[f],a[f]))return!1}return!0}function bv(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function _v(e,a){var o=bv(e);e=0;for(var u;o;){if(o.nodeType===3){if(u=e+o.textContent.length,e<=a&&u>=a)return{node:o,offset:a-e};e=u}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=bv(o)}}function wv(e,a){return e&&a?e===a?!0:e&&e.nodeType===3?!1:a&&a.nodeType===3?wv(e,a.parentNode):"contains"in e?e.contains(a):e.compareDocumentPosition?!!(e.compareDocumentPosition(a)&16):!1:!1}function Ev(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var a=zi(e.document);a instanceof e.HTMLIFrameElement;){try{var o=typeof a.contentWindow.location.href=="string"}catch{o=!1}if(o)e=a.contentWindow;else break;a=zi(e.document)}return a}function Rf(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a&&(a==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||a==="textarea"||e.contentEditable==="true")}function A_(e,a){var o=Ev(a);a=e.focusedElem;var u=e.selectionRange;if(o!==a&&a&&a.ownerDocument&&wv(a.ownerDocument.documentElement,a)){if(u!==null&&Rf(a)){if(e=u.start,o=u.end,o===void 0&&(o=e),"selectionStart"in a)a.selectionStart=e,a.selectionEnd=Math.min(o,a.value.length);else if(o=(e=a.ownerDocument||document)&&e.defaultView||window,o.getSelection){o=o.getSelection();var f=a.textContent.length,p=Math.min(u.start,f);u=u.end===void 0?p:Math.min(u.end,f),!o.extend&&p>u&&(f=u,u=p,p=f),f=_v(a,p);var b=_v(a,u);f&&b&&(o.rangeCount!==1||o.anchorNode!==f.node||o.anchorOffset!==f.offset||o.focusNode!==b.node||o.focusOffset!==b.offset)&&(e=e.createRange(),e.setStart(f.node,f.offset),o.removeAllRanges(),p>u?(o.addRange(e),o.extend(b.node,b.offset)):(e.setEnd(b.node,b.offset),o.addRange(e)))}}for(e=[],o=a;o=o.parentNode;)o.nodeType===1&&e.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<e.length;a++)o=e[a],o.element.scrollLeft=o.left,o.element.scrollTop=o.top}}var C_=xn&&"documentMode"in document&&11>=document.documentMode,Ll=null,Nf=null,Io=null,kf=!1;function Sv(e,a,o){var u=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;kf||Ll==null||Ll!==zi(u)||(u=Ll,"selectionStart"in u&&Rf(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}),Io&&jo(Io,u)||(Io=u,u=$u(Nf,"onSelect"),0<u.length&&(a=new de("onSelect","select",null,a,o),e.push({event:a,listeners:u}),a.target=Ll)))}function Wi(e,a){var o={};return o[e.toLowerCase()]=a.toLowerCase(),o["Webkit"+e]="webkit"+a,o["Moz"+e]="moz"+a,o}var ql={animationend:Wi("Animation","AnimationEnd"),animationiteration:Wi("Animation","AnimationIteration"),animationstart:Wi("Animation","AnimationStart"),transitionrun:Wi("Transition","TransitionRun"),transitionstart:Wi("Transition","TransitionStart"),transitioncancel:Wi("Transition","TransitionCancel"),transitionend:Wi("Transition","TransitionEnd")},Lf={},Dv={};xn&&(Dv=document.createElement("div").style,"AnimationEvent"in window||(delete ql.animationend.animation,delete ql.animationiteration.animation,delete ql.animationstart.animation),"TransitionEvent"in window||delete ql.transitionend.transition);function Zi(e){if(Lf[e])return Lf[e];if(!ql[e])return e;var a=ql[e],o;for(o in a)if(a.hasOwnProperty(o)&&o in Dv)return Lf[e]=a[o];return e}var Tv=Zi("animationend"),xv=Zi("animationiteration"),Ov=Zi("animationstart"),R_=Zi("transitionrun"),N_=Zi("transitionstart"),k_=Zi("transitioncancel"),Mv=Zi("transitionend"),Av=new Map,Cv="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 scrollEnd toggle touchMove waiting wheel".split(" ");function qr(e,a){Av.set(e,a),Tn(a,[e])}var pr=[],Hl=0,qf=0;function gu(){for(var e=Hl,a=qf=Hl=0;a<e;){var o=pr[a];pr[a++]=null;var u=pr[a];pr[a++]=null;var f=pr[a];pr[a++]=null;var p=pr[a];if(pr[a++]=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&&Rv(o,f,p)}}function yu(e,a,o,u){pr[Hl++]=e,pr[Hl++]=a,pr[Hl++]=o,pr[Hl++]=u,qf|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function Hf(e,a,o,u){return yu(e,a,o,u),bu(e)}function ai(e,a){return yu(e,null,null,a),bu(e)}function Rv(e,a,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;f&&a!==null&&e.tag===3&&(p=e.stateNode,f=31-Ot(o),p=p.hiddenUpdates,e=p[f],e===null?p[f]=[a]:e.push(a),a.lane=o|536870912)}function bu(e){if(50<ps)throw ps=0,jd=null,Error(t(185));for(var a=e.return;a!==null;)e=a,a=e.return;return e.tag===3?e.stateNode:null}var Ul={},Nv=new WeakMap;function mr(e,a){if(typeof e=="object"&&e!==null){var o=Nv.get(e);return o!==void 0?o:(a={value:e,source:a,stack:P(a)},Nv.set(e,a),a)}return{value:e,source:a,stack:P(a)}}var Pl=[],zl=0,_u=null,wu=0,vr=[],gr=0,Qi=null,Ta=1,xa="";function Ki(e,a){Pl[zl++]=wu,Pl[zl++]=_u,_u=e,wu=a}function kv(e,a,o){vr[gr++]=Ta,vr[gr++]=xa,vr[gr++]=Qi,Qi=e;var u=Ta;e=xa;var f=32-Ot(u)-1;u&=~(1<<f),o+=1;var p=32-Ot(a)+f;if(30<p){var b=f-f%5;p=(u&(1<<b)-1).toString(32),u>>=b,f-=b,Ta=1<<32-Ot(a)+f|o<<f|u,xa=p+e}else Ta=1<<p|o<<f|u,xa=e}function Uf(e){e.return!==null&&(Ki(e,1),kv(e,1,0))}function Pf(e){for(;e===_u;)_u=Pl[--zl],Pl[zl]=null,wu=Pl[--zl],Pl[zl]=null;for(;e===Qi;)Qi=vr[--gr],vr[gr]=null,xa=vr[--gr],vr[gr]=null,Ta=vr[--gr],vr[gr]=null}var jn=null,An=null,dt=!1,Hr=null,na=!1,zf=Error(t(519));function Xi(e){var a=Error(t(418,""));throw Vo(mr(a,e)),zf}function Lv(e){var a=e.stateNode,o=e.type,u=e.memoizedProps;switch(a[at]=e,a[be]=u,o){case"dialog":it("cancel",a),it("close",a);break;case"iframe":case"object":case"embed":it("load",a);break;case"video":case"audio":for(o=0;o<vs.length;o++)it(vs[o],a);break;case"source":it("error",a);break;case"img":case"image":case"link":it("error",a),it("load",a);break;case"details":it("toggle",a);break;case"input":it("invalid",a),wa(a,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0),Pi(a);break;case"select":it("invalid",a);break;case"textarea":it("invalid",a),Bi(a,u.value,u.defaultValue,u.children),Pi(a)}o=u.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||a.textContent===""+o||u.suppressHydrationWarning===!0||I3(a.textContent,o)?(u.popover!=null&&(it("beforetoggle",a),it("toggle",a)),u.onScroll!=null&&it("scroll",a),u.onScrollEnd!=null&&it("scrollend",a),u.onClick!=null&&(a.onclick=Ju),a=!0):a=!1,a||Xi(e)}function qv(e){for(jn=e.return;jn;)switch(jn.tag){case 3:case 27:na=!0;return;case 5:case 13:na=!1;return;default:jn=jn.return}}function Fo(e){if(e!==jn)return!1;if(!dt)return qv(e),dt=!0,!1;var a=!1,o;if((o=e.tag!==3&&e.tag!==27)&&((o=e.tag===5)&&(o=e.type,o=!(o!=="form"&&o!=="button")||i1(e.type,e.memoizedProps)),o=!o),o&&(a=!0),a&&An&&Xi(e),qv(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(t(317));e:{for(e=e.nextSibling,a=0;e;){if(e.nodeType===8)if(o=e.data,o==="/$"){if(a===0){An=Pr(e.nextSibling);break e}a--}else o!=="$"&&o!=="$!"&&o!=="$?"||a++;e=e.nextSibling}An=null}}else An=jn?Pr(e.stateNode.nextSibling):null;return!0}function Go(){An=jn=null,dt=!1}function Vo(e){Hr===null?Hr=[e]:Hr.push(e)}var Wo=Error(t(460)),Hv=Error(t(474)),Yf={then:function(){}};function Uv(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Eu(){}function Pv(e,a,o){switch(o=e[o],o===void 0?e.push(a):o!==a&&(a.then(Eu,Eu),a=o),a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,e===Wo?Error(t(483)):e;default:if(typeof a.status=="string")a.then(Eu,Eu);else{if(e=Rt,e!==null&&100<e.shellSuspendCounter)throw Error(t(482));e=a,e.status="pending",e.then(function(u){if(a.status==="pending"){var f=a;f.status="fulfilled",f.value=u}},function(u){if(a.status==="pending"){var f=a;f.status="rejected",f.reason=u}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,e===Wo?Error(t(483)):e}throw Zo=a,Wo}}var Zo=null;function zv(){if(Zo===null)throw Error(t(459));var e=Zo;return Zo=null,e}var Yl=null,Qo=0;function Su(e){var a=Qo;return Qo+=1,Yl===null&&(Yl=[]),Pv(Yl,e,a)}function Ko(e,a){a=a.props.ref,e.ref=a!==void 0?a:null}function Du(e,a){throw a.$$typeof===s?Error(t(525)):(e=Object.prototype.toString.call(a),Error(t(31,e==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":e)))}function Yv(e){var a=e._init;return a(e._payload)}function Bv(e){function a(K,V){if(e){var ee=K.deletions;ee===null?(K.deletions=[V],K.flags|=16):ee.push(V)}}function o(K,V){if(!e)return null;for(;V!==null;)a(K,V),V=V.sibling;return null}function u(K){for(var V=new Map;K!==null;)K.key!==null?V.set(K.key,K):V.set(K.index,K),K=K.sibling;return V}function f(K,V){return K=vi(K,V),K.index=0,K.sibling=null,K}function p(K,V,ee){return K.index=ee,e?(ee=K.alternate,ee!==null?(ee=ee.index,ee<V?(K.flags|=33554434,V):ee):(K.flags|=33554434,V)):(K.flags|=1048576,V)}function b(K){return e&&K.alternate===null&&(K.flags|=33554434),K}function x(K,V,ee,ie){return V===null||V.tag!==6?(V=Ld(ee,K.mode,ie),V.return=K,V):(V=f(V,ee),V.return=K,V)}function U(K,V,ee,ie){var Se=ee.type;return Se===h?ae(K,V,ee.props.children,ie,ee.key):V!==null&&(V.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===O&&Yv(Se)===V.type)?(V=f(V,ee.props),Ko(V,ee),V.return=K,V):(V=ju(ee.type,ee.key,ee.props,null,K.mode,ie),Ko(V,ee),V.return=K,V)}function W(K,V,ee,ie){return V===null||V.tag!==4||V.stateNode.containerInfo!==ee.containerInfo||V.stateNode.implementation!==ee.implementation?(V=qd(ee,K.mode,ie),V.return=K,V):(V=f(V,ee.children||[]),V.return=K,V)}function ae(K,V,ee,ie,Se){return V===null||V.tag!==7?(V=ol(ee,K.mode,ie,Se),V.return=K,V):(V=f(V,ee),V.return=K,V)}function oe(K,V,ee){if(typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint")return V=Ld(""+V,K.mode,ee),V.return=K,V;if(typeof V=="object"&&V!==null){switch(V.$$typeof){case c:return ee=ju(V.type,V.key,V.props,null,K.mode,ee),Ko(ee,V),ee.return=K,ee;case d:return V=qd(V,K.mode,ee),V.return=K,V;case O:var ie=V._init;return V=ie(V._payload),oe(K,V,ee)}if(se(V)||ne(V))return V=ol(V,K.mode,ee,null),V.return=K,V;if(typeof V.then=="function")return oe(K,Su(V),ee);if(V.$$typeof===S)return oe(K,zu(K,V),ee);Du(K,V)}return null}function te(K,V,ee,ie){var Se=V!==null?V.key:null;if(typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint")return Se!==null?null:x(K,V,""+ee,ie);if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case c:return ee.key===Se?U(K,V,ee,ie):null;case d:return ee.key===Se?W(K,V,ee,ie):null;case O:return Se=ee._init,ee=Se(ee._payload),te(K,V,ee,ie)}if(se(ee)||ne(ee))return Se!==null?null:ae(K,V,ee,ie,null);if(typeof ee.then=="function")return te(K,V,Su(ee),ie);if(ee.$$typeof===S)return te(K,V,zu(K,ee),ie);Du(K,ee)}return null}function re(K,V,ee,ie,Se){if(typeof ie=="string"&&ie!==""||typeof ie=="number"||typeof ie=="bigint")return K=K.get(ee)||null,x(V,K,""+ie,Se);if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case c:return K=K.get(ie.key===null?ee:ie.key)||null,U(V,K,ie,Se);case d:return K=K.get(ie.key===null?ee:ie.key)||null,W(V,K,ie,Se);case O:var Ze=ie._init;return ie=Ze(ie._payload),re(K,V,ee,ie,Se)}if(se(ie)||ne(ie))return K=K.get(ee)||null,ae(V,K,ie,Se,null);if(typeof ie.then=="function")return re(K,V,ee,Su(ie),Se);if(ie.$$typeof===S)return re(K,V,ee,zu(V,ie),Se);Du(V,ie)}return null}function xe(K,V,ee,ie){for(var Se=null,Ze=null,Ae=V,ke=V=0,wn=null;Ae!==null&&ke<ee.length;ke++){Ae.index>ke?(wn=Ae,Ae=null):wn=Ae.sibling;var ht=te(K,Ae,ee[ke],ie);if(ht===null){Ae===null&&(Ae=wn);break}e&&Ae&&ht.alternate===null&&a(K,Ae),V=p(ht,V,ke),Ze===null?Se=ht:Ze.sibling=ht,Ze=ht,Ae=wn}if(ke===ee.length)return o(K,Ae),dt&&Ki(K,ke),Se;if(Ae===null){for(;ke<ee.length;ke++)Ae=oe(K,ee[ke],ie),Ae!==null&&(V=p(Ae,V,ke),Ze===null?Se=Ae:Ze.sibling=Ae,Ze=Ae);return dt&&Ki(K,ke),Se}for(Ae=u(Ae);ke<ee.length;ke++)wn=re(Ae,K,ke,ee[ke],ie),wn!==null&&(e&&wn.alternate!==null&&Ae.delete(wn.key===null?ke:wn.key),V=p(wn,V,ke),Ze===null?Se=wn:Ze.sibling=wn,Ze=wn);return e&&Ae.forEach(function(Si){return a(K,Si)}),dt&&Ki(K,ke),Se}function Be(K,V,ee,ie){if(ee==null)throw Error(t(151));for(var Se=null,Ze=null,Ae=V,ke=V=0,wn=null,ht=ee.next();Ae!==null&&!ht.done;ke++,ht=ee.next()){Ae.index>ke?(wn=Ae,Ae=null):wn=Ae.sibling;var Si=te(K,Ae,ht.value,ie);if(Si===null){Ae===null&&(Ae=wn);break}e&&Ae&&Si.alternate===null&&a(K,Ae),V=p(Si,V,ke),Ze===null?Se=Si:Ze.sibling=Si,Ze=Si,Ae=wn}if(ht.done)return o(K,Ae),dt&&Ki(K,ke),Se;if(Ae===null){for(;!ht.done;ke++,ht=ee.next())ht=oe(K,ht.value,ie),ht!==null&&(V=p(ht,V,ke),Ze===null?Se=ht:Ze.sibling=ht,Ze=ht);return dt&&Ki(K,ke),Se}for(Ae=u(Ae);!ht.done;ke++,ht=ee.next())ht=re(Ae,K,ke,ht.value,ie),ht!==null&&(e&&ht.alternate!==null&&Ae.delete(ht.key===null?ke:ht.key),V=p(ht,V,ke),Ze===null?Se=ht:Ze.sibling=ht,Ze=ht);return e&&Ae.forEach(function(Ww){return a(K,Ww)}),dt&&Ki(K,ke),Se}function Gt(K,V,ee,ie){if(typeof ee=="object"&&ee!==null&&ee.type===h&&ee.key===null&&(ee=ee.props.children),typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case c:e:{for(var Se=ee.key;V!==null;){if(V.key===Se){if(Se=ee.type,Se===h){if(V.tag===7){o(K,V.sibling),ie=f(V,ee.props.children),ie.return=K,K=ie;break e}}else if(V.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===O&&Yv(Se)===V.type){o(K,V.sibling),ie=f(V,ee.props),Ko(ie,ee),ie.return=K,K=ie;break e}o(K,V);break}else a(K,V);V=V.sibling}ee.type===h?(ie=ol(ee.props.children,K.mode,ie,ee.key),ie.return=K,K=ie):(ie=ju(ee.type,ee.key,ee.props,null,K.mode,ie),Ko(ie,ee),ie.return=K,K=ie)}return b(K);case d:e:{for(Se=ee.key;V!==null;){if(V.key===Se)if(V.tag===4&&V.stateNode.containerInfo===ee.containerInfo&&V.stateNode.implementation===ee.implementation){o(K,V.sibling),ie=f(V,ee.children||[]),ie.return=K,K=ie;break e}else{o(K,V);break}else a(K,V);V=V.sibling}ie=qd(ee,K.mode,ie),ie.return=K,K=ie}return b(K);case O:return Se=ee._init,ee=Se(ee._payload),Gt(K,V,ee,ie)}if(se(ee))return xe(K,V,ee,ie);if(ne(ee)){if(Se=ne(ee),typeof Se!="function")throw Error(t(150));return ee=Se.call(ee),Be(K,V,ee,ie)}if(typeof ee.then=="function")return Gt(K,V,Su(ee),ie);if(ee.$$typeof===S)return Gt(K,V,zu(K,ee),ie);Du(K,ee)}return typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint"?(ee=""+ee,V!==null&&V.tag===6?(o(K,V.sibling),ie=f(V,ee),ie.return=K,K=ie):(o(K,V),ie=Ld(ee,K.mode,ie),ie.return=K,K=ie),b(K)):o(K,V)}return function(K,V,ee,ie){try{Qo=0;var Se=Gt(K,V,ee,ie);return Yl=null,Se}catch(Ae){if(Ae===Wo)throw Ae;var Ze=wr(29,Ae,null,K.mode);return Ze.lanes=ie,Ze.return=K,Ze}finally{}}}var $i=Bv(!0),jv=Bv(!1),Bl=Oe(null),Tu=Oe(0);function Iv(e,a){e=Ua,He(Tu,e),He(Bl,a),Ua=e|a.baseLanes}function Bf(){He(Tu,Ua),He(Bl,Bl.current)}function jf(){Ua=Tu.current,Ke(Bl),Ke(Tu)}var yr=Oe(null),ra=null;function ii(e){var a=e.alternate;He(dn,dn.current&1),He(yr,e),ra===null&&(a===null||Bl.current!==null||a.memoizedState!==null)&&(ra=e)}function Fv(e){if(e.tag===22){if(He(dn,dn.current),He(yr,e),ra===null){var a=e.alternate;a!==null&&a.memoizedState!==null&&(ra=e)}}else li()}function li(){He(dn,dn.current),He(yr,yr.current)}function Oa(e){Ke(yr),ra===e&&(ra=null),Ke(dn)}var dn=Oe(0);function xu(e){for(var a=e;a!==null;){if(a.tag===13){var o=a.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var L_=typeof AbortController<"u"?AbortController:function(){var e=[],a=this.signal={aborted:!1,addEventListener:function(o,u){e.push(u)}};this.abort=function(){a.aborted=!0,e.forEach(function(o){return o()})}},q_=r.unstable_scheduleCallback,H_=r.unstable_NormalPriority,hn={$$typeof:S,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function If(){return{controller:new L_,data:new Map,refCount:0}}function Xo(e){e.refCount--,e.refCount===0&&q_(H_,function(){e.controller.abort()})}var $o=null,Ff=0,jl=0,Il=null;function U_(e,a){if($o===null){var o=$o=[];Ff=0,jl=Kd(),Il={status:"pending",value:void 0,then:function(u){o.push(u)}}}return Ff++,a.then(Gv,Gv),a}function Gv(){if(--Ff===0&&$o!==null){Il!==null&&(Il.status="fulfilled");var e=$o;$o=null,jl=0,Il=null;for(var a=0;a<e.length;a++)(0,e[a])()}}function P_(e,a){var o=[],u={status:"pending",value:null,reason:null,then:function(f){o.push(f)}};return e.then(function(){u.status="fulfilled",u.value=a;for(var f=0;f<o.length;f++)(0,o[f])(a)},function(f){for(u.status="rejected",u.reason=f,f=0;f<o.length;f++)(0,o[f])(void 0)}),u}var Vv=E.S;E.S=function(e,a){typeof a=="object"&&a!==null&&typeof a.then=="function"&&U_(e,a),Vv!==null&&Vv(e,a)};var Ji=Oe(null);function Gf(){var e=Ji.current;return e!==null?e:Rt.pooledCache}function Ou(e,a){a===null?He(Ji,Ji.current):He(Ji,a.pool)}function Wv(){var e=Gf();return e===null?null:{parent:hn._currentValue,pool:e}}var oi=0,We=null,St=null,on=null,Mu=!1,Fl=!1,el=!1,Au=0,Jo=0,Gl=null,z_=0;function $t(){throw Error(t(321))}function Vf(e,a){if(a===null)return!1;for(var o=0;o<a.length&&o<e.length;o++)if(!ar(e[o],a[o]))return!1;return!0}function Wf(e,a,o,u,f,p){return oi=p,We=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,E.H=e===null||e.memoizedState===null?tl:si,el=!1,p=o(u,f),el=!1,Fl&&(p=Qv(a,o,u,f)),Zv(e),p}function Zv(e){E.H=aa;var a=St!==null&&St.next!==null;if(oi=0,on=St=We=null,Mu=!1,Jo=0,Gl=null,a)throw Error(t(300));e===null||bn||(e=e.dependencies,e!==null&&Pu(e)&&(bn=!0))}function Qv(e,a,o,u){We=e;var f=0;do{if(Fl&&(Gl=null),Jo=0,Fl=!1,25<=f)throw Error(t(301));if(f+=1,on=St=null,e.updateQueue!=null){var p=e.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}E.H=nl,p=a(o,u)}while(Fl);return p}function Y_(){var e=E.H,a=e.useState()[0];return a=typeof a.then=="function"?es(a):a,e=e.useState()[0],(St!==null?St.memoizedState:null)!==e&&(We.flags|=1024),a}function Zf(){var e=Au!==0;return Au=0,e}function Qf(e,a,o){a.updateQueue=e.updateQueue,a.flags&=-2053,e.lanes&=~o}function Kf(e){if(Mu){for(e=e.memoizedState;e!==null;){var a=e.queue;a!==null&&(a.pending=null),e=e.next}Mu=!1}oi=0,on=St=We=null,Fl=!1,Jo=Au=0,Gl=null}function $n(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return on===null?We.memoizedState=on=e:on=on.next=e,on}function sn(){if(St===null){var e=We.alternate;e=e!==null?e.memoizedState:null}else e=St.next;var a=on===null?We.memoizedState:on.next;if(a!==null)on=a,St=e;else{if(e===null)throw We.alternate===null?Error(t(467)):Error(t(310));St=e,e={memoizedState:St.memoizedState,baseState:St.baseState,baseQueue:St.baseQueue,queue:St.queue,next:null},on===null?We.memoizedState=on=e:on=on.next=e}return on}var Cu;Cu=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function es(e){var a=Jo;return Jo+=1,Gl===null&&(Gl=[]),e=Pv(Gl,e,a),a=We,(on===null?a.memoizedState:on.next)===null&&(a=a.alternate,E.H=a===null||a.memoizedState===null?tl:si),e}function Ru(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return es(e);if(e.$$typeof===S)return Ln(e)}throw Error(t(438,String(e)))}function Xf(e){var a=null,o=We.updateQueue;if(o!==null&&(a=o.memoCache),a==null){var u=We.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(a={data:u.data.map(function(f){return f.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),o===null&&(o=Cu(),We.updateQueue=o),o.memoCache=a,o=a.data[a.index],o===void 0)for(o=a.data[a.index]=Array(e),u=0;u<e;u++)o[u]=Q;return a.index++,o}function Ma(e,a){return typeof a=="function"?a(e):a}function Nu(e){var a=sn();return $f(a,St,e)}function $f(e,a,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}a.baseQueue=f=p,u.pending=null}if(p=e.baseState,f===null)e.memoizedState=p;else{a=f.next;var x=b=null,U=null,W=a,ae=!1;do{var oe=W.lane&-536870913;if(oe!==W.lane?(ot&oe)===oe:(oi&oe)===oe){var te=W.revertLane;if(te===0)U!==null&&(U=U.next={lane:0,revertLane:0,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null}),oe===jl&&(ae=!0);else if((oi&te)===te){W=W.next,te===jl&&(ae=!0);continue}else oe={lane:0,revertLane:W.revertLane,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null},U===null?(x=U=oe,b=p):U=U.next=oe,We.lanes|=te,gi|=te;oe=W.action,el&&o(p,oe),p=W.hasEagerState?W.eagerState:o(p,oe)}else te={lane:oe,revertLane:W.revertLane,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null},U===null?(x=U=te,b=p):U=U.next=te,We.lanes|=oe,gi|=oe;W=W.next}while(W!==null&&W!==a);if(U===null?b=p:U.next=x,!ar(p,e.memoizedState)&&(bn=!0,ae&&(o=Il,o!==null)))throw o;e.memoizedState=p,e.baseState=b,e.baseQueue=U,u.lastRenderedState=p}return f===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function Jf(e){var a=sn(),o=a.queue;if(o===null)throw Error(t(311));o.lastRenderedReducer=e;var u=o.dispatch,f=o.pending,p=a.memoizedState;if(f!==null){o.pending=null;var b=f=f.next;do p=e(p,b.action),b=b.next;while(b!==f);ar(p,a.memoizedState)||(bn=!0),a.memoizedState=p,a.baseQueue===null&&(a.baseState=p),o.lastRenderedState=p}return[p,u]}function Kv(e,a,o){var u=We,f=sn(),p=dt;if(p){if(o===void 0)throw Error(t(407));o=o()}else o=a();var b=!ar((St||f).memoizedState,o);if(b&&(f.memoizedState=o,bn=!0),f=f.queue,nd(Jv.bind(null,u,f,e),[e]),f.getSnapshot!==a||b||on!==null&&on.memoizedState.tag&1){if(u.flags|=2048,Vl(9,$v.bind(null,u,f,o,a),{destroy:void 0},null),Rt===null)throw Error(t(349));p||(oi&60)!==0||Xv(u,a,o)}return o}function Xv(e,a,o){e.flags|=16384,e={getSnapshot:a,value:o},a=We.updateQueue,a===null?(a=Cu(),We.updateQueue=a,a.stores=[e]):(o=a.stores,o===null?a.stores=[e]:o.push(e))}function $v(e,a,o,u){a.value=o,a.getSnapshot=u,eg(a)&&tg(e)}function Jv(e,a,o){return o(function(){eg(a)&&tg(e)})}function eg(e){var a=e.getSnapshot;e=e.value;try{var o=a();return!ar(e,o)}catch{return!0}}function tg(e){var a=ai(e,2);a!==null&&In(a,e,2)}function ed(e){var a=$n();if(typeof e=="function"){var o=e;if(e=o(),el){qt(!0);try{o()}finally{qt(!1)}}}return a.memoizedState=a.baseState=e,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:e},a}function ng(e,a,o,u){return e.baseState=o,$f(e,St,typeof u=="function"?u:Ma)}function B_(e,a,o,u,f){if(qu(e))throw Error(t(485));if(e=a.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)}};E.T!==null?o(!0):p.isTransition=!1,u(p),o=a.pending,o===null?(p.next=a.pending=p,rg(a,p)):(p.next=o.next,a.pending=o.next=p)}}function rg(e,a){var o=a.action,u=a.payload,f=e.state;if(a.isTransition){var p=E.T,b={};E.T=b;try{var x=o(f,u),U=E.S;U!==null&&U(b,x),ag(e,a,x)}catch(W){td(e,a,W)}finally{E.T=p}}else try{p=o(f,u),ag(e,a,p)}catch(W){td(e,a,W)}}function ag(e,a,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(u){ig(e,a,u)},function(u){return td(e,a,u)}):ig(e,a,o)}function ig(e,a,o){a.status="fulfilled",a.value=o,lg(a),e.state=o,a=e.pending,a!==null&&(o=a.next,o===a?e.pending=null:(o=o.next,a.next=o,rg(e,o)))}function td(e,a,o){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do a.status="rejected",a.reason=o,lg(a),a=a.next;while(a!==u)}e.action=null}function lg(e){e=e.listeners;for(var a=0;a<e.length;a++)(0,e[a])()}function og(e,a){return a}function sg(e,a){if(dt){var o=Rt.formState;if(o!==null){e:{var u=We;if(dt){if(An){t:{for(var f=An,p=na;f.nodeType!==8;){if(!p){f=null;break t}if(f=Pr(f.nextSibling),f===null){f=null;break t}}p=f.data,f=p==="F!"||p==="F"?f:null}if(f){An=Pr(f.nextSibling),u=f.data==="F!";break e}}Xi(u)}u=!1}u&&(a=o[0])}}return o=$n(),o.memoizedState=o.baseState=a,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:og,lastRenderedState:a},o.queue=u,o=xg.bind(null,We,u),u.dispatch=o,u=ed(!1),p=od.bind(null,We,!1,u.queue),u=$n(),f={state:a,dispatch:null,action:e,pending:null},u.queue=f,o=B_.bind(null,We,f,p,o),f.dispatch=o,u.memoizedState=e,[a,o,!1]}function ug(e){var a=sn();return cg(a,St,e)}function cg(e,a,o){a=$f(e,a,og)[0],e=Nu(Ma)[0],a=typeof a=="object"&&a!==null&&typeof a.then=="function"?es(a):a;var u=sn(),f=u.queue,p=f.dispatch;return o!==u.memoizedState&&(We.flags|=2048,Vl(9,j_.bind(null,f,o),{destroy:void 0},null)),[a,p,e]}function j_(e,a){e.action=a}function fg(e){var a=sn(),o=St;if(o!==null)return cg(a,o,e);sn(),a=a.memoizedState,o=sn();var u=o.queue.dispatch;return o.memoizedState=e,[a,u,!1]}function Vl(e,a,o,u){return e={tag:e,create:a,inst:o,deps:u,next:null},a=We.updateQueue,a===null&&(a=Cu(),We.updateQueue=a),o=a.lastEffect,o===null?a.lastEffect=e.next=e:(u=o.next,o.next=e,e.next=u,a.lastEffect=e),e}function dg(){return sn().memoizedState}function ku(e,a,o,u){var f=$n();We.flags|=e,f.memoizedState=Vl(1|a,o,{destroy:void 0},u===void 0?null:u)}function Lu(e,a,o,u){var f=sn();u=u===void 0?null:u;var p=f.memoizedState.inst;St!==null&&u!==null&&Vf(u,St.memoizedState.deps)?f.memoizedState=Vl(a,o,p,u):(We.flags|=e,f.memoizedState=Vl(1|a,o,p,u))}function hg(e,a){ku(8390656,8,e,a)}function nd(e,a){Lu(2048,8,e,a)}function pg(e,a){return Lu(4,2,e,a)}function mg(e,a){return Lu(4,4,e,a)}function vg(e,a){if(typeof a=="function"){e=e();var o=a(e);return function(){typeof o=="function"?o():a(null)}}if(a!=null)return e=e(),a.current=e,function(){a.current=null}}function gg(e,a,o){o=o!=null?o.concat([e]):null,Lu(4,4,vg.bind(null,a,e),o)}function rd(){}function yg(e,a){var o=sn();a=a===void 0?null:a;var u=o.memoizedState;return a!==null&&Vf(a,u[1])?u[0]:(o.memoizedState=[e,a],e)}function bg(e,a){var o=sn();a=a===void 0?null:a;var u=o.memoizedState;if(a!==null&&Vf(a,u[1]))return u[0];if(u=e(),el){qt(!0);try{e()}finally{qt(!1)}}return o.memoizedState=[u,a],u}function ad(e,a,o){return o===void 0||(oi&1073741824)!==0?e.memoizedState=a:(e.memoizedState=o,e=w3(),We.lanes|=e,gi|=e,o)}function _g(e,a,o,u){return ar(o,a)?o:Bl.current!==null?(e=ad(e,o,u),ar(e,a)||(bn=!0),e):(oi&42)===0?(bn=!0,e.memoizedState=o):(e=w3(),We.lanes|=e,gi|=e,a)}function wg(e,a,o,u,f){var p=ue.p;ue.p=p!==0&&8>p?p:8;var b=E.T,x={};E.T=x,od(e,!1,a,o);try{var U=f(),W=E.S;if(W!==null&&W(x,U),U!==null&&typeof U=="object"&&typeof U.then=="function"){var ae=P_(U,u);ts(e,a,ae,sr(e))}else ts(e,a,u,sr(e))}catch(oe){ts(e,a,{then:function(){},status:"rejected",reason:oe},sr())}finally{ue.p=p,E.T=b}}function I_(){}function id(e,a,o,u){if(e.tag!==5)throw Error(t(476));var f=Eg(e).queue;wg(e,f,a,ce,o===null?I_:function(){return Sg(e),o(u)})}function Eg(e){var a=e.memoizedState;if(a!==null)return a;a={memoizedState:ce,baseState:ce,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:ce},next:null};var o={};return a.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:o},next:null},e.memoizedState=a,e=e.alternate,e!==null&&(e.memoizedState=a),a}function Sg(e){var a=Eg(e).next.queue;ts(e,a,{},sr())}function ld(){return Ln(ws)}function Dg(){return sn().memoizedState}function Tg(){return sn().memoizedState}function F_(e){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var o=sr();e=fi(o);var u=di(a,e,o);u!==null&&(In(u,a,o),as(u,a,o)),a={cache:If()},e.payload=a;return}a=a.return}}function G_(e,a,o){var u=sr();o={lane:u,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null},qu(e)?Og(a,o):(o=Hf(e,a,o,u),o!==null&&(In(o,e,u),Mg(o,a,u)))}function xg(e,a,o){var u=sr();ts(e,a,o,u)}function ts(e,a,o,u){var f={lane:u,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null};if(qu(e))Og(a,f);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=a.lastRenderedReducer,p!==null))try{var b=a.lastRenderedState,x=p(b,o);if(f.hasEagerState=!0,f.eagerState=x,ar(x,b))return yu(e,a,f,0),Rt===null&&gu(),!1}catch{}finally{}if(o=Hf(e,a,f,u),o!==null)return In(o,e,u),Mg(o,a,u),!0}return!1}function od(e,a,o,u){if(u={lane:2,revertLane:Kd(),action:u,hasEagerState:!1,eagerState:null,next:null},qu(e)){if(a)throw Error(t(479))}else a=Hf(e,o,u,2),a!==null&&In(a,e,2)}function qu(e){var a=e.alternate;return e===We||a!==null&&a===We}function Og(e,a){Fl=Mu=!0;var o=e.pending;o===null?a.next=a:(a.next=o.next,o.next=a),e.pending=a}function Mg(e,a,o){if((o&4194176)!==0){var u=a.lanes;u&=e.pendingLanes,o|=u,a.lanes=o,rt(e,o)}}var aa={readContext:Ln,use:Ru,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};aa.useCacheRefresh=$t,aa.useMemoCache=$t,aa.useHostTransitionStatus=$t,aa.useFormState=$t,aa.useActionState=$t,aa.useOptimistic=$t;var tl={readContext:Ln,use:Ru,useCallback:function(e,a){return $n().memoizedState=[e,a===void 0?null:a],e},useContext:Ln,useEffect:hg,useImperativeHandle:function(e,a,o){o=o!=null?o.concat([e]):null,ku(4194308,4,vg.bind(null,a,e),o)},useLayoutEffect:function(e,a){return ku(4194308,4,e,a)},useInsertionEffect:function(e,a){ku(4,2,e,a)},useMemo:function(e,a){var o=$n();a=a===void 0?null:a;var u=e();if(el){qt(!0);try{e()}finally{qt(!1)}}return o.memoizedState=[u,a],u},useReducer:function(e,a,o){var u=$n();if(o!==void 0){var f=o(a);if(el){qt(!0);try{o(a)}finally{qt(!1)}}}else f=a;return u.memoizedState=u.baseState=f,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:f},u.queue=e,e=e.dispatch=G_.bind(null,We,e),[u.memoizedState,e]},useRef:function(e){var a=$n();return e={current:e},a.memoizedState=e},useState:function(e){e=ed(e);var a=e.queue,o=xg.bind(null,We,a);return a.dispatch=o,[e.memoizedState,o]},useDebugValue:rd,useDeferredValue:function(e,a){var o=$n();return ad(o,e,a)},useTransition:function(){var e=ed(!1);return e=wg.bind(null,We,e.queue,!0,!1),$n().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,a,o){var u=We,f=$n();if(dt){if(o===void 0)throw Error(t(407));o=o()}else{if(o=a(),Rt===null)throw Error(t(349));(ot&60)!==0||Xv(u,a,o)}f.memoizedState=o;var p={value:o,getSnapshot:a};return f.queue=p,hg(Jv.bind(null,u,p,e),[e]),u.flags|=2048,Vl(9,$v.bind(null,u,p,o,a),{destroy:void 0},null),o},useId:function(){var e=$n(),a=Rt.identifierPrefix;if(dt){var o=xa,u=Ta;o=(u&~(1<<32-Ot(u)-1)).toString(32)+o,a=":"+a+"R"+o,o=Au++,0<o&&(a+="H"+o.toString(32)),a+=":"}else o=z_++,a=":"+a+"r"+o.toString(32)+":";return e.memoizedState=a},useCacheRefresh:function(){return $n().memoizedState=F_.bind(null,We)}};tl.useMemoCache=Xf,tl.useHostTransitionStatus=ld,tl.useFormState=sg,tl.useActionState=sg,tl.useOptimistic=function(e){var a=$n();a.memoizedState=a.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=o,a=od.bind(null,We,!0,o),o.dispatch=a,[e,a]};var si={readContext:Ln,use:Ru,useCallback:yg,useContext:Ln,useEffect:nd,useImperativeHandle:gg,useInsertionEffect:pg,useLayoutEffect:mg,useMemo:bg,useReducer:Nu,useRef:dg,useState:function(){return Nu(Ma)},useDebugValue:rd,useDeferredValue:function(e,a){var o=sn();return _g(o,St.memoizedState,e,a)},useTransition:function(){var e=Nu(Ma)[0],a=sn().memoizedState;return[typeof e=="boolean"?e:es(e),a]},useSyncExternalStore:Kv,useId:Dg};si.useCacheRefresh=Tg,si.useMemoCache=Xf,si.useHostTransitionStatus=ld,si.useFormState=ug,si.useActionState=ug,si.useOptimistic=function(e,a){var o=sn();return ng(o,St,e,a)};var nl={readContext:Ln,use:Ru,useCallback:yg,useContext:Ln,useEffect:nd,useImperativeHandle:gg,useInsertionEffect:pg,useLayoutEffect:mg,useMemo:bg,useReducer:Jf,useRef:dg,useState:function(){return Jf(Ma)},useDebugValue:rd,useDeferredValue:function(e,a){var o=sn();return St===null?ad(o,e,a):_g(o,St.memoizedState,e,a)},useTransition:function(){var e=Jf(Ma)[0],a=sn().memoizedState;return[typeof e=="boolean"?e:es(e),a]},useSyncExternalStore:Kv,useId:Dg};nl.useCacheRefresh=Tg,nl.useMemoCache=Xf,nl.useHostTransitionStatus=ld,nl.useFormState=fg,nl.useActionState=fg,nl.useOptimistic=function(e,a){var o=sn();return St!==null?ng(o,St,e,a):(o.baseState=e,[e,o.queue.dispatch])};function sd(e,a,o,u){a=e.memoizedState,o=o(u,a),o=o==null?a:D({},a,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var ud={isMounted:function(e){return(e=e._reactInternals)?L(e)===e:!1},enqueueSetState:function(e,a,o){e=e._reactInternals;var u=sr(),f=fi(u);f.payload=a,o!=null&&(f.callback=o),a=di(e,f,u),a!==null&&(In(a,e,u),as(a,e,u))},enqueueReplaceState:function(e,a,o){e=e._reactInternals;var u=sr(),f=fi(u);f.tag=1,f.payload=a,o!=null&&(f.callback=o),a=di(e,f,u),a!==null&&(In(a,e,u),as(a,e,u))},enqueueForceUpdate:function(e,a){e=e._reactInternals;var o=sr(),u=fi(o);u.tag=2,a!=null&&(u.callback=a),a=di(e,u,o),a!==null&&(In(a,e,o),as(a,e,o))}};function Ag(e,a,o,u,f,p,b){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(u,p,b):a.prototype&&a.prototype.isPureReactComponent?!jo(o,u)||!jo(f,p):!0}function Cg(e,a,o,u){e=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(o,u),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(o,u),a.state!==e&&ud.enqueueReplaceState(a,a.state,null)}function rl(e,a){var o=a;if("ref"in a){o={};for(var u in a)u!=="ref"&&(o[u]=a[u])}if(e=e.defaultProps){o===a&&(o=D({},o));for(var f in e)o[f]===void 0&&(o[f]=e[f])}return o}var Hu=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=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(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Rg(e){Hu(e)}function Ng(e){console.error(e)}function kg(e){Hu(e)}function Uu(e,a){try{var o=e.onUncaughtError;o(a.value,{componentStack:a.stack})}catch(u){setTimeout(function(){throw u})}}function Lg(e,a,o){try{var u=e.onCaughtError;u(o.value,{componentStack:o.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function cd(e,a,o){return o=fi(o),o.tag=3,o.payload={element:null},o.callback=function(){Uu(e,a)},o}function qg(e){return e=fi(e),e.tag=3,e}function Hg(e,a,o,u){var f=o.type.getDerivedStateFromError;if(typeof f=="function"){var p=u.value;e.payload=function(){return f(p)},e.callback=function(){Lg(a,o,u)}}var b=o.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(e.callback=function(){Lg(a,o,u),typeof f!="function"&&(yi===null?yi=new Set([this]):yi.add(this));var x=u.stack;this.componentDidCatch(u.value,{componentStack:x!==null?x:""})})}function V_(e,a,o,u,f){if(o.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(a=o.alternate,a!==null&&rs(a,o,f,!0),o=yr.current,o!==null){switch(o.tag){case 13:return ra===null?Gd():o.alternate===null&&Ft===0&&(Ft=3),o.flags&=-257,o.flags|=65536,o.lanes=f,u===Yf?o.flags|=16384:(a=o.updateQueue,a===null?o.updateQueue=new Set([u]):a.add(u),Wd(e,u,f)),!1;case 22:return o.flags|=65536,u===Yf?o.flags|=16384:(a=o.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([u])},o.updateQueue=a):(o=a.retryQueue,o===null?a.retryQueue=new Set([u]):o.add(u)),Wd(e,u,f)),!1}throw Error(t(435,o.tag))}return Wd(e,u,f),Gd(),!1}if(dt)return a=yr.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=f,u!==zf&&(e=Error(t(422),{cause:u}),Vo(mr(e,o)))):(u!==zf&&(a=Error(t(423),{cause:u}),Vo(mr(a,o))),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,u=mr(u,o),f=cd(e.stateNode,u,f),Td(e,f),Ft!==4&&(Ft=2)),!1;var p=Error(t(520),{cause:u});if(p=mr(p,o),ds===null?ds=[p]:ds.push(p),Ft!==4&&(Ft=2),a===null)return!0;u=mr(u,o),o=a;do{switch(o.tag){case 3:return o.flags|=65536,e=f&-f,o.lanes|=e,e=cd(o.stateNode,u,e),Td(o,e),!1;case 1:if(a=o.type,p=o.stateNode,(o.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(yi===null||!yi.has(p))))return o.flags|=65536,f&=-f,o.lanes|=f,f=qg(f),Hg(f,e,o,u),Td(o,f),!1}o=o.return}while(o!==null);return!1}var Ug=Error(t(461)),bn=!1;function Cn(e,a,o,u){a.child=e===null?jv(a,null,o,u):$i(a,e.child,o,u)}function Pg(e,a,o,u,f){o=o.render;var p=a.ref;if("ref"in u){var b={};for(var x in u)x!=="ref"&&(b[x]=u[x])}else b=u;return il(a),u=Wf(e,a,o,b,p,f),x=Zf(),e!==null&&!bn?(Qf(e,a,f),Aa(e,a,f)):(dt&&x&&Uf(a),a.flags|=1,Cn(e,a,u,f),a.child)}function zg(e,a,o,u,f){if(e===null){var p=o.type;return typeof p=="function"&&!kd(p)&&p.defaultProps===void 0&&o.compare===null?(a.tag=15,a.type=p,Yg(e,a,p,u,f)):(e=ju(o.type,null,u,a,a.mode,f),e.ref=a.ref,e.return=a,a.child=e)}if(p=e.child,!bd(e,f)){var b=p.memoizedProps;if(o=o.compare,o=o!==null?o:jo,o(b,u)&&e.ref===a.ref)return Aa(e,a,f)}return a.flags|=1,e=vi(p,u),e.ref=a.ref,e.return=a,a.child=e}function Yg(e,a,o,u,f){if(e!==null){var p=e.memoizedProps;if(jo(p,u)&&e.ref===a.ref)if(bn=!1,a.pendingProps=u=p,bd(e,f))(e.flags&131072)!==0&&(bn=!0);else return a.lanes=e.lanes,Aa(e,a,f)}return fd(e,a,o,u,f)}function Bg(e,a,o){var u=a.pendingProps,f=u.children,p=(a.stateNode._pendingVisibility&2)!==0,b=e!==null?e.memoizedState:null;if(ns(e,a),u.mode==="hidden"||p){if((a.flags&128)!==0){if(u=b!==null?b.baseLanes|o:o,e!==null){for(f=a.child=e.child,p=0;f!==null;)p=p|f.lanes|f.childLanes,f=f.sibling;a.childLanes=p&~u}else a.childLanes=0,a.child=null;return jg(e,a,u,o)}if((o&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ou(a,b!==null?b.cachePool:null),b!==null?Iv(a,b):Bf(),Fv(a);else return a.lanes=a.childLanes=536870912,jg(e,a,b!==null?b.baseLanes|o:o,o)}else b!==null?(Ou(a,b.cachePool),Iv(a,b),li(),a.memoizedState=null):(e!==null&&Ou(a,null),Bf(),li());return Cn(e,a,f,o),a.child}function jg(e,a,o,u){var f=Gf();return f=f===null?null:{parent:hn._currentValue,pool:f},a.memoizedState={baseLanes:o,cachePool:f},e!==null&&Ou(a,null),Bf(),Fv(a),e!==null&&rs(e,a,u,!0),null}function ns(e,a){var o=a.ref;if(o===null)e!==null&&e.ref!==null&&(a.flags|=2097664);else{if(typeof o!="function"&&typeof o!="object")throw Error(t(284));(e===null||e.ref!==o)&&(a.flags|=2097664)}}function fd(e,a,o,u,f){return il(a),o=Wf(e,a,o,u,void 0,f),u=Zf(),e!==null&&!bn?(Qf(e,a,f),Aa(e,a,f)):(dt&&u&&Uf(a),a.flags|=1,Cn(e,a,o,f),a.child)}function Ig(e,a,o,u,f,p){return il(a),a.updateQueue=null,o=Qv(a,u,o,f),Zv(e),u=Zf(),e!==null&&!bn?(Qf(e,a,p),Aa(e,a,p)):(dt&&u&&Uf(a),a.flags|=1,Cn(e,a,o,p),a.child)}function Fg(e,a,o,u,f){if(il(a),a.stateNode===null){var p=Ul,b=o.contextType;typeof b=="object"&&b!==null&&(p=Ln(b)),p=new o(u,p),a.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=ud,a.stateNode=p,p._reactInternals=a,p=a.stateNode,p.props=u,p.state=a.memoizedState,p.refs={},Sd(a),b=o.contextType,p.context=typeof b=="object"&&b!==null?Ln(b):Ul,p.state=a.memoizedState,b=o.getDerivedStateFromProps,typeof b=="function"&&(sd(a,o,b,u),p.state=a.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&&ud.enqueueReplaceState(p,p.state,null),ls(a,u,p,f),is(),p.state=a.memoizedState),typeof p.componentDidMount=="function"&&(a.flags|=4194308),u=!0}else if(e===null){p=a.stateNode;var x=a.memoizedProps,U=rl(o,x);p.props=U;var W=p.context,ae=o.contextType;b=Ul,typeof ae=="object"&&ae!==null&&(b=Ln(ae));var oe=o.getDerivedStateFromProps;ae=typeof oe=="function"||typeof p.getSnapshotBeforeUpdate=="function",x=a.pendingProps!==x,ae||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(x||W!==b)&&Cg(a,p,u,b),ci=!1;var te=a.memoizedState;p.state=te,ls(a,u,p,f),is(),W=a.memoizedState,x||te!==W||ci?(typeof oe=="function"&&(sd(a,o,oe,u),W=a.memoizedState),(U=ci||Ag(a,o,U,u,te,W,b))?(ae||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"&&(a.flags|=4194308)):(typeof p.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=u,a.memoizedState=W),p.props=u,p.state=W,p.context=b,u=U):(typeof p.componentDidMount=="function"&&(a.flags|=4194308),u=!1)}else{p=a.stateNode,Dd(e,a),b=a.memoizedProps,ae=rl(o,b),p.props=ae,oe=a.pendingProps,te=p.context,W=o.contextType,U=Ul,typeof W=="object"&&W!==null&&(U=Ln(W)),x=o.getDerivedStateFromProps,(W=typeof x=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(b!==oe||te!==U)&&Cg(a,p,u,U),ci=!1,te=a.memoizedState,p.state=te,ls(a,u,p,f),is();var re=a.memoizedState;b!==oe||te!==re||ci||e!==null&&e.dependencies!==null&&Pu(e.dependencies)?(typeof x=="function"&&(sd(a,o,x,u),re=a.memoizedState),(ae=ci||Ag(a,o,ae,u,te,re,U)||e!==null&&e.dependencies!==null&&Pu(e.dependencies))?(W||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(u,re,U),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(u,re,U)),typeof p.componentDidUpdate=="function"&&(a.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof p.componentDidUpdate!="function"||b===e.memoizedProps&&te===e.memoizedState||(a.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&te===e.memoizedState||(a.flags|=1024),a.memoizedProps=u,a.memoizedState=re),p.props=u,p.state=re,p.context=U,u=ae):(typeof p.componentDidUpdate!="function"||b===e.memoizedProps&&te===e.memoizedState||(a.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&te===e.memoizedState||(a.flags|=1024),u=!1)}return p=u,ns(e,a),u=(a.flags&128)!==0,p||u?(p=a.stateNode,o=u&&typeof o.getDerivedStateFromError!="function"?null:p.render(),a.flags|=1,e!==null&&u?(a.child=$i(a,e.child,null,f),a.child=$i(a,null,o,f)):Cn(e,a,o,f),a.memoizedState=p.state,e=a.child):e=Aa(e,a,f),e}function Gg(e,a,o,u){return Go(),a.flags|=256,Cn(e,a,o,u),a.child}var dd={dehydrated:null,treeContext:null,retryLane:0};function hd(e){return{baseLanes:e,cachePool:Wv()}}function pd(e,a,o){return e=e!==null?e.childLanes&~o:0,a&&(e|=Er),e}function Vg(e,a,o){var u=a.pendingProps,f=!1,p=(a.flags&128)!==0,b;if((b=p)||(b=e!==null&&e.memoizedState===null?!1:(dn.current&2)!==0),b&&(f=!0,a.flags&=-129),b=(a.flags&32)!==0,a.flags&=-33,e===null){if(dt){if(f?ii(a):li(),dt){var x=An,U;if(U=x){e:{for(U=x,x=na;U.nodeType!==8;){if(!x){x=null;break e}if(U=Pr(U.nextSibling),U===null){x=null;break e}}x=U}x!==null?(a.memoizedState={dehydrated:x,treeContext:Qi!==null?{id:Ta,overflow:xa}:null,retryLane:536870912},U=wr(18,null,null,0),U.stateNode=x,U.return=a,a.child=U,jn=a,An=null,U=!0):U=!1}U||Xi(a)}if(x=a.memoizedState,x!==null&&(x=x.dehydrated,x!==null))return x.data==="$!"?a.lanes=16:a.lanes=536870912,null;Oa(a)}return x=u.children,u=u.fallback,f?(li(),f=a.mode,x=vd({mode:"hidden",children:x},f),u=ol(u,f,o,null),x.return=a,u.return=a,x.sibling=u,a.child=x,f=a.child,f.memoizedState=hd(o),f.childLanes=pd(e,b,o),a.memoizedState=dd,u):(ii(a),md(a,x))}if(U=e.memoizedState,U!==null&&(x=U.dehydrated,x!==null)){if(p)a.flags&256?(ii(a),a.flags&=-257,a=gd(e,a,o)):a.memoizedState!==null?(li(),a.child=e.child,a.flags|=128,a=null):(li(),f=u.fallback,x=a.mode,u=vd({mode:"visible",children:u.children},x),f=ol(f,x,o,null),f.flags|=2,u.return=a,f.return=a,u.sibling=f,a.child=u,$i(a,e.child,null,o),u=a.child,u.memoizedState=hd(o),u.childLanes=pd(e,b,o),a.memoizedState=dd,a=f);else if(ii(a),x.data==="$!"){if(b=x.nextSibling&&x.nextSibling.dataset,b)var W=b.dgst;b=W,u=Error(t(419)),u.stack="",u.digest=b,Vo({value:u,source:null,stack:null}),a=gd(e,a,o)}else if(bn||rs(e,a,o,!1),b=(o&e.childLanes)!==0,bn||b){if(b=Rt,b!==null){if(u=o&-o,(u&42)!==0)u=1;else switch(u){case 2:u=1;break;case 8:u=4;break;case 32:u=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:u=64;break;case 268435456:u=134217728;break;default:u=0}if(u=(u&(b.suspendedLanes|o))!==0?0:u,u!==0&&u!==U.retryLane)throw U.retryLane=u,ai(e,u),In(b,e,u),Ug}x.data==="$?"||Gd(),a=gd(e,a,o)}else x.data==="$?"?(a.flags|=128,a.child=e.child,a=ow.bind(null,e),x._reactRetry=a,a=null):(e=U.treeContext,An=Pr(x.nextSibling),jn=a,dt=!0,Hr=null,na=!1,e!==null&&(vr[gr++]=Ta,vr[gr++]=xa,vr[gr++]=Qi,Ta=e.id,xa=e.overflow,Qi=a),a=md(a,u.children),a.flags|=4096);return a}return f?(li(),f=u.fallback,x=a.mode,U=e.child,W=U.sibling,u=vi(U,{mode:"hidden",children:u.children}),u.subtreeFlags=U.subtreeFlags&31457280,W!==null?f=vi(W,f):(f=ol(f,x,o,null),f.flags|=2),f.return=a,u.return=a,u.sibling=f,a.child=u,u=f,f=a.child,x=e.child.memoizedState,x===null?x=hd(o):(U=x.cachePool,U!==null?(W=hn._currentValue,U=U.parent!==W?{parent:W,pool:W}:U):U=Wv(),x={baseLanes:x.baseLanes|o,cachePool:U}),f.memoizedState=x,f.childLanes=pd(e,b,o),a.memoizedState=dd,u):(ii(a),o=e.child,e=o.sibling,o=vi(o,{mode:"visible",children:u.children}),o.return=a,o.sibling=null,e!==null&&(b=a.deletions,b===null?(a.deletions=[e],a.flags|=16):b.push(e)),a.child=o,a.memoizedState=null,o)}function md(e,a){return a=vd({mode:"visible",children:a},e.mode),a.return=e,e.child=a}function vd(e,a){return y3(e,a,0,null)}function gd(e,a,o){return $i(a,e.child,null,o),e=md(a,a.pendingProps.children),e.flags|=2,a.memoizedState=null,e}function Wg(e,a,o){e.lanes|=a;var u=e.alternate;u!==null&&(u.lanes|=a),wd(e.return,a,o)}function yd(e,a,o,u,f){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:u,tail:o,tailMode:f}:(p.isBackwards=a,p.rendering=null,p.renderingStartTime=0,p.last=u,p.tail=o,p.tailMode=f)}function Zg(e,a,o){var u=a.pendingProps,f=u.revealOrder,p=u.tail;if(Cn(e,a,u.children,o),u=dn.current,(u&2)!==0)u=u&1|2,a.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=a.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Wg(e,o,a);else if(e.tag===19)Wg(e,o,a);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===a)break e;for(;e.sibling===null;){if(e.return===null||e.return===a)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}switch(He(dn,u),f){case"forwards":for(o=a.child,f=null;o!==null;)e=o.alternate,e!==null&&xu(e)===null&&(f=o),o=o.sibling;o=f,o===null?(f=a.child,a.child=null):(f=o.sibling,o.sibling=null),yd(a,!1,f,o,p);break;case"backwards":for(o=null,f=a.child,a.child=null;f!==null;){if(e=f.alternate,e!==null&&xu(e)===null){a.child=f;break}e=f.sibling,f.sibling=o,o=f,f=e}yd(a,!0,o,null,p);break;case"together":yd(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Aa(e,a,o){if(e!==null&&(a.dependencies=e.dependencies),gi|=a.lanes,(o&a.childLanes)===0)if(e!==null){if(rs(e,a,o,!1),(o&a.childLanes)===0)return null}else return null;if(e!==null&&a.child!==e.child)throw Error(t(153));if(a.child!==null){for(e=a.child,o=vi(e,e.pendingProps),a.child=o,o.return=a;e.sibling!==null;)e=e.sibling,o=o.sibling=vi(e,e.pendingProps),o.return=a;o.sibling=null}return a.child}function bd(e,a){return(e.lanes&a)!==0?!0:(e=e.dependencies,!!(e!==null&&Pu(e)))}function W_(e,a,o){switch(a.tag){case 3:Le(a,a.stateNode.containerInfo),ui(a,hn,e.memoizedState.cache),Go();break;case 27:case 5:tn(a);break;case 4:Le(a,a.stateNode.containerInfo);break;case 10:ui(a,a.type,a.memoizedProps.value);break;case 13:var u=a.memoizedState;if(u!==null)return u.dehydrated!==null?(ii(a),a.flags|=128,null):(o&a.child.childLanes)!==0?Vg(e,a,o):(ii(a),e=Aa(e,a,o),e!==null?e.sibling:null);ii(a);break;case 19:var f=(e.flags&128)!==0;if(u=(o&a.childLanes)!==0,u||(rs(e,a,o,!1),u=(o&a.childLanes)!==0),f){if(u)return Zg(e,a,o);a.flags|=128}if(f=a.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),He(dn,dn.current),u)break;return null;case 22:case 23:return a.lanes=0,Bg(e,a,o);case 24:ui(a,hn,e.memoizedState.cache)}return Aa(e,a,o)}function Qg(e,a,o){if(e!==null)if(e.memoizedProps!==a.pendingProps)bn=!0;else{if(!bd(e,o)&&(a.flags&128)===0)return bn=!1,W_(e,a,o);bn=(e.flags&131072)!==0}else bn=!1,dt&&(a.flags&1048576)!==0&&kv(a,wu,a.index);switch(a.lanes=0,a.tag){case 16:e:{e=a.pendingProps;var u=a.elementType,f=u._init;if(u=f(u._payload),a.type=u,typeof u=="function")kd(u)?(e=rl(u,e),a.tag=1,a=Fg(null,a,u,e,o)):(a.tag=0,a=fd(null,a,u,e,o));else{if(u!=null){if(f=u.$$typeof,f===T){a.tag=11,a=Pg(null,a,u,e,o);break e}else if(f===N){a.tag=14,a=zg(null,a,u,e,o);break e}}throw a=w(u)||u,Error(t(306,a,""))}}return a;case 0:return fd(e,a,a.type,a.pendingProps,o);case 1:return u=a.type,f=rl(u,a.pendingProps),Fg(e,a,u,f,o);case 3:e:{if(Le(a,a.stateNode.containerInfo),e===null)throw Error(t(387));var p=a.pendingProps;f=a.memoizedState,u=f.element,Dd(e,a),ls(a,p,null,o);var b=a.memoizedState;if(p=b.cache,ui(a,hn,p),p!==f.cache&&Ed(a,[hn],o,!0),is(),p=b.element,f.isDehydrated)if(f={element:p,isDehydrated:!1,cache:b.cache},a.updateQueue.baseState=f,a.memoizedState=f,a.flags&256){a=Gg(e,a,p,o);break e}else if(p!==u){u=mr(Error(t(424)),a),Vo(u),a=Gg(e,a,p,o);break e}else for(An=Pr(a.stateNode.containerInfo.firstChild),jn=a,dt=!0,Hr=null,na=!0,o=jv(a,null,p,o),a.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(Go(),p===u){a=Aa(e,a,o);break e}Cn(e,a,p,o)}a=a.child}return a;case 26:return ns(e,a),e===null?(o=$3(a.type,null,a.pendingProps,null))?a.memoizedState=o:dt||(o=a.type,e=a.pendingProps,u=ec(Xe.current).createElement(o),u[at]=a,u[be]=e,Rn(u,o,e),Ye(u),a.stateNode=u):a.memoizedState=$3(a.type,e.memoizedProps,a.pendingProps,e.memoizedState),null;case 27:return tn(a),e===null&&dt&&(u=a.stateNode=Q3(a.type,a.pendingProps,Xe.current),jn=a,na=!0,An=Pr(u.firstChild)),u=a.pendingProps.children,e!==null||dt?Cn(e,a,u,o):a.child=$i(a,null,u,o),ns(e,a),a.child;case 5:return e===null&&dt&&((f=u=An)&&(u=Sw(u,a.type,a.pendingProps,na),u!==null?(a.stateNode=u,jn=a,An=Pr(u.firstChild),na=!1,f=!0):f=!1),f||Xi(a)),tn(a),f=a.type,p=a.pendingProps,b=e!==null?e.memoizedProps:null,u=p.children,i1(f,p)?u=null:b!==null&&i1(f,b)&&(a.flags|=32),a.memoizedState!==null&&(f=Wf(e,a,Y_,null,null,o),ws._currentValue=f),ns(e,a),Cn(e,a,u,o),a.child;case 6:return e===null&&dt&&((e=o=An)&&(o=Dw(o,a.pendingProps,na),o!==null?(a.stateNode=o,jn=a,An=null,e=!0):e=!1),e||Xi(a)),null;case 13:return Vg(e,a,o);case 4:return Le(a,a.stateNode.containerInfo),u=a.pendingProps,e===null?a.child=$i(a,null,u,o):Cn(e,a,u,o),a.child;case 11:return Pg(e,a,a.type,a.pendingProps,o);case 7:return Cn(e,a,a.pendingProps,o),a.child;case 8:return Cn(e,a,a.pendingProps.children,o),a.child;case 12:return Cn(e,a,a.pendingProps.children,o),a.child;case 10:return u=a.pendingProps,ui(a,a.type,u.value),Cn(e,a,u.children,o),a.child;case 9:return f=a.type._context,u=a.pendingProps.children,il(a),f=Ln(f),u=u(f),a.flags|=1,Cn(e,a,u,o),a.child;case 14:return zg(e,a,a.type,a.pendingProps,o);case 15:return Yg(e,a,a.type,a.pendingProps,o);case 19:return Zg(e,a,o);case 22:return Bg(e,a,o);case 24:return il(a),u=Ln(hn),e===null?(f=Gf(),f===null&&(f=Rt,p=If(),f.pooledCache=p,p.refCount++,p!==null&&(f.pooledCacheLanes|=o),f=p),a.memoizedState={parent:u,cache:f},Sd(a),ui(a,hn,f)):((e.lanes&o)!==0&&(Dd(e,a),ls(a,null,null,o),is()),f=e.memoizedState,p=a.memoizedState,f.parent!==u?(f={parent:u,cache:u},a.memoizedState=f,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=f),ui(a,hn,u)):(u=p.cache,ui(a,hn,u),u!==f.cache&&Ed(a,[hn],o,!0))),Cn(e,a,a.pendingProps.children,o),a.child;case 29:throw a.pendingProps}throw Error(t(156,a.tag))}var _d=Oe(null),al=null,Ca=null;function ui(e,a,o){He(_d,a._currentValue),a._currentValue=o}function Ra(e){e._currentValue=_d.current,Ke(_d)}function wd(e,a,o){for(;e!==null;){var u=e.alternate;if((e.childLanes&a)!==a?(e.childLanes|=a,u!==null&&(u.childLanes|=a)):u!==null&&(u.childLanes&a)!==a&&(u.childLanes|=a),e===o)break;e=e.return}}function Ed(e,a,o,u){var f=e.child;for(f!==null&&(f.return=e);f!==null;){var p=f.dependencies;if(p!==null){var b=f.child;p=p.firstContext;e:for(;p!==null;){var x=p;p=f;for(var U=0;U<a.length;U++)if(x.context===a[U]){p.lanes|=o,x=p.alternate,x!==null&&(x.lanes|=o),wd(p.return,o,e),u||(b=null);break e}p=x.next}}else if(f.tag===18){if(b=f.return,b===null)throw Error(t(341));b.lanes|=o,p=b.alternate,p!==null&&(p.lanes|=o),wd(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 rs(e,a,o,u){e=null;for(var f=a,p=!1;f!==null;){if(!p){if((f.flags&524288)!==0)p=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var b=f.alternate;if(b===null)throw Error(t(387));if(b=b.memoizedProps,b!==null){var x=f.type;ar(f.pendingProps.value,b.value)||(e!==null?e.push(x):e=[x])}}else if(f===lt.current){if(b=f.alternate,b===null)throw Error(t(387));b.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(ws):e=[ws])}f=f.return}e!==null&&Ed(a,e,o,u),a.flags|=262144}function Pu(e){for(e=e.firstContext;e!==null;){if(!ar(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function il(e){al=e,Ca=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ln(e){return Kg(al,e)}function zu(e,a){return al===null&&il(e),Kg(e,a)}function Kg(e,a){var o=a._currentValue;if(a={context:a,memoizedValue:o,next:null},Ca===null){if(e===null)throw Error(t(308));Ca=a,e.dependencies={lanes:0,firstContext:a},e.flags|=524288}else Ca=Ca.next=a;return o}var ci=!1;function Sd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Dd(e,a){e=e.updateQueue,a.updateQueue===e&&(a.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function fi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function di(e,a,o){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,(zt&2)!==0){var f=u.pending;return f===null?a.next=a:(a.next=f.next,f.next=a),u.pending=a,a=bu(e),Rv(e,null,o),a}return yu(e,u,a,o),bu(e)}function as(e,a,o){if(a=a.updateQueue,a!==null&&(a=a.shared,(o&4194176)!==0)){var u=a.lanes;u&=e.pendingLanes,o|=u,a.lanes=o,rt(e,o)}}function Td(e,a){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=a:p=p.next=a}else f=p=a;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=a:e.next=a,o.lastBaseUpdate=a}var xd=!1;function is(){if(xd){var e=Il;if(e!==null)throw e}}function ls(e,a,o,u){xd=!1;var f=e.updateQueue;ci=!1;var p=f.firstBaseUpdate,b=f.lastBaseUpdate,x=f.shared.pending;if(x!==null){f.shared.pending=null;var U=x,W=U.next;U.next=null,b===null?p=W:b.next=W,b=U;var ae=e.alternate;ae!==null&&(ae=ae.updateQueue,x=ae.lastBaseUpdate,x!==b&&(x===null?ae.firstBaseUpdate=W:x.next=W,ae.lastBaseUpdate=U))}if(p!==null){var oe=f.baseState;b=0,ae=W=U=null,x=p;do{var te=x.lane&-536870913,re=te!==x.lane;if(re?(ot&te)===te:(u&te)===te){te!==0&&te===jl&&(xd=!0),ae!==null&&(ae=ae.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{var xe=e,Be=x;te=a;var Gt=o;switch(Be.tag){case 1:if(xe=Be.payload,typeof xe=="function"){oe=xe.call(Gt,oe,te);break e}oe=xe;break e;case 3:xe.flags=xe.flags&-65537|128;case 0:if(xe=Be.payload,te=typeof xe=="function"?xe.call(Gt,oe,te):xe,te==null)break e;oe=D({},oe,te);break e;case 2:ci=!0}}te=x.callback,te!==null&&(e.flags|=64,re&&(e.flags|=8192),re=f.callbacks,re===null?f.callbacks=[te]:re.push(te))}else re={lane:te,tag:x.tag,payload:x.payload,callback:x.callback,next:null},ae===null?(W=ae=re,U=oe):ae=ae.next=re,b|=te;if(x=x.next,x===null){if(x=f.shared.pending,x===null)break;re=x,x=re.next,re.next=null,f.lastBaseUpdate=re,f.shared.pending=null}}while(!0);ae===null&&(U=oe),f.baseState=U,f.firstBaseUpdate=W,f.lastBaseUpdate=ae,p===null&&(f.shared.lanes=0),gi|=b,e.lanes=b,e.memoizedState=oe}}function Xg(e,a){if(typeof e!="function")throw Error(t(191,e));e.call(a)}function $g(e,a){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;e<o.length;e++)Xg(o[e],a)}function os(e,a){try{var o=a.updateQueue,u=o!==null?o.lastEffect:null;if(u!==null){var f=u.next;o=f;do{if((o.tag&e)===e){u=void 0;var p=o.create,b=o.inst;u=p(),b.destroy=u}o=o.next}while(o!==f)}}catch(x){Tt(a,a.return,x)}}function hi(e,a,o){try{var u=a.updateQueue,f=u!==null?u.lastEffect:null;if(f!==null){var p=f.next;u=p;do{if((u.tag&e)===e){var b=u.inst,x=b.destroy;if(x!==void 0){b.destroy=void 0,f=a;var U=o;try{x()}catch(W){Tt(f,U,W)}}}u=u.next}while(u!==p)}}catch(W){Tt(a,a.return,W)}}function Jg(e){var a=e.updateQueue;if(a!==null){var o=e.stateNode;try{$g(a,o)}catch(u){Tt(e,e.return,u)}}}function e3(e,a,o){o.props=rl(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(u){Tt(e,a,u)}}function ll(e,a){try{var o=e.ref;if(o!==null){var u=e.stateNode;switch(e.tag){case 26:case 27:case 5:var f=u;break;default:f=u}typeof o=="function"?e.refCleanup=o(f):o.current=f}}catch(p){Tt(e,a,p)}}function ir(e,a){var o=e.ref,u=e.refCleanup;if(o!==null)if(typeof u=="function")try{u()}catch(f){Tt(e,a,f)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(f){Tt(e,a,f)}else o.current=null}function t3(e){var a=e.type,o=e.memoizedProps,u=e.stateNode;try{e:switch(a){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){Tt(e,e.return,f)}}function n3(e,a,o){try{var u=e.stateNode;yw(u,e.type,o,a),u[be]=a}catch(f){Tt(e,e.return,f)}}function r3(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27||e.tag===4}function Od(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||r3(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==27&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Md(e,a,o){var u=e.tag;if(u===5||u===6)e=e.stateNode,a?o.nodeType===8?o.parentNode.insertBefore(e,a):o.insertBefore(e,a):(o.nodeType===8?(a=o.parentNode,a.insertBefore(e,o)):(a=o,a.appendChild(e)),o=o._reactRootContainer,o!=null||a.onclick!==null||(a.onclick=Ju));else if(u!==4&&u!==27&&(e=e.child,e!==null))for(Md(e,a,o),e=e.sibling;e!==null;)Md(e,a,o),e=e.sibling}function Yu(e,a,o){var u=e.tag;if(u===5||u===6)e=e.stateNode,a?o.insertBefore(e,a):o.appendChild(e);else if(u!==4&&u!==27&&(e=e.child,e!==null))for(Yu(e,a,o),e=e.sibling;e!==null;)Yu(e,a,o),e=e.sibling}var Na=!1,It=!1,Ad=!1,a3=typeof WeakSet=="function"?WeakSet:Set,_n=null,i3=!1;function Z_(e,a){if(e=e.containerInfo,r1=lc,e=Ev(e),Rf(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var u=o.getSelection&&o.getSelection();if(u&&u.rangeCount!==0){o=u.anchorNode;var f=u.anchorOffset,p=u.focusNode;u=u.focusOffset;try{o.nodeType,p.nodeType}catch{o=null;break e}var b=0,x=-1,U=-1,W=0,ae=0,oe=e,te=null;t:for(;;){for(var re;oe!==o||f!==0&&oe.nodeType!==3||(x=b+f),oe!==p||u!==0&&oe.nodeType!==3||(U=b+u),oe.nodeType===3&&(b+=oe.nodeValue.length),(re=oe.firstChild)!==null;)te=oe,oe=re;for(;;){if(oe===e)break t;if(te===o&&++W===f&&(x=b),te===p&&++ae===u&&(U=b),(re=oe.nextSibling)!==null)break;oe=te,te=oe.parentNode}oe=re}o=x===-1||U===-1?null:{start:x,end:U}}else o=null}o=o||{start:0,end:0}}else o=null;for(a1={focusedElem:e,selectionRange:o},lc=!1,_n=a;_n!==null;)if(a=_n,e=a.child,(a.subtreeFlags&1028)!==0&&e!==null)e.return=a,_n=e;else for(;_n!==null;){switch(a=_n,p=a.alternate,e=a.flags,a.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&p!==null){e=void 0,o=a,f=p.memoizedProps,p=p.memoizedState,u=o.stateNode;try{var xe=rl(o.type,f,o.elementType===o.type);e=u.getSnapshotBeforeUpdate(xe,p),u.__reactInternalSnapshotBeforeUpdate=e}catch(Be){Tt(o,o.return,Be)}}break;case 3:if((e&1024)!==0){if(e=a.stateNode.containerInfo,o=e.nodeType,o===9)s1(e);else if(o===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":s1(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=a.sibling,e!==null){e.return=a.return,_n=e;break}_n=a.return}return xe=i3,i3=!1,xe}function l3(e,a,o){var u=o.flags;switch(o.tag){case 0:case 11:case 15:La(e,o),u&4&&os(5,o);break;case 1:if(La(e,o),u&4)if(e=o.stateNode,a===null)try{e.componentDidMount()}catch(x){Tt(o,o.return,x)}else{var f=rl(o.type,a.memoizedProps);a=a.memoizedState;try{e.componentDidUpdate(f,a,e.__reactInternalSnapshotBeforeUpdate)}catch(x){Tt(o,o.return,x)}}u&64&&Jg(o),u&512&&ll(o,o.return);break;case 3:if(La(e,o),u&64&&(u=o.updateQueue,u!==null)){if(e=null,o.child!==null)switch(o.child.tag){case 27:case 5:e=o.child.stateNode;break;case 1:e=o.child.stateNode}try{$g(u,e)}catch(x){Tt(o,o.return,x)}}break;case 26:La(e,o),u&512&&ll(o,o.return);break;case 27:case 5:La(e,o),a===null&&u&4&&t3(o),u&512&&ll(o,o.return);break;case 12:La(e,o);break;case 13:La(e,o),u&4&&u3(e,o);break;case 22:if(f=o.memoizedState!==null||Na,!f){a=a!==null&&a.memoizedState!==null||It;var p=Na,b=It;Na=f,(It=a)&&!b?pi(e,o,(o.subtreeFlags&8772)!==0):La(e,o),Na=p,It=b}u&512&&(o.memoizedProps.mode==="manual"?ll(o,o.return):ir(o,o.return));break;default:La(e,o)}}function o3(e){var a=e.alternate;a!==null&&(e.alternate=null,o3(a)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(a=e.stateNode,a!==null&&Y(a)),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 un=null,lr=!1;function ka(e,a,o){for(o=o.child;o!==null;)s3(e,a,o),o=o.sibling}function s3(e,a,o){if(Pe&&typeof Pe.onCommitFiberUnmount=="function")try{Pe.onCommitFiberUnmount(Lt,o)}catch{}switch(o.tag){case 26:It||ir(o,a),ka(e,a,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:It||ir(o,a);var u=un,f=lr;for(un=o.stateNode,ka(e,a,o),o=o.stateNode,a=o.attributes;a.length;)o.removeAttributeNode(a[0]);Y(o),un=u,lr=f;break;case 5:It||ir(o,a);case 6:f=un;var p=lr;if(un=null,ka(e,a,o),un=f,lr=p,un!==null)if(lr)try{e=un,u=o.stateNode,e.nodeType===8?e.parentNode.removeChild(u):e.removeChild(u)}catch(b){Tt(o,a,b)}else try{un.removeChild(o.stateNode)}catch(b){Tt(o,a,b)}break;case 18:un!==null&&(lr?(a=un,o=o.stateNode,a.nodeType===8?o1(a.parentNode,o):a.nodeType===1&&o1(a,o),Ts(a)):o1(un,o.stateNode));break;case 4:u=un,f=lr,un=o.stateNode.containerInfo,lr=!0,ka(e,a,o),un=u,lr=f;break;case 0:case 11:case 14:case 15:It||hi(2,o,a),It||hi(4,o,a),ka(e,a,o);break;case 1:It||(ir(o,a),u=o.stateNode,typeof u.componentWillUnmount=="function"&&e3(o,a,u)),ka(e,a,o);break;case 21:ka(e,a,o);break;case 22:It||ir(o,a),It=(u=It)||o.memoizedState!==null,ka(e,a,o),It=u;break;default:ka(e,a,o)}}function u3(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ts(e)}catch(o){Tt(a,a.return,o)}}function Q_(e){switch(e.tag){case 13:case 19:var a=e.stateNode;return a===null&&(a=e.stateNode=new a3),a;case 22:return e=e.stateNode,a=e._retryCache,a===null&&(a=e._retryCache=new a3),a;default:throw Error(t(435,e.tag))}}function Cd(e,a){var o=Q_(e);a.forEach(function(u){var f=sw.bind(null,e,u);o.has(u)||(o.add(u),u.then(f,f))})}function br(e,a){var o=a.deletions;if(o!==null)for(var u=0;u<o.length;u++){var f=o[u],p=e,b=a,x=b;e:for(;x!==null;){switch(x.tag){case 27:case 5:un=x.stateNode,lr=!1;break e;case 3:un=x.stateNode.containerInfo,lr=!0;break e;case 4:un=x.stateNode.containerInfo,lr=!0;break e}x=x.return}if(un===null)throw Error(t(160));s3(p,b,f),un=null,lr=!1,p=f.alternate,p!==null&&(p.return=null),f.return=null}if(a.subtreeFlags&13878)for(a=a.child;a!==null;)c3(a,e),a=a.sibling}var Ur=null;function c3(e,a){var o=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:br(a,e),_r(e),u&4&&(hi(3,e,e.return),os(3,e),hi(5,e,e.return));break;case 1:br(a,e),_r(e),u&512&&(It||o===null||ir(o,o.return)),u&64&&Na&&(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=Ur;if(br(a,e),_r(e),u&512&&(It||o===null||ir(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[_e]||p[at]||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[at]=e,Ye(p),u=p;break e;case"link":var b=t6("link","href",f).get(u+(o.href||""));if(b){for(var x=0;x<b.length;x++)if(p=b[x],p.getAttribute("href")===(o.href==null?null:o.href)&&p.getAttribute("rel")===(o.rel==null?null:o.rel)&&p.getAttribute("title")===(o.title==null?null:o.title)&&p.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){b.splice(x,1);break t}}p=f.createElement(u),Rn(p,u,o),f.head.appendChild(p);break;case"meta":if(b=t6("meta","content",f).get(u+(o.content||""))){for(x=0;x<b.length;x++)if(p=b[x],p.getAttribute("content")===(o.content==null?null:""+o.content)&&p.getAttribute("name")===(o.name==null?null:o.name)&&p.getAttribute("property")===(o.property==null?null:o.property)&&p.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&p.getAttribute("charset")===(o.charSet==null?null:o.charSet)){b.splice(x,1);break t}}p=f.createElement(u),Rn(p,u,o),f.head.appendChild(p);break;default:throw Error(t(468,u))}p[at]=e,Ye(p),u=p}e.stateNode=u}else n6(f,e.type,e.stateNode);else e.stateNode=e6(f,u,e.memoizedProps);else p!==u?(p===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):p.count--,u===null?n6(f,e.type,e.stateNode):e6(f,u,e.memoizedProps)):u===null&&e.stateNode!==null&&n3(e,e.memoizedProps,o.memoizedProps)}break;case 27:if(u&4&&e.alternate===null){f=e.stateNode,p=e.memoizedProps;try{for(var U=f.firstChild;U;){var W=U.nextSibling,ae=U.nodeName;U[_e]||ae==="HEAD"||ae==="BODY"||ae==="SCRIPT"||ae==="STYLE"||ae==="LINK"&&U.rel.toLowerCase()==="stylesheet"||f.removeChild(U),U=W}for(var oe=e.type,te=f.attributes;te.length;)f.removeAttributeNode(te[0]);Rn(f,oe,p),f[at]=e,f[be]=p}catch(xe){Tt(e,e.return,xe)}}case 5:if(br(a,e),_r(e),u&512&&(It||o===null||ir(o,o.return)),e.flags&32){f=e.stateNode;try{kr(f,"")}catch(xe){Tt(e,e.return,xe)}}u&4&&e.stateNode!=null&&(f=e.memoizedProps,n3(e,f,o!==null?o.memoizedProps:f)),u&1024&&(Ad=!0);break;case 6:if(br(a,e),_r(e),u&4){if(e.stateNode===null)throw Error(t(162));u=e.memoizedProps,o=e.stateNode;try{o.nodeValue=u}catch(xe){Tt(e,e.return,xe)}}break;case 3:if(rc=null,f=Ur,Ur=tc(a.containerInfo),br(a,e),Ur=f,_r(e),u&4&&o!==null&&o.memoizedState.isDehydrated)try{Ts(a.containerInfo)}catch(xe){Tt(e,e.return,xe)}Ad&&(Ad=!1,f3(e));break;case 4:u=Ur,Ur=tc(e.stateNode.containerInfo),br(a,e),_r(e),Ur=u;break;case 12:br(a,e),_r(e);break;case 13:br(a,e),_r(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(zd=Ce()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Cd(e,u)));break;case 22:if(u&512&&(It||o===null||ir(o,o.return)),U=e.memoizedState!==null,W=o!==null&&o.memoizedState!==null,ae=Na,oe=It,Na=ae||U,It=oe||W,br(a,e),It=oe,Na=ae,_r(e),a=e.stateNode,a._current=e,a._visibility&=-3,a._visibility|=a._pendingVisibility&2,u&8192&&(a._visibility=U?a._visibility&-2:a._visibility|1,U&&(a=Na||It,o===null||W||a||Wl(e)),e.memoizedProps===null||e.memoizedProps.mode!=="manual"))e:for(o=null,a=e;;){if(a.tag===5||a.tag===26||a.tag===27){if(o===null){W=o=a;try{if(f=W.stateNode,U)p=f.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none";else{b=W.stateNode,x=W.memoizedProps.style;var re=x!=null&&x.hasOwnProperty("display")?x.display:null;b.style.display=re==null||typeof re=="boolean"?"":(""+re).trim()}}catch(xe){Tt(W,W.return,xe)}}}else if(a.tag===6){if(o===null){W=a;try{W.stateNode.nodeValue=U?"":W.memoizedProps}catch(xe){Tt(W,W.return,xe)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===e)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break e;for(;a.sibling===null;){if(a.return===null||a.return===e)break e;o===a&&(o=null),a=a.return}o===a&&(o=null),a.sibling.return=a.return,a=a.sibling}u&4&&(u=e.updateQueue,u!==null&&(o=u.retryQueue,o!==null&&(u.retryQueue=null,Cd(e,o))));break;case 19:br(a,e),_r(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Cd(e,u)));break;case 21:break;default:br(a,e),_r(e)}}function _r(e){var a=e.flags;if(a&2){try{if(e.tag!==27){e:{for(var o=e.return;o!==null;){if(r3(o)){var u=o;break e}o=o.return}throw Error(t(160))}switch(u.tag){case 27:var f=u.stateNode,p=Od(e);Yu(e,p,f);break;case 5:var b=u.stateNode;u.flags&32&&(kr(b,""),u.flags&=-33);var x=Od(e);Yu(e,x,b);break;case 3:case 4:var U=u.stateNode.containerInfo,W=Od(e);Md(e,W,U);break;default:throw Error(t(161))}}}catch(ae){Tt(e,e.return,ae)}e.flags&=-3}a&4096&&(e.flags&=-4097)}function f3(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var a=e;f3(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),e=e.sibling}}function La(e,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)l3(e,a.alternate,a),a=a.sibling}function Wl(e){for(e=e.child;e!==null;){var a=e;switch(a.tag){case 0:case 11:case 14:case 15:hi(4,a,a.return),Wl(a);break;case 1:ir(a,a.return);var o=a.stateNode;typeof o.componentWillUnmount=="function"&&e3(a,a.return,o),Wl(a);break;case 26:case 27:case 5:ir(a,a.return),Wl(a);break;case 22:ir(a,a.return),a.memoizedState===null&&Wl(a);break;default:Wl(a)}e=e.sibling}}function pi(e,a,o){for(o=o&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var u=a.alternate,f=e,p=a,b=p.flags;switch(p.tag){case 0:case 11:case 15:pi(f,p,o),os(4,p);break;case 1:if(pi(f,p,o),u=p,f=u.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(W){Tt(u,u.return,W)}if(u=p,f=u.updateQueue,f!==null){var x=u.stateNode;try{var U=f.shared.hiddenCallbacks;if(U!==null)for(f.shared.hiddenCallbacks=null,f=0;f<U.length;f++)Xg(U[f],x)}catch(W){Tt(u,u.return,W)}}o&&b&64&&Jg(p),ll(p,p.return);break;case 26:case 27:case 5:pi(f,p,o),o&&u===null&&b&4&&t3(p),ll(p,p.return);break;case 12:pi(f,p,o);break;case 13:pi(f,p,o),o&&b&4&&u3(f,p);break;case 22:p.memoizedState===null&&pi(f,p,o),ll(p,p.return);break;default:pi(f,p,o)}a=a.sibling}}function Rd(e,a){var o=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),e=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(e=a.memoizedState.cachePool.pool),e!==o&&(e!=null&&e.refCount++,o!=null&&Xo(o))}function Nd(e,a){e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&Xo(e))}function mi(e,a,o,u){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)d3(e,a,o,u),a=a.sibling}function d3(e,a,o,u){var f=a.flags;switch(a.tag){case 0:case 11:case 15:mi(e,a,o,u),f&2048&&os(9,a);break;case 3:mi(e,a,o,u),f&2048&&(e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&Xo(e)));break;case 12:if(f&2048){mi(e,a,o,u),e=a.stateNode;try{var p=a.memoizedProps,b=p.id,x=p.onPostCommit;typeof x=="function"&&x(b,a.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(U){Tt(a,a.return,U)}}else mi(e,a,o,u);break;case 23:break;case 22:p=a.stateNode,a.memoizedState!==null?p._visibility&4?mi(e,a,o,u):ss(e,a):p._visibility&4?mi(e,a,o,u):(p._visibility|=4,Zl(e,a,o,u,(a.subtreeFlags&10256)!==0)),f&2048&&Rd(a.alternate,a);break;case 24:mi(e,a,o,u),f&2048&&Nd(a.alternate,a);break;default:mi(e,a,o,u)}}function Zl(e,a,o,u,f){for(f=f&&(a.subtreeFlags&10256)!==0,a=a.child;a!==null;){var p=e,b=a,x=o,U=u,W=b.flags;switch(b.tag){case 0:case 11:case 15:Zl(p,b,x,U,f),os(8,b);break;case 23:break;case 22:var ae=b.stateNode;b.memoizedState!==null?ae._visibility&4?Zl(p,b,x,U,f):ss(p,b):(ae._visibility|=4,Zl(p,b,x,U,f)),f&&W&2048&&Rd(b.alternate,b);break;case 24:Zl(p,b,x,U,f),f&&W&2048&&Nd(b.alternate,b);break;default:Zl(p,b,x,U,f)}a=a.sibling}}function ss(e,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var o=e,u=a,f=u.flags;switch(u.tag){case 22:ss(o,u),f&2048&&Rd(u.alternate,u);break;case 24:ss(o,u),f&2048&&Nd(u.alternate,u);break;default:ss(o,u)}a=a.sibling}}var us=8192;function Ql(e){if(e.subtreeFlags&us)for(e=e.child;e!==null;)h3(e),e=e.sibling}function h3(e){switch(e.tag){case 26:Ql(e),e.flags&us&&e.memoizedState!==null&&Uw(Ur,e.memoizedState,e.memoizedProps);break;case 5:Ql(e);break;case 3:case 4:var a=Ur;Ur=tc(e.stateNode.containerInfo),Ql(e),Ur=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=us,us=16777216,Ql(e),us=a):Ql(e));break;default:Ql(e)}}function p3(e){var a=e.alternate;if(a!==null&&(e=a.child,e!==null)){a.child=null;do a=e.sibling,e.sibling=null,e=a;while(e!==null)}}function cs(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var o=0;o<a.length;o++){var u=a[o];_n=u,v3(u,e)}p3(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)m3(e),e=e.sibling}function m3(e){switch(e.tag){case 0:case 11:case 15:cs(e),e.flags&2048&&hi(9,e,e.return);break;case 3:cs(e);break;case 12:cs(e);break;case 22:var a=e.stateNode;e.memoizedState!==null&&a._visibility&4&&(e.return===null||e.return.tag!==13)?(a._visibility&=-5,Bu(e)):cs(e);break;default:cs(e)}}function Bu(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var o=0;o<a.length;o++){var u=a[o];_n=u,v3(u,e)}p3(e)}for(e=e.child;e!==null;){switch(a=e,a.tag){case 0:case 11:case 15:hi(8,a,a.return),Bu(a);break;case 22:o=a.stateNode,o._visibility&4&&(o._visibility&=-5,Bu(a));break;default:Bu(a)}e=e.sibling}}function v3(e,a){for(;_n!==null;){var o=_n;switch(o.tag){case 0:case 11:case 15:hi(8,o,a);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:Xo(o.memoizedState.cache)}if(u=o.child,u!==null)u.return=o,_n=u;else e:for(o=e;_n!==null;){u=_n;var f=u.sibling,p=u.return;if(o3(u),u===o){_n=null;break e}if(f!==null){f.return=p,_n=f;break e}_n=p}}}function K_(e,a,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=a,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 wr(e,a,o,u){return new K_(e,a,o,u)}function kd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function vi(e,a){var o=e.alternate;return o===null?(o=wr(e.tag,a,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=a,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&31457280,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,a=e.dependencies,o.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.refCleanup=e.refCleanup,o}function g3(e,a){e.flags&=31457282;var o=e.alternate;return o===null?(e.childLanes=0,e.lanes=a,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,a=o.dependencies,e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),e}function ju(e,a,o,u,f,p){var b=0;if(u=e,typeof e=="function")kd(e)&&(b=1);else if(typeof e=="string")b=qw(e,o,et.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case h:return ol(o.children,f,p,a);case m:b=8,f|=24;break;case v:return e=wr(12,o,a,f|2),e.elementType=v,e.lanes=p,e;case A:return e=wr(13,o,a,f),e.elementType=A,e.lanes=p,e;case C:return e=wr(19,o,a,f),e.elementType=C,e.lanes=p,e;case B:return y3(o,f,p,a);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case g:case S:b=10;break e;case _:b=9;break e;case T:b=11;break e;case N:b=14;break e;case O:b=16,u=null;break e}b=29,o=Error(t(130,e===null?"null":typeof e,"")),u=null}return a=wr(b,o,a,f),a.elementType=e,a.type=u,a.lanes=p,a}function ol(e,a,o,u){return e=wr(7,e,u,a),e.lanes=o,e}function y3(e,a,o,u){e=wr(22,e,u,a),e.elementType=B,e.lanes=o;var f={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var p=f._current;if(p===null)throw Error(t(456));if((f._pendingVisibility&2)===0){var b=ai(p,2);b!==null&&(f._pendingVisibility|=2,In(b,p,2))}},attach:function(){var p=f._current;if(p===null)throw Error(t(456));if((f._pendingVisibility&2)!==0){var b=ai(p,2);b!==null&&(f._pendingVisibility&=-3,In(b,p,2))}}};return e.stateNode=f,e}function Ld(e,a,o){return e=wr(6,e,null,a),e.lanes=o,e}function qd(e,a,o){return a=wr(4,e.children!==null?e.children:[],e.key,a),a.lanes=o,a.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},a}function qa(e){e.flags|=4}function b3(e,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!r6(a)){if(a=yr.current,a!==null&&((ot&4194176)===ot?ra!==null:(ot&62914560)!==ot&&(ot&536870912)===0||a!==ra))throw Zo=Yf,Hv;e.flags|=8192}}function Iu(e,a){a!==null&&(e.flags|=4),e.flags&16384&&(a=e.tag!==22?Kt():536870912,e.lanes|=a,Xl|=a)}function fs(e,a){if(!dt)switch(e.tailMode){case"hidden":a=e.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.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?a||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Pt(e){var a=e.alternate!==null&&e.alternate.child===e.child,o=0,u=0;if(a)for(var f=e.child;f!==null;)o|=f.lanes|f.childLanes,u|=f.subtreeFlags&31457280,u|=f.flags&31457280,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,a}function X_(e,a,o){var u=a.pendingProps;switch(Pf(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Pt(a),null;case 1:return Pt(a),null;case 3:return o=a.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),a.memoizedState.cache!==u&&(a.flags|=2048),Ra(hn),Zt(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(Fo(a)?qa(a):e===null||e.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Hr!==null&&(Id(Hr),Hr=null))),Pt(a),null;case 26:return o=a.memoizedState,e===null?(qa(a),o!==null?(Pt(a),b3(a,o)):(Pt(a),a.flags&=-16777217)):o?o!==e.memoizedState?(qa(a),Pt(a),b3(a,o)):(Pt(a),a.flags&=-16777217):(e.memoizedProps!==u&&qa(a),Pt(a),a.flags&=-16777217),null;case 27:cn(a),o=Xe.current;var f=a.type;if(e!==null&&a.stateNode!=null)e.memoizedProps!==u&&qa(a);else{if(!u){if(a.stateNode===null)throw Error(t(166));return Pt(a),null}e=et.current,Fo(a)?Lv(a):(e=Q3(f,u,o),a.stateNode=e,qa(a))}return Pt(a),null;case 5:if(cn(a),o=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==u&&qa(a);else{if(!u){if(a.stateNode===null)throw Error(t(166));return Pt(a),null}if(e=et.current,Fo(a))Lv(a);else{switch(f=ec(Xe.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[at]=a,e[be]=u;e:for(f=a.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===a)break e;for(;f.sibling===null;){if(f.return===null||f.return===a)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}a.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&&qa(a)}}return Pt(a),a.flags&=-16777217,null;case 6:if(e&&a.stateNode!=null)e.memoizedProps!==u&&qa(a);else{if(typeof u!="string"&&a.stateNode===null)throw Error(t(166));if(e=Xe.current,Fo(a)){if(e=a.stateNode,o=a.memoizedProps,u=null,f=jn,f!==null)switch(f.tag){case 27:case 5:u=f.memoizedProps}e[at]=a,e=!!(e.nodeValue===o||u!==null&&u.suppressHydrationWarning===!0||I3(e.nodeValue,o)),e||Xi(a)}else e=ec(e).createTextNode(u),e[at]=a,a.stateNode=e}return Pt(a),null;case 13:if(u=a.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=Fo(a),u!==null&&u.dehydrated!==null){if(e===null){if(!f)throw Error(t(318));if(f=a.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(t(317));f[at]=a}else Go(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Pt(a),f=!1}else Hr!==null&&(Id(Hr),Hr=null),f=!0;if(!f)return a.flags&256?(Oa(a),a):(Oa(a),null)}if(Oa(a),(a.flags&128)!==0)return a.lanes=o,a;if(o=u!==null,e=e!==null&&e.memoizedState!==null,o){u=a.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&&(a.child.flags|=8192),Iu(a,a.updateQueue),Pt(a),null;case 4:return Zt(),e===null&&e1(a.stateNode.containerInfo),Pt(a),null;case 10:return Ra(a.type),Pt(a),null;case 19:if(Ke(dn),f=a.memoizedState,f===null)return Pt(a),null;if(u=(a.flags&128)!==0,p=f.rendering,p===null)if(u)fs(f,!1);else{if(Ft!==0||e!==null&&(e.flags&128)!==0)for(e=a.child;e!==null;){if(p=xu(e),p!==null){for(a.flags|=128,fs(f,!1),e=p.updateQueue,a.updateQueue=e,Iu(a,e),a.subtreeFlags=0,e=o,o=a.child;o!==null;)g3(o,e),o=o.sibling;return He(dn,dn.current&1|2),a.child}e=e.sibling}f.tail!==null&&Ce()>Fu&&(a.flags|=128,u=!0,fs(f,!1),a.lanes=4194304)}else{if(!u)if(e=xu(p),e!==null){if(a.flags|=128,u=!0,e=e.updateQueue,a.updateQueue=e,Iu(a,e),fs(f,!0),f.tail===null&&f.tailMode==="hidden"&&!p.alternate&&!dt)return Pt(a),null}else 2*Ce()-f.renderingStartTime>Fu&&o!==536870912&&(a.flags|=128,u=!0,fs(f,!1),a.lanes=4194304);f.isBackwards?(p.sibling=a.child,a.child=p):(e=f.last,e!==null?e.sibling=p:a.child=p,f.last=p)}return f.tail!==null?(a=f.tail,f.rendering=a,f.tail=a.sibling,f.renderingStartTime=Ce(),a.sibling=null,e=dn.current,He(dn,u?e&1|2:e&1),a):(Pt(a),null);case 22:case 23:return Oa(a),jf(),u=a.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(a.flags|=8192):u&&(a.flags|=8192),u?(o&536870912)!==0&&(a.flags&128)===0&&(Pt(a),a.subtreeFlags&6&&(a.flags|=8192)):Pt(a),o=a.updateQueue,o!==null&&Iu(a,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==o&&(a.flags|=2048),e!==null&&Ke(Ji),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),a.memoizedState.cache!==o&&(a.flags|=2048),Ra(hn),Pt(a),null;case 25:return null}throw Error(t(156,a.tag))}function $_(e,a){switch(Pf(a),a.tag){case 1:return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 3:return Ra(hn),Zt(),e=a.flags,(e&65536)!==0&&(e&128)===0?(a.flags=e&-65537|128,a):null;case 26:case 27:case 5:return cn(a),null;case 13:if(Oa(a),e=a.memoizedState,e!==null&&e.dehydrated!==null){if(a.alternate===null)throw Error(t(340));Go()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 19:return Ke(dn),null;case 4:return Zt(),null;case 10:return Ra(a.type),null;case 22:case 23:return Oa(a),jf(),e!==null&&Ke(Ji),e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 24:return Ra(hn),null;case 25:return null;default:return null}}function _3(e,a){switch(Pf(a),a.tag){case 3:Ra(hn),Zt();break;case 26:case 27:case 5:cn(a);break;case 4:Zt();break;case 13:Oa(a);break;case 19:Ke(dn);break;case 10:Ra(a.type);break;case 22:case 23:Oa(a),jf(),e!==null&&Ke(Ji);break;case 24:Ra(hn)}}var J_={getCacheForType:function(e){var a=Ln(hn),o=a.data.get(e);return o===void 0&&(o=e(),a.data.set(e,o)),o}},ew=typeof WeakMap=="function"?WeakMap:Map,zt=0,Rt=null,$e=null,ot=0,Nt=0,or=null,Ha=!1,Kl=!1,Hd=!1,Ua=0,Ft=0,gi=0,sl=0,Ud=0,Er=0,Xl=0,ds=null,ia=null,Pd=!1,zd=0,Fu=1/0,Gu=null,yi=null,Vu=!1,ul=null,hs=0,Yd=0,Bd=null,ps=0,jd=null;function sr(){if((zt&2)!==0&&ot!==0)return ot&-ot;if(E.T!==null){var e=jl;return e!==0?e:Kd()}return vn()}function w3(){Er===0&&(Er=(ot&536870912)===0||dt?Ie():536870912);var e=yr.current;return e!==null&&(e.flags|=32),Er}function In(e,a,o){(e===Rt&&Nt===2||e.cancelPendingCommit!==null)&&($l(e,0),Pa(e,ot,Er,!1)),he(e,o),((zt&2)===0||e!==Rt)&&(e===Rt&&((zt&2)===0&&(sl|=o),Ft===4&&Pa(e,ot,Er,!1)),la(e))}function E3(e,a,o){if((zt&6)!==0)throw Error(t(327));var u=!o&&(a&60)===0&&(a&e.expiredLanes)===0||Ge(e,a),f=u?rw(e,a):Vd(e,a,!0),p=u;do{if(f===0){Kl&&!u&&Pa(e,a,0,!1);break}else if(f===6)Pa(e,a,0,!Ha);else{if(o=e.current.alternate,p&&!tw(o)){f=Vd(e,a,!1),p=!1;continue}if(f===2){if(p=a,e.errorRecoveryDisabledLanes&p)var b=0;else b=e.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){a=b;e:{var x=e;f=ds;var U=x.current.memoizedState.isDehydrated;if(U&&($l(x,b).flags|=256),b=Vd(x,b,!1),b!==2){if(Hd&&!U){x.errorRecoveryDisabledLanes|=p,sl|=p,f=4;break e}p=ia,ia=f,p!==null&&Id(p)}f=b}if(p=!1,f!==2)continue}}if(f===1){$l(e,0),Pa(e,a,0,!0);break}e:{switch(u=e,f){case 0:case 1:throw Error(t(345));case 4:if((a&4194176)===a){Pa(u,a,Er,!Ha);break e}break;case 2:ia=null;break;case 3:case 5:break;default:throw Error(t(329))}if(u.finishedWork=o,u.finishedLanes=a,(a&62914560)===a&&(p=zd+300-Ce(),10<p)){if(Pa(u,a,Er,!Ha),yt(u,0)!==0)break e;u.timeoutHandle=V3(S3.bind(null,u,o,ia,Gu,Pd,a,Er,sl,Xl,Ha,2,-0,0),p);break e}S3(u,o,ia,Gu,Pd,a,Er,sl,Xl,Ha,0,-0,0)}}break}while(!0);la(e)}function Id(e){ia===null?ia=e:ia.push.apply(ia,e)}function S3(e,a,o,u,f,p,b,x,U,W,ae,oe,te){var re=a.subtreeFlags;if((re&8192||(re&16785408)===16785408)&&(_s={stylesheets:null,count:0,unsuspend:Hw},h3(a),a=Pw(),a!==null)){e.cancelPendingCommit=a(C3.bind(null,e,o,u,f,b,x,U,1,oe,te)),Pa(e,p,b,!W);return}C3(e,o,u,f,b,x,U,ae,oe,te)}function tw(e){for(var a=e;;){var o=a.tag;if((o===0||o===11||o===15)&&a.flags&16384&&(o=a.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var u=0;u<o.length;u++){var f=o[u],p=f.getSnapshot;f=f.value;try{if(!ar(p(),f))return!1}catch{return!1}}if(o=a.child,a.subtreeFlags&16384&&o!==null)o.return=a,a=o;else{if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Pa(e,a,o,u){a&=~Ud,a&=~sl,e.suspendedLanes|=a,e.pingedLanes&=~a,u&&(e.warmLanes|=a),u=e.expirationTimes;for(var f=a;0<f;){var p=31-Ot(f),b=1<<p;u[p]=-1,f&=~b}o!==0&&Re(e,o,a)}function Wu(){return(zt&6)===0?(ms(0),!1):!0}function Fd(){if($e!==null){if(Nt===0)var e=$e.return;else e=$e,Ca=al=null,Kf(e),Yl=null,Qo=0,e=$e;for(;e!==null;)_3(e.alternate,e),e=e.return;$e=null}}function $l(e,a){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;o!==-1&&(e.timeoutHandle=-1,_w(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),Fd(),Rt=e,$e=o=vi(e.current,null),ot=a,Nt=0,or=null,Ha=!1,Kl=Ge(e,a),Hd=!1,Xl=Er=Ud=sl=gi=Ft=0,ia=ds=null,Pd=!1,(a&8)!==0&&(a|=a&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=a;0<u;){var f=31-Ot(u),p=1<<f;a|=e[f],u&=~p}return Ua=a,gu(),o}function D3(e,a){We=null,E.H=aa,a===Wo?(a=zv(),Nt=3):a===Hv?(a=zv(),Nt=4):Nt=a===Ug?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,or=a,$e===null&&(Ft=1,Uu(e,mr(a,e.current)))}function T3(){var e=E.H;return E.H=aa,e===null?aa:e}function x3(){var e=E.A;return E.A=J_,e}function Gd(){Ft=4,Ha||(ot&4194176)!==ot&&yr.current!==null||(Kl=!0),(gi&134217727)===0&&(sl&134217727)===0||Rt===null||Pa(Rt,ot,Er,!1)}function Vd(e,a,o){var u=zt;zt|=2;var f=T3(),p=x3();(Rt!==e||ot!==a)&&(Gu=null,$l(e,a)),a=!1;var b=Ft;e:do try{if(Nt!==0&&$e!==null){var x=$e,U=or;switch(Nt){case 8:Fd(),b=6;break e;case 3:case 2:case 6:yr.current===null&&(a=!0);var W=Nt;if(Nt=0,or=null,Jl(e,x,U,W),o&&Kl){b=0;break e}break;default:W=Nt,Nt=0,or=null,Jl(e,x,U,W)}}nw(),b=Ft;break}catch(ae){D3(e,ae)}while(!0);return a&&e.shellSuspendCounter++,Ca=al=null,zt=u,E.H=f,E.A=p,$e===null&&(Rt=null,ot=0,gu()),b}function nw(){for(;$e!==null;)O3($e)}function rw(e,a){var o=zt;zt|=2;var u=T3(),f=x3();Rt!==e||ot!==a?(Gu=null,Fu=Ce()+500,$l(e,a)):Kl=Ge(e,a);e:do try{if(Nt!==0&&$e!==null){a=$e;var p=or;t:switch(Nt){case 1:Nt=0,or=null,Jl(e,a,p,1);break;case 2:if(Uv(p)){Nt=0,or=null,M3(a);break}a=function(){Nt===2&&Rt===e&&(Nt=7),la(e)},p.then(a,a);break e;case 3:Nt=7;break e;case 4:Nt=5;break e;case 7:Uv(p)?(Nt=0,or=null,M3(a)):(Nt=0,or=null,Jl(e,a,p,7));break;case 5:var b=null;switch($e.tag){case 26:b=$e.memoizedState;case 5:case 27:var x=$e;if(!b||r6(b)){Nt=0,or=null;var U=x.sibling;if(U!==null)$e=U;else{var W=x.return;W!==null?($e=W,Zu(W)):$e=null}break t}}Nt=0,or=null,Jl(e,a,p,5);break;case 6:Nt=0,or=null,Jl(e,a,p,6);break;case 8:Fd(),Ft=6;break e;default:throw Error(t(462))}}aw();break}catch(ae){D3(e,ae)}while(!0);return Ca=al=null,E.H=u,E.A=f,zt=o,$e!==null?0:(Rt=null,ot=0,gu(),Ft)}function aw(){for(;$e!==null&&!Ue();)O3($e)}function O3(e){var a=Qg(e.alternate,e,Ua);e.memoizedProps=e.pendingProps,a===null?Zu(e):$e=a}function M3(e){var a=e,o=a.alternate;switch(a.tag){case 15:case 0:a=Ig(o,a,a.pendingProps,a.type,void 0,ot);break;case 11:a=Ig(o,a,a.pendingProps,a.type.render,a.ref,ot);break;case 5:Kf(a);default:_3(o,a),a=$e=g3(a,Ua),a=Qg(o,a,Ua)}e.memoizedProps=e.pendingProps,a===null?Zu(e):$e=a}function Jl(e,a,o,u){Ca=al=null,Kf(a),Yl=null,Qo=0;var f=a.return;try{if(V_(e,f,a,o,ot)){Ft=1,Uu(e,mr(o,e.current)),$e=null;return}}catch(p){if(f!==null)throw $e=f,p;Ft=1,Uu(e,mr(o,e.current)),$e=null;return}a.flags&32768?(dt||u===1?e=!0:Kl||(ot&536870912)!==0?e=!1:(Ha=e=!0,(u===2||u===3||u===6)&&(u=yr.current,u!==null&&u.tag===13&&(u.flags|=16384))),A3(a,e)):Zu(a)}function Zu(e){var a=e;do{if((a.flags&32768)!==0){A3(a,Ha);return}e=a.return;var o=X_(a.alternate,a,Ua);if(o!==null){$e=o;return}if(a=a.sibling,a!==null){$e=a;return}$e=a=e}while(a!==null);Ft===0&&(Ft=5)}function A3(e,a){do{var o=$_(e.alternate,e);if(o!==null){o.flags&=32767,$e=o;return}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!a&&(e=e.sibling,e!==null)){$e=e;return}$e=e=o}while(e!==null);Ft=6,$e=null}function C3(e,a,o,u,f,p,b,x,U,W){var ae=E.T,oe=ue.p;try{ue.p=2,E.T=null,iw(e,a,o,u,oe,f,p,b,x,U,W)}finally{E.T=ae,ue.p=oe}}function iw(e,a,o,u,f,p,b,x){do eo();while(ul!==null);if((zt&6)!==0)throw Error(t(327));var U=e.finishedWork;if(u=e.finishedLanes,U===null)return null;if(e.finishedWork=null,e.finishedLanes=0,U===e.current)throw Error(t(177));e.callbackNode=null,e.callbackPriority=0,e.cancelPendingCommit=null;var W=U.lanes|U.childLanes;if(W|=qf,Me(e,u,W,p,b,x),e===Rt&&($e=Rt=null,ot=0),(U.subtreeFlags&10256)===0&&(U.flags&10256)===0||Vu||(Vu=!0,Yd=W,Bd=o,uw(jt,function(){return eo(),null})),o=(U.flags&15990)!==0,(U.subtreeFlags&15990)!==0||o?(o=E.T,E.T=null,p=ue.p,ue.p=2,b=zt,zt|=4,Z_(e,U),c3(U,e),A_(a1,e.containerInfo),lc=!!r1,a1=r1=null,e.current=U,l3(e,U.alternate,U),ye(),zt=b,ue.p=p,E.T=o):e.current=U,Vu?(Vu=!1,ul=e,hs=u):R3(e,W),W=e.pendingLanes,W===0&&(yi=null),pn(U.stateNode),la(e),a!==null)for(f=e.onRecoverableError,U=0;U<a.length;U++)W=a[U],f(W.value,{componentStack:W.stack});return(hs&3)!==0&&eo(),W=e.pendingLanes,(u&4194218)!==0&&(W&42)!==0?e===jd?ps++:(ps=0,jd=e):ps=0,ms(0),null}function R3(e,a){(e.pooledCacheLanes&=a)===0&&(a=e.pooledCache,a!=null&&(e.pooledCache=null,Xo(a)))}function eo(){if(ul!==null){var e=ul,a=Yd;Yd=0;var o=Mt(hs),u=E.T,f=ue.p;try{if(ue.p=32>o?32:o,E.T=null,ul===null)var p=!1;else{o=Bd,Bd=null;var b=ul,x=hs;if(ul=null,hs=0,(zt&6)!==0)throw Error(t(331));var U=zt;if(zt|=4,m3(b.current),d3(b,b.current,x,o),zt=U,ms(0,!1),Pe&&typeof Pe.onPostCommitFiberRoot=="function")try{Pe.onPostCommitFiberRoot(Lt,b)}catch{}p=!0}return p}finally{ue.p=f,E.T=u,R3(e,a)}}return!1}function N3(e,a,o){a=mr(o,a),a=cd(e.stateNode,a,2),e=di(e,a,2),e!==null&&(he(e,2),la(e))}function Tt(e,a,o){if(e.tag===3)N3(e,e,o);else for(;a!==null;){if(a.tag===3){N3(a,e,o);break}else if(a.tag===1){var u=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(yi===null||!yi.has(u))){e=mr(o,e),o=qg(2),u=di(a,o,2),u!==null&&(Hg(o,u,a,e),he(u,2),la(u));break}}a=a.return}}function Wd(e,a,o){var u=e.pingCache;if(u===null){u=e.pingCache=new ew;var f=new Set;u.set(a,f)}else f=u.get(a),f===void 0&&(f=new Set,u.set(a,f));f.has(o)||(Hd=!0,f.add(o),e=lw.bind(null,e,a,o),a.then(e,e))}function lw(e,a,o){var u=e.pingCache;u!==null&&u.delete(a),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,Rt===e&&(ot&o)===o&&(Ft===4||Ft===3&&(ot&62914560)===ot&&300>Ce()-zd?(zt&2)===0&&$l(e,0):Ud|=o,Xl===ot&&(Xl=0)),la(e)}function k3(e,a){a===0&&(a=Kt()),e=ai(e,a),e!==null&&(he(e,a),la(e))}function ow(e){var a=e.memoizedState,o=0;a!==null&&(o=a.retryLane),k3(e,o)}function sw(e,a){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(a),k3(e,o)}function uw(e,a){return Hn(e,a)}var Qu=null,to=null,Zd=!1,Ku=!1,Qd=!1,cl=0;function la(e){e!==to&&e.next===null&&(to===null?Qu=to=e:to=to.next=e),Ku=!0,Zd||(Zd=!0,fw(cw))}function ms(e,a){if(!Qd&&Ku){Qd=!0;do for(var o=!1,u=Qu;u!==null;){if(e!==0){var f=u.pendingLanes;if(f===0)var p=0;else{var b=u.suspendedLanes,x=u.pingedLanes;p=(1<<31-Ot(42|e)+1)-1,p&=f&~(b&~x),p=p&201326677?p&201326677|1:p?p|2:0}p!==0&&(o=!0,H3(u,p))}else p=ot,p=yt(u,u===Rt?p:0),(p&3)===0||Ge(u,p)||(o=!0,H3(u,p));u=u.next}while(o);Qd=!1}}function cw(){Ku=Zd=!1;var e=0;cl!==0&&(bw()&&(e=cl),cl=0);for(var a=Ce(),o=null,u=Qu;u!==null;){var f=u.next,p=L3(u,a);p===0?(u.next=null,o===null?Qu=f:o.next=f,f===null&&(to=o)):(o=u,(e!==0||(p&3)!==0)&&(Ku=!0)),u=f}ms(e)}function L3(e,a){for(var o=e.suspendedLanes,u=e.pingedLanes,f=e.expirationTimes,p=e.pendingLanes&-62914561;0<p;){var b=31-Ot(p),x=1<<b,U=f[b];U===-1?((x&o)===0||(x&u)!==0)&&(f[b]=De(x,a)):U<=a&&(e.expiredLanes|=x),p&=~x}if(a=Rt,o=ot,o=yt(e,e===a?o:0),u=e.callbackNode,o===0||e===a&&Nt===2||e.cancelPendingCommit!==null)return u!==null&&u!==null&&Qn(u),e.callbackNode=null,e.callbackPriority=0;if((o&3)===0||Ge(e,o)){if(a=o&-o,a===e.callbackPriority)return a;switch(u!==null&&Qn(u),Mt(o)){case 2:case 8:o=Qt;break;case 32:o=jt;break;case 268435456:o=Pn;break;default:o=jt}return u=q3.bind(null,e),o=Hn(o,u),e.callbackPriority=a,e.callbackNode=o,a}return u!==null&&u!==null&&Qn(u),e.callbackPriority=2,e.callbackNode=null,2}function q3(e,a){var o=e.callbackNode;if(eo()&&e.callbackNode!==o)return null;var u=ot;return u=yt(e,e===Rt?u:0),u===0?null:(E3(e,u,a),L3(e,Ce()),e.callbackNode!=null&&e.callbackNode===o?q3.bind(null,e):null)}function H3(e,a){if(eo())return null;E3(e,a,!0)}function fw(e){ww(function(){(zt&6)!==0?Hn(nt,e):e()})}function Kd(){return cl===0&&(cl=Ie()),cl}function U3(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Cl(""+e)}function P3(e,a){var o=a.ownerDocument.createElement("input");return o.name=a.name,o.value=a.value,e.id&&o.setAttribute("form",e.id),a.parentNode.insertBefore(o,a),e=new FormData(e),o.parentNode.removeChild(o),e}function dw(e,a,o,u,f){if(a==="submit"&&o&&o.stateNode===f){var p=U3((f[be]||null).action),b=u.submitter;b&&(a=(a=b[be]||null)?U3(a.formAction):b.getAttribute("formAction"),a!==null&&(p=a,b=null));var x=new de("action","action",null,u,f);e.push({event:x,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(cl!==0){var U=b?P3(f,b):new FormData(f);id(o,{pending:!0,data:U,method:f.method,action:p},null,U)}}else typeof p=="function"&&(x.preventDefault(),U=b?P3(f,b):new FormData(f),id(o,{pending:!0,data:U,method:f.method,action:p},p,U))},currentTarget:f}]})}}for(var Xd=0;Xd<Cv.length;Xd++){var $d=Cv[Xd],hw=$d.toLowerCase(),pw=$d[0].toUpperCase()+$d.slice(1);qr(hw,"on"+pw)}qr(Tv,"onAnimationEnd"),qr(xv,"onAnimationIteration"),qr(Ov,"onAnimationStart"),qr("dblclick","onDoubleClick"),qr("focusin","onFocus"),qr("focusout","onBlur"),qr(R_,"onTransitionRun"),qr(N_,"onTransitionStart"),qr(k_,"onTransitionCancel"),qr(Mv,"onTransitionEnd"),_t("onMouseEnter",["mouseout","mouseover"]),_t("onMouseLeave",["mouseout","mouseover"]),_t("onPointerEnter",["pointerout","pointerover"]),_t("onPointerLeave",["pointerout","pointerover"]),Tn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Tn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Tn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Tn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Tn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Tn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vs="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(" "),mw=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(vs));function z3(e,a){a=(a&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(a)for(var b=u.length-1;0<=b;b--){var x=u[b],U=x.instance,W=x.currentTarget;if(x=x.listener,U!==p&&f.isPropagationStopped())break e;p=x,f.currentTarget=W;try{p(f)}catch(ae){Hu(ae)}f.currentTarget=null,p=U}else for(b=0;b<u.length;b++){if(x=u[b],U=x.instance,W=x.currentTarget,x=x.listener,U!==p&&f.isPropagationStopped())break e;p=x,f.currentTarget=W;try{p(f)}catch(ae){Hu(ae)}f.currentTarget=null,p=U}}}}function it(e,a){var o=a[At];o===void 0&&(o=a[At]=new Set);var u=e+"__bubble";o.has(u)||(Y3(a,e,2,!1),o.add(u))}function Jd(e,a,o){var u=0;a&&(u|=4),Y3(o,e,u,a)}var Xu="_reactListening"+Math.random().toString(36).slice(2);function e1(e){if(!e[Xu]){e[Xu]=!0,kt.forEach(function(o){o!=="selectionchange"&&(mw.has(o)||Jd(o,!1,e),Jd(o,!0,e))});var a=e.nodeType===9?e:e.ownerDocument;a===null||a[Xu]||(a[Xu]=!0,Jd("selectionchange",!1,a))}}function Y3(e,a,o,u){switch(u6(a)){case 2:var f=Bw;break;case 8:f=jw;break;default:f=h1}o=f.bind(null,a,o,e),f=void 0,!Nl||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(f=!0),u?f!==void 0?e.addEventListener(a,o,{capture:!0,passive:f}):e.addEventListener(a,o,!0):f!==void 0?e.addEventListener(a,o,{passive:f}):e.addEventListener(a,o,!1)}function t1(e,a,o,u,f){var p=u;if((a&1)===0&&(a&2)===0&&u!==null)e:for(;;){if(u===null)return;var b=u.tag;if(b===3||b===4){var x=u.stateNode.containerInfo;if(x===f||x.nodeType===8&&x.parentNode===f)break;if(b===4)for(b=u.return;b!==null;){var U=b.tag;if((U===3||U===4)&&(U=b.stateNode.containerInfo,U===f||U.nodeType===8&&U.parentNode===f))return;b=b.return}for(;x!==null;){if(b=le(x),b===null)return;if(U=b.tag,U===5||U===6||U===26||U===27){u=p=b;continue e}x=x.parentNode}}u=u.return}Ii(function(){var W=p,ae=ji(o),oe=[];e:{var te=Av.get(e);if(te!==void 0){var re=de,xe=e;switch(e){case"keypress":if(Gi(o)===0)break e;case"keydown":case"keyup":re=s_;break;case"focusin":xe="focus",re=xf;break;case"focusout":xe="blur",re=xf;break;case"beforeblur":case"afterblur":re=xf;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":re=ri;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":re=pu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":re=f_;break;case Tv:case xv:case Ov:re=J8;break;case Mv:re=h_;break;case"scroll":case"scrollend":re=Ct;break;case"wheel":re=m_;break;case"copy":case"cut":case"paste":re=t_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":re=lv;break;case"toggle":case"beforetoggle":re=g_}var Be=(a&4)!==0,Gt=!Be&&(e==="scroll"||e==="scrollend"),K=Be?te!==null?te+"Capture":null:te;Be=[];for(var V=W,ee;V!==null;){var ie=V;if(ee=ie.stateNode,ie=ie.tag,ie!==5&&ie!==26&&ie!==27||ee===null||K===null||(ie=ni(V,K),ie!=null&&Be.push(gs(V,ie,ee))),Gt)break;V=V.return}0<Be.length&&(te=new re(te,xe,null,o,ae),oe.push({event:te,listeners:Be}))}}if((a&7)===0){e:{if(te=e==="mouseover"||e==="pointerover",re=e==="mouseout"||e==="pointerout",te&&o!==Rl&&(xe=o.relatedTarget||o.fromElement)&&(le(xe)||xe[yn]))break e;if((re||te)&&(te=ae.window===ae?ae:(te=ae.ownerDocument)?te.defaultView||te.parentWindow:window,re?(xe=o.relatedTarget||o.toElement,re=W,xe=xe?le(xe):null,xe!==null&&(Gt=L(xe),Be=xe.tag,xe!==Gt||Be!==5&&Be!==27&&Be!==6)&&(xe=null)):(re=null,xe=W),re!==xe)){if(Be=ri,ie="onMouseLeave",K="onMouseEnter",V="mouse",(e==="pointerout"||e==="pointerover")&&(Be=lv,ie="onPointerLeave",K="onPointerEnter",V="pointer"),Gt=re==null?te:Ve(re),ee=xe==null?te:Ve(xe),te=new Be(ie,V+"leave",re,o,ae),te.target=Gt,te.relatedTarget=ee,ie=null,le(ae)===W&&(Be=new Be(K,V+"enter",xe,o,ae),Be.target=ee,Be.relatedTarget=Gt,ie=Be),Gt=ie,re&&xe)t:{for(Be=re,K=xe,V=0,ee=Be;ee;ee=no(ee))V++;for(ee=0,ie=K;ie;ie=no(ie))ee++;for(;0<V-ee;)Be=no(Be),V--;for(;0<ee-V;)K=no(K),ee--;for(;V--;){if(Be===K||K!==null&&Be===K.alternate)break t;Be=no(Be),K=no(K)}Be=null}else Be=null;re!==null&&B3(oe,te,re,Be,!1),xe!==null&&Gt!==null&&B3(oe,Gt,xe,Be,!0)}}e:{if(te=W?Ve(W):window,re=te.nodeName&&te.nodeName.toLowerCase(),re==="select"||re==="input"&&te.type==="file")var Se=pv;else if(dv(te))if(mv)Se=O_;else{Se=T_;var Ze=D_}else re=te.nodeName,!re||re.toLowerCase()!=="input"||te.type!=="checkbox"&&te.type!=="radio"?W&&Uo(W.elementType)&&(Se=pv):Se=x_;if(Se&&(Se=Se(e,W))){hv(oe,Se,o,ae);break e}Ze&&Ze(e,te,W),e==="focusout"&&W&&te.type==="number"&&W.memoizedProps.value!=null&&Yi(te,"number",te.value)}switch(Ze=W?Ve(W):window,e){case"focusin":(dv(Ze)||Ze.contentEditable==="true")&&(Ll=Ze,Nf=W,Io=null);break;case"focusout":Io=Nf=Ll=null;break;case"mousedown":kf=!0;break;case"contextmenu":case"mouseup":case"dragend":kf=!1,Sv(oe,o,ae);break;case"selectionchange":if(C_)break;case"keydown":case"keyup":Sv(oe,o,ae)}var Ae;if(Mf)e:{switch(e){case"compositionstart":var ke="onCompositionStart";break e;case"compositionend":ke="onCompositionEnd";break e;case"compositionupdate":ke="onCompositionUpdate";break e}ke=void 0}else kl?cv(e,o)&&(ke="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(ke="onCompositionStart");ke&&(ov&&o.locale!=="ko"&&(kl||ke!=="onCompositionStart"?ke==="onCompositionEnd"&&kl&&(Ae=Po()):(Lr=ae,rr="value"in Lr?Lr.value:Lr.textContent,kl=!0)),Ze=$u(W,ke),0<Ze.length&&(ke=new iv(ke,e,null,o,ae),oe.push({event:ke,listeners:Ze}),Ae?ke.data=Ae:(Ae=fv(o),Ae!==null&&(ke.data=Ae)))),(Ae=b_?__(e,o):w_(e,o))&&(ke=$u(W,"onBeforeInput"),0<ke.length&&(Ze=new iv("onBeforeInput","beforeinput",null,o,ae),oe.push({event:Ze,listeners:ke}),Ze.data=Ae)),dw(oe,e,W,o,ae)}z3(oe,a)})}function gs(e,a,o){return{instance:e,listener:a,currentTarget:o}}function $u(e,a){for(var o=a+"Capture",u=[];e!==null;){var f=e,p=f.stateNode;f=f.tag,f!==5&&f!==26&&f!==27||p===null||(f=ni(e,o),f!=null&&u.unshift(gs(e,f,p)),f=ni(e,a),f!=null&&u.push(gs(e,f,p))),e=e.return}return u}function no(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function B3(e,a,o,u,f){for(var p=a._reactName,b=[];o!==null&&o!==u;){var x=o,U=x.alternate,W=x.stateNode;if(x=x.tag,U!==null&&U===u)break;x!==5&&x!==26&&x!==27||W===null||(U=W,f?(W=ni(o,p),W!=null&&b.unshift(gs(o,W,U))):f||(W=ni(o,p),W!=null&&b.push(gs(o,W,U)))),o=o.return}b.length!==0&&e.push({event:a,listeners:b})}var vw=/\r\n?/g,gw=/\u0000|\uFFFD/g;function j3(e){return(typeof e=="string"?e:""+e).replace(vw,`
`).replace(gw,"")}function I3(e,a){return a=j3(a),j3(e)===a}function Ju(){}function Dt(e,a,o,u,f,p){switch(o){case"children":typeof u=="string"?a==="body"||a==="textarea"&&u===""||kr(e,u):(typeof u=="number"||typeof u=="bigint")&&a!=="body"&&kr(e,""+u);break;case"className":ea(e,"class",u);break;case"tabIndex":ea(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":ea(e,o,u);break;case"style":fu(e,u,p);break;case"data":if(a!=="object"){ea(e,"data",u);break}case"src":case"href":if(u===""&&(a!=="a"||o!=="href")){e.removeAttribute(o);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(o);break}u=Cl(""+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"?(a!=="input"&&Dt(e,a,"name",f.name,f,null),Dt(e,a,"formEncType",f.formEncType,f,null),Dt(e,a,"formMethod",f.formMethod,f,null),Dt(e,a,"formTarget",f.formTarget,f,null)):(Dt(e,a,"encType",f.encType,f,null),Dt(e,a,"method",f.method,f,null),Dt(e,a,"target",f.target,f,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(o);break}u=Cl(""+u),e.setAttribute(o,u);break;case"onClick":u!=null&&(e.onclick=Ju);break;case"onScroll":u!=null&&it("scroll",e);break;case"onScrollEnd":u!=null&&it("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=Cl(""+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":it("beforetoggle",e),it("toggle",e),Ja(e,"popover",u);break;case"xlinkActuate":kn(e,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":kn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":kn(e,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":kn(e,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":kn(e,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":kn(e,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":kn(e,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":kn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":kn(e,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":Ja(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=rn.get(o)||o,Ja(e,o,u))}}function n1(e,a,o,u,f,p){switch(o){case"style":fu(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"?kr(e,u):(typeof u=="number"||typeof u=="bigint")&&kr(e,""+u);break;case"onScroll":u!=null&&it("scroll",e);break;case"onScrollEnd":u!=null&&it("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(!Dn.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(f=o.endsWith("Capture"),a=o.slice(2,f?o.length-7:void 0),p=e[be]||null,p=p!=null?p[o]:null,typeof p=="function"&&e.removeEventListener(a,p,f),typeof u=="function")){typeof p!="function"&&p!==null&&(o in e?e[o]=null:e.hasAttribute(o)&&e.removeAttribute(o)),e.addEventListener(a,u,f);break e}o in e?e[o]=u:u===!0?e.setAttribute(o,""):Ja(e,o,u)}}}function Rn(e,a,o){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":it("error",e),it("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,a));default:Dt(e,a,p,b,o,null)}}f&&Dt(e,a,"srcSet",o.srcSet,o,null),u&&Dt(e,a,"src",o.src,o,null);return;case"input":it("invalid",e);var x=p=b=f=null,U=null,W=null;for(u in o)if(o.hasOwnProperty(u)){var ae=o[u];if(ae!=null)switch(u){case"name":f=ae;break;case"type":b=ae;break;case"checked":U=ae;break;case"defaultChecked":W=ae;break;case"value":p=ae;break;case"defaultValue":x=ae;break;case"children":case"dangerouslySetInnerHTML":if(ae!=null)throw Error(t(137,a));break;default:Dt(e,a,u,ae,o,null)}}wa(e,p,x,U,W,b,f,!1),Pi(e);return;case"select":it("invalid",e),u=b=p=null;for(f in o)if(o.hasOwnProperty(f)&&(x=o[f],x!=null))switch(f){case"value":p=x;break;case"defaultValue":b=x;break;case"multiple":u=x;default:Dt(e,a,f,x,o,null)}a=p,o=b,e.multiple=!!u,a!=null?ta(e,!!u,a,!1):o!=null&&ta(e,!!u,o,!0);return;case"textarea":it("invalid",e),p=f=u=null;for(b in o)if(o.hasOwnProperty(b)&&(x=o[b],x!=null))switch(b){case"value":u=x;break;case"defaultValue":f=x;break;case"children":p=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(t(91));break;default:Dt(e,a,b,x,o,null)}Bi(e,u,f,p),Pi(e);return;case"option":for(U in o)if(o.hasOwnProperty(U)&&(u=o[U],u!=null))switch(U){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:Dt(e,a,U,u,o,null)}return;case"dialog":it("cancel",e),it("close",e);break;case"iframe":case"object":it("load",e);break;case"video":case"audio":for(u=0;u<vs.length;u++)it(vs[u],e);break;case"image":it("error",e),it("load",e);break;case"details":it("toggle",e);break;case"embed":case"source":case"link":it("error",e),it("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(W in o)if(o.hasOwnProperty(W)&&(u=o[W],u!=null))switch(W){case"children":case"dangerouslySetInnerHTML":throw Error(t(137,a));default:Dt(e,a,W,u,o,null)}return;default:if(Uo(a)){for(ae in o)o.hasOwnProperty(ae)&&(u=o[ae],u!==void 0&&n1(e,a,ae,u,o,void 0));return}}for(x in o)o.hasOwnProperty(x)&&(u=o[x],u!=null&&Dt(e,a,x,u,o,null))}function yw(e,a,o,u){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,p=null,b=null,x=null,U=null,W=null,ae=null;for(re in o){var oe=o[re];if(o.hasOwnProperty(re)&&oe!=null)switch(re){case"checked":break;case"value":break;case"defaultValue":U=oe;default:u.hasOwnProperty(re)||Dt(e,a,re,null,u,oe)}}for(var te in u){var re=u[te];if(oe=o[te],u.hasOwnProperty(te)&&(re!=null||oe!=null))switch(te){case"type":p=re;break;case"name":f=re;break;case"checked":W=re;break;case"defaultChecked":ae=re;break;case"value":b=re;break;case"defaultValue":x=re;break;case"children":case"dangerouslySetInnerHTML":if(re!=null)throw Error(t(137,a));break;default:re!==oe&&Dt(e,a,te,re,u,oe)}}nr(e,b,x,U,W,ae,p,f);return;case"select":re=b=x=te=null;for(p in o)if(U=o[p],o.hasOwnProperty(p)&&U!=null)switch(p){case"value":break;case"multiple":re=U;default:u.hasOwnProperty(p)||Dt(e,a,p,null,u,U)}for(f in u)if(p=u[f],U=o[f],u.hasOwnProperty(f)&&(p!=null||U!=null))switch(f){case"value":te=p;break;case"defaultValue":x=p;break;case"multiple":b=p;default:p!==U&&Dt(e,a,f,p,u,U)}a=x,o=b,u=re,te!=null?ta(e,!!o,te,!1):!!u!=!!o&&(a!=null?ta(e,!!o,a,!0):ta(e,!!o,o?[]:"",!1));return;case"textarea":re=te=null;for(x in o)if(f=o[x],o.hasOwnProperty(x)&&f!=null&&!u.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Dt(e,a,x,null,u,f)}for(b in u)if(f=u[b],p=o[b],u.hasOwnProperty(b)&&(f!=null||p!=null))switch(b){case"value":te=f;break;case"defaultValue":re=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(t(91));break;default:f!==p&&Dt(e,a,b,f,u,p)}cu(e,te,re);return;case"option":for(var xe in o)if(te=o[xe],o.hasOwnProperty(xe)&&te!=null&&!u.hasOwnProperty(xe))switch(xe){case"selected":e.selected=!1;break;default:Dt(e,a,xe,null,u,te)}for(U in u)if(te=u[U],re=o[U],u.hasOwnProperty(U)&&te!==re&&(te!=null||re!=null))switch(U){case"selected":e.selected=te&&typeof te!="function"&&typeof te!="symbol";break;default:Dt(e,a,U,te,u,re)}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 Be in o)te=o[Be],o.hasOwnProperty(Be)&&te!=null&&!u.hasOwnProperty(Be)&&Dt(e,a,Be,null,u,te);for(W in u)if(te=u[W],re=o[W],u.hasOwnProperty(W)&&te!==re&&(te!=null||re!=null))switch(W){case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(t(137,a));break;default:Dt(e,a,W,te,u,re)}return;default:if(Uo(a)){for(var Gt in o)te=o[Gt],o.hasOwnProperty(Gt)&&te!==void 0&&!u.hasOwnProperty(Gt)&&n1(e,a,Gt,void 0,u,te);for(ae in u)te=u[ae],re=o[ae],!u.hasOwnProperty(ae)||te===re||te===void 0&&re===void 0||n1(e,a,ae,te,u,re);return}}for(var K in o)te=o[K],o.hasOwnProperty(K)&&te!=null&&!u.hasOwnProperty(K)&&Dt(e,a,K,null,u,te);for(oe in u)te=u[oe],re=o[oe],!u.hasOwnProperty(oe)||te===re||te==null&&re==null||Dt(e,a,oe,te,u,re)}var r1=null,a1=null;function ec(e){return e.nodeType===9?e:e.ownerDocument}function F3(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 G3(e,a){if(e===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&a==="foreignObject"?0:e}function i1(e,a){return e==="textarea"||e==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var l1=null;function bw(){var e=window.event;return e&&e.type==="popstate"?e===l1?!1:(l1=e,!0):(l1=null,!1)}var V3=typeof setTimeout=="function"?setTimeout:void 0,_w=typeof clearTimeout=="function"?clearTimeout:void 0,W3=typeof Promise=="function"?Promise:void 0,ww=typeof queueMicrotask=="function"?queueMicrotask:typeof W3<"u"?function(e){return W3.resolve(null).then(e).catch(Ew)}:V3;function Ew(e){setTimeout(function(){throw e})}function o1(e,a){var o=a,u=0;do{var f=o.nextSibling;if(e.removeChild(o),f&&f.nodeType===8)if(o=f.data,o==="/$"){if(u===0){e.removeChild(f),Ts(a);return}u--}else o!=="$"&&o!=="$?"&&o!=="$!"||u++;o=f}while(o);Ts(a)}function s1(e){var a=e.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var o=a;switch(a=a.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":s1(o),Y(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}e.removeChild(o)}}function Sw(e,a,o,u){for(;e.nodeType===1;){var f=o;if(e.nodeName.toLowerCase()!==a.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[_e])switch(a){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?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(a==="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=Pr(e.nextSibling),e===null)break}return null}function Dw(e,a,o){if(a==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!o||(e=Pr(e.nextSibling),e===null))return null;return e}function Pr(e){for(;e!=null;e=e.nextSibling){var a=e.nodeType;if(a===1||a===3)break;if(a===8){if(a=e.data,a==="$"||a==="$!"||a==="$?"||a==="F!"||a==="F")break;if(a==="/$")return null}}return e}function Z3(e){e=e.previousSibling;for(var a=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(a===0)return e;a--}else o==="/$"&&a++}e=e.previousSibling}return null}function Q3(e,a,o){switch(a=ec(o),e){case"html":if(e=a.documentElement,!e)throw Error(t(452));return e;case"head":if(e=a.head,!e)throw Error(t(453));return e;case"body":if(e=a.body,!e)throw Error(t(454));return e;default:throw Error(t(451))}}var Sr=new Map,K3=new Set;function tc(e){return typeof e.getRootNode=="function"?e.getRootNode():e.ownerDocument}var za=ue.d;ue.d={f:Tw,r:xw,D:Ow,C:Mw,L:Aw,m:Cw,X:Nw,S:Rw,M:kw};function Tw(){var e=za.f(),a=Wu();return e||a}function xw(e){var a=me(e);a!==null&&a.tag===5&&a.type==="form"?Sg(a):za.r(e)}var ro=typeof document>"u"?null:document;function X3(e,a,o){var u=ro;if(u&&typeof a=="string"&&a){var f=On(a);f='link[rel="'+e+'"][href="'+f+'"]',typeof o=="string"&&(f+='[crossorigin="'+o+'"]'),K3.has(f)||(K3.add(f),e={rel:e,crossOrigin:o,href:a},u.querySelector(f)===null&&(a=u.createElement("link"),Rn(a,"link",e),Ye(a),u.head.appendChild(a)))}}function Ow(e){za.D(e),X3("dns-prefetch",e,null)}function Mw(e,a){za.C(e,a),X3("preconnect",e,a)}function Aw(e,a,o){za.L(e,a,o);var u=ro;if(u&&e&&a){var f='link[rel="preload"][as="'+On(a)+'"]';a==="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(a){case"style":p=ao(e);break;case"script":p=io(e)}Sr.has(p)||(e=D({rel:"preload",href:a==="image"&&o&&o.imageSrcSet?void 0:e,as:a},o),Sr.set(p,e),u.querySelector(f)!==null||a==="style"&&u.querySelector(ys(p))||a==="script"&&u.querySelector(bs(p))||(a=u.createElement("link"),Rn(a,"link",e),Ye(a),u.head.appendChild(a)))}}function Cw(e,a){za.m(e,a);var o=ro;if(o&&e){var u=a&&typeof a.as=="string"?a.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=io(e)}if(!Sr.has(p)&&(e=D({rel:"modulepreload",href:e},a),Sr.set(p,e),o.querySelector(f)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(bs(p)))return}u=o.createElement("link"),Rn(u,"link",e),Ye(u),o.head.appendChild(u)}}}function Rw(e,a,o){za.S(e,a,o);var u=ro;if(u&&e){var f=ft(u).hoistableStyles,p=ao(e);a=a||"default";var b=f.get(p);if(!b){var x={loading:0,preload:null};if(b=u.querySelector(ys(p)))x.loading=5;else{e=D({rel:"stylesheet",href:e,"data-precedence":a},o),(o=Sr.get(p))&&u1(e,o);var U=b=u.createElement("link");Ye(U),Rn(U,"link",e),U._p=new Promise(function(W,ae){U.onload=W,U.onerror=ae}),U.addEventListener("load",function(){x.loading|=1}),U.addEventListener("error",function(){x.loading|=2}),x.loading|=4,nc(b,a,u)}b={type:"stylesheet",instance:b,count:1,state:x},f.set(p,b)}}}function Nw(e,a){za.X(e,a);var o=ro;if(o&&e){var u=ft(o).hoistableScripts,f=io(e),p=u.get(f);p||(p=o.querySelector(bs(f)),p||(e=D({src:e,async:!0},a),(a=Sr.get(f))&&c1(e,a),p=o.createElement("script"),Ye(p),Rn(p,"link",e),o.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},u.set(f,p))}}function kw(e,a){za.M(e,a);var o=ro;if(o&&e){var u=ft(o).hoistableScripts,f=io(e),p=u.get(f);p||(p=o.querySelector(bs(f)),p||(e=D({src:e,async:!0,type:"module"},a),(a=Sr.get(f))&&c1(e,a),p=o.createElement("script"),Ye(p),Rn(p,"link",e),o.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},u.set(f,p))}}function $3(e,a,o,u){var f=(f=Xe.current)?tc(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"?(a=ao(o.href),o=ft(f).hoistableStyles,u=o.get(a),u||(u={type:"style",instance:null,count:0,state:null},o.set(a,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=ao(o.href);var p=ft(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(ys(e)))&&!p._p&&(b.instance=p,b.state.loading=5),Sr.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},Sr.set(e,o),p||Lw(f,e,o,b.state))),a&&u===null)throw Error(t(528,""));return b}if(a&&u!==null)throw Error(t(529,""));return null;case"script":return a=o.async,o=o.src,typeof o=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=io(o),o=ft(f).hoistableScripts,u=o.get(a),u||(u={type:"script",instance:null,count:0,state:null},o.set(a,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(t(444,e))}}function ao(e){return'href="'+On(e)+'"'}function ys(e){return'link[rel="stylesheet"]['+e+"]"}function J3(e){return D({},e,{"data-precedence":e.precedence,precedence:null})}function Lw(e,a,o,u){e.querySelector('link[rel="preload"][as="style"]['+a+"]")?u.loading=1:(a=e.createElement("link"),u.preload=a,a.addEventListener("load",function(){return u.loading|=1}),a.addEventListener("error",function(){return u.loading|=2}),Rn(a,"link",o),Ye(a),e.head.appendChild(a))}function io(e){return'[src="'+On(e)+'"]'}function bs(e){return"script[async]"+e}function e6(e,a,o){if(a.count++,a.instance===null)switch(a.type){case"style":var u=e.querySelector('style[data-href~="'+On(o.href)+'"]');if(u)return a.instance=u,Ye(u),u;var f=D({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),Ye(u),Rn(u,"style",f),nc(u,o.precedence,e),a.instance=u;case"stylesheet":f=ao(o.href);var p=e.querySelector(ys(f));if(p)return a.state.loading|=4,a.instance=p,Ye(p),p;u=J3(o),(f=Sr.get(f))&&u1(u,f),p=(e.ownerDocument||e).createElement("link"),Ye(p);var b=p;return b._p=new Promise(function(x,U){b.onload=x,b.onerror=U}),Rn(p,"link",u),a.state.loading|=4,nc(p,o.precedence,e),a.instance=p;case"script":return p=io(o.src),(f=e.querySelector(bs(p)))?(a.instance=f,Ye(f),f):(u=o,(f=Sr.get(p))&&(u=D({},o),c1(u,f)),e=e.ownerDocument||e,f=e.createElement("script"),Ye(f),Rn(f,"link",u),e.head.appendChild(f),a.instance=f);case"void":return null;default:throw Error(t(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(u=a.instance,a.state.loading|=4,nc(u,o.precedence,e));return a.instance}function nc(e,a,o){for(var u=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=u.length?u[u.length-1]:null,p=f,b=0;b<u.length;b++){var x=u[b];if(x.dataset.precedence===a)p=x;else if(p!==f)break}p?p.parentNode.insertBefore(e,p.nextSibling):(a=o.nodeType===9?o.head:o,a.insertBefore(e,a.firstChild))}function u1(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.title==null&&(e.title=a.title)}function c1(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.integrity==null&&(e.integrity=a.integrity)}var rc=null;function t6(e,a,o){if(rc===null){var u=new Map,f=rc=new Map;f.set(o,u)}else f=rc,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[_e]||p[at]||e==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!=="http://www.w3.org/2000/svg"){var b=p.getAttribute(a)||"";b=e+b;var x=u.get(b);x?x.push(p):u.set(b,[p])}}return u}function n6(e,a,o){e=e.ownerDocument||e,e.head.insertBefore(o,a==="title"?e.querySelector("head > title"):null)}function qw(e,a,o){if(o===1||a.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return e=a.disabled,typeof a.precedence=="string"&&e==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function r6(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var _s=null;function Hw(){}function Uw(e,a,o){if(_s===null)throw Error(t(475));var u=_s;if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var f=ao(o.href),p=e.querySelector(ys(f));if(p){e=p._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(u.count++,u=ac.bind(u),e.then(u,u)),a.state.loading|=4,a.instance=p,Ye(p);return}p=e.ownerDocument||e,o=J3(o),(f=Sr.get(f))&&u1(o,f),p=p.createElement("link"),Ye(p);var b=p;b._p=new Promise(function(x,U){b.onload=x,b.onerror=U}),Rn(p,"link",o),a.instance=p}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&3)===0&&(u.count++,a=ac.bind(u),e.addEventListener("load",a),e.addEventListener("error",a))}}function Pw(){if(_s===null)throw Error(t(475));var e=_s;return e.stylesheets&&e.count===0&&f1(e,e.stylesheets),0<e.count?function(a){var o=setTimeout(function(){if(e.stylesheets&&f1(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(o)}}:null}function ac(){if(this.count--,this.count===0){if(this.stylesheets)f1(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ic=null;function f1(e,a){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ic=new Map,a.forEach(zw,e),ic=null,ac.call(e))}function zw(e,a){if(!(a.state.loading&4)){var o=ic.get(e);if(o)var u=o.get(null);else{o=new Map,ic.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=a.instance,b=f.getAttribute("data-precedence"),p=o.get(b)||u,p===u&&o.set(null,f),o.set(b,f),this.count++,u=ac.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)),a.state.loading|=4}}var ws={$$typeof:S,Provider:null,Consumer:null,_currentValue:ce,_currentValue2:ce,_threadCount:0};function Yw(e,a,o,u,f,p,b,x){this.tag=1,this.containerInfo=e,this.finishedWork=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=pt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pt(0),this.hiddenUpdates=pt(null),this.identifierPrefix=u,this.onUncaughtError=f,this.onCaughtError=p,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map}function a6(e,a,o,u,f,p,b,x,U,W,ae,oe){return e=new Yw(e,a,o,b,x,U,W,oe),a=1,p===!0&&(a|=24),p=wr(3,null,null,a),e.current=p,p.stateNode=e,a=If(),a.refCount++,e.pooledCache=a,a.refCount++,p.memoizedState={element:u,isDehydrated:o,cache:a},Sd(p),e}function i6(e){return e?(e=Ul,e):Ul}function l6(e,a,o,u,f,p){f=i6(f),u.context===null?u.context=f:u.pendingContext=f,u=fi(a),u.payload={element:o},p=p===void 0?null:p,p!==null&&(u.callback=p),o=di(e,u,a),o!==null&&(In(o,e,a),as(o,e,a))}function o6(e,a){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<a?o:a}}function d1(e,a){o6(e,a),(e=e.alternate)&&o6(e,a)}function s6(e){if(e.tag===13){var a=ai(e,67108864);a!==null&&In(a,e,67108864),d1(e,67108864)}}var lc=!0;function Bw(e,a,o,u){var f=E.T;E.T=null;var p=ue.p;try{ue.p=2,h1(e,a,o,u)}finally{ue.p=p,E.T=f}}function jw(e,a,o,u){var f=E.T;E.T=null;var p=ue.p;try{ue.p=8,h1(e,a,o,u)}finally{ue.p=p,E.T=f}}function h1(e,a,o,u){if(lc){var f=p1(u);if(f===null)t1(e,a,u,oc,o),c6(e,u);else if(Fw(f,e,a,o,u))u.stopPropagation();else if(c6(e,u),a&4&&-1<Iw.indexOf(e)){for(;f!==null;){var p=me(f);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var b=nn(p.pendingLanes);if(b!==0){var x=p;for(x.pendingLanes|=2,x.entangledLanes|=2;b;){var U=1<<31-Ot(b);x.entanglements[1]|=U,b&=~U}la(p),(zt&6)===0&&(Fu=Ce()+500,ms(0))}}break;case 13:x=ai(p,2),x!==null&&In(x,p,2),Wu(),d1(p,2)}if(p=p1(u),p===null&&t1(e,a,u,oc,o),p===f)break;f=p}f!==null&&u.stopPropagation()}else t1(e,a,u,null,o)}}function p1(e){return e=ji(e),m1(e)}var oc=null;function m1(e){if(oc=null,e=le(e),e!==null){var a=L(e);if(a===null)e=null;else{var o=a.tag;if(o===13){if(e=J(a),e!==null)return e;e=null}else if(o===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;e=null}else a!==e&&(e=null)}}return oc=e,null}function u6(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(Ne()){case nt:return 2;case Qt:return 8;case jt:case Un:return 32;case Pn:return 268435456;default:return 32}default:return 32}}var v1=!1,bi=null,_i=null,wi=null,Es=new Map,Ss=new Map,Ei=[],Iw="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 c6(e,a){switch(e){case"focusin":case"focusout":bi=null;break;case"dragenter":case"dragleave":_i=null;break;case"mouseover":case"mouseout":wi=null;break;case"pointerover":case"pointerout":Es.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ss.delete(a.pointerId)}}function Ds(e,a,o,u,f,p){return e===null||e.nativeEvent!==p?(e={blockedOn:a,domEventName:o,eventSystemFlags:u,nativeEvent:p,targetContainers:[f]},a!==null&&(a=me(a),a!==null&&s6(a)),e):(e.eventSystemFlags|=u,a=e.targetContainers,f!==null&&a.indexOf(f)===-1&&a.push(f),e)}function Fw(e,a,o,u,f){switch(a){case"focusin":return bi=Ds(bi,e,a,o,u,f),!0;case"dragenter":return _i=Ds(_i,e,a,o,u,f),!0;case"mouseover":return wi=Ds(wi,e,a,o,u,f),!0;case"pointerover":var p=f.pointerId;return Es.set(p,Ds(Es.get(p)||null,e,a,o,u,f)),!0;case"gotpointercapture":return p=f.pointerId,Ss.set(p,Ds(Ss.get(p)||null,e,a,o,u,f)),!0}return!1}function f6(e){var a=le(e.target);if(a!==null){var o=L(a);if(o!==null){if(a=o.tag,a===13){if(a=J(o),a!==null){e.blockedOn=a,gn(e.priority,function(){if(o.tag===13){var u=sr(),f=ai(o,u);f!==null&&In(f,o,u),d1(o,u)}});return}}else if(a===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function sc(e){if(e.blockedOn!==null)return!1;for(var a=e.targetContainers;0<a.length;){var o=p1(e.nativeEvent);if(o===null){o=e.nativeEvent;var u=new o.constructor(o.type,o);Rl=u,o.target.dispatchEvent(u),Rl=null}else return a=me(o),a!==null&&s6(a),e.blockedOn=o,!1;a.shift()}return!0}function d6(e,a,o){sc(e)&&o.delete(a)}function Gw(){v1=!1,bi!==null&&sc(bi)&&(bi=null),_i!==null&&sc(_i)&&(_i=null),wi!==null&&sc(wi)&&(wi=null),Es.forEach(d6),Ss.forEach(d6)}function uc(e,a){e.blockedOn===a&&(e.blockedOn=null,v1||(v1=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Gw)))}var cc=null;function h6(e){cc!==e&&(cc=e,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){cc===e&&(cc=null);for(var a=0;a<e.length;a+=3){var o=e[a],u=e[a+1],f=e[a+2];if(typeof u!="function"){if(m1(u||o)===null)continue;break}var p=me(o);p!==null&&(e.splice(a,3),a-=3,id(p,{pending:!0,data:f,method:o.method,action:u},u,f))}}))}function Ts(e){function a(U){return uc(U,e)}bi!==null&&uc(bi,e),_i!==null&&uc(_i,e),wi!==null&&uc(wi,e),Es.forEach(a),Ss.forEach(a);for(var o=0;o<Ei.length;o++){var u=Ei[o];u.blockedOn===e&&(u.blockedOn=null)}for(;0<Ei.length&&(o=Ei[0],o.blockedOn===null);)f6(o),o.blockedOn===null&&Ei.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||h6(o);else if(b){var x=null;if(p&&p.hasAttribute("formAction")){if(f=p,b=p[be]||null)x=b.formAction;else if(m1(f)!==null)continue}else x=b.action;typeof x=="function"?o[u+1]=x:(o.splice(u,3),u-=3),h6(o)}}}function g1(e){this._internalRoot=e}fc.prototype.render=g1.prototype.render=function(e){var a=this._internalRoot;if(a===null)throw Error(t(409));var o=a.current,u=sr();l6(o,u,e,a,null,null)},fc.prototype.unmount=g1.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var a=e.containerInfo;e.tag===0&&eo(),l6(e.current,2,null,e,null,null),Wu(),a[yn]=null}};function fc(e){this._internalRoot=e}fc.prototype.unstable_scheduleHydration=function(e){if(e){var a=vn();e={blockedOn:null,target:e,priority:a};for(var o=0;o<Ei.length&&a!==0&&a<Ei[o].priority;o++);Ei.splice(o,0,e),o===0&&f6(e)}};var p6=i.version;if(p6!=="19.0.0")throw Error(t(527,p6,"19.0.0"));ue.findDOMNode=function(e){var a=e._reactInternals;if(a===void 0)throw typeof e.render=="function"?Error(t(188)):(e=Object.keys(e).join(","),Error(t(268,e)));return e=I(a),e=e!==null?fe(e):null,e=e===null?null:e.stateNode,e};var Vw={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:E,findFiberByHostInstance:le,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var dc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!dc.isDisabled&&dc.supportsFiber)try{Lt=dc.inject(Vw),Pe=dc}catch{}}return Os.createRoot=function(e,a){if(!l(e))throw Error(t(299));var o=!1,u="",f=Rg,p=Ng,b=kg,x=null;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(u=a.identifierPrefix),a.onUncaughtError!==void 0&&(f=a.onUncaughtError),a.onCaughtError!==void 0&&(p=a.onCaughtError),a.onRecoverableError!==void 0&&(b=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(x=a.unstable_transitionCallbacks)),a=a6(e,1,!1,null,null,o,u,f,p,b,x,null),e[yn]=a.current,e1(e.nodeType===8?e.parentNode:e),new g1(a)},Os.hydrateRoot=function(e,a,o){if(!l(e))throw Error(t(299));var u=!1,f="",p=Rg,b=Ng,x=kg,U=null,W=null;return o!=null&&(o.unstable_strictMode===!0&&(u=!0),o.identifierPrefix!==void 0&&(f=o.identifierPrefix),o.onUncaughtError!==void 0&&(p=o.onUncaughtError),o.onCaughtError!==void 0&&(b=o.onCaughtError),o.onRecoverableError!==void 0&&(x=o.onRecoverableError),o.unstable_transitionCallbacks!==void 0&&(U=o.unstable_transitionCallbacks),o.formState!==void 0&&(W=o.formState)),a=a6(e,1,!0,a,o??null,u,f,p,b,x,U,W),a.context=i6(null),o=a.current,u=sr(),f=fi(u),f.callback=null,di(o,f,u),a.current.lanes=u,he(a,u),la(a),e[yn]=a.current,e1(e),new fc(a)},Os.version="19.0.0",Os}var D6;function aE(){if(D6)return b1.exports;D6=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}return r(),b1.exports=rE(),b1.exports}var iE=aE(),y=h2();const G=hr(y),lE=Kw({__proto__:null,default:G},[y]);/*! @license DOMPurify 3.2.4 | (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.4/LICENSE */var D1,T6;function x6(){if(T6)return D1;T6=1;const{entries:r,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(ye){return ye}),c||(c=function(ye){return ye}),h||(h=function(ye,Ce,Ne){return ye.apply(Ce,Ne)}),m||(m=function(ye,Ce){return new ye(...Ce)});const v=w(Array.prototype.forEach),g=w(Array.prototype.lastIndexOf),_=w(Array.prototype.pop),S=w(Array.prototype.push),T=w(Array.prototype.splice),A=w(String.prototype.toLowerCase),C=w(String.prototype.toString),N=w(String.prototype.match),O=w(String.prototype.replace),B=w(String.prototype.indexOf),Q=w(String.prototype.trim),$=w(Object.prototype.hasOwnProperty),ne=w(RegExp.prototype.test),Z=E(TypeError);function w(Ue){return function(ye){for(var Ce=arguments.length,Ne=new Array(Ce>1?Ce-1:0),nt=1;nt<Ce;nt++)Ne[nt-1]=arguments[nt];return h(Ue,ye,Ne)}}function E(Ue){return function(){for(var ye=arguments.length,Ce=new Array(ye),Ne=0;Ne<ye;Ne++)Ce[Ne]=arguments[Ne];return m(Ue,Ce)}}function D(Ue,ye){let Ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:A;i&&i(Ue,null);let Ne=ye.length;for(;Ne--;){let nt=ye[Ne];if(typeof nt=="string"){const Qt=Ce(nt);Qt!==nt&&(n(ye)||(ye[Ne]=Qt),nt=Qt)}Ue[nt]=!0}return Ue}function k(Ue){for(let ye=0;ye<Ue.length;ye++)$(Ue,ye)||(Ue[ye]=null);return Ue}function q(Ue){const ye=d(null);for(const[Ce,Ne]of r(Ue))$(Ue,Ce)&&(Array.isArray(Ne)?ye[Ce]=k(Ne):Ne&&typeof Ne=="object"&&Ne.constructor===Object?ye[Ce]=q(Ne):ye[Ce]=Ne);return ye}function z(Ue,ye){for(;Ue!==null;){const Ne=l(Ue,ye);if(Ne){if(Ne.get)return w(Ne.get);if(typeof Ne.value=="function")return w(Ne.value)}Ue=t(Ue)}function Ce(){return null}return Ce}const j=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"]),M=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"]),P=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"]),J=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),R=s(["#text"]),I=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"]),fe=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"]),se=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"]),ue=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),ze=c(/\$\{[\w\W]*/gm),Oe=c(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ke=c(/^aria-[\-\w]+$/),He=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),et=c(/^(?:\w+script|data):/i),xt=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Xe=c(/^html$/i),lt=c(/^[a-z][.\w]*(-[.\w]+)+$/i);var Le=Object.freeze({__proto__:null,ARIA_ATTR:Ke,ATTR_WHITESPACE:xt,CUSTOM_ELEMENT:lt,DATA_ATTR:Oe,DOCTYPE_NAME:Xe,ERB_EXPR:pe,IS_ALLOWED_URI:He,IS_SCRIPT_OR_DATA:et,MUSTACHE_EXPR:ce,TMPLIT_EXPR:ze});const Zt={element:1,text:3,progressingInstruction:7,comment:8,document:9},tn=function(){return typeof window>"u"?null:window},cn=function(ye,Ce){if(typeof ye!="object"||typeof ye.createPolicy!="function")return null;let Ne=null;const nt="data-tt-policy-suffix";Ce&&Ce.hasAttribute(nt)&&(Ne=Ce.getAttribute(nt));const Qt="dompurify"+(Ne?"#"+Ne:"");try{return ye.createPolicy(Qt,{createHTML(jt){return jt},createScriptURL(jt){return jt}})}catch{return console.warn("TrustedTypes policy "+Qt+" could not be created."),null}},tt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Hn(){let Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tn();const ye=ge=>Hn(ge);if(ye.version="3.2.4",ye.removed=[],!Ue||!Ue.document||Ue.document.nodeType!==Zt.document||!Ue.Element)return ye.isSupported=!1,ye;let{document:Ce}=Ue;const Ne=Ce,nt=Ne.currentScript,{DocumentFragment:Qt,HTMLTemplateElement:jt,Node:Un,Element:Pn,NodeFilter:Sn,NamedNodeMap:Kn=Ue.NamedNodeMap||Ue.MozNamedAttrMap,HTMLFormElement:Lt,DOMParser:Pe,trustedTypes:pn}=Ue,qt=Pn.prototype,Ot=z(qt,"cloneNode"),Nr=z(qt,"remove"),zn=z(qt,"nextSibling"),Yn=z(qt,"childNodes"),mn=z(qt,"parentNode");if(typeof jt=="function"){const ge=Ce.createElement("template");ge.content&&ge.content.ownerDocument&&(Ce=ge.content.ownerDocument)}let ct,nn="";const{implementation:yt,createNodeIterator:Ge,createDocumentFragment:De,getElementsByTagName:Ie}=Ce,{importNode:Kt}=Ne;let pt=tt();ye.isSupported=typeof r=="function"&&typeof mn=="function"&&yt&&yt.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:he,ERB_EXPR:Me,TMPLIT_EXPR:Re,DATA_ATTR:rt,ARIA_ATTR:Mt,IS_SCRIPT_OR_DATA:vn,ATTR_WHITESPACE:gn,CUSTOM_ELEMENT:vt}=Le;let{IS_ALLOWED_URI:at}=Le,be=null;const yn=D({},[...j,...H,...M,...L,...R]);let At=null;const Jr=D({},[...I,...fe,...se,...ue]);let bt=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}})),tr=null,_e=null,Y=!0,le=!0,me=!1,Ve=!0,ft=!1,Ye=!0,kt=!1,Dn=!1,Tn=!1,_t=!1,xn=!1,_a=!1,Lo=!0,qo=!1;const Df="user-content-";let Ja=!0,ea=!1,kn={},fn=null;const Ho=D({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let uu=null;const Pi=D({},["audio","video","img","source","image","track"]);let Ml=null;const zi=D({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Al="http://www.w3.org/1998/Math/MathML",On="http://www.w3.org/2000/svg",nr="http://www.w3.org/1999/xhtml";let wa=nr,Yi=!1,ta=null;const cu=D({},[Al,On,nr],C);let Bi=D({},["mi","mo","mn","ms","mtext"]),kr=D({},["annotation-xml"]);const Tf=D({},["title","style","font","a","script"]);let ei=null;const fu=["application/xhtml+xml","text/html"],Uo="text/html";let rn=null,ti=null;const Cl=Ce.createElement("form"),Rl=function(F){return F instanceof RegExp||F instanceof Function},ji=function(){let F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ti&&ti===F)){if((!F||typeof F!="object")&&(F={}),F=q(F),ei=fu.indexOf(F.PARSER_MEDIA_TYPE)===-1?Uo:F.PARSER_MEDIA_TYPE,rn=ei==="application/xhtml+xml"?C:A,be=$(F,"ALLOWED_TAGS")?D({},F.ALLOWED_TAGS,rn):yn,At=$(F,"ALLOWED_ATTR")?D({},F.ALLOWED_ATTR,rn):Jr,ta=$(F,"ALLOWED_NAMESPACES")?D({},F.ALLOWED_NAMESPACES,C):cu,Ml=$(F,"ADD_URI_SAFE_ATTR")?D(q(zi),F.ADD_URI_SAFE_ATTR,rn):zi,uu=$(F,"ADD_DATA_URI_TAGS")?D(q(Pi),F.ADD_DATA_URI_TAGS,rn):Pi,fn=$(F,"FORBID_CONTENTS")?D({},F.FORBID_CONTENTS,rn):Ho,tr=$(F,"FORBID_TAGS")?D({},F.FORBID_TAGS,rn):{},_e=$(F,"FORBID_ATTR")?D({},F.FORBID_ATTR,rn):{},kn=$(F,"USE_PROFILES")?F.USE_PROFILES:!1,Y=F.ALLOW_ARIA_ATTR!==!1,le=F.ALLOW_DATA_ATTR!==!1,me=F.ALLOW_UNKNOWN_PROTOCOLS||!1,Ve=F.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ft=F.SAFE_FOR_TEMPLATES||!1,Ye=F.SAFE_FOR_XML!==!1,kt=F.WHOLE_DOCUMENT||!1,_t=F.RETURN_DOM||!1,xn=F.RETURN_DOM_FRAGMENT||!1,_a=F.RETURN_TRUSTED_TYPE||!1,Tn=F.FORCE_BODY||!1,Lo=F.SANITIZE_DOM!==!1,qo=F.SANITIZE_NAMED_PROPS||!1,Ja=F.KEEP_CONTENT!==!1,ea=F.IN_PLACE||!1,at=F.ALLOWED_URI_REGEXP||He,wa=F.NAMESPACE||nr,Bi=F.MATHML_TEXT_INTEGRATION_POINTS||Bi,kr=F.HTML_INTEGRATION_POINTS||kr,bt=F.CUSTOM_ELEMENT_HANDLING||{},F.CUSTOM_ELEMENT_HANDLING&&Rl(F.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(bt.tagNameCheck=F.CUSTOM_ELEMENT_HANDLING.tagNameCheck),F.CUSTOM_ELEMENT_HANDLING&&Rl(F.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(bt.attributeNameCheck=F.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),F.CUSTOM_ELEMENT_HANDLING&&typeof F.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(bt.allowCustomizedBuiltInElements=F.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ft&&(le=!1),xn&&(_t=!0),kn&&(be=D({},R),At=[],kn.html===!0&&(D(be,j),D(At,I)),kn.svg===!0&&(D(be,H),D(At,fe),D(At,ue)),kn.svgFilters===!0&&(D(be,M),D(At,fe),D(At,ue)),kn.mathMl===!0&&(D(be,L),D(At,se),D(At,ue))),F.ADD_TAGS&&(be===yn&&(be=q(be)),D(be,F.ADD_TAGS,rn)),F.ADD_ATTR&&(At===Jr&&(At=q(At)),D(At,F.ADD_ATTR,rn)),F.ADD_URI_SAFE_ATTR&&D(Ml,F.ADD_URI_SAFE_ATTR,rn),F.FORBID_CONTENTS&&(fn===Ho&&(fn=q(fn)),D(fn,F.FORBID_CONTENTS,rn)),Ja&&(be["#text"]=!0),kt&&D(be,["html","head","body"]),be.table&&(D(be,["tbody"]),delete tr.tbody),F.TRUSTED_TYPES_POLICY){if(typeof F.TRUSTED_TYPES_POLICY.createHTML!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof F.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ct=F.TRUSTED_TYPES_POLICY,nn=ct.createHTML("")}else ct===void 0&&(ct=cn(pn,nt)),ct!==null&&typeof nn=="string"&&(nn=ct.createHTML(""));s&&s(F),ti=F}},Ea=D({},[...H,...M,...P]),Sa=D({},[...L,...J]),du=function(F){let de=mn(F);(!de||!de.tagName)&&(de={namespaceURI:wa,tagName:"template"});const Ee=A(F.tagName),Ct=A(de.tagName);return ta[F.namespaceURI]?F.namespaceURI===On?de.namespaceURI===nr?Ee==="svg":de.namespaceURI===Al?Ee==="svg"&&(Ct==="annotation-xml"||Bi[Ct]):!!Ea[Ee]:F.namespaceURI===Al?de.namespaceURI===nr?Ee==="math":de.namespaceURI===On?Ee==="math"&&kr[Ct]:!!Sa[Ee]:F.namespaceURI===nr?de.namespaceURI===On&&!kr[Ct]||de.namespaceURI===Al&&!Bi[Ct]?!1:!Sa[Ee]&&(Tf[Ee]||!Ea[Ee]):!!(ei==="application/xhtml+xml"&&ta[F.namespaceURI]):!1},Xn=function(F){S(ye.removed,{element:F});try{mn(F).removeChild(F)}catch{Nr(F)}},Ii=function(F,de){try{S(ye.removed,{attribute:de.getAttributeNode(F),from:de})}catch{S(ye.removed,{attribute:null,from:de})}if(de.removeAttribute(F),F==="is")if(_t||xn)try{Xn(de)}catch{}else try{de.setAttribute(F,"")}catch{}},ni=function(F){let de=null,Ee=null;if(Tn)F="<remove></remove>"+F;else{const Xt=N(F,/^[\r\n\t ]+/);Ee=Xt&&Xt[0]}ei==="application/xhtml+xml"&&wa===nr&&(F='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+F+"</body></html>");const Ct=ct?ct.createHTML(F):F;if(wa===nr)try{de=new Pe().parseFromString(Ct,ei)}catch{}if(!de||!de.documentElement){de=yt.createDocument(wa,"template",null);try{de.documentElement.innerHTML=Yi?nn:Ct}catch{}}const an=de.body||de.documentElement;return F&&Ee&&an.insertBefore(Ce.createTextNode(Ee),an.childNodes[0]||null),wa===nr?Ie.call(de,kt?"html":"body")[0]:kt?de.documentElement:an},Nl=function(F){return Ge.call(F.ownerDocument||F,F,Sn.SHOW_ELEMENT|Sn.SHOW_COMMENT|Sn.SHOW_TEXT|Sn.SHOW_PROCESSING_INSTRUCTION|Sn.SHOW_CDATA_SECTION,null)},Da=function(F){return F instanceof Lt&&(typeof F.nodeName!="string"||typeof F.textContent!="string"||typeof F.removeChild!="function"||!(F.attributes instanceof Kn)||typeof F.removeAttribute!="function"||typeof F.setAttribute!="function"||typeof F.namespaceURI!="string"||typeof F.insertBefore!="function"||typeof F.hasChildNodes!="function")},Lr=function(F){return typeof Un=="function"&&F instanceof Un};function rr(ge,F,de){v(ge,Ee=>{Ee.call(ye,F,de,ti)})}const Fi=function(F){let de=null;if(rr(pt.beforeSanitizeElements,F,null),Da(F))return Xn(F),!0;const Ee=rn(F.nodeName);if(rr(pt.uponSanitizeElement,F,{tagName:Ee,allowedTags:be}),F.hasChildNodes()&&!Lr(F.firstElementChild)&&ne(/<[/\w]/g,F.innerHTML)&&ne(/<[/\w]/g,F.textContent)||F.nodeType===Zt.progressingInstruction||Ye&&F.nodeType===Zt.comment&&ne(/<[/\w]/g,F.data))return Xn(F),!0;if(!be[Ee]||tr[Ee]){if(!tr[Ee]&&Gi(Ee)&&(bt.tagNameCheck instanceof RegExp&&ne(bt.tagNameCheck,Ee)||bt.tagNameCheck instanceof Function&&bt.tagNameCheck(Ee)))return!1;if(Ja&&!fn[Ee]){const Ct=mn(F)||F.parentNode,an=Yn(F)||F.childNodes;if(an&&Ct){const Xt=an.length;for(let ln=Xt-1;ln>=0;--ln){const Bn=Ot(an[ln],!0);Bn.__removalCount=(F.__removalCount||0)+1,Ct.insertBefore(Bn,zn(F))}}}return Xn(F),!0}return F instanceof Pn&&!du(F)||(Ee==="noscript"||Ee==="noembed"||Ee==="noframes")&&ne(/<\/no(script|embed|frames)/i,F.innerHTML)?(Xn(F),!0):(ft&&F.nodeType===Zt.text&&(de=F.textContent,v([he,Me,Re],Ct=>{de=O(de,Ct," ")}),F.textContent!==de&&(S(ye.removed,{element:F.cloneNode()}),F.textContent=de)),rr(pt.afterSanitizeElements,F,null),!1)},Po=function(F,de,Ee){if(Lo&&(de==="id"||de==="name")&&(Ee in Ce||Ee in Cl))return!1;if(!(le&&!_e[de]&&ne(rt,de))){if(!(Y&&ne(Mt,de))){if(!At[de]||_e[de]){if(!(Gi(F)&&(bt.tagNameCheck instanceof RegExp&&ne(bt.tagNameCheck,F)||bt.tagNameCheck instanceof Function&&bt.tagNameCheck(F))&&(bt.attributeNameCheck instanceof RegExp&&ne(bt.attributeNameCheck,de)||bt.attributeNameCheck instanceof Function&&bt.attributeNameCheck(de))||de==="is"&&bt.allowCustomizedBuiltInElements&&(bt.tagNameCheck instanceof RegExp&&ne(bt.tagNameCheck,Ee)||bt.tagNameCheck instanceof Function&&bt.tagNameCheck(Ee))))return!1}else if(!Ml[de]){if(!ne(at,O(Ee,gn,""))){if(!((de==="src"||de==="xlink:href"||de==="href")&&F!=="script"&&B(Ee,"data:")===0&&uu[F])){if(!(me&&!ne(vn,O(Ee,gn,"")))){if(Ee)return!1}}}}}}return!0},Gi=function(F){return F!=="annotation-xml"&&N(F,vt)},Vi=function(F){rr(pt.beforeSanitizeAttributes,F,null);const{attributes:de}=F;if(!de||Da(F))return;const Ee={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:At,forceKeepAttr:void 0};let Ct=de.length;for(;Ct--;){const an=de[Ct],{name:Xt,namespaceURI:ln,value:Bn}=an,ri=rn(Xt);let Mn=Xt==="value"?Bn:Q(Bn);if(Ee.attrName=ri,Ee.attrValue=Mn,Ee.keepAttr=!0,Ee.forceKeepAttr=void 0,rr(pt.uponSanitizeAttribute,F,Ee),Mn=Ee.attrValue,qo&&(ri==="id"||ri==="name")&&(Ii(Xt,F),Mn=Df+Mn),Ye&&ne(/((--!?|])>)|<\/(style|title)/i,Mn)){Ii(Xt,F);continue}if(Ee.forceKeepAttr||(Ii(Xt,F),!Ee.keepAttr))continue;if(!Ve&&ne(/\/>/i,Mn)){Ii(Xt,F);continue}ft&&v([he,Me,Re],mu=>{Mn=O(Mn,mu," ")});const pu=rn(F.nodeName);if(Po(pu,ri,Mn)){if(ct&&typeof pn=="object"&&typeof pn.getAttributeType=="function"&&!ln)switch(pn.getAttributeType(pu,ri)){case"TrustedHTML":{Mn=ct.createHTML(Mn);break}case"TrustedScriptURL":{Mn=ct.createScriptURL(Mn);break}}try{ln?F.setAttributeNS(ln,Xt,Mn):F.setAttribute(Xt,Mn),Da(F)?Xn(F):_(ye.removed)}catch{}}}rr(pt.afterSanitizeAttributes,F,null)},hu=function ge(F){let de=null;const Ee=Nl(F);for(rr(pt.beforeSanitizeShadowDOM,F,null);de=Ee.nextNode();)rr(pt.uponSanitizeShadowNode,de,null),Fi(de),Vi(de),de.content instanceof Qt&&ge(de.content);rr(pt.afterSanitizeShadowDOM,F,null)};return ye.sanitize=function(ge){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},de=null,Ee=null,Ct=null,an=null;if(Yi=!ge,Yi&&(ge="<!-->"),typeof ge!="string"&&!Lr(ge))if(typeof ge.toString=="function"){if(ge=ge.toString(),typeof ge!="string")throw Z("dirty is not a string, aborting")}else throw Z("toString is not a function");if(!ye.isSupported)return ge;if(Dn||ji(F),ye.removed=[],typeof ge=="string"&&(ea=!1),ea){if(ge.nodeName){const Bn=rn(ge.nodeName);if(!be[Bn]||tr[Bn])throw Z("root node is forbidden and cannot be sanitized in-place")}}else if(ge instanceof Un)de=ni("<!---->"),Ee=de.ownerDocument.importNode(ge,!0),Ee.nodeType===Zt.element&&Ee.nodeName==="BODY"||Ee.nodeName==="HTML"?de=Ee:de.appendChild(Ee);else{if(!_t&&!ft&&!kt&&ge.indexOf("<")===-1)return ct&&_a?ct.createHTML(ge):ge;if(de=ni(ge),!de)return _t?null:_a?nn:""}de&&Tn&&Xn(de.firstChild);const Xt=Nl(ea?ge:de);for(;Ct=Xt.nextNode();)Fi(Ct),Vi(Ct),Ct.content instanceof Qt&&hu(Ct.content);if(ea)return ge;if(_t){if(xn)for(an=De.call(de.ownerDocument);de.firstChild;)an.appendChild(de.firstChild);else an=de;return(At.shadowroot||At.shadowrootmode)&&(an=Kt.call(Ne,an,!0)),an}let ln=kt?de.outerHTML:de.innerHTML;return kt&&be["!doctype"]&&de.ownerDocument&&de.ownerDocument.doctype&&de.ownerDocument.doctype.name&&ne(Xe,de.ownerDocument.doctype.name)&&(ln="<!DOCTYPE "+de.ownerDocument.doctype.name+`>
`+ln),ft&&v([he,Me,Re],Bn=>{ln=O(ln,Bn," ")}),ct&&_a?ct.createHTML(ln):ln},ye.setConfig=function(){let ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ji(ge),Dn=!0},ye.clearConfig=function(){ti=null,Dn=!1},ye.isValidAttribute=function(ge,F,de){ti||ji({});const Ee=rn(ge),Ct=rn(F);return Po(Ee,Ct,de)},ye.addHook=function(ge,F){typeof F=="function"&&S(pt[ge],F)},ye.removeHook=function(ge,F){if(F!==void 0){const de=g(pt[ge],F);return de===-1?void 0:T(pt[ge],de,1)[0]}return _(pt[ge])},ye.removeHooks=function(ge){pt[ge]=[]},ye.removeAllHooks=function(){pt=tt()},ye}var Qn=Hn();return D1=Qn,D1}var T1,O6;function oE(){return O6||(O6=1,T1=window.DOMPurify||(window.DOMPurify=x6().default||x6())),T1}var sE=oE();const uE=hr(sE),po=Math.min,vl=Math.max,zc=Math.round,pc=Math.floor,ha=r=>({x:r,y:r}),cE={left:"right",right:"left",bottom:"top",top:"bottom"},fE={start:"end",end:"start"};function Nm(r,i,n){return vl(r,po(i,n))}function Xs(r,i){return typeof r=="function"?r(i):r}function bl(r){return r.split("-")[0]}function $s(r){return r.split("-")[1]}function Kb(r){return r==="x"?"y":"x"}function p2(r){return r==="y"?"height":"width"}function mo(r){return["top","bottom"].includes(bl(r))?"y":"x"}function m2(r){return Kb(mo(r))}function dE(r,i,n){n===void 0&&(n=!1);const t=$s(r),l=m2(r),s=p2(l);let c=l==="x"?t===(n?"end":"start")?"right":"left":t==="start"?"bottom":"top";return i.reference[s]>i.floating[s]&&(c=Yc(c)),[c,Yc(c)]}function hE(r){const i=Yc(r);return[km(r),i,km(i)]}function km(r){return r.replace(/start|end/g,i=>fE[i])}function pE(r,i,n){const t=["left","right"],l=["right","left"],s=["top","bottom"],c=["bottom","top"];switch(r){case"top":case"bottom":return n?i?l:t:i?t:l;case"left":case"right":return i?s:c;default:return[]}}function mE(r,i,n,t){const l=$s(r);let s=pE(bl(r),n==="start",t);return l&&(s=s.map(c=>c+"-"+l),i&&(s=s.concat(s.map(km)))),s}function Yc(r){return r.replace(/left|right|bottom|top/g,i=>cE[i])}function vE(r){return{top:0,right:0,bottom:0,left:0,...r}}function Xb(r){return typeof r!="number"?vE(r):{top:r,right:r,bottom:r,left:r}}function vo(r){const{x:i,y:n,width:t,height:l}=r;return{width:t,height:l,top:n,left:i,right:i+t,bottom:n+l,x:i,y:n}}function M6(r,i,n){let{reference:t,floating:l}=r;const s=mo(i),c=m2(i),d=p2(c),h=bl(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 S;switch(h){case"top":S={x:v,y:t.y-l.height};break;case"bottom":S={x:v,y:t.y+t.height};break;case"right":S={x:t.x+t.width,y:g};break;case"left":S={x:t.x-l.width,y:g};break;default:S={x:t.x,y:t.y}}switch($s(i)){case"start":S[c]-=_*(n&&m?-1:1);break;case"end":S[c]+=_*(n&&m?-1:1);break}return S}const $b=async(r,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:r,floating:i,strategy:l}),{x:v,y:g}=M6(m,t,h),_=t,S={},T=0;for(let A=0;A<d.length;A++){const{name:C,fn:N}=d[A],{x:O,y:B,data:Q,reset:$}=await N({x:v,y:g,initialPlacement:t,placement:_,strategy:l,middlewareData:S,rects:m,platform:c,elements:{reference:r,floating:i}});v=O??v,g=B??g,S={...S,[C]:{...S[C],...Q}},$&&T<=50&&(T++,typeof $=="object"&&($.placement&&(_=$.placement),$.rects&&(m=$.rects===!0?await c.getElementRects({reference:r,floating:i,strategy:l}):$.rects),{x:v,y:g}=M6(m,_,h)),A=-1)}return{x:v,y:g,placement:_,strategy:l,middlewareData:S}};async function Jb(r,i){var n;i===void 0&&(i={});const{x:t,y:l,platform:s,rects:c,elements:d,strategy:h}=r,{boundary:m="clippingAncestors",rootBoundary:v="viewport",elementContext:g="floating",altBoundary:_=!1,padding:S=0}=Xs(i,r),T=Xb(S),C=d[_?g==="floating"?"reference":"floating":g],N=vo(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(C)))==null||n?C:C.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:m,rootBoundary:v,strategy:h})),O=g==="floating"?{x:t,y:l,width:c.floating.width,height:c.floating.height}:c.reference,B=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),Q=await(s.isElement==null?void 0:s.isElement(B))?await(s.getScale==null?void 0:s.getScale(B))||{x:1,y:1}:{x:1,y:1},$=vo(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:O,offsetParent:B,strategy:h}):O);return{top:(N.top-$.top+T.top)/Q.y,bottom:($.bottom-N.bottom+T.bottom)/Q.y,left:(N.left-$.left+T.left)/Q.x,right:($.right-N.right+T.right)/Q.x}}const e9=r=>({name:"arrow",options:r,async fn(i){const{x:n,y:t,placement:l,rects:s,platform:c,elements:d,middlewareData:h}=i,{element:m,padding:v=0}=Xs(r,i)||{};if(m==null)return{};const g=Xb(v),_={x:n,y:t},S=m2(l),T=p2(S),A=await c.getDimensions(m),C=S==="y",N=C?"top":"left",O=C?"bottom":"right",B=C?"clientHeight":"clientWidth",Q=s.reference[T]+s.reference[S]-_[S]-s.floating[T],$=_[S]-s.reference[S],ne=await(c.getOffsetParent==null?void 0:c.getOffsetParent(m));let Z=ne?ne[B]:0;(!Z||!await(c.isElement==null?void 0:c.isElement(ne)))&&(Z=d.floating[B]||s.floating[T]);const w=Q/2-$/2,E=Z/2-A[T]/2-1,D=po(g[N],E),k=po(g[O],E),q=D,z=Z-A[T]-k,j=Z/2-A[T]/2+w,H=Nm(q,j,z),M=!h.arrow&&$s(l)!=null&&j!==H&&s.reference[T]/2-(j<q?D:k)-A[T]/2<0,P=M?j<q?j-q:j-z:0;return{[S]:_[S]+P,data:{[S]:H,centerOffset:j-H-P,...M&&{alignmentOffset:P}},reset:M}}}),t9=function(r){return r===void 0&&(r={}),{name:"flip",options:r,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:S="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:A=!0,...C}=Xs(r,i);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const N=bl(l),O=mo(d),B=bl(d)===d,Q=await(h.isRTL==null?void 0:h.isRTL(m.floating)),$=_||(B||!A?[Yc(d)]:hE(d)),ne=T!=="none";!_&&ne&&$.push(...mE(d,A,T,Q));const Z=[d,...$],w=await Jb(i,C),E=[];let D=((t=s.flip)==null?void 0:t.overflows)||[];if(v&&E.push(w[N]),g){const j=dE(l,c,Q);E.push(w[j[0]],w[j[1]])}if(D=[...D,{placement:l,overflows:E}],!E.every(j=>j<=0)){var k,q;const j=(((k=s.flip)==null?void 0:k.index)||0)+1,H=Z[j];if(H)return{data:{index:j,overflows:D},reset:{placement:H}};let M=(q=D.filter(P=>P.overflows[0]<=0).sort((P,L)=>P.overflows[1]-L.overflows[1])[0])==null?void 0:q.placement;if(!M)switch(S){case"bestFit":{var z;const P=(z=D.filter(L=>{if(ne){const J=mo(L.placement);return J===O||J==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(J=>J>0).reduce((J,R)=>J+R,0)]).sort((L,J)=>L[1]-J[1])[0])==null?void 0:z[0];P&&(M=P);break}case"initialPlacement":M=d;break}if(l!==M)return{reset:{placement:M}}}return{}}}};async function gE(r,i){const{placement:n,platform:t,elements:l}=r,s=await(t.isRTL==null?void 0:t.isRTL(l.floating)),c=bl(n),d=$s(n),h=mo(n)==="y",m=["left","top"].includes(c)?-1:1,v=s&&h?-1:1,g=Xs(i,r);let{mainAxis:_,crossAxis:S,alignmentAxis:T}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return d&&typeof T=="number"&&(S=d==="end"?T*-1:T),h?{x:S*v,y:_*m}:{x:_*m,y:S*v}}const n9=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(i){var n,t;const{x:l,y:s,placement:c,middlewareData:d}=i,h=await gE(i,r);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}}}}},yE=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(i){const{x:n,y:t,placement:l}=i,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:C=>{let{x:N,y:O}=C;return{x:N,y:O}}},...h}=Xs(r,i),m={x:n,y:t},v=await Jb(i,h),g=mo(bl(l)),_=Kb(g);let S=m[_],T=m[g];if(s){const C=_==="y"?"top":"left",N=_==="y"?"bottom":"right",O=S+v[C],B=S-v[N];S=Nm(O,S,B)}if(c){const C=g==="y"?"top":"left",N=g==="y"?"bottom":"right",O=T+v[C],B=T-v[N];T=Nm(O,T,B)}const A=d.fn({...i,[_]:S,[g]:T});return{...A,data:{x:A.x-n,y:A.y-t,enabled:{[_]:s,[g]:c}}}}}};function tf(){return typeof window<"u"}function Do(r){return r9(r)?(r.nodeName||"").toLowerCase():"#document"}function fr(r){var i;return(r==null||(i=r.ownerDocument)==null?void 0:i.defaultView)||window}function ga(r){var i;return(i=(r9(r)?r.ownerDocument:r.document)||window.document)==null?void 0:i.documentElement}function r9(r){return tf()?r instanceof Node||r instanceof fr(r).Node:!1}function Fr(r){return tf()?r instanceof Element||r instanceof fr(r).Element:!1}function ma(r){return tf()?r instanceof HTMLElement||r instanceof fr(r).HTMLElement:!1}function A6(r){return!tf()||typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof fr(r).ShadowRoot}function Js(r){const{overflow:i,overflowX:n,overflowY:t,display:l}=Gr(r);return/auto|scroll|overlay|hidden|clip/.test(i+t+n)&&!["inline","contents"].includes(l)}function bE(r){return["table","td","th"].includes(Do(r))}function nf(r){return[":popover-open",":modal"].some(i=>{try{return r.matches(i)}catch{return!1}})}function v2(r){const i=g2(),n=Fr(r)?Gr(r):r;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!i&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!i&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(t=>(n.willChange||"").includes(t))||["paint","layout","strict","content"].some(t=>(n.contain||"").includes(t))}function _E(r){let i=Li(r);for(;ma(i)&&!go(i);){if(v2(i))return i;if(nf(i))return null;i=Li(i)}return null}function g2(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function go(r){return["html","body","#document"].includes(Do(r))}function Gr(r){return fr(r).getComputedStyle(r)}function rf(r){return Fr(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.scrollX,scrollTop:r.scrollY}}function Li(r){if(Do(r)==="html")return r;const i=r.assignedSlot||r.parentNode||A6(r)&&r.host||ga(r);return A6(i)?i.host:i}function a9(r){const i=Li(r);return go(i)?r.ownerDocument?r.ownerDocument.body:r.body:ma(i)&&Js(i)?i:a9(i)}function Vs(r,i,n){var t;i===void 0&&(i=[]),n===void 0&&(n=!0);const l=a9(r),s=l===((t=r.ownerDocument)==null?void 0:t.body),c=fr(l);if(s){const d=Lm(c);return i.concat(c,c.visualViewport||[],Js(l)?l:[],d&&n?Vs(d):[])}return i.concat(l,Vs(l,[],n))}function Lm(r){return r.parent&&Object.getPrototypeOf(r.parent)?r.frameElement:null}function i9(r){const i=Gr(r);let n=parseFloat(i.width)||0,t=parseFloat(i.height)||0;const l=ma(r),s=l?r.offsetWidth:n,c=l?r.offsetHeight:t,d=zc(n)!==s||zc(t)!==c;return d&&(n=s,t=c),{width:n,height:t,$:d}}function y2(r){return Fr(r)?r:r.contextElement}function uo(r){const i=y2(r);if(!ma(i))return ha(1);const n=i.getBoundingClientRect(),{width:t,height:l,$:s}=i9(i);let c=(s?zc(n.width):n.width)/t,d=(s?zc(n.height):n.height)/l;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}const wE=ha(0);function l9(r){const i=fr(r);return!g2()||!i.visualViewport?wE:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function EE(r,i,n){return i===void 0&&(i=!1),!n||i&&n!==fr(r)?!1:i}function _l(r,i,n,t){i===void 0&&(i=!1),n===void 0&&(n=!1);const l=r.getBoundingClientRect(),s=y2(r);let c=ha(1);i&&(t?Fr(t)&&(c=uo(t)):c=uo(r));const d=EE(s,n,t)?l9(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 _=fr(s),S=t&&Fr(t)?fr(t):t;let T=_,A=Lm(T);for(;A&&t&&S!==T;){const C=uo(A),N=A.getBoundingClientRect(),O=Gr(A),B=N.left+(A.clientLeft+parseFloat(O.paddingLeft))*C.x,Q=N.top+(A.clientTop+parseFloat(O.paddingTop))*C.y;h*=C.x,m*=C.y,v*=C.x,g*=C.y,h+=B,m+=Q,T=fr(A),A=Lm(T)}}return vo({width:v,height:g,x:h,y:m})}function b2(r,i){const n=rf(r).scrollLeft;return i?i.left+n:_l(ga(r)).left+n}function o9(r,i,n){n===void 0&&(n=!1);const t=r.getBoundingClientRect(),l=t.left+i.scrollLeft-(n?0:b2(r,t)),s=t.top+i.scrollTop;return{x:l,y:s}}function SE(r){let{elements:i,rect:n,offsetParent:t,strategy:l}=r;const s=l==="fixed",c=ga(t),d=i?nf(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)&&((Do(t)!=="body"||Js(c))&&(h=rf(t)),ma(t))){const S=_l(t);m=uo(t),v.x=S.x+t.clientLeft,v.y=S.y+t.clientTop}const _=c&&!g&&!s?o9(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 DE(r){return Array.from(r.getClientRects())}function TE(r){const i=ga(r),n=rf(r),t=r.ownerDocument.body,l=vl(i.scrollWidth,i.clientWidth,t.scrollWidth,t.clientWidth),s=vl(i.scrollHeight,i.clientHeight,t.scrollHeight,t.clientHeight);let c=-n.scrollLeft+b2(r);const d=-n.scrollTop;return Gr(t).direction==="rtl"&&(c+=vl(i.clientWidth,t.clientWidth)-l),{width:l,height:s,x:c,y:d}}function xE(r,i){const n=fr(r),t=ga(r),l=n.visualViewport;let s=t.clientWidth,c=t.clientHeight,d=0,h=0;if(l){s=l.width,c=l.height;const m=g2();(!m||m&&i==="fixed")&&(d=l.offsetLeft,h=l.offsetTop)}return{width:s,height:c,x:d,y:h}}function OE(r,i){const n=_l(r,!0,i==="fixed"),t=n.top+r.clientTop,l=n.left+r.clientLeft,s=ma(r)?uo(r):ha(1),c=r.clientWidth*s.x,d=r.clientHeight*s.y,h=l*s.x,m=t*s.y;return{width:c,height:d,x:h,y:m}}function C6(r,i,n){let t;if(i==="viewport")t=xE(r,n);else if(i==="document")t=TE(ga(r));else if(Fr(i))t=OE(i,n);else{const l=l9(r);t={x:i.x-l.x,y:i.y-l.y,width:i.width,height:i.height}}return vo(t)}function s9(r,i){const n=Li(r);return n===i||!Fr(n)||go(n)?!1:Gr(n).position==="fixed"||s9(n,i)}function ME(r,i){const n=i.get(r);if(n)return n;let t=Vs(r,[],!1).filter(d=>Fr(d)&&Do(d)!=="body"),l=null;const s=Gr(r).position==="fixed";let c=s?Li(r):r;for(;Fr(c)&&!go(c);){const d=Gr(c),h=v2(c);!h&&d.position==="fixed"&&(l=null),(s?!h&&!l:!h&&d.position==="static"&&!!l&&["absolute","fixed"].includes(l.position)||Js(c)&&!h&&s9(r,c))?t=t.filter(v=>v!==c):l=d,c=Li(c)}return i.set(r,t),t}function AE(r){let{element:i,boundary:n,rootBoundary:t,strategy:l}=r;const c=[...n==="clippingAncestors"?nf(i)?[]:ME(i,this._c):[].concat(n),t],d=c[0],h=c.reduce((m,v)=>{const g=C6(i,v,l);return m.top=vl(g.top,m.top),m.right=po(g.right,m.right),m.bottom=po(g.bottom,m.bottom),m.left=vl(g.left,m.left),m},C6(i,d,l));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function CE(r){const{width:i,height:n}=i9(r);return{width:i,height:n}}function RE(r,i,n){const t=ma(i),l=ga(i),s=n==="fixed",c=_l(r,!0,s,i);let d={scrollLeft:0,scrollTop:0};const h=ha(0);if(t||!t&&!s)if((Do(i)!=="body"||Js(l))&&(d=rf(i)),t){const _=_l(i,!0,s,i);h.x=_.x+i.clientLeft,h.y=_.y+i.clientTop}else l&&(h.x=b2(l));const m=l&&!t&&!s?o9(l,d):ha(0),v=c.left+d.scrollLeft-h.x-m.x,g=c.top+d.scrollTop-h.y-m.y;return{x:v,y:g,width:c.width,height:c.height}}function x1(r){return Gr(r).position==="static"}function R6(r,i){if(!ma(r)||Gr(r).position==="fixed")return null;if(i)return i(r);let n=r.offsetParent;return ga(r)===n&&(n=n.ownerDocument.body),n}function u9(r,i){const n=fr(r);if(nf(r))return n;if(!ma(r)){let l=Li(r);for(;l&&!go(l);){if(Fr(l)&&!x1(l))return l;l=Li(l)}return n}let t=R6(r,i);for(;t&&bE(t)&&x1(t);)t=R6(t,i);return t&&go(t)&&x1(t)&&!v2(t)?n:t||_E(r)||n}const NE=async function(r){const i=this.getOffsetParent||u9,n=this.getDimensions,t=await n(r.floating);return{reference:RE(r.reference,await i(r.floating),r.strategy),floating:{x:0,y:0,width:t.width,height:t.height}}};function kE(r){return Gr(r).direction==="rtl"}const LE={convertOffsetParentRelativeRectToViewportRelativeRect:SE,getDocumentElement:ga,getClippingRect:AE,getOffsetParent:u9,getElementRects:NE,getClientRects:DE,getDimensions:CE,getScale:uo,isElement:Fr,isRTL:kE};function qE(r,i){let n=null,t;const l=ga(r);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{left:m,top:v,width:g,height:_}=r.getBoundingClientRect();if(d||i(),!g||!_)return;const S=pc(v),T=pc(l.clientWidth-(m+g)),A=pc(l.clientHeight-(v+_)),C=pc(m),O={rootMargin:-S+"px "+-T+"px "+-A+"px "+-C+"px",threshold:vl(0,po(1,h))||1};let B=!0;function Q($){const ne=$[0].intersectionRatio;if(ne!==h){if(!B)return c();ne?c(!1,ne):t=setTimeout(()=>{c(!1,1e-7)},1e3)}B=!1}try{n=new IntersectionObserver(Q,{...O,root:l.ownerDocument})}catch{n=new IntersectionObserver(Q,O)}n.observe(r)}return c(!0),s}function HE(r,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=y2(r),v=l||s?[...m?Vs(m):[],...Vs(i)]:[];v.forEach(N=>{l&&N.addEventListener("scroll",n,{passive:!0}),s&&N.addEventListener("resize",n)});const g=m&&d?qE(m,n):null;let _=-1,S=null;c&&(S=new ResizeObserver(N=>{let[O]=N;O&&O.target===m&&S&&(S.unobserve(i),cancelAnimationFrame(_),_=requestAnimationFrame(()=>{var B;(B=S)==null||B.observe(i)})),n()}),m&&!h&&S.observe(m),S.observe(i));let T,A=h?_l(r):null;h&&C();function C(){const N=_l(r);A&&(N.x!==A.x||N.y!==A.y||N.width!==A.width||N.height!==A.height)&&n(),A=N,T=requestAnimationFrame(C)}return n(),()=>{var N;v.forEach(O=>{l&&O.removeEventListener("scroll",n),s&&O.removeEventListener("resize",n)}),g==null||g(),(N=S)==null||N.disconnect(),S=null,h&&cancelAnimationFrame(T)}}const UE=n9,PE=yE,zE=t9,YE=e9,N6=(r,i,n)=>{const t=new Map,l={platform:LE,...n},s={...l.platform,_c:t};return $b(r,i,{...l,platform:s})};var O1={exports:{}};/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/var k6;function BE(){return k6||(k6=1,function(r){(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}r.exports?(n.default=n,r.exports=n):window.classNames=n})()}(O1)),O1.exports}var jE=BE();const qm=hr(jE);var L6={};const IE="react-tooltip-core-styles",FE="react-tooltip-base-styles",q6={core:!1,base:!1};function H6({css:r,id:i=FE,type:n="base",ref:t}){var l,s;if(!r||typeof document>"u"||q6[n]||n==="core"&&typeof process<"u"&&(!((l=process==null?void 0:L6)===null||l===void 0)&&l.REACT_TOOLTIP_DISABLE_CORE_STYLES)||n!=="base"&&typeof process<"u"&&(!((s=process==null?void 0:L6)===null||s===void 0)&&s.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;n==="core"&&(i=IE),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=r:h.appendChild(document.createTextNode(r)),q6[n]=!0}const U6=async({elementReference:r=null,tooltipReference:i=null,tooltipArrowReference:n=null,place:t="top",offset:l=10,strategy:s="absolute",middlewares:c=[UE(Number(l)),zE({fallbackAxisSideDirection:"start"}),PE({padding:5})],border:d})=>{if(!r)return{tooltipStyles:{},tooltipArrowStyles:{},place:t};if(i===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:t};const h=c;return n?(h.push(YE({element:n,padding:5})),N6(r,i,{placement:t,strategy:s,middleware:h}).then(({x:m,y:v,placement:g,middlewareData:_})=>{var S,T;const A={left:`${m}px`,top:`${v}px`,border:d},{x:C,y:N}=(S=_.arrow)!==null&&S!==void 0?S:{x:0,y:0},O=(T={top:"bottom",right:"left",bottom:"top",left:"right"}[g.split("-")[0]])!==null&&T!==void 0?T:"bottom",B=d&&{borderBottom:d,borderRight:d};let Q=0;if(d){const $=`${d}`.match(/(\d+)px/);Q=$!=null&&$[1]?Number($[1]):1}return{tooltipStyles:A,tooltipArrowStyles:{left:C!=null?`${C}px`:"",top:N!=null?`${N}px`:"",right:"",bottom:"",...B,[O]:`-${4+Q}px`},place:g}})):N6(r,i,{placement:"bottom",strategy:s,middleware:h}).then(({x:m,y:v,placement:g})=>({tooltipStyles:{left:`${m}px`,top:`${v}px`},tooltipArrowStyles:{},place:g}))},P6=(r,i)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(r,i),z6=(r,i,n)=>{let t=null;const l=function(...s){const c=()=>{t=null};!t&&(r.apply(this,s),t=setTimeout(c,i))};return l.cancel=()=>{t&&(clearTimeout(t),t=null)},l},Y6=r=>r!==null&&!Array.isArray(r)&&typeof r=="object",Hm=(r,i)=>{if(r===i)return!0;if(Array.isArray(r)&&Array.isArray(i))return r.length===i.length&&r.every((l,s)=>Hm(l,i[s]));if(Array.isArray(r)!==Array.isArray(i))return!1;if(!Y6(r)||!Y6(i))return r===i;const n=Object.keys(r),t=Object.keys(i);return n.length===t.length&&n.every(l=>Hm(r[l],i[l]))},GE=r=>{if(!(r instanceof HTMLElement||r instanceof SVGElement))return!1;const i=getComputedStyle(r);return["overflow","overflow-x","overflow-y"].some(n=>{const t=i.getPropertyValue(n);return t==="auto"||t==="scroll"})},B6=r=>{if(!r)return null;let i=r.parentElement;for(;i;){if(GE(i))return i;i=i.parentElement}return document.scrollingElement||document.documentElement},VE=typeof window<"u"?y.useLayoutEffect:y.useEffect,Dr=r=>{r.current&&(clearTimeout(r.current),r.current=null)},WE="DEFAULT_TOOLTIP_ID",ZE={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},QE=y.createContext({getTooltipData:()=>ZE});function c9(r=WE){return y.useContext(QE).getTooltipData(r)}var lo={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"},M1={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 KE=({forwardRef:r,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:S,delayShow:T=0,delayHide:A=0,float:C=!1,hidden:N=!1,noArrow:O=!1,clickable:B=!1,closeOnEsc:Q=!1,closeOnScroll:$=!1,closeOnResize:ne=!1,openEvents:Z,closeEvents:w,globalCloseEvents:E,imperativeModeOnly:D,style:k,position:q,afterShow:z,afterHide:j,disableTooltip:H,content:M,contentWrapperRef:P,isOpen:L,defaultIsOpen:J=!1,setIsOpen:R,activeAnchor:I,setActiveAnchor:fe,border:se,opacity:ue,arrowColor:ce,role:pe="tooltip"})=>{var ze;const Oe=y.useRef(null),Ke=y.useRef(null),He=y.useRef(null),et=y.useRef(null),xt=y.useRef(null),[Xe,lt]=y.useState({tooltipStyles:{},tooltipArrowStyles:{},place:d}),[Le,Zt]=y.useState(!1),[tn,cn]=y.useState(!1),[tt,Hn]=y.useState(null),Qn=y.useRef(!1),Ue=y.useRef(null),{anchorRefs:ye,setActiveAnchor:Ce}=c9(i),Ne=y.useRef(!1),[nt,Qt]=y.useState([]),jt=y.useRef(!1),Un=v||m.includes("click"),Pn=Un||(Z==null?void 0:Z.click)||(Z==null?void 0:Z.dblclick)||(Z==null?void 0:Z.mousedown),Sn=Z?{...Z}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!Z&&Un&&Object.assign(Sn,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Kn=w?{...w}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!w&&Un&&Object.assign(Kn,{mouseleave:!1,blur:!1,mouseout:!1});const Lt=E?{...E}:{escape:Q||!1,scroll:$||!1,resize:ne||!1,clickOutsideAnchor:Pn||!1};D&&(Object.assign(Sn,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Kn,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(Lt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),VE(()=>(jt.current=!0,()=>{jt.current=!1}),[]);const Pe=he=>{jt.current&&(he&&cn(!0),setTimeout(()=>{jt.current&&(R==null||R(he),L===void 0&&Zt(he))},10))};y.useEffect(()=>{if(L===void 0)return()=>null;L&&cn(!0);const he=setTimeout(()=>{Zt(L)},10);return()=>{clearTimeout(he)}},[L]),y.useEffect(()=>{if(Le!==Qn.current)if(Dr(xt),Qn.current=Le,Le)z==null||z();else{const he=(Me=>{const Re=Me.match(/^([\d.]+)(ms|s)$/);if(!Re)return 0;const[,rt,Mt]=Re;return Number(rt)*(Mt==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));xt.current=setTimeout(()=>{cn(!1),Hn(null),j==null||j()},he+25)}},[Le]);const pn=he=>{lt(Me=>Hm(Me,he)?Me:he)},qt=(he=T)=>{Dr(He),tn?Pe(!0):He.current=setTimeout(()=>{Pe(!0)},he)},Ot=(he=A)=>{Dr(et),et.current=setTimeout(()=>{Ne.current||Pe(!1)},he)},Nr=he=>{var Me;if(!he)return;const Re=(Me=he.currentTarget)!==null&&Me!==void 0?Me:he.target;if(!(Re!=null&&Re.isConnected))return fe(null),void Ce({current:null});T?qt():Pe(!0),fe(Re),Ce({current:Re}),Dr(et)},zn=()=>{B?Ot(A||100):A?Ot():Pe(!1),Dr(He)},Yn=({x:he,y:Me})=>{var Re;const rt={getBoundingClientRect:()=>({x:he,y:Me,width:0,height:0,top:Me,left:he,right:he,bottom:Me})};U6({place:(Re=tt==null?void 0:tt.place)!==null&&Re!==void 0?Re:d,offset:h,elementReference:rt,tooltipReference:Oe.current,tooltipArrowReference:Ke.current,strategy:g,middlewares:_,border:se}).then(Mt=>{pn(Mt)})},mn=he=>{if(!he)return;const Me=he,Re={x:Me.clientX,y:Me.clientY};Yn(Re),Ue.current=Re},ct=he=>{var Me;if(!Le)return;const Re=he.target;Re.isConnected&&(!((Me=Oe.current)===null||Me===void 0)&&Me.contains(Re)||[document.querySelector(`[id='${s}']`),...nt].some(rt=>rt==null?void 0:rt.contains(Re))||(Pe(!1),Dr(He)))},nn=z6(Nr,50),yt=z6(zn,50),Ge=he=>{yt.cancel(),nn(he)},De=()=>{nn.cancel(),yt()},Ie=y.useCallback(()=>{var he,Me;const Re=(he=tt==null?void 0:tt.position)!==null&&he!==void 0?he:q;Re?Yn(Re):C?Ue.current&&Yn(Ue.current):I!=null&&I.isConnected&&U6({place:(Me=tt==null?void 0:tt.place)!==null&&Me!==void 0?Me:d,offset:h,elementReference:I,tooltipReference:Oe.current,tooltipArrowReference:Ke.current,strategy:g,middlewares:_,border:se}).then(rt=>{jt.current&&pn(rt)})},[Le,I,M,k,d,tt==null?void 0:tt.place,h,g,q,tt==null?void 0:tt.position,C]);y.useEffect(()=>{var he,Me;const Re=new Set(ye);nt.forEach(Y=>{H!=null&&H(Y)||Re.add({current:Y})});const rt=document.querySelector(`[id='${s}']`);rt&&!(H!=null&&H(rt))&&Re.add({current:rt});const Mt=()=>{Pe(!1)},vn=B6(I),gn=B6(Oe.current);Lt.scroll&&(window.addEventListener("scroll",Mt),vn==null||vn.addEventListener("scroll",Mt),gn==null||gn.addEventListener("scroll",Mt));let vt=null;Lt.resize?window.addEventListener("resize",Mt):I&&Oe.current&&(vt=HE(I,Oe.current,Ie,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const at=Y=>{Y.key==="Escape"&&Pe(!1)};Lt.escape&&window.addEventListener("keydown",at),Lt.clickOutsideAnchor&&window.addEventListener("click",ct);const be=[],yn=Y=>{Le&&(Y==null?void 0:Y.target)===I||Nr(Y)},At=Y=>{Le&&(Y==null?void 0:Y.target)===I&&zn()},Jr=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],bt=["click","dblclick","mousedown","mouseup"];Object.entries(Sn).forEach(([Y,le])=>{le&&(Jr.includes(Y)?be.push({event:Y,listener:Ge}):bt.includes(Y)&&be.push({event:Y,listener:yn}))}),Object.entries(Kn).forEach(([Y,le])=>{le&&(Jr.includes(Y)?be.push({event:Y,listener:De}):bt.includes(Y)&&be.push({event:Y,listener:At}))}),C&&be.push({event:"pointermove",listener:mn});const tr=()=>{Ne.current=!0},_e=()=>{Ne.current=!1,zn()};return B&&!Pn&&((he=Oe.current)===null||he===void 0||he.addEventListener("mouseenter",tr),(Me=Oe.current)===null||Me===void 0||Me.addEventListener("mouseleave",_e)),be.forEach(({event:Y,listener:le})=>{Re.forEach(me=>{var Ve;(Ve=me.current)===null||Ve===void 0||Ve.addEventListener(Y,le)})}),()=>{var Y,le;Lt.scroll&&(window.removeEventListener("scroll",Mt),vn==null||vn.removeEventListener("scroll",Mt),gn==null||gn.removeEventListener("scroll",Mt)),Lt.resize?window.removeEventListener("resize",Mt):vt==null||vt(),Lt.clickOutsideAnchor&&window.removeEventListener("click",ct),Lt.escape&&window.removeEventListener("keydown",at),B&&!Pn&&((Y=Oe.current)===null||Y===void 0||Y.removeEventListener("mouseenter",tr),(le=Oe.current)===null||le===void 0||le.removeEventListener("mouseleave",_e)),be.forEach(({event:me,listener:Ve})=>{Re.forEach(ft=>{var Ye;(Ye=ft.current)===null||Ye===void 0||Ye.removeEventListener(me,Ve)})})}},[I,Ie,tn,ye,nt,Z,w,E,Un,T,A]),y.useEffect(()=>{var he,Me;let Re=(Me=(he=tt==null?void 0:tt.anchorSelect)!==null&&he!==void 0?he:c)!==null&&Me!==void 0?Me:"";!Re&&i&&(Re=`[data-tooltip-id='${i.replace(/'/g,"\\'")}']`);const rt=new MutationObserver(Mt=>{const vn=[],gn=[];Mt.forEach(vt=>{if(vt.type==="attributes"&&vt.attributeName==="data-tooltip-id"&&(vt.target.getAttribute("data-tooltip-id")===i?vn.push(vt.target):vt.oldValue===i&&gn.push(vt.target)),vt.type==="childList"){if(I){const at=[...vt.removedNodes].filter(be=>be.nodeType===1);if(Re)try{gn.push(...at.filter(be=>be.matches(Re))),gn.push(...at.flatMap(be=>[...be.querySelectorAll(Re)]))}catch{}at.some(be=>{var yn;return!!(!((yn=be==null?void 0:be.contains)===null||yn===void 0)&&yn.call(be,I))&&(cn(!1),Pe(!1),fe(null),Dr(He),Dr(et),!0)})}if(Re)try{const at=[...vt.addedNodes].filter(be=>be.nodeType===1);vn.push(...at.filter(be=>be.matches(Re))),vn.push(...at.flatMap(be=>[...be.querySelectorAll(Re)]))}catch{}}}),(vn.length||gn.length)&&Qt(vt=>[...vt.filter(at=>!gn.includes(at)),...vn])});return rt.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{rt.disconnect()}},[i,c,tt==null?void 0:tt.anchorSelect,I]),y.useEffect(()=>{Ie()},[Ie]),y.useEffect(()=>{if(!(P!=null&&P.current))return()=>null;const he=new ResizeObserver(()=>{setTimeout(()=>Ie())});return he.observe(P.current),()=>{he.disconnect()}},[M,P==null?void 0:P.current]),y.useEffect(()=>{var he;const Me=document.querySelector(`[id='${s}']`),Re=[...nt,Me];I&&Re.includes(I)||fe((he=nt[0])!==null&&he!==void 0?he:Me)},[s,nt,I]),y.useEffect(()=>(J&&Pe(!0),()=>{Dr(He),Dr(et)}),[]),y.useEffect(()=>{var he;let Me=(he=tt==null?void 0:tt.anchorSelect)!==null&&he!==void 0?he:c;if(!Me&&i&&(Me=`[data-tooltip-id='${i.replace(/'/g,"\\'")}']`),Me)try{const Re=Array.from(document.querySelectorAll(Me));Qt(Re)}catch{Qt([])}},[i,c,tt==null?void 0:tt.anchorSelect]),y.useEffect(()=>{He.current&&(Dr(He),qt(T))},[T]);const Kt=(ze=tt==null?void 0:tt.content)!==null&&ze!==void 0?ze:M,pt=Le&&Object.keys(Xe.tooltipStyles).length>0;return y.useImperativeHandle(r,()=>({open:he=>{if(he!=null&&he.anchorSelect)try{document.querySelector(he.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${he.anchorSelect}" is not a valid CSS selector`)}Hn(he??null),he!=null&&he.delay?qt(he.delay):Pe(!0)},close:he=>{he!=null&&he.delay?Ot(he.delay):Pe(!1)},activeAnchor:I,place:Xe.place,isOpen:!!(tn&&!N&&Kt&&pt)})),tn&&!N&&Kt?G.createElement(S,{id:i,role:pe,className:qm("react-tooltip",lo.tooltip,M1.tooltip,M1[l],n,`react-tooltip__place-${Xe.place}`,lo[pt?"show":"closing"],pt?"react-tooltip__show":"react-tooltip__closing",g==="fixed"&&lo.fixed,B&&lo.clickable),onTransitionEnd:he=>{Dr(xt),Le||he.propertyName!=="opacity"||(cn(!1),Hn(null),j==null||j())},style:{...k,...Xe.tooltipStyles,opacity:ue!==void 0&&pt?ue:void 0},ref:Oe},Kt,G.createElement(S,{className:qm("react-tooltip-arrow",lo.arrow,M1.arrow,t,O&&lo.noArrow),style:{...Xe.tooltipArrowStyles,background:ce?`linear-gradient(to right bottom, transparent 50%, ${ce} 50%)`:void 0},ref:Ke})):null},XE=({content:r})=>G.createElement("span",{dangerouslySetInnerHTML:{__html:r}}),$E=G.forwardRef(({id:r,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:S=["hover"],openOnClick:T=!1,positionStrategy:A="absolute",middlewares:C,delayShow:N=0,delayHide:O=0,float:B=!1,hidden:Q=!1,noArrow:$=!1,clickable:ne=!1,closeOnEsc:Z=!1,closeOnScroll:w=!1,closeOnResize:E=!1,openEvents:D,closeEvents:k,globalCloseEvents:q,imperativeModeOnly:z=!1,style:j,position:H,isOpen:M,defaultIsOpen:P=!1,disableStyleInjection:L=!1,border:J,opacity:R,arrowColor:I,setIsOpen:fe,afterShow:se,afterHide:ue,disableTooltip:ce,role:pe="tooltip"},ze)=>{const[Oe,Ke]=y.useState(t),[He,et]=y.useState(l),[xt,Xe]=y.useState(m),[lt,Le]=y.useState(h),[Zt,tn]=y.useState(v),[cn,tt]=y.useState(N),[Hn,Qn]=y.useState(O),[Ue,ye]=y.useState(B),[Ce,Ne]=y.useState(Q),[nt,Qt]=y.useState(g),[jt,Un]=y.useState(S),[Pn,Sn]=y.useState(A),[Kn,Lt]=y.useState(null),[Pe,pn]=y.useState(null),qt=y.useRef(L),{anchorRefs:Ot,activeAnchor:Nr}=c9(r),zn=yt=>yt==null?void 0:yt.getAttributeNames().reduce((Ge,De)=>{var Ie;return De.startsWith("data-tooltip-")&&(Ge[De.replace(/^data-tooltip-/,"")]=(Ie=yt==null?void 0:yt.getAttribute(De))!==null&&Ie!==void 0?Ie:null),Ge},{}),Yn=yt=>{const Ge={place:De=>{var Ie;Xe((Ie=De)!==null&&Ie!==void 0?Ie:m)},content:De=>{Ke(De??t)},html:De=>{et(De??l)},variant:De=>{var Ie;Le((Ie=De)!==null&&Ie!==void 0?Ie:h)},offset:De=>{tn(De===null?v:Number(De))},wrapper:De=>{var Ie;Qt((Ie=De)!==null&&Ie!==void 0?Ie:g)},events:De=>{const Ie=De==null?void 0:De.split(" ");Un(Ie??S)},"position-strategy":De=>{var Ie;Sn((Ie=De)!==null&&Ie!==void 0?Ie:A)},"delay-show":De=>{tt(De===null?N:Number(De))},"delay-hide":De=>{Qn(De===null?O:Number(De))},float:De=>{ye(De===null?B:De==="true")},hidden:De=>{Ne(De===null?Q:De==="true")},"class-name":De=>{Lt(De)}};Object.values(Ge).forEach(De=>De(null)),Object.entries(yt).forEach(([De,Ie])=>{var Kt;(Kt=Ge[De])===null||Kt===void 0||Kt.call(Ge,Ie)})};y.useEffect(()=>{Ke(t)},[t]),y.useEffect(()=>{et(l)},[l]),y.useEffect(()=>{Xe(m)},[m]),y.useEffect(()=>{Le(h)},[h]),y.useEffect(()=>{tn(v)},[v]),y.useEffect(()=>{tt(N)},[N]),y.useEffect(()=>{Qn(O)},[O]),y.useEffect(()=>{ye(B)},[B]),y.useEffect(()=>{Ne(Q)},[Q]),y.useEffect(()=>{Sn(A)},[A]),y.useEffect(()=>{qt.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 yt;const Ge=new Set(Ot);let De=n;if(!De&&r&&(De=`[data-tooltip-id='${r.replace(/'/g,"\\'")}']`),De)try{document.querySelectorAll(De).forEach(Me=>{Ge.add({current:Me})})}catch{console.warn(`[react-tooltip] "${De}" is not a valid CSS selector`)}const Ie=document.querySelector(`[id='${i}']`);if(Ie&&Ge.add({current:Ie}),!Ge.size)return()=>null;const Kt=(yt=Pe??Ie)!==null&&yt!==void 0?yt:Nr.current,pt=new MutationObserver(Me=>{Me.forEach(Re=>{var rt;if(!Kt||Re.type!=="attributes"||!(!((rt=Re.attributeName)===null||rt===void 0)&&rt.startsWith("data-tooltip-")))return;const Mt=zn(Kt);Yn(Mt)})}),he={attributes:!0,childList:!1,subtree:!1};if(Kt){const Me=zn(Kt);Yn(Me),pt.observe(Kt,he)}return()=>{pt.disconnect()}},[Ot,Nr,Pe,i,n]),y.useEffect(()=>{j!=null&&j.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),J&&!P6("border",`${J}`)&&console.warn(`[react-tooltip] "${J}" is not a valid \`border\`.`),j!=null&&j.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),R&&!P6("opacity",`${R}`)&&console.warn(`[react-tooltip] "${R}" is not a valid \`opacity\`.`)},[]);let mn=_;const ct=y.useRef(null);if(s){const yt=s({content:(Pe==null?void 0:Pe.getAttribute("data-tooltip-content"))||Oe||null,activeAnchor:Pe});mn=yt?G.createElement("div",{ref:ct,className:"react-tooltip-content-wrapper"},yt):null}else Oe&&(mn=Oe);He&&(mn=G.createElement(XE,{content:He}));const nn={forwardRef:ze,id:r,anchorId:i,anchorSelect:n,className:qm(c,Kn),classNameArrow:d,content:mn,contentWrapperRef:ct,place:xt,variant:lt,offset:Zt,wrapper:nt,events:jt,openOnClick:T,positionStrategy:Pn,middlewares:C,delayShow:cn,delayHide:Hn,float:Ue,hidden:Ce,noArrow:$,clickable:ne,closeOnEsc:Z,closeOnScroll:w,closeOnResize:E,openEvents:D,closeEvents:k,globalCloseEvents:q,imperativeModeOnly:z,style:j,position:H,isOpen:M,defaultIsOpen:P,border:J,opacity:R,arrowColor:I,setIsOpen:fe,afterShow:se,afterHide:ue,disableTooltip:ce,activeAnchor:Pe,setActiveAnchor:yt=>pn(yt),role:pe};return G.createElement(KE,{...nn})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",r=>{r.detail.disableCore||H6({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),r.detail.disableBase||H6({css:`
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});function JE(r,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 r.concat(s||Array.prototype.slice.call(i))}var j6;function Um(){return Um=Object.assign?Object.assign.bind():function(r){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(r[t]=n[t])}return r},Um.apply(null,arguments)}var eS=function(i){return y.createElement("svg",Um({xmlns:"http://www.w3.org/2000/svg",width:24,height:12.4,viewBox:"0 0 24 12.4"},i),j6||(j6=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"})))},I6,F6;function Pm(){return Pm=Object.assign?Object.assign.bind():function(r){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(r[t]=n[t])}return r},Pm.apply(null,arguments)}var af=function(i){return y.createElement("svg",Pm({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,className:"info-svg",viewBox:"0 0 22.5 22.5"},i),I6||(I6=y.createElement("circle",{cx:11.2,cy:11.2,r:11.2,fill:"none",className:"bg"})),F6||(F6=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"}))))},G6,V6;function zm(){return zm=Object.assign?Object.assign.bind():function(r){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(r[t]=n[t])}return r},zm.apply(null,arguments)}var _2=function(i){return y.createElement("svg",zm({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,viewBox:"0 0 22.5 22.5"},i),G6||(G6=y.createElement("circle",{cx:11.2,cy:11.2,r:11.2,fill:"none",className:"bg"})),V6||(V6=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"}))))},W6,Z6,Q6,K6;function Ym(){return Ym=Object.assign?Object.assign.bind():function(r){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(r[t]=n[t])}return r},Ym.apply(null,arguments)}var w2=function(i){return y.createElement("svg",Ym({xmlns:"http://www.w3.org/2000/svg",width:22.6,height:22.6,viewBox:"0 0 22.6 22.6"},i),W6||(W6=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"})),Z6||(Z6=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"})),Q6||(Q6=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"})),K6||(K6=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M11.3 14.9V7.8"})))},X6;function Bm(){return Bm=Object.assign?Object.assign.bind():function(r){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(r[t]=n[t])}return r},Bm.apply(null,arguments)}var f9=function(i){return y.createElement("svg",Bm({xmlns:"http://www.w3.org/2000/svg",width:13.5,height:13.5,viewBox:"0 0 13.5 13.5"},i),X6||(X6=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m.8 12.8 12-12m0 12L.8.8"})))},jm;(function(r){r.Default="sds--alert--status-default",r.Success="sds--alert--status-success",r.Warning="sds--alert--status-warning",r.Error="sds--alert--status-error",r.Info="sds--alert--status-info"})(jm||(jm={}));var xi=jm;function tS(r){return r!=null?(r.preventDefault(),r.stopPropagation(),!1):!0}function Ms(r){return r==null?!0:Array.isArray(r)?r.length===0:typeof r=="string"?r.trim().length===0:r&&r.getTime&&typeof r.getTime=="function"?r.getTime()!==r.getTime():typeof r=="object"?Object.keys(r).length===0:!1}function To(r){return uE.sanitize(r,{ADD_ATTR:["target"]})}function nS(){return crypto.randomUUID&&typeof crypto.randomUUID=="function"&&crypto.randomUUID()||Math.round(new Date().getTime()*Math.random()*1e3).toString()}var rS=function(r){var i=r.alertType||xi.Success,n=r.action?"sds--alert--has-action":"",t="sds--alert ".concat(i.toLowerCase()," ").concat(n," ").concat(r.hide?"hide":"");return G.createElement("div",{className:t},G.createElement("div",{className:"sds--alert--inner ".concat(r.asChild?"":"sds--page-container")},G.createElement("div",{className:"sds--alert--visual"},[xi.Error,xi.Warning].includes(i)&&G.createElement(w2,null),[xi.Default,xi.Info].includes(i)&&G.createElement(af,null),[xi.Success].includes(i)&&G.createElement(_2,null)),G.createElement("div",{className:"sds--alert--textual"},G.createElement("p",{dangerouslySetInnerHTML:{__html:To(r.message)}}),r.action&&G.createElement("button",{type:"button",onClick:r.action,className:"sds--btn sds--btn--ghost--dark sds--btn--small"},r.actionLabel)),r.close&&G.createElement("button",{className:"sds--alert--actions",onClick:r.close},G.createElement("span",{className:"text sds--visually-hidden"},"Close alert"),G.createElement(f9,null))))},aS=function(r){var i="sds--badge--number ".concat(r.colored?"sds--badge--number--colored":""," ").concat(r.small?"sds--badge--number--small":"");return G.createElement("span",{className:i},r.value)},$6;(function(r){r.Horizontal="",r.Vertical="sds--block-switch--vertical"})($6||($6={}));var J6;function Im(){return Im=Object.assign?Object.assign.bind():function(r){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(r[t]=n[t])}return r},Im.apply(null,arguments)}var iS=function(i){return y.createElement("svg",Im({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,className:"bin-svg",viewBox:"0 0 22.5 22.5"},i),J6||(J6=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"})))},Fm;(function(r){r.Primary="sds--btn--primary",r.Secondary="sds--btn--secondary",r.Tertiary="sds--btn--tertiary",r.GhostDark="sds--btn--ghost--dark",r.GhostLight="sds--btn--ghost--light",r.Delete="sds--btn--delete",r.DeleteSecondary="sds--btn--delete--secondary",r.Chevron="sds--btn--chevron",r.DestructivePrimary="sds--btn sds--btn-destructive--primary",r.DestructiveSecondary="sds--btn sds--btn-destructive--secondary",r.DestructiveTertiary="sds--btn sds--btn-destructive--tertiary"})(Fm||(Fm={}));var Ai=Fm,Gm;(function(r){r.Default="",r.Small="sds--btn--small",r.Full="sds--btn--full"})(Gm||(Gm={}));var E2=Gm;Ai.Primary,E2.Default;var Ws=function(r){var i="".concat((r.type||Ai.Primary).toLowerCase()," ")+"".concat(r.type&&r.type===Ai.DeleteSecondary?Ai.Secondary.toLowerCase():""),n="".concat((r.size||E2.Default).toLowerCase()),t=r.children?"sds--btn-chevron":"",l=r.active||!1,s="sds--btn ".concat(i," ").concat(n," ").concat(t," ").concat(l?"active":""),c=function(d){tS(d),!r.disabled&&r.onClick&&r.onClick(d)};return G.createElement("button",{type:"button",className:s,onClick:c,disabled:r.disabled},r.children,r.txt&&G.createElement("span",{className:"textual",dangerouslySetInnerHTML:{__html:To(r.txt||"")}}),r.type===Ai.Delete?G.createElement(iS,null):r.icon)},lS=function(r){var i="A"+nS();return G.createElement("div",{"data-tooltip-id":i,className:"sds--tooltip-container ".concat(r.standalone?"":"sibbling"),"data-tooltip-html":To(r.tip)},r.children?G.Children.map(r.children,function(n){return n}):G.createElement(af,null),G.createElement($E,{id:i,place:r.place,clickable:r.clickable||!1,disableStyleInjection:"core"}))},e4;(function(r){r.Default="sds--card",r.Big="sds--card sds--card--big"})(e4||(e4={}));var Vm;(function(r){r.Main_100="main-100",r.Main_200="main-200",r.Main_300="main-300",r.Main_400="main-400",r.Main_500="main-500",r.Support_100="support-100",r.Support_400="support-400",r.Support_500="support-500",r.Status_default="status-default",r.Status_success="status-success",r.Status_warning="status-warning",r.Status_error="status-error",r.Status_info="status-info"})(Vm||(Vm={}));var d9=Vm,oS=function(r){var i=r.type?r.type:d9.Main_100;return G.createElement("button",{className:"sds--chips ".concat(i)},r.children&&G.createElement("span",{className:"sds--chips--visual"},r.children),G.createElement("span",{className:"sds--chips--textual sds--text--body--small"},r.label))},mc=35,sS=["Delete","Backspace"],h9=function(r){var i=y.useState(Array(r.size).fill("")),n=i[0],t=i[1],l=y.useRef([]),s=r.disabled||!1,c=r.focusFirst===void 0||r.focusFirst;y.useEffect(function(){var v=Ms(n.join(""));if(r.clear&&t(Array(r.size).fill("")),v&&c&&!r.disabled){var g=l.current[0];setTimeout(function(){return g.focus()},mc)}},[r]);var d=function(v,g){var _=g.target.value;if(!(r.validate&&!r.validate(_))){var S=JE([],n);if(S[v]=r.transformer?r.transformer(_):_,t(S),r.intermediateCallback&&r.intermediateCallback(S),v!==r.size-1&&!Ms(_)){var T=l.current[v+1];setTimeout(function(){return T.focus()},mc)}else Ms(_)||setTimeout(function(){return r.verify(S.join(""))},mc)}},h=function(v,g){if(sS.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"),S=_.split("");if(S.length!==r.size||r.validate&&S.map(function(A){return r.validate(A)}).some(function(A){return!A}))return!1;t(r.transformer?S.map(function(A){return r.transformer(A)}):S);var T=l.current[r.size-1];return T.focus(),setTimeout(function(){return r.verify(S.join(""))},mc),!0};return G.createElement("div",{className:"sds--code-validation-container"},G.createElement("div",{className:"sds--code-validation"},Array(r.size).fill("").map(function(v,g){return G.createElement("input",{type:"text",key:"input_".concat(g),disabled:s||Ms(n[g])&&g!==0&&Ms(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)})})),r.info&&G.createElement("p",{className:"info",dangerouslySetInnerHTML:{__html:To(r.info)}}))},Oi;(function(r){r.Default="sds--error-indicator--status-default",r.Success="sds--error-indicator--status-success",r.Warning="sds--error-indicator--status-warning",r.Error="sds--error-indicator--status-error",r.Info="sds--error-indicator--status-info"})(Oi||(Oi={}));var uS=function(r){var i=r.errorIndicatorType||Oi.Error,n="".concat(i.toLowerCase());return G.createElement("div",{className:"sds--error-indicator ".concat(n)},G.createElement("div",{className:"sds--error-indicator--visual"},[Oi.Error,Oi.Warning].includes(i)&&G.createElement(w2,null),[Oi.Default,Oi.Info].includes(i)&&G.createElement(af,null),[Oi.Success].includes(i)&&G.createElement(_2,null)),G.createElement("div",{className:"sds--error-indicator-textual"},r.message&&G.createElement("p",{dangerouslySetInnerHTML:{__html:To(r.message)}})))},S2=function(r){var i="sds--loading-container ".concat(r.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"})),r.children&&r.children)},t4,n4;function Wm(){return Wm=Object.assign?Object.assign.bind():function(r){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(r[t]=n[t])}return r},Wm.apply(null,arguments)}var cS=function(i){return y.createElement("svg",Wm({xmlns:"http://www.w3.org/2000/svg",width:70.9,height:36,className:"logo-surf",viewBox:"0 0 70.9 36"},i),t4||(t4=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"})),n4||(n4=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"})))},Zm;(function(r){r.White="White",r.Black="Black"})(Zm||(Zm={}));var Qm=Zm,p9=function(r){var i=(r.color||Qm.Black)===Qm.White?"sds--branding--negative":"",n="sds--logo sds--branding sds--branding--name-".concat(r.position.toLowerCase()," ").concat(i);return G.createElement("div",{className:n},G.createElement("span",{className:"sds--branding--visual"},r.CustomLogo?G.createElement(r.CustomLogo,null):G.createElement(cS,null)),G.createElement("span",{className:"sds--branding--textual"},r.label))},Km;(function(r){r.Bottom="Bottom",r.Up="Up"})(Km||(Km={}));var m9=Km,r4;(function(r){r.row="row",r.column="column"})(r4||(r4={}));var a4=function(r){var i="sds--switch ".concat(r.value?"sds--switch--active":""," ").concat(r.disabled?"sds--switch--disabled":"");return G.createElement("div",{className:"sds--tooltip-parent",onClick:function(){return!r.disabled&&r.onChange(!r.value)}},G.createElement("span",{className:i,role:"switch","aria-checked":r.value}),r.tooltip&&G.createElement(lS,{tip:r.tooltip}))},Xm;(function(r){r.Default="sds--toaster--status-default",r.Success="sds--toaster--status-success",r.Warning="sds--toaster--status-warning",r.Error="sds--toaster--status-error",r.Info="sds--toaster--status-info"})(Xm||(Xm={}));var Mi=Xm,D2=function(r){var i="".concat(r.toasterType.toLowerCase()),n=r.large?"sds--toaster--full-width":"",t=r.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"},[Mi.Error,Mi.Warning].includes(r.toasterType)&&G.createElement(w2,null),[Mi.Default,Mi.Info].includes(r.toasterType)&&G.createElement(af,null),[Mi.Success].includes(r.toasterType)&&G.createElement(_2,null)),G.createElement("div",{className:"sds--toaster--textual"},r.message&&G.createElement("p",{dangerouslySetInnerHTML:{__html:To(r.message)}}),r.children&&r.children,r.action&&G.createElement("button",{type:"button",onClick:r.action,className:"sds--btn sds--btn--ghost--dark sds--btn--small"},r.actionLabel)),r.close&&G.createElement("button",{className:"sds--alert--actions",onClick:r.close},G.createElement("span",{className:"text sds--visually-hidden"},"Close alert"),G.createElement(f9,null)))},fS=function(r){return G.createElement("div",{className:"sds--toaster-container"},r.children)},dS=function(r){return G.createElement("nav",{className:"sds--user-info ".concat(r.isOpen?"is-open":"")},G.createElement("div",{className:"sds--user-info--textual"},G.createElement("p",{className:"name"},r.userName),G.createElement("p",{className:"role sds--text--body--small"},r.organisationName)),G.createElement("button",{type:"button",className:"sds--user-info--button",onClick:r.toggle},G.createElement(eS,null)),G.createElement("div",{className:"sds--user-info--dropdown"},r.children&&r.children))},As={},i4;function hS(){if(i4)return As;i4=1,Object.defineProperty(As,"__esModule",{value:!0}),As.parse=c,As.serialize=m;const r=/^[\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(_,S){const T=new s,A=_.length;if(A<2)return T;const C=(S==null?void 0:S.decode)||v;let N=0;do{const O=_.indexOf("=",N);if(O===-1)break;const B=_.indexOf(";",N),Q=B===-1?A:B;if(O>Q){N=_.lastIndexOf(";",O-1)+1;continue}const $=d(_,N,O),ne=h(_,O,$),Z=_.slice($,ne);if(T[Z]===void 0){let w=d(_,O+1,Q),E=h(_,Q,w);const D=C(_.slice(w,E));T[Z]=D}N=Q+1}while(N<A);return T}function d(_,S,T){do{const A=_.charCodeAt(S);if(A!==32&&A!==9)return S}while(++S<T);return T}function h(_,S,T){for(;S>T;){const A=_.charCodeAt(--S);if(A!==32&&A!==9)return S+1}return T}function m(_,S,T){const A=(T==null?void 0:T.encode)||encodeURIComponent;if(!r.test(_))throw new TypeError(`argument name is invalid: ${_}`);const C=A(S);if(!i.test(C))throw new TypeError(`argument val is invalid: ${S}`);let N=_+"="+C;if(!T)return N;if(T.maxAge!==void 0){if(!Number.isInteger(T.maxAge))throw new TypeError(`option maxAge is invalid: ${T.maxAge}`);N+="; Max-Age="+T.maxAge}if(T.domain){if(!n.test(T.domain))throw new TypeError(`option domain is invalid: ${T.domain}`);N+="; Domain="+T.domain}if(T.path){if(!t.test(T.path))throw new TypeError(`option path is invalid: ${T.path}`);N+="; Path="+T.path}if(T.expires){if(!g(T.expires)||!Number.isFinite(T.expires.valueOf()))throw new TypeError(`option expires is invalid: ${T.expires}`);N+="; Expires="+T.expires.toUTCString()}if(T.httpOnly&&(N+="; HttpOnly"),T.secure&&(N+="; Secure"),T.partitioned&&(N+="; Partitioned"),T.priority)switch(typeof T.priority=="string"?T.priority.toLowerCase():void 0){case"low":N+="; Priority=Low";break;case"medium":N+="; Priority=Medium";break;case"high":N+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${T.priority}`)}if(T.sameSite)switch(typeof T.sameSite=="string"?T.sameSite.toLowerCase():T.sameSite){case!0:case"strict":N+="; SameSite=Strict";break;case"lax":N+="; SameSite=Lax";break;case"none":N+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${T.sameSite}`)}return N}function v(_){if(_.indexOf("%")===-1)return _;try{return decodeURIComponent(_)}catch{return _}}function g(_){return l.call(_)==="[object Date]"}return As}hS();/**
 * react-router v7.3.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */var l4="popstate";function pS(r={}){function i(t,l){let{pathname:s,search:c,hash:d}=t.location;return $m("",{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:Zs(l)}return vS(i,n,null,r)}function Ut(r,i){if(r===!1||r===null||typeof r>"u")throw new Error(i)}function Vr(r,i){if(!r){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function mS(){return Math.random().toString(36).substring(2,10)}function o4(r,i){return{usr:r.state,key:r.key,idx:i}}function $m(r,i,n=null,t){return{pathname:typeof r=="string"?r:r.pathname,search:"",hash:"",...typeof i=="string"?xo(i):i,state:n,key:i&&i.key||t||mS()}}function Zs({pathname:r="/",search:i="",hash:n=""}){return i&&i!=="?"&&(r+=i.charAt(0)==="?"?i:"?"+i),n&&n!=="#"&&(r+=n.charAt(0)==="#"?n:"#"+n),r}function xo(r){let i={};if(r){let n=r.indexOf("#");n>=0&&(i.hash=r.substring(n),r=r.substring(0,n));let t=r.indexOf("?");t>=0&&(i.search=r.substring(t),r=r.substring(0,t)),r&&(i.pathname=r)}return i}function vS(r,i,n,t={}){let{window:l=document.defaultView,v5Compat:s=!1}=t,c=l.history,d="POP",h=null,m=v();m==null&&(m=0,c.replaceState({...c.state,idx:m},""));function v(){return(c.state||{idx:null}).idx}function g(){d="POP";let C=v(),N=C==null?null:C-m;m=C,h&&h({action:d,location:A.location,delta:N})}function _(C,N){d="PUSH";let O=$m(A.location,C,N);m=v()+1;let B=o4(O,m),Q=A.createHref(O);try{c.pushState(B,"",Q)}catch($){if($ instanceof DOMException&&$.name==="DataCloneError")throw $;l.location.assign(Q)}s&&h&&h({action:d,location:A.location,delta:1})}function S(C,N){d="REPLACE";let O=$m(A.location,C,N);m=v();let B=o4(O,m),Q=A.createHref(O);c.replaceState(B,"",Q),s&&h&&h({action:d,location:A.location,delta:0})}function T(C){let N=l.location.origin!=="null"?l.location.origin:l.location.href,O=typeof C=="string"?C:Zs(C);return O=O.replace(/ $/,"%20"),Ut(N,`No window.location.(origin|href) available to create URL for href: ${O}`),new URL(O,N)}let A={get action(){return d},get location(){return r(l,c)},listen(C){if(h)throw new Error("A history only accepts one active listener");return l.addEventListener(l4,g),h=C,()=>{l.removeEventListener(l4,g),h=null}},createHref(C){return i(l,C)},createURL:T,encodeLocation(C){let N=T(C);return{pathname:N.pathname,search:N.search,hash:N.hash}},push:_,replace:S,go(C){return c.go(C)}};return A}function v9(r,i,n="/"){return gS(r,i,n,!1)}function gS(r,i,n,t){let l=typeof i=="string"?xo(i):i,s=Qa(l.pathname||"/",n);if(s==null)return null;let c=g9(r);yS(c);let d=null;for(let h=0;d==null&&h<c.length;++h){let m=AS(s);d=OS(c[h],m,t)}return d}function g9(r,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("/")&&(Ut(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=ja([t,h.relativePath]),v=n.concat(h);s.children&&s.children.length>0&&(Ut(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),g9(s.children,i,v,m)),!(s.path==null&&!s.index)&&i.push({path:m,score:TS(m,s.index),routesMeta:v})};return r.forEach((s,c)=>{var d;if(s.path===""||!((d=s.path)!=null&&d.includes("?")))l(s,c);else for(let h of y9(s.path))l(s,c,h)}),i}function y9(r){let i=r.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=y9(t.join("/")),d=[];return d.push(...c.map(h=>h===""?s:[s,h].join("/"))),l&&d.push(...c),d.map(h=>r.startsWith("/")&&h===""?"/":h)}function yS(r){r.sort((i,n)=>i.score!==n.score?n.score-i.score:xS(i.routesMeta.map(t=>t.childrenIndex),n.routesMeta.map(t=>t.childrenIndex)))}var bS=/^:[\w-]+$/,_S=3,wS=2,ES=1,SS=10,DS=-2,s4=r=>r==="*";function TS(r,i){let n=r.split("/"),t=n.length;return n.some(s4)&&(t+=DS),i&&(t+=wS),n.filter(l=>!s4(l)).reduce((l,s)=>l+(bS.test(s)?_S:s===""?ES:SS),t)}function xS(r,i){return r.length===i.length&&r.slice(0,-1).every((t,l)=>t===i[l])?r[r.length-1]-i[i.length-1]:0}function OS(r,i,n=!1){let{routesMeta:t}=r,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=Bc({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},v),_=h.route;if(!g&&m&&n&&!t[t.length-1].route.index&&(g=Bc({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},v)),!g)return null;Object.assign(l,g.params),c.push({params:l,pathname:ja([s,g.pathname]),pathnameBase:kS(ja([s,g.pathnameBase])),route:_}),g.pathnameBase!=="/"&&(s=ja([s,g.pathnameBase]))}return c}function Bc(r,i){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[n,t]=MS(r.path,r.caseSensitive,r.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 T=d[_]||"";c=s.slice(0,s.length-T.length).replace(/(.)\/+$/,"$1")}const S=d[_];return g&&!S?m[v]=void 0:m[v]=(S||"").replace(/%2F/g,"/"),m},{}),pathname:s,pathnameBase:c,pattern:r}}function MS(r,i=!1,n=!0){Vr(r==="*"||!r.endsWith("*")||r.endsWith("/*"),`Route path "${r}" will be treated as if it were "${r.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${r.replace(/\*$/,"/*")}".`);let t=[],l="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,d,h)=>(t.push({paramName:d,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(t.push({paramName:"*"}),l+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":r!==""&&r!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,i?void 0:"i"),t]}function AS(r){try{return r.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return Vr(!1,`The URL path "${r}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),r}}function Qa(r,i){if(i==="/")return r;if(!r.toLowerCase().startsWith(i.toLowerCase()))return null;let n=i.endsWith("/")?i.length-1:i.length,t=r.charAt(n);return t&&t!=="/"?null:r.slice(n)||"/"}function CS(r,i="/"){let{pathname:n,search:t="",hash:l=""}=typeof r=="string"?xo(r):r;return{pathname:n?n.startsWith("/")?n:RS(n,i):i,search:LS(t),hash:qS(l)}}function RS(r,i){let n=i.replace(/\/+$/,"").split("/");return r.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function A1(r,i,n,t){return`Cannot include a '${r}' 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 NS(r){return r.filter((i,n)=>n===0||i.route.path&&i.route.path.length>0)}function T2(r){let i=NS(r);return i.map((n,t)=>t===i.length-1?n.pathname:n.pathnameBase)}function x2(r,i,n,t=!1){let l;typeof r=="string"?l=xo(r):(l={...r},Ut(!l.pathname||!l.pathname.includes("?"),A1("?","pathname","search",l)),Ut(!l.pathname||!l.pathname.includes("#"),A1("#","pathname","hash",l)),Ut(!l.search||!l.search.includes("#"),A1("#","search","hash",l)));let s=r===""||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=CS(l,d),m=c&&c!=="/"&&c.endsWith("/"),v=(s||c===".")&&n.endsWith("/");return!h.pathname.endsWith("/")&&(m||v)&&(h.pathname+="/"),h}var ja=r=>r.join("/").replace(/\/\/+/g,"/"),kS=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),LS=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,qS=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r;function HS(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var b9=["POST","PUT","PATCH","DELETE"];new Set(b9);var US=["GET",...b9];new Set(US);var Oo=y.createContext(null);Oo.displayName="DataRouter";var lf=y.createContext(null);lf.displayName="DataRouterState";var _9=y.createContext({isTransitioning:!1});_9.displayName="ViewTransition";var PS=y.createContext(new Map);PS.displayName="Fetchers";var zS=y.createContext(null);zS.displayName="Await";var Kr=y.createContext(null);Kr.displayName="Navigation";var eu=y.createContext(null);eu.displayName="Location";var Xr=y.createContext({outlet:null,matches:[],isDataRoute:!1});Xr.displayName="Route";var O2=y.createContext(null);O2.displayName="RouteError";function YS(r,{relative:i}={}){Ut(Mo(),"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}=tu(r,{relative:i}),d=s;return n!=="/"&&(d=s==="/"?n:ja([n,s])),t.createHref({pathname:d,search:c,hash:l})}function Mo(){return y.useContext(eu)!=null}function Ui(){return Ut(Mo(),"useLocation() may be used only in the context of a <Router> component."),y.useContext(eu).location}var w9="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function E9(r){y.useContext(Kr).static||y.useLayoutEffect(r)}function Ao(){let{isDataRoute:r}=y.useContext(Xr);return r?JS():BS()}function BS(){Ut(Mo(),"useNavigate() may be used only in the context of a <Router> component.");let r=y.useContext(Oo),{basename:i,navigator:n}=y.useContext(Kr),{matches:t}=y.useContext(Xr),{pathname:l}=Ui(),s=JSON.stringify(T2(t)),c=y.useRef(!1);return E9(()=>{c.current=!0}),y.useCallback((h,m={})=>{if(Vr(c.current,w9),!c.current)return;if(typeof h=="number"){n.go(h);return}let v=x2(h,JSON.parse(s),l,m.relative==="path");r==null&&i!=="/"&&(v.pathname=v.pathname==="/"?i:ja([i,v.pathname])),(m.replace?n.replace:n.push)(v,m.state,m)},[i,n,s,l,r])}y.createContext(null);function S9(){let{matches:r}=y.useContext(Xr),i=r[r.length-1];return i?i.params:{}}function tu(r,{relative:i}={}){let{matches:n}=y.useContext(Xr),{pathname:t}=Ui(),l=JSON.stringify(T2(n));return y.useMemo(()=>x2(r,JSON.parse(l),t,i==="path"),[r,l,t,i])}function jS(r,i){return D9(r,i)}function D9(r,i,n,t){var O;Ut(Mo(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:l,static:s}=y.useContext(Kr),{matches:c}=y.useContext(Xr),d=c[c.length-1],h=d?d.params:{},m=d?d.pathname:"/",v=d?d.pathnameBase:"/",g=d&&d.route;{let B=g&&g.path||"";T9(m,!g||B.endsWith("*")||B.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${B}">) 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="${B}"> to <Route path="${B==="/"?"*":`${B}/*`}">.`)}let _=Ui(),S;if(i){let B=typeof i=="string"?xo(i):i;Ut(v==="/"||((O=B.pathname)==null?void 0:O.startsWith(v)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${v}" but pathname "${B.pathname}" was given in the \`location\` prop.`),S=B}else S=_;let T=S.pathname||"/",A=T;if(v!=="/"){let B=v.replace(/^\//,"").split("/");A="/"+T.replace(/^\//,"").split("/").slice(B.length).join("/")}let C=!s&&n&&n.matches&&n.matches.length>0?n.matches:v9(r,{pathname:A});Vr(g||C!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),Vr(C==null||C[C.length-1].route.element!==void 0||C[C.length-1].route.Component!==void 0||C[C.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.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 N=WS(C&&C.map(B=>Object.assign({},B,{params:Object.assign({},h,B.params),pathname:ja([v,l.encodeLocation?l.encodeLocation(B.pathname).pathname:B.pathname]),pathnameBase:B.pathnameBase==="/"?v:ja([v,l.encodeLocation?l.encodeLocation(B.pathnameBase).pathname:B.pathnameBase])})),c,n,t);return i&&N?y.createElement(eu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...S},navigationType:"POP"}},N):N}function IS(){let r=$S(),i=HS(r)?`${r.status} ${r.statusText}`:r instanceof Error?r.message:JSON.stringify(r),n=r instanceof Error?r.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:",r),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 FS=y.createElement(IS,null),GS=class extends y.Component{constructor(r){super(r),this.state={location:r.location,revalidation:r.revalidation,error:r.error}}static getDerivedStateFromError(r){return{error:r}}static getDerivedStateFromProps(r,i){return i.location!==r.location||i.revalidation!=="idle"&&r.revalidation==="idle"?{error:r.error,location:r.location,revalidation:r.revalidation}:{error:r.error!==void 0?r.error:i.error,location:i.location,revalidation:r.revalidation||i.revalidation}}componentDidCatch(r,i){console.error("React Router caught the following error during render",r,i)}render(){return this.state.error!==void 0?y.createElement(Xr.Provider,{value:this.props.routeContext},y.createElement(O2.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function VS({routeContext:r,match:i,children:n}){let t=y.useContext(Oo);return t&&t.static&&t.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(t.staticContext._deepestRenderedBoundaryId=i.route.id),y.createElement(Xr.Provider,{value:r},n)}function WS(r,i=[],n=null,t=null){if(r==null){if(!n)return null;if(n.errors)r=n.matches;else if(i.length===0&&!n.initialized&&n.matches.length>0)r=n.matches;else return null}let l=r,s=n==null?void 0:n.errors;if(s!=null){let h=l.findIndex(m=>m.route.id&&(s==null?void 0:s[m.route.id])!==void 0);Ut(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,S=null,T=null;n&&(g=s&&m.route.id?s[m.route.id]:void 0,S=m.route.errorElement||FS,c&&(d<0&&v===0?(T9("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),_=!0,T=null):d===v&&(_=!0,T=m.route.hydrateFallbackElement||null)));let A=i.concat(l.slice(0,v+1)),C=()=>{let N;return g?N=S:_?N=T:m.route.Component?N=y.createElement(m.route.Component,null):m.route.element?N=m.route.element:N=h,y.createElement(VS,{match:m,routeContext:{outlet:h,matches:A,isDataRoute:n!=null},children:N})};return n&&(m.route.ErrorBoundary||m.route.errorElement||v===0)?y.createElement(GS,{location:n.location,revalidation:n.revalidation,component:S,error:g,children:C(),routeContext:{outlet:null,matches:A,isDataRoute:!0}}):C()},null)}function M2(r){return`${r} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function ZS(r){let i=y.useContext(Oo);return Ut(i,M2(r)),i}function QS(r){let i=y.useContext(lf);return Ut(i,M2(r)),i}function KS(r){let i=y.useContext(Xr);return Ut(i,M2(r)),i}function A2(r){let i=KS(r),n=i.matches[i.matches.length-1];return Ut(n.route.id,`${r} can only be used on routes that contain a unique "id"`),n.route.id}function XS(){return A2("useRouteId")}function $S(){var t;let r=y.useContext(O2),i=QS("useRouteError"),n=A2("useRouteError");return r!==void 0?r:(t=i.errors)==null?void 0:t[n]}function JS(){let{router:r}=ZS("useNavigate"),i=A2("useNavigate"),n=y.useRef(!1);return E9(()=>{n.current=!0}),y.useCallback(async(l,s={})=>{Vr(n.current,w9),n.current&&(typeof l=="number"?r.navigate(l):await r.navigate(l,{fromRouteId:i,...s}))},[r,i])}var u4={};function T9(r,i,n){!i&&!u4[r]&&(u4[r]=!0,Vr(!1,n))}y.memo(eD);function eD({routes:r,future:i,state:n}){return D9(r,void 0,n,i)}function c4({to:r,replace:i,state:n,relative:t}){Ut(Mo(),"<Navigate> may be used only in the context of a <Router> component.");let{static:l}=y.useContext(Kr);Vr(!l,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:s}=y.useContext(Xr),{pathname:c}=Ui(),d=Ao(),h=x2(r,T2(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 Br(r){Ut(!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 tD({basename:r="/",children:i=null,location:n,navigationType:t="POP",navigator:l,static:s=!1}){Ut(!Mo(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=r.replace(/^\/*/,"/"),d=y.useMemo(()=>({basename:c,navigator:l,static:s,future:{}}),[c,l,s]);typeof n=="string"&&(n=xo(n));let{pathname:h="/",search:m="",hash:v="",state:g=null,key:_="default"}=n,S=y.useMemo(()=>{let T=Qa(h,c);return T==null?null:{location:{pathname:T,search:m,hash:v,state:g,key:_},navigationType:t}},[c,h,m,v,g,_,t]);return Vr(S!=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.`),S==null?null:y.createElement(Kr.Provider,{value:d},y.createElement(eu.Provider,{children:i,value:S}))}function Jm({children:r,location:i}){return jS(e2(r),i)}function e2(r,i=[]){let n=[];return y.Children.forEach(r,(t,l)=>{if(!y.isValidElement(t))return;let s=[...i,l];if(t.type===y.Fragment){n.push.apply(n,e2(t.props.children,s));return}Ut(t.type===Br,`[${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>`),Ut(!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=e2(t.props.children,s)),n.push(c)}),n}var Cc="get",Rc="application/x-www-form-urlencoded";function of(r){return r!=null&&typeof r.tagName=="string"}function nD(r){return of(r)&&r.tagName.toLowerCase()==="button"}function rD(r){return of(r)&&r.tagName.toLowerCase()==="form"}function aD(r){return of(r)&&r.tagName.toLowerCase()==="input"}function iD(r){return!!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)}function lD(r,i){return r.button===0&&(!i||i==="_self")&&!iD(r)}var vc=null;function oD(){if(vc===null)try{new FormData(document.createElement("form"),0),vc=!1}catch{vc=!0}return vc}var sD=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function C1(r){return r!=null&&!sD.has(r)?(Vr(!1,`"${r}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Rc}"`),null):r}function uD(r,i){let n,t,l,s,c;if(rD(r)){let d=r.getAttribute("action");t=d?Qa(d,i):null,n=r.getAttribute("method")||Cc,l=C1(r.getAttribute("enctype"))||Rc,s=new FormData(r)}else if(nD(r)||aD(r)&&(r.type==="submit"||r.type==="image")){let d=r.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=r.getAttribute("formaction")||d.getAttribute("action");if(t=h?Qa(h,i):null,n=r.getAttribute("formmethod")||d.getAttribute("method")||Cc,l=C1(r.getAttribute("formenctype"))||C1(d.getAttribute("enctype"))||Rc,s=new FormData(d,r),!oD()){let{name:m,type:v,value:g}=r;if(v==="image"){let _=m?`${m}.`:"";s.append(`${_}x`,"0"),s.append(`${_}y`,"0")}else m&&s.append(m,g)}}else{if(of(r))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Cc,t=null,l=Rc,c=r}return s&&l==="text/plain"&&(c=s,s=void 0),{action:t,method:n.toLowerCase(),encType:l,formData:s,body:c}}function C2(r,i){if(r===!1||r===null||typeof r>"u")throw new Error(i)}async function cD(r,i){if(r.id in i)return i[r.id];try{let n=await import(r.module);return i[r.id]=n,n}catch(n){return console.error(`Error loading route module \`${r.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function fD(r){return r==null?!1:r.href==null?r.rel==="preload"&&typeof r.imageSrcSet=="string"&&typeof r.imageSizes=="string":typeof r.rel=="string"&&typeof r.href=="string"}async function dD(r,i,n){let t=await Promise.all(r.map(async l=>{let s=i.routes[l.route.id];if(s){let c=await cD(s,n);return c.links?c.links():[]}return[]}));return vD(t.flat(1).filter(fD).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function f4(r,i,n,t,l,s){let c=(h,m)=>n[m]?h.route.id!==n[m].route.id:!0,d=(h,m)=>{var v;return n[m].pathname!==h.pathname||((v=n[m].route.path)==null?void 0:v.endsWith("*"))&&n[m].params["*"]!==h.params["*"]};return s==="assets"?i.filter((h,m)=>c(h,m)||d(h,m)):s==="data"?i.filter((h,m)=>{var g;let v=t.routes[h.route.id];if(!v||!v.hasLoader)return!1;if(c(h,m)||d(h,m))return!0;if(h.route.shouldRevalidate){let _=h.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:((g=n[0])==null?void 0:g.params)||{},nextUrl:new URL(r,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof _=="boolean")return _}return!0}):[]}function hD(r,i,{includeHydrateFallback:n}={}){return pD(r.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 pD(r){return[...new Set(r)]}function mD(r){let i={},n=Object.keys(r).sort();for(let t of n)i[t]=r[t];return i}function vD(r,i){let n=new Set;return new Set(i),r.reduce((t,l)=>{let s=JSON.stringify(mD(l));return n.has(s)||(n.add(s),t.push({key:s,link:l})),t},[])}function gD(r,i){let n=typeof r=="string"?new URL(r,typeof window>"u"?"server://singlefetch/":window.location.origin):r;return n.pathname==="/"?n.pathname="_root.data":i&&Qa(n.pathname,i)==="/"?n.pathname=`${i.replace(/\/$/,"")}/_root.data`:n.pathname=`${n.pathname.replace(/\/$/,"")}.data`,n}function x9(){let r=y.useContext(Oo);return C2(r,"You must render this element inside a <DataRouterContext.Provider> element"),r}function yD(){let r=y.useContext(lf);return C2(r,"You must render this element inside a <DataRouterStateContext.Provider> element"),r}var R2=y.createContext(void 0);R2.displayName="FrameworkContext";function O9(){let r=y.useContext(R2);return C2(r,"You must render this element inside a <HydratedRouter> element"),r}function bD(r,i){let n=y.useContext(R2),[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(r==="render"&&c(!0),r==="viewport"){let A=N=>{N.forEach(O=>{c(O.isIntersecting)})},C=new IntersectionObserver(A,{threshold:.5});return _.current&&C.observe(_.current),()=>{C.disconnect()}}},[r]),y.useEffect(()=>{if(t){let A=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(A)}}},[t]);let S=()=>{l(!0)},T=()=>{l(!1),c(!1)};return n?r!=="intent"?[s,_,{}]:[s,_,{onFocus:Cs(d,S),onBlur:Cs(h,T),onMouseEnter:Cs(m,S),onMouseLeave:Cs(v,T),onTouchStart:Cs(g,S)}]:[!1,_,{}]}function Cs(r,i){return n=>{r&&r(n),n.defaultPrevented||i(n)}}function _D({page:r,...i}){let{router:n}=x9(),t=y.useMemo(()=>v9(n.routes,r,n.basename),[n.routes,r,n.basename]);return t?y.createElement(ED,{page:r,matches:t,...i}):null}function wD(r){let{manifest:i,routeModules:n}=O9(),[t,l]=y.useState([]);return y.useEffect(()=>{let s=!1;return dD(r,i,n).then(c=>{s||l(c)}),()=>{s=!0}},[r,i,n]),t}function ED({page:r,matches:i,...n}){let t=Ui(),{manifest:l,routeModules:s}=O9(),{basename:c}=x9(),{loaderData:d,matches:h}=yD(),m=y.useMemo(()=>f4(r,i,h,l,t,"data"),[r,i,h,l,t]),v=y.useMemo(()=>f4(r,i,h,l,t,"assets"),[r,i,h,l,t]),g=y.useMemo(()=>{if(r===t.pathname+t.search+t.hash)return[];let T=new Set,A=!1;if(i.forEach(N=>{var B;let O=l.routes[N.route.id];!O||!O.hasLoader||(!m.some(Q=>Q.route.id===N.route.id)&&N.route.id in d&&((B=s[N.route.id])!=null&&B.shouldRevalidate)||O.hasClientLoader?A=!0:T.add(N.route.id))}),T.size===0)return[];let C=gD(r,c);return A&&T.size>0&&C.searchParams.set("_routes",i.filter(N=>T.has(N.route.id)).map(N=>N.route.id).join(",")),[C.pathname+C.search]},[c,d,t,l,m,i,r,s]),_=y.useMemo(()=>hD(v,l),[v,l]),S=wD(v);return y.createElement(y.Fragment,null,g.map(T=>y.createElement("link",{key:T,rel:"prefetch",as:"fetch",href:T,...n})),_.map(T=>y.createElement("link",{key:T,rel:"modulepreload",href:T,...n})),S.map(({key:T,link:A})=>y.createElement("link",{key:T,...A})))}function SD(...r){return i=>{r.forEach(n=>{typeof n=="function"?n(i):n!=null&&(n.current=i)})}}var M9=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{M9&&(window.__reactRouterVersion="7.3.0")}catch{}function DD({basename:r,children:i,window:n}){let t=y.useRef();t.current==null&&(t.current=pS({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(tD,{basename:r,children:i,location:s.location,navigationType:s.action,navigator:l})}var A9=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,N2=y.forwardRef(function({onClick:i,discover:n="render",prefetch:t="none",relative:l,reloadDocument:s,replace:c,state:d,target:h,to:m,preventScrollReset:v,viewTransition:g,..._},S){let{basename:T}=y.useContext(Kr),A=typeof m=="string"&&A9.test(m),C,N=!1;if(typeof m=="string"&&A&&(C=m,M9))try{let E=new URL(window.location.href),D=m.startsWith("//")?new URL(E.protocol+m):new URL(m),k=Qa(D.pathname,T);D.origin===E.origin&&k!=null?m=k+D.search+D.hash:N=!0}catch{Vr(!1,`<Link to="${m}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let O=YS(m,{relative:l}),[B,Q,$]=bD(t,_),ne=MD(m,{replace:c,state:d,target:h,preventScrollReset:v,relative:l,viewTransition:g});function Z(E){i&&i(E),E.defaultPrevented||ne(E)}let w=y.createElement("a",{..._,...$,href:C||O,onClick:N||s?i:Z,ref:SD(S,Q),target:h,"data-discover":!A&&n==="render"?"true":void 0});return B&&!A?y.createElement(y.Fragment,null,w,y.createElement(_D,{page:O})):w});N2.displayName="Link";var TD=y.forwardRef(function({"aria-current":i="page",caseSensitive:n=!1,className:t="",end:l=!1,style:s,to:c,viewTransition:d,children:h,...m},v){let g=tu(c,{relative:m.relative}),_=Ui(),S=y.useContext(lf),{navigator:T,basename:A}=y.useContext(Kr),C=S!=null&&kD(g)&&d===!0,N=T.encodeLocation?T.encodeLocation(g).pathname:g.pathname,O=_.pathname,B=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;n||(O=O.toLowerCase(),B=B?B.toLowerCase():null,N=N.toLowerCase()),B&&A&&(B=Qa(B,A)||B);const Q=N!=="/"&&N.endsWith("/")?N.length-1:N.length;let $=O===N||!l&&O.startsWith(N)&&O.charAt(Q)==="/",ne=B!=null&&(B===N||!l&&B.startsWith(N)&&B.charAt(N.length)==="/"),Z={isActive:$,isPending:ne,isTransitioning:C},w=$?i:void 0,E;typeof t=="function"?E=t(Z):E=[t,$?"active":null,ne?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let D=typeof s=="function"?s(Z):s;return y.createElement(N2,{...m,"aria-current":w,className:E,ref:v,style:D,to:c,viewTransition:d},typeof h=="function"?h(Z):h)});TD.displayName="NavLink";var xD=y.forwardRef(({discover:r="render",fetcherKey:i,navigate:n,reloadDocument:t,replace:l,state:s,method:c=Cc,action:d,onSubmit:h,relative:m,preventScrollReset:v,viewTransition:g,..._},S)=>{let T=RD(),A=ND(d,{relative:m}),C=c.toLowerCase()==="get"?"get":"post",N=typeof d=="string"&&A9.test(d),O=B=>{if(h&&h(B),B.defaultPrevented)return;B.preventDefault();let Q=B.nativeEvent.submitter,$=(Q==null?void 0:Q.getAttribute("formmethod"))||c;T(Q||B.currentTarget,{fetcherKey:i,method:$,navigate:n,replace:l,state:s,relative:m,preventScrollReset:v,viewTransition:g})};return y.createElement("form",{ref:S,method:C,action:A,onSubmit:t?h:O,..._,"data-discover":!N&&r==="render"?"true":void 0})});xD.displayName="Form";function OD(r){return`${r} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function C9(r){let i=y.useContext(Oo);return Ut(i,OD(r)),i}function MD(r,{target:i,replace:n,state:t,preventScrollReset:l,relative:s,viewTransition:c}={}){let d=Ao(),h=Ui(),m=tu(r,{relative:s});return y.useCallback(v=>{if(lD(v,i)){v.preventDefault();let g=n!==void 0?n:Zs(h)===Zs(m);d(r,{replace:g,state:t,preventScrollReset:l,relative:s,viewTransition:c})}},[h,d,m,n,t,i,r,l,s,c])}var AD=0,CD=()=>`__${String(++AD)}__`;function RD(){let{router:r}=C9("useSubmit"),{basename:i}=y.useContext(Kr),n=XS();return y.useCallback(async(t,l={})=>{let{action:s,method:c,encType:d,formData:h,body:m}=uD(t,i);if(l.navigate===!1){let v=l.fetcherKey||CD();await r.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 r.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})},[r,i,n])}function ND(r,{relative:i}={}){let{basename:n}=y.useContext(Kr),t=y.useContext(Xr);Ut(t,"useFormAction must be used inside a RouteContext");let[l]=t.matches.slice(-1),s={...tu(r||".",{relative:i})},c=Ui();if(r==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(!r||r===".")&&l.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(s.pathname=s.pathname==="/"?n:ja([n,s.pathname])),Zs(s)}function kD(r,i={}){let n=y.useContext(_9);Ut(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:t}=C9("useViewTransitionState"),l=tu(r,{relative:i.relative});if(!n.isTransitioning)return!1;let s=Qa(n.currentLocation.pathname,t)||n.currentLocation.pathname,c=Qa(n.nextLocation.pathname,t)||n.nextLocation.pathname;return Bc(l.pathname,c)!=null||Bc(l.pathname,s)!=null}new TextEncoder;var R9=Qb();const LD=hr(R9),qD={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"},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"}},HD={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"},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 R1,d4;function $r(){if(d4)return R1;d4=1;var r=Array.isArray;return R1=r,R1}var N1,h4;function N9(){if(h4)return N1;h4=1;var r=typeof hc=="object"&&hc&&hc.Object===Object&&hc;return N1=r,N1}var k1,p4;function ya(){if(p4)return k1;p4=1;var r=N9(),i=typeof self=="object"&&self&&self.Object===Object&&self,n=r||i||Function("return this")();return k1=n,k1}var L1,m4;function nu(){if(m4)return L1;m4=1;var r=ya(),i=r.Symbol;return L1=i,L1}var q1,v4;function UD(){if(v4)return q1;v4=1;var r=nu(),i=Object.prototype,n=i.hasOwnProperty,t=i.toString,l=r?r.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 q1=s,q1}var H1,g4;function PD(){if(g4)return H1;g4=1;var r=Object.prototype,i=r.toString;function n(t){return i.call(t)}return H1=n,H1}var U1,y4;function Co(){if(y4)return U1;y4=1;var r=nu(),i=UD(),n=PD(),t="[object Null]",l="[object Undefined]",s=r?r.toStringTag:void 0;function c(d){return d==null?d===void 0?l:t:s&&s in Object(d)?i(d):n(d)}return U1=c,U1}var P1,b4;function Tl(){if(b4)return P1;b4=1;function r(i){return i!=null&&typeof i=="object"}return P1=r,P1}var z1,_4;function ru(){if(_4)return z1;_4=1;var r=Co(),i=Tl(),n="[object Symbol]";function t(l){return typeof l=="symbol"||i(l)&&r(l)==n}return z1=t,z1}var Y1,w4;function k2(){if(w4)return Y1;w4=1;var r=$r(),i=ru(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,t=/^\w*$/;function l(s,c){if(r(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 Y1=l,Y1}var B1,E4;function Xa(){if(E4)return B1;E4=1;function r(i){var n=typeof i;return i!=null&&(n=="object"||n=="function")}return B1=r,B1}var j1,S4;function L2(){if(S4)return j1;S4=1;var r=Co(),i=Xa(),n="[object AsyncFunction]",t="[object Function]",l="[object GeneratorFunction]",s="[object Proxy]";function c(d){if(!i(d))return!1;var h=r(d);return h==t||h==l||h==n||h==s}return j1=c,j1}var I1,D4;function zD(){if(D4)return I1;D4=1;var r=ya(),i=r["__core-js_shared__"];return I1=i,I1}var F1,T4;function YD(){if(T4)return F1;T4=1;var r=zD(),i=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function n(t){return!!i&&i in t}return F1=n,F1}var G1,x4;function k9(){if(x4)return G1;x4=1;var r=Function.prototype,i=r.toString;function n(t){if(t!=null){try{return i.call(t)}catch{}try{return t+""}catch{}}return""}return G1=n,G1}var V1,O4;function BD(){if(O4)return V1;O4=1;var r=L2(),i=YD(),n=Xa(),t=k9(),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 S=r(_)?v:s;return S.test(t(_))}return V1=g,V1}var W1,M4;function jD(){if(M4)return W1;M4=1;function r(i,n){return i==null?void 0:i[n]}return W1=r,W1}var Z1,A4;function xl(){if(A4)return Z1;A4=1;var r=BD(),i=jD();function n(t,l){var s=i(t,l);return r(s)?s:void 0}return Z1=n,Z1}var Q1,C4;function sf(){if(C4)return Q1;C4=1;var r=xl(),i=r(Object,"create");return Q1=i,Q1}var K1,R4;function ID(){if(R4)return K1;R4=1;var r=sf();function i(){this.__data__=r?r(null):{},this.size=0}return K1=i,K1}var X1,N4;function FD(){if(N4)return X1;N4=1;function r(i){var n=this.has(i)&&delete this.__data__[i];return this.size-=n?1:0,n}return X1=r,X1}var $1,k4;function GD(){if(k4)return $1;k4=1;var r=sf(),i="__lodash_hash_undefined__",n=Object.prototype,t=n.hasOwnProperty;function l(s){var c=this.__data__;if(r){var d=c[s];return d===i?void 0:d}return t.call(c,s)?c[s]:void 0}return $1=l,$1}var J1,L4;function VD(){if(L4)return J1;L4=1;var r=sf(),i=Object.prototype,n=i.hasOwnProperty;function t(l){var s=this.__data__;return r?s[l]!==void 0:n.call(s,l)}return J1=t,J1}var e0,q4;function WD(){if(q4)return e0;q4=1;var r=sf(),i="__lodash_hash_undefined__";function n(t,l){var s=this.__data__;return this.size+=this.has(t)?0:1,s[t]=r&&l===void 0?i:l,this}return e0=n,e0}var t0,H4;function ZD(){if(H4)return t0;H4=1;var r=ID(),i=FD(),n=GD(),t=VD(),l=WD();function s(c){var d=-1,h=c==null?0:c.length;for(this.clear();++d<h;){var m=c[d];this.set(m[0],m[1])}}return s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=n,s.prototype.has=t,s.prototype.set=l,t0=s,t0}var n0,U4;function QD(){if(U4)return n0;U4=1;function r(){this.__data__=[],this.size=0}return n0=r,n0}var r0,P4;function au(){if(P4)return r0;P4=1;function r(i,n){return i===n||i!==i&&n!==n}return r0=r,r0}var a0,z4;function uf(){if(z4)return a0;z4=1;var r=au();function i(n,t){for(var l=n.length;l--;)if(r(n[l][0],t))return l;return-1}return a0=i,a0}var i0,Y4;function KD(){if(Y4)return i0;Y4=1;var r=uf(),i=Array.prototype,n=i.splice;function t(l){var s=this.__data__,c=r(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 i0=t,i0}var l0,B4;function XD(){if(B4)return l0;B4=1;var r=uf();function i(n){var t=this.__data__,l=r(t,n);return l<0?void 0:t[l][1]}return l0=i,l0}var o0,j4;function $D(){if(j4)return o0;j4=1;var r=uf();function i(n){return r(this.__data__,n)>-1}return o0=i,o0}var s0,I4;function JD(){if(I4)return s0;I4=1;var r=uf();function i(n,t){var l=this.__data__,s=r(l,n);return s<0?(++this.size,l.push([n,t])):l[s][1]=t,this}return s0=i,s0}var u0,F4;function cf(){if(F4)return u0;F4=1;var r=QD(),i=KD(),n=XD(),t=$D(),l=JD();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=r,s.prototype.delete=i,s.prototype.get=n,s.prototype.has=t,s.prototype.set=l,u0=s,u0}var c0,G4;function q2(){if(G4)return c0;G4=1;var r=xl(),i=ya(),n=r(i,"Map");return c0=n,c0}var f0,V4;function eT(){if(V4)return f0;V4=1;var r=ZD(),i=cf(),n=q2();function t(){this.size=0,this.__data__={hash:new r,map:new(n||i),string:new r}}return f0=t,f0}var d0,W4;function tT(){if(W4)return d0;W4=1;function r(i){var n=typeof i;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?i!=="__proto__":i===null}return d0=r,d0}var h0,Z4;function ff(){if(Z4)return h0;Z4=1;var r=tT();function i(n,t){var l=n.__data__;return r(t)?l[typeof t=="string"?"string":"hash"]:l.map}return h0=i,h0}var p0,Q4;function nT(){if(Q4)return p0;Q4=1;var r=ff();function i(n){var t=r(this,n).delete(n);return this.size-=t?1:0,t}return p0=i,p0}var m0,K4;function rT(){if(K4)return m0;K4=1;var r=ff();function i(n){return r(this,n).get(n)}return m0=i,m0}var v0,X4;function aT(){if(X4)return v0;X4=1;var r=ff();function i(n){return r(this,n).has(n)}return v0=i,v0}var g0,$4;function iT(){if($4)return g0;$4=1;var r=ff();function i(n,t){var l=r(this,n),s=l.size;return l.set(n,t),this.size+=l.size==s?0:1,this}return g0=i,g0}var y0,J4;function H2(){if(J4)return y0;J4=1;var r=eT(),i=nT(),n=rT(),t=aT(),l=iT();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=r,s.prototype.delete=i,s.prototype.get=n,s.prototype.has=t,s.prototype.set=l,y0=s,y0}var b0,ey;function lT(){if(ey)return b0;ey=1;var r=H2(),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||r),s}return n.Cache=r,b0=n,b0}var _0,ty;function oT(){if(ty)return _0;ty=1;var r=lT(),i=500;function n(t){var l=r(t,function(c){return s.size===i&&s.clear(),c}),s=l.cache;return l}return _0=n,_0}var w0,ny;function sT(){if(ny)return w0;ny=1;var r=oT(),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,t=r(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 w0=t,w0}var E0,ry;function L9(){if(ry)return E0;ry=1;function r(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 E0=r,E0}var S0,ay;function uT(){if(ay)return S0;ay=1;var r=nu(),i=L9(),n=$r(),t=ru(),l=r?r.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 S0=c,S0}var D0,iy;function Ro(){if(iy)return D0;iy=1;var r=uT();function i(n){return n==null?"":r(n)}return D0=i,D0}var T0,ly;function q9(){if(ly)return T0;ly=1;var r=$r(),i=k2(),n=sT(),t=Ro();function l(s,c){return r(s)?s:i(s,c)?[s]:n(t(s))}return T0=l,T0}var x0,oy;function df(){if(oy)return x0;oy=1;var r=ru();function i(n){if(typeof n=="string"||r(n))return n;var t=n+"";return t=="0"&&1/n==-1/0?"-0":t}return x0=i,x0}var O0,sy;function U2(){if(sy)return O0;sy=1;var r=q9(),i=df();function n(t,l){l=r(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 O0=n,O0}var M0,uy;function H9(){if(uy)return M0;uy=1;var r=U2();function i(n,t,l){var s=n==null?void 0:r(n,t);return s===void 0?l:s}return M0=i,M0}var cT=H9();const fT=hr(cT);var A0,cy;function dT(){if(cy)return A0;cy=1;var r=Object.prototype,i=r.hasOwnProperty;function n(t,l){return t!=null&&i.call(t,l)}return A0=n,A0}var C0,fy;function hT(){if(fy)return C0;fy=1;var r=Co(),i=Tl(),n="[object Arguments]";function t(l){return i(l)&&r(l)==n}return C0=t,C0}var R0,dy;function hf(){if(dy)return R0;dy=1;var r=hT(),i=Tl(),n=Object.prototype,t=n.hasOwnProperty,l=n.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(c){return i(c)&&t.call(c,"callee")&&!l.call(c,"callee")};return R0=s,R0}var N0,hy;function P2(){if(hy)return N0;hy=1;var r=9007199254740991,i=/^(?:0|[1-9]\d*)$/;function n(t,l){var s=typeof t;return l=l??r,!!l&&(s=="number"||s!="symbol"&&i.test(t))&&t>-1&&t%1==0&&t<l}return N0=n,N0}var k0,py;function z2(){if(py)return k0;py=1;var r=9007199254740991;function i(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=r}return k0=i,k0}var L0,my;function U9(){if(my)return L0;my=1;var r=q9(),i=hf(),n=$r(),t=P2(),l=z2(),s=df();function c(d,h,m){h=r(h,d);for(var v=-1,g=h.length,_=!1;++v<g;){var S=s(h[v]);if(!(_=d!=null&&m(d,S)))break;d=d[S]}return _||++v!=g?_:(g=d==null?0:d.length,!!g&&l(g)&&t(S,g)&&(n(d)||i(d)))}return L0=c,L0}var q0,vy;function pT(){if(vy)return q0;vy=1;var r=dT(),i=U9();function n(t,l){return t!=null&&i(t,l,r)}return q0=n,q0}var mT=pT();const vT=hr(mT);var H0,gy;function gT(){if(gy)return H0;gy=1;var r=cf();function i(){this.__data__=new r,this.size=0}return H0=i,H0}var U0,yy;function yT(){if(yy)return U0;yy=1;function r(i){var n=this.__data__,t=n.delete(i);return this.size=n.size,t}return U0=r,U0}var P0,by;function bT(){if(by)return P0;by=1;function r(i){return this.__data__.get(i)}return P0=r,P0}var z0,_y;function _T(){if(_y)return z0;_y=1;function r(i){return this.__data__.has(i)}return z0=r,z0}var Y0,wy;function wT(){if(wy)return Y0;wy=1;var r=cf(),i=q2(),n=H2(),t=200;function l(s,c){var d=this.__data__;if(d instanceof r){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 Y0=l,Y0}var B0,Ey;function Y2(){if(Ey)return B0;Ey=1;var r=cf(),i=gT(),n=yT(),t=bT(),l=_T(),s=wT();function c(d){var h=this.__data__=new r(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,B0=c,B0}var j0,Sy;function P9(){if(Sy)return j0;Sy=1;var r=xl(),i=function(){try{var n=r(Object,"defineProperty");return n({},"",{}),n}catch{}}();return j0=i,j0}var I0,Dy;function B2(){if(Dy)return I0;Dy=1;var r=P9();function i(n,t,l){t=="__proto__"&&r?r(n,t,{configurable:!0,enumerable:!0,value:l,writable:!0}):n[t]=l}return I0=i,I0}var F0,Ty;function z9(){if(Ty)return F0;Ty=1;var r=B2(),i=au();function n(t,l,s){(s!==void 0&&!i(t[l],s)||s===void 0&&!(l in t))&&r(t,l,s)}return F0=n,F0}var G0,xy;function ET(){if(xy)return G0;xy=1;function r(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 G0=r,G0}var V0,Oy;function Y9(){if(Oy)return V0;Oy=1;var r=ET(),i=r();return V0=i,V0}var Bs={exports:{}};Bs.exports;var My;function ST(){return My||(My=1,function(r,i){var n=ya(),t=i&&!i.nodeType&&i,l=t&&!0&&r&&!r.nodeType&&r,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(_),_}r.exports=h}(Bs,Bs.exports)),Bs.exports}var W0,Ay;function B9(){if(Ay)return W0;Ay=1;var r=ya(),i=r.Uint8Array;return W0=i,W0}var Z0,Cy;function DT(){if(Cy)return Z0;Cy=1;var r=B9();function i(n){var t=new n.constructor(n.byteLength);return new r(t).set(new r(n)),t}return Z0=i,Z0}var Q0,Ry;function TT(){if(Ry)return Q0;Ry=1;var r=DT();function i(n,t){var l=t?r(n.buffer):n.buffer;return new n.constructor(l,n.byteOffset,n.length)}return Q0=i,Q0}var K0,Ny;function xT(){if(Ny)return K0;Ny=1;function r(i,n){var t=-1,l=i.length;for(n||(n=Array(l));++t<l;)n[t]=i[t];return n}return K0=r,K0}var X0,ky;function OT(){if(ky)return X0;ky=1;var r=Xa(),i=Object.create,n=function(){function t(){}return function(l){if(!r(l))return{};if(i)return i(l);t.prototype=l;var s=new t;return t.prototype=void 0,s}}();return X0=n,X0}var $0,Ly;function j9(){if(Ly)return $0;Ly=1;function r(i,n){return function(t){return i(n(t))}}return $0=r,$0}var J0,qy;function I9(){if(qy)return J0;qy=1;var r=j9(),i=r(Object.getPrototypeOf,Object);return J0=i,J0}var eh,Hy;function j2(){if(Hy)return eh;Hy=1;var r=Object.prototype;function i(n){var t=n&&n.constructor,l=typeof t=="function"&&t.prototype||r;return n===l}return eh=i,eh}var th,Uy;function MT(){if(Uy)return th;Uy=1;var r=OT(),i=I9(),n=j2();function t(l){return typeof l.constructor=="function"&&!n(l)?r(i(l)):{}}return th=t,th}var nh,Py;function No(){if(Py)return nh;Py=1;var r=L2(),i=z2();function n(t){return t!=null&&i(t.length)&&!r(t)}return nh=n,nh}var rh,zy;function AT(){if(zy)return rh;zy=1;var r=No(),i=Tl();function n(t){return i(t)&&r(t)}return rh=n,rh}var js={exports:{}},ah,Yy;function CT(){if(Yy)return ah;Yy=1;function r(){return!1}return ah=r,ah}js.exports;var By;function I2(){return By||(By=1,function(r,i){var n=ya(),t=CT(),l=i&&!i.nodeType&&i,s=l&&!0&&r&&!r.nodeType&&r,c=s&&s.exports===l,d=c?n.Buffer:void 0,h=d?d.isBuffer:void 0,m=h||t;r.exports=m}(js,js.exports)),js.exports}var ih,jy;function RT(){if(jy)return ih;jy=1;var r=Co(),i=I9(),n=Tl(),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)||r(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 ih=m,ih}var lh,Iy;function NT(){if(Iy)return lh;Iy=1;var r=Co(),i=z2(),n=Tl(),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]",S="[object Set]",T="[object String]",A="[object WeakMap]",C="[object ArrayBuffer]",N="[object DataView]",O="[object Float32Array]",B="[object Float64Array]",Q="[object Int8Array]",$="[object Int16Array]",ne="[object Int32Array]",Z="[object Uint8Array]",w="[object Uint8ClampedArray]",E="[object Uint16Array]",D="[object Uint32Array]",k={};k[O]=k[B]=k[Q]=k[$]=k[ne]=k[Z]=k[w]=k[E]=k[D]=!0,k[t]=k[l]=k[C]=k[s]=k[N]=k[c]=k[d]=k[h]=k[m]=k[v]=k[g]=k[_]=k[S]=k[T]=k[A]=!1;function q(z){return n(z)&&i(z.length)&&!!k[r(z)]}return lh=q,lh}var oh,Fy;function F9(){if(Fy)return oh;Fy=1;function r(i){return function(n){return i(n)}}return oh=r,oh}var Is={exports:{}};Is.exports;var Gy;function kT(){return Gy||(Gy=1,function(r,i){var n=N9(),t=i&&!i.nodeType&&i,l=t&&!0&&r&&!r.nodeType&&r,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{}}();r.exports=d}(Is,Is.exports)),Is.exports}var sh,Vy;function F2(){if(Vy)return sh;Vy=1;var r=NT(),i=F9(),n=kT(),t=n&&n.isTypedArray,l=t?i(t):r;return sh=l,sh}var uh,Wy;function G9(){if(Wy)return uh;Wy=1;function r(i,n){if(!(n==="constructor"&&typeof i[n]=="function")&&n!="__proto__")return i[n]}return uh=r,uh}var ch,Zy;function V9(){if(Zy)return ch;Zy=1;var r=B2(),i=au(),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))&&r(s,c,d)}return ch=l,ch}var fh,Qy;function LT(){if(Qy)return fh;Qy=1;var r=V9(),i=B2();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):r(s,v,g)}return s}return fh=n,fh}var dh,Ky;function qT(){if(Ky)return dh;Ky=1;function r(i,n){for(var t=-1,l=Array(i);++t<i;)l[t]=n(t);return l}return dh=r,dh}var hh,Xy;function W9(){if(Xy)return hh;Xy=1;var r=qT(),i=hf(),n=$r(),t=I2(),l=P2(),s=F2(),c=Object.prototype,d=c.hasOwnProperty;function h(m,v){var g=n(m),_=!g&&i(m),S=!g&&!_&&t(m),T=!g&&!_&&!S&&s(m),A=g||_||S||T,C=A?r(m.length,String):[],N=C.length;for(var O in m)(v||d.call(m,O))&&!(A&&(O=="length"||S&&(O=="offset"||O=="parent")||T&&(O=="buffer"||O=="byteLength"||O=="byteOffset")||l(O,N)))&&C.push(O);return C}return hh=h,hh}var ph,$y;function HT(){if($y)return ph;$y=1;function r(i){var n=[];if(i!=null)for(var t in Object(i))n.push(t);return n}return ph=r,ph}var mh,Jy;function UT(){if(Jy)return mh;Jy=1;var r=Xa(),i=j2(),n=HT(),t=Object.prototype,l=t.hasOwnProperty;function s(c){if(!r(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 mh=s,mh}var vh,e5;function Z9(){if(e5)return vh;e5=1;var r=W9(),i=UT(),n=No();function t(l){return n(l)?r(l,!0):i(l)}return vh=t,vh}var gh,t5;function PT(){if(t5)return gh;t5=1;var r=LT(),i=Z9();function n(t){return r(t,i(t))}return gh=n,gh}var yh,n5;function zT(){if(n5)return yh;n5=1;var r=z9(),i=ST(),n=TT(),t=xT(),l=MT(),s=hf(),c=$r(),d=AT(),h=I2(),m=L2(),v=Xa(),g=RT(),_=F2(),S=G9(),T=PT();function A(C,N,O,B,Q,$,ne){var Z=S(C,O),w=S(N,O),E=ne.get(w);if(E){r(C,O,E);return}var D=$?$(Z,w,O+"",C,N,ne):void 0,k=D===void 0;if(k){var q=c(w),z=!q&&h(w),j=!q&&!z&&_(w);D=w,q||z||j?c(Z)?D=Z:d(Z)?D=t(Z):z?(k=!1,D=i(w,!0)):j?(k=!1,D=n(w,!0)):D=[]:g(w)||s(w)?(D=Z,s(Z)?D=T(Z):(!v(Z)||m(Z))&&(D=l(w))):k=!1}k&&(ne.set(w,D),Q(D,w,B,$,ne),ne.delete(w)),r(C,O,D)}return yh=A,yh}var bh,r5;function YT(){if(r5)return bh;r5=1;var r=Y2(),i=z9(),n=Y9(),t=zT(),l=Xa(),s=Z9(),c=G9();function d(h,m,v,g,_){h!==m&&n(m,function(S,T){if(_||(_=new r),l(S))t(h,m,T,v,d,g,_);else{var A=g?g(c(h,T),S,T+"",h,m,_):void 0;A===void 0&&(A=S),i(h,T,A)}},s)}return bh=d,bh}var _h,a5;function pf(){if(a5)return _h;a5=1;function r(i){return i}return _h=r,_h}var wh,i5;function BT(){if(i5)return wh;i5=1;function r(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 wh=r,wh}var Eh,l5;function jT(){if(l5)return Eh;l5=1;var r=BT(),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),r(t,this,v)}}return Eh=n,Eh}var Sh,o5;function IT(){if(o5)return Sh;o5=1;function r(i){return function(){return i}}return Sh=r,Sh}var Dh,s5;function FT(){if(s5)return Dh;s5=1;var r=IT(),i=P9(),n=pf(),t=i?function(l,s){return i(l,"toString",{configurable:!0,enumerable:!1,value:r(s),writable:!0})}:n;return Dh=t,Dh}var Th,u5;function GT(){if(u5)return Th;u5=1;var r=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>=r)return arguments[0]}else s=0;return l.apply(void 0,arguments)}}return Th=t,Th}var xh,c5;function VT(){if(c5)return xh;c5=1;var r=FT(),i=GT(),n=i(r);return xh=n,xh}var Oh,f5;function Q9(){if(f5)return Oh;f5=1;var r=pf(),i=jT(),n=VT();function t(l,s){return n(i(l,s,r),l+"")}return Oh=t,Oh}var Mh,d5;function mf(){if(d5)return Mh;d5=1;var r=au(),i=No(),n=P2(),t=Xa();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)?r(d[c],s):!1}return Mh=l,Mh}var Ah,h5;function WT(){if(h5)return Ah;h5=1;var r=Q9(),i=mf();function n(t){return r(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 Ah=n,Ah}var Ch,p5;function ZT(){if(p5)return Ch;p5=1;var r=YT(),i=WT(),n=i(function(t,l,s){r(t,l,s)});return Ch=n,Ch}var QT=ZT();const KT=hr(QT);var Rh,m5;function XT(){if(m5)return Rh;m5=1;var r="__lodash_hash_undefined__";function i(n){return this.__data__.set(n,r),this}return Rh=i,Rh}var Nh,v5;function $T(){if(v5)return Nh;v5=1;function r(i){return this.__data__.has(i)}return Nh=r,Nh}var kh,g5;function K9(){if(g5)return kh;g5=1;var r=H2(),i=XT(),n=$T();function t(l){var s=-1,c=l==null?0:l.length;for(this.__data__=new r;++s<c;)this.add(l[s])}return t.prototype.add=t.prototype.push=i,t.prototype.has=n,kh=t,kh}var Lh,y5;function JT(){if(y5)return Lh;y5=1;function r(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 Lh=r,Lh}var qh,b5;function ex(){if(b5)return qh;b5=1;function r(i){return i!==i}return qh=r,qh}var Hh,_5;function tx(){if(_5)return Hh;_5=1;function r(i,n,t){for(var l=t-1,s=i.length;++l<s;)if(i[l]===n)return l;return-1}return Hh=r,Hh}var Uh,w5;function nx(){if(w5)return Uh;w5=1;var r=JT(),i=ex(),n=tx();function t(l,s,c){return s===s?n(l,s,c):r(l,i,c)}return Uh=t,Uh}var Ph,E5;function rx(){if(E5)return Ph;E5=1;var r=nx();function i(n,t){var l=n==null?0:n.length;return!!l&&r(n,t,0)>-1}return Ph=i,Ph}var zh,S5;function ax(){if(S5)return zh;S5=1;function r(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 zh=r,zh}var Yh,D5;function X9(){if(D5)return Yh;D5=1;function r(i,n){return i.has(n)}return Yh=r,Yh}var Bh,T5;function $9(){if(T5)return Bh;T5=1;var r=xl(),i=ya(),n=r(i,"Set");return Bh=n,Bh}var jh,x5;function ix(){if(x5)return jh;x5=1;function r(){}return jh=r,jh}var Ih,O5;function G2(){if(O5)return Ih;O5=1;function r(i){var n=-1,t=Array(i.size);return i.forEach(function(l){t[++n]=l}),t}return Ih=r,Ih}var Fh,M5;function lx(){if(M5)return Fh;M5=1;var r=$9(),i=ix(),n=G2(),t=1/0,l=r&&1/n(new r([,-0]))[1]==t?function(s){return new r(s)}:i;return Fh=l,Fh}var Gh,A5;function ox(){if(A5)return Gh;A5=1;var r=K9(),i=rx(),n=ax(),t=X9(),l=lx(),s=G2(),c=200;function d(h,m,v){var g=-1,_=i,S=h.length,T=!0,A=[],C=A;if(v)T=!1,_=n;else if(S>=c){var N=m?null:l(h);if(N)return s(N);T=!1,_=t,C=new r}else C=m?[]:A;e:for(;++g<S;){var O=h[g],B=m?m(O):O;if(O=v||O!==0?O:0,T&&B===B){for(var Q=C.length;Q--;)if(C[Q]===B)continue e;m&&C.push(B),A.push(O)}else _(C,B,v)||(C!==A&&C.push(B),A.push(O))}return A}return Gh=d,Gh}var Vh,C5;function sx(){if(C5)return Vh;C5=1;var r=ox();function i(n){return n&&n.length?r(n):[]}return Vh=i,Vh}var ux=sx();const cx=hr(ux),fx=(r,i)=>{const n=[],t=[];return n.push(i),i||n.push(r.locale),r.enableFallback&&n.push(r.defaultLocale),n.filter(Boolean).map(l=>l.toString()).forEach(function(l){if(t.includes(l)||t.push(l),!r.enableFallback)return;const s=l.split("-");s.length===3&&t.push(`${s[0]}-${s[1]}`),t.push(s[0])}),cx(t)};class dx{constructor(i){this.i18n=i,this.registry={},this.register("default",fx)}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 hx=(r,i)=>{const n=String(r).split("."),t=!n[1],l=Number(n[0])==r,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":r==1&&t?"one":"other"};function px({pluralizer:r,includeZero:i=!0,ordinal:n=!1}){return function(t,l){return[i&&l===0?"zero":"",r(l,n)].filter(Boolean)}}const mx=px({pluralizer:hx,includeZero:!0});class vx{constructor(i){this.i18n=i,this.registry={},this.register("default",mx)}register(i,n){this.registry[i]=n}get(i){return this.registry[i]||this.registry[this.i18n.locale]||this.registry.default}}var Wh,R5;function gx(){if(R5)return Wh;R5=1;function r(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 Wh=r,Wh}var Zh,N5;function yx(){if(N5)return Zh;N5=1;var r=gx();function i(n,t,l){var s=n.length;return l=l===void 0?s:l,!t&&l>=s?n:r(n,t,l)}return Zh=i,Zh}var Qh,k5;function J9(){if(k5)return Qh;k5=1;var r="\\ud800-\\udfff",i="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",t="\\u20d0-\\u20ff",l=i+n+t,s="\\ufe0e\\ufe0f",c="\\u200d",d=RegExp("["+c+r+l+s+"]");function h(m){return d.test(m)}return Qh=h,Qh}var Kh,L5;function bx(){if(L5)return Kh;L5=1;function r(i){return i.split("")}return Kh=r,Kh}var Xh,q5;function _x(){if(q5)return Xh;q5=1;var r="\\ud800-\\udfff",i="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",t="\\u20d0-\\u20ff",l=i+n+t,s="\\ufe0e\\ufe0f",c="["+r+"]",d="["+l+"]",h="\\ud83c[\\udffb-\\udfff]",m="(?:"+d+"|"+h+")",v="[^"+r+"]",g="(?:\\ud83c[\\udde6-\\uddff]){2}",_="[\\ud800-\\udbff][\\udc00-\\udfff]",S="\\u200d",T=m+"?",A="["+s+"]?",C="(?:"+S+"(?:"+[v,g,_].join("|")+")"+A+T+")*",N=A+T+C,O="(?:"+[v+d+"?",d,g,_,c].join("|")+")",B=RegExp(h+"(?="+h+")|"+O+N,"g");function Q($){return $.match(B)||[]}return Xh=Q,Xh}var $h,H5;function wx(){if(H5)return $h;H5=1;var r=bx(),i=J9(),n=_x();function t(l){return i(l)?n(l):r(l)}return $h=t,$h}var Jh,U5;function Ex(){if(U5)return Jh;U5=1;var r=yx(),i=J9(),n=wx(),t=Ro();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?r(d,1).join(""):c.slice(1);return h[s]()+m}}return Jh=l,Jh}var ep,P5;function Sx(){if(P5)return ep;P5=1;var r=Ex(),i=r("toUpperCase");return ep=i,ep}var tp,z5;function Dx(){if(z5)return tp;z5=1;var r=Ro(),i=Sx();function n(t){return i(r(t).toLowerCase())}return tp=n,tp}var np,Y5;function Tx(){if(Y5)return np;Y5=1;function r(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 np=r,np}var rp,B5;function xx(){if(B5)return rp;B5=1;function r(i){return function(n){return i==null?void 0:i[n]}}return rp=r,rp}var ap,j5;function Ox(){if(j5)return ap;j5=1;var r=xx(),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=r(i);return ap=n,ap}var ip,I5;function Mx(){if(I5)return ip;I5=1;var r=Ox(),i=Ro(),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,r).replace(h,"")}return ip=m,ip}var lp,F5;function Ax(){if(F5)return lp;F5=1;var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function i(n){return n.match(r)||[]}return lp=i,lp}var op,G5;function Cx(){if(G5)return op;G5=1;var r=/[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 r.test(n)}return op=i,op}var sp,V5;function Rx(){if(V5)return sp;V5=1;var r="\\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",S=d+h+m+v,T="['’]",A="["+S+"]",C="["+l+"]",N="\\d+",O="["+s+"]",B="["+c+"]",Q="[^"+r+S+N+s+c+g+"]",$="\\ud83c[\\udffb-\\udfff]",ne="(?:"+C+"|"+$+")",Z="[^"+r+"]",w="(?:\\ud83c[\\udde6-\\uddff]){2}",E="[\\ud800-\\udbff][\\udc00-\\udfff]",D="["+g+"]",k="\\u200d",q="(?:"+B+"|"+Q+")",z="(?:"+D+"|"+Q+")",j="(?:"+T+"(?:d|ll|m|re|s|t|ve))?",H="(?:"+T+"(?:D|LL|M|RE|S|T|VE))?",M=ne+"?",P="["+_+"]?",L="(?:"+k+"(?:"+[Z,w,E].join("|")+")"+P+M+")*",J="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",R="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",I=P+M+L,fe="(?:"+[O,w,E].join("|")+")"+I,se=RegExp([D+"?"+B+"+"+j+"(?="+[A,D,"$"].join("|")+")",z+"+"+H+"(?="+[A,D+q,"$"].join("|")+")",D+"?"+q+"+"+j,D+"+"+H,R,J,N,fe].join("|"),"g");function ue(ce){return ce.match(se)||[]}return sp=ue,sp}var up,W5;function Nx(){if(W5)return up;W5=1;var r=Ax(),i=Cx(),n=Ro(),t=Rx();function l(s,c,d){return s=n(s),c=d?void 0:c,c===void 0?i(s)?t(s):r(s):s.match(c)||[]}return up=l,up}var cp,Z5;function kx(){if(Z5)return cp;Z5=1;var r=Tx(),i=Mx(),n=Nx(),t="['’]",l=RegExp(t,"g");function s(c){return function(d){return r(n(i(d).replace(l,"")),c,"")}}return cp=s,cp}var fp,Q5;function Lx(){if(Q5)return fp;Q5=1;var r=Dx(),i=kx(),n=i(function(t,l,s){return l=l.toLowerCase(),t+(s?r(l):l)});return fp=n,fp}var qx=Lx();const Hx=hr(qx);function zr(r){return r?Object.keys(r).reduce((i,n)=>(i[Hx(n)]=r[n],i),{}):{}}function Ia(r){return r!=null}function Ux(r,i,n){let t=[{scope:i}];if(Ia(n.defaults)&&(t=t.concat(n.defaults)),Ia(n.defaultValue)){const l=typeof n.defaultValue=="function"?n.defaultValue(r,i,n):n.defaultValue;t.push({message:l}),delete n.defaultValue}return t}var Px=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,dp=Math.ceil,xr=Math.floor,Jn="[BigNumber Error] ",K5=Jn+"Number primitive has more than 15 significant digits: ",Yr=1e14,je=14,X5=9007199254740991,hp=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],Di=1e7,ur=1e9;function e8(r){var i,n,t,l=O.prototype={constructor:O,toString:null,valueOf:null},s=new O(1),c=20,d=4,h=-7,m=21,v=-1e7,g=1e7,_=!1,S=1,T=0,A={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},C="0123456789abcdefghijklmnopqrstuvwxyz",N=!0;function O(w,E){var D,k,q,z,j,H,M,P,L=this;if(!(L instanceof O))return new O(w,E);if(E==null){if(w&&w._isBigNumber===!0){L.s=w.s,!w.c||w.e>g?L.c=L.e=null:w.e<v?L.c=[L.e=0]:(L.e=w.e,L.c=w.c.slice());return}if((H=typeof w=="number")&&w*0==0){if(L.s=1/w<0?(w=-w,-1):1,w===~~w){for(z=0,j=w;j>=10;j/=10,z++);z>g?L.c=L.e=null:(L.e=z,L.c=[w]);return}P=String(w)}else{if(!Px.test(P=String(w)))return t(L,P,H);L.s=P.charCodeAt(0)==45?(P=P.slice(1),-1):1}(z=P.indexOf("."))>-1&&(P=P.replace(".","")),(j=P.search(/e/i))>0?(z<0&&(z=j),z+=+P.slice(j+1),P=P.substring(0,j)):z<0&&(z=P.length)}else{if(Yt(E,2,C.length,"Base"),E==10&&N)return L=new O(w),ne(L,c+L.e+1,d);if(P=String(w),H=typeof w=="number"){if(w*0!=0)return t(L,P,H,E);if(L.s=1/w<0?(P=P.slice(1),-1):1,O.DEBUG&&P.replace(/^0\.0*|\./,"").length>15)throw Error(K5+w)}else L.s=P.charCodeAt(0)===45?(P=P.slice(1),-1):1;for(D=C.slice(0,E),z=j=0,M=P.length;j<M;j++)if(D.indexOf(k=P.charAt(j))<0){if(k=="."){if(j>z){z=M;continue}}else if(!q&&(P==P.toUpperCase()&&(P=P.toLowerCase())||P==P.toLowerCase()&&(P=P.toUpperCase()))){q=!0,j=-1,z=0;continue}return t(L,String(w),H,E)}H=!1,P=n(P,E,10,L.s),(z=P.indexOf("."))>-1?P=P.replace(".",""):z=P.length}for(j=0;P.charCodeAt(j)===48;j++);for(M=P.length;P.charCodeAt(--M)===48;);if(P=P.slice(j,++M)){if(M-=j,H&&O.DEBUG&&M>15&&(w>X5||w!==xr(w)))throw Error(K5+L.s*w);if((z=z-j-1)>g)L.c=L.e=null;else if(z<v)L.c=[L.e=0];else{if(L.e=z,L.c=[],j=(z+1)%je,z<0&&(j+=je),j<M){for(j&&L.c.push(+P.slice(0,j)),M-=je;j<M;)L.c.push(+P.slice(j,j+=je));j=je-(P=P.slice(j)).length}else j-=M;for(;j--;P+="0");L.c.push(+P)}}else L.c=[L.e=0]}O.clone=e8,O.ROUND_UP=0,O.ROUND_DOWN=1,O.ROUND_CEIL=2,O.ROUND_FLOOR=3,O.ROUND_HALF_UP=4,O.ROUND_HALF_DOWN=5,O.ROUND_HALF_EVEN=6,O.ROUND_HALF_CEIL=7,O.ROUND_HALF_FLOOR=8,O.EUCLID=9,O.config=O.set=function(w){var E,D;if(w!=null)if(typeof w=="object"){if(w.hasOwnProperty(E="DECIMAL_PLACES")&&(D=w[E],Yt(D,0,ur,E),c=D),w.hasOwnProperty(E="ROUNDING_MODE")&&(D=w[E],Yt(D,0,8,E),d=D),w.hasOwnProperty(E="EXPONENTIAL_AT")&&(D=w[E],D&&D.pop?(Yt(D[0],-1e9,0,E),Yt(D[1],0,ur,E),h=D[0],m=D[1]):(Yt(D,-1e9,ur,E),h=-(m=D<0?-D:D))),w.hasOwnProperty(E="RANGE"))if(D=w[E],D&&D.pop)Yt(D[0],-1e9,-1,E),Yt(D[1],1,ur,E),v=D[0],g=D[1];else if(Yt(D,-1e9,ur,E),D)v=-(g=D<0?-D:D);else throw Error(Jn+E+" cannot be zero: "+D);if(w.hasOwnProperty(E="CRYPTO"))if(D=w[E],D===!!D)if(D)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))_=D;else throw _=!D,Error(Jn+"crypto unavailable");else _=D;else throw Error(Jn+E+" not true or false: "+D);if(w.hasOwnProperty(E="MODULO_MODE")&&(D=w[E],Yt(D,0,9,E),S=D),w.hasOwnProperty(E="POW_PRECISION")&&(D=w[E],Yt(D,0,ur,E),T=D),w.hasOwnProperty(E="FORMAT"))if(D=w[E],typeof D=="object")A=D;else throw Error(Jn+E+" not an object: "+D);if(w.hasOwnProperty(E="ALPHABET"))if(D=w[E],typeof D=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(D))N=D.slice(0,10)=="0123456789",C=D;else throw Error(Jn+E+" invalid: "+D)}else throw Error(Jn+"Object expected: "+w);return{DECIMAL_PLACES:c,ROUNDING_MODE:d,EXPONENTIAL_AT:[h,m],RANGE:[v,g],CRYPTO:_,MODULO_MODE:S,POW_PRECISION:T,FORMAT:A,ALPHABET:C}},O.isBigNumber=function(w){if(!w||w._isBigNumber!==!0)return!1;if(!O.DEBUG)return!0;var E,D,k=w.c,q=w.e,z=w.s;e:if({}.toString.call(k)=="[object Array]"){if((z===1||z===-1)&&q>=-1e9&&q<=ur&&q===xr(q)){if(k[0]===0){if(q===0&&k.length===1)return!0;break e}if(E=(q+1)%je,E<1&&(E+=je),String(k[0]).length==E){for(E=0;E<k.length;E++)if(D=k[E],D<0||D>=Yr||D!==xr(D))break e;if(D!==0)return!0}}}else if(k===null&&q===null&&(z===null||z===1||z===-1))return!0;throw Error(Jn+"Invalid BigNumber: "+w)},O.maximum=O.max=function(){return Q(arguments,-1)},O.minimum=O.min=function(){return Q(arguments,1)},O.random=function(){var w=9007199254740992,E=Math.random()*w&2097151?function(){return xr(Math.random()*w)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(D){var k,q,z,j,H,M=0,P=[],L=new O(s);if(D==null?D=c:Yt(D,0,ur),j=dp(D/je),_)if(crypto.getRandomValues){for(k=crypto.getRandomValues(new Uint32Array(j*=2));M<j;)H=k[M]*131072+(k[M+1]>>>11),H>=9e15?(q=crypto.getRandomValues(new Uint32Array(2)),k[M]=q[0],k[M+1]=q[1]):(P.push(H%1e14),M+=2);M=j/2}else if(crypto.randomBytes){for(k=crypto.randomBytes(j*=7);M<j;)H=(k[M]&31)*281474976710656+k[M+1]*1099511627776+k[M+2]*4294967296+k[M+3]*16777216+(k[M+4]<<16)+(k[M+5]<<8)+k[M+6],H>=9e15?crypto.randomBytes(7).copy(k,M):(P.push(H%1e14),M+=7);M=j/7}else throw _=!1,Error(Jn+"crypto unavailable");if(!_)for(;M<j;)H=E(),H<9e15&&(P[M++]=H%1e14);for(j=P[--M],D%=je,j&&D&&(H=hp[je-D],P[M]=xr(j/H)*H);P[M]===0;P.pop(),M--);if(M<0)P=[z=0];else{for(z=-1;P[0]===0;P.splice(0,1),z-=je);for(M=1,H=P[0];H>=10;H/=10,M++);M<je&&(z-=je-M)}return L.e=z,L.c=P,L}}(),O.sum=function(){for(var w=1,E=arguments,D=new O(E[0]);w<E.length;)D=D.plus(E[w++]);return D},n=function(){var w="0123456789";function E(D,k,q,z){for(var j,H=[0],M,P=0,L=D.length;P<L;){for(M=H.length;M--;H[M]*=k);for(H[0]+=z.indexOf(D.charAt(P++)),j=0;j<H.length;j++)H[j]>q-1&&(H[j+1]==null&&(H[j+1]=0),H[j+1]+=H[j]/q|0,H[j]%=q)}return H.reverse()}return function(D,k,q,z,j){var H,M,P,L,J,R,I,fe,se=D.indexOf("."),ue=c,ce=d;for(se>=0&&(L=T,T=0,D=D.replace(".",""),fe=new O(k),R=fe.pow(D.length-se),T=L,fe.c=E(Ya(Tr(R.c),R.e,"0"),10,q,w),fe.e=fe.c.length),I=E(D,k,q,j?(H=C,w):(H=w,C)),P=L=I.length;I[--L]==0;I.pop());if(!I[0])return H.charAt(0);if(se<0?--P:(R.c=I,R.e=P,R.s=z,R=i(R,fe,ue,ce,q),I=R.c,J=R.r,P=R.e),M=P+ue+1,se=I[M],L=q/2,J=J||M<0||I[M+1]!=null,J=ce<4?(se!=null||J)&&(ce==0||ce==(R.s<0?3:2)):se>L||se==L&&(ce==4||J||ce==6&&I[M-1]&1||ce==(R.s<0?8:7)),M<1||!I[0])D=J?Ya(H.charAt(1),-ue,H.charAt(0)):H.charAt(0);else{if(I.length=M,J)for(--q;++I[--M]>q;)I[M]=0,M||(++P,I=[1].concat(I));for(L=I.length;!I[--L];);for(se=0,D="";se<=L;D+=H.charAt(I[se++]));D=Ya(D,P,H.charAt(0))}return D}}(),i=function(){function w(k,q,z){var j,H,M,P,L=0,J=k.length,R=q%Di,I=q/Di|0;for(k=k.slice();J--;)M=k[J]%Di,P=k[J]/Di|0,j=I*M+P*R,H=R*M+j%Di*Di+L,L=(H/z|0)+(j/Di|0)+I*P,k[J]=H%z;return L&&(k=[L].concat(k)),k}function E(k,q,z,j){var H,M;if(z!=j)M=z>j?1:-1;else for(H=M=0;H<z;H++)if(k[H]!=q[H]){M=k[H]>q[H]?1:-1;break}return M}function D(k,q,z,j){for(var H=0;z--;)k[z]-=H,H=k[z]<q[z]?1:0,k[z]=H*j+k[z]-q[z];for(;!k[0]&&k.length>1;k.splice(0,1));}return function(k,q,z,j,H){var M,P,L,J,R,I,fe,se,ue,ce,pe,ze,Oe,Ke,He,et,xt,Xe=k.s==q.s?1:-1,lt=k.c,Le=q.c;if(!lt||!lt[0]||!Le||!Le[0])return new O(!k.s||!q.s||(lt?Le&&lt[0]==Le[0]:!Le)?NaN:lt&&lt[0]==0||!Le?Xe*0:Xe/0);for(se=new O(Xe),ue=se.c=[],P=k.e-q.e,Xe=z+P+1,H||(H=Yr,P=Or(k.e/je)-Or(q.e/je),Xe=Xe/je|0),L=0;Le[L]==(lt[L]||0);L++);if(Le[L]>(lt[L]||0)&&P--,Xe<0)ue.push(1),J=!0;else{for(Ke=lt.length,et=Le.length,L=0,Xe+=2,R=xr(H/(Le[0]+1)),R>1&&(Le=w(Le,R,H),lt=w(lt,R,H),et=Le.length,Ke=lt.length),Oe=et,ce=lt.slice(0,et),pe=ce.length;pe<et;ce[pe++]=0);xt=Le.slice(),xt=[0].concat(xt),He=Le[0],Le[1]>=H/2&&He++;do{if(R=0,M=E(Le,ce,et,pe),M<0){if(ze=ce[0],et!=pe&&(ze=ze*H+(ce[1]||0)),R=xr(ze/He),R>1)for(R>=H&&(R=H-1),I=w(Le,R,H),fe=I.length,pe=ce.length;E(I,ce,fe,pe)==1;)R--,D(I,et<fe?xt:Le,fe,H),fe=I.length,M=1;else R==0&&(M=R=1),I=Le.slice(),fe=I.length;if(fe<pe&&(I=[0].concat(I)),D(ce,I,pe,H),pe=ce.length,M==-1)for(;E(Le,ce,et,pe)<1;)R++,D(ce,et<pe?xt:Le,pe,H),pe=ce.length}else M===0&&(R++,ce=[0]);ue[L++]=R,ce[0]?ce[pe++]=lt[Oe]||0:(ce=[lt[Oe]],pe=1)}while((Oe++<Ke||ce[0]!=null)&&Xe--);J=ce[0]!=null,ue[0]||ue.splice(0,1)}if(H==Yr){for(L=1,Xe=ue[0];Xe>=10;Xe/=10,L++);ne(se,z+(se.e=L+P*je-1)+1,j,J)}else se.e=P,se.r=+J;return se}}();function B(w,E,D,k){var q,z,j,H,M;if(D==null?D=d:Yt(D,0,8),!w.c)return w.toString();if(q=w.c[0],j=w.e,E==null)M=Tr(w.c),M=k==1||k==2&&(j<=h||j>=m)?yc(M,j):Ya(M,j,"0");else if(w=ne(new O(w),E,D),z=w.e,M=Tr(w.c),H=M.length,k==1||k==2&&(E<=z||z<=h)){for(;H<E;M+="0",H++);M=yc(M,z)}else if(E-=j,M=Ya(M,z,"0"),z+1>H){if(--E>0)for(M+=".";E--;M+="0");}else if(E+=z-H,E>0)for(z+1==H&&(M+=".");E--;M+="0");return w.s<0&&q?"-"+M:M}function Q(w,E){for(var D,k,q=1,z=new O(w[0]);q<w.length;q++)k=new O(w[q]),(!k.s||(D=fl(z,k))===E||D===0&&z.s===E)&&(z=k);return z}function $(w,E,D){for(var k=1,q=E.length;!E[--q];E.pop());for(q=E[0];q>=10;q/=10,k++);return(D=k+D*je-1)>g?w.c=w.e=null:D<v?w.c=[w.e=0]:(w.e=D,w.c=E),w}t=function(){var w=/^(-?)0([xbo])(?=\w[\w.]*$)/i,E=/^([^.]+)\.$/,D=/^\.([^.]+)$/,k=/^-?(Infinity|NaN)$/,q=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(z,j,H,M){var P,L=H?j:j.replace(q,"");if(k.test(L))z.s=isNaN(L)?null:L<0?-1:1;else{if(!H&&(L=L.replace(w,function(J,R,I){return P=(I=I.toLowerCase())=="x"?16:I=="b"?2:8,!M||M==P?R:J}),M&&(P=M,L=L.replace(E,"$1").replace(D,"0.$1")),j!=L))return new O(L,P);if(O.DEBUG)throw Error(Jn+"Not a"+(M?" base "+M:"")+" number: "+j);z.s=null}z.c=z.e=null}}();function ne(w,E,D,k){var q,z,j,H,M,P,L,J=w.c,R=hp;if(J){e:{for(q=1,H=J[0];H>=10;H/=10,q++);if(z=E-q,z<0)z+=je,j=E,M=J[P=0],L=xr(M/R[q-j-1]%10);else if(P=dp((z+1)/je),P>=J.length)if(k){for(;J.length<=P;J.push(0));M=L=0,q=1,z%=je,j=z-je+1}else break e;else{for(M=H=J[P],q=1;H>=10;H/=10,q++);z%=je,j=z-je+q,L=j<0?0:xr(M/R[q-j-1]%10)}if(k=k||E<0||J[P+1]!=null||(j<0?M:M%R[q-j-1]),k=D<4?(L||k)&&(D==0||D==(w.s<0?3:2)):L>5||L==5&&(D==4||k||D==6&&(z>0?j>0?M/R[q-j]:0:J[P-1])%10&1||D==(w.s<0?8:7)),E<1||!J[0])return J.length=0,k?(E-=w.e+1,J[0]=R[(je-E%je)%je],w.e=-E||0):J[0]=w.e=0,w;if(z==0?(J.length=P,H=1,P--):(J.length=P+1,H=R[je-z],J[P]=j>0?xr(M/R[q-j]%R[j])*H:0),k)for(;;)if(P==0){for(z=1,j=J[0];j>=10;j/=10,z++);for(j=J[0]+=H,H=1;j>=10;j/=10,H++);z!=H&&(w.e++,J[0]==Yr&&(J[0]=1));break}else{if(J[P]+=H,J[P]!=Yr)break;J[P--]=0,H=1}for(z=J.length;J[--z]===0;J.pop());}w.e>g?w.c=w.e=null:w.e<v&&(w.c=[w.e=0])}return w}function Z(w){var E,D=w.e;return D===null?w.toString():(E=Tr(w.c),E=D<=h||D>=m?yc(E,D):Ya(E,D,"0"),w.s<0?"-"+E:E)}return l.absoluteValue=l.abs=function(){var w=new O(this);return w.s<0&&(w.s=1),w},l.comparedTo=function(w,E){return fl(this,new O(w,E))},l.decimalPlaces=l.dp=function(w,E){var D,k,q,z=this;if(w!=null)return Yt(w,0,ur),E==null?E=d:Yt(E,0,8),ne(new O(z),w+z.e+1,E);if(!(D=z.c))return null;if(k=((q=D.length-1)-Or(this.e/je))*je,q=D[q])for(;q%10==0;q/=10,k--);return k<0&&(k=0),k},l.dividedBy=l.div=function(w,E){return i(this,new O(w,E),c,d)},l.dividedToIntegerBy=l.idiv=function(w,E){return i(this,new O(w,E),0,1)},l.exponentiatedBy=l.pow=function(w,E){var D,k,q,z,j,H,M,P,L,J=this;if(w=new O(w),w.c&&!w.isInteger())throw Error(Jn+"Exponent not an integer: "+Z(w));if(E!=null&&(E=new O(E)),H=w.e>14,!J.c||!J.c[0]||J.c[0]==1&&!J.e&&J.c.length==1||!w.c||!w.c[0])return L=new O(Math.pow(+Z(J),H?w.s*(2-gc(w)):+Z(w))),E?L.mod(E):L;if(M=w.s<0,E){if(E.c?!E.c[0]:!E.s)return new O(NaN);k=!M&&J.isInteger()&&E.isInteger(),k&&(J=J.mod(E))}else{if(w.e>9&&(J.e>0||J.e<-1||(J.e==0?J.c[0]>1||H&&J.c[1]>=24e7:J.c[0]<8e13||H&&J.c[0]<=9999975e7)))return z=J.s<0&&gc(w)?-0:0,J.e>-1&&(z=1/z),new O(M?1/z:z);T&&(z=dp(T/je+2))}for(H?(D=new O(.5),M&&(w.s=1),P=gc(w)):(q=Math.abs(+Z(w)),P=q%2),L=new O(s);;){if(P){if(L=L.times(J),!L.c)break;z?L.c.length>z&&(L.c.length=z):k&&(L=L.mod(E))}if(q){if(q=xr(q/2),q===0)break;P=q%2}else if(w=w.times(D),ne(w,w.e+1,1),w.e>14)P=gc(w);else{if(q=+Z(w),q===0)break;P=q%2}J=J.times(J),z?J.c&&J.c.length>z&&(J.c.length=z):k&&(J=J.mod(E))}return k?L:(M&&(L=s.div(L)),E?L.mod(E):z?ne(L,T,d,j):L)},l.integerValue=function(w){var E=new O(this);return w==null?w=d:Yt(w,0,8),ne(E,E.e+1,w)},l.isEqualTo=l.eq=function(w,E){return fl(this,new O(w,E))===0},l.isFinite=function(){return!!this.c},l.isGreaterThan=l.gt=function(w,E){return fl(this,new O(w,E))>0},l.isGreaterThanOrEqualTo=l.gte=function(w,E){return(E=fl(this,new O(w,E)))===1||E===0},l.isInteger=function(){return!!this.c&&Or(this.e/je)>this.c.length-2},l.isLessThan=l.lt=function(w,E){return fl(this,new O(w,E))<0},l.isLessThanOrEqualTo=l.lte=function(w,E){return(E=fl(this,new O(w,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(w,E){var D,k,q,z,j=this,H=j.s;if(w=new O(w,E),E=w.s,!H||!E)return new O(NaN);if(H!=E)return w.s=-E,j.plus(w);var M=j.e/je,P=w.e/je,L=j.c,J=w.c;if(!M||!P){if(!L||!J)return L?(w.s=-E,w):new O(J?j:NaN);if(!L[0]||!J[0])return J[0]?(w.s=-E,w):new O(L[0]?j:d==3?-0:0)}if(M=Or(M),P=Or(P),L=L.slice(),H=M-P){for((z=H<0)?(H=-H,q=L):(P=M,q=J),q.reverse(),E=H;E--;q.push(0));q.reverse()}else for(k=(z=(H=L.length)<(E=J.length))?H:E,H=E=0;E<k;E++)if(L[E]!=J[E]){z=L[E]<J[E];break}if(z&&(q=L,L=J,J=q,w.s=-w.s),E=(k=J.length)-(D=L.length),E>0)for(;E--;L[D++]=0);for(E=Yr-1;k>H;){if(L[--k]<J[k]){for(D=k;D&&!L[--D];L[D]=E);--L[D],L[k]+=Yr}L[k]-=J[k]}for(;L[0]==0;L.splice(0,1),--P);return L[0]?$(w,L,P):(w.s=d==3?-1:1,w.c=[w.e=0],w)},l.modulo=l.mod=function(w,E){var D,k,q=this;return w=new O(w,E),!q.c||!w.s||w.c&&!w.c[0]?new O(NaN):!w.c||q.c&&!q.c[0]?new O(q):(S==9?(k=w.s,w.s=1,D=i(q,w,0,3),w.s=k,D.s*=k):D=i(q,w,0,S),w=q.minus(D.times(w)),!w.c[0]&&S==1&&(w.s=q.s),w)},l.multipliedBy=l.times=function(w,E){var D,k,q,z,j,H,M,P,L,J,R,I,fe,se,ue,ce=this,pe=ce.c,ze=(w=new O(w,E)).c;if(!pe||!ze||!pe[0]||!ze[0])return!ce.s||!w.s||pe&&!pe[0]&&!ze||ze&&!ze[0]&&!pe?w.c=w.e=w.s=null:(w.s*=ce.s,!pe||!ze?w.c=w.e=null:(w.c=[0],w.e=0)),w;for(k=Or(ce.e/je)+Or(w.e/je),w.s*=ce.s,M=pe.length,J=ze.length,M<J&&(fe=pe,pe=ze,ze=fe,q=M,M=J,J=q),q=M+J,fe=[];q--;fe.push(0));for(se=Yr,ue=Di,q=J;--q>=0;){for(D=0,R=ze[q]%ue,I=ze[q]/ue|0,j=M,z=q+j;z>q;)P=pe[--j]%ue,L=pe[j]/ue|0,H=I*P+L*R,P=R*P+H%ue*ue+fe[z]+D,D=(P/se|0)+(H/ue|0)+I*L,fe[z--]=P%se;fe[z]=D}return D?++k:fe.splice(0,1),$(w,fe,k)},l.negated=function(){var w=new O(this);return w.s=-w.s||null,w},l.plus=function(w,E){var D,k=this,q=k.s;if(w=new O(w,E),E=w.s,!q||!E)return new O(NaN);if(q!=E)return w.s=-E,k.minus(w);var z=k.e/je,j=w.e/je,H=k.c,M=w.c;if(!z||!j){if(!H||!M)return new O(q/0);if(!H[0]||!M[0])return M[0]?w:new O(H[0]?k:q*0)}if(z=Or(z),j=Or(j),H=H.slice(),q=z-j){for(q>0?(j=z,D=M):(q=-q,D=H),D.reverse();q--;D.push(0));D.reverse()}for(q=H.length,E=M.length,q-E<0&&(D=M,M=H,H=D,E=q),q=0;E;)q=(H[--E]=H[E]+M[E]+q)/Yr|0,H[E]=Yr===H[E]?0:H[E]%Yr;return q&&(H=[q].concat(H),++j),$(w,H,j)},l.precision=l.sd=function(w,E){var D,k,q,z=this;if(w!=null&&w!==!!w)return Yt(w,1,ur),E==null?E=d:Yt(E,0,8),ne(new O(z),w,E);if(!(D=z.c))return null;if(q=D.length-1,k=q*je+1,q=D[q]){for(;q%10==0;q/=10,k--);for(q=D[0];q>=10;q/=10,k++);}return w&&z.e+1>k&&(k=z.e+1),k},l.shiftedBy=function(w){return Yt(w,-9007199254740991,X5),this.times("1e"+w)},l.squareRoot=l.sqrt=function(){var w,E,D,k,q,z=this,j=z.c,H=z.s,M=z.e,P=c+4,L=new O("0.5");if(H!==1||!j||!j[0])return new O(!H||H<0&&(!j||j[0])?NaN:j?z:1/0);if(H=Math.sqrt(+Z(z)),H==0||H==1/0?(E=Tr(j),(E.length+M)%2==0&&(E+="0"),H=Math.sqrt(+E),M=Or((M+1)/2)-(M<0||M%2),H==1/0?E="5e"+M:(E=H.toExponential(),E=E.slice(0,E.indexOf("e")+1)+M),D=new O(E)):D=new O(H+""),D.c[0]){for(M=D.e,H=M+P,H<3&&(H=0);;)if(q=D,D=L.times(q.plus(i(z,q,P,1))),Tr(q.c).slice(0,H)===(E=Tr(D.c)).slice(0,H))if(D.e<M&&--H,E=E.slice(H-3,H+1),E=="9999"||!k&&E=="4999"){if(!k&&(ne(q,q.e+c+2,0),q.times(q).eq(z))){D=q;break}P+=4,H+=4,k=1}else{(!+E||!+E.slice(1)&&E.charAt(0)=="5")&&(ne(D,D.e+c+2,1),w=!D.times(D).eq(z));break}}return ne(D,D.e+c+1,d,w)},l.toExponential=function(w,E){return w!=null&&(Yt(w,0,ur),w++),B(this,w,E,1)},l.toFixed=function(w,E){return w!=null&&(Yt(w,0,ur),w=w+this.e+1),B(this,w,E)},l.toFormat=function(w,E,D){var k,q=this;if(D==null)w!=null&&E&&typeof E=="object"?(D=E,E=null):w&&typeof w=="object"?(D=w,w=E=null):D=A;else if(typeof D!="object")throw Error(Jn+"Argument not an object: "+D);if(k=q.toFixed(w,E),q.c){var z,j=k.split("."),H=+D.groupSize,M=+D.secondaryGroupSize,P=D.groupSeparator||"",L=j[0],J=j[1],R=q.s<0,I=R?L.slice(1):L,fe=I.length;if(M&&(z=H,H=M,M=z,fe-=z),H>0&&fe>0){for(z=fe%H||H,L=I.substr(0,z);z<fe;z+=H)L+=P+I.substr(z,H);M>0&&(L+=P+I.slice(z)),R&&(L="-"+L)}k=J?L+(D.decimalSeparator||"")+((M=+D.fractionGroupSize)?J.replace(new RegExp("\\d{"+M+"}\\B","g"),"$&"+(D.fractionGroupSeparator||"")):J):L}return(D.prefix||"")+k+(D.suffix||"")},l.toFraction=function(w){var E,D,k,q,z,j,H,M,P,L,J,R,I=this,fe=I.c;if(w!=null&&(H=new O(w),!H.isInteger()&&(H.c||H.s!==1)||H.lt(s)))throw Error(Jn+"Argument "+(H.isInteger()?"out of range: ":"not an integer: ")+Z(H));if(!fe)return new O(I);for(E=new O(s),P=D=new O(s),k=M=new O(s),R=Tr(fe),z=E.e=R.length-I.e-1,E.c[0]=hp[(j=z%je)<0?je+j:j],w=!w||H.comparedTo(E)>0?z>0?E:P:H,j=g,g=1/0,H=new O(R),M.c[0]=0;L=i(H,E,0,1),q=D.plus(L.times(k)),q.comparedTo(w)!=1;)D=k,k=q,P=M.plus(L.times(q=P)),M=q,E=H.minus(L.times(q=E)),H=q;return q=i(w.minus(D),k,0,1),M=M.plus(q.times(P)),D=D.plus(q.times(k)),M.s=P.s=I.s,z=z*2,J=i(P,k,z,d).minus(I).abs().comparedTo(i(M,D,z,d).minus(I).abs())<1?[P,k]:[M,D],g=j,J},l.toNumber=function(){return+Z(this)},l.toPrecision=function(w,E){return w!=null&&Yt(w,1,ur),B(this,w,E,2)},l.toString=function(w){var E,D=this,k=D.s,q=D.e;return q===null?k?(E="Infinity",k<0&&(E="-"+E)):E="NaN":(w==null?E=q<=h||q>=m?yc(Tr(D.c),q):Ya(Tr(D.c),q,"0"):w===10&&N?(D=ne(new O(D),c+q+1,d),E=Ya(Tr(D.c),D.e,"0")):(Yt(w,2,C.length,"Base"),E=n(Ya(Tr(D.c),q,"0"),10,w,k,!0)),k<0&&D.c[0]&&(E="-"+E)),E},l.valueOf=l.toJSON=function(){return Z(this)},l._isBigNumber=!0,l[Symbol.toStringTag]="BigNumber",l[Symbol.for("nodejs.util.inspect.custom")]=l.valueOf,r!=null&&O.set(r),O}function Or(r){var i=r|0;return r>0||r===i?i:i-1}function Tr(r){for(var i,n,t=1,l=r.length,s=r[0]+"";t<l;){for(i=r[t++]+"",n=je-i.length;n--;i="0"+i);s+=i}for(l=s.length;s.charCodeAt(--l)===48;);return s.slice(0,l+1||1)}function fl(r,i){var n,t,l=r.c,s=i.c,c=r.s,d=i.s,h=r.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 Yt(r,i,n,t){if(r<i||r>n||r!==xr(r))throw Error(Jn+(t||"Argument")+(typeof r=="number"?r<i||r>n?" out of range: ":" not an integer: ":" not a primitive number: ")+String(r))}function gc(r){var i=r.c.length-1;return Or(r.e/je)==i&&r.c[i]%2!=0}function yc(r,i){return(r.length>1?r.charAt(0)+"."+r.slice(1):r)+(i<0?"e":"e+")+i}function Ya(r,i,n){var t,l;if(i<0){for(l=n+".";++i;l+=n);r=l+r}else if(t=r.length,++i>t){for(l=n,i-=t;--i;l+=n);r+=l}else i<t&&(r=r.slice(0,i)+"."+r.slice(i));return r}var Vt=e8(),jc;(function(r){r[r.up=Vt.ROUND_UP]="up",r[r.down=Vt.ROUND_DOWN]="down",r[r.truncate=Vt.ROUND_DOWN]="truncate",r[r.halfUp=Vt.ROUND_HALF_UP]="halfUp",r[r.default=Vt.ROUND_HALF_UP]="default",r[r.halfDown=Vt.ROUND_HALF_DOWN]="halfDown",r[r.halfEven=Vt.ROUND_HALF_EVEN]="halfEven",r[r.banker=Vt.ROUND_HALF_EVEN]="banker",r[r.ceiling=Vt.ROUND_CEIL]="ceiling",r[r.ceil=Vt.ROUND_CEIL]="ceil",r[r.floor=Vt.ROUND_FLOOR]="floor"})(jc||(jc={}));function t8(r){var i;return(i=jc[r])!==null&&i!==void 0?i:jc.default}var pp,$5;function zx(){if($5)return pp;$5=1;var r=9007199254740991,i=Math.floor;function n(t,l){var s="";if(!t||l<1||l>r)return s;do l%2&&(s+=t),l=i(l/2),l&&(t+=t);while(l);return s}return pp=n,pp}var mp,J5;function Yx(){if(J5)return mp;J5=1;var r=/\s/;function i(n){for(var t=n.length;t--&&r.test(n.charAt(t)););return t}return mp=i,mp}var vp,e7;function Bx(){if(e7)return vp;e7=1;var r=Yx(),i=/^\s+/;function n(t){return t&&t.slice(0,r(t)+1).replace(i,"")}return vp=n,vp}var gp,t7;function jx(){if(t7)return gp;t7=1;var r=Bx(),i=Xa(),n=ru(),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=r(m);var g=s.test(m);return g||c.test(m)?d(m.slice(2),g?2:8):l.test(m)?t:+m}return gp=h,gp}var yp,n7;function n8(){if(n7)return yp;n7=1;var r=jx(),i=1/0,n=17976931348623157e292;function t(l){if(!l)return l===0?l:0;if(l=r(l),l===i||l===-1/0){var s=l<0?-1:1;return s*n}return l===l?l:0}return yp=t,yp}var bp,r7;function Ix(){if(r7)return bp;r7=1;var r=n8();function i(n){var t=r(n),l=t%1;return t===t?l?t-l:t:0}return bp=i,bp}var _p,a7;function Fx(){if(a7)return _p;a7=1;var r=zx(),i=mf(),n=Ix(),t=Ro();function l(s,c,d){return(d?i(s,c,d):c===void 0)?c=1:c=n(c),r(t(s),c)}return _p=l,_p}var Gx=Fx();const Vx=hr(Gx);function Wx(r){return r.isZero()?1:Math.floor(Math.log10(r.abs().toNumber())+1)}function Zx(r,{precision:i,significant:n}){return n&&i!==null&&i>0?i-Wx(r):i}function Ic(r,i){const n=Zx(r,i);if(n===null)return r.toString();const t=t8(i.roundMode);if(n>=0)return r.toFixed(n,t);const l=Math.pow(10,Math.abs(n));return r=new Vt(r.div(l).toFixed(0,t)).times(l),r.toString()}function Qx(r,{formattedNumber:i,unit:n}){return r.replace("%n",i).replace("%u",n)}function Kx({significand:r,whole:i,precision:n}){if(i==="0"||n===null)return r;const t=Math.max(0,n-i.length);return(r??"").substr(0,t)}function Rs(r,i){var n,t,l;const s=new Vt(r);if(i.raise&&!s.isFinite())throw new Error(`"${r}" is not a valid numeric value`);const c=Ic(s,i),d=new Vt(c),h=d.lt(0),m=d.isZero();let[v,g]=c.split(".");const _=[];let S;const T=(n=i.format)!==null&&n!==void 0?n:"%n",A=(t=i.negativeFormat)!==null&&t!==void 0?t:`-${T}`,C=h&&!m?A:T;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(""),S=_.join(i.delimiter),i.significant?g=Kx({whole:v,significand:g,precision:i.precision}):g=g??Vx("0",(l=i.precision)!==null&&l!==void 0?l:0),i.stripInsignificantZeros&&g&&(g=g.replace(/0+$/,"")),s.isNaN()&&(S=r.toString()),g&&s.isFinite()&&(S+=(i.separator||".")+g),Qx(C,{formattedNumber:S,unit:i.unit})}function yo(r,i,n){let t="";return(i instanceof String||typeof i=="string")&&(t=i),i instanceof Array&&(t=i.join(r.defaultSeparator)),n.scope&&(t=[n.scope,t].join(r.defaultSeparator)),t}function pl(r){var i,n;if(r===null)return"null";const t=typeof r;return t!=="object"?t:((n=(i=r==null?void 0:r.constructor)===null||i===void 0?void 0:i.name)===null||n===void 0?void 0:n.toLowerCase())||"object"}function wp(r,i,n){n=Object.keys(n).reduce((l,s)=>(l[r.transformKey(s)]=n[s],l),{});const t=i.match(r.placeholder);if(!t)return i;for(;t.length;){let l;const s=t.shift(),c=s.replace(r.placeholder,"$1");Ia(n[c])?l=n[c].toString().replace(/\$/gm,"_#$#_"):c in n?l=r.nullPlaceholder(r,s,i,n):l=r.missingPlaceholder(r,s,i,n);const d=new RegExp(s.replace(/\{/gm,"\\{").replace(/\}/gm,"\\}"),"g");i=i.replace(d,l)}return i.replace(/_#\$#_/g,"$")}function oa(r,i,n={}){n=Object.assign({},n);const t="locale"in n?n.locale:r.locale,l=pl(t),s=r.locales.get(l==="string"?t:typeof t).slice(),c=yo(r,i,n).split(r.defaultSeparator).map(h=>r.transformKey(h)),d=s.map(h=>c.reduce((m,v)=>m&&m[v],r.translations[h]));return d.push(n.defaultValue),d.find(h=>Ia(h))}function Xx(r,i){const n=new Vt(r);if(!n.isFinite())return r.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 Ep,i7;function r8(){if(i7)return Ep;i7=1;function r(i,n){for(var t=-1,l=n.length,s=i.length;++t<l;)i[s+t]=n[t];return i}return Ep=r,Ep}var Sp,l7;function $x(){if(l7)return Sp;l7=1;var r=nu(),i=hf(),n=$r(),t=r?r.isConcatSpreadable:void 0;function l(s){return n(s)||i(s)||!!(t&&s&&s[t])}return Sp=l,Sp}var Dp,o7;function Jx(){if(o7)return Dp;o7=1;var r=r8(),i=$x();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):r(d,v):c||(d[d.length]=v)}return d}return Dp=n,Dp}var Tp,s7;function eO(){if(s7)return Tp;s7=1;function r(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 Tp=r,Tp}var xp,u7;function a8(){if(u7)return xp;u7=1;var r=K9(),i=eO(),n=X9(),t=1,l=2;function s(c,d,h,m,v,g){var _=h&t,S=c.length,T=d.length;if(S!=T&&!(_&&T>S))return!1;var A=g.get(c),C=g.get(d);if(A&&C)return A==d&&C==c;var N=-1,O=!0,B=h&l?new r:void 0;for(g.set(c,d),g.set(d,c);++N<S;){var Q=c[N],$=d[N];if(m)var ne=_?m($,Q,N,d,c,g):m(Q,$,N,c,d,g);if(ne!==void 0){if(ne)continue;O=!1;break}if(B){if(!i(d,function(Z,w){if(!n(B,w)&&(Q===Z||v(Q,Z,h,m,g)))return B.push(w)})){O=!1;break}}else if(!(Q===$||v(Q,$,h,m,g))){O=!1;break}}return g.delete(c),g.delete(d),O}return xp=s,xp}var Op,c7;function tO(){if(c7)return Op;c7=1;function r(i){var n=-1,t=Array(i.size);return i.forEach(function(l,s){t[++n]=[s,l]}),t}return Op=r,Op}var Mp,f7;function nO(){if(f7)return Mp;f7=1;var r=nu(),i=B9(),n=au(),t=a8(),l=tO(),s=G2(),c=1,d=2,h="[object Boolean]",m="[object Date]",v="[object Error]",g="[object Map]",_="[object Number]",S="[object RegExp]",T="[object Set]",A="[object String]",C="[object Symbol]",N="[object ArrayBuffer]",O="[object DataView]",B=r?r.prototype:void 0,Q=B?B.valueOf:void 0;function $(ne,Z,w,E,D,k,q){switch(w){case O:if(ne.byteLength!=Z.byteLength||ne.byteOffset!=Z.byteOffset)return!1;ne=ne.buffer,Z=Z.buffer;case N:return!(ne.byteLength!=Z.byteLength||!k(new i(ne),new i(Z)));case h:case m:case _:return n(+ne,+Z);case v:return ne.name==Z.name&&ne.message==Z.message;case S:case A:return ne==Z+"";case g:var z=l;case T:var j=E&c;if(z||(z=s),ne.size!=Z.size&&!j)return!1;var H=q.get(ne);if(H)return H==Z;E|=d,q.set(ne,Z);var M=t(z(ne),z(Z),E,D,k,q);return q.delete(ne),M;case C:if(Q)return Q.call(ne)==Q.call(Z)}return!1}return Mp=$,Mp}var Ap,d7;function rO(){if(d7)return Ap;d7=1;var r=r8(),i=$r();function n(t,l,s){var c=l(t);return i(t)?c:r(c,s(t))}return Ap=n,Ap}var Cp,h7;function aO(){if(h7)return Cp;h7=1;function r(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 Cp=r,Cp}var Rp,p7;function iO(){if(p7)return Rp;p7=1;function r(){return[]}return Rp=r,Rp}var Np,m7;function lO(){if(m7)return Np;m7=1;var r=aO(),i=iO(),n=Object.prototype,t=n.propertyIsEnumerable,l=Object.getOwnPropertySymbols,s=l?function(c){return c==null?[]:(c=Object(c),r(l(c),function(d){return t.call(c,d)}))}:i;return Np=s,Np}var kp,v7;function oO(){if(v7)return kp;v7=1;var r=j9(),i=r(Object.keys,Object);return kp=i,kp}var Lp,g7;function sO(){if(g7)return Lp;g7=1;var r=j2(),i=oO(),n=Object.prototype,t=n.hasOwnProperty;function l(s){if(!r(s))return i(s);var c=[];for(var d in Object(s))t.call(s,d)&&d!="constructor"&&c.push(d);return c}return Lp=l,Lp}var qp,y7;function V2(){if(y7)return qp;y7=1;var r=W9(),i=sO(),n=No();function t(l){return n(l)?r(l):i(l)}return qp=t,qp}var Hp,b7;function uO(){if(b7)return Hp;b7=1;var r=rO(),i=lO(),n=V2();function t(l){return r(l,n,i)}return Hp=t,Hp}var Up,_7;function cO(){if(_7)return Up;_7=1;var r=uO(),i=1,n=Object.prototype,t=n.hasOwnProperty;function l(s,c,d,h,m,v){var g=d&i,_=r(s),S=_.length,T=r(c),A=T.length;if(S!=A&&!g)return!1;for(var C=S;C--;){var N=_[C];if(!(g?N in c:t.call(c,N)))return!1}var O=v.get(s),B=v.get(c);if(O&&B)return O==c&&B==s;var Q=!0;v.set(s,c),v.set(c,s);for(var $=g;++C<S;){N=_[C];var ne=s[N],Z=c[N];if(h)var w=g?h(Z,ne,N,c,s,v):h(ne,Z,N,s,c,v);if(!(w===void 0?ne===Z||m(ne,Z,d,h,v):w)){Q=!1;break}$||($=N=="constructor")}if(Q&&!$){var E=s.constructor,D=c.constructor;E!=D&&"constructor"in s&&"constructor"in c&&!(typeof E=="function"&&E instanceof E&&typeof D=="function"&&D instanceof D)&&(Q=!1)}return v.delete(s),v.delete(c),Q}return Up=l,Up}var Pp,w7;function fO(){if(w7)return Pp;w7=1;var r=xl(),i=ya(),n=r(i,"DataView");return Pp=n,Pp}var zp,E7;function dO(){if(E7)return zp;E7=1;var r=xl(),i=ya(),n=r(i,"Promise");return zp=n,zp}var Yp,S7;function hO(){if(S7)return Yp;S7=1;var r=xl(),i=ya(),n=r(i,"WeakMap");return Yp=n,Yp}var Bp,D7;function pO(){if(D7)return Bp;D7=1;var r=fO(),i=q2(),n=dO(),t=$9(),l=hO(),s=Co(),c=k9(),d="[object Map]",h="[object Object]",m="[object Promise]",v="[object Set]",g="[object WeakMap]",_="[object DataView]",S=c(r),T=c(i),A=c(n),C=c(t),N=c(l),O=s;return(r&&O(new r(new ArrayBuffer(1)))!=_||i&&O(new i)!=d||n&&O(n.resolve())!=m||t&&O(new t)!=v||l&&O(new l)!=g)&&(O=function(B){var Q=s(B),$=Q==h?B.constructor:void 0,ne=$?c($):"";if(ne)switch(ne){case S:return _;case T:return d;case A:return m;case C:return v;case N:return g}return Q}),Bp=O,Bp}var jp,T7;function mO(){if(T7)return jp;T7=1;var r=Y2(),i=a8(),n=nO(),t=cO(),l=pO(),s=$r(),c=I2(),d=F2(),h=1,m="[object Arguments]",v="[object Array]",g="[object Object]",_=Object.prototype,S=_.hasOwnProperty;function T(A,C,N,O,B,Q){var $=s(A),ne=s(C),Z=$?v:l(A),w=ne?v:l(C);Z=Z==m?g:Z,w=w==m?g:w;var E=Z==g,D=w==g,k=Z==w;if(k&&c(A)){if(!c(C))return!1;$=!0,E=!1}if(k&&!E)return Q||(Q=new r),$||d(A)?i(A,C,N,O,B,Q):n(A,C,Z,N,O,B,Q);if(!(N&h)){var q=E&&S.call(A,"__wrapped__"),z=D&&S.call(C,"__wrapped__");if(q||z){var j=q?A.value():A,H=z?C.value():C;return Q||(Q=new r),B(j,H,N,O,Q)}}return k?(Q||(Q=new r),t(A,C,N,O,B,Q)):!1}return jp=T,jp}var Ip,x7;function i8(){if(x7)return Ip;x7=1;var r=mO(),i=Tl();function n(t,l,s,c,d){return t===l?!0:t==null||l==null||!i(t)&&!i(l)?t!==t&&l!==l:r(t,l,s,c,n,d)}return Ip=n,Ip}var Fp,O7;function vO(){if(O7)return Fp;O7=1;var r=Y2(),i=i8(),n=1,t=2;function l(s,c,d,h){var m=d.length,v=m,g=!h;if(s==null)return!v;for(s=Object(s);m--;){var _=d[m];if(g&&_[2]?_[1]!==s[_[0]]:!(_[0]in s))return!1}for(;++m<v;){_=d[m];var S=_[0],T=s[S],A=_[1];if(g&&_[2]){if(T===void 0&&!(S in s))return!1}else{var C=new r;if(h)var N=h(T,A,S,s,c,C);if(!(N===void 0?i(A,T,n|t,h,C):N))return!1}}return!0}return Fp=l,Fp}var Gp,M7;function l8(){if(M7)return Gp;M7=1;var r=Xa();function i(n){return n===n&&!r(n)}return Gp=i,Gp}var Vp,A7;function gO(){if(A7)return Vp;A7=1;var r=l8(),i=V2();function n(t){for(var l=i(t),s=l.length;s--;){var c=l[s],d=t[c];l[s]=[c,d,r(d)]}return l}return Vp=n,Vp}var Wp,C7;function o8(){if(C7)return Wp;C7=1;function r(i,n){return function(t){return t==null?!1:t[i]===n&&(n!==void 0||i in Object(t))}}return Wp=r,Wp}var Zp,R7;function yO(){if(R7)return Zp;R7=1;var r=vO(),i=gO(),n=o8();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||r(c,l,s)}}return Zp=t,Zp}var Qp,N7;function bO(){if(N7)return Qp;N7=1;function r(i,n){return i!=null&&n in Object(i)}return Qp=r,Qp}var Kp,k7;function _O(){if(k7)return Kp;k7=1;var r=bO(),i=U9();function n(t,l){return t!=null&&i(t,l,r)}return Kp=n,Kp}var Xp,L7;function wO(){if(L7)return Xp;L7=1;var r=i8(),i=H9(),n=_O(),t=k2(),l=l8(),s=o8(),c=df(),d=1,h=2;function m(v,g){return t(v)&&l(g)?s(c(v),g):function(_){var S=i(_,v);return S===void 0&&S===g?n(_,v):r(g,S,d|h)}}return Xp=m,Xp}var $p,q7;function EO(){if(q7)return $p;q7=1;function r(i){return function(n){return n==null?void 0:n[i]}}return $p=r,$p}var Jp,H7;function SO(){if(H7)return Jp;H7=1;var r=U2();function i(n){return function(t){return r(t,n)}}return Jp=i,Jp}var em,U7;function DO(){if(U7)return em;U7=1;var r=EO(),i=SO(),n=k2(),t=df();function l(s){return n(s)?r(t(s)):i(s)}return em=l,em}var tm,P7;function TO(){if(P7)return tm;P7=1;var r=yO(),i=wO(),n=pf(),t=$r(),l=DO();function s(c){return typeof c=="function"?c:c==null?n:typeof c=="object"?t(c)?i(c[0],c[1]):r(c):l(c)}return tm=s,tm}var nm,z7;function xO(){if(z7)return nm;z7=1;var r=Y9(),i=V2();function n(t,l){return t&&r(t,l,i)}return nm=n,nm}var rm,Y7;function OO(){if(Y7)return rm;Y7=1;var r=No();function i(n,t){return function(l,s){if(l==null)return l;if(!r(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 rm=i,rm}var am,B7;function MO(){if(B7)return am;B7=1;var r=xO(),i=OO(),n=i(r);return am=n,am}var im,j7;function AO(){if(j7)return im;j7=1;var r=MO(),i=No();function n(t,l){var s=-1,c=i(t)?Array(t.length):[];return r(t,function(d,h,m){c[++s]=l(d,h,m)}),c}return im=n,im}var lm,I7;function CO(){if(I7)return lm;I7=1;function r(i,n){var t=i.length;for(i.sort(n);t--;)i[t]=i[t].value;return i}return lm=r,lm}var om,F7;function RO(){if(F7)return om;F7=1;var r=ru();function i(n,t){if(n!==t){var l=n!==void 0,s=n===null,c=n===n,d=r(n),h=t!==void 0,m=t===null,v=t===t,g=r(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 om=i,om}var sm,G7;function NO(){if(G7)return sm;G7=1;var r=RO();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=r(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 sm=i,sm}var um,V7;function kO(){if(V7)return um;V7=1;var r=L9(),i=U2(),n=TO(),t=AO(),l=CO(),s=F9(),c=NO(),d=pf(),h=$r();function m(v,g,_){g.length?g=r(g,function(A){return h(A)?function(C){return i(C,A.length===1?A[0]:A)}:A}):g=[d];var S=-1;g=r(g,s(n));var T=t(v,function(A,C,N){var O=r(g,function(B){return B(A)});return{criteria:O,index:++S,value:A}});return l(T,function(A,C){return c(A,C,_)})}return um=m,um}var cm,W7;function LO(){if(W7)return cm;W7=1;var r=Jx(),i=kO(),n=Q9(),t=mf(),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,r(c,1),[])});return cm=l,cm}var qO=LO();const HO=hr(qO);var fm,Z7;function UO(){if(Z7)return fm;Z7=1;function r(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 fm=r,fm}var dm,Q7;function PO(){if(Q7)return dm;Q7=1;var r=V9(),i=UO();function n(t,l){return i(t||[],l||[],r)}return dm=n,dm}var zO=PO();const YO=hr(zO),t2={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"},BO=YO(Object.values(t2),Object.keys(t2).map(r=>parseInt(r,10)));function jO(r,i,n){const t={roundMode:n.roundMode,precision:n.precision,significant:n.significant};let l;if(pl(n.units)==="string"){const g=n.units;if(l=oa(r,g),!l)throw new Error(`The scope "${r.locale}${r.defaultSeparator}${yo(r,g,{})}" couldn't be found`)}else l=n.units;let s=Ic(new Vt(i),t);const c=g=>HO(Object.keys(g).map(_=>BO[_]),_=>_*-1),d=(g,_)=>{const S=g.isZero()?0:Math.floor(Math.log10(g.abs().toNumber()));return c(_).find(T=>S>=T)||0},h=(g,_)=>{const S=t2[_.toString()];return g[S]||""},m=d(new Vt(s),l),v=h(l,m);if(s=Ic(new Vt(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 K7=["byte","kb","mb","gb","tb","pb","eb"];function IO(r,i,n){const t=t8(n.roundMode),l=1024,s=new Vt(i).abs(),c=s.lt(l);let d;const h=(T,A)=>{const C=A.length-1,N=new Vt(Math.log(T.toNumber())).div(Math.log(l)).integerValue(Vt.ROUND_DOWN).toNumber();return Math.min(C,N)},m=T=>`number.human.storage_units.units.${c?"byte":T[v]}`,v=h(s,K7);c?d=s.integerValue():d=new Vt(Ic(s.div(Math.pow(l,v)),{significant:n.significant,precision:n.precision,roundMode:n.roundMode}));const g=r.translate("number.human.storage_units.format",{defaultValue:"%n %u"}),_=r.translate(m(K7),{count:s.integerValue().toNumber()});let S=d.toFixed(n.precision,t);return n.stripInsignificantZeros&&(S=S.replace(/(\..*?)0+$/,"$1").replace(/\.$/,"")),g.replace("%n",S).replace("%u",_)}function n2(r){if(r instanceof Date)return r;if(typeof r=="number"){const t=new Date;return t.setTime(r),t}const i=new String(r).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)}r.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(r)),n}function X7({i18n:r,count:i,scope:n,options:t,baseScope:l}){t=Object.assign({},t);let s,c;if(typeof n=="object"&&n?s=n:s=oa(r,n,t),!s)return r.missingTranslation.get(n,t);const h=r.pluralization.get(t.locale)(r,i),m=[];for(;h.length;){const v=h.shift();if(Ia(s[v])){c=s[v];break}m.push(v)}return Ia(c)?(t.count=i,r.interpolate(r,c,t)):r.missingTranslation.get(l.split(r.defaultSeparator).concat([m[0]]),t)}const FO={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 GO(r,i,n={}){const{abbrDayNames:t,dayNames:l,abbrMonthNames:s,monthNames:c,meridian:d,utc:h}=Object.assign(Object.assign({},FO),n);if(isNaN(r.getTime()))throw new Error("strftime() requires a valid date object, but received an invalid date.");const m=h?r.getUTCDay():r.getDay(),v=h?r.getUTCDate():r.getDate(),g=h?r.getUTCFullYear():r.getFullYear(),_=(h?r.getUTCMonth():r.getMonth())+1,S=h?r.getUTCHours():r.getHours();let T=S;const A=S>11?"pm":"am",C=h?r.getUTCSeconds():r.getSeconds(),N=h?r.getUTCMinutes():r.getMinutes(),O=h?0:r.getTimezoneOffset(),B=Math.floor(Math.abs(O/60)),Q=Math.abs(O)-B*60,$=(O>0?"-":"+")+(B.toString().length<2?"0"+B:B)+(Q.toString().length<2?"0"+Q:Q);return T>12?T=T-12:T===0&&(T=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",S.toString().padStart(2,"0")),i=i.replace("%-H",S.toString()),i=i.replace("%k",S.toString()),i=i.replace("%I",T.toString().padStart(2,"0")),i=i.replace("%-I",T.toString()),i=i.replace("%l",T.toString()),i=i.replace("%m",_.toString().padStart(2,"0")),i=i.replace("%-m",_.toString()),i=i.replace("%M",N.toString().padStart(2,"0")),i=i.replace("%-M",N.toString()),i=i.replace("%p",d[A]),i=i.replace("%P",d[A].toLowerCase()),i=i.replace("%S",C.toString().padStart(2,"0")),i=i.replace("%-S",C.toString()),i=i.replace("%w",m.toString()),i=i.replace("%y",g.toString().padStart(2,"0").substr(-2)),i=i.replace("%-y",g.toString().padStart(2,"0").substr(-2).replace(/^0+/,"")),i=i.replace("%Y",g.toString()),i=i.replace(/%z/i,$),i}var hm,$7;function VO(){if($7)return hm;$7=1;var r=Math.ceil,i=Math.max;function n(t,l,s,c){for(var d=-1,h=i(r((l-t)/(s||1)),0),m=Array(h);h--;)m[c?h:++d]=t,t+=s;return m}return hm=n,hm}var pm,J7;function WO(){if(J7)return pm;J7=1;var r=VO(),i=mf(),n=n8();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),r(s,c,d,l)}}return pm=t,pm}var mm,eb;function ZO(){if(eb)return mm;eb=1;var r=WO(),i=r();return mm=i,mm}var QO=ZO();const KO=hr(QO),cr=(r,i,n)=>n>=r&&n<=i;function XO(r,i,n,t={}){const l=t.scope||"datetime.distance_in_words",s=(Z,w=0)=>r.t(Z,{count:w,scope:l});i=n2(i),n=n2(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),S=Math.round(g),T=Math.round(S/30);if(cr(0,1,m))return t.includeSeconds?cr(0,4,h)?s("less_than_x_seconds",5):cr(5,9,h)?s("less_than_x_seconds",10):cr(10,19,h)?s("less_than_x_seconds",20):cr(20,39,h)?s("half_a_minute"):cr(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(cr(2,44,m))return s("x_minutes",m);if(cr(45,89,m))return s("about_x_hours",1);if(cr(90,1439,m))return s("about_x_hours",_);if(cr(1440,2519,m))return s("x_days",1);if(cr(2520,43199,m))return s("x_days",S);if(cr(43200,86399,m))return s("about_x_months",Math.round(m/43200));if(cr(86400,525599,m))return s("x_months",T);let A=i.getFullYear();i.getMonth()+1>=3&&(A+=1);let C=n.getFullYear();n.getMonth()+1<3&&(C-=1);const N=A>C?0:KO(A,C).filter(Z=>new Date(Z,1,29).getMonth()==1).length,O=525600,B=N*1440,Q=m-B,$=Math.trunc(Q/O),ne=parseFloat((Q/O-$).toPrecision(3));return ne<.25?s("about_x_years",$):ne<.75?s("over_x_years",$):s("almost_x_years",$+1)}const $O=function(r,i){i instanceof Array&&(i=i.join(r.defaultSeparator));const n=i.split(r.defaultSeparator).slice(-1)[0];return r.missingTranslationPrefix+n.replace("_"," ").replace(/([a-z])([A-Z])/g,(t,l,s)=>`${l} ${s.toLowerCase()}`)},JO=(r,i,n)=>{const t=yo(r,i,n),l="locale"in n?n.locale:r.locale,s=pl(l);return`[missing "${[s=="string"?l:s,t].join(r.defaultSeparator)}" translation]`},eM=(r,i,n)=>{const t=yo(r,i,n),l=[r.locale,t].join(r.defaultSeparator);throw new Error(`Missing translation: ${l}`)};class tM{constructor(i){this.i18n=i,this.registry={},this.register("guess",$O),this.register("message",JO),this.register("error",eM)}register(i,n){this.registry[i]=n}get(i,n){var t;return this.registry[(t=n.missingBehavior)!==null&&t!==void 0?t:this.i18n.missingBehavior](this.i18n,i,n)}}var nM=function(r,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(r,i||[])).next())})};const vm={defaultLocale:"en",locale:"en",defaultSeparator:".",placeholder:/(?:\{\{|%\{)(.*?)(?:\}\}?)/gm,enableFallback:!1,missingBehavior:"message",missingTranslationPrefix:"",missingPlaceholder:(r,i)=>`[missing "${i}" value]`,nullPlaceholder:(r,i,n,t)=>r.missingPlaceholder(r,i,n,t),transformKey:r=>r};let rM=class{constructor(i={},n={}){this._locale=vm.locale,this._defaultLocale=vm.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({},vm),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 vx(this),this.locales=new dx(this),this.missingTranslation=new tM(this),this.transformKey=_,this.interpolate=wp,this.store(i)}store(i){KT(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 ${pl(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 ${pl(i)}`);const n=this._defaultLocale!==i;this._defaultLocale=i,n&&this.hasChanged()}translate(i,n){n=Object.assign({},n);const t=Ux(this,i,n);let l;return t.some(c=>(Ia(c.scope)?l=oa(this,c.scope,n):Ia(c.message)&&(l=c.message),l!=null))?(typeof l=="string"?l=this.interpolate(this,l,n):typeof l=="object"&&l&&Ia(n.count)&&(l=X7({i18n:this,count:n.count||0,scope:l,options:n,baseScope:yo(this,i,n)})),n&&l instanceof Array&&(l=l.map(c=>typeof c=="string"?wp(this,c,n):c)),l):this.missingTranslation.get(i,n)}pluralize(i,n,t){return X7({i18n:this,count:i,scope:n,options:Object.assign({},t),baseScope:yo(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 Rs(n,Object.assign({delimiter:",",precision:3,separator:".",significant:!1,stripInsignificantZeros:!1},oa(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(),wp(this,l,t)}}}toTime(i,n){const t=n2(n),l=oa(this,i);return t.toString().match(/invalid/i)||!l?t.toString():this.strftime(t,l)}numberToCurrency(i,n={}){return Rs(i,Object.assign(Object.assign(Object.assign({delimiter:",",format:"%u%n",precision:2,separator:".",significant:!1,stripInsignificantZeros:!1,unit:"$"},zr(this.get("number.format"))),zr(this.get("number.currency.format"))),n))}numberToPercentage(i,n={}){return Rs(i,Object.assign(Object.assign(Object.assign({delimiter:"",format:"%n%",precision:3,stripInsignificantZeros:!1,separator:".",significant:!1},zr(this.get("number.format"))),zr(this.get("number.percentage.format"))),n))}numberToHumanSize(i,n={}){return IO(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:""}},zr(this.get("number.human.format"))),zr(this.get("number.human.storage_units"))),n))}numberToHuman(i,n={}){return jO(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:""}},zr(this.get("number.human.format"))),zr(this.get("number.human.decimal_units"))),n))}numberToRounded(i,n){return Rs(i,Object.assign({unit:"",precision:3,significant:!1,separator:".",delimiter:"",stripInsignificantZeros:!1},n))}numberToDelimited(i,n={}){return Xx(i,Object.assign({delimiterPattern:/(\d)(?=(\d\d\d)+(?!\d))/g,delimiter:",",separator:"."},n))}withLocale(i,n){return nM(this,void 0,void 0,function*(){const t=this.locale;try{this.locale=i,yield n()}finally{this.locale=t}})}strftime(i,n,t={}){return GO(i,n,Object.assign(Object.assign(Object.assign({},zr(oa(this,"date"))),{meridian:{am:oa(this,"time.am")||"AM",pm:oa(this,"time.pm")||"PM"}}),t))}update(i,n,t={strict:!1}){if(t.strict&&!vT(this.translations,i))throw new Error(`The path "${i}" is not currently defined`);const l=fT(this.translations,i),s=pl(l),c=pl(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 "},zr(oa(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 XO(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},zr(this.get("number.format"))),n),Rs(i,n)}get(i){return oa(this,i)}runCallbacks(){this.onChangeHandlers.forEach(i=>i(this))}hasChanged(){this._version+=1,this.runCallbacks()}};function aM(r,i,n){const t=new URLSearchParams(r);return t.set(i,n),"?"+t.toString()}function iM(r,i){return new URLSearchParams(i).get(r)}function s8(r){return r!=null?(r.preventDefault(),r.stopPropagation(),!1):!0}function Ba(r){return r==null?!0:Array.isArray(r)?r.length===0:typeof r=="string"?r.trim().length===0:r&&r.getTime?r.getTime()!==r.getTime():typeof r=="object"?Object.keys(r).length===0:!1}/*! js-cookie v3.0.5 | MIT */function bc(r){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)r[t]=n[t]}return r}var lM={read:function(r){return r[0]==='"'&&(r=r.slice(1,-1)),r.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(r){return encodeURIComponent(r).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function r2(r,i){function n(l,s,c){if(!(typeof document>"u")){c=bc({},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+"="+r.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]=r.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,"",bc({},s,{expires:-1}))},withAttributes:function(l){return r2(this.converter,bc({},this.attributes,l))},withConverter:function(l){return r2(bc({},this.converter,l),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(r)}})}var u8=r2(lM,{path:"/"});const qe=new rM({en:qD,nl:HD});let wl=iM("lang",window.location.search);Ba(wl)&&(wl=u8.get("lang"));Ba(wl)&&(wl=navigator.language.toLowerCase().substring(0,2));["nl","en"].indexOf(wl)===-1&&(wl="en");qe.locale=wl;qe.missingTranslation.register("report-error",(r,i)=>`[missing "${i}" translation]`);qe.missingBehavior="report-error";const tb=r=>{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(S=>S(i,_))}},l=()=>i,d={setState:t,getState:l,getInitialState:()=>h,subscribe:m=>(n.add(m),()=>n.delete(m))},h=i=r(t,l,d);return d},oM=r=>r?tb(r):tb,sM=r=>r;function uM(r,i=sM){const n=G.useSyncExternalStore(r.subscribe,()=>i(r.getState()),()=>i(r.getInitialState()));return G.useDebugValue(n),n}const nb=r=>{const i=oM(r),n=t=>uM(i,t);return Object.assign(n,i),n},cM=r=>r?nb(r):nb,er=cM(r=>({user:{},controlCode:{},flash:{msg:"",className:"hide",type:"info"},setFlash:(i,n)=>{r({flash:{msg:i,type:n||"info"}}),(!n||n==="info")&&setTimeout(()=>r({flash:{}}),5e3)},clearFlash:()=>r({flash:{}}),breadcrumbPath:[]}));function fM(r){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,r&&i.status===401){window.location.reload(!0);return}throw r&&setTimeout(()=>{throw n},250),n}return i}}function dM(r,i,n={},t=!0){const l={Accept:"application/json","Content-Type":"application/json","Accept-Language":qe.locale,"X-CSRF-TOKEN":er.getState().csrfToken,...n},s=Object.assign({},{headers:l},i,{credentials:"same-origin",redirect:"manual",changeOrigin:!1});return fetch(r,s).then(fM(t))}function iu(r,i={},n={},t=!0){return dM(r,i,n,t).then(l=>l.json())}function hM(r,i,n,t=!0){const l=JSON.stringify(i);return iu(r,{method:n,body:l},{},t)}function pM(){return iu("/myconext/api/sp/me")}function mM(){const r={credentials:"same-origin",redirect:"manual"};return iu("/myconext/api/sp/logout").then(()=>fetch("/Shibboleth.sso/Logout",r))}function vM(r){return iu(`/myconext/api/servicedesk/user/${r}`)}function gM(r){return iu(`/myconext/api/servicedesk/validate?dayOfBirth=${encodeURIComponent(r)}`)}function yM(r,i,n,t,l,s){return hM("/myconext/api/servicedesk/approve",{firstName:r,lastName:i,dayOfBirth:n,code:t,documentId:l,userUid:s},"PUT",!1)}const bM=()=>{const r=er(n=>n.flash),i=er(n=>n.clearFlash);return!Ba(r)&&(r.type==="error"||r.type==="warning")?X.jsx(rS,{message:r.msg,action:r.action,actionLabel:r.actionLabel,alertType:r.type==="warning"?xi.Warning:xi.Error,close:i}):!Ba(r)&&!Ba(r.msg)?X.jsx(fS,{children:X.jsx(D2,{message:r.msg,toasterType:Mi.Success})}):null},_M=({user:r})=>{const i=Ao(),[n,t]=y.useState(!1),l=c=>{s8(c),mM().then(()=>{er.setState(()=>({breadcrumbPath:[],user:{},controlCode:{}})),i("/login"),setTimeout(()=>er.setState(()=>({user:null,breadcrumbPath:[]})),125)})},s=()=>X.jsx(X.Fragment,{children:X.jsx("ul",{children:X.jsx("li",{children:X.jsx("a",{href:"/logout",onClick:l,children:qe.t("header.links.logout")})})})});return X.jsx("div",{className:"user-menu",tabIndex:1,onBlur:()=>setTimeout(()=>t(!1),325),children:X.jsx(dS,{isOpen:n,children:s(),userName:r.displayName,organisationName:r.schacHomeOrganization,toggle:()=>t(!n)})})},wM=()=>{const{user:r}=er(i=>i);return X.jsx("div",{className:"header-container",children:X.jsxs("div",{className:"header-inner",children:[X.jsx(N2,{className:"logo",to:"/",children:X.jsx(p9,{label:qe.t("header.title"),position:m9.Bottom,color:Qm.White})}),r&&r.serviceDeskMember&&X.jsx(_M,{user:r,actions:[]})]})})},EM=({title:r,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},r?y.createElement("title",{id:i},r):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"})),SM=y.forwardRef(EM),gm=()=>X.jsx("div",{className:"not-found",children:X.jsx(SM,{})}),DM=()=>{const{path:r}=S9(),i=Ao();return y.useEffect(()=>{const n=decodeURIComponent(r);i(n)},[r,i]),X.jsx(S2,{})};/*! @license DOMPurify 3.2.4 | (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.4/LICENSE */const{entries:c8,setPrototypeOf:rb,isFrozen:TM,getPrototypeOf:xM,getOwnPropertyDescriptor:OM}=Object;let{freeze:Wn,seal:Rr,create:f8}=Object,{apply:a2,construct:i2}=typeof Reflect<"u"&&Reflect;Wn||(Wn=function(i){return i});Rr||(Rr=function(i){return i});a2||(a2=function(i,n,t){return i.apply(n,t)});i2||(i2=function(i,n){return new i(...n)});const _c=Zn(Array.prototype.forEach),MM=Zn(Array.prototype.lastIndexOf),ab=Zn(Array.prototype.pop),Ns=Zn(Array.prototype.push),AM=Zn(Array.prototype.splice),Nc=Zn(String.prototype.toLowerCase),ym=Zn(String.prototype.toString),ib=Zn(String.prototype.match),ks=Zn(String.prototype.replace),CM=Zn(String.prototype.indexOf),RM=Zn(String.prototype.trim),jr=Zn(Object.prototype.hasOwnProperty),Fn=Zn(RegExp.prototype.test),Ls=NM(TypeError);function Zn(r){return function(i){for(var n=arguments.length,t=new Array(n>1?n-1:0),l=1;l<n;l++)t[l-1]=arguments[l];return a2(r,i,t)}}function NM(r){return function(){for(var i=arguments.length,n=new Array(i),t=0;t<i;t++)n[t]=arguments[t];return i2(r,n)}}function Je(r,i){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Nc;rb&&rb(r,null);let t=i.length;for(;t--;){let l=i[t];if(typeof l=="string"){const s=n(l);s!==l&&(TM(i)||(i[t]=s),l=s)}r[l]=!0}return r}function kM(r){for(let i=0;i<r.length;i++)jr(r,i)||(r[i]=null);return r}function dl(r){const i=f8(null);for(const[n,t]of c8(r))jr(r,n)&&(Array.isArray(t)?i[n]=kM(t):t&&typeof t=="object"&&t.constructor===Object?i[n]=dl(t):i[n]=t);return i}function qs(r,i){for(;r!==null;){const t=OM(r,i);if(t){if(t.get)return Zn(t.get);if(typeof t.value=="function")return Zn(t.value)}r=xM(r)}function n(){return null}return n}const lb=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"]),bm=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"]),_m=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"]),LM=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"]),wm=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"]),qM=Wn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),ob=Wn(["#text"]),sb=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"]),Em=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"]),ub=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"]),wc=Wn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),HM=Rr(/\{\{[\w\W]*|[\w\W]*\}\}/gm),UM=Rr(/<%[\w\W]*|[\w\W]*%>/gm),PM=Rr(/\$\{[\w\W]*/gm),zM=Rr(/^data-[\-\w.\u00B7-\uFFFF]+$/),YM=Rr(/^aria-[\-\w]+$/),d8=Rr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),BM=Rr(/^(?:\w+script|data):/i),jM=Rr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),h8=Rr(/^html$/i),IM=Rr(/^[a-z][.\w]*(-[.\w]+)+$/i);var cb=Object.freeze({__proto__:null,ARIA_ATTR:YM,ATTR_WHITESPACE:jM,CUSTOM_ELEMENT:IM,DATA_ATTR:zM,DOCTYPE_NAME:h8,ERB_EXPR:UM,IS_ALLOWED_URI:d8,IS_SCRIPT_OR_DATA:BM,MUSTACHE_EXPR:HM,TMPLIT_EXPR:PM});const Hs={element:1,text:3,progressingInstruction:7,comment:8,document:9},FM=function(){return typeof window>"u"?null:window},GM=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}},fb=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function p8(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:FM();const i=_e=>p8(_e);if(i.version="3.2.4",i.removed=[],!r||!r.document||r.document.nodeType!==Hs.document||!r.Element)return i.isSupported=!1,i;let{document:n}=r;const t=n,l=t.currentScript,{DocumentFragment:s,HTMLTemplateElement:c,Node:d,Element:h,NodeFilter:m,NamedNodeMap:v=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:g,DOMParser:_,trustedTypes:S}=r,T=h.prototype,A=qs(T,"cloneNode"),C=qs(T,"remove"),N=qs(T,"nextSibling"),O=qs(T,"childNodes"),B=qs(T,"parentNode");if(typeof c=="function"){const _e=n.createElement("template");_e.content&&_e.content.ownerDocument&&(n=_e.content.ownerDocument)}let Q,$="";const{implementation:ne,createNodeIterator:Z,createDocumentFragment:w,getElementsByTagName:E}=n,{importNode:D}=t;let k=fb();i.isSupported=typeof c8=="function"&&typeof B=="function"&&ne&&ne.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:q,ERB_EXPR:z,TMPLIT_EXPR:j,DATA_ATTR:H,ARIA_ATTR:M,IS_SCRIPT_OR_DATA:P,ATTR_WHITESPACE:L,CUSTOM_ELEMENT:J}=cb;let{IS_ALLOWED_URI:R}=cb,I=null;const fe=Je({},[...lb,...bm,..._m,...wm,...ob]);let se=null;const ue=Je({},[...sb,...Em,...ub,...wc]);let ce=Object.seal(f8(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,ze=null,Oe=!0,Ke=!0,He=!1,et=!0,xt=!1,Xe=!0,lt=!1,Le=!1,Zt=!1,tn=!1,cn=!1,tt=!1,Hn=!0,Qn=!1;const Ue="user-content-";let ye=!0,Ce=!1,Ne={},nt=null;const Qt=Je({},["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 jt=null;const Un=Je({},["audio","video","img","source","image","track"]);let Pn=null;const Sn=Je({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Kn="http://www.w3.org/1998/Math/MathML",Lt="http://www.w3.org/2000/svg",Pe="http://www.w3.org/1999/xhtml";let pn=Pe,qt=!1,Ot=null;const Nr=Je({},[Kn,Lt,Pe],ym);let zn=Je({},["mi","mo","mn","ms","mtext"]),Yn=Je({},["annotation-xml"]);const mn=Je({},["title","style","font","a","script"]);let ct=null;const nn=["application/xhtml+xml","text/html"],yt="text/html";let Ge=null,De=null;const Ie=n.createElement("form"),Kt=function(Y){return Y instanceof RegExp||Y instanceof Function},pt=function(){let Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(De&&De===Y)){if((!Y||typeof Y!="object")&&(Y={}),Y=dl(Y),ct=nn.indexOf(Y.PARSER_MEDIA_TYPE)===-1?yt:Y.PARSER_MEDIA_TYPE,Ge=ct==="application/xhtml+xml"?ym:Nc,I=jr(Y,"ALLOWED_TAGS")?Je({},Y.ALLOWED_TAGS,Ge):fe,se=jr(Y,"ALLOWED_ATTR")?Je({},Y.ALLOWED_ATTR,Ge):ue,Ot=jr(Y,"ALLOWED_NAMESPACES")?Je({},Y.ALLOWED_NAMESPACES,ym):Nr,Pn=jr(Y,"ADD_URI_SAFE_ATTR")?Je(dl(Sn),Y.ADD_URI_SAFE_ATTR,Ge):Sn,jt=jr(Y,"ADD_DATA_URI_TAGS")?Je(dl(Un),Y.ADD_DATA_URI_TAGS,Ge):Un,nt=jr(Y,"FORBID_CONTENTS")?Je({},Y.FORBID_CONTENTS,Ge):Qt,pe=jr(Y,"FORBID_TAGS")?Je({},Y.FORBID_TAGS,Ge):{},ze=jr(Y,"FORBID_ATTR")?Je({},Y.FORBID_ATTR,Ge):{},Ne=jr(Y,"USE_PROFILES")?Y.USE_PROFILES:!1,Oe=Y.ALLOW_ARIA_ATTR!==!1,Ke=Y.ALLOW_DATA_ATTR!==!1,He=Y.ALLOW_UNKNOWN_PROTOCOLS||!1,et=Y.ALLOW_SELF_CLOSE_IN_ATTR!==!1,xt=Y.SAFE_FOR_TEMPLATES||!1,Xe=Y.SAFE_FOR_XML!==!1,lt=Y.WHOLE_DOCUMENT||!1,tn=Y.RETURN_DOM||!1,cn=Y.RETURN_DOM_FRAGMENT||!1,tt=Y.RETURN_TRUSTED_TYPE||!1,Zt=Y.FORCE_BODY||!1,Hn=Y.SANITIZE_DOM!==!1,Qn=Y.SANITIZE_NAMED_PROPS||!1,ye=Y.KEEP_CONTENT!==!1,Ce=Y.IN_PLACE||!1,R=Y.ALLOWED_URI_REGEXP||d8,pn=Y.NAMESPACE||Pe,zn=Y.MATHML_TEXT_INTEGRATION_POINTS||zn,Yn=Y.HTML_INTEGRATION_POINTS||Yn,ce=Y.CUSTOM_ELEMENT_HANDLING||{},Y.CUSTOM_ELEMENT_HANDLING&&Kt(Y.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ce.tagNameCheck=Y.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Y.CUSTOM_ELEMENT_HANDLING&&Kt(Y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ce.attributeNameCheck=Y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Y.CUSTOM_ELEMENT_HANDLING&&typeof Y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ce.allowCustomizedBuiltInElements=Y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),xt&&(Ke=!1),cn&&(tn=!0),Ne&&(I=Je({},ob),se=[],Ne.html===!0&&(Je(I,lb),Je(se,sb)),Ne.svg===!0&&(Je(I,bm),Je(se,Em),Je(se,wc)),Ne.svgFilters===!0&&(Je(I,_m),Je(se,Em),Je(se,wc)),Ne.mathMl===!0&&(Je(I,wm),Je(se,ub),Je(se,wc))),Y.ADD_TAGS&&(I===fe&&(I=dl(I)),Je(I,Y.ADD_TAGS,Ge)),Y.ADD_ATTR&&(se===ue&&(se=dl(se)),Je(se,Y.ADD_ATTR,Ge)),Y.ADD_URI_SAFE_ATTR&&Je(Pn,Y.ADD_URI_SAFE_ATTR,Ge),Y.FORBID_CONTENTS&&(nt===Qt&&(nt=dl(nt)),Je(nt,Y.FORBID_CONTENTS,Ge)),ye&&(I["#text"]=!0),lt&&Je(I,["html","head","body"]),I.table&&(Je(I,["tbody"]),delete pe.tbody),Y.TRUSTED_TYPES_POLICY){if(typeof Y.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ls('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Y.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ls('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Q=Y.TRUSTED_TYPES_POLICY,$=Q.createHTML("")}else Q===void 0&&(Q=GM(S,l)),Q!==null&&typeof $=="string"&&($=Q.createHTML(""));Wn&&Wn(Y),De=Y}},he=Je({},[...bm,..._m,...LM]),Me=Je({},[...wm,...qM]),Re=function(Y){let le=B(Y);(!le||!le.tagName)&&(le={namespaceURI:pn,tagName:"template"});const me=Nc(Y.tagName),Ve=Nc(le.tagName);return Ot[Y.namespaceURI]?Y.namespaceURI===Lt?le.namespaceURI===Pe?me==="svg":le.namespaceURI===Kn?me==="svg"&&(Ve==="annotation-xml"||zn[Ve]):!!he[me]:Y.namespaceURI===Kn?le.namespaceURI===Pe?me==="math":le.namespaceURI===Lt?me==="math"&&Yn[Ve]:!!Me[me]:Y.namespaceURI===Pe?le.namespaceURI===Lt&&!Yn[Ve]||le.namespaceURI===Kn&&!zn[Ve]?!1:!Me[me]&&(mn[me]||!he[me]):!!(ct==="application/xhtml+xml"&&Ot[Y.namespaceURI]):!1},rt=function(Y){Ns(i.removed,{element:Y});try{B(Y).removeChild(Y)}catch{C(Y)}},Mt=function(Y,le){try{Ns(i.removed,{attribute:le.getAttributeNode(Y),from:le})}catch{Ns(i.removed,{attribute:null,from:le})}if(le.removeAttribute(Y),Y==="is")if(tn||cn)try{rt(le)}catch{}else try{le.setAttribute(Y,"")}catch{}},vn=function(Y){let le=null,me=null;if(Zt)Y="<remove></remove>"+Y;else{const Ye=ib(Y,/^[\r\n\t ]+/);me=Ye&&Ye[0]}ct==="application/xhtml+xml"&&pn===Pe&&(Y='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Y+"</body></html>");const Ve=Q?Q.createHTML(Y):Y;if(pn===Pe)try{le=new _().parseFromString(Ve,ct)}catch{}if(!le||!le.documentElement){le=ne.createDocument(pn,"template",null);try{le.documentElement.innerHTML=qt?$:Ve}catch{}}const ft=le.body||le.documentElement;return Y&&me&&ft.insertBefore(n.createTextNode(me),ft.childNodes[0]||null),pn===Pe?E.call(le,lt?"html":"body")[0]:lt?le.documentElement:ft},gn=function(Y){return Z.call(Y.ownerDocument||Y,Y,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT|m.SHOW_PROCESSING_INSTRUCTION|m.SHOW_CDATA_SECTION,null)},vt=function(Y){return Y instanceof g&&(typeof Y.nodeName!="string"||typeof Y.textContent!="string"||typeof Y.removeChild!="function"||!(Y.attributes instanceof v)||typeof Y.removeAttribute!="function"||typeof Y.setAttribute!="function"||typeof Y.namespaceURI!="string"||typeof Y.insertBefore!="function"||typeof Y.hasChildNodes!="function")},at=function(Y){return typeof d=="function"&&Y instanceof d};function be(_e,Y,le){_c(_e,me=>{me.call(i,Y,le,De)})}const yn=function(Y){let le=null;if(be(k.beforeSanitizeElements,Y,null),vt(Y))return rt(Y),!0;const me=Ge(Y.nodeName);if(be(k.uponSanitizeElement,Y,{tagName:me,allowedTags:I}),Y.hasChildNodes()&&!at(Y.firstElementChild)&&Fn(/<[/\w]/g,Y.innerHTML)&&Fn(/<[/\w]/g,Y.textContent)||Y.nodeType===Hs.progressingInstruction||Xe&&Y.nodeType===Hs.comment&&Fn(/<[/\w]/g,Y.data))return rt(Y),!0;if(!I[me]||pe[me]){if(!pe[me]&&Jr(me)&&(ce.tagNameCheck instanceof RegExp&&Fn(ce.tagNameCheck,me)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(me)))return!1;if(ye&&!nt[me]){const Ve=B(Y)||Y.parentNode,ft=O(Y)||Y.childNodes;if(ft&&Ve){const Ye=ft.length;for(let kt=Ye-1;kt>=0;--kt){const Dn=A(ft[kt],!0);Dn.__removalCount=(Y.__removalCount||0)+1,Ve.insertBefore(Dn,N(Y))}}}return rt(Y),!0}return Y instanceof h&&!Re(Y)||(me==="noscript"||me==="noembed"||me==="noframes")&&Fn(/<\/no(script|embed|frames)/i,Y.innerHTML)?(rt(Y),!0):(xt&&Y.nodeType===Hs.text&&(le=Y.textContent,_c([q,z,j],Ve=>{le=ks(le,Ve," ")}),Y.textContent!==le&&(Ns(i.removed,{element:Y.cloneNode()}),Y.textContent=le)),be(k.afterSanitizeElements,Y,null),!1)},At=function(Y,le,me){if(Hn&&(le==="id"||le==="name")&&(me in n||me in Ie))return!1;if(!(Ke&&!ze[le]&&Fn(H,le))){if(!(Oe&&Fn(M,le))){if(!se[le]||ze[le]){if(!(Jr(Y)&&(ce.tagNameCheck instanceof RegExp&&Fn(ce.tagNameCheck,Y)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(Y))&&(ce.attributeNameCheck instanceof RegExp&&Fn(ce.attributeNameCheck,le)||ce.attributeNameCheck instanceof Function&&ce.attributeNameCheck(le))||le==="is"&&ce.allowCustomizedBuiltInElements&&(ce.tagNameCheck instanceof RegExp&&Fn(ce.tagNameCheck,me)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(me))))return!1}else if(!Pn[le]){if(!Fn(R,ks(me,L,""))){if(!((le==="src"||le==="xlink:href"||le==="href")&&Y!=="script"&&CM(me,"data:")===0&&jt[Y])){if(!(He&&!Fn(P,ks(me,L,"")))){if(me)return!1}}}}}}return!0},Jr=function(Y){return Y!=="annotation-xml"&&ib(Y,J)},bt=function(Y){be(k.beforeSanitizeAttributes,Y,null);const{attributes:le}=Y;if(!le||vt(Y))return;const me={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:se,forceKeepAttr:void 0};let Ve=le.length;for(;Ve--;){const ft=le[Ve],{name:Ye,namespaceURI:kt,value:Dn}=ft,Tn=Ge(Ye);let _t=Ye==="value"?Dn:RM(Dn);if(me.attrName=Tn,me.attrValue=_t,me.keepAttr=!0,me.forceKeepAttr=void 0,be(k.uponSanitizeAttribute,Y,me),_t=me.attrValue,Qn&&(Tn==="id"||Tn==="name")&&(Mt(Ye,Y),_t=Ue+_t),Xe&&Fn(/((--!?|])>)|<\/(style|title)/i,_t)){Mt(Ye,Y);continue}if(me.forceKeepAttr||(Mt(Ye,Y),!me.keepAttr))continue;if(!et&&Fn(/\/>/i,_t)){Mt(Ye,Y);continue}xt&&_c([q,z,j],_a=>{_t=ks(_t,_a," ")});const xn=Ge(Y.nodeName);if(At(xn,Tn,_t)){if(Q&&typeof S=="object"&&typeof S.getAttributeType=="function"&&!kt)switch(S.getAttributeType(xn,Tn)){case"TrustedHTML":{_t=Q.createHTML(_t);break}case"TrustedScriptURL":{_t=Q.createScriptURL(_t);break}}try{kt?Y.setAttributeNS(kt,Ye,_t):Y.setAttribute(Ye,_t),vt(Y)?rt(Y):ab(i.removed)}catch{}}}be(k.afterSanitizeAttributes,Y,null)},tr=function _e(Y){let le=null;const me=gn(Y);for(be(k.beforeSanitizeShadowDOM,Y,null);le=me.nextNode();)be(k.uponSanitizeShadowNode,le,null),yn(le),bt(le),le.content instanceof s&&_e(le.content);be(k.afterSanitizeShadowDOM,Y,null)};return i.sanitize=function(_e){let Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},le=null,me=null,Ve=null,ft=null;if(qt=!_e,qt&&(_e="<!-->"),typeof _e!="string"&&!at(_e))if(typeof _e.toString=="function"){if(_e=_e.toString(),typeof _e!="string")throw Ls("dirty is not a string, aborting")}else throw Ls("toString is not a function");if(!i.isSupported)return _e;if(Le||pt(Y),i.removed=[],typeof _e=="string"&&(Ce=!1),Ce){if(_e.nodeName){const Dn=Ge(_e.nodeName);if(!I[Dn]||pe[Dn])throw Ls("root node is forbidden and cannot be sanitized in-place")}}else if(_e instanceof d)le=vn("<!---->"),me=le.ownerDocument.importNode(_e,!0),me.nodeType===Hs.element&&me.nodeName==="BODY"||me.nodeName==="HTML"?le=me:le.appendChild(me);else{if(!tn&&!xt&&!lt&&_e.indexOf("<")===-1)return Q&&tt?Q.createHTML(_e):_e;if(le=vn(_e),!le)return tn?null:tt?$:""}le&&Zt&&rt(le.firstChild);const Ye=gn(Ce?_e:le);for(;Ve=Ye.nextNode();)yn(Ve),bt(Ve),Ve.content instanceof s&&tr(Ve.content);if(Ce)return _e;if(tn){if(cn)for(ft=w.call(le.ownerDocument);le.firstChild;)ft.appendChild(le.firstChild);else ft=le;return(se.shadowroot||se.shadowrootmode)&&(ft=D.call(t,ft,!0)),ft}let kt=lt?le.outerHTML:le.innerHTML;return lt&&I["!doctype"]&&le.ownerDocument&&le.ownerDocument.doctype&&le.ownerDocument.doctype.name&&Fn(h8,le.ownerDocument.doctype.name)&&(kt="<!DOCTYPE "+le.ownerDocument.doctype.name+`>
`+kt),xt&&_c([q,z,j],Dn=>{kt=ks(kt,Dn," ")}),Q&&tt?Q.createHTML(kt):kt},i.setConfig=function(){let _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};pt(_e),Le=!0},i.clearConfig=function(){De=null,Le=!1},i.isValidAttribute=function(_e,Y,le){De||pt({});const me=Ge(_e),Ve=Ge(Y);return At(me,Ve,le)},i.addHook=function(_e,Y){typeof Y=="function"&&Ns(k[_e],Y)},i.removeHook=function(_e,Y){if(Y!==void 0){const le=MM(k[_e],Y);return le===-1?void 0:AM(k[_e],le,1)[0]}return ab(k[_e])},i.removeHooks=function(_e){k[_e]=[]},i.removeAllHooks=function(){k=fb()},i}var Ci=p8();const VM=({title:r,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},r?y.createElement("title",{id:i},r):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"})),WM=y.forwardRef(VM),ZM="/assets/desk-CxZ7J2lW.webp",QM="/assets/badge-CsAHMs-r.webp",KM="/assets/screen-DJqmZq6P.webp",XM=()=>{const r=(n,t,l)=>{const s=l%2===0?"reversed":"";return X.jsxs("div",{className:`mod-login info ${s}`,children:[X.jsxs("div",{className:"header-left info",children:[X.jsxs("div",{className:"info-title",children:[X.jsx("h2",{children:n[0]}),X.jsx("div",{className:"admin-function-container",children:X.jsx(oS,{label:qe.t(`landing.${n[2]?"adminFunction":"studentFunction"}`),type:d9.Main_400})})]}),X.jsx("p",{dangerouslySetInnerHTML:{__html:Ci.sanitize(n[1])}})]}),X.jsx("div",{className:"header-right info",children:X.jsx("img",{src:t,alt:"logo",className:`${s}`})})]},l)},i=[KM,ZM,QM];return X.jsx("div",{className:"mod-login-container bottom",children:X.jsxs("div",{className:"mod-login bottom",children:[X.jsx("h1",{children:qe.t("landing.works")}),qe.translations[qe.locale].landing.info.map((n,t)=>r(n,i[t],t)),X.jsx("div",{className:"landing-footer",children:X.jsx("p",{dangerouslySetInnerHTML:{__html:Ci.sanitize(qe.t("landing.footer"))}})})]})})},db=()=>{const[r,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=/`};return X.jsxs("div",{className:"top-container",children:[X.jsx("div",{className:"mod-login-container",children:X.jsxs("div",{className:"mod-login",children:[X.jsxs("div",{className:"header-left",children:[X.jsx("h1",{className:"header-title",dangerouslySetInnerHTML:{__html:Ci.sanitize(qe.t("landing.header.title"))}}),X.jsx(Ws,{onClick:()=>t(),txt:qe.t("landing.header.login"),type:Ai.Primary,size:E2.Full}),X.jsx("p",{className:"sup",dangerouslySetInnerHTML:{__html:Ci.sanitize(qe.t("landing.header.sup"))}})]}),X.jsx("div",{className:`header-right ${r?"animated":""}`,onClick:n,children:X.jsx(WM,{})})]})}),X.jsx(XM,{})]})},$M=({title:r,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},r?y.createElement("title",{id:i},r):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}))),JM=y.forwardRef($M);function eA({name:r,onClick:i,activeTab:n,className:t="",label:l,Icon:s,notifier:c,readOnly:d,busy:h}){const m=()=>{d||i(r)};t+=` tab ${r}`,n===r&&(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=X.jsx(aS,{value:g,small:!0})}return X.jsxs("div",{className:t,onClick:m,children:[c&&X.jsx("span",{className:"notifier",children:X.jsx(JM,{})}),X.jsxs("button",{className:"tab-label",children:[s&&X.jsx(s,{}),l,v]})]})}const tA=({children:r,className:i,activeTab:n,tabChanged:t})=>{const l=r.filter(s=>s);return r.some(s=>s.props&&s.props.name===n)||(n=(r[0]||{props:{name:n}}).props.name),X.jsxs(X.Fragment,{children:[X.jsx("div",{className:"tabs-container",children:X.jsx("div",{className:`tabs ${i||""}`,children:l.map(s=>{const{label:c,name:d,notifier:h,readOnly:m}=s.props;return X.jsx(eA,{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})]})},nA=({children:r})=>X.jsx("div",{className:"unit-header-container",children:X.jsx("div",{className:"unit-header",children:X.jsx("div",{className:"obj-name",children:r})})}),rA=({children:r,className:i=""})=>X.jsx("div",{className:`page ${i}`,children:r}),aA=({title:r,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},r?y.createElement("title",{id:i},r):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"}))),iA=y.forwardRef(aA),lA=({proceed:r})=>{const[i,n]=y.useState(!1),[t,l]=y.useState(!1),[s,c]=y.useState(""),{setFlash:d}=er(m=>m),h=m=>{c(m),vM(m).then(v=>{d(qe.t("verification.flash",{name:`${v.firstName} ${v.lastName}`})),er.setState(()=>({controlCode:v})),n(!1),c(""),l(!1),r()}).catch(()=>{n(!0),setTimeout(()=>n(!1),20),l(!0)})};return X.jsxs("div",{className:"verification",children:[X.jsx("h4",{children:qe.t("verification.header")}),X.jsxs("div",{className:"code-validation",children:[X.jsx(h9,{verify:m=>h(m),size:5,clear:i,intermediateCallback:()=>l(!1),validate:m=>!isNaN(m)}),X.jsx(Ws,{txt:qe.t("verification.proceed"),disabled:!0,onClick:()=>!0})]}),t&&X.jsx(uS,{message:qe.t("verification.error",{code:s})}),X.jsxs("div",{className:"disclaimer",children:[X.jsx(iA,{}),X.jsx("p",{children:qe.t("verification.info")})]})]})};function m8(r){var i,n,t="";if(typeof r=="string"||typeof r=="number")t+=r;else if(typeof r=="object")if(Array.isArray(r)){var l=r.length;for(i=0;i<l;i++)r[i]&&(n=m8(r[i]))&&(t&&(t+=" "),t+=n)}else for(n in r)r[n]&&(t&&(t+=" "),t+=n);return t}function Nn(){for(var r,i,n=0,t="",l=arguments.length;n<l;n++)(r=arguments[n])&&(i=m8(r))&&(t&&(t+=" "),t+=i);return t}const v8=6048e5,oA=864e5,vf=6e4,gf=36e5,sA=1e3,hb=Symbol.for("constructDateFrom");function Et(r,i){return typeof r=="function"?r(i):r&&typeof r=="object"&&hb in r?r[hb](i):r instanceof Date?new r.constructor(i):new Date(i)}function Te(r,i){return Et(i||r,r)}function Ir(r,i,n){const t=Te(r,n==null?void 0:n.in);return isNaN(i)?Et((n==null?void 0:n.in)||r,NaN):(i&&t.setDate(t.getDate()+i),t)}function Wr(r,i,n){const t=Te(r,n==null?void 0:n.in);if(isNaN(i))return Et(r,NaN);if(!i)return t;const l=t.getDate(),s=Et(r,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 g8(r,i,n){return Et(r,+Te(r)+i)}function uA(r,i,n){return g8(r,i*gf)}let cA={};function Ol(){return cA}function Ka(r,i){var d,h,m,v;const n=Ol(),t=(i==null?void 0:i.weekStartsOn)??((h=(d=i==null?void 0:i.locale)==null?void 0:d.options)==null?void 0:h.weekStartsOn)??n.weekStartsOn??((v=(m=n.locale)==null?void 0:m.options)==null?void 0:v.weekStartsOn)??0,l=Te(r,i==null?void 0:i.in),s=l.getDay(),c=(s<t?7:0)+s-t;return l.setDate(l.getDate()-c),l.setHours(0,0,0,0),l}function bo(r,i){return Ka(r,{...i,weekStartsOn:1})}function y8(r,i){const n=Te(r,i==null?void 0:i.in),t=n.getFullYear(),l=Et(n,0);l.setFullYear(t+1,0,4),l.setHours(0,0,0,0);const s=bo(l),c=Et(n,0);c.setFullYear(t,0,4),c.setHours(0,0,0,0);const d=bo(c);return n.getTime()>=s.getTime()?t+1:n.getTime()>=d.getTime()?t:t-1}function Fc(r){const i=Te(r),n=new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()));return n.setUTCFullYear(i.getFullYear()),+r-+n}function $a(r,...i){const n=Et.bind(null,i.find(t=>typeof t=="object"));return i.map(n)}function El(r,i){const n=Te(r,i==null?void 0:i.in);return n.setHours(0,0,0,0),n}function _o(r,i,n){const[t,l]=$a(n==null?void 0:n.in,r,i),s=El(t),c=El(l),d=+s-Fc(s),h=+c-Fc(c);return Math.round((d-h)/oA)}function fA(r,i){const n=y8(r,i),t=Et(r,0);return t.setFullYear(n,0,4),t.setHours(0,0,0,0),bo(t)}function l2(r,i,n){const t=Te(r,n==null?void 0:n.in);return t.setTime(t.getTime()+i*vf),t}function W2(r,i,n){return Wr(r,i*3,n)}function dA(r,i,n){return g8(r,i*1e3)}function Gc(r,i,n){return Ir(r,i*7,n)}function Fa(r,i,n){return Wr(r,i*12,n)}function pb(r,i){let n,t=i==null?void 0:i.in;return r.forEach(l=>{!t&&typeof l=="object"&&(t=Et.bind(null,l));const s=Te(l,t);(!n||n<s||isNaN(+s))&&(n=s)}),Et(t,n||NaN)}function mb(r,i){let n,t=i==null?void 0:i.in;return r.forEach(l=>{!t&&typeof l=="object"&&(t=Et.bind(null,l));const s=Te(l,t);(!n||n>s||isNaN(+s))&&(n=s)}),Et(t,n||NaN)}function hA(r,i,n){const[t,l]=$a(n==null?void 0:n.in,r,i);return+El(t)==+El(l)}function Ga(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}function Vc(r){return!(!Ga(r)&&typeof r!="number"||isNaN(+Te(r)))}function Wc(r,i,n){const[t,l]=$a(n==null?void 0:n.in,r,i),s=t.getFullYear()-l.getFullYear(),c=t.getMonth()-l.getMonth();return s*12+c}function gl(r,i){const n=Te(r,i==null?void 0:i.in);return Math.trunc(n.getMonth()/3)+1}function Zc(r,i,n){const[t,l]=$a(n==null?void 0:n.in,r,i),s=t.getFullYear()-l.getFullYear(),c=gl(t)-gl(l);return s*4+c}function Qc(r,i,n){const[t,l]=$a(n==null?void 0:n.in,r,i);return t.getFullYear()-l.getFullYear()}function pA(r,i,n){const[t,l]=$a(n==null?void 0:n.in,r,i),s=vb(t,l),c=Math.abs(_o(t,l));t.setDate(t.getDate()-s*c);const d=+(vb(t,l)===-s),h=s*(c-d);return h===0?0:h}function vb(r,i){const n=r.getFullYear()-i.getFullYear()||r.getMonth()-i.getMonth()||r.getDate()-i.getDate()||r.getHours()-i.getHours()||r.getMinutes()-i.getMinutes()||r.getSeconds()-i.getSeconds()||r.getMilliseconds()-i.getMilliseconds();return n<0?-1:n>0?1:n}function b8(r,i){const n=Te(r,i==null?void 0:i.in);return n.setHours(23,59,59,999),n}function _8(r,i){const n=Te(r,i==null?void 0:i.in),t=n.getMonth();return n.setFullYear(n.getFullYear(),t+1,0),n.setHours(23,59,59,999),n}function o2(r,i){const n=Te(r,i==null?void 0:i.in),t=n.getMonth(),l=t-t%3;return n.setMonth(l,1),n.setHours(0,0,0,0),n}function w8(r,i){const n=Te(r,i==null?void 0:i.in);return n.setDate(1),n.setHours(0,0,0,0),n}function E8(r,i){const n=Te(r,i==null?void 0:i.in),t=n.getFullYear();return n.setFullYear(t+1,0,0),n.setHours(23,59,59,999),n}function yf(r,i){const n=Te(r,i==null?void 0:i.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function mA(r,i){var d,h;const n=Ol(),t=n.weekStartsOn??((h=(d=n.locale)==null?void 0:d.options)==null?void 0:h.weekStartsOn)??0,l=Te(r,i==null?void 0:i.in),s=l.getDay(),c=(s<t?-7:0)+6-(s-t);return l.setDate(l.getDate()+c),l.setHours(23,59,59,999),l}const vA={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"}},gA=(r,i,n)=>{let t;const l=vA[r];return typeof l=="string"?t=l:i===1?t=l.one:t=l.other.replace("{{count}}",i.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+t:t+" ago":t};function Sm(r){return(i={})=>{const n=i.width?String(i.width):r.defaultWidth;return r.formats[n]||r.formats[r.defaultWidth]}}const yA={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},bA={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},_A={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},wA={date:Sm({formats:yA,defaultWidth:"full"}),time:Sm({formats:bA,defaultWidth:"full"}),dateTime:Sm({formats:_A,defaultWidth:"full"})},EA={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},SA=(r,i,n,t)=>EA[r];function Us(r){return(i,n)=>{const t=n!=null&&n.context?String(n.context):"standalone";let l;if(t==="formatting"&&r.formattingValues){const c=r.defaultFormattingWidth||r.defaultWidth,d=n!=null&&n.width?String(n.width):c;l=r.formattingValues[d]||r.formattingValues[c]}else{const c=r.defaultWidth,d=n!=null&&n.width?String(n.width):r.defaultWidth;l=r.values[d]||r.values[c]}const s=r.argumentCallback?r.argumentCallback(i):i;return l[s]}}const DA={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},TA={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},xA={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"]},OA={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"]},MA={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},AA={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},CA=(r,i)=>{const n=Number(r),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"},RA={ordinalNumber:CA,era:Us({values:DA,defaultWidth:"wide"}),quarter:Us({values:TA,defaultWidth:"wide",argumentCallback:r=>r-1}),month:Us({values:xA,defaultWidth:"wide"}),day:Us({values:OA,defaultWidth:"wide"}),dayPeriod:Us({values:MA,defaultWidth:"wide",formattingValues:AA,defaultFormattingWidth:"wide"})};function Ps(r){return(i,n={})=>{const t=n.width,l=t&&r.matchPatterns[t]||r.matchPatterns[r.defaultMatchWidth],s=i.match(l);if(!s)return null;const c=s[0],d=t&&r.parsePatterns[t]||r.parsePatterns[r.defaultParseWidth],h=Array.isArray(d)?kA(d,g=>g.test(c)):NA(d,g=>g.test(c));let m;m=r.valueCallback?r.valueCallback(h):h,m=n.valueCallback?n.valueCallback(m):m;const v=i.slice(c.length);return{value:m,rest:v}}}function NA(r,i){for(const n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&i(r[n]))return n}function kA(r,i){for(let n=0;n<r.length;n++)if(i(r[n]))return n}function LA(r){return(i,n={})=>{const t=i.match(r.matchPattern);if(!t)return null;const l=t[0],s=i.match(r.parsePattern);if(!s)return null;let c=r.valueCallback?r.valueCallback(s[0]):s[0];c=n.valueCallback?n.valueCallback(c):c;const d=i.slice(l.length);return{value:c,rest:d}}}const qA=/^(\d+)(th|st|nd|rd)?/i,HA=/\d+/i,UA={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},PA={any:[/^b/i,/^(a|c)/i]},zA={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},YA={any:[/1/i,/2/i,/3/i,/4/i]},BA={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},jA={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]},IA={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},FA={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]},GA={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},VA={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}},WA={ordinalNumber:LA({matchPattern:qA,parsePattern:HA,valueCallback:r=>parseInt(r,10)}),era:Ps({matchPatterns:UA,defaultMatchWidth:"wide",parsePatterns:PA,defaultParseWidth:"any"}),quarter:Ps({matchPatterns:zA,defaultMatchWidth:"wide",parsePatterns:YA,defaultParseWidth:"any",valueCallback:r=>r+1}),month:Ps({matchPatterns:BA,defaultMatchWidth:"wide",parsePatterns:jA,defaultParseWidth:"any"}),day:Ps({matchPatterns:IA,defaultMatchWidth:"wide",parsePatterns:FA,defaultParseWidth:"any"}),dayPeriod:Ps({matchPatterns:GA,defaultMatchWidth:"any",parsePatterns:VA,defaultParseWidth:"any"})},S8={code:"en-US",formatDistance:gA,formatLong:wA,formatRelative:SA,localize:RA,match:WA,options:{weekStartsOn:0,firstWeekContainsDate:1}};function ZA(r,i){const n=Te(r,i==null?void 0:i.in);return _o(n,yf(n))+1}function Z2(r,i){const n=Te(r,i==null?void 0:i.in),t=+bo(n)-+fA(n);return Math.round(t/v8)+1}function Q2(r,i){var v,g,_,S;const n=Te(r,i==null?void 0:i.in),t=n.getFullYear(),l=Ol(),s=(i==null?void 0:i.firstWeekContainsDate)??((g=(v=i==null?void 0:i.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??l.firstWeekContainsDate??((S=(_=l.locale)==null?void 0:_.options)==null?void 0:S.firstWeekContainsDate)??1,c=Et((i==null?void 0:i.in)||r,0);c.setFullYear(t+1,0,s),c.setHours(0,0,0,0);const d=Ka(c,i),h=Et((i==null?void 0:i.in)||r,0);h.setFullYear(t,0,s),h.setHours(0,0,0,0);const m=Ka(h,i);return+n>=+d?t+1:+n>=+m?t:t-1}function QA(r,i){var d,h,m,v;const n=Ol(),t=(i==null?void 0:i.firstWeekContainsDate)??((h=(d=i==null?void 0:i.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??n.firstWeekContainsDate??((v=(m=n.locale)==null?void 0:m.options)==null?void 0:v.firstWeekContainsDate)??1,l=Q2(r,i),s=Et((i==null?void 0:i.in)||r,0);return s.setFullYear(l,0,t),s.setHours(0,0,0,0),Ka(s,i)}function D8(r,i){const n=Te(r,i==null?void 0:i.in),t=+Ka(n,i)-+QA(n,i);return Math.round(t/v8)+1}function wt(r,i){const n=r<0?"-":"",t=Math.abs(r).toString().padStart(i,"0");return n+t}const Ti={y(r,i){const n=r.getFullYear(),t=n>0?n:1-n;return wt(i==="yy"?t%100:t,i.length)},M(r,i){const n=r.getMonth();return i==="M"?String(n+1):wt(n+1,2)},d(r,i){return wt(r.getDate(),i.length)},a(r,i){const n=r.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(r,i){return wt(r.getHours()%12||12,i.length)},H(r,i){return wt(r.getHours(),i.length)},m(r,i){return wt(r.getMinutes(),i.length)},s(r,i){return wt(r.getSeconds(),i.length)},S(r,i){const n=i.length,t=r.getMilliseconds(),l=Math.trunc(t*Math.pow(10,n-3));return wt(l,i.length)}},oo={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},gb={G:function(r,i,n){const t=r.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(r,i,n){if(i==="yo"){const t=r.getFullYear(),l=t>0?t:1-t;return n.ordinalNumber(l,{unit:"year"})}return Ti.y(r,i)},Y:function(r,i,n,t){const l=Q2(r,t),s=l>0?l:1-l;if(i==="YY"){const c=s%100;return wt(c,2)}return i==="Yo"?n.ordinalNumber(s,{unit:"year"}):wt(s,i.length)},R:function(r,i){const n=y8(r);return wt(n,i.length)},u:function(r,i){const n=r.getFullYear();return wt(n,i.length)},Q:function(r,i,n){const t=Math.ceil((r.getMonth()+1)/3);switch(i){case"Q":return String(t);case"QQ":return wt(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(r,i,n){const t=Math.ceil((r.getMonth()+1)/3);switch(i){case"q":return String(t);case"qq":return wt(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(r,i,n){const t=r.getMonth();switch(i){case"M":case"MM":return Ti.M(r,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(r,i,n){const t=r.getMonth();switch(i){case"L":return String(t+1);case"LL":return wt(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(r,i,n,t){const l=D8(r,t);return i==="wo"?n.ordinalNumber(l,{unit:"week"}):wt(l,i.length)},I:function(r,i,n){const t=Z2(r);return i==="Io"?n.ordinalNumber(t,{unit:"week"}):wt(t,i.length)},d:function(r,i,n){return i==="do"?n.ordinalNumber(r.getDate(),{unit:"date"}):Ti.d(r,i)},D:function(r,i,n){const t=ZA(r);return i==="Do"?n.ordinalNumber(t,{unit:"dayOfYear"}):wt(t,i.length)},E:function(r,i,n){const t=r.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(r,i,n,t){const l=r.getDay(),s=(l-t.weekStartsOn+8)%7||7;switch(i){case"e":return String(s);case"ee":return wt(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(r,i,n,t){const l=r.getDay(),s=(l-t.weekStartsOn+8)%7||7;switch(i){case"c":return String(s);case"cc":return wt(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(r,i,n){const t=r.getDay(),l=t===0?7:t;switch(i){case"i":return String(l);case"ii":return wt(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(r,i,n){const l=r.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(r,i,n){const t=r.getHours();let l;switch(t===12?l=oo.noon:t===0?l=oo.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(r,i,n){const t=r.getHours();let l;switch(t>=17?l=oo.evening:t>=12?l=oo.afternoon:t>=4?l=oo.morning:l=oo.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(r,i,n){if(i==="ho"){let t=r.getHours()%12;return t===0&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return Ti.h(r,i)},H:function(r,i,n){return i==="Ho"?n.ordinalNumber(r.getHours(),{unit:"hour"}):Ti.H(r,i)},K:function(r,i,n){const t=r.getHours()%12;return i==="Ko"?n.ordinalNumber(t,{unit:"hour"}):wt(t,i.length)},k:function(r,i,n){let t=r.getHours();return t===0&&(t=24),i==="ko"?n.ordinalNumber(t,{unit:"hour"}):wt(t,i.length)},m:function(r,i,n){return i==="mo"?n.ordinalNumber(r.getMinutes(),{unit:"minute"}):Ti.m(r,i)},s:function(r,i,n){return i==="so"?n.ordinalNumber(r.getSeconds(),{unit:"second"}):Ti.s(r,i)},S:function(r,i){return Ti.S(r,i)},X:function(r,i,n){const t=r.getTimezoneOffset();if(t===0)return"Z";switch(i){case"X":return bb(t);case"XXXX":case"XX":return hl(t);case"XXXXX":case"XXX":default:return hl(t,":")}},x:function(r,i,n){const t=r.getTimezoneOffset();switch(i){case"x":return bb(t);case"xxxx":case"xx":return hl(t);case"xxxxx":case"xxx":default:return hl(t,":")}},O:function(r,i,n){const t=r.getTimezoneOffset();switch(i){case"O":case"OO":case"OOO":return"GMT"+yb(t,":");case"OOOO":default:return"GMT"+hl(t,":")}},z:function(r,i,n){const t=r.getTimezoneOffset();switch(i){case"z":case"zz":case"zzz":return"GMT"+yb(t,":");case"zzzz":default:return"GMT"+hl(t,":")}},t:function(r,i,n){const t=Math.trunc(+r/1e3);return wt(t,i.length)},T:function(r,i,n){return wt(+r,i.length)}};function yb(r,i=""){const n=r>0?"-":"+",t=Math.abs(r),l=Math.trunc(t/60),s=t%60;return s===0?n+String(l):n+String(l)+i+wt(s,2)}function bb(r,i){return r%60===0?(r>0?"-":"+")+wt(Math.abs(r)/60,2):hl(r,i)}function hl(r,i=""){const n=r>0?"-":"+",t=Math.abs(r),l=wt(Math.trunc(t/60),2),s=wt(t%60,2);return n+l+i+s}const _b=(r,i)=>{switch(r){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"})}},T8=(r,i)=>{switch(r){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"})}},KA=(r,i)=>{const n=r.match(/(P+)(p+)?/)||[],t=n[1],l=n[2];if(!l)return _b(r,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}}",_b(t,i)).replace("{{time}}",T8(l,i))},s2={p:T8,P:KA},XA=/^D+$/,$A=/^Y+$/,JA=["D","DD","YY","YYYY"];function eC(r){return XA.test(r)}function tC(r){return $A.test(r)}function nC(r,i,n){const t=rC(r,i,n);if(console.warn(t),JA.includes(r))throw new RangeError(t)}function rC(r,i,n){const t=r[0]==="Y"?"years":"days of the month";return`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${i}\`) for formatting ${t} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const aC=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,iC=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,lC=/^'([^]*?)'?$/,oC=/''/g,sC=/[a-zA-Z]/;function wb(r,i,n){var v,g,_,S,T,A,C,N;const t=Ol(),l=(n==null?void 0:n.locale)??t.locale??S8,s=(n==null?void 0:n.firstWeekContainsDate)??((g=(v=n==null?void 0:n.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??t.firstWeekContainsDate??((S=(_=t.locale)==null?void 0:_.options)==null?void 0:S.firstWeekContainsDate)??1,c=(n==null?void 0:n.weekStartsOn)??((A=(T=n==null?void 0:n.locale)==null?void 0:T.options)==null?void 0:A.weekStartsOn)??t.weekStartsOn??((N=(C=t.locale)==null?void 0:C.options)==null?void 0:N.weekStartsOn)??0,d=Te(r,n==null?void 0:n.in);if(!Vc(d))throw new RangeError("Invalid time value");let h=i.match(iC).map(O=>{const B=O[0];if(B==="p"||B==="P"){const Q=s2[B];return Q(O,l.formatLong)}return O}).join("").match(aC).map(O=>{if(O==="''")return{isToken:!1,value:"'"};const B=O[0];if(B==="'")return{isToken:!1,value:uC(O)};if(gb[B])return{isToken:!0,value:O};if(B.match(sC))throw new RangeError("Format string contains an unescaped latin alphabet character `"+B+"`");return{isToken:!1,value:O}});l.localize.preprocessor&&(h=l.localize.preprocessor(d,h));const m={firstWeekContainsDate:s,weekStartsOn:c,locale:l};return h.map(O=>{if(!O.isToken)return O.value;const B=O.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&tC(B)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&eC(B))&&nC(B,i,String(r));const Q=gb[B[0]];return Q(d,B,l.localize,m)}).join("")}function uC(r){const i=r.match(lC);return i?i[1].replace(oC,"'"):r}function Eb(r,i){return Te(r,i==null?void 0:i.in).getDate()}function cC(r,i){return Te(r,i==null?void 0:i.in).getDay()}function fC(r,i){const n=Te(r,i==null?void 0:i.in),t=n.getFullYear(),l=n.getMonth(),s=Et(n,0);return s.setFullYear(t,l+1,0),s.setHours(0,0,0,0),s.getDate()}function dC(){return Object.assign({},Ol())}function Va(r,i){return Te(r,i==null?void 0:i.in).getHours()}function hC(r,i){const n=Te(r,i==null?void 0:i.in).getDay();return n===0?7:n}function Wa(r,i){return Te(r,i==null?void 0:i.in).getMinutes()}function Vn(r,i){return Te(r,i==null?void 0:i.in).getMonth()}function Ni(r){return Te(r).getSeconds()}function u2(r){return+Te(r)}function Qe(r,i){return Te(r,i==null?void 0:i.in).getFullYear()}function qi(r,i){return+Te(r)>+Te(i)}function Sl(r,i){return+Te(r)<+Te(i)}function pC(r,i){return+Te(r)==+Te(i)}function mC(r,i){const n=vC(i)?new i(0):Et(i,0);return n.setFullYear(r.getFullYear(),r.getMonth(),r.getDate()),n.setHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),n}function vC(r){var i;return typeof r=="function"&&((i=r.prototype)==null?void 0:i.constructor)===r}const gC=10;class x8{constructor(){we(this,"subPriority",0)}validate(i,n){return!0}}class yC extends x8{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 bC extends x8{constructor(n,t){super();we(this,"priority",gC);we(this,"subPriority",-1);this.context=n||(l=>Et(t,l))}set(n,t){return t.timestampIsSet?n:Et(n,mC(n,this.context))}}class mt{run(i,n,t,l){const s=this.parse(i,n,t,l);return s?{setter:new yC(s.value,this.validate,this.set,this.priority,this.subPriority),rest:s.rest}:null}validate(i,n,t){return!0}}class _C extends mt{constructor(){super(...arguments);we(this,"priority",140);we(this,"incompatibleTokens",["R","u","t","T"])}parse(n,t,l){switch(t){case"G":case"GG":case"GGG":return l.era(n,{width:"abbreviated"})||l.era(n,{width:"narrow"});case"GGGGG":return l.era(n,{width:"narrow"});case"GGGG":default:return l.era(n,{width:"wide"})||l.era(n,{width:"abbreviated"})||l.era(n,{width:"narrow"})}}set(n,t,l){return t.era=l,n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}}const Jt={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}/},ca={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 en(r,i){return r&&{value:i(r.value),rest:r.rest}}function Bt(r,i){const n=i.match(r);return n?{value:parseInt(n[0],10),rest:i.slice(n[0].length)}:null}function fa(r,i){const n=i.match(r);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*gf+s*vf+c*sA),rest:i.slice(n[0].length)}}function O8(r){return Bt(Jt.anyDigitsSigned,r)}function Wt(r,i){switch(r){case 1:return Bt(Jt.singleDigit,i);case 2:return Bt(Jt.twoDigits,i);case 3:return Bt(Jt.threeDigits,i);case 4:return Bt(Jt.fourDigits,i);default:return Bt(new RegExp("^\\d{1,"+r+"}"),i)}}function Kc(r,i){switch(r){case 1:return Bt(Jt.singleDigitSigned,i);case 2:return Bt(Jt.twoDigitsSigned,i);case 3:return Bt(Jt.threeDigitsSigned,i);case 4:return Bt(Jt.fourDigitsSigned,i);default:return Bt(new RegExp("^-?\\d{1,"+r+"}"),i)}}function K2(r){switch(r){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 M8(r,i){const n=i>0,t=n?i:1-i;let l;if(t<=50)l=r||100;else{const s=t+50,c=Math.trunc(s/100)*100,d=r>=s%100;l=r+c-(d?100:0)}return n?l:1-l}function A8(r){return r%400===0||r%4===0&&r%100!==0}class wC extends mt{constructor(){super(...arguments);we(this,"priority",130);we(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(n,t,l){const s=c=>({year:c,isTwoDigitYear:t==="yy"});switch(t){case"y":return en(Wt(4,n),s);case"yo":return en(l.ordinalNumber(n,{unit:"year"}),s);default:return en(Wt(t.length,n),s)}}validate(n,t){return t.isTwoDigitYear||t.year>0}set(n,t,l){const s=n.getFullYear();if(l.isTwoDigitYear){const d=M8(l.year,s);return n.setFullYear(d,0,1),n.setHours(0,0,0,0),n}const c=!("era"in t)||t.era===1?l.year:1-l.year;return n.setFullYear(c,0,1),n.setHours(0,0,0,0),n}}class EC extends mt{constructor(){super(...arguments);we(this,"priority",130);we(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(n,t,l){const s=c=>({year:c,isTwoDigitYear:t==="YY"});switch(t){case"Y":return en(Wt(4,n),s);case"Yo":return en(l.ordinalNumber(n,{unit:"year"}),s);default:return en(Wt(t.length,n),s)}}validate(n,t){return t.isTwoDigitYear||t.year>0}set(n,t,l,s){const c=Q2(n,s);if(l.isTwoDigitYear){const h=M8(l.year,c);return n.setFullYear(h,0,s.firstWeekContainsDate),n.setHours(0,0,0,0),Ka(n,s)}const d=!("era"in t)||t.era===1?l.year:1-l.year;return n.setFullYear(d,0,s.firstWeekContainsDate),n.setHours(0,0,0,0),Ka(n,s)}}class SC extends mt{constructor(){super(...arguments);we(this,"priority",130);we(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(n,t){return Kc(t==="R"?4:t.length,n)}set(n,t,l){const s=Et(n,0);return s.setFullYear(l,0,4),s.setHours(0,0,0,0),bo(s)}}class DC extends mt{constructor(){super(...arguments);we(this,"priority",130);we(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(n,t){return Kc(t==="u"?4:t.length,n)}set(n,t,l){return n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}}class TC extends mt{constructor(){super(...arguments);we(this,"priority",120);we(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,t,l){switch(t){case"Q":case"QQ":return Wt(t.length,n);case"Qo":return l.ordinalNumber(n,{unit:"quarter"});case"QQQ":return l.quarter(n,{width:"abbreviated",context:"formatting"})||l.quarter(n,{width:"narrow",context:"formatting"});case"QQQQQ":return l.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return l.quarter(n,{width:"wide",context:"formatting"})||l.quarter(n,{width:"abbreviated",context:"formatting"})||l.quarter(n,{width:"narrow",context:"formatting"})}}validate(n,t){return t>=1&&t<=4}set(n,t,l){return n.setMonth((l-1)*3,1),n.setHours(0,0,0,0),n}}class xC extends mt{constructor(){super(...arguments);we(this,"priority",120);we(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,t,l){switch(t){case"q":case"qq":return Wt(t.length,n);case"qo":return l.ordinalNumber(n,{unit:"quarter"});case"qqq":return l.quarter(n,{width:"abbreviated",context:"standalone"})||l.quarter(n,{width:"narrow",context:"standalone"});case"qqqqq":return l.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return l.quarter(n,{width:"wide",context:"standalone"})||l.quarter(n,{width:"abbreviated",context:"standalone"})||l.quarter(n,{width:"narrow",context:"standalone"})}}validate(n,t){return t>=1&&t<=4}set(n,t,l){return n.setMonth((l-1)*3,1),n.setHours(0,0,0,0),n}}class OC extends mt{constructor(){super(...arguments);we(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);we(this,"priority",110)}parse(n,t,l){const s=c=>c-1;switch(t){case"M":return en(Bt(Jt.month,n),s);case"MM":return en(Wt(2,n),s);case"Mo":return en(l.ordinalNumber(n,{unit:"month"}),s);case"MMM":return l.month(n,{width:"abbreviated",context:"formatting"})||l.month(n,{width:"narrow",context:"formatting"});case"MMMMM":return l.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return l.month(n,{width:"wide",context:"formatting"})||l.month(n,{width:"abbreviated",context:"formatting"})||l.month(n,{width:"narrow",context:"formatting"})}}validate(n,t){return t>=0&&t<=11}set(n,t,l){return n.setMonth(l,1),n.setHours(0,0,0,0),n}}class MC extends mt{constructor(){super(...arguments);we(this,"priority",110);we(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(n,t,l){const s=c=>c-1;switch(t){case"L":return en(Bt(Jt.month,n),s);case"LL":return en(Wt(2,n),s);case"Lo":return en(l.ordinalNumber(n,{unit:"month"}),s);case"LLL":return l.month(n,{width:"abbreviated",context:"standalone"})||l.month(n,{width:"narrow",context:"standalone"});case"LLLLL":return l.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return l.month(n,{width:"wide",context:"standalone"})||l.month(n,{width:"abbreviated",context:"standalone"})||l.month(n,{width:"narrow",context:"standalone"})}}validate(n,t){return t>=0&&t<=11}set(n,t,l){return n.setMonth(l,1),n.setHours(0,0,0,0),n}}function AC(r,i,n){const t=Te(r,n==null?void 0:n.in),l=D8(t,n)-i;return t.setDate(t.getDate()-l*7),Te(t,n==null?void 0:n.in)}class CC extends mt{constructor(){super(...arguments);we(this,"priority",100);we(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(n,t,l){switch(t){case"w":return Bt(Jt.week,n);case"wo":return l.ordinalNumber(n,{unit:"week"});default:return Wt(t.length,n)}}validate(n,t){return t>=1&&t<=53}set(n,t,l,s){return Ka(AC(n,l,s),s)}}function RC(r,i,n){const t=Te(r,n==null?void 0:n.in),l=Z2(t,n)-i;return t.setDate(t.getDate()-l*7),t}class NC extends mt{constructor(){super(...arguments);we(this,"priority",100);we(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(n,t,l){switch(t){case"I":return Bt(Jt.week,n);case"Io":return l.ordinalNumber(n,{unit:"week"});default:return Wt(t.length,n)}}validate(n,t){return t>=1&&t<=53}set(n,t,l){return bo(RC(n,l))}}const kC=[31,28,31,30,31,30,31,31,30,31,30,31],LC=[31,29,31,30,31,30,31,31,30,31,30,31];class qC extends mt{constructor(){super(...arguments);we(this,"priority",90);we(this,"subPriority",1);we(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(n,t,l){switch(t){case"d":return Bt(Jt.date,n);case"do":return l.ordinalNumber(n,{unit:"date"});default:return Wt(t.length,n)}}validate(n,t){const l=n.getFullYear(),s=A8(l),c=n.getMonth();return s?t>=1&&t<=LC[c]:t>=1&&t<=kC[c]}set(n,t,l){return n.setDate(l),n.setHours(0,0,0,0),n}}class HC extends mt{constructor(){super(...arguments);we(this,"priority",90);we(this,"subpriority",1);we(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(n,t,l){switch(t){case"D":case"DD":return Bt(Jt.dayOfYear,n);case"Do":return l.ordinalNumber(n,{unit:"date"});default:return Wt(t.length,n)}}validate(n,t){const l=n.getFullYear();return A8(l)?t>=1&&t<=366:t>=1&&t<=365}set(n,t,l){return n.setMonth(0,l),n.setHours(0,0,0,0),n}}function X2(r,i,n){var g,_,S,T;const t=Ol(),l=(n==null?void 0:n.weekStartsOn)??((_=(g=n==null?void 0:n.locale)==null?void 0:g.options)==null?void 0:_.weekStartsOn)??t.weekStartsOn??((T=(S=t.locale)==null?void 0:S.options)==null?void 0:T.weekStartsOn)??0,s=Te(r,n==null?void 0:n.in),c=s.getDay(),h=(i%7+7)%7,m=7-l,v=i<0||i>6?i-(c+m)%7:(h+m)%7-(c+m)%7;return Ir(s,v,n)}class UC extends mt{constructor(){super(...arguments);we(this,"priority",90);we(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(n,t,l){switch(t){case"E":case"EE":case"EEE":return l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return l.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"EEEE":default:return l.day(n,{width:"wide",context:"formatting"})||l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"})}}validate(n,t){return t>=0&&t<=6}set(n,t,l,s){return n=X2(n,l,s),n.setHours(0,0,0,0),n}}class PC extends mt{constructor(){super(...arguments);we(this,"priority",90);we(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(n,t,l,s){const c=d=>{const h=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+h};switch(t){case"e":case"ee":return en(Wt(t.length,n),c);case"eo":return en(l.ordinalNumber(n,{unit:"day"}),c);case"eee":return l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"eeeee":return l.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"eeee":default:return l.day(n,{width:"wide",context:"formatting"})||l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"})}}validate(n,t){return t>=0&&t<=6}set(n,t,l,s){return n=X2(n,l,s),n.setHours(0,0,0,0),n}}class zC extends mt{constructor(){super(...arguments);we(this,"priority",90);we(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(n,t,l,s){const c=d=>{const h=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+h};switch(t){case"c":case"cc":return en(Wt(t.length,n),c);case"co":return en(l.ordinalNumber(n,{unit:"day"}),c);case"ccc":return l.day(n,{width:"abbreviated",context:"standalone"})||l.day(n,{width:"short",context:"standalone"})||l.day(n,{width:"narrow",context:"standalone"});case"ccccc":return l.day(n,{width:"narrow",context:"standalone"});case"cccccc":return l.day(n,{width:"short",context:"standalone"})||l.day(n,{width:"narrow",context:"standalone"});case"cccc":default:return l.day(n,{width:"wide",context:"standalone"})||l.day(n,{width:"abbreviated",context:"standalone"})||l.day(n,{width:"short",context:"standalone"})||l.day(n,{width:"narrow",context:"standalone"})}}validate(n,t){return t>=0&&t<=6}set(n,t,l,s){return n=X2(n,l,s),n.setHours(0,0,0,0),n}}function YC(r,i,n){const t=Te(r,n==null?void 0:n.in),l=hC(t,n),s=i-l;return Ir(t,s,n)}class BC extends mt{constructor(){super(...arguments);we(this,"priority",90);we(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(n,t,l){const s=c=>c===0?7:c;switch(t){case"i":case"ii":return Wt(t.length,n);case"io":return l.ordinalNumber(n,{unit:"day"});case"iii":return en(l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"}),s);case"iiiii":return en(l.day(n,{width:"narrow",context:"formatting"}),s);case"iiiiii":return en(l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"}),s);case"iiii":default:return en(l.day(n,{width:"wide",context:"formatting"})||l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"}),s)}}validate(n,t){return t>=1&&t<=7}set(n,t,l){return n=YC(n,l),n.setHours(0,0,0,0),n}}class jC extends mt{constructor(){super(...arguments);we(this,"priority",80);we(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(n,t,l){switch(t){case"a":case"aa":case"aaa":return l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return l.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return l.dayPeriod(n,{width:"wide",context:"formatting"})||l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,t,l){return n.setHours(K2(l),0,0,0),n}}class IC extends mt{constructor(){super(...arguments);we(this,"priority",80);we(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(n,t,l){switch(t){case"b":case"bb":case"bbb":return l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return l.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return l.dayPeriod(n,{width:"wide",context:"formatting"})||l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,t,l){return n.setHours(K2(l),0,0,0),n}}class FC extends mt{constructor(){super(...arguments);we(this,"priority",80);we(this,"incompatibleTokens",["a","b","t","T"])}parse(n,t,l){switch(t){case"B":case"BB":case"BBB":return l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return l.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return l.dayPeriod(n,{width:"wide",context:"formatting"})||l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,t,l){return n.setHours(K2(l),0,0,0),n}}class GC extends mt{constructor(){super(...arguments);we(this,"priority",70);we(this,"incompatibleTokens",["H","K","k","t","T"])}parse(n,t,l){switch(t){case"h":return Bt(Jt.hour12h,n);case"ho":return l.ordinalNumber(n,{unit:"hour"});default:return Wt(t.length,n)}}validate(n,t){return t>=1&&t<=12}set(n,t,l){const s=n.getHours()>=12;return s&&l<12?n.setHours(l+12,0,0,0):!s&&l===12?n.setHours(0,0,0,0):n.setHours(l,0,0,0),n}}class VC extends mt{constructor(){super(...arguments);we(this,"priority",70);we(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(n,t,l){switch(t){case"H":return Bt(Jt.hour23h,n);case"Ho":return l.ordinalNumber(n,{unit:"hour"});default:return Wt(t.length,n)}}validate(n,t){return t>=0&&t<=23}set(n,t,l){return n.setHours(l,0,0,0),n}}class WC extends mt{constructor(){super(...arguments);we(this,"priority",70);we(this,"incompatibleTokens",["h","H","k","t","T"])}parse(n,t,l){switch(t){case"K":return Bt(Jt.hour11h,n);case"Ko":return l.ordinalNumber(n,{unit:"hour"});default:return Wt(t.length,n)}}validate(n,t){return t>=0&&t<=11}set(n,t,l){return n.getHours()>=12&&l<12?n.setHours(l+12,0,0,0):n.setHours(l,0,0,0),n}}class ZC extends mt{constructor(){super(...arguments);we(this,"priority",70);we(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(n,t,l){switch(t){case"k":return Bt(Jt.hour24h,n);case"ko":return l.ordinalNumber(n,{unit:"hour"});default:return Wt(t.length,n)}}validate(n,t){return t>=1&&t<=24}set(n,t,l){const s=l<=24?l%24:l;return n.setHours(s,0,0,0),n}}class QC extends mt{constructor(){super(...arguments);we(this,"priority",60);we(this,"incompatibleTokens",["t","T"])}parse(n,t,l){switch(t){case"m":return Bt(Jt.minute,n);case"mo":return l.ordinalNumber(n,{unit:"minute"});default:return Wt(t.length,n)}}validate(n,t){return t>=0&&t<=59}set(n,t,l){return n.setMinutes(l,0,0),n}}class KC extends mt{constructor(){super(...arguments);we(this,"priority",50);we(this,"incompatibleTokens",["t","T"])}parse(n,t,l){switch(t){case"s":return Bt(Jt.second,n);case"so":return l.ordinalNumber(n,{unit:"second"});default:return Wt(t.length,n)}}validate(n,t){return t>=0&&t<=59}set(n,t,l){return n.setSeconds(l,0),n}}class XC extends mt{constructor(){super(...arguments);we(this,"priority",30);we(this,"incompatibleTokens",["t","T"])}parse(n,t){const l=s=>Math.trunc(s*Math.pow(10,-t.length+3));return en(Wt(t.length,n),l)}set(n,t,l){return n.setMilliseconds(l),n}}class $C extends mt{constructor(){super(...arguments);we(this,"priority",10);we(this,"incompatibleTokens",["t","T","x"])}parse(n,t){switch(t){case"X":return fa(ca.basicOptionalMinutes,n);case"XX":return fa(ca.basic,n);case"XXXX":return fa(ca.basicOptionalSeconds,n);case"XXXXX":return fa(ca.extendedOptionalSeconds,n);case"XXX":default:return fa(ca.extended,n)}}set(n,t,l){return t.timestampIsSet?n:Et(n,n.getTime()-Fc(n)-l)}}class JC extends mt{constructor(){super(...arguments);we(this,"priority",10);we(this,"incompatibleTokens",["t","T","X"])}parse(n,t){switch(t){case"x":return fa(ca.basicOptionalMinutes,n);case"xx":return fa(ca.basic,n);case"xxxx":return fa(ca.basicOptionalSeconds,n);case"xxxxx":return fa(ca.extendedOptionalSeconds,n);case"xxx":default:return fa(ca.extended,n)}}set(n,t,l){return t.timestampIsSet?n:Et(n,n.getTime()-Fc(n)-l)}}class eR extends mt{constructor(){super(...arguments);we(this,"priority",40);we(this,"incompatibleTokens","*")}parse(n){return O8(n)}set(n,t,l){return[Et(n,l*1e3),{timestampIsSet:!0}]}}class tR extends mt{constructor(){super(...arguments);we(this,"priority",20);we(this,"incompatibleTokens","*")}parse(n){return O8(n)}set(n,t,l){return[Et(n,l),{timestampIsSet:!0}]}}const nR={G:new _C,y:new wC,Y:new EC,R:new SC,u:new DC,Q:new TC,q:new xC,M:new OC,L:new MC,w:new CC,I:new NC,d:new qC,D:new HC,E:new UC,e:new PC,c:new zC,i:new BC,a:new jC,b:new IC,B:new FC,h:new GC,H:new VC,K:new WC,k:new ZC,m:new QC,s:new KC,S:new XC,X:new $C,x:new JC,t:new eR,T:new tR},rR=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,aR=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,iR=/^'([^]*?)'?$/,lR=/''/g,oR=/\S/,sR=/[a-zA-Z]/;function uR(r,i,n,t){var C,N,O,B,Q,$,ne,Z;const l=()=>Et((t==null?void 0:t.in)||n,NaN),s=dC(),c=(t==null?void 0:t.locale)??s.locale??S8,d=(t==null?void 0:t.firstWeekContainsDate)??((N=(C=t==null?void 0:t.locale)==null?void 0:C.options)==null?void 0:N.firstWeekContainsDate)??s.firstWeekContainsDate??((B=(O=s.locale)==null?void 0:O.options)==null?void 0:B.firstWeekContainsDate)??1,h=(t==null?void 0:t.weekStartsOn)??(($=(Q=t==null?void 0:t.locale)==null?void 0:Q.options)==null?void 0:$.weekStartsOn)??s.weekStartsOn??((Z=(ne=s.locale)==null?void 0:ne.options)==null?void 0:Z.weekStartsOn)??0;if(!i)return r?l():Te(n,t==null?void 0:t.in);const m={firstWeekContainsDate:d,weekStartsOn:h,locale:c},v=[new bC(t==null?void 0:t.in,n)],g=i.match(aR).map(w=>{const E=w[0];if(E in s2){const D=s2[E];return D(w,c.formatLong)}return w}).join("").match(rR),_=[];for(let w of g){const E=w[0],D=nR[E];if(D){const{incompatibleTokens:k}=D;if(Array.isArray(k)){const z=_.find(j=>k.includes(j.token)||j.token===E);if(z)throw new RangeError(`The format string mustn't contain \`${z.fullToken}\` and \`${w}\` at the same time`)}else if(D.incompatibleTokens==="*"&&_.length>0)throw new RangeError(`The format string mustn't contain \`${w}\` and any other token at the same time`);_.push({token:E,fullToken:w});const q=D.run(r,w,c.match,m);if(!q)return l();v.push(q.setter),r=q.rest}else{if(E.match(sR))throw new RangeError("Format string contains an unescaped latin alphabet character `"+E+"`");if(w==="''"?w="'":E==="'"&&(w=cR(w)),r.indexOf(w)===0)r=r.slice(w.length);else return l()}}if(r.length>0&&oR.test(r))return l();const S=v.map(w=>w.priority).sort((w,E)=>E-w).filter((w,E,D)=>D.indexOf(w)===E).map(w=>v.filter(E=>E.priority===w).sort((E,D)=>D.subPriority-E.subPriority)).map(w=>w[0]);let T=Te(n,t==null?void 0:t.in);if(isNaN(+T))return l();const A={};for(const w of S){if(!w.validate(T,m))return l();const E=w.set(T,A,m);Array.isArray(E)?(T=E[0],Object.assign(A,E[1])):T=E}return T}function cR(r){return r.match(iR)[1].replace(lR,"'")}function fR(r,i,n){const[t,l]=$a(n==null?void 0:n.in,r,i);return t.getFullYear()===l.getFullYear()&&t.getMonth()===l.getMonth()}function dR(r,i,n){const[t,l]=$a(n==null?void 0:n.in,r,i);return+o2(t)==+o2(l)}function hR(r,i,n){const[t,l]=$a(n==null?void 0:n.in,r,i);return t.getFullYear()===l.getFullYear()}function Qs(r,i,n){const t=+Te(r,n==null?void 0:n.in),[l,s]=[+Te(i.start,n==null?void 0:n.in),+Te(i.end,n==null?void 0:n.in)].sort((c,d)=>c-d);return t>=l&&t<=s}function pR(r,i,n){return Ir(r,-1,n)}function mR(r,i){const n=()=>Et(i==null?void 0:i.in,NaN),l=bR(r);let s;if(l.date){const m=_R(l.date,2);s=wR(m.restDateString,m.year)}if(!s||isNaN(+s))return n();const c=+s;let d=0,h;if(l.time&&(d=ER(l.time),isNaN(d)))return n();if(l.timezone){if(h=SR(l.timezone),isNaN(h))return n()}else{const m=new Date(c+d),v=Te(0,i==null?void 0:i.in);return v.setFullYear(m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate()),v.setHours(m.getUTCHours(),m.getUTCMinutes(),m.getUTCSeconds(),m.getUTCMilliseconds()),v}return Te(c+d+h,i==null?void 0:i.in)}const Ec={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},vR=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,gR=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,yR=/^([+-])(\d{2})(?::?(\d{2}))?$/;function bR(r){const i={},n=r.split(Ec.dateTimeDelimiter);let t;if(n.length>2)return i;if(/:/.test(n[0])?t=n[0]:(i.date=n[0],t=n[1],Ec.timeZoneDelimiter.test(i.date)&&(i.date=r.split(Ec.timeZoneDelimiter)[0],t=r.substr(i.date.length,r.length))),t){const l=Ec.timezone.exec(t);l?(i.time=t.replace(l[1],""),i.timezone=l[1]):i.time=t}return i}function _R(r,i){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+i)+"})|(\\d{2}|[+-]\\d{"+(2+i)+"})$)"),t=r.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:r.slice((t[1]||t[2]).length)}}function wR(r,i){if(i===null)return new Date(NaN);const n=r.match(vR);if(!n)return new Date(NaN);const t=!!n[4],l=zs(n[1]),s=zs(n[2])-1,c=zs(n[3]),d=zs(n[4]),h=zs(n[5])-1;if(t)return MR(i,d,h)?DR(i,d,h):new Date(NaN);{const m=new Date(0);return!xR(i,s,c)||!OR(i,l)?new Date(NaN):(m.setUTCFullYear(i,s,Math.max(l,c)),m)}}function zs(r){return r?parseInt(r):1}function ER(r){const i=r.match(gR);if(!i)return NaN;const n=Dm(i[1]),t=Dm(i[2]),l=Dm(i[3]);return AR(n,t,l)?n*gf+t*vf+l*1e3:NaN}function Dm(r){return r&&parseFloat(r.replace(",","."))||0}function SR(r){if(r==="Z")return 0;const i=r.match(yR);if(!i)return 0;const n=i[1]==="+"?-1:1,t=parseInt(i[2]),l=i[3]&&parseInt(i[3])||0;return CR(t,l)?n*(t*gf+l*vf):NaN}function DR(r,i,n){const t=new Date(0);t.setUTCFullYear(r,0,4);const l=t.getUTCDay()||7,s=(i-1)*7+n+1-l;return t.setUTCDate(t.getUTCDate()+s),t}const TR=[31,null,31,30,31,30,31,31,30,31,30,31];function C8(r){return r%400===0||r%4===0&&r%100!==0}function xR(r,i,n){return i>=0&&i<=11&&n>=1&&n<=(TR[i]||(C8(r)?29:28))}function OR(r,i){return i>=1&&i<=(C8(r)?366:365)}function MR(r,i,n){return i>=1&&i<=53&&n>=0&&n<=6}function AR(r,i,n){return r===24?i===0&&n===0:n>=0&&n<60&&i>=0&&i<60&&r>=0&&r<25}function CR(r,i){return i>=0&&i<=59}function Ar(r,i,n){const t=Te(r,n==null?void 0:n.in),l=t.getFullYear(),s=t.getDate(),c=Et(r,0);c.setFullYear(l,i,15),c.setHours(0,0,0,0);const d=fC(c);return t.setMonth(i,Math.min(s,d)),t}function kc(r,i,n){const t=Te(r,n==null?void 0:n.in);return t.setHours(i),t}function Lc(r,i,n){const t=Te(r,n==null?void 0:n.in);return t.setMinutes(i),t}function so(r,i,n){const t=Te(r,n==null?void 0:n.in),l=Math.trunc(t.getMonth()/3)+1,s=i-l;return Ar(t,t.getMonth()+s*3)}function qc(r,i,n){const t=Te(r,n==null?void 0:n.in);return t.setSeconds(i),t}function sa(r,i,n){const t=Te(r,n==null?void 0:n.in);return isNaN(+t)?Et(r,NaN):(t.setFullYear(i),t)}function yl(r,i,n){return Wr(r,-i,n)}function R8(r,i,n){return W2(r,-1,n)}function Sb(r,i,n){return Gc(r,-1,n)}function wo(r,i,n){return Fa(r,-i,n)}function RR(){return typeof window<"u"}function N8(r){var i;return(r==null||(i=r.ownerDocument)==null?void 0:i.defaultView)||window}function Sc(r){return RR()?r instanceof Element||r instanceof N8(r).Element:!1}function NR(r){return N8(r).getComputedStyle(r)}const c2=Math.min,co=Math.max,Xc=Math.round,Dc=Math.floor,pa=r=>({x:r,y:r});function bf(){return typeof window<"u"}function ko(r){return k8(r)?(r.nodeName||"").toLowerCase():"#document"}function dr(r){var i;return(r==null||(i=r.ownerDocument)==null?void 0:i.defaultView)||window}function ba(r){var i;return(i=(k8(r)?r.ownerDocument:r.document)||window.document)==null?void 0:i.documentElement}function k8(r){return bf()?r instanceof Node||r instanceof dr(r).Node:!1}function Zr(r){return bf()?r instanceof Element||r instanceof dr(r).Element:!1}function va(r){return bf()?r instanceof HTMLElement||r instanceof dr(r).HTMLElement:!1}function Db(r){return!bf()||typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof dr(r).ShadowRoot}function lu(r){const{overflow:i,overflowX:n,overflowY:t,display:l}=Qr(r);return/auto|scroll|overlay|hidden|clip/.test(i+t+n)&&!["inline","contents"].includes(l)}function kR(r){return["table","td","th"].includes(ko(r))}function _f(r){return[":popover-open",":modal"].some(i=>{try{return r.matches(i)}catch{return!1}})}function $2(r){const i=J2(),n=Zr(r)?Qr(r):r;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 LR(r){let i=Hi(r);for(;va(i)&&!Eo(i);){if($2(i))return i;if(_f(i))return null;i=Hi(i)}return null}function J2(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Eo(r){return["html","body","#document"].includes(ko(r))}function Qr(r){return dr(r).getComputedStyle(r)}function wf(r){return Zr(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.scrollX,scrollTop:r.scrollY}}function Hi(r){if(ko(r)==="html")return r;const i=r.assignedSlot||r.parentNode||Db(r)&&r.host||ba(r);return Db(i)?i.host:i}function L8(r){const i=Hi(r);return Eo(i)?r.ownerDocument?r.ownerDocument.body:r.body:va(i)&&lu(i)?i:L8(i)}function Ks(r,i,n){var t;i===void 0&&(i=[]),n===void 0&&(n=!0);const l=L8(r),s=l===((t=r.ownerDocument)==null?void 0:t.body),c=dr(l);if(s){const d=f2(c);return i.concat(c,c.visualViewport||[],lu(l)?l:[],d&&n?Ks(d):[])}return i.concat(l,Ks(l,[],n))}function f2(r){return r.parent&&Object.getPrototypeOf(r.parent)?r.frameElement:null}function q8(r){const i=Qr(r);let n=parseFloat(i.width)||0,t=parseFloat(i.height)||0;const l=va(r),s=l?r.offsetWidth:n,c=l?r.offsetHeight:t,d=Xc(n)!==s||Xc(t)!==c;return d&&(n=s,t=c),{width:n,height:t,$:d}}function ev(r){return Zr(r)?r:r.contextElement}function fo(r){const i=ev(r);if(!va(i))return pa(1);const n=i.getBoundingClientRect(),{width:t,height:l,$:s}=q8(i);let c=(s?Xc(n.width):n.width)/t,d=(s?Xc(n.height):n.height)/l;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}const qR=pa(0);function H8(r){const i=dr(r);return!J2()||!i.visualViewport?qR:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function HR(r,i,n){return i===void 0&&(i=!1),!n||i&&n!==dr(r)?!1:i}function Dl(r,i,n,t){i===void 0&&(i=!1),n===void 0&&(n=!1);const l=r.getBoundingClientRect(),s=ev(r);let c=pa(1);i&&(t?Zr(t)&&(c=fo(t)):c=fo(r));const d=HR(s,n,t)?H8(s):pa(0);let h=(l.left+d.x)/c.x,m=(l.top+d.y)/c.y,v=l.width/c.x,g=l.height/c.y;if(s){const _=dr(s),S=t&&Zr(t)?dr(t):t;let T=_,A=f2(T);for(;A&&t&&S!==T;){const C=fo(A),N=A.getBoundingClientRect(),O=Qr(A),B=N.left+(A.clientLeft+parseFloat(O.paddingLeft))*C.x,Q=N.top+(A.clientTop+parseFloat(O.paddingTop))*C.y;h*=C.x,m*=C.y,v*=C.x,g*=C.y,h+=B,m+=Q,T=dr(A),A=f2(T)}}return vo({width:v,height:g,x:h,y:m})}function tv(r,i){const n=wf(r).scrollLeft;return i?i.left+n:Dl(ba(r)).left+n}function U8(r,i,n){n===void 0&&(n=!1);const t=r.getBoundingClientRect(),l=t.left+i.scrollLeft-(n?0:tv(r,t)),s=t.top+i.scrollTop;return{x:l,y:s}}function UR(r){let{elements:i,rect:n,offsetParent:t,strategy:l}=r;const s=l==="fixed",c=ba(t),d=i?_f(i.floating):!1;if(t===c||d&&s)return n;let h={scrollLeft:0,scrollTop:0},m=pa(1);const v=pa(0),g=va(t);if((g||!g&&!s)&&((ko(t)!=="body"||lu(c))&&(h=wf(t)),va(t))){const S=Dl(t);m=fo(t),v.x=S.x+t.clientLeft,v.y=S.y+t.clientTop}const _=c&&!g&&!s?U8(c,h,!0):pa(0);return{width:n.width*m.x,height:n.height*m.y,x:n.x*m.x-h.scrollLeft*m.x+v.x+_.x,y:n.y*m.y-h.scrollTop*m.y+v.y+_.y}}function PR(r){return Array.from(r.getClientRects())}function zR(r){const i=ba(r),n=wf(r),t=r.ownerDocument.body,l=co(i.scrollWidth,i.clientWidth,t.scrollWidth,t.clientWidth),s=co(i.scrollHeight,i.clientHeight,t.scrollHeight,t.clientHeight);let c=-n.scrollLeft+tv(r);const d=-n.scrollTop;return Qr(t).direction==="rtl"&&(c+=co(i.clientWidth,t.clientWidth)-l),{width:l,height:s,x:c,y:d}}function YR(r,i){const n=dr(r),t=ba(r),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 BR(r,i){const n=Dl(r,!0,i==="fixed"),t=n.top+r.clientTop,l=n.left+r.clientLeft,s=va(r)?fo(r):pa(1),c=r.clientWidth*s.x,d=r.clientHeight*s.y,h=l*s.x,m=t*s.y;return{width:c,height:d,x:h,y:m}}function Tb(r,i,n){let t;if(i==="viewport")t=YR(r,n);else if(i==="document")t=zR(ba(r));else if(Zr(i))t=BR(i,n);else{const l=H8(r);t={x:i.x-l.x,y:i.y-l.y,width:i.width,height:i.height}}return vo(t)}function P8(r,i){const n=Hi(r);return n===i||!Zr(n)||Eo(n)?!1:Qr(n).position==="fixed"||P8(n,i)}function jR(r,i){const n=i.get(r);if(n)return n;let t=Ks(r,[],!1).filter(d=>Zr(d)&&ko(d)!=="body"),l=null;const s=Qr(r).position==="fixed";let c=s?Hi(r):r;for(;Zr(c)&&!Eo(c);){const d=Qr(c),h=$2(c);!h&&d.position==="fixed"&&(l=null),(s?!h&&!l:!h&&d.position==="static"&&!!l&&["absolute","fixed"].includes(l.position)||lu(c)&&!h&&P8(r,c))?t=t.filter(v=>v!==c):l=d,c=Hi(c)}return i.set(r,t),t}function IR(r){let{element:i,boundary:n,rootBoundary:t,strategy:l}=r;const c=[...n==="clippingAncestors"?_f(i)?[]:jR(i,this._c):[].concat(n),t],d=c[0],h=c.reduce((m,v)=>{const g=Tb(i,v,l);return m.top=co(g.top,m.top),m.right=c2(g.right,m.right),m.bottom=c2(g.bottom,m.bottom),m.left=co(g.left,m.left),m},Tb(i,d,l));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function FR(r){const{width:i,height:n}=q8(r);return{width:i,height:n}}function GR(r,i,n){const t=va(i),l=ba(i),s=n==="fixed",c=Dl(r,!0,s,i);let d={scrollLeft:0,scrollTop:0};const h=pa(0);if(t||!t&&!s)if((ko(i)!=="body"||lu(l))&&(d=wf(i)),t){const _=Dl(i,!0,s,i);h.x=_.x+i.clientLeft,h.y=_.y+i.clientTop}else l&&(h.x=tv(l));const m=l&&!t&&!s?U8(l,d):pa(0),v=c.left+d.scrollLeft-h.x-m.x,g=c.top+d.scrollTop-h.y-m.y;return{x:v,y:g,width:c.width,height:c.height}}function Tm(r){return Qr(r).position==="static"}function xb(r,i){if(!va(r)||Qr(r).position==="fixed")return null;if(i)return i(r);let n=r.offsetParent;return ba(r)===n&&(n=n.ownerDocument.body),n}function z8(r,i){const n=dr(r);if(_f(r))return n;if(!va(r)){let l=Hi(r);for(;l&&!Eo(l);){if(Zr(l)&&!Tm(l))return l;l=Hi(l)}return n}let t=xb(r,i);for(;t&&kR(t)&&Tm(t);)t=xb(t,i);return t&&Eo(t)&&Tm(t)&&!$2(t)?n:t||LR(r)||n}const VR=async function(r){const i=this.getOffsetParent||z8,n=this.getDimensions,t=await n(r.floating);return{reference:GR(r.reference,await i(r.floating),r.strategy),floating:{x:0,y:0,width:t.width,height:t.height}}};function WR(r){return Qr(r).direction==="rtl"}const ZR={convertOffsetParentRelativeRectToViewportRelativeRect:UR,getDocumentElement:ba,getClippingRect:IR,getOffsetParent:z8,getElementRects:VR,getClientRects:PR,getDimensions:FR,getScale:fo,isElement:Zr,isRTL:WR};function Y8(r,i){return r.x===i.x&&r.y===i.y&&r.width===i.width&&r.height===i.height}function QR(r,i){let n=null,t;const l=ba(r);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=r.getBoundingClientRect(),{left:v,top:g,width:_,height:S}=m;if(d||i(),!_||!S)return;const T=Dc(g),A=Dc(l.clientWidth-(v+_)),C=Dc(l.clientHeight-(g+S)),N=Dc(v),B={rootMargin:-T+"px "+-A+"px "+-C+"px "+-N+"px",threshold:co(0,c2(1,h))||1};let Q=!0;function $(ne){const Z=ne[0].intersectionRatio;if(Z!==h){if(!Q)return c();Z?c(!1,Z):t=setTimeout(()=>{c(!1,1e-7)},1e3)}Z===1&&!Y8(m,r.getBoundingClientRect())&&c(),Q=!1}try{n=new IntersectionObserver($,{...B,root:l.ownerDocument})}catch{n=new IntersectionObserver($,B)}n.observe(r)}return c(!0),s}function KR(r,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=ev(r),v=l||s?[...m?Ks(m):[],...Ks(i)]:[];v.forEach(N=>{l&&N.addEventListener("scroll",n,{passive:!0}),s&&N.addEventListener("resize",n)});const g=m&&d?QR(m,n):null;let _=-1,S=null;c&&(S=new ResizeObserver(N=>{let[O]=N;O&&O.target===m&&S&&(S.unobserve(i),cancelAnimationFrame(_),_=requestAnimationFrame(()=>{var B;(B=S)==null||B.observe(i)})),n()}),m&&!h&&S.observe(m),S.observe(i));let T,A=h?Dl(r):null;h&&C();function C(){const N=Dl(r);A&&!Y8(A,N)&&n(),A=N,T=requestAnimationFrame(C)}return n(),()=>{var N;v.forEach(O=>{l&&O.removeEventListener("scroll",n),s&&O.removeEventListener("resize",n)}),g==null||g(),(N=S)==null||N.disconnect(),S=null,h&&cancelAnimationFrame(T)}}const XR=n9,$R=t9,Ob=e9,JR=(r,i,n)=>{const t=new Map,l={platform:ZR,...n},s={...l.platform,_c:t};return $b(r,i,{...l,platform:s})};var Hc=typeof document<"u"?y.useLayoutEffect:y.useEffect;function $c(r,i){if(r===i)return!0;if(typeof r!=typeof i)return!1;if(typeof r=="function"&&r.toString()===i.toString())return!0;let n,t,l;if(r&&i&&typeof r=="object"){if(Array.isArray(r)){if(n=r.length,n!==i.length)return!1;for(t=n;t--!==0;)if(!$c(r[t],i[t]))return!1;return!0}if(l=Object.keys(r),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"&&r.$$typeof)&&!$c(r[s],i[s]))return!1}return!0}return r!==r&&i!==i}function B8(r){return typeof window>"u"?1:(r.ownerDocument.defaultView||window).devicePixelRatio||1}function Mb(r,i){const n=B8(r);return Math.round(i*n)/n}function xm(r){const i=y.useRef(r);return Hc(()=>{i.current=r}),i}function eN(r){r===void 0&&(r={});const{placement:i="bottom",strategy:n="absolute",middleware:t=[],platform:l,elements:{reference:s,floating:c}={},transform:d=!0,whileElementsMounted:h,open:m}=r,[v,g]=y.useState({x:0,y:0,strategy:n,placement:i,middlewareData:{},isPositioned:!1}),[_,S]=y.useState(t);$c(_,t)||S(t);const[T,A]=y.useState(null),[C,N]=y.useState(null),O=y.useCallback(L=>{L!==ne.current&&(ne.current=L,A(L))},[]),B=y.useCallback(L=>{L!==Z.current&&(Z.current=L,N(L))},[]),Q=s||T,$=c||C,ne=y.useRef(null),Z=y.useRef(null),w=y.useRef(v),E=h!=null,D=xm(h),k=xm(l),q=xm(m),z=y.useCallback(()=>{if(!ne.current||!Z.current)return;const L={placement:i,strategy:n,middleware:_};k.current&&(L.platform=k.current),JR(ne.current,Z.current,L).then(J=>{const R={...J,isPositioned:q.current!==!1};j.current&&!$c(w.current,R)&&(w.current=R,R9.flushSync(()=>{g(R)}))})},[_,i,n,k,q]);Hc(()=>{m===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,g(L=>({...L,isPositioned:!1})))},[m]);const j=y.useRef(!1);Hc(()=>(j.current=!0,()=>{j.current=!1}),[]),Hc(()=>{if(Q&&(ne.current=Q),$&&(Z.current=$),Q&&$){if(D.current)return D.current(Q,$,z);z()}},[Q,$,z,D,E]);const H=y.useMemo(()=>({reference:ne,floating:Z,setReference:O,setFloating:B}),[O,B]),M=y.useMemo(()=>({reference:Q,floating:$}),[Q,$]),P=y.useMemo(()=>{const L={position:n,left:0,top:0};if(!M.floating)return L;const J=Mb(M.floating,v.x),R=Mb(M.floating,v.y);return d?{...L,transform:"translate("+J+"px, "+R+"px)",...B8(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:J,top:R}},[n,d,M.floating,v.x,v.y]);return y.useMemo(()=>({...v,update:z,refs:H,elements:M,floatingStyles:P}),[v,z,H,M,P])}const tN=r=>{function i(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:r,fn(n){const{element:t,padding:l}=typeof r=="function"?r(n):r;return t&&i(t)?t.current!=null?Ob({element:t.current,padding:l}).fn(n):{}:t?Ob({element:t,padding:l}).fn(n):{}}}},nN=(r,i)=>({...XR(r),options:[r,i]}),rN=(r,i)=>({...$R(r),options:[r,i]}),aN=(r,i)=>({...tN(r),options:[r,i]}),j8={...lE},iN=j8.useInsertionEffect,lN=iN||(r=>r());function oN(r){const i=y.useRef(()=>{});return lN(()=>{i.current=r}),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 Jc=typeof document<"u"?y.useLayoutEffect:y.useEffect;let Ab=!1,sN=0;const Cb=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+sN++;function uN(){const[r,i]=y.useState(()=>Ab?Cb():void 0);return Jc(()=>{r==null&&i(Cb())},[]),y.useEffect(()=>{Ab=!0},[]),r}const cN=j8.useId,I8=cN||uN,fN=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:S,style:{transform:T,...A}={},...C}=i,N=I8(),[O,B]=y.useState(!1);if(Jc(()=>{if(!l)return;NR(l).direction==="rtl"&&B(!0)},[l]),!l)return null;const[Q,$]=t.split("-"),ne=Q==="top"||Q==="bottom";let Z=g;(ne&&c!=null&&c.x||!ne&&c!=null&&c.y)&&(Z=null);const w=v*2,E=w/2,D=d/2*(m/-8+1),k=h/2*m/4,q=!!S,z=Z&&$==="end"?"bottom":"top";let j=Z&&$==="end"?"right":"left";Z&&O&&(j=$==="end"?"left":"right");const H=(s==null?void 0:s.x)!=null?Z||s.x:"",M=(s==null?void 0:s.y)!=null?Z||s.y:"",P=S||"M0,0"+(" H"+d)+(" L"+(d-D)+","+(h-k))+(" Q"+d/2+","+h+" "+D+","+(h-k))+" Z",L={top:q?"rotate(180deg)":"",left:q?"rotate(90deg)":"rotate(-90deg)",bottom:q?"":"rotate(180deg)",right:q?"rotate(-90deg)":"rotate(90deg)"}[Q];return X.jsxs("svg",{...C,"aria-hidden":!0,ref:n,width:q?d:d+w,height:d,viewBox:"0 0 "+d+" "+(h>d?h:d),style:{position:"absolute",pointerEvents:"none",[j]:H,[z]:M,[Q]:ne||q?"100%":"calc(100% - "+w/2+"px)",transform:[L,T].filter(J=>!!J).join(" "),...A},children:[w>0&&X.jsx("path",{clipPath:"url(#"+N+")",fill:"none",stroke:_,strokeWidth:w+(S?0:1),d:P}),X.jsx("path",{stroke:w&&!S?C.fill:"none",d:P}),X.jsx("clipPath",{id:N,children:X.jsx("rect",{x:-E,y:E*(q?-1:1),width:d+w,height:d})})]})});function dN(){const r=new Map;return{emit(i,n){var t;(t=r.get(i))==null||t.forEach(l=>l(n))},on(i,n){r.set(i,[...r.get(i)||[],n])},off(i,n){var t;r.set(i,((t=r.get(i))==null?void 0:t.filter(l=>l!==n))||[])}}}const hN=y.createContext(null),pN=y.createContext(null),mN=()=>{var r;return((r=y.useContext(hN))==null?void 0:r.id)||null},vN=()=>y.useContext(pN);function gN(r){const{open:i=!1,onOpenChange:n,elements:t}=r,l=I8(),s=y.useRef({}),[c]=y.useState(()=>dN()),d=mN()!=null,[h,m]=y.useState(t.reference),v=oN((S,T,A)=>{s.current.openEvent=S?T:void 0,c.emit("openchange",{open:S,event:T,reason:A,nested:d}),n==null||n(S,T,A)}),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 yN(r){r===void 0&&(r={});const{nodeId:i}=r,n=gN({...r,elements:{reference:null,floating:null,...r.elements}}),t=r.rootContext||n,l=t.elements,[s,c]=y.useState(null),[d,h]=y.useState(null),v=(l==null?void 0:l.domReference)||s,g=y.useRef(null),_=vN();Jc(()=>{v&&(g.current=v)},[v]);const S=eN({...r,elements:{...l,...d&&{reference:d}}}),T=y.useCallback(B=>{const Q=Sc(B)?{getBoundingClientRect:()=>B.getBoundingClientRect(),contextElement:B}:B;h(Q),S.refs.setReference(Q)},[S.refs]),A=y.useCallback(B=>{(Sc(B)||B===null)&&(g.current=B,c(B)),(Sc(S.refs.reference.current)||S.refs.reference.current===null||B!==null&&!Sc(B))&&S.refs.setReference(B)},[S.refs]),C=y.useMemo(()=>({...S.refs,setReference:A,setPositionReference:T,domReference:g}),[S.refs,A,T]),N=y.useMemo(()=>({...S.elements,domReference:v}),[S.elements,v]),O=y.useMemo(()=>({...S,...t,refs:C,elements:N,nodeId:i}),[S,C,N,i,t]);return Jc(()=>{t.dataRef.current.floatingContext=O;const B=_==null?void 0:_.nodesRef.current.find(Q=>Q.id===i);B&&(B.context=O)}),y.useMemo(()=>({...S,context:O,refs:C,elements:N}),[S,C,N,O])}/*!
  react-datepicker v8.2.1
  https://github.com/Hacker0x01/react-datepicker
  Released under the MIT License.
*/var d2=function(i,n){return d2=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])},d2(i,n)};function En(r,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");d2(r,i);function n(){this.constructor=r}r.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)}var ut=function(){return ut=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},ut.apply(this,arguments)};function da(r,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 r.concat(s||Array.prototype.slice.call(i))}var bN=function(r){var i=r.showTimeSelectOnly,n=i===void 0?!1:i,t=r.showTime,l=t===void 0?!1:t,s=r.className,c=r.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)},_N=function(r,i){var n=y.useRef(null),t=y.useRef(r);t.current=r;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},Ef=function(r){var i=r.children,n=r.onClickOutside,t=r.className,l=r.containerRef,s=r.style,c=r.ignoreClass,d=_N(n,c);return G.createElement("div",{className:t,style:s,ref:function(h){d.current=h,l&&(l.current=h)}},i)},ve;(function(r){r.ArrowUp="ArrowUp",r.ArrowDown="ArrowDown",r.ArrowLeft="ArrowLeft",r.ArrowRight="ArrowRight",r.PageUp="PageUp",r.PageDown="PageDown",r.Home="Home",r.End="End",r.Enter="Enter",r.Space=" ",r.Tab="Tab",r.Escape="Escape",r.Backspace="Backspace",r.X="x"})(ve||(ve={}));function F8(){var r=typeof window<"u"?window:globalThis;return r}var ou=12;function gt(r){if(r==null)return new Date;var i=typeof r=="string"?mR(r):Te(r);return Sf(i)?i:new Date}function Om(r,i,n,t,l){l===void 0&&(l=gt());for(var s=So(n)||So(nv()),c=Array.isArray(i)?i:[i],d=0,h=c;d<h.length;d++){var m=h[d],v=uR(r,m,l,{locale:s});if(Sf(v)&&(!t||r===Ht(v,m,n)))return v}return null}function Sf(r,i){return Vc(r)&&!Sl(r,new Date("1/1/1800"))}function Ht(r,i,n){if(n==="en")return wb(r,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(nv()),wb(r,i,{locale:t,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function Mr(r,i){var n=i.dateFormat,t=i.locale,l=Array.isArray(n)&&n.length>0?n[0]:n;return r&&Ht(r,l,t)||""}function wN(r,i,n){if(!r)return"";var t=Mr(r,n),l=i?Mr(i,n):"";return"".concat(t," - ").concat(l)}function EN(r,i){if(!(r!=null&&r.length))return"";var n=r[0]?Mr(r[0],i):"";if(r.length===1)return n;if(r.length===2&&r[1]){var t=Mr(r[1],i);return"".concat(n,", ").concat(t)}var l=r.length-1;return"".concat(n," (+").concat(l,")")}function Mm(r,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 kc(Lc(qc(r,d),s),t)}function SN(r){return Z2(r)}function DN(r,i){return Ht(r,"ddd",i)}function Uc(r){return El(r)}function ki(r,i,n){var t=So(i||nv());return Ka(r,{locale:t,weekStartsOn:n})}function Za(r){return w8(r)}function Fs(r){return yf(r)}function Rb(r){return o2(r)}function Nb(){return El(gt())}function kb(r){return b8(r)}function TN(r){return mA(r)}function xN(r){return _8(r)}function ua(r,i){return r&&i?hR(r,i):!r&&!i}function Gn(r,i){return r&&i?fR(r,i):!r&&!i}function ef(r,i){return r&&i?dR(r,i):!r&&!i}function st(r,i){return r&&i?hA(r,i):!r&&!i}function ml(r,i){return r&&i?pC(r,i):!r&&!i}function Gs(r,i,n){var t,l=El(i),s=b8(n);try{t=Qs(r,{start:l,end:s})}catch{t=!1}return t}function nv(){var r=F8();return r.__localeId__}function So(r){if(typeof r=="string"){var i=F8();return i.__localeData__?i.__localeData__[r]:void 0}else return r}function ON(r,i,n){return i(Ht(r,"EEEE",n))}function MN(r,i){return Ht(r,"EEEEEE",i)}function AN(r,i){return Ht(r,"EEE",i)}function rv(r,i){return Ht(Ar(gt(),r),"LLLL",i)}function G8(r,i){return Ht(Ar(gt(),r),"LLL",i)}function CN(r,i){return Ht(so(gt(),r),"QQQ",i)}function Cr(r,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 su(r,{minDate:t,maxDate:l})||s&&s.some(function(v){return v instanceof Date?st(r,v):st(r,v.date)})||c&&c.some(function(v){var g=v.start,_=v.end;return Qs(r,{start:g,end:_})})||d&&!d.some(function(v){return st(r,v)})||h&&!h.some(function(v){var g=v.start,_=v.end;return Qs(r,{start:g,end:_})})||m&&!m(gt(r))||!1}function av(r,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 Qs(r,{start:c,end:d})}):t&&t.some(function(s){var c;return s instanceof Date?st(r,s):st(r,(c=s.date)!==null&&c!==void 0?c:new Date)})||!1}function V8(r,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates,d=n.filterDate;return su(r,{minDate:t?w8(t):void 0,maxDate:l?_8(l):void 0})||(s==null?void 0:s.some(function(h){return Gn(r,h instanceof Date?h:h.date)}))||c&&!c.some(function(h){return Gn(r,h)})||d&&!d(gt(r))||!1}function Tc(r,i,n,t){var l=Qe(r),s=Vn(r),c=Qe(i),d=Vn(i),h=Qe(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 RN(r,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates;return su(r,{minDate:t,maxDate:l})||s&&s.some(function(d){return Gn(d instanceof Date?d:d.date,r)})||c&&!c.some(function(d){return Gn(d,r)})||!1}function xc(r,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates,d=n.filterDate;return su(r,{minDate:t,maxDate:l})||(s==null?void 0:s.some(function(h){return ef(r,h instanceof Date?h:h.date)}))||c&&!c.some(function(h){return ef(r,h)})||d&&!d(gt(r))||!1}function Oc(r,i,n){if(!i||!n||!Vc(i)||!Vc(n))return!1;var t=Qe(i),l=Qe(n);return t<=r&&l>=r}function Pc(r,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(r,0,1);return su(h,{minDate:t?yf(t):void 0,maxDate:l?E8(l):void 0})||(s==null?void 0:s.some(function(m){return ua(h,m instanceof Date?m:m.date)}))||c&&!c.some(function(m){return ua(h,m)})||d&&!d(gt(h))||!1}function Mc(r,i,n,t){var l=Qe(r),s=gl(r),c=Qe(i),d=gl(i),h=Qe(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 su(r,i){var n,t=i===void 0?{}:i,l=t.minDate,s=t.maxDate;return(n=l&&_o(r,l)<0||s&&_o(r,s)>0)!==null&&n!==void 0?n:!1}function Lb(r,i){return i.some(function(n){return Va(n)===Va(r)&&Wa(n)===Wa(r)&&Ni(n)===Ni(r)})}function qb(r,i){var n=i===void 0?{}:i,t=n.excludeTimes,l=n.includeTimes,s=n.filterTime;return t&&Lb(r,t)||l&&!Lb(r,l)||s&&!s(r)||!1}function Hb(r,i){var n=i.minTime,t=i.maxTime;if(!n||!t)throw new Error("Both minTime and maxTime props required");var l=gt();l=kc(l,Va(r)),l=Lc(l,Wa(r)),l=qc(l,Ni(r));var s=gt();s=kc(s,Va(n)),s=Lc(s,Wa(n)),s=qc(s,Ni(n));var c=gt();c=kc(c,Va(t)),c=Lc(c,Wa(t)),c=qc(c,Ni(t));var d;try{d=!Qs(l,{start:s,end:c})}catch{d=!1}return d}function Ub(r,i){var n=i===void 0?{}:i,t=n.minDate,l=n.includeDates,s=yl(r,1);return t&&Wc(t,s)>0||l&&l.every(function(c){return Wc(c,s)>0})||!1}function Pb(r,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.includeDates,s=Wr(r,1);return t&&Wc(s,t)>0||l&&l.every(function(c){return Wc(s,c)>0})||!1}function NN(r,i){var n=i===void 0?{}:i,t=n.minDate,l=n.includeDates,s=yf(r),c=R8(s);return t&&Zc(t,c)>0||l&&l.every(function(d){return Zc(d,c)>0})||!1}function kN(r,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.includeDates,s=E8(r),c=W2(s,1);return t&&Zc(c,t)>0||l&&l.every(function(d){return Zc(c,d)>0})||!1}function zb(r,i){var n=i===void 0?{}:i,t=n.minDate,l=n.includeDates,s=wo(r,1);return t&&Qc(t,s)>0||l&&l.every(function(c){return Qc(c,s)>0})||!1}function LN(r,i){var n=i===void 0?{}:i,t=n.minDate,l=n.yearItemNumber,s=l===void 0?ou:l,c=Fs(wo(r,s)),d=Ri(c,s).endPeriod,h=t&&Qe(t);return h&&h>d||!1}function Yb(r,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.includeDates,s=Fa(r,1);return t&&Qc(s,t)>0||l&&l.every(function(c){return Qc(s,c)>0})||!1}function qN(r,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.yearItemNumber,s=l===void 0?ou:l,c=Fa(r,s),d=Ri(c,s).startPeriod,h=t&&Qe(t);return h&&h<d||!1}function W8(r){var i=r.minDate,n=r.includeDates;if(n&&i){var t=n.filter(function(l){return _o(l,i)>=0});return mb(t)}else return n?mb(n):i}function Z8(r){var i=r.maxDate,n=r.includeDates;if(n&&i){var t=n.filter(function(l){return _o(l,i)<=0});return pb(t)}else return n?pb(n):i}function Bb(r,i){var n;r===void 0&&(r=[]),i===void 0&&(i="react-datepicker__day--highlighted");for(var t=new Map,l=0,s=r.length;l<s;l++){var c=r[l];if(Ga(c)){var d=Ht(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,S=g.length;_<S;_++){var T=g[_];if(T){var d=Ht(T,"MM.dd.yyyy"),h=t.get(d)||[];h.includes(v)||(h.push(v),t.set(d,h))}}}}return t}function HN(r,i){return r.length!==i.length?!1:r.every(function(n,t){return n===i[t]})}function UN(r,i){r===void 0&&(r=[]),i===void 0&&(i="react-datepicker__day--holidays");var n=new Map;return r.forEach(function(t){var l=t.date,s=t.holidayName;if(Ga(l)){var c=Ht(l,"MM.dd.yyyy"),d=n.get(c)||{className:"",holidayNames:[]};if(!("className"in d&&d.className===i&&HN(d.holidayNames,[s]))){d.className=i;var h=d.holidayNames;d.holidayNames=h?da(da([],h,!0),[s],!1):[s],n.set(c,d)}}}),n}function PN(r,i,n,t,l){for(var s=l.length,c=[],d=0;d<s;d++){var h=r,m=l[d];m&&(h=uA(h,Va(m)),h=l2(h,Wa(m)),h=dA(h,Ni(m)));var v=l2(r,(n+1)*t);qi(h,i)&&Sl(h,v)&&m!=null&&c.push(m)}return c}function jb(r){return r<10?"0".concat(r):"".concat(r)}function Ri(r,i){i===void 0&&(i=ou);var n=Math.ceil(Qe(r)/i)*i,t=n-(i-1);return{startPeriod:t,endPeriod:n}}function zN(r){var i=new Date(r.getFullYear(),r.getMonth(),r.getDate()),n=new Date(r.getFullYear(),r.getMonth(),r.getDate(),24);return Math.round((+n-+i)/36e5)}function Ib(r){var i=r.getSeconds(),n=r.getMilliseconds();return Te(r.getTime()-i*1e3-n)}function YN(r,i){return Ib(r).getTime()===Ib(i).getTime()}function Fb(r){if(!Ga(r))throw new Error("Invalid date");var i=new Date(r);return i.setHours(0,0,0,0),i}function Gb(r,i){if(!Ga(r)||!Ga(i))throw new Error("Invalid date received");var n=Fb(r),t=Fb(i);return Sl(n,t)}function Q8(r){return r.key===ve.Space}var BN=function(r){En(i,r);function i(n){var t=r.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!=null&&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),jN=function(r){En(i,r);function i(){var n=r!==null&&r.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 st(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),Cr(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 av(n.props.day,{excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals})},n.isStartOfWeek=function(){return st(n.props.day,ki(n.props.day,n.props.locale,n.props.calendarStartDay))},n.isSameWeek=function(t){return n.props.showWeekPicker&&st(t,ki(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=Ht(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=Ht(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:Gs(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&&(Sl(_,g)||ml(_,g))?Gs(s,_,g):d&&v&&(qi(_,v)||ml(_,v))||h&&v&&!g&&(qi(_,v)||ml(_,v))?Gs(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?st(s,h):st(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?st(s,m):st(s,c)},n.isRangeStart=function(){var t=n.props,l=t.day,s=t.startDate,c=t.endDate;return!s||!c?!1:st(s,l)},n.isRangeEnd=function(){var t=n.props,l=t.day,s=t.startDate,c=t.endDate;return!s||!c?!1:st(c,l)},n.isWeekend=function(){var t=cC(n.props.day);return t===0||t===6},n.isAfterMonth=function(){return n.props.month!==void 0&&(n.props.month+1)%12===Vn(n.props.day)},n.isBeforeMonth=function(){return n.props.month!==void 0&&(Vn(n.props.day)+1)%12===n.props.month},n.isCurrentDay=function(){return n.isSameDay(gt())},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--"+DN(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(Ht(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=Ht(l,"MM.dd.yyyy"),m=[];return c.has(h)&&m.push.apply(m,c.get(h).holidayNames),n.isExcluded()&&m.push(d==null?void 0:d.filter(function(v){return v instanceof Date?st(v,l):st(v==null?void 0:v.date,l)}).map(function(v){if(!(v instanceof Date))return v==null?void 0:v.message})),m.join(", ")},n.getTabIndex=function(){var t=n.props.selected,l=n.props.preSelection,s=!(n.props.showWeekPicker&&(n.props.showWeekNumber||!n.isStartOfWeek()))&&(n.isKeyboardSelected()||n.isSameDay(t)&&st(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(Eb(n.props.day),n.props.day):Eb(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),IN=function(r){En(i,r);function i(){var n=r!==null&&r.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&&!st(n.props.date,n.props.selected)&&st(n.props.date,n.props.preSelection)},n.getTabIndex=function(){return n.props.showWeekPicker&&n.props.showWeekNumber&&(n.isKeyboardSelected()||st(n.props.date,n.props.selected)&&st(n.props.preSelection,n.props.selected))?0:-1},n.handleFocusWeekNumber=function(t){var l=!1;n.getTabIndex()===0&&!(t!=null&&t.isInputFocused)&&st(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&&st(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),FN=function(r){En(i,r);function i(){var n=r!==null&&r.apply(this,arguments)||this;return n.isDisabled=function(t){return Cr(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):SN(t)},n.isWeekDisabled=function(){for(var t=n.startOfWeek(),l=Ir(t,6),s=new Date(t);s<=l;){if(!n.isDisabled(s))return!1;s=Ir(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(IN,ut({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=Ir(t,d);return G.createElement(jN,ut({},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 ki(n.props.day,n.props.locale,n.props.calendarStartDay)},n.isKeyboardSelected=function(){return!n.props.disabledKeyboardNavigation&&!st(n.startOfWeek(),n.props.selected)&&st(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":st(this.startOfWeek(),this.props.selected),"react-datepicker__week--keyboard-selected":this.isKeyboardSelected()};return G.createElement("div",{className:Nn(n)},this.renderDays())},i}(y.Component),Ys,GN=6,ho={TWO_COLUMNS:"two_columns",THREE_COLUMNS:"three_columns",FOUR_COLUMNS:"four_columns"},Am=(Ys={},Ys[ho.TWO_COLUMNS]={grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2},Ys[ho.THREE_COLUMNS]={grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3},Ys[ho.FOUR_COLUMNS]={grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4},Ys),Ac=1;function Vb(r,i){return r?ho.FOUR_COLUMNS:i?ho.TWO_COLUMNS:ho.THREE_COLUMNS}var VN=function(r){En(i,r);function i(){var n=r!==null&&r.apply(this,arguments)||this;return n.MONTH_REFS=da([],Array(12),!0).map(function(){return y.createRef()}),n.QUARTER_REFS=da([],Array(4),!0).map(function(){return y.createRef()}),n.isDisabled=function(t){return Cr(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 av(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:Gn(Ar(s,t),c)},n.isRangeStartQuarter=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:ef(so(s,t),c)},n.isRangeEndMonth=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:Gn(Ar(s,t),d)},n.isRangeEndQuarter=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:ef(so(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?Tc(_,g,t,c):h&&v||m&&v&&!g?Tc(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=Ar(c,t),v=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return h?Gn(m,v):Gn(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=Ar(c,t),g=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return h||m?Gn(v,g):Gn(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?Mc(_,g,t,c):h&&v||m&&v&&!g?Mc(v,_,t,c):!1},n.isWeekInMonth=function(t){var l=n.props.day,s=Ir(t,6);return Gn(t,l)||Gn(s,l)},n.isCurrentMonth=function(t,l){return Qe(t)===Qe(gt())&&l===Vn(gt())},n.isCurrentQuarter=function(t,l){return Qe(t)===Qe(gt())&&l===gl(gt())},n.isSelectedMonth=function(t,l,s){return Vn(s)===l&&Qe(t)===Qe(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 gl(t)===l&&Qe(t)===Qe(s)},n.renderWeeks=function(){for(var t=[],l=n.props.fixedHeight,s=0,c=!1,d=ki(Za(n.props.day),n.props.locale,n.props.calendarStartDay),h=function(T){return n.props.showWeekPicker?ki(T,n.props.locale,n.props.calendarStartDay):n.props.preSelection},m=function(T){return n.props.showWeekPicker?ki(T,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(FN,ut({},n.props,{ariaLabelPrefix:n.props.weekAriaLabelPrefix,key:s,day:d,month:Vn(n.props.day),onDayClick:n.handleDayClick,onDayMouseEnter:n.handleDayMouseEnter,selected:v,preSelection:g,showWeekNumber:n.props.showWeekNumbers}))),!c;){s++,d=Gc(d,1);var _=l&&s>=GN,S=!l&&!n.isWeekInMonth(d);if(_||S)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(Za(d),t)},n.onMonthMouseEnter=function(t){var l=n.isMonthDisabledForLabelDate(t),s=l.isDisabled,c=l.labelDate;s||n.handleDayMouseEnter(Za(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,S=d.showFourColumnMonthYearPicker,T=d.showTwoColumnMonthYearPicker;if(m){var A=Vb(S,T),C=n.getVerticalOffset(A),N=(c=Am[A])===null||c===void 0?void 0:c.grid,O=function(Z,w,E){var D,k,q=w,z=E;switch(Z){case ve.ArrowRight:q=Wr(w,Ac),z=E===11?0:E+Ac;break;case ve.ArrowLeft:q=yl(w,Ac),z=E===0?11:E-Ac;break;case ve.ArrowUp:q=yl(w,C),z=!((D=N==null?void 0:N[0])===null||D===void 0)&&D.includes(E)?E+12-C:E-C;break;case ve.ArrowDown:q=Wr(w,C),z=!((k=N==null?void 0:N[N.length-1])===null||k===void 0)&&k.includes(E)?E-12+C:E+C;break}return{newCalculatedDate:q,newCalculatedMonth:z}},B=function(Z,w,E){for(var D=40,k=Z,q=!1,z=0,j=O(k,w,E),H=j.newCalculatedDate,M=j.newCalculatedMonth;!q;){if(z>=D){H=w,M=E;break}if(g&&H<g){k=ve.ArrowRight;var P=O(k,H,M);H=P.newCalculatedDate,M=P.newCalculatedMonth}if(_&&H>_){k=ve.ArrowLeft;var P=O(k,H,M);H=P.newCalculatedDate,M=P.newCalculatedMonth}if(RN(H,n.props)){var P=O(k,H,M);H=P.newCalculatedDate,M=P.newCalculatedMonth}else q=!0;z++}return{newCalculatedDate:H,newCalculatedMonth:M}};if(l===ve.Enter){n.isMonthDisabled(s)||(n.onMonthClick(t,s),v==null||v(h));return}var Q=B(l,m,s),$=Q.newCalculatedDate,ne=Q.newCalculatedMonth;switch(l){case ve.ArrowRight:case ve.ArrowLeft:case ve.ArrowUp:case ve.ArrowDown:n.handleMonthNavigation(ne,$);break}}},n.getVerticalOffset=function(t){var l,s;return(s=(l=Am[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=so(n.props.day,l);xc(s,n.props)||n.handleDayClick(Rb(s),t)},n.onQuarterMouseEnter=function(t){var l=so(n.props.day,t);xc(l,n.props)||n.handleDayMouseEnter(Rb(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,W2(n.props.preSelection,1));break;case ve.ArrowLeft:if(!n.props.preSelection)break;n.handleQuarterNavigation(l===1?4:l-1,R8(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=Ar(c,t);return{isDisabled:(l=(d||h||m||v)&&V8(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(Ar(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.isMonthDisabled(t),"react-datepicker__month-text--in-selecting-range":n.isInSelectingRangeMonth(t),"react-datepicker__month-text--in-range":c&&d?Tc(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=Vn(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=gl(n.props.preSelection),s=xc(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=Ar(m,t),_=n.isDisabled(g)||n.isExcluded(g)?h:c;return"".concat(_," ").concat(Ht(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,S=l.filterDate,T=l.preSelection,A=l.disabledKeyboardNavigation,C=(m||v||g||_||S)&&xc(so(s,t),n.props);return Nn("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter-text--disabled":C,"react-datepicker__quarter-text--selected":h?n.isSelectedQuarter(s,t,h):void 0,"react-datepicker__quarter-text--keyboard-selected":!A&&T&&n.isSelectedQuarter(s,t,T)&&!C,"react-datepicker__quarter-text--in-selecting-range":n.isInSelectingRangeQuarter(t),"react-datepicker__quarter-text--in-range":c&&d?Mc(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=G8(t,d),v=rv(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=CN(t,d);return(l=c==null?void 0:c(t,h))!==null&&l!==void 0?l:h},n.renderMonths=function(){var t,l=n.props,s=l.showTwoColumnMonthYearPicker,c=l.showFourColumnMonthYearPicker,d=l.day,h=l.selected,m=(t=Am[Vb(c,s)])===null||t===void 0?void 0:t.grid;return m==null?void 0:m.map(function(v,g){return G.createElement("div",{className:"react-datepicker__month-wrapper",key:g},v.map(function(_,S){return G.createElement("div",{ref:n.MONTH_REFS[_],key:S,onClick:function(T){n.onMonthClick(T,_)},onKeyDown:function(T){Q8(T)&&(T.preventDefault(),T.key=ve.Enter),n.onMonthKeyDown(T,_)},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(Ht(s,"MMMM, yyyy",this.props.locale)),role:"listbox"},t?this.renderMonths():l?this.renderQuarters():this.renderWeeks())},i}(y.Component),WN=function(r){En(i,r);function i(){var n=r!==null&&r.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(Ef,{className:"react-datepicker__month-dropdown",onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),ZN=function(r){En(i,r);function i(){var n=r!==null&&r.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(WN,ut({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 G8(s,n.props.locale)}:function(s){return rv(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 QN(r,i){for(var n=[],t=Za(r),l=Za(i);!qi(t,l);)n.push(gt(t)),t=Wr(t,1);return n}var KN=function(r){En(i,r);function i(n){var t=r.call(this,n)||this;return t.renderOptions=function(){return t.state.monthYearsList.map(function(l){var s=u2(l),c=ua(t.props.date,l)&&Gn(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"},"✓"):"",Ht(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:QN(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(Ef,{className:n,onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),XN=function(r){En(i,r);function i(){var n=r!==null&&r.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(){for(var t=Za(n.props.minDate),l=Za(n.props.maxDate),s=[];!qi(t,l);){var c=u2(t);s.push(G.createElement("option",{key:c,value:c},Ht(t,n.props.dateFormat,n.props.locale))),t=Wr(t,1)}return s},n.onSelectChange=function(t){n.onChange(parseInt(t.target.value))},n.renderSelectMode=function(){return G.createElement("select",{value:u2(Za(n.props.date)),className:"react-datepicker__month-year-select",onChange:n.onSelectChange},n.renderSelectOptions())},n.renderReadView=function(t){var l=Ht(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(KN,ut({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=gt(t);ua(n.props.date,l)&&Gn(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),$N=function(r){En(i,r);function i(){var n=r!==null&&r.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)&&Hb(t,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&qb(t,n.props)||(s=(l=n.props).onChange)===null||s===void 0||s.call(l,t)},n.isSelectedTime=function(t){return n.props.selected&&YN(n.props.selected,t)},n.isDisabledTime=function(t){return(n.props.minTime||n.props.maxTime)&&Hb(t,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&qb(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&&(Va(t)*3600+Wa(t)*60+Ni(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||gt(),h=Uc(d),m=n.props.injectTimes&&n.props.injectTimes.sort(function(C,N){return C.getTime()-N.getTime()}),v=60*zN(d),g=v/c,_=0;_<g;_++){var S=l2(h,_*c);if(l.push(S),m){var T=PN(h,S,_,c,m);l=l.concat(T)}}var A=l.reduce(function(C,N){return N.getTime()<=d.getTime()?N:C},l[0]);return l.map(function(C){return G.createElement("li",{key:C.valueOf(),onClick:n.handleClick.bind(n,C),className:n.liClasses(C),ref:function(N){C===A&&(n.centerLi=N)},onKeyDown:function(N){n.handleOnKeyDown(N,C)},tabIndex:C===A?0:-1,role:"option","aria-selected":n.isSelectedTime(C)?"true":void 0,"aria-disabled":n.isDisabledTime(C)?"true":void 0},Ht(C,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.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),Wb=3,JN=function(r){En(i,r);function i(n){var t=r.call(this,n)||this;return t.YEAR_REFS=da([],Array(t.props.yearItemNumber),!0).map(function(){return y.createRef()}),t.isDisabled=function(l){return Cr(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 av(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 S=Ri(g,_).startPeriod;t.isDisabled(s)||t.isExcluded(s)||((d=(c=t.props).setPreSelection)===null||d===void 0||d.call(c,s),l-S<0?t.updateFocusOnPaginate(_-(S-l)):l-S>=_?t.updateFocusOnPaginate(Math.abs(_-(l-S))):(m=(h=t.YEAR_REFS[l-S])===null||h===void 0?void 0:h.current)===null||m===void 0||m.focus())}},t.isSameDay=function(l,s){return st(l,s)},t.isCurrentYear=function(l){return l===Qe(gt())},t.isRangeStart=function(l){return t.props.startDate&&t.props.endDate&&ua(sa(gt(),l),t.props.startDate)},t.isRangeEnd=function(l){return t.props.startDate&&t.props.endDate&&ua(sa(gt(),l),t.props.endDate)},t.isInRange=function(l){return Oc(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?Oc(l,t.selectingDate(),v):d&&m||h&&m&&!v?Oc(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=sa(gt(),l);return h?ua(m,(s=t.selectingDate())!==null&&s!==void 0?s:null):ua(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=sa(gt(),l);return h||m?ua(v,(s=t.selectingDate())!==null&&s!==void 0?s:null):ua(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=Fs(sa(t.props.date,l)),_=(c||d||h||m||v)&&Pc(l,t.props);return!t.props.disabledKeyboardNavigation&&!t.props.inline&&!st(g,Fs(t.props.selected))&&st(g,Fs(t.props.preSelection))&&!_}},t.onYearClick=function(l,s){var c=t.props.date;c!==void 0&&t.handleYearClick(Fs(sa(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,Fa(t.props.preSelection,1));break;case ve.ArrowLeft:if(t.props.preSelection==null)break;t.handleYearNavigation(s-1,wo(t.props.preSelection,1));break;case ve.ArrowUp:{if(v===void 0||g===void 0||t.props.preSelection==null)break;var S=Ri(v,g).startPeriod,T=Wb,A=s-T;if(A<S){var C=g%T;s>=S&&s<S+C?T=C:T+=C,A=s-T}t.handleYearNavigation(A,wo(t.props.preSelection,T));break}case ve.ArrowDown:{if(v===void 0||g===void 0||t.props.preSelection==null)break;var N=Ri(v,g).endPeriod,T=Wb,A=s+T;if(A>N){var C=g%T;s<=N&&s>N-C?T=C:T+=C,A=s+T}t.handleYearNavigation(A,Fa(t.props.preSelection,T));break}}_&&_(l)},t.getYearClassNames=function(l){var s=t.props,c=s.date,d=s.minDate,h=s.maxDate,m=s.selected,v=s.excludeDates,g=s.includeDates,_=s.filterDate,S=s.yearClassName;return Nn("react-datepicker__year-text","react-datepicker__year-".concat(l),c?S==null?void 0:S(sa(c,l)):void 0,{"react-datepicker__year-text--selected":m?l===Qe(m):void 0,"react-datepicker__year-text--disabled":(d||h||v||g||_)&&Pc(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=Qe(t.props.preSelection),c=Pc(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=Ri(s,c),v=m.startPeriod,g=m.endPeriod,_=function(A){t.push(G.createElement("div",{ref:S.YEAR_REFS[A-v],onClick:function(C){n.onYearClick(C,A)},onKeyDown:function(C){Q8(C)&&(C.preventDefault(),C.key=ve.Enter),n.onYearKeyDown(C,A)},tabIndex:Number(S.getYearTabIndex(A)),className:S.getYearClassNames(A),onMouseEnter:S.props.usePointerEvent?void 0:function(C){return d(C,A)},onPointerEnter:S.props.usePointerEvent?function(C){return d(C,A)}:void 0,onMouseLeave:S.props.usePointerEvent?void 0:function(C){return h(C,A)},onPointerLeave:S.props.usePointerEvent?function(C){return h(C,A)}:void 0,key:A,"aria-current":S.isCurrentYear(A)?"date":void 0},S.getYearContent(A)))},S=this,T=v;T<=g;T++)_(T);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 ek(r,i,n,t){for(var l=[],s=0;s<2*i+1;s++){var c=r+i-s,d=!0;n&&(d=Qe(n)<=c),t&&d&&(d=Qe(t)>=c),d&&l.push(c)}return l}var tk=function(r){En(i,r);function i(n){var t=r.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?Qe(t.props.minDate):null,v=t.props.maxDate?Qe(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:ek(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(Ef,{className:n,containerRef:this.dropdownRef,onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),nk=function(r){En(i,r);function i(){var n=r!==null&&r.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(){for(var t=n.props.minDate?Qe(n.props.minDate):1900,l=n.props.maxDate?Qe(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(tk,ut({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),rk=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],ak=function(r){var i=(r.className||"").split(/\s+/);return rk.some(function(n){return i.indexOf(n)>=0})},ik=function(r){En(i,r);function i(n){var t=r.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;ak(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=W8(t.props),m=Z8(t.props),v=gt(),g=d||c||s;return g||(h&&Sl(v,h)?h:m&&qi(v,m)?m:v)},t.increaseMonth=function(){t.setState(function(l){var s=l.date;return{date:Wr(s,1)}},function(){return t.handleMonthChange(t.state.date)})},t.decreaseMonth=function(){t.setState(function(l){var s=l.date;return{date:yl(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:sa(gt(),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(!Cr(l,t.props))return l;for(var s=Za(l),c=xN(l),d=pA(c,s),h=null,m=0;m<=d;m++){var v=Ir(s,m);if(!Cr(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:sa(c,Number(l))}},function(){return t.handleYearChange(t.state.date)})},t.changeMonth=function(l){t.setState(function(s){var c=s.date;return{date:Ar(c,Number(l))}},function(){return t.handleMonthChange(t.state.date)})},t.changeMonthYear=function(l){t.setState(function(s){var c=s.date;return{date:sa(Ar(c,Vn(l)),Qe(l))}},function(){return t.handleMonthYearChange(t.state.date)})},t.header=function(l){l===void 0&&(l=t.state.date);var s=ki(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=Ir(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":Ht(h,"EEEE",t.props.locale),className:Nn("react-datepicker__day-name",v)},m)}))},t.formatWeekday=function(l,s){return t.props.formatWeekDay?ON(l,t.props.formatWeekDay,s):t.props.useWeekdaysShort?AN(l,s):MN(l,s)},t.decreaseYear=function(){t.setState(function(l){var s,c=l.date;return{date:wo(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=yl(t.state.date,m),g;switch(!0){case t.props.showMonthYearPicker:g=zb(t.state.date,t.props);break;case t.props.showYearPicker:g=LN(t.state.date,t.props);break;case t.props.showQuarterYearPicker:g=NN(t.state.date,t.props);break;default:g=Ub(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"],S=["react-datepicker__navigation","react-datepicker__navigation--previous"],T=t.decreaseMonth;(t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker)&&(T=t.decreaseYear),g&&t.props.showDisabledMonthNavigation&&(S.push("react-datepicker__navigation--previous--disabled"),T=void 0);var A=t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker,C=t.props,N=C.previousMonthButtonLabel,O=N===void 0?i.defaultProps.previousMonthButtonLabel:N,B=C.previousYearButtonLabel,Q=B===void 0?i.defaultProps.previousYearButtonLabel:B,$=t.props,ne=$.previousMonthAriaLabel,Z=ne===void 0?typeof O=="string"?O:"Previous Month":ne,w=$.previousYearAriaLabel,E=w===void 0?typeof Q=="string"?Q:"Previous Year":w;return G.createElement("button",{type:"button",className:S.join(" "),onClick:T,onKeyDown:t.props.handleOnKeyDown,"aria-label":A?E:Z},G.createElement("span",{className:_.join(" ")},A?Q:O))}}},t.increaseYear=function(){t.setState(function(l){var s,c=l.date;return{date:Fa(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=Yb(t.state.date,t.props);break;case t.props.showYearPicker:s=qN(t.state.date,t.props);break;case t.props.showQuarterYearPicker:s=kN(t.state.date,t.props);break;default:s=Pb(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,S=v.nextYearButtonLabel,T=S===void 0?i.defaultProps.nextYearButtonLabel:S,A=t.props,C=A.nextMonthAriaLabel,N=C===void 0?typeof _=="string"?_:"Next Month":C,O=A.nextYearAriaLabel,B=O===void 0?typeof T=="string"?T:"Next Year":O;return G.createElement("button",{type:"button",className:c.join(" "),onClick:h,onKeyDown:t.props.handleOnKeyDown,"aria-label":m?B:N},G.createElement("span",{className:d.join(" ")},m?T:_))}}},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(" ")},Ht(l,t.props.dateFormat,t.props.locale))},t.renderYearDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showYearDropdown||l))return G.createElement(nk,ut({},i.defaultProps,t.props,{date:t.state.date,onChange:t.changeYear,year:Qe(t.state.date)}))},t.renderMonthDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showMonthDropdown||l))return G.createElement(ZN,ut({},i.defaultProps,t.props,{month:Vn(t.state.date),onChange:t.changeMonth}))},t.renderMonthYearDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showMonthYearDropdown||l))return G.createElement(XN,ut({},i.defaultProps,t.props,{date:t.state.date,onChange:t.changeMonthYear}))},t.handleTodayButtonClick=function(l){t.props.onSelect(Nb(),l),t.props.setPreSelection&&t.props.setPreSelection(Nb())},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=Ub(t.state.date,t.props),v=Pb(t.state.date,t.props),g=zb(t.state.date,t.props),_=Yb(t.state.date,t.props),S=!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,ut(ut({},t.state),{customHeaderCount:h,monthDate:d,changeMonth:t.changeMonth,changeYear:t.changeYear,decreaseMonth:t.decreaseMonth,increaseMonth:t.increaseMonth,decreaseYear:t.decreaseYear,increaseYear:t.increaseYear,prevMonthButtonDisabled:m,nextMonthButtonDisabled:v,prevYearButtonDisabled:g,nextYearButtonDisabled:_})),S&&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=Ri(s,m),g=v.startPeriod,_=v.endPeriod;return G.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},d?"".concat(g," - ").concat(_):Qe(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?Fa(t.state.date,h):yl(t.state.date,h),v=(s=t.props.monthSelectedIn)!==null&&s!==void 0?s:h,g=0;g<d;++g){var _=g-v+h,S=t.props.showMonthYearPicker||t.props.showQuarterYearPicker?Fa(m,_):Wr(m,_),T="month-".concat(g),A=g<d-1,C=g>0;c.push(G.createElement("div",{key:T,ref:function(N){t.monthContainer=N??void 0},className:"react-datepicker__month-container"},t.renderHeader({monthDate:S,i:g}),G.createElement(VN,ut({},i.defaultProps,t.props,{containerRef:t.containerRef,ariaLabelPrefix:t.props.monthAriaLabelPrefix,day:S,onDayClick:t.handleDayClick,handleOnKeyDown:t.props.handleOnDayKeyDown,handleOnMonthKeyDown:t.props.handleOnKeyDown,onDayMouseEnter:t.handleDayMouseEnter,onMouseLeave:t.handleMonthMouseLeave,orderInDisplay:g,selectingDate:t.state.selectingDate,monthShowsDuplicateDaysEnd:A,monthShowsDuplicateDaysStart:C}))))}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(JN,ut({},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($N,ut({},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&&Sf(l)&&!!t.props.selected,c=s?"".concat(jb(l.getHours()),":").concat(jb(l.getMinutes())):"";if(t.props.showTimeInput)return G.createElement(BN,ut({},i.defaultProps,t.props,{date:l,timeString:c,onChange:t.props.onTimeChange}))},t.renderAriaLiveRegion=function(){var l,s=Ri(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=Qe(t.state.date):h="".concat(rv(Vn(t.state.date),t.props.locale)," ").concat(Qe(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:ou}},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&&(!st(this.props.preSelection,n.preSelection)||this.props.monthSelectedIn!==n.monthSelectedIn)){var l=!Gn(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return l&&t.handleCustomMonthChange(t.state.date)})}else this.props.openToDate&&!st(this.props.openToDate,n.openToDate)&&this.setState({date:this.props.openToDate})},i.prototype.render=function(){var n=this.props.container||bN;return G.createElement(Ef,{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),lk=function(r){var i=r.icon,n=r.className,t=n===void 0?"":n,l=r.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"}))},K8=function(r){En(i,r);function i(n){var t=r.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 LD.createPortal(this.props.children,this.el)},i}(y.Component),ok="[tabindex], a, button, input, select, textarea",sk=function(r){return(r instanceof HTMLAnchorElement||!r.disabled)&&r.tabIndex!==-1},X8=function(r){En(i,r);function i(n){var t=r.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(ok),1,-1).filter(sk)},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 uk(r){var i=function(n){var t,l=typeof n.hidePopper=="boolean"?n.hidePopper:!0,s=y.useRef(null),c=yN(ut({open:!l,whileElementsMounted:KR,placement:n.popperPlacement,middleware:da([rN({padding:15}),nN(10),aN({element:s})],(t=n.popperModifiers)!==null&&t!==void 0?t:[],!0)},n.popperProps)),d=ut(ut({},n),{hidePopper:l,popperProps:ut(ut({},c),{arrowRef:s})});return G.createElement(r,ut({},d))};return i}var ck=function(r){En(i,r);function i(){return r!==null&&r.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,S=n.popperProps,T=n.showArrow,A=void 0;if(!c){var C=Nn("react-datepicker-popper",t);A=G.createElement(X8,{enableTabLoop:m},G.createElement("div",{ref:S.refs.setFloating,style:S.floatingStyles,className:C,"data-placement":S.placement,onKeyDown:v},d,T&&G.createElement(fN,{ref:S.arrowRef,context:S.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(A=y.createElement(this.props.popperContainer,{},A)),g&&!c&&(A=G.createElement(K8,{portalId:g,portalHost:_},A));var N=Nn("react-datepicker-wrapper",l);return G.createElement(G.Fragment,null,G.createElement("div",{ref:S.refs.setReference,className:N},h),A)},i}(y.Component),fk=uk(ck),Zb="react-datepicker-ignore-onclickoutside";function dk(r,i){return r&&i?Vn(r)!==Vn(i)||Qe(r)!==Qe(i):r!==i}var Cm="Date input not valid.",hk=function(r){En(i,r);function i(n){var t=r.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:gt()},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 Sf(d)?da(da([],s,!0),[ut(ut({},c),{date:d})],!1):s},[])},t.calcInitialState=function(){var l,s=t.getPreSelection(),c=W8(t.props),d=Z8(t.props),h=c&&Sl(s,Uc(c))?c:d&&qi(s,kb(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:Bb(t.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},t.resetHiddenStatus=function(){t.setState(ut(ut({},t.state),{wasHidden:!1}))},t.setHiddenStatus=function(){t.setState(ut(ut({},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:Rm},function(){l||t.setState(function(c){return{focused:s?c.focused:!1}},function(){!s&&t.deferBlur(),t.setState({inputValue:null})})})},t.inputOk=function(){return Ga(t.state.preSelection)},t.isCalendarOpen=function(){return t.props.open===void 0?t.state.open&&!t.props.disabled&&!t.props.readOnly:t.props.open},t.handleFocus=function(l){var s,c,d=t.state.wasHidden,h=d?t.state.open:!0;d&&t.resetHiddenStatus(),t.state.preventFocus||((c=(s=t.props).onFocus)===null||c===void 0||c.call(s,l),h&&!t.props.preventOpenOnFocus&&!t.props.readOnly&&t.setOpen(!0)),t.setState({focused:!0})},t.sendFocusBackToInput=function(){t.preventFocusTimeout&&t.clearPreventFocusTimeout(),t.setState({preventFocus:!0},function(){t.preventFocusTimeout=setTimeout(function(){t.setFocus(),t.setState({preventFocus:!1})})})},t.cancelFocusInput=function(){clearTimeout(t.inputFocusTimeout),t.inputFocusTimeout=void 0},t.deferFocusInput=function(){t.cancelFocusInput(),t.inputFocusTimeout=setTimeout(function(){return t.setFocus()},1)},t.handleDropdownFocus=function(){t.cancelFocusInput()},t.handleBlur=function(l){var s,c;(!t.state.open||t.props.withPortal||t.props.showTimeInput)&&((c=(s=t.props).onBlur)===null||c===void 0||c.call(s,l)),t.state.open&&t.props.open===!1&&t.setOpen(!1),t.setState({focused:!1})},t.handleCalendarClickOutside=function(l){var s,c;t.props.inline||t.setOpen(!1),(c=(s=t.props).onClickOutside)===null||c===void 0||c.call(s,l),t.props.withPortal&&l.preventDefault()},t.handleChange=function(){for(var l,s,c,d,h,m=[],v=0;v<arguments.length;v++)m[v]=arguments[v];var g=m[0];if(!(t.props.onChangeRaw&&(t.props.onChangeRaw.apply(t,m),!g||typeof g.isDefaultPrevented!="function"||g.isDefaultPrevented()))){t.setState({inputValue:(g==null?void 0:g.target)instanceof HTMLInputElement?g.target.value:null,lastPreSelectChange:pk});var _=t.props,S=_.selectsRange,T=_.startDate,A=_.endDate,C=(l=t.props.dateFormat)!==null&&l!==void 0?l:i.defaultProps.dateFormat,N=(s=t.props.strictParsing)!==null&&s!==void 0?s:i.defaultProps.strictParsing,O=(g==null?void 0:g.target)instanceof HTMLInputElement?g.target.value:"";if(S){var B=O.split("-",2).map(function(k){return k.trim()}),Q=B[0],$=B[1],ne=Om(Q??"",C,t.props.locale,N),Z=Om($??"",C,t.props.locale,N),w=(T==null?void 0:T.getTime())!==(ne==null?void 0:ne.getTime()),E=(A==null?void 0:A.getTime())!==(Z==null?void 0:Z.getTime());if(!w&&!E||ne&&Cr(ne,t.props)||Z&&Cr(Z,t.props))return;(d=(c=t.props).onChange)===null||d===void 0||d.call(c,[ne,Z],g)}else{var D=Om(O,C,t.props.locale,N,(h=t.props.selected)!==null&&h!==void 0?h:void 0);(D||!O)&&t.setSelected(D,g,!0)}}},t.handleSelect=function(l,s,c){if(t.props.shouldCloseOnSelect&&!t.props.showTimeSelect&&t.sendFocusBackToInput(),t.props.onChangeRaw&&t.props.onChangeRaw(s),t.setSelected(l,s,!1,c),t.props.showDateSelect&&t.setState({isRenderAriaLiveMessage:!0}),!t.props.shouldCloseOnSelect||t.props.showTimeSelect)t.setPreSelection(l);else if(!t.props.inline){t.props.selectsRange||t.setOpen(!1);var d=t.props,h=d.startDate,m=d.endDate;h&&!m&&(t.props.swapRange||!Gb(l,h))&&t.setOpen(!1)}},t.setSelected=function(l,s,c,d){var h,m,v=l;if(t.props.showYearPicker){if(v!==null&&Pc(Qe(v),t.props))return}else if(t.props.showMonthYearPicker){if(v!==null&&V8(v,t.props))return}else if(v!==null&&Cr(v,t.props))return;var g=t.props,_=g.onChange,S=g.selectsRange,T=g.startDate,A=g.endDate,C=g.selectsMultiple,N=g.selectedDates,O=g.minTime,B=g.swapRange;if(!ml(t.props.selected,v)||t.props.allowSameDay||S||C)if(v!==null&&(t.props.selected&&(!c||!t.props.showTimeSelect&&!t.props.showTimeSelectOnly&&!t.props.showTimeInput)&&(v=Mm(v,{hour:Va(t.props.selected),minute:Wa(t.props.selected),second:Ni(t.props.selected)})),!c&&(t.props.showTimeSelect||t.props.showTimeSelectOnly)&&O&&(v=Mm(v,{hour:O.getHours(),minute:O.getMinutes(),second:O.getSeconds()})),t.props.inline||t.setState({preSelection:v}),t.props.focusSelectedMonth||t.setState({monthSelectedIn:d})),S){var Q=!T&&!A,$=T&&!A,ne=T&&A;Q?_==null||_([v,null],s):$&&(v===null?_==null||_([null,null],s):Gb(v,T)?B?_==null||_([v,T],s):_==null||_([v,null],s):_==null||_([T,v],s)),ne&&(_==null||_([v,null],s))}else if(C){if(v!==null)if(!(N!=null&&N.length))_==null||_([v],s);else{var Z=N.some(function(E){return st(E,v)});if(Z){var w=N.filter(function(E){return!st(E,v)});_==null||_(w,s)}else _==null||_(da(da([],N,!0),[v],!1),s)}}else _==null||_(v,s);c||((m=(h=t.props).onSelect)===null||m===void 0||m.call(h,v,s),t.setState({inputValue:null}))},t.setPreSelection=function(l){var s=Ga(t.props.minDate),c=Ga(t.props.maxDate),d=!0;if(l){var h=Uc(l);if(s&&c)d=Gs(l,t.props.minDate,t.props.maxDate);else if(s){var m=Uc(t.props.minDate);d=qi(l,m)||ml(h,m)}else if(c){var v=kb(t.props.maxDate);d=Sl(l,v)||ml(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:Mm(d,{hour:Va(l),minute:Wa(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"]',S=((h=t.calendar)===null||h===void 0?void 0:h.containerRef.current)instanceof Element&&t.calendar.containerRef.current.querySelector(_);S instanceof HTMLElement&&S.focus({preventScroll:!0});return}var T=gt(t.state.preSelection);g===ve.Enter?(l.preventDefault(),l.target.blur(),t.inputOk()&&t.state.lastPreSelectChange===Rm?(t.handleSelect(T,l),!t.props.shouldCloseOnSelect&&t.setPreSelection(T)):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:Cm})}},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,S=g.maxDate,T=g.disabledKeyboardNavigation,A=g.showWeekPicker,C=g.shouldCloseOnSelect,N=g.locale,O=g.calendarStartDay,B=g.adjustDateOnChange,Q=g.inline;if((c=(s=t.props).onKeyDown)===null||c===void 0||c.call(s,l),!T){var $=l.key,ne=l.shiftKey,Z=gt(t.state.preSelection),w=function(H,M){var P=M;switch(H){case ve.ArrowRight:P=A?Gc(M,1):Ir(M,1);break;case ve.ArrowLeft:P=A?Sb(M):pR(M);break;case ve.ArrowUp:P=Sb(M);break;case ve.ArrowDown:P=Gc(M,1);break;case ve.PageUp:P=ne?wo(M,1):yl(M,1);break;case ve.PageDown:P=ne?Fa(M,1):Wr(M,1);break;case ve.Home:P=ki(M,N,O);break;case ve.End:P=TN(M);break}return P},E=function(H,M){for(var P=40,L=H,J=!1,R=0,I=w(H,M);!J;){if(R>=P){I=M;break}_&&I<_&&(L=ve.ArrowRight,I=Cr(_,t.props)?w(L,I):_),S&&I>S&&(L=ve.ArrowLeft,I=Cr(S,t.props)?w(L,I):S),Cr(I,t.props)?((L===ve.PageUp||L===ve.Home)&&(L=ve.ArrowRight),(L===ve.PageDown||L===ve.End)&&(L=ve.ArrowLeft),I=w(L,I)):J=!0,R++}return I};if($===ve.Enter){l.preventDefault(),t.handleSelect(Z,l),!C&&t.setPreSelection(Z);return}else if($===ve.Escape){l.preventDefault(),t.setOpen(!1),t.inputOk()||(h=(d=t.props).onInputError)===null||h===void 0||h.call(d,{code:1,msg:Cm});return}var D=null;switch($){case ve.ArrowLeft:case ve.ArrowRight:case ve.ArrowUp:case ve.ArrowDown:case ve.PageUp:case ve.PageDown:case ve.Home:case ve.End:D=E($,Z);break}if(!D){(v=(m=t.props).onInputError)===null||v===void 0||v.call(m,{code:1,msg:Cm});return}if(l.preventDefault(),t.setState({lastPreSelectChange:Rm}),B&&t.setSelected(D),t.setPreSelection(D),Q){var k=Vn(Z),q=Vn(D),z=Qe(Z),j=Qe(D);k!==q||z!==j?t.setState({shouldFocusDayInline:!0}):t.setState({shouldFocusDayInline:!1})}}},t.onPopperKeyDown=function(l){var s=l.key;s===ve.Escape&&(l.preventDefault(),t.sendFocusBackToInput())},t.onClearClick=function(l){l&&l.preventDefault&&l.preventDefault(),t.sendFocusBackToInput();var s=t.props,c=s.selectsRange,d=s.onChange;c?d==null||d([null,null],l):d==null||d(null,l),t.setState({inputValue:null})},t.clear=function(){t.onClearClick()},t.onScroll=function(l){typeof t.props.closeOnScroll=="boolean"&&t.props.closeOnScroll?(l.target===document||l.target===document.documentElement||l.target===document.body)&&t.setOpen(!1):typeof t.props.closeOnScroll=="function"&&t.props.closeOnScroll(l)&&t.setOpen(!1)},t.renderCalendar=function(){var l,s;return!t.props.inline&&!t.isCalendarOpen()?null:G.createElement(ik,ut({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:UN(t.modifyHolidays()),outsideClickIgnoreClass:Zb,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(Mr(t.props.startDate,{dateFormat:m,locale:d}),". ").concat(t.props.endDate?"End date: "+Mr(t.props.endDate,{dateFormat:m,locale:d}):""):t.props.showTimeSelectOnly?v="Selected time: ".concat(Mr(t.props.selected,{dateFormat:c,locale:d})):t.props.showYearPicker?v="Selected year: ".concat(Mr(t.props.selected,{dateFormat:"yyyy",locale:d})):t.props.showMonthYearPicker?v="Selected month: ".concat(Mr(t.props.selected,{dateFormat:"MMMM yyyy",locale:d})):t.props.showQuarterYearPicker?v="Selected quarter: ".concat(Mr(t.props.selected,{dateFormat:"yyyy, QQQ",locale:d})):v="Selected date: ".concat(Mr(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[Zb]=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,S=v.locale,T=typeof t.props.value=="string"?t.props.value:typeof t.state.inputValue=="string"?t.state.inputValue:t.props.selectsRange?wN(t.props.startDate,t.props.endDate,{dateFormat:_,locale:S}):t.props.selectsMultiple?EN((c=t.props.selectedDates)!==null&&c!==void 0?c:[],{dateFormat:_,locale:S}):Mr(t.props.selected,{dateFormat:_,locale:S});return y.cloneElement(h,(s={},s[m]=function(A){t.input=A},s.value=T,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,S=l.ariaLabelClose,T=S===void 0?"Close":S,A=l.selectedDates;return s&&(d!=null||h!=null||m!=null||A!=null&&A.length)?G.createElement("button",{type:"button",className:Nn("react-datepicker__close-icon",_,{"react-datepicker__close-icon--disabled":c}),disabled:c,"aria-label":T,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:ou,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&&dk(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:Bb(this.props.highlightDates)}),!t.focused&&!ml(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(lk,ut({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(X8,{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(K8,ut({portalId:this.props.portalId},this.props),t)),G.createElement("div",null,this.renderInputContainer(),t)}return G.createElement(fk,ut({},this.props,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),targetComponent:this.renderInputContainer(),popperComponent:n,popperOnKeyDown:this.onPopperKeyDown,showArrow:this.props.showPopperArrow}))},i}(y.Component),pk="input",Rm="navigate";const mk=({title:r,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},r?y.createElement("title",{id:i},r):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"})),vk=y.forwardRef(mk),gk={year:"numeric",month:"long",day:"numeric"},yk=({restart:r,proceed:i})=>{const{controlCode:n}=er(Z=>Z),[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({}),[S,T]=y.useState(null),A=y.useRef(null),C=()=>A.current.setOpen(!0),N=["photo","valid","lastName","firstName"];y.useEffect(()=>{gM(n.dayOfBirth).then(Z=>{l(Z)})},[]);const O=(Z,w)=>{const E=[...d];E[Z]=w,h(E)},B=Z=>Z<10?`0${Z}`:Z.toString(),Q=()=>{const Z=qe.locale==="nl"?"nl-NL":"en-EN";return{dayOfBirth:S.toLocaleDateString(Z,gk)}},$=Z=>{T(Z);const w=`${Z.getFullYear()}-${B(Z.getMonth()+1)}-${B(Z.getDate())}`,E={...n,dayOfBirth:w};er.setState(()=>({controlCode:E}))},ne=()=>{const{firstName:Z,lastName:w,dayOfBirth:E,code:D,userUid:k}=n;c(!0),yM(Z,w,E,D,m,k).then(()=>{_({}),c(!1),i()}).catch(q=>{c(!1),q.response.json().then(z=>{_(z),window.scrollTo({top:0,left:0,behavior:"smooth"})})})};return X.jsxs("div",{className:"control",children:[X.jsxs("div",{className:"control-header",children:[X.jsxs("h2",{children:[qe.t("control.header"),X.jsx("span",{className:"code",children:n.code})]}),X.jsx(Ws,{txt:qe.t("control.restart"),type:Ai.GhostDark,onClick:()=>r()})]}),!Ba(g)&&X.jsx("div",{className:"error",children:X.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:Ci.sanitize(qe.t("control.error",g))}})}),X.jsxs("div",{className:"control-validation",children:[X.jsx("h4",{children:qe.t("control.info")}),X.jsx("p",{children:qe.t("control.validDocuments")}),X.jsx(D2,{toasterType:Mi.Warning,message:qe.t("control.inValidDocuments")}),X.jsx("h4",{children:qe.t("control.isValid")}),N.map((Z,w)=>X.jsxs("div",{className:"validation-item",children:[X.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:Ci.sanitize(qe.t(`control.validations.${Z}`,n))}}),X.jsx(a4,{value:d[w],onChange:E=>O(w,E)})]},Z)),X.jsxs("div",{className:"validation-item column",children:[X.jsxs("div",{className:"validation-item-inner",children:[X.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:Ci.sanitize(qe.t("control.validations.dayOfBirth",!t&&S!==null?Q():n))}}),X.jsx(a4,{value:d[4],disabled:!t&&S===null,onChange:Z=>O(4,Z)})]}),!t&&X.jsxs("div",{className:`validation-item-inner birthday ${S===null?"invalid":"valid"}`,children:[X.jsx("p",{children:qe.t(`control.${S===null?"invalidDate":"validDate"}`)}),X.jsx(hk,{ref:A,preventOpenOnFocus:!0,onChange:$,showWeekNumbers:!0,selected:S,showYearDropdown:!0,showMonthDropdown:!0,dropdownMode:"select",weekLabel:"Week",todayButton:null}),X.jsx("div",{className:"calendar",onClick:C,children:X.jsx(vk,{})})]})]}),X.jsxs("div",{className:"validation-item column",children:[X.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:Ci.sanitize(qe.t("control.idDocument"))}}),X.jsxs("div",{className:"code-validation",children:[X.jsx(h9,{verify:Z=>v(Z),size:6,focusFirst:!1,validate:()=>!0}),X.jsx(Ws,{txt:qe.t("control.proceed"),disabled:Ba(m)||d.some(Z=>!Z)||s||!Ba(g)||!t&&Ba(S),onClick:()=>ne()})]})]})]})]})},bk=({title:r,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},r?y.createElement("title",{id:i},r):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})),_k=y.forwardRef(bk),wk=({restart:r})=>{const{controlCode:i}=er(n=>n);return X.jsxs("div",{className:"confirmation",children:[X.jsx("h4",{children:qe.t("confirmation.header")}),X.jsx(D2,{toasterType:Mi.Success,message:qe.t("confirmation.info",{controlCode:i})}),X.jsx("div",{className:"img-container",children:X.jsx(_k,{})}),X.jsx("div",{className:"button-container",children:X.jsx(Ws,{txt:qe.t("confirmation.restart"),type:Ai.GhostDark,onClick:()=>r()})})]})},Ek=()=>{const[r,i]=y.useState(1);if(r===1)return X.jsx(lA,{proceed:()=>i(2)});if(r===2)return X.jsx(yk,{restart:()=>i(1),proceed:()=>i(3)});if(r===3)return X.jsx(wk,{restart:()=>i(1)})},Sk=()=>{const{tab:r="verify"}=S9(),[i,n]=y.useState(r),[t,l]=y.useState([]),[s,c]=y.useState(!0),d=Ao(),h=er(v=>v.user);y.useEffect(()=>{h&&er.setState({breadcrumbPath:[{path:"/home",value:qe.t("tabs.home")},{value:qe.t(`tabs.${i}`)}]});const v=[X.jsx(rA,{name:"verify",label:qe.t("tabs.verify"),children:X.jsx(Ek,{})},"verify")];l(v),c(!1)},[i,h]);const m=v=>{n(v),d(`/home/${v}`)};return s?X.jsx(S2,{}):X.jsx("div",{className:"home",children:X.jsxs("div",{className:"mod-home-container",children:[X.jsx(nA,{children:X.jsx("h1",{children:qe.t("landing.header.subTitle",{name:h.displayName})})}),X.jsx(tA,{activeTab:i,tabChanged:m,children:t})]})})},Dk=()=>{const r=n=>t=>{s8(t),u8.set("lang",n,{expires:356,secure:document.location.protocol.endsWith("https")}),qe.locale=n,window.location.search=aM(window.location.search,"lang",n)},i=n=>X.jsx("a",{href:"locale",className:`${qe.locale===n?"is-active":"not-active"}`,title:qe.t("footer.select_locale"),onClick:r(n),children:qe.translations[n].code});return X.jsx("nav",{className:"sds--language-switcher sds--text--body--small","aria-label":"Language",children:X.jsxs("ul",{children:[X.jsxs("li",{children:[i("nl"),X.jsx("span",{className:"sds--language-sds--divider",children:"|"})]}),X.jsx("li",{children:i("en")})]})})},Tk=()=>X.jsx("footer",{className:"sds--footer sds--footer--single-bar",children:X.jsx("div",{className:"sds--page-container",children:X.jsxs("div",{className:"sds--footer--inner",children:[X.jsx("nav",{className:"menu sds--text--body--small",children:X.jsxs("ul",{children:[X.jsx("li",{children:X.jsx("a",{href:qe.t("footer.termsLink"),target:"_blank",rel:"noopener noreferrer",children:X.jsx("span",{children:qe.t("footer.terms")})})}),X.jsx("li",{children:X.jsx("a",{href:qe.t("footer.privacyLink"),target:"_blank",rel:"noopener noreferrer",children:X.jsx("span",{children:qe.t("footer.privacy")})})})]})}),X.jsx(Dk,{}),X.jsx("div",{className:"sds--branding",children:X.jsx("a",{href:qe.t("footer.surfLink"),target:"_blank",rel:"noopener noreferrer",children:X.jsx(p9,{label:"",position:m9.Bottom})})})]})})}),xk=()=>{const[r,i]=y.useState(!0),[n,t]=y.useState(!1),l=Ao();return y.useEffect(()=>{if(window.location.pathname.endsWith("/login")){i(!1);return}pM().then(s=>{er.setState(()=>({user:s})),i(!1),s.serviceDeskMember?(t(!0),l("/home")):l("/404")}).catch(()=>{i(!1),l("/login")})},[]),r?X.jsx(S2,{}):X.jsxs("div",{className:"service-desk",children:[X.jsxs("div",{className:"container",children:[X.jsx(bM,{}),X.jsx(wM,{}),n&&X.jsxs(Jm,{children:[X.jsx(Br,{path:"/",element:X.jsx(c4,{replace:!0,to:"home"})}),X.jsx(Br,{path:"/home/:tab?",element:X.jsx(Sk,{})}),X.jsx(Br,{path:"/refresh-route/:path",element:X.jsx(DM,{})}),X.jsx(Br,{path:"/login",element:X.jsx(db,{})}),X.jsx(Br,{path:"*",element:X.jsx(gm,{})})]}),!n&&X.jsxs(Jm,{children:[X.jsx(Br,{path:"/login",element:X.jsx(db,{})}),X.jsx(Br,{path:"/",element:X.jsx(c4,{replace:!0,to:"404"})}),X.jsx(Br,{path:"/404",element:X.jsx(gm,{})}),X.jsx(Br,{path:"/*",element:X.jsx(gm,{})})]})]}),X.jsx(Tk,{})]})},Ok=iE.createRoot(document.getElementById("root"));Ok.render(X.jsx(y.StrictMode,{children:X.jsx(DD,{children:X.jsx(Jm,{children:X.jsx(Br,{path:"/*",element:X.jsx(xk,{})})})})}));
