Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

8 řádky
81 KiB

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