Apps Home
|
Create an App
battlebate test
Author:
jag_32
Description
Source Code
Launch App
Current Users
Created by:
Jag_32
!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,f,l,h,d=t&u.F,p=t&u.G,g=t&u.S,v=t&u.P,y=t&u.B,m=p?r:g?r[e]||(r[e]={}):(r[e]||{}).prototype,_=p?i:i[e]||(i[e]={}),w=_.prototype||(_.prototype={});p&&(n=e);for(c in n)f=!d&&m&&void 0!==m[c],l=(f?m:n)[c],h=y&&f?s(l,r):v&&"function"==typeof l?s(Function.call,l):l,m&&a(m,c,l,t&u.U),_[c]!=l&&o(_,c,h),v&&w[c]!=l&&(w[c]=l)};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(40),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(40)("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(128);t.exports=function(t,e){var n=1==t,u=2==t,c=3==t,f=4==t,l=6==t,h=5==t||l,d=e||s;return function(e,s,p){for(var g,v,y=o(e),m=i(y),_=r(s,p,3),w=a(m.length),b=0,S=n?d(e,w):u?d(e,0):void 0;w>b;b++)if((h||b in m)&&(g=m[b],v=_(g,b,y),t))if(n)S[b]=v;else if(v)switch(t){case 3:return!0;case 5:return g;case 6:return b;case 2:S.push(g)}else if(f)return!1;return l?-1:c||f?f:S}}},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)},f=function(t,e,n,r){s(n,r,!0).set(t,e)},l=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:f,keys:l,key:h,exp:d}},function(t,e,n){"use strict";if(n(6)){var r=n(33),i=n(2),o=n(3),a=n(0),s=n(59),u=n(82),c=n(25),f=n(32),l=n(29),h=n(12),d=n(37),p=n(30),g=n(8),v=n(39),y=n(23),m=n(10),_=n(109),w=n(46),b=n(4),S=n(9),x=n(67),k=n(34),M=n(17),O=n(35).f,E=n(84),P=n(40),A=n(5),T=n(21),D=n(49),R=n(76),Y=n(85),j=n(43),I=n(55),C=n(38),F=n(60),N=n(89),L=n(7),U=n(16),W=L.f,B=U.f,z=i.RangeError,V=i.TypeError,G=i.Uint8Array,H=Array.prototype,q=u.ArrayBuffer,Z=u.DataView,J=T(0),$=T(2),K=T(3),X=T(4),Q=T(5),tt=T(6),et=D(!0),nt=D(!1),rt=Y.values,it=Y.keys,ot=Y.entries,at=H.lastIndexOf,st=H.reduce,ut=H.reduceRight,ct=H.join,ft=H.sort,lt=H.slice,ht=H.toString,dt=H.toLocaleString,pt=A("iterator"),gt=A("toStringTag"),vt=P("typed_constructor"),yt=P("def_constructor"),mt=s.CONSTR,_t=s.TYPED,wt=s.VIEW,bt=T(1,function(t,e){return Et(R(t,t[yt]),e)}),St=o(function(){return 1===new G(new Uint16Array([1]).buffer)[0]}),xt=!!G&&!!G.prototype.set&&o(function(){new G(1).set({})}),kt=function(t,e){if(void 0===t)throw V("Wrong length!");var n=+t,r=g(t);if(e&&!_(n,r))throw z("Wrong length!");return r},Mt=function(t,e){var n=p(t);if(n<0||n%e)throw z("Wrong offset!");return n},Ot=function(t){if(b(t)&&_t in t)return t;throw V(t+" is not a typed array!")},Et=function(t,e){if(!(b(t)&&vt in t))throw V("It is not a typed array constructor!");return new t(e)},Pt=function(t,e){return At(R(t,t[yt]),e)},At=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){W(t,e,{get:function(){return this._d[n]}})},Dt=function(t){var e,n,r,i,o,a,s=S(t),u=arguments.length,f=u>1?arguments[1]:void 0,l=void 0!==f,h=E(s);if(void 0!=h&&!x(h)){for(a=h.call(s),r=[],e=0;!(o=a.next()).done;e++)r.push(o.value);s=r}for(l&&u>2&&(f=c(f,arguments[2],2)),e=0,n=g(s.length),i=Et(this,n);n>e;e++)i[e]=l?f(s[e],e):s[e];return i},Rt=function(){for(var t=0,e=arguments.length,n=Et(this,e);e>t;)n[t]=arguments[t++];return n},Yt=!!G&&o(function(){dt.call(new G(1))}),jt=function(){return dt.apply(Yt?lt.call(Ot(this)):Ot(this),arguments)},It={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 F.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 bt(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 ft.call(Ot(this),t)},subarray:function(t,e){var n=Ot(this),r=n.length,i=v(t,r);return new(R(n,n[yt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,g((void 0===e?r:v(e,r))-i))}},Ct=function(t,e){return Pt(this,lt.call(Ot(this),t,e))},Ft=function(t){Ot(this);var e=Mt(arguments[1],1),n=this.length,r=S(t),i=g(r.length),o=0;if(i+e>n)throw z("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 b(t)&&t[_t]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Ut=function(t,e){return Lt(t,e=y(e,!0))?l(2,t[e]):B(t,e)},Wt=function(t,e,n){return!(Lt(t,e=y(e,!0))&&b(n)&&m(n,"value"))||m(n,"get")||m(n,"set")||n.configurable||m(n,"writable")&&!n.writable||m(n,"enumerable")&&!n.enumerable?W(t,e,n):(t[e]=n.value,t)};mt||(U.f=Ut,L.f=Wt),a(a.S+a.F*!mt,"Object",{getOwnPropertyDescriptor:Ut,defineProperty:Wt}),o(function(){ht.call({})})&&(ht=dt=function(){return ct.call(this)});var Bt=d({},It);d(Bt,Nt),h(Bt,pt,Nt.values),d(Bt,{slice:Ct,set:Ft,constructor:function(){},toString:ht,toLocaleString:jt}),Tt(Bt,"buffer","b"),Tt(Bt,"byteOffset","o"),Tt(Bt,"byteLength","l"),Tt(Bt,"length","e"),W(Bt,gt,{get:function(){return this[_t]}}),t.exports=function(t,e,n,u){u=!!u;var c=t+(u?"Clamped":"")+"Array",l="Uint8Array"!=c,d="get"+t,p="set"+t,v=i[c],y=v||{},m=v&&M(v),_=!v||!s.ABV,S={},x=v&&v.prototype,E=function(t,n){var r=t._d;return r.v[d](n*e+r.o,St)},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,St)},A=function(t,e){W(t,e,{get:function(){return E(this,e)},set:function(t){return P(this,e,t)},enumerable:!0})};_?(v=n(function(t,n,r,i){f(t,v,c,"_d");var o,a,s,u,l=0,d=0;if(b(n)){if(!(n instanceof q||"ArrayBuffer"==(u=w(n))||"SharedArrayBuffer"==u))return _t in n?At(v,n):Dt.call(v,n);o=n,d=Mt(r,e);var p=n.byteLength;if(void 0===i){if(p%e)throw z("Wrong length!");if((a=p-d)<0)throw z("Wrong length!")}else if((a=g(i)*e)+d>p)throw z("Wrong length!");s=a/e}else s=kt(n,!0),a=s*e,o=new q(a);for(h(t,"_d",{b:o,o:d,l:a,e:s,v:new Z(o)});l<s;)A(t,l++)}),x=v.prototype=k(Bt),h(x,"constructor",v)):I(function(t){new v(null),new v(t)},!0)||(v=n(function(t,n,r,i){f(t,v,c);var o;return b(n)?n instanceof q||"ArrayBuffer"==(o=w(n))||"SharedArrayBuffer"==o?void 0!==i?new y(n,Mt(r,e),i):void 0!==r?new y(n,Mt(r,e)):new y(n):_t in n?At(v,n):Dt.call(v,n):new y(kt(n,l))}),J(m!==Function.prototype?O(y).concat(O(m)):O(y),function(t){t in v||h(v,t,y[t])}),v.prototype=x,r||(x.constructor=v));var T=x[pt],D=!!T&&("values"==T.name||void 0==T.name),R=Nt.values;h(v,vt,!0),h(x,_t,c),h(x,wt,!0),h(x,yt,v),(u?new v(1)[gt]==c:gt in x)||W(x,gt,{get:function(){return c}}),S[c]=v,a(a.G+a.W+a.F*(v!=y),S),a(a.S,c,{BYTES_PER_ELEMENT:e,from:Dt,of:Rt}),"BYTES_PER_ELEMENT"in x||h(x,"BYTES_PER_ELEMENT",e),a(a.P,c,It),C(c),a(a.P+a.F*xt,c,{set:Ft}),a(a.P+a.F*!D,c,Nt),a(a.P+a.F*(x.toString!=ht),c,{toString:ht}),a(a.P+a.F*o(function(){new v(1).slice()}),c,{slice:Ct}),a(a.P+a.F*(o(function(){return[1,2].toLocaleString()!=new v([1,2]).toLocaleString()})||!o(function(){x.toLocaleString.call([1,2])})),c,{toLocaleString:jt}),j[c]=D?T:R,r||D||h(x,pt,R)}}else t.exports=function(){}},function(t,e,n){var r=n(40)("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({}))}),f=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},l=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";f(t)}return t[r].i},h=function(t,e){if(!o(t,r)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[r].w},d=function(t){return c&&p.NEED&&u(t)&&!o(t,r)&&f(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:l,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){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){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,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={},f={},e=t.exports=function(t,e,n,l,h){var d,p,g,v,y=h?function(){return t}:u(t),m=r(n,l,e?2:1),_=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(d=s(t.length);d>_;_++)if((v=e?m(a(p=t[_])[0],p[1]):m(t[_]))===c||v===f)return v}else for(g=y.call(t);!(p=g.next()).done;)if((v=i(g,m,p.value,e))===c||v===f)return v};e.BREAK=c,e.RETURN=f},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+"*"),f=RegExp(s+s+"*$"),l=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=l.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(f,"")),t};t.exports=l},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(39);t.exports=function(t){return function(e,n,a){var s,u=r(e),c=i(u.length),f=o(a,c);if(t&&n!=n){for(;c>f;)if((s=u[f++])!=s)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){"use strict";var r=n(2),i=n(0),o=n(13),a=n(37),s=n(28),u=n(42),c=n(32),f=n(4),l=n(3),h=n(55),d=n(44),p=n(66);t.exports=function(t,e,n,g,v,y){var m=r[t],_=m,w=v?"set":"add",b=_&&_.prototype,S={},x=function(t){var e=b[t];o(b,t,"delete"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!f(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 _&&(y||b.forEach&&!l(function(){(new _).entries().next()}))){var k=new _,M=k[w](y?{}:-0,1)!=k,O=l(function(){k.has(1)}),E=h(function(t){new _(t)}),P=!y&&l(function(){for(var t=new _,e=5;e--;)t[w](e,e);return!t.has(-0)});E||(_=e(function(e,n){c(e,_,t);var r=p(new m,e,_);return void 0!=n&&u(n,v,r[w],r),r}),_.prototype=b,b.constructor=_),(O||P)&&(x("delete"),x("has"),v&&x("get")),(P||M)&&x(w),y&&b.clear&&delete b.clear}else _=g.getConstructor(e,t,v,w),a(_.prototype,n),s.NEED=!0;return d(_,t),S[t]=_,i(i.G+i.W+i.F*(_!=m),S),y||g.setStrong(_,t,v),_}},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]),f=c[0],l=c[1];o(function(){var e={};return e[u]=function(){return 7},7!=""[t](e)})&&(i(String.prototype,t,f),r(RegExp.prototype,u,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.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(33)||!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(40),s=a("typed_array"),u=a("view"),c=!(!i.ArrayBuffer||!i.DataView),f=c,l=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(r=i[h[l++]])?(o(r.prototype,s,!0),o(r.prototype,u,!0)):f=!1;t.exports={ABV:c,CONSTR:f,TYPED:s,VIEW:u}},function(t,e,n){"use strict";var r=n(9),i=n(39),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(34),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(33),i=n(0),o=n(13),a=n(12),s=n(10),u=n(43),c=n(69),f=n(44),l=n(17),h=n(5)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,g,v,y,m){c(n,e,g);var _,w,b,S=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)}},x=e+" Iterator",k="values"==v,M=!1,O=t.prototype,E=O[h]||O["@@iterator"]||v&&O[v],P=E||S(v),A=v?k?S("entries"):P:void 0,T="Array"==e?O.entries||E:E;if(T&&(b=l(T.call(new t)))!==Object.prototype&&(f(b,x,!0),r||s(b,h)||a(b,h,p)),k&&E&&"values"!==E.name&&(M=!0,P=function(){return E.call(this)}),r&&!m||!d&&!M&&O[h]||a(O,h,P),u[e]=P,u[x]=p,v)if(_={values:k?P:S("values"),keys:y?P:S("keys"),entries:A},m)for(w in _)w in O||o(O,w,_[w]);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 f=!0,l=document.createTextNode("");new o(c).observe(l,{characterData:!0}),n=function(){l.data=f=!f}}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(40);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),f=n(2),l=f.process,h=f.setImmediate,d=f.clearImmediate,p=f.MessageChannel,g=0,v={},y=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},m=function(t){y.call(t.data)};h&&d||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},d=function(t){delete v[t]},"process"==n(18)(l)?r=function(t){l.nextTick(a(y,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=m,r=a(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",m,!1)):r="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:h,clear:d}},function(t,e,n){"use strict";var r=n(2),i=n(6),o=n(33),a=n(59),s=n(12),u=n(37),c=n(3),f=n(32),l=n(30),h=n(8),d=n(35).f,p=n(7).f,g=n(60),v=n(44),y=r.ArrayBuffer,m=r.DataView,_=r.Math,w=r.RangeError,b=r.Infinity,S=y,x=_.abs,k=_.pow,M=_.floor,O=_.log,E=_.LN2,P=i?"_b":"buffer",A=i?"_l":"byteLength",T=i?"_o":"byteOffset",D=function(t,e,n){var r,i,o,a=Array(n),s=8*n-e-1,u=(1<<s)-1,c=u>>1,f=23===e?k(2,-24)-k(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for(t=x(t),t!=t||t===b?(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?f/o:f*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[l++]=255&i,i/=256,e-=8);for(r=r<<e|i,s+=e;s>0;a[l++]=255&r,r/=256,s-=8);return a[--l]|=128*h,a},R=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--],f=127&c;for(c>>=7;s>0;f=256*f+t[u],u--,s-=8);for(r=f&(1<<-s)-1,f>>=-s,s+=e;s>0;r=256*r+t[u],u--,s-=8);if(0===f)f=1-a;else{if(f===o)return r?NaN:c?-b:b;r+=k(2,e),f-=a}return(c?-1:1)*r*k(2,f-e)},Y=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},j=function(t){return[255&t]},I=function(t){return[255&t,t>>8&255]},C=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},F=function(t){return D(t,52,8)},N=function(t){return D(t,23,4)},L=function(t,e,n){p(t.prototype,e,{get:function(){return this[n]}})},U=function(t,e,n,r){var i=+n,o=l(i);if(i!=o||o<0||o+e>t[A])throw w("Wrong index!");var a=t[P]._b,s=o+t[T],u=a.slice(s,s+e);return r?u:u.reverse()},W=function(t,e,n,r,i,o){var a=+n,s=l(a);if(a!=s||s<0||s+e>t[A])throw w("Wrong index!");for(var u=t[P]._b,c=s+t[T],f=r(+i),h=0;h<e;h++)u[c+h]=f[o?h:e-h-1]},B=function(t,e){f(t,y,"ArrayBuffer");var n=+e,r=h(n);if(n!=r)throw w("Wrong length!");return r};if(a.ABV){if(!c(function(){new y})||!c(function(){new y(.5)})){y=function(t){return new S(B(this,t))};for(var z,V=y.prototype=S.prototype,G=d(S),H=0;G.length>H;)(z=G[H++])in y||s(y,z,S[z]);o||(V.constructor=y)}var q=new m(new y(2)),Z=m.prototype.setInt8;q.setInt8(0,2147483648),q.setInt8(1,2147483649),!q.getInt8(0)&&q.getInt8(1)||u(m.prototype,{setInt8:function(t,e){Z.call(this,t,e<<24>>24)},setUint8:function(t,e){Z.call(this,t,e<<24>>24)}},!0)}else y=function(t){var e=B(this,t);this._b=g.call(Array(e),0),this[A]=e},m=function(t,e,n){f(this,m,"DataView"),f(t,y,"DataView");var r=t[A],i=l(e);if(i<0||i>r)throw w("Wrong offset!");if(n=void 0===n?r-i:h(n),i+n>r)throw w("Wrong length!");this[P]=t,this[T]=i,this[A]=n},i&&(L(y,"byteLength","_l"),L(m,"buffer","_b"),L(m,"byteLength","_l"),L(m,"byteOffset","_o")),u(m.prototype,{getInt8:function(t){return U(this,1,t)[0]<<24>>24},getUint8:function(t){return U(this,1,t)[0]},getInt16:function(t){var e=U(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=U(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return Y(U(this,4,t,arguments[1]))},getUint32:function(t){return Y(U(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return R(U(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return R(U(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){W(this,1,t,j,e)},setUint8:function(t,e){W(this,1,t,j,e)},setInt16:function(t,e){W(this,2,t,I,e,arguments[2])},setUint16:function(t,e){W(this,2,t,I,e,arguments[2])},setInt32:function(t,e){W(this,4,t,C,e,arguments[2])},setUint32:function(t,e){W(this,4,t,C,e,arguments[2])},setFloat32:function(t,e){W(this,4,t,N,e,arguments[2])},setFloat64:function(t,e){W(this,8,t,F,e,arguments[2])}});v(y,"ArrayBuffer"),v(m,"DataView"),s(m.prototype,a.VIEW,!0),e.ArrayBuffer=y,e.DataView=m},function(t,e,n){var r=n(2),i=n(24),o=n(33),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(w.isFunction(t)){if(x)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(x||!w.isFunction(t))return w.inspect(t);var e=s(t);return"[Function"+(e?": "+e:"")+"]"}function f(t){return u(c(t.actual),128)+" "+t.operator+" "+u(c(t.expected),128)}function l(t,e,n,r,i){throw new k.AssertionError({message:n,actual:t,expected:e,operator:r,stackStartFunction:i})}function h(t,e){t||l(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(w.isDate(t)&&w.isDate(e))return t.getTime()===e.getTime();if(w.isRegExp(t)&&w.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),g(t,e,n,s))}return n?t===e:t==e}function p(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function g(t,e,n,r){if(null===t||void 0===t||null===e||void 0===e)return!1;if(w.isPrimitive(t)||w.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=S.call(t),e=S.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 v(t,e,n){d(t,e,!0)&&l(t,e,n,"notDeepStrictEqual",v)}function y(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 m(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=m(e),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),t&&!i&&l(i,n,"Missing expected exception"+r);var o="string"==typeof r,a=!t&&w.isError(i),s=!t&&i&&!n;if((a&&o&&y(i,n)||s)&&l(i,n,"Got unwanted exception"+r),t&&i&&n&&!y(i,n)||!t&&i)throw i}var w=n(318),b=Object.prototype.hasOwnProperty,S=Array.prototype.slice,x=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=f(this),this.generatedMessage=!0);var e=t.stackStartFunction||l;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}}},w.inherits(k.AssertionError,Error),k.fail=l,k.ok=h,k.equal=function(t,e,n){t!=e&&l(t,e,n,"==",k.equal)},k.notEqual=function(t,e,n){t==e&&l(t,e,n,"!=",k.notEqual)},k.deepEqual=function(t,e,n){d(t,e,!1)||l(t,e,n,"deepEqual",k.deepEqual)},k.deepStrictEqual=function(t,e,n){d(t,e,!0)||l(t,e,n,"deepStrictEqual",k.deepStrictEqual)},k.notDeepEqual=function(t,e,n){d(t,e,!1)&&l(t,e,n,"notDeepEqual",k.notDeepEqual)},k.notDeepStrictEqual=v,k.strictEqual=function(t,e,n){t!==e&&l(t,e,n,"===",k.strictEqual)},k.notStrictEqual=function(t,e,n){t===e&&l(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)b.call(t,n)&&e.push(n);return e}}).call(e,n(31))},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(307),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,f=1e3,l=500,h=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:"setRanks",value:function(t,e){f=t,l=e}},{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>=f?this.graphics.get("legendary"):this.xp>=l?this.graphics.get("elite"):this.graphics.get("novice"):null}},{key:"level",get:function(){return Math.ceil((this.xp+1)/c)}}]),t}();e.default=h},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(39),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,f=Math.min((void 0===c?a:i(c,a))-u,a-s),l=1;for(u<s&&s<u+f&&(l=-1,u+=f-1,s+=f-1);f-- >0;)u in n?n[s]=n[u]:delete n[s],s+=l,u+=l;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),f=o(c),l=a(c.length),h=u?l-1:0,d=u?-1:1;if(n<2)for(;;){if(h in f){s=f[h],h+=d;break}if(h+=d,u?h<0:l<=h)throw TypeError("Reduce of empty array with no initial value")}for(;u?h>=0:l>h;h+=d)h in f&&(s=e(s,f[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(34),o=n(37),a=n(25),s=n(32),u=n(19),c=n(42),f=n(70),l=n(99),h=n(38),d=n(6),p=n(28).fastKey,g=d?"_s":"size",v=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,f){var l=t(function(t,r){s(t,l,e,"_i"),t._i=i(null),t._f=void 0,t._l=void 0,t[g]=0,void 0!=r&&c(r,n,t[f],t)});return o(l.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[g]=0},delete:function(t){var e=this,n=v(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[g]--}return!!n},forEach:function(t){s(this,l,"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!!v(this,t)}}),d&&r(l.prototype,"size",{get:function(){return u(this[g])}}),l},def:function(t,e,n){var r,i,o=v(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[g]++,"F"!==i&&(t._i[i]=o)),t},getEntry:v,setStrong:function(t,e,n){f(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?l(0,n.k):"values"==e?l(0,n.v):l(0,[n.k,n.v]):(t._t=void 0,l(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(37),i=n(28).getWeak,o=n(1),a=n(4),s=n(32),u=n(42),c=n(21),f=n(10),l=c(5),h=c(6),d=0,p=function(t){return t._l||(t._l=new g)},g=function(){this.a=[]},v=function(t,e){return l(t.a,function(t){return t[0]===e})};g.prototype={get:function(t){var e=v(this,t);if(e)return e[1]},has:function(t){return!!v(this,t)},set:function(t,e){var n=v(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&&f(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&&f(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(36),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,f=i.f,l=o.f;u>c;)for(var h,d=s(arguments[c++]),p=f?r(d).concat(f(d)):r(d),g=p.length,v=0;g>v;)l.call(d,h=p[v++])&&(n[h]=d[h]);return n}:u},function(t,e,n){var r=n(7),i=n(1),o=n(36);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(35).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(36),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,f=[];u>c;)o.call(a,n=s[c++])&&f.push(t?[n,a[n]]:a[n]);return f}}},function(t,e,n){var r=n(35),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),f=r(e);if(f<=u||""==c)return s;var l=f-u,h=i.call(c,Math.ceil(l/c.length));return h.length>l&&(h=h.slice(0,l)),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),f=a.getWeak,l=Object.isExtensible,h=u.ufstore,d={},p=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},g={get:function(t){if(c(t)){var e=f(t);return!0===e?h(this).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(this,t,e)}},v=t.exports=n(50)("WeakMap",p,g,u,!0,!0);7!=(new v).set((Object.freeze||Object)(d),7).get(d)&&(r=u.getConstructor(p),s(r.prototype,g),a.NEED=!0,i(["delete","has","get","set"],function(t){var e=v.prototype,n=e[t];o(e,t,function(e,i){if(c(e)&&!l(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=R(t)||l(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+A(D()*(e-t+1))}function u(t,e){return!!(e=null==e?w: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 f(t){var e=h(t)?t:_(t),n=e.length;return n>0?e[s(0,n-1)]:void 0}function l(t){return d(t)&&O.call(t,"callee")&&(!P.call(t,"callee")||E.call(t)==b)}function h(t){return null!=t&&g(t.length)&&!p(t)}function d(t){return y(t)&&h(t)}function p(t){var e=v(t)?E.call(t):"";return e==S||e==x}function g(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=w}function v(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function y(t){return!!t&&"object"==typeof t}function m(t){return h(t)?o(t):a(t)}function _(t){return t?i(t,m(t)):[]}var w=9007199254740991,b="[object Arguments]",S="[object Function]",x="[object GeneratorFunction]",k=/^(?:0|[1-9]\d*)$/,M=Object.prototype,O=M.hasOwnProperty,E=M.toString,P=M.propertyIsEnumerable,A=Math.floor,T=function(t,e){return function(n){return t(e(n))}}(Object.keys,Object),D=Math.random,R=Array.isArray;t.exports=f},function(t,e,n){"use strict";(function(t){function r(t){return t&&t.__esModule?t:{default:t}}function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(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,v.default)(e.characterClass)||"Adventurer"),t.m=n+" :: "+t.m,t}function s(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,p.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,p.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+": "+A.default.printItems(u)+" "+this.graphics.render("treasure")+"\n "),this.messenger.alert("\n -----------------------------------------------------------------------------------------------------\n The following items have been added to your inventory:\n "+A.default.printItems(u)+".\n (Type /use item_name to use an item)\n -----------------------------------------------------------------------------------------------------\n ",t.name)}return i}function u(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 c(t){return null!==this.command.evaluate(t)?Object.assign(t,{"X-Spam":!0}):a.call(this,t)}function f(t){var e=t.from_user,n=this.fetchPlayer(e),r=this.enemy.hp;if(n.characterClass||this.info.showClasses(n),s.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){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),h=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}}(),d=n(116),p=r(d),g=n(311),v=r(g),y=n(310),m=n(119),_=r(m),w=n(120),b=r(w),S=n(121),x=r(S),k=n(123),M=r(k),O=n(124),E=r(O),P=n(87),A=r(P),T=function(){function e(t){o(this,e),this.cb=t,this.enemy=null,this.players=new Map,this.prizes={},this.winners=[],this.command=new _.default,this.graphics=new x.default(t),this.messenger=new E.default(t),this.info=new M.default(this.messenger,this,this.graphics),this.totalDamage=0,this.totalKills=0,this.rewardLog=[]}return h(e,[{key:"showInfo",value:function(){return this.messenger.say("Running Battlebate v"+y.version),this}},{key:"registerCommands",value:function(){var e=this;this.command.register("/class",[{name:"heroClass",type:"directive",values:["bard","fighter","ranger","warlock"]}],function(t,n,r){var i=r.heroClass,o=e.fetchPlayer(t.user);i?(o.changeClass(i),e.messenger.whisper("You have become a "+i+" - type /help for the full guide.",t.user)):e.messenger.whisper("Unknown hero class selected for /class command. Valid options are: fighter, ranger, warlock, bard.",t.user)}),this.command.register("/use",[{name:"item",type:"any",values:this.prizes.loot}],function(t,n,r){var i=e.fetchPlayer(t.user),o=r.item;o&&i.inventory.some(function(t){return t.toLowerCase()===o.toLowerCase()})?(i.useItem(o),e.logReward(i.name,o),e.messenger.announce("\n "+e.graphics.render("item")+" "+t.user+' uses an item: "'+o+'"! '+e.graphics.render("item")+"\n ")):e.messenger.whisper("\n Looks like you don't have that item in your inventory...\n Current inventory: "+A.default.printItems(i.inventory)+"\n ",t.user)}),this.command.register("/info",null,function(t){var n=e.fetchPlayer(t.user);e.info.showPlayerInfo(n)}),this.command.register("/help",[{name:"audience",type:"directive",values:["all"]}],function(t,n,r){var i=r.audience,o=e.fetchPlayer(t.user);if("all"!==i)return void e.info.showHelp(o);t.is_mod||t.user===e.cb.room_slug?e.info.showWelcome():e.messenger.whisper("Only the broadcaster or mods can do that",t.user)}),this.command.register("/classes",[{name:"audience",type:"directive",values:["all"]}],function(t,n,r){var i=r.audience,o=e.fetchPlayer(t.user);if("all"!==i)return void e.info.showClasses(o);t.is_mod||t.user===e.cb.room_slug?e.info.showClasses():e.messenger.whisper("Only the broadcaster or mods can do that",t.user)}),this.command.register("/graphics",[{name:"level",type:"directive",values:["sprite","icon","text"]}],function(t,n,r){return t.is_mod||t.user===e.cb.room_slug?null===r.level?void e.messenger.whisper("You dun goofed. Try /graphics sprite|icon|text",t.user):(e.cb.settings.graphics=r.level,void e.messenger.whisper('Graphics level has been to changed to "'+r.level+'".',t.user)):void e.messenger.whisper("Only the broadcaster or mods can do that",t.user)}),this.command.register("/goal",[{name:"amount",type:"number",values:[]}],function(t,n,r){if(!t.is_mod&&t.user!==e.cb.room_slug)return void e.messenger.whisper("Only the broadcaster or mods can do that",t.user);var i=Number(r.amount);i&&i>0?(e.totalKills=0,e.totalDamage=0,e.cb.settings.goal=i,e.spawnEnemy(),e.cb.drawPanel()):e.messenger.whisper("Choose a token amount greater than 0 (e.g. /goal 1000)",t.user)}),this.command.register("/rewards",null,function(t,n){if(!t.is_mod&&t.user!==e.cb.room_slug)return void e.messenger.whisper("Only the broadcaster or mods can do that",t.user);e.info.showRewards()}),this.command.register("/save",null,function(n,r){if(!n.is_mod&&n.user!==e.cb.room_slug)return void e.messenger.whisper("Only the broadcaster or mods can do that",n.user);var o=new Map([].concat(i(e.players)).filter(function(t){var e=l(t,2);e[0];return e[1].xp>0}));e.messenger.say(new t(JSON.stringify(o)).toString("base64"),n.user)})}},{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: "+A.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 b.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,A.default.setupAbility("bardic-song",this.prizes.bardicSong),A.default.setupAbility("command",this.prizes.command),A.default.setupAbility("called-shot",this.prizes.calledShot),this}},{key:"setupLevelUpRequirement",value:function(){var t=this.cb.settings.level_up_requirement;return A.default.setLevelUpRequirement(t),this}},{key:"setupRanks",value:function(){var t=this.cb.settings.legendary_rank_xp,e=this.cb.settings.elite_rank_xp;return A.default.setRanks(t,e),this}},{key:"addPlayer",value:function(t,e){var n=new A.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:"importSave",value:function(){var e=this,n=this.cb.settings.save;if(n){JSON.parse(new t(n,"base64").toString("utf8")).forEach(function(t){var n=l(t,2),r=n[0],i=n[1],o=new A.default(r);o.xp=i.xp,o.inventory=i.inventory,i.characterClass&&o.changeClass(i.characterClass),e.players.set(r,o)})}return 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,p.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:"legendary_rank_xp",label:"Tokens needed to level pass legendary rank",type:"int",minValue:1,maxValue:1e5,defaultValue:1e3},{name:"elite_rank_xp",label:"Tokens needed to level pass elite rank",type:"int",minValue:1,maxValue:1e5,defaultValue:500},{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"},{name:"save",label:"Saved Game Code",type:"str",defaultValue:"",required:!1}],this.importSave(),this.setupPrizes(),this.setupLevelUpRequirement(),this.setupRanks(),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,v.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(f.bind(this)),this.cb.onEnter(u.bind(this)),this.cb.onMessage(c.bind(this)),this}}]),e}();e.default=T}).call(e,n(313).Buffer)},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(306),n(315),n(126),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(31))},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,f=r[Symbol.iterator]();!(o=(u=f.next()).done);o=!0){var l=u.value,h=c.get(l.type);if(h.test(n)){var d=n.match(h)[0];i[l.name]=!l.values.length||~l.values.indexOf(d)?d:null}else i[l.name]=null}}catch(t){a=!0,s=t}finally{try{!o&&f.return&&f.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+/),f=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 f=c.params?i(t.m,c):null;e=c.callback(t,c,f);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=f,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"}]),f=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=f},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(31))},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(312),s=r(a),u=n(87),c=r(u),f=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()},l=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()},g=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(f.call(null,this.game,this.graphics),t.name),this}},{key:"showPlayerInfo",value:function(t){var e=l.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=f,e.CLASS_INFO=d,e.PLAYER_INFO=l,e.REWARDS=h,e.HELP=p,e.default=g},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){"use strict";function r(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function i(t){return 3*t.length/4-r(t)}function o(t){var e,n,i,o,a,s=t.length;o=r(t),a=new l(3*s/4-o),n=o>0?s-4:s;var u=0;for(e=0;e<n;e+=4)i=f[t.charCodeAt(e)]<<18|f[t.charCodeAt(e+1)]<<12|f[t.charCodeAt(e+2)]<<6|f[t.charCodeAt(e+3)],a[u++]=i>>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=f[t.charCodeAt(e)]<<2|f[t.charCodeAt(e+1)]>>4,a[u++]=255&i):1===o&&(i=f[t.charCodeAt(e)]<<10|f[t.charCodeAt(e+1)]<<4|f[t.charCodeAt(e+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}function a(t){return c[t>>18&63]+c[t>>12&63]+c[t>>6&63]+c[63&t]}function s(t,e,n){for(var r,i=[],o=e;o<n;o+=3)r=(t[o]<<16)+(t[o+1]<<8)+t[o+2],i.push(a(r));return i.join("")}function u(t){for(var e,n=t.length,r=n%3,i="",o=[],a=0,u=n-r;a<u;a+=16383)o.push(s(t,a,a+16383>u?u:a+16383));return 1===r?(e=t[n-1],i+=c[e>>2],i+=c[e<<4&63],i+="=="):2===r&&(e=(t[n-2]<<8)+t[n-1],i+=c[e>>10],i+=c[e>>4&63],i+=c[e<<2&63],i+="="),o.push(i),o.join("")}e.byteLength=i,e.toByteArray=o,e.fromByteArray=u;for(var c=[],f=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=0,p=h.length;d<p;++d)c[d]=h[d],f[h.charCodeAt(d)]=d;f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63},function(t,e,n){n(135),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(127);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(36),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(36),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(133),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,f=0;if(!u&&!a)return i(t,n,o);if(r=n.slice(),u)for(;e>c;c++)r[c]===s&&(r[c]=arguments[f++]);for(;a>f;)r.push(arguments[f++]);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(134)(/[\\^$*+?.()|[\]{}]/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),f=n(84);i(i.S+i.F*!n(55)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,i,l,h=o(t),d="function"==typeof this?this:Array,p=arguments.length,g=p>1?arguments[1]:void 0,v=void 0!==g,y=0,m=f(h);if(v&&(g=r(g,p>2?arguments[2]:void 0,2)),void 0==m||d==Array&&s(m))for(e=u(h.length),n=new d(e);e>y;y++)c(n,y,v?g(h[y],y):h[y]);else for(l=m.call(h),n=new d;!(i=l.next()).done;y++)c(n,y,v?a(l,g,[i.value,y],!0):i.value);return n.length=y,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(39),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),f=s(c-i),l=Array(f),h=0;h<f;h++)l[h]="String"==r?this.charAt(i+h):this[i+h];return l}})},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(38)("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(129))},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),f=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*f(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(35).f,f=n(16).f,l=n(7).f,h=n(45).trim,d=r.Number,p=d,g=d.prototype,v="Number"==o(n(34)(g)),y="trim"in String.prototype,m=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){e=y?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,f=u.length;c<f;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&&(v?u(function(){g.valueOf.call(n)}):"Number"!=o(n))?a(new p(m(e)),n,d):m(e)};for(var _,w=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(","),b=0;w.length>b;b++)i(p,_=w[b])&&!i(d,_)&&l(d,_,f(p,_));d.prototype=g,g.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],f="Number.toFixed: incorrect invocation!",l=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)},g=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,f),c=i(t),v="",y="0";if(c<0||c>20)throw RangeError(f);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(v="-",u=-u),u>1e-21)if(e=g(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(l(0,n),r=c;r>=7;)l(1e7,0),r-=7;for(l(p(10,r,1),0),r=e-1;r>=23;)h(1<<23),r-=23;h(1<<r),l(1,1),h(2),y=d()}else l(0,n),l(1<<-e,0),y=d()+a.call("0",c);return c>0?(s=y.length,y=v+(s<=c?"0."+a.call("0",c-s)+y:y.slice(0,s-c)+"."+y.slice(s-c))):y=v+y,y}})},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(34)})},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(36);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(33),s=n(2),u=n(25),c=n(46),f=n(0),l=n(4),h=n(11),d=n(32),p=n(42),g=n(76),v=n(81).set,y=n(73)(),m=s.TypeError,_=s.process,w=s.Promise,_=s.process,b="process"==c(_),S=function(){},x=!!function(){try{var t=w.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(S,S)};return(b||"function"==typeof PromiseRejectionEvent)&&t.then(S)instanceof e}catch(t){}}(),k=function(t,e){return t===e||t===w&&e===o},M=function(t){var e;return!(!l(t)||"function"!=typeof(e=t.then))&&e},O=function(t){return k(w,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 m("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}}},A=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(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&&R(t),t._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===e.promise?u(m("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){v.call(s,function(){var e,n,r,i=t._v;if(D(t)&&(e=P(function(){b?_.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=b||D(t)?2:1),t._a=void 0,e)throw e.error})},D=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||!D(e.promise))return!1;return!0},R=function(t){v.call(s,function(){var e;b?_.emit("rejectionHandled",t):(e=s.onrejectionhandled)&&e({promise:t,reason:t._v})})},Y=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()),A(e,!0))},j=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw m("Promise can't be resolved itself");(e=M(t))?y(function(){var r={_w:n,_d:!1};try{e.call(t,u(j,r,1),u(Y,r,1))}catch(t){Y.call(r,t)}}):(n._v=t,n._s=1,A(n,!1))}catch(t){Y.call({_w:n,_d:!1},t)}}};x||(w=function(t){d(this,w,"Promise","_h"),h(t),r.call(this);try{t(u(j,this,1),u(Y,this,1))}catch(t){Y.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(37)(w.prototype,{then:function(t,e){var n=O(g(this,w));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=b?_.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&A(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(j,t,1),this.reject=u(Y,t,1)}),f(f.G+f.W+f.F*!x,{Promise:w}),n(44)(w,"Promise"),n(38)("Promise"),o=n(24).Promise,f(f.S+f.F*!x,"Promise",{reject:function(t){var e=O(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!x),"Promise",{resolve:function(t){if(t instanceof w&&k(t.constructor,this))return t;var e=O(this);return(0,e.resolve)(t),e.promise}}),f(f.S+f.F*!(x&&n(55)(function(t){w.all(t).catch(S)})),"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(34),o=n(11),a=n(1),s=n(4),u=n(3),c=n(92),f=(n(2).Reflect||{}).construct,l=u(function(){function t(){}return!(f(function(){},[],t)instanceof t)}),h=!u(function(){f(function(){})});r(r.S+r.F*(l||h),"Reflect",{construct:function(t,e){o(t),a(e);var n=arguments.length<3?t:o(arguments[2]);if(h&&!l)return f(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,f=arguments.length<3?t:arguments[2];return c(t)===f?t[e]:(n=i.f(t,e))?a(n,"value")?n.value:void 0!==n.get?n.get.call(f):void 0:u(s=o(t))?r(s,e,f):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(f(t),e);if(!p){if(l(h=a(t)))return r(h,e,n,d);p=c(0)}return s(p,"value")?!(!1===p.writable||!l(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),f=n(1),l=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(35).f,s=n(54),u=n(52),c=r.RegExp,f=c,l=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 f(r&&!o?t.source:t,e):f((r=t instanceof c)?t.source:t,r&&o?u.call(t):e),n?this:l,c)};for(var g=a(f),v=0;g.length>v;)!function(t){t in c||o(c,t,{configurable:!0,get:function(){return f[t]},set:function(e){f[t]=e}})}(g[v++]);l.constructor=c,c.prototype=l,n(13)(r,"RegExp",c)}n(38)("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,f,l,h,d=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),g=0,v=void 0===e?4294967295:e>>>0,y=new RegExp(t.source,p+"g");for(u||(r=new RegExp("^"+y.source+"$(?!\\s)",p));(c=y.exec(n))&&!((f=c.index+c[0][s])>g&&(d.push(n.slice(g,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)),l=c[0][s],g=f,d[s]>=v));)y.lastIndex===c.index&&y.lastIndex++;return g===n[s]?!l&&y.test("")||d.push(""):d.push(n.slice(g)),d[s]>v?d.slice(0,v):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(39),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),f=n(58),l=n(44),h=n(40),d=n(5),p=n(111),g=n(83),v=n(131),y=n(130),m=n(68),_=n(1),w=n(15),b=n(23),S=n(29),x=n(34),k=n(103),M=n(16),O=n(7),E=n(36),P=M.f,A=O.f,T=k.f,D=r.Symbol,R=r.JSON,Y=R&&R.stringify,j=d("_hidden"),I=d("toPrimitive"),C={}.propertyIsEnumerable,F=f("symbol-registry"),N=f("symbols"),L=f("op-symbols"),U=Object.prototype,W="function"==typeof D,B=r.QObject,z=!B||!B.prototype||!B.prototype.findChild,V=o&&c(function(){return 7!=x(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=P(U,e);r&&delete U[e],A(t,e,n),r&&t!==U&&A(U,e,r)}:A,G=function(t){var e=N[t]=x(D.prototype);return e._k=t,e},H=W&&"symbol"==typeof D.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof D},q=function(t,e,n){return t===U&&q(L,e,n),_(t),e=b(e,!0),_(n),i(N,e)?(n.enumerable?(i(t,j)&&t[j][e]&&(t[j][e]=!1),n=x(n,{enumerable:S(0,!1)})):(i(t,j)||A(t,j,S(1,{})),t[j][e]=!0),V(t,e,n)):A(t,e,n)},Z=function(t,e){_(t);for(var n,r=y(e=w(e)),i=0,o=r.length;o>i;)q(t,n=r[i++],e[n]);return t},J=function(t,e){return void 0===e?x(t):Z(x(t),e)},$=function(t){var e=C.call(this,t=b(t,!0));return!(this===U&&i(N,t)&&!i(L,t))&&(!(e||!i(this,t)||!i(N,t)||i(this,j)&&this[j][t])||e)},K=function(t,e){if(t=w(t),e=b(e,!0),t!==U||!i(N,e)||i(L,e)){var n=P(t,e);return!n||!i(N,e)||i(t,j)&&t[j][e]||(n.enumerable=!0),n}},X=function(t){for(var e,n=T(w(t)),r=[],o=0;n.length>o;)i(N,e=n[o++])||e==j||e==u||r.push(e);return r},Q=function(t){for(var e,n=t===U,r=T(n?L:w(t)),o=[],a=0;r.length>a;)!i(N,e=r[a++])||n&&!i(U,e)||o.push(N[e]);return o};W||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===U&&e.call(L,n),i(this,j)&&i(this[j],t)&&(this[j][t]=!1),V(this,t,S(1,n))};return o&&z&&V(U,t,{configurable:!0,set:e}),G(t)},s(D.prototype,"toString",function(){return this._k}),M.f=K,O.f=q,n(35).f=k.f=X,n(48).f=$,n(57).f=Q,o&&!n(33)&&s(U,"propertyIsEnumerable",$,!0),p.f=function(t){return G(d(t))}),a(a.G+a.W+a.F*!W,{Symbol:D});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;)g(tt[et++]);a(a.S+a.F*!W,"Symbol",{for:function(t){return i(F,t+="")?F[t]:F[t]=D(t)},keyFor:function(t){if(H(t))return v(F,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!W,"Object",{create:J,defineProperty:q,defineProperties:Z,getOwnPropertyDescriptor:K,getOwnPropertyNames:X,getOwnPropertySymbols:Q}),R&&a(a.S+a.F*(!W||c(function(){var t=D();return"[null]"!=Y([t])||"{}"!=Y({a:t})||"{}"!=Y(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!H(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&&m(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!H(e))return e}),r[1]=e,Y.apply(R,r)}}}),D.prototype[I]||n(12)(D.prototype,I,D.prototype.valueOf),l(D,"Symbol"),l(Math,"Math",!0),l(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(39),u=n(8),c=n(4),f=n(2).ArrayBuffer,l=n(76),h=o.ArrayBuffer,d=o.DataView,p=i.ABV&&f.isView,g=h.prototype.slice,v=i.VIEW;r(r.G+r.W+r.F*(f!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(t){return p&&p(t)||c(t)&&v 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!==g&&void 0===e)return g.call(a(this),t);for(var n=a(this).byteLength,r=s(t,n),i=s(void 0===e?n:e,n),o=new(l(this,h))(u(i-r)),c=new d(this),f=new d(o),p=0;r<i;)f.setUint8(p++,c.getUint8(r++));return o}}),n(38)("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={},f=0;u.length>f;)s(c,e=u[f++],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),f=n(32),l=n(37),h=n(12),d=n(42),p=d.RETURN,g=function(t){return null==t?void 0:u(t)},v=function(t){var e=t._c;e&&(t._c=void 0,e())},y=function(t){return void 0===t._o},m=function(t){y(t)||(t._o=void 0,v(t))},_=function(t,e){c(t),this._c=void 0,this._o=t,t=new w(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)}y(this)&&v(this)};_.prototype=l({},{unsubscribe:function(){m(this)}});var w=function(t){this._s=t};w.prototype=l({},{next:function(t){var e=this._s;if(!y(e)){var n=e._o;try{var r=g(n.next);if(r)return r.call(n,t)}catch(t){try{m(e)}finally{throw t}}}},error:function(t){var e=this._s;if(y(e))throw t;var n=e._o;e._o=void 0;try{var r=g(n.error);if(!r)throw t;t=r.call(n,t)}catch(t){try{v(e)}finally{throw t}}return v(e),t},complete:function(t){var e=this._s;if(!y(e)){var n=e._o;e._o=void 0;try{var r=g(n.complete);t=r?r.call(n,t):void 0}catch(t){try{v(e)}finally{throw t}}return v(e),t}}});var b=function(t){f(this,b,"Observable","_f")._f=u(t)};l(b.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})})}}),l(b,{from:function(t){var e="function"==typeof this?this:b,n=g(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:b)(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(b.prototype,s,function(){return this}),r(r.G,{Observable:b}),n(38)("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,f=function(t,e){var n=u(t,e),o=s(t);if(null===o)return n;var a=f(o,e);return a.length?n.length?i(new r(n.concat(a))):a:n};o.exp({getMetadataKeys:function(t){return f(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"),f=u("toStringTag"),l=s.Array,h=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],d=0;d<5;d++){var p,g=h[d],v=o[g],y=v&&v.prototype;if(y){y[c]||a(y,c,l),y[f]||a(y,f,g),s[g]=l;for(p in r)y[p]||i(y,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(132),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(255),n(194),n(196),n(195),n(198),n(200),n(205),n(199),n(197),n(207),n(206),n(202),n(203),n(201),n(193),n(204),n(208),n(209),n(161),n(163),n(162),n(211),n(210),n(181),n(191),n(192),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),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(180),n(242),n(247),n(254),n(245),n(237),n(238),n(243),n(248),n(250),n(233),n(234),n(235),n(236),n(239),n(240),n(241),n(244),n(246),n(249),n(251),n(252),n(253),n(156),n(158),n(157),n(160),n(159),n(145),n(143),n(149),n(146),n(152),n(154),n(142),n(148),n(139),n(153),n(137),n(151),n(150),n(144),n(147),n(136),n(138),n(141),n(140),n(155),n(85),n(227),n(232),n(113),n(228),n(229),n(230),n(231),n(212),n(112),n(114),n(115),n(267),n(256),n(257),n(262),n(265),n(266),n(260),n(263),n(261),n(264),n(258),n(259),n(213),n(214),n(215),n(216),n(217),n(220),n(218),n(219),n(221),n(222),n(223),n(224),n(226),n(225),n(268),n(294),n(297),n(296),n(298),n(299),n(295),n(300),n(301),n(279),n(282),n(278),n(276),n(277),n(280),n(281),n(271),n(293),n(302),n(270),n(272),n(274),n(273),n(275),n(284),n(285),n(287),n(286),n(289),n(288),n(290),n(291),n(292),n(269),n(283),n(305),n(304),n(303),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){e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,f=-7,l=n?i-1:0,h=n?-1:1,d=t[e+l];for(l+=h,o=d&(1<<-f)-1,d>>=-f,f+=s;f>0;o=256*o+t[e+l],l+=h,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=r;f>0;a=256*a+t[e+l],l+=h,f-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=c}return(d?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,f=(1<<c)-1,l=f>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),e+=a+l>=1?h/u:h*Math.pow(2,1-l),e*u>=2&&(a++,u/=2),a+l>=f?(s=0,a=f):a+l>=1?(s=(e*u-1)*Math.pow(2,i),a+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[n+d]=255&a,d+=p,a/=256,c-=8);t[n+d-p]|=128*g}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},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",buffer:"^5.0.6",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(w)||[]}function o(t){return W.test(t)}function a(t){return B.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(U)||[]}function f(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 l(t){if("string"==typeof t)return t;if(p(t))return X?X.call(t):"";var e=t+"";return"0"==e&&1/t==-m?"-0":e}function h(t,e,n){var r=t.length;return n=void 0===n?r:n,!e&&n>=r?t:f(t,e,n)}function d(t){return!!t&&"object"==typeof t}function p(t){return"symbol"==typeof t||d(t)&&J.call(t)==_}function g(t){return null==t?"":l(t)}function v(t){return(t=g(t))&&t.replace(b,q).replace(N,"")}function y(t,e,n){return t=g(t),e=n?void 0:e,void 0===e?a(t)?c(t):i(t):t.match(e)||[]}var m=1/0,_="[object Symbol]",w=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,b=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,S="\\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",x="["+S+"]",k="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",M="[a-z\\xdf-\\xf6\\xf8-\\xff]",O="[^\\ud800-\\udfff"+S+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",E="\\ud83c[\\udffb-\\udfff]",P="(?:\\ud83c[\\udde6-\\uddff]){2}",A="[\\ud800-\\udbff][\\udc00-\\udfff]",T="[A-Z\\xc0-\\xd6\\xd8-\\xde]",D="(?:"+M+"|"+O+")",R="(?:[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]|\\ud83c[\\udffb-\\udfff])?",Y="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",P,A].join("|")+")[\\ufe0e\\ufe0f]?"+R+")*",j="[\\ufe0e\\ufe0f]?"+R+Y,I="(?:"+["[\\u2700-\\u27bf]",P,A].join("|")+")"+j,C="(?:"+["[^\\ud800-\\udfff]"+k+"?",k,P,A,"[\\ud800-\\udfff]"].join("|")+")",F=RegExp("['\u2019]","g"),N=RegExp(k,"g"),L=RegExp(E+"(?="+E+")|"+C+j,"g"),U=RegExp([T+"?"+M+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[x,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))?(?="+[x,T+D,"$"].join("|")+")",T+"?"+D+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",T+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d+",I].join("|"),"g"),W=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),B=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,z={"\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,G="object"==typeof self&&self&&self.Object===Object&&self,H=V||G||Function("return this")(),q=function(t){return function(e){return null==t?void 0:t[e]}}(z),Z=Object.prototype,J=Z.toString,$=H.Symbol,K=$?$.prototype:void 0,X=K?K.toString:void 0,Q=function(t){return function(e){return n(y(v(e).replace(F,"")),t,"")}}(function(t,e,n){return t+(n?" ":"")+tt(e)}),tt=function(t){return function(e){e=g(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(31))},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 f(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 l(t,e,n,r){return me(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=br.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 g(t){var e=l(NaN);return null!=t?f(d(e),t):d(e).userInvalidated=!0,e}function v(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),Sr.length>0)for(n=0;n<Sr.length;n++)r=Sr[n],i=e[r],o(i)||(t[r]=i);return t}function y(t){v(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===xr&&(xr=!0,e.updateOffset(this),xr=!1)}function m(t){return t instanceof y||null!=t&&null!=t._isAMomentObject}function _(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function w(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=_(e)),n}function b(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&&w(t[r])!==w(e[r]))&&a++;return a+o}function S(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function x(t,n){var r=!0;return f(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)}S(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]||(S(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=f({},t);for(n in e)c(e,n)&&(r(t[n])&&r(e[n])?(i[n]={},f(i[n],t[n]),f(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]=f({},i[n]));return i}function P(t){null!=t&&this.set(t)}function A(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 D(){return this._invalidDate}function R(t){return this._ordinal.replace("%d",t)}function Y(t,e,n,r){var i=this._relativeTime[n];return M(i)?i(t,e,n,r):i.replace(/%d/i,t)}function j(t,e){var n=this._relativeTime[t>0?"future":"past"];return M(n)?n(e):n.replace(/%s/i,e)}function I(t,e){var n=t.toLowerCase();Rr[n]=Rr[n+"s"]=Rr[e]=t}function C(t){return"string"==typeof t?Rr[t]||Rr[t.toLowerCase()]:void 0}function F(t){var e,n,r={};for(n in t)c(t,n)&&(e=C(n))&&(r[e]=t[n]);return r}function N(t,e){Yr[t]=e}function L(t){var e=[];for(var n in t)e.push({unit:n,priority:Yr[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function U(t,n){return function(r){return null!=r?(B(this,t,r),e.updateOffset(this,n),this):W(this,t)}}function W(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function B(t,e,n){t.isValid()&&t._d["set"+(t._isUTC?"UTC":"")+e](n)}function z(t){return t=C(t),M(this[t])?this[t]():this}function V(t,e){if("object"==typeof t){t=F(t);for(var n=L(t),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit])}else if(t=C(t),M(this[t]))return this[t](e);return this}function G(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 H(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(Fr[t]=i),e&&(Fr[e[0]]=function(){return G(i.apply(this,arguments),e[1],e[2])}),n&&(Fr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function q(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function Z(t){var e,n,r=t.match(jr);for(e=0,n=r.length;e<n;e++)Fr[r[e]]?r[e]=Fr[r[e]]:r[e]=q(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()),Cr[e]=Cr[e]||Z(e),Cr[e](t)):t.localeData().invalidDate()}function $(t,e){function n(t){return e.longDateFormat(t)||t}var r=5;for(Ir.lastIndex=0;r>=0&&Ir.test(t);)t=t.replace(Ir,n),Ir.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]=w(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=l([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=l([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=w(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 ft(t){return null!=t?(ct(this,t),e.updateOffset(this,!0),this):W(this,"Month")}function lt(){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=vi),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=yi),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=l([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 gt(t){return vt(t)?366:365}function vt(t){return t%4==0&&t%100!=0||t%400==0}function yt(){return vt(this.year())}function mt(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 wt(t,e,n){var r=7+e-n;return-(7+_t(t,0,r).getUTCDay()-e)%7+r-1}function bt(t,e,n,r,i){var o,a,s=(7+n-r)%7,u=wt(t,r,i),c=1+7*(e-1)+s+u;return c<=0?(o=t-1,a=gt(o)+c):c>gt(t)?(o=t+1,a=c-gt(t)):(o=t,a=c),{year:o,dayOfYear:a}}function St(t,e,n){var r,i,o=wt(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?(i=t.year()-1,r=a+xt(i,e,n)):a>xt(t.year(),e,n)?(r=a-xt(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function xt(t,e,n){var r=wt(t,e,n),i=wt(t+1,e,n);return(gt(t)-r+i)/7}function kt(t){return St(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=St(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function At(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 Dt(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 Rt(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Yt(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin}function jt(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=l([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 It(t,e,n){var r,i,o;if(this._weekdaysParseExact)return jt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=l([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 Ct(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=At(t,this.localeData()),this.add(t-e,"d")):e}function Ft(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")||Bt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=xi),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ut(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Bt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ki),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Wt(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Bt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Mi),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Bt(){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=l([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 zt(){return this.hours()%12||12}function Vt(){return this.hours()||24}function Gt(t,e){H(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Ht(t,e){return e._meridiemParse}function qt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Zt(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&&b(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=Ai;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 Di[e.parentLocale]||(Di[e.parentLocale]=[]),Di[e.parentLocale].push({name:t,config:e}),null;n=Ti[e.parentLocale]._config}return Ti[t]=new P(E(n,e)),Di[t]&&Di[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=Ai;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=fi),d(t)._overflowWeekday&&-1===e&&(e=li),d(t).overflow=e),t}function ie(t){var e,n,r,i,o,a,s=t._i,u=Ri.exec(s)||Yi.exec(s);if(u){for(d(t).iso=!0,e=0,n=Ii.length;e<n;e++)if(Ii[e][1].exec(u[1])){i=Ii[e][0],r=!1!==Ii[e][2];break}if(null==i)return void(t._isValid=!1);if(u[3]){for(e=0,n=Ci.length;e<n;e++)if(Ci[e][1].exec(u[3])){o=(u[2]||" ")+Ci[e][0];break}if(null==o)return void(t._isValid=!1)}if(!r&&null!=o)return void(t._isValid=!1);if(u[4]){if(!ji.exec(u[4]))return void(t._isValid=!1);a="Z"}t._f=i+(o||"")+(a||""),le(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 f=new Date(n[2]),l=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][f.getDay()];if(n[1].substr(0,3)!==l)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,le(t),d(t).rfc2822=!0}else t._isValid=!1}function ae(t){var n=Fi.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]&&fe(t),null!=t._dayOfYear&&(i=se(t._a[ri],r[ri]),(t._dayOfYear>gt(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:mt).apply(null,o),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ai]=24)}}function fe(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],St(_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=St(_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>xt(n,o,a)?d(t)._overflowWeeks=!0:null!=u?d(t)._overflowWeekday=!0:(s=bt(n,r,i,o,a),t._a[ri]=s.year,t._dayOfYear=s.dayOfYear)}function le(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(jr)||[],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),Fr[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=v({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],le(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));f(t,n||e)}function pe(t){if(!t._d){var e=F(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 ge(t){var e=new y(re(ve(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function ve(t){var e=t._i,r=t._f;return t._locale=t._locale||ee(t._l),null===e||void 0===r&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),m(e)?new y(re(e)):(s(e)?t._d=e:n(r)?de(t):r?le(t):ye(t),p(t)||(t._d=null),t))}function ye(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 me(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,ge(u)}function _e(t,e,n,r){return me(t,e,n,r,!1)}function we(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 be(){return we("isBefore",[].slice.call(arguments,0))}function Se(){return we("isAfter",[].slice.call(arguments,0))}function xe(t){for(var e in t)if(-1===Bi.indexOf(e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<Bi.length;++r)if(t[Bi[r]]){if(n)return!1;parseFloat(t[Bi[r]])!==w(t[Bi[r]])&&(n=!0)}return!0}function ke(){return this._isValid}function Me(){return Ve(NaN)}function Oe(t){var e=F(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,f=e.millisecond||0;this._isValid=xe(e),this._milliseconds=+f+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 Ae(t,e){H(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+G(~~(t/60),2)+e+G(~~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(zi)||["-",0,0],o=60*i[1]+w(i[2]);return 0===o?0:"+"===i[0]?o:-o}function De(t,n){var r,i;return n._isUTC?(r=n.clone(),i=(m(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 Re(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Ye(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=Re(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:Re(this)}function je(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Ie(t){return this.utcOffset(0,t)}function Ce(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Re(this),"m")),this}function Fe(){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 Ue(){if(!o(this._isDSTShifted))return this._isDSTShifted;var t={};if(v(t,this),t=ve(t),t._a){var e=t._isUTC?l(t._a):_e(t._a);this._isDSTShifted=this.isValid()&&b(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function We(){return!!this.isValid()&&!this._isUTC}function Be(){return!!this.isValid()&&this._isUTC}function ze(){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:w(s[oi])*n,h:w(s[ai])*n,m:w(s[si])*n,s:w(s[ui])*n,ms:w(Pe(1e3*s[ci]))*n}):(s=Gi.exec(t))?(n="-"===s[1]?-1:1,o={y:Ge(s[2],n),M:Ge(s[3],n),w:Ge(s[4],n),d:Ge(s[5],n),h:Ge(s[6],n),m:Ge(s[7],n),s:Ge(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=qe(_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 Ge(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function He(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 qe(t,e){var n;return t.isValid()&&e.isValid()?(e=De(e,t),t.isBefore(e)?n=He(t,e):(n=He(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ze(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&&B(t,"Date",W(t,"Date")+a*r),s&&ct(t,W(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=De(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 y(this)}function Qe(t,e){var n=m(t)?t:_e(t);return!(!this.isValid()||!n.isValid())&&(e=C(o(e)?"millisecond":e),"millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function tn(t,e){var n=m(t)?t:_e(t);return!(!this.isValid()||!n.isValid())&&(e=C(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=m(t)?t:_e(t);return!(!this.isValid()||!r.isValid())&&(e=C(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=De(t,this),r.isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),e=C(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 fn(){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 ln(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()&&(m(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()&&(m(t)&&t.isValid()||_e(t).isValid())?Ve({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function gn(t){return this.to(_e(),t)}function vn(t){var e;return void 0===t?this._locale._abbr:(e=ee(t),null!=e&&(this._locale=e),this)}function yn(){return this._locale}function mn(t){switch(t=C(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=C(t),void 0===t||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))}function wn(){return this._d.valueOf()-6e4*(this._offset||0)}function bn(){return Math.floor(this.valueOf()/1e3)}function Sn(){return new Date(this.valueOf())}function xn(){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 f({},d(this))}function Pn(){return d(this).overflow}function An(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Tn(t,e){H(0,[t,t.length],0,e)}function Dn(t){return In.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Rn(t){return In.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Yn(){return xt(this.year(),1,4)}function jn(){var t=this.localeData()._week;return xt(this.year(),t.dow,t.doy)}function In(t,e,n,r,i){var o;return null==t?St(this,r,i).year:(o=xt(t,r,i),e>o&&(e=o),Cn.call(this,t,e,n,r,i))}function Cn(t,e,n,r,i){var o=bt(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 Fn(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]=w(1e3*("0."+t))}function Un(){return this._isUTC?"UTC":""}function Wn(){return this._isUTC?"Coordinated Universal Time":""}function Bn(t){return _e(1e3*t)}function zn(){return _e.apply(null,arguments).parseZone()}function Vn(t){return t}function Gn(t,e,n,r){var i=ee(),o=l().set(r,e);return i[n](o,t)}function Hn(t,e,n){if(a(t)&&(e=t,t=void 0),t=t||"",null!=e)return Gn(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Gn(t,r,n,"month");return i}function qn(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 Gn(e,(n+o)%7,r,"day");var s,u=[];for(s=0;s<7;s++)u[s]=Gn(e,(s+o)%7,r,"day");return u}function Zn(t,e){return Hn(t,e,"months")}function Jn(t,e){return Hn(t,e,"monthsShort")}function $n(t,e,n){return qn(t,e,n,"weekdays")}function Kn(t,e,n){return qn(t,e,n,"weekdaysShort")}function Xn(t,e,n){return qn(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=C(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*w(this._months/12):NaN}function cr(t){return function(){return this.as(t)}}function fr(t){return t=C(t),this.isValid()?this[t+"s"]():NaN}function lr(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")),f=i<=wo.ss&&["s",i]||i<wo.s&&["ss",i]||o<=1&&["m"]||o<wo.m&&["mm",o]||a<=1&&["h"]||a<wo.h&&["hh",a]||s<=1&&["d"]||s<wo.d&&["dd",s]||u<=1&&["M"]||u<wo.M&&["MM",u]||c<=1&&["y"]||["yy",c];return f[2]=e,f[3]=+t>0,f[4]=n,dr.apply(null,f)}function gr(t){return void 0===t?_o:"function"==typeof t&&(_o=t,!0)}function vr(t,e){return void 0!==wo[t]&&(void 0===e?wo[t]:(wo[t]=e,"s"===t&&(wo.ss=e-1),!0))}function yr(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 mr(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r=bo(this._milliseconds)/1e3,i=bo(this._days),o=bo(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,f=t,l=r,h=this.asSeconds();return h?(h<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(c||f||l?"T":"")+(c?c+"H":"")+(f?f+"M":"")+(l?l+"S":""):"P0D"}var _r,wr;wr=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 br=wr,Sr=e.momentProperties=[],xr=!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"},Ar={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}/,Dr={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"},Rr={},Yr={},jr=/(\[[^\[]*\])|(\\)?([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,Ir=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Cr={},Fr={},Nr=/\d/,Lr=/\d\d/,Ur=/\d{3}/,Wr=/\d{4}/,Br=/[+-]?\d{6}/,zr=/\d\d?/,Vr=/\d\d\d\d?/,Gr=/\d\d\d\d\d\d?/,Hr=/\d{1,3}/,qr=/\d{1,4}/,Zr=/[+-]?\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,fi=7,li=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;H("M",["MM",2],"Mo",function(){return this.month()+1}),H("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),H("MMMM",0,0,function(t){return this.localeData().months(this,t)}),I("month","M"),N("month",8),K("M",zr),K("MM",zr,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]=w(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("_"),gi="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),vi=ti,yi=ti;H("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),H(0,["YY",2],0,function(){return this.year()%100}),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),I("year","y"),N("year",1),K("Y",$r),K("YY",zr,Lr),K("YYYY",qr,Wr),K("YYYYY",Zr,Br),K("YYYYYY",Zr,Br),et(["YYYYY","YYYYYY"],ri),et("YYYY",function(t,n){n[ri]=2===t.length?e.parseTwoDigitYear(t):w(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 w(t)+(w(t)>68?1900:2e3)};var mi=U("FullYear",!0);H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),N("week",5),N("isoWeek",5),K("w",zr),K("ww",zr,Lr),K("W",zr),K("WW",zr,Lr),nt(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=w(t)});var _i={dow:0,doy:6};H("d",0,"do","day"),H("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),H("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),H("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),K("d",zr),K("e",zr),K("E",zr),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]=w(t)});var wi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),bi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Si="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xi=ti,ki=ti,Mi=ti;H("H",["HH",2],0,"hour"),H("h",["hh",2],0,zt),H("k",["kk",2],0,Vt),H("hmm",0,0,function(){return""+zt.apply(this)+G(this.minutes(),2)}),H("hmmss",0,0,function(){return""+zt.apply(this)+G(this.minutes(),2)+G(this.seconds(),2)}),H("Hmm",0,0,function(){return""+this.hours()+G(this.minutes(),2)}),H("Hmmss",0,0,function(){return""+this.hours()+G(this.minutes(),2)+G(this.seconds(),2)}),Gt("a",!0),Gt("A",!1),I("hour","h"),N("hour",13),K("a",Ht),K("A",Ht),K("H",zr),K("h",zr),K("k",zr),K("HH",zr,Lr),K("hh",zr,Lr),K("kk",zr,Lr),K("hmm",Vr),K("hmmss",Gr),K("Hmm",Vr),K("Hmmss",Gr),et(["H","HH"],ai),et(["k","kk"],function(t,e,n){var r=w(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]=w(t),d(n).bigHour=!0}),et("hmm",function(t,e,n){var r=t.length-2;e[ai]=w(t.substr(0,r)),e[si]=w(t.substr(r)),d(n).bigHour=!0}),et("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[ai]=w(t.substr(0,r)),e[si]=w(t.substr(r,2)),e[ui]=w(t.substr(i)),d(n).bigHour=!0}),et("Hmm",function(t,e,n){var r=t.length-2;e[ai]=w(t.substr(0,r)),e[si]=w(t.substr(r))}),et("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[ai]=w(t.substr(0,r)),e[si]=w(t.substr(r,2)),e[ui]=w(t.substr(i))});var Oi,Ei=/[ap]\.?m?\.?/i,Pi=U("Hours",!0),Ai={calendar:Pr,longDateFormat:Ar,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Tr,relativeTime:Dr,months:pi,monthsShort:gi,week:_i,weekdays:wi,weekdaysMin:Si,weekdaysShort:bi,meridiemParse:Ei},Ti={},Di={},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=/^\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)?)?$/,ji=/Z|[+-]\d\d(?::?\d\d)?/,Ii=[["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}/]],Ci=[["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/]],Fi=/^\/?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=x("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=x("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:g()}),Ui=x("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:g()}),Wi=function(){return Date.now?Date.now():+new Date},Bi=["year","quarter","month","week","day","hour","minute","second","millisecond"];Ae("Z",":"),Ae("ZZ",""),K("Z",Xr),K("ZZ",Xr),et(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Te(Xr,t)});var zi=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Vi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Gi=/^(-)?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 Hi=Ze(1,"add"),qi=Ze(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Zi=x("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)});H(0,["gg",2],0,function(){return this.weekYear()%100}),H(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Tn("gggg","weekYear"),Tn("ggggg","weekYear"),Tn("GGGG","isoWeekYear"),Tn("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),K("G",$r),K("g",$r),K("GG",zr,Lr),K("gg",zr,Lr),K("GGGG",qr,Wr),K("gggg",qr,Wr),K("GGGGG",Zr,Br),K("ggggg",Zr,Br),nt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=w(t)}),nt(["gg","GG"],function(t,n,r,i){n[i]=e.parseTwoDigitYear(t)}),H("Q",0,"Qo","quarter"),I("quarter","Q"),N("quarter",7),K("Q",Nr),et("Q",function(t,e){e[ii]=3*(w(t)-1)}),H("D",["DD",2],"Do","date"),I("date","D"),N("date",9),K("D",zr),K("DD",zr,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]=w(t.match(zr)[0],10)});var Ji=U("Date",!0);H("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),N("dayOfYear",4),K("DDD",Hr),K("DDDD",Ur),et(["DDD","DDDD"],function(t,e,n){n._dayOfYear=w(t)}),H("m",["mm",2],0,"minute"),I("minute","m"),N("minute",14),K("m",zr),K("mm",zr,Lr),et(["m","mm"],si);var $i=U("Minutes",!1);H("s",["ss",2],0,"second"),I("second","s"),N("second",15),K("s",zr),K("ss",zr,Lr),et(["s","ss"],ui);var Ki=U("Seconds",!1);H("S",0,0,function(){return~~(this.millisecond()/100)}),H(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,function(){return 10*this.millisecond()}),H(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),H(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),H(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),H(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),H(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),I("millisecond","ms"),N("millisecond",16),K("S",Hr,Nr),K("SS",Hr,Lr),K("SSS",Hr,Ur);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=U("Milliseconds",!1);H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var to=y.prototype;to.add=Hi,to.calendar=Ke,to.clone=Xe,to.diff=an,to.endOf=_n,to.format=ln,to.from=hn,to.fromNow=dn,to.to=pn,to.toNow=gn,to.get=z,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=Zi,to.locale=vn,to.localeData=yn,to.max=Ui,to.min=Li,to.parsingFlags=En,to.set=V,to.startOf=mn,to.subtract=qi,to.toArray=xn,to.toObject=kn,to.toDate=Sn,to.toISOString=cn,to.inspect=fn,to.toJSON=Mn,to.toString=un,to.unix=bn,to.valueOf=wn,to.creationData=An,to.year=mi,to.isLeapYear=yt,to.weekYear=Dn,to.isoWeekYear=Rn,to.quarter=to.quarters=Fn,to.month=ft,to.daysInMonth=lt,to.week=to.weeks=Et,to.isoWeek=to.isoWeeks=Pt,to.weeksInYear=jn,to.isoWeeksInYear=Yn,to.date=Ji,to.day=to.days=Ct,to.weekday=Ft,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=Ye,to.utc=Ie,to.local=Ce,to.parseZone=Fe,to.hasAlignedHourOffset=Ne,to.isDST=Le,to.isLocal=We,to.isUtcOffset=Be,to.isUtc=ze,to.isUTC=ze,to.zoneAbbr=Un,to.zoneName=Wn,to.dates=x("dates accessor is deprecated. Use date instead.",Ji),to.months=x("months accessor is deprecated. Use month instead",ft),to.years=x("years accessor is deprecated. Use year instead",mi),to.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",je),to.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ue);var eo=P.prototype;eo.calendar=A,eo.longDateFormat=T,eo.invalidDate=D,eo.ordinal=R,eo.preparse=Vn,eo.postformat=Vn,eo.relativeTime=Y,eo.pastFuture=j,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=Dt,eo.weekdaysMin=Yt,eo.weekdaysShort=Rt,eo.weekdaysParse=It,eo.weekdaysRegex=Lt,eo.weekdaysShortRegex=Ut,eo.weekdaysMinRegex=Wt,eo.isPM=qt,eo.meridiem=Zt,Xt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===w(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=x("moment.lang is deprecated. Use moment.locale instead.",Xt),e.langData=x("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"),fo=cr("y"),lo=lr("milliseconds"),ho=lr("seconds"),po=lr("minutes"),go=lr("hours"),vo=lr("days"),yo=lr("months"),mo=lr("years"),_o=Math.round,wo={ss:44,s:45,m:45,h:22,d:26,M:11},bo=Math.abs,So=Oe.prototype;return So.isValid=ke,So.abs=Qn,So.add=er,So.subtract=nr,So.as=sr,So.asMilliseconds=ro,So.asSeconds=io,So.asMinutes=oo,So.asHours=ao,So.asDays=so,So.asWeeks=uo,So.asMonths=co,So.asYears=fo,So.valueOf=ur,So._bubble=ir,So.get=fr,So.milliseconds=lo,So.seconds=ho,So.minutes=po,So.hours=go,So.days=vo,So.weeks=hr,So.months=yo,So.years=mo,So.humanize=yr,So.toISOString=mr,So.toString=mr,So.toJSON=mr,So.locale=vn,So.localeData=yn,So.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",mr),So.lang=Zi,H("X",0,0,"unix"),H("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(w(t))}),e.version="2.18.1",function(t){_r=t}(_e),e.fn=to,e.min=be,e.max=Se,e.now=Wi,e.utc=l,e.unix=Bn,e.months=Zn,e.isDate=s,e.locale=Xt,e.invalid=g,e.duration=Ve,e.isMoment=m,e.weekdays=$n,e.parseZone=zn,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=C,e.relativeTimeRounding=gr,e.relativeTimeThreshold=vr,e.calendarFormat=$e,e.prototype=to,e})}).call(e,n(319)(t))},function(t,e,n){"use strict";(function(t){function r(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,e){if(r()<e)throw new RangeError("Invalid typed array length");return o.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=o.prototype):(null===t&&(t=new o(e)),t.length=e),t}function o(t,e,n){if(!(o.TYPED_ARRAY_SUPPORT||this instanceof o))return new o(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return c(this,t)}return a(this,t,e,n)}function a(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?h(t,e,n,r):"string"==typeof e?f(t,e,n):d(t,e)}function s(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function u(t,e,n,r){return s(e),e<=0?i(t,e):void 0!==n?"string"==typeof r?i(t,e).fill(n,r):i(t,e).fill(n):i(t,e)}function c(t,e){if(s(e),t=i(t,e<0?0:0|p(e)),!o.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function f(t,e,n){if("string"==typeof n&&""!==n||(n="utf8"),!o.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|v(e,n);t=i(t,r);var a=t.write(e,n);return a!==r&&(t=t.slice(0,a)),t}function l(t,e){var n=e.length<0?0:0|p(e.length);t=i(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function h(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),o.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=o.prototype):t=l(t,e),t}function d(t,e){if(o.isBuffer(e)){var n=0|p(e.length);return t=i(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||J(e.length)?i(t,0):l(t,e);if("Buffer"===e.type&&X(e.data))return l(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function p(t){if(t>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|t}function g(t){return+t!=t&&(t=0),o.alloc(+t)}function v(t,e){if(o.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return V(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return q(t).length;default:if(r)return V(t).length;e=(""+e).toLowerCase(),r=!0}}function y(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return R(this,e,n);case"utf8":case"utf-8":return P(this,e,n);case"ascii":return T(this,e,n);case"latin1":case"binary":return D(this,e,n);case"base64":return E(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function m(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function _(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=o.from(e,r)),o.isBuffer(e))return 0===e.length?-1:w(t,e,n,r,i);if("number"==typeof e)return e&=255,o.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):w(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function w(t,e,n,r,i){function o(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}var a=1,s=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,n/=2}var c;if(i){var f=-1;for(c=n;c<s;c++)if(o(t,c)===o(e,-1===f?0:c-f)){if(-1===f&&(f=c),c-f+1===u)return f*a}else-1!==f&&(c-=c-f),f=-1}else for(n+u>s&&(n=s-u),c=n;c>=0;c--){for(var l=!0,h=0;h<u;h++)if(o(t,c+h)!==o(e,h)){l=!1;break}if(l)return c}return-1}function b(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function S(t,e,n,r){return Z(V(e,t.length-n),t,n,r)}function x(t,e,n,r){return Z(G(e),t,n,r)}function k(t,e,n,r){return x(t,e,n,r)}function M(t,e,n,r){return Z(q(e),t,n,r)}function O(t,e,n,r){return Z(H(e,t.length-n),t,n,r)}function E(t,e,n){return 0===e&&n===t.length?$.fromByteArray(t):$.fromByteArray(t.slice(e,n))}function P(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o=t[i],a=null,s=o>239?4:o>223?3:o>191?2:1;if(i+s<=n){var u,c,f,l;switch(s){case 1:o<128&&(a=o);break;case 2:u=t[i+1],128==(192&u)&&(l=(31&o)<<6|63&u)>127&&(a=l);break;case 3:u=t[i+1],c=t[i+2],128==(192&u)&&128==(192&c)&&(l=(15&o)<<12|(63&u)<<6|63&c)>2047&&(l<55296||l>57343)&&(a=l);break;case 4:u=t[i+1],c=t[i+2],f=t[i+3],128==(192&u)&&128==(192&c)&&128==(192&f)&&(l=(15&o)<<18|(63&u)<<12|(63&c)<<6|63&f)>65535&&l<1114112&&(a=l)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=s}return A(r)}function A(t){var e=t.length;if(e<=Q)return String.fromCharCode.apply(String,t);for(var n="",r=0;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=Q));return n}function T(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function D(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function R(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=z(t[o]);return i}function Y(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function j(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function I(t,e,n,r,i,a){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function C(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function F(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function N(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(t,e,n,r,i){return i||N(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),K.write(t,e,n,r,23,4),n+4}function U(t,e,n,r,i){return i||N(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),K.write(t,e,n,r,52,8),n+8}function W(t){if(t=B(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function B(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function z(t){return t<16?"0"+t.toString(16):t.toString(16)}function V(t,e){e=e||1/0;for(var n,r=t.length,i=null,o=[],a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function G(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function H(t,e){for(var n,r,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)n=t.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}function q(t){return $.toByteArray(W(t))}function Z(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function J(t){return t!==t}var $=n(125),K=n(308),X=n(309);e.Buffer=o,e.SlowBuffer=g,e.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=r(),o.poolSize=8192,o._augment=function(t){return t.__proto__=o.prototype,t},o.from=function(t,e,n){return a(null,t,e,n)},o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0})),o.alloc=function(t,e,n){return u(null,t,e,n)},o.allocUnsafe=function(t){return c(null,t)},o.allocUnsafeSlow=function(t){return c(null,t)},o.isBuffer=function(t){return!(null==t||!t._isBuffer)},o.compare=function(t,e){if(!o.isBuffer(t)||!o.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,a=Math.min(n,r);i<a;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},o.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(t,e){if(!X(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return o.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=o.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var a=t[n];if(!o.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},o.byteLength=v,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)m(this,e,e+1);return this},o.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},o.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},o.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?P(this,0,t):y.apply(this,arguments)},o.prototype.equals=function(t){if(!o.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===o.compare(this,t)},o.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},o.prototype.compare=function(t,e,n,r,i){if(!o.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var a=i-r,s=n-e,u=Math.min(a,s),c=this.slice(r,i),f=t.slice(e,n),l=0;l<u;++l)if(c[l]!==f[l]){a=c[l],s=f[l];break}return a<s?-1:s<a?1:0},o.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},o.prototype.indexOf=function(t,e,n){return _(this,t,e,n,!0)},o.prototype.lastIndexOf=function(t,e,n){return _(this,t,e,n,!1)},o.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,t,e,n);case"utf8":case"utf-8":return S(this,t,e,n);case"ascii":return x(this,t,e,n);case"latin1":case"binary":return k(this,t,e,n);case"base64":return M(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;o.prototype.slice=function(t,e){var n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);var r;if(o.TYPED_ARRAY_SUPPORT)r=this.subarray(t,e),r.__proto__=o.prototype;else{var i=e-t;r=new o(i,void 0);for(var a=0;a<i;++a)r[a]=this[a+t]}return r},o.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||j(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},o.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||j(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},o.prototype.readUInt8=function(t,e){return e||j(t,1,this.length),this[t]},o.prototype.readUInt16LE=function(t,e){return e||j(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUInt16BE=function(t,e){return e||j(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUInt32LE=function(t,e){return e||j(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},o.prototype.readUInt32BE=function(t,e){return e||j(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||j(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*e)),r},o.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||j(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},o.prototype.readInt8=function(t,e){return e||j(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},o.prototype.readInt16LE=function(t,e){e||j(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(t,e){e||j(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(t,e){return e||j(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return e||j(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readFloatLE=function(t,e){return e||j(t,4,this.length),K.read(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return e||j(t,4,this.length),K.read(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return e||j(t,8,this.length),K.read(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return e||j(t,8,this.length),K.read(this,t,!1,52,8)},o.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){I(this,t,e,n,Math.pow(2,8*n)-1,0)}var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},o.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){I(this,t,e,n,Math.pow(2,8*n)-1,0)}var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},o.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,1,255,0),o.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},o.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):C(this,t,e,!0),e+2},o.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):C(this,t,e,!1),e+2},o.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):F(this,t,e,!0),e+4},o.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},o.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);I(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<n&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},o.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);I(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},o.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,1,127,-128),o.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},o.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):C(this,t,e,!0),e+2},o.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):C(this,t,e,!1),e+2},o.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):F(this,t,e,!0),e+4},o.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},o.prototype.writeFloatLE=function(t,e,n){return L(this,t,e,!0,n)},o.prototype.writeFloatBE=function(t,e,n){return L(this,t,e,!1,n)},o.prototype.writeDoubleLE=function(t,e,n){return U(this,t,e,!0,n)},o.prototype.writeDoubleBE=function(t,e,n){return U(this,t,e,!1,n)},o.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,a=r-n;if(this===t&&n<e&&e<r)for(i=a-1;i>=0;--i)t[i+e]=this[i+n];else if(a<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i<a;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+a),e);return a},o.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0);var a;if("number"==typeof t)for(a=e;a<n;++a)this[a]=t;else{var s=o.isBuffer(t)?t:V(new o(t,r).toString()),u=s.length;for(a=0;a<n-e;++a)this[a+e]=s[a%u]}return this};var tt=/[^+\/0-9A-Za-z-_]/g}).call(e,n(31))},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(f===setTimeout)return setTimeout(t,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function o(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function a(){g&&d&&(g=!1,d.length?p=d.concat(p):v=-1,p.length&&s())}function s(){if(!g){var t=i(a);g=!0;for(var e=p.length;e;){for(d=p,p=[];++v<e;)d&&d[v].run();v=-1,e=p.length}d=null,g=!1,o(t)}}function u(t,e){this.fun=t,this.array=e}function c(){}var f,l,h=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(t){f=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(t){l=r}}();var d,p=[],g=!1,v=-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||g||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&&m.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 g()}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var u=f(s,n);if(u){if(u===A)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===A)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=P,n.method="throw",n.arg=c.arg)}}}function f(t,e){var n=t.iterator[e.method];if(n===v){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=v,f(t,e),"throw"===e.method))return A;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var i=r(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,A;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=v),e.delegate=null,A):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,A)}function l(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(l,this),this.reset(!0)}function p(t){if(t){var e=t[w];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(m.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=v,e.done=!0,e};return r.next=r}}return{next:g}}function g(){return{value:v,done:!0}}var v,y=Object.prototype,m=y.hasOwnProperty,_="function"==typeof Symbol?Symbol:{},w=_.iterator||"@@iterator",b=_.asyncIterator||"@@asyncIterator",S=_.toStringTag||"@@toStringTag",x="object"==typeof t,k=e.regeneratorRuntime;if(k)return void(x&&(t.exports=k));k=e.regeneratorRuntime=x?t.exports:{},k.wrap=n;var M="suspendedStart",O="suspendedYield",E="executing",P="completed",A={},T={};T[w]=function(){return this};var D=Object.getPrototypeOf,R=D&&D(D(p([])));R&&R!==y&&m.call(R,w)&&(T=R);var Y=a.prototype=i.prototype=Object.create(T);o.prototype=Y.constructor=a,a.constructor=o,a[S]=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,S in t||(t[S]="GeneratorFunction")),t.prototype=Object.create(Y),t},k.awrap=function(t){return{__await:t}},s(u.prototype),u.prototype[b]=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(Y),Y[S]="Generator",Y[w]=function(){return this},Y.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=v,this.done=!1,this.delegate=null,this.method="next",this.arg=v,this.tryEntries.forEach(h),!t)for(var e in this)"t"===e.charAt(0)&&m.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=v)},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=v),!!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=m.call(i,"catchLoc"),s=m.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&&m.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,A):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),A},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),A}},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=v),A}}}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(e,n(31))},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]),g(n)?r.showHidden=n:n&&e._extend(r,n),b(r.showHidden)&&(r.showHidden=!1),b(r.depth)&&(r.depth=2),b(r.colors)&&(r.colors=!1),b(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),g=s(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(n)),M(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(n);if(0===a.length){if(O(n)){var v=n.name?": "+n.name:"";return t.stylize("[Function"+v+"]","special")}if(S(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 f(n)}var y="",m=!1,w=["{","}"];if(p(n)&&(m=!0,w=["[","]"]),O(n)){y=" [Function"+(n.name?": "+n.name:"")+"]"}if(S(n)&&(y=" "+RegExp.prototype.toString.call(n)),k(n)&&(y=" "+Date.prototype.toUTCString.call(n)),M(n)&&(y=" "+f(n)),0===a.length&&(!m||0==n.length))return w[0]+y+w[1];if(r<0)return S(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special");t.seen.push(n);var b;return b=m?l(t,n,r,g,a):a.map(function(e){return h(t,n,r,g,e,m)}),t.seen.pop(),d(b,y,w)}function c(t,e){if(b(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 m(e)?t.stylize(""+e,"number"):g(e)?t.stylize(""+e,"boolean"):v(e)?t.stylize("null","null"):void 0}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function l(t,e,n,r,i){for(var o=[],a=0,s=e.length;a<s;++a)D(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")),D(r,i)||(a="["+i+"]"),s||(t.seen.indexOf(c.value)<0?(s=v(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")),b(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 g(t){return"boolean"==typeof t}function v(t){return null===t}function y(t){return null==t}function m(t){return"number"==typeof t}function _(t){return"string"==typeof t}function w(t){return"symbol"==typeof t}function b(t){return void 0===t}function S(t){return x(t)&&"[object RegExp]"===P(t)}function x(t){return"object"==typeof t&&null!==t}function k(t){return x(t)&&"[object Date]"===P(t)}function M(t){return x(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 A(t){return t<10?"0"+t.toString(10):t.toString(10)}function T(){var t=new Date,e=[A(t.getHours()),A(t.getMinutes()),A(t.getSeconds())].join(":");return[t.getDate(),I[t.getMonth()],e].join(" ")}function D(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var R=/%[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(R,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])v(s)||!x(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(b(t.process))return function(){return e.deprecate(n,i).apply(this,arguments)};if(!0===r.noDeprecation)return n;var a=!1;return o};var Y,j={};e.debuglog=function(t){if(b(Y)&&(Y=r.env.NODE_DEBUG||""),t=t.toUpperCase(),!j[t])if(new RegExp("\\b"+t+"\\b","i").test(Y)){var n=r.pid;j[t]=function(){var r=e.format.apply(e,arguments);console.error("%s %d: %s",t,n,r)}}else j[t]=function(){};return j[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=g,e.isNull=v,e.isNullOrUndefined=y,e.isNumber=m,e.isString=_,e.isSymbol=w,e.isUndefined=b,e.isRegExp=S,e.isObject=x,e.isDate=k,e.isError=M,e.isFunction=O,e.isPrimitive=E,e.isBuffer=n(317);var I=["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(316),e._extend=function(t,e){if(!e||!x(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t}}).call(e,n(31),n(314))},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- 2025. All Rights Reserved.