(function(n,t){typeof exports=="object"&&typeof module!="undefined"?t(exports,require("jquery"),require("popper.js")):typeof define=="function"&&define.amd?define(["exports","jquery","popper.js"],t):(n=n||self,t(n.bootstrap={},n.jQuery,n.Popper))})(this,function(n,t,i){"use strict";function ou(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function w(n,t,i){return t&&ou(n.prototype,t),i&&ou(n,i),n}function nf(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function su(n,t){var r=Object.keys(n),i;return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(n),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,i)),r}function e(n){for(var i,t=1;t<arguments.length;t++)i=arguments[t]!=null?arguments[t]:{},t%2?su(Object(i),!0).forEach(function(t){nf(n,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):su(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))});return n}function tf(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n;n.__proto__=t}function ff(n){return{}.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase()}function ef(){return{bindType:tr,delegateType:tr,handle:function(n){return t(n.target).is(this)?n.handleObj.handler.apply(this,arguments):undefined}}}function of(n){var u=this,i=!1;t(this).one(r.TRANSITION_END,function(){i=!0});return setTimeout(function(){i||r.triggerTransitionEnd(u)},n),this}function sf(){t.fn.emulateTransitionEnd=of;t.event.special[r.TRANSITION_END]=ef()}function pe(n,t){var r=n.nodeName.toLowerCase(),u,i,f;if(t.indexOf(r)!==-1)return ae.indexOf(r)!==-1?Boolean(n.nodeValue.match(ve)||n.nodeValue.match(ye)):!0;for(u=t.filter(function(n){return n instanceof RegExp}),i=0,f=u.length;i<f;i++)if(r.match(u[i]))return!0;return!1}function vu(n,t,i){var r,e,o;if(n.length===0)return n;if(i&&typeof i=="function")return i(n);var s=new window.DOMParser,u=s.parseFromString(n,"text/html"),h=Object.keys(t),f=[].slice.call(u.body.querySelectorAll("*")),c=function(n){var i=f[n],e=i.nodeName.toLowerCase(),r,u;if(h.indexOf(i.nodeName.toLowerCase())===-1)return i.parentNode.removeChild(i),"continue";r=[].slice.call(i.attributes);u=[].concat(t["*"]||[],t[e]||[]);r.forEach(function(n){pe(n,u)||i.removeAttribute(n.nodeName)})};for(r=0,e=f.length;r<e;r++)o=c(r),o==="continue";return u.body.innerHTML}var r;t=t&&t.hasOwnProperty("default")?t["default"]:t;i=i&&i.hasOwnProperty("default")?i["default"]:i;var tr="transitionend",rf=1e6,uf=1e3;r={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(Math.random()*rf);while(document.getElementById(n));return n},getSelectorFromElement:function(n){var t=n.getAttribute("data-target"),i;t&&t!=="#"||(i=n.getAttribute("href"),t=i&&i!=="#"?i.trim():"");try{return document.querySelector(t)?t:null}catch(r){return null}},getTransitionDurationFromElement:function(n){if(!n)return 0;var i=t(n).css("transition-duration"),r=t(n).css("transition-delay"),u=parseFloat(i),f=parseFloat(r);return!u&&!f?0:(i=i.split(",")[0],r=r.split(",")[0],(parseFloat(i)+parseFloat(r))*uf)},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(n){t(n).trigger(tr)},supportsTransitionEnd:function(){return Boolean(tr)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,t,i){for(var u in i)if(Object.prototype.hasOwnProperty.call(i,u)){var e=i[u],f=t[u],o=f&&r.isElement(f)?"element":ff(f);if(!new RegExp(e).test(o))throw new Error(n.toUpperCase()+": "+('Option "'+u+'" provided type "'+o+'" ')+('but expected type "'+e+'".'));}},findShadowRoot:function(n){if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){var t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?r.findShadowRoot(n.parentNode):null},jQueryDetection:function(){if(typeof t=="undefined")throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var n=t.fn.jquery.split(" ")[0].split("."),i=9;if(n[0]<2&&n[1]<i||n[0]===1&&n[1]===i&&n[2]<1||n[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}};r.jQueryDetection();sf();var fi="alert",hf="4.4.1",ir="bs.alert",yr="."+ir,cf=t.fn[fi],pr={CLOSE:"close"+yr,CLOSED:"closed"+yr,CLICK_DATA_API:"click"+yr+".data-api"},wr={ALERT:"alert",FADE:"fade",SHOW:"show"},wt=function(){function n(n){this._element=n}var i=n.prototype;return i.close=function(n){var t=this._element,i;(n&&(t=this._getRootElement(n)),i=this._triggerCloseEvent(t),i.isDefaultPrevented())||this._removeElement(t)},i.dispose=function(){t.removeData(this._element,ir);this._element=null},i._getRootElement=function(n){var u=r.getSelectorFromElement(n),i=!1;return u&&(i=document.querySelector(u)),i||(i=t(n).closest("."+wr.ALERT)[0]),i},i._triggerCloseEvent=function(n){var i=t.Event(pr.CLOSE);return t(n).trigger(i),i},i._removeElement=function(n){var u=this,i;if(t(n).removeClass(wr.SHOW),!t(n).hasClass(wr.FADE)){this._destroyElement(n);return}i=r.getTransitionDurationFromElement(n);t(n).one(r.TRANSITION_END,function(t){return u._destroyElement(n,t)}).emulateTransitionEnd(i)},i._destroyElement=function(n){t(n).detach().trigger(pr.CLOSED).remove()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(ir);r||(r=new n(this),u.data(ir,r));i==="close"&&r[i](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},w(n,null,[{key:"VERSION",get:function(){return hf}}]),n}();t(document).on(pr.CLICK_DATA_API,{DISMISS:'[data-dismiss="alert"]'}.DISMISS,wt._handleDismiss(new wt));t.fn[fi]=wt._jQueryInterface;t.fn[fi].Constructor=wt;t.fn[fi].noConflict=function(){return t.fn[fi]=cf,wt._jQueryInterface};var ei="button",lf="4.4.1",rr="bs.button",ur="."+rr,fr=".data-api",af=t.fn[ei],y={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},b={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLES:'[data-toggle="buttons"]',DATA_TOGGLE:'[data-toggle="button"]',DATA_TOGGLES_BUTTONS:'[data-toggle="buttons"] .btn',INPUT:'input:not([type="hidden"])',ACTIVE:".active",BUTTON:".btn"},br={CLICK_DATA_API:"click"+ur+fr,FOCUS_BLUR_DATA_API:"focus"+ur+fr+" "+("blur"+ur+fr),LOAD_DATA_API:"load"+ur+fr},oi=function(){function n(n){this._element=n}var i=n.prototype;return i.toggle=function(){var i=!0,u=!0,f=t(this._element).closest(b.DATA_TOGGLES)[0],n,r;f&&(n=this._element.querySelector(b.INPUT),n&&(n.type==="radio"?n.checked&&this._element.classList.contains(y.ACTIVE)?i=!1:(r=f.querySelector(b.ACTIVE),r&&t(r).removeClass(y.ACTIVE)):n.type==="checkbox"?this._element.tagName==="LABEL"&&n.checked===this._element.classList.contains(y.ACTIVE)&&(i=!1):i=!1,i&&(n.checked=!this._element.classList.contains(y.ACTIVE),t(n).trigger("change")),n.focus(),u=!1));this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(u&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(y.ACTIVE)),i&&t(this._element).toggleClass(y.ACTIVE))},i.dispose=function(){t.removeData(this._element,rr);this._element=null},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(rr);r||(r=new n(this),t(this).data(rr,r));i==="toggle"&&r[i]()})},w(n,null,[{key:"VERSION",get:function(){return lf}}]),n}();t(document).on(br.CLICK_DATA_API,b.DATA_TOGGLE_CARROT,function(n){var i=n.target,r;if(t(i).hasClass(y.BUTTON)||(i=t(i).closest(b.BUTTON)[0]),!i||i.hasAttribute("disabled")||i.classList.contains("disabled"))n.preventDefault();else{if(r=i.querySelector(b.INPUT),r&&(r.hasAttribute("disabled")||r.classList.contains("disabled"))){n.preventDefault();return}oi._jQueryInterface.call(t(i),"toggle")}}).on(br.FOCUS_BLUR_DATA_API,b.DATA_TOGGLE_CARROT,function(n){var i=t(n.target).closest(b.BUTTON)[0];t(i).toggleClass(y.FOCUS,/^focus(in)?$/.test(n.type))});t(window).on(br.LOAD_DATA_API,function(){for(var t,f,i,e,r,n=[].slice.call(document.querySelectorAll(b.DATA_TOGGLES_BUTTONS)),u=0,o=n.length;u<o;u++)t=n[u],f=t.querySelector(b.INPUT),f.checked||f.hasAttribute("checked")?t.classList.add(y.ACTIVE):t.classList.remove(y.ACTIVE);for(n=[].slice.call(document.querySelectorAll(b.DATA_TOGGLE)),i=0,e=n.length;i<e;i++)r=n[i],r.getAttribute("aria-pressed")==="true"?r.classList.add(y.ACTIVE):r.classList.remove(y.ACTIVE)});t.fn[ei]=oi._jQueryInterface;t.fn[ei].Constructor=oi;t.fn[ei].noConflict=function(){return t.fn[ei]=af,oi._jQueryInterface};var bt="carousel",vf="4.4.1",si="bs.carousel",h="."+si,hu=".data-api",yf=t.fn[bt],pf=37,wf=39,bf=500,kf=40,kr={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},df={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},nt={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},c={SLIDE:"slide"+h,SLID:"slid"+h,KEYDOWN:"keydown"+h,MOUSEENTER:"mouseenter"+h,MOUSELEAVE:"mouseleave"+h,TOUCHSTART:"touchstart"+h,TOUCHMOVE:"touchmove"+h,TOUCHEND:"touchend"+h,POINTERDOWN:"pointerdown"+h,POINTERUP:"pointerup"+h,DRAG_START:"dragstart"+h,LOAD_DATA_API:"load"+h+hu,CLICK_DATA_API:"click"+h+hu},l={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item",POINTER_EVENT:"pointer-event"},tt={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},cu={TOUCH:"touch",PEN:"pen"},kt=function(){function i(n,t){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this.touchStartX=0;this.touchDeltaX=0;this._config=this._getConfig(t);this._element=n;this._indicatorsElement=this._element.querySelector(tt.INDICATORS);this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0;this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent);this._addEventListeners()}var n=i.prototype;return n.next=function(){this._isSliding||this._slide(nt.NEXT)},n.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&t(this._element).css("visibility")!=="hidden"&&this.next()},n.prev=function(){this._isSliding||this._slide(nt.PREV)},n.pause=function(n){n||(this._isPaused=!0);this._element.querySelector(tt.NEXT_PREV)&&(r.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},n.cycle=function(n){n||(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))},n.to=function(n){var u=this,i,r;if(this._activeElement=this._element.querySelector(tt.ACTIVE_ITEM),i=this._getItemIndex(this._activeElement),!(n>this._items.length-1)&&!(n<0)){if(this._isSliding){t(this._element).one(c.SLID,function(){return u.to(n)});return}if(i===n){this.pause();this.cycle();return}r=n>i?nt.NEXT:nt.PREV;this._slide(r,this._items[n])}},n.dispose=function(){t(this._element).off(h);t.removeData(this._element,si);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},n._getConfig=function(n){return n=e({},kr,{},n),r.typeCheckConfig(bt,n,df),n},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX),n;t<=kf||(n=t/this.touchDeltaX,this.touchDeltaX=0,n>0&&this.prev(),n<0&&this.next())},n._addEventListeners=function(){var n=this;if(this._config.keyboard)t(this._element).on(c.KEYDOWN,function(t){return n._keydown(t)});if(this._config.pause==="hover")t(this._element).on(c.MOUSEENTER,function(t){return n.pause(t)}).on(c.MOUSELEAVE,function(t){return n.cycle(t)});this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var n=this;if(this._touchSupported){var i=function(t){n._pointerEvent&&cu[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},u=function(t){n.touchDeltaX=t.originalEvent.touches&&t.originalEvent.touches.length>1?0:t.originalEvent.touches[0].clientX-n.touchStartX},r=function(t){n._pointerEvent&&cu[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX);n._handleSwipe();n._config.pause==="hover"&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},bf+n._config.interval))};t(this._element.querySelectorAll(tt.ITEM_IMG)).on(c.DRAG_START,function(n){return n.preventDefault()});if(this._pointerEvent){t(this._element).on(c.POINTERDOWN,function(n){return i(n)});t(this._element).on(c.POINTERUP,function(n){return r(n)});this._element.classList.add(l.POINTER_EVENT)}else{t(this._element).on(c.TOUCHSTART,function(n){return i(n)});t(this._element).on(c.TOUCHMOVE,function(n){return u(n)});t(this._element).on(c.TOUCHEND,function(n){return r(n)})}}},n._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case pf:n.preventDefault();this.prev();break;case wf:n.preventDefault();this.next()}},n._getItemIndex=function(n){return this._items=n&&n.parentNode?[].slice.call(n.parentNode.querySelectorAll(tt.ITEM)):[],this._items.indexOf(n)},n._getItemByDirection=function(n,t){var f=n===nt.NEXT,e=n===nt.PREV,i=this._getItemIndex(t),o=this._items.length-1,s=e&&i===0||f&&i===o,u,r;return s&&!this._config.wrap?t:(u=n===nt.PREV?-1:1,r=(i+u)%this._items.length,r===-1?this._items[this._items.length-1]:this._items[r])},n._triggerSlideEvent=function(n,i){var u=this._getItemIndex(n),f=this._getItemIndex(this._element.querySelector(tt.ACTIVE_ITEM)),r=t.Event(c.SLIDE,{relatedTarget:n,direction:i,from:f,to:u});return t(this._element).trigger(r),r},n._setActiveIndicatorElement=function(n){var r,i;this._indicatorsElement&&(r=[].slice.call(this._indicatorsElement.querySelectorAll(tt.ACTIVE)),t(r).removeClass(l.ACTIVE),i=this._indicatorsElement.children[this._getItemIndex(n)],i&&t(i).addClass(l.ACTIVE))},n._slide=function(n,i){var v=this,f=this._element.querySelector(tt.ACTIVE_ITEM),b=this._getItemIndex(f),u=i||f&&this._getItemByDirection(n,f),k=this._getItemIndex(u),y=Boolean(this._interval),e,o,s,p,h,a,w;if(n===nt.NEXT?(e=l.LEFT,o=l.NEXT,s=nt.LEFT):(e=l.RIGHT,o=l.PREV,s=nt.RIGHT),u&&t(u).hasClass(l.ACTIVE)){this._isSliding=!1;return}(p=this._triggerSlideEvent(u,s),p.isDefaultPrevented())||f&&u&&(this._isSliding=!0,y&&this.pause(),this._setActiveIndicatorElement(u),h=t.Event(c.SLID,{relatedTarget:u,direction:s,from:b,to:k}),t(this._element).hasClass(l.SLIDE)?(t(u).addClass(o),r.reflow(u),t(f).addClass(e),t(u).addClass(e),a=parseInt(u.getAttribute("data-interval"),10),a?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=a):this._config.interval=this._config.defaultInterval||this._config.interval,w=r.getTransitionDurationFromElement(f),t(f).one(r.TRANSITION_END,function(){t(u).removeClass(e+" "+o).addClass(l.ACTIVE);t(f).removeClass(l.ACTIVE+" "+o+" "+e);v._isSliding=!1;setTimeout(function(){return t(v._element).trigger(h)},0)}).emulateTransitionEnd(w)):(t(f).removeClass(l.ACTIVE),t(u).addClass(l.ACTIVE),this._isSliding=!1,t(this._element).trigger(h)),y&&this.cycle())},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(si),u=e({},kr,{},t(this).data()),f;if(typeof n=="object"&&(u=e({},u,{},n)),f=typeof n=="string"?n:u.slide,r||(r=new i(this,u),t(this).data(si,r)),typeof n=="number")r.to(n);else if(typeof f=="string"){if(typeof r[f]=="undefined")throw new TypeError('No method named "'+f+'"');r[f]()}else u.interval&&u.ride&&(r.pause(),r.cycle())})},i._dataApiClickHandler=function(n){var s=r.getSelectorFromElement(this),u,o,f;s&&(u=t(s)[0],u&&t(u).hasClass(l.CAROUSEL))&&(o=e({},t(u).data(),{},t(this).data()),f=this.getAttribute("data-slide-to"),f&&(o.interval=!1),i._jQueryInterface.call(t(u),o),f&&t(u).data(si).to(f),n.preventDefault())},w(i,null,[{key:"VERSION",get:function(){return vf}},{key:"Default",get:function(){return kr}}]),i}();t(document).on(c.CLICK_DATA_API,tt.DATA_SLIDE,kt._dataApiClickHandler);t(window).on(c.LOAD_DATA_API,function(){for(var i,r=[].slice.call(document.querySelectorAll(tt.DATA_RIDE)),n=0,u=r.length;n<u;n++)i=t(r[n]),kt._jQueryInterface.call(i,i.data())});t.fn[bt]=kt._jQueryInterface;t.fn[bt].Constructor=kt;t.fn[bt].noConflict=function(){return t.fn[bt]=yf,kt._jQueryInterface};var dt="collapse",gf="4.4.1",at="bs.collapse",hi="."+at,ne=t.fn[dt],dr={toggle:!0,parent:""},te={toggle:"boolean",parent:"(string|element)"},ci={SHOW:"show"+hi,SHOWN:"shown"+hi,HIDE:"hide"+hi,HIDDEN:"hidden"+hi,CLICK_DATA_API:"click"+hi+".data-api"},o={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},gr={WIDTH:"width",HEIGHT:"height"},nu={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},li=function(){function i(n,t){var u,i,e;for(this._isTransitioning=!1,this._element=n,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+n.id+'"],'+('[data-toggle="collapse"][data-target="#'+n.id+'"]'))),u=[].slice.call(document.querySelectorAll(nu.DATA_TOGGLE)),i=0,e=u.length;i<e;i++){var o=u[i],f=r.getSelectorFromElement(o),s=[].slice.call(document.querySelectorAll(f)).filter(function(t){return t===n});f!==null&&s.length>0&&(this._selector=f,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var n=i.prototype;return n.toggle=function(){t(this._element).hasClass(o.SHOW)?this.hide():this.show()},n.show=function(){var u=this,n,e,s,f;if(!this._isTransitioning&&!t(this._element).hasClass(o.SHOW)&&(this._parent&&(n=[].slice.call(this._parent.querySelectorAll(nu.ACTIVES)).filter(function(n){return typeof u._config.parent=="string"?n.getAttribute("data-parent")===u._config.parent:n.classList.contains(o.COLLAPSE)}),n.length===0&&(n=null)),!n||(e=t(n).not(this._selector).data(at),!e||!e._isTransitioning))&&(s=t.Event(ci.SHOW),t(this._element).trigger(s),!s.isDefaultPrevented())){n&&(i._jQueryInterface.call(t(n).not(this._selector),"hide"),e||t(n).data(at,null));f=this._getDimension();t(this._element).removeClass(o.COLLAPSE).addClass(o.COLLAPSING);this._element.style[f]=0;this._triggerArray.length&&t(this._triggerArray).removeClass(o.COLLAPSED).attr("aria-expanded",!0);this.setTransitioning(!0);var h=function(){t(u._element).removeClass(o.COLLAPSING).addClass(o.COLLAPSE).addClass(o.SHOW);u._element.style[f]="";u.setTransitioning(!1);t(u._element).trigger(ci.SHOWN)},c=f[0].toUpperCase()+f.slice(1),l="scroll"+c,a=r.getTransitionDurationFromElement(this._element);t(this._element).one(r.TRANSITION_END,h).emulateTransitionEnd(a);this._element.style[f]=this._element[l]+"px"}},n.hide=function(){var h=this,u,n,f,i,e,s,c,l,a;if(!this._isTransitioning&&t(this._element).hasClass(o.SHOW)&&(u=t.Event(ci.HIDE),t(this._element).trigger(u),!u.isDefaultPrevented())){if(n=this._getDimension(),this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",r.reflow(this._element),t(this._element).addClass(o.COLLAPSING).removeClass(o.COLLAPSE).removeClass(o.SHOW),f=this._triggerArray.length,f>0)for(i=0;i<f;i++)e=this._triggerArray[i],s=r.getSelectorFromElement(e),s!==null&&(c=t([].slice.call(document.querySelectorAll(s))),c.hasClass(o.SHOW)||t(e).addClass(o.COLLAPSED).attr("aria-expanded",!1));this.setTransitioning(!0);l=function(){h.setTransitioning(!1);t(h._element).removeClass(o.COLLAPSING).addClass(o.COLLAPSE).trigger(ci.HIDDEN)};this._element.style[n]="";a=r.getTransitionDurationFromElement(this._element);t(this._element).one(r.TRANSITION_END,l).emulateTransitionEnd(a)}},n.setTransitioning=function(n){this._isTransitioning=n},n.dispose=function(){t.removeData(this._element,at);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},n._getConfig=function(n){return n=e({},dr,{},n),n.toggle=Boolean(n.toggle),r.typeCheckConfig(dt,n,te),n},n._getDimension=function(){var n=t(this._element).hasClass(gr.WIDTH);return n?gr.WIDTH:gr.HEIGHT},n._getParent=function(){var e=this,n,u,f;return r.isElement(this._config.parent)?(n=this._config.parent,typeof this._config.parent.jquery!="undefined"&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent),u='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',f=[].slice.call(n.querySelectorAll(u)),t(f).each(function(n,t){e._addAriaAndCollapsedClass(i._getTargetFromElement(t),[t])}),n},n._addAriaAndCollapsedClass=function(n,i){var r=t(n).hasClass(o.SHOW);i.length&&t(i).toggleClass(o.COLLAPSED,!r).attr("aria-expanded",r)},i._getTargetFromElement=function(n){var t=r.getSelectorFromElement(n);return t?document.querySelector(t):null},i._jQueryInterface=function(n){return this.each(function(){var u=t(this),r=u.data(at),f=e({},dr,{},u.data(),{},typeof n=="object"&&n?n:{});if(!r&&f.toggle&&/show|hide/.test(n)&&(f.toggle=!1),r||(r=new i(this,f),u.data(at,r)),typeof n=="string"){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n]()}})},w(i,null,[{key:"VERSION",get:function(){return gf}},{key:"Default",get:function(){return dr}}]),i}();t(document).on(ci.CLICK_DATA_API,nu.DATA_TOGGLE,function(n){n.currentTarget.tagName==="A"&&n.preventDefault();var i=t(this),u=r.getSelectorFromElement(this),f=[].slice.call(document.querySelectorAll(u));t(f).each(function(){var n=t(this),r=n.data(at),u=r?"toggle":i.data();li._jQueryInterface.call(n,u)})});t.fn[dt]=li._jQueryInterface;t.fn[dt].Constructor=li;t.fn[dt].noConflict=function(){return t.fn[dt]=ne,li._jQueryInterface};var gt="dropdown",ie="4.4.1",ai="bs.dropdown",et="."+ai,tu=".data-api",re=t.fn[gt],vi=27,lu=32,au=9,iu=38,ru=40,ue=3,fe=new RegExp(iu+"|"+ru+"|"+vi),a={HIDE:"hide"+et,HIDDEN:"hidden"+et,SHOW:"show"+et,SHOWN:"shown"+et,CLICK:"click"+et,CLICK_DATA_API:"click"+et+tu,KEYDOWN_DATA_API:"keydown"+et+tu,KEYUP_DATA_API:"keyup"+et+tu},f={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},it={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},ni={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},ee={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},oe={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},st=function(){function n(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var u=n.prototype;return u.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(f.DISABLED)){var i=t(this._menu).hasClass(f.SHOW);(n._clearMenus(),i)||this.show(!0)}},u.show=function(u){var o;if(u===void 0&&(u=!1),!this._element.disabled&&!t(this._element).hasClass(f.DISABLED)&&!t(this._menu).hasClass(f.SHOW)){var s={relatedTarget:this._element},h=t.Event(a.SHOW,s),e=n._getParentFromElement(this._element);if(t(e).trigger(h),!h.isDefaultPrevented()){if(!this._inNavbar&&u){if(typeof i=="undefined")throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");o=this._element;this._config.reference==="parent"?o=e:r.isElement(this._config.reference)&&(o=this._config.reference,typeof this._config.reference.jquery!="undefined"&&(o=this._config.reference[0]));this._config.boundary!=="scrollParent"&&t(e).addClass(f.POSITION_STATIC);this._popper=new i(o,this._menu,this._getPopperConfig())}if("ontouchstart"in document.documentElement&&t(e).closest(it.NAVBAR_NAV).length===0)t(document.body).children().on("mouseover",null,t.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);t(this._menu).toggleClass(f.SHOW);t(e).toggleClass(f.SHOW).trigger(t.Event(a.SHOWN,s))}}},u.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass(f.DISABLED)&&t(this._menu).hasClass(f.SHOW)){var i={relatedTarget:this._element},r=t.Event(a.HIDE,i),u=n._getParentFromElement(this._element);(t(u).trigger(r),r.isDefaultPrevented())||(this._popper&&this._popper.destroy(),t(this._menu).toggleClass(f.SHOW),t(u).toggleClass(f.SHOW).trigger(t.Event(a.HIDDEN,i)))}},u.dispose=function(){t.removeData(this._element,ai);t(this._element).off(et);this._element=null;this._menu=null;this._popper!==null&&(this._popper.destroy(),this._popper=null)},u.update=function(){this._inNavbar=this._detectNavbar();this._popper!==null&&this._popper.scheduleUpdate()},u._addEventListeners=function(){var n=this;t(this._element).on(a.CLICK,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},u._getConfig=function(n){return n=e({},this.constructor.Default,{},t(this._element).data(),{},n),r.typeCheckConfig(gt,n,this.constructor.DefaultType),n},u._getMenuElement=function(){if(!this._menu){var t=n._getParentFromElement(this._element);t&&(this._menu=t.querySelector(it.MENU))}return this._menu},u._getPlacement=function(){var i=t(this._element.parentNode),n=ni.BOTTOM;return i.hasClass(f.DROPUP)?(n=ni.TOP,t(this._menu).hasClass(f.MENURIGHT)&&(n=ni.TOPEND)):i.hasClass(f.DROPRIGHT)?n=ni.RIGHT:i.hasClass(f.DROPLEFT)?n=ni.LEFT:t(this._menu).hasClass(f.MENURIGHT)&&(n=ni.BOTTOMEND),n},u._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},u._getOffset=function(){var t=this,n={};return typeof this._config.offset=="function"?n.fn=function(n){return n.offsets=e({},n.offsets,{},t._config.offset(n.offsets,t._element)||{}),n}:n.offset=this._config.offset,n},u._getPopperConfig=function(){var n={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return this._config.display==="static"&&(n.modifiers.applyStyle={enabled:!1}),e({},n,{},this._config.popperConfig)},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(ai),u=typeof i=="object"?i:null;if(r||(r=new n(this,u),t(this).data(ai,r)),typeof i=="string"){if(typeof r[i]=="undefined")throw new TypeError('No method named "'+i+'"');r[i]()}})},n._clearMenus=function(i){var u,r,c,l,h;if(!i||i.which!==ue&&(i.type!=="keyup"||i.which===au))for(u=[].slice.call(document.querySelectorAll(it.DATA_TOGGLE)),r=0,c=u.length;r<c;r++){var e=n._getParentFromElement(u[r]),o=t(u[r]).data(ai),s={relatedTarget:u[r]};(i&&i.type==="click"&&(s.clickEvent=i),o)&&(l=o._menu,t(e).hasClass(f.SHOW))&&(i&&(i.type==="click"&&/input|textarea/i.test(i.target.tagName)||i.type==="keyup"&&i.which===au)&&t.contains(e,i.target)||(h=t.Event(a.HIDE,s),t(e).trigger(h),h.isDefaultPrevented())||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),u[r].setAttribute("aria-expanded","false"),o._popper&&o._popper.destroy(),t(l).removeClass(f.SHOW),t(e).removeClass(f.SHOW).trigger(t.Event(a.HIDDEN,s))))}},n._getParentFromElement=function(n){var t,i=r.getSelectorFromElement(n);return i&&(t=document.querySelector(i)),t||n.parentNode},n._dataApiKeydownHandler=function(i){var e,o,s,u,r;if((/input|textarea/i.test(i.target.tagName)?i.which!==lu&&(i.which===vi||(i.which===ru||i.which===iu)&&!t(i.target).closest(it.MENU).length):fe.test(i.which))&&(i.preventDefault(),i.stopPropagation(),!this.disabled&&!t(this).hasClass(f.DISABLED))&&(e=n._getParentFromElement(this),o=t(e).hasClass(f.SHOW),o||i.which!==vi)){if(!o||o&&(i.which===vi||i.which===lu)){i.which===vi&&(s=e.querySelector(it.DATA_TOGGLE),t(s).trigger("focus"));t(this).trigger("click");return}(u=[].slice.call(e.querySelectorAll(it.VISIBLE_ITEMS)).filter(function(n){return t(n).is(":visible")}),u.length!==0)&&(r=u.indexOf(i.target),i.which===iu&&r>0&&r--,i.which===ru&&r<u.length-1&&r++,r<0&&(r=0),u[r].focus())}},w(n,null,[{key:"VERSION",get:function(){return ie}},{key:"Default",get:function(){return ee}},{key:"DefaultType",get:function(){return oe}}]),n}();t(document).on(a.KEYDOWN_DATA_API,it.DATA_TOGGLE,st._dataApiKeydownHandler).on(a.KEYDOWN_DATA_API,it.MENU,st._dataApiKeydownHandler).on(a.CLICK_DATA_API+" "+a.KEYUP_DATA_API,st._clearMenus).on(a.CLICK_DATA_API,it.DATA_TOGGLE,function(n){n.preventDefault();n.stopPropagation();st._jQueryInterface.call(t(this),"toggle")}).on(a.CLICK_DATA_API,it.FORM_CHILD,function(n){n.stopPropagation()});t.fn[gt]=st._jQueryInterface;t.fn[gt].Constructor=st;t.fn[gt].noConflict=function(){return t.fn[gt]=re,st._jQueryInterface};var ti="modal",se="4.4.1",yi="bs.modal",v="."+yi,he=t.fn[ti],ce=27,uu={backdrop:!0,keyboard:!0,focus:!0,show:!0},le={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},u={HIDE:"hide"+v,HIDE_PREVENTED:"hidePrevented"+v,HIDDEN:"hidden"+v,SHOW:"show"+v,SHOWN:"shown"+v,FOCUSIN:"focusin"+v,RESIZE:"resize"+v,CLICK_DISMISS:"click.dismiss"+v,KEYDOWN_DISMISS:"keydown.dismiss"+v,MOUSEUP_DISMISS:"mouseup.dismiss"+v,MOUSEDOWN_DISMISS:"mousedown.dismiss"+v,CLICK_DATA_API:"click"+v+".data-api"},s={SCROLLABLE:"modal-dialog-scrollable",SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show",STATIC:"modal-static"},ht={DIALOG:".modal-dialog",MODAL_BODY:".modal-body",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},pi=function(){function i(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=n.querySelector(ht.DIALOG);this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._isTransitioning=!1;this._scrollbarWidth=0}var n=i.prototype;return n.toggle=function(n){return this._isShown?this.hide():this.show(n)},n.show=function(n){var i=this,r;if(!this._isShown&&!this._isTransitioning&&(t(this._element).hasClass(s.FADE)&&(this._isTransitioning=!0),r=t.Event(u.SHOW,{relatedTarget:n}),t(this._element).trigger(r),!this._isShown&&!r.isDefaultPrevented())){this._isShown=!0;this._checkScrollbar();this._setScrollbar();this._adjustDialog();this._setEscapeEvent();this._setResizeEvent();t(this._element).on(u.CLICK_DISMISS,ht.DATA_DISMISS,function(n){return i.hide(n)});t(this._dialog).on(u.MOUSEDOWN_DISMISS,function(){t(i._element).one(u.MOUSEUP_DISMISS,function(n){t(n.target).is(i._element)&&(i._ignoreBackdropClick=!0)})});this._showBackdrop(function(){return i._showElement(n)})}},n.hide=function(n){var o=this,i,f,e;(n&&n.preventDefault(),this._isShown&&!this._isTransitioning)&&(i=t.Event(u.HIDE),t(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented())&&(this._isShown=!1,f=t(this._element).hasClass(s.FADE),f&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(u.FOCUSIN),t(this._element).removeClass(s.SHOW),t(this._element).off(u.CLICK_DISMISS),t(this._dialog).off(u.MOUSEDOWN_DISMISS),f?(e=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.TRANSITION_END,function(n){return o._hideModal(n)}).emulateTransitionEnd(e)):this._hideModal())},n.dispose=function(){[window,this._element,this._dialog].forEach(function(n){return t(n).off(v)});t(document).off(u.FOCUSIN);t.removeData(this._element,yi);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},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(n){return n=e({},uu,{},n),r.typeCheckConfig(ti,n,le),n},n._triggerBackdropTransition=function(){var f=this,n,i;if(this._config.backdrop==="static"){if(n=t.Event(u.HIDE_PREVENTED),t(this._element).trigger(n),n.defaultPrevented)return;this._element.classList.add(s.STATIC);i=r.getTransitionDurationFromElement(this._element);t(this._element).one(r.TRANSITION_END,function(){f._element.classList.remove(s.STATIC)}).emulateTransitionEnd(i);this._element.focus()}else this.hide()},n._showElement=function(n){var i=this,e=t(this._element).hasClass(s.FADE),o=this._dialog?this._dialog.querySelector(ht.MODAL_BODY):null,h,f,c;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);t(this._dialog).hasClass(s.SCROLLABLE)&&o?o.scrollTop=0:this._element.scrollTop=0;e&&r.reflow(this._element);t(this._element).addClass(s.SHOW);this._config.focus&&this._enforceFocus();h=t.Event(u.SHOWN,{relatedTarget:n});f=function(){i._config.focus&&i._element.focus();i._isTransitioning=!1;t(i._element).trigger(h)};e?(c=r.getTransitionDurationFromElement(this._dialog),t(this._dialog).one(r.TRANSITION_END,f).emulateTransitionEnd(c)):f()},n._enforceFocus=function(){var n=this;t(document).off(u.FOCUSIN).on(u.FOCUSIN,function(i){document!==i.target&&n._element!==i.target&&t(n._element).has(i.target).length===0&&n._element.focus()})},n._setEscapeEvent=function(){var n=this;if(this._isShown&&this._config.keyboard)t(this._element).on(u.KEYDOWN_DISMISS,function(t){t.which===ce&&n._triggerBackdropTransition()});else this._isShown||t(this._element).off(u.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var n=this;if(this._isShown)t(window).on(u.RESIZE,function(t){return n.handleUpdate(t)});else t(window).off(u.RESIZE)},n._hideModal=function(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._element.removeAttribute("aria-modal");this._isTransitioning=!1;this._showBackdrop(function(){t(document.body).removeClass(s.OPEN);n._resetAdjustments();n._resetScrollbar();t(n._element).trigger(u.HIDDEN)})},n._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(n){var i=this,f=t(this._element).hasClass(s.FADE)?s.FADE:"",o,e,h;if(this._isShown&&this._config.backdrop){this._backdrop=document.createElement("div");this._backdrop.className=s.BACKDROP;f&&this._backdrop.classList.add(f);t(this._backdrop).appendTo(document.body);t(this._element).on(u.CLICK_DISMISS,function(n){if(i._ignoreBackdropClick){i._ignoreBackdropClick=!1;return}n.target===n.currentTarget&&i._triggerBackdropTransition()});if(f&&r.reflow(this._backdrop),t(this._backdrop).addClass(s.SHOW),!n)return;if(!f){n();return}o=r.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(r.TRANSITION_END,n).emulateTransitionEnd(o)}else!this._isShown&&this._backdrop?(t(this._backdrop).removeClass(s.SHOW),e=function(){i._removeBackdrop();n&&n()},t(this._element).hasClass(s.FADE)?(h=r.getTransitionDurationFromElement(this._backdrop),t(this._backdrop).one(r.TRANSITION_END,e).emulateTransitionEnd(h)):e()):n&&n()},n._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},n._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=n.left+n.right<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var n=this,i,r,u,f;this._isBodyOverflowing&&(i=[].slice.call(document.querySelectorAll(ht.FIXED_CONTENT)),r=[].slice.call(document.querySelectorAll(ht.STICKY_CONTENT)),t(i).each(function(i,r){var u=r.style.paddingRight,f=t(r).css("padding-right");t(r).data("padding-right",u).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),t(r).each(function(i,r){var u=r.style.marginRight,f=t(r).css("margin-right");t(r).data("margin-right",u).css("margin-right",parseFloat(f)-n._scrollbarWidth+"px")}),u=document.body.style.paddingRight,f=t(document.body).css("padding-right"),t(document.body).data("padding-right",u).css("padding-right",parseFloat(f)+this._scrollbarWidth+"px"));t(document.body).addClass(s.OPEN)},n._resetScrollbar=function(){var r=[].slice.call(document.querySelectorAll(ht.FIXED_CONTENT)),i,n;t(r).each(function(n,i){var r=t(i).data("padding-right");t(i).removeData("padding-right");i.style.paddingRight=r?r:""});i=[].slice.call(document.querySelectorAll(""+ht.STICKY_CONTENT));t(i).each(function(n,i){var r=t(i).data("margin-right");typeof r!="undefined"&&t(i).css("margin-right",r).removeData("margin-right")});n=t(document.body).data("padding-right");t(document.body).removeData("padding-right");document.body.style.paddingRight=n?n:""},n._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=s.SCROLLBAR_MEASURER,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},i._jQueryInterface=function(n,r){return this.each(function(){var u=t(this).data(yi),f=e({},uu,{},t(this).data(),{},typeof n=="object"&&n?n:{});if(u||(u=new i(this,f),t(this).data(yi,u)),typeof n=="string"){if(typeof u[n]=="undefined")throw new TypeError('No method named "'+n+'"');u[n](r)}else f.show&&u.show(r)})},w(i,null,[{key:"VERSION",get:function(){return se}},{key:"Default",get:function(){return uu}}]),i}();t(document).on(u.CLICK_DATA_API,ht.DATA_TOGGLE,function(n){var f=this,i,o=r.getSelectorFromElement(this),s,h;o&&(i=document.querySelector(o));s=t(i).data(yi)?"toggle":e({},t(i).data(),{},t(this).data());(this.tagName==="A"||this.tagName==="AREA")&&n.preventDefault();h=t(i).one(u.SHOW,function(n){if(!n.isDefaultPrevented())h.one(u.HIDDEN,function(){t(f).is(":visible")&&f.focus()})});pi._jQueryInterface.call(t(i),s,this)});t.fn[ti]=pi._jQueryInterface;t.fn[ti].Constructor=pi;t.fn[ti].noConflict=function(){return t.fn[ti]=he,pi._jQueryInterface};var ae=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],ve=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,ye=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;var vt="tooltip",we="4.4.1",er="bs.tooltip",k="."+er,be=t.fn[vt],yu="bs-tooltip",ke=new RegExp("(^|\\s)"+yu+"\\S+","g"),de=["sanitize","whiteList","sanitizeFn"],ge={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)"},no={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},to={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:{"*":["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","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},ct={SHOW:"show",OUT:"out"},io={HIDE:"hide"+k,HIDDEN:"hidden"+k,SHOW:"show"+k,SHOWN:"shown"+k,INSERTED:"inserted"+k,CLICK:"click"+k,FOCUSIN:"focusin"+k,FOCUSOUT:"focusout"+k,MOUSEENTER:"mouseenter"+k,MOUSELEAVE:"mouseleave"+k},rt={FADE:"fade",SHOW:"show"},pu={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},ut={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},yt=function(){function u(n,t){if(typeof i=="undefined")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=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var n=u.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(n){if(this._isEnabled)if(n){var r=this.constructor.DATA_KEY,i=t(n.currentTarget).data(r);i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass(rt.SHOW)){this._leave(null,this);return}this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout);t.removeData(this.element,this.constructor.DATA_KEY);t(this.element).off(this.constructor.EVENT_KEY);t(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler);this.tip&&t(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},n.show=function(){var n=this,f,e,c,u,o,l,s,a,h,v;if(t(this.element).css("display")==="none")throw new Error("Please use show on visible elements");if(f=t.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(t(this.element).trigger(f),e=r.findShadowRoot(this.element),c=t.contains(e!==null?e:this.element.ownerDocument.documentElement,this.element),f.isDefaultPrevented()||!c)return;if(u=this.getTipElement(),o=r.getUID(this.constructor.NAME),u.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&t(u).addClass(rt.FADE),l=typeof this.config.placement=="function"?this.config.placement.call(this,u,this.element):this.config.placement,s=this._getAttachment(l),this.addAttachmentClass(s),a=this._getContainer(),t(u).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(u).appendTo(a),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new i(this.element,u,this._getPopperConfig(s)),t(u).addClass(rt.SHOW),"ontouchstart"in document.documentElement)t(document.body).children().on("mouseover",null,t.noop);h=function(){n.config.animation&&n._fixTransition();var i=n._hoverState;n._hoverState=null;t(n.element).trigger(n.constructor.Event.SHOWN);i===ct.OUT&&n._leave(null,n)};t(this.tip).hasClass(rt.FADE)?(v=r.getTransitionDurationFromElement(this.tip),t(this.tip).one(r.TRANSITION_END,h).emulateTransitionEnd(v)):h()}},n.hide=function(n){var i=this,u=this.getTipElement(),f=t.Event(this.constructor.Event.HIDE),e=function(){i._hoverState!==ct.SHOW&&u.parentNode&&u.parentNode.removeChild(u);i._cleanTipClass();i.element.removeAttribute("aria-describedby");t(i.element).trigger(i.constructor.Event.HIDDEN);i._popper!==null&&i._popper.destroy();n&&n()},o;(t(this.element).trigger(f),f.isDefaultPrevented())||(t(u).removeClass(rt.SHOW),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[ut.CLICK]=!1,this._activeTrigger[ut.FOCUS]=!1,this._activeTrigger[ut.HOVER]=!1,t(this.tip).hasClass(rt.FADE)?(o=r.getTransitionDurationFromElement(u),t(u).one(r.TRANSITION_END,e).emulateTransitionEnd(o)):e(),this._hoverState="")},n.update=function(){this._popper!==null&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(n){t(this.getTipElement()).addClass(yu+"-"+n)},n.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},n.setContent=function(){var n=this.getTipElement();this.setElementContent(t(n.querySelectorAll(pu.TOOLTIP_INNER)),this.getTitle());t(n).removeClass(rt.FADE+" "+rt.SHOW)},n.setElementContent=function(n,i){if(typeof i=="object"&&(i.nodeType||i.jquery)){this.config.html?t(i).parent().is(n)||n.empty().append(i):n.text(t(i).text());return}this.config.html?(this.config.sanitize&&(i=vu(i,this.config.whiteList,this.config.sanitizeFn)),n.html(i)):n.text(i)},n.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n=typeof this.config.title=="function"?this.config.title.call(this.element):this.config.title),n},n._getPopperConfig=function(n){var t=this,i={placement:n,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:pu.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){return t._handlePopperPlacementChange(n)}};return e({},i,{},this.config.popperConfig)},n._getOffset=function(){var t=this,n={};return typeof this.config.offset=="function"?n.fn=function(n){return n.offsets=e({},n.offsets,{},t.config.offset(n.offsets,t.element)||{}),n}:n.offset=this.config.offset,n},n._getContainer=function(){return this.config.container===!1?document.body:r.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},n._getAttachment=function(n){return no[n.toUpperCase()]},n._setListeners=function(){var n=this,i=this.config.trigger.split(" ");i.forEach(function(i){if(i==="click")t(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(i!==ut.MANUAL){var r=i===ut.HOVER?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,u=i===ut.HOVER?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;t(n.element).on(r,n.config.selector,function(t){return n._enter(t)}).on(u,n.config.selector,function(t){return n._leave(t)})}});this._hideModalHandler=function(){n.element&&n.hide()};t(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler);this.config.selector?this.config=e({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||n!=="string")&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(n,i){var r=this.constructor.DATA_KEY;if(i=i||t(n.currentTarget).data(r),i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i)),n&&(i._activeTrigger[n.type==="focusin"?ut.FOCUS:ut.HOVER]=!0),t(i.getTipElement()).hasClass(rt.SHOW)||i._hoverState===ct.SHOW){i._hoverState=ct.SHOW;return}if(clearTimeout(i._timeout),i._hoverState=ct.SHOW,!i.config.delay||!i.config.delay.show){i.show();return}i._timeout=setTimeout(function(){i._hoverState===ct.SHOW&&i.show()},i.config.delay.show)},n._leave=function(n,i){var r=this.constructor.DATA_KEY;if(i=i||t(n.currentTarget).data(r),i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i)),n&&(i._activeTrigger[n.type==="focusout"?ut.FOCUS:ut.HOVER]=!1),!i._isWithActiveTrigger()){if(clearTimeout(i._timeout),i._hoverState=ct.OUT,!i.config.delay||!i.config.delay.hide){i.hide();return}i._timeout=setTimeout(function(){i._hoverState===ct.OUT&&i.hide()},i.config.delay.hide)}},n._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},n._getConfig=function(n){var i=t(this.element).data();return Object.keys(i).forEach(function(n){de.indexOf(n)!==-1&&delete i[n]}),n=e({},this.constructor.Default,{},i,{},typeof n=="object"&&n?n:{}),typeof n.delay=="number"&&(n.delay={show:n.delay,hide:n.delay}),typeof n.title=="number"&&(n.title=n.title.toString()),typeof n.content=="number"&&(n.content=n.content.toString()),r.typeCheckConfig(vt,n,this.constructor.DefaultType),n.sanitize&&(n.template=vu(n.template,n.whiteList,n.sanitizeFn)),n},n._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},n._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(ke);n!==null&&n.length&&i.removeClass(n.join(""))},n._handlePopperPlacementChange=function(n){var t=n.instance;this.tip=t.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},n._fixTransition=function(){var n=this.getTipElement(),i=this.config.animation;n.getAttribute("x-placement")===null&&(t(n).removeClass(rt.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},u._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(er),r=typeof n=="object"&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new u(this,r),t(this).data(er,i)),typeof n=="string")){if(typeof i[n]=="undefined")throw new TypeError('No method named "'+n+'"');i[n]()}})},w(u,null,[{key:"VERSION",get:function(){return we}},{key:"Default",get:function(){return to}},{key:"NAME",get:function(){return vt}},{key:"DATA_KEY",get:function(){return er}},{key:"Event",get:function(){return io}},{key:"EVENT_KEY",get:function(){return k}},{key:"DefaultType",get:function(){return ge}}]),u}();t.fn[vt]=yt._jQueryInterface;t.fn[vt].Constructor=yt;t.fn[vt].noConflict=function(){return t.fn[vt]=be,yt._jQueryInterface};var ii="popover",ro="4.4.1",or="bs.popover",d="."+or,uo=t.fn[ii],wu="bs-popover",fo=new RegExp("(^|\\s)"+wu+"\\S+","g"),eo=e({},yt.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>'}),oo=e({},yt.DefaultType,{content:"(string|element|function)"}),bu={FADE:"fade",SHOW:"show"},ku={TITLE:".popover-header",CONTENT:".popover-body"},so={HIDE:"hide"+d,HIDDEN:"hidden"+d,SHOW:"show"+d,SHOWN:"shown"+d,INSERTED:"inserted"+d,CLICK:"click"+d,FOCUSIN:"focusin"+d,FOCUSOUT:"focusout"+d,MOUSEENTER:"mouseenter"+d,MOUSELEAVE:"mouseleave"+d},sr=function(n){function i(){return n.apply(this,arguments)||this}tf(i,n);var r=i.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(n){t(this.getTipElement()).addClass(wu+"-"+n)},r.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},r.setContent=function(){var i=t(this.getTipElement()),n;this.setElementContent(i.find(ku.TITLE),this.getTitle());n=this._getContent();typeof n=="function"&&(n=n.call(this.element));this.setElementContent(i.find(ku.CONTENT),n);i.removeClass(bu.FADE+" "+bu.SHOW)},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(fo);n!==null&&n.length>0&&i.removeClass(n.join(""))},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(or),u=typeof n=="object"?n:null;if((r||!/dispose|hide/.test(n))&&(r||(r=new i(this,u),t(this).data(or,r)),typeof n=="string")){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n]()}})},w(i,null,[{key:"VERSION",get:function(){return ro}},{key:"Default",get:function(){return eo}},{key:"NAME",get:function(){return ii}},{key:"DATA_KEY",get:function(){return or}},{key:"Event",get:function(){return so}},{key:"EVENT_KEY",get:function(){return d}},{key:"DefaultType",get:function(){return oo}}]),i}(yt);t.fn[ii]=sr._jQueryInterface;t.fn[ii].Constructor=sr;t.fn[ii].noConflict=function(){return t.fn[ii]=uo,sr._jQueryInterface};var pt="scrollspy",ho="4.4.1",hr="bs.scrollspy",cr="."+hr,co=t.fn[pt],du={offset:10,method:"auto",target:""},lo={offset:"number",method:"string",target:"(string|element)"},fu={ACTIVATE:"activate"+cr,SCROLL:"scroll"+cr,LOAD_DATA_API:"load"+cr+".data-api"},lt={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},p={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},eu={OFFSET:"offset",POSITION:"position"},wi=function(){function i(n,i){var r=this;this._element=n;this._scrollElement=n.tagName==="BODY"?window:n;this._config=this._getConfig(i);this._selector=this._config.target+" "+p.NAV_LINKS+","+(this._config.target+" "+p.LIST_ITEMS+",")+(this._config.target+" "+p.DROPDOWN_ITEMS);this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;t(this._scrollElement).on(fu.SCROLL,function(n){return r._process(n)});this.refresh();this._process()}var n=i.prototype;return n.refresh=function(){var n=this,f=this._scrollElement===this._scrollElement.window?eu.OFFSET:eu.POSITION,i=this._config.method==="auto"?f:this._config.method,e=i===eu.POSITION?this._getScrollTop():0,u;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();u=[].slice.call(document.querySelectorAll(this._selector));u.map(function(n){var u,f=r.getSelectorFromElement(n),o;return(f&&(u=document.querySelector(f)),u&&(o=u.getBoundingClientRect(),o.width||o.height))?[t(u)[i]().top+e,f]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(t){n._offsets.push(t[0]);n._targets.push(t[1])})},n.dispose=function(){t.removeData(this._element,hr);t(this._scrollElement).off(cr);this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null},n._getConfig=function(n){if(n=e({},du,{},typeof n=="object"&&n?n:{}),typeof n.target!="string"){var i=t(n.target).attr("id");i||(i=r.getUID(pt),t(n.target).attr("id",i));n.target="#"+i}return r.typeCheckConfig(pt,n,lo),n},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var t=this._getScrollTop()+this._config.offset,r=this._getScrollHeight(),e=this._config.offset+r-this._getOffsetHeight(),i,u,n,f;if(this._scrollHeight!==r&&this.refresh(),t>=e){i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i);return}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null;this._clear();return}for(u=this._offsets.length,n=u;n--;)f=this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&(typeof this._offsets[n+1]=="undefined"||t<this._offsets[n+1]),f&&this._activate(this._targets[n])},n._activate=function(n){this._activeTarget=n;this._clear();var r=this._selector.split(",").map(function(t){return t+'[data-target="'+n+'"],'+t+'[href="'+n+'"]'}),i=t([].slice.call(document.querySelectorAll(r.join(","))));i.hasClass(lt.DROPDOWN_ITEM)?(i.closest(p.DROPDOWN).find(p.DROPDOWN_TOGGLE).addClass(lt.ACTIVE),i.addClass(lt.ACTIVE)):(i.addClass(lt.ACTIVE),i.parents(p.NAV_LIST_GROUP).prev(p.NAV_LINKS+", "+p.LIST_ITEMS).addClass(lt.ACTIVE),i.parents(p.NAV_LIST_GROUP).prev(p.NAV_ITEMS).children(p.NAV_LINKS).addClass(lt.ACTIVE));t(this._scrollElement).trigger(fu.ACTIVATE,{relatedTarget:n})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(n){return n.classList.contains(lt.ACTIVE)}).forEach(function(n){return n.classList.remove(lt.ACTIVE)})},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(hr),u=typeof n=="object"&&n;if(r||(r=new i(this,u),t(this).data(hr,r)),typeof n=="string"){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n]()}})},w(i,null,[{key:"VERSION",get:function(){return ho}},{key:"Default",get:function(){return du}}]),i}();t(window).on(fu.LOAD_DATA_API,function(){for(var n,i=[].slice.call(document.querySelectorAll(p.DATA_SPY)),u=i.length,r=u;r--;)n=t(i[r]),wi._jQueryInterface.call(n,n.data())});t.fn[pt]=wi._jQueryInterface;t.fn[pt].Constructor=wi;t.fn[pt].noConflict=function(){return t.fn[pt]=co,wi._jQueryInterface};var bi="tab",ao="4.4.1",lr="bs.tab",ki="."+lr,vo=t.fn[bi],di={HIDE:"hide"+ki,HIDDEN:"hidden"+ki,SHOW:"show"+ki,SHOWN:"shown"+ki,CLICK_DATA_API:"click"+ki+".data-api"},g={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},ot={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},gi=function(){function n(n){this._element=n}var i=n.prototype;return i.show=function(){var h=this,u,n,i,f,c,e,o,s;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(g.ACTIVE)||t(this._element).hasClass(g.DISABLED)||(i=t(this._element).closest(ot.NAV_LIST_GROUP)[0],f=r.getSelectorFromElement(this._element),i&&(c=i.nodeName==="UL"||i.nodeName==="OL"?ot.ACTIVE_UL:ot.ACTIVE,n=t.makeArray(t(i).find(c)),n=n[n.length-1]),e=t.Event(di.HIDE,{relatedTarget:this._element}),o=t.Event(di.SHOW,{relatedTarget:n}),n&&t(n).trigger(e),t(this._element).trigger(o),o.isDefaultPrevented()||e.isDefaultPrevented())||(f&&(u=document.querySelector(f)),this._activate(this._element,i),s=function(){var i=t.Event(di.HIDDEN,{relatedTarget:h._element}),r=t.Event(di.SHOWN,{relatedTarget:n});t(n).trigger(i);t(h._element).trigger(r)},u?this._activate(u,u.parentNode,s):s())},i.dispose=function(){t.removeData(this._element,lr);this._element=null},i._activate=function(n,i,u){var s=this,h=i&&(i.nodeName==="UL"||i.nodeName==="OL")?t(i).find(ot.ACTIVE_UL):t(i).children(ot.ACTIVE),f=h[0],c=u&&f&&t(f).hasClass(g.FADE),e=function(){return s._transitionComplete(n,f,u)},o;f&&c?(o=r.getTransitionDurationFromElement(f),t(f).removeClass(g.SHOW).one(r.TRANSITION_END,e).emulateTransitionEnd(o)):e()},i._transitionComplete=function(n,i,u){var f,e,o;i&&(t(i).removeClass(g.ACTIVE),f=t(i.parentNode).find(ot.DROPDOWN_ACTIVE_CHILD)[0],f&&t(f).removeClass(g.ACTIVE),i.getAttribute("role")==="tab"&&i.setAttribute("aria-selected",!1));t(n).addClass(g.ACTIVE);n.getAttribute("role")==="tab"&&n.setAttribute("aria-selected",!0);r.reflow(n);n.classList.contains(g.FADE)&&n.classList.add(g.SHOW);n.parentNode&&t(n.parentNode).hasClass(g.DROPDOWN_MENU)&&(e=t(n).closest(ot.DROPDOWN)[0],e&&(o=[].slice.call(e.querySelectorAll(ot.DROPDOWN_TOGGLE)),t(o).addClass(g.ACTIVE)),n.setAttribute("aria-expanded",!0));u&&u()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(lr);if(r||(r=new n(this),u.data(lr,r)),typeof i=="string"){if(typeof r[i]=="undefined")throw new TypeError('No method named "'+i+'"');r[i]()}})},w(n,null,[{key:"VERSION",get:function(){return ao}}]),n}();t(document).on(di.CLICK_DATA_API,ot.DATA_TOGGLE,function(n){n.preventDefault();gi._jQueryInterface.call(t(this),"show")});t.fn[bi]=gi._jQueryInterface;t.fn[bi].Constructor=gi;t.fn[bi].noConflict=function(){return t.fn[bi]=vo,gi._jQueryInterface};var ri="toast",yo="4.4.1",ar="bs.toast",nr="."+ar,po=t.fn[ri],ui={CLICK_DISMISS:"click.dismiss"+nr,HIDE:"hide"+nr,HIDDEN:"hidden"+nr,SHOW:"show"+nr,SHOWN:"shown"+nr},ft={FADE:"fade",HIDE:"hide",SHOW:"show",SHOWING:"showing"},wo={animation:"boolean",autohide:"boolean",delay:"number"},gu={animation:!0,autohide:!0,delay:500},bo={DATA_DISMISS:'[data-dismiss="toast"]'},vr=function(){function i(n,t){this._element=n;this._config=this._getConfig(t);this._timeout=null;this._setListeners()}var n=i.prototype;return n.show=function(){var n=this,u=t.Event(ui.SHOW),i,f;(t(this._element).trigger(u),u.isDefaultPrevented())||(this._config.animation&&this._element.classList.add(ft.FADE),i=function(){n._element.classList.remove(ft.SHOWING);n._element.classList.add(ft.SHOW);t(n._element).trigger(ui.SHOWN);n._config.autohide&&(n._timeout=setTimeout(function(){n.hide()},n._config.delay))},this._element.classList.remove(ft.HIDE),r.reflow(this._element),this._element.classList.add(ft.SHOWING),this._config.animation?(f=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.TRANSITION_END,i).emulateTransitionEnd(f)):i())},n.hide=function(){if(this._element.classList.contains(ft.SHOW)){var n=t.Event(ui.HIDE);(t(this._element).trigger(n),n.isDefaultPrevented())||this._close()}},n.dispose=function(){clearTimeout(this._timeout);this._timeout=null;this._element.classList.contains(ft.SHOW)&&this._element.classList.remove(ft.SHOW);t(this._element).off(ui.CLICK_DISMISS);t.removeData(this._element,ar);this._element=null;this._config=null},n._getConfig=function(n){return n=e({},gu,{},t(this._element).data(),{},typeof n=="object"&&n?n:{}),r.typeCheckConfig(ri,n,this.constructor.DefaultType),n},n._setListeners=function(){var n=this;t(this._element).on(ui.CLICK_DISMISS,bo.DATA_DISMISS,function(){return n.hide()})},n._close=function(){var n=this,i=function(){n._element.classList.add(ft.HIDE);t(n._element).trigger(ui.HIDDEN)},u;this._element.classList.remove(ft.SHOW);this._config.animation?(u=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.TRANSITION_END,i).emulateTransitionEnd(u)):i()},i._jQueryInterface=function(n){return this.each(function(){var u=t(this),r=u.data(ar),f=typeof n=="object"&&n;if(r||(r=new i(this,f),u.data(ar,r)),typeof n=="string"){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n](this)}})},w(i,null,[{key:"VERSION",get:function(){return yo}},{key:"DefaultType",get:function(){return wo}},{key:"Default",get:function(){return gu}}]),i}();t.fn[ri]=vr._jQueryInterface;t.fn[ri].Constructor=vr;t.fn[ri].noConflict=function(){return t.fn[ri]=po,vr._jQueryInterface};n.Alert=wt;n.Button=oi;n.Carousel=kt;n.Collapse=li;n.Dropdown=st;n.Modal=pi;n.Popover=sr;n.Scrollspy=wi;n.Tab=gi;n.Toast=vr;n.Tooltip=yt;n.Util=r;Object.defineProperty(n,"__esModule",{value:!0})})