'}}),e(t).on("click","[data-fancybox-share]",(function(){var t,n,i=e.fancybox.getInstance(),o=i.current||null;o&&("function"===e.type(o.opts.share.url)&&(t=o.opts.share.url.apply(o,[i,o])),n=o.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===o.type?encodeURIComponent(o.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g,function(t){var e={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(t).replace(/[&<>"'`=\/]/g,(function(t){return e[t]}))}(t)).replace(/\{\{descr\}\}/g,i.$caption?encodeURIComponent(i.$caption.text()):""),e.fancybox.open({src:i.translate(i,n),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(t,e){i.$refs.container.one("beforeClose.fb",(function(){t.close(null,0)})),e.$content.find(".fancybox-share__button").click((function(){return window.open(this.href,"Share","width=550, height=450"),!1}))},mobile:{autoFocus:!1}}}))}))}(document,jQuery),function(t,e,n){"use strict";function i(){var e=t.location.hash.substr(1),n=e.split("-"),i=n.length>1&&/^\+?\d+$/.test(n[n.length-1])&&parseInt(n.pop(-1),10)||1;return{hash:e,index:i<1?1:i,gallery:n.join("-")}}function o(t){""!==t.gallery&&n("[data-fancybox='"+n.escapeSelector(t.gallery)+"']").eq(t.index-1).focus().trigger("click.fb-start")}function s(t){var e,n;return!!t&&(""!==(n=(e=t.current?t.current.opts:t.opts).hash||(e.$orig?e.$orig.data("fancybox")||e.$orig.data("fancybox-trigger"):""))&&n)}n.escapeSelector||(n.escapeSelector=function(t){return(t+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,(function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}))}),n((function(){!1!==n.fancybox.defaults.hash&&(n(e).on({"onInit.fb":function(t,e){var n,o;!1!==e.group[e.currIndex].opts.hash&&(n=i(),(o=s(e))&&n.gallery&&o==n.gallery&&(e.currIndex=n.index-1))},"beforeShow.fb":function(n,i,o,r){var a;o&&!1!==o.opts.hash&&(a=s(i))&&(i.currentHash=a+(i.group.length>1?"-"+(o.index+1):""),t.location.hash!=="#"+i.currentHash&&(r&&!i.origHash&&(i.origHash=t.location.hash),i.hashTimer&&clearTimeout(i.hashTimer),i.hashTimer=setTimeout((function(){"replaceState"in t.history?(t.history[r?"pushState":"replaceState"]({},e.title,t.location.pathname+t.location.search+"#"+i.currentHash),r&&(i.hasCreatedHistory=!0)):t.location.hash=i.currentHash,i.hashTimer=null}),300)))},"beforeClose.fb":function(n,i,o){o&&!1!==o.opts.hash&&(clearTimeout(i.hashTimer),i.currentHash&&i.hasCreatedHistory?t.history.back():i.currentHash&&("replaceState"in t.history?t.history.replaceState({},e.title,t.location.pathname+t.location.search+(i.origHash||"")):t.location.hash=i.origHash),i.currentHash=null)}}),n(t).on("hashchange.fb",(function(){var t=i(),e=null;n.each(n(".fancybox-container").get().reverse(),(function(t,i){var o=n(i).data("FancyBox");if(o&&o.currentHash)return e=o,!1})),e?e.currentHash===t.gallery+"-"+t.index||1===t.index&&e.currentHash==t.gallery||(e.currentHash=null,e.close()):""!==t.gallery&&o(t)})),setTimeout((function(){n.fancybox.getInstance()||o(i())}),50))}))}(window,document,jQuery),function(t,e){"use strict";var n=(new Date).getTime();e(t).on({"onInit.fb":function(t,e,i){e.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",(function(t){var i=e.current,o=(new Date).getTime();e.group.length<2||!1===i.opts.wheel||"auto"===i.opts.wheel&&"image"!==i.type||(t.preventDefault(),t.stopPropagation(),i.$slide.hasClass("fancybox-animated")||(t=t.originalEvent||t,o-n<250||(n=o,e[(-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)<0?"next":"previous"]())))}))}})}(document,jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).Popper={})}(this,(function(t){"use strict";function e(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function n(t){return t instanceof e(t).Element||t instanceof Element}function i(t){return t instanceof e(t).HTMLElement||t instanceof HTMLElement}function o(t){return"undefined"!=typeof ShadowRoot&&(t instanceof e(t).ShadowRoot||t instanceof ShadowRoot)}var s=Math.max,r=Math.min,a=Math.round;function l(){var t=navigator.userAgentData;return null!=t&&t.brands?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function c(){return!/^((?!chrome|android).)*safari/i.test(l())}function d(t,o,s){void 0===o&&(o=!1),void 0===s&&(s=!1);var r=t.getBoundingClientRect(),l=1,d=1;o&&i(t)&&(l=t.offsetWidth>0&&a(r.width)/t.offsetWidth||1,d=t.offsetHeight>0&&a(r.height)/t.offsetHeight||1);var u=(n(t)?e(t):window).visualViewport,f=!c()&&s,h=(r.left+(f&&u?u.offsetLeft:0))/l,p=(r.top+(f&&u?u.offsetTop:0))/d,g=r.width/l,m=r.height/d;return{width:g,height:m,top:p,right:h+g,bottom:p+m,left:h,x:h,y:p}}function u(t){var n=e(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function f(t){return t?(t.nodeName||"").toLowerCase():null}function h(t){return((n(t)?t.ownerDocument:t.document)||window.document).documentElement}function p(t){return d(h(t)).left+u(t).scrollLeft}function g(t){return e(t).getComputedStyle(t)}function m(t){var e=g(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function b(t,n,o){void 0===o&&(o=!1);var s,r,l=i(n),c=i(n)&&function(t){var e=t.getBoundingClientRect(),n=a(e.width)/t.offsetWidth||1,i=a(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(n),g=h(n),b=d(t,c,o),v={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(l||!l&&!o)&&(("body"!==f(n)||m(g))&&(v=(s=n)!==e(s)&&i(s)?{scrollLeft:(r=s).scrollLeft,scrollTop:r.scrollTop}:u(s)),i(n)?((y=d(n,!0)).x+=n.clientLeft,y.y+=n.clientTop):g&&(y.x=p(g))),{x:b.left+v.scrollLeft-y.x,y:b.top+v.scrollTop-y.y,width:b.width,height:b.height}}function v(t){var e=d(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 y(t){return"html"===f(t)?t:t.assignedSlot||t.parentNode||(o(t)?t.host:null)||h(t)}function _(t){return["html","body","#document"].indexOf(f(t))>=0?t.ownerDocument.body:i(t)&&m(t)?t:_(y(t))}function w(t,n){var i;void 0===n&&(n=[]);var o=_(t),s=o===(null==(i=t.ownerDocument)?void 0:i.body),r=e(o),a=s?[r].concat(r.visualViewport||[],m(o)?o:[]):o,l=n.concat(a);return s?l:l.concat(w(y(a)))}function x(t){return["table","td","th"].indexOf(f(t))>=0}function C(t){return i(t)&&"fixed"!==g(t).position?t.offsetParent:null}function T(t){for(var n=e(t),s=C(t);s&&x(s)&&"static"===g(s).position;)s=C(s);return s&&("html"===f(s)||"body"===f(s)&&"static"===g(s).position)?n:s||function(t){var e=/firefox/i.test(l());if(/Trident/i.test(l())&&i(t)&&"fixed"===g(t).position)return null;var n=y(t);for(o(n)&&(n=n.host);i(n)&&["html","body"].indexOf(f(n))<0;){var s=g(n);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||e&&"filter"===s.willChange||e&&s.filter&&"none"!==s.filter)return n;n=n.parentNode}return null}(t)||n}var E="top",A="bottom",S="right",O="left",P="auto",k=[E,A,S,O],L="start",D="end",M="viewport",I="popper",j=k.reduce((function(t,e){return t.concat([e+"-"+L,e+"-"+D])}),[]),F=[].concat(k,[P]).reduce((function(t,e){return t.concat([e,e+"-"+L,e+"-"+D])}),[]),H=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function N(t){var e=new Map,n=new Set,i=[];function o(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&o(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||o(t)})),i}function z(t){return t.split("-")[0]}function R(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&o(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function B(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function q(t,i,o){return i===M?B(function(t,n){var i=e(t),o=h(t),s=i.visualViewport,r=o.clientWidth,a=o.clientHeight,l=0,d=0;if(s){r=s.width,a=s.height;var u=c();(u||!u&&"fixed"===n)&&(l=s.offsetLeft,d=s.offsetTop)}return{width:r,height:a,x:l+p(t),y:d}}(t,o)):n(i)?function(t,e){var n=d(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}(i,o):B(function(t){var e,n=h(t),i=u(t),o=null==(e=t.ownerDocument)?void 0:e.body,r=s(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=s(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-i.scrollLeft+p(t),c=-i.scrollTop;return"rtl"===g(o||n).direction&&(l+=s(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:a,x:l,y:c}}(h(t)))}function W(t,e,o,a){var l="clippingParents"===e?function(t){var e=w(y(t)),o=["absolute","fixed"].indexOf(g(t).position)>=0&&i(t)?T(t):t;return n(o)?e.filter((function(t){return n(t)&&R(t,o)&&"body"!==f(t)})):[]}(t):[].concat(e),c=[].concat(l,[o]),d=c[0],u=c.reduce((function(e,n){var i=q(t,n,a);return e.top=s(i.top,e.top),e.right=r(i.right,e.right),e.bottom=r(i.bottom,e.bottom),e.left=s(i.left,e.left),e}),q(t,d,a));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function V(t){return t.split("-")[1]}function X(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Y(t){var e,n=t.reference,i=t.element,o=t.placement,s=o?z(o):null,r=o?V(o):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(s){case E:e={x:a,y:n.y-i.height};break;case A:e={x:a,y:n.y+n.height};break;case S:e={x:n.x+n.width,y:l};break;case O:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var c=s?X(s):null;if(null!=c){var d="y"===c?"height":"width";switch(r){case L:e[c]=e[c]-(n[d]/2-i[d]/2);break;case D:e[c]=e[c]+(n[d]/2-i[d]/2)}}return e}function Q(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function U(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function K(t,e){void 0===e&&(e={});var i=e,o=i.placement,s=void 0===o?t.placement:o,r=i.strategy,a=void 0===r?t.strategy:r,l=i.boundary,c=void 0===l?"clippingParents":l,u=i.rootBoundary,f=void 0===u?M:u,p=i.elementContext,g=void 0===p?I:p,m=i.altBoundary,b=void 0!==m&&m,v=i.padding,y=void 0===v?0:v,_=Q("number"!=typeof y?y:U(y,k)),w=g===I?"reference":I,x=t.rects.popper,C=t.elements[b?w:g],T=W(n(C)?C:C.contextElement||h(t.elements.popper),c,f,a),O=d(t.elements.reference),P=Y({reference:O,element:x,strategy:"absolute",placement:s}),L=B(Object.assign({},x,P)),D=g===I?L:O,j={top:T.top-D.top+_.top,bottom:D.bottom-T.bottom+_.bottom,left:T.left-D.left+_.left,right:D.right-T.right+_.right},F=t.modifiersData.offset;if(g===I&&F){var H=F[s];Object.keys(j).forEach((function(t){var e=[S,A].indexOf(t)>=0?1:-1,n=[E,A].indexOf(t)>=0?"y":"x";j[t]+=H[n]*e}))}return j}var Z={placement:"bottom",modifiers:[],strategy:"absolute"};function G(){for(var t=arguments.length,e=new Array(t),n=0;n=0?-1:1,s="function"==typeof n?n(Object.assign({},e,{placement:t})):n,r=s[0],a=s[1];return r=r||0,a=(a||0)*o,[O,S].indexOf(i)>=0?{x:a,y:r}:{x:r,y:a}}(n,e.rects,s),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}},at={left:"right",right:"left",bottom:"top",top:"bottom"};function lt(t){return t.replace(/left|right|bottom|top/g,(function(t){return at[t]}))}var ct={start:"end",end:"start"};function dt(t){return t.replace(/start|end/g,(function(t){return ct[t]}))}function ut(t,e){void 0===e&&(e={});var n=e,i=n.placement,o=n.boundary,s=n.rootBoundary,r=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?F:l,d=V(i),u=d?a?j:j.filter((function(t){return V(t)===d})):k,f=u.filter((function(t){return c.indexOf(t)>=0}));0===f.length&&(f=u);var h=f.reduce((function(e,n){return e[n]=K(t,{placement:n,boundary:o,rootBoundary:s,padding:r})[z(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}var ft={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var o=n.mainAxis,s=void 0===o||o,r=n.altAxis,a=void 0===r||r,l=n.fallbackPlacements,c=n.padding,d=n.boundary,u=n.rootBoundary,f=n.altBoundary,h=n.flipVariations,p=void 0===h||h,g=n.allowedAutoPlacements,m=e.options.placement,b=z(m),v=l||(b!==m&&p?function(t){if(z(t)===P)return[];var e=lt(t);return[dt(t),e,dt(e)]}(m):[lt(m)]),y=[m].concat(v).reduce((function(t,n){return t.concat(z(n)===P?ut(e,{placement:n,boundary:d,rootBoundary:u,padding:c,flipVariations:p,allowedAutoPlacements:g}):n)}),[]),_=e.rects.reference,w=e.rects.popper,x=new Map,C=!0,T=y[0],k=0;k=0,F=j?"width":"height",H=K(e,{placement:D,boundary:d,rootBoundary:u,altBoundary:f,padding:c}),N=j?I?S:O:I?A:E;_[F]>w[F]&&(N=lt(N));var R=lt(N),B=[];if(s&&B.push(H[M]<=0),a&&B.push(H[N]<=0,H[R]<=0),B.every((function(t){return t}))){T=D,C=!1;break}x.set(D,B)}if(C)for(var q=function(t){var e=y.find((function(e){var n=x.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return T=e,"break"},W=p?3:1;W>0&&"break"!==q(W);W--);e.placement!==T&&(e.modifiersData[i]._skip=!0,e.placement=T,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ht(t,e,n){return s(t,r(e,n))}var pt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,o=n.mainAxis,a=void 0===o||o,l=n.altAxis,c=void 0!==l&&l,d=n.boundary,u=n.rootBoundary,f=n.altBoundary,h=n.padding,p=n.tether,g=void 0===p||p,m=n.tetherOffset,b=void 0===m?0:m,y=K(e,{boundary:d,rootBoundary:u,padding:h,altBoundary:f}),_=z(e.placement),w=V(e.placement),x=!w,C=X(_),P="x"===C?"y":"x",k=e.modifiersData.popperOffsets,D=e.rects.reference,M=e.rects.popper,I="function"==typeof b?b(Object.assign({},e.rects,{placement:e.placement})):b,j="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),F=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,H={x:0,y:0};if(k){if(a){var N,R="y"===C?E:O,B="y"===C?A:S,q="y"===C?"height":"width",W=k[C],Y=W+y[R],Q=W-y[B],U=g?-M[q]/2:0,Z=w===L?D[q]:M[q],G=w===L?-M[q]:-D[q],J=e.elements.arrow,$=g&&J?v(J):{width:0,height:0},tt=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},et=tt[R],nt=tt[B],it=ht(0,D[q],$[q]),ot=x?D[q]/2-U-it-et-j.mainAxis:Z-it-et-j.mainAxis,st=x?-D[q]/2+U+it+nt+j.mainAxis:G+it+nt+j.mainAxis,rt=e.elements.arrow&&T(e.elements.arrow),at=rt?"y"===C?rt.clientTop||0:rt.clientLeft||0:0,lt=null!=(N=null==F?void 0:F[C])?N:0,ct=W+st-lt,dt=ht(g?r(Y,W+ot-lt-at):Y,W,g?s(Q,ct):Q);k[C]=dt,H[C]=dt-W}if(c){var ut,ft="x"===C?E:O,pt="x"===C?A:S,gt=k[P],mt="y"===P?"height":"width",bt=gt+y[ft],vt=gt-y[pt],yt=-1!==[E,O].indexOf(_),_t=null!=(ut=null==F?void 0:F[P])?ut:0,wt=yt?bt:gt-D[mt]-M[mt]-_t+j.altAxis,xt=yt?gt+D[mt]+M[mt]-_t-j.altAxis:vt,Ct=g&&yt?function(t,e,n){var i=ht(t,e,n);return i>n?n:i}(wt,gt,xt):ht(g?wt:bt,gt,g?xt:vt);k[P]=Ct,H[P]=Ct-gt}e.modifiersData[i]=H}},requiresIfExists:["offset"]},gt={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,o=t.options,s=n.elements.arrow,r=n.modifiersData.popperOffsets,a=z(n.placement),l=X(a),c=[O,S].indexOf(a)>=0?"height":"width";if(s&&r){var d=function(t,e){return Q("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:U(t,k))}(o.padding,n),u=v(s),f="y"===l?E:O,h="y"===l?A:S,p=n.rects.reference[c]+n.rects.reference[l]-r[l]-n.rects.popper[c],g=r[l]-n.rects.reference[l],m=T(s),b=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,y=p/2-g/2,_=d[f],w=b-u[c]-d[h],x=b/2-u[c]/2+y,C=ht(_,x,w),P=l;n.modifiersData[i]=((e={})[P]=C,e.centerOffset=C-x,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&R(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function mt(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 bt(t){return[E,S,A,O].some((function(e){return t[e]>=0}))}var vt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,o=e.rects.popper,s=e.modifiersData.preventOverflow,r=K(e,{elementContext:"reference"}),a=K(e,{altBoundary:!0}),l=mt(r,i),c=mt(a,o,s),d=bt(l),u=bt(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}},yt=J({defaultModifiers:[tt,et,ot,st]}),_t=[tt,et,ot,st,rt,ft,pt,gt,vt],wt=J({defaultModifiers:_t});t.applyStyles=st,t.arrow=gt,t.computeStyles=ot,t.createPopper=wt,t.createPopperLite=yt,t.defaultModifiers=_t,t.detectOverflow=K,t.eventListeners=tt,t.flip=ft,t.hide=vt,t.offset=rt,t.popperGenerator=J,t.popperOffsets=et,t.preventOverflow=pt,Object.defineProperty(t,"__esModule",{value:!0})})),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()}(this,(function(){"use strict";const t="transitionend",e=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},n=t=>{const n=e(t);return n&&document.querySelector(n)?n:null},i=t=>{const n=e(t);return n?document.querySelector(n):null},o=e=>{e.dispatchEvent(new Event(t))},s=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),r=t=>s(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,a=t=>{if(!s(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},l=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),c=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?c(t.parentNode):null},d=()=>{},u=t=>{t.offsetHeight},f=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,h=[],p=()=>"rtl"===document.documentElement.dir,g=t=>{var e;e=()=>{const e=f();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)}},"loading"===document.readyState?(h.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of h)t()})),h.push(e)):e()},m=t=>{"function"==typeof t&&t()},b=(e,n,i=!0)=>{if(!i)return void m(e);const s=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const i=Number.parseFloat(e),o=Number.parseFloat(n);return i||o?(e=e.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(n))):0})(n)+5;let r=!1;const a=({target:i})=>{i===n&&(r=!0,n.removeEventListener(t,a),m(e))};n.addEventListener(t,a),setTimeout((()=>{r||o(n)}),s)},v=(t,e,n,i)=>{const o=t.length;let s=t.indexOf(e);return-1===s?!n&&i?t[o-1]:t[0]:(s+=n?1:-1,i&&(s=(s+o)%o),t[Math.max(0,Math.min(s,o-1))])},y=/[^.]*(?=\..*)\.|.*/,_=/\..*/,w=/::\d+$/,x={};let C=1;const T={mouseenter:"mouseover",mouseleave:"mouseout"},E=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 A(t,e){return e&&`${e}::${C++}`||t.uidEvent||C++}function S(t){const e=A(t);return t.uidEvent=e,x[e]=x[e]||{},x[e]}function O(t,e,n=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===n))}function P(t,e,n){const i="string"==typeof e,o=i?n:e||n;let s=M(t);return E.has(s)||(s=t),[i,o,s]}function k(t,e,n,i,o){if("string"!=typeof e||!t)return;let[s,r,a]=P(e,n,i);if(e in T){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=S(t),c=l[a]||(l[a]={}),d=O(c,r,s?n:null);if(d)return void(d.oneOff=d.oneOff&&o);const u=A(r,e.replace(y,"")),f=s?function(t,e,n){return function i(o){const s=t.querySelectorAll(e);for(let{target:r}=o;r&&r!==this;r=r.parentNode)for(const a of s)if(a===r)return j(o,{delegateTarget:r}),i.oneOff&&I.off(t,o.type,e,n),n.apply(r,[o])}}(t,n,r):function(t,e){return function n(i){return j(i,{delegateTarget:t}),n.oneOff&&I.off(t,i.type,e),e.apply(t,[i])}}(t,r);f.delegationSelector=s?n:null,f.callable=r,f.oneOff=o,f.uidEvent=u,c[u]=f,t.addEventListener(a,f,s)}function L(t,e,n,i,o){const s=O(e[n],i,o);s&&(t.removeEventListener(n,s,Boolean(o)),delete e[n][s.uidEvent])}function D(t,e,n,i){const o=e[n]||{};for(const s of Object.keys(o))if(s.includes(i)){const i=o[s];L(t,e,n,i.callable,i.delegationSelector)}}function M(t){return t=t.replace(_,""),T[t]||t}const I={on(t,e,n,i){k(t,e,n,i,!1)},one(t,e,n,i){k(t,e,n,i,!0)},off(t,e,n,i){if("string"!=typeof e||!t)return;const[o,s,r]=P(e,n,i),a=r!==e,l=S(t),c=l[r]||{},d=e.startsWith(".");if(void 0===s){if(d)for(const n of Object.keys(l))D(t,l,n,e.slice(1));for(const n of Object.keys(c)){const i=n.replace(w,"");if(!a||e.includes(i)){const e=c[n];L(t,l,r,e.callable,e.delegationSelector)}}}else{if(!Object.keys(c).length)return;L(t,l,r,s,o?n:null)}},trigger(t,e,n){if("string"!=typeof e||!t)return null;const i=f();let o=null,s=!0,r=!0,a=!1;e!==M(e)&&i&&(o=i.Event(e,n),i(t).trigger(o),s=!o.isPropagationStopped(),r=!o.isImmediatePropagationStopped(),a=o.isDefaultPrevented());let l=new Event(e,{bubbles:s,cancelable:!0});return l=j(l,n),a&&l.preventDefault(),r&&t.dispatchEvent(l),l.defaultPrevented&&o&&o.preventDefault(),l}};function j(t,e){for(const[n,i]of Object.entries(e||{}))try{t[n]=i}catch(e){Object.defineProperty(t,n,{configurable:!0,get:()=>i})}return t}const F=new Map,H={set(t,e,n){F.has(t)||F.set(t,new Map);const i=F.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)=>F.has(t)&&F.get(t).get(e)||null,remove(t,e){if(!F.has(t))return;const n=F.get(t);n.delete(e),0===n.size&&F.delete(t)}};function $(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 N(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const z={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${N(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${N(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,n.length),e[n]=$(t.dataset[i])}return e},getDataAttribute:(t,e)=>$(t.getAttribute(`data-bs-${N(e)}`))};class R{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=s(e)?z.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...s(e)?z.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const i of Object.keys(e)){const o=e[i],r=t[i],a=s(r)?"element":null==(n=r)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${a}" but expected type "${o}".`)}var n}}class B extends R{constructor(t,e){super(),(t=r(t))&&(this._element=t,this._config=this._getConfig(e),H.set(this._element,this.constructor.DATA_KEY,this))}dispose(){H.remove(this._element,this.constructor.DATA_KEY),I.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,n=!0){b(t,e,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return H.get(r(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.2.2"}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 q=(t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,o=t.NAME;I.on(document,n,`[data-bs-dismiss="${o}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),l(this))return;const s=i(this)||this.closest(`.${o}`);t.getOrCreateInstance(s)[e]()}))};class W extends B{static get NAME(){return"alert"}close(){if(I.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),I.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=W.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)}}))}}q(W,"close"),g(W);const V='[data-bs-toggle="button"]';class X extends B{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=X.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}I.on(document,"click.bs.button.data-api",V,(t=>{t.preventDefault();const e=t.target.closest(V);X.getOrCreateInstance(e).toggle()})),g(X);const Y={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const n=[];let i=t.parentNode.closest(e);for(;i;)n.push(i),i=i.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;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=>!l(t)&&a(t)))}},Q={endCallback:null,leftCallback:null,rightCallback:null},U={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class K extends R{constructor(t,e){super(),this._element=t,t&&K.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Q}static get DefaultType(){return U}static get NAME(){return"swipe"}dispose(){I.off(this._element,".bs.swipe")}_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(),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<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&m(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(I.on(this._element,"pointerdown.bs.swipe",(t=>this._start(t))),I.on(this._element,"pointerup.bs.swipe",(t=>this._end(t))),this._element.classList.add("pointer-event")):(I.on(this._element,"touchstart.bs.swipe",(t=>this._start(t))),I.on(this._element,"touchmove.bs.swipe",(t=>this._move(t))),I.on(this._element,"touchend.bs.swipe",(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Z="next",G="prev",J="left",tt="right",et="slid.bs.carousel",nt="carousel",it="active",ot={ArrowLeft:tt,ArrowRight:J},st={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},rt={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class at extends B{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Y.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===nt&&this.cycle()}static get Default(){return st}static get DefaultType(){return rt}static get NAME(){return"carousel"}next(){this._slide(Z)}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide(G)}pause(){this._isSliding&&o(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?I.one(this._element,et,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void I.one(this._element,et,(()=>this.to(t)));const n=this._getItemIndex(this._getActive());if(n===t)return;const i=t>n?Z:G;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&&I.on(this._element,"keydown.bs.carousel",(t=>this._keydown(t))),"hover"===this._config.pause&&(I.on(this._element,"mouseenter.bs.carousel",(()=>this.pause())),I.on(this._element,"mouseleave.bs.carousel",(()=>this._maybeEnableCycle()))),this._config.touch&&K.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of Y.find(".carousel-item img",this._element))I.on(t,"dragstart.bs.carousel",(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(J)),rightCallback:()=>this._slide(this._directionToOrder(tt)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new K(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=ot[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=Y.findOne(".active",this._indicatorsElement);e.classList.remove(it),e.removeAttribute("aria-current");const n=Y.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(it),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===Z,o=e||v(this._getItems(),n,i,this._config.wrap);if(o===n)return;const s=this._getItemIndex(o),r=e=>I.trigger(this._element,e,{relatedTarget:o,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:s});if(r("slide.bs.carousel").defaultPrevented)return;if(!n||!o)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=o;const l=i?"carousel-item-start":"carousel-item-end",c=i?"carousel-item-next":"carousel-item-prev";o.classList.add(c),u(o),n.classList.add(l),o.classList.add(l),this._queueCallback((()=>{o.classList.remove(l,c),o.classList.add(it),n.classList.remove(it,c,l),this._isSliding=!1,r(et)}),n,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return Y.findOne(".active.carousel-item",this._element)}_getItems(){return Y.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return p()?t===J?G:Z:t===J?Z:G}_orderToDirection(t){return p()?t===G?J:tt:t===G?tt:J}static jQueryInterface(t){return this.each((function(){const e=at.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)}))}}I.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",(function(t){const e=i(this);if(!e||!e.classList.contains(nt))return;t.preventDefault();const n=at.getOrCreateInstance(e),o=this.getAttribute("data-bs-slide-to");return o?(n.to(o),void n._maybeEnableCycle()):"next"===z.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),I.on(window,"load.bs.carousel.data-api",(()=>{const t=Y.find('[data-bs-ride="carousel"]');for(const e of t)at.getOrCreateInstance(e)})),g(at);const lt="show",ct="collapse",dt="collapsing",ut='[data-bs-toggle="collapse"]',ft={parent:null,toggle:!0},ht={parent:"(null|element)",toggle:"boolean"};class pt extends B{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const i=Y.find(ut);for(const t of i){const e=n(t),i=Y.find(e).filter((t=>t===this._element));null!==e&&i.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ft}static get DefaultType(){return ht}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>pt.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(I.trigger(this._element,"show.bs.collapse").defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(ct),this._element.classList.add(dt),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(dt),this._element.classList.add(ct,lt),this._element.style[e]="",I.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[e]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(I.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,u(this._element),this._element.classList.add(dt),this._element.classList.remove(ct,lt);for(const t of this._triggerArray){const e=i(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(dt),this._element.classList.add(ct),I.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(lt)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=r(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(ut);for(const e of t){const t=i(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=Y.find(":scope .collapse .collapse",this._config.parent);return Y.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const n of t)n.classList.toggle("collapsed",!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=pt.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}))}}I.on(document,"click.bs.collapse.data-api",ut,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=n(this),i=Y.find(e);for(const t of i)pt.getOrCreateInstance(t,{toggle:!1}).toggle()})),g(pt);var gt="top",mt="bottom",bt="right",vt="left",yt="auto",_t=[gt,mt,bt,vt],wt="start",xt="end",Ct="clippingParents",Tt="viewport",Et="popper",At="reference",St=_t.reduce((function(t,e){return t.concat([e+"-"+wt,e+"-"+xt])}),[]),Ot=[].concat(_t,[yt]).reduce((function(t,e){return t.concat([e,e+"-"+wt,e+"-"+xt])}),[]),Pt="beforeRead",$t="read",kt="afterRead",Lt="beforeMain",Dt="main",Mt="afterMain",It="beforeWrite",jt="write",Ft="afterWrite",Ht=[Pt,$t,kt,Lt,Dt,Mt,It,jt,Ft];function Nt(t){return t?(t.nodeName||"").toLowerCase():null}function zt(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Rt(t){return t instanceof zt(t).Element||t instanceof Element}function Bt(t){return t instanceof zt(t).HTMLElement||t instanceof HTMLElement}function qt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof zt(t).ShadowRoot||t instanceof ShadowRoot)}const Wt={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},o=e.elements[t];Bt(o)&&Nt(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(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],o=e.attributes[t]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});Bt(i)&&Nt(i)&&(Object.assign(i.style,s),Object.keys(o).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]};function Vt(t){return t.split("-")[0]}var Xt=Math.max,Yt=Math.min,Qt=Math.round;function Ut(){var t=navigator.userAgentData;return null!=t&&t.brands?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function Kt(){return!/^((?!chrome|android).)*safari/i.test(Ut())}function Zt(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),o=1,s=1;e&&Bt(t)&&(o=t.offsetWidth>0&&Qt(i.width)/t.offsetWidth||1,s=t.offsetHeight>0&&Qt(i.height)/t.offsetHeight||1);var r=(Rt(t)?zt(t):window).visualViewport,a=!Kt()&&n,l=(i.left+(a&&r?r.offsetLeft:0))/o,c=(i.top+(a&&r?r.offsetTop:0))/s,d=i.width/o,u=i.height/s;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l,x:l,y:c}}function Gt(t){var e=Zt(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 Jt(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&qt(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function te(t){return zt(t).getComputedStyle(t)}function ee(t){return["table","td","th"].indexOf(Nt(t))>=0}function ne(t){return((Rt(t)?t.ownerDocument:t.document)||window.document).documentElement}function ie(t){return"html"===Nt(t)?t:t.assignedSlot||t.parentNode||(qt(t)?t.host:null)||ne(t)}function oe(t){return Bt(t)&&"fixed"!==te(t).position?t.offsetParent:null}function se(t){for(var e=zt(t),n=oe(t);n&&ee(n)&&"static"===te(n).position;)n=oe(n);return n&&("html"===Nt(n)||"body"===Nt(n)&&"static"===te(n).position)?e:n||function(t){var e=/firefox/i.test(Ut());if(/Trident/i.test(Ut())&&Bt(t)&&"fixed"===te(t).position)return null;var n=ie(t);for(qt(n)&&(n=n.host);Bt(n)&&["html","body"].indexOf(Nt(n))<0;){var i=te(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}function re(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function ae(t,e,n){return Xt(t,Yt(e,n))}function le(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function ce(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}const de={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,o=t.options,s=n.elements.arrow,r=n.modifiersData.popperOffsets,a=Vt(n.placement),l=re(a),c=[vt,bt].indexOf(a)>=0?"height":"width";if(s&&r){var d=function(t,e){return le("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:ce(t,_t))}(o.padding,n),u=Gt(s),f="y"===l?gt:vt,h="y"===l?mt:bt,p=n.rects.reference[c]+n.rects.reference[l]-r[l]-n.rects.popper[c],g=r[l]-n.rects.reference[l],m=se(s),b=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,v=p/2-g/2,y=d[f],_=b-u[c]-d[h],w=b/2-u[c]/2+v,x=ae(y,w,_),C=l;n.modifiersData[i]=((e={})[C]=x,e.centerOffset=x-w,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&Jt(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ue(t){return t.split("-")[1]}var fe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function he(t){var e,n=t.popper,i=t.popperRect,o=t.placement,s=t.variation,r=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,d=t.roundOffsets,u=t.isFixed,f=r.x,h=void 0===f?0:f,p=r.y,g=void 0===p?0:p,m="function"==typeof d?d({x:h,y:g}):{x:h,y:g};h=m.x,g=m.y;var b=r.hasOwnProperty("x"),v=r.hasOwnProperty("y"),y=vt,_=gt,w=window;if(c){var x=se(n),C="clientHeight",T="clientWidth";x===zt(n)&&"static"!==te(x=ne(n)).position&&"absolute"===a&&(C="scrollHeight",T="scrollWidth"),(o===gt||(o===vt||o===bt)&&s===xt)&&(_=mt,g-=(u&&x===w&&w.visualViewport?w.visualViewport.height:x[C])-i.height,g*=l?1:-1),o!==vt&&(o!==gt&&o!==mt||s!==xt)||(y=bt,h-=(u&&x===w&&w.visualViewport?w.visualViewport.width:x[T])-i.width,h*=l?1:-1)}var E,A=Object.assign({position:a},c&&fe),S=!0===d?function(t){var e=t.x,n=t.y,i=window.devicePixelRatio||1;return{x:Qt(e*i)/i||0,y:Qt(n*i)/i||0}}({x:h,y:g}):{x:h,y:g};return h=S.x,g=S.y,l?Object.assign({},A,((E={})[_]=v?"0":"",E[y]=b?"0":"",E.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",E)):Object.assign({},A,((e={})[_]=v?g+"px":"",e[y]=b?h+"px":"",e.transform="",e))}const pe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,o=void 0===i||i,s=n.adaptive,r=void 0===s||s,a=n.roundOffsets,l=void 0===a||a,c={placement:Vt(e.placement),variation:ue(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,he(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,he(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})},data:{}};var ge={passive:!0};const me={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,o=i.scroll,s=void 0===o||o,r=i.resize,a=void 0===r||r,l=zt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach((function(t){t.addEventListener("scroll",n.update,ge)})),a&&l.addEventListener("resize",n.update,ge),function(){s&&c.forEach((function(t){t.removeEventListener("scroll",n.update,ge)})),a&&l.removeEventListener("resize",n.update,ge)}},data:{}};var be={left:"right",right:"left",bottom:"top",top:"bottom"};function ve(t){return t.replace(/left|right|bottom|top/g,(function(t){return be[t]}))}var ye={start:"end",end:"start"};function _e(t){return t.replace(/start|end/g,(function(t){return ye[t]}))}function we(t){var e=zt(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function xe(t){return Zt(ne(t)).left+we(t).scrollLeft}function Ce(t){var e=te(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function Te(t){return["html","body","#document"].indexOf(Nt(t))>=0?t.ownerDocument.body:Bt(t)&&Ce(t)?t:Te(ie(t))}function Ee(t,e){var n;void 0===e&&(e=[]);var i=Te(t),o=i===(null==(n=t.ownerDocument)?void 0:n.body),s=zt(i),r=o?[s].concat(s.visualViewport||[],Ce(i)?i:[]):i,a=e.concat(r);return o?a:a.concat(Ee(ie(r)))}function Ae(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Se(t,e,n){return e===Tt?Ae(function(t,e){var n=zt(t),i=ne(t),o=n.visualViewport,s=i.clientWidth,r=i.clientHeight,a=0,l=0;if(o){s=o.width,r=o.height;var c=Kt();(c||!c&&"fixed"===e)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:r,x:a+xe(t),y:l}}(t,n)):Rt(e)?function(t,e){var n=Zt(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}(e,n):Ae(function(t){var e,n=ne(t),i=we(t),o=null==(e=t.ownerDocument)?void 0:e.body,s=Xt(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),r=Xt(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+xe(t),l=-i.scrollTop;return"rtl"===te(o||n).direction&&(a+=Xt(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:r,x:a,y:l}}(ne(t)))}function Oe(t){var e,n=t.reference,i=t.element,o=t.placement,s=o?Vt(o):null,r=o?ue(o):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(s){case gt:e={x:a,y:n.y-i.height};break;case mt:e={x:a,y:n.y+n.height};break;case bt:e={x:n.x+n.width,y:l};break;case vt:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var c=s?re(s):null;if(null!=c){var d="y"===c?"height":"width";switch(r){case wt:e[c]=e[c]-(n[d]/2-i[d]/2);break;case xt:e[c]=e[c]+(n[d]/2-i[d]/2)}}return e}function Pe(t,e){void 0===e&&(e={});var n=e,i=n.placement,o=void 0===i?t.placement:i,s=n.strategy,r=void 0===s?t.strategy:s,a=n.boundary,l=void 0===a?Ct:a,c=n.rootBoundary,d=void 0===c?Tt:c,u=n.elementContext,f=void 0===u?Et:u,h=n.altBoundary,p=void 0!==h&&h,g=n.padding,m=void 0===g?0:g,b=le("number"!=typeof m?m:ce(m,_t)),v=f===Et?At:Et,y=t.rects.popper,_=t.elements[p?v:f],w=function(t,e,n,i){var o="clippingParents"===e?function(t){var e=Ee(ie(t)),n=["absolute","fixed"].indexOf(te(t).position)>=0&&Bt(t)?se(t):t;return Rt(n)?e.filter((function(t){return Rt(t)&&Jt(t,n)&&"body"!==Nt(t)})):[]}(t):[].concat(e),s=[].concat(o,[n]),r=s[0],a=s.reduce((function(e,n){var o=Se(t,n,i);return e.top=Xt(o.top,e.top),e.right=Yt(o.right,e.right),e.bottom=Yt(o.bottom,e.bottom),e.left=Xt(o.left,e.left),e}),Se(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}(Rt(_)?_:_.contextElement||ne(t.elements.popper),l,d,r),x=Zt(t.elements.reference),C=Oe({reference:x,element:y,strategy:"absolute",placement:o}),T=Ae(Object.assign({},y,C)),E=f===Et?T:x,A={top:w.top-E.top+b.top,bottom:E.bottom-w.bottom+b.bottom,left:w.left-E.left+b.left,right:E.right-w.right+b.right},S=t.modifiersData.offset;if(f===Et&&S){var O=S[o];Object.keys(A).forEach((function(t){var e=[bt,mt].indexOf(t)>=0?1:-1,n=[gt,mt].indexOf(t)>=0?"y":"x";A[t]+=O[n]*e}))}return A}const $e={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var o=n.mainAxis,s=void 0===o||o,r=n.altAxis,a=void 0===r||r,l=n.fallbackPlacements,c=n.padding,d=n.boundary,u=n.rootBoundary,f=n.altBoundary,h=n.flipVariations,p=void 0===h||h,g=n.allowedAutoPlacements,m=e.options.placement,b=Vt(m),v=l||(b!==m&&p?function(t){if(Vt(t)===yt)return[];var e=ve(t);return[_e(t),e,_e(e)]}(m):[ve(m)]),y=[m].concat(v).reduce((function(t,n){return t.concat(Vt(n)===yt?function(t,e){void 0===e&&(e={});var n=e,i=n.placement,o=n.boundary,s=n.rootBoundary,r=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Ot:l,d=ue(i),u=d?a?St:St.filter((function(t){return ue(t)===d})):_t,f=u.filter((function(t){return c.indexOf(t)>=0}));0===f.length&&(f=u);var h=f.reduce((function(e,n){return e[n]=Pe(t,{placement:n,boundary:o,rootBoundary:s,padding:r})[Vt(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}(e,{placement:n,boundary:d,rootBoundary:u,padding:c,flipVariations:p,allowedAutoPlacements:g}):n)}),[]),_=e.rects.reference,w=e.rects.popper,x=new Map,C=!0,T=y[0],E=0;E=0,k=P?"width":"height",L=Pe(e,{placement:A,boundary:d,rootBoundary:u,altBoundary:f,padding:c}),D=P?O?bt:vt:O?mt:gt;_[k]>w[k]&&(D=ve(D));var M=ve(D),I=[];if(s&&I.push(L[S]<=0),a&&I.push(L[D]<=0,L[M]<=0),I.every((function(t){return t}))){T=A,C=!1;break}x.set(A,I)}if(C)for(var j=function(t){var e=y.find((function(e){var n=x.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return T=e,"break"},F=p?3:1;F>0&&"break"!==j(F);F--);e.placement!==T&&(e.modifiersData[i]._skip=!0,e.placement=T,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ke(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 Le(t){return[gt,bt,mt,vt].some((function(e){return t[e]>=0}))}const De={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,o=e.rects.popper,s=e.modifiersData.preventOverflow,r=Pe(e,{elementContext:"reference"}),a=Pe(e,{altBoundary:!0}),l=ke(r,i),c=ke(a,o,s),d=Le(l),u=Le(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}},Me={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,o=n.offset,s=void 0===o?[0,0]:o,r=Ot.reduce((function(t,n){return t[n]=function(t,e,n){var i=Vt(t),o=[vt,gt].indexOf(i)>=0?-1:1,s="function"==typeof n?n(Object.assign({},e,{placement:t})):n,r=s[0],a=s[1];return r=r||0,a=(a||0)*o,[vt,bt].indexOf(i)>=0?{x:a,y:r}:{x:r,y:a}}(n,e.rects,s),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}},Ie={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=Oe({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},je={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,o=n.mainAxis,s=void 0===o||o,r=n.altAxis,a=void 0!==r&&r,l=n.boundary,c=n.rootBoundary,d=n.altBoundary,u=n.padding,f=n.tether,h=void 0===f||f,p=n.tetherOffset,g=void 0===p?0:p,m=Pe(e,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),b=Vt(e.placement),v=ue(e.placement),y=!v,_=re(b),w="x"===_?"y":"x",x=e.modifiersData.popperOffsets,C=e.rects.reference,T=e.rects.popper,E="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,A="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),S=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,O={x:0,y:0};if(x){if(s){var P,k="y"===_?gt:vt,L="y"===_?mt:bt,D="y"===_?"height":"width",M=x[_],I=M+m[k],j=M-m[L],F=h?-T[D]/2:0,H=v===wt?C[D]:T[D],$=v===wt?-T[D]:-C[D],N=e.elements.arrow,z=h&&N?Gt(N):{width:0,height:0},R=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=R[k],q=R[L],W=ae(0,C[D],z[D]),V=y?C[D]/2-F-W-B-A.mainAxis:H-W-B-A.mainAxis,X=y?-C[D]/2+F+W+q+A.mainAxis:$+W+q+A.mainAxis,Y=e.elements.arrow&&se(e.elements.arrow),Q=Y?"y"===_?Y.clientTop||0:Y.clientLeft||0:0,U=null!=(P=null==S?void 0:S[_])?P:0,K=M+X-U,Z=ae(h?Yt(I,M+V-U-Q):I,M,h?Xt(j,K):j);x[_]=Z,O[_]=Z-M}if(a){var G,J="x"===_?gt:vt,tt="x"===_?mt:bt,et=x[w],nt="y"===w?"height":"width",it=et+m[J],ot=et-m[tt],st=-1!==[gt,vt].indexOf(b),rt=null!=(G=null==S?void 0:S[w])?G:0,at=st?it:et-C[nt]-T[nt]-rt+A.altAxis,lt=st?et+C[nt]+T[nt]-rt-A.altAxis:ot,ct=h&&st?function(t,e,n){var i=ae(t,e,n);return i>n?n:i}(at,et,lt):ae(h?at:it,et,h?lt:ot);x[w]=ct,O[w]=ct-et}e.modifiersData[i]=O}},requiresIfExists:["offset"]};function Fe(t,e,n){void 0===n&&(n=!1);var i,o,s=Bt(e),r=Bt(e)&&function(t){var e=t.getBoundingClientRect(),n=Qt(e.width)/t.offsetWidth||1,i=Qt(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),a=ne(e),l=Zt(t,r,n),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(s||!s&&!n)&&(("body"!==Nt(e)||Ce(a))&&(c=(i=e)!==zt(i)&&Bt(i)?{scrollLeft:(o=i).scrollLeft,scrollTop:o.scrollTop}:we(i)),Bt(e)?((d=Zt(e,!0)).x+=e.clientLeft,d.y+=e.clientTop):a&&(d.x=xe(a))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function He(t){var e=new Map,n=new Set,i=[];function o(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&o(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||o(t)})),i}var Ne={placement:"bottom",modifiers:[],strategy:"absolute"};function ze(){for(var t=arguments.length,e=new Array(t),n=0;nNumber.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)&&(z.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const n=Y.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>a(t)));n.length&&v(n,e,t===Qe,!n.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=dn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=Y.find(Je);for(const n of e){const e=dn.getInstance(n);if(!e||!1===e._config.autoClose)continue;const i=t.composedPath(),o=i.includes(e._menu);if(i.includes(e._element)||"inside"===e._config.autoClose&&!o||"outside"===e._config.autoClose&&o)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const s={relatedTarget:e._element};"click"===t.type&&(s.clickEvent=t),e._completeHide(s)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),n="Escape"===t.key,i=[Ye,Qe].includes(t.key);if(!i&&!n)return;if(e&&!n)return;t.preventDefault();const o=this.matches(Ge)?this:Y.prev(this,Ge)[0]||Y.next(this,Ge)[0]||Y.findOne(Ge,t.delegateTarget.parentNode),s=dn.getOrCreateInstance(o);if(i)return t.stopPropagation(),s.show(),void s._selectMenuItem(t);s._isShown()&&(t.stopPropagation(),s.hide(),o.focus())}}I.on(document,Ke,Ge,dn.dataApiKeydownHandler),I.on(document,Ke,tn,dn.dataApiKeydownHandler),I.on(document,Ue,dn.clearMenus),I.on(document,"keyup.bs.dropdown.data-api",dn.clearMenus),I.on(document,Ue,Ge,(function(t){t.preventDefault(),dn.getOrCreateInstance(this).toggle()})),g(dn);const un=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",fn=".sticky-top",hn="padding-right",pn="margin-right";class gn{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,hn,(e=>e+t)),this._setElementAttributes(un,hn,(e=>e+t)),this._setElementAttributes(fn,pn,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,hn),this._resetElementAttributes(un,hn),this._resetElementAttributes(fn,pn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,n){const i=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+i)return;this._saveInitialAttribute(t,e);const o=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${n(Number.parseFloat(o))}px`)}))}_saveInitialAttribute(t,e){const n=t.style.getPropertyValue(e);n&&z.setDataAttribute(t,e,n)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const n=z.getDataAttribute(t,e);null!==n?(z.removeDataAttribute(t,e),t.style.setProperty(e,n)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(s(t))e(t);else for(const n of Y.find(t,this._element))e(n)}}const mn="show",bn="mousedown.bs.backdrop",vn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},yn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class _n extends R{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return vn}static get DefaultType(){return yn}static get NAME(){return"backdrop"}show(t){if(!this._config.isVisible)return void m(t);this._append();const e=this._getElement();this._config.isAnimated&&u(e),e.classList.add(mn),this._emulateAnimation((()=>{m(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(mn),this._emulateAnimation((()=>{this.dispose(),m(t)}))):m(t)}dispose(){this._isAppended&&(I.off(this._element,bn),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("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=r(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),I.on(t,bn,(()=>{m(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){b(t,this._getElement(),this._config.isAnimated)}}const wn=".bs.focustrap",xn="backward",Cn={autofocus:!0,trapElement:null},Tn={autofocus:"boolean",trapElement:"element"};class En extends R{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Cn}static get DefaultType(){return Tn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),I.off(document,wn),I.on(document,"focusin.bs.focustrap",(t=>this._handleFocusin(t))),I.on(document,"keydown.tab.bs.focustrap",(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,I.off(document,wn))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const n=Y.focusableChildren(e);0===n.length?e.focus():this._lastTabNavDirection===xn?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?xn:"forward")}}const An="hidden.bs.modal",Sn="show.bs.modal",On="modal-open",Pn="show",$n="modal-static",kn={backdrop:!0,focus:!0,keyboard:!0},Ln={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Dn extends B{constructor(t,e){super(t,e),this._dialog=Y.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new gn,this._addEventListeners()}static get Default(){return kn}static get DefaultType(){return Ln}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||I.trigger(this._element,Sn,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(On),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){this._isShown&&!this._isTransitioning&&(I.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Pn),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){for(const t of[window,this._dialog])I.off(t,".bs.modal");this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new _n({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new En({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=Y.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),u(this._element),this._element.classList.add(Pn),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,I.trigger(this._element,"shown.bs.modal",{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){I.on(this._element,"keydown.dismiss.bs.modal",(t=>{if("Escape"===t.key)return this._config.keyboard?(t.preventDefault(),void this.hide()):void this._triggerBackdropTransition()})),I.on(window,"resize.bs.modal",(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),I.on(this._element,"mousedown.dismiss.bs.modal",(t=>{I.one(this._element,"click.dismiss.bs.modal",(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(On),this._resetAdjustments(),this._scrollBar.reset(),I.trigger(this._element,An)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(I.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains($n)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add($n),this._queueCallback((()=>{this._element.classList.remove($n),this._queueCallback((()=>{this._element.style.overflowY=e}),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=p()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!n&&t){const t=p()?"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=Dn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t](e)}}))}}I.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(t){const e=i(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),I.one(e,Sn,(t=>{t.defaultPrevented||I.one(e,An,(()=>{a(this)&&this.focus()}))}));const n=Y.findOne(".modal.show");n&&Dn.getInstance(n).hide(),Dn.getOrCreateInstance(e).toggle(this)})),q(Dn),g(Dn);const Mn="show",In="showing",jn="hiding",Fn=".offcanvas.show",Hn="hidePrevented.bs.offcanvas",Nn="hidden.bs.offcanvas",zn={backdrop:!0,keyboard:!0,scroll:!1},Rn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Bn extends B{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return zn}static get DefaultType(){return Rn}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||I.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new gn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(In),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Mn),this._element.classList.remove(In),I.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})}),this._element,!0))}hide(){this._isShown&&(I.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(jn),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(Mn,jn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new gn).reset(),I.trigger(this._element,Nn)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new _n({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():I.trigger(this._element,Hn)}:null})}_initializeFocusTrap(){return new En({trapElement:this._element})}_addEventListeners(){I.on(this._element,"keydown.dismiss.bs.offcanvas",(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():I.trigger(this._element,Hn))}))}static jQueryInterface(t){return this.each((function(){const e=Bn.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)}}))}}I.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(t){const e=i(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this))return;I.one(e,Nn,(()=>{a(this)&&this.focus()}));const n=Y.findOne(Fn);n&&n!==e&&Bn.getInstance(n).hide(),Bn.getOrCreateInstance(e).toggle(this)})),I.on(window,"load.bs.offcanvas.data-api",(()=>{for(const t of Y.find(Fn))Bn.getOrCreateInstance(t).show()})),I.on(window,"resize.bs.offcanvas",(()=>{for(const t of Y.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&Bn.getOrCreateInstance(t).hide()})),q(Bn),g(Bn);const qn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Wn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Vn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Xn=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?!qn.has(n)||Boolean(Wn.test(t.nodeValue)||Vn.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(n)))},Yn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],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:[]},Qn={allowList:Yn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:""},Un={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Kn={entry:"(string|element|function|null)",selector:"(string|element)"};class Zn extends R{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Qn}static get DefaultType(){return Un}static get NAME(){return"TemplateFactory"}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[e,n]of Object.entries(this._config.content))this._setContent(t,n,e);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},Kn)}_setContent(t,e,n){const i=Y.findOne(n,t);i&&((e=this._resolvePossibleFunction(e))?s(e)?this._putElementInTemplate(r(e),i):this._config.html?i.innerHTML=this._maybeSanitize(e):i.textContent=e:i.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,n){if(!t.length)return t;if(n&&"function"==typeof n)return n(t);const i=(new window.DOMParser).parseFromString(t,"text/html"),o=[].concat(...i.body.querySelectorAll("*"));for(const t of o){const n=t.nodeName.toLowerCase();if(!Object.keys(e).includes(n)){t.remove();continue}const i=[].concat(...t.attributes),o=[].concat(e["*"]||[],e[n]||[]);for(const e of i)Xn(e,o)||t.removeAttribute(e.nodeName)}return i.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return"function"==typeof t?t(this):t}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const Gn=new Set(["sanitize","allowList","sanitizeFn"]),Jn="fade",ti="show",ei=".modal",ni="hide.bs.modal",ii="hover",oi="focus",si={AUTO:"auto",TOP:"top",RIGHT:p()?"left":"right",BOTTOM:"bottom",LEFT:p()?"right":"left"},ri={allowList:Yn,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'
',title:"",trigger:"hover focus"},ai={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 li extends B{constructor(t,e){if(void 0===Ve)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 ri}static get DefaultType(){return ai}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),I.off(this._element.closest(ei),ni,this._hideModalHandler),this.tip&&this.tip.remove(),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=I.trigger(this._element,this.constructor.eventName("show")),e=(c(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this.tip&&(this.tip.remove(),this.tip=null);const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(n),I.trigger(this._element,this.constructor.eventName("inserted"))),this._popper?this._popper.update():this._popper=this._createPopper(n),n.classList.add(ti),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))I.on(t,"mouseover",d);this._queueCallback((()=>{I.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(I.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;const t=this._getTipElement();if(t.classList.remove(ti),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))I.off(t,"mouseover",d);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||t.remove(),this._element.removeAttribute("aria-describedby"),I.trigger(this._element,this.constructor.eventName("hidden")),this._disposePopper())}),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(Jn,ti),e.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",n),this._isAnimated()&&e.classList.add(Jn),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Zn({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Jn)}_isShown(){return this.tip&&this.tip.classList.contains(ti)}_createPopper(t){const e="function"==typeof this._config.placement?this._config.placement.call(this,t,this._element):this._config.placement,n=si[e.toUpperCase()];return We(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"function"==typeof t?t.call(this._element):t}_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,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)I.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===ii?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=e===ii?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");I.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?oi:ii]=!0,e._enter()})),I.on(this._element,n,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?oi:ii]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},I.on(this._element.closest(ei),ni,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=z.getDataAttributes(this._element);for(const t of Object.keys(e))Gn.has(t)&&delete e[t];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:r(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 in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(t){return this.each((function(){const e=li.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}g(li);const ci={...li.Default,content:"",offset:[0,8],placement:"right",template:'
',trigger:"click"},di={...li.DefaultType,content:"(null|string|element|function)"};class ui extends li{static get Default(){return ci}static get DefaultType(){return di}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each((function(){const e=ui.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}g(ui);const fi="click.bs.scrollspy",hi="active",pi="[href]",gi={offset:null,
rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},mi={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class bi extends B{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 gi}static get DefaultType(){return mi}static get NAME(){return"scrollspy"}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=r(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&&(I.off(this._config.target,fi),I.on(this._config.target,fi,pi,(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,o=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const s of t){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(s));continue}const t=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&t){if(n(s),!i)return}else o||t||n(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=Y.find(pi,this._config.target);for(const e of t){if(!e.hash||l(e))continue;const t=Y.findOne(e.hash,this._element);a(t)&&(this._targetLinks.set(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(hi),this._activateParents(t),I.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))Y.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(hi);else for(const e of Y.parents(t,".nav, .list-group"))for(const t of Y.prev(e,".nav-link, .nav-item > .nav-link, .list-group-item"))t.classList.add(hi)}_clearActiveClass(t){t.classList.remove(hi);const e=Y.find("[href].active",t);for(const t of e)t.classList.remove(hi)}static jQueryInterface(t){return this.each((function(){const e=bi.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]()}}))}}I.on(window,"load.bs.scrollspy.data-api",(()=>{for(const t of Y.find('[data-bs-spy="scroll"]'))bi.getOrCreateInstance(t)})),g(bi);const vi="ArrowLeft",yi="ArrowRight",_i="ArrowUp",wi="ArrowDown",xi="active",Ci="fade",Ti="show",Ei='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ai=`.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), ${Ei}`;class Si extends B{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),I.on(this._element,"keydown.bs.tab",(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),n=e?I.trigger(e,"hide.bs.tab",{relatedTarget:t}):null;I.trigger(t,"show.bs.tab",{relatedTarget:e}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){t&&(t.classList.add(xi),this._activate(i(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),I.trigger(t,"shown.bs.tab",{relatedTarget:e})):t.classList.add(Ti)}),t,t.classList.contains(Ci)))}_deactivate(t,e){t&&(t.classList.remove(xi),t.blur(),this._deactivate(i(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),I.trigger(t,"hidden.bs.tab",{relatedTarget:e})):t.classList.remove(Ti)}),t,t.classList.contains(Ci)))}_keydown(t){if(![vi,yi,_i,wi].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=[yi,wi].includes(t.key),n=v(this._getChildren().filter((t=>!l(t))),t.target,e,!0);n&&(n.focus({preventScroll:!0}),Si.getOrCreateInstance(n).show())}_getChildren(){return Y.find(Ai,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_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=i(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("dropdown"))return;const i=(t,i)=>{const o=Y.findOne(t,n);o&&o.classList.toggle(i,e)};i(".dropdown-toggle",xi),i(".dropdown-menu",Ti),n.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,n){t.hasAttribute(e)||t.setAttribute(e,n)}_elemIsActive(t){return t.classList.contains(xi)}_getInnerElement(t){return t.matches(Ai)?t:Y.findOne(Ai,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=Si.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}I.on(document,"click.bs.tab",Ei,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),l(this)||Si.getOrCreateInstance(this).show()})),I.on(window,"load.bs.tab",(()=>{for(const t of Y.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))Si.getOrCreateInstance(t)})),g(Si);const Oi="hide",Pi="show",$i="showing",ki={animation:"boolean",autohide:"boolean",delay:"number"},Li={animation:!0,autohide:!0,delay:5e3};class Di extends B{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Li}static get DefaultType(){return ki}static get NAME(){return"toast"}show(){I.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Oi),u(this._element),this._element.classList.add(Pi,$i),this._queueCallback((()=>{this._element.classList.remove($i),I.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(I.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add($i),this._queueCallback((()=>{this._element.classList.add(Oi),this._element.classList.remove($i,Pi),I.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Pi),super.dispose()}isShown(){return this._element.classList.contains(Pi)}_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}if(e)return void this._clearTimeout();const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){I.on(this._element,"mouseover.bs.toast",(t=>this._onInteraction(t,!0))),I.on(this._element,"mouseout.bs.toast",(t=>this._onInteraction(t,!1))),I.on(this._element,"focusin.bs.toast",(t=>this._onInteraction(t,!0))),I.on(this._element,"focusout.bs.toast",(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Di.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}return q(Di),g(Di),{Alert:W,Button:X,Carousel:at,Collapse:pt,Dropdown:dn,Modal:Dn,Offcanvas:Bn,Popover:ui,ScrollSpy:bi,Tab:Si,Toast:Di,Tooltip:li}})),isMobile(),setVH(),jQuery(document).ready((function($){})),jQuery(document).ready((function($){}));