(function(){'use strict';vare=Math.max,t=function(e){functiont(e){return{}.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}functionn(e){return(e[0]||e).nodeType}functiona(){return{bindType:l.end,delegateType:l.end,handle:function(t){returne(t.target).is(this)?t.handleObj.handler.apply(this,arguments):void0}}}functiono(){if(window.QUnit)return!1;vare=document.createElement('bootstrap');for(vartini)if(void0!==e.style[t])return{end:i[t]};return!1}functionr(t){varn=this,a=!1;returne(this).one(s.TRANSITION_END,function(){a=!0}),setTimeout(function(){a||s.triggerTransitionEnd(n)},t),this}varl=!1,i={WebkitTransition:'webkitTransitionEnd',MozTransition:'transitionend',OTransition:'oTransitionEnd otransitionend',transition:'transitionend'},s={TRANSITION_END:'bsTransitionEnd',getUID:function(e){doe+=~~(1e6*Math.random());while(document.getElementById(e));returne},getSelectorFromElement:function(t){varn=t.getAttribute('data-target');n&&'#'!==n||(n=t.getAttribute('href')||'');try{vara=e(n);return0<a.length?n:null}catch(e){returnnull}},reflow:function(e){returne.offsetHeight},triggerTransitionEnd:function(t){e(t).trigger(l.end)},supportsTransitionEnd:function(){return!!l},typeCheckConfig:function(e,a,o){for(varrino)if(o.hasOwnProperty(r)){varl=o[r],i=a[r],s=i&&n(i)?'element':t(i);if(!newRegExp(l).test(s))thrownewError(e.toUpperCase()+': '+('Option "'+r+'" provided type "'+s+'" ')+('but expected type "'+l+'".'))}}};returnfunction(){l=o(),e.fn.emulateTransitionEnd=r,s.supportsTransitionEnd()&&(e.event.special[s.TRANSITION_END]=a())}(),s}(jQuery),n='function'==typeofSymbol&&'symbol'==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&'function'==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?'symbol':typeofe},a=function(e,t){if(!(einstanceoft))thrownewTypeError('Cannot call a class as a function')},o=function(){functione(e,t){for(varn,a=0;a<t.length;a++)n=t[a],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'inn&&(n.writable=!0),Object.defineProperty(e,n.key,n)}returnfunction(t,n,a){returnn&&e(t.prototype,n),a&&e(t,a),t}}(),r=functione(t,n,a){null===t&&(t=Function.prototype);varo=Object.getOwnPropertyDescriptor(t,n);if(void0===o){varr=Object.getPrototypeOf(t);returnnull===r?void0:e(r,n,a)}if('value'ino)returno.value;varl=o.get;returnvoid0===l?void0:l.call(a)},l=function(e,t){if('function'!=typeoft&&null!==t)thrownewTypeError('Super expression must either be null or a function, not '+typeoft);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},i=function(e,t){if(!e)thrownewReferenceError('this hasn\'t been initialised - super() hasn\'t been called');returnt&&('object'==typeoft||'function'==typeoft)?t:e},s=function(e){varn='alert',r='bs.alert',l='.'+r,i=e.fn[n],s={CLOSE:'close'+l,CLOSED:'closed'+l,CLICK_DATA_API:'click'+l+'.data-api'},d={ALERT:'alert',FADE:'fade',SHOW:'show'},c=function(){functionn(e){a(this,n),this._element=e}returno(n,[{key:'close',value:function(e){e=e||this._element;vart=this._getRootElement(e),n=this._triggerCloseEvent(t);n.isDefaultPrevented()||this._removeElement(t)}},{key:'dispose',value:function(){e.removeData(this._element,r),this._element=null}},{key:'_getRootElement',value:function(n){vara=t.getSelectorFromElement(n),o=!1;returna&&(o=e(a)[0]),o||(o=e(n).closest('.'+d.ALERT)[0]),o}},{key:'_triggerCloseEvent',value:function(t){varn=e.Event(s.CLOSE);returne(t).trigger(n),n}},{key:'_removeElement',value:function(n){vara=this;returne(n).removeClass(d.SHOW),t.supportsTransitionEnd()&&e(n).hasClass(d.FADE)?voide(n).one(t.TRANSITION_END,function(e){returna._destroyElement(n,e)}).emulateTransitionEnd(150):voidthis._destroyElement(n)}},{key:'_destroyElement',value:function(t){e(t).detach().trigger(s.CLOSED).remove()}}],[{key:'_jQueryInterface',value:function(t){returnthis.each(function(){vara=e(this),o=a.data(r);o||(o=newn(this),a.data(r,o)),'close'===t&&o[t](this)})}}