Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-awesome-notifications

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-awesome-notifications - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

dist/index.js

@@ -1,1 +0,1 @@

!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.AWN=n():t.AWN=n()}("undefined"!=typeof self?self:this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=0)}([function(t,n,e){t.exports=e(1)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(2),o=e.n(r);n.default=function(t,n){t.prototype.$awn=new o.a(n)}},function(t,n,e){!function(n,e){t.exports=e()}("undefined"!=typeof self&&self,function(){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=44)}([function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){var r=e(28)("wks"),o=e(29),i=e(0).Symbol,c="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))}).store=r},function(t,n){var e=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(9);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){var r=e(0),o=e(2),i=e(8),c=e(5),u=function(t,n,e){var a,s,f,l=t&u.F,p=t&u.G,h=t&u.S,v=t&u.P,d=t&u.B,y=t&u.W,_=p?o:o[n]||(o[n]={}),m=_.prototype,g=p?r:h?r[n]:(r[n]||{}).prototype;p&&(e=n);for(a in e)(s=!l&&g&&void 0!==g[a])&&a in _||(f=s?g[a]:e[a],_[a]=p&&"function"!=typeof g[a]?e[a]:d&&s?i(f,r):y&&g[a]==f?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((_.virtual||(_.virtual={}))[a]=f,t&u.R&&m&&!m[a]&&c(m,a,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,n,e){var r=e(6),o=e(17);t.exports=e(7)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(3),o=e(49),i=e(50),c=Object.defineProperty;n.f=e(7)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return c(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){t.exports=!e(27)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(11);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports={}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(9),o=e(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(57),o=e(15);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(14),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(28)("keys"),o=e(29);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(6).f,o=e(12),i=e(1)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){"use strict";function r(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r}),this.resolve=o(n),this.reject=o(e)}var o=e(11);t.exports.f=function(t){return new r(t)}},function(t,n,e){t.exports={default:e(46),__esModule:!0}},function(t,n,e){"use strict";var r=e(48)(!0);e(25)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){"use strict";var r=e(26),o=e(4),i=e(51),c=e(5),u=e(12),a=e(10),s=e(52),f=e(21),l=e(60),p=e(1)("iterator"),h=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,n,e,d,y,_,m){s(e,n,d);var g,b,w,x=function(t){if(!h&&t in L)return L[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},j=n+" Iterator",O="values"==y,E=!1,L=t.prototype,P=L[p]||L["@@iterator"]||y&&L[y],k=!h&&P||x(y),S=y?O?x("entries"):k:void 0,A="Array"==n?L.entries||P:P;if(A&&(w=l(A.call(new t)))!==Object.prototype&&w.next&&(f(w,j,!0),r||u(w,p)||c(w,p,v)),O&&P&&"values"!==P.name&&(E=!0,k=function(){return P.call(this)}),r&&!m||!h&&!E&&L[p]||c(L,p,k),a[n]=k,a[j]=v,y)if(g={values:O?k:x("values"),keys:_?k:x("keys"),entries:S},m)for(b in g)b in L||i(L,b,g[b]);else o(o.P+o.F*(h||E),n,g);return g}},function(t,n){t.exports=!0},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(0),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(0).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(15);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(13),o=e(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),c=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=c(n=Object(t),o))?e:i?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,e){var r=e(3);t.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(n){var i=t.return;throw void 0!==i&&r(i.call(t)),n}}},function(t,n,e){var r=e(10),o=e(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,n,e){var r=e(33),o=e(1)("iterator"),i=e(10);t.exports=e(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,n,e){var r=e(3),o=e(11),i=e(1)("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||void 0==(e=r(c)[i])?n:o(e)}},function(t,n,e){var r,o,i,c=e(8),u=e(68),a=e(31),s=e(16),f=e(0),l=f.process,p=f.setImmediate,h=f.clearImmediate,v=f.MessageChannel,d=f.Dispatch,y=0,_={},m=function(){var t=+this;if(_.hasOwnProperty(t)){var n=_[t];delete _[t],n()}},g=function(t){m.call(t.data)};p&&h||(p=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return _[++y]=function(){u("function"==typeof t?t:Function(t),n)},r(y),y},h=function(t){delete _[t]},"process"==e(13)(l)?r=function(t){l.nextTick(c(m,t,1))}:d&&d.now?r=function(t){d.now(c(m,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=g,r=c(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",g,!1)):r="onreadystatechange"in s("script")?function(t){a.appendChild(s("script")).onreadystatechange=function(){a.removeChild(this),m.call(t)}}:function(t){setTimeout(c(m,t,1),0)}),t.exports={set:p,clear:h}},function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,e){var r=e(3),o=e(9),i=e(22);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},function(t,n,e){var r=e(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],c=i[r]();c.next=function(){return{done:e=!0}},i[r]=function(){return c},t(i)}catch(t){}return e}},function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";n.__esModule=!0;var r=e(82),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()},function(t,n,e){t.exports=e(45)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(23),o=e.n(r),i=e(74),c=e.n(i),u=e(78),a=e.n(u),s=e(81),f=e.n(s),l=e(42),p=e.n(l),h=e(43),v=e.n(h),d=e(85),y=e(89),_=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};p()(this,t),this.options=Object(d.a)(n),this.labels=this.options.labels,this.icons=this.options.icons,this.maxNotifications=this.options.maxNotifications,this.timers={},this.deleted={}}return v()(t,[{key:"tip",value:function(t){this._addNotification(t,"tip")}},{key:"info",value:function(t){this._addNotification(t,"info")}},{key:"success",value:function(t){this._addNotification(t,"success")}},{key:"warning",value:function(t){this._addNotification(t,"warning")}},{key:"alert",value:function(t){this._addNotification(t,"alert")}},{key:"async",value:function(t,n,e,r,o){r=r||this.options.asyncDefaultMessage,this._addAsyncNotification(t,n,e,r,o)}},{key:"confirm",value:function(t,n,e){this._showConfirm(t,n,e)}},{key:"_showConfirm",value:function(t,n,e){var r=this,o=document.createElement("div");o.id="awn-confirm";var i=this._getIcon(this.icons.confirm);o.innerHTML="\n <div class='awn-confirm-body'>\n "+i+"\n <div class='awn-confirm-title'>\n "+this.labels.confirm+"\n </div>\n "+t+"\n <div class='awn-buttons'>\n <button class='awn-btn awn-btn-success' id='awn-btn-success'>"+this.options.confirm.successBtnLabel+"</button>\n <button class='awn-btn awn-btn-cancel' id='awn-btn-cancel'>"+this.options.confirm.cancelBtnLabel+"</button>\n </div>\n </div>\n ",o=document.body.appendChild(o),document.getElementById("awn-btn-success").addEventListener("click",function(){r._deleteConfirm(o),"function"==typeof n&&n()}),document.getElementById("awn-btn-cancel").addEventListener("click",function(){r._deleteConfirm(o),"function"==typeof e&&e()})}},{key:"_deleteConfirm",value:function(t){this._beforeDelete(t).then(function(){document.body.removeChild(t)})}},{key:"_addAsyncNotification",value:function(){function t(t,e,r,o,i){return n.apply(this,arguments)}var n=f()(a.a.mark(function t(n,e,r,o,i){var c,u=this;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._insertEl(o,"async");case 2:c=t.sent,n.then(function(t){i?u._addNotification(i,"success",c):u._deleteEl(c),"function"==typeof e&&e(t)},function(t){u._addNotification(t,"alert",c),"function"==typeof r&&r(t)});case 4:case"end":return t.stop()}},t,this)}));return t}()},{key:"_addNotification",value:function(t,n,e){var r=this;e?this._replaceEl(t,n,e).then(function(t){r._addListeners(t)}):this._insertEl(t,n).then(function(t){r._addListeners(t)})}},{key:"_addListeners",value:function(t){var n=this;this.timers[t.id]=new y.a(function(){n._deleteEl(t)},this.options.duration),t.addEventListener("click",function(){n._deleteEl(t)}),t.addEventListener("mouseenter",function(){n.deleted[t.id]||(t.classList.add("awn-progress-bar-paused"),n.timers[t.id].pause())}),t.addEventListener("mouseleave",function(){n.deleted[t.id]||(t.classList.remove("awn-progress-bar-paused"),n.timers[t.id].resume())})}},{key:"_beforeInsert",value:function(){var t=this;if(this._getContainer().childElementCount>=this.maxNotifications){var n=c()(this._getContainer().getElementsByClassName("awn-event")),e=n.find(function(n){return!t.deleted[n.id]});e&&this._deleteEl(e)}}},{key:"_insertEl",value:function(t,n){var e=this;return new o.a(function(r,o){e._beforeInsert(),r(e._getContainer().appendChild(e._newEl(t,n)))})}},{key:"_replaceEl",value:function(t,n,e){var r=this;return new o.a(function(o,i){if(document.getElementById(e.id)){var c=r._newEl(t,n);r._beforeDelete(e).then(function(){r._getContainer().replaceChild(c,e),o(document.getElementById(c.id))})}})}},{key:"_newEl",value:function(t,n){var e="awn-"+Math.floor(Date.now()-100*Math.random()),r="async"===n?"":"<div class='awn-progress-bar'></div>",o=this._getIcon(this.icons[n]),i=document.createElement("div");return i.className="awn-event awn-"+n,i.id=e,i.innerHTML=r+"<b>"+this.labels[n]+"</b>"+t+o,i}},{key:"_beforeDelete",value:function(t){var n=this;return new o.a(function(e,r){t.classList.add("awn-hiding"),setTimeout(e,n.options.animationDuration)})}},{key:"_clearTimers",value:function(t){this.timers[t.id]&&(this.timers[t.id].pause(),this.timers[t.id]=null)}},{key:"_deleteEl",value:function(t){var n=this;t.parentNode&&(this._clearTimers(t),this.deleted[t.id]=!0,this._beforeDelete(t).then(function(){t.parentNode.removeChild(t),n.deleted[t.id]=null}))}},{key:"_getContainer",value:function(){if(!this.container){var t=document.getElementById("awn-container");this.container=t||this._createContainer(this.options.position)}return this.container}},{key:"_createContainer",value:function(t){var n=document.createElement("div");switch(n.id="awn-container",t){case"top-left":n.className="awn-left awn-top";break;case"bottom-left":n.className="awn-left";break;case"top-right":n.className="awn-top"}return document.body.appendChild(n)}},{key:"_getIcon",value:function(t){return this.options.icons.enabled?this.options.icons.template.prefix+t+this.options.icons.template.suffix:""}}]),t}();n.default=_},function(t,n,e){e(47),e(24),e(61),e(65),e(72),e(73),t.exports=e(2).Promise},function(t,n){},function(t,n,e){var r=e(14),o=e(15);t.exports=function(t){return function(n,e){var i,c,u=String(o(n)),a=r(e),s=u.length;return a<0||a>=s?t?"":void 0:(i=u.charCodeAt(a),i<55296||i>56319||a+1===s||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536)}}},function(t,n,e){t.exports=!e(7)&&!e(27)(function(){return 7!=Object.defineProperty(e(16)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(9);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){t.exports=e(5)},function(t,n,e){"use strict";var r=e(53),o=e(17),i=e(21),c={};e(5)(c,e(1)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(c,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n,e){var r=e(3),o=e(54),i=e(30),c=e(20)("IE_PROTO"),u=function(){},a=function(){var t,n=e(16)("iframe"),r=i.length;for(n.style.display="none",e(31).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,n){var e;return null!==t?(u.prototype=r(t),e=new u,u.prototype=null,e[c]=t):e=a(),void 0===n?e:o(e,n)}},function(t,n,e){var r=e(6),o=e(3),i=e(55);t.exports=e(7)?Object.defineProperties:function(t,n){o(t);for(var e,c=i(n),u=c.length,a=0;u>a;)r.f(t,e=c[a++],n[e]);return t}},function(t,n,e){var r=e(56),o=e(30);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(12),o=e(18),i=e(58)(!1),c=e(20)("IE_PROTO");t.exports=function(t,n){var e,u=o(t),a=0,s=[];for(e in u)e!=c&&r(u,e)&&s.push(e);for(;n.length>a;)r(u,e=n[a++])&&(~i(s,e)||s.push(e));return s}},function(t,n,e){var r=e(13);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(18),o=e(19),i=e(59);t.exports=function(t){return function(n,e,c){var u,a=r(n),s=o(a.length),f=i(c,s);if(t&&e!=e){for(;s>f;)if((u=a[f++])!=u)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===e)return t||f||0;return!t&&-1}}},function(t,n,e){var r=e(14),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(12),o=e(32),i=e(20)("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,n,e){e(62);for(var r=e(0),o=e(5),i=e(10),c=e(1)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<u.length;a++){var s=u[a],f=r[s],l=f&&f.prototype;l&&!l[c]&&o(l,c,s),i[s]=i.Array}},function(t,n,e){"use strict";var r=e(63),o=e(64),i=e(10),c=e(18);t.exports=e(25)(Array,"Array",function(t,n){this._t=c(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n){t.exports=function(){}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){"use strict";var r,o,i,c,u=e(26),a=e(0),s=e(8),f=e(33),l=e(4),p=e(9),h=e(11),v=e(66),d=e(67),y=e(37),_=e(38).set,m=e(69)(),g=e(22),b=e(39),w=e(40),x=a.TypeError,j=a.process,O=a.Promise,E="process"==f(j),L=function(){},P=o=g.f,k=!!function(){try{var t=O.resolve(1),n=(t.constructor={})[e(1)("species")]=function(t){t(L,L)};return(E||"function"==typeof PromiseRejectionEvent)&&t.then(L)instanceof n}catch(t){}}(),S=function(t){var n;return!(!p(t)||"function"!=typeof(n=t.then))&&n},A=function(t,n){if(!t._n){t._n=!0;var e=t._c;m(function(){for(var r=t._v,o=1==t._s,i=0;e.length>i;)!function(n){var e,i,c=o?n.ok:n.fail,u=n.resolve,a=n.reject,s=n.domain;try{c?(o||(2==t._h&&N(t),t._h=1),!0===c?e=r:(s&&s.enter(),e=c(r),s&&s.exit()),e===n.promise?a(x("Promise-chain cycle")):(i=S(e))?i.call(e,u,a):u(e)):a(r)}catch(t){a(t)}}(e[i++]);t._c=[],t._n=!1,n&&!t._h&&T(t)})}},T=function(t){_.call(a,function(){var n,e,r,o=t._v,i=M(t);if(i&&(n=b(function(){E?j.emit("unhandledRejection",o,t):(e=a.onunhandledrejection)?e({promise:t,reason:o}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=E||M(t)?2:1),t._a=void 0,i&&n.e)throw n.v})},M=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){_.call(a,function(){var n;E?j.emit("rejectionHandled",t):(n=a.onrejectionhandled)&&n({promise:t,reason:t._v})})},C=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),A(n,!0))},I=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw x("Promise can't be resolved itself");(n=S(t))?m(function(){var r={_w:e,_d:!1};try{n.call(t,s(I,r,1),s(C,r,1))}catch(t){C.call(r,t)}}):(e._v=t,e._s=1,A(e,!1))}catch(t){C.call({_w:e,_d:!1},t)}}};k||(O=function(t){v(this,O,"Promise","_h"),h(t),r.call(this);try{t(s(I,this,1),s(C,this,1))}catch(t){C.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=e(70)(O.prototype,{then:function(t,n){var e=P(y(this,O));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=E?j.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&A(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(I,t,1),this.reject=s(C,t,1)},g.f=P=function(t){return t===O||t===c?new i(t):o(t)}),l(l.G+l.W+l.F*!k,{Promise:O}),e(21)(O,"Promise"),e(71)("Promise"),c=e(2).Promise,l(l.S+l.F*!k,"Promise",{reject:function(t){var n=P(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(u||!k),"Promise",{resolve:function(t){return w(u&&this===c?O:this,t)}}),l(l.S+l.F*!(k&&e(41)(function(t){O.all(t).catch(L)})),"Promise",{all:function(t){var n=this,e=P(n),r=e.resolve,o=e.reject,i=b(function(){var e=[],i=0,c=1;d(t,!1,function(t){var u=i++,a=!1;e.push(void 0),c++,n.resolve(t).then(function(t){a||(a=!0,e[u]=t,--c||r(e))},o)}),--c||r(e)});return i.e&&o(i.v),e.promise},race:function(t){var n=this,e=P(n),r=e.reject,o=b(function(){d(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return o.e&&r(o.v),e.promise}})},function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},function(t,n,e){var r=e(8),o=e(34),i=e(35),c=e(3),u=e(19),a=e(36),s={},f={},n=t.exports=function(t,n,e,l,p){var h,v,d,y,_=p?function(){return t}:a(t),m=r(e,l,n?2:1),g=0;if("function"!=typeof _)throw TypeError(t+" is not iterable!");if(i(_)){for(h=u(t.length);h>g;g++)if((y=n?m(c(v=t[g])[0],v[1]):m(t[g]))===s||y===f)return y}else for(d=_.call(t);!(v=d.next()).done;)if((y=o(d,m,v.value,n))===s||y===f)return y};n.BREAK=s,n.RETURN=f},function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},function(t,n,e){var r=e(0),o=e(38).set,i=r.MutationObserver||r.WebKitMutationObserver,c=r.process,u=r.Promise,a="process"==e(13)(c);t.exports=function(){var t,n,e,s=function(){var r,o;for(a&&(r=c.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(a)e=function(){c.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var f=u.resolve();e=function(){f.then(s)}}else e=function(){o.call(r,s)};else{var l=!0,p=document.createTextNode("");new i(s).observe(p,{characterData:!0}),e=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};n&&(n.next=o),t||(t=o,e()),n=o}}},function(t,n,e){var r=e(5);t.exports=function(t,n,e){for(var o in n)e&&t[o]?t[o]=n[o]:r(t,o,n[o]);return t}},function(t,n,e){"use strict";var r=e(0),o=e(2),i=e(6),c=e(7),u=e(1)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:r[t];c&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,e){"use strict";var r=e(4),o=e(2),i=e(0),c=e(37),u=e(40);r(r.P+r.R,"Promise",{finally:function(t){var n=c(this,o.Promise||i.Promise),e="function"==typeof t;return this.then(e?function(e){return u(n,t()).then(function(){return e})}:t,e?function(e){return u(n,t()).then(function(){throw e})}:t)}})},function(t,n,e){"use strict";var r=e(4),o=e(22),i=e(39);r(r.S,"Promise",{try:function(t){var n=o.f(this),e=i(t);return(e.e?n.reject:n.resolve)(e.v),n.promise}})},function(t,n,e){t.exports={default:e(75),__esModule:!0}},function(t,n,e){e(24),e(76),t.exports=e(2).Array.from},function(t,n,e){"use strict";var r=e(8),o=e(4),i=e(32),c=e(34),u=e(35),a=e(19),s=e(77),f=e(36);o(o.S+o.F*!e(41)(function(t){Array.from(t)}),"Array",{from:function(t){var n,e,o,l,p=i(t),h="function"==typeof this?this:Array,v=arguments.length,d=v>1?arguments[1]:void 0,y=void 0!==d,_=0,m=f(p);if(y&&(d=r(d,v>2?arguments[2]:void 0,2)),void 0==m||h==Array&&u(m))for(n=a(p.length),e=new h(n);n>_;_++)s(e,_,y?d(p[_],_):p[_]);else for(l=m.call(p),e=new h;!(o=l.next()).done;_++)s(e,_,y?c(l,d,[o.value,_],!0):o.value);return e.length=_,e}})},function(t,n,e){"use strict";var r=e(6),o=e(17);t.exports=function(t,n,e){n in t?r.f(t,n,o(0,e)):t[n]=e}},function(t,n,e){t.exports=e(79)},function(t,n,e){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=e(80),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},function(t,n){!function(n){"use strict";function e(t,n,e,r){var i=n&&n.prototype instanceof o?n:o,c=Object.create(i.prototype),u=new h(r||[]);return c._invoke=s(t,e,u),c}function r(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}function o(){}function i(){}function c(){}function u(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this._invoke(n,t)}})}function a(t){function n(e,o,i,c){var u=r(t[e],t,o);if("throw"!==u.type){var a=u.arg,s=a.value;return s&&"object"==typeof s&&m.call(s,"__await")?Promise.resolve(s.__await).then(function(t){n("next",t,i,c)},function(t){n("throw",t,i,c)}):Promise.resolve(s).then(function(t){a.value=t,i(a)},c)}c(u.arg)}function e(t,e){function r(){return new Promise(function(r,o){n(t,e,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=e}function s(t,n,e){var o=E;return function(i,c){if(o===P)throw new Error("Generator is already running");if(o===k){if("throw"===i)throw c;return d()}for(e.method=i,e.arg=c;;){var u=e.delegate;if(u){var a=f(u,e);if(a){if(a===S)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(o===E)throw o=k,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);o=P;var s=r(t,n,e);if("normal"===s.type){if(o=e.done?k:L,s.arg===S)continue;return{value:s.arg,done:e.done}}"throw"===s.type&&(o=k,e.method="throw",e.arg=s.arg)}}}function f(t,n){var e=t.iterator[n.method];if(e===y){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=y,f(t,n),"throw"===n.method))return S;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return S}var o=r(e,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,S;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=y),n.delegate=null,S):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,S)}function l(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function p(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(l,this),this.reset(!0)}function v(t){if(t){var n=t[b];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,r=function n(){for(;++e<t.length;)if(m.call(t,e))return n.value=t[e],n.done=!1,n;return n.value=y,n.done=!0,n};return r.next=r}}return{next:d}}function d(){return{value:y,done:!0}}var y,_=Object.prototype,m=_.hasOwnProperty,g="function"==typeof Symbol?Symbol:{},b=g.iterator||"@@iterator",w=g.asyncIterator||"@@asyncIterator",x=g.toStringTag||"@@toStringTag",j="object"==typeof t,O=n.regeneratorRuntime;if(O)return void(j&&(t.exports=O));O=n.regeneratorRuntime=j?t.exports:{},O.wrap=e;var E="suspendedStart",L="suspendedYield",P="executing",k="completed",S={},A={};A[b]=function(){return this};var T=Object.getPrototypeOf,M=T&&T(T(v([])));M&&M!==_&&m.call(M,b)&&(A=M);var N=c.prototype=o.prototype=Object.create(A);i.prototype=N.constructor=c,c.constructor=i,c[x]=i.displayName="GeneratorFunction",O.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===i||"GeneratorFunction"===(n.displayName||n.name))},O.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,x in t||(t[x]="GeneratorFunction")),t.prototype=Object.create(N),t},O.awrap=function(t){return{__await:t}},u(a.prototype),a.prototype[w]=function(){return this},O.AsyncIterator=a,O.async=function(t,n,r,o){var i=new a(e(t,n,r,o));return O.isGeneratorFunction(n)?i:i.next().then(function(t){return t.done?t.value:i.next()})},u(N),N[x]="Generator",N[b]=function(){return this},N.toString=function(){return"[object Generator]"},O.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},O.values=v,h.prototype={constructor:h,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=y,this.done=!1,this.delegate=null,this.method="next",this.arg=y,this.tryEntries.forEach(p),!t)for(var n in this)"t"===n.charAt(0)&&m.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=y)},stop:function(){this.done=!0;var t=this.tryEntries[0],n=t.completion;if("throw"===n.type)throw n.arg;return this.rval},dispatchException:function(t){function n(n,r){return i.type="throw",i.arg=t,e.next=n,r&&(e.method="next",e.arg=y),!!r}if(this.done)throw t;for(var e=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var c=m.call(o,"catchLoc"),u=m.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc<=this.prev&&m.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=n,o?(this.method="next",this.next=o.finallyLoc,S):this.complete(i)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),S},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),p(e),S}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var o=r.arg;p(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:v(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=y),S}}}(function(){return this}()||Function("return this")())},function(t,n,e){"use strict";n.__esModule=!0;var r=e(23),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(t){return function(){var n=t.apply(this,arguments);return new o.default(function(t,e){function r(i,c){try{var u=n[i](c),a=u.value}catch(t){return void e(t)}if(!u.done)return o.default.resolve(a).then(function(t){r("next",t)},function(t){r("throw",t)});t(a)}return r("next")})}}},function(t,n,e){t.exports={default:e(83),__esModule:!0}},function(t,n,e){e(84);var r=e(2).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n,e){var r=e(4);r(r.S+r.F*!e(7),"Object",{defineProperty:e(6).f})},function(t,n,e){"use strict";var r=e(86),o=e.n(r),i={labels:{tip:"Tip",info:"Info",success:"Success",warning:"Attention",alert:"Error",async:"Loading",confirm:"Confirmation required"},icons:{tip:"question-circle",info:"info-circle",success:"check-circle",warning:"exclamation-circle",alert:"warning",async:"cog fa-spin",confirm:"warning",template:{prefix:"<span><i class='fa fa-fw fa",suffix:"'></i></span>"},disable:!1},confirm:{successBtnLabel:"OK",cancelBtnLabel:"Cancel"},maxNotifications:10,asyncDefaultMessage:"Please, wait...",animationDuration:300,position:"bottom-right",duration:5e3};n.a=function(t){return o()(t,i)}},function(t,n,e){(function(t,e){function r(t,n){return t.set(n[0],n[1]),t}function o(t,n){return t.add(n),t}function i(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}function c(t,n){for(var e=-1,r=t?t.length:0;++e<r&&!1!==n(t[e],e,t););return t}function u(t,n){for(var e=-1,r=n.length,o=t.length;++e<r;)t[o+e]=n[e];return t}function a(t,n,e,r){var o=-1,i=t?t.length:0;for(r&&i&&(e=t[++o]);++o<i;)e=n(e,t[o],o,t);return e}function s(t,n){for(var e=-1,r=Array(t);++e<t;)r[e]=n(e);return r}function f(t,n){return null==t?void 0:t[n]}function l(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(t){}return n}function p(t){var n=-1,e=Array(t.size);return t.forEach(function(t,r){e[++n]=[r,t]}),e}function h(t,n){return function(e){return t(n(e))}}function v(t){var n=-1,e=Array(t.size);return t.forEach(function(t){e[++n]=t}),e}function d(t){var n=-1,e=t?t.length:0;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function y(){this.__data__=ne?ne(null):{}}function _(t){return this.has(t)&&delete this.__data__[t]}function m(t){var n=this.__data__;if(ne){var e=n[t];return e===Ut?void 0:e}return In.call(n,t)?n[t]:void 0}function g(t){var n=this.__data__;return ne?void 0!==n[t]:In.call(n,t)}function b(t,n){return this.__data__[t]=ne&&void 0===n?Ut:n,this}function w(t){var n=-1,e=t?t.length:0;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function x(){this.__data__=[]}function j(t){var n=this.__data__,e=V(n,t);return!(e<0||(e==n.length-1?n.pop():Hn.call(n,e,1),0))}function O(t){var n=this.__data__,e=V(n,t);return e<0?void 0:n[e][1]}function E(t){return V(this.__data__,t)>-1}function L(t,n){var e=this.__data__,r=V(e,t);return r<0?e.push([t,n]):e[r][1]=n,this}function P(t){var n=-1,e=t?t.length:0;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function k(){this.__data__={hash:new d,map:new(Qn||w),string:new d}}function S(t){return ht(this,t).delete(t)}function A(t){return ht(this,t).get(t)}function T(t){return ht(this,t).has(t)}function M(t,n){return ht(this,t).set(t,n),this}function N(t){this.__data__=new w(t)}function C(){this.__data__=new w}function I(t){return this.__data__.delete(t)}function F(t){return this.__data__.get(t)}function R(t){return this.__data__.has(t)}function D(t,n){var e=this.__data__;if(e instanceof w){var r=e.__data__;if(!Qn||r.length<Gt-1)return r.push([t,n]),this;e=this.__data__=new P(r)}return e.set(t,n),this}function B(t,n){var e=le(t)||Pt(t)?s(t.length,String):[],r=e.length,o=!!r;for(var i in t)!n&&!In.call(t,i)||o&&("length"==i||mt(i,r))||e.push(i);return e}function G(t,n,e){(void 0===e||Lt(t[n],e))&&("number"!=typeof n||void 0!==e||n in t)||(t[n]=e)}function U(t,n,e){var r=t[n];In.call(t,n)&&Lt(r,e)&&(void 0!==e||n in t)||(t[n]=e)}function V(t,n){for(var e=t.length;e--;)if(Lt(t[e][0],n))return e;return-1}function W(t,n){return t&&ft(n,Ft(n),t)}function $(t,n,e,r,o,i,u){var a;if(r&&(a=i?r(t,o,i,u):r(t)),void 0!==a)return a;if(!Mt(t))return t;var s=le(t);if(s){if(a=dt(t),!n)return st(t,a)}else{var f=fe(t),p=f==qt||f==zt;if(pe(t))return nt(t,n);if(f==Jt||f==Wt||p&&!i){if(l(t))return i?t:{};if(a=yt(p?{}:t),!n)return lt(t,W(a,t))}else{if(!gn[f])return i?t:{};a=_t(t,f,$,n)}}u||(u=new N);var h=u.get(t);if(h)return h;if(u.set(t,a),!s)var v=e?pt(t):Ft(t);return c(v||t,function(o,i){v&&(i=o,o=t[i]),U(a,i,$(o,n,e,r,i,t,u))}),a}function H(t){return Mt(t)?Wn(t):{}}function q(t,n,e){var r=n(t);return le(t)?r:u(r,e(t))}function z(t){return Rn.call(t)}function K(t){return!(!Mt(t)||wt(t))&&(At(t)||l(t)?Dn:yn).test(Et(t))}function Y(t){return Nt(t)&&Tt(t.length)&&!!mn[Rn.call(t)]}function J(t){if(!xt(t))return Kn(t);var n=[];for(var e in Object(t))In.call(t,e)&&"constructor"!=e&&n.push(e);return n}function Q(t){if(!Mt(t))return Ot(t);var n=xt(t),e=[];for(var r in t)("constructor"!=r||!n&&In.call(t,r))&&e.push(r);return e}function X(t,n,e,r,o){if(t!==n){if(!le(n)&&!he(n))var i=Q(n);c(i||n,function(c,u){if(i&&(u=c,c=n[u]),Mt(c))o||(o=new N),Z(t,n,u,e,X,r,o);else{var a=r?r(t[u],c,u+"",t,n,o):void 0;void 0===a&&(a=c),G(t,u,a)}})}}function Z(t,n,e,r,o,i,c){var u=t[e],a=n[e],s=c.get(a);if(s)return void G(t,e,s);var f=i?i(u,a,e+"",t,n,c):void 0,l=void 0===f;l&&(f=a,le(a)||he(a)?le(u)?f=u:St(u)?f=st(u):(l=!1,f=$(a,!0)):Ct(a)||Pt(a)?Pt(u)?f=It(u):!Mt(u)||r&&At(u)?(l=!1,f=$(a,!0)):f=u:l=!1),l&&(c.set(a,f),o(f,a,r,i,c),c.delete(a)),G(t,e,f)}function tt(t,n){return n=Yn(void 0===n?t.length-1:n,0),function(){for(var e=arguments,r=-1,o=Yn(e.length-n,0),c=Array(o);++r<o;)c[r]=e[n+r];r=-1;for(var u=Array(n+1);++r<n;)u[r]=e[r];return u[n]=c,i(t,this,u)}}function nt(t,n){if(n)return t.slice();var e=new t.constructor(t.length);return t.copy(e),e}function et(t){var n=new t.constructor(t.byteLength);return new Un(n).set(new Un(t)),n}function rt(t,n){var e=n?et(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}function ot(t,n,e){return a(n?e(p(t),!0):p(t),r,new t.constructor)}function it(t){var n=new t.constructor(t.source,dn.exec(t));return n.lastIndex=t.lastIndex,n}function ct(t,n,e){return a(n?e(v(t),!0):v(t),o,new t.constructor)}function ut(t){return ae?Object(ae.call(t)):{}}function at(t,n){var e=n?et(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function st(t,n){var e=-1,r=t.length;for(n||(n=Array(r));++e<r;)n[e]=t[e];return n}function ft(t,n,e,r){e||(e={});for(var o=-1,i=n.length;++o<i;){var c=n[o],u=r?r(e[c],t[c],c,e,t):void 0;U(e,c,void 0===u?t[c]:u)}return e}function lt(t,n){return ft(t,se(t),n)}function pt(t){return q(t,Ft,se)}function ht(t,n){var e=t.__data__;return bt(n)?e["string"==typeof n?"string":"hash"]:e.map}function vt(t,n){var e=f(t,n);return K(e)?e:void 0}function dt(t){var n=t.length,e=t.constructor(n);return n&&"string"==typeof t[0]&&In.call(t,"index")&&(e.index=t.index,e.input=t.input),e}function yt(t){return"function"!=typeof t.constructor||xt(t)?{}:H(Vn(t))}function _t(t,n,e,r){var o=t.constructor;switch(n){case en:return et(t);case $t:case Ht:return new o(+t);case rn:return rt(t,r);case on:case cn:case un:case an:case sn:case fn:case ln:case pn:case hn:return at(t,r);case Kt:return ot(t,r,e);case Yt:case Zt:return new o(t);case Qt:return it(t);case Xt:return ct(t,r,e);case tn:return ut(t)}}function mt(t,n){return!!(n=null==n?Vt:n)&&("number"==typeof t||_n.test(t))&&t>-1&&t%1==0&&t<n}function gt(t,n,e){if(!Mt(e))return!1;var r=typeof n;return!!("number"==r?kt(e)&&mt(n,e.length):"string"==r&&n in e)&&Lt(e[n],t)}function bt(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}function wt(t){return!!Nn&&Nn in t}function xt(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||Tn)}function jt(t,n,e,r,o,i){return Mt(t)&&Mt(n)&&(i.set(n,t),X(t,n,void 0,jt,i),i.delete(n)),t}function Ot(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}function Et(t){if(null!=t){try{return Cn.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Lt(t,n){return t===n||t!==t&&n!==n}function Pt(t){return St(t)&&In.call(t,"callee")&&(!$n.call(t,"callee")||Rn.call(t)==Wt)}function kt(t){return null!=t&&Tt(t.length)&&!At(t)}function St(t){return Nt(t)&&kt(t)}function At(t){var n=Mt(t)?Rn.call(t):"";return n==qt||n==zt}function Tt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Vt}function Mt(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function Nt(t){return!!t&&"object"==typeof t}function Ct(t){if(!Nt(t)||Rn.call(t)!=Jt||l(t))return!1;var n=Vn(t);if(null===n)return!0;var e=In.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&Cn.call(e)==Fn}function It(t){return ft(t,Rt(t))}function Ft(t){return kt(t)?B(t):J(t)}function Rt(t){return kt(t)?B(t,!0):Q(t)}function Dt(){return[]}function Bt(){return!1}var Gt=200,Ut="__lodash_hash_undefined__",Vt=9007199254740991,Wt="[object Arguments]",$t="[object Boolean]",Ht="[object Date]",qt="[object Function]",zt="[object GeneratorFunction]",Kt="[object Map]",Yt="[object Number]",Jt="[object Object]",Qt="[object RegExp]",Xt="[object Set]",Zt="[object String]",tn="[object Symbol]",nn="[object WeakMap]",en="[object ArrayBuffer]",rn="[object DataView]",on="[object Float32Array]",cn="[object Float64Array]",un="[object Int8Array]",an="[object Int16Array]",sn="[object Int32Array]",fn="[object Uint8Array]",ln="[object Uint8ClampedArray]",pn="[object Uint16Array]",hn="[object Uint32Array]",vn=/[\\^$.*+?()[\]{}|]/g,dn=/\w*$/,yn=/^\[object .+?Constructor\]$/,_n=/^(?:0|[1-9]\d*)$/,mn={};mn[on]=mn[cn]=mn[un]=mn[an]=mn[sn]=mn[fn]=mn[ln]=mn[pn]=mn[hn]=!0,mn[Wt]=mn["[object Array]"]=mn[en]=mn[$t]=mn[rn]=mn[Ht]=mn["[object Error]"]=mn[qt]=mn[Kt]=mn[Yt]=mn[Jt]=mn[Qt]=mn[Xt]=mn[Zt]=mn[nn]=!1;var gn={};gn[Wt]=gn["[object Array]"]=gn[en]=gn[rn]=gn[$t]=gn[Ht]=gn[on]=gn[cn]=gn[un]=gn[an]=gn[sn]=gn[Kt]=gn[Yt]=gn[Jt]=gn[Qt]=gn[Xt]=gn[Zt]=gn[tn]=gn[fn]=gn[ln]=gn[pn]=gn[hn]=!0,gn["[object Error]"]=gn[qt]=gn[nn]=!1;var bn="object"==typeof t&&t&&t.Object===Object&&t,wn="object"==typeof self&&self&&self.Object===Object&&self,xn=bn||wn||Function("return this")(),jn="object"==typeof n&&n&&!n.nodeType&&n,On=jn&&"object"==typeof e&&e&&!e.nodeType&&e,En=On&&On.exports===jn,Ln=En&&bn.process,Pn=function(){try{return Ln&&Ln.binding("util")}catch(t){}}(),kn=Pn&&Pn.isTypedArray,Sn=Array.prototype,An=Function.prototype,Tn=Object.prototype,Mn=xn["__core-js_shared__"],Nn=function(){var t=/[^.]+$/.exec(Mn&&Mn.keys&&Mn.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Cn=An.toString,In=Tn.hasOwnProperty,Fn=Cn.call(Object),Rn=Tn.toString,Dn=RegExp("^"+Cn.call(In).replace(vn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Bn=En?xn.Buffer:void 0,Gn=xn.Symbol,Un=xn.Uint8Array,Vn=h(Object.getPrototypeOf,Object),Wn=Object.create,$n=Tn.propertyIsEnumerable,Hn=Sn.splice,qn=Object.getOwnPropertySymbols,zn=Bn?Bn.isBuffer:void 0,Kn=h(Object.keys,Object),Yn=Math.max,Jn=vt(xn,"DataView"),Qn=vt(xn,"Map"),Xn=vt(xn,"Promise"),Zn=vt(xn,"Set"),te=vt(xn,"WeakMap"),ne=vt(Object,"create"),ee=Et(Jn),re=Et(Qn),oe=Et(Xn),ie=Et(Zn),ce=Et(te),ue=Gn?Gn.prototype:void 0,ae=ue?ue.valueOf:void 0;d.prototype.clear=y,d.prototype.delete=_,d.prototype.get=m,d.prototype.has=g,d.prototype.set=b,w.prototype.clear=x,w.prototype.delete=j,w.prototype.get=O,w.prototype.has=E,w.prototype.set=L,P.prototype.clear=k,P.prototype.delete=S,P.prototype.get=A,P.prototype.has=T,P.prototype.set=M,N.prototype.clear=C,N.prototype.delete=I,N.prototype.get=F,N.prototype.has=R,N.prototype.set=D;var se=qn?h(qn,Object):Dt,fe=z;(Jn&&fe(new Jn(new ArrayBuffer(1)))!=rn||Qn&&fe(new Qn)!=Kt||Xn&&"[object Promise]"!=fe(Xn.resolve())||Zn&&fe(new Zn)!=Xt||te&&fe(new te)!=nn)&&(fe=function(t){var n=Rn.call(t),e=n==Jt?t.constructor:void 0,r=e?Et(e):void 0;if(r)switch(r){case ee:return rn;case re:return Kt;case oe:return"[object Promise]";case ie:return Xt;case ce:return nn}return n});var le=Array.isArray,pe=zn||Bt,he=kn?function(t){return function(n){return t(n)}}(kn):Y,ve=tt(function(t){return t.push(void 0,jt),i(de,void 0,t)}),de=function(t){return tt(function(n,e){var r=-1,o=e.length,i=o>1?e[o-1]:void 0,c=o>2?e[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,c&&gt(e[0],e[1],c)&&(i=o<3?void 0:i,o=1),n=Object(n);++r<o;){var u=e[r];u&&t(n,u,r,i)}return n})}(function(t,n,e,r){X(t,n,e,r)});e.exports=ve}).call(n,e(87),e(88)(t))},function(t,n){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,n,e){"use strict";var r=e(42),o=e.n(r),i=e(43),c=e.n(i),u=function(){function t(n,e){o()(this,t),this.callback=n,this.remaining=e,this.resume()}return c()(t,[{key:"pause",value:function(){window.clearTimeout(this.timerId),this.remaining-=new Date-this.start}},{key:"resume",value:function(){var t=this;this.start=new Date,window.clearTimeout(this.timerId),this.timerId=window.setTimeout(function(){window.clearTimeout(t.timerId),t.callback()},this.remaining)}}]),t}();n.a=u}])})}])});
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.AWN=n():t.AWN=n()}("undefined"!=typeof self?self:this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=0)}([function(t,n,e){t.exports=e(1)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(2),o=e.n(r);n.default=function(t,n){t.prototype.$awn=new o.a(n)}},function(t,n,e){!function(n,e){t.exports=e()}("undefined"!=typeof self&&self,function(){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=44)}([function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){var r=e(28)("wks"),o=e(29),i=e(0).Symbol,c="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))}).store=r},function(t,n){var e=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(9);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){var r=e(0),o=e(2),i=e(8),c=e(5),u=function(t,n,e){var a,s,f,l=t&u.F,h=t&u.G,p=t&u.S,v=t&u.P,d=t&u.B,y=t&u.W,m=h?o:o[n]||(o[n]={}),_=m.prototype,g=h?r:p?r[n]:(r[n]||{}).prototype;h&&(e=n);for(a in e)(s=!l&&g&&void 0!==g[a])&&a in m||(f=s?g[a]:e[a],m[a]=h&&"function"!=typeof g[a]?e[a]:d&&s?i(f,r):y&&g[a]==f?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((m.virtual||(m.virtual={}))[a]=f,t&u.R&&_&&!_[a]&&c(_,a,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,n,e){var r=e(6),o=e(17);t.exports=e(7)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(3),o=e(49),i=e(50),c=Object.defineProperty;n.f=e(7)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return c(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){t.exports=!e(27)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(11);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports={}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(9),o=e(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(57),o=e(15);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(14),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(28)("keys"),o=e(29);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(6).f,o=e(12),i=e(1)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){"use strict";function r(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r}),this.resolve=o(n),this.reject=o(e)}var o=e(11);t.exports.f=function(t){return new r(t)}},function(t,n,e){t.exports={default:e(46),__esModule:!0}},function(t,n,e){"use strict";var r=e(48)(!0);e(25)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){"use strict";var r=e(26),o=e(4),i=e(51),c=e(5),u=e(12),a=e(10),s=e(52),f=e(21),l=e(60),h=e(1)("iterator"),p=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,n,e,d,y,m,_){s(e,n,d);var g,b,w,x=function(t){if(!p&&t in L)return L[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},j=n+" Iterator",O="values"==y,E=!1,L=t.prototype,P=L[h]||L["@@iterator"]||y&&L[y],k=!p&&P||x(y),S=y?O?x("entries"):k:void 0,T="Array"==n?L.entries||P:P;if(T&&(w=l(T.call(new t)))!==Object.prototype&&w.next&&(f(w,j,!0),r||u(w,h)||c(w,h,v)),O&&P&&"values"!==P.name&&(E=!0,k=function(){return P.call(this)}),r&&!_||!p&&!E&&L[h]||c(L,h,k),a[n]=k,a[j]=v,y)if(g={values:O?k:x("values"),keys:m?k:x("keys"),entries:S},_)for(b in g)b in L||i(L,b,g[b]);else o(o.P+o.F*(p||E),n,g);return g}},function(t,n){t.exports=!0},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(0),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(0).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(15);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(13),o=e(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),c=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=c(n=Object(t),o))?e:i?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,e){var r=e(3);t.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(n){var i=t.return;throw void 0!==i&&r(i.call(t)),n}}},function(t,n,e){var r=e(10),o=e(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,n,e){var r=e(33),o=e(1)("iterator"),i=e(10);t.exports=e(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,n,e){var r=e(3),o=e(11),i=e(1)("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||void 0==(e=r(c)[i])?n:o(e)}},function(t,n,e){var r,o,i,c=e(8),u=e(68),a=e(31),s=e(16),f=e(0),l=f.process,h=f.setImmediate,p=f.clearImmediate,v=f.MessageChannel,d=f.Dispatch,y=0,m={},_=function(){var t=+this;if(m.hasOwnProperty(t)){var n=m[t];delete m[t],n()}},g=function(t){_.call(t.data)};h&&p||(h=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return m[++y]=function(){u("function"==typeof t?t:Function(t),n)},r(y),y},p=function(t){delete m[t]},"process"==e(13)(l)?r=function(t){l.nextTick(c(_,t,1))}:d&&d.now?r=function(t){d.now(c(_,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=g,r=c(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",g,!1)):r="onreadystatechange"in s("script")?function(t){a.appendChild(s("script")).onreadystatechange=function(){a.removeChild(this),_.call(t)}}:function(t){setTimeout(c(_,t,1),0)}),t.exports={set:h,clear:p}},function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,e){var r=e(3),o=e(9),i=e(22);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},function(t,n,e){var r=e(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],c=i[r]();c.next=function(){return{done:e=!0}},i[r]=function(){return c},t(i)}catch(t){}return e}},function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";n.__esModule=!0;var r=e(82),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()},function(t,n,e){t.exports=e(45)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(23),o=e.n(r),i=e(74),c=e.n(i),u=e(78),a=e.n(u),s=e(81),f=e.n(s),l=e(42),h=e.n(l),p=e(43),v=e.n(p),d=e(85),y=e(89),m=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h()(this,t),this.options=Object(d.a)(n),this.labels=this.options.labels,this.icons=this.options.icons,this.maxNotifications=this.options.maxNotifications,this.timers={},this.deleted={}}return v()(t,[{key:"tip",value:function(t){this._addNotification(t,"tip")}},{key:"info",value:function(t){this._addNotification(t,"info")}},{key:"success",value:function(t){this._addNotification(t,"success")}},{key:"warning",value:function(t){this._addNotification(t,"warning")}},{key:"alert",value:function(t){this._addNotification(t,"alert")}},{key:"async",value:function(t,n,e,r,o){r=r||this.options.asyncDefaultMessage,this._addAsyncNotification(t,n,e,r,o)}},{key:"confirm",value:function(t,n,e){this._showConfirm(t,n,e)}},{key:"_showConfirm",value:function(t,n,e){var r=this,o=document.createElement("div");o.id="awn-confirm",o.style.animationDuration=this._msToS(this.options.animationDuration);var i=this._getIcon(this.icons.confirm);o.innerHTML="\n <div class='awn-confirm-body'>\n "+i+"\n <div class='awn-confirm-title'>\n "+this.labels.confirm+"\n </div>\n "+t+"\n <div class='awn-buttons'>\n <button class='awn-btn awn-btn-success' id='awn-btn-success'>"+this.options.confirm.successBtnLabel+"</button>\n <button class='awn-btn awn-btn-cancel' id='awn-btn-cancel'>"+this.options.confirm.cancelBtnLabel+"</button>\n </div>\n </div>\n ",o=document.body.appendChild(o),document.getElementById("awn-btn-success").addEventListener("click",function(){r._deleteConfirm(o),"function"==typeof n&&n()}),document.getElementById("awn-btn-cancel").addEventListener("click",function(){r._deleteConfirm(o),"function"==typeof e&&e()})}},{key:"_deleteConfirm",value:function(t){this._beforeDelete(t).then(function(){document.body.removeChild(t)})}},{key:"_addAsyncNotification",value:function(){function t(t,e,r,o,i){return n.apply(this,arguments)}var n=f()(a.a.mark(function t(n,e,r,o,i){var c,u=this;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._insertEl(o,"async");case 2:c=t.sent,n.then(function(t){i?u._addNotification(i,"success",c):u._deleteEl(c),"function"==typeof e&&e(t)},function(t){u._addNotification(t,"alert",c),"function"==typeof r&&r(t)});case 4:case"end":return t.stop()}},t,this)}));return t}()},{key:"_addNotification",value:function(t,n,e){var r=this;e?this._replaceEl(t,n,e).then(function(t){r._addListeners(t)}):this._insertEl(t,n).then(function(t){r._addListeners(t)})}},{key:"_addListeners",value:function(t){var n=this;this.timers[t.id]=new y.a(function(){n._deleteEl(t)},this.options.duration),t.addEventListener("click",function(){n._deleteEl(t)}),t.addEventListener("mouseenter",function(){n.deleted[t.id]||(t.classList.add("awn-progress-bar-paused"),n.timers[t.id].pause())}),t.addEventListener("mouseleave",function(){n.deleted[t.id]||(t.classList.remove("awn-progress-bar-paused"),n.timers[t.id].resume())})}},{key:"_beforeInsert",value:function(){var t=this;if(this._getContainer().childElementCount>=this.maxNotifications){var n=c()(this._getContainer().getElementsByClassName("awn-event")),e=n.find(function(n){return!t.deleted[n.id]});e&&this._deleteEl(e)}}},{key:"_insertEl",value:function(t,n){var e=this;return new o.a(function(r,o){e._beforeInsert(),r(e._getContainer().appendChild(e._newEl(t,n)))})}},{key:"_replaceEl",value:function(t,n,e){var r=this;return new o.a(function(o,i){if(document.getElementById(e.id)){var c=r._newEl(t,n);r._beforeDelete(e).then(function(){r._getContainer().replaceChild(c,e),o(document.getElementById(c.id))})}})}},{key:"_newEl",value:function(t,n){var e="awn-"+Math.floor(Date.now()-100*Math.random()),r="async"===n?"":"<div class='awn-progress-bar' style=\"animation-duration:"+this._msToS(this.options.duration)+';"></div>',o=this._getIcon(this.icons[n]),i=document.createElement("div");return i.className="awn-event awn-"+n,i.id=e,i.style.animationDuration=this._msToS(this.options.animationDuration),i.innerHTML=r+"<b>"+this.labels[n]+"</b>"+t+o,i}},{key:"_beforeDelete",value:function(t){var n=this;return new o.a(function(e,r){t.classList.add("awn-hiding"),setTimeout(e,n.options.animationDuration)})}},{key:"_clearTimers",value:function(t){this.timers[t.id]&&(this.timers[t.id].pause(),this.timers[t.id]=null)}},{key:"_deleteEl",value:function(t){var n=this;t.parentNode&&(this._clearTimers(t),this.deleted[t.id]=!0,this._beforeDelete(t).then(function(){t.parentNode.removeChild(t),n.deleted[t.id]=null}))}},{key:"_getContainer",value:function(){if(!this.container){var t=document.getElementById("awn-container");this.container=t||this._createContainer(this.options.position)}return this.container}},{key:"_createContainer",value:function(t){var n=document.createElement("div");switch(n.id="awn-container",t){case"top-left":n.className="awn-left awn-top";break;case"bottom-left":n.className="awn-left";break;case"top-right":n.className="awn-top"}return document.body.appendChild(n)}},{key:"_getIcon",value:function(t){return this.options.icons.enabled?this.options.icons.template.prefix+t+this.options.icons.template.suffix:""}},{key:"_msToS",value:function(t){return t/1e3+"s"}}]),t}();n.default=m},function(t,n,e){e(47),e(24),e(61),e(65),e(72),e(73),t.exports=e(2).Promise},function(t,n){},function(t,n,e){var r=e(14),o=e(15);t.exports=function(t){return function(n,e){var i,c,u=String(o(n)),a=r(e),s=u.length;return a<0||a>=s?t?"":void 0:(i=u.charCodeAt(a),i<55296||i>56319||a+1===s||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536)}}},function(t,n,e){t.exports=!e(7)&&!e(27)(function(){return 7!=Object.defineProperty(e(16)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(9);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){t.exports=e(5)},function(t,n,e){"use strict";var r=e(53),o=e(17),i=e(21),c={};e(5)(c,e(1)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(c,{next:o(1,e)}),i(t,n+" Iterator")}},function(t,n,e){var r=e(3),o=e(54),i=e(30),c=e(20)("IE_PROTO"),u=function(){},a=function(){var t,n=e(16)("iframe"),r=i.length;for(n.style.display="none",e(31).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,n){var e;return null!==t?(u.prototype=r(t),e=new u,u.prototype=null,e[c]=t):e=a(),void 0===n?e:o(e,n)}},function(t,n,e){var r=e(6),o=e(3),i=e(55);t.exports=e(7)?Object.defineProperties:function(t,n){o(t);for(var e,c=i(n),u=c.length,a=0;u>a;)r.f(t,e=c[a++],n[e]);return t}},function(t,n,e){var r=e(56),o=e(30);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(12),o=e(18),i=e(58)(!1),c=e(20)("IE_PROTO");t.exports=function(t,n){var e,u=o(t),a=0,s=[];for(e in u)e!=c&&r(u,e)&&s.push(e);for(;n.length>a;)r(u,e=n[a++])&&(~i(s,e)||s.push(e));return s}},function(t,n,e){var r=e(13);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(18),o=e(19),i=e(59);t.exports=function(t){return function(n,e,c){var u,a=r(n),s=o(a.length),f=i(c,s);if(t&&e!=e){for(;s>f;)if((u=a[f++])!=u)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===e)return t||f||0;return!t&&-1}}},function(t,n,e){var r=e(14),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(12),o=e(32),i=e(20)("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,n,e){e(62);for(var r=e(0),o=e(5),i=e(10),c=e(1)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<u.length;a++){var s=u[a],f=r[s],l=f&&f.prototype;l&&!l[c]&&o(l,c,s),i[s]=i.Array}},function(t,n,e){"use strict";var r=e(63),o=e(64),i=e(10),c=e(18);t.exports=e(25)(Array,"Array",function(t,n){this._t=c(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,n){t.exports=function(){}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){"use strict";var r,o,i,c,u=e(26),a=e(0),s=e(8),f=e(33),l=e(4),h=e(9),p=e(11),v=e(66),d=e(67),y=e(37),m=e(38).set,_=e(69)(),g=e(22),b=e(39),w=e(40),x=a.TypeError,j=a.process,O=a.Promise,E="process"==f(j),L=function(){},P=o=g.f,k=!!function(){try{var t=O.resolve(1),n=(t.constructor={})[e(1)("species")]=function(t){t(L,L)};return(E||"function"==typeof PromiseRejectionEvent)&&t.then(L)instanceof n}catch(t){}}(),S=function(t){var n;return!(!h(t)||"function"!=typeof(n=t.then))&&n},T=function(t,n){if(!t._n){t._n=!0;var e=t._c;_(function(){for(var r=t._v,o=1==t._s,i=0;e.length>i;)!function(n){var e,i,c=o?n.ok:n.fail,u=n.resolve,a=n.reject,s=n.domain;try{c?(o||(2==t._h&&N(t),t._h=1),!0===c?e=r:(s&&s.enter(),e=c(r),s&&s.exit()),e===n.promise?a(x("Promise-chain cycle")):(i=S(e))?i.call(e,u,a):u(e)):a(r)}catch(t){a(t)}}(e[i++]);t._c=[],t._n=!1,n&&!t._h&&A(t)})}},A=function(t){m.call(a,function(){var n,e,r,o=t._v,i=M(t);if(i&&(n=b(function(){E?j.emit("unhandledRejection",o,t):(e=a.onunhandledrejection)?e({promise:t,reason:o}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=E||M(t)?2:1),t._a=void 0,i&&n.e)throw n.v})},M=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){m.call(a,function(){var n;E?j.emit("rejectionHandled",t):(n=a.onrejectionhandled)&&n({promise:t,reason:t._v})})},C=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),T(n,!0))},I=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw x("Promise can't be resolved itself");(n=S(t))?_(function(){var r={_w:e,_d:!1};try{n.call(t,s(I,r,1),s(C,r,1))}catch(t){C.call(r,t)}}):(e._v=t,e._s=1,T(e,!1))}catch(t){C.call({_w:e,_d:!1},t)}}};k||(O=function(t){v(this,O,"Promise","_h"),p(t),r.call(this);try{t(s(I,this,1),s(C,this,1))}catch(t){C.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=e(70)(O.prototype,{then:function(t,n){var e=P(y(this,O));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=E?j.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&T(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(I,t,1),this.reject=s(C,t,1)},g.f=P=function(t){return t===O||t===c?new i(t):o(t)}),l(l.G+l.W+l.F*!k,{Promise:O}),e(21)(O,"Promise"),e(71)("Promise"),c=e(2).Promise,l(l.S+l.F*!k,"Promise",{reject:function(t){var n=P(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(u||!k),"Promise",{resolve:function(t){return w(u&&this===c?O:this,t)}}),l(l.S+l.F*!(k&&e(41)(function(t){O.all(t).catch(L)})),"Promise",{all:function(t){var n=this,e=P(n),r=e.resolve,o=e.reject,i=b(function(){var e=[],i=0,c=1;d(t,!1,function(t){var u=i++,a=!1;e.push(void 0),c++,n.resolve(t).then(function(t){a||(a=!0,e[u]=t,--c||r(e))},o)}),--c||r(e)});return i.e&&o(i.v),e.promise},race:function(t){var n=this,e=P(n),r=e.reject,o=b(function(){d(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return o.e&&r(o.v),e.promise}})},function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},function(t,n,e){var r=e(8),o=e(34),i=e(35),c=e(3),u=e(19),a=e(36),s={},f={},n=t.exports=function(t,n,e,l,h){var p,v,d,y,m=h?function(){return t}:a(t),_=r(e,l,n?2:1),g=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(p=u(t.length);p>g;g++)if((y=n?_(c(v=t[g])[0],v[1]):_(t[g]))===s||y===f)return y}else for(d=m.call(t);!(v=d.next()).done;)if((y=o(d,_,v.value,n))===s||y===f)return y};n.BREAK=s,n.RETURN=f},function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},function(t,n,e){var r=e(0),o=e(38).set,i=r.MutationObserver||r.WebKitMutationObserver,c=r.process,u=r.Promise,a="process"==e(13)(c);t.exports=function(){var t,n,e,s=function(){var r,o;for(a&&(r=c.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(a)e=function(){c.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var f=u.resolve();e=function(){f.then(s)}}else e=function(){o.call(r,s)};else{var l=!0,h=document.createTextNode("");new i(s).observe(h,{characterData:!0}),e=function(){h.data=l=!l}}return function(r){var o={fn:r,next:void 0};n&&(n.next=o),t||(t=o,e()),n=o}}},function(t,n,e){var r=e(5);t.exports=function(t,n,e){for(var o in n)e&&t[o]?t[o]=n[o]:r(t,o,n[o]);return t}},function(t,n,e){"use strict";var r=e(0),o=e(2),i=e(6),c=e(7),u=e(1)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:r[t];c&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,e){"use strict";var r=e(4),o=e(2),i=e(0),c=e(37),u=e(40);r(r.P+r.R,"Promise",{finally:function(t){var n=c(this,o.Promise||i.Promise),e="function"==typeof t;return this.then(e?function(e){return u(n,t()).then(function(){return e})}:t,e?function(e){return u(n,t()).then(function(){throw e})}:t)}})},function(t,n,e){"use strict";var r=e(4),o=e(22),i=e(39);r(r.S,"Promise",{try:function(t){var n=o.f(this),e=i(t);return(e.e?n.reject:n.resolve)(e.v),n.promise}})},function(t,n,e){t.exports={default:e(75),__esModule:!0}},function(t,n,e){e(24),e(76),t.exports=e(2).Array.from},function(t,n,e){"use strict";var r=e(8),o=e(4),i=e(32),c=e(34),u=e(35),a=e(19),s=e(77),f=e(36);o(o.S+o.F*!e(41)(function(t){Array.from(t)}),"Array",{from:function(t){var n,e,o,l,h=i(t),p="function"==typeof this?this:Array,v=arguments.length,d=v>1?arguments[1]:void 0,y=void 0!==d,m=0,_=f(h);if(y&&(d=r(d,v>2?arguments[2]:void 0,2)),void 0==_||p==Array&&u(_))for(n=a(h.length),e=new p(n);n>m;m++)s(e,m,y?d(h[m],m):h[m]);else for(l=_.call(h),e=new p;!(o=l.next()).done;m++)s(e,m,y?c(l,d,[o.value,m],!0):o.value);return e.length=m,e}})},function(t,n,e){"use strict";var r=e(6),o=e(17);t.exports=function(t,n,e){n in t?r.f(t,n,o(0,e)):t[n]=e}},function(t,n,e){t.exports=e(79)},function(t,n,e){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=e(80),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},function(t,n){!function(n){"use strict";function e(t,n,e,r){var i=n&&n.prototype instanceof o?n:o,c=Object.create(i.prototype),u=new p(r||[]);return c._invoke=s(t,e,u),c}function r(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}function o(){}function i(){}function c(){}function u(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this._invoke(n,t)}})}function a(t){function n(e,o,i,c){var u=r(t[e],t,o);if("throw"!==u.type){var a=u.arg,s=a.value;return s&&"object"==typeof s&&_.call(s,"__await")?Promise.resolve(s.__await).then(function(t){n("next",t,i,c)},function(t){n("throw",t,i,c)}):Promise.resolve(s).then(function(t){a.value=t,i(a)},c)}c(u.arg)}function e(t,e){function r(){return new Promise(function(r,o){n(t,e,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=e}function s(t,n,e){var o=E;return function(i,c){if(o===P)throw new Error("Generator is already running");if(o===k){if("throw"===i)throw c;return d()}for(e.method=i,e.arg=c;;){var u=e.delegate;if(u){var a=f(u,e);if(a){if(a===S)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(o===E)throw o=k,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);o=P;var s=r(t,n,e);if("normal"===s.type){if(o=e.done?k:L,s.arg===S)continue;return{value:s.arg,done:e.done}}"throw"===s.type&&(o=k,e.method="throw",e.arg=s.arg)}}}function f(t,n){var e=t.iterator[n.method];if(e===y){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=y,f(t,n),"throw"===n.method))return S;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return S}var o=r(e,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,S;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=y),n.delegate=null,S):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,S)}function l(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function h(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function p(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(l,this),this.reset(!0)}function v(t){if(t){var n=t[b];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,r=function n(){for(;++e<t.length;)if(_.call(t,e))return n.value=t[e],n.done=!1,n;return n.value=y,n.done=!0,n};return r.next=r}}return{next:d}}function d(){return{value:y,done:!0}}var y,m=Object.prototype,_=m.hasOwnProperty,g="function"==typeof Symbol?Symbol:{},b=g.iterator||"@@iterator",w=g.asyncIterator||"@@asyncIterator",x=g.toStringTag||"@@toStringTag",j="object"==typeof t,O=n.regeneratorRuntime;if(O)return void(j&&(t.exports=O));O=n.regeneratorRuntime=j?t.exports:{},O.wrap=e;var E="suspendedStart",L="suspendedYield",P="executing",k="completed",S={},T={};T[b]=function(){return this};var A=Object.getPrototypeOf,M=A&&A(A(v([])));M&&M!==m&&_.call(M,b)&&(T=M);var N=c.prototype=o.prototype=Object.create(T);i.prototype=N.constructor=c,c.constructor=i,c[x]=i.displayName="GeneratorFunction",O.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===i||"GeneratorFunction"===(n.displayName||n.name))},O.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,x in t||(t[x]="GeneratorFunction")),t.prototype=Object.create(N),t},O.awrap=function(t){return{__await:t}},u(a.prototype),a.prototype[w]=function(){return this},O.AsyncIterator=a,O.async=function(t,n,r,o){var i=new a(e(t,n,r,o));return O.isGeneratorFunction(n)?i:i.next().then(function(t){return t.done?t.value:i.next()})},u(N),N[x]="Generator",N[b]=function(){return this},N.toString=function(){return"[object Generator]"},O.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},O.values=v,p.prototype={constructor:p,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=y,this.done=!1,this.delegate=null,this.method="next",this.arg=y,this.tryEntries.forEach(h),!t)for(var n in this)"t"===n.charAt(0)&&_.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=y)},stop:function(){this.done=!0;var t=this.tryEntries[0],n=t.completion;if("throw"===n.type)throw n.arg;return this.rval},dispatchException:function(t){function n(n,r){return i.type="throw",i.arg=t,e.next=n,r&&(e.method="next",e.arg=y),!!r}if(this.done)throw t;for(var e=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var c=_.call(o,"catchLoc"),u=_.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc<=this.prev&&_.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=n,o?(this.method="next",this.next=o.finallyLoc,S):this.complete(i)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),S},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),h(e),S}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var o=r.arg;h(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:v(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=y),S}}}(function(){return this}()||Function("return this")())},function(t,n,e){"use strict";n.__esModule=!0;var r=e(23),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(t){return function(){var n=t.apply(this,arguments);return new o.default(function(t,e){function r(i,c){try{var u=n[i](c),a=u.value}catch(t){return void e(t)}if(!u.done)return o.default.resolve(a).then(function(t){r("next",t)},function(t){r("throw",t)});t(a)}return r("next")})}}},function(t,n,e){t.exports={default:e(83),__esModule:!0}},function(t,n,e){e(84);var r=e(2).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n,e){var r=e(4);r(r.S+r.F*!e(7),"Object",{defineProperty:e(6).f})},function(t,n,e){"use strict";var r=e(86),o=e.n(r),i={labels:{tip:"Tip",info:"Info",success:"Success",warning:"Attention",alert:"Error",async:"Loading",confirm:"Confirmation required"},icons:{tip:"question-circle",info:"info-circle",success:"check-circle",warning:"exclamation-circle",alert:"warning",async:"cog fa-spin",confirm:"warning",template:{prefix:"<span><i class='fa fa-fw fa-",suffix:"'></i></span>"},enabled:!0},confirm:{successBtnLabel:"OK",cancelBtnLabel:"Cancel"},maxNotifications:10,asyncDefaultMessage:"Please, wait...",animationDuration:300,position:"bottom-right",duration:5e3};n.a=function(t){return o()(t,i)}},function(t,n,e){(function(t,e){function r(t,n){return t.set(n[0],n[1]),t}function o(t,n){return t.add(n),t}function i(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}function c(t,n){for(var e=-1,r=t?t.length:0;++e<r&&!1!==n(t[e],e,t););return t}function u(t,n){for(var e=-1,r=n.length,o=t.length;++e<r;)t[o+e]=n[e];return t}function a(t,n,e,r){var o=-1,i=t?t.length:0;for(r&&i&&(e=t[++o]);++o<i;)e=n(e,t[o],o,t);return e}function s(t,n){for(var e=-1,r=Array(t);++e<t;)r[e]=n(e);return r}function f(t,n){return null==t?void 0:t[n]}function l(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(t){}return n}function h(t){var n=-1,e=Array(t.size);return t.forEach(function(t,r){e[++n]=[r,t]}),e}function p(t,n){return function(e){return t(n(e))}}function v(t){var n=-1,e=Array(t.size);return t.forEach(function(t){e[++n]=t}),e}function d(t){var n=-1,e=t?t.length:0;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function y(){this.__data__=ne?ne(null):{}}function m(t){return this.has(t)&&delete this.__data__[t]}function _(t){var n=this.__data__;if(ne){var e=n[t];return e===Ut?void 0:e}return In.call(n,t)?n[t]:void 0}function g(t){var n=this.__data__;return ne?void 0!==n[t]:In.call(n,t)}function b(t,n){return this.__data__[t]=ne&&void 0===n?Ut:n,this}function w(t){var n=-1,e=t?t.length:0;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function x(){this.__data__=[]}function j(t){var n=this.__data__,e=V(n,t);return!(e<0||(e==n.length-1?n.pop():Hn.call(n,e,1),0))}function O(t){var n=this.__data__,e=V(n,t);return e<0?void 0:n[e][1]}function E(t){return V(this.__data__,t)>-1}function L(t,n){var e=this.__data__,r=V(e,t);return r<0?e.push([t,n]):e[r][1]=n,this}function P(t){var n=-1,e=t?t.length:0;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function k(){this.__data__={hash:new d,map:new(Qn||w),string:new d}}function S(t){return pt(this,t).delete(t)}function T(t){return pt(this,t).get(t)}function A(t){return pt(this,t).has(t)}function M(t,n){return pt(this,t).set(t,n),this}function N(t){this.__data__=new w(t)}function C(){this.__data__=new w}function I(t){return this.__data__.delete(t)}function F(t){return this.__data__.get(t)}function R(t){return this.__data__.has(t)}function D(t,n){var e=this.__data__;if(e instanceof w){var r=e.__data__;if(!Qn||r.length<Gt-1)return r.push([t,n]),this;e=this.__data__=new P(r)}return e.set(t,n),this}function B(t,n){var e=le(t)||Pt(t)?s(t.length,String):[],r=e.length,o=!!r;for(var i in t)!n&&!In.call(t,i)||o&&("length"==i||_t(i,r))||e.push(i);return e}function G(t,n,e){(void 0===e||Lt(t[n],e))&&("number"!=typeof n||void 0!==e||n in t)||(t[n]=e)}function U(t,n,e){var r=t[n];In.call(t,n)&&Lt(r,e)&&(void 0!==e||n in t)||(t[n]=e)}function V(t,n){for(var e=t.length;e--;)if(Lt(t[e][0],n))return e;return-1}function W(t,n){return t&&ft(n,Ft(n),t)}function $(t,n,e,r,o,i,u){var a;if(r&&(a=i?r(t,o,i,u):r(t)),void 0!==a)return a;if(!Mt(t))return t;var s=le(t);if(s){if(a=dt(t),!n)return st(t,a)}else{var f=fe(t),h=f==qt||f==zt;if(he(t))return nt(t,n);if(f==Jt||f==Wt||h&&!i){if(l(t))return i?t:{};if(a=yt(h?{}:t),!n)return lt(t,W(a,t))}else{if(!gn[f])return i?t:{};a=mt(t,f,$,n)}}u||(u=new N);var p=u.get(t);if(p)return p;if(u.set(t,a),!s)var v=e?ht(t):Ft(t);return c(v||t,function(o,i){v&&(i=o,o=t[i]),U(a,i,$(o,n,e,r,i,t,u))}),a}function H(t){return Mt(t)?Wn(t):{}}function q(t,n,e){var r=n(t);return le(t)?r:u(r,e(t))}function z(t){return Rn.call(t)}function K(t){return!(!Mt(t)||wt(t))&&(Tt(t)||l(t)?Dn:yn).test(Et(t))}function Y(t){return Nt(t)&&At(t.length)&&!!_n[Rn.call(t)]}function J(t){if(!xt(t))return Kn(t);var n=[];for(var e in Object(t))In.call(t,e)&&"constructor"!=e&&n.push(e);return n}function Q(t){if(!Mt(t))return Ot(t);var n=xt(t),e=[];for(var r in t)("constructor"!=r||!n&&In.call(t,r))&&e.push(r);return e}function X(t,n,e,r,o){if(t!==n){if(!le(n)&&!pe(n))var i=Q(n);c(i||n,function(c,u){if(i&&(u=c,c=n[u]),Mt(c))o||(o=new N),Z(t,n,u,e,X,r,o);else{var a=r?r(t[u],c,u+"",t,n,o):void 0;void 0===a&&(a=c),G(t,u,a)}})}}function Z(t,n,e,r,o,i,c){var u=t[e],a=n[e],s=c.get(a);if(s)return void G(t,e,s);var f=i?i(u,a,e+"",t,n,c):void 0,l=void 0===f;l&&(f=a,le(a)||pe(a)?le(u)?f=u:St(u)?f=st(u):(l=!1,f=$(a,!0)):Ct(a)||Pt(a)?Pt(u)?f=It(u):!Mt(u)||r&&Tt(u)?(l=!1,f=$(a,!0)):f=u:l=!1),l&&(c.set(a,f),o(f,a,r,i,c),c.delete(a)),G(t,e,f)}function tt(t,n){return n=Yn(void 0===n?t.length-1:n,0),function(){for(var e=arguments,r=-1,o=Yn(e.length-n,0),c=Array(o);++r<o;)c[r]=e[n+r];r=-1;for(var u=Array(n+1);++r<n;)u[r]=e[r];return u[n]=c,i(t,this,u)}}function nt(t,n){if(n)return t.slice();var e=new t.constructor(t.length);return t.copy(e),e}function et(t){var n=new t.constructor(t.byteLength);return new Un(n).set(new Un(t)),n}function rt(t,n){var e=n?et(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}function ot(t,n,e){return a(n?e(h(t),!0):h(t),r,new t.constructor)}function it(t){var n=new t.constructor(t.source,dn.exec(t));return n.lastIndex=t.lastIndex,n}function ct(t,n,e){return a(n?e(v(t),!0):v(t),o,new t.constructor)}function ut(t){return ae?Object(ae.call(t)):{}}function at(t,n){var e=n?et(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function st(t,n){var e=-1,r=t.length;for(n||(n=Array(r));++e<r;)n[e]=t[e];return n}function ft(t,n,e,r){e||(e={});for(var o=-1,i=n.length;++o<i;){var c=n[o],u=r?r(e[c],t[c],c,e,t):void 0;U(e,c,void 0===u?t[c]:u)}return e}function lt(t,n){return ft(t,se(t),n)}function ht(t){return q(t,Ft,se)}function pt(t,n){var e=t.__data__;return bt(n)?e["string"==typeof n?"string":"hash"]:e.map}function vt(t,n){var e=f(t,n);return K(e)?e:void 0}function dt(t){var n=t.length,e=t.constructor(n);return n&&"string"==typeof t[0]&&In.call(t,"index")&&(e.index=t.index,e.input=t.input),e}function yt(t){return"function"!=typeof t.constructor||xt(t)?{}:H(Vn(t))}function mt(t,n,e,r){var o=t.constructor;switch(n){case en:return et(t);case $t:case Ht:return new o(+t);case rn:return rt(t,r);case on:case cn:case un:case an:case sn:case fn:case ln:case hn:case pn:return at(t,r);case Kt:return ot(t,r,e);case Yt:case Zt:return new o(t);case Qt:return it(t);case Xt:return ct(t,r,e);case tn:return ut(t)}}function _t(t,n){return!!(n=null==n?Vt:n)&&("number"==typeof t||mn.test(t))&&t>-1&&t%1==0&&t<n}function gt(t,n,e){if(!Mt(e))return!1;var r=typeof n;return!!("number"==r?kt(e)&&_t(n,e.length):"string"==r&&n in e)&&Lt(e[n],t)}function bt(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}function wt(t){return!!Nn&&Nn in t}function xt(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||An)}function jt(t,n,e,r,o,i){return Mt(t)&&Mt(n)&&(i.set(n,t),X(t,n,void 0,jt,i),i.delete(n)),t}function Ot(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}function Et(t){if(null!=t){try{return Cn.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Lt(t,n){return t===n||t!==t&&n!==n}function Pt(t){return St(t)&&In.call(t,"callee")&&(!$n.call(t,"callee")||Rn.call(t)==Wt)}function kt(t){return null!=t&&At(t.length)&&!Tt(t)}function St(t){return Nt(t)&&kt(t)}function Tt(t){var n=Mt(t)?Rn.call(t):"";return n==qt||n==zt}function At(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Vt}function Mt(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function Nt(t){return!!t&&"object"==typeof t}function Ct(t){if(!Nt(t)||Rn.call(t)!=Jt||l(t))return!1;var n=Vn(t);if(null===n)return!0;var e=In.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&Cn.call(e)==Fn}function It(t){return ft(t,Rt(t))}function Ft(t){return kt(t)?B(t):J(t)}function Rt(t){return kt(t)?B(t,!0):Q(t)}function Dt(){return[]}function Bt(){return!1}var Gt=200,Ut="__lodash_hash_undefined__",Vt=9007199254740991,Wt="[object Arguments]",$t="[object Boolean]",Ht="[object Date]",qt="[object Function]",zt="[object GeneratorFunction]",Kt="[object Map]",Yt="[object Number]",Jt="[object Object]",Qt="[object RegExp]",Xt="[object Set]",Zt="[object String]",tn="[object Symbol]",nn="[object WeakMap]",en="[object ArrayBuffer]",rn="[object DataView]",on="[object Float32Array]",cn="[object Float64Array]",un="[object Int8Array]",an="[object Int16Array]",sn="[object Int32Array]",fn="[object Uint8Array]",ln="[object Uint8ClampedArray]",hn="[object Uint16Array]",pn="[object Uint32Array]",vn=/[\\^$.*+?()[\]{}|]/g,dn=/\w*$/,yn=/^\[object .+?Constructor\]$/,mn=/^(?:0|[1-9]\d*)$/,_n={};_n[on]=_n[cn]=_n[un]=_n[an]=_n[sn]=_n[fn]=_n[ln]=_n[hn]=_n[pn]=!0,_n[Wt]=_n["[object Array]"]=_n[en]=_n[$t]=_n[rn]=_n[Ht]=_n["[object Error]"]=_n[qt]=_n[Kt]=_n[Yt]=_n[Jt]=_n[Qt]=_n[Xt]=_n[Zt]=_n[nn]=!1;var gn={};gn[Wt]=gn["[object Array]"]=gn[en]=gn[rn]=gn[$t]=gn[Ht]=gn[on]=gn[cn]=gn[un]=gn[an]=gn[sn]=gn[Kt]=gn[Yt]=gn[Jt]=gn[Qt]=gn[Xt]=gn[Zt]=gn[tn]=gn[fn]=gn[ln]=gn[hn]=gn[pn]=!0,gn["[object Error]"]=gn[qt]=gn[nn]=!1;var bn="object"==typeof t&&t&&t.Object===Object&&t,wn="object"==typeof self&&self&&self.Object===Object&&self,xn=bn||wn||Function("return this")(),jn="object"==typeof n&&n&&!n.nodeType&&n,On=jn&&"object"==typeof e&&e&&!e.nodeType&&e,En=On&&On.exports===jn,Ln=En&&bn.process,Pn=function(){try{return Ln&&Ln.binding("util")}catch(t){}}(),kn=Pn&&Pn.isTypedArray,Sn=Array.prototype,Tn=Function.prototype,An=Object.prototype,Mn=xn["__core-js_shared__"],Nn=function(){var t=/[^.]+$/.exec(Mn&&Mn.keys&&Mn.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Cn=Tn.toString,In=An.hasOwnProperty,Fn=Cn.call(Object),Rn=An.toString,Dn=RegExp("^"+Cn.call(In).replace(vn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Bn=En?xn.Buffer:void 0,Gn=xn.Symbol,Un=xn.Uint8Array,Vn=p(Object.getPrototypeOf,Object),Wn=Object.create,$n=An.propertyIsEnumerable,Hn=Sn.splice,qn=Object.getOwnPropertySymbols,zn=Bn?Bn.isBuffer:void 0,Kn=p(Object.keys,Object),Yn=Math.max,Jn=vt(xn,"DataView"),Qn=vt(xn,"Map"),Xn=vt(xn,"Promise"),Zn=vt(xn,"Set"),te=vt(xn,"WeakMap"),ne=vt(Object,"create"),ee=Et(Jn),re=Et(Qn),oe=Et(Xn),ie=Et(Zn),ce=Et(te),ue=Gn?Gn.prototype:void 0,ae=ue?ue.valueOf:void 0;d.prototype.clear=y,d.prototype.delete=m,d.prototype.get=_,d.prototype.has=g,d.prototype.set=b,w.prototype.clear=x,w.prototype.delete=j,w.prototype.get=O,w.prototype.has=E,w.prototype.set=L,P.prototype.clear=k,P.prototype.delete=S,P.prototype.get=T,P.prototype.has=A,P.prototype.set=M,N.prototype.clear=C,N.prototype.delete=I,N.prototype.get=F,N.prototype.has=R,N.prototype.set=D;var se=qn?p(qn,Object):Dt,fe=z;(Jn&&fe(new Jn(new ArrayBuffer(1)))!=rn||Qn&&fe(new Qn)!=Kt||Xn&&"[object Promise]"!=fe(Xn.resolve())||Zn&&fe(new Zn)!=Xt||te&&fe(new te)!=nn)&&(fe=function(t){var n=Rn.call(t),e=n==Jt?t.constructor:void 0,r=e?Et(e):void 0;if(r)switch(r){case ee:return rn;case re:return Kt;case oe:return"[object Promise]";case ie:return Xt;case ce:return nn}return n});var le=Array.isArray,he=zn||Bt,pe=kn?function(t){return function(n){return t(n)}}(kn):Y,ve=tt(function(t){return t.push(void 0,jt),i(de,void 0,t)}),de=function(t){return tt(function(n,e){var r=-1,o=e.length,i=o>1?e[o-1]:void 0,c=o>2?e[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,c&&gt(e[0],e[1],c)&&(i=o<3?void 0:i,o=1),n=Object(n);++r<o;){var u=e[r];u&&t(n,u,r,i)}return n})}(function(t,n,e,r){X(t,n,e,r)});e.exports=ve}).call(n,e(87),e(88)(t))},function(t,n){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,n,e){"use strict";var r=e(42),o=e.n(r),i=e(43),c=e.n(i),u=function(){function t(n,e){o()(this,t),this.callback=n,this.remaining=e,this.resume()}return c()(t,[{key:"pause",value:function(){window.clearTimeout(this.timerId),this.remaining-=new Date-this.start}},{key:"resume",value:function(){var t=this;this.start=new Date,window.clearTimeout(this.timerId),this.timerId=window.setTimeout(function(){window.clearTimeout(t.timerId),t.callback()},this.remaining)}}]),t}();n.a=u}])})}])});
{
"name": "vue-awesome-notifications",
"version": "1.0.3",
"version": "1.0.4",
"description": "Vue.js version of Awesome Notifications JavaScript library",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc