script.min.js 76 KB

1
  1. !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()}(this,function(){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}function u(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function r(t){for(;t+=Math.floor(1e6*Math.random()),document.getElementById(t););return t}function e(t){var e=t.getAttribute("data-bs-target");return e=!e||"#"===e?(t=t.getAttribute("href"))&&"#"!==t?t.trim():null:e}function f(t){return(t=e(t))&&document.querySelector(t)?t:null}function d(t){return(t=e(t))?document.querySelector(t):null}function h(t){if(!t)return 0;var e=(i=window.getComputedStyle(t)).transitionDuration,n=i.transitionDelay,t=Number.parseFloat(e),i=Number.parseFloat(n);return t||i?(e=e.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(n))):0}function o(t){t.dispatchEvent(new Event(E))}function p(t){return(t[0]||t).nodeType}function g(e,t){var n=!1,t=t+5;e.addEventListener(E,function t(){n=!0,e.removeEventListener(E,t)}),setTimeout(function(){n||o(e)},t)}function m(o,r,s){Object.keys(s).forEach(function(t){var e,n=s[t],i=r[t],e=i&&p(i)?"element":null==(e=i)?""+e:{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(e))throw new Error(o.toUpperCase()+': Option "'+t+'" provided type "'+e+'" but expected type "'+n+'".')})}function s(t){if(!t)return!1;if(t.style&&t.parentNode&&t.parentNode.style){var e=getComputedStyle(t),t=getComputedStyle(t.parentNode);return"none"!==e.display&&"none"!==t.display&&"hidden"!==e.visibility}return!1}function c(t){return document.documentElement.attachShadow?"function"!=typeof t.getRootNode?t instanceof ShadowRoot?t:t.parentNode?c(t.parentNode):null:(t=t.getRootNode())instanceof ShadowRoot?t:null:null}function _(){return function(){}}function v(t){return t.offsetHeight}function b(){var t=window.jQuery;return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null}function t(t){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",t):t()}var y,w,E="transitionend",n="rtl"===document.documentElement.dir,T=(y={},{set:function(t,e,n){void 0===t.bsKey&&(t.bsKey={key:e,id:w},w++),y[t.bsKey.id]=n},get:function(t,e){if(!t||void 0===t.bsKey)return null;t=t.bsKey;return t.key===e?y[t.id]:null},delete:function(t,e){var n;void 0===t.bsKey||(n=t.bsKey).key===e&&(delete y[n.id],delete t.bsKey)}}),O=function(t,e,n){T.set(t,e,n)},L=function(t,e){return T.get(t,e)},k=function(t,e){T.delete(t,e)},A=/[^.]*(?=\..*)\.|.*/,C=/\..*/,D=/::\d+$/,x={},S=w=1,j={mouseenter:"mouseover",mouseleave:"mouseout"},N=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 I(t,e){return e&&e+"::"+S++||t.uidEvent||S++}function P(t){var e=I(t);return t.uidEvent=e,x[e]=x[e]||{},x[e]}function M(t,e,n){void 0===n&&(n=null);for(var i=Object.keys(t),o=0,r=i.length;o<r;o++){var s=t[i[o]];if(s.originalHandler===e&&s.delegationSelector===n)return s}return null}function B(t,e,n){var i="string"==typeof e,o=i?n:e,n=t.replace(C,""),e=j[n];return e&&(n=e),[i,o,n=!N.has(n)?t:n]}function H(t,e,n,i,o){var r,s,a,l,c,u,f,d,h,p;"string"==typeof e&&t&&(n||(n=i,i=null),r=(l=B(e,n,i))[0],s=l[1],a=l[2],(c=M(l=(c=P(t))[a]||(c[a]={}),s,r?n:null))?c.oneOff=c.oneOff&&o:(e=I(s,e.replace(A,"")),(i=r?(d=t,h=n,p=i,function t(e){for(var n=d.querySelectorAll(h),i=e.target;i&&i!==this;i=i.parentNode)for(var o=n.length;o--;)if(n[o]===i)return e.delegateTarget=i,t.oneOff&&W.off(d,e.type,p),p.apply(i,[e]);return null}):(u=t,f=n,function t(e){return e.delegateTarget=u,t.oneOff&&W.off(u,e.type,f),f.apply(u,[e])})).delegationSelector=r?n:null,i.originalHandler=s,i.oneOff=o,l[i.uidEvent=e]=i,t.addEventListener(a,i,r)))}function R(t,e,n,i,o){i=M(e[n],i,o);i&&(t.removeEventListener(n,i,Boolean(o)),delete e[n][i.uidEvent])}var W={on:function(t,e,n,i){H(t,e,n,i,!1)},one:function(t,e,n,i){H(t,e,n,i,!0)},off:function(s,a,t,e){if("string"==typeof a&&s){var n=B(a,t,e),i=n[0],e=n[1],o=n[2],r=o!==a,l=P(s),n=a.startsWith(".");if(void 0!==e)return l&&l[o]?void R(s,l,o,e,i?t:null):void 0;n&&Object.keys(l).forEach(function(t){var e,n,i,o,r;e=s,n=l,i=t,o=a.slice(1),r=n[i]||{},Object.keys(r).forEach(function(t){t.includes(o)&&R(e,n,i,(t=r[t]).originalHandler,t.delegationSelector)})});var c=l[o]||{};Object.keys(c).forEach(function(t){var e=t.replace(D,"");r&&!a.includes(e)||R(s,l,o,(t=c[t]).originalHandler,t.delegationSelector)})}},trigger:function(t,e,n){if("string"!=typeof e||!t)return null;var i,o=b(),r=e.replace(C,""),s=e!==r,a=N.has(r),l=!0,c=!0,u=!1,f=null;return s&&o&&(i=o.Event(e,n),o(t).trigger(i),l=!i.isPropagationStopped(),c=!i.isImmediatePropagationStopped(),u=i.isDefaultPrevented()),a?(f=document.createEvent("HTMLEvents")).initEvent(r,l,!0):f=new CustomEvent(e,{bubbles:l,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(function(t){Object.defineProperty(f,t,{get:function(){return n[t]}})}),u&&f.preventDefault(),c&&t.dispatchEvent(f),f.defaultPrevented&&void 0!==i&&i.preventDefault(),f}},K=function(){function t(t){t&&(this._element=t,O(t,this.constructor.DATA_KEY,this))}return t.prototype.dispose=function(){k(this._element,this.constructor.DATA_KEY),this._element=null},t.getInstance=function(t){return L(t,this.DATA_KEY)},a(t,null,[{key:"VERSION",get:function(){return"5.0.0-beta1"}}]),t}(),Q="alert",U="bs.alert",F=function(t){function n(){return t.apply(this,arguments)||this}u(n,t);var e=n.prototype;return e.close=function(t){var e=t?this._getRootElement(t):this._element,t=this._triggerCloseEvent(e);null===t||t.defaultPrevented||this._removeElement(e)},e._getRootElement=function(t){return d(t)||t.closest(".alert")},e._triggerCloseEvent=function(t){return W.trigger(t,"close.bs.alert")},e._removeElement=function(t){var e,n=this;t.classList.remove("show"),t.classList.contains("fade")?(e=h(t),W.one(t,E,function(){return n._destroyElement(t)}),g(t,e)):this._destroyElement(t)},e._destroyElement=function(t){t.parentNode&&t.parentNode.removeChild(t),W.trigger(t,"closed.bs.alert")},n.jQueryInterface=function(e){return this.each(function(){var t=(t=L(this,U))||new n(this);"close"===e&&t[e](this)})},n.handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},a(n,null,[{key:"DATA_KEY",get:function(){return U}}]),n}(K);W.on(document,"click.bs.alert.data-api",'[data-bs-dismiss="alert"]',F.handleDismiss(new F)),t(function(){var t,e=b();e&&(t=e.fn[Q],e.fn[Q]=F.jQueryInterface,e.fn[Q].Constructor=F,e.fn[Q].noConflict=function(){return e.fn[Q]=t,F.jQueryInterface})});var Y="button",q="bs.button",z='[data-bs-toggle="button"]',V=function(t){function n(){return t.apply(this,arguments)||this}return u(n,t),n.prototype.toggle=function(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))},n.jQueryInterface=function(e){return this.each(function(){var t=(t=L(this,q))||new n(this);"toggle"===e&&t[e]()})},a(n,null,[{key:"DATA_KEY",get:function(){return q}}]),n}(K);function X(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function $(t){return t.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()})}W.on(document,"click.bs.button.data-api",z,function(t){t.preventDefault();t=t.target.closest(z);(L(t,q)||new V(t)).toggle()}),t(function(){var t,e=b();e&&(t=e.fn[Y],e.fn[Y]=V.jQueryInterface,e.fn[Y].Constructor=V,e.fn[Y].noConflict=function(){return e.fn[Y]=t,V.jQueryInterface})});var G={setDataAttribute:function(t,e,n){t.setAttribute("data-bs-"+$(e),n)},removeDataAttribute:function(t,e){t.removeAttribute("data-bs-"+$(e))},getDataAttributes:function(n){if(!n)return{};var i={};return Object.keys(n.dataset).filter(function(t){return t.startsWith("bs")}).forEach(function(t){var e=(e=t.replace(/^bs/,"")).charAt(0).toLowerCase()+e.slice(1,e.length);i[e]=X(n.dataset[t])}),i},getDataAttribute:function(t,e){return X(t.getAttribute("data-bs-"+$(e)))},offset:function(t){t=t.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}},position:function(t){return{top:t.offsetTop,left:t.offsetLeft}}},Z={matches:function(t,e){return t.matches(e)},find:function(t,e){var n;return void 0===e&&(e=document.documentElement),(n=[]).concat.apply(n,Element.prototype.querySelectorAll.call(e,t))},findOne:function(t,e){return void 0===e&&(e=document.documentElement),Element.prototype.querySelector.call(e,t)},children:function(t,e){var n;return(n=[]).concat.apply(n,t.children).filter(function(t){return t.matches(e)})},parents:function(t,e){for(var n=[],i=t.parentNode;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)this.matches(i,e)&&n.push(i),i=i.parentNode;return n},prev:function(t,e){for(var n=t.previousElementSibling;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next:function(t,e){for(var n=t.nextElementSibling;n;){if(this.matches(n,e))return[n];n=n.nextElementSibling}return[]}},J="carousel",tt="bs.carousel",et="."+tt,nt={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},it={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},ot="next",rt="prev",st="slid"+et,at="active",lt=".active.carousel-item",ct={TOUCH:"touch",PEN:"pen"},ut=function(n){function r(t,e){t=n.call(this,t)||this;return t._items=null,t._interval=null,t._activeElement=null,t._isPaused=!1,t._isSliding=!1,t.touchTimeout=null,t.touchStartX=0,t.touchDeltaX=0,t._config=t._getConfig(e),t._indicatorsElement=Z.findOne(".carousel-indicators",t._element),t._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,t._pointerEvent=Boolean(window.PointerEvent),t._addEventListeners(),t}u(r,n);var t=r.prototype;return t.next=function(){this._isSliding||this._slide(ot)},t.nextWhenVisible=function(){!document.hidden&&s(this._element)&&this.next()},t.prev=function(){this._isSliding||this._slide(rt)},t.pause=function(t){t||(this._isPaused=!0),Z.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(o(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(t){t||(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))},t.to=function(t){var e=this;this._activeElement=Z.findOne(lt,this._element);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)W.one(this._element,st,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();n=n<t?ot:rt;this._slide(n,this._items[t])}},t.dispose=function(){n.prototype.dispose.call(this),W.off(this._element,et),this._items=null,this._config=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(t){return t=l({},nt,t),m(J,t,it),t},t._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);t<=40||(t=t/this.touchDeltaX,(this.touchDeltaX=0)<t&&this.prev(),t<0&&this.next())},t._addEventListeners=function(){var e=this;this._config.keyboard&&W.on(this._element,"keydown.bs.carousel",function(t){return e._keydown(t)}),"hover"===this._config.pause&&(W.on(this._element,"mouseenter.bs.carousel",function(t){return e.pause(t)}),W.on(this._element,"mouseleave.bs.carousel",function(t){return e.cycle(t)})),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()},t._addTouchEventListeners=function(){function t(t){n._pointerEvent&&ct[t.pointerType.toUpperCase()]?n.touchStartX=t.clientX:n._pointerEvent||(n.touchStartX=t.touches[0].clientX)}function e(t){n._pointerEvent&&ct[t.pointerType.toUpperCase()]&&(n.touchDeltaX=t.clientX-n.touchStartX),n._handleSwipe(),"hover"===n._config.pause&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},500+n._config.interval))}var n=this;Z.find(".carousel-item img",this._element).forEach(function(t){W.on(t,"dragstart.bs.carousel",function(t){return t.preventDefault()})}),this._pointerEvent?(W.on(this._element,"pointerdown.bs.carousel",t),W.on(this._element,"pointerup.bs.carousel",e),this._element.classList.add("pointer-event")):(W.on(this._element,"touchstart.bs.carousel",t),W.on(this._element,"touchmove.bs.carousel",function(t){(t=t).touches&&1<t.touches.length?n.touchDeltaX=0:n.touchDeltaX=t.touches[0].clientX-n.touchStartX}),W.on(this._element,"touchend.bs.carousel",e))},t._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.key){case"ArrowLeft":t.preventDefault(),this.prev();break;case"ArrowRight":t.preventDefault(),this.next()}},t._getItemIndex=function(t){return this._items=t&&t.parentNode?Z.find(".carousel-item",t.parentNode):[],this._items.indexOf(t)},t._getItemByDirection=function(t,e){var n=t===ot,i=t===rt,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;t=(o+(t===rt?-1:1))%this._items.length;return-1==t?this._items[this._items.length-1]:this._items[t]},t._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(Z.findOne(lt,this._element));return W.trigger(this._element,"slide.bs.carousel",{relatedTarget:t,direction:e,from:i,to:n})},t._setActiveIndicatorElement=function(t){if(this._indicatorsElement){for(var e=Z.find(".active",this._indicatorsElement),n=0;n<e.length;n++)e[n].classList.remove(at);t=this._indicatorsElement.children[this._getItemIndex(t)];t&&t.classList.add(at)}},t._updateInterval=function(){var t=this._activeElement||Z.findOne(lt,this._element);t&&((t=Number.parseInt(t.getAttribute("data-bs-interval"),10))?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval)},t._slide=function(t,e){var n,i,o=this,r=Z.findOne(lt,this._element),s=this._getItemIndex(r),a=e||r&&this._getItemByDirection(t,r),l=this._getItemIndex(a),e=Boolean(this._interval),c=t===ot?(n="carousel-item-start",i="carousel-item-next","left"):(n="carousel-item-end",i="carousel-item-prev","right");a&&a.classList.contains(at)?this._isSliding=!1:this._triggerSlideEvent(a,c).defaultPrevented||r&&a&&(this._isSliding=!0,e&&this.pause(),this._setActiveIndicatorElement(a),this._activeElement=a,this._element.classList.contains("slide")?(a.classList.add(i),v(a),r.classList.add(n),a.classList.add(n),t=h(r),W.one(r,E,function(){a.classList.remove(n,i),a.classList.add(at),r.classList.remove(at,i,n),o._isSliding=!1,setTimeout(function(){W.trigger(o._element,st,{relatedTarget:a,direction:c,from:s,to:l})},0)}),g(r,t)):(r.classList.remove(at),a.classList.add(at),this._isSliding=!1,W.trigger(this._element,st,{relatedTarget:a,direction:c,from:s,to:l})),e&&this.cycle())},r.carouselInterface=function(t,e){var n=L(t,tt),i=l({},nt,G.getDataAttributes(t));"object"==typeof e&&(i=l({},i,e));var o="string"==typeof e?e:i.slide,n=n||new r(t,i);if("number"==typeof e)n.to(e);else if("string"==typeof o){if(void 0===n[o])throw new TypeError('No method named "'+o+'"');n[o]()}else i.interval&&i.ride&&(n.pause(),n.cycle())},r.jQueryInterface=function(t){return this.each(function(){r.carouselInterface(this,t)})},r.dataApiClickHandler=function(t){var e,n,i=d(this);i&&i.classList.contains("carousel")&&(e=l({},G.getDataAttributes(i),G.getDataAttributes(this)),(n=this.getAttribute("data-bs-slide-to"))&&(e.interval=!1),r.carouselInterface(i,e),n&&L(i,tt).to(n),t.preventDefault())},a(r,null,[{key:"Default",get:function(){return nt}},{key:"DATA_KEY",get:function(){return tt}}]),r}(K);W.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",ut.dataApiClickHandler),W.on(window,"load.bs.carousel.data-api",function(){for(var t=Z.find('[data-bs-ride="carousel"]'),e=0,n=t.length;e<n;e++)ut.carouselInterface(t[e],L(t[e],tt))}),t(function(){var t,e=b();e&&(t=e.fn[J],e.fn[J]=ut.jQueryInterface,e.fn[J].Constructor=ut,e.fn[J].noConflict=function(){return e.fn[J]=t,ut.jQueryInterface})});var ft="collapse",dt="bs.collapse",ht={toggle:!0,parent:""},pt={toggle:"boolean",parent:"(string|element)"},gt="show",mt="collapse",_t="collapsing",vt="collapsed",bt='[data-bs-toggle="collapse"]',yt=function(c){function s(e,t){var n=c.call(this,e)||this;n._isTransitioning=!1,n._config=n._getConfig(t),n._triggerArray=Z.find(bt+'[href="#'+e.id+'"],'+bt+'[data-bs-target="#'+e.id+'"]');for(var i=Z.find(bt),o=0,r=i.length;o<r;o++){var s=i[o],a=f(s),l=Z.find(a).filter(function(t){return t===e});null!==a&&l.length&&(n._selector=a,n._triggerArray.push(s))}return n._parent=n._config.parent?n._getParent():null,n._config.parent||n._addAriaAndCollapsedClass(n._element,n._triggerArray),n._config.toggle&&n.toggle(),n}u(s,c);var t=s.prototype;return t.toggle=function(){this._element.classList.contains(gt)?this.hide():this.show()},t.show=function(){var e=this;if(!this._isTransitioning&&!this._element.classList.contains(gt)){this._parent&&0===(n=Z.find(".show, .collapsing",this._parent).filter(function(t){return"string"==typeof e._config.parent?t.getAttribute("data-bs-parent")===e._config.parent:t.classList.contains(mt)})).length&&(n=null);var t,n,i=Z.findOne(this._selector);if(n){var o,r=n.find(function(t){return i!==t});if((o=r?L(r,dt):null)&&o._isTransitioning)return}W.trigger(this._element,"show.bs.collapse").defaultPrevented||(n&&n.forEach(function(t){i!==t&&s.collapseInterface(t,"hide"),o||O(t,dt,null)}),t=this._getDimension(),this._element.classList.remove(mt),this._element.classList.add(_t),this._element.style[t]=0,this._triggerArray.length&&this._triggerArray.forEach(function(t){t.classList.remove(vt),t.setAttribute("aria-expanded",!0)}),this.setTransitioning(!0),r="scroll"+(t[0].toUpperCase()+t.slice(1)),n=h(this._element),W.one(this._element,E,function(){e._element.classList.remove(_t),e._element.classList.add(mt,gt),e._element.style[t]="",e.setTransitioning(!1),W.trigger(e._element,"shown.bs.collapse")}),g(this._element,n),this._element.style[t]=this._element[r]+"px")}},t.hide=function(){var t=this;if(!this._isTransitioning&&this._element.classList.contains(gt)&&!W.trigger(this._element,"hide.bs.collapse").defaultPrevented){var e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",v(this._element),this._element.classList.add(_t),this._element.classList.remove(mt,gt);var n=this._triggerArray.length;if(0<n)for(var i=0;i<n;i++){var o=this._triggerArray[i],r=d(o);r&&!r.classList.contains(gt)&&(o.classList.add(vt),o.setAttribute("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[e]="";e=h(this._element);W.one(this._element,E,function(){t.setTransitioning(!1),t._element.classList.remove(_t),t._element.classList.add(mt),W.trigger(t._element,"hidden.bs.collapse")}),g(this._element,e)}},t.setTransitioning=function(t){this._isTransitioning=t},t.dispose=function(){c.prototype.dispose.call(this),this._config=null,this._parent=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(t){return(t=l({},ht,t)).toggle=Boolean(t.toggle),m(ft,t,pt),t},t._getDimension=function(){return this._element.classList.contains("width")?"width":"height"},t._getParent=function(){var n=this,t=this._config.parent;p(t)?void 0===t.jquery&&void 0===t[0]||(t=t[0]):t=Z.findOne(t);var e=bt+'[data-bs-parent="'+t+'"]';return Z.find(e,t).forEach(function(t){var e=d(t);n._addAriaAndCollapsedClass(e,[t])}),t},t._addAriaAndCollapsedClass=function(t,e){var n;t&&e.length&&(n=t.classList.contains(gt),e.forEach(function(t){n?t.classList.remove(vt):t.classList.add(vt),t.setAttribute("aria-expanded",n)}))},s.collapseInterface=function(t,e){var n=L(t,dt),i=l({},ht,G.getDataAttributes(t),"object"==typeof e&&e?e:{});if(!n&&i.toggle&&"string"==typeof e&&/show|hide/.test(e)&&(i.toggle=!1),n=n||new s(t,i),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}},s.jQueryInterface=function(t){return this.each(function(){s.collapseInterface(this,t)})},a(s,null,[{key:"Default",get:function(){return ht}},{key:"DATA_KEY",get:function(){return dt}}]),s}(K);W.on(document,"click.bs.collapse.data-api",bt,function(t){"A"===t.target.tagName&&t.preventDefault();var n=G.getDataAttributes(this),t=f(this);Z.find(t).forEach(function(t){var e=L(t,dt),e=e?(null===e._parent&&"string"==typeof n.parent&&(e._config.parent=n.parent,e._parent=e._getParent()),"toggle"):n;yt.collapseInterface(t,e)})}),t(function(){var t,e=b();e&&(t=e.fn[ft],e.fn[ft]=yt.jQueryInterface,e.fn[ft].Constructor=yt,e.fn[ft].noConflict=function(){return e.fn[ft]=t,yt.jQueryInterface})});var wt="top",Et="bottom",Tt="right",Ot="left",Lt="auto",kt=[wt,Et,Tt,Ot],At="start",Ct="end",Dt="clippingParents",xt="viewport",St="popper",jt="reference",Nt=kt.reduce(function(t,e){return t.concat([e+"-"+At,e+"-"+Ct])},[]),It=[].concat(kt,[Lt]).reduce(function(t,e){return t.concat([e,e+"-"+At,e+"-"+Ct])},[]),Pt="beforeRead",Mt="afterRead",Bt="beforeMain",Ht="afterMain",Rt="beforeWrite",Wt="afterWrite",Kt=[Pt,"read",Mt,Bt,"main",Ht,Rt,"write",Wt];function Qt(t){return t?(t.nodeName||"").toLowerCase():null}function Ut(t){if("[object Window]"===t.toString())return t;t=t.ownerDocument;return t&&t.defaultView||window}function Ft(t){return t instanceof Ut(t).Element||t instanceof Element}function Yt(t){return t instanceof Ut(t).HTMLElement||t instanceof HTMLElement}var qt={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var o=t.state;Object.keys(o.elements).forEach(function(t){var e=o.styles[t]||{},n=o.attributes[t]||{},i=o.elements[t];Yt(i)&&Qt(i)&&(Object.assign(i.style,e),Object.keys(n).forEach(function(t){var e=n[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var i=t.state,o={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,o.popper),i.elements.arrow&&Object.assign(i.elements.arrow.style,o.arrow),function(){Object.keys(i.elements).forEach(function(t){var e=i.elements[t],n=i.attributes[t]||{},t=Object.keys((i.styles.hasOwnProperty(t)?i.styles:o)[t]).reduce(function(t,e){return t[e]="",t},{});Yt(e)&&Qt(e)&&(Object.assign(e.style,t),Object.keys(n).forEach(function(t){e.removeAttribute(t)}))})}},requires:["computeStyles"]};function zt(t){return t.split("-")[0]}function Vt(t){return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}function Xt(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&((n=n)instanceof Ut(n).ShadowRoot||n instanceof ShadowRoot)){var i=e;do{if(i&&t.isSameNode(i))return!0}while(i=i.parentNode||i.host)}return!1}function $t(t){return Ut(t).getComputedStyle(t)}function Gt(t){return((Ft(t)?t.ownerDocument:t.document)||window.document).documentElement}function Zt(t){return"html"===Qt(t)?t:t.assignedSlot||t.parentNode||t.host||Gt(t)}function Jt(t){if(!Yt(t)||"fixed"===$t(t).position)return null;var e=t.offsetParent;if(e){t=Gt(e);if("body"===Qt(e)&&"static"===$t(e).position&&"static"!==$t(t).position)return t}return e}function te(t){for(var e=Ut(t),n=Jt(t);n&&0<=["table","td","th"].indexOf(Qt(n))&&"static"===$t(n).position;)n=Jt(n);return(!n||"body"!==Qt(n)||"static"!==$t(n).position)&&(n||function(t){for(var e=Zt(t);Yt(e)&&["html","body"].indexOf(Qt(e))<0;){var n=$t(e);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return e;e=e.parentNode}return null}(t))||e}function ee(t){return 0<=["top","bottom"].indexOf(t)?"x":"y"}function ne(t,e,n){return Math.max(t,Math.min(e,n))}function ie(){return{top:0,right:0,bottom:0,left:0}}function oe(t){return Object.assign(Object.assign({},ie()),t)}function re(n,t){return t.reduce(function(t,e){return t[e]=n,t},{})}var se={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n,i,o=t.state,r=t.name,s=o.elements.arrow,a=o.modifiersData.popperOffsets,l=zt(o.placement),c=ee(l),u=0<=[Ot,Tt].indexOf(l)?"height":"width";s&&a&&(e=o.modifiersData[r+"#persistent"].padding,n=Vt(s),i="y"===c?wt:Ot,t="y"===c?Et:Tt,l=o.rects.reference[u]+o.rects.reference[c]-a[c]-o.rects.popper[u],a=a[c]-o.rects.reference[c],s=(s=te(s))?"y"===c?s.clientHeight||0:s.clientWidth||0:0,a=l/2-a/2,i=e[i],t=s-n[u]-e[t],t=ne(i,a=s/2-n[u]/2+a,t),o.modifiersData[r]=((r={})[c]=t,r.centerOffset=t-a,r))},effect:function(t){var e=t.state,n=t.options,i=t.name,t=void 0===(t=n.element)?"[data-popper-arrow]":t,n=void 0===(n=n.padding)?0:n;null!=t&&("string"!=typeof t||(t=e.elements.popper.querySelector(t)))&&Xt(e.elements.popper,t)&&(e.elements.arrow=t,e.modifiersData[i+"#persistent"]={padding:oe("number"!=typeof n?n:re(n,kt))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},ae={top:"auto",right:"auto",bottom:"auto",left:"auto"};function le(t){var e=t.popper,n=t.popperRect,i=t.placement,o=t.offsets,r=t.position,s=t.gpuAcceleration,a=t.adaptive,l=(f=(h=o).x,d=h.y,h=window.devicePixelRatio||1,{x:Math.round(f*h)/h||0,y:Math.round(d*h)/h||0}),c=l.x,u=l.y,t=o.hasOwnProperty("x"),f=o.hasOwnProperty("y"),d=Ot,h=wt,l=window;a&&((o=te(e))===Ut(e)&&(o=Gt(e)),i===wt&&(h=Et,u-=o.clientHeight-n.height,u*=s?1:-1),i===Ot&&(d=Tt,c-=o.clientWidth-n.width,c*=s?1:-1));var a=Object.assign({position:r},a&&ae);return s?Object.assign(Object.assign({},a),{},((s={})[h]=f?"0":"",s[d]=t?"0":"",s.transform=(l.devicePixelRatio||1)<2?"translate("+c+"px, "+u+"px)":"translate3d("+c+"px, "+u+"px, 0)",s)):Object.assign(Object.assign({},a),{},((a={})[h]=f?u+"px":"",a[d]=t?c+"px":"",a.transform="",a))}var ce={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,t=void 0===(t=n.gpuAcceleration)||t,n=void 0===(n=n.adaptive)||n,t={placement:zt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:t};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign(Object.assign({},e.styles.popper),le(Object.assign(Object.assign({},t),{},{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:n})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign(Object.assign({},e.styles.arrow),le(Object.assign(Object.assign({},t),{},{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1})))),e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{},{"data-popper-placement":e.placement})},data:{}},ue={passive:!0};var fe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,o=void 0===(t=i.scroll)||t,r=void 0===(i=i.resize)||i,s=Ut(e.elements.popper),a=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&a.forEach(function(t){t.addEventListener("scroll",n.update,ue)}),r&&s.addEventListener("resize",n.update,ue),function(){o&&a.forEach(function(t){t.removeEventListener("scroll",n.update,ue)}),r&&s.removeEventListener("resize",n.update,ue)}},data:{}},de={left:"right",right:"left",bottom:"top",top:"bottom"};function he(t){return t.replace(/left|right|bottom|top/g,function(t){return de[t]})}var pe={start:"end",end:"start"};function ge(t){return t.replace(/start|end/g,function(t){return pe[t]})}function me(t){t=t.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function _e(t){t=Ut(t);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ve(t){return me(Gt(t)).left+_e(t).scrollLeft}function be(t){var e=$t(t),n=e.overflow,t=e.overflowX,e=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+e+t)}function ye(t,e){void 0===e&&(e=[]);var n=function t(e){return 0<=["html","body","#document"].indexOf(Qt(e))?e.ownerDocument.body:Yt(e)&&be(e)?e:t(Zt(e))}(t),i="body"===Qt(n),t=Ut(n),n=i?[t].concat(t.visualViewport||[],be(n)?n:[]):n,e=e.concat(n);return i?e:e.concat(ye(Zt(n)))}function we(t){return Object.assign(Object.assign({},t),{},{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Ee(t,e){return e===xt?we((r=Ut(o=t),s=Gt(o),a=r.visualViewport,l=s.clientWidth,c=s.clientHeight,s=r=0,a&&(l=a.width,c=a.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=a.offsetLeft,s=a.offsetTop)),{width:l,height:c,x:r+ve(o),y:s})):Yt(e)?((i=me(n=e)).top=i.top+n.clientTop,i.left=i.left+n.clientLeft,i.bottom=i.top+n.clientHeight,i.right=i.left+n.clientWidth,i.width=n.clientWidth,i.height=n.clientHeight,i.x=i.left,i.y=i.top,i):we((o=Gt(t),s=Gt(o),e=_e(o),n=o.ownerDocument.body,i=Math.max(s.scrollWidth,s.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),t=Math.max(s.scrollHeight,s.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),o=-e.scrollLeft+ve(o),e=-e.scrollTop,"rtl"===$t(n||s).direction&&(o+=Math.max(s.clientWidth,n?n.clientWidth:0)-i),{width:i,height:t,x:o,y:e}));var n,i,o,r,s,a,l,c}function Te(n,t,e){var i,o,r,t="clippingParents"===t?(o=ye(Zt(i=n)),Ft(r=0<=["absolute","fixed"].indexOf($t(i).position)&&Yt(i)?te(i):i)?o.filter(function(t){return Ft(t)&&Xt(t,r)&&"body"!==Qt(t)}):[]):[].concat(t),t=[].concat(t,[e]),e=t[0],e=t.reduce(function(t,e){e=Ee(n,e);return t.top=Math.max(e.top,t.top),t.right=Math.min(e.right,t.right),t.bottom=Math.min(e.bottom,t.bottom),t.left=Math.max(e.left,t.left),t},Ee(n,e));return e.width=e.right-e.left,e.height=e.bottom-e.top,e.x=e.left,e.y=e.top,e}function Oe(t){return t.split("-")[1]}function Le(t){var e,n=t.reference,i=t.element,o=t.placement,t=o?zt(o):null,o=o?Oe(o):null,r=n.x+n.width/2-i.width/2,s=n.y+n.height/2-i.height/2;switch(t){case wt:e={x:r,y:n.y-i.height};break;case Et:e={x:r,y:n.y+n.height};break;case Tt:e={x:n.x+n.width,y:s};break;case Ot:e={x:n.x-i.width,y:s};break;default:e={x:n.x,y:n.y}}var a=t?ee(t):null;if(null!=a){var l="y"===a?"height":"width";switch(o){case At:e[a]=Math.floor(e[a])-Math.floor(n[l]/2-i[l]/2);break;case Ct:e[a]=Math.floor(e[a])+Math.ceil(n[l]/2-i[l]/2)}}return e}function ke(t,e){var i,n=(e=void 0===e?{}:e).placement,o=void 0===n?t.placement:n,r=e.boundary,s=void 0===r?Dt:r,a=e.rootBoundary,l=void 0===a?xt:a,c=e.elementContext,u=void 0===c?St:c,n=e.altBoundary,r=void 0!==n&&n,a=e.padding,c=void 0===a?0:a,n=oe("number"!=typeof c?c:re(c,kt)),e=u===St?jt:St,a=t.elements.reference,c=t.rects.popper,e=t.elements[r?e:u],s=Te(Ft(e)?e:e.contextElement||Gt(t.elements.popper),s,l),l=me(a),a=Le({reference:l,element:c,strategy:"absolute",placement:o}),a=we(Object.assign(Object.assign({},c),a)),l=u===St?a:l,f={top:s.top-l.top+n.top,bottom:l.bottom-s.bottom+n.bottom,left:s.left-l.left+n.left,right:l.right-s.right+n.right},t=t.modifiersData.offset;return u===St&&t&&(i=t[o],Object.keys(f).forEach(function(t){var e=0<=[Tt,Et].indexOf(t)?1:-1,n=0<=[wt,Et].indexOf(t)?"y":"x";f[t]+=i[n]*e})),f}var Ae={name:"flip",enabled:!0,phase:"main",fn:function(t){var f=t.state,e=t.options,n=t.name;if(!f.modifiersData[n]._skip){for(var i=e.mainAxis,o=void 0===i||i,t=e.altAxis,r=void 0===t||t,i=e.fallbackPlacements,d=e.padding,h=e.boundary,p=e.rootBoundary,s=e.altBoundary,t=e.flipVariations,g=void 0===t||t,m=e.allowedAutoPlacements,t=f.options.placement,e=zt(t),e=i||(e===t||!g?[he(t)]:function(t){if(zt(t)===Lt)return[];var e=he(t);return[ge(t),e,ge(e)]}(t)),a=[t].concat(e).reduce(function(t,e){return t.concat(zt(e)===Lt?(n=f,o=(i=void 0===(i={placement:e,boundary:h,rootBoundary:p,padding:d,flipVariations:g,allowedAutoPlacements:m})?{}:i).placement,r=i.boundary,s=i.rootBoundary,a=i.padding,t=i.flipVariations,l=void 0===(i=i.allowedAutoPlacements)?It:i,c=Oe(o),o=c?t?Nt:Nt.filter(function(t){return Oe(t)===c}):kt,u=(t=0===(t=o.filter(function(t){return 0<=l.indexOf(t)})).length?o:t).reduce(function(t,e){return t[e]=ke(n,{placement:e,boundary:r,rootBoundary:s,padding:a})[zt(e)],t},{}),Object.keys(u).sort(function(t,e){return u[t]-u[e]})):e);var n,i,o,r,s,a,l,c,u},[]),l=f.rects.reference,c=f.rects.popper,u=new Map,_=!0,v=a[0],b=0;b<a.length;b++){var y=a[b],w=zt(y),E=Oe(y)===At,T=0<=[wt,Et].indexOf(w),O=T?"width":"height",L=ke(f,{placement:y,boundary:h,rootBoundary:p,altBoundary:s,padding:d}),T=T?E?Tt:Ot:E?Et:wt;l[O]>c[O]&&(T=he(T));E=he(T),O=[];if(o&&O.push(L[w]<=0),r&&O.push(L[T]<=0,L[E]<=0),O.every(function(t){return t})){v=y,_=!1;break}u.set(y,O)}if(_)for(var k=g?3:1;0<k;k--)if("break"===function(e){var t=a.find(function(t){t=u.get(t);if(t)return t.slice(0,e).every(function(t){return t})});if(t)return v=t,"break"}(k))break;f.placement!==v&&(f.modifiersData[n]._skip=!0,f.placement=v,f.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ce(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function De(e){return[wt,Tt,Et,Ot].some(function(t){return 0<=e[t]})}var xe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,s=ke(e,{elementContext:"reference"}),t=ke(e,{altBoundary:!0}),i=Ce(s,i),t=Ce(t,o,r),o=De(i),r=De(t);e.modifiersData[n]={referenceClippingOffsets:i,popperEscapeOffsets:t,isReferenceHidden:o,hasPopperEscaped:r},e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{},{"data-popper-reference-hidden":o,"data-popper-escaped":r})}};var Se={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var s=t.state,e=t.options,n=t.name,a=void 0===(i=e.offset)?[0,0]:i,t=It.reduce(function(t,e){var n,i,o,r;return t[e]=(n=e,i=s.rects,o=a,r=zt(n),e=0<=[Ot,wt].indexOf(r)?-1:1,o=(o=(n="function"==typeof o?o(Object.assign(Object.assign({},i),{},{placement:n})):o)[0])||0,n=((n=n[1])||0)*e,0<=[Ot,Tt].indexOf(r)?{x:n,y:o}:{x:o,y:n}),t},{}),i=(e=t[s.placement]).x,e=e.y;null!=s.modifiersData.popperOffsets&&(s.modifiersData.popperOffsets.x+=i,s.modifiersData.popperOffsets.y+=e),s.modifiersData[n]=t}};var je={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,t=t.name;e.modifiersData[t]=Le({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var Ne={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.options,o=t.name,r=void 0===(y=i.mainAxis)||y,s=void 0!==(w=i.altAxis)&&w,a=i.boundary,l=i.rootBoundary,c=i.altBoundary,u=i.padding,f=void 0===(E=i.tether)||E,d=i.tetherOffset,h=void 0===d?0:d,p=ke(n,{boundary:a,rootBoundary:l,padding:u,altBoundary:c}),g=zt(n.placement),m=Oe(n.placement),_=!m,v=ee(g),b="x"===v?"y":"x",t=n.modifiersData.popperOffsets,y=n.rects.reference,w=n.rects.popper,E="function"==typeof h?h(Object.assign(Object.assign({},n.rects),{},{placement:n.placement})):h,i={x:0,y:0};t&&(r&&(d="y"===v?wt:Ot,a="y"===v?Et:Tt,l="y"===v?"height":"width",e=t[v],u=t[v]+p[d],c=t[v]-p[a],g=f?-w[l]/2:0,h=(m===At?y:w)[l],r=m===At?-w[l]:-y[l],m=n.elements.arrow,w=f&&m?Vt(m):{width:0,height:0},d=(m=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:ie())[d],a=m[a],w=ne(0,y[l],w[l]),d=_?y[l]/2-g-w-d-E:h-w-d-E,w=_?-y[l]/2+g+w+a+E:r+w+a+E,E=(a=n.elements.arrow&&te(n.elements.arrow))?"y"===v?a.clientTop||0:a.clientLeft||0:0,a=n.modifiersData.offset?n.modifiersData.offset[n.placement][v]:0,E=t[v]+d-a-E,a=t[v]+w-a,c=ne(f?Math.min(u,E):u,e,f?Math.max(c,a):c),t[v]=c,i[v]=c-e),s&&(e="x"===v?wt:Ot,s="x"===v?Et:Tt,s=ne((v=t[b])+p[e],v,v-p[s]),t[b]=s,i[b]=s-v),n.modifiersData[o]=i)},requiresIfExists:["offset"]};function Ie(t,e,n){void 0===n&&(n=!1);var i=Gt(e),o=me(t),r=Yt(e),s={scrollLeft:0,scrollTop:0},t={x:0,y:0};return!r&&(r||n)||("body"===Qt(e)&&!be(i)||(s=(r=e)!==Ut(r)&&Yt(r)?{scrollLeft:(n=r).scrollLeft,scrollTop:n.scrollTop}:_e(r)),Yt(e)?((t=me(e)).x+=e.clientLeft,t.y+=e.clientTop):i&&(t.x=ve(i))),{x:o.left+s.scrollLeft-t.x,y:o.top+s.scrollTop-t.y,width:o.width,height:o.height}}function Pe(t){var n=new Map,i=new Set,o=[];return t.forEach(function(t){n.set(t.name,t)}),t.forEach(function(t){i.has(t.name)||!function e(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){i.has(t)||(t=n.get(t))&&e(t)}),o.push(t)}(t)}),o}var Me={placement:"bottom",modifiers:[],strategy:"absolute"};function Be(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(t){return!(t&&"function"==typeof t.getBoundingClientRect)})}function He(t){var e=(t=void 0===t?{}:t).defaultModifiers,f=void 0===e?[]:e,t=t.defaultOptions,d=void 0===t?Me:t;return function(i,o,e){void 0===e&&(e=d);var n,r,s={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},Me),d),modifiersData:{},elements:{reference:i,popper:o},attributes:{},styles:{}},a=[],l=!1,c={state:s,setOptions:function(t){u(),s.options=Object.assign(Object.assign(Object.assign({},d),s.options),t),s.scrollParents={reference:Ft(i)?ye(i):i.contextElement?ye(i.contextElement):[],popper:ye(o)};var n,e,t=(t=[].concat(f,s.options.modifiers),e=t.reduce(function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign(Object.assign(Object.assign({},n),e),{},{options:Object.assign(Object.assign({},n.options),e.options),data:Object.assign(Object.assign({},n.data),e.data)}):e,t},{}),t=Object.keys(e).map(function(t){return e[t]}),n=Pe(t),Kt.reduce(function(t,e){return t.concat(n.filter(function(t){return t.phase===e}))},[]));return s.orderedModifiers=t.filter(function(t){return t.enabled}),s.orderedModifiers.forEach(function(t){var e=t.name,n=t.options,n=void 0===n?{}:n,t=t.effect;"function"==typeof t&&(n=t({state:s,name:e,instance:c,options:n}),a.push(n||function(){}))}),c.update()},forceUpdate:function(){if(!l){var t=s.elements,e=t.reference,t=t.popper;if(Be(e,t)){s.rects={reference:Ie(e,te(t),"fixed"===s.options.strategy),popper:Vt(t)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(t){return s.modifiersData[t.name]=Object.assign({},t.data)});for(var n,i,o,r=0;r<s.orderedModifiers.length;r++)!0!==s.reset?(n=(o=s.orderedModifiers[r]).fn,i=void 0===(i=o.options)?{}:i,o=o.name,"function"==typeof n&&(s=n({state:s,options:i,name:o,instance:c})||s)):(s.reset=!1,r=-1)}}},update:(n=function(){return new Promise(function(t){c.forceUpdate(),t(s)})},function(){return r=r||new Promise(function(t){Promise.resolve().then(function(){r=void 0,t(n())})})}),destroy:function(){u(),l=!0}};return Be(i,o)&&c.setOptions(e).then(function(t){!l&&e.onFirstUpdate&&e.onFirstUpdate(t)}),c;function u(){a.forEach(function(t){return t()}),a=[]}}}var Re=He(),We=He({defaultModifiers:[fe,je,ce,qt]}),Ke=He({defaultModifiers:[fe,je,ce,qt,Se,Ae,Ne,se,xe]}),Qe=Object.freeze({__proto__:null,popperGenerator:He,detectOverflow:ke,createPopperBase:Re,createPopper:Ke,createPopperLite:We,top:wt,bottom:Et,right:Tt,left:Ot,auto:Lt,basePlacements:kt,start:At,end:Ct,clippingParents:Dt,viewport:xt,popper:St,reference:jt,variationPlacements:Nt,placements:It,beforeRead:Pt,read:"read",afterRead:Mt,beforeMain:Bt,main:"main",afterMain:Ht,beforeWrite:Rt,write:"write",afterWrite:Wt,modifierPhases:Kt,applyStyles:qt,arrow:se,computeStyles:ce,eventListeners:fe,flip:Ae,hide:xe,offset:Se,popperOffsets:je,preventOverflow:Ne}),Ue="dropdown",Fe="bs.dropdown",Ye="."+Fe,Se=".data-api",qe="Escape",ze="ArrowUp",Ve="ArrowDown",Xe=new RegExp(ze+"|"+Ve+"|"+qe),$e="hide"+Ye,Ge="hidden"+Ye,je="click"+Ye+Se,Ne="keydown"+Ye+Se,Ze="disabled",Je="show",tn='[data-bs-toggle="dropdown"]',en=".dropdown-menu",nn=n?"top-end":"top-start",on=n?"top-start":"top-end",rn=n?"bottom-end":"bottom-start",sn=n?"bottom-start":"bottom-end",an=n?"left-start":"right-start",ln=n?"right-start":"left-start",cn={offset:0,flip:!0,boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null},un={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},fn=function(n){function c(t,e){t=n.call(this,t)||this;return t._popper=null,t._config=t._getConfig(e),t._menu=t._getMenuElement(),t._inNavbar=t._detectNavbar(),t._addEventListeners(),t}u(c,n);var t=c.prototype;return t.toggle=function(){var t;this._element.disabled||this._element.classList.contains(Ze)||(t=this._element.classList.contains(Je),c.clearMenus(),t||this.show())},t.show=function(){if(!(this._element.disabled||this._element.classList.contains(Ze)||this._menu.classList.contains(Je))){var t=c.getParentFromElement(this._element),e={relatedTarget:this._element};if(!W.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(!this._inNavbar){if(void 0===Qe)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var n=this._element;"parent"===this._config.reference?n=t:p(this._config.reference)&&(n=this._config.reference,void 0!==this._config.reference.jquery&&(n=this._config.reference[0])),this._popper=Ke(n,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&(n=[]).concat.apply(n,document.body.children).forEach(function(t){return W.on(t,"mouseover",null,_())}),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.toggle(Je),this._element.classList.toggle(Je),W.trigger(t,"shown.bs.dropdown",e)}}},t.hide=function(){var t,e;this._element.disabled||this._element.classList.contains(Ze)||!this._menu.classList.contains(Je)||(t=c.getParentFromElement(this._element),e={relatedTarget:this._element},W.trigger(t,$e,e).defaultPrevented||(this._popper&&this._popper.destroy(),this._menu.classList.toggle(Je),this._element.classList.toggle(Je),W.trigger(t,Ge,e)))},t.dispose=function(){n.prototype.dispose.call(this),W.off(this._element,Ye),this._menu=null,this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()},t._addEventListeners=function(){var e=this;W.on(this._element,"click.bs.dropdown",function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},t._getConfig=function(t){return t=l({},this.constructor.Default,G.getDataAttributes(this._element),t),m(Ue,t,this.constructor.DefaultType),t},t._getMenuElement=function(){return Z.next(this._element,en)[0]},t._getPlacement=function(){var t=this._element.parentNode;if(t.classList.contains("dropend"))return an;if(t.classList.contains("dropstart"))return ln;var e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?on:nn:e?sn:rn},t._detectNavbar=function(){return null!==this._element.closest(".navbar")},t._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{altBoundary:this._config.flip,rootBoundary:this._config.boundary}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),l({},t,this._config.popperConfig)},c.dropdownInterface=function(t,e){var n=(n=L(t,Fe))||new c(t,"object"==typeof e?e:null);if("string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}},c.jQueryInterface=function(t){return this.each(function(){c.dropdownInterface(this,t)})},c.clearMenus=function(t){if(!t||2!==t.button&&("keyup"!==t.type||"Tab"===t.key))for(var e=Z.find(tn),n=0,i=e.length;n<i;n++){var o,r,s=c.getParentFromElement(e[n]),a=L(e[n],Fe),l={relatedTarget:e[n]};t&&"click"===t.type&&(l.clickEvent=t),a&&(o=a._menu,e[n].classList.contains(Je)&&(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&"Tab"===t.key)&&o.contains(t.target)||W.trigger(s,$e,l).defaultPrevented||("ontouchstart"in document.documentElement&&(r=[]).concat.apply(r,document.body.children).forEach(function(t){return W.off(t,"mouseover",null,_())}),e[n].setAttribute("aria-expanded","false"),a._popper&&a._popper.destroy(),o.classList.remove(Je),e[n].classList.remove(Je),W.trigger(s,Ge,l))))}},c.getParentFromElement=function(t){return d(t)||t.parentNode},c.dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!("Space"===t.key||t.key!==qe&&(t.key!==Ve&&t.key!==ze||t.target.closest(en))):Xe.test(t.key))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!this.classList.contains(Ze))){var e=c.getParentFromElement(this),n=this.classList.contains(Je);if(t.key===qe)return(this.matches(tn)?this:Z.prev(this,tn)[0]).focus(),void c.clearMenus();n&&"Space"!==t.key?(n=Z.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",e).filter(s)).length&&(e=n.indexOf(t.target),t.key===ze&&0<e&&e--,t.key===Ve&&e<n.length-1&&e++,n[e=-1===e?0:e].focus()):c.clearMenus()}},a(c,null,[{key:"Default",get:function(){return cn}},{key:"DefaultType",get:function(){return un}},{key:"DATA_KEY",get:function(){return Fe}}]),c}(K);W.on(document,Ne,tn,fn.dataApiKeydownHandler),W.on(document,Ne,en,fn.dataApiKeydownHandler),W.on(document,je,fn.clearMenus),W.on(document,"keyup.bs.dropdown.data-api",fn.clearMenus),W.on(document,je,tn,function(t){t.preventDefault(),t.stopPropagation(),fn.dropdownInterface(this,"toggle")}),W.on(document,je,".dropdown form",function(t){return t.stopPropagation()}),t(function(){var t,e=b();e&&(t=e.fn[Ue],e.fn[Ue]=fn.jQueryInterface,e.fn[Ue].Constructor=fn,e.fn[Ue].noConflict=function(){return e.fn[Ue]=t,fn.jQueryInterface})});var dn="modal",hn="bs.modal",pn="."+hn,gn={backdrop:!0,keyboard:!0,focus:!0},mn={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},_n="hidden"+pn,vn="show"+pn,bn="focusin"+pn,yn="resize"+pn,wn="click.dismiss"+pn,En="keydown.dismiss"+pn,Tn="mousedown.dismiss"+pn,On="modal-open",Ln="fade",kn="show",An="modal-static",Cn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Dn=".sticky-top",xn=function(i){function o(t,e){var n=i.call(this,t)||this;return n._config=n._getConfig(e),n._dialog=Z.findOne(".modal-dialog",t),n._backdrop=null,n._isShown=!1,n._isBodyOverflowing=!1,n._ignoreBackdropClick=!1,n._isTransitioning=!1,n._scrollbarWidth=0,n}u(o,i);var t=o.prototype;return t.toggle=function(t){return this._isShown?this.hide():this.show(t)},t.show=function(t){var e,n=this;this._isShown||this._isTransitioning||(this._element.classList.contains(Ln)&&(this._isTransitioning=!0),e=W.trigger(this._element,vn,{relatedTarget:t}),this._isShown||e.defaultPrevented||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),W.on(this._element,wn,'[data-bs-dismiss="modal"]',function(t){return n.hide(t)}),W.on(this._dialog,Tn,function(){W.one(n._element,"mouseup.dismiss.bs.modal",function(t){t.target===n._element&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(t)})))},t.hide=function(t){var e=this;t&&t.preventDefault(),this._isShown&&!this._isTransitioning&&(W.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,(t=this._element.classList.contains(Ln))&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),W.off(document,bn),this._element.classList.remove(kn),W.off(this._element,wn),W.off(this._dialog,Tn),t?(t=h(this._element),W.one(this._element,E,function(t){return e._hideModal(t)}),g(this._element,t)):this._hideModal()))},t.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return W.off(t,pn)}),i.prototype.dispose.call(this),W.off(document,bn),this._config=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(t){return t=l({},gn,t),m(dn,t,mn),t},t._showElement=function(t){var e=this,n=this._element.classList.contains(Ln),i=Z.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,i&&(i.scrollTop=0),n&&v(this._element),this._element.classList.add(kn),this._config.focus&&this._enforceFocus();i=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,W.trigger(e._element,"shown.bs.modal",{relatedTarget:t})};n?(n=h(this._dialog),W.one(this._dialog,E,i),g(this._dialog,n)):i()},t._enforceFocus=function(){var e=this;W.off(document,bn),W.on(document,bn,function(t){document===t.target||e._element===t.target||e._element.contains(t.target)||e._element.focus()})},t._setEscapeEvent=function(){var e=this;this._isShown?W.on(this._element,En,function(t){e._config.keyboard&&"Escape"===t.key?(t.preventDefault(),e.hide()):e._config.keyboard||"Escape"!==t.key||e._triggerBackdropTransition()}):W.off(this._element,En)},t._setResizeEvent=function(){var t=this;this._isShown?W.on(window,yn,function(){return t._adjustDialog()}):W.off(window,yn)},t._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(function(){document.body.classList.remove(On),t._resetAdjustments(),t._resetScrollbar(),W.trigger(t._element,_n)})},t._removeBackdrop=function(){this._backdrop.parentNode.removeChild(this._backdrop),this._backdrop=null},t._showBackdrop=function(t){var e,n=this,i=this._element.classList.contains(Ln)?Ln:"";this._isShown&&this._config.backdrop?(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add(i),document.body.appendChild(this._backdrop),W.on(this._element,wn,function(t){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===n._config.backdrop?n._triggerBackdropTransition():n.hide())}),i&&v(this._backdrop),this._backdrop.classList.add(kn),i?(e=h(this._backdrop),W.one(this._backdrop,E,t),g(this._backdrop,e)):t()):!this._isShown&&this._backdrop?(this._backdrop.classList.remove(kn),i=function(){n._removeBackdrop(),t()},this._element.classList.contains(Ln)?(e=h(this._backdrop),W.one(this._backdrop,E,i),g(this._backdrop,e)):i()):t()},t._triggerBackdropTransition=function(){var t,e,n=this;W.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented||((t=this._element.scrollHeight>document.documentElement.clientHeight)||(this._element.style.overflowY="hidden"),this._element.classList.add(An),e=h(this._dialog),W.off(this._element,E),W.one(this._element,E,function(){n._element.classList.remove(An),t||(W.one(n._element,E,function(){n._element.style.overflowY=""}),g(n._element,e))}),g(this._element,e),this._element.focus())},t._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;(!this._isBodyOverflowing&&t&&!n||this._isBodyOverflowing&&!t&&n)&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),(this._isBodyOverflowing&&!t&&!n||!this._isBodyOverflowing&&t&&n)&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var t,e,i=this;this._isBodyOverflowing&&(Z.find(Cn).forEach(function(t){var e=t.style.paddingRight,n=window.getComputedStyle(t)["padding-right"];G.setDataAttribute(t,"padding-right",e),t.style.paddingRight=Number.parseFloat(n)+i._scrollbarWidth+"px"}),Z.find(Dn).forEach(function(t){var e=t.style.marginRight,n=window.getComputedStyle(t)["margin-right"];G.setDataAttribute(t,"margin-right",e),t.style.marginRight=Number.parseFloat(n)-i._scrollbarWidth+"px"}),t=document.body.style.paddingRight,e=window.getComputedStyle(document.body)["padding-right"],G.setDataAttribute(document.body,"padding-right",t),document.body.style.paddingRight=Number.parseFloat(e)+this._scrollbarWidth+"px"),document.body.classList.add(On)},t._resetScrollbar=function(){Z.find(Cn).forEach(function(t){var e=G.getDataAttribute(t,"padding-right");void 0!==e&&(G.removeDataAttribute(t,"padding-right"),t.style.paddingRight=e)}),Z.find(Dn).forEach(function(t){var e=G.getDataAttribute(t,"margin-right");void 0!==e&&(G.removeDataAttribute(t,"margin-right"),t.style.marginRight=e)});var t=G.getDataAttribute(document.body,"padding-right");void 0===t?document.body.style.paddingRight="":(G.removeDataAttribute(document.body,"padding-right"),document.body.style.paddingRight=t)},t._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},o.jQueryInterface=function(n,i){return this.each(function(){var t=L(this,hn),e=l({},gn,G.getDataAttributes(this),"object"==typeof n&&n?n:{}),t=t||new o(this,e);if("string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](i)}})},a(o,null,[{key:"Default",get:function(){return gn}},{key:"DATA_KEY",get:function(){return hn}}]),o}(K);W.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(t){var e=this,n=d(this);"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault(),W.one(n,vn,function(t){t.defaultPrevented||W.one(n,_n,function(){s(e)&&e.focus()})});var i=L(n,hn);i||(t=l({},G.getDataAttributes(n),G.getDataAttributes(this)),i=new xn(n,t)),i.show(this)}),t(function(){var t,e=b();e&&(t=e.fn[dn],e.fn[dn]=xn.jQueryInterface,e.fn[dn].Constructor=xn,e.fn[dn].noConflict=function(){return e.fn[dn]=t,xn.jQueryInterface})});var Sn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),jn=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,Nn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,je={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function In(t,r,e){if(!t.length)return t;if(e&&"function"==typeof e)return e(t);for(var e=(new window.DOMParser).parseFromString(t,"text/html"),s=Object.keys(r),a=(t=[]).concat.apply(t,e.body.querySelectorAll("*")),n=function(t,e){var n=a[t],i=n.nodeName.toLowerCase();if(!s.includes(i))return n.parentNode.removeChild(n),"continue";var t=(t=[]).concat.apply(t,n.attributes),o=[].concat(r["*"]||[],r[i]||[]);t.forEach(function(t){!function(t,e){var n=t.nodeName.toLowerCase();if(e.includes(n))return!Sn.has(n)||Boolean(t.nodeValue.match(jn)||t.nodeValue.match(Nn));for(var i=e.filter(function(t){return t instanceof RegExp}),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return!0;return!1}(t,o)&&n.removeAttribute(t.nodeName)})},i=0,o=a.length;i<o;i++)n(i);return e.body.innerHTML}var Pn="tooltip",Mn="bs.tooltip",Bn="."+Mn,Hn="bs-tooltip",Rn=new RegExp("(^|\\s)"+Hn+"\\S+","g"),Wn=new Set(["sanitize","allowList","sanitizeFn"]),Kn={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",container:"(string|element|boolean)",fallbackPlacements:"(null|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object)"},Qn={AUTO:"auto",TOP:"top",RIGHT:n?"left":"right",BOTTOM:"bottom",LEFT:n?"right":"left"},Un={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",container:!1,fallbackPlacements:null,boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:je,popperConfig:null},Fn={HIDE:"hide"+Bn,HIDDEN:"hidden"+Bn,SHOW:"show"+Bn,SHOWN:"shown"+Bn,INSERTED:"inserted"+Bn,CLICK:"click"+Bn,FOCUSIN:"focusin"+Bn,FOCUSOUT:"focusout"+Bn,MOUSEENTER:"mouseenter"+Bn,MOUSELEAVE:"mouseleave"+Bn},Yn="fade",qn="show",zn="show",Vn="hover",Xn="focus",$n=function(n){function i(t,e){if(void 0===Qe)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");return(t=n.call(this,t)||this)._isEnabled=!0,t._timeout=0,t._hoverState="",t._activeTrigger={},t._popper=null,t.config=t._getConfig(e),t.tip=null,t._setListeners(),t}u(i,n);var t=i.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(t){var e,n;this._isEnabled&&(t?(e=this.constructor.DATA_KEY,(n=L(t.delegateTarget,e))||(n=new this.constructor(t.delegateTarget,this._getDelegateConfig()),O(t.delegateTarget,e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)):this.getTipElement().classList.contains(qn)?this._leave(null,this):this._enter(null,this))},t.dispose=function(){clearTimeout(this._timeout),W.off(this._element,this.constructor.EVENT_KEY),W.off(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.parentNode.removeChild(this.tip),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.config=null,this.tip=null,n.prototype.dispose.call(this)},t.show=function(){var t,e,n,i,o=this;if("none"===this._element.style.display)throw new Error("Please use show on visible elements");this.isWithContent()&&this._isEnabled&&(n=W.trigger(this._element,this.constructor.Event.SHOW),t=(null===(e=c(this._element))?this._element.ownerDocument.documentElement:e).contains(this._element),!n.defaultPrevented&&t&&(e=this.getTipElement(),n=r(this.constructor.NAME),e.setAttribute("id",n),this._element.setAttribute("aria-describedby",n),this.setContent(),this.config.animation&&e.classList.add(Yn),t="function"==typeof this.config.placement?this.config.placement.call(this,e,this._element):this.config.placement,n=this._getAttachment(t),this._addAttachmentClass(n),t=this._getContainer(),O(e,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||t.appendChild(e),W.trigger(this._element,this.constructor.Event.INSERTED),this._popper=Ke(this._element,e,this._getPopperConfig(n)),e.classList.add(qn),(n="function"==typeof this.config.customClass?this.config.customClass():this.config.customClass)&&(e=e.classList).add.apply(e,n.split(" ")),"ontouchstart"in document.documentElement&&(i=[]).concat.apply(i,document.body.children).forEach(function(t){W.on(t,"mouseover",_())}),n=function(){var t=o._hoverState;o._hoverState=null,W.trigger(o._element,o.constructor.Event.SHOWN),"out"===t&&o._leave(null,o)},this.tip.classList.contains(Yn)?(i=h(this.tip),W.one(this.tip,E,n),g(this.tip,i)):n()))},t.hide=function(){var t,e,n,i=this;this._popper&&(t=this.getTipElement(),e=function(){i._hoverState!==zn&&t.parentNode&&t.parentNode.removeChild(t),i._cleanTipClass(),i._element.removeAttribute("aria-describedby"),W.trigger(i._element,i.constructor.Event.HIDDEN),i._popper&&(i._popper.destroy(),i._popper=null)},W.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented||(t.classList.remove(qn),"ontouchstart"in document.documentElement&&(n=[]).concat.apply(n,document.body.children).forEach(function(t){return W.off(t,"mouseover",_)}),this._activeTrigger.click=!1,this._activeTrigger[Xn]=!1,this._activeTrigger[Vn]=!1,this.tip.classList.contains(Yn)?(n=h(t),W.one(t,E,e),g(t,n)):e(),this._hoverState=""))},t.update=function(){null!==this._popper&&this._popper.update()},t.isWithContent=function(){return Boolean(this.getTitle())},t.getTipElement=function(){if(this.tip)return this.tip;var t=document.createElement("div");return t.innerHTML=this.config.template,this.tip=t.children[0],this.tip},t.setContent=function(){var t=this.getTipElement();this.setElementContent(Z.findOne(".tooltip-inner",t),this.getTitle()),t.classList.remove(Yn,qn)},t.setElementContent=function(t,e){if(null!==t)return"object"==typeof e&&p(e)?(e.jquery&&(e=e[0]),void(this.config.html?e.parentNode!==t&&(t.innerHTML="",t.appendChild(e)):t.textContent=e.textContent)):void(this.config.html?(this.config.sanitize&&(e=In(e,this.config.allowList,this.config.sanitizeFn)),t.innerHTML=e):t.textContent=e)},t.getTitle=function(){return this._element.getAttribute("data-bs-original-title")||("function"==typeof this.config.title?this.config.title.call(this._element):this.config.title)},t.updateAttachment=function(t){return"right"===t?"end":"left"===t?"start":t},t._getPopperConfig=function(t){var e=this,n={name:"flip",options:{altBoundary:!0}};return this.config.fallbackPlacements&&(n.options.fallbackPlacements=this.config.fallbackPlacements),l({},{placement:t,modifiers:[n,{name:"preventOverflow",options:{rootBoundary:this.config.boundary}},{name:"arrow",options:{element:"."+this.constructor.NAME+"-arrow"}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:function(t){return e._handlePopperPlacementChange(t)}}],onFirstUpdate:function(t){t.options.placement!==t.placement&&e._handlePopperPlacementChange(t)}},this.config.popperConfig)},t._addAttachmentClass=function(t){this.getTipElement().classList.add(Hn+"-"+this.updateAttachment(t))},t._getContainer=function(){return!1===this.config.container?document.body:p(this.config.container)?this.config.container:Z.findOne(this.config.container)},t._getAttachment=function(t){return Qn[t.toUpperCase()]},t._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){var e;"click"===t?W.on(n._element,n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)}):"manual"!==t&&(e=t===Vn?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,t=t===Vn?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT,W.on(n._element,e,n.config.selector,function(t){return n._enter(t)}),W.on(n._element,t,n.config.selector,function(t){return n._leave(t)}))}),this._hideModalHandler=function(){n._element&&n.hide()},W.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");!t&&"string"==e||(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))},t._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||L(t.delegateTarget,n))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),O(t.delegateTarget,n,e)),t&&(e._activeTrigger["focusin"===t.type?Xn:Vn]=!0),e.getTipElement().classList.contains(qn)||e._hoverState===zn?e._hoverState=zn:(clearTimeout(e._timeout),e._hoverState=zn,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===zn&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||L(t.delegateTarget,n))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),O(t.delegateTarget,n,e)),t&&(e._activeTrigger["focusout"===t.type?Xn:Vn]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())},t._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},t._getConfig=function(t){var e=G.getDataAttributes(this._element);return Object.keys(e).forEach(function(t){Wn.has(t)&&delete e[t]}),t&&"object"==typeof t.container&&t.container.jquery&&(t.container=t.container[0]),"number"==typeof(t=l({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),m(Pn,t,this.constructor.DefaultType),t.sanitize&&(t.template=In(t.template,t.allowList,t.sanitizeFn)),t},t._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},t._cleanTipClass=function(){var e=this.getTipElement(),t=e.getAttribute("class").match(Rn);null!==t&&0<t.length&&t.map(function(t){return t.trim()}).forEach(function(t){return e.classList.remove(t)})},t._handlePopperPlacementChange=function(t){t=t.state;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))},i.jQueryInterface=function(n){return this.each(function(){var t=L(this,Mn),e="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t=t||new i(this,e),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},a(i,null,[{key:"Default",get:function(){return Un}},{key:"NAME",get:function(){return Pn}},{key:"DATA_KEY",get:function(){return Mn}},{key:"Event",get:function(){return Fn}},{key:"EVENT_KEY",get:function(){return Bn}},{key:"DefaultType",get:function(){return Kn}}]),i}(K);t(function(){var t,e=b();e&&(t=e.fn[Pn],e.fn[Pn]=$n.jQueryInterface,e.fn[Pn].Constructor=$n,e.fn[Pn].noConflict=function(){return e.fn[Pn]=t,$n.jQueryInterface})});var Gn="popover",Zn="bs.popover",Jn="."+Zn,ti="bs-popover",ei=new RegExp("(^|\\s)"+ti+"\\S+","g"),ni=l({},$n.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),ii=l({},$n.DefaultType,{content:"(string|element|function)"}),oi={HIDE:"hide"+Jn,HIDDEN:"hidden"+Jn,SHOW:"show"+Jn,SHOWN:"shown"+Jn,INSERTED:"inserted"+Jn,CLICK:"click"+Jn,FOCUSIN:"focusin"+Jn,FOCUSOUT:"focusout"+Jn,MOUSEENTER:"mouseenter"+Jn,MOUSELEAVE:"mouseleave"+Jn},ri=function(t){function i(){return t.apply(this,arguments)||this}u(i,t);var e=i.prototype;return e.isWithContent=function(){return this.getTitle()||this._getContent()},e.setContent=function(){var t=this.getTipElement();this.setElementContent(Z.findOne(".popover-header",t),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this._element)),this.setElementContent(Z.findOne(".popover-body",t),e),t.classList.remove("fade","show")},e._addAttachmentClass=function(t){this.getTipElement().classList.add(ti+"-"+this.updateAttachment(t))},e._getContent=function(){return this._element.getAttribute("data-bs-content")||this.config.content},e._cleanTipClass=function(){var e=this.getTipElement(),t=e.getAttribute("class").match(ei);null!==t&&0<t.length&&t.map(function(t){return t.trim()}).forEach(function(t){return e.classList.remove(t)})},i.jQueryInterface=function(n){return this.each(function(){var t=L(this,Zn),e="object"==typeof n?n:null;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,e),O(this,Zn,t)),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},a(i,null,[{key:"Default",get:function(){return ni}},{key:"NAME",get:function(){return Gn}},{key:"DATA_KEY",get:function(){return Zn}},{key:"Event",get:function(){return oi}},{key:"EVENT_KEY",get:function(){return Jn}},{key:"DefaultType",get:function(){return ii}}]),i}($n);t(function(){var t,e=b();e&&(t=e.fn[Gn],e.fn[Gn]=ri.jQueryInterface,e.fn[Gn].Constructor=ri,e.fn[Gn].noConflict=function(){return e.fn[Gn]=t,ri.jQueryInterface})});var si="scrollspy",ai="bs.scrollspy",li="."+ai,ci={offset:10,method:"auto",target:""},ui={offset:"number",method:"string",target:"(string|element)"},fi="dropdown-item",di="active",hi=".nav-link",pi=".list-group-item",gi="position",mi=function(i){function n(t,e){var n=i.call(this,t)||this;return n._scrollElement="BODY"===t.tagName?window:t,n._config=n._getConfig(e),n._selector=n._config.target+" "+hi+", "+n._config.target+" "+pi+", "+n._config.target+" ."+fi,n._offsets=[],n._targets=[],n._activeTarget=null,n._scrollHeight=0,W.on(n._scrollElement,"scroll.bs.scrollspy",function(t){return n._process(t)}),n.refresh(),n._process(),n}u(n,i);var t=n.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?"offset":gi,i="auto"===this._config.method?t:this._config.method,o=i===gi?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),Z.find(this._selector).map(function(t){var e=f(t),n=e?Z.findOne(e):null;if(n){t=n.getBoundingClientRect();if(t.width||t.height)return[G[i](n).top+o,e]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},t.dispose=function(){i.prototype.dispose.call(this),W.off(this._scrollElement,li),this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(t){var e;return"string"!=typeof(t=l({},ci,"object"==typeof t&&t?t:{})).target&&p(t.target)&&((e=t.target.id)||(e=r(si),t.target.id=e),t.target="#"+e),m(si,t,ui),t},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),n<=t){n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;)this._activeTarget!==this._targets[i]&&t>=this._offsets[i]&&(void 0===this._offsets[i+1]||t<this._offsets[i+1])&&this._activate(this._targets[i])}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map(function(t){return t+'[data-bs-target="'+e+'"],'+t+'[href="'+e+'"]'}),t=Z.findOne(t.join(","));t.classList.contains(fi)?(Z.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(di),t.classList.add(di)):(t.classList.add(di),Z.parents(t,".nav, .list-group").forEach(function(t){Z.prev(t,hi+", "+pi).forEach(function(t){return t.classList.add(di)}),Z.prev(t,".nav-item").forEach(function(t){Z.children(t,hi).forEach(function(t){return t.classList.add(di)})})})),W.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})},t._clear=function(){Z.find(this._selector).filter(function(t){return t.classList.contains(di)}).forEach(function(t){return t.classList.remove(di)})},n.jQueryInterface=function(e){return this.each(function(){var t=(t=L(this,ai))||new n(this,"object"==typeof e&&e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},a(n,null,[{key:"Default",get:function(){return ci}},{key:"DATA_KEY",get:function(){return ai}}]),n}(K);W.on(window,"load.bs.scrollspy.data-api",function(){Z.find('[data-bs-spy="scroll"]').forEach(function(t){return new mi(t,G.getDataAttributes(t))})}),t(function(){var t,e=b();e&&(t=e.fn[si],e.fn[si]=mi.jQueryInterface,e.fn[si].Constructor=mi,e.fn[si].noConflict=function(){return e.fn[si]=t,mi.jQueryInterface})});var _i="bs.tab",vi="active",bi=".active",yi=":scope > li > .active",wi=function(t){function n(){return t.apply(this,arguments)||this}u(n,t);var e=n.prototype;return e.show=function(){var t,e,n,i,o=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(vi)||this._element.classList.contains("disabled")||(t=d(this._element),(i=this._element.closest(".nav, .list-group"))&&(n="UL"===i.nodeName||"OL"===i.nodeName?yi:bi,e=(e=Z.find(n,i))[e.length-1]),n=null,e&&(n=W.trigger(e,"hide.bs.tab",{relatedTarget:this._element})),W.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==n&&n.defaultPrevented||(this._activate(this._element,i),i=function(){W.trigger(e,"hidden.bs.tab",{relatedTarget:o._element}),W.trigger(o._element,"shown.bs.tab",{relatedTarget:e})},t?this._activate(t,t.parentNode,i):i()))},e._activate=function(t,e,n){var i=this,o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?Z.children(e,bi):Z.find(yi,e))[0],r=n&&o&&o.classList.contains("fade"),e=function(){return i._transitionComplete(t,o,n)};o&&r?(r=h(o),o.classList.remove("show"),W.one(o,E,e),g(o,r)):e()},e._transitionComplete=function(t,e,n){var i;e&&(e.classList.remove(vi),(i=Z.findOne(":scope > .dropdown-menu .active",e.parentNode))&&i.classList.remove(vi),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)),t.classList.add(vi),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),v(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&t.parentNode.classList.contains("dropdown-menu")&&(t.closest(".dropdown")&&Z.find(".dropdown-toggle").forEach(function(t){return t.classList.add(vi)}),t.setAttribute("aria-expanded",!0)),n&&n()},n.jQueryInterface=function(e){return this.each(function(){var t=L(this,_i)||new n(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},a(n,null,[{key:"DATA_KEY",get:function(){return _i}}]),n}(K);W.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(t){t.preventDefault(),(L(this,_i)||new wi(this)).show()}),t(function(){var t,e=b();e&&(t=e.fn.tab,e.fn.tab=wi.jQueryInterface,e.fn.tab.Constructor=wi,e.fn.tab.noConflict=function(){return e.fn.tab=t,wi.jQueryInterface})});var Ei="toast",Ti="bs.toast",je="."+Ti,Oi="click.dismiss"+je,Li="show",ki="showing",Ai={animation:"boolean",autohide:"boolean",delay:"number"},Ci={animation:!0,autohide:!0,delay:5e3},Di=function(n){function i(t,e){t=n.call(this,t)||this;return t._config=t._getConfig(e),t._timeout=null,t._setListeners(),t}u(i,n);var t=i.prototype;return t.show=function(){var t,e,n=this;W.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),t=function(){n._element.classList.remove(ki),n._element.classList.add(Li),W.trigger(n._element,"shown.bs.toast"),n._config.autohide&&(n._timeout=setTimeout(function(){n.hide()},n._config.delay))},this._element.classList.remove("hide"),v(this._element),this._element.classList.add(ki),this._config.animation?(e=h(this._element),W.one(this._element,E,t),g(this._element,e)):t())},t.hide=function(){var t,e,n=this;this._element.classList.contains(Li)&&(W.trigger(this._element,"hide.bs.toast").defaultPrevented||(t=function(){n._element.classList.add("hide"),W.trigger(n._element,"hidden.bs.toast")},this._element.classList.remove(Li),this._config.animation?(e=h(this._element),W.one(this._element,E,t),g(this._element,e)):t()))},t.dispose=function(){this._clearTimeout(),this._element.classList.contains(Li)&&this._element.classList.remove(Li),W.off(this._element,Oi),n.prototype.dispose.call(this),this._config=null},t._getConfig=function(t){return t=l({},Ci,G.getDataAttributes(this._element),"object"==typeof t&&t?t:{}),m(Ei,t,this.constructor.DefaultType),t},t._setListeners=function(){var t=this;W.on(this._element,Oi,'[data-bs-dismiss="toast"]',function(){return t.hide()})},t._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},i.jQueryInterface=function(e){return this.each(function(){var t=(t=L(this,Ti))||new i(this,"object"==typeof e&&e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e](this)}})},a(i,null,[{key:"DefaultType",get:function(){return Ai}},{key:"Default",get:function(){return Ci}},{key:"DATA_KEY",get:function(){return Ti}}]),i}(K);return t(function(){var t,e=b();e&&(t=e.fn[Ei],e.fn[Ei]=Di.jQueryInterface,e.fn[Ei].Constructor=Di,e.fn[Ei].noConflict=function(){return e.fn[Ei]=t,Di.jQueryInterface})}),{Alert:F,Button:V,Carousel:ut,Collapse:yt,Dropdown:fn,Modal:xn,Popover:ri,ScrollSpy:mi,Tab:wi,Toast:Di,Tooltip:$n}});