(()=>{"use strict";(()=>{const e=new Map,t={set(t,n,s){e.has(t)||e.set(t,new Map);const i=e.get(t);i.has(n)||0===i.size?i.set(n,s):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const s=e.get(t);s.delete(n),0===s.size&&e.delete(t)}},n="transitionend",s=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},i=e=>{const t=s(e);return t&&document.querySelector(t)?t:null},r=e=>{const t=s(e);return t?document.querySelector(t):null},o=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),l=e=>o(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,a=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),c=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},u=[],d=e=>{var t;t=()=>{const t=c();if(t){const n=e.NAME,s=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=s,e.jQueryInterface)}},"loading"===document.readyState?(u.length||document.addEventListener("DOMContentLoaded",(()=>{u.forEach((e=>e()))})),u.push(t)):t()},h=e=>{"function"==typeof e&&e()},g=/[^.]*(?=\..*)\.|.*/,f=/\..*/,p=/::\d+$/,m={};let _=1;const b={mouseenter:"mouseover",mouseleave:"mouseout"},y=/^(mouseenter|mouseleave)/i,E=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function v(e,t){return t&&`${t}::${_++}`||e.uidEvent||_++}function A(e){const t=v(e);return e.uidEvent=t,m[t]=m[t]||{},m[t]}function w(e,t,n=null){const s=Object.keys(e);for(let i=0,r=s.length;ifunction(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};s?s=e(s):n=e(n)}const[r,o,l]=C(t,n,s),a=A(e),c=a[l]||(a[l]={}),u=w(c,o,r?n:null);if(u)return void(u.oneOff=u.oneOff&&i);const d=v(o,t.replace(g,"")),h=r?function(e,t,n){return function s(i){const r=e.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(let l=r.length;l--;)if(r[l]===o)return i.delegateTarget=o,s.oneOff&&S.off(e,i.type,t,n),n.apply(o,[i]);return null}}(e,n,s):function(e,t){return function n(s){return s.delegateTarget=e,n.oneOff&&S.off(e,s.type,t),t.apply(e,[s])}}(e,n);h.delegationSelector=r?n:null,h.originalHandler=o,h.oneOff=i,h.uidEvent=d,c[d]=h,e.addEventListener(l,h,r)}function N(e,t,n,s,i){const r=w(t[n],s,i);r&&(e.removeEventListener(n,r,Boolean(i)),delete t[n][r.uidEvent])}function O(e){return e=e.replace(f,""),b[e]||e}const S={on(e,t,n,s){T(e,t,n,s,!1)},one(e,t,n,s){T(e,t,n,s,!0)},off(e,t,n,s){if("string"!=typeof t||!e)return;const[i,r,o]=C(t,n,s),l=o!==t,a=A(e),c=t.startsWith(".");if(void 0!==r){if(!a||!a[o])return;return void N(e,a,o,r,i?n:null)}c&&Object.keys(a).forEach((n=>{!function(e,t,n,s){const i=t[n]||{};Object.keys(i).forEach((r=>{if(r.includes(s)){const s=i[r];N(e,t,n,s.originalHandler,s.delegationSelector)}}))}(e,a,n,t.slice(1))}));const u=a[o]||{};Object.keys(u).forEach((n=>{const s=n.replace(p,"");if(!l||t.includes(s)){const t=u[n];N(e,a,o,t.originalHandler,t.delegationSelector)}}))},trigger(e,t,n){if("string"!=typeof t||!e)return null;const s=c(),i=O(t),r=t!==i,o=E.has(i);let l,a=!0,u=!0,d=!1,h=null;return r&&s&&(l=s.Event(t,n),s(e).trigger(l),a=!l.isPropagationStopped(),u=!l.isImmediatePropagationStopped(),d=l.isDefaultPrevented()),o?(h=document.createEvent("HTMLEvents"),h.initEvent(i,a,!0)):h=new CustomEvent(t,{bubbles:a,cancelable:!0}),void 0!==n&&Object.keys(n).forEach((e=>{Object.defineProperty(h,e,{get:()=>n[e]})})),d&&h.preventDefault(),u&&e.dispatchEvent(h),h.defaultPrevented&&void 0!==l&&l.preventDefault(),h}},L=S,D=class{constructor(e){(e=l(e))&&(this._element=e,t.set(this._element,this.constructor.DATA_KEY,this))}dispose(){t.remove(this._element,this.constructor.DATA_KEY),L.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((e=>{this[e]=null}))}_queueCallback(e,t,s=!0){((e,t,s=!0)=>{if(!s)return void h(e);const i=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const s=Number.parseFloat(t),i=Number.parseFloat(n);return s||i?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let r=!1;const o=({target:s})=>{s===t&&(r=!0,t.removeEventListener(n,o),h(e))};t.addEventListener(n,o),setTimeout((()=>{r||t.dispatchEvent(new Event(n))}),i)})(e,t,s)}static getInstance(e){return t.get(l(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.1.3"}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}`}};function $(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function j(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const k={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${j(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${j(t)}`)},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter((e=>e.startsWith("bs"))).forEach((n=>{let s=n.replace(/^bs/,"");s=s.charAt(0).toLowerCase()+s.slice(1,s.length),t[s]=$(e.dataset[n])})),t},getDataAttribute:(e,t)=>$(e.getAttribute(`data-bs-${j(t)}`)),offset(e){const t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position:e=>({top:e.offsetTop,left:e.offsetLeft})},M={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let s=e.parentNode;for(;s&&s.nodeType===Node.ELEMENT_NODE&&3!==s.nodeType;)s.matches(t)&&n.push(s),s=s.parentNode;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){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(", ");return this.find(t,e).filter((e=>!a(e)&&(e=>!(!o(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"))(e)))}},I="collapse",x={toggle:!0,parent:null},q={toggle:"boolean",parent:"(null|element)"},P="show",Y="collapse",K="collapsing",z="collapsed",B=":scope .collapse .collapse",H='[data-bs-toggle="collapse"]';class R extends D{constructor(e,t){super(e),this._isTransitioning=!1,this._config=this._getConfig(t),this._triggerArray=[];const n=M.find(H);for(let e=0,t=n.length;ee===this._element));null!==s&&r.length&&(this._selector=s,this._triggerArray.push(t))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return x}static get NAME(){return I}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,n=[];if(this._config.parent){const e=M.find(B,this._config.parent);n=M.find(".collapse.show, .collapse.collapsing",this._config.parent).filter((t=>!e.includes(t)))}const s=M.findOne(this._selector);if(n.length){const t=n.find((e=>s!==e));if(e=t?R.getInstance(t):null,e&&e._isTransitioning)return}if(L.trigger(this._element,"show.bs.collapse").defaultPrevented)return;n.forEach((n=>{s!==n&&R.getOrCreateInstance(n,{toggle:!1}).hide(),e||t.set(n,"bs.collapse",null)}));const i=this._getDimension();this._element.classList.remove(Y),this._element.classList.add(K),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(K),this._element.classList.add(Y,P),this._element.style[i]="",L.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[i]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(L.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,this._element.offsetHeight,this._element.classList.add(K),this._element.classList.remove(Y,P);const t=this._triggerArray.length;for(let e=0;e{this._isTransitioning=!1,this._element.classList.remove(K),this._element.classList.add(Y),L.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(P)}_getConfig(e){return(e={...x,...k.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=l(e.parent),((e,t,n)=>{Object.keys(n).forEach((s=>{const i=n[s],r=t[s],l=r&&o(r)?"element":null==(a=r)?`${a}`:{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();var a;if(!new RegExp(i).test(l))throw new TypeError(`${e.toUpperCase()}: Option "${s}" provided type "${l}" but expected type "${i}".`)}))})(I,e,q),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=M.find(B,this._config.parent);M.find(H,this._config.parent).filter((t=>!e.includes(t))).forEach((e=>{const t=r(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}))}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach((e=>{t?e.classList.remove(z):e.classList.add(z),e.setAttribute("aria-expanded",t)}))}static jQueryInterface(e){return this.each((function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const n=R.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}L.on(document,"click.bs.collapse.data-api",H,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=i(this);M.find(t).forEach((e=>{R.getOrCreateInstance(e,{toggle:!1}).toggle()}))})),d(R);class Q extends D{static get NAME(){return"alert"}close(){if(L.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),L.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=Q.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}((e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,s=e.NAME;L.on(document,n,`[data-bs-dismiss="${s}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),a(this))return;const i=r(this)||this.closest(`.${s}`);e.getOrCreateInstance(i)[t]()}))})(Q,"close"),d(Q)})()})();