if("undefined"==typeofjQuery)thrownewError("Bootstrap's JavaScript requires jQuery");+function(a){varb=a.fn.jquery.split(" ")[0].split(".");if("2"!==b[0])thrownewError("Bootstrap's JavaScript requires jQuery version 2.x.x")}(jQuery),+function(a){"use strict";functionb(a,b){if("function"!=typeofb&&null!==b)thrownewTypeError("Super expression must either be null or a function, not "+typeofb);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}functionc(a,b){if(!(ainstanceofb))thrownewTypeError("Cannot call a class as a function")}vard=function(a,b,c){for(vard=!0;d;){vare=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);varh=Object.getOwnPropertyDescriptor(e,f);if(void0!==h){if("value"inh)returnh.value;vari=h.get;if(void0===i)return;returni.call(g)}varj=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void0}},e=function(){functiona(a,b){for(varc=0;c<b.length;c++){vard=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"ind&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}returnfunction(b,c,d){returnc&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(a){functionb(a){return{}.toString.call(a).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}functionc(a){return(a[0]||a).nodeType}functiond(){return{bindType:h.end,delegateType:h.end,handle:function(b){returna(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void0}}}functione(){if(window.QUnit)return!1;vara=document.createElement("bootstrap");for(varbini)if(void0!==a.style[b])return{end:i[b]};return!1}functionf(b){varc=this,d=!1;returna(this).one(j.TRANSITION_END,function(){d=!0}),setTimeout(function(){d||j.triggerTransitionEnd(c)},b),this}functiong(){h=e(),a.fn.emulateTransitionEnd=f,j.supportsTransitionEnd()&&(a.event.special[j.TRANSITION_END]=d())}varh=!1,i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},j={TRANSITION_END:"bsTransitionEnd",getUID:function(a){doa+=~~(1e6*Math.random());while(document.getElementById(a));returna},getSelectorFromElement:function(a){varb=a.getAttribute("data-target");returnb||(b=a.getAttribute("href")||"",b=/^#[a-z]/i.test(b)?b:null),b},reflow:function(a){newFunction("bs","return bs")(a.offsetHeight)},triggerTransitionEnd:function(b){a(b).trigger(h.end)},supportsTransitionEnd:function(){returnBoolean(h)},typeCheckConfig:function(a,d,e){for(varfine)if(e.hasOwnProperty(f)){varg=e[f],h=d[f],i=void0;if(i=h&&c(h)?"element":b(h),!newRegExp(g).test(i))thrownewError(a.toUpperCase()+": "+('Option "'+f+'" provided type "'+i+'" ')+('but expected type "'+g+'".'))}}};returng(),j}(jQuery),g=(function(a){varb="alert",d="4.0.0",g="bs.alert",h="."+g,i=".data-api",j=a.fn[b],k=150,l={DISMISS:'[data-dismiss="alert"]'},m={CLOSE:"close"+h,CLOSED:"closed"+h,CLICK_DATA_API:"click"+h+i},n={ALERT:"alert",FADE:"fade",IN:"in"},o=function(){functionb(a){c(this,b),this._element=a}returne(b,[{key:"close",value:function(a){a=a||this._element;varb=this._getRootElement(a),c=this._triggerCloseEvent(b);c.isDefaultPrevented()||this._removeElement(b)}},{key:"dispose",value:function(){a.removeData(this._element,g),this._element=null}},{key:"_getRootElement",value:function(b){varc=f.getSelectorFromElement(b),d=!1;returnc&&(d=a(c)[0]),d||(d=a(b).closest("."+n.ALERT)[0]),d}},{key:"_triggerCloseEvent",value:function(b){varc=a.Event(m.CLOSE);returna(b).trigger(c),c}},{key:"_removeElement",value:function(b){returna(b).removeClass(n.IN),f.supportsTransitionEnd()&&a(b).hasClass(n.FADE)?voida(b).one(f.TRANSITION_END,a.proxy(this._destroyElement,this,b)).emulateTransitionEnd(k):voidthis._destroyElement(b)}},{key:"_destroyElement",value:function(b){a(b).detach().trigger(m.CLOSED).remove()}}],[{key:"_jQueryInterface",value:function(c){returnthis.each(function(){vard=a(this),e=d.data(g);e||(e=newb(this),d.data(g,e)),"close"===c&&e[c](this)})}},{key:"_handleDismiss",value:function(a){r