/*! * Understrap v1.2.2 (https://understrap.com) * Copyright 2013-2023 The UnderStrap Authors (https://github.com/understrap/understrap/graphs/contributors) * Licensed under GPL-3.0 (https://www.gnu.org/licenses/gpl-3.0.html) */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).understrap={},t.jQuery)}(this,(function(t,e){"use strict";const i="transitionend";function n(t){let i=!1;return e(this).one(s.TRANSITION_END,(()=>{i=!0})),setTimeout((()=>{i||s.triggerTransitionEnd(this)}),t),this}const s={TRANSITION_END:"bsTransitionEnd",getUID(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement(t){let e=t.getAttribute("data-target");if(!e||"#"===e){const i=t.getAttribute("href");e=i&&"#"!==i?i.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement(t){if(!t)return 0;let i=e(t).css("transition-duration"),n=e(t).css("transition-delay");const s=parseFloat(i),o=parseFloat(n);return s||o?(i=i.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(i)+parseFloat(n))):0},reflow:t=>t.offsetHeight,triggerTransitionEnd(t){e(t).trigger(i)},supportsTransitionEnd:()=>Boolean(i),isElement:t=>(t[0]||t).nodeType,typeCheckConfig(t,e,i){for(const o in i)if(Object.prototype.hasOwnProperty.call(i,o)){const r=i[o],a=e[o],l=a&&s.isElement(a)?"element":null==(n=a)?`${n}`:{}.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(l))throw new Error(`${t.toUpperCase()}: Option "${o}" provided type "${l}" but expected type "${r}".`)}var n},findShadowRoot(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?s.findShadowRoot(t.parentNode):null},jQueryDetection(){if(void 0===e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");const t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};s.jQueryDetection(),e.fn.emulateTransitionEnd=n,e.event.special[s.TRANSITION_END]={bindType:i,delegateType:i,handle(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};const o="bs.alert",r=e.fn.alert;class a{constructor(t){this._element=t}static get VERSION(){return"4.6.2"}close(t){let e=this._element;t&&(e=this._getRootElement(t));this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)}dispose(){e.removeData(this._element,o),this._element=null}_getRootElement(t){const i=s.getSelectorFromElement(t);let n=!1;return i&&(n=document.querySelector(i)),n||(n=e(t).closest(".alert")[0]),n}_triggerCloseEvent(t){const i=e.Event("close.bs.alert");return e(t).trigger(i),i}_removeElement(t){if(e(t).removeClass("show"),!e(t).hasClass("fade"))return void this._destroyElement(t);const i=s.getTransitionDurationFromElement(t);e(t).one(s.TRANSITION_END,(e=>this._destroyElement(t,e))).emulateTransitionEnd(i)}_destroyElement(t){e(t).detach().trigger("closed.bs.alert").remove()}static _jQueryInterface(t){return this.each((function(){const i=e(this);let n=i.data(o);n||(n=new a(this),i.data(o,n)),"close"===t&&n[t](this)}))}static _handleDismiss(t){return function(e){e&&e.preventDefault(),t.close(this)}}}e(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',a._handleDismiss(new a)),e.fn.alert=a._jQueryInterface,e.fn.alert.Constructor=a,e.fn.alert.noConflict=()=>(e.fn.alert=r,a._jQueryInterface);const l="bs.button",c=e.fn.button,h="active",d='[data-toggle^="button"]',u='input:not([type="hidden"])',f=".btn";class p{constructor(t){this._element=t,this.shouldAvoidTriggerChange=!1}static get VERSION(){return"4.6.2"}toggle(){let t=!0,i=!0;const n=e(this._element).closest('[data-toggle="buttons"]')[0];if(n){const s=this._element.querySelector(u);if(s){if("radio"===s.type)if(s.checked&&this._element.classList.contains(h))t=!1;else{const t=n.querySelector(".active");t&&e(t).removeClass(h)}t&&("checkbox"!==s.type&&"radio"!==s.type||(s.checked=!this._element.classList.contains(h)),this.shouldAvoidTriggerChange||e(s).trigger("change")),s.focus(),i=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(i&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(h)),t&&e(this._element).toggleClass(h))}dispose(){e.removeData(this._element,l),this._element=null}static _jQueryInterface(t,i){return this.each((function(){const n=e(this);let s=n.data(l);s||(s=new p(this),n.data(l,s)),s.shouldAvoidTriggerChange=i,"toggle"===t&&s[t]()}))}}e(document).on("click.bs.button.data-api",d,(t=>{let i=t.target;const n=i;if(e(i).hasClass("btn")||(i=e(i).closest(f)[0]),!i||i.hasAttribute("disabled")||i.classList.contains("disabled"))t.preventDefault();else{const s=i.querySelector(u);if(s&&(s.hasAttribute("disabled")||s.classList.contains("disabled")))return void t.preventDefault();"INPUT"!==n.tagName&&"LABEL"===i.tagName||p._jQueryInterface.call(e(i),"toggle","INPUT"===n.tagName)}})).on("focus.bs.button.data-api blur.bs.button.data-api",d,(t=>{const i=e(t.target).closest(f)[0];e(i).toggleClass("focus",/^focus(in)?$/.test(t.type))})),e(window).on("load.bs.button.data-api",(()=>{let t=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn'));for(let e=0,i=t.length;e(e.fn.button=c,p._jQueryInterface);const m="carousel",g="bs.carousel",_=".bs.carousel",v=e.fn[m],b="active",y="next",E="prev",w="slid.bs.carousel",T=".active.carousel-item",C={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},S={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},D={TOUCH:"touch",PEN:"pen"};class N{constructor(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}static get VERSION(){return"4.6.2"}static get Default(){return C}next(){this._isSliding||this._slide(y)}nextWhenVisible(){const t=e(this._element);!document.hidden&&t.is(":visible")&&"hidden"!==t.css("visibility")&&this.next()}prev(){this._isSliding||this._slide(E)}pause(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(s.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(t){this._activeElement=this._element.querySelector(T);const i=this._getItemIndex(this._activeElement);if(t>this._items.length-1||t<0)return;if(this._isSliding)return void e(this._element).one(w,(()=>this.to(t)));if(i===t)return this.pause(),void this.cycle();const n=t>i?y:E;this._slide(n,this._items[t])}dispose(){e(this._element).off(_),e.removeData(this._element,g),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null}_getConfig(t){return t={...C,...t},s.typeCheckConfig(m,t,S),t}_handleSwipe(){const t=Math.abs(this.touchDeltaX);if(t<=40)return;const e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}_addEventListeners(){this._config.keyboard&&e(this._element).on("keydown.bs.carousel",(t=>this._keydown(t))),"hover"===this._config.pause&&e(this._element).on("mouseenter.bs.carousel",(t=>this.pause(t))).on("mouseleave.bs.carousel",(t=>this.cycle(t))),this._config.touch&&this._addTouchEventListeners()}_addTouchEventListeners(){if(!this._touchSupported)return;const t=t=>{this._pointerEvent&&D[t.originalEvent.pointerType.toUpperCase()]?this.touchStartX=t.originalEvent.clientX:this._pointerEvent||(this.touchStartX=t.originalEvent.touches[0].clientX)},i=t=>{this.touchDeltaX=t.originalEvent.touches&&t.originalEvent.touches.length>1?0:t.originalEvent.touches[0].clientX-this.touchStartX},n=t=>{this._pointerEvent&&D[t.originalEvent.pointerType.toUpperCase()]&&(this.touchDeltaX=t.originalEvent.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((t=>this.cycle(t)),500+this._config.interval))};e(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",(t=>t.preventDefault())),this._pointerEvent?(e(this._element).on("pointerdown.bs.carousel",(e=>t(e))),e(this._element).on("pointerup.bs.carousel",(t=>n(t))),this._element.classList.add("pointer-event")):(e(this._element).on("touchstart.bs.carousel",(e=>t(e))),e(this._element).on("touchmove.bs.carousel",(t=>i(t))),e(this._element).on("touchend.bs.carousel",(t=>n(t))))}_keydown(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}}_getItemIndex(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)}_getItemByDirection(t,e){const i=t===y,n=t===E,s=this._getItemIndex(e),o=this._items.length-1;if((n&&0===s||i&&s===o)&&!this._config.wrap)return e;const r=(s+(t===E?-1:1))%this._items.length;return-1===r?this._items[this._items.length-1]:this._items[r]}_triggerSlideEvent(t,i){const n=this._getItemIndex(t),s=this._getItemIndex(this._element.querySelector(T)),o=e.Event("slide.bs.carousel",{relatedTarget:t,direction:i,from:s,to:n});return e(this._element).trigger(o),o}_setActiveIndicatorElement(t){if(this._indicatorsElement){const i=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));e(i).removeClass(b);const n=this._indicatorsElement.children[this._getItemIndex(t)];n&&e(n).addClass(b)}}_updateInterval(){const t=this._activeElement||this._element.querySelector(T);if(!t)return;const e=parseInt(t.getAttribute("data-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(t,i){const n=this._element.querySelector(T),o=this._getItemIndex(n),r=i||n&&this._getItemByDirection(t,n),a=this._getItemIndex(r),l=Boolean(this._interval);let c,h,d;if(t===y?(c="carousel-item-left",h="carousel-item-next",d="left"):(c="carousel-item-right",h="carousel-item-prev",d="right"),r&&e(r).hasClass(b))return void(this._isSliding=!1);if(this._triggerSlideEvent(r,d).isDefaultPrevented())return;if(!n||!r)return;this._isSliding=!0,l&&this.pause(),this._setActiveIndicatorElement(r),this._activeElement=r;const u=e.Event(w,{relatedTarget:r,direction:d,from:o,to:a});if(e(this._element).hasClass("slide")){e(r).addClass(h),s.reflow(r),e(n).addClass(c),e(r).addClass(c);const t=s.getTransitionDurationFromElement(n);e(n).one(s.TRANSITION_END,(()=>{e(r).removeClass(`${c} ${h}`).addClass(b),e(n).removeClass(`active ${h} ${c}`),this._isSliding=!1,setTimeout((()=>e(this._element).trigger(u)),0)})).emulateTransitionEnd(t)}else e(n).removeClass(b),e(r).addClass(b),this._isSliding=!1,e(this._element).trigger(u);l&&this.cycle()}static _jQueryInterface(t){return this.each((function(){let i=e(this).data(g),n={...C,...e(this).data()};"object"==typeof t&&(n={...n,...t});const s="string"==typeof t?t:n.slide;if(i||(i=new N(this,n),e(this).data(g,i)),"number"==typeof t)i.to(t);else if("string"==typeof s){if(void 0===i[s])throw new TypeError(`No method named "${s}"`);i[s]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}))}static _dataApiClickHandler(t){const i=s.getSelectorFromElement(this);if(!i)return;const n=e(i)[0];if(!n||!e(n).hasClass("carousel"))return;const o={...e(n).data(),...e(this).data()},r=this.getAttribute("data-slide-to");r&&(o.interval=!1),N._jQueryInterface.call(e(n),o),r&&e(n).data(g).to(r),t.preventDefault()}}e(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",N._dataApiClickHandler),e(window).on("load.bs.carousel.data-api",(()=>{const t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]'));for(let i=0,n=t.length;i(e.fn[m]=v,N._jQueryInterface);const A="collapse",I="bs.collapse",O=e.fn[A],x="show",k="collapse",L="collapsing",j="collapsed",P="width",F='[data-toggle="collapse"]',R={toggle:!0,parent:""},B={toggle:"boolean",parent:"(string|element)"};class H{constructor(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll(`[data-toggle="collapse"][href="#${t.id}"],[data-toggle="collapse"][data-target="#${t.id}"]`));const i=[].slice.call(document.querySelectorAll(F));for(let e=0,n=i.length;ee===t));null!==o&&r.length>0&&(this._selector=o,this._triggerArray.push(n))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}static get VERSION(){return"4.6.2"}static get Default(){return R}toggle(){e(this._element).hasClass(x)?this.hide():this.show()}show(){if(this._isTransitioning||e(this._element).hasClass(x))return;let t,i;if(this._parent&&(t=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((t=>"string"==typeof this._config.parent?t.getAttribute("data-parent")===this._config.parent:t.classList.contains(k))),0===t.length&&(t=null)),t&&(i=e(t).not(this._selector).data(I),i&&i._isTransitioning))return;const n=e.Event("show.bs.collapse");if(e(this._element).trigger(n),n.isDefaultPrevented())return;t&&(H._jQueryInterface.call(e(t).not(this._selector),"hide"),i||e(t).data(I,null));const o=this._getDimension();e(this._element).removeClass(k).addClass(L),this._element.style[o]=0,this._triggerArray.length&&e(this._triggerArray).removeClass(j).attr("aria-expanded",!0),this.setTransitioning(!0);const r=`scroll${o[0].toUpperCase()+o.slice(1)}`,a=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,(()=>{e(this._element).removeClass(L).addClass("collapse show"),this._element.style[o]="",this.setTransitioning(!1),e(this._element).trigger("shown.bs.collapse")})).emulateTransitionEnd(a),this._element.style[o]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!e(this._element).hasClass(x))return;const t=e.Event("hide.bs.collapse");if(e(this._element).trigger(t),t.isDefaultPrevented())return;const i=this._getDimension();this._element.style[i]=`${this._element.getBoundingClientRect()[i]}px`,s.reflow(this._element),e(this._element).addClass(L).removeClass("collapse show");const n=this._triggerArray.length;if(n>0)for(let t=0;t{this.setTransitioning(!1),e(this._element).removeClass(L).addClass(k).trigger("hidden.bs.collapse")})).emulateTransitionEnd(o)}setTransitioning(t){this._isTransitioning=t}dispose(){e.removeData(this._element,I),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null}_getConfig(t){return(t={...R,...t}).toggle=Boolean(t.toggle),s.typeCheckConfig(A,t,B),t}_getDimension(){return e(this._element).hasClass(P)?P:"height"}_getParent(){let t;s.isElement(this._config.parent)?(t=this._config.parent,void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);const i=`[data-toggle="collapse"][data-parent="${this._config.parent}"]`,n=[].slice.call(t.querySelectorAll(i));return e(n).each(((t,e)=>{this._addAriaAndCollapsedClass(H._getTargetFromElement(e),[e])})),t}_addAriaAndCollapsedClass(t,i){const n=e(t).hasClass(x);i.length&&e(i).toggleClass(j,!n).attr("aria-expanded",n)}static _getTargetFromElement(t){const e=s.getSelectorFromElement(t);return e?document.querySelector(e):null}static _jQueryInterface(t){return this.each((function(){const i=e(this);let n=i.data(I);const s={...R,...i.data(),..."object"==typeof t&&t?t:{}};if(!n&&s.toggle&&"string"==typeof t&&/show|hide/.test(t)&&(s.toggle=!1),n||(n=new H(this,s),i.data(I,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}))}}e(document).on("click.bs.collapse.data-api",F,(function(t){"A"===t.currentTarget.tagName&&t.preventDefault();const i=e(this),n=s.getSelectorFromElement(this),o=[].slice.call(document.querySelectorAll(n));e(o).each((function(){const t=e(this),n=t.data(I)?"toggle":i.data();H._jQueryInterface.call(t,n)}))})),e.fn[A]=H._jQueryInterface,e.fn[A].Constructor=H,e.fn[A].noConflict=()=>(e.fn[A]=O,H._jQueryInterface); /**! * @fileOverview Kickass library to create and place poppers near their reference elements. * @version 1.16.1 * @license * Copyright (c) 2016 Federico Zivolo and contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ var M="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,q=function(){for(var t=["Edge","Trident","Firefox"],e=0;e=0)return 1;return 0}();var Q=M&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),q))}};function W(t){return t&&"[object Function]"==={}.toString.call(t)}function $(t,e){if(1!==t.nodeType)return[];var i=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?i[e]:i}function U(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function V(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=$(t),i=e.overflow,n=e.overflowX,s=e.overflowY;return/(auto|scroll|overlay)/.test(i+s+n)?t:V(U(t))}function Y(t){return t&&t.referenceNode?t.referenceNode:t}var z=M&&!(!window.MSInputMethodContext||!document.documentMode),K=M&&/MSIE 10/.test(navigator.userAgent);function X(t){return 11===t?z:10===t?K:z||K}function J(t){if(!t)return document.documentElement;for(var e=X(10)?document.body:null,i=t.offsetParent||null;i===e&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===$(i,"position")?J(i):i:t?t.ownerDocument.documentElement:document.documentElement}function G(t){return null!==t.parentNode?G(t.parentNode):t}function Z(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?t:e,s=i?e:t,o=document.createRange();o.setStart(n,0),o.setEnd(s,0);var r,a,l=o.commonAncestorContainer;if(t!==l&&e!==l||n.contains(s))return"BODY"===(a=(r=l).nodeName)||"HTML"!==a&&J(r.firstElementChild)!==r?J(l):l;var c=G(t);return c.host?Z(c.host,e):Z(t,G(e).host)}function tt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",i="top"===e?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var s=t.ownerDocument.documentElement,o=t.ownerDocument.scrollingElement||s;return o[i]}return t[i]}function et(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=tt(e,"top"),s=tt(e,"left"),o=i?-1:1;return t.top+=n*o,t.bottom+=n*o,t.left+=s*o,t.right+=s*o,t}function it(t,e){var i="x"===e?"Left":"Top",n="Left"===i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"])+parseFloat(t["border"+n+"Width"])}function nt(t,e,i,n){return Math.max(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],X(10)?parseInt(i["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function st(t){var e=t.body,i=t.documentElement,n=X(10)&&getComputedStyle(i);return{height:nt("Height",e,i,n),width:nt("Width",e,i,n)}}var ot=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},rt=function(){function t(t,e){for(var i=0;i2&&void 0!==arguments[2]&&arguments[2],n=X(10),s="HTML"===e.nodeName,o=ht(t),r=ht(e),a=V(t),l=$(e),c=parseFloat(l.borderTopWidth),h=parseFloat(l.borderLeftWidth);i&&s&&(r.top=Math.max(r.top,0),r.left=Math.max(r.left,0));var d=ct({top:o.top-r.top-c,left:o.left-r.left-h,width:o.width,height:o.height});if(d.marginTop=0,d.marginLeft=0,!n&&s){var u=parseFloat(l.marginTop),f=parseFloat(l.marginLeft);d.top-=c-u,d.bottom-=c-u,d.left-=h-f,d.right-=h-f,d.marginTop=u,d.marginLeft=f}return(n&&!i?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(d=et(d,e)),d}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.ownerDocument.documentElement,n=dt(t,i),s=Math.max(i.clientWidth,window.innerWidth||0),o=Math.max(i.clientHeight,window.innerHeight||0),r=e?0:tt(i),a=e?0:tt(i,"left"),l={top:r-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:s,height:o};return ct(l)}function ft(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===$(t,"position"))return!0;var i=U(t);return!!i&&ft(i)}function pt(t){if(!t||!t.parentElement||X())return document.documentElement;for(var e=t.parentElement;e&&"none"===$(e,"transform");)e=e.parentElement;return e||document.documentElement}function mt(t,e,i,n){var s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},r=s?pt(t):Z(t,Y(e));if("viewport"===n)o=ut(r,s);else{var a=void 0;"scrollParent"===n?"BODY"===(a=V(U(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===n?t.ownerDocument.documentElement:n;var l=dt(a,r,s);if("HTML"!==a.nodeName||ft(r))o=l;else{var c=st(t.ownerDocument),h=c.height,d=c.width;o.top+=l.top-l.marginTop,o.bottom=h+l.top,o.left+=l.left-l.marginLeft,o.right=d+l.left}}var u="number"==typeof(i=i||0);return o.left+=u?i:i.left||0,o.top+=u?i:i.top||0,o.right-=u?i:i.right||0,o.bottom-=u?i:i.bottom||0,o}function gt(t){return t.width*t.height}function _t(t,e,i,n,s){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var r=mt(i,n,o,s),a={top:{width:r.width,height:e.top-r.top},right:{width:r.right-e.right,height:r.height},bottom:{width:r.width,height:r.bottom-e.bottom},left:{width:e.left-r.left,height:r.height}},l=Object.keys(a).map((function(t){return lt({key:t},a[t],{area:gt(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight})),h=c.length>0?c[0].key:l[0].key,d=t.split("-")[1];return h+(d?"-"+d:"")}function vt(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,s=n?pt(e):Z(e,Y(i));return dt(i,s,n)}function bt(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),i=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+i}}function yt(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function Et(t,e,i){i=i.split("-")[0];var n=bt(t),s={width:n.width,height:n.height},o=-1!==["right","left"].indexOf(i),r=o?"top":"left",a=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return s[r]=e[r]+e[l]/2-n[l]/2,s[a]=i===a?e[a]-n[c]:e[yt(a)],s}function wt(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Tt(t,e,i){return(void 0===i?t:t.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===i}));var n=wt(t,(function(t){return t[e]===i}));return t.indexOf(n)}(t,"name",i))).forEach((function(t){t.function;var i=t.function||t.fn;t.enabled&&W(i)&&(e.offsets.popper=ct(e.offsets.popper),e.offsets.reference=ct(e.offsets.reference),e=i(e,t))})),e}function Ct(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=vt(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=_t(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=Et(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Tt(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function St(t,e){return t.some((function(t){var i=t.name;return t.enabled&&i===e}))}function Dt(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n1&&void 0!==arguments[1]&&arguments[1],i=Bt.indexOf(t),n=Bt.slice(i+1).concat(Bt.slice(0,i));return e?n.reverse():n}var Mt="flip",qt="clockwise",Qt="counterclockwise";function Wt(t,e,i,n){var s=[0,0],o=-1!==["right","left"].indexOf(n),r=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=r.indexOf(wt(r,(function(t){return-1!==t.search(/,|\s/)})));r[a]&&r[a].indexOf(",");var l=/\s*,\s*|\s+/,c=-1!==a?[r.slice(0,a).concat([r[a].split(l)[0]]),[r[a].split(l)[1]].concat(r.slice(a+1))]:[r];return c=c.map((function(t,n){var s=(1===n?!o:o)?"height":"width",r=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,r=!0,t):r?(t[t.length-1]+=e,r=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,i,n){var s=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+s[1],r=s[2];if(!o)return t;if(0===r.indexOf("%")){return ct("%p"===r?i:n)[e]/100*o}if("vh"===r||"vw"===r)return("vh"===r?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,s,e,i)}))})),c.forEach((function(t,e){t.forEach((function(i,n){Lt(i)&&(s[e]+=i*("-"===t[n-1]?-1:1))}))})),s}var $t={shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,i=e.split("-")[0],n=e.split("-")[1];if(n){var s=t.offsets,o=s.reference,r=s.popper,a=-1!==["bottom","top"].indexOf(i),l=a?"left":"top",c=a?"width":"height",h={start:at({},l,o[l]),end:at({},l,o[l]+o[c]-r[c])};t.offsets.popper=lt({},r,h[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i=e.offset,n=t.placement,s=t.offsets,o=s.popper,r=s.reference,a=n.split("-")[0],l=void 0;return l=Lt(+i)?[+i,0]:Wt(i,o,r,a),"left"===a?(o.top+=l[0],o.left-=l[1]):"right"===a?(o.top+=l[0],o.left+=l[1]):"top"===a?(o.left+=l[0],o.top-=l[1]):"bottom"===a&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var i=e.boundariesElement||J(t.instance.popper);t.instance.reference===i&&(i=J(i));var n=Dt("transform"),s=t.instance.popper.style,o=s.top,r=s.left,a=s[n];s.top="",s.left="",s[n]="";var l=mt(t.instance.popper,t.instance.reference,e.padding,i,t.positionFixed);s.top=o,s.left=r,s[n]=a,e.boundaries=l;var c=e.priority,h=t.offsets.popper,d={primary:function(t){var i=h[t];return h[t]l[t]&&!e.escapeWithReference&&(n=Math.min(h[i],l[t]-("right"===t?h.width:h.height))),at({},i,n)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";h=lt({},h,d[e](t))})),t.offsets.popper=h,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,s=t.placement.split("-")[0],o=Math.floor,r=-1!==["top","bottom"].indexOf(s),a=r?"right":"bottom",l=r?"left":"top",c=r?"width":"height";return i[a]o(n[a])&&(t.offsets.popper[l]=o(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!Ft(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return t;var s=t.placement.split("-")[0],o=t.offsets,r=o.popper,a=o.reference,l=-1!==["left","right"].indexOf(s),c=l?"height":"width",h=l?"Top":"Left",d=h.toLowerCase(),u=l?"left":"top",f=l?"bottom":"right",p=bt(n)[c];a[f]-pr[f]&&(t.offsets.popper[d]+=a[d]+p-r[f]),t.offsets.popper=ct(t.offsets.popper);var m=a[d]+a[c]/2-p/2,g=$(t.instance.popper),_=parseFloat(g["margin"+h]),v=parseFloat(g["border"+h+"Width"]),b=m-t.offsets.popper[d]-_-v;return b=Math.max(Math.min(r[c]-p,b),0),t.arrowElement=n,t.offsets.arrow=(at(i={},d,Math.round(b)),at(i,u,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(St(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var i=mt(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],s=yt(n),o=t.placement.split("-")[1]||"",r=[];switch(e.behavior){case Mt:r=[n,s];break;case qt:r=Ht(n);break;case Qt:r=Ht(n,!0);break;default:r=e.behavior}return r.forEach((function(a,l){if(n!==a||r.length===l+1)return t;n=t.placement.split("-")[0],s=yt(n);var c=t.offsets.popper,h=t.offsets.reference,d=Math.floor,u="left"===n&&d(c.right)>d(h.left)||"right"===n&&d(c.left)d(h.top)||"bottom"===n&&d(c.top)d(i.right),m=d(c.top)d(i.bottom),_="left"===n&&f||"right"===n&&p||"top"===n&&m||"bottom"===n&&g,v=-1!==["top","bottom"].indexOf(n),b=!!e.flipVariations&&(v&&"start"===o&&f||v&&"end"===o&&p||!v&&"start"===o&&m||!v&&"end"===o&&g),y=!!e.flipVariationsByContent&&(v&&"start"===o&&p||v&&"end"===o&&f||!v&&"start"===o&&g||!v&&"end"===o&&m),E=b||y;(u||_||E)&&(t.flipped=!0,(u||_)&&(n=r[l+1]),E&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=n+(o?"-"+o:""),t.offsets.popper=lt({},t.offsets.popper,Et(t.instance.popper,t.offsets.reference,t.placement)),t=Tt(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,s=n.popper,o=n.reference,r=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return s[r?"left":"top"]=o[i]-(a?s[r?"width":"height"]:0),t.placement=yt(e),t.offsets.popper=ct(s),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Ft(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=wt(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottomi.right||e.top>i.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};ot(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=Q(this.update.bind(this)),this.options=lt({},t.Defaults,s),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(lt({},t.Defaults.modifiers,s.modifiers)).forEach((function(e){n.options.modifiers[e]=lt({},t.Defaults.modifiers[e]||{},s.modifiers?s.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return lt({name:t},n.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&W(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)})),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return rt(t,[{key:"update",value:function(){return Ct.call(this)}},{key:"destroy",value:function(){return Nt.call(this)}},{key:"enableEventListeners",value:function(){return xt.call(this)}},{key:"disableEventListeners",value:function(){return kt.call(this)}}]),t}();Vt.Utils=("undefined"!=typeof window?window:global).PopperUtils,Vt.placements=Rt,Vt.Defaults=Ut;var Yt=Vt;const zt="dropdown",Kt="bs.dropdown",Xt=".bs.dropdown",Jt=e.fn[zt],Gt=new RegExp("38|40|27"),Zt="disabled",te="show",ee="dropdown-menu-right",ie="hide.bs.dropdown",ne="hidden.bs.dropdown",se="click.bs.dropdown.data-api",oe="keydown.bs.dropdown.data-api",re='[data-toggle="dropdown"]',ae=".dropdown-menu",le={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},ce={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"};class he{constructor(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}static get VERSION(){return"4.6.2"}static get Default(){return le}static get DefaultType(){return ce}toggle(){if(this._element.disabled||e(this._element).hasClass(Zt))return;const t=e(this._menu).hasClass(te);he._clearMenus(),t||this.show(!0)}show(t=!1){if(this._element.disabled||e(this._element).hasClass(Zt)||e(this._menu).hasClass(te))return;const i={relatedTarget:this._element},n=e.Event("show.bs.dropdown",i),o=he._getParentFromElement(this._element);if(e(o).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar&&t){if(void 0===Yt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=o:s.isElement(this._config.reference)&&(t=this._config.reference,void 0!==this._config.reference.jquery&&(t=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e(o).addClass("position-static"),this._popper=new Yt(t,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===e(o).closest(".navbar-nav").length&&e(document.body).children().on("mouseover",null,e.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),e(this._menu).toggleClass(te),e(o).toggleClass(te).trigger(e.Event("shown.bs.dropdown",i))}}hide(){if(this._element.disabled||e(this._element).hasClass(Zt)||!e(this._menu).hasClass(te))return;const t={relatedTarget:this._element},i=e.Event(ie,t),n=he._getParentFromElement(this._element);e(n).trigger(i),i.isDefaultPrevented()||(this._popper&&this._popper.destroy(),e(this._menu).toggleClass(te),e(n).toggleClass(te).trigger(e.Event(ne,t)))}dispose(){e.removeData(this._element,Kt),e(this._element).off(Xt),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)}update(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()}_addEventListeners(){e(this._element).on("click.bs.dropdown",(t=>{t.preventDefault(),t.stopPropagation(),this.toggle()}))}_getConfig(t){return t={...this.constructor.Default,...e(this._element).data(),...t},s.typeCheckConfig(zt,t,this.constructor.DefaultType),t}_getMenuElement(){if(!this._menu){const t=he._getParentFromElement(this._element);t&&(this._menu=t.querySelector(ae))}return this._menu}_getPlacement(){const t=e(this._element.parentNode);let i="bottom-start";return t.hasClass("dropup")?i=e(this._menu).hasClass(ee)?"top-end":"top-start":t.hasClass("dropright")?i="right-start":t.hasClass("dropleft")?i="left-start":e(this._menu).hasClass(ee)&&(i="bottom-end"),i}_detectNavbar(){return e(this._element).closest(".navbar").length>0}_getOffset(){const t={};return"function"==typeof this._config.offset?t.fn=t=>(t.offsets={...t.offsets,...this._config.offset(t.offsets,this._element)},t):t.offset=this._config.offset,t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),{...t,...this._config.popperConfig}}static _jQueryInterface(t){return this.each((function(){let i=e(this).data(Kt);if(i||(i=new he(this,"object"==typeof t?t:null),e(this).data(Kt,i)),"string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}static _clearMenus(t){if(t&&(3===t.which||"keyup"===t.type&&9!==t.which))return;const i=[].slice.call(document.querySelectorAll(re));for(let n=0,s=i.length;ne(t).is(":visible")));if(0===s.length)return;let o=s.indexOf(t.target);38===t.which&&o>0&&o--,40===t.which&&o{t.stopPropagation()})),e.fn[zt]=he._jQueryInterface,e.fn[zt].Constructor=he,e.fn[zt].noConflict=()=>(e.fn[zt]=Jt,he._jQueryInterface);const de="modal",ue="bs.modal",fe=".bs.modal",pe=e.fn.modal,me="modal-open",ge="fade",_e="show",ve="modal-static",be="hidden.bs.modal",ye="show.bs.modal",Ee="focusin.bs.modal",we="resize.bs.modal",Te="click.dismiss.bs.modal",Ce="keydown.dismiss.bs.modal",Se="mousedown.dismiss.bs.modal",De=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ne=".sticky-top",Ae={backdrop:!0,keyboard:!0,focus:!0,show:!0},Ie={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"};class Oe{constructor(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}static get VERSION(){return"4.6.2"}static get Default(){return Ae}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;const i=e.Event(ye,{relatedTarget:t});e(this._element).trigger(i),i.isDefaultPrevented()||(this._isShown=!0,e(this._element).hasClass(ge)&&(this._isTransitioning=!0),this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),e(this._element).on(Te,'[data-dismiss="modal"]',(t=>this.hide(t))),e(this._dialog).on(Se,(()=>{e(this._element).one("mouseup.dismiss.bs.modal",(t=>{e(t.target).is(this._element)&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(t))))}hide(t){if(t&&t.preventDefault(),!this._isShown||this._isTransitioning)return;const i=e.Event("hide.bs.modal");if(e(this._element).trigger(i),!this._isShown||i.isDefaultPrevented())return;this._isShown=!1;const n=e(this._element).hasClass(ge);if(n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),e(document).off(Ee),e(this._element).removeClass(_e),e(this._element).off(Te),e(this._dialog).off(Se),n){const t=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,(t=>this._hideModal(t))).emulateTransitionEnd(t)}else this._hideModal()}dispose(){[window,this._element,this._dialog].forEach((t=>e(t).off(fe))),e(document).off(Ee),e.removeData(this._element,ue),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null}handleUpdate(){this._adjustDialog()}_getConfig(t){return t={...Ae,...t},s.typeCheckConfig(de,t,Ie),t}_triggerBackdropTransition(){const t=e.Event("hidePrevented.bs.modal");if(e(this._element).trigger(t),t.isDefaultPrevented())return;const i=this._element.scrollHeight>document.documentElement.clientHeight;i||(this._element.style.overflowY="hidden"),this._element.classList.add(ve);const n=s.getTransitionDurationFromElement(this._dialog);e(this._element).off(s.TRANSITION_END),e(this._element).one(s.TRANSITION_END,(()=>{this._element.classList.remove(ve),i||e(this._element).one(s.TRANSITION_END,(()=>{this._element.style.overflowY=""})).emulateTransitionEnd(this._element,n)})).emulateTransitionEnd(n),this._element.focus()}_showElement(t){const i=e(this._element).hasClass(ge),n=this._dialog?this._dialog.querySelector(".modal-body"):null;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"),e(this._dialog).hasClass("modal-dialog-scrollable")&&n?n.scrollTop=0:this._element.scrollTop=0,i&&s.reflow(this._element),e(this._element).addClass(_e),this._config.focus&&this._enforceFocus();const o=e.Event("shown.bs.modal",{relatedTarget:t}),r=()=>{this._config.focus&&this._element.focus(),this._isTransitioning=!1,e(this._element).trigger(o)};if(i){const t=s.getTransitionDurationFromElement(this._dialog);e(this._dialog).one(s.TRANSITION_END,r).emulateTransitionEnd(t)}else r()}_enforceFocus(){e(document).off(Ee).on(Ee,(t=>{document!==t.target&&this._element!==t.target&&0===e(this._element).has(t.target).length&&this._element.focus()}))}_setEscapeEvent(){this._isShown?e(this._element).on(Ce,(t=>{this._config.keyboard&&27===t.which?(t.preventDefault(),this.hide()):this._config.keyboard||27!==t.which||this._triggerBackdropTransition()})):this._isShown||e(this._element).off(Ce)}_setResizeEvent(){this._isShown?e(window).on(we,(t=>this.handleUpdate(t))):e(window).off(we)}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((()=>{e(document.body).removeClass(me),this._resetAdjustments(),this._resetScrollbar(),e(this._element).trigger(be)}))}_removeBackdrop(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)}_showBackdrop(t){const i=e(this._element).hasClass(ge)?ge:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add(i),e(this._backdrop).appendTo(document.body),e(this._element).on(Te,(t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===this._config.backdrop?this._triggerBackdropTransition():this.hide())})),i&&s.reflow(this._backdrop),e(this._backdrop).addClass(_e),!t)return;if(!i)return void t();const n=s.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(s.TRANSITION_END,t).emulateTransitionEnd(n)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass(_e);const i=()=>{this._removeBackdrop(),t&&t()};if(e(this._element).hasClass(ge)){const t=s.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(s.TRANSITION_END,i).emulateTransitionEnd(t)}else i()}else t&&t()}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=`${this._scrollbarWidth}px`),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=`${this._scrollbarWidth}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}_checkScrollbar(){const t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right){const n=i.style.paddingRight,s=e(i).css("padding-right");e(i).data("padding-right",n).css("padding-right",`${parseFloat(s)+this._scrollbarWidth}px`)})),e(i).each(((t,i)=>{const n=i.style.marginRight,s=e(i).css("margin-right");e(i).data("margin-right",n).css("margin-right",parseFloat(s)-this._scrollbarWidth+"px")}));const n=document.body.style.paddingRight,s=e(document.body).css("padding-right");e(document.body).data("padding-right",n).css("padding-right",`${parseFloat(s)+this._scrollbarWidth}px`)}e(document.body).addClass(me)}_resetScrollbar(){const t=[].slice.call(document.querySelectorAll(De));e(t).each(((t,i)=>{const n=e(i).data("padding-right");e(i).removeData("padding-right"),i.style.paddingRight=n||""}));const i=[].slice.call(document.querySelectorAll(".sticky-top"));e(i).each(((t,i)=>{const n=e(i).data("margin-right");void 0!==n&&e(i).css("margin-right",n).removeData("margin-right")}));const n=e(document.body).data("padding-right");e(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""}_getScrollbarWidth(){const t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);const e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e}static _jQueryInterface(t,i){return this.each((function(){let n=e(this).data(ue);const s={...Ae,...e(this).data(),..."object"==typeof t&&t?t:{}};if(n||(n=new Oe(this,s),e(this).data(ue,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t](i)}else s.show&&n.show(i)}))}}e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(t){let i;const n=s.getSelectorFromElement(this);n&&(i=document.querySelector(n));const o=e(i).data(ue)?"toggle":{...e(i).data(),...e(this).data()};"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();const r=e(i).one(ye,(t=>{t.isDefaultPrevented()||r.one(be,(()=>{e(this).is(":visible")&&this.focus()}))}));Oe._jQueryInterface.call(e(i),o,this)})),e.fn.modal=Oe._jQueryInterface,e.fn.modal.Constructor=Oe,e.fn.modal.noConflict=()=>(e.fn.modal=pe,Oe._jQueryInterface);const xe=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],ke={"*":["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:[]},Le=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,je=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function Pe(t,e){const i=t.nodeName.toLowerCase();if(-1!==e.indexOf(i))return-1===xe.indexOf(i)||Boolean(Le.test(t.nodeValue)||je.test(t.nodeValue));const n=e.filter((t=>t instanceof RegExp));for(let t=0,e=n.length;t{Pe(t,a)||i.removeAttribute(t.nodeName)}))}return n.body.innerHTML}const Re="tooltip",Be="bs.tooltip",He=".bs.tooltip",Me=e.fn.tooltip,qe=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Qe=["sanitize","whiteList","sanitizeFn"],We="fade",$e="show",Ue="show",Ve="out",Ye="hover",ze="focus",Ke={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Xe={animation:!0,template:'',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:ke,popperConfig:null},Je={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},Ge={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"};class Ze{constructor(t,e){if(void 0===Yt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}static get VERSION(){return"4.6.2"}static get Default(){return Xe}static get NAME(){return Re}static get DATA_KEY(){return Be}static get Event(){return Ge}static get EVENT_KEY(){return He}static get DefaultType(){return Je}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const i=this.constructor.DATA_KEY;let n=e(t.currentTarget).data(i);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(e(this.getTipElement()).hasClass($e))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),e.removeData(this.element,this.constructor.DATA_KEY),e(this.element).off(this.constructor.EVENT_KEY),e(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null}show(){if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");const t=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(t);const i=s.findShadowRoot(this.element),n=e.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!n)return;const o=this.getTipElement(),r=s.getUID(this.constructor.NAME);o.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&e(o).addClass(We);const a="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,l=this._getAttachment(a);this.addAttachmentClass(l);const c=this._getContainer();e(o).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(o).appendTo(c),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new Yt(this.element,o,this._getPopperConfig(l)),e(o).addClass($e),e(o).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&e(document.body).children().on("mouseover",null,e.noop);const h=()=>{this.config.animation&&this._fixTransition();const t=this._hoverState;this._hoverState=null,e(this.element).trigger(this.constructor.Event.SHOWN),t===Ve&&this._leave(null,this)};if(e(this.tip).hasClass(We)){const t=s.getTransitionDurationFromElement(this.tip);e(this.tip).one(s.TRANSITION_END,h).emulateTransitionEnd(t)}else h()}}hide(t){const i=this.getTipElement(),n=e.Event(this.constructor.Event.HIDE),o=()=>{this._hoverState!==Ue&&i.parentNode&&i.parentNode.removeChild(i),this._cleanTipClass(),this.element.removeAttribute("aria-describedby"),e(this.element).trigger(this.constructor.Event.HIDDEN),null!==this._popper&&this._popper.destroy(),t&&t()};if(e(this.element).trigger(n),!n.isDefaultPrevented()){if(e(i).removeClass($e),"ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,e(this.tip).hasClass(We)){const t=s.getTransitionDurationFromElement(i);e(i).one(s.TRANSITION_END,o).emulateTransitionEnd(t)}else o();this._hoverState=""}}update(){null!==this._popper&&this._popper.scheduleUpdate()}isWithContent(){return Boolean(this.getTitle())}addAttachmentClass(t){e(this.getTipElement()).addClass(`bs-tooltip-${t}`)}getTipElement(){return this.tip=this.tip||e(this.config.template)[0],this.tip}setContent(){const t=this.getTipElement();this.setElementContent(e(t.querySelectorAll(".tooltip-inner")),this.getTitle()),e(t).removeClass("fade show")}setElementContent(t,i){"object"!=typeof i||!i.nodeType&&!i.jquery?this.config.html?(this.config.sanitize&&(i=Fe(i,this.config.whiteList,this.config.sanitizeFn)),t.html(i)):t.text(i):this.config.html?e(i).parent().is(t)||t.empty().append(i):t.text(e(i).text())}getTitle(){let t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t}_getPopperConfig(t){return{...{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:t=>{t.originalPlacement!==t.placement&&this._handlePopperPlacementChange(t)},onUpdate:t=>this._handlePopperPlacementChange(t)},...this.config.popperConfig}}_getOffset(){const t={};return"function"==typeof this.config.offset?t.fn=t=>(t.offsets={...t.offsets,...this.config.offset(t.offsets,this.element)},t):t.offset=this.config.offset,t}_getContainer(){return!1===this.config.container?document.body:s.isElement(this.config.container)?e(this.config.container):e(document).find(this.config.container)}_getAttachment(t){return Ke[t.toUpperCase()]}_setListeners(){this.config.trigger.split(" ").forEach((t=>{if("click"===t)e(this.element).on(this.constructor.Event.CLICK,this.config.selector,(t=>this.toggle(t)));else if("manual"!==t){const i=t===Ye?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,n=t===Ye?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;e(this.element).on(i,this.config.selector,(t=>this._enter(t))).on(n,this.config.selector,(t=>this._leave(t)))}})),this._hideModalHandler=()=>{this.element&&this.hide()},e(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config={...this.config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))}_enter(t,i){const n=this.constructor.DATA_KEY;(i=i||e(t.currentTarget).data(n))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),t&&(i._activeTrigger["focusin"===t.type?ze:Ye]=!0),e(i.getTipElement()).hasClass($e)||i._hoverState===Ue?i._hoverState=Ue:(clearTimeout(i._timeout),i._hoverState=Ue,i.config.delay&&i.config.delay.show?i._timeout=setTimeout((()=>{i._hoverState===Ue&&i.show()}),i.config.delay.show):i.show())}_leave(t,i){const n=this.constructor.DATA_KEY;(i=i||e(t.currentTarget).data(n))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),t&&(i._activeTrigger["focusout"===t.type?ze:Ye]=!1),i._isWithActiveTrigger()||(clearTimeout(i._timeout),i._hoverState=Ve,i.config.delay&&i.config.delay.hide?i._timeout=setTimeout((()=>{i._hoverState===Ve&&i.hide()}),i.config.delay.hide):i.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const i=e(this.element).data();return Object.keys(i).forEach((t=>{-1!==Qe.indexOf(t)&&delete i[t]})),"number"==typeof(t={...this.constructor.Default,...i,..."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()),s.typeCheckConfig(Re,t,this.constructor.DefaultType),t.sanitize&&(t.template=Fe(t.template,t.whiteList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};if(this.config)for(const e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t}_cleanTipClass(){const t=e(this.getTipElement()),i=t.attr("class").match(qe);null!==i&&i.length&&t.removeClass(i.join(""))}_handlePopperPlacementChange(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))}_fixTransition(){const t=this.getTipElement(),i=this.config.animation;null===t.getAttribute("x-placement")&&(e(t).removeClass(We),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)}static _jQueryInterface(t){return this.each((function(){const i=e(this);let n=i.data(Be);const s="object"==typeof t&&t;if((n||!/dispose|hide/.test(t))&&(n||(n=new Ze(this,s),i.data(Be,n)),"string"==typeof t)){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}))}}e.fn.tooltip=Ze._jQueryInterface,e.fn.tooltip.Constructor=Ze,e.fn.tooltip.noConflict=()=>(e.fn.tooltip=Me,Ze._jQueryInterface);const ti="popover",ei="bs.popover",ii=".bs.popover",ni=e.fn.popover,si=new RegExp("(^|\\s)bs-popover\\S+","g"),oi={...Ze.Default,placement:"right",trigger:"click",content:"",template:''},ri={...Ze.DefaultType,content:"(string|element|function)"},ai={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class li extends Ze{static get VERSION(){return"4.6.2"}static get Default(){return oi}static get NAME(){return ti}static get DATA_KEY(){return ei}static get Event(){return ai}static get EVENT_KEY(){return ii}static get DefaultType(){return ri}isWithContent(){return this.getTitle()||this._getContent()}addAttachmentClass(t){e(this.getTipElement()).addClass(`bs-popover-${t}`)}getTipElement(){return this.tip=this.tip||e(this.config.template)[0],this.tip}setContent(){const t=e(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());let i=this._getContent();"function"==typeof i&&(i=i.call(this.element)),this.setElementContent(t.find(".popover-body"),i),t.removeClass("fade show")}_getContent(){return this.element.getAttribute("data-content")||this.config.content}_cleanTipClass(){const t=e(this.getTipElement()),i=t.attr("class").match(si);null!==i&&i.length>0&&t.removeClass(i.join(""))}static _jQueryInterface(t){return this.each((function(){let i=e(this).data(ei);const n="object"==typeof t?t:null;if((i||!/dispose|hide/.test(t))&&(i||(i=new li(this,n),e(this).data(ei,i)),"string"==typeof t)){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}e.fn.popover=li._jQueryInterface,e.fn.popover.Constructor=li,e.fn.popover.noConflict=()=>(e.fn.popover=ni,li._jQueryInterface);const ci="scrollspy",hi="bs.scrollspy",di=".bs.scrollspy",ui=e.fn[ci],fi="active",pi="position",mi=".nav, .list-group",gi=".nav-link",_i={offset:10,method:"auto",target:""},vi={offset:"number",method:"string",target:"(string|element)"};class bi{constructor(t,i){this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(i),this._selector=`${this._config.target} .nav-link,${this._config.target} .list-group-item,${this._config.target} .dropdown-item`,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on("scroll.bs.scrollspy",(t=>this._process(t))),this.refresh(),this._process()}static get VERSION(){return"4.6.2"}static get Default(){return _i}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":pi,i="auto"===this._config.method?t:this._config.method,n=i===pi?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();[].slice.call(document.querySelectorAll(this._selector)).map((t=>{let o;const r=s.getSelectorFromElement(t);if(r&&(o=document.querySelector(r)),o){const t=o.getBoundingClientRect();if(t.width||t.height)return[e(o)[i]().top+n,r]}return null})).filter(Boolean).sort(((t,e)=>t[0]-e[0])).forEach((t=>{this._offsets.push(t[0]),this._targets.push(t[1])}))}dispose(){e.removeData(this._element,hi),e(this._scrollElement).off(di),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null}_getConfig(t){if("string"!=typeof(t={..._i,..."object"==typeof t&&t?t:{}}).target&&s.isElement(t.target)){let i=e(t.target).attr("id");i||(i=s.getUID(ci),e(t.target).attr("id",i)),t.target=`#${i}`}return s.typeCheckConfig(ci,t,vi),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;){this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t`${e}[data-target="${t}"],${e}[href="${t}"]`)),n=e([].slice.call(document.querySelectorAll(i.join(","))));n.hasClass("dropdown-item")?(n.closest(".dropdown").find(".dropdown-toggle").addClass(fi),n.addClass(fi)):(n.addClass(fi),n.parents(mi).prev(".nav-link, .list-group-item").addClass(fi),n.parents(mi).prev(".nav-item").children(gi).addClass(fi)),e(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:t})}_clear(){[].slice.call(document.querySelectorAll(this._selector)).filter((t=>t.classList.contains(fi))).forEach((t=>t.classList.remove(fi)))}static _jQueryInterface(t){return this.each((function(){let i=e(this).data(hi);if(i||(i=new bi(this,"object"==typeof t&&t),e(this).data(hi,i)),"string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t]()}}))}}e(window).on("load.bs.scrollspy.data-api",(()=>{const t=[].slice.call(document.querySelectorAll('[data-spy="scroll"]'));for(let i=t.length;i--;){const n=e(t[i]);bi._jQueryInterface.call(n,n.data())}})),e.fn[ci]=bi._jQueryInterface,e.fn[ci].Constructor=bi,e.fn[ci].noConflict=()=>(e.fn[ci]=ui,bi._jQueryInterface);const yi="bs.tab",Ei=e.fn.tab,wi="active",Ti="fade",Ci="show",Si=".active",Di="> li > .active";class Ni{constructor(t){this._element=t}static get VERSION(){return"4.6.2"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&e(this._element).hasClass(wi)||e(this._element).hasClass("disabled")||this._element.hasAttribute("disabled"))return;let t,i;const n=e(this._element).closest(".nav, .list-group")[0],o=s.getSelectorFromElement(this._element);if(n){const t="UL"===n.nodeName||"OL"===n.nodeName?Di:Si;i=e.makeArray(e(n).find(t)),i=i[i.length-1]}const r=e.Event("hide.bs.tab",{relatedTarget:this._element}),a=e.Event("show.bs.tab",{relatedTarget:i});if(i&&e(i).trigger(r),e(this._element).trigger(a),a.isDefaultPrevented()||r.isDefaultPrevented())return;o&&(t=document.querySelector(o)),this._activate(this._element,n);const l=()=>{const t=e.Event("hidden.bs.tab",{relatedTarget:this._element}),n=e.Event("shown.bs.tab",{relatedTarget:i});e(i).trigger(t),e(this._element).trigger(n)};t?this._activate(t,t.parentNode,l):l()}dispose(){e.removeData(this._element,yi),this._element=null}_activate(t,i,n){const o=(!i||"UL"!==i.nodeName&&"OL"!==i.nodeName?e(i).children(Si):e(i).find(Di))[0],r=n&&o&&e(o).hasClass(Ti),a=()=>this._transitionComplete(t,o,n);if(o&&r){const t=s.getTransitionDurationFromElement(o);e(o).removeClass(Ci).one(s.TRANSITION_END,a).emulateTransitionEnd(t)}else a()}_transitionComplete(t,i,n){if(i){e(i).removeClass(wi);const t=e(i.parentNode).find("> .dropdown-menu .active")[0];t&&e(t).removeClass(wi),"tab"===i.getAttribute("role")&&i.setAttribute("aria-selected",!1)}e(t).addClass(wi),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),s.reflow(t),t.classList.contains(Ti)&&t.classList.add(Ci);let o=t.parentNode;if(o&&"LI"===o.nodeName&&(o=o.parentNode),o&&e(o).hasClass("dropdown-menu")){const i=e(t).closest(".dropdown")[0];if(i){const t=[].slice.call(i.querySelectorAll(".dropdown-toggle"));e(t).addClass(wi)}t.setAttribute("aria-expanded",!0)}n&&n()}static _jQueryInterface(t){return this.each((function(){const i=e(this);let n=i.data(yi);if(n||(n=new Ni(this),i.data(yi,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}))}}e(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(t){t.preventDefault(),Ni._jQueryInterface.call(e(this),"show")})),e.fn.tab=Ni._jQueryInterface,e.fn.tab.Constructor=Ni,e.fn.tab.noConflict=()=>(e.fn.tab=Ei,Ni._jQueryInterface);const Ai="toast",Ii="bs.toast",Oi=e.fn.toast,xi="hide",ki="show",Li="showing",ji="click.dismiss.bs.toast",Pi={animation:!0,autohide:!0,delay:500},Fi={animation:"boolean",autohide:"boolean",delay:"number"};class Ri{constructor(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}static get VERSION(){return"4.6.2"}static get DefaultType(){return Fi}static get Default(){return Pi}show(){const t=e.Event("show.bs.toast");if(e(this._element).trigger(t),t.isDefaultPrevented())return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");const i=()=>{this._element.classList.remove(Li),this._element.classList.add(ki),e(this._element).trigger("shown.bs.toast"),this._config.autohide&&(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay))};if(this._element.classList.remove(xi),s.reflow(this._element),this._element.classList.add(Li),this._config.animation){const t=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,i).emulateTransitionEnd(t)}else i()}hide(){if(!this._element.classList.contains(ki))return;const t=e.Event("hide.bs.toast");e(this._element).trigger(t),t.isDefaultPrevented()||this._close()}dispose(){this._clearTimeout(),this._element.classList.contains(ki)&&this._element.classList.remove(ki),e(this._element).off(ji),e.removeData(this._element,Ii),this._element=null,this._config=null}_getConfig(t){return t={...Pi,...e(this._element).data(),..."object"==typeof t&&t?t:{}},s.typeCheckConfig(Ai,t,this.constructor.DefaultType),t}_setListeners(){e(this._element).on(ji,'[data-dismiss="toast"]',(()=>this.hide()))}_close(){const t=()=>{this._element.classList.add(xi),e(this._element).trigger("hidden.bs.toast")};if(this._element.classList.remove(ki),this._config.animation){const i=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,t).emulateTransitionEnd(i)}else t()}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static _jQueryInterface(t){return this.each((function(){const i=e(this);let n=i.data(Ii);if(n||(n=new Ri(this,"object"==typeof t&&t),i.data(Ii,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t](this)}}))}}var Bi,Hi,Mi;e.fn.toast=Ri._jQueryInterface,e.fn.toast.Constructor=Ri,e.fn.toast.noConflict=()=>(e.fn.toast=Oi,Ri._jQueryInterface),Bi=navigator.userAgent.toLowerCase().indexOf("webkit")>-1,Hi=navigator.userAgent.toLowerCase().indexOf("opera")>-1,Mi=navigator.userAgent.toLowerCase().indexOf("msie")>-1,(Bi||Hi||Mi)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",(function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())}),!1),t.Alert=a,t.Button=p,t.Carousel=N,t.Collapse=H,t.Dropdown=he,t.Modal=Oe,t.Popover=li,t.Scrollspy=bi,t.Tab=Ni,t.Toast=Ri,t.Tooltip=Ze})); //# sourceMappingURL=theme-bootstrap4.min.js.map