__PluginManager__.register("bsCore",function(e,t,n,i){var o,r,s,l={},a={},c={};return a.Data=function(){const e=new Map;return{set(t,n,i){e.has(t)||e.set(t,new Map);const o=e.get(t);o.has(n)||0===o.size?o.set(n,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const i=e.get(t);i.delete(n),0===i.size&&e.delete(t)}}}(),a.SelectorEngine={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 i=e.parentNode;for(;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)i.matches(t)&&n.push(i),i=i.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[]}},a.Manipulator=function(){function e(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function t(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}return{setDataAttribute(e,n,i){e.setAttribute(`data-bs-${t(n)}`,i)},removeDataAttribute(e,n){e.removeAttribute(`data-bs-${t(n)}`)},getDataAttributes(t){if(!t)return{};const n={};return Object.keys(t.dataset).filter(e=>e.startsWith("bs")).forEach(i=>{let o=i.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),n[o]=e(t.dataset[i])}),n},getDataAttribute:(n,i)=>e(n.getAttribute(`data-bs-${t(i)}`)),offset(e){const t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}},position:e=>({top:e.offsetTop,left:e.offsetLeft})}}(),c.index=function(e){const t=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},n=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),o=Number.parseFloat(n);return i||o?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0},o=e=>{e.dispatchEvent(new Event("transitionend"))},r=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),s=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?s(e.parentNode):null},l=()=>{const{jquery:e}=i;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},a=[],c=e=>{"loading"===document.readyState?(a.length||document.addEventListener("DOMContentLoaded",()=>{a.forEach(e=>e())}),a.push(e)):e()},u=e=>{"function"==typeof e&&e()};return{getElement:t=>r(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?e.findOne(t):null,getUID:e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e},getSelector:t,getSelectorFromElement:e=>{const n=t(e);return n&&document.querySelector(n)?n:null},getElementFromSelector:e=>{const n=t(e);return n?document.querySelector(n):null},getTransitionDurationFromElement:n,triggerTransitionEnd:o,isElement:r,typeCheckConfig:(e,t,n)=>{Object.keys(n).forEach(i=>{const o=n[i],s=t[i],l=s&&r(s)?"element":(e=>null==e?`${e}`:{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase())(s);if(!new RegExp(o).test(l))throw new TypeError(`${e.toUpperCase()}: Option "${i}" provided type "${l}" but expected type "${o}".`)})},isVisible:e=>!(!r(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),isDisabled:e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),findShadowRoot:s,noop:()=>{},getNextActiveElement:(e,t,n,i)=>{let o=e.indexOf(t);if(-1===o)return e[!n&&i?e.length-1:0];const r=e.length;return o+=n?1:-1,i&&(o=(o+r)%r),e[Math.max(0,Math.min(o,r-1))]},reflow:e=>e.offsetHeight,getjQuery:l,onDOMContentLoaded:c,isRTL:()=>"rtl"===document.documentElement.dir,defineJQueryPlugin:e=>{c(()=>{const t=l();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=(()=>(t.fn[n]=i,e.jQueryInterface))}})},execute:u,executeAfterTransition:(e,t,i=!0)=>{if(!i)return void u(e);const r=n(t)+5;let s=!1;const l=({target:n})=>{n===t&&(s=!0,t.removeEventListener("transitionend",l),u(e))};t.addEventListener("transitionend",l),setTimeout(()=>{s||o(t)},r)}}}(a.SelectorEngine),a.EventHandler=function(e){const t=/[^.]*(?=\..*)\.|.*/,n=/\..*/,i=/::\d+$/,o={};let r=1;const s={mouseenter:"mouseover",mouseleave:"mouseout"},l=/^(mouseenter|mouseleave)/i,a=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 c(e,t){return t&&`${t}::${r++}`||e.uidEvent||r++}function u(e){const t=c(e);return e.uidEvent=t,o[t]=o[t]||{},o[t]}function d(e,t,n=null){const i=Object.keys(e);for(let o=0,r=i.length;o(function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)});o?o=e(o):i=e(i)}const[s,a,m]=f(n,i,o),h=u(e),g=h[m]||(h[m]={}),b=d(g,a,s?i:null);if(b)return void(b.oneOff=b.oneOff&&r);const E=c(a,n.replace(t,"")),y=s?function(e,t,n){return function i(o){const r=e.querySelectorAll(t);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(let l=r.length;l--;)if(r[l]===s)return o.delegateTarget=s,i.oneOff&&p.off(e,o.type,t,n),n.apply(s,[o]);return null}}(e,i,o):function(e,t){return function n(i){return i.delegateTarget=e,n.oneOff&&p.off(e,i.type,t),t.apply(e,[i])}}(e,i);y.delegationSelector=s?i:null,y.originalHandler=a,y.oneOff=r,y.uidEvent=E,g[E]=y,e.addEventListener(m,y,s)}function h(e,t,n,i,o){const r=d(t[n],i,o);r&&(e.removeEventListener(n,r,Boolean(o)),delete t[n][r.uidEvent])}function g(e){return e=e.replace(n,""),s[e]||e}const p={on(e,t,n,i){m(e,t,n,i,!1)},one(e,t,n,i){m(e,t,n,i,!0)},off(e,t,n,o){if("string"!=typeof t||!e)return;const[r,s,l]=f(t,n,o),a=l!==t,c=u(e),d=t.startsWith(".");if(void 0!==s){if(!c||!c[l])return;return void h(e,c,l,s,r?n:null)}d&&Object.keys(c).forEach(n=>{!function(e,t,n,i){const o=t[n]||{};Object.keys(o).forEach(r=>{if(r.includes(i)){const i=o[r];h(e,t,n,i.originalHandler,i.delegationSelector)}})}(e,c,n,t.slice(1))});const m=c[l]||{};Object.keys(m).forEach(n=>{const o=n.replace(i,"");if(!a||t.includes(o)){const t=m[n];h(e,c,l,t.originalHandler,t.delegationSelector)}})},trigger(t,n,i){if("string"!=typeof n||!t)return null;const o=e(),r=g(n),s=n!==r,l=a.has(r);let c,u=!0,d=!0,f=!1,m=null;return s&&o&&(c=o.Event(n,i),o(t).trigger(c),u=!c.isPropagationStopped(),d=!c.isImmediatePropagationStopped(),f=c.isDefaultPrevented()),l?(m=document.createEvent("HTMLEvents")).initEvent(r,u,!0):m=new CustomEvent(n,{bubbles:u,cancelable:!0}),void 0!==i&&Object.keys(i).forEach(e=>{Object.defineProperty(m,e,{get:()=>i[e]})}),f&&m.preventDefault(),d&&t.dispatchEvent(m),m.defaultPrevented&&void 0!==c&&c.preventDefault(),m}};return p}(c.index.getjQuery),c.Backdrop=function(e,t,n,i,o,r){const s={isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},l={isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},a="backdrop",c="modal-backdrop",u="fade",d="show",f=`mousedown.bs.${a}`;return class{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&o(this._getElement()),this._getElement().classList.add(d),this._emulateAnimation(()=>{t(e)})):t(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove(d),this._emulateAnimation(()=>{this.dispose(),t(e)})):t(e)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=c,this._config.isAnimated&&e.classList.add(u),this._element=e}return this._element}_getConfig(e){return(e={...s,..."object"==typeof e?e:{}}).rootElement=i(e.rootElement),r(a,e,l),e}_append(){this._isAppended||(this._config.rootElement.appendChild(this._getElement()),e.on(this._getElement(),f,()=>{t(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(e.off(this._element,f),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){n(e,this._getElement(),this._config.isAnimated)}}}(a.EventHandler,c.index.execute,c.index.executeAfterTransition,c.index.getElement,c.index.reflow,c.index.typeCheckConfig),c.sanitizer=function(){const e=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),t=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,n=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,i=(i,o)=>{const r=i.nodeName.toLowerCase();if(o.includes(r))return!e.has(r)||Boolean(t.test(i.nodeValue)||n.test(i.nodeValue));const s=o.filter(e=>e instanceof RegExp);for(let e=0,t=s.length;e{i(e,a)||n.removeAttribute(e.nodeName)})}return o.body.innerHTML}}}(),c.ScrollBarHelper=function(e,t,n){const i=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",o=".sticky-top";return class{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",t=>t+e),this._element.style.setProperty("--scroll-bar-size",`${e}px`),this._setElementAttributes(i,"paddingRight",t=>t+e),this._setElementAttributes(o,"marginRight",t=>t-e)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const i=this.getWidth();this._applyManipulationCallback(e,e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+i)return;this._saveInitialAttribute(e,t);const o=window.getComputedStyle(e)[t];e.style[t]=`${n(Number.parseFloat(o))}px`})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(i,"paddingRight"),this._resetElementAttributes(o,"marginRight"),this._element.style.setProperty("--scroll-bar-size","0")}_saveInitialAttribute(e,n){const i=e.style[n];i&&t.setDataAttribute(e,n,i)}_resetElementAttributes(e,n){this._applyManipulationCallback(e,e=>{const i=t.getDataAttribute(e,n);void 0===i?e.style.removeProperty(n):(t.removeDataAttribute(e,n),e.style[n]=i)})}_applyManipulationCallback(t,i){n(t)?i(t):e.find(t,this._element).forEach(i)}isOverflowing(){return this.getWidth()>0}}}(a.SelectorEngine,a.Manipulator,c.index.isElement),c.componentFunctions=(o=a.EventHandler,r=c.index.getElementFromSelector,s=c.index.isDisabled,{enableDismissTrigger:(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,i=e.NAME;o.on(document,n,`[data-bs-dismiss="${i}"]`,function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),s(this))return;const o=r(this)||this.closest(`.${i}`);e.getOrCreateInstance(o)[t]()})}}),l.BaseComponent=function(e,t,n,i){const o="5.0.2";return class{constructor(t){(t=n(t))&&(this._element=t,e.set(this._element,this.constructor.DATA_KEY,this))}dispose(){e.remove(this._element,this.constructor.DATA_KEY),i.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(e=>{this[e]=null})}_queueCallback(e,n,i=!0){t(e,n,i)}static getInstance(t){return e.get(t,this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return o}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}`}}}(a.Data,c.index.executeAfterTransition,c.index.getElement,a.EventHandler),l.util=c,l.dom=a,n.exports=l,n.exports});