(function(t,e){typeof exports==="object"&&typeof module!=="undefined"?module.exports=e():typeof define==="function"&&define.amd?define(e):(t=typeof globalThis!=="undefined"?globalThis:t||self,t.bootstrap=e())})(this,function(){"use strict";const t=3;const e={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(t=>t.matches(e))},parents(e,n){const i=[];let s=e.parentNode;while(s&&s.nodeType===Node.ELEMENT_NODE&&s.nodeType!==t){if(s.matches(n)){i.push(s)}s=s.parentNode}return i},prev(t,e){let n=t.previousElementSibling;while(n){if(n.matches(e)){return[n]}n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;while(n){if(n.matches(e)){return[n]}n=n.nextElementSibling}return[]}};const n=1e6;const i=1e3;const s="transitionend";const o=t=>{if(t===null||t===undefined){return`${t}`}return({}).toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase()};const r=t=>{do{t+=Math.floor(Math.random()*n)}while(document.getElementById(t));return t};const a=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith(".")){return null}if(n.includes("#")&&!n.startsWith("#")){n=`#${n.split("#")[1]}`}e=n&&n!=="#"?n.trim():null}return e};const c=t=>{const e=a(t);if(e){return document.querySelector(e)?e:null}return null};const l=t=>{const e=a(t);return e?document.querySelector(e):null};const f=t=>{if(!t){return 0}let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const s=Number.parseFloat(e);const o=Number.parseFloat(n);if(!s&&!o){return 0}e=e.split(",")[0];n=n.split(",")[0];return(Number.parseFloat(e)+Number.parseFloat(n))*i};const u=t=>{t.dispatchEvent(new Event(s))};const h=t=>{if(!t||typeof t!=="object"){return false}if(typeof t.jquery!=="undefined"){t=t[0]}return typeof t.nodeType!=="undefined"};const d=t=>{if(h(t)){return t.jquery?t[0]:t}if(typeof t==="string"&&t.length>0){return e.findOne(t)}return null};const p=(t,e)=>{let n=false;const i=5;const o=e+i;function r(){n=true;t.removeEventListener(s,r)}t.addEventListener(s,r);setTimeout(()=>{if(!n){u(t)}},o)};const g=(t,e,n)=>{Object.keys(n).forEach(i=>{const s=n[i];const r=e[i];const a=r&&h(r)?"element":o(r);if(!new RegExp(s).test(a)){throw new TypeError(`${t.toUpperCase()}: Option "${i}" provided type "${a}" but expected type "${s}".`)}})};const m=t=>{if(!t){return false}if(t.style&&t.parentNode&&t.parentNode.style){const e=getComputedStyle(t);const n=getComputedStyle(t.parentNode);return e.display!=="none"&&n.display!=="none"&&e.visibility!=="hidden"}return false};const _=t=>{if(!t||t.nodeType!==Node.ELEMENT_NODE){return true}if(t.classList.contains("disabled")){return true}if(typeof t.disabled!=="undefined"){return t.disabled}return t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false"};const v=t=>{if(!document.documentElement.attachShadow){return null}if(typeof t.getRootNode==="function"){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}if(t instanceof ShadowRoot){return t}if(!t.parentNode){return null}return v(t.parentNode)};const b=()=>{};const y=t=>t.offsetHeight;const w=()=>{const{jQuery:t}=window;if(t&&!document.body.hasAttribute("data-bs-no-jquery")){return t}return null};const E=t=>{if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",t)}else{t()}};const A=()=>document.documentElement.dir==="rtl";const T=t=>{E(()=>{const e=w();if(e){const n=t.NAME;const i=e.fn[n];e.fn[n]=t.jQueryInterface;e.fn[n].Constructor=t;e.fn[n].noConflict=()=>{e.fn[n]=i;return t.jQueryInterface}}})};const O=t=>{if(typeof t==="function"){t()}};const $=new Map;var L={set(t,e,n){if(!$.has(t)){$.set(t,new Map)}const i=$.get(t);if(!i.has(e)&&i.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`);return}i.set(e,n)},get(t,e){if($.has(t)){return $.get(t).get(e)||null}return null},remove(t,e){if(!$.has(t)){return}const n=$.get(t);n.delete(e);if(n.size===0){$.delete(t)}}};const C=/[^.]*(?=\..*)\.|.*/;const k=/\..*/;const x=/::\d+$/;const D={};let N=1;const S={mouseenter:"mouseover",mouseleave:"mouseout"};const j=/^(mouseenter|mouseleave)/i;const M=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 P(t,e){return e&&`${e}::${N++}`||t.uidEvent||N++}function I(t){const e=P(t);t.uidEvent=e;D[e]=D[e]||{};return D[e]}function H(t,e){return function n(i){i.delegateTarget=t;if(n.oneOff){V.off(t,i.type,e)}return e.apply(t,[i])}}function R(t,e,n){return function i(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode){for(let a=o.length;a--;){if(o[a]===r){s.delegateTarget=r;if(i.oneOff){V.off(t,s.type,e,n)}return n.apply(r,[s])}}}return null}}function B(t,e,n=null){const i=Object.keys(t);for(let s=0,o=i.length;s<o;s++){const o=t[i[s]];if(o.originalHandler===e&&o.delegationSelector===n){return o}}return null}function W(t,e,n){const i=typeof e==="string";const s=i?n:e;let o=F(t);const r=M.has(o);if(!r){o=t}return[i,s,o]}function q(t,e,n,i,s){if(typeof e!=="string"||!t){return}if(!n){n=i;i=null}if(j.test(e)){const t=t=>{return function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget)){return t.call(this,e)}}};if(i){i=t(i)}else{n=t(n)}}const[o,r,a]=W(e,n,i);const c=I(t);const l=c[a]||(c[a]={});const f=B(l,r,o?n:null);if(f){f.oneOff=f.oneOff&&s;return}const u=P(r,e.replace(C,""));const h=o?R(t,n,i):H(t,n);h.delegationSelector=o?n:null;h.originalHandler=r;h.oneOff=s;h.uidEvent=u;l[u]=h;t.addEventListener(a,h,o)}function z(t,e,n,i,s){const o=B(e[n],i,s);if(!o){return}t.removeEventListener(n,o,Boolean(s));delete e[n][o.uidEvent]}function U(t,e,n,i){const s=e[n]||{};Object.keys(s).forEach(o=>{if(o.includes(i)){const i=s[o];z(t,e,n,i.originalHandler,i.delegationSelector)}})}function F(t){t=t.replace(k,"");return S[t]||t}const V={on(t,e,n,i){q(t,e,n,i,false)},one(t,e,n,i){q(t,e,n,i,true)},off(t,e,n,i){if(typeof e!=="string"||!t){return}const[s,o,r]=W(e,n,i);const a=r!==e;const c=I(t);const l=e.startsWith(".");if(typeof o!=="undefined"){if(!c||!c[r]){return}z(t,c,r,o,s?n:null);return}if(l){Object.keys(c).forEach(n=>{U(t,c,n,e.slice(1))})}const f=c[r]||{};Object.keys(f).forEach(n=>{const i=n.replace(x,"");if(!a||e.includes(i)){const e=f[n];z(t,c,r,e.originalHandler,e.delegationSelector)}})},trigger(t,e,n){if(typeof e!=="string"||!t){return null}const i=w();const s=F(e);const o=e!==s;const r=M.has(s);let a;let c=true;let l=true;let f=false;let u=null;if(o&&i){a=i.Event(e,n);i(t).trigger(a);c=!a.isPropagationStopped();l=!a.isImmediatePropagationStopped();f=a.isDefaultPrevented()}if(r){u=document.createEvent("HTMLEvents");u.initEvent(s,c,true)}else{u=new CustomEvent(e,{bubbles:c,cancelable:true})}if(typeof n!=="undefined"){Object.keys(n).forEach(t=>{Object.defineProperty(u,t,{get(){return n[t]}})})}if(f){u.preventDefault()}if(l){t.dispatchEvent(u)}if(u.defaultPrevented&&typeof a!=="undefined"){a.preventDefault()}return u}};const K="5.0.1";class Y{constructor(t){t=d(t);if(!t){return}this._element=t;L.set(this._element,this.constructor.DATA_KEY,this)}dispose(){L.remove(this._element,this.constructor.DATA_KEY);V.off(this._element,this.constructor.EVENT_KEY);Object.getOwnPropertyNames(this).forEach(t=>{this[t]=null})}_queueCallback(t,e,n=true){if(!n){O(t);return}const i=f(e);V.one(e,"transitionend",()=>O(t));p(e,i)}static getInstance(t){return L.get(t,this.DATA_KEY)}static get VERSION(){return K}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const Q="alert";const G="bs.alert";const X=`.${G}`;const Z=".data-api";const J='[data-bs-dismiss="alert"]';const tt=`close${X}`;const te=`closed${X}`;const tn=`click${X}${Z}`;const ti="alert";const ts="fade";const to="show";class tr extends Y{static get NAME(){return Q}close(t){const e=t?this._getRootElement(t):this._element;const n=this._triggerCloseEvent(e);if(n===null||n.defaultPrevented){return}this._removeElement(e)}_getRootElement(t){return l(t)||t.closest(`.${ti}`)}_triggerCloseEvent(t){return V.trigger(t,tt)}_removeElement(t){t.classList.remove(to);const e=t.classList.contains(ts);this._queueCallback(()=>this._destroyElement(t),t,e)}_destroyElement(t){if(t.parentNode){t.parentNode.removeChild(t)}V.trigger(t,te)}static jQueryInterface(t){return this.each(function(){let e=L.get(this,G);if(!e){e=new tr(this)}if(t==="close"){e[t](this)}})}static handleDismiss(t){return function(e){if(e){e.preventDefault()}t.close(this)}}}V.on(document,tn,J,tr.handleDismiss(new tr));T(tr);const ta="button";const tc="bs.button";const tl=`.${tc}`;const tf=".data-api";const tu="active";const th='[data-bs-toggle="button"]';const td=`click${tl}${tf}`;class tp extends Y{static get NAME(){return ta}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(tu))}static jQueryInterface(t){return this.each(function(){let e=L.get(this,tc);if(!e){e=new tp(this)}if(t==="toggle"){e[t]()}})}}V.on(document,td,th,t=>{t.preventDefault();const e=t.target.closest(th);let n=L.get(e,tc);if(!n){n=new tp(e)}n.toggle()});T(tp);function tg(t){if(t==="true"){return true}if(t==="false"){return false}if(t===Number(t).toString()){return Number(t)}if(t===""||t==="null"){return null}return t}function tm(t){return t.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const t_={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${tm(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${tm(e)}`)},getDataAttributes(t){if(!t){return{}}const e={};Object.keys(t.dataset).filter(t=>t.startsWith("bs")).forEach(n=>{let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length);e[i]=tg(t.dataset[n])});return e},getDataAttribute(t,e){return tg(t.getAttribute(`data-bs-${tm(e)}`))},offset(t){const e=t.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},position(t){return{top:t.offsetTop,left:t.offsetLeft}}};const tv="collapse";const tb="bs.collapse";const ty=`.${tb}`;const tw=".data-api";const tE={toggle:true,parent:""};const tA={toggle:"boolean",parent:"(string|element)"};const tT=`show${ty}`;const tO=`shown${ty}`;const t$=`hide${ty}`;const tL=`hidden${ty}`;const tC=`click${ty}${tw}`;const tk="show";const tx="collapse";const tD="collapsing";const tN="collapsed";const tS="width";const tj="height";const tM=".show, .collapsing";const tP='[data-bs-toggle="collapse"]';class tI extends Y{constructor(t,n){super(t);this._isTransitioning=false;this._config=this._getConfig(n);this._triggerArray=e.find(`${tP}[href="#${this._element.id}"],`+`${tP}[data-bs-target="#${this._element.id}"]`);const i=e.find(tP);for(let t=0,n=i.length;t<n;t++){const n=i[t];const s=c(n);const o=e.find(s).filter(t=>t===this._element);if(s!==null&&o.length){this._selector=s;this._triggerArray.push(n)}}this._parent=this._config.parent?this._getParent():null;if(!this._config.parent){this._addAriaAndCollapsedClass(this._element,this._triggerArray)}if(this._config.toggle){this.toggle()}}static get Default(){return tE}static get NAME(){return tv}toggle(){if(this._element.classList.contains(tk)){this.hide()}else{this.show()}}show(){if(this._isTransitioning||this._element.classList.contains(tk)){return}let t;let n;if(this._parent){t=e.find(tM,this._parent).filter(t=>{if(typeof this._config.parent==="string"){return t.getAttribute("data-bs-parent")===this._config.parent}return t.classList.contains(tx)});if(t.length===0){t=null}}const i=e.findOne(this._selector);if(t){const e=t.find(t=>i!==t);n=e?L.get(e,tb):null;if(n&&n._isTransitioning){return}}const s=V.trigger(this._element,tT);if(s.defaultPrevented){return}if(t){t.forEach(t=>{if(i!==t){tI.collapseInterface(t,"hide")}if(!n){L.set(t,tb,null)}})}const o=this._getDimension();this._element.classList.remove(tx);this._element.classList.add(tD);this._element.style[o]=0;if(this._triggerArray.length){this._triggerArray.forEach(t=>{t.classList.remove(tN);t.setAttribute("aria-expanded",true)})}this.setTransitioning(true);const r=()=>{this._element.classList.remove(tD);this._element.classList.add(tx,tk);this._element.style[o]="";this.setTransitioning(false);V.trigger(this._element,tO)};const a=o[0].toUpperCase()+o.slice(1);const c=`scroll${a}`;this._queueCallback(r,this._element,true);this._element.style[o]=`${this._element[c]}px`}hide(){if(this._isTransitioning||!this._element.classList.contains(tk)){return}const t=V.trigger(this._element,t$);if(t.defaultPrevented){return}const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`;y(this._element);this._element.classList.add(tD);this._element.classList.remove(tx,tk);const n=this._triggerArray.length;if(n>0){for(let t=0;t<n;t++){const e=this._triggerArray[t];const n=l(e);if(n&&!n.classList.contains(tk)){e.classList.add(tN);e.setAttribute("aria-expanded",false)}}}this.setTransitioning(true);const i=()=>{this.setTransitioning(false);this._element.classList.remove(tD);this._element.classList.add(tx);V.trigger(this._element,tL)};this._element.style[e]="";this._queueCallback(i,this._element,true)}setTransitioning(t){this._isTransitioning=t}_getConfig(t){t={...tE,...t};t.toggle=Boolean(t.toggle);g(tv,t,tA);return t}_getDimension(){return this._element.classList.contains(tS)?tS:tj}_getParent(){let{parent:t}=this._config;t=d(t);const n=`${tP}[data-bs-parent="${t}"]`;e.find(n,t).forEach(t=>{const e=l(t);this._addAriaAndCollapsedClass(e,[t])});return t}_addAriaAndCollapsedClass(t,e){if(!t||!e.length){return}const n=t.classList.contains(tk);e.forEach(t=>{if(n){t.classList.remove(tN)}else{t.classList.add(tN)}t.setAttribute("aria-expanded",n)})}static collapseInterface(t,e){let n=L.get(t,tb);const i={...tE,...t_.getDataAttributes(t),...typeof e==="object"&&e?e:{}};if(!n&&i.toggle&&typeof e==="string"&&/show|hide/.test(e)){i.toggle=false}if(!n){n=new tI(t,i)}if(typeof e==="string"){if(typeof n[e]==="undefined"){throw new TypeError(`No method named "${e}"`)}n[e]()}}static jQueryInterface(t){return this.each(function(){tI.collapseInterface(this,t)})}}V.on(document,tC,tP,function(t){if(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A"){t.preventDefault()}const n=t_.getDataAttributes(this);const i=c(this);const s=e.find(i);s.forEach(t=>{const e=L.get(t,tb);let i;if(e){if(e._parent===null&&typeof n.parent==="string"){e._config.parent=n.parent;e._parent=e._getParent()}i="toggle"}else{i=n}tI.collapseInterface(t,i)})});T(tI);var tH="top";var tR="bottom";var tB="right";var tW="left";var tq="auto";var tz=[tH,tR,tB,tW];var tU="start";var tF="end";var tV="clippingParents";var tK="viewport";var tY="popper";var tQ="reference";var tG=tz.reduce(function(t,e){return t.concat([e+"-"+tU,e+"-"+tF])},[]);var tX=[].concat(tz,[tq]).reduce(function(t,e){return t.concat([e,e+"-"+tU,e+"-"+tF])},[]);var tZ="beforeRead";var tJ="read";var t0="afterRead";var t1="beforeMain";var t2="main";var t3="afterMain";var t5="beforeWrite";var t4="write";var t6="afterWrite";var t8=[tZ,tJ,t0,t1,t2,t3,t5,t4,t6];function t7(t){return t?(t.nodeName||"").toLowerCase():null}function t9(t){if(t==null){return window}if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e?e.defaultView||window:window}return t}function et(t){var e=t9(t).Element;return t instanceof e||t instanceof Element}function ee(t){var e=t9(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function en(t){if(typeof ShadowRoot==="undefined"){return false}var e=t9(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function ei(t){var e=t.state;Object.keys(e.elements).forEach(function(t){var n=e.styles[t]||{};var i=e.attributes[t]||{};var s=e.elements[t];if(!ee(s)||!t7(s)){return}Object.assign(s.style,n);Object.keys(i).forEach(function(t){var e=i[t];if(e===false){s.removeAttribute(t)}else{s.setAttribute(t,e===true?"":e)}})})}function es(t){var e=t.state;var n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,n.popper);e.styles=n;if(e.elements.arrow){Object.assign(e.elements.arrow.style,n.arrow)}return function(){Object.keys(e.elements).forEach(function(t){var i=e.elements[t];var s=e.attributes[t]||{};var o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]);var r=o.reduce(function(t,e){t[e]="";return t},{});if(!ee(i)||!t7(i)){return}Object.assign(i.style,r);Object.keys(s).forEach(function(t){i.removeAttribute(t)})})}}var eo={name:"applyStyles",enabled:true,phase:"write",fn:ei,effect:es,requires:["computeStyles"]};function er(t){return t.split("-")[0]}function ea(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function ec(t){var e=ea(t);var n=t.offsetWidth;var i=t.offsetHeight;if(Math.abs(e.width-n)<=1){n=e.width}if(Math.abs(e.height-i)<=1){i=e.height}return{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function el(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e)){return true}else if(n&&en(n)){var i=e;do{if(i&&t.isSameNode(i)){return true}i=i.parentNode||i.host}while(i)}return false}function ef(t){return t9(t).getComputedStyle(t)}function eu(t){return["table","td","th"].indexOf(t7(t))>=0}function eh(t){return((et(t)?t.ownerDocument:t.document)||window.document).documentElement}function ed(t){if(t7(t)==="html"){return t}return t.assignedSlot||t.parentNode||(en(t)?t.host:null)||eh(t)}function ep(t){if(!ee(t)||ef(t).position==="fixed"){return null}return t.offsetParent}function eg(t){var e=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&ee(t)){var i=ef(t);if(i.position==="fixed"){return null}}var s=ed(t);while(ee(s)&&["html","body"].indexOf(t7(s))<0){var o=ef(s);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none"){return s}else{s=s.parentNode}}return null}function em(t){var e=t9(t);var n=ep(t);while(n&&eu(n)&&ef(n).position==="static"){n=ep(n)}if(n&&(t7(n)==="html"||t7(n)==="body"&&ef(n).position==="static")){return e}return n||eg(t)||e}function e_(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}var ev=Math.max;var eb=Math.min;var ey=Math.round;function ew(t,e,n){return ev(t,eb(e,n))}function eE(){return{top:0,right:0,bottom:0,left:0}}function eA(t){return Object.assign({},eE(),t)}function eT(t,e){return e.reduce(function(e,n){e[n]=t;return e},{})}var eO=function t(t,e){t=typeof t==="function"?t(Object.assign({},e.rects,{placement:e.placement})):t;return eA(typeof t!=="number"?t:eT(t,tz))};function e$(t){var e;var n=t.state,i=t.name,s=t.options;var o=n.elements.arrow;var r=n.modifiersData.popperOffsets;var a=er(n.placement);var c=e_(a);var l=[tW,tB].indexOf(a)>=0;var f=l?"height":"width";if(!o||!r){return}var u=eO(s.padding,n);var h=ec(o);var d=c==="y"?tH:tW;var p=c==="y"?tR:tB;var g=n.rects.reference[f]+n.rects.reference[c]-r[c]-n.rects.popper[f];var m=r[c]-n.rects.reference[c];var _=em(o);var v=_?c==="y"?_.clientHeight||0:_.clientWidth||0:0;var b=g/2-m/2;var y=u[d];var w=v-h[f]-u[p];var E=v/2-h[f]/2+b;var A=ew(y,E,w);var T=c;n.modifiersData[i]=(e={},e[T]=A,e.centerOffset=A-E,e)}function eL(t){var e=t.state,n=t.options;var i=n.element,s=i===void 0?"[data-popper-arrow]":i;if(s==null){return}if(typeof s==="string"){s=e.elements.popper.querySelector(s);if(!s){return}}if(!el(e.elements.popper,s)){return}e.elements.arrow=s}var eC={name:"arrow",enabled:true,phase:"main",fn:e$,effect:eL,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};var ek={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ex(t){var e=t.x,n=t.y;var i=window;var s=i.devicePixelRatio||1;return{x:ey(ey(e*s)/s)||0,y:ey(ey(n*s)/s)||0}}function eD(t){var e;var n=t.popper,i=t.popperRect,s=t.placement,o=t.offsets,r=t.position,a=t.gpuAcceleration,c=t.adaptive,l=t.roundOffsets;var f=l===true?ex(o):typeof l==="function"?l(o):o,u=f.x,h=u===void 0?0:u,d=f.y,p=d===void 0?0:d;var g=o.hasOwnProperty("x");var m=o.hasOwnProperty("y");var _=tW;var v=tH;var b=window;if(c){var y=em(n);var w="clientHeight";var E="clientWidth";if(y===t9(n)){y=eh(n);if(ef(y).position!=="static"){w="scrollHeight";E="scrollWidth"}}y=y;if(s===tH){v=tR;p-=y[w]-i.height;p*=a?1:-1}if(s===tW){_=tB;h-=y[E]-i.width;h*=a?1:-1}}var A=Object.assign({position:r},c&&ek);if(a){var T;return Object.assign({},A,(T={},T[v]=m?"0":"",T[_]=g?"0":"",T.transform=(b.devicePixelRatio||1)<2?"translate("+h+"px, "+p+"px)":"translate3d("+h+"px, "+p+"px, 0)",T))}return Object.assign({},A,(e={},e[v]=m?p+"px":"",e[_]=g?h+"px":"",e.transform="",e))}function eN(t){var e=t.state,n=t.options;var i=n.gpuAcceleration,s=i===void 0?true:i,o=n.adaptive,r=o===void 0?true:o,a=n.roundOffsets,c=a===void 0?true:a;var l={placement:er(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s};if(e.modifiersData.popperOffsets!=null){e.styles.popper=Object.assign({},e.styles.popper,eD(Object.assign({},l,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:c})))}if(e.modifiersData.arrow!=null){e.styles.arrow=Object.assign({},e.styles.arrow,eD(Object.assign({},l,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:c})))}e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var eS={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:eN,data:{}};var ej={passive:true};function eM(t){var e=t.state,n=t.instance,i=t.options;var s=i.scroll,o=s===void 0?true:s,r=i.resize,a=r===void 0?true:r;var c=t9(e.elements.popper);var l=[].concat(e.scrollParents.reference,e.scrollParents.popper);if(o){l.forEach(function(t){t.addEventListener("scroll",n.update,ej)})}if(a){c.addEventListener("resize",n.update,ej)}return function(){if(o){l.forEach(function(t){t.removeEventListener("scroll",n.update,ej)})}if(a){c.removeEventListener("resize",n.update,ej)}}}var eP={name:"eventListeners",enabled:true,phase:"write",fn:function t(){},effect:eM,data:{}};var eI={left:"right",right:"left",bottom:"top",top:"bottom"};function eH(t){return t.replace(/left|right|bottom|top/g,function(t){return eI[t]})}var eR={start:"end",end:"start"};function eB(t){return t.replace(/start|end/g,function(t){return eR[t]})}function eW(t){var e=t9(t);var n=e.pageXOffset;var i=e.pageYOffset;return{scrollLeft:n,scrollTop:i}}function eq(t){return ea(eh(t)).left+eW(t).scrollLeft}function ez(t){var e=t9(t);var n=eh(t);var i=e.visualViewport;var s=n.clientWidth;var o=n.clientHeight;var r=0;var a=0;if(i){s=i.width;o=i.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){r=i.offsetLeft;a=i.offsetTop}}return{width:s,height:o,x:r+eq(t),y:a}}function eU(t){var e;var n=eh(t);var i=eW(t);var s=(e=t.ownerDocument)==null?void 0:e.body;var o=ev(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0);var r=ev(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);var a=-i.scrollLeft+eq(t);var c=-i.scrollTop;if(ef(s||n).direction==="rtl"){a+=ev(n.clientWidth,s?s.clientWidth:0)-o}return{width:o,height:r,x:a,y:c}}function eF(t){var e=ef(t),n=e.overflow,i=e.overflowX,s=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+i)}function eV(t){if(["html","body","#document"].indexOf(t7(t))>=0){return t.ownerDocument.body}if(ee(t)&&eF(t)){return t}return eV(ed(t))}function eK(t,e){var n;if(e===void 0){e=[]}var i=eV(t);var s=i===((n=t.ownerDocument)==null?void 0:n.body);var o=t9(i);var r=s?[o].concat(o.visualViewport||[],eF(i)?i:[]):i;var a=e.concat(r);return s?a:a.concat(eK(ed(r)))}function eY(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function eQ(t){var e=ea(t);e.top=e.top+t.clientTop;e.left=e.left+t.clientLeft;e.bottom=e.top+t.clientHeight;e.right=e.left+t.clientWidth;e.width=t.clientWidth;e.height=t.clientHeight;e.x=e.left;e.y=e.top;return e}function eG(t,e){return e===tK?eY(ez(t)):ee(e)?eQ(e):eY(eU(eh(t)))}function eX(t){var e=eK(ed(t));var n=["absolute","fixed"].indexOf(ef(t).position)>=0;var i=n&&ee(t)?em(t):t;if(!et(i)){return[]}return e.filter(function(t){return et(t)&&el(t,i)&&t7(t)!=="body"})}function eZ(t,e,n){var i=e==="clippingParents"?eX(t):[].concat(e);var s=[].concat(i,[n]);var o=s[0];var r=s.reduce(function(e,n){var i=eG(t,n);e.top=ev(i.top,e.top);e.right=eb(i.right,e.right);e.bottom=eb(i.bottom,e.bottom);e.left=ev(i.left,e.left);return e},eG(t,o));r.width=r.right-r.left;r.height=r.bottom-r.top;r.x=r.left;r.y=r.top;return r}function eJ(t){return t.split("-")[1]}function e0(t){var e=t.reference,n=t.element,i=t.placement;var s=i?er(i):null;var o=i?eJ(i):null;var r=e.x+e.width/2-n.width/2;var a=e.y+e.height/2-n.height/2;var c;switch(s){case tH:c={x:r,y:e.y-n.height};break;case tR:c={x:r,y:e.y+e.height};break;case tB:c={x:e.x+e.width,y:a};break;case tW:c={x:e.x-n.width,y:a};break;default:c={x:e.x,y:e.y}}var l=s?e_(s):null;if(l!=null){var f=l==="y"?"height":"width";switch(o){case tU:c[l]=c[l]-(e[f]/2-n[f]/2);break;case tF:c[l]=c[l]+(e[f]/2-n[f]/2);break}}return c}function e1(t,e){if(e===void 0){e={}}var n=e,i=n.placement,s=i===void 0?t.placement:i,o=n.boundary,r=o===void 0?tV:o,a=n.rootBoundary,c=a===void 0?tK:a,l=n.elementContext,f=l===void 0?tY:l,u=n.altBoundary,h=u===void 0?false:u,d=n.padding,p=d===void 0?0:d;var g=eA(typeof p!=="number"?p:eT(p,tz));var m=f===tY?tQ:tY;var _=t.elements.reference;var v=t.rects.popper;var b=t.elements[h?m:f];var y=eZ(et(b)?b:b.contextElement||eh(t.elements.popper),r,c);var w=ea(_);var E=e0({reference:w,element:v,strategy:"absolute",placement:s});var A=eY(Object.assign({},v,E));var T=f===tY?A:w;var O={top:y.top-T.top+g.top,bottom:T.bottom-y.bottom+g.bottom,left:y.left-T.left+g.left,right:T.right-y.right+g.right};var $=t.modifiersData.offset;if(f===tY&&$){var L=$[s];Object.keys(O).forEach(function(t){var e=[tB,tR].indexOf(t)>=0?1:-1;var n=[tH,tR].indexOf(t)>=0?"y":"x";O[t]+=L[n]*e})}return O}function e2(t,e){if(e===void 0){e={}}var n=e,i=n.placement,s=n.boundary,o=n.rootBoundary,r=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,l=c===void 0?tX:c;var f=eJ(i);var u=f?a?tG:tG.filter(function(t){return eJ(t)===f}):tz;var h=u.filter(function(t){return l.indexOf(t)>=0});if(h.length===0){h=u}var d=h.reduce(function(e,n){e[n]=e1(t,{placement:n,boundary:s,rootBoundary:o,padding:r})[er(n)];return e},{});return Object.keys(d).sort(function(t,e){return d[t]-d[e]})}function e3(t){if(er(t)===tq){return[]}var e=eH(t);return[eB(t),e,eB(e)]}function e5(t){var e=t.state,n=t.options,i=t.name;if(e.modifiersData[i]._skip){return}var s=n.mainAxis,o=s===void 0?true:s,r=n.altAxis,a=r===void 0?true:r,c=n.fallbackPlacements,l=n.padding,f=n.boundary,u=n.rootBoundary,h=n.altBoundary,d=n.flipVariations,p=d===void 0?true:d,g=n.allowedAutoPlacements;var m=e.options.placement;var _=er(m);var v=_===m;var b=c||(v||!p?[eH(m)]:e3(m));var y=[m].concat(b).reduce(function(t,n){return t.concat(er(n)===tq?e2(e,{placement:n,boundary:f,rootBoundary:u,padding:l,flipVariations:p,allowedAutoPlacements:g}):n)},[]);var w=e.rects.reference;var E=e.rects.popper;var A=new Map;var T=true;var O=y[0];for(var $=0;$<y.length;$++){var L=y[$];var C=er(L);var k=eJ(L)===tU;var x=[tH,tR].indexOf(C)>=0;var D=x?"width":"height";var N=e1(e,{placement:L,boundary:f,rootBoundary:u,altBoundary:h,padding:l});var S=x?k?tB:tW:k?tR:tH;if(w[D]>E[D]){S=eH(S)}var j=eH(S);var M=[];if(o){M.push(N[C]<=0)}if(a){M.push(N[S]<=0,N[j]<=0)}if(M.every(function(t){return t})){O=L;T=false;break}A.set(L,M)}if(T){var P=p?3:1;var I=function t(t){var e=y.find(function(e){var n=A.get(e);if(n){return n.slice(0,t).every(function(t){return t})}});if(e){O=e;return"break"}};for(var H=P;H>0;H--){var R=I(H);if(R==="break")break}}if(e.placement!==O){e.modifiersData[i]._skip=true;e.placement=O;e.reset=true}}var e4={name:"flip",enabled:true,phase:"main",fn:e5,requiresIfExists:["offset"],data:{_skip:false}};function e6(t,e,n){if(n===void 0){n={x:0,y:0}}return{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function e8(t){return[tH,tB,tR,tW].some(function(e){return t[e]>=0})}function e7(t){var e=t.state,n=t.name;var i=e.rects.reference;var s=e.rects.popper;var o=e.modifiersData.preventOverflow;var r=e1(e,{elementContext:"reference"});var a=e1(e,{altBoundary:true});var c=e6(r,i);var l=e6(a,s,o);var f=e8(c);var u=e8(l);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:f,hasPopperEscaped:u};e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":u})}var e9={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:e7};function nt(t,e,n){var i=er(t);var s=[tW,tH].indexOf(i)>=0?-1:1;var o=typeof n==="function"?n(Object.assign({},e,{placement:t})):n,r=o[0],a=o[1];r=r||0;a=(a||0)*s;return[tW,tB].indexOf(i)>=0?{x:a,y:r}:{x:r,y:a}}function ne(t){var e=t.state,n=t.options,i=t.name;var s=n.offset,o=s===void 0?[0,0]:s;var r=tX.reduce(function(t,n){t[n]=nt(n,e.rects,o);return t},{});var a=r[e.placement],c=a.x,l=a.y;if(e.modifiersData.popperOffsets!=null){e.modifiersData.popperOffsets.x+=c;e.modifiersData.popperOffsets.y+=l}e.modifiersData[i]=r}var nn={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:ne};function ni(t){var e=t.state,n=t.name;e.modifiersData[n]=e0({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var ns={name:"popperOffsets",enabled:true,phase:"read",fn:ni,data:{}};function no(t){return t==="x"?"y":"x"}function nr(t){var e=t.state,n=t.options,i=t.name;var s=n.mainAxis,o=s===void 0?true:s,r=n.altAxis,a=r===void 0?false:r,c=n.boundary,l=n.rootBoundary,f=n.altBoundary,u=n.padding,h=n.tether,d=h===void 0?true:h,p=n.tetherOffset,g=p===void 0?0:p;var m=e1(e,{boundary:c,rootBoundary:l,padding:u,altBoundary:f});var _=er(e.placement);var v=eJ(e.placement);var b=!v;var y=e_(_);var w=no(y);var E=e.modifiersData.popperOffsets;var A=e.rects.reference;var T=e.rects.popper;var O=typeof g==="function"?g(Object.assign({},e.rects,{placement:e.placement})):g;var $={x:0,y:0};if(!E){return}if(o||a){var L=y==="y"?tH:tW;var C=y==="y"?tR:tB;var k=y==="y"?"height":"width";var x=E[y];var D=E[y]+m[L];var N=E[y]-m[C];var S=d?-T[k]/2:0;var j=v===tU?A[k]:T[k];var M=v===tU?-T[k]:-A[k];var P=e.elements.arrow;var I=d&&P?ec(P):{width:0,height:0};var H=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:eE();var R=H[L];var B=H[C];var W=ew(0,A[k],I[k]);var q=b?A[k]/2-S-W-R-O:j-W-R-O;var z=b?-A[k]/2+S+W+B+O:M+W+B+O;var U=e.elements.arrow&&em(e.elements.arrow);var F=U?y==="y"?U.clientTop||0:U.clientLeft||0:0;var V=e.modifiersData.offset?e.modifiersData.offset[e.placement][y]:0;var K=E[y]+q-V-F;var Y=E[y]+z-V;if(o){var Q=ew(d?eb(D,K):D,x,d?ev(N,Y):N);E[y]=Q;$[y]=Q-x}if(a){var G=y==="x"?tH:tW;var X=y==="x"?tR:tB;var Z=E[w];var J=Z+m[G];var tt=Z-m[X];var te=ew(d?eb(J,K):J,Z,d?ev(tt,Y):tt);E[w]=te;$[w]=te-Z}}e.modifiersData[i]=$}var na={name:"preventOverflow",enabled:true,phase:"main",fn:nr,requiresIfExists:["offset"]};function nc(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function nl(t){if(t===t9(t)||!ee(t)){return eW(t)}else{return nc(t)}}function nf(t,e,n){if(n===void 0){n=false}var i=eh(e);var s=ea(t);var o=ee(e);var r={scrollLeft:0,scrollTop:0};var a={x:0,y:0};if(o||!o&&!n){if(t7(e)!=="body"||eF(i)){r=nl(e)}if(ee(e)){a=ea(e);a.x+=e.clientLeft;a.y+=e.clientTop}else if(i){a.x=eq(i)}}return{x:s.left+r.scrollLeft-a.x,y:s.top+r.scrollTop-a.y,width:s.width,height:s.height}}function nu(t){var e=new Map;var n=new Set;var i=[];t.forEach(function(t){e.set(t.name,t)});function s(t){n.add(t.name);var o=[].concat(t.requires||[],t.requiresIfExists||[]);o.forEach(function(t){if(!n.has(t)){var i=e.get(t);if(i){s(i)}}});i.push(t)}t.forEach(function(t){if(!n.has(t.name)){s(t)}});return i}function nh(t){var e=nu(t);return t8.reduce(function(t,n){return t.concat(e.filter(function(t){return t.phase===n}))},[])}function nd(t){var e;return function(){if(!e){e=new Promise(function(n){Promise.resolve().then(function(){e=undefined;n(t())})})}return e}}function np(t){var e=t.reduce(function(t,e){var n=t[e.name];t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e;return t},{});return Object.keys(e).map(function(t){return e[t]})}var ng={placement:"bottom",modifiers:[],strategy:"absolute"};function nm(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++){e[n]=arguments[n]}return!e.some(function(t){return!(t&&typeof t.getBoundingClientRect==="function")})}function n_(t){if(t===void 0){t={}}var e=t,n=e.defaultModifiers,i=n===void 0?[]:n,s=e.defaultOptions,o=s===void 0?ng:s;return function t(t,e,n){if(n===void 0){n=o}var s={placement:"bottom",orderedModifiers:[],options:Object.assign({},ng,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}};var r=[];var a=false;var c={state:s,setOptions:function n(n){f();s.options=Object.assign({},o,s.options,n);s.scrollParents={reference:et(t)?eK(t):t.contextElement?eK(t.contextElement):[],popper:eK(e)};var r=nh(np([].concat(i,s.options.modifiers)));s.orderedModifiers=r.filter(function(t){return t.enabled});l();return c.update()},forceUpdate:function t(){if(a){return}var t=s.elements,e=t.reference,n=t.popper;if(!nm(e,n)){return}s.rects={reference:nf(e,em(n),s.options.strategy==="fixed"),popper:ec(n)};s.reset=false;s.placement=s.options.placement;s.orderedModifiers.forEach(function(t){return s.modifiersData[t.name]=Object.assign({},t.data)});for(var i=0;i<s.orderedModifiers.length;i++){if(s.reset===true){s.reset=false;i=-1;continue}var o=s.orderedModifiers[i],r=o.fn,l=o.options,f=l===void 0?{}:l,u=o.name;if(typeof r==="function"){s=r({state:s,options:f,name:u,instance:c})||s}}},update:nd(function(){return new Promise(function(t){c.forceUpdate();t(s)})}),destroy:function t(){f();a=true}};if(!nm(t,e)){return c}c.setOptions(n).then(function(t){if(!a&&n.onFirstUpdate){n.onFirstUpdate(t)}});function l(){s.orderedModifiers.forEach(function(t){var e=t.name,n=t.options,i=n===void 0?{}:n,o=t.effect;if(typeof o==="function"){var a=o({state:s,name:e,instance:c,options:i});var l=function t(){};r.push(a||l)}})}function f(){r.forEach(function(t){return t()});r=[]}return c}}var nv=n_();var nb=[eP,ns,eS,eo];var ny=n_({defaultModifiers:nb});var nw=[eP,ns,eS,eo,nn,e4,na,eC,e9];var nE=n_({defaultModifiers:nw});var nA=Object.freeze({__proto__:null,popperGenerator:n_,detectOverflow:e1,createPopperBase:nv,createPopper:nE,createPopperLite:ny,top:tH,bottom:tR,right:tB,left:tW,auto:tq,basePlacements:tz,start:tU,end:tF,clippingParents:tV,viewport:tK,popper:tY,reference:tQ,variationPlacements:tG,placements:tX,beforeRead:tZ,read:tJ,afterRead:t0,beforeMain:t1,main:t2,afterMain:t3,beforeWrite:t5,write:t4,afterWrite:t6,modifierPhases:t8,applyStyles:eo,arrow:eC,computeStyles:eS,eventListeners:eP,flip:e4,hide:e9,offset:nn,popperOffsets:ns,preventOverflow:na});const nT="dropdown";const nO="bs.dropdown";const n$=`.${nO}`;const nL=".data-api";const nC="Escape";const nk="Space";const nx="Tab";const nD="ArrowUp";const nN="ArrowDown";const nS=2;const nj=new RegExp(`${nD}|${nN}|${nC}`);const nM=`hide${n$}`;const nP=`hidden${n$}`;const nI=`show${n$}`;const nH=`shown${n$}`;const nR=`click${n$}`;const nB=`click${n$}${nL}`;const nW=`keydown${n$}${nL}`;const nq=`keyup${n$}${nL}`;const nz="show";const nU="dropup";const nF="dropend";const nV="dropstart";const nK="navbar";const nY='[data-bs-toggle="dropdown"]';const nQ=".dropdown-menu";const nG=".navbar-nav";const nX=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)";const nZ=A()?"top-end":"top-start";const nJ=A()?"top-start":"top-end";const n0=A()?"bottom-end":"bottom-start";const n1=A()?"bottom-start":"bottom-end";const n2=A()?"left-start":"right-start";const n3=A()?"right-start":"left-start";const n5={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:true};const n4={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class n6 extends Y{constructor(t,e){super(t);this._popper=null;this._config=this._getConfig(e);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}static get Default(){return n5}static get DefaultType(){return n4}static get NAME(){return nT}toggle(){if(_(this._element)){return}const t=this._element.classList.contains(nz);if(t){this.hide();return}this.show()}show(){if(_(this._element)||this._menu.classList.contains(nz)){return}const t=n6.getParentFromElement(this._element);const e={relatedTarget:this._element};const n=V.trigger(this._element,nI,e);if(n.defaultPrevented){return}if(this._inNavbar){t_.setDataAttribute(this._menu,"popper","none")}else{if(typeof nA==="undefined"){throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)")}let e=this._element;if(this._config.reference==="parent"){e=t}else if(h(this._config.reference)){e=d(this._config.reference)}else if(typeof this._config.reference==="object"){e=this._config.reference}const n=this._getPopperConfig();const i=n.modifiers.find(t=>t.name==="applyStyles"&&t.enabled===false);this._popper=nE(e,this._menu,n);if(i){t_.setDataAttribute(this._menu,"popper","static")}}if("ontouchstart"in document.documentElement&&!t.closest(nG)){[].concat(...document.body.children).forEach(t=>V.on(t,"mouseover",b))}this._element.focus();this._element.setAttribute("aria-expanded",true);this._menu.classList.toggle(nz);this._element.classList.toggle(nz);V.trigger(this._element,nH,e)}hide(){if(_(this._element)||!this._menu.classList.contains(nz)){return}const t={relatedTarget:this._element};this._completeHide(t)}dispose(){if(this._popper){this._popper.destroy()}super.dispose()}update(){this._inNavbar=this._detectNavbar();if(this._popper){this._popper.update()}}_addEventListeners(){V.on(this._element,nR,t=>{t.preventDefault();this.toggle()})}_completeHide(t){const e=V.trigger(this._element,nM,t);if(e.defaultPrevented){return}if("ontouchstart"in document.documentElement){[].concat(...document.body.children).forEach(t=>V.off(t,"mouseover",b))}if(this._popper){this._popper.destroy()}this._menu.classList.remove(nz);this._element.classList.remove(nz);this._element.setAttribute("aria-expanded","false");t_.removeDataAttribute(this._menu,"popper");V.trigger(this._element,nP,t)}_getConfig(t){t={...this.constructor.Default,...t_.getDataAttributes(this._element),...t};g(nT,t,this.constructor.DefaultType);if(typeof t.reference==="object"&&!h(t.reference)&&typeof t.reference.getBoundingClientRect!=="function"){throw new TypeError(`${nT.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`)}return t}_getMenuElement(){return e.next(this._element,nQ)[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains(nF)){return n2}if(t.classList.contains(nV)){return n3}const e=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";if(t.classList.contains(nU)){return e?nJ:nZ}return e?n1:n0}_detectNavbar(){return this._element.closest(`.${nK}`)!==null}_getOffset(){const{offset:t}=this._config;if(typeof t==="string"){return t.split(",").map(t=>Number.parseInt(t,10))}if(typeof t==="function"){return e=>t(e,this._element)}return t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};if(this._config.display==="static"){t.modifiers=[{name:"applyStyles",enabled:false}]}return{...t,...typeof this._config.popperConfig==="function"?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem(t){const n=e.find(nX,this._menu).filter(m);if(!n.length){return}let i=n.indexOf(t.target);if(t.key===nD&&i>0){i--}if(t.key===nN&&i<n.length-1){i++}i=i===-1?0:i;n[i].focus()}static dropdownInterface(t,e){let n=L.get(t,nO);const i=typeof e==="object"?e:null;if(!n){n=new n6(t,i)}if(typeof e==="string"){if(typeof n[e]==="undefined"){throw new TypeError(`No method named "${e}"`)}n[e]()}}static jQueryInterface(t){return this.each(function(){n6.dropdownInterface(this,t)})}static clearMenus(t){if(t&&(t.button===nS||t.type==="keyup"&&t.key!==nx)){return}const n=e.find(nY);for(let e=0,i=n.length;e<i;e++){const i=L.get(n[e],nO);if(!i||i._config.autoClose===false){continue}if(!i._element.classList.contains(nz)){continue}const s={relatedTarget:i._element};if(t){const e=t.composedPath();const n=e.includes(i._menu);if(e.includes(i._element)||i._config.autoClose==="inside"&&!n||i._config.autoClose==="outside"&&n){continue}if(i._menu.contains(t.target)&&(t.type==="keyup"&&t.key===nx||/input|select|option|textarea|form/i.test(t.target.tagName))){continue}if(t.type==="click"){s.clickEvent=t}}i._completeHide(s)}}static getParentFromElement(t){return l(t)||t.parentNode}static dataApiKeydownHandler(t){if(/input|textarea/i.test(t.target.tagName)?t.key===nk||t.key!==nC&&(t.key!==nN&&t.key!==nD||t.target.closest(nQ)):!nj.test(t.key)){return}const n=this.classList.contains(nz);if(!n&&t.key===nC){return}t.preventDefault();t.stopPropagation();if(_(this)){return}const i=()=>this.matches(nY)?this:e.prev(this,nY)[0];if(t.key===nC){i().focus();n6.clearMenus();return}if(!n&&(t.key===nD||t.key===nN)){i().click();return}if(!n||t.key===nk){n6.clearMenus();return}n6.getInstance(i())._selectMenuItem(t)}}V.on(document,nW,nY,n6.dataApiKeydownHandler);V.on(document,nW,nQ,n6.dataApiKeydownHandler);V.on(document,nB,n6.clearMenus);V.on(document,nq,n6.clearMenus);V.on(document,nB,nY,function(t){t.preventDefault();n6.dropdownInterface(this)});T(n6);const n8=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top";const n7=".sticky-top";const n9=()=>{const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)};const it=(t=n9())=>{ie();ii("body","paddingRight",e=>e+t);ii(n8,"paddingRight",e=>e+t);ii(n7,"marginRight",e=>e-t)};const ie=()=>{const t=document.body.style.overflow;if(t){t_.setDataAttribute(document.body,"overflow",t)}document.body.style.overflow="hidden"};const ii=(t,n,i)=>{const s=n9();e.find(t).forEach(t=>{if(t!==document.body&&window.innerWidth>t.clientWidth+s){return}const e=t.style[n];const o=window.getComputedStyle(t)[n];t_.setDataAttribute(t,n,e);t.style[n]=`${i(Number.parseFloat(o))}px`})};const is=()=>{io("body","overflow");io("body","paddingRight");io(n8,"paddingRight");io(n7,"marginRight")};const io=(t,n)=>{e.find(t).forEach(t=>{const e=t_.getDataAttribute(t,n);if(typeof e==="undefined"){t.style.removeProperty(n)}else{t_.removeDataAttribute(t,n);t.style[n]=e}})};const ir={isVisible:true,isAnimated:false,rootElement:document.body,clickCallback:null};const ia={isVisible:"boolean",isAnimated:"boolean",rootElement:"element",clickCallback:"(function|null)"};const ic="backdrop";const il="modal-backdrop";const iu="fade";const ih="show";const id=`mousedown.bs.${ic}`;class ip{constructor(t){this._config=this._getConfig(t);this._isAppended=false;this._element=null}show(t){if(!this._config.isVisible){O(t);return}this._append();if(this._config.isAnimated){y(this._getElement())}this._getElement().classList.add(ih);this._emulateAnimation(()=>{O(t)})}hide(t){if(!this._config.isVisible){O(t);return}this._getElement().classList.remove(ih);this._emulateAnimation(()=>{this.dispose();O(t)})}_getElement(){if(!this._element){const t=document.createElement("div");t.className=il;if(this._config.isAnimated){t.classList.add(iu)}this._element=t}return this._element}_getConfig(t){t={...ir,...typeof t==="object"?t:{}};t.rootElement=t.rootElement||document.body;g(ic,t,ia);return t}_append(){if(this._isAppended){return}this._config.rootElement.appendChild(this._getElement());V.on(this._getElement(),id,()=>{O(this._config.clickCallback)});this._isAppended=true}dispose(){if(!this._isAppended){return}V.off(this._element,id);this._getElement().parentNode.removeChild(this._element);this._isAppended=false}_emulateAnimation(t){if(!this._config.isAnimated){O(t);return}const e=f(this._getElement());V.one(this._getElement(),"transitionend",()=>O(t));p(this._getElement(),e)}}const ig="modal";const im="bs.modal";const i_=`.${im}`;const iv=".data-api";const ib="Escape";const iy={backdrop:true,keyboard:true,focus:true};const iw={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"};const iE=`hide${i_}`;const iA=`hidePrevented${i_}`;const iT=`hidden${i_}`;const iO=`show${i_}`;const i$=`shown${i_}`;const iL=`focusin${i_}`;const iC=`resize${i_}`;const ik=`click.dismiss${i_}`;const ix=`keydown.dismiss${i_}`;const iD=`mouseup.dismiss${i_}`;const iN=`mousedown.dismiss${i_}`;const iS=`click${i_}${iv}`;const ij="modal-open";const iM="fade";const iP="show";const iI="modal-static";const iH=".modal-dialog";const iR=".modal-body";const iB='[data-bs-toggle="modal"]';const iW='[data-bs-dismiss="modal"]';class iq extends Y{constructor(t,n){super(t);this._config=this._getConfig(n);this._dialog=e.findOne(iH,this._element);this._backdrop=this._initializeBackDrop();this._isShown=false;this._ignoreBackdropClick=false;this._isTransitioning=false}static get Default(){return iy}static get NAME(){return ig}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning){return}if(this._isAnimated()){this._isTransitioning=true}const e=V.trigger(this._element,iO,{relatedTarget:t});if(this._isShown||e.defaultPrevented){return}this._isShown=true;it();document.body.classList.add(ij);this._adjustDialog();this._setEscapeEvent();this._setResizeEvent();V.on(this._element,ik,iW,t=>this.hide(t));V.on(this._dialog,iN,()=>{V.one(this._element,iD,t=>{if(t.target===this._element){this._ignoreBackdropClick=true}})});this._showBackdrop(()=>this._showElement(t))}hide(t){if(t){t.preventDefault()}if(!this._isShown||this._isTransitioning){return}const e=V.trigger(this._element,iE);if(e.defaultPrevented){return}this._isShown=false;const n=this._isAnimated();if(n){this._isTransitioning=true}this._setEscapeEvent();this._setResizeEvent();V.off(document,iL);this._element.classList.remove(iP);V.off(this._element,ik);V.off(this._dialog,iN);this._queueCallback(()=>this._hideModal(),this._element,n)}dispose(){[window,this._dialog].forEach(t=>V.off(t,i_));this._backdrop.dispose();super.dispose();V.off(document,iL)}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ip({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_getConfig(t){t={...iy,...t_.getDataAttributes(this._element),...t};g(ig,t,iw);return t}_showElement(t){const n=this._isAnimated();const i=e.findOne(iR,this._dialog);if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE){document.body.appendChild(this._element)}this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.setAttribute("aria-modal",true);this._element.setAttribute("role","dialog");this._element.scrollTop=0;if(i){i.scrollTop=0}if(n){y(this._element)}this._element.classList.add(iP);if(this._config.focus){this._enforceFocus()}const s=()=>{if(this._config.focus){this._element.focus()}this._isTransitioning=false;V.trigger(this._element,i$,{relatedTarget:t})};this._queueCallback(s,this._dialog,n)}_enforceFocus(){V.off(document,iL);V.on(document,iL,t=>{if(document!==t.target&&this._element!==t.target&&!this._element.contains(t.target)){this._element.focus()}})}_setEscapeEvent(){if(this._isShown){V.on(this._element,ix,t=>{if(this._config.keyboard&&t.key===ib){t.preventDefault();this.hide()}else if(!this._config.keyboard&&t.key===ib){this._triggerBackdropTransition()}})}else{V.off(this._element,ix)}}_setResizeEvent(){if(this._isShown){V.on(window,iC,()=>this._adjustDialog())}else{V.off(window,iC)}}_hideModal(){this._element.style.display="none";this._element.setAttribute("aria-hidden",true);this._element.removeAttribute("aria-modal");this._element.removeAttribute("role");this._isTransitioning=false;this._backdrop.hide(()=>{document.body.classList.remove(ij);this._resetAdjustments();is();V.trigger(this._element,iT)})}_showBackdrop(t){V.on(this._element,ik,t=>{if(this._ignoreBackdropClick){this._ignoreBackdropClick=false;return}if(t.target!==t.currentTarget){return}if(this._config.backdrop===true){this.hide()}else if(this._config.backdrop==="static"){this._triggerBackdropTransition()}});this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains(iM)}_triggerBackdropTransition(){const t=V.trigger(this._element,iA);if(t.defaultPrevented){return}const e=this._element.scrollHeight>document.documentElement.clientHeight;if(!e){this._element.style.overflowY="hidden"}this._element.classList.add(iI);const n=f(this._dialog);V.off(this._element,"transitionend");V.one(this._element,"transitionend",()=>{this._element.classList.remove(iI);if(!e){V.one(this._element,"transitionend",()=>{this._element.style.overflowY=""});p(this._element,n)}});p(this._element,n);this._element.focus()}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight;const e=n9();const n=e>0;if(!n&&t&&!A()||n&&!t&&A()){this._element.style.paddingLeft=`${e}px`}if(n&&!t&&!A()||!n&&t&&A()){this._element.style.paddingRight=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="";this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){const n=iq.getInstance(this)||new iq(this,typeof t==="object"?t:{});if(typeof t!=="string"){return}if(typeof n[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}n[t](e)})}}V.on(document,iS,iB,function(t){const e=l(this);if(["A","AREA"].includes(this.tagName)){t.preventDefault()}V.one(e,iO,t=>{if(t.defaultPrevented){return}V.one(e,iT,()=>{if(m(this)){this.focus()}})});const n=iq.getInstance(e)||new iq(e);n.toggle(this)});T(iq);const iz="offcanvas";const iU="bs.offcanvas";const iF=`.${iU}`;const iV=".data-api";const iK=`load${iF}${iV}`;const iY="Escape";const iQ={backdrop:true,keyboard:true,scroll:false};const iG={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"};const iX="show";const iZ=".offcanvas.show";const iJ=`show${iF}`;const i0=`shown${iF}`;const i1=`hide${iF}`;const i2=`hidden${iF}`;const i3=`focusin${iF}`;const i5=`click${iF}${iV}`;const i4=`click.dismiss${iF}`;const i6=`keydown.dismiss${iF}`;const i8='[data-bs-dismiss="offcanvas"]';const i7='[data-bs-toggle="offcanvas"]';class i9 extends Y{constructor(t,e){super(t);this._config=this._getConfig(e);this._isShown=false;this._backdrop=this._initializeBackDrop();this._addEventListeners()}static get NAME(){return iz}static get Default(){return iQ}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown){return}const e=V.trigger(this._element,iJ,{relatedTarget:t});if(e.defaultPrevented){return}this._isShown=true;this._element.style.visibility="visible";this._backdrop.show();if(!this._config.scroll){it();this._enforceFocusOnElement(this._element)}this._element.removeAttribute("aria-hidden");this._element.setAttribute("aria-modal",true);this._element.setAttribute("role","dialog");this._element.classList.add(iX);const n=()=>{V.trigger(this._element,i0,{relatedTarget:t})};this._queueCallback(n,this._element,true)}hide(){if(!this._isShown){return}const t=V.trigger(this._element,i1);if(t.defaultPrevented){return}V.off(document,i3);this._element.blur();this._isShown=false;this._element.classList.remove(iX);this._backdrop.hide();const e=()=>{this._element.setAttribute("aria-hidden",true);this._element.removeAttribute("aria-modal");this._element.removeAttribute("role");this._element.style.visibility="hidden";if(!this._config.scroll){is()}V.trigger(this._element,i2)};this._queueCallback(e,this._element,true)}dispose(){this._backdrop.dispose();super.dispose();V.off(document,i3)}_getConfig(t){t={...iQ,...t_.getDataAttributes(this._element),...typeof t==="object"?t:{}};g(iz,t,iG);return t}_initializeBackDrop(){return new ip({isVisible:this._config.backdrop,isAnimated:true,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_enforceFocusOnElement(t){V.off(document,i3);V.on(document,i3,e=>{if(document!==e.target&&t!==e.target&&!t.contains(e.target)){t.focus()}});t.focus()}_addEventListeners(){V.on(this._element,i4,i8,()=>this.hide());V.on(this._element,i6,t=>{if(this._config.keyboard&&t.key===iY){this.hide()}})}static jQueryInterface(t){return this.each(function(){const e=L.get(this,iU)||new i9(this,typeof t==="object"?t:{});if(typeof t!=="string"){return}if(e[t]===undefined||t.startsWith("_")||t==="constructor"){throw new TypeError(`No method named "${t}"`)}e[t](this)})}}V.on(document,i5,i7,function(t){const n=l(this);if(["A","AREA"].includes(this.tagName)){t.preventDefault()}if(_(this)){return}V.one(n,i2,()=>{if(m(this)){this.focus()}});const i=e.findOne(iZ);if(i&&i!==n){i9.getInstance(i).hide()}const s=L.get(n,iU)||new i9(n);s.toggle(this)});V.on(window,iK,()=>{e.find(iZ).forEach(t=>(L.get(t,iU)||new i9(t)).show())});T(i9);const st=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]);const se=/^aria-[\w-]*$/i;const sn=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i;const si=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;const ss=(t,e)=>{const n=t.nodeName.toLowerCase();if(e.includes(n)){if(st.has(n)){return Boolean(sn.test(t.nodeValue)||si.test(t.nodeValue))}return true}const i=e.filter(t=>t instanceof RegExp);for(let t=0,e=i.length;t<e;t++){if(i[t].test(n)){return true}}return false};const so={"*":["class","dir","id","lang","role",se],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:[]};function sr(t,e,n){if(!t.length){return t}if(n&&typeof n==="function"){return n(t)}const i=new window.DOMParser;const s=i.parseFromString(t,"text/html");const o=Object.keys(e);const r=[].concat(...s.body.querySelectorAll("*"));for(let t=0,n=r.length;t<n;t++){const n=r[t];const i=n.nodeName.toLowerCase();if(!o.includes(i)){n.parentNode.removeChild(n);continue}const s=[].concat(...n.attributes);const a=[].concat(e["*"]||[],e[i]||[]);s.forEach(t=>{if(!ss(t,a)){n.removeAttribute(t.nodeName)}})}return s.body.innerHTML}const sa="tooltip";const sc="bs.tooltip";const sl=`.${sc}`;const sf="bs-tooltip";const su=new RegExp(`(^|\\s)${sf}\\S+`,"g");const sh=new Set(["sanitize","allowList","sanitizeFn"]);const sd={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"};const sp={AUTO:"auto",TOP:"top",RIGHT:A()?"left":"right",BOTTOM:"bottom",LEFT:A()?"right":"left"};const sg={animation:true,template:'<div class="tooltip" role="tooltip">'+'<div class="tooltip-arrow"></div>'+'<div class="tooltip-inner"></div>'+"</div>",trigger:"hover focus",title:"",delay:0,html:false,selector:false,placement:"top",offset:[0,0],container:false,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:true,sanitizeFn:null,allowList:so,popperConfig:null};const sm={HIDE:`hide${sl}`,HIDDEN:`hidden${sl}`,SHOW:`show${sl}`,SHOWN:`shown${sl}`,INSERTED:`inserted${sl}`,CLICK:`click${sl}`,FOCUSIN:`focusin${sl}`,FOCUSOUT:`focusout${sl}`,MOUSEENTER:`mouseenter${sl}`,MOUSELEAVE:`mouseleave${sl}`};const s_="fade";const sv="modal";const sb="show";const sy="show";const sw="out";const sE=".tooltip-inner";const sA="hover";const sT="focus";const sO="click";const s$="manual";class sL extends Y{constructor(t,e){if(typeof nA==="undefined"){throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)")}super(t);this._isEnabled=true;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this._config=this._getConfig(e);this.tip=null;this._setListeners()}static get Default(){return sg}static get NAME(){return sa}static get Event(){return sm}static get DefaultType(){return sd}enable(){this._isEnabled=true}disable(){this._isEnabled=false}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(!this._isEnabled){return}if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click;if(e._isWithActiveTrigger()){e._enter(null,e)}else{e._leave(null,e)}}else{if(this.getTipElement().classList.contains(sb)){this._leave(null,this);return}this._enter(null,this)}}dispose(){clearTimeout(this._timeout);V.off(this._element.closest(`.${sv}`),"hide.bs.modal",this._hideModalHandler);if(this.tip&&this.tip.parentNode){this.tip.parentNode.removeChild(this.tip)}if(this._popper){this._popper.destroy()}super.dispose()}show(){if(this._element.style.display==="none"){throw new Error("Please use show on visible elements")}if(!(this.isWithContent()&&this._isEnabled)){return}const t=V.trigger(this._element,this.constructor.Event.SHOW);const e=v(this._element);const n=e===null?this._element.ownerDocument.documentElement.contains(this._element):e.contains(this._element);if(t.defaultPrevented||!n){return}const i=this.getTipElement();const s=r(this.constructor.NAME);i.setAttribute("id",s);this._element.setAttribute("aria-describedby",s);this.setContent();if(this._config.animation){i.classList.add(s_)}const o=typeof this._config.placement==="function"?this._config.placement.call(this,i,this._element):this._config.placement;const a=this._getAttachment(o);this._addAttachmentClass(a);const{container:c}=this._config;L.set(i,this.constructor.DATA_KEY,this);if(!this._element.ownerDocument.documentElement.contains(this.tip)){c.appendChild(i);V.trigger(this._element,this.constructor.Event.INSERTED)}if(this._popper){this._popper.update()}else{this._popper=nE(this._element,i,this._getPopperConfig(a))}i.classList.add(sb);const l=typeof this._config.customClass==="function"?this._config.customClass():this._config.customClass;if(l){i.classList.add(...l.split(" "))}if("ontouchstart"in document.documentElement){[].concat(...document.body.children).forEach(t=>{V.on(t,"mouseover",b)})}const f=()=>{const t=this._hoverState;this._hoverState=null;V.trigger(this._element,this.constructor.Event.SHOWN);if(t===sw){this._leave(null,this)}};const u=this.tip.classList.contains(s_);this._queueCallback(f,this.tip,u)}hide(){if(!this._popper){return}const t=this.getTipElement();const e=()=>{if(this._isWithActiveTrigger()){return}if(this._hoverState!==sy&&t.parentNode){t.parentNode.removeChild(t)}this._cleanTipClass();this._element.removeAttribute("aria-describedby");V.trigger(this._element,this.constructor.Event.HIDDEN);if(this._popper){this._popper.destroy();this._popper=null}};const n=V.trigger(this._element,this.constructor.Event.HIDE);if(n.defaultPrevented){return}t.classList.remove(sb);if("ontouchstart"in document.documentElement){[].concat(...document.body.children).forEach(t=>V.off(t,"mouseover",b))}this._activeTrigger[sO]=false;this._activeTrigger[sT]=false;this._activeTrigger[sA]=false;const i=this.tip.classList.contains(s_);this._queueCallback(e,this.tip,i);this._hoverState=""}update(){if(this._popper!==null){this._popper.update()}}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip){return this.tip}const t=document.createElement("div");t.innerHTML=this._config.template;this.tip=t.children[0];return this.tip}setContent(){const t=this.getTipElement();this.setElementContent(e.findOne(sE,t),this.getTitle());t.classList.remove(s_,sb)}setElementContent(t,e){if(t===null){return}if(h(e)){e=d(e);if(this._config.html){if(e.parentNode!==t){t.innerHTML="";t.appendChild(e)}}else{t.textContent=e.textContent}return}if(this._config.html){if(this._config.sanitize){e=sr(e,this._config.allowList,this._config.sanitizeFn)}t.innerHTML=e}else{t.textContent=e}}getTitle(){let t=this._element.getAttribute("data-bs-original-title");if(!t){t=typeof this._config.title==="function"?this._config.title.call(this._element):this._config.title}return t}updateAttachment(t){if(t==="right"){return"end"}if(t==="left"){return"start"}return t}_initializeOnDelegatedTarget(t,e){const n=this.constructor.DATA_KEY;e=e||L.get(t.delegateTarget,n);if(!e){e=new this.constructor(t.delegateTarget,this._getDelegateConfig());L.set(t.delegateTarget,n,e)}return e}_getOffset(){const{offset:t}=this._config;if(typeof t==="string"){return t.split(",").map(t=>Number.parseInt(t,10))}if(typeof t==="function"){return e=>t(e,this._element)}return t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:true,phase:"afterWrite",fn:t=>this._handlePopperPlacementChange(t)}],onFirstUpdate:t=>{if(t.options.placement!==t.placement){this._handlePopperPlacementChange(t)}}};return{...e,...typeof this._config.popperConfig==="function"?this._config.popperConfig(e):this._config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add(`${sf}-${this.updateAttachment(t)}`)}_getAttachment(t){return sp[t.toUpperCase()]}_setListeners(){const t=this._config.trigger.split(" ");t.forEach(t=>{if(t==="click"){V.on(this._element,this.constructor.Event.CLICK,this._config.selector,t=>this.toggle(t))}else if(t!==s$){const e=t===sA?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN;const n=t===sA?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;V.on(this._element,e,this._config.selector,t=>this._enter(t));V.on(this._element,n,this._config.selector,t=>this._leave(t))}});this._hideModalHandler=()=>{if(this._element){this.hide()}};V.on(this._element.closest(`.${sv}`),"hide.bs.modal",this._hideModalHandler);if(this._config.selector){this._config={...this._config,trigger:"manual",selector:""}}else{this._fixTitle()}}_fixTitle(){const t=this._element.getAttribute("title");const e=typeof this._element.getAttribute("data-bs-original-title");if(t||e!=="string"){this._element.setAttribute("data-bs-original-title",t||"");if(t&&!this._element.getAttribute("aria-label")&&!this._element.textContent){this._element.setAttribute("aria-label",t)}this._element.setAttribute("title","")}}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e);if(t){e._activeTrigger[t.type==="focusin"?sT:sA]=true}if(e.getTipElement().classList.contains(sb)||e._hoverState===sy){e._hoverState=sy;return}clearTimeout(e._timeout);e._hoverState=sy;if(!e._config.delay||!e._config.delay.show){e.show();return}e._timeout=setTimeout(()=>{if(e._hoverState===sy){e.show()}},e._config.delay.show)}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e);if(t){e._activeTrigger[t.type==="focusout"?sT:sA]=e._element.contains(t.relatedTarget)}if(e._isWithActiveTrigger()){return}clearTimeout(e._timeout);e._hoverState=sw;if(!e._config.delay||!e._config.delay.hide){e.hide();return}e._timeout=setTimeout(()=>{if(e._hoverState===sw){e.hide()}},e._config.delay.hide)}_isWithActiveTrigger(){for(const t in this._activeTrigger){if(this._activeTrigger[t]){return true}}return false}_getConfig(t){const e=t_.getDataAttributes(this._element);Object.keys(e).forEach(t=>{if(sh.has(t)){delete e[t]}});t={...this.constructor.Default,...e,...typeof t==="object"&&t?t:{}};t.container=t.container===false?document.body:d(t.container);if(typeof t.delay==="number"){t.delay={show:t.delay,hide:t.delay}}if(typeof t.title==="number"){t.title=t.title.toString()}if(typeof t.content==="number"){t.content=t.content.toString()}g(sa,t,this.constructor.DefaultType);if(t.sanitize){t.template=sr(t.template,t.allowList,t.sanitizeFn)}return t}_getDelegateConfig(){const t={};if(this._config){for(const e in this._config){if(this.constructor.Default[e]!==this._config[e]){t[e]=this._config[e]}}}return t}_cleanTipClass(){const t=this.getTipElement();const e=t.getAttribute("class").match(su);if(e!==null&&e.length>0){e.map(t=>t.trim()).forEach(e=>t.classList.remove(e))}}_handlePopperPlacementChange(t){const{state:e}=t;if(!e){return}this.tip=e.elements.popper;this._cleanTipClass();this._addAttachmentClass(this._getAttachment(e.placement))}static jQueryInterface(t){return this.each(function(){let e=L.get(this,sc);const n=typeof t==="object"&&t;if(!e&&/dispose|hide/.test(t)){return}if(!e){e=new sL(this,n)}if(typeof t==="string"){if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t]()}})}}T(sL);const sC="popover";const sk="bs.popover";const sx=`.${sk}`;const sD="bs-popover";const sN=new RegExp(`(^|\\s)${sD}\\S+`,"g");const sS={...sL.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip">'+'<div class="popover-arrow"></div>'+'<h3 class="popover-header"></h3>'+'<div class="popover-body"></div>'+"</div>"};const sj={...sL.DefaultType,content:"(string|element|function)"};const sM={HIDE:`hide${sx}`,HIDDEN:`hidden${sx}`,SHOW:`show${sx}`,SHOWN:`shown${sx}`,INSERTED:`inserted${sx}`,CLICK:`click${sx}`,FOCUSIN:`focusin${sx}`,FOCUSOUT:`focusout${sx}`,MOUSEENTER:`mouseenter${sx}`,MOUSELEAVE:`mouseleave${sx}`};const sP="fade";const sI="show";const sH=".popover-header";const sR=".popover-body";class sB extends sL{static get Default(){return sS}static get NAME(){return sC}static get Event(){return sM}static get DefaultType(){return sj}isWithContent(){return this.getTitle()||this._getContent()}setContent(){const t=this.getTipElement();this.setElementContent(e.findOne(sH,t),this.getTitle());let n=this._getContent();if(typeof n==="function"){n=n.call(this._element)}this.setElementContent(e.findOne(sR,t),n);t.classList.remove(sP,sI)}_addAttachmentClass(t){this.getTipElement().classList.add(`${sD}-${this.updateAttachment(t)}`)}_getContent(){return this._element.getAttribute("data-bs-content")||this._config.content}_cleanTipClass(){const t=this.getTipElement();const e=t.getAttribute("class").match(sN);if(e!==null&&e.length>0){e.map(t=>t.trim()).forEach(e=>t.classList.remove(e))}}static jQueryInterface(t){return this.each(function(){let e=L.get(this,sk);const n=typeof t==="object"?t:null;if(!e&&/dispose|hide/.test(t)){return}if(!e){e=new sB(this,n);L.set(this,sk,e)}if(typeof t==="string"){if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t]()}})}}T(sB);const sW="scrollspy";const sq="bs.scrollspy";const sz=`.${sq}`;const sU=".data-api";const sF={offset:10,method:"auto",target:""};const sV={offset:"number",method:"string",target:"(string|element)"};const sK=`activate${sz}`;const sY=`scroll${sz}`;const sQ=`load${sz}${sU}`;const sG="dropdown-item";const sX="active";const sZ='[data-bs-spy="scroll"]';const sJ=".nav, .list-group";const s0=".nav-link";const s1=".nav-item";const s2=".list-group-item";const s3=".dropdown";const s5=".dropdown-toggle";const s4="offset";const s6="position";class s8 extends Y{constructor(t,e){super(t);this._scrollElement=this._element.tagName==="BODY"?window:this._element;this._config=this._getConfig(e);this._selector=`${this._config.target} ${s0}, ${this._config.target} ${s2}, ${this._config.target} .${sG}`;this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;V.on(this._scrollElement,sY,()=>this._process());this.refresh();this._process()}static get Default(){return sF}static get NAME(){return sW}refresh(){const t=this._scrollElement===this._scrollElement.window?s4:s6;const n=this._config.method==="auto"?t:this._config.method;const i=n===s6?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();const s=e.find(this._selector);s.map(t=>{const s=c(t);const o=s?e.findOne(s):null;if(o){const t=o.getBoundingClientRect();if(t.width||t.height){if(this._scrollElement===this._scrollElement.window&&"offset"==n){return[t.top+this._scrollElement.window.pageYOffset+i,s]}return[t_[n](o).top+i,s]}}return null}).filter(t=>t).sort((t,e)=>t[0]-e[0]).forEach(t=>{this._offsets.push(t[0]);this._targets.push(t[1])})}dispose(){V.off(this._scrollElement,sz);super.dispose()}_getConfig(t){t={...sF,...t_.getDataAttributes(this._element),...typeof t==="object"&&t?t:{}};if(typeof t.target!=="string"&&h(t.target)){let{id:e}=t.target;if(!e){e=r(sW);t.target.id=e}t.target=`#${e}`}g(sW,t,sV);return t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset;const e=this._getScrollHeight();const n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e){this.refresh()}if(t>=n){const t=this._targets[this._targets.length-1];if(this._activeTarget!==t){this._activate(t)}return}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null;this._clear();return}for(let e=this._offsets.length;e--;){const n=this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(typeof this._offsets[e+1]==="undefined"||t<this._offsets[e+1]);if(n){this._activate(this._targets[e])}}}_activate(t){this._activeTarget=t;this._clear();const n=this._selector.split(",").map(e=>`${e}[data-bs-target="${t}"],${e}[href="${t}"]`);const i=e.findOne(n.join(","));if(i.classList.contains(sG)){e.findOne(s5,i.closest(s3)).classList.add(sX);i.classList.add(sX)}else{i.classList.add(sX);e.parents(i,sJ).forEach(t=>{e.prev(t,`${s0}, ${s2}`).forEach(t=>t.classList.add(sX));e.prev(t,s1).forEach(t=>{e.children(t,s0).forEach(t=>t.classList.add(sX))})})}V.trigger(this._scrollElement,sK,{relatedTarget:t})}_clear(){e.find(this._selector).filter(t=>t.classList.contains(sX)).forEach(t=>t.classList.remove(sX))}static jQueryInterface(t){return this.each(function(){const e=s8.getInstance(this)||new s8(this,typeof t==="object"?t:{});if(typeof t!=="string"){return}if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t]()})}}V.on(window,sQ,()=>{e.find(sZ).forEach(t=>new s8(t))});T(s8);const s7="tab";const s9="bs.tab";const ot=`.${s9}`;const oe=".data-api";const on=`hide${ot}`;const oi=`hidden${ot}`;const os=`show${ot}`;const oo=`shown${ot}`;const or=`click${ot}${oe}`;const oa="dropdown-menu";const oc="active";const ol="fade";const of="show";const ou=".dropdown";const oh=".nav, .list-group";const od=".active";const op=":scope > li > .active";const og='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]';const om=".dropdown-toggle";const o_=":scope > .dropdown-menu .active";class ov extends Y{static get NAME(){return s7}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(oc)){return}let t;const n=l(this._element);const i=this._element.closest(oh);if(i){const n=i.nodeName==="UL"||i.nodeName==="OL"?op:od;t=e.find(n,i);t=t[t.length-1]}const s=t?V.trigger(t,on,{relatedTarget:this._element}):null;const o=V.trigger(this._element,os,{relatedTarget:t});if(o.defaultPrevented||s!==null&&s.defaultPrevented){return}this._activate(this._element,i);const r=()=>{V.trigger(t,oi,{relatedTarget:this._element});V.trigger(this._element,oo,{relatedTarget:t})};if(n){this._activate(n,n.parentNode,r)}else{r()}}_activate(t,n,i){const s=n&&(n.nodeName==="UL"||n.nodeName==="OL")?e.find(op,n):e.children(n,od);const o=s[0];const r=i&&o&&o.classList.contains(ol);const a=()=>this._transitionComplete(t,o,i);if(o&&r){o.classList.remove(of);this._queueCallback(a,t,true)}else{a()}}_transitionComplete(t,n,i){if(n){n.classList.remove(oc);const t=e.findOne(o_,n.parentNode);if(t){t.classList.remove(oc)}if(n.getAttribute("role")==="tab"){n.setAttribute("aria-selected",false)}}t.classList.add(oc);if(t.getAttribute("role")==="tab"){t.setAttribute("aria-selected",true)}y(t);if(t.classList.contains(ol)){t.classList.add(of)}let s=t.parentNode;if(s&&s.nodeName==="LI"){s=s.parentNode}if(s&&s.classList.contains(oa)){const n=t.closest(ou);if(n){e.find(om,n).forEach(t=>t.classList.add(oc))}t.setAttribute("aria-expanded",true)}if(i){i()}}static jQueryInterface(t){return this.each(function(){const e=L.get(this,s9)||new ov(this);if(typeof t==="string"){if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t]()}})}}V.on(document,or,og,function(t){if(["A","AREA"].includes(this.tagName)){t.preventDefault()}if(_(this)){return}const e=L.get(this,s9)||new ov(this);e.show()});T(ov);const ob="toast";const oy="bs.toast";const ow=`.${oy}`;const oE=`click.dismiss${ow}`;const oA=`mouseover${ow}`;const oT=`mouseout${ow}`;const oO=`focusin${ow}`;const o$=`focusout${ow}`;const oL=`hide${ow}`;const oC=`hidden${ow}`;const ok=`show${ow}`;const ox=`shown${ow}`;const oD="fade";const oN="hide";const oS="show";const oj="showing";const oM={animation:"boolean",autohide:"boolean",delay:"number"};const oP={animation:true,autohide:true,delay:5e3};const oI='[data-bs-dismiss="toast"]';class oH extends Y{constructor(t,e){super(t);this._config=this._getConfig(e);this._timeout=null;this._hasMouseInteraction=false;this._hasKeyboardInteraction=false;this._setListeners()}static get DefaultType(){return oM}static get Default(){return oP}static get NAME(){return ob}show(){const t=V.trigger(this._element,ok);if(t.defaultPrevented){return}this._clearTimeout();if(this._config.animation){this._element.classList.add(oD)}const e=()=>{this._element.classList.remove(oj);this._element.classList.add(oS);V.trigger(this._element,ox);this._maybeScheduleHide()};this._element.classList.remove(oN);y(this._element);this._element.classList.add(oj);this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this._element.classList.contains(oS)){return}const t=V.trigger(this._element,oL);if(t.defaultPrevented){return}const e=()=>{this._element.classList.add(oN);V.trigger(this._element,oC)};this._element.classList.remove(oS);this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout();if(this._element.classList.contains(oS)){this._element.classList.remove(oS)}super.dispose()}_getConfig(t){t={...oP,...t_.getDataAttributes(this._element),...typeof t==="object"&&t?t:{}};g(ob,t,this.constructor.DefaultType);return t}_maybeScheduleHide(){if(!this._config.autohide){return}if(this._hasMouseInteraction||this._hasKeyboardInteraction){return}this._timeout=setTimeout(()=>{this.hide()},this._config.delay)}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e;break}if(e){this._clearTimeout();return}const n=t.relatedTarget;if(this._element===n||this._element.contains(n)){return}this._maybeScheduleHide()}_setListeners(){V.on(this._element,oE,oI,()=>this.hide());V.on(this._element,oA,t=>this._onInteraction(t,true));V.on(this._element,oT,t=>this._onInteraction(t,false));V.on(this._element,oO,t=>this._onInteraction(t,true));V.on(this._element,o$,t=>this._onInteraction(t,false))}_clearTimeout(){clearTimeout(this._timeout);this._timeout=null}static jQueryInterface(t){return this.each(function(){let e=L.get(this,oy);const n=typeof t==="object"&&t;if(!e){e=new oH(this,n)}if(typeof t==="string"){if(typeof e[t]==="undefined"){throw new TypeError(`No method named "${t}"`)}e[t](this)}})}}T(oH);var oR={Alert:tr,Button:tp,Collapse:tI,Dropdown:n6,Modal:iq,Offcanvas:i9,Popover:sB,ScrollSpy:s8,Tab:ov,Toast:oH,Tooltip:sL};return oR});