!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=t||self).bootstrap={},t.jQuery,t.Popper)}(this,function(t,g,u){"use strict";function i(t,e){for(var n=0;nthis._items.length-1||t<0))if(this._isSliding)g(this._element).one(F.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=ndocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},Tt._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},Tt._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",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:[]}},Jt="show",Zt={HIDE:"hide"+Qt,HIDDEN:"hidden"+Qt,SHOW:"show"+Qt,SHOWN:"shown"+Qt,INSERTED:"inserted"+Qt,CLICK:"click"+Qt,FOCUSIN:"focusin"+Qt,FOCUSOUT:"focusout"+Qt,MOUSEENTER:"mouseenter"+Qt,MOUSELEAVE:"mouseleave"+Qt},te="fade",ee="show",ne="hover",ie="focus",oe=((qt=se.prototype).enable=function(){this._isEnabled=!0},qt.disable=function(){this._isEnabled=!1},qt.toggleEnabled=function(){this._isEnabled=!this._isEnabled},qt.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=g(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),g(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(g(this.getTipElement()).hasClass(ee))return void this._leave(null,this);this._enter(null,this)}},qt.dispose=function(){clearTimeout(this._timeout),g.removeData(this.element,this.constructor.DATA_KEY),g(this.element).off(this.constructor.EVENT_KEY),g(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&g(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},qt.show=function(){var e=this;if("none"===g(this.element).css("display"))throw new Error("Please use show on visible elements");var t=g.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){g(this.element).trigger(t);var n=_.findShadowRoot(this.element),i=g.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!i)return;var o=this.getTipElement(),s=_.getUID(this.constructor.NAME);o.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&g(o).addClass(te);var r="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,a=this._getAttachment(r);this.addAttachmentClass(a);var l=this._getContainer();g(o).data(this.constructor.DATA_KEY,this),g.contains(this.element.ownerDocument.documentElement,this.tip)||g(o).appendTo(l),g(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new u(this.element,o,{placement:a,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),g(o).addClass(ee),"ontouchstart"in document.documentElement&&g(document.body).children().on("mouseover",null,g.noop);var c=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,g(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)};if(g(this.tip).hasClass(te)){var h=_.getTransitionDurationFromElement(this.tip);g(this.tip).one(_.TRANSITION_END,c).emulateTransitionEnd(h)}else c()}},qt.hide=function(t){function e(){n._hoverState!==Jt&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),g(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()}var n=this,i=this.getTipElement(),o=g.Event(this.constructor.Event.HIDE);if(g(this.element).trigger(o),!o.isDefaultPrevented()){if(g(i).removeClass(ee),"ontouchstart"in document.documentElement&&g(document.body).children().off("mouseover",null,g.noop),this._activeTrigger.click=!1,this._activeTrigger[ie]=!1,this._activeTrigger[ne]=!1,g(this.tip).hasClass(te)){var s=_.getTransitionDurationFromElement(i);g(i).one(_.TRANSITION_END,e).emulateTransitionEnd(s)}else e();this._hoverState=""}},qt.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},qt.isWithContent=function(){return Boolean(this.getTitle())},qt.addAttachmentClass=function(t){g(this.getTipElement()).addClass(Vt+"-"+t)},qt.getTipElement=function(){return this.tip=this.tip||g(this.config.template)[0],this.tip},qt.setContent=function(){var t=this.getTipElement();this.setElementContent(g(t.querySelectorAll(".tooltip-inner")),this.getTitle()),g(t).removeClass(te+" "+ee)},qt.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=Wt(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?g(e).parent().is(t)||t.empty().append(e):t.text(g(e).text())},qt.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)},qt._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=r({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},qt._getContainer=function(){return!1===this.config.container?document.body:_.isElement(this.config.container)?g(this.config.container):g(document).find(this.config.container)},qt._getAttachment=function(t){return $t[t.toUpperCase()]},qt._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)g(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(t){return i.toggle(t)});else if("manual"!==t){var e=t===ne?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=t===ne?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;g(i.element).on(e,i.config.selector,function(t){return i._enter(t)}).on(n,i.config.selector,function(t){return i._leave(t)})}}),g(this.element).closest(".modal").on("hide.bs.modal",function(){i.element&&i.hide()}),this.config.selector?this.config=r({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},qt._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",""))},qt._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||g(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),g(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?ie:ne]=!0),g(e.getTipElement()).hasClass(ee)||e._hoverState===Jt?e._hoverState=Jt:(clearTimeout(e._timeout),e._hoverState=Jt,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===Jt&&e.show()},e.config.delay.show):e.show())},qt._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||g(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),g(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?ie:ne]=!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())},qt._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},qt._getConfig=function(t){var e=g(this.element).data();return Object.keys(e).forEach(function(t){-1!==zt.indexOf(t)&&delete e[t]}),"number"==typeof(t=r({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),_.typeCheckConfig(Mt,t,this.constructor.DefaultType),t.sanitize&&(t.template=Wt(t.template,t.whiteList,t.sanitizeFn)),t},qt._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},qt._cleanTipClass=function(){var t=g(this.getTipElement()),e=t.attr("class").match(Yt);null!==e&&e.length&&t.removeClass(e.join(""))},qt._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},qt._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(g(t).removeClass(te),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},se._jQueryInterface=function(n){return this.each(function(){var t=g(this).data(Kt),e="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new se(this,e),g(this).data(Kt,t)),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},s(se,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Gt}},{key:"NAME",get:function(){return Mt}},{key:"DATA_KEY",get:function(){return Kt}},{key:"Event",get:function(){return Zt}},{key:"EVENT_KEY",get:function(){return Qt}},{key:"DefaultType",get:function(){return Xt}}]),se);function se(t,e){if(void 0===u)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}g.fn[Mt]=oe._jQueryInterface,g.fn[Mt].Constructor=oe,g.fn[Mt].noConflict=function(){return g.fn[Mt]=Bt,oe._jQueryInterface};var re="popover",ae="bs.popover",le="."+ae,ce=g.fn[re],he="bs-popover",ue=new RegExp("(^|\\s)"+he+"\\S+","g"),fe=r({},oe.Default,{placement:"right",trigger:"click",content:"",template:''}),de=r({},oe.DefaultType,{content:"(string|element|function)"}),ge={HIDE:"hide"+le,HIDDEN:"hidden"+le,SHOW:"show"+le,SHOWN:"shown"+le,INSERTED:"inserted"+le,CLICK:"click"+le,FOCUSIN:"focusin"+le,FOCUSOUT:"focusout"+le,MOUSEENTER:"mouseenter"+le,MOUSELEAVE:"mouseleave"+le},_e=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n;var o=i.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(t){g(this.getTipElement()).addClass(he+"-"+t)},o.getTipElement=function(){return this.tip=this.tip||g(this.config.template)[0],this.tip},o.setContent=function(){var t=g(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")},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var t=g(this.getTipElement()),e=t.attr("class").match(ue);null!==e&&0=this._offsets[o]&&(void 0===this._offsets[o+1]||t li > .active",Ue=((ke=We.prototype).show=function(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&g(this._element).hasClass(Re)||g(this._element).hasClass("disabled"))){var t,i,e=g(this._element).closest(".nav, .list-group")[0],o=_.getSelectorFromElement(this._element);if(e){var s="UL"===e.nodeName||"OL"===e.nodeName?Fe:xe;i=(i=g.makeArray(g(e).find(s)))[i.length-1]}var r=g.Event(He.HIDE,{relatedTarget:this._element}),a=g.Event(He.SHOW,{relatedTarget:i});if(i&&g(i).trigger(r),g(this._element).trigger(a),!a.isDefaultPrevented()&&!r.isDefaultPrevented()){o&&(t=document.querySelector(o)),this._activate(this._element,e);var l=function(){var t=g.Event(He.HIDDEN,{relatedTarget:n._element}),e=g.Event(He.SHOWN,{relatedTarget:i});g(i).trigger(t),g(n._element).trigger(e)};t?this._activate(t,t.parentNode,l):l()}}},ke.dispose=function(){g.removeData(this._element,Pe),this._element=null},ke._activate=function(t,e,n){function i(){return o._transitionComplete(t,s,n)}var o=this,s=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?g(e).children(xe):g(e).find(Fe))[0],r=n&&s&&g(s).hasClass("fade");if(s&&r){var a=_.getTransitionDurationFromElement(s);g(s).removeClass("show").one(_.TRANSITION_END,i).emulateTransitionEnd(a)}else i()},ke._transitionComplete=function(t,e,n){if(e){g(e).removeClass(Re);var i=g(e.parentNode).find("> .dropdown-menu .active")[0];i&&g(i).removeClass(Re),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(g(t).addClass(Re),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),_.reflow(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&g(t.parentNode).hasClass("dropdown-menu")){var o=g(t).closest(".dropdown")[0];if(o){var s=[].slice.call(o.querySelectorAll(".dropdown-toggle"));g(s).addClass(Re)}t.setAttribute("aria-expanded",!0)}n&&n()},We._jQueryInterface=function(n){return this.each(function(){var t=g(this),e=t.data(Pe);if(e||(e=new We(this),t.data(Pe,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},s(We,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),We);function We(t){this._element=t}g(document).on(He.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),Ue._jQueryInterface.call(g(this),"show")}),g.fn.tab=Ue._jQueryInterface,g.fn.tab.Constructor=Ue,g.fn.tab.noConflict=function(){return g.fn.tab=je,Ue._jQueryInterface};var qe,Me="toast",Ke="bs.toast",Qe="."+Ke,Be=g.fn[Me],Ve={CLICK_DISMISS:"click.dismiss"+Qe,HIDE:"hide"+Qe,HIDDEN:"hidden"+Qe,SHOW:"show"+Qe,SHOWN:"shown"+Qe},Ye="show",ze="showing",Xe={animation:"boolean",autohide:"boolean",delay:"number"},$e={animation:!0,autohide:!0,delay:500},Ge=((qe=Je.prototype).show=function(){var t=this;function e(){t._element.classList.remove(ze),t._element.classList.add(Ye),g(t._element).trigger(Ve.SHOWN),t._config.autohide&&t.hide()}if(g(this._element).trigger(Ve.SHOW),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(ze),this._config.animation){var n=_.getTransitionDurationFromElement(this._element);g(this._element).one(_.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},qe.hide=function(t){var e=this;this._element.classList.contains(Ye)&&(g(this._element).trigger(Ve.HIDE),t?this._close():this._timeout=setTimeout(function(){e._close()},this._config.delay))},qe.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Ye)&&this._element.classList.remove(Ye),g(this._element).off(Ve.CLICK_DISMISS),g.removeData(this._element,Ke),this._element=null,this._config=null},qe._getConfig=function(t){return t=r({},$e,g(this._element).data(),"object"==typeof t&&t?t:{}),_.typeCheckConfig(Me,t,this.constructor.DefaultType),t},qe._setListeners=function(){var t=this;g(this._element).on(Ve.CLICK_DISMISS,'[data-dismiss="toast"]',function(){return t.hide(!0)})},qe._close=function(){function t(){e._element.classList.add("hide"),g(e._element).trigger(Ve.HIDDEN)}var e=this;if(this._element.classList.remove(Ye),this._config.animation){var n=_.getTransitionDurationFromElement(this._element);g(this._element).one(_.TRANSITION_END,t).emulateTransitionEnd(n)}else t()},Je._jQueryInterface=function(n){return this.each(function(){var t=g(this),e=t.data(Ke);if(e||(e=new Je(this,"object"==typeof n&&n),t.data(Ke,e)),"string"==typeof n){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n](this)}})},s(Je,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return Xe}},{key:"Default",get:function(){return $e}}]),Je);function Je(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}g.fn[Me]=Ge._jQueryInterface,g.fn[Me].Constructor=Ge,g.fn[Me].noConflict=function(){return g.fn[Me]=Be,Ge._jQueryInterface},function(){if(void 0===g)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=g.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.Util=_,t.Alert=f,t.Button=D,t.Carousel=M,t.Collapse=it,t.Dropdown=yt,t.Modal=Ht,t.Popover=_e,t.Scrollspy=Ne,t.Tab=Ue,t.Toast=Ge,t.Tooltip=oe,Object.defineProperty(t,"__esModule",{value:!0})});