import{r as Mg,g as wg,a as zg}from"./react-vendors-DbHEDQBy.js";import{r as L0}from"./leaflet-DYDK0jU3.js";import{C as Td,L as U0,a as H0,P as q0,b as B0,c as Y0,i as k0}from"./chartjs-C6LAl0aW.js";(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const m of document.querySelectorAll('link[rel="modulepreload"]'))o(m);new MutationObserver(m=>{for(const v of m)if(v.type==="childList")for(const S of v.addedNodes)S.tagName==="LINK"&&S.rel==="modulepreload"&&o(S)}).observe(document,{childList:!0,subtree:!0});function f(m){const v={};return m.integrity&&(v.integrity=m.integrity),m.referrerPolicy&&(v.referrerPolicy=m.referrerPolicy),m.crossOrigin==="use-credentials"?v.credentials="include":m.crossOrigin==="anonymous"?v.credentials="omit":v.credentials="same-origin",v}function o(m){if(m.ep)return;m.ep=!0;const v=f(m);fetch(m.href,v)}})();var Zf={exports:{}},ur={};/** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var km;function X0(){if(km)return ur;km=1;var u=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function f(o,m,v){var S=null;if(v!==void 0&&(S=""+v),m.key!==void 0&&(S=""+m.key),"key"in m){v={};for(var x in m)x!=="key"&&(v[x]=m[x])}else v=m;return m=v.ref,{$$typeof:u,type:o,key:S,ref:m!==void 0?m:null,props:v}}return ur.Fragment=r,ur.jsx=f,ur.jsxs=f,ur}var Xm;function G0(){return Xm||(Xm=1,Zf.exports=X0()),Zf.exports}var G=G0(),F=Mg();const Ri=wg(F);var Kf={exports:{}},rr={},$f={exports:{}},Jf={};/** * @license React * scheduler.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Gm;function Q0(){return Gm||(Gm=1,function(u){function r(V,mt){var dt=V.length;V.push(mt);t:for(;0>>1,w=V[Ht];if(0>>1;Htm(Ie,dt))vtm(oe,Ie)?(V[Ht]=oe,V[vt]=dt,Ht=vt):(V[Ht]=Ie,V[Pn]=dt,Ht=Pn);else if(vtm(oe,dt))V[Ht]=oe,V[vt]=dt,Ht=vt;else break t}}return mt}function m(V,mt){var dt=V.sortIndex-mt.sortIndex;return dt!==0?dt:V.id-mt.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var v=performance;u.unstable_now=function(){return v.now()}}else{var S=Date,x=S.now();u.unstable_now=function(){return S.now()-x}}var N=[],U=[],X=1,Z=null,Q=3,tt=!1,ct=!1,Et=!1,rt=typeof setTimeout=="function"?setTimeout:null,ot=typeof clearTimeout=="function"?clearTimeout:null,it=typeof setImmediate<"u"?setImmediate:null;function Ct(V){for(var mt=f(U);mt!==null;){if(mt.callback===null)o(U);else if(mt.startTime<=V)o(U),mt.sortIndex=mt.expirationTime,r(N,mt);else break;mt=f(U)}}function ee(V){if(Et=!1,Ct(V),!ct)if(f(N)!==null)ct=!0,Jn();else{var mt=f(U);mt!==null&&Fn(ee,mt.startTime-V)}}var ne=!1,Re=-1,Kn=5,hn=-1;function ft(){return!(u.unstable_now()-hnV&&ft());){var Ht=Z.callback;if(typeof Ht=="function"){Z.callback=null,Q=Z.priorityLevel;var w=Ht(Z.expirationTime<=V);if(V=u.unstable_now(),typeof w=="function"){Z.callback=w,Ct(V),mt=!0;break e}Z===f(N)&&o(N),Ct(V)}else o(N);Z=f(N)}if(Z!==null)mt=!0;else{var Wn=f(U);Wn!==null&&Fn(ee,Wn.startTime-V),mt=!1}}break t}finally{Z=null,Q=dt,tt=!1}mt=void 0}}finally{mt?zn():ne=!1}}}var zn;if(typeof it=="function")zn=function(){it(wt)};else if(typeof MessageChannel<"u"){var Ia=new MessageChannel,$n=Ia.port2;Ia.port1.onmessage=wt,zn=function(){$n.postMessage(null)}}else zn=function(){rt(wt,0)};function Jn(){ne||(ne=!0,zn())}function Fn(V,mt){Re=rt(function(){V(u.unstable_now())},mt)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(V){V.callback=null},u.unstable_continueExecution=function(){ct||tt||(ct=!0,Jn())},u.unstable_forceFrameRate=function(V){0>V||125Ht?(V.sortIndex=dt,r(U,V),f(N)===null&&V===f(U)&&(Et?(ot(Re),Re=-1):Et=!0,Fn(ee,dt-Ht))):(V.sortIndex=w,r(N,V),ct||tt||(ct=!0,Jn())),V},u.unstable_shouldYield=ft,u.unstable_wrapCallback=function(V){var mt=Q;return function(){var dt=Q;Q=mt;try{return V.apply(this,arguments)}finally{Q=dt}}}}(Jf)),Jf}var Qm;function V0(){return Qm||(Qm=1,$f.exports=Q0()),$f.exports}/** * @license React * react-dom-client.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Vm;function Z0(){if(Vm)return rr;Vm=1;var u=V0(),r=Mg(),f=zg();function o(t){var e="https://react.dev/errors/"+t;if(1)":-1l||y[a]!==A[l]){var z=` `+y[a].replace(" at new "," at ");return t.displayName&&z.includes("")&&(z=z.replace("",t.displayName)),z}while(1<=a&&0<=l);break}}}finally{Jn=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?$n(n):""}function V(t){switch(t.tag){case 26:case 27:case 5:return $n(t.type);case 16:return $n("Lazy");case 13:return $n("Suspense");case 19:return $n("SuspenseList");case 0:case 15:return t=Fn(t.type,!1),t;case 11:return t=Fn(t.type.render,!1),t;case 1:return t=Fn(t.type,!0),t;default:return""}}function mt(t){try{var e="";do e+=V(t),t=t.return;while(t);return e}catch(n){return` Error generating stack: `+n.message+` `+n.stack}}function dt(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function Ht(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function w(t){if(dt(t)!==t)throw Error(o(188))}function Wn(t){var e=t.alternate;if(!e){if(e=dt(t),e===null)throw Error(o(188));return e!==t?null:t}for(var n=t,a=e;;){var l=n.return;if(l===null)break;var s=l.alternate;if(s===null){if(a=l.return,a!==null){n=a;continue}break}if(l.child===s.child){for(s=l.child;s;){if(s===n)return w(l),t;if(s===a)return w(l),e;s=s.sibling}throw Error(o(188))}if(n.return!==a.return)n=l,a=s;else{for(var d=!1,g=l.child;g;){if(g===n){d=!0,n=l,a=s;break}if(g===a){d=!0,a=l,n=s;break}g=g.sibling}if(!d){for(g=s.child;g;){if(g===n){d=!0,n=s,a=l;break}if(g===a){d=!0,a=s,n=l;break}g=g.sibling}if(!d)throw Error(o(189))}}if(n.alternate!==a)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?t:e}function Pn(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=Pn(t),e!==null)return e;t=t.sibling}return null}var Ie=Array.isArray,vt=f.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},je=[],In=-1;function $(t){return{current:t}}function Kt(t){0>In||(t.current=je[In],je[In]=null,In--)}function qt(t,e){In++,je[In]=t.current,t.current=e}var mn=$(null),Vl=$(null),Ve=$(null),Zl=$(null);function ta(t,e){switch(qt(Ve,e),qt(Vl,t),qt(mn,null),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)&&(e=e.namespaceURI)?pm(e):0;break;default:if(t=t===8?e.parentNode:e,e=t.tagName,t=t.namespaceURI)t=pm(t),e=vm(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Kt(mn),qt(mn,e)}function tn(){Kt(mn),Kt(Vl),Kt(Ve)}function ks(t){t.memoizedState!==null&&qt(Zl,t);var e=mn.current,n=vm(e,t.type);e!==n&&(qt(Vl,t),qt(mn,n))}function Ui(t){Vl.current===t&&(Kt(mn),Kt(Vl)),Zl.current===t&&(Kt(Zl),nr._currentValue=oe)}var Xs=Object.prototype.hasOwnProperty,Gs=u.unstable_scheduleCallback,Qs=u.unstable_cancelCallback,ao=u.unstable_shouldYield,lo=u.unstable_requestPaint,Le=u.unstable_now,ea=u.unstable_getCurrentPriorityLevel,Vs=u.unstable_ImmediatePriority,tl=u.unstable_UserBlockingPriority,Nn=u.unstable_NormalPriority,el=u.unstable_LowPriority,Kl=u.unstable_IdlePriority,io=u.log,Zs=u.unstable_setDisableYieldValue,$l=null,Ue=null;function so(t){if(Ue&&typeof Ue.onCommitFiberRoot=="function")try{Ue.onCommitFiberRoot($l,t,void 0,(t.current.flags&128)===128)}catch{}}function na(t){if(typeof io=="function"&&Zs(t),Ue&&typeof Ue.setStrictMode=="function")try{Ue.setStrictMode($l,t)}catch{}}var He=Math.clz32?Math.clz32:Hi,uo=Math.log,vr=Math.LN2;function Hi(t){return t>>>=0,t===0?32:31-(uo(t)/vr|0)|0}var Jl=128,Fl=4194304;function Ea(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function qi(t,e){var n=t.pendingLanes;if(n===0)return 0;var a=0,l=t.suspendedLanes,s=t.pingedLanes,d=t.warmLanes;t=t.finishedLanes!==0;var g=n&134217727;return g!==0?(n=g&~l,n!==0?a=Ea(n):(s&=g,s!==0?a=Ea(s):t||(d=g&~d,d!==0&&(a=Ea(d))))):(g=n&~l,g!==0?a=Ea(g):s!==0?a=Ea(s):t||(d=n&~d,d!==0&&(a=Ea(d)))),a===0?0:e!==0&&e!==a&&!(e&l)&&(l=a&-a,d=e&-e,l>=d||l===32&&(d&4194176)!==0)?e:a}function Wl(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function ro(t,e){switch(t){case 1:case 2:case 4:case 8:return e+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ta(){var t=Jl;return Jl<<=1,!(Jl&4194176)&&(Jl=128),t}function nl(){var t=Fl;return Fl<<=1,!(Fl&62914560)&&(Fl=4194304),t}function Ks(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Pl(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function co(t,e,n,a,l,s){var d=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var g=t.entanglements,y=t.expirationTimes,A=t.hiddenUpdates;for(n=d&~n;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_r=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Js={},Fs={};function Sr(t){return Xs.call(Fs,t)?!0:Xs.call(Js,t)?!1:_r.test(t)?Fs[t]=!0:(Js[t]=!0,!1)}function Il(t,e,n){if(Sr(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function ti(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function vn(t,e,n,a){if(a===null)t.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+a)}}function Be(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Ws(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function yn(t){var e=Ws(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),a=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,s=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return l.call(this)},set:function(d){a=""+d,s.call(this,d)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(d){a=""+d},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function fe(t){t._valueTracker||(t._valueTracker=yn(t))}function sa(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),a="";return t&&(a=Ws(t)?t.checked?"true":"false":t.value),t=a,t!==n?(e.setValue(t),!0):!1}function be(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Ps=/[\n"\\]/g;function De(t){return t.replace(Ps,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function $e(t,e,n,a,l,s,d,g){t.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?t.type=d:t.removeAttribute("type"),e!=null?d==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Be(e)):t.value!==""+Be(e)&&(t.value=""+Be(e)):d!=="submit"&&d!=="reset"||t.removeAttribute("value"),e!=null?il(t,d,Be(e)):n!=null?il(t,d,Be(n)):a!=null&&t.removeAttribute("value"),l==null&&s!=null&&(t.defaultChecked=!!s),l!=null&&(t.checked=l&&typeof l!="function"&&typeof l!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?t.name=""+Be(g):t.removeAttribute("name")}function ua(t,e,n,a,l,s,d,g){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(t.type=s),e!=null||n!=null){if(!(s!=="submit"&&s!=="reset"||e!=null))return;n=n!=null?""+Be(n):"",e=e!=null?""+Be(e):n,g||e===t.value||(t.value=e),t.defaultValue=e}a=a??l,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=g?t.checked:!!a,t.defaultChecked=!!a,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(t.name=d)}function il(t,e,n){e==="number"&&be(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function en(t,e,n,a){if(t=t.options,e){e={};for(var l=0;l=ri),Rr=" ",jr=!1;function Lr(t,e){switch(t){case"keyup":return sl.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ur(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ul=!1;function _o(t,e){switch(t){case"compositionend":return Ur(e);case"keypress":return e.which!==32?null:(jr=!0,Rr);case"textInput":return t=e.data,t===Rr&&jr?null:t;default:return null}}function So(t,e){if(ul)return t==="compositionend"||!Un&&Lr(t,e)?(t=ii(),Vi=li=an=null,ul=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=a}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Gr(n)}}function pu(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?pu(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Qr(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=be(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=be(t.document)}return e}function vu(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function Eo(t,e){var n=Qr(e);e=t.focusedElem;var a=t.selectionRange;if(n!==e&&e&&e.ownerDocument&&pu(e.ownerDocument.documentElement,e)){if(a!==null&&vu(e)){if(t=a.start,n=a.end,n===void 0&&(n=t),"selectionStart"in e)e.selectionStart=t,e.selectionEnd=Math.min(n,e.value.length);else if(n=(t=e.ownerDocument||document)&&t.defaultView||window,n.getSelection){n=n.getSelection();var l=e.textContent.length,s=Math.min(a.start,l);a=a.end===void 0?s:Math.min(a.end,l),!n.extend&&s>a&&(l=a,a=s,s=l),l=gu(e,s);var d=gu(e,a);l&&d&&(n.rangeCount!==1||n.anchorNode!==l.node||n.anchorOffset!==l.offset||n.focusNode!==d.node||n.focusOffset!==d.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),n.removeAllRanges(),s>a?(n.addRange(t),n.extend(d.node,d.offset)):(t.setEnd(d.node,d.offset),n.addRange(t)))}}for(t=[],n=e;n=n.parentNode;)n.nodeType===1&&t.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof e.focus=="function"&&e.focus(),e=0;e=document.documentMode,cl=null,yu=null,ol=null,as=!1;function ls(t,e,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;as||cl==null||cl!==be(a)||(a=cl,"selectionStart"in a&&vu(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),ol&&di(ol,a)||(ol=a,a=Oc(yu,"onSelect"),0>=d,l-=d,ke=1<<32-He(e)+l|n<ut?(ve=nt,nt=null):ve=nt.sibling;var Nt=C(T,nt,O[ut],R);if(Nt===null){nt===null&&(nt=ve);break}t&&nt&&Nt.alternate===null&&e(T,nt),_=s(Nt,_,ut),bt===null?J=Nt:bt.sibling=Nt,bt=Nt,nt=ve}if(ut===O.length)return n(T,nt),_t&&ja(T,ut),J;if(nt===null){for(;utut?(ve=nt,nt=null):ve=nt.sibling;var Bl=C(T,nt,Nt.value,R);if(Bl===null){nt===null&&(nt=ve);break}t&&nt&&Bl.alternate===null&&e(T,nt),_=s(Bl,_,ut),bt===null?J=Bl:bt.sibling=Bl,bt=Bl,nt=ve}if(Nt.done)return n(T,nt),_t&&ja(T,ut),J;if(nt===null){for(;!Nt.done;ut++,Nt=O.next())Nt=H(T,Nt.value,R),Nt!==null&&(_=s(Nt,_,ut),bt===null?J=Nt:bt.sibling=Nt,bt=Nt);return _t&&ja(T,ut),J}for(nt=a(nt);!Nt.done;ut++,Nt=O.next())Nt=M(nt,T,ut,Nt.value,R),Nt!==null&&(t&&Nt.alternate!==null&&nt.delete(Nt.key===null?ut:Nt.key),_=s(Nt,_,ut),bt===null?J=Nt:bt.sibling=Nt,bt=Nt);return t&&nt.forEach(function(j0){return e(T,j0)}),_t&&ja(T,ut),J}function te(T,_,O,R){if(typeof O=="object"&&O!==null&&O.type===N&&O.key===null&&(O=O.props.children),typeof O=="object"&&O!==null){switch(O.$$typeof){case S:t:{for(var J=O.key;_!==null;){if(_.key===J){if(J=O.type,J===N){if(_.tag===7){n(T,_.sibling),R=l(_,O.props.children),R.return=T,T=R;break t}}else if(_.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===it&&Tu(J)===_.type){n(T,_.sibling),R=l(_,O.props),_l(R,O),R.return=T,T=R;break t}n(T,_);break}else e(T,_);_=_.sibling}O.type===N?(R=Di(O.props.children,T.mode,R,O.key),R.return=T,T=R):(R=gc(O.type,O.key,O.props,null,T.mode,R),_l(R,O),R.return=T,T=R)}return d(T);case x:t:{for(J=O.key;_!==null;){if(_.key===J)if(_.tag===4&&_.stateNode.containerInfo===O.containerInfo&&_.stateNode.implementation===O.implementation){n(T,_.sibling),R=l(_,O.children||[]),R.return=T,T=R;break t}else{n(T,_);break}else e(T,_);_=_.sibling}R=cf(O,T.mode,R),R.return=T,T=R}return d(T);case it:return J=O._init,O=J(O._payload),te(T,_,O,R)}if(Ie(O))return P(T,_,O,R);if(Re(O)){if(J=Re(O),typeof J!="function")throw Error(o(150));return O=J.call(O),pt(T,_,O,R)}if(typeof O.then=="function")return te(T,_,ds(O),R);if(O.$$typeof===tt)return te(T,_,dc(T,O),R);hs(T,O)}return typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint"?(O=""+O,_!==null&&_.tag===6?(n(T,_.sibling),R=l(_,O),R.return=T,T=R):(n(T,_),R=rf(O,T.mode,R),R.return=T,T=R),d(T)):n(T,_)}return function(T,_,O,R){try{vi=0;var J=te(T,_,O,R);return bl=null,J}catch(nt){if(nt===gi)throw nt;var bt=Dn(29,nt,null,T.mode);return bt.lanes=R,bt.return=T,bt}finally{}}}var fa=ms(!0),da=ms(!1),Ha=$(null),Sl=$(0);function Ou(t,e){t=Ka,qt(Sl,t),qt(Ha,e),Ka=t|e.baseLanes}function yi(){qt(Sl,Ka),qt(Ha,Ha.current)}function gs(){Ka=Sl.current,Kt(Ha),Kt(Sl)}var Me=$(null),Tn=null;function we(t){var e=t.alternate;qt(le,le.current&1),qt(Me,t),Tn===null&&(e===null||Ha.current!==null||e.memoizedState!==null)&&(Tn=t)}function kn(t){if(t.tag===22){if(qt(le,le.current),qt(Me,t),Tn===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(Tn=t)}}else ha()}function ha(){qt(le,le.current),qt(Me,Me.current)}function Xn(t){Kt(Me),Tn===t&&(Tn=null),Kt(le)}var le=$(0);function ps(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var xo=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},Co=u.unstable_scheduleCallback,Do=u.unstable_NormalPriority,ie={$$typeof:tt,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function vs(){return{controller:new xo,data:new Map,refCount:0}}function ma(t){t.refCount--,t.refCount===0&&Co(Do,function(){t.controller.abort()})}var ga=null,xu=0,Al=0,On=null;function h(t,e){if(ga===null){var n=ga=[];xu=0,Al=Tf(),On={status:"pending",value:void 0,then:function(a){n.push(a)}}}return xu++,e.then(i,i),e}function i(){if(--xu===0&&ga!==null){On!==null&&(On.status="fulfilled");var t=ga;ga=null,Al=0,On=null;for(var e=0;es?s:8;var d=ft.T,g={};ft.T=g,jo(t,!1,e,n);try{var y=l(),A=ft.S;if(A!==null&&A(g,y),y!==null&&typeof y=="object"&&typeof y.then=="function"){var z=c(y,a);Uu(t,e,z,fn(t))}else Uu(t,e,a,fn(t))}catch(H){Uu(t,e,{then:function(){},status:"rejected",reason:H},fn())}finally{vt.p=s,ft.T=d}}function wp(){}function No(t,e,n,a){if(t.tag!==5)throw Error(o(476));var l=$d(t).queue;Kd(t,l,e,oe,n===null?wp:function(){return Jd(t),n(a)})}function $d(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ue,lastRenderedState:oe},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ue,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Jd(t){var e=$d(t).next.queue;Uu(t,e,{},fn())}function Ro(){return ze(nr)}function Fd(){return At().memoizedState}function Wd(){return At().memoizedState}function zp(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=fn();t=Cl(n);var a=Dl(e,t,n);a!==null&&(Qe(a,e,n),Bu(a,e,n)),e={cache:vs()},t.payload=e;return}e=e.return}}function Np(t,e,n){var a=fn();n={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},rc(t)?Id(e,n):(n=sn(t,e,n,a),n!==null&&(Qe(n,t,a),th(n,e,a)))}function Pd(t,e,n){var a=fn();Uu(t,e,n,a)}function Uu(t,e,n,a){var l={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(rc(t))Id(e,l);else{var s=t.alternate;if(t.lanes===0&&(s===null||s.lanes===0)&&(s=e.lastRenderedReducer,s!==null))try{var d=e.lastRenderedState,g=s(d,n);if(l.hasEagerState=!0,l.eagerState=g,kt(g,d))return ss(t,e,l,0),Gt===null&&is(),!1}catch{}finally{}if(n=sn(t,e,l,a),n!==null)return Qe(n,t,a),th(n,e,a),!0}return!1}function jo(t,e,n,a){if(a={lane:2,revertLane:Tf(),action:a,hasEagerState:!1,eagerState:null,next:null},rc(t)){if(e)throw Error(o(479))}else e=sn(t,n,a,2),e!==null&&Qe(e,t,2)}function rc(t){var e=t.alternate;return t===L||e!==null&&e===L}function Id(t,e){et=ht=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function th(t,e,n){if(n&4194176){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,br(t,n)}}var va={readContext:ze,use:Bt,useCallback:W,useContext:W,useEffect:W,useImperativeHandle:W,useLayoutEffect:W,useInsertionEffect:W,useMemo:W,useReducer:W,useRef:W,useState:W,useDebugValue:W,useDeferredValue:W,useTransition:W,useSyncExternalStore:W,useId:W};va.useCacheRefresh=W,va.useMemoCache=W,va.useHostTransitionStatus=W,va.useFormState=W,va.useActionState=W,va.useOptimistic=W;var Ai={readContext:ze,use:Bt,useCallback:function(t,e){return Xt().memoizedState=[t,e===void 0?null:e],t},useContext:ze,useEffect:ju,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,_i(4194308,4,As.bind(null,e,t),n)},useLayoutEffect:function(t,e){return _i(4194308,4,t,e)},useInsertionEffect:function(t,e){_i(4,2,t,e)},useMemo:function(t,e){var n=Xt();e=e===void 0?null:e;var a=t();if(at){na(!0);try{t()}finally{na(!1)}}return n.memoizedState=[a,e],a},useReducer:function(t,e,n){var a=Xt();if(n!==void 0){var l=n(e);if(at){na(!0);try{n(e)}finally{na(!1)}}}else l=e;return a.memoizedState=a.baseState=l,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:l},a.queue=t,t=t.dispatch=Np.bind(null,L,t),[a.memoizedState,t]},useRef:function(t){var e=Xt();return t={current:t},e.memoizedState=t},useState:function(t){t=El(t);var e=t.queue,n=Pd.bind(null,L,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:wo,useDeferredValue:function(t,e){var n=Xt();return zo(n,t,e)},useTransition:function(){var t=El(!1);return t=Kd.bind(null,L,t.queue,!0,!1),Xt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var a=L,l=Xt();if(_t){if(n===void 0)throw Error(o(407));n=n()}else{if(n=e(),Gt===null)throw Error(o(349));Dt&60||Ge(a,e,n)}l.memoizedState=n;var s={value:n,getSnapshot:e};return l.queue=s,ju(bi.bind(null,a,s,t),[t]),a.flags|=2048,qa(9,Qn.bind(null,a,s,n,e),{destroy:void 0},null),n},useId:function(){var t=Xt(),e=Gt.identifierPrefix;if(_t){var n=un,a=ke;n=(a&~(1<<32-He(a)-1)).toString(32)+n,e=":"+e+"R"+n,n=lt++,0 title"))),Oe(s,a,n),s[se]=t,Ft(s),a=s;break t;case"link":var d=Cm("link","href",l).get(a+(n.href||""));if(d){for(var g=0;g<\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof a.is=="string"?l.createElement("select",{is:a.is}):l.createElement("select"),a.multiple?t.multiple=!0:a.size&&(t.size=a.size);break;default:t=typeof a.is=="string"?l.createElement(n,{is:a.is}):l.createElement(n)}}t[se]=e,t[xe]=a;t:for(l=e.child;l!==null;){if(l.tag===5||l.tag===6)t.appendChild(l.stateNode);else if(l.tag!==4&&l.tag!==27&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===e)break t;for(;l.sibling===null;){if(l.return===null||l.return===e)break t;l=l.return}l.sibling.return=l.return,l=l.sibling}e.stateNode=t;t:switch(Oe(t,n,a),n){case"button":case"input":case"select":case"textarea":t=!!a.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&Va(e)}}return $t(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&Va(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(o(166));if(t=Ve.current,vl(e)){if(t=e.stateNode,n=e.memoizedProps,a=null,l=Se,l!==null)switch(l.tag){case 27:case 5:a=l.memoizedProps}t[se]=e,t=!!(t.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||gm(t.nodeValue,n)),t||La(e)}else t=Cc(t).createTextNode(a),t[se]=e,e.stateNode=t}return $t(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(l=vl(e),a!==null&&a.dehydrated!==null){if(t===null){if(!l)throw Error(o(318));if(l=e.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(o(317));l[se]=e}else hi(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;$t(e),l=!1}else Xe!==null&&(vf(Xe),Xe=null),l=!0;if(!l)return e.flags&256?(Xn(e),e):(Xn(e),null)}if(Xn(e),e.flags&128)return e.lanes=n,e;if(n=a!==null,t=t!==null&&t.memoizedState!==null,n){a=e.child,l=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(l=a.alternate.memoizedState.cachePool.pool);var s=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(s=a.memoizedState.cachePool.pool),s!==l&&(a.flags|=2048)}return n!==t&&n&&(e.child.flags|=8192),pc(e,e.updateQueue),$t(e),null;case 4:return tn(),t===null&&Df(e.stateNode.containerInfo),$t(e),null;case 10:return ka(e.type),$t(e),null;case 19:if(Kt(le),l=e.memoizedState,l===null)return $t(e),null;if(a=(e.flags&128)!==0,s=l.rendering,s===null)if(a)Zu(l,!1);else{if(It!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(s=ps(t),s!==null){for(e.flags|=128,Zu(l,!1),t=s.updateQueue,e.updateQueue=t,pc(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)Gh(n,t),n=n.sibling;return qt(le,le.current&1|2),e.child}t=t.sibling}l.tail!==null&&Le()>vc&&(e.flags|=128,a=!0,Zu(l,!1),e.lanes=4194304)}else{if(!a)if(t=ps(s),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,pc(e,t),Zu(l,!0),l.tail===null&&l.tailMode==="hidden"&&!s.alternate&&!_t)return $t(e),null}else 2*Le()-l.renderingStartTime>vc&&n!==536870912&&(e.flags|=128,a=!0,Zu(l,!1),e.lanes=4194304);l.isBackwards?(s.sibling=e.child,e.child=s):(t=l.last,t!==null?t.sibling=s:e.child=s,l.last=s)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=Le(),e.sibling=null,t=le.current,qt(le,a?t&1|2:t&1),e):($t(e),null);case 22:case 23:return Xn(e),gs(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?n&536870912&&!(e.flags&128)&&($t(e),e.subtreeFlags&6&&(e.flags|=8192)):$t(e),n=e.updateQueue,n!==null&&pc(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==n&&(e.flags|=2048),t!==null&&Kt(b),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),ka(ie),$t(e),null;case 25:return null}throw Error(o(156,e.tag))}function Bp(t,e){switch(Bn(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return ka(ie),tn(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Ui(e),null;case 13:if(Xn(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));hi()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Kt(le),null;case 4:return tn(),null;case 10:return ka(e.type),null;case 22:case 23:return Xn(e),gs(),t!==null&&Kt(b),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return ka(ie),null;case 25:return null;default:return null}}function Zh(t,e){switch(Bn(e),e.tag){case 3:ka(ie),tn();break;case 26:case 27:case 5:Ui(e);break;case 4:tn();break;case 13:Xn(e);break;case 19:Kt(le);break;case 10:ka(e.type);break;case 22:case 23:Xn(e),gs(),t!==null&&Kt(b);break;case 24:ka(ie)}}var Yp={getCacheForType:function(t){var e=ze(ie),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n}},kp=typeof WeakMap=="function"?WeakMap:Map,Jt=0,Gt=null,St=null,Dt=0,Qt=0,on=null,Za=!1,xs=!1,of=!1,Ka=0,It=0,Rl=0,Mi=0,ff=0,Mn=0,Cs=0,Ku=null,ya=null,df=!1,hf=0,vc=1/0,yc=null,jl=null,bc=!1,wi=null,$u=0,mf=0,gf=null,Ju=0,pf=null;function fn(){if(Jt&2&&Dt!==0)return Dt&-Dt;if(ft.T!==null){var t=Al;return t!==0?t:Tf()}return Oa()}function Kh(){Mn===0&&(Mn=!(Dt&536870912)||_t?Ta():536870912);var t=Me.current;return t!==null&&(t.flags|=32),Mn}function Qe(t,e,n){(t===Gt&&Qt===2||t.cancelPendingCommit!==null)&&(Ds(t,0),$a(t,Dt,Mn,!1)),Pl(t,n),(!(Jt&2)||t!==Gt)&&(t===Gt&&(!(Jt&2)&&(Mi|=n),It===4&&$a(t,Dt,Mn,!1)),ba(t))}function $h(t,e,n){if(Jt&6)throw Error(o(327));var a=!n&&(e&60)===0&&(e&t.expiredLanes)===0||Wl(t,e),l=a?Qp(t,e):_f(t,e,!0),s=a;do{if(l===0){xs&&!a&&$a(t,e,0,!1);break}else if(l===6)$a(t,e,0,!Za);else{if(n=t.current.alternate,s&&!Xp(n)){l=_f(t,e,!1),s=!1;continue}if(l===2){if(s=e,t.errorRecoveryDisabledLanes&s)var d=0;else d=t.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){e=d;t:{var g=t;l=Ku;var y=g.current.memoizedState.isDehydrated;if(y&&(Ds(g,d).flags|=256),d=_f(g,d,!1),d!==2){if(of&&!y){g.errorRecoveryDisabledLanes|=s,Mi|=s,l=4;break t}s=ya,ya=l,s!==null&&vf(s)}l=d}if(s=!1,l!==2)continue}}if(l===1){Ds(t,0),$a(t,e,0,!0);break}t:{switch(a=t,l){case 0:case 1:throw Error(o(345));case 4:if((e&4194176)===e){$a(a,e,Mn,!Za);break t}break;case 2:ya=null;break;case 3:case 5:break;default:throw Error(o(329))}if(a.finishedWork=n,a.finishedLanes=e,(e&62914560)===e&&(s=hf+300-Le(),10n?32:n,ft.T=null,wi===null)var s=!1;else{n=gf,gf=null;var d=wi,g=$u;if(wi=null,$u=0,Jt&6)throw Error(o(331));var y=Jt;if(Jt|=4,kh(d.current),qh(d,d.current,g,n),Jt=y,Fu(0,!1),Ue&&typeof Ue.onPostCommitFiberRoot=="function")try{Ue.onPostCommitFiberRoot($l,d)}catch{}s=!0}return s}finally{vt.p=l,ft.T=a,am(t,e)}}return!1}function lm(t,e,n){e=We(n,e),e=Ho(t.stateNode,e,2),t=Dl(t,e,2),t!==null&&(Pl(t,2),ba(t))}function Yt(t,e,n){if(t.tag===3)lm(t,t,n);else for(;e!==null;){if(e.tag===3){lm(e,t,n);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(jl===null||!jl.has(a))){t=We(n,t),n=uh(2),a=Dl(e,n,2),a!==null&&(rh(n,a,e,t),Pl(a,2),ba(a));break}}e=e.return}}function Sf(t,e,n){var a=t.pingCache;if(a===null){a=t.pingCache=new kp;var l=new Set;a.set(e,l)}else l=a.get(e),l===void 0&&(l=new Set,a.set(e,l));l.has(n)||(of=!0,l.add(n),t=Kp.bind(null,t,e,n),e.then(t,t))}function Kp(t,e,n){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Gt===t&&(Dt&n)===n&&(It===4||It===3&&(Dt&62914560)===Dt&&300>Le()-hf?!(Jt&2)&&Ds(t,0):ff|=n,Cs===Dt&&(Cs=0)),ba(t)}function im(t,e){e===0&&(e=nl()),t=qn(t,e),t!==null&&(Pl(t,e),ba(t))}function $p(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),im(t,n)}function Jp(t,e){var n=0;switch(t.tag){case 13:var a=t.stateNode,l=t.memoizedState;l!==null&&(n=l.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(e),im(t,n)}function Fp(t,e){return Gs(t,e)}var Ac=null,zs=null,Af=!1,Ec=!1,Ef=!1,zi=0;function ba(t){t!==zs&&t.next===null&&(zs===null?Ac=zs=t:zs=zs.next=t),Ec=!0,Af||(Af=!0,Pp(Wp))}function Fu(t,e){if(!Ef&&Ec){Ef=!0;do for(var n=!1,a=Ac;a!==null;){if(t!==0){var l=a.pendingLanes;if(l===0)var s=0;else{var d=a.suspendedLanes,g=a.pingedLanes;s=(1<<31-He(42|t)+1)-1,s&=l&~(d&~g),s=s&201326677?s&201326677|1:s?s|2:0}s!==0&&(n=!0,rm(a,s))}else s=Dt,s=qi(a,a===Gt?s:0),!(s&3)||Wl(a,s)||(n=!0,rm(a,s));a=a.next}while(n);Ef=!1}}function Wp(){Ec=Af=!1;var t=0;zi!==0&&(s0()&&(t=zi),zi=0);for(var e=Le(),n=null,a=Ac;a!==null;){var l=a.next,s=sm(a,e);s===0?(a.next=null,n===null?Ac=l:n.next=l,l===null&&(zs=n)):(n=a,(t!==0||s&3)&&(Ec=!0)),a=l}Fu(t)}function sm(t,e){for(var n=t.suspendedLanes,a=t.pingedLanes,l=t.expirationTimes,s=t.pendingLanes&-62914561;0"u"?null:document;function Em(t,e,n){var a=Rs;if(a&&typeof e=="string"&&e){var l=De(e);l='link[rel="'+t+'"][href="'+l+'"]',typeof n=="string"&&(l+='[crossorigin="'+n+'"]'),Am.has(l)||(Am.add(l),t={rel:t,crossOrigin:n,href:e},a.querySelector(l)===null&&(e=a.createElement("link"),Oe(e,"link",t),Ft(e),a.head.appendChild(e)))}}function m0(t){Ja.D(t),Em("dns-prefetch",t,null)}function g0(t,e){Ja.C(t,e),Em("preconnect",t,e)}function p0(t,e,n){Ja.L(t,e,n);var a=Rs;if(a&&t&&e){var l='link[rel="preload"][as="'+De(e)+'"]';e==="image"&&n&&n.imageSrcSet?(l+='[imagesrcset="'+De(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(l+='[imagesizes="'+De(n.imageSizes)+'"]')):l+='[href="'+De(t)+'"]';var s=l;switch(e){case"style":s=js(t);break;case"script":s=Ls(t)}wn.has(s)||(t=wt({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),wn.set(s,t),a.querySelector(l)!==null||e==="style"&&a.querySelector(Iu(s))||e==="script"&&a.querySelector(tr(s))||(e=a.createElement("link"),Oe(e,"link",t),Ft(e),a.head.appendChild(e)))}}function v0(t,e){Ja.m(t,e);var n=Rs;if(n&&t){var a=e&&typeof e.as=="string"?e.as:"script",l='link[rel="modulepreload"][as="'+De(a)+'"][href="'+De(t)+'"]',s=l;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=Ls(t)}if(!wn.has(s)&&(t=wt({rel:"modulepreload",href:t},e),wn.set(s,t),n.querySelector(l)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(tr(s)))return}a=n.createElement("link"),Oe(a,"link",t),Ft(a),n.head.appendChild(a)}}}function y0(t,e,n){Ja.S(t,e,n);var a=Rs;if(a&&t){var l=xa(a).hoistableStyles,s=js(t);e=e||"default";var d=l.get(s);if(!d){var g={loading:0,preload:null};if(d=a.querySelector(Iu(s)))g.loading=5;else{t=wt({rel:"stylesheet",href:t,"data-precedence":e},n),(n=wn.get(s))&&Hf(t,n);var y=d=a.createElement("link");Ft(y),Oe(y,"link",t),y._p=new Promise(function(A,z){y.onload=A,y.onerror=z}),y.addEventListener("load",function(){g.loading|=1}),y.addEventListener("error",function(){g.loading|=2}),g.loading|=4,Mc(d,e,a)}d={type:"stylesheet",instance:d,count:1,state:g},l.set(s,d)}}}function b0(t,e){Ja.X(t,e);var n=Rs;if(n&&t){var a=xa(n).hoistableScripts,l=Ls(t),s=a.get(l);s||(s=n.querySelector(tr(l)),s||(t=wt({src:t,async:!0},e),(e=wn.get(l))&&qf(t,e),s=n.createElement("script"),Ft(s),Oe(s,"link",t),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},a.set(l,s))}}function _0(t,e){Ja.M(t,e);var n=Rs;if(n&&t){var a=xa(n).hoistableScripts,l=Ls(t),s=a.get(l);s||(s=n.querySelector(tr(l)),s||(t=wt({src:t,async:!0,type:"module"},e),(e=wn.get(l))&&qf(t,e),s=n.createElement("script"),Ft(s),Oe(s,"link",t),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},a.set(l,s))}}function Tm(t,e,n,a){var l=(l=Ve.current)?Dc(l):null;if(!l)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=js(n.href),n=xa(l).hoistableStyles,a=n.get(e),a||(a={type:"style",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=js(n.href);var s=xa(l).hoistableStyles,d=s.get(t);if(d||(l=l.ownerDocument||l,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(t,d),(s=l.querySelector(Iu(t)))&&!s._p&&(d.instance=s,d.state.loading=5),wn.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},wn.set(t,n),s||S0(l,t,n,d.state))),e&&a===null)throw Error(o(528,""));return d}if(e&&a!==null)throw Error(o(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Ls(n),n=xa(l).hoistableScripts,a=n.get(e),a||(a={type:"script",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function js(t){return'href="'+De(t)+'"'}function Iu(t){return'link[rel="stylesheet"]['+t+"]"}function Om(t){return wt({},t,{"data-precedence":t.precedence,precedence:null})}function S0(t,e,n,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),Oe(e,"link",n),Ft(e),t.head.appendChild(e))}function Ls(t){return'[src="'+De(t)+'"]'}function tr(t){return"script[async]"+t}function xm(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+De(n.href)+'"]');if(a)return e.instance=a,Ft(a),a;var l=wt({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Ft(a),Oe(a,"style",l),Mc(a,n.precedence,t),e.instance=a;case"stylesheet":l=js(n.href);var s=t.querySelector(Iu(l));if(s)return e.state.loading|=4,e.instance=s,Ft(s),s;a=Om(n),(l=wn.get(l))&&Hf(a,l),s=(t.ownerDocument||t).createElement("link"),Ft(s);var d=s;return d._p=new Promise(function(g,y){d.onload=g,d.onerror=y}),Oe(s,"link",a),e.state.loading|=4,Mc(s,n.precedence,t),e.instance=s;case"script":return s=Ls(n.src),(l=t.querySelector(tr(s)))?(e.instance=l,Ft(l),l):(a=n,(l=wn.get(s))&&(a=wt({},n),qf(a,l)),t=t.ownerDocument||t,l=t.createElement("script"),Ft(l),Oe(l,"link",a),t.head.appendChild(l),e.instance=l);case"void":return null;default:throw Error(o(443,e.type))}else e.type==="stylesheet"&&!(e.state.loading&4)&&(a=e.instance,e.state.loading|=4,Mc(a,n.precedence,t));return e.instance}function Mc(t,e,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=a.length?a[a.length-1]:null,s=l,d=0;d title"):null)}function A0(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Mm(t){return!(t.type==="stylesheet"&&!(t.state.loading&3))}var er=null;function E0(){}function T0(t,e,n){if(er===null)throw Error(o(475));var a=er;if(e.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&!(e.state.loading&4)){if(e.instance===null){var l=js(n.href),s=t.querySelector(Iu(l));if(s){t=s._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(a.count++,a=zc.bind(a),t.then(a,a)),e.state.loading|=4,e.instance=s,Ft(s);return}s=t.ownerDocument||t,n=Om(n),(l=wn.get(l))&&Hf(n,l),s=s.createElement("link"),Ft(s);var d=s;d._p=new Promise(function(g,y){d.onload=g,d.onerror=y}),Oe(s,"link",n),e.instance=s}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(e,t),(t=e.state.preload)&&!(e.state.loading&3)&&(a.count++,e=zc.bind(a),t.addEventListener("load",e),t.addEventListener("error",e))}}function O0(){if(er===null)throw Error(o(475));var t=er;return t.stylesheets&&t.count===0&&Bf(t,t.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(r){console.error(r)}}return u(),Kf.exports=Z0(),Kf.exports}var $0=K0(),Xc={exports:{}};/*! * Bootstrap v5.3.3 (https://getbootstrap.com/) * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */var J0=Xc.exports,Km;function F0(){return Km||(Km=1,function(u,r){(function(f,o){u.exports=o()})(J0,function(){const f=new Map,o={set(h,i,c){f.has(h)||f.set(h,new Map);const p=f.get(h);p.has(i)||p.size===0?p.set(i,c):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(p.keys())[0]}.`)},get:(h,i)=>f.has(h)&&f.get(h).get(i)||null,remove(h,i){if(!f.has(h))return;const c=f.get(h);c.delete(i),c.size===0&&f.delete(h)}},m="transitionend",v=h=>(h&&window.CSS&&window.CSS.escape&&(h=h.replace(/#([^\s"#']+)/g,(i,c)=>`#${CSS.escape(c)}`)),h),S=h=>{h.dispatchEvent(new Event(m))},x=h=>!(!h||typeof h!="object")&&(h.jquery!==void 0&&(h=h[0]),h.nodeType!==void 0),N=h=>x(h)?h.jquery?h[0]:h:typeof h=="string"&&h.length>0?document.querySelector(v(h)):null,U=h=>{if(!x(h)||h.getClientRects().length===0)return!1;const i=getComputedStyle(h).getPropertyValue("visibility")==="visible",c=h.closest("details:not([open])");if(!c)return i;if(c!==h){const p=h.closest("summary");if(p&&p.parentNode!==c||p===null)return!1}return i},X=h=>!h||h.nodeType!==Node.ELEMENT_NODE||!!h.classList.contains("disabled")||(h.disabled!==void 0?h.disabled:h.hasAttribute("disabled")&&h.getAttribute("disabled")!=="false"),Z=h=>{if(!document.documentElement.attachShadow)return null;if(typeof h.getRootNode=="function"){const i=h.getRootNode();return i instanceof ShadowRoot?i:null}return h instanceof ShadowRoot?h:h.parentNode?Z(h.parentNode):null},Q=()=>{},tt=h=>{h.offsetHeight},ct=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Et=[],rt=()=>document.documentElement.dir==="rtl",ot=h=>{var i;i=()=>{const c=ct();if(c){const p=h.NAME,b=c.fn[p];c.fn[p]=h.jQueryInterface,c.fn[p].Constructor=h,c.fn[p].noConflict=()=>(c.fn[p]=b,h.jQueryInterface)}},document.readyState==="loading"?(Et.length||document.addEventListener("DOMContentLoaded",()=>{for(const c of Et)c()}),Et.push(i)):i()},it=(h,i=[],c=h)=>typeof h=="function"?h(...i):c,Ct=(h,i,c=!0)=>{if(!c)return void it(h);const p=(D=>{if(!D)return 0;let{transitionDuration:j,transitionDelay:k}=window.getComputedStyle(D);const L=Number.parseFloat(j),q=Number.parseFloat(k);return L||q?(j=j.split(",")[0],k=k.split(",")[0],1e3*(Number.parseFloat(j)+Number.parseFloat(k))):0})(i)+5;let b=!1;const E=({target:D})=>{D===i&&(b=!0,i.removeEventListener(m,E),it(h))};i.addEventListener(m,E),setTimeout(()=>{b||S(i)},p)},ee=(h,i,c,p)=>{const b=h.length;let E=h.indexOf(i);return E===-1?!c&&p?h[b-1]:h[0]:(E+=c?1:-1,p&&(E=(E+b)%b),h[Math.max(0,Math.min(E,b-1))])},ne=/[^.]*(?=\..*)\.|.*/,Re=/\..*/,Kn=/::\d+$/,hn={};let ft=1;const wt={mouseenter:"mouseover",mouseleave:"mouseout"},zn=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 Ia(h,i){return i&&`${i}::${ft++}`||h.uidEvent||ft++}function $n(h){const i=Ia(h);return h.uidEvent=i,hn[i]=hn[i]||{},hn[i]}function Jn(h,i,c=null){return Object.values(h).find(p=>p.callable===i&&p.delegationSelector===c)}function Fn(h,i,c){const p=typeof i=="string",b=p?c:i||c;let E=Ht(h);return zn.has(E)||(E=h),[p,b,E]}function V(h,i,c,p,b){if(typeof i!="string"||!h)return;let[E,D,j]=Fn(i,c,p);i in wt&&(D=(at=>function(lt){if(!lt.relatedTarget||lt.relatedTarget!==lt.delegateTarget&&!lt.delegateTarget.contains(lt.relatedTarget))return at.call(this,lt)})(D));const k=$n(h),L=k[j]||(k[j]={}),q=Jn(L,D,E?c:null);if(q)return void(q.oneOff=q.oneOff&&b);const B=Ia(D,i.replace(ne,"")),ht=E?function(et,at,lt){return function st(Tt){const Lt=et.querySelectorAll(at);for(let{target:W}=Tt;W&&W!==this;W=W.parentNode)for(const Ot of Lt)if(Ot===W)return Wn(Tt,{delegateTarget:W}),st.oneOff&&w.off(et,Tt.type,at,lt),lt.apply(W,[Tt])}}(h,c,D):function(et,at){return function lt(st){return Wn(st,{delegateTarget:et}),lt.oneOff&&w.off(et,st.type,at),at.apply(et,[st])}}(h,D);ht.delegationSelector=E?c:null,ht.callable=D,ht.oneOff=b,ht.uidEvent=B,L[B]=ht,h.addEventListener(j,ht,E)}function mt(h,i,c,p,b){const E=Jn(i[c],p,b);E&&(h.removeEventListener(c,E,!!b),delete i[c][E.uidEvent])}function dt(h,i,c,p){const b=i[c]||{};for(const[E,D]of Object.entries(b))E.includes(p)&&mt(h,i,c,D.callable,D.delegationSelector)}function Ht(h){return h=h.replace(Re,""),wt[h]||h}const w={on(h,i,c,p){V(h,i,c,p,!1)},one(h,i,c,p){V(h,i,c,p,!0)},off(h,i,c,p){if(typeof i!="string"||!h)return;const[b,E,D]=Fn(i,c,p),j=D!==i,k=$n(h),L=k[D]||{},q=i.startsWith(".");if(E===void 0){if(q)for(const B of Object.keys(k))dt(h,k,B,i.slice(1));for(const[B,ht]of Object.entries(L)){const et=B.replace(Kn,"");j&&!i.includes(et)||mt(h,k,D,ht.callable,ht.delegationSelector)}}else{if(!Object.keys(L).length)return;mt(h,k,D,E,b?c:null)}},trigger(h,i,c){if(typeof i!="string"||!h)return null;const p=ct();let b=null,E=!0,D=!0,j=!1;i!==Ht(i)&&p&&(b=p.Event(i,c),p(h).trigger(b),E=!b.isPropagationStopped(),D=!b.isImmediatePropagationStopped(),j=b.isDefaultPrevented());const k=Wn(new Event(i,{bubbles:E,cancelable:!0}),c);return j&&k.preventDefault(),D&&h.dispatchEvent(k),k.defaultPrevented&&b&&b.preventDefault(),k}};function Wn(h,i={}){for(const[c,p]of Object.entries(i))try{h[c]=p}catch{Object.defineProperty(h,c,{configurable:!0,get:()=>p})}return h}function Pn(h){if(h==="true")return!0;if(h==="false")return!1;if(h===Number(h).toString())return Number(h);if(h===""||h==="null")return null;if(typeof h!="string")return h;try{return JSON.parse(decodeURIComponent(h))}catch{return h}}function Ie(h){return h.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`)}const vt={setDataAttribute(h,i,c){h.setAttribute(`data-bs-${Ie(i)}`,c)},removeDataAttribute(h,i){h.removeAttribute(`data-bs-${Ie(i)}`)},getDataAttributes(h){if(!h)return{};const i={},c=Object.keys(h.dataset).filter(p=>p.startsWith("bs")&&!p.startsWith("bsConfig"));for(const p of c){let b=p.replace(/^bs/,"");b=b.charAt(0).toLowerCase()+b.slice(1,b.length),i[b]=Pn(h.dataset[p])}return i},getDataAttribute:(h,i)=>Pn(h.getAttribute(`data-bs-${Ie(i)}`))};class oe{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(i){return i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i}_mergeConfigObj(i,c){const p=x(c)?vt.getDataAttribute(c,"config"):{};return{...this.constructor.Default,...typeof p=="object"?p:{},...x(c)?vt.getDataAttributes(c):{},...typeof i=="object"?i:{}}}_typeCheckConfig(i,c=this.constructor.DefaultType){for(const[b,E]of Object.entries(c)){const D=i[b],j=x(D)?"element":(p=D)==null?`${p}`:Object.prototype.toString.call(p).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(E).test(j))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${b}" provided type "${j}" but expected type "${E}".`)}var p}}class je extends oe{constructor(i,c){super(),(i=N(i))&&(this._element=i,this._config=this._getConfig(c),o.set(this._element,this.constructor.DATA_KEY,this))}dispose(){o.remove(this._element,this.constructor.DATA_KEY),w.off(this._element,this.constructor.EVENT_KEY);for(const i of Object.getOwnPropertyNames(this))this[i]=null}_queueCallback(i,c,p=!0){Ct(i,c,p)}_getConfig(i){return i=this._mergeConfigObj(i,this._element),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}static getInstance(i){return o.get(N(i),this.DATA_KEY)}static getOrCreateInstance(i,c={}){return this.getInstance(i)||new this(i,typeof c=="object"?c:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(i){return`${i}${this.EVENT_KEY}`}}const In=h=>{let i=h.getAttribute("data-bs-target");if(!i||i==="#"){let c=h.getAttribute("href");if(!c||!c.includes("#")&&!c.startsWith("."))return null;c.includes("#")&&!c.startsWith("#")&&(c=`#${c.split("#")[1]}`),i=c&&c!=="#"?c.trim():null}return i?i.split(",").map(c=>v(c)).join(","):null},$={find:(h,i=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(i,h)),findOne:(h,i=document.documentElement)=>Element.prototype.querySelector.call(i,h),children:(h,i)=>[].concat(...h.children).filter(c=>c.matches(i)),parents(h,i){const c=[];let p=h.parentNode.closest(i);for(;p;)c.push(p),p=p.parentNode.closest(i);return c},prev(h,i){let c=h.previousElementSibling;for(;c;){if(c.matches(i))return[c];c=c.previousElementSibling}return[]},next(h,i){let c=h.nextElementSibling;for(;c;){if(c.matches(i))return[c];c=c.nextElementSibling}return[]},focusableChildren(h){const i=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(c=>`${c}:not([tabindex^="-"])`).join(",");return this.find(i,h).filter(c=>!X(c)&&U(c))},getSelectorFromElement(h){const i=In(h);return i&&$.findOne(i)?i:null},getElementFromSelector(h){const i=In(h);return i?$.findOne(i):null},getMultipleElementsFromSelector(h){const i=In(h);return i?$.find(i):[]}},Kt=(h,i="hide")=>{const c=`click.dismiss${h.EVENT_KEY}`,p=h.NAME;w.on(document,c,`[data-bs-dismiss="${p}"]`,function(b){if(["A","AREA"].includes(this.tagName)&&b.preventDefault(),X(this))return;const E=$.getElementFromSelector(this)||this.closest(`.${p}`);h.getOrCreateInstance(E)[i]()})},qt=".bs.alert",mn=`close${qt}`,Vl=`closed${qt}`;class Ve extends je{static get NAME(){return"alert"}close(){if(w.trigger(this._element,mn).defaultPrevented)return;this._element.classList.remove("show");const i=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,i)}_destroyElement(){this._element.remove(),w.trigger(this._element,Vl),this.dispose()}static jQueryInterface(i){return this.each(function(){const c=Ve.getOrCreateInstance(this);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}Kt(Ve,"close"),ot(Ve);const Zl='[data-bs-toggle="button"]';class ta extends je{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(i){return this.each(function(){const c=ta.getOrCreateInstance(this);i==="toggle"&&c[i]()})}}w.on(document,"click.bs.button.data-api",Zl,h=>{h.preventDefault();const i=h.target.closest(Zl);ta.getOrCreateInstance(i).toggle()}),ot(ta);const tn=".bs.swipe",ks=`touchstart${tn}`,Ui=`touchmove${tn}`,Xs=`touchend${tn}`,Gs=`pointerdown${tn}`,Qs=`pointerup${tn}`,ao={endCallback:null,leftCallback:null,rightCallback:null},lo={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Le extends oe{constructor(i,c){super(),this._element=i,i&&Le.isSupported()&&(this._config=this._getConfig(c),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return ao}static get DefaultType(){return lo}static get NAME(){return"swipe"}dispose(){w.off(this._element,tn)}_start(i){this._supportPointerEvents?this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX):this._deltaX=i.touches[0].clientX}_end(i){this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX-this._deltaX),this._handleSwipe(),it(this._config.endCallback)}_move(i){this._deltaX=i.touches&&i.touches.length>1?0:i.touches[0].clientX-this._deltaX}_handleSwipe(){const i=Math.abs(this._deltaX);if(i<=40)return;const c=i/this._deltaX;this._deltaX=0,c&&it(c>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(w.on(this._element,Gs,i=>this._start(i)),w.on(this._element,Qs,i=>this._end(i)),this._element.classList.add("pointer-event")):(w.on(this._element,ks,i=>this._start(i)),w.on(this._element,Ui,i=>this._move(i)),w.on(this._element,Xs,i=>this._end(i)))}_eventIsPointerPenTouch(i){return this._supportPointerEvents&&(i.pointerType==="pen"||i.pointerType==="touch")}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const ea=".bs.carousel",Vs=".data-api",tl="next",Nn="prev",el="left",Kl="right",io=`slide${ea}`,Zs=`slid${ea}`,$l=`keydown${ea}`,Ue=`mouseenter${ea}`,so=`mouseleave${ea}`,na=`dragstart${ea}`,He=`load${ea}${Vs}`,uo=`click${ea}${Vs}`,vr="carousel",Hi="active",Jl=".active",Fl=".carousel-item",Ea=Jl+Fl,qi={ArrowLeft:Kl,ArrowRight:el},Wl={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ro={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ta extends je{constructor(i,c){super(i,c),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=$.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===vr&&this.cycle()}static get Default(){return Wl}static get DefaultType(){return ro}static get NAME(){return"carousel"}next(){this._slide(tl)}nextWhenVisible(){!document.hidden&&U(this._element)&&this.next()}prev(){this._slide(Nn)}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?w.one(this._element,Zs,()=>this.cycle()):this.cycle())}to(i){const c=this._getItems();if(i>c.length-1||i<0)return;if(this._isSliding)return void w.one(this._element,Zs,()=>this.to(i));const p=this._getItemIndex(this._getActive());if(p===i)return;const b=i>p?tl:Nn;this._slide(b,c[i])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(i){return i.defaultInterval=i.interval,i}_addEventListeners(){this._config.keyboard&&w.on(this._element,$l,i=>this._keydown(i)),this._config.pause==="hover"&&(w.on(this._element,Ue,()=>this.pause()),w.on(this._element,so,()=>this._maybeEnableCycle())),this._config.touch&&Le.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const c of $.find(".carousel-item img",this._element))w.on(c,na,p=>p.preventDefault());const i={leftCallback:()=>this._slide(this._directionToOrder(el)),rightCallback:()=>this._slide(this._directionToOrder(Kl)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new Le(this._element,i)}_keydown(i){if(/input|textarea/i.test(i.target.tagName))return;const c=qi[i.key];c&&(i.preventDefault(),this._slide(this._directionToOrder(c)))}_getItemIndex(i){return this._getItems().indexOf(i)}_setActiveIndicatorElement(i){if(!this._indicatorsElement)return;const c=$.findOne(Jl,this._indicatorsElement);c.classList.remove(Hi),c.removeAttribute("aria-current");const p=$.findOne(`[data-bs-slide-to="${i}"]`,this._indicatorsElement);p&&(p.classList.add(Hi),p.setAttribute("aria-current","true"))}_updateInterval(){const i=this._activeElement||this._getActive();if(!i)return;const c=Number.parseInt(i.getAttribute("data-bs-interval"),10);this._config.interval=c||this._config.defaultInterval}_slide(i,c=null){if(this._isSliding)return;const p=this._getActive(),b=i===tl,E=c||ee(this._getItems(),p,b,this._config.wrap);if(E===p)return;const D=this._getItemIndex(E),j=B=>w.trigger(this._element,B,{relatedTarget:E,direction:this._orderToDirection(i),from:this._getItemIndex(p),to:D});if(j(io).defaultPrevented||!p||!E)return;const k=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(D),this._activeElement=E;const L=b?"carousel-item-start":"carousel-item-end",q=b?"carousel-item-next":"carousel-item-prev";E.classList.add(q),tt(E),p.classList.add(L),E.classList.add(L),this._queueCallback(()=>{E.classList.remove(L,q),E.classList.add(Hi),p.classList.remove(Hi,q,L),this._isSliding=!1,j(Zs)},p,this._isAnimated()),k&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return $.findOne(Ea,this._element)}_getItems(){return $.find(Fl,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(i){return rt()?i===el?Nn:tl:i===el?tl:Nn}_orderToDirection(i){return rt()?i===Nn?el:Kl:i===Nn?Kl:el}static jQueryInterface(i){return this.each(function(){const c=Ta.getOrCreateInstance(this,i);if(typeof i!="number"){if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}}else c.to(i)})}}w.on(document,uo,"[data-bs-slide], [data-bs-slide-to]",function(h){const i=$.getElementFromSelector(this);if(!i||!i.classList.contains(vr))return;h.preventDefault();const c=Ta.getOrCreateInstance(i),p=this.getAttribute("data-bs-slide-to");return p?(c.to(p),void c._maybeEnableCycle()):vt.getDataAttribute(this,"slide")==="next"?(c.next(),void c._maybeEnableCycle()):(c.prev(),void c._maybeEnableCycle())}),w.on(window,He,()=>{const h=$.find('[data-bs-ride="carousel"]');for(const i of h)Ta.getOrCreateInstance(i)}),ot(Ta);const nl=".bs.collapse",Ks=`show${nl}`,Pl=`shown${nl}`,co=`hide${nl}`,yr=`hidden${nl}`,br=`click${nl}.data-api`,Bi="show",Oa="collapse",Yi="collapsing",aa=`:scope .${Oa} .${Oa}`,se='[data-bs-toggle="collapse"]',xe={parent:null,toggle:!0},al={parent:"(null|element)",toggle:"boolean"};class la extends je{constructor(i,c){super(i,c),this._isTransitioning=!1,this._triggerArray=[];const p=$.find(se);for(const b of p){const E=$.getSelectorFromElement(b),D=$.find(E).filter(j=>j===this._element);E!==null&&D.length&&this._triggerArray.push(b)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return xe}static get DefaultType(){return al}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let i=[];if(this._config.parent&&(i=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(b=>b!==this._element).map(b=>la.getOrCreateInstance(b,{toggle:!1}))),i.length&&i[0]._isTransitioning||w.trigger(this._element,Ks).defaultPrevented)return;for(const b of i)b.hide();const c=this._getDimension();this._element.classList.remove(Oa),this._element.classList.add(Yi),this._element.style[c]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const p=`scroll${c[0].toUpperCase()+c.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Yi),this._element.classList.add(Oa,Bi),this._element.style[c]="",w.trigger(this._element,Pl)},this._element,!0),this._element.style[c]=`${this._element[p]}px`}hide(){if(this._isTransitioning||!this._isShown()||w.trigger(this._element,co).defaultPrevented)return;const i=this._getDimension();this._element.style[i]=`${this._element.getBoundingClientRect()[i]}px`,tt(this._element),this._element.classList.add(Yi),this._element.classList.remove(Oa,Bi);for(const c of this._triggerArray){const p=$.getElementFromSelector(c);p&&!this._isShown(p)&&this._addAriaAndCollapsedClass([c],!1)}this._isTransitioning=!0,this._element.style[i]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Yi),this._element.classList.add(Oa),w.trigger(this._element,yr)},this._element,!0)}_isShown(i=this._element){return i.classList.contains(Bi)}_configAfterMerge(i){return i.toggle=!!i.toggle,i.parent=N(i.parent),i}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const i=this._getFirstLevelChildren(se);for(const c of i){const p=$.getElementFromSelector(c);p&&this._addAriaAndCollapsedClass([c],this._isShown(p))}}_getFirstLevelChildren(i){const c=$.find(aa,this._config.parent);return $.find(i,this._config.parent).filter(p=>!c.includes(p))}_addAriaAndCollapsedClass(i,c){if(i.length)for(const p of i)p.classList.toggle("collapsed",!c),p.setAttribute("aria-expanded",c)}static jQueryInterface(i){const c={};return typeof i=="string"&&/show|hide/.test(i)&&(c.toggle=!1),this.each(function(){const p=la.getOrCreateInstance(this,c);if(typeof i=="string"){if(p[i]===void 0)throw new TypeError(`No method named "${i}"`);p[i]()}})}}w.on(document,br,se,function(h){(h.target.tagName==="A"||h.delegateTarget&&h.delegateTarget.tagName==="A")&&h.preventDefault();for(const i of $.getMultipleElementsFromSelector(this))la.getOrCreateInstance(i,{toggle:!1}).toggle()}),ot(la);var ye="top",qe="bottom",Ce="right",ae="left",ll="auto",Ze=[ye,qe,Ce,ae],Ke="start",gn="end",xa="clippingParents",Ft="viewport",Ca="popper",$s="reference",Rn=Ze.reduce(function(h,i){return h.concat([i+"-"+Ke,i+"-"+gn])},[]),ia=[].concat(Ze,[ll]).reduce(function(h,i){return h.concat([i,i+"-"+Ke,i+"-"+gn])},[]),pn="beforeRead",_r="read",Js="afterRead",Fs="beforeMain",Sr="main",Il="afterMain",ti="beforeWrite",vn="write",Be="afterWrite",Ws=[pn,_r,Js,Fs,Sr,Il,ti,vn,Be];function yn(h){return h?(h.nodeName||"").toLowerCase():null}function fe(h){if(h==null)return window;if(h.toString()!=="[object Window]"){var i=h.ownerDocument;return i&&i.defaultView||window}return h}function sa(h){return h instanceof fe(h).Element||h instanceof Element}function be(h){return h instanceof fe(h).HTMLElement||h instanceof HTMLElement}function Ps(h){return typeof ShadowRoot<"u"&&(h instanceof fe(h).ShadowRoot||h instanceof ShadowRoot)}const De={name:"applyStyles",enabled:!0,phase:"write",fn:function(h){var i=h.state;Object.keys(i.elements).forEach(function(c){var p=i.styles[c]||{},b=i.attributes[c]||{},E=i.elements[c];be(E)&&yn(E)&&(Object.assign(E.style,p),Object.keys(b).forEach(function(D){var j=b[D];j===!1?E.removeAttribute(D):E.setAttribute(D,j===!0?"":j)}))})},effect:function(h){var i=h.state,c={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,c.popper),i.styles=c,i.elements.arrow&&Object.assign(i.elements.arrow.style,c.arrow),function(){Object.keys(i.elements).forEach(function(p){var b=i.elements[p],E=i.attributes[p]||{},D=Object.keys(i.styles.hasOwnProperty(p)?i.styles[p]:c[p]).reduce(function(j,k){return j[k]="",j},{});be(b)&&yn(b)&&(Object.assign(b.style,D),Object.keys(E).forEach(function(j){b.removeAttribute(j)}))})}},requires:["computeStyles"]};function $e(h){return h.split("-")[0]}var ua=Math.max,il=Math.min,en=Math.round;function ki(){var h=navigator.userAgentData;return h!=null&&h.brands&&Array.isArray(h.brands)?h.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function Is(){return!/^((?!chrome|android).)*safari/i.test(ki())}function nn(h,i,c){i===void 0&&(i=!1),c===void 0&&(c=!1);var p=h.getBoundingClientRect(),b=1,E=1;i&&be(h)&&(b=h.offsetWidth>0&&en(p.width)/h.offsetWidth||1,E=h.offsetHeight>0&&en(p.height)/h.offsetHeight||1);var D=(sa(h)?fe(h):window).visualViewport,j=!Is()&&c,k=(p.left+(j&&D?D.offsetLeft:0))/b,L=(p.top+(j&&D?D.offsetTop:0))/E,q=p.width/b,B=p.height/E;return{width:q,height:B,top:L,right:k+q,bottom:L+B,left:k,x:k,y:L}}function tu(h){var i=nn(h),c=h.offsetWidth,p=h.offsetHeight;return Math.abs(i.width-c)<=1&&(c=i.width),Math.abs(i.height-p)<=1&&(p=i.height),{x:h.offsetLeft,y:h.offsetTop,width:c,height:p}}function eu(h,i){var c=i.getRootNode&&i.getRootNode();if(h.contains(i))return!0;if(c&&Ps(c)){var p=i;do{if(p&&h.isSameNode(p))return!0;p=p.parentNode||p.host}while(p)}return!1}function bn(h){return fe(h).getComputedStyle(h)}function nu(h){return["table","td","th"].indexOf(yn(h))>=0}function ra(h){return((sa(h)?h.ownerDocument:h.document)||window.document).documentElement}function Xi(h){return yn(h)==="html"?h:h.assignedSlot||h.parentNode||(Ps(h)?h.host:null)||ra(h)}function ei(h){return be(h)&&bn(h).position!=="fixed"?h.offsetParent:null}function Da(h){for(var i=fe(h),c=ei(h);c&&nu(c)&&bn(c).position==="static";)c=ei(c);return c&&(yn(c)==="html"||yn(c)==="body"&&bn(c).position==="static")?i:c||function(p){var b=/firefox/i.test(ki());if(/Trident/i.test(ki())&&be(p)&&bn(p).position==="fixed")return null;var E=Xi(p);for(Ps(E)&&(E=E.host);be(E)&&["html","body"].indexOf(yn(E))<0;){var D=bn(E);if(D.transform!=="none"||D.perspective!=="none"||D.contain==="paint"||["transform","perspective"].indexOf(D.willChange)!==-1||b&&D.willChange==="filter"||b&&D.filter&&D.filter!=="none")return E;E=E.parentNode}return null}(h)||i}function ni(h){return["top","bottom"].indexOf(h)>=0?"x":"y"}function _n(h,i,c){return ua(h,il(i,c))}function Ma(h){return Object.assign({},{top:0,right:0,bottom:0,left:0},h)}function au(h,i){return i.reduce(function(c,p){return c[p]=h,c},{})}const Gi={name:"arrow",enabled:!0,phase:"main",fn:function(h){var i,c=h.state,p=h.name,b=h.options,E=c.elements.arrow,D=c.modifiersData.popperOffsets,j=$e(c.placement),k=ni(j),L=[ae,Ce].indexOf(j)>=0?"height":"width";if(E&&D){var q=function(jt,Mt){return Ma(typeof(jt=typeof jt=="function"?jt(Object.assign({},Mt.rects,{placement:Mt.placement})):jt)!="number"?jt:au(jt,Ze))}(b.padding,c),B=tu(E),ht=k==="y"?ye:ae,et=k==="y"?qe:Ce,at=c.rects.reference[L]+c.rects.reference[k]-D[k]-c.rects.popper[L],lt=D[k]-c.rects.reference[k],st=Da(E),Tt=st?k==="y"?st.clientHeight||0:st.clientWidth||0:0,Lt=at/2-lt/2,W=q[ht],Ot=Tt-B[L]-q[et],gt=Tt/2-B[L]/2+Lt,yt=_n(W,gt,Ot),zt=k;c.modifiersData[p]=((i={})[zt]=yt,i.centerOffset=yt-gt,i)}},effect:function(h){var i=h.state,c=h.options.element,p=c===void 0?"[data-popper-arrow]":c;p!=null&&(typeof p!="string"||(p=i.elements.popper.querySelector(p)))&&eu(i.elements.popper,p)&&(i.elements.arrow=p)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function wa(h){return h.split("-")[1]}var ai={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Qi(h){var i,c=h.popper,p=h.popperRect,b=h.placement,E=h.variation,D=h.offsets,j=h.position,k=h.gpuAcceleration,L=h.adaptive,q=h.roundOffsets,B=h.isFixed,ht=D.x,et=ht===void 0?0:ht,at=D.y,lt=at===void 0?0:at,st=typeof q=="function"?q({x:et,y:lt}):{x:et,y:lt};et=st.x,lt=st.y;var Tt=D.hasOwnProperty("x"),Lt=D.hasOwnProperty("y"),W=ae,Ot=ye,gt=window;if(L){var yt=Da(c),zt="clientHeight",jt="clientWidth";yt===fe(c)&&bn(yt=ra(c)).position!=="static"&&j==="absolute"&&(zt="scrollHeight",jt="scrollWidth"),(b===ye||(b===ae||b===Ce)&&E===gn)&&(Ot=qe,lt-=(B&&yt===gt&>.visualViewport?gt.visualViewport.height:yt[zt])-p.height,lt*=k?1:-1),b!==ae&&(b!==ye&&b!==qe||E!==gn)||(W=Ce,et-=(B&&yt===gt&>.visualViewport?gt.visualViewport.width:yt[jt])-p.width,et*=k?1:-1)}var Mt,Vt=Object.assign({position:j},L&&ai),Ae=q===!0?function(Xt,At){var Ee=Xt.x,he=Xt.y,Bt=At.devicePixelRatio||1;return{x:en(Ee*Bt)/Bt||0,y:en(he*Bt)/Bt||0}}({x:et,y:lt},fe(c)):{x:et,y:lt};return et=Ae.x,lt=Ae.y,k?Object.assign({},Vt,((Mt={})[Ot]=Lt?"0":"",Mt[W]=Tt?"0":"",Mt.transform=(gt.devicePixelRatio||1)<=1?"translate("+et+"px, "+lt+"px)":"translate3d("+et+"px, "+lt+"px, 0)",Mt)):Object.assign({},Vt,((i={})[Ot]=Lt?lt+"px":"",i[W]=Tt?et+"px":"",i.transform="",i))}const za={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(h){var i=h.state,c=h.options,p=c.gpuAcceleration,b=p===void 0||p,E=c.adaptive,D=E===void 0||E,j=c.roundOffsets,k=j===void 0||j,L={placement:$e(i.placement),variation:wa(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:b,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,Qi(Object.assign({},L,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:D,roundOffsets:k})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,Qi(Object.assign({},L,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:k})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})},data:{}};var an={passive:!0};const li={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(h){var i=h.state,c=h.instance,p=h.options,b=p.scroll,E=b===void 0||b,D=p.resize,j=D===void 0||D,k=fe(i.elements.popper),L=[].concat(i.scrollParents.reference,i.scrollParents.popper);return E&&L.forEach(function(q){q.addEventListener("scroll",c.update,an)}),j&&k.addEventListener("resize",c.update,an),function(){E&&L.forEach(function(q){q.removeEventListener("scroll",c.update,an)}),j&&k.removeEventListener("resize",c.update,an)}},data:{}};var Vi={left:"right",right:"left",bottom:"top",top:"bottom"};function ii(h){return h.replace(/left|right|bottom|top/g,function(i){return Vi[i]})}var Zi={start:"end",end:"start"};function si(h){return h.replace(/start|end/g,function(i){return Zi[i]})}function Ki(h){var i=fe(h);return{scrollLeft:i.pageXOffset,scrollTop:i.pageYOffset}}function de(h){return nn(ra(h)).left+Ki(h).scrollLeft}function jn(h){var i=bn(h),c=i.overflow,p=i.overflowX,b=i.overflowY;return/auto|scroll|overlay|hidden/.test(c+b+p)}function ui(h){return["html","body","#document"].indexOf(yn(h))>=0?h.ownerDocument.body:be(h)&&jn(h)?h:ui(Xi(h))}function Ln(h,i){var c;i===void 0&&(i=[]);var p=ui(h),b=p===((c=h.ownerDocument)==null?void 0:c.body),E=fe(p),D=b?[E].concat(E.visualViewport||[],jn(p)?p:[]):p,j=i.concat(D);return b?j:j.concat(Ln(Xi(D)))}function lu(h){return Object.assign({},h,{left:h.x,top:h.y,right:h.x+h.width,bottom:h.y+h.height})}function $i(h,i,c){return i===Ft?lu(function(p,b){var E=fe(p),D=ra(p),j=E.visualViewport,k=D.clientWidth,L=D.clientHeight,q=0,B=0;if(j){k=j.width,L=j.height;var ht=Is();(ht||!ht&&b==="fixed")&&(q=j.offsetLeft,B=j.offsetTop)}return{width:k,height:L,x:q+de(p),y:B}}(h,c)):sa(i)?function(p,b){var E=nn(p,!1,b==="fixed");return E.top=E.top+p.clientTop,E.left=E.left+p.clientLeft,E.bottom=E.top+p.clientHeight,E.right=E.left+p.clientWidth,E.width=p.clientWidth,E.height=p.clientHeight,E.x=E.left,E.y=E.top,E}(i,c):lu(function(p){var b,E=ra(p),D=Ki(p),j=(b=p.ownerDocument)==null?void 0:b.body,k=ua(E.scrollWidth,E.clientWidth,j?j.scrollWidth:0,j?j.clientWidth:0),L=ua(E.scrollHeight,E.clientHeight,j?j.scrollHeight:0,j?j.clientHeight:0),q=-D.scrollLeft+de(p),B=-D.scrollTop;return bn(j||E).direction==="rtl"&&(q+=ua(E.clientWidth,j?j.clientWidth:0)-k),{width:k,height:L,x:q,y:B}}(ra(h)))}function Ji(h){var i,c=h.reference,p=h.element,b=h.placement,E=b?$e(b):null,D=b?wa(b):null,j=c.x+c.width/2-p.width/2,k=c.y+c.height/2-p.height/2;switch(E){case ye:i={x:j,y:c.y-p.height};break;case qe:i={x:j,y:c.y+c.height};break;case Ce:i={x:c.x+c.width,y:k};break;case ae:i={x:c.x-p.width,y:k};break;default:i={x:c.x,y:c.y}}var L=E?ni(E):null;if(L!=null){var q=L==="y"?"height":"width";switch(D){case Ke:i[L]=i[L]-(c[q]/2-p[q]/2);break;case gn:i[L]=i[L]+(c[q]/2-p[q]/2)}}return i}function Sn(h,i){i===void 0&&(i={});var c=i,p=c.placement,b=p===void 0?h.placement:p,E=c.strategy,D=E===void 0?h.strategy:E,j=c.boundary,k=j===void 0?xa:j,L=c.rootBoundary,q=L===void 0?Ft:L,B=c.elementContext,ht=B===void 0?Ca:B,et=c.altBoundary,at=et!==void 0&&et,lt=c.padding,st=lt===void 0?0:lt,Tt=Ma(typeof st!="number"?st:au(st,Ze)),Lt=ht===Ca?$s:Ca,W=h.rects.popper,Ot=h.elements[at?Lt:ht],gt=function(At,Ee,he,Bt){var Pe=Ee==="clippingParents"?function(Rt){var me=Ln(Xi(Rt)),Ge=["absolute","fixed"].indexOf(bn(Rt).position)>=0&&be(Rt)?Da(Rt):Rt;return sa(Ge)?me.filter(function(Qn){return sa(Qn)&&eu(Qn,Ge)&&yn(Qn)!=="body"}):[]}(At):[].concat(Ee),ue=[].concat(Pe,[he]),Gn=ue[0],Wt=ue.reduce(function(Rt,me){var Ge=$i(At,me,Bt);return Rt.top=ua(Ge.top,Rt.top),Rt.right=il(Ge.right,Rt.right),Rt.bottom=il(Ge.bottom,Rt.bottom),Rt.left=ua(Ge.left,Rt.left),Rt},$i(At,Gn,Bt));return Wt.width=Wt.right-Wt.left,Wt.height=Wt.bottom-Wt.top,Wt.x=Wt.left,Wt.y=Wt.top,Wt}(sa(Ot)?Ot:Ot.contextElement||ra(h.elements.popper),k,q,D),yt=nn(h.elements.reference),zt=Ji({reference:yt,element:W,placement:b}),jt=lu(Object.assign({},W,zt)),Mt=ht===Ca?jt:yt,Vt={top:gt.top-Mt.top+Tt.top,bottom:Mt.bottom-gt.bottom+Tt.bottom,left:gt.left-Mt.left+Tt.left,right:Mt.right-gt.right+Tt.right},Ae=h.modifiersData.offset;if(ht===Ca&&Ae){var Xt=Ae[b];Object.keys(Vt).forEach(function(At){var Ee=[Ce,qe].indexOf(At)>=0?1:-1,he=[ye,qe].indexOf(At)>=0?"y":"x";Vt[At]+=Xt[he]*Ee})}return Vt}function Fi(h,i){i===void 0&&(i={});var c=i,p=c.placement,b=c.boundary,E=c.rootBoundary,D=c.padding,j=c.flipVariations,k=c.allowedAutoPlacements,L=k===void 0?ia:k,q=wa(p),B=q?j?Rn:Rn.filter(function(at){return wa(at)===q}):Ze,ht=B.filter(function(at){return L.indexOf(at)>=0});ht.length===0&&(ht=B);var et=ht.reduce(function(at,lt){return at[lt]=Sn(h,{placement:lt,boundary:b,rootBoundary:E,padding:D})[$e(lt)],at},{});return Object.keys(et).sort(function(at,lt){return et[at]-et[lt]})}const iu={name:"flip",enabled:!0,phase:"main",fn:function(h){var i=h.state,c=h.options,p=h.name;if(!i.modifiersData[p]._skip){for(var b=c.mainAxis,E=b===void 0||b,D=c.altAxis,j=D===void 0||D,k=c.fallbackPlacements,L=c.padding,q=c.boundary,B=c.rootBoundary,ht=c.altBoundary,et=c.flipVariations,at=et===void 0||et,lt=c.allowedAutoPlacements,st=i.options.placement,Tt=$e(st),Lt=k||(Tt!==st&&at?function(Rt){if($e(Rt)===ll)return[];var me=ii(Rt);return[si(Rt),me,si(me)]}(st):[ii(st)]),W=[st].concat(Lt).reduce(function(Rt,me){return Rt.concat($e(me)===ll?Fi(i,{placement:me,boundary:q,rootBoundary:B,padding:L,flipVariations:at,allowedAutoPlacements:lt}):me)},[]),Ot=i.rects.reference,gt=i.rects.popper,yt=new Map,zt=!0,jt=W[0],Mt=0;Mt=0,Ee=At?"width":"height",he=Sn(i,{placement:Vt,boundary:q,rootBoundary:B,altBoundary:ht,padding:L}),Bt=At?Xt?Ce:ae:Xt?qe:ye;Ot[Ee]>gt[Ee]&&(Bt=ii(Bt));var Pe=ii(Bt),ue=[];if(E&&ue.push(he[Ae]<=0),j&&ue.push(he[Bt]<=0,he[Pe]<=0),ue.every(function(Rt){return Rt})){jt=Vt,zt=!1;break}yt.set(Vt,ue)}if(zt)for(var Gn=function(Rt){var me=W.find(function(Ge){var Qn=yt.get(Ge);if(Qn)return Qn.slice(0,Rt).every(function(bi){return bi})});if(me)return jt=me,"break"},Wt=at?3:1;Wt>0&&Gn(Wt)!=="break";Wt--);i.placement!==jt&&(i.modifiersData[p]._skip=!0,i.placement=jt,i.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ar(h,i,c){return c===void 0&&(c={x:0,y:0}),{top:h.top-i.height-c.y,right:h.right-i.width+c.x,bottom:h.bottom-i.height+c.y,left:h.left-i.width-c.x}}function Er(h){return[ye,Ce,qe,ae].some(function(i){return h[i]>=0})}const Tr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(h){var i=h.state,c=h.name,p=i.rects.reference,b=i.rects.popper,E=i.modifiersData.preventOverflow,D=Sn(i,{elementContext:"reference"}),j=Sn(i,{altBoundary:!0}),k=Ar(D,p),L=Ar(j,b,E),q=Er(k),B=Er(L);i.modifiersData[c]={referenceClippingOffsets:k,popperEscapeOffsets:L,isReferenceHidden:q,hasPopperEscaped:B},i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-reference-hidden":q,"data-popper-escaped":B})}},Wi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(h){var i=h.state,c=h.options,p=h.name,b=c.offset,E=b===void 0?[0,0]:b,D=ia.reduce(function(q,B){return q[B]=function(ht,et,at){var lt=$e(ht),st=[ae,ye].indexOf(lt)>=0?-1:1,Tt=typeof at=="function"?at(Object.assign({},et,{placement:ht})):at,Lt=Tt[0],W=Tt[1];return Lt=Lt||0,W=(W||0)*st,[ae,Ce].indexOf(lt)>=0?{x:W,y:Lt}:{x:Lt,y:W}}(B,i.rects,E),q},{}),j=D[i.placement],k=j.x,L=j.y;i.modifiersData.popperOffsets!=null&&(i.modifiersData.popperOffsets.x+=k,i.modifiersData.popperOffsets.y+=L),i.modifiersData[p]=D}},su={name:"popperOffsets",enabled:!0,phase:"read",fn:function(h){var i=h.state,c=h.name;i.modifiersData[c]=Ji({reference:i.rects.reference,element:i.rects.popper,placement:i.placement})},data:{}},Or={name:"preventOverflow",enabled:!0,phase:"main",fn:function(h){var i=h.state,c=h.options,p=h.name,b=c.mainAxis,E=b===void 0||b,D=c.altAxis,j=D!==void 0&&D,k=c.boundary,L=c.rootBoundary,q=c.altBoundary,B=c.padding,ht=c.tether,et=ht===void 0||ht,at=c.tetherOffset,lt=at===void 0?0:at,st=Sn(i,{boundary:k,rootBoundary:L,padding:B,altBoundary:q}),Tt=$e(i.placement),Lt=wa(i.placement),W=!Lt,Ot=ni(Tt),gt=Ot==="x"?"y":"x",yt=i.modifiersData.popperOffsets,zt=i.rects.reference,jt=i.rects.popper,Mt=typeof lt=="function"?lt(Object.assign({},i.rects,{placement:i.placement})):lt,Vt=typeof Mt=="number"?{mainAxis:Mt,altAxis:Mt}:Object.assign({mainAxis:0,altAxis:0},Mt),Ae=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,Xt={x:0,y:0};if(yt){if(E){var At,Ee=Ot==="y"?ye:ae,he=Ot==="y"?qe:Ce,Bt=Ot==="y"?"height":"width",Pe=yt[Ot],ue=Pe+st[Ee],Gn=Pe-st[he],Wt=et?-jt[Bt]/2:0,Rt=Lt===Ke?zt[Bt]:jt[Bt],me=Lt===Ke?-jt[Bt]:-zt[Bt],Ge=i.elements.arrow,Qn=et&&Ge?tu(Ge):{width:0,height:0},bi=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Cu=bi[Ee],Du=bi[he],El=_n(0,zt[Bt],Qn[Bt]),nc=W?zt[Bt]/2-Wt-El-Cu-Vt.mainAxis:Rt-El-Cu-Vt.mainAxis,Mo=W?-zt[Bt]/2+Wt+El+Du+Vt.mainAxis:me+El+Du+Vt.mainAxis,ys=i.elements.arrow&&Da(i.elements.arrow),ac=ys?Ot==="y"?ys.clientTop||0:ys.clientLeft||0:0,Mu=(At=Ae==null?void 0:Ae[Ot])!=null?At:0,wu=Pe+Mo-Mu,zu=_n(et?il(ue,Pe+nc-Mu-ac):ue,Pe,et?ua(Gn,wu):Gn);yt[Ot]=zu,Xt[Ot]=zu-Pe}if(j){var Nu,lc=Ot==="x"?ye:ae,ic=Ot==="x"?qe:Ce,pa=yt[gt],bs=gt==="y"?"height":"width",Ru=pa+st[lc],qa=pa-st[ic],_s=[ye,ae].indexOf(Tt)!==-1,_i=(Nu=Ae==null?void 0:Ae[gt])!=null?Nu:0,Si=_s?Ru:pa-zt[bs]-jt[bs]-_i+Vt.altAxis,ju=_s?pa+zt[bs]+jt[bs]-_i-Vt.altAxis:qa,Ss=et&&_s?function(sc,uc,As){var Lu=_n(sc,uc,As);return Lu>As?As:Lu}(Si,pa,ju):_n(et?Si:Ru,pa,et?ju:qa);yt[gt]=Ss,Xt[gt]=Ss-pa}i.modifiersData[p]=Xt}},requiresIfExists:["offset"]};function oo(h,i,c){c===void 0&&(c=!1);var p,b,E=be(i),D=be(i)&&function(B){var ht=B.getBoundingClientRect(),et=en(ht.width)/B.offsetWidth||1,at=en(ht.height)/B.offsetHeight||1;return et!==1||at!==1}(i),j=ra(i),k=nn(h,D,c),L={scrollLeft:0,scrollTop:0},q={x:0,y:0};return(E||!E&&!c)&&((yn(i)!=="body"||jn(j))&&(L=(p=i)!==fe(p)&&be(p)?{scrollLeft:(b=p).scrollLeft,scrollTop:b.scrollTop}:Ki(p)),be(i)?((q=nn(i,!0)).x+=i.clientLeft,q.y+=i.clientTop):j&&(q.x=de(j))),{x:k.left+L.scrollLeft-q.x,y:k.top+L.scrollTop-q.y,width:k.width,height:k.height}}function fo(h){var i=new Map,c=new Set,p=[];function b(E){c.add(E.name),[].concat(E.requires||[],E.requiresIfExists||[]).forEach(function(D){if(!c.has(D)){var j=i.get(D);j&&b(j)}}),p.push(E)}return h.forEach(function(E){i.set(E.name,E)}),h.forEach(function(E){c.has(E.name)||b(E)}),p}var xr={placement:"bottom",modifiers:[],strategy:"absolute"};function uu(){for(var h=arguments.length,i=new Array(h),c=0;cNumber.parseInt(c,10)):typeof i=="function"?c=>i(c,this._element):i}_getPopperConfig(){const i={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(vt.setDataAttribute(this._menu,"popper","static"),i.modifiers=[{name:"applyStyles",enabled:!1}]),{...i,...it(this._config.popperConfig,[i])}}_selectMenuItem({key:i,target:c}){const p=$.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(b=>U(b));p.length&&ee(p,c,i===Mr,!p.includes(c)).focus()}static jQueryInterface(i){return this.each(function(){const c=ln.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0)throw new TypeError(`No method named "${i}"`);c[i]()}})}static clearMenus(i){if(i.button===2||i.type==="keyup"&&i.key!=="Tab")return;const c=$.find(ri);for(const p of c){const b=ln.getInstance(p);if(!b||b._config.autoClose===!1)continue;const E=i.composedPath(),D=E.includes(b._menu);if(E.includes(b._element)||b._config.autoClose==="inside"&&!D||b._config.autoClose==="outside"&&D||b._menu.contains(i.target)&&(i.type==="keyup"&&i.key==="Tab"||/input|select|option|textarea|form/i.test(i.target.tagName)))continue;const j={relatedTarget:b._element};i.type==="click"&&(j.clickEvent=i),b._completeHide(j)}}static dataApiKeydownHandler(i){const c=/input|textarea/i.test(i.target.tagName),p=i.key==="Escape",b=[Dr,Mr].includes(i.key);if(!b&&!p||c&&!p)return;i.preventDefault();const E=this.matches(Un)?this:$.prev(this,Un)[0]||$.next(this,Un)[0]||$.findOne(Un,i.delegateTarget.parentNode),D=ln.getOrCreateInstance(E);if(b)return i.stopPropagation(),D.show(),void D._selectMenuItem(i);D._isShown()&&(i.stopPropagation(),D.hide(),E.focus())}}w.on(document,zr,Un,ln.dataApiKeydownHandler),w.on(document,zr,ts,ln.dataApiKeydownHandler),w.on(document,wr,ln.clearMenus),w.on(document,bo,ln.clearMenus),w.on(document,wr,Un,function(h){h.preventDefault(),ln.getOrCreateInstance(this).toggle()}),ot(ln);const ou="backdrop",fu="show",rl=`mousedown.bs.${ou}`,ci={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ao={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class oi extends oe{constructor(i){super(),this._config=this._getConfig(i),this._isAppended=!1,this._element=null}static get Default(){return ci}static get DefaultType(){return Ao}static get NAME(){return ou}show(i){if(!this._config.isVisible)return void it(i);this._append();const c=this._getElement();this._config.isAnimated&&tt(c),c.classList.add(fu),this._emulateAnimation(()=>{it(i)})}hide(i){this._config.isVisible?(this._getElement().classList.remove(fu),this._emulateAnimation(()=>{this.dispose(),it(i)})):it(i)}dispose(){this._isAppended&&(w.off(this._element,rl),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const i=document.createElement("div");i.className=this._config.className,this._config.isAnimated&&i.classList.add("fade"),this._element=i}return this._element}_configAfterMerge(i){return i.rootElement=N(i.rootElement),i}_append(){if(this._isAppended)return;const i=this._getElement();this._config.rootElement.append(i),w.on(i,rl,()=>{it(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(i){Ct(i,this._getElement(),this._config.isAnimated)}}const fi=".bs.focustrap",Hr=`focusin${fi}`,du=`keydown.tab${fi}`,es="backward",qr={autofocus:!0,trapElement:null},Br={autofocus:"boolean",trapElement:"element"};class hu extends oe{constructor(i){super(),this._config=this._getConfig(i),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return qr}static get DefaultType(){return Br}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),w.off(document,fi),w.on(document,Hr,i=>this._handleFocusin(i)),w.on(document,du,i=>this._handleKeydown(i)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,w.off(document,fi))}_handleFocusin(i){const{trapElement:c}=this._config;if(i.target===document||i.target===c||c.contains(i.target))return;const p=$.focusableChildren(c);p.length===0?c.focus():this._lastTabNavDirection===es?p[p.length-1].focus():p[0].focus()}_handleKeydown(i){i.key==="Tab"&&(this._lastTabNavDirection=i.shiftKey?es:"forward")}}const Yr=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",kr=".sticky-top",ns="padding-right",Xr="margin-right";class mu{constructor(){this._element=document.body}getWidth(){const i=document.documentElement.clientWidth;return Math.abs(window.innerWidth-i)}hide(){const i=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ns,c=>c+i),this._setElementAttributes(Yr,ns,c=>c+i),this._setElementAttributes(kr,Xr,c=>c-i)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ns),this._resetElementAttributes(Yr,ns),this._resetElementAttributes(kr,Xr)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(i,c,p){const b=this.getWidth();this._applyManipulationCallback(i,E=>{if(E!==this._element&&window.innerWidth>E.clientWidth+b)return;this._saveInitialAttribute(E,c);const D=window.getComputedStyle(E).getPropertyValue(c);E.style.setProperty(c,`${p(Number.parseFloat(D))}px`)})}_saveInitialAttribute(i,c){const p=i.style.getPropertyValue(c);p&&vt.setDataAttribute(i,c,p)}_resetElementAttributes(i,c){this._applyManipulationCallback(i,p=>{const b=vt.getDataAttribute(p,c);b!==null?(vt.removeDataAttribute(p,c),p.style.setProperty(c,b)):p.style.removeProperty(c)})}_applyManipulationCallback(i,c){if(x(i))c(i);else for(const p of $.find(i,this._element))c(p)}}const kt=".bs.modal",di=`hide${kt}`,Gr=`hidePrevented${kt}`,gu=`hidden${kt}`,pu=`show${kt}`,Qr=`shown${kt}`,vu=`resize${kt}`,Eo=`click.dismiss${kt}`,To=`mousedown.dismiss${kt}`,cl=`keydown.dismiss${kt}`,yu=`click${kt}.data-api`,ol="modal-open",as="show",ls="modal-static",Ra={backdrop:!0,focus:!0,keyboard:!0},fl={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Hn extends je{constructor(i,c){super(i,c),this._dialog=$.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new mu,this._addEventListeners()}static get Default(){return Ra}static get DefaultType(){return fl}static get NAME(){return"modal"}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){this._isShown||this._isTransitioning||w.trigger(this._element,pu,{relatedTarget:i}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ol),this._adjustDialog(),this._backdrop.show(()=>this._showElement(i)))}hide(){this._isShown&&!this._isTransitioning&&(w.trigger(this._element,di).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(as),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){w.off(window,kt),w.off(this._dialog,kt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new oi({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new hu({trapElement:this._element})}_showElement(i){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 c=$.findOne(".modal-body",this._dialog);c&&(c.scrollTop=0),tt(this._element),this._element.classList.add(as),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,w.trigger(this._element,Qr,{relatedTarget:i})},this._dialog,this._isAnimated())}_addEventListeners(){w.on(this._element,cl,i=>{i.key==="Escape"&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),w.on(window,vu,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),w.on(this._element,To,i=>{w.one(this._element,Eo,c=>{this._element===i.target&&this._element===c.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(ol),this._resetAdjustments(),this._scrollBar.reset(),w.trigger(this._element,gu)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(w.trigger(this._element,Gr).defaultPrevented)return;const i=this._element.scrollHeight>document.documentElement.clientHeight,c=this._element.style.overflowY;c==="hidden"||this._element.classList.contains(ls)||(i||(this._element.style.overflowY="hidden"),this._element.classList.add(ls),this._queueCallback(()=>{this._element.classList.remove(ls),this._queueCallback(()=>{this._element.style.overflowY=c},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const i=this._element.scrollHeight>document.documentElement.clientHeight,c=this._scrollBar.getWidth(),p=c>0;if(p&&!i){const b=rt()?"paddingLeft":"paddingRight";this._element.style[b]=`${c}px`}if(!p&&i){const b=rt()?"paddingRight":"paddingLeft";this._element.style[b]=`${c}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(i,c){return this.each(function(){const p=Hn.getOrCreateInstance(this,i);if(typeof i=="string"){if(p[i]===void 0)throw new TypeError(`No method named "${i}"`);p[i](c)}})}}w.on(document,yu,'[data-bs-toggle="modal"]',function(h){const i=$.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&h.preventDefault(),w.one(i,pu,p=>{p.defaultPrevented||w.one(i,gu,()=>{U(this)&&this.focus()})});const c=$.findOne(".modal.show");c&&Hn.getInstance(c).hide(),Hn.getOrCreateInstance(i).toggle(this)}),Kt(Hn),ot(Hn);const An=".bs.offcanvas",ca=".data-api",Vr=`load${An}${ca}`,bu="show",_u="showing",Zr="hiding",Kr=".offcanvas.show",Oo=`show${An}`,$r=`shown${An}`,Jr=`hide${An}`,Su=`hidePrevented${An}`,Je=`hidden${An}`,Fe=`resize${An}`,dl=`click${An}${ca}`,Au=`keydown.dismiss${An}`,is={backdrop:!0,keyboard:!0,scroll:!1},ss={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class sn extends je{constructor(i,c){super(i,c),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return is}static get DefaultType(){return ss}static get NAME(){return"offcanvas"}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){this._isShown||w.trigger(this._element,Oo,{relatedTarget:i}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new mu().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(_u),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(bu),this._element.classList.remove(_u),w.trigger(this._element,$r,{relatedTarget:i})},this._element,!0))}hide(){this._isShown&&(w.trigger(this._element,Jr).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Zr),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(bu,Zr),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new mu().reset(),w.trigger(this._element,Je)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const i=!!this._config.backdrop;return new oi({className:"offcanvas-backdrop",isVisible:i,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:i?()=>{this._config.backdrop!=="static"?this.hide():w.trigger(this._element,Su)}:null})}_initializeFocusTrap(){return new hu({trapElement:this._element})}_addEventListeners(){w.on(this._element,Au,i=>{i.key==="Escape"&&(this._config.keyboard?this.hide():w.trigger(this._element,Su))})}static jQueryInterface(i){return this.each(function(){const c=sn.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}w.on(document,dl,'[data-bs-toggle="offcanvas"]',function(h){const i=$.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&h.preventDefault(),X(this))return;w.one(i,Je,()=>{U(this)&&this.focus()});const c=$.findOne(Kr);c&&c!==i&&sn.getInstance(c).hide(),sn.getOrCreateInstance(i).toggle(this)}),w.on(window,Vr,()=>{for(const h of $.find(Kr))sn.getOrCreateInstance(h).show()}),w.on(window,Fe,()=>{for(const h of $.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(h).position!=="fixed"&&sn.getOrCreateInstance(h).hide()}),Kt(sn),ot(sn);const qn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],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:[]},Fr=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),us=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,hl=(h,i)=>{const c=h.nodeName.toLowerCase();return i.includes(c)?!Fr.has(c)||!!us.test(h.nodeValue):i.filter(p=>p instanceof RegExp).some(p=>p.test(c))},Wr={allowList:qn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},We={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},ml={entry:"(string|element|function|null)",selector:"(string|element)"};class gl extends oe{constructor(i){super(),this._config=this._getConfig(i)}static get Default(){return Wr}static get DefaultType(){return We}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(i=>this._resolvePossibleFunction(i)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(i){return this._checkContent(i),this._config.content={...this._config.content,...i},this}toHtml(){const i=document.createElement("div");i.innerHTML=this._maybeSanitize(this._config.template);for(const[b,E]of Object.entries(this._config.content))this._setContent(i,E,b);const c=i.children[0],p=this._resolvePossibleFunction(this._config.extraClass);return p&&c.classList.add(...p.split(" ")),c}_typeCheckConfig(i){super._typeCheckConfig(i),this._checkContent(i.content)}_checkContent(i){for(const[c,p]of Object.entries(i))super._typeCheckConfig({selector:c,entry:p},ml)}_setContent(i,c,p){const b=$.findOne(p,i);b&&((c=this._resolvePossibleFunction(c))?x(c)?this._putElementInTemplate(N(c),b):this._config.html?b.innerHTML=this._maybeSanitize(c):b.textContent=c:b.remove())}_maybeSanitize(i){return this._config.sanitize?function(c,p,b){if(!c.length)return c;if(b&&typeof b=="function")return b(c);const E=new window.DOMParser().parseFromString(c,"text/html"),D=[].concat(...E.body.querySelectorAll("*"));for(const j of D){const k=j.nodeName.toLowerCase();if(!Object.keys(p).includes(k)){j.remove();continue}const L=[].concat(...j.attributes),q=[].concat(p["*"]||[],p[k]||[]);for(const B of L)hl(B,q)||j.removeAttribute(B.nodeName)}return E.body.innerHTML}(i,this._config.allowList,this._config.sanitizeFn):i}_resolvePossibleFunction(i){return it(i,[this])}_putElementInTemplate(i,c){if(this._config.html)return c.innerHTML="",void c.append(i);c.textContent=i.textContent}}const rs=new Set(["sanitize","allowList","sanitizeFn"]),pl="fade",_e="show",Ye=".modal",oa="hide.bs.modal",ke="hover",un="focus",ja={AUTO:"auto",TOP:"top",RIGHT:rt()?"left":"right",BOTTOM:"bottom",LEFT:rt()?"right":"left"},Pr={allowList:qn,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"},Eu={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 Bn extends je{constructor(i,c){if(Ii===void 0)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(i,c),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 Pr}static get DefaultType(){return Eu}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),w.off(this._element.closest(Ye),oa,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 i=w.trigger(this._element,this.constructor.eventName("show")),c=(Z(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(i.defaultPrevented||!c)return;this._disposePopper();const p=this._getTipElement();this._element.setAttribute("aria-describedby",p.getAttribute("id"));const{container:b}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(b.append(p),w.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(p),p.classList.add(_e),"ontouchstart"in document.documentElement)for(const E of[].concat(...document.body.children))w.on(E,"mouseover",Q);this._queueCallback(()=>{w.trigger(this._element,this.constructor.eventName("shown")),this._isHovered===!1&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!w.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(_e),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))w.off(i,"mouseover",Q);this._activeTrigger.click=!1,this._activeTrigger[un]=!1,this._activeTrigger[ke]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),w.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(i){const c=this._getTemplateFactory(i).toHtml();if(!c)return null;c.classList.remove(pl,_e),c.classList.add(`bs-${this.constructor.NAME}-auto`);const p=(b=>{do b+=Math.floor(1e6*Math.random());while(document.getElementById(b));return b})(this.constructor.NAME).toString();return c.setAttribute("id",p),this._isAnimated()&&c.classList.add(pl),c}setContent(i){this._newContent=i,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(i){return this._templateFactory?this._templateFactory.changeContent(i):this._templateFactory=new gl({...this._config,content:i,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(i){return this.constructor.getOrCreateInstance(i.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(pl)}_isShown(){return this.tip&&this.tip.classList.contains(_e)}_createPopper(i){const c=it(this._config.placement,[this,i,this._element]),p=ja[c.toUpperCase()];return ru(this._element,i,this._getPopperConfig(p))}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(c=>Number.parseInt(c,10)):typeof i=="function"?c=>i(c,this._element):i}_resolvePossibleFunction(i){return it(i,[this._element])}_getPopperConfig(i){const c={placement:i,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:p=>{this._getTipElement().setAttribute("data-popper-placement",p.state.placement)}}]};return{...c,...it(this._config.popperConfig,[c])}}_setListeners(){const i=this._config.trigger.split(" ");for(const c of i)if(c==="click")w.on(this._element,this.constructor.eventName("click"),this._config.selector,p=>{this._initializeOnDelegatedTarget(p).toggle()});else if(c!=="manual"){const p=c===ke?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),b=c===ke?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");w.on(this._element,p,this._config.selector,E=>{const D=this._initializeOnDelegatedTarget(E);D._activeTrigger[E.type==="focusin"?un:ke]=!0,D._enter()}),w.on(this._element,b,this._config.selector,E=>{const D=this._initializeOnDelegatedTarget(E);D._activeTrigger[E.type==="focusout"?un:ke]=D._element.contains(E.relatedTarget),D._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},w.on(this._element.closest(Ye),oa,this._hideModalHandler)}_fixTitle(){const i=this._element.getAttribute("title");i&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",i),this._element.setAttribute("data-bs-original-title",i),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(i,c){clearTimeout(this._timeout),this._timeout=setTimeout(i,c)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(i){const c=vt.getDataAttributes(this._element);for(const p of Object.keys(c))rs.has(p)&&delete c[p];return i={...c,...typeof i=="object"&&i?i:{}},i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i.container=i.container===!1?document.body:N(i.container),typeof i.delay=="number"&&(i.delay={show:i.delay,hide:i.delay}),typeof i.title=="number"&&(i.title=i.title.toString()),typeof i.content=="number"&&(i.content=i.content.toString()),i}_getDelegateConfig(){const i={};for(const[c,p]of Object.entries(this._config))this.constructor.Default[c]!==p&&(i[c]=p);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(i){return this.each(function(){const c=Bn.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0)throw new TypeError(`No method named "${i}"`);c[i]()}})}}ot(Bn);const Se={...Bn.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},ce={...Bn.DefaultType,content:"(null|string|element|function)"};class _t extends Bn{static get Default(){return Se}static get DefaultType(){return ce}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(i){return this.each(function(){const c=_t.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0)throw new TypeError(`No method named "${i}"`);c[i]()}})}}ot(_t);const Xe=".bs.scrollspy",En=`activate${Xe}`,cs=`click${Xe}`,La=`load${Xe}.data-api`,Ua="active",os="[href]",vl=".nav-link",hi=`${vl}, .nav-item > ${vl}, .list-group-item`,mi={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},gi={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class yl extends je{constructor(i,c){super(i,c),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 mi}static get DefaultType(){return gi}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const i of this._observableSections.values())this._observer.observe(i)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(i){return i.target=N(i.target)||document.body,i.rootMargin=i.offset?`${i.offset}px 0px -30%`:i.rootMargin,typeof i.threshold=="string"&&(i.threshold=i.threshold.split(",").map(c=>Number.parseFloat(c))),i}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(w.off(this._config.target,cs),w.on(this._config.target,cs,os,i=>{const c=this._observableSections.get(i.target.hash);if(c){i.preventDefault();const p=this._rootElement||window,b=c.offsetTop-this._element.offsetTop;if(p.scrollTo)return void p.scrollTo({top:b,behavior:"smooth"});p.scrollTop=b}}))}_getNewObserver(){const i={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(c=>this._observerCallback(c),i)}_observerCallback(i){const c=D=>this._targetLinks.get(`#${D.target.id}`),p=D=>{this._previousScrollData.visibleEntryTop=D.target.offsetTop,this._process(c(D))},b=(this._rootElement||document.documentElement).scrollTop,E=b>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=b;for(const D of i){if(!D.isIntersecting){this._activeTarget=null,this._clearActiveClass(c(D));continue}const j=D.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(E&&j){if(p(D),!b)return}else E||j||p(D)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const i=$.find(os,this._config.target);for(const c of i){if(!c.hash||X(c))continue;const p=$.findOne(decodeURI(c.hash),this._element);U(p)&&(this._targetLinks.set(decodeURI(c.hash),c),this._observableSections.set(c.hash,p))}}_process(i){this._activeTarget!==i&&(this._clearActiveClass(this._config.target),this._activeTarget=i,i.classList.add(Ua),this._activateParents(i),w.trigger(this._element,En,{relatedTarget:i}))}_activateParents(i){if(i.classList.contains("dropdown-item"))$.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(Ua);else for(const c of $.parents(i,".nav, .list-group"))for(const p of $.prev(c,hi))p.classList.add(Ua)}_clearActiveClass(i){i.classList.remove(Ua);const c=$.find(`${os}.${Ua}`,i);for(const p of c)p.classList.remove(Ua)}static jQueryInterface(i){return this.each(function(){const c=yl.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}w.on(window,La,()=>{for(const h of $.find('[data-bs-spy="scroll"]'))yl.getOrCreateInstance(h)}),ot(yl);const Yn=".bs.tab",Ir=`hide${Yn}`,fs=`hidden${Yn}`,tc=`show${Yn}`,pi=`shown${Yn}`,ec=`click${Yn}`,bl=`keydown${Yn}`,vi=`load${Yn}`,ds="ArrowLeft",_l="ArrowRight",hs="ArrowUp",Tu="ArrowDown",ms="Home",fa="End",da="active",Ha="fade",Sl="show",Ou=".dropdown-toggle",yi=`:not(${Ou})`,gs='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Me=`.nav-link${yi}, .list-group-item${yi}, [role="tab"]${yi}, ${gs}`,Tn=`.${da}[data-bs-toggle="tab"], .${da}[data-bs-toggle="pill"], .${da}[data-bs-toggle="list"]`;class we extends je{constructor(i){super(i),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),w.on(this._element,bl,c=>this._keydown(c)))}static get NAME(){return"tab"}show(){const i=this._element;if(this._elemIsActive(i))return;const c=this._getActiveElem(),p=c?w.trigger(c,Ir,{relatedTarget:i}):null;w.trigger(i,tc,{relatedTarget:c}).defaultPrevented||p&&p.defaultPrevented||(this._deactivate(c,i),this._activate(i,c))}_activate(i,c){i&&(i.classList.add(da),this._activate($.getElementFromSelector(i)),this._queueCallback(()=>{i.getAttribute("role")==="tab"?(i.removeAttribute("tabindex"),i.setAttribute("aria-selected",!0),this._toggleDropDown(i,!0),w.trigger(i,pi,{relatedTarget:c})):i.classList.add(Sl)},i,i.classList.contains(Ha)))}_deactivate(i,c){i&&(i.classList.remove(da),i.blur(),this._deactivate($.getElementFromSelector(i)),this._queueCallback(()=>{i.getAttribute("role")==="tab"?(i.setAttribute("aria-selected",!1),i.setAttribute("tabindex","-1"),this._toggleDropDown(i,!1),w.trigger(i,fs,{relatedTarget:c})):i.classList.remove(Sl)},i,i.classList.contains(Ha)))}_keydown(i){if(![ds,_l,hs,Tu,ms,fa].includes(i.key))return;i.stopPropagation(),i.preventDefault();const c=this._getChildren().filter(b=>!X(b));let p;if([ms,fa].includes(i.key))p=c[i.key===ms?0:c.length-1];else{const b=[_l,Tu].includes(i.key);p=ee(c,i.target,b,!0)}p&&(p.focus({preventScroll:!0}),we.getOrCreateInstance(p).show())}_getChildren(){return $.find(Me,this._parent)}_getActiveElem(){return this._getChildren().find(i=>this._elemIsActive(i))||null}_setInitialAttributes(i,c){this._setAttributeIfNotExists(i,"role","tablist");for(const p of c)this._setInitialAttributesOnChild(p)}_setInitialAttributesOnChild(i){i=this._getInnerElement(i);const c=this._elemIsActive(i),p=this._getOuterElement(i);i.setAttribute("aria-selected",c),p!==i&&this._setAttributeIfNotExists(p,"role","presentation"),c||i.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(i,"role","tab"),this._setInitialAttributesOnTargetPanel(i)}_setInitialAttributesOnTargetPanel(i){const c=$.getElementFromSelector(i);c&&(this._setAttributeIfNotExists(c,"role","tabpanel"),i.id&&this._setAttributeIfNotExists(c,"aria-labelledby",`${i.id}`))}_toggleDropDown(i,c){const p=this._getOuterElement(i);if(!p.classList.contains("dropdown"))return;const b=(E,D)=>{const j=$.findOne(E,p);j&&j.classList.toggle(D,c)};b(Ou,da),b(".dropdown-menu",Sl),p.setAttribute("aria-expanded",c)}_setAttributeIfNotExists(i,c,p){i.hasAttribute(c)||i.setAttribute(c,p)}_elemIsActive(i){return i.classList.contains(da)}_getInnerElement(i){return i.matches(Me)?i:$.findOne(Me,i)}_getOuterElement(i){return i.closest(".nav-item, .list-group-item")||i}static jQueryInterface(i){return this.each(function(){const c=we.getOrCreateInstance(this);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}w.on(document,ec,gs,function(h){["A","AREA"].includes(this.tagName)&&h.preventDefault(),X(this)||we.getOrCreateInstance(this).show()}),w.on(window,vi,()=>{for(const h of $.find(Tn))we.getOrCreateInstance(h)}),ot(we);const kn=".bs.toast",ha=`mouseover${kn}`,Xn=`mouseout${kn}`,le=`focusin${kn}`,ps=`focusout${kn}`,xo=`hide${kn}`,Co=`hidden${kn}`,Do=`show${kn}`,ie=`shown${kn}`,vs="hide",ma="show",ga="showing",xu={animation:"boolean",autohide:"boolean",delay:"number"},Al={animation:!0,autohide:!0,delay:5e3};class On extends je{constructor(i,c){super(i,c),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Al}static get DefaultType(){return xu}static get NAME(){return"toast"}show(){w.trigger(this._element,Do).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(vs),tt(this._element),this._element.classList.add(ma,ga),this._queueCallback(()=>{this._element.classList.remove(ga),w.trigger(this._element,ie),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(w.trigger(this._element,xo).defaultPrevented||(this._element.classList.add(ga),this._queueCallback(()=>{this._element.classList.add(vs),this._element.classList.remove(ga,ma),w.trigger(this._element,Co)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ma),super.dispose()}isShown(){return this._element.classList.contains(ma)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(i,c){switch(i.type){case"mouseover":case"mouseout":this._hasMouseInteraction=c;break;case"focusin":case"focusout":this._hasKeyboardInteraction=c}if(c)return void this._clearTimeout();const p=i.relatedTarget;this._element===p||this._element.contains(p)||this._maybeScheduleHide()}_setListeners(){w.on(this._element,ha,i=>this._onInteraction(i,!0)),w.on(this._element,Xn,i=>this._onInteraction(i,!1)),w.on(this._element,le,i=>this._onInteraction(i,!0)),w.on(this._element,ps,i=>this._onInteraction(i,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(i){return this.each(function(){const c=On.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0)throw new TypeError(`No method named "${i}"`);c[i](this)}})}}return Kt(On),ot(On),{Alert:Ve,Button:ta,Carousel:Ta,Collapse:la,Dropdown:ln,Modal:Hn,Offcanvas:sn,Popover:_t,ScrollSpy:yl,Tab:we,Toast:On,Tooltip:Bn}})}(Xc)),Xc.exports}F0();var Ff={exports:{}},Wf,$m;function W0(){if($m)return Wf;$m=1;var u="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Wf=u,Wf}var Pf,Jm;function P0(){if(Jm)return Pf;Jm=1;var u=W0();function r(){}function f(){}return f.resetWarningCache=r,Pf=function(){function o(S,x,N,U,X,Z){if(Z!==u){var Q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw Q.name="Invariant Violation",Q}}o.isRequired=o;function m(){return o}var v={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:m,element:o,elementType:o,instanceOf:m,node:o,objectOf:m,oneOf:m,oneOfType:m,shape:m,exact:m,checkPropTypes:f,resetWarningCache:r};return v.PropTypes=v,v},Pf}var Fm;function I0(){return Fm||(Fm=1,Ff.exports=P0()()),Ff.exports}var tv=I0();const K=wg(tv),Ng=u=>G.jsx("main",{className:"container justify-content-center",children:u.children});Ng.propTypes={children:K.node};function Rg(u,r){const f=F.useRef(r);F.useEffect(function(){r!==f.current&&u.attributionControl!=null&&(f.current!=null&&u.attributionControl.removeAttribution(f.current),r!=null&&u.attributionControl.addAttribution(r)),f.current=r},[u,r])}function ev(u,r,f){r.center!==f.center&&u.setLatLng(r.center),r.radius!=null&&r.radius!==f.radius&&u.setRadius(r.radius)}var nv=zg();const av=1;function lv(u){return Object.freeze({__version:av,map:u})}function iv(u,r){return Object.freeze({...u,...r})}const Od=F.createContext(null);function xd(){const u=F.use(Od);if(u==null)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of ");return u}function sv(u){function r(f,o){const{instance:m,context:v}=u(f).current;F.useImperativeHandle(o,()=>m);const{children:S}=f;return S==null?null:Ri.createElement(Od,{value:v},S)}return F.forwardRef(r)}function uv(u){function r(f,o){const[m,v]=F.useState(!1),{instance:S}=u(f,v).current;F.useImperativeHandle(o,()=>S),F.useEffect(function(){m&&S.update()},[S,m,f.children]);const x=S._contentNode;return x?nv.createPortal(f.children,x):null}return F.forwardRef(r)}function rv(u){function r(f,o){const{instance:m}=u(f).current;return F.useImperativeHandle(o,()=>m),null}return F.forwardRef(r)}function Cd(u,r){const f=F.useRef(void 0);F.useEffect(function(){return r!=null&&u.instance.on(r),f.current=r,function(){f.current!=null&&u.instance.off(f.current),f.current=null}},[u,r])}function $c(u,r){const f=u.pane??r.pane;return f?{...u,pane:f}:u}function cv(u,r){return function(o,m){const v=xd(),S=u($c(o,v),v);return Rg(v.map,o.attribution),Cd(S.current,o.eventHandlers),r(S.current,v,o,m),S}}var Jc=L0();function Dd(u,r,f){return Object.freeze({instance:u,context:r,container:f})}function Md(u,r){return r==null?function(o,m){const v=F.useRef(void 0);return v.current||(v.current=u(o,m)),v}:function(o,m){const v=F.useRef(void 0);v.current||(v.current=u(o,m));const S=F.useRef(o),{instance:x}=v.current;return F.useEffect(function(){S.current!==o&&(r(x,o,S.current),S.current=o)},[x,o,r]),v}}function jg(u,r){F.useEffect(function(){return(r.layerContainer??r.map).addLayer(u.instance),function(){var v;(v=r.layerContainer)==null||v.removeLayer(u.instance),r.map.removeLayer(u.instance)}},[r,u])}function ov(u){return function(f){const o=xd(),m=u($c(f,o),o);return Rg(o.map,f.attribution),Cd(m.current,f.eventHandlers),jg(m.current,o),m}}function fv(u,r){const f=F.useRef(void 0);F.useEffect(function(){if(r.pathOptions!==f.current){const m=r.pathOptions??{};u.instance.setStyle(m),f.current=m}},[u,r])}function dv(u){return function(f){const o=xd(),m=u($c(f,o),o);return Cd(m.current,f.eventHandlers),jg(m.current,o),fv(m.current,f),m}}function hv(u,r){const f=Md(u),o=cv(f,r);return uv(o)}function mv(u,r){const f=Md(u,r),o=dv(f);return sv(o)}function gv(u,r){const f=Md(u,r),o=ov(f);return rv(o)}function pv(u,r,f){const{opacity:o,zIndex:m}=r;o!=null&&o!==f.opacity&&u.setOpacity(o),m!=null&&m!==f.zIndex&&u.setZIndex(m)}const Wm=mv(function({center:r,children:f,...o},m){const v=new Jc.Circle(r,o);return Dd(v,iv(m,{overlayContainer:v}))},ev);function vv({bounds:u,boundsOptions:r,center:f,children:o,className:m,id:v,placeholder:S,style:x,whenReady:N,zoom:U,...X},Z){const[Q]=F.useState({className:m,id:v,style:x}),[tt,ct]=F.useState(null),Et=F.useRef(void 0);F.useImperativeHandle(Z,()=>(tt==null?void 0:tt.map)??null,[tt]);const rt=F.useCallback(it=>{if(it!==null&&!Et.current){const Ct=new Jc.Map(it,X);Et.current=Ct,f!=null&&U!=null?Ct.setView(f,U):u!=null&&Ct.fitBounds(u,r),N!=null&&Ct.whenReady(N),ct(lv(Ct))}},[]);F.useEffect(()=>()=>{tt==null||tt.map.remove()},[tt]);const ot=tt?Ri.createElement(Od,{value:tt},o):S??null;return Ri.createElement("div",{...Q,ref:rt},ot)}const yv=F.forwardRef(vv),bv=hv(function(r,f){const o=new Jc.Popup(r,f.overlayContainer);return Dd(o,f)},function(r,f,{position:o},m){F.useEffect(function(){const{instance:S}=r;function x(U){U.popup===S&&(S.update(),m(!0))}function N(U){U.popup===S&&m(!1)}return f.map.on({popupopen:x,popupclose:N}),f.overlayContainer==null?(o!=null&&S.setLatLng(o),S.openOn(f.map)):f.overlayContainer.bindPopup(S),function(){var X;f.map.off({popupopen:x,popupclose:N}),(X=f.overlayContainer)==null||X.unbindPopup(),f.map.removeLayer(S)}},[r,f,m,o])}),_v=gv(function({url:r,...f},o){const m=new Jc.TileLayer(r,$c(f,o));return Dd(m,o)},function(r,f,o){pv(r,f,o);const{url:m}=f;m!=null&&m!==o.url&&r.setUrl(m)}),Lg=F.createContext(),Ug=({children:u})=>{const[r,f]=F.useState(null),[o,m]=F.useState(!0),[v,S]=F.useState(null);return F.useEffect(()=>{(async()=>{try{const N=await fetch("/config/settings.json");if(!N.ok)throw new Error("Error al cargar settings.json");const U=await N.json();f(U)}catch(N){S(N.message)}finally{m(!1)}})()},[]),G.jsx(Lg.Provider,{value:{config:r,configLoading:o,configError:v},children:u})};Ug.propTypes={children:K.node.isRequired};const mr=()=>F.useContext(Lg),Hg=F.createContext(),Fc=({children:u,config:r})=>{const[f,o]=F.useState(null),[m,v]=F.useState(!0),[S,x]=F.useState(null);return F.useEffect(()=>{(async()=>{try{const U=new URLSearchParams(r.params).toString(),X=`${r.baseUrl}?${U}`,Z=await fetch(X);if(!Z.ok)throw new Error("Error al obtener datos");const Q=await Z.json();o(Q)}catch(U){x(U.message)}finally{v(!1)}})()},[r]),G.jsx(Hg.Provider,{value:{data:f,dataLoading:m,dataError:S},children:u})};Fc.propTypes={children:K.node.isRequired,config:K.shape({baseUrl:K.string.isRequired,params:K.object}).isRequired};const wd=()=>F.useContext(Hg),Sv=({data:u})=>u.map(({lat:r,lng:f,level:o},m)=>{const v=o<20?"#00FF85":o<60?"#FFA500":"#FF0000",S=4,N=400/S;return G.jsxs("div",{children:[[...Array(S)].map((U,X)=>{const Z=N*(X+1),Q=.6*((X+1)/S);return G.jsx(Wm,{center:[r,f],pathOptions:{color:v,fillColor:v,fillOpacity:Q,weight:1},radius:Z},`${m}-${X}`)}),G.jsx(Wm,{center:[r,f],pathOptions:{color:v,fillColor:v,fillOpacity:.8,weight:2},radius:50,children:G.jsxs(bv,{children:["Contaminación: ",o," µg/m³"]})})]},m)}),Av=()=>{const{config:u,configLoading:r,configError:f}=mr();if(r)return G.jsx("p",{children:"Cargando configuración..."});if(f)return G.jsxs("p",{children:["Error al cargar configuración: ",f]});if(!u)return G.jsx("p",{children:"Configuración no disponible."});const o=u.appConfig.endpoints.baseUrl,m=u.appConfig.endpoints.sensors,v={baseUrl:`${o}/${m}`,params:{}};return G.jsx(Fc,{config:v,children:G.jsx(Ev,{})})},Ev=()=>{const{config:u,configLoading:r,configError:f}=mr(),{data:o,dataLoading:m,dataError:v}=wd();if(r)return G.jsx("p",{children:"Cargando configuración..."});if(f)return G.jsxs("p",{children:["Error al cargar configuración: ",f]});if(!u)return G.jsx("p",{children:"Configuración no disponible."});if(m)return G.jsx("p",{children:"Cargando datos..."});if(v)return G.jsxs("p",{children:["Error al cargar datos: ",f]});if(!o)return G.jsx("p",{children:"Datos no disponibles."});const S=u==null?void 0:u.userConfig.city,x=o.map(N=>({lat:N.lat,lng:N.lon,level:N.value}));return G.jsx("div",{className:"p-3",children:G.jsxs(yv,{center:S,zoom:13,scrollWheelZoom:!1,style:Tv,children:[G.jsx(_v,{attribution:'© Contribuidores de OpenStreetMap',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),G.jsx(Sv,{data:x})]})})},Tv={height:"500px",width:"100%",borderRadius:"20px"},qg="label";function Pm(u,r){typeof u=="function"?u(r):u&&(u.current=r)}function Ov(u,r){const f=u.options;f&&r&&Object.assign(f,r)}function Bg(u,r){u.labels=r}function Yg(u,r){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qg;const o=[];u.datasets=r.map(m=>{const v=u.datasets.find(S=>S[f]===m[f]);return!v||!m.data||o.includes(v)?{...m}:(o.push(v),Object.assign(v,m),v)})}function xv(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qg;const f={labels:[],datasets:[]};return Bg(f,u.labels),Yg(f,u.datasets,r),f}function Cv(u,r){const{height:f=150,width:o=300,redraw:m=!1,datasetIdKey:v,type:S,data:x,options:N,plugins:U=[],fallbackContent:X,updateMode:Z,...Q}=u,tt=F.useRef(null),ct=F.useRef(null),Et=()=>{tt.current&&(ct.current=new Td(tt.current,{type:S,data:xv(x,v),options:N&&{...N},plugins:U}),Pm(r,ct.current))},rt=()=>{Pm(r,null),ct.current&&(ct.current.destroy(),ct.current=null)};return F.useEffect(()=>{!m&&ct.current&&N&&Ov(ct.current,N)},[m,N]),F.useEffect(()=>{!m&&ct.current&&Bg(ct.current.config.data,x.labels)},[m,x.labels]),F.useEffect(()=>{!m&&ct.current&&x.datasets&&Yg(ct.current.config.data,x.datasets,v)},[m,x.datasets]),F.useEffect(()=>{ct.current&&(m?(rt(),setTimeout(Et)):ct.current.update(Z))},[m,N,x.labels,x.datasets,Z]),F.useEffect(()=>{ct.current&&(rt(),setTimeout(Et))},[S]),F.useEffect(()=>(Et(),()=>rt()),[]),Ri.createElement("canvas",{ref:tt,role:"img",height:f,width:o,...Q},X)}const Dv=F.forwardRef(Cv);function Mv(u,r){return Td.register(r),F.forwardRef((f,o)=>Ri.createElement(Dv,{...f,ref:o,type:u}))}const wv=Mv("line",U0),kg=F.createContext();function Xg({children:u}){const[r,f]=F.useState(()=>localStorage.getItem("theme")||"light");F.useEffect(()=>{document.body.classList.remove("light","dark"),document.body.classList.add(r),localStorage.setItem("theme",r)},[r]);const o=()=>{f(m=>m==="light"?"dark":"light")};return G.jsx(kg.Provider,{value:{theme:r,toggleTheme:o},children:u})}Xg.propTypes={children:K.node.isRequired};function Wc(){return F.useContext(kg)}const zd=({title:u,status:r,children:f,styleMode:o,className:m,titleIcon:v})=>{const S=F.useRef(null),[x,N]=F.useState(u),{theme:U}=Wc();return F.useEffect(()=>{const X=()=>{S.current&&(S.current.offsetWidth<300&&u.length>15?N(u.slice(0,10)+"."):N(u))};return X(),window.addEventListener("resize",X),()=>window.removeEventListener("resize",X)},[u]),G.jsx("div",{ref:S,className:o==="override"?`${m}`:`col-xl-3 col-sm-6 d-flex flex-column align-items-center p-3 card-container ${m}`,children:G.jsxs("div",{className:`card p-3 w-100 ${U}`,children:[G.jsxs("h3",{className:"text-center",children:[v,x]}),G.jsx("div",{className:"card-content",children:f}),r?G.jsx("span",{className:"status text-center mt-2",children:r}):null]})})};zd.propTypes={title:K.string.isRequired,status:K.string.isRequired,children:K.node.isRequired,styleMode:K.oneOf(["override",""]),className:K.string,titleIcon:K.node};zd.defaultProps={styleMode:""};const Nd=({cards:u,className:r})=>G.jsx("div",{className:`row justify-content-center g-0 ${r}`,children:u.map((f,o)=>G.jsx(zd,{title:f.title,status:f.status,styleMode:f.styleMode,className:f.className,titleIcon:f.titleIcon,children:G.jsx("p",{className:"card-text text-center",children:f.content})},o))});Nd.propTypes={cards:K.arrayOf(K.shape({title:K.string.isRequired,content:K.string.isRequired,status:K.string.isRequired})).isRequired,className:K.string};Td.register(H0,q0,B0,Y0,k0);const zv=()=>{const{config:u,configLoading:r,configError:f}=mr();if(r)return G.jsx("p",{children:"Cargando configuración..."});if(f)return G.jsxs("p",{children:["Error al cargar configuración: ",f]});if(!u)return G.jsx("p",{children:"Configuración no disponible."});const o=u.appConfig.endpoints.baseUrl,m=u.appConfig.endpoints.sensors,v={baseUrl:`${o}/${m}`,params:{}};return G.jsx(Fc,{config:v,children:G.jsx(Gg,{})})},Gg=()=>{var tt,ct,Et,rt;const{config:u}=mr(),{data:r,loading:f}=wd(),{theme:o}=Wc(),m=((ct=(tt=u==null?void 0:u.appConfig)==null?void 0:tt.historyChartConfig)==null?void 0:ct.chartOptionsDark)??{},v=((rt=(Et=u==null?void 0:u.appConfig)==null?void 0:Et.historyChartConfig)==null?void 0:rt.chartOptionsLight)??{},S=o==="dark"?m:v,x=new Date().getHours(),N=[`${x-3}:00`,`${x-2}:00`,`${x-1}:00`,`${x}:00`,`${x+1}:00`,`${x+2}:00`,`${x+3}:00`];if(f)return G.jsx("p",{children:"Cargando datos..."});const U=[],X=[],Z=[];r==null||r.forEach(ot=>{ot.value!=null&&(ot.sensor_type==="MQ-135"?Z.push(ot.value):ot.sensor_type==="DHT-11"&&(U.push(ot.value),X.push(ot.value)))});const Q=[{title:"🌡️ Temperatura",data:U.length?U:[0],borderColor:"#00FF85",backgroundColor:"rgba(0, 255, 133, 0.2)"},{title:"💧 Humedad",data:X.length?X:[0],borderColor:"#00D4FF",backgroundColor:"rgba(0, 212, 255, 0.2)"},{title:"☁️ Contaminación",data:Z.length?Z:[0],borderColor:"#FFA500",backgroundColor:"rgba(255, 165, 0, 0.2)"}];return G.jsx(Nd,{cards:Q.map(({title:ot,data:it,borderColor:Ct,backgroundColor:ee})=>({title:ot,content:G.jsx(wv,{data:{labels:N,datasets:[{data:it,borderColor:Ct,backgroundColor:ee,fill:!0,tension:.4}]},options:S}),styleMode:"override",className:"col-lg-4 col-xxs-12 d-flex flex-column align-items-center p-3 card-container"})),className:""})};Gg.propTypes={options:K.object,timeLabels:K.array,data:K.array};/*! * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2024 Fonticons, Inc. */function Nv(u,r,f){return(r=jv(r))in u?Object.defineProperty(u,r,{value:f,enumerable:!0,configurable:!0,writable:!0}):u[r]=f,u}function Im(u,r){var f=Object.keys(u);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(u);r&&(o=o.filter(function(m){return Object.getOwnPropertyDescriptor(u,m).enumerable})),f.push.apply(f,o)}return f}function Y(u){for(var r=1;r{};let Rd={},Qg={},Vg=null,Zg={mark:tg,measure:tg};try{typeof window<"u"&&(Rd=window),typeof document<"u"&&(Qg=document),typeof MutationObserver<"u"&&(Vg=MutationObserver),typeof performance<"u"&&(Zg=performance)}catch{}const{userAgent:eg=""}=Rd.navigator||{},Xl=Rd,Zt=Qg,ng=Vg,Yc=Zg;Xl.document;const Pa=!!Zt.documentElement&&!!Zt.head&&typeof Zt.addEventListener=="function"&&typeof Zt.createElement=="function",Kg=~eg.indexOf("MSIE")||~eg.indexOf("Trident/");var Lv=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Uv=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,$g={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},Hv={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},Jg=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Ne="classic",Pc="duotone",qv="sharp",Bv="sharp-duotone",Fg=[Ne,Pc,qv,Bv],Yv={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},kv={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},Xv=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),Gv={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},Qv=["fak","fa-kit","fakd","fa-kit-duotone"],ag={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},Vv=["kit"],Zv={kit:{"fa-kit":"fak"}},Kv=["fak","fakd"],$v={kit:{fak:"fa-kit"}},lg={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},kc={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Jv=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Fv=["fak","fa-kit","fakd","fa-kit-duotone"],Wv={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Pv={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},Iv={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},id={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},ty=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],sd=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...Jv,...ty],ey=["solid","regular","light","thin","duotone","brands"],Wg=[1,2,3,4,5,6,7,8,9,10],ny=Wg.concat([11,12,13,14,15,16,17,18,19,20]),ay=[...Object.keys(Iv),...ey,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",kc.GROUP,kc.SWAP_OPACITY,kc.PRIMARY,kc.SECONDARY].concat(Wg.map(u=>"".concat(u,"x"))).concat(ny.map(u=>"w-".concat(u))),ly={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const Fa="___FONT_AWESOME___",ud=16,Pg="fa",Ig="svg-inline--fa",ji="data-fa-i2svg",rd="data-fa-pseudo-element",iy="data-fa-pseudo-element-pending",jd="data-prefix",Ld="data-icon",ig="fontawesome-i2svg",sy="async",uy=["HTML","HEAD","STYLE","SCRIPT"],tp=(()=>{try{return!0}catch{return!1}})();function gr(u){return new Proxy(u,{get(r,f){return f in r?r[f]:r[Ne]}})}const ep=Y({},$g);ep[Ne]=Y(Y(Y(Y({},{"fa-duotone":"duotone"}),$g[Ne]),ag.kit),ag["kit-duotone"]);const ry=gr(ep),cd=Y({},Gv);cd[Ne]=Y(Y(Y(Y({},{duotone:"fad"}),cd[Ne]),lg.kit),lg["kit-duotone"]);const sg=gr(cd),od=Y({},id);od[Ne]=Y(Y({},od[Ne]),$v.kit);const Ud=gr(od),fd=Y({},Pv);fd[Ne]=Y(Y({},fd[Ne]),Zv.kit);gr(fd);const cy=Lv,np="fa-layers-text",oy=Uv,fy=Y({},Yv);gr(fy);const dy=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],If=Hv,hy=[...Vv,...ay],or=Xl.FontAwesomeConfig||{};function my(u){var r=Zt.querySelector("script["+u+"]");if(r)return r.getAttribute(u)}function gy(u){return u===""?!0:u==="false"?!1:u==="true"?!0:u}Zt&&typeof Zt.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(r=>{let[f,o]=r;const m=gy(my(f));m!=null&&(or[o]=m)});const ap={styleDefault:"solid",familyDefault:Ne,cssPrefix:Pg,replacementClass:Ig,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};or.familyPrefix&&(or.cssPrefix=or.familyPrefix);const Bs=Y(Y({},ap),or);Bs.autoReplaceSvg||(Bs.observeMutations=!1);const I={};Object.keys(ap).forEach(u=>{Object.defineProperty(I,u,{enumerable:!0,set:function(r){Bs[u]=r,fr.forEach(f=>f(I))},get:function(){return Bs[u]}})});Object.defineProperty(I,"familyPrefix",{enumerable:!0,set:function(u){Bs.cssPrefix=u,fr.forEach(r=>r(I))},get:function(){return Bs.cssPrefix}});Xl.FontAwesomeConfig=I;const fr=[];function py(u){return fr.push(u),()=>{fr.splice(fr.indexOf(u),1)}}const Yl=ud,Sa={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function vy(u){if(!u||!Pa)return;const r=Zt.createElement("style");r.setAttribute("type","text/css"),r.innerHTML=u;const f=Zt.head.childNodes;let o=null;for(let m=f.length-1;m>-1;m--){const v=f[m],S=(v.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(S)>-1&&(o=v)}return Zt.head.insertBefore(r,o),u}const yy="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function dr(){let u=12,r="";for(;u-- >0;)r+=yy[Math.random()*62|0];return r}function Ys(u){const r=[];for(let f=(u||[]).length>>>0;f--;)r[f]=u[f];return r}function Hd(u){return u.classList?Ys(u.classList):(u.getAttribute("class")||"").split(" ").filter(r=>r)}function lp(u){return"".concat(u).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function by(u){return Object.keys(u||{}).reduce((r,f)=>r+"".concat(f,'="').concat(lp(u[f]),'" '),"").trim()}function Ic(u){return Object.keys(u||{}).reduce((r,f)=>r+"".concat(f,": ").concat(u[f].trim(),";"),"")}function qd(u){return u.size!==Sa.size||u.x!==Sa.x||u.y!==Sa.y||u.rotate!==Sa.rotate||u.flipX||u.flipY}function _y(u){let{transform:r,containerWidth:f,iconWidth:o}=u;const m={transform:"translate(".concat(f/2," 256)")},v="translate(".concat(r.x*32,", ").concat(r.y*32,") "),S="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),x="rotate(".concat(r.rotate," 0 0)"),N={transform:"".concat(v," ").concat(S," ").concat(x)},U={transform:"translate(".concat(o/2*-1," -256)")};return{outer:m,inner:N,path:U}}function Sy(u){let{transform:r,width:f=ud,height:o=ud,startCentered:m=!1}=u,v="";return m&&Kg?v+="translate(".concat(r.x/Yl-f/2,"em, ").concat(r.y/Yl-o/2,"em) "):m?v+="translate(calc(-50% + ".concat(r.x/Yl,"em), calc(-50% + ").concat(r.y/Yl,"em)) "):v+="translate(".concat(r.x/Yl,"em, ").concat(r.y/Yl,"em) "),v+="scale(".concat(r.size/Yl*(r.flipX?-1:1),", ").concat(r.size/Yl*(r.flipY?-1:1),") "),v+="rotate(".concat(r.rotate,"deg) "),v}var Ay=`:root, :host { --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"; --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free"; --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro"; --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro"; --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone"; --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone"; --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone"; --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp"; --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp"; --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp"; --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp"; --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone"; --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone"; --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone"; --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone"; } svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { overflow: visible; box-sizing: content-box; } .svg-inline--fa { display: var(--fa-display, inline-block); height: 1em; overflow: visible; vertical-align: -0.125em; } .svg-inline--fa.fa-2xs { vertical-align: 0.1em; } .svg-inline--fa.fa-xs { vertical-align: 0em; } .svg-inline--fa.fa-sm { vertical-align: -0.0714285705em; } .svg-inline--fa.fa-lg { vertical-align: -0.2em; } .svg-inline--fa.fa-xl { vertical-align: -0.25em; } .svg-inline--fa.fa-2xl { vertical-align: -0.3125em; } .svg-inline--fa.fa-pull-left { margin-right: var(--fa-pull-margin, 0.3em); width: auto; } .svg-inline--fa.fa-pull-right { margin-left: var(--fa-pull-margin, 0.3em); width: auto; } .svg-inline--fa.fa-li { width: var(--fa-li-width, 2em); top: 0.25em; } .svg-inline--fa.fa-fw { width: var(--fa-fw-width, 1.25em); } .fa-layers svg.svg-inline--fa { bottom: 0; left: 0; margin: auto; position: absolute; right: 0; top: 0; } .fa-layers-counter, .fa-layers-text { display: inline-block; position: absolute; text-align: center; } .fa-layers { display: inline-block; height: 1em; position: relative; text-align: center; vertical-align: -0.125em; width: 1em; } .fa-layers svg.svg-inline--fa { transform-origin: center center; } .fa-layers-text { left: 50%; top: 50%; transform: translate(-50%, -50%); transform-origin: center center; } .fa-layers-counter { background-color: var(--fa-counter-background-color, #ff253a); border-radius: var(--fa-counter-border-radius, 1em); box-sizing: border-box; color: var(--fa-inverse, #fff); line-height: var(--fa-counter-line-height, 1); max-width: var(--fa-counter-max-width, 5em); min-width: var(--fa-counter-min-width, 1.5em); overflow: hidden; padding: var(--fa-counter-padding, 0.25em 0.5em); right: var(--fa-right, 0); text-overflow: ellipsis; top: var(--fa-top, 0); transform: scale(var(--fa-counter-scale, 0.25)); transform-origin: top right; } .fa-layers-bottom-right { bottom: var(--fa-bottom, 0); right: var(--fa-right, 0); top: auto; transform: scale(var(--fa-layers-scale, 0.25)); transform-origin: bottom right; } .fa-layers-bottom-left { bottom: var(--fa-bottom, 0); left: var(--fa-left, 0); right: auto; top: auto; transform: scale(var(--fa-layers-scale, 0.25)); transform-origin: bottom left; } .fa-layers-top-right { top: var(--fa-top, 0); right: var(--fa-right, 0); transform: scale(var(--fa-layers-scale, 0.25)); transform-origin: top right; } .fa-layers-top-left { left: var(--fa-left, 0); right: auto; top: var(--fa-top, 0); transform: scale(var(--fa-layers-scale, 0.25)); transform-origin: top left; } .fa-1x { font-size: 1em; } .fa-2x { font-size: 2em; } .fa-3x { font-size: 3em; } .fa-4x { font-size: 4em; } .fa-5x { font-size: 5em; } .fa-6x { font-size: 6em; } .fa-7x { font-size: 7em; } .fa-8x { font-size: 8em; } .fa-9x { font-size: 9em; } .fa-10x { font-size: 10em; } .fa-2xs { font-size: 0.625em; line-height: 0.1em; vertical-align: 0.225em; } .fa-xs { font-size: 0.75em; line-height: 0.0833333337em; vertical-align: 0.125em; } .fa-sm { font-size: 0.875em; line-height: 0.0714285718em; vertical-align: 0.0535714295em; } .fa-lg { font-size: 1.25em; line-height: 0.05em; vertical-align: -0.075em; } .fa-xl { font-size: 1.5em; line-height: 0.0416666682em; vertical-align: -0.125em; } .fa-2xl { font-size: 2em; line-height: 0.03125em; vertical-align: -0.1875em; } .fa-fw { text-align: center; width: 1.25em; } .fa-ul { list-style-type: none; margin-left: var(--fa-li-margin, 2.5em); padding-left: 0; } .fa-ul > li { position: relative; } .fa-li { left: calc(-1 * var(--fa-li-width, 2em)); position: absolute; text-align: center; width: var(--fa-li-width, 2em); line-height: inherit; } .fa-border { border-color: var(--fa-border-color, #eee); border-radius: var(--fa-border-radius, 0.1em); border-style: var(--fa-border-style, solid); border-width: var(--fa-border-width, 0.08em); padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); } .fa-pull-left { float: left; margin-right: var(--fa-pull-margin, 0.3em); } .fa-pull-right { float: right; margin-left: var(--fa-pull-margin, 0.3em); } .fa-beat { animation-name: fa-beat; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, ease-in-out); } .fa-bounce { animation-name: fa-bounce; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); } .fa-fade { animation-name: fa-fade; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); } .fa-beat-fade { animation-name: fa-beat-fade; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); } .fa-flip { animation-name: fa-flip; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, ease-in-out); } .fa-shake { animation-name: fa-shake; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, linear); } .fa-spin { animation-name: fa-spin; animation-delay: var(--fa-animation-delay, 0s); animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 2s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, linear); } .fa-spin-reverse { --fa-animation-direction: reverse; } .fa-pulse, .fa-spin-pulse { animation-name: fa-spin; animation-direction: var(--fa-animation-direction, normal); animation-duration: var(--fa-animation-duration, 1s); animation-iteration-count: var(--fa-animation-iteration-count, infinite); animation-timing-function: var(--fa-animation-timing, steps(8)); } @media (prefers-reduced-motion: reduce) { .fa-beat, .fa-bounce, .fa-fade, .fa-beat-fade, .fa-flip, .fa-pulse, .fa-shake, .fa-spin, .fa-spin-pulse { animation-delay: -1ms; animation-duration: 1ms; animation-iteration-count: 1; transition-delay: 0s; transition-duration: 0s; } } @keyframes fa-beat { 0%, 90% { transform: scale(1); } 45% { transform: scale(var(--fa-beat-scale, 1.25)); } } @keyframes fa-bounce { 0% { transform: scale(1, 1) translateY(0); } 10% { transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); } 30% { transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); } 50% { transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); } 57% { transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); } 64% { transform: scale(1, 1) translateY(0); } 100% { transform: scale(1, 1) translateY(0); } } @keyframes fa-fade { 50% { opacity: var(--fa-fade-opacity, 0.4); } } @keyframes fa-beat-fade { 0%, 100% { opacity: var(--fa-beat-fade-opacity, 0.4); transform: scale(1); } 50% { opacity: 1; transform: scale(var(--fa-beat-fade-scale, 1.125)); } } @keyframes fa-flip { 50% { transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); } } @keyframes fa-shake { 0% { transform: rotate(-15deg); } 4% { transform: rotate(15deg); } 8%, 24% { transform: rotate(-18deg); } 12%, 28% { transform: rotate(18deg); } 16% { transform: rotate(-22deg); } 20% { transform: rotate(22deg); } 32% { transform: rotate(-12deg); } 36% { transform: rotate(12deg); } 40%, 100% { transform: rotate(0deg); } } @keyframes fa-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .fa-rotate-90 { transform: rotate(90deg); } .fa-rotate-180 { transform: rotate(180deg); } .fa-rotate-270 { transform: rotate(270deg); } .fa-flip-horizontal { transform: scale(-1, 1); } .fa-flip-vertical { transform: scale(1, -1); } .fa-flip-both, .fa-flip-horizontal.fa-flip-vertical { transform: scale(-1, -1); } .fa-rotate-by { transform: rotate(var(--fa-rotate-angle, 0)); } .fa-stack { display: inline-block; vertical-align: middle; height: 2em; position: relative; width: 2.5em; } .fa-stack-1x, .fa-stack-2x { bottom: 0; left: 0; margin: auto; position: absolute; right: 0; top: 0; z-index: var(--fa-stack-z-index, auto); } .svg-inline--fa.fa-stack-1x { height: 1em; width: 1.25em; } .svg-inline--fa.fa-stack-2x { height: 2em; width: 2.5em; } .fa-inverse { color: var(--fa-inverse, #fff); } .sr-only, .fa-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; } .sr-only-focusable:not(:focus), .fa-sr-only-focusable:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; } .svg-inline--fa .fa-primary { fill: var(--fa-primary-color, currentColor); opacity: var(--fa-primary-opacity, 1); } .svg-inline--fa .fa-secondary { fill: var(--fa-secondary-color, currentColor); opacity: var(--fa-secondary-opacity, 0.4); } .svg-inline--fa.fa-swap-opacity .fa-primary { opacity: var(--fa-secondary-opacity, 0.4); } .svg-inline--fa.fa-swap-opacity .fa-secondary { opacity: var(--fa-primary-opacity, 1); } .svg-inline--fa mask .fa-primary, .svg-inline--fa mask .fa-secondary { fill: black; }`;function ip(){const u=Pg,r=Ig,f=I.cssPrefix,o=I.replacementClass;let m=Ay;if(f!==u||o!==r){const v=new RegExp("\\.".concat(u,"\\-"),"g"),S=new RegExp("\\--".concat(u,"\\-"),"g"),x=new RegExp("\\.".concat(r),"g");m=m.replace(v,".".concat(f,"-")).replace(S,"--".concat(f,"-")).replace(x,".".concat(o))}return m}let ug=!1;function td(){I.autoAddCss&&!ug&&(vy(ip()),ug=!0)}var Ey={mixout(){return{dom:{css:ip,insertCss:td}}},hooks(){return{beforeDOMElementCreation(){td()},beforeI2svg(){td()}}}};const Wa=Xl||{};Wa[Fa]||(Wa[Fa]={});Wa[Fa].styles||(Wa[Fa].styles={});Wa[Fa].hooks||(Wa[Fa].hooks={});Wa[Fa].shims||(Wa[Fa].shims=[]);var Aa=Wa[Fa];const sp=[],up=function(){Zt.removeEventListener("DOMContentLoaded",up),Vc=1,sp.map(u=>u())};let Vc=!1;Pa&&(Vc=(Zt.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Zt.readyState),Vc||Zt.addEventListener("DOMContentLoaded",up));function Ty(u){Pa&&(Vc?setTimeout(u,0):sp.push(u))}function pr(u){const{tag:r,attributes:f={},children:o=[]}=u;return typeof u=="string"?lp(u):"<".concat(r," ").concat(by(f),">").concat(o.map(pr).join(""),"")}function rg(u,r,f){if(u&&u[r]&&u[r][f])return{prefix:r,iconName:f,icon:u[r][f]}}var ed=function(r,f,o,m){var v=Object.keys(r),S=v.length,x=f,N,U,X;for(o===void 0?(N=1,X=r[v[0]]):(N=0,X=o);N=55296&&m<=56319&&f=55296&&o<=56319&&f>r+1&&(m=u.charCodeAt(r+1),m>=56320&&m<=57343)?(o-55296)*1024+m-56320+65536:o}function cg(u){return Object.keys(u).reduce((r,f)=>{const o=u[f];return!!o.icon?r[o.iconName]=o.icon:r[f]=o,r},{})}function hd(u,r){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:o=!1}=f,m=cg(r);typeof Aa.hooks.addPack=="function"&&!o?Aa.hooks.addPack(u,cg(r)):Aa.styles[u]=Y(Y({},Aa.styles[u]||{}),m),u==="fas"&&hd("fa",r)}const{styles:hr,shims:Cy}=Aa,rp=Object.keys(Ud),Dy=rp.reduce((u,r)=>(u[r]=Object.keys(Ud[r]),u),{});let Bd=null,cp={},op={},fp={},dp={},hp={};function My(u){return~hy.indexOf(u)}function wy(u,r){const f=r.split("-"),o=f[0],m=f.slice(1).join("-");return o===u&&m!==""&&!My(m)?m:null}const mp=()=>{const u=o=>ed(hr,(m,v,S)=>(m[S]=ed(v,o,{}),m),{});cp=u((o,m,v)=>(m[3]&&(o[m[3]]=v),m[2]&&m[2].filter(x=>typeof x=="number").forEach(x=>{o[x.toString(16)]=v}),o)),op=u((o,m,v)=>(o[v]=v,m[2]&&m[2].filter(x=>typeof x=="string").forEach(x=>{o[x]=v}),o)),hp=u((o,m,v)=>{const S=m[2];return o[v]=v,S.forEach(x=>{o[x]=v}),o});const r="far"in hr||I.autoFetchSvg,f=ed(Cy,(o,m)=>{const v=m[0];let S=m[1];const x=m[2];return S==="far"&&!r&&(S="fas"),typeof v=="string"&&(o.names[v]={prefix:S,iconName:x}),typeof v=="number"&&(o.unicodes[v.toString(16)]={prefix:S,iconName:x}),o},{names:{},unicodes:{}});fp=f.names,dp=f.unicodes,Bd=to(I.styleDefault,{family:I.familyDefault})};py(u=>{Bd=to(u.styleDefault,{family:I.familyDefault})});mp();function Yd(u,r){return(cp[u]||{})[r]}function zy(u,r){return(op[u]||{})[r]}function Ni(u,r){return(hp[u]||{})[r]}function gp(u){return fp[u]||{prefix:null,iconName:null}}function Ny(u){const r=dp[u],f=Yd("fas",u);return r||(f?{prefix:"fas",iconName:f}:null)||{prefix:null,iconName:null}}function Gl(){return Bd}const pp=()=>({prefix:null,iconName:null,rest:[]});function Ry(u){let r=Ne;const f=rp.reduce((o,m)=>(o[m]="".concat(I.cssPrefix,"-").concat(m),o),{});return Fg.forEach(o=>{(u.includes(f[o])||u.some(m=>Dy[o].includes(m)))&&(r=o)}),r}function to(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:f=Ne}=r,o=ry[f][u];if(f===Pc&&!u)return"fad";const m=sg[f][u]||sg[f][o],v=u in Aa.styles?u:null;return m||v||null}function jy(u){let r=[],f=null;return u.forEach(o=>{const m=wy(I.cssPrefix,o);m?f=m:o&&r.push(o)}),{iconName:f,rest:r}}function og(u){return u.sort().filter((r,f,o)=>o.indexOf(r)===f)}function eo(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:f=!1}=r;let o=null;const m=sd.concat(Fv),v=og(u.filter(Z=>m.includes(Z))),S=og(u.filter(Z=>!sd.includes(Z))),x=v.filter(Z=>(o=Z,!Jg.includes(Z))),[N=null]=x,U=Ry(v),X=Y(Y({},jy(S)),{},{prefix:to(N,{family:U})});return Y(Y(Y({},X),qy({values:u,family:U,styles:hr,config:I,canonical:X,givenPrefix:o})),Ly(f,o,X))}function Ly(u,r,f){let{prefix:o,iconName:m}=f;if(u||!o||!m)return{prefix:o,iconName:m};const v=r==="fa"?gp(m):{},S=Ni(o,m);return m=v.iconName||S||m,o=v.prefix||o,o==="far"&&!hr.far&&hr.fas&&!I.autoFetchSvg&&(o="fas"),{prefix:o,iconName:m}}const Uy=Fg.filter(u=>u!==Ne||u!==Pc),Hy=Object.keys(id).filter(u=>u!==Ne).map(u=>Object.keys(id[u])).flat();function qy(u){const{values:r,family:f,canonical:o,givenPrefix:m="",styles:v={},config:S={}}=u,x=f===Pc,N=r.includes("fa-duotone")||r.includes("fad"),U=S.familyDefault==="duotone",X=o.prefix==="fad"||o.prefix==="fa-duotone";if(!x&&(N||U||X)&&(o.prefix="fad"),(r.includes("fa-brands")||r.includes("fab"))&&(o.prefix="fab"),!o.prefix&&Uy.includes(f)&&(Object.keys(v).find(Q=>Hy.includes(Q))||S.autoFetchSvg)){const Q=Xv.get(f).defaultShortPrefixId;o.prefix=Q,o.iconName=Ni(o.prefix,o.iconName)||o.iconName}return(o.prefix==="fa"||m==="fa")&&(o.prefix=Gl()||"fas"),o}class By{constructor(){this.definitions={}}add(){for(var r=arguments.length,f=new Array(r),o=0;o{this.definitions[v]=Y(Y({},this.definitions[v]||{}),m[v]),hd(v,m[v]);const S=Ud[Ne][v];S&&hd(S,m[v]),mp()})}reset(){this.definitions={}}_pullDefinitions(r,f){const o=f.prefix&&f.iconName&&f.icon?{0:f}:f;return Object.keys(o).map(m=>{const{prefix:v,iconName:S,icon:x}=o[m],N=x[2];r[v]||(r[v]={}),N.length>0&&N.forEach(U=>{typeof U=="string"&&(r[v][U]=x)}),r[v][S]=x}),r}}let fg=[],Us={};const qs={},Yy=Object.keys(qs);function ky(u,r){let{mixoutsTo:f}=r;return fg=u,Us={},Object.keys(qs).forEach(o=>{Yy.indexOf(o)===-1&&delete qs[o]}),fg.forEach(o=>{const m=o.mixout?o.mixout():{};if(Object.keys(m).forEach(v=>{typeof m[v]=="function"&&(f[v]=m[v]),typeof m[v]=="object"&&Object.keys(m[v]).forEach(S=>{f[v]||(f[v]={}),f[v][S]=m[v][S]})}),o.hooks){const v=o.hooks();Object.keys(v).forEach(S=>{Us[S]||(Us[S]=[]),Us[S].push(v[S])})}o.provides&&o.provides(qs)}),f}function md(u,r){for(var f=arguments.length,o=new Array(f>2?f-2:0),m=2;m{r=S.apply(null,[r,...o])}),r}function Li(u){for(var r=arguments.length,f=new Array(r>1?r-1:0),o=1;o{v.apply(null,f)})}function Ql(){const u=arguments[0],r=Array.prototype.slice.call(arguments,1);return qs[u]?qs[u].apply(null,r):void 0}function gd(u){u.prefix==="fa"&&(u.prefix="fas");let{iconName:r}=u;const f=u.prefix||Gl();if(r)return r=Ni(f,r)||r,rg(vp.definitions,f,r)||rg(Aa.styles,f,r)}const vp=new By,Xy=()=>{I.autoReplaceSvg=!1,I.observeMutations=!1,Li("noAuto")},Gy={i2svg:function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Pa?(Li("beforeI2svg",u),Ql("pseudoElements2svg",u),Ql("i2svg",u)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:r}=u;I.autoReplaceSvg===!1&&(I.autoReplaceSvg=!0),I.observeMutations=!0,Ty(()=>{Vy({autoReplaceSvgRoot:r}),Li("watch",u)})}},Qy={icon:u=>{if(u===null)return null;if(typeof u=="object"&&u.prefix&&u.iconName)return{prefix:u.prefix,iconName:Ni(u.prefix,u.iconName)||u.iconName};if(Array.isArray(u)&&u.length===2){const r=u[1].indexOf("fa-")===0?u[1].slice(3):u[1],f=to(u[0]);return{prefix:f,iconName:Ni(f,r)||r}}if(typeof u=="string"&&(u.indexOf("".concat(I.cssPrefix,"-"))>-1||u.match(cy))){const r=eo(u.split(" "),{skipLookups:!0});return{prefix:r.prefix||Gl(),iconName:Ni(r.prefix,r.iconName)||r.iconName}}if(typeof u=="string"){const r=Gl();return{prefix:r,iconName:Ni(r,u)||u}}}},dn={noAuto:Xy,config:I,dom:Gy,parse:Qy,library:vp,findIconDefinition:gd,toHtml:pr},Vy=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:r=Zt}=u;(Object.keys(Aa.styles).length>0||I.autoFetchSvg)&&Pa&&I.autoReplaceSvg&&dn.dom.i2svg({node:r})};function no(u,r){return Object.defineProperty(u,"abstract",{get:r}),Object.defineProperty(u,"html",{get:function(){return u.abstract.map(f=>pr(f))}}),Object.defineProperty(u,"node",{get:function(){if(!Pa)return;const f=Zt.createElement("div");return f.innerHTML=u.html,f.children}}),u}function Zy(u){let{children:r,main:f,mask:o,attributes:m,styles:v,transform:S}=u;if(qd(S)&&f.found&&!o.found){const{width:x,height:N}=f,U={x:x/N/2,y:.5};m.style=Ic(Y(Y({},v),{},{"transform-origin":"".concat(U.x+S.x/16,"em ").concat(U.y+S.y/16,"em")}))}return[{tag:"svg",attributes:m,children:r}]}function Ky(u){let{prefix:r,iconName:f,children:o,attributes:m,symbol:v}=u;const S=v===!0?"".concat(r,"-").concat(I.cssPrefix,"-").concat(f):v;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Y(Y({},m),{},{id:S}),children:o}]}]}function kd(u){const{icons:{main:r,mask:f},prefix:o,iconName:m,transform:v,symbol:S,title:x,maskId:N,titleId:U,extra:X,watchable:Z=!1}=u,{width:Q,height:tt}=f.found?f:r,ct=Kv.includes(o),Et=[I.replacementClass,m?"".concat(I.cssPrefix,"-").concat(m):""].filter(ne=>X.classes.indexOf(ne)===-1).filter(ne=>ne!==""||!!ne).concat(X.classes).join(" ");let rt={children:[],attributes:Y(Y({},X.attributes),{},{"data-prefix":o,"data-icon":m,class:Et,role:X.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Q," ").concat(tt)})};const ot=ct&&!~X.classes.indexOf("fa-fw")?{width:"".concat(Q/tt*16*.0625,"em")}:{};Z&&(rt.attributes[ji]=""),x&&(rt.children.push({tag:"title",attributes:{id:rt.attributes["aria-labelledby"]||"title-".concat(U||dr())},children:[x]}),delete rt.attributes.title);const it=Y(Y({},rt),{},{prefix:o,iconName:m,main:r,mask:f,maskId:N,transform:v,symbol:S,styles:Y(Y({},ot),X.styles)}),{children:Ct,attributes:ee}=f.found&&r.found?Ql("generateAbstractMask",it)||{children:[],attributes:{}}:Ql("generateAbstractIcon",it)||{children:[],attributes:{}};return it.children=Ct,it.attributes=ee,S?Ky(it):Zy(it)}function dg(u){const{content:r,width:f,height:o,transform:m,title:v,extra:S,watchable:x=!1}=u,N=Y(Y(Y({},S.attributes),v?{title:v}:{}),{},{class:S.classes.join(" ")});x&&(N[ji]="");const U=Y({},S.styles);qd(m)&&(U.transform=Sy({transform:m,startCentered:!0,width:f,height:o}),U["-webkit-transform"]=U.transform);const X=Ic(U);X.length>0&&(N.style=X);const Z=[];return Z.push({tag:"span",attributes:N,children:[r]}),v&&Z.push({tag:"span",attributes:{class:"sr-only"},children:[v]}),Z}function $y(u){const{content:r,title:f,extra:o}=u,m=Y(Y(Y({},o.attributes),f?{title:f}:{}),{},{class:o.classes.join(" ")}),v=Ic(o.styles);v.length>0&&(m.style=v);const S=[];return S.push({tag:"span",attributes:m,children:[r]}),f&&S.push({tag:"span",attributes:{class:"sr-only"},children:[f]}),S}const{styles:nd}=Aa;function pd(u){const r=u[0],f=u[1],[o]=u.slice(4);let m=null;return Array.isArray(o)?m={tag:"g",attributes:{class:"".concat(I.cssPrefix,"-").concat(If.GROUP)},children:[{tag:"path",attributes:{class:"".concat(I.cssPrefix,"-").concat(If.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(I.cssPrefix,"-").concat(If.PRIMARY),fill:"currentColor",d:o[1]}}]}:m={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:r,height:f,icon:m}}const Jy={found:!1,width:512,height:512};function Fy(u,r){!tp&&!I.showMissingIcons&&u&&console.error('Icon with name "'.concat(u,'" and prefix "').concat(r,'" is missing.'))}function vd(u,r){let f=r;return r==="fa"&&I.styleDefault!==null&&(r=Gl()),new Promise((o,m)=>{if(f==="fa"){const v=gp(u)||{};u=v.iconName||u,r=v.prefix||r}if(u&&r&&nd[r]&&nd[r][u]){const v=nd[r][u];return o(pd(v))}Fy(u,r),o(Y(Y({},Jy),{},{icon:I.showMissingIcons&&u?Ql("missingIconAbstract")||{}:{}}))})}const hg=()=>{},yd=I.measurePerformance&&Yc&&Yc.mark&&Yc.measure?Yc:{mark:hg,measure:hg},cr='FA "6.7.2"',Wy=u=>(yd.mark("".concat(cr," ").concat(u," begins")),()=>yp(u)),yp=u=>{yd.mark("".concat(cr," ").concat(u," ends")),yd.measure("".concat(cr," ").concat(u),"".concat(cr," ").concat(u," begins"),"".concat(cr," ").concat(u," ends"))};var Xd={begin:Wy,end:yp};const Gc=()=>{};function mg(u){return typeof(u.getAttribute?u.getAttribute(ji):null)=="string"}function Py(u){const r=u.getAttribute?u.getAttribute(jd):null,f=u.getAttribute?u.getAttribute(Ld):null;return r&&f}function Iy(u){return u&&u.classList&&u.classList.contains&&u.classList.contains(I.replacementClass)}function t1(){return I.autoReplaceSvg===!0?Qc.replace:Qc[I.autoReplaceSvg]||Qc.replace}function e1(u){return Zt.createElementNS("http://www.w3.org/2000/svg",u)}function n1(u){return Zt.createElement(u)}function bp(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:f=u.tag==="svg"?e1:n1}=r;if(typeof u=="string")return Zt.createTextNode(u);const o=f(u.tag);return Object.keys(u.attributes||[]).forEach(function(v){o.setAttribute(v,u.attributes[v])}),(u.children||[]).forEach(function(v){o.appendChild(bp(v,{ceFn:f}))}),o}function a1(u){let r=" ".concat(u.outerHTML," ");return r="".concat(r,"Font Awesome fontawesome.com "),r}const Qc={replace:function(u){const r=u[0];if(r.parentNode)if(u[1].forEach(f=>{r.parentNode.insertBefore(bp(f),r)}),r.getAttribute(ji)===null&&I.keepOriginalSource){let f=Zt.createComment(a1(r));r.parentNode.replaceChild(f,r)}else r.remove()},nest:function(u){const r=u[0],f=u[1];if(~Hd(r).indexOf(I.replacementClass))return Qc.replace(u);const o=new RegExp("".concat(I.cssPrefix,"-.*"));if(delete f[0].attributes.id,f[0].attributes.class){const v=f[0].attributes.class.split(" ").reduce((S,x)=>(x===I.replacementClass||x.match(o)?S.toSvg.push(x):S.toNode.push(x),S),{toNode:[],toSvg:[]});f[0].attributes.class=v.toSvg.join(" "),v.toNode.length===0?r.removeAttribute("class"):r.setAttribute("class",v.toNode.join(" "))}const m=f.map(v=>pr(v)).join(` `);r.setAttribute(ji,""),r.innerHTML=m}};function gg(u){u()}function _p(u,r){const f=typeof r=="function"?r:Gc;if(u.length===0)f();else{let o=gg;I.mutateApproach===sy&&(o=Xl.requestAnimationFrame||gg),o(()=>{const m=t1(),v=Xd.begin("mutate");u.map(m),v(),f()})}}let Gd=!1;function Sp(){Gd=!0}function bd(){Gd=!1}let Zc=null;function pg(u){if(!ng||!I.observeMutations)return;const{treeCallback:r=Gc,nodeCallback:f=Gc,pseudoElementsCallback:o=Gc,observeMutationsRoot:m=Zt}=u;Zc=new ng(v=>{if(Gd)return;const S=Gl();Ys(v).forEach(x=>{if(x.type==="childList"&&x.addedNodes.length>0&&!mg(x.addedNodes[0])&&(I.searchPseudoElements&&o(x.target),r(x.target)),x.type==="attributes"&&x.target.parentNode&&I.searchPseudoElements&&o(x.target.parentNode),x.type==="attributes"&&mg(x.target)&&~dy.indexOf(x.attributeName))if(x.attributeName==="class"&&Py(x.target)){const{prefix:N,iconName:U}=eo(Hd(x.target));x.target.setAttribute(jd,N||S),U&&x.target.setAttribute(Ld,U)}else Iy(x.target)&&f(x.target)})}),Pa&&Zc.observe(m,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function l1(){Zc&&Zc.disconnect()}function i1(u){const r=u.getAttribute("style");let f=[];return r&&(f=r.split(";").reduce((o,m)=>{const v=m.split(":"),S=v[0],x=v.slice(1);return S&&x.length>0&&(o[S]=x.join(":").trim()),o},{})),f}function s1(u){const r=u.getAttribute("data-prefix"),f=u.getAttribute("data-icon"),o=u.innerText!==void 0?u.innerText.trim():"";let m=eo(Hd(u));return m.prefix||(m.prefix=Gl()),r&&f&&(m.prefix=r,m.iconName=f),m.iconName&&m.prefix||(m.prefix&&o.length>0&&(m.iconName=zy(m.prefix,u.innerText)||Yd(m.prefix,dd(u.innerText))),!m.iconName&&I.autoFetchSvg&&u.firstChild&&u.firstChild.nodeType===Node.TEXT_NODE&&(m.iconName=u.firstChild.data)),m}function u1(u){const r=Ys(u.attributes).reduce((m,v)=>(m.name!=="class"&&m.name!=="style"&&(m[v.name]=v.value),m),{}),f=u.getAttribute("title"),o=u.getAttribute("data-fa-title-id");return I.autoA11y&&(f?r["aria-labelledby"]="".concat(I.replacementClass,"-title-").concat(o||dr()):(r["aria-hidden"]="true",r.focusable="false")),r}function r1(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Sa,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function vg(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:f,prefix:o,rest:m}=s1(u),v=u1(u),S=md("parseNodeAttributes",{},u);let x=r.styleParser?i1(u):[];return Y({iconName:f,title:u.getAttribute("title"),titleId:u.getAttribute("data-fa-title-id"),prefix:o,transform:Sa,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:m,styles:x,attributes:v}},S)}const{styles:c1}=Aa;function Ap(u){const r=I.autoReplaceSvg==="nest"?vg(u,{styleParser:!1}):vg(u);return~r.extra.classes.indexOf(np)?Ql("generateLayersText",u,r):Ql("generateSvgReplacementMutation",u,r)}function o1(){return[...Qv,...sd]}function yg(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Pa)return Promise.resolve();const f=Zt.documentElement.classList,o=X=>f.add("".concat(ig,"-").concat(X)),m=X=>f.remove("".concat(ig,"-").concat(X)),v=I.autoFetchSvg?o1():Jg.concat(Object.keys(c1));v.includes("fa")||v.push("fa");const S=[".".concat(np,":not([").concat(ji,"])")].concat(v.map(X=>".".concat(X,":not([").concat(ji,"])"))).join(", ");if(S.length===0)return Promise.resolve();let x=[];try{x=Ys(u.querySelectorAll(S))}catch{}if(x.length>0)o("pending"),m("complete");else return Promise.resolve();const N=Xd.begin("onTree"),U=x.reduce((X,Z)=>{try{const Q=Ap(Z);Q&&X.push(Q)}catch(Q){tp||Q.name==="MissingIcon"&&console.error(Q)}return X},[]);return new Promise((X,Z)=>{Promise.all(U).then(Q=>{_p(Q,()=>{o("active"),o("complete"),m("pending"),typeof r=="function"&&r(),N(),X()})}).catch(Q=>{N(),Z(Q)})})}function f1(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Ap(u).then(f=>{f&&_p([f],r)})}function d1(u){return function(r){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const o=(r||{}).icon?r:gd(r||{});let{mask:m}=f;return m&&(m=(m||{}).icon?m:gd(m||{})),u(o,Y(Y({},f),{},{mask:m}))}}const h1=function(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:f=Sa,symbol:o=!1,mask:m=null,maskId:v=null,title:S=null,titleId:x=null,classes:N=[],attributes:U={},styles:X={}}=r;if(!u)return;const{prefix:Z,iconName:Q,icon:tt}=u;return no(Y({type:"icon"},u),()=>(Li("beforeDOMElementCreation",{iconDefinition:u,params:r}),I.autoA11y&&(S?U["aria-labelledby"]="".concat(I.replacementClass,"-title-").concat(x||dr()):(U["aria-hidden"]="true",U.focusable="false")),kd({icons:{main:pd(tt),mask:m?pd(m.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Z,iconName:Q,transform:Y(Y({},Sa),f),symbol:o,title:S,maskId:v,titleId:x,extra:{attributes:U,styles:X,classes:N}})))};var m1={mixout(){return{icon:d1(h1)}},hooks(){return{mutationObserverCallbacks(u){return u.treeCallback=yg,u.nodeCallback=f1,u}}},provides(u){u.i2svg=function(r){const{node:f=Zt,callback:o=()=>{}}=r;return yg(f,o)},u.generateSvgReplacementMutation=function(r,f){const{iconName:o,title:m,titleId:v,prefix:S,transform:x,symbol:N,mask:U,maskId:X,extra:Z}=f;return new Promise((Q,tt)=>{Promise.all([vd(o,S),U.iconName?vd(U.iconName,U.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(ct=>{let[Et,rt]=ct;Q([r,kd({icons:{main:Et,mask:rt},prefix:S,iconName:o,transform:x,symbol:N,maskId:X,title:m,titleId:v,extra:Z,watchable:!0})])}).catch(tt)})},u.generateAbstractIcon=function(r){let{children:f,attributes:o,main:m,transform:v,styles:S}=r;const x=Ic(S);x.length>0&&(o.style=x);let N;return qd(v)&&(N=Ql("generateAbstractTransformGrouping",{main:m,transform:v,containerWidth:m.width,iconWidth:m.width})),f.push(N||m.icon),{children:f,attributes:o}}}},g1={mixout(){return{layer(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:f=[]}=r;return no({type:"layer"},()=>{Li("beforeDOMElementCreation",{assembler:u,params:r});let o=[];return u(m=>{Array.isArray(m)?m.map(v=>{o=o.concat(v.abstract)}):o=o.concat(m.abstract)}),[{tag:"span",attributes:{class:["".concat(I.cssPrefix,"-layers"),...f].join(" ")},children:o}]})}}}},p1={mixout(){return{counter(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:f=null,classes:o=[],attributes:m={},styles:v={}}=r;return no({type:"counter",content:u},()=>(Li("beforeDOMElementCreation",{content:u,params:r}),$y({content:u.toString(),title:f,extra:{attributes:m,styles:v,classes:["".concat(I.cssPrefix,"-layers-counter"),...o]}})))}}}},v1={mixout(){return{text(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:f=Sa,title:o=null,classes:m=[],attributes:v={},styles:S={}}=r;return no({type:"text",content:u},()=>(Li("beforeDOMElementCreation",{content:u,params:r}),dg({content:u,transform:Y(Y({},Sa),f),title:o,extra:{attributes:v,styles:S,classes:["".concat(I.cssPrefix,"-layers-text"),...m]}})))}}},provides(u){u.generateLayersText=function(r,f){const{title:o,transform:m,extra:v}=f;let S=null,x=null;if(Kg){const N=parseInt(getComputedStyle(r).fontSize,10),U=r.getBoundingClientRect();S=U.width/N,x=U.height/N}return I.autoA11y&&!o&&(v.attributes["aria-hidden"]="true"),Promise.resolve([r,dg({content:r.innerHTML,width:S,height:x,transform:m,title:o,extra:v,watchable:!0})])}}};const y1=new RegExp('"',"ug"),bg=[1105920,1112319],_g=Y(Y(Y(Y({},{FontAwesome:{normal:"fas",400:"fas"}}),kv),ly),Wv),_d=Object.keys(_g).reduce((u,r)=>(u[r.toLowerCase()]=_g[r],u),{}),b1=Object.keys(_d).reduce((u,r)=>{const f=_d[r];return u[r]=f[900]||[...Object.entries(f)][0][1],u},{});function _1(u){const r=u.replace(y1,""),f=xy(r,0),o=f>=bg[0]&&f<=bg[1],m=r.length===2?r[0]===r[1]:!1;return{value:dd(m?r[0]:r),isSecondary:o||m}}function S1(u,r){const f=u.replace(/^['"]|['"]$/g,"").toLowerCase(),o=parseInt(r),m=isNaN(o)?"normal":o;return(_d[f]||{})[m]||b1[f]}function Sg(u,r){const f="".concat(iy).concat(r.replace(":","-"));return new Promise((o,m)=>{if(u.getAttribute(f)!==null)return o();const S=Ys(u.children).filter(Q=>Q.getAttribute(rd)===r)[0],x=Xl.getComputedStyle(u,r),N=x.getPropertyValue("font-family"),U=N.match(oy),X=x.getPropertyValue("font-weight"),Z=x.getPropertyValue("content");if(S&&!U)return u.removeChild(S),o();if(U&&Z!=="none"&&Z!==""){const Q=x.getPropertyValue("content");let tt=S1(N,X);const{value:ct,isSecondary:Et}=_1(Q),rt=U[0].startsWith("FontAwesome");let ot=Yd(tt,ct),it=ot;if(rt){const Ct=Ny(ct);Ct.iconName&&Ct.prefix&&(ot=Ct.iconName,tt=Ct.prefix)}if(ot&&!Et&&(!S||S.getAttribute(jd)!==tt||S.getAttribute(Ld)!==it)){u.setAttribute(f,it),S&&u.removeChild(S);const Ct=r1(),{extra:ee}=Ct;ee.attributes[rd]=r,vd(ot,tt).then(ne=>{const Re=kd(Y(Y({},Ct),{},{icons:{main:ne,mask:pp()},prefix:tt,iconName:it,extra:ee,watchable:!0})),Kn=Zt.createElementNS("http://www.w3.org/2000/svg","svg");r==="::before"?u.insertBefore(Kn,u.firstChild):u.appendChild(Kn),Kn.outerHTML=Re.map(hn=>pr(hn)).join(` `),u.removeAttribute(f),o()}).catch(m)}else o()}else o()})}function A1(u){return Promise.all([Sg(u,"::before"),Sg(u,"::after")])}function E1(u){return u.parentNode!==document.head&&!~uy.indexOf(u.tagName.toUpperCase())&&!u.getAttribute(rd)&&(!u.parentNode||u.parentNode.tagName!=="svg")}function Ag(u){if(Pa)return new Promise((r,f)=>{const o=Ys(u.querySelectorAll("*")).filter(E1).map(A1),m=Xd.begin("searchPseudoElements");Sp(),Promise.all(o).then(()=>{m(),bd(),r()}).catch(()=>{m(),bd(),f()})})}var T1={hooks(){return{mutationObserverCallbacks(u){return u.pseudoElementsCallback=Ag,u}}},provides(u){u.pseudoElements2svg=function(r){const{node:f=Zt}=r;I.searchPseudoElements&&Ag(f)}}};let Eg=!1;var O1={mixout(){return{dom:{unwatch(){Sp(),Eg=!0}}}},hooks(){return{bootstrap(){pg(md("mutationObserverCallbacks",{}))},noAuto(){l1()},watch(u){const{observeMutationsRoot:r}=u;Eg?bd():pg(md("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}};const Tg=u=>{let r={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return u.toLowerCase().split(" ").reduce((f,o)=>{const m=o.toLowerCase().split("-"),v=m[0];let S=m.slice(1).join("-");if(v&&S==="h")return f.flipX=!0,f;if(v&&S==="v")return f.flipY=!0,f;if(S=parseFloat(S),isNaN(S))return f;switch(v){case"grow":f.size=f.size+S;break;case"shrink":f.size=f.size-S;break;case"left":f.x=f.x-S;break;case"right":f.x=f.x+S;break;case"up":f.y=f.y-S;break;case"down":f.y=f.y+S;break;case"rotate":f.rotate=f.rotate+S;break}return f},r)};var x1={mixout(){return{parse:{transform:u=>Tg(u)}}},hooks(){return{parseNodeAttributes(u,r){const f=r.getAttribute("data-fa-transform");return f&&(u.transform=Tg(f)),u}}},provides(u){u.generateAbstractTransformGrouping=function(r){let{main:f,transform:o,containerWidth:m,iconWidth:v}=r;const S={transform:"translate(".concat(m/2," 256)")},x="translate(".concat(o.x*32,", ").concat(o.y*32,") "),N="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),U="rotate(".concat(o.rotate," 0 0)"),X={transform:"".concat(x," ").concat(N," ").concat(U)},Z={transform:"translate(".concat(v/2*-1," -256)")},Q={outer:S,inner:X,path:Z};return{tag:"g",attributes:Y({},Q.outer),children:[{tag:"g",attributes:Y({},Q.inner),children:[{tag:f.icon.tag,children:f.icon.children,attributes:Y(Y({},f.icon.attributes),Q.path)}]}]}}}};const ad={x:0,y:0,width:"100%",height:"100%"};function Og(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return u.attributes&&(u.attributes.fill||r)&&(u.attributes.fill="black"),u}function C1(u){return u.tag==="g"?u.children:[u]}var D1={hooks(){return{parseNodeAttributes(u,r){const f=r.getAttribute("data-fa-mask"),o=f?eo(f.split(" ").map(m=>m.trim())):pp();return o.prefix||(o.prefix=Gl()),u.mask=o,u.maskId=r.getAttribute("data-fa-mask-id"),u}}},provides(u){u.generateAbstractMask=function(r){let{children:f,attributes:o,main:m,mask:v,maskId:S,transform:x}=r;const{width:N,icon:U}=m,{width:X,icon:Z}=v,Q=_y({transform:x,containerWidth:X,iconWidth:N}),tt={tag:"rect",attributes:Y(Y({},ad),{},{fill:"white"})},ct=U.children?{children:U.children.map(Og)}:{},Et={tag:"g",attributes:Y({},Q.inner),children:[Og(Y({tag:U.tag,attributes:Y(Y({},U.attributes),Q.path)},ct))]},rt={tag:"g",attributes:Y({},Q.outer),children:[Et]},ot="mask-".concat(S||dr()),it="clip-".concat(S||dr()),Ct={tag:"mask",attributes:Y(Y({},ad),{},{id:ot,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[tt,rt]},ee={tag:"defs",children:[{tag:"clipPath",attributes:{id:it},children:C1(Z)},Ct]};return f.push(ee,{tag:"rect",attributes:Y({fill:"currentColor","clip-path":"url(#".concat(it,")"),mask:"url(#".concat(ot,")")},ad)}),{children:f,attributes:o}}}},M1={provides(u){let r=!1;Xl.matchMedia&&(r=Xl.matchMedia("(prefers-reduced-motion: reduce)").matches),u.missingIconAbstract=function(){const f=[],o={fill:"currentColor"},m={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};f.push({tag:"path",attributes:Y(Y({},o),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const v=Y(Y({},m),{},{attributeName:"opacity"}),S={tag:"circle",attributes:Y(Y({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return r||S.children.push({tag:"animate",attributes:Y(Y({},m),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Y(Y({},v),{},{values:"1;0;1;1;0;1;"})}),f.push(S),f.push({tag:"path",attributes:Y(Y({},o),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:r?[]:[{tag:"animate",attributes:Y(Y({},v),{},{values:"1;0;0;0;0;1;"})}]}),r||f.push({tag:"path",attributes:Y(Y({},o),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Y(Y({},v),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:f}}}},w1={hooks(){return{parseNodeAttributes(u,r){const f=r.getAttribute("data-fa-symbol"),o=f===null?!1:f===""?!0:f;return u.symbol=o,u}}}},z1=[Ey,m1,g1,p1,v1,T1,O1,x1,D1,M1,w1];ky(z1,{mixoutsTo:dn});dn.noAuto;dn.config;dn.library;dn.dom;const Sd=dn.parse;dn.findIconDefinition;dn.toHtml;const N1=dn.icon;dn.layer;dn.text;dn.counter;function xg(u,r){var f=Object.keys(u);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(u);r&&(o=o.filter(function(m){return Object.getOwnPropertyDescriptor(u,m).enumerable})),f.push.apply(f,o)}return f}function _a(u){for(var r=1;r=0)&&(f[m]=u[m]);return f}function j1(u,r){if(u==null)return{};var f=R1(u,r),o,m;if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(u);for(m=0;m=0)&&Object.prototype.propertyIsEnumerable.call(u,o)&&(f[o]=u[o])}return f}function Ad(u){return L1(u)||U1(u)||H1(u)||q1()}function L1(u){if(Array.isArray(u))return Ed(u)}function U1(u){if(typeof Symbol<"u"&&u[Symbol.iterator]!=null||u["@@iterator"]!=null)return Array.from(u)}function H1(u,r){if(u){if(typeof u=="string")return Ed(u,r);var f=Object.prototype.toString.call(u).slice(8,-1);if(f==="Object"&&u.constructor&&(f=u.constructor.name),f==="Map"||f==="Set")return Array.from(u);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return Ed(u,r)}}function Ed(u,r){(r==null||r>u.length)&&(r=u.length);for(var f=0,o=new Array(r);f2&&arguments[2]!==void 0?arguments[2]:{};if(typeof r=="string")return r;var o=(r.children||[]).map(function(N){return Tp(u,N)}),m=Object.keys(r.attributes||{}).reduce(function(N,U){var X=r.attributes[U];switch(U){case"class":N.attrs.className=X,delete r.attributes.class;break;case"style":N.attrs.style=G1(X);break;default:U.indexOf("aria-")===0||U.indexOf("data-")===0?N.attrs[U.toLowerCase()]=X:N.attrs[Ep(U)]=X}return N},{attrs:{}}),v=f.style,S=v===void 0?{}:v,x=j1(f,k1);return m.attrs.style=_a(_a({},m.attrs.style),S),u.apply(void 0,[r.tag,_a(_a({},m.attrs),x)].concat(Ad(o)))}var Op=!1;try{Op=!0}catch{}function Q1(){if(!Op&&console&&typeof console.error=="function"){var u;(u=console).error.apply(u,arguments)}}function Cg(u){if(u&&Kc(u)==="object"&&u.prefix&&u.iconName&&u.icon)return u;if(Sd.icon)return Sd.icon(u);if(u===null)return null;if(u&&Kc(u)==="object"&&u.prefix&&u.iconName)return u;if(Array.isArray(u)&&u.length===2)return{prefix:u[0],iconName:u[1]};if(typeof u=="string")return{prefix:"fas",iconName:u}}function ld(u,r){return Array.isArray(r)&&r.length>0||!Array.isArray(r)&&r?Hs({},u,r):{}}var Dg={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},kl=Ri.forwardRef(function(u,r){var f=_a(_a({},Dg),u),o=f.icon,m=f.mask,v=f.symbol,S=f.className,x=f.title,N=f.titleId,U=f.maskId,X=Cg(o),Z=ld("classes",[].concat(Ad(B1(f)),Ad((S||"").split(" ")))),Q=ld("transform",typeof f.transform=="string"?Sd.transform(f.transform):f.transform),tt=ld("mask",Cg(m)),ct=N1(X,_a(_a(_a(_a({},Z),Q),tt),{},{symbol:v,title:x,titleId:N,maskId:U}));if(!ct)return Q1("Could not find icon",X),null;var Et=ct.abstract,rt={ref:r};return Object.keys(f).forEach(function(ot){Dg.hasOwnProperty(ot)||(rt[ot]=f[ot])}),V1(Et[0],rt)});kl.displayName="FontAwesomeIcon";kl.propTypes={beat:K.bool,border:K.bool,beatFade:K.bool,bounce:K.bool,className:K.string,fade:K.bool,flash:K.bool,mask:K.oneOfType([K.object,K.array,K.string]),maskId:K.string,fixedWidth:K.bool,inverse:K.bool,flip:K.oneOf([!0,!1,"horizontal","vertical","both"]),icon:K.oneOfType([K.object,K.array,K.string]),listItem:K.bool,pull:K.oneOf(["right","left"]),pulse:K.bool,rotation:K.oneOf([0,90,180,270]),shake:K.bool,size:K.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:K.bool,spinPulse:K.bool,spinReverse:K.bool,symbol:K.oneOfType([K.bool,K.string]),title:K.string,titleId:K.string,transform:K.oneOfType([K.string,K.object]),swapOpacity:K.bool};var V1=Tp.bind(null,Ri.createElement);/*! * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2024 Fonticons, Inc. */const Z1={prefix:"fas",iconName:"cloud",icon:[640,512,[9729],"f0c2","M0 336c0 79.5 64.5 144 144 144l368 0c70.7 0 128-57.3 128-128c0-61.9-44-113.6-102.4-125.4c4.1-10.7 6.4-22.4 6.4-34.6c0-53-43-96-96-96c-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32C167.6 32 96 103.6 96 192c0 2.7 .1 5.4 .2 8.1C40.2 219.8 0 273.2 0 336z"]},K1={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},$1={prefix:"fas",iconName:"gauge",icon:[512,512,["dashboard","gauge-med","tachometer-alt-average"],"f624","M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm320 96c0-26.9-16.5-49.9-40-59.3L280 88c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 204.7c-23.5 9.5-40 32.5-40 59.3c0 35.3 28.7 64 64 64s64-28.7 64-64zM144 176a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm-16 80a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm288 32a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM400 144a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},J1={prefix:"fas",iconName:"temperature-empty",icon:[320,512,["temperature-0","thermometer-0","thermometer-empty"],"f2cb","M112 112c0-26.5 21.5-48 48-48s48 21.5 48 48l0 164.5c0 17.3 7.1 31.9 15.3 42.5C233.8 332.6 240 349.5 240 368c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-18.5 6.2-35.4 16.7-48.9c8.2-10.6 15.3-25.2 15.3-42.5L112 112zM160 0C98.1 0 48 50.2 48 112l0 164.4c0 .1-.1 .3-.2 .6c-.2 .6-.8 1.6-1.7 2.8C27.2 304.2 16 334.8 16 368c0 79.5 64.5 144 144 144s144-64.5 144-144c0-33.2-11.2-63.8-30.1-88.1c-.9-1.2-1.5-2.2-1.7-2.8c-.1-.3-.2-.5-.2-.6L272 112C272 50.2 221.9 0 160 0zm0 416a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]},F1=J1,W1={prefix:"fas",iconName:"water",icon:[576,512,[],"f773","M269.5 69.9c11.1-7.9 25.9-7.9 37 0C329 85.4 356.5 96 384 96c26.9 0 55.4-10.8 77.4-26.1c0 0 0 0 0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 149.7 417 160 384 160c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4C42.8 92.6 61 83.5 75.3 71.6c11.1-9.5 27.3-10.1 39.2-1.7c0 0 0 0 0 0C136.7 85.2 165.1 96 192 96c27.5 0 55-10.6 77.5-26.1zm37 288C329 373.4 356.5 384 384 384c26.9 0 55.4-10.8 77.4-26.1c0 0 0 0 0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 437.7 417 448 384 448c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.4 27.3-10.1 39.2-1.7c0 0 0 0 0 0C136.7 373.2 165.1 384 192 384c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0zm0-144C329 229.4 356.5 240 384 240c26.9 0 55.4-10.8 77.4-26.1c0 0 0 0 0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 293.7 417 304 384 304c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.5 27.3-10.1 39.2-1.7c0 0 0 0 0 0C136.7 229.2 165.1 240 192 240c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0z"]},P1={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},I1=P1,xp=()=>{const{config:u,configLoading:r,configError:f}=mr();if(r)return G.jsx("p",{children:"Cargando configuración..."});if(f)return G.jsxs("p",{children:["Error al cargar configuración: ",f]});if(!u)return G.jsx("p",{children:"Configuración no disponible."});const o=u.appConfig.endpoints.baseUrl,m=u.appConfig.endpoints.sensors,v={baseUrl:`${o}/${m}`,params:{_sort:"timestamp",_order:"desc",_limit:1}};return G.jsx(Fc,{config:v,children:G.jsx(tb,{})})},tb=()=>{const{data:u}=wd(),r=[{id:1,title:"Temperatura",content:"N/A",status:"Esperando datos...",titleIcon:G.jsx(kl,{icon:F1})},{id:2,title:"Humedad",content:"N/A",status:"Esperando datos...",titleIcon:G.jsx(kl,{icon:W1})},{id:3,title:"Contaminación",content:"N/A",status:"Esperando datos...",titleIcon:G.jsx(kl,{icon:Z1})},{id:4,title:"Presión",content:"N/A",status:"Esperando datos...",titleIcon:G.jsx(kl,{icon:$1})}];return u&&u.forEach(f=>{f.sensor_type==="MQ-135"?(r[2].content=`${f.value} µg/m³`,r[2].status=f.value>100?"Alta contaminación 😷":"Aire moderado 🌤️"):f.sensor_type==="DHT-11"&&(r[1].content=`${f.humidity}%`,r[1].status=f.humidity>70?"Humedad alta 🌧️":"Nivel normal 🌤️",r[0].content=`${f.temperature}°C`,r[0].status=f.temperature>30?"Calor intenso ☀️":"Clima agradable 🌤️")}),G.jsx(Nd,{cards:r})};xp.propTypes={data:K.array};const eb=()=>G.jsx(G.Fragment,{children:G.jsxs(Ng,{children:[G.jsx(xp,{}),G.jsx(Av,{}),G.jsx(zv,{})]})});function Cp({onClick:u}){return G.jsx("button",{className:"menuBtn",onClick:u,children:G.jsx(kl,{icon:K1})})}Cp.propTypes={onClick:K.func.isRequired};const Dp=({isOpen:u,onClose:r})=>G.jsxs("div",{className:`side-menu ${u?"open":""}`,children:[G.jsx("button",{className:"close-btn",onClick:r,children:G.jsx(kl,{icon:I1})}),G.jsxs("ul",{children:[G.jsx("li",{children:G.jsx("a",{href:"#inicio",children:"ɪɴɪᴄɪᴏ"})}),G.jsx("li",{children:G.jsx("a",{href:"#mapa",children:"ᴍᴀᴘᴀ"})}),G.jsx("li",{children:G.jsx("a",{href:"#historico",children:"ʜɪsᴛᴏʀɪᴄᴏ"})})]})]});Dp.propTypes={isOpen:K.bool.isRequired,onClose:K.func.isRequired};function nb(){const{theme:u,toggleTheme:r}=Wc();return G.jsx("button",{className:"theme-toggle",onClick:r,children:u==="dark"?"☀️":"🌙"})}const Mp=u=>{const{theme:r}=Wc();return G.jsxs("header",{className:`justify-content-center text-center mb-4 ${r}`,children:[G.jsx("h1",{children:u.title}),G.jsx("p",{className:"subtitle",children:u.subtitle})]})};Mp.propTypes={title:K.string.isRequired,subtitle:K.string};const ab=()=>{const[u,r]=F.useState(!1),f=()=>{r(!u)},o=()=>{r(!1)};return G.jsxs(G.Fragment,{children:[G.jsx(Cp,{onClick:f}),G.jsx(Dp,{isOpen:u,onClose:f}),G.jsx(nb,{}),G.jsxs("div",{className:u?"blur m-0 p-0":"m-0 p-0",onClick:o,children:[G.jsx(Mp,{title:"Contamin",subtitle:"Midiendo la calidad del aire y las calles en Sevilla 🌿🚛"}),G.jsx(eb,{})]})]})};$0.createRoot(document.getElementById("root")).render(G.jsx(F.StrictMode,{children:G.jsx(Xg,{children:G.jsx(Ug,{children:G.jsx(ab,{})})})}));