Apps Home
|
Create an App
OriginalBattleBate
Author:
scyx17
Description
Source Code
Launch App
Current Users
Created by:
Scyx17
!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=122)}([function(t,e,n){var r=n(2),i=n(24),o=n(12),a=n(13),s=n(25),u=function(t,e,n){var c,l,f,h,d=t&u.F,p=t&u.G,v=t&u.S,m=t&u.P,g=t&u.B,y=p?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,_=p?i:i[e]||(i[e]={}),b=_.prototype||(_.prototype={});p&&(n=e);for(c in n)l=!d&&y&&void 0!==y[c],f=(l?y:n)[c],h=g&&l?s(f,r):m&&"function"==typeof f?s(Function.call,f):f,y&&a(y,c,f,t&u.U),_[c]!=f&&o(_,c,h),m&&b[c]!=f&&(b[c]=f)};r.core=i,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,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(58)("wks"),i=n(39),o=n(2).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},function(t,e,n){t.exports=!n(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(1),i=n(96),o=n(23),a=Object.defineProperty;e.f=n(6)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(30),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(19);t.exports=function(t){return Object(r(t))}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(7),i=n(29);t.exports=n(6)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(2),i=n(12),o=n(10),a=n(39)("src"),s=Function.toString,u=(""+s).split("toString");n(24).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,a)||i(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(t,e,n){var r=n(0),i=n(3),o=n(19),a=/"/g,s=function(t,e,n,r){var i=String(o(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,""")+'"'),s+">"+i+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*i(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){var r=n(47),i=n(19);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(48),i=n(29),o=n(15),a=n(23),s=n(10),u=n(96),c=Object.getOwnPropertyDescriptor;e.f=n(6)?c:function(t,e){if(t=o(t),e=a(e,!0),u)try{return c(t,e)}catch(t){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(10),i=n(9),o=n(75)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(3);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){var r=n(25),i=n(47),o=n(9),a=n(8),s=n(127);t.exports=function(t,e){var n=1==t,u=2==t,c=3==t,l=4==t,f=6==t,h=5==t||f,d=e||s;return function(e,s,p){for(var v,m,g=o(e),y=i(g),_=r(s,p,3),b=a(y.length),w=0,x=n?d(e,b):u?d(e,0):void 0;b>w;w++)if((h||w in y)&&(v=y[w],m=_(v,w,g),t))if(n)x[w]=m;else if(m)switch(t){case 3:return!0;case 5:return v;case 6:return w;case 2:x.push(v)}else if(l)return!1;return f?-1:c||l?l:x}}},function(t,e,n){var r=n(0),i=n(24),o=n(3);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(11);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(112),i=n(0),o=n(58)("metadata"),a=o.store||(o.store=new(n(115))),s=function(t,e,n){var i=a.get(t);if(!i){if(!n)return;a.set(t,i=new r)}var o=i.get(e);if(!o){if(!n)return;i.set(e,o=new r)}return o},u=function(t,e,n){var r=s(e,n,!1);return void 0!==r&&r.has(t)},c=function(t,e,n){var r=s(e,n,!1);return void 0===r?void 0:r.get(t)},l=function(t,e,n,r){s(n,r,!0).set(t,e)},f=function(t,e){var n=s(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},h=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},d=function(t){i(i.S,"Reflect",t)};t.exports={store:a,map:s,has:u,get:c,set:l,keys:f,key:h,exp:d}},function(t,e,n){"use strict";if(n(6)){var r=n(32),i=n(2),o=n(3),a=n(0),s=n(59),u=n(82),c=n(25),l=n(31),f=n(29),h=n(12),d=n(36),p=n(30),v=n(8),m=n(38),g=n(23),y=n(10),_=n(109),b=n(46),w=n(4),x=n(9),S=n(67),k=n(33),M=n(17),O=n(34).f,E=n(84),P=n(39),D=n(5),T=n(21),j=n(49),A=n(76),R=n(85),Y=n(43),F=n(55),I=n(37),C=n(60),N=n(89),L=n(7),W=n(16),U=L.f,z=W.f,G=i.RangeError,V=i.TypeError,H=i.Uint8Array,B=Array.prototype,Z=u.ArrayBuffer,q=u.DataView,J=T(0),$=T(2),K=T(3),X=T(4),Q=T(5),tt=T(6),et=j(!0),nt=j(!1),rt=R.values,it=R.keys,ot=R.entries,at=B.lastIndexOf,st=B.reduce,ut=B.reduceRight,ct=B.join,lt=B.sort,ft=B.slice,ht=B.toString,dt=B.toLocaleString,pt=D("iterator"),vt=D("toStringTag"),mt=P("typed_constructor"),gt=P("def_constructor"),yt=s.CONSTR,_t=s.TYPED,bt=s.VIEW,wt=T(1,function(t,e){return Et(A(t,t[gt]),e)}),xt=o(function(){return 1===new H(new Uint16Array([1]).buffer)[0]}),St=!!H&&!!H.prototype.set&&o(function(){new H(1).set({})}),kt=function(t,e){if(void 0===t)throw V("Wrong length!");var n=+t,r=v(t);if(e&&!_(n,r))throw G("Wrong length!");return r},Mt=function(t,e){var n=p(t);if(n<0||n%e)throw G("Wrong offset!");return n},Ot=function(t){if(w(t)&&_t in t)return t;throw V(t+" is not a typed array!")},Et=function(t,e){if(!(w(t)&&mt in t))throw V("It is not a typed array constructor!");return new t(e)},Pt=function(t,e){return Dt(A(t,t[gt]),e)},Dt=function(t,e){for(var n=0,r=e.length,i=Et(t,r);r>n;)i[n]=e[n++];return i},Tt=function(t,e,n){U(t,e,{get:function(){return this._d[n]}})},jt=function(t){var e,n,r,i,o,a,s=x(t),u=arguments.length,l=u>1?arguments[1]:void 0,f=void 0!==l,h=E(s);if(void 0!=h&&!S(h)){for(a=h.call(s),r=[],e=0;!(o=a.next()).done;e++)r.push(o.value);s=r}for(f&&u>2&&(l=c(l,arguments[2],2)),e=0,n=v(s.length),i=Et(this,n);n>e;e++)i[e]=f?l(s[e],e):s[e];return i},At=function(){for(var t=0,e=arguments.length,n=Et(this,e);e>t;)n[t]=arguments[t++];return n},Rt=!!H&&o(function(){dt.call(new H(1))}),Yt=function(){return dt.apply(Rt?ft.call(Ot(this)):Ot(this),arguments)},Ft={copyWithin:function(t,e){return N.call(Ot(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return X(Ot(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return C.apply(Ot(this),arguments)},filter:function(t){return Pt(this,$(Ot(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(Ot(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){J(Ot(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(Ot(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ct.apply(Ot(this),arguments)},lastIndexOf:function(t){return at.apply(Ot(this),arguments)},map:function(t){return wt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(Ot(this),arguments)},reduceRight:function(t){return ut.apply(Ot(this),arguments)},reverse:function(){for(var t,e=this,n=Ot(e).length,r=Math.floor(n/2),i=0;i<r;)t=e[i],e[i++]=e[--n],e[n]=t;return e},some:function(t){return K(Ot(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return lt.call(Ot(this),t)},subarray:function(t,e){var n=Ot(this),r=n.length,i=m(t,r);return new(A(n,n[gt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,v((void 0===e?r:m(e,r))-i))}},It=function(t,e){return Pt(this,ft.call(Ot(this),t,e))},Ct=function(t){Ot(this);var e=Mt(arguments[1],1),n=this.length,r=x(t),i=v(r.length),o=0;if(i+e>n)throw G("Wrong length!");for(;o<i;)this[e+o]=r[o++]},Nt={entries:function(){return ot.call(Ot(this))},keys:function(){return it.call(Ot(this))},values:function(){return rt.call(Ot(this))}},Lt=function(t,e){return w(t)&&t[_t]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Wt=function(t,e){return Lt(t,e=g(e,!0))?f(2,t[e]):z(t,e)},Ut=function(t,e,n){return!(Lt(t,e=g(e,!0))&&w(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?U(t,e,n):(t[e]=n.value,t)};yt||(W.f=Wt,L.f=Ut),a(a.S+a.F*!yt,"Object",{getOwnPropertyDescriptor:Wt,defineProperty:Ut}),o(function(){ht.call({})})&&(ht=dt=function(){return ct.call(this)});var zt=d({},Ft);d(zt,Nt),h(zt,pt,Nt.values),d(zt,{slice:It,set:Ct,constructor:function(){},toString:ht,toLocaleString:Yt}),Tt(zt,"buffer","b"),Tt(zt,"byteOffset","o"),Tt(zt,"byteLength","l"),Tt(zt,"length","e"),U(zt,vt,{get:function(){return this[_t]}}),t.exports=function(t,e,n,u){u=!!u;var c=t+(u?"Clamped":"")+"Array",f="Uint8Array"!=c,d="get"+t,p="set"+t,m=i[c],g=m||{},y=m&&M(m),_=!m||!s.ABV,x={},S=m&&m.prototype,E=function(t,n){var r=t._d;return r.v[d](n*e+r.o,xt)},P=function(t,n,r){var i=t._d;u&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[p](n*e+i.o,r,xt)},D=function(t,e){U(t,e,{get:function(){return E(this,e)},set:function(t){return P(this,e,t)},enumerable:!0})};_?(m=n(function(t,n,r,i){l(t,m,c,"_d");var o,a,s,u,f=0,d=0;if(w(n)){if(!(n instanceof Z||"ArrayBuffer"==(u=b(n))||"SharedArrayBuffer"==u))return _t in n?Dt(m,n):jt.call(m,n);o=n,d=Mt(r,e);var p=n.byteLength;if(void 0===i){if(p%e)throw G("Wrong length!");if((a=p-d)<0)throw G("Wrong length!")}else if((a=v(i)*e)+d>p)throw G("Wrong length!");s=a/e}else s=kt(n,!0),a=s*e,o=new Z(a);for(h(t,"_d",{b:o,o:d,l:a,e:s,v:new q(o)});f<s;)D(t,f++)}),S=m.prototype=k(zt),h(S,"constructor",m)):F(function(t){new m(null),new m(t)},!0)||(m=n(function(t,n,r,i){l(t,m,c);var o;return w(n)?n instanceof Z||"ArrayBuffer"==(o=b(n))||"SharedArrayBuffer"==o?void 0!==i?new g(n,Mt(r,e),i):void 0!==r?new g(n,Mt(r,e)):new g(n):_t in n?Dt(m,n):jt.call(m,n):new g(kt(n,f))}),J(y!==Function.prototype?O(g).concat(O(y)):O(g),function(t){t in m||h(m,t,g[t])}),m.prototype=S,r||(S.constructor=m));var T=S[pt],j=!!T&&("values"==T.name||void 0==T.name),A=Nt.values;h(m,mt,!0),h(S,_t,c),h(S,bt,!0),h(S,gt,m),(u?new m(1)[vt]==c:vt in S)||U(S,vt,{get:function(){return c}}),x[c]=m,a(a.G+a.W+a.F*(m!=g),x),a(a.S,c,{BYTES_PER_ELEMENT:e,from:jt,of:At}),"BYTES_PER_ELEMENT"in S||h(S,"BYTES_PER_ELEMENT",e),a(a.P,c,Ft),I(c),a(a.P+a.F*St,c,{set:Ct}),a(a.P+a.F*!j,c,Nt),a(a.P+a.F*(S.toString!=ht),c,{toString:ht}),a(a.P+a.F*o(function(){new m(1).slice()}),c,{slice:It}),a(a.P+a.F*(o(function(){return[1,2].toLocaleString()!=new m([1,2]).toLocaleString()})||!o(function(){S.toLocaleString.call([1,2])})),c,{toLocaleString:Yt}),Y[c]=j?T:A,r||j||h(S,pt,A)}}else t.exports=function(){}},function(t,e,n){var r=n(39)("meta"),i=n(4),o=n(10),a=n(7).f,s=0,u=Object.isExtensible||function(){return!0},c=!n(3)(function(){return u(Object.preventExtensions({}))}),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!u(t))return"F";if(!e)return"E";l(t)}return t[r].i},h=function(t,e){if(!o(t,r)){if(!u(t))return!0;if(!e)return!1;l(t)}return t[r].w},d=function(t){return c&&p.NEED&&u(t)&&!o(t,r)&&l(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:h,onFreeze:d}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e){t.exports=!1},function(t,e,n){var r=n(1),i=n(102),o=n(63),a=n(75)("IE_PROTO"),s=function(){},u=function(){var t,e=n(62)("iframe"),r=o.length;for(e.style.display="none",n(65).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=u(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(104),i=n(63).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(104),i=n(63);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(13);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){"use strict";var r=n(2),i=n(7),o=n(6),a=n(5)("species");t.exports=function(t){var e=r[t];o&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(30),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(5)("unscopables"),i=Array.prototype;void 0==i[r]&&n(12)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e,n){var r=n(25),i=n(98),o=n(67),a=n(1),s=n(8),u=n(84),c={},l={},e=t.exports=function(t,e,n,f,h){var d,p,v,m,g=h?function(){return t}:u(t),y=r(n,f,e?2:1),_=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(d=s(t.length);d>_;_++)if((m=e?y(a(p=t[_])[0],p[1]):y(t[_]))===c||m===l)return m}else for(v=g.call(t);!(p=v.next()).done;)if((m=i(v,y,p.value,e))===c||m===l)return m};e.BREAK=c,e.RETURN=l},function(t,e){t.exports={}},function(t,e,n){var r=n(7).f,i=n(10),o=n(5)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(0),i=n(19),o=n(3),a=n(80),s="["+a+"]",u="\u200b\x85",c=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(t,e,n){var i={},s=o(function(){return!!a[t]()||u[t]()!=u}),c=i[t]=s?e(h):a[t];n&&(i[n]=c),r(r.P+r.F*s,"String",i)},h=f.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(l,"")),t};t.exports=f},function(t,e,n){var r=n(18),i=n(5)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,n){var r=n(18);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(15),i=n(8),o=n(38);t.exports=function(t){return function(e,n,a){var s,u=r(e),c=i(u.length),l=o(a,c);if(t&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){"use strict";var r=n(2),i=n(0),o=n(13),a=n(36),s=n(28),u=n(42),c=n(31),l=n(4),f=n(3),h=n(55),d=n(44),p=n(66);t.exports=function(t,e,n,v,m,g){var y=r[t],_=y,b=m?"set":"add",w=_&&_.prototype,x={},S=function(t){var e=w[t];o(w,t,"delete"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof _&&(g||w.forEach&&!f(function(){(new _).entries().next()}))){var k=new _,M=k[b](g?{}:-0,1)!=k,O=f(function(){k.has(1)}),E=h(function(t){new _(t)}),P=!g&&f(function(){for(var t=new _,e=5;e--;)t[b](e,e);return!t.has(-0)});E||(_=e(function(e,n){c(e,_,t);var r=p(new y,e,_);return void 0!=n&&u(n,m,r[b],r),r}),_.prototype=w,w.constructor=_),(O||P)&&(S("delete"),S("has"),m&&S("get")),(P||M)&&S(b),g&&w.clear&&delete w.clear}else _=v.getConstructor(e,t,m,b),a(_.prototype,n),s.NEED=!0;return d(_,t),x[t]=_,i(i.G+i.W+i.F*(_!=y),x),g||v.setStrong(_,t,m),_}},function(t,e,n){"use strict";var r=n(12),i=n(13),o=n(3),a=n(19),s=n(5);t.exports=function(t,e,n){var u=s(t),c=n(a,u,""[t]),l=c[0],f=c[1];o(function(){var e={};return e[u]=function(){return 7},7!=""[t](e)})&&(i(String.prototype,t,l),r(RegExp.prototype,u,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)}))}},function(t,e,n){"use strict";var r=n(1);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(4),i=n(18),o=n(5)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,n){var r=n(5)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(t){}return n}},function(t,e,n){t.exports=n(32)||!n(3)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete n(2)[t]})},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(2),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,e,n){for(var r,i=n(2),o=n(12),a=n(39),s=a("typed_array"),u=a("view"),c=!(!i.ArrayBuffer||!i.DataView),l=c,f=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(r=i[h[f++]])?(o(r.prototype,s,!0),o(r.prototype,u,!0)):l=!1;t.exports={ABV:c,CONSTR:l,TYPED:s,VIEW:u}},function(t,e,n){"use strict";var r=n(9),i=n(38),o=n(8);t.exports=function(t){for(var e=r(this),n=o(e.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:i(u,n);c>s;)e[s++]=t;return e}},function(t,e,n){"use strict";var r=n(7),i=n(29);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},function(t,e,n){var r=n(4),i=n(2).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){t.exports=n(2).document&&document.documentElement},function(t,e,n){var r=n(4),i=n(74).set;t.exports=function(t,e,n){var o,a=e.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},function(t,e,n){var r=n(43),i=n(5)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){var r=n(18);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";var r=n(33),i=n(29),o=n(44),a={};n(12)(a,n(5)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){"use strict";var r=n(32),i=n(0),o=n(13),a=n(12),s=n(10),u=n(43),c=n(69),l=n(44),f=n(17),h=n(5)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,v,m,g,y){c(n,e,v);var _,b,w,x=function(t){if(!d&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},S=e+" Iterator",k="values"==m,M=!1,O=t.prototype,E=O[h]||O["@@iterator"]||m&&O[m],P=E||x(m),D=m?k?x("entries"):P:void 0,T="Array"==e?O.entries||E:E;if(T&&(w=f(T.call(new t)))!==Object.prototype&&(l(w,S,!0),r||s(w,h)||a(w,h,p)),k&&E&&"values"!==E.name&&(M=!0,P=function(){return E.call(this)}),r&&!y||!d&&!M&&O[h]||a(O,h,P),u[e]=P,u[S]=p,m)if(_={values:k?P:x("values"),keys:g?P:x("keys"),entries:D},y)for(b in _)b in O||o(O,b,_[b]);else i(i.P+i.F*(d||M),e,_);return _}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,n){var r=n(2),i=n(81).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,u="process"==n(18)(a);t.exports=function(){var t,e,n,c=function(){var r,i;for(u&&(r=a.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){a.nextTick(c)};else if(o){var l=!0,f=document.createTextNode("");new o(c).observe(f,{characterData:!0}),n=function(){f.data=l=!l}}else if(s&&s.resolve){var h=s.resolve();n=function(){h.then(c)}}else n=function(){i.call(r,c)};return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},function(t,e,n){var r=n(4),i=n(1),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(25)(Function.call,n(16).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){var r=n(58)("keys"),i=n(39);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(1),i=n(11),o=n(5)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[o])?e:i(n)}},function(t,e,n){var r=n(30),i=n(19);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(o=s.charCodeAt(u),o<55296||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):a-56320+(o-55296<<10)+65536)}}},function(t,e,n){var r=n(54),i=n(19);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},function(t,e,n){"use strict";var r=n(30),i=n(19);t.exports=function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},function(t,e,n){var r,i,o,a=n(25),s=n(53),u=n(65),c=n(62),l=n(2),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,v=0,m={},g=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},y=function(t){g.call(t.data)};h&&d||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++v]=function(){s("function"==typeof t?t:Function(t),e)},r(v),v},d=function(t){delete m[t]},"process"==n(18)(f)?r=function(t){f.nextTick(a(g,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=y,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",y,!1)):r="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:h,clear:d}},function(t,e,n){"use strict";var r=n(2),i=n(6),o=n(32),a=n(59),s=n(12),u=n(36),c=n(3),l=n(31),f=n(30),h=n(8),d=n(34).f,p=n(7).f,v=n(60),m=n(44),g=r.ArrayBuffer,y=r.DataView,_=r.Math,b=r.RangeError,w=r.Infinity,x=g,S=_.abs,k=_.pow,M=_.floor,O=_.log,E=_.LN2,P=i?"_b":"buffer",D=i?"_l":"byteLength",T=i?"_o":"byteOffset",j=function(t,e,n){var r,i,o,a=Array(n),s=8*n-e-1,u=(1<<s)-1,c=u>>1,l=23===e?k(2,-24)-k(2,-77):0,f=0,h=t<0||0===t&&1/t<0?1:0;for(t=S(t),t!=t||t===w?(i=t!=t?1:0,r=u):(r=M(O(t)/E),t*(o=k(2,-r))<1&&(r--,o*=2),t+=r+c>=1?l/o:l*k(2,1-c),t*o>=2&&(r++,o/=2),r+c>=u?(i=0,r=u):r+c>=1?(i=(t*o-1)*k(2,e),r+=c):(i=t*k(2,c-1)*k(2,e),r=0));e>=8;a[f++]=255&i,i/=256,e-=8);for(r=r<<e|i,s+=e;s>0;a[f++]=255&r,r/=256,s-=8);return a[--f]|=128*h,a},A=function(t,e,n){var r,i=8*n-e-1,o=(1<<i)-1,a=o>>1,s=i-7,u=n-1,c=t[u--],l=127&c;for(c>>=7;s>0;l=256*l+t[u],u--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=e;s>0;r=256*r+t[u],u--,s-=8);if(0===l)l=1-a;else{if(l===o)return r?NaN:c?-w:w;r+=k(2,e),l-=a}return(c?-1:1)*r*k(2,l-e)},R=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},Y=function(t){return[255&t]},F=function(t){return[255&t,t>>8&255]},I=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},C=function(t){return j(t,52,8)},N=function(t){return j(t,23,4)},L=function(t,e,n){p(t.prototype,e,{get:function(){return this[n]}})},W=function(t,e,n,r){var i=+n,o=f(i);if(i!=o||o<0||o+e>t[D])throw b("Wrong index!");var a=t[P]._b,s=o+t[T],u=a.slice(s,s+e);return r?u:u.reverse()},U=function(t,e,n,r,i,o){var a=+n,s=f(a);if(a!=s||s<0||s+e>t[D])throw b("Wrong index!");for(var u=t[P]._b,c=s+t[T],l=r(+i),h=0;h<e;h++)u[c+h]=l[o?h:e-h-1]},z=function(t,e){l(t,g,"ArrayBuffer");var n=+e,r=h(n);if(n!=r)throw b("Wrong length!");return r};if(a.ABV){if(!c(function(){new g})||!c(function(){new g(.5)})){g=function(t){return new x(z(this,t))};for(var G,V=g.prototype=x.prototype,H=d(x),B=0;H.length>B;)(G=H[B++])in g||s(g,G,x[G]);o||(V.constructor=g)}var Z=new y(new g(2)),q=y.prototype.setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||u(y.prototype,{setInt8:function(t,e){q.call(this,t,e<<24>>24)},setUint8:function(t,e){q.call(this,t,e<<24>>24)}},!0)}else g=function(t){var e=z(this,t);this._b=v.call(Array(e),0),this[D]=e},y=function(t,e,n){l(this,y,"DataView"),l(t,g,"DataView");var r=t[D],i=f(e);if(i<0||i>r)throw b("Wrong offset!");if(n=void 0===n?r-i:h(n),i+n>r)throw b("Wrong length!");this[P]=t,this[T]=i,this[D]=n},i&&(L(g,"byteLength","_l"),L(y,"buffer","_b"),L(y,"byteLength","_l"),L(y,"byteOffset","_o")),u(y.prototype,{getInt8:function(t){return W(this,1,t)[0]<<24>>24},getUint8:function(t){return W(this,1,t)[0]},getInt16:function(t){var e=W(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=W(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return R(W(this,4,t,arguments[1]))},getUint32:function(t){return R(W(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return A(W(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return A(W(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){U(this,1,t,Y,e)},setUint8:function(t,e){U(this,1,t,Y,e)},setInt16:function(t,e){U(this,2,t,F,e,arguments[2])},setUint16:function(t,e){U(this,2,t,F,e,arguments[2])},setInt32:function(t,e){U(this,4,t,I,e,arguments[2])},setUint32:function(t,e){U(this,4,t,I,e,arguments[2])},setFloat32:function(t,e){U(this,4,t,N,e,arguments[2])},setFloat64:function(t,e){U(this,8,t,C,e,arguments[2])}});m(g,"ArrayBuffer"),m(y,"DataView"),s(y.prototype,a.VIEW,!0),e.ArrayBuffer=g,e.DataView=y},function(t,e,n){var r=n(2),i=n(24),o=n(32),a=n(111),s=n(7).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){var r=n(46),i=n(5)("iterator"),o=n(43);t.exports=n(24).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){"use strict";var r=n(41),i=n(99),o=n(43),a=n(15);t.exports=n(70)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";(function(e){function r(t,e){if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0}function i(t){return e.Buffer&&"function"==typeof e.Buffer.isBuffer?e.Buffer.isBuffer(t):!(null==t||!t._isBuffer)}function o(t){return Object.prototype.toString.call(t)}function a(t){return!i(t)&&("function"==typeof e.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):!!t&&(t instanceof DataView||!!(t.buffer&&t.buffer instanceof ArrayBuffer))))}function s(t){if(b.isFunction(t)){if(S)return t.name;var e=t.toString(),n=e.match(M);return n&&n[1]}}function u(t,e){return"string"==typeof t?t.length<e?t:t.slice(0,e):t}function c(t){if(S||!b.isFunction(t))return b.inspect(t);var e=s(t);return"[Function"+(e?": "+e:"")+"]"}function l(t){return u(c(t.actual),128)+" "+t.operator+" "+u(c(t.expected),128)}function f(t,e,n,r,i){throw new k.AssertionError({message:n,actual:t,expected:e,operator:r,stackStartFunction:i})}function h(t,e){t||f(t,!0,e,"==",k.ok)}function d(t,e,n,s){if(t===e)return!0;if(i(t)&&i(e))return 0===r(t,e);if(b.isDate(t)&&b.isDate(e))return t.getTime()===e.getTime();if(b.isRegExp(t)&&b.isRegExp(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(null!==t&&"object"==typeof t||null!==e&&"object"==typeof e){if(a(t)&&a(e)&&o(t)===o(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return 0===r(new Uint8Array(t.buffer),new Uint8Array(e.buffer));if(i(t)!==i(e))return!1;s=s||{actual:[],expected:[]};var u=s.actual.indexOf(t);return-1!==u&&u===s.expected.indexOf(e)||(s.actual.push(t),s.expected.push(e),v(t,e,n,s))}return n?t===e:t==e}function p(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function v(t,e,n,r){if(null===t||void 0===t||null===e||void 0===e)return!1;if(b.isPrimitive(t)||b.isPrimitive(e))return t===e;if(n&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var i=p(t),o=p(e);if(i&&!o||!i&&o)return!1;if(i)return t=x.call(t),e=x.call(e),d(t,e,n);var a,s,u=O(t),c=O(e);if(u.length!==c.length)return!1;for(u.sort(),c.sort(),s=u.length-1;s>=0;s--)if(u[s]!==c[s])return!1;for(s=u.length-1;s>=0;s--)if(a=u[s],!d(t[a],e[a],n,r))return!1;return!0}function m(t,e,n){d(t,e,!0)&&f(t,e,n,"notDeepStrictEqual",m)}function g(t,e){if(!t||!e)return!1;if("[object RegExp]"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(t){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function y(t){var e;try{t()}catch(t){e=t}return e}function _(t,e,n,r){var i;if("function"!=typeof e)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),i=y(e),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),t&&!i&&f(i,n,"Missing expected exception"+r);var o="string"==typeof r,a=!t&&b.isError(i),s=!t&&i&&!n;if((a&&o&&g(i,n)||s)&&f(i,n,"Got unwanted exception"+r),t&&i&&n&&!g(i,n)||!t&&i)throw i}var b=n(314),w=Object.prototype.hasOwnProperty,x=Array.prototype.slice,S=function(){return"foo"===function(){}.name}(),k=t.exports=h,M=/\s*function\s+([^\(\s]*)\s*/;k.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=l(this),this.generatedMessage=!0);var e=t.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var n=new Error;if(n.stack){var r=n.stack,i=s(e),o=r.indexOf("\n"+i);if(o>=0){var a=r.indexOf("\n",o+1);r=r.substring(a+1)}this.stack=r}}},b.inherits(k.AssertionError,Error),k.fail=f,k.ok=h,k.equal=function(t,e,n){t!=e&&f(t,e,n,"==",k.equal)},k.notEqual=function(t,e,n){t==e&&f(t,e,n,"!=",k.notEqual)},k.deepEqual=function(t,e,n){d(t,e,!1)||f(t,e,n,"deepEqual",k.deepEqual)},k.deepStrictEqual=function(t,e,n){d(t,e,!0)||f(t,e,n,"deepStrictEqual",k.deepStrictEqual)},k.notDeepEqual=function(t,e,n){d(t,e,!1)&&f(t,e,n,"notDeepEqual",k.notDeepEqual)},k.notDeepStrictEqual=m,k.strictEqual=function(t,e,n){t!==e&&f(t,e,n,"===",k.strictEqual)},k.notStrictEqual=function(t,e,n){t===e&&f(t,e,n,"!==",k.notStrictEqual)},k.throws=function(t,e,n){_(!0,t,e,n)},k.doesNotThrow=function(t,e,n){_(!1,t,e,n)},k.ifError=function(t){if(t)throw t};var O=Object.keys||function(t){var e=[];for(var n in t)w.call(t,n)&&e.push(n);return e}}).call(e,n(40))},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(306),a=function(t){return t&&t.__esModule?t:{default:t}}(o),s=(new Map).set("called-shot",{name:"Called Shot",type:"preset",effect:null}).set("bardic-song",{name:"Bardic Song",type:"preset",effect:null}).set("command",{name:"Command",type:"preset",effect:null}).set("battlecry",{name:"Battlecry",type:"random",effect:null}),u=new Map;u.set("bard",{ability:s.get("bardic-song"),graphics:(new Map).set("novice","bard-novice").set("elite","bard-elite").set("legendary","bard-legendary"),damageText:function(t,e,n){return n<15?t.name+" thrusts their rapier at the "+e.name+".":n<35?t.name+" confounds the "+e.name+" with illusion magic!":n<70?t.name+" becomes invisible through magic, ambushing the "+e.name+" with a series of sword thrusts!":n<200?t.name+" uses empathy magic on "+e.name+", exploiting their lowered defenses to deadly effect!":("\n "+t.name+" shouts a magical word of power! Its mind in tatters, the "+e.name+" forgets who and where they are.\n ").trim()},critText:function(t){return t.name+" uses Bardic Song! Everyone is inspired by their performance, *especially* the model..."}}),u.set("fighter",{ability:s.get("battlecry"),graphics:(new Map).set("novice","fighter-novice").set("elite","fighter-elite").set("legendary","fighter-legendary"),damageText:function(t,e,n){return n<15?t.name+" attacks the "+e.name+" with their sword.":n<35?t.name+"'s sword bites deep into the "+e.name+"!":n<70?t.name+" vaults over the "+e.name+", then follows up with brutal sword swings!":n<200?t.name+" deflects a blow from the "+e.name+", then counter-attacks!":("\n "+t.name+" years into the "+e.name+" with incredible speed and power!\n ").trim()},critText:function(t){return"\n "+t.name+" shouts a battlecry to inspire the group!\n The model is given courage and aids the party the best way they know how to, if you catch my drift...\n "}}),u.set("ranger",{ability:s.get("called-shot"),graphics:(new Map).set("novice","ranger-novice").set("elite","ranger-elite").set("legendary","ranger-legendary"),damageText:function(t,e,n){return n<15?t.name+" strikes the "+e.name+" with an arrow from their bow.":n<35?"An arrow from "+t.name+" penetrates the "+e.name+"'s defenses!":n<70?t.name+" charges an arrow with electric energy and fires at the "+e.name+"!":n<200?t.name+" unleashes a magical hailstorm of arrows at the "+e.name+"!":("\n "+t.name+" summons elementals to fight alongside them, driving the "+e.name+" back as one!\n ").trim()},critText:function(t){return"\n "+t.name+"'s arrows land with unerring accuracy!\n The model is temporarily freed, but unintentionally left exposed...*very* exposed...\n "}}),u.set("warlock",{ability:s.get("command"),graphics:(new Map).set("novice","warlock-novice").set("elite","warlock-elite").set("legendary","warlock-legendary"),damageText:function(t,e,n){return n<15?t.name+" disrupts the "+e.name+" with a blast of eldritch energy.":n<35?t.name+" blasts the "+e.name+" back with telekinetic force!":n<70?t.name+" summons dark magical tendrils to twist and slash at the "+e.name+"!":n<200?"Hellfire bursts forth from "+t.name+" to sear the "+e.name+" with unnatural flames!":t.name+" banishes the "+e.name+" to a hellish plane, where its very soul is violated by demons!"},critText:function(t){return"\n "+t.name+" casts a mind control spell!\n ...unfortunately, the model is also brought under their dark control...huehuehuehue...\n "}});var c=250,l=function(){function t(e){r(this,t),this.name=e,this.xp=0,this.inventory=[]}return i(t,null,[{key:"setupAbility",value:function(t,e){var n=s.get(t);"bardic-song"===t&&(u.get("bard").ability=Object.assign({},n,{effect:e})),"command"===t&&(u.get("warlock").ability=Object.assign({},n,{effect:e})),"called-shot"===t&&(u.get("ranger").ability=Object.assign({},n,{effect:e}))}},{key:"setLevelUpRequirement",value:function(t){c=t}},{key:"printItems",value:function(t){var e=new Map,n=[],r=t.length?"":"(nothing)";return t.forEach(function(t){e.has(t)?e.set(t,e.get(t)+1):e.set(t,1)}),e.forEach(function(t,e){n.push(e+" (x"+t+")")}),n.length&&(r=n.join(", ")),r}}]),i(t,[{key:"changeClass",value:function(t){var e=u.get(t);return this.characterClass=t,this.ability=e.ability,this.damageText=e.damageText.bind(null,this),this.critText=e.critText.bind(null,this),this.graphics=e.graphics,this}},{key:"addItems",value:function(t){var e=this;t.forEach(function(t){return e.inventory.push(t)})}},{key:"useItem",value:function(t){var e=void 0,n=!0,r=!1,i=void 0;try{for(var o,a=this.inventory[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var s=o.value;if(s.toLowerCase()===t.toLowerCase()){e=this.inventory.indexOf(s);break}}}catch(t){r=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}return this.inventory.splice(e,1),this}},{key:"attack",value:function(t,e){for(var n={rolls:[]},r=e>=25?Math.floor(e/25):0;r;)n.rolls.push(a.default.roll(20)),r--;return t.damage(e),this.xp+=e,n}},{key:"emoji",get:function(){return this.characterClass?this.xp>=1e3?this.graphics.get("legendary"):this.xp>=500?this.graphics.get("elite"):this.graphics.get("novice"):null}},{key:"level",get:function(){return Math.ceil((this.xp+1)/c)}}]),t}();e.default=l},function(t,e,n){var r=n(18);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){"use strict";var r=n(9),i=n(38),o=n(8);t.exports=[].copyWithin||function(t,e){var n=r(this),a=o(n.length),s=i(t,a),u=i(e,a),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?a:i(c,a))-u,a-s),f=1;for(u<s&&s<u+l&&(f=-1,u+=l-1,s+=l-1);l-- >0;)u in n?n[s]=n[u]:delete n[s],s+=f,u+=f;return n}},function(t,e,n){var r=n(42);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},function(t,e,n){var r=n(11),i=n(9),o=n(47),a=n(8);t.exports=function(t,e,n,s,u){r(e);var c=i(t),l=o(c),f=a(c.length),h=u?f-1:0,d=u?-1:1;if(n<2)for(;;){if(h in l){s=l[h],h+=d;break}if(h+=d,u?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;u?h>=0:f>h;h+=d)h in l&&(s=e(s,l[h],h,c));return s}},function(t,e,n){"use strict";var r=n(11),i=n(4),o=n(53),a=[].slice,s={},u=function(t,e,n){if(!(e in s)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";s[e]=Function("F,a","return new F("+r.join(",")+")")}return s[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=a.call(arguments,1),s=function(){var r=n.concat(a.call(arguments));return this instanceof s?u(e,r.length,r):o(e,r,t)};return i(e.prototype)&&(s.prototype=e.prototype),s}},function(t,e,n){"use strict";var r=n(7).f,i=n(33),o=n(36),a=n(25),s=n(31),u=n(19),c=n(42),l=n(70),f=n(99),h=n(37),d=n(6),p=n(28).fastKey,v=d?"_s":"size",m=function(t,e){var n,r=p(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,l){var f=t(function(t,r){s(t,f,e,"_i"),t._i=i(null),t._f=void 0,t._l=void 0,t[v]=0,void 0!=r&&c(r,n,t[l],t)});return o(f.prototype,{clear:function(){for(var t=this,e=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete e[n.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var e=this,n=m(e,t);if(n){var r=n.n,i=n.p;delete e._i[n.i],n.r=!0,i&&(i.n=r),r&&(r.p=i),e._f==n&&(e._f=r),e._l==n&&(e._l=i),e[v]--}return!!n},forEach:function(t){s(this,f,"forEach");for(var e,n=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!m(this,t)}}),d&&r(f.prototype,"size",{get:function(){return u(this[v])}}),f},def:function(t,e,n){var r,i,o=m(t,e);return o?o.v=n:(t._l=o={i:i=p(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[v]++,"F"!==i&&(t._i[i]=o)),t},getEntry:m,setStrong:function(t,e,n){l(t,e,function(t,e){this._t=t,this._k=e,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?f(0,n.k):"values"==e?f(0,n.v):f(0,[n.k,n.v]):(t._t=void 0,f(1))},n?"entries":"values",!n,!0),h(e)}}},function(t,e,n){var r=n(46),i=n(90);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return i(this)}}},function(t,e,n){"use strict";var r=n(36),i=n(28).getWeak,o=n(1),a=n(4),s=n(31),u=n(42),c=n(21),l=n(10),f=c(5),h=c(6),d=0,p=function(t){return t._l||(t._l=new v)},v=function(){this.a=[]},m=function(t,e){return f(t.a,function(t){return t[0]===e})};v.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var n=m(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=h(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var c=t(function(t,r){s(t,c,e,"_i"),t._i=d++,t._l=void 0,void 0!=r&&u(r,n,t[o],t)});return r(c.prototype,{delete:function(t){if(!a(t))return!1;var e=i(t);return!0===e?p(this).delete(t):e&&l(e,this._i)&&delete e[this._i]},has:function(t){if(!a(t))return!1;var e=i(t);return!0===e?p(this).has(t):e&&l(e,this._i)}}),c},def:function(t,e,n){var r=i(o(e),!0);return!0===r?p(t).set(e,n):r[t._i]=n,t},ufstore:p}},function(t,e,n){t.exports=!n(6)&&!n(3)(function(){return 7!=Object.defineProperty(n(62)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(4),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,e,n){var r=n(1);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){"use strict";var r=n(35),i=n(57),o=n(48),a=n(9),s=n(47),u=Object.assign;t.exports=!u||n(3)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,c=1,l=i.f,f=o.f;u>c;)for(var h,d=s(arguments[c++]),p=l?r(d).concat(l(d)):r(d),v=p.length,m=0;v>m;)f.call(d,h=p[m++])&&(n[h]=d[h]);return n}:u},function(t,e,n){var r=n(7),i=n(1),o=n(35);t.exports=n(6)?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,u=0;s>u;)r.f(t,n=a[u++],e[n]);return t}},function(t,e,n){var r=n(15),i=n(34).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):i(r(t))}},function(t,e,n){var r=n(10),i=n(15),o=n(49)(!1),a=n(75)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),u=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){var r=n(35),i=n(15),o=n(48).f;t.exports=function(t){return function(e){for(var n,a=i(e),s=r(a),u=s.length,c=0,l=[];u>c;)o.call(a,n=s[c++])&&l.push(t?[n,a[n]]:a[n]);return l}}},function(t,e,n){var r=n(34),i=n(57),o=n(1),a=n(2).Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(2).parseFloat,i=n(45).trim;t.exports=1/r(n(80)+"-0")!=-1/0?function(t){var e=i(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(2).parseInt,i=n(45).trim,o=n(80),a=/^[\-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(t,e){var n=i(String(t),3);return r(n,e>>>0||(a.test(n)?16:10))}:r},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){var r=n(8),i=n(79),o=n(19);t.exports=function(t,e,n,a){var s=String(o(t)),u=s.length,c=void 0===n?" ":String(n),l=r(e);if(l<=u||""==c)return s;var f=l-u,h=i.call(c,Math.ceil(f/c.length));return h.length>f&&(h=h.slice(0,f)),a?h+s:s+h}},function(t,e,n){e.f=n(5)},function(t,e,n){"use strict";var r=n(93);t.exports=n(50)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(this,t);return e&&e.v},set:function(t,e){return r.def(this,0===t?0:t,e)}},r,!0)},function(t,e,n){n(6)&&"g"!=/./g.flags&&n(7).f(RegExp.prototype,"flags",{configurable:!0,get:n(52)})},function(t,e,n){"use strict";var r=n(93);t.exports=n(50)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(this,t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,i=n(21)(0),o=n(13),a=n(28),s=n(101),u=n(95),c=n(4),l=a.getWeak,f=Object.isExtensible,h=u.ufstore,d={},p=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(t){if(c(t)){var e=l(t);return!0===e?h(this).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(this,t,e)}},m=t.exports=n(50)("WeakMap",p,v,u,!0,!0);7!=(new m).set((Object.freeze||Object)(d),7).get(d)&&(r=u.getConstructor(p),s(r.prototype,v),a.NEED=!0,i(["delete","has","get","set"],function(t){var e=m.prototype,n=e[t];o(e,t,function(e,i){if(c(e)&&!f(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)})}))},function(t,e){function n(t,e){for(var n=-1,r=t?t.length:0,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function r(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function i(t,e){return n(e,function(e){return t[e]})}function o(t,e){var n=A(t)||f(t)?r(t.length,String):[],i=n.length,o=!!i;for(var a in t)!e&&!O.call(t,a)||o&&("length"==a||u(a,i))||n.push(a);return n}function a(t){if(!c(t))return T(t);var e=[];for(var n in Object(t))O.call(t,n)&&"constructor"!=n&&e.push(n);return e}function s(t,e){return t+D(j()*(e-t+1))}function u(t,e){return!!(e=null==e?b:e)&&("number"==typeof t||k.test(t))&&t>-1&&t%1==0&&t<e}function c(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||M)}function l(t){var e=h(t)?t:_(t),n=e.length;return n>0?e[s(0,n-1)]:void 0}function f(t){return d(t)&&O.call(t,"callee")&&(!P.call(t,"callee")||E.call(t)==w)}function h(t){return null!=t&&v(t.length)&&!p(t)}function d(t){return g(t)&&h(t)}function p(t){var e=m(t)?E.call(t):"";return e==x||e==S}function v(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=b}function m(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function g(t){return!!t&&"object"==typeof t}function y(t){return h(t)?o(t):a(t)}function _(t){return t?i(t,y(t)):[]}var b=9007199254740991,w="[object Arguments]",x="[object Function]",S="[object GeneratorFunction]",k=/^(?:0|[1-9]\d*)$/,M=Object.prototype,O=M.hasOwnProperty,E=M.toString,P=M.propertyIsEnumerable,D=Math.floor,T=function(t,e){return function(n){return t(e(n))}}(Object.keys,Object),j=Math.random,A=Array.isArray;t.exports=l},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t){var e=this.fetchPlayer(t.user),n=void 0;return n="sprite"===this.cb.settings.graphics?e.emoji?this.graphics.render(e.emoji):":: Lv. "+e.level:"icon"===this.cb.settings.graphics?e.emoji?":: Lv. "+e.level+" "+this.graphics.render(e.emoji):":: Lv. "+e.level:":: Lv. "+e.level+" "+((0,p.default)(e.characterClass)||"Adventurer"),t.m=n+" :: "+t.m,t}function a(t,e){var n=this,r=t.level,i=t.attack(this.enemy,e),o=t.level-r,a=e>=15?i.rolls.filter(function(t){return t>=18}):0;if(this.totalDamage+=e,"function"==typeof t.damageText?this.messenger.say(t.damageText(this.enemy,e)):this.messenger.say(t.name+" attacks the "+this.enemy.name+"!"),a.length&&t.characterClass){var s="preset"===t.ability.type?t.ability.effect:(0,h.default)([this.prizes.bardicSong,this.prizes.command,this.prizes.calledShot]);this.logReward(t.name,s+" (x"+a.length+")"),this.messenger.announce("\n "+t.critText()+"\n "+this.graphics.render("crit")+" "+this.graphics.render("crit")+" ( \u0361\xb0 \u035c\u0296 \u0361\xb0) Prize Awarded: "+s+" (x"+a.length+") ( \u0361\xb0 \u035c\u0296 \u0361\xb0) "+this.graphics.render("crit")+" "+this.graphics.render("crit")+"\n ")}if(o){var u=Array.from(new Array(o),function(){return(0,h.default)(n.prizes.loot)});t.addItems(u),this.messenger.announce("\n "+this.graphics.render("level-up")+" "+t.name+" has reached Level "+t.level+"! "+this.graphics.render("level-up")+"\n "+this.graphics.render("treasure")+" Items acquired by "+t.name+": "+E.default.printItems(u)+" "+this.graphics.render("treasure")+"\n "),this.messenger.alert("\n -----------------------------------------------------------------------------------------------------\n The following items have been added to your inventory:\n "+E.default.printItems(u)+".\n (Type /use item_name to use an item)\n -----------------------------------------------------------------------------------------------------\n ",t.name)}return i}function s(t){var e=void 0;e=this.players.has(t.user)?this.players.get(t.user):this.addPlayer(t.user),this.info.showWelcome(e)}function u(t){return null!==this.command.evaluate(t)?Object.assign(t,{"X-Spam":!0}):o.call(this,t)}function c(t){var e=t.from_user,n=this.fetchPlayer(e),r=this.enemy.hp;if(n.characterClass||this.info.showClasses(n),a.call(this,n,t.amount),0===this.enemy.hp){var i=1+Math.floor((t.amount-r)/this.enemy.maxHP),o=(t.amount-r)%this.enemy.maxHP;this.messenger.announce(n.name+" has slain the "+this.enemy.name+"!"),this.totalKills+=i,this.spawnEnemy(),this.enemy.damage(o)}this.cb.drawPanel()}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),f=n(116),h=r(f),d=n(308),p=r(d),v=n(307),m=n(119),g=r(m),y=n(120),_=r(y),b=n(121),w=r(b),x=n(123),S=r(x),k=n(124),M=r(k),O=n(87),E=r(O),P=function(){function t(e){i(this,t),this.cb=e,this.enemy=null,this.players=new Map,this.prizes={},this.winners=[],this.command=new g.default,this.graphics=new w.default(e),this.messenger=new M.default(e),this.info=new S.default(this.messenger,this,this.graphics),this.totalDamage=0,this.totalKills=0,this.rewardLog=[]}return l(t,[{key:"showInfo",value:function(){return this.messenger.say("Running Battlebate v"+v.version),this}},{key:"registerCommands",value:function(){var t=this;this.command.register("/class",[{name:"heroClass",type:"directive",values:["bard","fighter","ranger","warlock"]}],function(e,n,r){var i=r.heroClass,o=t.fetchPlayer(e.user);i?(o.changeClass(i),t.messenger.whisper("You have become a "+i+" - type /help for the full guide.",e.user)):t.messenger.whisper("Unknown hero class selected for /class command. Valid options are: fighter, ranger, warlock, bard.",e.user)}),this.command.register("/use",[{name:"item",type:"any",values:this.prizes.loot}],function(e,n,r){var i=t.fetchPlayer(e.user),o=r.item;o&&i.inventory.some(function(t){return t.toLowerCase()===o.toLowerCase()})?(i.useItem(o),t.logReward(i.name,o),t.messenger.announce("\n "+t.graphics.render("item")+" "+e.user+' uses an item: "'+o+'"! '+t.graphics.render("item")+"\n ")):t.messenger.whisper("\n Looks like you don't have that item in your inventory...\n Current inventory: "+E.default.printItems(i.inventory)+"\n ",e.user)}),this.command.register("/info",null,function(e){var n=t.fetchPlayer(e.user);t.info.showPlayerInfo(n)}),this.command.register("/help",[{name:"audience",type:"directive",values:["all"]}],function(e,n,r){var i=r.audience,o=t.fetchPlayer(e.user);if("all"!==i)return void t.info.showHelp(o);e.is_mod||e.user===t.cb.room_slug?t.info.showWelcome():t.messenger.whisper("Only the broadcaster or mods can do that",e.user)}),this.command.register("/classes",[{name:"audience",type:"directive",values:["all"]}],function(e,n,r){var i=r.audience,o=t.fetchPlayer(e.user);if("all"!==i)return void t.info.showClasses(o);e.is_mod||e.user===t.cb.room_slug?t.info.showClasses():t.messenger.whisper("Only the broadcaster or mods can do that",e.user)}),this.command.register("/graphics",[{name:"level",type:"directive",values:["sprite","icon","text"]}],function(e,n,r){return e.is_mod||e.user===t.cb.room_slug?null===r.level?void t.messenger.whisper("You dun goofed. Try /graphics sprite|icon|text",e.user):(t.cb.settings.graphics=r.level,void t.messenger.whisper('Graphics level has been to changed to "'+r.level+'".',e.user)):void t.messenger.whisper("Only the broadcaster or mods can do that",e.user)}),this.command.register("/goal",[{name:"amount",type:"number",values:[]}],function(e,n,r){if(!e.is_mod&&e.user!==t.cb.room_slug)return void t.messenger.whisper("Only the broadcaster or mods can do that",e.user);var i=Number(r.amount);i&&i>0?(t.totalKills=0,t.totalDamage=0,t.cb.settings.goal=i,t.spawnEnemy(),t.cb.drawPanel()):t.messenger.whisper("Choose a token amount greater than 0 (e.g. /goal 1000)",e.user)}),this.command.register("/rewards",null,function(e,n){if(!e.is_mod&&e.user!==t.cb.room_slug)return void t.messenger.whisper("Only the broadcaster or mods can do that",e.user);t.info.showRewards()})}},{key:"setReminder",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return"unused-items"===e&&setTimeout(function(){t.players.forEach(function(e,n){e.inventory.length&&t.messenger.announce("\n Your inventory: "+E.default.printItems(e.inventory)+"\n ::: Type /use item_name to expend an item (e.g. /use "+e.inventory[0]+") :::\n ",e.name)}),t.setReminder("unused-items")},18e5),"game-running"===e&&setTimeout(function(){t.messenger.announce("\n This room is running Battlebate, the Chaturbate fantasy role-playing game.\n Type /help to learn more about it.\n "),t.setReminder("game-running")},9e5),this}},{key:"spawnEnemy",value:function(){this.enemy=new _.default({hp:this.cb.settings.goal});var t=this.graphics.render(this.enemy.graphic);return this.messenger.taunt(t+"...suddenly, a vile "+this.enemy.name+" appears! Dare you challenge its might?"),this}},{key:"setupPrizes",value:function(){var t=this,e=this.cb.settings,n=Object.keys(e);return this.prizes.loot=n.filter(function(t){return/loot/.test(t)&&e[t].trim().length}).map(function(e){return t.cb.settings[e]}),this.prizes.bardicSong=e.bardic_song_effect,this.prizes.command=e.command_effect,this.prizes.calledShot=e.called_shot_target,E.default.setupAbility("bardic-song",this.prizes.bardicSong),E.default.setupAbility("command",this.prizes.command),E.default.setupAbility("called-shot",this.prizes.calledShot),this}},{key:"setupLevelUpRequirement",value:function(){var t=this.cb.settings.level_up_requirement;return E.default.setLevelUpRequirement(t),this}},{key:"addPlayer",value:function(t,e){var n=new E.default(t);return this.players.set(t,n),n}},{key:"logReward",value:function(t,e){return this.rewardLog.push({user:t,label:e,time:new Date}),this}},{key:"fetchPlayer",value:function(t){return this.players.has(t)?this.players.get(t):this.addPlayer(t)}},{key:"taunt",value:function(){var t=this,e=this.graphics.render(this.enemy.graphic),n=this.enemy.taunt(),r=(0,h.default)(["gazes at the party of adventurers and utters","regards the heroes with a hateful gaze and bellows","glares at the bold adventurers and calls out","flares up with anger and shouts","studies the humans standing before it, then exclaims"]);return setTimeout(function(){t.taunt()},24e4),this.messenger.taunt(e+" :: The "+this.enemy.name+" "+r+', "'+n+'"'),this}},{key:"start",value:function(){var t=this;return this.cb.settings_choices=[{name:"goal",label:"Token Goal (auto-repeats - update via /goal)",type:"int",minValue:1,maxValue:1e5,defaultValue:500},{name:"level_up_requirement",label:"Tokens needed to level up (random prize item)",type:"int",minValue:1,maxValue:1e5,defaultValue:150},{name:"loot_1",label:"Level-up Item #1 (required)",type:"str",defaultValue:"Magic Ball Gag"},{name:"loot_2",label:"Level-up Item #2",type:"str",defaultValue:"Scroll of Conjure Butt Plug",required:!1},{name:"loot_3",label:"Level-up Item #3",type:"str",defaultValue:"Flask of Body Oil",required:!1},{name:"bardic_song_effect",label:"Bard Critical Hit Prize (Bardic Song)",type:"str",defaultValue:"sexy dancing"},{name:"command_effect",label:"Warlock Critical Hit Prize (Command)",type:"str",defaultValue:"10 spanks or mute/gag"},{name:"called_shot_target",label:"Ranger Critical Hit Prize (Called Shot)",type:"str",defaultValue:"flash of player's choice"},{name:"graphics",label:"Graphics Level",type:"choice",choice1:"sprite",choice2:"icon",choice3:"text",defaultChoice:"icon"},{name:"show_total_tokens",label:"Show Total Tokens",type:"choice",choice1:"yes",choice2:"no",defaultChoice:"yes"}],this.setupPrizes(),this.setupLevelUpRequirement(),this.showInfo(),this.spawnEnemy(),this.taunt(),this.info.showWelcome(),this.cb.onDrawPanel(function(e){return{template:"3_rows_11_21_31",row1_value:"Lv. "+t.enemy.level+" "+(0,p.default)(t.enemy.name),row2_value:"Hitpoints \u2022 "+t.enemy.hp+" tokens until defeat",row3_value:"yes"===t.cb.settings.show_total_tokens?"Progress \u2022 "+t.totalKills+" monsters slain ("+t.totalDamage+" tokens)":"Progress \u2022 "+t.totalKills+" monsters slain"}}),this.registerCommands(),this.setReminder("unused-items"),this.setReminder("game-running"),this.cb.onTip(c.bind(this)),this.cb.onEnter(s.bind(this)),this.cb.onMessage(u.bind(this)),this}}]),t}();e.default=P},function(t,e,n){"use strict";(function(t){function e(t,e,n){t[e]||Object[r](t,e,{writable:!0,configurable:!0,value:n})}if(n(305),n(311),n(125),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;var r="defineProperty";e(String.prototype,"padLeft","".padStart),e(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(t){[][t]&&e(Array,t,Function.call.bind([][t]))})}).call(e,n(40))},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){var n=t.replace(RegExp("^"+e.pattern+"\\s*"),"").trim(),r=e.params,i={},o=!0,a=!1,s=void 0;try{for(var u,l=r[Symbol.iterator]();!(o=(u=l.next()).done);o=!0){var f=u.value,h=c.get(f.type);if(h.test(n)){var d=n.match(h)[0];i[f.name]=!f.values.length||~f.values.indexOf(d)?d:null}else i[f.name]=null}}catch(t){a=!0,s=t}finally{try{!o&&l.return&&l.return()}finally{if(a)throw s}}return i}function o(t,e){var n="^"+e.pattern+"\\b\\s*";return RegExp(n).test(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.ERROR_INVALID_PARAMS=e.ERROR_INVALID_PATTERN=e.default=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(86),u=function(t){return t&&t.__esModule?t:{default:t}}(s),c=(new Map).set("any",/.*/).set("directive",/^\w+/).set("string",/(?!^").+(?=")/).set("assignment",/(?!^\w+\s*=\s*)\w+$/).set("number",/^\d+/),l=function(){function t(){r(this,t),this.registry=new Map}return a(t,[{key:"evaluate",value:function(t){var e=null,n=!0,r=!1,a=void 0;try{for(var s,u=this.registry.values()[Symbol.iterator]();!(n=(s=u.next()).done);n=!0){var c=s.value;if(o(t.m,c)){var l=c.params?i(t.m,c):null;e=c.callback(t,c,l);break}}}catch(t){r=!0,a=t}finally{try{!n&&u.return&&u.return()}finally{if(r)throw a}}return e}},{key:"register",value:function(t,e,n){return(0,u.default)(t.constructor===String,"Invalid `pattern` argument for Command#register: "+JSON.stringify(t)),e&&(0,u.default)(e.constructor===Array,"Invalid `params` argument for Command#register: "+JSON.stringify(e)),this.registry.set(t,{pattern:t,params:e,callback:n}),this}}]),t}();e.default=l,e.ERROR_INVALID_PATTERN="Invalid `pattern` argument for Command#register",e.ERROR_INVALID_PARAMS="Invalid `params` argument for Command#register"},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t){var e=void 0;return e=t<1e3?c.get("weak"):t>=1e3&&t<=2e3?c.get("strong"):c.get("epic"),(0,s.default)(e)}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(116),s=function(t){return t&&t.__esModule?t:{default:t}}(a),u=(new Map).set("fiery",["I am destruction incarnate!","I must...destroy!","All shall burn!","Your ashes will litter the battlefield!","You will all be reduced to cinders!","You burn well."]).set("slow",["The ground...trembles...with every step...","Must...obliterate!","Back, creatures...!","Inexorable...vengeance...","I will leave devastation...in my wake...","You must be culled...","I will tear down...what you have built...","I will not...be turned aside...!"]).set("gruff",["I break you!","Gonna clobber da whole lot of ya!","Time to bust some skulls!","Lemme at 'em!","Stand still so I can kill ya!","Time for killin'!"]).set("ghastly",["I walk again...","Good...more walking sacrifices...","All...shall...perish!","More souls to feast upon!","Yes...fight! It will make your souls all the sweeeter...","Your cries for pity will not move me...","Do not die too easily...I want you to suffer...","Ah...a fresh crop of victims...","You are wise to fear the dead...","Let the living tremble before the dead..."]).set("warrior",["Pathetic fools!","I will tear you limb from limb!","Can you weaklings not fight any better?!","You will be broken!","I will have last blood!","Who dies first?!"]),c=(new Map).set("weak",[{name:"ghost",graphic:"ghost",speech:"ghastly"},{name:"lizardman",graphic:"lizardman",speech:"gruff"},{name:"skeleton archer",graphic:"skeleton-archer",speech:"warrior"},{name:"skeleton swordsman",graphic:"skeleton-swordsman",speech:"warrior"}]).set("strong",[{name:"fire elemental",graphic:"fire-elemental",speech:"fiery"},{name:"half-dragon",graphic:"half-dragon",speech:"warrior"},{name:"myrmidon",graphic:"myrmidon",speech:"warrior"},{name:"ogre",graphic:"ogre",speech:"gruff"},{name:"orc chieftain",graphic:"orc-chieftain",speech:"gruff"},{name:"troll",graphic:"troll",speech:"gruff"},{name:"wraith",graphic:"wraith",speech:"ghastly"}]).set("epic",[{name:"ancient dragon",graphic:"ancient-dragon",speech:"fiery"},{name:"awakened tree",graphic:"awakened-tree",speech:"slow"},{name:"draugr",graphic:"draugr",speech:"ghastly"},{name:"lich",graphic:"lich",speech:"ghastly"},{name:"undead dragon",graphic:"undead-dragon",speech:"ghastly"}]),l=function(){function t(e){r(this,t);var n=i(e.hp);this.name=n.name,this.graphic=n.graphic,this.hp=e.hp,this.maxHP=e.hp,this.taunts=u.get(n.speech)}return o(t,[{key:"damage",value:function(t){return this.hp-=t,this.hp<0&&(this.hp=0),this}},{key:"taunt",value:function(){return(0,s.default)(this.taunts)}},{key:"level",get:function(){var t=Math.floor(this.maxHP/100/1.5)||1;return t>20?20:t}}]),t}();e.default=l},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.ERROR_UKNOWN_GRAPHIC=void 0;var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(86),a=function(t){return t&&t.__esModule?t:{default:t}}(o),s=(new Map).set("logo",{sprite:":battlebate_logo",icon:":battlebate_logo",text:null}).set("bullet",{sprite:":battlebate_sword",icon:":battlebate_sword",text:"*"}).set("item",{sprite:":battlebate_item",icon:":battlebate_item",text:null}).set("treasure",{sprite:":battlebate_treasure",icon:":battlebate_treasure",text:null}).set("crit",{sprite:":battlebate_crit",icon:":battlebate_crit",text:"***"}).set("level-up",{sprite:":battlebate_level_up",icon:":battlebate_level_up",text:null}).set("ghost",{sprite:":battlebate_ghost",icon:null,text:null}).set("skeleton-swordsman",{sprite:":battlebate_skeleton_swordsman",icon:null,text:null}).set("skeleton-archer",{sprite:":battlebate_skeleton_archer",icon:null,text:null}).set("lizardman",{sprite:":battlebate_lizardman",icon:null,text:null}).set("fire-elemental",{sprite:":battlebate_fire_elemental",icon:null,text:null}).set("half-dragon",{sprite:":battlebate_half_dragon",icon:null,text:null}).set("myrmidon",{sprite:":battlebate_myrmidon",icon:null,text:null}).set("ogre",{sprite:":battlebate_ogre",icon:null,text:null}).set("orc-chieftain",{sprite:":battlebate_orc_chieftain",icon:null,text:null}).set("troll",{sprite:":battlebate_troll",icon:null,text:null}).set("wraith",{sprite:":battlebate_wraith",icon:null,text:null}).set("ancient-dragon",{sprite:":battlebate_ancient_dragon",icon:null,text:null}).set("awakened-tree",{sprite:":battlebate_awakened_tree",icon:null,text:null}).set("draugr",{sprite:":battlebate_draugr",icon:null,text:null}).set("lich",{sprite:":battlebate_lich",icon:null,text:null}).set("undead-dragon",{sprite:":battlebate_undead_dragon",icon:null,text:null}).set("bard-novice",{sprite:":battlebate_bard_novice",icon:":battlebate_bard_icon",text:null}).set("bard-elite",{sprite:":battlebate_bard_elite",icon:":battlebate_bard_icon",text:null}).set("bard-legendary",{sprite:":battlebate_bard_legendary",icon:":battlebate_bard_icon",text:null}).set("fighter-novice",{sprite:":battlebate_fighter_novice",icon:":battlebate_fighter_icon",text:null}).set("fighter-elite",{sprite:":battlebate_fighter_elite",icon:":battlebate_fighter_icon",text:null}).set("fighter-legendary",{sprite:":battlebate_fighter_legendary",icon:":battlebate_fighter_icon",text:null}).set("ranger-novice",{sprite:":battlebate_ranger_novice",icon:":battlebate_ranger_icon",text:null}).set("ranger-elite",{sprite:":battlebate_ranger_elite",icon:":battlebate_ranger_icon",text:null}).set("ranger-legendary",{sprite:":battlebate_ranger_legendary",icon:":battlebate_ranger_icon",text:null}).set("warlock-novice",{sprite:":battlebate_warlock_novice",icon:":battlebate_warlock_icon",text:null}).set("warlock-elite",{sprite:":battlebate_warlock_elite",icon:":battlebate_warlock_icon",text:null}).set("warlock-legendary",{sprite:":battlebate_warlock_legendary",icon:":battlebate_warlock_icon",text:null}),u=function(){function t(e){r(this,t),this.cb=e,this.library=s}return i(t,[{key:"render",value:function(t){return(0,a.default)(s.has(t),'Unknown graphic specified for `Graphics#render`: "'+t+'"'),s.get(t)[this.cb.settings.graphics]||""}}]),t}();e.ERROR_UKNOWN_GRAPHIC="Unknown graphic specified for `Graphics#render`",e.default=u},function(t,e,n){"use strict";(function(t){n(118);var e=n(117);new(function(t){return t&&t.__esModule?t:{default:t}}(e).default)(t.cb).start()}).call(e,n(40))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0}),e.HELP=e.REWARDS=e.PLAYER_INFO=e.CLASS_INFO=e.WELCOME=void 0;var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(309),s=r(a),u=n(87),c=r(u),l=function(t,e){return("\n -----------------------------------------------------------------------------------------------------\n "+e.render("logo")+" Battlebate - The Chaturbate Role-Playing Game "+e.render("logo")+"\n -----------------------------------------------------------------------------------------------------\n "+e.render("bullet")+" Tip to attack the monster and help save the model.\n "+e.render("bullet")+" Whenever you tip 25+, you may land a Critical Hit and win a free prize. More tokens = better odds.\n "+e.render("bullet")+" As you tip (attack), you gain experience points (XP) and will level up every "+t.cb.settings.level_up_requirement+" tokens.\n "+e.render("bullet")+" Leveling up gains you free prize items to use and a higher Critical Hit chance.\n -----------------------------------------------------------------------------------------------------\n ::: Use the /class command to pick a hero class and win special prizes!\n -----------------------------------------------------------------------------------------------------\n "+e.render("ranger-novice")+" /class ranger - Become a precision hunter.................................Chance to win: "+t.prizes.calledShot+"\n "+e.render("bard-novice")+" /class bard - Wield music as your magic.................................Chance to win: "+t.prizes.bardicSong+"\n "+e.render("warlock-novice")+" /class warlock - Dominate minds and souls...............................Chance to win: "+t.prizes.command+"\n "+e.render("fighter-novice")+" /class fighter - Master all forms of combat..................................Chance to win: [any of the above]\n ").trim()},f=function(t){return("\n Class: "+(t.characterClass||"None")+"\n Level: "+t.level+"\n XP: "+t.xp+"\n Inventory: "+c.default.printItems(t.inventory)+"\n ").trim()},h=function(t){var e=(0,s.default)(),n=t.rewardLog.filter(function(t){return e.diff(t.time,"hours")<=1}).slice(-15).reverse(),r=n.map(function(t){return"* "+t.label+" - "+t.user+" ("+(0,s.default)(t.time).fromNow()+")"}).join("\n");return("\n ::: Recently won prizes and expended items :::\n "+(r.length?r:"(not a damn thing)")+"\n ").trim()},d=function(t,e){return("\n -----------------------------------------------------------------------------------------------------\n ::: Use the /class command to pick a hero class and win special prizes!\n -----------------------------------------------------------------------------------------------------\n "+e.render("ranger-novice")+" /class ranger - Become a precision hunter.................................Chance to win: "+t.prizes.calledShot+"\n "+e.render("bard-novice")+" /class bard - Wield music as your magic.................................Chance to win: "+t.prizes.bardicSong+"\n "+e.render("warlock-novice")+" /class warlock - Dominate minds and souls...............................Chance to win: "+t.prizes.command+"\n "+e.render("fighter-novice")+" /class fighter - Master all forms of combat..................................Chance to win: [any of the above]\n ").trim()},p=function(t){return("\n -----------------------------------------------------------------------------------------------------\n ::: How to Play Battlebate :::\n -----------------------------------------------------------------------------------------------------\n 1. Pick a hero class/role: Type /class bard|fighter|ranger|warlock.\n 2. Tip as usual to attack the monster and deal damage.\n 3. The more you tip, the better your chances of winning a special prize (aka Critical Hit).\n 4. Level up for every "+t.cb.settings.level_up_requirement+" tokens you spend, gaining a special prize item you can use whenever.\n -----------------------------------------------------------------------------------------------------\n ::: Chat Commands :::\n -----------------------------------------------------------------------------------------------------\n * /use [item]...................Use an item in your inventory, e.g. /use flask of body oil\n * /class [name]..............Change to hero class with the given name, e.g. /class ranger\n * /info.............................Show player character info\n * /help............................Show this help menu\n * /help all........................Show everyone help menu (mods and model only)\n * /classes.........................Show info about the different hero classes\n * /classes all.....................Show everyone info about the different hero classes (mods and model only)\n -----------------------------------------------------------------------------------------------------\n ::: Broadcaster + Mod Commands :::\n * /goal [amount]...............Start a goal of the specified amount of tokens, e.g. /goal 1000\n * /rewards.....................Show recently won prizes and used items\n * /graphics [level]............Change the graphics level (sprite, icon, or text)\n -----------------------------------------------------------------------------------------------------\n ::: Hero Classes :::\n -----------------------------------------------------------------------------------------------------\n /class ranger - Become a precision hunter..............................Chance to win: "+t.prizes.calledShot+"\n /class bard - Wield music as your magic.................................Chance to win: "+t.prizes.bardicSong+"\n /class warlock - Dominate the minds and souls of others.....Chance to win: "+t.prizes.command+"\n /class fighter - Master all forms of combat..............................Chance to win: [any of the above]\n ").trim()},v=function(){function t(e,n,r){i(this,t),this.messenger=e,this.game=n,this.graphics=r}return o(t,[{key:"showWelcome",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.messenger.announce(l.call(null,this.game,this.graphics),t.name),this}},{key:"showPlayerInfo",value:function(t){var e=f.call(null,t);return this.messenger.whisper(e,t.name),this}},{key:"showRewards",value:function(){return this.messenger.announce(h.call(null,this.game)),this}},{key:"showClasses",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.messenger.announce(d.call(null,this.game,this.graphics),t.name),this}},{key:"showHelp",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.messenger.say(p.call(null,this.game),t.name),this}}]),t}();e.WELCOME=l,e.CLASS_INFO=d,e.PLAYER_INFO=f,e.REWARDS=h,e.HELP=p,e.default=v},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=(new Map).set("announce-foreground","#34415e").set("say-foreground","#007FAA").set("alert-foreground","#FF6347").set("taunt-foreground","#870C25").set("whisper-foreground","#DB0A5B").set("body","#1C2833"),a=function(){function t(e){r(this,t),this.cb=e}return i(t,[{key:"whisper",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=o.get("whisper-foreground");return this.cb.sendNotice(t.trim(),e,null,n,"bold"),this}},{key:"say",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.cb.sendNotice(t.trim(),e,null,o.get("say-foreground"),"bold"),this}},{key:"alert",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.cb.sendNotice(t.trim(),e,null,o.get("alert-foreground"),"bold"),this}},{key:"announce",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.cb.sendNotice(t.trim(),e,null,o.get("announce-foreground"),"bold"),this}},{key:"taunt",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.cb.sendNotice(t.trim(),e,null,o.get("taunt-foreground"),"bold"),this}}]),t}();e.default=a,e.colors=o},function(t,e,n){n(134),t.exports=n(24).RegExp.escape},function(t,e,n){var r=n(4),i=n(68),o=n(5)("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var r=n(126);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){"use strict";var r=n(1),i=n(23);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),"number"!=t)}},function(t,e,n){var r=n(35),i=n(57),o=n(48);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var a,s=n(t),u=o.f,c=0;s.length>c;)u.call(t,a=s[c++])&&e.push(a);return e}},function(t,e,n){var r=n(35),i=n(15);t.exports=function(t,e){for(var n,o=i(t),a=r(o),s=a.length,u=0;s>u;)if(o[n=a[u++]]===e)return n}},function(t,e,n){"use strict";var r=n(132),i=n(53),o=n(11);t.exports=function(){for(var t=o(this),e=arguments.length,n=Array(e),a=0,s=r._,u=!1;e>a;)(n[a]=arguments[a++])===s&&(u=!0);return function(){var r,o=this,a=arguments.length,c=0,l=0;if(!u&&!a)return i(t,n,o);if(r=n.slice(),u)for(;e>c;c++)r[c]===s&&(r[c]=arguments[l++]);for(;a>l;)r.push(arguments[l++]);return i(t,r,o)}}},function(t,e,n){t.exports=n(2)},function(t,e){t.exports=function(t,e){var n=e===Object(e)?function(t){return e[t]}:e;return function(e){return String(e).replace(t,n)}}},function(t,e,n){var r=n(0),i=n(133)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(t){return i(t)}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(89)}),n(41)("copyWithin")},function(t,e,n){"use strict";var r=n(0),i=n(21)(4);r(r.P+r.F*!n(20)([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(60)}),n(41)("fill")},function(t,e,n){"use strict";var r=n(0),i=n(21)(2);r(r.P+r.F*!n(20)([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(21)(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(41)(o)},function(t,e,n){"use strict";var r=n(0),i=n(21)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),r(r.P+r.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(41)("find")},function(t,e,n){"use strict";var r=n(0),i=n(21)(0),o=n(20)([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(25),i=n(0),o=n(9),a=n(98),s=n(67),u=n(8),c=n(61),l=n(84);i(i.S+i.F*!n(55)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,i,f,h=o(t),d="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,m=void 0!==v,g=0,y=l(h);if(m&&(v=r(v,p>2?arguments[2]:void 0,2)),void 0==y||d==Array&&s(y))for(e=u(h.length),n=new d(e);e>g;g++)c(n,g,m?v(h[g],g):h[g]);else for(f=y.call(h),n=new d;!(i=f.next()).done;g++)c(n,g,m?a(f,v,[i.value,g],!0):i.value);return n.length=g,n}})},function(t,e,n){"use strict";var r=n(0),i=n(49)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(20)(o)),"Array",{indexOf:function(t){return a?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(68)})},function(t,e,n){"use strict";var r=n(0),i=n(15),o=[].join;r(r.P+r.F*(n(47)!=Object||!n(20)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),i=n(15),o=n(30),a=n(8),s=[].lastIndexOf,u=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(u||!n(20)(s)),"Array",{lastIndexOf:function(t){if(u)return s.apply(this,arguments)||0;var e=i(this),n=a(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){"use strict";var r=n(0),i=n(21)(1);r(r.P+r.F*!n(20)([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(61);r(r.S+r.F*n(3)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(0),i=n(91);r(r.P+r.F*!n(20)([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){"use strict";var r=n(0),i=n(91);r(r.P+r.F*!n(20)([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){"use strict";var r=n(0),i=n(65),o=n(18),a=n(38),s=n(8),u=[].slice;r(r.P+r.F*n(3)(function(){i&&u.call(i)}),"Array",{slice:function(t,e){var n=s(this.length),r=o(this);if(e=void 0===e?n:e,"Array"==r)return u.call(this,t,e);for(var i=a(t,n),c=a(e,n),l=s(c-i),f=Array(l),h=0;h<l;h++)f[h]="String"==r?this.charAt(i+h):this[i+h];return f}})},function(t,e,n){"use strict";var r=n(0),i=n(21)(3);r(r.P+r.F*!n(20)([].some,!0),"Array",{some:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(11),o=n(9),a=n(3),s=[].sort,u=[1,2,3];r(r.P+r.F*(a(function(){u.sort(void 0)})||!a(function(){u.sort(null)})||!n(20)(s)),"Array",{sort:function(t){return void 0===t?s.call(o(this)):s.call(o(this),i(t))}})},function(t,e,n){n(37)("Array")},function(t,e,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r=n(0),i=n(3),o=Date.prototype.getTime,a=function(t){return t>9?t:"0"+t};r(r.P+r.F*(i(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!i(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}})},function(t,e,n){"use strict";var r=n(0),i=n(9),o=n(23);r(r.P+r.F*n(3)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(5)("toPrimitive"),i=Date.prototype;r in i||n(12)(i,r,n(128))},function(t,e,n){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(13)(r,"toString",function(){var t=o.call(this);return t===t?i.call(this):"Invalid Date"})},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(92)})},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(5)("hasInstance"),a=Function.prototype;o in a||n(7).f(a,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(7).f,i=n(29),o=n(10),a=Function.prototype,s=/^\s*function ([^ (]*)/,u=Object.isExtensible||function(){return!0};"name"in a||n(6)&&r(a,"name",{configurable:!0,get:function(){try{var t=this,e=(""+t).match(s)[1];return o(t,"name")||!u(t)||r(t,"name",i(5,e)),e}catch(t){return""}}})},function(t,e,n){var r=n(0),i=n(100),o=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,e,n){function r(t){return isFinite(t=+t)&&0!=t?t<0?-r(-t):Math.log(t+Math.sqrt(t*t+1)):t}var i=n(0),o=Math.asinh;i(i.S+i.F*!(o&&1/o(0)>0),"Math",{asinh:r})},function(t,e,n){var r=n(0),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),i=n(72);r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(0),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,e,n){var r=n(0),i=n(71);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,e,n){var r=n(0),i=n(72),o=Math.pow,a=o(2,-52),s=o(2,-23),u=o(2,127)*(2-s),c=o(2,-126),l=function(t){return t+1/a-1/a};r(r.S,"Math",{fround:function(t){var e,n,r=Math.abs(t),o=i(t);return r<c?o*l(r/c/s)*c*s:(e=(1+s/a)*r,n=e-(e-r),n>u||n!=n?o*(1/0):o*n)}})},function(t,e,n){var r=n(0),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,o=0,a=0,s=arguments.length,u=0;a<s;)n=i(arguments[a++]),u<n?(r=u/n,o=o*r*r+1,u=n):n>0?(r=n/u,o+=r*r):o+=n;return u===1/0?1/0:u*Math.sqrt(o)}})},function(t,e,n){var r=n(0),i=Math.imul;r(r.S+r.F*n(3)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(t,e){var n=+t,r=+e,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)/Math.LN10}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(100)})},function(t,e,n){var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(72)})},function(t,e,n){var r=n(0),i=n(71),o=Math.exp;r(r.S+r.F*n(3)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),i=n(71),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){"use strict";var r=n(2),i=n(10),o=n(18),a=n(66),s=n(23),u=n(3),c=n(34).f,l=n(16).f,f=n(7).f,h=n(45).trim,d=r.Number,p=d,v=d.prototype,m="Number"==o(n(33)(v)),g="trim"in String.prototype,y=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){e=g?e.trim():h(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var a,u=e.slice(2),c=0,l=u.length;c<l;c++)if((a=u.charCodeAt(c))<48||a>i)return NaN;return parseInt(u,r)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof d&&(m?u(function(){v.valueOf.call(n)}):"Number"!=o(n))?a(new p(y(e)),n,d):y(e)};for(var _,b=n(6)?c(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;b.length>w;w++)i(p,_=b[w])&&!i(d,_)&&f(d,_,l(p,_));d.prototype=v,v.constructor=d,n(13)(r,"Number",d)}},function(t,e,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),i=n(2).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(97)})},function(t,e,n){var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),i=n(97),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,e,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),i=n(107);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,e,n){var r=n(0),i=n(108);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,e,n){"use strict";var r=n(0),i=n(30),o=n(88),a=n(79),s=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",f=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*c[n],c[n]=r%1e7,r=u(r/1e7)},h=function(t){for(var e=6,n=0;--e>=0;)n+=c[e],c[e]=u(n/t),n=n%t*1e7},d=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==c[t]){var n=String(c[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e},p=function(t,e,n){return 0===e?n:e%2==1?p(t,e-1,n*t):p(t*t,e/2,n)},v=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(3)(function(){s.call({})})),"Number",{toFixed:function(t){var e,n,r,s,u=o(this,l),c=i(t),m="",g="0";if(c<0||c>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(m="-",u=-u),u>1e-21)if(e=v(u*p(2,69,1))-69,n=e<0?u*p(2,-e,1):u/p(2,e,1),n*=4503599627370496,(e=52-e)>0){for(f(0,n),r=c;r>=7;)f(1e7,0),r-=7;for(f(p(10,r,1),0),r=e-1;r>=23;)h(1<<23),r-=23;h(1<<r),f(1,1),h(2),g=d()}else f(0,n),f(1<<-e,0),g=d()+a.call("0",c);return c>0?(s=g.length,g=m+(s<=c?"0."+a.call("0",c-s)+g:g.slice(0,s-c)+"."+g.slice(s-c))):g=m+g,g}})},function(t,e,n){"use strict";var r=n(0),i=n(3),o=n(88),a=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==a.call(1,void 0)})||!i(function(){a.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(101)})},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(33)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(6),"Object",{defineProperties:n(102)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(6),"Object",{defineProperty:n(7).f})},function(t,e,n){var r=n(4),i=n(28).onFreeze;n(22)("freeze",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(15),i=n(16).f;n(22)("getOwnPropertyDescriptor",function(){return function(t,e){return i(r(t),e)}})},function(t,e,n){n(22)("getOwnPropertyNames",function(){return n(103).f})},function(t,e,n){var r=n(9),i=n(17);n(22)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(4);n(22)("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},function(t,e,n){var r=n(4);n(22)("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(4);n(22)("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(109)})},function(t,e,n){var r=n(9),i=n(35);n(22)("keys",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(4),i=n(28).onFreeze;n(22)("preventExtensions",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(4),i=n(28).onFreeze;n(22)("seal",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(74).set})},function(t,e,n){"use strict";var r=n(46),i={};i[n(5)("toStringTag")]="z",i+""!="[object z]"&&n(13)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){var r=n(0),i=n(107);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(t,e,n){var r=n(0),i=n(108);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(t,e,n){"use strict";var r,i,o,a=n(32),s=n(2),u=n(25),c=n(46),l=n(0),f=n(4),h=n(11),d=n(31),p=n(42),v=n(76),m=n(81).set,g=n(73)(),y=s.TypeError,_=s.process,b=s.Promise,_=s.process,w="process"==c(_),x=function(){},S=!!function(){try{var t=b.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(x,x)};return(w||"function"==typeof PromiseRejectionEvent)&&t.then(x)instanceof e}catch(t){}}(),k=function(t,e){return t===e||t===b&&e===o},M=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},O=function(t){return k(b,t)?new E(t):new i(t)},E=i=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw y("Bad Promise constructor");e=t,n=r}),this.resolve=h(e),this.reject=h(n)},P=function(t){try{t()}catch(t){return{error:t}}},D=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,a=i?e.ok:e.fail,s=e.resolve,u=e.reject,c=e.domain;try{a?(i||(2==t._h&&A(t),t._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===e.promise?u(y("Promise-chain cycle")):(o=M(n))?o.call(n,s,u):s(n)):u(r)}catch(t){u(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&T(t)})}},T=function(t){m.call(s,function(){var e,n,r,i=t._v;if(j(t)&&(e=P(function(){w?_.emit("unhandledRejection",i,t):(n=s.onunhandledrejection)?n({promise:t,reason:i}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=w||j(t)?2:1),t._a=void 0,e)throw e.error})},j=function(t){if(1==t._h)return!1;for(var e,n=t._a||t._c,r=0;n.length>r;)if(e=n[r++],e.fail||!j(e.promise))return!1;return!0},A=function(t){m.call(s,function(){var e;w?_.emit("rejectionHandled",t):(e=s.onrejectionhandled)&&e({promise:t,reason:t._v})})},R=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),D(e,!0))},Y=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw y("Promise can't be resolved itself");(e=M(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,u(Y,r,1),u(R,r,1))}catch(t){R.call(r,t)}}):(n._v=t,n._s=1,D(n,!1))}catch(t){R.call({_w:n,_d:!1},t)}}};S||(b=function(t){d(this,b,"Promise","_h"),h(t),r.call(this);try{t(u(Y,this,1),u(R,this,1))}catch(t){R.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=n(36)(b.prototype,{then:function(t,e){var n=O(v(this,b));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=w?_.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),E=function(){var t=new r;this.promise=t,this.resolve=u(Y,t,1),this.reject=u(R,t,1)}),l(l.G+l.W+l.F*!S,{Promise:b}),n(44)(b,"Promise"),n(37)("Promise"),o=n(24).Promise,l(l.S+l.F*!S,"Promise",{reject:function(t){var e=O(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(a||!S),"Promise",{resolve:function(t){if(t instanceof b&&k(t.constructor,this))return t;var e=O(this);return(0,e.resolve)(t),e.promise}}),l(l.S+l.F*!(S&&n(55)(function(t){b.all(t).catch(x)})),"Promise",{all:function(t){var e=this,n=O(e),r=n.resolve,i=n.reject,o=P(function(){var n=[],o=0,a=1;p(t,!1,function(t){var s=o++,u=!1;n.push(void 0),a++,e.resolve(t).then(function(t){u||(u=!0,n[s]=t,--a||r(n))},i)}),--a||r(n)});return o&&i(o.error),n.promise},race:function(t){var e=this,n=O(e),r=n.reject,i=P(function(){p(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i&&r(i.error),n.promise}})},function(t,e,n){var r=n(0),i=n(11),o=n(1),a=(n(2).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(3)(function(){a(function(){})}),"Reflect",{apply:function(t,e,n){var r=i(t),u=o(n);return a?a(r,e,u):s.call(r,e,u)}})},function(t,e,n){var r=n(0),i=n(33),o=n(11),a=n(1),s=n(4),u=n(3),c=n(92),l=(n(2).Reflect||{}).construct,f=u(function(){function t(){}return!(l(function(){},[],t)instanceof t)}),h=!u(function(){l(function(){})});r(r.S+r.F*(f||h),"Reflect",{construct:function(t,e){o(t),a(e);var n=arguments.length<3?t:o(arguments[2]);if(h&&!f)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(c.apply(t,r))}var u=n.prototype,d=i(s(u)?u:Object.prototype),p=Function.apply.call(t,d,e);return s(p)?p:d}})},function(t,e,n){var r=n(7),i=n(0),o=n(1),a=n(23);i(i.S+i.F*n(3)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=a(e,!0),o(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var r=n(0),i=n(16).f,o=n(1);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";var r=n(0),i=n(1),o=function(t){this._t=i(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(69)(o,"Object",function(){var t,e=this,n=e._k;do{if(e._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[e._i++])in e._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,e,n){var r=n(16),i=n(0),o=n(1);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},function(t,e,n){var r=n(0),i=n(17),o=n(1);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,e,n){function r(t,e){var n,s,l=arguments.length<3?t:arguments[2];return c(t)===l?t[e]:(n=i.f(t,e))?a(n,"value")?n.value:void 0!==n.get?n.get.call(l):void 0:u(s=o(t))?r(s,e,l):void 0}var i=n(16),o=n(17),a=n(10),s=n(0),u=n(4),c=n(1);s(s.S,"Reflect",{get:r})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),i=n(1),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(106)})},function(t,e,n){var r=n(0),i=n(1),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,e,n){var r=n(0),i=n(74);i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){function r(t,e,n){var u,h,d=arguments.length<4?t:arguments[3],p=o.f(l(t),e);if(!p){if(f(h=a(t)))return r(h,e,n,d);p=c(0)}return s(p,"value")?!(!1===p.writable||!f(d))&&(u=o.f(d,e)||c(0),u.value=n,i.f(d,e,u),!0):void 0!==p.set&&(p.set.call(d,n),!0)}var i=n(7),o=n(16),a=n(17),s=n(10),u=n(0),c=n(29),l=n(1),f=n(4);u(u.S,"Reflect",{set:r})},function(t,e,n){var r=n(2),i=n(66),o=n(7).f,a=n(34).f,s=n(54),u=n(52),c=r.RegExp,l=c,f=c.prototype,h=/a/g,d=/a/g,p=new c(h)!==h;if(n(6)&&(!p||n(3)(function(){return d[n(5)("match")]=!1,c(h)!=h||c(d)==d||"/a/i"!=c(h,"i")}))){c=function(t,e){var n=this instanceof c,r=s(t),o=void 0===e;return!n&&r&&t.constructor===c&&o?t:i(p?new l(r&&!o?t.source:t,e):l((r=t instanceof c)?t.source:t,r&&o?u.call(t):e),n?this:f,c)};for(var v=a(l),m=0;v.length>m;)!function(t){t in c||o(c,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})}(v[m++]);f.constructor=c,c.prototype=f,n(13)(r,"RegExp",c)}n(37)("RegExp")},function(t,e,n){n(51)("match",1,function(t,e,n){return[function(n){"use strict";var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(51)("replace",2,function(t,e,n){return[function(r,i){"use strict";var o=t(this),a=void 0==r?void 0:r[e];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},n]})},function(t,e,n){n(51)("search",1,function(t,e,n){return[function(n){"use strict";var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},n]})},function(t,e,n){n(51)("split",2,function(t,e,r){"use strict";var i=n(54),o=r,a=[].push,s="length";if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[s]||2!="ab".split(/(?:ab)*/)[s]||4!=".".split(/(.?)(.?)/)[s]||".".split(/()()/)[s]>1||"".split(/.?/)[s]){var u=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!i(t))return o.call(n,t,e);var r,c,l,f,h,d=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,m=void 0===e?4294967295:e>>>0,g=new RegExp(t.source,p+"g");for(u||(r=new RegExp("^"+g.source+"$(?!\\s)",p));(c=g.exec(n))&&!((l=c.index+c[0][s])>v&&(d.push(n.slice(v,c.index)),!u&&c[s]>1&&c[0].replace(r,function(){for(h=1;h<arguments[s]-2;h++)void 0===arguments[h]&&(c[h]=void 0)}),c[s]>1&&c.index<n[s]&&a.apply(d,c.slice(1)),f=c[0][s],v=l,d[s]>=m));)g.lastIndex===c.index&&g.lastIndex++;return v===n[s]?!f&&g.test("")||d.push(""):d.push(n.slice(v)),d[s]>m?d.slice(0,m):d}}else"0".split(void 0,0)[s]&&(r=function(t,e){return void 0===t&&0===e?[]:o.call(this,t,e)});return[function(n,i){var o=t(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,o,i):r.call(String(o),n,i)},r]})},function(t,e,n){"use strict";n(113);var r=n(1),i=n(52),o=n(6),a=/./.toString,s=function(t){n(13)(RegExp.prototype,"toString",t,!0)};n(3)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},function(t,e,n){"use strict";n(14)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){"use strict";n(14)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(14)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(14)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";var r=n(0),i=n(77)(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(0),i=n(8),o=n(78),a="".endsWith;r(r.P+r.F*n(64)("endsWith"),"String",{endsWith:function(t){var e=o(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(e.length),s=void 0===n?r:Math.min(i(n),r),u=String(t);return a?a.call(e,u,s):e.slice(s-u.length,s)===u}})},function(t,e,n){"use strict";n(14)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(14)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){"use strict";n(14)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){var r=n(0),i=n(38),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){"use strict";var r=n(0),i=n(78);r(r.P+r.F*n(64)("includes"),"String",{includes:function(t){return!!~i(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";n(14)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){"use strict";var r=n(77)(!0);n(70)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";n(14)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){var r=n(0),i=n(15),o=n(8);r(r.S,"String",{raw:function(t){for(var e=i(t.raw),n=o(e.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(79)})},function(t,e,n){"use strict";n(14)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){"use strict";var r=n(0),i=n(8),o=n(78),a="".startsWith;r(r.P+r.F*n(64)("startsWith"),"String",{startsWith:function(t){var e=o(this,t,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(14)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(14)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(14)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){"use strict";n(45)("trim",function(t){return function(){return t(this,3)}})},function(t,e,n){"use strict";var r=n(2),i=n(10),o=n(6),a=n(0),s=n(13),u=n(28).KEY,c=n(3),l=n(58),f=n(44),h=n(39),d=n(5),p=n(111),v=n(83),m=n(130),g=n(129),y=n(68),_=n(1),b=n(15),w=n(23),x=n(29),S=n(33),k=n(103),M=n(16),O=n(7),E=n(35),P=M.f,D=O.f,T=k.f,j=r.Symbol,A=r.JSON,R=A&&A.stringify,Y=d("_hidden"),F=d("toPrimitive"),I={}.propertyIsEnumerable,C=l("symbol-registry"),N=l("symbols"),L=l("op-symbols"),W=Object.prototype,U="function"==typeof j,z=r.QObject,G=!z||!z.prototype||!z.prototype.findChild,V=o&&c(function(){return 7!=S(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=P(W,e);r&&delete W[e],D(t,e,n),r&&t!==W&&D(W,e,r)}:D,H=function(t){var e=N[t]=S(j.prototype);return e._k=t,e},B=U&&"symbol"==typeof j.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof j},Z=function(t,e,n){return t===W&&Z(L,e,n),_(t),e=w(e,!0),_(n),i(N,e)?(n.enumerable?(i(t,Y)&&t[Y][e]&&(t[Y][e]=!1),n=S(n,{enumerable:x(0,!1)})):(i(t,Y)||D(t,Y,x(1,{})),t[Y][e]=!0),V(t,e,n)):D(t,e,n)},q=function(t,e){_(t);for(var n,r=g(e=b(e)),i=0,o=r.length;o>i;)Z(t,n=r[i++],e[n]);return t},J=function(t,e){return void 0===e?S(t):q(S(t),e)},$=function(t){var e=I.call(this,t=w(t,!0));return!(this===W&&i(N,t)&&!i(L,t))&&(!(e||!i(this,t)||!i(N,t)||i(this,Y)&&this[Y][t])||e)},K=function(t,e){if(t=b(t),e=w(e,!0),t!==W||!i(N,e)||i(L,e)){var n=P(t,e);return!n||!i(N,e)||i(t,Y)&&t[Y][e]||(n.enumerable=!0),n}},X=function(t){for(var e,n=T(b(t)),r=[],o=0;n.length>o;)i(N,e=n[o++])||e==Y||e==u||r.push(e);return r},Q=function(t){for(var e,n=t===W,r=T(n?L:b(t)),o=[],a=0;r.length>a;)!i(N,e=r[a++])||n&&!i(W,e)||o.push(N[e]);return o};U||(j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===W&&e.call(L,n),i(this,Y)&&i(this[Y],t)&&(this[Y][t]=!1),V(this,t,x(1,n))};return o&&G&&V(W,t,{configurable:!0,set:e}),H(t)},s(j.prototype,"toString",function(){return this._k}),M.f=K,O.f=Z,n(34).f=k.f=X,n(48).f=$,n(57).f=Q,o&&!n(32)&&s(W,"propertyIsEnumerable",$,!0),p.f=function(t){return H(d(t))}),a(a.G+a.W+a.F*!U,{Symbol:j});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)d(tt[et++]);for(var tt=E(d.store),et=0;tt.length>et;)v(tt[et++]);a(a.S+a.F*!U,"Symbol",{for:function(t){return i(C,t+="")?C[t]:C[t]=j(t)},keyFor:function(t){if(B(t))return m(C,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:J,defineProperty:Z,defineProperties:q,getOwnPropertyDescriptor:K,getOwnPropertyNames:X,getOwnPropertySymbols:Q}),A&&a(a.S+a.F*(!U||c(function(){var t=j();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!B(t)){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);return e=r[1],"function"==typeof e&&(n=e),!n&&y(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!B(e))return e}),r[1]=e,R.apply(A,r)}}}),j.prototype[F]||n(12)(j.prototype,F,j.prototype.valueOf),f(j,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(t,e,n){"use strict";var r=n(0),i=n(59),o=n(82),a=n(1),s=n(38),u=n(8),c=n(4),l=n(2).ArrayBuffer,f=n(76),h=o.ArrayBuffer,d=o.DataView,p=i.ABV&&l.isView,v=h.prototype.slice,m=i.VIEW;r(r.G+r.W+r.F*(l!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(t){return p&&p(t)||c(t)&&m in t}}),r(r.P+r.U+r.F*n(3)(function(){return!new h(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,e){if(void 0!==v&&void 0===e)return v.call(a(this),t);for(var n=a(this).byteLength,r=s(t,n),i=s(void 0===e?n:e,n),o=new(f(this,h))(u(i-r)),c=new d(this),l=new d(o),p=0;r<i;)l.setUint8(p++,c.getUint8(r++));return o}}),n(37)("ArrayBuffer")},function(t,e,n){var r=n(0);r(r.G+r.W+r.F*!n(59).ABV,{DataView:n(82).DataView})},function(t,e,n){n(27)("Float32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(27)("Float64",8,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(27)("Int16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(27)("Int32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(27)("Int8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(27)("Uint16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(27)("Uint32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(27)("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(27)("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}},!0)},function(t,e,n){"use strict";var r=n(95);n(50)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(this,t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(0),i=n(49)(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(41)("includes")},function(t,e,n){var r=n(0),i=n(73)(),o=n(2).process,a="process"==n(18)(o);r(r.G,{asap:function(t){var e=a&&o.domain;i(e?e.bind(t):t)}})},function(t,e,n){var r=n(0),i=n(18);r(r.S,"Error",{isError:function(t){return"Error"===i(t)}})},function(t,e,n){var r=n(0);r(r.P+r.R,"Map",{toJSON:n(94)("Map")})},function(t,e,n){var r=n(0);r(r.S,"Math",{iaddh:function(t,e,n,r){var i=t>>>0,o=e>>>0,a=n>>>0;return o+(r>>>0)+((i&a|(i|a)&~(i+a>>>0))>>>31)|0}})},function(t,e,n){var r=n(0);r(r.S,"Math",{imulh:function(t,e){var n=+t,r=+e,i=65535&n,o=65535&r,a=n>>16,s=r>>16,u=(a*o>>>0)+(i*o>>>16);return a*s+(u>>16)+((i*s>>>0)+(65535&u)>>16)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{isubh:function(t,e,n,r){var i=t>>>0,o=e>>>0,a=n>>>0;return o-(r>>>0)-((~i&a|~(i^a)&i-a>>>0)>>>31)|0}})},function(t,e,n){var r=n(0);r(r.S,"Math",{umulh:function(t,e){var n=+t,r=+e,i=65535&n,o=65535&r,a=n>>>16,s=r>>>16,u=(a*o>>>0)+(i*o>>>16);return a*s+(u>>>16)+((i*s>>>0)+(65535&u)>>>16)}})},function(t,e,n){"use strict";var r=n(0),i=n(9),o=n(11),a=n(7);n(6)&&r(r.P+n(56),"Object",{__defineGetter__:function(t,e){a.f(i(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){"use strict";var r=n(0),i=n(9),o=n(11),a=n(7);n(6)&&r(r.P+n(56),"Object",{__defineSetter__:function(t,e){a.f(i(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){var r=n(0),i=n(105)(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},function(t,e,n){var r=n(0),i=n(106),o=n(15),a=n(16),s=n(61);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n=o(t),r=a.f,u=i(n),c={},l=0;u.length>l;)s(c,e=u[l++],r(n,e));return c}})},function(t,e,n){"use strict";var r=n(0),i=n(9),o=n(23),a=n(17),s=n(16).f;n(6)&&r(r.P+n(56),"Object",{__lookupGetter__:function(t){var e,n=i(this),r=o(t,!0);do{if(e=s(n,r))return e.get}while(n=a(n))}})},function(t,e,n){"use strict";var r=n(0),i=n(9),o=n(23),a=n(17),s=n(16).f;n(6)&&r(r.P+n(56),"Object",{__lookupSetter__:function(t){var e,n=i(this),r=o(t,!0);do{if(e=s(n,r))return e.set}while(n=a(n))}})},function(t,e,n){var r=n(0),i=n(105)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},function(t,e,n){"use strict";var r=n(0),i=n(2),o=n(24),a=n(73)(),s=n(5)("observable"),u=n(11),c=n(1),l=n(31),f=n(36),h=n(12),d=n(42),p=d.RETURN,v=function(t){return null==t?void 0:u(t)},m=function(t){var e=t._c;e&&(t._c=void 0,e())},g=function(t){return void 0===t._o},y=function(t){g(t)||(t._o=void 0,m(t))},_=function(t,e){c(t),this._c=void 0,this._o=t,t=new b(this);try{var n=e(t),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:u(n),this._c=n)}catch(e){return void t.error(e)}g(this)&&m(this)};_.prototype=f({},{unsubscribe:function(){y(this)}});var b=function(t){this._s=t};b.prototype=f({},{next:function(t){var e=this._s;if(!g(e)){var n=e._o;try{var r=v(n.next);if(r)return r.call(n,t)}catch(t){try{y(e)}finally{throw t}}}},error:function(t){var e=this._s;if(g(e))throw t;var n=e._o;e._o=void 0;try{var r=v(n.error);if(!r)throw t;t=r.call(n,t)}catch(t){try{m(e)}finally{throw t}}return m(e),t},complete:function(t){var e=this._s;if(!g(e)){var n=e._o;e._o=void 0;try{var r=v(n.complete);t=r?r.call(n,t):void 0}catch(t){try{m(e)}finally{throw t}}return m(e),t}}});var w=function(t){l(this,w,"Observable","_f")._f=u(t)};f(w.prototype,{subscribe:function(t){return new _(t,this._f)},forEach:function(t){var e=this;return new(o.Promise||i.Promise)(function(n,r){u(t);var i=e.subscribe({next:function(e){try{return t(e)}catch(t){r(t),i.unsubscribe()}},error:r,complete:n})})}}),f(w,{from:function(t){var e="function"==typeof this?this:w,n=v(c(t)[s]);if(n){var r=c(n.call(t));return r.constructor===e?r:new e(function(t){return r.subscribe(t)})}return new e(function(e){var n=!1;return a(function(){if(!n){try{if(d(t,!1,function(t){if(e.next(t),n)return p})===p)return}catch(t){if(n)throw t;return void e.error(t)}e.complete()}}),function(){n=!0}})},of:function(){for(var t=0,e=arguments.length,n=Array(e);t<e;)n[t]=arguments[t++];return new("function"==typeof this?this:w)(function(t){var e=!1;return a(function(){if(!e){for(var r=0;r<n.length;++r)if(t.next(n[r]),e)return;t.complete()}}),function(){e=!0}})}}),h(w.prototype,s,function(){return this}),r(r.G,{Observable:w}),n(37)("Observable")},function(t,e,n){var r=n(26),i=n(1),o=r.key,a=r.set;r.exp({defineMetadata:function(t,e,n,r){a(t,e,i(n),o(r))}})},function(t,e,n){var r=n(26),i=n(1),o=r.key,a=r.map,s=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:o(arguments[2]),r=a(i(e),n,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var u=s.get(e);return u.delete(n),!!u.size||s.delete(e)}})},function(t,e,n){var r=n(114),i=n(90),o=n(26),a=n(1),s=n(17),u=o.keys,c=o.key,l=function(t,e){var n=u(t,e),o=s(t);if(null===o)return n;var a=l(o,e);return a.length?n.length?i(new r(n.concat(a))):a:n};o.exp({getMetadataKeys:function(t){return l(a(t),arguments.length<2?void 0:c(arguments[1]))}})},function(t,e,n){var r=n(26),i=n(1),o=n(17),a=r.has,s=r.get,u=r.key,c=function(t,e,n){if(a(t,e,n))return s(t,e,n);var r=o(e);return null!==r?c(t,r,n):void 0};r.exp({getMetadata:function(t,e){return c(t,i(e),arguments.length<3?void 0:u(arguments[2]))}})},function(t,e,n){var r=n(26),i=n(1),o=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(t){return o(i(t),arguments.length<2?void 0:a(arguments[1]))}})},function(t,e,n){var r=n(26),i=n(1),o=r.get,a=r.key;r.exp({getOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(26),i=n(1),o=n(17),a=r.has,s=r.key,u=function(t,e,n){if(a(t,e,n))return!0;var r=o(e);return null!==r&&u(t,r,n)};r.exp({hasMetadata:function(t,e){return u(t,i(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,n){var r=n(26),i=n(1),o=r.has,a=r.key;r.exp({hasOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(26),i=n(1),o=n(11),a=r.key,s=r.set;r.exp({metadata:function(t,e){return function(n,r){s(t,e,(void 0!==r?i:o)(n),a(r))}}})},function(t,e,n){var r=n(0);r(r.P+r.R,"Set",{toJSON:n(94)("Set")})},function(t,e,n){"use strict";var r=n(0),i=n(77)(!0);r(r.P,"String",{at:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(0),i=n(19),o=n(8),a=n(54),s=n(52),u=RegExp.prototype,c=function(t,e){this._r=t,this._s=e};n(69)(c,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),r(r.P,"String",{matchAll:function(t){if(i(this),!a(t))throw TypeError(t+" is not a regexp!");var e=String(this),n="flags"in u?String(t.flags):s.call(t),r=new RegExp(t.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=o(t.lastIndex),new c(r,e)}})},function(t,e,n){"use strict";var r=n(0),i=n(110);r(r.P,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){"use strict";var r=n(0),i=n(110);r(r.P,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){"use strict";n(45)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,e,n){"use strict";n(45)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,e,n){n(83)("asyncIterator")},function(t,e,n){n(83)("observable")},function(t,e,n){var r=n(0);r(r.S,"System",{global:n(2)})},function(t,e,n){for(var r=n(85),i=n(13),o=n(2),a=n(12),s=n(43),u=n(5),c=u("iterator"),l=u("toStringTag"),f=s.Array,h=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],d=0;d<5;d++){var p,v=h[d],m=o[v],g=m&&m.prototype;if(g){g[c]||a(g,c,f),g[l]||a(g,l,v),s[v]=f;for(p in r)g[p]||i(g,p,r[p],!0)}}},function(t,e,n){var r=n(0),i=n(81);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(t,e,n){var r=n(2),i=n(0),o=n(53),a=n(131),s=r.navigator,u=!!s&&/MSIE .\./.test(s.userAgent),c=function(t){return u?function(e,n){return t(o(a,[].slice.call(arguments,2),"function"==typeof e?e:Function(e)),n)}:t};i(i.G+i.B+i.F*u,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(t,e,n){n(254),n(193),n(195),n(194),n(197),n(199),n(204),n(198),n(196),n(206),n(205),n(201),n(202),n(200),n(192),n(203),n(207),n(208),n(160),n(162),n(161),n(210),n(209),n(180),n(190),n(191),n(181),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(163),n(164),n(165),n(166),n(167),n(168),n(169),n(170),n(171),n(172),n(173),n(174),n(175),n(176),n(177),n(178),n(179),n(241),n(246),n(253),n(244),n(236),n(237),n(242),n(247),n(249),n(232),n(233),n(234),n(235),n(238),n(239),n(240),n(243),n(245),n(248),n(250),n(251),n(252),n(155),n(157),n(156),n(159),n(158),n(144),n(142),n(148),n(145),n(151),n(153),n(141),n(147),n(138),n(152),n(136),n(150),n(149),n(143),n(146),n(135),n(137),n(140),n(139),n(154),n(85),n(226),n(231),n(113),n(227),n(228),n(229),n(230),n(211),n(112),n(114),n(115),n(266),n(255),n(256),n(261),n(264),n(265),n(259),n(262),n(260),n(263),n(257),n(258),n(212),n(213),n(214),n(215),n(216),n(219),n(217),n(218),n(220),n(221),n(222),n(223),n(225),n(224),n(267),n(293),n(296),n(295),n(297),n(298),n(294),n(299),n(300),n(278),n(281),n(277),n(275),n(276),n(279),n(280),n(270),n(292),n(301),n(269),n(271),n(273),n(272),n(274),n(283),n(284),n(286),n(285),n(288),n(287),n(289),n(290),n(291),n(268),n(282),n(304),n(303),n(302),t.exports=n(24)},function(t,e,n){!function(){"use strict";var t={roll:function(e,n){var r=t.verboseRoll(e),i=0;if(n)return r;for(var o in r)i+=r[o];return i},verboseRoll:function(t){var e,n,r,i=1,o=0,a=[];if(!t)throw new Error("Missing dice parameter.");if("string"==typeof t)if(e=t.match(/^\s*(\d+)?\s*d\s*(\d+)\s*(.*?)\s*$/)){if(e[1]&&(i=parseInt(e[1])),e[2]&&(t=parseInt(e[2])),e[3]){r=e[3].match(/([+-]\s*\d+)/g);for(var s=0;s<r.length;s++)o+=parseInt(r[s].replace(/\s/g,""))}}else parseInt(t);if(isNaN(t))return[];for(var s=0;s<i;s++)n=0!==t?Math.floor(Math.random()*t+1):0,a.push(n);return a=a.sort(function(t,e){return t-e}),0!=o&&a.push(o),a}};if("undefined"!=typeof window)window.d20=t;else for(var n in t)e[n]=t[n]}()},function(t,e){t.exports={private:!0,version:"4.0.0",scripts:{doc:"jsdoc2md lib/**/*.js > documentation.md",build:"npm test && npm run doc && webpack",test:"nyc --exclude '**/*.spec.js|test' mocha -R landing --compilers js:babel-register test/spec-helper.js lib/**/*.spec.js"},devDependencies:{"babel-cli":"^6.24.1","babel-loader":"^7.0.0","babel-plugin-transform-regenerator":"^6.24.1","babel-preset-es2015":"^6.24.1",chai:"^3.5.0","chai-as-promised":"^5.3.0",eslint:"^2.12.0","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.8.1","eslint-plugin-jsx-a11y":"^1.4.2","eslint-plugin-react":"^5.2.2","jsdoc-to-markdown":"^2.0.1","json-loader":"^0.5.4",mocha:"^2.5.3",nyc:"^10.3.2",sinon:"^1.17.4","sinon-as-promised":"^4.0.0","sinon-chai":"^2.8.0",webpack:"^2.6.1"},dependencies:{"babel-polyfill":"^6.16.0",d20:"^1.4.0","lodash.sample":"^4.2.1","lodash.startcase":"^4.4.0",moment:"^2.18.1"}}},function(t,e,n){(function(e){function n(t,e,n,r){var i=-1,o=t?t.length:0;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function r(t){return t.split("")}function i(t){return t.match(b)||[]}function o(t){return U.test(t)}function a(t){return z.test(t)}function s(t){return o(t)?u(t):r(t)}function u(t){return t.match(L)||[]}function c(t){return t.match(W)||[]}function l(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}function f(t){if("string"==typeof t)return t;if(p(t))return X?X.call(t):"";var e=t+"";return"0"==e&&1/t==-y?"-0":e}function h(t,e,n){var r=t.length;return n=void 0===n?r:n,!e&&n>=r?t:l(t,e,n)}function d(t){return!!t&&"object"==typeof t}function p(t){return"symbol"==typeof t||d(t)&&J.call(t)==_}function v(t){return null==t?"":f(t)}function m(t){return(t=v(t))&&t.replace(w,Z).replace(N,"")}function g(t,e,n){return t=v(t),e=n?void 0:e,void 0===e?a(t)?c(t):i(t):t.match(e)||[]}var y=1/0,_="[object Symbol]",b=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,w=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,x="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",S="["+x+"]",k="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",M="[a-z\\xdf-\\xf6\\xf8-\\xff]",O="[^\\ud800-\\udfff"+x+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",E="\\ud83c[\\udffb-\\udfff]",P="(?:\\ud83c[\\udde6-\\uddff]){2}",D="[\\ud800-\\udbff][\\udc00-\\udfff]",T="[A-Z\\xc0-\\xd6\\xd8-\\xde]",j="(?:"+M+"|"+O+")",A="(?:[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]|\\ud83c[\\udffb-\\udfff])?",R="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",P,D].join("|")+")[\\ufe0e\\ufe0f]?"+A+")*",Y="[\\ufe0e\\ufe0f]?"+A+R,F="(?:"+["[\\u2700-\\u27bf]",P,D].join("|")+")"+Y,I="(?:"+["[^\\ud800-\\udfff]"+k+"?",k,P,D,"[\\ud800-\\udfff]"].join("|")+")",C=RegExp("['\u2019]","g"),N=RegExp(k,"g"),L=RegExp(E+"(?="+E+")|"+I+Y,"g"),W=RegExp([T+"?"+M+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[S,T,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[S,T+j,"$"].join("|")+")",T+"?"+j+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",T+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d+",F].join("|"),"g"),U=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),z=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,G={"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"ss"},V="object"==typeof e&&e&&e.Object===Object&&e,H="object"==typeof self&&self&&self.Object===Object&&self,B=V||H||Function("return this")(),Z=function(t){return function(e){return null==t?void 0:t[e]}}(G),q=Object.prototype,J=q.toString,$=B.Symbol,K=$?$.prototype:void 0,X=K?K.toString:void 0,Q=function(t){return function(e){return n(g(m(e).replace(C,"")),t,"")}}(function(t,e,n){return t+(n?" ":"")+tt(e)}),tt=function(t){return function(e){e=v(e);var n=o(e)?s(e):void 0,r=n?n[0]:e.charAt(0),i=n?h(n,1).join(""):e.slice(1);return r[t]()+i}}("toUpperCase");t.exports=Q}).call(e,n(40))},function(t,e,n){(function(t){!function(e,n){t.exports=n()}(0,function(){"use strict";function e(){return _r.apply(null,arguments)}function n(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function r(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function i(t){var e;for(e in t)return!1;return!0}function o(t){return void 0===t}function a(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function s(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function u(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function c(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t,e){for(var n in e)c(e,n)&&(t[n]=e[n]);return c(e,"toString")&&(t.toString=e.toString),c(e,"valueOf")&&(t.valueOf=e.valueOf),t}function f(t,e,n,r){return ye(t,e,n,r,!0).utc()}function h(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function d(t){return null==t._pf&&(t._pf=h()),t._pf}function p(t){if(null==t._isValid){var e=d(t),n=wr.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function v(t){var e=f(NaN);return null!=t?l(d(e),t):d(e).userInvalidated=!0,e}function m(t,e){var n,r,i;if(o(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),o(e._i)||(t._i=e._i),o(e._f)||(t._f=e._f),o(e._l)||(t._l=e._l),o(e._strict)||(t._strict=e._strict),o(e._tzm)||(t._tzm=e._tzm),o(e._isUTC)||(t._isUTC=e._isUTC),o(e._offset)||(t._offset=e._offset),o(e._pf)||(t._pf=d(e)),o(e._locale)||(t._locale=e._locale),xr.length>0)for(n=0;n<xr.length;n++)r=xr[n],i=e[r],o(i)||(t[r]=i);return t}function g(t){m(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Sr&&(Sr=!0,e.updateOffset(this),Sr=!1)}function y(t){return t instanceof g||null!=t&&null!=t._isAMomentObject}function _(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function b(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=_(e)),n}function w(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&b(t[r])!==b(e[r]))&&a++;return a+o}function x(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function S(t,n){var r=!0;return l(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),r){for(var i,o=[],a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){i+="\n["+a+"] ";for(var s in arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[a];o.push(i)}x(t+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function k(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),kr[t]||(x(n),kr[t]=!0)}function M(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function O(t){var e,n;for(n in t)e=t[n],M(e)?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function E(t,e){var n,i=l({},t);for(n in e)c(e,n)&&(r(t[n])&&r(e[n])?(i[n]={},l(i[n],t[n]),l(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)c(t,n)&&!c(e,n)&&r(t[n])&&(i[n]=l({},i[n]));return i}function P(t){null!=t&&this.set(t)}function D(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return M(r)?r.call(e,n):r}function T(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function j(){return this._invalidDate}function A(t){return this._ordinal.replace("%d",t)}function R(t,e,n,r){var i=this._relativeTime[n];return M(i)?i(t,e,n,r):i.replace(/%d/i,t)}function Y(t,e){var n=this._relativeTime[t>0?"future":"past"];return M(n)?n(e):n.replace(/%s/i,e)}function F(t,e){var n=t.toLowerCase();Ar[n]=Ar[n+"s"]=Ar[e]=t}function I(t){return"string"==typeof t?Ar[t]||Ar[t.toLowerCase()]:void 0}function C(t){var e,n,r={};for(n in t)c(t,n)&&(e=I(n))&&(r[e]=t[n]);return r}function N(t,e){Rr[t]=e}function L(t){var e=[];for(var n in t)e.push({unit:n,priority:Rr[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function W(t,n){return function(r){return null!=r?(z(this,t,r),e.updateOffset(this,n),this):U(this,t)}}function U(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function z(t,e,n){t.isValid()&&t._d["set"+(t._isUTC?"UTC":"")+e](n)}function G(t){return t=I(t),M(this[t])?this[t]():this}function V(t,e){if("object"==typeof t){t=C(t);for(var n=L(t),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit])}else if(t=I(t),M(this[t]))return this[t](e);return this}function H(t,e,n){var r=""+Math.abs(t),i=e-r.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function B(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(Cr[t]=i),e&&(Cr[e[0]]=function(){return H(i.apply(this,arguments),e[1],e[2])}),n&&(Cr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function Z(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function q(t){var e,n,r=t.match(Yr);for(e=0,n=r.length;e<n;e++)Cr[r[e]]?r[e]=Cr[r[e]]:r[e]=Z(r[e]);return function(e){var i,o="";for(i=0;i<n;i++)o+=M(r[i])?r[i].call(e,t):r[i];return o}}function J(t,e){return t.isValid()?(e=$(e,t.localeData()),Ir[e]=Ir[e]||q(e),Ir[e](t)):t.localeData().invalidDate()}function $(t,e){function n(t){return e.longDateFormat(t)||t}var r=5;for(Fr.lastIndex=0;r>=0&&Fr.test(t);)t=t.replace(Fr,n),Fr.lastIndex=0,r-=1;return t}function K(t,e,n){ei[t]=M(e)?e:function(t,r){return t&&n?n:e}}function X(t,e){return c(ei,t)?ei[t](e._strict,e._locale):new RegExp(Q(t))}function Q(t){return tt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i}))}function tt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function et(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),a(e)&&(r=function(t,n){n[e]=b(t)}),n=0;n<t.length;n++)ni[t[n]]=r}function nt(t,e){et(t,function(t,n,r,i){r._w=r._w||{},e(t,r._w,r,i)})}function rt(t,e,n){null!=e&&c(ni,t)&&ni[t](e,n._a,n,t)}function it(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function ot(t,e){return t?n(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||di).test(e)?"format":"standalone"][t.month()]:n(this._months)?this._months:this._months.standalone}function at(t,e){return t?n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[di.test(e)?"format":"standalone"][t.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function st(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?(i=hi.call(this._shortMonthsParse,a),-1!==i?i:null):(i=hi.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===e?(i=hi.call(this._shortMonthsParse,a),-1!==i?i:(i=hi.call(this._longMonthsParse,a),-1!==i?i:null)):(i=hi.call(this._longMonthsParse,a),-1!==i?i:(i=hi.call(this._shortMonthsParse,a),-1!==i?i:null))}function ut(t,e,n){var r,i,o;if(this._monthsParseExact)return st.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function ct(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=b(e);else if(e=t.localeData().monthsParse(e),!a(e))return t;return n=Math.min(t.date(),it(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function lt(t){return null!=t?(ct(this,t),e.updateOffset(this,!0),this):U(this,"Month")}function ft(){return it(this.year(),this.month())}function ht(t){return this._monthsParseExact?(c(this,"_monthsRegex")||pt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=mi),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function dt(t){return this._monthsParseExact?(c(this,"_monthsRegex")||pt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=gi),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function pt(){function t(t,e){return e.length-t.length}var e,n,r=[],i=[],o=[];for(e=0;e<12;e++)n=f([2e3,e]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(t),i.sort(t),o.sort(t),e=0;e<12;e++)r[e]=tt(r[e]),i[e]=tt(i[e]);for(e=0;e<24;e++)o[e]=tt(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function vt(t){return mt(t)?366:365}function mt(t){return t%4==0&&t%100!=0||t%400==0}function gt(){return mt(this.year())}function yt(t,e,n,r,i,o,a){var s=new Date(t,e,n,r,i,o,a);return t<100&&t>=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}function _t(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function bt(t,e,n){var r=7+e-n;return-(7+_t(t,0,r).getUTCDay()-e)%7+r-1}function wt(t,e,n,r,i){var o,a,s=(7+n-r)%7,u=bt(t,r,i),c=1+7*(e-1)+s+u;return c<=0?(o=t-1,a=vt(o)+c):c>vt(t)?(o=t+1,a=c-vt(t)):(o=t,a=c),{year:o,dayOfYear:a}}function xt(t,e,n){var r,i,o=bt(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?(i=t.year()-1,r=a+St(i,e,n)):a>St(t.year(),e,n)?(r=a-St(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function St(t,e,n){var r=bt(t,e,n),i=bt(t+1,e,n);return(vt(t)-r+i)/7}function kt(t){return xt(t,this._week.dow,this._week.doy).week}function Mt(){return this._week.dow}function Ot(){return this._week.doy}function Et(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Pt(t){var e=xt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Dt(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function Tt(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function jt(t,e){return t?n(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:n(this._weekdays)?this._weekdays:this._weekdays.standalone}function At(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Rt(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Yt(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?(i=hi.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===e?(i=hi.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=hi.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===e?(i=hi.call(this._weekdaysParse,a),-1!==i?i:(i=hi.call(this._shortWeekdaysParse,a),-1!==i?i:(i=hi.call(this._minWeekdaysParse,a),-1!==i?i:null))):"ddd"===e?(i=hi.call(this._shortWeekdaysParse,a),-1!==i?i:(i=hi.call(this._weekdaysParse,a),-1!==i?i:(i=hi.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=hi.call(this._minWeekdaysParse,a),-1!==i?i:(i=hi.call(this._weekdaysParse,a),-1!==i?i:(i=hi.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function Ft(t,e,n){var r,i,o;if(this._weekdaysParseExact)return Yt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function It(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Dt(t,this.localeData()),this.add(t-e,"d")):e}function Ct(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Nt(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Tt(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Lt(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||zt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Si),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Wt(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||zt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ki),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ut(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||zt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Mi),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function zt(){function t(t,e){return e.length-t.length}var e,n,r,i,o,a=[],s=[],u=[],c=[];for(e=0;e<7;e++)n=f([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(t),s.sort(t),u.sort(t),c.sort(t),e=0;e<7;e++)s[e]=tt(s[e]),u[e]=tt(u[e]),c[e]=tt(c[e]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Gt(){return this.hours()%12||12}function Vt(){return this.hours()||24}function Ht(t,e){B(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Bt(t,e){return e._meridiemParse}function Zt(t){return"p"===(t+"").toLowerCase().charAt(0)}function qt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Jt(t){return t?t.toLowerCase().replace("_","-"):t}function $t(t){for(var e,n,r,i,o=0;o<t.length;){for(i=Jt(t[o]).split("-"),e=i.length,n=Jt(t[o+1]),n=n?n.split("-"):null;e>0;){if(r=Kt(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&w(i,n,!0)>=e-1)break;e--}o++}return null}function Kt(e){var n=null;if(!Ti[e]&&void 0!==t&&t&&t.exports)try{n=Oi._abbr,function(){var t=new Error('Cannot find module "./locale"');throw t.code="MODULE_NOT_FOUND",t}(),Xt(n)}catch(e){}return Ti[e]}function Xt(t,e){var n;return t&&(n=o(e)?ee(t):Qt(t,e))&&(Oi=n),Oi._abbr}function Qt(t,e){if(null!==e){var n=Di;if(e.abbr=t,null!=Ti[t])k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Ti[t]._config;else if(null!=e.parentLocale){if(null==Ti[e.parentLocale])return ji[e.parentLocale]||(ji[e.parentLocale]=[]),ji[e.parentLocale].push({name:t,config:e}),null;n=Ti[e.parentLocale]._config}return Ti[t]=new P(E(n,e)),ji[t]&&ji[t].forEach(function(t){Qt(t.name,t.config)}),Xt(t),Ti[t]}return delete Ti[t],null}function te(t,e){if(null!=e){var n,r=Di;null!=Ti[t]&&(r=Ti[t]._config),e=E(r,e),n=new P(e),n.parentLocale=Ti[t],Ti[t]=n,Xt(t)}else null!=Ti[t]&&(null!=Ti[t].parentLocale?Ti[t]=Ti[t].parentLocale:null!=Ti[t]&&delete Ti[t]);return Ti[t]}function ee(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Oi;if(!n(t)){if(e=Kt(t))return e;t=[t]}return $t(t)}function ne(){return Er(Ti)}function re(t){var e,n=t._a;return n&&-2===d(t).overflow&&(e=n[ii]<0||n[ii]>11?ii:n[oi]<1||n[oi]>it(n[ri],n[ii])?oi:n[ai]<0||n[ai]>24||24===n[ai]&&(0!==n[si]||0!==n[ui]||0!==n[ci])?ai:n[si]<0||n[si]>59?si:n[ui]<0||n[ui]>59?ui:n[ci]<0||n[ci]>999?ci:-1,d(t)._overflowDayOfYear&&(e<ri||e>oi)&&(e=oi),d(t)._overflowWeeks&&-1===e&&(e=li),d(t)._overflowWeekday&&-1===e&&(e=fi),d(t).overflow=e),t}function ie(t){var e,n,r,i,o,a,s=t._i,u=Ai.exec(s)||Ri.exec(s);if(u){for(d(t).iso=!0,e=0,n=Fi.length;e<n;e++)if(Fi[e][1].exec(u[1])){i=Fi[e][0],r=!1!==Fi[e][2];break}if(null==i)return void(t._isValid=!1);if(u[3]){for(e=0,n=Ii.length;e<n;e++)if(Ii[e][1].exec(u[3])){o=(u[2]||" ")+Ii[e][0];break}if(null==o)return void(t._isValid=!1)}if(!r&&null!=o)return void(t._isValid=!1);if(u[4]){if(!Yi.exec(u[4]))return void(t._isValid=!1);a="Z"}t._f=i+(o||"")+(a||""),fe(t)}else t._isValid=!1}function oe(t){var e,n,r,i,o,a,s,u,c={" GMT":" +0000"," EDT":" -0400"," EST":" -0500"," CDT":" -0500"," CST":" -0600"," MDT":" -0600"," MST":" -0700"," PDT":" -0700"," PST":" -0800"};if(e=t._i.replace(/\([^\)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s|\s$/g,""),n=Ni.exec(e)){if(r=n[1]?"ddd"+(5===n[1].length?", ":" "):"",i="D MMM "+(n[2].length>10?"YYYY ":"YY "),o="HH:mm"+(n[4]?":ss":""),n[1]){var l=new Date(n[2]),f=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][l.getDay()];if(n[1].substr(0,3)!==f)return d(t).weekdayMismatch=!0,void(t._isValid=!1)}switch(n[5].length){case 2:0===u?s=" +0000":(u="YXWVUTSRQPONZABCDEFGHIKLM".indexOf(n[5][1].toUpperCase())-12,s=(u<0?" -":" +")+(""+u).replace(/^-?/,"0").match(/..$/)[0]+"00");break;case 4:s=c[n[5]];break;default:s=c[" GMT"]}n[5]=s,t._i=n.splice(1).join(""),a=" ZZ",t._f=r+i+o+a,fe(t),d(t).rfc2822=!0}else t._isValid=!1}function ae(t){var n=Ci.exec(t._i);return null!==n?void(t._d=new Date(+n[1])):(ie(t),void(!1===t._isValid&&(delete t._isValid,oe(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t)))))}function se(t,e,n){return null!=t?t:null!=e?e:n}function ue(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ce(t){var e,n,r,i,o=[];if(!t._d){for(r=ue(t),t._w&&null==t._a[oi]&&null==t._a[ii]&&le(t),null!=t._dayOfYear&&(i=se(t._a[ri],r[ri]),(t._dayOfYear>vt(i)||0===t._dayOfYear)&&(d(t)._overflowDayOfYear=!0),n=_t(i,0,t._dayOfYear),t._a[ii]=n.getUTCMonth(),t._a[oi]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=r[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[ai]&&0===t._a[si]&&0===t._a[ui]&&0===t._a[ci]&&(t._nextDay=!0,t._a[ai]=0),t._d=(t._useUTC?_t:yt).apply(null,o),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ai]=24)}}function le(t){var e,n,r,i,o,a,s,u;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)o=1,a=4,n=se(e.GG,t._a[ri],xt(_e(),1,4).year),r=se(e.W,1),((i=se(e.E,1))<1||i>7)&&(u=!0);else{o=t._locale._week.dow,a=t._locale._week.doy;var c=xt(_e(),o,a);n=se(e.gg,t._a[ri],c.year),r=se(e.w,c.week),null!=e.d?((i=e.d)<0||i>6)&&(u=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(u=!0)):i=o}r<1||r>St(n,o,a)?d(t)._overflowWeeks=!0:null!=u?d(t)._overflowWeekday=!0:(s=wt(n,r,i,o,a),t._a[ri]=s.year,t._dayOfYear=s.dayOfYear)}function fe(t){if(t._f===e.ISO_8601)return void ie(t);if(t._f===e.RFC_2822)return void oe(t);t._a=[],d(t).empty=!0;var n,r,i,o,a,s=""+t._i,u=s.length,c=0;for(i=$(t._f,t._locale).match(Yr)||[],n=0;n<i.length;n++)o=i[n],r=(s.match(X(o,t))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&d(t).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Cr[o]?(r?d(t).empty=!1:d(t).unusedTokens.push(o),rt(o,r,t)):t._strict&&!r&&d(t).unusedTokens.push(o);d(t).charsLeftOver=u-c,s.length>0&&d(t).unusedInput.push(s),t._a[ai]<=12&&!0===d(t).bigHour&&t._a[ai]>0&&(d(t).bigHour=void 0),d(t).parsedDateParts=t._a.slice(0),d(t).meridiem=t._meridiem,t._a[ai]=he(t._locale,t._a[ai],t._meridiem),ce(t),re(t)}function he(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function de(t){var e,n,r,i,o;if(0===t._f.length)return d(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<t._f.length;i++)o=0,e=m({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],fe(e),p(e)&&(o+=d(e).charsLeftOver,o+=10*d(e).unusedTokens.length,d(e).score=o,(null==r||o<r)&&(r=o,n=e));l(t,n||e)}function pe(t){if(!t._d){var e=C(t._i);t._a=u([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),ce(t)}}function ve(t){var e=new g(re(me(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function me(t){var e=t._i,r=t._f;return t._locale=t._locale||ee(t._l),null===e||void 0===r&&""===e?v({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),y(e)?new g(re(e)):(s(e)?t._d=e:n(r)?de(t):r?fe(t):ge(t),p(t)||(t._d=null),t))}function ge(t){var i=t._i;o(i)?t._d=new Date(e.now()):s(i)?t._d=new Date(i.valueOf()):"string"==typeof i?ae(t):n(i)?(t._a=u(i.slice(0),function(t){return parseInt(t,10)}),ce(t)):r(i)?pe(t):a(i)?t._d=new Date(i):e.createFromInputFallback(t)}function ye(t,e,o,a,s){var u={};return!0!==o&&!1!==o||(a=o,o=void 0),(r(t)&&i(t)||n(t)&&0===t.length)&&(t=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=o,u._i=t,u._f=e,u._strict=a,ve(u)}function _e(t,e,n,r){return ye(t,e,n,r,!1)}function be(t,e){var r,i;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return _e();for(r=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](r)||(r=e[i]);return r}function we(){return be("isBefore",[].slice.call(arguments,0))}function xe(){return be("isAfter",[].slice.call(arguments,0))}function Se(t){for(var e in t)if(-1===zi.indexOf(e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<zi.length;++r)if(t[zi[r]]){if(n)return!1;parseFloat(t[zi[r]])!==b(t[zi[r]])&&(n=!0)}return!0}function ke(){return this._isValid}function Me(){return Ve(NaN)}function Oe(t){var e=C(t),n=e.year||0,r=e.quarter||0,i=e.month||0,o=e.week||0,a=e.day||0,s=e.hour||0,u=e.minute||0,c=e.second||0,l=e.millisecond||0;this._isValid=Se(e),this._milliseconds=+l+1e3*c+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=ee(),this._bubble()}function Ee(t){return t instanceof Oe}function Pe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function De(t,e){B(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+H(~~(t/60),2)+e+H(~~t%60,2)})}function Te(t,e){var n=(e||"").match(t);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(Gi)||["-",0,0],o=60*i[1]+b(i[2]);return 0===o?0:"+"===i[0]?o:-o}function je(t,n){var r,i;return n._isUTC?(r=n.clone(),i=(y(t)||s(t)?t.valueOf():_e(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),e.updateOffset(r,!1),r):_e(t).local()}function Ae(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Re(t,n,r){var i,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Te(Xr,t)))return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&n&&(i=Ae(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==t&&(!n||this._changeInProgress?Je(this,Ve(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Ae(this)}function Ye(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Fe(t){return this.utcOffset(0,t)}function Ie(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ae(this),"m")),this}function Ce(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Te(Kr,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Ne(t){return!!this.isValid()&&(t=t?_e(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function Le(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function We(){if(!o(this._isDSTShifted))return this._isDSTShifted;var t={};if(m(t,this),t=me(t),t._a){var e=t._isUTC?f(t._a):_e(t._a);this._isDSTShifted=this.isValid()&&w(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Ue(){return!!this.isValid()&&!this._isUTC}function ze(){return!!this.isValid()&&this._isUTC}function Ge(){return!!this.isValid()&&this._isUTC&&0===this._offset}function Ve(t,e){var n,r,i,o=t,s=null;return Ee(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:a(t)?(o={},e?o[e]=t:o.milliseconds=t):(s=Vi.exec(t))?(n="-"===s[1]?-1:1,o={y:0,d:b(s[oi])*n,h:b(s[ai])*n,m:b(s[si])*n,s:b(s[ui])*n,ms:b(Pe(1e3*s[ci]))*n}):(s=Hi.exec(t))?(n="-"===s[1]?-1:1,o={y:He(s[2],n),M:He(s[3],n),w:He(s[4],n),d:He(s[5],n),h:He(s[6],n),m:He(s[7],n),s:He(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Ze(_e(o.from),_e(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Oe(o),Ee(t)&&c(t,"_locale")&&(r._locale=t._locale),r}function He(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Be(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Ze(t,e){var n;return t.isValid()&&e.isValid()?(e=je(e,t),t.isBefore(e)?n=Be(t,e):(n=Be(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function qe(t,e){return function(n,r){var i,o;return null===r||isNaN(+r)||(k(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Ve(n,r),Je(this,i,t),this}}function Je(t,n,r,i){var o=n._milliseconds,a=Pe(n._days),s=Pe(n._months);t.isValid()&&(i=null==i||i,o&&t._d.setTime(t._d.valueOf()+o*r),a&&z(t,"Date",U(t,"Date")+a*r),s&&ct(t,U(t,"Month")+s*r),i&&e.updateOffset(t,a||s))}function $e(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Ke(t,n){var r=t||_e(),i=je(r,this).startOf("day"),o=e.calendarFormat(this,i)||"sameElse",a=n&&(M(n[o])?n[o].call(this,r):n[o]);return this.format(a||this.localeData().calendar(o,this,_e(r)))}function Xe(){return new g(this)}function Qe(t,e){var n=y(t)?t:_e(t);return!(!this.isValid()||!n.isValid())&&(e=I(o(e)?"millisecond":e),"millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function tn(t,e){var n=y(t)?t:_e(t);return!(!this.isValid()||!n.isValid())&&(e=I(o(e)?"millisecond":e),"millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function en(t,e,n,r){return r=r||"()",("("===r[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===r[1]?this.isBefore(e,n):!this.isAfter(e,n))}function nn(t,e){var n,r=y(t)?t:_e(t);return!(!this.isValid()||!r.isValid())&&(e=I(e||"millisecond"),"millisecond"===e?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function rn(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function on(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function an(t,e,n){var r,i,o,a;return this.isValid()?(r=je(t,this),r.isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),e=I(e),"year"===e||"month"===e||"quarter"===e?(a=sn(this,r),"quarter"===e?a/=3:"year"===e&&(a/=12)):(o=this-r,a="second"===e?o/1e3:"minute"===e?o/6e4:"hour"===e?o/36e5:"day"===e?(o-i)/864e5:"week"===e?(o-i)/6048e5:o),n?a:_(a)):NaN):NaN}function sn(t,e){var n,r,i=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(i,"months");return e-o<0?(n=t.clone().add(i-1,"months"),r=(e-o)/(o-n)):(n=t.clone().add(i+1,"months"),r=(e-o)/(n-o)),-(i+r)||0}function un(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function cn(){if(!this.isValid())return null;var t=this.clone().utc();return t.year()<0||t.year()>9999?J(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):M(Date.prototype.toISOString)?this.toDate().toISOString():J(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function ln(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=e+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)}function fn(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=J(this,t);return this.localeData().postformat(n)}function hn(t,e){return this.isValid()&&(y(t)&&t.isValid()||_e(t).isValid())?Ve({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function dn(t){return this.from(_e(),t)}function pn(t,e){return this.isValid()&&(y(t)&&t.isValid()||_e(t).isValid())?Ve({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function vn(t){return this.to(_e(),t)}function mn(t){var e;return void 0===t?this._locale._abbr:(e=ee(t),null!=e&&(this._locale=e),this)}function gn(){return this._locale}function yn(t){switch(t=I(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function _n(t){return t=I(t),void 0===t||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))}function bn(){return this._d.valueOf()-6e4*(this._offset||0)}function wn(){return Math.floor(this.valueOf()/1e3)}function xn(){return new Date(this.valueOf())}function Sn(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function kn(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Mn(){return this.isValid()?this.toISOString():null}function On(){return p(this)}function En(){return l({},d(this))}function Pn(){return d(this).overflow}function Dn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Tn(t,e){B(0,[t,t.length],0,e)}function jn(t){return Fn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function An(t){return Fn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Rn(){return St(this.year(),1,4)}function Yn(){var t=this.localeData()._week;return St(this.year(),t.dow,t.doy)}function Fn(t,e,n,r,i){var o;return null==t?xt(this,r,i).year:(o=St(t,r,i),e>o&&(e=o),In.call(this,t,e,n,r,i))}function In(t,e,n,r,i){var o=wt(t,e,n,r,i),a=_t(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Cn(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Nn(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function Ln(t,e){e[ci]=b(1e3*("0."+t))}function Wn(){return this._isUTC?"UTC":""}function Un(){return this._isUTC?"Coordinated Universal Time":""}function zn(t){return _e(1e3*t)}function Gn(){return _e.apply(null,arguments).parseZone()}function Vn(t){return t}function Hn(t,e,n,r){var i=ee(),o=f().set(r,e);return i[n](o,t)}function Bn(t,e,n){if(a(t)&&(e=t,t=void 0),t=t||"",null!=e)return Hn(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Hn(t,r,n,"month");return i}function Zn(t,e,n,r){"boolean"==typeof t?(a(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,a(e)&&(n=e,e=void 0),e=e||"");var i=ee(),o=t?i._week.dow:0;if(null!=n)return Hn(e,(n+o)%7,r,"day");var s,u=[];for(s=0;s<7;s++)u[s]=Hn(e,(s+o)%7,r,"day");return u}function qn(t,e){return Bn(t,e,"months")}function Jn(t,e){return Bn(t,e,"monthsShort")}function $n(t,e,n){return Zn(t,e,n,"weekdays")}function Kn(t,e,n){return Zn(t,e,n,"weekdaysShort")}function Xn(t,e,n){return Zn(t,e,n,"weekdaysMin")}function Qn(){var t=this._data;return this._milliseconds=no(this._milliseconds),this._days=no(this._days),this._months=no(this._months),t.milliseconds=no(t.milliseconds),t.seconds=no(t.seconds),t.minutes=no(t.minutes),t.hours=no(t.hours),t.months=no(t.months),t.years=no(t.years),this}function tr(t,e,n,r){var i=Ve(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function er(t,e){return tr(this,t,e,1)}function nr(t,e){return tr(this,t,e,-1)}function rr(t){return t<0?Math.floor(t):Math.ceil(t)}function ir(){var t,e,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*rr(ar(s)+a),a=0,s=0),u.milliseconds=o%1e3,t=_(o/1e3),u.seconds=t%60,e=_(t/60),u.minutes=e%60,n=_(e/60),u.hours=n%24,a+=_(n/24),i=_(or(a)),s+=i,a-=rr(ar(i)),r=_(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function or(t){return 4800*t/146097}function ar(t){return 146097*t/4800}function sr(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=I(t))||"year"===t)return e=this._days+r/864e5,n=this._months+or(e),"month"===t?n:n/12;switch(e=this._days+Math.round(ar(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function ur(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12):NaN}function cr(t){return function(){return this.as(t)}}function lr(t){return t=I(t),this.isValid()?this[t+"s"]():NaN}function fr(t){return function(){return this.isValid()?this._data[t]:NaN}}function hr(){return _(this.days()/7)}function dr(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function pr(t,e,n){var r=Ve(t).abs(),i=_o(r.as("s")),o=_o(r.as("m")),a=_o(r.as("h")),s=_o(r.as("d")),u=_o(r.as("M")),c=_o(r.as("y")),l=i<=bo.ss&&["s",i]||i<bo.s&&["ss",i]||o<=1&&["m"]||o<bo.m&&["mm",o]||a<=1&&["h"]||a<bo.h&&["hh",a]||s<=1&&["d"]||s<bo.d&&["dd",s]||u<=1&&["M"]||u<bo.M&&["MM",u]||c<=1&&["y"]||["yy",c];return l[2]=e,l[3]=+t>0,l[4]=n,dr.apply(null,l)}function vr(t){return void 0===t?_o:"function"==typeof t&&(_o=t,!0)}function mr(t,e){return void 0!==bo[t]&&(void 0===e?bo[t]:(bo[t]=e,"s"===t&&(bo.ss=e-1),!0))}function gr(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=pr(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function yr(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r=wo(this._milliseconds)/1e3,i=wo(this._days),o=wo(this._months);t=_(r/60),e=_(t/60),r%=60,t%=60,n=_(o/12),o%=12;var a=n,s=o,u=i,c=e,l=t,f=r,h=this.asSeconds();return h?(h<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(c||l||f?"T":"")+(c?c+"H":"")+(l?l+"M":"")+(f?f+"S":""):"P0D"}var _r,br;br=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var wr=br,xr=e.momentProperties=[],Sr=!1,kr={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var Mr;Mr=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)c(t,e)&&n.push(e);return n};var Or,Er=Mr,Pr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Dr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Tr=/\d{1,2}/,jr={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ar={},Rr={},Yr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Fr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ir={},Cr={},Nr=/\d/,Lr=/\d\d/,Wr=/\d{3}/,Ur=/\d{4}/,zr=/[+-]?\d{6}/,Gr=/\d\d?/,Vr=/\d\d\d\d?/,Hr=/\d\d\d\d\d\d?/,Br=/\d{1,3}/,Zr=/\d{1,4}/,qr=/[+-]?\d{1,6}/,Jr=/\d+/,$r=/[+-]?\d+/,Kr=/Z|[+-]\d\d:?\d\d/gi,Xr=/Z|[+-]\d\d(?::?\d\d)?/gi,Qr=/[+-]?\d+(\.\d{1,3})?/,ti=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ei={},ni={},ri=0,ii=1,oi=2,ai=3,si=4,ui=5,ci=6,li=7,fi=8;Or=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};var hi=Or;B("M",["MM",2],"Mo",function(){return this.month()+1}),B("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),B("MMMM",0,0,function(t){return this.localeData().months(this,t)}),F("month","M"),N("month",8),K("M",Gr),K("MM",Gr,Lr),K("MMM",function(t,e){return e.monthsShortRegex(t)}),K("MMMM",function(t,e){return e.monthsRegex(t)}),et(["M","MM"],function(t,e){e[ii]=b(t)-1}),et(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);null!=i?e[ii]=i:d(n).invalidMonth=t});var di=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,pi="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),vi="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),mi=ti,gi=ti;B("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),B(0,["YY",2],0,function(){return this.year()%100}),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),F("year","y"),N("year",1),K("Y",$r),K("YY",Gr,Lr),K("YYYY",Zr,Ur),K("YYYYY",qr,zr),K("YYYYYY",qr,zr),et(["YYYYY","YYYYYY"],ri),et("YYYY",function(t,n){n[ri]=2===t.length?e.parseTwoDigitYear(t):b(t)}),et("YY",function(t,n){n[ri]=e.parseTwoDigitYear(t)}),et("Y",function(t,e){e[ri]=parseInt(t,10)}),e.parseTwoDigitYear=function(t){return b(t)+(b(t)>68?1900:2e3)};var yi=W("FullYear",!0);B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),N("week",5),N("isoWeek",5),K("w",Gr),K("ww",Gr,Lr),K("W",Gr),K("WW",Gr,Lr),nt(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=b(t)});var _i={dow:0,doy:6};B("d",0,"do","day"),B("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),B("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),B("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),K("d",Gr),K("e",Gr),K("E",Gr),K("dd",function(t,e){return e.weekdaysMinRegex(t)}),K("ddd",function(t,e){return e.weekdaysShortRegex(t)}),K("dddd",function(t,e){return e.weekdaysRegex(t)}),nt(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:d(n).invalidWeekday=t}),nt(["d","e","E"],function(t,e,n,r){e[r]=b(t)});var bi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),wi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),xi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Si=ti,ki=ti,Mi=ti;B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Gt),B("k",["kk",2],0,Vt),B("hmm",0,0,function(){return""+Gt.apply(this)+H(this.minutes(),2)}),B("hmmss",0,0,function(){return""+Gt.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)}),B("Hmm",0,0,function(){return""+this.hours()+H(this.minutes(),2)}),B("Hmmss",0,0,function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)}),Ht("a",!0),Ht("A",!1),F("hour","h"),N("hour",13),K("a",Bt),K("A",Bt),K("H",Gr),K("h",Gr),K("k",Gr),K("HH",Gr,Lr),K("hh",Gr,Lr),K("kk",Gr,Lr),K("hmm",Vr),K("hmmss",Hr),K("Hmm",Vr),K("Hmmss",Hr),et(["H","HH"],ai),et(["k","kk"],function(t,e,n){var r=b(t);e[ai]=24===r?0:r}),et(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),et(["h","hh"],function(t,e,n){e[ai]=b(t),d(n).bigHour=!0}),et("hmm",function(t,e,n){var r=t.length-2;e[ai]=b(t.substr(0,r)),e[si]=b(t.substr(r)),d(n).bigHour=!0}),et("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[ai]=b(t.substr(0,r)),e[si]=b(t.substr(r,2)),e[ui]=b(t.substr(i)),d(n).bigHour=!0}),et("Hmm",function(t,e,n){var r=t.length-2;e[ai]=b(t.substr(0,r)),e[si]=b(t.substr(r))}),et("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[ai]=b(t.substr(0,r)),e[si]=b(t.substr(r,2)),e[ui]=b(t.substr(i))});var Oi,Ei=/[ap]\.?m?\.?/i,Pi=W("Hours",!0),Di={calendar:Pr,longDateFormat:Dr,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Tr,relativeTime:jr,months:pi,monthsShort:vi,week:_i,weekdays:bi,weekdaysMin:xi,weekdaysShort:wi,meridiemParse:Ei},Ti={},ji={},Ai=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ri=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Yi=/Z|[+-]\d\d(?::?\d\d)?/,Fi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Ii=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ci=/^\/?Date\((\-?\d+)/i,Ni=/^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/;e.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var Li=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=_e.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:v()}),Wi=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=_e.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:v()}),Ui=function(){return Date.now?Date.now():+new Date},zi=["year","quarter","month","week","day","hour","minute","second","millisecond"];De("Z",":"),De("ZZ",""),K("Z",Xr),K("ZZ",Xr),et(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Te(Xr,t)});var Gi=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Vi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Hi=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Ve.fn=Oe.prototype,Ve.invalid=Me;var Bi=qe(1,"add"),Zi=qe(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var qi=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Tn("gggg","weekYear"),Tn("ggggg","weekYear"),Tn("GGGG","isoWeekYear"),Tn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),K("G",$r),K("g",$r),K("GG",Gr,Lr),K("gg",Gr,Lr),K("GGGG",Zr,Ur),K("gggg",Zr,Ur),K("GGGGG",qr,zr),K("ggggg",qr,zr),nt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=b(t)}),nt(["gg","GG"],function(t,n,r,i){n[i]=e.parseTwoDigitYear(t)}),B("Q",0,"Qo","quarter"),F("quarter","Q"),N("quarter",7),K("Q",Nr),et("Q",function(t,e){e[ii]=3*(b(t)-1)}),B("D",["DD",2],"Do","date"),F("date","D"),N("date",9),K("D",Gr),K("DD",Gr,Lr),K("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),et(["D","DD"],oi),et("Do",function(t,e){e[oi]=b(t.match(Gr)[0],10)});var Ji=W("Date",!0);B("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),N("dayOfYear",4),K("DDD",Br),K("DDDD",Wr),et(["DDD","DDDD"],function(t,e,n){n._dayOfYear=b(t)}),B("m",["mm",2],0,"minute"),F("minute","m"),N("minute",14),K("m",Gr),K("mm",Gr,Lr),et(["m","mm"],si);var $i=W("Minutes",!1);B("s",["ss",2],0,"second"),F("second","s"),N("second",15),K("s",Gr),K("ss",Gr,Lr),et(["s","ss"],ui);var Ki=W("Seconds",!1);B("S",0,0,function(){return~~(this.millisecond()/100)}),B(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,function(){return 10*this.millisecond()}),B(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),B(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),B(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),B(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),B(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),N("millisecond",16),K("S",Br,Nr),K("SS",Br,Lr),K("SSS",Br,Wr);var Xi;for(Xi="SSSS";Xi.length<=9;Xi+="S")K(Xi,Jr);for(Xi="S";Xi.length<=9;Xi+="S")et(Xi,Ln);var Qi=W("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var to=g.prototype;to.add=Bi,to.calendar=Ke,to.clone=Xe,to.diff=an,to.endOf=_n,to.format=fn,to.from=hn,to.fromNow=dn,to.to=pn,to.toNow=vn,to.get=G,to.invalidAt=Pn,to.isAfter=Qe,to.isBefore=tn,to.isBetween=en,to.isSame=nn,to.isSameOrAfter=rn,to.isSameOrBefore=on,to.isValid=On,to.lang=qi,to.locale=mn,to.localeData=gn,to.max=Wi,to.min=Li,to.parsingFlags=En,to.set=V,to.startOf=yn,to.subtract=Zi,to.toArray=Sn,to.toObject=kn,to.toDate=xn,to.toISOString=cn,to.inspect=ln,to.toJSON=Mn,to.toString=un,to.unix=wn,to.valueOf=bn,to.creationData=Dn,to.year=yi,to.isLeapYear=gt,to.weekYear=jn,to.isoWeekYear=An,to.quarter=to.quarters=Cn,to.month=lt,to.daysInMonth=ft,to.week=to.weeks=Et,to.isoWeek=to.isoWeeks=Pt,to.weeksInYear=Yn,to.isoWeeksInYear=Rn,to.date=Ji,to.day=to.days=It,to.weekday=Ct,to.isoWeekday=Nt,to.dayOfYear=Nn,to.hour=to.hours=Pi,to.minute=to.minutes=$i,to.second=to.seconds=Ki,to.millisecond=to.milliseconds=Qi,to.utcOffset=Re,to.utc=Fe,to.local=Ie,to.parseZone=Ce,to.hasAlignedHourOffset=Ne,to.isDST=Le,to.isLocal=Ue,to.isUtcOffset=ze,to.isUtc=Ge,to.isUTC=Ge,to.zoneAbbr=Wn,to.zoneName=Un,to.dates=S("dates accessor is deprecated. Use date instead.",Ji),to.months=S("months accessor is deprecated. Use month instead",lt),to.years=S("years accessor is deprecated. Use year instead",yi),to.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ye),to.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",We);var eo=P.prototype;eo.calendar=D,eo.longDateFormat=T,eo.invalidDate=j,eo.ordinal=A,eo.preparse=Vn,eo.postformat=Vn,eo.relativeTime=R,eo.pastFuture=Y,eo.set=O,eo.months=ot,eo.monthsShort=at,eo.monthsParse=ut,eo.monthsRegex=dt,eo.monthsShortRegex=ht,eo.week=kt,eo.firstDayOfYear=Ot,eo.firstDayOfWeek=Mt,eo.weekdays=jt,eo.weekdaysMin=Rt,eo.weekdaysShort=At,eo.weekdaysParse=Ft,eo.weekdaysRegex=Lt,eo.weekdaysShortRegex=Wt,eo.weekdaysMinRegex=Ut,eo.isPM=Zt,eo.meridiem=qt,Xt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===b(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=S("moment.lang is deprecated. Use moment.locale instead.",Xt),e.langData=S("moment.langData is deprecated. Use moment.localeData instead.",ee);var no=Math.abs,ro=cr("ms"),io=cr("s"),oo=cr("m"),ao=cr("h"),so=cr("d"),uo=cr("w"),co=cr("M"),lo=cr("y"),fo=fr("milliseconds"),ho=fr("seconds"),po=fr("minutes"),vo=fr("hours"),mo=fr("days"),go=fr("months"),yo=fr("years"),_o=Math.round,bo={ss:44,s:45,m:45,h:22,d:26,M:11},wo=Math.abs,xo=Oe.prototype;return xo.isValid=ke,xo.abs=Qn,xo.add=er,xo.subtract=nr,xo.as=sr,xo.asMilliseconds=ro,xo.asSeconds=io,xo.asMinutes=oo,xo.asHours=ao,xo.asDays=so,xo.asWeeks=uo,xo.asMonths=co,xo.asYears=lo,xo.valueOf=ur,xo._bubble=ir,xo.get=lr,xo.milliseconds=fo,xo.seconds=ho,xo.minutes=po,xo.hours=vo,xo.days=mo,xo.weeks=hr,xo.months=go,xo.years=yo,xo.humanize=gr,xo.toISOString=yr,xo.toString=yr,xo.toJSON=yr,xo.locale=mn,xo.localeData=gn,xo.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",yr),xo.lang=qi,B("X",0,0,"unix"),B("x",0,0,"valueOf"),K("x",$r),K("X",Qr),et("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),et("x",function(t,e,n){n._d=new Date(b(t))}),e.version="2.18.1",function(t){_r=t}(_e),e.fn=to,e.min=we,e.max=xe,e.now=Ui,e.utc=f,e.unix=zn,e.months=qn,e.isDate=s,e.locale=Xt,e.invalid=v,e.duration=Ve,e.isMoment=y,e.weekdays=$n,e.parseZone=Gn,e.localeData=ee,e.isDuration=Ee,e.monthsShort=Jn,e.weekdaysMin=Xn,e.defineLocale=Qt,e.updateLocale=te,e.locales=ne,e.weekdaysShort=Kn,e.normalizeUnits=I,e.relativeTimeRounding=vr,e.relativeTimeThreshold=mr,e.calendarFormat=$e,e.prototype=to,e})}).call(e,n(315)(t))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function o(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function a(){v&&d&&(v=!1,d.length?p=d.concat(p):m=-1,p.length&&s())}function s(){if(!v){var t=i(a);v=!0;for(var e=p.length;e;){for(d=p,p=[];++m<e;)d&&d[m].run();m=-1,e=p.length}d=null,v=!1,o(t)}}function u(t,e){this.fun=t,this.array=e}function c(){}var l,f,h=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(t){f=r}}();var d,p=[],v=!1,m=-1;h.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];p.push(new u(t,e)),1!==p.length||v||i(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=c,h.addListener=c,h.once=c,h.off=c,h.removeListener=c,h.removeAllListeners=c,h.emit=c,h.prependListener=c,h.prependOnceListener=c,h.listeners=function(t){return[]},h.binding=function(t){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(t){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},function(t,e,n){(function(e){!function(e){"use strict";function n(t,e,n,r){var o=e&&e.prototype instanceof i?e:i,a=Object.create(o.prototype),s=new d(r||[]);return a._invoke=c(t,n,s),a}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function i(){}function o(){}function a(){}function s(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function u(t){function n(e,i,o,a){var s=r(t[e],t,i);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==typeof c&&y.call(c,"__await")?Promise.resolve(c.__await).then(function(t){n("next",t,o,a)},function(t){n("throw",t,o,a)}):Promise.resolve(c).then(function(t){u.value=t,o(u)},a)}a(s.arg)}function i(t,e){function r(){return new Promise(function(r,i){n(t,e,r,i)})}return o=o?o.then(r,r):r()}"object"==typeof e.process&&e.process.domain&&(n=e.process.domain.bind(n));var o;this._invoke=i}function c(t,e,n){var i=M;return function(o,a){if(i===E)throw new Error("Generator is already running");if(i===P){if("throw"===o)throw a;return v()}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var u=l(s,n);if(u){if(u===D)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===M)throw i=P,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=E;var c=r(t,e,n);if("normal"===c.type){if(i=n.done?P:O,c.arg===D)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=P,n.method="throw",n.arg=c.arg)}}}function l(t,e){var n=t.iterator[e.method];if(n===m){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=m,l(t,e),"throw"===e.method))return D;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return D}var i=r(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,D;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=m),e.delegate=null,D):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,D)}function f(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function h(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function d(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(f,this),this.reset(!0)}function p(t){if(t){var e=t[b];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(y.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=m,e.done=!0,e};return r.next=r}}return{next:v}}function v(){return{value:m,done:!0}}var m,g=Object.prototype,y=g.hasOwnProperty,_="function"==typeof Symbol?Symbol:{},b=_.iterator||"@@iterator",w=_.asyncIterator||"@@asyncIterator",x=_.toStringTag||"@@toStringTag",S="object"==typeof t,k=e.regeneratorRuntime;if(k)return void(S&&(t.exports=k));k=e.regeneratorRuntime=S?t.exports:{},k.wrap=n;var M="suspendedStart",O="suspendedYield",E="executing",P="completed",D={},T={};T[b]=function(){return this};var j=Object.getPrototypeOf,A=j&&j(j(p([])));A&&A!==g&&y.call(A,b)&&(T=A);var R=a.prototype=i.prototype=Object.create(T);o.prototype=R.constructor=a,a.constructor=o,a[x]=o.displayName="GeneratorFunction",k.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===o||"GeneratorFunction"===(e.displayName||e.name))},k.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,a):(t.__proto__=a,x in t||(t[x]="GeneratorFunction")),t.prototype=Object.create(R),t},k.awrap=function(t){return{__await:t}},s(u.prototype),u.prototype[w]=function(){return this},k.AsyncIterator=u,k.async=function(t,e,r,i){var o=new u(n(t,e,r,i));return k.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},s(R),R[x]="Generator",R[b]=function(){return this},R.toString=function(){return"[object Generator]"},k.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},k.values=p,d.prototype={constructor:d,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=m,this.done=!1,this.delegate=null,this.method="next",this.arg=m,this.tryEntries.forEach(h),!t)for(var e in this)"t"===e.charAt(0)&&y.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=m)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,r){return o.type="throw",o.arg=t,n.next=e,r&&(n.method="next",n.arg=m),!!r}if(this.done)throw t;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=y.call(i,"catchLoc"),s=y.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&y.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,D):this.complete(o)},complete:function(t,e){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&&e&&(this.next=e),D},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),h(n),D}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;h(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:p(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=m),D}}}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(e,n(40))},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},function(t,e,n){(function(t,r){function i(t,n){var r={seen:[],stylize:a};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),v(n)?r.showHidden=n:n&&e._extend(r,n),w(r.showHidden)&&(r.showHidden=!1),w(r.depth)&&(r.depth=2),w(r.colors)&&(r.colors=!1),w(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),u(r,t,r.depth)}function o(t,e){var n=i.styles[e];return n?"\x1b["+i.colors[n][0]+"m"+t+"\x1b["+i.colors[n][1]+"m":t}function a(t,e){return t}function s(t){var e={};return t.forEach(function(t,n){e[t]=!0}),e}function u(t,n,r){if(t.customInspect&&n&&O(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,t);return _(i)||(i=u(t,i,r)),i}var o=c(t,n);if(o)return o;var a=Object.keys(n),v=s(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(n)),M(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return l(n);if(0===a.length){if(O(n)){var m=n.name?": "+n.name:"";return t.stylize("[Function"+m+"]","special")}if(x(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(k(n))return t.stylize(Date.prototype.toString.call(n),"date");if(M(n))return l(n)}var g="",y=!1,b=["{","}"];if(p(n)&&(y=!0,b=["[","]"]),O(n)){g=" [Function"+(n.name?": "+n.name:"")+"]"}if(x(n)&&(g=" "+RegExp.prototype.toString.call(n)),k(n)&&(g=" "+Date.prototype.toUTCString.call(n)),M(n)&&(g=" "+l(n)),0===a.length&&(!y||0==n.length))return b[0]+g+b[1];if(r<0)return x(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special");t.seen.push(n);var w;return w=y?f(t,n,r,v,a):a.map(function(e){return h(t,n,r,v,e,y)}),t.seen.pop(),d(w,g,b)}function c(t,e){if(w(e))return t.stylize("undefined","undefined");if(_(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return y(e)?t.stylize(""+e,"number"):v(e)?t.stylize(""+e,"boolean"):m(e)?t.stylize("null","null"):void 0}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function f(t,e,n,r,i){for(var o=[],a=0,s=e.length;a<s;++a)j(e,String(a))?o.push(h(t,e,n,r,String(a),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(h(t,e,n,r,i,!0))}),o}function h(t,e,n,r,i,o){var a,s,c;if(c=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]},c.get?s=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(s=t.stylize("[Setter]","special")),j(r,i)||(a="["+i+"]"),s||(t.seen.indexOf(c.value)<0?(s=m(n)?u(t,c.value,null):u(t,c.value,n-1),s.indexOf("\n")>-1&&(s=o?s.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+s.split("\n").map(function(t){return" "+t}).join("\n"))):s=t.stylize("[Circular]","special")),w(a)){if(o&&i.match(/^\d+$/))return s;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function d(t,e,n){var r=0;return t.reduce(function(t,e){return r++,e.indexOf("\n")>=0&&r++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}function p(t){return Array.isArray(t)}function v(t){return"boolean"==typeof t}function m(t){return null===t}function g(t){return null==t}function y(t){return"number"==typeof t}function _(t){return"string"==typeof t}function b(t){return"symbol"==typeof t}function w(t){return void 0===t}function x(t){return S(t)&&"[object RegExp]"===P(t)}function S(t){return"object"==typeof t&&null!==t}function k(t){return S(t)&&"[object Date]"===P(t)}function M(t){return S(t)&&("[object Error]"===P(t)||t instanceof Error)}function O(t){return"function"==typeof t}function E(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function P(t){return Object.prototype.toString.call(t)}function D(t){return t<10?"0"+t.toString(10):t.toString(10)}function T(){var t=new Date,e=[D(t.getHours()),D(t.getMinutes()),D(t.getSeconds())].join(":");return[t.getDate(),F[t.getMonth()],e].join(" ")}function j(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var A=/%[sdj%]/g;e.format=function(t){if(!_(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(i(arguments[n]));return e.join(" ")}for(var n=1,r=arguments,o=r.length,a=String(t).replace(A,function(t){if("%%"===t)return"%";if(n>=o)return t;switch(t){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return t}}),s=r[n];n<o;s=r[++n])m(s)||!S(s)?a+=" "+s:a+=" "+i(s);return a},e.deprecate=function(n,i){function o(){if(!a){if(r.throwDeprecation)throw new Error(i);r.traceDeprecation?console.trace(i):console.error(i),a=!0}return n.apply(this,arguments)}if(w(t.process))return function(){return e.deprecate(n,i).apply(this,arguments)};if(!0===r.noDeprecation)return n;var a=!1;return o};var R,Y={};e.debuglog=function(t){if(w(R)&&(R=r.env.NODE_DEBUG||""),t=t.toUpperCase(),!Y[t])if(new RegExp("\\b"+t+"\\b","i").test(R)){var n=r.pid;Y[t]=function(){var r=e.format.apply(e,arguments);console.error("%s %d: %s",t,n,r)}}else Y[t]=function(){};return Y[t]},e.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=p,e.isBoolean=v,e.isNull=m,e.isNullOrUndefined=g,e.isNumber=y,e.isString=_,e.isSymbol=b,e.isUndefined=w,e.isRegExp=x,e.isObject=S,e.isDate=k,e.isError=M,e.isFunction=O,e.isPrimitive=E,e.isBuffer=n(313);var F=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];e.log=function(){console.log("%s - %s",T(),e.format.apply(e,arguments))},e.inherits=n(312),e._extend=function(t,e){if(!e||!S(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t}}).call(e,n(40),n(310))},function(t,e){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}}]);
© Copyright Chaturbate 2011- 2026. All Rights Reserved.