@mtvh/mtvh-design-system 0.0.29 → 0.0.31

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.
@@ -6,4 +6,4 @@ bootstrap/dist/js/bootstrap.esm.js:
6
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,ae,k,N,V,Sn,ye,R,xn,_e,we,bn,mn,hn,un,dn,cn,an,on,nn,en,Re,S,le,P,_r,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,Ia,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,Ra,Pa,Ha,Tn,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,yr,it,Ye,ft,C,Ze,$e,Da,xt,ja,Ve,va,pa,ma,At,He,Ji,Pe,Wi,Ri,O,Ni,Ti,Fi,Ai,_i,yi,bi,ui,di,Ht,de,J,ii,ni,Yt,ti,Js,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 Li(){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=!Li()&&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 Qi(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 sa(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=sa(e);t&&Nr(t)&&_(t).position==="static";)t=sa(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 Qa(){return{top:0,right:0,bottom:0,left:0}}function Ja(e){return Object.assign({},Qa(),e)}function dr(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}_r=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Ja(typeof t!="number"?t:dr(t,V))};function Br(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=_r(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 Ir(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(!Qi(n.elements.popper,t))return;n.elements.arrow=t}tt={name:"arrow",enabled:!0,phase:"main",fn:Br,effect:Ir,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function q(e){return e.split("-")[1]}jr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xr(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?xr({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 Cr(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:Cr,data:{}},me={passive:!0};function Er(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:Er,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 kr(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=Li(),(s||!s&&t==="fixed")&&(c=n.offsetLeft,l=n.offsetTop)),{width:i,height:a,x:c+On(e),y:l}}function Sr(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 Fr(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(kr(e,n)):F(t)?Fr(t,n):pn(Sr(E(e)))}function Tr(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)&&Qi(e,t)&&p(e)!=="body"}):[]}function zr(e,t,n,s){var a=t==="clippingParents"?Tr(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=Ja(typeof h!="number"?h:dr(h,V)),S=c===R?xn:R,w=e.rects.popper,u=e.elements[M?S:c],r=zr(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 Lr(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 Rr(e){if(m(e)===ae)return[];var t=Ee(e);return[$a(e),t,$a(t)]}function Or(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)]:Rr(d)),p=[d].concat(U).reduce(function(e,n){return e.concat(m(n)===ae?Lr(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:Or,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 Hr(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:Hr};function wr(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 Pr(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]=wr(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:Pr};function Ur(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:Ur,data:{}};function $r(e){return e==="x"?"y":"x"}function Wr(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=$r(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:Qa(),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:Wr,requiresIfExists:["offset"]};function Vr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Kr(e){return e===r(e)||!u(e)?En(e):Vr(e)}function qr(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 Yr(e,t,n){n===0[0]&&(n=!1);var r=u(t),c=u(t)&&qr(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=Kr(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 Gr(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 Jr(e){var t=Gr(e);return en.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}function ec(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=0[0],n(e())})})),t}}function nc(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=Jr(nc([].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:Yr(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:ec(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 sc(t,n){return function s(o){return tn(o,{delegateTarget:t}),s.oneOff&&e.off(t,o.type,n),n.apply(t,[o])}}function oc(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?oc(e,n,i):sc(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 ic(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))ic(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}`,Ia=`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,Ia,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 Dr(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?Dr(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",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"},Ha={...ee.DefaultType,content:"(null|string|element|function)"},Tn=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(),[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(Tn),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",yr="ArrowUp",it="ArrowDown",Ye="Home",ft="End",C="active",Ze="fade",$e="show",Da="dropdown",xt=".dropdown-toggle",ja=".dropdown-menu",Ve=`:not(${xt})`,va='.list-group, .nav, [role="tablist"]',pa=".nav-item, .list-group-item",ma=`.nav-link${Ve}, .list-group-item${Ve}, [role="tab"]${Ve}`,At='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',He=`${ma}, ${At}`,Ji=`.${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(va),!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,yr,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(Da))return;const o=(e,o)=>{const i=t.findOne(e,s);i&&i.classList.toggle(o,n)};o(xt,C),o(ja,$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(pa)||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(Ji))Pe.getOrCreateInstance(e)}),c(Pe),Wi="toast",Ri="bs.toast",O=`.${Ri}`,Ni=`mouseover${O}`,Ti=`mouseout${O}`,Fi=`focusin${O}`,Ai=`focusout${O}`,_i=`hide${O}`,yi=`hidden${O}`,bi=`show${O}`,ui=`shown${O}`,di="fade",Ht="hide",de="show",J="showing",ii={animation:"boolean",autohide:"boolean",delay:"number"},ni={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 ni}static get DefaultType(){return ii}static get NAME(){return Wi}show(){const t=e.trigger(this._element,bi);if(t.defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(di);const n=()=>{this._element.classList.remove(J),e.trigger(this._element,ui),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,_i);if(t.defaultPrevented)return;const n=()=>{this._element.classList.add(Ht),this._element.classList.remove(J,de),e.trigger(this._element,yi)};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,Ni,e=>this._onInteraction(e,!0)),e.on(this._element,Ti,e=>this._onInteraction(e,!1)),e.on(this._element,Fi,e=>this._onInteraction(e,!0)),e.on(this._element,Ai,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),ti=class{constructor(){this.init()}init(){}},Js=ti,Qs=class{constructor(e){this.element=e,this.init()}init(){const e=document.querySelector(".toggle-link");if(!e)return;e.addEventListener("click",function(){const t=this.classList.contains("collapsed");e.getAttribute("data-label-show")&&e.getAttribute("data-label-hide")&&(e.textContent=t?e.getAttribute("data-label-show"):e.getAttribute("data-label-hide"))})}},Ws=Qs;function ac(){const e=document.getElementById("main-nav");e&&new Js(e);const t=new Ws}ac()})()
9
+ */"use strict";(()=>{var n,s,i,a,ae,S,z,V,En,ye,P,On,_e,ke,mn,un,dn,cn,rn,an,on,nn,en,Gt,Pe,x,he,T,Or,nt,_r,ze,me,Se,Qa,Ga,It,Mt,wt,Ke,rt,ot,ei,Jo,Zo,Qo,Ye,O,qe,Yo,$o,Ue,vt,Io,Ro,Lo,_t,e,p,b,R,Et,se,Y,St,Be,Do,o,r,d,j,Nt,be,zo,jo,vo,Re,Je,Vt,uo,v,q,Ls,u,Te,t,re,Ns,As,fn,Cs,gs,ps,ls,jn,cs,es,Zn,Qn,Xn,Cn,Gn,kn,Un,$,Wn,Bn,Wa,zn,Dn,Nn,Ln,Rn,Pn,Hn,In,Lt,Vn,$n,w,An,Kn,qn,Yn,F,W,Q,le,Jn,xe,ts,ns,ss,os,is,rs,yn,de,ds,us,hs,ms,fs,vn,gn,vs,bs,js,ys,_s,ws,Os,xs,Me,Es,ks,X,Ss,Ms,Fs,Fn,zs,Ds,Fe,B,oe,Ps,Hs,Is,Bs,Vs,$s,Ne,Us,Ks,Zt,Xt,Gs,E,Le,Zs,qt,eo,Kt,no,so,oo,io,ao,Ut,Wt,lo,D,ho,mo,fo,po,go,C,bo,ue,yo,_o,wo,Oo,xo,Co,Eo,ko,Ao,So,Mo,Fo,To,I,Ft,No,yt,jt,Po,Ho,bt,Bo,Vo,ne,Wo,Uo,Ko,qo,ft,Go,Xo,dt,lt,ct,ie,it,je,si,oi,c,ai,ri,ci,li,tt,et,hi,mi,fi,pi,gi,vi,Bt,ji,st,Qe,wi,Oi,xi,Ci,Ei,ki,ce,Si,Mi,m,mt,zi,Di,gt,xt,At,Pi,Tt,Ii,Bi,Vi,zt,Ht,Ui,Ki,qi,Yi,Gi,Xi,H,Zi,Jt,ea,ta,na,oa,ia,aa,ra,ca,la,da,De,ha,fe,fa,hn,pn,Z,Ae,Ce,ya,_a,wa,Oa,xa,Ca,Ea,ka,Aa,Sa,Ma,Fa,Ta,za,ve,Na,La,Ra,Pa,Ha,Ia,Ba,Va,we,Tn,Ua,ut,qa,Ya,L,Xa,Ee,Za,ln,er,tr,nr,sr,or,ir,ar,Yt,cr,lr,k,ur,hr,mr,fr,pr,gr,vr,br,Ze,yr,at,Ge,ht,A,pt,We,rr,Ot,$a,$e,Da,ba,ga,kt,Ve,ua,He,sa,Ji,_,Hi,Ri,Li,Ni,Ti,Fi,Ai,_i,yi,Rt,pe,ee,ui,di,Mn,ii,ni,to,Js,qs,Ts,rc=Object.defineProperty,tc=(e,t)=>{for(var n in t)rc(e,n,{get:t[n],enumerable:!0})},Sn={};tc(Sn,{afterMain:()=>an,afterRead:()=>dn,afterWrite:()=>en,applyStyles:()=>Pe,arrow:()=>nt,auto:()=>ae,basePlacements:()=>V,beforeMain:()=>cn,beforeRead:()=>mn,beforeWrite:()=>on,bottom:()=>i,clippingParents:()=>En,computeStyles:()=>ze,createPopper:()=>Ye,createPopperBase:()=>ei,createPopperLite:()=>Zo,detectOverflow:()=>U,end:()=>z,eventListeners:()=>Se,flip:()=>It,hide:()=>Mt,left:()=>s,main:()=>rn,modifierPhases:()=>Gt,offset:()=>wt,placements:()=>ke,popper:()=>P,popperGenerator:()=>Xe,popperOffsets:()=>Ke,preventOverflow:()=>rt,read:()=>un,reference:()=>On,right:()=>a,start:()=>S,top:()=>n,variationPlacements:()=>_e,viewport:()=>ye,write:()=>nn}),n="top",i="bottom",a="right",s="left",ae="auto",V=[n,i,a,s],S="start",z="end",En="clippingParents",ye="viewport",P="popper",On="reference",_e=V.reduce(function(e,t){return e.concat([t+"-"+S,t+"-"+z])},[]),ke=[].concat(V,[ae]).reduce(function(e,t){return e.concat([t,t+"-"+S,t+"-"+z])},[]),mn="beforeRead",un="read",dn="afterRead",cn="beforeMain",rn="main",an="afterMain",on="beforeWrite",nn="write",en="afterWrite",Gt=[mn,un,dn,cn,rn,an,on,nn,en];function g(e){return e?(e.nodeName||"").toLowerCase():null}function l(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function N(e){var t=l(e).Element;return e instanceof t||e instanceof Element}function h(e){var t=l(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function $t(e){if(typeof ShadowRoot=="undefined")return!1;var t=l(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Zr(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(!h(n)||!g(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 Qr(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(!h(s)||!g(s))return;Object.assign(s.style,a),Object.keys(o).forEach(function(e){s.removeAttribute(e)})})}}Pe={name:"applyStyles",enabled:!0,phase:"write",fn:Zr,effect:Qr,requires:["computeStyles"]};function f(e){return e.split("-")[0]}x=Math.max,he=Math.min,T=Math.round;function Pt(){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 bi(){return!/^((?!chrome|android).)*safari/i.test(Pt())}function G(e,t,n){t===0[0]&&(t=!1),n===0[0]&&(n=!1),s=e.getBoundingClientRect(),o=1,i=1,t&&h(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=N(e)?l(e):window,a=f.visualViewport,d=!bi()&&n,r=(s.left+(d&&a?a.offsetLeft:0))/o,c=(s.top+(d&&a?a.offsetTop:0))/i,u=s.width/o,m=s.height/i;return{width:u,height:m,top:c,right:r+u,bottom:c+m,left:r,x:r,y:c}}function Dt(e){var t=G(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 Qi(e,t){var n,s=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(s&&$t(s)){n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function y(e){return l(e).getComputedStyle(e)}function Rr(e){return["table","td","th"].indexOf(g(e))>=0}function M(e){return((N(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ie(e){return g(e)==="html"?e:e.assignedSlot||e.parentNode||($t(e)?e.host:null)||M(e)}function pa(e){return!h(e)||y(e).position==="fixed"?null:e.offsetParent}function Dr(e){var t,n,o,s=/firefox/i.test(Pt()),i=/Trident/i.test(Pt());if(i&&h(e)&&(o=y(e),o.position==="fixed"))return null;for(t=Ie(e),$t(t)&&(t=t.host);h(t)&&["html","body"].indexOf(g(t))<0;){if(n=y(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 te(e){for(var n=l(e),t=pa(e);t&&Rr(t)&&y(t).position==="static";)t=pa(t);return t&&(g(t)==="html"||g(t)==="body"&&y(t).position==="static")?n:t||Dr(e)||n}function Ct(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function J(e,t,n){return x(e,he(t,n))}function Mr(e,t,n){var s=J(e,t,n);return s>n?n:s}function Ja(){return{top:0,right:0,bottom:0,left:0}}function jr(e){return Object.assign({},Ja(),e)}function wr(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}Or=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,jr(typeof t!="number"?t:wr(t,V))};function Ur(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,m=t.modifiersData.popperOffsets,w=f(t.placement),o=Ct(w),k=[s,a].indexOf(w)>=0,l=k?"height":"width";if(!h||!m)return;g=Or(A.padding,t),v=Dt(h),b=o==="y"?n:s,j=o==="y"?i:a,y=t.rects.reference[l]+t.rects.reference[o]-m[o]-t.rects.popper[l],_=m[o]-t.rects.reference[o],c=te(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=J(x,u,C),E=o,t.modifiersData[S]=(r={},r[E]=d,r.centerOffset=d-u,r)}function Wr(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(!Qi(n.elements.popper,t))return;n.elements.arrow=t}nt={name:"arrow",enabled:!0,phase:"main",fn:Ur,effect:Wr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function K(e){return e.split("-")[1]}_r={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Kr(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 dr(e){var r,u,h,g,v,b,w,T,D,m=e.popper,F=e.popperRect,d=e.placement,R=e.variation,f=e.offsets,A=e.position,j=e.gpuAcceleration,E=e.adaptive,p=e.roundOffsets,S=e.isFixed,L=f.x,t=L===0[0]?0:L,C=f.y,o=C===0[0]?0:C,N=typeof p=="function"?p({x:t,y:o}):{x:t,y:o},t=N.x,o=N.y,k=f.hasOwnProperty("x"),x=f.hasOwnProperty("y"),O=s,_=n,c=window;return E&&(r=te(m),g="clientHeight",b="clientWidth",r===l(m)&&(r=M(m),y(r).position!=="static"&&A==="absolute"&&(g="scrollHeight",b="scrollWidth")),r=r,(d===n||(d===s||d===a)&&R===z)&&(_=i,T=S&&r===c&&c.visualViewport?c.visualViewport.height:r[g],o-=T-F.height,o*=j?1:-1),(d===s||(d===n||d===i)&&R===z)&&(O=a,D=S&&r===c&&c.visualViewport?c.visualViewport.width:r[b],t-=D-F.width,t*=j?1:-1)),w=Object.assign({position:A},E&&_r),v=p===!0?Kr({x:t,y:o},l(m)):{x:t,y:o},t=v.x,o=v.y,j?Object.assign({},w,(u={},u[_]=x?"0":"",u[O]=k?"0":"",u.transform=(c.devicePixelRatio||1)<=1?"translate("+t+"px, "+o+"px)":"translate3d("+t+"px, "+o+"px, 0)",u)):Object.assign({},w,(h={},h[_]=x?o+"px":"",h[O]=k?t+"px":"",h.transform="",h))}function kr(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:f(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,dr(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,dr(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:kr,data:{}},me={passive:!0};function Ar(e){var n=e.state,t=e.instance,s=e.options,o=s.scroll,i=o===0[0]||o,a=s.resize,r=a===0[0]||a,c=l(n.elements.popper),d=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&d.forEach(function(e){e.addEventListener("scroll",t.update,me)}),r&&c.addEventListener("resize",t.update,me),function(){i&&d.forEach(function(e){e.removeEventListener("scroll",t.update,me)}),r&&c.removeEventListener("resize",t.update,me)}}Se={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ar,data:{}},Qa={left:"right",right:"left",bottom:"top",top:"bottom"};function Oe(e){return e.replace(/left|right|bottom|top/g,function(e){return Qa[e]})}Ga={start:"end",end:"start"};function Ka(e){return e.replace(/start|end/g,function(e){return Ga[e]})}function xn(e){var t=l(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function wn(e){return G(M(e)).left+xn(e).scrollLeft}function Sr(e,t){var s,d=l(e),o=M(e),n=d.visualViewport,i=o.clientWidth,a=o.clientHeight,r=0,c=0;return n&&(i=n.width,a=n.height,s=bi(),(s||!s&&t==="fixed")&&(r=n.offsetLeft,c=n.offsetTop)),{width:i,height:a,x:r+wn(e),y:c}}function Fr(e){var s,n=M(e),o=xn(e),t=(s=e.ownerDocument)==null?0[0]:s.body,i=x(n.scrollWidth,n.clientWidth,t?t.scrollWidth:0,t?t.clientWidth:0),r=x(n.scrollHeight,n.clientHeight,t?t.scrollHeight:0,t?t.clientHeight:0),a=-o.scrollLeft+wn(e),c=-o.scrollTop;return y(t||n).direction==="rtl"&&(a+=x(n.clientWidth,t?t.clientWidth:0)-i),{width:i,height:r,x:a,y:c}}function _n(e){var t=y(e),n=t.overflow,s=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function ja(e){return["html","body","#document"].indexOf(g(e))>=0?e.ownerDocument.body:h(e)&&_n(e)?e:ja(Ie(e))}function ge(e,t){t===0[0]&&(t=[]);var s,n=ja(e),o=n===((s=e.ownerDocument)==null?0[0]:s.body),i=l(n),a=o?[i].concat(i.visualViewport||[],_n(n)?n:[]):n,r=t.concat(a);return o?r:r.concat(ge(Ie(a)))}function bn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Tr(e,t){var n=G(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 va(e,t,n){return t===ye?bn(Sr(e,n)):N(t)?Tr(t,n):bn(Fr(M(e)))}function zr(e){var n=ge(Ie(e)),s=["absolute","fixed"].indexOf(y(e).position)>=0,t=s&&h(e)?te(e):e;return N(t)?n.filter(function(e){return N(e)&&Qi(e,t)&&g(e)!=="body"}):[]}function Nr(e,t,n,s){var a=t==="clippingParents"?zr(e):[].concat(t),i=[].concat(a,[n]),r=i[0],o=i.reduce(function(t,n){var o=va(e,n,s);return t.top=x(o.top,t.top),t.right=he(o.right,t.right),t.bottom=he(o.bottom,t.bottom),t.left=x(o.left,t.left),t},va(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 ma(e){var o,r,l,t=e.reference,c=e.element,d=e.placement,u=d?f(d):null,p=d?K(d):null,h=t.x+t.width/2-c.width/2,m=t.y+t.height/2-c.height/2;switch(u){case n: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:m};break;case s:o={x:t.x-c.width,y:m};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 S:o[r]=o[r]-(t[l]/2-c[l]/2);break;case z:o[r]=o[r]+(t[l]/2-c[l]/2);break;default:}return o}function U(e,t){t===0[0]&&(t={});var g,s=t,m=s.placement,f=m===0[0]?e.placement:m,x=s.strategy,T=x===0[0]?e.strategy:x,O=s.boundary,C=O===0[0]?En:O,j=s.rootBoundary,F=j===0[0]?ye:j,_=s.elementContext,c=_===0[0]?P:_,p=s.altBoundary,S=p!==0[0]&&p,b=s.padding,h=b===0[0]?0:b,o=jr(typeof h!="number"?h:wr(h,V)),A=c===P?On:P,w=e.rects.popper,u=e.elements[S?A:c],r=Nr(N(u)?u:u.contextElement||M(e.elements.popper),C,F,T),y=G(e.elements.reference),E=ma({reference:y,element:w,strategy:"absolute",placement:f}),k=bn(Object.assign({},w,E)),l=c===P?k: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===P&&v&&(g=v[f],Object.keys(d).forEach(function(e){var t=[a,i].indexOf(e)>=0?1:-1,s=[n,i].indexOf(e)>=0?"y":"x";d[e]+=g[s]*t})),d}function Lr(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,m=i===0[0]?ke:i,a=K(c),r=a?h?_e:_e.filter(function(e){return K(e)===a}):V,o=r.filter(function(e){return m.indexOf(e)>=0});return o.length===0&&(o=r),s=o.reduce(function(t,n){return t[n]=U(e,{placement:n,boundary:l,rootBoundary:d,padding:u})[f(n)],t},{}),Object.keys(s).sort(function(e,t){return s[e]-s[t]})}function Hr(e){if(f(e)===ae)return[];var t=Oe(e);return[Ka(e),t,Ka(t)]}function Ir(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,k,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=f(d),P=W===d,q=L||(P||!j?[Oe(d)]:Hr(d)),p=[d].concat(q).reduce(function(e,n){return e.concat(f(n)===ae?Lr(t,{placement:n,boundary:w,rootBoundary:O,padding:N,flipVariations:j,allowedAutoPlacements:B}):n)},[]),$=t.rects.reference,V=t.rects.popper,A=new Map,M=!0,m=p[0],b=0;b<p.length;b++){if(r=p[b],v=f(r),g=K(r)===S,y=[n,i].indexOf(v)>=0,_=y?"width":"height",h=U(t,{placement:r,boundary:w,rootBoundary:O,altBoundary:I,padding:N}),l=y?g?a:s:g?i:n,$[_]>V[_]&&(l=Oe(l)),z=Oe(l),c=[],H&&c.push(h[v]<=0),R&&c.push(h[l]<=0,h[z]<=0),c.every(function(e){return e})){m=r,M=!1;break}A.set(r,c)}if(M)for(k=j?3:1,E=function(t){var n=p.find(function(e){var n=A.get(e);if(n)return n.slice(0,t).every(function(e){return e})});if(n)return m=n,"break"},u=k;u>0;u--)if(x=E(u),x==="break")break;t.placement!==m&&(t.modifiersData[C]._skip=!0,t.placement=m,t.reset=!0)}It={name:"flip",enabled:!0,phase:"main",fn:Ir,requiresIfExists:["offset"],data:{_skip:!1}};function Wi(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 $i(e){return[n,a,i,s].some(function(t){return e[t]>=0})}function Br(e){var t=e.state,a=e.name,r=t.rects.reference,c=t.rects.popper,l=t.modifiersData.preventOverflow,d=U(t,{elementContext:"reference"}),u=U(t,{altBoundary:!0}),n=Wi(d,r),s=Wi(u,c,l),o=$i(n),i=$i(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:Br};function Vr(e,t,o){var c=f(e),d=[s,n].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[s,a].indexOf(c)>=0?{x:r,y:i}:{x:i,y:r}}function $r(e){var t=e.state,i=e.options,a=e.name,n=i.offset,r=n===0[0]?[0,0]:n,s=ke.reduce(function(e,n){return e[n]=Vr(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:$r};function xr(e){var t=e.state,n=e.name;t.modifiersData[n]=ma({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}Ke={name:"popperOffsets",enabled:!0,phase:"read",fn:xr,data:{}};function Cr(e){return e==="x"?"y":"x"}function Er(e){var fe,r,h,R,P,B,V,$,Y,Q,Z,de,v,k,W,q,ne,se,C,ie,I,re,ce,G,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,le=l.tether,d=le===0[0]||le,ae=l.tetherOffset,M=ae===0[0]?0:ae,O=U(t,{boundary:_e,rootBoundary:ye,padding:je,altBoundary:ve}),ee=f(t.placement),E=K(t.placement),ue=!E,o=Ct(ee),j=Cr(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,m=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"?n:s,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=E===S?u[r]:g[r],Q=E===S?-g[r]:-u[r],Y=t.elements.arrow,de=d&&Y?Dt(Y):{width:0,height:0},k=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ja(),q=k[R],W=k[P],v=J(0,u[r],de[r]),ne=ue?u[r]/2-$-v-q-m.mainAxis:Z-v-q-m.mainAxis,se=ue?-u[r]/2+$+v+W+m.mainAxis:Q+v+W+m.mainAxis,C=t.elements.arrow&&te(t.elements.arrow),ie=C?o==="y"?C.clientTop||0:C.clientLeft||0:0,I=(fe=y?.[o])!=null?fe:0,re=h+ne-I-ie,ce=h+se-I,H=J(d?he(B,re):B,h,d?x(V,ce):V),b[o]=H,N[o]=H-h),we&&(G=o==="x"?n:s,me=o==="x"?i:a,c=b[j],p=j==="y"?"height":"width",L=c+O[G],D=c-O[me],w=[n,s].indexOf(ee)!==-1,z=(X=y?.[j])!=null?X:0,T=w?L:c-u[p]-g[p]-z+m.altAxis,F=w?c+u[p]+g[p]-z-m.altAxis:D,A=d&&w?Mr(T,c,F):J(d?T:L,c,d?F:D),b[j]=A,N[j]=A-c),t.modifiersData[be]=N}rt={name:"preventOverflow",enabled:!0,phase:"main",fn:Er,requiresIfExists:["offset"]};function qr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Yr(e){return e===l(e)||!h(e)?xn(e):qr(e)}function Gr(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 Xr(e,t,n){n===0[0]&&(n=!1);var r=h(t),c=h(t)&&Gr(t),i=M(t),o=G(e,c,n),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&((g(t)!=="body"||_n(i))&&(a=Yr(t)),h(t)?(s=G(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 Jr(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 ec(e){var t=Jr(e);return Gt.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}function nc(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=0[0],n(e())})})),t}}function sc(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 ti(){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===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:N(n)?ge(n):n.contextElement?ge(n.contextElement):[],popper:ge(s)},c=ec(sc([].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(!ti(i,n))return;a.rects={reference:Xr(i,te(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:nc(function(){return new Promise(function(e){r.forceUpdate(),e(a)})}),destroy:function(){d(),l=!0}};if(!ti(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}}ei=Xe(),Jo=[Se,Ke,ze,Pe],Zo=Xe({defaultModifiers:Jo}),Qo=[Se,Ke,ze,Pe,wt,It,rt,nt,Mt],Ye=Xe({defaultModifiers:Qo}),O=new Map,qe={set(e,t,n){O.has(e)||O.set(e,new Map);const s=O.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 O.has(e)?O.get(e).get(t)||null:null},remove(e,t){if(!O.has(e))return;const n=O.get(e);n.delete(t),n.size===0&&O.delete(e)}},Yo=1e6,$o=1e3,Ue="transitionend",vt=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),Io=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Ro=e=>{do e+=Math.floor(Math.random()*Yo);while(document.getElementById(e))return e},Lo=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))*$o)},_t=e=>{e.dispatchEvent(new Event(Ue))},p=e=>!!e&&typeof e=="object"&&(typeof e.jquery!="undefined"&&(e=e[0]),typeof e.nodeType!="undefined"),j=e=>p(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(vt(e)):null,R=e=>{if(!p(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},b=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=()=>{},Y=e=>{e.offsetHeight},St=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Be=[],Do=e=>{document.readyState==="loading"?(Be.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Be)e()}),Be.push(e)):e()},r=()=>document.documentElement.dir==="rtl",d=e=>{Do(()=>{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=Lo(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))])},zo=/[^.]*(?=\..*)\.|.*/,jo=/\..*/,vo=/::\d+$/,Re={},Je=1,Vt={mouseenter:"mouseover",mouseleave:"mouseout"},uo=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 co(e,t){return t&&`${t}::${Je++}`||e.uidEvent||Je++}function ro(e){const t=co(e);return e.uidEvent=t,Re[t]=Re[t]||{},Re[t]}function oc(t,n){return function s(o){return tn(o,{delegateTarget:t}),s.oneOff&&e.off(t,o.type,n),n.apply(t,[o])}}function ic(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 Qs(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function Xs(e,t,n){const o=typeof t=="string",i=o?n:t||n;let s=Ws(e);return uo.has(s)||(s=e),[o,i,s]}function Ys(e,t,n,s,o){if(typeof t!="string"||!e)return;let[r,i,c]=Xs(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=ro(e),u=d[c]||(d[c]={}),l=Qs(u,i,r?n:null);if(l){l.oneOff=l.oneOff&&o;return}const h=co(i,t.replace(zo,"")),a=r?ic(e,n,i):oc(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=Qs(t[n],s,o);if(!i)return;e.removeEventListener(n,i,Boolean(o)),delete t[n][i.uidEvent]}function ac(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 Ws(e){return e=e.replace(jo,""),Vt[e]||e}e={on(e,t,n,s){Ys(e,t,n,s,!1)},one(e,t,n,s){Ys(e,t,n,s,!0)},off(e,t,n,s){if(typeof t!="string"||!e)return;const[c,a,i]=Xs(t,n,s),l=i!==t,o=ro(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))ac(e,o,n,t.slice(1));for(const[s,n]of Object.entries(r)){const a=s.replace(vo,"");(!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=Ws(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 Rs(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()}`)}v={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]=Rs(e.dataset[o])}return t},getDataAttribute(e,t){return Rs(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=p(t)?v.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...p(t)?v.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=p(o)?"element":Io(o);if(!new RegExp(s).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${i}" but expected type "${s}".`)}}},Ls="5.3.7",u=class extends q{constructor(e,t){if(super(),e=j(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(j(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return Ls}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}},Te=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=>!b(e)&&R(e))},getSelectorFromElement(e){const n=Te(e);return n?t.findOne(n)?n:null:null},getElementFromSelector(e){const n=Te(e);return n?t.findOne(n):null},getMultipleElementsFromSelector(e){const n=Te(e);return n?t.find(n):[]}},re=(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(),b(this))return;const i=t.getElementFromSelector(this)||this.closest(`.${o}`),a=n.getOrCreateInstance(i);a[s]()})},Ns="alert",As="bs.alert",fn=`.${As}`,Cs=`close${fn}`,gs=`closed${fn}`,ps="fade",ls="show",jn=class _Alert extends u{static get NAME(){return Ns}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)})}},re(jn,"close"),d(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 u{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()}),d(kn),Un="swipe",$=".bs.swipe",Wn=`touchstart${$}`,Bn=`touchmove${$}`,Wa=`touchend${$}`,zn=`pointerdown${$}`,Dn=`pointerup${$}`,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 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 Un}dispose(){e.off(this._element,$)}_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,Wa,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,Q="next",F="prev",W="left",le="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",de="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]:le,[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"},Me=class _Carousel extends u{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(Q)}nextWhenVisible(){!document.hidden&&R(this._element)&&this.next()}prev(){this._slide(F)}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?Q:F;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(le)),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(de),s.removeAttribute("aria-current");const n=t.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(de),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===Q,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(de),o.classList.remove(de,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 r()?e===W?F:Q:e===W?Q:F}_orderToDirection(e){return r()?e===F?W:le:e===F?le: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=Me.getOrCreateInstance(s),o=this.getAttribute("data-bs-slide-to");if(o){n.to(o),n._maybeEnableCycle();return}if(v.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)Me.getOrCreateInstance(t)}),d(Me),Es="collapse",ks="bs.collapse",X=`.${ks}`,Ss=".data-api",Ms=`show${X}`,Fs=`shown${X}`,Fn=`hide${X}`,zs=`hidden${X}`,Ds=`click${X}${Ss}`,Fe="show",B="collapse",oe="collapsing",Ps="collapsed",Hs=`:scope .${B} .${B}`,Is="collapse-horizontal",Bs="width",Vs="height",$s=".collapse.show, .collapse.collapsing",Ne='[data-bs-toggle="collapse"]',Us={parent:null,toggle:!0},Ks={parent:"(null|element)",toggle:"boolean"},Zt=class _Collapse extends u{constructor(e,n){super(e,n),this._isTransitioning=!1,this._triggerArray=[];const s=t.find(Ne);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,Ms);if(s.defaultPrevented)return;for(const e of n)e.hide();const t=this._getDimension();this._element.classList.remove(B),this._element.classList.add(oe),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(oe),this._element.classList.add(B,Fe),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,Fn);if(s.defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,Y(this._element),this._element.classList.add(oe),this._element.classList.remove(B,Fe);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(oe),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(Fe)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=j(e.parent),e}_getDimension(){return this._element.classList.contains(Is)?Bs:Vs}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Ne);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,Ne,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const e of t.getMultipleElementsFromSelector(this))Zt.getOrCreateInstance(e,{toggle:!1}).toggle()}),d(Zt),Xt="dropdown",Gs="bs.dropdown",E=`.${Gs}`,Le=".data-api",Zs="Escape",qt="Tab",eo="ArrowUp",Kt="ArrowDown",no=2,so=`hide${E}`,oo=`hidden${E}`,io=`show${E}`,ao=`shown${E}`,Ut=`click${E}${Le}`,Wt=`keydown${E}${Le}`,lo=`keyup${E}${Le}`,D="show",ho="dropup",mo="dropend",fo="dropstart",po="dropup-center",go="dropdown-center",C='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',bo=`${C}.${D}`,ue=".dropdown-menu",yo=".navbar",_o=".navbar-nav",wo=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Oo=r()?"top-end":"top-start",xo=r()?"top-start":"top-end",Co=r()?"bottom-end":"bottom-start",Eo=r()?"bottom-start":"bottom-end",ko=r()?"left-start":"right-start",Ao=r()?"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)"},I=class _Dropdown extends u{constructor(e,n){super(e,n),this._popper=null,this._parent=this._element.parentNode,this._menu=t.next(this._element,ue)[0]||t.prev(this._element,ue)[0]||t.findOne(ue,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Fo}static get DefaultType(){return To}static get NAME(){return Xt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(b(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(D),this._element.classList.add(D),e.trigger(this._element,ao,t)}hide(){if(b(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(D),this._element.classList.remove(D),this._element.setAttribute("aria-expanded","false"),v.removeDataAttribute(this._menu,"popper"),e.trigger(this._element,oo,t),this._element.focus()}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!p(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Xt.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/docs/v2/)");let e=this._element;this._config.reference==="parent"?e=this._parent:p(this._config.reference)?e=j(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=Ye(e,this._menu,t)}_isShown(){return this._menu.classList.contains(D)}_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")&&(v.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=>R(e));if(!s.length)return;be(s,n,e===Kt,!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!==qt)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===qt||/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,Kt].includes(e.key);if(!o&&!s)return;if(a&&!s)return;e.preventDefault();const i=this.matches(C)?this:t.prev(this,C)[0]||t.next(this,C)[0]||t.findOne(C,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,Wt,C,I.dataApiKeydownHandler),e.on(document,Wt,ue,I.dataApiKeydownHandler),e.on(document,Ut,I.clearMenus),e.on(document,lo,I.clearMenus),e.on(document,Ut,C,function(e){e.preventDefault(),I.getOrCreateInstance(this).toggle()}),d(I),Ft="backdrop",No="fade",yt="show",jt=`mousedown.bs.${Ft}`,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)"},bt=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 Ft}show(e){if(!this._config.isVisible){o(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Y(t),t.classList.add(yt),this._emulateAnimation(()=>{o(e)})}hide(e){if(!this._config.isVisible){o(e);return}this._getElement().classList.remove(yt),this._emulateAnimation(()=>{this.dispose(),o(e)})}dispose(){if(!this._isAppended)return;e.off(this._element,jt),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=j(e.rootElement),e}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),e.on(t,jt,()=>{o(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Nt(e,this._getElement(),this._config.isAnimated)}},Bo="focustrap",Vo="bs.focustrap",ne=`.${Vo}`,Wo=`focusin${ne}`,Uo=`keydown.tab${ne}`,Ko="Tab",qo="forward",ft="backward",Go={autofocus:!0,trapElement:null},Xo={autofocus:"boolean",trapElement:"element"},dt=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,ne),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,ne)}_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===ft?s[s.length-1].focus():s[0].focus()}_handleKeydown(e){if(e.key!==Ko)return;this._lastTabNavDirection=e.shiftKey?ft:qo}},lt=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ct=".sticky-top",ie="padding-right",it="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(lt,ie,t=>t+e),this._setElementAttributes(ct,it,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ie),this._resetElementAttributes(lt,ie),this._resetElementAttributes(ct,it)}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&&v.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){const n=e=>{const n=v.getDataAttribute(e,t);if(n===null){e.style.removeProperty(t);return}v.removeDataAttribute(e,t),e.style.setProperty(t,n)};this._applyManipulationCallback(e,n)}_applyManipulationCallback(e,n){if(p(e)){n(e);return}for(const s of t.find(e,this._element))n(s)}},si="modal",oi="bs.modal",c=`.${oi}`,ai=".data-api",ri="Escape",ci=`hide${c}`,li=`hidePrevented${c}`,tt=`hidden${c}`,et=`show${c}`,hi=`shown${c}`,mi=`resize${c}`,fi=`click.dismiss${c}`,pi=`mousedown.dismiss${c}`,gi=`keydown.dismiss${c}`,vi=`click${c}${ai}`,Bt="modal-open",ji="fade",st="show",Qe="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 u{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,et,{relatedTarget:t});if(n.defaultPrevented)return;this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Bt),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(st),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())}dispose(){e.off(window,c),e.off(this._dialog,c),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new bt({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new dt({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(st);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(Bt),this._resetAdjustments(),this._scrollBar.reset(),e.trigger(this._element,tt)})}_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(Qe))return;s||(this._element.style.overflowY="hidden"),this._element.classList.add(Qe),this._queueCallback(()=>{this._element.classList.remove(Qe),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=r()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!n&&t){const t=r()?"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,et,t=>{if(t.defaultPrevented)return;e.one(s,tt,()=>{R(this)&&this.focus()})});const o=t.findOne(wi);o&&ce.getInstance(o).hide();const i=ce.getOrCreateInstance(s);i.toggle(this)}),re(ce),d(ce),Si="offcanvas",Mi="bs.offcanvas",m=`.${Mi}`,mt=".data-api",zi=`load${m}${mt}`,Di="Escape",gt="show",xt="showing",At="hiding",Pi="offcanvas-backdrop",Tt=".offcanvas.show",Ii=`show${m}`,Bi=`shown${m}`,Vi=`hide${m}`,zt=`hidePrevented${m}`,Ht=`hidden${m}`,Ui=`resize${m}`,Ki=`click${m}${mt}`,qi=`keydown.dismiss${m}`,Yi='[data-bs-toggle="offcanvas"]',Gi={backdrop:!0,keyboard:!0,scroll:!1},Xi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},H=class _Offcanvas extends u{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(xt);const s=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(gt),this._element.classList.remove(xt),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(At),this._backdrop.hide();const n=()=>{this._element.classList.remove(gt,At),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new je).reset(),e.trigger(this._element,Ht)};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 bt({className:Pi,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?n:null})}_initializeFocusTrap(){return new dt({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(),b(this))return;e.one(s,Ht,()=>{R(this)&&this.focus()});const o=t.findOne(Tt);o&&o!==s&&H.getInstance(o).hide();const i=H.getOrCreateInstance(s);i.toggle(this)}),e.on(window,zi,()=>{for(const e of t.find(Tt))H.getOrCreateInstance(e).show()}),e.on(window,Ui,()=>{for(const e of t.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&H.getOrCreateInstance(e).hide()}),re(H),d(H),Zi=/^aria-[\w-]*$/i,Jt={"*":["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 Pr(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:Jt,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(p(n)){this._putElementInTemplate(j(n),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(n);return}o.textContent=n}_maybeSanitize(e){return this._config.sanitize?Pr(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"]),De="fade",ha="modal",fe="show",fa=".tooltip-inner",hn=`.${ha}`,pn="hide.bs.modal",Z="hover",Ae="focus",Ce="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:r()?"left":"right",BOTTOM:"bottom",LEFT:r()?"right":"left"},Ta={allowList:Jt,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"},ve=class _Tooltip extends u{constructor(e,t){if(typeof Sn=="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(hn),pn,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[Ce]=!1,this._activeTrigger[Ae]=!1,this._activeTrigger[Z]=!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(De,fe),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=Ro(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(De),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(De)}_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 Ye(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[Ce]=!t._isShown()||!t._activeTrigger[Ce],t.toggle()});else if(n!==ya){const t=n===Z?this.constructor.eventName(Sa):this.constructor.eventName(ka),s=n===Z?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"?Ae:Z]=!0,t._enter()}),e.on(this._element,s,this._config.selector,e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type==="focusout"?Ae:Z]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},e.on(this._element.closest(hn),pn,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=v.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:j(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]()})}},d(ve),Na="popover",La=".popover-header",Ra=".popover-body",Pa={...ve.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={...ve.DefaultType,content:"(null|string|element|function)"},Ia=class _Popover extends ve{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(),[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]()})}},d(Ia),Ba="scrollspy",Va="bs.scrollspy",we=`.${Va}`,Tn=".data-api",Ua=`activate${we}`,ut=`click${we}`,qa=`load${we}${Tn}`,Ya="dropdown-item",L="active",Xa='[data-bs-spy="scroll"]',Ee="[href]",Za=".nav, .list-group",ln=".nav-link",er=".nav-item",tr=".list-group-item",nr=`${ln}, ${er} > ${ln}, ${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"},Yt=class _ScrollSpy extends u{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=j(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,ut),e.on(this._config.target,ut,Ee,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(Ee,this._config.target);for(const n of e){if(!n.hash||b(n))continue;const s=t.findOne(decodeURI(n.hash),this._element);R(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(`${Ee}.${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))Yt.getOrCreateInstance(e)}),d(Yt),cr="tab",lr="bs.tab",k=`.${lr}`,ur=`hide${k}`,hr=`hidden${k}`,mr=`show${k}`,fr=`shown${k}`,pr=`click${k}`,gr=`keydown${k}`,vr=`load${k}`,br="ArrowLeft",Ze="ArrowRight",yr="ArrowUp",at="ArrowDown",Ge="Home",ht="End",A="active",pt="fade",We="show",rr="dropdown",Ot=".dropdown-toggle",$a=".dropdown-menu",$e=`:not(${Ot})`,Da='.list-group, .nav, [role="tablist"]',ba=".nav-item, .list-group-item",ga=`.nav-link${$e}, .list-group-item${$e}, [role="tab"]${$e}`,kt='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ve=`${ga}, ${kt}`,ua=`.${A}[data-bs-toggle="tab"], .${A}[data-bs-toggle="pill"], .${A}[data-bs-toggle="list"]`,He=class _Tab extends u{constructor(t){if(super(t),this._parent=this._element.closest(Da),!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(A),this._activate(t.getElementFromSelector(n));const o=()=>{if(n.getAttribute("role")!=="tab"){n.classList.add(We);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(pt))}_deactivate(n,s){if(!n)return;n.classList.remove(A),n.blur(),this._deactivate(t.getElementFromSelector(n));const o=()=>{if(n.getAttribute("role")!=="tab"){n.classList.remove(We);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(pt))}_keydown(e){if(![br,Ze,yr,at,Ge,ht].includes(e.key))return;e.stopPropagation(),e.preventDefault();const n=this._getChildren().filter(e=>!b(e));let t;if([Ge,ht].includes(e.key))t=n[e.key===Ge?0:n.length-1];else{const s=[Ze,at].includes(e.key);t=be(n,e.target,s,!0)}t&&(t.focus({preventScroll:!0}),_Tab.getOrCreateInstance(t).show())}_getChildren(){return t.find(Ve,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(rr))return;const o=(e,o)=>{const i=t.findOne(e,s);i&&i.classList.toggle(o,n)};o(Ot,A),o($a,We),s.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(A)}_getInnerElement(e){return e.matches(Ve)?e:t.findOne(Ve,e)}_getOuterElement(e){return e.closest(ba)||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,kt,function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),b(this))return;He.getOrCreateInstance(this).show()}),e.on(window,vr,()=>{for(const e of t.find(ua))He.getOrCreateInstance(e)}),d(He),sa="toast",Ji="bs.toast",_=`.${Ji}`,Hi=`mouseover${_}`,Ri=`mouseout${_}`,Li=`focusin${_}`,Ni=`focusout${_}`,Ti=`hide${_}`,Fi=`hidden${_}`,Ai=`show${_}`,_i=`shown${_}`,yi="fade",Rt="hide",pe="show",ee="showing",ui={animation:"boolean",autohide:"boolean",delay:"number"},di={animation:!0,autohide:!0,delay:5e3},Mn=class _Toast extends u{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return di}static get DefaultType(){return ui}static get NAME(){return sa}show(){const t=e.trigger(this._element,Ai);if(t.defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(yi);const n=()=>{this._element.classList.remove(ee),e.trigger(this._element,_i),this._maybeScheduleHide()};this._element.classList.remove(Rt),Y(this._element),this._element.classList.add(pe,ee),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown())return;const t=e.trigger(this._element,Ti);if(t.defaultPrevented)return;const n=()=>{this._element.classList.add(Rt),this._element.classList.remove(ee,pe),e.trigger(this._element,Fi)};this._element.classList.add(ee),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(pe),super.dispose()}isShown(){return this._element.classList.contains(pe)}_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,Hi,e=>this._onInteraction(e,!0)),e.on(this._element,Ri,e=>this._onInteraction(e,!1)),e.on(this._element,Li,e=>this._onInteraction(e,!0)),e.on(this._element,Ni,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)}})}},re(Mn),d(Mn),ii=class{constructor(){this.init()}init(){}},ni=ii,to=class{constructor(e){this.element=e,this.init()}init(){const e=document.querySelector(".toggle-link");if(!e)return;e.addEventListener("click",function(){const t=this.classList.contains("collapsed");e.getAttribute("data-label-show")&&e.getAttribute("data-label-hide")&&(e.textContent=t?e.getAttribute("data-label-show"):e.getAttribute("data-label-hide"))})}},Js=to,qs=class{constructor(e){this.element=e,this.input=this.element.querySelector(".input-group-search input"),this.cancelBtn=this.element.querySelector(".btn-cancel"),this.init()}init(){const e="d-inline-block",t="d-none";if(!this.input)return;this.input.addEventListener("input",()=>{this.input.value?(this.cancelBtn.classList.add(e),this.cancelBtn.classList.remove(t)):(this.cancelBtn.classList.add(t),this.cancelBtn.classList.remove(e))}),this.cancelBtn.addEventListener("click",()=>{this.input.value="",this.cancelBtn.classList.add(t),this.cancelBtn.classList.remove(e),this.input.focus()})}},Ts=qs;function cc(){const e=document.getElementById("main-nav");e&&new ni(e)}function lc(){document.querySelectorAll(".expand-collapse").forEach(e=>new Js(e))}function dc(){document.querySelectorAll(".input-group-search").forEach(e=>new Ts(e))}function uc(){cc(),lc(),dc()}uc()})()