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