From 6e4174bfef314dec80270dd8c6c305645fdfe613 Mon Sep 17 00:00:00 2001 From: dilaouid Date: Thu, 11 Jan 2024 16:24:45 +0100 Subject: [PATCH] Updates --- assets/index-17768d24.js | 235 +++++++++++++++++++++++++++++++++++++++ assets/index-24f9cc38.js | 228 ------------------------------------- index.html | 2 +- 3 files changed, 236 insertions(+), 229 deletions(-) create mode 100644 assets/index-17768d24.js delete mode 100644 assets/index-24f9cc38.js diff --git a/assets/index-17768d24.js b/assets/index-17768d24.js new file mode 100644 index 00000000..e60cfea5 --- /dev/null +++ b/assets/index-17768d24.js @@ -0,0 +1,235 @@ +function T0(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var P0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var j0={exports:{}},Vu={},N0={exports:{}},Te={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Da=Symbol.for("react.element"),Pb=Symbol.for("react.portal"),jb=Symbol.for("react.fragment"),Nb=Symbol.for("react.strict_mode"),Rb=Symbol.for("react.profiler"),Ab=Symbol.for("react.provider"),$b=Symbol.for("react.context"),Db=Symbol.for("react.forward_ref"),Ib=Symbol.for("react.suspense"),Mb=Symbol.for("react.memo"),zb=Symbol.for("react.lazy"),Qm=Symbol.iterator;function Fb(e){return e===null||typeof e!="object"?null:(e=Qm&&e[Qm]||e["@@iterator"],typeof e=="function"?e:null)}var R0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A0=Object.assign,$0={};function is(e,t,n){this.props=e,this.context=t,this.refs=$0,this.updater=n||R0}is.prototype.isReactComponent={};is.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};is.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function D0(){}D0.prototype=is.prototype;function sp(e,t,n){this.props=e,this.context=t,this.refs=$0,this.updater=n||R0}var ap=sp.prototype=new D0;ap.constructor=sp;A0(ap,is.prototype);ap.isPureReactComponent=!0;var Ym=Array.isArray,I0=Object.prototype.hasOwnProperty,lp={current:null},M0={key:!0,ref:!0,__self:!0,__source:!0};function z0(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)I0.call(t,r)&&!M0.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1>>1,ve=U[se];if(0>>1;sei(ye,A))uei(_e,ye)?(U[se]=_e,U[ue]=A,se=ue):(U[se]=ye,U[ae]=A,se=ae);else if(uei(_e,A))U[se]=_e,U[ue]=A,se=ue;else break e}}return Y}function i(U,Y){var A=U.sortIndex-Y.sortIndex;return A!==0?A:U.id-Y.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var u=[],c=[],f=1,h=null,p=3,y=!1,w=!1,x=!1,b=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function k(U){for(var Y=n(c);Y!==null;){if(Y.callback===null)r(c);else if(Y.startTime<=U)r(c),Y.sortIndex=Y.expirationTime,t(u,Y);else break;Y=n(c)}}function O(U){if(x=!1,k(U),!w)if(n(u)!==null)w=!0,ie(L);else{var Y=n(c);Y!==null&&q(O,Y.startTime-U)}}function L(U,Y){w=!1,x&&(x=!1,v(R),R=-1),y=!0;var A=p;try{for(k(Y),h=n(u);h!==null&&(!(h.expirationTime>Y)||U&&!F());){var se=h.callback;if(typeof se=="function"){h.callback=null,p=h.priorityLevel;var ve=se(h.expirationTime<=Y);Y=e.unstable_now(),typeof ve=="function"?h.callback=ve:h===n(u)&&r(u),k(Y)}else r(u);h=n(u)}if(h!==null)var Re=!0;else{var ae=n(c);ae!==null&&q(O,ae.startTime-Y),Re=!1}return Re}finally{h=null,p=A,y=!1}}var _=!1,T=null,R=-1,M=5,z=-1;function F(){return!(e.unstable_now()-zU||125se?(U.sortIndex=A,t(c,U),n(u)===null&&U===n(c)&&(x?(v(R),R=-1):x=!0,q(O,A-se))):(U.sortIndex=ve,t(u,U),w||y||(w=!0,ie(L))),U},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(U){var Y=p;return function(){var A=p;p=Y;try{return U.apply(this,arguments)}finally{p=A}}}})(H0);U0.exports=H0;var Jb=U0.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var V0=E,mn=Jb;function K(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Uf=Object.prototype.hasOwnProperty,Zb=/^[: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]*$/,Xm={},Jm={};function eS(e){return Uf.call(Jm,e)?!0:Uf.call(Xm,e)?!1:Zb.test(e)?Jm[e]=!0:(Xm[e]=!0,!1)}function tS(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function nS(e,t,n,r){if(t===null||typeof t>"u"||tS(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Wt(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var At={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){At[e]=new Wt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];At[t]=new Wt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){At[e]=new Wt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){At[e]=new Wt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){At[e]=new Wt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){At[e]=new Wt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){At[e]=new Wt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){At[e]=new Wt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){At[e]=new Wt(e,5,!1,e.toLowerCase(),null,!1,!1)});var cp=/[\-:]([a-z])/g;function fp(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(cp,fp);At[t]=new Wt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(cp,fp);At[t]=new Wt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(cp,fp);At[t]=new Wt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){At[e]=new Wt(e,1,!1,e.toLowerCase(),null,!1,!1)});At.xlinkHref=new Wt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){At[e]=new Wt(e,1,!1,e.toLowerCase(),null,!0,!0)});function dp(e,t,n,r){var i=At.hasOwnProperty(t)?At[t]:null;(i!==null?i.type!==0:r||!(2l||i[s]!==o[l]){var u=` +`+i[s].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=s&&0<=l);break}}}finally{tf=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Bs(e):""}function rS(e){switch(e.tag){case 5:return Bs(e.type);case 16:return Bs("Lazy");case 13:return Bs("Suspense");case 19:return Bs("SuspenseList");case 0:case 2:case 15:return e=nf(e.type,!1),e;case 11:return e=nf(e.type.render,!1),e;case 1:return e=nf(e.type,!0),e;default:return""}}function Kf(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case wo:return"Fragment";case yo:return"Portal";case Hf:return"Profiler";case pp:return"StrictMode";case Vf:return"Suspense";case Wf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case G0:return(e.displayName||"Context")+".Consumer";case K0:return(e._context.displayName||"Context")+".Provider";case hp:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case mp:return t=e.displayName||null,t!==null?t:Kf(e.type)||"Memo";case Ur:t=e._payload,e=e._init;try{return Kf(e(t))}catch{}}return null}function iS(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Kf(t);case 8:return t===pp?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ii(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Y0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function oS(e){var t=Y0(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function yl(e){e._valueTracker||(e._valueTracker=oS(e))}function q0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Y0(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function au(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Gf(e,t){var n=t.checked;return it({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function eg(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ii(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function X0(e,t){t=t.checked,t!=null&&dp(e,"checked",t,!1)}function Qf(e,t){X0(e,t);var n=ii(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Yf(e,t.type,n):t.hasOwnProperty("defaultValue")&&Yf(e,t.type,ii(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function tg(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Yf(e,t,n){(t!=="number"||au(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Us=Array.isArray;function Ao(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=wl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function fa(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Qs={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},sS=["Webkit","ms","Moz","O"];Object.keys(Qs).forEach(function(e){sS.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qs[t]=Qs[e]})});function ty(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Qs.hasOwnProperty(e)&&Qs[e]?(""+t).trim():t+"px"}function ny(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=ty(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var aS=it({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Jf(e,t){if(t){if(aS[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(K(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(K(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(K(61))}if(t.style!=null&&typeof t.style!="object")throw Error(K(62))}}function Zf(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ed=null;function gp(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var td=null,$o=null,Do=null;function ig(e){if(e=za(e)){if(typeof td!="function")throw Error(K(280));var t=e.stateNode;t&&(t=Yu(t),td(e.stateNode,e.type,t))}}function ry(e){$o?Do?Do.push(e):Do=[e]:$o=e}function iy(){if($o){var e=$o,t=Do;if(Do=$o=null,ig(e),t)for(e=0;e>>=0,e===0?32:31-(yS(e)/wS|0)|0}var xl=64,_l=4194304;function Hs(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function fu(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=Hs(l):(o&=s,o!==0&&(r=Hs(o)))}else s=n&~i,s!==0?r=Hs(s):o!==0&&(r=Hs(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ia(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Gn(t),e[t]=n}function SS(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=qs),pg=String.fromCharCode(32),hg=!1;function ky(e,t){switch(e){case"keyup":return XS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ey(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var xo=!1;function ZS(e,t){switch(e){case"compositionend":return Ey(t);case"keypress":return t.which!==32?null:(hg=!0,pg);case"textInput":return e=t.data,e===pg&&hg?null:e;default:return null}}function ek(e,t){if(xo)return e==="compositionend"||!kp&&ky(e,t)?(e=by(),Hl=_p=Gr=null,xo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=yg(n)}}function Ty(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ty(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Py(){for(var e=window,t=au();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=au(e.document)}return t}function Ep(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function uk(e){var t=Py(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ty(n.ownerDocument.documentElement,n)){if(r!==null&&Ep(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=wg(n,o);var s=wg(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,_o=null,ad=null,Js=null,ld=!1;function xg(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ld||_o==null||_o!==au(r)||(r=_o,"selectionStart"in r&&Ep(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Js&&va(Js,r)||(Js=r,r=hu(ad,"onSelect"),0ko||(e.current=hd[ko],hd[ko]=null,ko--)}function qe(e,t){ko++,hd[ko]=e.current,e.current=t}var oi={},Mt=ui(oi),en=ui(!1),Hi=oi;function Bo(e,t){var n=e.type.contextTypes;if(!n)return oi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function tn(e){return e=e.childContextTypes,e!=null}function gu(){Ze(en),Ze(Mt)}function Og(e,t,n){if(Mt.current!==oi)throw Error(K(168));qe(Mt,t),qe(en,n)}function zy(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(K(108,iS(e)||"Unknown",i));return it({},n,r)}function vu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||oi,Hi=Mt.current,qe(Mt,e),qe(en,en.current),!0}function Lg(e,t,n){var r=e.stateNode;if(!r)throw Error(K(169));n?(e=zy(e,t,Hi),r.__reactInternalMemoizedMergedChildContext=e,Ze(en),Ze(Mt),qe(Mt,e)):Ze(en),qe(en,n)}var xr=null,qu=!1,vf=!1;function Fy(e){xr===null?xr=[e]:xr.push(e)}function _k(e){qu=!0,Fy(e)}function ci(){if(!vf&&xr!==null){vf=!0;var e=0,t=He;try{var n=xr;for(He=1;e>=s,i-=s,_r=1<<32-Gn(t)+i|n<R?(M=T,T=null):M=T.sibling;var z=p(v,T,k[R],O);if(z===null){T===null&&(T=M);break}e&&T&&z.alternate===null&&t(v,T),m=o(z,m,R),_===null?L=z:_.sibling=z,_=z,T=M}if(R===k.length)return n(v,T),tt&&Ei(v,R),L;if(T===null){for(;RR?(M=T,T=null):M=T.sibling;var F=p(v,T,z.value,O);if(F===null){T===null&&(T=M);break}e&&T&&F.alternate===null&&t(v,T),m=o(F,m,R),_===null?L=F:_.sibling=F,_=F,T=M}if(z.done)return n(v,T),tt&&Ei(v,R),L;if(T===null){for(;!z.done;R++,z=k.next())z=h(v,z.value,O),z!==null&&(m=o(z,m,R),_===null?L=z:_.sibling=z,_=z);return tt&&Ei(v,R),L}for(T=r(v,T);!z.done;R++,z=k.next())z=y(T,v,R,z.value,O),z!==null&&(e&&z.alternate!==null&&T.delete(z.key===null?R:z.key),m=o(z,m,R),_===null?L=z:_.sibling=z,_=z);return e&&T.forEach(function(I){return t(v,I)}),tt&&Ei(v,R),L}function b(v,m,k,O){if(typeof k=="object"&&k!==null&&k.type===wo&&k.key===null&&(k=k.props.children),typeof k=="object"&&k!==null){switch(k.$$typeof){case vl:e:{for(var L=k.key,_=m;_!==null;){if(_.key===L){if(L=k.type,L===wo){if(_.tag===7){n(v,_.sibling),m=i(_,k.props.children),m.return=v,v=m;break e}}else if(_.elementType===L||typeof L=="object"&&L!==null&&L.$$typeof===Ur&&$g(L)===_.type){n(v,_.sibling),m=i(_,k.props),m.ref=Ts(v,_,k),m.return=v,v=m;break e}n(v,_);break}else t(v,_);_=_.sibling}k.type===wo?(m=zi(k.props.children,v.mode,O,k.key),m.return=v,v=m):(O=Xl(k.type,k.key,k.props,null,v.mode,O),O.ref=Ts(v,m,k),O.return=v,v=O)}return s(v);case yo:e:{for(_=k.key;m!==null;){if(m.key===_)if(m.tag===4&&m.stateNode.containerInfo===k.containerInfo&&m.stateNode.implementation===k.implementation){n(v,m.sibling),m=i(m,k.children||[]),m.return=v,v=m;break e}else{n(v,m);break}else t(v,m);m=m.sibling}m=Ef(k,v.mode,O),m.return=v,v=m}return s(v);case Ur:return _=k._init,b(v,m,_(k._payload),O)}if(Us(k))return w(v,m,k,O);if(ks(k))return x(v,m,k,O);Ll(v,k)}return typeof k=="string"&&k!==""||typeof k=="number"?(k=""+k,m!==null&&m.tag===6?(n(v,m.sibling),m=i(m,k),m.return=v,v=m):(n(v,m),m=kf(k,v.mode,O),m.return=v,v=m),s(v)):n(v,m)}return b}var Ho=Qy(!0),Yy=Qy(!1),Fa={},lr=ui(Fa),_a=ui(Fa),ba=ui(Fa);function Ni(e){if(e===Fa)throw Error(K(174));return e}function Ap(e,t){switch(qe(ba,t),qe(_a,e),qe(lr,Fa),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Xf(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Xf(t,e)}Ze(lr),qe(lr,t)}function Vo(){Ze(lr),Ze(_a),Ze(ba)}function qy(e){Ni(ba.current);var t=Ni(lr.current),n=Xf(t,e.type);t!==n&&(qe(_a,e),qe(lr,n))}function $p(e){_a.current===e&&(Ze(lr),Ze(_a))}var nt=ui(0);function Su(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var yf=[];function Dp(){for(var e=0;en?n:4,e(!0);var r=wf.transition;wf.transition={};try{e(!1),t()}finally{He=n,wf.transition=r}}function d1(){return Rn().memoizedState}function Ek(e,t,n){var r=ni(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},p1(e))h1(t,n);else if(n=Vy(e,t,n,r),n!==null){var i=Ht();Qn(n,e,r,i),m1(n,t,r)}}function Ck(e,t,n){var r=ni(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(p1(e))h1(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,qn(l,s)){var u=t.interleaved;u===null?(i.next=i,Np(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=Vy(e,t,i,r),n!==null&&(i=Ht(),Qn(n,e,r,i),m1(n,t,r))}}function p1(e){var t=e.alternate;return e===rt||t!==null&&t===rt}function h1(e,t){Zs=ku=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function m1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,yp(e,n)}}var Eu={readContext:Nn,useCallback:$t,useContext:$t,useEffect:$t,useImperativeHandle:$t,useInsertionEffect:$t,useLayoutEffect:$t,useMemo:$t,useReducer:$t,useRef:$t,useState:$t,useDebugValue:$t,useDeferredValue:$t,useTransition:$t,useMutableSource:$t,useSyncExternalStore:$t,useId:$t,unstable_isNewReconciler:!1},Ok={readContext:Nn,useCallback:function(e,t){return rr().memoizedState=[e,t===void 0?null:t],e},useContext:Nn,useEffect:Ig,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Gl(4194308,4,a1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Gl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Gl(4,2,e,t)},useMemo:function(e,t){var n=rr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=rr();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ek.bind(null,rt,e),[r.memoizedState,e]},useRef:function(e){var t=rr();return e={current:e},t.memoizedState=e},useState:Dg,useDebugValue:Bp,useDeferredValue:function(e){return rr().memoizedState=e},useTransition:function(){var e=Dg(!1),t=e[0];return e=kk.bind(null,e[1]),rr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=rt,i=rr();if(tt){if(n===void 0)throw Error(K(407));n=n()}else{if(n=t(),Lt===null)throw Error(K(349));Wi&30||Zy(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Ig(t1.bind(null,r,o,e),[e]),r.flags|=2048,Ea(9,e1.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=rr(),t=Lt.identifierPrefix;if(tt){var n=br,r=_r;n=(r&~(1<<32-Gn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Sa++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[or]=t,e[xa]=r,k1(e,t,!1,!1),t.stateNode=e;e:{switch(s=Zf(n,r),n){case"dialog":Xe("cancel",e),Xe("close",e),i=r;break;case"iframe":case"object":case"embed":Xe("load",e),i=r;break;case"video":case"audio":for(i=0;iKo&&(t.flags|=128,r=!0,Ps(o,!1),t.lanes=4194304)}else{if(!r)if(e=Su(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ps(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!tt)return Dt(t),null}else 2*ht()-o.renderingStartTime>Ko&&n!==1073741824&&(t.flags|=128,r=!0,Ps(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ht(),t.sibling=null,n=nt.current,qe(nt,r?n&1|2:n&1),t):(Dt(t),null);case 22:case 23:return Gp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?dn&1073741824&&(Dt(t),t.subtreeFlags&6&&(t.flags|=8192)):Dt(t),null;case 24:return null;case 25:return null}throw Error(K(156,t.tag))}function $k(e,t){switch(Op(t),t.tag){case 1:return tn(t.type)&&gu(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Vo(),Ze(en),Ze(Mt),Dp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return $p(t),null;case 13:if(Ze(nt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(K(340));Uo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ze(nt),null;case 4:return Vo(),null;case 10:return jp(t.type._context),null;case 22:case 23:return Gp(),null;case 24:return null;default:return null}}var Pl=!1,It=!1,Dk=typeof WeakSet=="function"?WeakSet:Set,ne=null;function Lo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ut(e,t,r)}else n.current=null}function Cd(e,t,n){try{n()}catch(r){ut(e,t,r)}}var Kg=!1;function Ik(e,t){if(ud=du,e=Py(),Ep(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,u=-1,c=0,f=0,h=e,p=null;t:for(;;){for(var y;h!==n||i!==0&&h.nodeType!==3||(l=s+i),h!==o||r!==0&&h.nodeType!==3||(u=s+r),h.nodeType===3&&(s+=h.nodeValue.length),(y=h.firstChild)!==null;)p=h,h=y;for(;;){if(h===e)break t;if(p===n&&++c===i&&(l=s),p===o&&++f===r&&(u=s),(y=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=y}n=l===-1||u===-1?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(cd={focusedElem:e,selectionRange:n},du=!1,ne=t;ne!==null;)if(t=ne,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ne=e;else for(;ne!==null;){t=ne;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var x=w.memoizedProps,b=w.memoizedState,v=t.stateNode,m=v.getSnapshotBeforeUpdate(t.elementType===t.type?x:Hn(t.type,x),b);v.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var k=t.stateNode.containerInfo;k.nodeType===1?k.textContent="":k.nodeType===9&&k.documentElement&&k.removeChild(k.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(K(163))}}catch(O){ut(t,t.return,O)}if(e=t.sibling,e!==null){e.return=t.return,ne=e;break}ne=t.return}return w=Kg,Kg=!1,w}function ea(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Cd(t,n,o)}i=i.next}while(i!==r)}}function Zu(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Od(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function O1(e){var t=e.alternate;t!==null&&(e.alternate=null,O1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[or],delete t[xa],delete t[pd],delete t[wk],delete t[xk])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function L1(e){return e.tag===5||e.tag===3||e.tag===4}function Gg(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||L1(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ld(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=mu));else if(r!==4&&(e=e.child,e!==null))for(Ld(e,t,n),e=e.sibling;e!==null;)Ld(e,t,n),e=e.sibling}function Td(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Td(e,t,n),e=e.sibling;e!==null;)Td(e,t,n),e=e.sibling}var Nt=null,Vn=!1;function zr(e,t,n){for(n=n.child;n!==null;)T1(e,t,n),n=n.sibling}function T1(e,t,n){if(ar&&typeof ar.onCommitFiberUnmount=="function")try{ar.onCommitFiberUnmount(Wu,n)}catch{}switch(n.tag){case 5:It||Lo(n,t);case 6:var r=Nt,i=Vn;Nt=null,zr(e,t,n),Nt=r,Vn=i,Nt!==null&&(Vn?(e=Nt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Nt.removeChild(n.stateNode));break;case 18:Nt!==null&&(Vn?(e=Nt,n=n.stateNode,e.nodeType===8?gf(e.parentNode,n):e.nodeType===1&&gf(e,n),ma(e)):gf(Nt,n.stateNode));break;case 4:r=Nt,i=Vn,Nt=n.stateNode.containerInfo,Vn=!0,zr(e,t,n),Nt=r,Vn=i;break;case 0:case 11:case 14:case 15:if(!It&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Cd(n,t,s),i=i.next}while(i!==r)}zr(e,t,n);break;case 1:if(!It&&(Lo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ut(n,t,l)}zr(e,t,n);break;case 21:zr(e,t,n);break;case 22:n.mode&1?(It=(r=It)||n.memoizedState!==null,zr(e,t,n),It=r):zr(e,t,n);break;default:zr(e,t,n)}}function Qg(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Dk),t.forEach(function(r){var i=Kk.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Un(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=ht()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*zk(r/1960))-r,10e?16:e,Qr===null)var r=!1;else{if(e=Qr,Qr=null,Lu=0,Ie&6)throw Error(K(331));var i=Ie;for(Ie|=4,ne=e.current;ne!==null;){var o=ne,s=o.child;if(ne.flags&16){var l=o.deletions;if(l!==null){for(var u=0;uht()-Wp?Mi(e,0):Vp|=n),nn(e,t)}function I1(e,t){t===0&&(e.mode&1?(t=_l,_l<<=1,!(_l&130023424)&&(_l=4194304)):t=1);var n=Ht();e=Or(e,t),e!==null&&(Ia(e,t,n),nn(e,n))}function Wk(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),I1(e,n)}function Kk(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(K(314))}r!==null&&r.delete(t),I1(e,n)}var M1;M1=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||en.current)Xt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Xt=!1,Rk(e,t,n);Xt=!!(e.flags&131072)}else Xt=!1,tt&&t.flags&1048576&&By(t,wu,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ql(e,t),e=t.pendingProps;var i=Bo(t,Mt.current);Mo(t,n),i=Mp(null,t,r,e,i,n);var o=zp();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,tn(r)?(o=!0,vu(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Rp(t),i.updater=Xu,t.stateNode=i,i._reactInternals=t,wd(t,r,e,n),t=bd(null,t,r,!0,o,n)):(t.tag=0,tt&&o&&Cp(t),Ut(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ql(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Qk(r),e=Hn(r,e),i){case 0:t=_d(null,t,r,e,n);break e;case 1:t=Hg(null,t,r,e,n);break e;case 11:t=Bg(null,t,r,e,n);break e;case 14:t=Ug(null,t,r,Hn(r.type,e),n);break e}throw Error(K(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Hn(r,i),_d(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Hn(r,i),Hg(e,t,r,i,n);case 3:e:{if(_1(t),e===null)throw Error(K(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Wy(e,t),bu(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Wo(Error(K(423)),t),t=Vg(e,t,r,n,i);break e}else if(r!==i){i=Wo(Error(K(424)),t),t=Vg(e,t,r,n,i);break e}else for(pn=Zr(t.stateNode.containerInfo.firstChild),hn=t,tt=!0,Kn=null,n=Yy(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Uo(),r===i){t=Lr(e,t,n);break e}Ut(e,t,r,n)}t=t.child}return t;case 5:return qy(t),e===null&&gd(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,fd(r,i)?s=null:o!==null&&fd(r,o)&&(t.flags|=32),x1(e,t),Ut(e,t,s,n),t.child;case 6:return e===null&&gd(t),null;case 13:return b1(e,t,n);case 4:return Ap(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ho(t,null,r,n):Ut(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Hn(r,i),Bg(e,t,r,i,n);case 7:return Ut(e,t,t.pendingProps,n),t.child;case 8:return Ut(e,t,t.pendingProps.children,n),t.child;case 12:return Ut(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,qe(xu,r._currentValue),r._currentValue=s,o!==null)if(qn(o.value,s)){if(o.children===i.children&&!en.current){t=Lr(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var u=l.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=Sr(-1,n&-n),u.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var f=c.pending;f===null?u.next=u:(u.next=f.next,f.next=u),c.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),vd(o.return,n,t),l.lanes|=n;break}u=u.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(K(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),vd(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Ut(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Mo(t,n),i=Nn(i),r=r(i),t.flags|=1,Ut(e,t,r,n),t.child;case 14:return r=t.type,i=Hn(r,t.pendingProps),i=Hn(r.type,i),Ug(e,t,r,i,n);case 15:return y1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Hn(r,i),Ql(e,t),t.tag=1,tn(r)?(e=!0,vu(t)):e=!1,Mo(t,n),Gy(t,r,i),wd(t,r,i,n),bd(null,t,r,!0,e,n);case 19:return S1(e,t,n);case 22:return w1(e,t,n)}throw Error(K(156,t.tag))};function z1(e,t){return fy(e,t)}function Gk(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pn(e,t,n,r){return new Gk(e,t,n,r)}function Yp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Qk(e){if(typeof e=="function")return Yp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===hp)return 11;if(e===mp)return 14}return 2}function ri(e,t){var n=e.alternate;return n===null?(n=Pn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Xl(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Yp(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case wo:return zi(n.children,i,o,t);case pp:s=8,i|=8;break;case Hf:return e=Pn(12,n,t,i|2),e.elementType=Hf,e.lanes=o,e;case Vf:return e=Pn(13,n,t,i),e.elementType=Vf,e.lanes=o,e;case Wf:return e=Pn(19,n,t,i),e.elementType=Wf,e.lanes=o,e;case Q0:return tc(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case K0:s=10;break e;case G0:s=9;break e;case hp:s=11;break e;case mp:s=14;break e;case Ur:s=16,r=null;break e}throw Error(K(130,e==null?e:typeof e,""))}return t=Pn(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function zi(e,t,n,r){return e=Pn(7,e,r,t),e.lanes=n,e}function tc(e,t,n,r){return e=Pn(22,e,r,t),e.elementType=Q0,e.lanes=n,e.stateNode={isHidden:!1},e}function kf(e,t,n){return e=Pn(6,e,null,t),e.lanes=n,e}function Ef(e,t,n){return t=Pn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yk(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=of(0),this.expirationTimes=of(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=of(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function qp(e,t,n,r,i,o,s,l,u){return e=new Yk(e,t,n,l,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Pn(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Rp(o),e}function qk(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(H1)}catch(e){console.error(e)}}H1(),B0.exports=vn;var eh=B0.exports;const Ri=Xi(eh),tE=T0({__proto__:null,default:Ri},[eh]);var nv=eh;Bf.createRoot=nv.createRoot,Bf.hydrateRoot=nv.hydrateRoot;/** + * @remix-run/router v1.14.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function ct(){return ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function si(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function rE(){return Math.random().toString(36).substr(2,8)}function iv(e,t){return{usr:e.state,key:e.key,idx:t}}function Oa(e,t,n,r){return n===void 0&&(n=null),ct({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?dr(t):t,{state:n,key:t&&t.key||r||rE()})}function Qi(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function dr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function iE(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,l=pt.Pop,u=null,c=f();c==null&&(c=0,s.replaceState(ct({},s.state,{idx:c}),""));function f(){return(s.state||{idx:null}).idx}function h(){l=pt.Pop;let b=f(),v=b==null?null:b-c;c=b,u&&u({action:l,location:x.location,delta:v})}function p(b,v){l=pt.Push;let m=Oa(x.location,b,v);n&&n(m,b),c=f()+1;let k=iv(m,c),O=x.createHref(m);try{s.pushState(k,"",O)}catch(L){if(L instanceof DOMException&&L.name==="DataCloneError")throw L;i.location.assign(O)}o&&u&&u({action:l,location:x.location,delta:1})}function y(b,v){l=pt.Replace;let m=Oa(x.location,b,v);n&&n(m,b),c=f();let k=iv(m,c),O=x.createHref(m);s.replaceState(k,"",O),o&&u&&u({action:l,location:x.location,delta:0})}function w(b){let v=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof b=="string"?b:Qi(b);return Ee(v,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,v)}let x={get action(){return l},get location(){return e(i,s)},listen(b){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(rv,h),u=b,()=>{i.removeEventListener(rv,h),u=null}},createHref(b){return t(i,b)},createURL:w,encodeLocation(b){let v=w(b);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:p,replace:y,go(b){return s.go(b)}};return x}var lt;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(lt||(lt={}));const oE=new Set(["lazy","caseSensitive","path","id","index","children"]);function sE(e){return e.index===!0}function Ad(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,o)=>{let s=[...n,o],l=typeof i.id=="string"?i.id:s.join("-");if(Ee(i.index!==!0||!i.children,"Cannot specify children on an index route"),Ee(!r[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),sE(i)){let u=ct({},i,t(i),{id:l});return r[l]=u,u}else{let u=ct({},i,t(i),{id:l,children:void 0});return r[l]=u,i.children&&(u.children=Ad(i.children,t,s,r)),u}})}function Po(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?dr(t):t,i=as(r.pathname||"/",n);if(i==null)return null;let o=V1(e);lE(o);let s=null;for(let l=0;s==null&&l{let u={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};u.relativePath.startsWith("/")&&(Ee(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let c=kr([r,u.relativePath]),f=n.concat(u);o.children&&o.children.length>0&&(Ee(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),V1(o.children,t,f,c)),!(o.path==null&&!o.index)&&t.push({path:c,score:mE(c,o.index),routesMeta:f})};return e.forEach((o,s)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))i(o,s);else for(let u of W1(o.path))i(o,s,u)}),t}function W1(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=W1(r.join("/")),l=[];return l.push(...s.map(u=>u===""?o:[o,u].join("/"))),i&&l.push(...s),l.map(u=>e.startsWith("/")&&u===""?"/":u)}function lE(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:gE(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const uE=/^:\w+$/,cE=3,fE=2,dE=1,pE=10,hE=-2,ov=e=>e==="*";function mE(e,t){let n=e.split("/"),r=n.length;return n.some(ov)&&(r+=hE),t&&(r+=fE),n.filter(i=>!ov(i)).reduce((i,o)=>i+(uE.test(o)?cE:o===""?dE:pE),r)}function gE(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function vE(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let s=0;s{let{paramName:p,isOptional:y}=f;if(p==="*"){let x=l[h]||"";s=o.slice(0,o.length-x.length).replace(/(.)\/+$/,"$1")}const w=l[h];return y&&!w?c[p]=void 0:c[p]=_E(w||"",p),c},{}),pathname:o,pathnameBase:s,pattern:e}}function wE(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),si(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:(\w+)(\?)?/g,(s,l,u)=>(r.push({paramName:l,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function xE(e){try{return decodeURI(e)}catch(t){return si(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function _E(e,t){try{return decodeURIComponent(e)}catch(n){return si(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function as(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function bE(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?dr(e):e;return{pathname:n?n.startsWith("/")?n:SE(n,t):t,search:EE(r),hash:CE(i)}}function SE(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Cf(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function K1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function th(e,t){let n=K1(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function nh(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=dr(e):(i=ct({},e),Ee(!i.pathname||!i.pathname.includes("?"),Cf("?","pathname","search",i)),Ee(!i.pathname||!i.pathname.includes("#"),Cf("#","pathname","hash",i)),Ee(!i.search||!i.search.includes("#"),Cf("#","search","hash",i)));let o=e===""||i.pathname==="",s=o?"/":i.pathname,l;if(s==null)l=n;else{let h=t.length-1;if(!r&&s.startsWith("..")){let p=s.split("/");for(;p[0]==="..";)p.shift(),h-=1;i.pathname=p.join("/")}l=h>=0?t[h]:"/"}let u=bE(i,l),c=s&&s!=="/"&&s.endsWith("/"),f=(o||s===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||f)&&(u.pathname+="/"),u}const kr=e=>e.join("/").replace(/\/\/+/g,"/"),kE=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),EE=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,CE=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class rh{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function G1(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Q1=["post","put","patch","delete"],OE=new Set(Q1),LE=["get",...Q1],TE=new Set(LE),PE=new Set([301,302,303,307,308]),jE=new Set([307,308]),Of={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},NE={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ns={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Y1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,RE=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),q1="remix-router-transitions";function AE(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;Ee(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let N=e.detectErrorBoundary;i=$=>({hasErrorBoundary:N($)})}else i=RE;let o={},s=Ad(e.routes,i,void 0,o),l,u=e.basename||"/",c=ct({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},e.future),f=null,h=new Set,p=null,y=null,w=null,x=e.hydrationData!=null,b=Po(s,e.history.location,u),v=null;if(b==null){let N=Cn(404,{pathname:e.history.location.pathname}),{matches:$,route:B}=pv(s);b=$,v={[B.id]:N}}let m,k=b.some(N=>N.route.lazy),O=b.some(N=>N.route.loader);if(k)m=!1;else if(!O)m=!0;else if(c.v7_partialHydration){let N=e.hydrationData?e.hydrationData.loaderData:null,$=e.hydrationData?e.hydrationData.errors:null;m=b.every(B=>B.route.loader&&B.route.loader.hydrate!==!0&&(N&&N[B.route.id]!==void 0||$&&$[B.route.id]!==void 0))}else m=e.hydrationData!=null;let L,_={historyAction:e.history.action,location:e.history.location,matches:b,initialized:m,navigation:Of,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||v,fetchers:new Map,blockers:new Map},T=pt.Pop,R=!1,M,z=!1,F=new Map,I=null,W=!1,V=!1,J=[],ie=[],q=new Map,U=0,Y=-1,A=new Map,se=new Set,ve=new Map,Re=new Map,ae=new Set,ye=new Map,ue=new Map,_e=!1;function G(){if(f=e.history.listen(N=>{let{action:$,location:B,delta:X}=N;if(_e){_e=!1;return}si(ue.size===0||X!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let ee=Ja({currentLocation:_.location,nextLocation:B,historyAction:$});if(ee&&X!=null){_e=!0,e.history.go(X*-1),no(ee,{state:"blocked",location:B,proceed(){no(ee,{state:"proceeding",proceed:void 0,reset:void 0,location:B}),e.history.go(X)},reset(){let pe=new Map(_.blockers);pe.set(ee,Ns),Oe({blockers:pe})}});return}return ze($,B)}),n){WE(t,F);let N=()=>KE(t,F);t.addEventListener("pagehide",N),I=()=>t.removeEventListener("pagehide",N)}return _.initialized||ze(pt.Pop,_.location,{initialHydration:!0}),L}function Ve(){f&&f(),I&&I(),h.clear(),M&&M.abort(),_.fetchers.forEach((N,$)=>an($)),_.blockers.forEach((N,$)=>Xa($))}function gt(N){return h.add(N),()=>h.delete(N)}function Oe(N,$){$===void 0&&($={}),_=ct({},_,N);let B=[],X=[];c.v7_fetcherPersist&&_.fetchers.forEach((ee,pe)=>{ee.state==="idle"&&(ae.has(pe)?X.push(pe):B.push(pe))}),[...h].forEach(ee=>ee(_,{deletedFetchers:X,unstable_viewTransitionOpts:$.viewTransitionOpts,unstable_flushSync:$.flushSync===!0})),c.v7_fetcherPersist&&(B.forEach(ee=>_.fetchers.delete(ee)),X.forEach(ee=>an(ee)))}function _t(N,$,B){var X,ee;let{flushSync:pe}=B===void 0?{}:B,fe=_.actionData!=null&&_.navigation.formMethod!=null&&Wn(_.navigation.formMethod)&&_.navigation.state==="loading"&&((X=N.state)==null?void 0:X._isRedirect)!==!0,le;$.actionData?Object.keys($.actionData).length>0?le=$.actionData:le=null:fe?le=_.actionData:le=null;let oe=$.loaderData?dv(_.loaderData,$.loaderData,$.matches||[],$.errors):_.loaderData,Le=_.blockers;Le.size>0&&(Le=new Map(Le),Le.forEach((De,ot)=>Le.set(ot,Ns)));let yt=R===!0||_.navigation.formMethod!=null&&Wn(_.navigation.formMethod)&&((ee=N.state)==null?void 0:ee._isRedirect)!==!0;l&&(s=l,l=void 0),W||T===pt.Pop||(T===pt.Push?e.history.push(N,N.state):T===pt.Replace&&e.history.replace(N,N.state));let he;if(T===pt.Pop){let De=F.get(_.location.pathname);De&&De.has(N.pathname)?he={currentLocation:_.location,nextLocation:N}:F.has(N.pathname)&&(he={currentLocation:N,nextLocation:_.location})}else if(z){let De=F.get(_.location.pathname);De?De.add(N.pathname):(De=new Set([N.pathname]),F.set(_.location.pathname,De)),he={currentLocation:_.location,nextLocation:N}}Oe(ct({},$,{actionData:le,loaderData:oe,historyAction:T,location:N,initialized:!0,navigation:Of,revalidation:"idle",restoreScrollPosition:gs(N,$.matches||_.matches),preventScrollReset:yt,blockers:Le}),{viewTransitionOpts:he,flushSync:pe===!0}),T=pt.Pop,R=!1,z=!1,W=!1,V=!1,J=[],ie=[]}async function Pe(N,$){if(typeof N=="number"){e.history.go(N);return}let B=$d(_.location,_.matches,u,c.v7_prependBasename,N,c.v7_relativeSplatPath,$==null?void 0:$.fromRouteId,$==null?void 0:$.relative),{path:X,submission:ee,error:pe}=sv(c.v7_normalizeFormMethod,!1,B,$),fe=_.location,le=Oa(_.location,X,$&&$.state);le=ct({},le,e.history.encodeLocation(le));let oe=$&&$.replace!=null?$.replace:void 0,Le=pt.Push;oe===!0?Le=pt.Replace:oe===!1||ee!=null&&Wn(ee.formMethod)&&ee.formAction===_.location.pathname+_.location.search&&(Le=pt.Replace);let yt=$&&"preventScrollReset"in $?$.preventScrollReset===!0:void 0,he=($&&$.unstable_flushSync)===!0,De=Ja({currentLocation:fe,nextLocation:le,historyAction:Le});if(De){no(De,{state:"blocked",location:le,proceed(){no(De,{state:"proceeding",proceed:void 0,reset:void 0,location:le}),Pe(N,$)},reset(){let ot=new Map(_.blockers);ot.set(De,Ns),Oe({blockers:ot})}});return}return await ze(Le,le,{submission:ee,pendingError:pe,preventScrollReset:yt,replace:$&&$.replace,enableViewTransition:$&&$.unstable_viewTransition,flushSync:he})}function je(){if(Nr(),Oe({revalidation:"loading"}),_.navigation.state!=="submitting"){if(_.navigation.state==="idle"){ze(_.historyAction,_.location,{startUninterruptedRevalidation:!0});return}ze(T||_.historyAction,_.navigation.location,{overrideNavigation:_.navigation})}}async function ze(N,$,B){M&&M.abort(),M=null,T=N,W=(B&&B.startUninterruptedRevalidation)===!0,ro(_.location,_.matches),R=(B&&B.preventScrollReset)===!0,z=(B&&B.enableViewTransition)===!0;let X=l||s,ee=B&&B.overrideNavigation,pe=Po(X,$,u),fe=(B&&B.flushSync)===!0;if(!pe){let ot=Cn(404,{pathname:$.pathname}),{matches:Qt,route:st}=pv(X);hs(),_t($,{matches:Qt,loaderData:{},errors:{[st.id]:ot}},{flushSync:fe});return}if(_.initialized&&!V&&zE(_.location,$)&&!(B&&B.submission&&Wn(B.submission.formMethod))){_t($,{matches:pe},{flushSync:fe});return}M=new AbortController;let le=As(e.history,$,M.signal,B&&B.submission),oe,Le;if(B&&B.pendingError)Le={[ra(pe).route.id]:B.pendingError};else if(B&&B.submission&&Wn(B.submission.formMethod)){let ot=await vt(le,$,B.submission,pe,{replace:B.replace,flushSync:fe});if(ot.shortCircuited)return;oe=ot.pendingActionData,Le=ot.pendingActionError,ee=Lf($,B.submission),fe=!1,le=new Request(le.url,{signal:le.signal})}let{shortCircuited:yt,loaderData:he,errors:De}=await hr(le,$,pe,ee,B&&B.submission,B&&B.fetcherSubmission,B&&B.replace,B&&B.initialHydration===!0,fe,oe,Le);yt||(M=null,_t($,ct({matches:pe},oe?{actionData:oe}:{},{loaderData:he,errors:De})))}async function vt(N,$,B,X,ee){ee===void 0&&(ee={}),Nr();let pe=HE($,B);Oe({navigation:pe},{flushSync:ee.flushSync===!0});let fe,le=Id(X,$);if(!le.route.action&&!le.route.lazy)fe={type:lt.error,error:Cn(405,{method:N.method,pathname:$.pathname,routeId:le.route.id})};else if(fe=await Rs("action",N,le,X,o,i,u,c.v7_relativeSplatPath),N.signal.aborted)return{shortCircuited:!0};if($i(fe)){let oe;return ee&&ee.replace!=null?oe=ee.replace:oe=fe.location===_.location.pathname+_.location.search,await wn(_,fe,{submission:B,replace:oe}),{shortCircuited:!0}}if(jo(fe)){let oe=ra(X,le.route.id);return(ee&&ee.replace)!==!0&&(T=pt.Push),{pendingActionData:{},pendingActionError:{[oe.route.id]:fe.error}}}if(Ai(fe))throw Cn(400,{type:"defer-action"});return{pendingActionData:{[le.route.id]:fe.data}}}async function hr(N,$,B,X,ee,pe,fe,le,oe,Le,yt){let he=X||Lf($,ee),De=ee||pe||gv(he),ot=l||s,[Qt,st]=av(e.history,_,B,De,$,c.v7_partialHydration&&le===!0,V,J,ie,ae,ve,se,ot,u,Le,yt);if(hs(Ae=>!(B&&B.some(Ge=>Ge.route.id===Ae))||Qt&&Qt.some(Ge=>Ge.route.id===Ae)),Y=++U,Qt.length===0&&st.length===0){let Ae=qa();return _t($,ct({matches:B,loaderData:{},errors:yt||null},Le?{actionData:Le}:{},Ae?{fetchers:new Map(_.fetchers)}:{}),{flushSync:oe}),{shortCircuited:!0}}if(!W&&(!c.v7_partialHydration||!le)){st.forEach(Ge=>{let Yt=_.fetchers.get(Ge.key),zn=$s(void 0,Yt?Yt.data:void 0);_.fetchers.set(Ge.key,zn)});let Ae=Le||_.actionData;Oe(ct({navigation:he},Ae?Object.keys(Ae).length===0?{actionData:null}:{actionData:Ae}:{},st.length>0?{fetchers:new Map(_.fetchers)}:{}),{flushSync:oe})}st.forEach(Ae=>{q.has(Ae.key)&&zt(Ae.key),Ae.controller&&q.set(Ae.key,Ae.controller)});let Ar=()=>st.forEach(Ae=>zt(Ae.key));M&&M.signal.addEventListener("abort",Ar);let{results:vs,loaderResults:ln,fetcherResults:et}=await pi(_.matches,B,Qt,st,N);if(N.signal.aborted)return{shortCircuited:!0};M&&M.signal.removeEventListener("abort",Ar),st.forEach(Ae=>q.delete(Ae.key));let ft=hv(vs);if(ft){if(ft.idx>=Qt.length){let Ae=st[ft.idx-Qt.length].key;se.add(Ae)}return await wn(_,ft.result,{replace:fe}),{shortCircuited:!0}}let{loaderData:jt,errors:bt}=fv(_,B,Qt,ln,yt,st,et,ye);ye.forEach((Ae,Ge)=>{Ae.subscribe(Yt=>{(Yt||Ae.done)&&ye.delete(Ge)})});let $r=qa(),un=to(Y),xn=$r||un||st.length>0;return ct({loaderData:jt,errors:bt},xn?{fetchers:new Map(_.fetchers)}:{})}function ds(N,$,B,X){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");q.has(N)&&zt(N);let ee=(X&&X.unstable_flushSync)===!0,pe=l||s,fe=$d(_.location,_.matches,u,c.v7_prependBasename,B,c.v7_relativeSplatPath,$,X==null?void 0:X.relative),le=Po(pe,fe,u);if(!le){Pt(N,$,Cn(404,{pathname:fe}),{flushSync:ee});return}let{path:oe,submission:Le,error:yt}=sv(c.v7_normalizeFormMethod,!0,fe,X);if(yt){Pt(N,$,yt,{flushSync:ee});return}let he=Id(le,oe);if(R=(X&&X.preventScrollReset)===!0,Le&&Wn(Le.formMethod)){ps(N,$,oe,he,le,ee,Le);return}ve.set(N,{routeId:$,path:oe}),In(N,$,oe,he,le,ee,Le)}async function ps(N,$,B,X,ee,pe,fe){if(Nr(),ve.delete(N),!X.route.action&&!X.route.lazy){let Ge=Cn(405,{method:fe.formMethod,pathname:B,routeId:$});Pt(N,$,Ge,{flushSync:pe});return}let le=_.fetchers.get(N);Tt(N,VE(fe,le),{flushSync:pe});let oe=new AbortController,Le=As(e.history,B,oe.signal,fe);q.set(N,oe);let yt=U,he=await Rs("action",Le,X,ee,o,i,u,c.v7_relativeSplatPath);if(Le.signal.aborted){q.get(N)===oe&&q.delete(N);return}if(c.v7_fetcherPersist&&ae.has(N)){if($i(he)||jo(he)){Tt(N,Fr(void 0));return}}else{if($i(he))if(q.delete(N),Y>yt){Tt(N,Fr(void 0));return}else return se.add(N),Tt(N,$s(fe)),wn(_,he,{fetcherSubmission:fe});if(jo(he)){Pt(N,$,he.error);return}}if(Ai(he))throw Cn(400,{type:"defer-action"});let De=_.navigation.location||_.location,ot=As(e.history,De,oe.signal),Qt=l||s,st=_.navigation.state!=="idle"?Po(Qt,_.navigation.location,u):_.matches;Ee(st,"Didn't find any matches after fetcher action");let Ar=++U;A.set(N,Ar);let vs=$s(fe,he.data);_.fetchers.set(N,vs);let[ln,et]=av(e.history,_,st,fe,De,!1,V,J,ie,ae,ve,se,Qt,u,{[X.route.id]:he.data},void 0);et.filter(Ge=>Ge.key!==N).forEach(Ge=>{let Yt=Ge.key,zn=_.fetchers.get(Yt),el=$s(void 0,zn?zn.data:void 0);_.fetchers.set(Yt,el),q.has(Yt)&&zt(Yt),Ge.controller&&q.set(Yt,Ge.controller)}),Oe({fetchers:new Map(_.fetchers)});let ft=()=>et.forEach(Ge=>zt(Ge.key));oe.signal.addEventListener("abort",ft);let{results:jt,loaderResults:bt,fetcherResults:$r}=await pi(_.matches,st,ln,et,ot);if(oe.signal.aborted)return;oe.signal.removeEventListener("abort",ft),A.delete(N),q.delete(N),et.forEach(Ge=>q.delete(Ge.key));let un=hv(jt);if(un){if(un.idx>=ln.length){let Ge=et[un.idx-ln.length].key;se.add(Ge)}return wn(_,un.result)}let{loaderData:xn,errors:Ae}=fv(_,_.matches,ln,bt,void 0,et,$r,ye);if(_.fetchers.has(N)){let Ge=Fr(he.data);_.fetchers.set(N,Ge)}to(Ar),_.navigation.state==="loading"&&Ar>Y?(Ee(T,"Expected pending action"),M&&M.abort(),_t(_.navigation.location,{matches:st,loaderData:xn,errors:Ae,fetchers:new Map(_.fetchers)})):(Oe({errors:Ae,loaderData:dv(_.loaderData,xn,st,Ae),fetchers:new Map(_.fetchers)}),V=!1)}async function In(N,$,B,X,ee,pe,fe){let le=_.fetchers.get(N);Tt(N,$s(fe,le?le.data:void 0),{flushSync:pe});let oe=new AbortController,Le=As(e.history,B,oe.signal);q.set(N,oe);let yt=U,he=await Rs("loader",Le,X,ee,o,i,u,c.v7_relativeSplatPath);if(Ai(he)&&(he=await Z1(he,Le.signal,!0)||he),q.get(N)===oe&&q.delete(N),!Le.signal.aborted){if(ae.has(N)){Tt(N,Fr(void 0));return}if($i(he))if(Y>yt){Tt(N,Fr(void 0));return}else{se.add(N),await wn(_,he);return}if(jo(he)){Pt(N,$,he.error);return}Ee(!Ai(he),"Unhandled fetcher deferred data"),Tt(N,Fr(he.data))}}async function wn(N,$,B){let{submission:X,fetcherSubmission:ee,replace:pe}=B===void 0?{}:B;$.revalidate&&(V=!0);let fe=Oa(N.location,$.location,{_isRedirect:!0});if(Ee(fe,"Expected a location on the redirect navigation"),n){let De=!1;if($.reloadDocument)De=!0;else if(Y1.test($.location)){const ot=e.history.createURL($.location);De=ot.origin!==t.location.origin||as(ot.pathname,u)==null}if(De){pe?t.location.replace($.location):t.location.assign($.location);return}}M=null;let le=pe===!0?pt.Replace:pt.Push,{formMethod:oe,formAction:Le,formEncType:yt}=N.navigation;!X&&!ee&&oe&&Le&&yt&&(X=gv(N.navigation));let he=X||ee;if(jE.has($.status)&&he&&Wn(he.formMethod))await ze(le,fe,{submission:ct({},he,{formAction:$.location}),preventScrollReset:R});else{let De=Lf(fe,X);await ze(le,fe,{overrideNavigation:De,fetcherSubmission:ee,preventScrollReset:R})}}async function pi(N,$,B,X,ee){let pe=await Promise.all([...B.map(oe=>Rs("loader",ee,oe,$,o,i,u,c.v7_relativeSplatPath)),...X.map(oe=>oe.matches&&oe.match&&oe.controller?Rs("loader",As(e.history,oe.path,oe.controller.signal),oe.match,oe.matches,o,i,u,c.v7_relativeSplatPath):{type:lt.error,error:Cn(404,{pathname:oe.path})})]),fe=pe.slice(0,B.length),le=pe.slice(B.length);return await Promise.all([mv(N,B,fe,fe.map(()=>ee.signal),!1,_.loaderData),mv(N,X.map(oe=>oe.match),le,X.map(oe=>oe.controller?oe.controller.signal:null),!0)]),{results:pe,loaderResults:fe,fetcherResults:le}}function Nr(){V=!0,J.push(...hs()),ve.forEach((N,$)=>{q.has($)&&(ie.push($),zt($))})}function Tt(N,$,B){B===void 0&&(B={}),_.fetchers.set(N,$),Oe({fetchers:new Map(_.fetchers)},{flushSync:(B&&B.flushSync)===!0})}function Pt(N,$,B,X){X===void 0&&(X={});let ee=ra(_.matches,$);an(N),Oe({errors:{[ee.route.id]:B},fetchers:new Map(_.fetchers)},{flushSync:(X&&X.flushSync)===!0})}function Rr(N){return c.v7_fetcherPersist&&(Re.set(N,(Re.get(N)||0)+1),ae.has(N)&&ae.delete(N)),_.fetchers.get(N)||NE}function an(N){let $=_.fetchers.get(N);q.has(N)&&!($&&$.state==="loading"&&A.has(N))&&zt(N),ve.delete(N),A.delete(N),se.delete(N),ae.delete(N),_.fetchers.delete(N)}function Mn(N){if(c.v7_fetcherPersist){let $=(Re.get(N)||0)-1;$<=0?(Re.delete(N),ae.add(N)):Re.set(N,$)}else an(N);Oe({fetchers:new Map(_.fetchers)})}function zt(N){let $=q.get(N);Ee($,"Expected fetch controller: "+N),$.abort(),q.delete(N)}function hi(N){for(let $ of N){let B=Rr($),X=Fr(B.data);_.fetchers.set($,X)}}function qa(){let N=[],$=!1;for(let B of se){let X=_.fetchers.get(B);Ee(X,"Expected fetcher: "+B),X.state==="loading"&&(se.delete(B),N.push(B),$=!0)}return hi(N),$}function to(N){let $=[];for(let[B,X]of A)if(X0}function bc(N,$){let B=_.blockers.get(N)||Ns;return ue.get(N)!==$&&ue.set(N,$),B}function Xa(N){_.blockers.delete(N),ue.delete(N)}function no(N,$){let B=_.blockers.get(N)||Ns;Ee(B.state==="unblocked"&&$.state==="blocked"||B.state==="blocked"&&$.state==="blocked"||B.state==="blocked"&&$.state==="proceeding"||B.state==="blocked"&&$.state==="unblocked"||B.state==="proceeding"&&$.state==="unblocked","Invalid blocker state transition: "+B.state+" -> "+$.state);let X=new Map(_.blockers);X.set(N,$),Oe({blockers:X})}function Ja(N){let{currentLocation:$,nextLocation:B,historyAction:X}=N;if(ue.size===0)return;ue.size>1&&si(!1,"A router only supports one blocker at a time");let ee=Array.from(ue.entries()),[pe,fe]=ee[ee.length-1],le=_.blockers.get(pe);if(!(le&&le.state==="proceeding")&&fe({currentLocation:$,nextLocation:B,historyAction:X}))return pe}function hs(N){let $=[];return ye.forEach((B,X)=>{(!N||N(X))&&(B.cancel(),$.push(X),ye.delete(X))}),$}function Sc(N,$,B){if(p=N,w=$,y=B||null,!x&&_.navigation===Of){x=!0;let X=gs(_.location,_.matches);X!=null&&Oe({restoreScrollPosition:X})}return()=>{p=null,w=null,y=null}}function ms(N,$){return y&&y(N,$.map(X=>aE(X,_.loaderData)))||N.key}function ro(N,$){if(p&&w){let B=ms(N,$);p[B]=w()}}function gs(N,$){if(p){let B=ms(N,$),X=p[B];if(typeof X=="number")return X}return null}function Za(N){o={},l=Ad(N,i,void 0,o)}return L={get basename(){return u},get future(){return c},get state(){return _},get routes(){return s},get window(){return t},initialize:G,subscribe:gt,enableScrollRestoration:Sc,navigate:Pe,fetch:ds,revalidate:je,createHref:N=>e.history.createHref(N),encodeLocation:N=>e.history.encodeLocation(N),getFetcher:Rr,deleteFetcher:Mn,dispose:Ve,getBlocker:bc,deleteBlocker:Xa,_internalFetchControllers:q,_internalActiveDeferreds:ye,_internalSetRoutes:Za},L}function $E(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function $d(e,t,n,r,i,o,s,l){let u,c;if(s){u=[];for(let h of t)if(u.push(h),h.route.id===s){c=h;break}}else u=t,c=t[t.length-1];let f=nh(i||".",th(u,o),as(e.pathname,n)||e.pathname,l==="path");return i==null&&(f.search=e.search,f.hash=e.hash),(i==null||i===""||i===".")&&c&&c.route.index&&!ih(f.search)&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(f.pathname=f.pathname==="/"?n:kr([n,f.pathname])),Qi(f)}function sv(e,t,n,r){if(!r||!$E(r))return{path:n};if(r.formMethod&&!UE(r.formMethod))return{path:n,error:Cn(405,{method:r.formMethod})};let i=()=>({path:n,error:Cn(400,{type:"invalid-body"})}),o=r.formMethod||"get",s=e?o.toUpperCase():o.toLowerCase(),l=J1(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Wn(s))return i();let p=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((y,w)=>{let[x,b]=w;return""+y+x+"="+b+` +`},""):String(r.body);return{path:n,submission:{formMethod:s,formAction:l,formEncType:r.formEncType,formData:void 0,json:void 0,text:p}}}else if(r.formEncType==="application/json"){if(!Wn(s))return i();try{let p=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:s,formAction:l,formEncType:r.formEncType,formData:void 0,json:p,text:void 0}}}catch{return i()}}}Ee(typeof FormData=="function","FormData is not available in this environment");let u,c;if(r.formData)u=Dd(r.formData),c=r.formData;else if(r.body instanceof FormData)u=Dd(r.body),c=r.body;else if(r.body instanceof URLSearchParams)u=r.body,c=cv(u);else if(r.body==null)u=new URLSearchParams,c=new FormData;else try{u=new URLSearchParams(r.body),c=cv(u)}catch{return i()}let f={formMethod:s,formAction:l,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:c,json:void 0,text:void 0};if(Wn(f.formMethod))return{path:n,submission:f};let h=dr(n);return t&&h.search&&ih(h.search)&&u.append("index",""),h.search="?"+u,{path:Qi(h),submission:f}}function DE(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function av(e,t,n,r,i,o,s,l,u,c,f,h,p,y,w,x){let b=x?Object.values(x)[0]:w?Object.values(w)[0]:void 0,v=e.createURL(t.location),m=e.createURL(i),k=x?Object.keys(x)[0]:void 0,L=DE(n,k).filter((T,R)=>{let{route:M}=T;if(M.lazy)return!0;if(M.loader==null)return!1;if(o)return M.loader.hydrate?!0:t.loaderData[M.id]===void 0&&(!t.errors||t.errors[M.id]===void 0);if(IE(t.loaderData,t.matches[R],T)||l.some(I=>I===T.route.id))return!0;let z=t.matches[R],F=T;return lv(T,ct({currentUrl:v,currentParams:z.params,nextUrl:m,nextParams:F.params},r,{actionResult:b,defaultShouldRevalidate:s||v.pathname+v.search===m.pathname+m.search||v.search!==m.search||X1(z,F)}))}),_=[];return f.forEach((T,R)=>{if(o||!n.some(W=>W.route.id===T.routeId)||c.has(R))return;let M=Po(p,T.path,y);if(!M){_.push({key:R,routeId:T.routeId,path:T.path,matches:null,match:null,controller:null});return}let z=t.fetchers.get(R),F=Id(M,T.path),I=!1;h.has(R)?I=!1:u.includes(R)?I=!0:z&&z.state!=="idle"&&z.data===void 0?I=s:I=lv(F,ct({currentUrl:v,currentParams:t.matches[t.matches.length-1].params,nextUrl:m,nextParams:n[n.length-1].params},r,{actionResult:b,defaultShouldRevalidate:s})),I&&_.push({key:R,routeId:T.routeId,path:T.path,matches:M,match:F,controller:new AbortController})}),[L,_]}function IE(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function X1(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function lv(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function uv(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];Ee(i,"No route found in manifest");let o={};for(let s in r){let u=i[s]!==void 0&&s!=="hasErrorBoundary";si(!u,'Route "'+i.id+'" has a static property "'+s+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+s+'" will be ignored.')),!u&&!oE.has(s)&&(o[s]=r[s])}Object.assign(i,o),Object.assign(i,ct({},t(i),{lazy:void 0}))}async function Rs(e,t,n,r,i,o,s,l,u){u===void 0&&(u={});let c,f,h,p=x=>{let b,v=new Promise((m,k)=>b=k);return h=()=>b(),t.signal.addEventListener("abort",h),Promise.race([x({request:t,params:n.params,context:u.requestContext}),v])};try{let x=n.route[e];if(n.route.lazy)if(x){let b,v=await Promise.all([p(x).catch(m=>{b=m}),uv(n.route,o,i)]);if(b)throw b;f=v[0]}else if(await uv(n.route,o,i),x=n.route[e],x)f=await p(x);else if(e==="action"){let b=new URL(t.url),v=b.pathname+b.search;throw Cn(405,{method:t.method,pathname:v,routeId:n.route.id})}else return{type:lt.data,data:void 0};else if(x)f=await p(x);else{let b=new URL(t.url),v=b.pathname+b.search;throw Cn(404,{pathname:v})}Ee(f!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(x){c=lt.error,f=x}finally{h&&t.signal.removeEventListener("abort",h)}if(BE(f)){let x=f.status;if(PE.has(x)){let v=f.headers.get("Location");if(Ee(v,"Redirects returned/thrown from loaders/actions must have a Location header"),!Y1.test(v))v=$d(new URL(t.url),r.slice(0,r.indexOf(n)+1),s,!0,v,l);else if(!u.isStaticRequest){let m=new URL(t.url),k=v.startsWith("//")?new URL(m.protocol+v):new URL(v),O=as(k.pathname,s)!=null;k.origin===m.origin&&O&&(v=k.pathname+k.search+k.hash)}if(u.isStaticRequest)throw f.headers.set("Location",v),f;return{type:lt.redirect,status:x,location:v,revalidate:f.headers.get("X-Remix-Revalidate")!==null,reloadDocument:f.headers.get("X-Remix-Reload-Document")!==null}}if(u.isRouteRequest)throw{type:c===lt.error?lt.error:lt.data,response:f};let b;try{let v=f.headers.get("Content-Type");v&&/\bapplication\/json\b/.test(v)?b=await f.json():b=await f.text()}catch(v){return{type:lt.error,error:v}}return c===lt.error?{type:c,error:new rh(x,f.statusText,b),headers:f.headers}:{type:lt.data,data:b,statusCode:f.status,headers:f.headers}}if(c===lt.error)return{type:c,error:f};if(FE(f)){var y,w;return{type:lt.deferred,deferredData:f,statusCode:(y=f.init)==null?void 0:y.status,headers:((w=f.init)==null?void 0:w.headers)&&new Headers(f.init.headers)}}return{type:lt.data,data:f}}function As(e,t,n,r){let i=e.createURL(J1(t)).toString(),o={signal:n};if(r&&Wn(r.formMethod)){let{formMethod:s,formEncType:l}=r;o.method=s.toUpperCase(),l==="application/json"?(o.headers=new Headers({"Content-Type":l}),o.body=JSON.stringify(r.json)):l==="text/plain"?o.body=r.text:l==="application/x-www-form-urlencoded"&&r.formData?o.body=Dd(r.formData):o.body=r.formData}return new Request(i,o)}function Dd(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function cv(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function ME(e,t,n,r,i){let o={},s=null,l,u=!1,c={};return n.forEach((f,h)=>{let p=t[h].route.id;if(Ee(!$i(f),"Cannot handle redirect results in processLoaderData"),jo(f)){let y=ra(e,p),w=f.error;r&&(w=Object.values(r)[0],r=void 0),s=s||{},s[y.route.id]==null&&(s[y.route.id]=w),o[p]=void 0,u||(u=!0,l=G1(f.error)?f.error.status:500),f.headers&&(c[p]=f.headers)}else Ai(f)?(i.set(p,f.deferredData),o[p]=f.deferredData.data):o[p]=f.data,f.statusCode!=null&&f.statusCode!==200&&!u&&(l=f.statusCode),f.headers&&(c[p]=f.headers)}),r&&(s=r,o[Object.keys(r)[0]]=void 0),{loaderData:o,errors:s,statusCode:l||200,loaderHeaders:c}}function fv(e,t,n,r,i,o,s,l){let{loaderData:u,errors:c}=ME(t,n,r,i,l);for(let f=0;fr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function pv(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Cn(e,t){let{pathname:n,routeId:r,method:i,type:o}=t===void 0?{}:t,s="Unknown Server Error",l="Unknown @remix-run/router error";return e===400?(s="Bad Request",i&&n&&r?l="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":o==="defer-action"?l="defer() is not supported in actions":o==="invalid-body"&&(l="Unable to encode submission body")):e===403?(s="Forbidden",l='Route "'+r+'" does not match URL "'+n+'"'):e===404?(s="Not Found",l='No route matches URL "'+n+'"'):e===405&&(s="Method Not Allowed",i&&n&&r?l="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(l='Invalid request method "'+i.toUpperCase()+'"')),new rh(e||500,s,new Error(l),!0)}function hv(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if($i(n))return{result:n,idx:t}}}function J1(e){let t=typeof e=="string"?dr(e):e;return Qi(ct({},t,{hash:""}))}function zE(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Ai(e){return e.type===lt.deferred}function jo(e){return e.type===lt.error}function $i(e){return(e&&e.type)===lt.redirect}function FE(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function BE(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function UE(e){return TE.has(e.toLowerCase())}function Wn(e){return OE.has(e.toLowerCase())}async function mv(e,t,n,r,i,o){for(let s=0;sh.route.id===u.route.id),f=c!=null&&!X1(c,u)&&(o&&o[u.route.id])!==void 0;if(Ai(l)&&(i||f)){let h=r[s];Ee(h,"Expected an AbortSignal for revalidating fetcher deferred result"),await Z1(l,h,i).then(p=>{p&&(n[s]=p||n[s])})}}}async function Z1(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:lt.data,data:e.deferredData.unwrappedData}}catch(i){return{type:lt.error,error:i}}return{type:lt.data,data:e.deferredData.data}}}function ih(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Id(e,t){let n=typeof t=="string"?dr(t).search:t.search;if(e[e.length-1].route.index&&ih(n||""))return e[e.length-1];let r=K1(e);return r[r.length-1]}function gv(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:o,json:s}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0};if(s!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:s,text:void 0}}}function Lf(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function HE(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function $s(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function VE(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Fr(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function WE(e,t){try{let n=e.sessionStorage.getItem(q1);if(n){let r=JSON.parse(n);for(let[i,o]of Object.entries(r||{}))o&&Array.isArray(o)&&t.set(i,new Set(o||[]))}}catch{}}function KE(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem(q1,JSON.stringify(n))}catch(r){si(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** + * React Router v6.21.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function La(){return La=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),E.useCallback(function(c,f){if(f===void 0&&(f={}),!l.current)return;if(typeof c=="number"){r.go(c);return}let h=nh(c,JSON.parse(s),o,f.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:kr([t,h.pathname])),(f.replace?r.replace:r.push)(h,f.state,f)},[t,r,s,o,e])}function YE(){let{matches:e}=E.useContext(fi),t=e[e.length-1];return t?t.params:{}}function rw(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=E.useContext(eo),{matches:i}=E.useContext(fi),{pathname:o}=Ua(),s=JSON.stringify(th(i,r.v7_relativeSplatPath));return E.useMemo(()=>nh(e,JSON.parse(s),o,n==="path"),[e,s,o,n])}function qE(e,t){return iw(e,t)}function iw(e,t,n,r){Ba()||Ee(!1);let{navigator:i}=E.useContext(eo),{matches:o}=E.useContext(fi),s=o[o.length-1],l=s?s.params:{};s&&s.pathname;let u=s?s.pathnameBase:"/";s&&s.route;let c=Ua(),f;if(t){var h;let b=typeof t=="string"?dr(t):t;u==="/"||(h=b.pathname)!=null&&h.startsWith(u)||Ee(!1),f=b}else f=c;let p=f.pathname||"/",y=u==="/"?p:p.slice(u.length)||"/",w=Po(e,{pathname:y}),x=t2(w&&w.map(b=>Object.assign({},b,{params:Object.assign({},l,b.params),pathname:kr([u,i.encodeLocation?i.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?u:kr([u,i.encodeLocation?i.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),o,n,r);return t&&x?E.createElement(ac.Provider,{value:{location:La({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:pt.Pop}},x):x}function XE(){let e=o2(),t=G1(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},o=null;return E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},t),n?E.createElement("pre",{style:i},n):null,o)}const JE=E.createElement(XE,null);class ZE extends E.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?E.createElement(fi.Provider,{value:this.props.routeContext},E.createElement(tw.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function e2(e){let{routeContext:t,match:n,children:r}=e,i=E.useContext(sc);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),E.createElement(fi.Provider,{value:t},r)}function t2(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let s=e,l=(i=n)==null?void 0:i.errors;if(l!=null){let f=s.findIndex(h=>h.route.id&&(l==null?void 0:l[h.route.id]));f>=0||Ee(!1),s=s.slice(0,Math.min(s.length,f+1))}let u=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?s=s.slice(0,c+1):s=[s[0]];break}}}return s.reduceRight((f,h,p)=>{let y,w=!1,x=null,b=null;n&&(y=l&&h.route.id?l[h.route.id]:void 0,x=h.route.errorElement||JE,u&&(c<0&&p===0?(a2("route-fallback",!1),w=!0,b=null):c===p&&(w=!0,b=h.route.hydrateFallbackElement||null)));let v=t.concat(s.slice(0,p+1)),m=()=>{let k;return y?k=x:w?k=b:h.route.Component?k=E.createElement(h.route.Component,null):h.route.element?k=h.route.element:k=f,E.createElement(e2,{match:h,routeContext:{outlet:f,matches:v,isDataRoute:n!=null},children:k})};return n&&(h.route.ErrorBoundary||h.route.errorElement||p===0)?E.createElement(ZE,{location:n.location,revalidation:n.revalidation,component:x,error:y,children:m(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):m()},null)}var ow=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ow||{}),ju=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(ju||{});function n2(e){let t=E.useContext(sc);return t||Ee(!1),t}function r2(e){let t=E.useContext(ew);return t||Ee(!1),t}function i2(e){let t=E.useContext(fi);return t||Ee(!1),t}function sw(e){let t=i2(),n=t.matches[t.matches.length-1];return n.route.id||Ee(!1),n.route.id}function o2(){var e;let t=E.useContext(tw),n=r2(ju.UseRouteError),r=sw(ju.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function s2(){let{router:e}=n2(ow.UseNavigateStable),t=sw(ju.UseNavigateStable),n=E.useRef(!1);return nw(()=>{n.current=!0}),E.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,La({fromRouteId:t},o)))},[e,t])}const vv={};function a2(e,t,n){!t&&!vv[e]&&(vv[e]=!0)}function vo(e){Ee(!1)}function l2(e){let{basename:t="/",children:n=null,location:r,navigationType:i=pt.Pop,navigator:o,static:s=!1,future:l}=e;Ba()&&Ee(!1);let u=t.replace(/^\/*/,"/"),c=E.useMemo(()=>({basename:u,navigator:o,static:s,future:La({v7_relativeSplatPath:!1},l)}),[u,l,o,s]);typeof r=="string"&&(r=dr(r));let{pathname:f="/",search:h="",hash:p="",state:y=null,key:w="default"}=r,x=E.useMemo(()=>{let b=as(f,u);return b==null?null:{location:{pathname:b,search:h,hash:p,state:y,key:w},navigationType:i}},[u,f,h,p,y,w,i]);return x==null?null:E.createElement(eo.Provider,{value:c},E.createElement(ac.Provider,{children:n,value:x}))}function u2(e){let{children:t,location:n}=e;return qE(Md(t),n)}new Promise(()=>{});function Md(e,t){t===void 0&&(t=[]);let n=[];return E.Children.forEach(e,(r,i)=>{if(!E.isValidElement(r))return;let o=[...t,i];if(r.type===E.Fragment){n.push.apply(n,Md(r.props.children,o));return}r.type!==vo&&Ee(!1),!r.props.index||!r.props.children||Ee(!1);let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Md(r.props.children,o)),n.push(s)}),n}function c2(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:E.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:E.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:E.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + * React Router DOM v6.21.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Ta(){return Ta=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function d2(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function p2(e,t){return e.button===0&&(!t||t==="_self")&&!d2(e)}const h2=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];function m2(e,t){return AE({basename:t==null?void 0:t.basename,future:Ta({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:nE({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||g2(),routes:e,mapRouteProperties:c2,window:t==null?void 0:t.window}).initialize()}function g2(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Ta({},t,{errors:v2(t.errors)})),t}function v2(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type==="RouteErrorResponse")n[r]=new rh(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let o=window[i.__subType];if(typeof o=="function")try{let s=new o(i.message);s.stack="",n[r]=s}catch{}}if(n[r]==null){let o=new Error(i.message);o.stack="",n[r]=o}}else n[r]=i;return n}const y2=E.createContext({isTransitioning:!1}),w2=E.createContext(new Map),x2="startTransition",yv=Wb[x2],_2="flushSync",wv=tE[_2];function b2(e){yv?yv(e):e()}function Ds(e){wv?wv(e):e()}class S2{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function k2(e){let{fallbackElement:t,router:n,future:r}=e,[i,o]=E.useState(n.state),[s,l]=E.useState(),[u,c]=E.useState({isTransitioning:!1}),[f,h]=E.useState(),[p,y]=E.useState(),[w,x]=E.useState(),b=E.useRef(new Map),{v7_startTransition:v}=r||{},m=E.useCallback(T=>{v?b2(T):T()},[v]),k=E.useCallback((T,R)=>{let{deletedFetchers:M,unstable_flushSync:z,unstable_viewTransitionOpts:F}=R;M.forEach(W=>b.current.delete(W)),T.fetchers.forEach((W,V)=>{W.data!==void 0&&b.current.set(V,W.data)});let I=n.window==null||typeof n.window.document.startViewTransition!="function";if(!F||I){z?Ds(()=>o(T)):m(()=>o(T));return}if(z){Ds(()=>{p&&(f&&f.resolve(),p.skipTransition()),c({isTransitioning:!0,flushSync:!0,currentLocation:F.currentLocation,nextLocation:F.nextLocation})});let W=n.window.document.startViewTransition(()=>{Ds(()=>o(T))});W.finished.finally(()=>{Ds(()=>{h(void 0),y(void 0),l(void 0),c({isTransitioning:!1})})}),Ds(()=>y(W));return}p?(f&&f.resolve(),p.skipTransition(),x({state:T,currentLocation:F.currentLocation,nextLocation:F.nextLocation})):(l(T),c({isTransitioning:!0,flushSync:!1,currentLocation:F.currentLocation,nextLocation:F.nextLocation}))},[n.window,p,f,b,m]);E.useLayoutEffect(()=>n.subscribe(k),[n,k]),E.useEffect(()=>{u.isTransitioning&&!u.flushSync&&h(new S2)},[u]),E.useEffect(()=>{if(f&&s&&n.window){let T=s,R=f.promise,M=n.window.document.startViewTransition(async()=>{m(()=>o(T)),await R});M.finished.finally(()=>{h(void 0),y(void 0),l(void 0),c({isTransitioning:!1})}),y(M)}},[m,s,f,n.window]),E.useEffect(()=>{f&&s&&i.location.key===s.location.key&&f.resolve()},[f,p,i.location,s]),E.useEffect(()=>{!u.isTransitioning&&w&&(l(w.state),c({isTransitioning:!0,flushSync:!1,currentLocation:w.currentLocation,nextLocation:w.nextLocation}),x(void 0))},[u.isTransitioning,w]),E.useEffect(()=>{},[]);let O=E.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:T=>n.navigate(T),push:(T,R,M)=>n.navigate(T,{state:R,preventScrollReset:M==null?void 0:M.preventScrollReset}),replace:(T,R,M)=>n.navigate(T,{replace:!0,state:R,preventScrollReset:M==null?void 0:M.preventScrollReset})}),[n]),L=n.basename||"/",_=E.useMemo(()=>({router:n,navigator:O,static:!1,basename:L}),[n,O,L]);return E.createElement(E.Fragment,null,E.createElement(sc.Provider,{value:_},E.createElement(ew.Provider,{value:i},E.createElement(w2.Provider,{value:b.current},E.createElement(y2.Provider,{value:u},E.createElement(l2,{basename:L,location:i.location,navigationType:i.historyAction,navigator:O,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},i.initialized||n.future.v7_partialHydration?E.createElement(E2,{routes:n.routes,future:n.future,state:i}):t))))),null)}function E2(e){let{routes:t,future:n,state:r}=e;return iw(t,void 0,r,n)}const C2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",O2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Nu=E.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:s,state:l,target:u,to:c,preventScrollReset:f,unstable_viewTransition:h}=t,p=f2(t,h2),{basename:y}=E.useContext(eo),w,x=!1;if(typeof c=="string"&&O2.test(c)&&(w=c,C2))try{let k=new URL(window.location.href),O=c.startsWith("//")?new URL(k.protocol+c):new URL(c),L=as(O.pathname,y);O.origin===k.origin&&L!=null?c=L+O.search+O.hash:x=!0}catch{}let b=GE(c,{relative:i}),v=L2(c,{replace:s,state:l,target:u,preventScrollReset:f,relative:i,unstable_viewTransition:h});function m(k){r&&r(k),k.defaultPrevented||v(k)}return E.createElement("a",Ta({},p,{href:w||b,onClick:x||o?r:m,ref:n,target:u}))});var xv;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(xv||(xv={}));var _v;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(_v||(_v={}));function L2(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:s,unstable_viewTransition:l}=t===void 0?{}:t,u=pr(),c=Ua(),f=rw(e,{relative:s});return E.useCallback(h=>{if(p2(h,n)){h.preventDefault();let p=r!==void 0?r:Qi(c)===Qi(f);u(e,{replace:p,state:i,preventScrollReset:o,relative:s,unstable_viewTransition:l})}},[c,u,f,r,i,n,e,o,s,l])}var aw={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(P0,function(){return function(n){function r(o){if(i[o])return i[o].exports;var s=i[o]={exports:{},id:o,loaded:!1};return n[o].call(s.exports,s,s.exports,r),s.loaded=!0,s.exports}var i={};return r.m=n,r.c=i,r.p="dist/",r(0)}([function(n,r,i){function o(V){return V&&V.__esModule?V:{default:V}}var s=Object.assign||function(V){for(var J=1;J0&&arguments[0]!==void 0&&arguments[0];if(V&&(T=!0),T)return _=(0,k.default)(_,R),(0,v.default)(_,R.once),_},z=function(){_=(0,L.default)(),M()},F=function(){_.forEach(function(V,J){V.node.removeAttribute("data-aos"),V.node.removeAttribute("data-aos-easing"),V.node.removeAttribute("data-aos-duration"),V.node.removeAttribute("data-aos-delay")})},I=function(V){return V===!0||V==="mobile"&&x.default.mobile()||V==="phone"&&x.default.phone()||V==="tablet"&&x.default.tablet()||typeof V=="function"&&V()===!0},W=function(V){R=s(R,V),_=(0,L.default)();var J=document.all&&!window.atob;return I(R.disable)||J?F():(R.disableMutationObserver||y.default.isSupported()||(console.info(` + aos: MutationObserver is not supported on this browser, + code mutations observing has been disabled. + You may have to call "refreshHard()" by yourself. + `),R.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",R.easing),document.querySelector("body").setAttribute("data-aos-duration",R.duration),document.querySelector("body").setAttribute("data-aos-delay",R.delay),R.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?M(!0):R.startEvent==="load"?window.addEventListener(R.startEvent,function(){M(!0)}):document.addEventListener(R.startEvent,function(){M(!0)}),window.addEventListener("resize",(0,h.default)(M,R.debounceDelay,!0)),window.addEventListener("orientationchange",(0,h.default)(M,R.debounceDelay,!0)),window.addEventListener("scroll",(0,c.default)(function(){(0,v.default)(_,R.once)},R.throttleDelay)),R.disableMutationObserver||y.default.ready("[data-aos]",z),_)};n.exports={init:W,refresh:M,refreshHard:z}},function(n,r){},,,,,function(n,r){(function(i){function o(I,W,V){function J(je){var ze=ae,vt=ye;return ae=ye=void 0,gt=je,_e=I.apply(vt,ze)}function ie(je){return gt=je,G=setTimeout(Y,W),Oe?J(je):_e}function q(je){var ze=je-Ve,vt=je-gt,hr=W-ze;return _t?z(hr,ue-vt):hr}function U(je){var ze=je-Ve,vt=je-gt;return Ve===void 0||ze>=W||ze<0||_t&&vt>=ue}function Y(){var je=F();return U(je)?A(je):void(G=setTimeout(Y,q(je)))}function A(je){return G=void 0,Pe&&ae?J(je):(ae=ye=void 0,_e)}function se(){G!==void 0&&clearTimeout(G),gt=0,ae=Ve=ye=G=void 0}function ve(){return G===void 0?_e:A(F())}function Re(){var je=F(),ze=U(je);if(ae=arguments,ye=this,Ve=je,ze){if(G===void 0)return ie(Ve);if(_t)return G=setTimeout(Y,W),J(Ve)}return G===void 0&&(G=setTimeout(Y,W)),_e}var ae,ye,ue,_e,G,Ve,gt=0,Oe=!1,_t=!1,Pe=!0;if(typeof I!="function")throw new TypeError(p);return W=f(W)||0,l(V)&&(Oe=!!V.leading,_t="maxWait"in V,ue=_t?M(f(V.maxWait)||0,W):ue,Pe="trailing"in V?!!V.trailing:Pe),Re.cancel=se,Re.flush=ve,Re}function s(I,W,V){var J=!0,ie=!0;if(typeof I!="function")throw new TypeError(p);return l(V)&&(J="leading"in V?!!V.leading:J,ie="trailing"in V?!!V.trailing:ie),o(I,W,{leading:J,maxWait:W,trailing:ie})}function l(I){var W=typeof I>"u"?"undefined":h(I);return!!I&&(W=="object"||W=="function")}function u(I){return!!I&&(typeof I>"u"?"undefined":h(I))=="object"}function c(I){return(typeof I>"u"?"undefined":h(I))=="symbol"||u(I)&&R.call(I)==w}function f(I){if(typeof I=="number")return I;if(c(I))return y;if(l(I)){var W=typeof I.valueOf=="function"?I.valueOf():I;I=l(W)?W+"":W}if(typeof I!="string")return I===0?I:+I;I=I.replace(x,"");var V=v.test(I);return V||m.test(I)?k(I.slice(2),V?2:8):b.test(I)?y:+I}var h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(I){return typeof I}:function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},p="Expected a function",y=NaN,w="[object Symbol]",x=/^\s+|\s+$/g,b=/^[-+]0x[0-9a-f]+$/i,v=/^0b[01]+$/i,m=/^0o[0-7]+$/i,k=parseInt,O=(typeof i>"u"?"undefined":h(i))=="object"&&i&&i.Object===Object&&i,L=(typeof self>"u"?"undefined":h(self))=="object"&&self&&self.Object===Object&&self,_=O||L||Function("return this")(),T=Object.prototype,R=T.toString,M=Math.max,z=Math.min,F=function(){return _.Date.now()};n.exports=s}).call(r,function(){return this}())},function(n,r){(function(i){function o(F,I,W){function V(Pe){var je=Re,ze=ae;return Re=ae=void 0,Ve=Pe,ue=F.apply(ze,je)}function J(Pe){return Ve=Pe,_e=setTimeout(U,I),gt?V(Pe):ue}function ie(Pe){var je=Pe-G,ze=Pe-Ve,vt=I-je;return Oe?M(vt,ye-ze):vt}function q(Pe){var je=Pe-G,ze=Pe-Ve;return G===void 0||je>=I||je<0||Oe&&ze>=ye}function U(){var Pe=z();return q(Pe)?Y(Pe):void(_e=setTimeout(U,ie(Pe)))}function Y(Pe){return _e=void 0,_t&&Re?V(Pe):(Re=ae=void 0,ue)}function A(){_e!==void 0&&clearTimeout(_e),Ve=0,Re=G=ae=_e=void 0}function se(){return _e===void 0?ue:Y(z())}function ve(){var Pe=z(),je=q(Pe);if(Re=arguments,ae=this,G=Pe,je){if(_e===void 0)return J(G);if(Oe)return _e=setTimeout(U,I),V(G)}return _e===void 0&&(_e=setTimeout(U,I)),ue}var Re,ae,ye,ue,_e,G,Ve=0,gt=!1,Oe=!1,_t=!0;if(typeof F!="function")throw new TypeError(h);return I=c(I)||0,s(W)&&(gt=!!W.leading,Oe="maxWait"in W,ye=Oe?R(c(W.maxWait)||0,I):ye,_t="trailing"in W?!!W.trailing:_t),ve.cancel=A,ve.flush=se,ve}function s(F){var I=typeof F>"u"?"undefined":f(F);return!!F&&(I=="object"||I=="function")}function l(F){return!!F&&(typeof F>"u"?"undefined":f(F))=="object"}function u(F){return(typeof F>"u"?"undefined":f(F))=="symbol"||l(F)&&T.call(F)==y}function c(F){if(typeof F=="number")return F;if(u(F))return p;if(s(F)){var I=typeof F.valueOf=="function"?F.valueOf():F;F=s(I)?I+"":I}if(typeof F!="string")return F===0?F:+F;F=F.replace(w,"");var W=b.test(F);return W||v.test(F)?m(F.slice(2),W?2:8):x.test(F)?p:+F}var f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},h="Expected a function",p=NaN,y="[object Symbol]",w=/^\s+|\s+$/g,x=/^[-+]0x[0-9a-f]+$/i,b=/^0b[01]+$/i,v=/^0o[0-7]+$/i,m=parseInt,k=(typeof i>"u"?"undefined":f(i))=="object"&&i&&i.Object===Object&&i,O=(typeof self>"u"?"undefined":f(self))=="object"&&self&&self.Object===Object&&self,L=k||O||Function("return this")(),_=Object.prototype,T=_.toString,R=Math.max,M=Math.min,z=function(){return L.Date.now()};n.exports=o}).call(r,function(){return this}())},function(n,r){function i(f){var h=void 0,p=void 0;for(h=0;hs.position?s.node.classList.add("aos-animate"):typeof c<"u"&&(c==="false"||!u&&c!=="true")&&s.node.classList.remove("aos-animate")},o=function(s,l){var u=window.pageYOffset,c=window.innerHeight;s.forEach(function(f,h){i(f,c+u,l)})};r.default=o},function(n,r,i){function o(c){return c&&c.__esModule?c:{default:c}}Object.defineProperty(r,"__esModule",{value:!0});var s=i(12),l=o(s),u=function(c,f){return c.forEach(function(h,p){h.node.classList.add("aos-init"),h.position=(0,l.default)(h.node,f.offset)}),c};r.default=u},function(n,r,i){function o(c){return c&&c.__esModule?c:{default:c}}Object.defineProperty(r,"__esModule",{value:!0});var s=i(13),l=o(s),u=function(c,f){var h=0,p=0,y=window.innerHeight,w={offset:c.getAttribute("data-aos-offset"),anchor:c.getAttribute("data-aos-anchor"),anchorPlacement:c.getAttribute("data-aos-anchor-placement")};switch(w.offset&&!isNaN(w.offset)&&(p=parseInt(w.offset)),w.anchor&&document.querySelectorAll(w.anchor)&&(c=document.querySelectorAll(w.anchor)[0]),h=(0,l.default)(c).top,w.anchorPlacement){case"top-bottom":break;case"center-bottom":h+=c.offsetHeight/2;break;case"bottom-bottom":h+=c.offsetHeight;break;case"top-center":h+=y/2;break;case"bottom-center":h+=y/2+c.offsetHeight;break;case"center-center":h+=y/2+c.offsetHeight/2;break;case"top-top":h+=y;break;case"bottom-top":h+=c.offsetHeight+y;break;case"center-top":h+=c.offsetHeight/2+y}return w.anchorPlacement||w.offset||isNaN(f)||(p=f),h+p};r.default=u},function(n,r){Object.defineProperty(r,"__esModule",{value:!0});var i=function(o){for(var s=0,l=0;o&&!isNaN(o.offsetLeft)&&!isNaN(o.offsetTop);)s+=o.offsetLeft-(o.tagName!="BODY"?o.scrollLeft:0),l+=o.offsetTop-(o.tagName!="BODY"?o.scrollTop:0),o=o.offsetParent;return{top:l,left:s}};r.default=i},function(n,r){Object.defineProperty(r,"__esModule",{value:!0});var i=function(o){return o=o||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(o,function(s){return{node:s}})};r.default=i}])})})(aw);var T2=aw.exports;const bv=Xi(T2);var P2={exports:{}};/*! + * Bootstrap v5.3.2 (https://getbootstrap.com/) + * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */(function(e,t){(function(n,r){e.exports=r()})(P0,function(){const n=new Map,r={set(g,a,d){n.has(g)||n.set(g,new Map);const S=n.get(g);S.has(a)||S.size===0?S.set(a,d):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(S.keys())[0]}.`)},get:(g,a)=>n.has(g)&&n.get(g).get(a)||null,remove(g,a){if(!n.has(g))return;const d=n.get(g);d.delete(a),d.size===0&&n.delete(g)}},i="transitionend",o=g=>(g&&window.CSS&&window.CSS.escape&&(g=g.replace(/#([^\s"#']+)/g,(a,d)=>`#${CSS.escape(d)}`)),g),s=g=>{g.dispatchEvent(new Event(i))},l=g=>!(!g||typeof g!="object")&&(g.jquery!==void 0&&(g=g[0]),g.nodeType!==void 0),u=g=>l(g)?g.jquery?g[0]:g:typeof g=="string"&&g.length>0?document.querySelector(o(g)):null,c=g=>{if(!l(g)||g.getClientRects().length===0)return!1;const a=getComputedStyle(g).getPropertyValue("visibility")==="visible",d=g.closest("details:not([open])");if(!d)return a;if(d!==g){const S=g.closest("summary");if(S&&S.parentNode!==d||S===null)return!1}return a},f=g=>!g||g.nodeType!==Node.ELEMENT_NODE||!!g.classList.contains("disabled")||(g.disabled!==void 0?g.disabled:g.hasAttribute("disabled")&&g.getAttribute("disabled")!=="false"),h=g=>{if(!document.documentElement.attachShadow)return null;if(typeof g.getRootNode=="function"){const a=g.getRootNode();return a instanceof ShadowRoot?a:null}return g instanceof ShadowRoot?g:g.parentNode?h(g.parentNode):null},p=()=>{},y=g=>{g.offsetHeight},w=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,x=[],b=()=>document.documentElement.dir==="rtl",v=g=>{var a;a=()=>{const d=w();if(d){const S=g.NAME,P=d.fn[S];d.fn[S]=g.jQueryInterface,d.fn[S].Constructor=g,d.fn[S].noConflict=()=>(d.fn[S]=P,g.jQueryInterface)}},document.readyState==="loading"?(x.length||document.addEventListener("DOMContentLoaded",()=>{for(const d of x)d()}),x.push(a)):a()},m=(g,a=[],d=g)=>typeof g=="function"?g(...a):d,k=(g,a,d=!0)=>{if(!d)return void m(g);const S=(D=>{if(!D)return 0;let{transitionDuration:H,transitionDelay:Q}=window.getComputedStyle(D);const te=Number.parseFloat(H),re=Number.parseFloat(Q);return te||re?(H=H.split(",")[0],Q=Q.split(",")[0],1e3*(Number.parseFloat(H)+Number.parseFloat(Q))):0})(a)+5;let P=!1;const j=({target:D})=>{D===a&&(P=!0,a.removeEventListener(i,j),m(g))};a.addEventListener(i,j),setTimeout(()=>{P||s(a)},S)},O=(g,a,d,S)=>{const P=g.length;let j=g.indexOf(a);return j===-1?!d&&S?g[P-1]:g[0]:(j+=d?1:-1,S&&(j=(j+P)%P),g[Math.max(0,Math.min(j,P-1))])},L=/[^.]*(?=\..*)\.|.*/,_=/\..*/,T=/::\d+$/,R={};let M=1;const z={mouseenter:"mouseover",mouseleave:"mouseout"},F=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function I(g,a){return a&&`${a}::${M++}`||g.uidEvent||M++}function W(g){const a=I(g);return g.uidEvent=a,R[a]=R[a]||{},R[a]}function V(g,a,d=null){return Object.values(g).find(S=>S.callable===a&&S.delegationSelector===d)}function J(g,a,d){const S=typeof a=="string",P=S?d:a||d;let j=Y(g);return F.has(j)||(j=g),[S,P,j]}function ie(g,a,d,S,P){if(typeof a!="string"||!g)return;let[j,D,H]=J(a,d,S);a in z&&(D=(me=>function(de){if(!de.relatedTarget||de.relatedTarget!==de.delegateTarget&&!de.delegateTarget.contains(de.relatedTarget))return me.call(this,de)})(D));const Q=W(g),te=Q[H]||(Q[H]={}),re=V(te,D,j?d:null);if(re)return void(re.oneOff=re.oneOff&&P);const Z=I(D,a.replace(L,"")),be=j?function(ce,me,de){return function ge(We){const Ye=ce.querySelectorAll(me);for(let{target:Ce}=We;Ce&&Ce!==this;Ce=Ce.parentNode)for(const Me of Ye)if(Me===Ce)return se(We,{delegateTarget:Ce}),ge.oneOff&&A.off(ce,We.type,me,de),de.apply(Ce,[We])}}(g,d,D):function(ce,me){return function de(ge){return se(ge,{delegateTarget:ce}),de.oneOff&&A.off(ce,ge.type,me),me.apply(ce,[ge])}}(g,D);be.delegationSelector=j?d:null,be.callable=D,be.oneOff=P,be.uidEvent=Z,te[Z]=be,g.addEventListener(H,be,j)}function q(g,a,d,S,P){const j=V(a[d],S,P);j&&(g.removeEventListener(d,j,!!P),delete a[d][j.uidEvent])}function U(g,a,d,S){const P=a[d]||{};for(const[j,D]of Object.entries(P))j.includes(S)&&q(g,a,d,D.callable,D.delegationSelector)}function Y(g){return g=g.replace(_,""),z[g]||g}const A={on(g,a,d,S){ie(g,a,d,S,!1)},one(g,a,d,S){ie(g,a,d,S,!0)},off(g,a,d,S){if(typeof a!="string"||!g)return;const[P,j,D]=J(a,d,S),H=D!==a,Q=W(g),te=Q[D]||{},re=a.startsWith(".");if(j===void 0){if(re)for(const Z of Object.keys(Q))U(g,Q,Z,a.slice(1));for(const[Z,be]of Object.entries(te)){const ce=Z.replace(T,"");H&&!a.includes(ce)||q(g,Q,D,be.callable,be.delegationSelector)}}else{if(!Object.keys(te).length)return;q(g,Q,D,j,P?d:null)}},trigger(g,a,d){if(typeof a!="string"||!g)return null;const S=w();let P=null,j=!0,D=!0,H=!1;a!==Y(a)&&S&&(P=S.Event(a,d),S(g).trigger(P),j=!P.isPropagationStopped(),D=!P.isImmediatePropagationStopped(),H=P.isDefaultPrevented());const Q=se(new Event(a,{bubbles:j,cancelable:!0}),d);return H&&Q.preventDefault(),D&&g.dispatchEvent(Q),Q.defaultPrevented&&P&&P.preventDefault(),Q}};function se(g,a={}){for(const[d,S]of Object.entries(a))try{g[d]=S}catch{Object.defineProperty(g,d,{configurable:!0,get:()=>S})}return g}function ve(g){if(g==="true")return!0;if(g==="false")return!1;if(g===Number(g).toString())return Number(g);if(g===""||g==="null")return null;if(typeof g!="string")return g;try{return JSON.parse(decodeURIComponent(g))}catch{return g}}function Re(g){return g.replace(/[A-Z]/g,a=>`-${a.toLowerCase()}`)}const ae={setDataAttribute(g,a,d){g.setAttribute(`data-bs-${Re(a)}`,d)},removeDataAttribute(g,a){g.removeAttribute(`data-bs-${Re(a)}`)},getDataAttributes(g){if(!g)return{};const a={},d=Object.keys(g.dataset).filter(S=>S.startsWith("bs")&&!S.startsWith("bsConfig"));for(const S of d){let P=S.replace(/^bs/,"");P=P.charAt(0).toLowerCase()+P.slice(1,P.length),a[P]=ve(g.dataset[S])}return a},getDataAttribute:(g,a)=>ve(g.getAttribute(`data-bs-${Re(a)}`))};class ye{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(a){return a=this._mergeConfigObj(a),a=this._configAfterMerge(a),this._typeCheckConfig(a),a}_configAfterMerge(a){return a}_mergeConfigObj(a,d){const S=l(d)?ae.getDataAttribute(d,"config"):{};return{...this.constructor.Default,...typeof S=="object"?S:{},...l(d)?ae.getDataAttributes(d):{},...typeof a=="object"?a:{}}}_typeCheckConfig(a,d=this.constructor.DefaultType){for(const[P,j]of Object.entries(d)){const D=a[P],H=l(D)?"element":(S=D)==null?`${S}`:Object.prototype.toString.call(S).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(j).test(H))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${P}" provided type "${H}" but expected type "${j}".`)}var S}}class ue extends ye{constructor(a,d){super(),(a=u(a))&&(this._element=a,this._config=this._getConfig(d),r.set(this._element,this.constructor.DATA_KEY,this))}dispose(){r.remove(this._element,this.constructor.DATA_KEY),A.off(this._element,this.constructor.EVENT_KEY);for(const a of Object.getOwnPropertyNames(this))this[a]=null}_queueCallback(a,d,S=!0){k(a,d,S)}_getConfig(a){return a=this._mergeConfigObj(a,this._element),a=this._configAfterMerge(a),this._typeCheckConfig(a),a}static getInstance(a){return r.get(u(a),this.DATA_KEY)}static getOrCreateInstance(a,d={}){return this.getInstance(a)||new this(a,typeof d=="object"?d:null)}static get VERSION(){return"5.3.2"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(a){return`${a}${this.EVENT_KEY}`}}const _e=g=>{let a=g.getAttribute("data-bs-target");if(!a||a==="#"){let d=g.getAttribute("href");if(!d||!d.includes("#")&&!d.startsWith("."))return null;d.includes("#")&&!d.startsWith("#")&&(d=`#${d.split("#")[1]}`),a=d&&d!=="#"?o(d.trim()):null}return a},G={find:(g,a=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(a,g)),findOne:(g,a=document.documentElement)=>Element.prototype.querySelector.call(a,g),children:(g,a)=>[].concat(...g.children).filter(d=>d.matches(a)),parents(g,a){const d=[];let S=g.parentNode.closest(a);for(;S;)d.push(S),S=S.parentNode.closest(a);return d},prev(g,a){let d=g.previousElementSibling;for(;d;){if(d.matches(a))return[d];d=d.previousElementSibling}return[]},next(g,a){let d=g.nextElementSibling;for(;d;){if(d.matches(a))return[d];d=d.nextElementSibling}return[]},focusableChildren(g){const a=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(d=>`${d}:not([tabindex^="-"])`).join(",");return this.find(a,g).filter(d=>!f(d)&&c(d))},getSelectorFromElement(g){const a=_e(g);return a&&G.findOne(a)?a:null},getElementFromSelector(g){const a=_e(g);return a?G.findOne(a):null},getMultipleElementsFromSelector(g){const a=_e(g);return a?G.find(a):[]}},Ve=(g,a="hide")=>{const d=`click.dismiss${g.EVENT_KEY}`,S=g.NAME;A.on(document,d,`[data-bs-dismiss="${S}"]`,function(P){if(["A","AREA"].includes(this.tagName)&&P.preventDefault(),f(this))return;const j=G.getElementFromSelector(this)||this.closest(`.${S}`);g.getOrCreateInstance(j)[a]()})},gt=".bs.alert",Oe=`close${gt}`,_t=`closed${gt}`;class Pe extends ue{static get NAME(){return"alert"}close(){if(A.trigger(this._element,Oe).defaultPrevented)return;this._element.classList.remove("show");const a=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,a)}_destroyElement(){this._element.remove(),A.trigger(this._element,_t),this.dispose()}static jQueryInterface(a){return this.each(function(){const d=Pe.getOrCreateInstance(this);if(typeof a=="string"){if(d[a]===void 0||a.startsWith("_")||a==="constructor")throw new TypeError(`No method named "${a}"`);d[a](this)}})}}Ve(Pe,"close"),v(Pe);const je='[data-bs-toggle="button"]';class ze extends ue{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(a){return this.each(function(){const d=ze.getOrCreateInstance(this);a==="toggle"&&d[a]()})}}A.on(document,"click.bs.button.data-api",je,g=>{g.preventDefault();const a=g.target.closest(je);ze.getOrCreateInstance(a).toggle()}),v(ze);const vt=".bs.swipe",hr=`touchstart${vt}`,ds=`touchmove${vt}`,ps=`touchend${vt}`,In=`pointerdown${vt}`,wn=`pointerup${vt}`,pi={endCallback:null,leftCallback:null,rightCallback:null},Nr={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Tt extends ye{constructor(a,d){super(),this._element=a,a&&Tt.isSupported()&&(this._config=this._getConfig(d),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return pi}static get DefaultType(){return Nr}static get NAME(){return"swipe"}dispose(){A.off(this._element,vt)}_start(a){this._supportPointerEvents?this._eventIsPointerPenTouch(a)&&(this._deltaX=a.clientX):this._deltaX=a.touches[0].clientX}_end(a){this._eventIsPointerPenTouch(a)&&(this._deltaX=a.clientX-this._deltaX),this._handleSwipe(),m(this._config.endCallback)}_move(a){this._deltaX=a.touches&&a.touches.length>1?0:a.touches[0].clientX-this._deltaX}_handleSwipe(){const a=Math.abs(this._deltaX);if(a<=40)return;const d=a/this._deltaX;this._deltaX=0,d&&m(d>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(A.on(this._element,In,a=>this._start(a)),A.on(this._element,wn,a=>this._end(a)),this._element.classList.add("pointer-event")):(A.on(this._element,hr,a=>this._start(a)),A.on(this._element,ds,a=>this._move(a)),A.on(this._element,ps,a=>this._end(a)))}_eventIsPointerPenTouch(a){return this._supportPointerEvents&&(a.pointerType==="pen"||a.pointerType==="touch")}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Pt=".bs.carousel",Rr=".data-api",an="next",Mn="prev",zt="left",hi="right",qa=`slide${Pt}`,to=`slid${Pt}`,bc=`keydown${Pt}`,Xa=`mouseenter${Pt}`,no=`mouseleave${Pt}`,Ja=`dragstart${Pt}`,hs=`load${Pt}${Rr}`,Sc=`click${Pt}${Rr}`,ms="carousel",ro="active",gs=".active",Za=".carousel-item",N=gs+Za,$={ArrowLeft:hi,ArrowRight:zt},B={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},X={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ee extends ue{constructor(a,d){super(a,d),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=G.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ms&&this.cycle()}static get Default(){return B}static get DefaultType(){return X}static get NAME(){return"carousel"}next(){this._slide(an)}nextWhenVisible(){!document.hidden&&c(this._element)&&this.next()}prev(){this._slide(Mn)}pause(){this._isSliding&&s(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?A.one(this._element,to,()=>this.cycle()):this.cycle())}to(a){const d=this._getItems();if(a>d.length-1||a<0)return;if(this._isSliding)return void A.one(this._element,to,()=>this.to(a));const S=this._getItemIndex(this._getActive());if(S===a)return;const P=a>S?an:Mn;this._slide(P,d[a])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(a){return a.defaultInterval=a.interval,a}_addEventListeners(){this._config.keyboard&&A.on(this._element,bc,a=>this._keydown(a)),this._config.pause==="hover"&&(A.on(this._element,Xa,()=>this.pause()),A.on(this._element,no,()=>this._maybeEnableCycle())),this._config.touch&&Tt.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const d of G.find(".carousel-item img",this._element))A.on(d,Ja,S=>S.preventDefault());const a={leftCallback:()=>this._slide(this._directionToOrder(zt)),rightCallback:()=>this._slide(this._directionToOrder(hi)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new Tt(this._element,a)}_keydown(a){if(/input|textarea/i.test(a.target.tagName))return;const d=$[a.key];d&&(a.preventDefault(),this._slide(this._directionToOrder(d)))}_getItemIndex(a){return this._getItems().indexOf(a)}_setActiveIndicatorElement(a){if(!this._indicatorsElement)return;const d=G.findOne(gs,this._indicatorsElement);d.classList.remove(ro),d.removeAttribute("aria-current");const S=G.findOne(`[data-bs-slide-to="${a}"]`,this._indicatorsElement);S&&(S.classList.add(ro),S.setAttribute("aria-current","true"))}_updateInterval(){const a=this._activeElement||this._getActive();if(!a)return;const d=Number.parseInt(a.getAttribute("data-bs-interval"),10);this._config.interval=d||this._config.defaultInterval}_slide(a,d=null){if(this._isSliding)return;const S=this._getActive(),P=a===an,j=d||O(this._getItems(),S,P,this._config.wrap);if(j===S)return;const D=this._getItemIndex(j),H=Z=>A.trigger(this._element,Z,{relatedTarget:j,direction:this._orderToDirection(a),from:this._getItemIndex(S),to:D});if(H(qa).defaultPrevented||!S||!j)return;const Q=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(D),this._activeElement=j;const te=P?"carousel-item-start":"carousel-item-end",re=P?"carousel-item-next":"carousel-item-prev";j.classList.add(re),y(j),S.classList.add(te),j.classList.add(te),this._queueCallback(()=>{j.classList.remove(te,re),j.classList.add(ro),S.classList.remove(ro,re,te),this._isSliding=!1,H(to)},S,this._isAnimated()),Q&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return G.findOne(N,this._element)}_getItems(){return G.find(Za,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(a){return b()?a===zt?Mn:an:a===zt?an:Mn}_orderToDirection(a){return b()?a===Mn?zt:hi:a===Mn?hi:zt}static jQueryInterface(a){return this.each(function(){const d=ee.getOrCreateInstance(this,a);if(typeof a!="number"){if(typeof a=="string"){if(d[a]===void 0||a.startsWith("_")||a==="constructor")throw new TypeError(`No method named "${a}"`);d[a]()}}else d.to(a)})}}A.on(document,Sc,"[data-bs-slide], [data-bs-slide-to]",function(g){const a=G.getElementFromSelector(this);if(!a||!a.classList.contains(ms))return;g.preventDefault();const d=ee.getOrCreateInstance(a),S=this.getAttribute("data-bs-slide-to");return S?(d.to(S),void d._maybeEnableCycle()):ae.getDataAttribute(this,"slide")==="next"?(d.next(),void d._maybeEnableCycle()):(d.prev(),void d._maybeEnableCycle())}),A.on(window,hs,()=>{const g=G.find('[data-bs-ride="carousel"]');for(const a of g)ee.getOrCreateInstance(a)}),v(ee);const pe=".bs.collapse",fe=`show${pe}`,le=`shown${pe}`,oe=`hide${pe}`,Le=`hidden${pe}`,yt=`click${pe}.data-api`,he="show",De="collapse",ot="collapsing",Qt=`:scope .${De} .${De}`,st='[data-bs-toggle="collapse"]',Ar={parent:null,toggle:!0},vs={parent:"(null|element)",toggle:"boolean"};class ln extends ue{constructor(a,d){super(a,d),this._isTransitioning=!1,this._triggerArray=[];const S=G.find(st);for(const P of S){const j=G.getSelectorFromElement(P),D=G.find(j).filter(H=>H===this._element);j!==null&&D.length&&this._triggerArray.push(P)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ar}static get DefaultType(){return vs}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let a=[];if(this._config.parent&&(a=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(P=>P!==this._element).map(P=>ln.getOrCreateInstance(P,{toggle:!1}))),a.length&&a[0]._isTransitioning||A.trigger(this._element,fe).defaultPrevented)return;for(const P of a)P.hide();const d=this._getDimension();this._element.classList.remove(De),this._element.classList.add(ot),this._element.style[d]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const S=`scroll${d[0].toUpperCase()+d.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ot),this._element.classList.add(De,he),this._element.style[d]="",A.trigger(this._element,le)},this._element,!0),this._element.style[d]=`${this._element[S]}px`}hide(){if(this._isTransitioning||!this._isShown()||A.trigger(this._element,oe).defaultPrevented)return;const a=this._getDimension();this._element.style[a]=`${this._element.getBoundingClientRect()[a]}px`,y(this._element),this._element.classList.add(ot),this._element.classList.remove(De,he);for(const d of this._triggerArray){const S=G.getElementFromSelector(d);S&&!this._isShown(S)&&this._addAriaAndCollapsedClass([d],!1)}this._isTransitioning=!0,this._element.style[a]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ot),this._element.classList.add(De),A.trigger(this._element,Le)},this._element,!0)}_isShown(a=this._element){return a.classList.contains(he)}_configAfterMerge(a){return a.toggle=!!a.toggle,a.parent=u(a.parent),a}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const a=this._getFirstLevelChildren(st);for(const d of a){const S=G.getElementFromSelector(d);S&&this._addAriaAndCollapsedClass([d],this._isShown(S))}}_getFirstLevelChildren(a){const d=G.find(Qt,this._config.parent);return G.find(a,this._config.parent).filter(S=>!d.includes(S))}_addAriaAndCollapsedClass(a,d){if(a.length)for(const S of a)S.classList.toggle("collapsed",!d),S.setAttribute("aria-expanded",d)}static jQueryInterface(a){const d={};return typeof a=="string"&&/show|hide/.test(a)&&(d.toggle=!1),this.each(function(){const S=ln.getOrCreateInstance(this,d);if(typeof a=="string"){if(S[a]===void 0)throw new TypeError(`No method named "${a}"`);S[a]()}})}}A.on(document,yt,st,function(g){(g.target.tagName==="A"||g.delegateTarget&&g.delegateTarget.tagName==="A")&&g.preventDefault();for(const a of G.getMultipleElementsFromSelector(this))ln.getOrCreateInstance(a,{toggle:!1}).toggle()}),v(ln);var et="top",ft="bottom",jt="right",bt="left",$r="auto",un=[et,ft,jt,bt],xn="start",Ae="end",Ge="clippingParents",Yt="viewport",zn="popper",el="reference",kc=un.reduce(function(g,a){return g.concat([a+"-"+xn,a+"-"+Ae])},[]),Ec=[].concat(un,[$r]).reduce(function(g,a){return g.concat([a,a+"-"+xn,a+"-"+Ae])},[]),kh="beforeRead",Eh="read",Ch="afterRead",Oh="beforeMain",Lh="main",Th="afterMain",Ph="beforeWrite",jh="write",Nh="afterWrite",Rh=[kh,Eh,Ch,Oh,Lh,Th,Ph,jh,Nh];function Jn(g){return g?(g.nodeName||"").toLowerCase():null}function cn(g){if(g==null)return window;if(g.toString()!=="[object Window]"){var a=g.ownerDocument;return a&&a.defaultView||window}return g}function mi(g){return g instanceof cn(g).Element||g instanceof Element}function _n(g){return g instanceof cn(g).HTMLElement||g instanceof HTMLElement}function Cc(g){return typeof ShadowRoot<"u"&&(g instanceof cn(g).ShadowRoot||g instanceof ShadowRoot)}const Oc={name:"applyStyles",enabled:!0,phase:"write",fn:function(g){var a=g.state;Object.keys(a.elements).forEach(function(d){var S=a.styles[d]||{},P=a.attributes[d]||{},j=a.elements[d];_n(j)&&Jn(j)&&(Object.assign(j.style,S),Object.keys(P).forEach(function(D){var H=P[D];H===!1?j.removeAttribute(D):j.setAttribute(D,H===!0?"":H)}))})},effect:function(g){var a=g.state,d={popper:{position:a.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(a.elements.popper.style,d.popper),a.styles=d,a.elements.arrow&&Object.assign(a.elements.arrow.style,d.arrow),function(){Object.keys(a.elements).forEach(function(S){var P=a.elements[S],j=a.attributes[S]||{},D=Object.keys(a.styles.hasOwnProperty(S)?a.styles[S]:d[S]).reduce(function(H,Q){return H[Q]="",H},{});_n(P)&&Jn(P)&&(Object.assign(P.style,D),Object.keys(j).forEach(function(H){P.removeAttribute(H)}))})}},requires:["computeStyles"]};function Zn(g){return g.split("-")[0]}var gi=Math.max,tl=Math.min,io=Math.round;function Lc(){var g=navigator.userAgentData;return g!=null&&g.brands&&Array.isArray(g.brands)?g.brands.map(function(a){return a.brand+"/"+a.version}).join(" "):navigator.userAgent}function Ah(){return!/^((?!chrome|android).)*safari/i.test(Lc())}function oo(g,a,d){a===void 0&&(a=!1),d===void 0&&(d=!1);var S=g.getBoundingClientRect(),P=1,j=1;a&&_n(g)&&(P=g.offsetWidth>0&&io(S.width)/g.offsetWidth||1,j=g.offsetHeight>0&&io(S.height)/g.offsetHeight||1);var D=(mi(g)?cn(g):window).visualViewport,H=!Ah()&&d,Q=(S.left+(H&&D?D.offsetLeft:0))/P,te=(S.top+(H&&D?D.offsetTop:0))/j,re=S.width/P,Z=S.height/j;return{width:re,height:Z,top:te,right:Q+re,bottom:te+Z,left:Q,x:Q,y:te}}function Tc(g){var a=oo(g),d=g.offsetWidth,S=g.offsetHeight;return Math.abs(a.width-d)<=1&&(d=a.width),Math.abs(a.height-S)<=1&&(S=a.height),{x:g.offsetLeft,y:g.offsetTop,width:d,height:S}}function $h(g,a){var d=a.getRootNode&&a.getRootNode();if(g.contains(a))return!0;if(d&&Cc(d)){var S=a;do{if(S&&g.isSameNode(S))return!0;S=S.parentNode||S.host}while(S)}return!1}function mr(g){return cn(g).getComputedStyle(g)}function Hx(g){return["table","td","th"].indexOf(Jn(g))>=0}function Dr(g){return((mi(g)?g.ownerDocument:g.document)||window.document).documentElement}function nl(g){return Jn(g)==="html"?g:g.assignedSlot||g.parentNode||(Cc(g)?g.host:null)||Dr(g)}function Dh(g){return _n(g)&&mr(g).position!=="fixed"?g.offsetParent:null}function ys(g){for(var a=cn(g),d=Dh(g);d&&Hx(d)&&mr(d).position==="static";)d=Dh(d);return d&&(Jn(d)==="html"||Jn(d)==="body"&&mr(d).position==="static")?a:d||function(S){var P=/firefox/i.test(Lc());if(/Trident/i.test(Lc())&&_n(S)&&mr(S).position==="fixed")return null;var j=nl(S);for(Cc(j)&&(j=j.host);_n(j)&&["html","body"].indexOf(Jn(j))<0;){var D=mr(j);if(D.transform!=="none"||D.perspective!=="none"||D.contain==="paint"||["transform","perspective"].indexOf(D.willChange)!==-1||P&&D.willChange==="filter"||P&&D.filter&&D.filter!=="none")return j;j=j.parentNode}return null}(g)||a}function Pc(g){return["top","bottom"].indexOf(g)>=0?"x":"y"}function ws(g,a,d){return gi(g,tl(a,d))}function Ih(g){return Object.assign({},{top:0,right:0,bottom:0,left:0},g)}function Mh(g,a){return a.reduce(function(d,S){return d[S]=g,d},{})}const zh={name:"arrow",enabled:!0,phase:"main",fn:function(g){var a,d=g.state,S=g.name,P=g.options,j=d.elements.arrow,D=d.modifiersData.popperOffsets,H=Zn(d.placement),Q=Pc(H),te=[bt,jt].indexOf(H)>=0?"height":"width";if(j&&D){var re=function(Ke,Ue){return Ih(typeof(Ke=typeof Ke=="function"?Ke(Object.assign({},Ue.rects,{placement:Ue.placement})):Ke)!="number"?Ke:Mh(Ke,un))}(P.padding,d),Z=Tc(j),be=Q==="y"?et:bt,ce=Q==="y"?ft:jt,me=d.rects.reference[te]+d.rects.reference[Q]-D[Q]-d.rects.popper[te],de=D[Q]-d.rects.reference[Q],ge=ys(j),We=ge?Q==="y"?ge.clientHeight||0:ge.clientWidth||0:0,Ye=me/2-de/2,Ce=re[be],Me=We-Z[te]-re[ce],Se=We/2-Z[te]/2+Ye,Ne=ws(Ce,Se,Me),Be=Q;d.modifiersData[S]=((a={})[Be]=Ne,a.centerOffset=Ne-Se,a)}},effect:function(g){var a=g.state,d=g.options.element,S=d===void 0?"[data-popper-arrow]":d;S!=null&&(typeof S!="string"||(S=a.elements.popper.querySelector(S)))&&$h(a.elements.popper,S)&&(a.elements.arrow=S)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function so(g){return g.split("-")[1]}var Vx={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Fh(g){var a,d=g.popper,S=g.popperRect,P=g.placement,j=g.variation,D=g.offsets,H=g.position,Q=g.gpuAcceleration,te=g.adaptive,re=g.roundOffsets,Z=g.isFixed,be=D.x,ce=be===void 0?0:be,me=D.y,de=me===void 0?0:me,ge=typeof re=="function"?re({x:ce,y:de}):{x:ce,y:de};ce=ge.x,de=ge.y;var We=D.hasOwnProperty("x"),Ye=D.hasOwnProperty("y"),Ce=bt,Me=et,Se=window;if(te){var Ne=ys(d),Be="clientHeight",Ke="clientWidth";Ne===cn(d)&&mr(Ne=Dr(d)).position!=="static"&&H==="absolute"&&(Be="scrollHeight",Ke="scrollWidth"),(P===et||(P===bt||P===jt)&&j===Ae)&&(Me=ft,de-=(Z&&Ne===Se&&Se.visualViewport?Se.visualViewport.height:Ne[Be])-S.height,de*=Q?1:-1),P!==bt&&(P!==et&&P!==ft||j!==Ae)||(Ce=jt,ce-=(Z&&Ne===Se&&Se.visualViewport?Se.visualViewport.width:Ne[Ke])-S.width,ce*=Q?1:-1)}var Ue,dt=Object.assign({position:H},te&&Vx),fn=re===!0?function(Bn,Ft){var Sn=Bn.x,kn=Bn.y,at=Ft.devicePixelRatio||1;return{x:io(Sn*at)/at||0,y:io(kn*at)/at||0}}({x:ce,y:de},cn(d)):{x:ce,y:de};return ce=fn.x,de=fn.y,Q?Object.assign({},dt,((Ue={})[Me]=Ye?"0":"",Ue[Ce]=We?"0":"",Ue.transform=(Se.devicePixelRatio||1)<=1?"translate("+ce+"px, "+de+"px)":"translate3d("+ce+"px, "+de+"px, 0)",Ue)):Object.assign({},dt,((a={})[Me]=Ye?de+"px":"",a[Ce]=We?ce+"px":"",a.transform="",a))}const jc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(g){var a=g.state,d=g.options,S=d.gpuAcceleration,P=S===void 0||S,j=d.adaptive,D=j===void 0||j,H=d.roundOffsets,Q=H===void 0||H,te={placement:Zn(a.placement),variation:so(a.placement),popper:a.elements.popper,popperRect:a.rects.popper,gpuAcceleration:P,isFixed:a.options.strategy==="fixed"};a.modifiersData.popperOffsets!=null&&(a.styles.popper=Object.assign({},a.styles.popper,Fh(Object.assign({},te,{offsets:a.modifiersData.popperOffsets,position:a.options.strategy,adaptive:D,roundOffsets:Q})))),a.modifiersData.arrow!=null&&(a.styles.arrow=Object.assign({},a.styles.arrow,Fh(Object.assign({},te,{offsets:a.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Q})))),a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-placement":a.placement})},data:{}};var rl={passive:!0};const Nc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(g){var a=g.state,d=g.instance,S=g.options,P=S.scroll,j=P===void 0||P,D=S.resize,H=D===void 0||D,Q=cn(a.elements.popper),te=[].concat(a.scrollParents.reference,a.scrollParents.popper);return j&&te.forEach(function(re){re.addEventListener("scroll",d.update,rl)}),H&&Q.addEventListener("resize",d.update,rl),function(){j&&te.forEach(function(re){re.removeEventListener("scroll",d.update,rl)}),H&&Q.removeEventListener("resize",d.update,rl)}},data:{}};var Wx={left:"right",right:"left",bottom:"top",top:"bottom"};function il(g){return g.replace(/left|right|bottom|top/g,function(a){return Wx[a]})}var Kx={start:"end",end:"start"};function Bh(g){return g.replace(/start|end/g,function(a){return Kx[a]})}function Rc(g){var a=cn(g);return{scrollLeft:a.pageXOffset,scrollTop:a.pageYOffset}}function Ac(g){return oo(Dr(g)).left+Rc(g).scrollLeft}function $c(g){var a=mr(g),d=a.overflow,S=a.overflowX,P=a.overflowY;return/auto|scroll|overlay|hidden/.test(d+P+S)}function Uh(g){return["html","body","#document"].indexOf(Jn(g))>=0?g.ownerDocument.body:_n(g)&&$c(g)?g:Uh(nl(g))}function xs(g,a){var d;a===void 0&&(a=[]);var S=Uh(g),P=S===((d=g.ownerDocument)==null?void 0:d.body),j=cn(S),D=P?[j].concat(j.visualViewport||[],$c(S)?S:[]):S,H=a.concat(D);return P?H:H.concat(xs(nl(D)))}function Dc(g){return Object.assign({},g,{left:g.x,top:g.y,right:g.x+g.width,bottom:g.y+g.height})}function Hh(g,a,d){return a===Yt?Dc(function(S,P){var j=cn(S),D=Dr(S),H=j.visualViewport,Q=D.clientWidth,te=D.clientHeight,re=0,Z=0;if(H){Q=H.width,te=H.height;var be=Ah();(be||!be&&P==="fixed")&&(re=H.offsetLeft,Z=H.offsetTop)}return{width:Q,height:te,x:re+Ac(S),y:Z}}(g,d)):mi(a)?function(S,P){var j=oo(S,!1,P==="fixed");return j.top=j.top+S.clientTop,j.left=j.left+S.clientLeft,j.bottom=j.top+S.clientHeight,j.right=j.left+S.clientWidth,j.width=S.clientWidth,j.height=S.clientHeight,j.x=j.left,j.y=j.top,j}(a,d):Dc(function(S){var P,j=Dr(S),D=Rc(S),H=(P=S.ownerDocument)==null?void 0:P.body,Q=gi(j.scrollWidth,j.clientWidth,H?H.scrollWidth:0,H?H.clientWidth:0),te=gi(j.scrollHeight,j.clientHeight,H?H.scrollHeight:0,H?H.clientHeight:0),re=-D.scrollLeft+Ac(S),Z=-D.scrollTop;return mr(H||j).direction==="rtl"&&(re+=gi(j.clientWidth,H?H.clientWidth:0)-Q),{width:Q,height:te,x:re,y:Z}}(Dr(g)))}function Vh(g){var a,d=g.reference,S=g.element,P=g.placement,j=P?Zn(P):null,D=P?so(P):null,H=d.x+d.width/2-S.width/2,Q=d.y+d.height/2-S.height/2;switch(j){case et:a={x:H,y:d.y-S.height};break;case ft:a={x:H,y:d.y+d.height};break;case jt:a={x:d.x+d.width,y:Q};break;case bt:a={x:d.x-S.width,y:Q};break;default:a={x:d.x,y:d.y}}var te=j?Pc(j):null;if(te!=null){var re=te==="y"?"height":"width";switch(D){case xn:a[te]=a[te]-(d[re]/2-S[re]/2);break;case Ae:a[te]=a[te]+(d[re]/2-S[re]/2)}}return a}function ao(g,a){a===void 0&&(a={});var d=a,S=d.placement,P=S===void 0?g.placement:S,j=d.strategy,D=j===void 0?g.strategy:j,H=d.boundary,Q=H===void 0?Ge:H,te=d.rootBoundary,re=te===void 0?Yt:te,Z=d.elementContext,be=Z===void 0?zn:Z,ce=d.altBoundary,me=ce!==void 0&&ce,de=d.padding,ge=de===void 0?0:de,We=Ih(typeof ge!="number"?ge:Mh(ge,un)),Ye=be===zn?el:zn,Ce=g.rects.popper,Me=g.elements[me?Ye:be],Se=function(Ft,Sn,kn,at){var er=Sn==="clippingParents"?function(Qe){var Bt=xs(nl(Qe)),En=["absolute","fixed"].indexOf(mr(Qe).position)>=0&&_n(Qe)?ys(Qe):Qe;return mi(En)?Bt.filter(function(Mr){return mi(Mr)&&$h(Mr,En)&&Jn(Mr)!=="body"}):[]}(Ft):[].concat(Sn),tr=[].concat(er,[kn]),co=tr[0],Et=tr.reduce(function(Qe,Bt){var En=Hh(Ft,Bt,at);return Qe.top=gi(En.top,Qe.top),Qe.right=tl(En.right,Qe.right),Qe.bottom=tl(En.bottom,Qe.bottom),Qe.left=gi(En.left,Qe.left),Qe},Hh(Ft,co,at));return Et.width=Et.right-Et.left,Et.height=Et.bottom-Et.top,Et.x=Et.left,Et.y=Et.top,Et}(mi(Me)?Me:Me.contextElement||Dr(g.elements.popper),Q,re,D),Ne=oo(g.elements.reference),Be=Vh({reference:Ne,element:Ce,strategy:"absolute",placement:P}),Ke=Dc(Object.assign({},Ce,Be)),Ue=be===zn?Ke:Ne,dt={top:Se.top-Ue.top+We.top,bottom:Ue.bottom-Se.bottom+We.bottom,left:Se.left-Ue.left+We.left,right:Ue.right-Se.right+We.right},fn=g.modifiersData.offset;if(be===zn&&fn){var Bn=fn[P];Object.keys(dt).forEach(function(Ft){var Sn=[jt,ft].indexOf(Ft)>=0?1:-1,kn=[et,ft].indexOf(Ft)>=0?"y":"x";dt[Ft]+=Bn[kn]*Sn})}return dt}function Gx(g,a){a===void 0&&(a={});var d=a,S=d.placement,P=d.boundary,j=d.rootBoundary,D=d.padding,H=d.flipVariations,Q=d.allowedAutoPlacements,te=Q===void 0?Ec:Q,re=so(S),Z=re?H?kc:kc.filter(function(me){return so(me)===re}):un,be=Z.filter(function(me){return te.indexOf(me)>=0});be.length===0&&(be=Z);var ce=be.reduce(function(me,de){return me[de]=ao(g,{placement:de,boundary:P,rootBoundary:j,padding:D})[Zn(de)],me},{});return Object.keys(ce).sort(function(me,de){return ce[me]-ce[de]})}const Wh={name:"flip",enabled:!0,phase:"main",fn:function(g){var a=g.state,d=g.options,S=g.name;if(!a.modifiersData[S]._skip){for(var P=d.mainAxis,j=P===void 0||P,D=d.altAxis,H=D===void 0||D,Q=d.fallbackPlacements,te=d.padding,re=d.boundary,Z=d.rootBoundary,be=d.altBoundary,ce=d.flipVariations,me=ce===void 0||ce,de=d.allowedAutoPlacements,ge=a.options.placement,We=Zn(ge),Ye=Q||(We!==ge&&me?function(Qe){if(Zn(Qe)===$r)return[];var Bt=il(Qe);return[Bh(Qe),Bt,Bh(Bt)]}(ge):[il(ge)]),Ce=[ge].concat(Ye).reduce(function(Qe,Bt){return Qe.concat(Zn(Bt)===$r?Gx(a,{placement:Bt,boundary:re,rootBoundary:Z,padding:te,flipVariations:me,allowedAutoPlacements:de}):Bt)},[]),Me=a.rects.reference,Se=a.rects.popper,Ne=new Map,Be=!0,Ke=Ce[0],Ue=0;Ue=0,Sn=Ft?"width":"height",kn=ao(a,{placement:dt,boundary:re,rootBoundary:Z,altBoundary:be,padding:te}),at=Ft?Bn?jt:bt:Bn?ft:et;Me[Sn]>Se[Sn]&&(at=il(at));var er=il(at),tr=[];if(j&&tr.push(kn[fn]<=0),H&&tr.push(kn[at]<=0,kn[er]<=0),tr.every(function(Qe){return Qe})){Ke=dt,Be=!1;break}Ne.set(dt,tr)}if(Be)for(var co=function(Qe){var Bt=Ce.find(function(En){var Mr=Ne.get(En);if(Mr)return Mr.slice(0,Qe).every(function(pl){return pl})});if(Bt)return Ke=Bt,"break"},Et=me?3:1;Et>0&&co(Et)!=="break";Et--);a.placement!==Ke&&(a.modifiersData[S]._skip=!0,a.placement=Ke,a.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Kh(g,a,d){return d===void 0&&(d={x:0,y:0}),{top:g.top-a.height-d.y,right:g.right-a.width+d.x,bottom:g.bottom-a.height+d.y,left:g.left-a.width-d.x}}function Gh(g){return[et,jt,ft,bt].some(function(a){return g[a]>=0})}const Qh={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(g){var a=g.state,d=g.name,S=a.rects.reference,P=a.rects.popper,j=a.modifiersData.preventOverflow,D=ao(a,{elementContext:"reference"}),H=ao(a,{altBoundary:!0}),Q=Kh(D,S),te=Kh(H,P,j),re=Gh(Q),Z=Gh(te);a.modifiersData[d]={referenceClippingOffsets:Q,popperEscapeOffsets:te,isReferenceHidden:re,hasPopperEscaped:Z},a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-reference-hidden":re,"data-popper-escaped":Z})}},Yh={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(g){var a=g.state,d=g.options,S=g.name,P=d.offset,j=P===void 0?[0,0]:P,D=Ec.reduce(function(re,Z){return re[Z]=function(be,ce,me){var de=Zn(be),ge=[bt,et].indexOf(de)>=0?-1:1,We=typeof me=="function"?me(Object.assign({},ce,{placement:be})):me,Ye=We[0],Ce=We[1];return Ye=Ye||0,Ce=(Ce||0)*ge,[bt,jt].indexOf(de)>=0?{x:Ce,y:Ye}:{x:Ye,y:Ce}}(Z,a.rects,j),re},{}),H=D[a.placement],Q=H.x,te=H.y;a.modifiersData.popperOffsets!=null&&(a.modifiersData.popperOffsets.x+=Q,a.modifiersData.popperOffsets.y+=te),a.modifiersData[S]=D}},Ic={name:"popperOffsets",enabled:!0,phase:"read",fn:function(g){var a=g.state,d=g.name;a.modifiersData[d]=Vh({reference:a.rects.reference,element:a.rects.popper,strategy:"absolute",placement:a.placement})},data:{}},qh={name:"preventOverflow",enabled:!0,phase:"main",fn:function(g){var a=g.state,d=g.options,S=g.name,P=d.mainAxis,j=P===void 0||P,D=d.altAxis,H=D!==void 0&&D,Q=d.boundary,te=d.rootBoundary,re=d.altBoundary,Z=d.padding,be=d.tether,ce=be===void 0||be,me=d.tetherOffset,de=me===void 0?0:me,ge=ao(a,{boundary:Q,rootBoundary:te,padding:Z,altBoundary:re}),We=Zn(a.placement),Ye=so(a.placement),Ce=!Ye,Me=Pc(We),Se=Me==="x"?"y":"x",Ne=a.modifiersData.popperOffsets,Be=a.rects.reference,Ke=a.rects.popper,Ue=typeof de=="function"?de(Object.assign({},a.rects,{placement:a.placement})):de,dt=typeof Ue=="number"?{mainAxis:Ue,altAxis:Ue}:Object.assign({mainAxis:0,altAxis:0},Ue),fn=a.modifiersData.offset?a.modifiersData.offset[a.placement]:null,Bn={x:0,y:0};if(Ne){if(j){var Ft,Sn=Me==="y"?et:bt,kn=Me==="y"?ft:jt,at=Me==="y"?"height":"width",er=Ne[Me],tr=er+ge[Sn],co=er-ge[kn],Et=ce?-Ke[at]/2:0,Qe=Ye===xn?Be[at]:Ke[at],Bt=Ye===xn?-Ke[at]:-Be[at],En=a.elements.arrow,Mr=ce&&En?Tc(En):{width:0,height:0},pl=a.modifiersData["arrow#persistent"]?a.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Dm=pl[Sn],Im=pl[kn],hl=ws(0,Be[at],Mr[at]),bb=Ce?Be[at]/2-Et-hl-Dm-dt.mainAxis:Qe-hl-Dm-dt.mainAxis,Sb=Ce?-Be[at]/2+Et+hl+Im+dt.mainAxis:Bt+hl+Im+dt.mainAxis,qc=a.elements.arrow&&ys(a.elements.arrow),kb=qc?Me==="y"?qc.clientTop||0:qc.clientLeft||0:0,Mm=(Ft=fn==null?void 0:fn[Me])!=null?Ft:0,Eb=er+Sb-Mm,zm=ws(ce?tl(tr,er+bb-Mm-kb):tr,er,ce?gi(co,Eb):co);Ne[Me]=zm,Bn[Me]=zm-er}if(H){var Fm,Cb=Me==="x"?et:bt,Ob=Me==="x"?ft:jt,ki=Ne[Se],ml=Se==="y"?"height":"width",Bm=ki+ge[Cb],Um=ki-ge[Ob],Xc=[et,bt].indexOf(We)!==-1,Hm=(Fm=fn==null?void 0:fn[Se])!=null?Fm:0,Vm=Xc?Bm:ki-Be[ml]-Ke[ml]-Hm+dt.altAxis,Wm=Xc?ki+Be[ml]+Ke[ml]-Hm-dt.altAxis:Um,Km=ce&&Xc?function(Lb,Tb,Jc){var Gm=ws(Lb,Tb,Jc);return Gm>Jc?Jc:Gm}(Vm,ki,Wm):ws(ce?Vm:Bm,ki,ce?Wm:Um);Ne[Se]=Km,Bn[Se]=Km-ki}a.modifiersData[S]=Bn}},requiresIfExists:["offset"]};function Qx(g,a,d){d===void 0&&(d=!1);var S,P,j=_n(a),D=_n(a)&&function(Z){var be=Z.getBoundingClientRect(),ce=io(be.width)/Z.offsetWidth||1,me=io(be.height)/Z.offsetHeight||1;return ce!==1||me!==1}(a),H=Dr(a),Q=oo(g,D,d),te={scrollLeft:0,scrollTop:0},re={x:0,y:0};return(j||!j&&!d)&&((Jn(a)!=="body"||$c(H))&&(te=(S=a)!==cn(S)&&_n(S)?{scrollLeft:(P=S).scrollLeft,scrollTop:P.scrollTop}:Rc(S)),_n(a)?((re=oo(a,!0)).x+=a.clientLeft,re.y+=a.clientTop):H&&(re.x=Ac(H))),{x:Q.left+te.scrollLeft-re.x,y:Q.top+te.scrollTop-re.y,width:Q.width,height:Q.height}}function Yx(g){var a=new Map,d=new Set,S=[];function P(j){d.add(j.name),[].concat(j.requires||[],j.requiresIfExists||[]).forEach(function(D){if(!d.has(D)){var H=a.get(D);H&&P(H)}}),S.push(j)}return g.forEach(function(j){a.set(j.name,j)}),g.forEach(function(j){d.has(j.name)||P(j)}),S}var Xh={placement:"bottom",modifiers:[],strategy:"absolute"};function Jh(){for(var g=arguments.length,a=new Array(g),d=0;dNumber.parseInt(d,10)):typeof a=="function"?d=>a(d,this._element):a}_getPopperConfig(){const a={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(ae.setDataAttribute(this._menu,"popper","static"),a.modifiers=[{name:"applyStyles",enabled:!1}]),{...a,...m(this._config.popperConfig,[a])}}_selectMenuItem({key:a,target:d}){const S=G.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(P=>c(P));S.length&&O(S,d,a===tm,!S.includes(d)).focus()}static jQueryInterface(a){return this.each(function(){const d=Fn.getOrCreateInstance(this,a);if(typeof a=="string"){if(d[a]===void 0)throw new TypeError(`No method named "${a}"`);d[a]()}})}static clearMenus(a){if(a.button===2||a.type==="keyup"&&a.key!=="Tab")return;const d=G.find(i_);for(const S of d){const P=Fn.getInstance(S);if(!P||P._config.autoClose===!1)continue;const j=a.composedPath(),D=j.includes(P._menu);if(j.includes(P._element)||P._config.autoClose==="inside"&&!D||P._config.autoClose==="outside"&&D||P._menu.contains(a.target)&&(a.type==="keyup"&&a.key==="Tab"||/input|select|option|textarea|form/i.test(a.target.tagName)))continue;const H={relatedTarget:P._element};a.type==="click"&&(H.clickEvent=a),P._completeHide(H)}}static dataApiKeydownHandler(a){const d=/input|textarea/i.test(a.target.tagName),S=a.key==="Escape",P=[Jx,tm].includes(a.key);if(!P&&!S||d&&!S)return;a.preventDefault();const j=this.matches(yi)?this:G.prev(this,yi)[0]||G.next(this,yi)[0]||G.findOne(yi,a.delegateTarget.parentNode),D=Fn.getOrCreateInstance(j);if(P)return a.stopPropagation(),D.show(),void D._selectMenuItem(a);D._isShown()&&(a.stopPropagation(),D.hide(),j.focus())}}A.on(document,rm,yi,Fn.dataApiKeydownHandler),A.on(document,rm,sl,Fn.dataApiKeydownHandler),A.on(document,nm,Fn.clearMenus),A.on(document,r_,Fn.clearMenus),A.on(document,nm,yi,function(g){g.preventDefault(),Fn.getOrCreateInstance(this).toggle()}),v(Fn);const im="backdrop",om="show",sm=`mousedown.bs.${im}`,p_={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},h_={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class am extends ye{constructor(a){super(),this._config=this._getConfig(a),this._isAppended=!1,this._element=null}static get Default(){return p_}static get DefaultType(){return h_}static get NAME(){return im}show(a){if(!this._config.isVisible)return void m(a);this._append();const d=this._getElement();this._config.isAnimated&&y(d),d.classList.add(om),this._emulateAnimation(()=>{m(a)})}hide(a){this._config.isVisible?(this._getElement().classList.remove(om),this._emulateAnimation(()=>{this.dispose(),m(a)})):m(a)}dispose(){this._isAppended&&(A.off(this._element,sm),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const a=document.createElement("div");a.className=this._config.className,this._config.isAnimated&&a.classList.add("fade"),this._element=a}return this._element}_configAfterMerge(a){return a.rootElement=u(a.rootElement),a}_append(){if(this._isAppended)return;const a=this._getElement();this._config.rootElement.append(a),A.on(a,sm,()=>{m(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(a){k(a,this._getElement(),this._config.isAnimated)}}const al=".bs.focustrap",m_=`focusin${al}`,g_=`keydown.tab${al}`,lm="backward",v_={autofocus:!0,trapElement:null},y_={autofocus:"boolean",trapElement:"element"};class um extends ye{constructor(a){super(),this._config=this._getConfig(a),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return v_}static get DefaultType(){return y_}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),A.off(document,al),A.on(document,m_,a=>this._handleFocusin(a)),A.on(document,g_,a=>this._handleKeydown(a)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,A.off(document,al))}_handleFocusin(a){const{trapElement:d}=this._config;if(a.target===document||a.target===d||d.contains(a.target))return;const S=G.focusableChildren(d);S.length===0?d.focus():this._lastTabNavDirection===lm?S[S.length-1].focus():S[0].focus()}_handleKeydown(a){a.key==="Tab"&&(this._lastTabNavDirection=a.shiftKey?lm:"forward")}}const cm=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",fm=".sticky-top",ll="padding-right",dm="margin-right";class Fc{constructor(){this._element=document.body}getWidth(){const a=document.documentElement.clientWidth;return Math.abs(window.innerWidth-a)}hide(){const a=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ll,d=>d+a),this._setElementAttributes(cm,ll,d=>d+a),this._setElementAttributes(fm,dm,d=>d-a)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ll),this._resetElementAttributes(cm,ll),this._resetElementAttributes(fm,dm)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(a,d,S){const P=this.getWidth();this._applyManipulationCallback(a,j=>{if(j!==this._element&&window.innerWidth>j.clientWidth+P)return;this._saveInitialAttribute(j,d);const D=window.getComputedStyle(j).getPropertyValue(d);j.style.setProperty(d,`${S(Number.parseFloat(D))}px`)})}_saveInitialAttribute(a,d){const S=a.style.getPropertyValue(d);S&&ae.setDataAttribute(a,d,S)}_resetElementAttributes(a,d){this._applyManipulationCallback(a,S=>{const P=ae.getDataAttribute(S,d);P!==null?(ae.removeDataAttribute(S,d),S.style.setProperty(d,P)):S.style.removeProperty(d)})}_applyManipulationCallback(a,d){if(l(a))d(a);else for(const S of G.find(a,this._element))d(S)}}const bn=".bs.modal",w_=`hide${bn}`,x_=`hidePrevented${bn}`,pm=`hidden${bn}`,hm=`show${bn}`,__=`shown${bn}`,b_=`resize${bn}`,S_=`click.dismiss${bn}`,k_=`mousedown.dismiss${bn}`,E_=`keydown.dismiss${bn}`,C_=`click${bn}.data-api`,mm="modal-open",gm="show",Bc="modal-static",O_={backdrop:!0,focus:!0,keyboard:!0},L_={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class wi extends ue{constructor(a,d){super(a,d),this._dialog=G.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Fc,this._addEventListeners()}static get Default(){return O_}static get DefaultType(){return L_}static get NAME(){return"modal"}toggle(a){return this._isShown?this.hide():this.show(a)}show(a){this._isShown||this._isTransitioning||A.trigger(this._element,hm,{relatedTarget:a}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(mm),this._adjustDialog(),this._backdrop.show(()=>this._showElement(a)))}hide(){this._isShown&&!this._isTransitioning&&(A.trigger(this._element,w_).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(gm),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){A.off(window,bn),A.off(this._dialog,bn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new am({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new um({trapElement:this._element})}_showElement(a){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const d=G.findOne(".modal-body",this._dialog);d&&(d.scrollTop=0),y(this._element),this._element.classList.add(gm),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,A.trigger(this._element,__,{relatedTarget:a})},this._dialog,this._isAnimated())}_addEventListeners(){A.on(this._element,E_,a=>{a.key==="Escape"&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),A.on(window,b_,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),A.on(this._element,k_,a=>{A.one(this._element,S_,d=>{this._element===a.target&&this._element===d.target&&(this._config.backdrop!=="static"?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(mm),this._resetAdjustments(),this._scrollBar.reset(),A.trigger(this._element,pm)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(A.trigger(this._element,x_).defaultPrevented)return;const a=this._element.scrollHeight>document.documentElement.clientHeight,d=this._element.style.overflowY;d==="hidden"||this._element.classList.contains(Bc)||(a||(this._element.style.overflowY="hidden"),this._element.classList.add(Bc),this._queueCallback(()=>{this._element.classList.remove(Bc),this._queueCallback(()=>{this._element.style.overflowY=d},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const a=this._element.scrollHeight>document.documentElement.clientHeight,d=this._scrollBar.getWidth(),S=d>0;if(S&&!a){const P=b()?"paddingLeft":"paddingRight";this._element.style[P]=`${d}px`}if(!S&&a){const P=b()?"paddingRight":"paddingLeft";this._element.style[P]=`${d}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(a,d){return this.each(function(){const S=wi.getOrCreateInstance(this,a);if(typeof a=="string"){if(S[a]===void 0)throw new TypeError(`No method named "${a}"`);S[a](d)}})}}A.on(document,C_,'[data-bs-toggle="modal"]',function(g){const a=G.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&g.preventDefault(),A.one(a,hm,S=>{S.defaultPrevented||A.one(a,pm,()=>{c(this)&&this.focus()})});const d=G.findOne(".modal.show");d&&wi.getInstance(d).hide(),wi.getOrCreateInstance(a).toggle(this)}),Ve(wi),v(wi);const gr=".bs.offcanvas",vm=".data-api",T_=`load${gr}${vm}`,ym="show",wm="showing",xm="hiding",_m=".offcanvas.show",P_=`show${gr}`,j_=`shown${gr}`,N_=`hide${gr}`,bm=`hidePrevented${gr}`,Sm=`hidden${gr}`,R_=`resize${gr}`,A_=`click${gr}${vm}`,$_=`keydown.dismiss${gr}`,D_={backdrop:!0,keyboard:!0,scroll:!1},I_={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class vr extends ue{constructor(a,d){super(a,d),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return D_}static get DefaultType(){return I_}static get NAME(){return"offcanvas"}toggle(a){return this._isShown?this.hide():this.show(a)}show(a){this._isShown||A.trigger(this._element,P_,{relatedTarget:a}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new Fc().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(wm),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(ym),this._element.classList.remove(wm),A.trigger(this._element,j_,{relatedTarget:a})},this._element,!0))}hide(){this._isShown&&(A.trigger(this._element,N_).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(xm),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(ym,xm),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Fc().reset(),A.trigger(this._element,Sm)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const a=!!this._config.backdrop;return new am({className:"offcanvas-backdrop",isVisible:a,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:a?()=>{this._config.backdrop!=="static"?this.hide():A.trigger(this._element,bm)}:null})}_initializeFocusTrap(){return new um({trapElement:this._element})}_addEventListeners(){A.on(this._element,$_,a=>{a.key==="Escape"&&(this._config.keyboard?this.hide():A.trigger(this._element,bm))})}static jQueryInterface(a){return this.each(function(){const d=vr.getOrCreateInstance(this,a);if(typeof a=="string"){if(d[a]===void 0||a.startsWith("_")||a==="constructor")throw new TypeError(`No method named "${a}"`);d[a](this)}})}}A.on(document,A_,'[data-bs-toggle="offcanvas"]',function(g){const a=G.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&g.preventDefault(),f(this))return;A.one(a,Sm,()=>{c(this)&&this.focus()});const d=G.findOne(_m);d&&d!==a&&vr.getInstance(d).hide(),vr.getOrCreateInstance(a).toggle(this)}),A.on(window,T_,()=>{for(const g of G.find(_m))vr.getOrCreateInstance(g).show()}),A.on(window,R_,()=>{for(const g of G.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(g).position!=="fixed"&&vr.getOrCreateInstance(g).hide()}),Ve(vr),v(vr);const km={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},M_=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),z_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,F_=(g,a)=>{const d=g.nodeName.toLowerCase();return a.includes(d)?!M_.has(d)||!!z_.test(g.nodeValue):a.filter(S=>S instanceof RegExp).some(S=>S.test(d))},B_={allowList:km,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},U_={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},H_={entry:"(string|element|function|null)",selector:"(string|element)"};class V_ extends ye{constructor(a){super(),this._config=this._getConfig(a)}static get Default(){return B_}static get DefaultType(){return U_}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(a=>this._resolvePossibleFunction(a)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(a){return this._checkContent(a),this._config.content={...this._config.content,...a},this}toHtml(){const a=document.createElement("div");a.innerHTML=this._maybeSanitize(this._config.template);for(const[P,j]of Object.entries(this._config.content))this._setContent(a,j,P);const d=a.children[0],S=this._resolvePossibleFunction(this._config.extraClass);return S&&d.classList.add(...S.split(" ")),d}_typeCheckConfig(a){super._typeCheckConfig(a),this._checkContent(a.content)}_checkContent(a){for(const[d,S]of Object.entries(a))super._typeCheckConfig({selector:d,entry:S},H_)}_setContent(a,d,S){const P=G.findOne(S,a);P&&((d=this._resolvePossibleFunction(d))?l(d)?this._putElementInTemplate(u(d),P):this._config.html?P.innerHTML=this._maybeSanitize(d):P.textContent=d:P.remove())}_maybeSanitize(a){return this._config.sanitize?function(d,S,P){if(!d.length)return d;if(P&&typeof P=="function")return P(d);const j=new window.DOMParser().parseFromString(d,"text/html"),D=[].concat(...j.body.querySelectorAll("*"));for(const H of D){const Q=H.nodeName.toLowerCase();if(!Object.keys(S).includes(Q)){H.remove();continue}const te=[].concat(...H.attributes),re=[].concat(S["*"]||[],S[Q]||[]);for(const Z of te)F_(Z,re)||H.removeAttribute(Z.nodeName)}return j.body.innerHTML}(a,this._config.allowList,this._config.sanitizeFn):a}_resolvePossibleFunction(a){return m(a,[this])}_putElementInTemplate(a,d){if(this._config.html)return d.innerHTML="",void d.append(a);d.textContent=a.textContent}}const W_=new Set(["sanitize","allowList","sanitizeFn"]),Uc="fade",ul="show",Em=".modal",Cm="hide.bs.modal",_s="hover",Hc="focus",K_={AUTO:"auto",TOP:"top",RIGHT:b()?"left":"right",BOTTOM:"bottom",LEFT:b()?"right":"left"},G_={allowList:km,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Q_={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class xi extends ue{constructor(a,d){if(Zh===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(a,d),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return G_}static get DefaultType(){return Q_}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),A.off(this._element.closest(Em),Cm,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const a=A.trigger(this._element,this.constructor.eventName("show")),d=(h(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(a.defaultPrevented||!d)return;this._disposePopper();const S=this._getTipElement();this._element.setAttribute("aria-describedby",S.getAttribute("id"));const{container:P}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(P.append(S),A.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(S),S.classList.add(ul),"ontouchstart"in document.documentElement)for(const j of[].concat(...document.body.children))A.on(j,"mouseover",p);this._queueCallback(()=>{A.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!A.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(ul),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))A.off(a,"mouseover",p);this._activeTrigger.click=!1,this._activeTrigger[Hc]=!1,this._activeTrigger[_s]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),A.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(a){const d=this._getTemplateFactory(a).toHtml();if(!d)return null;d.classList.remove(Uc,ul),d.classList.add(`bs-${this.constructor.NAME}-auto`);const S=(P=>{do P+=Math.floor(1e6*Math.random());while(document.getElementById(P));return P})(this.constructor.NAME).toString();return d.setAttribute("id",S),this._isAnimated()&&d.classList.add(Uc),d}setContent(a){this._newContent=a,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(a){return this._templateFactory?this._templateFactory.changeContent(a):this._templateFactory=new V_({...this._config,content:a,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(a){return this.constructor.getOrCreateInstance(a.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Uc)}_isShown(){return this.tip&&this.tip.classList.contains(ul)}_createPopper(a){const d=m(this._config.placement,[this,a,this._element]),S=K_[d.toUpperCase()];return Mc(this._element,a,this._getPopperConfig(S))}_getOffset(){const{offset:a}=this._config;return typeof a=="string"?a.split(",").map(d=>Number.parseInt(d,10)):typeof a=="function"?d=>a(d,this._element):a}_resolvePossibleFunction(a){return m(a,[this._element])}_getPopperConfig(a){const d={placement:a,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:S=>{this._getTipElement().setAttribute("data-popper-placement",S.state.placement)}}]};return{...d,...m(this._config.popperConfig,[d])}}_setListeners(){const a=this._config.trigger.split(" ");for(const d of a)if(d==="click")A.on(this._element,this.constructor.eventName("click"),this._config.selector,S=>{this._initializeOnDelegatedTarget(S).toggle()});else if(d!=="manual"){const S=d===_s?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),P=d===_s?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");A.on(this._element,S,this._config.selector,j=>{const D=this._initializeOnDelegatedTarget(j);D._activeTrigger[j.type==="focusin"?Hc:_s]=!0,D._enter()}),A.on(this._element,P,this._config.selector,j=>{const D=this._initializeOnDelegatedTarget(j);D._activeTrigger[j.type==="focusout"?Hc:_s]=D._element.contains(j.relatedTarget),D._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},A.on(this._element.closest(Em),Cm,this._hideModalHandler)}_fixTitle(){const a=this._element.getAttribute("title");a&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",a),this._element.setAttribute("data-bs-original-title",a),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(a,d){clearTimeout(this._timeout),this._timeout=setTimeout(a,d)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(a){const d=ae.getDataAttributes(this._element);for(const S of Object.keys(d))W_.has(S)&&delete d[S];return a={...d,...typeof a=="object"&&a?a:{}},a=this._mergeConfigObj(a),a=this._configAfterMerge(a),this._typeCheckConfig(a),a}_configAfterMerge(a){return a.container=a.container===!1?document.body:u(a.container),typeof a.delay=="number"&&(a.delay={show:a.delay,hide:a.delay}),typeof a.title=="number"&&(a.title=a.title.toString()),typeof a.content=="number"&&(a.content=a.content.toString()),a}_getDelegateConfig(){const a={};for(const[d,S]of Object.entries(this._config))this.constructor.Default[d]!==S&&(a[d]=S);return a.selector=!1,a.trigger="manual",a}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(a){return this.each(function(){const d=xi.getOrCreateInstance(this,a);if(typeof a=="string"){if(d[a]===void 0)throw new TypeError(`No method named "${a}"`);d[a]()}})}}v(xi);const Y_={...xi.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},q_={...xi.DefaultType,content:"(null|string|element|function)"};class cl extends xi{static get Default(){return Y_}static get DefaultType(){return q_}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(a){return this.each(function(){const d=cl.getOrCreateInstance(this,a);if(typeof a=="string"){if(d[a]===void 0)throw new TypeError(`No method named "${a}"`);d[a]()}})}}v(cl);const Vc=".bs.scrollspy",X_=`activate${Vc}`,Om=`click${Vc}`,J_=`load${Vc}.data-api`,uo="active",Wc="[href]",Lm=".nav-link",Z_=`${Lm}, .nav-item > ${Lm}, .list-group-item`,eb={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},tb={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class bs extends ue{constructor(a,d){super(a,d),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return eb}static get DefaultType(){return tb}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const a of this._observableSections.values())this._observer.observe(a)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(a){return a.target=u(a.target)||document.body,a.rootMargin=a.offset?`${a.offset}px 0px -30%`:a.rootMargin,typeof a.threshold=="string"&&(a.threshold=a.threshold.split(",").map(d=>Number.parseFloat(d))),a}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(A.off(this._config.target,Om),A.on(this._config.target,Om,Wc,a=>{const d=this._observableSections.get(a.target.hash);if(d){a.preventDefault();const S=this._rootElement||window,P=d.offsetTop-this._element.offsetTop;if(S.scrollTo)return void S.scrollTo({top:P,behavior:"smooth"});S.scrollTop=P}}))}_getNewObserver(){const a={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(d=>this._observerCallback(d),a)}_observerCallback(a){const d=D=>this._targetLinks.get(`#${D.target.id}`),S=D=>{this._previousScrollData.visibleEntryTop=D.target.offsetTop,this._process(d(D))},P=(this._rootElement||document.documentElement).scrollTop,j=P>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=P;for(const D of a){if(!D.isIntersecting){this._activeTarget=null,this._clearActiveClass(d(D));continue}const H=D.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(j&&H){if(S(D),!P)return}else j||H||S(D)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const a=G.find(Wc,this._config.target);for(const d of a){if(!d.hash||f(d))continue;const S=G.findOne(decodeURI(d.hash),this._element);c(S)&&(this._targetLinks.set(decodeURI(d.hash),d),this._observableSections.set(d.hash,S))}}_process(a){this._activeTarget!==a&&(this._clearActiveClass(this._config.target),this._activeTarget=a,a.classList.add(uo),this._activateParents(a),A.trigger(this._element,X_,{relatedTarget:a}))}_activateParents(a){if(a.classList.contains("dropdown-item"))G.findOne(".dropdown-toggle",a.closest(".dropdown")).classList.add(uo);else for(const d of G.parents(a,".nav, .list-group"))for(const S of G.prev(d,Z_))S.classList.add(uo)}_clearActiveClass(a){a.classList.remove(uo);const d=G.find(`${Wc}.${uo}`,a);for(const S of d)S.classList.remove(uo)}static jQueryInterface(a){return this.each(function(){const d=bs.getOrCreateInstance(this,a);if(typeof a=="string"){if(d[a]===void 0||a.startsWith("_")||a==="constructor")throw new TypeError(`No method named "${a}"`);d[a]()}})}}A.on(window,J_,()=>{for(const g of G.find('[data-bs-spy="scroll"]'))bs.getOrCreateInstance(g)}),v(bs);const _i=".bs.tab",nb=`hide${_i}`,rb=`hidden${_i}`,ib=`show${_i}`,ob=`shown${_i}`,sb=`click${_i}`,ab=`keydown${_i}`,lb=`load${_i}`,ub="ArrowLeft",Tm="ArrowRight",cb="ArrowUp",Pm="ArrowDown",Kc="Home",jm="End",bi="active",Nm="fade",Gc="show",Rm=".dropdown-toggle",Qc=`:not(${Rm})`,Am='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Yc=`.nav-link${Qc}, .list-group-item${Qc}, [role="tab"]${Qc}, ${Am}`,fb=`.${bi}[data-bs-toggle="tab"], .${bi}[data-bs-toggle="pill"], .${bi}[data-bs-toggle="list"]`;class Si extends ue{constructor(a){super(a),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),A.on(this._element,ab,d=>this._keydown(d)))}static get NAME(){return"tab"}show(){const a=this._element;if(this._elemIsActive(a))return;const d=this._getActiveElem(),S=d?A.trigger(d,nb,{relatedTarget:a}):null;A.trigger(a,ib,{relatedTarget:d}).defaultPrevented||S&&S.defaultPrevented||(this._deactivate(d,a),this._activate(a,d))}_activate(a,d){a&&(a.classList.add(bi),this._activate(G.getElementFromSelector(a)),this._queueCallback(()=>{a.getAttribute("role")==="tab"?(a.removeAttribute("tabindex"),a.setAttribute("aria-selected",!0),this._toggleDropDown(a,!0),A.trigger(a,ob,{relatedTarget:d})):a.classList.add(Gc)},a,a.classList.contains(Nm)))}_deactivate(a,d){a&&(a.classList.remove(bi),a.blur(),this._deactivate(G.getElementFromSelector(a)),this._queueCallback(()=>{a.getAttribute("role")==="tab"?(a.setAttribute("aria-selected",!1),a.setAttribute("tabindex","-1"),this._toggleDropDown(a,!1),A.trigger(a,rb,{relatedTarget:d})):a.classList.remove(Gc)},a,a.classList.contains(Nm)))}_keydown(a){if(![ub,Tm,cb,Pm,Kc,jm].includes(a.key))return;a.stopPropagation(),a.preventDefault();const d=this._getChildren().filter(P=>!f(P));let S;if([Kc,jm].includes(a.key))S=d[a.key===Kc?0:d.length-1];else{const P=[Tm,Pm].includes(a.key);S=O(d,a.target,P,!0)}S&&(S.focus({preventScroll:!0}),Si.getOrCreateInstance(S).show())}_getChildren(){return G.find(Yc,this._parent)}_getActiveElem(){return this._getChildren().find(a=>this._elemIsActive(a))||null}_setInitialAttributes(a,d){this._setAttributeIfNotExists(a,"role","tablist");for(const S of d)this._setInitialAttributesOnChild(S)}_setInitialAttributesOnChild(a){a=this._getInnerElement(a);const d=this._elemIsActive(a),S=this._getOuterElement(a);a.setAttribute("aria-selected",d),S!==a&&this._setAttributeIfNotExists(S,"role","presentation"),d||a.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(a,"role","tab"),this._setInitialAttributesOnTargetPanel(a)}_setInitialAttributesOnTargetPanel(a){const d=G.getElementFromSelector(a);d&&(this._setAttributeIfNotExists(d,"role","tabpanel"),a.id&&this._setAttributeIfNotExists(d,"aria-labelledby",`${a.id}`))}_toggleDropDown(a,d){const S=this._getOuterElement(a);if(!S.classList.contains("dropdown"))return;const P=(j,D)=>{const H=G.findOne(j,S);H&&H.classList.toggle(D,d)};P(Rm,bi),P(".dropdown-menu",Gc),S.setAttribute("aria-expanded",d)}_setAttributeIfNotExists(a,d,S){a.hasAttribute(d)||a.setAttribute(d,S)}_elemIsActive(a){return a.classList.contains(bi)}_getInnerElement(a){return a.matches(Yc)?a:G.findOne(Yc,a)}_getOuterElement(a){return a.closest(".nav-item, .list-group-item")||a}static jQueryInterface(a){return this.each(function(){const d=Si.getOrCreateInstance(this);if(typeof a=="string"){if(d[a]===void 0||a.startsWith("_")||a==="constructor")throw new TypeError(`No method named "${a}"`);d[a]()}})}}A.on(document,sb,Am,function(g){["A","AREA"].includes(this.tagName)&&g.preventDefault(),f(this)||Si.getOrCreateInstance(this).show()}),A.on(window,lb,()=>{for(const g of G.find(fb))Si.getOrCreateInstance(g)}),v(Si);const Ir=".bs.toast",db=`mouseover${Ir}`,pb=`mouseout${Ir}`,hb=`focusin${Ir}`,mb=`focusout${Ir}`,gb=`hide${Ir}`,vb=`hidden${Ir}`,yb=`show${Ir}`,wb=`shown${Ir}`,$m="hide",fl="show",dl="showing",xb={animation:"boolean",autohide:"boolean",delay:"number"},_b={animation:!0,autohide:!0,delay:5e3};class Ss extends ue{constructor(a,d){super(a,d),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return _b}static get DefaultType(){return xb}static get NAME(){return"toast"}show(){A.trigger(this._element,yb).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove($m),y(this._element),this._element.classList.add(fl,dl),this._queueCallback(()=>{this._element.classList.remove(dl),A.trigger(this._element,wb),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(A.trigger(this._element,gb).defaultPrevented||(this._element.classList.add(dl),this._queueCallback(()=>{this._element.classList.add($m),this._element.classList.remove(dl,fl),A.trigger(this._element,vb)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(fl),super.dispose()}isShown(){return this._element.classList.contains(fl)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(a,d){switch(a.type){case"mouseover":case"mouseout":this._hasMouseInteraction=d;break;case"focusin":case"focusout":this._hasKeyboardInteraction=d}if(d)return void this._clearTimeout();const S=a.relatedTarget;this._element===S||this._element.contains(S)||this._maybeScheduleHide()}_setListeners(){A.on(this._element,db,a=>this._onInteraction(a,!0)),A.on(this._element,pb,a=>this._onInteraction(a,!1)),A.on(this._element,hb,a=>this._onInteraction(a,!0)),A.on(this._element,mb,a=>this._onInteraction(a,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(a){return this.each(function(){const d=Ss.getOrCreateInstance(this,a);if(typeof a=="string"){if(d[a]===void 0)throw new TypeError(`No method named "${a}"`);d[a](this)}})}}return Ve(Ss),v(Ss),{Alert:Pe,Button:ze,Carousel:ee,Collapse:ln,Dropdown:Fn,Modal:wi,Offcanvas:vr,Popover:cl,ScrollSpy:bs,Tab:Si,Toast:Ss,Tooltip:xi}})})(P2);var Jt=function(){return Jt=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0?Ot(ls,--An):0,Qo--,wt===10&&(Qo=1,uc--),wt}function Yn(){return wt=An2||Fd(wt)>3?"":" "}function B2(e,t){for(;--t&&Yn()&&!(wt<48||wt>102||wt>57&&wt<65||wt>70&&wt<97););return fc(e,Zl()+(t<6&&Fi()==32&&Yn()==32))}function Bd(e){for(;Yn();)switch(wt){case e:return An;case 34:case 39:e!==34&&e!==39&&Bd(wt);break;case 40:e===41&&Bd(e);break;case 92:Yn();break}return An}function U2(e,t){for(;Yn()&&e+wt!==47+10;)if(e+wt===42+42&&Fi()===47)break;return"/*"+fc(t,An-1)+"*"+sh(e===47?e:Yn())}function H2(e){for(;!Fd(Fi());)Yn();return fc(e,An)}function V2(e){return z2(eu("",null,null,null,[""],e=M2(e),0,[0],e))}function eu(e,t,n,r,i,o,s,l,u){for(var c=0,f=0,h=s,p=0,y=0,w=0,x=1,b=1,v=1,m=0,k="",O=i,L=o,_=r,T=k;b;)switch(w=m,m=Yn()){case 40:if(w!=108&&Ot(T,h-1)==58){Jl(T+=ke(Tf(m),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:T+=Tf(m);break;case 9:case 10:case 13:case 32:T+=F2(w);break;case 92:T+=B2(Zl()-1,7);continue;case 47:switch(Fi()){case 42:case 47:Ws(W2(U2(Yn(),Zl()),t,n,u),u);break;default:T+="/"}break;case 123*x:l[c++]=ir(T)*v;case 125*x:case 59:case 0:switch(m){case 0:case 125:b=0;case 59+f:v==-1&&(T=ke(T,/\f/g,"")),y>0&&ir(T)-h&&Ws(y>32?Ev(T+";",r,n,h-1,u):Ev(ke(T," ","")+";",r,n,h-2,u),u);break;case 59:T+=";";default:if(Ws(_=kv(T,t,n,c,f,i,l,k,O=[],L=[],h,o),o),m===123)if(f===0)eu(T,t,_,_,O,o,h,l,L);else switch(p===99&&Ot(T,3)===110?100:p){case 100:case 108:case 109:case 115:eu(e,_,_,r&&Ws(kv(e,_,_,0,0,i,l,k,i,O=[],h,L),L),i,L,h,l,r?O:L);break;default:eu(T,_,_,_,[""],L,0,l,L)}}c=f=y=0,x=v=1,k=T="",h=s;break;case 58:h=1+ir(T),y=w;default:if(x<1){if(m==123)--x;else if(m==125&&x++==0&&I2()==125)continue}switch(T+=sh(m),m*x){case 38:v=f>0?1:(T+="\f",-1);break;case 44:l[c++]=(ir(T)-1)*v,v=1;break;case 64:Fi()===45&&(T+=Tf(Yn())),p=Fi(),f=h=ir(k=T+=H2(Zl())),m++;break;case 45:w===45&&ir(T)==2&&(x=0)}}return o}function kv(e,t,n,r,i,o,s,l,u,c,f,h){for(var p=i-1,y=i===0?o:[""],w=fw(y),x=0,b=0,v=0;x0?y[m]+" "+k:ke(k,/&\f/g,y[m])))&&(u[v++]=O);return cc(e,t,n,i===0?lc:l,u,c,f,h)}function W2(e,t,n,r){return cc(e,t,n,lw,sh(D2()),Go(e,2,-2),0,r)}function Ev(e,t,n,r,i){return cc(e,t,n,oh,Go(e,0,r),Go(e,r+1,-1),r,i)}function pw(e,t,n){switch(A2(e,t)){case 5103:return Fe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Fe+e+e;case 4789:return ia+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Fe+e+ia+e+Je+e+e;case 5936:switch(Ot(e,t+11)){case 114:return Fe+e+Je+ke(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Fe+e+Je+ke(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Fe+e+Je+ke(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Fe+e+Je+e+e;case 6165:return Fe+e+Je+"flex-"+e+e;case 5187:return Fe+e+ke(e,/(\w+).+(:[^]+)/,Fe+"box-$1$2"+Je+"flex-$1$2")+e;case 5443:return Fe+e+Je+"flex-item-"+ke(e,/flex-|-self/g,"")+(wr(e,/flex-|baseline/)?"":Je+"grid-row-"+ke(e,/flex-|-self/g,""))+e;case 4675:return Fe+e+Je+"flex-line-pack"+ke(e,/align-content|flex-|-self/g,"")+e;case 5548:return Fe+e+Je+ke(e,"shrink","negative")+e;case 5292:return Fe+e+Je+ke(e,"basis","preferred-size")+e;case 6060:return Fe+"box-"+ke(e,"-grow","")+Fe+e+Je+ke(e,"grow","positive")+e;case 4554:return Fe+ke(e,/([^-])(transform)/g,"$1"+Fe+"$2")+e;case 6187:return ke(ke(ke(e,/(zoom-|grab)/,Fe+"$1"),/(image-set)/,Fe+"$1"),e,"")+e;case 5495:case 3959:return ke(e,/(image-set\([^]*)/,Fe+"$1$`$1");case 4968:return ke(ke(e,/(.+:)(flex-)?(.*)/,Fe+"box-pack:$3"+Je+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Fe+e+e;case 4200:if(!wr(e,/flex-|baseline/))return Je+"grid-column-align"+Go(e,t)+e;break;case 2592:case 3360:return Je+ke(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,i){return t=i,wr(r.props,/grid-\w+-end/)})?~Jl(e+(n=n[t].value),"span")?e:Je+ke(e,"-start","")+e+Je+"grid-row-span:"+(~Jl(n,"span")?wr(n,/\d+/):+wr(n,/\d+/)-+wr(e,/\d+/))+";":Je+ke(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return wr(r.props,/grid-\w+-start/)})?e:Je+ke(ke(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ke(e,/(.+)-inline(.+)/,Fe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ir(e)-1-t>6)switch(Ot(e,t+1)){case 109:if(Ot(e,t+4)!==45)break;case 102:return ke(e,/(.+:)(.+)-([^]+)/,"$1"+Fe+"$2-$3$1"+ia+(Ot(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Jl(e,"stretch")?pw(ke(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return ke(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,o,s,l,u,c){return Je+i+":"+o+c+(s?Je+i+"-span:"+(l?u:+u-+o)+c:"")+e});case 4949:if(Ot(e,t+6)===121)return ke(e,":",":"+Fe)+e;break;case 6444:switch(Ot(e,Ot(e,14)===45?18:11)){case 120:return ke(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Fe+(Ot(e,14)===45?"inline-":"")+"box$3$1"+Fe+"$2$3$1"+Je+"$2box$3")+e;case 100:return ke(e,":",":"+Je)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ke(e,"scroll-","scroll-snap-")+e}return e}function Ru(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case oh:e.return=pw(e.value,e.length,n);return;case uw:return Ru([Br(e,{value:ke(e.value,"@","@"+Fe)})],r);case lc:if(e.length)return $2(n=e.props,function(i){switch(wr(i,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":po(Br(e,{props:[ke(i,/:(read-\w+)/,":"+ia+"$1")]})),po(Br(e,{props:[i]})),zd(e,{props:Sv(n,r)});break;case"::placeholder":po(Br(e,{props:[ke(i,/:(plac\w+)/,":"+Fe+"input-$1")]})),po(Br(e,{props:[ke(i,/:(plac\w+)/,":"+ia+"$1")]})),po(Br(e,{props:[ke(i,/:(plac\w+)/,Je+"input-$1")]})),po(Br(e,{props:[i]})),zd(e,{props:Sv(n,r)});break}return""})}}var q2={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Yo=typeof process<"u"&&process.env!==void 0&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",hw="active",mw="data-styled-version",dc="6.1.3",ah=`/*!sc*/ +`,lh=typeof window<"u"&&"HTMLElement"in window,X2=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==""?{}.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&{}.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.SC_DISABLE_SPEEDY!==void 0&&{}.SC_DISABLE_SPEEDY!==""&&{}.SC_DISABLE_SPEEDY!=="false"&&{}.SC_DISABLE_SPEEDY),pc=Object.freeze([]),qo=Object.freeze({});function J2(e,t,n){return n===void 0&&(n=qo),e.theme!==n.theme&&e.theme||t||n.theme}var gw=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Z2=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,eC=/(^-|-$)/g;function Cv(e){return e.replace(Z2,"-").replace(eC,"")}var tC=/(a)(d)/gi,Rl=52,Ov=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ud(e){var t,n="";for(t=Math.abs(e);t>Rl;t=t/Rl|0)n=Ov(t%Rl)+n;return(Ov(t%Rl)+n).replace(tC,"$1-$2")}var Pf,vw=5381,No=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},yw=function(e){return No(vw,e)};function ww(e){return Ud(yw(e)>>>0)}function nC(e){return e.displayName||e.name||"Component"}function jf(e){return typeof e=="string"&&!0}var xw=typeof Symbol=="function"&&Symbol.for,_w=xw?Symbol.for("react.memo"):60115,rC=xw?Symbol.for("react.forward_ref"):60112,iC={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},oC={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},bw={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},sC=((Pf={})[rC]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Pf[_w]=bw,Pf);function Lv(e){return("type"in(t=e)&&t.type.$$typeof)===_w?bw:"$$typeof"in e?sC[e.$$typeof]:iC;var t}var aC=Object.defineProperty,lC=Object.getOwnPropertyNames,Tv=Object.getOwnPropertySymbols,uC=Object.getOwnPropertyDescriptor,cC=Object.getPrototypeOf,Pv=Object.prototype;function Sw(e,t,n){if(typeof t!="string"){if(Pv){var r=cC(t);r&&r!==Pv&&Sw(e,r,n)}var i=lC(t);Tv&&(i=i.concat(Tv(t)));for(var o=Lv(e),s=Lv(t),l=0;l0?" Args: ".concat(t.join(", ")):""))}var fC=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,i=r.length,o=i;t>=o;)if((o<<=1)<0)throw Ha(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var s=i;s=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],i=this.indexOfGroup(t),o=i+r,s=i;s=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(b+="".concat(v,","))}),u+="".concat(w).concat(x,'{content:"').concat(b,'"}').concat(ah)},f=0;f0?".".concat(t):p},f=u.slice();f.push(function(p){p.type===lc&&p.value.includes("&")&&(p.props[0]=p.props[0].replace(bC,n).replace(r,c))}),s.prefix&&f.push(Y2),f.push(K2);var h=function(p,y,w,x){y===void 0&&(y=""),w===void 0&&(w=""),x===void 0&&(x="&"),t=x,n=y,r=new RegExp("\\".concat(n,"\\b"),"g");var b=p.replace(SC,""),v=V2(w||y?"".concat(w," ").concat(y," { ").concat(b," }"):b);s.namespace&&(v=Cw(v,s.namespace));var m=[];return Ru(v,G2(f.concat(Q2(function(k){return m.push(k)})))),m};return h.hash=u.length?u.reduce(function(p,y){return y.name||Ha(15),No(p,y.name)},vw).toString():"",h}var EC=new Ew,Wd=kC(),Ow=we.createContext({shouldForwardProp:void 0,styleSheet:EC,stylis:Wd});Ow.Consumer;we.createContext(void 0);function Nv(){return E.useContext(Ow)}var Lw=function(){function e(t,n){var r=this;this.inject=function(i,o){o===void 0&&(o=Wd);var s=r.name+o.hash;i.hasNameForId(r.id,s)||i.insertRules(r.id,s,o(r.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,ch(this,function(){throw Ha(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Wd),this.name+t.hash},e}(),CC=function(e){return e>="A"&&e<="Z"};function Rv(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,s)){var l=r(o,".".concat(s),void 0,this.componentId);n.insertRules(this.componentId,s,l)}i=Di(i,s),this.staticRulesId=s}else{for(var u=No(this.baseHash,r.hash),c="",f=0;f>>0);n.hasNameForId(this.componentId,y)||n.insertRules(this.componentId,y,r(c,".".concat(y),void 0,this.componentId)),i=Di(i,y)}}return i},e}(),jw=we.createContext(void 0);jw.Consumer;var Nf={};function PC(e,t,n){var r=uh(e),i=e,o=!jf(e),s=t.attrs,l=s===void 0?pc:s,u=t.componentId,c=u===void 0?function(O,L){var _=typeof O!="string"?"sc":Cv(O);Nf[_]=(Nf[_]||0)+1;var T="".concat(_,"-").concat(ww(dc+_+Nf[_]));return L?"".concat(L,"-").concat(T):T}(t.displayName,t.parentComponentId):u,f=t.displayName,h=f===void 0?function(O){return jf(O)?"styled.".concat(O):"Styled(".concat(nC(O),")")}(e):f,p=t.displayName&&t.componentId?"".concat(Cv(t.displayName),"-").concat(t.componentId):t.componentId||c,y=r&&i.attrs?i.attrs.concat(l).filter(Boolean):l,w=t.shouldForwardProp;if(r&&i.shouldForwardProp){var x=i.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;w=function(O,L){return x(O,L)&&b(O,L)}}else w=x}var v=new TC(n,p,r?i.componentStyle:void 0);function m(O,L){return function(_,T,R){var M=_.attrs,z=_.componentStyle,F=_.defaultProps,I=_.foldedComponentIds,W=_.styledComponentId,V=_.target,J=we.useContext(jw),ie=Nv(),q=_.shouldForwardProp||ie.shouldForwardProp,U=function(ae,ye,ue){for(var _e,G=Jt(Jt({},ye),{className:void 0,theme:ue}),Ve=0;Ve{const t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0},Dv=["en","fr","jp","es","de","kr"],dh=()=>{const e=localStorage.getItem("i18nextLng");if(e&&Dv.includes(e))return e;localStorage.removeItem("i18nextLng");const t=navigator.language.split("-")[0];return Dv.includes(t)?(localStorage.setItem("i18nextLng",t),t):(localStorage.setItem("i18nextLng","en"),"en")},$w="https://steam-wgp-production.up.railway.app",Dw=hc("token"),Iw=dh(),Mw=async()=>{try{if(!document.cookie.split(";").some(n=>n.trim().startsWith("token="))){const r=new URLSearchParams(window.location.search).get("token");r&&(document.cookie=`token=${r}; path=/;`)}window.history.replaceState({},document.title,window.location.pathname);const e=await fetch(`${$w}/auth/me`,{headers:{Authorization:"Bearer "+Dw,"Accept-Language":Iw},credentials:"include"});if(!e.ok)throw new Error("Authentification non vérifiée");return(await e.json()).data}catch(e){throw console.error("Erreur lors de la vérification de l’authentification:",e),e}},RC=async()=>{try{const e=await fetch($w+"/auth/logout",{credentials:"include",method:"GET",headers:{Authorization:"Bearer "+Dw,"Accept-Language":Iw}});if(!e.ok)throw new Error("Impossible de déconnecter l'utilisateur authentifié");return await e.json()}catch(e){throw console.error("Une erreur est survenue lors de la déconnexion de l'utilisateur: "+e),e}};function Gd(){return Gd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function Iv(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],($C[n[1]]||e.charAt(e.length-2)==="/")&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("-->");return{type:"comment",comment:r!==-1?e.slice(4,r):""}}for(var i=new RegExp(DC),o=null;(o=i.exec(e))!==null;)if(o[0].trim())if(o[1]){var s=o[1].trim(),l=[s,""];s.indexOf("=")>-1&&(l=s.split("=")),t.attrs[l[0]]=l[1],i.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return t}var IC=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,MC=/^\s*$/,zC=Object.create(null);function zw(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(n){var r=[];for(var i in n)r.push(i+'="'+n[i]+'"');return r.length?" "+r.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(zw,"")+"";case"comment":return e+""}}var FC={parse:function(e,t){t||(t={}),t.components||(t.components=zC);var n,r=[],i=[],o=-1,s=!1;if(e.indexOf("<")!==0){var l=e.indexOf("<");r.push({type:"text",content:l===-1?e:e.substring(0,l)})}return e.replace(IC,function(u,c){if(s){if(u!=="")return;s=!1}var f,h=u.charAt(1)!=="/",p=u.startsWith("