@mtvh/mtvh-design-system 0.0.18 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/assets/scss/app.scss +1 -32
- package/assets/scss/base/_functions.scss +1 -1
- package/assets/scss/components/_form.scss +13 -14
- package/assets/scss/components/_notification.scss +2 -0
- package/assets/scss/components/_status.scss +1 -2
- package/assets/scss/components/_stepper.scss +85 -32
- package/assets/scss/config/_icon-list.scss +1 -1
- package/assets/scss/config/_variables.scss +3 -6
- package/assets/scss/core/typography/_typography.scss +1 -1
- package/assets/scss/forms/_form-check.scss +6 -1
- package/assets/scss/forms/_form-chip.scss +22 -0
- package/assets/scss/forms/_form-control.scss +3 -15
- package/assets/scss/forms/_form-date-input.scss +2 -0
- package/assets/scss/forms/_form-select.scss +16 -0
- package/assets/scss/forms/_formio.scss +1 -3
- package/assets/scss/forms/_validation.scss +4 -2
- package/assets/scss/mixins/_form.scss +2 -4
- package/assets/scss/mixins/_icon.scss +21 -0
- package/assets/scss/mixins/_style.scss +10 -0
- package/assets/scss/mtvh.scss +1 -1
- package/dist/js/app.min.js +3 -3
- package/dist/mtvh.min.css +1 -1
- package/package.json +18 -11
- package/assets/scss/mixins/_banner.scss +0 -20
- package/dist/images/icons/border-cross.svg +0 -5
- package/dist/images/icons/border-info.svg +0 -6
- package/dist/images/icons/border-tick.svg +0 -5
- package/dist/images/icons/border-warning-sign.svg +0 -6
- package/public/js/app.js +0 -5194
- /package/assets/scss/forms/{input-group.scss → _input-group.scss} +0 -0
package/dist/js/app.min.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
bootstrap/dist/js/bootstrap.esm.js:
|
|
4
4
|
(*!
|
|
5
|
-
* Bootstrap v5.3.
|
|
6
|
-
* Copyright 2011-
|
|
5
|
+
* Bootstrap v5.3.7 (https://getbootstrap.com/)
|
|
6
|
+
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
7
7
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
8
8
|
*)
|
|
9
|
-
*/"use strict";(()=>{var n,s,i,a,re,k,N,P,An,ye,L,On,_e,we,vn,hn,un,dn,cn,rn,an,on,en,Jt,Le,S,le,T,Ja,et,jr,ze,me,Ee,Ga,Ka,Lt,Ct,gt,Ke,dt,ot,Zo,Qo,Yo,$o,qe,y,Ue,Io,Ro,We,vt,Lo,Do,zo,_t,e,f,b,O,$,Et,se,q,St,Ie,jo,o,c,l,Nt,Re,vo,uo,co,Ne,Bt,Vt,ro,g,Q,Ms,h,Ae,t,ue,As,Cs,fn,gs,ps,ls,cs,jn,es,Zn,Qn,Xn,Gn,Cn,Un,kn,Wn,V,Bn,Ha,Tn,zn,Dn,Nn,Ln,Rn,Pn,Hn,In,At,Vn,$n,w,En,Kn,qn,Yn,F,H,U,ge,Jn,xe,ts,ns,ss,os,is,rs,bn,ve,ds,us,hs,ms,fs,gn,pn,vs,bs,js,ys,_s,ws,Os,xs,ke,Es,ks,Z,Ss,Mn,Fs,Ts,zs,Ds,Se,I,he,Ps,Hs,Is,Bs,Vs,$s,Te,Us,Ks,Gt,Yt,Gs,M,De,Zs,Ut,eo,Wt,no,so,oo,io,ao,$t,Ht,lo,z,ho,mo,fo,po,go,x,bo,ae,yo,_o,wo,Oo,xo,Co,Eo,ko,Ao,So,Mo,Fo,To,W,jt,No,bt,pt,Po,Ho,ft,Bo,Vo,oe,Wo,Uo,Ko,qo,lt,Go,Xo,ct,rt,it,ie,nt,je,si,oi,d,ai,ri,ci,li,Je,It,hi,mi,fi,pi,gi,vi,tt,ji,at,Ye,wi,Oi,xi,Ci,Ei,ki,ce,Si,Mi,v,wt,zi,Di,Ot,Mt,Ft,Pi,Tt,Ii,Bi,Vi,Rt,Ze,Ui,Ki,qi,Yi,Gi,Xi,D,Zi,Xt,ea,ta,na,oa,ia,aa,ra,ca,la,da,Fe,ha,fe,fa,nn,ln,X,Oe,ja,ya,_a,wa,Oa,xa,Ca,Ea,ka,Aa,Sa,Ma,Fa,Ta,za,ee,Na,La,Ra,Pa,Fn,Ia,Ba,Va,Ve,Wa,Ua,_n,qa,Ya,B,Xa,Me,Za,Kt,er,tr,nr,sr,or,ir,ar,mt,cr,lr,A,ur,hr,mr,fr,pr,gr,vr,br,ut,dr,st,Ge,ht,E,yt,$e,ga,Qe,ma,Be,ua,sa,Qi,kt,He,$i,Pe,Ni,Ti,_,Ai,_i,yi,bi,ui,di,ii,ni,ti,Pt,de,J,ei,Qs,qt,Xs,Rs,tc=Object.defineProperty,Zr=(e,t)=>{for(var n in t)tc(e,n,{get:t[n],enumerable:!0})},Sn={};Zr(Sn,{afterMain:()=>rn,afterRead:()=>un,afterWrite:()=>en,applyStyles:()=>Le,arrow:()=>et,auto:()=>re,basePlacements:()=>P,beforeMain:()=>dn,beforeRead:()=>vn,beforeWrite:()=>an,bottom:()=>i,clippingParents:()=>An,computeStyles:()=>ze,createPopper:()=>qe,createPopperBase:()=>Zo,createPopperLite:()=>Yo,detectOverflow:()=>G,end:()=>N,eventListeners:()=>Ee,flip:()=>Lt,hide:()=>Ct,left:()=>n,main:()=>cn,modifierPhases:()=>Jt,offset:()=>gt,placements:()=>we,popper:()=>L,popperGenerator:()=>Xe,popperOffsets:()=>Ke,preventOverflow:()=>dt,read:()=>hn,reference:()=>On,right:()=>a,start:()=>k,top:()=>s,variationPlacements:()=>_e,viewport:()=>ye,write:()=>on}),s="top",i="bottom",a="right",n="left",re="auto",P=[s,i,a,n],k="start",N="end",An="clippingParents",ye="viewport",L="popper",On="reference",_e=P.reduce(function(e,t){return e.concat([t+"-"+k,t+"-"+N])},[]),we=[].concat(P,[re]).reduce(function(e,t){return e.concat([t,t+"-"+k,t+"-"+N])},[]),vn="beforeRead",hn="read",un="afterRead",dn="beforeMain",cn="main",rn="afterMain",an="beforeWrite",on="write",en="afterWrite",Jt=[vn,hn,un,dn,cn,rn,an,on,en];function p(e){return e?(e.nodeName||"").toLowerCase():null}function r(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function R(e){var t=r(e).Element;return e instanceof t||e instanceof Element}function u(e){var t=r(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Zt(e){if(typeof ShadowRoot=="undefined")return!1;var t=r(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Qr(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var o=t.styles[e]||{},s=t.attributes[e]||{},n=t.elements[e];if(!u(n)||!p(n))return;Object.assign(n.style,o),Object.keys(s).forEach(function(e){var t=s[e];t===!1?n.removeAttribute(e):n.setAttribute(e,t===!0?"":t)})})}function Xr(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var s=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]),a=i.reduce(function(e,t){return e[t]="",e},{});if(!u(s)||!p(s))return;Object.assign(s.style,a),Object.keys(o).forEach(function(e){s.removeAttribute(e)})})}}Le={name:"applyStyles",enabled:!0,phase:"write",fn:Qr,effect:Xr,requires:["computeStyles"]};function m(e){return e.split("-")[0]}S=Math.max,le=Math.min,T=Math.round;function Dt(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Fi(){return!/^((?!chrome|android).)*safari/i.test(Dt())}function Y(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1),s=e.getBoundingClientRect(),o=1,i=1,t&&u(e)&&(o=e.offsetWidth>0?T(s.width)/e.offsetWidth||1:1,i=e.offsetHeight>0?T(s.height)/e.offsetHeight||1:1);var s,o,i,f=R(e)?r(e):window,a=f.visualViewport,d=!Fi()&&n,c=(s.left+(d&&a?a.offsetLeft:0))/o,l=(s.top+(d&&a?a.offsetTop:0))/i,h=s.width/o,m=s.height/i;return{width:h,height:m,top:l,right:c+h,bottom:l+m,left:c,x:c,y:l}}function zt(e){var t=Y(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function Li(e,t){var n,s=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(s&&Zt(s)){n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function j(e){return r(e).getComputedStyle(e)}function Nr(e){return["table","td","th"].indexOf(p(e))>=0}function C(e){return((R(e)?e.ownerDocument:e.document)||window.document).documentElement}function be(e){return p(e)==="html"?e:e.assignedSlot||e.parentNode||(Zt(e)?e.host:null)||C(e)}function Wi(e){return!u(e)||j(e).position==="fixed"?null:e.offsetParent}function Mr(e){var t,n,o,s=/firefox/i.test(Dt()),i=/Trident/i.test(Dt());if(i&&u(e)&&(o=j(e),o.position==="fixed"))return null;for(t=be(e),Zt(t)&&(t=t.host);u(t)&&["html","body"].indexOf(p(t))<0;){if(n=j(t),n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].indexOf(n.willChange)!==-1||s&&n.willChange==="filter"||s&&n.filter&&n.filter!=="none")return t;t=t.parentNode}return null}function ne(e){for(var n=r(e),t=Wi(e);t&&Nr(t)&&j(t).position==="static";)t=Wi(t);return t&&(p(t)==="html"||p(t)==="body"&&j(t).position==="static")?n:t||Mr(e)||n}function xt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function te(e,t,n){return S(e,le(t,n))}function Ar(e,t,n){var s=te(e,t,n);return s>n?n:s}function ba(){return{top:0,right:0,bottom:0,left:0}}function Da(e){return Object.assign({},ba(),e)}function Qa(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}Ja=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Da(typeof t!="number"?t:Qa(t,P))};function wr(e){var r,c,d,u,p,g,v,b,j,y,_,O,x,C,E,t=e.state,S=e.name,A=e.options,h=t.elements.arrow,f=t.modifiersData.popperOffsets,w=m(t.placement),o=xt(w),k=[n,a].indexOf(w)>=0,l=k?"height":"width";if(!h||!f)return;g=Ja(A.padding,t),v=zt(h),b=o==="y"?s:n,j=o==="y"?i:a,y=t.rects.reference[l]+t.rects.reference[o]-f[o]-t.rects.popper[l],_=f[o]-t.rects.reference[o],c=ne(h),p=c?o==="y"?c.clientHeight||0:c.clientWidth||0:0,O=y/2-_/2,x=g[b],C=p-v[l]-g[j],u=p/2-v[l]/2+O,d=te(x,u,C),E=o,t.modifiersData[S]=(r={},r[E]=d,r.centerOffset=d-u,r)}function Hr(e){var n=e.state,o=e.options,s=o.element,t=s===void 0?"[data-popper-arrow]":s;if(t==null)return;if(typeof t=="string"&&(t=n.elements.popper.querySelector(t),!t))return;if(!Li(n.elements.popper,t))return;n.elements.arrow=t}et={name:"arrow",enabled:!0,phase:"main",fn:wr,effect:Hr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function K(e){return e.split("-")[1]}jr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function sc(e,t){var s=e.x,o=e.y,n=t.devicePixelRatio||1;return{x:T(s*n)/n||0,y:T(o*n)/n||0}}function rr(e){var c,u,h,p,g,b,y,T,z,f=e.popper,L=e.popperRect,d=e.placement,A=e.variation,m=e.offsets,x=e.position,v=e.gpuAcceleration,S=e.adaptive,_=e.roundOffsets,M=e.isFixed,R=m.x,t=R===void 0?0:R,D=m.y,o=D===void 0?0:D,E=typeof _=="function"?_({x:t,y:o}):{x:t,y:o},t=E.x,o=E.y,F=m.hasOwnProperty("x"),k=m.hasOwnProperty("y"),w=n,O=s,l=window;return S&&(c=ne(f),g="clientHeight",y="clientWidth",c===r(f)&&(c=C(f),j(c).position!=="static"&&x==="absolute"&&(g="scrollHeight",y="scrollWidth")),c=c,(d===s||(d===n||d===a)&&A===N)&&(O=i,T=M&&c===l&&l.visualViewport?l.visualViewport.height:c[g],o-=T-L.height,o*=v?1:-1),(d===n||(d===s||d===i)&&A===N)&&(w=a,z=M&&c===l&&l.visualViewport?l.visualViewport.width:c[y],t-=z-L.width,t*=v?1:-1)),p=Object.assign({position:x},S&&jr),b=_===!0?sc({x:t,y:o},r(f)):{x:t,y:o},t=b.x,o=b.y,v?Object.assign({},p,(h={},h[O]=k?"0":"",h[w]=F?"0":"",h.transform=(l.devicePixelRatio||1)<=1?"translate("+t+"px, "+o+"px)":"translate3d("+t+"px, "+o+"px, 0)",h)):Object.assign({},p,(u={},u[O]=k?o+"px":"",u[w]=F?t+"px":"",u.transform="",u))}function Or(e){var t=e.state,n=e.options,s=n.gpuAcceleration,c=s===void 0||s,o=n.adaptive,l=o===void 0||o,i=n.roundOffsets,a=i===void 0||i,r={placement:m(t.placement),variation:K(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:c,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,rr(Object.assign({},r,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,rr(Object.assign({},r,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}ze={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Or,data:{}},me={passive:!0};function xr(e){var n=e.state,t=e.instance,s=e.options,o=s.scroll,i=o===void 0||o,a=s.resize,c=a===void 0||a,l=r(n.elements.popper),d=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&d.forEach(function(e){e.addEventListener("scroll",t.update,me)}),c&&l.addEventListener("resize",t.update,me),function(){i&&d.forEach(function(e){e.removeEventListener("scroll",t.update,me)}),c&&l.removeEventListener("resize",t.update,me)}}Ee={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:xr,data:{}},Ga={left:"right",right:"left",bottom:"top",top:"bottom"};function Ce(e){return e.replace(/left|right|bottom|top/g,function(e){return Ga[e]})}Ka={start:"end",end:"start"};function $a(e){return e.replace(/start|end/g,function(e){return Ka[e]})}function xn(e){var t=r(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function wn(e){return Y(C(e)).left+xn(e).scrollLeft}function Cr(e,t){var s,d=r(e),o=C(e),n=d.visualViewport,i=o.clientWidth,a=o.clientHeight,c=0,l=0;return n&&(i=n.width,a=n.height,s=Fi(),(s||!s&&t==="fixed")&&(c=n.offsetLeft,l=n.offsetTop)),{width:i,height:a,x:c+wn(e),y:l}}function Er(e){var s,n=C(e),o=xn(e),t=(s=e.ownerDocument)==null?void 0:s.body,i=S(n.scrollWidth,n.clientWidth,t?t.scrollWidth:0,t?t.clientWidth:0),r=S(n.scrollHeight,n.clientHeight,t?t.scrollHeight:0,t?t.clientHeight:0),a=-o.scrollLeft+wn(e),c=-o.scrollTop;return j(t||n).direction==="rtl"&&(a+=S(n.clientWidth,t?t.clientWidth:0)-i),{width:i,height:r,x:a,y:c}}function yn(e){var t=j(e),n=t.overflow,s=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function va(e){return["html","body","#document"].indexOf(p(e))>=0?e.ownerDocument.body:u(e)&&yn(e)?e:va(be(e))}function pe(e,t){t===void 0&&(t=[]);var s,n=va(e),o=n===((s=e.ownerDocument)==null?void 0:s.body),i=r(n),a=o?[i].concat(i.visualViewport||[],yn(n)?n:[]):n,c=t.concat(a);return o?c:c.concat(pe(be(a)))}function mn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function kr(e,t){var n=Y(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function pa(e,t,n){return t===ye?mn(Cr(e,n)):R(t)?kr(t,n):mn(Er(C(e)))}function Sr(e){var n=pe(be(e)),s=["absolute","fixed"].indexOf(j(e).position)>=0,t=s&&u(e)?ne(e):e;return R(t)?n.filter(function(e){return R(e)&&Li(e,t)&&p(e)!=="body"}):[]}function Fr(e,t,n,s){var a=t==="clippingParents"?Sr(e):[].concat(t),i=[].concat(a,[n]),r=i[0],o=i.reduce(function(t,n){var o=pa(e,n,s);return t.top=S(o.top,t.top),t.right=le(o.right,t.right),t.bottom=le(o.bottom,t.bottom),t.left=S(o.left,t.left),t},pa(e,r,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Ji(e){var o,r,l,t=e.reference,c=e.element,d=e.placement,u=d?m(d):null,p=d?K(d):null,h=t.x+t.width/2-c.width/2,f=t.y+t.height/2-c.height/2;switch(u){case s:o={x:h,y:t.y-c.height};break;case i:o={x:h,y:t.y+t.height};break;case a:o={x:t.x+t.width,y:f};break;case n:o={x:t.x-c.width,y:f};break;default:o={x:t.x,y:t.y}}if(r=u?xt(u):null,r!=null)switch(l=r==="y"?"height":"width",p){case k:o[r]=o[r]-(t[l]/2-c[l]/2);break;case N:o[r]=o[r]+(t[l]/2-c[l]/2);break;default:}return o}function G(e,t){t===void 0&&(t={});var _,n=t,v=n.placement,j=v===void 0?e.placement:v,f=n.strategy,T=f===void 0?e.strategy:f,p=n.boundary,E=p===void 0?An:p,O=n.rootBoundary,F=O===void 0?ye:O,x=n.elementContext,c=x===void 0?L:x,m=n.altBoundary,M=m!==void 0&&m,b=n.padding,d=b===void 0?0:b,o=Da(typeof d!="number"?d:Qa(d,P)),S=c===L?On:L,w=e.rects.popper,h=e.elements[M?S:c],r=Fr(R(h)?h:h.contextElement||C(e.elements.popper),E,F,T),y=Y(e.elements.reference),k=Ji({reference:y,element:w,strategy:"absolute",placement:j}),A=mn(Object.assign({},w,k)),l=c===L?A:y,u={top:r.top-l.top+o.top,bottom:l.bottom-r.bottom+o.bottom,left:r.left-l.left+o.left,right:l.right-r.right+o.right},g=e.modifiersData.offset;return c===L&&g&&(_=g[j],Object.keys(u).forEach(function(e){var t=[a,i].indexOf(e)>=0?1:-1,n=[s,i].indexOf(e)>=0?"y":"x";u[e]+=_[n]*t})),u}function Ir(e,t){t===void 0&&(t={});var s,n=t,c=n.placement,l=n.boundary,d=n.rootBoundary,u=n.padding,h=n.flipVariations,i=n.allowedAutoPlacements,f=i===void 0?we:i,a=K(c),r=a?h?_e:_e.filter(function(e){return K(e)===a}):P,o=r.filter(function(e){return f.indexOf(e)>=0});return o.length===0&&(o=r),s=o.reduce(function(t,n){return t[n]=G(e,{placement:n,boundary:l,rootBoundary:d,padding:u})[m(n)],t},{}),Object.keys(s).sort(function(e,t){return s[e]-s[t]})}function Dr(e){if(m(e)===re)return[];var t=Ce(e);return[$a(e),t,$a(t)]}function Lr(e){var t=e.state,o=e.options,C=e.name;if(t.modifiersData[C]._skip)return;for(var r,c,l,u,h,g,v,y,_,x,E,A,z,F=o.mainAxis,H=F===void 0||F,D=o.altAxis,R=D===void 0||D,L=o.fallbackPlacements,N=o.padding,w=o.boundary,O=o.rootBoundary,I=o.altBoundary,T=o.flipVariations,j=T===void 0||T,B=o.allowedAutoPlacements,d=t.options.placement,W=m(d),P=W===d,U=L||(P||!j?[Ce(d)]:Dr(d)),p=[d].concat(U).reduce(function(e,n){return e.concat(m(n)===re?Ir(t,{placement:n,boundary:w,rootBoundary:O,padding:N,flipVariations:j,allowedAutoPlacements:B}):n)},[]),$=t.rects.reference,V=t.rects.popper,S=new Map,M=!0,f=p[0],b=0;b<p.length;b++){if(r=p[b],v=m(r),g=K(r)===k,y=[s,i].indexOf(v)>=0,_=y?"width":"height",h=G(t,{placement:r,boundary:w,rootBoundary:O,altBoundary:I,padding:N}),l=y?g?a:n:g?i:s,$[_]>V[_]&&(l=Ce(l)),z=Ce(l),c=[],H&&c.push(h[v]<=0),R&&c.push(h[l]<=0,h[z]<=0),c.every(function(e){return e})){f=r,M=!1;break}S.set(r,c)}if(M)for(A=j?3:1,E=function(t){var n=p.find(function(e){var n=S.get(e);if(n)return n.slice(0,t).every(function(e){return e})});if(n)return f=n,"break"},u=A;u>0;u--)if(x=E(u),x==="break")break;t.placement!==f&&(t.modifiersData[C]._skip=!0,t.placement=f,t.reset=!0)}Lt={name:"flip",enabled:!0,phase:"main",fn:Lr,requiresIfExists:["offset"],data:{_skip:!1}};function Hi(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ri(e){return[s,a,i,n].some(function(t){return e[t]>=0})}function Rr(e){var t=e.state,a=e.name,r=t.rects.reference,c=t.rects.popper,l=t.modifiersData.preventOverflow,d=G(t,{elementContext:"reference"}),u=G(t,{altBoundary:!0}),n=Hi(d,r),s=Hi(u,c,l),o=Ri(n),i=Ri(s);t.modifiersData[a]={referenceClippingOffsets:n,popperEscapeOffsets:s,isReferenceHidden:o,hasPopperEscaped:i},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":o,"data-popper-escaped":i})}Ct={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Rr};function yr(e,t,o){var c=m(e),d=[n,s].indexOf(c)>=0?-1:1,l=typeof o=="function"?o(Object.assign({},t,{placement:e})):o,i=l[0],r=l[1],i=i||0,r=(r||0)*d;return[n,a].indexOf(c)>=0?{x:r,y:i}:{x:i,y:r}}function Jr(e){var t=e.state,i=e.options,a=e.name,n=i.offset,r=n===void 0?[0,0]:n,s=we.reduce(function(e,n){return e[n]=yr(n,t.rects,r),e},{}),o=s[t.placement],c=o.x,l=o.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[a]=s}gt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Jr};function zr(e){var t=e.state,n=e.name;t.modifiersData[n]=Ji({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}Ke={name:"popperOffsets",enabled:!0,phase:"read",fn:zr,data:{}};function Br(e){return e==="x"?"y":"x"}function Vr(e){var fe,r,h,R,P,B,V,$,q,Q,Z,ue,v,E,W,U,ee,se,x,ie,I,re,ce,Y,me,c,p,w,A,F,T,z,D,L,H,X,t=e.state,l=e.options,be=e.name,pe=l.mainAxis,ge=pe===void 0||pe,oe=l.altAxis,we=oe!==void 0&&oe,_e=l.boundary,ye=l.rootBoundary,ve=l.altBoundary,je=l.padding,de=l.tether,d=de===void 0||de,ae=l.tetherOffset,M=ae===void 0?0:ae,O=G(t,{boundary:_e,rootBoundary:ye,padding:je,altBoundary:ve}),J=m(t.placement),C=K(t.placement),he=!C,o=xt(J),j=Br(o),b=t.modifiersData.popperOffsets,u=t.rects.reference,g=t.rects.popper,_=typeof M=="function"?M(Object.assign({},t.rects,{placement:t.placement})):M,f=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),y=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(!b)return;ge&&(R=o==="y"?s:n,P=o==="y"?i:a,r=o==="y"?"height":"width",h=b[o],B=h+O[R],V=h-O[P],$=d?-g[r]/2:0,Z=C===k?u[r]:g[r],Q=C===k?-g[r]:-u[r],q=t.elements.arrow,ue=d&&q?zt(q):{width:0,height:0},E=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ba(),U=E[R],W=E[P],v=te(0,u[r],ue[r]),ee=he?u[r]/2-$-v-U-f.mainAxis:Z-v-U-f.mainAxis,se=he?-u[r]/2+$+v+W+f.mainAxis:Q+v+W+f.mainAxis,x=t.elements.arrow&&ne(t.elements.arrow),ie=x?o==="y"?x.clientTop||0:x.clientLeft||0:0,I=(fe=y?.[o])!=null?fe:0,re=h+ee-I-ie,ce=h+se-I,H=te(d?le(B,re):B,h,d?S(V,ce):V),b[o]=H,N[o]=H-h),we&&(Y=o==="x"?s:n,me=o==="x"?i:a,c=b[j],p=j==="y"?"height":"width",L=c+O[Y],D=c-O[me],w=[s,n].indexOf(J)!==-1,z=(X=y?.[j])!=null?X:0,T=w?L:c-u[p]-g[p]-z+f.altAxis,F=w?c+u[p]+g[p]-z-f.altAxis:D,A=d&&w?Ar(T,c,F):te(d?T:L,c,d?F:D),b[j]=A,N[j]=A-c),t.modifiersData[be]=N}dt={name:"preventOverflow",enabled:!0,phase:"main",fn:Vr,requiresIfExists:["offset"]};function $r(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Wr(e){return e===r(e)||!u(e)?xn(e):$r(e)}function Ur(e){var t=e.getBoundingClientRect(),n=T(t.width)/e.offsetWidth||1,s=T(t.height)/e.offsetHeight||1;return n!==1||s!==1}function Kr(e,t,n){n===void 0&&(n=!1);var r=u(t),c=u(t)&&Ur(t),i=C(t),o=Y(e,c,n),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&((p(t)!=="body"||yn(i))&&(a=Wr(t)),u(t)?(s=Y(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=wn(i))),{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}function qr(e){var n=new Map,t=new Set,s=[];e.forEach(function(e){n.set(e.name,e)});function o(e){t.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach(function(e){if(!t.has(e)){var s=n.get(e);s&&o(s)}}),s.push(e)}return e.forEach(function(e){t.has(e.name)||o(e)}),s}function Yr(e){var t=qr(e);return Jt.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}function Gr(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function _r(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}ot={placement:"bottom",modifiers:[],strategy:"absolute"};function Jo(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some(function(e){return!e||typeof e.getBoundingClientRect!="function"})}function Xe(e){e===void 0&&(e={});var n=e,s=n.defaultModifiers,i=s===void 0?[]:s,o=n.defaultOptions,t=o===void 0?ot:o;return function(n,s,o){o===void 0&&(o=t);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},ot,t),modifiersData:{},elements:{reference:n,popper:s},attributes:{},styles:{}},c=[],l=!1,r={state:a,setOptions:function(o){var c,l=typeof o=="function"?o(a.options):o;return d(),a.options=Object.assign({},t,a.options,l),a.scrollParents={reference:R(n)?pe(n):n.contextElement?pe(n.contextElement):[],popper:pe(s)},c=Yr(_r([].concat(i,a.options.modifiers))),a.orderedModifiers=c.filter(function(e){return e.enabled}),u(),r.update()},forceUpdate:function(){if(l)return;var o=a.elements,i=o.reference,n=o.popper;if(!Jo(i,n))return;a.rects={reference:Kr(i,ne(n),a.options.strategy==="fixed"),popper:zt(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(t=0;t<a.orderedModifiers.length;t++){if(a.reset===!0){a.reset=!1,t=-1;continue}var t,s=a.orderedModifiers[t],c=s.fn,d=s.options,u=d===void 0?{}:d,h=s.name;typeof c=="function"&&(a=c({state:a,options:u,name:h,instance:r})||a)}},update:Gr(function(){return new Promise(function(e){r.forceUpdate(),e(a)})}),destroy:function(){d(),l=!0}};if(!Jo(n,s))return r;r.setOptions(o).then(function(e){!l&&o.onFirstUpdate&&o.onFirstUpdate(e)});function u(){a.orderedModifiers.forEach(function(e){var s,o,i=e.name,t=e.options,l=t===void 0?{}:t,n=e.effect;typeof n=="function"&&(s=n({state:a,name:i,instance:r,options:l}),o=function(){},c.push(s||o))})}function d(){c.forEach(function(e){return e()}),c=[]}return r}}Zo=Xe(),Qo=[Ee,Ke,ze,Le],Yo=Xe({defaultModifiers:Qo}),$o=[Ee,Ke,ze,Le,gt,Lt,dt,et,Ct],qe=Xe({defaultModifiers:$o}),y=new Map,Ue={set(e,t,n){y.has(e)||y.set(e,new Map);const s=y.get(e);if(!s.has(t)&&s.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`);return}s.set(t,n)},get(e,t){return y.has(e)?y.get(e).get(t)||null:null},remove(e,t){if(!y.has(e))return;const n=y.get(e);n.delete(t),n.size===0&&y.delete(e)}},Io=1e6,Ro=1e3,We="transitionend",vt=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),Lo=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Do=e=>{do e+=Math.floor(Math.random()*Io);while(document.getElementById(e))return e},zo=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const s=Number.parseFloat(t),o=Number.parseFloat(n);return!s&&!o?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*Ro)},_t=e=>{e.dispatchEvent(new Event(We))},f=e=>!!e&&typeof e=="object"&&(typeof e.jquery!="undefined"&&(e=e[0]),typeof e.nodeType!="undefined"),b=e=>f(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(vt(e)):null,$=e=>{if(!f(e)||e.getClientRects().length===0)return!1;const n=getComputedStyle(e).getPropertyValue("visibility")==="visible",t=e.closest("details:not([open])");if(!t)return n;if(t!==e){const n=e.closest("summary");if(n&&n.parentNode!==t)return!1;if(n===null)return!1}return n},O=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(typeof e.disabled!="undefined"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false"),Et=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Et(e.parentNode):null},se=()=>{},q=e=>{e.offsetHeight},St=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ie=[],jo=e=>{document.readyState==="loading"?(Ie.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Ie)e()}),Ie.push(e)):e()},l=()=>document.documentElement.dir==="rtl",c=e=>{jo(()=>{const t=St();if(t){const n=e.NAME,s=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=s,e.jQueryInterface)}})},o=(e,t=[],n=e)=>typeof e=="function"?e(...t):n,Nt=(e,t,n=!0)=>{if(!n){o(e);return}const a=5,r=zo(t)+a;let s=!1;const i=({target:n})=>{if(n!==t)return;s=!0,t.removeEventListener(We,i),o(e)};t.addEventListener(We,i),setTimeout(()=>{s||_t(t)},r)},Re=(e,t,n,s)=>{const i=e.length;let o=e.indexOf(t);return o===-1?!n&&s?e[i-1]:e[0]:(o+=n?1:-1,s&&(o=(o+i)%i),e[Math.max(0,Math.min(o,i-1))])},vo=/[^.]*(?=\..*)\.|.*/,uo=/\..*/,co=/::\d+$/,Ne={},Bt=1,Vt={mouseenter:"mouseover",mouseleave:"mouseout"},ro=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 to(e,t){return t&&`${t}::${Bt++}`||e.uidEvent||Bt++}function Js(e){const t=to(e);return e.uidEvent=t,Ne[t]=Ne[t]||{},Ne[t]}function ec(t,n){return function s(o){return tn(o,{delegateTarget:t}),s.oneOff&&e.off(t,o.type,n),n.apply(t,[o])}}function nc(t,n,s){return function o(i){const a=t.querySelectorAll(n);for(let{target:r}=i;r&&r!==this;r=r.parentNode)for(const c of a){if(c!==r)continue;return tn(i,{delegateTarget:r}),o.oneOff&&e.off(t,i.type,n,s),s.apply(r,[i])}}}function Ys(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function qs(e,t,n){const o=typeof t=="string",i=o?n:t||n;let s=Ls(e);return ro.has(s)||(s=e),[o,i,s]}function Ws(e,t,n,s,o){if(typeof t!="string"||!e)return;let[r,i,c]=qs(t,n,s);if(t in Vt){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};i=e(i)}const d=Js(e),u=d[c]||(d[c]={}),l=Ys(u,i,r?n:null);if(l){l.oneOff=l.oneOff&&o;return}const h=to(i,t.replace(vo,"")),a=r?nc(e,n,i):ec(e,i);a.delegationSelector=r?n:null,a.callable=i,a.oneOff=o,a.uidEvent=h,u[h]=a,e.addEventListener(c,a,r)}function Qt(e,t,n,s,o){const i=Ys(t[n],s,o);if(!i)return;e.removeEventListener(n,i,Boolean(o)),delete t[n][i.uidEvent]}function Pr(e,t,n,s){const o=t[n]||{};for(const[a,i]of Object.entries(o))a.includes(s)&&Qt(e,t,n,i.callable,i.delegationSelector)}function Ls(e){return e=e.replace(uo,""),Vt[e]||e}e={on(e,t,n,s){Ws(e,t,n,s,!1)},one(e,t,n,s){Ws(e,t,n,s,!0)},off(e,t,n,s){if(typeof t!="string"||!e)return;const[c,a,i]=qs(t,n,s),l=i!==t,o=Js(e),r=o[i]||{},d=t.startsWith(".");if(typeof a!="undefined"){if(!Object.keys(r).length)return;Qt(e,o,i,a,c?n:null);return}if(d)for(const n of Object.keys(o))Pr(e,o,n,t.slice(1));for(const[s,n]of Object.entries(r)){const a=s.replace(co,"");(!l||t.includes(a))&&Qt(e,o,i,n.callable,n.delegationSelector)}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const i=St(),l=Ls(t),d=t!==l;let s=null,a=!0,r=!0,c=!1;d&&i&&(s=i.Event(t,n),i(e).trigger(s),a=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),c=s.isDefaultPrevented());const o=tn(new Event(t,{bubbles:a,cancelable:!0}),n);return c&&o.preventDefault(),r&&e.dispatchEvent(o),o.defaultPrevented&&s&&s.preventDefault(),o}};function tn(e,t={}){for(const[n,s]of Object.entries(t))try{e[n]=s}catch{Object.defineProperty(e,n,{configurable:!0,get(){return s}})}return e}function Ns(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function sn(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}g={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${sn(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${sn(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(const o of n){let s=o.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),t[s]=Ns(e.dataset[o])}return t},getDataAttribute(e,t){return Ns(e.getAttribute(`data-bs-${sn(t)}`))}},Q=class{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(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=f(t)?g.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...f(t)?g.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[n,s]of Object.entries(t)){const o=e[n],i=f(o)?"element":Lo(o);if(!new RegExp(s).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${i}" but expected type "${s}".`)}}},Ms="5.3.3",h=class extends Q{constructor(e,t){if(super(),e=b(e),!e)return;this._element=e,this._config=this._getConfig(t),Ue.set(this._element,this.constructor.DATA_KEY,this)}dispose(){Ue.remove(this._element,this.constructor.DATA_KEY),e.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){Nt(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ue.get(b(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return Ms}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}},Ae=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t?t.split(",").map(e=>vt(e)).join(","):null},t={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(e=>e.matches(t))},parents(e,t){const s=[];let n=e.parentNode.closest(t);for(;n;)s.push(n),n=n.parentNode.closest(t);return s},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(e=>!O(e)&&$(e))},getSelectorFromElement(e){const n=Ae(e);return n?t.findOne(n)?n:null:null},getElementFromSelector(e){const n=Ae(e);return n?t.findOne(n):null},getMultipleElementsFromSelector(e){const n=Ae(e);return n?t.find(n):[]}},ue=(n,s="hide")=>{const i=`click.dismiss${n.EVENT_KEY}`,o=n.NAME;e.on(document,i,`[data-bs-dismiss="${o}"]`,function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),O(this))return;const i=t.getElementFromSelector(this)||this.closest(`.${o}`),a=n.getOrCreateInstance(i);a[s]()})},As="alert",Cs="bs.alert",fn=`.${Cs}`,gs=`close${fn}`,ps=`closed${fn}`,ls="fade",cs="show",jn=class _Alert extends h{static get NAME(){return As}close(){const t=e.trigger(this._element,gs);if(t.defaultPrevented)return;this._element.classList.remove(cs);const n=this._element.classList.contains(ls);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),e.trigger(this._element,ps),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=_Alert.getOrCreateInstance(this);if(typeof e!="string")return;if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)})}},ue(jn,"close"),c(jn),es="button",Zn="bs.button",Qn=`.${Zn}`,Xn=".data-api",Gn="active",Cn='[data-bs-toggle="button"]',Un=`click${Qn}${Xn}`,kn=class _Button extends h{static get NAME(){return es}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Gn))}static jQueryInterface(e){return this.each(function(){const t=_Button.getOrCreateInstance(this);e==="toggle"&&t[e]()})}},e.on(document,Un,Cn,e=>{e.preventDefault();const t=e.target.closest(Cn),n=kn.getOrCreateInstance(t);n.toggle()}),c(kn),Wn="swipe",V=".bs.swipe",Bn=`touchstart${V}`,Ha=`touchmove${V}`,Tn=`touchend${V}`,zn=`pointerdown${V}`,Dn=`pointerup${V}`,Nn="touch",Ln="pen",Rn="pointer-event",Pn=40,Hn={endCallback:null,leftCallback:null,rightCallback:null},In={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},At=class _Swipe extends Q{constructor(e,t){if(super(),this._element=e,!e||!_Swipe.isSupported())return;this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents()}static get Default(){return Hn}static get DefaultType(){return In}static get NAME(){return Wn}dispose(){e.off(this._element,V)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),o(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=Pn)return;const t=e/this._deltaX;if(this._deltaX=0,!t)return;o(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(e.on(this._element,zn,e=>this._start(e)),e.on(this._element,Dn,e=>this._end(e)),this._element.classList.add(Rn)):(e.on(this._element,Bn,e=>this._start(e)),e.on(this._element,Ha,e=>this._move(e)),e.on(this._element,Tn,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===Ln||e.pointerType===Nn)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}},Vn="carousel",$n="bs.carousel",w=`.${$n}`,En=".data-api",Kn="ArrowLeft",qn="ArrowRight",Yn=500,U="next",H="prev",F="left",ge="right",Jn=`slide${w}`,xe=`slid${w}`,ts=`keydown${w}`,ns=`mouseenter${w}`,ss=`mouseleave${w}`,os=`dragstart${w}`,is=`load${w}${En}`,rs=`click${w}${En}`,bn="carousel",ve="active",ds="slide",us="carousel-item-end",hs="carousel-item-start",ms="carousel-item-next",fs="carousel-item-prev",gn=".active",pn=".carousel-item",vs=gn+pn,bs=".carousel-item img",js=".carousel-indicators",ys="[data-bs-slide], [data-bs-slide-to]",_s='[data-bs-ride="carousel"]',ws={[Kn]:ge,[qn]:F},Os={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},xs={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},ke=class _Carousel extends h{constructor(e,n){super(e,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=t.findOne(js,this._element),this._addEventListeners(),this._config.ride===bn&&this.cycle()}static get Default(){return Os}static get DefaultType(){return xs}static get NAME(){return Vn}next(){this._slide(U)}nextWhenVisible(){!document.hidden&&$(this._element)&&this.next()}prev(){this._slide(H)}pause(){this._isSliding&&_t(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(!this._config.ride)return;if(this._isSliding){e.one(this._element,xe,()=>this.cycle());return}this.cycle()}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){e.one(this._element,xe,()=>this.to(t));return}const s=this._getItemIndex(this._getActive());if(s===t)return;const o=t>s?U:H;this._slide(o,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&e.on(this._element,ts,e=>this._keydown(e)),this._config.pause==="hover"&&(e.on(this._element,ns,()=>this.pause()),e.on(this._element,ss,()=>this._maybeEnableCycle())),this._config.touch&&At.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of t.find(bs,this._element))e.on(n,os,e=>e.preventDefault());const n=()=>{if(this._config.pause!=="hover")return;this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Yn+this._config.interval)},s={leftCallback:()=>this._slide(this._directionToOrder(F)),rightCallback:()=>this._slide(this._directionToOrder(ge)),endCallback:n};this._swipeHelper=new At(this._element,s)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=ws[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const s=t.findOne(gn,this._indicatorsElement);s.classList.remove(ve),s.removeAttribute("aria-current");const n=t.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(ve),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const o=this._getActive(),a=t===U,s=n||Re(this._getItems(),o,a,this._config.wrap);if(s===o)return;const c=this._getItemIndex(s),l=n=>e.trigger(this._element,n,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(o),to:c}),d=l(Jn);if(d.defaultPrevented)return;if(!o||!s)return;const u=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(c),this._activeElement=s;const i=a?hs:us,r=a?ms:fs;s.classList.add(r),q(s),o.classList.add(i),s.classList.add(i);const h=()=>{s.classList.remove(i,r),s.classList.add(ve),o.classList.remove(ve,r,i),this._isSliding=!1,l(xe)};this._queueCallback(h,o,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(ds)}_getActive(){return t.findOne(vs,this._element)}_getItems(){return t.find(pn,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return l()?e===F?H:U:e===F?U:H}_orderToDirection(e){return l()?e===H?F:ge:e===H?ge:F}static jQueryInterface(e){return this.each(function(){const t=_Carousel.getOrCreateInstance(this,e);if(typeof e=="number"){t.to(e);return}if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}},e.on(document,rs,ys,function(e){const s=t.getElementFromSelector(this);if(!s||!s.classList.contains(bn))return;e.preventDefault();const n=ke.getOrCreateInstance(s),o=this.getAttribute("data-bs-slide-to");if(o){n.to(o),n._maybeEnableCycle();return}if(g.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()}),e.on(window,is,()=>{const e=t.find(_s);for(const t of e)ke.getOrCreateInstance(t)}),c(ke),Es="collapse",ks="bs.collapse",Z=`.${ks}`,Ss=".data-api",Mn=`show${Z}`,Fs=`shown${Z}`,Ts=`hide${Z}`,zs=`hidden${Z}`,Ds=`click${Z}${Ss}`,Se="show",I="collapse",he="collapsing",Ps="collapsed",Hs=`:scope .${I} .${I}`,Is="collapse-horizontal",Bs="width",Vs="height",$s=".collapse.show, .collapse.collapsing",Te='[data-bs-toggle="collapse"]',Us={parent:null,toggle:!0},Ks={parent:"(null|element)",toggle:"boolean"},Gt=class _Collapse extends h{constructor(e,n){super(e,n),this._isTransitioning=!1,this._triggerArray=[];const s=t.find(Te);for(const e of s){const n=t.getSelectorFromElement(e),o=t.find(n).filter(e=>e===this._element);n!==null&&o.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Us}static get DefaultType(){return Ks}static get NAME(){return Es}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let n=[];if(this._config.parent&&(n=this._getFirstLevelChildren($s).filter(e=>e!==this._element).map(e=>_Collapse.getOrCreateInstance(e,{toggle:!1}))),n.length&&n[0]._isTransitioning)return;const s=e.trigger(this._element,Mn);if(s.defaultPrevented)return;for(const e of n)e.hide();const t=this._getDimension();this._element.classList.remove(I),this._element.classList.add(he),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(he),this._element.classList.add(I,Se),this._element.style[t]="",e.trigger(this._element,Fs)},i=t[0].toUpperCase()+t.slice(1),a=`scroll${i}`;this._queueCallback(o,this._element,!0),this._element.style[t]=`${this._element[a]}px`}hide(){if(this._isTransitioning||!this._isShown())return;const s=e.trigger(this._element,Ts);if(s.defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,q(this._element),this._element.classList.add(he),this._element.classList.remove(I,Se);for(const e of this._triggerArray){const n=t.getElementFromSelector(e);n&&!this._isShown(n)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(he),this._element.classList.add(I),e.trigger(this._element,zs)};this._element.style[n]="",this._queueCallback(o,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Se)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=b(e.parent),e}_getDimension(){return this._element.classList.contains(Is)?Bs:Vs}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Te);for(const n of e){const s=t.getElementFromSelector(n);s&&this._addAriaAndCollapsedClass([n],this._isShown(s))}}_getFirstLevelChildren(e){const n=t.find(Hs,this._config.parent);return t.find(e,this._config.parent).filter(e=>!n.includes(e))}_addAriaAndCollapsedClass(e,t){if(!e.length)return;for(const n of e)n.classList.toggle(Ps,!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const n=_Collapse.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof n[e]=="undefined")throw new TypeError(`No method named "${e}"`);n[e]()}})}},e.on(document,Ds,Te,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const e of t.getMultipleElementsFromSelector(this))Gt.getOrCreateInstance(e,{toggle:!1}).toggle()}),c(Gt),Yt="dropdown",Gs="bs.dropdown",M=`.${Gs}`,De=".data-api",Zs="Escape",Ut="Tab",eo="ArrowUp",Wt="ArrowDown",no=2,so=`hide${M}`,oo=`hidden${M}`,io=`show${M}`,ao=`shown${M}`,$t=`click${M}${De}`,Ht=`keydown${M}${De}`,lo=`keyup${M}${De}`,z="show",ho="dropup",mo="dropend",fo="dropstart",po="dropup-center",go="dropdown-center",x='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',bo=`${x}.${z}`,ae=".dropdown-menu",yo=".navbar",_o=".navbar-nav",wo=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Oo=l()?"top-end":"top-start",xo=l()?"top-start":"top-end",Co=l()?"bottom-end":"bottom-start",Eo=l()?"bottom-start":"bottom-end",ko=l()?"left-start":"right-start",Ao=l()?"right-start":"left-start",So="top",Mo="bottom",Fo={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},To={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},W=class _Dropdown extends h{constructor(e,n){super(e,n),this._popper=null,this._parent=this._element.parentNode,this._menu=t.next(this._element,ae)[0]||t.prev(this._element,ae)[0]||t.findOne(ae,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Fo}static get DefaultType(){return To}static get NAME(){return Yt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(O(this._element)||this._isShown())return;const t={relatedTarget:this._element},n=e.trigger(this._element,io,t);if(n.defaultPrevented)return;if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(_o))for(const t of[].concat(...document.body.children))e.on(t,"mouseover",se);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(z),this._element.classList.add(z),e.trigger(this._element,ao,t)}hide(){if(O(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){const n=e.trigger(this._element,so,t);if(n.defaultPrevented)return;if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))e.off(t,"mouseover",se);this._popper&&this._popper.destroy(),this._menu.classList.remove(z),this._element.classList.remove(z),this._element.setAttribute("aria-expanded","false"),g.removeDataAttribute(this._menu,"popper"),e.trigger(this._element,oo,t)}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!f(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Yt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof Sn=="undefined")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:f(this._config.reference)?e=b(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=qe(e,this._menu,t)}_isShown(){return this._menu.classList.contains(z)}_getPlacement(){const e=this._parent;if(e.classList.contains(mo))return ko;if(e.classList.contains(fo))return Ao;if(e.classList.contains(po))return So;if(e.classList.contains(go))return Mo;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(ho)?t?xo:Oo:t?Eo:Co}_detectNavbar(){return this._element.closest(yo)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(e=>Number.parseInt(e,10)):typeof e=="function"?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(g.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...o(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:n}){const s=t.find(wo,this._menu).filter(e=>$(e));if(!s.length)return;Re(s,n,e===Wt,!s.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const t=_Dropdown.getOrCreateInstance(this,e);if(typeof e!="string")return;if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e]()})}static clearMenus(e){if(e.button===no||e.type==="keyup"&&e.key!==Ut)return;const n=t.find(bo);for(const a of n){const t=_Dropdown.getInstance(a);if(!t||t._config.autoClose===!1)continue;const s=e.composedPath(),o=s.includes(t._menu);if(s.includes(t._element)||t._config.autoClose==="inside"&&!o||t._config.autoClose==="outside"&&o)continue;if(t._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Ut||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const i={relatedTarget:t._element};e.type==="click"&&(i.clickEvent=e),t._completeHide(i)}}static dataApiKeydownHandler(e){const a=/input|textarea/i.test(e.target.tagName),s=e.key===Zs,o=[eo,Wt].includes(e.key);if(!o&&!s)return;if(a&&!s)return;e.preventDefault();const i=this.matches(x)?this:t.prev(this,x)[0]||t.next(this,x)[0]||t.findOne(x,e.delegateTarget.parentNode),n=_Dropdown.getOrCreateInstance(i);if(o){e.stopPropagation(),n.show(),n._selectMenuItem(e);return}n._isShown()&&(e.stopPropagation(),n.hide(),i.focus())}},e.on(document,Ht,x,W.dataApiKeydownHandler),e.on(document,Ht,ae,W.dataApiKeydownHandler),e.on(document,$t,W.clearMenus),e.on(document,lo,W.clearMenus),e.on(document,$t,x,function(e){e.preventDefault(),W.getOrCreateInstance(this).toggle()}),c(W),jt="backdrop",No="fade",bt="show",pt=`mousedown.bs.${jt}`,Po={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ho={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},ft=class extends Q{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Po}static get DefaultType(){return Ho}static get NAME(){return jt}show(e){if(!this._config.isVisible){o(e);return}this._append();const t=this._getElement();this._config.isAnimated&&q(t),t.classList.add(bt),this._emulateAnimation(()=>{o(e)})}hide(e){if(!this._config.isVisible){o(e);return}this._getElement().classList.remove(bt),this._emulateAnimation(()=>{this.dispose(),o(e)})}dispose(){if(!this._isAppended)return;e.off(this._element,pt),this._element.remove(),this._isAppended=!1}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(No),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=b(e.rootElement),e}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),e.on(t,pt,()=>{o(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Nt(e,this._getElement(),this._config.isAnimated)}},Bo="focustrap",Vo="bs.focustrap",oe=`.${Vo}`,Wo=`focusin${oe}`,Uo=`keydown.tab${oe}`,Ko="Tab",qo="forward",lt="backward",Go={autofocus:!0,trapElement:null},Xo={autofocus:"boolean",trapElement:"element"},ct=class extends Q{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Go}static get DefaultType(){return Xo}static get NAME(){return Bo}activate(){if(this._isActive)return;this._config.autofocus&&this._config.trapElement.focus(),e.off(document,oe),e.on(document,Wo,e=>this._handleFocusin(e)),e.on(document,Uo,e=>this._handleKeydown(e)),this._isActive=!0}deactivate(){if(!this._isActive)return;this._isActive=!1,e.off(document,oe)}_handleFocusin(e){const{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;const s=t.focusableChildren(n);s.length===0?n.focus():this._lastTabNavDirection===lt?s[s.length-1].focus():s[0].focus()}_handleKeydown(e){if(e.key!==Ko)return;this._lastTabNavDirection=e.shiftKey?lt:qo}},rt=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",it=".sticky-top",ie="padding-right",nt="margin-right",je=class{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ie,t=>t+e),this._setElementAttributes(rt,ie,t=>t+e),this._setElementAttributes(it,nt,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ie),this._resetElementAttributes(rt,ie),this._resetElementAttributes(it,nt)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const s=this.getWidth(),o=e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+s)return;this._saveInitialAttribute(e,t);const o=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(o))}px`)};this._applyManipulationCallback(e,o)}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&g.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){const n=e=>{const n=g.getDataAttribute(e,t);if(n===null){e.style.removeProperty(t);return}g.removeDataAttribute(e,t),e.style.setProperty(t,n)};this._applyManipulationCallback(e,n)}_applyManipulationCallback(e,n){if(f(e)){n(e);return}for(const s of t.find(e,this._element))n(s)}},si="modal",oi="bs.modal",d=`.${oi}`,ai=".data-api",ri="Escape",ci=`hide${d}`,li=`hidePrevented${d}`,Je=`hidden${d}`,It=`show${d}`,hi=`shown${d}`,mi=`resize${d}`,fi=`click.dismiss${d}`,pi=`mousedown.dismiss${d}`,gi=`keydown.dismiss${d}`,vi=`click${d}${ai}`,tt="modal-open",ji="fade",at="show",Ye="modal-static",wi=".modal.show",Oi=".modal-dialog",xi=".modal-body",Ci='[data-bs-toggle="modal"]',Ei={backdrop:!0,focus:!0,keyboard:!0},ki={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},ce=class _Modal extends h{constructor(e,n){super(e,n),this._dialog=t.findOne(Oi,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new je,this._addEventListeners()}static get Default(){return Ei}static get DefaultType(){return ki}static get NAME(){return si}toggle(e){return this._isShown?this.hide():this.show(e)}show(t){if(this._isShown||this._isTransitioning)return;const n=e.trigger(this._element,It,{relatedTarget:t});if(n.defaultPrevented)return;this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(tt),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t))}hide(){if(!this._isShown||this._isTransitioning)return;const t=e.trigger(this._element,ci);if(t.defaultPrevented)return;this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(at),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())}dispose(){e.off(window,d),e.off(this._dialog,d),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ft({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ct({trapElement:this._element})}_showElement(n){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 s=t.findOne(xi,this._dialog);s&&(s.scrollTop=0),q(this._element),this._element.classList.add(at);const o=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,e.trigger(this._element,hi,{relatedTarget:n})};this._queueCallback(o,this._dialog,this._isAnimated())}_addEventListeners(){e.on(this._element,gi,e=>{if(e.key!==ri)return;if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}),e.on(window,mi,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),e.on(this._element,pi,t=>{e.one(this._element,fi,e=>{if(this._element!==t.target||this._element!==e.target)return;if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()})})}_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(tt),this._resetAdjustments(),this._scrollBar.reset(),e.trigger(this._element,Je)})}_isAnimated(){return this._element.classList.contains(ji)}_triggerBackdropTransition(){const n=e.trigger(this._element,li);if(n.defaultPrevented)return;const s=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;if(t==="hidden"||this._element.classList.contains(Ye))return;s||(this._element.style.overflowY="hidden"),this._element.classList.add(Ye),this._queueCallback(()=>{this._element.classList.remove(Ye),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus()}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),n=e>0;if(n&&!t){const t=l()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!n&&t){const t=l()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const n=_Modal.getOrCreateInstance(this,e);if(typeof e!="string")return;if(typeof n[e]=="undefined")throw new TypeError(`No method named "${e}"`);n[e](t)})}},e.on(document,vi,Ci,function(n){const s=t.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),e.one(s,It,t=>{if(t.defaultPrevented)return;e.one(s,Je,()=>{$(this)&&this.focus()})});const o=t.findOne(wi);o&&ce.getInstance(o).hide();const i=ce.getOrCreateInstance(s);i.toggle(this)}),ue(ce),c(ce),Si="offcanvas",Mi="bs.offcanvas",v=`.${Mi}`,wt=".data-api",zi=`load${v}${wt}`,Di="Escape",Ot="show",Mt="showing",Ft="hiding",Pi="offcanvas-backdrop",Tt=".offcanvas.show",Ii=`show${v}`,Bi=`shown${v}`,Vi=`hide${v}`,Rt=`hidePrevented${v}`,Ze=`hidden${v}`,Ui=`resize${v}`,Ki=`click${v}${wt}`,qi=`keydown.dismiss${v}`,Yi='[data-bs-toggle="offcanvas"]',Gi={backdrop:!0,keyboard:!0,scroll:!1},Xi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},D=class _Offcanvas extends h{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Gi}static get DefaultType(){return Xi}static get NAME(){return Si}toggle(e){return this._isShown?this.hide():this.show(e)}show(t){if(this._isShown)return;const n=e.trigger(this._element,Ii,{relatedTarget:t});if(n.defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new je).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Mt);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Ot),this._element.classList.remove(Mt),e.trigger(this._element,Bi,{relatedTarget:t})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown)return;const t=e.trigger(this._element,Vi);if(t.defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ft),this._backdrop.hide();const n=()=>{this._element.classList.remove(Ot,Ft),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new je).reset(),e.trigger(this._element,Ze)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const n=()=>{if(this._config.backdrop==="static"){e.trigger(this._element,Rt);return}this.hide()},t=Boolean(this._config.backdrop);return new ft({className:Pi,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?n:null})}_initializeFocusTrap(){return new ct({trapElement:this._element})}_addEventListeners(){e.on(this._element,qi,t=>{if(t.key!==Di)return;if(this._config.keyboard){this.hide();return}e.trigger(this._element,Rt)})}static jQueryInterface(e){return this.each(function(){const t=_Offcanvas.getOrCreateInstance(this,e);if(typeof e!="string")return;if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)})}},e.on(document,Ki,Yi,function(n){const s=t.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),O(this))return;e.one(s,Ze,()=>{$(this)&&this.focus()});const o=t.findOne(Tt);o&&o!==s&&D.getInstance(o).hide();const i=D.getOrCreateInstance(s);i.toggle(this)}),e.on(window,zi,()=>{for(const e of t.find(Tt))D.getOrCreateInstance(e).show()}),e.on(window,Ui,()=>{for(const e of t.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&D.getOrCreateInstance(e).hide()}),ue(D),c(D),Zi=/^aria-[\w-]*$/i,Xt={"*":["class","dir","id","lang","role",Zi],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:[]},ea=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),ta=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,na=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!ea.has(n)||Boolean(ta.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(n))};function Tr(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const o=new window.DOMParser,s=o.parseFromString(e,"text/html"),i=[].concat(...s.body.querySelectorAll("*"));for(const e of i){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const s=[].concat(...e.attributes),o=[].concat(t["*"]||[],t[n]||[]);for(const t of s)na(t,o)||e.removeAttribute(t.nodeName)}return s.body.innerHTML}oa="TemplateFactory",ia={allowList:Xt,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},aa={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},ra={entry:"(string|element|function|null)",selector:"(string|element)"},ca=class extends Q{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return ia}static get DefaultType(){return aa}static get NAME(){return oa}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},ra)}_setContent(e,n,s){const o=t.findOne(s,e);if(!o)return;if(n=this._resolvePossibleFunction(n),!n){o.remove();return}if(f(n)){this._putElementInTemplate(b(n),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(n);return}o.textContent=n}_maybeSanitize(e){return this._config.sanitize?Tr(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return o(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}},la="tooltip",da=new Set(["sanitize","allowList","sanitizeFn"]),Fe="fade",ha="modal",fe="show",fa=".tooltip-inner",nn=`.${ha}`,ln="hide.bs.modal",X="hover",Oe="focus",ja="click",ya="manual",_a="hide",wa="hidden",Oa="show",xa="shown",Ca="inserted",Ea="click",ka="focusin",Aa="focusout",Sa="mouseenter",Ma="mouseleave",Fa={AUTO:"auto",TOP:"top",RIGHT:l()?"left":"right",BOTTOM:"bottom",LEFT:l()?"right":"left"},Ta={allowList:Xt,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:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},za={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"},ee=class _Tooltip extends h{constructor(e,t){if(typeof Sn=="undefined")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),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 Ta}static get DefaultType(){return za}static get NAME(){return la}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(!this._isEnabled)return;if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}dispose(){clearTimeout(this._timeout),e.off(this._element.closest(nn),ln,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 n=e.trigger(this._element,this.constructor.eventName(Oa)),s=Et(this._element),o=(s||this._element.ownerDocument.documentElement).contains(this._element);if(n.defaultPrevented||!o)return;this._disposePopper();const t=this._getTipElement();this._element.setAttribute("aria-describedby",t.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(t),e.trigger(this._element,this.constructor.eventName(Ca))),this._popper=this._createPopper(t),t.classList.add(fe),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))e.on(t,"mouseover",se);const a=()=>{e.trigger(this._element,this.constructor.eventName(xa)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(a,this.tip,this._isAnimated())}hide(){if(!this._isShown())return;const t=e.trigger(this._element,this.constructor.eventName(_a));if(t.defaultPrevented)return;const n=this._getTipElement();if(n.classList.remove(fe),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))e.off(t,"mouseover",se);this._activeTrigger[ja]=!1,this._activeTrigger[Oe]=!1,this._activeTrigger[X]=!1,this._isHovered=null;const s=()=>{if(this._isWithActiveTrigger())return;this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),e.trigger(this._element,this.constructor.eventName(wa))};this._queueCallback(s,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Fe,fe),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=Do(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(Fe),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new ca({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[fa]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Fe)}_isShown(){return this.tip&&this.tip.classList.contains(fe)}_createPopper(e){const t=o(this._config.placement,[this,e,this._element]),n=Fa[t.toUpperCase()];return qe(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(e=>Number.parseInt(e,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return o(e,[this._element])}_getPopperConfig(e){const t={placement:e,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:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...o(this._config.popperConfig,[t])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")e.on(this._element,this.constructor.eventName(Ea),this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t.toggle()});else if(n!==ya){const t=n===X?this.constructor.eventName(Sa):this.constructor.eventName(ka),s=n===X?this.constructor.eventName(Ma):this.constructor.eventName(Aa);e.on(this._element,t,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type==="focusin"?Oe:X]=!0,t._enter()}),e.on(this._element,s,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type==="focusout"?Oe:X]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},e.on(this._element.closest(nn),ln,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");if(!e)return;!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title")}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){if(this._isWithActiveTrigger())return;this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide)}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=g.getDataAttributes(this._element);for(const e of Object.keys(t))da.has(e)&&delete t[e];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:b(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=_Tooltip.getOrCreateInstance(this,e);if(typeof e!="string")return;if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e]()})}},c(ee),Na="popover",La=".popover-header",Ra=".popover-body",Pa={...ee.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Fn={...ee.DefaultType,content:"(null|string|element|function)"},Ia=class _Popover extends ee{static get Default(){return Pa}static get DefaultType(){return Fn}static get NAME(){return Na}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[La]:this._getTitle(),[Ra]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=_Popover.getOrCreateInstance(this,e);if(typeof e!="string")return;if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e]()})}},c(Ia),Ba="scrollspy",Va="bs.scrollspy",Ve=`.${Va}`,Wa=".data-api",Ua=`activate${Ve}`,_n=`click${Ve}`,qa=`load${Ve}${Wa}`,Ya="dropdown-item",B="active",Xa='[data-bs-spy="scroll"]',Me="[href]",Za=".nav, .list-group",Kt=".nav-link",er=".nav-item",tr=".list-group-item",nr=`${Kt}, ${er} > ${Kt}, ${tr}`,sr=".dropdown",or=".dropdown-toggle",ir={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},ar={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},mt=class _ScrollSpy extends h{constructor(e,t){super(e,t),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 ir}static get DefaultType(){return ar}static get NAME(){return Ba}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=b(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){if(!this._config.smoothScroll)return;e.off(this._config.target,_n),e.on(this._config.target,_n,Me,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,s=t.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:s,behavior:"smooth"});return}n.scrollTop=s}})}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){const n=e=>this._targetLinks.get(`#${e.target.id}`),s=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(n(e))},t=(this._rootElement||document.documentElement).scrollTop,o=t>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=t;for(const i of e){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(i));continue}const a=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&a){if(s(i),!t)return;continue}!o&&!a&&s(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=t.find(Me,this._config.target);for(const n of e){if(!n.hash||O(n))continue;const s=t.findOne(decodeURI(n.hash),this._element);$(s)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,s))}}_process(t){if(this._activeTarget===t)return;this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(B),this._activateParents(t),e.trigger(this._element,Ua,{relatedTarget:t})}_activateParents(e){if(e.classList.contains(Ya)){t.findOne(or,e.closest(sr)).classList.add(B);return}for(const n of t.parents(e,Za))for(const e of t.prev(n,nr))e.classList.add(B)}_clearActiveClass(e){e.classList.remove(B);const n=t.find(`${Me}.${B}`,e);for(const e of n)e.classList.remove(B)}static jQueryInterface(e){return this.each(function(){const t=_ScrollSpy.getOrCreateInstance(this,e);if(typeof e!="string")return;if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()})}},e.on(window,qa,()=>{for(const e of t.find(Xa))mt.getOrCreateInstance(e)}),c(mt),cr="tab",lr="bs.tab",A=`.${lr}`,ur=`hide${A}`,hr=`hidden${A}`,mr=`show${A}`,fr=`shown${A}`,pr=`click${A}`,gr=`keydown${A}`,vr=`load${A}`,br="ArrowLeft",ut="ArrowRight",dr="ArrowUp",st="ArrowDown",Ge="Home",ht="End",E="active",yt="fade",$e="show",ga="dropdown",Qe=".dropdown-toggle",ma=".dropdown-menu",Be=`:not(${Qe})`,ua='.list-group, .nav, [role="tablist"]',sa=".nav-item, .list-group-item",Qi=`.nav-link${Be}, .list-group-item${Be}, [role="tab"]${Be}`,kt='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',He=`${Qi}, ${kt}`,$i=`.${E}[data-bs-toggle="tab"], .${E}[data-bs-toggle="pill"], .${E}[data-bs-toggle="list"]`,Pe=class _Tab extends h{constructor(t){if(super(t),this._parent=this._element.closest(ua),!this._parent)return;this._setInitialAttributes(this._parent,this._getChildren()),e.on(this._element,gr,e=>this._keydown(e))}static get NAME(){return cr}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),s=n?e.trigger(n,ur,{relatedTarget:t}):null,o=e.trigger(t,mr,{relatedTarget:n});if(o.defaultPrevented||s&&s.defaultPrevented)return;this._deactivate(n,t),this._activate(t,n)}_activate(n,s){if(!n)return;n.classList.add(E),this._activate(t.getElementFromSelector(n));const o=()=>{if(n.getAttribute("role")!=="tab"){n.classList.add($e);return}n.removeAttribute("tabindex"),n.setAttribute("aria-selected",!0),this._toggleDropDown(n,!0),e.trigger(n,fr,{relatedTarget:s})};this._queueCallback(o,n,n.classList.contains(yt))}_deactivate(n,s){if(!n)return;n.classList.remove(E),n.blur(),this._deactivate(t.getElementFromSelector(n));const o=()=>{if(n.getAttribute("role")!=="tab"){n.classList.remove($e);return}n.setAttribute("aria-selected",!1),n.setAttribute("tabindex","-1"),this._toggleDropDown(n,!1),e.trigger(n,hr,{relatedTarget:s})};this._queueCallback(o,n,n.classList.contains(yt))}_keydown(e){if(![br,ut,dr,st,Ge,ht].includes(e.key))return;e.stopPropagation(),e.preventDefault();const n=this._getChildren().filter(e=>!O(e));let t;if([Ge,ht].includes(e.key))t=n[e.key===Ge?0:n.length-1];else{const s=[ut,st].includes(e.key);t=Re(n,e.target,s,!0)}t&&(t.focus({preventScroll:!0}),_Tab.getOrCreateInstance(t).show())}_getChildren(){return t.find(He,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const n=t.getElementFromSelector(e);if(!n)return;this._setAttributeIfNotExists(n,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${e.id}`)}_toggleDropDown(e,n){const s=this._getOuterElement(e);if(!s.classList.contains(ga))return;const o=(e,o)=>{const i=t.findOne(e,s);i&&i.classList.toggle(o,n)};o(Qe,E),o(ma,$e),s.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(E)}_getInnerElement(e){return e.matches(He)?e:t.findOne(He,e)}_getOuterElement(e){return e.closest(sa)||e}static jQueryInterface(e){return this.each(function(){const t=_Tab.getOrCreateInstance(this);if(typeof e!="string")return;if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()})}},e.on(document,pr,kt,function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),O(this))return;Pe.getOrCreateInstance(this).show()}),e.on(window,vr,()=>{for(const e of t.find($i))Pe.getOrCreateInstance(e)}),c(Pe),Ni="toast",Ti="bs.toast",_=`.${Ti}`,Ai=`mouseover${_}`,_i=`mouseout${_}`,yi=`focusin${_}`,bi=`focusout${_}`,ui=`hide${_}`,di=`hidden${_}`,ii=`show${_}`,ni=`shown${_}`,ti="fade",Pt="hide",de="show",J="showing",ei={animation:"boolean",autohide:"boolean",delay:"number"},Qs={animation:!0,autohide:!0,delay:5e3},qt=class _Toast extends h{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Qs}static get DefaultType(){return ei}static get NAME(){return Ni}show(){const t=e.trigger(this._element,ii);if(t.defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(ti);const n=()=>{this._element.classList.remove(J),e.trigger(this._element,ni),this._maybeScheduleHide()};this._element.classList.remove(Pt),q(this._element),this._element.classList.add(de,J),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown())return;const t=e.trigger(this._element,ui);if(t.defaultPrevented)return;const n=()=>{this._element.classList.add(Pt),this._element.classList.remove(J,de),e.trigger(this._element,di)};this._element.classList.add(J),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(de),super.dispose()}isShown(){return this._element.classList.contains(de)}_maybeScheduleHide(){if(!this._config.autohide)return;if(this._hasMouseInteraction||this._hasKeyboardInteraction)return;this._timeout=setTimeout(()=>{this.hide()},this._config.delay)}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=t;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=t;break}}if(t){this._clearTimeout();return}const n=e.relatedTarget;if(this._element===n||this._element.contains(n))return;this._maybeScheduleHide()}_setListeners(){e.on(this._element,Ai,e=>this._onInteraction(e,!0)),e.on(this._element,_i,e=>this._onInteraction(e,!1)),e.on(this._element,yi,e=>this._onInteraction(e,!0)),e.on(this._element,bi,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=_Toast.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e](this)}})}},ue(qt),c(qt),Xs=class{constructor(){this.init()}init(){}},Rs=Xs;function oc(){const e=document.getElementById("main-nav");e&&new Rs(e)}oc()})()
|
|
9
|
+
*/"use strict";(()=>{var n,s,i,a,ae,k,N,V,Sn,ye,R,xn,_e,we,bn,mn,hn,un,dn,cn,an,on,nn,en,Re,S,le,P,Ja,tt,jr,ze,me,Ae,Ga,Ka,Pt,Mt,wt,Ke,ut,ot,Jo,Zo,Qo,Yo,Ge,y,qe,$o,Io,Ue,vt,Ro,Lo,Do,_t,e,f,b,j,I,Et,oe,Y,St,Be,zo,o,c,l,Nt,be,jo,vo,uo,Le,Je,Vt,co,g,X,Ns,h,Se,t,ue,Ms,As,fn,Cs,gs,ps,ls,jn,cs,es,Zn,Qn,Xn,Cn,Gn,kn,Un,T,Wn,Bn,Ra,zn,Dn,Nn,Ln,Rn,Pn,Hn,In,Lt,Vn,$n,w,An,Kn,qn,Yn,$,W,Z,pe,Jn,xe,ts,ns,ss,os,is,rs,yn,ge,ds,us,hs,ms,fs,vn,gn,vs,bs,js,ys,_s,ws,Os,xs,ke,Es,ks,Q,Ss,Fn,Fs,Ts,zs,Ds,Me,B,he,Ps,Hs,Is,Bs,Vs,$s,De,Us,Ks,Xt,Gt,Gs,M,Ne,Zs,Kt,eo,Ut,no,so,oo,io,ao,Wt,$t,lo,z,ho,mo,fo,po,go,x,bo,re,yo,_o,wo,Oo,xo,Co,Eo,ko,Ao,So,Mo,Fo,To,H,yt,No,jt,bt,Po,Ho,pt,Bo,Vo,se,Wo,Uo,Ko,qo,dt,Go,Xo,lt,ct,rt,ie,st,je,si,oi,d,ai,ri,ci,li,et,Bt,hi,mi,fi,pi,gi,vi,nt,ji,at,Xe,wi,Oi,xi,Ci,Ei,ki,ce,Si,Mi,v,gt,zi,Di,Ot,kt,Ft,Pi,Tt,Ii,Bi,Vi,zt,It,Ui,Ki,qi,Yi,Gi,Xi,D,Zi,Zt,ea,ta,na,oa,ia,aa,ra,ca,la,da,Te,ha,fe,fa,rn,ln,U,Ce,Oe,ya,_a,wa,Oa,xa,Ca,Ea,ka,Aa,Sa,Ma,Fa,Ta,za,ee,Na,La,Tn,Pa,Ha,Ia,Ba,Va,We,Wa,Ua,wn,qa,Ya,L,Xa,Fe,Za,qt,er,tr,nr,sr,or,ir,ar,mt,cr,lr,A,ur,hr,mr,fr,pr,gr,vr,br,ht,dr,it,Ye,ft,C,Ze,$e,va,xt,pa,Ve,ma,sa,Ji,At,He,Wi,Pe,Li,Ni,O,Fi,Ai,_i,yi,bi,ui,di,ii,ni,Ht,de,J,ti,Js,Yt,Qs,Ws,tc=Object.defineProperty,Zr=(e,t)=>{for(var n in t)tc(e,n,{get:t[n],enumerable:!0})},Mn={};Zr(Mn,{afterMain:()=>cn,afterRead:()=>hn,afterWrite:()=>nn,applyStyles:()=>Re,arrow:()=>tt,auto:()=>ae,basePlacements:()=>V,beforeMain:()=>un,beforeRead:()=>bn,beforeWrite:()=>an,bottom:()=>i,clippingParents:()=>Sn,computeStyles:()=>ze,createPopper:()=>Ge,createPopperBase:()=>Jo,createPopperLite:()=>Qo,detectOverflow:()=>G,end:()=>N,eventListeners:()=>Ae,flip:()=>Pt,hide:()=>Mt,left:()=>n,main:()=>dn,modifierPhases:()=>en,offset:()=>wt,placements:()=>we,popper:()=>R,popperGenerator:()=>Qe,popperOffsets:()=>Ke,preventOverflow:()=>ut,read:()=>mn,reference:()=>xn,right:()=>a,start:()=>k,top:()=>s,variationPlacements:()=>_e,viewport:()=>ye,write:()=>on}),s="top",i="bottom",a="right",n="left",ae="auto",V=[s,i,a,n],k="start",N="end",Sn="clippingParents",ye="viewport",R="popper",xn="reference",_e=V.reduce(function(e,t){return e.concat([t+"-"+k,t+"-"+N])},[]),we=[].concat(V,[ae]).reduce(function(e,t){return e.concat([t,t+"-"+k,t+"-"+N])},[]),bn="beforeRead",mn="read",hn="afterRead",un="beforeMain",dn="main",cn="afterMain",an="beforeWrite",on="write",nn="afterWrite",en=[bn,mn,hn,un,dn,cn,an,on,nn];function p(e){return e?(e.nodeName||"").toLowerCase():null}function r(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function F(e){var t=r(e).Element;return e instanceof t||e instanceof Element}function u(e){var t=r(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Jt(e){if(typeof ShadowRoot=="undefined")return!1;var t=r(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Qr(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var o=t.styles[e]||{},s=t.attributes[e]||{},n=t.elements[e];if(!u(n)||!p(n))return;Object.assign(n.style,o),Object.keys(s).forEach(function(e){var t=s[e];t===!1?n.removeAttribute(e):n.setAttribute(e,t===!0?"":t)})})}function Xr(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var s=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]),a=i.reduce(function(e,t){return e[t]="",e},{});if(!u(s)||!p(s))return;Object.assign(s.style,a),Object.keys(o).forEach(function(e){s.removeAttribute(e)})})}}Re={name:"applyStyles",enabled:!0,phase:"write",fn:Qr,effect:Xr,requires:["computeStyles"]};function m(e){return e.split("-")[0]}S=Math.max,le=Math.min,P=Math.round;function Rt(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Ti(){return!/^((?!chrome|android).)*safari/i.test(Rt())}function K(e,t,n){t===0[0]&&(t=!1),n===0[0]&&(n=!1),s=e.getBoundingClientRect(),o=1,i=1,t&&u(e)&&(o=e.offsetWidth>0?P(s.width)/e.offsetWidth||1:1,i=e.offsetHeight>0?P(s.height)/e.offsetHeight||1:1);var s,o,i,f=F(e)?r(e):window,a=f.visualViewport,d=!Ti()&&n,c=(s.left+(d&&a?a.offsetLeft:0))/o,l=(s.top+(d&&a?a.offsetTop:0))/i,h=s.width/o,m=s.height/i;return{width:h,height:m,top:l,right:c+h,bottom:l+m,left:c,x:c,y:l}}function Dt(e){var t=K(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function Ri(e,t){var n,s=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(s&&Jt(s)){n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function _(e){return r(e).getComputedStyle(e)}function Nr(e){return["table","td","th"].indexOf(p(e))>=0}function E(e){return((F(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ie(e){return p(e)==="html"?e:e.assignedSlot||e.parentNode||(Jt(e)?e.host:null)||E(e)}function Qi(e){return!u(e)||_(e).position==="fixed"?null:e.offsetParent}function Mr(e){var t,n,o,s=/firefox/i.test(Rt()),i=/Trident/i.test(Rt());if(i&&u(e)&&(o=_(e),o.position==="fixed"))return null;for(t=Ie(e),Jt(t)&&(t=t.host);u(t)&&["html","body"].indexOf(p(t))<0;){if(n=_(t),n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].indexOf(n.willChange)!==-1||s&&n.willChange==="filter"||s&&n.filter&&n.filter!=="none")return t;t=t.parentNode}return null}function ne(e){for(var n=r(e),t=Qi(e);t&&Nr(t)&&_(t).position==="static";)t=Qi(t);return t&&(p(t)==="html"||p(t)==="body"&&_(t).position==="static")?n:t||Mr(e)||n}function Ct(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function te(e,t,n){return S(e,le(t,n))}function Ar(e,t,n){var s=te(e,t,n);return s>n?n:s}function ja(){return{top:0,right:0,bottom:0,left:0}}function Da(e){return Object.assign({},ja(),e)}function Qa(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}Ja=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Da(typeof t!="number"?t:Qa(t,V))};function wr(e){var r,c,d,u,p,g,v,b,j,y,_,O,x,C,E,t=e.state,S=e.name,A=e.options,h=t.elements.arrow,f=t.modifiersData.popperOffsets,w=m(t.placement),o=Ct(w),k=[n,a].indexOf(w)>=0,l=k?"height":"width";if(!h||!f)return;g=Ja(A.padding,t),v=Dt(h),b=o==="y"?s:n,j=o==="y"?i:a,y=t.rects.reference[l]+t.rects.reference[o]-f[o]-t.rects.popper[l],_=f[o]-t.rects.reference[o],c=ne(h),p=c?o==="y"?c.clientHeight||0:c.clientWidth||0:0,O=y/2-_/2,x=g[b],C=p-v[l]-g[j],u=p/2-v[l]/2+O,d=te(x,u,C),E=o,t.modifiersData[S]=(r={},r[E]=d,r.centerOffset=d-u,r)}function Pr(e){var n=e.state,o=e.options,s=o.element,t=s===0[0]?"[data-popper-arrow]":s;if(t==null)return;if(typeof t=="string"&&(t=n.elements.popper.querySelector(t),!t))return;if(!Ri(n.elements.popper,t))return;n.elements.arrow=t}tt={name:"arrow",enabled:!0,phase:"main",fn:wr,effect:Pr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function q(e){return e.split("-")[1]}jr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Hr(e,t){var s=e.x,o=e.y,n=t.devicePixelRatio||1;return{x:P(s*n)/n||0,y:P(o*n)/n||0}}function rr(e){var c,u,h,g,v,b,w,T,z,m=e.popper,F=e.popperRect,d=e.placement,R=e.variation,f=e.offsets,S=e.position,j=e.gpuAcceleration,k=e.adaptive,p=e.roundOffsets,M=e.isFixed,L=f.x,t=L===0[0]?0:L,C=f.y,o=C===0[0]?0:C,D=typeof p=="function"?p({x:t,y:o}):{x:t,y:o},t=D.x,o=D.y,A=f.hasOwnProperty("x"),x=f.hasOwnProperty("y"),O=n,y=s,l=window;return k&&(c=ne(m),g="clientHeight",b="clientWidth",c===r(m)&&(c=E(m),_(c).position!=="static"&&S==="absolute"&&(g="scrollHeight",b="scrollWidth")),c=c,(d===s||(d===n||d===a)&&R===N)&&(y=i,T=M&&c===l&&l.visualViewport?l.visualViewport.height:c[g],o-=T-F.height,o*=j?1:-1),(d===n||(d===s||d===i)&&R===N)&&(O=a,z=M&&c===l&&l.visualViewport?l.visualViewport.width:c[b],t-=z-F.width,t*=j?1:-1)),w=Object.assign({position:S},k&&jr),v=p===!0?Hr({x:t,y:o},r(m)):{x:t,y:o},t=v.x,o=v.y,j?Object.assign({},w,(u={},u[y]=x?"0":"",u[O]=A?"0":"",u.transform=(l.devicePixelRatio||1)<=1?"translate("+t+"px, "+o+"px)":"translate3d("+t+"px, "+o+"px, 0)",u)):Object.assign({},w,(h={},h[y]=x?o+"px":"",h[O]=A?t+"px":"",h.transform="",h))}function Or(e){var t=e.state,n=e.options,s=n.gpuAcceleration,c=s===0[0]||s,o=n.adaptive,l=o===0[0]||o,i=n.roundOffsets,a=i===0[0]||i,r={placement:m(t.placement),variation:q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:c,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,rr(Object.assign({},r,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,rr(Object.assign({},r,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}ze={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Or,data:{}},me={passive:!0};function xr(e){var n=e.state,t=e.instance,s=e.options,o=s.scroll,i=o===0[0]||o,a=s.resize,c=a===0[0]||a,l=r(n.elements.popper),d=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&d.forEach(function(e){e.addEventListener("scroll",t.update,me)}),c&&l.addEventListener("resize",t.update,me),function(){i&&d.forEach(function(e){e.removeEventListener("scroll",t.update,me)}),c&&l.removeEventListener("resize",t.update,me)}}Ae={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:xr,data:{}},Ga={left:"right",right:"left",bottom:"top",top:"bottom"};function Ee(e){return e.replace(/left|right|bottom|top/g,function(e){return Ga[e]})}Ka={start:"end",end:"start"};function $a(e){return e.replace(/start|end/g,function(e){return Ka[e]})}function En(e){var t=r(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function On(e){return K(E(e)).left+En(e).scrollLeft}function Cr(e,t){var s,d=r(e),o=E(e),n=d.visualViewport,i=o.clientWidth,a=o.clientHeight,c=0,l=0;return n&&(i=n.width,a=n.height,s=Ti(),(s||!s&&t==="fixed")&&(c=n.offsetLeft,l=n.offsetTop)),{width:i,height:a,x:c+On(e),y:l}}function Er(e){var s,n=E(e),o=En(e),t=(s=e.ownerDocument)==null?0[0]:s.body,i=S(n.scrollWidth,n.clientWidth,t?t.scrollWidth:0,t?t.clientWidth:0),r=S(n.scrollHeight,n.clientHeight,t?t.scrollHeight:0,t?t.clientHeight:0),a=-o.scrollLeft+On(e),c=-o.scrollTop;return _(t||n).direction==="rtl"&&(a+=S(n.clientWidth,t?t.clientWidth:0)-i),{width:i,height:r,x:a,y:c}}function _n(e){var t=_(e),n=t.overflow,s=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function ba(e){return["html","body","#document"].indexOf(p(e))>=0?e.ownerDocument.body:u(e)&&_n(e)?e:ba(Ie(e))}function ve(e,t){t===0[0]&&(t=[]);var s,n=ba(e),o=n===((s=e.ownerDocument)==null?0[0]:s.body),i=r(n),a=o?[i].concat(i.visualViewport||[],_n(n)?n:[]):n,c=t.concat(a);return o?c:c.concat(ve(Ie(a)))}function pn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function kr(e,t){var n=K(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function ga(e,t,n){return t===ye?pn(Cr(e,n)):F(t)?kr(t,n):pn(Er(E(e)))}function Sr(e){var n=ve(Ie(e)),s=["absolute","fixed"].indexOf(_(e).position)>=0,t=s&&u(e)?ne(e):e;return F(t)?n.filter(function(e){return F(e)&&Ri(e,t)&&p(e)!=="body"}):[]}function Fr(e,t,n,s){var a=t==="clippingParents"?Sr(e):[].concat(t),i=[].concat(a,[n]),r=i[0],o=i.reduce(function(t,n){var o=ga(e,n,s);return t.top=S(o.top,t.top),t.right=le(o.right,t.right),t.bottom=le(o.bottom,t.bottom),t.left=S(o.left,t.left),t},ga(e,r,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function ua(e){var o,r,l,t=e.reference,c=e.element,d=e.placement,u=d?m(d):null,p=d?q(d):null,h=t.x+t.width/2-c.width/2,f=t.y+t.height/2-c.height/2;switch(u){case s:o={x:h,y:t.y-c.height};break;case i:o={x:h,y:t.y+t.height};break;case a:o={x:t.x+t.width,y:f};break;case n:o={x:t.x-c.width,y:f};break;default:o={x:t.x,y:t.y}}if(r=u?Ct(u):null,r!=null)switch(l=r==="y"?"height":"width",p){case k:o[r]=o[r]-(t[l]/2-c[l]/2);break;case N:o[r]=o[r]+(t[l]/2-c[l]/2);break;default:}return o}function G(e,t){t===0[0]&&(t={});var g,n=t,m=n.placement,f=m===0[0]?e.placement:m,x=n.strategy,z=x===0[0]?e.strategy:x,O=n.boundary,C=O===0[0]?Sn:O,j=n.rootBoundary,T=j===0[0]?ye:j,_=n.elementContext,c=_===0[0]?R:_,p=n.altBoundary,M=p!==0[0]&&p,b=n.padding,h=b===0[0]?0:b,o=Da(typeof h!="number"?h:Qa(h,V)),S=c===R?xn:R,w=e.rects.popper,u=e.elements[M?S:c],r=Fr(F(u)?u:u.contextElement||E(e.elements.popper),C,T,z),y=K(e.elements.reference),k=ua({reference:y,element:w,strategy:"absolute",placement:f}),A=pn(Object.assign({},w,k)),l=c===R?A:y,d={top:r.top-l.top+o.top,bottom:l.bottom-r.bottom+o.bottom,left:r.left-l.left+o.left,right:l.right-r.right+o.right},v=e.modifiersData.offset;return c===R&&v&&(g=v[f],Object.keys(d).forEach(function(e){var t=[a,i].indexOf(e)>=0?1:-1,n=[s,i].indexOf(e)>=0?"y":"x";d[e]+=g[n]*t})),d}function zr(e,t){t===0[0]&&(t={});var s,n=t,c=n.placement,l=n.boundary,d=n.rootBoundary,u=n.padding,h=n.flipVariations,i=n.allowedAutoPlacements,f=i===0[0]?we:i,a=q(c),r=a?h?_e:_e.filter(function(e){return q(e)===a}):V,o=r.filter(function(e){return f.indexOf(e)>=0});return o.length===0&&(o=r),s=o.reduce(function(t,n){return t[n]=G(e,{placement:n,boundary:l,rootBoundary:d,padding:u})[m(n)],t},{}),Object.keys(s).sort(function(e,t){return s[e]-s[t]})}function Dr(e){if(m(e)===ae)return[];var t=Ee(e);return[$a(e),t,$a(t)]}function _r(e){var t=e.state,o=e.options,C=e.name;if(t.modifiersData[C]._skip)return;for(var r,c,l,u,h,g,v,y,_,x,E,A,z,F=o.mainAxis,H=F===0[0]||F,D=o.altAxis,R=D===0[0]||D,L=o.fallbackPlacements,N=o.padding,w=o.boundary,O=o.rootBoundary,I=o.altBoundary,T=o.flipVariations,j=T===0[0]||T,B=o.allowedAutoPlacements,d=t.options.placement,W=m(d),P=W===d,U=L||(P||!j?[Ee(d)]:Dr(d)),p=[d].concat(U).reduce(function(e,n){return e.concat(m(n)===ae?zr(t,{placement:n,boundary:w,rootBoundary:O,padding:N,flipVariations:j,allowedAutoPlacements:B}):n)},[]),$=t.rects.reference,V=t.rects.popper,S=new Map,M=!0,f=p[0],b=0;b<p.length;b++){if(r=p[b],v=m(r),g=q(r)===k,y=[s,i].indexOf(v)>=0,_=y?"width":"height",h=G(t,{placement:r,boundary:w,rootBoundary:O,altBoundary:I,padding:N}),l=y?g?a:n:g?i:s,$[_]>V[_]&&(l=Ee(l)),z=Ee(l),c=[],H&&c.push(h[v]<=0),R&&c.push(h[l]<=0,h[z]<=0),c.every(function(e){return e})){f=r,M=!1;break}S.set(r,c)}if(M)for(A=j?3:1,E=function(t){var n=p.find(function(e){var n=S.get(e);if(n)return n.slice(0,t).every(function(e){return e})});if(n)return f=n,"break"},u=A;u>0;u--)if(x=E(u),x==="break")break;t.placement!==f&&(t.modifiersData[C]._skip=!0,t.placement=f,t.reset=!0)}Pt={name:"flip",enabled:!0,phase:"main",fn:_r,requiresIfExists:["offset"],data:{_skip:!1}};function $i(e,t,n){return n===0[0]&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Hi(e){return[s,a,i,n].some(function(t){return e[t]>=0})}function Rr(e){var t=e.state,a=e.name,r=t.rects.reference,c=t.rects.popper,l=t.modifiersData.preventOverflow,d=G(t,{elementContext:"reference"}),u=G(t,{altBoundary:!0}),n=$i(d,r),s=$i(u,c,l),o=Hi(n),i=Hi(s);t.modifiersData[a]={referenceClippingOffsets:n,popperEscapeOffsets:s,isReferenceHidden:o,hasPopperEscaped:i},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":o,"data-popper-escaped":i})}Mt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Rr};function yr(e,t,o){var c=m(e),d=[n,s].indexOf(c)>=0?-1:1,l=typeof o=="function"?o(Object.assign({},t,{placement:e})):o,i=l[0],r=l[1],i=i||0,r=(r||0)*d;return[n,a].indexOf(c)>=0?{x:r,y:i}:{x:i,y:r}}function Lr(e){var t=e.state,i=e.options,a=e.name,n=i.offset,r=n===0[0]?[0,0]:n,s=we.reduce(function(e,n){return e[n]=yr(n,t.rects,r),e},{}),o=s[t.placement],c=o.x,l=o.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[a]=s}wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Lr};function $r(e){var t=e.state,n=e.name;t.modifiersData[n]=ua({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}Ke={name:"popperOffsets",enabled:!0,phase:"read",fn:$r,data:{}};function Br(e){return e==="x"?"y":"x"}function Vr(e){var fe,r,h,R,P,B,V,$,K,Q,Z,ue,v,E,W,U,ee,se,x,ie,I,re,ce,Y,me,c,p,w,A,F,T,z,D,L,H,X,t=e.state,l=e.options,be=e.name,pe=l.mainAxis,ge=pe===0[0]||pe,oe=l.altAxis,we=oe!==0[0]&&oe,_e=l.boundary,ye=l.rootBoundary,ve=l.altBoundary,je=l.padding,de=l.tether,d=de===0[0]||de,ae=l.tetherOffset,M=ae===0[0]?0:ae,O=G(t,{boundary:_e,rootBoundary:ye,padding:je,altBoundary:ve}),J=m(t.placement),C=q(t.placement),he=!C,o=Ct(J),j=Br(o),b=t.modifiersData.popperOffsets,u=t.rects.reference,g=t.rects.popper,_=typeof M=="function"?M(Object.assign({},t.rects,{placement:t.placement})):M,f=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),y=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(!b)return;ge&&(R=o==="y"?s:n,P=o==="y"?i:a,r=o==="y"?"height":"width",h=b[o],B=h+O[R],V=h-O[P],$=d?-g[r]/2:0,Z=C===k?u[r]:g[r],Q=C===k?-g[r]:-u[r],K=t.elements.arrow,ue=d&&K?Dt(K):{width:0,height:0},E=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ja(),U=E[R],W=E[P],v=te(0,u[r],ue[r]),ee=he?u[r]/2-$-v-U-f.mainAxis:Z-v-U-f.mainAxis,se=he?-u[r]/2+$+v+W+f.mainAxis:Q+v+W+f.mainAxis,x=t.elements.arrow&&ne(t.elements.arrow),ie=x?o==="y"?x.clientTop||0:x.clientLeft||0:0,I=(fe=y?.[o])!=null?fe:0,re=h+ee-I-ie,ce=h+se-I,H=te(d?le(B,re):B,h,d?S(V,ce):V),b[o]=H,N[o]=H-h),we&&(Y=o==="x"?s:n,me=o==="x"?i:a,c=b[j],p=j==="y"?"height":"width",L=c+O[Y],D=c-O[me],w=[s,n].indexOf(J)!==-1,z=(X=y?.[j])!=null?X:0,T=w?L:c-u[p]-g[p]-z+f.altAxis,F=w?c+u[p]+g[p]-z-f.altAxis:D,A=d&&w?Ar(T,c,F):te(d?T:L,c,d?F:D),b[j]=A,N[j]=A-c),t.modifiersData[be]=N}ut={name:"preventOverflow",enabled:!0,phase:"main",fn:Vr,requiresIfExists:["offset"]};function Ir(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Wr(e){return e===r(e)||!u(e)?En(e):Ir(e)}function Ur(e){var t=e.getBoundingClientRect(),n=P(t.width)/e.offsetWidth||1,s=P(t.height)/e.offsetHeight||1;return n!==1||s!==1}function Kr(e,t,n){n===0[0]&&(n=!1);var r=u(t),c=u(t)&&Ur(t),i=E(t),o=K(e,c,n),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&((p(t)!=="body"||_n(i))&&(a=Wr(t)),u(t)?(s=K(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=On(i))),{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}function qr(e){var n=new Map,t=new Set,s=[];e.forEach(function(e){n.set(e.name,e)});function o(e){t.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach(function(e){if(!t.has(e)){var s=n.get(e);s&&o(s)}}),s.push(e)}return e.forEach(function(e){t.has(e.name)||o(e)}),s}function Yr(e){var t=qr(e);return en.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}function Gr(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=0[0],n(e())})})),t}}function Jr(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}ot={placement:"bottom",modifiers:[],strategy:"absolute"};function ei(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some(function(e){return!e||typeof e.getBoundingClientRect!="function"})}function Qe(e){e===0[0]&&(e={});var n=e,s=n.defaultModifiers,i=s===0[0]?[]:s,o=n.defaultOptions,t=o===0[0]?ot:o;return function(n,s,o){o===0[0]&&(o=t);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},ot,t),modifiersData:{},elements:{reference:n,popper:s},attributes:{},styles:{}},c=[],l=!1,r={state:a,setOptions:function(o){var c,l=typeof o=="function"?o(a.options):o;return d(),a.options=Object.assign({},t,a.options,l),a.scrollParents={reference:F(n)?ve(n):n.contextElement?ve(n.contextElement):[],popper:ve(s)},c=Yr(Jr([].concat(i,a.options.modifiers))),a.orderedModifiers=c.filter(function(e){return e.enabled}),u(),r.update()},forceUpdate:function(){if(l)return;var o=a.elements,i=o.reference,n=o.popper;if(!ei(i,n))return;a.rects={reference:Kr(i,ne(n),a.options.strategy==="fixed"),popper:Dt(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(t=0;t<a.orderedModifiers.length;t++){if(a.reset===!0){a.reset=!1,t=-1;continue}var t,s=a.orderedModifiers[t],c=s.fn,d=s.options,u=d===0[0]?{}:d,h=s.name;typeof c=="function"&&(a=c({state:a,options:u,name:h,instance:r})||a)}},update:Gr(function(){return new Promise(function(e){r.forceUpdate(),e(a)})}),destroy:function(){d(),l=!0}};if(!ei(n,s))return r;r.setOptions(o).then(function(e){!l&&o.onFirstUpdate&&o.onFirstUpdate(e)});function u(){a.orderedModifiers.forEach(function(e){var s,o,i=e.name,t=e.options,l=t===0[0]?{}:t,n=e.effect;typeof n=="function"&&(s=n({state:a,name:i,instance:r,options:l}),o=function(){},c.push(s||o))})}function d(){c.forEach(function(e){return e()}),c=[]}return r}}Jo=Qe(),Zo=[Ae,Ke,ze,Re],Qo=Qe({defaultModifiers:Zo}),Yo=[Ae,Ke,ze,Re,wt,Pt,ut,tt,Mt],Ge=Qe({defaultModifiers:Yo}),y=new Map,qe={set(e,t,n){y.has(e)||y.set(e,new Map);const s=y.get(e);if(!s.has(t)&&s.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`);return}s.set(t,n)},get(e,t){return y.has(e)?y.get(e).get(t)||null:null},remove(e,t){if(!y.has(e))return;const n=y.get(e);n.delete(t),n.size===0&&y.delete(e)}},$o=1e6,Io=1e3,Ue="transitionend",vt=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),Ro=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Lo=e=>{do e+=Math.floor(Math.random()*$o);while(document.getElementById(e))return e},Do=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const s=Number.parseFloat(t),o=Number.parseFloat(n);return!s&&!o?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*Io)},_t=e=>{e.dispatchEvent(new Event(Ue))},f=e=>!!e&&typeof e=="object"&&(typeof e.jquery!="undefined"&&(e=e[0]),typeof e.nodeType!="undefined"),b=e=>f(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(vt(e)):null,I=e=>{if(!f(e)||e.getClientRects().length===0)return!1;const n=getComputedStyle(e).getPropertyValue("visibility")==="visible",t=e.closest("details:not([open])");if(!t)return n;if(t!==e){const n=e.closest("summary");if(n&&n.parentNode!==t)return!1;if(n===null)return!1}return n},j=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(typeof e.disabled!="undefined"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false"),Et=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Et(e.parentNode):null},oe=()=>{},Y=e=>{e.offsetHeight},St=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Be=[],zo=e=>{document.readyState==="loading"?(Be.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Be)e()}),Be.push(e)):e()},l=()=>document.documentElement.dir==="rtl",c=e=>{zo(()=>{const t=St();if(t){const n=e.NAME,s=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=s,e.jQueryInterface)}})},o=(e,t=[],n=e)=>typeof e=="function"?e.call(...t):n,Nt=(e,t,n=!0)=>{if(!n){o(e);return}const a=5,r=Do(t)+a;let s=!1;const i=({target:n})=>{if(n!==t)return;s=!0,t.removeEventListener(Ue,i),o(e)};t.addEventListener(Ue,i),setTimeout(()=>{s||_t(t)},r)},be=(e,t,n,s)=>{const i=e.length;let o=e.indexOf(t);return o===-1?!n&&s?e[i-1]:e[0]:(o+=n?1:-1,s&&(o=(o+i)%i),e[Math.max(0,Math.min(o,i-1))])},jo=/[^.]*(?=\..*)\.|.*/,vo=/\..*/,uo=/::\d+$/,Le={},Je=1,Vt={mouseenter:"mouseover",mouseleave:"mouseout"},co=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 ro(e,t){return t&&`${t}::${Je++}`||e.uidEvent||Je++}function to(e){const t=ro(e);return e.uidEvent=t,Le[t]=Le[t]||{},Le[t]}function ec(t,n){return function s(o){return tn(o,{delegateTarget:t}),s.oneOff&&e.off(t,o.type,n),n.apply(t,[o])}}function nc(t,n,s){return function o(i){const a=t.querySelectorAll(n);for(let{target:r}=i;r&&r!==this;r=r.parentNode)for(const c of a){if(c!==r)continue;return tn(i,{delegateTarget:r}),o.oneOff&&e.off(t,i.type,n,s),s.apply(r,[i])}}}function Xs(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function Ys(e,t,n){const o=typeof t=="string",i=o?n:t||n;let s=Rs(e);return co.has(s)||(s=e),[o,i,s]}function qs(e,t,n,s,o){if(typeof t!="string"||!e)return;let[r,i,c]=Ys(t,n,s);if(t in Vt){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};i=e(i)}const d=to(e),u=d[c]||(d[c]={}),l=Xs(u,i,r?n:null);if(l){l.oneOff=l.oneOff&&o;return}const h=ro(i,t.replace(jo,"")),a=r?nc(e,n,i):ec(e,i);a.delegationSelector=r?n:null,a.callable=i,a.oneOff=o,a.uidEvent=h,u[h]=a,e.addEventListener(c,a,r)}function Qt(e,t,n,s,o){const i=Xs(t[n],s,o);if(!i)return;e.removeEventListener(n,i,Boolean(o)),delete t[n][i.uidEvent]}function sc(e,t,n,s){const o=t[n]||{};for(const[a,i]of Object.entries(o))a.includes(s)&&Qt(e,t,n,i.callable,i.delegationSelector)}function Rs(e){return e=e.replace(vo,""),Vt[e]||e}e={on(e,t,n,s){qs(e,t,n,s,!1)},one(e,t,n,s){qs(e,t,n,s,!0)},off(e,t,n,s){if(typeof t!="string"||!e)return;const[c,a,i]=Ys(t,n,s),l=i!==t,o=to(e),r=o[i]||{},d=t.startsWith(".");if(typeof a!="undefined"){if(!Object.keys(r).length)return;Qt(e,o,i,a,c?n:null);return}if(d)for(const n of Object.keys(o))sc(e,o,n,t.slice(1));for(const[s,n]of Object.entries(r)){const a=s.replace(uo,"");(!l||t.includes(a))&&Qt(e,o,i,n.callable,n.delegationSelector)}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const i=St(),l=Rs(t),d=t!==l;let s=null,a=!0,r=!0,c=!1;d&&i&&(s=i.Event(t,n),i(e).trigger(s),a=!s.isPropagationStopped(),r=!s.isImmediatePropagationStopped(),c=s.isDefaultPrevented());const o=tn(new Event(t,{bubbles:a,cancelable:!0}),n);return c&&o.preventDefault(),r&&e.dispatchEvent(o),o.defaultPrevented&&s&&s.preventDefault(),o}};function tn(e,t={}){for(const[n,s]of Object.entries(t))try{e[n]=s}catch{Object.defineProperty(e,n,{configurable:!0,get(){return s}})}return e}function Ls(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function sn(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}g={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${sn(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${sn(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(const o of n){let s=o.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1),t[s]=Ls(e.dataset[o])}return t},getDataAttribute(e,t){return Ls(e.getAttribute(`data-bs-${sn(t)}`))}},X=class{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(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=f(t)?g.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...f(t)?g.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[n,s]of Object.entries(t)){const o=e[n],i=f(o)?"element":Ro(o);if(!new RegExp(s).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${i}" but expected type "${s}".`)}}},Ns="5.3.7",h=class extends X{constructor(e,t){if(super(),e=b(e),!e)return;this._element=e,this._config=this._getConfig(t),qe.set(this._element,this.constructor.DATA_KEY,this)}dispose(){qe.remove(this._element,this.constructor.DATA_KEY),e.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){Nt(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return qe.get(b(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return Ns}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}},Se=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t?t.split(",").map(e=>vt(e)).join(","):null},t={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(e=>e.matches(t))},parents(e,t){const s=[];let n=e.parentNode.closest(t);for(;n;)s.push(n),n=n.parentNode.closest(t);return s},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(e=>!j(e)&&I(e))},getSelectorFromElement(e){const n=Se(e);return n?t.findOne(n)?n:null:null},getElementFromSelector(e){const n=Se(e);return n?t.findOne(n):null},getMultipleElementsFromSelector(e){const n=Se(e);return n?t.find(n):[]}},ue=(n,s="hide")=>{const i=`click.dismiss${n.EVENT_KEY}`,o=n.NAME;e.on(document,i,`[data-bs-dismiss="${o}"]`,function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),j(this))return;const i=t.getElementFromSelector(this)||this.closest(`.${o}`),a=n.getOrCreateInstance(i);a[s]()})},Ms="alert",As="bs.alert",fn=`.${As}`,Cs=`close${fn}`,gs=`closed${fn}`,ps="fade",ls="show",jn=class _Alert extends h{static get NAME(){return Ms}close(){const t=e.trigger(this._element,Cs);if(t.defaultPrevented)return;this._element.classList.remove(ls);const n=this._element.classList.contains(ps);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),e.trigger(this._element,gs),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=_Alert.getOrCreateInstance(this);if(typeof e!="string")return;if(t[e]===0[0]||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)})}},ue(jn,"close"),c(jn),cs="button",es="bs.button",Zn=`.${es}`,Qn=".data-api",Xn="active",Cn='[data-bs-toggle="button"]',Gn=`click${Zn}${Qn}`,kn=class _Button extends h{static get NAME(){return cs}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Xn))}static jQueryInterface(e){return this.each(function(){const t=_Button.getOrCreateInstance(this);e==="toggle"&&t[e]()})}},e.on(document,Gn,Cn,e=>{e.preventDefault();const t=e.target.closest(Cn),n=kn.getOrCreateInstance(t);n.toggle()}),c(kn),Un="swipe",T=".bs.swipe",Wn=`touchstart${T}`,Bn=`touchmove${T}`,Ra=`touchend${T}`,zn=`pointerdown${T}`,Dn=`pointerup${T}`,Nn="touch",Ln="pen",Rn="pointer-event",Pn=40,Hn={endCallback:null,leftCallback:null,rightCallback:null},In={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},Lt=class _Swipe extends X{constructor(e,t){if(super(),this._element=e,!e||!_Swipe.isSupported())return;this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents()}static get Default(){return Hn}static get DefaultType(){return In}static get NAME(){return Un}dispose(){e.off(this._element,T)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),o(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=Pn)return;const t=e/this._deltaX;if(this._deltaX=0,!t)return;o(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(e.on(this._element,zn,e=>this._start(e)),e.on(this._element,Dn,e=>this._end(e)),this._element.classList.add(Rn)):(e.on(this._element,Wn,e=>this._start(e)),e.on(this._element,Bn,e=>this._move(e)),e.on(this._element,Ra,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===Ln||e.pointerType===Nn)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}},Vn="carousel",$n="bs.carousel",w=`.${$n}`,An=".data-api",Kn="ArrowLeft",qn="ArrowRight",Yn=500,Z="next",$="prev",W="left",pe="right",Jn=`slide${w}`,xe=`slid${w}`,ts=`keydown${w}`,ns=`mouseenter${w}`,ss=`mouseleave${w}`,os=`dragstart${w}`,is=`load${w}${An}`,rs=`click${w}${An}`,yn="carousel",ge="active",ds="slide",us="carousel-item-end",hs="carousel-item-start",ms="carousel-item-next",fs="carousel-item-prev",vn=".active",gn=".carousel-item",vs=vn+gn,bs=".carousel-item img",js=".carousel-indicators",ys="[data-bs-slide], [data-bs-slide-to]",_s='[data-bs-ride="carousel"]',ws={[Kn]:pe,[qn]:W},Os={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},xs={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},ke=class _Carousel extends h{constructor(e,n){super(e,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=t.findOne(js,this._element),this._addEventListeners(),this._config.ride===yn&&this.cycle()}static get Default(){return Os}static get DefaultType(){return xs}static get NAME(){return Vn}next(){this._slide(Z)}nextWhenVisible(){!document.hidden&&I(this._element)&&this.next()}prev(){this._slide($)}pause(){this._isSliding&&_t(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(!this._config.ride)return;if(this._isSliding){e.one(this._element,xe,()=>this.cycle());return}this.cycle()}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){e.one(this._element,xe,()=>this.to(t));return}const s=this._getItemIndex(this._getActive());if(s===t)return;const o=t>s?Z:$;this._slide(o,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&e.on(this._element,ts,e=>this._keydown(e)),this._config.pause==="hover"&&(e.on(this._element,ns,()=>this.pause()),e.on(this._element,ss,()=>this._maybeEnableCycle())),this._config.touch&&Lt.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of t.find(bs,this._element))e.on(n,os,e=>e.preventDefault());const n=()=>{if(this._config.pause!=="hover")return;this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Yn+this._config.interval)},s={leftCallback:()=>this._slide(this._directionToOrder(W)),rightCallback:()=>this._slide(this._directionToOrder(pe)),endCallback:n};this._swipeHelper=new Lt(this._element,s)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=ws[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const s=t.findOne(vn,this._indicatorsElement);s.classList.remove(ge),s.removeAttribute("aria-current");const n=t.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(ge),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const o=this._getActive(),a=t===Z,s=n||be(this._getItems(),o,a,this._config.wrap);if(s===o)return;const c=this._getItemIndex(s),l=n=>e.trigger(this._element,n,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(o),to:c}),d=l(Jn);if(d.defaultPrevented)return;if(!o||!s)return;const u=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(c),this._activeElement=s;const i=a?hs:us,r=a?ms:fs;s.classList.add(r),Y(s),o.classList.add(i),s.classList.add(i);const h=()=>{s.classList.remove(i,r),s.classList.add(ge),o.classList.remove(ge,r,i),this._isSliding=!1,l(xe)};this._queueCallback(h,o,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(ds)}_getActive(){return t.findOne(vs,this._element)}_getItems(){return t.find(gn,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return l()?e===W?$:Z:e===W?Z:$}_orderToDirection(e){return l()?e===$?W:pe:e===$?pe:W}static jQueryInterface(e){return this.each(function(){const t=_Carousel.getOrCreateInstance(this,e);if(typeof e=="number"){t.to(e);return}if(typeof e=="string"){if(t[e]===0[0]||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}},e.on(document,rs,ys,function(e){const s=t.getElementFromSelector(this);if(!s||!s.classList.contains(yn))return;e.preventDefault();const n=ke.getOrCreateInstance(s),o=this.getAttribute("data-bs-slide-to");if(o){n.to(o),n._maybeEnableCycle();return}if(g.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()}),e.on(window,is,()=>{const e=t.find(_s);for(const t of e)ke.getOrCreateInstance(t)}),c(ke),Es="collapse",ks="bs.collapse",Q=`.${ks}`,Ss=".data-api",Fn=`show${Q}`,Fs=`shown${Q}`,Ts=`hide${Q}`,zs=`hidden${Q}`,Ds=`click${Q}${Ss}`,Me="show",B="collapse",he="collapsing",Ps="collapsed",Hs=`:scope .${B} .${B}`,Is="collapse-horizontal",Bs="width",Vs="height",$s=".collapse.show, .collapse.collapsing",De='[data-bs-toggle="collapse"]',Us={parent:null,toggle:!0},Ks={parent:"(null|element)",toggle:"boolean"},Xt=class _Collapse extends h{constructor(e,n){super(e,n),this._isTransitioning=!1,this._triggerArray=[];const s=t.find(De);for(const e of s){const n=t.getSelectorFromElement(e),o=t.find(n).filter(e=>e===this._element);n!==null&&o.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Us}static get DefaultType(){return Ks}static get NAME(){return Es}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let n=[];if(this._config.parent&&(n=this._getFirstLevelChildren($s).filter(e=>e!==this._element).map(e=>_Collapse.getOrCreateInstance(e,{toggle:!1}))),n.length&&n[0]._isTransitioning)return;const s=e.trigger(this._element,Fn);if(s.defaultPrevented)return;for(const e of n)e.hide();const t=this._getDimension();this._element.classList.remove(B),this._element.classList.add(he),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(he),this._element.classList.add(B,Me),this._element.style[t]="",e.trigger(this._element,Fs)},i=t[0].toUpperCase()+t.slice(1),a=`scroll${i}`;this._queueCallback(o,this._element,!0),this._element.style[t]=`${this._element[a]}px`}hide(){if(this._isTransitioning||!this._isShown())return;const s=e.trigger(this._element,Ts);if(s.defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,Y(this._element),this._element.classList.add(he),this._element.classList.remove(B,Me);for(const e of this._triggerArray){const n=t.getElementFromSelector(e);n&&!this._isShown(n)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(he),this._element.classList.add(B),e.trigger(this._element,zs)};this._element.style[n]="",this._queueCallback(o,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Me)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=b(e.parent),e}_getDimension(){return this._element.classList.contains(Is)?Bs:Vs}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(De);for(const n of e){const s=t.getElementFromSelector(n);s&&this._addAriaAndCollapsedClass([n],this._isShown(s))}}_getFirstLevelChildren(e){const n=t.find(Hs,this._config.parent);return t.find(e,this._config.parent).filter(e=>!n.includes(e))}_addAriaAndCollapsedClass(e,t){if(!e.length)return;for(const n of e)n.classList.toggle(Ps,!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const n=_Collapse.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof n[e]=="undefined")throw new TypeError(`No method named "${e}"`);n[e]()}})}},e.on(document,Ds,De,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const e of t.getMultipleElementsFromSelector(this))Xt.getOrCreateInstance(e,{toggle:!1}).toggle()}),c(Xt),Gt="dropdown",Gs="bs.dropdown",M=`.${Gs}`,Ne=".data-api",Zs="Escape",Kt="Tab",eo="ArrowUp",Ut="ArrowDown",no=2,so=`hide${M}`,oo=`hidden${M}`,io=`show${M}`,ao=`shown${M}`,Wt=`click${M}${Ne}`,$t=`keydown${M}${Ne}`,lo=`keyup${M}${Ne}`,z="show",ho="dropup",mo="dropend",fo="dropstart",po="dropup-center",go="dropdown-center",x='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',bo=`${x}.${z}`,re=".dropdown-menu",yo=".navbar",_o=".navbar-nav",wo=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Oo=l()?"top-end":"top-start",xo=l()?"top-start":"top-end",Co=l()?"bottom-end":"bottom-start",Eo=l()?"bottom-start":"bottom-end",ko=l()?"left-start":"right-start",Ao=l()?"right-start":"left-start",So="top",Mo="bottom",Fo={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},To={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},H=class _Dropdown extends h{constructor(e,n){super(e,n),this._popper=null,this._parent=this._element.parentNode,this._menu=t.next(this._element,re)[0]||t.prev(this._element,re)[0]||t.findOne(re,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Fo}static get DefaultType(){return To}static get NAME(){return Gt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(j(this._element)||this._isShown())return;const t={relatedTarget:this._element},n=e.trigger(this._element,io,t);if(n.defaultPrevented)return;if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(_o))for(const t of[].concat(...document.body.children))e.on(t,"mouseover",oe);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(z),this._element.classList.add(z),e.trigger(this._element,ao,t)}hide(){if(j(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){const n=e.trigger(this._element,so,t);if(n.defaultPrevented)return;if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))e.off(t,"mouseover",oe);this._popper&&this._popper.destroy(),this._menu.classList.remove(z),this._element.classList.remove(z),this._element.setAttribute("aria-expanded","false"),g.removeDataAttribute(this._menu,"popper"),e.trigger(this._element,oo,t),this._element.focus()}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!f(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Gt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof Mn=="undefined")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let e=this._element;this._config.reference==="parent"?e=this._parent:f(this._config.reference)?e=b(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=Ge(e,this._menu,t)}_isShown(){return this._menu.classList.contains(z)}_getPlacement(){const e=this._parent;if(e.classList.contains(mo))return ko;if(e.classList.contains(fo))return Ao;if(e.classList.contains(po))return So;if(e.classList.contains(go))return Mo;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(ho)?t?xo:Oo:t?Eo:Co}_detectNavbar(){return this._element.closest(yo)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(e=>Number.parseInt(e,10)):typeof e=="function"?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(g.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...o(this._config.popperConfig,[0[0],e])}}_selectMenuItem({key:e,target:n}){const s=t.find(wo,this._menu).filter(e=>I(e));if(!s.length)return;be(s,n,e===Ut,!s.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const t=_Dropdown.getOrCreateInstance(this,e);if(typeof e!="string")return;if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e]()})}static clearMenus(e){if(e.button===no||e.type==="keyup"&&e.key!==Kt)return;const n=t.find(bo);for(const a of n){const t=_Dropdown.getInstance(a);if(!t||t._config.autoClose===!1)continue;const s=e.composedPath(),o=s.includes(t._menu);if(s.includes(t._element)||t._config.autoClose==="inside"&&!o||t._config.autoClose==="outside"&&o)continue;if(t._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Kt||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const i={relatedTarget:t._element};e.type==="click"&&(i.clickEvent=e),t._completeHide(i)}}static dataApiKeydownHandler(e){const a=/input|textarea/i.test(e.target.tagName),s=e.key===Zs,o=[eo,Ut].includes(e.key);if(!o&&!s)return;if(a&&!s)return;e.preventDefault();const i=this.matches(x)?this:t.prev(this,x)[0]||t.next(this,x)[0]||t.findOne(x,e.delegateTarget.parentNode),n=_Dropdown.getOrCreateInstance(i);if(o){e.stopPropagation(),n.show(),n._selectMenuItem(e);return}n._isShown()&&(e.stopPropagation(),n.hide(),i.focus())}},e.on(document,$t,x,H.dataApiKeydownHandler),e.on(document,$t,re,H.dataApiKeydownHandler),e.on(document,Wt,H.clearMenus),e.on(document,lo,H.clearMenus),e.on(document,Wt,x,function(e){e.preventDefault(),H.getOrCreateInstance(this).toggle()}),c(H),yt="backdrop",No="fade",jt="show",bt=`mousedown.bs.${yt}`,Po={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Ho={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},pt=class extends X{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Po}static get DefaultType(){return Ho}static get NAME(){return yt}show(e){if(!this._config.isVisible){o(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Y(t),t.classList.add(jt),this._emulateAnimation(()=>{o(e)})}hide(e){if(!this._config.isVisible){o(e);return}this._getElement().classList.remove(jt),this._emulateAnimation(()=>{this.dispose(),o(e)})}dispose(){if(!this._isAppended)return;e.off(this._element,bt),this._element.remove(),this._isAppended=!1}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(No),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=b(e.rootElement),e}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),e.on(t,bt,()=>{o(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Nt(e,this._getElement(),this._config.isAnimated)}},Bo="focustrap",Vo="bs.focustrap",se=`.${Vo}`,Wo=`focusin${se}`,Uo=`keydown.tab${se}`,Ko="Tab",qo="forward",dt="backward",Go={autofocus:!0,trapElement:null},Xo={autofocus:"boolean",trapElement:"element"},lt=class extends X{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Go}static get DefaultType(){return Xo}static get NAME(){return Bo}activate(){if(this._isActive)return;this._config.autofocus&&this._config.trapElement.focus(),e.off(document,se),e.on(document,Wo,e=>this._handleFocusin(e)),e.on(document,Uo,e=>this._handleKeydown(e)),this._isActive=!0}deactivate(){if(!this._isActive)return;this._isActive=!1,e.off(document,se)}_handleFocusin(e){const{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;const s=t.focusableChildren(n);s.length===0?n.focus():this._lastTabNavDirection===dt?s[s.length-1].focus():s[0].focus()}_handleKeydown(e){if(e.key!==Ko)return;this._lastTabNavDirection=e.shiftKey?dt:qo}},ct=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",rt=".sticky-top",ie="padding-right",st="margin-right",je=class{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ie,t=>t+e),this._setElementAttributes(ct,ie,t=>t+e),this._setElementAttributes(rt,st,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ie),this._resetElementAttributes(ct,ie),this._resetElementAttributes(rt,st)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const s=this.getWidth(),o=e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+s)return;this._saveInitialAttribute(e,t);const o=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(o))}px`)};this._applyManipulationCallback(e,o)}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&g.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){const n=e=>{const n=g.getDataAttribute(e,t);if(n===null){e.style.removeProperty(t);return}g.removeDataAttribute(e,t),e.style.setProperty(t,n)};this._applyManipulationCallback(e,n)}_applyManipulationCallback(e,n){if(f(e)){n(e);return}for(const s of t.find(e,this._element))n(s)}},si="modal",oi="bs.modal",d=`.${oi}`,ai=".data-api",ri="Escape",ci=`hide${d}`,li=`hidePrevented${d}`,et=`hidden${d}`,Bt=`show${d}`,hi=`shown${d}`,mi=`resize${d}`,fi=`click.dismiss${d}`,pi=`mousedown.dismiss${d}`,gi=`keydown.dismiss${d}`,vi=`click${d}${ai}`,nt="modal-open",ji="fade",at="show",Xe="modal-static",wi=".modal.show",Oi=".modal-dialog",xi=".modal-body",Ci='[data-bs-toggle="modal"]',Ei={backdrop:!0,focus:!0,keyboard:!0},ki={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},ce=class _Modal extends h{constructor(e,n){super(e,n),this._dialog=t.findOne(Oi,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new je,this._addEventListeners()}static get Default(){return Ei}static get DefaultType(){return ki}static get NAME(){return si}toggle(e){return this._isShown?this.hide():this.show(e)}show(t){if(this._isShown||this._isTransitioning)return;const n=e.trigger(this._element,Bt,{relatedTarget:t});if(n.defaultPrevented)return;this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(nt),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t))}hide(){if(!this._isShown||this._isTransitioning)return;const t=e.trigger(this._element,ci);if(t.defaultPrevented)return;this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(at),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())}dispose(){e.off(window,d),e.off(this._dialog,d),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new pt({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new lt({trapElement:this._element})}_showElement(n){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 s=t.findOne(xi,this._dialog);s&&(s.scrollTop=0),Y(this._element),this._element.classList.add(at);const o=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,e.trigger(this._element,hi,{relatedTarget:n})};this._queueCallback(o,this._dialog,this._isAnimated())}_addEventListeners(){e.on(this._element,gi,e=>{if(e.key!==ri)return;if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}),e.on(window,mi,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),e.on(this._element,pi,t=>{e.one(this._element,fi,e=>{if(this._element!==t.target||this._element!==e.target)return;if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()})})}_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(nt),this._resetAdjustments(),this._scrollBar.reset(),e.trigger(this._element,et)})}_isAnimated(){return this._element.classList.contains(ji)}_triggerBackdropTransition(){const n=e.trigger(this._element,li);if(n.defaultPrevented)return;const s=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;if(t==="hidden"||this._element.classList.contains(Xe))return;s||(this._element.style.overflowY="hidden"),this._element.classList.add(Xe),this._queueCallback(()=>{this._element.classList.remove(Xe),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus()}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),n=e>0;if(n&&!t){const t=l()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!n&&t){const t=l()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const n=_Modal.getOrCreateInstance(this,e);if(typeof e!="string")return;if(typeof n[e]=="undefined")throw new TypeError(`No method named "${e}"`);n[e](t)})}},e.on(document,vi,Ci,function(n){const s=t.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),e.one(s,Bt,t=>{if(t.defaultPrevented)return;e.one(s,et,()=>{I(this)&&this.focus()})});const o=t.findOne(wi);o&&ce.getInstance(o).hide();const i=ce.getOrCreateInstance(s);i.toggle(this)}),ue(ce),c(ce),Si="offcanvas",Mi="bs.offcanvas",v=`.${Mi}`,gt=".data-api",zi=`load${v}${gt}`,Di="Escape",Ot="show",kt="showing",Ft="hiding",Pi="offcanvas-backdrop",Tt=".offcanvas.show",Ii=`show${v}`,Bi=`shown${v}`,Vi=`hide${v}`,zt=`hidePrevented${v}`,It=`hidden${v}`,Ui=`resize${v}`,Ki=`click${v}${gt}`,qi=`keydown.dismiss${v}`,Yi='[data-bs-toggle="offcanvas"]',Gi={backdrop:!0,keyboard:!0,scroll:!1},Xi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},D=class _Offcanvas extends h{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Gi}static get DefaultType(){return Xi}static get NAME(){return Si}toggle(e){return this._isShown?this.hide():this.show(e)}show(t){if(this._isShown)return;const n=e.trigger(this._element,Ii,{relatedTarget:t});if(n.defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new je).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(kt);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Ot),this._element.classList.remove(kt),e.trigger(this._element,Bi,{relatedTarget:t})};this._queueCallback(s,this._element,!0)}hide(){if(!this._isShown)return;const t=e.trigger(this._element,Vi);if(t.defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ft),this._backdrop.hide();const n=()=>{this._element.classList.remove(Ot,Ft),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new je).reset(),e.trigger(this._element,It)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const n=()=>{if(this._config.backdrop==="static"){e.trigger(this._element,zt);return}this.hide()},t=Boolean(this._config.backdrop);return new pt({className:Pi,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?n:null})}_initializeFocusTrap(){return new lt({trapElement:this._element})}_addEventListeners(){e.on(this._element,qi,t=>{if(t.key!==Di)return;if(this._config.keyboard){this.hide();return}e.trigger(this._element,zt)})}static jQueryInterface(e){return this.each(function(){const t=_Offcanvas.getOrCreateInstance(this,e);if(typeof e!="string")return;if(t[e]===0[0]||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)})}},e.on(document,Ki,Yi,function(n){const s=t.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),j(this))return;e.one(s,It,()=>{I(this)&&this.focus()});const o=t.findOne(Tt);o&&o!==s&&D.getInstance(o).hide();const i=D.getOrCreateInstance(s);i.toggle(this)}),e.on(window,zi,()=>{for(const e of t.find(Tt))D.getOrCreateInstance(e).show()}),e.on(window,Ui,()=>{for(const e of t.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&D.getOrCreateInstance(e).hide()}),ue(D),c(D),Zi=/^aria-[\w-]*$/i,Zt={"*":["class","dir","id","lang","role",Zi],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:[]},ea=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),ta=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,na=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!ea.has(n)||Boolean(ta.test(e.nodeValue)):t.filter(e=>e instanceof RegExp).some(e=>e.test(n))};function Tr(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const o=new window.DOMParser,s=o.parseFromString(e,"text/html"),i=[].concat(...s.body.querySelectorAll("*"));for(const e of i){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const s=[].concat(...e.attributes),o=[].concat(t["*"]||[],t[n]||[]);for(const t of s)na(t,o)||e.removeAttribute(t.nodeName)}return s.body.innerHTML}oa="TemplateFactory",ia={allowList:Zt,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},aa={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},ra={entry:"(string|element|function|null)",selector:"(string|element)"},ca=class extends X{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return ia}static get DefaultType(){return aa}static get NAME(){return oa}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},ra)}_setContent(e,n,s){const o=t.findOne(s,e);if(!o)return;if(n=this._resolvePossibleFunction(n),!n){o.remove();return}if(f(n)){this._putElementInTemplate(b(n),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(n);return}o.textContent=n}_maybeSanitize(e){return this._config.sanitize?Tr(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return o(e,[0[0],this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}},la="tooltip",da=new Set(["sanitize","allowList","sanitizeFn"]),Te="fade",ha="modal",fe="show",fa=".tooltip-inner",rn=`.${ha}`,ln="hide.bs.modal",U="hover",Ce="focus",Oe="click",ya="manual",_a="hide",wa="hidden",Oa="show",xa="shown",Ca="inserted",Ea="click",ka="focusin",Aa="focusout",Sa="mouseenter",Ma="mouseleave",Fa={AUTO:"auto",TOP:"top",RIGHT:l()?"left":"right",BOTTOM:"bottom",LEFT:l()?"right":"left"},Ta={allowList:Zt,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:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},za={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"},ee=class _Tooltip extends h{constructor(e,t){if(typeof Mn=="undefined")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(e,t),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 Ta}static get DefaultType(){return za}static get NAME(){return la}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(!this._isEnabled)return;if(this._isShown()){this._leave();return}this._enter()}dispose(){clearTimeout(this._timeout),e.off(this._element.closest(rn),ln,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 n=e.trigger(this._element,this.constructor.eventName(Oa)),s=Et(this._element),o=(s||this._element.ownerDocument.documentElement).contains(this._element);if(n.defaultPrevented||!o)return;this._disposePopper();const t=this._getTipElement();this._element.setAttribute("aria-describedby",t.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(t),e.trigger(this._element,this.constructor.eventName(Ca))),this._popper=this._createPopper(t),t.classList.add(fe),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))e.on(t,"mouseover",oe);const a=()=>{e.trigger(this._element,this.constructor.eventName(xa)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(a,this.tip,this._isAnimated())}hide(){if(!this._isShown())return;const t=e.trigger(this._element,this.constructor.eventName(_a));if(t.defaultPrevented)return;const n=this._getTipElement();if(n.classList.remove(fe),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))e.off(t,"mouseover",oe);this._activeTrigger[Oe]=!1,this._activeTrigger[Ce]=!1,this._activeTrigger[U]=!1,this._isHovered=null;const s=()=>{if(this._isWithActiveTrigger())return;this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),e.trigger(this._element,this.constructor.eventName(wa))};this._queueCallback(s,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Te,fe),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=Lo(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(Te),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new ca({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[fa]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Te)}_isShown(){return this.tip&&this.tip.classList.contains(fe)}_createPopper(e){const t=o(this._config.placement,[this,e,this._element]),n=Fa[t.toUpperCase()];return Ge(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(e=>Number.parseInt(e,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return o(e,[this._element,this._element])}_getPopperConfig(e){const t={placement:e,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:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...o(this._config.popperConfig,[0[0],t])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")e.on(this._element,this.constructor.eventName(Ea),this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger[Oe]=!t._isShown()||!t._activeTrigger[Oe],t.toggle()});else if(n!==ya){const t=n===U?this.constructor.eventName(Sa):this.constructor.eventName(ka),s=n===U?this.constructor.eventName(Ma):this.constructor.eventName(Aa);e.on(this._element,t,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type==="focusin"?Ce:U]=!0,t._enter()}),e.on(this._element,s,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type==="focusout"?Ce:U]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},e.on(this._element.closest(rn),ln,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");if(!e)return;!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title")}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){if(this._isWithActiveTrigger())return;this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide)}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=g.getDataAttributes(this._element);for(const e of Object.keys(t))da.has(e)&&delete t[e];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:b(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=_Tooltip.getOrCreateInstance(this,e);if(typeof e!="string")return;if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e]()})}},c(ee),Na="popover",La=".popover-header",Tn=".popover-body",Pa={...ee.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Ha={...ee.DefaultType,content:"(null|string|element|function)"},Ia=class _Popover extends ee{static get Default(){return Pa}static get DefaultType(){return Ha}static get NAME(){return Na}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[La]:this._getTitle(),[Tn]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=_Popover.getOrCreateInstance(this,e);if(typeof e!="string")return;if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e]()})}},c(Ia),Ba="scrollspy",Va="bs.scrollspy",We=`.${Va}`,Wa=".data-api",Ua=`activate${We}`,wn=`click${We}`,qa=`load${We}${Wa}`,Ya="dropdown-item",L="active",Xa='[data-bs-spy="scroll"]',Fe="[href]",Za=".nav, .list-group",qt=".nav-link",er=".nav-item",tr=".list-group-item",nr=`${qt}, ${er} > ${qt}, ${tr}`,sr=".dropdown",or=".dropdown-toggle",ir={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},ar={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},mt=class _ScrollSpy extends h{constructor(e,t){super(e,t),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 ir}static get DefaultType(){return ar}static get NAME(){return Ba}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=b(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){if(!this._config.smoothScroll)return;e.off(this._config.target,wn),e.on(this._config.target,wn,Fe,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,s=t.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:s,behavior:"smooth"});return}n.scrollTop=s}})}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){const n=e=>this._targetLinks.get(`#${e.target.id}`),s=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(n(e))},t=(this._rootElement||document.documentElement).scrollTop,o=t>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=t;for(const i of e){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(i));continue}const a=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&a){if(s(i),!t)return;continue}!o&&!a&&s(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=t.find(Fe,this._config.target);for(const n of e){if(!n.hash||j(n))continue;const s=t.findOne(decodeURI(n.hash),this._element);I(s)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,s))}}_process(t){if(this._activeTarget===t)return;this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(L),this._activateParents(t),e.trigger(this._element,Ua,{relatedTarget:t})}_activateParents(e){if(e.classList.contains(Ya)){t.findOne(or,e.closest(sr)).classList.add(L);return}for(const n of t.parents(e,Za))for(const e of t.prev(n,nr))e.classList.add(L)}_clearActiveClass(e){e.classList.remove(L);const n=t.find(`${Fe}.${L}`,e);for(const e of n)e.classList.remove(L)}static jQueryInterface(e){return this.each(function(){const t=_ScrollSpy.getOrCreateInstance(this,e);if(typeof e!="string")return;if(t[e]===0[0]||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()})}},e.on(window,qa,()=>{for(const e of t.find(Xa))mt.getOrCreateInstance(e)}),c(mt),cr="tab",lr="bs.tab",A=`.${lr}`,ur=`hide${A}`,hr=`hidden${A}`,mr=`show${A}`,fr=`shown${A}`,pr=`click${A}`,gr=`keydown${A}`,vr=`load${A}`,br="ArrowLeft",ht="ArrowRight",dr="ArrowUp",it="ArrowDown",Ye="Home",ft="End",C="active",Ze="fade",$e="show",va="dropdown",xt=".dropdown-toggle",pa=".dropdown-menu",Ve=`:not(${xt})`,ma='.list-group, .nav, [role="tablist"]',sa=".nav-item, .list-group-item",Ji=`.nav-link${Ve}, .list-group-item${Ve}, [role="tab"]${Ve}`,At='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',He=`${Ji}, ${At}`,Wi=`.${C}[data-bs-toggle="tab"], .${C}[data-bs-toggle="pill"], .${C}[data-bs-toggle="list"]`,Pe=class _Tab extends h{constructor(t){if(super(t),this._parent=this._element.closest(ma),!this._parent)return;this._setInitialAttributes(this._parent,this._getChildren()),e.on(this._element,gr,e=>this._keydown(e))}static get NAME(){return cr}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),s=n?e.trigger(n,ur,{relatedTarget:t}):null,o=e.trigger(t,mr,{relatedTarget:n});if(o.defaultPrevented||s&&s.defaultPrevented)return;this._deactivate(n,t),this._activate(t,n)}_activate(n,s){if(!n)return;n.classList.add(C),this._activate(t.getElementFromSelector(n));const o=()=>{if(n.getAttribute("role")!=="tab"){n.classList.add($e);return}n.removeAttribute("tabindex"),n.setAttribute("aria-selected",!0),this._toggleDropDown(n,!0),e.trigger(n,fr,{relatedTarget:s})};this._queueCallback(o,n,n.classList.contains(Ze))}_deactivate(n,s){if(!n)return;n.classList.remove(C),n.blur(),this._deactivate(t.getElementFromSelector(n));const o=()=>{if(n.getAttribute("role")!=="tab"){n.classList.remove($e);return}n.setAttribute("aria-selected",!1),n.setAttribute("tabindex","-1"),this._toggleDropDown(n,!1),e.trigger(n,hr,{relatedTarget:s})};this._queueCallback(o,n,n.classList.contains(Ze))}_keydown(e){if(![br,ht,dr,it,Ye,ft].includes(e.key))return;e.stopPropagation(),e.preventDefault();const n=this._getChildren().filter(e=>!j(e));let t;if([Ye,ft].includes(e.key))t=n[e.key===Ye?0:n.length-1];else{const s=[ht,it].includes(e.key);t=be(n,e.target,s,!0)}t&&(t.focus({preventScroll:!0}),_Tab.getOrCreateInstance(t).show())}_getChildren(){return t.find(He,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const n=t.getElementFromSelector(e);if(!n)return;this._setAttributeIfNotExists(n,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${e.id}`)}_toggleDropDown(e,n){const s=this._getOuterElement(e);if(!s.classList.contains(va))return;const o=(e,o)=>{const i=t.findOne(e,s);i&&i.classList.toggle(o,n)};o(xt,C),o(pa,$e),s.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(C)}_getInnerElement(e){return e.matches(He)?e:t.findOne(He,e)}_getOuterElement(e){return e.closest(sa)||e}static jQueryInterface(e){return this.each(function(){const t=_Tab.getOrCreateInstance(this);if(typeof e!="string")return;if(t[e]===0[0]||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()})}},e.on(document,pr,At,function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),j(this))return;Pe.getOrCreateInstance(this).show()}),e.on(window,vr,()=>{for(const e of t.find(Wi))Pe.getOrCreateInstance(e)}),c(Pe),Li="toast",Ni="bs.toast",O=`.${Ni}`,Fi=`mouseover${O}`,Ai=`mouseout${O}`,_i=`focusin${O}`,yi=`focusout${O}`,bi=`hide${O}`,ui=`hidden${O}`,di=`show${O}`,ii=`shown${O}`,ni="fade",Ht="hide",de="show",J="showing",ti={animation:"boolean",autohide:"boolean",delay:"number"},Js={animation:!0,autohide:!0,delay:5e3},Yt=class _Toast extends h{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Js}static get DefaultType(){return ti}static get NAME(){return Li}show(){const t=e.trigger(this._element,di);if(t.defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(ni);const n=()=>{this._element.classList.remove(J),e.trigger(this._element,ii),this._maybeScheduleHide()};this._element.classList.remove(Ht),Y(this._element),this._element.classList.add(de,J),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown())return;const t=e.trigger(this._element,bi);if(t.defaultPrevented)return;const n=()=>{this._element.classList.add(Ht),this._element.classList.remove(J,de),e.trigger(this._element,ui)};this._element.classList.add(J),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(de),super.dispose()}isShown(){return this._element.classList.contains(de)}_maybeScheduleHide(){if(!this._config.autohide)return;if(this._hasMouseInteraction||this._hasKeyboardInteraction)return;this._timeout=setTimeout(()=>{this.hide()},this._config.delay)}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=t;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=t;break}}if(t){this._clearTimeout();return}const n=e.relatedTarget;if(this._element===n||this._element.contains(n))return;this._maybeScheduleHide()}_setListeners(){e.on(this._element,Fi,e=>this._onInteraction(e,!0)),e.on(this._element,Ai,e=>this._onInteraction(e,!1)),e.on(this._element,_i,e=>this._onInteraction(e,!0)),e.on(this._element,yi,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=_Toast.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]=="undefined")throw new TypeError(`No method named "${e}"`);t[e](this)}})}},ue(Yt),c(Yt),Qs=class{constructor(){this.init()}init(){}},Ws=Qs;function oc(){const e=document.getElementById("main-nav");e&&new Ws(e)}oc()})()
|