PageSourceSearch

https://www.sono2learn.de/build/assets/bootstrap-sF58l2Co.js

js sono2learn.de collected 2026-10-07 03:54:52 UTC 80,526 bytes, 1 lines download raw bytes

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

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.