!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t(n.bootstrap={},n.jQuery,n.Popper)}(this,function(n,t,i){"use strict";function uf(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 nt(n,t,i){return t&&uf(n.prototype,t),i&&uf(n,i),n}function v(n){for(var i,r,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},r=Object.keys(i),"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(i).filter(function(n){return Object.getOwnPropertyDescriptor(i,n).enumerable}))),r.forEach(function(t){var r,u,f;r=n;f=i[u=t];u in r?Object.defineProperty(r,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):r[u]=f});return n}t=t&&t.hasOwnProperty("default")?t.default:t;i=i&&i.hasOwnProperty("default")?i.default:i;var y,ti,hr,cr,ff,lr,ef,of,sf,at,c,ii,ar,vr,yr,hf,ri,cf,lf,hu,af,vf,yf,cu,lu,ui,f,vt,ki,tt,au,pf,pr,wf,di,gi,bf,kf,it,df,ot,gf,ne,te,ie,re,rt,yt,s,pt,wt,fi,ue,wr,fe,ei,st,nr,tr,br,vu,ee,kr,oi,e,bt,ir,ut,dr,oe,se,b,yu,ht,he,ce,le,pu,ae,rr,ve,gr,ye,pe,we,be,ke,de,ge,no,to,io,et,r,kt,ur,w,ro,nu,uo,a,fo,eo,wu,dt,fr,ft,si,u,ct,tu,k,oo,bu,so,ho,co,lo,hi,iu,ao,ci,li,vo,yo,ai,ru,po,wo,er,g,gt,uu,d,bo,ku,ko,go,ns,ts,is,rs,us,fs,or,l,lt,fu,sr,es,du,os,eu,ss,ni,p,hs,gu,vi,h,ou,yi,cs,pi,ls,wi,as,vs,nf,ys,ps,tf,rf,ws,bs,ks,bi,o=function(n){function r(i){var u=this,r=!1;return n(this).one(t.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||t.triggerTransitionEnd(u)},i),this}var i="transitionend",t={TRANSITION_END:"bsTransitionEnd",getUID:function(n){for(;n+=~~(1e6*Math.random()),document.getElementById(n););return n},getSelectorFromElement:function(t){var i=t.getAttribute("data-target");i&&"#"!==i||(i=t.getAttribute("href")||"");try{return 0<n(document).find(i).length?i:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var i=n(t).css("transition-duration");return parseFloat(i)?(i=i.split(",")[0],1e3*parseFloat(i)):0},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(t){n(t).trigger(i)},supportsTransitionEnd:function(){return Boolean(i)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,i,r){var u,s;for(u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var e=r[u],f=i[u],o=f&&t.isElement(f)?"element":(s=f,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(e).test(o))throw new Error(n.toUpperCase()+': Option "'+u+'" provided type "'+o+'" but expected type "'+e+'".');}}};return n.fn.emulateTransitionEnd=r,n.event.special[t.TRANSITION_END]={bindType:i,delegateType:i,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}},t}(t),ds=(ti="alert",cr="."+(hr="bs.alert"),ff=(y=t).fn[ti],lr={CLOSE:"close"+cr,CLOSED:"closed"+cr,CLICK_DATA_API:"click"+cr+".data-api"},ef="alert",of="fade",sf="show",at=function(){function n(n){this._element=n}var t=n.prototype;return t.close=function(n){var t=this._element;n&&(t=this._getRootElement(n));this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){y.removeData(this._element,hr);this._element=null},t._getRootElement=function(n){var i=o.getSelectorFromElement(n),t=!1;return i&&(t=y(i)[0]),t||(t=y(n).closest("."+ef)[0]),t},t._triggerCloseEvent=function(n){var t=y.Event(lr.CLOSE);return y(n).trigger(t),t},t._removeElement=function(n){var i=this,t;(y(n).removeClass(sf),y(n).hasClass(of))?(t=o.getTransitionDurationFromElement(n),y(n).one(o.TRANSITION_END,function(t){return i._destroyElement(n,t)}).emulateTransitionEnd(t)):this._destroyElement(n)},t._destroyElement=function(n){y(n).detach().trigger(lr.CLOSED).remove()},n._jQueryInterface=function(t){return this.each(function(){var r=y(this),i=r.data(hr);i||(i=new n(this),r.data(hr,i));"close"===t&&i[t](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},nt(n,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),n}(),y(document).on(lr.CLICK_DATA_API,'[data-dismiss="alert"]',at._handleDismiss(new at)),y.fn[ti]=at._jQueryInterface,y.fn[ti].Constructor=at,y.fn[ti].noConflict=function(){return y.fn[ti]=ff,at._jQueryInterface},at),gs=(ii="button",vr="."+(ar="bs.button"),yr=".data-api",hf=(c=t).fn[ii],ri="active",cf="btn",hu='[data-toggle^="button"]',af='[data-toggle="buttons"]',vf="input",yf=".active",cu=".btn",lu={CLICK_DATA_API:"click"+vr+yr,FOCUS_BLUR_DATA_API:(lf="focus")+vr+yr+" blur"+vr+yr},ui=function(){function n(n){this._element=n}var t=n.prototype;return t.toggle=function(){var i=!0,u=!0,t=c(this._element).closest(af)[0],n,r;if(t&&(n=c(this._element).find(vf)[0],n)){if("radio"===n.type&&(n.checked&&c(this._element).hasClass(ri)?i=!1:(r=c(t).find(yf)[0],r&&c(r).removeClass(ri))),i){if(n.hasAttribute("disabled")||t.hasAttribute("disabled")||n.classList.contains("disabled")||t.classList.contains("disabled"))return;n.checked=!c(this._element).hasClass(ri);c(n).trigger("change")}n.focus();u=!1}u&&this._element.setAttribute("aria-pressed",!c(this._element).hasClass(ri));i&&c(this._element).toggleClass(ri)},t.dispose=function(){c.removeData(this._element,ar);this._element=null},n._jQueryInterface=function(t){return this.each(function(){var i=c(this).data(ar);i||(i=new n(this),c(this).data(ar,i));"toggle"===t&&i[t]()})},nt(n,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),n}(),c(document).on(lu.CLICK_DATA_API,hu,function(n){n.preventDefault();var t=n.target;c(t).hasClass(cf)||(t=c(t).closest(cu));ui._jQueryInterface.call(c(t),"toggle")}).on(lu.FOCUS_BLUR_DATA_API,hu,function(n){var t=c(n.target).closest(cu)[0];c(t).toggleClass(lf,/^focus(in)?$/.test(n.type))}),c.fn[ii]=ui._jQueryInterface,c.fn[ii].Constructor=ui,c.fn[ii].noConflict=function(){return c.fn[ii]=hf,ui._jQueryInterface},ui),nh=(vt="carousel",tt="."+(ki="bs.carousel"),au=".data-api",pf=(f=t).fn[vt],pr={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},wf={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},di="next",gi="prev",bf="left",kf="right",it={SLIDE:"slide"+tt,SLID:"slid"+tt,KEYDOWN:"keydown"+tt,MOUSEENTER:"mouseenter"+tt,MOUSELEAVE:"mouseleave"+tt,TOUCHEND:"touchend"+tt,LOAD_DATA_API:"load"+tt+au,CLICK_DATA_API:"click"+tt+au},df="carousel",ot="active",gf="slide",ne="carousel-item-right",te="carousel-item-left",ie="carousel-item-next",re="carousel-item-prev",rt={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},yt=function(){function t(n,t){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this._config=this._getConfig(t);this._element=f(n)[0];this._indicatorsElement=f(this._element).find(rt.INDICATORS)[0];this._addEventListeners()}var n=t.prototype;return n.next=function(){this._isSliding||this._slide(di)},n.nextWhenVisible=function(){!document.hidden&&f(this._element).is(":visible")&&"hidden"!==f(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(gi)},n.pause=function(n){n||(this._isPaused=!0);f(this._element).find(rt.NEXT_PREV)[0]&&(o.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 r=this,t,i;if(this._activeElement=f(this._element).find(rt.ACTIVE_ITEM)[0],t=this._getItemIndex(this._activeElement),!(n>this._items.length-1||n<0))if(this._isSliding)f(this._element).one(it.SLID,function(){return r.to(n)});else{if(t===n)return this.pause(),void this.cycle();i=t<n?di:gi;this._slide(i,this._items[n])}},n.dispose=function(){f(this._element).off(tt);f.removeData(this._element,ki);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=v({},pr,n),o.typeCheckConfig(vt,n,wf),n},n._addEventListeners=function(){var n=this;this._config.keyboard&&f(this._element).on(it.KEYDOWN,function(t){return n._keydown(t)});"hover"===this._config.pause&&(f(this._element).on(it.MOUSEENTER,function(t){return n.pause(t)}).on(it.MOUSELEAVE,function(t){return n.cycle(t)}),"ontouchstart"in document.documentElement&&f(this._element).on(it.TOUCHEND,function(){n.pause();n.touchTimeout&&clearTimeout(n.touchTimeout);n.touchTimeout=setTimeout(function(t){return n.cycle(t)},500+n._config.interval)}))},n._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case 37:n.preventDefault();this.prev();break;case 39:n.preventDefault();this.next()}},n._getItemIndex=function(n){return this._items=f.makeArray(f(n).parent().find(rt.ITEM)),this._items.indexOf(n)},n._getItemByDirection=function(n,t){var u=n===di,f=n===gi,i=this._getItemIndex(t),e=this._items.length-1,r;return(f&&0===i||u&&i===e)&&!this._config.wrap?t:(r=(i+(n===gi?-1:1))%this._items.length,-1===r?this._items[this._items.length-1]:this._items[r])},n._triggerSlideEvent=function(n,t){var r=this._getItemIndex(n),u=this._getItemIndex(f(this._element).find(rt.ACTIVE_ITEM)[0]),i=f.Event(it.SLIDE,{relatedTarget:n,direction:t,from:u,to:r});return f(this._element).trigger(i),i},n._setActiveIndicatorElement=function(n){if(this._indicatorsElement){f(this._indicatorsElement).find(rt.ACTIVE).removeClass(ot);var t=this._indicatorsElement.children[this._getItemIndex(n)];t&&f(t).addClass(ot)}},n._slide=function(n,t){var u,e,s,c=this,r=f(this._element).find(rt.ACTIVE_ITEM)[0],v=this._getItemIndex(r),i=t||r&&this._getItemByDirection(n,r),y=this._getItemIndex(i),l=Boolean(this._interval),h,a;(n===di?(u=te,e=ie,s=bf):(u=ne,e=re,s=kf),i&&f(i).hasClass(ot))?this._isSliding=!1:!this._triggerSlideEvent(i,s).isDefaultPrevented()&&r&&i&&(this._isSliding=!0,l&&this.pause(),this._setActiveIndicatorElement(i),h=f.Event(it.SLID,{relatedTarget:i,direction:s,from:v,to:y}),f(this._element).hasClass(gf)?(f(i).addClass(e),o.reflow(i),f(r).addClass(u),f(i).addClass(u),a=o.getTransitionDurationFromElement(r),f(r).one(o.TRANSITION_END,function(){f(i).removeClass(u+" "+e).addClass(ot);f(r).removeClass(ot+" "+e+" "+u);c._isSliding=!1;setTimeout(function(){return f(c._element).trigger(h)},0)}).emulateTransitionEnd(a)):(f(r).removeClass(ot),f(i).addClass(ot),this._isSliding=!1,f(this._element).trigger(h)),l&&this.cycle())},t._jQueryInterface=function(n){return this.each(function(){var i=f(this).data(ki),r=v({},pr,f(this).data()),u;if("object"==typeof n&&(r=v({},r,n)),u="string"==typeof n?n:r.slide,i||(i=new t(this,r),f(this).data(ki,i)),"number"==typeof n)i.to(n);else if("string"==typeof u){if("undefined"==typeof i[u])throw new TypeError('No method named "'+u+'"');i[u]()}else r.interval&&(i.pause(),i.cycle())})},t._dataApiClickHandler=function(n){var e=o.getSelectorFromElement(this),i,u,r;e&&(i=f(e)[0],i&&f(i).hasClass(df)&&(u=v({},f(i).data(),f(this).data()),r=this.getAttribute("data-slide-to"),r&&(u.interval=!1),t._jQueryInterface.call(f(i),u),r&&f(i).data(ki).to(r),n.preventDefault()))},nt(t,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return pr}}]),t}(),f(document).on(it.CLICK_DATA_API,rt.DATA_SLIDE,yt._dataApiClickHandler),f(window).on(it.LOAD_DATA_API,function(){f(rt.DATA_RIDE).each(function(){var n=f(this);yt._jQueryInterface.call(n,n.data())})}),f.fn[vt]=yt._jQueryInterface,f.fn[vt].Constructor=yt,f.fn[vt].noConflict=function(){return f.fn[vt]=pf,yt._jQueryInterface},yt),th=(pt="collapse",fi="."+(wt="bs.collapse"),ue=(s=t).fn[pt],wr={toggle:!0,parent:""},fe={toggle:"boolean",parent:"(string|element)"},ei={SHOW:"show"+fi,SHOWN:"shown"+fi,HIDE:"hide"+fi,HIDDEN:"hidden"+fi,CLICK_DATA_API:"click"+fi+".data-api"},st="show",nr="collapse",tr="collapsing",br="collapsed",vu="width",ee="height",kr={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},oi=function(){function t(n,t){var u,i,f,r;for(this._isTransitioning=!1,this._element=n,this._config=this._getConfig(t),this._triggerArray=s.makeArray(s('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]')),u=s(kr.DATA_TOGGLE),i=0;i<u.length;i++)f=u[i],r=o.getSelectorFromElement(f),null!==r&&0<s(r).filter(n).length&&(this._selector=r,this._triggerArray.push(f));this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var n=t.prototype;return n.toggle=function(){s(this._element).hasClass(st)?this.hide():this.show()},n.show=function(){var n,u,r=this,f,i,e,h;this._isTransitioning||s(this._element).hasClass(st)||(this._parent&&0===(n=s.makeArray(s(this._parent).find(kr.ACTIVES).filter('[data-parent="'+this._config.parent+'"]'))).length&&(n=null),n&&(u=s(n).not(this._selector).data(wt))&&u._isTransitioning)||(f=s.Event(ei.SHOW),(s(this._element).trigger(f),f.isDefaultPrevented())||(n&&(t._jQueryInterface.call(s(n).not(this._selector),"hide"),u||s(n).data(wt,null)),i=this._getDimension(),s(this._element).removeClass(nr).addClass(tr),(this._element.style[i]=0)<this._triggerArray.length&&s(this._triggerArray).removeClass(br).attr("aria-expanded",!0),this.setTransitioning(!0),e="scroll"+(i[0].toUpperCase()+i.slice(1)),h=o.getTransitionDurationFromElement(this._element),s(this._element).one(o.TRANSITION_END,function(){s(r._element).removeClass(tr).addClass(nr).addClass(st);r._element.style[i]="";r.setTransitioning(!1);s(r._element).trigger(ei.SHOWN)}).emulateTransitionEnd(h),this._element.style[i]=this._element[e]+"px"))},n.hide=function(){var f=this,i,n,t,r,u,e;if(!this._isTransitioning&&s(this._element).hasClass(st)&&(i=s.Event(ei.HIDE),s(this._element).trigger(i),!i.isDefaultPrevented())){if(n=this._getDimension(),this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",o.reflow(this._element),s(this._element).addClass(tr).removeClass(nr).removeClass(st),0<this._triggerArray.length)for(t=0;t<this._triggerArray.length;t++)r=this._triggerArray[t],u=o.getSelectorFromElement(r),null!==u&&(s(u).hasClass(st)||s(r).addClass(br).attr("aria-expanded",!1));this.setTransitioning(!0);this._element.style[n]="";e=o.getTransitionDurationFromElement(this._element);s(this._element).one(o.TRANSITION_END,function(){f.setTransitioning(!1);s(f._element).removeClass(tr).addClass(nr).trigger(ei.HIDDEN)}).emulateTransitionEnd(e)}},n.setTransitioning=function(n){this._isTransitioning=n},n.dispose=function(){s.removeData(this._element,wt);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},n._getConfig=function(n){return(n=v({},wr,n)).toggle=Boolean(n.toggle),o.typeCheckConfig(pt,n,fe),n},n._getDimension=function(){return s(this._element).hasClass(vu)?vu:ee},n._getParent=function(){var r=this,n=null,i;return o.isElement(this._config.parent)?(n=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(n=this._config.parent[0])):n=s(this._config.parent)[0],i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',s(n).find(i).each(function(n,i){r._addAriaAndCollapsedClass(t._getTargetFromElement(i),[i])}),n},n._addAriaAndCollapsedClass=function(n,t){if(n){var i=s(n).hasClass(st);0<t.length&&s(t).toggleClass(br,!i).attr("aria-expanded",i)}},t._getTargetFromElement=function(n){var t=o.getSelectorFromElement(n);return t?s(t)[0]:null},t._jQueryInterface=function(n){return this.each(function(){var r=s(this),i=r.data(wt),u=v({},wr,r.data(),"object"==typeof n&&n?n:{});if(!i&&u.toggle&&/show|hide/.test(n)&&(u.toggle=!1),i||(i=new t(this,u),r.data(wt,i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},nt(t,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return wr}}]),t}(),s(document).on(ei.CLICK_DATA_API,kr.DATA_TOGGLE,function(n){"A"===n.currentTarget.tagName&&n.preventDefault();var t=s(this),i=o.getSelectorFromElement(this);s(i).each(function(){var n=s(this),i=n.data(wt)?"toggle":t.data();oi._jQueryInterface.call(n,i)})}),s.fn[pt]=oi._jQueryInterface,s.fn[pt].Constructor=oi,s.fn[pt].noConflict=function(){return s.fn[pt]=ue,oi._jQueryInterface},oi),ih=(bt="dropdown",ut="."+(ir="bs.dropdown"),dr=".data-api",oe=(e=t).fn[bt],se=new RegExp("38|40|27"),b={HIDE:"hide"+ut,HIDDEN:"hidden"+ut,SHOW:"show"+ut,SHOWN:"shown"+ut,CLICK:"click"+ut,CLICK_DATA_API:"click"+ut+dr,KEYDOWN_DATA_API:"keydown"+ut+dr,KEYUP_DATA_API:"keyup"+ut+dr},yu="disabled",ht="show",he="dropup",ce="dropright",le="dropleft",pu="dropdown-menu-right",ae="position-static",rr='[data-toggle="dropdown"]',ve=".dropdown form",gr=".dropdown-menu",ye=".navbar-nav",pe=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",we="top-start",be="top-end",ke="bottom-start",de="bottom-end",ge="right-start",no="left-start",to={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},io={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},et=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 t=n.prototype;return t.toggle=function(){var t,s,u,f,r;if(!this._element.disabled&&!e(this._element).hasClass(yu)&&(t=n._getParentFromElement(this._element),s=e(this._menu).hasClass(ht),(n._clearMenus(),!s)&&(u={relatedTarget:this._element},f=e.Event(b.SHOW,u),e(t).trigger(f),!f.isDefaultPrevented()))){if(!this._inNavbar){if("undefined"==typeof i)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");r=this._element;"parent"===this._config.reference?r=t:o.isElement(this._config.reference)&&(r=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(r=this._config.reference[0]));"scrollParent"!==this._config.boundary&&e(t).addClass(ae);this._popper=new i(r,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===e(t).closest(ye).length&&e(document.body).children().on("mouseover",null,e.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);e(this._menu).toggleClass(ht);e(t).toggleClass(ht).trigger(e.Event(b.SHOWN,u))}},t.dispose=function(){e.removeData(this._element,ir);e(this._element).off(ut);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 n=this;e(this._element).on(b.CLICK,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},t._getConfig=function(n){return n=v({},this.constructor.Default,e(this._element).data(),n),o.typeCheckConfig(bt,n,this.constructor.DefaultType),n},t._getMenuElement=function(){if(!this._menu){var t=n._getParentFromElement(this._element);this._menu=e(t).find(gr)[0]}return this._menu},t._getPlacement=function(){var t=e(this._element).parent(),n=ke;return t.hasClass(he)?(n=we,e(this._menu).hasClass(pu)&&(n=be)):t.hasClass(ce)?n=ge:t.hasClass(le)?n=no:e(this._menu).hasClass(pu)&&(n=de),n},t._detectNavbar=function(){return 0<e(this._element).closest(".navbar").length},t._getPopperConfig=function(){var i=this,n={},t;return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=v({},n.offsets,i._config.offset(n.offsets)||{}),n}:n.offset=this._config.offset,t={placement:this._getPlacement(),modifiers:{offset:n,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}},"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},n._jQueryInterface=function(t){return this.each(function(){var i=e(this).data(ir);if(i||(i=new n(this,"object"==typeof t?t:null),e(this).data(ir,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},n._clearMenus=function(t){var r,i,h,f;if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(r=e.makeArray(e(rr)),i=0;i<r.length;i++){var u=n._getParentFromElement(r[i]),o=e(r[i]).data(ir),s={relatedTarget:r[i]};o&&(h=o._menu,!e(u).hasClass(ht)||t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&e.contains(u,t.target)||(f=e.Event(b.HIDE,s),e(u).trigger(f),f.isDefaultPrevented()||("ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),r[i].setAttribute("aria-expanded","false"),e(h).removeClass(ht),e(u).removeClass(ht).trigger(e.Event(b.HIDDEN,s)))))}},n._getParentFromElement=function(n){var t,i=o.getSelectorFromElement(n);return i&&(t=e(i)[0]),t||n.parentNode},n._dataApiKeydownHandler=function(t){var u,f,r,i,o;(/input|textarea/i.test(t.target.tagName)?32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||e(t.target).closest(gr).length):!se.test(t.which))||(t.preventDefault(),t.stopPropagation(),this.disabled||e(this).hasClass(yu))||(u=n._getParentFromElement(this),f=e(u).hasClass(ht),(f||27===t.which&&32===t.which)&&(!f||27!==t.which&&32!==t.which)?(r=e(u).find(pe).get(),0!==r.length&&(i=r.indexOf(t.target),38===t.which&&0<i&&i--,40===t.which&&i<r.length-1&&i++,i<0&&(i=0),r[i].focus())):(27===t.which&&(o=e(u).find(rr)[0],e(o).trigger("focus")),e(this).trigger("click")))},nt(n,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return to}},{key:"DefaultType",get:function(){return io}}]),n}(),e(document).on(b.KEYDOWN_DATA_API,rr,et._dataApiKeydownHandler).on(b.KEYDOWN_DATA_API,gr,et._dataApiKeydownHandler).on(b.CLICK_DATA_API+" "+b.KEYUP_DATA_API,et._clearMenus).on(b.CLICK_DATA_API,rr,function(n){n.preventDefault();n.stopPropagation();et._jQueryInterface.call(e(this),"toggle")}).on(b.CLICK_DATA_API,ve,function(n){n.stopPropagation()}),e.fn[bt]=et._jQueryInterface,e.fn[bt].Constructor=et,e.fn[bt].noConflict=function(){return e.fn[bt]=oe,et._jQueryInterface},et),rh=(kt="modal",w="."+(ur="bs.modal"),ro=(r=t).fn[kt],nu={backdrop:!0,keyboard:!0,focus:!0,show:!0},uo={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},a={HIDE:"hide"+w,HIDDEN:"hidden"+w,SHOW:"show"+w,SHOWN:"shown"+w,FOCUSIN:"focusin"+w,RESIZE:"resize"+w,CLICK_DISMISS:"click.dismiss"+w,KEYDOWN_DISMISS:"keydown.dismiss"+w,MOUSEUP_DISMISS:"mouseup.dismiss"+w,MOUSEDOWN_DISMISS:"mousedown.dismiss"+w,CLICK_DATA_API:"click"+w+".data-api"},fo="modal-scrollbar-measure",eo="modal-backdrop",wu="modal-open",dt="fade",fr="show",ft={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"},si=function(){function t(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=r(n).find(ft.DIALOG)[0];this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._scrollbarWidth=0}var n=t.prototype;return n.toggle=function(n){return this._isShown?this.hide():this.show(n)},n.show=function(n){var t=this,i;this._isTransitioning||this._isShown||(r(this._element).hasClass(dt)&&(this._isTransitioning=!0),i=r.Event(a.SHOW,{relatedTarget:n}),r(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),r(document.body).addClass(wu),this._setEscapeEvent(),this._setResizeEvent(),r(this._element).on(a.CLICK_DISMISS,ft.DATA_DISMISS,function(n){return t.hide(n)}),r(this._dialog).on(a.MOUSEDOWN_DISMISS,function(){r(t._element).one(a.MOUSEUP_DISMISS,function(n){r(n.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return t._showElement(n)})))},n.hide=function(n){var f=this,t,i,u;(n&&n.preventDefault(),!this._isTransitioning&&this._isShown)&&(t=r.Event(a.HIDE),(r(this._element).trigger(t),this._isShown&&!t.isDefaultPrevented())&&(this._isShown=!1,i=r(this._element).hasClass(dt),(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),r(document).off(a.FOCUSIN),r(this._element).removeClass(fr),r(this._element).off(a.CLICK_DISMISS),r(this._dialog).off(a.MOUSEDOWN_DISMISS),i)?(u=o.getTransitionDurationFromElement(this._element),r(this._element).one(o.TRANSITION_END,function(n){return f._hideModal(n)}).emulateTransitionEnd(u)):this._hideModal()))},n.dispose=function(){r.removeData(this._element,ur);r(window,document,this._element,this._backdrop).off(w);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._scrollbarWidth=null},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(n){return n=v({},nu,n),o.typeCheckConfig(kt,n,uo),n},n._showElement=function(n){var t=this,u=r(this._element).hasClass(dt),f,i,e;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.scrollTop=0;u&&o.reflow(this._element);r(this._element).addClass(fr);this._config.focus&&this._enforceFocus();f=r.Event(a.SHOWN,{relatedTarget:n});i=function(){t._config.focus&&t._element.focus();t._isTransitioning=!1;r(t._element).trigger(f)};u?(e=o.getTransitionDurationFromElement(this._element),r(this._dialog).one(o.TRANSITION_END,i).emulateTransitionEnd(e)):i()},n._enforceFocus=function(){var n=this;r(document).off(a.FOCUSIN).on(a.FOCUSIN,function(t){document!==t.target&&n._element!==t.target&&0===r(n._element).has(t.target).length&&n._element.focus()})},n._setEscapeEvent=function(){var n=this;this._isShown&&this._config.keyboard?r(this._element).on(a.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),n.hide())}):this._isShown||r(this._element).off(a.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var n=this;this._isShown?r(window).on(a.RESIZE,function(t){return n.handleUpdate(t)}):r(window).off(a.RESIZE)},n._hideModal=function(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._isTransitioning=!1;this._showBackdrop(function(){r(document.body).removeClass(wu);n._resetAdjustments();n._resetScrollbar();r(n._element).trigger(a.HIDDEN)})},n._removeBackdrop=function(){this._backdrop&&(r(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(n){var t=this,i=r(this._element).hasClass(dt)?dt:"",f,u,e;if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=eo,i&&r(this._backdrop).addClass(i),r(this._backdrop).appendTo(document.body),r(this._element).on(a.CLICK_DISMISS,function(n){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:n.target===n.currentTarget&&("static"===t._config.backdrop?t._element.focus():t.hide())}),i&&o.reflow(this._backdrop),r(this._backdrop).addClass(fr),!n)return;if(!i)return void n();f=o.getTransitionDurationFromElement(this._backdrop);r(this._backdrop).one(o.TRANSITION_END,n).emulateTransitionEnd(f)}else!this._isShown&&this._backdrop?(r(this._backdrop).removeClass(fr),u=function(){t._removeBackdrop();n&&n()},r(this._element).hasClass(dt)?(e=o.getTransitionDurationFromElement(this._backdrop),r(this._backdrop).one(o.TRANSITION_END,u).emulateTransitionEnd(e)):u()):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,t,i;this._isBodyOverflowing&&(r(ft.FIXED_CONTENT).each(function(t,i){var u=r(i)[0].style.paddingRight,f=r(i).css("padding-right");r(i).data("padding-right",u).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),r(ft.STICKY_CONTENT).each(function(t,i){var u=r(i)[0].style.marginRight,f=r(i).css("margin-right");r(i).data("margin-right",u).css("margin-right",parseFloat(f)-n._scrollbarWidth+"px")}),r(ft.NAVBAR_TOGGLER).each(function(t,i){var u=r(i)[0].style.marginRight,f=r(i).css("margin-right");r(i).data("margin-right",u).css("margin-right",parseFloat(f)+n._scrollbarWidth+"px")}),t=document.body.style.paddingRight,i=r(document.body).css("padding-right"),r(document.body).data("padding-right",t).css("padding-right",parseFloat(i)+this._scrollbarWidth+"px"))},n._resetScrollbar=function(){r(ft.FIXED_CONTENT).each(function(n,t){var i=r(t).data("padding-right");"undefined"!=typeof i&&r(t).css("padding-right",i).removeData("padding-right")});r(ft.STICKY_CONTENT+", "+ft.NAVBAR_TOGGLER).each(function(n,t){var i=r(t).data("margin-right");"undefined"!=typeof i&&r(t).css("margin-right",i).removeData("margin-right")});var n=r(document.body).data("padding-right");"undefined"!=typeof n&&r(document.body).css("padding-right",n).removeData("padding-right")},n._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=fo,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},t._jQueryInterface=function(n,i){return this.each(function(){var u=r(this).data(ur),f=v({},nu,r(this).data(),"object"==typeof n&&n?n:{});if(u||(u=new t(this,f),r(this).data(ur,u)),"string"==typeof n){if("undefined"==typeof u[n])throw new TypeError('No method named "'+n+'"');u[n](i)}else f.show&&u.show(i)})},nt(t,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return nu}}]),t}(),r(document).on(a.CLICK_DATA_API,ft.DATA_TOGGLE,function(n){var t,i=this,u=o.getSelectorFromElement(this),f,e;u&&(t=r(u)[0]);f=r(t).data(ur)?"toggle":v({},r(t).data(),r(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||n.preventDefault();e=r(t).one(a.SHOW,function(n){n.isDefaultPrevented()||e.one(a.HIDDEN,function(){r(i).is(":visible")&&i.focus()})});si._jQueryInterface.call(r(t),f,this)}),r.fn[kt]=si._jQueryInterface,r.fn[kt].Constructor=si,r.fn[kt].noConflict=function(){return r.fn[kt]=ro,si._jQueryInterface},si),su=(ct="tooltip",k="."+(tu="bs.tooltip"),oo=(u=t).fn[ct],bu="bs-tooltip",so=new RegExp("(^|\\s)"+bu+"\\S+","g"),lo={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:!(co={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(ho={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"}),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},iu="out",ao={HIDE:"hide"+k,HIDDEN:"hidden"+k,SHOW:(hi="show")+k,SHOWN:"shown"+k,INSERTED:"inserted"+k,CLICK:"click"+k,FOCUSIN:"focusin"+k,FOCUSOUT:"focusout"+k,MOUSEENTER:"mouseenter"+k,MOUSELEAVE:"mouseleave"+k},ci="fade",li="show",vo=".tooltip-inner",yo=".arrow",ai="hover",ru="focus",po="click",wo="manual",er=function(){function t(n,t){if("undefined"==typeof i)throw new TypeError("Bootstrap 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=t.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 i=this.constructor.DATA_KEY,t=u(n.currentTarget).data(i);t||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),u(n.currentTarget).data(i,t));t._activeTrigger.click=!t._activeTrigger.click;t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(u(this.getTipElement()).hasClass(li))return void this._leave(null,this);this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout);u.removeData(this.element,this.constructor.DATA_KEY);u(this.element).off(this.constructor.EVENT_KEY);u(this.element).closest(".modal").off("hide.bs.modal");this.tip&&u(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,r,h,t,f,c,e,l,s,a;if("none"===u(this.element).css("display"))throw new Error("Please use show on visible elements");if(r=u.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(u(this.element).trigger(r),h=u.contains(this.element.ownerDocument.documentElement,this.element),r.isDefaultPrevented()||!h)return;t=this.getTipElement();f=o.getUID(this.constructor.NAME);t.setAttribute("id",f);this.element.setAttribute("aria-describedby",f);this.setContent();this.config.animation&&u(t).addClass(ci);c="function"==typeof this.config.placement?this.config.placement.call(this,t,this.element):this.config.placement;e=this._getAttachment(c);this.addAttachmentClass(e);l=!1===this.config.container?document.body:u(this.config.container);u(t).data(this.constructor.DATA_KEY,this);u.contains(this.element.ownerDocument.documentElement,this.tip)||u(t).appendTo(l);u(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new i(this.element,t,{placement:e,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:yo},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&n._handlePopperPlacementChange(t)},onUpdate:function(t){n._handlePopperPlacementChange(t)}});u(t).addClass(li);"ontouchstart"in document.documentElement&&u(document.body).children().on("mouseover",null,u.noop);s=function(){n.config.animation&&n._fixTransition();var t=n._hoverState;n._hoverState=null;u(n.element).trigger(n.constructor.Event.SHOWN);t===iu&&n._leave(null,n)};u(this.tip).hasClass(ci)?(a=o.getTransitionDurationFromElement(this.tip),u(this.tip).one(o.TRANSITION_END,s).emulateTransitionEnd(a)):s()}},n.hide=function(n){var t=this,i=this.getTipElement(),r=u.Event(this.constructor.Event.HIDE),f=function(){t._hoverState!==hi&&i.parentNode&&i.parentNode.removeChild(i);t._cleanTipClass();t.element.removeAttribute("aria-describedby");u(t.element).trigger(t.constructor.Event.HIDDEN);null!==t._popper&&t._popper.destroy();n&&n()},e;(u(this.element).trigger(r),r.isDefaultPrevented())||((u(i).removeClass(li),"ontouchstart"in document.documentElement&&u(document.body).children().off("mouseover",null,u.noop),this._activeTrigger[po]=!1,this._activeTrigger[ru]=!1,this._activeTrigger[ai]=!1,u(this.tip).hasClass(ci))?(e=o.getTransitionDurationFromElement(i),u(i).one(o.TRANSITION_END,f).emulateTransitionEnd(e)):f(),this._hoverState="")},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(n){u(this.getTipElement()).addClass(bu+"-"+n)},n.getTipElement=function(){return this.tip=this.tip||u(this.config.template)[0],this.tip},n.setContent=function(){var n=u(this.getTipElement());this.setElementContent(n.find(vo),this.getTitle());n.removeClass(ci+" "+li)},n.setElementContent=function(n,t){var i=this.config.html;"object"==typeof t&&(t.nodeType||t.jquery)?i?u(t).parent().is(n)||n.empty().append(t):n.text(u(t).text()):n[i?"html":"text"](t)},n.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),n},n._getAttachment=function(n){return co[n.toUpperCase()]},n._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)u(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(t!==wo){var i=t===ai?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,r=t===ai?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;u(n.element).on(i,n.config.selector,function(t){return n._enter(t)}).on(r,n.config.selector,function(t){return n._leave(t)})}u(n.element).closest(".modal").on("hide.bs.modal",function(){return n.hide()})});this.config.selector?this.config=v({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==n)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(n,t){var i=this.constructor.DATA_KEY;(t=t||u(n.currentTarget).data(i))||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),u(n.currentTarget).data(i,t));n&&(t._activeTrigger["focusin"===n.type?ru:ai]=!0);u(t.getTipElement()).hasClass(li)||t._hoverState===hi?t._hoverState=hi:(clearTimeout(t._timeout),t._hoverState=hi,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===hi&&t.show()},t.config.delay.show):t.show())},n._leave=function(n,t){var i=this.constructor.DATA_KEY;(t=t||u(n.currentTarget).data(i))||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),u(n.currentTarget).data(i,t));n&&(t._activeTrigger["focusout"===n.type?ru:ai]=!1);t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=iu,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===iu&&t.hide()},t.config.delay.hide):t.hide())},n._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},n._getConfig=function(n){return"number"==typeof(n=v({},this.constructor.Default,u(this.element).data(),"object"==typeof n&&n?n:{})).delay&&(n.delay={show:n.delay,hide:n.delay}),"number"==typeof n.title&&(n.title=n.title.toString()),"number"==typeof n.content&&(n.content=n.content.toString()),o.typeCheckConfig(ct,n,this.constructor.DefaultType),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 t=u(this.getTipElement()),n=t.attr("class").match(so);null!==n&&0<n.length&&t.removeClass(n.join(""))},n._handlePopperPlacementChange=function(n){this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},n._fixTransition=function(){var n=this.getTipElement(),t=this.config.animation;null===n.getAttribute("x-placement")&&(u(n).removeClass(ci),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},t._jQueryInterface=function(n){return this.each(function(){var i=u(this).data(tu),r="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new t(this,r),u(this).data(tu,i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},nt(t,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return lo}},{key:"NAME",get:function(){return ct}},{key:"DATA_KEY",get:function(){return tu}},{key:"Event",get:function(){return ao}},{key:"EVENT_KEY",get:function(){return k}},{key:"DefaultType",get:function(){return ho}}]),t}(),u.fn[ct]=er._jQueryInterface,u.fn[ct].Constructor=er,u.fn[ct].noConflict=function(){return u.fn[ct]=oo,er._jQueryInterface},er),uh=(gt="popover",d="."+(uu="bs.popover"),bo=(g=t).fn[gt],ku="bs-popover",ko=new RegExp("(^|\\s)"+ku+"\\S+","g"),go=v({},su.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>'}),ns=v({},su.DefaultType,{content:"(string|element|function)"}),ts="fade",rs=".popover-header",us=".popover-body",fs={HIDE:"hide"+d,HIDDEN:"hidden"+d,SHOW:(is="show")+d,SHOWN:"shown"+d,INSERTED:"inserted"+d,CLICK:"click"+d,FOCUSIN:"focusin"+d,FOCUSOUT:"focusout"+d,MOUSEENTER:"mouseenter"+d,MOUSELEAVE:"mouseleave"+d},or=function(n){function i(){return n.apply(this,arguments)||this}var r,u,t;return u=n,(r=i).prototype=Object.create(u.prototype),(r.prototype.constructor=r).__proto__=u,t=i.prototype,t.isWithContent=function(){return this.getTitle()||this._getContent()},t.addAttachmentClass=function(n){g(this.getTipElement()).addClass(ku+"-"+n)},t.getTipElement=function(){return this.tip=this.tip||g(this.config.template)[0],this.tip},t.setContent=function(){var t=g(this.getTipElement()),n;this.setElementContent(t.find(rs),this.getTitle());n=this._getContent();"function"==typeof n&&(n=n.call(this.element));this.setElementContent(t.find(us),n);t.removeClass(ts+" "+is)},t._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},t._cleanTipClass=function(){var t=g(this.getTipElement()),n=t.attr("class").match(ko);null!==n&&0<n.length&&t.removeClass(n.join(""))},i._jQueryInterface=function(n){return this.each(function(){var t=g(this).data(uu),r="object"==typeof n?n:null;if((t||!/destroy|hide/.test(n))&&(t||(t=new i(this,r),g(this).data(uu,t)),"string"==typeof n)){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},nt(i,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return go}},{key:"NAME",get:function(){return gt}},{key:"DATA_KEY",get:function(){return uu}},{key:"Event",get:function(){return fs}},{key:"EVENT_KEY",get:function(){return d}},{key:"DefaultType",get:function(){return ns}}]),i}(su),g.fn[gt]=or._jQueryInterface,g.fn[gt].Constructor=or,g.fn[gt].noConflict=function(){return g.fn[gt]=bo,or._jQueryInterface},or),fh=(lt="scrollspy",sr="."+(fu="bs.scrollspy"),es=(l=t).fn[lt],du={offset:10,method:"auto",target:""},os={offset:"number",method:"string",target:"(string|element)"},eu={ACTIVATE:"activate"+sr,SCROLL:"scroll"+sr,LOAD_DATA_API:"load"+sr+".data-api"},ss="dropdown-item",ni="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"},hs="offset",gu="position",vi=function(){function t(n,t){var i=this;this._element=n;this._scrollElement="BODY"===n.tagName?window:n;this._config=this._getConfig(t);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;l(this._scrollElement).on(eu.SCROLL,function(n){return i._process(n)});this.refresh();this._process()}var n=t.prototype;return n.refresh=function(){var n=this,i=this._scrollElement===this._scrollElement.window?hs:gu,t="auto"===this._config.method?i:this._config.method,r=t===gu?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();l.makeArray(l(this._selector)).map(function(n){var i,u=o.getSelectorFromElement(n),f;return(u&&(i=l(u)[0]),i)&&(f=i.getBoundingClientRect(),f.width||f.height)?[l(i)[t]().top+r,u]: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(){l.removeData(this._element,fu);l(this._scrollElement).off(sr);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("string"!=typeof(n=v({},du,"object"==typeof n&&n?n:{})).target){var t=l(n.target).attr("id");t||(t=o.getUID(lt),l(n.target).attr("id",t));n.target="#"+t}return o.typeCheckConfig(lt,n,os),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(),u=this._config.offset+r-this._getOffsetHeight(),i,n;if(this._scrollHeight!==r&&this.refresh(),u<=t)i=this._targets[this._targets.length-1],this._activeTarget!==i&&this._activate(i);else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(n=this._offsets.length;n--;)this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&("undefined"==typeof this._offsets[n+1]||t<this._offsets[n+1])&&this._activate(this._targets[n])}},n._activate=function(n){var i,t;this._activeTarget=n;this._clear();i=this._selector.split(",");i=i.map(function(t){return t+'[data-target="'+n+'"],'+t+'[href="'+n+'"]'});t=l(i.join(","));t.hasClass(ss)?(t.closest(p.DROPDOWN).find(p.DROPDOWN_TOGGLE).addClass(ni),t.addClass(ni)):(t.addClass(ni),t.parents(p.NAV_LIST_GROUP).prev(p.NAV_LINKS+", "+p.LIST_ITEMS).addClass(ni),t.parents(p.NAV_LIST_GROUP).prev(p.NAV_ITEMS).children(p.NAV_LINKS).addClass(ni));l(this._scrollElement).trigger(eu.ACTIVATE,{relatedTarget:n})},n._clear=function(){l(this._selector).filter(p.ACTIVE).removeClass(ni)},t._jQueryInterface=function(n){return this.each(function(){var i=l(this).data(fu);if(i||(i=new t(this,"object"==typeof n&&n),l(this).data(fu,i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},nt(t,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return du}}]),t}(),l(window).on(eu.LOAD_DATA_API,function(){for(var i,n=l.makeArray(l(p.DATA_SPY)),t=n.length;t--;)i=l(n[t]),vi._jQueryInterface.call(i,i.data())}),l.fn[lt]=vi._jQueryInterface,l.fn[lt].Constructor=vi,l.fn[lt].noConflict=function(){return l.fn[lt]=es,vi._jQueryInterface},vi),eh=(yi="."+(ou="bs.tab"),cs=(h=t).fn.tab,pi={HIDE:"hide"+yi,HIDDEN:"hidden"+yi,SHOW:"show"+yi,SHOWN:"shown"+yi,CLICK_DATA_API:"click"+yi+".data-api"},ls="dropdown-menu",wi="active",as="disabled",vs="fade",nf="show",ys=".dropdown",ps=".nav, .list-group",tf=".active",rf="> li > .active",ws='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',bs=".dropdown-toggle",ks="> .dropdown-menu .active",bi=function(){function n(n){this._element=n}var t=n.prototype;return t.show=function(){var s=this,i,n,t,r,c,u,f,e;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&h(this._element).hasClass(wi)||h(this._element).hasClass(as)||(t=h(this._element).closest(ps)[0],r=o.getSelectorFromElement(this._element),t&&(c="UL"===t.nodeName?rf:tf,n=(n=h.makeArray(h(t).find(c)))[n.length-1]),u=h.Event(pi.HIDE,{relatedTarget:this._element}),f=h.Event(pi.SHOW,{relatedTarget:n}),(n&&h(n).trigger(u),h(this._element).trigger(f),f.isDefaultPrevented()||u.isDefaultPrevented())||(r&&(i=h(r)[0]),this._activate(this._element,t),e=function(){var t=h.Event(pi.HIDDEN,{relatedTarget:s._element}),i=h.Event(pi.SHOWN,{relatedTarget:n});h(n).trigger(t);h(s._element).trigger(i)},i?this._activate(i,i.parentNode,e):e()))},t.dispose=function(){h.removeData(this._element,ou);this._element=null},t._activate=function(n,t,i){var e=this,r=("UL"===t.nodeName?h(t).find(rf):h(t).children(tf))[0],s=i&&r&&h(r).hasClass(vs),u=function(){return e._transitionComplete(n,r,i)},f;r&&s?(f=o.getTransitionDurationFromElement(r),h(r).one(o.TRANSITION_END,u).emulateTransitionEnd(f)):u()},t._transitionComplete=function(n,t,i){var r,u;t&&(h(t).removeClass(nf+" "+wi),r=h(t.parentNode).find(ks)[0],r&&h(r).removeClass(wi),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1));(h(n).addClass(wi),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!0),o.reflow(n),h(n).addClass(nf),n.parentNode&&h(n.parentNode).hasClass(ls))&&(u=h(n).closest(ys)[0],u&&h(u).find(bs).addClass(wi),n.setAttribute("aria-expanded",!0));i&&i()},n._jQueryInterface=function(t){return this.each(function(){var r=h(this),i=r.data(ou);if(i||(i=new n(this),r.data(ou,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},nt(n,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),n}(),h(document).on(pi.CLICK_DATA_API,ws,function(n){n.preventDefault();bi._jQueryInterface.call(h(this),"show")}),h.fn.tab=bi._jQueryInterface,h.fn.tab.Constructor=bi,h.fn.tab.noConflict=function(){return h.fn.tab=cs,bi._jQueryInterface},bi);!function(n){if("undefined"==typeof n)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=n.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");}(t);n.Util=o;n.Alert=ds;n.Button=gs;n.Carousel=nh;n.Collapse=th;n.Dropdown=ih;n.Modal=rh;n.Popover=uh;n.Scrollspy=fh;n.Tab=eh;n.Tooltip=su;Object.defineProperty(n,"__esModule",{value:!0})})