File "bootstrap-bundle.min.js"

Full Path: /home/humancap/cl.humancap.com.my/admin/assets/javascripts/bootstrap/dist/bootstrap-bundle.min.js
File size: 95.11 KB
MIME-type: text/plain
Charset: utf-8

/*! For license information please see bootstrap-bundle.min.js.LICENSE.txt */
(()=>{"use strict";var e={d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{afterMain:()=>w,afterRead:()=>_,afterWrite:()=>E,applyStyles:()=>P,arrow:()=>G,auto:()=>a,basePlacements:()=>s,beforeMain:()=>y,beforeRead:()=>g,beforeWrite:()=>k,bottom:()=>i,clippingParents:()=>u,computeStyles:()=>te,createPopper:()=>Pe,createPopperBase:()=>Se,createPopperLite:()=>je,detectOverflow:()=>ge,end:()=>l,eventListeners:()=>ie,flip:()=>me,hide:()=>be,left:()=>r,main:()=>b,modifierPhases:()=>O,offset:()=>we,placements:()=>v,popper:()=>h,popperGenerator:()=>xe,popperOffsets:()=>ke,preventOverflow:()=>Ae,read:()=>m,reference:()=>d,right:()=>o,start:()=>c,top:()=>n,variationPlacements:()=>p,viewport:()=>f,write:()=>A});var n="top",i="bottom",o="right",r="left",a="auto",s=[n,i,o,r],c="start",l="end",u="clippingParents",f="viewport",h="popper",d="reference",p=s.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+l])}),[]),v=[].concat(s,[a]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+l])}),[]),g="beforeRead",m="read",_="afterRead",y="beforeMain",b="main",w="afterMain",k="beforeWrite",A="write",E="afterWrite",O=[g,m,_,y,b,w,k,A,E];function T(e){return e?(e.nodeName||"").toLowerCase():null}function C(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function x(e){return e instanceof C(e).Element||e instanceof Element}function L(e){return e instanceof C(e).HTMLElement||e instanceof HTMLElement}function S(e){return"undefined"!=typeof ShadowRoot&&(e instanceof C(e).ShadowRoot||e instanceof ShadowRoot)}const P={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},o=t.elements[e];L(o)&&T(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],o=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});L(i)&&T(i)&&(Object.assign(i.style,r),Object.keys(o).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function j(e){return e.split("-")[0]}var D=Math.max,I=Math.min,N=Math.round;function M(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function H(){return!/^((?!chrome|android).)*safari/i.test(M())}function B(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),o=1,r=1;t&&L(e)&&(o=e.offsetWidth>0&&N(i.width)/e.offsetWidth||1,r=e.offsetHeight>0&&N(i.height)/e.offsetHeight||1);var a=(x(e)?C(e):window).visualViewport,s=!H()&&n,c=(i.left+(s&&a?a.offsetLeft:0))/o,l=(i.top+(s&&a?a.offsetTop:0))/r,u=i.width/o,f=i.height/r;return{width:u,height:f,top:l,right:c+u,bottom:l+f,left:c,x:c,y:l}}function W(e){var t=B(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function F(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&S(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function R(e){return C(e).getComputedStyle(e)}function z(e){return["table","td","th"].indexOf(T(e))>=0}function q(e){return((x(e)?e.ownerDocument:e.document)||window.document).documentElement}function V(e){return"html"===T(e)?e:e.assignedSlot||e.parentNode||(S(e)?e.host:null)||q(e)}function K(e){return L(e)&&"fixed"!==R(e).position?e.offsetParent:null}function Q(e){for(var t=C(e),n=K(e);n&&z(n)&&"static"===R(n).position;)n=K(n);return n&&("html"===T(n)||"body"===T(n)&&"static"===R(n).position)?t:n||function(e){var t=/firefox/i.test(M());if(/Trident/i.test(M())&&L(e)&&"fixed"===R(e).position)return null;var n=V(e);for(S(n)&&(n=n.host);L(n)&&["html","body"].indexOf(T(n))<0;){var i=R(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function X(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Y(e,t,n){return D(e,I(t,n))}function U(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function $(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const G={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,a=e.state,c=e.name,l=e.options,u=a.elements.arrow,f=a.modifiersData.popperOffsets,h=j(a.placement),d=X(h),p=[r,o].indexOf(h)>=0?"height":"width";if(u&&f){var v=function(e,t){return U("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:$(e,s))}(l.padding,a),g=W(u),m="y"===d?n:r,_="y"===d?i:o,y=a.rects.reference[p]+a.rects.reference[d]-f[d]-a.rects.popper[p],b=f[d]-a.rects.reference[d],w=Q(u),k=w?"y"===d?w.clientHeight||0:w.clientWidth||0:0,A=y/2-b/2,E=v[m],O=k-g[p]-v[_],T=k/2-g[p]/2+A,C=Y(E,T,O),x=d;a.modifiersData[c]=((t={})[x]=C,t.centerOffset=C-T,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&F(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function J(e){return e.split("-")[1]}var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ee(e){var t,a=e.popper,s=e.popperRect,c=e.placement,u=e.variation,f=e.offsets,h=e.position,d=e.gpuAcceleration,p=e.adaptive,v=e.roundOffsets,g=e.isFixed,m=f.x,_=void 0===m?0:m,y=f.y,b=void 0===y?0:y,w="function"==typeof v?v({x:_,y:b}):{x:_,y:b};_=w.x,b=w.y;var k=f.hasOwnProperty("x"),A=f.hasOwnProperty("y"),E=r,O=n,T=window;if(p){var x=Q(a),L="clientHeight",S="clientWidth";x===C(a)&&"static"!==R(x=q(a)).position&&"absolute"===h&&(L="scrollHeight",S="scrollWidth"),(c===n||(c===r||c===o)&&u===l)&&(O=i,b-=(g&&x===T&&T.visualViewport?T.visualViewport.height:x[L])-s.height,b*=d?1:-1),c!==r&&(c!==n&&c!==i||u!==l)||(E=o,_-=(g&&x===T&&T.visualViewport?T.visualViewport.width:x[S])-s.width,_*=d?1:-1)}var P,j=Object.assign({position:h},p&&Z),D=!0===v?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:N(t*i)/i||0,y:N(n*i)/i||0}}({x:_,y:b}):{x:_,y:b};return _=D.x,b=D.y,d?Object.assign({},j,((P={})[O]=A?"0":"",P[E]=k?"0":"",P.transform=(T.devicePixelRatio||1)<=1?"translate("+_+"px, "+b+"px)":"translate3d("+_+"px, "+b+"px, 0)",P)):Object.assign({},j,((t={})[O]=A?b+"px":"",t[E]=k?_+"px":"",t.transform="",t))}const te={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,o=void 0===i||i,r=n.adaptive,a=void 0===r||r,s=n.roundOffsets,c=void 0===s||s,l={placement:j(t.placement),variation:J(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ee(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ee(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ne={passive:!0};const ie={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,r=void 0===o||o,a=i.resize,s=void 0===a||a,c=C(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&l.forEach((function(e){e.addEventListener("scroll",n.update,ne)})),s&&c.addEventListener("resize",n.update,ne),function(){r&&l.forEach((function(e){e.removeEventListener("scroll",n.update,ne)})),s&&c.removeEventListener("resize",n.update,ne)}},data:{}};var oe={left:"right",right:"left",bottom:"top",top:"bottom"};function re(e){return e.replace(/left|right|bottom|top/g,(function(e){return oe[e]}))}var ae={start:"end",end:"start"};function se(e){return e.replace(/start|end/g,(function(e){return ae[e]}))}function ce(e){var t=C(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function le(e){return B(q(e)).left+ce(e).scrollLeft}function ue(e){var t=R(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function fe(e){return["html","body","#document"].indexOf(T(e))>=0?e.ownerDocument.body:L(e)&&ue(e)?e:fe(V(e))}function he(e,t){var n;void 0===t&&(t=[]);var i=fe(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),r=C(i),a=o?[r].concat(r.visualViewport||[],ue(i)?i:[]):i,s=t.concat(a);return o?s:s.concat(he(V(a)))}function de(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pe(e,t,n){return t===f?de(function(e,t){var n=C(e),i=q(e),o=n.visualViewport,r=i.clientWidth,a=i.clientHeight,s=0,c=0;if(o){r=o.width,a=o.height;var l=H();(l||!l&&"fixed"===t)&&(s=o.offsetLeft,c=o.offsetTop)}return{width:r,height:a,x:s+le(e),y:c}}(e,n)):x(t)?function(e,t){var n=B(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):de(function(e){var t,n=q(e),i=ce(e),o=null==(t=e.ownerDocument)?void 0:t.body,r=D(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=D(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-i.scrollLeft+le(e),c=-i.scrollTop;return"rtl"===R(o||n).direction&&(s+=D(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:a,x:s,y:c}}(q(e)))}function ve(e){var t,a=e.reference,s=e.element,u=e.placement,f=u?j(u):null,h=u?J(u):null,d=a.x+a.width/2-s.width/2,p=a.y+a.height/2-s.height/2;switch(f){case n:t={x:d,y:a.y-s.height};break;case i:t={x:d,y:a.y+a.height};break;case o:t={x:a.x+a.width,y:p};break;case r:t={x:a.x-s.width,y:p};break;default:t={x:a.x,y:a.y}}var v=f?X(f):null;if(null!=v){var g="y"===v?"height":"width";switch(h){case c:t[v]=t[v]-(a[g]/2-s[g]/2);break;case l:t[v]=t[v]+(a[g]/2-s[g]/2)}}return t}function ge(e,t){void 0===t&&(t={});var r=t,a=r.placement,c=void 0===a?e.placement:a,l=r.strategy,p=void 0===l?e.strategy:l,v=r.boundary,g=void 0===v?u:v,m=r.rootBoundary,_=void 0===m?f:m,y=r.elementContext,b=void 0===y?h:y,w=r.altBoundary,k=void 0!==w&&w,A=r.padding,E=void 0===A?0:A,O=U("number"!=typeof E?E:$(E,s)),C=b===h?d:h,S=e.rects.popper,P=e.elements[k?C:b],j=function(e,t,n,i){var o="clippingParents"===t?function(e){var t=he(V(e)),n=["absolute","fixed"].indexOf(R(e).position)>=0&&L(e)?Q(e):e;return x(n)?t.filter((function(e){return x(e)&&F(e,n)&&"body"!==T(e)})):[]}(e):[].concat(t),r=[].concat(o,[n]),a=r[0],s=r.reduce((function(t,n){var o=pe(e,n,i);return t.top=D(o.top,t.top),t.right=I(o.right,t.right),t.bottom=I(o.bottom,t.bottom),t.left=D(o.left,t.left),t}),pe(e,a,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(x(P)?P:P.contextElement||q(e.elements.popper),g,_,p),N=B(e.elements.reference),M=ve({reference:N,element:S,strategy:"absolute",placement:c}),H=de(Object.assign({},S,M)),W=b===h?H:N,z={top:j.top-W.top+O.top,bottom:W.bottom-j.bottom+O.bottom,left:j.left-W.left+O.left,right:W.right-j.right+O.right},K=e.modifiersData.offset;if(b===h&&K){var X=K[c];Object.keys(z).forEach((function(e){var t=[o,i].indexOf(e)>=0?1:-1,r=[n,i].indexOf(e)>=0?"y":"x";z[e]+=X[r]*t}))}return z}const me={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,l=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var f=l.mainAxis,h=void 0===f||f,d=l.altAxis,g=void 0===d||d,m=l.fallbackPlacements,_=l.padding,y=l.boundary,b=l.rootBoundary,w=l.altBoundary,k=l.flipVariations,A=void 0===k||k,E=l.allowedAutoPlacements,O=t.options.placement,T=j(O),C=m||(T!==O&&A?function(e){if(j(e)===a)return[];var t=re(e);return[se(e),t,se(t)]}(O):[re(O)]),x=[O].concat(C).reduce((function(e,n){return e.concat(j(n)===a?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,o=n.boundary,r=n.rootBoundary,a=n.padding,c=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?v:l,f=J(i),h=f?c?p:p.filter((function(e){return J(e)===f})):s,d=h.filter((function(e){return u.indexOf(e)>=0}));0===d.length&&(d=h);var g=d.reduce((function(t,n){return t[n]=ge(e,{placement:n,boundary:o,rootBoundary:r,padding:a})[j(n)],t}),{});return Object.keys(g).sort((function(e,t){return g[e]-g[t]}))}(t,{placement:n,boundary:y,rootBoundary:b,padding:_,flipVariations:A,allowedAutoPlacements:E}):n)}),[]),L=t.rects.reference,S=t.rects.popper,P=new Map,D=!0,I=x[0],N=0;N<x.length;N++){var M=x[N],H=j(M),B=J(M)===c,W=[n,i].indexOf(H)>=0,F=W?"width":"height",R=ge(t,{placement:M,boundary:y,rootBoundary:b,altBoundary:w,padding:_}),z=W?B?o:r:B?i:n;L[F]>S[F]&&(z=re(z));var q=re(z),V=[];if(h&&V.push(R[H]<=0),g&&V.push(R[z]<=0,R[q]<=0),V.every((function(e){return e}))){I=M,D=!1;break}P.set(M,V)}if(D)for(var K=function(e){var t=x.find((function(t){var n=P.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return I=t,"break"},Q=A?3:1;Q>0&&"break"!==K(Q);Q--);t.placement!==I&&(t.modifiersData[u]._skip=!0,t.placement=I,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function _e(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ye(e){return[n,o,i,r].some((function(t){return e[t]>=0}))}const be={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,o=t.rects.popper,r=t.modifiersData.preventOverflow,a=ge(t,{elementContext:"reference"}),s=ge(t,{altBoundary:!0}),c=_e(a,i),l=_e(s,o,r),u=ye(c),f=ye(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}},we={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,a=e.name,s=i.offset,c=void 0===s?[0,0]:s,l=v.reduce((function(e,i){return e[i]=function(e,t,i){var a=j(e),s=[r,n].indexOf(a)>=0?-1:1,c="function"==typeof i?i(Object.assign({},t,{placement:e})):i,l=c[0],u=c[1];return l=l||0,u=(u||0)*s,[r,o].indexOf(a)>=0?{x:u,y:l}:{x:l,y:u}}(i,t.rects,c),e}),{}),u=l[t.placement],f=u.x,h=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=h),t.modifiersData[a]=l}},ke={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ve({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Ae={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,a=e.options,s=e.name,l=a.mainAxis,u=void 0===l||l,f=a.altAxis,h=void 0!==f&&f,d=a.boundary,p=a.rootBoundary,v=a.altBoundary,g=a.padding,m=a.tether,_=void 0===m||m,y=a.tetherOffset,b=void 0===y?0:y,w=ge(t,{boundary:d,rootBoundary:p,padding:g,altBoundary:v}),k=j(t.placement),A=J(t.placement),E=!A,O=X(k),T="x"===O?"y":"x",C=t.modifiersData.popperOffsets,x=t.rects.reference,L=t.rects.popper,S="function"==typeof b?b(Object.assign({},t.rects,{placement:t.placement})):b,P="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(C){if(u){var H,B="y"===O?n:r,F="y"===O?i:o,R="y"===O?"height":"width",z=C[O],q=z+w[B],V=z-w[F],K=_?-L[R]/2:0,U=A===c?x[R]:L[R],$=A===c?-L[R]:-x[R],G=t.elements.arrow,Z=_&&G?W(G):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[B],ne=ee[F],ie=Y(0,x[R],Z[R]),oe=E?x[R]/2-K-ie-te-P.mainAxis:U-ie-te-P.mainAxis,re=E?-x[R]/2+K+ie+ne+P.mainAxis:$+ie+ne+P.mainAxis,ae=t.elements.arrow&&Q(t.elements.arrow),se=ae?"y"===O?ae.clientTop||0:ae.clientLeft||0:0,ce=null!=(H=null==N?void 0:N[O])?H:0,le=z+re-ce,ue=Y(_?I(q,z+oe-ce-se):q,z,_?D(V,le):V);C[O]=ue,M[O]=ue-z}if(h){var fe,he="x"===O?n:r,de="x"===O?i:o,pe=C[T],ve="y"===T?"height":"width",me=pe+w[he],_e=pe-w[de],ye=-1!==[n,r].indexOf(k),be=null!=(fe=null==N?void 0:N[T])?fe:0,we=ye?me:pe-x[ve]-L[ve]-be+P.altAxis,ke=ye?pe+x[ve]+L[ve]-be-P.altAxis:_e,Ae=_&&ye?function(e,t,n){var i=Y(e,t,n);return i>n?n:i}(we,pe,ke):Y(_?we:me,pe,_?ke:_e);C[T]=Ae,M[T]=Ae-pe}t.modifiersData[s]=M}},requiresIfExists:["offset"]};function Ee(e,t,n){void 0===n&&(n=!1);var i,o,r=L(t),a=L(t)&&function(e){var t=e.getBoundingClientRect(),n=N(t.width)/e.offsetWidth||1,i=N(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),s=q(t),c=B(e,a,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==T(t)||ue(s))&&(l=(i=t)!==C(i)&&L(i)?{scrollLeft:(o=i).scrollLeft,scrollTop:o.scrollTop}:ce(i)),L(t)?((u=B(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=le(s))),{x:c.left+l.scrollLeft-u.x,y:c.top+l.scrollTop-u.y,width:c.width,height:c.height}}function Oe(e){var t=new Map,n=new Set,i=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&o(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),i}var Te={placement:"bottom",modifiers:[],strategy:"absolute"};function Ce(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function xe(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,o=t.defaultOptions,r=void 0===o?Te:o;return function(e,t,n){void 0===n&&(n=r);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Te,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],l=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},r,s.options,o),s.scrollParents={reference:x(e)?he(e):e.contextElement?he(e.contextElement):[],popper:he(t)};var a,l,h=function(e){var t=Oe(e);return O.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(i,s.options.modifiers),l=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(l).map((function(e){return l[e]}))));return s.orderedModifiers=h.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var r=o({state:s,name:t,instance:u,options:i});c.push(r||function(){})}})),u.update()},forceUpdate:function(){if(!l){var e=s.elements,t=e.reference,n=e.popper;if(Ce(t,n)){s.rects={reference:Ee(t,Q(n),"fixed"===s.options.strategy),popper:W(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<s.orderedModifiers.length;i++)if(!0!==s.reset){var o=s.orderedModifiers[i],r=o.fn,a=o.options,c=void 0===a?{}:a,f=o.name;"function"==typeof r&&(s=r({state:s,options:c,name:f,instance:u})||s)}else s.reset=!1,i=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){f(),l=!0}};if(!Ce(e,t))return u;function f(){c.forEach((function(e){return e()})),c=[]}return u.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var Le,Se=xe(),Pe=xe({defaultModifiers:[ie,ke,te,P,we,me,Ae,G,be]}),je=xe({defaultModifiers:[ie,ke,te,P]});function De(){return De="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var i=Ie(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},De.apply(this,arguments)}function Ie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Re(e)););return e}function Ne(e){return function(e){if(Array.isArray(e))return Ge(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||$e(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Me(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&He(e,t)}function He(e,t){return He=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},He(e,t)}function Be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=Re(e);if(t){var o=Re(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return We(this,n)}}function We(e,t){if(t&&("object"===Je(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Fe(e)}function Fe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Re(e){return Re=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Re(e)}function ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(n),!0).forEach((function(t){Ve(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Xe(e,t,n){return t&&Qe(e.prototype,t),n&&Qe(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ye(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(r.push(i.value),!t||r.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return r}}(e,t)||$e(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ue(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=$e(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,r=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw r}}}}function $e(e,t){if(e){if("string"==typeof e)return Ge(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ge(e,t):void 0}}function Ge(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function Je(e){return Je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Je(e)}var Ze="transitionend",et=function(e){return null==e?"".concat(e):Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()},tt=function(e){var t=e.getAttribute("data-bs-target");if(!t||"#"===t){var n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n="#".concat(n.split("#")[1])),t=n&&"#"!==n?n.trim():null}return t},nt=function(e){var t=tt(e);return t&&document.querySelector(t)?t:null},it=function(e){var t=tt(e);return t?document.querySelector(t):null},ot=function(e){if(!e)return 0;var t=window.getComputedStyle(e),n=t.transitionDuration,i=t.transitionDelay,o=Number.parseFloat(n),r=Number.parseFloat(i);return o||r?(n=n.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(n)+Number.parseFloat(i))):0},rt=function(e){e.dispatchEvent(new Event(Ze))},at=function(e){return!(!e||"object"!==Je(e))&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType)},st=function(e){return at(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null},ct=function(e){if(!at(e)||0===e.getClientRects().length)return!1;var t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){var i=e.closest("summary");if(i&&i.parentNode!==n)return!1;if(null===i)return!1}return t},lt=function(e){return!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))},ut=function e(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var n=t.getRootNode();return n instanceof ShadowRoot?n:null}return t instanceof ShadowRoot?t:t.parentNode?e(t.parentNode):null},ft=function(){},ht=function(e){e.offsetHeight},dt=function(){return window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null},pt=[],vt=function(){return"rtl"===document.documentElement.dir},gt=function(e){var t;t=function(){var t=dt();if(t){var n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=function(){return t.fn[n]=i,e.jQueryInterface}}},"loading"===document.readyState?(pt.length||document.addEventListener("DOMContentLoaded",(function(){var e,t=Ue(pt);try{for(t.s();!(e=t.n()).done;)(0,e.value)()}catch(e){t.e(e)}finally{t.f()}})),pt.push(t)):t()},mt=function(e){"function"==typeof e&&e()},_t=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(n){var i=5,o=ot(t)+i,r=!1,a=function n(i){i.target===t&&(r=!0,t.removeEventListener(Ze,n),mt(e))};t.addEventListener(Ze,a),setTimeout((function(){r||rt(t)}),o)}else mt(e)},yt=function(e,t,n,i){var o=e.length,r=e.indexOf(t);return-1===r?!n&&i?e[o-1]:e[0]:(r+=n?1:-1,i&&(r=(r+o)%o),e[Math.max(0,Math.min(r,o-1))])},bt=/[^.]*(?=\..*)\.|.*/,wt=/\..*/,kt=/::\d+$/,At={},Et=1,Ot={mouseenter:"mouseover",mouseleave:"mouseout"},Tt=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 Ct(e,t){return t&&"".concat(t,"::").concat(Et++)||e.uidEvent||Et++}function xt(e){var t=Ct(e);return e.uidEvent=t,At[t]=At[t]||{},At[t]}function Lt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object.values(e).find((function(e){return e.callable===t&&e.delegationSelector===n}))}function St(e,t,n){var i="string"==typeof t,o=i?n:t||n,r=It(e);return Tt.has(r)||(r=e),[i,o,r]}function Pt(e,t,n,i,o){if("string"==typeof t&&e){var r=Ye(St(t,n,i),3),a=r[0],s=r[1],c=r[2];t in Ot&&(s=function(e){return function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)}}(s));var l=xt(e),u=l[c]||(l[c]={}),f=Lt(u,s,a?n:null);if(f)f.oneOff=f.oneOff&&o;else{var h=Ct(s,t.replace(bt,"")),d=a?function(e,t,n){return function i(o){for(var r=e.querySelectorAll(t),a=o.target;a&&a!==this;a=a.parentNode){var s,c=Ue(r);try{for(c.s();!(s=c.n()).done;)if(s.value===a)return Mt(o,{delegateTarget:a}),i.oneOff&&Nt.off(e,o.type,t,n),n.apply(a,[o])}catch(e){c.e(e)}finally{c.f()}}}}(e,n,s):function(e,t){return function n(i){return Mt(i,{delegateTarget:e}),n.oneOff&&Nt.off(e,i.type,t),t.apply(e,[i])}}(e,s);d.delegationSelector=a?n:null,d.callable=s,d.oneOff=o,d.uidEvent=h,u[h]=d,e.addEventListener(c,d,a)}}}function jt(e,t,n,i,o){var r=Lt(t[n],i,o);r&&(e.removeEventListener(n,r,Boolean(o)),delete t[n][r.uidEvent])}function Dt(e,t,n,i){for(var o=t[n]||{},r=0,a=Object.keys(o);r<a.length;r++){var s=a[r];if(s.includes(i)){var c=o[s];jt(e,t,n,c.callable,c.delegationSelector)}}}function It(e){return e=e.replace(wt,""),Ot[e]||e}var Nt={on:function(e,t,n,i){Pt(e,t,n,i,!1)},one:function(e,t,n,i){Pt(e,t,n,i,!0)},off:function(e,t,n,i){if("string"==typeof t&&e){var o=Ye(St(t,n,i),3),r=o[0],a=o[1],s=o[2],c=s!==t,l=xt(e),u=l[s]||{},f=t.startsWith(".");if(void 0===a){if(f)for(var h=0,d=Object.keys(l);h<d.length;h++)Dt(e,l,d[h],t.slice(1));for(var p=0,v=Object.keys(u);p<v.length;p++){var g=v[p],m=g.replace(kt,"");if(!c||t.includes(m)){var _=u[g];jt(e,l,s,_.callable,_.delegationSelector)}}}else{if(!Object.keys(u).length)return;jt(e,l,s,a,r?n:null)}}},trigger:function(e,t,n){if("string"!=typeof t||!e)return null;var i=dt(),o=null,r=!0,a=!0,s=!1;t!==It(t)&&i&&(o=i.Event(t,n),i(e).trigger(o),r=!o.isPropagationStopped(),a=!o.isImmediatePropagationStopped(),s=o.isDefaultPrevented());var c=new Event(t,{bubbles:r,cancelable:!0});return c=Mt(c,n),s&&c.preventDefault(),a&&e.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function Mt(e,t){for(var n=function(){var t=Ye(o[i],2),n=t[0],r=t[1];try{e[n]=r}catch(t){Object.defineProperty(e,n,{configurable:!0,get:function(){return r}})}},i=0,o=Object.entries(t||{});i<o.length;i++)n();return e}var Ht=new Map;function Bt(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function Wt(e){return e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())}))}var Ft=function(e,t,n){e.setAttribute("data-bs-".concat(Wt(t)),n)},Rt=function(e,t){e.removeAttribute("data-bs-".concat(Wt(t)))},zt=function(e){if(!e)return{};var t,n={},i=Object.keys(e.dataset).filter((function(e){return e.startsWith("bs")&&!e.startsWith("bsConfig")})),o=Ue(i);try{for(o.s();!(t=o.n()).done;){var r=t.value,a=r.replace(/^bs/,"");n[a=a.charAt(0).toLowerCase()+a.slice(1,a.length)]=Bt(e.dataset[r])}}catch(e){o.e(e)}finally{o.f()}return n},qt=function(e,t){return Bt(e.getAttribute("data-bs-".concat(Wt(t))))},Vt=function(){function e(){Ke(this,e)}return Xe(e,[{key:"_getConfig",value:function(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}},{key:"_configAfterMerge",value:function(e){return e}},{key:"_mergeConfigObj",value:function(e,t){var n=at(t)?qt(t,"config"):{};return qe(qe(qe(qe({},this.constructor.Default),"object"===Je(n)?n:{}),at(t)?zt(t):{}),"object"===Je(e)?e:{})}},{key:"_typeCheckConfig",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType,n=0,i=Object.keys(t);n<i.length;n++){var o=i[n],r=t[o],a=e[o],s=at(a)?"element":et(a);if(!new RegExp(r).test(s))throw new TypeError("".concat(this.constructor.NAME.toUpperCase(),': Option "').concat(o,'" provided type "').concat(s,'" but expected type "').concat(r,'".'))}}}],[{key:"Default",get:function(){return{}}},{key:"DefaultType",get:function(){return{}}},{key:"NAME",get:function(){throw new Error('You have to implement the static method "NAME", for each component!')}}]),e}(),Kt=function(e){Me(n,e);var t=Be(n);function n(e,i){var o;return Ke(this,n),o=t.call(this),(e=st(e))?(o._element=e,o._config=o._getConfig(i),function(e,t,n){Ht.has(e)||Ht.set(e,new Map);var i=Ht.get(e);i.has(t)||0===i.size?i.set(t,n):console.error("Bootstrap doesn't allow more than one instance per element. Bound instance: ".concat(Array.from(i.keys())[0],"."))}(o._element,o.constructor.DATA_KEY,Fe(o)),o):We(o)}return Xe(n,[{key:"dispose",value:function(){(function(e,t){if(Ht.has(e)){var n=Ht.get(e);n.delete(t),0===n.size&&Ht.delete(e)}})(this._element,this.constructor.DATA_KEY),Nt.off(this._element,this.constructor.EVENT_KEY);var e,t=Ue(Object.getOwnPropertyNames(this));try{for(t.s();!(e=t.n()).done;)this[e.value]=null}catch(e){t.e(e)}finally{t.f()}}},{key:"_queueCallback",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_t(e,t,n)}},{key:"_getConfig",value:function(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}}],[{key:"getInstance",value:function(e){return function(e,t){return Ht.has(e)&&Ht.get(e).get(t)||null}(st(e),this.DATA_KEY)}},{key:"getOrCreateInstance",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"===Je(t)?t:null)}},{key:"VERSION",get:function(){return"5.2.1"}},{key:"DATA_KEY",get:function(){return"bs.".concat(this.NAME)}},{key:"EVENT_KEY",get:function(){return".".concat(this.DATA_KEY)}},{key:"eventName",value:function(e){return"".concat(e).concat(this.EVENT_KEY)}}]),n}(Vt),Qt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"hide",n="click.dismiss".concat(e.EVENT_KEY),i=e.NAME;Nt.on(document,n,'[data-bs-dismiss="'.concat(i,'"]'),(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),!lt(this)){var o=it(this)||this.closest(".".concat(i));e.getOrCreateInstance(o)[t]()}}))},Xt=".".concat("bs.alert"),Yt="close".concat(Xt),Ut="closed".concat(Xt),$t=function(e){Me(n,e);var t=Be(n);function n(){return Ke(this,n),t.apply(this,arguments)}return Xe(n,[{key:"close",value:function(){var e=this;if(!Nt.trigger(this._element,Yt).defaultPrevented){this._element.classList.remove("show");var t=this._element.classList.contains("fade");this._queueCallback((function(){return e._destroyElement()}),this._element,t)}}},{key:"_destroyElement",value:function(){this._element.remove(),Nt.trigger(this._element,Ut),this.dispose()}}],[{key:"NAME",get:function(){return"alert"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}}))}}]),n}(Kt);Qt($t,"close"),gt($t);var Gt=".".concat("bs.button"),Jt='[data-bs-toggle="button"]',Zt="click".concat(Gt).concat(".data-api"),en=function(e){Me(n,e);var t=Be(n);function n(){return Ke(this,n),t.apply(this,arguments)}return Xe(n,[{key:"toggle",value:function(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}}],[{key:"NAME",get:function(){return"button"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}]),n}(Kt);Nt.on(document,Zt,Jt,(function(e){e.preventDefault();var t=e.target.closest(Jt);en.getOrCreateInstance(t).toggle()})),gt(en);var tn={find:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return(t=[]).concat.apply(t,Ne(Element.prototype.querySelectorAll.call(n,e)))},findOne:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(t,e)},children:function(e,t){var n;return(n=[]).concat.apply(n,Ne(e.children)).filter((function(e){return e.matches(t)}))},parents:function(e,t){for(var n=[],i=e.parentNode.closest(t);i;)n.push(i),i=i.parentNode.closest(t);return n},prev:function(e,t){for(var n=e.previousElementSibling;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next:function(e,t){for(var n=e.nextElementSibling;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren:function(e){var t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((function(e){return"".concat(e,':not([tabindex^="-"])')})).join(",");return this.find(t,e).filter((function(e){return!lt(e)&&ct(e)}))}},nn=".bs.swipe",on="touchstart".concat(nn),rn="touchmove".concat(nn),an="touchend".concat(nn),sn="pointerdown".concat(nn),cn="pointerup".concat(nn),ln={endCallback:null,leftCallback:null,rightCallback:null},un={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},fn=function(e){Me(n,e);var t=Be(n);function n(e,i){var o;return Ke(this,n),(o=t.call(this))._element=e,e&&n.isSupported()?(o._config=o._getConfig(i),o._deltaX=0,o._supportPointerEvents=Boolean(window.PointerEvent),o._initEvents(),o):We(o)}return Xe(n,[{key:"dispose",value:function(){Nt.off(this._element,nn)}},{key:"_start",value:function(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}},{key:"_end",value:function(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),mt(this._config.endCallback)}},{key:"_move",value:function(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}},{key:"_handleSwipe",value:function(){var e=Math.abs(this._deltaX);if(!(e<=40)){var t=e/this._deltaX;this._deltaX=0,t&&mt(t>0?this._config.rightCallback:this._config.leftCallback)}}},{key:"_initEvents",value:function(){var e=this;this._supportPointerEvents?(Nt.on(this._element,sn,(function(t){return e._start(t)})),Nt.on(this._element,cn,(function(t){return e._end(t)})),this._element.classList.add("pointer-event")):(Nt.on(this._element,on,(function(t){return e._start(t)})),Nt.on(this._element,rn,(function(t){return e._move(t)})),Nt.on(this._element,an,(function(t){return e._end(t)})))}},{key:"_eventIsPointerPenTouch",value:function(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}}],[{key:"Default",get:function(){return ln}},{key:"DefaultType",get:function(){return un}},{key:"NAME",get:function(){return"swipe"}},{key:"isSupported",value:function(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}]),n}(Vt),hn=".".concat("bs.carousel"),dn=".data-api",pn="next",vn="prev",gn="left",mn="right",_n="slide".concat(hn),yn="slid".concat(hn),bn="keydown".concat(hn),wn="mouseenter".concat(hn),kn="mouseleave".concat(hn),An="dragstart".concat(hn),En="load".concat(hn).concat(dn),On="click".concat(hn).concat(dn),Tn="carousel",Cn="active",xn="carousel-item-end",Ln="carousel-item-start",Sn="carousel-item-next",Pn="carousel-item-prev",jn=(Ve(Le={},"ArrowLeft",mn),Ve(Le,"ArrowRight",gn),Le),Dn={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},In={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},Nn=function(e){Me(n,e);var t=Be(n);function n(e,i){var o;return Ke(this,n),(o=t.call(this,e,i))._interval=null,o._activeElement=null,o._isSliding=!1,o.touchTimeout=null,o._swipeHelper=null,o._indicatorsElement=tn.findOne(".carousel-indicators",o._element),o._addEventListeners(),o._config.ride===Tn&&o.cycle(),o}return Xe(n,[{key:"next",value:function(){this._slide(pn)}},{key:"nextWhenVisible",value:function(){!document.hidden&&ct(this._element)&&this.next()}},{key:"prev",value:function(){this._slide(vn)}},{key:"pause",value:function(){this._isSliding&&rt(this._element),this._clearInterval()}},{key:"cycle",value:function(){var e=this;this._clearInterval(),this._updateInterval(),this._interval=setInterval((function(){return e.nextWhenVisible()}),this._config.interval)}},{key:"_maybeEnableCycle",value:function(){var e=this;this._config.ride&&(this._isSliding?Nt.one(this._element,yn,(function(){return e.cycle()})):this.cycle())}},{key:"to",value:function(e){var t=this,n=this._getItems();if(!(e>n.length-1||e<0))if(this._isSliding)Nt.one(this._element,yn,(function(){return t.to(e)}));else{var i=this._getItemIndex(this._getActive());if(i!==e){var o=e>i?pn:vn;this._slide(o,n[e])}}}},{key:"dispose",value:function(){this._swipeHelper&&this._swipeHelper.dispose(),De(Re(n.prototype),"dispose",this).call(this)}},{key:"_configAfterMerge",value:function(e){return e.defaultInterval=e.interval,e}},{key:"_addEventListeners",value:function(){var e=this;this._config.keyboard&&Nt.on(this._element,bn,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&(Nt.on(this._element,wn,(function(){return e.pause()})),Nt.on(this._element,kn,(function(){return e._maybeEnableCycle()}))),this._config.touch&&fn.isSupported()&&this._addTouchEventListeners()}},{key:"_addTouchEventListeners",value:function(){var e,t=this,n=Ue(tn.find(".carousel-item img",this._element));try{for(n.s();!(e=n.n()).done;){var i=e.value;Nt.on(i,An,(function(e){return e.preventDefault()}))}}catch(e){n.e(e)}finally{n.f()}var o={leftCallback:function(){return t._slide(t._directionToOrder(gn))},rightCallback:function(){return t._slide(t._directionToOrder(mn))},endCallback:function(){"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(){return t._maybeEnableCycle()}),500+t._config.interval))}};this._swipeHelper=new fn(this._element,o)}},{key:"_keydown",value:function(e){if(!/input|textarea/i.test(e.target.tagName)){var t=jn[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}}},{key:"_getItemIndex",value:function(e){return this._getItems().indexOf(e)}},{key:"_setActiveIndicatorElement",value:function(e){if(this._indicatorsElement){var t=tn.findOne(".active",this._indicatorsElement);t.classList.remove(Cn),t.removeAttribute("aria-current");var n=tn.findOne('[data-bs-slide-to="'.concat(e,'"]'),this._indicatorsElement);n&&(n.classList.add(Cn),n.setAttribute("aria-current","true"))}}},{key:"_updateInterval",value:function(){var e=this._activeElement||this._getActive();if(e){var t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}}},{key:"_slide",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!this._isSliding){var i=this._getActive(),o=e===pn,r=n||yt(this._getItems(),i,o,this._config.wrap);if(r!==i){var a=this._getItemIndex(r),s=function(n){return Nt.trigger(t._element,n,{relatedTarget:r,direction:t._orderToDirection(e),from:t._getItemIndex(i),to:a})},c=s(_n);if(!c.defaultPrevented&&i&&r){var l=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=r;var u=o?Ln:xn,f=o?Sn:Pn;r.classList.add(f),ht(r),i.classList.add(u),r.classList.add(u);var h=function(){r.classList.remove(u,f),r.classList.add(Cn),i.classList.remove(Cn,f,u),t._isSliding=!1,s(yn)};this._queueCallback(h,i,this._isAnimated()),l&&this.cycle()}}}}},{key:"_isAnimated",value:function(){return this._element.classList.contains("slide")}},{key:"_getActive",value:function(){return tn.findOne(".active.carousel-item",this._element)}},{key:"_getItems",value:function(){return tn.find(".carousel-item",this._element)}},{key:"_clearInterval",value:function(){this._interval&&(clearInterval(this._interval),this._interval=null)}},{key:"_directionToOrder",value:function(e){return vt()?e===gn?vn:pn:e===gn?pn:vn}},{key:"_orderToDirection",value:function(e){return vt()?e===vn?gn:mn:e===vn?mn:gn}}],[{key:"Default",get:function(){return Dn}},{key:"DefaultType",get:function(){return In}},{key:"NAME",get:function(){return"carousel"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}else t.to(e)}))}}]),n}(Kt);Nt.on(document,On,"[data-bs-slide], [data-bs-slide-to]",(function(e){var t=it(this);if(t&&t.classList.contains(Tn)){e.preventDefault();var n=Nn.getOrCreateInstance(t),i=this.getAttribute("data-bs-slide-to");if(i)return n.to(i),void n._maybeEnableCycle();if("next"===qt(this,"slide"))return n.next(),void n._maybeEnableCycle();n.prev(),n._maybeEnableCycle()}})),Nt.on(window,En,(function(){var e,t=Ue(tn.find('[data-bs-ride="carousel"]'));try{for(t.s();!(e=t.n()).done;){var n=e.value;Nn.getOrCreateInstance(n)}}catch(e){t.e(e)}finally{t.f()}})),gt(Nn);var Mn=".".concat("bs.collapse"),Hn="show".concat(Mn),Bn="shown".concat(Mn),Wn="hide".concat(Mn),Fn="hidden".concat(Mn),Rn="click".concat(Mn).concat(".data-api"),zn="show",qn="collapse",Vn="collapsing",Kn=":scope .".concat(qn," .").concat(qn),Qn='[data-bs-toggle="collapse"]',Xn={parent:null,toggle:!0},Yn={parent:"(null|element)",toggle:"boolean"},Un=function(e){Me(n,e);var t=Be(n);function n(e,i){var o;Ke(this,n),(o=t.call(this,e,i))._isTransitioning=!1,o._triggerArray=[];var r,a=Ue(tn.find(Qn));try{for(a.s();!(r=a.n()).done;){var s=r.value,c=nt(s),l=tn.find(c).filter((function(e){return e===o._element}));null!==c&&l.length&&o._triggerArray.push(s)}}catch(e){a.e(e)}finally{a.f()}return o._initializeChildren(),o._config.parent||o._addAriaAndCollapsedClass(o._triggerArray,o._isShown()),o._config.toggle&&o.toggle(),o}return Xe(n,[{key:"toggle",value:function(){this._isShown()?this.hide():this.show()}},{key:"show",value:function(){var e=this;if(!this._isTransitioning&&!this._isShown()){var t=[];if(!(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((function(t){return t!==e._element})).map((function(e){return n.getOrCreateInstance(e,{toggle:!1})}))),t.length&&t[0]._isTransitioning||Nt.trigger(this._element,Hn).defaultPrevented)){var i,o=Ue(t);try{for(o.s();!(i=o.n()).done;)i.value.hide()}catch(e){o.e(e)}finally{o.f()}var r=this._getDimension();this._element.classList.remove(qn),this._element.classList.add(Vn),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var a=r[0].toUpperCase()+r.slice(1),s="scroll".concat(a);this._queueCallback((function(){e._isTransitioning=!1,e._element.classList.remove(Vn),e._element.classList.add(qn,zn),e._element.style[r]="",Nt.trigger(e._element,Bn)}),this._element,!0),this._element.style[r]="".concat(this._element[s],"px")}}}},{key:"hide",value:function(){var e=this;if(!this._isTransitioning&&this._isShown()&&!Nt.trigger(this._element,Wn).defaultPrevented){var t=this._getDimension();this._element.style[t]="".concat(this._element.getBoundingClientRect()[t],"px"),ht(this._element),this._element.classList.add(Vn),this._element.classList.remove(qn,zn);var n,i=Ue(this._triggerArray);try{for(i.s();!(n=i.n()).done;){var o=n.value,r=it(o);r&&!this._isShown(r)&&this._addAriaAndCollapsedClass([o],!1)}}catch(e){i.e(e)}finally{i.f()}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((function(){e._isTransitioning=!1,e._element.classList.remove(Vn),e._element.classList.add(qn),Nt.trigger(e._element,Fn)}),this._element,!0)}}},{key:"_isShown",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._element;return e.classList.contains(zn)}},{key:"_configAfterMerge",value:function(e){return e.toggle=Boolean(e.toggle),e.parent=st(e.parent),e}},{key:"_getDimension",value:function(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}},{key:"_initializeChildren",value:function(){if(this._config.parent){var e,t=Ue(this._getFirstLevelChildren(Qn));try{for(t.s();!(e=t.n()).done;){var n=e.value,i=it(n);i&&this._addAriaAndCollapsedClass([n],this._isShown(i))}}catch(e){t.e(e)}finally{t.f()}}}},{key:"_getFirstLevelChildren",value:function(e){var t=tn.find(Kn,this._config.parent);return tn.find(e,this._config.parent).filter((function(e){return!t.includes(e)}))}},{key:"_addAriaAndCollapsedClass",value:function(e,t){if(e.length){var n,i=Ue(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;o.classList.toggle("collapsed",!t),o.setAttribute("aria-expanded",t)}}catch(e){i.e(e)}finally{i.f()}}}}],[{key:"Default",get:function(){return Xn}},{key:"DefaultType",get:function(){return Yn}},{key:"NAME",get:function(){return"collapse"}},{key:"jQueryInterface",value:function(e){var t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){var i=n.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'.concat(e,'"'));i[e]()}}))}}]),n}(Kt);Nt.on(document,Rn,Qn,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();var t,n=nt(this),i=Ue(tn.find(n));try{for(i.s();!(t=i.n()).done;){var o=t.value;Un.getOrCreateInstance(o,{toggle:!1}).toggle()}}catch(e){i.e(e)}finally{i.f()}})),gt(Un);var $n="dropdown",Gn=".".concat("bs.dropdown"),Jn=".data-api",Zn="ArrowUp",ei="ArrowDown",ti="hide".concat(Gn),ni="hidden".concat(Gn),ii="show".concat(Gn),oi="shown".concat(Gn),ri="click".concat(Gn).concat(Jn),ai="keydown".concat(Gn).concat(Jn),si="keyup".concat(Gn).concat(Jn),ci="show",li='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ui="".concat(li,".").concat(ci),fi=".dropdown-menu",hi=vt()?"top-end":"top-start",di=vt()?"top-start":"top-end",pi=vt()?"bottom-end":"bottom-start",vi=vt()?"bottom-start":"bottom-end",gi=vt()?"left-start":"right-start",mi=vt()?"right-start":"left-start",_i={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},yi={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},bi=function(e){Me(i,e);var n=Be(i);function i(e,t){var o;return Ke(this,i),(o=n.call(this,e,t))._popper=null,o._parent=o._element.parentNode,o._menu=tn.next(o._element,fi)[0]||tn.prev(o._element,fi)[0],o._inNavbar=o._detectNavbar(),o}return Xe(i,[{key:"toggle",value:function(){return this._isShown()?this.hide():this.show()}},{key:"show",value:function(){if(!lt(this._element)&&!this._isShown()){var e={relatedTarget:this._element};if(!Nt.trigger(this._element,ii,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav")){var t,n,i=Ue((t=[]).concat.apply(t,Ne(document.body.children)));try{for(i.s();!(n=i.n()).done;){var o=n.value;Nt.on(o,"mouseover",ft)}}catch(e){i.e(e)}finally{i.f()}}this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ci),this._element.classList.add(ci),Nt.trigger(this._element,oi,e)}}}},{key:"hide",value:function(){if(!lt(this._element)&&this._isShown()){var e={relatedTarget:this._element};this._completeHide(e)}}},{key:"dispose",value:function(){this._popper&&this._popper.destroy(),De(Re(i.prototype),"dispose",this).call(this)}},{key:"update",value:function(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}},{key:"_completeHide",value:function(e){if(!Nt.trigger(this._element,ti,e).defaultPrevented){if("ontouchstart"in document.documentElement){var t,n,i=Ue((t=[]).concat.apply(t,Ne(document.body.children)));try{for(i.s();!(n=i.n()).done;){var o=n.value;Nt.off(o,"mouseover",ft)}}catch(e){i.e(e)}finally{i.f()}}this._popper&&this._popper.destroy(),this._menu.classList.remove(ci),this._element.classList.remove(ci),this._element.setAttribute("aria-expanded","false"),Rt(this._menu,"popper"),Nt.trigger(this._element,ni,e)}}},{key:"_getConfig",value:function(e){if("object"===Je((e=De(Re(i.prototype),"_getConfig",this).call(this,e)).reference)&&!at(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError("".concat($n.toUpperCase(),': Option "reference" provided type "object" without a required "getBoundingClientRect" method.'));return e}},{key:"_createPopper",value:function(){if(void 0===t)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var e=this._element;"parent"===this._config.reference?e=this._parent:at(this._config.reference)?e=st(this._config.reference):"object"===Je(this._config.reference)&&(e=this._config.reference);var n=this._getPopperConfig();this._popper=Pe(e,this._menu,n)}},{key:"_isShown",value:function(){return this._menu.classList.contains(ci)}},{key:"_getPlacement",value:function(){var e=this._parent;if(e.classList.contains("dropend"))return gi;if(e.classList.contains("dropstart"))return mi;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";var t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?di:hi:t?vi:pi}},{key:"_detectNavbar",value:function(){return null!==this._element.closest(".navbar")}},{key:"_getOffset",value:function(){var e=this,t=this._config.offset;return"string"==typeof t?t.split(",").map((function(e){return Number.parseInt(e,10)})):"function"==typeof t?function(n){return t(n,e._element)}:t}},{key:"_getPopperConfig",value:function(){var e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(Ft(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),qe(qe({},e),"function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig)}},{key:"_selectMenuItem",value:function(e){var t=e.key,n=e.target,i=tn.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((function(e){return ct(e)}));i.length&&yt(i,n,t===ei,!i.includes(n)).focus()}}],[{key:"Default",get:function(){return _i}},{key:"DefaultType",get:function(){return yi}},{key:"NAME",get:function(){return $n}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=i.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}},{key:"clearMenus",value:function(e){if(2!==e.button&&("keyup"!==e.type||"Tab"===e.key)){var t,n=Ue(tn.find(ui));try{for(n.s();!(t=n.n()).done;){var o=t.value,r=i.getInstance(o);if(r&&!1!==r._config.autoClose){var a=e.composedPath(),s=a.includes(r._menu);if(!(a.includes(r._element)||"inside"===r._config.autoClose&&!s||"outside"===r._config.autoClose&&s||r._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))){var c={relatedTarget:r._element};"click"===e.type&&(c.clickEvent=e),r._completeHide(c)}}}}catch(e){n.e(e)}finally{n.f()}}}},{key:"dataApiKeydownHandler",value:function(e){var t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,o=[Zn,ei].includes(e.key);if((o||n)&&(!t||n)){e.preventDefault();var r=this.matches(li)?this:tn.prev(this,li)[0]||tn.next(this,li)[0],a=i.getOrCreateInstance(r);if(o)return e.stopPropagation(),a.show(),void a._selectMenuItem(e);a._isShown()&&(e.stopPropagation(),a.hide(),r.focus())}}}]),i}(Kt);Nt.on(document,ai,li,bi.dataApiKeydownHandler),Nt.on(document,ai,fi,bi.dataApiKeydownHandler),Nt.on(document,ri,bi.clearMenus),Nt.on(document,si,bi.clearMenus),Nt.on(document,ri,li,(function(e){e.preventDefault(),bi.getOrCreateInstance(this).toggle()})),gt(bi);var wi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ki=".sticky-top",Ai="padding-right",Ei="margin-right",Oi=function(){function e(){Ke(this,e),this._element=document.body}return Xe(e,[{key:"getWidth",value:function(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}},{key:"hide",value:function(){var e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Ai,(function(t){return t+e})),this._setElementAttributes(wi,Ai,(function(t){return t+e})),this._setElementAttributes(ki,Ei,(function(t){return t-e}))}},{key:"reset",value:function(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Ai),this._resetElementAttributes(wi,Ai),this._resetElementAttributes(ki,Ei)}},{key:"isOverflowing",value:function(){return this.getWidth()>0}},{key:"_disableOverFlow",value:function(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}},{key:"_setElementAttributes",value:function(e,t,n){var i=this,o=this.getWidth();this._applyManipulationCallback(e,(function(e){if(!(e!==i._element&&window.innerWidth>e.clientWidth+o)){i._saveInitialAttribute(e,t);var r=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,"".concat(n(Number.parseFloat(r)),"px"))}}))}},{key:"_saveInitialAttribute",value:function(e,t){var n=e.style.getPropertyValue(t);n&&Ft(e,t,n)}},{key:"_resetElementAttributes",value:function(e,t){this._applyManipulationCallback(e,(function(e){var n=qt(e,t);null!==n?(Rt(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)}))}},{key:"_applyManipulationCallback",value:function(e,t){if(at(e))t(e);else{var n,i=Ue(tn.find(e,this._element));try{for(i.s();!(n=i.n()).done;)t(n.value)}catch(e){i.e(e)}finally{i.f()}}}}]),e}(),Ti="backdrop",Ci="show",xi="mousedown.bs.".concat(Ti),Li={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Si={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},Pi=function(e){Me(n,e);var t=Be(n);function n(e){var i;return Ke(this,n),(i=t.call(this))._config=i._getConfig(e),i._isAppended=!1,i._element=null,i}return Xe(n,[{key:"show",value:function(e){if(this._config.isVisible){this._append();var t=this._getElement();this._config.isAnimated&&ht(t),t.classList.add(Ci),this._emulateAnimation((function(){mt(e)}))}else mt(e)}},{key:"hide",value:function(e){var t=this;this._config.isVisible?(this._getElement().classList.remove(Ci),this._emulateAnimation((function(){t.dispose(),mt(e)}))):mt(e)}},{key:"dispose",value:function(){this._isAppended&&(Nt.off(this._element,xi),this._element.remove(),this._isAppended=!1)}},{key:"_getElement",value:function(){if(!this._element){var e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}},{key:"_configAfterMerge",value:function(e){return e.rootElement=st(e.rootElement),e}},{key:"_append",value:function(){var e=this;if(!this._isAppended){var t=this._getElement();this._config.rootElement.append(t),Nt.on(t,xi,(function(){mt(e._config.clickCallback)})),this._isAppended=!0}}},{key:"_emulateAnimation",value:function(e){_t(e,this._getElement(),this._config.isAnimated)}}],[{key:"Default",get:function(){return Li}},{key:"DefaultType",get:function(){return Si}},{key:"NAME",get:function(){return Ti}}]),n}(Vt),ji=".".concat("bs.focustrap"),Di="focusin".concat(ji),Ii="keydown.tab".concat(ji),Ni="backward",Mi={autofocus:!0,trapElement:null},Hi={autofocus:"boolean",trapElement:"element"},Bi=function(e){Me(n,e);var t=Be(n);function n(e){var i;return Ke(this,n),(i=t.call(this))._config=i._getConfig(e),i._isActive=!1,i._lastTabNavDirection=null,i}return Xe(n,[{key:"activate",value:function(){var e=this;this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Nt.off(document,ji),Nt.on(document,Di,(function(t){return e._handleFocusin(t)})),Nt.on(document,Ii,(function(t){return e._handleKeydown(t)})),this._isActive=!0)}},{key:"deactivate",value:function(){this._isActive&&(this._isActive=!1,Nt.off(document,ji))}},{key:"_handleFocusin",value:function(e){var t=this._config.trapElement;if(e.target!==document&&e.target!==t&&!t.contains(e.target)){var n=tn.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===Ni?n[n.length-1].focus():n[0].focus()}}},{key:"_handleKeydown",value:function(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?Ni:"forward")}}],[{key:"Default",get:function(){return Mi}},{key:"DefaultType",get:function(){return Hi}},{key:"NAME",get:function(){return"focustrap"}}]),n}(Vt),Wi=".".concat("bs.modal"),Fi="hide".concat(Wi),Ri="hidePrevented".concat(Wi),zi="hidden".concat(Wi),qi="show".concat(Wi),Vi="shown".concat(Wi),Ki="resize".concat(Wi),Qi="click.dismiss".concat(Wi),Xi="mousedown.dismiss".concat(Wi),Yi="keydown.dismiss".concat(Wi),Ui="click".concat(Wi).concat(".data-api"),$i="modal-open",Gi="show",Ji="modal-static",Zi={backdrop:!0,focus:!0,keyboard:!0},eo={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},to=function(e){Me(n,e);var t=Be(n);function n(e,i){var o;return Ke(this,n),(o=t.call(this,e,i))._dialog=tn.findOne(".modal-dialog",o._element),o._backdrop=o._initializeBackDrop(),o._focustrap=o._initializeFocusTrap(),o._isShown=!1,o._isTransitioning=!1,o._scrollBar=new Oi,o._addEventListeners(),o}return Xe(n,[{key:"toggle",value:function(e){return this._isShown?this.hide():this.show(e)}},{key:"show",value:function(e){var t=this;this._isShown||this._isTransitioning||Nt.trigger(this._element,qi,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add($i),this._adjustDialog(),this._backdrop.show((function(){return t._showElement(e)})))}},{key:"hide",value:function(){var e=this;this._isShown&&!this._isTransitioning&&(Nt.trigger(this._element,Fi).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Gi),this._queueCallback((function(){return e._hideModal()}),this._element,this._isAnimated())))}},{key:"dispose",value:function(){for(var e=0,t=[window,this._dialog];e<t.length;e++){var i=t[e];Nt.off(i,Wi)}this._backdrop.dispose(),this._focustrap.deactivate(),De(Re(n.prototype),"dispose",this).call(this)}},{key:"handleUpdate",value:function(){this._adjustDialog()}},{key:"_initializeBackDrop",value:function(){return new Pi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}},{key:"_initializeFocusTrap",value:function(){return new Bi({trapElement:this._element})}},{key:"_showElement",value:function(e){var t=this;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;var n=tn.findOne(".modal-body",this._dialog);n&&(n.scrollTop=0),ht(this._element),this._element.classList.add(Gi),this._queueCallback((function(){t._config.focus&&t._focustrap.activate(),t._isTransitioning=!1,Nt.trigger(t._element,Vi,{relatedTarget:e})}),this._dialog,this._isAnimated())}},{key:"_addEventListeners",value:function(){var e=this;Nt.on(this._element,Yi,(function(t){if("Escape"===t.key)return e._config.keyboard?(t.preventDefault(),void e.hide()):void e._triggerBackdropTransition()})),Nt.on(window,Ki,(function(){e._isShown&&!e._isTransitioning&&e._adjustDialog()})),Nt.on(this._element,Xi,(function(t){Nt.one(e._element,Qi,(function(n){e._dialog.contains(t.target)||e._dialog.contains(n.target)||("static"!==e._config.backdrop?e._config.backdrop&&e.hide():e._triggerBackdropTransition())}))}))}},{key:"_hideModal",value:function(){var e=this;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((function(){document.body.classList.remove($i),e._resetAdjustments(),e._scrollBar.reset(),Nt.trigger(e._element,zi)}))}},{key:"_isAnimated",value:function(){return this._element.classList.contains("fade")}},{key:"_triggerBackdropTransition",value:function(){var e=this;if(!Nt.trigger(this._element,Ri).defaultPrevented){var t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;"hidden"===n||this._element.classList.contains(Ji)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Ji),this._queueCallback((function(){e._element.classList.remove(Ji),e._queueCallback((function(){e._element.style.overflowY=n}),e._dialog)}),this._dialog),this._element.focus())}}},{key:"_adjustDialog",value:function(){var e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){var i=vt()?"paddingLeft":"paddingRight";this._element.style[i]="".concat(t,"px")}if(!n&&e){var o=vt()?"paddingRight":"paddingLeft";this._element.style[o]="".concat(t,"px")}}},{key:"_resetAdjustments",value:function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}}],[{key:"Default",get:function(){return Zi}},{key:"DefaultType",get:function(){return eo}},{key:"NAME",get:function(){return"modal"}},{key:"jQueryInterface",value:function(e,t){return this.each((function(){var i=n.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'.concat(e,'"'));i[e](t)}}))}}]),n}(Kt);Nt.on(document,Ui,'[data-bs-toggle="modal"]',(function(e){var t=this,n=it(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),Nt.one(n,qi,(function(e){e.defaultPrevented||Nt.one(n,zi,(function(){ct(t)&&t.focus()}))}));var i=tn.findOne(".modal.show");i&&to.getInstance(i).hide(),to.getOrCreateInstance(n).toggle(this)})),Qt(to),gt(to);var no=".".concat("bs.offcanvas"),io=".data-api",oo="load".concat(no).concat(io),ro="show",ao="showing",so="hiding",co=".offcanvas.show",lo="show".concat(no),uo="shown".concat(no),fo="hide".concat(no),ho="hidePrevented".concat(no),po="hidden".concat(no),vo="resize".concat(no),go="click".concat(no).concat(io),mo="keydown.dismiss".concat(no),_o={backdrop:!0,keyboard:!0,scroll:!1},yo={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},bo=function(e){Me(n,e);var t=Be(n);function n(e,i){var o;return Ke(this,n),(o=t.call(this,e,i))._isShown=!1,o._backdrop=o._initializeBackDrop(),o._focustrap=o._initializeFocusTrap(),o._addEventListeners(),o}return Xe(n,[{key:"toggle",value:function(e){return this._isShown?this.hide():this.show(e)}},{key:"show",value:function(e){var t=this;this._isShown||Nt.trigger(this._element,lo,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Oi).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ao),this._queueCallback((function(){t._config.scroll&&!t._config.backdrop||t._focustrap.activate(),t._element.classList.add(ro),t._element.classList.remove(ao),Nt.trigger(t._element,uo,{relatedTarget:e})}),this._element,!0))}},{key:"hide",value:function(){var e=this;this._isShown&&!Nt.trigger(this._element,fo).defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(so),this._backdrop.hide(),this._queueCallback((function(){e._element.classList.remove(ro,so),e._element.removeAttribute("aria-modal"),e._element.removeAttribute("role"),e._config.scroll||(new Oi).reset(),Nt.trigger(e._element,po)}),this._element,!0))}},{key:"dispose",value:function(){this._backdrop.dispose(),this._focustrap.deactivate(),De(Re(n.prototype),"dispose",this).call(this)}},{key:"_initializeBackDrop",value:function(){var e=this,t=Boolean(this._config.backdrop);return new Pi({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?function(){"static"!==e._config.backdrop?e.hide():Nt.trigger(e._element,ho)}:null})}},{key:"_initializeFocusTrap",value:function(){return new Bi({trapElement:this._element})}},{key:"_addEventListeners",value:function(){var e=this;Nt.on(this._element,mo,(function(t){"Escape"===t.key&&(e._config.keyboard?e.hide():Nt.trigger(e._element,ho))}))}}],[{key:"Default",get:function(){return _o}},{key:"DefaultType",get:function(){return yo}},{key:"NAME",get:function(){return"offcanvas"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}}))}}]),n}(Kt);Nt.on(document,go,'[data-bs-toggle="offcanvas"]',(function(e){var t=this,n=it(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),!lt(this)){Nt.one(n,po,(function(){ct(t)&&t.focus()}));var i=tn.findOne(co);i&&i!==n&&bo.getInstance(i).hide(),bo.getOrCreateInstance(n).toggle(this)}})),Nt.on(window,oo,(function(){var e,t=Ue(tn.find(co));try{for(t.s();!(e=t.n()).done;){var n=e.value;bo.getOrCreateInstance(n).show()}}catch(e){t.e(e)}finally{t.f()}})),Nt.on(window,vo,(function(){var e,t=Ue(tn.find("[aria-modal][class*=show][class*=offcanvas-]"));try{for(t.s();!(e=t.n()).done;){var n=e.value;"fixed"!==getComputedStyle(n).position&&bo.getOrCreateInstance(n).hide()}}catch(e){t.e(e)}finally{t.f()}})),Qt(bo),gt(bo);var wo=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),ko=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Ao=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Eo=function(e,t){var n=e.nodeName.toLowerCase();return t.includes(n)?!wo.has(n)||Boolean(ko.test(e.nodeValue)||Ao.test(e.nodeValue)):t.filter((function(e){return e instanceof RegExp})).some((function(e){return e.test(n)}))},Oo={"*":["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:[]},To={allowList:Oo,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Co={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},xo={entry:"(string|element|function|null)",selector:"(string|element)"},Lo=function(e){Me(n,e);var t=Be(n);function n(e){var i;return Ke(this,n),(i=t.call(this))._config=i._getConfig(e),i}return Xe(n,[{key:"getContent",value:function(){var e=this;return Object.values(this._config.content).map((function(t){return e._resolvePossibleFunction(t)})).filter(Boolean)}},{key:"hasContent",value:function(){return this.getContent().length>0}},{key:"changeContent",value:function(e){return this._checkContent(e),this._config.content=qe(qe({},this._config.content),e),this}},{key:"toHtml",value:function(){var e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(var t=0,n=Object.entries(this._config.content);t<n.length;t++){var i=Ye(n[t],2),o=i[0],r=i[1];this._setContent(e,r,o)}var a,s=e.children[0],c=this._resolvePossibleFunction(this._config.extraClass);return c&&(a=s.classList).add.apply(a,Ne(c.split(" "))),s}},{key:"_typeCheckConfig",value:function(e){De(Re(n.prototype),"_typeCheckConfig",this).call(this,e),this._checkContent(e.content)}},{key:"_checkContent",value:function(e){for(var t=0,i=Object.entries(e);t<i.length;t++){var o=Ye(i[t],2),r=o[0],a=o[1];De(Re(n.prototype),"_typeCheckConfig",this).call(this,{selector:r,entry:a},xo)}}},{key:"_setContent",value:function(e,t,n){var i=tn.findOne(n,e);i&&((t=this._resolvePossibleFunction(t))?at(t)?this._putElementInTemplate(st(t),i):this._config.html?i.innerHTML=this._maybeSanitize(t):i.textContent=t:i.remove())}},{key:"_maybeSanitize",value:function(e){return this._config.sanitize?function(e,t,n){var i;if(!e.length)return e;if(n&&"function"==typeof n)return n(e);var o,r=(new window.DOMParser).parseFromString(e,"text/html"),a=Ue((i=[]).concat.apply(i,Ne(r.body.querySelectorAll("*"))));try{for(a.s();!(o=a.n()).done;){var s,c=o.value,l=c.nodeName.toLowerCase();if(Object.keys(t).includes(l)){var u,f=(s=[]).concat.apply(s,Ne(c.attributes)),h=[].concat(t["*"]||[],t[l]||[]),d=Ue(f);try{for(d.s();!(u=d.n()).done;){var p=u.value;Eo(p,h)||c.removeAttribute(p.nodeName)}}catch(e){d.e(e)}finally{d.f()}}else c.remove()}}catch(e){a.e(e)}finally{a.f()}return r.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}},{key:"_resolvePossibleFunction",value:function(e){return"function"==typeof e?e(this):e}},{key:"_putElementInTemplate",value:function(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}],[{key:"Default",get:function(){return To}},{key:"DefaultType",get:function(){return Co}},{key:"NAME",get:function(){return"TemplateFactory"}}]),n}(Vt),So=new Set(["sanitize","allowList","sanitizeFn"]),Po="fade",jo="show",Do=".".concat("modal"),Io="hide.bs.modal",No="hover",Mo="focus",Ho={AUTO:"auto",TOP:"top",RIGHT:vt()?"left":"right",BOTTOM:"bottom",LEFT:vt()?"right":"left"},Bo={allowList:Oo,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:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Wo={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"},Fo=function(e){Me(i,e);var n=Be(i);function i(e,o){var r;if(Ke(this,i),void 0===t)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");return(r=n.call(this,e,o))._isEnabled=!0,r._timeout=0,r._isHovered=null,r._activeTrigger={},r._popper=null,r._templateFactory=null,r._newContent=null,r.tip=null,r._setListeners(),r}return Xe(i,[{key:"enable",value:function(){this._isEnabled=!0}},{key:"disable",value:function(){this._isEnabled=!1}},{key:"toggleEnabled",value:function(){this._isEnabled=!this._isEnabled}},{key:"toggle",value:function(e){if(this._isEnabled){if(e){var t=this._initializeOnDelegatedTarget(e);return t._activeTrigger.click=!t._activeTrigger.click,void(t._isWithActiveTrigger()?t._enter():t._leave())}this._isShown()?this._leave():this._enter()}}},{key:"dispose",value:function(){clearTimeout(this._timeout),Nt.off(this._element.closest(Do),Io,this._hideModalHandler),this.tip&&this.tip.remove(),this._config.originalTitle&&this._element.setAttribute("title",this._config.originalTitle),this._disposePopper(),De(Re(i.prototype),"dispose",this).call(this)}},{key:"show",value:function(){var e=this;if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this._isWithContent()&&this._isEnabled){var t=Nt.trigger(this._element,this.constructor.eventName("show")),n=(ut(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!t.defaultPrevented&&n){this.tip&&(this.tip.remove(),this.tip=null);var i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));var o=this._config.container;if(this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(i),Nt.trigger(this._element,this.constructor.eventName("inserted"))),this._popper?this._popper.update():this._popper=this._createPopper(i),i.classList.add(jo),"ontouchstart"in document.documentElement){var r,a,s=Ue((r=[]).concat.apply(r,Ne(document.body.children)));try{for(s.s();!(a=s.n()).done;){var c=a.value;Nt.on(c,"mouseover",ft)}}catch(e){s.e(e)}finally{s.f()}}this._queueCallback((function(){Nt.trigger(e._element,e.constructor.eventName("shown")),!1===e._isHovered&&e._leave(),e._isHovered=!1}),this.tip,this._isAnimated())}}}},{key:"hide",value:function(){var e=this;if(this._isShown()&&!Nt.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){var t=this._getTipElement();if(t.classList.remove(jo),"ontouchstart"in document.documentElement){var n,i,o=Ue((n=[]).concat.apply(n,Ne(document.body.children)));try{for(o.s();!(i=o.n()).done;){var r=i.value;Nt.off(r,"mouseover",ft)}}catch(e){o.e(e)}finally{o.f()}}this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback((function(){e._isWithActiveTrigger()||(e._isHovered||t.remove(),e._element.removeAttribute("aria-describedby"),Nt.trigger(e._element,e.constructor.eventName("hidden")),e._disposePopper())}),this.tip,this._isAnimated())}}},{key:"update",value:function(){this._popper&&this._popper.update()}},{key:"_isWithContent",value:function(){return Boolean(this._getTitle())}},{key:"_getTipElement",value:function(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}},{key:"_createTipElement",value:function(e){var t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Po,jo),t.classList.add("bs-".concat(this.constructor.NAME,"-auto"));var n=function(e){do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e}(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(Po),t}},{key:"setContent",value:function(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}},{key:"_getTemplateFactory",value:function(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Lo(qe(qe({},this._config),{},{content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)})),this._templateFactory}},{key:"_getContentForTemplate",value:function(){return Ve({},".tooltip-inner",this._getTitle())}},{key:"_getTitle",value:function(){return this._resolvePossibleFunction(this._config.title)||this._config.originalTitle}},{key:"_initializeOnDelegatedTarget",value:function(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}},{key:"_isAnimated",value:function(){return this._config.animation||this.tip&&this.tip.classList.contains(Po)}},{key:"_isShown",value:function(){return this.tip&&this.tip.classList.contains(jo)}},{key:"_createPopper",value:function(e){var t="function"==typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,n=Ho[t.toUpperCase()];return Pe(this._element,e,this._getPopperConfig(n))}},{key:"_getOffset",value:function(){var e=this,t=this._config.offset;return"string"==typeof t?t.split(",").map((function(e){return Number.parseInt(e,10)})):"function"==typeof t?function(n){return t(n,e._element)}:t}},{key:"_resolvePossibleFunction",value:function(e){return"function"==typeof e?e.call(this._element):e}},{key:"_getPopperConfig",value:function(e){var t=this,n={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:".".concat(this.constructor.NAME,"-arrow")}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:function(e){t._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return qe(qe({},n),"function"==typeof this._config.popperConfig?this._config.popperConfig(n):this._config.popperConfig)}},{key:"_setListeners",value:function(){var e,t=this,n=Ue(this._config.trigger.split(" "));try{for(n.s();!(e=n.n()).done;){var i=e.value;if("click"===i)Nt.on(this._element,this.constructor.eventName("click"),this._config.selector,(function(e){return t.toggle(e)}));else if("manual"!==i){var o=i===No?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),r=i===No?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");Nt.on(this._element,o,this._config.selector,(function(e){var n=t._initializeOnDelegatedTarget(e);n._activeTrigger["focusin"===e.type?Mo:No]=!0,n._enter()})),Nt.on(this._element,r,this._config.selector,(function(e){var n=t._initializeOnDelegatedTarget(e);n._activeTrigger["focusout"===e.type?Mo:No]=n._element.contains(e.relatedTarget),n._leave()}))}}}catch(e){n.e(e)}finally{n.f()}this._hideModalHandler=function(){t._element&&t.hide()},Nt.on(this._element.closest(Do),Io,this._hideModalHandler),this._config.selector?this._config=qe(qe({},this._config),{},{trigger:"manual",selector:""}):this._fixTitle()}},{key:"_fixTitle",value:function(){var e=this._config.originalTitle;e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.removeAttribute("title"))}},{key:"_enter",value:function(){var e=this;this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((function(){e._isHovered&&e.show()}),this._config.delay.show))}},{key:"_leave",value:function(){var e=this;this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((function(){e._isHovered||e.hide()}),this._config.delay.hide))}},{key:"_setTimeout",value:function(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}},{key:"_isWithActiveTrigger",value:function(){return Object.values(this._activeTrigger).includes(!0)}},{key:"_getConfig",value:function(e){for(var t=zt(this._element),n=0,i=Object.keys(t);n<i.length;n++){var o=i[n];So.has(o)&&delete t[o]}return e=qe(qe({},t),"object"===Je(e)&&e?e:{}),e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}},{key:"_configAfterMerge",value:function(e){return e.container=!1===e.container?document.body:st(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e.originalTitle=this._element.getAttribute("title")||"","number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}},{key:"_getDelegateConfig",value:function(){var e={};for(var t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}},{key:"_disposePopper",value:function(){this._popper&&(this._popper.destroy(),this._popper=null)}}],[{key:"Default",get:function(){return Bo}},{key:"DefaultType",get:function(){return Wo}},{key:"NAME",get:function(){return"tooltip"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=i.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}]),i}(Kt);gt(Fo);var Ro=qe(qe({},Fo.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"}),zo=qe(qe({},Fo.DefaultType),{},{content:"(null|string|element|function)"}),qo=function(e){Me(n,e);var t=Be(n);function n(){return Ke(this,n),t.apply(this,arguments)}return Xe(n,[{key:"_isWithContent",value:function(){return this._getTitle()||this._getContent()}},{key:"_getContentForTemplate",value:function(){var e;return Ve(e={},".popover-header",this._getTitle()),Ve(e,".popover-body",this._getContent()),e}},{key:"_getContent",value:function(){return this._resolvePossibleFunction(this._config.content)}}],[{key:"Default",get:function(){return Ro}},{key:"DefaultType",get:function(){return zo}},{key:"NAME",get:function(){return"popover"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}]),n}(Fo);gt(qo);var Vo=".".concat("bs.scrollspy"),Ko="activate".concat(Vo),Qo="click".concat(Vo),Xo="load".concat(Vo).concat(".data-api"),Yo="active",Uo="[href]",$o=".nav-link",Go="".concat($o,", ").concat(".nav-item"," > ").concat($o,", ").concat(".list-group-item"),Jo={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Zo={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},er=function(e){Me(n,e);var t=Be(n);function n(e,i){var o;return Ke(this,n),(o=t.call(this,e,i))._targetLinks=new Map,o._observableSections=new Map,o._rootElement="visible"===getComputedStyle(o._element).overflowY?null:o._element,o._activeTarget=null,o._observer=null,o._previousScrollData={visibleEntryTop:0,parentScrollTop:0},o.refresh(),o}return Xe(n,[{key:"refresh",value:function(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();var e,t=Ue(this._observableSections.values());try{for(t.s();!(e=t.n()).done;){var n=e.value;this._observer.observe(n)}}catch(e){t.e(e)}finally{t.f()}}},{key:"dispose",value:function(){this._observer.disconnect(),De(Re(n.prototype),"dispose",this).call(this)}},{key:"_configAfterMerge",value:function(e){return e.target=st(e.target)||document.body,e.rootMargin=e.offset?"".concat(e.offset,"px 0px -30%"):e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((function(e){return Number.parseFloat(e)}))),e}},{key:"_maybeEnableSmoothScroll",value:function(){var e=this;this._config.smoothScroll&&(Nt.off(this._config.target,Qo),Nt.on(this._config.target,Qo,Uo,(function(t){var n=e._observableSections.get(t.target.hash);if(n){t.preventDefault();var i=e._rootElement||window,o=n.offsetTop-e._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:o,behavior:"smooth"});i.scrollTop=o}})))}},{key:"_getNewObserver",value:function(){var e=this,t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((function(t){return e._observerCallback(t)}),t)}},{key:"_observerCallback",value:function(e){var t=this,n=function(e){return t._targetLinks.get("#".concat(e.target.id))},i=function(e){t._previousScrollData.visibleEntryTop=e.target.offsetTop,t._process(n(e))},o=(this._rootElement||document.documentElement).scrollTop,r=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;var a,s=Ue(e);try{for(s.s();!(a=s.n()).done;){var c=a.value;if(c.isIntersecting){var l=c.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&l){if(i(c),!o)return}else r||l||i(c)}else this._activeTarget=null,this._clearActiveClass(n(c))}}catch(e){s.e(e)}finally{s.f()}}},{key:"_initializeTargetsAndObservables",value:function(){this._targetLinks=new Map,this._observableSections=new Map;var e,t=Ue(tn.find(Uo,this._config.target));try{for(t.s();!(e=t.n()).done;){var n=e.value;if(n.hash&&!lt(n)){var i=tn.findOne(n.hash,this._element);ct(i)&&(this._targetLinks.set(n.hash,n),this._observableSections.set(n.hash,i))}}}catch(e){t.e(e)}finally{t.f()}}},{key:"_process",value:function(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Yo),this._activateParents(e),Nt.trigger(this._element,Ko,{relatedTarget:e}))}},{key:"_activateParents",value:function(e){if(e.classList.contains("dropdown-item"))tn.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(Yo);else{var t,n=Ue(tn.parents(e,".nav, .list-group"));try{for(n.s();!(t=n.n()).done;){var i,o=t.value,r=Ue(tn.prev(o,Go));try{for(r.s();!(i=r.n()).done;)i.value.classList.add(Yo)}catch(e){r.e(e)}finally{r.f()}}}catch(e){n.e(e)}finally{n.f()}}}},{key:"_clearActiveClass",value:function(e){e.classList.remove(Yo);var t,n=Ue(tn.find("".concat(Uo,".").concat(Yo),e));try{for(n.s();!(t=n.n()).done;)t.value.classList.remove(Yo)}catch(e){n.e(e)}finally{n.f()}}}],[{key:"Default",get:function(){return Jo}},{key:"DefaultType",get:function(){return Zo}},{key:"NAME",get:function(){return"scrollspy"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}]),n}(Kt);Nt.on(window,Xo,(function(){var e,t=Ue(tn.find('[data-bs-spy="scroll"]'));try{for(t.s();!(e=t.n()).done;){var n=e.value;er.getOrCreateInstance(n)}}catch(e){t.e(e)}finally{t.f()}})),gt(er);var tr=".".concat("bs.tab"),nr="hide".concat(tr),ir="hidden".concat(tr),or="show".concat(tr),rr="shown".concat(tr),ar="click".concat(tr),sr="keydown".concat(tr),cr="load".concat(tr),lr="ArrowLeft",ur="ArrowRight",fr="ArrowUp",hr="ArrowDown",dr="active",pr="fade",vr="show",gr=":not(.dropdown-toggle)",mr=".nav-link".concat(gr,", .list-group-item").concat(gr,', [role="tab"]').concat(gr),_r='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',yr="".concat(mr,", ").concat(_r),br=".".concat(dr,'[data-bs-toggle="tab"], .').concat(dr,'[data-bs-toggle="pill"], .').concat(dr,'[data-bs-toggle="list"]'),wr=function(e){Me(n,e);var t=Be(n);function n(e){var i;return Ke(this,n),(i=t.call(this,e))._parent=i._element.closest('.list-group, .nav, [role="tablist"]'),i._parent?(i._setInitialAttributes(i._parent,i._getChildren()),Nt.on(i._element,sr,(function(e){return i._keydown(e)})),i):We(i)}return Xe(n,[{key:"show",value:function(){var e=this._element;if(!this._elemIsActive(e)){var t=this._getActiveElem(),n=t?Nt.trigger(t,nr,{relatedTarget:e}):null;Nt.trigger(e,or,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}}},{key:"_activate",value:function(e,t){var n=this;e&&(e.classList.add(dr),this._activate(it(e)),this._queueCallback((function(){"tab"===e.getAttribute("role")?(e.focus(),e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),n._toggleDropDown(e,!0),Nt.trigger(e,rr,{relatedTarget:t})):e.classList.add(vr)}),e,e.classList.contains(pr)))}},{key:"_deactivate",value:function(e,t){var n=this;e&&(e.classList.remove(dr),e.blur(),this._deactivate(it(e)),this._queueCallback((function(){"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),n._toggleDropDown(e,!1),Nt.trigger(e,ir,{relatedTarget:t})):e.classList.remove(vr)}),e,e.classList.contains(pr)))}},{key:"_keydown",value:function(e){if([lr,ur,fr,hr].includes(e.key)){e.stopPropagation(),e.preventDefault();var t=[ur,hr].includes(e.key),i=yt(this._getChildren().filter((function(e){return!lt(e)})),e.target,t,!0);i&&n.getOrCreateInstance(i).show()}}},{key:"_getChildren",value:function(){return tn.find(yr,this._parent)}},{key:"_getActiveElem",value:function(){var e=this;return this._getChildren().find((function(t){return e._elemIsActive(t)}))||null}},{key:"_setInitialAttributes",value:function(e,t){this._setAttributeIfNotExists(e,"role","tablist");var n,i=Ue(t);try{for(i.s();!(n=i.n()).done;){var o=n.value;this._setInitialAttributesOnChild(o)}}catch(e){i.e(e)}finally{i.f()}}},{key:"_setInitialAttributesOnChild",value:function(e){e=this._getInnerElement(e);var t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}},{key:"_setInitialAttributesOnTargetPanel",value:function(e){var t=it(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby","#".concat(e.id)))}},{key:"_toggleDropDown",value:function(e,t){var n=this._getOuterElement(e);if(n.classList.contains("dropdown")){var i=function(e,i){var o=tn.findOne(e,n);o&&o.classList.toggle(i,t)};i(".dropdown-toggle",dr),i(".dropdown-menu",vr),i(".dropdown-item",dr),n.setAttribute("aria-expanded",t)}}},{key:"_setAttributeIfNotExists",value:function(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}},{key:"_elemIsActive",value:function(e){return e.classList.contains(dr)}},{key:"_getInnerElement",value:function(e){return e.matches(yr)?e:tn.findOne(yr,e)}},{key:"_getOuterElement",value:function(e){return e.closest(".nav-item, .list-group-item")||e}}],[{key:"NAME",get:function(){return"tab"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}]),n}(Kt);Nt.on(document,ar,_r,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),lt(this)||wr.getOrCreateInstance(this).show()})),Nt.on(window,cr,(function(){var e,t=Ue(tn.find(br));try{for(t.s();!(e=t.n()).done;){var n=e.value;wr.getOrCreateInstance(n)}}catch(e){t.e(e)}finally{t.f()}})),gt(wr);var kr=".".concat("bs.toast"),Ar="mouseover".concat(kr),Er="mouseout".concat(kr),Or="focusin".concat(kr),Tr="focusout".concat(kr),Cr="hide".concat(kr),xr="hidden".concat(kr),Lr="show".concat(kr),Sr="shown".concat(kr),Pr="hide",jr="show",Dr="showing",Ir={animation:"boolean",autohide:"boolean",delay:"number"},Nr={animation:!0,autohide:!0,delay:5e3},Mr=function(e){Me(n,e);var t=Be(n);function n(e,i){var o;return Ke(this,n),(o=t.call(this,e,i))._timeout=null,o._hasMouseInteraction=!1,o._hasKeyboardInteraction=!1,o._setListeners(),o}return Xe(n,[{key:"show",value:function(){var e=this;Nt.trigger(this._element,Lr).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Pr),ht(this._element),this._element.classList.add(jr,Dr),this._queueCallback((function(){e._element.classList.remove(Dr),Nt.trigger(e._element,Sr),e._maybeScheduleHide()}),this._element,this._config.animation))}},{key:"hide",value:function(){var e=this;this.isShown()&&!Nt.trigger(this._element,Cr).defaultPrevented&&(this._element.classList.add(Dr),this._queueCallback((function(){e._element.classList.add(Pr),e._element.classList.remove(Dr,jr),Nt.trigger(e._element,xr)}),this._element,this._config.animation))}},{key:"dispose",value:function(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(jr),De(Re(n.prototype),"dispose",this).call(this)}},{key:"isShown",value:function(){return this._element.classList.contains(jr)}},{key:"_maybeScheduleHide",value:function(){var e=this;this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((function(){e.hide()}),this._config.delay)))}},{key:"_onInteraction",value:function(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)this._clearTimeout();else{var n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}}},{key:"_setListeners",value:function(){var e=this;Nt.on(this._element,Ar,(function(t){return e._onInteraction(t,!0)})),Nt.on(this._element,Er,(function(t){return e._onInteraction(t,!1)})),Nt.on(this._element,Or,(function(t){return e._onInteraction(t,!0)})),Nt.on(this._element,Tr,(function(t){return e._onInteraction(t,!1)}))}},{key:"_clearTimeout",value:function(){clearTimeout(this._timeout),this._timeout=null}}],[{key:"Default",get:function(){return Nr}},{key:"DefaultType",get:function(){return Ir}},{key:"NAME",get:function(){return"toast"}},{key:"jQueryInterface",value:function(e){return this.each((function(){var t=n.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}}))}}]),n}(Kt);Qt(Mr),gt(Mr),window.bootstrap={Alert:$t,Button:en,Collapse:Un,Tooltip:Fo,Popover:qo,Offcanvas:bo,ScrollSpy:er}})();