/*! * 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?i:null}catch(t){return null}},reflow:function(t){return t.offsetheight},triggertransitionend:function(n){t(n).trigger(e.end)},supportstransitionend:function(){return boolean(e)},iselement:function(t){return(t[0]||t).nodetype},typecheckconfig:function(t,e,n){for(var s in n)if(object.prototype.hasownproperty.call(n,s)){var r=n[s],o=e[s],a=o&&i.iselement(o)?"element":(l=o,{}.tostring.call(l).match(/\s([a-za-z]+)/)[1].tolowercase());if(!new regexp(r).test(a))throw new error(t.touppercase()+': option "'+s+'" provided type "'+a+'" but expected type "'+r+'".')}var l}};return e=("undefined"==typeof window||!window.qunit)&&{end:"transitionend"},t.fn.emulatetransitionend=n,i.supportstransitionend()&&(t.event.special[i.transition_end]={bindtype:e.end,delegatetype:e.end,handle:function(e){if(t(e.target).is(this))return e.handleobj.handler.apply(this,arguments)}}),i}(e),l=(a="alert",h="."+(l="bs.alert"),c=(o=e).fn[a],u={close:"close"+h,closed:"closed"+h,click_data_api:"click"+h+".data-api"},f="alert",d="fade",_="show",g=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(){o.removedata(this._element,l),this._element=null},e._getrootelement=function(t){var e=p.getselectorfromelement(t),n=!1;return e&&(n=o(e)[0]),n||(n=o(t).closest("."+f)[0]),n},e._triggercloseevent=function(t){var e=o.event(u.close);return o(t).trigger(e),e},e._removeelement=function(t){var e=this;o(t).removeclass(_),p.supportstransitionend()&&o(t).hasclass(d)?o(t).one(p.transition_end,function(n){return e._destroyelement(t,n)}).emulatetransitionend(150):this._destroyelement(t)},e._destroyelement=function(t){o(t).detach().trigger(u.closed).remove()},t._jqueryinterface=function(e){return this.each(function(){var n=o(this),i=n.data(l);i||(i=new t(this),n.data(l,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}(),o(document).on(u.click_data_api,'[data-dismiss="alert"]',g._handledismiss(new g)),o.fn[a]=g._jqueryinterface,o.fn[a].constructor=g,o.fn[a].noconflict=function(){return o.fn[a]=c,g._jqueryinterface},g),r=(m="button",e="."+(v="bs.button"),t=".data-api",y=(p=e).fn[m],c="active",i="btn",a="focus",b='[data-toggle^="button"]',d='[data-toggle="buttons"]',s="input",w=".active",n=".btn",o={click_data_api:"click"+e+t,focus_blur_data_api:"focus"+e+t+" blur"+e+t},k=function(){function t(t){this._element=t}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,n=p(this._element).closest(d)[0];if(n){var i=p(this._element).find(s)[0];if(i){if("radio"===i.type)if(i.checked&&p(this._element).hasclass(c))t=!1;else{var s=p(n).find(w)[0];s&&p(s).removeclass(c)}if(t){if(i.hasattribute("disabled")||n.hasattribute("disabled")||i.classlist.contains("disabled")||n.classlist.contains("disabled"))return;i.checked=!p(this._element).hasclass(c),p(i).trigger("change")}i.focus(),e=!1}}e&&this._element.setattribute("aria-pressed",!p(this._element).hasclass(c)),t&&p(this._element).toggleclass(c)},e.dispose=function(){p.removedata(this._element,v),this._element=null},t._jqueryinterface=function(e){return this.each(function(){var n=p(this).data(v);n||(n=new t(this),p(this).data(v,n)),"toggle"===e&&n[e]()})},s(t,null,[{key:"version",get:function(){return"4.0.0"}}]),t}(),p(document).on(o.click_data_api,b,function(t){t.preventdefault();var e=t.target;p(e).hasclass(i)||(e=p(e).closest(n)),k._jqueryinterface.call(p(e),"toggle")}).on(o.focus_blur_data_api,b,function(t){var e=p(t.target).closest(n)[0];p(e).toggleclass(a,/^focus(in)?$/.test(t.type))}),p.fn[m]=k._jqueryinterface,p.fn[m].constructor=k,p.fn[m].noconflict=function(){return p.fn[m]=y,k._jqueryinterface},k),j=function(t){var e="carousel",n="bs.carousel",i="."+n,o=t.fn[e],a={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},l={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},h="next",c="prev",u="left",f="right",d={slide:"slide"+i,slid:"slid"+i,keydown:"keydown"+i,mouseenter:"mouseenter"+i,mouseleave:"mouseleave"+i,touchend:"touchend"+i,load_data_api:"load"+i+".data-api",click_data_api:"click"+i+".data-api"},_="carousel",g="active",p="slide",m="carousel-item-right",v="carousel-item-left",e="carousel-item-next",t="carousel-item-prev",y={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"]'},c=function(){function o(e,n){this._items=null,this._interval=null,this._activeelement=null,this._ispaused=!1,this._issliding=!1,this.touchtimeout=null,this._config=this._getconfig(n),this._element=t(e)[0],this._indicatorselement=t(this._element).find(y.indicators)[0],this._addeventlisteners()}var c=o.prototype;return c.next=function(){this._issliding||this._slide(h)},c.nextwhenvisible=function(){!document.hidden&&t(this._element).is(":visible")&&"hidden"!==t(this._element).css("visibility")&&this.next()},c.prev=function(){this._issliding||this._slide(c)},c.pause=function(e){e||(this._ispaused=!0),t(this._element).find(y.next_prev)[0]&&p.supportstransitionend()&&(p.triggertransitionend(this._element),this.cycle(!0)),clearinterval(this._interval),this._interval=null},c.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))},c.to=function(e){var n=this;this._activeelement=t(this._element).find(y.active_item)[0];var i=this._getitemindex(this._activeelement);if(!(e>this._items.length-1||e<0))if(this._issliding)t(this._element).one(d.slid,function(){return n.to(e)});else{if(i===e)return this.pause(),void this.cycle();var s=e>i?h:c;this._slide(s,this._items[e])}},c.dispose=function(){t(this._element).off(i),t.removedata(this._element,n),this._items=null,this._config=null,this._element=null,this._interval=null,this._ispaused=null,this._issliding=null,this._activeelement=null,this._indicatorselement=null},c._getconfig=function(t){return t=r({},a,t),p.typecheckconfig(e,t,l),t},c._addeventlisteners=function(){var e=this;this._config.keyboard&&t(this._element).on(d.keydown,function(t){return e._keydown(t)}),"hover"===this._config.pause&&(t(this._element).on(d.mouseenter,function(t){return e.pause(t)}).on(d.mouseleave,function(t){return e.cycle(t)}),"ontouchstart"in document.documentelement&&t(this._element).on(d.touchend,function(){e.pause(),e.touchtimeout&&cleartimeout(e.touchtimeout),e.touchtimeout=settimeout(function(t){return e.cycle(t)},500+e._config.interval)}))},c._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()}},c._getitemindex=function(e){return this._items=t.makearray(t(e).parent().find(y.item)),this._items.indexof(e)},c._getitembydirection=function(t,e){var n=t===h,i=t===c,s=this._getitemindex(e),r=this._items.length-1;if((i&&0===s||n&&s===r)&&!this._config.wrap)return e;var o=(s+(t===c?-1:1))%this._items.length;return-1===o?this._items[this._items.length-1]:this._items[o]},c._triggerslideevent=function(e,n){var i=this._getitemindex(e),s=this._getitemindex(t(this._element).find(y.active_item)[0]),r=t.event(d.slide,{relatedtarget:e,direction:n,from:s,to:i});return t(this._element).trigger(r),r},c._setactiveindicatorelement=function(e){if(this._indicatorselement){t(this._indicatorselement).find(y.active).removeclass(g);var n=this._indicatorselement.children[this._getitemindex(e)];n&&t(n).addclass(g)}},c._slide=function(e,n){var i,s,r,o=this,a=t(this._element).find(y.active_item)[0],l=this._getitemindex(a),c=n||a&&this._getitembydirection(e,a),_=this._getitemindex(c),c=boolean(this._interval);if(e===h?(i=v,s=e,r=u):(i=m,s=t,r=f),c&&t(c).hasclass(g))this._issliding=!1;else if(!this._triggerslideevent(c,r).isdefaultprevented()&&a&&c){this._issliding=!0,c&&this.pause(),this._setactiveindicatorelement(c);var i=t.event(d.slid,{relatedtarget:c,direction:r,from:l,to:_});p.supportstransitionend()&&t(this._element).hasclass(p)?(t(c).addclass(s),p.reflow(c),t(a).addclass(i),t(c).addclass(i),t(a).one(p.transition_end,function(){t(c).removeclass(i+" "+s).addclass(g),t(a).removeclass(g+" "+s+" "+i),o._issliding=!1,settimeout(function(){return t(o._element).trigger(i)},0)}).emulatetransitionend(600)):(t(a).removeclass(g),t(c).addclass(g),this._issliding=!1,t(this._element).trigger(i)),c&&this.cycle()}},o._jqueryinterface=function(e){return this.each(function(){var i=t(this).data(n),s=r({},a,t(this).data());"object"==typeof e&&(s=r({},s,e));var l="string"==typeof e?e:s.slide;if(i||(i=new o(this,s),t(this).data(n,i)),"number"==typeof e)i.to(e);else if("string"==typeof l){if("undefined"==typeof i[l])throw new typeerror('no method named "'+l+'"');i[l]()}else s.interval&&(i.pause(),i.cycle())})},o._dataapiclickhandler=function(e){var i=p.getselectorfromelement(this);if(i){var s=t(i)[0];if(s&&t(s).hasclass(_)){var a=r({},t(s).data(),t(this).data()),l=this.getattribute("data-slide-to");l&&(a.interval=!1),o._jqueryinterface.call(t(s),a),l&&t(s).data(n).to(l),e.preventdefault()}}},s(o,null,[{key:"version",get:function(){return"4.0.0"}},{key:"default",get:function(){return a}}]),o}();return t(document).on(d.click_data_api,y.data_slide,c._dataapiclickhandler),t(window).on(d.load_data_api,function(){t(y.data_ride).each(function(){var e=t(this);c._jqueryinterface.call(e,e.data())})}),t.fn[e]=c._jqueryinterface,t.fn[e].constructor=c,t.fn[e].noconflict=function(){return t.fn[e]=o,c._jqueryinterface},c}(e),h=function(t){var e="collapse",n="bs.collapse",i="."+n,o=t.fn[e],a={toggle:!0,parent:""},l={toggle:"boolean",parent:"(string|element)"},h={show:"show"+i,shown:"shown"+i,hide:"hide"+i,hidden:"hidden"+i,click_data_api:"click"+i+".data-api"},c="show",u="collapse",f="collapsing",d="collapsed",_="width",g="height",p={actives:".show, .collapsing",data_toggle:'[data-toggle="collapse"]'},m=function(){function i(e,n){this._istransitioning=!1,this._element=e,this._config=this._getconfig(n),this._triggerarray=t.makearray(t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var i=t(p.data_toggle),s=0;s0&&(this._selector=o,this._triggerarray.push(r))}this._parent=this._config.parent?this._getparent():null,this._config.parent||this._addariaandcollapsedclass(this._element,this._triggerarray),this._config.toggle&&this.toggle()}var o=i.prototype;return o.toggle=function(){t(this._element).hasclass(c)?this.hide():this.show()},o.show=function(){var e,s,r=this;if(!this._istransitioning&&!t(this._element).hasclass(c)&&(this._parent&&0===(e=t.makearray(t(this._parent).find(p.actives).filter('[data-parent="'+this._config.parent+'"]'))).length&&(e=null),!(e&&(s=t(e).not(this._selector).data(n))&&s._istransitioning))){var o=t.event(h.show);if(t(this._element).trigger(o),!o.isdefaultprevented()){e&&(i._jqueryinterface.call(t(e).not(this._selector),"hide"),s||t(e).data(n,null));var a=this._getdimension();t(this._element).removeclass(u).addclass(f),this._element.style[a]=0,this._triggerarray.length>0&&t(this._triggerarray).removeclass(d).attr("aria-expanded",!0),this.settransitioning(!0);var l=function(){t(r._element).removeclass(f).addclass(u).addclass(c),r._element.style[a]="",r.settransitioning(!1),t(r._element).trigger(h.shown)};if(p.supportstransitionend()){var _="scroll"+(a[0].touppercase()+a.slice(1));t(this._element).one(p.transition_end,l).emulatetransitionend(600),this._element.style[a]=this._element[_]+"px"}else l()}}},o.hide=function(){var e=this;if(!this._istransitioning&&t(this._element).hasclass(c)){var n=t.event(h.hide);if(t(this._element).trigger(n),!n.isdefaultprevented()){var i=this._getdimension();if(this._element.style[i]=this._element.getboundingclientrect()[i]+"px",p.reflow(this._element),t(this._element).addclass(f).removeclass(u).removeclass(c),this._triggerarray.length>0)for(var s=0;s0&&t(n).toggleclass(d,!i).attr("aria-expanded",i)}},i._gettargetfromelement=function(e){var n=p.getselectorfromelement(e);return n?t(n)[0]:null},i._jqueryinterface=function(e){return this.each(function(){var s=t(this),o=s.data(n),l=r({},a,s.data(),"object"==typeof e&&e);if(!o&&l.toggle&&/show|hide/.test(e)&&(l.toggle=!1),o||(o=new i(this,l),s.data(n,o)),"string"==typeof e){if("undefined"==typeof o[e])throw new typeerror('no method named "'+e+'"');o[e]()}})},s(i,null,[{key:"version",get:function(){return"4.0.0"}},{key:"default",get:function(){return a}}]),i}();return t(document).on(h.click_data_api,p.data_toggle,function(e){"a"===e.currenttarget.tagname&&e.preventdefault();var i=t(this),s=p.getselectorfromelement(this);t(s).each(function(){var e=t(this),s=e.data(n)?"toggle":i.data();m._jqueryinterface.call(e,s)})}),t.fn[e]=m._jqueryinterface,t.fn[e].constructor=m,t.fn[e].noconflict=function(){return t.fn[e]=o,m._jqueryinterface},m}(e),w=function(t){var e="dropdown",i="bs.dropdown",o="."+i,a=".data-api",l=t.fn[e],h=new regexp("38|40|27"),c={hide:"hide"+o,hidden:"hidden"+o,show:"show"+o,shown:"shown"+o,click:"click"+o,click_data_api:"click"+o+a,keydown_data_api:"keydown"+o+a,keyup_data_api:"keyup"+o+a},u="disabled",f="show",d="dropup",_="dropright",g="dropleft",p="dropdown-menu-right",m="dropdown-menu-left",v="position-static",e='[data-toggle="dropdown"]',t=".dropdown form",y=".dropdown-menu",c=".navbar-nav",i=".dropdown-menu .dropdown-item:not(.disabled)",a="top-start",b="top-end",d="bottom-start",s="bottom-end",w="right-start",n="left-start",o={offset:0,flip:!0,boundary:"scrollparent"},k={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)"},l=function(){function a(t,e){this._element=t,this._popper=null,this._config=this._getconfig(e),this._menu=this._getmenuelement(),this._innavbar=this._detectnavbar(),this._addeventlisteners()}var l=a.prototype;return l.toggle=function(){if(!this._element.disabled&&!t(this._element).hasclass(u)){var e=a._getparentfromelement(this._element),i=t(this._menu).hasclass(f);if(a._clearmenus(),!i){var s={relatedtarget:this._element},r=t.event(c.show,s);if(t(e).trigger(r),!r.isdefaultprevented()){if(!this._innavbar){if("undefined"==typeof n)throw new typeerror("bootstrap dropdown require popper.js (https://popper.js.org)");var o=this._element;t(e).hasclass(d)&&(t(this._menu).hasclass(m)||t(this._menu).hasclass(p))&&(o=e),"scrollparent"!==this._config.boundary&&t(e).addclass(v),this._popper=new n(o,this._menu,this._getpopperconfig())}"ontouchstart"in document.documentelement&&0===t(e).closest(c).length&&t("body").children().on("mouseover",null,t.noop),this._element.focus(),this._element.setattribute("aria-expanded",!0),t(this._menu).toggleclass(f),t(e).toggleclass(f).trigger(t.event(c.shown,s))}}}},l.dispose=function(){t.removedata(this._element,i),t(this._element).off(o),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},l.update=function(){this._innavbar=this._detectnavbar(),null!==this._popper&&this._popper.scheduleupdate()},l._addeventlisteners=function(){var e=this;t(this._element).on(c.click,function(t){t.preventdefault(),t.stoppropagation(),e.toggle()})},l._getconfig=function(n){return n=r({},this.constructor.default,t(this._element).data(),n),p.typecheckconfig(e,n,this.constructor.defaulttype),n},l._getmenuelement=function(){if(!this._menu){var e=a._getparentfromelement(this._element);this._menu=t(e).find(y)[0]}return this._menu},l._getplacement=function(){var e=t(this._element).parent(),n=d;return e.hasclass(d)?(n=a,t(this._menu).hasclass(p)&&(n=b)):e.hasclass(_)?n=w:e.hasclass(g)?n=n:t(this._menu).hasclass(p)&&(n=s),n},l._detectnavbar=function(){return t(this._element).closest(".navbar").length>0},l._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}}}},a._jqueryinterface=function(e){return this.each(function(){var n=t(this).data(i);if(n||(n=new a(this,"object"==typeof e?e:null),t(this).data(i,n)),"string"==typeof e){if("undefined"==typeof n[e])throw new typeerror('no method named "'+e+'"');n[e]()}})},a._clearmenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var n=t.makearray(t(e)),s=0;s0&&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")},p._resetadjustments=function(){this._element.style.paddingleft="",this._element.style.paddingright=""},p._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"},f="show",d="out",_={hide:"hide"+o,hidden:"hidden"+o,show:"show"+o,shown:"shown"+o,inserted:"inserted"+o,click:"click"+o,focusin:"focusin"+o,focusout:"focusout"+o,mouseenter:"mouseenter"+o,mouseleave:"mouseleave"+o},g="fade",p="show",m=".tooltip-inner",v=".arrow",e="hover",t="focus",y="click",c="manual",i=function(){function a(t,e){if("undefined"==typeof n)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=t,this.config=this._getconfig(e),this.tip=null,this._setlisteners()}var i=a.prototype;return i.enable=function(){this._isenabled=!0},i.disable=function(){this._isenabled=!1},i.toggleenabled=function(){this._isenabled=!this._isenabled},i.toggle=function(e){if(this._isenabled)if(e){var n=this.constructor.data_key,i=t(e.currenttarget).data(n);i||(i=new this.constructor(e.currenttarget,this._getdelegateconfig()),t(e.currenttarget).data(n,i)),i._activetrigger.click=!i._activetrigger.click,i._iswithactivetrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.gettipelement()).hasclass(p))return void this._leave(null,this);this._enter(null,this)}},i.dispose=function(){cleartimeout(this._timeout),t.removedata(this.element,this.constructor.data_key),t(this.element).off(this.constructor.event_key),t(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&t(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},i.show=function(){var e=this;if("none"===t(this.element).css("display"))throw new error("please use show on visible elements");var i=t.event(this.constructor.event.show);if(this.iswithcontent()&&this._isenabled){t(this.element).trigger(i);var s=t.contains(this.element.ownerdocument.documentelement,this.element);if(i.isdefaultprevented()||!s)return;var r=this.gettipelement(),o=p.getuid(this.constructor.name);r.setattribute("id",o),this.element.setattribute("aria-describedby",o),this.setcontent(),this.config.animation&&t(r).addclass(g);var l="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,h=this._getattachment(l);this.addattachmentclass(h);var c=!1===this.config.container?document.body:t(this.config.container);t(r).data(this.constructor.data_key,this),t.contains(this.element.ownerdocument.documentelement,this.tip)||t(r).appendto(c),t(this.element).trigger(this.constructor.event.inserted),this._popper=new n(this.element,r,{placement:h,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackplacement},arrow:{element:v},preventoverflow:{boundarieselement:this.config.boundary}},oncreate:function(t){t.originalplacement!==t.placement&&e._handlepopperplacementchange(t)},onupdate:function(t){e._handlepopperplacementchange(t)}}),t(r).addclass(p),"ontouchstart"in document.documentelement&&t("body").children().on("mouseover",null,t.noop);var u=function(){e.config.animation&&e._fixtransition();var n=e._hoverstate;e._hoverstate=null,t(e.element).trigger(e.constructor.event.shown),n===d&&e._leave(null,e)};p.supportstransitionend()&&t(this.tip).hasclass(g)?t(this.tip).one(p.transition_end,u).emulatetransitionend(a._transition_duration):u()}},i.hide=function(e){var n=this,i=this.gettipelement(),s=t.event(this.constructor.event.hide),r=function(){n._hoverstate!==f&&i.parentnode&&i.parentnode.removechild(i),n._cleantipclass(),n.element.removeattribute("aria-describedby"),t(n.element).trigger(n.constructor.event.hidden),null!==n._popper&&n._popper.destroy(),e&&e()};t(this.element).trigger(s),s.isdefaultprevented()||(t(i).removeclass(p),"ontouchstart"in document.documentelement&&t("body").children().off("mouseover",null,t.noop),this._activetrigger[y]=!1,this._activetrigger[t]=!1,this._activetrigger[e]=!1,p.supportstransitionend()&&t(this.tip).hasclass(g)?t(i).one(p.transition_end,r).emulatetransitionend(150):r(),this._hoverstate="")},i.update=function(){null!==this._popper&&this._popper.scheduleupdate()},i.iswithcontent=function(){return boolean(this.gettitle())},i.addattachmentclass=function(e){t(this.gettipelement()).addclass("bs-tooltip-"+e)},i.gettipelement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},i.setcontent=function(){var e=t(this.gettipelement());this.setelementcontent(e.find(m),this.gettitle()),e.removeclass(g+" "+p)},i.setelementcontent=function(e,n){var i=this.config.html;"object"==typeof n&&(n.nodetype||n.jquery)?i?t(n).parent().is(e)||e.empty().append(n):e.text(t(n).text()):e[i?"html":"text"](n)},i.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},i._getattachment=function(t){return c[t.touppercase()]},i._setlisteners=function(){var e=this;this.config.trigger.split(" ").foreach(function(n){if("click"===n)t(e.element).on(e.constructor.event.click,e.config.selector,function(t){return e.toggle(t)});else if(n!==c){var i=n===e?e.constructor.event.mouseenter:e.constructor.event.focusin,s=n===e?e.constructor.event.mouseleave:e.constructor.event.focusout;t(e.element).on(i,e.config.selector,function(t){return e._enter(t)}).on(s,e.config.selector,function(t){return e._leave(t)})}t(e.element).closest(".modal").on("hide.bs.modal",function(){return e.hide()})}),this.config.selector?this.config=r({},this.config,{trigger:"manual",selector:""}):this._fixtitle()},i._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",""))},i._enter=function(e,n){var i=this.constructor.data_key;(n=n||t(e.currenttarget).data(i))||(n=new this.constructor(e.currenttarget,this._getdelegateconfig()),t(e.currenttarget).data(i,n)),e&&(n._activetrigger["focusin"===e.type?t:e]=!0),t(n.gettipelement()).hasclass(p)||n._hoverstate===f?n._hoverstate=f:(cleartimeout(n._timeout),n._hoverstate=f,n.config.delay&&n.config.delay.show?n._timeout=settimeout(function(){n._hoverstate===f&&n.show()},n.config.delay.show):n.show())},i._leave=function(e,n){var i=this.constructor.data_key;(n=n||t(e.currenttarget).data(i))||(n=new this.constructor(e.currenttarget,this._getdelegateconfig()),t(e.currenttarget).data(i,n)),e&&(n._activetrigger["focusout"===e.type?t:e]=!1),n._iswithactivetrigger()||(cleartimeout(n._timeout),n._hoverstate=d,n.config.delay&&n.config.delay.hide?n._timeout=settimeout(function(){n._hoverstate===d&&n.hide()},n.config.delay.hide):n.hide())},i._iswithactivetrigger=function(){for(var t in this._activetrigger)if(this._activetrigger[t])return!0;return!1},i._getconfig=function(n){return"number"==typeof(n=r({},this.constructor.default,t(this.element).data(),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()),p.typecheckconfig(e,n,this.constructor.defaulttype),n},i._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},i._cleantipclass=function(){var e=t(this.gettipelement()),n=e.attr("class").match(l);null!==n&&n.length>0&&e.removeclass(n.join(""))},i._handlepopperplacementchange=function(t){this._cleantipclass(),this.addattachmentclass(this._getattachment(t.placement))},i._fixtransition=function(){var e=this.gettipelement(),n=this.config.animation;null===e.getattribute("x-placement")&&(t(e).removeclass(g),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},a._jqueryinterface=function(e){return this.each(function(){var n=t(this).data(i),s="object"==typeof e&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new a(this,s),t(this).data(i,n)),"string"==typeof e)){if("undefined"==typeof n[e])throw new typeerror('no method named "'+e+'"');n[e]()}})},s(a,null,[{key:"version",get:function(){return"4.0.0"}},{key:"default",get:function(){return u}},{key:"name",get:function(){return e}},{key:"data_key",get:function(){return i}},{key:"event",get:function(){return _}},{key:"event_key",get:function(){return o}},{key:"defaulttype",get:function(){return h}}]),a}();return t.fn[e]=i._jqueryinterface,t.fn[e].constructor=i,t.fn[e].noconflict=function(){return t.fn[e]=a,i._jqueryinterface},i}(e),x=function(t){var e="popover",n="bs.popover",i="."+n,o=t.fn[e],a=new regexp("(^|\\s)bs-popover\\s+","g"),l=r({},u.default,{placement:"right",trigger:"click",content:"",template:''}),h=r({},u.defaulttype,{content:"(string|element|function)"}),c="fade",u="show",f=".popover-header",d=".popover-body",_={hide:"hide"+i,hidden:"hidden"+i,show:"show"+i,shown:"shown"+i,inserted:"inserted"+i,click:"click"+i,focusin:"focusin"+i,focusout:"focusout"+i,mouseenter:"mouseenter"+i,mouseleave:"mouseleave"+i},g=function(r){var o,g;function p(){return r.apply(this,arguments)||this}g=r,(o=p).prototype=object.create(g.prototype),o.prototype.constructor=o,o.__proto__=g;var m=p.prototype;return m.iswithcontent=function(){return this.gettitle()||this._getcontent()},m.addattachmentclass=function(e){t(this.gettipelement()).addclass("bs-popover-"+e)},m.gettipelement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},m.setcontent=function(){var e=t(this.gettipelement());this.setelementcontent(e.find(f),this.gettitle());var n=this._getcontent();"function"==typeof n&&(n=n.call(this.element)),this.setelementcontent(e.find(d),n),e.removeclass(c+" "+u)},m._getcontent=function(){return this.element.getattribute("data-content")||this.config.content},m._cleantipclass=function(){var e=t(this.gettipelement()),n=e.attr("class").match(a);null!==n&&n.length>0&&e.removeclass(n.join(""))},p._jqueryinterface=function(e){return this.each(function(){var i=t(this).data(n),s="object"==typeof e?e:null;if((i||!/destroy|hide/.test(e))&&(i||(i=new p(this,s),t(this).data(n,i)),"string"==typeof e)){if("undefined"==typeof i[e])throw new typeerror('no method named "'+e+'"');i[e]()}})},s(p,null,[{key:"version",get:function(){return"4.0.0"}},{key:"default",get:function(){return l}},{key:"name",get:function(){return e}},{key:"data_key",get:function(){return n}},{key:"event",get:function(){return _}},{key:"event_key",get:function(){return i}},{key:"defaulttype",get:function(){return h}}]),p}(u);return t.fn[e]=g._jqueryinterface,t.fn[e].constructor=g,t.fn[e].noconflict=function(){return t.fn[e]=o,g._jqueryinterface},g}(e),k=function(t){var e="scrollspy",n="bs.scrollspy",i="."+n,o=t.fn[e],a={offset:10,method:"auto",target:""},l={offset:"number",method:"string",target:"(string|element)"},h={activate:"activate"+i,scroll:"scroll"+i,load_data_api:"load"+i+".data-api"},c="dropdown-item",u="active",f={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"},d="offset",_="position",g=function(){function o(e,n){var i=this;this._element=e,this._scrollelement="body"===e.tagname?window:e,this._config=this._getconfig(n),this._selector=this._config.target+" "+f.nav_links+","+this._config.target+" "+f.list_items+","+this._config.target+" "+f.dropdown_items,this._offsets=[],this._targets=[],this._activetarget=null,this._scrollheight=0,t(this._scrollelement).on(h.scroll,function(t){return i._process(t)}),this.refresh(),this._process()}var g=o.prototype;return g.refresh=function(){var e=this,n=this._scrollelement===this._scrollelement.window?d:_,i="auto"===this._config.method?n:this._config.method,s=i===_?this._getscrolltop():0;this._offsets=[],this._targets=[],this._scrollheight=this._getscrollheight(),t.makearray(t(this._selector)).map(function(e){var n,r=p.getselectorfromelement(e);if(r&&(n=t(r)[0]),n){var o=n.getboundingclientrect();if(o.width||o.height)return[t(n)[i]().top+s,r]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).foreach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},g.dispose=function(){t.removedata(this._element,n),t(this._scrollelement).off(i),this._element=null,this._scrollelement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activetarget=null,this._scrollheight=null},g._getconfig=function(n){if("string"!=typeof(n=r({},a,n)).target){var i=t(n.target).attr("id");i||(i=p.getuid(e),t(n.target).attr("id",i)),n.target="#"+i}return p.typecheckconfig(e,n,l),n},g._getscrolltop=function(){return this._scrollelement===window?this._scrollelement.pageyoffset:this._scrollelement.scrolltop},g._getscrollheight=function(){return this._scrollelement.scrollheight||math.max(document.body.scrollheight,document.documentelement.scrollheight)},g._getoffsetheight=function(){return this._scrollelement===window?window.innerheight:this._scrollelement.getboundingclientrect().height},g._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]&&("undefined"==typeof this._offsets[s+1]||t=4)throw new error("bootstrap's javascript requires at least jquery v1.9.1 but less than v4.0.0")}(e),t.util=p,t.alert=l,t.button=r,t.carousel=j,t.collapse=h,t.dropdown=w,t.modal=m,t.popover=x,t.scrollspy=k,t.tab=v,t.tooltip=u,object.defineproperty(t,"__esmodule",{value:!0})}); //# sourcemappingurl=bootstrap.min.js.map