text: !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap={},t.jQuery,t.Popper)}(this,function(t,h,o){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}h=h&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h,o=o&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o;var e="transitionend";function n(t){var e=this,n=!1;return h(this).one(u.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||u.triggerTransitionEnd(e)},t),this}var u={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");e&&"#"!==e||(e=(t=t.getAttribute("href"))&&"#"!==t?t.trim():"");try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=h(t).css("transition-duration"),n=h(t).css("transition-delay"),i=parseFloat(e),t=parseFloat(n);return i||t?(e=e.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(e)+parseFloat(n))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){h(t).trigger(e)},supportsTransitionEnd:function(){return Boolean(e)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],s=e[i],r=s&&u.isElement(s)?"element":null==(r=s)?""+r:{}.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(r))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+r+'" but expected type "'+o+'".')}var r},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"!=typeof t.getRootNode)return t instanceof ShadowRoot?t:t.parentNode?u.findShadowRoot(t.parentNode):null;t=t.getRootNode();return t instanceof ShadowRoot?t:null},jQueryDetection:function(){if(void 0===h)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=h.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};u.jQueryDetection(),h.fn.emulateTransitionEnd=n,h.event.special[u.TRANSITION_END]={bindType:e,delegateType:e,handle:function(t){if(h(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var s="alert",l="bs.alert",c=h.fn[s],d=function(){function i(t){this._element=t}var t=i.prototype;return t.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},t.dispose=function(){h.removeData(this._element,l),this._element=null},t._getRootElement=function(t){var e=u.getSelectorFromElement(t),n=!1;return e&&(n=document.querySelector(e)),n=n||h(t).closest(".alert")[0]},t._triggerCloseEvent=function(t){var e=h.Event("close.bs.alert");return h(t).trigger(e),e},t._removeElement=function(e){var t,n=this;h(e).removeClass("show"),h(e).hasClass("fade")?(t=u.getTransitionDurationFromElement(e),h(e).one(u.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(t)):this._destroyElement(e)},t._destroyElement=function(t){h(t).detach().trigger("closed.bs.alert").remove()},i._jQueryInterface=function(n){return this.each(function(){var t=h(this),e=t.data(l);e||(e=new i(this),t.data(l,e)),"close"===n&&e[n](this)})},i._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},r(i,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),i}();h(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',d._handleDismiss(new d)),h.fn[s]=d._jQueryInterface,h.fn[s].Constructor=d,h.fn[s].noConflict=function(){return h.fn[s]=c,d._jQueryInterface};var f="button",g="bs.button",m=h.fn[f],_="active",p='[data-toggle^="button"]',v='input:not([type="hidden"])',y=".btn",b=function(){function n(t){this._element=t}var t=n.prototype;return t.toggle=function(){var t,e=!0,n=!0,i=h(this._element).closest('[data-toggle="buttons"]')[0];!i||(t=this._element.querySelector(v))&&("radio"===t.type&&(t.checked&&this._element.classList.contains(_)?e=!1:(i=i.querySelector(".active"))&&h(i).removeClass(_)),e&&("checkbox"!==t.type&&"radio"!==t.type||(t.checked=!this._element.classList.contains(_)),h(t).trigger("change")),t.focus(),n=!1),this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(_)),e&&h(this._element).toggleClass(_))},t.dispose=function(){h.removeData(this._element,g),this._element=null},n._jQueryInterface=function(e){return this.each(function(){var t=h(this).data(g);t||(t=new n(this),h(this).data(g,t)),"toggle"===e&&t[e]()})},r(n,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),n}();h(document).on("click.bs.button.data-api",p,function(t){var e,n=t.target,i=n;h(n).hasClass("btn")||(n=h(n).closest(y)[0]),!n||n.hasAttribute("disabled")||n.classList.contains("disabled")||(e=n.querySelector(v))&&(e.hasAttribute("disabled")||e.classList.contains("disabled"))?t.preventDefault():("LABEL"!==i.tagName||e&&"checkbox"!==e.type)&&b._jQueryInterface.call(h(n),"toggle")}).on("focus.bs.button.data-api blur.bs.button.data-api",p,function(t){var e=h(t.target).closest(y)[0];h(e).toggleClass("focus",/^focus(in)?$/.test(t.type))}),h(window).on("load.bs.button.data-api",function(){for(var t=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),e=0,n=t.length;e<n;e++){var i=t[e],o=i.querySelector(v);o.checked||o.hasAttribute("checked")?i.classList.add(_):i.classList.remove(_)}for(var s=0,r=(t=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;s<r;s++){var a=t[s];"true"===a.getAttribute("aria-pressed")?a.classList.add(_):a.classList.remove(_)}}),h.fn[f]=b._jQueryInterface,h.fn[f].Constructor=b,h.fn[f].noConflict=function(){return h.fn[f]=m,b._jQueryInterface};var E="carousel",T="bs.carousel",w="."+T,C=h.fn[E],S={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},D={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},N="next",A="prev",k="slid"+w,I="active",O=".active.carousel-item",j={TOUCH:"touch",PEN:"pen"},P=function(){function o(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||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=o.prototype;return t.next=function(){this._isSliding||this._slide(N)},t.nextWhenVisible=function(){!document.hidden&&h(this._element).is(":visible")&&"hidden"!==h(this._element).css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(A)},t.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(u.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(t){var e=this;this._activeElement=this._element.querySelector(O);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)h(this._element).one(k,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();n=n<t?N:A;this._slide(n,this._items[t])}},t.dispose=function(){h(this._element).off(w),h.removeData(this._element,T),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(t){return t=a({},S,t),u.typeCheckConfig(E,t,D),t},t._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);t<=40||(t=t/this.touchDeltaX,(this.touchDeltaX=0)<t&&this.prev(),t<0&&this.next())},t._addEventListeners=function(){var e=this;this._config.keyboard&&h(this._element).on("keydown.bs.carousel",function(t){return e._keydown(t)}),"hover"===this._config.pause&&h(this._element).on("mouseenter.bs.carousel",function(t){return e.pause(t)}).on("mouseleave.bs.carousel",function(t){return e.cycle(t)}),this._config.touch&&this._addTouchEventListeners()},t._addTouchEventListeners=function(){var t,e,n=this;this._touchSupported&&(t=function(t){n._pointerEvent&&j[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},e=function(t){n._pointerEvent&&j[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX),n._handleSwipe(),"hover"===n._config.pause&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},500+n._config.interval))},h(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",function(t){return t.preventDefault()}),this._pointerEvent?(h(this._element).on("pointerdown.bs.carousel",t),h(this._element).on("pointerup.bs.carousel",e),this._element.classList.add("pointer-event")):(h(this._element).on("touchstart.bs.carousel",t),h(this._element).on("touchmove.bs.carousel",function(t){(t=t).originalEvent.touches&&1<t.originalEvent.touches.length?n.touchDeltaX=0:n.touchDeltaX=t.originalEvent.touches[0].clientX-n.touchStartX}),h(this._element).on("touchend.bs.carousel",e)))},t._keydown=function(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()}},t._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)},t._getItemByDirection=function(t,e){var n=t===N,i=t===A,o=this._getItemIndex(e),s=this._items.length-1;if((i&&0===o||n&&o===s)&&!this._config.wrap)return e;t=(o+(t===A?-1:1))%this._items.length;return-1==t?this._items[this._items.length-1]:this._items[t]},t._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(this._element.querySelector(O)),n=h.Event("slide.bs.carousel",{relatedTarget:t,direction:e,from:i,to:n});return h(this._element).trigger(n),n},t._setActiveIndicatorElement=function(t){var e;this._indicatorsElement&&(e=[].slice.call(this._indicatorsElement.querySelectorAll(".active")),h(e).removeClass(I),(t=this._indicatorsElement.children[this._getItemIndex(t)])&&h(t).addClass(I))},t._slide=function(t,e){var n,i,o,s=this,r=this._element.querySelector(O),a=this._getItemIndex(r),l=e||r&&this._getItemByDirection(t,r),c=this._getItemIndex(l),e=Boolean(this._interval),t=t===N?(n="carousel-item-left",i="carousel-item-next","left"):(n="carousel-item-right",i="carousel-item-prev","right");l&&h(l).hasClass(I)?this._isSliding=!1:this._triggerSlideEvent(l,t).isDefaultPrevented()||r&&l&&(this._isSliding=!0,e&&this.pause(),this._setActiveIndicatorElement(l),o=h.Event(k,{relatedTarget:l,direction:t,from:a,to:c}),h(this._element).hasClass("slide")?(h(l).addClass(i),u.reflow(l),h(r).addClass(n),h(l).addClass(n),(c=parseInt(l.getAttribute("data-interval"),10))?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=c):this._config.interval=this._config.defaultInterval||this._config.interval,c=u.getTransitionDurationFromElement(r),h(r).one(u.TRANSITION_END,function(){h(l).removeClass(n+" "+i).addClass(I),h(r).removeClass(I+" "+i+" "+n),s._isSliding=!1,setTimeout(function(){return h(s._element).trigger(o)},0)}).emulateTransitionEnd(c)):(h(r).removeClass(I),h(l).addClass(I),this._isSliding=!1,h(this._element).trigger(o)),e&&this.cycle())},o._jQueryInterface=function(i){return this.each(function(){var t=h(this).data(T),e=a({},S,h(this).data());"object"==typeof i&&(e=a({},e,i));var n="string"==typeof i?i:e.slide;if(t||(t=new o(this,e),h(this).data(T,t)),"number"==typeof i)t.to(i);else if("string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}else e.interval&&e.ride&&(t.pause(),t.cycle())})},o._dataApiClickHandler=function(t){var e,n,i=u.getSelectorFromElement(this);!i||(e=h(i)[0])&&h(e).hasClass("carousel")&&(n=a({},h(e).data(),h(this).data()),(i=this.getAttribute("data-slide-to"))&&(n.interval=!1),o._jQueryInterface.call(h(e),n),i&&h(e).data(T).to(i),t.preventDefault())},r(o,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return S}}]),o}();h(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",P._dataApiClickHandler),h(window).on("load.bs.carousel.data-api",function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),e=0,n=t.length;e<n;e++){var i=h(t[e]);P._jQueryInterface.call(i,i.data())}}),h.fn[E]=P._jQueryInterface,h.fn[E].Constructor=P,h.fn[E].noConflict=function(){return h.fn[E]=C,P._jQueryInterface};var R="collapse",x="bs.collapse",L=h.fn[R],q={toggle:!0,parent:""},F={toggle:"boolean",parent:"(string|element)"},Q="show",B="collapse",H="collapsing",U="collapsed",M='[data-toggle="collapse"]',W=function(){function s(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(M)),i=0,o=n.length;i<o;i++){var s=n[i],r=u.getSelectorFromElement(s),a=[].slice.call(document.querySelectorAll(r)).filter(function(t){return t===e});null!==r&&0<a.length&&(this._selector=r,this._triggerArray.push(s))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=s.prototype;return t.toggle=function(){h(this._element).hasClass(Q)?this.hide():this.show()},t.show=function(){var t,e,n,i,o=this;this._isTransitioning||h(this._element).hasClass(Q)||(this._parent&&0===(i=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(t){return"string"==typeof o._config.parent?t.getAttribute("data-parent")===o._config.parent:t.classList.contains(B)})).length&&(i=null),i&&(n=h(i).not(this._selector).data(x))&&n._isTransitioning||(t=h.Event("show.bs.collapse"),h(this._element).trigger(t),t.isDefaultPrevented()||(i&&(s._jQueryInterface.call(h(i).not(this._selector),"hide"),n||h(i).data(x,null)),e=this._getDimension(),h(this._element).removeClass(B).addClass(H),this._element.style[e]=0,this._triggerArray.length&&h(this._triggerArray).removeClass(U).attr("aria-expanded",!0),this.setTransitioning(!0),n="scroll"+(e[0].toUpperCase()+e.slice(1)),i=u.getTransitionDurationFromElement(this._element),h(this._element).one(u.TRANSITION_END,function(){h(o._element).removeClass(H).addClass(B+" "+Q),o._element.style[e]="",o.setTransitioning(!1),h(o._element).trigger("shown.bs.collapse")}).emulateTransitionEnd(i),this._element.style[e]=this._element[n]+"px")))},t.hide=function(){var t=this;if(!this._isTransitioning&&h(this._element).hasClass(Q)){var e=h.Event("hide.bs.collapse");if(h(this._element).trigger(e),!e.isDefaultPrevented()){e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",u.reflow(this._element),h(this._element).addClass(H).removeClass(B+" "+Q);var n=this._triggerArray.length;if(0<n)for(var i=0;i<n;i++){var o=this._triggerArray[i],s=u.getSelectorFromElement(o);null!==s&&(h([].slice.call(document.querySelectorAll(s))).hasClass(Q)||h(o).addClass(U).attr("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[e]="";e=u.getTransitionDurationFromElement(this._element);h(this._element).one(u.TRANSITION_END,function(){t.setTransitioning(!1),h(t._element).removeClass(H).addClass(B).trigger("hidden.bs.collapse")}).emulateTransitionEnd(e)}}},t.setTransitioning=function(t){this._isTransitioning=t},t.dispose=function(){h.removeData(this._element,x),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(t){return(t=a({},q,t)).toggle=Boolean(t.toggle),u.typeCheckConfig(R,t,F),t},t._getDimension=function(){return h(this._element).hasClass("width")?"width":"height"},t._getParent=function(){var t,n=this;u.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);var e='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',e=[].slice.call(t.querySelectorAll(e));return h(e).each(function(t,e){n._addAriaAndCollapsedClass(s._getTargetFromElement(e),[e])}),t},t._addAriaAndCollapsedClass=function(t,e){t=h(t).hasClass(Q);e.length&&h(e).toggleClass(U,!t).attr("aria-expanded",t)},s._getTargetFromElement=function(t){t=u.getSelectorFromElement(t);return t?document.querySelector(t):null},s._jQueryInterface=function(i){return this.each(function(){var t=h(this),e=t.data(x),n=a({},q,t.data(),"object"==typeof i&&i?i:{});if(!e&&n.toggle&&"string"==typeof i&&/show|hide/.test(i)&&(n.toggle=!1),e||(e=new s(this,n),t.data(x,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},r(s,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return q}}]),s}();h(document).on("click.bs.collapse.data-api",M,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var n=h(this),t=u.getSelectorFromElement(this),t=[].slice.call(document.querySelectorAll(t));h(t).each(function(){var t=h(this),e=t.data(x)?"toggle":n.data();W._jQueryInterface.call(t,e)})}),h.fn[R]=W._jQueryInterface,h.fn[R].Constructor=W,h.fn[R].noConflict=function(){return h.fn[R]=L,W._jQueryInterface};var V="dropdown",z="bs.dropdown",K="."+z,p=".data-api",X=h.fn[V],Y=new RegExp("38|40|27"),$="hide"+K,J="hidden"+K,G="click"+K+p,Z="keydown"+K+p,tt="disabled",et="show",nt="dropdown-menu-right",it='[data-toggle="dropdown"]',ot=".dropdown-menu",st={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},rt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},at=function(){function c(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=c.prototype;return t.toggle=function(){var t;this._element.disabled||h(this._element).hasClass(tt)||(t=h(this._menu).hasClass(et),c._clearMenus(),t||this.show(!0))},t.show=function(t){if(void 0===t&&(t=!1),!(this._element.disabled||h(this._element).hasClass(tt)||h(this._menu).hasClass(et))){var e={relatedTarget:this._element},n=h.Event("show.bs.dropdown",e),i=c._getParentFromElement(this._element);if(h(i).trigger(n),!n.isDefaultPrevented()){if(!this._inNavbar&&t){if(void 0===o)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");t=this._element;"parent"===this._config.reference?t=i:u.isElement(this._config.reference)&&(t=this._config.reference,void 0!==this._config.reference.jquery&&(t=this._config.reference[0])),"scrollParent"!==this._config.boundary&&h(i).addClass("position-static"),this._popper=new o(t,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===h(i).closest(".navbar-nav").length&&h(document.body).children().on("mouseover",null,h.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),h(this._menu).toggleClass(et),h(i).toggleClass(et).trigger(h.Event("shown.bs.dropdown",e))}}},t.hide=function(){var t,e,n;this._element.disabled||h(this._element).hasClass(tt)||!h(this._menu).hasClass(et)||(t={relatedTarget:this._element},e=h.Event($,t),n=c._getParentFromElement(this._element),h(n).trigger(e),e.isDefaultPrevented()||(this._popper&&this._popper.destroy(),h(this._menu).toggleClass(et),h(n).toggleClass(et).trigger(h.Event(J,t))))},t.dispose=function(){h.removeData(this._element,z),h(this._element).off(K),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;h(this._element).on("click.bs.dropdown",function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},t._getConfig=function(t){return t=a({},this.constructor.Default,h(this._element).data(),t),u.typeCheckConfig(V,t,this.constructor.DefaultType),t},t._getMenuElement=function(){var t;return this._menu||(t=c._getParentFromElement(this._element))&&(this._menu=t.querySelector(ot)),this._menu},t._getPlacement=function(){var t=h(this._element.parentNode),e="bottom-start";return t.hasClass("dropup")?e=h(this._menu).hasClass(nt)?"top-end":"top-start":t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":h(this._menu).hasClass(nt)&&(e="bottom-end"),e},t._detectNavbar=function(){return 0<h(this._element).closest(".navbar").length},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=a({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},t._getPopperConfig=function(){var 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}),a({},t,this._config.popperConfig)},c._jQueryInterface=function(e){return this.each(function(){var t=h(this).data(z);if(t||(t=new c(this,"object"==typeof e?e:null),h(this).data(z,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},c._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var e=[].slice.call(document.querySelectorAll(it)),n=0,i=e.length;n<i;n++){var o,s,r=c._getParentFromElement(e[n]),a=h(e[n]).data(z),l={relatedTarget:e[n]};t&&"click"===t.type&&(l.clickEvent=t),a&&(o=a._menu,h(r).hasClass(et)&&(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&h.contains(r,t.target)||(s=h.Event($,l),h(r).trigger(s),s.isDefaultPrevented()||("ontouchstart"in document.documentElement&&h(document.body).children().off("mouseover",null,h.noop),e[n].setAttribute("aria-expanded","false"),a._popper&&a._popper.destroy(),h(o).removeClass(et),h(r).removeClass(et).trigger(h.Event(J,l))))))}},c._getParentFromElement=function(t){var e,n=u.getSelectorFromElement(t);return n&&(e=document.querySelector(n)),e||t.parentNode},c._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||h(t.target).closest(ot).length)):Y.test(t.which))&&!this.disabled&&!h(this).hasClass(tt)){var e=c._getParentFromElement(this),n=h(e).hasClass(et);if(n||27!==t.which){if(t.preventDefault(),t.stopPropagation(),!n||n&&(27===t.which||32===t.which))return 27===t.which&&h(e.querySelector(it)).trigger("focus"),void h(this).trigger("click");n=[].slice.call(e.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function(t){return h(t).is(":visible")});0!==n.length&&(e=n.indexOf(t.target),38===t.which&&0<e&&e--,40===t.which&&e<n.length-1&&e++,e<0&&(e=0),n[e].focus())}}},r(c,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return st}},{key:"DefaultType",get:function(){return rt}}]),c}();h(document).on(Z,it,at._dataApiKeydownHandler).on(Z,ot,at._dataApiKeydownHandler).on(G+" keyup.bs.dropdown.data-api",at._clearMenus).on(G,it,function(t){t.preventDefault(),t.stopPropagation(),at._jQueryInterface.call(h(this),"toggle")}).on(G,".dropdown form",function(t){t.stopPropagation()}),h.fn[V]=at._jQueryInterface,h.fn[V].Constructor=at,h.fn[V].noConflict=function(){return h.fn[V]=X,at._jQueryInterface};var lt="modal",ct="bs.modal",ht="."+ct,ut=h.fn[lt],dt={backdrop:!0,keyboard:!0,focus:!0,show:!0},ft={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},gt="hidden"+ht,mt="show"+ht,_t="focusin"+ht,pt="resize"+ht,vt="click.dismiss"+ht,yt="keydown.dismiss"+ht,bt="mousedown.dismiss"+ht,Et="modal-open",Tt="fade",wt="show",Ct="modal-static",St=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Dt=".sticky-top",Nt=function(){function o(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}var t=o.prototype;return t.toggle=function(t){return this._isShown?this.hide():this.show(t)},t.show=function(t){var e,n=this;this._isShown||this._isTransitioning||(h(this._element).hasClass(Tt)&&(this._isTransitioning=!0),e=h.Event(mt,{relatedTarget:t}),h(this._element).trigger(e),this._isShown||e.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),h(this._element).on(vt,'[data-dismiss="modal"]',function(t){return n.hide(t)}),h(this._dialog).on(bt,function(){h(n._element).one("mouseup.dismiss.bs.modal",function(t){h(t.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(t)})))},t.hide=function(t){var e=this;t&&t.preventDefault(),this._isShown&&!this._isTransitioning&&(t=h.Event("hide.bs.modal"),h(this._element).trigger(t),this._isShown&&!t.isDefaultPrevented()&&(this._isShown=!1,(t=h(this._element).hasClass(Tt))&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),h(document).off(_t),h(this._element).removeClass(wt),h(this._element).off(vt),h(this._dialog).off(bt),t?(t=u.getTransitionDurationFromElement(this._element),h(this._element).one(u.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(t)):this._hideModal()))},t.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return h(t).off(ht)}),h(document).off(_t),h.removeData(this._element,ct),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},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(t){return t=a({},dt,t),u.typeCheckConfig(lt,t,ft),t},t._triggerBackdropTransition=function(){var t,e,n,i=this;"static"===this._config.backdrop?(t=h.Event("hidePrevented.bs.modal"),h(this._element).trigger(t),t.defaultPrevented||((e=this._element.scrollHeight>document.documentElement.clientHeight)||(this._element.style.overflowY="hidden"),this._element.classList.add(Ct),n=u.getTransitionDurationFromElement(this._dialog),h(this._element).off(u.TRANSITION_END),h(this._element).one(u.TRANSITION_END,function(){i._element.classList.remove(Ct),e||h(i._element).one(u.TRANSITION_END,function(){i._element.style.overflowY=""}).emulateTransitionEnd(i._element,n)}).emulateTransitionEnd(n),this._element.focus())):this.hide()},t._showElement=function(t){var e=this,n=h(this._element).hasClass(Tt),i=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"),h(this._dialog).hasClass("modal-dialog-scrollable")&&i?i.scrollTop=0:this._element.scrollTop=0,n&&u.reflow(this._element),h(this._element).addClass(wt),this._config.focus&&this._enforceFocus();var o=h.Event("shown.bs.modal",{relatedTarget:t}),t=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,h(e._element).trigger(o)};n?(n=u.getTransitionDurationFromElement(this._dialog),h(this._dialog).one(u.TRANSITION_END,t).emulateTransitionEnd(n)):t()},t._enforceFocus=function(){var e=this;h(document).off(_t).on(_t,function(t){document!==t.target&&e._element!==t.target&&0===h(e._element).has(t.target).length&&e._element.focus()})},t._setEscapeEvent=function(){var e=this;this._isShown?h(this._element).on(yt,function(t){e._config.keyboard&&27===t.which?(t.preventDefault(),e.hide()):e._config.keyboard||27!==t.which||e._triggerBackdropTransition()}):this._isShown||h(this._element).off(yt)},t._setResizeEvent=function(){var e=this;this._isShown?h(window).on(pt,function(t){return e.handleUpdate(t)}):h(window).off(pt)},t._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(function(){h(document.body).removeClass(Et),t._resetAdjustments(),t._resetScrollbar(),h(t._element).trigger(gt)})},t._removeBackdrop=function(){this._backdrop&&(h(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(t){var e,n=this,i=h(this._element).hasClass(Tt)?Tt:"";this._isShown&&this._config.backdrop?(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add(i),h(this._backdrop).appendTo(document.body),h(this._element).on(vt,function(t){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:t.target===t.currentTarget&&n._triggerBackdropTransition()}),i&&u.reflow(this._backdrop),h(this._backdrop).addClass(wt),t&&(i?(e=u.getTransitionDurationFromElement(this._backdrop),h(this._backdrop).one(u.TRANSITION_END,t).emulateTransitionEnd(e)):t())):!this._isShown&&this._backdrop?(h(this._backdrop).removeClass(wt),i=function(){n._removeBackdrop(),t&&t()},h(this._element).hasClass(Tt)?(e=u.getTransitionDurationFromElement(this._backdrop),h(this._backdrop).one(u.TRANSITION_END,i).emulateTransitionEnd(e)):i()):t&&t()},t._adjustDialog=function(){var 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")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var t,e,o=this;this._isBodyOverflowing&&(t=[].slice.call(document.querySelectorAll(St)),e=[].slice.call(document.querySelectorAll(Dt)),h(t).each(function(t,e){var n=e.style.paddingRight,i=h(e).css("padding-right");h(e).data("padding-right",n).css("padding-right",parseFloat(i)+o._scrollbarWidth+"px")}),h(e).each(function(t,e){var n=e.style.marginRight,i=h(e).css("margin-right");h(e).data("margin-right",n).css("margin-right",parseFloat(i)-o._scrollbarWidth+"px")}),t=document.body.style.paddingRight,e=h(document.body).css("padding-right"),h(document.body).data("padding-right",t).css("padding-right",parseFloat(e)+this._scrollbarWidth+"px")),h(document.body).addClass(Et)},t._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(St));h(t).each(function(t,e){var n=h(e).data("padding-right");h(e).removeData("padding-right"),e.style.paddingRight=n||""});t=[].slice.call(document.querySelectorAll(Dt));h(t).each(function(t,e){var n=h(e).data("margin-right");void 0!==n&&h(e).css("margin-right",n).removeData("margin-right")});t=h(document.body).data("padding-right");h(document.body).removeData("padding-right"),document.body.style.paddingRight=t||""},t._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},o._jQueryInterface=function(n,i){return this.each(function(){var t=h(this).data(ct),e=a({},dt,h(this).data(),"object"==typeof n&&n?n:{});if(t||(t=new o(this,e),h(this).data(ct,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n](i)}else e.show&&t.show(i)})},r(o,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return dt}}]),o}();h(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e,n=this,i=u.getSelectorFromElement(this);i&&(e=document.querySelector(i));i=h(e).data(ct)?"toggle":a({},h(e).data(),h(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var o=h(e).one(mt,function(t){t.isDefaultPrevented()||o.one(gt,function(){h(n).is(":visible")&&n.focus()})});Nt._jQueryInterface.call(h(e),i,this)}),h.fn[lt]=Nt._jQueryInterface,h.fn[lt].Constructor=Nt,h.fn[lt].noConflict=function(){return h.fn[lt]=ut,Nt._jQueryInterface};var At=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],G={"*":["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:[]},kt=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,It=/^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 Ot(t,s,e){if(0===t.length)return t;if(e&&"function"==typeof e)return e(t);for(var t=(new window.DOMParser).parseFromString(t,"text/html"),r=Object.keys(s),a=[].slice.call(t.body.querySelectorAll("*")),n=function(t,e){var n=a[t],i=n.nodeName.toLowerCase();if(-1===r.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var t=[].slice.call(n.attributes),o=[].concat(s["*"]||[],s[i]||[]);t.forEach(function(t){!function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===At.indexOf(n)||Boolean(t.nodeValue.match(kt)||t.nodeValue.match(It));for(var i=e.filter(function(t){return t instanceof RegExp}),o=0,s=i.length;o<s;o++)if(n.match(i[o]))return 1}(t,o)&&n.removeAttribute(t.nodeName)})},i=0,o=a.length;i<o;i++)n(i);return t.body.innerHTML}var jt="tooltip",Pt="bs.tooltip",Rt="."+Pt,xt=h.fn[jt],Lt="bs-tooltip",qt=new RegExp("(^|\\s)"+Lt+"\\S+","g"),Ft=["sanitize","whiteList","sanitizeFn"],Qt={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)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},Bt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Ht={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:G,popperConfig:null},Ut="show",Mt={HIDE:"hide"+Rt,HIDDEN:"hidden"+Rt,SHOW:"show"+Rt,SHOWN:"shown"+Rt,INSERTED:"inserted"+Rt,CLICK:"click"+Rt,FOCUSIN:"focusin"+Rt,FOCUSOUT:"focusout"+Rt,MOUSEENTER:"mouseenter"+Rt,MOUSELEAVE:"mouseleave"+Rt},Wt="fade",Vt="show",zt="hover",Kt="focus",Xt=function(){function i(t,e){if(void 0===o)throw new TypeError("Bootstrap's tooltips require Popper.js (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()}var t=i.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(t){var e,n;this._isEnabled&&(t?(e=this.constructor.DATA_KEY,(n=h(t.currentTarget).data(e))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),h(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)):h(this.getTipElement()).hasClass(Vt)?this._leave(null,this):this._enter(null,this))},t.dispose=function(){clearTimeout(this._timeout),h.removeData(this.element,this.constructor.DATA_KEY),h(this.element).off(this.constructor.EVENT_KEY),h(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&h(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},t.show=function(){var e=this;if("none"===h(this.element).css("display"))throw new Error("Please use show on visible elements");var t,n,i=h.Event(this.constructor.Event.SHOW);this.isWithContent()&&this._isEnabled&&(h(this.element).trigger(i),n=u.findShadowRoot(this.element),t=h.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element),!i.isDefaultPrevented()&&t&&(n=this.getTipElement(),i=u.getUID(this.constructor.NAME),n.setAttribute("id",i),this.element.setAttribute("aria-describedby",i),this.setContent(),this.config.animation&&h(n).addClass(Wt),t="function"==typeof this.config.placement?this.config.placement.call(this,n,this.element):this.config.placement,i=this._getAttachment(t),this.addAttachmentClass(i),t=this._getContainer(),h(n).data(this.constructor.DATA_KEY,this),h.contains(this.element.ownerDocument.documentElement,this.tip)||h(n).appendTo(t),h(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new o(this.element,n,this._getPopperConfig(i)),h(n).addClass(Vt),"ontouchstart"in document.documentElement&&h(document.body).children().on("mouseover",null,h.noop),i=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,h(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)},h(this.tip).hasClass(Wt)?(n=u.getTransitionDurationFromElement(this.tip),h(this.tip).one(u.TRANSITION_END,i).emulateTransitionEnd(n)):i()))},t.hide=function(t){function e(){n._hoverState!==Ut&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),h(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()}var n=this,i=this.getTipElement(),o=h.Event(this.constructor.Event.HIDE);h(this.element).trigger(o),o.isDefaultPrevented()||(h(i).removeClass(Vt),"ontouchstart"in document.documentElement&&h(document.body).children().off("mouseover",null,h.noop),this._activeTrigger.click=!1,this._activeTrigger[Kt]=!1,this._activeTrigger[zt]=!1,h(this.tip).hasClass(Wt)?(o=u.getTransitionDurationFromElement(i),h(i).one(u.TRANSITION_END,e).emulateTransitionEnd(o)):e(),this._hoverState="")},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){h(this.getTipElement()).addClass(Lt+"-"+t)},t.getTipElement=function(){return this.tip=this.tip||h(this.config.template)[0],this.tip},t.setContent=function(){var t=this.getTipElement();this.setElementContent(h(t.querySelectorAll(".tooltip-inner")),this.getTitle()),h(t).removeClass(Wt+" "+Vt)},t.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=Ot(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?h(e).parent().is(t)||t.empty().append(e):t.text(h(e).text())},t.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},t._getPopperConfig=function(t){var e=this;return a({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},t._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=a({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},t._getContainer=function(){return!1===this.config.container?document.body:u.isElement(this.config.container)?h(this.config.container):h(document).find(this.config.container)},t._getAttachment=function(t){return Bt[t.toUpperCase()]},t._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){var e;"click"===t?h(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)}):"manual"!==t&&(e=t===zt?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,t=t===zt?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT,h(n.element).on(e,n.config.selector,function(t){return n._enter(t)}).on(t,n.config.selector,function(t){return n._leave(t)}))}),this._hideModalHandler=function(){n.element&&n.hide()},h(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=a({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var 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",""))},t._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||h(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),h(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?Kt:zt]=!0),h(e.getTipElement()).hasClass(Vt)||e._hoverState===Ut?e._hoverState=Ut:(clearTimeout(e._timeout),e._hoverState=Ut,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===Ut&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||h(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),h(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?Kt:zt]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())},t._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},t._getConfig=function(t){var e=h(this.element).data();return Object.keys(e).forEach(function(t){-1!==Ft.indexOf(t)&&delete e[t]}),"number"==typeof(t=a({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),u.typeCheckConfig(jt,t,this.constructor.DefaultType),t.sanitize&&(t.template=Ot(t.template,t.whiteList,t.sanitizeFn)),t},t._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},t._cleanTipClass=function(){var t=h(this.getTipElement()),e=t.attr("class").match(qt);null!==e&&e.length&&t.removeClass(e.join(""))},t._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},t._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(h(t).removeClass(Wt),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},i._jQueryInterface=function(n){return this.each(function(){var t=h(this).data(Pt),e="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,e),h(this).data(Pt,t)),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},r(i,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return Ht}},{key:"NAME",get:function(){return jt}},{key:"DATA_KEY",get:function(){return Pt}},{key:"Event",get:function(){return Mt}},{key:"EVENT_KEY",get:function(){return Rt}},{key:"DefaultType",get:function(){return Qt}}]),i}();h.fn[jt]=Xt._jQueryInterface,h.fn[jt].Constructor=Xt,h.fn[jt].noConflict=function(){return h.fn[jt]=xt,Xt._jQueryInterface};var Yt="popover",$t="bs.popover",Jt="."+$t,Gt=h.fn[Yt],Zt="bs-popover",te=new RegExp("(^|\\s)"+Zt+"\\S+","g"),ee=a({},Xt.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),ne=a({},Xt.DefaultType,{content:"(string|element|function)"}),ie={HIDE:"hide"+Jt,HIDDEN:"hidden"+Jt,SHOW:"show"+Jt,SHOWN:"shown"+Jt,INSERTED:"inserted"+Jt,CLICK:"click"+Jt,FOCUSIN:"focusin"+Jt,FOCUSOUT:"focusout"+Jt,MOUSEENTER:"mouseenter"+Jt,MOUSELEAVE:"mouseleave"+Jt},oe=function(t){var e;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n;var n=i.prototype;return n.isWithContent=function(){return this.getTitle()||this._getContent()},n.addAttachmentClass=function(t){h(this.getTipElement()).addClass(Zt+"-"+t)},n.getTipElement=function(){return this.tip=this.tip||h(this.config.template)[0],this.tip},n.setContent=function(){var t=h(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},n._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},n._cleanTipClass=function(){var t=h(this.getTipElement()),e=t.attr("class").match(te);null!==e&&0<e.length&&t.removeClass(e.join(""))},i._jQueryInterface=function(n){return this.each(function(){var t=h(this).data($t),e="object"==typeof n?n:null;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,e),h(this).data($t,t)),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},r(i,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return ee}},{key:"NAME",get:function(){return Yt}},{key:"DATA_KEY",get:function(){return $t}},{key:"Event",get:function(){return ie}},{key:"EVENT_KEY",get:function(){return Jt}},{key:"DefaultType",get:function(){return ne}}]),i}(Xt);h.fn[Yt]=oe._jQueryInterface,h.fn[Yt].Constructor=oe,h.fn[Yt].noConflict=function(){return h.fn[Yt]=Gt,oe._jQueryInterface};var se="scrollspy",re="bs.scrollspy",ae="."+re,le=h.fn[se],ce={offset:10,method:"auto",target:""},he={offset:"number",method:"string",target:"(string|element)"},ue="active",de=".nav, .list-group",fe=".nav-link",ge=".list-group-item",me="position",_e=function(){function n(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+fe+","+this._config.target+" "+ge+","+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,h(this._scrollElement).on("scroll.bs.scrollspy",function(t){return n._process(t)}),this.refresh(),this._process()}var t=n.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?"offset":me,i="auto"===this._config.method?t:this._config.method,o=i===me?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(t){var e,n=u.getSelectorFromElement(t);if(n&&(e=document.querySelector(n)),e){t=e.getBoundingClientRect();if(t.width||t.height)return[h(e)[i]().top+o,n]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},t.dispose=function(){h.removeData(this._element,re),h(this._scrollElement).off(ae),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(t){var e;return"string"!=typeof(t=a({},ce,"object"==typeof t&&t?t:{})).target&&u.isElement(t.target)&&((e=h(t.target).attr("id"))||(e=u.getUID(se),h(t.target).attr("id",e)),t.target="#"+e),u.typeCheckConfig(se,t,he),t},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),n<=t){n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;)this._activeTarget!==this._targets[i]&&t>=this._offsets[i]&&(void 0===this._offsets[i+1]||t<this._offsets[i+1])&&this._activate(this._targets[i])}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),t=h([].slice.call(document.querySelectorAll(t.join(","))));t.hasClass("dropdown-item")?(t.closest(".dropdown").find(".dropdown-toggle").addClass(ue),t.addClass(ue)):(t.addClass(ue),t.parents(de).prev(fe+", "+ge).addClass(ue),t.parents(de).prev(".nav-item").children(fe).addClass(ue)),h(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:e})},t._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains(ue)}).forEach(function(t){return t.classList.remove(ue)})},n._jQueryInterface=function(e){return this.each(function(){var t=h(this).data(re);if(t||(t=new n(this,"object"==typeof e&&e),h(this).data(re,t)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},r(n,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return ce}}]),n}();h(window).on("load.bs.scrollspy.data-api",function(){for(var t=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),e=t.length;e--;){var n=h(t[e]);_e._jQueryInterface.call(n,n.data())}}),h.fn[se]=_e._jQueryInterface,h.fn[se].Constructor=_e,h.fn[se].noConflict=function(){return h.fn[se]=le,_e._jQueryInterface};var pe="bs.tab",ve=h.fn.tab,ye="active",be=".active",Ee="> li > .active",Te=function(){function i(t){this._element=t}var t=i.prototype;return t.show=function(){var t,e,n,i,o,s,r=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&h(this._element).hasClass(ye)||h(this._element).hasClass("disabled")||(s=h(this._element).closest(".nav, .list-group")[0],e=u.getSelectorFromElement(this._element),s&&(o="UL"===s.nodeName||"OL"===s.nodeName?Ee:be,n=(n=h.makeArray(h(s).find(o)))[n.length-1]),i=h.Event("hide.bs.tab",{relatedTarget:this._element}),o=h.Event("show.bs.tab",{relatedTarget:n}),n&&h(n).trigger(i),h(this._element).trigger(o),o.isDefaultPrevented()||i.isDefaultPrevented()||(e&&(t=document.querySelector(e)),this._activate(this._element,s),s=function(){var t=h.Event("hidden.bs.tab",{relatedTarget:r._element}),e=h.Event("shown.bs.tab",{relatedTarget:n});h(n).trigger(t),h(r._element).trigger(e)},t?this._activate(t,t.parentNode,s):s()))},t.dispose=function(){h.removeData(this._element,pe),this._element=null},t._activate=function(t,e,n){var i=this,o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?h(e).children(be):h(e).find(Ee))[0],s=n&&o&&h(o).hasClass("fade"),e=function(){return i._transitionComplete(t,o,n)};o&&s?(s=u.getTransitionDurationFromElement(o),h(o).removeClass("show").one(u.TRANSITION_END,e).emulateTransitionEnd(s)):e()},t._transitionComplete=function(t,e,n){var i;e&&(h(e).removeClass(ye),(i=h(e.parentNode).find("> .dropdown-menu .active")[0])&&h(i).removeClass(ye),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)),h(t).addClass(ye),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),u.reflow(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&h(t.parentNode).hasClass("dropdown-menu")&&((e=h(t).closest(".dropdown")[0])&&(e=[].slice.call(e.querySelectorAll(".dropdown-toggle")),h(e).addClass(ye)),t.setAttribute("aria-expanded",!0)),n&&n()},i._jQueryInterface=function(n){return this.each(function(){var t=h(this),e=t.data(pe);if(e||(e=new i(this),t.data(pe,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},r(i,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),i}();h(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),Te._jQueryInterface.call(h(this),"show")}),h.fn.tab=Te._jQueryInterface,h.fn.tab.Constructor=Te,h.fn.tab.noConflict=function(){return h.fn.tab=ve,Te._jQueryInterface};var we="toast",Ce="bs.toast",G="."+Ce,Se=h.fn[we],De="click.dismiss"+G,Ne="show",Ae="showing",ke={animation:"boolean",autohide:"boolean",delay:"number"},Ie={animation:!0,autohide:!0,delay:500},Oe=function(){function i(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var t=i.prototype;return t.show=function(){var t,e=this,n=h.Event("show.bs.toast");h(this._element).trigger(n),n.isDefaultPrevented()||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),t=function(){e._element.classList.remove(Ae),e._element.classList.add(Ne),h(e._element).trigger("shown.bs.toast"),e._config.autohide&&(e._timeout=setTimeout(function(){e.hide()},e._config.delay))},this._element.classList.remove("hide"),u.reflow(this._element),this._element.classList.add(Ae),this._config.animation?(n=u.getTransitionDurationFromElement(this._element),h(this._element).one(u.TRANSITION_END,t).emulateTransitionEnd(n)):t())},t.hide=function(){var t;this._element.classList.contains(Ne)&&(t=h.Event("hide.bs.toast"),h(this._element).trigger(t),t.isDefaultPrevented()||this._close())},t.dispose=function(){this._clearTimeout(),this._element.classList.contains(Ne)&&this._element.classList.remove(Ne),h(this._element).off(De),h.removeData(this._element,Ce),this._element=null,this._config=null},t._getConfig=function(t){return t=a({},Ie,h(this._element).data(),"object"==typeof t&&t?t:{}),u.typeCheckConfig(we,t,this.constructor.DefaultType),t},t._setListeners=function(){var t=this;h(this._element).on(De,'[data-dismiss="toast"]',function(){return t.hide()})},t._close=function(){function t(){n._element.classList.add("hide"),h(n._element).trigger("hidden.bs.toast")}var e,n=this;this._element.classList.remove(Ne),this._config.animation?(e=u.getTransitionDurationFromElement(this._element),h(this._element).one(u.TRANSITION_END,t).emulateTransitionEnd(e)):t()},t._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},i._jQueryInterface=function(n){return this.each(function(){var t=h(this),e=t.data(Ce);if(e||(e=new i(this,"object"==typeof n&&n),t.data(Ce,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n](this)}})},r(i,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"DefaultType",get:function(){return ke}},{key:"Default",get:function(){return Ie}}]),i}();h.fn[we]=Oe._jQueryInterface,h.fn[we].Constructor=Oe,h.fn[we].noConflict=function(){return h.fn[we]=Se,Oe._jQueryInterface},t.Alert=d,t.Button=b,t.Carousel=P,t.Collapse=W,t.Dropdown=at,t.Modal=Nt,t.Popover=oe,t.Scrollspy=_e,t.Tab=Te,t.Toast=Oe,t.Tooltip=Xt,t.Util=u,Object.defineProperty(t,"__esModule",{value:!0})});
  