",{text:t})}}},functionAttributes:["beforeOpen","afterOpen","beforeContent","afterContent","beforeClose","afterClose"],readElementConfig:function(t,n){var i=this,r=new RegExp("^data-"+n+"-(.*)"),o={};return t&&t.attributes&&e.each(t.attributes,(function(){var t=this.name.match(r);if(t){var n=this.value,s=e.camelCase(t[1]);if(e.inArray(s,i.functionAttributes)>=0)n=new Function(n);else try{n=JSON.parse(n)}catch(e){}o[s]=n}})),o},extend:function(t,n){var i=function(){this.constructor=t};return i.prototype=this.prototype,t.prototype=new i,t.__super__=this.prototype,e.extend(t,this,n),t.defaults=t.prototype,t},attach:function(t,n,i){var r=this;"object"!=typeof n||n instanceof e!=0||i||(i=n,n=void 0);var o,s=(i=e.extend({},i)).namespace||r.defaults.namespace,a=e.extend({},r.defaults,r.readElementConfig(t[0],s),i),l=function(s){var l=e(s.currentTarget),c=e.extend({$source:t,$currentTarget:l},r.readElementConfig(t[0],a.namespace),r.readElementConfig(s.currentTarget,a.namespace),i),u=o||l.data("featherlight-persisted")||new r(n,c);"shared"===u.persist?o=u:!1!==u.persist&&l.data("featherlight-persisted",u),c.$currentTarget.blur&&c.$currentTarget.blur(),u.open(s)};return t.on(a.openTrigger+"."+a.namespace,a.filter,l),{filter:a.filter,handler:l}},current:function(){var e=this.opened();return e[e.length-1]||null},opened:function(){var t=this;return i(),e.grep(n,(function(e){return e instanceof t}))},close:function(e){var t=this.current();return t?t.close(e):void 0},_onReady:function(){var t=this;if(t.autoBind){var n=e(t.autoBind);n.each((function(){t.attach(e(this))})),e(document).on("click",t.autoBind,(function(i){if(!i.isDefaultPrevented()){var r=e(i.currentTarget);if(n.length!==(n=n.add(r)).length){var o=t.attach(r);(!o.filter||e(i.target).parentsUntil(r,o.filter).length>0)&&o.handler(i)}}}))}},_callbackChain:{onKeyUp:function(t,n){return 27===n.keyCode?(this.closeOnEsc&&e.featherlight.close(n),!1):t(n)},beforeOpen:function(t,n){return e(document.documentElement).addClass("with-featherlight"),this._previouslyActive=document.activeElement,this._$previouslyTabbable=e("a, input, select, textarea, iframe, button, iframe, [contentEditable=true]").not("[tabindex]").not(this.$instance.find("button")),this._$previouslyWithTabIndex=e("[tabindex]").not('[tabindex="-1"]'),this._previousWithTabIndices=this._$previouslyWithTabIndex.map((function(t,n){return e(n).attr("tabindex")})),this._$previouslyWithTabIndex.add(this._$previouslyTabbable).attr("tabindex",-1),document.activeElement.blur&&document.activeElement.blur(),t(n)},afterClose:function(n,i){var r=n(i),o=this;return this._$previouslyTabbable.removeAttr("tabindex"),this._$previouslyWithTabIndex.each((function(t,n){e(n).attr("tabindex",o._previousWithTabIndices[t])})),this._previouslyActive.focus(),0===t.opened().length&&e(document.documentElement).removeClass("with-featherlight"),r},onResize:function(e,t){return this.resize(this.$content.naturalWidth,this.$content.naturalHeight),e(t)},afterContent:function(e,t){var n=e(t);return this.$instance.find("[autofocus]:not([disabled])").focus(),this.onResize(t),n}}}),e.featherlight=t,e.fn.featherlight=function(e,n){return t.attach(this,e,n),this},e(document).ready((function(){t._onReady()}))}else"console"in window&&window.console.info("Too much lightness, Featherlight needs jQuery.")})),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=function(t,n){return void 0===n&&(n="undefined"!=typeof window?require("jquery"):require("jquery")(t)),e(n),n}:e(jQuery)}((function(e){"use strict";function t(n,i){if(!(this instanceof t)){var r=new t(e.extend({$source:n,$currentTarget:n.first()},i));return r.open(),r}e.featherlight.apply(this,arguments),this.chainCallbacks(a)}var n=function(e){window.console&&window.console.warn&&window.console.warn("FeatherlightGallery: "+e)};if(void 0===e)return n("Too much lightness, Featherlight needs jQuery.");if(!e.featherlight)return n("Load the featherlight plugin before the gallery plugin");var i="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,r=e.event&&e.event.special.swipeleft&&e,o=window.Hammer&&function(e){var t=new window.Hammer.Manager(e[0]);return t.add(new window.Hammer.Swipe),t},s=i&&(r||o);i&&!s&&n("No compatible swipe library detected; one must be included before featherlightGallery for swipe motions to navigate the galleries.");var a={afterClose:function(e,t){var n=this;return n.$instance.off("next."+n.namespace+" previous."+n.namespace),n._swiper&&(n._swiper.off("swipeleft",n._swipeleft).off("swiperight",n._swiperight),n._swiper=null),e(t)},beforeOpen:function(e,t){var n=this;return n.$instance.on("next."+n.namespace+" previous."+n.namespace,(function(e){var t="next"===e.type?1:-1;n.navigateTo(n.currentNavigation()+t)})),s&&(n._swiper=s(n.$instance).on("swipeleft",n._swipeleft=function(){n.$instance.trigger("next")}).on("swiperight",n._swiperight=function(){n.$instance.trigger("previous")}),n.$instance.addClass(this.namespace+"-swipe-aware",s)),n.$instance.find("."+n.namespace+"-content").append(n.createNavigation("previous")).append(n.createNavigation("next")),e(t)},beforeContent:function(e,t){var n=this.currentNavigation(),i=this.slides().length;return this.$instance.toggleClass(this.namespace+"-first-slide",0===n).toggleClass(this.namespace+"-last-slide",n===i-1),e(t)},onKeyUp:function(e,t){var n={37:"previous",39:"next"}[t.keyCode];return n?(this.$instance.trigger(n),!1):e(t)}};e.featherlight.extend(t,{autoBind:"[data-featherlight-gallery]"}),e.extend(t.prototype,{previousIcon:"◀",nextIcon:"▶",galleryFadeIn:100,galleryFadeOut:300,slides:function(){return this.filter?this.$source.find(this.filter):this.$source},images:function(){return n("images is deprecated, please use slides instead"),this.slides()},currentNavigation:function(){return this.slides().index(this.$currentTarget)},navigateTo:function(t){var n=this,i=n.slides(),r=i.length,o=n.$instance.find("."+n.namespace+"-inner");return t=(t%r+r)%r,this.$instance.addClass(this.namespace+"-loading"),n.$currentTarget=i.eq(t),n.beforeContent(),e.when(n.getContent(),o.fadeTo(n.galleryFadeOut,.2)).always((function(e){n.setContent(e),n.afterContent(),e.fadeTo(n.galleryFadeIn,1)}))},createNavigation:function(t){var n=this;return e('
'+this[t+"Icon"]+" ").click((function(i){e(this).trigger(t+"."+n.namespace),i.preventDefault()}))}}),e.featherlightGallery=t,e.fn.featherlightGallery=function(e){return t.attach(this,e),this},e(document).ready((function(){t._onReady()}))})),
+/*!
+ * Bootstrap v5.1.0 (https://getbootstrap.com/)
+ * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
+ */
+function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,(function(){"use strict";const e="transitionend",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=>{const n=t(e);return n&&document.querySelector(n)?n:null},i=e=>{const n=t(e);return n?document.querySelector(n):null},r=t=>{t.dispatchEvent(new Event(e))},o=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),s=e=>o(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,a=(e,t,n)=>{Object.keys(n).forEach((i=>{const r=n[i],s=t[i],a=s&&o(s)?"element":null==(l=s)?`${l}`:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();var l;if(!new RegExp(r).test(a))throw new TypeError(`${e.toUpperCase()}: Option "${i}" provided type "${a}" but expected type "${r}".`)}))},l=e=>!(!o(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),c=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),u=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?u(e.parentNode):null},f=()=>{},d=e=>{e.offsetHeight},p=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},h=[],g=()=>"rtl"===document.documentElement.dir,m=e=>{var t;t=()=>{const t=p();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)}},"loading"===document.readyState?(h.length||document.addEventListener("DOMContentLoaded",(()=>{h.forEach((e=>e()))})),h.push(t)):t()},v=e=>{"function"==typeof e&&e()},y=(t,n,i=!0)=>{if(!i)return void v(t);const o=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),r=Number.parseFloat(n);return i||r?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(n)+5;let s=!1;const a=({target:i})=>{i===n&&(s=!0,n.removeEventListener(e,a),v(t))};n.addEventListener(e,a),setTimeout((()=>{s||r(n)}),o)},b=(e,t,n,i)=>{let r=e.indexOf(t);if(-1===r)return e[!n&&i?e.length-1:0];const o=e.length;return r+=n?1:-1,i&&(r=(r+o)%o),e[Math.max(0,Math.min(r,o-1))]},_=/[^.]*(?=\..*)\.|.*/,w=/\..*/,x=/::\d+$/,E={};let T=1;const C={mouseenter:"mouseover",mouseleave:"mouseout"},A=/^(mouseenter|mouseleave)/i,O=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 k(e,t){return t&&`${t}::${T++}`||e.uidEvent||T++}function S(e){const t=k(e);return e.uidEvent=t,E[t]=E[t]||{},E[t]}function D(e,t,n=null){const i=Object.keys(e);for(let r=0,o=i.length;r
function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};i?i=e(i):n=e(n)}const[o,s,a]=j(t,n,i),l=S(e),c=l[a]||(l[a]={}),u=D(c,s,o?n:null);if(u)return void(u.oneOff=u.oneOff&&r);const f=k(s,t.replace(_,"")),d=o?function(e,t,n){return function i(r){const o=e.querySelectorAll(t);for(let{target:s}=r;s&&s!==this;s=s.parentNode)for(let a=o.length;a--;)if(o[a]===s)return r.delegateTarget=s,i.oneOff&&P.off(e,r.type,t,n),n.apply(s,[r]);return null}}(e,n,i):function(e,t){return function n(i){return i.delegateTarget=e,n.oneOff&&P.off(e,i.type,t),t.apply(e,[i])}}(e,n);d.delegationSelector=o?n:null,d.originalHandler=s,d.oneOff=r,d.uidEvent=f,c[f]=d,e.addEventListener(a,d,o)}function N(e,t,n,i,r){const o=D(t[n],i,r);o&&(e.removeEventListener(n,o,Boolean(r)),delete t[n][o.uidEvent])}function I(e){return e=e.replace(w,""),C[e]||e}const P={on(e,t,n,i){L(e,t,n,i,!1)},one(e,t,n,i){L(e,t,n,i,!0)},off(e,t,n,i){if("string"!=typeof t||!e)return;const[r,o,s]=j(t,n,i),a=s!==t,l=S(e),c=t.startsWith(".");if(void 0!==o){if(!l||!l[s])return;return void N(e,l,s,o,r?n:null)}c&&Object.keys(l).forEach((n=>{!function(e,t,n,i){const r=t[n]||{};Object.keys(r).forEach((o=>{if(o.includes(i)){const i=r[o];N(e,t,n,i.originalHandler,i.delegationSelector)}}))}(e,l,n,t.slice(1))}));const u=l[s]||{};Object.keys(u).forEach((n=>{const i=n.replace(x,"");if(!a||t.includes(i)){const t=u[n];N(e,l,s,t.originalHandler,t.delegationSelector)}}))},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=p(),r=I(t),o=t!==r,s=O.has(r);let a,l=!0,c=!0,u=!1,f=null;return o&&i&&(a=i.Event(t,n),i(e).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),u=a.isDefaultPrevented()),s?(f=document.createEvent("HTMLEvents"),f.initEvent(r,l,!0)):f=new CustomEvent(t,{bubbles:l,cancelable:!0}),void 0!==n&&Object.keys(n).forEach((e=>{Object.defineProperty(f,e,{get:()=>n[e]})})),u&&f.preventDefault(),c&&e.dispatchEvent(f),f.defaultPrevented&&void 0!==a&&a.preventDefault(),f}},q=new Map;var M={set(e,t,n){q.has(e)||q.set(e,new Map);const i=q.get(e);i.has(t)||0===i.size?i.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(e,t)=>q.has(e)&&q.get(e).get(t)||null,remove(e,t){if(!q.has(e))return;const n=q.get(e);n.delete(t),0===n.size&&q.delete(e)}};class H{constructor(e){(e=s(e))&&(this._element=e,M.set(this._element,this.constructor.DATA_KEY,this))}dispose(){M.remove(this._element,this.constructor.DATA_KEY),P.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((e=>{this[e]=null}))}_queueCallback(e,t,n=!0){y(e,t,n)}static getInstance(e){return M.get(s(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.0"}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 R=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;P.on(document,n,`[data-bs-dismiss="${r}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),c(this))return;const o=i(this)||this.closest(`.${r}`);e.getOrCreateInstance(o)[t]()}))};class $ extends H{static get NAME(){return"alert"}close(){if(P.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(),P.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=$.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)}}))}}R($,"close"),m($);const B='[data-bs-toggle="button"]';class W extends H{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=W.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}function F(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function z(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}P.on(document,"click.bs.button.data-api",B,(e=>{e.preventDefault();const t=e.target.closest(B);W.getOrCreateInstance(t).toggle()})),m(W);const U={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${z(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${z(t)}`)},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter((e=>e.startsWith("bs"))).forEach((n=>{let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=F(e.dataset[n])})),t},getDataAttribute:(e,t)=>F(e.getAttribute(`data-bs-${z(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})},V={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[]},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=>!c(e)&&l(e)))}},X="carousel",Y={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},K={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Q="next",G="prev",J="left",Z="right",ee={ArrowLeft:Z,ArrowRight:J},te="slid.bs.carousel",ne="active",ie=".active.carousel-item",re="touch";class oe extends H{constructor(e,t){super(e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._indicatorsElement=V.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return Y}static get NAME(){return X}next(){this._slide(Q)}nextWhenVisible(){!document.hidden&&l(this._element)&&this.next()}prev(){this._slide(G)}pause(e){e||(this._isPaused=!0),V.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(r(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=V.findOne(ie,this._element);const t=this._getItemIndex(this._activeElement);if(e>this._items.length-1||e<0)return;if(this._isSliding)return void P.one(this._element,te,(()=>this.to(e)));if(t===e)return this.pause(),void this.cycle();const n=e>t?Q:G;this._slide(n,this._items[e])}_getConfig(e){return e={...Y,...U.getDataAttributes(this._element),..."object"==typeof e?e:{}},a(X,e,K),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=40)return;const t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?Z:J)}_addEventListeners(){this._config.keyboard&&P.on(this._element,"keydown.bs.carousel",(e=>this._keydown(e))),"hover"===this._config.pause&&(P.on(this._element,"mouseenter.bs.carousel",(e=>this.pause(e))),P.on(this._element,"mouseleave.bs.carousel",(e=>this.cycle(e)))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=e=>{!this._pointerEvent||"pen"!==e.pointerType&&e.pointerType!==re?this._pointerEvent||(this.touchStartX=e.touches[0].clientX):this.touchStartX=e.clientX},t=e=>{this.touchDeltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this.touchStartX},n=e=>{!this._pointerEvent||"pen"!==e.pointerType&&e.pointerType!==re||(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((e=>this.cycle(e)),500+this._config.interval))};V.find(".carousel-item img",this._element).forEach((e=>{P.on(e,"dragstart.bs.carousel",(e=>e.preventDefault()))})),this._pointerEvent?(P.on(this._element,"pointerdown.bs.carousel",(t=>e(t))),P.on(this._element,"pointerup.bs.carousel",(e=>n(e))),this._element.classList.add("pointer-event")):(P.on(this._element,"touchstart.bs.carousel",(t=>e(t))),P.on(this._element,"touchmove.bs.carousel",(e=>t(e))),P.on(this._element,"touchend.bs.carousel",(e=>n(e))))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=ee[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?V.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){const n=e===Q;return b(this._items,t,n,this._config.wrap)}_triggerSlideEvent(e,t){const n=this._getItemIndex(e),i=this._getItemIndex(V.findOne(ie,this._element));return P.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:i,to:n})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=V.findOne(".active",this._indicatorsElement);t.classList.remove(ne),t.removeAttribute("aria-current");const n=V.find("[data-bs-target]",this._indicatorsElement);for(let t=0;t{P.trigger(this._element,te,{relatedTarget:o,direction:f,from:r,to:s})};if(this._element.classList.contains("slide")){o.classList.add(u),d(o),i.classList.add(c),o.classList.add(c);const e=()=>{o.classList.remove(c,u),o.classList.add(ne),i.classList.remove(ne,u,c),this._isSliding=!1,setTimeout(p,0)};this._queueCallback(e,i,!0)}else i.classList.remove(ne),o.classList.add(ne),this._isSliding=!1,p();a&&this.cycle()}_directionToOrder(e){return[Z,J].includes(e)?g()?e===J?G:Q:e===J?Q:G:e}_orderToDirection(e){return[Q,G].includes(e)?g()?e===G?J:Z:e===G?Z:J:e}static carouselInterface(e,t){const n=oe.getOrCreateInstance(e,t);let{_config:i}=n;"object"==typeof t&&(i={...i,...t});const r="string"==typeof t?t:i.slide;if("number"==typeof t)n.to(t);else if("string"==typeof r){if(void 0===n[r])throw new TypeError(`No method named "${r}"`);n[r]()}else i.interval&&i.ride&&(n.pause(),n.cycle())}static jQueryInterface(e){return this.each((function(){oe.carouselInterface(this,e)}))}static dataApiClickHandler(e){const t=i(this);if(!t||!t.classList.contains("carousel"))return;const n={...U.getDataAttributes(t),...U.getDataAttributes(this)},r=this.getAttribute("data-bs-slide-to");r&&(n.interval=!1),oe.carouselInterface(t,n),r&&oe.getInstance(t).to(r),e.preventDefault()}}P.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",oe.dataApiClickHandler),P.on(window,"load.bs.carousel.data-api",(()=>{const e=V.find('[data-bs-ride="carousel"]');for(let t=0,n=e.length;te===this._element));null!==r&&o.length&&(this._selector=r,this._triggerArray.push(t))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return le}static get NAME(){return se}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const e=V.find(".collapse .collapse",this._config.parent);t=V.find(".show, .collapsing",this._config.parent).filter((t=>!e.includes(t)))}const n=V.findOne(this._selector);if(t.length){const i=t.find((e=>n!==e));if(e=i?ge.getInstance(i):null,e&&e._isTransitioning)return}if(P.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t.forEach((t=>{n!==t&&ge.getOrCreateInstance(t,{toggle:!1}).hide(),e||M.set(t,ae,null)}));const i=this._getDimension();this._element.classList.remove(fe),this._element.classList.add(de),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(de),this._element.classList.add(fe,ue),this._element.style[i]="",P.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(P.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,d(this._element),this._element.classList.add(de),this._element.classList.remove(fe,ue);const t=this._triggerArray.length;for(let e=0;e{this._isTransitioning=!1,this._element.classList.remove(de),this._element.classList.add(fe),P.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(ue)}_getConfig(e){return(e={...le,...U.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=s(e.parent),a(se,e,ce),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=V.find(".collapse .collapse",this._config.parent);V.find(he,this._config.parent).filter((t=>!e.includes(t))).forEach((e=>{const t=i(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}))}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach((e=>{t?e.classList.remove(pe):e.classList.add(pe),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=ge.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}P.on(document,"click.bs.collapse.data-api",he,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=n(this);V.find(t).forEach((e=>{ge.getOrCreateInstance(e,{toggle:!1}).toggle()}))})),m(ge);var me="top",ve="bottom",ye="right",be="left",_e="auto",we=[me,ve,ye,be],xe="start",Ee="end",Te="clippingParents",Ce="viewport",Ae="popper",Oe="reference",ke=we.reduce((function(e,t){return e.concat([t+"-"+xe,t+"-"+Ee])}),[]),Se=[].concat(we,[_e]).reduce((function(e,t){return e.concat([t,t+"-"+xe,t+"-"+Ee])}),[]),De="beforeRead",je="read",Le="afterRead",Ne="beforeMain",Ie="main",Pe="afterMain",qe="beforeWrite",Me="write",He="afterWrite",Re=[De,je,Le,Ne,Ie,Pe,qe,Me,He];function $e(e){return e?(e.nodeName||"").toLowerCase():null}function Be(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function We(e){return e instanceof Be(e).Element||e instanceof Element}function Fe(e){return e instanceof Be(e).HTMLElement||e instanceof HTMLElement}function ze(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Be(e).ShadowRoot||e instanceof ShadowRoot)}var Ue={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},r=t.elements[e];Fe(r)&&$e(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],r=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Fe(i)&&$e(i)&&(Object.assign(i.style,o),Object.keys(r).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Ve(e){return e.split("-")[0]}var Xe=Math.round;function Ye(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),i=1,r=1;return Fe(e)&&t&&(i=n.width/e.offsetWidth||1,r=n.height/e.offsetHeight||1),{width:Xe(n.width/i),height:Xe(n.height/r),top:Xe(n.top/r),right:Xe(n.right/i),bottom:Xe(n.bottom/r),left:Xe(n.left/i),x:Xe(n.left/i),y:Xe(n.top/r)}}function Ke(e){var t=Ye(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function Qe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&ze(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Ge(e){return Be(e).getComputedStyle(e)}function Je(e){return["table","td","th"].indexOf($e(e))>=0}function Ze(e){return((We(e)?e.ownerDocument:e.document)||window.document).documentElement}function et(e){return"html"===$e(e)?e:e.assignedSlot||e.parentNode||(ze(e)?e.host:null)||Ze(e)}function tt(e){return Fe(e)&&"fixed"!==Ge(e).position?e.offsetParent:null}function nt(e){for(var t=Be(e),n=tt(e);n&&Je(n)&&"static"===Ge(n).position;)n=tt(n);return n&&("html"===$e(n)||"body"===$e(n)&&"static"===Ge(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Fe(e)&&"fixed"===Ge(e).position)return null;for(var n=et(e);Fe(n)&&["html","body"].indexOf($e(n))<0;){var i=Ge(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function it(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var rt=Math.max,ot=Math.min,st=Math.round;function at(e,t,n){return rt(e,ot(t,n))}function lt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ct(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var ut={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,r=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=Ve(n.placement),l=it(a),c=[be,ye].indexOf(a)>=0?"height":"width";if(o&&s){var u=function(e,t){return lt("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ct(e,we))}(r.padding,n),f=Ke(o),d="y"===l?me:be,p="y"===l?ve:ye,h=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],g=s[l]-n.rects.reference[l],m=nt(o),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,y=h/2-g/2,b=u[d],_=v-f[c]-u[p],w=v/2-f[c]/2+y,x=at(b,w,_),E=l;n.modifiersData[i]=((t={})[E]=x,t.centerOffset=x-w,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Qe(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},ft={top:"auto",right:"auto",bottom:"auto",left:"auto"};function dt(e){var t,n=e.popper,i=e.popperRect,r=e.placement,o=e.offsets,s=e.position,a=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,u=!0===c?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:st(st(t*i)/i)||0,y:st(st(n*i)/i)||0}}(o):"function"==typeof c?c(o):o,f=u.x,d=void 0===f?0:f,p=u.y,h=void 0===p?0:p,g=o.hasOwnProperty("x"),m=o.hasOwnProperty("y"),v=be,y=me,b=window;if(l){var _=nt(n),w="clientHeight",x="clientWidth";_===Be(n)&&"static"!==Ge(_=Ze(n)).position&&(w="scrollHeight",x="scrollWidth"),_=_,r===me&&(y=ve,h-=_[w]-i.height,h*=a?1:-1),r===be&&(v=ye,d-=_[x]-i.width,d*=a?1:-1)}var E,T=Object.assign({position:s},l&&ft);return a?Object.assign({},T,((E={})[y]=m?"0":"",E[v]=g?"0":"",E.transform=(b.devicePixelRatio||1)<2?"translate("+d+"px, "+h+"px)":"translate3d("+d+"px, "+h+"px, 0)",E)):Object.assign({},T,((t={})[y]=m?h+"px":"",t[v]=g?d+"px":"",t.transform="",t))}var pt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:Ve(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,dt(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,dt(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ht={passive:!0};var gt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,o=void 0===r||r,s=i.resize,a=void 0===s||s,l=Be(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,ht)})),a&&l.addEventListener("resize",n.update,ht),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ht)})),a&&l.removeEventListener("resize",n.update,ht)}},data:{}},mt={left:"right",right:"left",bottom:"top",top:"bottom"};function vt(e){return e.replace(/left|right|bottom|top/g,(function(e){return mt[e]}))}var yt={start:"end",end:"start"};function bt(e){return e.replace(/start|end/g,(function(e){return yt[e]}))}function _t(e){var t=Be(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function wt(e){return Ye(Ze(e)).left+_t(e).scrollLeft}function xt(e){var t=Ge(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function Et(e){return["html","body","#document"].indexOf($e(e))>=0?e.ownerDocument.body:Fe(e)&&xt(e)?e:Et(et(e))}function Tt(e,t){var n;void 0===t&&(t=[]);var i=Et(e),r=i===(null==(n=e.ownerDocument)?void 0:n.body),o=Be(i),s=r?[o].concat(o.visualViewport||[],xt(i)?i:[]):i,a=t.concat(s);return r?a:a.concat(Tt(et(s)))}function Ct(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function At(e,t){return t===Ce?Ct(function(e){var t=Be(e),n=Ze(e),i=t.visualViewport,r=n.clientWidth,o=n.clientHeight,s=0,a=0;return i&&(r=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,a=i.offsetTop)),{width:r,height:o,x:s+wt(e),y:a}}(e)):Fe(t)?function(e){var t=Ye(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Ct(function(e){var t,n=Ze(e),i=_t(e),r=null==(t=e.ownerDocument)?void 0:t.body,o=rt(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=rt(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+wt(e),l=-i.scrollTop;return"rtl"===Ge(r||n).direction&&(a+=rt(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}(Ze(e)))}function Ot(e,t,n){var i="clippingParents"===t?function(e){var t=Tt(et(e)),n=["absolute","fixed"].indexOf(Ge(e).position)>=0&&Fe(e)?nt(e):e;return We(n)?t.filter((function(e){return We(e)&&Qe(e,n)&&"body"!==$e(e)})):[]}(e):[].concat(t),r=[].concat(i,[n]),o=r[0],s=r.reduce((function(t,n){var i=At(e,n);return t.top=rt(i.top,t.top),t.right=ot(i.right,t.right),t.bottom=ot(i.bottom,t.bottom),t.left=rt(i.left,t.left),t}),At(e,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function kt(e){return e.split("-")[1]}function St(e){var t,n=e.reference,i=e.element,r=e.placement,o=r?Ve(r):null,s=r?kt(r):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case me:t={x:a,y:n.y-i.height};break;case ve:t={x:a,y:n.y+n.height};break;case ye:t={x:n.x+n.width,y:l};break;case be:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?it(o):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case xe:t[c]=t[c]-(n[u]/2-i[u]/2);break;case Ee:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function Dt(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=void 0===i?e.placement:i,o=n.boundary,s=void 0===o?Te:o,a=n.rootBoundary,l=void 0===a?Ce:a,c=n.elementContext,u=void 0===c?Ae:c,f=n.altBoundary,d=void 0!==f&&f,p=n.padding,h=void 0===p?0:p,g=lt("number"!=typeof h?h:ct(h,we)),m=u===Ae?Oe:Ae,v=e.elements.reference,y=e.rects.popper,b=e.elements[d?m:u],_=Ot(We(b)?b:b.contextElement||Ze(e.elements.popper),s,l),w=Ye(v),x=St({reference:w,element:y,strategy:"absolute",placement:r}),E=Ct(Object.assign({},y,x)),T=u===Ae?E:w,C={top:_.top-T.top+g.top,bottom:T.bottom-_.bottom+g.bottom,left:_.left-T.left+g.left,right:T.right-_.right+g.right},A=e.modifiersData.offset;if(u===Ae&&A){var O=A[r];Object.keys(C).forEach((function(e){var t=[ye,ve].indexOf(e)>=0?1:-1,n=[me,ve].indexOf(e)>=0?"y":"x";C[e]+=O[n]*t}))}return C}function jt(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Se:l,u=kt(i),f=u?a?ke:ke.filter((function(e){return kt(e)===u})):we,d=f.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=Dt(e,{placement:n,boundary:r,rootBoundary:o,padding:s})[Ve(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}var Lt={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){
+for(var r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,g=n.allowedAutoPlacements,m=t.options.placement,v=Ve(m),y=l||(v===m||!h?[vt(m)]:function(e){if(Ve(e)===_e)return[];var t=vt(e);return[bt(e),t,bt(t)]}(m)),b=[m].concat(y).reduce((function(e,n){return e.concat(Ve(n)===_e?jt(t,{placement:n,boundary:u,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:g}):n)}),[]),_=t.rects.reference,w=t.rects.popper,x=new Map,E=!0,T=b[0],C=0;C=0,D=S?"width":"height",j=Dt(t,{placement:A,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),L=S?k?ye:be:k?ve:me;_[D]>w[D]&&(L=vt(L));var N=vt(L),I=[];if(o&&I.push(j[O]<=0),a&&I.push(j[L]<=0,j[N]<=0),I.every((function(e){return e}))){T=A,E=!1;break}x.set(A,I)}if(E)for(var P=function(e){var t=b.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return T=t,"break"},q=h?3:1;q>0;q--){if("break"===P(q))break}t.placement!==T&&(t.modifiersData[i]._skip=!0,t.placement=T,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Nt(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function It(e){return[me,ye,ve,be].some((function(t){return e[t]>=0}))}var Pt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,s=Dt(t,{elementContext:"reference"}),a=Dt(t,{altBoundary:!0}),l=Nt(s,i),c=Nt(a,r,o),u=It(l),f=It(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}};var qt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.offset,o=void 0===r?[0,0]:r,s=Se.reduce((function(e,n){return e[n]=function(e,t,n){var i=Ve(e),r=[be,me].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*r,[be,ye].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,o),e}),{}),a=s[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=s}};var Mt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=St({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var Ht={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,g=void 0===h?0:h,m=Dt(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),v=Ve(t.placement),y=kt(t.placement),b=!y,_=it(v),w="x"===_?"y":"x",x=t.modifiersData.popperOffsets,E=t.rects.reference,T=t.rects.popper,C="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,A={x:0,y:0};if(x){if(o||a){var O="y"===_?me:be,k="y"===_?ve:ye,S="y"===_?"height":"width",D=x[_],j=x[_]+m[O],L=x[_]-m[k],N=p?-T[S]/2:0,I=y===xe?E[S]:T[S],P=y===xe?-T[S]:-E[S],q=t.elements.arrow,M=p&&q?Ke(q):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},R=H[O],$=H[k],B=at(0,E[S],M[S]),W=b?E[S]/2-N-B-R-C:I-B-R-C,F=b?-E[S]/2+N+B+$+C:P+B+$+C,z=t.elements.arrow&&nt(t.elements.arrow),U=z?"y"===_?z.clientTop||0:z.clientLeft||0:0,V=t.modifiersData.offset?t.modifiersData.offset[t.placement][_]:0,X=x[_]+W-V-U,Y=x[_]+F-V;if(o){var K=at(p?ot(j,X):j,D,p?rt(L,Y):L);x[_]=K,A[_]=K-D}if(a){var Q="x"===_?me:be,G="x"===_?ve:ye,J=x[w],Z=J+m[Q],ee=J-m[G],te=at(p?ot(Z,X):Z,J,p?rt(ee,Y):ee);x[w]=te,A[w]=te-J}}t.modifiersData[i]=A}},requiresIfExists:["offset"]};function Rt(e,t,n){void 0===n&&(n=!1);var i,r,o=Fe(t),s=Fe(t)&&function(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,i=t.height/e.offsetHeight||1;return 1!==n||1!==i}(t),a=Ze(t),l=Ye(e,s),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==$e(t)||xt(a))&&(c=(i=t)!==Be(i)&&Fe(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:_t(i)),Fe(t)?((u=Ye(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=wt(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function $t(e){var t=new Map,n=new Set,i=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&r(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),i}var Bt={placement:"bottom",modifiers:[],strategy:"absolute"};function Wt(){for(var e=arguments.length,t=new Array(e),n=0;nP.on(e,"mouseover",f))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(nn),this._element.classList.add(nn),P.trigger(this._element,"shown.bs.dropdown",e)}hide(){if(c(this._element)||!this._isShown(this._menu))return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){P.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>P.off(e,"mouseover",f))),this._popper&&this._popper.destroy(),this._menu.classList.remove(nn),this._element.classList.remove(nn),this._element.setAttribute("aria-expanded","false"),U.removeDataAttribute(this._menu,"popper"),P.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e={...this.constructor.Default,...U.getDataAttributes(this._element),...e},a(Yt,e,this.constructor.DefaultType),"object"==typeof e.reference&&!o(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Yt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(e){if(void 0===Xt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=e:o(this._config.reference)?t=s(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const n=this._getPopperConfig(),i=n.modifiers.find((e=>"applyStyles"===e.name&&!1===e.enabled));this._popper=Vt(t,this._menu,n),i&&U.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains(nn)}_getMenuElement(){return V.next(this._element,on)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return un;if(e.classList.contains("dropstart"))return fn;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?an:sn:t?cn:ln}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const n=V.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(l);n.length&&b(n,t,e===Jt,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=hn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const t=V.find(rn);for(let n=0,i=t.length;nt+e)),this._setElementAttributes(gn,"paddingRight",(t=>t+e)),this._setElementAttributes(mn,"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 r=window.getComputedStyle(e)[t];e.style[t]=`${n(Number.parseFloat(r))}px`}))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(gn,"paddingRight"),this._resetElementAttributes(mn,"marginRight")}_saveInitialAttribute(e,t){const n=e.style[t];n&&U.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const n=U.getDataAttribute(e,t);void 0===n?e.style.removeProperty(t):(U.removeDataAttribute(e,t),e.style[t]=n)}))}_applyManipulationCallback(e,t){o(e)?t(e):V.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const yn={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},bn={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},_n="backdrop",wn="show",xn="mousedown.bs.backdrop";class En{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&d(this._getElement()),this._getElement().classList.add(wn),this._emulateAnimation((()=>{v(e)}))):v(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove(wn),this._emulateAnimation((()=>{this.dispose(),v(e)}))):v(e)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_getConfig(e){return(e={...yn,..."object"==typeof e?e:{}}).rootElement=s(e.rootElement),a(_n,e,bn),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),P.on(this._getElement(),xn,(()=>{v(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(P.off(this._element,xn),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){y(e,this._getElement(),this._config.isAnimated)}}const Tn={trapElement:null,autofocus:!0},Cn={trapElement:"element",autofocus:"boolean"},An=".bs.focustrap",On="backward";class kn{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:e,autofocus:t}=this._config;this._isActive||(t&&e.focus(),P.off(document,An),P.on(document,"focusin.bs.focustrap",(e=>this._handleFocusin(e))),P.on(document,"keydown.tab.bs.focustrap",(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,P.off(document,An))}_handleFocusin(e){const{target:t}=e,{trapElement:n}=this._config;if(t===document||t===n||n.contains(t))return;const i=V.focusableChildren(n);0===i.length?n.focus():this._lastTabNavDirection===On?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?On:"forward")}_getConfig(e){return e={...Tn,..."object"==typeof e?e:{}},a("focustrap",e,Cn),e}}const Sn="modal",Dn=".bs.modal",jn="Escape",Ln={backdrop:!0,keyboard:!0,focus:!0},Nn={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},In="hidden.bs.modal",Pn="show.bs.modal",qn="resize.bs.modal",Mn="click.dismiss.bs.modal",Hn="keydown.dismiss.bs.modal",Rn="mousedown.dismiss.bs.modal",$n="modal-open",Bn="show",Wn="modal-static";class Fn extends H{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=V.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new vn}static get Default(){return Ln}static get NAME(){return Sn}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||this._isTransitioning)return;P.trigger(this._element,Pn,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add($n),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),P.on(this._dialog,Rn,(()=>{P.one(this._element,"mouseup.dismiss.bs.modal",(e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;if(P.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(Bn),P.off(this._element,Mn),P.off(this._dialog,Rn),this._queueCallback((()=>this._hideModal()),this._element,e)}dispose(){[window,this._dialog].forEach((e=>P.off(e,Dn))),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new En({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new kn({trapElement:this._element})}_getConfig(e){return e={...Ln,...U.getDataAttributes(this._element),..."object"==typeof e?e:{}},a(Sn,e,Nn),e}_showElement(e){const t=this._isAnimated(),n=V.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,n&&(n.scrollTop=0),t&&d(this._element),this._element.classList.add(Bn);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,P.trigger(this._element,"shown.bs.modal",{relatedTarget:e})}),this._dialog,t)}_setEscapeEvent(){this._isShown?P.on(this._element,Hn,(e=>{this._config.keyboard&&e.key===jn?(e.preventDefault(),this.hide()):this._config.keyboard||e.key!==jn||this._triggerBackdropTransition()})):P.off(this._element,Hn)}_setResizeEvent(){this._isShown?P.on(window,qn,(()=>this._adjustDialog())):P.off(window,qn)}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove($n),this._resetAdjustments(),this._scrollBar.reset(),P.trigger(this._element,In)}))}_showBackdrop(e){P.on(this._element,Mn,(e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())})),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(P.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:e,scrollHeight:t,style:n}=this._element,i=t>document.documentElement.clientHeight;!i&&"hidden"===n.overflowY||e.contains(Wn)||(i||(n.overflowY="hidden"),e.add(Wn),this._queueCallback((()=>{e.remove(Wn),i||this._queueCallback((()=>{n.overflowY=""}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;(!n&&e&&!g()||n&&!e&&g())&&(this._element.style.paddingLeft=`${t}px`),(n&&!e&&!g()||!n&&e&&g())&&(this._element.style.paddingRight=`${t}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const n=Fn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}}))}}P.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(e){const t=i(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),P.one(t,Pn,(e=>{e.defaultPrevented||P.one(t,In,(()=>{l(this)&&this.focus()}))}));Fn.getOrCreateInstance(t).toggle(this)})),R(Fn),m(Fn);const zn="offcanvas",Un={backdrop:!0,keyboard:!0,scroll:!1},Vn={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},Xn="show",Yn=".offcanvas.show",Kn="hidden.bs.offcanvas";class Qn extends H{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return zn}static get Default(){return Un}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(P.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new vn).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Xn);this._queueCallback((()=>{this._config.scroll||this._focustrap.activate(),P.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})}),this._element,!0)}hide(){if(!this._isShown)return;if(P.trigger(this._element,"hide.bs.offcanvas").defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(Xn),this._backdrop.hide();this._queueCallback((()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new vn).reset(),P.trigger(this._element,Kn)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...Un,...U.getDataAttributes(this._element),..."object"==typeof e?e:{}},a(zn,e,Vn),e}_initializeBackDrop(){return new En({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new kn({trapElement:this._element})}_addEventListeners(){P.on(this._element,"keydown.dismiss.bs.offcanvas",(e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()}))}static jQueryInterface(e){return this.each((function(){const t=Qn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}P.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(e){const t=i(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),c(this))return;P.one(t,Kn,(()=>{l(this)&&this.focus()}));const n=V.findOne(Yn);n&&n!==t&&Qn.getInstance(n).hide();Qn.getOrCreateInstance(t).toggle(this)})),P.on(window,"load.bs.offcanvas.data-api",(()=>V.find(Yn).forEach((e=>Qn.getOrCreateInstance(e).show())))),R(Qn),m(Qn);const Gn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Jn=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,Zn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,ei=(e,t)=>{const n=e.nodeName.toLowerCase();if(t.includes(n))return!Gn.has(n)||Boolean(Jn.test(e.nodeValue)||Zn.test(e.nodeValue));const i=t.filter((e=>e instanceof RegExp));for(let e=0,t=i.length;e{ei(e,a)||n.removeAttribute(e.nodeName)}))}return i.body.innerHTML}const ii="tooltip",ri=new Set(["sanitize","allowList","sanitizeFn"]),oi={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)"},si={AUTO:"auto",TOP:"top",RIGHT:g()?"left":"right",BOTTOM:"bottom",LEFT:g()?"right":"left"},ai={animation:!0,template:'',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:ti,popperConfig:null},li={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},ci="fade",ui="show",fi="show",di="out",pi=".modal",hi="hide.bs.modal",gi="hover",mi="focus";class vi extends H{constructor(e,t){if(void 0===Xt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(t),this.tip=null,this._setListeners()}static get Default(){return ai}static get NAME(){return ii}static get Event(){return li}static get DefaultType(){return oi}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains(ui))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),P.off(this._element.closest(pi),hi,this._hideModalHandler),this.tip&&this.tip.remove(),this._popper&&this._popper.destroy(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const e=P.trigger(this._element,this.constructor.Event.SHOW),t=u(this._element),n=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!n)return;const i=this.getTipElement(),r=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME);i.setAttribute("id",r),this._element.setAttribute("aria-describedby",r),this._config.animation&&i.classList.add(ci);const o="function"==typeof this._config.placement?this._config.placement.call(this,i,this._element):this._config.placement,s=this._getAttachment(o);this._addAttachmentClass(s);const{container:a}=this._config;M.set(i,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(i),P.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Vt(this._element,i,this._getPopperConfig(s)),i.classList.add(ui);const l=this._resolvePossibleFunction(this._config.customClass);l&&i.classList.add(...l.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>{P.on(e,"mouseover",f)}));const c=this.tip.classList.contains(ci);this._queueCallback((()=>{const e=this._hoverState;this._hoverState=null,P.trigger(this._element,this.constructor.Event.SHOWN),e===di&&this._leave(null,this)}),this.tip,c)}hide(){if(!this._popper)return;const e=this.getTipElement();if(P.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove(ui),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>P.off(e,"mouseover",f))),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const t=this.tip.classList.contains(ci);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==fi&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),P.trigger(this._element,this.constructor.Event.HIDDEN),this._popper&&(this._popper.destroy(),this._popper=null))}),this.tip,t),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div");e.innerHTML=this._config.template;const t=e.children[0];return this.setContent(t),t.classList.remove(ci,ui),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".tooltip-inner")}_sanitizeAndSetContent(e,t,n){const i=V.findOne(n,e);t||!i?this.setElementContent(i,t):i.remove()}setElementContent(e,t){
+if(null!==e)return o(t)?(t=s(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.append(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=ni(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){const e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:e=>this._handlePopperPlacementChange(e)}],onFirstUpdate:e=>{e.options.placement!==e.placement&&this._handlePopperPlacementChange(e)}};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return si[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach((e=>{if("click"===e)P.on(this._element,this.constructor.Event.CLICK,this._config.selector,(e=>this.toggle(e)));else if("manual"!==e){const t=e===gi?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,n=e===gi?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;P.on(this._element,t,this._config.selector,(e=>this._enter(e))),P.on(this._element,n,this._config.selector,(e=>this._leave(e)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},P.on(this._element.closest(pi),hi,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?mi:gi]=!0),t.getTipElement().classList.contains(ui)||t._hoverState===fi?t._hoverState=fi:(clearTimeout(t._timeout),t._hoverState=fi,t._config.delay&&t._config.delay.show?t._timeout=setTimeout((()=>{t._hoverState===fi&&t.show()}),t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?mi:gi]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=di,t._config.delay&&t._config.delay.hide?t._timeout=setTimeout((()=>{t._hoverState===di&&t.hide()}),t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=U.getDataAttributes(this._element);return Object.keys(t).forEach((e=>{ri.has(e)&&delete t[e]})),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:s(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),a(ii,e,this.constructor.DefaultType),e.sanitize&&(e.template=ni(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const e=this.getTipElement(),t=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),n=e.getAttribute("class").match(t);null!==n&&n.length>0&&n.map((e=>e.trim())).forEach((t=>e.classList.remove(t)))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(e){const{state:t}=e;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}static jQueryInterface(e){return this.each((function(){const t=vi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}m(vi);const yi={...vi.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:''},bi={...vi.DefaultType,content:"(string|element|function)"},_i={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class wi extends vi{static get Default(){return yi}static get NAME(){return"popover"}static get Event(){return _i}static get DefaultType(){return bi}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(e,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(e){return this.each((function(){const t=wi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}m(wi);const xi="scrollspy",Ei=".bs.scrollspy",Ti={offset:10,method:"auto",target:""},Ci={offset:"number",method:"string",target:"(string|element)"},Ai="dropdown-item",Oi="active",ki=".nav-link",Si=".nav-link, .list-group-item, .dropdown-item",Di="position";class ji extends H{constructor(e,t){super(e),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,P.on(this._scrollElement,"scroll.bs.scrollspy",(()=>this._process())),this.refresh(),this._process()}static get Default(){return Ti}static get NAME(){return xi}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":Di,t="auto"===this._config.method?e:this._config.method,i=t===Di?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();V.find(Si,this._config.target).map((e=>{const r=n(e),o=r?V.findOne(r):null;if(o){const e=o.getBoundingClientRect();if(e.width||e.height)return[U[t](o).top+i,r]}return null})).filter((e=>e)).sort(((e,t)=>e[0]-t[0])).forEach((e=>{this._offsets.push(e[0]),this._targets.push(e[1])}))}dispose(){P.off(this._scrollElement,Ei),super.dispose()}_getConfig(e){return(e={...Ti,...U.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=s(e.target)||document.documentElement,a(xi,e,Ci),e}_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 e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){const e=this._targets[this._targets.length-1];this._activeTarget!==e&&this._activate(e)}else{if(this._activeTarget&&e0)return this._activeTarget=null,void this._clear();for(let t=this._offsets.length;t--;){this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&(void 0===this._offsets[t+1]||e`${t}[data-bs-target="${e}"],${t}[href="${e}"]`)),n=V.findOne(t.join(","),this._config.target);n.classList.add(Oi),n.classList.contains(Ai)?V.findOne(".dropdown-toggle",n.closest(".dropdown")).classList.add(Oi):V.parents(n,".nav, .list-group").forEach((e=>{V.prev(e,".nav-link, .list-group-item").forEach((e=>e.classList.add(Oi))),V.prev(e,".nav-item").forEach((e=>{V.children(e,ki).forEach((e=>e.classList.add(Oi)))}))})),P.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){V.find(Si,this._config.target).filter((e=>e.classList.contains(Oi))).forEach((e=>e.classList.remove(Oi)))}static jQueryInterface(e){return this.each((function(){const t=ji.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}P.on(window,"load.bs.scrollspy.data-api",(()=>{V.find('[data-bs-spy="scroll"]').forEach((e=>new ji(e)))})),m(ji);const Li="active",Ni="fade",Ii="show",Pi=".active",qi=":scope > li > .active";class Mi extends H{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Li))return;let e;const t=i(this._element),n=this._element.closest(".nav, .list-group");if(n){const t="UL"===n.nodeName||"OL"===n.nodeName?qi:Pi;e=V.find(t,n),e=e[e.length-1]}const r=e?P.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(P.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==r&&r.defaultPrevented)return;this._activate(this._element,n);const o=()=>{P.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),P.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};t?this._activate(t,t.parentNode,o):o()}_activate(e,t,n){const i=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?V.children(t,Pi):V.find(qi,t))[0],r=n&&i&&i.classList.contains(Ni),o=()=>this._transitionComplete(e,i,n);i&&r?(i.classList.remove(Ii),this._queueCallback(o,e,!0)):o()}_transitionComplete(e,t,n){if(t){t.classList.remove(Li);const e=V.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove(Li),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add(Li),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),d(e),e.classList.contains(Ni)&&e.classList.add(Ii);let i=e.parentNode;if(i&&"LI"===i.nodeName&&(i=i.parentNode),i&&i.classList.contains("dropdown-menu")){const t=e.closest(".dropdown");t&&V.find(".dropdown-toggle",t).forEach((e=>e.classList.add(Li))),e.setAttribute("aria-expanded",!0)}n&&n()}static jQueryInterface(e){return this.each((function(){const t=Mi.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}P.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),c(this))return;Mi.getOrCreateInstance(this).show()})),m(Mi);const Hi="toast",Ri="hide",$i="show",Bi="showing",Wi={animation:"boolean",autohide:"boolean",delay:"number"},Fi={animation:!0,autohide:!0,delay:5e3};class zi extends H{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return Wi}static get Default(){return Fi}static get NAME(){return Hi}show(){if(P.trigger(this._element,"show.bs.toast").defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(Ri),d(this._element),this._element.classList.add($i),this._element.classList.add(Bi),this._queueCallback((()=>{this._element.classList.remove(Bi),P.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this._element.classList.contains($i))return;if(P.trigger(this._element,"hide.bs.toast").defaultPrevented)return;this._element.classList.add(Bi),this._queueCallback((()=>{this._element.classList.add(Ri),this._element.classList.remove(Bi),this._element.classList.remove($i),P.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this._element.classList.contains($i)&&this._element.classList.remove($i),super.dispose()}_getConfig(e){return e={...Fi,...U.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},a(Hi,e,this.constructor.DefaultType),e}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){P.on(this._element,"mouseover.bs.toast",(e=>this._onInteraction(e,!0))),P.on(this._element,"mouseout.bs.toast",(e=>this._onInteraction(e,!1))),P.on(this._element,"focusin.bs.toast",(e=>this._onInteraction(e,!0))),P.on(this._element,"focusout.bs.toast",(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=zi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}return R(zi),m(zi),{Alert:$,Button:W,Carousel:oe,Collapse:ge,Dropdown:hn,Modal:Fn,Offcanvas:Qn,Popover:wi,ScrollSpy:ji,Tab:Mi,Toast:zi,Tooltip:vi}})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Popper={})}(this,(function(e){"use strict";function t(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function n(e){return e instanceof t(e).Element||e instanceof Element}function i(e){return e instanceof t(e).HTMLElement||e instanceof HTMLElement}function r(e){return"undefined"!=typeof ShadowRoot&&(e instanceof t(e).ShadowRoot||e instanceof ShadowRoot)}var o=Math.round;function s(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,s=1;if(i(e)&&t){var a=e.offsetHeight,l=e.offsetWidth;l>0&&(r=n.width/l||1),a>0&&(s=n.height/a||1)}return{width:o(n.width/r),height:o(n.height/s),top:o(n.top/s),right:o(n.right/r),bottom:o(n.bottom/s),left:o(n.left/r),x:o(n.left/r),y:o(n.top/s)}}function a(e){var n=t(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function l(e){return e?(e.nodeName||"").toLowerCase():null}function c(e){return((n(e)?e.ownerDocument:e.document)||window.document).documentElement}function u(e){return s(c(e)).left+a(e).scrollLeft}function f(e){return t(e).getComputedStyle(e)}function d(e){var t=f(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function p(e,n,r){void 0===r&&(r=!1);var o,f,p=i(n),h=i(n)&&function(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,i=t.height/e.offsetHeight||1;return 1!==n||1!==i}(n),g=c(n),m=s(e,h),v={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(p||!p&&!r)&&(("body"!==l(n)||d(g))&&(v=(o=n)!==t(o)&&i(o)?{scrollLeft:(f=o).scrollLeft,scrollTop:f.scrollTop}:a(o)),i(n)?((y=s(n,!0)).x+=n.clientLeft,y.y+=n.clientTop):g&&(y.x=u(g))),{x:m.left+v.scrollLeft-y.x,y:m.top+v.scrollTop-y.y,width:m.width,height:m.height}}function h(e){var t=s(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function g(e){return"html"===l(e)?e:e.assignedSlot||e.parentNode||(r(e)?e.host:null)||c(e)}function m(e){return["html","body","#document"].indexOf(l(e))>=0?e.ownerDocument.body:i(e)&&d(e)?e:m(g(e))}function v(e,n){var i;void 0===n&&(n=[]);var r=m(e),o=r===(null==(i=e.ownerDocument)?void 0:i.body),s=t(r),a=o?[s].concat(s.visualViewport||[],d(r)?r:[]):r,l=n.concat(a);return o?l:l.concat(v(g(a)))}function y(e){return["table","td","th"].indexOf(l(e))>=0}function b(e){return i(e)&&"fixed"!==f(e).position?e.offsetParent:null}function _(e){for(var n=t(e),r=b(e);r&&y(r)&&"static"===f(r).position;)r=b(r);return r&&("html"===l(r)||"body"===l(r)&&"static"===f(r).position)?n:r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&i(e)&&"fixed"===f(e).position)return null;for(var n=g(e);i(n)&&["html","body"].indexOf(l(n))<0;){var r=f(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||n}var w="top",x="bottom",E="right",T="left",C="auto",A=[w,x,E,T],O="start",k="end",S="viewport",D="popper",j=A.reduce((function(e,t){return e.concat([t+"-"+O,t+"-"+k])}),[]),L=[].concat(A,[C]).reduce((function(e,t){return e.concat([t,t+"-"+O,t+"-"+k])}),[]),N=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function I(e){var t=new Map,n=new Set,i=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&r(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),i}function P(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i=0&&i(e)?_(e):e;return n(r)?t.filter((function(e){return n(e)&&W(e,r)&&"body"!==l(e)})):[]}(e):[].concat(t),s=[].concat(o,[r]),a=s[0],c=s.reduce((function(t,n){var i=z(e,n);return t.top=R(i.top,t.top),t.right=$(i.right,t.right),t.bottom=$(i.bottom,t.bottom),t.left=R(i.left,t.left),t}),z(e,a));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function V(e){return e.split("-")[1]}function X(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Y(e){var t,n=e.reference,i=e.element,r=e.placement,o=r?H(r):null,s=r?V(r):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case w:t={x:a,y:n.y-i.height};break;case x:t={x:a,y:n.y+n.height};break;case E:t={x:n.x+n.width,y:l};break;case T:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?X(o):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case O:t[c]=t[c]-(n[u]/2-i[u]/2);break;case k:t[c]=t[c]+(n[u]/2-i[u]/2)}}return t}function K(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Q(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function G(e,t){void 0===t&&(t={});var i=t,r=i.placement,o=void 0===r?e.placement:r,a=i.boundary,l=void 0===a?"clippingParents":a,u=i.rootBoundary,f=void 0===u?S:u,d=i.elementContext,p=void 0===d?D:d,h=i.altBoundary,g=void 0!==h&&h,m=i.padding,v=void 0===m?0:m,y=K("number"!=typeof v?v:Q(v,A)),b=p===D?"reference":D,_=e.rects.popper,T=e.elements[g?b:p],C=U(n(T)?T:T.contextElement||c(e.elements.popper),l,f),O=s(e.elements.reference),k=Y({reference:O,element:_,strategy:"absolute",placement:o}),j=F(Object.assign({},_,k)),L=p===D?j:O,N={top:C.top-L.top+y.top,bottom:L.bottom-C.bottom+y.bottom,left:C.left-L.left+y.left,right:L.right-C.right+y.right},I=e.modifiersData.offset;if(p===D&&I){var P=I[o];Object.keys(N).forEach((function(e){var t=[E,x].indexOf(e)>=0?1:-1,n=[w,x].indexOf(e)>=0?"y":"x";N[e]+=P[n]*t}))}return N}var J="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Z={placement:"bottom",modifiers:[],strategy:"absolute"};function ee(){for(var e=arguments.length,t=new Array(e),n=0;n100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==l.reset){var o=l.orderedModifiers[r],s=o.fn,a=o.options,c=void 0===a?{}:a,f=o.name;"function"==typeof s&&(l=s({state:l,options:c,name:f,instance:d})||l)}else l.reset=!1,r=-1}}else console.error(J)}},update:(o=function(){return new Promise((function(e){d.forceUpdate(),e(l)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){g(),u=!0}};if(!ee(e,t))return console.error(J),d;function g(){c.forEach((function(e){return e()})),c=[]}return d.setOptions(i).then((function(e){!u&&i.onFirstUpdate&&i.onFirstUpdate(e)})),d}}var ne={passive:!0};var ie={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var n=e.state,i=e.instance,r=e.options,o=r.scroll,s=void 0===o||o,a=r.resize,l=void 0===a||a,c=t(n.elements.popper),u=[].concat(n.scrollParents.reference,n.scrollParents.popper);return s&&u.forEach((function(e){e.addEventListener("scroll",i.update,ne)})),l&&c.addEventListener("resize",i.update,ne),function(){s&&u.forEach((function(e){e.removeEventListener("scroll",i.update,ne)})),l&&c.removeEventListener("resize",i.update,ne)}},data:{}};var re={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Y({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},oe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function se(e){var n,i=e.popper,r=e.popperRect,o=e.placement,s=e.variation,a=e.offsets,l=e.position,u=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,h=!0===p?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:B(B(t*i)/i)||0,y:B(B(n*i)/i)||0}}(a):"function"==typeof p?p(a):a,g=h.x,m=void 0===g?0:g,v=h.y,y=void 0===v?0:v,b=a.hasOwnProperty("x"),C=a.hasOwnProperty("y"),A=T,O=w,S=window;if(d){var D=_(i),j="clientHeight",L="clientWidth";D===t(i)&&"static"!==f(D=c(i)).position&&"absolute"===l&&(j="scrollHeight",L="scrollWidth"),D=D,o!==w&&(o!==T&&o!==E||s!==k)||(O=x,y-=D[j]-r.height,y*=u?1:-1),o!==T&&(o!==w&&o!==x||s!==k)||(A=E,m-=D[L]-r.width,m*=u?1:-1)}var N,I=Object.assign({position:l},d&&oe);return u?Object.assign({},I,((N={})[O]=C?"0":"",N[A]=b?"0":"",N.transform=(S.devicePixelRatio||1)<=1?"translate("+m+"px, "+y+"px)":"translate3d("+m+"px, "+y+"px, 0)",N)):Object.assign({},I,((n={})[O]=C?y+"px":"",n[A]=b?m+"px":"",n.transform="",n))}var ae={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c=f(t.elements.popper).transitionProperty||"";s&&["transform","top","right","bottom","left"].some((function(e){return c.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "));var u={placement:H(t.placement),variation:V(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,se(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,se(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var le={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];i(o)&&l(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});i(r)&&l(r)&&(Object.assign(r.style,s),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var ce={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.offset,o=void 0===r?[0,0]:r,s=L.reduce((function(e,n){return e[n]=function(e,t,n){var i=H(e),r=[T,w].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*r,[T,E].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,o),e}),{}),a=s[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=s}},ue={left:"right",right:"left",bottom:"top",top:"bottom"};function fe(e){return e.replace(/left|right|bottom|top/g,(function(e){return ue[e]}))}var de={start:"end",end:"start"};function pe(e){return e.replace(/start|end/g,(function(e){return de[e]}))}function he(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?L:l,u=V(i),f=u?a?j:j.filter((function(e){return V(e)===u})):A,d=f.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=f,
+console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var p=d.reduce((function(t,n){return t[n]=G(e,{placement:n,boundary:r,rootBoundary:o,padding:s})[H(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}var ge={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,g=n.allowedAutoPlacements,m=t.options.placement,v=H(m),y=l||(v===m||!h?[fe(m)]:function(e){if(H(e)===C)return[];var t=fe(e);return[pe(e),t,pe(t)]}(m)),b=[m].concat(y).reduce((function(e,n){return e.concat(H(n)===C?he(t,{placement:n,boundary:u,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:g}):n)}),[]),_=t.rects.reference,A=t.rects.popper,k=new Map,S=!0,D=b[0],j=0;j=0,q=P?"width":"height",M=G(t,{placement:L,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),R=P?I?E:T:I?x:w;_[q]>A[q]&&(R=fe(R));var $=fe(R),B=[];if(o&&B.push(M[N]<=0),a&&B.push(M[R]<=0,M[$]<=0),B.every((function(e){return e}))){D=L,S=!1;break}k.set(L,B)}if(S)for(var W=function(e){var t=b.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return D=t,"break"},F=h?3:1;F>0;F--){if("break"===W(F))break}t.placement!==D&&(t.modifiersData[i]._skip=!0,t.placement=D,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function me(e,t,n){return R(e,$(t,n))}var ve={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,g=n.tetherOffset,m=void 0===g?0:g,v=G(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),y=H(t.placement),b=V(t.placement),C=!b,A=X(y),k="x"===A?"y":"x",S=t.modifiersData.popperOffsets,D=t.rects.reference,j=t.rects.popper,L="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,N={x:0,y:0};if(S){if(o||a){var I="y"===A?w:T,P="y"===A?x:E,q="y"===A?"height":"width",M=S[A],B=S[A]+v[I],W=S[A]-v[P],F=p?-j[q]/2:0,z=b===O?D[q]:j[q],U=b===O?-j[q]:-D[q],Y=t.elements.arrow,K=p&&Y?h(Y):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},J=Q[I],Z=Q[P],ee=me(0,D[q],K[q]),te=C?D[q]/2-F-ee-J-L:z-ee-J-L,ne=C?-D[q]/2+F+ee+Z+L:U+ee+Z+L,ie=t.elements.arrow&&_(t.elements.arrow),re=ie?"y"===A?ie.clientTop||0:ie.clientLeft||0:0,oe=t.modifiersData.offset?t.modifiersData.offset[t.placement][A]:0,se=S[A]+te-oe-re,ae=S[A]+ne-oe;if(o){var le=me(p?$(B,se):B,M,p?R(W,ae):W);S[A]=le,N[A]=le-M}if(a){var ce="x"===A?w:T,ue="x"===A?x:E,fe=S[k],de=fe+v[ce],pe=fe-v[ue],he=me(p?$(de,se):de,fe,p?R(pe,ae):pe);S[k]=he,N[k]=he-fe}}t.modifiersData[i]=N}},requiresIfExists:["offset"]};var ye={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,r=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=H(n.placement),l=X(a),c=[T,E].indexOf(a)>=0?"height":"width";if(o&&s){var u=function(e,t){return K("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Q(e,A))}(r.padding,n),f=h(o),d="y"===l?w:T,p="y"===l?x:E,g=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],m=s[l]-n.rects.reference[l],v=_(o),y=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,b=g/2-m/2,C=u[d],O=y-f[c]-u[p],k=y/2-f[c]/2+b,S=me(C,k,O),D=l;n.modifiersData[i]=((t={})[D]=S,t.centerOffset=S-k,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&(i(r)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" ")),W(t.elements.popper,r)?t.elements.arrow=r:console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function be(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function _e(e){return[w,E,x,T].some((function(t){return e[t]>=0}))}var we={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,s=G(t,{elementContext:"reference"}),a=G(t,{altBoundary:!0}),l=be(s,i),c=be(a,r,o),u=_e(l),f=_e(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}},xe=te({defaultModifiers:[ie,re,ae,le]}),Ee=[ie,re,ae,le,ce,ge,ve,ye,we],Te=te({defaultModifiers:Ee});e.applyStyles=le,e.arrow=ye,e.computeStyles=ae,e.createPopper=Te,e.createPopperLite=xe,e.defaultModifiers=Ee,e.detectOverflow=G,e.eventListeners=ie,e.flip=ge,e.hide=we,e.offset=ce,e.popperGenerator=te,e.popperOffsets=re,e.preventOverflow=ve,Object.defineProperty(e,"__esModule",{value:!0})}));
\ No newline at end of file
diff --git a/styles/default/package-lock.json b/styles/default/package-lock.json
index f9474ca6..cb62c63f 100644
--- a/styles/default/package-lock.json
+++ b/styles/default/package-lock.json
@@ -5,14 +5,14 @@
"requires": true,
"dependencies": {
"@popperjs/core": {
- "version": "2.9.2",
- "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.9.2.tgz",
- "integrity": "sha512-VZMYa7+fXHdwIq1TDhSXoVmSPEGM/aa+6Aiq3nVVJ9bXr24zScr+NlKFKC3iPljA7ho/GAZr+d2jOf5GIRC30Q=="
+ "version": "2.10.1",
+ "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.10.1.tgz",
+ "integrity": "sha512-HnUhk1Sy9IuKrxEMdIRCxpIqPw6BFsbYSEUO9p/hNw5sMld/+3OLMWQP80F8/db9qsv3qUjs7ZR5bS/R+iinXw=="
},
"bootstrap": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.0.2.tgz",
- "integrity": "sha512-1Ge963tyEQWJJ+8qtXFU6wgmAVj9gweEjibUdbmcCEYsn38tVwRk8107rk2vzt6cfQcRr3SlZ8aQBqaD8aqf+Q=="
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.1.0.tgz",
+ "integrity": "sha512-bs74WNI9BgBo3cEovmdMHikSKoXnDgA6VQjJ7TyTotU6L7d41ZyCEEelPwkYEzsG/Zjv3ie9IE3EMAje0W9Xew=="
},
"featherlight": {
"version": "1.7.14",
@@ -25,9 +25,9 @@
"integrity": "sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw=="
},
"js-cookie": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-2.2.1.tgz",
- "integrity": "sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ=="
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.1.tgz",
+ "integrity": "sha512-+0rgsUXZu4ncpPxRL+lNEptWMOWl9etvPHc/koSRp6MPwpRYAhmk0dUG00J4bxVV3r9uUzfo24wW0knS07SKSw=="
}
}
}
diff --git a/styles/default/package.json b/styles/default/package.json
index f7ab2af0..3116785f 100644
--- a/styles/default/package.json
+++ b/styles/default/package.json
@@ -1,17 +1,27 @@
{
- "name": "default-theme",
- "version": "1.5.0",
- "description": "The default flatCore CMS Theme",
- "scripts": {},
- "author": "",
- "license": "GPL-3.0 License",
- "repository": {},
- "private": true,
- "dependencies": {
- "@popperjs/core": "^2.9.2",
- "bootstrap": "^5.0.2",
- "featherlight": "^1.7.14",
- "jquery": "^3.6.0",
- "js-cookie": "^2.2.1"
- }
-}
+ "repository" : {
+
+ },
+ "name" : "default-theme",
+ "optionalDependencies" : {
+
+ },
+ "author" : "",
+ "description" : "The default flatCore CMS Theme",
+ "version" : "1.5.0",
+ "dependencies" : {
+ "js-cookie" : "^3.0.1",
+ "jquery" : "^3.6.0",
+ "featherlight" : "^1.7.14",
+ "bootstrap" : "^5.1.0",
+ "@popperjs\/core" : "^2.10.1"
+ },
+ "scripts" : {
+
+ },
+ "license" : "GPL-3.0 License",
+ "devDependencies" : {
+
+ },
+ "private" : true
+}
\ No newline at end of file
diff --git a/styles/default/templates/admin_helpers.tpl b/styles/default/templates/admin_helpers.tpl
new file mode 100644
index 00000000..bfcb25fd
--- /dev/null
+++ b/styles/default/templates/admin_helpers.tpl
@@ -0,0 +1,45 @@
+
+
+ Admin Helpers
+
+
+
+
+ Snippets
+ {foreach $admin_helpers_snippets as $helper}
+ {$helper}
+ {/foreach}
+
+
+ Shortcodes
+ {foreach $admin_helpers_shortcodes as $helper}
+ {$helper}
+ {/foreach}
+
+
+ Images
+
+ {foreach $admin_helpers_images as $helper}
+ {$helper}
+ {/foreach}
+
+
+
+ Files
+
+ {foreach $admin_helpers_files as $helper}
+ {$helper}
+ {/foreach}
+
+
+
+ Plugins
+
+ {foreach $admin_helpers_plugins as $helper}
+ {$helper}
+ {/foreach}
+
+
+
+
+
diff --git a/styles/default/templates/layout_default.tpl b/styles/default/templates/layout_default.tpl
index 45ea694a..175308c9 100644
--- a/styles/default/templates/layout_default.tpl
+++ b/styles/default/templates/layout_default.tpl
@@ -13,7 +13,8 @@
{nocache}
{$login_box nocache}
{$status_box nocache}
- {/nocache}
+ {/nocache}
+ {include file='admin_helpers.tpl'}