/*! * Bootstrap v4.0.0 (https://getbootstrap.com) * Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e(t.bootstrap={},t.jQuery,t.Popper)}(this,function(t,e,n){"use strict";function i(t,e){for(var n=0;n0?n:null}catch(i){return null}},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){o(t).trigger(a.end)},supportsTransitionEnd:function(){return Boolean(a)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var s,r=n[i],o=e[i],a=o&&l.isElement(o)?"element":(s=o,({}).toString.call(s).match(/\s([a-zA-Z]+)/)[1].toLowerCase());if(!RegExp(r).test(a))throw Error(t.toUpperCase()+': Option "'+i+'" provided type "'+a+'" but expected type "'+r+'".')}}},a=("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"},o.fn.emulateTransitionEnd=function t(e){var n=this,i=!1;return o(this).one(l.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||l.triggerTransitionEnd(n)},e),this},l.supportsTransitionEnd()&&(o.event.special[l.TRANSITION_END]={bindType:a.end,delegateType:a.end,handle:function(t){if(o(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),l),eA=(t6="alert",et="."+(t9="bs.alert"),ee=(tJ=e).fn[t6],en={CLOSE:"close"+et,CLOSED:"closed"+et,CLICK_DATA_API:"click"+et+".data-api"},ei="alert",es="fade",er="show",eo=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){t=t||this._element;var e=this._getRootElement(t);this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){tJ.removeData(this._element,t9),this._element=null},e._getRootElement=function(t){var e=eI.getSelectorFromElement(t),n=!1;return e&&(n=tJ(e)[0]),n||(n=tJ(t).closest("."+ei)[0]),n},e._triggerCloseEvent=function(t){var e=tJ.Event(en.CLOSE);return tJ(t).trigger(e),e},e._removeElement=function(t){var e=this;tJ(t).removeClass(er),eI.supportsTransitionEnd()&&tJ(t).hasClass(es)?tJ(t).one(eI.TRANSITION_END,function(n){return e._destroyElement(t,n)}).emulateTransitionEnd(150):this._destroyElement(t)},e._destroyElement=function(t){tJ(t).detach().trigger(en.CLOSED).remove()},t._jQueryInterface=function(e){return this.each(function(){var n=tJ(this),i=n.data(t9);i||(i=new t(this),n.data(t9,i)),"close"===e&&i[e](this)})},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},s(t,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),t}(),tJ(document).on(en.CLICK_DATA_API,'[data-dismiss="alert"]',eo._handleDismiss(new eo)),tJ.fn[t6]=eo._jQueryInterface,tJ.fn[t6].Constructor=eo,tJ.fn[t6].noConflict=function(){return tJ.fn[t6]=ee,eo._jQueryInterface},eo),eD=(el="button",ec="."+(eh="bs.button"),eu=".data-api",ef=(ea=e).fn[el],ed="active",e8="btn",eg="focus",ep='[data-toggle^="button"]',em='[data-toggle="buttons"]',ev="input",eE=".active",eT=".btn",eC={CLICK_DATA_API:"click"+ec+eu,FOCUS_BLUR_DATA_API:"focus"+ec+eu+" blur"+ec+eu},ey=function(){function t(t){this._element=t}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,n=ea(this._element).closest(em)[0];if(n){var i=ea(this._element).find(ev)[0];if(i){if("radio"===i.type){if(i.checked&&ea(this._element).hasClass(ed))t=!1;else{var s=ea(n).find(eE)[0];s&&ea(s).removeClass(ed)}}if(t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!ea(this._element).hasClass(ed),ea(i).trigger("change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!ea(this._element).hasClass(ed)),t&&ea(this._element).toggleClass(ed)},e.dispose=function(){ea.removeData(this._element,eh),this._element=null},t._jQueryInterface=function(e){return this.each(function(){var n=ea(this).data(eh);n||(n=new t(this),ea(this).data(eh,n)),"toggle"===e&&n[e]()})},s(t,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),t}(),ea(document).on(eC.CLICK_DATA_API,ep,function(t){t.preventDefault();var e=t.target;ea(e).hasClass(e8)||(e=ea(e).closest(eT)),ey._jQueryInterface.call(ea(e),"toggle")}).on(eC.FOCUS_BLUR_DATA_API,ep,function(t){var e=ea(t.target).closest(eT)[0];ea(e).toggleClass(eg,/^focus(in)?$/.test(t.type))}),ea.fn[el]=ey._jQueryInterface,ea.fn[el].Constructor=ey,ea.fn[el].noConflict=function(){return ea.fn[el]=ef,ey._jQueryInterface},ey),eS=(h=e,c="carousel",f="."+(u="bs.carousel"),d=h.fn[c],g={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},p={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},m="next",v="prev",E={SLIDE:"slide"+f,SLID:"slid"+f,KEYDOWN:"keydown"+f,MOUSEENTER:"mouseenter"+f,MOUSELEAVE:"mouseleave"+f,TOUCHEND:"touchend"+f,LOAD_DATA_API:"load"+f+".data-api",CLICK_DATA_API:"click"+f+".data-api"},T="active",C={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"]'},y=function(){function t(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(e),this._element=h(t)[0],this._indicatorsElement=h(this._element).find(C.INDICATORS)[0],this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(m)},e.nextWhenVisible=function(){!document.hidden&&h(this._element).is(":visible")&&"hidden"!==h(this._element).css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(v)},e.pause=function(t){t||(this._isPaused=!0),h(this._element).find(C.NEXT_PREV)[0]&&eI.supportsTransitionEnd()&&(eI.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=h(this._element).find(C.ACTIVE_ITEM)[0];var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0)){if(this._isSliding)h(this._element).one(E.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();this._slide(t>n?m:v,this._items[t])}}},e.dispose=function(){h(this._element).off(f),h.removeData(this._element,u),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=r({},g,t),eI.typeCheckConfig(c,t,p),t},e._addEventListeners=function(){var t=this;this._config.keyboard&&h(this._element).on(E.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&(h(this._element).on(E.MOUSEENTER,function(e){return t.pause(e)}).on(E.MOUSELEAVE,function(e){return t.cycle(e)}),"ontouchstart"in document.documentElement&&h(this._element).on(E.TOUCHEND,function(){t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval)}))},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=h.makeArray(h(t).parent().find(C.ITEM)),this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n=this._getItemIndex(e),i=this._items.length-1;if((t===v&&0===n||t===m&&n===i)&&!this._config.wrap)return e;var s=(n+(t===v?-1:1))%this._items.length;return -1===s?this._items[this._items.length-1]:this._items[s]},e._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(h(this._element).find(C.ACTIVE_ITEM)[0]),s=h.Event(E.SLIDE,{relatedTarget:t,direction:e,from:i,to:n});return h(this._element).trigger(s),s},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){h(this._indicatorsElement).find(C.ACTIVE).removeClass(T);var e=this._indicatorsElement.children[this._getItemIndex(t)];e&&h(e).addClass(T)}},e._slide=function(t,e){var n,i,s,r=this,o=h(this._element).find(C.ACTIVE_ITEM)[0],a=this._getItemIndex(o),l=e||o&&this._getItemByDirection(t,o),c=this._getItemIndex(l),u=Boolean(this._interval);if(t===m?(n="carousel-item-left",i="carousel-item-next",s="left"):(n="carousel-item-right",i="carousel-item-prev",s="right"),l&&h(l).hasClass(T))this._isSliding=!1;else if(!this._triggerSlideEvent(l,s).isDefaultPrevented()&&o&&l){this._isSliding=!0,u&&this.pause(),this._setActiveIndicatorElement(l);var f=h.Event(E.SLID,{relatedTarget:l,direction:s,from:a,to:c});eI.supportsTransitionEnd()&&h(this._element).hasClass("slide")?(h(l).addClass(i),eI.reflow(l),h(o).addClass(n),h(l).addClass(n),h(o).one(eI.TRANSITION_END,function(){h(l).removeClass(n+" "+i).addClass(T),h(o).removeClass(T+" "+i+" "+n),r._isSliding=!1,setTimeout(function(){return h(r._element).trigger(f)},0)}).emulateTransitionEnd(600)):(h(o).removeClass(T),h(l).addClass(T),this._isSliding=!1,h(this._element).trigger(f)),u&&this.cycle()}},t._jQueryInterface=function(e){return this.each(function(){var n=h(this).data(u),i=r({},g,h(this).data());"object"==typeof e&&(i=r({},i,e));var s="string"==typeof e?e:i.slide;if(n||(n=new t(this,i),h(this).data(u,n)),"number"==typeof e)n.to(e);else if("string"==typeof s){if(void 0===n[s])throw TypeError('No method named "'+s+'"');n[s]()}else i.interval&&(n.pause(),n.cycle())})},t._dataApiClickHandler=function(e){var n=eI.getSelectorFromElement(this);if(n){var i=h(n)[0];if(i&&h(i).hasClass("carousel")){var s=r({},h(i).data(),h(this).data()),o=this.getAttribute("data-slide-to");o&&(s.interval=!1),t._jQueryInterface.call(h(i),s),o&&h(i).data(u).to(o),e.preventDefault()}}},s(t,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return g}}]),t}(),h(document).on(E.CLICK_DATA_API,C.DATA_SLIDE,y._dataApiClickHandler),h(window).on(E.LOAD_DATA_API,function(){h(C.DATA_RIDE).each(function(){var t=h(this);y._jQueryInterface.call(t,t.data())})}),h.fn[c]=y._jQueryInterface,h.fn[c].Constructor=y,h.fn[c].noConflict=function(){return h.fn[c]=d,y._jQueryInterface},y),eb=(I=e,A="collapse",S="."+(D="bs.collapse"),b=I.fn[A],N={toggle:!0,parent:""},w={toggle:"boolean",parent:"(string|element)"},$={SHOW:"show"+S,SHOWN:"shown"+S,HIDE:"hide"+S,HIDDEN:"hidden"+S,CLICK_DATA_API:"click"+S+".data-api"},O="show",k="collapse",P="collapsing",L="collapsed",R="width",j={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},H=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=I.makeArray(I('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=I(j.DATA_TOGGLE),i=0;i0&&(this._selector=r,this._triggerArray.push(s))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){I(this._element).hasClass(O)?this.hide():this.show()},e.show=function(){var e,n,i=this;if(!this._isTransitioning&&!I(this._element).hasClass(O)&&(this._parent&&0===(e=I.makeArray(I(this._parent).find(j.ACTIVES).filter('[data-parent="'+this._config.parent+'"]'))).length&&(e=null),!(e&&(n=I(e).not(this._selector).data(D))&&n._isTransitioning))){var s=I.Event($.SHOW);if(I(this._element).trigger(s),!s.isDefaultPrevented()){e&&(t._jQueryInterface.call(I(e).not(this._selector),"hide"),n||I(e).data(D,null));var r=this._getDimension();I(this._element).removeClass(k).addClass(P),this._element.style[r]=0,this._triggerArray.length>0&&I(this._triggerArray).removeClass(L).attr("aria-expanded",!0),this.setTransitioning(!0);var o=function(){I(i._element).removeClass(P).addClass(k).addClass(O),i._element.style[r]="",i.setTransitioning(!1),I(i._element).trigger($.SHOWN)};if(eI.supportsTransitionEnd()){var a="scroll"+(r[0].toUpperCase()+r.slice(1));I(this._element).one(eI.TRANSITION_END,o).emulateTransitionEnd(600),this._element.style[r]=this._element[a]+"px"}else o()}}},e.hide=function(){var t=this;if(!this._isTransitioning&&I(this._element).hasClass(O)){var e=I.Event($.HIDE);if(I(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();if(this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",eI.reflow(this._element),I(this._element).addClass(P).removeClass(k).removeClass(O),this._triggerArray.length>0)for(var i=0;i0&&I(e).toggleClass(L,!n).attr("aria-expanded",n)}},t._getTargetFromElement=function(t){var e=eI.getSelectorFromElement(t);return e?I(e)[0]:null},t._jQueryInterface=function(e){return this.each(function(){var n=I(this),i=n.data(D),s=r({},N,n.data(),"object"==typeof e&&e);if(!i&&s.toggle&&/show|hide/.test(e)&&(s.toggle=!1),i||(i=new t(this,s),n.data(D,i)),"string"==typeof e){if(void 0===i[e])throw TypeError('No method named "'+e+'"');i[e]()}})},s(t,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return N}}]),t}(),I(document).on($.CLICK_DATA_API,j.DATA_TOGGLE,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var e=I(this);I(eI.getSelectorFromElement(this)).each(function(){var t=I(this),n=t.data(D)?"toggle":e.data();H._jQueryInterface.call(t,n)})}),I.fn[A]=H._jQueryInterface,I.fn[A].Constructor=H,I.fn[A].noConflict=function(){return I.fn[A]=b,H._jQueryInterface},H),eN=(_=e,W="dropdown",U="."+(M="bs.dropdown"),K=".data-api",x=_.fn[W],V=RegExp("38|40|27"),Q={HIDE:"hide"+U,HIDDEN:"hidden"+U,SHOW:"show"+U,SHOWN:"shown"+U,CLICK:"click"+U,CLICK_DATA_API:"click"+U+K,KEYDOWN_DATA_API:"keydown"+U+K,KEYUP_DATA_API:"keyup"+U+K},B="disabled",F="show",Y="dropup",G="dropdown-menu-right",q='[data-toggle="dropdown"]',z=".dropdown-menu",X="bottom-start",Z={offset:0,flip:!0,boundary:"scrollParent"},J={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)"},tt=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e=t.prototype;return e.toggle=function(){if(!this._element.disabled&&!_(this._element).hasClass(B)){var e=t._getParentFromElement(this._element),i=_(this._menu).hasClass(F);if(t._clearMenus(),!i){var s={relatedTarget:this._element},r=_.Event(Q.SHOW,s);if(_(e).trigger(r),!r.isDefaultPrevented()){if(!this._inNavbar){if(void 0===n)throw TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");var o=this._element;_(e).hasClass(Y)&&(_(this._menu).hasClass("dropdown-menu-left")||_(this._menu).hasClass(G))&&(o=e),"scrollParent"!==this._config.boundary&&_(e).addClass("position-static"),this._popper=new n(o,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===_(e).closest(".navbar-nav").length&&_("body").children().on("mouseover",null,_.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),_(this._menu).toggleClass(F),_(e).toggleClass(F).trigger(_.Event(Q.SHOWN,s))}}}},e.dispose=function(){_.removeData(this._element,M),_(this._element).off(U),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;_(this._element).on(Q.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},e._getConfig=function(t){return t=r({},this.constructor.Default,_(this._element).data(),t),eI.typeCheckConfig(W,t,this.constructor.DefaultType),t},e._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);this._menu=_(e).find(z)[0]}return this._menu},e._getPlacement=function(){var t=_(this._element).parent(),e=X;return t.hasClass(Y)?(e="top-start",_(this._menu).hasClass(G)&&(e="top-end")):t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":_(this._menu).hasClass(G)&&(e="bottom-end"),e},e._detectNavbar=function(){return _(this._element).closest(".navbar").length>0},e._getPopperConfig=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,t._config.offset(e.offsets)||{}),e}:e.offset=this._config.offset,{placement:this._getPlacement(),modifiers:{offset:e,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}}},t._jQueryInterface=function(e){return this.each(function(){var n=_(this).data(M);if(n||(n=new t(this,"object"==typeof e?e:null),_(this).data(M,n)),"string"==typeof e){if(void 0===n[e])throw TypeError('No method named "'+e+'"');n[e]()}})},t._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var n=_.makeArray(_(q)),i=0;i0&&r--,40===e.which&&rdocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},ty="show",tI={HIDE:"hide"+tp,HIDDEN:"hidden"+tp,SHOW:"show"+tp,SHOWN:"shown"+tp,INSERTED:"inserted"+tp,CLICK:"click"+tp,FOCUSIN:"focusin"+tp,FOCUSOUT:"focusout"+tp,MOUSEENTER:"mouseenter"+tp,MOUSELEAVE:"mouseleave"+tp},tA="fade",tD="show",tS="hover",tb="focus",tN=function(){function t(t,e){if(void 0===n)throw 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=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled){if(t){var e=this.constructor.DATA_KEY,n=td(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),td(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(td(this.getTipElement()).hasClass(tD))return void this._leave(null,this);this._enter(null,this)}}},e.dispose=function(){clearTimeout(this._timeout),td.removeData(this.element,this.constructor.DATA_KEY),td(this.element).off(this.constructor.EVENT_KEY),td(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&td(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var e=this;if("none"===td(this.element).css("display"))throw Error("Please use show on visible elements");var i=td.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){td(this.element).trigger(i);var s=td.contains(this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!s)return;var r=this.getTipElement(),o=eI.getUID(this.constructor.NAME);r.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&td(r).addClass(tA);var a="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,l=this._getAttachment(a);this.addAttachmentClass(l);var h=!1===this.config.container?document.body:td(this.config.container);td(r).data(this.constructor.DATA_KEY,this),td.contains(this.element.ownerDocument.documentElement,this.tip)||td(r).appendTo(h),td(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,r,{placement:l,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),td(r).addClass(tD),"ontouchstart"in document.documentElement&&td("body").children().on("mouseover",null,td.noop);var c=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,td(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)};eI.supportsTransitionEnd()&&td(this.tip).hasClass(tA)?td(this.tip).one(eI.TRANSITION_END,c).emulateTransitionEnd(t._TRANSITION_DURATION):c()}},e.hide=function(t){var e=this,n=this.getTipElement(),i=td.Event(this.constructor.Event.HIDE),s=function(){e._hoverState!==ty&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),td(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};td(this.element).trigger(i),i.isDefaultPrevented()||(td(n).removeClass(tD),"ontouchstart"in document.documentElement&&td("body").children().off("mouseover",null,td.noop),this._activeTrigger.click=!1,this._activeTrigger[tb]=!1,this._activeTrigger[tS]=!1,eI.supportsTransitionEnd()&&td(this.tip).hasClass(tA)?td(n).one(eI.TRANSITION_END,s).emulateTransitionEnd(150):s(),this._hoverState="")},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(t){td(this.getTipElement()).addClass("bs-tooltip-"+t)},e.getTipElement=function(){return this.tip=this.tip||td(this.config.template)[0],this.tip},e.setContent=function(){var t=td(this.getTipElement());this.setElementContent(t.find(".tooltip-inner"),this.getTitle()),t.removeClass(tA+" "+tD)},e.setElementContent=function(t,e){var n=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?n?td(e).parent().is(t)||t.empty().append(e):t.text(td(e).text()):t[n?"html":"text"](e)},e.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},e._getAttachment=function(t){return tT[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)td(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if("manual"!==e){var n=e===tS?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===tS?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;td(t.element).on(n,t.config.selector,function(e){return t._enter(e)}).on(i,t.config.selector,function(e){return t._leave(e)})}td(t.element).closest(".modal").on("hide.bs.modal",function(){return t.hide()})}),this.config.selector?this.config=r({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||td(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),td(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?tb:tS]=!0),td(e.getTipElement()).hasClass(tD)||e._hoverState===ty?e._hoverState=ty:(clearTimeout(e._timeout),e._hoverState=ty,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===ty&&e.show()},e.config.delay.show):e.show())},e._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||td(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),td(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?tb:tS]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){return"number"==typeof(t=r({},this.constructor.Default,td(this.element).data(),t)).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),eI.typeCheckConfig(t8,t,this.constructor.DefaultType),t},e._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},e._cleanTipClass=function(){var t=td(this.getTipElement()),e=t.attr("class").match(tv);null!==e&&e.length>0&&t.removeClass(e.join(""))},e._handlePopperPlacementChange=function(t){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(td(t).removeClass(tA),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each(function(){var n=td(this).data(tg);if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,"object"==typeof e&&e),td(this).data(tg,n)),"string"==typeof e)){if(void 0===n[e])throw TypeError('No method named "'+e+'"');n[e]()}})},s(t,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return tC}},{key:"NAME",get:function(){return t8}},{key:"DATA_KEY",get:function(){return tg}},{key:"Event",get:function(){return tI}},{key:"EVENT_KEY",get:function(){return tp}},{key:"DefaultType",get:function(){return tE}}]),t}(),td.fn[t8]=tN._jQueryInterface,td.fn[t8].Constructor=tN,td.fn[t8].noConflict=function(){return td.fn[t8]=tm,tN._jQueryInterface},tN),eO=(tw=e,t$="popover",tk="."+(tO="bs.popover"),tP=tw.fn[t$],tL=RegExp("(^|\\s)bs-popover\\S+","g"),tR=r({},e$.Default,{placement:"right",trigger:"click",content:"",template:''}),tj=r({},e$.DefaultType,{content:"(string|element|function)"}),tH={HIDE:"hide"+tk,HIDDEN:"hidden"+tk,SHOW:"show"+tk,SHOWN:"shown"+tk,INSERTED:"inserted"+tk,CLICK:"click"+tk,FOCUSIN:"focusin"+tk,FOCUSOUT:"focusout"+tk,MOUSEENTER:"mouseenter"+tk,MOUSELEAVE:"mouseleave"+tk},t_=function(t){function e(){return t.apply(this,arguments)||this}i=t,(n=e).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i;var n,i,r=e.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(t){tw(this.getTipElement()).addClass("bs-popover-"+t)},r.getTipElement=function(){return this.tip=this.tip||tw(this.config.template)[0],this.tip},r.setContent=function(){var t=tw(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var t=tw(this.getTipElement()),e=t.attr("class").match(tL);null!==e&&e.length>0&&t.removeClass(e.join(""))},e._jQueryInterface=function(t){return this.each(function(){var n=tw(this).data(tO);if((n||!/destroy|hide/.test(t))&&(n||(n=new e(this,"object"==typeof t?t:null),tw(this).data(tO,n)),"string"==typeof t)){if(void 0===n[t])throw TypeError('No method named "'+t+'"');n[t]()}})},s(e,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return tR}},{key:"NAME",get:function(){return t$}},{key:"DATA_KEY",get:function(){return tO}},{key:"Event",get:function(){return tH}},{key:"EVENT_KEY",get:function(){return tk}},{key:"DefaultType",get:function(){return tj}}]),e}(e$),tw.fn[t$]=t_._jQueryInterface,tw.fn[t$].Constructor=t_,tw.fn[t$].noConflict=function(){return tw.fn[t$]=tP,t_._jQueryInterface},t_),ek=(tW=e,tM="scrollspy",tK="."+(tU="bs.scrollspy"),tx=tW.fn[tM],tV={offset:10,method:"auto",target:""},tQ={offset:"number",method:"string",target:"(string|element)"},tB={ACTIVATE:"activate"+tK,SCROLL:"scroll"+tK,LOAD_DATA_API:"load"+tK+".data-api"},tF="active",tY={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"},tG="position",t2=function(){function t(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+tY.NAV_LINKS+","+this._config.target+" "+tY.LIST_ITEMS+","+this._config.target+" "+tY.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,tW(this._scrollElement).on(tB.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?"offset":tG,n="auto"===this._config.method?e:this._config.method,i=n===tG?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),tW.makeArray(tW(this._selector)).map(function(t){var e,s=eI.getSelectorFromElement(t);if(s&&(e=tW(s)[0]),e){var r=e.getBoundingClientRect();if(r.width||r.height)return[tW(e)[n]().top+i,s]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},e.dispose=function(){tW.removeData(this._element,tU),tW(this._scrollElement).off(tK),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if("string"!=typeof(t=r({},tV,t)).target){var e=tW(t.target).attr("id");e||(e=eI.getUID(tM),tW(t.target).attr("id",e)),t.target="#"+e}return eI.typeCheckConfig(tM,t,tQ),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(var s=this._offsets.length;s--;)this._activeTarget!==this._targets[s]&&t>=this._offsets[s]&&(void 0===this._offsets[s+1]||t li > .active",t4=function(){function t(t){this._element=t}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t1(this._element).hasClass(t7)||t1(this._element).hasClass("disabled"))){var e,n,i=t1(this._element).closest(".nav, .list-group")[0],s=eI.getSelectorFromElement(this._element);if(i){var r="UL"===i.nodeName?tZ:tX;n=(n=t1.makeArray(t1(i).find(r)))[n.length-1]}var o=t1.Event(t5.HIDE,{relatedTarget:this._element}),a=t1.Event(t5.SHOW,{relatedTarget:n});if(n&&t1(n).trigger(o),t1(this._element).trigger(a),!a.isDefaultPrevented()&&!o.isDefaultPrevented()){s&&(e=t1(s)[0]),this._activate(this._element,i);var l=function(){var e=t1.Event(t5.HIDDEN,{relatedTarget:t._element}),i=t1.Event(t5.SHOWN,{relatedTarget:n});t1(n).trigger(e),t1(t._element).trigger(i)};e?this._activate(e,e.parentNode,l):l()}}},e.dispose=function(){t1.removeData(this._element,t0),this._element=null},e._activate=function(t,e,n){var i=this,s=("UL"===e.nodeName?t1(e).find(tZ):t1(e).children(tX))[0],r=n&&eI.supportsTransitionEnd()&&s&&t1(s).hasClass("fade"),o=function(){return i._transitionComplete(t,s,n)};s&&r?t1(s).one(eI.TRANSITION_END,o).emulateTransitionEnd(150):o()},e._transitionComplete=function(t,e,n){if(e){t1(e).removeClass(tz+" "+t7);var i=t1(e.parentNode).find("> .dropdown-menu .active")[0];i&&t1(i).removeClass(t7),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(t1(t).addClass(t7),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),eI.reflow(t),t1(t).addClass(tz),t.parentNode&&t1(t.parentNode).hasClass("dropdown-menu")){var s=t1(t).closest(".dropdown")[0];s&&t1(s).find(".dropdown-toggle").addClass(t7),t.setAttribute("aria-expanded",!0)}n&&n()},t._jQueryInterface=function(e){return this.each(function(){var n=t1(this),i=n.data(t0);if(i||(i=new t(this),n.data(t0,i)),"string"==typeof e){if(void 0===i[e])throw TypeError('No method named "'+e+'"');i[e]()}})},s(t,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),t}(),t1(document).on(t5.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),t4._jQueryInterface.call(t1(this),"show")}),t1.fn.tab=t4._jQueryInterface,t1.fn.tab.Constructor=t4,t1.fn.tab.noConflict=function(){return t1.fn.tab=t3,t4._jQueryInterface},t4);!function(t){if(void 0===t)throw TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||e[0]>=4)throw Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(e),t.Util=eI,t.Alert=eA,t.Button=eD,t.Carousel=eS,t.Collapse=eb,t.Dropdown=eN,t.Modal=ew,t.Popover=eO,t.Scrollspy=ek,t.Tab=eP,t.Tooltip=e$,Object.defineProperty(t,"__esModule",{value:!0})});