-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.min.js
6 lines (6 loc) · 67.1 KB
/
index.min.js
1
2
3
4
5
6
!function(){"use strict";function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(r=i.key,o=void 0,"symbol"==typeof(o=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"))?o:o+""),i)}var r,o;
/*!
* Bootstrap v5.3.0-alpha3 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/}function t(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},n.apply(this,arguments)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,c;l=this,c=function(e){var r;function s(e){var t,n=Object.create(null,((t={})[Symbol.toStringTag]={value:"Module"},t));if(e){var i=function(t){if("default"!==t){var i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,i.get?i:{enumerable:!0,get:function(){return e[t]}})}};for(var r in e)i(r)}return n.default=e,Object.freeze(n)}var l=s(e),c=new Map,u=function(e,t,n){c.has(e)||c.set(e,new Map);var i=c.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]+".")},f=function(e,t){return c.has(e)&&c.get(e).get(t)||null},h=function(e,t){if(c.has(e)){var n=c.get(e);n.delete(t),0===n.size&&c.delete(e)}},d="transitionend",_=function(e){return e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(function(e,t){return"#"+CSS.escape(t)}))),e},g=function(e){e.dispatchEvent(new Event(d))},p=function(e){return!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType)},m=function(e){return p(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(_(e)):null},v=function(e){if(!p(e)||0===e.getClientRects().length)return!1;var t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){var i=e.closest("summary");if(i&&i.parentNode!==n)return!1;if(null===i)return!1}return t},b=function(e){return!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))},y=function e(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var n=t.getRootNode();return n instanceof ShadowRoot?n:null}return t instanceof ShadowRoot?t:t.parentNode?e(t.parentNode):null},w=function(){},E=function(e){e.offsetHeight},A=function(){return window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null},T=[],C=function(){return"rtl"===document.documentElement.dir},k=function(e){var t;t=function(){var t=A();if(t){var n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=function(){return t.fn[n]=i,e.jQueryInterface}}},"loading"===document.readyState?(T.length||document.addEventListener("DOMContentLoaded",(function(){for(var e=0,t=T;e<t.length;e++)(0,t[e])()})),T.push(t)):t()},S=function(e,t,n){return void 0===t&&(t=[]),void 0===n&&(n=e),"function"==typeof e?e.apply(void 0,t):n},O=function(e,t,n){if(void 0===n&&(n=!0),n){var i=function(e){if(!e)return 0;var t=window.getComputedStyle(e),n=t.transitionDuration,i=t.transitionDelay,r=Number.parseFloat(n),o=Number.parseFloat(i);return r||o?(n=n.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(n)+Number.parseFloat(i))):0}(t)+5,r=!1;t.addEventListener(d,(function n(i){i.target===t&&(r=!0,t.removeEventListener(d,n),S(e))})),setTimeout((function(){r||g(t)}),i)}else S(e)},L=function(e,t,n,i){var r=e.length,o=e.indexOf(t);return-1===o?!n&&i?e[r-1]:e[0]:(o+=n?1:-1,i&&(o=(o+r)%r),e[Math.max(0,Math.min(o,r-1))])},I=/[^.]*(?=\..*)\.|.*/,N=/\..*/,D=/::\d+$/,P={},j=1,M={mouseenter:"mouseover",mouseleave:"mouseout"},x=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 F(e,t){return t&&t+"::"+j++||e.uidEvent||j++}function z(e){var t=F(e);return e.uidEvent=t,P[t]=P[t]||{},P[t]}function H(e,t,n){return void 0===n&&(n=null),Object.values(e).find((function(e){return e.callable===t&&e.delegationSelector===n}))}function q(e,t,n){var i="string"==typeof t,r=i?n:t||n,o=V(e);return x.has(o)||(o=e),[i,r,o]}function W(e,t,n,i,r){if("string"==typeof t&&e){var o=q(t,n,i),s=o[0],l=o[1],c=o[2];t in M&&(l=function(e){return function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)}}(l));var u=z(e),f=u[c]||(u[c]={}),h=H(f,l,s?n:null);if(h)h.oneOff=h.oneOff&&r;else{var d=F(l,t.replace(I,"")),_=s?function(e,t,n){return function i(r){for(var o=e.querySelectorAll(t),s=r.target;s&&s!==this;s=s.parentNode)for(var l,c=a(o);!(l=c()).done;)if(l.value===s)return Q(r,{delegateTarget:s}),i.oneOff&&K.off(e,r.type,t,n),n.call(s,r)}}(e,n,l):function(e,t){return function n(i){return Q(i,{delegateTarget:e}),n.oneOff&&K.off(e,i.type,t),t.call(e,i)}}(e,l);_.delegationSelector=s?n:null,_.callable=l,_.oneOff=r,_.uidEvent=d,f[d]=_,e.addEventListener(c,_,s)}}}function R(e,t,n,i,r){var o=H(t[n],i,r);o&&(e.removeEventListener(n,o,!!r),delete t[n][o.uidEvent])}function B(e,t,n,i){for(var r=t[n]||{},o=0,s=Object.entries(r);o<s.length;o++){var a=s[o],l=a[0],c=a[1];l.includes(i)&&R(e,t,n,c.callable,c.delegationSelector)}}function V(e){return e=e.replace(N,""),M[e]||e}var K={on:function(e,t,n,i){W(e,t,n,i,!1)},one:function(e,t,n,i){W(e,t,n,i,!0)},off:function(e,t,n,i){if("string"==typeof t&&e){var r=q(t,n,i),o=r[0],s=r[1],a=r[2],l=a!==t,c=z(e),u=c[a]||{},f=t.startsWith(".");if(void 0===s){if(f)for(var h=0,d=Object.keys(c);h<d.length;h++)B(e,c,d[h],t.slice(1));for(var _=0,g=Object.entries(u);_<g.length;_++){var p=g[_],m=p[0],v=p[1],b=m.replace(D,"");l&&!t.includes(b)||R(e,c,a,v.callable,v.delegationSelector)}}else{if(!Object.keys(u).length)return;R(e,c,a,s,o?n:null)}}},trigger:function(e,t,n){if("string"!=typeof t||!e)return null;var i=A(),r=null,o=!0,s=!0,a=!1;t!==V(t)&&i&&(r=i.Event(t,n),i(e).trigger(r),o=!r.isPropagationStopped(),s=!r.isImmediatePropagationStopped(),a=r.isDefaultPrevented());var l=Q(new Event(t,{bubbles:o,cancelable:!0}),n);return a&&l.preventDefault(),s&&e.dispatchEvent(l),l.defaultPrevented&&r&&r.preventDefault(),l}};function Q(e,t){void 0===t&&(t={});for(var n=function(){var t=r[i],n=t[0],o=t[1];try{e[n]=o}catch(t){Object.defineProperty(e,n,{configurable:!0,get:function(){return o}})}},i=0,r=Object.entries(t);i<r.length;i++)n();return e}function X(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function Y(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()}))}var U=function(e,t,n){e.setAttribute("data-bs-"+Y(t),n)},$=function(e,t){e.removeAttribute("data-bs-"+Y(t))},G=function(e){if(!e)return{};for(var t,n={},i=Object.keys(e.dataset).filter((function(e){return e.startsWith("bs")&&!e.startsWith("bsConfig")})),r=a(i);!(t=r()).done;){var o=t.value,s=o.replace(/^bs/,"");n[s=s.charAt(0).toLowerCase()+s.slice(1,s.length)]=X(e.dataset[o])}return n},J=function(e,t){return X(e.getAttribute("data-bs-"+Y(t)))},Z=function(){function e(){}var i=e.prototype;return i._getConfig=function(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e},i._configAfterMerge=function(e){return e},i._mergeConfigObj=function(e,t){var i=p(t)?J(t,"config"):{};return n({},this.constructor.Default,"object"==typeof i?i:{},p(t)?G(t):{},"object"==typeof e?e:{})},i._typeCheckConfig=function(e,t){void 0===t&&(t=this.constructor.DefaultType);for(var n=0,i=Object.entries(t);n<i.length;n++){var r=i[n],o=r[0],s=r[1],a=e[o],l=p(a)?"element":null==(c=a)?""+c:Object.prototype.toString.call(c).match(/\s([a-z]+)/i)[1].toLowerCase();if(!RegExp(s).test(l))throw new TypeError(this.constructor.NAME.toUpperCase()+': Option "'+o+'" provided type "'+l+'" but expected type "'+s+'".')}var c},t(e,null,[{key:"Default",get:function(){return{}}},{key:"DefaultType",get:function(){return{}}},{key:"NAME",get:function(){throw Error('You have to implement the static method "NAME", for each component!')}}]),e}(),ee=function(e){function n(t,n){var i;return i=e.call(this)||this,(t=m(t))?(i._element=t,i._config=i._getConfig(n),u(i._element,i.constructor.DATA_KEY,o(i)),i):o(i)}i(n,e);var r=n.prototype;return r.dispose=function(){h(this._element,this.constructor.DATA_KEY),K.off(this._element,this.constructor.EVENT_KEY);for(var e,t=a(Object.getOwnPropertyNames(this));!(e=t()).done;)this[e.value]=null},r._queueCallback=function(e,t,n){void 0===n&&(n=!0),O(e,t,n)},r._getConfig=function(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e},n.getInstance=function(e){return f(m(e),this.DATA_KEY)},n.getOrCreateInstance=function(e,t){return void 0===t&&(t={}),this.getInstance(e)||new this(e,"object"==typeof t?t:null)},n.eventName=function(e){return""+e+this.EVENT_KEY},t(n,null,[{key:"VERSION",get:function(){return"5.3.0-alpha2"}},{key:"DATA_KEY",get:function(){return"bs."+this.NAME}},{key:"EVENT_KEY",get:function(){return"."+this.DATA_KEY}}]),n}(Z),te=function(e){var t=e.getAttribute("data-bs-target");if(!t||"#"===t){var 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)},ne={find:function(e,t){var n;return void 0===t&&(t=document.documentElement),(n=[]).concat.apply(n,Element.prototype.querySelectorAll.call(t,e))},findOne:function(e,t){return void 0===t&&(t=document.documentElement),Element.prototype.querySelector.call(t,e)},children:function(e,t){var n;return(n=[]).concat.apply(n,e.children).filter((function(e){return e.matches(t)}))},parents:function(e,t){for(var n=[],i=e.parentNode.closest(t);i;)n.push(i),i=i.parentNode.closest(t);return n},prev:function(e,t){for(var n=e.previousElementSibling;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next:function(e,t){for(var n=e.nextElementSibling;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren:function(e){var t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((function(e){return e+':not([tabindex^="-"])'})).join(",");return this.find(t,e).filter((function(e){return!b(e)&&v(e)}))},getSelectorFromElement:function(e){var t=te(e);return t&&ne.findOne(t)?t:null},getElementFromSelector:function(e){var t=te(e);return t?ne.findOne(t):null},getMultipleElementsFromSelector:function(e){var t=te(e);return t?ne.find(t):[]}},ie=function(e,t){void 0===t&&(t="hide");var n="click.dismiss"+e.EVENT_KEY,i=e.NAME;K.on(document,n,'[data-bs-dismiss="'+i+'"]',(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),!b(this)){var r=ne.getElementFromSelector(this)||this.closest("."+i);e.getOrCreateInstance(r)[t]()}}))},re=".bs.alert",oe="close"+re,se="closed"+re,ae=function(e){function n(){return e.apply(this,arguments)||this}i(n,e);var r=n.prototype;return r.close=function(){var e=this;if(!K.trigger(this._element,oe).defaultPrevented){this._element.classList.remove("show");var t=this._element.classList.contains("fade");this._queueCallback((function(){return e._destroyElement()}),this._element,t)}},r._destroyElement=function(){this._element.remove(),K.trigger(this._element,se),this.dispose()},n.jQueryInterface=function(e){return this.each((function(){var t=n.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)}}))},t(n,null,[{key:"NAME",get:function(){return"alert"}}]),n}(ee);ie(ae,"close"),k(ae);var le='[data-bs-toggle="button"]',ce=function(e){function n(){return e.apply(this,arguments)||this}return i(n,e),n.prototype.toggle=function(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))},n.jQueryInterface=function(e){return this.each((function(){var t=n.getOrCreateInstance(this);"toggle"===e&&t[e]()}))},t(n,null,[{key:"NAME",get:function(){return"button"}}]),n}(ee);K.on(document,"click.bs.button.data-api",le,(function(e){e.preventDefault();var t=e.target.closest(le);ce.getOrCreateInstance(t).toggle()})),k(ce);var ue=".bs.swipe",fe="touchstart"+ue,he="touchmove"+ue,de="touchend"+ue,_e="pointerdown"+ue,ge="pointerup"+ue,pe={endCallback:null,leftCallback:null,rightCallback:null},me={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},ve=function(e){function n(t,i){var r;return(r=e.call(this)||this)._element=t,t&&n.isSupported()?(r._config=r._getConfig(i),r._deltaX=0,r._supportPointerEvents=!!window.PointerEvent,r._initEvents(),r):o(r)}i(n,e);var r=n.prototype;return r.dispose=function(){K.off(this._element,ue)},r._start=function(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX},r._end=function(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),S(this._config.endCallback)},r._move=function(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX},r._handleSwipe=function(){var e=Math.abs(this._deltaX);if(!(e<=40)){var t=e/this._deltaX;this._deltaX=0,t&&S(t>0?this._config.rightCallback:this._config.leftCallback)}},r._initEvents=function(){var e=this;this._supportPointerEvents?(K.on(this._element,_e,(function(t){return e._start(t)})),K.on(this._element,ge,(function(t){return e._end(t)})),this._element.classList.add("pointer-event")):(K.on(this._element,fe,(function(t){return e._start(t)})),K.on(this._element,he,(function(t){return e._move(t)})),K.on(this._element,de,(function(t){return e._end(t)})))},r._eventIsPointerPenTouch=function(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)},n.isSupported=function(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0},t(n,null,[{key:"Default",get:function(){return pe}},{key:"DefaultType",get:function(){return me}},{key:"NAME",get:function(){return"swipe"}}]),n}(Z),be=".bs.carousel",ye=".data-api",we="next",Ee="prev",Ae="left",Te="right",Ce="slide"+be,ke="slid"+be,Se="keydown"+be,Oe="mouseenter"+be,Le="mouseleave"+be,Ie="dragstart"+be,Ne="load"+be+ye,De="click"+be+ye,Pe="carousel",je="active",Me=".active",xe=".carousel-item",Fe=Me+xe,ze=((r={}).ArrowLeft=Te,r.ArrowRight=Ae,r),He={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},qe={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},We=function(e){function n(t,n){var i;return(i=e.call(this,t,n)||this)._interval=null,i._activeElement=null,i._isSliding=!1,i.touchTimeout=null,i._swipeHelper=null,i._indicatorsElement=ne.findOne(".carousel-indicators",i._element),i._addEventListeners(),i._config.ride===Pe&&i.cycle(),i}i(n,e);var r=n.prototype;return r.next=function(){this._slide(we)},r.nextWhenVisible=function(){!document.hidden&&v(this._element)&&this.next()},r.prev=function(){this._slide(Ee)},r.pause=function(){this._isSliding&&g(this._element),this._clearInterval()},r.cycle=function(){var e=this;this._clearInterval(),this._updateInterval(),this._interval=setInterval((function(){return e.nextWhenVisible()}),this._config.interval)},r._maybeEnableCycle=function(){var e=this;this._config.ride&&(this._isSliding?K.one(this._element,ke,(function(){return e.cycle()})):this.cycle())},r.to=function(e){var t=this,n=this._getItems();if(!(e>n.length-1||e<0))if(this._isSliding)K.one(this._element,ke,(function(){return t.to(e)}));else{var i=this._getItemIndex(this._getActive());if(i!==e){var r=e>i?we:Ee;this._slide(r,n[e])}}},r.dispose=function(){this._swipeHelper&&this._swipeHelper.dispose(),e.prototype.dispose.call(this)},r._configAfterMerge=function(e){return e.defaultInterval=e.interval,e},r._addEventListeners=function(){var e=this;this._config.keyboard&&K.on(this._element,Se,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&(K.on(this._element,Oe,(function(){return e.pause()})),K.on(this._element,Le,(function(){return e._maybeEnableCycle()}))),this._config.touch&&ve.isSupported()&&this._addTouchEventListeners()},r._addTouchEventListeners=function(){for(var e,t=this,n=a(ne.find(".carousel-item img",this._element));!(e=n()).done;){var i=e.value;K.on(i,Ie,(function(e){return e.preventDefault()}))}var r={leftCallback:function(){return t._slide(t._directionToOrder(Ae))},rightCallback:function(){return t._slide(t._directionToOrder(Te))},endCallback:function(){"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(){return t._maybeEnableCycle()}),500+t._config.interval))}};this._swipeHelper=new ve(this._element,r)},r._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){var t=ze[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}},r._getItemIndex=function(e){return this._getItems().indexOf(e)},r._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=ne.findOne(Me,this._indicatorsElement);t.classList.remove(je),t.removeAttribute("aria-current");var n=ne.findOne('[data-bs-slide-to="'+e+'"]',this._indicatorsElement);n&&(n.classList.add(je),n.setAttribute("aria-current","true"))}},r._updateInterval=function(){var e=this._activeElement||this._getActive();if(e){var t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}},r._slide=function(e,t){var n=this;if(void 0===t&&(t=null),!this._isSliding){var i=this._getActive(),r=e===we,o=t||L(this._getItems(),i,r,this._config.wrap);if(o!==i){var s=this._getItemIndex(o),a=function(t){return K.trigger(n._element,t,{relatedTarget:o,direction:n._orderToDirection(e),from:n._getItemIndex(i),to:s})};if(!a(Ce).defaultPrevented&&i&&o){var l=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=o;var c=r?"carousel-item-start":"carousel-item-end",u=r?"carousel-item-next":"carousel-item-prev";o.classList.add(u),E(o),i.classList.add(c),o.classList.add(c),this._queueCallback((function(){o.classList.remove(c,u),o.classList.add(je),i.classList.remove(je,u,c),n._isSliding=!1,a(ke)}),i,this._isAnimated()),l&&this.cycle()}}}},r._isAnimated=function(){return this._element.classList.contains("slide")},r._getActive=function(){return ne.findOne(Fe,this._element)},r._getItems=function(){return ne.find(xe,this._element)},r._clearInterval=function(){this._interval&&(clearInterval(this._interval),this._interval=null)},r._directionToOrder=function(e){return C()?e===Ae?Ee:we:e===Ae?we:Ee},r._orderToDirection=function(e){return C()?e===Ee?Ae:Te:e===Ee?Te:Ae},n.jQueryInterface=function(e){return this.each((function(){var t=n.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'+e+'"');t[e]()}}else t.to(e)}))},t(n,null,[{key:"Default",get:function(){return He}},{key:"DefaultType",get:function(){return qe}},{key:"NAME",get:function(){return"carousel"}}]),n}(ee);K.on(document,De,"[data-bs-slide], [data-bs-slide-to]",(function(e){var t=ne.getElementFromSelector(this);if(t&&t.classList.contains(Pe)){e.preventDefault();var n=We.getOrCreateInstance(t),i=this.getAttribute("data-bs-slide-to");if(i)return n.to(i),void n._maybeEnableCycle();if("next"===J(this,"slide"))return n.next(),void n._maybeEnableCycle();n.prev(),n._maybeEnableCycle()}})),K.on(window,Ne,(function(){for(var e,t=a(ne.find('[data-bs-ride="carousel"]'));!(e=t()).done;){var n=e.value;We.getOrCreateInstance(n)}})),k(We);var Re=".bs.collapse",Be="show"+Re,Ve="shown"+Re,Ke="hide"+Re,Qe="hidden"+Re,Xe="click"+Re+".data-api",Ye="show",Ue="collapse",$e="collapsing",Ge=":scope ."+Ue+" ."+Ue,Je='[data-bs-toggle="collapse"]',Ze={parent:null,toggle:!0},et={parent:"(null|element)",toggle:"boolean"},tt=function(e){function n(t,n){var i;(i=e.call(this,t,n)||this)._isTransitioning=!1,i._triggerArray=[];for(var r,o=a(ne.find(Je));!(r=o()).done;){var s=r.value,l=ne.getSelectorFromElement(s),c=ne.find(l).filter((function(e){return e===i._element}));null!==l&&c.length&&i._triggerArray.push(s)}return i._initializeChildren(),i._config.parent||i._addAriaAndCollapsedClass(i._triggerArray,i._isShown()),i._config.toggle&&i.toggle(),i}i(n,e);var r=n.prototype;return r.toggle=function(){this._isShown()?this.hide():this.show()},r.show=function(){var e=this;if(!this._isTransitioning&&!this._isShown()){var t=[];if(!(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((function(t){return t!==e._element})).map((function(e){return n.getOrCreateInstance(e,{toggle:!1})}))),t.length&&t[0]._isTransitioning||K.trigger(this._element,Be).defaultPrevented)){for(var i,r=a(t);!(i=r()).done;)i.value.hide();var o=this._getDimension();this._element.classList.remove(Ue),this._element.classList.add($e),this._element.style[o]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var s="scroll"+(o[0].toUpperCase()+o.slice(1));this._queueCallback((function(){e._isTransitioning=!1,e._element.classList.remove($e),e._element.classList.add(Ue,Ye),e._element.style[o]="",K.trigger(e._element,Ve)}),this._element,!0),this._element.style[o]=this._element[s]+"px"}}},r.hide=function(){var e=this;if(!this._isTransitioning&&this._isShown()&&!K.trigger(this._element,Ke).defaultPrevented){var t=this._getDimension();this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",E(this._element),this._element.classList.add($e),this._element.classList.remove(Ue,Ye);for(var n,i=a(this._triggerArray);!(n=i()).done;){var r=n.value,o=ne.getElementFromSelector(r);o&&!this._isShown(o)&&this._addAriaAndCollapsedClass([r],!1)}this._isTransitioning=!0,this._element.style[t]="",this._queueCallback((function(){e._isTransitioning=!1,e._element.classList.remove($e),e._element.classList.add(Ue),K.trigger(e._element,Qe)}),this._element,!0)}},r._isShown=function(e){return void 0===e&&(e=this._element),e.classList.contains(Ye)},r._configAfterMerge=function(e){return e.toggle=!!e.toggle,e.parent=m(e.parent),e},r._getDimension=function(){return this._element.classList.contains("collapse-horizontal")?"width":"height"},r._initializeChildren=function(){if(this._config.parent)for(var e,t=a(this._getFirstLevelChildren(Je));!(e=t()).done;){var n=e.value,i=ne.getElementFromSelector(n);i&&this._addAriaAndCollapsedClass([n],this._isShown(i))}},r._getFirstLevelChildren=function(e){var t=ne.find(Ge,this._config.parent);return ne.find(e,this._config.parent).filter((function(e){return!t.includes(e)}))},r._addAriaAndCollapsedClass=function(e,t){if(e.length)for(var n,i=a(e);!(n=i()).done;){var r=n.value;r.classList.toggle("collapsed",!t),r.setAttribute("aria-expanded",t)}},n.jQueryInterface=function(e){var t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){var i=n.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}}))},t(n,null,[{key:"Default",get:function(){return Ze}},{key:"DefaultType",get:function(){return et}},{key:"NAME",get:function(){return"collapse"}}]),n}(ee);K.on(document,Xe,Je,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(var t,n=a(ne.getMultipleElementsFromSelector(this));!(t=n()).done;){var i=t.value;tt.getOrCreateInstance(i,{toggle:!1}).toggle()}})),k(tt);var nt="dropdown",it=".bs.dropdown",rt=".data-api",ot="ArrowUp",st="ArrowDown",at="hide"+it,lt="hidden"+it,ct="show"+it,ut="shown"+it,ft="click"+it+rt,ht="keydown"+it+rt,dt="keyup"+it+rt,_t="show",gt='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',pt=gt+"."+_t,mt=".dropdown-menu",vt=C()?"top-end":"top-start",bt=C()?"top-start":"top-end",yt=C()?"bottom-end":"bottom-start",wt=C()?"bottom-start":"bottom-end",Et=C()?"left-start":"right-start",At=C()?"right-start":"left-start",Tt={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Ct={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},kt=function(e){function r(t,n){var i;return(i=e.call(this,t,n)||this)._popper=null,i._parent=i._element.parentNode,i._menu=ne.next(i._element,mt)[0]||ne.prev(i._element,mt)[0]||ne.findOne(mt,i._parent),i._inNavbar=i._detectNavbar(),i}i(r,e);var o=r.prototype;return o.toggle=function(){return this._isShown()?this.hide():this.show()},o.show=function(){if(!b(this._element)&&!this._isShown()){var e={relatedTarget:this._element};if(!K.trigger(this._element,ct,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(var t,n=a((i=[]).concat.apply(i,document.body.children));!(t=n()).done;){var i,r=t.value;K.on(r,"mouseover",w)}this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(_t),this._element.classList.add(_t),K.trigger(this._element,ut,e)}}},o.hide=function(){if(!b(this._element)&&this._isShown()){var e={relatedTarget:this._element};this._completeHide(e)}},o.dispose=function(){this._popper&&this._popper.destroy(),e.prototype.dispose.call(this)},o.update=function(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()},o._completeHide=function(e){if(!K.trigger(this._element,at,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(var t,n=a((i=[]).concat.apply(i,document.body.children));!(t=n()).done;){var i,r=t.value;K.off(r,"mouseover",w)}this._popper&&this._popper.destroy(),this._menu.classList.remove(_t),this._element.classList.remove(_t),this._element.setAttribute("aria-expanded","false"),$(this._menu,"popper"),K.trigger(this._element,lt,e)}},o._getConfig=function(t){if("object"==typeof(t=e.prototype._getConfig.call(this,t)).reference&&!p(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError('DROPDOWN: Option "reference" provided type "object" without a required "getBoundingClientRect" method.');return t},o._createPopper=function(){if(void 0===l)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var e=this._element;"parent"===this._config.reference?e=this._parent:p(this._config.reference)?e=m(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);var t=this._getPopperConfig();this._popper=l.createPopper(e,this._menu,t)},o._isShown=function(){return this._menu.classList.contains(_t)},o._getPlacement=function(){var e=this._parent;if(e.classList.contains("dropend"))return Et;if(e.classList.contains("dropstart"))return At;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";var t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?bt:vt:t?wt:yt},o._detectNavbar=function(){return null!==this._element.closest(".navbar")},o._getOffset=function(){var e=this,t=this._config.offset;return"string"==typeof t?t.split(",").map((function(e){return Number.parseInt(e,10)})):"function"==typeof t?function(n){return t(n,e._element)}:t},o._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(U(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),n({},e,S(this._config.popperConfig,[e]))},o._selectMenuItem=function(e){var t=e.key,n=e.target,i=ne.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((function(e){return v(e)}));i.length&&L(i,n,t===st,!i.includes(n)).focus()},r.jQueryInterface=function(e){return this.each((function(){var t=r.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}}))},r.clearMenus=function(e){if(2!==e.button&&("keyup"!==e.type||"Tab"===e.key))for(var t,n=a(ne.find(pt));!(t=n()).done;){var i=t.value,o=r.getInstance(i);if(o&&!1!==o._config.autoClose){var s=e.composedPath(),l=s.includes(o._menu);if(!(s.includes(o._element)||"inside"===o._config.autoClose&&!l||"outside"===o._config.autoClose&&l||o._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))){var c={relatedTarget:o._element};"click"===e.type&&(c.clickEvent=e),o._completeHide(c)}}}},r.dataApiKeydownHandler=function(e){var t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,i=[ot,st].includes(e.key);if((i||n)&&(!t||n)){e.preventDefault();var o=this.matches(gt)?this:ne.prev(this,gt)[0]||ne.next(this,gt)[0]||ne.findOne(gt,e.delegateTarget.parentNode),s=r.getOrCreateInstance(o);if(i)return e.stopPropagation(),s.show(),void s._selectMenuItem(e);s._isShown()&&(e.stopPropagation(),s.hide(),o.focus())}},t(r,null,[{key:"Default",get:function(){return Tt}},{key:"DefaultType",get:function(){return Ct}},{key:"NAME",get:function(){return nt}}]),r}(ee);K.on(document,ht,gt,kt.dataApiKeydownHandler),K.on(document,ht,mt,kt.dataApiKeydownHandler),K.on(document,ft,kt.clearMenus),K.on(document,dt,kt.clearMenus),K.on(document,ft,gt,(function(e){e.preventDefault(),kt.getOrCreateInstance(this).toggle()})),k(kt);var St="backdrop",Ot="show",Lt="mousedown.bs."+St,It={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Nt={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},Dt=function(e){function n(t){var n;return(n=e.call(this)||this)._config=n._getConfig(t),n._isAppended=!1,n._element=null,n}i(n,e);var r=n.prototype;return r.show=function(e){if(this._config.isVisible){this._append();var t=this._getElement();this._config.isAnimated&&E(t),t.classList.add(Ot),this._emulateAnimation((function(){S(e)}))}else S(e)},r.hide=function(e){var t=this;this._config.isVisible?(this._getElement().classList.remove(Ot),this._emulateAnimation((function(){t.dispose(),S(e)}))):S(e)},r.dispose=function(){this._isAppended&&(K.off(this._element,Lt),this._element.remove(),this._isAppended=!1)},r._getElement=function(){if(!this._element){var e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element},r._configAfterMerge=function(e){return e.rootElement=m(e.rootElement),e},r._append=function(){var e=this;if(!this._isAppended){var t=this._getElement();this._config.rootElement.append(t),K.on(t,Lt,(function(){S(e._config.clickCallback)})),this._isAppended=!0}},r._emulateAnimation=function(e){O(e,this._getElement(),this._config.isAnimated)},t(n,null,[{key:"Default",get:function(){return It}},{key:"DefaultType",get:function(){return Nt}},{key:"NAME",get:function(){return St}}]),n}(Z),Pt=".bs.focustrap",jt="focusin"+Pt,Mt="keydown.tab"+Pt,xt="backward",Ft={autofocus:!0,trapElement:null},zt={autofocus:"boolean",trapElement:"element"},Ht=function(e){function n(t){var n;return(n=e.call(this)||this)._config=n._getConfig(t),n._isActive=!1,n._lastTabNavDirection=null,n}i(n,e);var r=n.prototype;return r.activate=function(){var e=this;this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),K.off(document,Pt),K.on(document,jt,(function(t){return e._handleFocusin(t)})),K.on(document,Mt,(function(t){return e._handleKeydown(t)})),this._isActive=!0)},r.deactivate=function(){this._isActive&&(this._isActive=!1,K.off(document,Pt))},r._handleFocusin=function(e){var t=this._config.trapElement;if(e.target!==document&&e.target!==t&&!t.contains(e.target)){var n=ne.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===xt?n[n.length-1].focus():n[0].focus()}},r._handleKeydown=function(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?xt:"forward")},t(n,null,[{key:"Default",get:function(){return Ft}},{key:"DefaultType",get:function(){return zt}},{key:"NAME",get:function(){return"focustrap"}}]),n}(Z),qt=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Wt=".sticky-top",Rt="padding-right",Bt="margin-right",Vt=function(){function e(){this._element=document.body}var t=e.prototype;return t.getWidth=function(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)},t.hide=function(){var e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Rt,(function(t){return t+e})),this._setElementAttributes(qt,Rt,(function(t){return t+e})),this._setElementAttributes(Wt,Bt,(function(t){return t-e}))},t.reset=function(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Rt),this._resetElementAttributes(qt,Rt),this._resetElementAttributes(Wt,Bt)},t.isOverflowing=function(){return this.getWidth()>0},t._disableOverFlow=function(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"},t._setElementAttributes=function(e,t,n){var i=this,r=this.getWidth();this._applyManipulationCallback(e,(function(e){if(!(e!==i._element&&window.innerWidth>e.clientWidth+r)){i._saveInitialAttribute(e,t);var o=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,n(Number.parseFloat(o))+"px")}}))},t._saveInitialAttribute=function(e,t){var n=e.style.getPropertyValue(t);n&&U(e,t,n)},t._resetElementAttributes=function(e,t){this._applyManipulationCallback(e,(function(e){var n=J(e,t);null!==n?($(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)}))},t._applyManipulationCallback=function(e,t){if(p(e))t(e);else for(var n,i=a(ne.find(e,this._element));!(n=i()).done;)t(n.value)},e}(),Kt=".bs.modal",Qt="hide"+Kt,Xt="hidePrevented"+Kt,Yt="hidden"+Kt,Ut="show"+Kt,$t="shown"+Kt,Gt="resize"+Kt,Jt="click.dismiss"+Kt,Zt="mousedown.dismiss"+Kt,en="keydown.dismiss"+Kt,tn="click"+Kt+".data-api",nn="modal-open",rn="show",on="modal-static",sn={backdrop:!0,focus:!0,keyboard:!0},an={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},ln=function(e){function n(t,n){var i;return(i=e.call(this,t,n)||this)._dialog=ne.findOne(".modal-dialog",i._element),i._backdrop=i._initializeBackDrop(),i._focustrap=i._initializeFocusTrap(),i._isShown=!1,i._isTransitioning=!1,i._scrollBar=new Vt,i._addEventListeners(),i}i(n,e);var r=n.prototype;return r.toggle=function(e){return this._isShown?this.hide():this.show(e)},r.show=function(e){var t=this;this._isShown||this._isTransitioning||K.trigger(this._element,Ut,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(nn),this._adjustDialog(),this._backdrop.show((function(){return t._showElement(e)})))},r.hide=function(){var e=this;this._isShown&&!this._isTransitioning&&(K.trigger(this._element,Qt).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(rn),this._queueCallback((function(){return e._hideModal()}),this._element,this._isAnimated())))},r.dispose=function(){K.off(window,Kt),K.off(this._dialog,Kt),this._backdrop.dispose(),this._focustrap.deactivate(),e.prototype.dispose.call(this)},r.handleUpdate=function(){this._adjustDialog()},r._initializeBackDrop=function(){return new Dt({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})},r._initializeFocusTrap=function(){return new Ht({trapElement:this._element})},r._showElement=function(e){var t=this;document.body.contains(this._element)||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;var n=ne.findOne(".modal-body",this._dialog);n&&(n.scrollTop=0),E(this._element),this._element.classList.add(rn),this._queueCallback((function(){t._config.focus&&t._focustrap.activate(),t._isTransitioning=!1,K.trigger(t._element,$t,{relatedTarget:e})}),this._dialog,this._isAnimated())},r._addEventListeners=function(){var e=this;K.on(this._element,en,(function(t){"Escape"===t.key&&(e._config.keyboard?e.hide():e._triggerBackdropTransition())})),K.on(window,Gt,(function(){e._isShown&&!e._isTransitioning&&e._adjustDialog()})),K.on(this._element,Zt,(function(t){K.one(e._element,Jt,(function(n){e._element===t.target&&e._element===n.target&&("static"!==e._config.backdrop?e._config.backdrop&&e.hide():e._triggerBackdropTransition())}))}))},r._hideModal=function(){var e=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._backdrop.hide((function(){document.body.classList.remove(nn),e._resetAdjustments(),e._scrollBar.reset(),K.trigger(e._element,Yt)}))},r._isAnimated=function(){return this._element.classList.contains("fade")},r._triggerBackdropTransition=function(){var e=this;if(!K.trigger(this._element,Xt).defaultPrevented){var t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;"hidden"===n||this._element.classList.contains(on)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(on),this._queueCallback((function(){e._element.classList.remove(on),e._queueCallback((function(){e._element.style.overflowY=n}),e._dialog)}),this._dialog),this._element.focus())}},r._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){var i=C()?"paddingLeft":"paddingRight";this._element.style[i]=t+"px"}if(!n&&e){var r=C()?"paddingRight":"paddingLeft";this._element.style[r]=t+"px"}},r._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n.jQueryInterface=function(e,t){return this.each((function(){var i=n.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e](t)}}))},t(n,null,[{key:"Default",get:function(){return sn}},{key:"DefaultType",get:function(){return an}},{key:"NAME",get:function(){return"modal"}}]),n}(ee);K.on(document,tn,'[data-bs-toggle="modal"]',(function(e){var t=this,n=ne.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),K.one(n,Ut,(function(e){e.defaultPrevented||K.one(n,Yt,(function(){v(t)&&t.focus()}))}));var i=ne.findOne(".modal.show");i&&ln.getInstance(i).hide(),ln.getOrCreateInstance(n).toggle(this)})),ie(ln),k(ln);var cn=".bs.offcanvas",un=".data-api",fn="load"+cn+un,hn="show",dn="showing",_n="hiding",gn=".offcanvas.show",pn="show"+cn,mn="shown"+cn,vn="hide"+cn,bn="hidePrevented"+cn,yn="hidden"+cn,wn="resize"+cn,En="click"+cn+un,An="keydown.dismiss"+cn,Tn={backdrop:!0,keyboard:!0,scroll:!1},Cn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},kn=function(e){function n(t,n){var i;return(i=e.call(this,t,n)||this)._isShown=!1,i._backdrop=i._initializeBackDrop(),i._focustrap=i._initializeFocusTrap(),i._addEventListeners(),i}i(n,e);var r=n.prototype;return r.toggle=function(e){return this._isShown?this.hide():this.show(e)},r.show=function(e){var t=this;this._isShown||K.trigger(this._element,pn,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Vt).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(dn),this._queueCallback((function(){t._config.scroll&&!t._config.backdrop||t._focustrap.activate(),t._element.classList.add(hn),t._element.classList.remove(dn),K.trigger(t._element,mn,{relatedTarget:e})}),this._element,!0))},r.hide=function(){var e=this;this._isShown&&!K.trigger(this._element,vn).defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(_n),this._backdrop.hide(),this._queueCallback((function(){e._element.classList.remove(hn,_n),e._element.removeAttribute("aria-modal"),e._element.removeAttribute("role"),e._config.scroll||(new Vt).reset(),K.trigger(e._element,yn)}),this._element,!0))},r.dispose=function(){this._backdrop.dispose(),this._focustrap.deactivate(),e.prototype.dispose.call(this)},r._initializeBackDrop=function(){var e=this,t=!!this._config.backdrop;return new Dt({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?function(){"static"!==e._config.backdrop?e.hide():K.trigger(e._element,bn)}:null})},r._initializeFocusTrap=function(){return new Ht({trapElement:this._element})},r._addEventListeners=function(){var e=this;K.on(this._element,An,(function(t){"Escape"===t.key&&(e._config.keyboard?e.hide():K.trigger(e._element,bn))}))},n.jQueryInterface=function(e){return this.each((function(){var t=n.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)}}))},t(n,null,[{key:"Default",get:function(){return Tn}},{key:"DefaultType",get:function(){return Cn}},{key:"NAME",get:function(){return"offcanvas"}}]),n}(ee);K.on(document,En,'[data-bs-toggle="offcanvas"]',(function(e){var t=this,n=ne.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),!b(this)){K.one(n,yn,(function(){v(t)&&t.focus()}));var i=ne.findOne(gn);i&&i!==n&&kn.getInstance(i).hide(),kn.getOrCreateInstance(n).toggle(this)}})),K.on(window,fn,(function(){for(var e,t=a(ne.find(gn));!(e=t()).done;){var n=e.value;kn.getOrCreateInstance(n).show()}})),K.on(window,wn,(function(){for(var e,t=a(ne.find("[aria-modal][class*=show][class*=offcanvas-]"));!(e=t()).done;){var n=e.value;"fixed"!==getComputedStyle(n).position&&kn.getOrCreateInstance(n).hide()}})),ie(kn),k(kn);var Sn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),On=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Ln=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,In=function(e,t){var n=e.nodeName.toLowerCase();return t.includes(n)?!Sn.has(n)||!(!On.test(e.nodeValue)&&!Ln.test(e.nodeValue)):t.filter((function(e){return e instanceof RegExp})).some((function(e){return e.test(n)}))},Nn={"*":["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:[]},Dn={allowList:Nn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Pn={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},jn={entry:"(string|element|function|null)",selector:"(string|element)"},Mn=function(e){function r(t){var n;return(n=e.call(this)||this)._config=n._getConfig(t),n}i(r,e);var o=r.prototype;return o.getContent=function(){var e=this;return Object.values(this._config.content).map((function(t){return e._resolvePossibleFunction(t)})).filter(Boolean)},o.hasContent=function(){return this.getContent().length>0},o.changeContent=function(e){return this._checkContent(e),this._config.content=n({},this._config.content,e),this},o.toHtml=function(){var e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(var t=0,n=Object.entries(this._config.content);t<n.length;t++){var i=n[t],r=i[0],o=i[1];this._setContent(e,o,r)}var s,a=e.children[0],l=this._resolvePossibleFunction(this._config.extraClass);return l&&(s=a.classList).add.apply(s,l.split(" ")),a},o._typeCheckConfig=function(t){e.prototype._typeCheckConfig.call(this,t),this._checkContent(t.content)},o._checkContent=function(t){for(var n=0,i=Object.entries(t);n<i.length;n++){var r=i[n],o=r[0],s=r[1];e.prototype._typeCheckConfig.call(this,{selector:o,entry:s},jn)}},o._setContent=function(e,t,n){var i=ne.findOne(n,e);i&&((t=this._resolvePossibleFunction(t))?p(t)?this._putElementInTemplate(m(t),i):this._config.html?i.innerHTML=this._maybeSanitize(t):i.textContent=t:i.remove())},o._maybeSanitize=function(e){return this._config.sanitize?function(e,t,n){var i;if(!e.length)return e;if(n&&"function"==typeof n)return n(e);for(var r,o=(new window.DOMParser).parseFromString(e,"text/html"),s=a((i=[]).concat.apply(i,o.body.querySelectorAll("*")));!(r=s()).done;){var l,c=r.value,u=c.nodeName.toLowerCase();if(Object.keys(t).includes(u))for(var f,h=(l=[]).concat.apply(l,c.attributes),d=[].concat(t["*"]||[],t[u]||[]),_=a(h);!(f=_()).done;){var g=f.value;In(g,d)||c.removeAttribute(g.nodeName)}else c.remove()}return o.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e},o._resolvePossibleFunction=function(e){return S(e,[this])},o._putElementInTemplate=function(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent},t(r,null,[{key:"Default",get:function(){return Dn}},{key:"DefaultType",get:function(){return Pn}},{key:"NAME",get:function(){return"TemplateFactory"}}]),r}(Z),xn=new Set(["sanitize","allowList","sanitizeFn"]),Fn="fade",zn="show",Hn=".modal",qn="hide.bs.modal",Wn="hover",Rn="focus",Bn={AUTO:"auto",TOP:"top",RIGHT:C()?"left":"right",BOTTOM:"bottom",LEFT:C()?"right":"left"},Vn={allowList:Nn,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Kn={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"},Qn=function(e){function r(t,n){var i;if(void 0===l)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");return(i=e.call(this,t,n)||this)._isEnabled=!0,i._timeout=0,i._isHovered=null,i._activeTrigger={},i._popper=null,i._templateFactory=null,i._newContent=null,i.tip=null,i._setListeners(),i._config.selector||i._fixTitle(),i}i(r,e);var o=r.prototype;return o.enable=function(){this._isEnabled=!0},o.disable=function(){this._isEnabled=!1},o.toggleEnabled=function(){this._isEnabled=!this._isEnabled},o.toggle=function(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())},o.dispose=function(){clearTimeout(this._timeout),K.off(this._element.closest(Hn),qn,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),e.prototype.dispose.call(this)},o.show=function(){var e=this;if("none"===this._element.style.display)throw Error("Please use show on visible elements");if(this._isWithContent()&&this._isEnabled){var t=K.trigger(this._element,this.constructor.eventName("show")),n=(y(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!t.defaultPrevented&&n){this._disposePopper();var i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));var r=this._config.container;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(i),K.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(zn),"ontouchstart"in document.documentElement)for(var o,s=a((l=[]).concat.apply(l,document.body.children));!(o=s()).done;){var l,c=o.value;K.on(c,"mouseover",w)}this._queueCallback((function(){K.trigger(e._element,e.constructor.eventName("shown")),!1===e._isHovered&&e._leave(),e._isHovered=!1}),this.tip,this._isAnimated())}}},o.hide=function(){var e=this;if(this._isShown()&&!K.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(zn),"ontouchstart"in document.documentElement)for(var t,n=a((i=[]).concat.apply(i,document.body.children));!(t=n()).done;){var i,r=t.value;K.off(r,"mouseover",w)}this._activeTrigger.click=!1,this._activeTrigger[Rn]=!1,this._activeTrigger[Wn]=!1,this._isHovered=null,this._queueCallback((function(){e._isWithActiveTrigger()||(e._isHovered||e._disposePopper(),e._element.removeAttribute("aria-describedby"),K.trigger(e._element,e.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}},o.update=function(){this._popper&&this._popper.update()},o._isWithContent=function(){return!!this._getTitle()},o._getTipElement=function(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip},o._createTipElement=function(e){var t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Fn,zn),t.classList.add("bs-"+this.constructor.NAME+"-auto");var n=function(e){do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e}(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(Fn),t},o.setContent=function(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())},o._getTemplateFactory=function(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Mn(n({},this._config,{content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)})),this._templateFactory},o._getContentForTemplate=function(){var e;return(e={})[".tooltip-inner"]=this._getTitle(),e},o._getTitle=function(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")},o._initializeOnDelegatedTarget=function(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())},o._isAnimated=function(){return this._config.animation||this.tip&&this.tip.classList.contains(Fn)},o._isShown=function(){return this.tip&&this.tip.classList.contains(zn)},o._createPopper=function(e){var t=S(this._config.placement,[this,e,this._element]),n=Bn[t.toUpperCase()];return l.createPopper(this._element,e,this._getPopperConfig(n))},o._getOffset=function(){var e=this,t=this._config.offset;return"string"==typeof t?t.split(",").map((function(e){return Number.parseInt(e,10)})):"function"==typeof t?function(n){return t(n,e._element)}:t},o._resolvePossibleFunction=function(e){return S(e,[this._element])},o._getPopperConfig=function(e){var t=this,i={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:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:function(e){t._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return n({},i,S(this._config.popperConfig,[i]))},o._setListeners=function(){for(var e,t=this,n=a(this._config.trigger.split(" "));!(e=n()).done;){var i=e.value;if("click"===i)K.on(this._element,this.constructor.eventName("click"),this._config.selector,(function(e){t._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==i){var r=i===Wn?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),o=i===Wn?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");K.on(this._element,r,this._config.selector,(function(e){var n=t._initializeOnDelegatedTarget(e);n._activeTrigger["focusin"===e.type?Rn:Wn]=!0,n._enter()})),K.on(this._element,o,this._config.selector,(function(e){var n=t._initializeOnDelegatedTarget(e);n._activeTrigger["focusout"===e.type?Rn:Wn]=n._element.contains(e.relatedTarget),n._leave()}))}}this._hideModalHandler=function(){t._element&&t.hide()},K.on(this._element.closest(Hn),qn,this._hideModalHandler)},o._fixTitle=function(){var e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))},o._enter=function(){var e=this;this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((function(){e._isHovered&&e.show()}),this._config.delay.show))},o._leave=function(){var e=this;this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((function(){e._isHovered||e.hide()}),this._config.delay.hide))},o._setTimeout=function(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)},o._isWithActiveTrigger=function(){return Object.values(this._activeTrigger).includes(!0)},o._getConfig=function(e){for(var t=G(this._element),i=0,r=Object.keys(t);i<r.length;i++){var o=r[i];xn.has(o)&&delete t[o]}return e=n({},t,"object"==typeof e&&e?e:{}),e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e},o._configAfterMerge=function(e){return e.container=!1===e.container?document.body:m(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()),e},o._getDelegateConfig=function(){for(var e={},t=0,n=Object.entries(this._config);t<n.length;t++){var i=n[t],r=i[0],o=i[1];this.constructor.Default[r]!==o&&(e[r]=o)}return e.selector=!1,e.trigger="manual",e},o._disposePopper=function(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)},r.jQueryInterface=function(e){return this.each((function(){var t=r.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}}))},t(r,null,[{key:"Default",get:function(){return Vn}},{key:"DefaultType",get:function(){return Kn}},{key:"NAME",get:function(){return"tooltip"}}]),r}(ee);k(Qn);var Xn=n({},Qn.Default,{content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"}),Yn=n({},Qn.DefaultType,{content:"(null|string|element|function)"}),Un=function(e){function n(){return e.apply(this,arguments)||this}i(n,e);var r=n.prototype;return r._isWithContent=function(){return this._getTitle()||this._getContent()},r._getContentForTemplate=function(){var e;return(e={})[".popover-header"]=this._getTitle(),e[".popover-body"]=this._getContent(),e},r._getContent=function(){return this._resolvePossibleFunction(this._config.content)},n.jQueryInterface=function(e){return this.each((function(){var t=n.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}}))},t(n,null,[{key:"Default",get:function(){return Xn}},{key:"DefaultType",get:function(){return Yn}},{key:"NAME",get:function(){return"popover"}}]),n}(Qn);k(Un);var $n=".bs.scrollspy",Gn="activate"+$n,Jn="click"+$n,Zn="load"+$n+".data-api",ei="active",ti="[href]",ni=".nav-link",ii=ni+", .nav-item > "+ni+", .list-group-item",ri={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},oi={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},si=function(e){function n(t,n){var i;return(i=e.call(this,t,n)||this)._targetLinks=new Map,i._observableSections=new Map,i._rootElement="visible"===getComputedStyle(i._element).overflowY?null:i._element,i._activeTarget=null,i._observer=null,i._previousScrollData={visibleEntryTop:0,parentScrollTop:0},i.refresh(),i}i(n,e);var r=n.prototype;return r.refresh=function(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(var e,t=a(this._observableSections.values());!(e=t()).done;){var n=e.value;this._observer.observe(n)}},r.dispose=function(){this._observer.disconnect(),e.prototype.dispose.call(this)},r._configAfterMerge=function(e){return e.target=m(e.target)||document.body,e.rootMargin=e.offset?e.offset+"px 0px -30%":e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((function(e){return Number.parseFloat(e)}))),e},r._maybeEnableSmoothScroll=function(){var e=this;this._config.smoothScroll&&(K.off(this._config.target,Jn),K.on(this._config.target,Jn,ti,(function(t){var n=e._observableSections.get(t.target.hash);if(n){t.preventDefault();var i=e._rootElement||window,r=n.offsetTop-e._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:r,behavior:"smooth"});i.scrollTop=r}})))},r._getNewObserver=function(){var e=this,t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((function(t){return e._observerCallback(t)}),t)},r._observerCallback=function(e){var t=this,n=function(e){return t._targetLinks.get("#"+e.target.id)},i=function(e){t._previousScrollData.visibleEntryTop=e.target.offsetTop,t._process(n(e))},r=(this._rootElement||document.documentElement).scrollTop,o=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(var s,l=a(e);!(s=l()).done;){var c=s.value;if(c.isIntersecting){var u=c.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&u){if(i(c),!r)return}else o||u||i(c)}else this._activeTarget=null,this._clearActiveClass(n(c))}},r._initializeTargetsAndObservables=function(){this._targetLinks=new Map,this._observableSections=new Map;for(var e,t=a(ne.find(ti,this._config.target));!(e=t()).done;){var n=e.value;if(n.hash&&!b(n)){var i=ne.findOne(n.hash,this._element);v(i)&&(this._targetLinks.set(n.hash,n),this._observableSections.set(n.hash,i))}}},r._process=function(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(ei),this._activateParents(e),K.trigger(this._element,Gn,{relatedTarget:e}))},r._activateParents=function(e){if(e.classList.contains("dropdown-item"))ne.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(ei);else for(var t,n=a(ne.parents(e,".nav, .list-group"));!(t=n()).done;)for(var i,r=t.value,o=a(ne.prev(r,ii));!(i=o()).done;)i.value.classList.add(ei)},r._clearActiveClass=function(e){e.classList.remove(ei);for(var t,n=a(ne.find(ti+"."+ei,e));!(t=n()).done;)t.value.classList.remove(ei)},n.jQueryInterface=function(e){return this.each((function(){var t=n.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]()}}))},t(n,null,[{key:"Default",get:function(){return ri}},{key:"DefaultType",get:function(){return oi}},{key:"NAME",get:function(){return"scrollspy"}}]),n}(ee);K.on(window,Zn,(function(){for(var e,t=a(ne.find('[data-bs-spy="scroll"]'));!(e=t()).done;){var n=e.value;si.getOrCreateInstance(n)}})),k(si);var ai=".bs.tab",li="hide"+ai,ci="hidden"+ai,ui="show"+ai,fi="shown"+ai,hi="click"+ai,di="keydown"+ai,_i="load"+ai,gi="ArrowLeft",pi="ArrowRight",mi="ArrowUp",vi="ArrowDown",bi="active",yi="fade",wi="show",Ei=":not(.dropdown-toggle)",Ai='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ti=".nav-link"+Ei+", .list-group-item"+Ei+', [role="tab"]'+Ei+", "+Ai,Ci="."+bi+'[data-bs-toggle="tab"], .'+bi+'[data-bs-toggle="pill"], .'+bi+'[data-bs-toggle="list"]',ki=function(e){function n(t){var n;return(n=e.call(this,t)||this)._parent=n._element.closest('.list-group, .nav, [role="tablist"]'),n._parent?(n._setInitialAttributes(n._parent,n._getChildren()),K.on(n._element,di,(function(e){return n._keydown(e)})),n):o(n)}i(n,e);var r=n.prototype;return r.show=function(){var e=this._element;if(!this._elemIsActive(e)){var t=this._getActiveElem(),n=t?K.trigger(t,li,{relatedTarget:e}):null;K.trigger(e,ui,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}},r._activate=function(e,t){var n=this;e&&(e.classList.add(bi),this._activate(ne.getElementFromSelector(e)),this._queueCallback((function(){"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),n._toggleDropDown(e,!0),K.trigger(e,fi,{relatedTarget:t})):e.classList.add(wi)}),e,e.classList.contains(yi)))},r._deactivate=function(e,t){var n=this;e&&(e.classList.remove(bi),e.blur(),this._deactivate(ne.getElementFromSelector(e)),this._queueCallback((function(){"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),n._toggleDropDown(e,!1),K.trigger(e,ci,{relatedTarget:t})):e.classList.remove(wi)}),e,e.classList.contains(yi)))},r._keydown=function(e){if([gi,pi,mi,vi].includes(e.key)){e.stopPropagation(),e.preventDefault();var t=[pi,vi].includes(e.key),i=L(this._getChildren().filter((function(e){return!b(e)})),e.target,t,!0);i&&(i.focus({preventScroll:!0}),n.getOrCreateInstance(i).show())}},r._getChildren=function(){return ne.find(Ti,this._parent)},r._getActiveElem=function(){var e=this;return this._getChildren().find((function(t){return e._elemIsActive(t)}))||null},r._setInitialAttributes=function(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(var n,i=a(t);!(n=i()).done;){var r=n.value;this._setInitialAttributesOnChild(r)}},r._setInitialAttributesOnChild=function(e){e=this._getInnerElement(e);var t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)},r._setInitialAttributesOnTargetPanel=function(e){var t=ne.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",""+e.id))},r._toggleDropDown=function(e,t){var n=this._getOuterElement(e);if(n.classList.contains("dropdown")){var i=function(e,i){var r=ne.findOne(e,n);r&&r.classList.toggle(i,t)};i(".dropdown-toggle",bi),i(".dropdown-menu",wi),n.setAttribute("aria-expanded",t)}},r._setAttributeIfNotExists=function(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)},r._elemIsActive=function(e){return e.classList.contains(bi)},r._getInnerElement=function(e){return e.matches(Ti)?e:ne.findOne(Ti,e)},r._getOuterElement=function(e){return e.closest(".nav-item, .list-group-item")||e},n.jQueryInterface=function(e){return this.each((function(){var t=n.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'+e+'"');t[e]()}}))},t(n,null,[{key:"NAME",get:function(){return"tab"}}]),n}(ee);K.on(document,hi,Ai,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),b(this)||ki.getOrCreateInstance(this).show()})),K.on(window,_i,(function(){for(var e,t=a(ne.find(Ci));!(e=t()).done;){var n=e.value;ki.getOrCreateInstance(n)}})),k(ki);var Si=".bs.toast",Oi="mouseover"+Si,Li="mouseout"+Si,Ii="focusin"+Si,Ni="focusout"+Si,Di="hide"+Si,Pi="hidden"+Si,ji="show"+Si,Mi="shown"+Si,xi="hide",Fi="show",zi="showing",Hi={animation:"boolean",autohide:"boolean",delay:"number"},qi={animation:!0,autohide:!0,delay:5e3},Wi=function(e){function n(t,n){var i;return(i=e.call(this,t,n)||this)._timeout=null,i._hasMouseInteraction=!1,i._hasKeyboardInteraction=!1,i._setListeners(),i}i(n,e);var r=n.prototype;return r.show=function(){var e=this;K.trigger(this._element,ji).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(xi),E(this._element),this._element.classList.add(Fi,zi),this._queueCallback((function(){e._element.classList.remove(zi),K.trigger(e._element,Mi),e._maybeScheduleHide()}),this._element,this._config.animation))},r.hide=function(){var e=this;this.isShown()&&!K.trigger(this._element,Di).defaultPrevented&&(this._element.classList.add(zi),this._queueCallback((function(){e._element.classList.add(xi),e._element.classList.remove(zi,Fi),K.trigger(e._element,Pi)}),this._element,this._config.animation))},r.dispose=function(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Fi),e.prototype.dispose.call(this)},r.isShown=function(){return this._element.classList.contains(Fi)},r._maybeScheduleHide=function(){var e=this;this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((function(){e.hide()}),this._config.delay)))},r._onInteraction=function(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)this._clearTimeout();else{var n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}},r._setListeners=function(){var e=this;K.on(this._element,Oi,(function(t){return e._onInteraction(t,!0)})),K.on(this._element,Li,(function(t){return e._onInteraction(t,!1)})),K.on(this._element,Ii,(function(t){return e._onInteraction(t,!0)})),K.on(this._element,Ni,(function(t){return e._onInteraction(t,!1)}))},r._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},n.jQueryInterface=function(e){return this.each((function(){var t=n.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e](this)}}))},t(n,null,[{key:"Default",get:function(){return qi}},{key:"DefaultType",get:function(){return Hi}},{key:"NAME",get:function(){return"toast"}}]),n}(ee);return ie(Wi),k(Wi),{Alert:ae,Button:ce,Carousel:We,Collapse:tt,Dropdown:kt,Modal:ln,Offcanvas:kn,Popover:Un,ScrollSpy:si,Tab:ki,Toast:Wi,Tooltip:Qn}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=c(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],c):(l="undefined"!=typeof globalThis?globalThis:l||self).bootstrap=c(l.Popper)}();