var DS=Object.defineProperty;var TS=(a,i,n)=>i in a?DS(a,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[i]=n;var _e=(a,i,n)=>TS(a,typeof i!="symbol"?i+"":i,n);function xS(a,i){for(var n=0;n<i.length;n++){const t=i[n];if(typeof t!="string"&&!Array.isArray(t)){for(const l in t)if(l!=="default"&&!(l in a)){const s=Object.getOwnPropertyDescriptor(t,l);s&&Object.defineProperty(a,l,s.get?s:{enumerable:!0,get:()=>t[l]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))t(l);new MutationObserver(l=>{for(const s of l)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&t(c)}).observe(document,{childList:!0,subtree:!0});function n(l){const s={};return l.integrity&&(s.integrity=l.integrity),l.referrerPolicy&&(s.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?s.credentials="include":l.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function t(l){if(l.ep)return;l.ep=!0;const s=n(l);fetch(l.href,s)}})();var nc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gr(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var t1={exports:{}},vs={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var n4;function MS(){if(n4)return vs;n4=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function n(t,l,s){var c=null;if(s!==void 0&&(c=""+s),l.key!==void 0&&(c=""+l.key),"key"in l){s={};for(var d in l)d!=="key"&&(s[d]=l[d])}else s=l;return l=s.ref,{$$typeof:a,type:t,key:c,ref:l!==void 0?l:null,props:s}}return vs.Fragment=i,vs.jsx=n,vs.jsxs=n,vs}var r4;function OS(){return r4||(r4=1,t1.exports=MS()),t1.exports}var W=OS(),n1={exports:{}},gs={},r1={exports:{}},a1={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var a4;function AS(){return a4||(a4=1,function(a){function i(T,R){var k=T.length;T.push(R);e:for(;0<k;){var $=k-1>>>1,A=T[$];if(0<l(A,R))T[$]=R,T[k]=A,k=$;else break e}}function n(T){return T.length===0?null:T[0]}function t(T){if(T.length===0)return null;var R=T[0],k=T.pop();if(k!==R){T[0]=k;e:for(var $=0,A=T.length,Y=A>>>1;$<Y;){var oe=2*($+1)-1,ae=T[oe],pe=oe+1,ce=T[pe];if(0>l(ae,k))pe<A&&0>l(ce,ae)?(T[$]=ce,T[pe]=k,$=pe):(T[$]=ae,T[oe]=k,$=oe);else if(pe<A&&0>l(ce,k))T[$]=ce,T[pe]=k,$=pe;else break e}}return R}function l(T,R){var k=T.sortIndex-R.sortIndex;return k!==0?k:T.id-R.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;a.unstable_now=function(){return s.now()}}else{var c=Date,d=c.now();a.unstable_now=function(){return c.now()-d}}var h=[],m=[],v=1,g=null,b=3,D=!1,M=!1,C=!1,N=!1,H=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate<"u"?setImmediate:null;function K(T){for(var R=n(m);R!==null;){if(R.callback===null)t(m);else if(R.startTime<=T)t(m),R.sortIndex=R.expirationTime,i(h,R);else break;R=n(m)}}function X(T){if(C=!1,K(T),!M)if(n(h)!==null)M=!0,re||(re=!0,L());else{var R=n(m);R!==null&&U(X,R.startTime-T)}}var re=!1,V=-1,S=5,E=-1;function w(){return N?!0:!(a.unstable_now()-E<S)}function q(){if(N=!1,re){var T=a.unstable_now();E=T;var R=!0;try{e:{M=!1,C&&(C=!1,O(V),V=-1),D=!0;var k=b;try{t:{for(K(T),g=n(h);g!==null&&!(g.expirationTime>T&&w());){var $=g.callback;if(typeof $=="function"){g.callback=null,b=g.priorityLevel;var A=$(g.expirationTime<=T);if(T=a.unstable_now(),typeof A=="function"){g.callback=A,K(T),R=!0;break t}g===n(h)&&t(h),K(T)}else t(h);g=n(h)}if(g!==null)R=!0;else{var Y=n(m);Y!==null&&U(X,Y.startTime-T),R=!1}}break e}finally{g=null,b=k,D=!1}R=void 0}}finally{R?L():re=!1}}}var L;if(typeof Z=="function")L=function(){Z(q)};else if(typeof MessageChannel<"u"){var z=new MessageChannel,j=z.port2;z.port1.onmessage=q,L=function(){j.postMessage(null)}}else L=function(){H(q,0)};function U(T,R){V=H(function(){T(a.unstable_now())},R)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(T){T.callback=null},a.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<T?Math.floor(1e3/T):5},a.unstable_getCurrentPriorityLevel=function(){return b},a.unstable_next=function(T){switch(b){case 1:case 2:case 3:var R=3;break;default:R=b}var k=b;b=R;try{return T()}finally{b=k}},a.unstable_requestPaint=function(){N=!0},a.unstable_runWithPriority=function(T,R){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var k=b;b=T;try{return R()}finally{b=k}},a.unstable_scheduleCallback=function(T,R,k){var $=a.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?$+k:$):k=$,T){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5e3}return A=k+A,T={id:v++,callback:R,priorityLevel:T,startTime:k,expirationTime:A,sortIndex:-1},k>$?(T.sortIndex=k,i(m,T),n(h)===null&&T===n(m)&&(C?(O(V),V=-1):C=!0,U(X,k-$))):(T.sortIndex=A,i(h,T),M||D||(M=!0,re||(re=!0,L()))),T},a.unstable_shouldYield=w,a.unstable_wrapCallback=function(T){var R=b;return function(){var k=b;b=R;try{return T.apply(this,arguments)}finally{b=k}}}}(a1)),a1}var i4;function CS(){return i4||(i4=1,r1.exports=AS()),r1.exports}var i1={exports:{}},Ye={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var l4;function RS(){if(l4)return Ye;l4=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),t=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.iterator;function b(A){return A===null||typeof A!="object"?null:(A=g&&A[g]||A["@@iterator"],typeof A=="function"?A:null)}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M=Object.assign,C={};function N(A,Y,oe){this.props=A,this.context=Y,this.refs=C,this.updater=oe||D}N.prototype.isReactComponent={},N.prototype.setState=function(A,Y){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,Y,"setState")},N.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function H(){}H.prototype=N.prototype;function O(A,Y,oe){this.props=A,this.context=Y,this.refs=C,this.updater=oe||D}var Z=O.prototype=new H;Z.constructor=O,M(Z,N.prototype),Z.isPureReactComponent=!0;var K=Array.isArray,X={H:null,A:null,T:null,S:null,V:null},re=Object.prototype.hasOwnProperty;function V(A,Y,oe,ae,pe,ce){return oe=ce.ref,{$$typeof:a,type:A,key:Y,ref:oe!==void 0?oe:null,props:ce}}function S(A,Y){return V(A.type,Y,void 0,void 0,void 0,A.props)}function E(A){return typeof A=="object"&&A!==null&&A.$$typeof===a}function w(A){var Y={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(oe){return Y[oe]})}var q=/\/+/g;function L(A,Y){return typeof A=="object"&&A!==null&&A.key!=null?w(""+A.key):Y.toString(36)}function z(){}function j(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(z,z):(A.status="pending",A.then(function(Y){A.status==="pending"&&(A.status="fulfilled",A.value=Y)},function(Y){A.status==="pending"&&(A.status="rejected",A.reason=Y)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function U(A,Y,oe,ae,pe){var ce=typeof A;(ce==="undefined"||ce==="boolean")&&(A=null);var he=!1;if(A===null)he=!0;else switch(ce){case"bigint":case"string":case"number":he=!0;break;case"object":switch(A.$$typeof){case a:case i:he=!0;break;case v:return he=A._init,U(he(A._payload),Y,oe,ae,pe)}}if(he)return pe=pe(A),he=ae===""?"."+L(A,0):ae,K(pe)?(oe="",he!=null&&(oe=he.replace(q,"$&/")+"/"),U(pe,Y,oe,"",function(rt){return rt})):pe!=null&&(E(pe)&&(pe=S(pe,oe+(pe.key==null||A&&A.key===pe.key?"":(""+pe.key).replace(q,"$&/")+"/")+he)),Y.push(pe)),1;he=0;var je=ae===""?".":ae+":";if(K(A))for(var Be=0;Be<A.length;Be++)ae=A[Be],ce=je+L(ae,Be),he+=U(ae,Y,oe,ce,pe);else if(Be=b(A),typeof Be=="function")for(A=Be.call(A),Be=0;!(ae=A.next()).done;)ae=ae.value,ce=je+L(ae,Be++),he+=U(ae,Y,oe,ce,pe);else if(ce==="object"){if(typeof A.then=="function")return U(j(A),Y,oe,ae,pe);throw Y=String(A),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return he}function T(A,Y,oe){if(A==null)return A;var ae=[],pe=0;return U(A,ae,"","",function(ce){return Y.call(oe,ce,pe++)}),ae}function R(A){if(A._status===-1){var Y=A._result;Y=Y(),Y.then(function(oe){(A._status===0||A._status===-1)&&(A._status=1,A._result=oe)},function(oe){(A._status===0||A._status===-1)&&(A._status=2,A._result=oe)}),A._status===-1&&(A._status=0,A._result=Y)}if(A._status===1)return A._result.default;throw A._result}var k=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)};function $(){}return Ye.Children={map:T,forEach:function(A,Y,oe){T(A,function(){Y.apply(this,arguments)},oe)},count:function(A){var Y=0;return T(A,function(){Y++}),Y},toArray:function(A){return T(A,function(Y){return Y})||[]},only:function(A){if(!E(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},Ye.Component=N,Ye.Fragment=n,Ye.Profiler=l,Ye.PureComponent=O,Ye.StrictMode=t,Ye.Suspense=h,Ye.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=X,Ye.__COMPILER_RUNTIME={__proto__:null,c:function(A){return X.H.useMemoCache(A)}},Ye.cache=function(A){return function(){return A.apply(null,arguments)}},Ye.cloneElement=function(A,Y,oe){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var ae=M({},A.props),pe=A.key,ce=void 0;if(Y!=null)for(he in Y.ref!==void 0&&(ce=void 0),Y.key!==void 0&&(pe=""+Y.key),Y)!re.call(Y,he)||he==="key"||he==="__self"||he==="__source"||he==="ref"&&Y.ref===void 0||(ae[he]=Y[he]);var he=arguments.length-2;if(he===1)ae.children=oe;else if(1<he){for(var je=Array(he),Be=0;Be<he;Be++)je[Be]=arguments[Be+2];ae.children=je}return V(A.type,pe,void 0,void 0,ce,ae)},Ye.createContext=function(A){return A={$$typeof:c,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:s,_context:A},A},Ye.createElement=function(A,Y,oe){var ae,pe={},ce=null;if(Y!=null)for(ae in Y.key!==void 0&&(ce=""+Y.key),Y)re.call(Y,ae)&&ae!=="key"&&ae!=="__self"&&ae!=="__source"&&(pe[ae]=Y[ae]);var he=arguments.length-2;if(he===1)pe.children=oe;else if(1<he){for(var je=Array(he),Be=0;Be<he;Be++)je[Be]=arguments[Be+2];pe.children=je}if(A&&A.defaultProps)for(ae in he=A.defaultProps,he)pe[ae]===void 0&&(pe[ae]=he[ae]);return V(A,ce,void 0,void 0,null,pe)},Ye.createRef=function(){return{current:null}},Ye.forwardRef=function(A){return{$$typeof:d,render:A}},Ye.isValidElement=E,Ye.lazy=function(A){return{$$typeof:v,_payload:{_status:-1,_result:A},_init:R}},Ye.memo=function(A,Y){return{$$typeof:m,type:A,compare:Y===void 0?null:Y}},Ye.startTransition=function(A){var Y=X.T,oe={};X.T=oe;try{var ae=A(),pe=X.S;pe!==null&&pe(oe,ae),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"&&ae.then($,k)}catch(ce){k(ce)}finally{X.T=Y}},Ye.unstable_useCacheRefresh=function(){return X.H.useCacheRefresh()},Ye.use=function(A){return X.H.use(A)},Ye.useActionState=function(A,Y,oe){return X.H.useActionState(A,Y,oe)},Ye.useCallback=function(A,Y){return X.H.useCallback(A,Y)},Ye.useContext=function(A){return X.H.useContext(A)},Ye.useDebugValue=function(){},Ye.useDeferredValue=function(A,Y){return X.H.useDeferredValue(A,Y)},Ye.useEffect=function(A,Y,oe){var ae=X.H;if(typeof oe=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return ae.useEffect(A,Y)},Ye.useId=function(){return X.H.useId()},Ye.useImperativeHandle=function(A,Y,oe){return X.H.useImperativeHandle(A,Y,oe)},Ye.useInsertionEffect=function(A,Y){return X.H.useInsertionEffect(A,Y)},Ye.useLayoutEffect=function(A,Y){return X.H.useLayoutEffect(A,Y)},Ye.useMemo=function(A,Y){return X.H.useMemo(A,Y)},Ye.useOptimistic=function(A,Y){return X.H.useOptimistic(A,Y)},Ye.useReducer=function(A,Y,oe){return X.H.useReducer(A,Y,oe)},Ye.useRef=function(A){return X.H.useRef(A)},Ye.useState=function(A){return X.H.useState(A)},Ye.useSyncExternalStore=function(A,Y,oe){return X.H.useSyncExternalStore(A,Y,oe)},Ye.useTransition=function(){return X.H.useTransition()},Ye.version="19.1.0",Ye}var o4;function Q2(){return o4||(o4=1,i1.exports=RS()),i1.exports}var l1={exports:{}},Un={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var s4;function NS(){if(s4)return Un;s4=1;var a=Q2();function i(h){var m="https://react.dev/errors/"+h;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)m+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+h+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var t={d:{f:n,r:function(){throw Error(i(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},l=Symbol.for("react.portal");function s(h,m,v){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:g==null?null:""+g,children:h,containerInfo:m,implementation:v}}var c=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(h,m){if(h==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return Un.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=t,Un.createPortal=function(h,m){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(i(299));return s(h,m,null,v)},Un.flushSync=function(h){var m=c.T,v=t.p;try{if(c.T=null,t.p=2,h)return h()}finally{c.T=m,t.p=v,t.d.f()}},Un.preconnect=function(h,m){typeof h=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,t.d.C(h,m))},Un.prefetchDNS=function(h){typeof h=="string"&&t.d.D(h)},Un.preinit=function(h,m){if(typeof h=="string"&&m&&typeof m.as=="string"){var v=m.as,g=d(v,m.crossOrigin),b=typeof m.integrity=="string"?m.integrity:void 0,D=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:b,fetchPriority:D}):v==="script"&&t.d.X(h,{crossOrigin:g,integrity:b,fetchPriority:D,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},Un.preinitModule=function(h,m){if(typeof h=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var v=d(m.as,m.crossOrigin);t.d.M(h,{crossOrigin:v,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&t.d.M(h)},Un.preload=function(h,m){if(typeof h=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var v=m.as,g=d(v,m.crossOrigin);t.d.L(h,v,{crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},Un.preloadModule=function(h,m){if(typeof h=="string")if(m){var v=d(m.as,m.crossOrigin);t.d.m(h,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:v,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else t.d.m(h)},Un.requestFormReset=function(h){t.d.r(h)},Un.unstable_batchedUpdates=function(h,m){return h(m)},Un.useFormState=function(h,m,v){return c.H.useFormState(h,m,v)},Un.useFormStatus=function(){return c.H.useHostTransitionStatus()},Un.version="19.1.0",Un}var u4;function N9(){if(u4)return l1.exports;u4=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),l1.exports=NS(),l1.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var c4;function kS(){if(c4)return gs;c4=1;var a=CS(),i=Q2(),n=N9();function t(e){var r="https://react.dev/errors/"+e;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)r+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function s(e){var r=e,o=e;if(e.alternate)for(;r.return;)r=r.return;else{e=r;do r=e,(r.flags&4098)!==0&&(o=r.return),e=r.return;while(e)}return r.tag===3?o:null}function c(e){if(e.tag===13){var r=e.memoizedState;if(r===null&&(e=e.alternate,e!==null&&(r=e.memoizedState)),r!==null)return r.dehydrated}return null}function d(e){if(s(e)!==e)throw Error(t(188))}function h(e){var r=e.alternate;if(!r){if(r=s(e),r===null)throw Error(t(188));return r!==e?null:e}for(var o=e,u=r;;){var f=o.return;if(f===null)break;var p=f.alternate;if(p===null){if(u=f.return,u!==null){o=u;continue}break}if(f.child===p.child){for(p=f.child;p;){if(p===o)return d(f),e;if(p===u)return d(f),r;p=p.sibling}throw Error(t(188))}if(o.return!==u.return)o=f,u=p;else{for(var _=!1,x=f.child;x;){if(x===o){_=!0,o=f,u=p;break}if(x===u){_=!0,u=f,o=p;break}x=x.sibling}if(!_){for(x=p.child;x;){if(x===o){_=!0,o=p,u=f;break}if(x===u){_=!0,u=p,o=f;break}x=x.sibling}if(!_)throw Error(t(189))}}if(o.alternate!==u)throw Error(t(190))}if(o.tag!==3)throw Error(t(188));return o.stateNode.current===o?e:r}function m(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e;for(e=e.child;e!==null;){if(r=m(e),r!==null)return r;e=e.sibling}return null}var v=Object.assign,g=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),D=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),H=Symbol.for("react.provider"),O=Symbol.for("react.consumer"),Z=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),re=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),E=Symbol.for("react.activity"),w=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function L(e){return e===null||typeof e!="object"?null:(e=q&&e[q]||e["@@iterator"],typeof e=="function"?e:null)}var z=Symbol.for("react.client.reference");function j(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===z?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case M:return"Fragment";case N:return"Profiler";case C:return"StrictMode";case X:return"Suspense";case re:return"SuspenseList";case E:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case D:return"Portal";case Z:return(e.displayName||"Context")+".Provider";case O:return(e._context.displayName||"Context")+".Consumer";case K:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case V:return r=e.displayName||null,r!==null?r:j(e.type)||"Memo";case S:r=e._payload,e=e._init;try{return j(e(r))}catch{}}return null}var U=Array.isArray,T=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k={pending:!1,data:null,method:null,action:null},$=[],A=-1;function Y(e){return{current:e}}function oe(e){0>A||(e.current=$[A],$[A]=null,A--)}function ae(e,r){A++,$[A]=e.current,e.current=r}var pe=Y(null),ce=Y(null),he=Y(null),je=Y(null);function Be(e,r){switch(ae(he,r),ae(ce,e),ae(pe,null),r.nodeType){case 9:case 11:e=(e=r.documentElement)&&(e=e.namespaceURI)?Cv(e):0;break;default:if(e=r.tagName,r=r.namespaceURI)r=Cv(r),e=Rv(r,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}oe(pe),ae(pe,e)}function rt(){oe(pe),oe(ce),oe(he)}function rn(e){e.memoizedState!==null&&ae(je,e);var r=pe.current,o=Rv(r,e.type);r!==o&&(ae(ce,e),ae(pe,o))}function ct(e){ce.current===e&&(oe(pe),oe(ce)),je.current===e&&(oe(je),fs._currentValue=k)}var Ct=Object.prototype.hasOwnProperty,gt=a.unstable_scheduleCallback,Ze=a.unstable_cancelCallback,et=a.unstable_shouldYield,qt=a.unstable_requestPaint,Pt=a.unstable_now,kn=a.unstable_getCurrentPriorityLevel,yn=a.unstable_ImmediatePriority,ft=a.unstable_UserBlockingPriority,zn=a.unstable_NormalPriority,Le=a.unstable_LowPriority,ge=a.unstable_IdlePriority,qe=a.log,Ne=a.unstable_setDisableYieldValue,$e=null,tt=null;function zt(e){if(typeof qe=="function"&&Ne(e),tt&&typeof tt.setStrictMode=="function")try{tt.setStrictMode($e,e)}catch{}}var Tt=Math.clz32?Math.clz32:jn,Yn=Math.log,Kn=Math.LN2;function jn(e){return e>>>=0,e===0?32:31-(Yn(e)/Kn|0)|0}var dn=256,xt=4194304;function Ie(e){var r=e&42;if(r!==0)return r;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function hn(e,r,o){var u=e.pendingLanes;if(u===0)return 0;var f=0,p=e.suspendedLanes,_=e.pingedLanes;e=e.warmLanes;var x=u&134217727;return x!==0?(u=x&~p,u!==0?f=Ie(u):(_&=x,_!==0?f=Ie(_):o||(o=x&~e,o!==0&&(f=Ie(o))))):(x=u&~p,x!==0?f=Ie(x):_!==0?f=Ie(_):o||(o=u&~e,o!==0&&(f=Ie(o)))),f===0?0:r!==0&&r!==f&&(r&p)===0&&(p=f&-f,o=r&-r,p>=o||p===32&&(o&4194048)!==0)?r:f}function xn(e,r){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&r)===0}function yr(e,r){switch(e){case 1:case 2:case 4:case 8:case 64:return r+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Bn(){var e=dn;return dn<<=1,(dn&4194048)===0&&(dn=256),e}function Ln(){var e=xt;return xt<<=1,(xt&62914560)===0&&(xt=4194304),e}function Mn(e){for(var r=[],o=0;31>o;o++)r.push(e);return r}function at(e,r){e.pendingLanes|=r,r!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function In(e,r,o,u,f,p){var _=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var x=e.entanglements,P=e.expirationTimes,ee=e.hiddenUpdates;for(o=_&~o;0<o;){var ie=31-Tt(o),se=1<<ie;x[ie]=0,P[ie]=-1;var te=ee[ie];if(te!==null)for(ee[ie]=null,ie=0;ie<te.length;ie++){var ne=te[ie];ne!==null&&(ne.lane&=-536870913)}o&=~se}u!==0&&nr(e,u,0),p!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=p&~(_&~r))}function nr(e,r,o){e.pendingLanes|=r,e.suspendedLanes&=~r;var u=31-Tt(r);e.entangledLanes|=r,e.entanglements[u]=e.entanglements[u]|1073741824|o&4194090}function Pe(e,r){var o=e.entangledLanes|=r;for(e=e.entanglements;o;){var u=31-Tt(o),f=1<<u;f&r|e[u]&r&&(e[u]|=r),o&=~f}}function Ut(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Me(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function ze(){var e=R.p;return e!==0?e:(e=window.event,e===void 0?32:Kv(e.type))}function nt(e,r){var o=R.p;try{return R.p=e,r()}finally{R.p=o}}var It=Math.random().toString(36).slice(2),fe="__reactFiber$"+It,be="__reactProps$"+It,De="__reactContainer$"+It,dt="__reactEvents$"+It,Ft="__reactListeners$"+It,bn="__reactHandles$"+It,pn="__reactResources$"+It,Rt="__reactMarker$"+It;function Ue(e){delete e[fe],delete e[be],delete e[dt],delete e[Ft],delete e[bn]}function We(e){var r=e[fe];if(r)return r;for(var o=e.parentNode;o;){if(r=o[De]||o[fe]){if(o=r.alternate,r.child!==null||o!==null&&o.child!==null)for(e=qv(e);e!==null;){if(o=e[fe])return o;e=qv(e)}return r}e=o,o=e.parentNode}return null}function it(e){if(e=e[fe]||e[De]){var r=e.tag;if(r===5||r===6||r===13||r===26||r===27||r===3)return e}return null}function rr(e){var r=e.tag;if(r===5||r===26||r===27||r===6)return e.stateNode;throw Error(t(33))}function ot(e){var r=e[pn];return r||(r=e[pn]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function _t(e){e[Rt]=!0}var Ee=new Set,B={};function ue(e,r){me(e,r),me(e+"Capture",r)}function me(e,r){for(B[e]=r,e=0;e<r.length;e++)Ee.add(r[e])}var xe=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]*$"),Je={},pt={};function yt(e){return Ct.call(pt,e)?!0:Ct.call(Je,e)?!1:xe.test(e)?pt[e]=!0:(Je[e]=!0,!1)}function an(e,r,o){if(yt(r))if(o===null)e.removeAttribute(r);else{switch(typeof o){case"undefined":case"function":case"symbol":e.removeAttribute(r);return;case"boolean":var u=r.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){e.removeAttribute(r);return}}e.setAttribute(r,""+o)}}function _n(e,r,o){if(o===null)e.removeAttribute(r);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttribute(r,""+o)}}function ln(e,r,o,u){if(u===null)e.removeAttribute(o);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(o);return}e.setAttributeNS(r,o,""+u)}}var Ht,ea;function br(e){if(Ht===void 0)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);Ht=r&&r[1]||"",ea=-1<o.stack.indexOf(`
    at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Ht+e+ea}var vl=!1;function bo(e,r){if(!e||vl)return"";vl=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(r){var se=function(){throw Error()};if(Object.defineProperty(se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(se,[])}catch(ne){var te=ne}Reflect.construct(e,[],se)}else{try{se.call()}catch(ne){te=ne}e.call(se.prototype)}}else{try{throw Error()}catch(ne){te=ne}(se=e())&&typeof se.catch=="function"&&se.catch(function(){})}}catch(ne){if(ne&&te&&typeof ne.stack=="string")return[ne.stack,te.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var p=u.DetermineComponentFrameRoot(),_=p[0],x=p[1];if(_&&x){var P=_.split(`
`),ee=x.split(`
`);for(f=u=0;u<P.length&&!P[u].includes("DetermineComponentFrameRoot");)u++;for(;f<ee.length&&!ee[f].includes("DetermineComponentFrameRoot");)f++;if(u===P.length||f===ee.length)for(u=P.length-1,f=ee.length-1;1<=u&&0<=f&&P[u]!==ee[f];)f--;for(;1<=u&&0<=f;u--,f--)if(P[u]!==ee[f]){if(u!==1||f!==1)do if(u--,f--,0>f||P[u]!==ee[f]){var ie=`
`+P[u].replace(" at new "," at ");return e.displayName&&ie.includes("<anonymous>")&&(ie=ie.replace("<anonymous>",e.displayName)),ie}while(1<=u&&0<=f);break}}}finally{vl=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?br(o):""}function _o(e){switch(e.tag){case 26:case 27:case 5:return br(e.type);case 16:return br("Lazy");case 13:return br("Suspense");case 19:return br("SuspenseList");case 0:case 15:return bo(e.type,!1);case 11:return bo(e.type.render,!1);case 1:return bo(e.type,!0);case 31:return br("Activity");default:return""}}function Qa(e){try{var r="";do r+=_o(e),e=e.return;while(e);return r}catch(o){return`
Error generating stack: `+o.message+`
`+o.stack}}function mn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ba(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Ks(e){var r=ba(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),u=""+e[r];if(!e.hasOwnProperty(r)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var f=o.get,p=o.set;return Object.defineProperty(e,r,{configurable:!0,get:function(){return f.call(this)},set:function(_){u=""+_,p.call(this,_)}}),Object.defineProperty(e,r,{enumerable:o.enumerable}),{getValue:function(){return u},setValue:function(_){u=""+_},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function qi(e){e._valueTracker||(e._valueTracker=Ks(e))}function So(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var o=r.getValue(),u="";return e&&(u=ba(e)?e.checked?"true":"false":e.value),e=u,e!==o?(r.setValue(e),!0):!1}function Ka(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 Xs=/[\n"\\]/g;function On(e){return e.replace(Xs,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function Xa(e,r,o,u,f,p,_,x){e.name="",_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?e.type=_:e.removeAttribute("type"),r!=null?_==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+mn(r)):e.value!==""+mn(r)&&(e.value=""+mn(r)):_!=="submit"&&_!=="reset"||e.removeAttribute("value"),r!=null?ta(e,_,mn(r)):o!=null?ta(e,_,mn(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=""+mn(x):e.removeAttribute("name")}function _r(e,r,o,u,f,p,_,x){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(e.type=p),r!=null||o!=null){if(!(p!=="submit"&&p!=="reset"||r!=null))return;o=o!=null?""+mn(o):"",r=r!=null?""+mn(r):o,x||r===e.value||(e.value=r),e.defaultValue=r}u=u??f,u=typeof u!="function"&&typeof u!="symbol"&&!!u,e.checked=x?e.checked:!!u,e.defaultChecked=!!u,_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"&&(e.name=_)}function ta(e,r,o){r==="number"&&Ka(e.ownerDocument)===e||e.defaultValue===""+o||(e.defaultValue=""+o)}function na(e,r,o,u){if(e=e.options,r){r={};for(var f=0;f<o.length;f++)r["$"+o[f]]=!0;for(o=0;o<e.length;o++)f=r.hasOwnProperty("$"+e[o].value),e[o].selected!==f&&(e[o].selected=f),f&&u&&(e[o].defaultSelected=!0)}else{for(o=""+mn(o),r=null,f=0;f<e.length;f++){if(e[f].value===o){e[f].selected=!0,u&&(e[f].defaultSelected=!0);return}r!==null||e[f].disabled||(r=e[f])}r!==null&&(r.selected=!0)}}function gl(e,r,o){if(r!=null&&(r=""+mn(r),r!==e.value&&(e.value=r),o==null)){e.defaultValue!==r&&(e.defaultValue=r);return}e.defaultValue=o!=null?""+mn(o):""}function $s(e,r,o,u){if(r==null){if(u!=null){if(o!=null)throw Error(t(92));if(U(u)){if(1<u.length)throw Error(t(93));u=u[0]}o=u}o==null&&(o=""),r=o}o=mn(r),e.defaultValue=o,u=e.textContent,u===o&&u!==""&&u!==null&&(e.value=u)}function zr(e,r){if(r){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=r;return}}e.textContent=r}var yl=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 Js(e,r,o){var u=r.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?u?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="":u?e.setProperty(r,o):typeof o!="number"||o===0||yl.has(r)?r==="float"?e.cssFloat=o:e[r]=(""+o).trim():e[r]=o+"px"}function $a(e,r,o){if(r!=null&&typeof r!="object")throw Error(t(62));if(e=e.style,o!=null){for(var u in o)!o.hasOwnProperty(u)||r!=null&&r.hasOwnProperty(u)||(u.indexOf("--")===0?e.setProperty(u,""):u==="float"?e.cssFloat="":e[u]="");for(var f in r)u=r[f],r.hasOwnProperty(f)&&o[f]!==u&&Js(e,f,u)}else for(var p in r)r.hasOwnProperty(p)&&Js(e,p,r[p])}function Eo(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 sf=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),on=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Yr(e){return on.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var wo=null;function bl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ra=null,_a=null;function Do(e){var r=it(e);if(r&&(e=r.stateNode)){var o=e[be]||null;e:switch(e=r.stateNode,r.type){case"input":if(Xa(e,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),r=o.name,o.type==="radio"&&r!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+On(""+r)+'"][type="radio"]'),r=0;r<o.length;r++){var u=o[r];if(u!==e&&u.form===e.form){var f=u[be]||null;if(!f)throw Error(t(90));Xa(u,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(r=0;r<o.length;r++)u=o[r],u.form===e.form&&So(u)}break e;case"textarea":gl(e,o.value,o.defaultValue);break e;case"select":r=o.value,r!=null&&na(e,!!o.multiple,r,!1)}}}var To=!1;function ar(e,r,o){if(To)return e(r,o);To=!0;try{var u=e(r);return u}finally{if(To=!1,(ra!==null||_a!==null)&&(qu(),ra&&(r=ra,e=_a,_a=ra=null,Do(r),e)))for(r=0;r<e.length;r++)Do(e[r])}}function Sr(e,r){var o=e.stateNode;if(o===null)return null;var u=o[be]||null;if(u===null)return null;o=u[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(t(231,r,typeof o));return o}var Er=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_l=!1;if(Er)try{var Sa={};Object.defineProperty(Sa,"passive",{get:function(){_l=!0}}),window.addEventListener("test",Sa,Sa),window.removeEventListener("test",Sa,Sa)}catch{_l=!1}var jr=null,ir=null,Ui=null;function xo(){if(Ui)return Ui;var e,r=ir,o=r.length,u,f="value"in jr?jr.value:jr.textContent,p=f.length;for(e=0;e<o&&r[e]===f[e];e++);var _=o-e;for(u=1;u<=_&&r[o-u]===f[p-u];u++);return Ui=f.slice(e,1<u?1-u:void 0)}function Hi(e){var r=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&r===13&&(e=13)):e=r,e===10&&(e=13),32<=e||e===13?e:0}function Pi(){return!0}function eu(){return!1}function ye(e){function r(o,u,f,p,_){this._reactName=o,this._targetInst=f,this.type=u,this.nativeEvent=p,this.target=_,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)?Pi:eu,this.isPropagationStopped=eu,this}return v(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Pi)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Pi)},persist:function(){},isPersistent:Pi}),r}var I={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},de=ye(I),Se=v({},I,{view:0,detail:0}),kt=ye(Se),sn,Gt,un,Xn=v({},Se,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:uf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&e.type==="mousemove"?(sn=e.screenX-un.screenX,Gt=e.screenY-un.screenY):Gt=sn=0,un=e),sn)},movementY:function(e){return"movementY"in e?e.movementY:Gt}}),Ja=ye(Xn),Mo=v({},Xn,{dataTransfer:0}),Sn=ye(Mo),tu=v({},Se,{relatedTarget:0}),Sl=ye(tu),Ob=v({},I,{animationName:0,elapsedTime:0,pseudoElement:0}),Ab=ye(Ob),Cb=v({},I,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Rb=ye(Cb),Nb=v({},I,{data:0}),Hm=ye(Nb),kb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lb={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"},qb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ub(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=qb[e])?!!r[e]:!1}function uf(){return Ub}var Hb=v({},Se,{key:function(e){if(e.key){var r=kb[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=Hi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Lb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:uf,charCode:function(e){return e.type==="keypress"?Hi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Hi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Pb=ye(Hb),zb=v({},Xn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Pm=ye(zb),Yb=v({},Se,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:uf}),jb=ye(Yb),Bb=v({},I,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ib=ye(Bb),Fb=v({},Xn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Gb=ye(Fb),Zb=v({},I,{newState:0,oldState:0}),Vb=ye(Zb),Wb=[9,13,27,32],cf=Er&&"CompositionEvent"in window,Oo=null;Er&&"documentMode"in document&&(Oo=document.documentMode);var Qb=Er&&"TextEvent"in window&&!Oo,zm=Er&&(!cf||Oo&&8<Oo&&11>=Oo),Ym=" ",jm=!1;function Bm(e,r){switch(e){case"keyup":return Wb.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Im(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var El=!1;function Kb(e,r){switch(e){case"compositionend":return Im(r);case"keypress":return r.which!==32?null:(jm=!0,Ym);case"textInput":return e=r.data,e===Ym&&jm?null:e;default:return null}}function Xb(e,r){if(El)return e==="compositionend"||!cf&&Bm(e,r)?(e=xo(),Ui=ir=jr=null,El=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return zm&&r.locale!=="ko"?null:r.data;default:return null}}var $b={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Fm(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!$b[e.type]:r==="textarea"}function Gm(e,r,o,u){ra?_a?_a.push(u):_a=[u]:ra=u,r=ju(r,"onChange"),0<r.length&&(o=new de("onChange","change",null,o,u),e.push({event:o,listeners:r}))}var Ao=null,Co=null;function Jb(e){Tv(e,0)}function nu(e){var r=rr(e);if(So(r))return e}function Zm(e,r){if(e==="change")return r}var Vm=!1;if(Er){var ff;if(Er){var df="oninput"in document;if(!df){var Wm=document.createElement("div");Wm.setAttribute("oninput","return;"),df=typeof Wm.oninput=="function"}ff=df}else ff=!1;Vm=ff&&(!document.documentMode||9<document.documentMode)}function Qm(){Ao&&(Ao.detachEvent("onpropertychange",Km),Co=Ao=null)}function Km(e){if(e.propertyName==="value"&&nu(Co)){var r=[];Gm(r,Co,e,bl(e)),ar(Jb,r)}}function e_(e,r,o){e==="focusin"?(Qm(),Ao=r,Co=o,Ao.attachEvent("onpropertychange",Km)):e==="focusout"&&Qm()}function t_(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return nu(Co)}function n_(e,r){if(e==="click")return nu(r)}function r_(e,r){if(e==="input"||e==="change")return nu(r)}function a_(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var lr=typeof Object.is=="function"?Object.is:a_;function Ro(e,r){if(lr(e,r))return!0;if(typeof e!="object"||e===null||typeof r!="object"||r===null)return!1;var o=Object.keys(e),u=Object.keys(r);if(o.length!==u.length)return!1;for(u=0;u<o.length;u++){var f=o[u];if(!Ct.call(r,f)||!lr(e[f],r[f]))return!1}return!0}function Xm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $m(e,r){var o=Xm(e);e=0;for(var u;o;){if(o.nodeType===3){if(u=e+o.textContent.length,e<=r&&u>=r)return{node:o,offset:r-e};e=u}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Xm(o)}}function Jm(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?Jm(e,r.parentNode):"contains"in e?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function e3(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var r=Ka(e.document);r instanceof e.HTMLIFrameElement;){try{var o=typeof r.contentWindow.location.href=="string"}catch{o=!1}if(o)e=r.contentWindow;else break;r=Ka(e.document)}return r}function hf(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r&&(r==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||r==="textarea"||e.contentEditable==="true")}var i_=Er&&"documentMode"in document&&11>=document.documentMode,wl=null,pf=null,No=null,mf=!1;function t3(e,r,o){var u=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;mf||wl==null||wl!==Ka(u)||(u=wl,"selectionStart"in u&&hf(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),No&&Ro(No,u)||(No=u,u=ju(pf,"onSelect"),0<u.length&&(r=new de("onSelect","select",null,r,o),e.push({event:r,listeners:u}),r.target=wl)))}function zi(e,r){var o={};return o[e.toLowerCase()]=r.toLowerCase(),o["Webkit"+e]="webkit"+r,o["Moz"+e]="moz"+r,o}var Dl={animationend:zi("Animation","AnimationEnd"),animationiteration:zi("Animation","AnimationIteration"),animationstart:zi("Animation","AnimationStart"),transitionrun:zi("Transition","TransitionRun"),transitionstart:zi("Transition","TransitionStart"),transitioncancel:zi("Transition","TransitionCancel"),transitionend:zi("Transition","TransitionEnd")},vf={},n3={};Er&&(n3=document.createElement("div").style,"AnimationEvent"in window||(delete Dl.animationend.animation,delete Dl.animationiteration.animation,delete Dl.animationstart.animation),"TransitionEvent"in window||delete Dl.transitionend.transition);function Yi(e){if(vf[e])return vf[e];if(!Dl[e])return e;var r=Dl[e],o;for(o in r)if(r.hasOwnProperty(o)&&o in n3)return vf[e]=r[o];return e}var r3=Yi("animationend"),a3=Yi("animationiteration"),i3=Yi("animationstart"),l_=Yi("transitionrun"),o_=Yi("transitionstart"),s_=Yi("transitioncancel"),l3=Yi("transitionend"),o3=new Map,gf="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");gf.push("scrollEnd");function Br(e,r){o3.set(e,r),ue(r,[e])}var s3=new WeakMap;function wr(e,r){if(typeof e=="object"&&e!==null){var o=s3.get(e);return o!==void 0?o:(r={value:e,source:r,stack:Qa(r)},s3.set(e,r),r)}return{value:e,source:r,stack:Qa(r)}}var Dr=[],Tl=0,yf=0;function ru(){for(var e=Tl,r=yf=Tl=0;r<e;){var o=Dr[r];Dr[r++]=null;var u=Dr[r];Dr[r++]=null;var f=Dr[r];Dr[r++]=null;var p=Dr[r];if(Dr[r++]=null,u!==null&&f!==null){var _=u.pending;_===null?f.next=f:(f.next=_.next,_.next=f),u.pending=f}p!==0&&u3(o,f,p)}}function au(e,r,o,u){Dr[Tl++]=e,Dr[Tl++]=r,Dr[Tl++]=o,Dr[Tl++]=u,yf|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function bf(e,r,o,u){return au(e,r,o,u),iu(e)}function xl(e,r){return au(e,null,null,r),iu(e)}function u3(e,r,o){e.lanes|=o;var u=e.alternate;u!==null&&(u.lanes|=o);for(var f=!1,p=e.return;p!==null;)p.childLanes|=o,u=p.alternate,u!==null&&(u.childLanes|=o),p.tag===22&&(e=p.stateNode,e===null||e._visibility&1||(f=!0)),e=p,p=p.return;return e.tag===3?(p=e.stateNode,f&&r!==null&&(f=31-Tt(o),e=p.hiddenUpdates,u=e[f],u===null?e[f]=[r]:u.push(r),r.lane=o|536870912),p):null}function iu(e){if(50<rs)throw rs=0,Td=null,Error(t(185));for(var r=e.return;r!==null;)e=r,r=e.return;return e.tag===3?e.stateNode:null}var Ml={};function u_(e,r,o,u){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function or(e,r,o,u){return new u_(e,r,o,u)}function _f(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ea(e,r){var o=e.alternate;return o===null?(o=or(e.tag,r,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=r,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&65011712,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,r=e.dependencies,o.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.refCleanup=e.refCleanup,o}function c3(e,r){e.flags&=65011714;var o=e.alternate;return o===null?(e.childLanes=0,e.lanes=r,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=o.childLanes,e.lanes=o.lanes,e.child=o.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=o.memoizedProps,e.memoizedState=o.memoizedState,e.updateQueue=o.updateQueue,e.type=o.type,r=o.dependencies,e.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),e}function lu(e,r,o,u,f,p){var _=0;if(u=e,typeof e=="function")_f(e)&&(_=1);else if(typeof e=="string")_=fS(e,o,pe.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case E:return e=or(31,o,r,f),e.elementType=E,e.lanes=p,e;case M:return ji(o.children,f,p,r);case C:_=8,f|=24;break;case N:return e=or(12,o,r,f|2),e.elementType=N,e.lanes=p,e;case X:return e=or(13,o,r,f),e.elementType=X,e.lanes=p,e;case re:return e=or(19,o,r,f),e.elementType=re,e.lanes=p,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case H:case Z:_=10;break e;case O:_=9;break e;case K:_=11;break e;case V:_=14;break e;case S:_=16,u=null;break e}_=29,o=Error(t(130,e===null?"null":typeof e,"")),u=null}return r=or(_,o,r,f),r.elementType=e,r.type=u,r.lanes=p,r}function ji(e,r,o,u){return e=or(7,e,u,r),e.lanes=o,e}function Sf(e,r,o){return e=or(6,e,null,r),e.lanes=o,e}function Ef(e,r,o){return r=or(4,e.children!==null?e.children:[],e.key,r),r.lanes=o,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}var Ol=[],Al=0,ou=null,su=0,Tr=[],xr=0,Bi=null,wa=1,Da="";function Ii(e,r){Ol[Al++]=su,Ol[Al++]=ou,ou=e,su=r}function f3(e,r,o){Tr[xr++]=wa,Tr[xr++]=Da,Tr[xr++]=Bi,Bi=e;var u=wa;e=Da;var f=32-Tt(u)-1;u&=~(1<<f),o+=1;var p=32-Tt(r)+f;if(30<p){var _=f-f%5;p=(u&(1<<_)-1).toString(32),u>>=_,f-=_,wa=1<<32-Tt(r)+f|o<<f|u,Da=p+e}else wa=1<<p|o<<f|u,Da=e}function wf(e){e.return!==null&&(Ii(e,1),f3(e,1,0))}function Df(e){for(;e===ou;)ou=Ol[--Al],Ol[Al]=null,su=Ol[--Al],Ol[Al]=null;for(;e===Bi;)Bi=Tr[--xr],Tr[xr]=null,Da=Tr[--xr],Tr[xr]=null,wa=Tr[--xr],Tr[xr]=null}var Fn=null,Qt=null,mt=!1,Fi=null,aa=!1,Tf=Error(t(519));function Gi(e){var r=Error(t(418,""));throw qo(wr(r,e)),Tf}function d3(e){var r=e.stateNode,o=e.type,u=e.memoizedProps;switch(r[fe]=e,r[be]=u,o){case"dialog":Ke("cancel",r),Ke("close",r);break;case"iframe":case"object":case"embed":Ke("load",r);break;case"video":case"audio":for(o=0;o<is.length;o++)Ke(is[o],r);break;case"source":Ke("error",r);break;case"img":case"image":case"link":Ke("error",r),Ke("load",r);break;case"details":Ke("toggle",r);break;case"input":Ke("invalid",r),_r(r,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0),qi(r);break;case"select":Ke("invalid",r);break;case"textarea":Ke("invalid",r),$s(r,u.value,u.defaultValue,u.children),qi(r)}o=u.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||r.textContent===""+o||u.suppressHydrationWarning===!0||Av(r.textContent,o)?(u.popover!=null&&(Ke("beforetoggle",r),Ke("toggle",r)),u.onScroll!=null&&Ke("scroll",r),u.onScrollEnd!=null&&Ke("scrollend",r),u.onClick!=null&&(r.onclick=Bu),r=!0):r=!1,r||Gi(e)}function h3(e){for(Fn=e.return;Fn;)switch(Fn.tag){case 5:case 13:aa=!1;return;case 27:case 3:aa=!0;return;default:Fn=Fn.return}}function ko(e){if(e!==Fn)return!1;if(!mt)return h3(e),mt=!0,!1;var r=e.tag,o;if((o=r!==3&&r!==27)&&((o=r===5)&&(o=e.type,o=!(o!=="form"&&o!=="button")||jd(e.type,e.memoizedProps)),o=!o),o&&Qt&&Gi(e),h3(e),r===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(t(317));e:{for(e=e.nextSibling,r=0;e;){if(e.nodeType===8)if(o=e.data,o==="/$"){if(r===0){Qt=Fr(e.nextSibling);break e}r--}else o!=="$"&&o!=="$!"&&o!=="$?"||r++;e=e.nextSibling}Qt=null}}else r===27?(r=Qt,mi(e.type)?(e=Gd,Gd=null,Qt=e):Qt=r):Qt=Fn?Fr(e.stateNode.nextSibling):null;return!0}function Lo(){Qt=Fn=null,mt=!1}function p3(){var e=Fi;return e!==null&&(er===null?er=e:er.push.apply(er,e),Fi=null),e}function qo(e){Fi===null?Fi=[e]:Fi.push(e)}var xf=Y(null),Zi=null,Ta=null;function ei(e,r,o){ae(xf,r._currentValue),r._currentValue=o}function xa(e){e._currentValue=xf.current,oe(xf)}function Mf(e,r,o){for(;e!==null;){var u=e.alternate;if((e.childLanes&r)!==r?(e.childLanes|=r,u!==null&&(u.childLanes|=r)):u!==null&&(u.childLanes&r)!==r&&(u.childLanes|=r),e===o)break;e=e.return}}function Of(e,r,o,u){var f=e.child;for(f!==null&&(f.return=e);f!==null;){var p=f.dependencies;if(p!==null){var _=f.child;p=p.firstContext;e:for(;p!==null;){var x=p;p=f;for(var P=0;P<r.length;P++)if(x.context===r[P]){p.lanes|=o,x=p.alternate,x!==null&&(x.lanes|=o),Mf(p.return,o,e),u||(_=null);break e}p=x.next}}else if(f.tag===18){if(_=f.return,_===null)throw Error(t(341));_.lanes|=o,p=_.alternate,p!==null&&(p.lanes|=o),Mf(_,o,e),_=null}else _=f.child;if(_!==null)_.return=f;else for(_=f;_!==null;){if(_===e){_=null;break}if(f=_.sibling,f!==null){f.return=_.return,_=f;break}_=_.return}f=_}}function Uo(e,r,o,u){e=null;for(var f=r,p=!1;f!==null;){if(!p){if((f.flags&524288)!==0)p=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var _=f.alternate;if(_===null)throw Error(t(387));if(_=_.memoizedProps,_!==null){var x=f.type;lr(f.pendingProps.value,_.value)||(e!==null?e.push(x):e=[x])}}else if(f===je.current){if(_=f.alternate,_===null)throw Error(t(387));_.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(fs):e=[fs])}f=f.return}e!==null&&Of(r,e,o,u),r.flags|=262144}function uu(e){for(e=e.firstContext;e!==null;){if(!lr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Vi(e){Zi=e,Ta=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function qn(e){return m3(Zi,e)}function cu(e,r){return Zi===null&&Vi(e),m3(e,r)}function m3(e,r){var o=r._currentValue;if(r={context:r,memoizedValue:o,next:null},Ta===null){if(e===null)throw Error(t(308));Ta=r,e.dependencies={lanes:0,firstContext:r},e.flags|=524288}else Ta=Ta.next=r;return o}var c_=typeof AbortController<"u"?AbortController:function(){var e=[],r=this.signal={aborted:!1,addEventListener:function(o,u){e.push(u)}};this.abort=function(){r.aborted=!0,e.forEach(function(o){return o()})}},f_=a.unstable_scheduleCallback,d_=a.unstable_NormalPriority,vn={$$typeof:Z,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Af(){return{controller:new c_,data:new Map,refCount:0}}function Ho(e){e.refCount--,e.refCount===0&&f_(d_,function(){e.controller.abort()})}var Po=null,Cf=0,Cl=0,Rl=null;function h_(e,r){if(Po===null){var o=Po=[];Cf=0,Cl=Nd(),Rl={status:"pending",value:void 0,then:function(u){o.push(u)}}}return Cf++,r.then(v3,v3),r}function v3(){if(--Cf===0&&Po!==null){Rl!==null&&(Rl.status="fulfilled");var e=Po;Po=null,Cl=0,Rl=null;for(var r=0;r<e.length;r++)(0,e[r])()}}function p_(e,r){var o=[],u={status:"pending",value:null,reason:null,then:function(f){o.push(f)}};return e.then(function(){u.status="fulfilled",u.value=r;for(var f=0;f<o.length;f++)(0,o[f])(r)},function(f){for(u.status="rejected",u.reason=f,f=0;f<o.length;f++)(0,o[f])(void 0)}),u}var g3=T.S;T.S=function(e,r){typeof r=="object"&&r!==null&&typeof r.then=="function"&&h_(e,r),g3!==null&&g3(e,r)};var Wi=Y(null);function Rf(){var e=Wi.current;return e!==null?e:Lt.pooledCache}function fu(e,r){r===null?ae(Wi,Wi.current):ae(Wi,r.pool)}function y3(){var e=Rf();return e===null?null:{parent:vn._currentValue,pool:e}}var zo=Error(t(460)),b3=Error(t(474)),du=Error(t(542)),Nf={then:function(){}};function _3(e){return e=e.status,e==="fulfilled"||e==="rejected"}function hu(){}function S3(e,r,o){switch(o=e[o],o===void 0?e.push(r):o!==r&&(r.then(hu,hu),r=o),r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,w3(e),e;default:if(typeof r.status=="string")r.then(hu,hu);else{if(e=Lt,e!==null&&100<e.shellSuspendCounter)throw Error(t(482));e=r,e.status="pending",e.then(function(u){if(r.status==="pending"){var f=r;f.status="fulfilled",f.value=u}},function(u){if(r.status==="pending"){var f=r;f.status="rejected",f.reason=u}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw e=r.reason,w3(e),e}throw Yo=r,zo}}var Yo=null;function E3(){if(Yo===null)throw Error(t(459));var e=Yo;return Yo=null,e}function w3(e){if(e===zo||e===du)throw Error(t(483))}var ti=!1;function kf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Lf(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ni(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ri(e,r,o){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,(St&2)!==0){var f=u.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),u.pending=r,r=iu(e),u3(e,null,o),r}return au(e,u,r,o),iu(e)}function jo(e,r,o){if(r=r.updateQueue,r!==null&&(r=r.shared,(o&4194048)!==0)){var u=r.lanes;u&=e.pendingLanes,o|=u,r.lanes=o,Pe(e,o)}}function qf(e,r){var o=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,o===u)){var f=null,p=null;if(o=o.firstBaseUpdate,o!==null){do{var _={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};p===null?f=p=_:p=p.next=_,o=o.next}while(o!==null);p===null?f=p=r:p=p.next=r}else f=p=r;o={baseState:u.baseState,firstBaseUpdate:f,lastBaseUpdate:p,shared:u.shared,callbacks:u.callbacks},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=r:e.next=r,o.lastBaseUpdate=r}var Uf=!1;function Bo(){if(Uf){var e=Rl;if(e!==null)throw e}}function Io(e,r,o,u){Uf=!1;var f=e.updateQueue;ti=!1;var p=f.firstBaseUpdate,_=f.lastBaseUpdate,x=f.shared.pending;if(x!==null){f.shared.pending=null;var P=x,ee=P.next;P.next=null,_===null?p=ee:_.next=ee,_=P;var ie=e.alternate;ie!==null&&(ie=ie.updateQueue,x=ie.lastBaseUpdate,x!==_&&(x===null?ie.firstBaseUpdate=ee:x.next=ee,ie.lastBaseUpdate=P))}if(p!==null){var se=f.baseState;_=0,ie=ee=P=null,x=p;do{var te=x.lane&-536870913,ne=te!==x.lane;if(ne?(lt&te)===te:(u&te)===te){te!==0&&te===Cl&&(Uf=!0),ie!==null&&(ie=ie.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{var ke=e,Ae=x;te=r;var At=o;switch(Ae.tag){case 1:if(ke=Ae.payload,typeof ke=="function"){se=ke.call(At,se,te);break e}se=ke;break e;case 3:ke.flags=ke.flags&-65537|128;case 0:if(ke=Ae.payload,te=typeof ke=="function"?ke.call(At,se,te):ke,te==null)break e;se=v({},se,te);break e;case 2:ti=!0}}te=x.callback,te!==null&&(e.flags|=64,ne&&(e.flags|=8192),ne=f.callbacks,ne===null?f.callbacks=[te]:ne.push(te))}else ne={lane:te,tag:x.tag,payload:x.payload,callback:x.callback,next:null},ie===null?(ee=ie=ne,P=se):ie=ie.next=ne,_|=te;if(x=x.next,x===null){if(x=f.shared.pending,x===null)break;ne=x,x=ne.next,ne.next=null,f.lastBaseUpdate=ne,f.shared.pending=null}}while(!0);ie===null&&(P=se),f.baseState=P,f.firstBaseUpdate=ee,f.lastBaseUpdate=ie,p===null&&(f.shared.lanes=0),fi|=_,e.lanes=_,e.memoizedState=se}}function D3(e,r){if(typeof e!="function")throw Error(t(191,e));e.call(r)}function T3(e,r){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;e<o.length;e++)D3(o[e],r)}var Nl=Y(null),pu=Y(0);function x3(e,r){e=ka,ae(pu,e),ae(Nl,r),ka=e|r.baseLanes}function Hf(){ae(pu,ka),ae(Nl,Nl.current)}function Pf(){ka=pu.current,oe(Nl),oe(pu)}var ai=0,Fe=null,Mt=null,cn=null,mu=!1,kl=!1,Qi=!1,vu=0,Fo=0,Ll=null,m_=0;function Jt(){throw Error(t(321))}function zf(e,r){if(r===null)return!1;for(var o=0;o<r.length&&o<e.length;o++)if(!lr(e[o],r[o]))return!1;return!0}function Yf(e,r,o,u,f,p){return ai=p,Fe=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,T.H=e===null||e.memoizedState===null?u6:c6,Qi=!1,p=o(u,f),Qi=!1,kl&&(p=O3(r,o,u,f)),M3(e),p}function M3(e){T.H=Eu;var r=Mt!==null&&Mt.next!==null;if(ai=0,cn=Mt=Fe=null,mu=!1,Fo=0,Ll=null,r)throw Error(t(300));e===null||En||(e=e.dependencies,e!==null&&uu(e)&&(En=!0))}function O3(e,r,o,u){Fe=e;var f=0;do{if(kl&&(Ll=null),Fo=0,kl=!1,25<=f)throw Error(t(301));if(f+=1,cn=Mt=null,e.updateQueue!=null){var p=e.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}T.H=E_,p=r(o,u)}while(kl);return p}function v_(){var e=T.H,r=e.useState()[0];return r=typeof r.then=="function"?Go(r):r,e=e.useState()[0],(Mt!==null?Mt.memoizedState:null)!==e&&(Fe.flags|=1024),r}function jf(){var e=vu!==0;return vu=0,e}function Bf(e,r,o){r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~o}function If(e){if(mu){for(e=e.memoizedState;e!==null;){var r=e.queue;r!==null&&(r.pending=null),e=e.next}mu=!1}ai=0,cn=Mt=Fe=null,kl=!1,Fo=vu=0,Ll=null}function $n(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return cn===null?Fe.memoizedState=cn=e:cn=cn.next=e,cn}function fn(){if(Mt===null){var e=Fe.alternate;e=e!==null?e.memoizedState:null}else e=Mt.next;var r=cn===null?Fe.memoizedState:cn.next;if(r!==null)cn=r,Mt=e;else{if(e===null)throw Fe.alternate===null?Error(t(467)):Error(t(310));Mt=e,e={memoizedState:Mt.memoizedState,baseState:Mt.baseState,baseQueue:Mt.baseQueue,queue:Mt.queue,next:null},cn===null?Fe.memoizedState=cn=e:cn=cn.next=e}return cn}function Ff(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Go(e){var r=Fo;return Fo+=1,Ll===null&&(Ll=[]),e=S3(Ll,e,r),r=Fe,(cn===null?r.memoizedState:cn.next)===null&&(r=r.alternate,T.H=r===null||r.memoizedState===null?u6:c6),e}function gu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Go(e);if(e.$$typeof===Z)return qn(e)}throw Error(t(438,String(e)))}function Gf(e){var r=null,o=Fe.updateQueue;if(o!==null&&(r=o.memoCache),r==null){var u=Fe.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(r={data:u.data.map(function(f){return f.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),o===null&&(o=Ff(),Fe.updateQueue=o),o.memoCache=r,o=r.data[r.index],o===void 0)for(o=r.data[r.index]=Array(e),u=0;u<e;u++)o[u]=w;return r.index++,o}function Ma(e,r){return typeof r=="function"?r(e):r}function yu(e){var r=fn();return Zf(r,Mt,e)}function Zf(e,r,o){var u=e.queue;if(u===null)throw Error(t(311));u.lastRenderedReducer=o;var f=e.baseQueue,p=u.pending;if(p!==null){if(f!==null){var _=f.next;f.next=p.next,p.next=_}r.baseQueue=f=p,u.pending=null}if(p=e.baseState,f===null)e.memoizedState=p;else{r=f.next;var x=_=null,P=null,ee=r,ie=!1;do{var se=ee.lane&-536870913;if(se!==ee.lane?(lt&se)===se:(ai&se)===se){var te=ee.revertLane;if(te===0)P!==null&&(P=P.next={lane:0,revertLane:0,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null}),se===Cl&&(ie=!0);else if((ai&te)===te){ee=ee.next,te===Cl&&(ie=!0);continue}else se={lane:0,revertLane:ee.revertLane,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null},P===null?(x=P=se,_=p):P=P.next=se,Fe.lanes|=te,fi|=te;se=ee.action,Qi&&o(p,se),p=ee.hasEagerState?ee.eagerState:o(p,se)}else te={lane:se,revertLane:ee.revertLane,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null},P===null?(x=P=te,_=p):P=P.next=te,Fe.lanes|=se,fi|=se;ee=ee.next}while(ee!==null&&ee!==r);if(P===null?_=p:P.next=x,!lr(p,e.memoizedState)&&(En=!0,ie&&(o=Rl,o!==null)))throw o;e.memoizedState=p,e.baseState=_,e.baseQueue=P,u.lastRenderedState=p}return f===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function Vf(e){var r=fn(),o=r.queue;if(o===null)throw Error(t(311));o.lastRenderedReducer=e;var u=o.dispatch,f=o.pending,p=r.memoizedState;if(f!==null){o.pending=null;var _=f=f.next;do p=e(p,_.action),_=_.next;while(_!==f);lr(p,r.memoizedState)||(En=!0),r.memoizedState=p,r.baseQueue===null&&(r.baseState=p),o.lastRenderedState=p}return[p,u]}function A3(e,r,o){var u=Fe,f=fn(),p=mt;if(p){if(o===void 0)throw Error(t(407));o=o()}else o=r();var _=!lr((Mt||f).memoizedState,o);_&&(f.memoizedState=o,En=!0),f=f.queue;var x=N3.bind(null,u,f,e);if(Zo(2048,8,x,[e]),f.getSnapshot!==r||_||cn!==null&&cn.memoizedState.tag&1){if(u.flags|=2048,ql(9,bu(),R3.bind(null,u,f,o,r),null),Lt===null)throw Error(t(349));p||(ai&124)!==0||C3(u,r,o)}return o}function C3(e,r,o){e.flags|=16384,e={getSnapshot:r,value:o},r=Fe.updateQueue,r===null?(r=Ff(),Fe.updateQueue=r,r.stores=[e]):(o=r.stores,o===null?r.stores=[e]:o.push(e))}function R3(e,r,o,u){r.value=o,r.getSnapshot=u,k3(r)&&L3(e)}function N3(e,r,o){return o(function(){k3(r)&&L3(e)})}function k3(e){var r=e.getSnapshot;e=e.value;try{var o=r();return!lr(e,o)}catch{return!0}}function L3(e){var r=xl(e,2);r!==null&&dr(r,e,2)}function Wf(e){var r=$n();if(typeof e=="function"){var o=e;if(e=o(),Qi){zt(!0);try{o()}finally{zt(!1)}}}return r.memoizedState=r.baseState=e,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:e},r}function q3(e,r,o,u){return e.baseState=o,Zf(e,Mt,typeof u=="function"?u:Ma)}function g_(e,r,o,u,f){if(Su(e))throw Error(t(485));if(e=r.action,e!==null){var p={payload:f,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(_){p.listeners.push(_)}};T.T!==null?o(!0):p.isTransition=!1,u(p),o=r.pending,o===null?(p.next=r.pending=p,U3(r,p)):(p.next=o.next,r.pending=o.next=p)}}function U3(e,r){var o=r.action,u=r.payload,f=e.state;if(r.isTransition){var p=T.T,_={};T.T=_;try{var x=o(f,u),P=T.S;P!==null&&P(_,x),H3(e,r,x)}catch(ee){Qf(e,r,ee)}finally{T.T=p}}else try{p=o(f,u),H3(e,r,p)}catch(ee){Qf(e,r,ee)}}function H3(e,r,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(u){P3(e,r,u)},function(u){return Qf(e,r,u)}):P3(e,r,o)}function P3(e,r,o){r.status="fulfilled",r.value=o,z3(r),e.state=o,r=e.pending,r!==null&&(o=r.next,o===r?e.pending=null:(o=o.next,r.next=o,U3(e,o)))}function Qf(e,r,o){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do r.status="rejected",r.reason=o,z3(r),r=r.next;while(r!==u)}e.action=null}function z3(e){e=e.listeners;for(var r=0;r<e.length;r++)(0,e[r])()}function Y3(e,r){return r}function j3(e,r){if(mt){var o=Lt.formState;if(o!==null){e:{var u=Fe;if(mt){if(Qt){t:{for(var f=Qt,p=aa;f.nodeType!==8;){if(!p){f=null;break t}if(f=Fr(f.nextSibling),f===null){f=null;break t}}p=f.data,f=p==="F!"||p==="F"?f:null}if(f){Qt=Fr(f.nextSibling),u=f.data==="F!";break e}}Gi(u)}u=!1}u&&(r=o[0])}}return o=$n(),o.memoizedState=o.baseState=r,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Y3,lastRenderedState:r},o.queue=u,o=l6.bind(null,Fe,u),u.dispatch=o,u=Wf(!1),p=ed.bind(null,Fe,!1,u.queue),u=$n(),f={state:r,dispatch:null,action:e,pending:null},u.queue=f,o=g_.bind(null,Fe,f,p,o),f.dispatch=o,u.memoizedState=e,[r,o,!1]}function B3(e){var r=fn();return I3(r,Mt,e)}function I3(e,r,o){if(r=Zf(e,r,Y3)[0],e=yu(Ma)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var u=Go(r)}catch(_){throw _===zo?du:_}else u=r;r=fn();var f=r.queue,p=f.dispatch;return o!==r.memoizedState&&(Fe.flags|=2048,ql(9,bu(),y_.bind(null,f,o),null)),[u,p,e]}function y_(e,r){e.action=r}function F3(e){var r=fn(),o=Mt;if(o!==null)return I3(r,o,e);fn(),r=r.memoizedState,o=fn();var u=o.queue.dispatch;return o.memoizedState=e,[r,u,!1]}function ql(e,r,o,u){return e={tag:e,create:o,deps:u,inst:r,next:null},r=Fe.updateQueue,r===null&&(r=Ff(),Fe.updateQueue=r),o=r.lastEffect,o===null?r.lastEffect=e.next=e:(u=o.next,o.next=e,e.next=u,r.lastEffect=e),e}function bu(){return{destroy:void 0,resource:void 0}}function G3(){return fn().memoizedState}function _u(e,r,o,u){var f=$n();u=u===void 0?null:u,Fe.flags|=e,f.memoizedState=ql(1|r,bu(),o,u)}function Zo(e,r,o,u){var f=fn();u=u===void 0?null:u;var p=f.memoizedState.inst;Mt!==null&&u!==null&&zf(u,Mt.memoizedState.deps)?f.memoizedState=ql(r,p,o,u):(Fe.flags|=e,f.memoizedState=ql(1|r,p,o,u))}function Z3(e,r){_u(8390656,8,e,r)}function V3(e,r){Zo(2048,8,e,r)}function W3(e,r){return Zo(4,2,e,r)}function Q3(e,r){return Zo(4,4,e,r)}function K3(e,r){if(typeof r=="function"){e=e();var o=r(e);return function(){typeof o=="function"?o():r(null)}}if(r!=null)return e=e(),r.current=e,function(){r.current=null}}function X3(e,r,o){o=o!=null?o.concat([e]):null,Zo(4,4,K3.bind(null,r,e),o)}function Kf(){}function $3(e,r){var o=fn();r=r===void 0?null:r;var u=o.memoizedState;return r!==null&&zf(r,u[1])?u[0]:(o.memoizedState=[e,r],e)}function J3(e,r){var o=fn();r=r===void 0?null:r;var u=o.memoizedState;if(r!==null&&zf(r,u[1]))return u[0];if(u=e(),Qi){zt(!0);try{e()}finally{zt(!1)}}return o.memoizedState=[u,r],u}function Xf(e,r,o){return o===void 0||(ai&1073741824)!==0?e.memoizedState=r:(e.memoizedState=o,e=nv(),Fe.lanes|=e,fi|=e,o)}function e6(e,r,o,u){return lr(o,r)?o:Nl.current!==null?(e=Xf(e,o,u),lr(e,r)||(En=!0),e):(ai&42)===0?(En=!0,e.memoizedState=o):(e=nv(),Fe.lanes|=e,fi|=e,r)}function t6(e,r,o,u,f){var p=R.p;R.p=p!==0&&8>p?p:8;var _=T.T,x={};T.T=x,ed(e,!1,r,o);try{var P=f(),ee=T.S;if(ee!==null&&ee(x,P),P!==null&&typeof P=="object"&&typeof P.then=="function"){var ie=p_(P,u);Vo(e,r,ie,fr(e))}else Vo(e,r,u,fr(e))}catch(se){Vo(e,r,{then:function(){},status:"rejected",reason:se},fr())}finally{R.p=p,T.T=_}}function b_(){}function $f(e,r,o,u){if(e.tag!==5)throw Error(t(476));var f=n6(e).queue;t6(e,f,r,k,o===null?b_:function(){return r6(e),o(u)})}function n6(e){var r=e.memoizedState;if(r!==null)return r;r={memoizedState:k,baseState:k,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:k},next:null};var o={};return r.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:o},next:null},e.memoizedState=r,e=e.alternate,e!==null&&(e.memoizedState=r),r}function r6(e){var r=n6(e).next.queue;Vo(e,r,{},fr())}function Jf(){return qn(fs)}function a6(){return fn().memoizedState}function i6(){return fn().memoizedState}function __(e){for(var r=e.return;r!==null;){switch(r.tag){case 24:case 3:var o=fr();e=ni(o);var u=ri(r,e,o);u!==null&&(dr(u,r,o),jo(u,r,o)),r={cache:Af()},e.payload=r;return}r=r.return}}function S_(e,r,o){var u=fr();o={lane:u,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null},Su(e)?o6(r,o):(o=bf(e,r,o,u),o!==null&&(dr(o,e,u),s6(o,r,u)))}function l6(e,r,o){var u=fr();Vo(e,r,o,u)}function Vo(e,r,o,u){var f={lane:u,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null};if(Su(e))o6(r,f);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=r.lastRenderedReducer,p!==null))try{var _=r.lastRenderedState,x=p(_,o);if(f.hasEagerState=!0,f.eagerState=x,lr(x,_))return au(e,r,f,0),Lt===null&&ru(),!1}catch{}finally{}if(o=bf(e,r,f,u),o!==null)return dr(o,e,u),s6(o,r,u),!0}return!1}function ed(e,r,o,u){if(u={lane:2,revertLane:Nd(),action:u,hasEagerState:!1,eagerState:null,next:null},Su(e)){if(r)throw Error(t(479))}else r=bf(e,o,u,2),r!==null&&dr(r,e,2)}function Su(e){var r=e.alternate;return e===Fe||r!==null&&r===Fe}function o6(e,r){kl=mu=!0;var o=e.pending;o===null?r.next=r:(r.next=o.next,o.next=r),e.pending=r}function s6(e,r,o){if((o&4194048)!==0){var u=r.lanes;u&=e.pendingLanes,o|=u,r.lanes=o,Pe(e,o)}}var Eu={readContext:qn,use:gu,useCallback:Jt,useContext:Jt,useEffect:Jt,useImperativeHandle:Jt,useLayoutEffect:Jt,useInsertionEffect:Jt,useMemo:Jt,useReducer:Jt,useRef:Jt,useState:Jt,useDebugValue:Jt,useDeferredValue:Jt,useTransition:Jt,useSyncExternalStore:Jt,useId:Jt,useHostTransitionStatus:Jt,useFormState:Jt,useActionState:Jt,useOptimistic:Jt,useMemoCache:Jt,useCacheRefresh:Jt},u6={readContext:qn,use:gu,useCallback:function(e,r){return $n().memoizedState=[e,r===void 0?null:r],e},useContext:qn,useEffect:Z3,useImperativeHandle:function(e,r,o){o=o!=null?o.concat([e]):null,_u(4194308,4,K3.bind(null,r,e),o)},useLayoutEffect:function(e,r){return _u(4194308,4,e,r)},useInsertionEffect:function(e,r){_u(4,2,e,r)},useMemo:function(e,r){var o=$n();r=r===void 0?null:r;var u=e();if(Qi){zt(!0);try{e()}finally{zt(!1)}}return o.memoizedState=[u,r],u},useReducer:function(e,r,o){var u=$n();if(o!==void 0){var f=o(r);if(Qi){zt(!0);try{o(r)}finally{zt(!1)}}}else f=r;return u.memoizedState=u.baseState=f,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:f},u.queue=e,e=e.dispatch=S_.bind(null,Fe,e),[u.memoizedState,e]},useRef:function(e){var r=$n();return e={current:e},r.memoizedState=e},useState:function(e){e=Wf(e);var r=e.queue,o=l6.bind(null,Fe,r);return r.dispatch=o,[e.memoizedState,o]},useDebugValue:Kf,useDeferredValue:function(e,r){var o=$n();return Xf(o,e,r)},useTransition:function(){var e=Wf(!1);return e=t6.bind(null,Fe,e.queue,!0,!1),$n().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,r,o){var u=Fe,f=$n();if(mt){if(o===void 0)throw Error(t(407));o=o()}else{if(o=r(),Lt===null)throw Error(t(349));(lt&124)!==0||C3(u,r,o)}f.memoizedState=o;var p={value:o,getSnapshot:r};return f.queue=p,Z3(N3.bind(null,u,p,e),[e]),u.flags|=2048,ql(9,bu(),R3.bind(null,u,p,o,r),null),o},useId:function(){var e=$n(),r=Lt.identifierPrefix;if(mt){var o=Da,u=wa;o=(u&~(1<<32-Tt(u)-1)).toString(32)+o,r="«"+r+"R"+o,o=vu++,0<o&&(r+="H"+o.toString(32)),r+="»"}else o=m_++,r="«"+r+"r"+o.toString(32)+"»";return e.memoizedState=r},useHostTransitionStatus:Jf,useFormState:j3,useActionState:j3,useOptimistic:function(e){var r=$n();r.memoizedState=r.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=o,r=ed.bind(null,Fe,!0,o),o.dispatch=r,[e,r]},useMemoCache:Gf,useCacheRefresh:function(){return $n().memoizedState=__.bind(null,Fe)}},c6={readContext:qn,use:gu,useCallback:$3,useContext:qn,useEffect:V3,useImperativeHandle:X3,useInsertionEffect:W3,useLayoutEffect:Q3,useMemo:J3,useReducer:yu,useRef:G3,useState:function(){return yu(Ma)},useDebugValue:Kf,useDeferredValue:function(e,r){var o=fn();return e6(o,Mt.memoizedState,e,r)},useTransition:function(){var e=yu(Ma)[0],r=fn().memoizedState;return[typeof e=="boolean"?e:Go(e),r]},useSyncExternalStore:A3,useId:a6,useHostTransitionStatus:Jf,useFormState:B3,useActionState:B3,useOptimistic:function(e,r){var o=fn();return q3(o,Mt,e,r)},useMemoCache:Gf,useCacheRefresh:i6},E_={readContext:qn,use:gu,useCallback:$3,useContext:qn,useEffect:V3,useImperativeHandle:X3,useInsertionEffect:W3,useLayoutEffect:Q3,useMemo:J3,useReducer:Vf,useRef:G3,useState:function(){return Vf(Ma)},useDebugValue:Kf,useDeferredValue:function(e,r){var o=fn();return Mt===null?Xf(o,e,r):e6(o,Mt.memoizedState,e,r)},useTransition:function(){var e=Vf(Ma)[0],r=fn().memoizedState;return[typeof e=="boolean"?e:Go(e),r]},useSyncExternalStore:A3,useId:a6,useHostTransitionStatus:Jf,useFormState:F3,useActionState:F3,useOptimistic:function(e,r){var o=fn();return Mt!==null?q3(o,Mt,e,r):(o.baseState=e,[e,o.queue.dispatch])},useMemoCache:Gf,useCacheRefresh:i6},Ul=null,Wo=0;function wu(e){var r=Wo;return Wo+=1,Ul===null&&(Ul=[]),S3(Ul,e,r)}function Qo(e,r){r=r.props.ref,e.ref=r!==void 0?r:null}function Du(e,r){throw r.$$typeof===g?Error(t(525)):(e=Object.prototype.toString.call(r),Error(t(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e)))}function f6(e){var r=e._init;return r(e._payload)}function d6(e){function r(Q,F){if(e){var J=Q.deletions;J===null?(Q.deletions=[F],Q.flags|=16):J.push(F)}}function o(Q,F){if(!e)return null;for(;F!==null;)r(Q,F),F=F.sibling;return null}function u(Q){for(var F=new Map;Q!==null;)Q.key!==null?F.set(Q.key,Q):F.set(Q.index,Q),Q=Q.sibling;return F}function f(Q,F){return Q=Ea(Q,F),Q.index=0,Q.sibling=null,Q}function p(Q,F,J){return Q.index=J,e?(J=Q.alternate,J!==null?(J=J.index,J<F?(Q.flags|=67108866,F):J):(Q.flags|=67108866,F)):(Q.flags|=1048576,F)}function _(Q){return e&&Q.alternate===null&&(Q.flags|=67108866),Q}function x(Q,F,J,le){return F===null||F.tag!==6?(F=Sf(J,Q.mode,le),F.return=Q,F):(F=f(F,J),F.return=Q,F)}function P(Q,F,J,le){var we=J.type;return we===M?ie(Q,F,J.props.children,le,J.key):F!==null&&(F.elementType===we||typeof we=="object"&&we!==null&&we.$$typeof===S&&f6(we)===F.type)?(F=f(F,J.props),Qo(F,J),F.return=Q,F):(F=lu(J.type,J.key,J.props,null,Q.mode,le),Qo(F,J),F.return=Q,F)}function ee(Q,F,J,le){return F===null||F.tag!==4||F.stateNode.containerInfo!==J.containerInfo||F.stateNode.implementation!==J.implementation?(F=Ef(J,Q.mode,le),F.return=Q,F):(F=f(F,J.children||[]),F.return=Q,F)}function ie(Q,F,J,le,we){return F===null||F.tag!==7?(F=ji(J,Q.mode,le,we),F.return=Q,F):(F=f(F,J),F.return=Q,F)}function se(Q,F,J){if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return F=Sf(""+F,Q.mode,J),F.return=Q,F;if(typeof F=="object"&&F!==null){switch(F.$$typeof){case b:return J=lu(F.type,F.key,F.props,null,Q.mode,J),Qo(J,F),J.return=Q,J;case D:return F=Ef(F,Q.mode,J),F.return=Q,F;case S:var le=F._init;return F=le(F._payload),se(Q,F,J)}if(U(F)||L(F))return F=ji(F,Q.mode,J,null),F.return=Q,F;if(typeof F.then=="function")return se(Q,wu(F),J);if(F.$$typeof===Z)return se(Q,cu(Q,F),J);Du(Q,F)}return null}function te(Q,F,J,le){var we=F!==null?F.key:null;if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return we!==null?null:x(Q,F,""+J,le);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case b:return J.key===we?P(Q,F,J,le):null;case D:return J.key===we?ee(Q,F,J,le):null;case S:return we=J._init,J=we(J._payload),te(Q,F,J,le)}if(U(J)||L(J))return we!==null?null:ie(Q,F,J,le,null);if(typeof J.then=="function")return te(Q,F,wu(J),le);if(J.$$typeof===Z)return te(Q,F,cu(Q,J),le);Du(Q,J)}return null}function ne(Q,F,J,le,we){if(typeof le=="string"&&le!==""||typeof le=="number"||typeof le=="bigint")return Q=Q.get(J)||null,x(F,Q,""+le,we);if(typeof le=="object"&&le!==null){switch(le.$$typeof){case b:return Q=Q.get(le.key===null?J:le.key)||null,P(F,Q,le,we);case D:return Q=Q.get(le.key===null?J:le.key)||null,ee(F,Q,le,we);case S:var Ve=le._init;return le=Ve(le._payload),ne(Q,F,J,le,we)}if(U(le)||L(le))return Q=Q.get(J)||null,ie(F,Q,le,we,null);if(typeof le.then=="function")return ne(Q,F,J,wu(le),we);if(le.$$typeof===Z)return ne(Q,F,J,cu(F,le),we);Du(F,le)}return null}function ke(Q,F,J,le){for(var we=null,Ve=null,Oe=F,Ce=F=0,Dn=null;Oe!==null&&Ce<J.length;Ce++){Oe.index>Ce?(Dn=Oe,Oe=null):Dn=Oe.sibling;var ht=te(Q,Oe,J[Ce],le);if(ht===null){Oe===null&&(Oe=Dn);break}e&&Oe&&ht.alternate===null&&r(Q,Oe),F=p(ht,F,Ce),Ve===null?we=ht:Ve.sibling=ht,Ve=ht,Oe=Dn}if(Ce===J.length)return o(Q,Oe),mt&&Ii(Q,Ce),we;if(Oe===null){for(;Ce<J.length;Ce++)Oe=se(Q,J[Ce],le),Oe!==null&&(F=p(Oe,F,Ce),Ve===null?we=Oe:Ve.sibling=Oe,Ve=Oe);return mt&&Ii(Q,Ce),we}for(Oe=u(Oe);Ce<J.length;Ce++)Dn=ne(Oe,Q,Ce,J[Ce],le),Dn!==null&&(e&&Dn.alternate!==null&&Oe.delete(Dn.key===null?Ce:Dn.key),F=p(Dn,F,Ce),Ve===null?we=Dn:Ve.sibling=Dn,Ve=Dn);return e&&Oe.forEach(function(_i){return r(Q,_i)}),mt&&Ii(Q,Ce),we}function Ae(Q,F,J,le){if(J==null)throw Error(t(151));for(var we=null,Ve=null,Oe=F,Ce=F=0,Dn=null,ht=J.next();Oe!==null&&!ht.done;Ce++,ht=J.next()){Oe.index>Ce?(Dn=Oe,Oe=null):Dn=Oe.sibling;var _i=te(Q,Oe,ht.value,le);if(_i===null){Oe===null&&(Oe=Dn);break}e&&Oe&&_i.alternate===null&&r(Q,Oe),F=p(_i,F,Ce),Ve===null?we=_i:Ve.sibling=_i,Ve=_i,Oe=Dn}if(ht.done)return o(Q,Oe),mt&&Ii(Q,Ce),we;if(Oe===null){for(;!ht.done;Ce++,ht=J.next())ht=se(Q,ht.value,le),ht!==null&&(F=p(ht,F,Ce),Ve===null?we=ht:Ve.sibling=ht,Ve=ht);return mt&&Ii(Q,Ce),we}for(Oe=u(Oe);!ht.done;Ce++,ht=J.next())ht=ne(Oe,Q,Ce,ht.value,le),ht!==null&&(e&&ht.alternate!==null&&Oe.delete(ht.key===null?Ce:ht.key),F=p(ht,F,Ce),Ve===null?we=ht:Ve.sibling=ht,Ve=ht);return e&&Oe.forEach(function(wS){return r(Q,wS)}),mt&&Ii(Q,Ce),we}function At(Q,F,J,le){if(typeof J=="object"&&J!==null&&J.type===M&&J.key===null&&(J=J.props.children),typeof J=="object"&&J!==null){switch(J.$$typeof){case b:e:{for(var we=J.key;F!==null;){if(F.key===we){if(we=J.type,we===M){if(F.tag===7){o(Q,F.sibling),le=f(F,J.props.children),le.return=Q,Q=le;break e}}else if(F.elementType===we||typeof we=="object"&&we!==null&&we.$$typeof===S&&f6(we)===F.type){o(Q,F.sibling),le=f(F,J.props),Qo(le,J),le.return=Q,Q=le;break e}o(Q,F);break}else r(Q,F);F=F.sibling}J.type===M?(le=ji(J.props.children,Q.mode,le,J.key),le.return=Q,Q=le):(le=lu(J.type,J.key,J.props,null,Q.mode,le),Qo(le,J),le.return=Q,Q=le)}return _(Q);case D:e:{for(we=J.key;F!==null;){if(F.key===we)if(F.tag===4&&F.stateNode.containerInfo===J.containerInfo&&F.stateNode.implementation===J.implementation){o(Q,F.sibling),le=f(F,J.children||[]),le.return=Q,Q=le;break e}else{o(Q,F);break}else r(Q,F);F=F.sibling}le=Ef(J,Q.mode,le),le.return=Q,Q=le}return _(Q);case S:return we=J._init,J=we(J._payload),At(Q,F,J,le)}if(U(J))return ke(Q,F,J,le);if(L(J)){if(we=L(J),typeof we!="function")throw Error(t(150));return J=we.call(J),Ae(Q,F,J,le)}if(typeof J.then=="function")return At(Q,F,wu(J),le);if(J.$$typeof===Z)return At(Q,F,cu(Q,J),le);Du(Q,J)}return typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint"?(J=""+J,F!==null&&F.tag===6?(o(Q,F.sibling),le=f(F,J),le.return=Q,Q=le):(o(Q,F),le=Sf(J,Q.mode,le),le.return=Q,Q=le),_(Q)):o(Q,F)}return function(Q,F,J,le){try{Wo=0;var we=At(Q,F,J,le);return Ul=null,we}catch(Oe){if(Oe===zo||Oe===du)throw Oe;var Ve=or(29,Oe,null,Q.mode);return Ve.lanes=le,Ve.return=Q,Ve}finally{}}}var Hl=d6(!0),h6=d6(!1),Mr=Y(null),ia=null;function ii(e){var r=e.alternate;ae(gn,gn.current&1),ae(Mr,e),ia===null&&(r===null||Nl.current!==null||r.memoizedState!==null)&&(ia=e)}function p6(e){if(e.tag===22){if(ae(gn,gn.current),ae(Mr,e),ia===null){var r=e.alternate;r!==null&&r.memoizedState!==null&&(ia=e)}}else li()}function li(){ae(gn,gn.current),ae(Mr,Mr.current)}function Oa(e){oe(Mr),ia===e&&(ia=null),oe(gn)}var gn=Y(0);function Tu(e){for(var r=e;r!==null;){if(r.tag===13){var o=r.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||Fd(o)))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}function td(e,r,o,u){r=e.memoizedState,o=o(u,r),o=o==null?r:v({},r,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var nd={enqueueSetState:function(e,r,o){e=e._reactInternals;var u=fr(),f=ni(u);f.payload=r,o!=null&&(f.callback=o),r=ri(e,f,u),r!==null&&(dr(r,e,u),jo(r,e,u))},enqueueReplaceState:function(e,r,o){e=e._reactInternals;var u=fr(),f=ni(u);f.tag=1,f.payload=r,o!=null&&(f.callback=o),r=ri(e,f,u),r!==null&&(dr(r,e,u),jo(r,e,u))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var o=fr(),u=ni(o);u.tag=2,r!=null&&(u.callback=r),r=ri(e,u,o),r!==null&&(dr(r,e,o),jo(r,e,o))}};function m6(e,r,o,u,f,p,_){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(u,p,_):r.prototype&&r.prototype.isPureReactComponent?!Ro(o,u)||!Ro(f,p):!0}function v6(e,r,o,u){e=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(o,u),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(o,u),r.state!==e&&nd.enqueueReplaceState(r,r.state,null)}function Ki(e,r){var o=r;if("ref"in r){o={};for(var u in r)u!=="ref"&&(o[u]=r[u])}if(e=e.defaultProps){o===r&&(o=v({},o));for(var f in e)o[f]===void 0&&(o[f]=e[f])}return o}var xu=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function g6(e){xu(e)}function y6(e){console.error(e)}function b6(e){xu(e)}function Mu(e,r){try{var o=e.onUncaughtError;o(r.value,{componentStack:r.stack})}catch(u){setTimeout(function(){throw u})}}function _6(e,r,o){try{var u=e.onCaughtError;u(o.value,{componentStack:o.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function rd(e,r,o){return o=ni(o),o.tag=3,o.payload={element:null},o.callback=function(){Mu(e,r)},o}function S6(e){return e=ni(e),e.tag=3,e}function E6(e,r,o,u){var f=o.type.getDerivedStateFromError;if(typeof f=="function"){var p=u.value;e.payload=function(){return f(p)},e.callback=function(){_6(r,o,u)}}var _=o.stateNode;_!==null&&typeof _.componentDidCatch=="function"&&(e.callback=function(){_6(r,o,u),typeof f!="function"&&(di===null?di=new Set([this]):di.add(this));var x=u.stack;this.componentDidCatch(u.value,{componentStack:x!==null?x:""})})}function w_(e,r,o,u,f){if(o.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(r=o.alternate,r!==null&&Uo(r,o,f,!0),o=Mr.current,o!==null){switch(o.tag){case 13:return ia===null?Md():o.alternate===null&&Kt===0&&(Kt=3),o.flags&=-257,o.flags|=65536,o.lanes=f,u===Nf?o.flags|=16384:(r=o.updateQueue,r===null?o.updateQueue=new Set([u]):r.add(u),Ad(e,u,f)),!1;case 22:return o.flags|=65536,u===Nf?o.flags|=16384:(r=o.updateQueue,r===null?(r={transitions:null,markerInstances:null,retryQueue:new Set([u])},o.updateQueue=r):(o=r.retryQueue,o===null?r.retryQueue=new Set([u]):o.add(u)),Ad(e,u,f)),!1}throw Error(t(435,o.tag))}return Ad(e,u,f),Md(),!1}if(mt)return r=Mr.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=f,u!==Tf&&(e=Error(t(422),{cause:u}),qo(wr(e,o)))):(u!==Tf&&(r=Error(t(423),{cause:u}),qo(wr(r,o))),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,u=wr(u,o),f=rd(e.stateNode,u,f),qf(e,f),Kt!==4&&(Kt=2)),!1;var p=Error(t(520),{cause:u});if(p=wr(p,o),ns===null?ns=[p]:ns.push(p),Kt!==4&&(Kt=2),r===null)return!0;u=wr(u,o),o=r;do{switch(o.tag){case 3:return o.flags|=65536,e=f&-f,o.lanes|=e,e=rd(o.stateNode,u,e),qf(o,e),!1;case 1:if(r=o.type,p=o.stateNode,(o.flags&128)===0&&(typeof r.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(di===null||!di.has(p))))return o.flags|=65536,f&=-f,o.lanes|=f,f=S6(f),E6(f,e,o,u),qf(o,f),!1}o=o.return}while(o!==null);return!1}var w6=Error(t(461)),En=!1;function An(e,r,o,u){r.child=e===null?h6(r,null,o,u):Hl(r,e.child,o,u)}function D6(e,r,o,u,f){o=o.render;var p=r.ref;if("ref"in u){var _={};for(var x in u)x!=="ref"&&(_[x]=u[x])}else _=u;return Vi(r),u=Yf(e,r,o,_,p,f),x=jf(),e!==null&&!En?(Bf(e,r,f),Aa(e,r,f)):(mt&&x&&wf(r),r.flags|=1,An(e,r,u,f),r.child)}function T6(e,r,o,u,f){if(e===null){var p=o.type;return typeof p=="function"&&!_f(p)&&p.defaultProps===void 0&&o.compare===null?(r.tag=15,r.type=p,x6(e,r,p,u,f)):(e=lu(o.type,null,u,r,r.mode,f),e.ref=r.ref,e.return=r,r.child=e)}if(p=e.child,!fd(e,f)){var _=p.memoizedProps;if(o=o.compare,o=o!==null?o:Ro,o(_,u)&&e.ref===r.ref)return Aa(e,r,f)}return r.flags|=1,e=Ea(p,u),e.ref=r.ref,e.return=r,r.child=e}function x6(e,r,o,u,f){if(e!==null){var p=e.memoizedProps;if(Ro(p,u)&&e.ref===r.ref)if(En=!1,r.pendingProps=u=p,fd(e,f))(e.flags&131072)!==0&&(En=!0);else return r.lanes=e.lanes,Aa(e,r,f)}return ad(e,r,o,u,f)}function M6(e,r,o){var u=r.pendingProps,f=u.children,p=e!==null?e.memoizedState:null;if(u.mode==="hidden"){if((r.flags&128)!==0){if(u=p!==null?p.baseLanes|o:o,e!==null){for(f=r.child=e.child,p=0;f!==null;)p=p|f.lanes|f.childLanes,f=f.sibling;r.childLanes=p&~u}else r.childLanes=0,r.child=null;return O6(e,r,u,o)}if((o&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},e!==null&&fu(r,p!==null?p.cachePool:null),p!==null?x3(r,p):Hf(),p6(r);else return r.lanes=r.childLanes=536870912,O6(e,r,p!==null?p.baseLanes|o:o,o)}else p!==null?(fu(r,p.cachePool),x3(r,p),li(),r.memoizedState=null):(e!==null&&fu(r,null),Hf(),li());return An(e,r,f,o),r.child}function O6(e,r,o,u){var f=Rf();return f=f===null?null:{parent:vn._currentValue,pool:f},r.memoizedState={baseLanes:o,cachePool:f},e!==null&&fu(r,null),Hf(),p6(r),e!==null&&Uo(e,r,u,!0),null}function Ou(e,r){var o=r.ref;if(o===null)e!==null&&e.ref!==null&&(r.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(t(284));(e===null||e.ref!==o)&&(r.flags|=4194816)}}function ad(e,r,o,u,f){return Vi(r),o=Yf(e,r,o,u,void 0,f),u=jf(),e!==null&&!En?(Bf(e,r,f),Aa(e,r,f)):(mt&&u&&wf(r),r.flags|=1,An(e,r,o,f),r.child)}function A6(e,r,o,u,f,p){return Vi(r),r.updateQueue=null,o=O3(r,u,o,f),M3(e),u=jf(),e!==null&&!En?(Bf(e,r,p),Aa(e,r,p)):(mt&&u&&wf(r),r.flags|=1,An(e,r,o,p),r.child)}function C6(e,r,o,u,f){if(Vi(r),r.stateNode===null){var p=Ml,_=o.contextType;typeof _=="object"&&_!==null&&(p=qn(_)),p=new o(u,p),r.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=nd,r.stateNode=p,p._reactInternals=r,p=r.stateNode,p.props=u,p.state=r.memoizedState,p.refs={},kf(r),_=o.contextType,p.context=typeof _=="object"&&_!==null?qn(_):Ml,p.state=r.memoizedState,_=o.getDerivedStateFromProps,typeof _=="function"&&(td(r,o,_,u),p.state=r.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(_=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),_!==p.state&&nd.enqueueReplaceState(p,p.state,null),Io(r,u,p,f),Bo(),p.state=r.memoizedState),typeof p.componentDidMount=="function"&&(r.flags|=4194308),u=!0}else if(e===null){p=r.stateNode;var x=r.memoizedProps,P=Ki(o,x);p.props=P;var ee=p.context,ie=o.contextType;_=Ml,typeof ie=="object"&&ie!==null&&(_=qn(ie));var se=o.getDerivedStateFromProps;ie=typeof se=="function"||typeof p.getSnapshotBeforeUpdate=="function",x=r.pendingProps!==x,ie||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(x||ee!==_)&&v6(r,p,u,_),ti=!1;var te=r.memoizedState;p.state=te,Io(r,u,p,f),Bo(),ee=r.memoizedState,x||te!==ee||ti?(typeof se=="function"&&(td(r,o,se,u),ee=r.memoizedState),(P=ti||m6(r,o,P,u,te,ee,_))?(ie||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"&&(r.flags|=4194308)):(typeof p.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=u,r.memoizedState=ee),p.props=u,p.state=ee,p.context=_,u=P):(typeof p.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{p=r.stateNode,Lf(e,r),_=r.memoizedProps,ie=Ki(o,_),p.props=ie,se=r.pendingProps,te=p.context,ee=o.contextType,P=Ml,typeof ee=="object"&&ee!==null&&(P=qn(ee)),x=o.getDerivedStateFromProps,(ee=typeof x=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(_!==se||te!==P)&&v6(r,p,u,P),ti=!1,te=r.memoizedState,p.state=te,Io(r,u,p,f),Bo();var ne=r.memoizedState;_!==se||te!==ne||ti||e!==null&&e.dependencies!==null&&uu(e.dependencies)?(typeof x=="function"&&(td(r,o,x,u),ne=r.memoizedState),(ie=ti||m6(r,o,ie,u,te,ne,P)||e!==null&&e.dependencies!==null&&uu(e.dependencies))?(ee||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(u,ne,P),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(u,ne,P)),typeof p.componentDidUpdate=="function"&&(r.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof p.componentDidUpdate!="function"||_===e.memoizedProps&&te===e.memoizedState||(r.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||_===e.memoizedProps&&te===e.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=ne),p.props=u,p.state=ne,p.context=P,u=ie):(typeof p.componentDidUpdate!="function"||_===e.memoizedProps&&te===e.memoizedState||(r.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||_===e.memoizedProps&&te===e.memoizedState||(r.flags|=1024),u=!1)}return p=u,Ou(e,r),u=(r.flags&128)!==0,p||u?(p=r.stateNode,o=u&&typeof o.getDerivedStateFromError!="function"?null:p.render(),r.flags|=1,e!==null&&u?(r.child=Hl(r,e.child,null,f),r.child=Hl(r,null,o,f)):An(e,r,o,f),r.memoizedState=p.state,e=r.child):e=Aa(e,r,f),e}function R6(e,r,o,u){return Lo(),r.flags|=256,An(e,r,o,u),r.child}var id={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ld(e){return{baseLanes:e,cachePool:y3()}}function od(e,r,o){return e=e!==null?e.childLanes&~o:0,r&&(e|=Or),e}function N6(e,r,o){var u=r.pendingProps,f=!1,p=(r.flags&128)!==0,_;if((_=p)||(_=e!==null&&e.memoizedState===null?!1:(gn.current&2)!==0),_&&(f=!0,r.flags&=-129),_=(r.flags&32)!==0,r.flags&=-33,e===null){if(mt){if(f?ii(r):li(),mt){var x=Qt,P;if(P=x){e:{for(P=x,x=aa;P.nodeType!==8;){if(!x){x=null;break e}if(P=Fr(P.nextSibling),P===null){x=null;break e}}x=P}x!==null?(r.memoizedState={dehydrated:x,treeContext:Bi!==null?{id:wa,overflow:Da}:null,retryLane:536870912,hydrationErrors:null},P=or(18,null,null,0),P.stateNode=x,P.return=r,r.child=P,Fn=r,Qt=null,P=!0):P=!1}P||Gi(r)}if(x=r.memoizedState,x!==null&&(x=x.dehydrated,x!==null))return Fd(x)?r.lanes=32:r.lanes=536870912,null;Oa(r)}return x=u.children,u=u.fallback,f?(li(),f=r.mode,x=Au({mode:"hidden",children:x},f),u=ji(u,f,o,null),x.return=r,u.return=r,x.sibling=u,r.child=x,f=r.child,f.memoizedState=ld(o),f.childLanes=od(e,_,o),r.memoizedState=id,u):(ii(r),sd(r,x))}if(P=e.memoizedState,P!==null&&(x=P.dehydrated,x!==null)){if(p)r.flags&256?(ii(r),r.flags&=-257,r=ud(e,r,o)):r.memoizedState!==null?(li(),r.child=e.child,r.flags|=128,r=null):(li(),f=u.fallback,x=r.mode,u=Au({mode:"visible",children:u.children},x),f=ji(f,x,o,null),f.flags|=2,u.return=r,f.return=r,u.sibling=f,r.child=u,Hl(r,e.child,null,o),u=r.child,u.memoizedState=ld(o),u.childLanes=od(e,_,o),r.memoizedState=id,r=f);else if(ii(r),Fd(x)){if(_=x.nextSibling&&x.nextSibling.dataset,_)var ee=_.dgst;_=ee,u=Error(t(419)),u.stack="",u.digest=_,qo({value:u,source:null,stack:null}),r=ud(e,r,o)}else if(En||Uo(e,r,o,!1),_=(o&e.childLanes)!==0,En||_){if(_=Lt,_!==null&&(u=o&-o,u=(u&42)!==0?1:Ut(u),u=(u&(_.suspendedLanes|o))!==0?0:u,u!==0&&u!==P.retryLane))throw P.retryLane=u,xl(e,u),dr(_,e,u),w6;x.data==="$?"||Md(),r=ud(e,r,o)}else x.data==="$?"?(r.flags|=192,r.child=e.child,r=null):(e=P.treeContext,Qt=Fr(x.nextSibling),Fn=r,mt=!0,Fi=null,aa=!1,e!==null&&(Tr[xr++]=wa,Tr[xr++]=Da,Tr[xr++]=Bi,wa=e.id,Da=e.overflow,Bi=r),r=sd(r,u.children),r.flags|=4096);return r}return f?(li(),f=u.fallback,x=r.mode,P=e.child,ee=P.sibling,u=Ea(P,{mode:"hidden",children:u.children}),u.subtreeFlags=P.subtreeFlags&65011712,ee!==null?f=Ea(ee,f):(f=ji(f,x,o,null),f.flags|=2),f.return=r,u.return=r,u.sibling=f,r.child=u,u=f,f=r.child,x=e.child.memoizedState,x===null?x=ld(o):(P=x.cachePool,P!==null?(ee=vn._currentValue,P=P.parent!==ee?{parent:ee,pool:ee}:P):P=y3(),x={baseLanes:x.baseLanes|o,cachePool:P}),f.memoizedState=x,f.childLanes=od(e,_,o),r.memoizedState=id,u):(ii(r),o=e.child,e=o.sibling,o=Ea(o,{mode:"visible",children:u.children}),o.return=r,o.sibling=null,e!==null&&(_=r.deletions,_===null?(r.deletions=[e],r.flags|=16):_.push(e)),r.child=o,r.memoizedState=null,o)}function sd(e,r){return r=Au({mode:"visible",children:r},e.mode),r.return=e,e.child=r}function Au(e,r){return e=or(22,e,null,r),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function ud(e,r,o){return Hl(r,e.child,null,o),e=sd(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function k6(e,r,o){e.lanes|=r;var u=e.alternate;u!==null&&(u.lanes|=r),Mf(e.return,r,o)}function cd(e,r,o,u,f){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:u,tail:o,tailMode:f}:(p.isBackwards=r,p.rendering=null,p.renderingStartTime=0,p.last=u,p.tail=o,p.tailMode=f)}function L6(e,r,o){var u=r.pendingProps,f=u.revealOrder,p=u.tail;if(An(e,r,u.children,o),u=gn.current,(u&2)!==0)u=u&1|2,r.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&k6(e,o,r);else if(e.tag===19)k6(e,o,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===r)break e;for(;e.sibling===null;){if(e.return===null||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}switch(ae(gn,u),f){case"forwards":for(o=r.child,f=null;o!==null;)e=o.alternate,e!==null&&Tu(e)===null&&(f=o),o=o.sibling;o=f,o===null?(f=r.child,r.child=null):(f=o.sibling,o.sibling=null),cd(r,!1,f,o,p);break;case"backwards":for(o=null,f=r.child,r.child=null;f!==null;){if(e=f.alternate,e!==null&&Tu(e)===null){r.child=f;break}e=f.sibling,f.sibling=o,o=f,f=e}cd(r,!0,o,null,p);break;case"together":cd(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Aa(e,r,o){if(e!==null&&(r.dependencies=e.dependencies),fi|=r.lanes,(o&r.childLanes)===0)if(e!==null){if(Uo(e,r,o,!1),(o&r.childLanes)===0)return null}else return null;if(e!==null&&r.child!==e.child)throw Error(t(153));if(r.child!==null){for(e=r.child,o=Ea(e,e.pendingProps),r.child=o,o.return=r;e.sibling!==null;)e=e.sibling,o=o.sibling=Ea(e,e.pendingProps),o.return=r;o.sibling=null}return r.child}function fd(e,r){return(e.lanes&r)!==0?!0:(e=e.dependencies,!!(e!==null&&uu(e)))}function D_(e,r,o){switch(r.tag){case 3:Be(r,r.stateNode.containerInfo),ei(r,vn,e.memoizedState.cache),Lo();break;case 27:case 5:rn(r);break;case 4:Be(r,r.stateNode.containerInfo);break;case 10:ei(r,r.type,r.memoizedProps.value);break;case 13:var u=r.memoizedState;if(u!==null)return u.dehydrated!==null?(ii(r),r.flags|=128,null):(o&r.child.childLanes)!==0?N6(e,r,o):(ii(r),e=Aa(e,r,o),e!==null?e.sibling:null);ii(r);break;case 19:var f=(e.flags&128)!==0;if(u=(o&r.childLanes)!==0,u||(Uo(e,r,o,!1),u=(o&r.childLanes)!==0),f){if(u)return L6(e,r,o);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),ae(gn,gn.current),u)break;return null;case 22:case 23:return r.lanes=0,M6(e,r,o);case 24:ei(r,vn,e.memoizedState.cache)}return Aa(e,r,o)}function q6(e,r,o){if(e!==null)if(e.memoizedProps!==r.pendingProps)En=!0;else{if(!fd(e,o)&&(r.flags&128)===0)return En=!1,D_(e,r,o);En=(e.flags&131072)!==0}else En=!1,mt&&(r.flags&1048576)!==0&&f3(r,su,r.index);switch(r.lanes=0,r.tag){case 16:e:{e=r.pendingProps;var u=r.elementType,f=u._init;if(u=f(u._payload),r.type=u,typeof u=="function")_f(u)?(e=Ki(u,e),r.tag=1,r=C6(null,r,u,e,o)):(r.tag=0,r=ad(null,r,u,e,o));else{if(u!=null){if(f=u.$$typeof,f===K){r.tag=11,r=D6(null,r,u,e,o);break e}else if(f===V){r.tag=14,r=T6(null,r,u,e,o);break e}}throw r=j(u)||u,Error(t(306,r,""))}}return r;case 0:return ad(e,r,r.type,r.pendingProps,o);case 1:return u=r.type,f=Ki(u,r.pendingProps),C6(e,r,u,f,o);case 3:e:{if(Be(r,r.stateNode.containerInfo),e===null)throw Error(t(387));u=r.pendingProps;var p=r.memoizedState;f=p.element,Lf(e,r),Io(r,u,null,o);var _=r.memoizedState;if(u=_.cache,ei(r,vn,u),u!==p.cache&&Of(r,[vn],o,!0),Bo(),u=_.element,p.isDehydrated)if(p={element:u,isDehydrated:!1,cache:_.cache},r.updateQueue.baseState=p,r.memoizedState=p,r.flags&256){r=R6(e,r,u,o);break e}else if(u!==f){f=wr(Error(t(424)),r),qo(f),r=R6(e,r,u,o);break e}else{switch(e=r.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Qt=Fr(e.firstChild),Fn=r,mt=!0,Fi=null,aa=!0,o=h6(r,null,u,o),r.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling}else{if(Lo(),u===f){r=Aa(e,r,o);break e}An(e,r,u,o)}r=r.child}return r;case 26:return Ou(e,r),e===null?(o=zv(r.type,null,r.pendingProps,null))?r.memoizedState=o:mt||(o=r.type,e=r.pendingProps,u=Iu(he.current).createElement(o),u[fe]=r,u[be]=e,Rn(u,o,e),_t(u),r.stateNode=u):r.memoizedState=zv(r.type,e.memoizedProps,r.pendingProps,e.memoizedState),null;case 27:return rn(r),e===null&&mt&&(u=r.stateNode=Uv(r.type,r.pendingProps,he.current),Fn=r,aa=!0,f=Qt,mi(r.type)?(Gd=f,Qt=Fr(u.firstChild)):Qt=f),An(e,r,r.pendingProps.children,o),Ou(e,r),e===null&&(r.flags|=4194304),r.child;case 5:return e===null&&mt&&((f=u=Qt)&&(u=$_(u,r.type,r.pendingProps,aa),u!==null?(r.stateNode=u,Fn=r,Qt=Fr(u.firstChild),aa=!1,f=!0):f=!1),f||Gi(r)),rn(r),f=r.type,p=r.pendingProps,_=e!==null?e.memoizedProps:null,u=p.children,jd(f,p)?u=null:_!==null&&jd(f,_)&&(r.flags|=32),r.memoizedState!==null&&(f=Yf(e,r,v_,null,null,o),fs._currentValue=f),Ou(e,r),An(e,r,u,o),r.child;case 6:return e===null&&mt&&((e=o=Qt)&&(o=J_(o,r.pendingProps,aa),o!==null?(r.stateNode=o,Fn=r,Qt=null,e=!0):e=!1),e||Gi(r)),null;case 13:return N6(e,r,o);case 4:return Be(r,r.stateNode.containerInfo),u=r.pendingProps,e===null?r.child=Hl(r,null,u,o):An(e,r,u,o),r.child;case 11:return D6(e,r,r.type,r.pendingProps,o);case 7:return An(e,r,r.pendingProps,o),r.child;case 8:return An(e,r,r.pendingProps.children,o),r.child;case 12:return An(e,r,r.pendingProps.children,o),r.child;case 10:return u=r.pendingProps,ei(r,r.type,u.value),An(e,r,u.children,o),r.child;case 9:return f=r.type._context,u=r.pendingProps.children,Vi(r),f=qn(f),u=u(f),r.flags|=1,An(e,r,u,o),r.child;case 14:return T6(e,r,r.type,r.pendingProps,o);case 15:return x6(e,r,r.type,r.pendingProps,o);case 19:return L6(e,r,o);case 31:return u=r.pendingProps,o=r.mode,u={mode:u.mode,children:u.children},e===null?(o=Au(u,o),o.ref=r.ref,r.child=o,o.return=r,r=o):(o=Ea(e.child,u),o.ref=r.ref,r.child=o,o.return=r,r=o),r;case 22:return M6(e,r,o);case 24:return Vi(r),u=qn(vn),e===null?(f=Rf(),f===null&&(f=Lt,p=Af(),f.pooledCache=p,p.refCount++,p!==null&&(f.pooledCacheLanes|=o),f=p),r.memoizedState={parent:u,cache:f},kf(r),ei(r,vn,f)):((e.lanes&o)!==0&&(Lf(e,r),Io(r,null,null,o),Bo()),f=e.memoizedState,p=r.memoizedState,f.parent!==u?(f={parent:u,cache:u},r.memoizedState=f,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=f),ei(r,vn,u)):(u=p.cache,ei(r,vn,u),u!==f.cache&&Of(r,[vn],o,!0))),An(e,r,r.pendingProps.children,o),r.child;case 29:throw r.pendingProps}throw Error(t(156,r.tag))}function Ca(e){e.flags|=4}function U6(e,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Fv(r)){if(r=Mr.current,r!==null&&((lt&4194048)===lt?ia!==null:(lt&62914560)!==lt&&(lt&536870912)===0||r!==ia))throw Yo=Nf,b3;e.flags|=8192}}function Cu(e,r){r!==null&&(e.flags|=4),e.flags&16384&&(r=e.tag!==22?Ln():536870912,e.lanes|=r,jl|=r)}function Ko(e,r){if(!mt)switch(e.tailMode){case"hidden":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var u=null;o!==null;)o.alternate!==null&&(u=o),o=o.sibling;u===null?r||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Zt(e){var r=e.alternate!==null&&e.alternate.child===e.child,o=0,u=0;if(r)for(var f=e.child;f!==null;)o|=f.lanes|f.childLanes,u|=f.subtreeFlags&65011712,u|=f.flags&65011712,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)o|=f.lanes|f.childLanes,u|=f.subtreeFlags,u|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=u,e.childLanes=o,r}function T_(e,r,o){var u=r.pendingProps;switch(Df(r),r.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zt(r),null;case 1:return Zt(r),null;case 3:return o=r.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),r.memoizedState.cache!==u&&(r.flags|=2048),xa(vn),rt(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(ko(r)?Ca(r):e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,p3())),Zt(r),null;case 26:return o=r.memoizedState,e===null?(Ca(r),o!==null?(Zt(r),U6(r,o)):(Zt(r),r.flags&=-16777217)):o?o!==e.memoizedState?(Ca(r),Zt(r),U6(r,o)):(Zt(r),r.flags&=-16777217):(e.memoizedProps!==u&&Ca(r),Zt(r),r.flags&=-16777217),null;case 27:ct(r),o=he.current;var f=r.type;if(e!==null&&r.stateNode!=null)e.memoizedProps!==u&&Ca(r);else{if(!u){if(r.stateNode===null)throw Error(t(166));return Zt(r),null}e=pe.current,ko(r)?d3(r):(e=Uv(f,u,o),r.stateNode=e,Ca(r))}return Zt(r),null;case 5:if(ct(r),o=r.type,e!==null&&r.stateNode!=null)e.memoizedProps!==u&&Ca(r);else{if(!u){if(r.stateNode===null)throw Error(t(166));return Zt(r),null}if(e=pe.current,ko(r))d3(r);else{switch(f=Iu(he.current),e){case 1:e=f.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:e=f.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":e=f.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":e=f.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":e=f.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof u.is=="string"?f.createElement("select",{is:u.is}):f.createElement("select"),u.multiple?e.multiple=!0:u.size&&(e.size=u.size);break;default:e=typeof u.is=="string"?f.createElement(o,{is:u.is}):f.createElement(o)}}e[fe]=r,e[be]=u;e:for(f=r.child;f!==null;){if(f.tag===5||f.tag===6)e.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===r)break e;for(;f.sibling===null;){if(f.return===null||f.return===r)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}r.stateNode=e;e:switch(Rn(e,o,u),o){case"button":case"input":case"select":case"textarea":e=!!u.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Ca(r)}}return Zt(r),r.flags&=-16777217,null;case 6:if(e&&r.stateNode!=null)e.memoizedProps!==u&&Ca(r);else{if(typeof u!="string"&&r.stateNode===null)throw Error(t(166));if(e=he.current,ko(r)){if(e=r.stateNode,o=r.memoizedProps,u=null,f=Fn,f!==null)switch(f.tag){case 27:case 5:u=f.memoizedProps}e[fe]=r,e=!!(e.nodeValue===o||u!==null&&u.suppressHydrationWarning===!0||Av(e.nodeValue,o)),e||Gi(r)}else e=Iu(e).createTextNode(u),e[fe]=r,r.stateNode=e}return Zt(r),null;case 13:if(u=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=ko(r),u!==null&&u.dehydrated!==null){if(e===null){if(!f)throw Error(t(318));if(f=r.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(t(317));f[fe]=r}else Lo(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;Zt(r),f=!1}else f=p3(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=f),f=!0;if(!f)return r.flags&256?(Oa(r),r):(Oa(r),null)}if(Oa(r),(r.flags&128)!==0)return r.lanes=o,r;if(o=u!==null,e=e!==null&&e.memoizedState!==null,o){u=r.child,f=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(f=u.alternate.memoizedState.cachePool.pool);var p=null;u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(p=u.memoizedState.cachePool.pool),p!==f&&(u.flags|=2048)}return o!==e&&o&&(r.child.flags|=8192),Cu(r,r.updateQueue),Zt(r),null;case 4:return rt(),e===null&&Ud(r.stateNode.containerInfo),Zt(r),null;case 10:return xa(r.type),Zt(r),null;case 19:if(oe(gn),f=r.memoizedState,f===null)return Zt(r),null;if(u=(r.flags&128)!==0,p=f.rendering,p===null)if(u)Ko(f,!1);else{if(Kt!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(p=Tu(e),p!==null){for(r.flags|=128,Ko(f,!1),e=p.updateQueue,r.updateQueue=e,Cu(r,e),r.subtreeFlags=0,e=o,o=r.child;o!==null;)c3(o,e),o=o.sibling;return ae(gn,gn.current&1|2),r.child}e=e.sibling}f.tail!==null&&Pt()>ku&&(r.flags|=128,u=!0,Ko(f,!1),r.lanes=4194304)}else{if(!u)if(e=Tu(p),e!==null){if(r.flags|=128,u=!0,e=e.updateQueue,r.updateQueue=e,Cu(r,e),Ko(f,!0),f.tail===null&&f.tailMode==="hidden"&&!p.alternate&&!mt)return Zt(r),null}else 2*Pt()-f.renderingStartTime>ku&&o!==536870912&&(r.flags|=128,u=!0,Ko(f,!1),r.lanes=4194304);f.isBackwards?(p.sibling=r.child,r.child=p):(e=f.last,e!==null?e.sibling=p:r.child=p,f.last=p)}return f.tail!==null?(r=f.tail,f.rendering=r,f.tail=r.sibling,f.renderingStartTime=Pt(),r.sibling=null,e=gn.current,ae(gn,u?e&1|2:e&1),r):(Zt(r),null);case 22:case 23:return Oa(r),Pf(),u=r.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(r.flags|=8192):u&&(r.flags|=8192),u?(o&536870912)!==0&&(r.flags&128)===0&&(Zt(r),r.subtreeFlags&6&&(r.flags|=8192)):Zt(r),o=r.updateQueue,o!==null&&Cu(r,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),u=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),u!==o&&(r.flags|=2048),e!==null&&oe(Wi),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),r.memoizedState.cache!==o&&(r.flags|=2048),xa(vn),Zt(r),null;case 25:return null;case 30:return null}throw Error(t(156,r.tag))}function x_(e,r){switch(Df(r),r.tag){case 1:return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return xa(vn),rt(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 26:case 27:case 5:return ct(r),null;case 13:if(Oa(r),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(t(340));Lo()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return oe(gn),null;case 4:return rt(),null;case 10:return xa(r.type),null;case 22:case 23:return Oa(r),Pf(),e!==null&&oe(Wi),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 24:return xa(vn),null;case 25:return null;default:return null}}function H6(e,r){switch(Df(r),r.tag){case 3:xa(vn),rt();break;case 26:case 27:case 5:ct(r);break;case 4:rt();break;case 13:Oa(r);break;case 19:oe(gn);break;case 10:xa(r.type);break;case 22:case 23:Oa(r),Pf(),e!==null&&oe(Wi);break;case 24:xa(vn)}}function Xo(e,r){try{var o=r.updateQueue,u=o!==null?o.lastEffect:null;if(u!==null){var f=u.next;o=f;do{if((o.tag&e)===e){u=void 0;var p=o.create,_=o.inst;u=p(),_.destroy=u}o=o.next}while(o!==f)}}catch(x){Nt(r,r.return,x)}}function oi(e,r,o){try{var u=r.updateQueue,f=u!==null?u.lastEffect:null;if(f!==null){var p=f.next;u=p;do{if((u.tag&e)===e){var _=u.inst,x=_.destroy;if(x!==void 0){_.destroy=void 0,f=r;var P=o,ee=x;try{ee()}catch(ie){Nt(f,P,ie)}}}u=u.next}while(u!==p)}}catch(ie){Nt(r,r.return,ie)}}function P6(e){var r=e.updateQueue;if(r!==null){var o=e.stateNode;try{T3(r,o)}catch(u){Nt(e,e.return,u)}}}function z6(e,r,o){o.props=Ki(e.type,e.memoizedProps),o.state=e.memoizedState;try{o.componentWillUnmount()}catch(u){Nt(e,r,u)}}function $o(e,r){try{var o=e.ref;if(o!==null){switch(e.tag){case 26:case 27:case 5:var u=e.stateNode;break;case 30:u=e.stateNode;break;default:u=e.stateNode}typeof o=="function"?e.refCleanup=o(u):o.current=u}}catch(f){Nt(e,r,f)}}function la(e,r){var o=e.ref,u=e.refCleanup;if(o!==null)if(typeof u=="function")try{u()}catch(f){Nt(e,r,f)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(f){Nt(e,r,f)}else o.current=null}function Y6(e){var r=e.type,o=e.memoizedProps,u=e.stateNode;try{e:switch(r){case"button":case"input":case"select":case"textarea":o.autoFocus&&u.focus();break e;case"img":o.src?u.src=o.src:o.srcSet&&(u.srcset=o.srcSet)}}catch(f){Nt(e,e.return,f)}}function dd(e,r,o){try{var u=e.stateNode;V_(u,e.type,o,r),u[be]=r}catch(f){Nt(e,e.return,f)}}function j6(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&mi(e.type)||e.tag===4}function hd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||j6(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&mi(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function pd(e,r,o){var u=e.tag;if(u===5||u===6)e=e.stateNode,r?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(e,r):(r=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,r.appendChild(e),o=o._reactRootContainer,o!=null||r.onclick!==null||(r.onclick=Bu));else if(u!==4&&(u===27&&mi(e.type)&&(o=e.stateNode,r=null),e=e.child,e!==null))for(pd(e,r,o),e=e.sibling;e!==null;)pd(e,r,o),e=e.sibling}function Ru(e,r,o){var u=e.tag;if(u===5||u===6)e=e.stateNode,r?o.insertBefore(e,r):o.appendChild(e);else if(u!==4&&(u===27&&mi(e.type)&&(o=e.stateNode),e=e.child,e!==null))for(Ru(e,r,o),e=e.sibling;e!==null;)Ru(e,r,o),e=e.sibling}function B6(e){var r=e.stateNode,o=e.memoizedProps;try{for(var u=e.type,f=r.attributes;f.length;)r.removeAttributeNode(f[0]);Rn(r,u,o),r[fe]=e,r[be]=o}catch(p){Nt(e,e.return,p)}}var Ra=!1,en=!1,md=!1,I6=typeof WeakSet=="function"?WeakSet:Set,wn=null;function M_(e,r){if(e=e.containerInfo,zd=Qu,e=e3(e),hf(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var u=o.getSelection&&o.getSelection();if(u&&u.rangeCount!==0){o=u.anchorNode;var f=u.anchorOffset,p=u.focusNode;u=u.focusOffset;try{o.nodeType,p.nodeType}catch{o=null;break e}var _=0,x=-1,P=-1,ee=0,ie=0,se=e,te=null;t:for(;;){for(var ne;se!==o||f!==0&&se.nodeType!==3||(x=_+f),se!==p||u!==0&&se.nodeType!==3||(P=_+u),se.nodeType===3&&(_+=se.nodeValue.length),(ne=se.firstChild)!==null;)te=se,se=ne;for(;;){if(se===e)break t;if(te===o&&++ee===f&&(x=_),te===p&&++ie===u&&(P=_),(ne=se.nextSibling)!==null)break;se=te,te=se.parentNode}se=ne}o=x===-1||P===-1?null:{start:x,end:P}}else o=null}o=o||{start:0,end:0}}else o=null;for(Yd={focusedElem:e,selectionRange:o},Qu=!1,wn=r;wn!==null;)if(r=wn,e=r.child,(r.subtreeFlags&1024)!==0&&e!==null)e.return=r,wn=e;else for(;wn!==null;){switch(r=wn,p=r.alternate,e=r.flags,r.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&p!==null){e=void 0,o=r,f=p.memoizedProps,p=p.memoizedState,u=o.stateNode;try{var ke=Ki(o.type,f,o.elementType===o.type);e=u.getSnapshotBeforeUpdate(ke,p),u.__reactInternalSnapshotBeforeUpdate=e}catch(Ae){Nt(o,o.return,Ae)}}break;case 3:if((e&1024)!==0){if(e=r.stateNode.containerInfo,o=e.nodeType,o===9)Id(e);else if(o===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Id(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(t(163))}if(e=r.sibling,e!==null){e.return=r.return,wn=e;break}wn=r.return}}function F6(e,r,o){var u=o.flags;switch(o.tag){case 0:case 11:case 15:si(e,o),u&4&&Xo(5,o);break;case 1:if(si(e,o),u&4)if(e=o.stateNode,r===null)try{e.componentDidMount()}catch(_){Nt(o,o.return,_)}else{var f=Ki(o.type,r.memoizedProps);r=r.memoizedState;try{e.componentDidUpdate(f,r,e.__reactInternalSnapshotBeforeUpdate)}catch(_){Nt(o,o.return,_)}}u&64&&P6(o),u&512&&$o(o,o.return);break;case 3:if(si(e,o),u&64&&(e=o.updateQueue,e!==null)){if(r=null,o.child!==null)switch(o.child.tag){case 27:case 5:r=o.child.stateNode;break;case 1:r=o.child.stateNode}try{T3(e,r)}catch(_){Nt(o,o.return,_)}}break;case 27:r===null&&u&4&&B6(o);case 26:case 5:si(e,o),r===null&&u&4&&Y6(o),u&512&&$o(o,o.return);break;case 12:si(e,o);break;case 13:si(e,o),u&4&&V6(e,o),u&64&&(e=o.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(o=U_.bind(null,o),eS(e,o))));break;case 22:if(u=o.memoizedState!==null||Ra,!u){r=r!==null&&r.memoizedState!==null||en,f=Ra;var p=en;Ra=u,(en=r)&&!p?ui(e,o,(o.subtreeFlags&8772)!==0):si(e,o),Ra=f,en=p}break;case 30:break;default:si(e,o)}}function G6(e){var r=e.alternate;r!==null&&(e.alternate=null,G6(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&Ue(r)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Yt=null,Jn=!1;function Na(e,r,o){for(o=o.child;o!==null;)Z6(e,r,o),o=o.sibling}function Z6(e,r,o){if(tt&&typeof tt.onCommitFiberUnmount=="function")try{tt.onCommitFiberUnmount($e,o)}catch{}switch(o.tag){case 26:en||la(o,r),Na(e,r,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:en||la(o,r);var u=Yt,f=Jn;mi(o.type)&&(Yt=o.stateNode,Jn=!1),Na(e,r,o),os(o.stateNode),Yt=u,Jn=f;break;case 5:en||la(o,r);case 6:if(u=Yt,f=Jn,Yt=null,Na(e,r,o),Yt=u,Jn=f,Yt!==null)if(Jn)try{(Yt.nodeType===9?Yt.body:Yt.nodeName==="HTML"?Yt.ownerDocument.body:Yt).removeChild(o.stateNode)}catch(p){Nt(o,r,p)}else try{Yt.removeChild(o.stateNode)}catch(p){Nt(o,r,p)}break;case 18:Yt!==null&&(Jn?(e=Yt,Lv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,o.stateNode),ms(e)):Lv(Yt,o.stateNode));break;case 4:u=Yt,f=Jn,Yt=o.stateNode.containerInfo,Jn=!0,Na(e,r,o),Yt=u,Jn=f;break;case 0:case 11:case 14:case 15:en||oi(2,o,r),en||oi(4,o,r),Na(e,r,o);break;case 1:en||(la(o,r),u=o.stateNode,typeof u.componentWillUnmount=="function"&&z6(o,r,u)),Na(e,r,o);break;case 21:Na(e,r,o);break;case 22:en=(u=en)||o.memoizedState!==null,Na(e,r,o),en=u;break;default:Na(e,r,o)}}function V6(e,r){if(r.memoizedState===null&&(e=r.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ms(e)}catch(o){Nt(r,r.return,o)}}function O_(e){switch(e.tag){case 13:case 19:var r=e.stateNode;return r===null&&(r=e.stateNode=new I6),r;case 22:return e=e.stateNode,r=e._retryCache,r===null&&(r=e._retryCache=new I6),r;default:throw Error(t(435,e.tag))}}function vd(e,r){var o=O_(e);r.forEach(function(u){var f=H_.bind(null,e,u);o.has(u)||(o.add(u),u.then(f,f))})}function sr(e,r){var o=r.deletions;if(o!==null)for(var u=0;u<o.length;u++){var f=o[u],p=e,_=r,x=_;e:for(;x!==null;){switch(x.tag){case 27:if(mi(x.type)){Yt=x.stateNode,Jn=!1;break e}break;case 5:Yt=x.stateNode,Jn=!1;break e;case 3:case 4:Yt=x.stateNode.containerInfo,Jn=!0;break e}x=x.return}if(Yt===null)throw Error(t(160));Z6(p,_,f),Yt=null,Jn=!1,p=f.alternate,p!==null&&(p.return=null),f.return=null}if(r.subtreeFlags&13878)for(r=r.child;r!==null;)W6(r,e),r=r.sibling}var Ir=null;function W6(e,r){var o=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:sr(r,e),ur(e),u&4&&(oi(3,e,e.return),Xo(3,e),oi(5,e,e.return));break;case 1:sr(r,e),ur(e),u&512&&(en||o===null||la(o,o.return)),u&64&&Ra&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(o=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=o===null?u:o.concat(u))));break;case 26:var f=Ir;if(sr(r,e),ur(e),u&512&&(en||o===null||la(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[Rt]||p[fe]||p.namespaceURI==="http://www.w3.org/2000/svg"||p.hasAttribute("itemprop"))&&(p=f.createElement(u),f.head.insertBefore(p,f.querySelector("head > title"))),Rn(p,u,o),p[fe]=e,_t(p),u=p;break e;case"link":var _=Bv("link","href",f).get(u+(o.href||""));if(_){for(var x=0;x<_.length;x++)if(p=_[x],p.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&p.getAttribute("rel")===(o.rel==null?null:o.rel)&&p.getAttribute("title")===(o.title==null?null:o.title)&&p.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){_.splice(x,1);break t}}p=f.createElement(u),Rn(p,u,o),f.head.appendChild(p);break;case"meta":if(_=Bv("meta","content",f).get(u+(o.content||""))){for(x=0;x<_.length;x++)if(p=_[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)){_.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[fe]=e,_t(p),u=p}e.stateNode=u}else Iv(f,e.type,e.stateNode);else e.stateNode=jv(f,u,e.memoizedProps);else p!==u?(p===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):p.count--,u===null?Iv(f,e.type,e.stateNode):jv(f,u,e.memoizedProps)):u===null&&e.stateNode!==null&&dd(e,e.memoizedProps,o.memoizedProps)}break;case 27:sr(r,e),ur(e),u&512&&(en||o===null||la(o,o.return)),o!==null&&u&4&&dd(e,e.memoizedProps,o.memoizedProps);break;case 5:if(sr(r,e),ur(e),u&512&&(en||o===null||la(o,o.return)),e.flags&32){f=e.stateNode;try{zr(f,"")}catch(ne){Nt(e,e.return,ne)}}u&4&&e.stateNode!=null&&(f=e.memoizedProps,dd(e,f,o!==null?o.memoizedProps:f)),u&1024&&(md=!0);break;case 6:if(sr(r,e),ur(e),u&4){if(e.stateNode===null)throw Error(t(162));u=e.memoizedProps,o=e.stateNode;try{o.nodeValue=u}catch(ne){Nt(e,e.return,ne)}}break;case 3:if(Zu=null,f=Ir,Ir=Fu(r.containerInfo),sr(r,e),Ir=f,ur(e),u&4&&o!==null&&o.memoizedState.isDehydrated)try{ms(r.containerInfo)}catch(ne){Nt(e,e.return,ne)}md&&(md=!1,Q6(e));break;case 4:u=Ir,Ir=Fu(e.stateNode.containerInfo),sr(r,e),ur(e),Ir=u;break;case 12:sr(r,e),ur(e);break;case 13:sr(r,e),ur(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(Ed=Pt()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,vd(e,u)));break;case 22:f=e.memoizedState!==null;var P=o!==null&&o.memoizedState!==null,ee=Ra,ie=en;if(Ra=ee||f,en=ie||P,sr(r,e),en=ie,Ra=ee,ur(e),u&8192)e:for(r=e.stateNode,r._visibility=f?r._visibility&-2:r._visibility|1,f&&(o===null||P||Ra||en||Xi(e)),o=null,r=e;;){if(r.tag===5||r.tag===26){if(o===null){P=o=r;try{if(p=P.stateNode,f)_=p.style,typeof _.setProperty=="function"?_.setProperty("display","none","important"):_.display="none";else{x=P.stateNode;var se=P.memoizedProps.style,te=se!=null&&se.hasOwnProperty("display")?se.display:null;x.style.display=te==null||typeof te=="boolean"?"":(""+te).trim()}}catch(ne){Nt(P,P.return,ne)}}}else if(r.tag===6){if(o===null){P=r;try{P.stateNode.nodeValue=f?"":P.memoizedProps}catch(ne){Nt(P,P.return,ne)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break e;for(;r.sibling===null;){if(r.return===null||r.return===e)break e;o===r&&(o=null),r=r.return}o===r&&(o=null),r.sibling.return=r.return,r=r.sibling}u&4&&(u=e.updateQueue,u!==null&&(o=u.retryQueue,o!==null&&(u.retryQueue=null,vd(e,o))));break;case 19:sr(r,e),ur(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,vd(e,u)));break;case 30:break;case 21:break;default:sr(r,e),ur(e)}}function ur(e){var r=e.flags;if(r&2){try{for(var o,u=e.return;u!==null;){if(j6(u)){o=u;break}u=u.return}if(o==null)throw Error(t(160));switch(o.tag){case 27:var f=o.stateNode,p=hd(e);Ru(e,p,f);break;case 5:var _=o.stateNode;o.flags&32&&(zr(_,""),o.flags&=-33);var x=hd(e);Ru(e,x,_);break;case 3:case 4:var P=o.stateNode.containerInfo,ee=hd(e);pd(e,ee,P);break;default:throw Error(t(161))}}catch(ie){Nt(e,e.return,ie)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function Q6(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var r=e;Q6(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),e=e.sibling}}function si(e,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)F6(e,r.alternate,r),r=r.sibling}function Xi(e){for(e=e.child;e!==null;){var r=e;switch(r.tag){case 0:case 11:case 14:case 15:oi(4,r,r.return),Xi(r);break;case 1:la(r,r.return);var o=r.stateNode;typeof o.componentWillUnmount=="function"&&z6(r,r.return,o),Xi(r);break;case 27:os(r.stateNode);case 26:case 5:la(r,r.return),Xi(r);break;case 22:r.memoizedState===null&&Xi(r);break;case 30:Xi(r);break;default:Xi(r)}e=e.sibling}}function ui(e,r,o){for(o=o&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var u=r.alternate,f=e,p=r,_=p.flags;switch(p.tag){case 0:case 11:case 15:ui(f,p,o),Xo(4,p);break;case 1:if(ui(f,p,o),u=p,f=u.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(ee){Nt(u,u.return,ee)}if(u=p,f=u.updateQueue,f!==null){var x=u.stateNode;try{var P=f.shared.hiddenCallbacks;if(P!==null)for(f.shared.hiddenCallbacks=null,f=0;f<P.length;f++)D3(P[f],x)}catch(ee){Nt(u,u.return,ee)}}o&&_&64&&P6(p),$o(p,p.return);break;case 27:B6(p);case 26:case 5:ui(f,p,o),o&&u===null&&_&4&&Y6(p),$o(p,p.return);break;case 12:ui(f,p,o);break;case 13:ui(f,p,o),o&&_&4&&V6(f,p);break;case 22:p.memoizedState===null&&ui(f,p,o),$o(p,p.return);break;case 30:break;default:ui(f,p,o)}r=r.sibling}}function gd(e,r){var o=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),e=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(e=r.memoizedState.cachePool.pool),e!==o&&(e!=null&&e.refCount++,o!=null&&Ho(o))}function yd(e,r){e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&Ho(e))}function oa(e,r,o,u){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)K6(e,r,o,u),r=r.sibling}function K6(e,r,o,u){var f=r.flags;switch(r.tag){case 0:case 11:case 15:oa(e,r,o,u),f&2048&&Xo(9,r);break;case 1:oa(e,r,o,u);break;case 3:oa(e,r,o,u),f&2048&&(e=null,r.alternate!==null&&(e=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==e&&(r.refCount++,e!=null&&Ho(e)));break;case 12:if(f&2048){oa(e,r,o,u),e=r.stateNode;try{var p=r.memoizedProps,_=p.id,x=p.onPostCommit;typeof x=="function"&&x(_,r.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(P){Nt(r,r.return,P)}}else oa(e,r,o,u);break;case 13:oa(e,r,o,u);break;case 23:break;case 22:p=r.stateNode,_=r.alternate,r.memoizedState!==null?p._visibility&2?oa(e,r,o,u):Jo(e,r):p._visibility&2?oa(e,r,o,u):(p._visibility|=2,Pl(e,r,o,u,(r.subtreeFlags&10256)!==0)),f&2048&&gd(_,r);break;case 24:oa(e,r,o,u),f&2048&&yd(r.alternate,r);break;default:oa(e,r,o,u)}}function Pl(e,r,o,u,f){for(f=f&&(r.subtreeFlags&10256)!==0,r=r.child;r!==null;){var p=e,_=r,x=o,P=u,ee=_.flags;switch(_.tag){case 0:case 11:case 15:Pl(p,_,x,P,f),Xo(8,_);break;case 23:break;case 22:var ie=_.stateNode;_.memoizedState!==null?ie._visibility&2?Pl(p,_,x,P,f):Jo(p,_):(ie._visibility|=2,Pl(p,_,x,P,f)),f&&ee&2048&&gd(_.alternate,_);break;case 24:Pl(p,_,x,P,f),f&&ee&2048&&yd(_.alternate,_);break;default:Pl(p,_,x,P,f)}r=r.sibling}}function Jo(e,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var o=e,u=r,f=u.flags;switch(u.tag){case 22:Jo(o,u),f&2048&&gd(u.alternate,u);break;case 24:Jo(o,u),f&2048&&yd(u.alternate,u);break;default:Jo(o,u)}r=r.sibling}}var es=8192;function zl(e){if(e.subtreeFlags&es)for(e=e.child;e!==null;)X6(e),e=e.sibling}function X6(e){switch(e.tag){case 26:zl(e),e.flags&es&&e.memoizedState!==null&&hS(Ir,e.memoizedState,e.memoizedProps);break;case 5:zl(e);break;case 3:case 4:var r=Ir;Ir=Fu(e.stateNode.containerInfo),zl(e),Ir=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=es,es=16777216,zl(e),es=r):zl(e));break;default:zl(e)}}function $6(e){var r=e.alternate;if(r!==null&&(e=r.child,e!==null)){r.child=null;do r=e.sibling,e.sibling=null,e=r;while(e!==null)}}function ts(e){var r=e.deletions;if((e.flags&16)!==0){if(r!==null)for(var o=0;o<r.length;o++){var u=r[o];wn=u,ev(u,e)}$6(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)J6(e),e=e.sibling}function J6(e){switch(e.tag){case 0:case 11:case 15:ts(e),e.flags&2048&&oi(9,e,e.return);break;case 3:ts(e);break;case 12:ts(e);break;case 22:var r=e.stateNode;e.memoizedState!==null&&r._visibility&2&&(e.return===null||e.return.tag!==13)?(r._visibility&=-3,Nu(e)):ts(e);break;default:ts(e)}}function Nu(e){var r=e.deletions;if((e.flags&16)!==0){if(r!==null)for(var o=0;o<r.length;o++){var u=r[o];wn=u,ev(u,e)}$6(e)}for(e=e.child;e!==null;){switch(r=e,r.tag){case 0:case 11:case 15:oi(8,r,r.return),Nu(r);break;case 22:o=r.stateNode,o._visibility&2&&(o._visibility&=-3,Nu(r));break;default:Nu(r)}e=e.sibling}}function ev(e,r){for(;wn!==null;){var o=wn;switch(o.tag){case 0:case 11:case 15:oi(8,o,r);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var u=o.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:Ho(o.memoizedState.cache)}if(u=o.child,u!==null)u.return=o,wn=u;else e:for(o=e;wn!==null;){u=wn;var f=u.sibling,p=u.return;if(G6(u),u===o){wn=null;break e}if(f!==null){f.return=p,wn=f;break e}wn=p}}}var A_={getCacheForType:function(e){var r=qn(vn),o=r.data.get(e);return o===void 0&&(o=e(),r.data.set(e,o)),o}},C_=typeof WeakMap=="function"?WeakMap:Map,St=0,Lt=null,Qe=null,lt=0,Et=0,cr=null,ci=!1,Yl=!1,bd=!1,ka=0,Kt=0,fi=0,$i=0,_d=0,Or=0,jl=0,ns=null,er=null,Sd=!1,Ed=0,ku=1/0,Lu=null,di=null,Cn=0,hi=null,Bl=null,Il=0,wd=0,Dd=null,tv=null,rs=0,Td=null;function fr(){if((St&2)!==0&&lt!==0)return lt&-lt;if(T.T!==null){var e=Cl;return e!==0?e:Nd()}return ze()}function nv(){Or===0&&(Or=(lt&536870912)===0||mt?Bn():536870912);var e=Mr.current;return e!==null&&(e.flags|=32),Or}function dr(e,r,o){(e===Lt&&(Et===2||Et===9)||e.cancelPendingCommit!==null)&&(Fl(e,0),pi(e,lt,Or,!1)),at(e,o),((St&2)===0||e!==Lt)&&(e===Lt&&((St&2)===0&&($i|=o),Kt===4&&pi(e,lt,Or,!1)),sa(e))}function rv(e,r,o){if((St&6)!==0)throw Error(t(327));var u=!o&&(r&124)===0&&(r&e.expiredLanes)===0||xn(e,r),f=u?k_(e,r):Od(e,r,!0),p=u;do{if(f===0){Yl&&!u&&pi(e,r,0,!1);break}else{if(o=e.current.alternate,p&&!R_(o)){f=Od(e,r,!1),p=!1;continue}if(f===2){if(p=r,e.errorRecoveryDisabledLanes&p)var _=0;else _=e.pendingLanes&-536870913,_=_!==0?_:_&536870912?536870912:0;if(_!==0){r=_;e:{var x=e;f=ns;var P=x.current.memoizedState.isDehydrated;if(P&&(Fl(x,_).flags|=256),_=Od(x,_,!1),_!==2){if(bd&&!P){x.errorRecoveryDisabledLanes|=p,$i|=p,f=4;break e}p=er,er=f,p!==null&&(er===null?er=p:er.push.apply(er,p))}f=_}if(p=!1,f!==2)continue}}if(f===1){Fl(e,0),pi(e,r,0,!0);break}e:{switch(u=e,p=f,p){case 0:case 1:throw Error(t(345));case 4:if((r&4194048)!==r)break;case 6:pi(u,r,Or,!ci);break e;case 2:er=null;break;case 3:case 5:break;default:throw Error(t(329))}if((r&62914560)===r&&(f=Ed+300-Pt(),10<f)){if(pi(u,r,Or,!ci),hn(u,0,!0)!==0)break e;u.timeoutHandle=Nv(av.bind(null,u,o,er,Lu,Sd,r,Or,$i,jl,ci,p,2,-0,0),f);break e}av(u,o,er,Lu,Sd,r,Or,$i,jl,ci,p,0,-0,0)}}break}while(!0);sa(e)}function av(e,r,o,u,f,p,_,x,P,ee,ie,se,te,ne){if(e.timeoutHandle=-1,se=r.subtreeFlags,(se&8192||(se&16785408)===16785408)&&(cs={stylesheets:null,count:0,unsuspend:dS},X6(r),se=pS(),se!==null)){e.cancelPendingCommit=se(fv.bind(null,e,r,p,o,u,f,_,x,P,ie,1,te,ne)),pi(e,p,_,!ee);return}fv(e,r,p,o,u,f,_,x,P)}function R_(e){for(var r=e;;){var o=r.tag;if((o===0||o===11||o===15)&&r.flags&16384&&(o=r.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var u=0;u<o.length;u++){var f=o[u],p=f.getSnapshot;f=f.value;try{if(!lr(p(),f))return!1}catch{return!1}}if(o=r.child,r.subtreeFlags&16384&&o!==null)o.return=r,r=o;else{if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function pi(e,r,o,u){r&=~_d,r&=~$i,e.suspendedLanes|=r,e.pingedLanes&=~r,u&&(e.warmLanes|=r),u=e.expirationTimes;for(var f=r;0<f;){var p=31-Tt(f),_=1<<p;u[p]=-1,f&=~_}o!==0&&nr(e,o,r)}function qu(){return(St&6)===0?(as(0),!1):!0}function xd(){if(Qe!==null){if(Et===0)var e=Qe.return;else e=Qe,Ta=Zi=null,If(e),Ul=null,Wo=0,e=Qe;for(;e!==null;)H6(e.alternate,e),e=e.return;Qe=null}}function Fl(e,r){var o=e.timeoutHandle;o!==-1&&(e.timeoutHandle=-1,Q_(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),xd(),Lt=e,Qe=o=Ea(e.current,null),lt=r,Et=0,cr=null,ci=!1,Yl=xn(e,r),bd=!1,jl=Or=_d=$i=fi=Kt=0,er=ns=null,Sd=!1,(r&8)!==0&&(r|=r&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=r;0<u;){var f=31-Tt(u),p=1<<f;r|=e[f],u&=~p}return ka=r,ru(),o}function iv(e,r){Fe=null,T.H=Eu,r===zo||r===du?(r=E3(),Et=3):r===b3?(r=E3(),Et=4):Et=r===w6?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,cr=r,Qe===null&&(Kt=1,Mu(e,wr(r,e.current)))}function lv(){var e=T.H;return T.H=Eu,e===null?Eu:e}function ov(){var e=T.A;return T.A=A_,e}function Md(){Kt=4,ci||(lt&4194048)!==lt&&Mr.current!==null||(Yl=!0),(fi&134217727)===0&&($i&134217727)===0||Lt===null||pi(Lt,lt,Or,!1)}function Od(e,r,o){var u=St;St|=2;var f=lv(),p=ov();(Lt!==e||lt!==r)&&(Lu=null,Fl(e,r)),r=!1;var _=Kt;e:do try{if(Et!==0&&Qe!==null){var x=Qe,P=cr;switch(Et){case 8:xd(),_=6;break e;case 3:case 2:case 9:case 6:Mr.current===null&&(r=!0);var ee=Et;if(Et=0,cr=null,Gl(e,x,P,ee),o&&Yl){_=0;break e}break;default:ee=Et,Et=0,cr=null,Gl(e,x,P,ee)}}N_(),_=Kt;break}catch(ie){iv(e,ie)}while(!0);return r&&e.shellSuspendCounter++,Ta=Zi=null,St=u,T.H=f,T.A=p,Qe===null&&(Lt=null,lt=0,ru()),_}function N_(){for(;Qe!==null;)sv(Qe)}function k_(e,r){var o=St;St|=2;var u=lv(),f=ov();Lt!==e||lt!==r?(Lu=null,ku=Pt()+500,Fl(e,r)):Yl=xn(e,r);e:do try{if(Et!==0&&Qe!==null){r=Qe;var p=cr;t:switch(Et){case 1:Et=0,cr=null,Gl(e,r,p,1);break;case 2:case 9:if(_3(p)){Et=0,cr=null,uv(r);break}r=function(){Et!==2&&Et!==9||Lt!==e||(Et=7),sa(e)},p.then(r,r);break e;case 3:Et=7;break e;case 4:Et=5;break e;case 7:_3(p)?(Et=0,cr=null,uv(r)):(Et=0,cr=null,Gl(e,r,p,7));break;case 5:var _=null;switch(Qe.tag){case 26:_=Qe.memoizedState;case 5:case 27:var x=Qe;if(!_||Fv(_)){Et=0,cr=null;var P=x.sibling;if(P!==null)Qe=P;else{var ee=x.return;ee!==null?(Qe=ee,Uu(ee)):Qe=null}break t}}Et=0,cr=null,Gl(e,r,p,5);break;case 6:Et=0,cr=null,Gl(e,r,p,6);break;case 8:xd(),Kt=6;break e;default:throw Error(t(462))}}L_();break}catch(ie){iv(e,ie)}while(!0);return Ta=Zi=null,T.H=u,T.A=f,St=o,Qe!==null?0:(Lt=null,lt=0,ru(),Kt)}function L_(){for(;Qe!==null&&!et();)sv(Qe)}function sv(e){var r=q6(e.alternate,e,ka);e.memoizedProps=e.pendingProps,r===null?Uu(e):Qe=r}function uv(e){var r=e,o=r.alternate;switch(r.tag){case 15:case 0:r=A6(o,r,r.pendingProps,r.type,void 0,lt);break;case 11:r=A6(o,r,r.pendingProps,r.type.render,r.ref,lt);break;case 5:If(r);default:H6(o,r),r=Qe=c3(r,ka),r=q6(o,r,ka)}e.memoizedProps=e.pendingProps,r===null?Uu(e):Qe=r}function Gl(e,r,o,u){Ta=Zi=null,If(r),Ul=null,Wo=0;var f=r.return;try{if(w_(e,f,r,o,lt)){Kt=1,Mu(e,wr(o,e.current)),Qe=null;return}}catch(p){if(f!==null)throw Qe=f,p;Kt=1,Mu(e,wr(o,e.current)),Qe=null;return}r.flags&32768?(mt||u===1?e=!0:Yl||(lt&536870912)!==0?e=!1:(ci=e=!0,(u===2||u===9||u===3||u===6)&&(u=Mr.current,u!==null&&u.tag===13&&(u.flags|=16384))),cv(r,e)):Uu(r)}function Uu(e){var r=e;do{if((r.flags&32768)!==0){cv(r,ci);return}e=r.return;var o=T_(r.alternate,r,ka);if(o!==null){Qe=o;return}if(r=r.sibling,r!==null){Qe=r;return}Qe=r=e}while(r!==null);Kt===0&&(Kt=5)}function cv(e,r){do{var o=x_(e.alternate,e);if(o!==null){o.flags&=32767,Qe=o;return}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!r&&(e=e.sibling,e!==null)){Qe=e;return}Qe=e=o}while(e!==null);Kt=6,Qe=null}function fv(e,r,o,u,f,p,_,x,P){e.cancelPendingCommit=null;do Hu();while(Cn!==0);if((St&6)!==0)throw Error(t(327));if(r!==null){if(r===e.current)throw Error(t(177));if(p=r.lanes|r.childLanes,p|=yf,In(e,o,p,_,x,P),e===Lt&&(Qe=Lt=null,lt=0),Bl=r,hi=e,Il=o,wd=p,Dd=f,tv=u,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,P_(zn,function(){return vv(),null})):(e.callbackNode=null,e.callbackPriority=0),u=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||u){u=T.T,T.T=null,f=R.p,R.p=2,_=St,St|=4;try{M_(e,r,o)}finally{St=_,R.p=f,T.T=u}}Cn=1,dv(),hv(),pv()}}function dv(){if(Cn===1){Cn=0;var e=hi,r=Bl,o=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||o){o=T.T,T.T=null;var u=R.p;R.p=2;var f=St;St|=4;try{W6(r,e);var p=Yd,_=e3(e.containerInfo),x=p.focusedElem,P=p.selectionRange;if(_!==x&&x&&x.ownerDocument&&Jm(x.ownerDocument.documentElement,x)){if(P!==null&&hf(x)){var ee=P.start,ie=P.end;if(ie===void 0&&(ie=ee),"selectionStart"in x)x.selectionStart=ee,x.selectionEnd=Math.min(ie,x.value.length);else{var se=x.ownerDocument||document,te=se&&se.defaultView||window;if(te.getSelection){var ne=te.getSelection(),ke=x.textContent.length,Ae=Math.min(P.start,ke),At=P.end===void 0?Ae:Math.min(P.end,ke);!ne.extend&&Ae>At&&(_=At,At=Ae,Ae=_);var Q=$m(x,Ae),F=$m(x,At);if(Q&&F&&(ne.rangeCount!==1||ne.anchorNode!==Q.node||ne.anchorOffset!==Q.offset||ne.focusNode!==F.node||ne.focusOffset!==F.offset)){var J=se.createRange();J.setStart(Q.node,Q.offset),ne.removeAllRanges(),Ae>At?(ne.addRange(J),ne.extend(F.node,F.offset)):(J.setEnd(F.node,F.offset),ne.addRange(J))}}}}for(se=[],ne=x;ne=ne.parentNode;)ne.nodeType===1&&se.push({element:ne,left:ne.scrollLeft,top:ne.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<se.length;x++){var le=se[x];le.element.scrollLeft=le.left,le.element.scrollTop=le.top}}Qu=!!zd,Yd=zd=null}finally{St=f,R.p=u,T.T=o}}e.current=r,Cn=2}}function hv(){if(Cn===2){Cn=0;var e=hi,r=Bl,o=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||o){o=T.T,T.T=null;var u=R.p;R.p=2;var f=St;St|=4;try{F6(e,r.alternate,r)}finally{St=f,R.p=u,T.T=o}}Cn=3}}function pv(){if(Cn===4||Cn===3){Cn=0,qt();var e=hi,r=Bl,o=Il,u=tv;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?Cn=5:(Cn=0,Bl=hi=null,mv(e,e.pendingLanes));var f=e.pendingLanes;if(f===0&&(di=null),Me(o),r=r.stateNode,tt&&typeof tt.onCommitFiberRoot=="function")try{tt.onCommitFiberRoot($e,r,void 0,(r.current.flags&128)===128)}catch{}if(u!==null){r=T.T,f=R.p,R.p=2,T.T=null;try{for(var p=e.onRecoverableError,_=0;_<u.length;_++){var x=u[_];p(x.value,{componentStack:x.stack})}}finally{T.T=r,R.p=f}}(Il&3)!==0&&Hu(),sa(e),f=e.pendingLanes,(o&4194090)!==0&&(f&42)!==0?e===Td?rs++:(rs=0,Td=e):rs=0,as(0)}}function mv(e,r){(e.pooledCacheLanes&=r)===0&&(r=e.pooledCache,r!=null&&(e.pooledCache=null,Ho(r)))}function Hu(e){return dv(),hv(),pv(),vv()}function vv(){if(Cn!==5)return!1;var e=hi,r=wd;wd=0;var o=Me(Il),u=T.T,f=R.p;try{R.p=32>o?32:o,T.T=null,o=Dd,Dd=null;var p=hi,_=Il;if(Cn=0,Bl=hi=null,Il=0,(St&6)!==0)throw Error(t(331));var x=St;if(St|=4,J6(p.current),K6(p,p.current,_,o),St=x,as(0,!1),tt&&typeof tt.onPostCommitFiberRoot=="function")try{tt.onPostCommitFiberRoot($e,p)}catch{}return!0}finally{R.p=f,T.T=u,mv(e,r)}}function gv(e,r,o){r=wr(o,r),r=rd(e.stateNode,r,2),e=ri(e,r,2),e!==null&&(at(e,2),sa(e))}function Nt(e,r,o){if(e.tag===3)gv(e,e,o);else for(;r!==null;){if(r.tag===3){gv(r,e,o);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(di===null||!di.has(u))){e=wr(o,e),o=S6(2),u=ri(r,o,2),u!==null&&(E6(o,u,r,e),at(u,2),sa(u));break}}r=r.return}}function Ad(e,r,o){var u=e.pingCache;if(u===null){u=e.pingCache=new C_;var f=new Set;u.set(r,f)}else f=u.get(r),f===void 0&&(f=new Set,u.set(r,f));f.has(o)||(bd=!0,f.add(o),e=q_.bind(null,e,r,o),r.then(e,e))}function q_(e,r,o){var u=e.pingCache;u!==null&&u.delete(r),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,Lt===e&&(lt&o)===o&&(Kt===4||Kt===3&&(lt&62914560)===lt&&300>Pt()-Ed?(St&2)===0&&Fl(e,0):_d|=o,jl===lt&&(jl=0)),sa(e)}function yv(e,r){r===0&&(r=Ln()),e=xl(e,r),e!==null&&(at(e,r),sa(e))}function U_(e){var r=e.memoizedState,o=0;r!==null&&(o=r.retryLane),yv(e,o)}function H_(e,r){var o=0;switch(e.tag){case 13:var u=e.stateNode,f=e.memoizedState;f!==null&&(o=f.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error(t(314))}u!==null&&u.delete(r),yv(e,o)}function P_(e,r){return gt(e,r)}var Pu=null,Zl=null,Cd=!1,zu=!1,Rd=!1,Ji=0;function sa(e){e!==Zl&&e.next===null&&(Zl===null?Pu=Zl=e:Zl=Zl.next=e),zu=!0,Cd||(Cd=!0,Y_())}function as(e,r){if(!Rd&&zu){Rd=!0;do for(var o=!1,u=Pu;u!==null;){if(e!==0){var f=u.pendingLanes;if(f===0)var p=0;else{var _=u.suspendedLanes,x=u.pingedLanes;p=(1<<31-Tt(42|e)+1)-1,p&=f&~(_&~x),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(o=!0,Ev(u,p))}else p=lt,p=hn(u,u===Lt?p:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(p&3)===0||xn(u,p)||(o=!0,Ev(u,p));u=u.next}while(o);Rd=!1}}function z_(){bv()}function bv(){zu=Cd=!1;var e=0;Ji!==0&&(W_()&&(e=Ji),Ji=0);for(var r=Pt(),o=null,u=Pu;u!==null;){var f=u.next,p=_v(u,r);p===0?(u.next=null,o===null?Pu=f:o.next=f,f===null&&(Zl=o)):(o=u,(e!==0||(p&3)!==0)&&(zu=!0)),u=f}as(e)}function _v(e,r){for(var o=e.suspendedLanes,u=e.pingedLanes,f=e.expirationTimes,p=e.pendingLanes&-62914561;0<p;){var _=31-Tt(p),x=1<<_,P=f[_];P===-1?((x&o)===0||(x&u)!==0)&&(f[_]=yr(x,r)):P<=r&&(e.expiredLanes|=x),p&=~x}if(r=Lt,o=lt,o=hn(e,e===r?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u=e.callbackNode,o===0||e===r&&(Et===2||Et===9)||e.cancelPendingCommit!==null)return u!==null&&u!==null&&Ze(u),e.callbackNode=null,e.callbackPriority=0;if((o&3)===0||xn(e,o)){if(r=o&-o,r===e.callbackPriority)return r;switch(u!==null&&Ze(u),Me(o)){case 2:case 8:o=ft;break;case 32:o=zn;break;case 268435456:o=ge;break;default:o=zn}return u=Sv.bind(null,e),o=gt(o,u),e.callbackPriority=r,e.callbackNode=o,r}return u!==null&&u!==null&&Ze(u),e.callbackPriority=2,e.callbackNode=null,2}function Sv(e,r){if(Cn!==0&&Cn!==5)return e.callbackNode=null,e.callbackPriority=0,null;var o=e.callbackNode;if(Hu()&&e.callbackNode!==o)return null;var u=lt;return u=hn(e,e===Lt?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u===0?null:(rv(e,u,r),_v(e,Pt()),e.callbackNode!=null&&e.callbackNode===o?Sv.bind(null,e):null)}function Ev(e,r){if(Hu())return null;rv(e,r,!0)}function Y_(){K_(function(){(St&6)!==0?gt(yn,z_):bv()})}function Nd(){return Ji===0&&(Ji=Bn()),Ji}function wv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Yr(""+e)}function Dv(e,r){var o=r.ownerDocument.createElement("input");return o.name=r.name,o.value=r.value,e.id&&o.setAttribute("form",e.id),r.parentNode.insertBefore(o,r),e=new FormData(e),o.parentNode.removeChild(o),e}function j_(e,r,o,u,f){if(r==="submit"&&o&&o.stateNode===f){var p=wv((f[be]||null).action),_=u.submitter;_&&(r=(r=_[be]||null)?wv(r.formAction):_.getAttribute("formAction"),r!==null&&(p=r,_=null));var x=new de("action","action",null,u,f);e.push({event:x,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(Ji!==0){var P=_?Dv(f,_):new FormData(f);$f(o,{pending:!0,data:P,method:f.method,action:p},null,P)}}else typeof p=="function"&&(x.preventDefault(),P=_?Dv(f,_):new FormData(f),$f(o,{pending:!0,data:P,method:f.method,action:p},p,P))},currentTarget:f}]})}}for(var kd=0;kd<gf.length;kd++){var Ld=gf[kd],B_=Ld.toLowerCase(),I_=Ld[0].toUpperCase()+Ld.slice(1);Br(B_,"on"+I_)}Br(r3,"onAnimationEnd"),Br(a3,"onAnimationIteration"),Br(i3,"onAnimationStart"),Br("dblclick","onDoubleClick"),Br("focusin","onFocus"),Br("focusout","onBlur"),Br(l_,"onTransitionRun"),Br(o_,"onTransitionStart"),Br(s_,"onTransitionCancel"),Br(l3,"onTransitionEnd"),me("onMouseEnter",["mouseout","mouseover"]),me("onMouseLeave",["mouseout","mouseover"]),me("onPointerEnter",["pointerout","pointerover"]),me("onPointerLeave",["pointerout","pointerover"]),ue("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ue("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ue("onBeforeInput",["compositionend","keypress","textInput","paste"]),ue("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ue("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ue("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var is="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(" "),F_=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(is));function Tv(e,r){r=(r&4)!==0;for(var o=0;o<e.length;o++){var u=e[o],f=u.event;u=u.listeners;e:{var p=void 0;if(r)for(var _=u.length-1;0<=_;_--){var x=u[_],P=x.instance,ee=x.currentTarget;if(x=x.listener,P!==p&&f.isPropagationStopped())break e;p=x,f.currentTarget=ee;try{p(f)}catch(ie){xu(ie)}f.currentTarget=null,p=P}else for(_=0;_<u.length;_++){if(x=u[_],P=x.instance,ee=x.currentTarget,x=x.listener,P!==p&&f.isPropagationStopped())break e;p=x,f.currentTarget=ee;try{p(f)}catch(ie){xu(ie)}f.currentTarget=null,p=P}}}}function Ke(e,r){var o=r[dt];o===void 0&&(o=r[dt]=new Set);var u=e+"__bubble";o.has(u)||(xv(r,e,2,!1),o.add(u))}function qd(e,r,o){var u=0;r&&(u|=4),xv(o,e,u,r)}var Yu="_reactListening"+Math.random().toString(36).slice(2);function Ud(e){if(!e[Yu]){e[Yu]=!0,Ee.forEach(function(o){o!=="selectionchange"&&(F_.has(o)||qd(o,!1,e),qd(o,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[Yu]||(r[Yu]=!0,qd("selectionchange",!1,r))}}function xv(e,r,o,u){switch(Kv(r)){case 2:var f=gS;break;case 8:f=yS;break;default:f=Kd}o=f.bind(null,r,o,e),f=void 0,!_l||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(f=!0),u?f!==void 0?e.addEventListener(r,o,{capture:!0,passive:f}):e.addEventListener(r,o,!0):f!==void 0?e.addEventListener(r,o,{passive:f}):e.addEventListener(r,o,!1)}function Hd(e,r,o,u,f){var p=u;if((r&1)===0&&(r&2)===0&&u!==null)e:for(;;){if(u===null)return;var _=u.tag;if(_===3||_===4){var x=u.stateNode.containerInfo;if(x===f)break;if(_===4)for(_=u.return;_!==null;){var P=_.tag;if((P===3||P===4)&&_.stateNode.containerInfo===f)return;_=_.return}for(;x!==null;){if(_=We(x),_===null)return;if(P=_.tag,P===5||P===6||P===26||P===27){u=p=_;continue e}x=x.parentNode}}u=u.return}ar(function(){var ee=p,ie=bl(o),se=[];e:{var te=o3.get(e);if(te!==void 0){var ne=de,ke=e;switch(e){case"keypress":if(Hi(o)===0)break e;case"keydown":case"keyup":ne=Pb;break;case"focusin":ke="focus",ne=Sl;break;case"focusout":ke="blur",ne=Sl;break;case"beforeblur":case"afterblur":ne=Sl;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ne=Ja;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ne=Sn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ne=jb;break;case r3:case a3:case i3:ne=Ab;break;case l3:ne=Ib;break;case"scroll":case"scrollend":ne=kt;break;case"wheel":ne=Gb;break;case"copy":case"cut":case"paste":ne=Rb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ne=Pm;break;case"toggle":case"beforetoggle":ne=Vb}var Ae=(r&4)!==0,At=!Ae&&(e==="scroll"||e==="scrollend"),Q=Ae?te!==null?te+"Capture":null:te;Ae=[];for(var F=ee,J;F!==null;){var le=F;if(J=le.stateNode,le=le.tag,le!==5&&le!==26&&le!==27||J===null||Q===null||(le=Sr(F,Q),le!=null&&Ae.push(ls(F,le,J))),At)break;F=F.return}0<Ae.length&&(te=new ne(te,ke,null,o,ie),se.push({event:te,listeners:Ae}))}}if((r&7)===0){e:{if(te=e==="mouseover"||e==="pointerover",ne=e==="mouseout"||e==="pointerout",te&&o!==wo&&(ke=o.relatedTarget||o.fromElement)&&(We(ke)||ke[De]))break e;if((ne||te)&&(te=ie.window===ie?ie:(te=ie.ownerDocument)?te.defaultView||te.parentWindow:window,ne?(ke=o.relatedTarget||o.toElement,ne=ee,ke=ke?We(ke):null,ke!==null&&(At=s(ke),Ae=ke.tag,ke!==At||Ae!==5&&Ae!==27&&Ae!==6)&&(ke=null)):(ne=null,ke=ee),ne!==ke)){if(Ae=Ja,le="onMouseLeave",Q="onMouseEnter",F="mouse",(e==="pointerout"||e==="pointerover")&&(Ae=Pm,le="onPointerLeave",Q="onPointerEnter",F="pointer"),At=ne==null?te:rr(ne),J=ke==null?te:rr(ke),te=new Ae(le,F+"leave",ne,o,ie),te.target=At,te.relatedTarget=J,le=null,We(ie)===ee&&(Ae=new Ae(Q,F+"enter",ke,o,ie),Ae.target=J,Ae.relatedTarget=At,le=Ae),At=le,ne&&ke)t:{for(Ae=ne,Q=ke,F=0,J=Ae;J;J=Vl(J))F++;for(J=0,le=Q;le;le=Vl(le))J++;for(;0<F-J;)Ae=Vl(Ae),F--;for(;0<J-F;)Q=Vl(Q),J--;for(;F--;){if(Ae===Q||Q!==null&&Ae===Q.alternate)break t;Ae=Vl(Ae),Q=Vl(Q)}Ae=null}else Ae=null;ne!==null&&Mv(se,te,ne,Ae,!1),ke!==null&&At!==null&&Mv(se,At,ke,Ae,!0)}}e:{if(te=ee?rr(ee):window,ne=te.nodeName&&te.nodeName.toLowerCase(),ne==="select"||ne==="input"&&te.type==="file")var we=Zm;else if(Fm(te))if(Vm)we=r_;else{we=t_;var Ve=e_}else ne=te.nodeName,!ne||ne.toLowerCase()!=="input"||te.type!=="checkbox"&&te.type!=="radio"?ee&&Eo(ee.elementType)&&(we=Zm):we=n_;if(we&&(we=we(e,ee))){Gm(se,we,o,ie);break e}Ve&&Ve(e,te,ee),e==="focusout"&&ee&&te.type==="number"&&ee.memoizedProps.value!=null&&ta(te,"number",te.value)}switch(Ve=ee?rr(ee):window,e){case"focusin":(Fm(Ve)||Ve.contentEditable==="true")&&(wl=Ve,pf=ee,No=null);break;case"focusout":No=pf=wl=null;break;case"mousedown":mf=!0;break;case"contextmenu":case"mouseup":case"dragend":mf=!1,t3(se,o,ie);break;case"selectionchange":if(i_)break;case"keydown":case"keyup":t3(se,o,ie)}var Oe;if(cf)e:{switch(e){case"compositionstart":var Ce="onCompositionStart";break e;case"compositionend":Ce="onCompositionEnd";break e;case"compositionupdate":Ce="onCompositionUpdate";break e}Ce=void 0}else El?Bm(e,o)&&(Ce="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(Ce="onCompositionStart");Ce&&(zm&&o.locale!=="ko"&&(El||Ce!=="onCompositionStart"?Ce==="onCompositionEnd"&&El&&(Oe=xo()):(jr=ie,ir="value"in jr?jr.value:jr.textContent,El=!0)),Ve=ju(ee,Ce),0<Ve.length&&(Ce=new Hm(Ce,e,null,o,ie),se.push({event:Ce,listeners:Ve}),Oe?Ce.data=Oe:(Oe=Im(o),Oe!==null&&(Ce.data=Oe)))),(Oe=Qb?Kb(e,o):Xb(e,o))&&(Ce=ju(ee,"onBeforeInput"),0<Ce.length&&(Ve=new Hm("onBeforeInput","beforeinput",null,o,ie),se.push({event:Ve,listeners:Ce}),Ve.data=Oe)),j_(se,e,ee,o,ie)}Tv(se,r)})}function ls(e,r,o){return{instance:e,listener:r,currentTarget:o}}function ju(e,r){for(var o=r+"Capture",u=[];e!==null;){var f=e,p=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||p===null||(f=Sr(e,o),f!=null&&u.unshift(ls(e,f,p)),f=Sr(e,r),f!=null&&u.push(ls(e,f,p))),e.tag===3)return u;e=e.return}return[]}function Vl(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Mv(e,r,o,u,f){for(var p=r._reactName,_=[];o!==null&&o!==u;){var x=o,P=x.alternate,ee=x.stateNode;if(x=x.tag,P!==null&&P===u)break;x!==5&&x!==26&&x!==27||ee===null||(P=ee,f?(ee=Sr(o,p),ee!=null&&_.unshift(ls(o,ee,P))):f||(ee=Sr(o,p),ee!=null&&_.push(ls(o,ee,P)))),o=o.return}_.length!==0&&e.push({event:r,listeners:_})}var G_=/\r\n?/g,Z_=/\u0000|\uFFFD/g;function Ov(e){return(typeof e=="string"?e:""+e).replace(G_,`
`).replace(Z_,"")}function Av(e,r){return r=Ov(r),Ov(e)===r}function Bu(){}function Ot(e,r,o,u,f,p){switch(o){case"children":typeof u=="string"?r==="body"||r==="textarea"&&u===""||zr(e,u):(typeof u=="number"||typeof u=="bigint")&&r!=="body"&&zr(e,""+u);break;case"className":_n(e,"class",u);break;case"tabIndex":_n(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":_n(e,o,u);break;case"style":$a(e,u,p);break;case"data":if(r!=="object"){_n(e,"data",u);break}case"src":case"href":if(u===""&&(r!=="a"||o!=="href")){e.removeAttribute(o);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(o);break}u=Yr(""+u),e.setAttribute(o,u);break;case"action":case"formAction":if(typeof u=="function"){e.setAttribute(o,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof p=="function"&&(o==="formAction"?(r!=="input"&&Ot(e,r,"name",f.name,f,null),Ot(e,r,"formEncType",f.formEncType,f,null),Ot(e,r,"formMethod",f.formMethod,f,null),Ot(e,r,"formTarget",f.formTarget,f,null)):(Ot(e,r,"encType",f.encType,f,null),Ot(e,r,"method",f.method,f,null),Ot(e,r,"target",f.target,f,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(o);break}u=Yr(""+u),e.setAttribute(o,u);break;case"onClick":u!=null&&(e.onclick=Bu);break;case"onScroll":u!=null&&Ke("scroll",e);break;case"onScrollEnd":u!=null&&Ke("scrollend",e);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(t(61));if(o=u.__html,o!=null){if(f.children!=null)throw Error(t(60));e.innerHTML=o}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}o=Yr(""+u),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(o,""+u):e.removeAttribute(o);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(o,""):e.removeAttribute(o);break;case"capture":case"download":u===!0?e.setAttribute(o,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(o,u):e.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?e.setAttribute(o,u):e.removeAttribute(o);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(o):e.setAttribute(o,u);break;case"popover":Ke("beforetoggle",e),Ke("toggle",e),an(e,"popover",u);break;case"xlinkActuate":ln(e,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":ln(e,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":ln(e,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":ln(e,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":ln(e,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":ln(e,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":ln(e,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":ln(e,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":ln(e,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":an(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=sf.get(o)||o,an(e,o,u))}}function Pd(e,r,o,u,f,p){switch(o){case"style":$a(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"?zr(e,u):(typeof u=="number"||typeof u=="bigint")&&zr(e,""+u);break;case"onScroll":u!=null&&Ke("scroll",e);break;case"onScrollEnd":u!=null&&Ke("scrollend",e);break;case"onClick":u!=null&&(e.onclick=Bu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!B.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(f=o.endsWith("Capture"),r=o.slice(2,f?o.length-7:void 0),p=e[be]||null,p=p!=null?p[o]:null,typeof p=="function"&&e.removeEventListener(r,p,f),typeof u=="function")){typeof p!="function"&&p!==null&&(o in e?e[o]=null:e.hasAttribute(o)&&e.removeAttribute(o)),e.addEventListener(r,u,f);break e}o in e?e[o]=u:u===!0?e.setAttribute(o,""):an(e,o,u)}}}function Rn(e,r,o){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ke("error",e),Ke("load",e);var u=!1,f=!1,p;for(p in o)if(o.hasOwnProperty(p)){var _=o[p];if(_!=null)switch(p){case"src":u=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t(137,r));default:Ot(e,r,p,_,o,null)}}f&&Ot(e,r,"srcSet",o.srcSet,o,null),u&&Ot(e,r,"src",o.src,o,null);return;case"input":Ke("invalid",e);var x=p=_=f=null,P=null,ee=null;for(u in o)if(o.hasOwnProperty(u)){var ie=o[u];if(ie!=null)switch(u){case"name":f=ie;break;case"type":_=ie;break;case"checked":P=ie;break;case"defaultChecked":ee=ie;break;case"value":p=ie;break;case"defaultValue":x=ie;break;case"children":case"dangerouslySetInnerHTML":if(ie!=null)throw Error(t(137,r));break;default:Ot(e,r,u,ie,o,null)}}_r(e,p,x,P,ee,_,f,!1),qi(e);return;case"select":Ke("invalid",e),u=_=p=null;for(f in o)if(o.hasOwnProperty(f)&&(x=o[f],x!=null))switch(f){case"value":p=x;break;case"defaultValue":_=x;break;case"multiple":u=x;default:Ot(e,r,f,x,o,null)}r=p,o=_,e.multiple=!!u,r!=null?na(e,!!u,r,!1):o!=null&&na(e,!!u,o,!0);return;case"textarea":Ke("invalid",e),p=f=u=null;for(_ in o)if(o.hasOwnProperty(_)&&(x=o[_],x!=null))switch(_){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:Ot(e,r,_,x,o,null)}$s(e,u,f,p),qi(e);return;case"option":for(P in o)if(o.hasOwnProperty(P)&&(u=o[P],u!=null))switch(P){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:Ot(e,r,P,u,o,null)}return;case"dialog":Ke("beforetoggle",e),Ke("toggle",e),Ke("cancel",e),Ke("close",e);break;case"iframe":case"object":Ke("load",e);break;case"video":case"audio":for(u=0;u<is.length;u++)Ke(is[u],e);break;case"image":Ke("error",e),Ke("load",e);break;case"details":Ke("toggle",e);break;case"embed":case"source":case"link":Ke("error",e),Ke("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(ee in o)if(o.hasOwnProperty(ee)&&(u=o[ee],u!=null))switch(ee){case"children":case"dangerouslySetInnerHTML":throw Error(t(137,r));default:Ot(e,r,ee,u,o,null)}return;default:if(Eo(r)){for(ie in o)o.hasOwnProperty(ie)&&(u=o[ie],u!==void 0&&Pd(e,r,ie,u,o,void 0));return}}for(x in o)o.hasOwnProperty(x)&&(u=o[x],u!=null&&Ot(e,r,x,u,o,null))}function V_(e,r,o,u){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,p=null,_=null,x=null,P=null,ee=null,ie=null;for(ne in o){var se=o[ne];if(o.hasOwnProperty(ne)&&se!=null)switch(ne){case"checked":break;case"value":break;case"defaultValue":P=se;default:u.hasOwnProperty(ne)||Ot(e,r,ne,null,u,se)}}for(var te in u){var ne=u[te];if(se=o[te],u.hasOwnProperty(te)&&(ne!=null||se!=null))switch(te){case"type":p=ne;break;case"name":f=ne;break;case"checked":ee=ne;break;case"defaultChecked":ie=ne;break;case"value":_=ne;break;case"defaultValue":x=ne;break;case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(t(137,r));break;default:ne!==se&&Ot(e,r,te,ne,u,se)}}Xa(e,_,x,P,ee,ie,p,f);return;case"select":ne=_=x=te=null;for(p in o)if(P=o[p],o.hasOwnProperty(p)&&P!=null)switch(p){case"value":break;case"multiple":ne=P;default:u.hasOwnProperty(p)||Ot(e,r,p,null,u,P)}for(f in u)if(p=u[f],P=o[f],u.hasOwnProperty(f)&&(p!=null||P!=null))switch(f){case"value":te=p;break;case"defaultValue":x=p;break;case"multiple":_=p;default:p!==P&&Ot(e,r,f,p,u,P)}r=x,o=_,u=ne,te!=null?na(e,!!o,te,!1):!!u!=!!o&&(r!=null?na(e,!!o,r,!0):na(e,!!o,o?[]:"",!1));return;case"textarea":ne=te=null;for(x in o)if(f=o[x],o.hasOwnProperty(x)&&f!=null&&!u.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Ot(e,r,x,null,u,f)}for(_ in u)if(f=u[_],p=o[_],u.hasOwnProperty(_)&&(f!=null||p!=null))switch(_){case"value":te=f;break;case"defaultValue":ne=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(t(91));break;default:f!==p&&Ot(e,r,_,f,u,p)}gl(e,te,ne);return;case"option":for(var ke in o)if(te=o[ke],o.hasOwnProperty(ke)&&te!=null&&!u.hasOwnProperty(ke))switch(ke){case"selected":e.selected=!1;break;default:Ot(e,r,ke,null,u,te)}for(P in u)if(te=u[P],ne=o[P],u.hasOwnProperty(P)&&te!==ne&&(te!=null||ne!=null))switch(P){case"selected":e.selected=te&&typeof te!="function"&&typeof te!="symbol";break;default:Ot(e,r,P,te,u,ne)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ae in o)te=o[Ae],o.hasOwnProperty(Ae)&&te!=null&&!u.hasOwnProperty(Ae)&&Ot(e,r,Ae,null,u,te);for(ee in u)if(te=u[ee],ne=o[ee],u.hasOwnProperty(ee)&&te!==ne&&(te!=null||ne!=null))switch(ee){case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(t(137,r));break;default:Ot(e,r,ee,te,u,ne)}return;default:if(Eo(r)){for(var At in o)te=o[At],o.hasOwnProperty(At)&&te!==void 0&&!u.hasOwnProperty(At)&&Pd(e,r,At,void 0,u,te);for(ie in u)te=u[ie],ne=o[ie],!u.hasOwnProperty(ie)||te===ne||te===void 0&&ne===void 0||Pd(e,r,ie,te,u,ne);return}}for(var Q in o)te=o[Q],o.hasOwnProperty(Q)&&te!=null&&!u.hasOwnProperty(Q)&&Ot(e,r,Q,null,u,te);for(se in u)te=u[se],ne=o[se],!u.hasOwnProperty(se)||te===ne||te==null&&ne==null||Ot(e,r,se,te,u,ne)}var zd=null,Yd=null;function Iu(e){return e.nodeType===9?e:e.ownerDocument}function Cv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Rv(e,r){if(e===0)switch(r){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&r==="foreignObject"?0:e}function jd(e,r){return e==="textarea"||e==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.children=="bigint"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Bd=null;function W_(){var e=window.event;return e&&e.type==="popstate"?e===Bd?!1:(Bd=e,!0):(Bd=null,!1)}var Nv=typeof setTimeout=="function"?setTimeout:void 0,Q_=typeof clearTimeout=="function"?clearTimeout:void 0,kv=typeof Promise=="function"?Promise:void 0,K_=typeof queueMicrotask=="function"?queueMicrotask:typeof kv<"u"?function(e){return kv.resolve(null).then(e).catch(X_)}:Nv;function X_(e){setTimeout(function(){throw e})}function mi(e){return e==="head"}function Lv(e,r){var o=r,u=0,f=0;do{var p=o.nextSibling;if(e.removeChild(o),p&&p.nodeType===8)if(o=p.data,o==="/$"){if(0<u&&8>u){o=u;var _=e.ownerDocument;if(o&1&&os(_.documentElement),o&2&&os(_.body),o&4)for(o=_.head,os(o),_=o.firstChild;_;){var x=_.nextSibling,P=_.nodeName;_[Rt]||P==="SCRIPT"||P==="STYLE"||P==="LINK"&&_.rel.toLowerCase()==="stylesheet"||o.removeChild(_),_=x}}if(f===0){e.removeChild(p),ms(r);return}f--}else o==="$"||o==="$?"||o==="$!"?f++:u=o.charCodeAt(0)-48;else u=0;o=p}while(o);ms(r)}function Id(e){var r=e.firstChild;for(r&&r.nodeType===10&&(r=r.nextSibling);r;){var o=r;switch(r=r.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":Id(o),Ue(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}e.removeChild(o)}}function $_(e,r,o,u){for(;e.nodeType===1;){var f=o;if(e.nodeName.toLowerCase()!==r.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[Rt])switch(r){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(p=e.getAttribute("rel"),p==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(p!==f.rel||e.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||e.getAttribute("title")!==(f.title==null?null:f.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(p=e.getAttribute("src"),(p!==(f.src==null?null:f.src)||e.getAttribute("type")!==(f.type==null?null:f.type)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&p&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(r==="input"&&e.type==="hidden"){var p=f.name==null?null:""+f.name;if(f.type==="hidden"&&e.getAttribute("name")===p)return e}else return e;if(e=Fr(e.nextSibling),e===null)break}return null}function J_(e,r,o){if(r==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!o||(e=Fr(e.nextSibling),e===null))return null;return e}function Fd(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function eS(e,r){var o=e.ownerDocument;if(e.data!=="$?"||o.readyState==="complete")r();else{var u=function(){r(),o.removeEventListener("DOMContentLoaded",u)};o.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function Fr(e){for(;e!=null;e=e.nextSibling){var r=e.nodeType;if(r===1||r===3)break;if(r===8){if(r=e.data,r==="$"||r==="$!"||r==="$?"||r==="F!"||r==="F")break;if(r==="/$")return null}}return e}var Gd=null;function qv(e){e=e.previousSibling;for(var r=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(r===0)return e;r--}else o==="/$"&&r++}e=e.previousSibling}return null}function Uv(e,r,o){switch(r=Iu(o),e){case"html":if(e=r.documentElement,!e)throw Error(t(452));return e;case"head":if(e=r.head,!e)throw Error(t(453));return e;case"body":if(e=r.body,!e)throw Error(t(454));return e;default:throw Error(t(451))}}function os(e){for(var r=e.attributes;r.length;)e.removeAttributeNode(r[0]);Ue(e)}var Ar=new Map,Hv=new Set;function Fu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var La=R.d;R.d={f:tS,r:nS,D:rS,C:aS,L:iS,m:lS,X:sS,S:oS,M:uS};function tS(){var e=La.f(),r=qu();return e||r}function nS(e){var r=it(e);r!==null&&r.tag===5&&r.type==="form"?r6(r):La.r(e)}var Wl=typeof document>"u"?null:document;function Pv(e,r,o){var u=Wl;if(u&&typeof r=="string"&&r){var f=On(r);f='link[rel="'+e+'"][href="'+f+'"]',typeof o=="string"&&(f+='[crossorigin="'+o+'"]'),Hv.has(f)||(Hv.add(f),e={rel:e,crossOrigin:o,href:r},u.querySelector(f)===null&&(r=u.createElement("link"),Rn(r,"link",e),_t(r),u.head.appendChild(r)))}}function rS(e){La.D(e),Pv("dns-prefetch",e,null)}function aS(e,r){La.C(e,r),Pv("preconnect",e,r)}function iS(e,r,o){La.L(e,r,o);var u=Wl;if(u&&e&&r){var f='link[rel="preload"][as="'+On(r)+'"]';r==="image"&&o&&o.imageSrcSet?(f+='[imagesrcset="'+On(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(f+='[imagesizes="'+On(o.imageSizes)+'"]')):f+='[href="'+On(e)+'"]';var p=f;switch(r){case"style":p=Ql(e);break;case"script":p=Kl(e)}Ar.has(p)||(e=v({rel:"preload",href:r==="image"&&o&&o.imageSrcSet?void 0:e,as:r},o),Ar.set(p,e),u.querySelector(f)!==null||r==="style"&&u.querySelector(ss(p))||r==="script"&&u.querySelector(us(p))||(r=u.createElement("link"),Rn(r,"link",e),_t(r),u.head.appendChild(r)))}}function lS(e,r){La.m(e,r);var o=Wl;if(o&&e){var u=r&&typeof r.as=="string"?r.as:"script",f='link[rel="modulepreload"][as="'+On(u)+'"][href="'+On(e)+'"]',p=f;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=Kl(e)}if(!Ar.has(p)&&(e=v({rel:"modulepreload",href:e},r),Ar.set(p,e),o.querySelector(f)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(us(p)))return}u=o.createElement("link"),Rn(u,"link",e),_t(u),o.head.appendChild(u)}}}function oS(e,r,o){La.S(e,r,o);var u=Wl;if(u&&e){var f=ot(u).hoistableStyles,p=Ql(e);r=r||"default";var _=f.get(p);if(!_){var x={loading:0,preload:null};if(_=u.querySelector(ss(p)))x.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":r},o),(o=Ar.get(p))&&Zd(e,o);var P=_=u.createElement("link");_t(P),Rn(P,"link",e),P._p=new Promise(function(ee,ie){P.onload=ee,P.onerror=ie}),P.addEventListener("load",function(){x.loading|=1}),P.addEventListener("error",function(){x.loading|=2}),x.loading|=4,Gu(_,r,u)}_={type:"stylesheet",instance:_,count:1,state:x},f.set(p,_)}}}function sS(e,r){La.X(e,r);var o=Wl;if(o&&e){var u=ot(o).hoistableScripts,f=Kl(e),p=u.get(f);p||(p=o.querySelector(us(f)),p||(e=v({src:e,async:!0},r),(r=Ar.get(f))&&Vd(e,r),p=o.createElement("script"),_t(p),Rn(p,"link",e),o.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},u.set(f,p))}}function uS(e,r){La.M(e,r);var o=Wl;if(o&&e){var u=ot(o).hoistableScripts,f=Kl(e),p=u.get(f);p||(p=o.querySelector(us(f)),p||(e=v({src:e,async:!0,type:"module"},r),(r=Ar.get(f))&&Vd(e,r),p=o.createElement("script"),_t(p),Rn(p,"link",e),o.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},u.set(f,p))}}function zv(e,r,o,u){var f=(f=he.current)?Fu(f):null;if(!f)throw Error(t(446));switch(e){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(r=Ql(o.href),o=ot(f).hoistableStyles,u=o.get(r),u||(u={type:"style",instance:null,count:0,state:null},o.set(r,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){e=Ql(o.href);var p=ot(f).hoistableStyles,_=p.get(e);if(_||(f=f.ownerDocument||f,_={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(e,_),(p=f.querySelector(ss(e)))&&!p._p&&(_.instance=p,_.state.loading=5),Ar.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},Ar.set(e,o),p||cS(f,e,o,_.state))),r&&u===null)throw Error(t(528,""));return _}if(r&&u!==null)throw Error(t(529,""));return null;case"script":return r=o.async,o=o.src,typeof o=="string"&&r&&typeof r!="function"&&typeof r!="symbol"?(r=Kl(o),o=ot(f).hoistableScripts,u=o.get(r),u||(u={type:"script",instance:null,count:0,state:null},o.set(r,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(t(444,e))}}function Ql(e){return'href="'+On(e)+'"'}function ss(e){return'link[rel="stylesheet"]['+e+"]"}function Yv(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function cS(e,r,o,u){e.querySelector('link[rel="preload"][as="style"]['+r+"]")?u.loading=1:(r=e.createElement("link"),u.preload=r,r.addEventListener("load",function(){return u.loading|=1}),r.addEventListener("error",function(){return u.loading|=2}),Rn(r,"link",o),_t(r),e.head.appendChild(r))}function Kl(e){return'[src="'+On(e)+'"]'}function us(e){return"script[async]"+e}function jv(e,r,o){if(r.count++,r.instance===null)switch(r.type){case"style":var u=e.querySelector('style[data-href~="'+On(o.href)+'"]');if(u)return r.instance=u,_t(u),u;var f=v({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),_t(u),Rn(u,"style",f),Gu(u,o.precedence,e),r.instance=u;case"stylesheet":f=Ql(o.href);var p=e.querySelector(ss(f));if(p)return r.state.loading|=4,r.instance=p,_t(p),p;u=Yv(o),(f=Ar.get(f))&&Zd(u,f),p=(e.ownerDocument||e).createElement("link"),_t(p);var _=p;return _._p=new Promise(function(x,P){_.onload=x,_.onerror=P}),Rn(p,"link",u),r.state.loading|=4,Gu(p,o.precedence,e),r.instance=p;case"script":return p=Kl(o.src),(f=e.querySelector(us(p)))?(r.instance=f,_t(f),f):(u=o,(f=Ar.get(p))&&(u=v({},o),Vd(u,f)),e=e.ownerDocument||e,f=e.createElement("script"),_t(f),Rn(f,"link",u),e.head.appendChild(f),r.instance=f);case"void":return null;default:throw Error(t(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(u=r.instance,r.state.loading|=4,Gu(u,o.precedence,e));return r.instance}function Gu(e,r,o){for(var u=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=u.length?u[u.length-1]:null,p=f,_=0;_<u.length;_++){var x=u[_];if(x.dataset.precedence===r)p=x;else if(p!==f)break}p?p.parentNode.insertBefore(e,p.nextSibling):(r=o.nodeType===9?o.head:o,r.insertBefore(e,r.firstChild))}function Zd(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.title==null&&(e.title=r.title)}function Vd(e,r){e.crossOrigin==null&&(e.crossOrigin=r.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=r.referrerPolicy),e.integrity==null&&(e.integrity=r.integrity)}var Zu=null;function Bv(e,r,o){if(Zu===null){var u=new Map,f=Zu=new Map;f.set(o,u)}else f=Zu,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[Rt]||p[fe]||e==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!=="http://www.w3.org/2000/svg"){var _=p.getAttribute(r)||"";_=e+_;var x=u.get(_);x?x.push(p):u.set(_,[p])}}return u}function Iv(e,r,o){e=e.ownerDocument||e,e.head.insertBefore(o,r==="title"?e.querySelector("head > title"):null)}function fS(e,r,o){if(o===1||r.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof r.precedence!="string"||typeof r.href!="string"||r.href==="")break;return!0;case"link":if(typeof r.rel!="string"||typeof r.href!="string"||r.href===""||r.onLoad||r.onError)break;switch(r.rel){case"stylesheet":return e=r.disabled,typeof r.precedence=="string"&&e==null;default:return!0}case"script":if(r.async&&typeof r.async!="function"&&typeof r.async!="symbol"&&!r.onLoad&&!r.onError&&r.src&&typeof r.src=="string")return!0}return!1}function Fv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var cs=null;function dS(){}function hS(e,r,o){if(cs===null)throw Error(t(475));var u=cs;if(r.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var f=Ql(o.href),p=e.querySelector(ss(f));if(p){e=p._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(u.count++,u=Vu.bind(u),e.then(u,u)),r.state.loading|=4,r.instance=p,_t(p);return}p=e.ownerDocument||e,o=Yv(o),(f=Ar.get(f))&&Zd(o,f),p=p.createElement("link"),_t(p);var _=p;_._p=new Promise(function(x,P){_.onload=x,_.onerror=P}),Rn(p,"link",o),r.instance=p}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(r,e),(e=r.state.preload)&&(r.state.loading&3)===0&&(u.count++,r=Vu.bind(u),e.addEventListener("load",r),e.addEventListener("error",r))}}function pS(){if(cs===null)throw Error(t(475));var e=cs;return e.stylesheets&&e.count===0&&Wd(e,e.stylesheets),0<e.count?function(r){var o=setTimeout(function(){if(e.stylesheets&&Wd(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(o)}}:null}function Vu(){if(this.count--,this.count===0){if(this.stylesheets)Wd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Wu=null;function Wd(e,r){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Wu=new Map,r.forEach(mS,e),Wu=null,Vu.call(e))}function mS(e,r){if(!(r.state.loading&4)){var o=Wu.get(e);if(o)var u=o.get(null);else{o=new Map,Wu.set(e,o);for(var f=e.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p<f.length;p++){var _=f[p];(_.nodeName==="LINK"||_.getAttribute("media")!=="not all")&&(o.set(_.dataset.precedence,_),u=_)}u&&o.set(null,u)}f=r.instance,_=f.getAttribute("data-precedence"),p=o.get(_)||u,p===u&&o.set(null,f),o.set(_,f),this.count++,u=Vu.bind(this),f.addEventListener("load",u),f.addEventListener("error",u),p?p.parentNode.insertBefore(f,p.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(f,e.firstChild)),r.state.loading|=4}}var fs={$$typeof:Z,Provider:null,Consumer:null,_currentValue:k,_currentValue2:k,_threadCount:0};function vS(e,r,o,u,f,p,_,x){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Mn(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Mn(0),this.hiddenUpdates=Mn(null),this.identifierPrefix=u,this.onUncaughtError=f,this.onCaughtError=p,this.onRecoverableError=_,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map}function Gv(e,r,o,u,f,p,_,x,P,ee,ie,se){return e=new vS(e,r,o,_,x,P,ee,se),r=1,p===!0&&(r|=24),p=or(3,null,null,r),e.current=p,p.stateNode=e,r=Af(),r.refCount++,e.pooledCache=r,r.refCount++,p.memoizedState={element:u,isDehydrated:o,cache:r},kf(p),e}function Zv(e){return e?(e=Ml,e):Ml}function Vv(e,r,o,u,f,p){f=Zv(f),u.context===null?u.context=f:u.pendingContext=f,u=ni(r),u.payload={element:o},p=p===void 0?null:p,p!==null&&(u.callback=p),o=ri(e,u,r),o!==null&&(dr(o,e,r),jo(o,e,r))}function Wv(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<r?o:r}}function Qd(e,r){Wv(e,r),(e=e.alternate)&&Wv(e,r)}function Qv(e){if(e.tag===13){var r=xl(e,67108864);r!==null&&dr(r,e,67108864),Qd(e,67108864)}}var Qu=!0;function gS(e,r,o,u){var f=T.T;T.T=null;var p=R.p;try{R.p=2,Kd(e,r,o,u)}finally{R.p=p,T.T=f}}function yS(e,r,o,u){var f=T.T;T.T=null;var p=R.p;try{R.p=8,Kd(e,r,o,u)}finally{R.p=p,T.T=f}}function Kd(e,r,o,u){if(Qu){var f=Xd(u);if(f===null)Hd(e,r,u,Ku,o),Xv(e,u);else if(_S(f,e,r,o,u))u.stopPropagation();else if(Xv(e,u),r&4&&-1<bS.indexOf(e)){for(;f!==null;){var p=it(f);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var _=Ie(p.pendingLanes);if(_!==0){var x=p;for(x.pendingLanes|=2,x.entangledLanes|=2;_;){var P=1<<31-Tt(_);x.entanglements[1]|=P,_&=~P}sa(p),(St&6)===0&&(ku=Pt()+500,as(0))}}break;case 13:x=xl(p,2),x!==null&&dr(x,p,2),qu(),Qd(p,2)}if(p=Xd(u),p===null&&Hd(e,r,u,Ku,o),p===f)break;f=p}f!==null&&u.stopPropagation()}else Hd(e,r,u,null,o)}}function Xd(e){return e=bl(e),$d(e)}var Ku=null;function $d(e){if(Ku=null,e=We(e),e!==null){var r=s(e);if(r===null)e=null;else{var o=r.tag;if(o===13){if(e=c(r),e!==null)return e;e=null}else if(o===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;e=null}else r!==e&&(e=null)}}return Ku=e,null}function Kv(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(kn()){case yn:return 2;case ft:return 8;case zn:case Le:return 32;case ge:return 268435456;default:return 32}default:return 32}}var Jd=!1,vi=null,gi=null,yi=null,ds=new Map,hs=new Map,bi=[],bS="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Xv(e,r){switch(e){case"focusin":case"focusout":vi=null;break;case"dragenter":case"dragleave":gi=null;break;case"mouseover":case"mouseout":yi=null;break;case"pointerover":case"pointerout":ds.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":hs.delete(r.pointerId)}}function ps(e,r,o,u,f,p){return e===null||e.nativeEvent!==p?(e={blockedOn:r,domEventName:o,eventSystemFlags:u,nativeEvent:p,targetContainers:[f]},r!==null&&(r=it(r),r!==null&&Qv(r)),e):(e.eventSystemFlags|=u,r=e.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),e)}function _S(e,r,o,u,f){switch(r){case"focusin":return vi=ps(vi,e,r,o,u,f),!0;case"dragenter":return gi=ps(gi,e,r,o,u,f),!0;case"mouseover":return yi=ps(yi,e,r,o,u,f),!0;case"pointerover":var p=f.pointerId;return ds.set(p,ps(ds.get(p)||null,e,r,o,u,f)),!0;case"gotpointercapture":return p=f.pointerId,hs.set(p,ps(hs.get(p)||null,e,r,o,u,f)),!0}return!1}function $v(e){var r=We(e.target);if(r!==null){var o=s(r);if(o!==null){if(r=o.tag,r===13){if(r=c(o),r!==null){e.blockedOn=r,nt(e.priority,function(){if(o.tag===13){var u=fr();u=Ut(u);var f=xl(o,u);f!==null&&dr(f,o,u),Qd(o,u)}});return}}else if(r===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Xu(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var o=Xd(e.nativeEvent);if(o===null){o=e.nativeEvent;var u=new o.constructor(o.type,o);wo=u,o.target.dispatchEvent(u),wo=null}else return r=it(o),r!==null&&Qv(r),e.blockedOn=o,!1;r.shift()}return!0}function Jv(e,r,o){Xu(e)&&o.delete(r)}function SS(){Jd=!1,vi!==null&&Xu(vi)&&(vi=null),gi!==null&&Xu(gi)&&(gi=null),yi!==null&&Xu(yi)&&(yi=null),ds.forEach(Jv),hs.forEach(Jv)}function $u(e,r){e.blockedOn===r&&(e.blockedOn=null,Jd||(Jd=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,SS)))}var Ju=null;function e4(e){Ju!==e&&(Ju=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){Ju===e&&(Ju=null);for(var r=0;r<e.length;r+=3){var o=e[r],u=e[r+1],f=e[r+2];if(typeof u!="function"){if($d(u||o)===null)continue;break}var p=it(o);p!==null&&(e.splice(r,3),r-=3,$f(p,{pending:!0,data:f,method:o.method,action:u},u,f))}}))}function ms(e){function r(P){return $u(P,e)}vi!==null&&$u(vi,e),gi!==null&&$u(gi,e),yi!==null&&$u(yi,e),ds.forEach(r),hs.forEach(r);for(var o=0;o<bi.length;o++){var u=bi[o];u.blockedOn===e&&(u.blockedOn=null)}for(;0<bi.length&&(o=bi[0],o.blockedOn===null);)$v(o),o.blockedOn===null&&bi.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],_=f[be]||null;if(typeof p=="function")_||e4(o);else if(_){var x=null;if(p&&p.hasAttribute("formAction")){if(f=p,_=p[be]||null)x=_.formAction;else if($d(f)!==null)continue}else x=_.action;typeof x=="function"?o[u+1]=x:(o.splice(u,3),u-=3),e4(o)}}}function e1(e){this._internalRoot=e}ec.prototype.render=e1.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(t(409));var o=r.current,u=fr();Vv(o,u,e,r,null,null)},ec.prototype.unmount=e1.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;Vv(e.current,2,null,e,null,null),qu(),r[De]=null}};function ec(e){this._internalRoot=e}ec.prototype.unstable_scheduleHydration=function(e){if(e){var r=ze();e={blockedOn:null,target:e,priority:r};for(var o=0;o<bi.length&&r!==0&&r<bi[o].priority;o++);bi.splice(o,0,e),o===0&&$v(e)}};var t4=i.version;if(t4!=="19.1.0")throw Error(t(527,t4,"19.1.0"));R.findDOMNode=function(e){var r=e._reactInternals;if(r===void 0)throw typeof e.render=="function"?Error(t(188)):(e=Object.keys(e).join(","),Error(t(268,e)));return e=h(r),e=e!==null?m(e):null,e=e===null?null:e.stateNode,e};var ES={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:T,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var tc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!tc.isDisabled&&tc.supportsFiber)try{$e=tc.inject(ES),tt=tc}catch{}}return gs.createRoot=function(e,r){if(!l(e))throw Error(t(299));var o=!1,u="",f=g6,p=y6,_=b6,x=null;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onUncaughtError!==void 0&&(f=r.onUncaughtError),r.onCaughtError!==void 0&&(p=r.onCaughtError),r.onRecoverableError!==void 0&&(_=r.onRecoverableError),r.unstable_transitionCallbacks!==void 0&&(x=r.unstable_transitionCallbacks)),r=Gv(e,1,!1,null,null,o,u,f,p,_,x,null),e[De]=r.current,Ud(e),new e1(r)},gs.hydrateRoot=function(e,r,o){if(!l(e))throw Error(t(299));var u=!1,f="",p=g6,_=y6,x=b6,P=null,ee=null;return o!=null&&(o.unstable_strictMode===!0&&(u=!0),o.identifierPrefix!==void 0&&(f=o.identifierPrefix),o.onUncaughtError!==void 0&&(p=o.onUncaughtError),o.onCaughtError!==void 0&&(_=o.onCaughtError),o.onRecoverableError!==void 0&&(x=o.onRecoverableError),o.unstable_transitionCallbacks!==void 0&&(P=o.unstable_transitionCallbacks),o.formState!==void 0&&(ee=o.formState)),r=Gv(e,1,!0,r,o??null,u,f,p,_,x,P,ee),r.context=Zv(null),o=r.current,u=fr(),u=Ut(u),f=ni(u),f.callback=null,ri(o,f,u),o=u,r.current.lanes=o,at(r,o),sa(r),e[De]=r.current,Ud(e),new ec(r)},gs.version="19.1.0",gs}var f4;function LS(){if(f4)return n1.exports;f4=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}return a(),n1.exports=kS(),n1.exports}var qS=LS(),y=Q2();const G=gr(y),k9=xS({__proto__:null,default:G},[y]);/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */var o1,d4;function h4(){if(d4)return o1;d4=1;const{entries:a,setPrototypeOf:i,isFrozen:n,getPrototypeOf:t,getOwnPropertyDescriptor:l}=Object;let{freeze:s,seal:c,create:d}=Object,{apply:h,construct:m}=typeof Reflect<"u"&&Reflect;s||(s=function(ge){return ge}),c||(c=function(ge){return ge}),h||(h=function(ge,qe,Ne){return ge.apply(qe,Ne)}),m||(m=function(ge,qe){return new ge(...qe)});const v=S(Array.prototype.forEach),g=S(Array.prototype.lastIndexOf),b=S(Array.prototype.pop),D=S(Array.prototype.push),M=S(Array.prototype.splice),C=S(String.prototype.toLowerCase),N=S(String.prototype.toString),H=S(String.prototype.match),O=S(String.prototype.replace),Z=S(String.prototype.indexOf),K=S(String.prototype.trim),X=S(Object.prototype.hasOwnProperty),re=S(RegExp.prototype.test),V=E(TypeError);function S(Le){return function(ge){ge instanceof RegExp&&(ge.lastIndex=0);for(var qe=arguments.length,Ne=new Array(qe>1?qe-1:0),$e=1;$e<qe;$e++)Ne[$e-1]=arguments[$e];return h(Le,ge,Ne)}}function E(Le){return function(){for(var ge=arguments.length,qe=new Array(ge),Ne=0;Ne<ge;Ne++)qe[Ne]=arguments[Ne];return m(Le,qe)}}function w(Le,ge){let qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:C;i&&i(Le,null);let Ne=ge.length;for(;Ne--;){let $e=ge[Ne];if(typeof $e=="string"){const tt=qe($e);tt!==$e&&(n(ge)||(ge[Ne]=tt),$e=tt)}Le[$e]=!0}return Le}function q(Le){for(let ge=0;ge<Le.length;ge++)X(Le,ge)||(Le[ge]=null);return Le}function L(Le){const ge=d(null);for(const[qe,Ne]of a(Le))X(Le,qe)&&(Array.isArray(Ne)?ge[qe]=q(Ne):Ne&&typeof Ne=="object"&&Ne.constructor===Object?ge[qe]=L(Ne):ge[qe]=Ne);return ge}function z(Le,ge){for(;Le!==null;){const Ne=l(Le,ge);if(Ne){if(Ne.get)return S(Ne.get);if(typeof Ne.value=="function")return S(Ne.value)}Le=t(Le)}function qe(){return null}return qe}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"]),U=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),T=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),R=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"]),k=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),$=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),A=s(["#text"]),Y=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),oe=s(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ae=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),pe=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ce=c(/\{\{[\w\W]*|[\w\W]*\}\}/gm),he=c(/<%[\w\W]*|[\w\W]*%>/gm),je=c(/\$\{[\w\W]*/gm),Be=c(/^data-[\-\w.\u00B7-\uFFFF]+$/),rt=c(/^aria-[\-\w]+$/),rn=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ct=c(/^(?:\w+script|data):/i),Ct=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),gt=c(/^html$/i),Ze=c(/^[a-z][.\w]*(-[.\w]+)+$/i);var et=Object.freeze({__proto__:null,ARIA_ATTR:rt,ATTR_WHITESPACE:Ct,CUSTOM_ELEMENT:Ze,DATA_ATTR:Be,DOCTYPE_NAME:gt,ERB_EXPR:he,IS_ALLOWED_URI:rn,IS_SCRIPT_OR_DATA:ct,MUSTACHE_EXPR:ce,TMPLIT_EXPR:je});const qt={element:1,text:3,progressingInstruction:7,comment:8,document:9},Pt=function(){return typeof window>"u"?null:window},kn=function(ge,qe){if(typeof ge!="object"||typeof ge.createPolicy!="function")return null;let Ne=null;const $e="data-tt-policy-suffix";qe&&qe.hasAttribute($e)&&(Ne=qe.getAttribute($e));const tt="dompurify"+(Ne?"#"+Ne:"");try{return ge.createPolicy(tt,{createHTML(zt){return zt},createScriptURL(zt){return zt}})}catch{return console.warn("TrustedTypes policy "+tt+" could not be created."),null}},yn=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ft(){let Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Pt();const ge=ye=>ft(ye);if(ge.version="3.2.6",ge.removed=[],!Le||!Le.document||Le.document.nodeType!==qt.document||!Le.Element)return ge.isSupported=!1,ge;let{document:qe}=Le;const Ne=qe,$e=Ne.currentScript,{DocumentFragment:tt,HTMLTemplateElement:zt,Node:Tt,Element:Yn,NodeFilter:Kn,NamedNodeMap:jn=Le.NamedNodeMap||Le.MozNamedAttrMap,HTMLFormElement:dn,DOMParser:xt,trustedTypes:Ie}=Le,hn=Yn.prototype,xn=z(hn,"cloneNode"),yr=z(hn,"remove"),Bn=z(hn,"nextSibling"),Ln=z(hn,"childNodes"),Mn=z(hn,"parentNode");if(typeof zt=="function"){const ye=qe.createElement("template");ye.content&&ye.content.ownerDocument&&(qe=ye.content.ownerDocument)}let at,In="";const{implementation:nr,createNodeIterator:Pe,createDocumentFragment:Ut,getElementsByTagName:Me}=qe,{importNode:ze}=Ne;let nt=yn();ge.isSupported=typeof a=="function"&&typeof Mn=="function"&&nr&&nr.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:It,ERB_EXPR:fe,TMPLIT_EXPR:be,DATA_ATTR:De,ARIA_ATTR:dt,IS_SCRIPT_OR_DATA:Ft,ATTR_WHITESPACE:bn,CUSTOM_ELEMENT:pn}=et;let{IS_ALLOWED_URI:Rt}=et,Ue=null;const We=w({},[...j,...U,...T,...k,...A]);let it=null;const rr=w({},[...Y,...oe,...ae,...pe]);let ot=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}})),_t=null,Ee=null,B=!0,ue=!0,me=!1,xe=!0,Je=!1,pt=!0,yt=!1,an=!1,_n=!1,ln=!1,Ht=!1,ea=!1,br=!0,vl=!1;const bo="user-content-";let _o=!0,Qa=!1,mn={},ba=null;const Ks=w({},["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 qi=null;const So=w({},["audio","video","img","source","image","track"]);let Ka=null;const Xs=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),On="http://www.w3.org/1998/Math/MathML",Xa="http://www.w3.org/2000/svg",_r="http://www.w3.org/1999/xhtml";let ta=_r,na=!1,gl=null;const $s=w({},[On,Xa,_r],N);let zr=w({},["mi","mo","mn","ms","mtext"]),yl=w({},["annotation-xml"]);const Js=w({},["title","style","font","a","script"]);let $a=null;const Eo=["application/xhtml+xml","text/html"],sf="text/html";let on=null,Yr=null;const wo=qe.createElement("form"),bl=function(I){return I instanceof RegExp||I instanceof Function},ra=function(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Yr&&Yr===I)){if((!I||typeof I!="object")&&(I={}),I=L(I),$a=Eo.indexOf(I.PARSER_MEDIA_TYPE)===-1?sf:I.PARSER_MEDIA_TYPE,on=$a==="application/xhtml+xml"?N:C,Ue=X(I,"ALLOWED_TAGS")?w({},I.ALLOWED_TAGS,on):We,it=X(I,"ALLOWED_ATTR")?w({},I.ALLOWED_ATTR,on):rr,gl=X(I,"ALLOWED_NAMESPACES")?w({},I.ALLOWED_NAMESPACES,N):$s,Ka=X(I,"ADD_URI_SAFE_ATTR")?w(L(Xs),I.ADD_URI_SAFE_ATTR,on):Xs,qi=X(I,"ADD_DATA_URI_TAGS")?w(L(So),I.ADD_DATA_URI_TAGS,on):So,ba=X(I,"FORBID_CONTENTS")?w({},I.FORBID_CONTENTS,on):Ks,_t=X(I,"FORBID_TAGS")?w({},I.FORBID_TAGS,on):L({}),Ee=X(I,"FORBID_ATTR")?w({},I.FORBID_ATTR,on):L({}),mn=X(I,"USE_PROFILES")?I.USE_PROFILES:!1,B=I.ALLOW_ARIA_ATTR!==!1,ue=I.ALLOW_DATA_ATTR!==!1,me=I.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=I.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Je=I.SAFE_FOR_TEMPLATES||!1,pt=I.SAFE_FOR_XML!==!1,yt=I.WHOLE_DOCUMENT||!1,ln=I.RETURN_DOM||!1,Ht=I.RETURN_DOM_FRAGMENT||!1,ea=I.RETURN_TRUSTED_TYPE||!1,_n=I.FORCE_BODY||!1,br=I.SANITIZE_DOM!==!1,vl=I.SANITIZE_NAMED_PROPS||!1,_o=I.KEEP_CONTENT!==!1,Qa=I.IN_PLACE||!1,Rt=I.ALLOWED_URI_REGEXP||rn,ta=I.NAMESPACE||_r,zr=I.MATHML_TEXT_INTEGRATION_POINTS||zr,yl=I.HTML_INTEGRATION_POINTS||yl,ot=I.CUSTOM_ELEMENT_HANDLING||{},I.CUSTOM_ELEMENT_HANDLING&&bl(I.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ot.tagNameCheck=I.CUSTOM_ELEMENT_HANDLING.tagNameCheck),I.CUSTOM_ELEMENT_HANDLING&&bl(I.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ot.attributeNameCheck=I.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),I.CUSTOM_ELEMENT_HANDLING&&typeof I.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ot.allowCustomizedBuiltInElements=I.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Je&&(ue=!1),Ht&&(ln=!0),mn&&(Ue=w({},A),it=[],mn.html===!0&&(w(Ue,j),w(it,Y)),mn.svg===!0&&(w(Ue,U),w(it,oe),w(it,pe)),mn.svgFilters===!0&&(w(Ue,T),w(it,oe),w(it,pe)),mn.mathMl===!0&&(w(Ue,k),w(it,ae),w(it,pe))),I.ADD_TAGS&&(Ue===We&&(Ue=L(Ue)),w(Ue,I.ADD_TAGS,on)),I.ADD_ATTR&&(it===rr&&(it=L(it)),w(it,I.ADD_ATTR,on)),I.ADD_URI_SAFE_ATTR&&w(Ka,I.ADD_URI_SAFE_ATTR,on),I.FORBID_CONTENTS&&(ba===Ks&&(ba=L(ba)),w(ba,I.FORBID_CONTENTS,on)),_o&&(Ue["#text"]=!0),yt&&w(Ue,["html","head","body"]),Ue.table&&(w(Ue,["tbody"]),delete _t.tbody),I.TRUSTED_TYPES_POLICY){if(typeof I.TRUSTED_TYPES_POLICY.createHTML!="function")throw V('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof I.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw V('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');at=I.TRUSTED_TYPES_POLICY,In=at.createHTML("")}else at===void 0&&(at=kn(Ie,$e)),at!==null&&typeof In=="string"&&(In=at.createHTML(""));s&&s(I),Yr=I}},_a=w({},[...U,...T,...R]),Do=w({},[...k,...$]),To=function(I){let de=Mn(I);(!de||!de.tagName)&&(de={namespaceURI:ta,tagName:"template"});const Se=C(I.tagName),kt=C(de.tagName);return gl[I.namespaceURI]?I.namespaceURI===Xa?de.namespaceURI===_r?Se==="svg":de.namespaceURI===On?Se==="svg"&&(kt==="annotation-xml"||zr[kt]):!!_a[Se]:I.namespaceURI===On?de.namespaceURI===_r?Se==="math":de.namespaceURI===Xa?Se==="math"&&yl[kt]:!!Do[Se]:I.namespaceURI===_r?de.namespaceURI===Xa&&!yl[kt]||de.namespaceURI===On&&!zr[kt]?!1:!Do[Se]&&(Js[Se]||!_a[Se]):!!($a==="application/xhtml+xml"&&gl[I.namespaceURI]):!1},ar=function(I){D(ge.removed,{element:I});try{Mn(I).removeChild(I)}catch{yr(I)}},Sr=function(I,de){try{D(ge.removed,{attribute:de.getAttributeNode(I),from:de})}catch{D(ge.removed,{attribute:null,from:de})}if(de.removeAttribute(I),I==="is")if(ln||Ht)try{ar(de)}catch{}else try{de.setAttribute(I,"")}catch{}},Er=function(I){let de=null,Se=null;if(_n)I="<remove></remove>"+I;else{const Gt=H(I,/^[\r\n\t ]+/);Se=Gt&&Gt[0]}$a==="application/xhtml+xml"&&ta===_r&&(I='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+I+"</body></html>");const kt=at?at.createHTML(I):I;if(ta===_r)try{de=new xt().parseFromString(kt,$a)}catch{}if(!de||!de.documentElement){de=nr.createDocument(ta,"template",null);try{de.documentElement.innerHTML=na?In:kt}catch{}}const sn=de.body||de.documentElement;return I&&Se&&sn.insertBefore(qe.createTextNode(Se),sn.childNodes[0]||null),ta===_r?Me.call(de,yt?"html":"body")[0]:yt?de.documentElement:sn},_l=function(I){return Pe.call(I.ownerDocument||I,I,Kn.SHOW_ELEMENT|Kn.SHOW_COMMENT|Kn.SHOW_TEXT|Kn.SHOW_PROCESSING_INSTRUCTION|Kn.SHOW_CDATA_SECTION,null)},Sa=function(I){return I instanceof dn&&(typeof I.nodeName!="string"||typeof I.textContent!="string"||typeof I.removeChild!="function"||!(I.attributes instanceof jn)||typeof I.removeAttribute!="function"||typeof I.setAttribute!="function"||typeof I.namespaceURI!="string"||typeof I.insertBefore!="function"||typeof I.hasChildNodes!="function")},jr=function(I){return typeof Tt=="function"&&I instanceof Tt};function ir(ye,I,de){v(ye,Se=>{Se.call(ge,I,de,Yr)})}const Ui=function(I){let de=null;if(ir(nt.beforeSanitizeElements,I,null),Sa(I))return ar(I),!0;const Se=on(I.nodeName);if(ir(nt.uponSanitizeElement,I,{tagName:Se,allowedTags:Ue}),pt&&I.hasChildNodes()&&!jr(I.firstElementChild)&&re(/<[/\w!]/g,I.innerHTML)&&re(/<[/\w!]/g,I.textContent)||I.nodeType===qt.progressingInstruction||pt&&I.nodeType===qt.comment&&re(/<[/\w]/g,I.data))return ar(I),!0;if(!Ue[Se]||_t[Se]){if(!_t[Se]&&Hi(Se)&&(ot.tagNameCheck instanceof RegExp&&re(ot.tagNameCheck,Se)||ot.tagNameCheck instanceof Function&&ot.tagNameCheck(Se)))return!1;if(_o&&!ba[Se]){const kt=Mn(I)||I.parentNode,sn=Ln(I)||I.childNodes;if(sn&&kt){const Gt=sn.length;for(let un=Gt-1;un>=0;--un){const Xn=xn(sn[un],!0);Xn.__removalCount=(I.__removalCount||0)+1,kt.insertBefore(Xn,Bn(I))}}}return ar(I),!0}return I instanceof Yn&&!To(I)||(Se==="noscript"||Se==="noembed"||Se==="noframes")&&re(/<\/no(script|embed|frames)/i,I.innerHTML)?(ar(I),!0):(Je&&I.nodeType===qt.text&&(de=I.textContent,v([It,fe,be],kt=>{de=O(de,kt," ")}),I.textContent!==de&&(D(ge.removed,{element:I.cloneNode()}),I.textContent=de)),ir(nt.afterSanitizeElements,I,null),!1)},xo=function(I,de,Se){if(br&&(de==="id"||de==="name")&&(Se in qe||Se in wo))return!1;if(!(ue&&!Ee[de]&&re(De,de))){if(!(B&&re(dt,de))){if(!it[de]||Ee[de]){if(!(Hi(I)&&(ot.tagNameCheck instanceof RegExp&&re(ot.tagNameCheck,I)||ot.tagNameCheck instanceof Function&&ot.tagNameCheck(I))&&(ot.attributeNameCheck instanceof RegExp&&re(ot.attributeNameCheck,de)||ot.attributeNameCheck instanceof Function&&ot.attributeNameCheck(de))||de==="is"&&ot.allowCustomizedBuiltInElements&&(ot.tagNameCheck instanceof RegExp&&re(ot.tagNameCheck,Se)||ot.tagNameCheck instanceof Function&&ot.tagNameCheck(Se))))return!1}else if(!Ka[de]){if(!re(Rt,O(Se,bn,""))){if(!((de==="src"||de==="xlink:href"||de==="href")&&I!=="script"&&Z(Se,"data:")===0&&qi[I])){if(!(me&&!re(Ft,O(Se,bn,"")))){if(Se)return!1}}}}}}return!0},Hi=function(I){return I!=="annotation-xml"&&H(I,pn)},Pi=function(I){ir(nt.beforeSanitizeAttributes,I,null);const{attributes:de}=I;if(!de||Sa(I))return;const Se={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:it,forceKeepAttr:void 0};let kt=de.length;for(;kt--;){const sn=de[kt],{name:Gt,namespaceURI:un,value:Xn}=sn,Ja=on(Gt),Mo=Xn;let Sn=Gt==="value"?Mo:K(Mo);if(Se.attrName=Ja,Se.attrValue=Sn,Se.keepAttr=!0,Se.forceKeepAttr=void 0,ir(nt.uponSanitizeAttribute,I,Se),Sn=Se.attrValue,vl&&(Ja==="id"||Ja==="name")&&(Sr(Gt,I),Sn=bo+Sn),pt&&re(/((--!?|])>)|<\/(style|title)/i,Sn)){Sr(Gt,I);continue}if(Se.forceKeepAttr)continue;if(!Se.keepAttr){Sr(Gt,I);continue}if(!xe&&re(/\/>/i,Sn)){Sr(Gt,I);continue}Je&&v([It,fe,be],Sl=>{Sn=O(Sn,Sl," ")});const tu=on(I.nodeName);if(!xo(tu,Ja,Sn)){Sr(Gt,I);continue}if(at&&typeof Ie=="object"&&typeof Ie.getAttributeType=="function"&&!un)switch(Ie.getAttributeType(tu,Ja)){case"TrustedHTML":{Sn=at.createHTML(Sn);break}case"TrustedScriptURL":{Sn=at.createScriptURL(Sn);break}}if(Sn!==Mo)try{un?I.setAttributeNS(un,Gt,Sn):I.setAttribute(Gt,Sn),Sa(I)?ar(I):b(ge.removed)}catch{Sr(Gt,I)}}ir(nt.afterSanitizeAttributes,I,null)},eu=function ye(I){let de=null;const Se=_l(I);for(ir(nt.beforeSanitizeShadowDOM,I,null);de=Se.nextNode();)ir(nt.uponSanitizeShadowNode,de,null),Ui(de),Pi(de),de.content instanceof tt&&ye(de.content);ir(nt.afterSanitizeShadowDOM,I,null)};return ge.sanitize=function(ye){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},de=null,Se=null,kt=null,sn=null;if(na=!ye,na&&(ye="<!-->"),typeof ye!="string"&&!jr(ye))if(typeof ye.toString=="function"){if(ye=ye.toString(),typeof ye!="string")throw V("dirty is not a string, aborting")}else throw V("toString is not a function");if(!ge.isSupported)return ye;if(an||ra(I),ge.removed=[],typeof ye=="string"&&(Qa=!1),Qa){if(ye.nodeName){const Xn=on(ye.nodeName);if(!Ue[Xn]||_t[Xn])throw V("root node is forbidden and cannot be sanitized in-place")}}else if(ye instanceof Tt)de=Er("<!---->"),Se=de.ownerDocument.importNode(ye,!0),Se.nodeType===qt.element&&Se.nodeName==="BODY"||Se.nodeName==="HTML"?de=Se:de.appendChild(Se);else{if(!ln&&!Je&&!yt&&ye.indexOf("<")===-1)return at&&ea?at.createHTML(ye):ye;if(de=Er(ye),!de)return ln?null:ea?In:""}de&&_n&&ar(de.firstChild);const Gt=_l(Qa?ye:de);for(;kt=Gt.nextNode();)Ui(kt),Pi(kt),kt.content instanceof tt&&eu(kt.content);if(Qa)return ye;if(ln){if(Ht)for(sn=Ut.call(de.ownerDocument);de.firstChild;)sn.appendChild(de.firstChild);else sn=de;return(it.shadowroot||it.shadowrootmode)&&(sn=ze.call(Ne,sn,!0)),sn}let un=yt?de.outerHTML:de.innerHTML;return yt&&Ue["!doctype"]&&de.ownerDocument&&de.ownerDocument.doctype&&de.ownerDocument.doctype.name&&re(gt,de.ownerDocument.doctype.name)&&(un="<!DOCTYPE "+de.ownerDocument.doctype.name+`>
`+un),Je&&v([It,fe,be],Xn=>{un=O(un,Xn," ")}),at&&ea?at.createHTML(un):un},ge.setConfig=function(){let ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ra(ye),an=!0},ge.clearConfig=function(){Yr=null,an=!1},ge.isValidAttribute=function(ye,I,de){Yr||ra({});const Se=on(ye),kt=on(I);return xo(Se,kt,de)},ge.addHook=function(ye,I){typeof I=="function"&&D(nt[ye],I)},ge.removeHook=function(ye,I){if(I!==void 0){const de=g(nt[ye],I);return de===-1?void 0:M(nt[ye],de,1)[0]}return b(nt[ye])},ge.removeHooks=function(ye){nt[ye]=[]},ge.removeAllHooks=function(){nt=yn()},ge}var zn=ft();return o1=zn,o1}var s1,p4;function US(){return p4||(p4=1,s1=window.DOMPurify||(window.DOMPurify=h4().default||h4())),s1}var HS=US();const PS=gr(HS),no=Math.min,al=Math.max,xc=Math.round,rc=Math.floor,ma=a=>({x:a,y:a}),zS={left:"right",right:"left",bottom:"top",top:"bottom"},YS={start:"end",end:"start"};function p2(a,i,n){return al(a,no(i,n))}function zs(a,i){return typeof a=="function"?a(i):a}function ol(a){return a.split("-")[0]}function Ys(a){return a.split("-")[1]}function L9(a){return a==="x"?"y":"x"}function K2(a){return a==="y"?"height":"width"}function xi(a){return["top","bottom"].includes(ol(a))?"y":"x"}function X2(a){return L9(xi(a))}function jS(a,i,n){n===void 0&&(n=!1);const t=Ys(a),l=X2(a),s=K2(l);let c=l==="x"?t===(n?"end":"start")?"right":"left":t==="start"?"bottom":"top";return i.reference[s]>i.floating[s]&&(c=Mc(c)),[c,Mc(c)]}function BS(a){const i=Mc(a);return[m2(a),i,m2(i)]}function m2(a){return a.replace(/start|end/g,i=>YS[i])}function IS(a,i,n){const t=["left","right"],l=["right","left"],s=["top","bottom"],c=["bottom","top"];switch(a){case"top":case"bottom":return n?i?l:t:i?t:l;case"left":case"right":return i?s:c;default:return[]}}function FS(a,i,n,t){const l=Ys(a);let s=IS(ol(a),n==="start",t);return l&&(s=s.map(c=>c+"-"+l),i&&(s=s.concat(s.map(m2)))),s}function Mc(a){return a.replace(/left|right|bottom|top/g,i=>zS[i])}function GS(a){return{top:0,right:0,bottom:0,left:0,...a}}function q9(a){return typeof a!="number"?GS(a):{top:a,right:a,bottom:a,left:a}}function Oc(a){const{x:i,y:n,width:t,height:l}=a;return{width:t,height:l,top:n,left:i,right:i+t,bottom:n+l,x:i,y:n}}function m4(a,i,n){let{reference:t,floating:l}=a;const s=xi(i),c=X2(i),d=K2(c),h=ol(i),m=s==="y",v=t.x+t.width/2-l.width/2,g=t.y+t.height/2-l.height/2,b=t[d]/2-l[d]/2;let D;switch(h){case"top":D={x:v,y:t.y-l.height};break;case"bottom":D={x:v,y:t.y+t.height};break;case"right":D={x:t.x+t.width,y:g};break;case"left":D={x:t.x-l.width,y:g};break;default:D={x:t.x,y:t.y}}switch(Ys(i)){case"start":D[c]-=b*(n&&m?-1:1);break;case"end":D[c]+=b*(n&&m?-1:1);break}return D}const ZS=async(a,i,n)=>{const{placement:t="bottom",strategy:l="absolute",middleware:s=[],platform:c}=n,d=s.filter(Boolean),h=await(c.isRTL==null?void 0:c.isRTL(i));let m=await c.getElementRects({reference:a,floating:i,strategy:l}),{x:v,y:g}=m4(m,t,h),b=t,D={},M=0;for(let C=0;C<d.length;C++){const{name:N,fn:H}=d[C],{x:O,y:Z,data:K,reset:X}=await H({x:v,y:g,initialPlacement:t,placement:b,strategy:l,middlewareData:D,rects:m,platform:c,elements:{reference:a,floating:i}});v=O??v,g=Z??g,D={...D,[N]:{...D[N],...K}},X&&M<=50&&(M++,typeof X=="object"&&(X.placement&&(b=X.placement),X.rects&&(m=X.rects===!0?await c.getElementRects({reference:a,floating:i,strategy:l}):X.rects),{x:v,y:g}=m4(m,b,h)),C=-1)}return{x:v,y:g,placement:b,strategy:l,middlewareData:D}};async function U9(a,i){var n;i===void 0&&(i={});const{x:t,y:l,platform:s,rects:c,elements:d,strategy:h}=a,{boundary:m="clippingAncestors",rootBoundary:v="viewport",elementContext:g="floating",altBoundary:b=!1,padding:D=0}=zs(i,a),M=q9(D),N=d[b?g==="floating"?"reference":"floating":g],H=Oc(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(N)))==null||n?N:N.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,Z=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),K=await(s.isElement==null?void 0:s.isElement(Z))?await(s.getScale==null?void 0:s.getScale(Z))||{x:1,y:1}:{x:1,y:1},X=Oc(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:O,offsetParent:Z,strategy:h}):O);return{top:(H.top-X.top+M.top)/K.y,bottom:(X.bottom-H.bottom+M.bottom)/K.y,left:(H.left-X.left+M.left)/K.x,right:(X.right-H.right+M.right)/K.x}}const VS=a=>({name:"arrow",options:a,async fn(i){const{x:n,y:t,placement:l,rects:s,platform:c,elements:d,middlewareData:h}=i,{element:m,padding:v=0}=zs(a,i)||{};if(m==null)return{};const g=q9(v),b={x:n,y:t},D=X2(l),M=K2(D),C=await c.getDimensions(m),N=D==="y",H=N?"top":"left",O=N?"bottom":"right",Z=N?"clientHeight":"clientWidth",K=s.reference[M]+s.reference[D]-b[D]-s.floating[M],X=b[D]-s.reference[D],re=await(c.getOffsetParent==null?void 0:c.getOffsetParent(m));let V=re?re[Z]:0;(!V||!await(c.isElement==null?void 0:c.isElement(re)))&&(V=d.floating[Z]||s.floating[M]);const S=K/2-X/2,E=V/2-C[M]/2-1,w=no(g[H],E),q=no(g[O],E),L=w,z=V-C[M]-q,j=V/2-C[M]/2+S,U=p2(L,j,z),T=!h.arrow&&Ys(l)!=null&&j!==U&&s.reference[M]/2-(j<L?w:q)-C[M]/2<0,R=T?j<L?j-L:j-z:0;return{[D]:b[D]+R,data:{[D]:U,centerOffset:j-U-R,...T&&{alignmentOffset:R}},reset:T}}}),WS=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(i){var n,t;const{placement:l,middlewareData:s,rects:c,initialPlacement:d,platform:h,elements:m}=i,{mainAxis:v=!0,crossAxis:g=!0,fallbackPlacements:b,fallbackStrategy:D="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:C=!0,...N}=zs(a,i);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const H=ol(l),O=xi(d),Z=ol(d)===d,K=await(h.isRTL==null?void 0:h.isRTL(m.floating)),X=b||(Z||!C?[Mc(d)]:BS(d)),re=M!=="none";!b&&re&&X.push(...FS(d,C,M,K));const V=[d,...X],S=await U9(i,N),E=[];let w=((t=s.flip)==null?void 0:t.overflows)||[];if(v&&E.push(S[H]),g){const j=jS(l,c,K);E.push(S[j[0]],S[j[1]])}if(w=[...w,{placement:l,overflows:E}],!E.every(j=>j<=0)){var q,L;const j=(((q=s.flip)==null?void 0:q.index)||0)+1,U=V[j];if(U&&(!(g==="alignment"?O!==xi(U):!1)||w.every(k=>k.overflows[0]>0&&xi(k.placement)===O)))return{data:{index:j,overflows:w},reset:{placement:U}};let T=(L=w.filter(R=>R.overflows[0]<=0).sort((R,k)=>R.overflows[1]-k.overflows[1])[0])==null?void 0:L.placement;if(!T)switch(D){case"bestFit":{var z;const R=(z=w.filter(k=>{if(re){const $=xi(k.placement);return $===O||$==="y"}return!0}).map(k=>[k.placement,k.overflows.filter($=>$>0).reduce(($,A)=>$+A,0)]).sort((k,$)=>k[1]-$[1])[0])==null?void 0:z[0];R&&(T=R);break}case"initialPlacement":T=d;break}if(l!==T)return{reset:{placement:T}}}return{}}}};async function QS(a,i){const{placement:n,platform:t,elements:l}=a,s=await(t.isRTL==null?void 0:t.isRTL(l.floating)),c=ol(n),d=Ys(n),h=xi(n)==="y",m=["left","top"].includes(c)?-1:1,v=s&&h?-1:1,g=zs(i,a);let{mainAxis:b,crossAxis:D,alignmentAxis:M}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return d&&typeof M=="number"&&(D=d==="end"?M*-1:M),h?{x:D*v,y:b*m}:{x:b*m,y:D*v}}const KS=function(a){return a===void 0&&(a=0),{name:"offset",options:a,async fn(i){var n,t;const{x:l,y:s,placement:c,middlewareData:d}=i,h=await QS(i,a);return c===((n=d.offset)==null?void 0:n.placement)&&(t=d.arrow)!=null&&t.alignmentOffset?{}:{x:l+h.x,y:s+h.y,data:{...h,placement:c}}}}},XS=function(a){return a===void 0&&(a={}),{name:"shift",options:a,async fn(i){const{x:n,y:t,placement:l}=i,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:N=>{let{x:H,y:O}=N;return{x:H,y:O}}},...h}=zs(a,i),m={x:n,y:t},v=await U9(i,h),g=xi(ol(l)),b=L9(g);let D=m[b],M=m[g];if(s){const N=b==="y"?"top":"left",H=b==="y"?"bottom":"right",O=D+v[N],Z=D-v[H];D=p2(O,D,Z)}if(c){const N=g==="y"?"top":"left",H=g==="y"?"bottom":"right",O=M+v[N],Z=M-v[H];M=p2(O,M,Z)}const C=d.fn({...i,[b]:D,[g]:M});return{...C,data:{x:C.x-n,y:C.y-t,enabled:{[b]:s,[g]:c}}}}}};function Bc(){return typeof window<"u"}function co(a){return H9(a)?(a.nodeName||"").toLowerCase():"#document"}function vr(a){var i;return(a==null||(i=a.ownerDocument)==null?void 0:i.defaultView)||window}function ga(a){var i;return(i=(H9(a)?a.ownerDocument:a.document)||window.document)==null?void 0:i.documentElement}function H9(a){return Bc()?a instanceof Node||a instanceof vr(a).Node:!1}function Vn(a){return Bc()?a instanceof Element||a instanceof vr(a).Element:!1}function va(a){return Bc()?a instanceof HTMLElement||a instanceof vr(a).HTMLElement:!1}function v4(a){return!Bc()||typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof vr(a).ShadowRoot}function js(a){const{overflow:i,overflowX:n,overflowY:t,display:l}=Hr(a);return/auto|scroll|overlay|hidden|clip/.test(i+t+n)&&!["inline","contents"].includes(l)}function $S(a){return["table","td","th"].includes(co(a))}function Ic(a){return[":popover-open",":modal"].some(i=>{try{return a.matches(i)}catch{return!1}})}function $2(a){const i=J2(),n=Vn(a)?Hr(a):a;return["transform","translate","scale","rotate","perspective"].some(t=>n[t]?n[t]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!i&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!i&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(t=>(n.willChange||"").includes(t))||["paint","layout","strict","content"].some(t=>(n.contain||"").includes(t))}function JS(a){let i=Ni(a);for(;va(i)&&!ro(i);){if($2(i))return i;if(Ic(i))return null;i=Ni(i)}return null}function J2(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ro(a){return["html","body","#document"].includes(co(a))}function Hr(a){return vr(a).getComputedStyle(a)}function Fc(a){return Vn(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function Ni(a){if(co(a)==="html")return a;const i=a.assignedSlot||a.parentNode||v4(a)&&a.host||ga(a);return v4(i)?i.host:i}function P9(a){const i=Ni(a);return ro(i)?a.ownerDocument?a.ownerDocument.body:a.body:va(i)&&js(i)?i:P9(i)}function Us(a,i,n){var t;i===void 0&&(i=[]),n===void 0&&(n=!0);const l=P9(a),s=l===((t=a.ownerDocument)==null?void 0:t.body),c=vr(l);if(s){const d=v2(c);return i.concat(c,c.visualViewport||[],js(l)?l:[],d&&n?Us(d):[])}return i.concat(l,Us(l,[],n))}function v2(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function z9(a){const i=Hr(a);let n=parseFloat(i.width)||0,t=parseFloat(i.height)||0;const l=va(a),s=l?a.offsetWidth:n,c=l?a.offsetHeight:t,d=xc(n)!==s||xc(t)!==c;return d&&(n=s,t=c),{width:n,height:t,$:d}}function em(a){return Vn(a)?a:a.contextElement}function eo(a){const i=em(a);if(!va(i))return ma(1);const n=i.getBoundingClientRect(),{width:t,height:l,$:s}=z9(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 eE=ma(0);function Y9(a){const i=vr(a);return!J2()||!i.visualViewport?eE:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function tE(a,i,n){return i===void 0&&(i=!1),!n||i&&n!==vr(a)?!1:i}function sl(a,i,n,t){i===void 0&&(i=!1),n===void 0&&(n=!1);const l=a.getBoundingClientRect(),s=em(a);let c=ma(1);i&&(t?Vn(t)&&(c=eo(t)):c=eo(a));const d=tE(s,n,t)?Y9(s):ma(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 b=vr(s),D=t&&Vn(t)?vr(t):t;let M=b,C=v2(M);for(;C&&t&&D!==M;){const N=eo(C),H=C.getBoundingClientRect(),O=Hr(C),Z=H.left+(C.clientLeft+parseFloat(O.paddingLeft))*N.x,K=H.top+(C.clientTop+parseFloat(O.paddingTop))*N.y;h*=N.x,m*=N.y,v*=N.x,g*=N.y,h+=Z,m+=K,M=vr(C),C=v2(M)}}return Oc({width:v,height:g,x:h,y:m})}function tm(a,i){const n=Fc(a).scrollLeft;return i?i.left+n:sl(ga(a)).left+n}function j9(a,i,n){n===void 0&&(n=!1);const t=a.getBoundingClientRect(),l=t.left+i.scrollLeft-(n?0:tm(a,t)),s=t.top+i.scrollTop;return{x:l,y:s}}function nE(a){let{elements:i,rect:n,offsetParent:t,strategy:l}=a;const s=l==="fixed",c=ga(t),d=i?Ic(i.floating):!1;if(t===c||d&&s)return n;let h={scrollLeft:0,scrollTop:0},m=ma(1);const v=ma(0),g=va(t);if((g||!g&&!s)&&((co(t)!=="body"||js(c))&&(h=Fc(t)),va(t))){const D=sl(t);m=eo(t),v.x=D.x+t.clientLeft,v.y=D.y+t.clientTop}const b=c&&!g&&!s?j9(c,h,!0):ma(0);return{width:n.width*m.x,height:n.height*m.y,x:n.x*m.x-h.scrollLeft*m.x+v.x+b.x,y:n.y*m.y-h.scrollTop*m.y+v.y+b.y}}function rE(a){return Array.from(a.getClientRects())}function aE(a){const i=ga(a),n=Fc(a),t=a.ownerDocument.body,l=al(i.scrollWidth,i.clientWidth,t.scrollWidth,t.clientWidth),s=al(i.scrollHeight,i.clientHeight,t.scrollHeight,t.clientHeight);let c=-n.scrollLeft+tm(a);const d=-n.scrollTop;return Hr(t).direction==="rtl"&&(c+=al(i.clientWidth,t.clientWidth)-l),{width:l,height:s,x:c,y:d}}function iE(a,i){const n=vr(a),t=ga(a),l=n.visualViewport;let s=t.clientWidth,c=t.clientHeight,d=0,h=0;if(l){s=l.width,c=l.height;const m=J2();(!m||m&&i==="fixed")&&(d=l.offsetLeft,h=l.offsetTop)}return{width:s,height:c,x:d,y:h}}function lE(a,i){const n=sl(a,!0,i==="fixed"),t=n.top+a.clientTop,l=n.left+a.clientLeft,s=va(a)?eo(a):ma(1),c=a.clientWidth*s.x,d=a.clientHeight*s.y,h=l*s.x,m=t*s.y;return{width:c,height:d,x:h,y:m}}function g4(a,i,n){let t;if(i==="viewport")t=iE(a,n);else if(i==="document")t=aE(ga(a));else if(Vn(i))t=lE(i,n);else{const l=Y9(a);t={x:i.x-l.x,y:i.y-l.y,width:i.width,height:i.height}}return Oc(t)}function B9(a,i){const n=Ni(a);return n===i||!Vn(n)||ro(n)?!1:Hr(n).position==="fixed"||B9(n,i)}function oE(a,i){const n=i.get(a);if(n)return n;let t=Us(a,[],!1).filter(d=>Vn(d)&&co(d)!=="body"),l=null;const s=Hr(a).position==="fixed";let c=s?Ni(a):a;for(;Vn(c)&&!ro(c);){const d=Hr(c),h=$2(c);!h&&d.position==="fixed"&&(l=null),(s?!h&&!l:!h&&d.position==="static"&&!!l&&["absolute","fixed"].includes(l.position)||js(c)&&!h&&B9(a,c))?t=t.filter(v=>v!==c):l=d,c=Ni(c)}return i.set(a,t),t}function sE(a){let{element:i,boundary:n,rootBoundary:t,strategy:l}=a;const c=[...n==="clippingAncestors"?Ic(i)?[]:oE(i,this._c):[].concat(n),t],d=c[0],h=c.reduce((m,v)=>{const g=g4(i,v,l);return m.top=al(g.top,m.top),m.right=no(g.right,m.right),m.bottom=no(g.bottom,m.bottom),m.left=al(g.left,m.left),m},g4(i,d,l));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function uE(a){const{width:i,height:n}=z9(a);return{width:i,height:n}}function cE(a,i,n){const t=va(i),l=ga(i),s=n==="fixed",c=sl(a,!0,s,i);let d={scrollLeft:0,scrollTop:0};const h=ma(0);function m(){h.x=tm(l)}if(t||!t&&!s)if((co(i)!=="body"||js(l))&&(d=Fc(i)),t){const D=sl(i,!0,s,i);h.x=D.x+i.clientLeft,h.y=D.y+i.clientTop}else l&&m();s&&!t&&l&&m();const v=l&&!t&&!s?j9(l,d):ma(0),g=c.left+d.scrollLeft-h.x-v.x,b=c.top+d.scrollTop-h.y-v.y;return{x:g,y:b,width:c.width,height:c.height}}function u1(a){return Hr(a).position==="static"}function y4(a,i){if(!va(a)||Hr(a).position==="fixed")return null;if(i)return i(a);let n=a.offsetParent;return ga(a)===n&&(n=n.ownerDocument.body),n}function I9(a,i){const n=vr(a);if(Ic(a))return n;if(!va(a)){let l=Ni(a);for(;l&&!ro(l);){if(Vn(l)&&!u1(l))return l;l=Ni(l)}return n}let t=y4(a,i);for(;t&&$S(t)&&u1(t);)t=y4(t,i);return t&&ro(t)&&u1(t)&&!$2(t)?n:t||JS(a)||n}const fE=async function(a){const i=this.getOffsetParent||I9,n=this.getDimensions,t=await n(a.floating);return{reference:cE(a.reference,await i(a.floating),a.strategy),floating:{x:0,y:0,width:t.width,height:t.height}}};function dE(a){return Hr(a).direction==="rtl"}const hE={convertOffsetParentRelativeRectToViewportRelativeRect:nE,getDocumentElement:ga,getClippingRect:sE,getOffsetParent:I9,getElementRects:fE,getClientRects:rE,getDimensions:uE,getScale:eo,isElement:Vn,isRTL:dE};function F9(a,i){return a.x===i.x&&a.y===i.y&&a.width===i.width&&a.height===i.height}function pE(a,i){let n=null,t;const l=ga(a);function s(){var d;clearTimeout(t),(d=n)==null||d.disconnect(),n=null}function c(d,h){d===void 0&&(d=!1),h===void 0&&(h=1),s();const m=a.getBoundingClientRect(),{left:v,top:g,width:b,height:D}=m;if(d||i(),!b||!D)return;const M=rc(g),C=rc(l.clientWidth-(v+b)),N=rc(l.clientHeight-(g+D)),H=rc(v),Z={rootMargin:-M+"px "+-C+"px "+-N+"px "+-H+"px",threshold:al(0,no(1,h))||1};let K=!0;function X(re){const V=re[0].intersectionRatio;if(V!==h){if(!K)return c();V?c(!1,V):t=setTimeout(()=>{c(!1,1e-7)},1e3)}V===1&&!F9(m,a.getBoundingClientRect())&&c(),K=!1}try{n=new IntersectionObserver(X,{...Z,root:l.ownerDocument})}catch{n=new IntersectionObserver(X,Z)}n.observe(a)}return c(!0),s}function G9(a,i,n,t){t===void 0&&(t={});const{ancestorScroll:l=!0,ancestorResize:s=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:h=!1}=t,m=em(a),v=l||s?[...m?Us(m):[],...Us(i)]:[];v.forEach(H=>{l&&H.addEventListener("scroll",n,{passive:!0}),s&&H.addEventListener("resize",n)});const g=m&&d?pE(m,n):null;let b=-1,D=null;c&&(D=new ResizeObserver(H=>{let[O]=H;O&&O.target===m&&D&&(D.unobserve(i),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var Z;(Z=D)==null||Z.observe(i)})),n()}),m&&!h&&D.observe(m),D.observe(i));let M,C=h?sl(a):null;h&&N();function N(){const H=sl(a);C&&!F9(C,H)&&n(),C=H,M=requestAnimationFrame(N)}return n(),()=>{var H;v.forEach(O=>{l&&O.removeEventListener("scroll",n),s&&O.removeEventListener("resize",n)}),g==null||g(),(H=D)==null||H.disconnect(),D=null,h&&cancelAnimationFrame(M)}}const Z9=KS,mE=XS,V9=WS,g2=VS,y2=(a,i,n)=>{const t=new Map,l={platform:hE,...n},s={...l.platform,_c:t};return ZS(a,i,{...l,platform:s})};var c1={exports:{}};/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/var b4;function vE(){return b4||(b4=1,function(a){(function(){var i={}.hasOwnProperty;function n(){for(var s="",c=0;c<arguments.length;c++){var d=arguments[c];d&&(s=l(s,t(d)))}return s}function t(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var c="";for(var d in s)i.call(s,d)&&s[d]&&(c=l(c,d));return c}function l(s,c){return c?s?s+" "+c:s+c:s}a.exports?(n.default=n,a.exports=n):window.classNames=n})()}(c1)),c1.exports}var gE=vE();const b2=gr(gE);var _4={};const yE="react-tooltip-core-styles",bE="react-tooltip-base-styles",S4={core:!1,base:!1};function E4({css:a,id:i=bE,type:n="base",ref:t}){var l,s;if(!a||typeof document>"u"||S4[n]||n==="core"&&typeof process<"u"&&(!((l=process==null?void 0:_4)===null||l===void 0)&&l.REACT_TOOLTIP_DISABLE_CORE_STYLES)||n!=="base"&&typeof process<"u"&&(!((s=process==null?void 0:_4)===null||s===void 0)&&s.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;n==="core"&&(i=yE),t||(t={});const{insertAt:c}=t;if(document.getElementById(i))return;const d=document.head||document.getElementsByTagName("head")[0],h=document.createElement("style");h.id=i,h.type="text/css",c==="top"&&d.firstChild?d.insertBefore(h,d.firstChild):d.appendChild(h),h.styleSheet?h.styleSheet.cssText=a:h.appendChild(document.createTextNode(a)),S4[n]=!0}const w4=async({elementReference:a=null,tooltipReference:i=null,tooltipArrowReference:n=null,place:t="top",offset:l=10,strategy:s="absolute",middlewares:c=[Z9(Number(l)),V9({fallbackAxisSideDirection:"start"}),mE({padding:5})],border:d,arrowSize:h=8})=>{if(!a)return{tooltipStyles:{},tooltipArrowStyles:{},place:t};if(i===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:t};const m=c;return n?(m.push(g2({element:n,padding:5})),y2(a,i,{placement:t,strategy:s,middleware:m}).then(({x:v,y:g,placement:b,middlewareData:D})=>{var M,C;const N={left:`${v}px`,top:`${g}px`,border:d},{x:H,y:O}=(M=D.arrow)!==null&&M!==void 0?M:{x:0,y:0},Z=(C={top:"bottom",right:"left",bottom:"top",left:"right"}[b.split("-")[0]])!==null&&C!==void 0?C:"bottom",K=d&&{borderBottom:d,borderRight:d};let X=0;if(d){const re=`${d}`.match(/(\d+)px/);X=re!=null&&re[1]?Number(re[1]):1}return{tooltipStyles:N,tooltipArrowStyles:{left:H!=null?`${H}px`:"",top:O!=null?`${O}px`:"",right:"",bottom:"",...K,[Z]:`-${h/2+X}px`},place:b}})):y2(a,i,{placement:"bottom",strategy:s,middleware:m}).then(({x:v,y:g,placement:b})=>({tooltipStyles:{left:`${v}px`,top:`${g}px`},tooltipArrowStyles:{},place:b}))},D4=(a,i)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(a,i),T4=(a,i,n)=>{let t=null;const l=function(...s){const c=()=>{t=null};!t&&(a.apply(this,s),t=setTimeout(c,i))};return l.cancel=()=>{t&&(clearTimeout(t),t=null)},l},x4=a=>a!==null&&!Array.isArray(a)&&typeof a=="object",_2=(a,i)=>{if(a===i)return!0;if(Array.isArray(a)&&Array.isArray(i))return a.length===i.length&&a.every((l,s)=>_2(l,i[s]));if(Array.isArray(a)!==Array.isArray(i))return!1;if(!x4(a)||!x4(i))return a===i;const n=Object.keys(a),t=Object.keys(i);return n.length===t.length&&n.every(l=>_2(a[l],i[l]))},_E=a=>{if(!(a instanceof HTMLElement||a instanceof SVGElement))return!1;const i=getComputedStyle(a);return["overflow","overflow-x","overflow-y"].some(n=>{const t=i.getPropertyValue(n);return t==="auto"||t==="scroll"})},M4=a=>{if(!a)return null;let i=a.parentElement;for(;i;){if(_E(i))return i;i=i.parentElement}return document.scrollingElement||document.documentElement},SE=typeof window<"u"?y.useLayoutEffect:y.useEffect,Cr=a=>{a.current&&(clearTimeout(a.current),a.current=null)},EE="DEFAULT_TOOLTIP_ID",wE={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},DE=y.createContext({getTooltipData:()=>wE});function W9(a=EE){return y.useContext(DE).getTooltipData(a)}var Xl={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},f1={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const TE=({forwardRef:a,id:i,className:n,classNameArrow:t,variant:l="dark",anchorId:s,anchorSelect:c,place:d="top",offset:h=10,events:m=["hover"],openOnClick:v=!1,positionStrategy:g="absolute",middlewares:b,wrapper:D,delayShow:M=0,delayHide:C=0,float:N=!1,hidden:H=!1,noArrow:O=!1,clickable:Z=!1,closeOnEsc:K=!1,closeOnScroll:X=!1,closeOnResize:re=!1,openEvents:V,closeEvents:S,globalCloseEvents:E,imperativeModeOnly:w,style:q,position:L,afterShow:z,afterHide:j,disableTooltip:U,content:T,contentWrapperRef:R,isOpen:k,defaultIsOpen:$=!1,setIsOpen:A,activeAnchor:Y,setActiveAnchor:oe,border:ae,opacity:pe,arrowColor:ce,arrowSize:he=8,role:je="tooltip"})=>{var Be;const rt=y.useRef(null),rn=y.useRef(null),ct=y.useRef(null),Ct=y.useRef(null),gt=y.useRef(null),[Ze,et]=y.useState({tooltipStyles:{},tooltipArrowStyles:{},place:d}),[qt,Pt]=y.useState(!1),[kn,yn]=y.useState(!1),[ft,zn]=y.useState(null),Le=y.useRef(!1),ge=y.useRef(null),{anchorRefs:qe,setActiveAnchor:Ne}=W9(i),$e=y.useRef(!1),[tt,zt]=y.useState([]),Tt=y.useRef(!1),Yn=v||m.includes("click"),Kn=Yn||(V==null?void 0:V.click)||(V==null?void 0:V.dblclick)||(V==null?void 0:V.mousedown),jn=V?{...V}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!V&&Yn&&Object.assign(jn,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const dn=S?{...S}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!S&&Yn&&Object.assign(dn,{mouseleave:!1,blur:!1,mouseout:!1});const xt=E?{...E}:{escape:K||!1,scroll:X||!1,resize:re||!1,clickOutsideAnchor:Kn||!1};w&&(Object.assign(jn,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(dn,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(xt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),SE(()=>(Tt.current=!0,()=>{Tt.current=!1}),[]);const Ie=fe=>{Tt.current&&(fe&&yn(!0),setTimeout(()=>{Tt.current&&(A==null||A(fe),k===void 0&&Pt(fe))},10))};y.useEffect(()=>{if(k===void 0)return()=>null;k&&yn(!0);const fe=setTimeout(()=>{Pt(k)},10);return()=>{clearTimeout(fe)}},[k]),y.useEffect(()=>{if(qt!==Le.current)if(Cr(gt),Le.current=qt,qt)z==null||z();else{const fe=(be=>{const De=be.match(/^([\d.]+)(ms|s)$/);if(!De)return 0;const[,dt,Ft]=De;return Number(dt)*(Ft==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));gt.current=setTimeout(()=>{yn(!1),zn(null),j==null||j()},fe+25)}},[qt]);const hn=fe=>{et(be=>_2(be,fe)?be:fe)},xn=(fe=M)=>{Cr(ct),kn?Ie(!0):ct.current=setTimeout(()=>{Ie(!0)},fe)},yr=(fe=C)=>{Cr(Ct),Ct.current=setTimeout(()=>{$e.current||Ie(!1)},fe)},Bn=fe=>{var be;if(!fe)return;const De=(be=fe.currentTarget)!==null&&be!==void 0?be:fe.target;if(!(De!=null&&De.isConnected))return oe(null),void Ne({current:null});M?xn():Ie(!0),oe(De),Ne({current:De}),Cr(Ct)},Ln=()=>{Z?yr(C||100):C?yr():Ie(!1),Cr(ct)},Mn=({x:fe,y:be})=>{var De;const dt={getBoundingClientRect:()=>({x:fe,y:be,width:0,height:0,top:be,left:fe,right:fe,bottom:be})};w4({place:(De=ft==null?void 0:ft.place)!==null&&De!==void 0?De:d,offset:h,elementReference:dt,tooltipReference:rt.current,tooltipArrowReference:rn.current,strategy:g,middlewares:b,border:ae,arrowSize:he}).then(Ft=>{hn(Ft)})},at=fe=>{if(!fe)return;const be=fe,De={x:be.clientX,y:be.clientY};Mn(De),ge.current=De},In=fe=>{var be;if(!qt)return;const De=fe.target;De.isConnected&&(!((be=rt.current)===null||be===void 0)&&be.contains(De)||[document.querySelector(`[id='${s}']`),...tt].some(dt=>dt==null?void 0:dt.contains(De))||(Ie(!1),Cr(ct)))},nr=T4(Bn,50),Pe=T4(Ln,50),Ut=fe=>{Pe.cancel(),nr(fe)},Me=()=>{nr.cancel(),Pe()},ze=y.useCallback(()=>{var fe,be;const De=(fe=ft==null?void 0:ft.position)!==null&&fe!==void 0?fe:L;De?Mn(De):N?ge.current&&Mn(ge.current):Y!=null&&Y.isConnected&&w4({place:(be=ft==null?void 0:ft.place)!==null&&be!==void 0?be:d,offset:h,elementReference:Y,tooltipReference:rt.current,tooltipArrowReference:rn.current,strategy:g,middlewares:b,border:ae,arrowSize:he}).then(dt=>{Tt.current&&hn(dt)})},[qt,Y,T,q,d,ft==null?void 0:ft.place,h,g,L,ft==null?void 0:ft.position,N,he]);y.useEffect(()=>{var fe,be;const De=new Set(qe);tt.forEach(xe=>{U!=null&&U(xe)||De.add({current:xe})});const dt=document.querySelector(`[id='${s}']`);dt&&!(U!=null&&U(dt))&&De.add({current:dt});const Ft=()=>{Ie(!1)},bn=M4(Y),pn=M4(rt.current);xt.scroll&&(window.addEventListener("scroll",Ft),bn==null||bn.addEventListener("scroll",Ft),pn==null||pn.addEventListener("scroll",Ft));let Rt=null;xt.resize?window.addEventListener("resize",Ft):Y&&rt.current&&(Rt=G9(Y,rt.current,ze,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const Ue=xe=>{xe.key==="Escape"&&Ie(!1)};xt.escape&&window.addEventListener("keydown",Ue),xt.clickOutsideAnchor&&window.addEventListener("click",In);const We=[],it=xe=>!!(xe!=null&&xe.target&&(Y!=null&&Y.contains(xe.target))),rr=xe=>{qt&&it(xe)||Bn(xe)},ot=xe=>{qt&&it(xe)&&Ln()},_t=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],Ee=["click","dblclick","mousedown","mouseup"];Object.entries(jn).forEach(([xe,Je])=>{Je&&(_t.includes(xe)?We.push({event:xe,listener:Ut}):Ee.includes(xe)&&We.push({event:xe,listener:rr}))}),Object.entries(dn).forEach(([xe,Je])=>{Je&&(_t.includes(xe)?We.push({event:xe,listener:Me}):Ee.includes(xe)&&We.push({event:xe,listener:ot}))}),N&&We.push({event:"pointermove",listener:at});const B=()=>{$e.current=!0},ue=()=>{$e.current=!1,Ln()},me=Z&&(dn.mouseout||dn.mouseleave);return me&&((fe=rt.current)===null||fe===void 0||fe.addEventListener("mouseover",B),(be=rt.current)===null||be===void 0||be.addEventListener("mouseout",ue)),We.forEach(({event:xe,listener:Je})=>{De.forEach(pt=>{var yt;(yt=pt.current)===null||yt===void 0||yt.addEventListener(xe,Je)})}),()=>{var xe,Je;xt.scroll&&(window.removeEventListener("scroll",Ft),bn==null||bn.removeEventListener("scroll",Ft),pn==null||pn.removeEventListener("scroll",Ft)),xt.resize?window.removeEventListener("resize",Ft):Rt==null||Rt(),xt.clickOutsideAnchor&&window.removeEventListener("click",In),xt.escape&&window.removeEventListener("keydown",Ue),me&&((xe=rt.current)===null||xe===void 0||xe.removeEventListener("mouseover",B),(Je=rt.current)===null||Je===void 0||Je.removeEventListener("mouseout",ue)),We.forEach(({event:pt,listener:yt})=>{De.forEach(an=>{var _n;(_n=an.current)===null||_n===void 0||_n.removeEventListener(pt,yt)})})}},[Y,ze,kn,qe,tt,V,S,E,Yn,M,C]),y.useEffect(()=>{var fe,be;let De=(be=(fe=ft==null?void 0:ft.anchorSelect)!==null&&fe!==void 0?fe:c)!==null&&be!==void 0?be:"";!De&&i&&(De=`[data-tooltip-id='${i.replace(/'/g,"\\'")}']`);const dt=new MutationObserver(Ft=>{const bn=[],pn=[];Ft.forEach(Rt=>{if(Rt.type==="attributes"&&Rt.attributeName==="data-tooltip-id"&&(Rt.target.getAttribute("data-tooltip-id")===i?bn.push(Rt.target):Rt.oldValue===i&&pn.push(Rt.target)),Rt.type==="childList"){if(Y){const Ue=[...Rt.removedNodes].filter(We=>We.nodeType===1);if(De)try{pn.push(...Ue.filter(We=>We.matches(De))),pn.push(...Ue.flatMap(We=>[...We.querySelectorAll(De)]))}catch{}Ue.some(We=>{var it;return!!(!((it=We==null?void 0:We.contains)===null||it===void 0)&&it.call(We,Y))&&(yn(!1),Ie(!1),oe(null),Cr(ct),Cr(Ct),!0)})}if(De)try{const Ue=[...Rt.addedNodes].filter(We=>We.nodeType===1);bn.push(...Ue.filter(We=>We.matches(De))),bn.push(...Ue.flatMap(We=>[...We.querySelectorAll(De)]))}catch{}}}),(bn.length||pn.length)&&zt(Rt=>[...Rt.filter(Ue=>!pn.includes(Ue)),...bn])});return dt.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{dt.disconnect()}},[i,c,ft==null?void 0:ft.anchorSelect,Y]),y.useEffect(()=>{ze()},[ze]),y.useEffect(()=>{if(!(R!=null&&R.current))return()=>null;const fe=new ResizeObserver(()=>{setTimeout(()=>ze())});return fe.observe(R.current),()=>{fe.disconnect()}},[T,R==null?void 0:R.current]),y.useEffect(()=>{var fe;const be=document.querySelector(`[id='${s}']`),De=[...tt,be];Y&&De.includes(Y)||oe((fe=tt[0])!==null&&fe!==void 0?fe:be)},[s,tt,Y]),y.useEffect(()=>($&&Ie(!0),()=>{Cr(ct),Cr(Ct)}),[]),y.useEffect(()=>{var fe;let be=(fe=ft==null?void 0:ft.anchorSelect)!==null&&fe!==void 0?fe:c;if(!be&&i&&(be=`[data-tooltip-id='${i.replace(/'/g,"\\'")}']`),be)try{const De=Array.from(document.querySelectorAll(be));zt(De)}catch{zt([])}},[i,c,ft==null?void 0:ft.anchorSelect]),y.useEffect(()=>{ct.current&&(Cr(ct),xn(M))},[M]);const nt=(Be=ft==null?void 0:ft.content)!==null&&Be!==void 0?Be:T,It=qt&&Object.keys(Ze.tooltipStyles).length>0;return y.useImperativeHandle(a,()=>({open:fe=>{if(fe!=null&&fe.anchorSelect)try{document.querySelector(fe.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${fe.anchorSelect}" is not a valid CSS selector`)}zn(fe??null),fe!=null&&fe.delay?xn(fe.delay):Ie(!0)},close:fe=>{fe!=null&&fe.delay?yr(fe.delay):Ie(!1)},activeAnchor:Y,place:Ze.place,isOpen:!!(kn&&!H&&nt&&It)})),kn&&!H&&nt?G.createElement(D,{id:i,role:je,className:b2("react-tooltip",Xl.tooltip,f1.tooltip,f1[l],n,`react-tooltip__place-${Ze.place}`,Xl[It?"show":"closing"],It?"react-tooltip__show":"react-tooltip__closing",g==="fixed"&&Xl.fixed,Z&&Xl.clickable),onTransitionEnd:fe=>{Cr(gt),qt||fe.propertyName!=="opacity"||(yn(!1),zn(null),j==null||j())},style:{...q,...Ze.tooltipStyles,opacity:pe!==void 0&&It?pe:void 0},ref:rt},nt,G.createElement(D,{className:b2("react-tooltip-arrow",Xl.arrow,f1.arrow,t,O&&Xl.noArrow),style:{...Ze.tooltipArrowStyles,background:ce?`linear-gradient(to right bottom, transparent 50%, ${ce} 50%)`:void 0,"--rt-arrow-size":`${he}px`},ref:rn})):null},xE=({content:a})=>G.createElement("span",{dangerouslySetInnerHTML:{__html:a}}),ME=G.forwardRef(({id:a,anchorId:i,anchorSelect:n,content:t,html:l,render:s,className:c,classNameArrow:d,variant:h="dark",place:m="top",offset:v=10,wrapper:g="div",children:b=null,events:D=["hover"],openOnClick:M=!1,positionStrategy:C="absolute",middlewares:N,delayShow:H=0,delayHide:O=0,float:Z=!1,hidden:K=!1,noArrow:X=!1,clickable:re=!1,closeOnEsc:V=!1,closeOnScroll:S=!1,closeOnResize:E=!1,openEvents:w,closeEvents:q,globalCloseEvents:L,imperativeModeOnly:z=!1,style:j,position:U,isOpen:T,defaultIsOpen:R=!1,disableStyleInjection:k=!1,border:$,opacity:A,arrowColor:Y,arrowSize:oe,setIsOpen:ae,afterShow:pe,afterHide:ce,disableTooltip:he,role:je="tooltip"},Be)=>{const[rt,rn]=y.useState(t),[ct,Ct]=y.useState(l),[gt,Ze]=y.useState(m),[et,qt]=y.useState(h),[Pt,kn]=y.useState(v),[yn,ft]=y.useState(H),[zn,Le]=y.useState(O),[ge,qe]=y.useState(Z),[Ne,$e]=y.useState(K),[tt,zt]=y.useState(g),[Tt,Yn]=y.useState(D),[Kn,jn]=y.useState(C),[dn,xt]=y.useState(null),[Ie,hn]=y.useState(null),xn=y.useRef(k),{anchorRefs:yr,activeAnchor:Bn}=W9(a),Ln=Pe=>Pe==null?void 0:Pe.getAttributeNames().reduce((Ut,Me)=>{var ze;return Me.startsWith("data-tooltip-")&&(Ut[Me.replace(/^data-tooltip-/,"")]=(ze=Pe==null?void 0:Pe.getAttribute(Me))!==null&&ze!==void 0?ze:null),Ut},{}),Mn=Pe=>{const Ut={place:Me=>{var ze;Ze((ze=Me)!==null&&ze!==void 0?ze:m)},content:Me=>{rn(Me??t)},html:Me=>{Ct(Me??l)},variant:Me=>{var ze;qt((ze=Me)!==null&&ze!==void 0?ze:h)},offset:Me=>{kn(Me===null?v:Number(Me))},wrapper:Me=>{var ze;zt((ze=Me)!==null&&ze!==void 0?ze:g)},events:Me=>{const ze=Me==null?void 0:Me.split(" ");Yn(ze??D)},"position-strategy":Me=>{var ze;jn((ze=Me)!==null&&ze!==void 0?ze:C)},"delay-show":Me=>{ft(Me===null?H:Number(Me))},"delay-hide":Me=>{Le(Me===null?O:Number(Me))},float:Me=>{qe(Me===null?Z:Me==="true")},hidden:Me=>{$e(Me===null?K:Me==="true")},"class-name":Me=>{xt(Me)}};Object.values(Ut).forEach(Me=>Me(null)),Object.entries(Pe).forEach(([Me,ze])=>{var nt;(nt=Ut[Me])===null||nt===void 0||nt.call(Ut,ze)})};y.useEffect(()=>{rn(t)},[t]),y.useEffect(()=>{Ct(l)},[l]),y.useEffect(()=>{Ze(m)},[m]),y.useEffect(()=>{qt(h)},[h]),y.useEffect(()=>{kn(v)},[v]),y.useEffect(()=>{ft(H)},[H]),y.useEffect(()=>{Le(O)},[O]),y.useEffect(()=>{qe(Z)},[Z]),y.useEffect(()=>{$e(K)},[K]),y.useEffect(()=>{jn(C)},[C]),y.useEffect(()=>{xn.current!==k&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[k]),y.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:k==="core",disableBase:k}}))},[]),y.useEffect(()=>{var Pe;const Ut=new Set(yr);let Me=n;if(!Me&&a&&(Me=`[data-tooltip-id='${a.replace(/'/g,"\\'")}']`),Me)try{document.querySelectorAll(Me).forEach(be=>{Ut.add({current:be})})}catch{console.warn(`[react-tooltip] "${Me}" is not a valid CSS selector`)}const ze=document.querySelector(`[id='${i}']`);if(ze&&Ut.add({current:ze}),!Ut.size)return()=>null;const nt=(Pe=Ie??ze)!==null&&Pe!==void 0?Pe:Bn.current,It=new MutationObserver(be=>{be.forEach(De=>{var dt;if(!nt||De.type!=="attributes"||!(!((dt=De.attributeName)===null||dt===void 0)&&dt.startsWith("data-tooltip-")))return;const Ft=Ln(nt);Mn(Ft)})}),fe={attributes:!0,childList:!1,subtree:!1};if(nt){const be=Ln(nt);Mn(be),It.observe(nt,fe)}return()=>{It.disconnect()}},[yr,Bn,Ie,i,n]),y.useEffect(()=>{j!=null&&j.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),$&&!D4("border",`${$}`)&&console.warn(`[react-tooltip] "${$}" is not a valid \`border\`.`),j!=null&&j.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),A&&!D4("opacity",`${A}`)&&console.warn(`[react-tooltip] "${A}" is not a valid \`opacity\`.`)},[]);let at=b;const In=y.useRef(null);if(s){const Pe=s({content:(Ie==null?void 0:Ie.getAttribute("data-tooltip-content"))||rt||null,activeAnchor:Ie});at=Pe?G.createElement("div",{ref:In,className:"react-tooltip-content-wrapper"},Pe):null}else rt&&(at=rt);ct&&(at=G.createElement(xE,{content:ct}));const nr={forwardRef:Be,id:a,anchorId:i,anchorSelect:n,className:b2(c,dn),classNameArrow:d,content:at,contentWrapperRef:In,place:gt,variant:et,offset:Pt,wrapper:tt,events:Tt,openOnClick:M,positionStrategy:Kn,middlewares:N,delayShow:yn,delayHide:zn,float:ge,hidden:Ne,noArrow:X,clickable:re,closeOnEsc:V,closeOnScroll:S,closeOnResize:E,openEvents:w,closeEvents:q,globalCloseEvents:L,imperativeModeOnly:z,style:j,position:U,isOpen:T,defaultIsOpen:R,border:$,opacity:A,arrowColor:Y,arrowSize:oe,setIsOpen:ae,afterShow:pe,afterHide:ce,disableTooltip:he,activeAnchor:Ie,setActiveAnchor:Pe=>hn(Pe),role:je};return G.createElement(TE,{...nr})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",a=>{a.detail.disableCore||E4({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),a.detail.disableBase||E4({css:`
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});function OE(a,i,n){for(var t=0,l=i.length,s;t<l;t++)(s||!(t in i))&&(s||(s=Array.prototype.slice.call(i,0,t)),s[t]=i[t]);return a.concat(s||Array.prototype.slice.call(i))}var O4;function S2(){return S2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},S2.apply(null,arguments)}var AE=function(i){return y.createElement("svg",S2({xmlns:"http://www.w3.org/2000/svg",width:24,height:12.4,viewBox:"0 0 24 12.4"},i),O4||(O4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M23.2.8 12.5 11.5c-.1.1-.2.1-.2.2-.1 0-.2.1-.3.1s-.2 0-.3-.1c-.1 0-.2-.1-.2-.2L.8.8"})))},A4,C4;function E2(){return E2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},E2.apply(null,arguments)}var Gc=function(i){return y.createElement("svg",E2({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,className:"info-svg",viewBox:"0 0 22.5 22.5"},i),A4||(A4=y.createElement("circle",{cx:11.2,cy:11.2,r:11.2,fill:"none",className:"bg"})),C4||(C4=y.createElement("g",{fill:"none"},y.createElement("path",{d:"M21.8 11.2c0 5.8-4.7 10.5-10.5 10.5C5.5 21.8.8 17 .8 11.2S5.5.7 11.3.7c5.7.1 10.5 4.8 10.5 10.5"}),y.createElement("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M21.8 11.2c0 5.8-4.7 10.5-10.5 10.5C5.5 21.8.8 17 .8 11.2S5.5.7 11.3.7c5.7.1 10.5 4.8 10.5 10.5"}),y.createElement("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M13.5 15.8h-.8c-.4 0-.8-.2-1.1-.4-.3-.3-.4-.7-.4-1.1v-3.8c0-.2-.1-.4-.2-.5s-.3-.2-.5-.2h-.7M10.9 6c-.1 0-.1 0-.2.1-.1 0-.1.1-.1.2v.2c0 .1.1.1.1.2.1.1.1.1.2.1h.2c.1 0 .1-.1.2-.1 0-.1.1-.1.1-.2s0-.2-.1-.3c-.2-.2-.3-.2-.4-.2"}))))},R4,N4;function w2(){return w2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},w2.apply(null,arguments)}var nm=function(i){return y.createElement("svg",w2({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,viewBox:"0 0 22.5 22.5"},i),R4||(R4=y.createElement("circle",{cx:11.2,cy:11.2,r:11.2,fill:"none",className:"bg"})),N4||(N4=y.createElement("g",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5},y.createElement("path",{d:"M11.2 21.8c5.8 0 10.5-4.7 10.5-10.6C21.7 5.4 17 .7 11.2.7S.7 5.5.7 11.3s4.7 10.5 10.5 10.5"}),y.createElement("path",{d:"m5.6 12.4 2.2 3.3c.2.1.4.3.4.3.1.1.3.1.5.1s.3 0 .5-.1.3-.2.4-.3l7.3-9.3"}))))},k4,L4,q4,U4;function D2(){return D2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},D2.apply(null,arguments)}var rm=function(i){return y.createElement("svg",D2({xmlns:"http://www.w3.org/2000/svg",width:22.6,height:22.6,viewBox:"0 0 22.6 22.6"},i),k4||(k4=y.createElement("path",{fill:"none",d:"M12.8 1.8c-.1-.3-.4-.6-.6-.7q-.45-.3-.9-.3-.6 0-.9.3c-.3.3-.5.3-.7.6L.9 19.9c-.1.2-.2.5-.2.7 0 .3.1.5.2.7s.3.4.6.5c.2.1.5.2.7.2h18.3c.3 0 .5-.1.7-.2s.4-.3.6-.5c.1-.2.2-.5.2-.7 0-.3 0-.5-.2-.7z",className:"bg"})),L4||(L4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12.8 1.8c-.1-.3-.4-.6-.6-.7q-.45-.3-.9-.3-.6 0-.9.3c-.3.3-.5.3-.7.6L.9 19.9c-.1.2-.2.5-.2.7 0 .3.1.5.2.7s.3.4.6.5c.2.1.5.2.7.2h18.3c.3 0 .5-.1.7-.2s.4-.3.6-.5c.1-.2.2-.5.2-.7 0-.3 0-.5-.2-.7z"})),q4||(q4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M11.3 17.7c-.1 0-.1 0-.2.1-.1 0-.1.1-.1.2v.2c0 .1.1.1.1.2.1.1.1.1.2.1h.2c.1 0 .1-.1.2-.1 0-.1.1-.1.1-.2s0-.2-.1-.3c-.2-.2-.3-.2-.4-.2"})),U4||(U4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M11.3 14.9V7.8"})))},H4;function T2(){return T2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},T2.apply(null,arguments)}var Q9=function(i){return y.createElement("svg",T2({xmlns:"http://www.w3.org/2000/svg",width:13.5,height:13.5,viewBox:"0 0 13.5 13.5"},i),H4||(H4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m.8 12.8 12-12m0 12L.8.8"})))},x2;(function(a){a.Default="sds--alert--status-default",a.Success="sds--alert--status-success",a.Warning="sds--alert--status-warning",a.Error="sds--alert--status-error",a.Info="sds--alert--status-info"})(x2||(x2={}));var wi=x2;function CE(a){return a!=null?(a.preventDefault(),a.stopPropagation(),!1):!0}function ys(a){return a==null?!0:Array.isArray(a)?a.length===0:typeof a=="string"?a.trim().length===0:a&&a.getTime&&typeof a.getTime=="function"?a.getTime()!==a.getTime():typeof a=="object"?Object.keys(a).length===0:!1}function fo(a){return PS.sanitize(a,{ADD_ATTR:["target"]})}function RE(){return crypto.randomUUID&&typeof crypto.randomUUID=="function"&&crypto.randomUUID()||Math.round(new Date().getTime()*Math.random()*1e3).toString()}var NE=function(a){var i=a.alertType||wi.Success,n=a.action?"sds--alert--has-action":"",t="sds--alert ".concat(i.toLowerCase()," ").concat(n," ").concat(a.hide?"hide":"");return G.createElement("div",{className:t},G.createElement("div",{className:"sds--alert--inner ".concat(a.asChild?"":"sds--page-container")},G.createElement("div",{className:"sds--alert--visual"},[wi.Error,wi.Warning].includes(i)&&G.createElement(rm,null),[wi.Default,wi.Info].includes(i)&&G.createElement(Gc,null),[wi.Success].includes(i)&&G.createElement(nm,null)),G.createElement("div",{className:"sds--alert--textual"},G.createElement("p",{dangerouslySetInnerHTML:{__html:fo(a.message)}}),a.action&&G.createElement("button",{type:"button",onClick:a.action,className:"sds--btn sds--btn--ghost--dark sds--btn--small"},a.actionLabel)),a.close&&G.createElement("button",{className:"sds--alert--actions",onClick:a.close},G.createElement("span",{className:"text sds--visually-hidden"},"Close alert"),G.createElement(Q9,null))))},kE=function(a){var i="sds--badge--number ".concat(a.colored?"sds--badge--number--colored":""," ").concat(a.small?"sds--badge--number--small":"");return G.createElement("span",{className:i},a.value)},P4;(function(a){a.Horizontal="",a.Vertical="sds--block-switch--vertical"})(P4||(P4={}));var z4;function M2(){return M2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},M2.apply(null,arguments)}var LE=function(i){return y.createElement("svg",M2({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,className:"bin-svg",viewBox:"0 0 22.5 22.5"},i),z4||(z4=y.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M.8 3.8h21m-8.3-3H9c-.4 0-.8.2-1.1.4-.2.3-.4.7-.4 1v1.5H15V2.2c0-.4-.2-.8-.4-1.1-.3-.2-.7-.3-1.1-.3M9 16.5V9m4.5 7.5V9m4.6 11.4c0 .4-.2.7-.5 1s-.6.4-1 .4H5.9c-.4 0-.7-.1-1-.4s-.4-.6-.5-1L3 3.8h16.5z"})))},O2;(function(a){a.Primary="sds--btn--primary",a.Secondary="sds--btn--secondary",a.Tertiary="sds--btn--tertiary",a.GhostDark="sds--btn--ghost--dark",a.GhostLight="sds--btn--ghost--light",a.Delete="sds--btn--delete",a.DeleteSecondary="sds--btn--delete--secondary",a.Chevron="sds--btn--chevron",a.DestructivePrimary="sds--btn sds--btn-destructive--primary",a.DestructiveSecondary="sds--btn sds--btn-destructive--secondary",a.DestructiveTertiary="sds--btn sds--btn-destructive--tertiary"})(O2||(O2={}));var Mi=O2,A2;(function(a){a.Default="",a.Small="sds--btn--small",a.Full="sds--btn--full"})(A2||(A2={}));var am=A2;Mi.Primary,am.Default;var ao=function(a){var i="".concat((a.type||Mi.Primary).toLowerCase()," ")+"".concat(a.type&&a.type===Mi.DeleteSecondary?Mi.Secondary.toLowerCase():""),n="".concat((a.size||am.Default).toLowerCase()),t=a.children?"sds--btn-chevron":"",l=a.active||!1,s="sds--btn ".concat(i," ").concat(n," ").concat(t," ").concat(l?"active":""),c=function(d){CE(d),!a.disabled&&a.onClick&&a.onClick(d)};return G.createElement("button",{type:"button",className:s,onClick:c,disabled:a.disabled},a.children,a.txt&&G.createElement("span",{className:"textual",dangerouslySetInnerHTML:{__html:fo(a.txt||"")}}),a.type===Mi.Delete?G.createElement(LE,null):a.icon)},qE=function(a){var i="A"+RE();return G.createElement("div",{"data-tooltip-id":i,className:"sds--tooltip-container ".concat(a.standalone?"":"sibbling"),"data-tooltip-html":fo(a.tip)},a.children?G.Children.map(a.children,function(n){return n}):G.createElement(Gc,null),G.createElement(ME,{id:i,place:a.place,clickable:a.clickable||!1,disableStyleInjection:"core"}))},Y4;(function(a){a.Default="sds--card",a.Big="sds--card sds--card--big"})(Y4||(Y4={}));var C2;(function(a){a.Main_100="main-100",a.Main_200="main-200",a.Main_300="main-300",a.Main_400="main-400",a.Main_500="main-500",a.Support_100="support-100",a.Support_400="support-400",a.Support_500="support-500",a.Status_default="status-default",a.Status_success="status-success",a.Status_warning="status-warning",a.Status_error="status-error",a.Status_info="status-info"})(C2||(C2={}));var K9=C2,UE=function(a){var i=a.type?a.type:K9.Main_100;return G.createElement("button",{className:"sds--chips ".concat(i)},a.children&&G.createElement("span",{className:"sds--chips--visual"},a.children),G.createElement("span",{className:"sds--chips--textual sds--text--body--small"},a.label))},ac=35,HE=["Delete","Backspace"],X9=function(a){var i=y.useState(Array(a.size).fill("")),n=i[0],t=i[1],l=y.useRef([]),s=a.disabled||!1,c=a.focusFirst===void 0||a.focusFirst;y.useEffect(function(){var v=ys(n.join(""));if(a.clear&&t(Array(a.size).fill("")),v&&c&&!a.disabled){var g=l.current[0];setTimeout(function(){return g.focus()},ac)}},[a]);var d=function(v,g){var b=g.target.value;if(!(a.validate&&!a.validate(b))){var D=OE([],n);if(D[v]=a.transformer?a.transformer(b):b,t(D),a.intermediateCallback&&a.intermediateCallback(D),v!==a.size-1&&!ys(b)){var M=l.current[v+1];setTimeout(function(){return M.focus()},ac)}else ys(b)||setTimeout(function(){return a.verify(D.join(""))},ac)}},h=function(v,g){if(HE.includes(g.key)&&v>0&&g.target.value===""){var b=l.current[v-1];b.focus()}return!0},m=function(v,g){if(v!==0)return!1;var b=g.clipboardData.getData("text/plain"),D=b.split("");if(D.length!==a.size||a.validate&&D.map(function(C){return a.validate(C)}).some(function(C){return!C}))return!1;t(a.transformer?D.map(function(C){return a.transformer(C)}):D);var M=l.current[a.size-1];return M.focus(),setTimeout(function(){return a.verify(D.join(""))},ac),!0};return G.createElement("div",{className:"sds--code-validation-container"},G.createElement("div",{className:"sds--code-validation"},Array(a.size).fill("").map(function(v,g){return G.createElement("input",{type:"text",key:"input_".concat(g),disabled:s||ys(n[g])&&g!==0&&ys(n[g-1]),value:n[g]||"",onChange:function(b){return d(g,b)},onKeyDown:function(b){return h(g,b)},onPaste:function(b){return m(g,b)},maxLength:1,ref:function(b){return l.current[g]=b},className:"value index_".concat(g)})})),a.info&&G.createElement("p",{className:"info",dangerouslySetInnerHTML:{__html:fo(a.info)}}))},Di;(function(a){a.Default="sds--error-indicator--status-default",a.Success="sds--error-indicator--status-success",a.Warning="sds--error-indicator--status-warning",a.Error="sds--error-indicator--status-error",a.Info="sds--error-indicator--status-info"})(Di||(Di={}));var PE=function(a){var i=a.errorIndicatorType||Di.Error,n="".concat(i.toLowerCase());return G.createElement("div",{className:"sds--error-indicator ".concat(n)},G.createElement("div",{className:"sds--error-indicator--visual"},[Di.Error,Di.Warning].includes(i)&&G.createElement(rm,null),[Di.Default,Di.Info].includes(i)&&G.createElement(Gc,null),[Di.Success].includes(i)&&G.createElement(nm,null)),G.createElement("div",{className:"sds--error-indicator-textual"},a.message&&G.createElement("p",{dangerouslySetInnerHTML:{__html:fo(a.message)}})))},im=function(a){var i="sds--loading-container ".concat(a.className||"");return G.createElement("div",{className:i},G.createElement("div",{className:"sds--loading"},G.createElement("span",{className:"sds--loading--dot"}),G.createElement("span",{className:"sds--loading--dot"}),G.createElement("span",{className:"sds--loading--dot"})),a.children&&a.children)},j4,B4;function R2(){return R2=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)({}).hasOwnProperty.call(n,t)&&(a[t]=n[t])}return a},R2.apply(null,arguments)}var zE=function(i){return y.createElement("svg",R2({xmlns:"http://www.w3.org/2000/svg",width:70.9,height:36,className:"logo-surf",viewBox:"0 0 70.9 36"},i),j4||(j4=y.createElement("path",{fillRule:"evenodd",d:"M65.5 21.8c3 0 5.4 2.4 5.4 5.4v3.4c0 3-2.4 5.4-5.4 5.4h-8.1c-3 0-5.4-2.4-5.4-5.4v-2.1c0-3.7-3-6.7-6.7-6.7H6.7C3 21.8 0 18.7 0 15V6.7C0 3 3 0 6.7 0h38.5C49 0 52 3 52 6.7V15c0 3.7 3 6.7 6.7 6.7h6.8z",className:"shape",clipRule:"evenodd"})),B4||(B4=y.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M43.4 12.5c.7 0 1.1-.4 1.1-1.1s-.3-1.1-1.1-1.1h-2.7v-2H45c.7 0 1.1-.4 1.1-1.1s-.4-1.1-1.1-1.1h-5.4c-.7 0-1.1.4-1.1 1.1v7.6c0 .7.4 1.1 1.1 1.1s1.1-.4 1.1-1.1v-2.4h2.7zM32.2 8.3c.9 0 1.5.4 1.5 1.3s-.7 1.3-1.5 1.3h-1.9V8.3zm1.3 7c.2.5.5.7.9.7.6 0 1.3-.4 1.3-1.1 0-.2 0-.4-.1-.6l-1-2.1q1.5-.75 1.5-2.7c0-2-1.5-3.4-3.6-3.4h-3.2c-.7 0-1.1.4-1.1 1.1v7.6c0 .7.4 1.1 1.1 1.1s1.1-.4 1.1-1.1v-2h2.1zm-10.3-3.9c0 1.5-.9 2.4-2.2 2.4s-2.2-.9-2.2-2.4V7.2c0-.7-.4-1.1-1.1-1.1s-1.1.4-1.1 1.1v4.3c0 2.8 1.9 4.6 4.4 4.6 2.6 0 4.5-1.8 4.5-4.6V7.2c0-.7-.4-1.1-1.1-1.1s-1.1.4-1.1 1.1v4.2zM10.5 14c-.9 0-1.5-.2-1.9-.4-.4-.1-.7-.2-1-.2-.6 0-1 .4-1 1 0 1 2.1 1.6 4 1.6 2.2 0 3.9-1.2 3.9-3 0-1.7-1.1-2.4-2.4-2.8l-1.8-.6C9.4 9.5 9 9.3 9 8.8s.8-.7 1.4-.7c.8 0 1.3.2 1.8.4.3.1.6.2.9.2.6 0 .9-.4.9-1 0-1-1.9-1.6-3.6-1.6C8.3 6 6.7 7.2 6.7 8.9c0 1.4 1 2.3 2.2 2.6l1.6.5c.8.2 1.5.5 1.5 1 .1.6-.8 1-1.5 1",className:"text",clipRule:"evenodd"})))},N2;(function(a){a.White="White",a.Black="Black"})(N2||(N2={}));var k2=N2,$9=function(a){var i=(a.color||k2.Black)===k2.White?"sds--branding--negative":"",n="sds--logo sds--branding sds--branding--name-".concat(a.position.toLowerCase()," ").concat(i);return G.createElement("div",{className:n},G.createElement("span",{className:"sds--branding--visual"},a.CustomLogo?G.createElement(a.CustomLogo,null):G.createElement(zE,null)),G.createElement("span",{className:"sds--branding--textual"},a.label))},L2;(function(a){a.Bottom="Bottom",a.Up="Up"})(L2||(L2={}));var J9=L2,I4;(function(a){a.row="row",a.column="column"})(I4||(I4={}));var F4=function(a){var i="sds--switch ".concat(a.value?"sds--switch--active":""," ").concat(a.disabled?"sds--switch--disabled":"");return G.createElement("div",{className:"sds--tooltip-parent",onClick:function(){return!a.disabled&&a.onChange(!a.value)}},G.createElement("span",{className:i,role:"switch","aria-checked":a.value}),a.tooltip&&G.createElement(qE,{tip:a.tooltip}))},q2;(function(a){a.Default="sds--toaster--status-default",a.Success="sds--toaster--status-success",a.Warning="sds--toaster--status-warning",a.Error="sds--toaster--status-error",a.Info="sds--toaster--status-info"})(q2||(q2={}));var Ti=q2,lm=function(a){var i="".concat(a.toasterType.toLowerCase()),n=a.large?"sds--toaster--full-width":"",t=a.action?"sds--toaster--has-action":"",l="sds--toaster ".concat(i," ").concat(t," ").concat(n);return G.createElement("div",{className:l},G.createElement("div",{className:"sds--toaster--visual"},[Ti.Error,Ti.Warning].includes(a.toasterType)&&G.createElement(rm,null),[Ti.Default,Ti.Info].includes(a.toasterType)&&G.createElement(Gc,null),[Ti.Success].includes(a.toasterType)&&G.createElement(nm,null)),G.createElement("div",{className:"sds--toaster--textual"},a.message&&G.createElement("p",{dangerouslySetInnerHTML:{__html:fo(a.message)}}),a.children&&a.children,a.action&&G.createElement("button",{type:"button",onClick:a.action,className:"sds--btn sds--btn--ghost--dark sds--btn--small"},a.actionLabel)),a.close&&G.createElement("button",{className:"sds--alert--actions",onClick:a.close},G.createElement("span",{className:"text sds--visually-hidden"},"Close alert"),G.createElement(Q9,null)))},YE=function(a){return G.createElement("div",{className:"sds--toaster-container"},a.children)},jE=function(a){return G.createElement("nav",{className:"sds--user-info ".concat(a.isOpen?"is-open":"")},G.createElement("div",{className:"sds--user-info--textual"},G.createElement("p",{className:"name"},a.userName),G.createElement("p",{className:"role sds--text--body--small"},a.organisationName)),G.createElement("button",{type:"button",className:"sds--user-info--button",onClick:a.toggle},G.createElement(AE,null)),G.createElement("div",{className:"sds--user-info--dropdown"},a.children&&a.children))},bs={},G4;function BE(){if(G4)return bs;G4=1,Object.defineProperty(bs,"__esModule",{value:!0}),bs.parse=c,bs.serialize=m;const a=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,i=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,t=/^[\u0020-\u003A\u003D-\u007E]*$/,l=Object.prototype.toString,s=(()=>{const b=function(){};return b.prototype=Object.create(null),b})();function c(b,D){const M=new s,C=b.length;if(C<2)return M;const N=(D==null?void 0:D.decode)||v;let H=0;do{const O=b.indexOf("=",H);if(O===-1)break;const Z=b.indexOf(";",H),K=Z===-1?C:Z;if(O>K){H=b.lastIndexOf(";",O-1)+1;continue}const X=d(b,H,O),re=h(b,O,X),V=b.slice(X,re);if(M[V]===void 0){let S=d(b,O+1,K),E=h(b,K,S);const w=N(b.slice(S,E));M[V]=w}H=K+1}while(H<C);return M}function d(b,D,M){do{const C=b.charCodeAt(D);if(C!==32&&C!==9)return D}while(++D<M);return M}function h(b,D,M){for(;D>M;){const C=b.charCodeAt(--D);if(C!==32&&C!==9)return D+1}return M}function m(b,D,M){const C=(M==null?void 0:M.encode)||encodeURIComponent;if(!a.test(b))throw new TypeError(`argument name is invalid: ${b}`);const N=C(D);if(!i.test(N))throw new TypeError(`argument val is invalid: ${D}`);let H=b+"="+N;if(!M)return H;if(M.maxAge!==void 0){if(!Number.isInteger(M.maxAge))throw new TypeError(`option maxAge is invalid: ${M.maxAge}`);H+="; Max-Age="+M.maxAge}if(M.domain){if(!n.test(M.domain))throw new TypeError(`option domain is invalid: ${M.domain}`);H+="; Domain="+M.domain}if(M.path){if(!t.test(M.path))throw new TypeError(`option path is invalid: ${M.path}`);H+="; Path="+M.path}if(M.expires){if(!g(M.expires)||!Number.isFinite(M.expires.valueOf()))throw new TypeError(`option expires is invalid: ${M.expires}`);H+="; Expires="+M.expires.toUTCString()}if(M.httpOnly&&(H+="; HttpOnly"),M.secure&&(H+="; Secure"),M.partitioned&&(H+="; Partitioned"),M.priority)switch(typeof M.priority=="string"?M.priority.toLowerCase():void 0){case"low":H+="; Priority=Low";break;case"medium":H+="; Priority=Medium";break;case"high":H+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${M.priority}`)}if(M.sameSite)switch(typeof M.sameSite=="string"?M.sameSite.toLowerCase():M.sameSite){case!0:case"strict":H+="; SameSite=Strict";break;case"lax":H+="; SameSite=Lax";break;case"none":H+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${M.sameSite}`)}return H}function v(b){if(b.indexOf("%")===-1)return b;try{return decodeURIComponent(b)}catch{return b}}function g(b){return l.call(b)==="[object Date]"}return bs}BE();var Z4="popstate";function IE(a={}){function i(t,l){let{pathname:s,search:c,hash:d}=t.location;return U2("",{pathname:s,search:c,hash:d},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function n(t,l){return typeof l=="string"?l:Hs(l)}return GE(i,n,null,a)}function Bt(a,i){if(a===!1||a===null||typeof a>"u")throw new Error(i)}function Qr(a,i){if(!a){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function FE(){return Math.random().toString(36).substring(2,10)}function V4(a,i){return{usr:a.state,key:a.key,idx:i}}function U2(a,i,n=null,t){return{pathname:typeof a=="string"?a:a.pathname,search:"",hash:"",...typeof i=="string"?ho(i):i,state:n,key:i&&i.key||t||FE()}}function Hs({pathname:a="/",search:i="",hash:n=""}){return i&&i!=="?"&&(a+=i.charAt(0)==="?"?i:"?"+i),n&&n!=="#"&&(a+=n.charAt(0)==="#"?n:"#"+n),a}function ho(a){let i={};if(a){let n=a.indexOf("#");n>=0&&(i.hash=a.substring(n),a=a.substring(0,n));let t=a.indexOf("?");t>=0&&(i.search=a.substring(t),a=a.substring(0,t)),a&&(i.pathname=a)}return i}function GE(a,i,n,t={}){let{window:l=document.defaultView,v5Compat:s=!1}=t,c=l.history,d="POP",h=null,m=v();m==null&&(m=0,c.replaceState({...c.state,idx:m},""));function v(){return(c.state||{idx:null}).idx}function g(){d="POP";let N=v(),H=N==null?null:N-m;m=N,h&&h({action:d,location:C.location,delta:H})}function b(N,H){d="PUSH";let O=U2(C.location,N,H);m=v()+1;let Z=V4(O,m),K=C.createHref(O);try{c.pushState(Z,"",K)}catch(X){if(X instanceof DOMException&&X.name==="DataCloneError")throw X;l.location.assign(K)}s&&h&&h({action:d,location:C.location,delta:1})}function D(N,H){d="REPLACE";let O=U2(C.location,N,H);m=v();let Z=V4(O,m),K=C.createHref(O);c.replaceState(Z,"",K),s&&h&&h({action:d,location:C.location,delta:0})}function M(N){return ZE(N)}let C={get action(){return d},get location(){return a(l,c)},listen(N){if(h)throw new Error("A history only accepts one active listener");return l.addEventListener(Z4,g),h=N,()=>{l.removeEventListener(Z4,g),h=null}},createHref(N){return i(l,N)},createURL:M,encodeLocation(N){let H=M(N);return{pathname:H.pathname,search:H.search,hash:H.hash}},push:b,replace:D,go(N){return c.go(N)}};return C}function ZE(a,i=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),Bt(n,"No window.location.(origin|href) available to create URL");let t=typeof a=="string"?a:Hs(a);return t=t.replace(/ $/,"%20"),!i&&t.startsWith("//")&&(t=n+t),new URL(t,n)}function e8(a,i,n="/"){return VE(a,i,n,!1)}function VE(a,i,n,t){let l=typeof i=="string"?ho(i):i,s=Ga(l.pathname||"/",n);if(s==null)return null;let c=t8(a);WE(c);let d=null;for(let h=0;d==null&&h<c.length;++h){let m=iw(s);d=rw(c[h],m,t)}return d}function t8(a,i=[],n=[],t=""){let l=(s,c,d)=>{let h={relativePath:d===void 0?s.path||"":d,caseSensitive:s.caseSensitive===!0,childrenIndex:c,route:s};h.relativePath.startsWith("/")&&(Bt(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=Pa([t,h.relativePath]),v=n.concat(h);s.children&&s.children.length>0&&(Bt(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),t8(s.children,i,v,m)),!(s.path==null&&!s.index)&&i.push({path:m,score:tw(m,s.index),routesMeta:v})};return a.forEach((s,c)=>{var d;if(s.path===""||!((d=s.path)!=null&&d.includes("?")))l(s,c);else for(let h of n8(s.path))l(s,c,h)}),i}function n8(a){let i=a.split("/");if(i.length===0)return[];let[n,...t]=i,l=n.endsWith("?"),s=n.replace(/\?$/,"");if(t.length===0)return l?[s,""]:[s];let c=n8(t.join("/")),d=[];return d.push(...c.map(h=>h===""?s:[s,h].join("/"))),l&&d.push(...c),d.map(h=>a.startsWith("/")&&h===""?"/":h)}function WE(a){a.sort((i,n)=>i.score!==n.score?n.score-i.score:nw(i.routesMeta.map(t=>t.childrenIndex),n.routesMeta.map(t=>t.childrenIndex)))}var QE=/^:[\w-]+$/,KE=3,XE=2,$E=1,JE=10,ew=-2,W4=a=>a==="*";function tw(a,i){let n=a.split("/"),t=n.length;return n.some(W4)&&(t+=ew),i&&(t+=XE),n.filter(l=>!W4(l)).reduce((l,s)=>l+(QE.test(s)?KE:s===""?$E:JE),t)}function nw(a,i){return a.length===i.length&&a.slice(0,-1).every((t,l)=>t===i[l])?a[a.length-1]-i[i.length-1]:0}function rw(a,i,n=!1){let{routesMeta:t}=a,l={},s="/",c=[];for(let d=0;d<t.length;++d){let h=t[d],m=d===t.length-1,v=s==="/"?i:i.slice(s.length)||"/",g=Ac({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},v),b=h.route;if(!g&&m&&n&&!t[t.length-1].route.index&&(g=Ac({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},v)),!g)return null;Object.assign(l,g.params),c.push({params:l,pathname:Pa([s,g.pathname]),pathnameBase:uw(Pa([s,g.pathnameBase])),route:b}),g.pathnameBase!=="/"&&(s=Pa([s,g.pathnameBase]))}return c}function Ac(a,i){typeof a=="string"&&(a={path:a,caseSensitive:!1,end:!0});let[n,t]=aw(a.path,a.caseSensitive,a.end),l=i.match(n);if(!l)return null;let s=l[0],c=s.replace(/(.)\/+$/,"$1"),d=l.slice(1);return{params:t.reduce((m,{paramName:v,isOptional:g},b)=>{if(v==="*"){let M=d[b]||"";c=s.slice(0,s.length-M.length).replace(/(.)\/+$/,"$1")}const D=d[b];return g&&!D?m[v]=void 0:m[v]=(D||"").replace(/%2F/g,"/"),m},{}),pathname:s,pathnameBase:c,pattern:a}}function aw(a,i=!1,n=!0){Qr(a==="*"||!a.endsWith("*")||a.endsWith("/*"),`Route path "${a}" will be treated as if it were "${a.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${a.replace(/\*$/,"/*")}".`);let t=[],l="^"+a.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,d,h)=>(t.push({paramName:d,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)"));return a.endsWith("*")?(t.push({paramName:"*"}),l+=a==="*"||a==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":a!==""&&a!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,i?void 0:"i"),t]}function iw(a){try{return a.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return Qr(!1,`The URL path "${a}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),a}}function Ga(a,i){if(i==="/")return a;if(!a.toLowerCase().startsWith(i.toLowerCase()))return null;let n=i.endsWith("/")?i.length-1:i.length,t=a.charAt(n);return t&&t!=="/"?null:a.slice(n)||"/"}function lw(a,i="/"){let{pathname:n,search:t="",hash:l=""}=typeof a=="string"?ho(a):a;return{pathname:n?n.startsWith("/")?n:ow(n,i):i,search:cw(t),hash:fw(l)}}function ow(a,i){let n=i.replace(/\/+$/,"").split("/");return a.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function d1(a,i,n,t){return`Cannot include a '${a}' character in a manually specified \`to.${i}\` field [${JSON.stringify(t)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function sw(a){return a.filter((i,n)=>n===0||i.route.path&&i.route.path.length>0)}function om(a){let i=sw(a);return i.map((n,t)=>t===i.length-1?n.pathname:n.pathnameBase)}function sm(a,i,n,t=!1){let l;typeof a=="string"?l=ho(a):(l={...a},Bt(!l.pathname||!l.pathname.includes("?"),d1("?","pathname","search",l)),Bt(!l.pathname||!l.pathname.includes("#"),d1("#","pathname","hash",l)),Bt(!l.search||!l.search.includes("#"),d1("#","search","hash",l)));let s=a===""||l.pathname==="",c=s?"/":l.pathname,d;if(c==null)d=n;else{let g=i.length-1;if(!t&&c.startsWith("..")){let b=c.split("/");for(;b[0]==="..";)b.shift(),g-=1;l.pathname=b.join("/")}d=g>=0?i[g]:"/"}let h=lw(l,d),m=c&&c!=="/"&&c.endsWith("/"),v=(s||c===".")&&n.endsWith("/");return!h.pathname.endsWith("/")&&(m||v)&&(h.pathname+="/"),h}var Pa=a=>a.join("/").replace(/\/\/+/g,"/"),uw=a=>a.replace(/\/+$/,"").replace(/^\/*/,"/"),cw=a=>!a||a==="?"?"":a.startsWith("?")?a:"?"+a,fw=a=>!a||a==="#"?"":a.startsWith("#")?a:"#"+a;function dw(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.internal=="boolean"&&"data"in a}var r8=["POST","PUT","PATCH","DELETE"];new Set(r8);var hw=["GET",...r8];new Set(hw);var po=y.createContext(null);po.displayName="DataRouter";var Zc=y.createContext(null);Zc.displayName="DataRouterState";var a8=y.createContext({isTransitioning:!1});a8.displayName="ViewTransition";var pw=y.createContext(new Map);pw.displayName="Fetchers";var mw=y.createContext(null);mw.displayName="Await";var Xr=y.createContext(null);Xr.displayName="Navigation";var Bs=y.createContext(null);Bs.displayName="Location";var $r=y.createContext({outlet:null,matches:[],isDataRoute:!1});$r.displayName="Route";var um=y.createContext(null);um.displayName="RouteError";function vw(a,{relative:i}={}){Bt(mo(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:t}=y.useContext(Xr),{hash:l,pathname:s,search:c}=Is(a,{relative:i}),d=s;return n!=="/"&&(d=s==="/"?n:Pa([n,s])),t.createHref({pathname:d,search:c,hash:l})}function mo(){return y.useContext(Bs)!=null}function Li(){return Bt(mo(),"useLocation() may be used only in the context of a <Router> component."),y.useContext(Bs).location}var i8="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function l8(a){y.useContext(Xr).static||y.useLayoutEffect(a)}function dl(){let{isDataRoute:a}=y.useContext($r);return a?Aw():gw()}function gw(){Bt(mo(),"useNavigate() may be used only in the context of a <Router> component.");let a=y.useContext(po),{basename:i,navigator:n}=y.useContext(Xr),{matches:t}=y.useContext($r),{pathname:l}=Li(),s=JSON.stringify(om(t)),c=y.useRef(!1);return l8(()=>{c.current=!0}),y.useCallback((h,m={})=>{if(Qr(c.current,i8),!c.current)return;if(typeof h=="number"){n.go(h);return}let v=sm(h,JSON.parse(s),l,m.relative==="path");a==null&&i!=="/"&&(v.pathname=v.pathname==="/"?i:Pa([i,v.pathname])),(m.replace?n.replace:n.push)(v,m.state,m)},[i,n,s,l,a])}y.createContext(null);function o8(){let{matches:a}=y.useContext($r),i=a[a.length-1];return i?i.params:{}}function Is(a,{relative:i}={}){let{matches:n}=y.useContext($r),{pathname:t}=Li(),l=JSON.stringify(om(n));return y.useMemo(()=>sm(a,JSON.parse(l),t,i==="path"),[a,l,t,i])}function yw(a,i){return s8(a,i)}function s8(a,i,n,t){var H;Bt(mo(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:l}=y.useContext(Xr),{matches:s}=y.useContext($r),c=s[s.length-1],d=c?c.params:{},h=c?c.pathname:"/",m=c?c.pathnameBase:"/",v=c&&c.route;{let O=v&&v.path||"";u8(h,!v||O.endsWith("*")||O.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${O}">) 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="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let g=Li(),b;if(i){let O=typeof i=="string"?ho(i):i;Bt(m==="/"||((H=O.pathname)==null?void 0:H.startsWith(m)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${m}" but pathname "${O.pathname}" was given in the \`location\` prop.`),b=O}else b=g;let D=b.pathname||"/",M=D;if(m!=="/"){let O=m.replace(/^\//,"").split("/");M="/"+D.replace(/^\//,"").split("/").slice(O.length).join("/")}let C=e8(a,{pathname:M});Qr(v||C!=null,`No routes matched location "${b.pathname}${b.search}${b.hash}" `),Qr(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 "${b.pathname}${b.search}${b.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=ww(C&&C.map(O=>Object.assign({},O,{params:Object.assign({},d,O.params),pathname:Pa([m,l.encodeLocation?l.encodeLocation(O.pathname).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?m:Pa([m,l.encodeLocation?l.encodeLocation(O.pathnameBase).pathname:O.pathnameBase])})),s,n,t);return i&&N?y.createElement(Bs.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...b},navigationType:"POP"}},N):N}function bw(){let a=Ow(),i=dw(a)?`${a.status} ${a.statusText}`:a instanceof Error?a.message:JSON.stringify(a),n=a instanceof Error?a.stack:null,t="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:t},s={padding:"2px 4px",backgroundColor:t},c=null;return console.error("Error handled by React Router default ErrorBoundary:",a),c=y.createElement(y.Fragment,null,y.createElement("p",null,"💿 Hey developer 👋"),y.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",y.createElement("code",{style:s},"ErrorBoundary")," or"," ",y.createElement("code",{style:s},"errorElement")," prop on your route.")),y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},i),n?y.createElement("pre",{style:l},n):null,c)}var _w=y.createElement(bw,null),Sw=class extends y.Component{constructor(a){super(a),this.state={location:a.location,revalidation:a.revalidation,error:a.error}}static getDerivedStateFromError(a){return{error:a}}static getDerivedStateFromProps(a,i){return i.location!==a.location||i.revalidation!=="idle"&&a.revalidation==="idle"?{error:a.error,location:a.location,revalidation:a.revalidation}:{error:a.error!==void 0?a.error:i.error,location:i.location,revalidation:a.revalidation||i.revalidation}}componentDidCatch(a,i){console.error("React Router caught the following error during render",a,i)}render(){return this.state.error!==void 0?y.createElement($r.Provider,{value:this.props.routeContext},y.createElement(um.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Ew({routeContext:a,match:i,children:n}){let t=y.useContext(po);return t&&t.static&&t.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(t.staticContext._deepestRenderedBoundaryId=i.route.id),y.createElement($r.Provider,{value:a},n)}function ww(a,i=[],n=null,t=null){if(a==null){if(!n)return null;if(n.errors)a=n.matches;else if(i.length===0&&!n.initialized&&n.matches.length>0)a=n.matches;else return null}let l=a,s=n==null?void 0:n.errors;if(s!=null){let h=l.findIndex(m=>m.route.id&&(s==null?void 0:s[m.route.id])!==void 0);Bt(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,b=m.route.loader&&!v.hasOwnProperty(m.route.id)&&(!g||g[m.route.id]===void 0);if(m.route.lazy||b){c=!0,d>=0?l=l.slice(0,d+1):l=[l[0]];break}}}return l.reduceRight((h,m,v)=>{let g,b=!1,D=null,M=null;n&&(g=s&&m.route.id?s[m.route.id]:void 0,D=m.route.errorElement||_w,c&&(d<0&&v===0?(u8("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),b=!0,M=null):d===v&&(b=!0,M=m.route.hydrateFallbackElement||null)));let C=i.concat(l.slice(0,v+1)),N=()=>{let H;return g?H=D:b?H=M:m.route.Component?H=y.createElement(m.route.Component,null):m.route.element?H=m.route.element:H=h,y.createElement(Ew,{match:m,routeContext:{outlet:h,matches:C,isDataRoute:n!=null},children:H})};return n&&(m.route.ErrorBoundary||m.route.errorElement||v===0)?y.createElement(Sw,{location:n.location,revalidation:n.revalidation,component:D,error:g,children:N(),routeContext:{outlet:null,matches:C,isDataRoute:!0}}):N()},null)}function cm(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Dw(a){let i=y.useContext(po);return Bt(i,cm(a)),i}function Tw(a){let i=y.useContext(Zc);return Bt(i,cm(a)),i}function xw(a){let i=y.useContext($r);return Bt(i,cm(a)),i}function fm(a){let i=xw(a),n=i.matches[i.matches.length-1];return Bt(n.route.id,`${a} can only be used on routes that contain a unique "id"`),n.route.id}function Mw(){return fm("useRouteId")}function Ow(){var t;let a=y.useContext(um),i=Tw("useRouteError"),n=fm("useRouteError");return a!==void 0?a:(t=i.errors)==null?void 0:t[n]}function Aw(){let{router:a}=Dw("useNavigate"),i=fm("useNavigate"),n=y.useRef(!1);return l8(()=>{n.current=!0}),y.useCallback(async(l,s={})=>{Qr(n.current,i8),n.current&&(typeof l=="number"?a.navigate(l):await a.navigate(l,{fromRouteId:i,...s}))},[a,i])}var Q4={};function u8(a,i,n){!i&&!Q4[a]&&(Q4[a]=!0,Qr(!1,n))}y.memo(Cw);function Cw({routes:a,future:i,state:n}){return s8(a,void 0,n,i)}function K4({to:a,replace:i,state:n,relative:t}){Bt(mo(),"<Navigate> may be used only in the context of a <Router> component.");let{static:l}=y.useContext(Xr);Qr(!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($r),{pathname:c}=Li(),d=dl(),h=sm(a,om(s),c,t==="path"),m=JSON.stringify(h);return y.useEffect(()=>{d(JSON.parse(m),{replace:i,state:n,relative:t})},[d,m,t,i,n]),null}function mr(a){Bt(!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 Rw({basename:a="/",children:i=null,location:n,navigationType:t="POP",navigator:l,static:s=!1}){Bt(!mo(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=a.replace(/^\/*/,"/"),d=y.useMemo(()=>({basename:c,navigator:l,static:s,future:{}}),[c,l,s]);typeof n=="string"&&(n=ho(n));let{pathname:h="/",search:m="",hash:v="",state:g=null,key:b="default"}=n,D=y.useMemo(()=>{let M=Ga(h,c);return M==null?null:{location:{pathname:M,search:m,hash:v,state:g,key:b},navigationType:t}},[c,h,m,v,g,b,t]);return Qr(D!=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.`),D==null?null:y.createElement(Xr.Provider,{value:d},y.createElement(Bs.Provider,{children:i,value:D}))}function H2({children:a,location:i}){return yw(P2(a),i)}function P2(a,i=[]){let n=[];return y.Children.forEach(a,(t,l)=>{if(!y.isValidElement(t))return;let s=[...i,l];if(t.type===y.Fragment){n.push.apply(n,P2(t.props.children,s));return}Bt(t.type===mr,`[${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>`),Bt(!t.props.index||!t.props.children,"An index route cannot have child routes.");let c={id:t.props.id||s.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,Component:t.props.Component,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,hydrateFallbackElement:t.props.hydrateFallbackElement,HydrateFallback:t.props.HydrateFallback,errorElement:t.props.errorElement,ErrorBoundary:t.props.ErrorBoundary,hasErrorBoundary:t.props.hasErrorBoundary===!0||t.props.ErrorBoundary!=null||t.props.errorElement!=null,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle,lazy:t.props.lazy};t.props.children&&(c.children=P2(t.props.children,s)),n.push(c)}),n}var gc="get",yc="application/x-www-form-urlencoded";function Vc(a){return a!=null&&typeof a.tagName=="string"}function Nw(a){return Vc(a)&&a.tagName.toLowerCase()==="button"}function kw(a){return Vc(a)&&a.tagName.toLowerCase()==="form"}function Lw(a){return Vc(a)&&a.tagName.toLowerCase()==="input"}function qw(a){return!!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)}function Uw(a,i){return a.button===0&&(!i||i==="_self")&&!qw(a)}var ic=null;function Hw(){if(ic===null)try{new FormData(document.createElement("form"),0),ic=!1}catch{ic=!0}return ic}var Pw=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function h1(a){return a!=null&&!Pw.has(a)?(Qr(!1,`"${a}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${yc}"`),null):a}function zw(a,i){let n,t,l,s,c;if(kw(a)){let d=a.getAttribute("action");t=d?Ga(d,i):null,n=a.getAttribute("method")||gc,l=h1(a.getAttribute("enctype"))||yc,s=new FormData(a)}else if(Nw(a)||Lw(a)&&(a.type==="submit"||a.type==="image")){let d=a.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=a.getAttribute("formaction")||d.getAttribute("action");if(t=h?Ga(h,i):null,n=a.getAttribute("formmethod")||d.getAttribute("method")||gc,l=h1(a.getAttribute("formenctype"))||h1(d.getAttribute("enctype"))||yc,s=new FormData(d,a),!Hw()){let{name:m,type:v,value:g}=a;if(v==="image"){let b=m?`${m}.`:"";s.append(`${b}x`,"0"),s.append(`${b}y`,"0")}else m&&s.append(m,g)}}else{if(Vc(a))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=gc,t=null,l=yc,c=a}return s&&l==="text/plain"&&(c=s,s=void 0),{action:t,method:n.toLowerCase(),encType:l,formData:s,body:c}}function dm(a,i){if(a===!1||a===null||typeof a>"u")throw new Error(i)}async function Yw(a,i){if(a.id in i)return i[a.id];try{let n=await import(a.module);return i[a.id]=n,n}catch(n){return console.error(`Error loading route module \`${a.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function jw(a){return a==null?!1:a.href==null?a.rel==="preload"&&typeof a.imageSrcSet=="string"&&typeof a.imageSizes=="string":typeof a.rel=="string"&&typeof a.href=="string"}async function Bw(a,i,n){let t=await Promise.all(a.map(async l=>{let s=i.routes[l.route.id];if(s){let c=await Yw(s,n);return c.links?c.links():[]}return[]}));return Zw(t.flat(1).filter(jw).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function X4(a,i,n,t,l,s){let c=(h,m)=>n[m]?h.route.id!==n[m].route.id:!0,d=(h,m)=>{var v;return n[m].pathname!==h.pathname||((v=n[m].route.path)==null?void 0:v.endsWith("*"))&&n[m].params["*"]!==h.params["*"]};return s==="assets"?i.filter((h,m)=>c(h,m)||d(h,m)):s==="data"?i.filter((h,m)=>{var g;let v=t.routes[h.route.id];if(!v||!v.hasLoader)return!1;if(c(h,m)||d(h,m))return!0;if(h.route.shouldRevalidate){let b=h.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:((g=n[0])==null?void 0:g.params)||{},nextUrl:new URL(a,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof b=="boolean")return b}return!0}):[]}function Iw(a,i,{includeHydrateFallback:n}={}){return Fw(a.map(t=>{let l=i.routes[t.route.id];if(!l)return[];let s=[l.module];return l.clientActionModule&&(s=s.concat(l.clientActionModule)),l.clientLoaderModule&&(s=s.concat(l.clientLoaderModule)),n&&l.hydrateFallbackModule&&(s=s.concat(l.hydrateFallbackModule)),l.imports&&(s=s.concat(l.imports)),s}).flat(1))}function Fw(a){return[...new Set(a)]}function Gw(a){let i={},n=Object.keys(a).sort();for(let t of n)i[t]=a[t];return i}function Zw(a,i){let n=new Set;return new Set(i),a.reduce((t,l)=>{let s=JSON.stringify(Gw(l));return n.has(s)||(n.add(s),t.push({key:s,link:l})),t},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Vw=new Set([100,101,204,205]);function Ww(a,i){let n=typeof a=="string"?new URL(a,typeof window>"u"?"server://singlefetch/":window.location.origin):a;return n.pathname==="/"?n.pathname="_root.data":i&&Ga(n.pathname,i)==="/"?n.pathname=`${i.replace(/\/$/,"")}/_root.data`:n.pathname=`${n.pathname.replace(/\/$/,"")}.data`,n}function c8(){let a=y.useContext(po);return dm(a,"You must render this element inside a <DataRouterContext.Provider> element"),a}function Qw(){let a=y.useContext(Zc);return dm(a,"You must render this element inside a <DataRouterStateContext.Provider> element"),a}var hm=y.createContext(void 0);hm.displayName="FrameworkContext";function f8(){let a=y.useContext(hm);return dm(a,"You must render this element inside a <HydratedRouter> element"),a}function Kw(a,i){let n=y.useContext(hm),[t,l]=y.useState(!1),[s,c]=y.useState(!1),{onFocus:d,onBlur:h,onMouseEnter:m,onMouseLeave:v,onTouchStart:g}=i,b=y.useRef(null);y.useEffect(()=>{if(a==="render"&&c(!0),a==="viewport"){let C=H=>{H.forEach(O=>{c(O.isIntersecting)})},N=new IntersectionObserver(C,{threshold:.5});return b.current&&N.observe(b.current),()=>{N.disconnect()}}},[a]),y.useEffect(()=>{if(t){let C=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(C)}}},[t]);let D=()=>{l(!0)},M=()=>{l(!1),c(!1)};return n?a!=="intent"?[s,b,{}]:[s,b,{onFocus:_s(d,D),onBlur:_s(h,M),onMouseEnter:_s(m,D),onMouseLeave:_s(v,M),onTouchStart:_s(g,D)}]:[!1,b,{}]}function _s(a,i){return n=>{a&&a(n),n.defaultPrevented||i(n)}}function Xw({page:a,...i}){let{router:n}=c8(),t=y.useMemo(()=>e8(n.routes,a,n.basename),[n.routes,a,n.basename]);return t?y.createElement(Jw,{page:a,matches:t,...i}):null}function $w(a){let{manifest:i,routeModules:n}=f8(),[t,l]=y.useState([]);return y.useEffect(()=>{let s=!1;return Bw(a,i,n).then(c=>{s||l(c)}),()=>{s=!0}},[a,i,n]),t}function Jw({page:a,matches:i,...n}){let t=Li(),{manifest:l,routeModules:s}=f8(),{basename:c}=c8(),{loaderData:d,matches:h}=Qw(),m=y.useMemo(()=>X4(a,i,h,l,t,"data"),[a,i,h,l,t]),v=y.useMemo(()=>X4(a,i,h,l,t,"assets"),[a,i,h,l,t]),g=y.useMemo(()=>{if(a===t.pathname+t.search+t.hash)return[];let M=new Set,C=!1;if(i.forEach(H=>{var Z;let O=l.routes[H.route.id];!O||!O.hasLoader||(!m.some(K=>K.route.id===H.route.id)&&H.route.id in d&&((Z=s[H.route.id])!=null&&Z.shouldRevalidate)||O.hasClientLoader?C=!0:M.add(H.route.id))}),M.size===0)return[];let N=Ww(a,c);return C&&M.size>0&&N.searchParams.set("_routes",i.filter(H=>M.has(H.route.id)).map(H=>H.route.id).join(",")),[N.pathname+N.search]},[c,d,t,l,m,i,a,s]),b=y.useMemo(()=>Iw(v,l),[v,l]),D=$w(v);return y.createElement(y.Fragment,null,g.map(M=>y.createElement("link",{key:M,rel:"prefetch",as:"fetch",href:M,...n})),b.map(M=>y.createElement("link",{key:M,rel:"modulepreload",href:M,...n})),D.map(({key:M,link:C})=>y.createElement("link",{key:M,...C})))}function eD(...a){return i=>{a.forEach(n=>{typeof n=="function"?n(i):n!=null&&(n.current=i)})}}var d8=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{d8&&(window.__reactRouterVersion="7.6.2")}catch{}function tD({basename:a,children:i,window:n}){let t=y.useRef();t.current==null&&(t.current=IE({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(Rw,{basename:a,children:i,location:s.location,navigationType:s.action,navigator:l})}var h8=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,pm=y.forwardRef(function({onClick:i,discover:n="render",prefetch:t="none",relative:l,reloadDocument:s,replace:c,state:d,target:h,to:m,preventScrollReset:v,viewTransition:g,...b},D){let{basename:M}=y.useContext(Xr),C=typeof m=="string"&&h8.test(m),N,H=!1;if(typeof m=="string"&&C&&(N=m,d8))try{let E=new URL(window.location.href),w=m.startsWith("//")?new URL(E.protocol+m):new URL(m),q=Ga(w.pathname,M);w.origin===E.origin&&q!=null?m=q+w.search+w.hash:H=!0}catch{Qr(!1,`<Link to="${m}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let O=vw(m,{relative:l}),[Z,K,X]=Kw(t,b),re=iD(m,{replace:c,state:d,target:h,preventScrollReset:v,relative:l,viewTransition:g});function V(E){i&&i(E),E.defaultPrevented||re(E)}let S=y.createElement("a",{...b,...X,href:N||O,onClick:H||s?i:V,ref:eD(D,K),target:h,"data-discover":!C&&n==="render"?"true":void 0});return Z&&!C?y.createElement(y.Fragment,null,S,y.createElement(Xw,{page:O})):S});pm.displayName="Link";var nD=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=Is(c,{relative:m.relative}),b=Li(),D=y.useContext(Zc),{navigator:M,basename:C}=y.useContext(Xr),N=D!=null&&cD(g)&&d===!0,H=M.encodeLocation?M.encodeLocation(g).pathname:g.pathname,O=b.pathname,Z=D&&D.navigation&&D.navigation.location?D.navigation.location.pathname:null;n||(O=O.toLowerCase(),Z=Z?Z.toLowerCase():null,H=H.toLowerCase()),Z&&C&&(Z=Ga(Z,C)||Z);const K=H!=="/"&&H.endsWith("/")?H.length-1:H.length;let X=O===H||!l&&O.startsWith(H)&&O.charAt(K)==="/",re=Z!=null&&(Z===H||!l&&Z.startsWith(H)&&Z.charAt(H.length)==="/"),V={isActive:X,isPending:re,isTransitioning:N},S=X?i:void 0,E;typeof t=="function"?E=t(V):E=[t,X?"active":null,re?"pending":null,N?"transitioning":null].filter(Boolean).join(" ");let w=typeof s=="function"?s(V):s;return y.createElement(pm,{...m,"aria-current":S,className:E,ref:v,style:w,to:c,viewTransition:d},typeof h=="function"?h(V):h)});nD.displayName="NavLink";var rD=y.forwardRef(({discover:a="render",fetcherKey:i,navigate:n,reloadDocument:t,replace:l,state:s,method:c=gc,action:d,onSubmit:h,relative:m,preventScrollReset:v,viewTransition:g,...b},D)=>{let M=sD(),C=uD(d,{relative:m}),N=c.toLowerCase()==="get"?"get":"post",H=typeof d=="string"&&h8.test(d),O=Z=>{if(h&&h(Z),Z.defaultPrevented)return;Z.preventDefault();let K=Z.nativeEvent.submitter,X=(K==null?void 0:K.getAttribute("formmethod"))||c;M(K||Z.currentTarget,{fetcherKey:i,method:X,navigate:n,replace:l,state:s,relative:m,preventScrollReset:v,viewTransition:g})};return y.createElement("form",{ref:D,method:N,action:C,onSubmit:t?h:O,...b,"data-discover":!H&&a==="render"?"true":void 0})});rD.displayName="Form";function aD(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function p8(a){let i=y.useContext(po);return Bt(i,aD(a)),i}function iD(a,{target:i,replace:n,state:t,preventScrollReset:l,relative:s,viewTransition:c}={}){let d=dl(),h=Li(),m=Is(a,{relative:s});return y.useCallback(v=>{if(Uw(v,i)){v.preventDefault();let g=n!==void 0?n:Hs(h)===Hs(m);d(a,{replace:g,state:t,preventScrollReset:l,relative:s,viewTransition:c})}},[h,d,m,n,t,i,a,l,s,c])}var lD=0,oD=()=>`__${String(++lD)}__`;function sD(){let{router:a}=p8("useSubmit"),{basename:i}=y.useContext(Xr),n=Mw();return y.useCallback(async(t,l={})=>{let{action:s,method:c,encType:d,formData:h,body:m}=zw(t,i);if(l.navigate===!1){let v=l.fetcherKey||oD();await a.fetch(v,n,l.action||s,{preventScrollReset:l.preventScrollReset,formData:h,body:m,formMethod:l.method||c,formEncType:l.encType||d,flushSync:l.flushSync})}else await a.navigate(l.action||s,{preventScrollReset:l.preventScrollReset,formData:h,body:m,formMethod:l.method||c,formEncType:l.encType||d,replace:l.replace,state:l.state,fromRouteId:n,flushSync:l.flushSync,viewTransition:l.viewTransition})},[a,i,n])}function uD(a,{relative:i}={}){let{basename:n}=y.useContext(Xr),t=y.useContext($r);Bt(t,"useFormAction must be used inside a RouteContext");let[l]=t.matches.slice(-1),s={...Is(a||".",{relative:i})},c=Li();if(a==null){s.search=c.search;let d=new URLSearchParams(s.search),h=d.getAll("index");if(h.some(v=>v==="")){d.delete("index"),h.filter(g=>g).forEach(g=>d.append("index",g));let v=d.toString();s.search=v?`?${v}`:""}}return(!a||a===".")&&l.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(s.pathname=s.pathname==="/"?n:Pa([n,s.pathname])),Hs(s)}function cD(a,i={}){let n=y.useContext(a8);Bt(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:t}=p8("useViewTransitionState"),l=Is(a,{relative:i.relative});if(!n.isTransitioning)return!1;let s=Ga(n.currentLocation.pathname,t)||n.currentLocation.pathname,c=Ga(n.nextLocation.pathname,t)||n.nextLocation.pathname;return Ac(l.pathname,c)!=null||Ac(l.pathname,s)!=null}[...Vw];var m8=N9();const fD=gr(m8),dD={code:"EN",name:"English",languages:{language:"Language",en:"English",nl:"Dutch"},landing:{header:{title:"ServiceDesk",subTitle:"Hello {{name}}",login:"Log in",sup:"EduID ServiceDesk is by invitation only."},works:"How does it work?",adminFunction:"Employee",studentFunction:"Student",info:[["Security","<p>EduID ServiceDesk is a secure platform designed to validate the identity of students who have applied for an identity check. This service ensures compliance with formal identification standards while providing a user-friendly process for employees and students.</p>",!0],["Compliance","<p>Built to adhere to formal identification regulations and ensure accuracy in identity verification. Reduces errors through a structured and step-by-step validation process</p>",!0],["Authentication","<p>Employees initiate the verification process using a unique code sent to the student via email. The system ensures that only students with valid application codes can proceed with the identity check.</p><br/>",!1]],footer:"<p>The eduID ServiceDesk simplifies the identity verification process, ensuring security and efficiency.</p><p>Do you want to know more? <a href='https://support.surfconext.nl/servicedesk-en'>Read more</a>.</p>"},header:{title:"ServiceDesk eduID",links:{logout:"Logout"}},serviceDesk:{member:"ServiceDesk member"},tabs:{home:"Home",verify:"Identity check"},verification:{header:"Enter the verification code",proceed:"Continue",error:"No user found for verification code {{code}}",info:"The person generated this code in eduID.",flash:"Verification code found for user {{name}}"},control:{header:"Verification code ",restart:"Start again",proceed:"Ready",error:"An unexpected error has occurred. Please contact <a href='mailto:servicedesk@surf.nl?subject=Reference {{reference}}'>SURF ServiceDesk</a>",info:"Check this person’s ID",validDocuments:"Valid documents: passports, EEA ID cards, Dutch driving licenses and Dutch residence permits",inValidDocuments:"Copies, public transport tickets and student cards are not valid documents",isValid:"Is everything correct?",validations:{photo:"The person <span>looks like the photo</span> in the document",valid:"The document is <span>still valid</span>",lastName:"The last name in the document: <span>{{lastName}}</span>",firstName:"The first names in the document: <span>{{firstName}}</span>",dayOfBirth:"The date of birth in the document: <span>{{dayOfBirth}}</span> "},invalidDate:"The day of birth has an invalid format, first select the correct date by pressing the calendar button at the right",validDate:"The day of birth is now valid and can be confirmed",idDocument:"Fill in the <span>last 6 characters</span> of the ID document"},forbidden:{info:"Unfortunately you do not have access to the ServiceDesk. If you logout, you can try again with a different account.",logout:"Logout"},confirmation:{header:"The identity of the person has been confirmed",info:"From now on, the person will see a check mark in front of the personal data in eduID",restart:"Back to home"},footer:{terms:"Terms of Use",termsLink:"https://support.surfconext.nl/terms-en",privacy:"Privacy policy",privacyLink:"https://support.surfconext.nl/privacy-en",surfLink:"https://surf.nl",select_locale:"Select your preferred language"}},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"},forbidden:{info:"Helaas heb je geen toegang tot de ServiceDesk. Als je uitlogt, dan kan je het opnieuw proberen met een andere account",logout:"Uitloggen"},confirmation:{header:"De identiteit van de persoon is bevestigd",info:"De persoon ziet vanaf nu in eduID een vinkje voor de persoonsgegevens",restart:"Terug naar home"},footer:{terms:"Gebruiksvoorwaarden",termsLink:"https://support.surfconext.nl/terms-nl",privacy:"Privacybeleid",privacyLink:"https://support.surfconext.nl/privacy-nl",surfLink:"https://surf.nl",select_locale:"Kies jouw taal"}};var p1,$4;function Jr(){if($4)return p1;$4=1;var a=Array.isArray;return p1=a,p1}var m1,J4;function v8(){if(J4)return m1;J4=1;var a=typeof nc=="object"&&nc&&nc.Object===Object&&nc;return m1=a,m1}var v1,eg;function ya(){if(eg)return v1;eg=1;var a=v8(),i=typeof self=="object"&&self&&self.Object===Object&&self,n=a||i||Function("return this")();return v1=n,v1}var g1,tg;function Fs(){if(tg)return g1;tg=1;var a=ya(),i=a.Symbol;return g1=i,g1}var y1,ng;function pD(){if(ng)return y1;ng=1;var a=Fs(),i=Object.prototype,n=i.hasOwnProperty,t=i.toString,l=a?a.toStringTag:void 0;function s(c){var d=n.call(c,l),h=c[l];try{c[l]=void 0;var m=!0}catch{}var v=t.call(c);return m&&(d?c[l]=h:delete c[l]),v}return y1=s,y1}var b1,rg;function mD(){if(rg)return b1;rg=1;var a=Object.prototype,i=a.toString;function n(t){return i.call(t)}return b1=n,b1}var _1,ag;function vo(){if(ag)return _1;ag=1;var a=Fs(),i=pD(),n=mD(),t="[object Null]",l="[object Undefined]",s=a?a.toStringTag:void 0;function c(d){return d==null?d===void 0?l:t:s&&s in Object(d)?i(d):n(d)}return _1=c,_1}var S1,ig;function hl(){if(ig)return S1;ig=1;function a(i){return i!=null&&typeof i=="object"}return S1=a,S1}var E1,lg;function Gs(){if(lg)return E1;lg=1;var a=vo(),i=hl(),n="[object Symbol]";function t(l){return typeof l=="symbol"||i(l)&&a(l)==n}return E1=t,E1}var w1,og;function mm(){if(og)return w1;og=1;var a=Jr(),i=Gs(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,t=/^\w*$/;function l(s,c){if(a(s))return!1;var d=typeof s;return d=="number"||d=="symbol"||d=="boolean"||s==null||i(s)?!0:t.test(s)||!n.test(s)||c!=null&&s in Object(c)}return w1=l,w1}var D1,sg;function Va(){if(sg)return D1;sg=1;function a(i){var n=typeof i;return i!=null&&(n=="object"||n=="function")}return D1=a,D1}var T1,ug;function vm(){if(ug)return T1;ug=1;var a=vo(),i=Va(),n="[object AsyncFunction]",t="[object Function]",l="[object GeneratorFunction]",s="[object Proxy]";function c(d){if(!i(d))return!1;var h=a(d);return h==t||h==l||h==n||h==s}return T1=c,T1}var x1,cg;function vD(){if(cg)return x1;cg=1;var a=ya(),i=a["__core-js_shared__"];return x1=i,x1}var M1,fg;function gD(){if(fg)return M1;fg=1;var a=vD(),i=function(){var t=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function n(t){return!!i&&i in t}return M1=n,M1}var O1,dg;function g8(){if(dg)return O1;dg=1;var a=Function.prototype,i=a.toString;function n(t){if(t!=null){try{return i.call(t)}catch{}try{return t+""}catch{}}return""}return O1=n,O1}var A1,hg;function yD(){if(hg)return A1;hg=1;var a=vm(),i=gD(),n=Va(),t=g8(),l=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,d=Object.prototype,h=c.toString,m=d.hasOwnProperty,v=RegExp("^"+h.call(m).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function g(b){if(!n(b)||i(b))return!1;var D=a(b)?v:s;return D.test(t(b))}return A1=g,A1}var C1,pg;function bD(){if(pg)return C1;pg=1;function a(i,n){return i==null?void 0:i[n]}return C1=a,C1}var R1,mg;function pl(){if(mg)return R1;mg=1;var a=yD(),i=bD();function n(t,l){var s=i(t,l);return a(s)?s:void 0}return R1=n,R1}var N1,vg;function Wc(){if(vg)return N1;vg=1;var a=pl(),i=a(Object,"create");return N1=i,N1}var k1,gg;function _D(){if(gg)return k1;gg=1;var a=Wc();function i(){this.__data__=a?a(null):{},this.size=0}return k1=i,k1}var L1,yg;function SD(){if(yg)return L1;yg=1;function a(i){var n=this.has(i)&&delete this.__data__[i];return this.size-=n?1:0,n}return L1=a,L1}var q1,bg;function ED(){if(bg)return q1;bg=1;var a=Wc(),i="__lodash_hash_undefined__",n=Object.prototype,t=n.hasOwnProperty;function l(s){var c=this.__data__;if(a){var d=c[s];return d===i?void 0:d}return t.call(c,s)?c[s]:void 0}return q1=l,q1}var U1,_g;function wD(){if(_g)return U1;_g=1;var a=Wc(),i=Object.prototype,n=i.hasOwnProperty;function t(l){var s=this.__data__;return a?s[l]!==void 0:n.call(s,l)}return U1=t,U1}var H1,Sg;function DD(){if(Sg)return H1;Sg=1;var a=Wc(),i="__lodash_hash_undefined__";function n(t,l){var s=this.__data__;return this.size+=this.has(t)?0:1,s[t]=a&&l===void 0?i:l,this}return H1=n,H1}var P1,Eg;function TD(){if(Eg)return P1;Eg=1;var a=_D(),i=SD(),n=ED(),t=wD(),l=DD();function s(c){var d=-1,h=c==null?0:c.length;for(this.clear();++d<h;){var m=c[d];this.set(m[0],m[1])}}return s.prototype.clear=a,s.prototype.delete=i,s.prototype.get=n,s.prototype.has=t,s.prototype.set=l,P1=s,P1}var z1,wg;function xD(){if(wg)return z1;wg=1;function a(){this.__data__=[],this.size=0}return z1=a,z1}var Y1,Dg;function Zs(){if(Dg)return Y1;Dg=1;function a(i,n){return i===n||i!==i&&n!==n}return Y1=a,Y1}var j1,Tg;function Qc(){if(Tg)return j1;Tg=1;var a=Zs();function i(n,t){for(var l=n.length;l--;)if(a(n[l][0],t))return l;return-1}return j1=i,j1}var B1,xg;function MD(){if(xg)return B1;xg=1;var a=Qc(),i=Array.prototype,n=i.splice;function t(l){var s=this.__data__,c=a(s,l);if(c<0)return!1;var d=s.length-1;return c==d?s.pop():n.call(s,c,1),--this.size,!0}return B1=t,B1}var I1,Mg;function OD(){if(Mg)return I1;Mg=1;var a=Qc();function i(n){var t=this.__data__,l=a(t,n);return l<0?void 0:t[l][1]}return I1=i,I1}var F1,Og;function AD(){if(Og)return F1;Og=1;var a=Qc();function i(n){return a(this.__data__,n)>-1}return F1=i,F1}var G1,Ag;function CD(){if(Ag)return G1;Ag=1;var a=Qc();function i(n,t){var l=this.__data__,s=a(l,n);return s<0?(++this.size,l.push([n,t])):l[s][1]=t,this}return G1=i,G1}var Z1,Cg;function Kc(){if(Cg)return Z1;Cg=1;var a=xD(),i=MD(),n=OD(),t=AD(),l=CD();function s(c){var d=-1,h=c==null?0:c.length;for(this.clear();++d<h;){var m=c[d];this.set(m[0],m[1])}}return s.prototype.clear=a,s.prototype.delete=i,s.prototype.get=n,s.prototype.has=t,s.prototype.set=l,Z1=s,Z1}var V1,Rg;function gm(){if(Rg)return V1;Rg=1;var a=pl(),i=ya(),n=a(i,"Map");return V1=n,V1}var W1,Ng;function RD(){if(Ng)return W1;Ng=1;var a=TD(),i=Kc(),n=gm();function t(){this.size=0,this.__data__={hash:new a,map:new(n||i),string:new a}}return W1=t,W1}var Q1,kg;function ND(){if(kg)return Q1;kg=1;function a(i){var n=typeof i;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?i!=="__proto__":i===null}return Q1=a,Q1}var K1,Lg;function Xc(){if(Lg)return K1;Lg=1;var a=ND();function i(n,t){var l=n.__data__;return a(t)?l[typeof t=="string"?"string":"hash"]:l.map}return K1=i,K1}var X1,qg;function kD(){if(qg)return X1;qg=1;var a=Xc();function i(n){var t=a(this,n).delete(n);return this.size-=t?1:0,t}return X1=i,X1}var $1,Ug;function LD(){if(Ug)return $1;Ug=1;var a=Xc();function i(n){return a(this,n).get(n)}return $1=i,$1}var J1,Hg;function qD(){if(Hg)return J1;Hg=1;var a=Xc();function i(n){return a(this,n).has(n)}return J1=i,J1}var e0,Pg;function UD(){if(Pg)return e0;Pg=1;var a=Xc();function i(n,t){var l=a(this,n),s=l.size;return l.set(n,t),this.size+=l.size==s?0:1,this}return e0=i,e0}var t0,zg;function ym(){if(zg)return t0;zg=1;var a=RD(),i=kD(),n=LD(),t=qD(),l=UD();function s(c){var d=-1,h=c==null?0:c.length;for(this.clear();++d<h;){var m=c[d];this.set(m[0],m[1])}}return s.prototype.clear=a,s.prototype.delete=i,s.prototype.get=n,s.prototype.has=t,s.prototype.set=l,t0=s,t0}var n0,Yg;function HD(){if(Yg)return n0;Yg=1;var a=ym(),i="Expected a function";function n(t,l){if(typeof t!="function"||l!=null&&typeof l!="function")throw new TypeError(i);var s=function(){var c=arguments,d=l?l.apply(this,c):c[0],h=s.cache;if(h.has(d))return h.get(d);var m=t.apply(this,c);return s.cache=h.set(d,m)||h,m};return s.cache=new(n.Cache||a),s}return n.Cache=a,n0=n,n0}var r0,jg;function PD(){if(jg)return r0;jg=1;var a=HD(),i=500;function n(t){var l=a(t,function(c){return s.size===i&&s.clear(),c}),s=l.cache;return l}return r0=n,r0}var a0,Bg;function zD(){if(Bg)return a0;Bg=1;var a=PD(),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,t=a(function(l){var s=[];return l.charCodeAt(0)===46&&s.push(""),l.replace(i,function(c,d,h,m){s.push(h?m.replace(n,"$1"):d||c)}),s});return a0=t,a0}var i0,Ig;function y8(){if(Ig)return i0;Ig=1;function a(i,n){for(var t=-1,l=i==null?0:i.length,s=Array(l);++t<l;)s[t]=n(i[t],t,i);return s}return i0=a,i0}var l0,Fg;function YD(){if(Fg)return l0;Fg=1;var a=Fs(),i=y8(),n=Jr(),t=Gs(),l=a?a.prototype:void 0,s=l?l.toString:void 0;function c(d){if(typeof d=="string")return d;if(n(d))return i(d,c)+"";if(t(d))return s?s.call(d):"";var h=d+"";return h=="0"&&1/d==-1/0?"-0":h}return l0=c,l0}var o0,Gg;function go(){if(Gg)return o0;Gg=1;var a=YD();function i(n){return n==null?"":a(n)}return o0=i,o0}var s0,Zg;function b8(){if(Zg)return s0;Zg=1;var a=Jr(),i=mm(),n=zD(),t=go();function l(s,c){return a(s)?s:i(s,c)?[s]:n(t(s))}return s0=l,s0}var u0,Vg;function $c(){if(Vg)return u0;Vg=1;var a=Gs();function i(n){if(typeof n=="string"||a(n))return n;var t=n+"";return t=="0"&&1/n==-1/0?"-0":t}return u0=i,u0}var c0,Wg;function bm(){if(Wg)return c0;Wg=1;var a=b8(),i=$c();function n(t,l){l=a(l,t);for(var s=0,c=l.length;t!=null&&s<c;)t=t[i(l[s++])];return s&&s==c?t:void 0}return c0=n,c0}var f0,Qg;function _8(){if(Qg)return f0;Qg=1;var a=bm();function i(n,t,l){var s=n==null?void 0:a(n,t);return s===void 0?l:s}return f0=i,f0}var jD=_8();const BD=gr(jD);var d0,Kg;function ID(){if(Kg)return d0;Kg=1;var a=Object.prototype,i=a.hasOwnProperty;function n(t,l){return t!=null&&i.call(t,l)}return d0=n,d0}var h0,Xg;function FD(){if(Xg)return h0;Xg=1;var a=vo(),i=hl(),n="[object Arguments]";function t(l){return i(l)&&a(l)==n}return h0=t,h0}var p0,$g;function Jc(){if($g)return p0;$g=1;var a=FD(),i=hl(),n=Object.prototype,t=n.hasOwnProperty,l=n.propertyIsEnumerable,s=a(function(){return arguments}())?a:function(c){return i(c)&&t.call(c,"callee")&&!l.call(c,"callee")};return p0=s,p0}var m0,Jg;function _m(){if(Jg)return m0;Jg=1;var a=9007199254740991,i=/^(?:0|[1-9]\d*)$/;function n(t,l){var s=typeof t;return l=l??a,!!l&&(s=="number"||s!="symbol"&&i.test(t))&&t>-1&&t%1==0&&t<l}return m0=n,m0}var v0,e5;function Sm(){if(e5)return v0;e5=1;var a=9007199254740991;function i(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=a}return v0=i,v0}var g0,t5;function S8(){if(t5)return g0;t5=1;var a=b8(),i=Jc(),n=Jr(),t=_m(),l=Sm(),s=$c();function c(d,h,m){h=a(h,d);for(var v=-1,g=h.length,b=!1;++v<g;){var D=s(h[v]);if(!(b=d!=null&&m(d,D)))break;d=d[D]}return b||++v!=g?b:(g=d==null?0:d.length,!!g&&l(g)&&t(D,g)&&(n(d)||i(d)))}return g0=c,g0}var y0,n5;function GD(){if(n5)return y0;n5=1;var a=ID(),i=S8();function n(t,l){return t!=null&&i(t,l,a)}return y0=n,y0}var ZD=GD();const VD=gr(ZD);var b0,r5;function WD(){if(r5)return b0;r5=1;var a=Kc();function i(){this.__data__=new a,this.size=0}return b0=i,b0}var _0,a5;function QD(){if(a5)return _0;a5=1;function a(i){var n=this.__data__,t=n.delete(i);return this.size=n.size,t}return _0=a,_0}var S0,i5;function KD(){if(i5)return S0;i5=1;function a(i){return this.__data__.get(i)}return S0=a,S0}var E0,l5;function XD(){if(l5)return E0;l5=1;function a(i){return this.__data__.has(i)}return E0=a,E0}var w0,o5;function $D(){if(o5)return w0;o5=1;var a=Kc(),i=gm(),n=ym(),t=200;function l(s,c){var d=this.__data__;if(d instanceof a){var h=d.__data__;if(!i||h.length<t-1)return h.push([s,c]),this.size=++d.size,this;d=this.__data__=new n(h)}return d.set(s,c),this.size=d.size,this}return w0=l,w0}var D0,s5;function Em(){if(s5)return D0;s5=1;var a=Kc(),i=WD(),n=QD(),t=KD(),l=XD(),s=$D();function c(d){var h=this.__data__=new a(d);this.size=h.size}return c.prototype.clear=i,c.prototype.delete=n,c.prototype.get=t,c.prototype.has=l,c.prototype.set=s,D0=c,D0}var T0,u5;function E8(){if(u5)return T0;u5=1;var a=pl(),i=function(){try{var n=a(Object,"defineProperty");return n({},"",{}),n}catch{}}();return T0=i,T0}var x0,c5;function wm(){if(c5)return x0;c5=1;var a=E8();function i(n,t,l){t=="__proto__"&&a?a(n,t,{configurable:!0,enumerable:!0,value:l,writable:!0}):n[t]=l}return x0=i,x0}var M0,f5;function w8(){if(f5)return M0;f5=1;var a=wm(),i=Zs();function n(t,l,s){(s!==void 0&&!i(t[l],s)||s===void 0&&!(l in t))&&a(t,l,s)}return M0=n,M0}var O0,d5;function JD(){if(d5)return O0;d5=1;function a(i){return function(n,t,l){for(var s=-1,c=Object(n),d=l(n),h=d.length;h--;){var m=d[i?h:++s];if(t(c[m],m,c)===!1)break}return n}}return O0=a,O0}var A0,h5;function D8(){if(h5)return A0;h5=1;var a=JD(),i=a();return A0=i,A0}var Rs={exports:{}};Rs.exports;var p5;function eT(){return p5||(p5=1,function(a,i){var n=ya(),t=i&&!i.nodeType&&i,l=t&&!0&&a&&!a.nodeType&&a,s=l&&l.exports===t,c=s?n.Buffer:void 0,d=c?c.allocUnsafe:void 0;function h(m,v){if(v)return m.slice();var g=m.length,b=d?d(g):new m.constructor(g);return m.copy(b),b}a.exports=h}(Rs,Rs.exports)),Rs.exports}var C0,m5;function T8(){if(m5)return C0;m5=1;var a=ya(),i=a.Uint8Array;return C0=i,C0}var R0,v5;function tT(){if(v5)return R0;v5=1;var a=T8();function i(n){var t=new n.constructor(n.byteLength);return new a(t).set(new a(n)),t}return R0=i,R0}var N0,g5;function nT(){if(g5)return N0;g5=1;var a=tT();function i(n,t){var l=t?a(n.buffer):n.buffer;return new n.constructor(l,n.byteOffset,n.length)}return N0=i,N0}var k0,y5;function rT(){if(y5)return k0;y5=1;function a(i,n){var t=-1,l=i.length;for(n||(n=Array(l));++t<l;)n[t]=i[t];return n}return k0=a,k0}var L0,b5;function aT(){if(b5)return L0;b5=1;var a=Va(),i=Object.create,n=function(){function t(){}return function(l){if(!a(l))return{};if(i)return i(l);t.prototype=l;var s=new t;return t.prototype=void 0,s}}();return L0=n,L0}var q0,_5;function x8(){if(_5)return q0;_5=1;function a(i,n){return function(t){return i(n(t))}}return q0=a,q0}var U0,S5;function M8(){if(S5)return U0;S5=1;var a=x8(),i=a(Object.getPrototypeOf,Object);return U0=i,U0}var H0,E5;function Dm(){if(E5)return H0;E5=1;var a=Object.prototype;function i(n){var t=n&&n.constructor,l=typeof t=="function"&&t.prototype||a;return n===l}return H0=i,H0}var P0,w5;function iT(){if(w5)return P0;w5=1;var a=aT(),i=M8(),n=Dm();function t(l){return typeof l.constructor=="function"&&!n(l)?a(i(l)):{}}return P0=t,P0}var z0,D5;function yo(){if(D5)return z0;D5=1;var a=vm(),i=Sm();function n(t){return t!=null&&i(t.length)&&!a(t)}return z0=n,z0}var Y0,T5;function lT(){if(T5)return Y0;T5=1;var a=yo(),i=hl();function n(t){return i(t)&&a(t)}return Y0=n,Y0}var Ns={exports:{}},j0,x5;function oT(){if(x5)return j0;x5=1;function a(){return!1}return j0=a,j0}Ns.exports;var M5;function Tm(){return M5||(M5=1,function(a,i){var n=ya(),t=oT(),l=i&&!i.nodeType&&i,s=l&&!0&&a&&!a.nodeType&&a,c=s&&s.exports===l,d=c?n.Buffer:void 0,h=d?d.isBuffer:void 0,m=h||t;a.exports=m}(Ns,Ns.exports)),Ns.exports}var B0,O5;function sT(){if(O5)return B0;O5=1;var a=vo(),i=M8(),n=hl(),t="[object Object]",l=Function.prototype,s=Object.prototype,c=l.toString,d=s.hasOwnProperty,h=c.call(Object);function m(v){if(!n(v)||a(v)!=t)return!1;var g=i(v);if(g===null)return!0;var b=d.call(g,"constructor")&&g.constructor;return typeof b=="function"&&b instanceof b&&c.call(b)==h}return B0=m,B0}var I0,A5;function uT(){if(A5)return I0;A5=1;var a=vo(),i=Sm(),n=hl(),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]",b="[object RegExp]",D="[object Set]",M="[object String]",C="[object WeakMap]",N="[object ArrayBuffer]",H="[object DataView]",O="[object Float32Array]",Z="[object Float64Array]",K="[object Int8Array]",X="[object Int16Array]",re="[object Int32Array]",V="[object Uint8Array]",S="[object Uint8ClampedArray]",E="[object Uint16Array]",w="[object Uint32Array]",q={};q[O]=q[Z]=q[K]=q[X]=q[re]=q[V]=q[S]=q[E]=q[w]=!0,q[t]=q[l]=q[N]=q[s]=q[H]=q[c]=q[d]=q[h]=q[m]=q[v]=q[g]=q[b]=q[D]=q[M]=q[C]=!1;function L(z){return n(z)&&i(z.length)&&!!q[a(z)]}return I0=L,I0}var F0,C5;function O8(){if(C5)return F0;C5=1;function a(i){return function(n){return i(n)}}return F0=a,F0}var ks={exports:{}};ks.exports;var R5;function cT(){return R5||(R5=1,function(a,i){var n=v8(),t=i&&!i.nodeType&&i,l=t&&!0&&a&&!a.nodeType&&a,s=l&&l.exports===t,c=s&&n.process,d=function(){try{var h=l&&l.require&&l.require("util").types;return h||c&&c.binding&&c.binding("util")}catch{}}();a.exports=d}(ks,ks.exports)),ks.exports}var G0,N5;function xm(){if(N5)return G0;N5=1;var a=uT(),i=O8(),n=cT(),t=n&&n.isTypedArray,l=t?i(t):a;return G0=l,G0}var Z0,k5;function A8(){if(k5)return Z0;k5=1;function a(i,n){if(!(n==="constructor"&&typeof i[n]=="function")&&n!="__proto__")return i[n]}return Z0=a,Z0}var V0,L5;function C8(){if(L5)return V0;L5=1;var a=wm(),i=Zs(),n=Object.prototype,t=n.hasOwnProperty;function l(s,c,d){var h=s[c];(!(t.call(s,c)&&i(h,d))||d===void 0&&!(c in s))&&a(s,c,d)}return V0=l,V0}var W0,q5;function fT(){if(q5)return W0;q5=1;var a=C8(),i=wm();function n(t,l,s,c){var d=!s;s||(s={});for(var h=-1,m=l.length;++h<m;){var v=l[h],g=c?c(s[v],t[v],v,s,t):void 0;g===void 0&&(g=t[v]),d?i(s,v,g):a(s,v,g)}return s}return W0=n,W0}var Q0,U5;function dT(){if(U5)return Q0;U5=1;function a(i,n){for(var t=-1,l=Array(i);++t<i;)l[t]=n(t);return l}return Q0=a,Q0}var K0,H5;function R8(){if(H5)return K0;H5=1;var a=dT(),i=Jc(),n=Jr(),t=Tm(),l=_m(),s=xm(),c=Object.prototype,d=c.hasOwnProperty;function h(m,v){var g=n(m),b=!g&&i(m),D=!g&&!b&&t(m),M=!g&&!b&&!D&&s(m),C=g||b||D||M,N=C?a(m.length,String):[],H=N.length;for(var O in m)(v||d.call(m,O))&&!(C&&(O=="length"||D&&(O=="offset"||O=="parent")||M&&(O=="buffer"||O=="byteLength"||O=="byteOffset")||l(O,H)))&&N.push(O);return N}return K0=h,K0}var X0,P5;function hT(){if(P5)return X0;P5=1;function a(i){var n=[];if(i!=null)for(var t in Object(i))n.push(t);return n}return X0=a,X0}var $0,z5;function pT(){if(z5)return $0;z5=1;var a=Va(),i=Dm(),n=hT(),t=Object.prototype,l=t.hasOwnProperty;function s(c){if(!a(c))return n(c);var d=i(c),h=[];for(var m in c)m=="constructor"&&(d||!l.call(c,m))||h.push(m);return h}return $0=s,$0}var J0,Y5;function N8(){if(Y5)return J0;Y5=1;var a=R8(),i=pT(),n=yo();function t(l){return n(l)?a(l,!0):i(l)}return J0=t,J0}var eh,j5;function mT(){if(j5)return eh;j5=1;var a=fT(),i=N8();function n(t){return a(t,i(t))}return eh=n,eh}var th,B5;function vT(){if(B5)return th;B5=1;var a=w8(),i=eT(),n=nT(),t=rT(),l=iT(),s=Jc(),c=Jr(),d=lT(),h=Tm(),m=vm(),v=Va(),g=sT(),b=xm(),D=A8(),M=mT();function C(N,H,O,Z,K,X,re){var V=D(N,O),S=D(H,O),E=re.get(S);if(E){a(N,O,E);return}var w=X?X(V,S,O+"",N,H,re):void 0,q=w===void 0;if(q){var L=c(S),z=!L&&h(S),j=!L&&!z&&b(S);w=S,L||z||j?c(V)?w=V:d(V)?w=t(V):z?(q=!1,w=i(S,!0)):j?(q=!1,w=n(S,!0)):w=[]:g(S)||s(S)?(w=V,s(V)?w=M(V):(!v(V)||m(V))&&(w=l(S))):q=!1}q&&(re.set(S,w),K(w,S,Z,X,re),re.delete(S)),a(N,O,w)}return th=C,th}var nh,I5;function gT(){if(I5)return nh;I5=1;var a=Em(),i=w8(),n=D8(),t=vT(),l=Va(),s=N8(),c=A8();function d(h,m,v,g,b){h!==m&&n(m,function(D,M){if(b||(b=new a),l(D))t(h,m,M,v,d,g,b);else{var C=g?g(c(h,M),D,M+"",h,m,b):void 0;C===void 0&&(C=D),i(h,M,C)}},s)}return nh=d,nh}var rh,F5;function ef(){if(F5)return rh;F5=1;function a(i){return i}return rh=a,rh}var ah,G5;function yT(){if(G5)return ah;G5=1;function a(i,n,t){switch(t.length){case 0:return i.call(n);case 1:return i.call(n,t[0]);case 2:return i.call(n,t[0],t[1]);case 3:return i.call(n,t[0],t[1],t[2])}return i.apply(n,t)}return ah=a,ah}var ih,Z5;function bT(){if(Z5)return ih;Z5=1;var a=yT(),i=Math.max;function n(t,l,s){return l=i(l===void 0?t.length-1:l,0),function(){for(var c=arguments,d=-1,h=i(c.length-l,0),m=Array(h);++d<h;)m[d]=c[l+d];d=-1;for(var v=Array(l+1);++d<l;)v[d]=c[d];return v[l]=s(m),a(t,this,v)}}return ih=n,ih}var lh,V5;function _T(){if(V5)return lh;V5=1;function a(i){return function(){return i}}return lh=a,lh}var oh,W5;function ST(){if(W5)return oh;W5=1;var a=_T(),i=E8(),n=ef(),t=i?function(l,s){return i(l,"toString",{configurable:!0,enumerable:!1,value:a(s),writable:!0})}:n;return oh=t,oh}var sh,Q5;function ET(){if(Q5)return sh;Q5=1;var a=800,i=16,n=Date.now;function t(l){var s=0,c=0;return function(){var d=n(),h=i-(d-c);if(c=d,h>0){if(++s>=a)return arguments[0]}else s=0;return l.apply(void 0,arguments)}}return sh=t,sh}var uh,K5;function wT(){if(K5)return uh;K5=1;var a=ST(),i=ET(),n=i(a);return uh=n,uh}var ch,X5;function k8(){if(X5)return ch;X5=1;var a=ef(),i=bT(),n=wT();function t(l,s){return n(i(l,s,a),l+"")}return ch=t,ch}var fh,$5;function tf(){if($5)return fh;$5=1;var a=Zs(),i=yo(),n=_m(),t=Va();function l(s,c,d){if(!t(d))return!1;var h=typeof c;return(h=="number"?i(d)&&n(c,d.length):h=="string"&&c in d)?a(d[c],s):!1}return fh=l,fh}var dh,J5;function DT(){if(J5)return dh;J5=1;var a=k8(),i=tf();function n(t){return a(function(l,s){var c=-1,d=s.length,h=d>1?s[d-1]:void 0,m=d>2?s[2]:void 0;for(h=t.length>3&&typeof h=="function"?(d--,h):void 0,m&&i(s[0],s[1],m)&&(h=d<3?void 0:h,d=1),l=Object(l);++c<d;){var v=s[c];v&&t(l,v,c,h)}return l})}return dh=n,dh}var hh,ey;function TT(){if(ey)return hh;ey=1;var a=gT(),i=DT(),n=i(function(t,l,s){a(t,l,s)});return hh=n,hh}var xT=TT();const MT=gr(xT);var ph,ty;function OT(){if(ty)return ph;ty=1;var a="__lodash_hash_undefined__";function i(n){return this.__data__.set(n,a),this}return ph=i,ph}var mh,ny;function AT(){if(ny)return mh;ny=1;function a(i){return this.__data__.has(i)}return mh=a,mh}var vh,ry;function L8(){if(ry)return vh;ry=1;var a=ym(),i=OT(),n=AT();function t(l){var s=-1,c=l==null?0:l.length;for(this.__data__=new a;++s<c;)this.add(l[s])}return t.prototype.add=t.prototype.push=i,t.prototype.has=n,vh=t,vh}var gh,ay;function CT(){if(ay)return gh;ay=1;function a(i,n,t,l){for(var s=i.length,c=t+(l?1:-1);l?c--:++c<s;)if(n(i[c],c,i))return c;return-1}return gh=a,gh}var yh,iy;function RT(){if(iy)return yh;iy=1;function a(i){return i!==i}return yh=a,yh}var bh,ly;function NT(){if(ly)return bh;ly=1;function a(i,n,t){for(var l=t-1,s=i.length;++l<s;)if(i[l]===n)return l;return-1}return bh=a,bh}var _h,oy;function kT(){if(oy)return _h;oy=1;var a=CT(),i=RT(),n=NT();function t(l,s,c){return s===s?n(l,s,c):a(l,i,c)}return _h=t,_h}var Sh,sy;function LT(){if(sy)return Sh;sy=1;var a=kT();function i(n,t){var l=n==null?0:n.length;return!!l&&a(n,t,0)>-1}return Sh=i,Sh}var Eh,uy;function qT(){if(uy)return Eh;uy=1;function a(i,n,t){for(var l=-1,s=i==null?0:i.length;++l<s;)if(t(n,i[l]))return!0;return!1}return Eh=a,Eh}var wh,cy;function q8(){if(cy)return wh;cy=1;function a(i,n){return i.has(n)}return wh=a,wh}var Dh,fy;function U8(){if(fy)return Dh;fy=1;var a=pl(),i=ya(),n=a(i,"Set");return Dh=n,Dh}var Th,dy;function UT(){if(dy)return Th;dy=1;function a(){}return Th=a,Th}var xh,hy;function Mm(){if(hy)return xh;hy=1;function a(i){var n=-1,t=Array(i.size);return i.forEach(function(l){t[++n]=l}),t}return xh=a,xh}var Mh,py;function HT(){if(py)return Mh;py=1;var a=U8(),i=UT(),n=Mm(),t=1/0,l=a&&1/n(new a([,-0]))[1]==t?function(s){return new a(s)}:i;return Mh=l,Mh}var Oh,my;function PT(){if(my)return Oh;my=1;var a=L8(),i=LT(),n=qT(),t=q8(),l=HT(),s=Mm(),c=200;function d(h,m,v){var g=-1,b=i,D=h.length,M=!0,C=[],N=C;if(v)M=!1,b=n;else if(D>=c){var H=m?null:l(h);if(H)return s(H);M=!1,b=t,N=new a}else N=m?[]:C;e:for(;++g<D;){var O=h[g],Z=m?m(O):O;if(O=v||O!==0?O:0,M&&Z===Z){for(var K=N.length;K--;)if(N[K]===Z)continue e;m&&N.push(Z),C.push(O)}else b(N,Z,v)||(N!==C&&N.push(Z),C.push(O))}return C}return Oh=d,Oh}var Ah,vy;function zT(){if(vy)return Ah;vy=1;var a=PT();function i(n){return n&&n.length?a(n):[]}return Ah=i,Ah}var YT=zT();const jT=gr(YT),BT=(a,i)=>{const n=[],t=[];return n.push(i),i||n.push(a.locale),a.enableFallback&&n.push(a.defaultLocale),n.filter(Boolean).map(l=>l.toString()).forEach(function(l){if(t.includes(l)||t.push(l),!a.enableFallback)return;const s=l.split("-");s.length===3&&t.push(`${s[0]}-${s[1]}`),t.push(s[0])}),jT(t)};class IT{constructor(i){this.i18n=i,this.registry={},this.register("default",BT)}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 FT=(a,i)=>{const n=String(a).split("."),t=!n[1],l=Number(n[0])==a,s=l&&n[0].slice(-1),c=l&&n[0].slice(-2);return i?s==1&&c!=11?"one":s==2&&c!=12?"two":s==3&&c!=13?"few":"other":a==1&&t?"one":"other"};function GT({pluralizer:a,includeZero:i=!0,ordinal:n=!1}){return function(t,l){return[i&&l===0?"zero":"",a(l,n)].filter(Boolean)}}const ZT=GT({pluralizer:FT,includeZero:!0});class VT{constructor(i){this.i18n=i,this.registry={},this.register("default",ZT)}register(i,n){this.registry[i]=n}get(i){return this.registry[i]||this.registry[this.i18n.locale]||this.registry.default}}var Ch,gy;function WT(){if(gy)return Ch;gy=1;function a(i,n,t){var l=-1,s=i.length;n<0&&(n=-n>s?0:s+n),t=t>s?s:t,t<0&&(t+=s),s=n>t?0:t-n>>>0,n>>>=0;for(var c=Array(s);++l<s;)c[l]=i[l+n];return c}return Ch=a,Ch}var Rh,yy;function QT(){if(yy)return Rh;yy=1;var a=WT();function i(n,t,l){var s=n.length;return l=l===void 0?s:l,!t&&l>=s?n:a(n,t,l)}return Rh=i,Rh}var Nh,by;function H8(){if(by)return Nh;by=1;var a="\\ud800-\\udfff",i="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",t="\\u20d0-\\u20ff",l=i+n+t,s="\\ufe0e\\ufe0f",c="\\u200d",d=RegExp("["+c+a+l+s+"]");function h(m){return d.test(m)}return Nh=h,Nh}var kh,_y;function KT(){if(_y)return kh;_y=1;function a(i){return i.split("")}return kh=a,kh}var Lh,Sy;function XT(){if(Sy)return Lh;Sy=1;var a="\\ud800-\\udfff",i="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",t="\\u20d0-\\u20ff",l=i+n+t,s="\\ufe0e\\ufe0f",c="["+a+"]",d="["+l+"]",h="\\ud83c[\\udffb-\\udfff]",m="(?:"+d+"|"+h+")",v="[^"+a+"]",g="(?:\\ud83c[\\udde6-\\uddff]){2}",b="[\\ud800-\\udbff][\\udc00-\\udfff]",D="\\u200d",M=m+"?",C="["+s+"]?",N="(?:"+D+"(?:"+[v,g,b].join("|")+")"+C+M+")*",H=C+M+N,O="(?:"+[v+d+"?",d,g,b,c].join("|")+")",Z=RegExp(h+"(?="+h+")|"+O+H,"g");function K(X){return X.match(Z)||[]}return Lh=K,Lh}var qh,Ey;function $T(){if(Ey)return qh;Ey=1;var a=KT(),i=H8(),n=XT();function t(l){return i(l)?n(l):a(l)}return qh=t,qh}var Uh,wy;function JT(){if(wy)return Uh;wy=1;var a=QT(),i=H8(),n=$T(),t=go();function l(s){return function(c){c=t(c);var d=i(c)?n(c):void 0,h=d?d[0]:c.charAt(0),m=d?a(d,1).join(""):c.slice(1);return h[s]()+m}}return Uh=l,Uh}var Hh,Dy;function ex(){if(Dy)return Hh;Dy=1;var a=JT(),i=a("toUpperCase");return Hh=i,Hh}var Ph,Ty;function tx(){if(Ty)return Ph;Ty=1;var a=go(),i=ex();function n(t){return i(a(t).toLowerCase())}return Ph=n,Ph}var zh,xy;function nx(){if(xy)return zh;xy=1;function a(i,n,t,l){var s=-1,c=i==null?0:i.length;for(l&&c&&(t=i[++s]);++s<c;)t=n(t,i[s],s,i);return t}return zh=a,zh}var Yh,My;function rx(){if(My)return Yh;My=1;function a(i){return function(n){return i==null?void 0:i[n]}}return Yh=a,Yh}var jh,Oy;function ax(){if(Oy)return jh;Oy=1;var a=rx(),i={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",Ĳ:"IJ",ĳ:"ij",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"},n=a(i);return jh=n,jh}var Bh,Ay;function ix(){if(Ay)return Bh;Ay=1;var a=ax(),i=go(),n=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,t="\\u0300-\\u036f",l="\\ufe20-\\ufe2f",s="\\u20d0-\\u20ff",c=t+l+s,d="["+c+"]",h=RegExp(d,"g");function m(v){return v=i(v),v&&v.replace(n,a).replace(h,"")}return Bh=m,Bh}var Ih,Cy;function lx(){if(Cy)return Ih;Cy=1;var a=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function i(n){return n.match(a)||[]}return Ih=i,Ih}var Fh,Ry;function ox(){if(Ry)return Fh;Ry=1;var a=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function i(n){return a.test(n)}return Fh=i,Fh}var Gh,Ny;function sx(){if(Ny)return Gh;Ny=1;var a="\\ud800-\\udfff",i="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",t="\\u20d0-\\u20ff",l=i+n+t,s="\\u2700-\\u27bf",c="a-z\\xdf-\\xf6\\xf8-\\xff",d="\\xac\\xb1\\xd7\\xf7",h="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",m="\\u2000-\\u206f",v=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",g="A-Z\\xc0-\\xd6\\xd8-\\xde",b="\\ufe0e\\ufe0f",D=d+h+m+v,M="['’]",C="["+D+"]",N="["+l+"]",H="\\d+",O="["+s+"]",Z="["+c+"]",K="[^"+a+D+H+s+c+g+"]",X="\\ud83c[\\udffb-\\udfff]",re="(?:"+N+"|"+X+")",V="[^"+a+"]",S="(?:\\ud83c[\\udde6-\\uddff]){2}",E="[\\ud800-\\udbff][\\udc00-\\udfff]",w="["+g+"]",q="\\u200d",L="(?:"+Z+"|"+K+")",z="(?:"+w+"|"+K+")",j="(?:"+M+"(?:d|ll|m|re|s|t|ve))?",U="(?:"+M+"(?:D|LL|M|RE|S|T|VE))?",T=re+"?",R="["+b+"]?",k="(?:"+q+"(?:"+[V,S,E].join("|")+")"+R+T+")*",$="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",A="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Y=R+T+k,oe="(?:"+[O,S,E].join("|")+")"+Y,ae=RegExp([w+"?"+Z+"+"+j+"(?="+[C,w,"$"].join("|")+")",z+"+"+U+"(?="+[C,w+L,"$"].join("|")+")",w+"?"+L+"+"+j,w+"+"+U,A,$,H,oe].join("|"),"g");function pe(ce){return ce.match(ae)||[]}return Gh=pe,Gh}var Zh,ky;function ux(){if(ky)return Zh;ky=1;var a=lx(),i=ox(),n=go(),t=sx();function l(s,c,d){return s=n(s),c=d?void 0:c,c===void 0?i(s)?t(s):a(s):s.match(c)||[]}return Zh=l,Zh}var Vh,Ly;function cx(){if(Ly)return Vh;Ly=1;var a=nx(),i=ix(),n=ux(),t="['’]",l=RegExp(t,"g");function s(c){return function(d){return a(n(i(d).replace(l,"")),c,"")}}return Vh=s,Vh}var Wh,qy;function fx(){if(qy)return Wh;qy=1;var a=tx(),i=cx(),n=i(function(t,l,s){return l=l.toLowerCase(),t+(s?a(l):l)});return Wh=n,Wh}var dx=fx();const hx=gr(dx);function Gr(a){return a?Object.keys(a).reduce((i,n)=>(i[hx(n)]=a[n],i),{}):{}}function za(a){return a!=null}function px(a,i,n){let t=[{scope:i}];if(za(n.defaults)&&(t=t.concat(n.defaults)),za(n.defaultValue)){const l=typeof n.defaultValue=="function"?n.defaultValue(a,i,n):n.defaultValue;t.push({message:l}),delete n.defaultValue}return t}var mx=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,Qh=Math.ceil,Nr=Math.floor,tr="[BigNumber Error] ",Uy=tr+"Number primitive has more than 15 significant digits: ",Zr=1e14,He=14,Hy=9007199254740991,Kh=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],Si=1e7,hr=1e9;function P8(a){var i,n,t,l=O.prototype={constructor:O,toString:null,valueOf:null},s=new O(1),c=20,d=4,h=-7,m=21,v=-1e7,g=1e7,b=!1,D=1,M=0,C={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},N="0123456789abcdefghijklmnopqrstuvwxyz",H=!0;function O(S,E){var w,q,L,z,j,U,T,R,k=this;if(!(k instanceof O))return new O(S,E);if(E==null){if(S&&S._isBigNumber===!0){k.s=S.s,!S.c||S.e>g?k.c=k.e=null:S.e<v?k.c=[k.e=0]:(k.e=S.e,k.c=S.c.slice());return}if((U=typeof S=="number")&&S*0==0){if(k.s=1/S<0?(S=-S,-1):1,S===~~S){for(z=0,j=S;j>=10;j/=10,z++);z>g?k.c=k.e=null:(k.e=z,k.c=[S]);return}R=String(S)}else{if(!mx.test(R=String(S)))return t(k,R,U);k.s=R.charCodeAt(0)==45?(R=R.slice(1),-1):1}(z=R.indexOf("."))>-1&&(R=R.replace(".","")),(j=R.search(/e/i))>0?(z<0&&(z=j),z+=+R.slice(j+1),R=R.substring(0,j)):z<0&&(z=R.length)}else{if(Vt(E,2,N.length,"Base"),E==10&&H)return k=new O(S),re(k,c+k.e+1,d);if(R=String(S),U=typeof S=="number"){if(S*0!=0)return t(k,R,U,E);if(k.s=1/S<0?(R=R.slice(1),-1):1,O.DEBUG&&R.replace(/^0\.0*|\./,"").length>15)throw Error(Uy+S)}else k.s=R.charCodeAt(0)===45?(R=R.slice(1),-1):1;for(w=N.slice(0,E),z=j=0,T=R.length;j<T;j++)if(w.indexOf(q=R.charAt(j))<0){if(q=="."){if(j>z){z=T;continue}}else if(!L&&(R==R.toUpperCase()&&(R=R.toLowerCase())||R==R.toLowerCase()&&(R=R.toUpperCase()))){L=!0,j=-1,z=0;continue}return t(k,String(S),U,E)}U=!1,R=n(R,E,10,k.s),(z=R.indexOf("."))>-1?R=R.replace(".",""):z=R.length}for(j=0;R.charCodeAt(j)===48;j++);for(T=R.length;R.charCodeAt(--T)===48;);if(R=R.slice(j,++T)){if(T-=j,U&&O.DEBUG&&T>15&&(S>Hy||S!==Nr(S)))throw Error(Uy+k.s*S);if((z=z-j-1)>g)k.c=k.e=null;else if(z<v)k.c=[k.e=0];else{if(k.e=z,k.c=[],j=(z+1)%He,z<0&&(j+=He),j<T){for(j&&k.c.push(+R.slice(0,j)),T-=He;j<T;)k.c.push(+R.slice(j,j+=He));j=He-(R=R.slice(j)).length}else j-=T;for(;j--;R+="0");k.c.push(+R)}}else k.c=[k.e=0]}O.clone=P8,O.ROUND_UP=0,O.ROUND_DOWN=1,O.ROUND_CEIL=2,O.ROUND_FLOOR=3,O.ROUND_HALF_UP=4,O.ROUND_HALF_DOWN=5,O.ROUND_HALF_EVEN=6,O.ROUND_HALF_CEIL=7,O.ROUND_HALF_FLOOR=8,O.EUCLID=9,O.config=O.set=function(S){var E,w;if(S!=null)if(typeof S=="object"){if(S.hasOwnProperty(E="DECIMAL_PLACES")&&(w=S[E],Vt(w,0,hr,E),c=w),S.hasOwnProperty(E="ROUNDING_MODE")&&(w=S[E],Vt(w,0,8,E),d=w),S.hasOwnProperty(E="EXPONENTIAL_AT")&&(w=S[E],w&&w.pop?(Vt(w[0],-1e9,0,E),Vt(w[1],0,hr,E),h=w[0],m=w[1]):(Vt(w,-1e9,hr,E),h=-(m=w<0?-w:w))),S.hasOwnProperty(E="RANGE"))if(w=S[E],w&&w.pop)Vt(w[0],-1e9,-1,E),Vt(w[1],1,hr,E),v=w[0],g=w[1];else if(Vt(w,-1e9,hr,E),w)v=-(g=w<0?-w:w);else throw Error(tr+E+" cannot be zero: "+w);if(S.hasOwnProperty(E="CRYPTO"))if(w=S[E],w===!!w)if(w)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))b=w;else throw b=!w,Error(tr+"crypto unavailable");else b=w;else throw Error(tr+E+" not true or false: "+w);if(S.hasOwnProperty(E="MODULO_MODE")&&(w=S[E],Vt(w,0,9,E),D=w),S.hasOwnProperty(E="POW_PRECISION")&&(w=S[E],Vt(w,0,hr,E),M=w),S.hasOwnProperty(E="FORMAT"))if(w=S[E],typeof w=="object")C=w;else throw Error(tr+E+" not an object: "+w);if(S.hasOwnProperty(E="ALPHABET"))if(w=S[E],typeof w=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(w))H=w.slice(0,10)=="0123456789",N=w;else throw Error(tr+E+" invalid: "+w)}else throw Error(tr+"Object expected: "+S);return{DECIMAL_PLACES:c,ROUNDING_MODE:d,EXPONENTIAL_AT:[h,m],RANGE:[v,g],CRYPTO:b,MODULO_MODE:D,POW_PRECISION:M,FORMAT:C,ALPHABET:N}},O.isBigNumber=function(S){if(!S||S._isBigNumber!==!0)return!1;if(!O.DEBUG)return!0;var E,w,q=S.c,L=S.e,z=S.s;e:if({}.toString.call(q)=="[object Array]"){if((z===1||z===-1)&&L>=-1e9&&L<=hr&&L===Nr(L)){if(q[0]===0){if(L===0&&q.length===1)return!0;break e}if(E=(L+1)%He,E<1&&(E+=He),String(q[0]).length==E){for(E=0;E<q.length;E++)if(w=q[E],w<0||w>=Zr||w!==Nr(w))break e;if(w!==0)return!0}}}else if(q===null&&L===null&&(z===null||z===1||z===-1))return!0;throw Error(tr+"Invalid BigNumber: "+S)},O.maximum=O.max=function(){return K(arguments,-1)},O.minimum=O.min=function(){return K(arguments,1)},O.random=function(){var S=9007199254740992,E=Math.random()*S&2097151?function(){return Nr(Math.random()*S)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(w){var q,L,z,j,U,T=0,R=[],k=new O(s);if(w==null?w=c:Vt(w,0,hr),j=Qh(w/He),b)if(crypto.getRandomValues){for(q=crypto.getRandomValues(new Uint32Array(j*=2));T<j;)U=q[T]*131072+(q[T+1]>>>11),U>=9e15?(L=crypto.getRandomValues(new Uint32Array(2)),q[T]=L[0],q[T+1]=L[1]):(R.push(U%1e14),T+=2);T=j/2}else if(crypto.randomBytes){for(q=crypto.randomBytes(j*=7);T<j;)U=(q[T]&31)*281474976710656+q[T+1]*1099511627776+q[T+2]*4294967296+q[T+3]*16777216+(q[T+4]<<16)+(q[T+5]<<8)+q[T+6],U>=9e15?crypto.randomBytes(7).copy(q,T):(R.push(U%1e14),T+=7);T=j/7}else throw b=!1,Error(tr+"crypto unavailable");if(!b)for(;T<j;)U=E(),U<9e15&&(R[T++]=U%1e14);for(j=R[--T],w%=He,j&&w&&(U=Kh[He-w],R[T]=Nr(j/U)*U);R[T]===0;R.pop(),T--);if(T<0)R=[z=0];else{for(z=-1;R[0]===0;R.splice(0,1),z-=He);for(T=1,U=R[0];U>=10;U/=10,T++);T<He&&(z-=He-T)}return k.e=z,k.c=R,k}}(),O.sum=function(){for(var S=1,E=arguments,w=new O(E[0]);S<E.length;)w=w.plus(E[S++]);return w},n=function(){var S="0123456789";function E(w,q,L,z){for(var j,U=[0],T,R=0,k=w.length;R<k;){for(T=U.length;T--;U[T]*=q);for(U[0]+=z.indexOf(w.charAt(R++)),j=0;j<U.length;j++)U[j]>L-1&&(U[j+1]==null&&(U[j+1]=0),U[j+1]+=U[j]/L|0,U[j]%=L)}return U.reverse()}return function(w,q,L,z,j){var U,T,R,k,$,A,Y,oe,ae=w.indexOf("."),pe=c,ce=d;for(ae>=0&&(k=M,M=0,w=w.replace(".",""),oe=new O(q),A=oe.pow(w.length-ae),M=k,oe.c=E(qa(Rr(A.c),A.e,"0"),10,L,S),oe.e=oe.c.length),Y=E(w,q,L,j?(U=N,S):(U=S,N)),R=k=Y.length;Y[--k]==0;Y.pop());if(!Y[0])return U.charAt(0);if(ae<0?--R:(A.c=Y,A.e=R,A.s=z,A=i(A,oe,pe,ce,L),Y=A.c,$=A.r,R=A.e),T=R+pe+1,ae=Y[T],k=L/2,$=$||T<0||Y[T+1]!=null,$=ce<4?(ae!=null||$)&&(ce==0||ce==(A.s<0?3:2)):ae>k||ae==k&&(ce==4||$||ce==6&&Y[T-1]&1||ce==(A.s<0?8:7)),T<1||!Y[0])w=$?qa(U.charAt(1),-pe,U.charAt(0)):U.charAt(0);else{if(Y.length=T,$)for(--L;++Y[--T]>L;)Y[T]=0,T||(++R,Y=[1].concat(Y));for(k=Y.length;!Y[--k];);for(ae=0,w="";ae<=k;w+=U.charAt(Y[ae++]));w=qa(w,R,U.charAt(0))}return w}}(),i=function(){function S(q,L,z){var j,U,T,R,k=0,$=q.length,A=L%Si,Y=L/Si|0;for(q=q.slice();$--;)T=q[$]%Si,R=q[$]/Si|0,j=Y*T+R*A,U=A*T+j%Si*Si+k,k=(U/z|0)+(j/Si|0)+Y*R,q[$]=U%z;return k&&(q=[k].concat(q)),q}function E(q,L,z,j){var U,T;if(z!=j)T=z>j?1:-1;else for(U=T=0;U<z;U++)if(q[U]!=L[U]){T=q[U]>L[U]?1:-1;break}return T}function w(q,L,z,j){for(var U=0;z--;)q[z]-=U,U=q[z]<L[z]?1:0,q[z]=U*j+q[z]-L[z];for(;!q[0]&&q.length>1;q.splice(0,1));}return function(q,L,z,j,U){var T,R,k,$,A,Y,oe,ae,pe,ce,he,je,Be,rt,rn,ct,Ct,gt=q.s==L.s?1:-1,Ze=q.c,et=L.c;if(!Ze||!Ze[0]||!et||!et[0])return new O(!q.s||!L.s||(Ze?et&&Ze[0]==et[0]:!et)?NaN:Ze&&Ze[0]==0||!et?gt*0:gt/0);for(ae=new O(gt),pe=ae.c=[],R=q.e-L.e,gt=z+R+1,U||(U=Zr,R=kr(q.e/He)-kr(L.e/He),gt=gt/He|0),k=0;et[k]==(Ze[k]||0);k++);if(et[k]>(Ze[k]||0)&&R--,gt<0)pe.push(1),$=!0;else{for(rt=Ze.length,ct=et.length,k=0,gt+=2,A=Nr(U/(et[0]+1)),A>1&&(et=S(et,A,U),Ze=S(Ze,A,U),ct=et.length,rt=Ze.length),Be=ct,ce=Ze.slice(0,ct),he=ce.length;he<ct;ce[he++]=0);Ct=et.slice(),Ct=[0].concat(Ct),rn=et[0],et[1]>=U/2&&rn++;do{if(A=0,T=E(et,ce,ct,he),T<0){if(je=ce[0],ct!=he&&(je=je*U+(ce[1]||0)),A=Nr(je/rn),A>1)for(A>=U&&(A=U-1),Y=S(et,A,U),oe=Y.length,he=ce.length;E(Y,ce,oe,he)==1;)A--,w(Y,ct<oe?Ct:et,oe,U),oe=Y.length,T=1;else A==0&&(T=A=1),Y=et.slice(),oe=Y.length;if(oe<he&&(Y=[0].concat(Y)),w(ce,Y,he,U),he=ce.length,T==-1)for(;E(et,ce,ct,he)<1;)A++,w(ce,ct<he?Ct:et,he,U),he=ce.length}else T===0&&(A++,ce=[0]);pe[k++]=A,ce[0]?ce[he++]=Ze[Be]||0:(ce=[Ze[Be]],he=1)}while((Be++<rt||ce[0]!=null)&&gt--);$=ce[0]!=null,pe[0]||pe.splice(0,1)}if(U==Zr){for(k=1,gt=pe[0];gt>=10;gt/=10,k++);re(ae,z+(ae.e=k+R*He-1)+1,j,$)}else ae.e=R,ae.r=+$;return ae}}();function Z(S,E,w,q){var L,z,j,U,T;if(w==null?w=d:Vt(w,0,8),!S.c)return S.toString();if(L=S.c[0],j=S.e,E==null)T=Rr(S.c),T=q==1||q==2&&(j<=h||j>=m)?oc(T,j):qa(T,j,"0");else if(S=re(new O(S),E,w),z=S.e,T=Rr(S.c),U=T.length,q==1||q==2&&(E<=z||z<=h)){for(;U<E;T+="0",U++);T=oc(T,z)}else if(E-=j,T=qa(T,z,"0"),z+1>U){if(--E>0)for(T+=".";E--;T+="0");}else if(E+=z-U,E>0)for(z+1==U&&(T+=".");E--;T+="0");return S.s<0&&L?"-"+T:T}function K(S,E){for(var w,q,L=1,z=new O(S[0]);L<S.length;L++)q=new O(S[L]),(!q.s||(w=el(z,q))===E||w===0&&z.s===E)&&(z=q);return z}function X(S,E,w){for(var q=1,L=E.length;!E[--L];E.pop());for(L=E[0];L>=10;L/=10,q++);return(w=q+w*He-1)>g?S.c=S.e=null:w<v?S.c=[S.e=0]:(S.e=w,S.c=E),S}t=function(){var S=/^(-?)0([xbo])(?=\w[\w.]*$)/i,E=/^([^.]+)\.$/,w=/^\.([^.]+)$/,q=/^-?(Infinity|NaN)$/,L=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(z,j,U,T){var R,k=U?j:j.replace(L,"");if(q.test(k))z.s=isNaN(k)?null:k<0?-1:1;else{if(!U&&(k=k.replace(S,function($,A,Y){return R=(Y=Y.toLowerCase())=="x"?16:Y=="b"?2:8,!T||T==R?A:$}),T&&(R=T,k=k.replace(E,"$1").replace(w,"0.$1")),j!=k))return new O(k,R);if(O.DEBUG)throw Error(tr+"Not a"+(T?" base "+T:"")+" number: "+j);z.s=null}z.c=z.e=null}}();function re(S,E,w,q){var L,z,j,U,T,R,k,$=S.c,A=Kh;if($){e:{for(L=1,U=$[0];U>=10;U/=10,L++);if(z=E-L,z<0)z+=He,j=E,T=$[R=0],k=Nr(T/A[L-j-1]%10);else if(R=Qh((z+1)/He),R>=$.length)if(q){for(;$.length<=R;$.push(0));T=k=0,L=1,z%=He,j=z-He+1}else break e;else{for(T=U=$[R],L=1;U>=10;U/=10,L++);z%=He,j=z-He+L,k=j<0?0:Nr(T/A[L-j-1]%10)}if(q=q||E<0||$[R+1]!=null||(j<0?T:T%A[L-j-1]),q=w<4?(k||q)&&(w==0||w==(S.s<0?3:2)):k>5||k==5&&(w==4||q||w==6&&(z>0?j>0?T/A[L-j]:0:$[R-1])%10&1||w==(S.s<0?8:7)),E<1||!$[0])return $.length=0,q?(E-=S.e+1,$[0]=A[(He-E%He)%He],S.e=-E||0):$[0]=S.e=0,S;if(z==0?($.length=R,U=1,R--):($.length=R+1,U=A[He-z],$[R]=j>0?Nr(T/A[L-j]%A[j])*U:0),q)for(;;)if(R==0){for(z=1,j=$[0];j>=10;j/=10,z++);for(j=$[0]+=U,U=1;j>=10;j/=10,U++);z!=U&&(S.e++,$[0]==Zr&&($[0]=1));break}else{if($[R]+=U,$[R]!=Zr)break;$[R--]=0,U=1}for(z=$.length;$[--z]===0;$.pop());}S.e>g?S.c=S.e=null:S.e<v&&(S.c=[S.e=0])}return S}function V(S){var E,w=S.e;return w===null?S.toString():(E=Rr(S.c),E=w<=h||w>=m?oc(E,w):qa(E,w,"0"),S.s<0?"-"+E:E)}return l.absoluteValue=l.abs=function(){var S=new O(this);return S.s<0&&(S.s=1),S},l.comparedTo=function(S,E){return el(this,new O(S,E))},l.decimalPlaces=l.dp=function(S,E){var w,q,L,z=this;if(S!=null)return Vt(S,0,hr),E==null?E=d:Vt(E,0,8),re(new O(z),S+z.e+1,E);if(!(w=z.c))return null;if(q=((L=w.length-1)-kr(this.e/He))*He,L=w[L])for(;L%10==0;L/=10,q--);return q<0&&(q=0),q},l.dividedBy=l.div=function(S,E){return i(this,new O(S,E),c,d)},l.dividedToIntegerBy=l.idiv=function(S,E){return i(this,new O(S,E),0,1)},l.exponentiatedBy=l.pow=function(S,E){var w,q,L,z,j,U,T,R,k,$=this;if(S=new O(S),S.c&&!S.isInteger())throw Error(tr+"Exponent not an integer: "+V(S));if(E!=null&&(E=new O(E)),U=S.e>14,!$.c||!$.c[0]||$.c[0]==1&&!$.e&&$.c.length==1||!S.c||!S.c[0])return k=new O(Math.pow(+V($),U?S.s*(2-lc(S)):+V(S))),E?k.mod(E):k;if(T=S.s<0,E){if(E.c?!E.c[0]:!E.s)return new O(NaN);q=!T&&$.isInteger()&&E.isInteger(),q&&($=$.mod(E))}else{if(S.e>9&&($.e>0||$.e<-1||($.e==0?$.c[0]>1||U&&$.c[1]>=24e7:$.c[0]<8e13||U&&$.c[0]<=9999975e7)))return z=$.s<0&&lc(S)?-0:0,$.e>-1&&(z=1/z),new O(T?1/z:z);M&&(z=Qh(M/He+2))}for(U?(w=new O(.5),T&&(S.s=1),R=lc(S)):(L=Math.abs(+V(S)),R=L%2),k=new O(s);;){if(R){if(k=k.times($),!k.c)break;z?k.c.length>z&&(k.c.length=z):q&&(k=k.mod(E))}if(L){if(L=Nr(L/2),L===0)break;R=L%2}else if(S=S.times(w),re(S,S.e+1,1),S.e>14)R=lc(S);else{if(L=+V(S),L===0)break;R=L%2}$=$.times($),z?$.c&&$.c.length>z&&($.c.length=z):q&&($=$.mod(E))}return q?k:(T&&(k=s.div(k)),E?k.mod(E):z?re(k,M,d,j):k)},l.integerValue=function(S){var E=new O(this);return S==null?S=d:Vt(S,0,8),re(E,E.e+1,S)},l.isEqualTo=l.eq=function(S,E){return el(this,new O(S,E))===0},l.isFinite=function(){return!!this.c},l.isGreaterThan=l.gt=function(S,E){return el(this,new O(S,E))>0},l.isGreaterThanOrEqualTo=l.gte=function(S,E){return(E=el(this,new O(S,E)))===1||E===0},l.isInteger=function(){return!!this.c&&kr(this.e/He)>this.c.length-2},l.isLessThan=l.lt=function(S,E){return el(this,new O(S,E))<0},l.isLessThanOrEqualTo=l.lte=function(S,E){return(E=el(this,new O(S,E)))===-1||E===0},l.isNaN=function(){return!this.s},l.isNegative=function(){return this.s<0},l.isPositive=function(){return this.s>0},l.isZero=function(){return!!this.c&&this.c[0]==0},l.minus=function(S,E){var w,q,L,z,j=this,U=j.s;if(S=new O(S,E),E=S.s,!U||!E)return new O(NaN);if(U!=E)return S.s=-E,j.plus(S);var T=j.e/He,R=S.e/He,k=j.c,$=S.c;if(!T||!R){if(!k||!$)return k?(S.s=-E,S):new O($?j:NaN);if(!k[0]||!$[0])return $[0]?(S.s=-E,S):new O(k[0]?j:d==3?-0:0)}if(T=kr(T),R=kr(R),k=k.slice(),U=T-R){for((z=U<0)?(U=-U,L=k):(R=T,L=$),L.reverse(),E=U;E--;L.push(0));L.reverse()}else for(q=(z=(U=k.length)<(E=$.length))?U:E,U=E=0;E<q;E++)if(k[E]!=$[E]){z=k[E]<$[E];break}if(z&&(L=k,k=$,$=L,S.s=-S.s),E=(q=$.length)-(w=k.length),E>0)for(;E--;k[w++]=0);for(E=Zr-1;q>U;){if(k[--q]<$[q]){for(w=q;w&&!k[--w];k[w]=E);--k[w],k[q]+=Zr}k[q]-=$[q]}for(;k[0]==0;k.splice(0,1),--R);return k[0]?X(S,k,R):(S.s=d==3?-1:1,S.c=[S.e=0],S)},l.modulo=l.mod=function(S,E){var w,q,L=this;return S=new O(S,E),!L.c||!S.s||S.c&&!S.c[0]?new O(NaN):!S.c||L.c&&!L.c[0]?new O(L):(D==9?(q=S.s,S.s=1,w=i(L,S,0,3),S.s=q,w.s*=q):w=i(L,S,0,D),S=L.minus(w.times(S)),!S.c[0]&&D==1&&(S.s=L.s),S)},l.multipliedBy=l.times=function(S,E){var w,q,L,z,j,U,T,R,k,$,A,Y,oe,ae,pe,ce=this,he=ce.c,je=(S=new O(S,E)).c;if(!he||!je||!he[0]||!je[0])return!ce.s||!S.s||he&&!he[0]&&!je||je&&!je[0]&&!he?S.c=S.e=S.s=null:(S.s*=ce.s,!he||!je?S.c=S.e=null:(S.c=[0],S.e=0)),S;for(q=kr(ce.e/He)+kr(S.e/He),S.s*=ce.s,T=he.length,$=je.length,T<$&&(oe=he,he=je,je=oe,L=T,T=$,$=L),L=T+$,oe=[];L--;oe.push(0));for(ae=Zr,pe=Si,L=$;--L>=0;){for(w=0,A=je[L]%pe,Y=je[L]/pe|0,j=T,z=L+j;z>L;)R=he[--j]%pe,k=he[j]/pe|0,U=Y*R+k*A,R=A*R+U%pe*pe+oe[z]+w,w=(R/ae|0)+(U/pe|0)+Y*k,oe[z--]=R%ae;oe[z]=w}return w?++q:oe.splice(0,1),X(S,oe,q)},l.negated=function(){var S=new O(this);return S.s=-S.s||null,S},l.plus=function(S,E){var w,q=this,L=q.s;if(S=new O(S,E),E=S.s,!L||!E)return new O(NaN);if(L!=E)return S.s=-E,q.minus(S);var z=q.e/He,j=S.e/He,U=q.c,T=S.c;if(!z||!j){if(!U||!T)return new O(L/0);if(!U[0]||!T[0])return T[0]?S:new O(U[0]?q:L*0)}if(z=kr(z),j=kr(j),U=U.slice(),L=z-j){for(L>0?(j=z,w=T):(L=-L,w=U),w.reverse();L--;w.push(0));w.reverse()}for(L=U.length,E=T.length,L-E<0&&(w=T,T=U,U=w,E=L),L=0;E;)L=(U[--E]=U[E]+T[E]+L)/Zr|0,U[E]=Zr===U[E]?0:U[E]%Zr;return L&&(U=[L].concat(U),++j),X(S,U,j)},l.precision=l.sd=function(S,E){var w,q,L,z=this;if(S!=null&&S!==!!S)return Vt(S,1,hr),E==null?E=d:Vt(E,0,8),re(new O(z),S,E);if(!(w=z.c))return null;if(L=w.length-1,q=L*He+1,L=w[L]){for(;L%10==0;L/=10,q--);for(L=w[0];L>=10;L/=10,q++);}return S&&z.e+1>q&&(q=z.e+1),q},l.shiftedBy=function(S){return Vt(S,-9007199254740991,Hy),this.times("1e"+S)},l.squareRoot=l.sqrt=function(){var S,E,w,q,L,z=this,j=z.c,U=z.s,T=z.e,R=c+4,k=new O("0.5");if(U!==1||!j||!j[0])return new O(!U||U<0&&(!j||j[0])?NaN:j?z:1/0);if(U=Math.sqrt(+V(z)),U==0||U==1/0?(E=Rr(j),(E.length+T)%2==0&&(E+="0"),U=Math.sqrt(+E),T=kr((T+1)/2)-(T<0||T%2),U==1/0?E="5e"+T:(E=U.toExponential(),E=E.slice(0,E.indexOf("e")+1)+T),w=new O(E)):w=new O(U+""),w.c[0]){for(T=w.e,U=T+R,U<3&&(U=0);;)if(L=w,w=k.times(L.plus(i(z,L,R,1))),Rr(L.c).slice(0,U)===(E=Rr(w.c)).slice(0,U))if(w.e<T&&--U,E=E.slice(U-3,U+1),E=="9999"||!q&&E=="4999"){if(!q&&(re(L,L.e+c+2,0),L.times(L).eq(z))){w=L;break}R+=4,U+=4,q=1}else{(!+E||!+E.slice(1)&&E.charAt(0)=="5")&&(re(w,w.e+c+2,1),S=!w.times(w).eq(z));break}}return re(w,w.e+c+1,d,S)},l.toExponential=function(S,E){return S!=null&&(Vt(S,0,hr),S++),Z(this,S,E,1)},l.toFixed=function(S,E){return S!=null&&(Vt(S,0,hr),S=S+this.e+1),Z(this,S,E)},l.toFormat=function(S,E,w){var q,L=this;if(w==null)S!=null&&E&&typeof E=="object"?(w=E,E=null):S&&typeof S=="object"?(w=S,S=E=null):w=C;else if(typeof w!="object")throw Error(tr+"Argument not an object: "+w);if(q=L.toFixed(S,E),L.c){var z,j=q.split("."),U=+w.groupSize,T=+w.secondaryGroupSize,R=w.groupSeparator||"",k=j[0],$=j[1],A=L.s<0,Y=A?k.slice(1):k,oe=Y.length;if(T&&(z=U,U=T,T=z,oe-=z),U>0&&oe>0){for(z=oe%U||U,k=Y.substr(0,z);z<oe;z+=U)k+=R+Y.substr(z,U);T>0&&(k+=R+Y.slice(z)),A&&(k="-"+k)}q=$?k+(w.decimalSeparator||"")+((T=+w.fractionGroupSize)?$.replace(new RegExp("\\d{"+T+"}\\B","g"),"$&"+(w.fractionGroupSeparator||"")):$):k}return(w.prefix||"")+q+(w.suffix||"")},l.toFraction=function(S){var E,w,q,L,z,j,U,T,R,k,$,A,Y=this,oe=Y.c;if(S!=null&&(U=new O(S),!U.isInteger()&&(U.c||U.s!==1)||U.lt(s)))throw Error(tr+"Argument "+(U.isInteger()?"out of range: ":"not an integer: ")+V(U));if(!oe)return new O(Y);for(E=new O(s),R=w=new O(s),q=T=new O(s),A=Rr(oe),z=E.e=A.length-Y.e-1,E.c[0]=Kh[(j=z%He)<0?He+j:j],S=!S||U.comparedTo(E)>0?z>0?E:R:U,j=g,g=1/0,U=new O(A),T.c[0]=0;k=i(U,E,0,1),L=w.plus(k.times(q)),L.comparedTo(S)!=1;)w=q,q=L,R=T.plus(k.times(L=R)),T=L,E=U.minus(k.times(L=E)),U=L;return L=i(S.minus(w),q,0,1),T=T.plus(L.times(R)),w=w.plus(L.times(q)),T.s=R.s=Y.s,z=z*2,$=i(R,q,z,d).minus(Y).abs().comparedTo(i(T,w,z,d).minus(Y).abs())<1?[R,q]:[T,w],g=j,$},l.toNumber=function(){return+V(this)},l.toPrecision=function(S,E){return S!=null&&Vt(S,1,hr),Z(this,S,E,2)},l.toString=function(S){var E,w=this,q=w.s,L=w.e;return L===null?q?(E="Infinity",q<0&&(E="-"+E)):E="NaN":(S==null?E=L<=h||L>=m?oc(Rr(w.c),L):qa(Rr(w.c),L,"0"):S===10&&H?(w=re(new O(w),c+L+1,d),E=qa(Rr(w.c),w.e,"0")):(Vt(S,2,N.length,"Base"),E=n(qa(Rr(w.c),L,"0"),10,S,q,!0)),q<0&&w.c[0]&&(E="-"+E)),E},l.valueOf=l.toJSON=function(){return V(this)},l._isBigNumber=!0,l[Symbol.toStringTag]="BigNumber",l[Symbol.for("nodejs.util.inspect.custom")]=l.valueOf,a!=null&&O.set(a),O}function kr(a){var i=a|0;return a>0||a===i?i:i-1}function Rr(a){for(var i,n,t=1,l=a.length,s=a[0]+"";t<l;){for(i=a[t++]+"",n=He-i.length;n--;i="0"+i);s+=i}for(l=s.length;s.charCodeAt(--l)===48;);return s.slice(0,l+1||1)}function el(a,i){var n,t,l=a.c,s=i.c,c=a.s,d=i.s,h=a.e,m=i.e;if(!c||!d)return null;if(n=l&&!l[0],t=s&&!s[0],n||t)return n?t?0:-d:c;if(c!=d)return c;if(n=c<0,t=h==m,!l||!s)return t?0:!l^n?1:-1;if(!t)return h>m^n?1:-1;for(d=(h=l.length)<(m=s.length)?h:m,c=0;c<d;c++)if(l[c]!=s[c])return l[c]>s[c]^n?1:-1;return h==m?0:h>m^n?1:-1}function Vt(a,i,n,t){if(a<i||a>n||a!==Nr(a))throw Error(tr+(t||"Argument")+(typeof a=="number"?a<i||a>n?" out of range: ":" not an integer: ":" not a primitive number: ")+String(a))}function lc(a){var i=a.c.length-1;return kr(a.e/He)==i&&a.c[i]%2!=0}function oc(a,i){return(a.length>1?a.charAt(0)+"."+a.slice(1):a)+(i<0?"e":"e+")+i}function qa(a,i,n){var t,l;if(i<0){for(l=n+".";++i;l+=n);a=l+a}else if(t=a.length,++i>t){for(l=n,i-=t;--i;l+=n);a+=l}else i<t&&(a=a.slice(0,i)+"."+a.slice(i));return a}var Xt=P8(),Cc;(function(a){a[a.up=Xt.ROUND_UP]="up",a[a.down=Xt.ROUND_DOWN]="down",a[a.truncate=Xt.ROUND_DOWN]="truncate",a[a.halfUp=Xt.ROUND_HALF_UP]="halfUp",a[a.default=Xt.ROUND_HALF_UP]="default",a[a.halfDown=Xt.ROUND_HALF_DOWN]="halfDown",a[a.halfEven=Xt.ROUND_HALF_EVEN]="halfEven",a[a.banker=Xt.ROUND_HALF_EVEN]="banker",a[a.ceiling=Xt.ROUND_CEIL]="ceiling",a[a.ceil=Xt.ROUND_CEIL]="ceil",a[a.floor=Xt.ROUND_FLOOR]="floor"})(Cc||(Cc={}));function z8(a){var i;return(i=Cc[a])!==null&&i!==void 0?i:Cc.default}var Xh,Py;function vx(){if(Py)return Xh;Py=1;var a=9007199254740991,i=Math.floor;function n(t,l){var s="";if(!t||l<1||l>a)return s;do l%2&&(s+=t),l=i(l/2),l&&(t+=t);while(l);return s}return Xh=n,Xh}var $h,zy;function gx(){if(zy)return $h;zy=1;var a=/\s/;function i(n){for(var t=n.length;t--&&a.test(n.charAt(t)););return t}return $h=i,$h}var Jh,Yy;function yx(){if(Yy)return Jh;Yy=1;var a=gx(),i=/^\s+/;function n(t){return t&&t.slice(0,a(t)+1).replace(i,"")}return Jh=n,Jh}var ep,jy;function bx(){if(jy)return ep;jy=1;var a=yx(),i=Va(),n=Gs(),t=NaN,l=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;function h(m){if(typeof m=="number")return m;if(n(m))return t;if(i(m)){var v=typeof m.valueOf=="function"?m.valueOf():m;m=i(v)?v+"":v}if(typeof m!="string")return m===0?m:+m;m=a(m);var g=s.test(m);return g||c.test(m)?d(m.slice(2),g?2:8):l.test(m)?t:+m}return ep=h,ep}var tp,By;function Y8(){if(By)return tp;By=1;var a=bx(),i=1/0,n=17976931348623157e292;function t(l){if(!l)return l===0?l:0;if(l=a(l),l===i||l===-1/0){var s=l<0?-1:1;return s*n}return l===l?l:0}return tp=t,tp}var np,Iy;function _x(){if(Iy)return np;Iy=1;var a=Y8();function i(n){var t=a(n),l=t%1;return t===t?l?t-l:t:0}return np=i,np}var rp,Fy;function Sx(){if(Fy)return rp;Fy=1;var a=vx(),i=tf(),n=_x(),t=go();function l(s,c,d){return(d?i(s,c,d):c===void 0)?c=1:c=n(c),a(t(s),c)}return rp=l,rp}var Ex=Sx();const wx=gr(Ex);function Dx(a){return a.isZero()?1:Math.floor(Math.log10(a.abs().toNumber())+1)}function Tx(a,{precision:i,significant:n}){return n&&i!==null&&i>0?i-Dx(a):i}function Rc(a,i){const n=Tx(a,i);if(n===null)return a.toString();const t=z8(i.roundMode);if(n>=0)return a.toFixed(n,t);const l=Math.pow(10,Math.abs(n));return a=new Xt(a.div(l).toFixed(0,t)).times(l),a.toString()}function xx(a,{formattedNumber:i,unit:n}){return a.replace("%n",i).replace("%u",n)}function Mx({significand:a,whole:i,precision:n}){if(i==="0"||n===null)return a;const t=Math.max(0,n-i.length);return(a??"").substr(0,t)}function Ss(a,i){var n,t,l;const s=new Xt(a);if(i.raise&&!s.isFinite())throw new Error(`"${a}" is not a valid numeric value`);const c=Rc(s,i),d=new Xt(c),h=d.lt(0),m=d.isZero();let[v,g]=c.split(".");const b=[];let D;const M=(n=i.format)!==null&&n!==void 0?n:"%n",C=(t=i.negativeFormat)!==null&&t!==void 0?t:`-${M}`,N=h&&!m?C:M;for(v=v.replace("-","");v.length>0;)b.unshift(v.substr(Math.max(0,v.length-3),3)),v=v.substr(0,v.length-3);return v=b.join(""),D=b.join(i.delimiter),i.significant?g=Mx({whole:v,significand:g,precision:i.precision}):g=g??wx("0",(l=i.precision)!==null&&l!==void 0?l:0),i.stripInsignificantZeros&&g&&(g=g.replace(/0+$/,"")),s.isNaN()&&(D=a.toString()),g&&s.isFinite()&&(D+=(i.separator||".")+g),xx(N,{formattedNumber:D,unit:i.unit})}function io(a,i,n){let t="";return(i instanceof String||typeof i=="string")&&(t=i),i instanceof Array&&(t=i.join(a.defaultSeparator)),n.scope&&(t=[n.scope,t].join(a.defaultSeparator)),t}function nl(a){var i,n;if(a===null)return"null";const t=typeof a;return t!=="object"?t:((n=(i=a==null?void 0:a.constructor)===null||i===void 0?void 0:i.name)===null||n===void 0?void 0:n.toLowerCase())||"object"}function ap(a,i,n){n=Object.keys(n).reduce((l,s)=>(l[a.transformKey(s)]=n[s],l),{});const t=i.match(a.placeholder);if(!t)return i;for(;t.length;){let l;const s=t.shift(),c=s.replace(a.placeholder,"$1");za(n[c])?l=n[c].toString().replace(/\$/gm,"_#$#_"):c in n?l=a.nullPlaceholder(a,s,i,n):l=a.missingPlaceholder(a,s,i,n);const d=new RegExp(s.replace(/\{/gm,"\\{").replace(/\}/gm,"\\}"),"g");i=i.replace(d,l)}return i.replace(/_#\$#_/g,"$")}function ua(a,i,n={}){n=Object.assign({},n);const t="locale"in n?n.locale:a.locale,l=nl(t),s=a.locales.get(l==="string"?t:typeof t).slice(),c=io(a,i,n).split(a.defaultSeparator).map(h=>a.transformKey(h)),d=s.map(h=>c.reduce((m,v)=>m&&m[v],a.translations[h]));return d.push(n.defaultValue),d.find(h=>za(h))}function Ox(a,i){const n=new Xt(a);if(!n.isFinite())return a.toString();if(!i.delimiterPattern.global)throw new Error(`options.delimiterPattern must be a global regular expression; received ${i.delimiterPattern}`);let[t,l]=n.toString().split(".");return t=t.replace(i.delimiterPattern,s=>`${s}${i.delimiter}`),[t,l].filter(Boolean).join(i.separator)}var ip,Gy;function j8(){if(Gy)return ip;Gy=1;function a(i,n){for(var t=-1,l=n.length,s=i.length;++t<l;)i[s+t]=n[t];return i}return ip=a,ip}var lp,Zy;function Ax(){if(Zy)return lp;Zy=1;var a=Fs(),i=Jc(),n=Jr(),t=a?a.isConcatSpreadable:void 0;function l(s){return n(s)||i(s)||!!(t&&s&&s[t])}return lp=l,lp}var op,Vy;function Cx(){if(Vy)return op;Vy=1;var a=j8(),i=Ax();function n(t,l,s,c,d){var h=-1,m=t.length;for(s||(s=i),d||(d=[]);++h<m;){var v=t[h];l>0&&s(v)?l>1?n(v,l-1,s,c,d):a(d,v):c||(d[d.length]=v)}return d}return op=n,op}var sp,Wy;function Rx(){if(Wy)return sp;Wy=1;function a(i,n){for(var t=-1,l=i==null?0:i.length;++t<l;)if(n(i[t],t,i))return!0;return!1}return sp=a,sp}var up,Qy;function B8(){if(Qy)return up;Qy=1;var a=L8(),i=Rx(),n=q8(),t=1,l=2;function s(c,d,h,m,v,g){var b=h&t,D=c.length,M=d.length;if(D!=M&&!(b&&M>D))return!1;var C=g.get(c),N=g.get(d);if(C&&N)return C==d&&N==c;var H=-1,O=!0,Z=h&l?new a:void 0;for(g.set(c,d),g.set(d,c);++H<D;){var K=c[H],X=d[H];if(m)var re=b?m(X,K,H,d,c,g):m(K,X,H,c,d,g);if(re!==void 0){if(re)continue;O=!1;break}if(Z){if(!i(d,function(V,S){if(!n(Z,S)&&(K===V||v(K,V,h,m,g)))return Z.push(S)})){O=!1;break}}else if(!(K===X||v(K,X,h,m,g))){O=!1;break}}return g.delete(c),g.delete(d),O}return up=s,up}var cp,Ky;function Nx(){if(Ky)return cp;Ky=1;function a(i){var n=-1,t=Array(i.size);return i.forEach(function(l,s){t[++n]=[s,l]}),t}return cp=a,cp}var fp,Xy;function kx(){if(Xy)return fp;Xy=1;var a=Fs(),i=T8(),n=Zs(),t=B8(),l=Nx(),s=Mm(),c=1,d=2,h="[object Boolean]",m="[object Date]",v="[object Error]",g="[object Map]",b="[object Number]",D="[object RegExp]",M="[object Set]",C="[object String]",N="[object Symbol]",H="[object ArrayBuffer]",O="[object DataView]",Z=a?a.prototype:void 0,K=Z?Z.valueOf:void 0;function X(re,V,S,E,w,q,L){switch(S){case O:if(re.byteLength!=V.byteLength||re.byteOffset!=V.byteOffset)return!1;re=re.buffer,V=V.buffer;case H:return!(re.byteLength!=V.byteLength||!q(new i(re),new i(V)));case h:case m:case b:return n(+re,+V);case v:return re.name==V.name&&re.message==V.message;case D:case C:return re==V+"";case g:var z=l;case M:var j=E&c;if(z||(z=s),re.size!=V.size&&!j)return!1;var U=L.get(re);if(U)return U==V;E|=d,L.set(re,V);var T=t(z(re),z(V),E,w,q,L);return L.delete(re),T;case N:if(K)return K.call(re)==K.call(V)}return!1}return fp=X,fp}var dp,$y;function Lx(){if($y)return dp;$y=1;var a=j8(),i=Jr();function n(t,l,s){var c=l(t);return i(t)?c:a(c,s(t))}return dp=n,dp}var hp,Jy;function qx(){if(Jy)return hp;Jy=1;function a(i,n){for(var t=-1,l=i==null?0:i.length,s=0,c=[];++t<l;){var d=i[t];n(d,t,i)&&(c[s++]=d)}return c}return hp=a,hp}var pp,e7;function Ux(){if(e7)return pp;e7=1;function a(){return[]}return pp=a,pp}var mp,t7;function Hx(){if(t7)return mp;t7=1;var a=qx(),i=Ux(),n=Object.prototype,t=n.propertyIsEnumerable,l=Object.getOwnPropertySymbols,s=l?function(c){return c==null?[]:(c=Object(c),a(l(c),function(d){return t.call(c,d)}))}:i;return mp=s,mp}var vp,n7;function Px(){if(n7)return vp;n7=1;var a=x8(),i=a(Object.keys,Object);return vp=i,vp}var gp,r7;function zx(){if(r7)return gp;r7=1;var a=Dm(),i=Px(),n=Object.prototype,t=n.hasOwnProperty;function l(s){if(!a(s))return i(s);var c=[];for(var d in Object(s))t.call(s,d)&&d!="constructor"&&c.push(d);return c}return gp=l,gp}var yp,a7;function Om(){if(a7)return yp;a7=1;var a=R8(),i=zx(),n=yo();function t(l){return n(l)?a(l):i(l)}return yp=t,yp}var bp,i7;function Yx(){if(i7)return bp;i7=1;var a=Lx(),i=Hx(),n=Om();function t(l){return a(l,n,i)}return bp=t,bp}var _p,l7;function jx(){if(l7)return _p;l7=1;var a=Yx(),i=1,n=Object.prototype,t=n.hasOwnProperty;function l(s,c,d,h,m,v){var g=d&i,b=a(s),D=b.length,M=a(c),C=M.length;if(D!=C&&!g)return!1;for(var N=D;N--;){var H=b[N];if(!(g?H in c:t.call(c,H)))return!1}var O=v.get(s),Z=v.get(c);if(O&&Z)return O==c&&Z==s;var K=!0;v.set(s,c),v.set(c,s);for(var X=g;++N<D;){H=b[N];var re=s[H],V=c[H];if(h)var S=g?h(V,re,H,c,s,v):h(re,V,H,s,c,v);if(!(S===void 0?re===V||m(re,V,d,h,v):S)){K=!1;break}X||(X=H=="constructor")}if(K&&!X){var E=s.constructor,w=c.constructor;E!=w&&"constructor"in s&&"constructor"in c&&!(typeof E=="function"&&E instanceof E&&typeof w=="function"&&w instanceof w)&&(K=!1)}return v.delete(s),v.delete(c),K}return _p=l,_p}var Sp,o7;function Bx(){if(o7)return Sp;o7=1;var a=pl(),i=ya(),n=a(i,"DataView");return Sp=n,Sp}var Ep,s7;function Ix(){if(s7)return Ep;s7=1;var a=pl(),i=ya(),n=a(i,"Promise");return Ep=n,Ep}var wp,u7;function Fx(){if(u7)return wp;u7=1;var a=pl(),i=ya(),n=a(i,"WeakMap");return wp=n,wp}var Dp,c7;function Gx(){if(c7)return Dp;c7=1;var a=Bx(),i=gm(),n=Ix(),t=U8(),l=Fx(),s=vo(),c=g8(),d="[object Map]",h="[object Object]",m="[object Promise]",v="[object Set]",g="[object WeakMap]",b="[object DataView]",D=c(a),M=c(i),C=c(n),N=c(t),H=c(l),O=s;return(a&&O(new a(new ArrayBuffer(1)))!=b||i&&O(new i)!=d||n&&O(n.resolve())!=m||t&&O(new t)!=v||l&&O(new l)!=g)&&(O=function(Z){var K=s(Z),X=K==h?Z.constructor:void 0,re=X?c(X):"";if(re)switch(re){case D:return b;case M:return d;case C:return m;case N:return v;case H:return g}return K}),Dp=O,Dp}var Tp,f7;function Zx(){if(f7)return Tp;f7=1;var a=Em(),i=B8(),n=kx(),t=jx(),l=Gx(),s=Jr(),c=Tm(),d=xm(),h=1,m="[object Arguments]",v="[object Array]",g="[object Object]",b=Object.prototype,D=b.hasOwnProperty;function M(C,N,H,O,Z,K){var X=s(C),re=s(N),V=X?v:l(C),S=re?v:l(N);V=V==m?g:V,S=S==m?g:S;var E=V==g,w=S==g,q=V==S;if(q&&c(C)){if(!c(N))return!1;X=!0,E=!1}if(q&&!E)return K||(K=new a),X||d(C)?i(C,N,H,O,Z,K):n(C,N,V,H,O,Z,K);if(!(H&h)){var L=E&&D.call(C,"__wrapped__"),z=w&&D.call(N,"__wrapped__");if(L||z){var j=L?C.value():C,U=z?N.value():N;return K||(K=new a),Z(j,U,H,O,K)}}return q?(K||(K=new a),t(C,N,H,O,Z,K)):!1}return Tp=M,Tp}var xp,d7;function I8(){if(d7)return xp;d7=1;var a=Zx(),i=hl();function n(t,l,s,c,d){return t===l?!0:t==null||l==null||!i(t)&&!i(l)?t!==t&&l!==l:a(t,l,s,c,n,d)}return xp=n,xp}var Mp,h7;function Vx(){if(h7)return Mp;h7=1;var a=Em(),i=I8(),n=1,t=2;function l(s,c,d,h){var m=d.length,v=m,g=!h;if(s==null)return!v;for(s=Object(s);m--;){var b=d[m];if(g&&b[2]?b[1]!==s[b[0]]:!(b[0]in s))return!1}for(;++m<v;){b=d[m];var D=b[0],M=s[D],C=b[1];if(g&&b[2]){if(M===void 0&&!(D in s))return!1}else{var N=new a;if(h)var H=h(M,C,D,s,c,N);if(!(H===void 0?i(C,M,n|t,h,N):H))return!1}}return!0}return Mp=l,Mp}var Op,p7;function F8(){if(p7)return Op;p7=1;var a=Va();function i(n){return n===n&&!a(n)}return Op=i,Op}var Ap,m7;function Wx(){if(m7)return Ap;m7=1;var a=F8(),i=Om();function n(t){for(var l=i(t),s=l.length;s--;){var c=l[s],d=t[c];l[s]=[c,d,a(d)]}return l}return Ap=n,Ap}var Cp,v7;function G8(){if(v7)return Cp;v7=1;function a(i,n){return function(t){return t==null?!1:t[i]===n&&(n!==void 0||i in Object(t))}}return Cp=a,Cp}var Rp,g7;function Qx(){if(g7)return Rp;g7=1;var a=Vx(),i=Wx(),n=G8();function t(l){var s=i(l);return s.length==1&&s[0][2]?n(s[0][0],s[0][1]):function(c){return c===l||a(c,l,s)}}return Rp=t,Rp}var Np,y7;function Kx(){if(y7)return Np;y7=1;function a(i,n){return i!=null&&n in Object(i)}return Np=a,Np}var kp,b7;function Xx(){if(b7)return kp;b7=1;var a=Kx(),i=S8();function n(t,l){return t!=null&&i(t,l,a)}return kp=n,kp}var Lp,_7;function $x(){if(_7)return Lp;_7=1;var a=I8(),i=_8(),n=Xx(),t=mm(),l=F8(),s=G8(),c=$c(),d=1,h=2;function m(v,g){return t(v)&&l(g)?s(c(v),g):function(b){var D=i(b,v);return D===void 0&&D===g?n(b,v):a(g,D,d|h)}}return Lp=m,Lp}var qp,S7;function Jx(){if(S7)return qp;S7=1;function a(i){return function(n){return n==null?void 0:n[i]}}return qp=a,qp}var Up,E7;function eM(){if(E7)return Up;E7=1;var a=bm();function i(n){return function(t){return a(t,n)}}return Up=i,Up}var Hp,w7;function tM(){if(w7)return Hp;w7=1;var a=Jx(),i=eM(),n=mm(),t=$c();function l(s){return n(s)?a(t(s)):i(s)}return Hp=l,Hp}var Pp,D7;function nM(){if(D7)return Pp;D7=1;var a=Qx(),i=$x(),n=ef(),t=Jr(),l=tM();function s(c){return typeof c=="function"?c:c==null?n:typeof c=="object"?t(c)?i(c[0],c[1]):a(c):l(c)}return Pp=s,Pp}var zp,T7;function rM(){if(T7)return zp;T7=1;var a=D8(),i=Om();function n(t,l){return t&&a(t,l,i)}return zp=n,zp}var Yp,x7;function aM(){if(x7)return Yp;x7=1;var a=yo();function i(n,t){return function(l,s){if(l==null)return l;if(!a(l))return n(l,s);for(var c=l.length,d=t?c:-1,h=Object(l);(t?d--:++d<c)&&s(h[d],d,h)!==!1;);return l}}return Yp=i,Yp}var jp,M7;function iM(){if(M7)return jp;M7=1;var a=rM(),i=aM(),n=i(a);return jp=n,jp}var Bp,O7;function lM(){if(O7)return Bp;O7=1;var a=iM(),i=yo();function n(t,l){var s=-1,c=i(t)?Array(t.length):[];return a(t,function(d,h,m){c[++s]=l(d,h,m)}),c}return Bp=n,Bp}var Ip,A7;function oM(){if(A7)return Ip;A7=1;function a(i,n){var t=i.length;for(i.sort(n);t--;)i[t]=i[t].value;return i}return Ip=a,Ip}var Fp,C7;function sM(){if(C7)return Fp;C7=1;var a=Gs();function i(n,t){if(n!==t){var l=n!==void 0,s=n===null,c=n===n,d=a(n),h=t!==void 0,m=t===null,v=t===t,g=a(t);if(!m&&!g&&!d&&n>t||d&&h&&v&&!m&&!g||s&&h&&v||!l&&v||!c)return 1;if(!s&&!d&&!g&&n<t||g&&l&&c&&!s&&!d||m&&l&&c||!h&&c||!v)return-1}return 0}return Fp=i,Fp}var Gp,R7;function uM(){if(R7)return Gp;R7=1;var a=sM();function i(n,t,l){for(var s=-1,c=n.criteria,d=t.criteria,h=c.length,m=l.length;++s<h;){var v=a(c[s],d[s]);if(v){if(s>=m)return v;var g=l[s];return v*(g=="desc"?-1:1)}}return n.index-t.index}return Gp=i,Gp}var Zp,N7;function cM(){if(N7)return Zp;N7=1;var a=y8(),i=bm(),n=nM(),t=lM(),l=oM(),s=O8(),c=uM(),d=ef(),h=Jr();function m(v,g,b){g.length?g=a(g,function(C){return h(C)?function(N){return i(N,C.length===1?C[0]:C)}:C}):g=[d];var D=-1;g=a(g,s(n));var M=t(v,function(C,N,H){var O=a(g,function(Z){return Z(C)});return{criteria:O,index:++D,value:C}});return l(M,function(C,N){return c(C,N,b)})}return Zp=m,Zp}var Vp,k7;function fM(){if(k7)return Vp;k7=1;var a=Cx(),i=cM(),n=k8(),t=tf(),l=n(function(s,c){if(s==null)return[];var d=c.length;return d>1&&t(s,c[0],c[1])?c=[]:d>2&&t(c[0],c[1],c[2])&&(c=[c[0]]),i(s,a(c,1),[])});return Vp=l,Vp}var dM=fM();const hM=gr(dM);var Wp,L7;function pM(){if(L7)return Wp;L7=1;function a(i,n,t){for(var l=-1,s=i.length,c=n.length,d={};++l<s;){var h=l<c?n[l]:void 0;t(d,i[l],h)}return d}return Wp=a,Wp}var Qp,q7;function mM(){if(q7)return Qp;q7=1;var a=C8(),i=pM();function n(t,l){return i(t||[],l||[],a)}return Qp=n,Qp}var vM=mM();const gM=gr(vM),z2={0:"unit",1:"ten",2:"hundred",3:"thousand",6:"million",9:"billion",12:"trillion",15:"quadrillion","-1":"deci","-2":"centi","-3":"mili","-6":"micro","-9":"nano","-12":"pico","-15":"femto"},yM=gM(Object.values(z2),Object.keys(z2).map(a=>parseInt(a,10)));function bM(a,i,n){const t={roundMode:n.roundMode,precision:n.precision,significant:n.significant};let l;if(nl(n.units)==="string"){const g=n.units;if(l=ua(a,g),!l)throw new Error(`The scope "${a.locale}${a.defaultSeparator}${io(a,g,{})}" couldn't be found`)}else l=n.units;let s=Rc(new Xt(i),t);const c=g=>hM(Object.keys(g).map(b=>yM[b]),b=>b*-1),d=(g,b)=>{const D=g.isZero()?0:Math.floor(Math.log10(g.abs().toNumber()));return c(b).find(M=>D>=M)||0},h=(g,b)=>{const D=z2[b.toString()];return g[D]||""},m=d(new Xt(s),l),v=h(l,m);if(s=Rc(new Xt(s).div(Math.pow(10,m)),t),n.stripInsignificantZeros){let[g,b]=s.split(".");b=(b||"").replace(/0+$/,""),s=g,b&&(s+=`${n.separator}${b}`)}return n.format.replace("%n",s||"0").replace("%u",v).trim()}const U7=["byte","kb","mb","gb","tb","pb","eb"];function _M(a,i,n){const t=z8(n.roundMode),l=1024,s=new Xt(i).abs(),c=s.lt(l);let d;const h=(M,C)=>{const N=C.length-1,H=new Xt(Math.log(M.toNumber())).div(Math.log(l)).integerValue(Xt.ROUND_DOWN).toNumber();return Math.min(N,H)},m=M=>`number.human.storage_units.units.${c?"byte":M[v]}`,v=h(s,U7);c?d=s.integerValue():d=new Xt(Rc(s.div(Math.pow(l,v)),{significant:n.significant,precision:n.precision,roundMode:n.roundMode}));const g=a.translate("number.human.storage_units.format",{defaultValue:"%n %u"}),b=a.translate(m(U7),{count:s.integerValue().toNumber()});let D=d.toFixed(n.precision,t);return n.stripInsignificantZeros&&(D=D.replace(/(\..*?)0+$/,"$1").replace(/\.$/,"")),g.replace("%n",D).replace("%u",b)}function Y2(a){if(a instanceof Date)return a;if(typeof a=="number"){const t=new Date;return t.setTime(a),t}const i=new String(a).match(/(\d{4})-(\d{2})-(\d{2})(?:[ T](\d{2}):(\d{2}):(\d{2})(?:[.,](\d{1,3}))?)?(Z|\+00:?00)?/);if(i){const t=i.slice(1,8).map(b=>parseInt(b,10)||0);t[1]-=1;const[l,s,c,d,h,m,v]=t;return i[8]?new Date(Date.UTC(l,s,c,d,h,m,v)):new Date(l,s,c,d,h,m,v)}a.match(/([A-Z][a-z]{2}) ([A-Z][a-z]{2}) (\d+) (\d+:\d+:\d+) ([+-]\d+) (\d+)/)&&new Date().setTime(Date.parse([RegExp.$1,RegExp.$2,RegExp.$3,RegExp.$6,RegExp.$4,RegExp.$5].join(" ")));const n=new Date;return n.setTime(Date.parse(a)),n}function H7({i18n:a,count:i,scope:n,options:t,baseScope:l}){t=Object.assign({},t);let s,c;if(typeof n=="object"&&n?s=n:s=ua(a,n,t),!s)return a.missingTranslation.get(n,t);const h=a.pluralization.get(t.locale)(a,i),m=[];for(;h.length;){const v=h.shift();if(za(s[v])){c=s[v];break}m.push(v)}return za(c)?(t.count=i,a.interpolate(a,c,t)):a.missingTranslation.get(l.split(a.defaultSeparator).concat([m[0]]),t)}const SM={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 EM(a,i,n={}){const{abbrDayNames:t,dayNames:l,abbrMonthNames:s,monthNames:c,meridian:d,utc:h}=Object.assign(Object.assign({},SM),n);if(isNaN(a.getTime()))throw new Error("strftime() requires a valid date object, but received an invalid date.");const m=h?a.getUTCDay():a.getDay(),v=h?a.getUTCDate():a.getDate(),g=h?a.getUTCFullYear():a.getFullYear(),b=(h?a.getUTCMonth():a.getMonth())+1,D=h?a.getUTCHours():a.getHours();let M=D;const C=D>11?"pm":"am",N=h?a.getUTCSeconds():a.getSeconds(),H=h?a.getUTCMinutes():a.getMinutes(),O=h?0:a.getTimezoneOffset(),Z=Math.floor(Math.abs(O/60)),K=Math.abs(O)-Z*60,X=(O>0?"-":"+")+(Z.toString().length<2?"0"+Z:Z)+(K.toString().length<2?"0"+K:K);return M>12?M=M-12:M===0&&(M=12),i=i.replace("%a",t[m]),i=i.replace("%A",l[m]),i=i.replace("%b",s[b]),i=i.replace("%B",c[b]),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",D.toString().padStart(2,"0")),i=i.replace("%-H",D.toString()),i=i.replace("%k",D.toString()),i=i.replace("%I",M.toString().padStart(2,"0")),i=i.replace("%-I",M.toString()),i=i.replace("%l",M.toString()),i=i.replace("%m",b.toString().padStart(2,"0")),i=i.replace("%-m",b.toString()),i=i.replace("%M",H.toString().padStart(2,"0")),i=i.replace("%-M",H.toString()),i=i.replace("%p",d[C]),i=i.replace("%P",d[C].toLowerCase()),i=i.replace("%S",N.toString().padStart(2,"0")),i=i.replace("%-S",N.toString()),i=i.replace("%w",m.toString()),i=i.replace("%y",g.toString().padStart(2,"0").substr(-2)),i=i.replace("%-y",g.toString().padStart(2,"0").substr(-2).replace(/^0+/,"")),i=i.replace("%Y",g.toString()),i=i.replace(/%z/i,X),i}var Kp,P7;function wM(){if(P7)return Kp;P7=1;var a=Math.ceil,i=Math.max;function n(t,l,s,c){for(var d=-1,h=i(a((l-t)/(s||1)),0),m=Array(h);h--;)m[c?h:++d]=t,t+=s;return m}return Kp=n,Kp}var Xp,z7;function DM(){if(z7)return Xp;z7=1;var a=wM(),i=tf(),n=Y8();function t(l){return function(s,c,d){return d&&typeof d!="number"&&i(s,c,d)&&(c=d=void 0),s=n(s),c===void 0?(c=s,s=0):c=n(c),d=d===void 0?s<c?1:-1:n(d),a(s,c,d,l)}}return Xp=t,Xp}var $p,Y7;function TM(){if(Y7)return $p;Y7=1;var a=DM(),i=a();return $p=i,$p}var xM=TM();const MM=gr(xM),pr=(a,i,n)=>n>=a&&n<=i;function OM(a,i,n,t={}){const l=t.scope||"datetime.distance_in_words",s=(V,S=0)=>a.t(V,{count:S,scope:l});i=Y2(i),n=Y2(n);let c=i.getTime()/1e3,d=n.getTime()/1e3;c>d&&([i,n,c,d]=[n,i,d,c]);const h=Math.round(d-c),m=Math.round((d-c)/60),g=m/60/24,b=Math.round(m/60),D=Math.round(g),M=Math.round(D/30);if(pr(0,1,m))return t.includeSeconds?pr(0,4,h)?s("less_than_x_seconds",5):pr(5,9,h)?s("less_than_x_seconds",10):pr(10,19,h)?s("less_than_x_seconds",20):pr(20,39,h)?s("half_a_minute"):pr(40,59,h)?s("less_than_x_minutes",1):s("x_minutes",1):m===0?s("less_than_x_minutes",1):s("x_minutes",m);if(pr(2,44,m))return s("x_minutes",m);if(pr(45,89,m))return s("about_x_hours",1);if(pr(90,1439,m))return s("about_x_hours",b);if(pr(1440,2519,m))return s("x_days",1);if(pr(2520,43199,m))return s("x_days",D);if(pr(43200,86399,m))return s("about_x_months",Math.round(m/43200));if(pr(86400,525599,m))return s("x_months",M);let C=i.getFullYear();i.getMonth()+1>=3&&(C+=1);let N=n.getFullYear();n.getMonth()+1<3&&(N-=1);const H=C>N?0:MM(C,N).filter(V=>new Date(V,1,29).getMonth()==1).length,O=525600,Z=H*1440,K=m-Z,X=Math.trunc(K/O),re=parseFloat((K/O-X).toPrecision(3));return re<.25?s("about_x_years",X):re<.75?s("over_x_years",X):s("almost_x_years",X+1)}const AM=function(a,i){i instanceof Array&&(i=i.join(a.defaultSeparator));const n=i.split(a.defaultSeparator).slice(-1)[0];return a.missingTranslationPrefix+n.replace("_"," ").replace(/([a-z])([A-Z])/g,(t,l,s)=>`${l} ${s.toLowerCase()}`)},CM=(a,i,n)=>{const t=io(a,i,n),l="locale"in n?n.locale:a.locale,s=nl(l);return`[missing "${[s=="string"?l:s,t].join(a.defaultSeparator)}" translation]`},RM=(a,i,n)=>{const t=io(a,i,n),l=[a.locale,t].join(a.defaultSeparator);throw new Error(`Missing translation: ${l}`)};class NM{constructor(i){this.i18n=i,this.registry={},this.register("guess",AM),this.register("message",CM),this.register("error",RM)}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 kM=function(a,i,n,t){function l(s){return s instanceof n?s:new n(function(c){c(s)})}return new(n||(n=Promise))(function(s,c){function d(v){try{m(t.next(v))}catch(g){c(g)}}function h(v){try{m(t.throw(v))}catch(g){c(g)}}function m(v){v.done?s(v.value):l(v.value).then(d,h)}m((t=t.apply(a,i||[])).next())})};const Jp={defaultLocale:"en",locale:"en",defaultSeparator:".",placeholder:/(?:\{\{|%\{)(.*?)(?:\}\}?)/gm,enableFallback:!1,missingBehavior:"message",missingTranslationPrefix:"",missingPlaceholder:(a,i)=>`[missing "${i}" value]`,nullPlaceholder:(a,i,n,t)=>a.missingPlaceholder(a,i,n,t),transformKey:a=>a};let LM=class{constructor(i={},n={}){this._locale=Jp.locale,this._defaultLocale=Jp.defaultLocale,this._version=0,this.onChangeHandlers=[],this.translations={},this.t=this.translate,this.p=this.pluralize,this.l=this.localize,this.distanceOfTimeInWords=this.timeAgoInWords;const{locale:t,enableFallback:l,missingBehavior:s,missingTranslationPrefix:c,missingPlaceholder:d,nullPlaceholder:h,defaultLocale:m,defaultSeparator:v,placeholder:g,transformKey:b}=Object.assign(Object.assign({},Jp),n);this.locale=t,this.defaultLocale=m,this.defaultSeparator=v,this.enableFallback=l,this.locale=t,this.missingBehavior=s,this.missingTranslationPrefix=c,this.missingPlaceholder=d,this.nullPlaceholder=h,this.placeholder=g,this.pluralization=new VT(this),this.locales=new IT(this),this.missingTranslation=new NM(this),this.transformKey=b,this.interpolate=ap,this.store(i)}store(i){MT(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 ${nl(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 ${nl(i)}`);const n=this._defaultLocale!==i;this._defaultLocale=i,n&&this.hasChanged()}translate(i,n){n=Object.assign({},n);const t=px(this,i,n);let l;return t.some(c=>(za(c.scope)?l=ua(this,c.scope,n):za(c.message)&&(l=c.message),l!=null))?(typeof l=="string"?l=this.interpolate(this,l,n):typeof l=="object"&&l&&za(n.count)&&(l=H7({i18n:this,count:n.count||0,scope:l,options:n,baseScope:io(this,i,n)})),n&&l instanceof Array&&(l=l.map(c=>typeof c=="string"?ap(this,c,n):c)),l):this.missingTranslation.get(i,n)}pluralize(i,n,t){return H7({i18n:this,count:i,scope:n,options:Object.assign({},t),baseScope:io(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 Ss(n,Object.assign({delimiter:",",precision:3,separator:".",significant:!1,stripInsignificantZeros:!1},ua(this,"number.format")));case"percentage":return this.numberToPercentage(n);default:{let l;return i.match(/^(date|time)/)?l=this.toTime(i,n):l=n.toString(),ap(this,l,t)}}}toTime(i,n){const t=Y2(n),l=ua(this,i);return t.toString().match(/invalid/i)||!l?t.toString():this.strftime(t,l)}numberToCurrency(i,n={}){return Ss(i,Object.assign(Object.assign(Object.assign({delimiter:",",format:"%u%n",precision:2,separator:".",significant:!1,stripInsignificantZeros:!1,unit:"$"},Gr(this.get("number.format"))),Gr(this.get("number.currency.format"))),n))}numberToPercentage(i,n={}){return Ss(i,Object.assign(Object.assign(Object.assign({delimiter:"",format:"%n%",precision:3,stripInsignificantZeros:!1,separator:".",significant:!1},Gr(this.get("number.format"))),Gr(this.get("number.percentage.format"))),n))}numberToHumanSize(i,n={}){return _M(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:""}},Gr(this.get("number.human.format"))),Gr(this.get("number.human.storage_units"))),n))}numberToHuman(i,n={}){return bM(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:""}},Gr(this.get("number.human.format"))),Gr(this.get("number.human.decimal_units"))),n))}numberToRounded(i,n){return Ss(i,Object.assign({unit:"",precision:3,significant:!1,separator:".",delimiter:"",stripInsignificantZeros:!1},n))}numberToDelimited(i,n={}){return Ox(i,Object.assign({delimiterPattern:/(\d)(?=(\d\d\d)+(?!\d))/g,delimiter:",",separator:"."},n))}withLocale(i,n){return kM(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 EM(i,n,Object.assign(Object.assign(Object.assign({},Gr(ua(this,"date"))),{meridian:{am:ua(this,"time.am")||"AM",pm:ua(this,"time.pm")||"PM"}}),t))}update(i,n,t={strict:!1}){if(t.strict&&!VD(this.translations,i))throw new Error(`The path "${i}" is not currently defined`);const l=BD(this.translations,i),s=nl(l),c=nl(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 "},Gr(ua(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 OM(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},Gr(this.get("number.format"))),n),Ss(i,n)}get(i){return ua(this,i)}runCallbacks(){this.onChangeHandlers.forEach(i=>i(this))}hasChanged(){this._version+=1,this.runCallbacks()}};function qM(a,i,n){const t=new URLSearchParams(a);return t.set(i,n),"?"+t.toString()}function UM(a,i){return new URLSearchParams(i).get(a)}function Z8(a){return a!=null?(a.preventDefault(),a.stopPropagation(),!1):!0}function Ha(a){return a==null?!0:Array.isArray(a)?a.length===0:typeof a=="string"?a.trim().length===0:a&&a.getTime?a.getTime()!==a.getTime():typeof a=="object"?Object.keys(a).length===0:!1}/*! js-cookie v3.0.5 | MIT */function sc(a){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)a[t]=n[t]}return a}var HM={read:function(a){return a[0]==='"'&&(a=a.slice(1,-1)),a.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(a){return encodeURIComponent(a).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function j2(a,i){function n(l,s,c){if(!(typeof document>"u")){c=sc({},i,c),typeof c.expires=="number"&&(c.expires=new Date(Date.now()+c.expires*864e5)),c.expires&&(c.expires=c.expires.toUTCString()),l=encodeURIComponent(l).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var d="";for(var h in c)c[h]&&(d+="; "+h,c[h]!==!0&&(d+="="+c[h].split(";")[0]));return document.cookie=l+"="+a.write(s,l)+d}}function t(l){if(!(typeof document>"u"||arguments.length&&!l)){for(var s=document.cookie?document.cookie.split("; "):[],c={},d=0;d<s.length;d++){var h=s[d].split("="),m=h.slice(1).join("=");try{var v=decodeURIComponent(h[0]);if(c[v]=a.read(m,v),l===v)break}catch{}}return l?c[l]:c}}return Object.create({set:n,get:t,remove:function(l,s){n(l,"",sc({},s,{expires:-1}))},withAttributes:function(l){return j2(this.converter,sc({},this.attributes,l))},withConverter:function(l){return j2(sc({},this.converter,l),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(a)}})}var V8=j2(HM,{path:"/"});const Re=new LM({en:dD,nl:hD});let ul=UM("lang",window.location.search);Ha(ul)&&(ul=V8.get("lang"));Ha(ul)&&(ul=navigator.language.toLowerCase().substring(0,2));["nl","en"].indexOf(ul)===-1&&(ul="en");Re.locale=ul;Re.missingTranslation.register("report-error",(a,i)=>`[missing "${i}" translation]`);Re.missingBehavior="report-error";const j7=a=>{let i;const n=new Set,t=(m,v)=>{const g=typeof m=="function"?m(i):m;if(!Object.is(g,i)){const b=i;i=v??(typeof g!="object"||g===null)?g:Object.assign({},i,g),n.forEach(D=>D(i,b))}},l=()=>i,d={setState:t,getState:l,getInitialState:()=>h,subscribe:m=>(n.add(m),()=>n.delete(m))},h=i=a(t,l,d);return d},PM=a=>a?j7(a):j7,zM=a=>a;function YM(a,i=zM){const n=G.useSyncExternalStore(a.subscribe,()=>i(a.getState()),()=>i(a.getInitialState()));return G.useDebugValue(n),n}const B7=a=>{const i=PM(a),n=t=>YM(i,t);return Object.assign(n,i),n},jM=a=>a?B7(a):B7,Pn=jM(a=>({user:{},controlCode:{},flash:{msg:"",className:"hide",type:"info"},setFlash:(i,n)=>{a({flash:{msg:i,type:n||"info"}}),(!n||n==="info")&&setTimeout(()=>a({flash:{}}),5e3)},clearFlash:()=>a({flash:{}}),breadcrumbPath:[]}));function BM(a){return i=>{if(!i.ok){if(i.type==="opaqueredirect")return setTimeout(()=>window.location.reload(!0),100),i;const n=new Error(i.statusText);if(n.response=i,a&&i.status===401){window.location.reload(!0);return}throw a&&setTimeout(()=>{throw n},250),n}return i}}function IM(a,i,n={},t=!0){const l={Accept:"application/json","Content-Type":"application/json","Accept-Language":Re.locale,"X-CSRF-TOKEN":Pn.getState().csrfToken,...n},s=Object.assign({},{headers:l},i,{credentials:"same-origin",redirect:"manual",changeOrigin:!1});return fetch(a,s).then(BM(t))}function Vs(a,i={},n={},t=!0){return IM(a,i,n,t).then(l=>l.json())}function FM(a,i,n,t=!0){const l=JSON.stringify(i);return Vs(a,{method:n,body:l},{},t)}function GM(){return Vs("/myconext/api/servicedesk/me")}function W8(){const a={credentials:"same-origin",redirect:"manual"};return Vs("/myconext/api/servicedesk/logout").then(()=>fetch("/Shibboleth.sso/Logout",a))}function ZM(a){return Vs(`/myconext/api/servicedesk/user/${a}`)}function VM(a){return Vs(`/myconext/api/servicedesk/validate?dayOfBirth=${encodeURIComponent(a)}`)}function WM(a,i,n,t,l,s){return FM("/myconext/api/servicedesk/approve",{firstName:a,lastName:i,dayOfBirth:n,code:t,documentId:l,userUid:s},"PUT",!1)}const QM=()=>{const a=Pn(n=>n.flash),i=Pn(n=>n.clearFlash);return!Ha(a)&&(a.type==="error"||a.type==="warning")?W.jsx(NE,{message:a.msg,action:a.action,actionLabel:a.actionLabel,alertType:a.type==="warning"?wi.Warning:wi.Error,close:i}):!Ha(a)&&!Ha(a.msg)?W.jsx(YE,{children:W.jsx(lm,{message:a.msg,toasterType:Ti.Success})}):null},KM=({user:a})=>{const i=dl(),[n,t]=y.useState(!1),l=c=>{Z8(c),W8().then(()=>{Pn.setState(()=>({breadcrumbPath:[],user:{},controlCode:{}})),i("/login"),setTimeout(()=>Pn.setState(()=>({user:null,breadcrumbPath:[]})),125)})},s=()=>W.jsx(W.Fragment,{children:W.jsx("ul",{children:W.jsx("li",{children:W.jsx("a",{href:"/logout",onClick:l,children:Re.t("header.links.logout")})})})});return W.jsx("div",{className:"user-menu",tabIndex:1,onBlur:()=>setTimeout(()=>t(!1),325),children:W.jsx(jE,{isOpen:n,children:s(),userName:a.displayName,organisationName:a.schacHomeOrganization,toggle:()=>t(!n)})})},XM=()=>{const{user:a}=Pn(i=>i);return W.jsx("div",{className:"header-container",children:W.jsxs("div",{className:"header-inner",children:[W.jsx(pm,{className:"logo",to:"/",children:W.jsx($9,{label:Re.t("header.title"),position:J9.Bottom,color:k2.White})}),a&&a.serviceDeskMember&&W.jsx(KM,{user:a,actions:[]})]})})},$M=({title:a,titleId:i,...n},t)=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",width:860.13137,height:571.14799,viewBox:"0 0 860.13137 571.14799",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("path",{d:"M605.66974,324.95306c-7.66934-12.68446-16.7572-26.22768-30.98954-30.36953-16.482-4.7965-33.4132,4.73193-47.77473,14.13453a1392.15692,1392.15692,0,0,0-123.89338,91.28311l.04331.49238q46.22556-3.1878,92.451-6.37554c22.26532-1.53546,45.29557-3.2827,64.97195-13.8156,7.46652-3.99683,14.74475-9.33579,23.20555-9.70782,10.51175-.46217,19.67733,6.87923,26.8802,14.54931,42.60731,45.371,54.937,114.75409,102.73817,154.61591A1516.99453,1516.99453,0,0,0,605.66974,324.95306Z",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M867.57068,709.78146c-4.71167-5.94958-6.6369-7.343-11.28457-13.34761q-56.7644-73.41638-106.70791-151.79237-33.92354-53.23-64.48275-108.50439-14.54864-26.2781-28.29961-52.96872-10.67044-20.6952-20.8646-41.63793c-1.94358-3.98782-3.8321-7.99393-5.71122-12.00922-4.42788-9.44232-8.77341-18.93047-13.43943-28.24449-5.31686-10.61572-11.789-21.74485-21.55259-28.877a29.40493,29.40493,0,0,0-15.31855-5.89458c-7.948-.51336-15.28184,2.76855-22.17568,6.35295-50.43859,26.301-97.65922,59.27589-140.3696,96.79771A730.77816,730.77816,0,0,0,303.32241,496.24719c-1.008,1.43927-3.39164.06417-2.37419-1.38422q6.00933-8.49818,12.25681-16.81288A734.817,734.817,0,0,1,500.80465,303.06436q18.24824-11.82581,37.18269-22.54245c6.36206-3.60275,12.75188-7.15967,19.25136-10.49653,6.37146-3.27274,13.13683-6.21547,20.41563-6.32547,24.7701-.385,37.59539,27.66695,46.40506,46.54248q4.15283,8.9106,8.40636,17.76626,16.0748,33.62106,33.38729,66.628,10.68453,20.379,21.83683,40.51955,34.7071,62.71816,73.77854,122.897c34.5059,53.1429,68.73651,100.08874,108.04585,149.78472C870.59617,709.21309,868.662,711.17491,867.57068,709.78146Z",transform:"translate(-169.93432 -164.42601)",fill:"#e4e4e4"}),y.createElement("path",{d:"M414.91613,355.804c-1.43911-1.60428-2.86927-3.20856-4.31777-4.81284-11.42244-12.63259-23.6788-25.11847-39.3644-32.36067a57.11025,57.11025,0,0,0-23.92679-5.54622c-8.56213.02753-16.93178,2.27348-24.84306,5.41792-3.74034,1.49427-7.39831,3.1902-11.00078,4.99614-4.11634,2.07182-8.15927,4.28118-12.1834,6.50883q-11.33112,6.27044-22.36816,13.09089-21.9606,13.57221-42.54566,29.21623-10.67111,8.11311-20.90174,16.75788-9.51557,8.03054-18.64618,16.492c-1.30169,1.20091-3.24527-.74255-1.94358-1.94347,1.60428-1.49428,3.22691-2.97938,4.84955-4.44613q6.87547-6.21546,13.9712-12.19257,12.93921-10.91827,26.54851-20.99312,21.16293-15.67614,43.78288-29.22541,11.30361-6.76545,22.91829-12.96259c2.33794-1.24675,4.70318-2.466,7.09572-3.6211a113.11578,113.11578,0,0,1,16.86777-6.86632,60.0063,60.0063,0,0,1,25.476-2.50265,66.32706,66.32706,0,0,1,23.50512,8.1314c15.40091,8.60812,27.34573,21.919,38.97,34.90915C418.03337,355.17141,416.09875,357.12405,414.91613,355.804Z",transform:"translate(-169.93432 -164.42601)",fill:"#e4e4e4"}),y.createElement("path",{d:"M730.47659,486.71092l36.90462-13.498,18.32327-6.70183c5.96758-2.18267,11.92082-4.66747,18.08988-6.23036a28.53871,28.53871,0,0,1,16.37356.20862,37.73753,37.73753,0,0,1,12.771,7.91666,103.63965,103.63965,0,0,1,10.47487,11.18643c3.98932,4.79426,7.91971,9.63877,11.86772,14.46706q24.44136,29.89094,48.56307,60.04134,24.12117,30.14991,47.91981,60.556,23.85681,30.48041,47.38548,61.21573,2.88229,3.76518,5.75966,7.53415c1.0598,1.38809,3.44949.01962,2.37472-1.38808Q983.582,650.9742,959.54931,620.184q-24.09177-30.86383-48.51647-61.46586-24.42421-30.60141-49.17853-60.93743-6.16706-7.55761-12.35445-15.09858c-3.47953-4.24073-6.91983-8.52718-10.73628-12.47427-7.00539-7.24516-15.75772-13.64794-26.23437-13.82166-6.15972-.10214-12.121,1.85248-17.844,3.92287-6.16968,2.232-12.32455,4.50571-18.48633,6.75941l-37.16269,13.59243-9.29067,3.3981c-1.64875.603-.93651,3.2619.73111,2.652Z",transform:"translate(-169.93432 -164.42601)",fill:"#e4e4e4"}),y.createElement("path",{d:"M366.37741,334.52609c-18.75411-9.63866-42.77137-7.75087-60.00508,4.29119a855.84708,855.84708,0,0,1,97.37056,22.72581C390.4603,353.75916,380.07013,341.5635,366.37741,334.52609Z",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M306.18775,338.7841l-3.61042,2.93462c1.22123-1.02713,2.4908-1.99013,3.795-2.90144C306.31073,338.80665,306.24935,338.79473,306.18775,338.7841Z",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M831.54929,486.84576c-3.6328-4.42207-7.56046-9.05222-12.99421-10.84836l-5.07308.20008A575.436,575.436,0,0,0,966.74929,651.418Q899.14929,569.13192,831.54929,486.84576Z",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M516.08388,450.36652A37.4811,37.4811,0,0,0,531.015,471.32518c2.82017,1.92011,6.15681,3.76209,7.12158,7.03463a8.37858,8.37858,0,0,1-.87362,6.1499,24.88351,24.88351,0,0,1-3.86126,5.04137l-.13667.512c-6.99843-4.14731-13.65641-9.3934-17.52227-16.55115s-4.40553-16.53895.34116-23.14544",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M749.08388,653.36652A37.4811,37.4811,0,0,0,764.015,674.32518c2.82017,1.92011,6.15681,3.76209,7.12158,7.03463a8.37858,8.37858,0,0,1-.87362,6.1499,24.88351,24.88351,0,0,1-3.86126,5.04137l-.13667.512c-6.99843-4.14731-13.65641-9.3934-17.52227-16.55115s-4.40553-16.53895.34116-23.14544",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("path",{d:"M284.08388,639.36652A37.4811,37.4811,0,0,0,299.015,660.32518c2.82017,1.92011,6.15681,3.76209,7.12158,7.03463a8.37858,8.37858,0,0,1-.87362,6.1499,24.88351,24.88351,0,0,1-3.86126,5.04137l-.13667.512c-6.99843-4.14731-13.65641-9.3934-17.52227-16.55115s-4.40553-16.53895.34116-23.14544",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),y.createElement("circle",{cx:649.24878,cy:51,r:51,fill:"#6c63ff"}),y.createElement("path",{d:"M911.21851,176.29639c-24.7168-3.34094-52.93512,10.01868-59.34131,34.12353a21.59653,21.59653,0,0,0-41.09351,2.10871l2.82972,2.02667a372.27461,372.27461,0,0,0,160.65881-.72638C957.07935,195.76,935.93537,179.63727,911.21851,176.29639Z",transform:"translate(-169.93432 -164.42601)",fill:"#f0f0f0"}),y.createElement("path",{d:"M805.21851,244.29639c-24.7168-3.34094-52.93512,10.01868-59.34131,34.12353a21.59653,21.59653,0,0,0-41.09351,2.10871l2.82972,2.02667a372.27461,372.27461,0,0,0,160.65881-.72638C851.07935,263.76,829.93537,247.63727,805.21851,244.29639Z",transform:"translate(-169.93432 -164.42601)",fill:"#f0f0f0"}),y.createElement("path",{d:"M1020.94552,257.15423a.98189.98189,0,0,1-.30176-.04688C756.237,173.48919,523.19942,184.42376,374.26388,208.32122c-20.26856,3.251-40.59131,7.00586-60.40381,11.16113-5.05811,1.05957-10.30567,2.19532-15.59668,3.37793-6.31885,1.40723-12.55371,2.85645-18.53223,4.30567q-3.873.917-7.59472,1.84863c-3.75831.92773-7.57178,1.89453-11.65967,2.957-4.56787,1.17774-9.209,2.41309-13.79737,3.67188a.44239.44239,0,0,1-.05127.01465l.00049.001c-5.18261,1.415-10.33789,2.8711-15.32324,4.3252-2.69824.77929-5.30371,1.54785-7.79932,2.30664-.2788.07715-.52587.15136-.77636.22754l-.53614.16308c-.31054.09473-.61718.1875-.92382.27539l-.01953.00586.00048.001-.81152.252c-.96777.293-1.91211.5791-2.84082.86426-24.54492,7.56641-38.03809,12.94922-38.17139,13.00195a1,1,0,1,1-.74414-1.85644c.13428-.05274,13.69336-5.46289,38.32764-13.05762.93213-.28613,1.87891-.57226,2.84961-.86621l.7539-.23438c.02588-.00976.05176-.01757.07813-.02539.30518-.08691.60986-.17968.91943-.27343l.53711-.16309c.26758-.08105.53125-.16113.80127-.23535,2.47852-.75391,5.09278-1.52441,7.79785-2.30664,4.98731-1.45508,10.14746-2.91113,15.334-4.32813.01611-.00586.03271-.00976.04883-.01464v-.001c4.60449-1.2627,9.26269-2.50293,13.84521-3.68457,4.09424-1.06348,7.915-2.03223,11.67969-2.96192q3.73755-.93017,7.60937-1.85253c5.98536-1.45118,12.23291-2.90235,18.563-4.3125,5.29932-1.1836,10.55567-2.32227,15.62207-3.38282,19.84326-4.16211,40.19776-7.92285,60.49707-11.17871C523.09591,182.415,756.46749,171.46282,1021.2463,255.2011a.99974.99974,0,0,1-.30078,1.95313Z",transform:"translate(-169.93432 -164.42601)",fill:"#ccc"}),y.createElement("path",{d:"M432.92309,584.266a6.72948,6.72948,0,0,0-1.7-2.67,6.42983,6.42983,0,0,0-.92-.71c-2.61-1.74-6.51-2.13-8.99,0a5.81012,5.81012,0,0,0-.69.71q-1.11,1.365-2.28,2.67c-1.28,1.46-2.59,2.87-3.96,4.24-.39.38-.78.77-1.18,1.15-.23.23-.46.45-.69.67-.88.84-1.78,1.65-2.69,2.45-.48.43-.96.85-1.45,1.26-.73.61-1.46,1.22-2.2,1.81-.07.05-.14.1-.21.16-.02.01-.03.03-.05.04-.01,0-.02,0-.03.02a.17861.17861,0,0,0-.07.05c-.22.15-.37.25-.48.34.04-.01995.08-.05.12-.07-.18.14-.37.28-.55.42-1.75,1.29-3.54,2.53-5.37,3.69a99.21022,99.21022,0,0,1-14.22,7.55c-.33.13-.67.27-1.01.4a85.96993,85.96993,0,0,1-40.85,6.02q-2.13008-.165-4.26-.45c-1.64-.24-3.27-.53-4.89-.86a97.93186,97.93186,0,0,1-18.02-5.44,118.65185,118.65185,0,0,1-20.66-12.12c-1-.71-2.01-1.42-3.02-2.11,1.15-2.82,2.28-5.64,3.38-8.48.55-1.37,1.08-2.74,1.6-4.12,4.09-10.63,7.93-21.36,11.61-32.13q5.58-16.365,10.53-32.92.51-1.68.99-3.36,2.595-8.745,4.98-17.53c.15-.56994.31-1.12994.45-1.7q.68994-2.52,1.35-5.04c1-3.79-1.26-8.32-5.24-9.23a7.63441,7.63441,0,0,0-9.22,5.24c-.43,1.62-.86,3.23-1.3,4.85q-3.165,11.74494-6.66,23.41-.51,1.68-1.02,3.36-7.71,25.41-16.93,50.31-1.11,3.015-2.25,6.01c-.37.98-.74,1.96-1.12,2.94-.73,1.93-1.48,3.86-2.23,5.79-.43006,1.13-.87006,2.26-1.31,3.38-.29.71-.57,1.42-.85,2.12a41.80941,41.80941,0,0,0-8.81-2.12l-.48-.06a27.397,27.397,0,0,0-7.01.06,23.91419,23.91419,0,0,0-17.24,10.66c-4.77,7.51-4.71,18.25,1.98,24.63,6.89,6.57,17.32,6.52,25.43,2.41a28.35124,28.35124,0,0,0,10.52-9.86,50.56939,50.56939,0,0,0,2.74-4.65c.21.14.42.28.63.43.8.56,1.6,1.13,2.39,1.69a111.73777,111.73777,0,0,0,14.51,8.91,108.35887,108.35887,0,0,0,34.62,10.47c.27.03.53.07.8.1,1.33.17,2.67.3,4.01.41a103.78229,103.78229,0,0,0,55.58-11.36q2.175-1.125,4.31-2.36,3.315-1.92,6.48-4.08c1.15-.78,2.27-1.57,3.38-2.4a101.04244,101.04244,0,0,0,13.51-11.95q2.35491-2.475,4.51-5.11005a8.0612,8.0612,0,0,0,2.2-5.3A7.5644,7.5644,0,0,0,432.92309,584.266Zm-165.59,23.82c.21-.15.42-.31.62-.47C267.89312,607.766,267.60308,607.936,267.33312,608.086Zm3.21-3.23c-.23.26-.44.52-.67.78a23.36609,23.36609,0,0,1-2.25,2.2c-.11.1-.23.2-.35.29a.00976.00976,0,0,0-.01.01,3.80417,3.80417,0,0,0-.42005.22q-.645.39-1.31994.72a17.00459,17.00459,0,0,1-2.71.75,16.79925,16.79925,0,0,1-2.13.02h-.02a14.82252,14.82252,0,0,1-1.45-.4c-.24-.12-.47-.25994-.7-.4-.09-.08-.17005-.16-.22-.21a2.44015,2.44015,0,0,1-.26995-.29.0098.0098,0,0,0-.01-.01c-.11005-.2-.23005-.4-.34-.6a.031.031,0,0,1-.01-.02c-.08-.25-.15-.51-.21-.77a12.51066,12.51066,0,0,1,.01-1.37,13.4675,13.4675,0,0,1,.54-1.88,11.06776,11.06776,0,0,1,.69-1.26c.02-.04.12-.2.23-.38.01-.01.01-.01.01-.02.15-.17.3-.35.46-.51.27-.3.56-.56.85-.83a18.02212,18.02212,0,0,1,1.75-1.01,19.48061,19.48061,0,0,1,2.93-.79,24.98945,24.98945,0,0,1,4.41.04,30.30134,30.30134,0,0,1,4.1,1.01,36.94452,36.94452,0,0,1-2.77,4.54C270.6231,604.746,270.58312,604.806,270.54308,604.856Zm-11.12-3.29a2.18029,2.18029,0,0,1-.31.38995A1.40868,1.40868,0,0,1,259.42309,601.566Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M402.86309,482.136q-.13494,4.71-.27,9.42-.285,10.455-.59,20.92-.315,11.775-.66,23.54-.165,6.07507-.34,12.15-.465,16.365-.92,32.72c-.03,1.13-.07,2.25-.1,3.38q-.225,8.11506-.45,16.23-.255,8.805-.5,17.61-.18,6.59994-.37,13.21-1.34994,47.895-2.7,95.79a7.64844,7.64844,0,0,1-7.5,7.5,7.56114,7.56114,0,0,1-7.5-7.5q.75-26.94,1.52-53.88.675-24.36,1.37-48.72.225-8.025.45-16.06.345-12.09.68-24.18c.03-1.13.07-2.25.1-3.38.02-.99.05-1.97.08-2.96q.66-23.475,1.32-46.96.27-9.24.52-18.49.3-10.545.6-21.08c.09-3.09.17005-6.17.26-9.26a7.64844,7.64844,0,0,1,7.5-7.5A7.56116,7.56116,0,0,1,402.86309,482.136Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M814.29118,484.2172a893.23753,893.23753,0,0,1-28.16112,87.94127c-3.007,7.94641-6.08319,15.877-9.3715,23.71185l.75606-1.7916a54.58274,54.58274,0,0,1-5.58953,10.61184q-.22935.32119-.46685.63642,1.16559-1.49043.4428-.589c-.25405.30065-.5049.60219-.7676.89546a23.66436,23.66436,0,0,1-2.2489,2.20318q-.30139.25767-.61188.5043l.93783-.729c-.10884.25668-.87275.59747-1.11067.74287a18.25362,18.25362,0,0,1-2.40479,1.21853l1.7916-.75606a19.0859,19.0859,0,0,1-4.23122,1.16069l1.9938-.26791a17.02055,17.02055,0,0,1-4.29785.046l1.99379.2679a14.0022,14.0022,0,0,1-3.40493-.917l1.79159.75606a12.01175,12.01175,0,0,1-1.67882-.89614c-.27135-.17688-1.10526-.80852-.01487.02461,1.13336.86595.14562.07434-.08763-.15584-.19427-.19171-.36962-.4-.55974-.595-.88208-.90454.99637,1.55662.39689.49858a18.18179,18.18179,0,0,1-.87827-1.63672l.75606,1.7916a11.92493,11.92493,0,0,1-.728-2.65143l.26791,1.9938a13.65147,13.65147,0,0,1-.00316-3.40491l-.2679,1.9938a15.96371,15.96371,0,0,1,.99486-3.68011l-.75606,1.7916a16.72914,16.72914,0,0,1,1.17794-2.29848,6.72934,6.72934,0,0,1,.72851-1.0714c.04915.01594-1.26865,1.51278-.56937.757.1829-.19767.354-.40592.539-.602.29617-.31382.61354-.60082.92561-.89791,1.04458-.99442-1.46188.966-.25652.17907a19.0489,19.0489,0,0,1,2.74925-1.49923l-1.79159.75606a20.31136,20.31136,0,0,1,4.99523-1.33984l-1.9938.2679a25.62828,25.62828,0,0,1,6.46062.07647l-1.9938-.2679a33.21056,33.21056,0,0,1,7.89178,2.2199l-1.7916-.75606c5.38965,2.31383,10.16308,5.74926,14.928,9.118a111.94962,111.94962,0,0,0,14.50615,8.9065,108.38849,108.38849,0,0,0,34.62226,10.47371,103.93268,103.93268,0,0,0,92.58557-36.75192,8.07773,8.07773,0,0,0,2.1967-5.3033,7.63232,7.63232,0,0,0-2.1967-5.3033c-2.75154-2.52586-7.94926-3.239-10.6066,0a95.63575,95.63575,0,0,1-8.10664,8.72692q-2.01736,1.914-4.14232,3.70983-1.21364,1.02588-2.46086,2.01121c-.3934.31081-1.61863,1.13807.26309-.19744-.43135.30614-.845.64036-1.27058.95478a99.26881,99.26881,0,0,1-20.33215,11.56478l1.79159-.75606a96.8364,96.8364,0,0,1-24.17119,6.62249l1.99379-.2679a97.64308,97.64308,0,0,1-25.75362-.03807l1.99379.2679a99.79982,99.79982,0,0,1-24.857-6.77027l1.7916.75607a116.02515,116.02515,0,0,1-21.7364-12.59112,86.87725,86.87725,0,0,0-11.113-6.99417,42.8238,42.8238,0,0,0-14.43784-4.38851c-9.43884-1.11076-19.0571,2.56562-24.24624,10.72035-4.77557,7.50482-4.71394,18.24362,1.97369,24.62519,6.8877,6.5725,17.31846,6.51693,25.43556,2.40567,7.81741-3.95946,12.51288-12.18539,15.815-19.94186,7.43109-17.45514,14.01023-35.31364,20.1399-53.263q9.09651-26.63712,16.49855-53.81332.91661-3.36581,1.80683-6.73869c1.001-3.78869-1.26094-8.32-5.23829-9.22589a7.63317,7.63317,0,0,0-9.22589,5.23829Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M889.12382,482.13557l-2.69954,95.79311-2.68548,95.29418-1.5185,53.88362a7.56465,7.56465,0,0,0,7.5,7.5,7.64923,7.64923,0,0,0,7.5-7.5l2.69955-95.79311,2.68548-95.29418,1.51849-53.88362a7.56465,7.56465,0,0,0-7.5-7.5,7.64923,7.64923,0,0,0-7.5,7.5Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M629.52566,700.36106h2.32885V594.31942h54.32863v-2.32291H631.85451V547.25214H673.8102q-.92256-1.17339-1.89893-2.31694H631.85451V515.38231c-.7703-.32846-1.54659-.64493-2.32885-.9435V544.9352h-45.652V507.07c-.78227.03583-1.55258.08959-2.3289.15527v37.71h-36.4201V516.68409c-.78227.34636-1.55258.71061-2.31694,1.0928V544.9352h-30.6158v2.31694h30.6158v44.74437h-30.6158v2.32291h30.6158V700.36106h2.31694V594.31942a36.41283,36.41283,0,0,1,36.4201,36.42007v69.62157h2.3289V594.31942h45.652Zm-84.401-108.36455V547.25214h36.4201v44.74437Zm38.749,0V547.25214h.91362a44.74135,44.74135,0,0,1,44.73842,44.74437Z",transform:"translate(-169.93432 -164.42601)",opacity:.2}),y.createElement("path",{d:"M615.30309,668.566a63.05854,63.05854,0,0,1-20.05,33.7c-.74.64-1.48,1.26-2.25,1.87q-2.805.25506-5.57.52c-1.53.14-3.04.29-4.54.43l-.27.03-.19-1.64-.76-6.64a37.623,37.623,0,0,1-3.3-32.44c2.64-7.12,7.42-13.41,12.12-19.65,6.49-8.62,12.8-17.14,13.03-27.65a60.54415,60.54415,0,0,1,7.9,13.33,16.432,16.432,0,0,0-5.12,3.76995c-.41.45-.82,1.08-.54,1.62006.24.46.84.57,1.36.62994,1.25.13,2.51.26,3.76.39,1,.11,2,.21,3,.32a63.99025,63.99025,0,0,1,2.45,12.18A61.18851,61.18851,0,0,1,615.30309,668.566Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M648.50311,642.356c-5.9,4.29-9.35,10.46-12.03,17.26a16.62776,16.62776,0,0,0-7.17,4.58c-.41.45-.82,1.08-.54,1.62006.24.46.84.57,1.36.62994,1.25.13,2.51.26,3.76.39-2.68,8.04-5.14,16.36-9.88,23.15a36.98942,36.98942,0,0,1-12.03,10.91,38.49166,38.49166,0,0,1-4.02,1.99q-7.62.585-14.95,1.25-2.805.25506-5.57.52c-1.53.14-3.04.29-4.54.43q-.015-.825,0-1.65a63.30382,63.30382,0,0,1,15.25-39.86c.45-.52.91-1.03,1.38-1.54a61.7925,61.7925,0,0,1,16.81-12.7A62.65425,62.65425,0,0,1,648.50311,642.356Z",transform:"translate(-169.93432 -164.42601)",fill:"#6c63ff"}),y.createElement("path",{d:"M589.16308,699.526l-1.15,3.4-.58,1.73c-1.53.14-3.04.29-4.54.43l-.27.03c-1.66.17-3.31.34-4.96.51-.43-.5-.86-1.01-1.28-1.53a62.03045,62.03045,0,0,1,8.07-87.11c-1.32,6.91.22,13.53,2.75,20.1-.27.11-.53.22-.78.34a16.432,16.432,0,0,0-5.12,3.76995c-.41.45-.82,1.08-.54,1.62006.24.46.84.57,1.36.62994,1.25.13,2.51.26,3.76.39,1,.11,2,.21,3,.32q.705.075,1.41.15c.07.15.13.29.2.44,2.85,6.18,5.92,12.39,7.65,18.83a43.66591,43.66591,0,0,1,1.02,4.91A37.604,37.604,0,0,1,589.16308,699.526Z",transform:"translate(-169.93432 -164.42601)",fill:"#6c63ff"}),y.createElement("path",{d:"M689.82123,554.48655c-8.60876-16.79219-21.94605-30.92088-37.63219-41.30357a114.2374,114.2374,0,0,0-52.5626-18.37992q-3.69043-.33535-7.399-.39281c-2.92141-.04371-46.866,12.63176-61.58712,22.98214a114.29462,114.29462,0,0,0-35.333,39.527,102.49972,102.49972,0,0,0-12.12557,51.6334,113.56387,113.56387,0,0,0,14.70268,51.47577,110.47507,110.47507,0,0,0,36.44425,38.74592C549.66655,708.561,565.07375,734.51,583.1831,735.426c18.24576.923,39.05418-23.55495,55.6951-30.98707a104.42533,104.42533,0,0,0,41.72554-34.005,110.24964,110.24964,0,0,0,19.599-48.94777c2.57368-18.08313,1.37415-36.73271-4.80123-54.01627a111.85969,111.85969,0,0,0-5.58024-12.9833c-1.77961-3.50519-6.996-4.7959-10.26142-2.69063a7.67979,7.67979,0,0,0-2.69064,10.26142q1.56766,3.08773,2.91536,6.27758l-.75606-1.7916a101.15088,101.15088,0,0,1,6.87641,25.53816l-.26791-1.99379a109.2286,109.2286,0,0,1-.06613,28.68252l.26791-1.9938a109.73379,109.73379,0,0,1-7.55462,27.67419l.75606-1.79159a104.212,104.212,0,0,1-6.67151,13.09835q-1.92308,3.18563-4.08062,6.22159c-.63172.8881-1.28287,1.761-1.939,2.63114-.85625,1.13555,1.16691-1.48321.28228-.36941-.15068.18972-.30049.3801-.45182.5693q-.68121.85165-1.3818,1.68765a93.61337,93.61337,0,0,1-10.17647,10.38359q-1.36615,1.19232-2.77786,2.33115c-.46871.37832-.932.77269-1.42079,1.12472.01861-.0134,1.57956-1.19945.65556-.511-.2905.21644-.57851.43619-.86961.65184q-2.90994,2.1558-5.97433,4.092a103.48509,103.48509,0,0,1-14.75565,7.7131l1.7916-.75606a109.21493,109.21493,0,0,1-27.59663,7.55154l1.9938-.26791a108.15361,108.15361,0,0,1-28.58907.0506l1.99379.2679a99.835,99.835,0,0,1-25.09531-6.78448l1.79159.75607a93.64314,93.64314,0,0,1-13.41605-6.99094q-3.17437-2-6.18358-4.24743c-.2862-.21359-.56992-.43038-.855-.64549-.9155-.69088.65765.50965.67021.51787a19.16864,19.16864,0,0,1-1.535-1.22469q-1.45353-1.18358-2.86136-2.4218a101.98931,101.98931,0,0,1-10.49319-10.70945q-1.21308-1.43379-2.37407-2.91054c-.33524-.4263-.9465-1.29026.40424.5289-.17775-.23939-.36206-.47414-.54159-.71223q-.64657-.85751-1.27568-1.72793-2.203-3.048-4.18787-6.24586a109.29037,109.29037,0,0,1-7.8054-15.10831l.75606,1.7916a106.58753,106.58753,0,0,1-7.34039-26.837l.26791,1.9938a97.86589,97.86589,0,0,1-.04843-25.63587l-.2679,1.9938A94.673,94.673,0,0,1,505.27587,570.55l-.75606,1.7916a101.55725,101.55725,0,0,1,7.19519-13.85624q2.0655-3.32328,4.37767-6.4847.52528-.71832,1.06244-1.42786c.324-.4279,1.215-1.49333-.30537.38842.14906-.18449.29252-.37428.43942-.56041q1.26882-1.60756,2.59959-3.1649A107.40164,107.40164,0,0,1,530.772,536.21508q1.47408-1.29171,2.99464-2.52906.6909-.56218,1.39108-1.11284c.18664-.14673.37574-.29073.56152-.43858-1.99743,1.58953-.555.43261-.10157.09288q3.13393-2.34833,6.43534-4.46134a103.64393,103.64393,0,0,1,15.38655-8.10791l-1.7916.75606c7.76008-3.25839,42.14086-10.9492,48.394-10.10973l-1.99379-.26791A106.22471,106.22471,0,0,1,628.768,517.419l-1.7916-.75606a110.31334,110.31334,0,0,1,12.6002,6.32922q3.04344,1.78405,5.96742,3.76252,1.38351.93658,2.73809,1.915.677.48917,1.34626.98885c.24789.185.49386.37253.74135.558,1.03924.779-1.43148-1.1281-.34209-.26655a110.84261,110.84261,0,0,1,10.36783,9.2532q2.401,2.445,4.63686,5.04515,1.14659,1.33419,2.24643,2.70757c.36436.45495,1.60506,2.101.08448.08457.37165.49285.74744.98239,1.11436,1.47884a97.97718,97.97718,0,0,1,8.39161,13.53807c1.79317,3.49775,6.98675,4.80186,10.26142,2.69064A7.67666,7.67666,0,0,0,689.82123,554.48655Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M602.43116,676.88167a3.77983,3.77983,0,0,1-2.73939-6.55137c.09531-.37882.16368-.65085.259-1.02968q-.05115-.12366-.1029-.24717c-3.47987-8.29769-25.685,14.83336-26.645,22.63179a30.029,30.029,0,0,0,.52714,10.32752A120.39223,120.39223,0,0,1,562.77838,652.01a116.20247,116.20247,0,0,1,.72078-12.96332q.59712-5.293,1.65679-10.51055a121.78667,121.78667,0,0,1,24.1515-51.61646c6.87378.38364,12.898-.66348,13.47967-13.98532.10346-2.36972,1.86113-4.42156,2.24841-6.756-.65621.08607-1.32321.13985-1.97941.18285-.20444.0107-.41958.02149-.624.03228l-.07709.00346a3.745,3.745,0,0,1-3.07566-6.10115q.425-.52305.85054-1.04557c.43036-.53793.87143-1.06507,1.30171-1.60292a1.865,1.865,0,0,0,.13986-.16144c.49494-.61322.98971-1.21564,1.48465-1.82885a10.82911,10.82911,0,0,0-3.55014-3.43169c-4.95941-2.90463-11.80146-.89293-15.38389,3.59313-3.59313,4.486-4.27083,10.77947-3.023,16.3843a43.39764,43.39764,0,0,0,6.003,13.3828c-.269.34429-.54872.67779-.81765,1.02209a122.57366,122.57366,0,0,0-12.79359,20.2681c1.0163-7.93863-11.41159-36.60795-16.21776-42.68052-5.773-7.29409-17.61108-4.11077-18.62815,5.13562q-.01476.13428-.02884.26849,1.07082.60411,2.0964,1.28237a5.12707,5.12707,0,0,1-2.06713,9.33031l-.10452.01613c-9.55573,13.64367,21.07745,49.1547,28.74518,41.18139a125.11045,125.11045,0,0,0-6.73449,31.69282,118.66429,118.66429,0,0,0,.08607,19.15986l-.03231-.22593C558.90163,648.154,529.674,627.51374,521.139,629.233c-4.91675.99041-9.75952.76525-9.01293,5.72484q.01788.11874.03635.2375a34.4418,34.4418,0,0,1,3.862,1.86105q1.07082.60423,2.09639,1.28237a5.12712,5.12712,0,0,1-2.06712,9.33039l-.10464.01606c-.07528.01079-.13987.02157-.21507.03237-4.34967,14.96631,27.90735,39.12,47.5177,31.43461h.01081a125.07484,125.07484,0,0,0,8.402,24.52806H601.679c.10765-.3335.20443-.67779.3013-1.01129a34.102,34.102,0,0,1-8.30521-.49477c2.22693-2.73257,4.45377-5.48664,6.6807-8.21913a1.86122,1.86122,0,0,0,.13986-.16135c1.12956-1.39849,2.26992-2.78627,3.39948-4.18476l.00061-.00173a49.95232,49.95232,0,0,0-1.46367-12.72495Zm-34.37066-67.613.0158-.02133-.0158.04282Zm-6.64832,59.93237-.25822-.58084c.01079-.41957.01079-.83914,0-1.26942,0-.11845-.0215-.23672-.0215-.35508.09678.74228.18285,1.48464.29042,2.22692Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("circle",{cx:95.24878,cy:439,r:11,fill:"#3f3d56"}),y.createElement("circle",{cx:227.24878,cy:559,r:11,fill:"#3f3d56"}),y.createElement("circle",{cx:728.24878,cy:559,r:11,fill:"#3f3d56"}),y.createElement("circle",{cx:755.24878,cy:419,r:11,fill:"#3f3d56"}),y.createElement("circle",{cx:723.24878,cy:317,r:11,fill:"#3f3d56"}),y.createElement("path",{d:"M434.1831,583.426a10.949,10.949,0,1,1-.21-2.16A10.9921,10.9921,0,0,1,434.1831,583.426Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("circle",{cx:484.24878,cy:349,r:11,fill:"#3f3d56"}),y.createElement("path",{d:"M545.1831,513.426a10.949,10.949,0,1,1-.21-2.16A10.9921,10.9921,0,0,1,545.1831,513.426Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("path",{d:"M403.1831,481.426a10.949,10.949,0,1,1-.21-2.16A10.9921,10.9921,0,0,1,403.1831,481.426Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),y.createElement("circle",{cx:599.24878,cy:443,r:11,fill:"#3f3d56"}),y.createElement("circle",{cx:426.24878,cy:338,r:16,fill:"#3f3d56"}),y.createElement("path",{d:"M1028.875,735.26666l-857.75.30733a1.19068,1.19068,0,1,1,0-2.38136l857.75-.30734a1.19069,1.19069,0,0,1,0,2.38137Z",transform:"translate(-169.93432 -164.42601)",fill:"#cacaca"})),JM=y.forwardRef($M),e2=()=>W.jsx("div",{className:"not-found",children:W.jsx(JM,{})}),eO=()=>{const{path:a}=o8(),i=dl();return y.useEffect(()=>{const n=decodeURIComponent(a);i(n)},[a,i]),W.jsx(im,{})};/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */const{entries:Q8,setPrototypeOf:I7,isFrozen:tO,getPrototypeOf:nO,getOwnPropertyDescriptor:rO}=Object;let{freeze:Wn,seal:Pr,create:K8}=Object,{apply:B2,construct:I2}=typeof Reflect<"u"&&Reflect;Wn||(Wn=function(i){return i});Pr||(Pr=function(i){return i});B2||(B2=function(i,n,t){return i.apply(n,t)});I2||(I2=function(i,n){return new i(...n)});const uc=Qn(Array.prototype.forEach),aO=Qn(Array.prototype.lastIndexOf),F7=Qn(Array.prototype.pop),Es=Qn(Array.prototype.push),iO=Qn(Array.prototype.splice),bc=Qn(String.prototype.toLowerCase),t2=Qn(String.prototype.toString),G7=Qn(String.prototype.match),ws=Qn(String.prototype.replace),lO=Qn(String.prototype.indexOf),oO=Qn(String.prototype.trim),Vr=Qn(Object.prototype.hasOwnProperty),Gn=Qn(RegExp.prototype.test),Ds=sO(TypeError);function Qn(a){return function(i){i instanceof RegExp&&(i.lastIndex=0);for(var n=arguments.length,t=new Array(n>1?n-1:0),l=1;l<n;l++)t[l-1]=arguments[l];return B2(a,i,t)}}function sO(a){return function(){for(var i=arguments.length,n=new Array(i),t=0;t<i;t++)n[t]=arguments[t];return I2(a,n)}}function Xe(a,i){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:bc;I7&&I7(a,null);let t=i.length;for(;t--;){let l=i[t];if(typeof l=="string"){const s=n(l);s!==l&&(tO(i)||(i[t]=s),l=s)}a[l]=!0}return a}function uO(a){for(let i=0;i<a.length;i++)Vr(a,i)||(a[i]=null);return a}function Ua(a){const i=K8(null);for(const[n,t]of Q8(a))Vr(a,n)&&(Array.isArray(t)?i[n]=uO(t):t&&typeof t=="object"&&t.constructor===Object?i[n]=Ua(t):i[n]=t);return i}function Ts(a,i){for(;a!==null;){const t=rO(a,i);if(t){if(t.get)return Qn(t.get);if(typeof t.value=="function")return Qn(t.value)}a=nO(a)}function n(){return null}return n}const Z7=Wn(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),n2=Wn(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),r2=Wn(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),cO=Wn(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),a2=Wn(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),fO=Wn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),V7=Wn(["#text"]),W7=Wn(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),i2=Wn(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Q7=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"]),cc=Wn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),dO=Pr(/\{\{[\w\W]*|[\w\W]*\}\}/gm),hO=Pr(/<%[\w\W]*|[\w\W]*%>/gm),pO=Pr(/\$\{[\w\W]*/gm),mO=Pr(/^data-[\-\w.\u00B7-\uFFFF]+$/),vO=Pr(/^aria-[\-\w]+$/),X8=Pr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),gO=Pr(/^(?:\w+script|data):/i),yO=Pr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$8=Pr(/^html$/i),bO=Pr(/^[a-z][.\w]*(-[.\w]+)+$/i);var K7=Object.freeze({__proto__:null,ARIA_ATTR:vO,ATTR_WHITESPACE:yO,CUSTOM_ELEMENT:bO,DATA_ATTR:mO,DOCTYPE_NAME:$8,ERB_EXPR:hO,IS_ALLOWED_URI:X8,IS_SCRIPT_OR_DATA:gO,MUSTACHE_EXPR:dO,TMPLIT_EXPR:pO});const xs={element:1,text:3,progressingInstruction:7,comment:8,document:9},_O=function(){return typeof window>"u"?null:window},SO=function(i,n){if(typeof i!="object"||typeof i.createPolicy!="function")return null;let t=null;const l="data-tt-policy-suffix";n&&n.hasAttribute(l)&&(t=n.getAttribute(l));const s="dompurify"+(t?"#"+t:"");try{return i.createPolicy(s,{createHTML(c){return c},createScriptURL(c){return c}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},X7=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function J8(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_O();const i=Ee=>J8(Ee);if(i.version="3.2.6",i.removed=[],!a||!a.document||a.document.nodeType!==xs.document||!a.Element)return i.isSupported=!1,i;let{document:n}=a;const t=n,l=t.currentScript,{DocumentFragment:s,HTMLTemplateElement:c,Node:d,Element:h,NodeFilter:m,NamedNodeMap:v=a.NamedNodeMap||a.MozNamedAttrMap,HTMLFormElement:g,DOMParser:b,trustedTypes:D}=a,M=h.prototype,C=Ts(M,"cloneNode"),N=Ts(M,"remove"),H=Ts(M,"nextSibling"),O=Ts(M,"childNodes"),Z=Ts(M,"parentNode");if(typeof c=="function"){const Ee=n.createElement("template");Ee.content&&Ee.content.ownerDocument&&(n=Ee.content.ownerDocument)}let K,X="";const{implementation:re,createNodeIterator:V,createDocumentFragment:S,getElementsByTagName:E}=n,{importNode:w}=t;let q=X7();i.isSupported=typeof Q8=="function"&&typeof Z=="function"&&re&&re.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:L,ERB_EXPR:z,TMPLIT_EXPR:j,DATA_ATTR:U,ARIA_ATTR:T,IS_SCRIPT_OR_DATA:R,ATTR_WHITESPACE:k,CUSTOM_ELEMENT:$}=K7;let{IS_ALLOWED_URI:A}=K7,Y=null;const oe=Xe({},[...Z7,...n2,...r2,...a2,...V7]);let ae=null;const pe=Xe({},[...W7,...i2,...Q7,...cc]);let ce=Object.seal(K8(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),he=null,je=null,Be=!0,rt=!0,rn=!1,ct=!0,Ct=!1,gt=!0,Ze=!1,et=!1,qt=!1,Pt=!1,kn=!1,yn=!1,ft=!0,zn=!1;const Le="user-content-";let ge=!0,qe=!1,Ne={},$e=null;const tt=Xe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let zt=null;const Tt=Xe({},["audio","video","img","source","image","track"]);let Yn=null;const Kn=Xe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),jn="http://www.w3.org/1998/Math/MathML",dn="http://www.w3.org/2000/svg",xt="http://www.w3.org/1999/xhtml";let Ie=xt,hn=!1,xn=null;const yr=Xe({},[jn,dn,xt],t2);let Bn=Xe({},["mi","mo","mn","ms","mtext"]),Ln=Xe({},["annotation-xml"]);const Mn=Xe({},["title","style","font","a","script"]);let at=null;const In=["application/xhtml+xml","text/html"],nr="text/html";let Pe=null,Ut=null;const Me=n.createElement("form"),ze=function(B){return B instanceof RegExp||B instanceof Function},nt=function(){let B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Ut&&Ut===B)){if((!B||typeof B!="object")&&(B={}),B=Ua(B),at=In.indexOf(B.PARSER_MEDIA_TYPE)===-1?nr:B.PARSER_MEDIA_TYPE,Pe=at==="application/xhtml+xml"?t2:bc,Y=Vr(B,"ALLOWED_TAGS")?Xe({},B.ALLOWED_TAGS,Pe):oe,ae=Vr(B,"ALLOWED_ATTR")?Xe({},B.ALLOWED_ATTR,Pe):pe,xn=Vr(B,"ALLOWED_NAMESPACES")?Xe({},B.ALLOWED_NAMESPACES,t2):yr,Yn=Vr(B,"ADD_URI_SAFE_ATTR")?Xe(Ua(Kn),B.ADD_URI_SAFE_ATTR,Pe):Kn,zt=Vr(B,"ADD_DATA_URI_TAGS")?Xe(Ua(Tt),B.ADD_DATA_URI_TAGS,Pe):Tt,$e=Vr(B,"FORBID_CONTENTS")?Xe({},B.FORBID_CONTENTS,Pe):tt,he=Vr(B,"FORBID_TAGS")?Xe({},B.FORBID_TAGS,Pe):Ua({}),je=Vr(B,"FORBID_ATTR")?Xe({},B.FORBID_ATTR,Pe):Ua({}),Ne=Vr(B,"USE_PROFILES")?B.USE_PROFILES:!1,Be=B.ALLOW_ARIA_ATTR!==!1,rt=B.ALLOW_DATA_ATTR!==!1,rn=B.ALLOW_UNKNOWN_PROTOCOLS||!1,ct=B.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ct=B.SAFE_FOR_TEMPLATES||!1,gt=B.SAFE_FOR_XML!==!1,Ze=B.WHOLE_DOCUMENT||!1,Pt=B.RETURN_DOM||!1,kn=B.RETURN_DOM_FRAGMENT||!1,yn=B.RETURN_TRUSTED_TYPE||!1,qt=B.FORCE_BODY||!1,ft=B.SANITIZE_DOM!==!1,zn=B.SANITIZE_NAMED_PROPS||!1,ge=B.KEEP_CONTENT!==!1,qe=B.IN_PLACE||!1,A=B.ALLOWED_URI_REGEXP||X8,Ie=B.NAMESPACE||xt,Bn=B.MATHML_TEXT_INTEGRATION_POINTS||Bn,Ln=B.HTML_INTEGRATION_POINTS||Ln,ce=B.CUSTOM_ELEMENT_HANDLING||{},B.CUSTOM_ELEMENT_HANDLING&&ze(B.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ce.tagNameCheck=B.CUSTOM_ELEMENT_HANDLING.tagNameCheck),B.CUSTOM_ELEMENT_HANDLING&&ze(B.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ce.attributeNameCheck=B.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),B.CUSTOM_ELEMENT_HANDLING&&typeof B.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ce.allowCustomizedBuiltInElements=B.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ct&&(rt=!1),kn&&(Pt=!0),Ne&&(Y=Xe({},V7),ae=[],Ne.html===!0&&(Xe(Y,Z7),Xe(ae,W7)),Ne.svg===!0&&(Xe(Y,n2),Xe(ae,i2),Xe(ae,cc)),Ne.svgFilters===!0&&(Xe(Y,r2),Xe(ae,i2),Xe(ae,cc)),Ne.mathMl===!0&&(Xe(Y,a2),Xe(ae,Q7),Xe(ae,cc))),B.ADD_TAGS&&(Y===oe&&(Y=Ua(Y)),Xe(Y,B.ADD_TAGS,Pe)),B.ADD_ATTR&&(ae===pe&&(ae=Ua(ae)),Xe(ae,B.ADD_ATTR,Pe)),B.ADD_URI_SAFE_ATTR&&Xe(Yn,B.ADD_URI_SAFE_ATTR,Pe),B.FORBID_CONTENTS&&($e===tt&&($e=Ua($e)),Xe($e,B.FORBID_CONTENTS,Pe)),ge&&(Y["#text"]=!0),Ze&&Xe(Y,["html","head","body"]),Y.table&&(Xe(Y,["tbody"]),delete he.tbody),B.TRUSTED_TYPES_POLICY){if(typeof B.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ds('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof B.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ds('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');K=B.TRUSTED_TYPES_POLICY,X=K.createHTML("")}else K===void 0&&(K=SO(D,l)),K!==null&&typeof X=="string"&&(X=K.createHTML(""));Wn&&Wn(B),Ut=B}},It=Xe({},[...n2,...r2,...cO]),fe=Xe({},[...a2,...fO]),be=function(B){let ue=Z(B);(!ue||!ue.tagName)&&(ue={namespaceURI:Ie,tagName:"template"});const me=bc(B.tagName),xe=bc(ue.tagName);return xn[B.namespaceURI]?B.namespaceURI===dn?ue.namespaceURI===xt?me==="svg":ue.namespaceURI===jn?me==="svg"&&(xe==="annotation-xml"||Bn[xe]):!!It[me]:B.namespaceURI===jn?ue.namespaceURI===xt?me==="math":ue.namespaceURI===dn?me==="math"&&Ln[xe]:!!fe[me]:B.namespaceURI===xt?ue.namespaceURI===dn&&!Ln[xe]||ue.namespaceURI===jn&&!Bn[xe]?!1:!fe[me]&&(Mn[me]||!It[me]):!!(at==="application/xhtml+xml"&&xn[B.namespaceURI]):!1},De=function(B){Es(i.removed,{element:B});try{Z(B).removeChild(B)}catch{N(B)}},dt=function(B,ue){try{Es(i.removed,{attribute:ue.getAttributeNode(B),from:ue})}catch{Es(i.removed,{attribute:null,from:ue})}if(ue.removeAttribute(B),B==="is")if(Pt||kn)try{De(ue)}catch{}else try{ue.setAttribute(B,"")}catch{}},Ft=function(B){let ue=null,me=null;if(qt)B="<remove></remove>"+B;else{const pt=G7(B,/^[\r\n\t ]+/);me=pt&&pt[0]}at==="application/xhtml+xml"&&Ie===xt&&(B='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+B+"</body></html>");const xe=K?K.createHTML(B):B;if(Ie===xt)try{ue=new b().parseFromString(xe,at)}catch{}if(!ue||!ue.documentElement){ue=re.createDocument(Ie,"template",null);try{ue.documentElement.innerHTML=hn?X:xe}catch{}}const Je=ue.body||ue.documentElement;return B&&me&&Je.insertBefore(n.createTextNode(me),Je.childNodes[0]||null),Ie===xt?E.call(ue,Ze?"html":"body")[0]:Ze?ue.documentElement:Je},bn=function(B){return V.call(B.ownerDocument||B,B,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT|m.SHOW_PROCESSING_INSTRUCTION|m.SHOW_CDATA_SECTION,null)},pn=function(B){return B instanceof g&&(typeof B.nodeName!="string"||typeof B.textContent!="string"||typeof B.removeChild!="function"||!(B.attributes instanceof v)||typeof B.removeAttribute!="function"||typeof B.setAttribute!="function"||typeof B.namespaceURI!="string"||typeof B.insertBefore!="function"||typeof B.hasChildNodes!="function")},Rt=function(B){return typeof d=="function"&&B instanceof d};function Ue(Ee,B,ue){uc(Ee,me=>{me.call(i,B,ue,Ut)})}const We=function(B){let ue=null;if(Ue(q.beforeSanitizeElements,B,null),pn(B))return De(B),!0;const me=Pe(B.nodeName);if(Ue(q.uponSanitizeElement,B,{tagName:me,allowedTags:Y}),gt&&B.hasChildNodes()&&!Rt(B.firstElementChild)&&Gn(/<[/\w!]/g,B.innerHTML)&&Gn(/<[/\w!]/g,B.textContent)||B.nodeType===xs.progressingInstruction||gt&&B.nodeType===xs.comment&&Gn(/<[/\w]/g,B.data))return De(B),!0;if(!Y[me]||he[me]){if(!he[me]&&rr(me)&&(ce.tagNameCheck instanceof RegExp&&Gn(ce.tagNameCheck,me)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(me)))return!1;if(ge&&!$e[me]){const xe=Z(B)||B.parentNode,Je=O(B)||B.childNodes;if(Je&&xe){const pt=Je.length;for(let yt=pt-1;yt>=0;--yt){const an=C(Je[yt],!0);an.__removalCount=(B.__removalCount||0)+1,xe.insertBefore(an,H(B))}}}return De(B),!0}return B instanceof h&&!be(B)||(me==="noscript"||me==="noembed"||me==="noframes")&&Gn(/<\/no(script|embed|frames)/i,B.innerHTML)?(De(B),!0):(Ct&&B.nodeType===xs.text&&(ue=B.textContent,uc([L,z,j],xe=>{ue=ws(ue,xe," ")}),B.textContent!==ue&&(Es(i.removed,{element:B.cloneNode()}),B.textContent=ue)),Ue(q.afterSanitizeElements,B,null),!1)},it=function(B,ue,me){if(ft&&(ue==="id"||ue==="name")&&(me in n||me in Me))return!1;if(!(rt&&!je[ue]&&Gn(U,ue))){if(!(Be&&Gn(T,ue))){if(!ae[ue]||je[ue]){if(!(rr(B)&&(ce.tagNameCheck instanceof RegExp&&Gn(ce.tagNameCheck,B)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(B))&&(ce.attributeNameCheck instanceof RegExp&&Gn(ce.attributeNameCheck,ue)||ce.attributeNameCheck instanceof Function&&ce.attributeNameCheck(ue))||ue==="is"&&ce.allowCustomizedBuiltInElements&&(ce.tagNameCheck instanceof RegExp&&Gn(ce.tagNameCheck,me)||ce.tagNameCheck instanceof Function&&ce.tagNameCheck(me))))return!1}else if(!Yn[ue]){if(!Gn(A,ws(me,k,""))){if(!((ue==="src"||ue==="xlink:href"||ue==="href")&&B!=="script"&&lO(me,"data:")===0&&zt[B])){if(!(rn&&!Gn(R,ws(me,k,"")))){if(me)return!1}}}}}}return!0},rr=function(B){return B!=="annotation-xml"&&G7(B,$)},ot=function(B){Ue(q.beforeSanitizeAttributes,B,null);const{attributes:ue}=B;if(!ue||pn(B))return;const me={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ae,forceKeepAttr:void 0};let xe=ue.length;for(;xe--;){const Je=ue[xe],{name:pt,namespaceURI:yt,value:an}=Je,_n=Pe(pt),ln=an;let Ht=pt==="value"?ln:oO(ln);if(me.attrName=_n,me.attrValue=Ht,me.keepAttr=!0,me.forceKeepAttr=void 0,Ue(q.uponSanitizeAttribute,B,me),Ht=me.attrValue,zn&&(_n==="id"||_n==="name")&&(dt(pt,B),Ht=Le+Ht),gt&&Gn(/((--!?|])>)|<\/(style|title)/i,Ht)){dt(pt,B);continue}if(me.forceKeepAttr)continue;if(!me.keepAttr){dt(pt,B);continue}if(!ct&&Gn(/\/>/i,Ht)){dt(pt,B);continue}Ct&&uc([L,z,j],br=>{Ht=ws(Ht,br," ")});const ea=Pe(B.nodeName);if(!it(ea,_n,Ht)){dt(pt,B);continue}if(K&&typeof D=="object"&&typeof D.getAttributeType=="function"&&!yt)switch(D.getAttributeType(ea,_n)){case"TrustedHTML":{Ht=K.createHTML(Ht);break}case"TrustedScriptURL":{Ht=K.createScriptURL(Ht);break}}if(Ht!==ln)try{yt?B.setAttributeNS(yt,pt,Ht):B.setAttribute(pt,Ht),pn(B)?De(B):F7(i.removed)}catch{dt(pt,B)}}Ue(q.afterSanitizeAttributes,B,null)},_t=function Ee(B){let ue=null;const me=bn(B);for(Ue(q.beforeSanitizeShadowDOM,B,null);ue=me.nextNode();)Ue(q.uponSanitizeShadowNode,ue,null),We(ue),ot(ue),ue.content instanceof s&&Ee(ue.content);Ue(q.afterSanitizeShadowDOM,B,null)};return i.sanitize=function(Ee){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ue=null,me=null,xe=null,Je=null;if(hn=!Ee,hn&&(Ee="<!-->"),typeof Ee!="string"&&!Rt(Ee))if(typeof Ee.toString=="function"){if(Ee=Ee.toString(),typeof Ee!="string")throw Ds("dirty is not a string, aborting")}else throw Ds("toString is not a function");if(!i.isSupported)return Ee;if(et||nt(B),i.removed=[],typeof Ee=="string"&&(qe=!1),qe){if(Ee.nodeName){const an=Pe(Ee.nodeName);if(!Y[an]||he[an])throw Ds("root node is forbidden and cannot be sanitized in-place")}}else if(Ee instanceof d)ue=Ft("<!---->"),me=ue.ownerDocument.importNode(Ee,!0),me.nodeType===xs.element&&me.nodeName==="BODY"||me.nodeName==="HTML"?ue=me:ue.appendChild(me);else{if(!Pt&&!Ct&&!Ze&&Ee.indexOf("<")===-1)return K&&yn?K.createHTML(Ee):Ee;if(ue=Ft(Ee),!ue)return Pt?null:yn?X:""}ue&&qt&&De(ue.firstChild);const pt=bn(qe?Ee:ue);for(;xe=pt.nextNode();)We(xe),ot(xe),xe.content instanceof s&&_t(xe.content);if(qe)return Ee;if(Pt){if(kn)for(Je=S.call(ue.ownerDocument);ue.firstChild;)Je.appendChild(ue.firstChild);else Je=ue;return(ae.shadowroot||ae.shadowrootmode)&&(Je=w.call(t,Je,!0)),Je}let yt=Ze?ue.outerHTML:ue.innerHTML;return Ze&&Y["!doctype"]&&ue.ownerDocument&&ue.ownerDocument.doctype&&ue.ownerDocument.doctype.name&&Gn($8,ue.ownerDocument.doctype.name)&&(yt="<!DOCTYPE "+ue.ownerDocument.doctype.name+`>
`+yt),Ct&&uc([L,z,j],an=>{yt=ws(yt,an," ")}),K&&yn?K.createHTML(yt):yt},i.setConfig=function(){let Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};nt(Ee),et=!0},i.clearConfig=function(){Ut=null,et=!1},i.isValidAttribute=function(Ee,B,ue){Ut||nt({});const me=Pe(Ee),xe=Pe(B);return it(me,xe,ue)},i.addHook=function(Ee,B){typeof B=="function"&&Es(q[Ee],B)},i.removeHook=function(Ee,B){if(B!==void 0){const ue=aO(q[Ee],B);return ue===-1?void 0:iO(q[Ee],ue,1)[0]}return F7(q[Ee])},i.removeHooks=function(Ee){q[Ee]=[]},i.removeAllHooks=function(){q=X7()},i}var Oi=J8();const EO=({title:a,titleId:i,...n},t)=>y.createElement("svg",{height:"300px",width:"300px",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 100 100",enableBackground:"new 0 0 100 100",xmlSpace:"preserve",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("path",{d:"M66.55,46.015c5.367,0,9.733-4.367,9.733-9.734s-4.366-9.734-9.733-9.734s-9.733,4.367-9.733,9.734  S61.183,46.015,66.55,46.015z M66.55,29.548c3.713,0,6.733,3.021,6.733,6.734s-3.021,6.734-6.733,6.734s-6.733-3.021-6.733-6.734  S62.837,29.548,66.55,29.548z M23.698,30.048c0-4.222,3.422-7.644,7.645-7.644c4.223,0,7.645,3.422,7.645,7.644  c0,4.222-3.422,7.645-7.645,7.645C27.121,37.692,23.698,34.27,23.698,30.048z M96.021,64.201H83.41v21.783h-3V61.749  c0-6.025-4.902-10.928-10.928-10.928h-3.865c-6.025,0-10.928,4.902-10.928,10.928v24.235h-3V64.201H6.021v-3h12.918v-9.557  c0-6.373,5.166-11.539,11.538-11.539h1.731c6.372,0,11.539,5.166,11.539,11.539v9.557h7.97c0.291-7.425,6.405-13.38,13.9-13.38  h3.865c7.495,0,13.609,5.955,13.9,13.38h12.639V64.201z"})),wO=y.forwardRef(EO),DO="/assets/desk-CxZ7J2lW.webp",TO="/assets/badge-CsAHMs-r.webp",xO="/assets/screen-DJqmZq6P.webp",MO=()=>{const a=(n,t,l)=>{const s=l%2===0?"reversed":"";return W.jsxs("div",{className:`mod-login info ${s}`,children:[W.jsxs("div",{className:"header-left info",children:[W.jsxs("div",{className:"info-title",children:[W.jsx("h2",{children:n[0]}),W.jsx("div",{className:"admin-function-container",children:W.jsx(UE,{label:Re.t(`landing.${n[2]?"adminFunction":"studentFunction"}`),type:K9.Main_400})})]}),W.jsx("p",{dangerouslySetInnerHTML:{__html:Oi.sanitize(n[1])}})]}),W.jsx("div",{className:"header-right info",children:W.jsx("img",{src:t,alt:"logo",className:`${s}`})})]},l)},i=[xO,DO,TO];return W.jsx("div",{className:"mod-login-container bottom",children:W.jsxs("div",{className:"mod-login bottom",children:[W.jsx("h1",{children:Re.t("landing.works")}),Re.translations[Re.locale].landing.info.map((n,t)=>a(n,i[t],t)),W.jsx("div",{className:"landing-footer",children:W.jsx("p",{dangerouslySetInnerHTML:{__html:Oi.sanitize(Re.t("landing.footer"))}})})]})})},$7=()=>{const[a,i]=y.useState(!1),n=()=>{i(!0),setTimeout(()=>i(!1),2250)},t=()=>{const l=window.location.origin;window.location.href=`${l}/Shibboleth.sso/Login?target=/&forceAuthn=true`};return W.jsxs("div",{className:"top-container",children:[W.jsx("div",{className:"mod-login-container",children:W.jsxs("div",{className:"mod-login",children:[W.jsxs("div",{className:"header-left",children:[W.jsx("h1",{className:"header-title",dangerouslySetInnerHTML:{__html:Oi.sanitize(Re.t("landing.header.title"))}}),W.jsx(ao,{onClick:()=>t(),txt:Re.t("landing.header.login"),type:Mi.Primary,size:am.Full}),W.jsx("p",{className:"sup",dangerouslySetInnerHTML:{__html:Oi.sanitize(Re.t("landing.header.sup"))}})]}),W.jsx("div",{className:`header-right ${a?"animated":""}`,onClick:n,children:W.jsx(wO,{})})]})}),W.jsx(MO,{})]})},OO=({title:a,titleId:i,...n},t)=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,viewBox:"0 0 22.5 22.5",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("circle",{className:"bg",cx:11.2,cy:11.2,r:11.2,fill:"none"}),y.createElement("g",{fill:"none",stroke:"#000",strokeWidth:1.5},y.createElement("path",{d:"M11.2 21.8c5.8 0 10.5-4.7 10.5-10.5S17.1.8 11.2.8.8 5.4.8 11.2s4.6 10.6 10.4 10.6z",strokeMiterlimit:10}),y.createElement("path",{d:"M11.2 15.5c-.1 0-.1 0-.2.1-.1 0-.1.1-.1.2v.2c0 .1.1.1.1.2.1.1.1.1.2.1h.2c.1 0 .1-.1.2-.1 0-.1.1-.1.1-.2s0-.2-.1-.3c-.2-.2-.3-.2-.4-.2z",strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M11.2 12.7V4.9",strokeLinecap:"round",strokeMiterlimit:10}))),AO=y.forwardRef(OO);function CO({name:a,onClick:i,activeTab:n,className:t="",label:l,Icon:s,notifier:c,readOnly:d,busy:h}){const m=()=>{d||i(a)};t+=` tab ${a}`,n===a&&(t+=" active"),d&&(t+=" read-only"),h&&(t+=" busy");let v=null;if(l&&l.indexOf("(")>-1){const g=l.substring(l.indexOf("(")+1,l.indexOf(")"));l=l.substring(0,l.indexOf("(")-1),v=W.jsx(kE,{value:g,small:!0})}return W.jsxs("div",{className:t,onClick:m,children:[c&&W.jsx("span",{className:"notifier",children:W.jsx(AO,{})}),W.jsxs("button",{className:"tab-label",children:[s&&W.jsx(s,{}),l,v]})]})}const RO=({children:a,className:i,activeTab:n,tabChanged:t})=>{const l=a.filter(s=>s);return a.some(s=>s.props&&s.props.name===n)||(n=(a[0]||{props:{name:n}}).props.name),W.jsxs(W.Fragment,{children:[W.jsx("div",{className:"tabs-container",children:W.jsx("div",{className:`tabs ${i||""}`,children:l.map(s=>{const{label:c,name:d,notifier:h,readOnly:m}=s.props;return W.jsx(CO,{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})]})},NO=({children:a})=>W.jsx("div",{className:"unit-header-container",children:W.jsx("div",{className:"unit-header",children:W.jsx("div",{className:"obj-name",children:a})})}),kO=({children:a,className:i=""})=>W.jsx("div",{className:`page ${i}`,children:a}),LO=({title:a,titleId:i,...n},t)=>y.createElement("svg",{className:"info-svg",xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,viewBox:"0 0 22.5 22.5",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("circle",{className:"bg",cx:11.2,cy:11.2,r:11.2,fill:"none"}),y.createElement("g",{fill:"none"},y.createElement("path",{d:"M21.8 11.2c0 5.8-4.7 10.5-10.5 10.5C5.5 21.8.8 17 .8 11.2S5.5.7 11.3.7c5.7.1 10.5 4.8 10.5 10.5z"}),y.createElement("path",{d:"M21.8 11.2c0 5.8-4.7 10.5-10.5 10.5C5.5 21.8.8 17 .8 11.2S5.5.7 11.3.7c5.7.1 10.5 4.8 10.5 10.5z",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M13.5 15.8h-.8c-.4 0-.8-.2-1.1-.4-.3-.3-.4-.7-.4-1.1v-3.8c0-.2-.1-.4-.2-.5-.1-.1-.3-.2-.5-.2h-.7M10.9 6c-.1 0-.1 0-.2.1-.1 0-.1.1-.1.2v.2c0 .1.1.1.1.2.1.1.1.1.2.1h.2c.1 0 .1-.1.2-.1 0-.1.1-.1.1-.2s0-.2-.1-.3c-.2-.2-.3-.2-.4-.2z",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),qO=y.forwardRef(LO),UO=({proceed:a})=>{const[i,n]=y.useState(!1),[t,l]=y.useState(!1),[s,c]=y.useState(""),{setFlash:d}=Pn(m=>m),h=m=>{c(m),ZM(m).then(v=>{d(Re.t("verification.flash",{name:`${v.firstName} ${v.lastName}`})),Pn.setState(()=>({controlCode:v})),n(!1),c(""),l(!1),a()}).catch(()=>{n(!0),setTimeout(()=>n(!1),20),l(!0)})};return W.jsxs("div",{className:"verification",children:[W.jsx("h4",{children:Re.t("verification.header")}),W.jsxs("div",{className:"code-validation",children:[W.jsx(X9,{verify:m=>h(m),size:5,clear:i,intermediateCallback:()=>l(!1),validate:m=>!isNaN(m)}),W.jsx(ao,{txt:Re.t("verification.proceed"),disabled:!0,onClick:()=>!0})]}),t&&W.jsx(PE,{message:Re.t("verification.error",{code:s})}),W.jsxs("div",{className:"disclaimer",children:[W.jsx(qO,{}),W.jsx("p",{children:Re.t("verification.info")})]})]})};function eb(a){var i,n,t="";if(typeof a=="string"||typeof a=="number")t+=a;else if(typeof a=="object")if(Array.isArray(a)){var l=a.length;for(i=0;i<l;i++)a[i]&&(n=eb(a[i]))&&(t&&(t+=" "),t+=n)}else for(n in a)a[n]&&(t&&(t+=" "),t+=n);return t}function Nn(){for(var a,i,n=0,t="",l=arguments.length;n<l;n++)(a=arguments[n])&&(i=eb(a))&&(t&&(t+=" "),t+=i);return t}const tb=6048e5,HO=864e5,nf=6e4,rf=36e5,PO=1e3,J7=Symbol.for("constructDateFrom");function Dt(a,i){return typeof a=="function"?a(i):a&&typeof a=="object"&&J7 in a?a[J7](i):a instanceof Date?new a.constructor(i):new Date(i)}function Te(a,i){return Dt(i||a,a)}function Wr(a,i,n){const t=Te(a,n==null?void 0:n.in);return isNaN(i)?Dt((n==null?void 0:n.in)||a,NaN):(i&&t.setDate(t.getDate()+i),t)}function Kr(a,i,n){const t=Te(a,n==null?void 0:n.in);if(isNaN(i))return Dt(a,NaN);if(!i)return t;const l=t.getDate(),s=Dt(a,t.getTime());s.setMonth(t.getMonth()+i+1,0);const c=s.getDate();return l>=c?s:(t.setFullYear(s.getFullYear(),s.getMonth(),l),t)}function nb(a,i,n){return Dt(a,+Te(a)+i)}function zO(a,i,n){return nb(a,i*rf)}let YO={};function ml(){return YO}function Za(a,i){var d,h,m,v;const n=ml(),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(a,i==null?void 0:i.in),s=l.getDay(),c=(s<t?7:0)+s-t;return l.setDate(l.getDate()-c),l.setHours(0,0,0,0),l}function lo(a,i){return Za(a,{...i,weekStartsOn:1})}function rb(a,i){const n=Te(a,i==null?void 0:i.in),t=n.getFullYear(),l=Dt(n,0);l.setFullYear(t+1,0,4),l.setHours(0,0,0,0);const s=lo(l),c=Dt(n,0);c.setFullYear(t,0,4),c.setHours(0,0,0,0);const d=lo(c);return n.getTime()>=s.getTime()?t+1:n.getTime()>=d.getTime()?t:t-1}function Nc(a){const i=Te(a),n=new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()));return n.setUTCFullYear(i.getFullYear()),+a-+n}function Wa(a,...i){const n=Dt.bind(null,i.find(t=>typeof t=="object"));return i.map(n)}function cl(a,i){const n=Te(a,i==null?void 0:i.in);return n.setHours(0,0,0,0),n}function oo(a,i,n){const[t,l]=Wa(n==null?void 0:n.in,a,i),s=cl(t),c=cl(l),d=+s-Nc(s),h=+c-Nc(c);return Math.round((d-h)/HO)}function jO(a,i){const n=rb(a,i),t=Dt(a,0);return t.setFullYear(n,0,4),t.setHours(0,0,0,0),lo(t)}function F2(a,i,n){const t=Te(a,n==null?void 0:n.in);return t.setTime(t.getTime()+i*nf),t}function Am(a,i,n){return Kr(a,i*3,n)}function BO(a,i,n){return nb(a,i*1e3)}function kc(a,i,n){return Wr(a,i*7,n)}function Ya(a,i,n){return Kr(a,i*12,n)}function e9(a,i){let n,t=i==null?void 0:i.in;return a.forEach(l=>{!t&&typeof l=="object"&&(t=Dt.bind(null,l));const s=Te(l,t);(!n||n<s||isNaN(+s))&&(n=s)}),Dt(t,n||NaN)}function t9(a,i){let n,t=i==null?void 0:i.in;return a.forEach(l=>{!t&&typeof l=="object"&&(t=Dt.bind(null,l));const s=Te(l,t);(!n||n>s||isNaN(+s))&&(n=s)}),Dt(t,n||NaN)}function IO(a,i,n){const[t,l]=Wa(n==null?void 0:n.in,a,i);return+cl(t)==+cl(l)}function ja(a){return a instanceof Date||typeof a=="object"&&Object.prototype.toString.call(a)==="[object Date]"}function Lc(a){return!(!ja(a)&&typeof a!="number"||isNaN(+Te(a)))}function qc(a,i,n){const[t,l]=Wa(n==null?void 0:n.in,a,i),s=t.getFullYear()-l.getFullYear(),c=t.getMonth()-l.getMonth();return s*12+c}function il(a,i){const n=Te(a,i==null?void 0:i.in);return Math.trunc(n.getMonth()/3)+1}function Uc(a,i,n){const[t,l]=Wa(n==null?void 0:n.in,a,i),s=t.getFullYear()-l.getFullYear(),c=il(t)-il(l);return s*4+c}function Hc(a,i,n){const[t,l]=Wa(n==null?void 0:n.in,a,i);return t.getFullYear()-l.getFullYear()}function FO(a,i,n){const[t,l]=Wa(n==null?void 0:n.in,a,i),s=n9(t,l),c=Math.abs(oo(t,l));t.setDate(t.getDate()-s*c);const d=+(n9(t,l)===-s),h=s*(c-d);return h===0?0:h}function n9(a,i){const n=a.getFullYear()-i.getFullYear()||a.getMonth()-i.getMonth()||a.getDate()-i.getDate()||a.getHours()-i.getHours()||a.getMinutes()-i.getMinutes()||a.getSeconds()-i.getSeconds()||a.getMilliseconds()-i.getMilliseconds();return n<0?-1:n>0?1:n}function ab(a,i){const n=Te(a,i==null?void 0:i.in);return n.setHours(23,59,59,999),n}function ib(a,i){const n=Te(a,i==null?void 0:i.in),t=n.getMonth();return n.setFullYear(n.getFullYear(),t+1,0),n.setHours(23,59,59,999),n}function G2(a,i){const n=Te(a,i==null?void 0:i.in),t=n.getMonth(),l=t-t%3;return n.setMonth(l,1),n.setHours(0,0,0,0),n}function lb(a,i){const n=Te(a,i==null?void 0:i.in);return n.setDate(1),n.setHours(0,0,0,0),n}function ob(a,i){const n=Te(a,i==null?void 0:i.in),t=n.getFullYear();return n.setFullYear(t+1,0,0),n.setHours(23,59,59,999),n}function af(a,i){const n=Te(a,i==null?void 0:i.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function GO(a,i){var d,h;const n=ml(),t=n.weekStartsOn??((h=(d=n.locale)==null?void 0:d.options)==null?void 0:h.weekStartsOn)??0,l=Te(a,i==null?void 0:i.in),s=l.getDay(),c=(s<t?-7:0)+6-(s-t);return l.setDate(l.getDate()+c),l.setHours(23,59,59,999),l}const ZO={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"}},VO=(a,i,n)=>{let t;const l=ZO[a];return typeof l=="string"?t=l:i===1?t=l.one:t=l.other.replace("{{count}}",i.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+t:t+" ago":t};function l2(a){return(i={})=>{const n=i.width?String(i.width):a.defaultWidth;return a.formats[n]||a.formats[a.defaultWidth]}}const WO={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},QO={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},KO={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},XO={date:l2({formats:WO,defaultWidth:"full"}),time:l2({formats:QO,defaultWidth:"full"}),dateTime:l2({formats:KO,defaultWidth:"full"})},$O={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},JO=(a,i,n,t)=>$O[a];function Ms(a){return(i,n)=>{const t=n!=null&&n.context?String(n.context):"standalone";let l;if(t==="formatting"&&a.formattingValues){const c=a.defaultFormattingWidth||a.defaultWidth,d=n!=null&&n.width?String(n.width):c;l=a.formattingValues[d]||a.formattingValues[c]}else{const c=a.defaultWidth,d=n!=null&&n.width?String(n.width):a.defaultWidth;l=a.values[d]||a.values[c]}const s=a.argumentCallback?a.argumentCallback(i):i;return l[s]}}const eA={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"]},nA={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"]},rA={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"]},aA={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"}},iA={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"}},lA=(a,i)=>{const n=Number(a),t=n%100;if(t>20||t<10)switch(t%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},oA={ordinalNumber:lA,era:Ms({values:eA,defaultWidth:"wide"}),quarter:Ms({values:tA,defaultWidth:"wide",argumentCallback:a=>a-1}),month:Ms({values:nA,defaultWidth:"wide"}),day:Ms({values:rA,defaultWidth:"wide"}),dayPeriod:Ms({values:aA,defaultWidth:"wide",formattingValues:iA,defaultFormattingWidth:"wide"})};function Os(a){return(i,n={})=>{const t=n.width,l=t&&a.matchPatterns[t]||a.matchPatterns[a.defaultMatchWidth],s=i.match(l);if(!s)return null;const c=s[0],d=t&&a.parsePatterns[t]||a.parsePatterns[a.defaultParseWidth],h=Array.isArray(d)?uA(d,g=>g.test(c)):sA(d,g=>g.test(c));let m;m=a.valueCallback?a.valueCallback(h):h,m=n.valueCallback?n.valueCallback(m):m;const v=i.slice(c.length);return{value:m,rest:v}}}function sA(a,i){for(const n in a)if(Object.prototype.hasOwnProperty.call(a,n)&&i(a[n]))return n}function uA(a,i){for(let n=0;n<a.length;n++)if(i(a[n]))return n}function cA(a){return(i,n={})=>{const t=i.match(a.matchPattern);if(!t)return null;const l=t[0],s=i.match(a.parsePattern);if(!s)return null;let c=a.valueCallback?a.valueCallback(s[0]):s[0];c=n.valueCallback?n.valueCallback(c):c;const d=i.slice(l.length);return{value:c,rest:d}}}const fA=/^(\d+)(th|st|nd|rd)?/i,dA=/\d+/i,hA={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]},mA={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},vA={any:[/1/i,/2/i,/3/i,/4/i]},gA={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},yA={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]},bA={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},_A={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]},SA={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},EA={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:cA({matchPattern:fA,parsePattern:dA,valueCallback:a=>parseInt(a,10)}),era:Os({matchPatterns:hA,defaultMatchWidth:"wide",parsePatterns:pA,defaultParseWidth:"any"}),quarter:Os({matchPatterns:mA,defaultMatchWidth:"wide",parsePatterns:vA,defaultParseWidth:"any",valueCallback:a=>a+1}),month:Os({matchPatterns:gA,defaultMatchWidth:"wide",parsePatterns:yA,defaultParseWidth:"any"}),day:Os({matchPatterns:bA,defaultMatchWidth:"wide",parsePatterns:_A,defaultParseWidth:"any"}),dayPeriod:Os({matchPatterns:SA,defaultMatchWidth:"any",parsePatterns:EA,defaultParseWidth:"any"})},sb={code:"en-US",formatDistance:VO,formatLong:XO,formatRelative:JO,localize:oA,match:wA,options:{weekStartsOn:0,firstWeekContainsDate:1}};function DA(a,i){const n=Te(a,i==null?void 0:i.in);return oo(n,af(n))+1}function Cm(a,i){const n=Te(a,i==null?void 0:i.in),t=+lo(n)-+jO(n);return Math.round(t/tb)+1}function Rm(a,i){var v,g,b,D;const n=Te(a,i==null?void 0:i.in),t=n.getFullYear(),l=ml(),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??((D=(b=l.locale)==null?void 0:b.options)==null?void 0:D.firstWeekContainsDate)??1,c=Dt((i==null?void 0:i.in)||a,0);c.setFullYear(t+1,0,s),c.setHours(0,0,0,0);const d=Za(c,i),h=Dt((i==null?void 0:i.in)||a,0);h.setFullYear(t,0,s),h.setHours(0,0,0,0);const m=Za(h,i);return+n>=+d?t+1:+n>=+m?t:t-1}function TA(a,i){var d,h,m,v;const n=ml(),t=(i==null?void 0:i.firstWeekContainsDate)??((h=(d=i==null?void 0:i.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??n.firstWeekContainsDate??((v=(m=n.locale)==null?void 0:m.options)==null?void 0:v.firstWeekContainsDate)??1,l=Rm(a,i),s=Dt((i==null?void 0:i.in)||a,0);return s.setFullYear(l,0,t),s.setHours(0,0,0,0),Za(s,i)}function ub(a,i){const n=Te(a,i==null?void 0:i.in),t=+Za(n,i)-+TA(n,i);return Math.round(t/tb)+1}function wt(a,i){const n=a<0?"-":"",t=Math.abs(a).toString().padStart(i,"0");return n+t}const Ei={y(a,i){const n=a.getFullYear(),t=n>0?n:1-n;return wt(i==="yy"?t%100:t,i.length)},M(a,i){const n=a.getMonth();return i==="M"?String(n+1):wt(n+1,2)},d(a,i){return wt(a.getDate(),i.length)},a(a,i){const n=a.getHours()/12>=1?"pm":"am";switch(i){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(a,i){return wt(a.getHours()%12||12,i.length)},H(a,i){return wt(a.getHours(),i.length)},m(a,i){return wt(a.getMinutes(),i.length)},s(a,i){return wt(a.getSeconds(),i.length)},S(a,i){const n=i.length,t=a.getMilliseconds(),l=Math.trunc(t*Math.pow(10,n-3));return wt(l,i.length)}},$l={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},r9={G:function(a,i,n){const t=a.getFullYear()>0?1:0;switch(i){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"});case"GGGGG":return n.era(t,{width:"narrow"});case"GGGG":default:return n.era(t,{width:"wide"})}},y:function(a,i,n){if(i==="yo"){const t=a.getFullYear(),l=t>0?t:1-t;return n.ordinalNumber(l,{unit:"year"})}return Ei.y(a,i)},Y:function(a,i,n,t){const l=Rm(a,t),s=l>0?l:1-l;if(i==="YY"){const c=s%100;return wt(c,2)}return i==="Yo"?n.ordinalNumber(s,{unit:"year"}):wt(s,i.length)},R:function(a,i){const n=rb(a);return wt(n,i.length)},u:function(a,i){const n=a.getFullYear();return wt(n,i.length)},Q:function(a,i,n){const t=Math.ceil((a.getMonth()+1)/3);switch(i){case"Q":return String(t);case"QQ":return 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(a,i,n){const t=Math.ceil((a.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(a,i,n){const t=a.getMonth();switch(i){case"M":case"MM":return Ei.M(a,i);case"Mo":return n.ordinalNumber(t+1,{unit:"month"});case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(t,{width:"wide",context:"formatting"})}},L:function(a,i,n){const t=a.getMonth();switch(i){case"L":return String(t+1);case"LL":return 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(a,i,n,t){const l=ub(a,t);return i==="wo"?n.ordinalNumber(l,{unit:"week"}):wt(l,i.length)},I:function(a,i,n){const t=Cm(a);return i==="Io"?n.ordinalNumber(t,{unit:"week"}):wt(t,i.length)},d:function(a,i,n){return i==="do"?n.ordinalNumber(a.getDate(),{unit:"date"}):Ei.d(a,i)},D:function(a,i,n){const t=DA(a);return i==="Do"?n.ordinalNumber(t,{unit:"dayOfYear"}):wt(t,i.length)},E:function(a,i,n){const t=a.getDay();switch(i){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"});case"EEEE":default:return n.day(t,{width:"wide",context:"formatting"})}},e:function(a,i,n,t){const l=a.getDay(),s=(l-t.weekStartsOn+8)%7||7;switch(i){case"e":return String(s);case"ee":return 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(a,i,n,t){const l=a.getDay(),s=(l-t.weekStartsOn+8)%7||7;switch(i){case"c":return String(s);case"cc":return 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(a,i,n){const t=a.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(a,i,n){const l=a.getHours()/12>=1?"pm":"am";switch(i){case"a":case"aa":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(l,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},b:function(a,i,n){const t=a.getHours();let l;switch(t===12?l=$l.noon:t===0?l=$l.midnight:l=t/12>=1?"pm":"am",i){case"b":case"bb":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(l,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},B:function(a,i,n){const t=a.getHours();let l;switch(t>=17?l=$l.evening:t>=12?l=$l.afternoon:t>=4?l=$l.morning:l=$l.night,i){case"B":case"BB":case"BBB":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(l,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},h:function(a,i,n){if(i==="ho"){let t=a.getHours()%12;return t===0&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return Ei.h(a,i)},H:function(a,i,n){return i==="Ho"?n.ordinalNumber(a.getHours(),{unit:"hour"}):Ei.H(a,i)},K:function(a,i,n){const t=a.getHours()%12;return i==="Ko"?n.ordinalNumber(t,{unit:"hour"}):wt(t,i.length)},k:function(a,i,n){let t=a.getHours();return t===0&&(t=24),i==="ko"?n.ordinalNumber(t,{unit:"hour"}):wt(t,i.length)},m:function(a,i,n){return i==="mo"?n.ordinalNumber(a.getMinutes(),{unit:"minute"}):Ei.m(a,i)},s:function(a,i,n){return i==="so"?n.ordinalNumber(a.getSeconds(),{unit:"second"}):Ei.s(a,i)},S:function(a,i){return Ei.S(a,i)},X:function(a,i,n){const t=a.getTimezoneOffset();if(t===0)return"Z";switch(i){case"X":return i9(t);case"XXXX":case"XX":return tl(t);case"XXXXX":case"XXX":default:return tl(t,":")}},x:function(a,i,n){const t=a.getTimezoneOffset();switch(i){case"x":return i9(t);case"xxxx":case"xx":return tl(t);case"xxxxx":case"xxx":default:return tl(t,":")}},O:function(a,i,n){const t=a.getTimezoneOffset();switch(i){case"O":case"OO":case"OOO":return"GMT"+a9(t,":");case"OOOO":default:return"GMT"+tl(t,":")}},z:function(a,i,n){const t=a.getTimezoneOffset();switch(i){case"z":case"zz":case"zzz":return"GMT"+a9(t,":");case"zzzz":default:return"GMT"+tl(t,":")}},t:function(a,i,n){const t=Math.trunc(+a/1e3);return wt(t,i.length)},T:function(a,i,n){return wt(+a,i.length)}};function a9(a,i=""){const n=a>0?"-":"+",t=Math.abs(a),l=Math.trunc(t/60),s=t%60;return s===0?n+String(l):n+String(l)+i+wt(s,2)}function i9(a,i){return a%60===0?(a>0?"-":"+")+wt(Math.abs(a)/60,2):tl(a,i)}function tl(a,i=""){const n=a>0?"-":"+",t=Math.abs(a),l=wt(Math.trunc(t/60),2),s=wt(t%60,2);return n+l+i+s}const l9=(a,i)=>{switch(a){case"P":return i.date({width:"short"});case"PP":return i.date({width:"medium"});case"PPP":return i.date({width:"long"});case"PPPP":default:return i.date({width:"full"})}},cb=(a,i)=>{switch(a){case"p":return i.time({width:"short"});case"pp":return i.time({width:"medium"});case"ppp":return i.time({width:"long"});case"pppp":default:return i.time({width:"full"})}},xA=(a,i)=>{const n=a.match(/(P+)(p+)?/)||[],t=n[1],l=n[2];if(!l)return l9(a,i);let s;switch(t){case"P":s=i.dateTime({width:"short"});break;case"PP":s=i.dateTime({width:"medium"});break;case"PPP":s=i.dateTime({width:"long"});break;case"PPPP":default:s=i.dateTime({width:"full"});break}return s.replace("{{date}}",l9(t,i)).replace("{{time}}",cb(l,i))},Z2={p:cb,P:xA},MA=/^D+$/,OA=/^Y+$/,AA=["D","DD","YY","YYYY"];function CA(a){return MA.test(a)}function RA(a){return OA.test(a)}function NA(a,i,n){const t=kA(a,i,n);if(console.warn(t),AA.includes(a))throw new RangeError(t)}function kA(a,i,n){const t=a[0]==="Y"?"years":"days of the month";return`Use \`${a.toLowerCase()}\` instead of \`${a}\` (in \`${i}\`) for formatting ${t} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const LA=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,qA=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,UA=/^'([^]*?)'?$/,HA=/''/g,PA=/[a-zA-Z]/;function o9(a,i,n){var v,g,b,D,M,C,N,H;const t=ml(),l=(n==null?void 0:n.locale)??t.locale??sb,s=(n==null?void 0:n.firstWeekContainsDate)??((g=(v=n==null?void 0:n.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??t.firstWeekContainsDate??((D=(b=t.locale)==null?void 0:b.options)==null?void 0:D.firstWeekContainsDate)??1,c=(n==null?void 0:n.weekStartsOn)??((C=(M=n==null?void 0:n.locale)==null?void 0:M.options)==null?void 0:C.weekStartsOn)??t.weekStartsOn??((H=(N=t.locale)==null?void 0:N.options)==null?void 0:H.weekStartsOn)??0,d=Te(a,n==null?void 0:n.in);if(!Lc(d))throw new RangeError("Invalid time value");let h=i.match(qA).map(O=>{const Z=O[0];if(Z==="p"||Z==="P"){const K=Z2[Z];return K(O,l.formatLong)}return O}).join("").match(LA).map(O=>{if(O==="''")return{isToken:!1,value:"'"};const Z=O[0];if(Z==="'")return{isToken:!1,value:zA(O)};if(r9[Z])return{isToken:!0,value:O};if(Z.match(PA))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Z+"`");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 Z=O.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&RA(Z)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&CA(Z))&&NA(Z,i,String(a));const K=r9[Z[0]];return K(d,Z,l.localize,m)}).join("")}function zA(a){const i=a.match(UA);return i?i[1].replace(HA,"'"):a}function s9(a,i){return Te(a,i==null?void 0:i.in).getDate()}function YA(a,i){return Te(a,i==null?void 0:i.in).getDay()}function jA(a,i){const n=Te(a,i==null?void 0:i.in),t=n.getFullYear(),l=n.getMonth(),s=Dt(n,0);return s.setFullYear(t,l+1,0),s.setHours(0,0,0,0),s.getDate()}function BA(){return Object.assign({},ml())}function Ba(a,i){return Te(a,i==null?void 0:i.in).getHours()}function IA(a,i){const n=Te(a,i==null?void 0:i.in).getDay();return n===0?7:n}function Ia(a,i){return Te(a,i==null?void 0:i.in).getMinutes()}function Hn(a,i){return Te(a,i==null?void 0:i.in).getMonth()}function Ci(a){return Te(a).getSeconds()}function V2(a){return+Te(a)}function Ge(a,i){return Te(a,i==null?void 0:i.in).getFullYear()}function ki(a,i){return+Te(a)>+Te(i)}function fl(a,i){return+Te(a)<+Te(i)}function FA(a,i){return+Te(a)==+Te(i)}function GA(a,i){const n=ZA(i)?new i(0):Dt(i,0);return n.setFullYear(a.getFullYear(),a.getMonth(),a.getDate()),n.setHours(a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()),n}function ZA(a){var i;return typeof a=="function"&&((i=a.prototype)==null?void 0:i.constructor)===a}const VA=10;class fb{constructor(){_e(this,"subPriority",0)}validate(i,n){return!0}}class WA extends fb{constructor(i,n,t,l,s){super(),this.value=i,this.validateValue=n,this.setValue=t,this.priority=l,s&&(this.subPriority=s)}validate(i,n){return this.validateValue(i,this.value,n)}set(i,n,t){return this.setValue(i,n,this.value,t)}}class QA extends fb{constructor(n,t){super();_e(this,"priority",VA);_e(this,"subPriority",-1);this.context=n||(l=>Dt(t,l))}set(n,t){return t.timestampIsSet?n:Dt(n,GA(n,this.context))}}class vt{run(i,n,t,l){const s=this.parse(i,n,t,l);return s?{setter:new WA(s.value,this.validate,this.set,this.priority,this.subPriority),rest:s.rest}:null}validate(i,n,t){return!0}}class KA extends vt{constructor(){super(...arguments);_e(this,"priority",140);_e(this,"incompatibleTokens",["R","u","t","T"])}parse(n,t,l){switch(t){case"G":case"GG":case"GGG":return l.era(n,{width:"abbreviated"})||l.era(n,{width:"narrow"});case"GGGGG":return l.era(n,{width:"narrow"});case"GGGG":default:return l.era(n,{width:"wide"})||l.era(n,{width:"abbreviated"})||l.era(n,{width:"narrow"})}}set(n,t,l){return t.era=l,n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}}const tn={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}/},da={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 nn(a,i){return a&&{value:i(a.value),rest:a.rest}}function Wt(a,i){const n=i.match(a);return n?{value:parseInt(n[0],10),rest:i.slice(n[0].length)}:null}function ha(a,i){const n=i.match(a);if(!n)return null;if(n[0]==="Z")return{value:0,rest:i.slice(1)};const t=n[1]==="+"?1:-1,l=n[2]?parseInt(n[2],10):0,s=n[3]?parseInt(n[3],10):0,c=n[5]?parseInt(n[5],10):0;return{value:t*(l*rf+s*nf+c*PO),rest:i.slice(n[0].length)}}function db(a){return Wt(tn.anyDigitsSigned,a)}function $t(a,i){switch(a){case 1:return Wt(tn.singleDigit,i);case 2:return Wt(tn.twoDigits,i);case 3:return Wt(tn.threeDigits,i);case 4:return Wt(tn.fourDigits,i);default:return Wt(new RegExp("^\\d{1,"+a+"}"),i)}}function Pc(a,i){switch(a){case 1:return Wt(tn.singleDigitSigned,i);case 2:return Wt(tn.twoDigitsSigned,i);case 3:return Wt(tn.threeDigitsSigned,i);case 4:return Wt(tn.fourDigitsSigned,i);default:return Wt(new RegExp("^-?\\d{1,"+a+"}"),i)}}function Nm(a){switch(a){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function hb(a,i){const n=i>0,t=n?i:1-i;let l;if(t<=50)l=a||100;else{const s=t+50,c=Math.trunc(s/100)*100,d=a>=s%100;l=a+c-(d?100:0)}return n?l:1-l}function pb(a){return a%400===0||a%4===0&&a%100!==0}class XA extends vt{constructor(){super(...arguments);_e(this,"priority",130);_e(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(n,t,l){const s=c=>({year:c,isTwoDigitYear:t==="yy"});switch(t){case"y":return nn($t(4,n),s);case"yo":return nn(l.ordinalNumber(n,{unit:"year"}),s);default:return nn($t(t.length,n),s)}}validate(n,t){return t.isTwoDigitYear||t.year>0}set(n,t,l){const s=n.getFullYear();if(l.isTwoDigitYear){const d=hb(l.year,s);return n.setFullYear(d,0,1),n.setHours(0,0,0,0),n}const c=!("era"in t)||t.era===1?l.year:1-l.year;return n.setFullYear(c,0,1),n.setHours(0,0,0,0),n}}class $A extends vt{constructor(){super(...arguments);_e(this,"priority",130);_e(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(n,t,l){const s=c=>({year:c,isTwoDigitYear:t==="YY"});switch(t){case"Y":return nn($t(4,n),s);case"Yo":return nn(l.ordinalNumber(n,{unit:"year"}),s);default:return nn($t(t.length,n),s)}}validate(n,t){return t.isTwoDigitYear||t.year>0}set(n,t,l,s){const c=Rm(n,s);if(l.isTwoDigitYear){const h=hb(l.year,c);return n.setFullYear(h,0,s.firstWeekContainsDate),n.setHours(0,0,0,0),Za(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),Za(n,s)}}class JA extends vt{constructor(){super(...arguments);_e(this,"priority",130);_e(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(n,t){return Pc(t==="R"?4:t.length,n)}set(n,t,l){const s=Dt(n,0);return s.setFullYear(l,0,4),s.setHours(0,0,0,0),lo(s)}}class eC extends vt{constructor(){super(...arguments);_e(this,"priority",130);_e(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(n,t){return Pc(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 vt{constructor(){super(...arguments);_e(this,"priority",120);_e(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,t,l){switch(t){case"Q":case"QQ":return $t(t.length,n);case"Qo":return l.ordinalNumber(n,{unit:"quarter"});case"QQQ":return l.quarter(n,{width:"abbreviated",context:"formatting"})||l.quarter(n,{width:"narrow",context:"formatting"});case"QQQQQ":return l.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return l.quarter(n,{width:"wide",context:"formatting"})||l.quarter(n,{width:"abbreviated",context:"formatting"})||l.quarter(n,{width:"narrow",context:"formatting"})}}validate(n,t){return t>=1&&t<=4}set(n,t,l){return n.setMonth((l-1)*3,1),n.setHours(0,0,0,0),n}}class nC extends vt{constructor(){super(...arguments);_e(this,"priority",120);_e(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,t,l){switch(t){case"q":case"qq":return $t(t.length,n);case"qo":return l.ordinalNumber(n,{unit:"quarter"});case"qqq":return l.quarter(n,{width:"abbreviated",context:"standalone"})||l.quarter(n,{width:"narrow",context:"standalone"});case"qqqqq":return l.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return l.quarter(n,{width:"wide",context:"standalone"})||l.quarter(n,{width:"abbreviated",context:"standalone"})||l.quarter(n,{width:"narrow",context:"standalone"})}}validate(n,t){return t>=1&&t<=4}set(n,t,l){return n.setMonth((l-1)*3,1),n.setHours(0,0,0,0),n}}class rC extends vt{constructor(){super(...arguments);_e(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);_e(this,"priority",110)}parse(n,t,l){const s=c=>c-1;switch(t){case"M":return nn(Wt(tn.month,n),s);case"MM":return nn($t(2,n),s);case"Mo":return nn(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 aC extends vt{constructor(){super(...arguments);_e(this,"priority",110);_e(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(n,t,l){const s=c=>c-1;switch(t){case"L":return nn(Wt(tn.month,n),s);case"LL":return nn($t(2,n),s);case"Lo":return nn(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 iC(a,i,n){const t=Te(a,n==null?void 0:n.in),l=ub(t,n)-i;return t.setDate(t.getDate()-l*7),Te(t,n==null?void 0:n.in)}class lC extends vt{constructor(){super(...arguments);_e(this,"priority",100);_e(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(n,t,l){switch(t){case"w":return Wt(tn.week,n);case"wo":return l.ordinalNumber(n,{unit:"week"});default:return $t(t.length,n)}}validate(n,t){return t>=1&&t<=53}set(n,t,l,s){return Za(iC(n,l,s),s)}}function oC(a,i,n){const t=Te(a,n==null?void 0:n.in),l=Cm(t,n)-i;return t.setDate(t.getDate()-l*7),t}class sC extends vt{constructor(){super(...arguments);_e(this,"priority",100);_e(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(n,t,l){switch(t){case"I":return Wt(tn.week,n);case"Io":return l.ordinalNumber(n,{unit:"week"});default:return $t(t.length,n)}}validate(n,t){return t>=1&&t<=53}set(n,t,l){return lo(oC(n,l))}}const uC=[31,28,31,30,31,30,31,31,30,31,30,31],cC=[31,29,31,30,31,30,31,31,30,31,30,31];class fC extends vt{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"subPriority",1);_e(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(n,t,l){switch(t){case"d":return Wt(tn.date,n);case"do":return l.ordinalNumber(n,{unit:"date"});default:return $t(t.length,n)}}validate(n,t){const l=n.getFullYear(),s=pb(l),c=n.getMonth();return s?t>=1&&t<=cC[c]:t>=1&&t<=uC[c]}set(n,t,l){return n.setDate(l),n.setHours(0,0,0,0),n}}class dC extends vt{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"subpriority",1);_e(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(n,t,l){switch(t){case"D":case"DD":return Wt(tn.dayOfYear,n);case"Do":return l.ordinalNumber(n,{unit:"date"});default:return $t(t.length,n)}}validate(n,t){const l=n.getFullYear();return pb(l)?t>=1&&t<=366:t>=1&&t<=365}set(n,t,l){return n.setMonth(0,l),n.setHours(0,0,0,0),n}}function km(a,i,n){var g,b,D,M;const t=ml(),l=(n==null?void 0:n.weekStartsOn)??((b=(g=n==null?void 0:n.locale)==null?void 0:g.options)==null?void 0:b.weekStartsOn)??t.weekStartsOn??((M=(D=t.locale)==null?void 0:D.options)==null?void 0:M.weekStartsOn)??0,s=Te(a,n==null?void 0:n.in),c=s.getDay(),h=(i%7+7)%7,m=7-l,v=i<0||i>6?i-(c+m)%7:(h+m)%7-(c+m)%7;return Wr(s,v,n)}class hC extends vt{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(n,t,l){switch(t){case"E":case"EE":case"EEE":return l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return l.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"EEEE":default:return l.day(n,{width:"wide",context:"formatting"})||l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"})}}validate(n,t){return t>=0&&t<=6}set(n,t,l,s){return n=km(n,l,s),n.setHours(0,0,0,0),n}}class pC extends vt{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(n,t,l,s){const c=d=>{const h=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+h};switch(t){case"e":case"ee":return nn($t(t.length,n),c);case"eo":return nn(l.ordinalNumber(n,{unit:"day"}),c);case"eee":return l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"eeeee":return l.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"eeee":default:return l.day(n,{width:"wide",context:"formatting"})||l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"})}}validate(n,t){return t>=0&&t<=6}set(n,t,l,s){return n=km(n,l,s),n.setHours(0,0,0,0),n}}class mC extends vt{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(n,t,l,s){const c=d=>{const h=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+h};switch(t){case"c":case"cc":return nn($t(t.length,n),c);case"co":return nn(l.ordinalNumber(n,{unit:"day"}),c);case"ccc":return l.day(n,{width:"abbreviated",context:"standalone"})||l.day(n,{width:"short",context:"standalone"})||l.day(n,{width:"narrow",context:"standalone"});case"ccccc":return l.day(n,{width:"narrow",context:"standalone"});case"cccccc":return l.day(n,{width:"short",context:"standalone"})||l.day(n,{width:"narrow",context:"standalone"});case"cccc":default:return l.day(n,{width:"wide",context:"standalone"})||l.day(n,{width:"abbreviated",context:"standalone"})||l.day(n,{width:"short",context:"standalone"})||l.day(n,{width:"narrow",context:"standalone"})}}validate(n,t){return t>=0&&t<=6}set(n,t,l,s){return n=km(n,l,s),n.setHours(0,0,0,0),n}}function vC(a,i,n){const t=Te(a,n==null?void 0:n.in),l=IA(t,n),s=i-l;return Wr(t,s,n)}class gC extends vt{constructor(){super(...arguments);_e(this,"priority",90);_e(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(n,t,l){const s=c=>c===0?7:c;switch(t){case"i":case"ii":return $t(t.length,n);case"io":return l.ordinalNumber(n,{unit:"day"});case"iii":return nn(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 nn(l.day(n,{width:"narrow",context:"formatting"}),s);case"iiiiii":return nn(l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"}),s);case"iiii":default:return nn(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=vC(n,l),n.setHours(0,0,0,0),n}}class yC extends vt{constructor(){super(...arguments);_e(this,"priority",80);_e(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(n,t,l){switch(t){case"a":case"aa":case"aaa":return l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return l.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return l.dayPeriod(n,{width:"wide",context:"formatting"})||l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,t,l){return n.setHours(Nm(l),0,0,0),n}}class bC extends vt{constructor(){super(...arguments);_e(this,"priority",80);_e(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(n,t,l){switch(t){case"b":case"bb":case"bbb":return l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return l.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return l.dayPeriod(n,{width:"wide",context:"formatting"})||l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,t,l){return n.setHours(Nm(l),0,0,0),n}}class _C extends vt{constructor(){super(...arguments);_e(this,"priority",80);_e(this,"incompatibleTokens",["a","b","t","T"])}parse(n,t,l){switch(t){case"B":case"BB":case"BBB":return l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return l.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return l.dayPeriod(n,{width:"wide",context:"formatting"})||l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,t,l){return n.setHours(Nm(l),0,0,0),n}}class SC extends vt{constructor(){super(...arguments);_e(this,"priority",70);_e(this,"incompatibleTokens",["H","K","k","t","T"])}parse(n,t,l){switch(t){case"h":return Wt(tn.hour12h,n);case"ho":return l.ordinalNumber(n,{unit:"hour"});default:return $t(t.length,n)}}validate(n,t){return t>=1&&t<=12}set(n,t,l){const s=n.getHours()>=12;return s&&l<12?n.setHours(l+12,0,0,0):!s&&l===12?n.setHours(0,0,0,0):n.setHours(l,0,0,0),n}}class EC extends vt{constructor(){super(...arguments);_e(this,"priority",70);_e(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(n,t,l){switch(t){case"H":return Wt(tn.hour23h,n);case"Ho":return l.ordinalNumber(n,{unit:"hour"});default:return $t(t.length,n)}}validate(n,t){return t>=0&&t<=23}set(n,t,l){return n.setHours(l,0,0,0),n}}class wC extends vt{constructor(){super(...arguments);_e(this,"priority",70);_e(this,"incompatibleTokens",["h","H","k","t","T"])}parse(n,t,l){switch(t){case"K":return Wt(tn.hour11h,n);case"Ko":return l.ordinalNumber(n,{unit:"hour"});default:return $t(t.length,n)}}validate(n,t){return t>=0&&t<=11}set(n,t,l){return n.getHours()>=12&&l<12?n.setHours(l+12,0,0,0):n.setHours(l,0,0,0),n}}class DC extends vt{constructor(){super(...arguments);_e(this,"priority",70);_e(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(n,t,l){switch(t){case"k":return Wt(tn.hour24h,n);case"ko":return l.ordinalNumber(n,{unit:"hour"});default:return $t(t.length,n)}}validate(n,t){return t>=1&&t<=24}set(n,t,l){const s=l<=24?l%24:l;return n.setHours(s,0,0,0),n}}class TC extends vt{constructor(){super(...arguments);_e(this,"priority",60);_e(this,"incompatibleTokens",["t","T"])}parse(n,t,l){switch(t){case"m":return Wt(tn.minute,n);case"mo":return l.ordinalNumber(n,{unit:"minute"});default:return $t(t.length,n)}}validate(n,t){return t>=0&&t<=59}set(n,t,l){return n.setMinutes(l,0,0),n}}class xC extends vt{constructor(){super(...arguments);_e(this,"priority",50);_e(this,"incompatibleTokens",["t","T"])}parse(n,t,l){switch(t){case"s":return Wt(tn.second,n);case"so":return l.ordinalNumber(n,{unit:"second"});default:return $t(t.length,n)}}validate(n,t){return t>=0&&t<=59}set(n,t,l){return n.setSeconds(l,0),n}}class MC extends vt{constructor(){super(...arguments);_e(this,"priority",30);_e(this,"incompatibleTokens",["t","T"])}parse(n,t){const l=s=>Math.trunc(s*Math.pow(10,-t.length+3));return nn($t(t.length,n),l)}set(n,t,l){return n.setMilliseconds(l),n}}class OC extends vt{constructor(){super(...arguments);_e(this,"priority",10);_e(this,"incompatibleTokens",["t","T","x"])}parse(n,t){switch(t){case"X":return ha(da.basicOptionalMinutes,n);case"XX":return ha(da.basic,n);case"XXXX":return ha(da.basicOptionalSeconds,n);case"XXXXX":return ha(da.extendedOptionalSeconds,n);case"XXX":default:return ha(da.extended,n)}}set(n,t,l){return t.timestampIsSet?n:Dt(n,n.getTime()-Nc(n)-l)}}class AC extends vt{constructor(){super(...arguments);_e(this,"priority",10);_e(this,"incompatibleTokens",["t","T","X"])}parse(n,t){switch(t){case"x":return ha(da.basicOptionalMinutes,n);case"xx":return ha(da.basic,n);case"xxxx":return ha(da.basicOptionalSeconds,n);case"xxxxx":return ha(da.extendedOptionalSeconds,n);case"xxx":default:return ha(da.extended,n)}}set(n,t,l){return t.timestampIsSet?n:Dt(n,n.getTime()-Nc(n)-l)}}class CC extends vt{constructor(){super(...arguments);_e(this,"priority",40);_e(this,"incompatibleTokens","*")}parse(n){return db(n)}set(n,t,l){return[Dt(n,l*1e3),{timestampIsSet:!0}]}}class RC extends vt{constructor(){super(...arguments);_e(this,"priority",20);_e(this,"incompatibleTokens","*")}parse(n){return db(n)}set(n,t,l){return[Dt(n,l),{timestampIsSet:!0}]}}const NC={G:new KA,y:new XA,Y:new $A,R:new JA,u:new eC,Q:new tC,q:new nC,M:new rC,L:new aC,w:new lC,I:new sC,d:new fC,D:new dC,E:new hC,e:new pC,c:new mC,i:new gC,a:new yC,b:new bC,B:new _C,h:new SC,H:new EC,K:new wC,k:new DC,m:new TC,s:new xC,S:new MC,X:new OC,x:new AC,t:new CC,T:new RC},kC=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,LC=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,qC=/^'([^]*?)'?$/,UC=/''/g,HC=/\S/,PC=/[a-zA-Z]/;function zC(a,i,n,t){var N,H,O,Z,K,X,re,V;const l=()=>Dt((t==null?void 0:t.in)||n,NaN),s=BA(),c=(t==null?void 0:t.locale)??s.locale??sb,d=(t==null?void 0:t.firstWeekContainsDate)??((H=(N=t==null?void 0:t.locale)==null?void 0:N.options)==null?void 0:H.firstWeekContainsDate)??s.firstWeekContainsDate??((Z=(O=s.locale)==null?void 0:O.options)==null?void 0:Z.firstWeekContainsDate)??1,h=(t==null?void 0:t.weekStartsOn)??((X=(K=t==null?void 0:t.locale)==null?void 0:K.options)==null?void 0:X.weekStartsOn)??s.weekStartsOn??((V=(re=s.locale)==null?void 0:re.options)==null?void 0:V.weekStartsOn)??0;if(!i)return a?l():Te(n,t==null?void 0:t.in);const m={firstWeekContainsDate:d,weekStartsOn:h,locale:c},v=[new QA(t==null?void 0:t.in,n)],g=i.match(LC).map(S=>{const E=S[0];if(E in Z2){const w=Z2[E];return w(S,c.formatLong)}return S}).join("").match(kC),b=[];for(let S of g){const E=S[0],w=NC[E];if(w){const{incompatibleTokens:q}=w;if(Array.isArray(q)){const z=b.find(j=>q.includes(j.token)||j.token===E);if(z)throw new RangeError(`The format string mustn't contain \`${z.fullToken}\` and \`${S}\` at the same time`)}else if(w.incompatibleTokens==="*"&&b.length>0)throw new RangeError(`The format string mustn't contain \`${S}\` and any other token at the same time`);b.push({token:E,fullToken:S});const L=w.run(a,S,c.match,m);if(!L)return l();v.push(L.setter),a=L.rest}else{if(E.match(PC))throw new RangeError("Format string contains an unescaped latin alphabet character `"+E+"`");if(S==="''"?S="'":E==="'"&&(S=YC(S)),a.indexOf(S)===0)a=a.slice(S.length);else return l()}}if(a.length>0&&HC.test(a))return l();const D=v.map(S=>S.priority).sort((S,E)=>E-S).filter((S,E,w)=>w.indexOf(S)===E).map(S=>v.filter(E=>E.priority===S).sort((E,w)=>w.subPriority-E.subPriority)).map(S=>S[0]);let M=Te(n,t==null?void 0:t.in);if(isNaN(+M))return l();const C={};for(const S of D){if(!S.validate(M,m))return l();const E=S.set(M,C,m);Array.isArray(E)?(M=E[0],Object.assign(C,E[1])):M=E}return M}function YC(a){return a.match(qC)[1].replace(UC,"'")}function jC(a,i,n){const[t,l]=Wa(n==null?void 0:n.in,a,i);return t.getFullYear()===l.getFullYear()&&t.getMonth()===l.getMonth()}function BC(a,i,n){const[t,l]=Wa(n==null?void 0:n.in,a,i);return+G2(t)==+G2(l)}function IC(a,i,n){const[t,l]=Wa(n==null?void 0:n.in,a,i);return t.getFullYear()===l.getFullYear()}function Ps(a,i,n){const t=+Te(a,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 FC(a,i,n){return Wr(a,-1,n)}function GC(a,i){const n=()=>Dt(i==null?void 0:i.in,NaN),l=QC(a);let s;if(l.date){const m=KC(l.date,2);s=XC(m.restDateString,m.year)}if(!s||isNaN(+s))return n();const c=+s;let d=0,h;if(l.time&&(d=$C(l.time),isNaN(d)))return n();if(l.timezone){if(h=JC(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 fc={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},ZC=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,VC=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,WC=/^([+-])(\d{2})(?::?(\d{2}))?$/;function QC(a){const i={},n=a.split(fc.dateTimeDelimiter);let t;if(n.length>2)return i;if(/:/.test(n[0])?t=n[0]:(i.date=n[0],t=n[1],fc.timeZoneDelimiter.test(i.date)&&(i.date=a.split(fc.timeZoneDelimiter)[0],t=a.substr(i.date.length,a.length))),t){const l=fc.timezone.exec(t);l?(i.time=t.replace(l[1],""),i.timezone=l[1]):i.time=t}return i}function KC(a,i){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+i)+"})|(\\d{2}|[+-]\\d{"+(2+i)+"})$)"),t=a.match(n);if(!t)return{year:NaN,restDateString:""};const l=t[1]?parseInt(t[1]):null,s=t[2]?parseInt(t[2]):null;return{year:s===null?l:s*100,restDateString:a.slice((t[1]||t[2]).length)}}function XC(a,i){if(i===null)return new Date(NaN);const n=a.match(ZC);if(!n)return new Date(NaN);const t=!!n[4],l=As(n[1]),s=As(n[2])-1,c=As(n[3]),d=As(n[4]),h=As(n[5])-1;if(t)return aR(i,d,h)?eR(i,d,h):new Date(NaN);{const m=new Date(0);return!nR(i,s,c)||!rR(i,l)?new Date(NaN):(m.setUTCFullYear(i,s,Math.max(l,c)),m)}}function As(a){return a?parseInt(a):1}function $C(a){const i=a.match(VC);if(!i)return NaN;const n=o2(i[1]),t=o2(i[2]),l=o2(i[3]);return iR(n,t,l)?n*rf+t*nf+l*1e3:NaN}function o2(a){return a&&parseFloat(a.replace(",","."))||0}function JC(a){if(a==="Z")return 0;const i=a.match(WC);if(!i)return 0;const n=i[1]==="+"?-1:1,t=parseInt(i[2]),l=i[3]&&parseInt(i[3])||0;return lR(t,l)?n*(t*rf+l*nf):NaN}function eR(a,i,n){const t=new Date(0);t.setUTCFullYear(a,0,4);const l=t.getUTCDay()||7,s=(i-1)*7+n+1-l;return t.setUTCDate(t.getUTCDate()+s),t}const tR=[31,null,31,30,31,30,31,31,30,31,30,31];function mb(a){return a%400===0||a%4===0&&a%100!==0}function nR(a,i,n){return i>=0&&i<=11&&n>=1&&n<=(tR[i]||(mb(a)?29:28))}function rR(a,i){return i>=1&&i<=(mb(a)?366:365)}function aR(a,i,n){return i>=1&&i<=53&&n>=0&&n<=6}function iR(a,i,n){return a===24?i===0&&n===0:n>=0&&n<60&&i>=0&&i<60&&a>=0&&a<25}function lR(a,i){return i>=0&&i<=59}function qr(a,i,n){const t=Te(a,n==null?void 0:n.in),l=t.getFullYear(),s=t.getDate(),c=Dt(a,0);c.setFullYear(l,i,15),c.setHours(0,0,0,0);const d=jA(c);return t.setMonth(i,Math.min(s,d)),t}function _c(a,i,n){const t=Te(a,n==null?void 0:n.in);return t.setHours(i),t}function Sc(a,i,n){const t=Te(a,n==null?void 0:n.in);return t.setMinutes(i),t}function Jl(a,i,n){const t=Te(a,n==null?void 0:n.in),l=Math.trunc(t.getMonth()/3)+1,s=i-l;return qr(t,t.getMonth()+s*3)}function Ec(a,i,n){const t=Te(a,n==null?void 0:n.in);return t.setSeconds(i),t}function ca(a,i,n){const t=Te(a,n==null?void 0:n.in);return isNaN(+t)?Dt(a,NaN):(t.setFullYear(i),t)}function ll(a,i,n){return Kr(a,-i,n)}function vb(a,i,n){return Am(a,-1,n)}function u9(a,i,n){return kc(a,-1,n)}function so(a,i,n){return Ya(a,-i,n)}var oR=typeof document<"u",sR=function(){},zc=oR?y.useLayoutEffect:sR;const uR={...k9},cR=uR.useInsertionEffect,fR=cR||(a=>a());function dR(a){const i=y.useRef(()=>{});return fR(()=>{i.current=a}),y.useCallback(function(){for(var n=arguments.length,t=new Array(n),l=0;l<n;l++)t[l]=arguments[l];return i.current==null?void 0:i.current(...t)},[])}var hR=typeof document<"u",pR=function(){},wc=hR?y.useLayoutEffect:pR;function Yc(a,i){if(a===i)return!0;if(typeof a!=typeof i)return!1;if(typeof a=="function"&&a.toString()===i.toString())return!0;let n,t,l;if(a&&i&&typeof a=="object"){if(Array.isArray(a)){if(n=a.length,n!==i.length)return!1;for(t=n;t--!==0;)if(!Yc(a[t],i[t]))return!1;return!0}if(l=Object.keys(a),n=l.length,n!==Object.keys(i).length)return!1;for(t=n;t--!==0;)if(!{}.hasOwnProperty.call(i,l[t]))return!1;for(t=n;t--!==0;){const s=l[t];if(!(s==="_owner"&&a.$$typeof)&&!Yc(a[s],i[s]))return!1}return!0}return a!==a&&i!==i}function gb(a){return typeof window>"u"?1:(a.ownerDocument.defaultView||window).devicePixelRatio||1}function c9(a,i){const n=gb(a);return Math.round(i*n)/n}function s2(a){const i=y.useRef(a);return wc(()=>{i.current=a}),i}function mR(a){a===void 0&&(a={});const{placement:i="bottom",strategy:n="absolute",middleware:t=[],platform:l,elements:{reference:s,floating:c}={},transform:d=!0,whileElementsMounted:h,open:m}=a,[v,g]=y.useState({x:0,y:0,strategy:n,placement:i,middlewareData:{},isPositioned:!1}),[b,D]=y.useState(t);Yc(b,t)||D(t);const[M,C]=y.useState(null),[N,H]=y.useState(null),O=y.useCallback(k=>{k!==re.current&&(re.current=k,C(k))},[]),Z=y.useCallback(k=>{k!==V.current&&(V.current=k,H(k))},[]),K=s||M,X=c||N,re=y.useRef(null),V=y.useRef(null),S=y.useRef(v),E=h!=null,w=s2(h),q=s2(l),L=s2(m),z=y.useCallback(()=>{if(!re.current||!V.current)return;const k={placement:i,strategy:n,middleware:b};q.current&&(k.platform=q.current),y2(re.current,V.current,k).then($=>{const A={...$,isPositioned:L.current!==!1};j.current&&!Yc(S.current,A)&&(S.current=A,m8.flushSync(()=>{g(A)}))})},[b,i,n,q,L]);wc(()=>{m===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,g(k=>({...k,isPositioned:!1})))},[m]);const j=y.useRef(!1);wc(()=>(j.current=!0,()=>{j.current=!1}),[]),wc(()=>{if(K&&(re.current=K),X&&(V.current=X),K&&X){if(w.current)return w.current(K,X,z);z()}},[K,X,z,w,E]);const U=y.useMemo(()=>({reference:re,floating:V,setReference:O,setFloating:Z}),[O,Z]),T=y.useMemo(()=>({reference:K,floating:X}),[K,X]),R=y.useMemo(()=>{const k={position:n,left:0,top:0};if(!T.floating)return k;const $=c9(T.floating,v.x),A=c9(T.floating,v.y);return d?{...k,transform:"translate("+$+"px, "+A+"px)",...gb(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:$,top:A}},[n,d,T.floating,v.x,v.y]);return y.useMemo(()=>({...v,update:z,refs:U,elements:T,floatingStyles:R}),[v,z,U,T,R])}const vR=a=>{function i(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:a,fn(n){const{element:t,padding:l}=typeof a=="function"?a(n):a;return t&&i(t)?t.current!=null?g2({element:t.current,padding:l}).fn(n):{}:t?g2({element:t,padding:l}).fn(n):{}}}},gR=(a,i)=>({...Z9(a),options:[a,i]}),yR=(a,i)=>({...V9(a),options:[a,i]}),bR=(a,i)=>({...vR(a),options:[a,i]}),_R={...k9};let f9=!1,SR=0;const d9=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+SR++;function ER(){const[a,i]=y.useState(()=>f9?d9():void 0);return zc(()=>{a==null&&i(d9())},[]),y.useEffect(()=>{f9=!0},[]),a}const wR=_R.useId,yb=wR||ER,DR=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:b,d:D,style:{transform:M,...C}={},...N}=i,H=yb(),[O,Z]=y.useState(!1);if(zc(()=>{if(!l)return;Hr(l).direction==="rtl"&&Z(!0)},[l]),!l)return null;const[K,X]=t.split("-"),re=K==="top"||K==="bottom";let V=g;(re&&c!=null&&c.x||!re&&c!=null&&c.y)&&(V=null);const S=v*2,E=S/2,w=d/2*(m/-8+1),q=h/2*m/4,L=!!D,z=V&&X==="end"?"bottom":"top";let j=V&&X==="end"?"right":"left";V&&O&&(j=X==="end"?"left":"right");const U=(s==null?void 0:s.x)!=null?V||s.x:"",T=(s==null?void 0:s.y)!=null?V||s.y:"",R=D||"M0,0"+(" H"+d)+(" L"+(d-w)+","+(h-q))+(" Q"+d/2+","+h+" "+w+","+(h-q))+" Z",k={top:L?"rotate(180deg)":"",left:L?"rotate(90deg)":"rotate(-90deg)",bottom:L?"":"rotate(180deg)",right:L?"rotate(-90deg)":"rotate(90deg)"}[K];return W.jsxs("svg",{...N,"aria-hidden":!0,ref:n,width:L?d:d+S,height:d,viewBox:"0 0 "+d+" "+(h>d?h:d),style:{position:"absolute",pointerEvents:"none",[j]:U,[z]:T,[K]:re||L?"100%":"calc(100% - "+S/2+"px)",transform:[k,M].filter($=>!!$).join(" "),...C},children:[S>0&&W.jsx("path",{clipPath:"url(#"+H+")",fill:"none",stroke:b,strokeWidth:S+(D?0:1),d:R}),W.jsx("path",{stroke:S&&!D?N.fill:"none",d:R}),W.jsx("clipPath",{id:H,children:W.jsx("rect",{x:-E,y:E*(L?-1:1),width:d+S,height:d})})]})});function TR(){const a=new Map;return{emit(i,n){var t;(t=a.get(i))==null||t.forEach(l=>l(n))},on(i,n){a.has(i)||a.set(i,new Set),a.get(i).add(n)},off(i,n){var t;(t=a.get(i))==null||t.delete(n)}}}const xR=y.createContext(null),MR=y.createContext(null),OR=()=>{var a;return((a=y.useContext(xR))==null?void 0:a.id)||null},AR=()=>y.useContext(MR);function CR(a){const{open:i=!1,onOpenChange:n,elements:t}=a,l=yb(),s=y.useRef({}),[c]=y.useState(()=>TR()),d=OR()!=null,[h,m]=y.useState(t.reference),v=dR((D,M,C)=>{s.current.openEvent=D?M:void 0,c.emit("openchange",{open:D,event:M,reason:C,nested:d}),n==null||n(D,M,C)}),g=y.useMemo(()=>({setPositionReference:m}),[]),b=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:b,events:c,floatingId:l,refs:g}),[i,v,b,c,l,g])}function RR(a){a===void 0&&(a={});const{nodeId:i}=a,n=CR({...a,elements:{reference:null,floating:null,...a.elements}}),t=a.rootContext||n,l=t.elements,[s,c]=y.useState(null),[d,h]=y.useState(null),v=(l==null?void 0:l.domReference)||s,g=y.useRef(null),b=AR();zc(()=>{v&&(g.current=v)},[v]);const D=mR({...a,elements:{...l,...d&&{reference:d}}}),M=y.useCallback(Z=>{const K=Vn(Z)?{getBoundingClientRect:()=>Z.getBoundingClientRect(),getClientRects:()=>Z.getClientRects(),contextElement:Z}:Z;h(K),D.refs.setReference(K)},[D.refs]),C=y.useCallback(Z=>{(Vn(Z)||Z===null)&&(g.current=Z,c(Z)),(Vn(D.refs.reference.current)||D.refs.reference.current===null||Z!==null&&!Vn(Z))&&D.refs.setReference(Z)},[D.refs]),N=y.useMemo(()=>({...D.refs,setReference:C,setPositionReference:M,domReference:g}),[D.refs,C,M]),H=y.useMemo(()=>({...D.elements,domReference:v}),[D.elements,v]),O=y.useMemo(()=>({...D,...t,refs:N,elements:H,nodeId:i}),[D,N,H,i,t]);return zc(()=>{t.dataRef.current.floatingContext=O;const Z=b==null?void 0:b.nodesRef.current.find(K=>K.id===i);Z&&(Z.context=O)}),y.useMemo(()=>({...D,context:O,refs:N,elements:H}),[D,N,H,O])}/*!
  react-datepicker v8.4.0
  https://github.com/Hacker0x01/react-datepicker
  Released under the MIT License.
*/var W2=function(i,n){return W2=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,l){t.__proto__=l}||function(t,l){for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(t[s]=l[s])},W2(i,n)};function Tn(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");W2(a,i);function n(){this.constructor=a}a.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)}var 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 pa(a,i,n){if(n||arguments.length===2)for(var t=0,l=i.length,s;t<l;t++)(s||!(t in i))&&(s||(s=Array.prototype.slice.call(i,0,t)),s[t]=i[t]);return a.concat(s||Array.prototype.slice.call(i))}var NR=function(a){var i=a.showTimeSelectOnly,n=i===void 0?!1:i,t=a.showTime,l=t===void 0?!1:t,s=a.className,c=a.children,d=n?"Choose Time":"Choose Date".concat(l?" and Time":"");return G.createElement("div",{className:s,role:"dialog","aria-label":d,"aria-modal":"true"},c)},kR=function(a,i){var n=y.useRef(null),t=y.useRef(a);t.current=a;var l=y.useCallback(function(s){var c,d=s.composed&&s.composedPath&&s.composedPath().find(function(h){return h instanceof Node})||s.target;n.current&&!n.current.contains(d)&&(i&&d instanceof HTMLElement&&d.classList.contains(i)||(c=t.current)===null||c===void 0||c.call(t,s))},[i]);return y.useEffect(function(){return document.addEventListener("mousedown",l),function(){document.removeEventListener("mousedown",l)}},[l]),n},lf=function(a){var i=a.children,n=a.onClickOutside,t=a.className,l=a.containerRef,s=a.style,c=a.ignoreClass,d=kR(n,c);return G.createElement("div",{className:t,style:s,ref:function(h){d.current=h,l&&(l.current=h)}},i)},ve;(function(a){a.ArrowUp="ArrowUp",a.ArrowDown="ArrowDown",a.ArrowLeft="ArrowLeft",a.ArrowRight="ArrowRight",a.PageUp="PageUp",a.PageDown="PageDown",a.Home="Home",a.End="End",a.Enter="Enter",a.Space=" ",a.Tab="Tab",a.Escape="Escape",a.Backspace="Backspace",a.X="x"})(ve||(ve={}));function bb(){var a=typeof window<"u"?window:globalThis;return a}var Ws=12;function bt(a){if(a==null)return new Date;var i=typeof a=="string"?GC(a):Te(a);return of(i)?i:new Date}function u2(a,i,n,t,l){l===void 0&&(l=bt());for(var s=uo(n)||uo(Lm()),c=Array.isArray(i)?i:[i],d=0,h=c;d<h.length;d++){var m=h[d],v=zC(a,m,l,{locale:s});if(of(v)&&(!t||a===jt(v,m,n)))return v}return null}function of(a,i){return Lc(a)&&!fl(a,new Date("1/1/1800"))}function jt(a,i,n){if(n==="en")return o9(a,i,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});var t=n?uo(n):void 0;return n&&!t&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),t=t||uo(Lm()),o9(a,i,{locale:t,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function Lr(a,i){var n=i.dateFormat,t=i.locale,l=Array.isArray(n)&&n.length>0?n[0]:n;return a&&jt(a,l,t)||""}var _b=" - ";function LR(a,i,n){if(!a)return"";var t=Lr(a,n),l=i?Lr(i,n):"";return"".concat(t).concat(_b).concat(l)}function qR(a,i){if(!(a!=null&&a.length))return"";var n=a[0]?Lr(a[0],i):"";if(a.length===1)return n;if(a.length===2&&a[1]){var t=Lr(a[1],i);return"".concat(n,", ").concat(t)}var l=a.length-1;return"".concat(n," (+").concat(l,")")}function c2(a,i){var n=i.hour,t=n===void 0?0:n,l=i.minute,s=l===void 0?0:l,c=i.second,d=c===void 0?0:c;return _c(Sc(Ec(a,d),s),t)}function UR(a){return Cm(a)}function HR(a,i){return jt(a,"ddd",i)}function Dc(a){return cl(a)}function Ri(a,i,n){var t=uo(i||Lm());return Za(a,{locale:t,weekStartsOn:n})}function Fa(a){return lb(a)}function Ls(a){return af(a)}function h9(a){return G2(a)}function p9(){return cl(bt())}function m9(a){return ab(a)}function PR(a){return GO(a)}function zR(a){return ib(a)}function fa(a,i){return a&&i?IC(a,i):!a&&!i}function Zn(a,i){return a&&i?jC(a,i):!a&&!i}function jc(a,i){return a&&i?BC(a,i):!a&&!i}function st(a,i){return a&&i?IO(a,i):!a&&!i}function rl(a,i){return a&&i?FA(a,i):!a&&!i}function qs(a,i,n){var t,l=cl(i),s=ab(n);try{t=Ps(a,{start:l,end:s})}catch{t=!1}return t}function Lm(){var a=bb();return a.__localeId__}function uo(a){if(typeof a=="string"){var i=bb();return i.__localeData__?i.__localeData__[a]:void 0}else return a}function YR(a,i,n){return i(jt(a,"EEEE",n))}function jR(a,i){return jt(a,"EEEEEE",i)}function BR(a,i){return jt(a,"EEE",i)}function qm(a,i){return jt(qr(bt(),a),"LLLL",i)}function Sb(a,i){return jt(qr(bt(),a),"LLL",i)}function IR(a,i){return jt(Jl(bt(),a),"QQQ",i)}function Ur(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.excludeDateIntervals,d=n.includeDates,h=n.includeDateIntervals,m=n.filterDate;return Qs(a,{minDate:t,maxDate:l})||s&&s.some(function(v){return v instanceof Date?st(a,v):st(a,v.date)})||c&&c.some(function(v){var g=v.start,b=v.end;return Ps(a,{start:g,end:b})})||d&&!d.some(function(v){return st(a,v)})||h&&!h.some(function(v){var g=v.start,b=v.end;return Ps(a,{start:g,end:b})})||m&&!m(bt(a))||!1}function Um(a,i){var n=i===void 0?{}:i,t=n.excludeDates,l=n.excludeDateIntervals;return l&&l.length>0?l.some(function(s){var c=s.start,d=s.end;return Ps(a,{start:c,end:d})}):t&&t.some(function(s){var c;return s instanceof Date?st(a,s):st(a,(c=s.date)!==null&&c!==void 0?c:new Date)})||!1}function Eb(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates,d=n.filterDate;return Qs(a,{minDate:t?lb(t):void 0,maxDate:l?ib(l):void 0})||(s==null?void 0:s.some(function(h){return Zn(a,h instanceof Date?h:h.date)}))||c&&!c.some(function(h){return Zn(a,h)})||d&&!d(bt(a))||!1}function dc(a,i,n,t){var l=Ge(a),s=Hn(a),c=Ge(i),d=Hn(i),h=Ge(t);return l===c&&l===h?s<=n&&n<=d:l<c?h===l&&s<=n||h===c&&d>=n||h<c&&h>l:!1}function FR(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates;return Qs(a,{minDate:t,maxDate:l})||s&&s.some(function(d){return Zn(d instanceof Date?d:d.date,a)})||c&&!c.some(function(d){return Zn(d,a)})||!1}function hc(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates,d=n.filterDate;return Qs(a,{minDate:t,maxDate:l})||(s==null?void 0:s.some(function(h){return jc(a,h instanceof Date?h:h.date)}))||c&&!c.some(function(h){return jc(a,h)})||d&&!d(bt(a))||!1}function pc(a,i,n){if(!i||!n||!Lc(i)||!Lc(n))return!1;var t=Ge(i),l=Ge(n);return t<=a&&l>=a}function Tc(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.maxDate,s=n.excludeDates,c=n.includeDates,d=n.filterDate,h=new Date(a,0,1);return Qs(h,{minDate:t?af(t):void 0,maxDate:l?ob(l):void 0})||(s==null?void 0:s.some(function(m){return fa(h,m instanceof Date?m:m.date)}))||c&&!c.some(function(m){return fa(h,m)})||d&&!d(bt(h))||!1}function mc(a,i,n,t){var l=Ge(a),s=il(a),c=Ge(i),d=il(i),h=Ge(t);return l===c&&l===h?s<=n&&n<=d:l<c?h===l&&s<=n||h===c&&d>=n||h<c&&h>l:!1}function Qs(a,i){var n,t=i===void 0?{}:i,l=t.minDate,s=t.maxDate;return(n=l&&oo(a,l)<0||s&&oo(a,s)>0)!==null&&n!==void 0?n:!1}function v9(a,i){return i.some(function(n){return Ba(n)===Ba(a)&&Ia(n)===Ia(a)&&Ci(n)===Ci(a)})}function g9(a,i){var n=i===void 0?{}:i,t=n.excludeTimes,l=n.includeTimes,s=n.filterTime;return t&&v9(a,t)||l&&!v9(a,l)||s&&!s(a)||!1}function y9(a,i){var n=i.minTime,t=i.maxTime;if(!n||!t)throw new Error("Both minTime and maxTime props required");var l=bt();l=_c(l,Ba(a)),l=Sc(l,Ia(a)),l=Ec(l,Ci(a));var s=bt();s=_c(s,Ba(n)),s=Sc(s,Ia(n)),s=Ec(s,Ci(n));var c=bt();c=_c(c,Ba(t)),c=Sc(c,Ia(t)),c=Ec(c,Ci(t));var d;try{d=!Ps(l,{start:s,end:c})}catch{d=!1}return d}function b9(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.includeDates,s=ll(a,1);return t&&qc(t,s)>0||l&&l.every(function(c){return qc(c,s)>0})||!1}function _9(a,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.includeDates,s=Kr(a,1);return t&&qc(s,t)>0||l&&l.every(function(c){return qc(s,c)>0})||!1}function GR(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.includeDates,s=af(a),c=vb(s);return t&&Uc(t,c)>0||l&&l.every(function(d){return Uc(d,c)>0})||!1}function ZR(a,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.includeDates,s=ob(a),c=Am(s,1);return t&&Uc(c,t)>0||l&&l.every(function(d){return Uc(c,d)>0})||!1}function S9(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.includeDates,s=so(a,1);return t&&Hc(t,s)>0||l&&l.every(function(c){return Hc(c,s)>0})||!1}function VR(a,i){var n=i===void 0?{}:i,t=n.minDate,l=n.yearItemNumber,s=l===void 0?Ws:l,c=Ls(so(a,s)),d=Ai(c,s).endPeriod,h=t&&Ge(t);return h&&h>d||!1}function E9(a,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.includeDates,s=Ya(a,1);return t&&Hc(s,t)>0||l&&l.every(function(c){return Hc(s,c)>0})||!1}function WR(a,i){var n=i===void 0?{}:i,t=n.maxDate,l=n.yearItemNumber,s=l===void 0?Ws:l,c=Ya(a,s),d=Ai(c,s).startPeriod,h=t&&Ge(t);return h&&h<d||!1}function wb(a){var i=a.minDate,n=a.includeDates;if(n&&i){var t=n.filter(function(l){return oo(l,i)>=0});return t9(t)}else return n?t9(n):i}function Db(a){var i=a.maxDate,n=a.includeDates;if(n&&i){var t=n.filter(function(l){return oo(l,i)<=0});return e9(t)}else return n?e9(n):i}function w9(a,i){var n;a===void 0&&(a=[]),i===void 0&&(i="react-datepicker__day--highlighted");for(var t=new Map,l=0,s=a.length;l<s;l++){var c=a[l];if(ja(c)){var d=jt(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 b=0,D=g.length;b<D;b++){var M=g[b];if(M){var d=jt(M,"MM.dd.yyyy"),h=t.get(d)||[];h.includes(v)||(h.push(v),t.set(d,h))}}}}return t}function QR(a,i){return a.length!==i.length?!1:a.every(function(n,t){return n===i[t]})}function KR(a,i){a===void 0&&(a=[]),i===void 0&&(i="react-datepicker__day--holidays");var n=new Map;return a.forEach(function(t){var l=t.date,s=t.holidayName;if(ja(l)){var c=jt(l,"MM.dd.yyyy"),d=n.get(c)||{className:"",holidayNames:[]};if(!("className"in d&&d.className===i&&QR(d.holidayNames,[s]))){d.className=i;var h=d.holidayNames;d.holidayNames=h?pa(pa([],h,!0),[s],!1):[s],n.set(c,d)}}}),n}function XR(a,i,n,t,l){for(var s=l.length,c=[],d=0;d<s;d++){var h=a,m=l[d];m&&(h=zO(h,Ba(m)),h=F2(h,Ia(m)),h=BO(h,Ci(m)));var v=F2(a,(n+1)*t);ki(h,i)&&fl(h,v)&&m!=null&&c.push(m)}return c}function D9(a){return a<10?"0".concat(a):"".concat(a)}function Ai(a,i){i===void 0&&(i=Ws);var n=Math.ceil(Ge(a)/i)*i,t=n-(i-1);return{startPeriod:t,endPeriod:n}}function $R(a){var i=new Date(a.getFullYear(),a.getMonth(),a.getDate()),n=new Date(a.getFullYear(),a.getMonth(),a.getDate(),24);return Math.round((+n-+i)/36e5)}function T9(a){var i=a.getSeconds(),n=a.getMilliseconds();return Te(a.getTime()-i*1e3-n)}function JR(a,i){return T9(a).getTime()===T9(i).getTime()}function x9(a){if(!ja(a))throw new Error("Invalid date");var i=new Date(a);return i.setHours(0,0,0,0),i}function M9(a,i){if(!ja(a)||!ja(i))throw new Error("Invalid date received");var n=x9(a),t=x9(i);return fl(n,t)}function Tb(a){return a.key===ve.Space}var eN=function(a){Tn(i,a);function i(n){var t=a.call(this,n)||this;return t.inputRef=G.createRef(),t.onTimeChange=function(l){var s,c;t.setState({time:l});var d=t.props.date,h=d instanceof Date&&!isNaN(+d),m=h?d:new Date;if(l!=null&&l.includes(":")){var v=l.split(":"),g=v[0],b=v[1];m.setHours(Number(g)),m.setMinutes(Number(b))}(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),tN=function(a){Tn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.dayEl=y.createRef(),n.handleClick=function(t){!n.isDisabled()&&n.props.onClick&&n.props.onClick(t)},n.handleMouseEnter=function(t){!n.isDisabled()&&n.props.onMouseEnter&&n.props.onMouseEnter(t)},n.handleOnKeyDown=function(t){var l,s,c=t.key;c===ve.Space&&(t.preventDefault(),t.key=ve.Enter),(s=(l=n.props).handleOnKeyDown)===null||s===void 0||s.call(l,t)},n.isSameDay=function(t){return 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),Ur(t,{minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,includeDateIntervals:n.props.includeDateIntervals,includeDates:n.props.includeDates,filterDate:n.props.filterDate})},n.isExcluded=function(){return Um(n.props.day,{excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals})},n.isStartOfWeek=function(){return st(n.props.day,Ri(n.props.day,n.props.locale,n.props.calendarStartDay))},n.isSameWeek=function(t){return n.props.showWeekPicker&&st(t,Ri(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=jt(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=jt(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:qs(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,b=(t=n.props.selectingDate)!==null&&t!==void 0?t:n.props.preSelection;return!(c||d||h)||!b||!m&&n.isDisabled()?!1:c&&g&&(fl(b,g)||rl(b,g))?qs(s,b,g):d&&v&&(ki(b,v)||rl(b,v))||h&&v&&!g&&(ki(b,v)||rl(b,v))?qs(s,v,b):!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=YA(n.props.day);return t===0||t===6},n.isAfterMonth=function(){return n.props.month!==void 0&&(n.props.month+1)%12===Hn(n.props.day)},n.isBeforeMonth=function(){return n.props.month!==void 0&&(Hn(n.props.day)+1)%12===n.props.month},n.isCurrentDay=function(){return n.isSameDay(bt())},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--"+HR(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(jt(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=jt(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(s9(n.props.day),n.props.day):s9(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),nN=function(a){Tn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.weekNumberEl=y.createRef(),n.handleClick=function(t){n.props.onClick&&n.props.onClick(t)},n.handleOnKeyDown=function(t){var l,s,c=t.key;c===ve.Space&&(t.preventDefault(),t.key=ve.Enter),(s=(l=n.props).handleOnKeyDown)===null||s===void 0||s.call(l,t)},n.isKeyboardSelected=function(){return!n.props.disabledKeyboardNavigation&&!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),rN=function(a){Tn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.isDisabled=function(t){return Ur(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 b=!n.isDisabled(g);if(b){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):UR(t)},n.isWeekDisabled=function(){for(var t=n.startOfWeek(),l=Wr(t,6),s=new Date(t);s<=l;){if(!n.isDisabled(s))return!1;s=Wr(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(nN,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=Wr(t,d);return G.createElement(tN,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 Ri(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),Cs,aN=6,to={TWO_COLUMNS:"two_columns",THREE_COLUMNS:"three_columns",FOUR_COLUMNS:"four_columns"},f2=(Cs={},Cs[to.TWO_COLUMNS]={grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2},Cs[to.THREE_COLUMNS]={grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3},Cs[to.FOUR_COLUMNS]={grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4},Cs),vc=1;function O9(a,i){return a?to.FOUR_COLUMNS:i?to.TWO_COLUMNS:to.THREE_COLUMNS}var iN=function(a){Tn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.MONTH_REFS=pa([],Array(12),!0).map(function(){return y.createRef()}),n.QUARTER_REFS=pa([],Array(4),!0).map(function(){return y.createRef()}),n.isDisabled=function(t){return Ur(t,{minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,includeDateIntervals:n.props.includeDateIntervals,includeDates:n.props.includeDates,filterDate:n.props.filterDate})},n.isExcluded=function(t){return Um(t,{excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals})},n.handleDayClick=function(t,l){var s,c;(c=(s=n.props).onDayClick)===null||c===void 0||c.call(s,t,l,n.props.orderInDisplay)},n.handleDayMouseEnter=function(t){var l,s;(s=(l=n.props).onDayMouseEnter)===null||s===void 0||s.call(l,t)},n.handleMouseLeave=function(){var t,l;(l=(t=n.props).onMouseLeave)===null||l===void 0||l.call(t)},n.isRangeStartMonth=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:Zn(qr(s,t),c)},n.isRangeStartQuarter=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:jc(Jl(s,t),c)},n.isRangeEndMonth=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:Zn(qr(s,t),d)},n.isRangeEndQuarter=function(t){var l=n.props,s=l.day,c=l.startDate,d=l.endDate;return!c||!d?!1:jc(Jl(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,b=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return!(d||h||m)||!b?!1:d&&g?dc(b,g,t,c):h&&v||m&&v&&!g?dc(v,b,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=qr(c,t),v=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return h?Zn(m,v):Zn(m,d)},n.isSelectingMonthRangeEnd=function(t){var l;if(!n.isInSelectingRangeMonth(t))return!1;var s=n.props,c=s.day,d=s.endDate,h=s.selectsEnd,m=s.selectsRange,v=qr(c,t),g=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return h||m?Zn(v,g):Zn(v,d)},n.isInSelectingRangeQuarter=function(t){var l,s=n.props,c=s.day,d=s.selectsStart,h=s.selectsEnd,m=s.selectsRange,v=s.startDate,g=s.endDate,b=(l=n.props.selectingDate)!==null&&l!==void 0?l:n.props.preSelection;return!(d||h||m)||!b?!1:d&&g?mc(b,g,t,c):h&&v||m&&v&&!g?mc(v,b,t,c):!1},n.isWeekInMonth=function(t){var l=n.props.day,s=Wr(t,6);return Zn(t,l)||Zn(s,l)},n.isCurrentMonth=function(t,l){return Ge(t)===Ge(bt())&&l===Hn(bt())},n.isCurrentQuarter=function(t,l){return Ge(t)===Ge(bt())&&l===il(bt())},n.isSelectedMonth=function(t,l,s){return Hn(s)===l&&Ge(t)===Ge(s)},n.isSelectMonthInList=function(t,l,s){return s.some(function(c){return n.isSelectedMonth(t,l,c)})},n.isSelectedQuarter=function(t,l,s){return il(t)===l&&Ge(t)===Ge(s)},n.isMonthSelected=function(){var t=n.props,l=t.day,s=t.selected,c=t.selectedDates,d=t.selectsMultiple,h=Hn(l);return d?c==null?void 0:c.some(function(m){return n.isSelectedMonth(l,h,m)}):!!s&&n.isSelectedMonth(l,h,s)},n.renderWeeks=function(){for(var t=[],l=n.props.fixedHeight,s=0,c=!1,d=Ri(Fa(n.props.day),n.props.locale,n.props.calendarStartDay),h=function(M){return n.props.showWeekPicker?Ri(M,n.props.locale,n.props.calendarStartDay):n.props.preSelection},m=function(M){return n.props.showWeekPicker?Ri(M,n.props.locale,n.props.calendarStartDay):n.props.selected},v=n.props.selected?m(n.props.selected):void 0,g=n.props.preSelection?h(n.props.preSelection):void 0;t.push(G.createElement(rN,ut({},n.props,{ariaLabelPrefix:n.props.weekAriaLabelPrefix,key:s,day:d,month:Hn(n.props.day),onDayClick:n.handleDayClick,onDayMouseEnter:n.handleDayMouseEnter,selected:v,preSelection:g,showWeekNumber:n.props.showWeekNumbers}))),!c;){s++,d=kc(d,1);var b=l&&s>=aN,D=!l&&!n.isWeekInMonth(d);if(b||D)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(Fa(d),t)},n.onMonthMouseEnter=function(t){var l=n.isMonthDisabledForLabelDate(t),s=l.isDisabled,c=l.labelDate;s||n.handleDayMouseEnter(Fa(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,b=d.maxDate,D=d.showFourColumnMonthYearPicker,M=d.showTwoColumnMonthYearPicker;if(m){var C=O9(D,M),N=n.getVerticalOffset(C),H=(c=f2[C])===null||c===void 0?void 0:c.grid,O=function(V,S,E){var w,q,L=S,z=E;switch(V){case ve.ArrowRight:L=Kr(S,vc),z=E===11?0:E+vc;break;case ve.ArrowLeft:L=ll(S,vc),z=E===0?11:E-vc;break;case ve.ArrowUp:L=ll(S,N),z=!((w=H==null?void 0:H[0])===null||w===void 0)&&w.includes(E)?E+12-N:E-N;break;case ve.ArrowDown:L=Kr(S,N),z=!((q=H==null?void 0:H[H.length-1])===null||q===void 0)&&q.includes(E)?E-12+N:E+N;break}return{newCalculatedDate:L,newCalculatedMonth:z}},Z=function(V,S,E){for(var w=40,q=V,L=!1,z=0,j=O(q,S,E),U=j.newCalculatedDate,T=j.newCalculatedMonth;!L;){if(z>=w){U=S,T=E;break}if(g&&U<g){q=ve.ArrowRight;var R=O(q,U,T);U=R.newCalculatedDate,T=R.newCalculatedMonth}if(b&&U>b){q=ve.ArrowLeft;var R=O(q,U,T);U=R.newCalculatedDate,T=R.newCalculatedMonth}if(FR(U,n.props)){var R=O(q,U,T);U=R.newCalculatedDate,T=R.newCalculatedMonth}else L=!0;z++}return{newCalculatedDate:U,newCalculatedMonth:T}};if(l===ve.Enter){n.isMonthDisabled(s)||(n.onMonthClick(t,s),v==null||v(h));return}var K=Z(l,m,s),X=K.newCalculatedDate,re=K.newCalculatedMonth;switch(l){case ve.ArrowRight:case ve.ArrowLeft:case ve.ArrowUp:case ve.ArrowDown:n.handleMonthNavigation(re,X);break}}},n.getVerticalOffset=function(t){var l,s;return(s=(l=f2[t])===null||l===void 0?void 0:l.verticalNavigationOffset)!==null&&s!==void 0?s:0},n.onMonthKeyDown=function(t,l){var s=n.props,c=s.disabledKeyboardNavigation,d=s.handleOnMonthKeyDown,h=t.key;h!==ve.Tab&&t.preventDefault(),c||n.handleKeyboardNavigation(t,h,l),d&&d(t)},n.onQuarterClick=function(t,l){var s=Jl(n.props.day,l);hc(s,n.props)||n.handleDayClick(h9(s),t)},n.onQuarterMouseEnter=function(t){var l=Jl(n.props.day,t);hc(l,n.props)||n.handleDayMouseEnter(h9(l))},n.handleQuarterNavigation=function(t,l){var s,c,d,h;n.isDisabled(l)||n.isExcluded(l)||((c=(s=n.props).setPreSelection)===null||c===void 0||c.call(s,l),(h=(d=n.QUARTER_REFS[t-1])===null||d===void 0?void 0:d.current)===null||h===void 0||h.focus())},n.onQuarterKeyDown=function(t,l){var s,c,d=t.key;if(!n.props.disabledKeyboardNavigation)switch(d){case ve.Enter:n.onQuarterClick(t,l),(c=(s=n.props).setPreSelection)===null||c===void 0||c.call(s,n.props.selected);break;case ve.ArrowRight:if(!n.props.preSelection)break;n.handleQuarterNavigation(l===4?1:l+1,Am(n.props.preSelection,1));break;case ve.ArrowLeft:if(!n.props.preSelection)break;n.handleQuarterNavigation(l===1?4:l-1,vb(n.props.preSelection));break}},n.isMonthDisabledForLabelDate=function(t){var l,s=n.props,c=s.day,d=s.minDate,h=s.maxDate,m=s.excludeDates,v=s.includeDates,g=qr(c,t);return{isDisabled:(l=(d||h||m||v)&&Eb(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(qr(s,t)):void 0,g=n.getSelection();return Nn("react-datepicker__month-text","react-datepicker__month-".concat(t),v,{"react-datepicker__month-text--disabled":n.isMonthDisabled(t),"react-datepicker__month-text--selected":g?n.isSelectMonthInList(s,t,g):void 0,"react-datepicker__month-text--keyboard-selected":!n.props.disabledKeyboardNavigation&&h&&n.isSelectedMonth(s,t,h)&&!n.isMonthSelected()&&!n.isMonthDisabled(t),"react-datepicker__month-text--in-selecting-range":n.isInSelectingRangeMonth(t),"react-datepicker__month-text--in-range":c&&d?dc(c,d,t,s):void 0,"react-datepicker__month-text--range-start":n.isRangeStartMonth(t),"react-datepicker__month-text--range-end":n.isRangeEndMonth(t),"react-datepicker__month-text--selecting-range-start":n.isSelectingMonthRangeStart(t),"react-datepicker__month-text--selecting-range-end":n.isSelectingMonthRangeEnd(t),"react-datepicker__month-text--today":n.isCurrentMonth(s,t)})},n.getTabIndex=function(t){if(n.props.preSelection==null)return"-1";var l=Hn(n.props.preSelection),s=n.isMonthDisabledForLabelDate(l).isDisabled,c=t===l&&!(s||n.props.disabledKeyboardNavigation)?"0":"-1";return c},n.getQuarterTabIndex=function(t){if(n.props.preSelection==null)return"-1";var l=il(n.props.preSelection),s=hc(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=qr(m,t),b=n.isDisabled(g)||n.isExcluded(g)?h:c;return"".concat(b," ").concat(jt(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,b=l.includeDates,D=l.filterDate,M=l.preSelection,C=l.disabledKeyboardNavigation,N=(m||v||g||b||D)&&hc(Jl(s,t),n.props);return Nn("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter-text--disabled":N,"react-datepicker__quarter-text--selected":h?n.isSelectedQuarter(s,t,h):void 0,"react-datepicker__quarter-text--keyboard-selected":!C&&M&&n.isSelectedQuarter(s,t,M)&&!N,"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=Sb(t,d),v=qm(t,d);return c?c(t,m,v,h):s?v:m},n.getQuarterContent=function(t){var l,s=n.props,c=s.renderQuarterContent,d=s.locale,h=IR(t,d);return(l=c==null?void 0:c(t,h))!==null&&l!==void 0?l:h},n.renderMonths=function(){var t,l=n.props,s=l.showTwoColumnMonthYearPicker,c=l.showFourColumnMonthYearPicker,d=l.day,h=l.selected,m=(t=f2[O9(c,s)])===null||t===void 0?void 0:t.grid;return m==null?void 0:m.map(function(v,g){return G.createElement("div",{className:"react-datepicker__month-wrapper",key:g},v.map(function(b,D){return G.createElement("div",{ref:n.MONTH_REFS[b],key:D,onClick:function(M){n.onMonthClick(M,b)},onKeyDown:function(M){Tb(M)&&(M.preventDefault(),M.key=ve.Enter),n.onMonthKeyDown(M,b)},onMouseEnter:n.props.usePointerEvent?void 0:function(){return n.onMonthMouseEnter(b)},onPointerEnter:n.props.usePointerEvent?function(){return n.onMonthMouseEnter(b)}:void 0,tabIndex:Number(n.getTabIndex(b)),className:n.getMonthClassNames(b),"aria-disabled":n.isMonthDisabled(b),role:"option","aria-label":n.getAriaLabel(b),"aria-current":n.isCurrentMonth(d,b)?"date":void 0,"aria-selected":h?n.isSelectedMonth(d,b,h):void 0},n.getMonthContent(b))}))})},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(jt(s,"MMMM, yyyy",this.props.locale)),role:"listbox"},t?this.renderMonths():l?this.renderQuarters():this.renderWeeks())},i}(y.Component),lN=function(a){Tn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.isSelectedMonth=function(t){return n.props.month===t},n.renderOptions=function(){return n.props.monthNames.map(function(t,l){return G.createElement("div",{className:n.isSelectedMonth(l)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:t,onClick:n.onChange.bind(n,l),"aria-selected":n.isSelectedMonth(l)?"true":void 0},n.isSelectedMonth(l)?G.createElement("span",{className:"react-datepicker__month-option--selected"},"✓"):"",t)})},n.onChange=function(t){return n.props.onChange(t)},n.handleClickOutside=function(){return n.props.onCancel()},n}return i.prototype.render=function(){return G.createElement(lf,{className:"react-datepicker__month-dropdown",onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),oN=function(a){Tn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(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(lN,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 Sb(s,n.props.locale)}:function(s){return qm(s,n.props.locale)}),l;switch(this.props.dropdownMode){case"scroll":l=this.renderScrollMode(t);break;case"select":l=this.renderSelectMode(t);break}return G.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},l)},i}(y.Component);function sN(a,i){for(var n=[],t=Fa(a),l=Fa(i);!ki(t,l);)n.push(bt(t)),t=Kr(t,1);return n}var uN=function(a){Tn(i,a);function i(n){var t=a.call(this,n)||this;return t.renderOptions=function(){return t.state.monthYearsList.map(function(l){var s=V2(l),c=fa(t.props.date,l)&&Zn(t.props.date,l);return G.createElement("div",{className:c?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:s,onClick:t.onChange.bind(t,s),"aria-selected":c?"true":void 0},c?G.createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",jt(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:sN(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(lf,{className:n,onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),cN=function(a){Tn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(){for(var t=Fa(n.props.minDate),l=Fa(n.props.maxDate),s=[];!ki(t,l);){var c=V2(t);s.push(G.createElement("option",{key:c,value:c},jt(t,n.props.dateFormat,n.props.locale))),t=Kr(t,1)}return s},n.onSelectChange=function(t){n.onChange(parseInt(t.target.value))},n.renderSelectMode=function(){return G.createElement("select",{value:V2(Fa(n.props.date)),className:"react-datepicker__month-year-select",onChange:n.onSelectChange},n.renderSelectOptions())},n.renderReadView=function(t){var l=jt(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(uN,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=bt(t);fa(n.props.date,l)&&Zn(n.props.date,l)||n.props.onChange(l)},n.toggleDropdown=function(){return n.setState({dropdownVisible:!n.state.dropdownVisible})},n}return i.prototype.render=function(){var n;switch(this.props.dropdownMode){case"scroll":n=this.renderScrollMode();break;case"select":n=this.renderSelectMode();break}return G.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},n)},i}(y.Component),fN=function(a){Tn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.state={height:null},n.scrollToTheSelectedTime=function(){requestAnimationFrame(function(){var t,l,s;n.list&&(n.list.scrollTop=(s=n.centerLi&&i.calcCenterPosition(n.props.monthRef?n.props.monthRef.clientHeight-((l=(t=n.header)===null||t===void 0?void 0:t.clientHeight)!==null&&l!==void 0?l:0):n.list.clientHeight,n.centerLi))!==null&&s!==void 0?s:0)})},n.handleClick=function(t){var l,s;(n.props.minTime||n.props.maxTime)&&y9(t,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&g9(t,n.props)||(s=(l=n.props).onChange)===null||s===void 0||s.call(l,t)},n.isSelectedTime=function(t){return n.props.selected&&JR(n.props.selected,t)},n.isDisabledTime=function(t){return(n.props.minTime||n.props.maxTime)&&y9(t,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&g9(t,n.props)},n.liClasses=function(t){var l,s=["react-datepicker__time-list-item",n.props.timeClassName?n.props.timeClassName(t):void 0];return n.isSelectedTime(t)&&s.push("react-datepicker__time-list-item--selected"),n.isDisabledTime(t)&&s.push("react-datepicker__time-list-item--disabled"),n.props.injectTimes&&(Ba(t)*3600+Ia(t)*60+Ci(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||bt(),h=Dc(d),m=n.props.injectTimes&&n.props.injectTimes.sort(function(N,H){return N.getTime()-H.getTime()}),v=60*$R(d),g=v/c,b=0;b<g;b++){var D=F2(h,b*c);if(l.push(D),m){var M=XR(h,D,b,c,m);l=l.concat(M)}}var C=l.reduce(function(N,H){return H.getTime()<=d.getTime()?H:N},l[0]);return l.map(function(N){return G.createElement("li",{key:N.valueOf(),onClick:n.handleClick.bind(n,N),className:n.liClasses(N),ref:function(H){N===C&&(n.centerLi=H)},onKeyDown:function(H){n.handleOnKeyDown(H,N)},tabIndex:N===C?0:-1,role:"option","aria-selected":n.isSelectedTime(N)?"true":void 0,"aria-disabled":n.isDisabledTime(N)?"true":void 0},jt(N,s,n.props.locale))})},n.renderTimeCaption=function(){return n.props.showTimeCaption===!1?G.createElement(G.Fragment,null):G.createElement("div",{className:"react-datepicker__header react-datepicker__header--time ".concat(n.props.showTimeSelectOnly?"react-datepicker__header--time--only":""),ref:function(t){n.header=t}},G.createElement("div",{className:"react-datepicker-time__header"},n.props.timeCaption))},n}return Object.defineProperty(i,"defaultProps",{get:function(){return{intervals:30,todayButton:null,timeCaption:"Time",showTimeCaption:!0}},enumerable:!1,configurable:!0}),i.prototype.componentDidMount=function(){this.scrollToTheSelectedTime(),this.observeDatePickerHeightChanges()},i.prototype.componentWillUnmount=function(){var n;(n=this.resizeObserver)===null||n===void 0||n.disconnect()},i.prototype.observeDatePickerHeightChanges=function(){var n=this,t=this.props.monthRef;this.updateContainerHeight(),t&&(this.resizeObserver=new ResizeObserver(function(){n.updateContainerHeight()}),this.resizeObserver.observe(t))},i.prototype.updateContainerHeight=function(){this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})},i.prototype.render=function(){var n=this,t,l=this.state.height;return G.createElement("div",{className:"react-datepicker__time-container ".concat(((t=this.props.todayButton)!==null&&t!==void 0?t:i.defaultProps.todayButton)?"react-datepicker__time-container--with-today-button":"")},this.renderTimeCaption(),G.createElement("div",{className:"react-datepicker__time"},G.createElement("div",{className:"react-datepicker__time-box"},G.createElement("ul",{className:"react-datepicker__time-list",ref:function(s){n.list=s},style:l?{height:l}:{},role:"listbox","aria-label":this.props.timeCaption},this.renderTimes()))))},i.calcCenterPosition=function(n,t){return t.offsetTop-(n/2-t.clientHeight/2)},i}(y.Component),A9=3,dN=function(a){Tn(i,a);function i(n){var t=a.call(this,n)||this;return t.YEAR_REFS=pa([],Array(t.props.yearItemNumber),!0).map(function(){return y.createRef()}),t.isDisabled=function(l){return Ur(l,{minDate:t.props.minDate,maxDate:t.props.maxDate,excludeDates:t.props.excludeDates,includeDates:t.props.includeDates,filterDate:t.props.filterDate})},t.isExcluded=function(l){return Um(l,{excludeDates:t.props.excludeDates})},t.selectingDate=function(){var l;return(l=t.props.selectingDate)!==null&&l!==void 0?l:t.props.preSelection},t.updateFocusOnPaginate=function(l){var s=function(){var c,d;(d=(c=t.YEAR_REFS[l])===null||c===void 0?void 0:c.current)===null||d===void 0||d.focus()};window.requestAnimationFrame(s)},t.handleYearClick=function(l,s){t.props.onDayClick&&t.props.onDayClick(l,s)},t.handleYearNavigation=function(l,s){var c,d,h,m,v=t.props,g=v.date,b=v.yearItemNumber;if(!(g===void 0||b===void 0)){var D=Ai(g,b).startPeriod;t.isDisabled(s)||t.isExcluded(s)||((d=(c=t.props).setPreSelection)===null||d===void 0||d.call(c,s),l-D<0?t.updateFocusOnPaginate(b-(D-l)):l-D>=b?t.updateFocusOnPaginate(Math.abs(b-(l-D))):(m=(h=t.YEAR_REFS[l-D])===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===Ge(bt())},t.isRangeStart=function(l){return t.props.startDate&&t.props.endDate&&fa(ca(bt(),l),t.props.startDate)},t.isRangeEnd=function(l){return t.props.startDate&&t.props.endDate&&fa(ca(bt(),l),t.props.endDate)},t.isInRange=function(l){return pc(l,t.props.startDate,t.props.endDate)},t.isInSelectingRange=function(l){var s=t.props,c=s.selectsStart,d=s.selectsEnd,h=s.selectsRange,m=s.startDate,v=s.endDate;return!(c||d||h)||!t.selectingDate()?!1:c&&v?pc(l,t.selectingDate(),v):d&&m||h&&m&&!v?pc(l,m,t.selectingDate()):!1},t.isSelectingRangeStart=function(l){var s;if(!t.isInSelectingRange(l))return!1;var c=t.props,d=c.startDate,h=c.selectsStart,m=ca(bt(),l);return h?fa(m,(s=t.selectingDate())!==null&&s!==void 0?s:null):fa(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=ca(bt(),l);return h||m?fa(v,(s=t.selectingDate())!==null&&s!==void 0?s:null):fa(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=Ls(ca(t.props.date,l)),b=(c||d||h||m||v)&&Tc(l,t.props);return!t.props.disabledKeyboardNavigation&&!t.props.inline&&!st(g,Ls(t.props.selected))&&st(g,Ls(t.props.preSelection))&&!b}},t.isSelectedYear=function(l){var s=t.props,c=s.selectsMultiple,d=s.selected,h=s.selectedDates;return c?h==null?void 0:h.some(function(m){return l===Ge(m)}):!!d&&l===Ge(d)},t.onYearClick=function(l,s){var c=t.props.date;c!==void 0&&t.handleYearClick(Ls(ca(c,s)),l)},t.onYearKeyDown=function(l,s){var c,d,h=l.key,m=t.props,v=m.date,g=m.yearItemNumber,b=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,Ya(t.props.preSelection,1));break;case ve.ArrowLeft:if(t.props.preSelection==null)break;t.handleYearNavigation(s-1,so(t.props.preSelection,1));break;case ve.ArrowUp:{if(v===void 0||g===void 0||t.props.preSelection==null)break;var D=Ai(v,g).startPeriod,M=A9,C=s-M;if(C<D){var N=g%M;s>=D&&s<D+N?M=N:M+=N,C=s-M}t.handleYearNavigation(C,so(t.props.preSelection,M));break}case ve.ArrowDown:{if(v===void 0||g===void 0||t.props.preSelection==null)break;var H=Ai(v,g).endPeriod,M=A9,C=s+M;if(C>H){var N=g%M;s<=H&&s>H-N?M=N:M+=N,C=s+M}t.handleYearNavigation(C,Ya(t.props.preSelection,M));break}}b&&b(l)},t.getYearClassNames=function(l){var s=t.props,c=s.date,d=s.minDate,h=s.maxDate,m=s.excludeDates,v=s.includeDates,g=s.filterDate,b=s.yearClassName;return Nn("react-datepicker__year-text","react-datepicker__year-".concat(l),c?b==null?void 0:b(ca(c,l)):void 0,{"react-datepicker__year-text--selected":t.isSelectedYear(l),"react-datepicker__year-text--disabled":(d||h||m||v||g)&&Tc(l,t.props),"react-datepicker__year-text--keyboard-selected":t.isKeyboardSelected(l),"react-datepicker__year-text--range-start":t.isRangeStart(l),"react-datepicker__year-text--range-end":t.isRangeEnd(l),"react-datepicker__year-text--in-range":t.isInRange(l),"react-datepicker__year-text--in-selecting-range":t.isInSelectingRange(l),"react-datepicker__year-text--selecting-range-start":t.isSelectingRangeStart(l),"react-datepicker__year-text--selecting-range-end":t.isSelectingRangeEnd(l),"react-datepicker__year-text--today":t.isCurrentYear(l)})},t.getYearTabIndex=function(l){if(t.props.disabledKeyboardNavigation||t.props.preSelection==null)return"-1";var s=Ge(t.props.preSelection),c=Tc(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=Ai(s,c),v=m.startPeriod,g=m.endPeriod,b=function(C){t.push(G.createElement("div",{ref:D.YEAR_REFS[C-v],onClick:function(N){n.onYearClick(N,C)},onKeyDown:function(N){Tb(N)&&(N.preventDefault(),N.key=ve.Enter),n.onYearKeyDown(N,C)},tabIndex:Number(D.getYearTabIndex(C)),className:D.getYearClassNames(C),onMouseEnter:D.props.usePointerEvent?void 0:function(N){return d(N,C)},onPointerEnter:D.props.usePointerEvent?function(N){return d(N,C)}:void 0,onMouseLeave:D.props.usePointerEvent?void 0:function(N){return h(N,C)},onPointerLeave:D.props.usePointerEvent?function(N){return h(N,C)}:void 0,key:C,"aria-current":D.isCurrentYear(C)?"date":void 0},D.getYearContent(C)))},D=this,M=v;M<=g;M++)b(M);return G.createElement("div",{className:"react-datepicker__year"},G.createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.usePointerEvent?void 0:this.props.clearSelectingDate,onPointerLeave:this.props.usePointerEvent?this.props.clearSelectingDate:void 0},t))},i}(y.Component);function hN(a,i,n,t){for(var l=[],s=0;s<2*i+1;s++){var c=a+i-s,d=!0;n&&(d=Ge(n)<=c),t&&d&&(d=Ge(t)>=c),d&&l.push(c)}return l}var pN=function(a){Tn(i,a);function i(n){var t=a.call(this,n)||this;t.renderOptions=function(){var d=t.props.year,h=t.state.yearsList.map(function(g){return G.createElement("div",{className:d===g?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:g,onClick:t.onChange.bind(t,g),"aria-selected":d===g?"true":void 0},d===g?G.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",g)}),m=t.props.minDate?Ge(t.props.minDate):null,v=t.props.maxDate?Ge(t.props.maxDate):null;return(!v||!t.state.yearsList.find(function(g){return g===v}))&&h.unshift(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:hN(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(lf,{className:n,containerRef:this.dropdownRef,onClickOutside:this.handleClickOutside},this.renderOptions())},i}(y.Component),mN=function(a){Tn(i,a);function i(){var n=a!==null&&a.apply(this,arguments)||this;return n.state={dropdownVisible:!1},n.renderSelectOptions=function(){for(var t=n.props.minDate?Ge(n.props.minDate):1900,l=n.props.maxDate?Ge(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(pN,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),vN=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],gN=function(a){var i=(a.className||"").split(/\s+/);return vN.some(function(n){return i.indexOf(n)>=0})},yN=function(a){Tn(i,a);function i(n){var t=a.call(this,n)||this;return t.monthContainer=void 0,t.handleClickOutside=function(l){t.props.onClickOutside(l)},t.setClickOutsideRef=function(){return t.containerRef.current},t.handleDropdownFocus=function(l){var s,c;gN(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=wb(t.props),m=Db(t.props),v=bt(),g=d||c||s;return g||(h&&fl(v,h)?h:m&&ki(v,m)?m:v)},t.increaseMonth=function(){t.setState(function(l){var s=l.date;return{date:Kr(s,1)}},function(){return t.handleMonthChange(t.state.date)})},t.decreaseMonth=function(){t.setState(function(l){var s=l.date;return{date:ll(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:ca(bt(),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(!Ur(l,t.props))return l;for(var s=Fa(l),c=zR(l),d=FO(c,s),h=null,m=0;m<=d;m++){var v=Wr(s,m);if(!Ur(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:ca(c,Number(l))}},function(){return t.handleYearChange(t.state.date)})},t.changeMonth=function(l){t.setState(function(s){var c=s.date;return{date:qr(c,Number(l))}},function(){return t.handleMonthChange(t.state.date)})},t.changeMonthYear=function(l){t.setState(function(s){var c=s.date;return{date:ca(qr(c,Hn(l)),Ge(l))}},function(){return t.handleMonthYearChange(t.state.date)})},t.header=function(l){l===void 0&&(l=t.state.date);var s=Ri(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=Wr(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":jt(h,"EEEE",t.props.locale),className:Nn("react-datepicker__day-name",v)},m)}))},t.formatWeekday=function(l,s){return t.props.formatWeekDay?YR(l,t.props.formatWeekDay,s):t.props.useWeekdaysShort?BR(l,s):jR(l,s)},t.decreaseYear=function(){t.setState(function(l){var s,c=l.date;return{date:so(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=ll(t.state.date,m),g;switch(!0){case t.props.showMonthYearPicker:g=S9(t.state.date,t.props);break;case t.props.showYearPicker:g=VR(t.state.date,t.props);break;case t.props.showQuarterYearPicker:g=GR(t.state.date,t.props);break;default:g=b9(v,t.props);break}if(!(!((c=t.props.forceShowMonthNavigation)!==null&&c!==void 0?c:i.defaultProps.forceShowMonthNavigation)&&!t.props.showDisabledMonthNavigation&&g||t.props.showTimeSelectOnly)){var b=["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"],D=["react-datepicker__navigation","react-datepicker__navigation--previous"],M=t.decreaseMonth;(t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker)&&(M=t.decreaseYear),g&&t.props.showDisabledMonthNavigation&&(D.push("react-datepicker__navigation--previous--disabled"),M=void 0);var C=t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker,N=t.props,H=N.previousMonthButtonLabel,O=H===void 0?i.defaultProps.previousMonthButtonLabel:H,Z=N.previousYearButtonLabel,K=Z===void 0?i.defaultProps.previousYearButtonLabel:Z,X=t.props,re=X.previousMonthAriaLabel,V=re===void 0?typeof O=="string"?O:"Previous Month":re,S=X.previousYearAriaLabel,E=S===void 0?typeof K=="string"?K:"Previous Year":S;return G.createElement("button",{type:"button",className:D.join(" "),onClick:M,onKeyDown:t.props.handleOnKeyDown,"aria-label":C?E:V},G.createElement("span",{className:b.join(" ")},C?K:O))}}},t.increaseYear=function(){t.setState(function(l){var s,c=l.date;return{date:Ya(c,t.props.showYearPicker?(s=t.props.yearItemNumber)!==null&&s!==void 0?s:i.defaultProps.yearItemNumber:1)}},function(){return t.handleYearChange(t.state.date)})},t.renderNextButton=function(){var l;if(!t.props.renderCustomHeader){var s;switch(!0){case t.props.showMonthYearPicker:s=E9(t.state.date,t.props);break;case t.props.showYearPicker:s=WR(t.state.date,t.props);break;case t.props.showQuarterYearPicker:s=ZR(t.state.date,t.props);break;default:s=_9(t.state.date,t.props);break}if(!(!((l=t.props.forceShowMonthNavigation)!==null&&l!==void 0?l:i.defaultProps.forceShowMonthNavigation)&&!t.props.showDisabledMonthNavigation&&s||t.props.showTimeSelectOnly)){var c=["react-datepicker__navigation","react-datepicker__navigation--next"],d=["react-datepicker__navigation-icon","react-datepicker__navigation-icon--next"];t.props.showTimeSelect&&c.push("react-datepicker__navigation--next--with-time"),t.props.todayButton&&c.push("react-datepicker__navigation--next--with-today-button");var h=t.increaseMonth;(t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker)&&(h=t.increaseYear),s&&t.props.showDisabledMonthNavigation&&(c.push("react-datepicker__navigation--next--disabled"),h=void 0);var m=t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker,v=t.props,g=v.nextMonthButtonLabel,b=g===void 0?i.defaultProps.nextMonthButtonLabel:g,D=v.nextYearButtonLabel,M=D===void 0?i.defaultProps.nextYearButtonLabel:D,C=t.props,N=C.nextMonthAriaLabel,H=N===void 0?typeof b=="string"?b:"Next Month":N,O=C.nextYearAriaLabel,Z=O===void 0?typeof M=="string"?M:"Next Year":O;return G.createElement("button",{type:"button",className:c.join(" "),onClick:h,onKeyDown:t.props.handleOnKeyDown,"aria-label":m?Z:H},G.createElement("span",{className:d.join(" ")},m?M:b))}}},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(" ")},jt(l,t.props.dateFormat,t.props.locale))},t.renderYearDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showYearDropdown||l))return G.createElement(mN,ut({},i.defaultProps,t.props,{date:t.state.date,onChange:t.changeYear,year:Ge(t.state.date)}))},t.renderMonthDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showMonthDropdown||l))return G.createElement(oN,ut({},i.defaultProps,t.props,{month:Hn(t.state.date),onChange:t.changeMonth}))},t.renderMonthYearDropdown=function(l){if(l===void 0&&(l=!1),!(!t.props.showMonthYearDropdown||l))return G.createElement(cN,ut({},i.defaultProps,t.props,{date:t.state.date,onChange:t.changeMonthYear}))},t.handleTodayButtonClick=function(l){t.props.onSelect(p9(),l),t.props.setPreSelection&&t.props.setPreSelection(p9())},t.renderTodayButton=function(){if(!(!t.props.todayButton||t.props.showTimeSelectOnly))return G.createElement("div",{className:"react-datepicker__today-button",onClick:t.handleTodayButtonClick},t.props.todayButton)},t.renderDefaultHeader=function(l){var s=l.monthDate,c=l.i;return G.createElement("div",{className:"react-datepicker__header ".concat(t.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},t.renderCurrentMonth(s),G.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(t.props.dropdownMode),onFocus:t.handleDropdownFocus},t.renderMonthDropdown(c!==0),t.renderMonthYearDropdown(c!==0),t.renderYearDropdown(c!==0)),G.createElement("div",{className:"react-datepicker__day-names"},t.header(s)))},t.renderCustomHeader=function(l){var s,c,d=l.monthDate,h=l.i;if(t.props.showTimeSelect&&!t.state.monthContainer||t.props.showTimeSelectOnly)return null;var m=b9(t.state.date,t.props),v=_9(t.state.date,t.props),g=S9(t.state.date,t.props),b=E9(t.state.date,t.props),D=!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:b})),D&&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=Ai(s,m),g=v.startPeriod,b=v.endPeriod;return G.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},d?"".concat(g," - ").concat(b):Ge(s))},t.renderHeader=function(l){var s=l.monthDate,c=l.i,d=c===void 0?0:c,h={monthDate:s,i:d};switch(!0){case t.props.renderCustomHeader!==void 0:return t.renderCustomHeader(h);case(t.props.showMonthYearPicker||t.props.showQuarterYearPicker||t.props.showYearPicker):return t.renderYearHeader(h);default:return t.renderDefaultHeader(h)}},t.renderMonths=function(){var l,s;if(!(t.props.showTimeSelectOnly||t.props.showYearPicker)){for(var c=[],d=(l=t.props.monthsShown)!==null&&l!==void 0?l:i.defaultProps.monthsShown,h=t.props.showPreviousMonths?d-1:0,m=t.props.showMonthYearPicker||t.props.showQuarterYearPicker?Ya(t.state.date,h):ll(t.state.date,h),v=(s=t.props.monthSelectedIn)!==null&&s!==void 0?s:h,g=0;g<d;++g){var b=g-v+h,D=t.props.showMonthYearPicker||t.props.showQuarterYearPicker?Ya(m,b):Kr(m,b),M="month-".concat(g),C=g<d-1,N=g>0;c.push(G.createElement("div",{key:M,ref:function(H){t.monthContainer=H??void 0},className:"react-datepicker__month-container"},t.renderHeader({monthDate:D,i:g}),G.createElement(iN,ut({},i.defaultProps,t.props,{containerRef:t.containerRef,ariaLabelPrefix:t.props.monthAriaLabelPrefix,day:D,onDayClick:t.handleDayClick,handleOnKeyDown:t.props.handleOnDayKeyDown,handleOnMonthKeyDown:t.props.handleOnKeyDown,onDayMouseEnter:t.handleDayMouseEnter,onMouseLeave:t.handleMonthMouseLeave,orderInDisplay:g,selectingDate:t.state.selectingDate,monthShowsDuplicateDaysEnd:C,monthShowsDuplicateDaysStart:N}))))}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(dN,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(fN,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&&of(l)&&!!t.props.selected,c=s?"".concat(D9(l.getHours()),":").concat(D9(l.getMinutes())):"";if(t.props.showTimeInput)return G.createElement(eN,ut({},i.defaultProps,t.props,{date:l,timeString:c,onChange:t.props.onTimeChange}))},t.renderAriaLiveRegion=function(){var l,s=Ai(t.state.date,(l=t.props.yearItemNumber)!==null&&l!==void 0?l:i.defaultProps.yearItemNumber),c=s.startPeriod,d=s.endPeriod,h;return t.props.showYearPicker?h="".concat(c," - ").concat(d):t.props.showMonthYearPicker||t.props.showQuarterYearPicker?h=Ge(t.state.date):h="".concat(qm(Hn(t.state.date),t.props.locale)," ").concat(Ge(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:Ws}},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=!Zn(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return l&&t.handleCustomMonthChange(t.state.date)})}else this.props.openToDate&&!st(this.props.openToDate,n.openToDate)&&this.setState({date:this.props.openToDate})},i.prototype.render=function(){var n=this.props.container||NR;return G.createElement(lf,{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),bN=function(a){var i=a.icon,n=a.className,t=n===void 0?"":n,l=a.onClick,s="react-datepicker__calendar-icon";if(typeof i=="string")return G.createElement("i",{className:"".concat(s," ").concat(i," ").concat(t),"aria-hidden":"true",onClick:l});if(G.isValidElement(i)){var c=i;return G.cloneElement(c,{className:"".concat(c.props.className||""," ").concat(s," ").concat(t),onClick:function(d){typeof c.props.onClick=="function"&&c.props.onClick(d),typeof l=="function"&&l(d)}})}return G.createElement("svg",{className:"".concat(s," ").concat(t),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:l},G.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},xb=function(a){Tn(i,a);function i(n){var t=a.call(this,n)||this;return t.portalRoot=null,t.el=document.createElement("div"),t}return i.prototype.componentDidMount=function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)},i.prototype.componentWillUnmount=function(){this.portalRoot&&this.portalRoot.removeChild(this.el)},i.prototype.render=function(){return fD.createPortal(this.props.children,this.el)},i}(y.Component),_N="[tabindex], a, button, input, select, textarea",SN=function(a){return(a instanceof HTMLAnchorElement||!a.disabled)&&a.tabIndex!==-1},Mb=function(a){Tn(i,a);function i(n){var t=a.call(this,n)||this;return t.getTabChildren=function(){var l;return Array.prototype.slice.call((l=t.tabLoopRef.current)===null||l===void 0?void 0:l.querySelectorAll(_N),1,-1).filter(SN)},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 EN(a){var i=function(n){var t,l=typeof n.hidePopper=="boolean"?n.hidePopper:!0,s=y.useRef(null),c=RR(ut({open:!l,whileElementsMounted:G9,placement:n.popperPlacement,middleware:pa([yR({padding:15}),gR(10),bR({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(a,ut({},d))};return i}var wN=function(a){Tn(i,a);function i(){return a!==null&&a.apply(this,arguments)||this}return Object.defineProperty(i,"defaultProps",{get:function(){return{hidePopper:!0}},enumerable:!1,configurable:!0}),i.prototype.render=function(){var n=this.props,t=n.className,l=n.wrapperClassName,s=n.hidePopper,c=s===void 0?i.defaultProps.hidePopper:s,d=n.popperComponent,h=n.targetComponent,m=n.enableTabLoop,v=n.popperOnKeyDown,g=n.portalId,b=n.portalHost,D=n.popperProps,M=n.showArrow,C=void 0;if(!c){var N=Nn("react-datepicker-popper",t);C=G.createElement(Mb,{enableTabLoop:m},G.createElement("div",{ref:D.refs.setFloating,style:D.floatingStyles,className:N,"data-placement":D.placement,onKeyDown:v},d,M&&G.createElement(DR,{ref:D.arrowRef,context:D.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(C=y.createElement(this.props.popperContainer,{},C)),g&&!c&&(C=G.createElement(xb,{portalId:g,portalHost:b},C));var H=Nn("react-datepicker-wrapper",l);return G.createElement(G.Fragment,null,G.createElement("div",{ref:D.refs.setReference,className:H},h),C)},i}(y.Component),DN=EN(wN),C9="react-datepicker-ignore-onclickoutside";function TN(a,i){return a&&i?Hn(a)!==Hn(i)||Ge(a)!==Ge(i):a!==i}var d2="Date input not valid.",xN=function(a){Tn(i,a);function i(n){var t=a.call(this,n)||this;return t.calendar=null,t.input=null,t.getPreSelection=function(){return t.props.openToDate?t.props.openToDate:t.props.selectsEnd&&t.props.startDate?t.props.startDate:t.props.selectsStart&&t.props.endDate?t.props.endDate:bt()},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 of(d)?pa(pa([],s,!0),[ut(ut({},c),{date:d})],!1):s},[])},t.calcInitialState=function(){var l,s=t.getPreSelection(),c=wb(t.props),d=Db(t.props),h=c&&fl(s,Dc(c))?c:d&&ki(s,m9(d))?d:s;return{open:t.props.startOpen||!1,preventFocus:!1,inputValue:null,preSelection:(l=t.props.selectsRange?t.props.startDate:t.props.selected)!==null&&l!==void 0?l:h,highlightDates:w9(t.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},t.resetHiddenStatus=function(){t.setState(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:h2},function(){l||t.setState(function(c){return{focused:s?c.focused:!1}},function(){!s&&t.deferBlur(),t.setState({inputValue:null})})})},t.inputOk=function(){return ja(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:MN});var b=t.props,D=b.selectsRange,M=b.startDate,C=b.endDate,N=(l=t.props.dateFormat)!==null&&l!==void 0?l:i.defaultProps.dateFormat,H=(s=t.props.strictParsing)!==null&&s!==void 0?s:i.defaultProps.strictParsing,O=(g==null?void 0:g.target)instanceof HTMLInputElement?g.target.value:"";if(D){var Z=O.split(N.includes("-")?_b:"-",2).map(function(q){return q.trim()}),K=Z[0],X=Z[1],re=u2(K??"",N,t.props.locale,H),V=u2(X??"",N,t.props.locale,H),S=(M==null?void 0:M.getTime())!==(re==null?void 0:re.getTime()),E=(C==null?void 0:C.getTime())!==(V==null?void 0:V.getTime());if(!S&&!E||re&&Ur(re,t.props)||V&&Ur(V,t.props))return;(d=(c=t.props).onChange)===null||d===void 0||d.call(c,[re,V],g)}else{var w=u2(O,N,t.props.locale,H,(h=t.props.selected)!==null&&h!==void 0?h:void 0);(w||!O)&&t.setSelected(w,g,!0)}}},t.handleSelect=function(l,s,c){if(!t.props.readOnly){if(t.props.shouldCloseOnSelect&&!t.props.showTimeSelect&&t.sendFocusBackToInput(),t.props.onChangeRaw&&t.props.onChangeRaw(s),t.setSelected(l,s,!1,c),t.props.showDateSelect&&t.setState({isRenderAriaLiveMessage:!0}),!t.props.shouldCloseOnSelect||t.props.showTimeSelect)t.setPreSelection(l);else if(!t.props.inline){t.props.selectsRange||t.setOpen(!1);var d=t.props,h=d.startDate,m=d.endDate;h&&!m&&(t.props.swapRange||!M9(l,h))&&t.setOpen(!1)}}},t.setSelected=function(l,s,c,d){var h,m,v=l;if(t.props.showYearPicker){if(v!==null&&Tc(Ge(v),t.props))return}else if(t.props.showMonthYearPicker){if(v!==null&&Eb(v,t.props))return}else if(v!==null&&Ur(v,t.props))return;var g=t.props,b=g.onChange,D=g.selectsRange,M=g.startDate,C=g.endDate,N=g.selectsMultiple,H=g.selectedDates,O=g.minTime,Z=g.swapRange;if(!rl(t.props.selected,v)||t.props.allowSameDay||D||N)if(v!==null&&(t.props.selected&&(!c||!t.props.showTimeSelect&&!t.props.showTimeSelectOnly&&!t.props.showTimeInput)&&(v=c2(v,{hour:Ba(t.props.selected),minute:Ia(t.props.selected),second:Ci(t.props.selected)})),!c&&(t.props.showTimeSelect||t.props.showTimeSelectOnly)&&O&&(v=c2(v,{hour:O.getHours(),minute:O.getMinutes(),second:O.getSeconds()})),t.props.inline||t.setState({preSelection:v}),t.props.focusSelectedMonth||t.setState({monthSelectedIn:d})),D){var K=!M&&!C,X=M&&!C,re=M&&C;K?b==null||b([v,null],s):X&&(v===null?b==null||b([null,null],s):M9(v,M)?Z?b==null||b([v,M],s):b==null||b([v,null],s):b==null||b([M,v],s)),re&&(b==null||b([v,null],s))}else if(N){if(v!==null)if(!(H!=null&&H.length))b==null||b([v],s);else{var V=H.some(function(E){return st(E,v)});if(V){var S=H.filter(function(E){return!st(E,v)});b==null||b(S,s)}else b==null||b(pa(pa([],H,!0),[v],!1),s)}}else b==null||b(v,s);c||((m=(h=t.props).onSelect)===null||m===void 0||m.call(h,v,s),t.setState({inputValue:null}))},t.setPreSelection=function(l){if(!t.props.readOnly){var s=ja(t.props.minDate),c=ja(t.props.maxDate),d=!0;if(l){var h=Dc(l);if(s&&c)d=qs(l,t.props.minDate,t.props.maxDate);else if(s){var m=Dc(t.props.minDate);d=ki(l,m)||rl(h,m)}else if(c){var v=m9(t.props.maxDate);d=fl(l,v)||rl(h,v)}}d&&t.setState({preSelection:l})}},t.toggleCalendar=function(){t.setOpen(!t.state.open)},t.handleTimeChange=function(l){var s,c;if(!(t.props.selectsRange||t.props.selectsMultiple)){var d=t.props.selected?t.props.selected:t.getPreSelection(),h=t.props.selected?l:c2(d,{hour:Ba(l),minute:Ia(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 b=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"]',D=((h=t.calendar)===null||h===void 0?void 0:h.containerRef.current)instanceof Element&&t.calendar.containerRef.current.querySelector(b);D instanceof HTMLElement&&D.focus({preventScroll:!0});return}var M=bt(t.state.preSelection);g===ve.Enter?(l.preventDefault(),l.target.blur(),t.inputOk()&&t.state.lastPreSelectChange===h2?(t.handleSelect(M,l),!t.props.shouldCloseOnSelect&&t.setPreSelection(M)):t.setOpen(!1)):g===ve.Escape?(l.preventDefault(),l.target.blur(),t.sendFocusBackToInput(),t.setOpen(!1)):g===ve.Tab&&t.setOpen(!1),t.inputOk()||(v=(m=t.props).onInputError)===null||v===void 0||v.call(m,{code:1,msg:d2})}},t.onPortalKeyDown=function(l){var s=l.key;s===ve.Escape&&(l.preventDefault(),t.setState({preventFocus:!0},function(){t.setOpen(!1),setTimeout(function(){t.setFocus(),t.setState({preventFocus:!1})})}))},t.onDayKeyDown=function(l){var s,c,d,h,m,v,g=t.props,b=g.minDate,D=g.maxDate,M=g.disabledKeyboardNavigation,C=g.showWeekPicker,N=g.shouldCloseOnSelect,H=g.locale,O=g.calendarStartDay,Z=g.adjustDateOnChange,K=g.inline;if((c=(s=t.props).onKeyDown)===null||c===void 0||c.call(s,l),!M){var X=l.key,re=l.shiftKey,V=bt(t.state.preSelection),S=function(U,T){var R=T;switch(U){case ve.ArrowRight:R=C?kc(T,1):Wr(T,1);break;case ve.ArrowLeft:R=C?u9(T):FC(T);break;case ve.ArrowUp:R=u9(T);break;case ve.ArrowDown:R=kc(T,1);break;case ve.PageUp:R=re?so(T,1):ll(T,1);break;case ve.PageDown:R=re?Ya(T,1):Kr(T,1);break;case ve.Home:R=Ri(T,H,O);break;case ve.End:R=PR(T);break}return R},E=function(U,T){for(var R=40,k=U,$=!1,A=0,Y=S(U,T);!$;){if(A>=R){Y=T;break}b&&Y<b&&(k=ve.ArrowRight,Y=Ur(b,t.props)?S(k,Y):b),D&&Y>D&&(k=ve.ArrowLeft,Y=Ur(D,t.props)?S(k,Y):D),Ur(Y,t.props)?((k===ve.PageUp||k===ve.Home)&&(k=ve.ArrowRight),(k===ve.PageDown||k===ve.End)&&(k=ve.ArrowLeft),Y=S(k,Y)):$=!0,A++}return Y};if(X===ve.Enter){l.preventDefault(),t.handleSelect(V,l),!N&&t.setPreSelection(V);return}else if(X===ve.Escape){l.preventDefault(),t.setOpen(!1),t.inputOk()||(h=(d=t.props).onInputError)===null||h===void 0||h.call(d,{code:1,msg:d2});return}var w=null;switch(X){case ve.ArrowLeft:case ve.ArrowRight:case ve.ArrowUp:case ve.ArrowDown:case ve.PageUp:case ve.PageDown:case ve.Home:case ve.End:w=E(X,V);break}if(!w){(v=(m=t.props).onInputError)===null||v===void 0||v.call(m,{code:1,msg:d2});return}if(l.preventDefault(),t.setState({lastPreSelectChange:h2}),Z&&t.setSelected(w),t.setPreSelection(w),K){var q=Hn(V),L=Hn(w),z=Ge(V),j=Ge(w);q!==L||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.setOpen(!1))},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(yN,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:KR(t.modifyHolidays()),outsideClickIgnoreClass:C9,onDropdownFocus:t.handleDropdownFocus,onTimeChange:t.handleTimeChange,className:t.props.calendarClassName,container:t.props.calendarContainer,handleOnKeyDown:t.props.onKeyDown,handleOnDayKeyDown:t.onDayKeyDown,setPreSelection:t.setPreSelection,dropdownMode:(s=t.props.dropdownMode)!==null&&s!==void 0?s:i.defaultProps.dropdownMode}),t.props.children)},t.renderAriaLiveRegion=function(){var l=t.props,s=l.dateFormat,c=s===void 0?i.defaultProps.dateFormat:s,d=l.locale,h=t.props.showTimeInput||t.props.showTimeSelect,m=h?"PPPPp":"PPPP",v;return t.props.selectsRange?v="Selected start date: ".concat(Lr(t.props.startDate,{dateFormat:m,locale:d}),". ").concat(t.props.endDate?"End date: "+Lr(t.props.endDate,{dateFormat:m,locale:d}):""):t.props.showTimeSelectOnly?v="Selected time: ".concat(Lr(t.props.selected,{dateFormat:c,locale:d})):t.props.showYearPicker?v="Selected year: ".concat(Lr(t.props.selected,{dateFormat:"yyyy",locale:d})):t.props.showMonthYearPicker?v="Selected month: ".concat(Lr(t.props.selected,{dateFormat:"MMMM yyyy",locale:d})):t.props.showQuarterYearPicker?v="Selected quarter: ".concat(Lr(t.props.selected,{dateFormat:"yyyy, QQQ",locale:d})):v="Selected date: ".concat(Lr(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[C9]=t.state.open,l)),h=t.props.customInput||G.createElement("input",{type:"text"}),m=t.props.customInputRef||"ref",v=t.props,g=v.dateFormat,b=g===void 0?i.defaultProps.dateFormat:g,D=v.locale,M=typeof t.props.value=="string"?t.props.value:typeof t.state.inputValue=="string"?t.state.inputValue:t.props.selectsRange?LR(t.props.startDate,t.props.endDate,{dateFormat:b,locale:D}):t.props.selectsMultiple?qR((c=t.props.selectedDates)!==null&&c!==void 0?c:[],{dateFormat:b,locale:D}):Lr(t.props.selected,{dateFormat:b,locale:D});return y.cloneElement(h,(s={},s[m]=function(C){t.input=C},s.value=M,s.onBlur=t.handleBlur,s.onChange=t.handleChange,s.onClick=t.onInputClick,s.onFocus=t.handleFocus,s.onKeyDown=t.onInputKeyDown,s.id=t.props.id,s.name=t.props.name,s.form=t.props.form,s.autoFocus=t.props.autoFocus,s.placeholder=t.props.placeholderText,s.disabled=t.props.disabled,s.autoComplete=t.props.autoComplete,s.className=Nn(h.props.className,d),s.title=t.props.title,s.readOnly=t.props.readOnly,s.required=t.props.required,s.tabIndex=t.props.tabIndex,s["aria-describedby"]=t.props.ariaDescribedBy,s["aria-invalid"]=t.props.ariaInvalid,s["aria-labelledby"]=t.props.ariaLabelledBy,s["aria-required"]=t.props.ariaRequired,s))},t.renderClearButton=function(){var l=t.props,s=l.isClearable,c=l.disabled,d=l.selected,h=l.startDate,m=l.endDate,v=l.clearButtonTitle,g=l.clearButtonClassName,b=g===void 0?"":g,D=l.ariaLabelClose,M=D===void 0?"Close":D,C=l.selectedDates,N=l.readOnly;return s&&!N&&(d!=null||h!=null||m!=null||C!=null&&C.length)?G.createElement("button",{type:"button",className:Nn("react-datepicker__close-icon",b,{"react-datepicker__close-icon--disabled":c}),disabled:c,"aria-label":M,onClick:t.onClearClick,title:v,tabIndex:-1}):null},t.state=t.calcInitialState(),t.preventFocusTimeout=void 0,t}return Object.defineProperty(i,"defaultProps",{get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",preventOpenOnFocus:!1,monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,swapRange:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:Ws,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&&TN(n.selected,this.props.selected)&&this.setPreSelection(this.props.selected),this.state.monthSelectedIn!==void 0&&n.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),n.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:w9(this.props.highlightDates)}),!t.focused&&!rl(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(bN,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(Mb,{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(xb,ut({portalId:this.props.portalId},this.props),t)),G.createElement("div",null,this.renderInputContainer(),t)}return G.createElement(DN,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),MN="input",h2="navigate";const ON=({title:a,titleId:i,...n},t)=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("path",{fill:"currentColor",d:"M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"})),AN=y.forwardRef(ON),CN={year:"numeric",month:"long",day:"numeric"},RN=({restart:a,proceed:i})=>{const{controlCode:n}=Pn(V=>V),[t,l]=y.useState(!0),[s,c]=y.useState(!1),[d,h]=y.useState(Array(5).fill(!1)),[m,v]=y.useState(""),[g,b]=y.useState({}),[D,M]=y.useState(null),C=y.useRef(null),N=()=>C.current.setOpen(!0),H=["photo","valid","lastName","firstName"];y.useEffect(()=>{VM(n.dayOfBirth).then(V=>{l(V)})},[]);const O=(V,S)=>{const E=[...d];E[V]=S,h(E)},Z=V=>V<10?`0${V}`:V.toString(),K=()=>{const V=Re.locale==="nl"?"nl-NL":"en-EN";return{dayOfBirth:D.toLocaleDateString(V,CN)}},X=V=>{M(V);const S=`${V.getFullYear()}-${Z(V.getMonth()+1)}-${Z(V.getDate())}`,E={...n,dayOfBirth:S};Pn.setState(()=>({controlCode:E}))},re=()=>{const{firstName:V,lastName:S,dayOfBirth:E,code:w,userUid:q}=n;c(!0),WM(V,S,E,w,m,q).then(()=>{b({}),c(!1),i()}).catch(L=>{c(!1),L.response.json().then(z=>{b(z),window.scrollTo({top:0,left:0,behavior:"smooth"})})})};return W.jsxs("div",{className:"control",children:[W.jsxs("div",{className:"control-header",children:[W.jsxs("h2",{children:[Re.t("control.header"),W.jsx("span",{className:"code",children:n.code})]}),W.jsx(ao,{txt:Re.t("control.restart"),type:Mi.GhostDark,onClick:()=>a()})]}),!Ha(g)&&W.jsx("div",{className:"error",children:W.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:Oi.sanitize(Re.t("control.error",g))}})}),W.jsxs("div",{className:"control-validation",children:[W.jsx("h4",{children:Re.t("control.info")}),W.jsx("p",{children:Re.t("control.validDocuments")}),W.jsx(lm,{toasterType:Ti.Warning,message:Re.t("control.inValidDocuments")}),W.jsx("h4",{children:Re.t("control.isValid")}),H.map((V,S)=>W.jsxs("div",{className:"validation-item",children:[W.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:Oi.sanitize(Re.t(`control.validations.${V}`,n))}}),W.jsx(F4,{value:d[S],onChange:E=>O(S,E)})]},V)),W.jsxs("div",{className:"validation-item column",children:[W.jsxs("div",{className:"validation-item-inner",children:[W.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:Oi.sanitize(Re.t("control.validations.dayOfBirth",!t&&D!==null?K():n))}}),W.jsx(F4,{value:d[4],disabled:!t&&D===null,onChange:V=>O(4,V)})]}),!t&&W.jsxs("div",{className:`validation-item-inner birthday ${D===null?"invalid":"valid"}`,children:[W.jsx("p",{children:Re.t(`control.${D===null?"invalidDate":"validDate"}`)}),W.jsx(xN,{ref:C,preventOpenOnFocus:!0,onChange:X,showWeekNumbers:!0,selected:D,showYearDropdown:!0,showMonthDropdown:!0,dropdownMode:"select",weekLabel:"Week",todayButton:null}),W.jsx("div",{className:"calendar",onClick:N,children:W.jsx(AN,{})})]})]}),W.jsxs("div",{className:"validation-item column",children:[W.jsx("p",{className:"inner-html",dangerouslySetInnerHTML:{__html:Oi.sanitize(Re.t("control.idDocument"))}}),W.jsxs("div",{className:"code-validation",children:[W.jsx(X9,{verify:V=>v(V),size:6,focusFirst:!1,validate:()=>!0}),W.jsx(ao,{txt:Re.t("control.proceed"),disabled:Ha(m)||d.some(V=>!V)||s||!Ha(g)||!t&&Ha(D),onClick:()=>re()})]})]})]})]})},NN=({title:a,titleId:i,...n},t)=>y.createElement("svg",{id:"dcc22515-6e5c-427c-a472-433a07234f27","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",width:1009.54,height:766.62,viewBox:"0 0 1009.54 766.62",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("defs",null,y.createElement("linearGradient",{id:"43242edf-68b9-436b-b935-0b4e021271d5",x1:625.8,y1:769.51,x2:625.8,y2:88.59,gradientUnits:"userSpaceOnUse"},y.createElement("stop",{offset:0,stopColor:"gray",stopOpacity:.25}),y.createElement("stop",{offset:.54,stopColor:"gray",stopOpacity:.12}),y.createElement("stop",{offset:1,stopColor:"gray",stopOpacity:.1}))),y.createElement("path",{d:"M335.05,706.45c-8.5-.86-17.38-1.78-25.43.47s-14.72,8.82-12.33,15.1c5.34,14,36.68,4.25,51.13,13.82,5.16,3.42,7.17,8.8,11.2,13,6.52,6.82,17.73,10,28.55,11.75,65,10.51,139.1-16.54,196.07,9.51,18.45,8.44,33,21.87,53.23,27.5,26.8,7.46,56.15-.51,83.88-5.62a410.28,410.28,0,0,1,104.89-5.5c25.93,2,60.42,2.67,68.72-16.16C900.3,758.21,889,744.73,874,739s-32.56-5.55-49.31-5c-32.33,1.16-64.67,3.5-97,2.36-62.52-2.22-121.58-27-182.46-27.82C474.33,707.68,406.28,713.63,335.05,706.45Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M269.32,393c-10,10.11-10.61,25.61-10.61,25.61s15.49-.88,25.45-11S294.78,382,294.78,382,279.28,382.91,269.32,393Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M309.57,143.24c3.53,13.75,16.48,22.3,16.48,22.3s7.23-13.73,3.7-27.48-16.48-22.29-16.48-22.29S306,129.5,309.57,143.24Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M894.41,181.06c-10,10.11-10.62,25.61-10.62,25.61s15.5-.88,25.46-11,10.61-25.62,10.61-25.62S904.37,171,894.41,181.06Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M589.62,322.74c-1.16,14.14,8.27,26.46,8.27,26.46s11.33-10.61,12.49-24.76S602.11,298,602.11,298,590.78,308.59,589.62,322.74Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M917.68,521.05c-1.16,14.14,8.27,26.46,8.27,26.46s11.33-10.61,12.49-24.75-8.27-26.46-8.27-26.46S918.84,506.91,917.68,521.05Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M681.78,163.07c-64.72-1.95-126.36-20-185.22-39.8S379.4,81.58,316.23,71.1c-40.63-6.74-87.1-7.69-119.83,11.16-31.51,18.13-41.69,49.44-47.16,78.49-4.12,21.85-6.54,44.85,4.74,65.31,7.84,14.21,21.74,26.15,31.36,39.75,33.47,47.35,9.81,105.73-26.45,152-17,21.69-36.75,42.37-49.88,65.46s-19.2,49.53-7.71,73.07c11.38,23.34,38.51,40.87,67.9,53.2,59.69,25,130,32.21,198.61,36.27,151.83,9,304.46,5.1,456.69,1.2,56.34-1.44,112.92-2.9,168.34-10.44,30.78-4.18,62.55-10.82,84.9-26.86,28.36-20.36,35.39-54.83,16.38-80.36-31.88-42.81-120-53.45-142.31-99.4-12.26-25.29.33-53.46,18.16-76.92,38.24-50.32,102.33-94.47,105.7-152,2.32-39.5-28.49-79.06-76.13-97.75-49.93-19.6-119.18-17.13-156,15.3C805.59,151.93,738.93,164.78,681.78,163.07Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M896.32,351.32a9,9,0,0,0-6.14,5.41l-1-.16-3.73-.6s-19.76-1.63-23.45-1.38-6-3.39-6-3.39l-14.69-12.43-1.14-1c1.59-.6,2.58-.91,2.58-.91s-39.42-49-47.92-49.95-22.55-12.39-22.69-12.5l-.15-.78c-.31-1.65-.54-3.32-.71-5l2.09,1.28h0c0-.58,0-1.16.06-1.74h0a31.64,31.64,0,0,1,5.88-16.8c4.11-5.7,10.19-10.18,12.62-16.75a24.21,24.21,0,0,0,1.29-8.79,29.3,29.3,0,0,0-4.1-15.29,19.1,19.1,0,0,0-12.9-8.9c-1.4-.22-2.83-.25-4.21-.57-8.21-1.93-11.23-12.94-19.21-15.64-3.72-1.26-7.86-.43-11.45,1.13s-6.84,3.8-10.35,5.53-7.49,3-10.68,5.45c-.33.25-.68.55-1,.86h0l-.63.61h0a22.64,22.64,0,0,0-3.41,4.45l-.15.25c-.1.17-.19.35-.28.53s-.15.28-.21.42-.16.32-.23.48l-.21.48-.18.46c-.06.17-.13.34-.18.52s-.1.29-.14.44l-.15.53-.09.43c0,.18-.07.37-.1.55s0,.27,0,.4,0,.38,0,.57,0,.25,0,.37,0,.4,0,.61,0,.2,0,.3a6.09,6.09,0,0,0,.18.87v0c.54,1.84,2.4,3.72,3.82,5.36-.16.15-.32.29-.48.45a34.86,34.86,0,0,0-10.67,25.11,34.4,34.4,0,0,0,.57,6.21,33.32,33.32,0,0,0-5.83-3.53,50.89,50.89,0,0,0-21.69-5c-12.25-.14-29.46-4.74-29.46-4.74a11.7,11.7,0,0,1,1,2.65c-.75-.43-1.56-.89-2.45-1.37a71.82,71.82,0,0,0-23-7.7s-5.1.71-5.78-10a45.41,45.41,0,0,0-1.8-9.87,168.22,168.22,0,0,1-6.06-30L610,163.52s7.7-41,3.07-58.48c1.49-5.48.65-10.5-4.26-14.11-19.37-14.26-38.91,41.24-38.91,41.24l-7.26,7.05a15.58,15.58,0,0,0-6.16-2.35s-3.91,4-6.63,14.92c-1.44,5.79-11.28,15.46-20.18,23.25-6.32,5.53-12.42,11.28-18.51,17.05-4.5,4.28-14.53,10.4-36.41,13.86-3.43.54-6.55,1.05-9.4,1.52a29.33,29.33,0,0,0,1.1-7.94,29.78,29.78,0,0,0-23.36-28.93,7.46,7.46,0,0,0,0-2.11,8.74,8.74,0,0,0-2.21-4c-4.61-5.7-9.61-11.56-16.47-14.26a21.45,21.45,0,0,0-8.89-1.43h-1.52c-.31,0-.61,0-.92,0h0a22.78,22.78,0,0,0-16.66,8.68c-2.46,3.29-3.94,7.19-6.06,10.7-3.94,6.5-10,11.51-16.57,15.47-3.95,2.39-8.1,4.45-11.83,7.16-13.53,9.83-19.77,28-16.37,44.24,1.5,7.13,4.67,14.15,3.82,21.38-.67,5.61-3.69,10.65-6.77,15.41s-6.34,9.6-7.56,15.11.06,12,4.68,15.34c1.7,1.22,3.76,2,5.21,3.48a16.7,16.7,0,0,1,2.4,3.76,37.42,37.42,0,0,0,23.27,18.08,17,17,0,0,0,4.76.52h.17l.31,0c3.67.23,7.43-.75,8.66-4a9.08,9.08,0,0,1,.83-2.12,2.49,2.49,0,0,1,1.45-1,13.32,13.32,0,0,1,3.39,1.28A43.12,43.12,0,0,0,406.69,327a23.2,23.2,0,0,0,2.89.05,12.78,12.78,0,0,0,5.89-.84,12.62,12.62,0,0,0,4.53-3.88c.26-.33.5-.68.75-1a82.71,82.71,0,0,1-7.38,23s-6,10-5.57,20.08a20.17,20.17,0,0,0,2.25,10.6s.17-.44.52-1.13c1.72,2.88,7.36,12.09,11.06,15.32.18,9.51.14,21.42-1.05,23.87-2,4.19-8.32,34,18.86,54.33l6.27,13.73-25.81,1.83c-2.61-.36-36.36-4.9-36.53,1.71-.17,6.87,5.1,73.77,22.6,69.24,16.31-4.22,10.93-23.73,10.12-26.35l.58-.16-.64-.18,13.05-12.37a5.78,5.78,0,0,0-1-4.29l.13-.07,31.52,1.41L467.14,528s12.57,19.12,2.38,35.21-20.73,41.25-22.43,56.51c-1.39,12.48-10.63,24.74-13.94,28.78-5.91,2-28.58,10.9-19.53,24.37,10.36,15.42,44,44.77,57.6,43.76s8.15-10.9,8.15-10.9L468,694.71s-2-23.48-1.19-30.35c.44-3.57-2.19-6.14-5-7.23,1.07-7.65,3.78-22.15,9.6-30.16,8.15-11.24,34.32-60.7,34.32-60.7s8.32-7.38,6.45-29.34c-.75-8.86-1.17-16.64-1.41-22.79l29.62,1.33s31.77-3.19,10.19-37.23-67.45-67.4-67.45-67.4l-.41-21.07c2.08.52,3.3.78,3.3.78s-.18-.76-.48-2.12l.48.11s-6.63-28.69-8.67-51.5l1.87.86c19.71,22.81,33,3.53,33,3.53s41.63-58.52,37.55-55.84a3.54,3.54,0,0,1-2.74.17l3-9.56s12.29-18.78-5.55-29.34c-14.56-8.62-14.18,18.4-13.55,28.61l-.72-.61s-13.93,21-21.41,32.7-13.76,4-13.76,4l-9.45-10.65a37.41,37.41,0,0,0,2.25-13.32,22.63,22.63,0,0,0-6.39-17.28c-7.21-7.35-9.32-14.47-9.54-19.95a21.12,21.12,0,0,1,1.89-8.22l49.11-26s10.36.16,24.29-21.3a368.42,368.42,0,0,1,29.74-39.23s-.29-.42-.79-1.11c.5-.59.79-.91.79-.91s-.57-.83-1.54-2.11l7.57-8.73a112,112,0,0,0-.09,11.85l3.92,13.25,2.2,73.77s-2.38,7,12.92,14.09c12.94,6,33.44,16,39.42,18.95-.22.54-.35.83-.35.83l1.78-.12.26.12h0c29.89-2.68,28.87,27.16,28.87,27.16s2,60.7-7.13,81.83-7.82,47.28-7.82,47.28.91-4.46,6,1.37c-.1.51-.21,1.06-.33,1.63-2.92,14.63-9,45.75-10.13,58.37a204.52,204.52,0,0,1-6.63,34l-3,55.83,19.11.93-.21,2a6.28,6.28,0,0,1-3.24,4.87c-6.54,3.55-22,16-20.76,54.42l-.66,6.18a77.64,77.64,0,0,1-9.33,29.81c-.44.78-.83,1.53-1.16,2.25a1.84,1.84,0,0,1,.52-1.07s-9.93,2.06-7.89,28.89,5.1,31.52,9.18,31.85,24,5.2,22.93-4.69-2-31.86-.68-35.21,6.74-12.39,1.6-14.57h0a76.64,76.64,0,0,0,2.15-18.8s10-15.76,17.15-21.63,11-15.84,13.59-28.67c.18-.84,21.07-14.76,18-26.32-.54-2-.93-3.77-1.23-5.37-.13-.71-.24-1.38-.34-2l.37,0,4.25-25.49v24.82l2.52.33-.09,2-1.07,23.8a39.18,39.18,0,0,1-3,13.48c-4.5,10.65-12.8,34.36-10.54,60l-.24,22.86c-.72.14-11.1,2.59-9.13,28.5,2,26.82,5.09,31.52,9.17,31.85s24,5.2,22.94-4.69-2-31.86-.68-35.21,3.7-12.21-1.44-14.39a19.16,19.16,0,0,1,2.14-8.63c2.24-3.81,9.72-21.92,15.35-35.85a128.31,128.31,0,0,0,9.45-44.33c0-.17,0-.34,0-.51a41.56,41.56,0,0,1,3.25-14.93,96.28,96.28,0,0,0,5.44-16.41c.14-.67.25-1.32.35-2l4.88.65,16.66-72.1s4.56-39.08,2.33-56.73c-.09-.73-.19-1.4-.31-2.05l1,.09s3.4-8.71,2.38-45.94,6.8-49,6.8-49c4.22-13.38,8.88-17.86,11.6-19.36h0a4.91,4.91,0,0,1,2.33-.76l12.61,14.43h0l2.32,2.66a.86.86,0,0,0,0-.16l1,1.17a10.78,10.78,0,0,1-.08-1.79c6.73,3.91,22.28,13.05,31.56,19.61,12.1,8.55,15.42,7.55,26,6.66,6.42-.53,15.1-4.13,20.92-6.87l.53-.25a25.54,25.54,0,0,0,4.92,2s17.08,14.47,18.73-11.94S896.32,351.32,896.32,351.32Zm-443,307.56a24.7,24.7,0,0,1-5-2.11ZM426.58,373l.06,3.75-.26.12C426.46,375.55,426.52,374.25,426.58,373ZM693.72,707.72l0,1.46A1.07,1.07,0,0,1,693.72,707.72Z",transform:"translate(-95.23 -66.69)",fill:"url(#43242edf-68b9-436b-b935-0b4e021271d5)"}),y.createElement("rect",{x:624.01,y:201.63,width:29,height:30.5,fill:"#ff7590"}),y.createElement("path",{d:"M684,620.49c-2.55,12.75-6.33,22.66-13.33,28.5s-16.83,21.5-16.83,21.5c-.17,20.83-5.67,27.16-5.67,27.16l-5.67,1.5h-14s-2.5-7-3-11.16c-.17-1.39.82-3.72,2.2-6.22a77.92,77.92,0,0,0,9.15-29.63l.65-6.15c-1.18-38.17,14-50.56,20.37-54.09a6.24,6.24,0,0,0,3.17-4.84h0l1.13-10.91L699.83,578s-.8,3.32.63,11c.29,1.59.68,3.36,1.2,5.33C704.66,605.82,684.16,619.65,684,620.49Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M747.86,594.13a97.09,97.09,0,0,1-5.33,16.31,41.88,41.88,0,0,0-3.2,14.84c0,.17,0,.34,0,.51a129.17,129.17,0,0,1-9.27,44.06c-5.53,13.84-12.86,31.85-15.06,35.64-3.66,6.33-1.5,17-1.5,17l-21.2-1.5.37-35.67c-2.21-25.47,5.93-49,10.34-59.63a39.08,39.08,0,0,0,3-13.39l1-23.66.31-7s37.48-5.33,40.64,3.17C748.83,587.06,748.62,590.41,747.86,594.13Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M700.46,589,661,587.06l1.13-10.91L699.83,578S699,581.31,700.46,589Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M747.86,594.13,707,588.64l.31-7s37.48-5.33,40.64,3.17C748.83,587.06,748.62,590.41,747.86,594.13Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M769.33,521.15,753,592.82l-48.33-6.5V561.65L700.49,587l-58-2.84,3-55.5a205.85,205.85,0,0,0,6.5-33.83c1.13-12.54,7.07-43.47,9.94-58,1-4.79,1.56-7.81,1.56-7.81s99.34,20.66,105.84,28.16c1.11,1.28,1.84,4,2.29,7.61C773.8,482.31,769.33,521.15,769.33,521.15Z",transform:"translate(-95.23 -66.69)",fill:"#bdd2e8"}),y.createElement("path",{d:"M653.33,525.82s39.1-20.5,48.63-16.17Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M674.66,458.82s32.5,24.67,33.5,31.33Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M665.83,543.82s23.5-1,31,5Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M708.16,517.44S719.33,554,714.49,564s-9.83-2.34-9.83-2.34Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M692.47,708s-11,1.67-9,28.33,5,31.34,9,31.67,23.5,5.17,22.5-4.67-2-31.66-.67-35,3.63-12.13-1.41-14.3l-1.09,5.14s-10.67-9.84-17-2.67a27.7,27.7,0,0,0-1.31-5.13C692.86,709.81,691.48,709,692.47,708Z",transform:"translate(-95.23 -66.69)",fill:"#494457"}),y.createElement("path",{d:"M893.78,380.82s-2.52,1.41-6.22,3.17c-5.71,2.72-14.22,6.3-20.52,6.83-10.38.88-13.63,1.88-25.5-6.62-9.11-6.52-24.36-15.61-31-19.49L807.65,363l-.29-.17,0-.12,5.51-15.14,19.5-10.37,4.84,4.15,14.41,12.35s2.25,3.62,5.88,3.37,23,1.37,23,1.37l3.66.6,7.71,1.28Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M893.78,380.82s-2.52,1.41-6.22,3.17c-3.91-2-8.77-5.75-6.9-11.92,1.69-5.55,2.15-9.88,3.54-13l7.71,1.28Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M891.16,353.82s21.75-6.25,20.13,20-18.38,11.88-18.38,11.88-14.25-3.75-11.25-13.63S883.79,356.2,891.16,353.82Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M665.66,268.82,643,278.34l-.35.15-.25-.12-1.41-.71c-5.86-2.92-26-12.91-38.67-18.84-15-7-12.67-14-12.67-14l-2.16-73.33-3.84-13.17s-2.71-44.64,19-55.83,7.67,64.66,7.67,64.66L612,182.91a168.78,168.78,0,0,0,5.95,29.77,46.24,46.24,0,0,1,1.76,9.81c.67,10.66,5.67,9.95,5.67,9.95a69.61,69.61,0,0,1,22.54,7.66,56.38,56.38,0,0,1,7.46,4.72Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M746.33,303.82l-19.34-2s5.7-8.48,8.21-16.73a28.42,28.42,0,0,0,.85-3.45c.58-3.27.43-6.3-1.06-8.49-5.66-8.33,33.67-20,33.67-20a96.07,96.07,0,0,0-.43,13.88,70.23,70.23,0,0,0,1,9.61c1.19,6.47,3.56,12.56,8.08,15.68C789.66,300.82,746.33,303.82,746.33,303.82Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M746.33,303.82l-19.34-2s5.7-8.48,8.21-16.73c2.23,3.17,3,3.1,6.13,3.73,0,0,19.52,2.89,27.92-12.18,1.19,6.47,3.56,12.56,8.08,15.68C789.66,300.82,746.33,303.82,746.33,303.82Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M810.58,364.71a10.71,10.71,0,0,0,.08,1.78l-3-3.49-.25-.29,5.51-15.14,19.5-10.37,4.84,4.15C830.33,344,810.89,352.41,810.58,364.71Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M665.66,268.82,643,278.34l-.6,0-1.75.12s.13-.29.34-.83c1.89-4.59,10.66-27,6.87-37.56a56.38,56.38,0,0,1,7.46,4.72Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M771.62,464.76c-8.82-.79-97.06-8.95-105.29-21.94a45.64,45.64,0,0,0-4.4-6c1-4.79,1.56-7.81,1.56-7.81s99.34,20.66,105.84,28.16C770.44,458.43,771.17,461.14,771.62,464.76Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M741.33,289.82s19.73,2.92,28.07-12.41c0,0,13.93,11.44,22.26,12.42s47,49.66,47,49.66-31,10-29,26l-14.67-17s-7.33-.34-13.66,20c0,0-7.67,11.66-6.67,48.66s-2.33,45.67-2.33,45.67-97.34-8.33-106-22-10-7-10-7-1.34-26,7.66-47,7-81.33,7-81.33,1-29.67-28.33-27c0,0,12.33-28.67,6.67-39.67,0,0,16.87,4.58,28.89,4.72a49.42,49.42,0,0,1,21.28,5c3.61,1.77,6.94,4,8.83,6.66,5.66,8,15,4.34,15,4.34a151.41,151.41,0,0,0,8.7,21.33c.39.73.78,1.45,1.18,2.14.58,1,1.18,2,1.78,2.82C737.39,289.26,738.07,289.17,741.33,289.82Z",transform:"translate(-95.23 -66.69)",fill:"#ff7590"}),y.createElement("path",{d:"M768.23,267a34.24,34.24,0,0,1-3.54,4.25,34.89,34.89,0,0,1-25,10.54,35.91,35.91,0,0,1-3.61-.18c.58-3.27.43-6.3-1.06-8.49-5.66-8.33,33.67-20,33.67-20A96.07,96.07,0,0,0,768.23,267Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M774.66,245.82a35,35,0,1,1-35-35A34.87,34.87,0,0,1,774.66,245.82Z",transform:"translate(-95.23 -66.69)",fill:"#8e5362"}),y.createElement("path",{d:"M792,325.82l.72,23.42s10.45-8.42,10.78-16.42S792,325.82,792,325.82Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M707.66,349.24s27.5,37.75,43.5,41.58S713.66,361.48,707.66,349.24Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M736.83,353.17s15.33,17.32,26.33,19.48Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M682.83,396.82s28,27.5,44,29.17Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M774.66,245.82a34.87,34.87,0,0,1-10,24.46l-3.84-2.39a10.62,10.62,0,0,1-3.74-3.25c-1.27-2.12-.9-4.78-.8-7.25.21-5.23-1.23-10.89-5.32-14.16-6.63-5.31-17.26-2.37-24-7.58a23.66,23.66,0,0,1-4.25-4.73l-6.32-8.47c-.38-.5-.84-1-1.33-1.59a35,35,0,0,1,59.54,25Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M718.57,201c3.13-2.39,6.95-3.65,10.47-5.41s6.63-4,10.15-5.5,7.59-2.38,11.24-1.13c7.83,2.69,10.79,13.63,18.84,15.55,1.36.32,2.76.35,4.13.56a18.8,18.8,0,0,1,12.65,8.85,29.46,29.46,0,0,1,4,15.21,24.37,24.37,0,0,1-1.27,8.73c-2.38,6.53-8.35,11-12.38,16.65A31.66,31.66,0,0,0,770.61,273l-9.76-6.07a10.52,10.52,0,0,1-3.74-3.25c-1.27-2.12-.9-4.78-.8-7.25.21-5.23-1.23-10.89-5.31-14.16-6.64-5.31-17.27-2.37-24-7.58a23.66,23.66,0,0,1-4.25-4.73l-6.32-8.47c-1.37-1.84-4-4.13-4.6-6.37C710.5,210.3,715.05,203.71,718.57,201Z",transform:"translate(-95.23 -66.69)",fill:"#362133"}),y.createElement("path",{d:"M761.94,265.8a10.52,10.52,0,0,1-3.74-3.25c-1.27-2.12-.9-4.78-.8-7.25.21-5.23-1.23-10.89-5.32-14.16-6.63-5.31-17.26-2.37-24-7.58a23.66,23.66,0,0,1-4.25-4.73l-6.32-8.47c-1.38-1.84-4-4.13-4.6-6.37-1.09-3.86,1.67-8.89,4.62-12.11-3.31,3.06-6.94,8.87-5.71,13.2.64,2.24,3.23,4.53,4.6,6.37l6.32,8.47a23.66,23.66,0,0,0,4.25,4.73c6.71,5.21,17.34,2.27,24,7.58,4.08,3.27,5.52,8.93,5.31,14.16-.1,2.47-.47,5.13.8,7.25a10.52,10.52,0,0,0,3.74,3.25l9.76,6.07c0-.58,0-1.16.06-1.73Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M627.07,682.94s-9.74,2-7.74,28.71,5,31.34,9,31.67,23.5,5.17,22.5-4.67-2-31.66-.67-35,6.61-12.31,1.57-14.48l-4.07,5.32s-10.67-9.84-17-2.67C630.66,691.82,624.74,685.27,627.07,682.94Z",transform:"translate(-95.23 -66.69)",fill:"#494457"}),y.createElement("path",{d:"M633.23,699.5c2.11,1,4.08,2.22,6.18,3.22a13.87,13.87,0,0,0,6.71,1.58,4.68,4.68,0,0,0,2.74-.95",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M697.33,725.62c1.25,1.15,2.22,2.62,3.63,3.57,2,1.34,4.56,1.42,7,1.45a2.84,2.84,0,0,0,1.2-.15,2.92,2.92,0,0,0,1.07-1l1.31-1.69",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M533,282.15s-4.5-42.66,13-32.16,5.45,29.16,5.45,29.16l-4.11,13.17Z",transform:"translate(-95.23 -66.69)",fill:"#ffc1c7"}),y.createElement("path",{d:"M561,145.82,571,136s19.17-55.17,38.17-41-24.08,50-24.08,50l-11.42,13.33Z",transform:"translate(-95.23 -66.69)",fill:"#ffc1c7"}),y.createElement("path",{d:"M414.66,364l-.5,11.33s9.17,16,13,17.17,3.5-33.84,3.5-33.84Z",transform:"translate(-95.23 -66.69)",fill:"#ff5374"}),y.createElement("path",{d:"M414.66,364l-.5,11.33s9.17,16,13,17.17,3.5-33.84,3.5-33.84Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("polygon",{points:"334.76 284.87 335.44 326.63 381.93 326.63 378.43 302.3 334.76 284.87",fill:"#ffc1c7"}),y.createElement("path",{d:"M440.83,455.82,443,469.15l27.17,60.34s12.33,19,2.33,35-20.33,41-22,56.16-14.83,30-14.83,30l28.67,12.17s2-23.83,10-35S508,567.49,508,567.49s8.17-7.34,6.34-29.17-1.67-37.17-1.67-37.17l-2.83-34.83Z",transform:"translate(-95.23 -66.69)",fill:"#575988"}),y.createElement("path",{d:"M440.83,455.82,443,469.15l27.17,60.34s12.33,19,2.33,35-20.33,41-22,56.16-14.83,30-14.83,30l28.67,12.17s2-23.83,10-35S508,567.49,508,567.49s8.17-7.34,6.34-29.17-1.67-37.17-1.67-37.17l-2.83-34.83Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M438.16,648.82s-30.67,9.33-20.5,24.67,43.17,44.5,56.5,43.5,8-10.84,8-10.84l-11.17-11s-2-23.33-1.16-30.16-9.5-10-10.84-6S438.16,648.82,438.16,648.82Z",transform:"translate(-95.23 -66.69)",fill:"#c4747b"}),y.createElement("path",{d:"M457.49,375.58l-24.31,2.69a8.72,8.72,0,0,0-7.76,8.89c.26,9.72.43,25.18-.93,28-2,4.17-8.16,33.84,18.5,54l36.17,11.5-58,4.17L423,517l9-5,110,5s31.17-3.17,10-37-66.16-67-66.16-67l-.5-26.34L482,379Z",transform:"translate(-95.23 -66.69)",fill:"#575988"}),y.createElement("path",{d:"M487.66,480.15a31.24,31.24,0,0,1,25,0Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M424,484.65s-35.83-5.16-36,1.67,5,73.33,22.17,68.83,9.83-26.5,9.83-26.5l12.84-12.33s1.33-6.83-7.17-6.17Z",transform:"translate(-95.23 -66.69)",fill:"#c4747b"}),y.createElement("path",{d:"M483.33,298.15l14.16,16.17s6.17,7.67,13.5-4,21-32.5,21-32.5,15.17,13.33,19.17,10.67S514.33,344,514.33,344s-13,19.16-32.34-3.5l-5.66-2.67Z",transform:"translate(-95.23 -66.69)",fill:"#ff5374"}),y.createElement("path",{d:"M483.33,298.15l14.16,16.17s6.17,7.67,13.5-4,21-32.5,21-32.5,15.17,13.33,19.17,10.67S514.33,344,514.33,344s-13,19.16-32.34-3.5l-5.66-2.67Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("circle",{cx:344.78,cy:136.25,r:29.5,fill:"#ffc1c7"}),y.createElement("path",{d:"M440,218.82s-25.35,12-22.35,33,3.5,47.5,3.5,47.5,11.51,17-3.75,49.5c0,0-9.75,16.5-3.25,28.5,0,0,7.21-19,25.85-5s48.65,20.5,48.65,20.5-15.5-68-6-77.5c0,0,16.5-24.5,1.5-40s-7.5-30-7.5-30l48.17-25.83s10.16.16,23.83-21.17a367.33,367.33,0,0,1,29.17-39s-10.34-15.5-20-16.67c0,0-3.84,4-6.5,14.84-1.42,5.75-11.07,15.36-19.8,23.11-6.2,5.5-12.18,11.21-18.15,17-4.42,4.25-14.26,10.33-35.72,13.77C442.33,217,440,218.82,440,218.82Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M440,216.82s-25.35,12-22.35,33,3.5,47.5,3.5,47.5,11.51,17-3.75,49.5c0,0-9.75,16.5-3.25,28.5,0,0,7.21-19,25.85-5s48.65,20.5,48.65,20.5-15.5-68-6-77.5c0,0,16.5-24.5,1.5-40s-7.5-30-7.5-30l48.17-25.83s10.16.16,23.83-21.17a367.33,367.33,0,0,1,29.17-39s-10.34-15.5-20-16.67c0,0-3.84,4-6.5,14.84-1.42,5.75-11.07,15.36-19.8,23.11-6.2,5.5-12.18,11.21-18.15,17-4.42,4.25-14.26,10.33-35.72,13.77C442.33,215,440,216.82,440,216.82Z",transform:"translate(-95.23 -66.69)",fill:"#ff5374"}),y.createElement("path",{d:"M461.83,342.49s19.66,29,20.16,34C482,376.49,479,345.32,461.83,342.49Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M436,244.82s13.71,16.5,33.52,2.67A42.49,42.49,0,0,1,436,244.82Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M446.63,172.09a8.85,8.85,0,0,0-2.16-4c-4.52-5.67-9.43-11.49-16.16-14.18a22.34,22.34,0,0,0-25.49,7.26c-2.42,3.26-3.86,7.14-5.95,10.63-3.86,6.46-9.83,11.44-16.25,15.38-3.87,2.37-7.95,4.42-11.6,7.11-13.27,9.77-19.4,27.83-16.06,44,1.47,7.08,4.58,14.06,3.74,21.25-.65,5.58-3.62,10.58-6.63,15.32s-6.22,9.54-7.42,15,.06,11.93,4.59,15.24c1.67,1.22,3.68,2,5.11,3.46a16.61,16.61,0,0,1,2.35,3.74,36.77,36.77,0,0,0,22.83,18c4.3,1.13,10.07.72,11.64-3.44a9,9,0,0,1,.81-2.11c1.42-2,4.55-.88,6.75.27a41.79,41.79,0,0,0,16.13,4.63,13.45,13.45,0,0,0,6.61-.79,12.21,12.21,0,0,0,4.45-3.85c5.26-6.85,6.77-15.8,7.67-24.39.59-5.59,1-11.28-.07-16.8-1.7-8.86-7.09-17.14-6.29-26.12.85-9.6,8.64-17.45,9.83-27a20.59,20.59,0,0,0-3.51-14.19,20.29,20.29,0,0,1-2.67-4.18,4.15,4.15,0,0,1,.8-4.59,7,7,0,0,1,2.08-1c6.43-2.47,9.86-8.91,10.32-15.5.18-2.5,0-4.8.69-7.24C443.87,180.23,447.2,176.11,446.63,172.09Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M444.63,172.09a8.85,8.85,0,0,0-2.16-4c-4.52-5.67-9.43-11.49-16.16-14.18a22.34,22.34,0,0,0-25.49,7.26c-2.42,3.26-3.86,7.14-5.95,10.63-3.86,6.46-9.83,11.44-16.25,15.38-3.87,2.37-7.95,4.42-11.6,7.11-13.27,9.77-19.4,27.83-16.06,44,1.47,7.08,4.58,14.06,3.74,21.25-.65,5.58-3.62,10.58-6.63,15.32s-6.22,9.54-7.42,15,.06,11.93,4.59,15.24c1.67,1.22,3.68,2,5.11,3.46a16.61,16.61,0,0,1,2.35,3.74,36.77,36.77,0,0,0,22.83,18c4.3,1.13,10.07.72,11.64-3.44a9,9,0,0,1,.81-2.11c1.42-2,4.55-.88,6.75.27a41.79,41.79,0,0,0,16.13,4.63,13.45,13.45,0,0,0,6.61-.79,12.21,12.21,0,0,0,4.45-3.85c5.26-6.85,6.77-15.8,7.67-24.39.59-5.59,1-11.28-.07-16.8-1.7-8.86-7.09-17.14-6.29-26.12.85-9.6,8.64-17.45,9.83-27a20.59,20.59,0,0,0-3.51-14.19,20.29,20.29,0,0,1-2.67-4.18,4.15,4.15,0,0,1,.8-4.59,7,7,0,0,1,2.08-1c6.43-2.47,9.86-8.91,10.32-15.5.18-2.5,0-4.8.69-7.24C441.87,180.23,445.2,176.11,444.63,172.09Z",transform:"translate(-95.23 -66.69)",fill:"#bb7684"}),y.createElement("g",{opacity:.1},y.createElement("path",{d:"M385,324.7a9.43,9.43,0,0,0-.82,2.11c-.93,2.48-3.36,3.62-6.07,3.9,3.77.38,7.8-.53,9.07-3.9a9.43,9.43,0,0,1,.82-2.11,2.5,2.5,0,0,1,1-.85C387.48,323.41,385.92,323.43,385,324.7Z",transform:"translate(-95.23 -66.69)"}),y.createElement("path",{d:"M444.68,172.08a8.63,8.63,0,0,0-2.16-4c-4.52-5.67-9.43-11.49-16.16-14.18a21,21,0,0,0-9.2-1.38,20.42,20.42,0,0,1,6.2,1.38c6.73,2.69,11.64,8.51,16.16,14.18a8.63,8.63,0,0,1,2.16,4c.57,4-2.75,8.15-3.85,11.85-.73,2.44-.52,4.73-.69,7.24-.47,6.58-3.89,13-10.33,15.5a7,7,0,0,0-2.08,1,4.15,4.15,0,0,0-.79,4.6,20.24,20.24,0,0,0,2.66,4.18,20.57,20.57,0,0,1,3.52,14.18c-1.2,9.57-9,17.41-9.84,27-.8,9,4.6,17.26,6.29,26.11,1.06,5.52.66,11.21.07,16.8-.9,8.59-2.4,17.55-7.67,24.39a12.17,12.17,0,0,1-4.44,3.85,9.94,9.94,0,0,1-3.27.81,12.93,12.93,0,0,0,6.27-.81A12.17,12.17,0,0,0,422,325c5.27-6.84,6.77-15.8,7.67-24.39.59-5.59,1-11.28-.07-16.8-1.69-8.85-7.09-17.14-6.29-26.11.86-9.61,8.64-17.45,9.84-27a20.57,20.57,0,0,0-3.52-14.18,20.24,20.24,0,0,1-2.66-4.18,4.15,4.15,0,0,1,.79-4.6,7,7,0,0,1,2.08-1c6.44-2.48,9.86-8.92,10.33-15.5.17-2.51,0-4.8.69-7.24C441.93,180.23,445.25,176.11,444.68,172.08Z",transform:"translate(-95.23 -66.69)"})),y.createElement("path",{d:"M406.82,525a13.51,13.51,0,0,0,13.83,3.82",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M470.9,696a8.49,8.49,0,0,1-6.9,1.74",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("ellipse",{cx:105.15,cy:655.8,rx:26.93,ry:4.55,fill:"#d1061a",opacity:.1}),y.createElement("ellipse",{cx:842.43,cy:746.4,rx:26.93,ry:4.55,fill:"#d1061a"}),y.createElement("ellipse",{cx:842.43,cy:658.82,rx:26.93,ry:4.55,fill:"#d1061a",opacity:.1}),y.createElement("ellipse",{cx:181.51,cy:698.05,rx:26.93,ry:4.55,fill:"#d1061a",opacity:.1}),y.createElement("ellipse",{cx:927.6,cy:698.05,rx:40.21,ry:6.8,fill:"#d1061a"}),y.createElement("ellipse",{cx:349.46,cy:751.28,rx:90.76,ry:15.34,fill:"#d1061a",opacity:.1}),y.createElement("path",{d:"M1039.45,753.62a11.73,11.73,0,0,0,3.84-5.79c.49-2.3-.49-5.05-2.68-5.89-2.46-.94-5.09.76-7.08,2.49s-4.28,3.68-6.89,3.32a10.47,10.47,0,0,0,3.24-9.81,4.11,4.11,0,0,0-.9-2c-1.37-1.46-3.84-.83-5.48.32-5.2,3.66-6.65,10.72-6.68,17.08-.52-2.29-.08-4.68-.09-7s-.66-5-2.64-6.23a8.07,8.07,0,0,0-4-1c-2.34-.08-4.94.15-6.54,1.86-2,2.13-1.47,5.69.26,8s4.35,3.8,6.76,5.42a15,15,0,0,1,4.84,4.61,5.08,5.08,0,0,1,.36.82h14.65A40.73,40.73,0,0,0,1039.45,753.62Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M954.29,802.21a11.71,11.71,0,0,0,3.83-5.79c.49-2.3-.48-5-2.68-5.89-2.46-.94-5.09.76-7.08,2.49s-4.28,3.68-6.89,3.32a10.47,10.47,0,0,0,3.24-9.81,4,4,0,0,0-.9-2c-1.36-1.46-3.84-.83-5.47.32-5.2,3.66-6.65,10.72-6.68,17.08-.53-2.29-.09-4.68-.1-7s-.66-5-2.64-6.23a8,8,0,0,0-4-.95c-2.34-.08-4.94.15-6.54,1.86-2,2.13-1.47,5.69.26,8s4.35,3.8,6.77,5.42a15,15,0,0,1,4.83,4.61,5.08,5.08,0,0,1,.36.82h14.65A41,41,0,0,0,954.29,802.21Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M307.24,712s-14.05-47.71,2.64-82.82A75.36,75.36,0,0,0,316,581.88a126.56,126.56,0,0,0-6.69-22.19",transform:"translate(-95.23 -66.69)",fill:"none",stroke:"#535461",strokeMiterlimit:10,strokeWidth:2}),y.createElement("path",{d:"M319.66,537.5c0,5.85-10.59,22.8-10.59,22.8s-10.58-16.95-10.58-22.8a10.59,10.59,0,1,1,21.17,0Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M337.16,569.89c-3.18,4.9-21.28,13.38-21.28,13.38s.33-20,3.51-24.89a10.59,10.59,0,0,1,17.77,11.51Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M336.4,625.23c-5.22,2.64-25.13.82-25.13.82s10.37-17.09,15.59-19.72a10.59,10.59,0,0,1,9.54,18.9Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M326.39,667c-4.7,3.47-24.63,5-24.63,5s7.34-18.6,12-22.08a10.59,10.59,0,0,1,12.59,17Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M293.65,584.41c4.2,4.07,23.73,8.29,23.73,8.29s-4.78-19.41-9-23.48a10.59,10.59,0,0,0-14.75,15.19Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M282.57,633.38c5.22,2.63,25.12.81,25.12.81s-10.37-17.09-15.59-19.72a10.59,10.59,0,0,0-9.53,18.91Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M278.32,682.45c4.7,3.48,24.63,5,24.63,5s-7.34-18.6-12-22.07a10.59,10.59,0,0,0-12.59,17Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M274,709s17.11-3.4,21.68-7.93,25.09-12.45,27.37-6.79,30.8,24.91,11.41,28.31-45.63,4.53-51.33,2.27S274,709,274,709Z",transform:"translate(-95.23 -66.69)",fill:"#a8a8a8"}),y.createElement("path",{d:"M334.49,720.46c-19.39,3.4-45.63,4.53-51.33,2.26-4.35-1.72-7.37-10-8.56-13.87L274,709s3.42,13.59,9.13,15.86,31.94,1.13,51.33-2.27c5.6-1,7.2-3.28,6.6-6.2C340.61,718.26,338.66,719.73,334.49,720.46Z",transform:"translate(-95.23 -66.69)",opacity:.2}),y.createElement("path",{d:"M943.17,659.91s5.5,7.19-2.53,18-14.65,20-12,26.77c0,0,12.12-20.15,22-20.43S954,672,943.17,659.91Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M943.17,659.91a9,9,0,0,1,1.13,2.26c9.62,11.3,14.74,21.85,5.49,22.11-8.61.25-18.94,15.65-21.42,19.54a9.24,9.24,0,0,0,.29.89s12.12-20.15,22-20.43S954,672,943.17,659.91Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M953.39,669.07c0,2.53-.29,4.58-.64,4.58s-.63-2-.63-4.58.35-1.34.7-1.34S953.39,666.54,953.39,669.07Z",transform:"translate(-95.23 -66.69)",fill:"#ffd037"}),y.createElement("path",{d:"M956.89,672.09c-2.22,1.21-4.16,1.94-4.32,1.63s1.49-1.53,3.71-2.74,1.35-.33,1.52,0S959.11,670.88,956.89,672.09Z",transform:"translate(-95.23 -66.69)",fill:"#ffd037"}),y.createElement("path",{d:"M914.16,659.91s-5.5,7.19,2.53,18,14.65,20,12,26.77c0,0-12.11-20.15-22-20.43S903.31,672,914.16,659.91Z",transform:"translate(-95.23 -66.69)",fill:"#d1061a"}),y.createElement("path",{d:"M914.16,659.91a9,9,0,0,0-1.13,2.26c-9.62,11.3-14.74,21.85-5.49,22.11,8.61.25,18.94,15.65,21.42,19.54a7.16,7.16,0,0,1-.3.89s-12.11-20.15-22-20.43S903.31,672,914.16,659.91Z",transform:"translate(-95.23 -66.69)",opacity:.1}),y.createElement("path",{d:"M903.94,669.07c0,2.53.29,4.58.64,4.58s.63-2,.63-4.58-.35-1.34-.7-1.34S903.94,666.54,903.94,669.07Z",transform:"translate(-95.23 -66.69)",fill:"#ffd037"}),y.createElement("path",{d:"M900.44,672.09c2.22,1.21,4.15,1.94,4.32,1.63s-1.49-1.53-3.71-2.74-1.35-.33-1.52,0S898.22,670.88,900.44,672.09Z",transform:"translate(-95.23 -66.69)",fill:"#ffd037"}),y.createElement("path",{d:"M905.69,703.77s15.36-.48,20-3.77,23.63-7.23,24.78-2,23.08,26.29,5.74,26.43-40.29-2.7-44.91-5.51S905.69,703.77,905.69,703.77Z",transform:"translate(-95.23 -66.69)",fill:"#a8a8a8"}),y.createElement("path",{d:"M956.51,722.64c-17.34.14-40.29-2.7-44.91-5.51-3.52-2.14-4.93-9.83-5.39-13.38l-.52,0s1,12.39,5.6,15.2,27.57,5.65,44.91,5.51c5,0,6.73-1.82,6.64-4.45C962.14,721.62,960.23,722.61,956.51,722.64Z",transform:"translate(-95.23 -66.69)",opacity:.2})),kN=y.forwardRef(NN),LN=({restart:a})=>{const{controlCode:i}=Pn(n=>n);return W.jsxs("div",{className:"confirmation",children:[W.jsx("h4",{children:Re.t("confirmation.header")}),W.jsx(lm,{toasterType:Ti.Success,message:Re.t("confirmation.info",{controlCode:i})}),W.jsx("div",{className:"img-container",children:W.jsx(kN,{})}),W.jsx("div",{className:"button-container",children:W.jsx(ao,{txt:Re.t("confirmation.restart"),type:Mi.GhostDark,onClick:()=>a()})})]})},qN=()=>{const[a,i]=y.useState(1);if(a===1)return W.jsx(UO,{proceed:()=>i(2)});if(a===2)return W.jsx(RN,{restart:()=>i(1),proceed:()=>i(3)});if(a===3)return W.jsx(LN,{restart:()=>i(1)})},UN=()=>{const{tab:a="verify"}=o8(),[i,n]=y.useState(a),[t,l]=y.useState([]),[s,c]=y.useState(!0),d=dl(),h=Pn(v=>v.user);y.useEffect(()=>{h&&Pn.setState({breadcrumbPath:[{path:"/home",value:Re.t("tabs.home")},{value:Re.t(`tabs.${i}`)}]});const v=[W.jsx(kO,{name:"verify",label:Re.t("tabs.verify"),children:W.jsx(qN,{})},"verify")];l(v),c(!1)},[i,h]);const m=v=>{n(v),d(`/home/${v}`)};return s?W.jsx(im,{}):W.jsx("div",{className:"home",children:W.jsxs("div",{className:"mod-home-container",children:[W.jsx(NO,{children:W.jsx("h1",{children:Re.t("landing.header.subTitle",{name:h.name})})}),W.jsx(RO,{activeTab:i,tabChanged:m,children:t})]})})},HN=()=>{const a=n=>t=>{Z8(t),V8.set("lang",n,{expires:356,secure:document.location.protocol.endsWith("https")}),Re.locale=n,window.location.search=qM(window.location.search,"lang",n)},i=n=>W.jsx("a",{href:"locale",className:`${Re.locale===n?"is-active":"not-active"}`,title:Re.t("footer.select_locale"),onClick:a(n),children:Re.translations[n].code});return W.jsx("nav",{className:"sds--language-switcher sds--text--body--small","aria-label":"Language",children:W.jsxs("ul",{children:[W.jsxs("li",{children:[i("nl"),W.jsx("span",{className:"sds--language-sds--divider",children:"|"})]}),W.jsx("li",{children:i("en")})]})})},PN=()=>W.jsx("footer",{className:"sds--footer sds--footer--single-bar",children:W.jsx("div",{className:"sds--page-container",children:W.jsxs("div",{className:"sds--footer--inner",children:[W.jsx("nav",{className:"menu sds--text--body--small",children:W.jsxs("ul",{children:[W.jsx("li",{children:W.jsx("a",{href:Re.t("footer.termsLink"),target:"_blank",rel:"noopener noreferrer",children:W.jsx("span",{children:Re.t("footer.terms")})})}),W.jsx("li",{children:W.jsx("a",{href:Re.t("footer.privacyLink"),target:"_blank",rel:"noopener noreferrer",children:W.jsx("span",{children:Re.t("footer.privacy")})})})]})}),W.jsx(HN,{}),W.jsx("div",{className:"sds--branding",children:W.jsx("a",{href:Re.t("footer.surfLink"),target:"_blank",rel:"noopener noreferrer",children:W.jsx($9,{label:"",position:J9.Bottom})})})]})})}),zN=({title:a,titleId:i,...n},t)=>y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:524.67001,height:418.27099,viewBox:"0 0 524.67001 418.27099",xmlnsXlink:"http://www.w3.org/1999/xlink",role:"img",artist:"Katerina Limpitsouni",source:"https://undraw.co/",ref:t,"aria-labelledby":i,...n},a?y.createElement("title",{id:i},a):null,y.createElement("path",{d:"M442.17403,400.47713c2.06599,.12871,3.20692-2.43846,1.64338-3.93389l-.1557-.61814c.0204-.04935,.04089-.09868,.06153-.14794,1.23211-2.94003,4.62545-4.33201,7.57137-3.11404,9.3142,3.85087-.51966,12.69986,.21957,18.68773,.25911,2.06671,8.35473,2.18034,7.89681,4.2086,4.30482-9.41207,6.56835-19.68889,6.56478-30.02306-.0009-2.59653-.14392-5.19297-.43543-7.78281-.23975-2.11845-.56985-4.22389-.9969-6.30999-2.30966-11.27639-7.30614-22.01572-14.51084-30.98461-3.46263-1.89129-1.35074-4.85018-3.09586-8.39544-.62694-1.27868-6.21792-1.30745-6.45092-2.70892,.25019,.03272,3.86434-3.721,2.6705-5.5767-.78555-1.22107-.54106-2.7763,.4681-3.82017,.09887-.1023,.19234-.2103,.27796-.32648,2.98093-4.04443,7.09003-3.33985,9.23695,2.15406,4.58304,2.31107,4.62871,6.14647,1.81834,9.83619-1.78798,2.34745-2.03264,5.52304-3.60129,8.03604,.16157,.20664,.32958,.40684,.49112,.61348,2.96237,3.79686,5.52482,7.87809,7.68524,12.16592-.61182-4.76599,.28705-10.50831,1.8215-14.21023,1.75933-4.24835,5.06953-7.8221,7.96883-11.49665,3.46275-4.38865,10.5104-2.39707,11.12286,3.15951,.00588,.05337,.0116,.10665,.01724,.16003-.42884,.24212-.84895,.49935-1.25929,.77094-2.33882,1.54808-1.52824,5.17442,1.24391,5.60071l.06278,.00965c-.1545,1.54372-5.63258,6.40679-6.01957,7.91187,3.70514,14.30838,.93282,16.19755-10.46624,16.43703l-.59825,.8522c1.08024,3.1058,1.94956,6.2861,2.60235,9.50743,.61462,2.99021,1.042,6.01282,1.28197,9.04845,.29847,3.82994,.27396,7.6795-.04769,11.50325l.01933-.13563c.81879-4.21143,3.1039-8.1457,6.42284-10.87249,4.94421-4.06436,11.93091-5.56281,17.2652-8.83022,2.56778-1.57285,5.85959,.45742,5.41241,3.4352l-.02177,.14262c-.79432,.32315-1.56922,.69808-2.31831,1.11814-.42921,.24237-.84965,.49978-1.26032,.77165-2.33916,1.54848-1.52796,5.1753,1.24498,5.60009l.06281,.00962c.0452,.00645,.08399,.01291,.12913,.0194-1.3617,3.23628-14.33553,7.80147-16.71149,10.39229-2.31031,12.49793-1.17531,12.12596-11.81075,8.49032h-.00647c-1.16085,5.06419-2.8578,10.01225-5.03931,14.72794l-18.0202,.00623c-.06471-.2002-.12288-.40688-.18109-.60712,1.66645,.10285,3.34571,.00534,4.98619-.29875-1.33757-1.64013-2.67509-3.29317-4.01266-4.93324-.0323-.03228-.05819-.06459-.08402-.09686l-.02036-.02517-1.85532-6.10724c.14644-1.35476,.38536-2.69828,.70958-4.02051l.00049-.00037v.00006Z",fill:"#f2f2f2"}),y.createElement("path",{d:"M251.74443,416.41995l-159.45702,.05516c-8.01074,.00277-15.18649-4.13684-19.19426-11.07295-2.00413-3.46855-3.00642-7.27337-3.00774-11.07904-.00132-3.80518,.99882-7.61119,3.00007-11.08063l79.67786-145.04905c4.00346-6.93937,11.17634-11.08346,19.18708-11.08623s15.18649,4.13635,19.19475,11.07295l79.78843,145.01196c1.99876,3.45927,2.99861,7.25971,2.99894,11.06293-.00015,3.80322-.99981,7.60874-3.00154,11.07868-4.00297,6.93889-11.17585,11.08346-19.1866,11.08623h.00002Zm-179.65463-22.09948c-.00026,3.46387,17.5953-4.00023,19.41817-.8451,3.64623,6.31026-6.50934,21.00225,.77874,20.99973,0,0,173.27016-3.828,176.91202-10.14078,1.82069-3.15639,2.73062-6.61911,2.72942-10.08102s-.91353-6.92351-2.73688-10.07864l-79.78845-145.01196c-3.63597-6.2922-10.16364-10.05801-17.45172-10.05549-7.28467,.00252-99.86105,161.74891-99.86132,165.21326h.00002Z",fill:"#3f3d56"}),y.createElement("path",{d:"M253.51521,414.41934c-1.99862,4.00069,91.61376,2.7712,92.72051,2.77082,0,0,26.3119-.58131,26.86492-1.53993,.27648-.47931,.41466-1.00515,.41448-1.53084s-.13873-1.05137-.4156-1.5305l-12.11626-22.02074c-.55215-.9555-1.54341-1.52736-2.65013-1.52698-.04608,.00002-.11394,.04093-.20168,.11933-16.16328,14.44385-36.0828,23.99237-57.75707,24.31469-23.047,.34272-46.73217,.6899-46.85919,.94416h.00002Z",fill:"#3f3d56"}),y.createElement("path",{d:"M0,417.0814c.00023,.66003,.53044,1.18982,1.19047,1.18959l522.28995-.18066c.65997-.00023,1.18982-.53038,1.18959-1.19041-.00023-.65997-.53044-1.18982-1.19041-1.18959l-522.28995,.18066c-.66003,.00023-1.18988,.53044-1.18965,1.19041Z",fill:"#ccc"}),y.createElement("g",null,y.createElement("polygon",{points:"403.87773 411.30541 394.83299 411.30765 390.51828 376.42194 403.86746 376.41823 403.87773 411.30541",fill:"#a0616a"}),y.createElement("path",{d:"M372.88925,411.11096h0c-.28145,.4744-.42951,2.00528-.42932,2.55685h0c.00059,1.6954,1.37542,3.06935,3.07089,3.06876l28.01047-.00969c1.15659-.0004,2.09391-.93832,2.09351-2.09496l-.0004-1.16617s1.38444-3.50542-1.46987-7.82444c0,0-3.54448,3.38386-8.84444-1.91244l-1.56336-2.82981-11.30656,8.27506-6.26838,.77377c-1.3714,.16927-2.58738-.02532-3.29241,1.16307h-.00012Z",fill:"#2f2e41"})),y.createElement("g",null,y.createElement("polygon",{points:"369.19708 381.46752 360.62951 384.36642 345.36911 352.70019 358.01396 348.42131 369.19708 381.46752",fill:"#a0616a"}),y.createElement("path",{d:"M339.77867,391.20807h0c-.11468,.53956,.23535,2.03724,.41217,2.5597h0c.54355,1.60589,2.28601,2.46714,3.89196,1.92358l26.53193-8.98019c1.09554-.3708,1.68312-1.55951,1.31228-2.65512l-.37389-1.10461s.18882-3.76416-3.8984-6.94155c0,0-2.27401,4.34084-8.99107,1.02096l-2.38732-2.18005-8.0607,11.46034-5.69037,2.74062c-1.24494,.59958-2.45919,.80471-2.74651,2.15628l-.00009,.00003Z",fill:"#2f2e41"})),y.createElement("polygon",{points:"355.22599 179.09003 337.68255 237.19081 316.97199 289.45207 349.76053 364.08569 361.91802 358.67731 347.37062 290.11706 377.87822 243.59436 392.11437 388.82623 404.27349 388.14652 420.76309 212.84336 423.11421 174.67566 355.22599 179.09003",fill:"#2f2e41"}),y.createElement("path",{d:"M408.20979,50.38513l-25.66813,4.73752-2.02258,11.48454-15.53439,7.43609-8.07702,84.4428s-13.50433,17.56819-2.69414,22.96862l68.9007-6.77904s3.37327-12.4903-.00473-13.67529-3.38832-31.01955-3.38832-31.01955l15.51573-61.36599-22.97048-8.09829-4.05664-10.13141Z",fill:"#e6e6e6"}),y.createElement("circle",{cx:393.06995,cy:29.43589,r:20.7276,fill:"#a0616a"}),y.createElement("path",{d:"M406.79605,32.51227c-1.65401,.9055-.08471,5.22869-1.11848,5.60245-1.19492,.43202-5.55162-4.52715-5.60554-10.08176-.01633-1.68115,.37051-2.48839-.00155-4.48164-.48668-2.6073-1.98045-5.68253-3.36317-5.60089-.81965,.04839-1.62013,1.20723-1.67986,2.2414-.0837,1.44941,1.32419,2.01989,1.12139,2.80064-.38627,1.4871-6.29829,2.5138-8.40308,.00291-1.65013-1.9685-.38463-5.4247-1.12236-5.60167-.54378-.13045-1.12759,1.77241-3.35988,3.9226-.84103,.8101-2.09186,2.0149-2.80044,1.68159-1.02397-.48167-.28003-3.87624-.56157-3.92125-.23314-.03727-.37947,2.3487-1.67908,4.48223-1.66968,2.74103-5.11398,4.85374-6.72112,3.92377-.98466-.56978-1.06245-2.15606-1.12158-3.36084-.1245-2.53816-3.81308-8.37644-2.85882-11.09166,1.94221-5.5263,5.2701-1.63078,6.7752-3.47504,2.03756-2.49669,3.86572-1.15434,7.28133-3.92396,3.33668-2.70564,3.36577-5.42504,5.60011-5.604,2.01221-.16116,2.7278,1.98528,5.04242,1.67887,1.96079-.25957,2.38749-1.92436,3.92087-1.68198,1.40389,.2219,1.49646,1.68849,3.36201,2.23966,1.19101,.35188,1.45267-.15743,2.80103-.00097,2.80559,.32556,4.69002,2.88083,5.043,3.35949,1.36081,1.84526,.83282,2.62341,2.24236,4.48086,1.21555,1.6018,3.90913,.9216,4.92189,1.72162,3.30928,2.61409,4.73124,7.43497,4.75994,12.92962,.0201,3.8431-.48103,5.78482-1.59913,10.63564-.84901,3.6834-4.78175,8.44334-6.94987,10.5659-.58199,.56975-2.21351,2.167-3.36066,1.68178-1.08704-.45979-1.11995-2.52764-1.12139-2.80064-.0049-.93901,.24521-2.1009,2.23907-5.04263,2.09442-3.09006,2.92645-3.44271,2.79948-4.48262-.22445-1.83818-3.16424-3.52123-4.48263-2.79948h.00012Z",fill:"#2f2e41"}),y.createElement("g",null,y.createElement("path",{d:"M334.49457,225.75979c-.64513,5.40264,1.61895,10.11513,5.05699,10.52567s6.7481-3.63632,7.39324-9.03898c.28242-2.36492,.00723-4.59754-.6797-6.39504l2.44642-22.92684-10.7834-.91891-1.26717,22.69891c-1.09088,1.58522-1.88401,3.69026-2.16639,6.05519h.00003Z",fill:"#a0616a"}),y.createElement("path",{d:"M365.49095,73.49769s-5.58664,.07946-9.28568,7.30383c-1.96565,3.83897-12.48211,75.62767-12.48211,75.62767l-9.68742,58.80847,16.50214,.08313,12.859-55.69302,10.81723-32.30088-8.72315-53.82921Z",fill:"#e6e6e6"})),y.createElement("path",{d:"M411.92961,217.13028c-1.58023,5.20651-.17535,10.24237,3.13786,11.24797s7.28015-2.39987,8.86035-7.60638c.69172-2.27906,.81133-4.5254,.44941-6.41533l6.4191-22.14543-10.45641-2.79098-5.21815,22.12729c-1.35133,1.36996-2.50044,3.30383-3.19216,5.58289v-.00003Z",fill:"#a0616a"}),y.createElement("path",{d:"M423.41564,69.63219s8.10413-6.08248,14.86262,3.37246c6.75846,9.45495,9.48742,87.1388,9.48742,87.1388l-18.89796,47.96845-14.18755-4.72373,13.49008-58.7749-23.65861-44.57614,18.90403-30.40494h-.00003Z",fill:"#e6e6e6"}),y.createElement("g",null,y.createElement("circle",{cx:218.47958,cy:311.43145,r:73,fill:"#83201B"}),y.createElement("g",null,y.createElement("circle",{cx:218.49274,cy:349.47878,r:6.70264,fill:"#fff"}),y.createElement("path",{d:"M218.4641,266.68145c-.6157,4.0912,.48747,4.94727,.49357,22.58508,.0061,17.63782,3.66579,41.28574-.47148,41.28717s-5.65047-48.80276-20.01681-53.12218c-16.89088-5.07846,21.98785-23.99409,19.99471-10.75007Z",fill:"#fff"}))),y.createElement("path",{d:"M120.50313,348.70219l-6.59532,13.93527c7.97328-5.71745,20.42715-10.64598,30.3376-13.28567-9.23403-4.46037-20.53313-11.65189-27.2835-18.77194l3.7934,14.72434c-44.47393-9.0585-76.41138-43.17661-76.4249-82.25924l-1.60648-.5527c.01412,40.82281,31.50971,76.96121,77.7792,86.20995Z",fill:"#3f3d56"})),YN=y.forwardRef(zN),R9=()=>{const a=dl(),i=()=>{W8().then(()=>{Pn.setState(()=>({breadcrumbPath:[],user:{},controlCode:{}})),a("/login"),setTimeout(()=>Pn.setState(()=>({user:null,breadcrumbPath:[]})),125)})};return W.jsx("div",{className:"forbidden-container",children:W.jsxs("div",{className:"forbidden",children:[W.jsx("p",{children:Re.t("forbidden.info")}),W.jsx(YN,{}),W.jsx("div",{className:"actions",children:W.jsx(ao,{txt:Re.t("forbidden.logout"),onClick:()=>i()})})]})})},jN=()=>{const[a,i]=y.useState(!0),[n,t]=y.useState(!1),l=dl();return y.useEffect(()=>{if(window.location.pathname.endsWith("/login")){i(!1);return}GM().then(s=>{Pn.setState(()=>({user:s})),i(!1),s.serviceDeskMember?(t(!0),l("/home")):l("/forbidden")}).catch(()=>{i(!1),l("/login")})},[]),a?W.jsx(im,{}):W.jsxs("div",{className:"service-desk",children:[W.jsxs("div",{className:"container",children:[W.jsx(QM,{}),W.jsx(XM,{}),n&&W.jsxs(H2,{children:[W.jsx(mr,{path:"/",element:W.jsx(K4,{replace:!0,to:"home"})}),W.jsx(mr,{path:"/home/:tab?",element:W.jsx(UN,{})}),W.jsx(mr,{path:"/refresh-route/:path",element:W.jsx(eO,{})}),W.jsx(mr,{path:"/forbidden",element:W.jsx(R9,{})}),W.jsx(mr,{path:"/login",element:W.jsx($7,{})}),W.jsx(mr,{path:"*",element:W.jsx(e2,{})})]}),!n&&W.jsxs(H2,{children:[W.jsx(mr,{path:"/login",element:W.jsx($7,{})}),W.jsx(mr,{path:"/",element:W.jsx(K4,{replace:!0,to:"forbidden"})}),W.jsx(mr,{path:"/forbidden",element:W.jsx(R9,{})}),W.jsx(mr,{path:"/404",element:W.jsx(e2,{})}),W.jsx(mr,{path:"/*",element:W.jsx(e2,{})})]})]}),W.jsx(PN,{})]})},BN=qS.createRoot(document.getElementById("root"));BN.render(W.jsx(y.StrictMode,{children:W.jsx(tD,{children:W.jsx(H2,{children:W.jsx(mr,{path:"/*",element:W.jsx(jN,{})})})})}));
