diff options
Diffstat (limited to 'webAO/client.b.js')
| -rw-r--r-- | webAO/client.b.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.b.js b/webAO/client.b.js index 980a2ad..8e59907 100644 --- a/webAO/client.b.js +++ b/webAO/client.b.js @@ -1,2 +1,2 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=199)}([function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return o})),n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return c}));n(50),n(79),n(142),n(95),n(52),n(97),n(100),n(81),n(143),n(102),n(103),n(104),n(105),n(106),n(107),n(108),n(109),n(110),n(111),n(112),n(113),n(114),n(115),n(116),n(117),n(118),n(119),n(120),n(121),n(122),n(123),n(124);function r(e){return e.replace(/#/g,"<num>").replace(/&/g,"<and>").replace(/%/g,"<percent>").replace(/\$/g,"<dollar>")}function o(e){return e.replace(/<num>/g,"#").replace(/<and>/g,"&").replace(/<percent>/g,"%").replace(/<dollar>/g,"$")}function i(e){return e?e.replace(/>/g,"&rt;").replace(/</g,"<"):""}function a(e){var t=document.getElementById("client_encoding").value;if("unicode"===t)return e.replace(/[^\0-~]/g,(function(e){return"\\u"+("000"+e.charCodeAt().toString(16)).slice(-4)}));if("utf16"===t){for(var n=new ArrayBuffer(2*e.length),r=new Uint16Array(n),o=0,i=e.length;o<i;o++)r[o]=e.charCodeAt(o);return String(r)}return e}function c(e){return o((t=e,"unicode"===(n=document.getElementById("client_decoding").value)?t.replace(/\\u([\d\w]{1,})/gi,(function(e,t){return String.fromCharCode(parseInt(t,16))})):"utf16"===n?String.fromCharCode.apply(null,new Uint16Array(t.split(","))):t));var t,n}},function(e,t,n){"use strict";var r,o=n(82),i=n(10),a=n(2),c=n(6),s=n(8),u=n(38),l=n(12),d=n(16),f=n(11).f,h=n(35),p=n(30),m=n(4),g=n(42),v=a.Int8Array,y=v&&v.prototype,w=a.Uint8ClampedArray,b=w&&w.prototype,E=v&&h(v),x=y&&h(y),_=Object.prototype,T=_.isPrototypeOf,I=m("toStringTag"),S=g("TYPED_ARRAY_TAG"),A=o&&!!p&&"Opera"!==u(a.opera),C=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},O=function(e){return c(e)&&s(B,u(e))};for(r in B)a[r]||(A=!1);if((!A||"function"!=typeof E||E===Function.prototype)&&(E=function(){throw TypeError("Incorrect invocation")},A))for(r in B)a[r]&&p(a[r],E);if((!A||!x||x===_)&&(x=E.prototype,A))for(r in B)a[r]&&p(a[r].prototype,x);if(A&&h(b)!==x&&p(b,x),i&&!s(x,I))for(r in C=!0,f(x,I,{get:function(){return c(this)?this[S]:void 0}}),B)a[r]&&l(a[r],S,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:A,TYPED_ARRAY_TAG:C&&S,aTypedArray:function(e){if(O(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(p){if(T.call(E,e))return e}else for(var t in B)if(s(B,r)){var n=a[t];if(n&&(e===n||T.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(i){if(n)for(var r in B){var o=a[r];o&&s(o.prototype,e)&&delete o.prototype[e]}x[e]&&!n||d(x,e,n?t:A&&y[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(i){if(p){if(n)for(r in B)(o=a[r])&&s(o,e)&&delete o[e];if(E[e]&&!n)return;try{return d(E,e,n?t:A&&v[e]||t)}catch(e){}}for(r in B)!(o=a[r])||o[e]&&!n||d(o,e,t)}},isView:function(e){var t=u(e);return"DataView"===t||s(B,t)},isTypedArray:O,TypedArray:E,TypedArrayPrototype:x}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(125))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(2),o=n(57),i=n(8),a=n(42),c=n(58),s=n(89),u=o("wks"),l=r.Symbol,d=s?l:l&&l.withoutSetter||a;e.exports=function(e){return i(u,e)||(c&&i(l,e)?u[e]=l[e]:u[e]=d("Symbol."+e)),u[e]}},function(e,t,n){var r=n(15),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(2),o=n(24).f,i=n(12),a=n(16),c=n(46),s=n(87),u=n(71);e.exports=function(e,t){var n,l,d,f,h,p=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[p]||c(p,{}):(r[p]||{}).prototype)for(l in t){if(f=t[l],d=e.noTargetGet?(h=o(n,l))&&h.value:n[l],!u(m?l:p+(g?".":"#")+l,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;s(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(n,l,f,e)}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(6);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(3);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){var r=n(10),o=n(67),i=n(9),a=n(25),c=Object.defineProperty;t.f=r?c:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(10),o=n(11),i=n(20);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(17);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(45),o=n(40),i=n(13),a=n(5),c=n(73),s=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,l=4==e,d=6==e,f=5==e||d;return function(h,p,m,g){for(var v,y,w=i(h),b=o(w),E=r(p,m,3),x=a(b.length),_=0,T=g||c,I=t?T(h,x):n?T(h,0):void 0;x>_;_++)if((f||_ in b)&&(y=E(v=b[_],_,w),e))if(t)I[_]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return _;case 2:s.call(I,v)}else if(l)return!1;return d?-1:u||l?l:I}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(2),o=n(12),i=n(8),a=n(46),c=n(56),s=n(21),u=s.get,l=s.enforce,d=String(String).split("String");(e.exports=function(e,t,n,c){var s=!!c&&!!c.unsafe,u=!!c&&!!c.enumerable,f=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),l(n).source=d.join("string"==typeof t?t:"")),e!==r?(s?!f&&e[t]&&(u=!0):delete e[t],u?e[t]=n:o(e,t,n)):u?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||c(this)}))},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(40),o=n(17);e.exports=function(e){return r(o(e))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r,o,i,a=n(126),c=n(2),s=n(6),u=n(12),l=n(8),d=n(41),f=n(43),h=c.WeakMap;if(a){var p=new h,m=p.get,g=p.has,v=p.set;r=function(e,t){return v.call(p,e,t),t},o=function(e){return m.call(p,e)||{}},i=function(e){return g.call(p,e)}}else{var y=d("state");f[y]=!0,r=function(e,t){return u(e,y,t),t},o=function(e){return l(e,y)?e[y]:{}},i=function(e){return l(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(88),o=n(2),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){var r=n(9),o=n(27),i=n(4)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r=n(10),o=n(66),i=n(20),a=n(19),c=n(25),s=n(8),u=n(67),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=c(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){var r=n(6);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(15),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var r=n(10),o=n(3),i=n(8),a=Object.defineProperty,c={},s=function(e){throw e};e.exports=function(e,t){if(i(c,e))return c[e];t||(t={});var n=[][e],u=!!i(t,"ACCESSORS")&&t.ACCESSORS,l=i(t,0)?t[0]:s,d=i(t,1)?t[1]:void 0;return c[e]=!!n&&!o((function(){if(u&&!r)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:s}):e[1]=1,n.call(e,l,d)}))}},function(e,t){e.exports={}},function(e,t,n){var r=n(9),o=n(131);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){var r,o;!function(i,a,c){"use strict";"undefined"!=typeof window&&n(141)?void 0===(o="function"==typeof(r=c)?r.call(t,n,t,e):r)||(e.exports=o):e.exports?e.exports=c():a.exports?a.exports=c():a.Fingerprint2=c()}(0,this,(function(){"use strict";var e=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},t=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},n=function(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])},r=function(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]},o=function(e,t){return[e[0]^t[0],e[1]^t[1]]},i=function(e){return e=o(e,[0,e[0]>>>1]),e=t(e,[4283543511,3981806797]),e=o(e,[0,e[0]>>>1]),e=t(e,[3301882366,444984403]),e=o(e,[0,e[0]>>>1])},a=function(a,c){c=c||0;for(var s=(a=a||"").length%16,u=a.length-s,l=[0,c],d=[0,c],f=[0,0],h=[0,0],p=[2277735313,289559509],m=[1291169091,658871167],g=0;g<u;g+=16)f=[255&a.charCodeAt(g+4)|(255&a.charCodeAt(g+5))<<8|(255&a.charCodeAt(g+6))<<16|(255&a.charCodeAt(g+7))<<24,255&a.charCodeAt(g)|(255&a.charCodeAt(g+1))<<8|(255&a.charCodeAt(g+2))<<16|(255&a.charCodeAt(g+3))<<24],h=[255&a.charCodeAt(g+12)|(255&a.charCodeAt(g+13))<<8|(255&a.charCodeAt(g+14))<<16|(255&a.charCodeAt(g+15))<<24,255&a.charCodeAt(g+8)|(255&a.charCodeAt(g+9))<<8|(255&a.charCodeAt(g+10))<<16|(255&a.charCodeAt(g+11))<<24],f=t(f,p),f=n(f,31),f=t(f,m),l=o(l,f),l=n(l,27),l=e(l,d),l=e(t(l,[0,5]),[0,1390208809]),h=t(h,m),h=n(h,33),h=t(h,p),d=o(d,h),d=n(d,31),d=e(d,l),d=e(t(d,[0,5]),[0,944331445]);switch(f=[0,0],h=[0,0],s){case 15:h=o(h,r([0,a.charCodeAt(g+14)],48));case 14:h=o(h,r([0,a.charCodeAt(g+13)],40));case 13:h=o(h,r([0,a.charCodeAt(g+12)],32));case 12:h=o(h,r([0,a.charCodeAt(g+11)],24));case 11:h=o(h,r([0,a.charCodeAt(g+10)],16));case 10:h=o(h,r([0,a.charCodeAt(g+9)],8));case 9:h=o(h,[0,a.charCodeAt(g+8)]),h=t(h,m),h=n(h,33),h=t(h,p),d=o(d,h);case 8:f=o(f,r([0,a.charCodeAt(g+7)],56));case 7:f=o(f,r([0,a.charCodeAt(g+6)],48));case 6:f=o(f,r([0,a.charCodeAt(g+5)],40));case 5:f=o(f,r([0,a.charCodeAt(g+4)],32));case 4:f=o(f,r([0,a.charCodeAt(g+3)],24));case 3:f=o(f,r([0,a.charCodeAt(g+2)],16));case 2:f=o(f,r([0,a.charCodeAt(g+1)],8));case 1:f=o(f,[0,a.charCodeAt(g)]),f=t(f,p),f=n(f,31),f=t(f,m),l=o(l,f)}return l=o(l,[0,a.length]),d=o(d,[0,a.length]),l=e(l,d),d=e(d,l),l=i(l),d=i(d),l=e(l,d),d=e(d,l),("00000000"+(l[0]>>>0).toString(16)).slice(-8)+("00000000"+(l[1]>>>0).toString(16)).slice(-8)+("00000000"+(d[0]>>>0).toString(16)).slice(-8)+("00000000"+(d[1]>>>0).toString(16)).slice(-8)},c={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:!1},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},extraComponents:[],excludes:{enumerateDevices:!0,pixelRatio:!0,doNotTrack:!0,fontsFlash:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"},s=function(e,t){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach)e.forEach(t);else if(e.length===+e.length)for(var n=0,r=e.length;n<r;n++)t(e[n],n,e);else for(var o in e)e.hasOwnProperty(o)&&t(e[o],o,e)},u=function(e,t){var n=[];return null==e?n:Array.prototype.map&&e.map===Array.prototype.map?e.map(t):(s(e,(function(e,r,o){n.push(t(e,r,o))})),n)},l=function(){return navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices},d=function(e){var t=[window.screen.width,window.screen.height];return e.screen.detectScreenOrientation&&t.sort().reverse(),t},f=function(e){if(window.screen.availWidth&&window.screen.availHeight){var t=[window.screen.availHeight,window.screen.availWidth];return e.screen.detectScreenOrientation&&t.sort().reverse(),t}return e.NOT_AVAILABLE},h=function(e){if(null==navigator.plugins)return e.NOT_AVAILABLE;for(var t=[],n=0,r=navigator.plugins.length;n<r;n++)navigator.plugins[n]&&t.push(navigator.plugins[n]);return m(e)&&(t=t.sort((function(e,t){return e.name>t.name?1:e.name<t.name?-1:0}))),u(t,(function(e){var t=u(e,(function(e){return[e.type,e.suffixes]}));return[e.name,e.description,t]}))},p=function(e){var t=[];if(Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,"ActiveXObject")||"ActiveXObject"in window){t=u(["AcroPDF.PDF","Adodb.Stream","AgControl.AgControl","DevalVRXCtrl.DevalVRXCtrl.1","MacromediaFlashPaper.MacromediaFlashPaper","Msxml2.DOMDocument","Msxml2.XMLHTTP","PDF.PdfCtrl","QuickTime.QuickTime","QuickTimeCheckObject.QuickTimeCheck.1","RealPlayer","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","Scripting.Dictionary","SWCtl.SWCtl","Shell.UIHelper","ShockwaveFlash.ShockwaveFlash","Skype.Detection","TDCCtl.TDCCtl","WMPlayer.OCX","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1"],(function(t){try{return new window.ActiveXObject(t),t}catch(t){return e.ERROR}}))}else t.push(e.NOT_AVAILABLE);return navigator.plugins&&(t=t.concat(h(e))),t},m=function(e){for(var t=!1,n=0,r=e.plugins.sortPluginsFor.length;n<r;n++){var o=e.plugins.sortPluginsFor[n];if(navigator.userAgent.match(o)){t=!0;break}}return t},g=function(e){try{return!!window.sessionStorage}catch(t){return e.ERROR}},v=function(e){try{return!!window.localStorage}catch(t){return e.ERROR}},y=function(e){try{return!!window.indexedDB}catch(t){return e.ERROR}},w=function(e){return navigator.hardwareConcurrency?navigator.hardwareConcurrency:e.NOT_AVAILABLE},b=function(e){return navigator.cpuClass||e.NOT_AVAILABLE},E=function(e){return navigator.platform?navigator.platform:e.NOT_AVAILABLE},x=function(e){return navigator.doNotTrack?navigator.doNotTrack:navigator.msDoNotTrack?navigator.msDoNotTrack:window.doNotTrack?window.doNotTrack:e.NOT_AVAILABLE},_=function(){var e,t=0;void 0!==navigator.maxTouchPoints?t=navigator.maxTouchPoints:void 0!==navigator.msMaxTouchPoints&&(t=navigator.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return[t,e,"ontouchstart"in window]},T=function(e){var t=[],n=document.createElement("canvas");n.width=2e3,n.height=200,n.style.display="inline";var r=n.getContext("2d");return r.rect(0,0,10,10),r.rect(2,2,6,6),t.push("canvas winding:"+(!1===r.isPointInPath(5,5,"evenodd")?"yes":"no")),r.textBaseline="alphabetic",r.fillStyle="#f60",r.fillRect(125,1,62,20),r.fillStyle="#069",e.dontUseFakeFontInCanvas?r.font="11pt Arial":r.font="11pt no-real-font-123",r.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),r.fillStyle="rgba(102, 204, 0, 0.2)",r.font="18pt Arial",r.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),r.globalCompositeOperation="multiply",r.fillStyle="rgb(255,0,255)",r.beginPath(),r.arc(50,50,50,0,2*Math.PI,!0),r.closePath(),r.fill(),r.fillStyle="rgb(0,255,255)",r.beginPath(),r.arc(100,50,50,0,2*Math.PI,!0),r.closePath(),r.fill(),r.fillStyle="rgb(255,255,0)",r.beginPath(),r.arc(75,100,50,0,2*Math.PI,!0),r.closePath(),r.fill(),r.fillStyle="rgb(255,0,255)",r.arc(75,75,75,0,2*Math.PI,!0),r.arc(75,75,25,0,2*Math.PI,!0),r.fill("evenodd"),n.toDataURL&&t.push("canvas fp:"+n.toDataURL()),t},I=function(){var e,t=function(t){return e.clearColor(0,0,0,1),e.enable(e.DEPTH_TEST),e.depthFunc(e.LEQUAL),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),"["+t[0]+", "+t[1]+"]"};if(!(e=D()))return null;var n=[],r=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,r);var o=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0]);e.bufferData(e.ARRAY_BUFFER,o,e.STATIC_DRAW),r.itemSize=3,r.numItems=3;var i=e.createProgram(),a=e.createShader(e.VERTEX_SHADER);e.shaderSource(a,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),e.compileShader(a);var c=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(c,"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}"),e.compileShader(c),e.attachShader(i,a),e.attachShader(i,c),e.linkProgram(i),e.useProgram(i),i.vertexPosAttrib=e.getAttribLocation(i,"attrVertex"),i.offsetUniform=e.getUniformLocation(i,"uniformOffset"),e.enableVertexAttribArray(i.vertexPosArray),e.vertexAttribPointer(i.vertexPosAttrib,r.itemSize,e.FLOAT,!1,0,0),e.uniform2f(i.offsetUniform,1,1),e.drawArrays(e.TRIANGLE_STRIP,0,r.numItems);try{n.push(e.canvas.toDataURL())}catch(e){}n.push("extensions:"+(e.getSupportedExtensions()||[]).join(";")),n.push("webgl aliased line width range:"+t(e.getParameter(e.ALIASED_LINE_WIDTH_RANGE))),n.push("webgl aliased point size range:"+t(e.getParameter(e.ALIASED_POINT_SIZE_RANGE))),n.push("webgl alpha bits:"+e.getParameter(e.ALPHA_BITS)),n.push("webgl antialiasing:"+(e.getContextAttributes().antialias?"yes":"no")),n.push("webgl blue bits:"+e.getParameter(e.BLUE_BITS)),n.push("webgl depth bits:"+e.getParameter(e.DEPTH_BITS)),n.push("webgl green bits:"+e.getParameter(e.GREEN_BITS)),n.push("webgl max anisotropy:"+function(e){var t=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic");if(t){var n=e.getParameter(t.MAX_TEXTURE_MAX_ANISOTROPY_EXT);return 0===n&&(n=2),n}return null}(e)),n.push("webgl max combined texture image units:"+e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),n.push("webgl max cube map texture size:"+e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE)),n.push("webgl max fragment uniform vectors:"+e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS)),n.push("webgl max render buffer size:"+e.getParameter(e.MAX_RENDERBUFFER_SIZE)),n.push("webgl max texture image units:"+e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS)),n.push("webgl max texture size:"+e.getParameter(e.MAX_TEXTURE_SIZE)),n.push("webgl max varying vectors:"+e.getParameter(e.MAX_VARYING_VECTORS)),n.push("webgl max vertex attribs:"+e.getParameter(e.MAX_VERTEX_ATTRIBS)),n.push("webgl max vertex texture image units:"+e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),n.push("webgl max vertex uniform vectors:"+e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS)),n.push("webgl max viewport dims:"+t(e.getParameter(e.MAX_VIEWPORT_DIMS))),n.push("webgl red bits:"+e.getParameter(e.RED_BITS)),n.push("webgl renderer:"+e.getParameter(e.RENDERER)),n.push("webgl shading language version:"+e.getParameter(e.SHADING_LANGUAGE_VERSION)),n.push("webgl stencil bits:"+e.getParameter(e.STENCIL_BITS)),n.push("webgl vendor:"+e.getParameter(e.VENDOR)),n.push("webgl version:"+e.getParameter(e.VERSION));try{var u=e.getExtension("WEBGL_debug_renderer_info");u&&(n.push("webgl unmasked vendor:"+e.getParameter(u.UNMASKED_VENDOR_WEBGL)),n.push("webgl unmasked renderer:"+e.getParameter(u.UNMASKED_RENDERER_WEBGL)))}catch(e){}return e.getShaderPrecisionFormat?(s(["FLOAT","INT"],(function(t){s(["VERTEX","FRAGMENT"],(function(r){s(["HIGH","MEDIUM","LOW"],(function(o){s(["precision","rangeMin","rangeMax"],(function(i){var a=e.getShaderPrecisionFormat(e[r+"_SHADER"],e[o+"_"+t])[i];"precision"!==i&&(i="precision "+i);var c=["webgl ",r.toLowerCase()," shader ",o.toLowerCase()," ",t.toLowerCase()," ",i,":",a].join("");n.push(c)}))}))}))})),n):n},S=function(){try{var e=D(),t=e.getExtension("WEBGL_debug_renderer_info");return e.getParameter(t.UNMASKED_VENDOR_WEBGL)+"~"+e.getParameter(t.UNMASKED_RENDERER_WEBGL)}catch(e){return null}},A=function(){var e=document.createElement("div");e.innerHTML=" ",e.className="adsbox";var t=!1;try{document.body.appendChild(e),t=0===document.getElementsByClassName("adsbox")[0].offsetHeight,document.body.removeChild(e)}catch(e){t=!1}return t},C=function(){if(void 0!==navigator.languages)try{if(navigator.languages[0].substr(0,2)!==navigator.language.substr(0,2))return!0}catch(e){return!0}return!1},B=function(){return window.screen.width<window.screen.availWidth||window.screen.height<window.screen.availHeight},O=function(){var e,t=navigator.userAgent.toLowerCase(),n=navigator.oscpu,r=navigator.platform.toLowerCase();if(e=t.indexOf("windows phone")>=0?"Windows Phone":t.indexOf("win")>=0?"Windows":t.indexOf("android")>=0?"Android":t.indexOf("linux")>=0||t.indexOf("cros")>=0?"Linux":t.indexOf("iphone")>=0||t.indexOf("ipad")>=0?"iOS":t.indexOf("mac")>=0?"Mac":"Other",("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&"Windows Phone"!==e&&"Android"!==e&&"iOS"!==e&&"Other"!==e)return!0;if(void 0!==n){if((n=n.toLowerCase()).indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e)return!0;if(n.indexOf("linux")>=0&&"Linux"!==e&&"Android"!==e)return!0;if(n.indexOf("mac")>=0&&"Mac"!==e&&"iOS"!==e)return!0;if((-1===n.indexOf("win")&&-1===n.indexOf("linux")&&-1===n.indexOf("mac"))!=("Other"===e))return!0}return r.indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e||((r.indexOf("linux")>=0||r.indexOf("android")>=0||r.indexOf("pike")>=0)&&"Linux"!==e&&"Android"!==e||((r.indexOf("mac")>=0||r.indexOf("ipad")>=0||r.indexOf("ipod")>=0||r.indexOf("iphone")>=0)&&"Mac"!==e&&"iOS"!==e||((r.indexOf("win")<0&&r.indexOf("linux")<0&&r.indexOf("mac")<0&&r.indexOf("iphone")<0&&r.indexOf("ipad")<0)!==("Other"===e)||void 0===navigator.plugins&&"Windows"!==e&&"Windows Phone"!==e)))},k=function(){var e,t=navigator.userAgent.toLowerCase(),n=navigator.productSub;if(("Chrome"===(e=t.indexOf("firefox")>=0?"Firefox":t.indexOf("opera")>=0||t.indexOf("opr")>=0?"Opera":t.indexOf("chrome")>=0?"Chrome":t.indexOf("safari")>=0?"Safari":t.indexOf("trident")>=0?"Internet Explorer":"Other")||"Safari"===e||"Opera"===e)&&"20030107"!==n)return!0;var r,o=eval.toString().length;if(37===o&&"Safari"!==e&&"Firefox"!==e&&"Other"!==e)return!0;if(39===o&&"Internet Explorer"!==e&&"Other"!==e)return!0;if(33===o&&"Chrome"!==e&&"Opera"!==e&&"Other"!==e)return!0;try{throw"a"}catch(e){try{e.toSource(),r=!0}catch(e){r=!1}}return r&&"Firefox"!==e&&"Other"!==e},L=function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},M=function(){if(!L())return!1;var e=D();return!!window.WebGLRenderingContext&&!!e},R=function(){return"Microsoft Internet Explorer"===navigator.appName||!("Netscape"!==navigator.appName||!/Trident/.test(navigator.userAgent))},P=function(){return void 0!==window.swfobject},N=function(){return window.swfobject.hasFlashPlayerVersion("9.0.0")},j=function(e,t){window.___fp_swf_loaded=function(t){e(t)};var n=t.fonts.swfContainerId;!function(e){var t=document.createElement("div");t.setAttribute("id",e.fonts.swfContainerId),document.body.appendChild(t)}();var r={onReady:"___fp_swf_loaded"};window.swfobject.embedSWF(t.fonts.swfPath,n,"1","1","9.0.0",!1,r,{allowScriptAccess:"always",menu:"false"},{})},D=function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(e){}return t||(t=null),t},F=[{key:"userAgent",getData:function(e){e(navigator.userAgent)}},{key:"webdriver",getData:function(e,t){e(null==navigator.webdriver?t.NOT_AVAILABLE:navigator.webdriver)}},{key:"language",getData:function(e,t){e(navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||t.NOT_AVAILABLE)}},{key:"colorDepth",getData:function(e,t){e(window.screen.colorDepth||t.NOT_AVAILABLE)}},{key:"deviceMemory",getData:function(e,t){e(navigator.deviceMemory||t.NOT_AVAILABLE)}},{key:"pixelRatio",getData:function(e,t){e(window.devicePixelRatio||t.NOT_AVAILABLE)}},{key:"hardwareConcurrency",getData:function(e,t){e(w(t))}},{key:"screenResolution",getData:function(e,t){e(d(t))}},{key:"availableScreenResolution",getData:function(e,t){e(f(t))}},{key:"timezoneOffset",getData:function(e){e((new Date).getTimezoneOffset())}},{key:"timezone",getData:function(e,t){window.Intl&&window.Intl.DateTimeFormat?e((new window.Intl.DateTimeFormat).resolvedOptions().timeZone):e(t.NOT_AVAILABLE)}},{key:"sessionStorage",getData:function(e,t){e(g(t))}},{key:"localStorage",getData:function(e,t){e(v(t))}},{key:"indexedDb",getData:function(e,t){e(y(t))}},{key:"addBehavior",getData:function(e){e(!(!document.body||!document.body.addBehavior))}},{key:"openDatabase",getData:function(e){e(!!window.openDatabase)}},{key:"cpuClass",getData:function(e,t){e(b(t))}},{key:"platform",getData:function(e,t){e(E(t))}},{key:"doNotTrack",getData:function(e,t){e(x(t))}},{key:"plugins",getData:function(e,t){R()?t.plugins.excludeIE?e(t.EXCLUDED):e(p(t)):e(h(t))}},{key:"canvas",getData:function(e,t){L()?e(T(t)):e(t.NOT_AVAILABLE)}},{key:"webgl",getData:function(e,t){M()?e(I()):e(t.NOT_AVAILABLE)}},{key:"webglVendorAndRenderer",getData:function(e){M()?e(S()):e()}},{key:"adBlock",getData:function(e){e(A())}},{key:"hasLiedLanguages",getData:function(e){e(C())}},{key:"hasLiedResolution",getData:function(e){e(B())}},{key:"hasLiedOs",getData:function(e){e(O())}},{key:"hasLiedBrowser",getData:function(e){e(k())}},{key:"touchSupport",getData:function(e){e(_())}},{key:"fonts",getData:function(e,t){var n=["monospace","sans-serif","serif"],r=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"];if(t.fonts.extendedJsFonts){r=r.concat(["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"])}r=(r=r.concat(t.fonts.userDefinedFonts)).filter((function(e,t){return r.indexOf(e)===t}));var o=document.getElementsByTagName("body")[0],i=document.createElement("div"),a=document.createElement("div"),c={},s={},u=function(){var e=document.createElement("span");return e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="72px",e.style.fontStyle="normal",e.style.fontWeight="normal",e.style.letterSpacing="normal",e.style.lineBreak="auto",e.style.lineHeight="normal",e.style.textTransform="none",e.style.textAlign="left",e.style.textDecoration="none",e.style.textShadow="none",e.style.whiteSpace="normal",e.style.wordBreak="normal",e.style.wordSpacing="normal",e.innerHTML="mmmmmmmmmmlli",e},l=function(e,t){var n=u();return n.style.fontFamily="'"+e+"',"+t,n},d=function(e){for(var t=!1,r=0;r<n.length;r++)if(t=e[r].offsetWidth!==c[n[r]]||e[r].offsetHeight!==s[n[r]])return t;return t},f=function(){for(var e=[],t=0,r=n.length;t<r;t++){var o=u();o.style.fontFamily=n[t],i.appendChild(o),e.push(o)}return e}();o.appendChild(i);for(var h=0,p=n.length;h<p;h++)c[n[h]]=f[h].offsetWidth,s[n[h]]=f[h].offsetHeight;var m=function(){for(var e={},t=0,o=r.length;t<o;t++){for(var i=[],c=0,s=n.length;c<s;c++){var u=l(r[t],n[c]);a.appendChild(u),i.push(u)}e[r[t]]=i}return e}();o.appendChild(a);for(var g=[],v=0,y=r.length;v<y;v++)d(m[r[v]])&&g.push(r[v]);o.removeChild(a),o.removeChild(i),e(g)},pauseBefore:!0},{key:"fontsFlash",getData:function(e,t){return P()?N()?t.fonts.swfPath?void j((function(t){e(t)}),t):e("missing options.fonts.swfPath"):e("flash not installed"):e("swf object not loaded")},pauseBefore:!0},{key:"audio",getData:function(e,t){var n=t.audio;if(n.excludeIOS11&&navigator.userAgent.match(/OS 11.+Version\/11.+Safari/))return e(t.EXCLUDED);var r=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(null==r)return e(t.NOT_AVAILABLE);var o=new r(1,44100,44100),i=o.createOscillator();i.type="triangle",i.frequency.setValueAtTime(1e4,o.currentTime);var a=o.createDynamicsCompressor();s([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],(function(e){void 0!==a[e[0]]&&"function"==typeof a[e[0]].setValueAtTime&&a[e[0]].setValueAtTime(e[1],o.currentTime)})),i.connect(a),a.connect(o.destination),i.start(0),o.startRendering();var c=setTimeout((function(){return console.warn('Audio fingerprint timed out. Please report bug at https://github.com/Valve/fingerprintjs2 with your user agent: "'+navigator.userAgent+'".'),o.oncomplete=function(){},o=null,e("audioTimeout")}),n.timeout);o.oncomplete=function(t){var n;try{clearTimeout(c),n=t.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce((function(e,t){return e+Math.abs(t)}),0).toString(),i.disconnect(),a.disconnect()}catch(t){return void e(t)}e(n)}}},{key:"enumerateDevices",getData:function(e,t){if(!l())return e(t.NOT_AVAILABLE);navigator.mediaDevices.enumerateDevices().then((function(t){e(t.map((function(e){return"id="+e.deviceId+";gid="+e.groupId+";"+e.kind+";"+e.label})))})).catch((function(t){e(t)}))}}],U=function(e){throw new Error("'new Fingerprint()' is deprecated, see https://github.com/Valve/fingerprintjs2#upgrade-guide-from-182-to-200")};return U.get=function(e,t){t?e||(e={}):(t=e,e={}),function(e,t){if(null==t)return e;var n,r;for(r in t)null==(n=t[r])||Object.prototype.hasOwnProperty.call(e,r)||(e[r]=n)}(e,c),e.components=e.extraComponents.concat(F);var n={data:[],addPreprocessedComponent:function(t,r){"function"==typeof e.preprocessor&&(r=e.preprocessor(t,r)),n.data.push({key:t,value:r})}},r=-1,o=function(i){if((r+=1)>=e.components.length)t(n.data);else{var a=e.components[r];if(e.excludes[a.key])o(!1);else{if(!i&&a.pauseBefore)return r-=1,void setTimeout((function(){o(!0)}),1);try{a.getData((function(e){n.addPreprocessedComponent(a.key,e),o(!1)}),e)}catch(e){n.addPreprocessedComponent(a.key,String(e)),o(!1)}}}};o(!1)},U.getPromise=function(e){return new Promise((function(t,n){U.get(e,t)}))},U.getV18=function(e,t){return null==t&&(t=e,e={}),U.get(e,(function(n){for(var r=[],o=0;o<n.length;o++){var i=n[o];if(i.value===(e.NOT_AVAILABLE||"not available"))r.push({key:i.key,value:"unknown"});else if("plugins"===i.key)r.push({key:"plugins",value:u(i.value,(function(e){var t=u(e[2],(function(e){return e.join?e.join("~"):e})).join(",");return[e[0],e[1],t].join("::")}))});else if(-1!==["canvas","webgl"].indexOf(i.key))r.push({key:i.key,value:i.value.join("~")});else if(-1!==["sessionStorage","localStorage","indexedDb","addBehavior","openDatabase"].indexOf(i.key)){if(!i.value)continue;r.push({key:i.key,value:1})}else i.value?r.push(i.value.join?{key:i.key,value:i.value.join(";")}:i):r.push({key:i.key,value:i.value})}var c=a(u(r,(function(e){return e.value})).join("~~~"),31);t(c,r)}))},U.x64hash128=a,U.VERSION="2.1.0",U}))},function(e,t){e.exports=!1},function(e,t,n){var r=n(69),o=n(47).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r,o=n(9),i=n(128),a=n(47),c=n(43),s=n(90),u=n(55),l=n(41),d=l("IE_PROTO"),f=function(){},h=function(e){return"<script>"+e+"<\/script>"},p=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;p=r?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=u("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete p.prototype[a[n]];return p()};c[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=o(e),n=new f,f.prototype=null,n[d]=e):n=p(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(8),o=n(13),i=n(41),a=n(93),c=i("IE_PROTO"),s=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){var r=n(19),o=n(5),i=n(26),a=function(e){return function(t,n,a){var c,s=r(t),u=o(s.length),l=i(a,u);if(e&&n!=n){for(;u>l;)if((c=s[l++])!=c)return!0}else for(;u>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(11).f,o=n(8),i=n(4)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(49),o=n(18),i=n(4)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){"use strict";var r,o,i=n(80),a=n(134),c=RegExp.prototype.exec,s=String.prototype.replace,u=c,l=(r=/a/,o=/b*/g,c.call(r,"a"),c.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),d=a.UNSUPPORTED_Y||a.BROKEN_CARET,f=void 0!==/()??/.exec("")[1];(l||f||d)&&(u=function(e){var t,n,r,o,a=this,u=d&&a.sticky,h=i.call(a),p=a.source,m=0,g=e;return u&&(-1===(h=h.replace("y","")).indexOf("g")&&(h+="g"),g=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(p="(?: "+p+")",g=" "+g,m++),n=new RegExp("^(?:"+p+")",h)),f&&(n=new RegExp("^"+p+"$(?!\\s)",h)),l&&(t=a.lastIndex),r=c.call(u?n:a,g),u?r?(r.input=r.input.slice(m),r[0]=r[0].slice(m),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:l&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),f&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=u},function(e,t,n){var r=n(3),o=n(18),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(57),o=n(42),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){e.exports={}},function(e,t,n){var r=n(18);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(27);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(2),o=n(12);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){var r={};r[n(4)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){"use strict";var r=n(19),o=n(74),i=n(29),a=n(21),c=n(92),s=a.set,u=a.getterFor("Array Iterator");e.exports=c(Array,"Array",(function(e,t){s(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){var r=n(27),o=n(13),i=n(40),a=n(5),c=function(e){return function(t,n,c,s){r(n);var u=o(t),l=i(u),d=a(u.length),f=e?d-1:0,h=e?-1:1;if(c<2)for(;;){if(f in l){s=l[f],f+=h;break}if(f+=h,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=h)f in l&&(s=n(s,l[f],f,u));return s}};e.exports={left:c(!1),right:c(!0)}},function(e,t,n){"use strict";var r=n(7),o=n(39);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){"use strict";n(52);var r=n(16),o=n(3),i=n(4),a=n(39),c=n(12),s=i("species"),u=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l="$0"==="a".replace(/./,"$0"),d=i("replace"),f=!!/./[d]&&""===/./[d]("a","$0"),h=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,d){var p=i(e),m=!o((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),g=m&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](""),!t}));if(!m||!g||"replace"===e&&(!u||!l||f)||"split"===e&&!h){var v=/./[p],y=n(p,""[e],(function(e,t,n,r,o){return t.exec===a?m&&!o?{done:!0,value:v.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),w=y[0],b=y[1];r(String.prototype,e,w),r(RegExp.prototype,p,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}d&&c(RegExp.prototype[p],"sham",!0)}},function(e,t,n){var r=n(18),o=n(39);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){var r=n(2),o=n(6),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(68),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(32),o=n(68);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(3);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){"use strict";var r=n(25),o=n(11),i=n(20);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){var r=n(3),o=n(4),i=n(61),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var r,o,i=n(2),a=n(91),c=i.process,s=c&&c.versions,u=s&&s.v8;u?o=(r=u.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){"use strict";var r=n(13),o=n(26),i=n(5);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,c=o(a>1?arguments[1]:void 0,n),s=a>2?arguments[2]:void 0,u=void 0===s?n:o(s,n);u>c;)t[c++]=e;return t}},function(e,t,n){"use strict";var r=n(22),o=n(11),i=n(4),a=n(10),c=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){"use strict";var r=n(99).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(10),o=n(3),i=n(55);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(2),o=n(46),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,n){var r=n(8),o=n(19),i=n(36).indexOf,a=n(43);e.exports=function(e,t){var n,c=o(e),s=0,u=[];for(n in c)!r(a,n)&&r(c,n)&&u.push(n);for(;t.length>s;)r(c,n=t[s++])&&(~i(u,n)||u.push(n));return u}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(3),o=/#|\.prototype\./,i=function(e,t){var n=c[a(e)];return n==u||n!=s&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=i.data={},s=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(69),o=n(47);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(6),o=n(44),i=n(4)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){var r=n(4),o=n(34),i=n(11),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),e.exports=function(e){c[a][e]=!0}},function(e,t,n){var r=n(4),o=n(29),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,n){var r=n(38),o=n(29),i=n(4)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(4)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r,o,i,a=n(35),c=n(12),s=n(8),u=n(4),l=n(32),d=u("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):f=!0),null==r&&(r={}),l||s(r,d)||c(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},function(e,t,n){"use strict";var r=n(7),o=n(6),i=n(44),a=n(26),c=n(5),s=n(19),u=n(59),l=n(4),d=n(60),f=n(28),h=d("slice"),p=f("slice",{ACCESSORS:!0,0:0,1:2}),m=l("species"),g=[].slice,v=Math.max;r({target:"Array",proto:!0,forced:!h||!p},{slice:function(e,t){var n,r,l,d=s(this),f=c(d.length),h=a(e,f),p=a(void 0===t?f:t,f);if(i(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return g.call(d,h,p);for(r=new(void 0===n?Array:n)(v(p-h,0)),l=0;h<p;h++,l++)h in d&&u(r,l,d[h]);return r.length=l,r}})},function(e,t,n){"use strict";var r=n(9);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(53),o=n(98),i=n(9),a=n(17),c=n(23),s=n(65),u=n(5),l=n(54),d=n(39),f=n(3),h=[].push,p=Math.min,m=!f((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var c,s,u,l=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,m=new RegExp(e.source,f+"g");(c=d.call(m,r))&&!((s=m.lastIndex)>p&&(l.push(r.slice(p,c.index)),c.length>1&&c.index<r.length&&h.apply(l,c.slice(1)),u=c[0].length,p=s,l.length>=i));)m.lastIndex===c.index&&m.lastIndex++;return p===r.length?!u&&m.test("")||l.push(""):l.push(r.slice(p)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var d=i(e),f=String(this),h=c(d,RegExp),g=d.unicode,v=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(m?"y":"g"),y=new h(m?d:"^(?:"+d.source+")",v),w=void 0===o?4294967295:o>>>0;if(0===w)return[];if(0===f.length)return null===l(y,f)?[f]:[];for(var b=0,E=0,x=[];E<f.length;){y.lastIndex=m?E:0;var _,T=l(y,m?f:f.slice(E));if(null===T||(_=p(u(y.lastIndex+(m?0:E)),f.length))===b)E=s(f,E,g);else{if(x.push(f.slice(b,E)),x.length===w)return x;for(var I=1;I<=T.length-1;I++)if(x.push(T[I]),x.length===w)return x;E=b=_}}return x.push(f.slice(b)),x}]}),!m)},function(e,t){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,n){"use strict";var r=n(2),o=n(10),i=n(82),a=n(12),c=n(96),s=n(3),u=n(64),l=n(15),d=n(5),f=n(84),h=n(136),p=n(35),m=n(30),g=n(33).f,v=n(11).f,y=n(62),w=n(37),b=n(21),E=b.get,x=b.set,_=r.ArrayBuffer,T=_,I=r.DataView,S=I&&I.prototype,A=Object.prototype,C=r.RangeError,B=h.pack,O=h.unpack,k=function(e){return[255&e]},L=function(e){return[255&e,e>>8&255]},M=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},R=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},P=function(e){return B(e,23,4)},N=function(e){return B(e,52,8)},j=function(e,t){v(e.prototype,t,{get:function(){return E(this)[t]}})},D=function(e,t,n,r){var o=f(n),i=E(e);if(o+t>i.byteLength)throw C("Wrong index");var a=E(i.buffer).bytes,c=o+i.byteOffset,s=a.slice(c,c+t);return r?s:s.reverse()},F=function(e,t,n,r,o,i){var a=f(n),c=E(e);if(a+t>c.byteLength)throw C("Wrong index");for(var s=E(c.buffer).bytes,u=a+c.byteOffset,l=r(+o),d=0;d<t;d++)s[u+d]=l[i?d:t-d-1]};if(i){if(!s((function(){_(1)}))||!s((function(){new _(-1)}))||s((function(){return new _,new _(1.5),new _(NaN),"ArrayBuffer"!=_.name}))){for(var U,V=(T=function(e){return u(this,T),new _(f(e))}).prototype=_.prototype,G=g(_),H=0;G.length>H;)(U=G[H++])in T||a(T,U,_[U]);V.constructor=T}m&&p(S)!==A&&m(S,A);var W=new I(new T(2)),X=S.setInt8;W.setInt8(0,2147483648),W.setInt8(1,2147483649),!W.getInt8(0)&&W.getInt8(1)||c(S,{setInt8:function(e,t){X.call(this,e,t<<24>>24)},setUint8:function(e,t){X.call(this,e,t<<24>>24)}},{unsafe:!0})}else T=function(e){u(this,T,"ArrayBuffer");var t=f(e);x(this,{bytes:y.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},I=function(e,t,n){u(this,I,"DataView"),u(e,T,"DataView");var r=E(e).byteLength,i=l(t);if(i<0||i>r)throw C("Wrong offset");if(i+(n=void 0===n?r-i:d(n))>r)throw C("Wrong length");x(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},o&&(j(T,"byteLength"),j(I,"buffer"),j(I,"byteLength"),j(I,"byteOffset")),c(I.prototype,{getInt8:function(e){return D(this,1,e)[0]<<24>>24},getUint8:function(e){return D(this,1,e)[0]},getInt16:function(e){var t=D(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=D(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return R(D(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return R(D(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return O(D(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return O(D(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){F(this,1,e,k,t)},setUint8:function(e,t){F(this,1,e,k,t)},setInt16:function(e,t){F(this,2,e,L,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){F(this,2,e,L,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){F(this,4,e,M,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){F(this,4,e,M,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){F(this,4,e,P,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){F(this,8,e,N,t,arguments.length>2?arguments[2]:void 0)}});w(T,"ArrayBuffer"),w(I,"DataView"),e.exports={ArrayBuffer:T,DataView:I}},function(e,t,n){var r=n(15),o=n(5);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length or index");return n}},function(e,t,n){var r=n(137);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},function(e){e.exports=JSON.parse('{"a":"2.6.0"}')},function(e,t,n){var r=n(8),o=n(127),i=n(24),a=n(11);e.exports=function(e,t){for(var n=o(t),c=a.f,s=i.f,u=0;u<n.length;u++){var l=n[u];r(e,l)||c(e,l,s(t,l))}}},function(e,t,n){var r=n(2);e.exports=r},function(e,t,n){var r=n(58);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(22);e.exports=r("document","documentElement")},function(e,t,n){var r=n(22);e.exports=r("navigator","userAgent")||""},function(e,t,n){"use strict";var r=n(7),o=n(130),i=n(35),a=n(30),c=n(37),s=n(12),u=n(16),l=n(4),d=n(32),f=n(29),h=n(78),p=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,g=l("iterator"),v=function(){return this};e.exports=function(e,t,n,l,h,y,w){o(n,t,l);var b,E,x,_=function(e){if(e===h&&C)return C;if(!m&&e in S)return S[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",I=!1,S=e.prototype,A=S[g]||S["@@iterator"]||h&&S[h],C=!m&&A||_(h),B="Array"==t&&S.entries||A;if(B&&(b=i(B.call(new e)),p!==Object.prototype&&b.next&&(d||i(b)===p||(a?a(b,p):"function"!=typeof b[g]&&s(b,g,v)),c(b,T,!0,!0),d&&(f[T]=v))),"values"==h&&A&&"values"!==A.name&&(I=!0,C=function(){return A.call(this)}),d&&!w||S[g]===C||s(S,g,C),f[t]=C,h)if(E={values:_("values"),keys:y?C:_("keys"),entries:_("entries")},w)for(x in E)(m||I||!(x in S))&&u(S,x,E[x]);else r({target:t,proto:!0,forced:m||I},E);return E}},function(e,t,n){var r=n(3);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r=n(6),o=n(30);e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},function(e,t,n){var r=n(49),o=n(16),i=n(133);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){var r=n(16);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(16),o=n(9),i=n(3),a=n(80),c=RegExp.prototype,s=c.toString,u=i((function(){return"/a/b"!=s.call({source:"a",flags:"b"})})),l="toString"!=s.name;(u||l)&&r(RegExp.prototype,"toString",(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in c)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){var r=n(6),o=n(18),i=n(4)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(15),o=n(17),i=function(e){return function(t,n){var i,a,c=String(o(t)),s=r(n),u=c.length;return s<0||s>=u?e?"":void 0:(i=c.charCodeAt(s))<55296||i>56319||s+1===u||(a=c.charCodeAt(s+1))<56320||a>57343?e?c.charAt(s):i:e?c.slice(s,s+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){"use strict";var r=n(53),o=n(9),i=n(13),a=n(5),c=n(15),s=n(17),u=n(65),l=n(54),d=Math.max,f=Math.min,h=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=r.REPLACE_KEEPS_$0,y=g?"$":"$0";return[function(n,r){var o=s(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!g&&v||"string"==typeof r&&-1===r.indexOf(y)){var i=n(t,e,this,r);if(i.done)return i.value}var s=o(e),h=String(this),p="function"==typeof r;p||(r=String(r));var m=s.global;if(m){var b=s.unicode;s.lastIndex=0}for(var E=[];;){var x=l(s,h);if(null===x)break;if(E.push(x),!m)break;""===String(x[0])&&(s.lastIndex=u(h,a(s.lastIndex),b))}for(var _,T="",I=0,S=0;S<E.length;S++){x=E[S];for(var A=String(x[0]),C=d(f(c(x.index),h.length),0),B=[],O=1;O<x.length;O++)B.push(void 0===(_=x[O])?_:String(_));var k=x.groups;if(p){var L=[A].concat(B,C,h);void 0!==k&&L.push(k);var M=String(r.apply(void 0,L))}else M=w(A,h,C,B,k,r);C>=I&&(T+=h.slice(I,C)+M,I=C+A.length)}return T+h.slice(I)}];function w(e,n,r,o,a,c){var s=r+e.length,u=o.length,l=m;return void 0!==a&&(a=i(a),l=p),t.call(c,l,(function(t,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return t;if(l>u){var d=h(l/10);return 0===d?t:d<=u?void 0===o[d-1]?i.charAt(1):o[d-1]+i.charAt(1):t}c=o[l-1]}return void 0===c?"":c}))}}))},function(e,t,n){"use strict";var r=n(7),o=n(2),i=n(10),a=n(135),c=n(1),s=n(83),u=n(64),l=n(20),d=n(12),f=n(5),h=n(84),p=n(85),m=n(25),g=n(8),v=n(38),y=n(6),w=n(34),b=n(30),E=n(33).f,x=n(138),_=n(14).forEach,T=n(63),I=n(11),S=n(24),A=n(21),C=n(94),B=A.get,O=A.set,k=I.f,L=S.f,M=Math.round,R=o.RangeError,P=s.ArrayBuffer,N=s.DataView,j=c.NATIVE_ARRAY_BUFFER_VIEWS,D=c.TYPED_ARRAY_TAG,F=c.TypedArray,U=c.TypedArrayPrototype,V=c.aTypedArrayConstructor,G=c.isTypedArray,H=function(e,t){for(var n=0,r=t.length,o=new(V(e))(r);r>n;)o[n]=t[n++];return o},W=function(e,t){k(e,t,{get:function(){return B(this)[t]}})},X=function(e){var t;return e instanceof P||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},K=function(e,t){return G(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},z=function(e,t){return K(e,t=m(t,!0))?l(2,e[t]):L(e,t)},Y=function(e,t,n){return!(K(e,t=m(t,!0))&&y(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?k(e,t,n):(e[t]=n.value,e)};i?(j||(S.f=z,I.f=Y,W(U,"buffer"),W(U,"byteOffset"),W(U,"byteLength"),W(U,"length")),r({target:"Object",stat:!0,forced:!j},{getOwnPropertyDescriptor:z,defineProperty:Y}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,c=e+(n?"Clamped":"")+"Array",s="get"+e,l="set"+e,m=o[c],g=m,v=g&&g.prototype,I={},S=function(e,t){k(e,t,{get:function(){return function(e,t){var n=B(e);return n.view[s](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=B(e);n&&(r=(r=M(r))<0?0:r>255?255:255&r),o.view[l](t*i+o.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};j?a&&(g=t((function(e,t,n,r){return u(e,g,c),C(y(t)?X(t)?void 0!==r?new m(t,p(n,i),r):void 0!==n?new m(t,p(n,i)):new m(t):G(t)?H(g,t):x.call(g,t):new m(h(t)),e,g)})),b&&b(g,F),_(E(m),(function(e){e in g||d(g,e,m[e])})),g.prototype=v):(g=t((function(e,t,n,r){u(e,g,c);var o,a,s,l=0,d=0;if(y(t)){if(!X(t))return G(t)?H(g,t):x.call(g,t);o=t,d=p(n,i);var m=t.byteLength;if(void 0===r){if(m%i)throw R("Wrong length");if((a=m-d)<0)throw R("Wrong length")}else if((a=f(r)*i)+d>m)throw R("Wrong length");s=a/i}else s=h(t),o=new P(a=s*i);for(O(e,{buffer:o,byteOffset:d,byteLength:a,length:s,view:new N(o)});l<s;)S(e,l++)})),b&&b(g,F),v=g.prototype=w(U)),v.constructor!==g&&d(v,"constructor",g),D&&d(v,D,c),I[c]=g,r({global:!0,forced:g!=m,sham:!j},I),"BYTES_PER_ELEMENT"in g||d(g,"BYTES_PER_ELEMENT",i),"BYTES_PER_ELEMENT"in v||d(v,"BYTES_PER_ELEMENT",i),T(c)}):e.exports=function(){}},function(e,t,n){"use strict";var r=n(1),o=n(139),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(e,t){return o.call(i(this),e,t,arguments.length>2?arguments[2]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(14).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(62),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){return o.apply(i(this),arguments)}))},function(e,t,n){"use strict";var r=n(1),o=n(14).filter,i=n(23),a=r.aTypedArray,c=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("filter",(function(e){for(var t=o(a(this),e,arguments.length>1?arguments[1]:void 0),n=i(this,this.constructor),r=0,s=t.length,u=new(c(n))(s);s>r;)u[r]=t[r++];return u}))},function(e,t,n){"use strict";var r=n(1),o=n(14).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(14).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(14).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(36).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(36).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(2),o=n(1),i=n(50),a=n(4)("iterator"),c=r.Uint8Array,s=i.values,u=i.keys,l=i.entries,d=o.aTypedArray,f=o.exportTypedArrayMethod,h=c&&c.prototype[a],p=!!h&&("values"==h.name||null==h.name),m=function(){return s.call(d(this))};f("entries",(function(){return l.call(d(this))})),f("keys",(function(){return u.call(d(this))})),f("values",m,!p),f(a,m,!p)},function(e,t,n){"use strict";var r=n(1),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].join;i("join",(function(e){return a.apply(o(this),arguments)}))},function(e,t,n){"use strict";var r=n(1),o=n(140),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){return o.apply(i(this),arguments)}))},function(e,t,n){"use strict";var r=n(1),o=n(14).map,i=n(23),a=r.aTypedArray,c=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(c(i(e,e.constructor)))(t)}))}))},function(e,t,n){"use strict";var r=n(1),o=n(51).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(51).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=o(this).length,n=a(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this}))},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(85),a=n(13),c=n(3),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("set",(function(e){s(this);var t=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),c=o(r.length),u=0;if(c+t>n)throw RangeError("Wrong length");for(;u<c;)this[t+u]=r[u++]}),c((function(){new Int8Array(1).set({})})))},function(e,t,n){"use strict";var r=n(1),o=n(23),i=n(3),a=r.aTypedArray,c=r.aTypedArrayConstructor,s=r.exportTypedArrayMethod,u=[].slice;s("slice",(function(e,t){for(var n=u.call(a(this),e,t),r=o(this,this.constructor),i=0,s=n.length,l=new(c(r))(s);s>i;)l[i]=n[i++];return l}),i((function(){new Int8Array(1).slice()})))},function(e,t,n){"use strict";var r=n(1),o=n(14).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].sort;i("sort",(function(e){return a.call(o(this),e)}))},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(26),a=n(23),c=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=c(this),r=n.length,s=i(e,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+s*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-s))}))},function(e,t,n){"use strict";var r=n(2),o=n(1),i=n(3),a=r.Int8Array,c=o.aTypedArray,s=o.exportTypedArrayMethod,u=[].toLocaleString,l=[].slice,d=!!a&&i((function(){u.call(new a(1))}));s("toLocaleString",(function(){return u.apply(d?l.call(c(this)):c(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},function(e,t,n){"use strict";var r=n(1).exportTypedArrayMethod,o=n(3),i=n(2).Uint8Array,a=i&&i.prototype||{},c=[].toString,s=[].join;o((function(){c.call({})}))&&(c=function(){return s.call(this)});var u=a.toString!=c;r("toString",c,u)},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(2),o=n(56),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){var r=n(22),o=n(33),i=n(70),a=n(9);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(10),o=n(11),i=n(9),a=n(72);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),c=r.length,s=0;c>s;)o.f(e,n=r[s++],t[n]);return e}},function(e,t,n){"use strict";var r=n(7),o=n(3),i=n(44),a=n(6),c=n(13),s=n(5),u=n(59),l=n(73),d=n(60),f=n(4),h=n(61),p=f("isConcatSpreadable"),m=h>=51||!o((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),g=d("concat"),v=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!g},{concat:function(e){var t,n,r,o,i,a=c(this),d=l(a,0),f=0;for(t=-1,r=arguments.length;t<r;t++)if(v(i=-1===t?a:arguments[t])){if(f+(o=s(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,f++)n in i&&u(d,f,i[n])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(d,f++,i)}return d.length=f,d}})},function(e,t,n){"use strict";var r=n(78).IteratorPrototype,o=n(34),i=n(20),a=n(37),c=n(29),s=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,u,!1,!0),c[u]=s,e}},function(e,t,n){var r=n(6);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var r=n(7),o=n(51).left,i=n(48),a=n(28),c=i("reduce"),s=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!c||!s},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(49),o=n(38);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){"use strict";var r=n(3);function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,n){var r=n(2),o=n(3),i=n(77),a=n(1).NATIVE_ARRAY_BUFFER_VIEWS,c=r.ArrayBuffer,s=r.Int8Array;e.exports=!a||!o((function(){s(1)}))||!o((function(){new s(-1)}))||!i((function(e){new s,new s(null),new s(1.5),new s(e)}),!0)||o((function(){return 1!==new s(new c(2),1,void 0).length}))},function(e,t){var n=Math.abs,r=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2;e.exports={pack:function(e,t,c){var s,u,l,d=new Array(c),f=8*c-t-1,h=(1<<f)-1,p=h>>1,m=23===t?r(2,-24)-r(2,-77):0,g=e<0||0===e&&1/e<0?1:0,v=0;for((e=n(e))!=e||e===1/0?(u=e!=e?1:0,s=h):(s=o(i(e)/a),e*(l=r(2,-s))<1&&(s--,l*=2),(e+=s+p>=1?m/l:m*r(2,1-p))*l>=2&&(s++,l/=2),s+p>=h?(u=0,s=h):s+p>=1?(u=(e*l-1)*r(2,t),s+=p):(u=e*r(2,p-1)*r(2,t),s=0));t>=8;d[v++]=255&u,u/=256,t-=8);for(s=s<<t|u,f+=t;f>0;d[v++]=255&s,s/=256,f-=8);return d[--v]|=128*g,d},unpack:function(e,t){var n,o=e.length,i=8*o-t-1,a=(1<<i)-1,c=a>>1,s=i-7,u=o-1,l=e[u--],d=127&l;for(l>>=7;s>0;d=256*d+e[u],u--,s-=8);for(n=d&(1<<-s)-1,d>>=-s,s+=t;s>0;n=256*n+e[u],u--,s-=8);if(0===d)d=1-c;else{if(d===a)return n?NaN:l?-1/0:1/0;n+=r(2,t),d-=c}return(l?-1:1)*n*r(2,d-t)}}},function(e,t,n){var r=n(15);e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},function(e,t,n){var r=n(13),o=n(5),i=n(76),a=n(75),c=n(45),s=n(1).aTypedArrayConstructor;e.exports=function(e){var t,n,u,l,d,f,h=r(e),p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m,v=i(h);if(null!=v&&!a(v))for(f=(d=v.call(h)).next,h=[];!(l=f.call(d)).done;)h.push(l.value);for(g&&p>2&&(m=c(m,arguments[2],2)),n=o(h.length),u=new(s(this))(n),t=0;n>t;t++)u[t]=g?m(h[t],t):h[t];return u}},function(e,t,n){"use strict";var r=n(13),o=n(26),i=n(5),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),c=i(n.length),s=o(e,c),u=o(t,c),l=arguments.length>2?arguments[2]:void 0,d=a((void 0===l?c:o(l,c))-u,c-s),f=1;for(u<s&&s<u+d&&(f=-1,u+=d-1,s+=d-1);d-- >0;)u in n?n[s]=n[u]:delete n[s],s+=f,u+=f;return n}},function(e,t,n){"use strict";var r=n(19),o=n(15),i=n(5),a=n(48),c=n(28),s=Math.min,u=[].lastIndexOf,l=!!u&&1/[1].lastIndexOf(1,-0)<0,d=a("lastIndexOf"),f=c("indexOf",{ACCESSORS:!0,1:0}),h=l||!d||!f;e.exports=h?function(e){if(l)return u.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=s(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:u},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t,n){"use strict";var r=n(7),o=n(2),i=n(83),a=n(63),c=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==c},{ArrayBuffer:c}),a("ArrayBuffer")},function(e,t,n){n(101)("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){var r=n(4);t.f=r},function(e,t,n){var r=n(88),o=n(8),i=n(144),a=n(11).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){"use strict";var r=n(14).forEach,o=n(48),i=n(28),a=o("forEach"),c=i("forEach");e.exports=a&&c?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){var r=n(9);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r,o,i,a=n(2),c=n(3),s=n(18),u=n(45),l=n(90),d=n(55),f=n(149),h=a.location,p=a.setImmediate,m=a.clearImmediate,g=a.process,v=a.MessageChannel,y=a.Dispatch,w=0,b={},E=function(e){if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},x=function(e){return function(){E(e)}},_=function(e){E(e.data)},T=function(e){a.postMessage(e+"",h.protocol+"//"+h.host)};p&&m||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return b[++w]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(w),w},m=function(e){delete b[e]},"process"==s(g)?r=function(e){g.nextTick(x(e))}:y&&y.now?r=function(e){y.now(x(e))}:v&&!f?(i=(o=new v).port2,o.port1.onmessage=_,r=u(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(T)||"file:"===h.protocol?r="onreadystatechange"in d("script")?function(e){l.appendChild(d("script")).onreadystatechange=function(){l.removeChild(this),E(e)}}:function(e){setTimeout(x(e),0)}:(r=T,a.addEventListener("message",_,!1))),e.exports={set:p,clear:m}},function(e,t,n){var r=n(91);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){"use strict";var r=n(27),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(98);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(4)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},,function(e,t,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var s=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function d(e,t,n,r){var o,i,a,c;if(u(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=l(e))>0&&a.length>o&&!a.warned){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=a.length,c=s,console&&console.warn&&console.warn(c)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function p(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):g(o,o.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function g(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return l(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var c=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw c.context=a,c}var s=o[e];if(void 0===s)return!1;if("function"==typeof s)i(s,this,t);else{var u=s.length,l=g(s,u);for(n=0;n<u;++n)i(l[n],this,t)}return!0},c.prototype.addListener=function(e,t){return d(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return d(this,e,t,!0)},c.prototype.once=function(e,t){return u(t),this.on(e,h(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,h(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,o,i,a;if(u(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return p(this,e,!0)},c.prototype.rawListeners=function(e){return p(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},c.prototype.listenerCount=m,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},,,function(e,t,n){"use strict";var r=n(7),o=n(2),i=n(22),a=n(32),c=n(10),s=n(58),u=n(89),l=n(3),d=n(8),f=n(44),h=n(6),p=n(9),m=n(13),g=n(19),v=n(25),y=n(20),w=n(34),b=n(72),E=n(33),x=n(159),_=n(70),T=n(24),I=n(11),S=n(66),A=n(12),C=n(16),B=n(57),O=n(41),k=n(43),L=n(42),M=n(4),R=n(144),P=n(145),N=n(37),j=n(21),D=n(14).forEach,F=O("hidden"),U=M("toPrimitive"),V=j.set,G=j.getterFor("Symbol"),H=Object.prototype,W=o.Symbol,X=i("JSON","stringify"),K=T.f,z=I.f,Y=x.f,Z=S.f,$=B("symbols"),q=B("op-symbols"),J=B("string-to-symbol-registry"),Q=B("symbol-to-string-registry"),ee=B("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=c&&l((function(){return 7!=w(z({},"a",{get:function(){return z(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=K(H,t);r&&delete H[t],z(e,t,n),r&&e!==H&&z(H,t,r)}:z,oe=function(e,t){var n=$[e]=w(W.prototype);return V(n,{type:"Symbol",tag:e,description:t}),c||(n.description=t),n},ie=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof W},ae=function(e,t,n){e===H&&ae(q,t,n),p(e);var r=v(t,!0);return p(n),d($,r)?(n.enumerable?(d(e,F)&&e[F][r]&&(e[F][r]=!1),n=w(n,{enumerable:y(0,!1)})):(d(e,F)||z(e,F,y(1,{})),e[F][r]=!0),re(e,r,n)):z(e,r,n)},ce=function(e,t){p(e);var n=g(t),r=b(n).concat(de(n));return D(r,(function(t){c&&!se.call(n,t)||ae(e,t,n[t])})),e},se=function(e){var t=v(e,!0),n=Z.call(this,t);return!(this===H&&d($,t)&&!d(q,t))&&(!(n||!d(this,t)||!d($,t)||d(this,F)&&this[F][t])||n)},ue=function(e,t){var n=g(e),r=v(t,!0);if(n!==H||!d($,r)||d(q,r)){var o=K(n,r);return!o||!d($,r)||d(n,F)&&n[F][r]||(o.enumerable=!0),o}},le=function(e){var t=Y(g(e)),n=[];return D(t,(function(e){d($,e)||d(k,e)||n.push(e)})),n},de=function(e){var t=e===H,n=Y(t?q:g(e)),r=[];return D(n,(function(e){!d($,e)||t&&!d(H,e)||r.push($[e])})),r};(s||(C((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=L(e),n=function(e){this===H&&n.call(q,e),d(this,F)&&d(this[F],t)&&(this[F][t]=!1),re(this,t,y(1,e))};return c&&ne&&re(H,t,{configurable:!0,set:n}),oe(t,e)}).prototype,"toString",(function(){return G(this).tag})),C(W,"withoutSetter",(function(e){return oe(L(e),e)})),S.f=se,I.f=ae,T.f=ue,E.f=x.f=le,_.f=de,R.f=function(e){return oe(M(e),e)},c&&(z(W.prototype,"description",{configurable:!0,get:function(){return G(this).description}}),a||C(H,"propertyIsEnumerable",se,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:W}),D(b(ee),(function(e){P(e)})),r({target:"Symbol",stat:!0,forced:!s},{for:function(e){var t=String(e);if(d(J,t))return J[t];var n=W(t);return J[t]=n,Q[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(d(Q,e))return Q[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!s,sham:!c},{create:function(e,t){return void 0===t?w(e):ce(w(e),t)},defineProperty:ae,defineProperties:ce,getOwnPropertyDescriptor:ue}),r({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:le,getOwnPropertySymbols:de}),r({target:"Object",stat:!0,forced:l((function(){_.f(1)}))},{getOwnPropertySymbols:function(e){return _.f(m(e))}}),X)&&r({target:"JSON",stat:!0,forced:!s||l((function(){var e=W();return"[null]"!=X([e])||"{}"!=X({a:e})||"{}"!=X(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(h(t)||void 0!==e)&&!ie(e))return f(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),o[1]=t,X.apply(null,o)}});W.prototype[U]||A(W.prototype,U,W.prototype.valueOf),N(W,"Symbol"),k[F]=!0},function(e,t,n){var r=n(19),o=n(33).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){"use strict";var r=n(7),o=n(10),i=n(2),a=n(8),c=n(6),s=n(11).f,u=n(87),l=i.Symbol;if(o&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var d={},f=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof f?new l(e):void 0===e?l():l(e);return""===e&&(d[t]=!0),t};u(f,l);var h=f.prototype=l.prototype;h.constructor=f;var p=h.toString,m="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;s(h,"description",{configurable:!0,get:function(){var e=c(this)?this.valueOf():this,t=p.call(e);if(a(d,e))return"";var n=m?t.slice(7,-1):t.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:f})}},function(e,t,n){n(145)("iterator")},function(e,t,n){var r=n(7),o=n(62),i=n(74);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(e,t,n){"use strict";var r=n(7),o=n(146);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){var r=n(7),o=n(165);r({target:"Array",stat:!0,forced:!n(77)((function(e){Array.from(e)}))},{from:o})},function(e,t,n){"use strict";var r=n(45),o=n(13),i=n(147),a=n(75),c=n(5),s=n(59),u=n(76);e.exports=function(e){var t,n,l,d,f,h,p=o(e),m="function"==typeof this?this:Array,g=arguments.length,v=g>1?arguments[1]:void 0,y=void 0!==v,w=u(p),b=0;if(y&&(v=r(v,g>2?arguments[2]:void 0,2)),null==w||m==Array&&a(w))for(n=new m(t=c(p.length));t>b;b++)h=y?v(p[b],b):p[b],s(n,b,h);else for(f=(d=w.call(p)).next,n=new m;!(l=f.call(d)).done;b++)h=y?i(d,v,[l.value,b],!0):l.value,s(n,b,h);return n.length=b,n}},function(e,t,n){"use strict";var r=n(7),o=n(36).includes,i=n(74);r({target:"Array",proto:!0,forced:!n(28)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){"use strict";var r=n(7),o=n(36).indexOf,i=n(48),a=n(28),c=[].indexOf,s=!!c&&1/[1].indexOf(1,-0)<0,u=i("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:s||!u||!l},{indexOf:function(e){return s?c.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(7),o=n(14).map,i=n(60),a=n(28),c=i("map"),s=a("map");r({target:"Array",proto:!0,forced:!c||!s},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(10),o=n(11).f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(10),o=n(2),i=n(71),a=n(16),c=n(8),s=n(18),u=n(94),l=n(25),d=n(3),f=n(34),h=n(33).f,p=n(24).f,m=n(11).f,g=n(171).trim,v=o.Number,y=v.prototype,w="Number"==s(f(y)),b=function(e){var t,n,r,o,i,a,c,s,u=l(e,!1);if("string"==typeof u&&u.length>2)if(43===(t=(u=g(u)).charCodeAt(0))||45===t){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=u.slice(2)).length,c=0;c<a;c++)if((s=i.charCodeAt(c))<48||s>o)return NaN;return parseInt(i,r)}return+u};if(i("Number",!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var E,x=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof x&&(w?d((function(){y.valueOf.call(n)})):"Number"!=s(n))?u(new v(b(t)),n,x):b(t)},_=r?h(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),T=0;_.length>T;T++)c(v,E=_[T])&&!c(x,E)&&m(x,E,p(v,E));x.prototype=y,y.constructor=x,a(o,"Number",x)}},function(e,t,n){var r=n(17),o="["+n(172)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:c(1),end:c(2),trim:c(3)}},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,n){"use strict";var r=n(7),o=n(15),i=n(174),a=n(175),c=n(3),s=1..toFixed,u=Math.floor,l=function(e,t,n){return 0===t?n:t%2==1?l(e,t-1,n*e):l(e*e,t/2,n)};r({target:"Number",proto:!0,forced:s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c((function(){s.call({})}))},{toFixed:function(e){var t,n,r,c,s=i(this),d=o(e),f=[0,0,0,0,0,0],h="",p="0",m=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*f[n],f[n]=r%1e7,r=u(r/1e7)},g=function(e){for(var t=6,n=0;--t>=0;)n+=f[t],f[t]=u(n/e),n=n%e*1e7},v=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==f[e]){var n=String(f[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t};if(d<0||d>20)throw RangeError("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return String(s);if(s<0&&(h="-",s=-s),s>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(s*l(2,69,1))-69)<0?s*l(2,-t,1):s/l(2,t,1),n*=4503599627370496,(t=52-t)>0){for(m(0,n),r=d;r>=7;)m(1e7,0),r-=7;for(m(l(10,r,1),0),r=t-1;r>=23;)g(1<<23),r-=23;g(1<<r),m(1,1),g(2),p=v()}else m(0,n),m(1<<-t,0),p=v()+a.call("0",d);return p=d>0?h+((c=p.length)<=d?"0."+a.call("0",d-c)+p:p.slice(0,c-d)+"."+p.slice(c-d)):h+p}})},function(e,t,n){var r=n(18);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},function(e,t,n){"use strict";var r=n(15),o=n(17);e.exports="".repeat||function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t,n){var r=n(7),o=n(177);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){"use strict";var r=n(10),o=n(3),i=n(72),a=n(70),c=n(66),s=n(13),u=n(40),l=Object.assign,d=Object.defineProperty;e.exports=!l||o((function(){if(r&&1!==l({b:1},l(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||"abcdefghijklmnopqrst"!=i(l({},t)).join("")}))?function(e,t){for(var n=s(e),o=arguments.length,l=1,d=a.f,f=c.f;o>l;)for(var h,p=u(arguments[l++]),m=d?i(p).concat(d(p)):i(p),g=m.length,v=0;g>v;)h=m[v++],r&&!f.call(p,h)||(n[h]=p[h]);return n}:l},function(e,t,n){var r=n(7),o=n(3),i=n(13),a=n(35),c=n(93);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){"use strict";var r,o,i,a,c=n(7),s=n(32),u=n(2),l=n(22),d=n(180),f=n(16),h=n(96),p=n(37),m=n(63),g=n(6),v=n(27),y=n(64),w=n(18),b=n(56),E=n(181),x=n(77),_=n(23),T=n(148).set,I=n(182),S=n(183),A=n(184),C=n(150),B=n(185),O=n(21),k=n(71),L=n(4),M=n(61),R=L("species"),P="Promise",N=O.get,j=O.set,D=O.getterFor(P),F=d,U=u.TypeError,V=u.document,G=u.process,H=l("fetch"),W=C.f,X=W,K="process"==w(G),z=!!(V&&V.createEvent&&u.dispatchEvent),Y=k(P,(function(){if(!(b(F)!==String(F))){if(66===M)return!0;if(!K&&"function"!=typeof PromiseRejectionEvent)return!0}if(s&&!F.prototype.finally)return!0;if(M>=51&&/native code/.test(F))return!1;var e=F.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[R]=t,!(e.then((function(){}))instanceof t)})),Z=Y||!x((function(e){F.all(e).catch((function(){}))})),$=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},q=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;I((function(){for(var o=t.value,i=1==t.state,a=0;r.length>a;){var c,s,u,l=r[a++],d=i?l.ok:l.fail,f=l.resolve,h=l.reject,p=l.domain;try{d?(i||(2===t.rejection&&te(e,t),t.rejection=1),!0===d?c=o:(p&&p.enter(),c=d(o),p&&(p.exit(),u=!0)),c===l.promise?h(U("Promise-chain cycle")):(s=$(c))?s.call(c,f,h):f(c)):h(o)}catch(e){p&&!u&&p.exit(),h(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Q(e,t)}))}},J=function(e,t,n){var r,o;z?((r=V.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},(o=u["on"+e])?o(r):"unhandledrejection"===e&&A("Unhandled promise rejection",n)},Q=function(e,t){T.call(u,(function(){var n,r=t.value;if(ee(t)&&(n=B((function(){K?G.emit("unhandledRejection",r,e):J("unhandledrejection",e,r)})),t.rejection=K||ee(t)?2:1,n.error))throw n.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){T.call(u,(function(){K?G.emit("rejectionHandled",e):J("rejectionhandled",e,t.value)}))},ne=function(e,t,n,r){return function(o){e(t,n,o,r)}},re=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,q(e,t,!0))},oe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw U("Promise can't be resolved itself");var o=$(n);o?I((function(){var r={done:!1};try{o.call(n,ne(oe,e,r,t),ne(re,e,r,t))}catch(n){re(e,r,n,t)}})):(t.value=n,t.state=1,q(e,t,!1))}catch(n){re(e,{done:!1},n,t)}}};Y&&(F=function(e){y(this,F,P),v(e),r.call(this);var t=N(this);try{e(ne(oe,this,t),ne(re,this,t))}catch(e){re(this,t,e)}},(r=function(e){j(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(F.prototype,{then:function(e,t){var n=D(this),r=W(_(this,F));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=K?G.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&q(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=N(e);this.promise=e,this.resolve=ne(oe,e,t),this.reject=ne(re,e,t)},C.f=W=function(e){return e===F||e===i?new o(e):X(e)},s||"function"!=typeof d||(a=d.prototype.then,f(d.prototype,"then",(function(e,t){var n=this;return new F((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof H&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return S(F,H.apply(u,arguments))}}))),c({global:!0,wrap:!0,forced:Y},{Promise:F}),p(F,P,!1,!0),m(P),i=l(P),c({target:P,stat:!0,forced:Y},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),c({target:P,stat:!0,forced:s||Y},{resolve:function(e){return S(s&&this===i?F:this,e)}}),c({target:P,stat:!0,forced:Z},{all:function(e){var t=this,n=W(t),r=n.resolve,o=n.reject,i=B((function(){var n=v(t.resolve),i=[],a=0,c=1;E(e,(function(e){var s=a++,u=!1;i.push(void 0),c++,n.call(t,e).then((function(e){u||(u=!0,i[s]=e,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=W(t),r=n.reject,o=B((function(){var o=v(t.resolve);E(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t,n){var r=n(2);e.exports=r.Promise},function(e,t,n){var r=n(9),o=n(75),i=n(5),a=n(45),c=n(76),s=n(147),u=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,l,d){var f,h,p,m,g,v,y,w=a(t,n,l?2:1);if(d)f=e;else{if("function"!=typeof(h=c(e)))throw TypeError("Target is not iterable");if(o(h)){for(p=0,m=i(e.length);m>p;p++)if((g=l?w(r(y=e[p])[0],y[1]):w(e[p]))&&g instanceof u)return g;return new u(!1)}f=h.call(e)}for(v=f.next;!(y=v.call(f)).done;)if("object"==typeof(g=s(f,w,y.value,l))&&g&&g instanceof u)return g;return new u(!1)}).stop=function(e){return new u(!0,e)}},function(e,t,n){var r,o,i,a,c,s,u,l,d=n(2),f=n(24).f,h=n(18),p=n(148).set,m=n(149),g=d.MutationObserver||d.WebKitMutationObserver,v=d.process,y=d.Promise,w="process"==h(v),b=f(d,"queueMicrotask"),E=b&&b.value;E||(r=function(){var e,t;for(w&&(e=v.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},w?a=function(){v.nextTick(r)}:g&&!m?(c=!0,s=document.createTextNode(""),new g(r).observe(s,{characterData:!0}),a=function(){s.data=c=!c}):y&&y.resolve?(u=y.resolve(void 0),l=u.then,a=function(){l.call(u,r)}):a=function(){p.call(d,r)}),e.exports=E||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,n){var r=n(9),o=n(6),i=n(150);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(2);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){var r=n(7),o=n(22),i=n(27),a=n(9),c=n(6),s=n(34),u=n(187),l=n(3),d=o("Reflect","construct"),f=l((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),h=!l((function(){d((function(){}))})),p=f||h;r({target:"Reflect",stat:!0,forced:p,sham:p},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(h&&!f)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(u.apply(e,r))}var o=n.prototype,l=s(c(o)?o:Object.prototype),p=Function.apply.call(e,l,t);return c(p)?p:l}})},function(e,t,n){"use strict";var r=n(27),o=n(6),i=[].slice,a={},c=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?c(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t,n){"use strict";var r=n(7),o=n(151),i=n(17);r({target:"String",proto:!0,forced:!n(152)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(99).charAt,o=n(21),i=n(92),a=o.set,c=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=c(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(53),o=n(9),i=n(5),a=n(17),c=n(65),s=n(54);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),u=String(this);if(!a.global)return s(a,u);var l=a.unicode;a.lastIndex=0;for(var d,f=[],h=0;null!==(d=s(a,u));){var p=String(d[0]);f[h]=p,""===p&&(a.lastIndex=c(u,i(a.lastIndex),l)),h++}return 0===h?null:f}]}))},function(e,t,n){"use strict";var r=n(53),o=n(9),i=n(17),a=n(192),c=n(54);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),s=String(this),u=i.lastIndex;a(u,0)||(i.lastIndex=0);var l=c(i,s);return a(i.lastIndex,u)||(i.lastIndex=u),null===l?-1:l.index}]}))},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r,o=n(7),i=n(24).f,a=n(5),c=n(151),s=n(17),u=n(152),l=n(32),d="".startsWith,f=Math.min,h=u("startsWith");o({target:"String",proto:!0,forced:!!(l||h||(r=i(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var t=String(s(this));c(e);var n=a(f(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return d?d.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){n(101)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){var r=n(2),o=n(153),i=n(146),a=n(12);for(var c in o){var s=r[c],u=s&&s.prototype;if(u&&u.forEach!==i)try{a(u,"forEach",i)}catch(e){u.forEach=i}}},function(e,t,n){var r=n(2),o=n(153),i=n(50),a=n(12),c=n(4),s=c("iterator"),u=c("toStringTag"),l=i.values;for(var d in o){var f=r[d],h=f&&f.prototype;if(h){if(h[s]!==l)try{a(h,s,l)}catch(e){h[s]=l}if(h[u]||a(h,u,d),o[d])for(var p in i)if(h[p]!==i[p])try{a(h,p,i[p])}catch(e){h[p]=i[p]}}}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n,r){var o=t&&t.prototype instanceof l?t:l,i=Object.create(o.prototype),a=new x(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var u={};function l(){}function d(){}function f(){}var h={};h[o]=function(){return this};var p=Object.getPrototypeOf,m=p&&p(p(_([])));m&&m!==t&&n.call(m,o)&&(h=m);var g=f.prototype=l.prototype=Object.create(h);function v(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,c){var u=s(e[o],e,i);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(u.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:T}}function T(){return{value:void 0,done:!0}}return d.prototype=g.constructor=f,f.constructor=d,f[a]=d.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},v(y.prototype),y.prototype[i]=function(){return this},e.AsyncIterator=y,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new y(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},v(g),g[a]="Generator",g[o]=function(){return this},g.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:_(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},,function(e,t,n){"use strict";n.r(t),n.d(t,"onOOCEnter",(function(){return K})),n.d(t,"onEnter",(function(){return z})),n.d(t,"musiclist_filter",(function(){return Y})),n.d(t,"musiclist_click",(function(){return Z})),n.d(t,"mutelist_click",(function(){return $})),n.d(t,"showname_click",(function(){return q})),n.d(t,"area_click",(function(){return J})),n.d(t,"changeMusicVolume",(function(){return Q})),n.d(t,"changeSFXVolume",(function(){return ee})),n.d(t,"changeShoutVolume",(function(){return te})),n.d(t,"changeTestimonyVolume",(function(){return ne})),n.d(t,"changeBlipVolume",(function(){return re})),n.d(t,"reloadTheme",(function(){return oe})),n.d(t,"changeCallwords",(function(){return ie})),n.d(t,"modcall_test",(function(){return ae})),n.d(t,"iniedit",(function(){return ce})),n.d(t,"switchAspectRatio",(function(){return ue})),n.d(t,"switchChatOffset",(function(){return de})),n.d(t,"changeCharacter",(function(){return he})),n.d(t,"charError",(function(){return pe})),n.d(t,"imgError",(function(){return me})),n.d(t,"ReconnectButton",(function(){return xe})),n.d(t,"checkCallword",(function(){return Te})),n.d(t,"chartable_filter",(function(){return Ie})),n.d(t,"pickChar",(function(){return Se})),n.d(t,"pickEmotion",(function(){return Ae})),n.d(t,"pickEvidence",(function(){return Ce})),n.d(t,"addEvidence",(function(){return Be})),n.d(t,"editEvidence",(function(){return Oe})),n.d(t,"deleteEvidence",(function(){return ke})),n.d(t,"cancelEvidence",(function(){return Le})),n.d(t,"getIndexFromSelect",(function(){return Me})),n.d(t,"setChatbox",(function(){return Re})),n.d(t,"resizeChatbox",(function(){return Pe})),n.d(t,"updateEvidenceIcon",(function(){return Ne})),n.d(t,"updateActionCommands",(function(){return je})),n.d(t,"changeBackgroundOOC",(function(){return De})),n.d(t,"changeRoleOOC",(function(){return Fe})),n.d(t,"randomCharacterOOC",(function(){return Ue})),n.d(t,"callMod",(function(){return Ve})),n.d(t,"initWT",(function(){return Ge})),n.d(t,"initCE",(function(){return He})),n.d(t,"notguilty",(function(){return We})),n.d(t,"guilty",(function(){return Xe})),n.d(t,"addHPD",(function(){return Ke})),n.d(t,"redHPD",(function(){return ze})),n.d(t,"addHPP",(function(){return Ye})),n.d(t,"redHPP",(function(){return Ze})),n.d(t,"updateBackgroundPreview",(function(){return $e})),n.d(t,"toggleEffect",(function(){return qe})),n.d(t,"toggleMenu",(function(){return Je})),n.d(t,"toggleShout",(function(){return Qe}));n(158),n(160),n(161),n(129),n(162),n(163),n(164),n(166),n(167),n(50),n(168),n(132),n(79),n(169),n(170),n(173),n(176),n(178),n(95),n(179),n(186),n(52),n(97),n(188),n(189),n(190),n(100),n(191),n(81),n(193),n(194),n(102),n(103),n(104),n(105),n(106),n(107),n(108),n(109),n(110),n(111),n(112),n(113),n(114),n(115),n(116),n(117),n(118),n(119),n(120),n(121),n(122),n(123),n(124),n(195),n(196),n(197);var r,o,i=n(31),a=n.n(i),c=n(0),s=["Anime","birthday","Christmas","CountyCourt","CruiseCourt","default","DGSEnglishCourt","DGSJapanCourt","DualDestinies","EnglishCourt","gs4","GS4Night","HD","Khura'in","mlp","NewCourt","RuinedCourt","Sky","SpaceCourt","Themis","TouhouCourt","WitchTrialCourt","Zetta"],u=["1.png","2.png","3.png","4.png","5.png","6.png","empty.png","lawyerbadge.png"],l=["aa","chatdd","dgs","chatplvsaa","trilogy","chatfuture","legacy","dr1","chatdr2","drv3","drae","chatp3","p4","chat999","halla","homestuck","yakuza","yttd","n64zelda","papermario"],d=n(155),f=n(86);function h(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){g(i,r,o,a,c,"next",e)}function c(e){g(i,r,o,a,c,"throw",e)}a(void 0)}))}}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),e}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=I(e);if(t){var o=I(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}function _(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?T(e):t}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S={};location.search.substr(1).split("&").forEach((function(e){S[e.split("=")[0]]=e.split("=")[1]}));var A,C=S.ip,B=S.mode,O=location.hostname?"https://cf-ipfs.com/ipfs/QmQA8xshtWveXG2uLNyFjNmzs9npvQM1voah8DDMnRXzeA/":"base/",k=S.asset||O,L=S.theme||"default",M=k+"sounds/music/",R="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=",P=!1,N=1,j=0,D=[],F={fonts:{extendedJsFonts:!0,userDefinedFonts:["Ace Attorney","8bitoperator","DINEngschrift"]},excludes:{userAgent:!0,enumerateDevices:!0}};window.requestIdleCallback?requestIdleCallback((function(){a.a.get(F,(function(e){A=a.a.x64hash128(e.reduce((function(e,t){return"".concat(e.value||e,", ").concat(t.value)})),31),r=new V(C),o=new G,/webOS|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|PlayStation|Opera Mini/i.test(navigator.userAgent)&&(P=!0),r.loadResources()}))})):setTimeout((function(){a.a.get(F,(function(e){A=a.a.x64hash128(e.reduce((function(e,t){return"".concat(e.value||e,", ").concat(t.value)})),31),r=new V(C),o=new G,/webOS|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|PlayStation|Opera Mini/i.test(navigator.userAgent)&&(P=!0),r.loadResources()}))}),500);var U=new Date(0),V=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(a,e);var t,n,i=x(a);function a(e){var t;return y(this,a),(t=i.call(this)).serv=new WebSocket("ws://"+e),t.serv.addEventListener("open",t.emit.bind(T(t),"open")),t.serv.addEventListener("close",t.emit.bind(T(t),"close")),t.serv.addEventListener("message",t.emit.bind(T(t),"message")),t.serv.addEventListener("error",t.emit.bind(T(t),"error")),t.on("open",t.onOpen.bind(T(t))),t.on("close",t.onClose.bind(T(t))),t.on("message",t.onMessage.bind(T(t))),t.on("error",t.onError.bind(T(t))),t.hp=[0,0],t.playerID=1,t.charID=-1,t.char_list_length=0,t.evidence_list_length=0,t.music_list_length=0,t.testimonyID=0,t.chars=[],t.emotes=[],t.evidences=[],t.areas=[],t.musics=[],t.callwords=[],t.resources={holdit:{src:k+"misc/default/holdit_bubble.png",duration:720},objection:{src:k+"misc/default/objection_bubble.png",duration:720},takethat:{src:k+"misc/default/takethat_bubble.png",duration:840},witnesstestimony:{src:k+"themes/"+L+"/witnesstestimony.gif",duration:1560,sfx:k+"sounds/general/sfx-testimony.wav"},crossexamination:{src:k+"themes/"+L+"/crossexamination.gif",duration:1600,sfx:k+"sounds/general/sfx-testimony2.wav"},guilty:{src:k+"themes/"+L+"/guilty.gif",duration:2870,sfx:k+"sounds/general/sfx-guilty.wav"},notguilty:{src:k+"themes/"+L+"/notguilty.gif",duration:2440,sfx:k+"sounds/general/sfx-notguilty.wav"}},t.selectedEmote=-1,t.selectedEvidence=0,t.checkUpdater=null,t.on("MS",t.handleMS.bind(T(t))),t.on("CT",t.handleCT.bind(T(t))),t.on("MC",t.handleMC.bind(T(t))),t.on("RMC",t.handleRMC.bind(T(t))),t.on("CI",t.handleCI.bind(T(t))),t.on("SC",t.handleSC.bind(T(t))),t.on("EI",t.handleEI.bind(T(t))),t.on("FL",t.handleFL.bind(T(t))),t.on("LE",t.handleLE.bind(T(t))),t.on("EM",t.handleEM.bind(T(t))),t.on("SM",t.handleSM.bind(T(t))),t.on("MM",t.handleMM.bind(T(t))),t.on("BD",t.handleBD.bind(T(t))),t.on("KB",t.handleKB.bind(T(t))),t.on("KK",t.handleKK.bind(T(t))),t.on("DONE",t.handleDONE.bind(T(t))),t.on("BN",t.handleBN.bind(T(t))),t.on("HP",t.handleHP.bind(T(t))),t.on("RT",t.handleRT.bind(T(t))),t.on("ZZ",t.handleZZ.bind(T(t))),t.on("ID",t.handleID.bind(T(t))),t.on("PN",t.handlePN.bind(T(t))),t.on("SI",t.handleSI.bind(T(t))),t.on("ARUP",t.handleARUP.bind(T(t))),t.on("CharsCheck",t.handleCharsCheck.bind(T(t))),t.on("decryptor",t.handleDecryptor.bind(T(t))),t.on("PV",t.handlePV.bind(T(t))),t.on("CHECK",(function(){})),t._lastTimeICReceived=new Date(0),t}return b(a,[{key:"sendServer",value:function(e){this.serv.send(e)}},{key:"sendOOC",value:function(e){X("OOC_name",document.getElementById("OOC_name").value),this.sendServer("CT#".concat(Object(c.b)(Object(c.a)(document.getElementById("OOC_name").value)),"#").concat(Object(c.b)(Object(c.a)(e)),"#%"))}},{key:"sendIC",value:function(e,t,n,r,o,i,a,s,u,l,d,f,h,p,m,g,v,y,w,b){var E="",x="",_="";if(D.includes("cccc_ic_support")&&(E="".concat(m,"#").concat(g,"#").concat(v,"#").concat(y,"#"),D.includes("looping_sfx"))){if(x="".concat(w,"#").concat(b,"#").concat("","#").concat("","#").concat("","#"),D.includes("effects")){_="".concat(0,"#").concat("","#")}}var T="MS#".concat(e,"#").concat(t,"#").concat(n,"#").concat(r)+"#".concat(Object(c.b)(Object(c.a)(o)),"#").concat(i,"#").concat(a,"#").concat(s)+"#".concat(this.charID,"#").concat(u,"#").concat(l,"#").concat(d,"#").concat(f,"#").concat(h,"#").concat(p,"#").concat(E).concat(x).concat(_,"%");console.log(T),this.sendServer(T)}},{key:"sendPE",value:function(e,t,n){this.sendServer("PE#".concat(Object(c.b)(Object(c.a)(e)),"#").concat(Object(c.b)(Object(c.a)(t)),"#").concat(n,"#%"))}},{key:"sendEE",value:function(e,t,n,r){this.sendServer("EE#".concat(e,"#").concat(Object(c.b)(Object(c.a)(t)),"#").concat(Object(c.b)(Object(c.a)(n)),"#").concat(r,"#%"))}},{key:"sendDE",value:function(e){this.sendServer("DE#".concat(e,"#%"))}},{key:"sendHP",value:function(e,t){this.sendServer("HP#".concat(e,"#").concat(t,"#%"))}},{key:"sendZZ",value:function(e){D.includes("modcall_reason")?this.sendServer("ZZ#".concat(e,"#%")):this.sendServer("ZZ#%")}},{key:"sendRT",value:function(e){"jud"===this.chars[this.charID].side&&this.sendServer("RT#".concat(e,"#%"))}},{key:"sendMusicChange",value:function(e){this.sendServer("MC#".concat(e,"#").concat(this.charID,"#%"))}},{key:"sendLeaveRoom",value:function(){this.sendServer("FC#%")}},{key:"joinServer",value:function(){var e=this;console.log("Your emulated HDID is ".concat(A)),this.sendServer("HI#".concat(A,"#%")),this.sendServer("ID#webAO#webAO#%"),this.checkUpdater=setInterval((function(){return e.sendCheck()}),5e3)}},{key:"loadResources",value:function(){document.getElementById("client_version").innerText="version "+f.a;var e=document.getElementById("bg_select");e.add(new Option("Custom",0)),s.forEach((function(t){e.add(new Option(t))}));var t=document.getElementById("evi_select");t.add(new Option("Custom",0)),u.forEach((function(e){t.add(new Option(e))})),document.getElementById("OOC_name").value=W("OOC_name")||"web"+parseInt(100*Math.random()+10);var n=W("theme")||"default";document.querySelector('#client_themeselect [value="'+n+'"]').selected=!0,oe();var r=W("chatbox")||"dynamic";document.querySelector('#client_chatboxselect [value="'+r+'"]').selected=!0,Re(r),document.getElementById("client_musicaudio").volume=W("musicVolume")||1,Q(),document.getElementById("client_sfxaudio").volume=W("sfxVolume")||1,ee(),document.getElementById("client_shoutaudio").volume=W("shoutVolume")||1,te(),document.getElementById("client_testimonyaudio").volume=W("testimonyVolume")||1,ne(),document.getElementById("client_bvolume").value=W("blipVolume")||1,re(),document.getElementById("ic_chat_name").value=W("ic_chat_name"),document.getElementById("showname").checked=W("showname"),document.getElementById("client_callwords").value=W("callwords")}},{key:"sendCharacter",value:function(e){this.chars[e].name&&this.sendServer("CC#".concat(this.playerID,"#").concat(e,"#web#%"))}},{key:"sendMusic",value:function(e){this.sendServer("MC#".concat(e,"#").concat(this.charID,"#%"))}},{key:"sendCheck",value:function(){this.sendServer("CH#".concat(this.charID,"#%"))}},{key:"onOpen",value:function(e){r.joinServer()}},{key:"onClose",value:function(e){console.error("The connection was closed: ".concat(e.reason," (").concat(e.code,")")),1001!==e.code&&(document.getElementById("client_error").style.display="flex",document.getElementById("client_loading").style.display="none",document.getElementById("error_id").textContent=e.code,this.cleanup())}},{key:"onMessage",value:function(e){var t=e.data;console.debug(t);var n=t.split("%")[0].split("#"),r=n[0];this.emit(r,n)||console.warn("Invalid packet header ".concat(r))}},{key:"onError",value:function(e){console.error("A network error occurred: ".concat(e.reason," (").concat(e.code,")")),document.getElementById("client_error").style.display="flex",document.getElementById("error_id").textContent=e.code,this.cleanup()}},{key:"cleanup",value:function(){clearInterval(this.checkUpdater),this.resetMusiclist(),document.getElementById("client_chartable").innerHTML=""}},{key:"handleMS",value:function(e){if(e[4]!==o.chatmsg.content){document.getElementById("client_inner_chat").innerHTML="";var t=Number(e[9]),n=Object(c.d)(e[3]),r=e[3],i="male",a="default",s=!1;try{if(r=this.chars[t].showname,i=this.chars[t].gender,a=this.chars[t].chat,s=this.chars[t].muted,this.chars[t].name!==n){console.info(this.chars[t].name+" is iniediting to "+n);var u=(n+"&iniediter").split("&");this.handleCharacterInfo(u,t)}}catch(t){r=e[3],i="male",a="default",s=!1,console.error("we're still missing some character data")}if(!1===s){var l={deskmod:Object(c.d)(e[1]).toLowerCase(),preanim:Object(c.d)(e[2]).toLowerCase(),nameplate:r,chatbox:a,name:n,sprite:Object(c.d)(e[4]).toLowerCase(),content:Object(c.c)(e[5]),side:e[6].toLowerCase(),sound:Object(c.d)(e[7]).toLowerCase(),blips:Object(c.d)(i),type:Number(e[8]),charid:t,snddelay:Number(e[10]),objection:Number(e[11]),evidence:Object(c.d)(e[12]),flip:Number(e[13]),flash:Number(e[14]),color:Number(e[15])};if(D.includes("cccc_ic_support")){var d={showname:Object(c.d)(e[16]),other_charid:Number(e[17]),other_name:Object(c.d)(e[18]),other_emote:Object(c.d)(e[19]),self_offset:Number(e[20]),other_offset:Number(e[21]),other_flip:Number(e[22]),noninterrupting_preanim:Number(e[23])};if(l=Object.assign(d,l),D.includes("looping_sfx")){var f={looping_sfx:Number(e[24]),screenshake:Number(e[25]),frame_screenshake:Object(c.d)(e[26]),frame_realization:Object(c.d)(e[27]),frame_sfx:Object(c.d)(e[28])};l=Object.assign(f,l)}else{l=Object.assign({looping_sfx:0,screenshake:0,frame_screenshake:"",frame_realization:"",frame_sfx:""},l)}}else{l=Object.assign({showname:"",other_charid:0,other_name:"",other_emote:"",self_offset:0,other_offset:0,other_flip:0,noninterrupting_preanim:0},l)}l.charid===this.charID&&(document.getElementById("client_inputbox").value="",document.getElementById("button_flash").className="client_button",document.getElementById("button_shake").className="client_button",document.getElementById("sendpreanim").checked=!1,j&&(document.getElementById("button_"+j).className="client_button",j=0)),o.say(l)}}}},{key:"handleCT",value:function(e){var t=document.getElementById("client_ooclog");t.innerHTML+="".concat(Object(c.c)(e[1]),": ").concat(Object(c.c)(e[2]),"\r\n"),t.scrollTop>t.scrollHeight-600&&(t.scrollTop=t.scrollHeight)}},{key:"handleMC",value:function(e){var t,n=Object(c.c)(e[1]),r=Number(e[2]),i=o.music;i.pause(),n.startsWith("http")?i.src=n:i.src=M+encodeURI(n.toLowerCase()),i.play();try{t=this.chars[r].name}catch(e){r=-1}r>=0?(t=this.chars[r].name,_e("".concat(t," changed music to ").concat(n))):_e("The music was changed to ".concat(n)),document.getElementById("client_trackstatustext").innerText=n}},{key:"handleRMC",value:function(e){o.music.pause();var t=o.music;t.totime=e[1],t.offset=(new Date).getTime()/1e3,t.addEventListener("loadedmetadata",(function(){t.currentTime+=parseFloat(t.totime+((new Date).getTime()/1e3-t.offset)).toFixed(3),t.play()}),!1)}},{key:"handleCharacterInfo",value:(n=v(regeneratorRuntime.mark((function e(t,n){var r,o,i,a,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t[0]){e.next=31;break}return r={},o=k+"characters/"+encodeURI(t[0].toLowerCase())+"/char_icon.png",(i=document.getElementById("demo_".concat(n))).alt=t[0],i.src=o,e.prev=6,e.next=9,ye(k+"characters/"+encodeURI(t[0].toLowerCase())+"/char.ini");case 9:a=e.sent,r=H.parse(a),e.next=18;break;case 13:e.prev=13,e.t0=e.catch(6),r={},i.classList.add("noini"),console.warn("character "+t[0]+" is missing from webAO");case 18:document.getElementById("mute_select").add(new Option(Object(c.d)(t[0]),n)),document.getElementById("pair_select").add(new Option(Object(c.d)(t[0]),n)),document.getElementById("client_ininame").add(new Option(Object(c.d)(t[0]))),s={name:t[0],showname:t[0],side:"def",gender:"male",chat:"aa"},r.options=Object.assign(s,r.options),u={number:0},r.emotions=Object.assign(u,r.emotions),this.chars[n]={name:Object(c.d)(t[0]),showname:Object(c.d)(r.options.showname),desc:Object(c.d)(t[1]),gender:Object(c.d)(r.options.gender).toLowerCase(),side:Object(c.d)(r.options.side).toLowerCase(),chat:Object(c.d)(r.options.chat).toLowerCase(),evidence:t[3],icon:o,inifile:r,muted:!1},e.next=34;break;case 31:console.warn("missing charid "+n),document.getElementById("demo_".concat(n)).style.display="none";case 34:case"end":return e.stop()}}),e,this,[[6,13]])}))),function(e,t){return n.apply(this,arguments)})},{key:"handleCI",value:function(e){var t=this;document.getElementById("client_loadingtext").innerHTML="Loading Character "+e[1];for(var n=2;n<=e.length-2;n++)n%2==0&&function(){document.getElementById("client_loadingtext").innerHTML="Loading Character ".concat(n,"/").concat(t.char_list_length);var r=e[n].split("&"),o=e[n-1];setTimeout((function(){return t.handleCharacterInfo(r,o)}),10*o)}();this.sendServer("AN#"+(e[1]/10+1)+"#%")}},{key:"handleSC",value:function(e){var t=this;document.getElementById("client_loadingtext").innerHTML="Loading Characters";for(var n=function(n){document.getElementById("client_loadingtext").innerHTML="Loading Character ".concat(n,"/").concat(t.char_list_length);var r=e[n].split("&"),o=n-1;setTimeout((function(){return t.handleCharacterInfo(r,o)}),10*o)},r=1;r<e.length;r++)n(r);this.sendServer("RM#%")}},{key:"handleEI",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Evidence ".concat(e[1],"/").concat(this.evidence_list_length),this.sendServer("RM#%")}},{key:"handleLE",value:function(e){this.evidences=[];for(var t=1;t<e.length-1;t++){var n=e[t].split("&");this.evidences[t-1]={name:Object(c.c)(n[0]),desc:Object(c.c)(n[1]),filename:Object(c.d)(n[2]),icon:k+"evidence/"+encodeURI(n[2].toLowerCase())}}var r=document.getElementById("evidences");r.innerHTML="";for(var o=1;o<=this.evidences.length;o++)r.innerHTML+='<img src="'.concat(this.evidences[o-1].icon,'" \n\t\t\t\tid="evi_').concat(o,'" \n\t\t\t\talt="').concat(this.evidences[o-1].name,'"\n\t\t\t\tclass="evi_icon"\n\t\t\t\tonclick="pickEvidence(').concat(o,')">')}},{key:"resetMusiclist",value:function(){this.musics=[],this.areas=[],document.getElementById("client_musiclist").innerHTML="",document.getElementById("areas").innerHTML=""}},{key:"isAudio",value:function(e){return!!(/\.(?:wav|mp3|mp4|ogg|opus)$/i.test(e)||e.startsWith("=")||e.startsWith("-"))}},{key:"handleMusicInfo",value:function(e,t){if(this.isAudio(t)){var n=document.createElement("OPTION");n.text=t,document.getElementById("client_musiclist").options.add(n),this.musics.push(t)}else{var r={name:t,players:0,status:"IDLE",cm:"",locked:"FREE"};this.areas.push(r);var o=document.createElement("SPAN");o.classList="area-button area-default",o.id="area"+e,o.innerText=r.name,o.title="Players: <br>Status: <br>CM: ",o.onclick=function(){J(this)},document.getElementById("areas").appendChild(o)}}},{key:"handleEM",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Music","0"===e[1]&&this.resetMusiclist();for(var t=2;t<e.length-1;t++)t%2==0&&(document.getElementById("client_loadingtext").innerHTML="Loading Music ".concat(t,"/").concat(this.music_list_length),this.handleMusicInfo(e[t-1],Object(c.d)(e[t])));this.sendServer("AM#"+(e[1]/10+1)+"#%")}},{key:"handleSM",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Music ",this.resetMusiclist();for(var t=1;t<e.length-1;t++)document.getElementById("client_loadingtext").innerHTML="Loading Music ".concat(t,"/").concat(this.music_list_length),this.handleMusicInfo(t-1,Object(c.d)(e[t]));this.sendServer("RD#%")}},{key:"handleMM",value:function(e){}},{key:"handleBans",value:function(e,t){document.getElementById("client_error").style.display="flex",document.getElementById("client_errortext").innerHTML=e+":<br>"+t.replace(/\n/g,"<br />"),document.getElementsByClassName("client_reconnect")[0].style.display="none",document.getElementsByClassName("client_reconnect")[1].style.display="none"}},{key:"handleKK",value:function(e){this.handleBans("Kicked",Object(c.d)(e[1]))}},{key:"handleKB",value:function(e){this.handleBans("Banned",Object(c.d)(e[1]))}},{key:"handleBD",value:function(e){this.handleBans("Banned",Object(c.d)(e[1]))}},{key:"handleDONE",value:function(e){document.getElementById("client_loading").style.display="none",document.getElementById("client_charselect").style.display="watch"===B?"none":"block"}},{key:"handleBN",value:function(e){o.bgname=Object(c.d)(e[1]);var t=Me("bg_select",o.bgname);document.getElementById("bg_select").selectedIndex=t,$e(),0===t&&(document.getElementById("bg_filename").value=o.bgname),document.getElementById("bg_preview").src=k+"background/"+encodeURI(e[1].toLowerCase())+"/defenseempty.png",-1===this.charID?o.changeBackground("jud"):o.changeBackground(this.chars[this.charID].side)}},{key:"handleHP",value:function(e){var t,n=10*Number(e[2]);"1"===e[1]?(this.hp[0]=e[2],t=document.getElementById("client_defense_hp")):(this.hp[1]=e[2],t=document.getElementById("client_prosecutor_hp")),t.getElementsByClassName("health-bar")[0].style.width=n+"%"}},{key:"handleRT",value:function(e){var t=Number(e[2]);switch(e[1]){case"testimony1":this.testimonyID=1;break;case"testimony2":this.testimonyID=2;break;case"judgeruling":this.testimonyID=3+t;break;default:console.warn("Invalid testimony")}o.initTestimonyUpdater()}},{key:"handleZZ",value:function(e){var t=document.getElementById("client_ooclog");t.innerHTML+="$Alert: ".concat(Object(c.c)(e[1]),"\r\n"),t.scrollTop>t.scrollHeight-60&&(t.scrollTop=t.scrollHeight),o.sfxaudio.pause();var n=o.sfxaudio.volume;o.sfxaudio.volume=1,o.sfxaudio.src=k+"sounds/general/sfx-gallery.wav",o.sfxaudio.play(),o.sfxaudio.volume=n}},{key:"handleID",value:function(e){this.playerID=Number(e[1]),this.serverSoftware=e[2].split("&")[0],"serverD"===this.serverSoftware?this.serverVersion=e[2].split("&")[1]:this.serverVersion=e[3],"serverD"===this.serverSoftware&&"1377.152"===this.serverVersion&&(P=!0)}},{key:"handlePN",value:function(e){this.sendServer("askchaa#%")}},{key:"handleARUP",value:function(e){e=e.slice(1);for(var t=0;t<e.length-2;t++)if(this.areas[t]){var n=document.getElementById("area"+t);switch(Number(e[0])){case 0:this.areas[t].players=Number(e[t+1]),n.innerText="".concat(this.areas[t].name," (").concat(this.areas[t].players,")");break;case 1:this.areas[t].status=Object(c.d)(e[t+1]),n.classList="area-button area-"+this.areas[t].status.toLowerCase();break;case 2:this.areas[t].cm=Object(c.d)(e[t+1]);break;case 3:this.areas[t].locked=Object(c.d)(e[t+1])}n.title="Players: ".concat(this.areas[t].players,"\n")+"Status: ".concat(this.areas[t].status,"\n")+"CM: ".concat(this.areas[t].cm,"\n")+"Area lock: ".concat(this.areas[t].locked)}}},{key:"handleFL",value:function(e){if(console.info("Server-supported features:"),console.info(e),D=e,e.includes("yellowtext")){var t=document.getElementById("textcolor");t.options[t.options.length]=new Option("Yellow",5),t.options[t.options.length]=new Option("Rainbow",6),t.options[t.options.length]=new Option("Pink",7),t.options[t.options.length]=new Option("Cyan",8)}e.includes("cccc_ic_support")&&(document.getElementById("cccc").style.display="",document.getElementById("pairing").style.display=""),e.includes("flipping")&&(document.getElementById("button_flip").style.display=""),e.includes("looping_sfx")&&(document.getElementById("button_shake").style.display="")}},{key:"handleSI",value:function(e){this.char_list_length=Number(e[1]),this.char_list_length+=1,this.evidence_list_length=Number(e[2]),this.music_list_length=Number(e[3]),document.getElementById("client_chartable").innerHTML="";for(var t=0;t<this.char_list_length;t++){var n=document.createElement("img");n.className="demothing",n.id="demo_".concat(t);var r=document.createAttribute("onclick");r.value="pickChar(".concat(t,")"),n.setAttributeNode(r),document.getElementById("client_chartable").appendChild(n)}!P&&D.includes("fastloading")?this.sendServer("RC#%"):this.sendServer("askchar2#%")}},{key:"handleCharsCheck",value:function(e){for(var t=0;t<this.char_list_length;t++){var n=document.getElementById("demo_".concat(t));"-1"===e[t+1]?n.style.opacity=.25:"0"===e[t+1]&&(n.style.opacity=1)}}},{key:"handleDecryptor",value:function(e){}},{key:"handlePV",value:(t=v(regeneratorRuntime.mark((function e(t){var n,r,o,i,a,c,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.charID=Number(t[3]),document.getElementById("client_charselect").style.display="none",n=this.character,this.selectedEmote=-1,r=this.emotes,(o=document.getElementById("client_emo")).style.display="",o.innerHTML="",i=n.inifile,n.side=i.options.side,je(n.side),0===i.emotions.number)o.innerHTML='<span\n\t\t\t\t\tid="emo_0"\n\t\t\t\t\talt="unavailable"\n\t\t\t\t\tclass="emote_button">No emotes available</span>';else{for(a=1;a<=i.emotions.number;a++)try{c=i.emotions[a].split("#"),s=void 0,u=void 0;try{s=i.soundn[a]||"0",u=Number(i.soundt[a])||0}catch(e){console.warn("ini sound is completly missing"),s="0",u=0}r[a]={desc:c[0].toLowerCase(),preanim:c[1].toLowerCase(),emote:c[2].toLowerCase(),zoom:Number(c[3])||0,sfx:s.toLowerCase(),sfxdelay:u,frame_screenshake:"",frame_realization:"",frame_sfx:"",button:k+"characters/".concat(encodeURI(n.name.toLowerCase()),"/emotions/button").concat(a,"_off.png")},o.innerHTML+="<img src=".concat(r[a].button,'\n\t\t\t\t\tid="emo_').concat(a,'"\n\t\t\t\t\talt="').concat(r[a].desc,'"\n\t\t\t\t\tclass="emote_button"\n\t\t\t\t\tonclick="pickEmotion(').concat(a,')">')}catch(e){console.error("missing emote "+a)}Ae(1)}case 12:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"character",get:function(){return this.chars[this.charID]}},{key:"emote",get:function(){return this.emotes[this.selectedEmote]}},{key:"evidence",get:function(){return document.getElementById("button_present").classList.contains("dark")?this.selectedEvidence:0}}]),a}(d.EventEmitter),G=function(){function e(){y(this,e),this.textnow="",this.chatmsg={content:"",objection:0,sound:"",startpreanim:!0,startspeaking:!1,side:null,color:0,snddelay:0,preanimdelay:0},this.shouts=[void 0,"holdit","objection","takethat"],this.colors=["white","green","red","orange","blue","yellow","rainbow","pink","cyan"],this.blipChannels=new Array(6),this.blipChannels.fill(new Audio(k+"sounds/general/sfx-blipmale.wav")).forEach((function(e){return e.volume=.5})),this.currentBlipChannel=0,this.sfxaudio=document.getElementById("client_sfxaudio"),this.sfxaudio.src="".concat(k,"sounds/general/sfx-realization.wav"),this.sfxplayed=0,this.shoutaudio=document.getElementById("client_shoutaudio"),this.shoutaudio.src="".concat(k,"misc/default/objection.wav"),this.testimonyAudio=document.getElementById("client_testimonyaudio"),this.testimonyAudio.src="".concat(k,"sounds/general/sfx-notguilty.wav"),this.music=document.getElementById("client_musicaudio"),this.music.src="".concat(k,"sounds/music/trial (aa).mp3"),this.updater=null,this.testimonyUpdater=null,this.bgname="gs4",this.lastChar="",this.lastEvi=0,this.testimonyTimer=0,this.shoutTimer=0,this.textTimer=0,this._animating=!1}var t,n,i,a;return b(e,[{key:"playSFX",value:(a=v(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.sfxaudio.pause(),this.sfxaudio.src=t,this.sfxaudio.play();case 3:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"changeBackground",value:(i=v(regeneratorRuntime.mark((function e(t){var n,r,i,a,c,s,u,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=o.bgFolder,r=document.getElementById("client_bench"),i=document.getElementById("client_court"),c=(a={def:{bg:"defenseempty.png",desk:{ao2:"defensedesk.png",ao1:"bancodefensa.png"},speedLines:"defense_speedlines.gif"},pro:{bg:"prosecutorempty.png",desk:{ao2:"prosecutiondesk.png",ao1:"bancoacusacion.png"},speedLines:"prosecution_speedlines.gif"},hld:{bg:"helperstand.png",desk:null,speedLines:"defense_speedlines.gif"},hlp:{bg:"prohelperstand.png",desk:null,speedLines:"prosecution_speedlines.gif"},wit:{bg:"witnessempty.png",desk:{ao2:"stand.png",ao1:"estrado.png"},speedLines:"prosecution_speedlines.gif"},jud:{bg:"judgestand.png",desk:{ao2:"judgedesk.png",ao1:"judgedesk.gif"},speedLines:"prosecution_speedlines.gif"},jur:{bg:"jurystand.png",desk:{ao2:"jurydesk.png",ao1:"estrado.png"},speedLines:"defense_speedlines.gif"},sea:{bg:"seancestand.png",desk:{ao2:"seancedesk.png",ao1:"estrado.png"},speedLines:"prosecution_speedlines.gif"}}[t]).bg,s=a.desk,u=a.speedLines,r.className=t+"_bench",i.className=t+"_court",5!==o.chatmsg.type){e.next=12;break}i.src="".concat(k,"themes/default/").concat(encodeURI(u)),r.style.opacity=0,e.next=27;break;case 12:if(i.src=n+c,!s){e.next=26;break}return e.next=16,be(n+s.ao2);case 16:if(!e.sent){e.next=20;break}e.t0=s.ao2,e.next=21;break;case 20:e.t0=s.ao1;case 21:l=e.t0,r.src=n+l,r.style.opacity=1,e.next=27;break;case 26:r.style.opacity=0;case 27:case"end":return e.stop()}}),e)}))),function(e){return i.apply(this,arguments)})},{key:"initTestimonyUpdater",value:function(){var e=this,t={1:"witnesstestimony",2:"crossexamination",3:"notguilty",4:"guilty"}[r.testimonyID];if(t){this.testimonyAudio.src=r.resources[t].sfx,this.testimonyAudio.play();var n=document.getElementById("client_testimony");n.src=r.resources[t].src,n.style.opacity=1,this.testimonyTimer=0,this.testimonyUpdater=setTimeout((function(){return e.updateTestimony()}),60)}else console.warn("Invalid testimony ID ".concat(r.testimonyID))}},{key:"getAnimLength",value:(n=v(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ge(t);case 3:return n=e.sent,e.abrupt("return",this.calculateGifLength(n));case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",0);case 10:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(e){return n.apply(this,arguments)})},{key:"oneSuccess",value:function(e){return Promise.all(e.map((function(e){return e.then((function(e){return Promise.reject(e)}),(function(e){return Promise.resolve(e)}))}))).then((function(e){return Promise.reject(e)}),(function(e){return Promise.resolve(e)}))}},{key:"rejectOnError",value:function(e){return new Promise((function(t,n){return e.then((function(r){r.ok?t(e):n(e)}))}))}},{key:"calculateGifLength",value:function(e){for(var t=new Uint8Array(e),n=0,r=0;r<t.length;r++)if(33===t[r]&&249===t[r+1]&&4===t[r+2]&&0===t[r+7]){var o=t[r+5]<<8|255&t[r+4];n+=o<2?10:o}return 10*n}},{key:"updateTestimony",value:function(){var e=this;this.testimonyTimer=this.testimonyTimer+60;var t={1:"witnesstestimony",2:"crossexamination",3:"notguilty",4:"guilty"}[r.testimonyID],n=r.resources[t];n?this.testimonyTimer>=n.duration?this.disposeTestimony():this.testimonyUpdater=setTimeout((function(){return e.updateTestimony()}),60):this.disposeTestimony()}},{key:"disposeTestimony",value:function(){r.testimonyID=0,this.testimonyTimer=0,document.getElementById("client_testimony").style.opacity=0,clearTimeout(this.testimonyUpdater)}},{key:"say",value:(t=v(regeneratorRuntime.mark((function e(t){var n,o,i,a,c,s,u,l,d,f,h,p,m,g,v,y,w,b,E,x,_,T,I=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.chatmsg=t,this.textnow="",this.sfxplayed=0,this.textTimer=0,this._animating=!0,clearTimeout(this.updater),n=document.getElementById("client_fg"),o=document.getElementById("client_gamewindow"),i=document.getElementById("client_chatwaiting"),n.style.animation="",o.style.animation="",i.style.opacity=0,a=document.getElementById("client_evi"),this.lastEvi!==this.chatmsg.evidence&&(a.style.opacity="0",a.style.height="0%"),this.lastEvi=this.chatmsg.evidence,c=document.getElementById("client_char"),s=document.getElementById("client_pair_char"),u=document.getElementById("client_chatcontainer"),l=document.getElementById("client_inner_name"),d=document.getElementById("client_inner_chat"),f=document.getElementById("showname").checked&&""!==this.chatmsg.showname?this.chatmsg.showname:this.chatmsg.nameplate,d.innerText=this.textnow,l.innerText=f,this.lastChar!==this.chatmsg.name&&(c.style.opacity=0,c.src=R,s.style.opacity=0,s.src=R),this.lastChar=this.chatmsg.name,_e(this.chatmsg.content,f),Te(this.chatmsg.content),e.prev=27,e.next=30,this.oneSuccess([this.rejectOnError(fetch(k+"characters/"+encodeURI(this.chatmsg.name.toLowerCase())+"/"+this.chatmsg.sprite+".png")),this.rejectOnError(fetch(k+"characters/"+encodeURI(this.chatmsg.name.toLowerCase())+"/(b)"+this.chatmsg.sprite+".gif"))]);case 30:h=e.sent,p=h.url,this.speakingSprite=p||R,e.next=38;break;case 35:e.prev=35,e.t0=e.catch(27),this.speakingSprite=k+"characters/"+encodeURI(this.chatmsg.name.toLowerCase())+"/(b)"+this.chatmsg.sprite+".gif";case 38:return e.prev=38,e.next=41,this.oneSuccess([this.rejectOnError(fetch(k+"characters/"+encodeURI(this.chatmsg.name.toLowerCase())+"/"+this.chatmsg.sprite+".png")),this.rejectOnError(fetch(k+"characters/"+encodeURI(this.chatmsg.name.toLowerCase())+"/(a)"+this.chatmsg.sprite+".gif"))]);case 41:m=e.sent,g=m.url,this.silentSprite=g||R,e.next=49;break;case 46:e.prev=46,e.t1=e.catch(38),this.silentSprite=k+"characters/"+encodeURI(this.chatmsg.name.toLowerCase())+"/(a)"+this.chatmsg.sprite+".gif";case 49:if(!this.chatmsg.other_name){e.next=61;break}return e.prev=50,e.next=53,this.oneSuccess([this.rejectOnError(fetch(k+"characters/"+encodeURI(this.chatmsg.other_name.toLowerCase())+"/"+this.chatmsg.other_emote+".png")),this.rejectOnError(fetch(k+"characters/"+encodeURI(this.chatmsg.other_name.toLowerCase())+"/(a)"+this.chatmsg.other_emote+".gif"))]);case 53:v=e.sent,y=v.url,this.pairSilent=y||R,e.next=61;break;case 58:e.prev=58,e.t2=e.catch(50),this.pairSilent=k+"characters/"+encodeURI(this.chatmsg.other_name.toLowerCase())+"/(a)"+this.chatmsg.other_emote+".gif";case 61:if(w=document.getElementById("client_shout"),!(b=this.shouts[this.chatmsg.objection])){e.next=84;break}return u.style.opacity=0,w.src=r.resources[b].src,w.style.opacity=1,w.style.animation="bubble 700ms steps(10, jump-both)",e.prev=68,e.next=71,this.oneSuccess([this.rejectOnError(fetch("".concat(k,"characters/").concat(encodeURI(this.chatmsg.name.toLowerCase()),"/").concat(b,".wav"))),this.rejectOnError(fetch("".concat(k,"misc/default/objection.wav")))]);case 71:x=e.sent,_=x.url,E=_,e.next=79;break;case 76:e.prev=76,e.t3=e.catch(68),E=k+"".concat(k,"characters/").concat(encodeURI(this.chatmsg.name.toLowerCase()),"/").concat(b,".wav");case 79:this.shoutaudio.src=E,this.shoutaudio.play(),this.shoutTimer=r.resources[b].duration,e.next=85;break;case 84:this.shoutTimer=0;case 85:this.chatmsg.startpreanim=!0,T=0,e.t4=this.chatmsg.type,e.next=1===e.t4?90:96;break;case 90:return u.style.opacity=0,e.next=93,this.getAnimLength("".concat(k,"characters/").concat(encodeURI(this.chatmsg.name.toLowerCase()),"/").concat(encodeURI(this.chatmsg.preanim),".gif"));case 93:return T=e.sent,this.chatmsg.startspeaking=!1,e.abrupt("break",99);case 96:return this.chatmsg.sound="",this.chatmsg.startspeaking=!0,e.abrupt("break",99);case 99:this.chatmsg.preanimdelay=parseInt(T),this.changeBackground(t.side),Re(t.chatbox),Pe(),1===this.chatmsg.flip?c.style.transform="scaleX(-1)":c.style.transform="scaleX(1)",1===this.chatmsg.other_flip?s.style.transform="scaleX(-1)":s.style.transform="scaleX(1)",this.blipChannels.forEach((function(e){return e.src="".concat(k,"sounds/general/sfx-blip").concat(encodeURI(I.chatmsg.blips.toLowerCase()),".wav")})),this.chatmsg.content.startsWith("~~")?(d.style.textAlign="center",this.chatmsg.content=this.chatmsg.content.substring(2,this.chatmsg.content.length)):d.style.textAlign="inherit",this.tick();case 108:case"end":return e.stop()}}),e,this,[[27,35],[38,46],[50,58],[68,76]])}))),function(e){return t.apply(this,arguments)})},{key:"tick",value:function(){var e=this;this._animating&&(this.updater=setTimeout((function(){return e.tick()}),60));var t=document.getElementById("client_gamewindow"),n=document.getElementById("client_chatwaiting"),o=document.getElementById("client_char"),i=document.getElementById("client_pair_char"),a=document.getElementById("client_evi"),s=document.getElementById("client_shout"),u=document.getElementById("client_inner_chat"),l=document.getElementById("client_chat");if(this.textTimer>=this.shoutTimer&&this.chatmsg.startpreanim){if(1===this.chatmsg.screenshake&&(this.playSFX(k+"sounds/general/sfx-stab.wav"),t.style.animation="shake 0.2s 1"),1===this.chatmsg.flash&&(this.playSFX(k+"sounds/general/sfx-realization.wav"),document.getElementById("client_fg").style.animation="flash 0.4s 1"),this.chatmsg.preanimdelay>0){s.style.opacity=0,s.style.animation="";var d=this.chatmsg.name.toLowerCase(),f=this.chatmsg.preanim.toLowerCase();o.src="".concat(k,"characters/").concat(encodeURI(d),"/").concat(encodeURI(f),".gif"),o.style.opacity=1}if(this.chatmsg.other_name){this.chatmsg.other_name.toLowerCase(),this.chatmsg.other_emote.toLowerCase();i.style.left=this.chatmsg.other_offset+"%",o.style.left=this.chatmsg.self_offset+"%",i.src=this.pairSilent,i.style.opacity=1}else i.style.opacity=0,o.style.left=0;this.chatmsg.startpreanim=!1,this.chatmsg.startspeaking=!0}else if(this.textTimer>=this.shoutTimer+this.chatmsg.preanimdelay&&!this.chatmsg.startpreanim)if(this.chatmsg.startspeaking){if(this.chatmsg.evidence>0&&(a.src=Object(c.d)(r.evidences[this.chatmsg.evidence-1].icon),a.style.width="auto",a.style.height="36.5%",a.style.opacity=1,"def"===this.chatmsg.side?(a.style.right="1em",a.style.left="initial"):(a.style.right="initial",a.style.left="1em")),Pe(),document.getElementById("client_chatcontainer").style.opacity=1,u.className="text_"+this.colors[this.chatmsg.color],this.chatmsg.startspeaking=!1,0===this.chatmsg.preanimdelay&&(s.style.opacity=0,s.style.animation=""),D.includes("cccc_ic_support"))if(this.chatmsg.other_name){this.chatmsg.other_name.toLowerCase(),this.chatmsg.other_emote.toLowerCase();i.style.left=this.chatmsg.other_offset+"%",o.style.left=this.chatmsg.self_offset+"%",i.src=this.pairSilent,i.style.opacity=1}else i.style.opacity=0,o.style.left=0;o.src=this.speakingSprite,o.style.opacity=1,this.textnow===this.chatmsg.content&&(o.src=this.silentSprite,o.style.opacity=1,n.style.opacity=1,this._animating=!1,clearTimeout(this.updater))}else this.textnow!==this.chatmsg.content&&(" "!==this.chatmsg.content.charAt(this.textnow.length)&&(this.blipChannels[this.currentBlipChannel].play(),this.currentBlipChannel++,this.currentBlipChannel%=this.blipChannels.length),this.textnow=this.chatmsg.content.substring(0,this.textnow.length+1),u.innerText=this.textnow,l.scrollTop=l.scrollHeight,this.textnow===this.chatmsg.content&&(this._animating=!1,o.src=this.silentSprite,o.style.opacity=1,n.style.opacity=1,clearTimeout(this.updater)));!this.sfxplayed&&this.chatmsg.snddelay+this.shoutTimer>=this.textTimer&&(this.sfxplayed=1,"0"!==this.chatmsg.sound&&"1"!==this.chatmsg.sound&&""!==this.chatmsg.sound&&void 0!==this.chatmsg.sound&&this.playSFX(k+"sounds/general/"+encodeURI(this.chatmsg.sound.toLowerCase())+".wav")),this.textTimer=this.textTimer+60}},{key:"isAnimating",get:function(){return this._animating}},{key:"blipVolume",set:function(e){this.blipChannels.forEach((function(t){return t.volume=e}))}},{key:"bgFolder",get:function(){return"".concat(k,"background/").concat(encodeURI(this.bgname.toLowerCase()),"/")}}]),e}(),H=function(){function e(){y(this,e)}return b(e,null,[{key:"parse",value:function(e){var t,n={section:/^\s*\[\s*([^\]]*)\s*\]\s*$/,param:/^\s*([\w.\-_]+)\s*=\s*(.*?)\s*$/,comment:/^\s*;.*$/},r={};return e.split(/\r\n|\r|\n/).forEach((function(e){if(!n.comment.test(e)&&0!==e.length)if(n.param.test(e)){var o=e.match(n.param);t&&("showname"===o[1].toLowerCase()?r[t].showname=o[2]:r[t][o[1].toLowerCase()]=o[2].toLowerCase())}else if(n.section.test(e)){var i=e.match(n.section);r[i[1].toLowerCase()]={},t=i[1].toLowerCase()}})),r}}]),e}();function W(e){try{for(var t=e+"=",n=decodeURIComponent(document.cookie).split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1);if(0===o.indexOf(t))return o.substring(t.length,o.length)}return""}catch(e){return""}}function X(e,t){document.cookie=e+"="+t}function K(e){13===e.keyCode&&(r.sendOOC(document.getElementById("client_oocinputbox").value),document.getElementById("client_oocinputbox").value="")}function z(e){if(13===e.keyCode){var t=r.character,n=r.emote,o=r.evidence,i=document.getElementById("button_flip").classList.contains("dark")?1:0,a=document.getElementById("button_flash").classList.contains("dark")?1:0,c=document.getElementById("button_shake").classList.contains("dark")?1:0,s=document.getElementById("check_nonint").checked?1:0,u=document.getElementById("check_loopsfx").checked?1:0,l=document.getElementById("textcolor").value,d=document.getElementById("ic_chat_name").value,f=document.getElementById("client_inputbox").value,h=document.getElementById("pair_select").value,p=document.getElementById("pair_offset").value,m="0",g=0,v="-";document.getElementById("sendsfx").checked&&(m=n.sfx,g=n.sfxdelay),document.getElementById("sendpreanim").checked&&(v=n.preanim),r.sendIC("chat",v,t.name,n.emote,f,t.side,m,n.zoom,g,j,o,i,a,l,d,h,p,s,u,c)}}function Y(e){var t=document.getElementById("client_musiclist"),n=document.getElementById("client_musicsearch").value;t.innerHTML="";var o,i=h(r.musics);try{for(i.s();!(o=i.n()).done;){var a=o.value;if(-1!==a.toLowerCase().indexOf(n.toLowerCase())){var c=document.createElement("OPTION");c.text=a,t.options.add(c)}}}catch(e){i.e(e)}finally{i.f()}}function Z(e){var t=document.getElementById("client_musiclist").value;r.sendMusicChange(t);for(var n=document.getElementById("client_musiclist").selectedOptions,o=0;o<n.length;o++)n[o].selected=!1}function $(e){var t=document.getElementById("mute_select"),n=t.options[t.selectedIndex];!1===r.chars[n.value].muted?(r.chars[n.value].muted=!0,n.text=r.chars[n.value].name+" (muted)",console.info("muted "+r.chars[n.value].name)):(r.chars[n.value].muted=!1,n.text=r.chars[n.value].name)}function q(e){X("showname",document.getElementById("showname").checked),X("ic_chat_name",document.getElementById("ic_chat_name").value)}function J(e){var t=r.areas[e.id.substr(4)].name;r.sendMusicChange(t);var n=document.createElement("div");n.className="hrtext",n.textContent="switched to ".concat(e.textContent),document.getElementById("client_log").appendChild(n)}function Q(){X("musicVolume",document.getElementById("client_musicaudio").volume)}function ee(){X("sfxVolume",document.getElementById("client_sfxaudio").volume)}function te(){X("shoutVolume",document.getElementById("client_shoutaudio").volume)}function ne(){X("testimonyVolume",document.getElementById("client_testimonyaudio").volume)}function re(){o.blipVolume=document.getElementById("client_bvolume").value,X("blipVolume",document.getElementById("client_bvolume").value)}function oe(){o.theme=document.getElementById("client_themeselect").value,X("theme",o.theme),document.getElementById("client_theme").href="styles/"+o.theme+".css"}function ie(){r.callwords=document.getElementById("client_callwords").value.split("\n"),X("callwords",r.callwords)}function ae(){r.handleZZ("test#test".split("#"))}function ce(){return se.apply(this,arguments)}function se(){return(se=v(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=document.getElementById("client_ininame").value,n=r.charID,e.next=4,r.handleCharacterInfo(t.split("&"),n);case 4:r.handlePV(("PV#0#CID#"+n).split("#"));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(){return le.apply(this,arguments)}function le(){return(le=v(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=document.getElementById("client_background"),n=document.getElementById("client_hdviewport_offset"),document.getElementById("client_hdviewport").checked?(t.style.paddingBottom="56.25%",n.disabled=!1):(t.style.paddingBottom="75%",n.disabled=!0);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(){return fe.apply(this,arguments)}function fe(){return(fe=v(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=document.getElementById("client_chatcontainer"),document.getElementById("client_hdviewport_offset").checked?(t.style.width="80%",t.style.left="10%"):(t.style.width="100%",t.style.left=0);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function he(e){r.sendLeaveRoom(),document.getElementById("client_charselect").style.display="block",document.getElementById("client_emo").innerHTML=""}function pe(e){return console.warn(e.src+" is missing from webAO"),!0}function me(e){return e.onerror="",e.src="",!0}function ge(e){return ve.apply(this,arguments)}function ve(){return(ve=v(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,n){var r=new XMLHttpRequest;r.responseType="arraybuffer",r.addEventListener("error",(function(){var e=new Error("Request for ".concat(t," failed: ").concat(r.statusText));e.code=r.status,n(e)})),r.addEventListener("abort",(function(){var e=new Error("Request for ".concat(t," was aborted!"));e.code=r.status,n(e)})),r.addEventListener("load",(function(){if(r.status<200||r.status>=300){var o=new Error("Request for ".concat(t," failed with status code ").concat(r.status));o.code=r.status,n(o)}else e(r.response)})),r.open("GET",t,!0),r.send()})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ye(e){return we.apply(this,arguments)}function we(){return(we=v(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,n){var r=new XMLHttpRequest;r.responseType="text",r.addEventListener("error",(function(){var e=new Error("Request for ".concat(t," failed: ").concat(r.statusText));e.code=r.status,n(e)})),r.addEventListener("abort",(function(){var e=new Error("Request for ".concat(t," was aborted!"));e.code=r.status,n(e)})),r.addEventListener("load",(function(){if(r.status<200||r.status>=300){var o=new Error("Request for ".concat(t," failed with status code ").concat(r.status));o.code=r.status,n(o)}else e(r.response)})),r.open("GET",t,!0),r.send()})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function be(e){return Ee.apply(this,arguments)}function Ee(){return(Ee=v(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ye(t);case 3:return e.abrupt("return",!0);case 6:if(e.prev=6,e.t0=e.catch(0),!(e.t0.code>=400)){e.next=12;break}return e.abrupt("return",!1);case 12:throw e.t0;case 13:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function xe(){r.cleanup(),(r=new V(C))&&(B="join",document.getElementById("client_error").style.display="none")}function _e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Date,r=document.createElement("p"),o=document.createElement("span"),i=document.createElement("span");if(o.className="iclog_name",o.appendChild(document.createTextNode(t)),i.className="iclog_text",i.appendChild(document.createTextNode(e)),r.appendChild(o),r.appendChild(i),U.getMinutes()!==n.getMinutes()){var a=document.createElement("span");a.className="iclog_time",a.innerText=n.toLocaleTimeString(void 0,{hour:"numeric",minute:"2-digit"}),r.appendChild(a)}var c=document.getElementById("client_log");c.appendChild(r),c.scrollTop>c.scrollHeight-800&&(c.scrollTop=c.scrollHeight),U=new Date}function Te(e){r.callwords.forEach((function(t){""!==t&&e.toLowerCase().includes(t.toLowerCase())&&(o.sfxaudio.pause(),o.sfxaudio.src=k+"sounds/general/sfx-gallery.wav",o.sfxaudio.play())}))}function Ie(e){var t=document.getElementById("client_charactersearch").value;r.chars.forEach((function(e,n){var r=document.getElementById("demo_".concat(n));-1===e.name.toLowerCase().indexOf(t.toLowerCase())?r.style.display="none":r.style.display="inline-block"}))}function Se(e){-1===e?document.getElementById("client_charselect").style.display="none":r.sendCharacter(e)}function Ae(e){try{-1!==r.selectedEmote&&(document.getElementById("emo_"+r.selectedEmote).classList="emote_button")}catch(e){}r.selectedEmote=e,document.getElementById("emo_"+e).classList="emote_button dark"}function Ce(e){var t=Number(e);if(r.selectedEvidence!==t){r.selectedEvidence>0&&(document.getElementById("evi_"+r.selectedEvidence).className="evi_icon"),document.getElementById("evi_"+t).className="evi_icon dark",r.selectedEvidence=t,document.getElementById("evi_name").value=r.evidences[t-1].name,document.getElementById("evi_desc").value=r.evidences[t-1].desc;var n=Me("evi_select",r.evidences[t-1].filename);document.getElementById("evi_select").selectedIndex=n,0===n&&(document.getElementById("evi_filename").value=r.evidences[t-1].filename),Ne(),document.getElementById("evi_add").className="client_button hover_button inactive",document.getElementById("evi_edit").className="client_button hover_button",document.getElementById("evi_cancel").className="client_button hover_button",document.getElementById("evi_del").className="client_button hover_button"}else Le()}function Be(){var e=document.getElementById("evi_select");r.sendPE(document.getElementById("evi_name").value,document.getElementById("evi_desc").value,0===e.selectedIndex?document.getElementById("evi_filename").value:e.options[e.selectedIndex].text),Le()}function Oe(){var e=document.getElementById("evi_select"),t=parseInt(r.selectedEvidence)-1;r.sendEE(t,document.getElementById("evi_name").value,document.getElementById("evi_desc").value,0===e.selectedIndex?document.getElementById("evi_filename").value:e.options[e.selectedIndex].text),Le()}function ke(){var e=parseInt(r.selectedEvidence)-1;r.sendDE(e),Le()}function Le(){r.selectedEvidence>0&&(document.getElementById("evi_"+r.selectedEvidence).className="evi_icon"),r.selectedEvidence=0,document.getElementById("evi_select").selectedIndex=0,Ne(),document.getElementById("evi_filename").value="",document.getElementById("evi_name").value="",document.getElementById("evi_desc").value="",document.getElementById("evi_preview").src=k+"misc/empty.png",document.getElementById("evi_add").className="client_button hover_button",document.getElementById("evi_edit").className="client_button hover_button inactive",document.getElementById("evi_cancel").className="client_button hover_button inactive",document.getElementById("evi_del").className="client_button hover_button inactive"}function Me(e,t){for(var n=document.getElementById(e),r=1;r<n.length;++r)if(n.options[r].value===t)return r;return 0}function Re(e){var t=document.getElementById("chatbox_theme"),n=document.getElementById("client_chatboxselect").value;X("chatbox",n),"dynamic"===n?l.includes(e)?t.href="styles/chatbox/"+e+".css":t.href="styles/chatbox/aa.css":t.href="styles/chatbox/"+n+".css"}function Pe(){var e=document.getElementById("client_chatcontainer"),t=document.getElementById("client_background").offsetHeight;e.style.fontSize=(.0521*t).toFixed(1)+"px"}function Ne(){var e=document.getElementById("evi_select"),t=document.getElementById("evi_filename"),n=document.getElementById("evi_preview");0===e.selectedIndex?(t.style.display="initial",n.src=k+"evidence/"+encodeURI(t.value.toLowerCase())):(t.style.display="none",n.src=k+"evidence/"+encodeURI(e.value.toLowerCase()))}function je(e){"jud"===e?(document.getElementById("judge_action").style.display="inline-table",document.getElementById("no_action").style.display="none"):(document.getElementById("judge_action").style.display="none",document.getElementById("no_action").style.display="inline-table");for(var t=0,n=document.getElementById("role_select").options;t<n.length;t++)if(e===n[t].value)return void(n.selectedIndex=t)}function De(){var e=document.getElementById("bg_select"),t=document.getElementById("bg_command").value,n=document.getElementById("bg_filename"),o="";o=0===e.selectedIndex?n.value:e.value,r.sendOOC("/"+t.replace("$1",o))}function Fe(){var e=document.getElementById("role_select"),t=document.getElementById("role_command").value;r.sendOOC("/"+t.replace("$1",e.value)),je(e.value)}function Ue(){r.sendOOC("/"+document.getElementById("randomchar_command").value)}function Ve(){var e;D.includes("modcall_reason")&&(e=prompt("Please enter the reason for the modcall","")),null==e||""===e||r.sendZZ(e)}function Ge(){r.sendRT("testimony1")}function He(){r.sendRT("testimony2")}function We(){r.sendRT("judgeruling#0")}function Xe(){r.sendRT("judgeruling#1")}function Ke(){r.sendHP(1,String(parseInt(r.hp[0])+1))}function ze(){r.sendHP(1,String(parseInt(r.hp[0])-1))}function Ye(){r.sendHP(2,String(parseInt(r.hp[1])+1))}function Ze(){r.sendHP(2,String(parseInt(r.hp[1])-1))}function $e(){var e=document.getElementById("bg_select"),t=document.getElementById("bg_filename"),n=document.getElementById("bg_preview");0===e.selectedIndex?(t.style.display="initial",n.src=k+"background/"+encodeURI(t.value.toLowerCase())+"/defenseempty.png"):(t.style.display="none",n.src=k+"background/"+encodeURI(e.value.toLowerCase())+"/defenseempty.png")}function qe(e){e.classList.contains("dark")?e.className="client_button":e.className="client_button dark"}function Je(e){e!==N&&(document.getElementById("menu_"+e).className="menu_button active",document.getElementById("content_"+e).className="menu_content active",document.getElementById("menu_"+N).className="menu_button",document.getElementById("content_"+N).className="menu_content",N=e)}function Qe(e){e===j?(document.getElementById("button_"+e).className="client_button",j=0):(document.getElementById("button_"+e).className="client_button dark",j&&(document.getElementById("button_"+j).className="client_button"),j=e)}window.onOOCEnter=K,window.onEnter=z,window.musiclist_filter=Y,window.musiclist_click=Z,window.mutelist_click=$,window.showname_click=q,window.area_click=J,window.changeMusicVolume=Q,window.changeSFXVolume=ee,window.changeShoutVolume=te,window.changeTestimonyVolume=ne,window.changeBlipVolume=re,window.reloadTheme=oe,window.changeCallwords=ie,window.modcall_test=ae,window.iniedit=ce,window.switchAspectRatio=ue,window.switchChatOffset=de,window.changeCharacter=he,window.charError=pe,window.imgError=me,window.ReconnectButton=xe,window.chartable_filter=Ie,window.pickChar=Se,window.pickEmotion=Ae,window.pickEvidence=Ce,window.addEvidence=Be,window.editEvidence=Oe,window.deleteEvidence=ke,window.cancelEvidence=Le,window.getIndexFromSelect=Me,window.setChatbox=Re,window.resizeChatbox=Pe,window.updateEvidenceIcon=Ne,window.updateActionCommands=je,window.changeBackgroundOOC=De,window.changeRoleOOC=Fe,window.randomCharacterOOC=Ue,window.callMod=Ve,window.initWT=Ge,window.initCE=He,window.notguilty=We,window.guilty=Xe,window.addHPD=Ke,window.redHPD=ze,window.addHPP=Ye,window.redHPP=Ze,window.updateBackgroundPreview=$e,window.toggleEffect=qe,window.toggleMenu=Je,window.toggleShout=Qe}]); +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=199)}([function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return o})),n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return c}));n(50),n(79),n(142),n(95),n(52),n(97),n(100),n(81),n(143),n(102),n(103),n(104),n(105),n(106),n(107),n(108),n(109),n(110),n(111),n(112),n(113),n(114),n(115),n(116),n(117),n(118),n(119),n(120),n(121),n(122),n(123),n(124);function r(e){return e.replace(/#/g,"<num>").replace(/&/g,"<and>").replace(/%/g,"<percent>").replace(/\$/g,"<dollar>")}function o(e){return e.replace(/<num>/g,"#").replace(/<and>/g,"&").replace(/<percent>/g,"%").replace(/<dollar>/g,"$")}function i(e){return e?e.replace(/>/g,"&rt;").replace(/</g,"<"):""}function a(e){var t=document.getElementById("client_encoding").value;if("unicode"===t)return e.replace(/[^\0-~]/g,(function(e){return"\\u"+("000"+e.charCodeAt().toString(16)).slice(-4)}));if("utf16"===t){for(var n=new ArrayBuffer(2*e.length),r=new Uint16Array(n),o=0,i=e.length;o<i;o++)r[o]=e.charCodeAt(o);return String(r)}return e}function c(e){return o((t=e,"unicode"===(n=document.getElementById("client_decoding").value)?t.replace(/\\u([\d\w]{1,})/gi,(function(e,t){return String.fromCharCode(parseInt(t,16))})):"utf16"===n?String.fromCharCode.apply(null,new Uint16Array(t.split(","))):t));var t,n}},function(e,t,n){"use strict";var r,o=n(82),i=n(10),a=n(2),c=n(6),s=n(8),u=n(38),l=n(12),d=n(16),f=n(11).f,h=n(35),p=n(30),m=n(4),g=n(42),v=a.Int8Array,y=v&&v.prototype,w=a.Uint8ClampedArray,b=w&&w.prototype,E=v&&h(v),x=y&&h(y),_=Object.prototype,T=_.isPrototypeOf,I=m("toStringTag"),S=g("TYPED_ARRAY_TAG"),A=o&&!!p&&"Opera"!==u(a.opera),C=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},O=function(e){return c(e)&&s(B,u(e))};for(r in B)a[r]||(A=!1);if((!A||"function"!=typeof E||E===Function.prototype)&&(E=function(){throw TypeError("Incorrect invocation")},A))for(r in B)a[r]&&p(a[r],E);if((!A||!x||x===_)&&(x=E.prototype,A))for(r in B)a[r]&&p(a[r].prototype,x);if(A&&h(b)!==x&&p(b,x),i&&!s(x,I))for(r in C=!0,f(x,I,{get:function(){return c(this)?this[S]:void 0}}),B)a[r]&&l(a[r],S,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:A,TYPED_ARRAY_TAG:C&&S,aTypedArray:function(e){if(O(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(p){if(T.call(E,e))return e}else for(var t in B)if(s(B,r)){var n=a[t];if(n&&(e===n||T.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(i){if(n)for(var r in B){var o=a[r];o&&s(o.prototype,e)&&delete o.prototype[e]}x[e]&&!n||d(x,e,n?t:A&&y[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(i){if(p){if(n)for(r in B)(o=a[r])&&s(o,e)&&delete o[e];if(E[e]&&!n)return;try{return d(E,e,n?t:A&&v[e]||t)}catch(e){}}for(r in B)!(o=a[r])||o[e]&&!n||d(o,e,t)}},isView:function(e){var t=u(e);return"DataView"===t||s(B,t)},isTypedArray:O,TypedArray:E,TypedArrayPrototype:x}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(125))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(2),o=n(57),i=n(8),a=n(42),c=n(58),s=n(89),u=o("wks"),l=r.Symbol,d=s?l:l&&l.withoutSetter||a;e.exports=function(e){return i(u,e)||(c&&i(l,e)?u[e]=l[e]:u[e]=d("Symbol."+e)),u[e]}},function(e,t,n){var r=n(15),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(2),o=n(24).f,i=n(12),a=n(16),c=n(46),s=n(87),u=n(71);e.exports=function(e,t){var n,l,d,f,h,p=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[p]||c(p,{}):(r[p]||{}).prototype)for(l in t){if(f=t[l],d=e.noTargetGet?(h=o(n,l))&&h.value:n[l],!u(m?l:p+(g?".":"#")+l,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;s(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(n,l,f,e)}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(6);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(3);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){var r=n(10),o=n(67),i=n(9),a=n(25),c=Object.defineProperty;t.f=r?c:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(10),o=n(11),i=n(20);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(17);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(45),o=n(40),i=n(13),a=n(5),c=n(73),s=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,l=4==e,d=6==e,f=5==e||d;return function(h,p,m,g){for(var v,y,w=i(h),b=o(w),E=r(p,m,3),x=a(b.length),_=0,T=g||c,I=t?T(h,x):n?T(h,0):void 0;x>_;_++)if((f||_ in b)&&(y=E(v=b[_],_,w),e))if(t)I[_]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return _;case 2:s.call(I,v)}else if(l)return!1;return d?-1:u||l?l:I}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(2),o=n(12),i=n(8),a=n(46),c=n(56),s=n(21),u=s.get,l=s.enforce,d=String(String).split("String");(e.exports=function(e,t,n,c){var s=!!c&&!!c.unsafe,u=!!c&&!!c.enumerable,f=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),l(n).source=d.join("string"==typeof t?t:"")),e!==r?(s?!f&&e[t]&&(u=!0):delete e[t],u?e[t]=n:o(e,t,n)):u?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||c(this)}))},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(40),o=n(17);e.exports=function(e){return r(o(e))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r,o,i,a=n(126),c=n(2),s=n(6),u=n(12),l=n(8),d=n(41),f=n(43),h=c.WeakMap;if(a){var p=new h,m=p.get,g=p.has,v=p.set;r=function(e,t){return v.call(p,e,t),t},o=function(e){return m.call(p,e)||{}},i=function(e){return g.call(p,e)}}else{var y=d("state");f[y]=!0,r=function(e,t){return u(e,y,t),t},o=function(e){return l(e,y)?e[y]:{}},i=function(e){return l(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(88),o=n(2),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){var r=n(9),o=n(27),i=n(4)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r=n(10),o=n(66),i=n(20),a=n(19),c=n(25),s=n(8),u=n(67),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=c(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){var r=n(6);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(15),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var r=n(10),o=n(3),i=n(8),a=Object.defineProperty,c={},s=function(e){throw e};e.exports=function(e,t){if(i(c,e))return c[e];t||(t={});var n=[][e],u=!!i(t,"ACCESSORS")&&t.ACCESSORS,l=i(t,0)?t[0]:s,d=i(t,1)?t[1]:void 0;return c[e]=!!n&&!o((function(){if(u&&!r)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:s}):e[1]=1,n.call(e,l,d)}))}},function(e,t){e.exports={}},function(e,t,n){var r=n(9),o=n(131);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){var r,o;!function(i,a,c){"use strict";"undefined"!=typeof window&&n(141)?void 0===(o="function"==typeof(r=c)?r.call(t,n,t,e):r)||(e.exports=o):e.exports?e.exports=c():a.exports?a.exports=c():a.Fingerprint2=c()}(0,this,(function(){"use strict";var e=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},t=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},n=function(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])},r=function(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]},o=function(e,t){return[e[0]^t[0],e[1]^t[1]]},i=function(e){return e=o(e,[0,e[0]>>>1]),e=t(e,[4283543511,3981806797]),e=o(e,[0,e[0]>>>1]),e=t(e,[3301882366,444984403]),e=o(e,[0,e[0]>>>1])},a=function(a,c){c=c||0;for(var s=(a=a||"").length%16,u=a.length-s,l=[0,c],d=[0,c],f=[0,0],h=[0,0],p=[2277735313,289559509],m=[1291169091,658871167],g=0;g<u;g+=16)f=[255&a.charCodeAt(g+4)|(255&a.charCodeAt(g+5))<<8|(255&a.charCodeAt(g+6))<<16|(255&a.charCodeAt(g+7))<<24,255&a.charCodeAt(g)|(255&a.charCodeAt(g+1))<<8|(255&a.charCodeAt(g+2))<<16|(255&a.charCodeAt(g+3))<<24],h=[255&a.charCodeAt(g+12)|(255&a.charCodeAt(g+13))<<8|(255&a.charCodeAt(g+14))<<16|(255&a.charCodeAt(g+15))<<24,255&a.charCodeAt(g+8)|(255&a.charCodeAt(g+9))<<8|(255&a.charCodeAt(g+10))<<16|(255&a.charCodeAt(g+11))<<24],f=t(f,p),f=n(f,31),f=t(f,m),l=o(l,f),l=n(l,27),l=e(l,d),l=e(t(l,[0,5]),[0,1390208809]),h=t(h,m),h=n(h,33),h=t(h,p),d=o(d,h),d=n(d,31),d=e(d,l),d=e(t(d,[0,5]),[0,944331445]);switch(f=[0,0],h=[0,0],s){case 15:h=o(h,r([0,a.charCodeAt(g+14)],48));case 14:h=o(h,r([0,a.charCodeAt(g+13)],40));case 13:h=o(h,r([0,a.charCodeAt(g+12)],32));case 12:h=o(h,r([0,a.charCodeAt(g+11)],24));case 11:h=o(h,r([0,a.charCodeAt(g+10)],16));case 10:h=o(h,r([0,a.charCodeAt(g+9)],8));case 9:h=o(h,[0,a.charCodeAt(g+8)]),h=t(h,m),h=n(h,33),h=t(h,p),d=o(d,h);case 8:f=o(f,r([0,a.charCodeAt(g+7)],56));case 7:f=o(f,r([0,a.charCodeAt(g+6)],48));case 6:f=o(f,r([0,a.charCodeAt(g+5)],40));case 5:f=o(f,r([0,a.charCodeAt(g+4)],32));case 4:f=o(f,r([0,a.charCodeAt(g+3)],24));case 3:f=o(f,r([0,a.charCodeAt(g+2)],16));case 2:f=o(f,r([0,a.charCodeAt(g+1)],8));case 1:f=o(f,[0,a.charCodeAt(g)]),f=t(f,p),f=n(f,31),f=t(f,m),l=o(l,f)}return l=o(l,[0,a.length]),d=o(d,[0,a.length]),l=e(l,d),d=e(d,l),l=i(l),d=i(d),l=e(l,d),d=e(d,l),("00000000"+(l[0]>>>0).toString(16)).slice(-8)+("00000000"+(l[1]>>>0).toString(16)).slice(-8)+("00000000"+(d[0]>>>0).toString(16)).slice(-8)+("00000000"+(d[1]>>>0).toString(16)).slice(-8)},c={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:!1},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},extraComponents:[],excludes:{enumerateDevices:!0,pixelRatio:!0,doNotTrack:!0,fontsFlash:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"},s=function(e,t){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach)e.forEach(t);else if(e.length===+e.length)for(var n=0,r=e.length;n<r;n++)t(e[n],n,e);else for(var o in e)e.hasOwnProperty(o)&&t(e[o],o,e)},u=function(e,t){var n=[];return null==e?n:Array.prototype.map&&e.map===Array.prototype.map?e.map(t):(s(e,(function(e,r,o){n.push(t(e,r,o))})),n)},l=function(){return navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices},d=function(e){var t=[window.screen.width,window.screen.height];return e.screen.detectScreenOrientation&&t.sort().reverse(),t},f=function(e){if(window.screen.availWidth&&window.screen.availHeight){var t=[window.screen.availHeight,window.screen.availWidth];return e.screen.detectScreenOrientation&&t.sort().reverse(),t}return e.NOT_AVAILABLE},h=function(e){if(null==navigator.plugins)return e.NOT_AVAILABLE;for(var t=[],n=0,r=navigator.plugins.length;n<r;n++)navigator.plugins[n]&&t.push(navigator.plugins[n]);return m(e)&&(t=t.sort((function(e,t){return e.name>t.name?1:e.name<t.name?-1:0}))),u(t,(function(e){var t=u(e,(function(e){return[e.type,e.suffixes]}));return[e.name,e.description,t]}))},p=function(e){var t=[];if(Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,"ActiveXObject")||"ActiveXObject"in window){t=u(["AcroPDF.PDF","Adodb.Stream","AgControl.AgControl","DevalVRXCtrl.DevalVRXCtrl.1","MacromediaFlashPaper.MacromediaFlashPaper","Msxml2.DOMDocument","Msxml2.XMLHTTP","PDF.PdfCtrl","QuickTime.QuickTime","QuickTimeCheckObject.QuickTimeCheck.1","RealPlayer","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","Scripting.Dictionary","SWCtl.SWCtl","Shell.UIHelper","ShockwaveFlash.ShockwaveFlash","Skype.Detection","TDCCtl.TDCCtl","WMPlayer.OCX","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1"],(function(t){try{return new window.ActiveXObject(t),t}catch(t){return e.ERROR}}))}else t.push(e.NOT_AVAILABLE);return navigator.plugins&&(t=t.concat(h(e))),t},m=function(e){for(var t=!1,n=0,r=e.plugins.sortPluginsFor.length;n<r;n++){var o=e.plugins.sortPluginsFor[n];if(navigator.userAgent.match(o)){t=!0;break}}return t},g=function(e){try{return!!window.sessionStorage}catch(t){return e.ERROR}},v=function(e){try{return!!window.localStorage}catch(t){return e.ERROR}},y=function(e){try{return!!window.indexedDB}catch(t){return e.ERROR}},w=function(e){return navigator.hardwareConcurrency?navigator.hardwareConcurrency:e.NOT_AVAILABLE},b=function(e){return navigator.cpuClass||e.NOT_AVAILABLE},E=function(e){return navigator.platform?navigator.platform:e.NOT_AVAILABLE},x=function(e){return navigator.doNotTrack?navigator.doNotTrack:navigator.msDoNotTrack?navigator.msDoNotTrack:window.doNotTrack?window.doNotTrack:e.NOT_AVAILABLE},_=function(){var e,t=0;void 0!==navigator.maxTouchPoints?t=navigator.maxTouchPoints:void 0!==navigator.msMaxTouchPoints&&(t=navigator.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return[t,e,"ontouchstart"in window]},T=function(e){var t=[],n=document.createElement("canvas");n.width=2e3,n.height=200,n.style.display="inline";var r=n.getContext("2d");return r.rect(0,0,10,10),r.rect(2,2,6,6),t.push("canvas winding:"+(!1===r.isPointInPath(5,5,"evenodd")?"yes":"no")),r.textBaseline="alphabetic",r.fillStyle="#f60",r.fillRect(125,1,62,20),r.fillStyle="#069",e.dontUseFakeFontInCanvas?r.font="11pt Arial":r.font="11pt no-real-font-123",r.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),r.fillStyle="rgba(102, 204, 0, 0.2)",r.font="18pt Arial",r.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),r.globalCompositeOperation="multiply",r.fillStyle="rgb(255,0,255)",r.beginPath(),r.arc(50,50,50,0,2*Math.PI,!0),r.closePath(),r.fill(),r.fillStyle="rgb(0,255,255)",r.beginPath(),r.arc(100,50,50,0,2*Math.PI,!0),r.closePath(),r.fill(),r.fillStyle="rgb(255,255,0)",r.beginPath(),r.arc(75,100,50,0,2*Math.PI,!0),r.closePath(),r.fill(),r.fillStyle="rgb(255,0,255)",r.arc(75,75,75,0,2*Math.PI,!0),r.arc(75,75,25,0,2*Math.PI,!0),r.fill("evenodd"),n.toDataURL&&t.push("canvas fp:"+n.toDataURL()),t},I=function(){var e,t=function(t){return e.clearColor(0,0,0,1),e.enable(e.DEPTH_TEST),e.depthFunc(e.LEQUAL),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),"["+t[0]+", "+t[1]+"]"};if(!(e=D()))return null;var n=[],r=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,r);var o=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0]);e.bufferData(e.ARRAY_BUFFER,o,e.STATIC_DRAW),r.itemSize=3,r.numItems=3;var i=e.createProgram(),a=e.createShader(e.VERTEX_SHADER);e.shaderSource(a,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),e.compileShader(a);var c=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(c,"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}"),e.compileShader(c),e.attachShader(i,a),e.attachShader(i,c),e.linkProgram(i),e.useProgram(i),i.vertexPosAttrib=e.getAttribLocation(i,"attrVertex"),i.offsetUniform=e.getUniformLocation(i,"uniformOffset"),e.enableVertexAttribArray(i.vertexPosArray),e.vertexAttribPointer(i.vertexPosAttrib,r.itemSize,e.FLOAT,!1,0,0),e.uniform2f(i.offsetUniform,1,1),e.drawArrays(e.TRIANGLE_STRIP,0,r.numItems);try{n.push(e.canvas.toDataURL())}catch(e){}n.push("extensions:"+(e.getSupportedExtensions()||[]).join(";")),n.push("webgl aliased line width range:"+t(e.getParameter(e.ALIASED_LINE_WIDTH_RANGE))),n.push("webgl aliased point size range:"+t(e.getParameter(e.ALIASED_POINT_SIZE_RANGE))),n.push("webgl alpha bits:"+e.getParameter(e.ALPHA_BITS)),n.push("webgl antialiasing:"+(e.getContextAttributes().antialias?"yes":"no")),n.push("webgl blue bits:"+e.getParameter(e.BLUE_BITS)),n.push("webgl depth bits:"+e.getParameter(e.DEPTH_BITS)),n.push("webgl green bits:"+e.getParameter(e.GREEN_BITS)),n.push("webgl max anisotropy:"+function(e){var t=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic");if(t){var n=e.getParameter(t.MAX_TEXTURE_MAX_ANISOTROPY_EXT);return 0===n&&(n=2),n}return null}(e)),n.push("webgl max combined texture image units:"+e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),n.push("webgl max cube map texture size:"+e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE)),n.push("webgl max fragment uniform vectors:"+e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS)),n.push("webgl max render buffer size:"+e.getParameter(e.MAX_RENDERBUFFER_SIZE)),n.push("webgl max texture image units:"+e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS)),n.push("webgl max texture size:"+e.getParameter(e.MAX_TEXTURE_SIZE)),n.push("webgl max varying vectors:"+e.getParameter(e.MAX_VARYING_VECTORS)),n.push("webgl max vertex attribs:"+e.getParameter(e.MAX_VERTEX_ATTRIBS)),n.push("webgl max vertex texture image units:"+e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),n.push("webgl max vertex uniform vectors:"+e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS)),n.push("webgl max viewport dims:"+t(e.getParameter(e.MAX_VIEWPORT_DIMS))),n.push("webgl red bits:"+e.getParameter(e.RED_BITS)),n.push("webgl renderer:"+e.getParameter(e.RENDERER)),n.push("webgl shading language version:"+e.getParameter(e.SHADING_LANGUAGE_VERSION)),n.push("webgl stencil bits:"+e.getParameter(e.STENCIL_BITS)),n.push("webgl vendor:"+e.getParameter(e.VENDOR)),n.push("webgl version:"+e.getParameter(e.VERSION));try{var u=e.getExtension("WEBGL_debug_renderer_info");u&&(n.push("webgl unmasked vendor:"+e.getParameter(u.UNMASKED_VENDOR_WEBGL)),n.push("webgl unmasked renderer:"+e.getParameter(u.UNMASKED_RENDERER_WEBGL)))}catch(e){}return e.getShaderPrecisionFormat?(s(["FLOAT","INT"],(function(t){s(["VERTEX","FRAGMENT"],(function(r){s(["HIGH","MEDIUM","LOW"],(function(o){s(["precision","rangeMin","rangeMax"],(function(i){var a=e.getShaderPrecisionFormat(e[r+"_SHADER"],e[o+"_"+t])[i];"precision"!==i&&(i="precision "+i);var c=["webgl ",r.toLowerCase()," shader ",o.toLowerCase()," ",t.toLowerCase()," ",i,":",a].join("");n.push(c)}))}))}))})),n):n},S=function(){try{var e=D(),t=e.getExtension("WEBGL_debug_renderer_info");return e.getParameter(t.UNMASKED_VENDOR_WEBGL)+"~"+e.getParameter(t.UNMASKED_RENDERER_WEBGL)}catch(e){return null}},A=function(){var e=document.createElement("div");e.innerHTML=" ",e.className="adsbox";var t=!1;try{document.body.appendChild(e),t=0===document.getElementsByClassName("adsbox")[0].offsetHeight,document.body.removeChild(e)}catch(e){t=!1}return t},C=function(){if(void 0!==navigator.languages)try{if(navigator.languages[0].substr(0,2)!==navigator.language.substr(0,2))return!0}catch(e){return!0}return!1},B=function(){return window.screen.width<window.screen.availWidth||window.screen.height<window.screen.availHeight},O=function(){var e,t=navigator.userAgent.toLowerCase(),n=navigator.oscpu,r=navigator.platform.toLowerCase();if(e=t.indexOf("windows phone")>=0?"Windows Phone":t.indexOf("win")>=0?"Windows":t.indexOf("android")>=0?"Android":t.indexOf("linux")>=0||t.indexOf("cros")>=0?"Linux":t.indexOf("iphone")>=0||t.indexOf("ipad")>=0?"iOS":t.indexOf("mac")>=0?"Mac":"Other",("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&"Windows Phone"!==e&&"Android"!==e&&"iOS"!==e&&"Other"!==e)return!0;if(void 0!==n){if((n=n.toLowerCase()).indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e)return!0;if(n.indexOf("linux")>=0&&"Linux"!==e&&"Android"!==e)return!0;if(n.indexOf("mac")>=0&&"Mac"!==e&&"iOS"!==e)return!0;if((-1===n.indexOf("win")&&-1===n.indexOf("linux")&&-1===n.indexOf("mac"))!=("Other"===e))return!0}return r.indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e||((r.indexOf("linux")>=0||r.indexOf("android")>=0||r.indexOf("pike")>=0)&&"Linux"!==e&&"Android"!==e||((r.indexOf("mac")>=0||r.indexOf("ipad")>=0||r.indexOf("ipod")>=0||r.indexOf("iphone")>=0)&&"Mac"!==e&&"iOS"!==e||((r.indexOf("win")<0&&r.indexOf("linux")<0&&r.indexOf("mac")<0&&r.indexOf("iphone")<0&&r.indexOf("ipad")<0)!==("Other"===e)||void 0===navigator.plugins&&"Windows"!==e&&"Windows Phone"!==e)))},k=function(){var e,t=navigator.userAgent.toLowerCase(),n=navigator.productSub;if(("Chrome"===(e=t.indexOf("firefox")>=0?"Firefox":t.indexOf("opera")>=0||t.indexOf("opr")>=0?"Opera":t.indexOf("chrome")>=0?"Chrome":t.indexOf("safari")>=0?"Safari":t.indexOf("trident")>=0?"Internet Explorer":"Other")||"Safari"===e||"Opera"===e)&&"20030107"!==n)return!0;var r,o=eval.toString().length;if(37===o&&"Safari"!==e&&"Firefox"!==e&&"Other"!==e)return!0;if(39===o&&"Internet Explorer"!==e&&"Other"!==e)return!0;if(33===o&&"Chrome"!==e&&"Opera"!==e&&"Other"!==e)return!0;try{throw"a"}catch(e){try{e.toSource(),r=!0}catch(e){r=!1}}return r&&"Firefox"!==e&&"Other"!==e},L=function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},M=function(){if(!L())return!1;var e=D();return!!window.WebGLRenderingContext&&!!e},R=function(){return"Microsoft Internet Explorer"===navigator.appName||!("Netscape"!==navigator.appName||!/Trident/.test(navigator.userAgent))},P=function(){return void 0!==window.swfobject},N=function(){return window.swfobject.hasFlashPlayerVersion("9.0.0")},j=function(e,t){window.___fp_swf_loaded=function(t){e(t)};var n=t.fonts.swfContainerId;!function(e){var t=document.createElement("div");t.setAttribute("id",e.fonts.swfContainerId),document.body.appendChild(t)}();var r={onReady:"___fp_swf_loaded"};window.swfobject.embedSWF(t.fonts.swfPath,n,"1","1","9.0.0",!1,r,{allowScriptAccess:"always",menu:"false"},{})},D=function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(e){}return t||(t=null),t},F=[{key:"userAgent",getData:function(e){e(navigator.userAgent)}},{key:"webdriver",getData:function(e,t){e(null==navigator.webdriver?t.NOT_AVAILABLE:navigator.webdriver)}},{key:"language",getData:function(e,t){e(navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||t.NOT_AVAILABLE)}},{key:"colorDepth",getData:function(e,t){e(window.screen.colorDepth||t.NOT_AVAILABLE)}},{key:"deviceMemory",getData:function(e,t){e(navigator.deviceMemory||t.NOT_AVAILABLE)}},{key:"pixelRatio",getData:function(e,t){e(window.devicePixelRatio||t.NOT_AVAILABLE)}},{key:"hardwareConcurrency",getData:function(e,t){e(w(t))}},{key:"screenResolution",getData:function(e,t){e(d(t))}},{key:"availableScreenResolution",getData:function(e,t){e(f(t))}},{key:"timezoneOffset",getData:function(e){e((new Date).getTimezoneOffset())}},{key:"timezone",getData:function(e,t){window.Intl&&window.Intl.DateTimeFormat?e((new window.Intl.DateTimeFormat).resolvedOptions().timeZone):e(t.NOT_AVAILABLE)}},{key:"sessionStorage",getData:function(e,t){e(g(t))}},{key:"localStorage",getData:function(e,t){e(v(t))}},{key:"indexedDb",getData:function(e,t){e(y(t))}},{key:"addBehavior",getData:function(e){e(!(!document.body||!document.body.addBehavior))}},{key:"openDatabase",getData:function(e){e(!!window.openDatabase)}},{key:"cpuClass",getData:function(e,t){e(b(t))}},{key:"platform",getData:function(e,t){e(E(t))}},{key:"doNotTrack",getData:function(e,t){e(x(t))}},{key:"plugins",getData:function(e,t){R()?t.plugins.excludeIE?e(t.EXCLUDED):e(p(t)):e(h(t))}},{key:"canvas",getData:function(e,t){L()?e(T(t)):e(t.NOT_AVAILABLE)}},{key:"webgl",getData:function(e,t){M()?e(I()):e(t.NOT_AVAILABLE)}},{key:"webglVendorAndRenderer",getData:function(e){M()?e(S()):e()}},{key:"adBlock",getData:function(e){e(A())}},{key:"hasLiedLanguages",getData:function(e){e(C())}},{key:"hasLiedResolution",getData:function(e){e(B())}},{key:"hasLiedOs",getData:function(e){e(O())}},{key:"hasLiedBrowser",getData:function(e){e(k())}},{key:"touchSupport",getData:function(e){e(_())}},{key:"fonts",getData:function(e,t){var n=["monospace","sans-serif","serif"],r=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"];if(t.fonts.extendedJsFonts){r=r.concat(["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"])}r=(r=r.concat(t.fonts.userDefinedFonts)).filter((function(e,t){return r.indexOf(e)===t}));var o=document.getElementsByTagName("body")[0],i=document.createElement("div"),a=document.createElement("div"),c={},s={},u=function(){var e=document.createElement("span");return e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="72px",e.style.fontStyle="normal",e.style.fontWeight="normal",e.style.letterSpacing="normal",e.style.lineBreak="auto",e.style.lineHeight="normal",e.style.textTransform="none",e.style.textAlign="left",e.style.textDecoration="none",e.style.textShadow="none",e.style.whiteSpace="normal",e.style.wordBreak="normal",e.style.wordSpacing="normal",e.innerHTML="mmmmmmmmmmlli",e},l=function(e,t){var n=u();return n.style.fontFamily="'"+e+"',"+t,n},d=function(e){for(var t=!1,r=0;r<n.length;r++)if(t=e[r].offsetWidth!==c[n[r]]||e[r].offsetHeight!==s[n[r]])return t;return t},f=function(){for(var e=[],t=0,r=n.length;t<r;t++){var o=u();o.style.fontFamily=n[t],i.appendChild(o),e.push(o)}return e}();o.appendChild(i);for(var h=0,p=n.length;h<p;h++)c[n[h]]=f[h].offsetWidth,s[n[h]]=f[h].offsetHeight;var m=function(){for(var e={},t=0,o=r.length;t<o;t++){for(var i=[],c=0,s=n.length;c<s;c++){var u=l(r[t],n[c]);a.appendChild(u),i.push(u)}e[r[t]]=i}return e}();o.appendChild(a);for(var g=[],v=0,y=r.length;v<y;v++)d(m[r[v]])&&g.push(r[v]);o.removeChild(a),o.removeChild(i),e(g)},pauseBefore:!0},{key:"fontsFlash",getData:function(e,t){return P()?N()?t.fonts.swfPath?void j((function(t){e(t)}),t):e("missing options.fonts.swfPath"):e("flash not installed"):e("swf object not loaded")},pauseBefore:!0},{key:"audio",getData:function(e,t){var n=t.audio;if(n.excludeIOS11&&navigator.userAgent.match(/OS 11.+Version\/11.+Safari/))return e(t.EXCLUDED);var r=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(null==r)return e(t.NOT_AVAILABLE);var o=new r(1,44100,44100),i=o.createOscillator();i.type="triangle",i.frequency.setValueAtTime(1e4,o.currentTime);var a=o.createDynamicsCompressor();s([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],(function(e){void 0!==a[e[0]]&&"function"==typeof a[e[0]].setValueAtTime&&a[e[0]].setValueAtTime(e[1],o.currentTime)})),i.connect(a),a.connect(o.destination),i.start(0),o.startRendering();var c=setTimeout((function(){return console.warn('Audio fingerprint timed out. Please report bug at https://github.com/Valve/fingerprintjs2 with your user agent: "'+navigator.userAgent+'".'),o.oncomplete=function(){},o=null,e("audioTimeout")}),n.timeout);o.oncomplete=function(t){var n;try{clearTimeout(c),n=t.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce((function(e,t){return e+Math.abs(t)}),0).toString(),i.disconnect(),a.disconnect()}catch(t){return void e(t)}e(n)}}},{key:"enumerateDevices",getData:function(e,t){if(!l())return e(t.NOT_AVAILABLE);navigator.mediaDevices.enumerateDevices().then((function(t){e(t.map((function(e){return"id="+e.deviceId+";gid="+e.groupId+";"+e.kind+";"+e.label})))})).catch((function(t){e(t)}))}}],U=function(e){throw new Error("'new Fingerprint()' is deprecated, see https://github.com/Valve/fingerprintjs2#upgrade-guide-from-182-to-200")};return U.get=function(e,t){t?e||(e={}):(t=e,e={}),function(e,t){if(null==t)return e;var n,r;for(r in t)null==(n=t[r])||Object.prototype.hasOwnProperty.call(e,r)||(e[r]=n)}(e,c),e.components=e.extraComponents.concat(F);var n={data:[],addPreprocessedComponent:function(t,r){"function"==typeof e.preprocessor&&(r=e.preprocessor(t,r)),n.data.push({key:t,value:r})}},r=-1,o=function(i){if((r+=1)>=e.components.length)t(n.data);else{var a=e.components[r];if(e.excludes[a.key])o(!1);else{if(!i&&a.pauseBefore)return r-=1,void setTimeout((function(){o(!0)}),1);try{a.getData((function(e){n.addPreprocessedComponent(a.key,e),o(!1)}),e)}catch(e){n.addPreprocessedComponent(a.key,String(e)),o(!1)}}}};o(!1)},U.getPromise=function(e){return new Promise((function(t,n){U.get(e,t)}))},U.getV18=function(e,t){return null==t&&(t=e,e={}),U.get(e,(function(n){for(var r=[],o=0;o<n.length;o++){var i=n[o];if(i.value===(e.NOT_AVAILABLE||"not available"))r.push({key:i.key,value:"unknown"});else if("plugins"===i.key)r.push({key:"plugins",value:u(i.value,(function(e){var t=u(e[2],(function(e){return e.join?e.join("~"):e})).join(",");return[e[0],e[1],t].join("::")}))});else if(-1!==["canvas","webgl"].indexOf(i.key))r.push({key:i.key,value:i.value.join("~")});else if(-1!==["sessionStorage","localStorage","indexedDb","addBehavior","openDatabase"].indexOf(i.key)){if(!i.value)continue;r.push({key:i.key,value:1})}else i.value?r.push(i.value.join?{key:i.key,value:i.value.join(";")}:i):r.push({key:i.key,value:i.value})}var c=a(u(r,(function(e){return e.value})).join("~~~"),31);t(c,r)}))},U.x64hash128=a,U.VERSION="2.1.0",U}))},function(e,t){e.exports=!1},function(e,t,n){var r=n(69),o=n(47).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r,o=n(9),i=n(128),a=n(47),c=n(43),s=n(90),u=n(55),l=n(41),d=l("IE_PROTO"),f=function(){},h=function(e){return"<script>"+e+"<\/script>"},p=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;p=r?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=u("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete p.prototype[a[n]];return p()};c[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=o(e),n=new f,f.prototype=null,n[d]=e):n=p(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(8),o=n(13),i=n(41),a=n(93),c=i("IE_PROTO"),s=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){var r=n(19),o=n(5),i=n(26),a=function(e){return function(t,n,a){var c,s=r(t),u=o(s.length),l=i(a,u);if(e&&n!=n){for(;u>l;)if((c=s[l++])!=c)return!0}else for(;u>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(11).f,o=n(8),i=n(4)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(49),o=n(18),i=n(4)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){"use strict";var r,o,i=n(80),a=n(134),c=RegExp.prototype.exec,s=String.prototype.replace,u=c,l=(r=/a/,o=/b*/g,c.call(r,"a"),c.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),d=a.UNSUPPORTED_Y||a.BROKEN_CARET,f=void 0!==/()??/.exec("")[1];(l||f||d)&&(u=function(e){var t,n,r,o,a=this,u=d&&a.sticky,h=i.call(a),p=a.source,m=0,g=e;return u&&(-1===(h=h.replace("y","")).indexOf("g")&&(h+="g"),g=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(p="(?: "+p+")",g=" "+g,m++),n=new RegExp("^(?:"+p+")",h)),f&&(n=new RegExp("^"+p+"$(?!\\s)",h)),l&&(t=a.lastIndex),r=c.call(u?n:a,g),u?r?(r.input=r.input.slice(m),r[0]=r[0].slice(m),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:l&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),f&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=u},function(e,t,n){var r=n(3),o=n(18),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(57),o=n(42),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){e.exports={}},function(e,t,n){var r=n(18);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(27);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(2),o=n(12);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){var r={};r[n(4)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){"use strict";var r=n(19),o=n(74),i=n(29),a=n(21),c=n(92),s=a.set,u=a.getterFor("Array Iterator");e.exports=c(Array,"Array",(function(e,t){s(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){var r=n(27),o=n(13),i=n(40),a=n(5),c=function(e){return function(t,n,c,s){r(n);var u=o(t),l=i(u),d=a(u.length),f=e?d-1:0,h=e?-1:1;if(c<2)for(;;){if(f in l){s=l[f],f+=h;break}if(f+=h,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=h)f in l&&(s=n(s,l[f],f,u));return s}};e.exports={left:c(!1),right:c(!0)}},function(e,t,n){"use strict";var r=n(7),o=n(39);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){"use strict";n(52);var r=n(16),o=n(3),i=n(4),a=n(39),c=n(12),s=i("species"),u=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l="$0"==="a".replace(/./,"$0"),d=i("replace"),f=!!/./[d]&&""===/./[d]("a","$0"),h=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,d){var p=i(e),m=!o((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),g=m&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](""),!t}));if(!m||!g||"replace"===e&&(!u||!l||f)||"split"===e&&!h){var v=/./[p],y=n(p,""[e],(function(e,t,n,r,o){return t.exec===a?m&&!o?{done:!0,value:v.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),w=y[0],b=y[1];r(String.prototype,e,w),r(RegExp.prototype,p,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}d&&c(RegExp.prototype[p],"sham",!0)}},function(e,t,n){var r=n(18),o=n(39);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){var r=n(2),o=n(6),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(68),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(32),o=n(68);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(3);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){"use strict";var r=n(25),o=n(11),i=n(20);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){var r=n(3),o=n(4),i=n(61),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var r,o,i=n(2),a=n(91),c=i.process,s=c&&c.versions,u=s&&s.v8;u?o=(r=u.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){"use strict";var r=n(13),o=n(26),i=n(5);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,c=o(a>1?arguments[1]:void 0,n),s=a>2?arguments[2]:void 0,u=void 0===s?n:o(s,n);u>c;)t[c++]=e;return t}},function(e,t,n){"use strict";var r=n(22),o=n(11),i=n(4),a=n(10),c=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){"use strict";var r=n(99).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(10),o=n(3),i=n(55);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(2),o=n(46),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,n){var r=n(8),o=n(19),i=n(36).indexOf,a=n(43);e.exports=function(e,t){var n,c=o(e),s=0,u=[];for(n in c)!r(a,n)&&r(c,n)&&u.push(n);for(;t.length>s;)r(c,n=t[s++])&&(~i(u,n)||u.push(n));return u}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(3),o=/#|\.prototype\./,i=function(e,t){var n=c[a(e)];return n==u||n!=s&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=i.data={},s=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(69),o=n(47);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(6),o=n(44),i=n(4)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){var r=n(4),o=n(34),i=n(11),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),e.exports=function(e){c[a][e]=!0}},function(e,t,n){var r=n(4),o=n(29),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,n){var r=n(38),o=n(29),i=n(4)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(4)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r,o,i,a=n(35),c=n(12),s=n(8),u=n(4),l=n(32),d=u("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):f=!0),null==r&&(r={}),l||s(r,d)||c(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},function(e,t,n){"use strict";var r=n(7),o=n(6),i=n(44),a=n(26),c=n(5),s=n(19),u=n(59),l=n(4),d=n(60),f=n(28),h=d("slice"),p=f("slice",{ACCESSORS:!0,0:0,1:2}),m=l("species"),g=[].slice,v=Math.max;r({target:"Array",proto:!0,forced:!h||!p},{slice:function(e,t){var n,r,l,d=s(this),f=c(d.length),h=a(e,f),p=a(void 0===t?f:t,f);if(i(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return g.call(d,h,p);for(r=new(void 0===n?Array:n)(v(p-h,0)),l=0;h<p;h++,l++)h in d&&u(r,l,d[h]);return r.length=l,r}})},function(e,t,n){"use strict";var r=n(9);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(53),o=n(98),i=n(9),a=n(17),c=n(23),s=n(65),u=n(5),l=n(54),d=n(39),f=n(3),h=[].push,p=Math.min,m=!f((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var c,s,u,l=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,m=new RegExp(e.source,f+"g");(c=d.call(m,r))&&!((s=m.lastIndex)>p&&(l.push(r.slice(p,c.index)),c.length>1&&c.index<r.length&&h.apply(l,c.slice(1)),u=c[0].length,p=s,l.length>=i));)m.lastIndex===c.index&&m.lastIndex++;return p===r.length?!u&&m.test("")||l.push(""):l.push(r.slice(p)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var d=i(e),f=String(this),h=c(d,RegExp),g=d.unicode,v=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(m?"y":"g"),y=new h(m?d:"^(?:"+d.source+")",v),w=void 0===o?4294967295:o>>>0;if(0===w)return[];if(0===f.length)return null===l(y,f)?[f]:[];for(var b=0,E=0,x=[];E<f.length;){y.lastIndex=m?E:0;var _,T=l(y,m?f:f.slice(E));if(null===T||(_=p(u(y.lastIndex+(m?0:E)),f.length))===b)E=s(f,E,g);else{if(x.push(f.slice(b,E)),x.length===w)return x;for(var I=1;I<=T.length-1;I++)if(x.push(T[I]),x.length===w)return x;E=b=_}}return x.push(f.slice(b)),x}]}),!m)},function(e,t){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,n){"use strict";var r=n(2),o=n(10),i=n(82),a=n(12),c=n(96),s=n(3),u=n(64),l=n(15),d=n(5),f=n(84),h=n(136),p=n(35),m=n(30),g=n(33).f,v=n(11).f,y=n(62),w=n(37),b=n(21),E=b.get,x=b.set,_=r.ArrayBuffer,T=_,I=r.DataView,S=I&&I.prototype,A=Object.prototype,C=r.RangeError,B=h.pack,O=h.unpack,k=function(e){return[255&e]},L=function(e){return[255&e,e>>8&255]},M=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},R=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},P=function(e){return B(e,23,4)},N=function(e){return B(e,52,8)},j=function(e,t){v(e.prototype,t,{get:function(){return E(this)[t]}})},D=function(e,t,n,r){var o=f(n),i=E(e);if(o+t>i.byteLength)throw C("Wrong index");var a=E(i.buffer).bytes,c=o+i.byteOffset,s=a.slice(c,c+t);return r?s:s.reverse()},F=function(e,t,n,r,o,i){var a=f(n),c=E(e);if(a+t>c.byteLength)throw C("Wrong index");for(var s=E(c.buffer).bytes,u=a+c.byteOffset,l=r(+o),d=0;d<t;d++)s[u+d]=l[i?d:t-d-1]};if(i){if(!s((function(){_(1)}))||!s((function(){new _(-1)}))||s((function(){return new _,new _(1.5),new _(NaN),"ArrayBuffer"!=_.name}))){for(var U,V=(T=function(e){return u(this,T),new _(f(e))}).prototype=_.prototype,G=g(_),H=0;G.length>H;)(U=G[H++])in T||a(T,U,_[U]);V.constructor=T}m&&p(S)!==A&&m(S,A);var W=new I(new T(2)),X=S.setInt8;W.setInt8(0,2147483648),W.setInt8(1,2147483649),!W.getInt8(0)&&W.getInt8(1)||c(S,{setInt8:function(e,t){X.call(this,e,t<<24>>24)},setUint8:function(e,t){X.call(this,e,t<<24>>24)}},{unsafe:!0})}else T=function(e){u(this,T,"ArrayBuffer");var t=f(e);x(this,{bytes:y.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},I=function(e,t,n){u(this,I,"DataView"),u(e,T,"DataView");var r=E(e).byteLength,i=l(t);if(i<0||i>r)throw C("Wrong offset");if(i+(n=void 0===n?r-i:d(n))>r)throw C("Wrong length");x(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},o&&(j(T,"byteLength"),j(I,"buffer"),j(I,"byteLength"),j(I,"byteOffset")),c(I.prototype,{getInt8:function(e){return D(this,1,e)[0]<<24>>24},getUint8:function(e){return D(this,1,e)[0]},getInt16:function(e){var t=D(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=D(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return R(D(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return R(D(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return O(D(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return O(D(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){F(this,1,e,k,t)},setUint8:function(e,t){F(this,1,e,k,t)},setInt16:function(e,t){F(this,2,e,L,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){F(this,2,e,L,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){F(this,4,e,M,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){F(this,4,e,M,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){F(this,4,e,P,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){F(this,8,e,N,t,arguments.length>2?arguments[2]:void 0)}});w(T,"ArrayBuffer"),w(I,"DataView"),e.exports={ArrayBuffer:T,DataView:I}},function(e,t,n){var r=n(15),o=n(5);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length or index");return n}},function(e,t,n){var r=n(137);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},function(e){e.exports=JSON.parse('{"a":"2.6.0"}')},function(e,t,n){var r=n(8),o=n(127),i=n(24),a=n(11);e.exports=function(e,t){for(var n=o(t),c=a.f,s=i.f,u=0;u<n.length;u++){var l=n[u];r(e,l)||c(e,l,s(t,l))}}},function(e,t,n){var r=n(2);e.exports=r},function(e,t,n){var r=n(58);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(22);e.exports=r("document","documentElement")},function(e,t,n){var r=n(22);e.exports=r("navigator","userAgent")||""},function(e,t,n){"use strict";var r=n(7),o=n(130),i=n(35),a=n(30),c=n(37),s=n(12),u=n(16),l=n(4),d=n(32),f=n(29),h=n(78),p=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,g=l("iterator"),v=function(){return this};e.exports=function(e,t,n,l,h,y,w){o(n,t,l);var b,E,x,_=function(e){if(e===h&&C)return C;if(!m&&e in S)return S[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",I=!1,S=e.prototype,A=S[g]||S["@@iterator"]||h&&S[h],C=!m&&A||_(h),B="Array"==t&&S.entries||A;if(B&&(b=i(B.call(new e)),p!==Object.prototype&&b.next&&(d||i(b)===p||(a?a(b,p):"function"!=typeof b[g]&&s(b,g,v)),c(b,T,!0,!0),d&&(f[T]=v))),"values"==h&&A&&"values"!==A.name&&(I=!0,C=function(){return A.call(this)}),d&&!w||S[g]===C||s(S,g,C),f[t]=C,h)if(E={values:_("values"),keys:y?C:_("keys"),entries:_("entries")},w)for(x in E)(m||I||!(x in S))&&u(S,x,E[x]);else r({target:t,proto:!0,forced:m||I},E);return E}},function(e,t,n){var r=n(3);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r=n(6),o=n(30);e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},function(e,t,n){var r=n(49),o=n(16),i=n(133);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){var r=n(16);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(16),o=n(9),i=n(3),a=n(80),c=RegExp.prototype,s=c.toString,u=i((function(){return"/a/b"!=s.call({source:"a",flags:"b"})})),l="toString"!=s.name;(u||l)&&r(RegExp.prototype,"toString",(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in c)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){var r=n(6),o=n(18),i=n(4)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(15),o=n(17),i=function(e){return function(t,n){var i,a,c=String(o(t)),s=r(n),u=c.length;return s<0||s>=u?e?"":void 0:(i=c.charCodeAt(s))<55296||i>56319||s+1===u||(a=c.charCodeAt(s+1))<56320||a>57343?e?c.charAt(s):i:e?c.slice(s,s+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){"use strict";var r=n(53),o=n(9),i=n(13),a=n(5),c=n(15),s=n(17),u=n(65),l=n(54),d=Math.max,f=Math.min,h=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=r.REPLACE_KEEPS_$0,y=g?"$":"$0";return[function(n,r){var o=s(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!g&&v||"string"==typeof r&&-1===r.indexOf(y)){var i=n(t,e,this,r);if(i.done)return i.value}var s=o(e),h=String(this),p="function"==typeof r;p||(r=String(r));var m=s.global;if(m){var b=s.unicode;s.lastIndex=0}for(var E=[];;){var x=l(s,h);if(null===x)break;if(E.push(x),!m)break;""===String(x[0])&&(s.lastIndex=u(h,a(s.lastIndex),b))}for(var _,T="",I=0,S=0;S<E.length;S++){x=E[S];for(var A=String(x[0]),C=d(f(c(x.index),h.length),0),B=[],O=1;O<x.length;O++)B.push(void 0===(_=x[O])?_:String(_));var k=x.groups;if(p){var L=[A].concat(B,C,h);void 0!==k&&L.push(k);var M=String(r.apply(void 0,L))}else M=w(A,h,C,B,k,r);C>=I&&(T+=h.slice(I,C)+M,I=C+A.length)}return T+h.slice(I)}];function w(e,n,r,o,a,c){var s=r+e.length,u=o.length,l=m;return void 0!==a&&(a=i(a),l=p),t.call(c,l,(function(t,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return t;if(l>u){var d=h(l/10);return 0===d?t:d<=u?void 0===o[d-1]?i.charAt(1):o[d-1]+i.charAt(1):t}c=o[l-1]}return void 0===c?"":c}))}}))},function(e,t,n){"use strict";var r=n(7),o=n(2),i=n(10),a=n(135),c=n(1),s=n(83),u=n(64),l=n(20),d=n(12),f=n(5),h=n(84),p=n(85),m=n(25),g=n(8),v=n(38),y=n(6),w=n(34),b=n(30),E=n(33).f,x=n(138),_=n(14).forEach,T=n(63),I=n(11),S=n(24),A=n(21),C=n(94),B=A.get,O=A.set,k=I.f,L=S.f,M=Math.round,R=o.RangeError,P=s.ArrayBuffer,N=s.DataView,j=c.NATIVE_ARRAY_BUFFER_VIEWS,D=c.TYPED_ARRAY_TAG,F=c.TypedArray,U=c.TypedArrayPrototype,V=c.aTypedArrayConstructor,G=c.isTypedArray,H=function(e,t){for(var n=0,r=t.length,o=new(V(e))(r);r>n;)o[n]=t[n++];return o},W=function(e,t){k(e,t,{get:function(){return B(this)[t]}})},X=function(e){var t;return e instanceof P||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},K=function(e,t){return G(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},z=function(e,t){return K(e,t=m(t,!0))?l(2,e[t]):L(e,t)},Y=function(e,t,n){return!(K(e,t=m(t,!0))&&y(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?k(e,t,n):(e[t]=n.value,e)};i?(j||(S.f=z,I.f=Y,W(U,"buffer"),W(U,"byteOffset"),W(U,"byteLength"),W(U,"length")),r({target:"Object",stat:!0,forced:!j},{getOwnPropertyDescriptor:z,defineProperty:Y}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,c=e+(n?"Clamped":"")+"Array",s="get"+e,l="set"+e,m=o[c],g=m,v=g&&g.prototype,I={},S=function(e,t){k(e,t,{get:function(){return function(e,t){var n=B(e);return n.view[s](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=B(e);n&&(r=(r=M(r))<0?0:r>255?255:255&r),o.view[l](t*i+o.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};j?a&&(g=t((function(e,t,n,r){return u(e,g,c),C(y(t)?X(t)?void 0!==r?new m(t,p(n,i),r):void 0!==n?new m(t,p(n,i)):new m(t):G(t)?H(g,t):x.call(g,t):new m(h(t)),e,g)})),b&&b(g,F),_(E(m),(function(e){e in g||d(g,e,m[e])})),g.prototype=v):(g=t((function(e,t,n,r){u(e,g,c);var o,a,s,l=0,d=0;if(y(t)){if(!X(t))return G(t)?H(g,t):x.call(g,t);o=t,d=p(n,i);var m=t.byteLength;if(void 0===r){if(m%i)throw R("Wrong length");if((a=m-d)<0)throw R("Wrong length")}else if((a=f(r)*i)+d>m)throw R("Wrong length");s=a/i}else s=h(t),o=new P(a=s*i);for(O(e,{buffer:o,byteOffset:d,byteLength:a,length:s,view:new N(o)});l<s;)S(e,l++)})),b&&b(g,F),v=g.prototype=w(U)),v.constructor!==g&&d(v,"constructor",g),D&&d(v,D,c),I[c]=g,r({global:!0,forced:g!=m,sham:!j},I),"BYTES_PER_ELEMENT"in g||d(g,"BYTES_PER_ELEMENT",i),"BYTES_PER_ELEMENT"in v||d(v,"BYTES_PER_ELEMENT",i),T(c)}):e.exports=function(){}},function(e,t,n){"use strict";var r=n(1),o=n(139),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(e,t){return o.call(i(this),e,t,arguments.length>2?arguments[2]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(14).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(62),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){return o.apply(i(this),arguments)}))},function(e,t,n){"use strict";var r=n(1),o=n(14).filter,i=n(23),a=r.aTypedArray,c=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("filter",(function(e){for(var t=o(a(this),e,arguments.length>1?arguments[1]:void 0),n=i(this,this.constructor),r=0,s=t.length,u=new(c(n))(s);s>r;)u[r]=t[r++];return u}))},function(e,t,n){"use strict";var r=n(1),o=n(14).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(14).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(14).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(36).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(36).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(2),o=n(1),i=n(50),a=n(4)("iterator"),c=r.Uint8Array,s=i.values,u=i.keys,l=i.entries,d=o.aTypedArray,f=o.exportTypedArrayMethod,h=c&&c.prototype[a],p=!!h&&("values"==h.name||null==h.name),m=function(){return s.call(d(this))};f("entries",(function(){return l.call(d(this))})),f("keys",(function(){return u.call(d(this))})),f("values",m,!p),f(a,m,!p)},function(e,t,n){"use strict";var r=n(1),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].join;i("join",(function(e){return a.apply(o(this),arguments)}))},function(e,t,n){"use strict";var r=n(1),o=n(140),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){return o.apply(i(this),arguments)}))},function(e,t,n){"use strict";var r=n(1),o=n(14).map,i=n(23),a=r.aTypedArray,c=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(c(i(e,e.constructor)))(t)}))}))},function(e,t,n){"use strict";var r=n(1),o=n(51).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(51).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=o(this).length,n=a(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this}))},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(85),a=n(13),c=n(3),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("set",(function(e){s(this);var t=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),c=o(r.length),u=0;if(c+t>n)throw RangeError("Wrong length");for(;u<c;)this[t+u]=r[u++]}),c((function(){new Int8Array(1).set({})})))},function(e,t,n){"use strict";var r=n(1),o=n(23),i=n(3),a=r.aTypedArray,c=r.aTypedArrayConstructor,s=r.exportTypedArrayMethod,u=[].slice;s("slice",(function(e,t){for(var n=u.call(a(this),e,t),r=o(this,this.constructor),i=0,s=n.length,l=new(c(r))(s);s>i;)l[i]=n[i++];return l}),i((function(){new Int8Array(1).slice()})))},function(e,t,n){"use strict";var r=n(1),o=n(14).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].sort;i("sort",(function(e){return a.call(o(this),e)}))},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(26),a=n(23),c=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=c(this),r=n.length,s=i(e,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+s*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-s))}))},function(e,t,n){"use strict";var r=n(2),o=n(1),i=n(3),a=r.Int8Array,c=o.aTypedArray,s=o.exportTypedArrayMethod,u=[].toLocaleString,l=[].slice,d=!!a&&i((function(){u.call(new a(1))}));s("toLocaleString",(function(){return u.apply(d?l.call(c(this)):c(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},function(e,t,n){"use strict";var r=n(1).exportTypedArrayMethod,o=n(3),i=n(2).Uint8Array,a=i&&i.prototype||{},c=[].toString,s=[].join;o((function(){c.call({})}))&&(c=function(){return s.call(this)});var u=a.toString!=c;r("toString",c,u)},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(2),o=n(56),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){var r=n(22),o=n(33),i=n(70),a=n(9);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(10),o=n(11),i=n(9),a=n(72);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),c=r.length,s=0;c>s;)o.f(e,n=r[s++],t[n]);return e}},function(e,t,n){"use strict";var r=n(7),o=n(3),i=n(44),a=n(6),c=n(13),s=n(5),u=n(59),l=n(73),d=n(60),f=n(4),h=n(61),p=f("isConcatSpreadable"),m=h>=51||!o((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),g=d("concat"),v=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!g},{concat:function(e){var t,n,r,o,i,a=c(this),d=l(a,0),f=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?a:arguments[t],v(i)){if(f+(o=s(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,f++)n in i&&u(d,f,i[n])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(d,f++,i)}return d.length=f,d}})},function(e,t,n){"use strict";var r=n(78).IteratorPrototype,o=n(34),i=n(20),a=n(37),c=n(29),s=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,u,!1,!0),c[u]=s,e}},function(e,t,n){var r=n(6);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var r=n(7),o=n(51).left,i=n(48),a=n(28),c=i("reduce"),s=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!c||!s},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(49),o=n(38);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){"use strict";var r=n(3);function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,n){var r=n(2),o=n(3),i=n(77),a=n(1).NATIVE_ARRAY_BUFFER_VIEWS,c=r.ArrayBuffer,s=r.Int8Array;e.exports=!a||!o((function(){s(1)}))||!o((function(){new s(-1)}))||!i((function(e){new s,new s(null),new s(1.5),new s(e)}),!0)||o((function(){return 1!==new s(new c(2),1,void 0).length}))},function(e,t){var n=Math.abs,r=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2;e.exports={pack:function(e,t,c){var s,u,l,d=new Array(c),f=8*c-t-1,h=(1<<f)-1,p=h>>1,m=23===t?r(2,-24)-r(2,-77):0,g=e<0||0===e&&1/e<0?1:0,v=0;for((e=n(e))!=e||e===1/0?(u=e!=e?1:0,s=h):(s=o(i(e)/a),e*(l=r(2,-s))<1&&(s--,l*=2),(e+=s+p>=1?m/l:m*r(2,1-p))*l>=2&&(s++,l/=2),s+p>=h?(u=0,s=h):s+p>=1?(u=(e*l-1)*r(2,t),s+=p):(u=e*r(2,p-1)*r(2,t),s=0));t>=8;d[v++]=255&u,u/=256,t-=8);for(s=s<<t|u,f+=t;f>0;d[v++]=255&s,s/=256,f-=8);return d[--v]|=128*g,d},unpack:function(e,t){var n,o=e.length,i=8*o-t-1,a=(1<<i)-1,c=a>>1,s=i-7,u=o-1,l=e[u--],d=127&l;for(l>>=7;s>0;d=256*d+e[u],u--,s-=8);for(n=d&(1<<-s)-1,d>>=-s,s+=t;s>0;n=256*n+e[u],u--,s-=8);if(0===d)d=1-c;else{if(d===a)return n?NaN:l?-1/0:1/0;n+=r(2,t),d-=c}return(l?-1:1)*n*r(2,d-t)}}},function(e,t,n){var r=n(15);e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},function(e,t,n){var r=n(13),o=n(5),i=n(76),a=n(75),c=n(45),s=n(1).aTypedArrayConstructor;e.exports=function(e){var t,n,u,l,d,f,h=r(e),p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m,v=i(h);if(null!=v&&!a(v))for(f=(d=v.call(h)).next,h=[];!(l=f.call(d)).done;)h.push(l.value);for(g&&p>2&&(m=c(m,arguments[2],2)),n=o(h.length),u=new(s(this))(n),t=0;n>t;t++)u[t]=g?m(h[t],t):h[t];return u}},function(e,t,n){"use strict";var r=n(13),o=n(26),i=n(5),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),c=i(n.length),s=o(e,c),u=o(t,c),l=arguments.length>2?arguments[2]:void 0,d=a((void 0===l?c:o(l,c))-u,c-s),f=1;for(u<s&&s<u+d&&(f=-1,u+=d-1,s+=d-1);d-- >0;)u in n?n[s]=n[u]:delete n[s],s+=f,u+=f;return n}},function(e,t,n){"use strict";var r=n(19),o=n(15),i=n(5),a=n(48),c=n(28),s=Math.min,u=[].lastIndexOf,l=!!u&&1/[1].lastIndexOf(1,-0)<0,d=a("lastIndexOf"),f=c("indexOf",{ACCESSORS:!0,1:0}),h=l||!d||!f;e.exports=h?function(e){if(l)return u.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=s(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:u},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t,n){"use strict";var r=n(7),o=n(2),i=n(83),a=n(63),c=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==c},{ArrayBuffer:c}),a("ArrayBuffer")},function(e,t,n){n(101)("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){var r=n(4);t.f=r},function(e,t,n){var r=n(88),o=n(8),i=n(144),a=n(11).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){"use strict";var r=n(14).forEach,o=n(48),i=n(28),a=o("forEach"),c=i("forEach");e.exports=a&&c?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){var r=n(9);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r,o,i,a=n(2),c=n(3),s=n(18),u=n(45),l=n(90),d=n(55),f=n(149),h=a.location,p=a.setImmediate,m=a.clearImmediate,g=a.process,v=a.MessageChannel,y=a.Dispatch,w=0,b={},E=function(e){if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},x=function(e){return function(){E(e)}},_=function(e){E(e.data)},T=function(e){a.postMessage(e+"",h.protocol+"//"+h.host)};p&&m||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return b[++w]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(w),w},m=function(e){delete b[e]},"process"==s(g)?r=function(e){g.nextTick(x(e))}:y&&y.now?r=function(e){y.now(x(e))}:v&&!f?(i=(o=new v).port2,o.port1.onmessage=_,r=u(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(T)||"file:"===h.protocol?r="onreadystatechange"in d("script")?function(e){l.appendChild(d("script")).onreadystatechange=function(){l.removeChild(this),E(e)}}:function(e){setTimeout(x(e),0)}:(r=T,a.addEventListener("message",_,!1))),e.exports={set:p,clear:m}},function(e,t,n){var r=n(91);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){"use strict";var r=n(27),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(98);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(4)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},,function(e,t,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var s=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function d(e,t,n,r){var o,i,a,c;if(u(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=l(e))>0&&a.length>o&&!a.warned){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=a.length,c=s,console&&console.warn&&console.warn(c)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function p(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):g(o,o.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function g(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return l(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var c=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw c.context=a,c}var s=o[e];if(void 0===s)return!1;if("function"==typeof s)i(s,this,t);else{var u=s.length,l=g(s,u);for(n=0;n<u;++n)i(l[n],this,t)}return!0},c.prototype.addListener=function(e,t){return d(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return d(this,e,t,!0)},c.prototype.once=function(e,t){return u(t),this.on(e,h(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,h(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,o,i,a;if(u(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return p(this,e,!0)},c.prototype.rawListeners=function(e){return p(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},c.prototype.listenerCount=m,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},,,function(e,t,n){"use strict";var r=n(7),o=n(2),i=n(22),a=n(32),c=n(10),s=n(58),u=n(89),l=n(3),d=n(8),f=n(44),h=n(6),p=n(9),m=n(13),g=n(19),v=n(25),y=n(20),w=n(34),b=n(72),E=n(33),x=n(159),_=n(70),T=n(24),I=n(11),S=n(66),A=n(12),C=n(16),B=n(57),O=n(41),k=n(43),L=n(42),M=n(4),R=n(144),P=n(145),N=n(37),j=n(21),D=n(14).forEach,F=O("hidden"),U=M("toPrimitive"),V=j.set,G=j.getterFor("Symbol"),H=Object.prototype,W=o.Symbol,X=i("JSON","stringify"),K=T.f,z=I.f,Y=x.f,Z=S.f,$=B("symbols"),q=B("op-symbols"),J=B("string-to-symbol-registry"),Q=B("symbol-to-string-registry"),ee=B("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=c&&l((function(){return 7!=w(z({},"a",{get:function(){return z(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=K(H,t);r&&delete H[t],z(e,t,n),r&&e!==H&&z(H,t,r)}:z,oe=function(e,t){var n=$[e]=w(W.prototype);return V(n,{type:"Symbol",tag:e,description:t}),c||(n.description=t),n},ie=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof W},ae=function(e,t,n){e===H&&ae(q,t,n),p(e);var r=v(t,!0);return p(n),d($,r)?(n.enumerable?(d(e,F)&&e[F][r]&&(e[F][r]=!1),n=w(n,{enumerable:y(0,!1)})):(d(e,F)||z(e,F,y(1,{})),e[F][r]=!0),re(e,r,n)):z(e,r,n)},ce=function(e,t){p(e);var n=g(t),r=b(n).concat(de(n));return D(r,(function(t){c&&!se.call(n,t)||ae(e,t,n[t])})),e},se=function(e){var t=v(e,!0),n=Z.call(this,t);return!(this===H&&d($,t)&&!d(q,t))&&(!(n||!d(this,t)||!d($,t)||d(this,F)&&this[F][t])||n)},ue=function(e,t){var n=g(e),r=v(t,!0);if(n!==H||!d($,r)||d(q,r)){var o=K(n,r);return!o||!d($,r)||d(n,F)&&n[F][r]||(o.enumerable=!0),o}},le=function(e){var t=Y(g(e)),n=[];return D(t,(function(e){d($,e)||d(k,e)||n.push(e)})),n},de=function(e){var t=e===H,n=Y(t?q:g(e)),r=[];return D(n,(function(e){!d($,e)||t&&!d(H,e)||r.push($[e])})),r};(s||(C((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=L(e),n=function(e){this===H&&n.call(q,e),d(this,F)&&d(this[F],t)&&(this[F][t]=!1),re(this,t,y(1,e))};return c&&ne&&re(H,t,{configurable:!0,set:n}),oe(t,e)}).prototype,"toString",(function(){return G(this).tag})),C(W,"withoutSetter",(function(e){return oe(L(e),e)})),S.f=se,I.f=ae,T.f=ue,E.f=x.f=le,_.f=de,R.f=function(e){return oe(M(e),e)},c&&(z(W.prototype,"description",{configurable:!0,get:function(){return G(this).description}}),a||C(H,"propertyIsEnumerable",se,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:W}),D(b(ee),(function(e){P(e)})),r({target:"Symbol",stat:!0,forced:!s},{for:function(e){var t=String(e);if(d(J,t))return J[t];var n=W(t);return J[t]=n,Q[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(d(Q,e))return Q[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!s,sham:!c},{create:function(e,t){return void 0===t?w(e):ce(w(e),t)},defineProperty:ae,defineProperties:ce,getOwnPropertyDescriptor:ue}),r({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:le,getOwnPropertySymbols:de}),r({target:"Object",stat:!0,forced:l((function(){_.f(1)}))},{getOwnPropertySymbols:function(e){return _.f(m(e))}}),X)&&r({target:"JSON",stat:!0,forced:!s||l((function(){var e=W();return"[null]"!=X([e])||"{}"!=X({a:e})||"{}"!=X(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(h(t)||void 0!==e)&&!ie(e))return f(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),o[1]=t,X.apply(null,o)}});W.prototype[U]||A(W.prototype,U,W.prototype.valueOf),N(W,"Symbol"),k[F]=!0},function(e,t,n){var r=n(19),o=n(33).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){"use strict";var r=n(7),o=n(10),i=n(2),a=n(8),c=n(6),s=n(11).f,u=n(87),l=i.Symbol;if(o&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var d={},f=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof f?new l(e):void 0===e?l():l(e);return""===e&&(d[t]=!0),t};u(f,l);var h=f.prototype=l.prototype;h.constructor=f;var p=h.toString,m="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;s(h,"description",{configurable:!0,get:function(){var e=c(this)?this.valueOf():this,t=p.call(e);if(a(d,e))return"";var n=m?t.slice(7,-1):t.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:f})}},function(e,t,n){n(145)("iterator")},function(e,t,n){var r=n(7),o=n(62),i=n(74);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(e,t,n){"use strict";var r=n(7),o=n(146);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){var r=n(7),o=n(165);r({target:"Array",stat:!0,forced:!n(77)((function(e){Array.from(e)}))},{from:o})},function(e,t,n){"use strict";var r=n(45),o=n(13),i=n(147),a=n(75),c=n(5),s=n(59),u=n(76);e.exports=function(e){var t,n,l,d,f,h,p=o(e),m="function"==typeof this?this:Array,g=arguments.length,v=g>1?arguments[1]:void 0,y=void 0!==v,w=u(p),b=0;if(y&&(v=r(v,g>2?arguments[2]:void 0,2)),null==w||m==Array&&a(w))for(n=new m(t=c(p.length));t>b;b++)h=y?v(p[b],b):p[b],s(n,b,h);else for(f=(d=w.call(p)).next,n=new m;!(l=f.call(d)).done;b++)h=y?i(d,v,[l.value,b],!0):l.value,s(n,b,h);return n.length=b,n}},function(e,t,n){"use strict";var r=n(7),o=n(36).includes,i=n(74);r({target:"Array",proto:!0,forced:!n(28)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){"use strict";var r=n(7),o=n(36).indexOf,i=n(48),a=n(28),c=[].indexOf,s=!!c&&1/[1].indexOf(1,-0)<0,u=i("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:s||!u||!l},{indexOf:function(e){return s?c.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(7),o=n(14).map,i=n(60),a=n(28),c=i("map"),s=a("map");r({target:"Array",proto:!0,forced:!c||!s},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(10),o=n(11).f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(10),o=n(2),i=n(71),a=n(16),c=n(8),s=n(18),u=n(94),l=n(25),d=n(3),f=n(34),h=n(33).f,p=n(24).f,m=n(11).f,g=n(171).trim,v=o.Number,y=v.prototype,w="Number"==s(f(y)),b=function(e){var t,n,r,o,i,a,c,s,u=l(e,!1);if("string"==typeof u&&u.length>2)if(43===(t=(u=g(u)).charCodeAt(0))||45===t){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=u.slice(2)).length,c=0;c<a;c++)if((s=i.charCodeAt(c))<48||s>o)return NaN;return parseInt(i,r)}return+u};if(i("Number",!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var E,x=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof x&&(w?d((function(){y.valueOf.call(n)})):"Number"!=s(n))?u(new v(b(t)),n,x):b(t)},_=r?h(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),T=0;_.length>T;T++)c(v,E=_[T])&&!c(x,E)&&m(x,E,p(v,E));x.prototype=y,y.constructor=x,a(o,"Number",x)}},function(e,t,n){var r=n(17),o="["+n(172)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:c(1),end:c(2),trim:c(3)}},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,n){"use strict";var r=n(7),o=n(15),i=n(174),a=n(175),c=n(3),s=1..toFixed,u=Math.floor,l=function(e,t,n){return 0===t?n:t%2==1?l(e,t-1,n*e):l(e*e,t/2,n)};r({target:"Number",proto:!0,forced:s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c((function(){s.call({})}))},{toFixed:function(e){var t,n,r,c,s=i(this),d=o(e),f=[0,0,0,0,0,0],h="",p="0",m=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*f[n],f[n]=r%1e7,r=u(r/1e7)},g=function(e){for(var t=6,n=0;--t>=0;)n+=f[t],f[t]=u(n/e),n=n%e*1e7},v=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==f[e]){var n=String(f[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t};if(d<0||d>20)throw RangeError("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return String(s);if(s<0&&(h="-",s=-s),s>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(s*l(2,69,1))-69)<0?s*l(2,-t,1):s/l(2,t,1),n*=4503599627370496,(t=52-t)>0){for(m(0,n),r=d;r>=7;)m(1e7,0),r-=7;for(m(l(10,r,1),0),r=t-1;r>=23;)g(1<<23),r-=23;g(1<<r),m(1,1),g(2),p=v()}else m(0,n),m(1<<-t,0),p=v()+a.call("0",d);return p=d>0?h+((c=p.length)<=d?"0."+a.call("0",d-c)+p:p.slice(0,c-d)+"."+p.slice(c-d)):h+p}})},function(e,t,n){var r=n(18);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},function(e,t,n){"use strict";var r=n(15),o=n(17);e.exports="".repeat||function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t,n){var r=n(7),o=n(177);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){"use strict";var r=n(10),o=n(3),i=n(72),a=n(70),c=n(66),s=n(13),u=n(40),l=Object.assign,d=Object.defineProperty;e.exports=!l||o((function(){if(r&&1!==l({b:1},l(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||"abcdefghijklmnopqrst"!=i(l({},t)).join("")}))?function(e,t){for(var n=s(e),o=arguments.length,l=1,d=a.f,f=c.f;o>l;)for(var h,p=u(arguments[l++]),m=d?i(p).concat(d(p)):i(p),g=m.length,v=0;g>v;)h=m[v++],r&&!f.call(p,h)||(n[h]=p[h]);return n}:l},function(e,t,n){var r=n(7),o=n(3),i=n(13),a=n(35),c=n(93);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){"use strict";var r,o,i,a,c=n(7),s=n(32),u=n(2),l=n(22),d=n(180),f=n(16),h=n(96),p=n(37),m=n(63),g=n(6),v=n(27),y=n(64),w=n(18),b=n(56),E=n(181),x=n(77),_=n(23),T=n(148).set,I=n(182),S=n(183),A=n(184),C=n(150),B=n(185),O=n(21),k=n(71),L=n(4),M=n(61),R=L("species"),P="Promise",N=O.get,j=O.set,D=O.getterFor(P),F=d,U=u.TypeError,V=u.document,G=u.process,H=l("fetch"),W=C.f,X=W,K="process"==w(G),z=!!(V&&V.createEvent&&u.dispatchEvent),Y=k(P,(function(){if(!(b(F)!==String(F))){if(66===M)return!0;if(!K&&"function"!=typeof PromiseRejectionEvent)return!0}if(s&&!F.prototype.finally)return!0;if(M>=51&&/native code/.test(F))return!1;var e=F.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[R]=t,!(e.then((function(){}))instanceof t)})),Z=Y||!x((function(e){F.all(e).catch((function(){}))})),$=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},q=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;I((function(){for(var o=t.value,i=1==t.state,a=0;r.length>a;){var c,s,u,l=r[a++],d=i?l.ok:l.fail,f=l.resolve,h=l.reject,p=l.domain;try{d?(i||(2===t.rejection&&te(e,t),t.rejection=1),!0===d?c=o:(p&&p.enter(),c=d(o),p&&(p.exit(),u=!0)),c===l.promise?h(U("Promise-chain cycle")):(s=$(c))?s.call(c,f,h):f(c)):h(o)}catch(e){p&&!u&&p.exit(),h(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Q(e,t)}))}},J=function(e,t,n){var r,o;z?((r=V.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},(o=u["on"+e])?o(r):"unhandledrejection"===e&&A("Unhandled promise rejection",n)},Q=function(e,t){T.call(u,(function(){var n,r=t.value;if(ee(t)&&(n=B((function(){K?G.emit("unhandledRejection",r,e):J("unhandledrejection",e,r)})),t.rejection=K||ee(t)?2:1,n.error))throw n.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){T.call(u,(function(){K?G.emit("rejectionHandled",e):J("rejectionhandled",e,t.value)}))},ne=function(e,t,n,r){return function(o){e(t,n,o,r)}},re=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,q(e,t,!0))},oe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw U("Promise can't be resolved itself");var o=$(n);o?I((function(){var r={done:!1};try{o.call(n,ne(oe,e,r,t),ne(re,e,r,t))}catch(n){re(e,r,n,t)}})):(t.value=n,t.state=1,q(e,t,!1))}catch(n){re(e,{done:!1},n,t)}}};Y&&(F=function(e){y(this,F,P),v(e),r.call(this);var t=N(this);try{e(ne(oe,this,t),ne(re,this,t))}catch(e){re(this,t,e)}},(r=function(e){j(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(F.prototype,{then:function(e,t){var n=D(this),r=W(_(this,F));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=K?G.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&q(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=N(e);this.promise=e,this.resolve=ne(oe,e,t),this.reject=ne(re,e,t)},C.f=W=function(e){return e===F||e===i?new o(e):X(e)},s||"function"!=typeof d||(a=d.prototype.then,f(d.prototype,"then",(function(e,t){var n=this;return new F((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof H&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return S(F,H.apply(u,arguments))}}))),c({global:!0,wrap:!0,forced:Y},{Promise:F}),p(F,P,!1,!0),m(P),i=l(P),c({target:P,stat:!0,forced:Y},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),c({target:P,stat:!0,forced:s||Y},{resolve:function(e){return S(s&&this===i?F:this,e)}}),c({target:P,stat:!0,forced:Z},{all:function(e){var t=this,n=W(t),r=n.resolve,o=n.reject,i=B((function(){var n=v(t.resolve),i=[],a=0,c=1;E(e,(function(e){var s=a++,u=!1;i.push(void 0),c++,n.call(t,e).then((function(e){u||(u=!0,i[s]=e,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=W(t),r=n.reject,o=B((function(){var o=v(t.resolve);E(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t,n){var r=n(2);e.exports=r.Promise},function(e,t,n){var r=n(9),o=n(75),i=n(5),a=n(45),c=n(76),s=n(147),u=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,l,d){var f,h,p,m,g,v,y,w=a(t,n,l?2:1);if(d)f=e;else{if("function"!=typeof(h=c(e)))throw TypeError("Target is not iterable");if(o(h)){for(p=0,m=i(e.length);m>p;p++)if((g=l?w(r(y=e[p])[0],y[1]):w(e[p]))&&g instanceof u)return g;return new u(!1)}f=h.call(e)}for(v=f.next;!(y=v.call(f)).done;)if("object"==typeof(g=s(f,w,y.value,l))&&g&&g instanceof u)return g;return new u(!1)}).stop=function(e){return new u(!0,e)}},function(e,t,n){var r,o,i,a,c,s,u,l,d=n(2),f=n(24).f,h=n(18),p=n(148).set,m=n(149),g=d.MutationObserver||d.WebKitMutationObserver,v=d.process,y=d.Promise,w="process"==h(v),b=f(d,"queueMicrotask"),E=b&&b.value;E||(r=function(){var e,t;for(w&&(e=v.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},w?a=function(){v.nextTick(r)}:g&&!m?(c=!0,s=document.createTextNode(""),new g(r).observe(s,{characterData:!0}),a=function(){s.data=c=!c}):y&&y.resolve?(u=y.resolve(void 0),l=u.then,a=function(){l.call(u,r)}):a=function(){p.call(d,r)}),e.exports=E||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,n){var r=n(9),o=n(6),i=n(150);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var r=n(2);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){var r=n(7),o=n(22),i=n(27),a=n(9),c=n(6),s=n(34),u=n(187),l=n(3),d=o("Reflect","construct"),f=l((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),h=!l((function(){d((function(){}))})),p=f||h;r({target:"Reflect",stat:!0,forced:p,sham:p},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(h&&!f)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(u.apply(e,r))}var o=n.prototype,l=s(c(o)?o:Object.prototype),p=Function.apply.call(e,l,t);return c(p)?p:l}})},function(e,t,n){"use strict";var r=n(27),o=n(6),i=[].slice,a={},c=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?c(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t,n){"use strict";var r=n(7),o=n(151),i=n(17);r({target:"String",proto:!0,forced:!n(152)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(99).charAt,o=n(21),i=n(92),a=o.set,c=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=c(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(53),o=n(9),i=n(5),a=n(17),c=n(65),s=n(54);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),u=String(this);if(!a.global)return s(a,u);var l=a.unicode;a.lastIndex=0;for(var d,f=[],h=0;null!==(d=s(a,u));){var p=String(d[0]);f[h]=p,""===p&&(a.lastIndex=c(u,i(a.lastIndex),l)),h++}return 0===h?null:f}]}))},function(e,t,n){"use strict";var r=n(53),o=n(9),i=n(17),a=n(192),c=n(54);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),s=String(this),u=i.lastIndex;a(u,0)||(i.lastIndex=0);var l=c(i,s);return a(i.lastIndex,u)||(i.lastIndex=u),null===l?-1:l.index}]}))},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r,o=n(7),i=n(24).f,a=n(5),c=n(151),s=n(17),u=n(152),l=n(32),d="".startsWith,f=Math.min,h=u("startsWith");o({target:"String",proto:!0,forced:!!(l||h||(r=i(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var t=String(s(this));c(e);var n=a(f(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return d?d.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){n(101)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){var r=n(2),o=n(153),i=n(146),a=n(12);for(var c in o){var s=r[c],u=s&&s.prototype;if(u&&u.forEach!==i)try{a(u,"forEach",i)}catch(e){u.forEach=i}}},function(e,t,n){var r=n(2),o=n(153),i=n(50),a=n(12),c=n(4),s=c("iterator"),u=c("toStringTag"),l=i.values;for(var d in o){var f=r[d],h=f&&f.prototype;if(h){if(h[s]!==l)try{a(h,s,l)}catch(e){h[s]=l}if(h[u]||a(h,u,d),o[d])for(var p in i)if(h[p]!==i[p])try{a(h,p,i[p])}catch(e){h[p]=i[p]}}}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n,r){var o=t&&t.prototype instanceof l?t:l,i=Object.create(o.prototype),a=new x(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var u={};function l(){}function d(){}function f(){}var h={};h[o]=function(){return this};var p=Object.getPrototypeOf,m=p&&p(p(_([])));m&&m!==t&&n.call(m,o)&&(h=m);var g=f.prototype=l.prototype=Object.create(h);function v(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,c){var u=s(e[o],e,i);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(u.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function _(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:T}}function T(){return{value:void 0,done:!0}}return d.prototype=g.constructor=f,f.constructor=d,f[a]=d.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},v(y.prototype),y.prototype[i]=function(){return this},e.AsyncIterator=y,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new y(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},v(g),g[a]="Generator",g[o]=function(){return this},g.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=_,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:_(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},,function(e,t,n){"use strict";n.r(t),n.d(t,"onOOCEnter",(function(){return K})),n.d(t,"onEnter",(function(){return z})),n.d(t,"musiclist_filter",(function(){return Y})),n.d(t,"musiclist_click",(function(){return Z})),n.d(t,"mutelist_click",(function(){return $})),n.d(t,"showname_click",(function(){return q})),n.d(t,"area_click",(function(){return J})),n.d(t,"changeMusicVolume",(function(){return Q})),n.d(t,"changeSFXVolume",(function(){return ee})),n.d(t,"changeShoutVolume",(function(){return te})),n.d(t,"changeTestimonyVolume",(function(){return ne})),n.d(t,"changeBlipVolume",(function(){return re})),n.d(t,"reloadTheme",(function(){return oe})),n.d(t,"changeCallwords",(function(){return ie})),n.d(t,"modcall_test",(function(){return ae})),n.d(t,"iniedit",(function(){return ce})),n.d(t,"switchAspectRatio",(function(){return ue})),n.d(t,"switchChatOffset",(function(){return de})),n.d(t,"changeCharacter",(function(){return he})),n.d(t,"charError",(function(){return pe})),n.d(t,"imgError",(function(){return me})),n.d(t,"ReconnectButton",(function(){return xe})),n.d(t,"checkCallword",(function(){return Te})),n.d(t,"chartable_filter",(function(){return Ie})),n.d(t,"pickChar",(function(){return Se})),n.d(t,"pickEmotion",(function(){return Ae})),n.d(t,"pickEvidence",(function(){return Ce})),n.d(t,"addEvidence",(function(){return Be})),n.d(t,"editEvidence",(function(){return Oe})),n.d(t,"deleteEvidence",(function(){return ke})),n.d(t,"cancelEvidence",(function(){return Le})),n.d(t,"getIndexFromSelect",(function(){return Me})),n.d(t,"setChatbox",(function(){return Re})),n.d(t,"resizeChatbox",(function(){return Pe})),n.d(t,"updateEvidenceIcon",(function(){return Ne})),n.d(t,"updateActionCommands",(function(){return je})),n.d(t,"changeBackgroundOOC",(function(){return De})),n.d(t,"changeRoleOOC",(function(){return Fe})),n.d(t,"randomCharacterOOC",(function(){return Ue})),n.d(t,"callMod",(function(){return Ve})),n.d(t,"initWT",(function(){return Ge})),n.d(t,"initCE",(function(){return He})),n.d(t,"notguilty",(function(){return We})),n.d(t,"guilty",(function(){return Xe})),n.d(t,"addHPD",(function(){return Ke})),n.d(t,"redHPD",(function(){return ze})),n.d(t,"addHPP",(function(){return Ye})),n.d(t,"redHPP",(function(){return Ze})),n.d(t,"updateBackgroundPreview",(function(){return $e})),n.d(t,"toggleEffect",(function(){return qe})),n.d(t,"toggleMenu",(function(){return Je})),n.d(t,"toggleShout",(function(){return Qe}));n(158),n(160),n(161),n(129),n(162),n(163),n(164),n(166),n(167),n(50),n(168),n(132),n(79),n(169),n(170),n(173),n(176),n(178),n(95),n(179),n(186),n(52),n(97),n(188),n(189),n(190),n(100),n(191),n(81),n(193),n(194),n(102),n(103),n(104),n(105),n(106),n(107),n(108),n(109),n(110),n(111),n(112),n(113),n(114),n(115),n(116),n(117),n(118),n(119),n(120),n(121),n(122),n(123),n(124),n(195),n(196),n(197);var r,o,i=n(31),a=n.n(i),c=n(0),s=["Anime","birthday","Christmas","CountyCourt","CruiseCourt","default","DGSEnglishCourt","DGSJapanCourt","DualDestinies","EnglishCourt","gs4","GS4Night","HD","Khura'in","mlp","NewCourt","RuinedCourt","Sky","SpaceCourt","Themis","TouhouCourt","WitchTrialCourt","Zetta"],u=["1.png","2.png","3.png","4.png","5.png","6.png","empty.png","lawyerbadge.png"],l=["aa","chatdd","dgs","chatplvsaa","trilogy","chatfuture","legacy","dr1","chatdr2","drv3","drae","chatp3","p4","chat999","halla","homestuck","yakuza","yttd","n64zelda","papermario"],d=n(155),f=n(86);function h(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function v(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){g(i,r,o,a,c,"next",e)}function c(e){g(i,r,o,a,c,"throw",e)}a(void 0)}))}}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),e}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=I(e);if(t){var o=I(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}function _(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?T(e):t}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S={};location.search.substr(1).split("&").forEach((function(e){S[e.split("=")[0]]=e.split("=")[1]}));var A,C=S.ip,B=S.mode,O=location.hostname?"https://cf-ipfs.com/ipfs/QmQA8xshtWveXG2uLNyFjNmzs9npvQM1voah8DDMnRXzeA/":"base/",k=S.asset||O,L=S.theme||"default",M=k+"sounds/music/",R="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=",P=!1,N=1,j=0,D=[],F={fonts:{extendedJsFonts:!0,userDefinedFonts:["Ace Attorney","8bitoperator","DINEngschrift"]},excludes:{userAgent:!0,enumerateDevices:!0}};window.requestIdleCallback?requestIdleCallback((function(){a.a.get(F,(function(e){A=a.a.x64hash128(e.reduce((function(e,t){return"".concat(e.value||e,", ").concat(t.value)})),31),r=new V(C),o=new G,/webOS|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|PlayStation|Opera Mini/i.test(navigator.userAgent)&&(P=!0),r.loadResources()}))})):setTimeout((function(){a.a.get(F,(function(e){A=a.a.x64hash128(e.reduce((function(e,t){return"".concat(e.value||e,", ").concat(t.value)})),31),r=new V(C),o=new G,/webOS|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|PlayStation|Opera Mini/i.test(navigator.userAgent)&&(P=!0),r.loadResources()}))}),500);var U=new Date(0),V=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(a,e);var t,n,i=x(a);function a(e){var t;return y(this,a),(t=i.call(this)).serv=new WebSocket("ws://"+e),t.serv.addEventListener("open",t.emit.bind(T(t),"open")),t.serv.addEventListener("close",t.emit.bind(T(t),"close")),t.serv.addEventListener("message",t.emit.bind(T(t),"message")),t.serv.addEventListener("error",t.emit.bind(T(t),"error")),t.on("open",t.onOpen.bind(T(t))),t.on("close",t.onClose.bind(T(t))),t.on("message",t.onMessage.bind(T(t))),t.on("error",t.onError.bind(T(t))),t.hp=[0,0],t.playerID=1,t.charID=-1,t.char_list_length=0,t.evidence_list_length=0,t.music_list_length=0,t.testimonyID=0,t.chars=[],t.emotes=[],t.evidences=[],t.areas=[],t.musics=[],t.callwords=[],t.resources={holdit:{src:k+"misc/default/holdit_bubble.png",duration:720},objection:{src:k+"misc/default/objection_bubble.png",duration:720},takethat:{src:k+"misc/default/takethat_bubble.png",duration:840},witnesstestimony:{src:k+"themes/"+L+"/witnesstestimony.gif",duration:1560,sfx:k+"sounds/general/sfx-testimony.wav"},crossexamination:{src:k+"themes/"+L+"/crossexamination.gif",duration:1600,sfx:k+"sounds/general/sfx-testimony2.wav"},guilty:{src:k+"themes/"+L+"/guilty.gif",duration:2870,sfx:k+"sounds/general/sfx-guilty.wav"},notguilty:{src:k+"themes/"+L+"/notguilty.gif",duration:2440,sfx:k+"sounds/general/sfx-notguilty.wav"}},t.selectedEmote=-1,t.selectedEvidence=0,t.checkUpdater=null,t.on("MS",t.handleMS.bind(T(t))),t.on("CT",t.handleCT.bind(T(t))),t.on("MC",t.handleMC.bind(T(t))),t.on("RMC",t.handleRMC.bind(T(t))),t.on("CI",t.handleCI.bind(T(t))),t.on("SC",t.handleSC.bind(T(t))),t.on("EI",t.handleEI.bind(T(t))),t.on("FL",t.handleFL.bind(T(t))),t.on("LE",t.handleLE.bind(T(t))),t.on("EM",t.handleEM.bind(T(t))),t.on("SM",t.handleSM.bind(T(t))),t.on("MM",t.handleMM.bind(T(t))),t.on("BD",t.handleBD.bind(T(t))),t.on("KB",t.handleKB.bind(T(t))),t.on("KK",t.handleKK.bind(T(t))),t.on("DONE",t.handleDONE.bind(T(t))),t.on("BN",t.handleBN.bind(T(t))),t.on("HP",t.handleHP.bind(T(t))),t.on("RT",t.handleRT.bind(T(t))),t.on("ZZ",t.handleZZ.bind(T(t))),t.on("ID",t.handleID.bind(T(t))),t.on("PN",t.handlePN.bind(T(t))),t.on("SI",t.handleSI.bind(T(t))),t.on("ARUP",t.handleARUP.bind(T(t))),t.on("CharsCheck",t.handleCharsCheck.bind(T(t))),t.on("decryptor",t.handleDecryptor.bind(T(t))),t.on("PV",t.handlePV.bind(T(t))),t.on("CHECK",(function(){})),t._lastTimeICReceived=new Date(0),t}return b(a,[{key:"sendServer",value:function(e){this.serv.send(e)}},{key:"sendOOC",value:function(e){X("OOC_name",document.getElementById("OOC_name").value),this.sendServer("CT#".concat(Object(c.b)(Object(c.a)(document.getElementById("OOC_name").value)),"#").concat(Object(c.b)(Object(c.a)(e)),"#%"))}},{key:"sendIC",value:function(e,t,n,r,o,i,a,s,u,l,d,f,h,p,m,g,v,y,w,b){var E="",x="",_="";if(D.includes("cccc_ic_support")&&(E="".concat(m,"#").concat(g,"#").concat(v,"#").concat(y,"#"),D.includes("looping_sfx"))){if(x="".concat(w,"#").concat(b,"#").concat("-","#").concat("-","#").concat("-","#"),D.includes("effects")){_="".concat(0,"#").concat("-","#")}}var T="MS#".concat(e,"#").concat(t,"#").concat(n,"#").concat(r)+"#".concat(Object(c.b)(Object(c.a)(o)),"#").concat(i,"#").concat(a,"#").concat(s)+"#".concat(this.charID,"#").concat(u,"#").concat(l,"#").concat(d,"#").concat(f,"#").concat(h,"#").concat(p,"#").concat(E).concat(x).concat(_,"%");console.log(T),this.sendServer(T)}},{key:"sendPE",value:function(e,t,n){this.sendServer("PE#".concat(Object(c.b)(Object(c.a)(e)),"#").concat(Object(c.b)(Object(c.a)(t)),"#").concat(n,"#%"))}},{key:"sendEE",value:function(e,t,n,r){this.sendServer("EE#".concat(e,"#").concat(Object(c.b)(Object(c.a)(t)),"#").concat(Object(c.b)(Object(c.a)(n)),"#").concat(r,"#%"))}},{key:"sendDE",value:function(e){this.sendServer("DE#".concat(e,"#%"))}},{key:"sendHP",value:function(e,t){this.sendServer("HP#".concat(e,"#").concat(t,"#%"))}},{key:"sendZZ",value:function(e){D.includes("modcall_reason")?this.sendServer("ZZ#".concat(e,"#%")):this.sendServer("ZZ#%")}},{key:"sendRT",value:function(e){"jud"===this.chars[this.charID].side&&this.sendServer("RT#".concat(e,"#%"))}},{key:"sendMusicChange",value:function(e){this.sendServer("MC#".concat(e,"#").concat(this.charID,"#%"))}},{key:"sendLeaveRoom",value:function(){this.sendServer("FC#%")}},{key:"joinServer",value:function(){var e=this;console.log("Your emulated HDID is ".concat(A)),this.sendServer("HI#".concat(A,"#%")),this.sendServer("ID#webAO#webAO#%"),this.checkUpdater=setInterval((function(){return e.sendCheck()}),5e3)}},{key:"loadResources",value:function(){document.getElementById("client_version").innerText="version "+f.a;var e=document.getElementById("bg_select");e.add(new Option("Custom",0)),s.forEach((function(t){e.add(new Option(t))}));var t=document.getElementById("evi_select");t.add(new Option("Custom",0)),u.forEach((function(e){t.add(new Option(e))})),document.getElementById("OOC_name").value=W("OOC_name")||"web"+parseInt(100*Math.random()+10);var n=W("theme")||"default";document.querySelector('#client_themeselect [value="'+n+'"]').selected=!0,oe();var r=W("chatbox")||"dynamic";document.querySelector('#client_chatboxselect [value="'+r+'"]').selected=!0,Re(r),document.getElementById("client_musicaudio").volume=W("musicVolume")||1,Q(),document.getElementById("client_sfxaudio").volume=W("sfxVolume")||1,ee(),document.getElementById("client_shoutaudio").volume=W("shoutVolume")||1,te(),document.getElementById("client_testimonyaudio").volume=W("testimonyVolume")||1,ne(),document.getElementById("client_bvolume").value=W("blipVolume")||1,re(),document.getElementById("ic_chat_name").value=W("ic_chat_name"),document.getElementById("showname").checked=W("showname"),document.getElementById("client_callwords").value=W("callwords")}},{key:"sendCharacter",value:function(e){this.chars[e].name&&this.sendServer("CC#".concat(this.playerID,"#").concat(e,"#web#%"))}},{key:"sendMusic",value:function(e){this.sendServer("MC#".concat(e,"#").concat(this.charID,"#%"))}},{key:"sendCheck",value:function(){this.sendServer("CH#".concat(this.charID,"#%"))}},{key:"onOpen",value:function(e){r.joinServer()}},{key:"onClose",value:function(e){console.error("The connection was closed: ".concat(e.reason," (").concat(e.code,")")),1001!==e.code&&(document.getElementById("client_error").style.display="flex",document.getElementById("client_loading").style.display="none",document.getElementById("error_id").textContent=e.code,this.cleanup())}},{key:"onMessage",value:function(e){var t=e.data;console.debug(t);var n=t.split("%")[0].split("#"),r=n[0];this.emit(r,n)||console.warn("Invalid packet header ".concat(r))}},{key:"onError",value:function(e){console.error("A network error occurred: ".concat(e.reason," (").concat(e.code,")")),document.getElementById("client_error").style.display="flex",document.getElementById("error_id").textContent=e.code,this.cleanup()}},{key:"cleanup",value:function(){clearInterval(this.checkUpdater),this.resetMusiclist(),document.getElementById("client_chartable").innerHTML=""}},{key:"handleMS",value:function(e){if(e[4]!==o.chatmsg.content){document.getElementById("client_inner_chat").innerHTML="";var t=Number(e[9]),n=Object(c.d)(e[3]),r=e[3],i="male",a="default",s=!1;try{if(r=this.chars[t].showname,i=this.chars[t].gender,a=this.chars[t].chat,s=this.chars[t].muted,this.chars[t].name!==n){console.info(this.chars[t].name+" is iniediting to "+n);var u=(n+"&iniediter").split("&");this.handleCharacterInfo(u,t)}}catch(t){r=e[3],i="male",a="default",s=!1,console.error("we're still missing some character data")}if(!1===s){var l={deskmod:Object(c.d)(e[1]).toLowerCase(),preanim:Object(c.d)(e[2]).toLowerCase(),nameplate:r,chatbox:a,name:n,sprite:Object(c.d)(e[4]).toLowerCase(),content:Object(c.c)(e[5]),side:e[6].toLowerCase(),sound:Object(c.d)(e[7]).toLowerCase(),blips:Object(c.d)(i),type:Number(e[8]),charid:t,snddelay:Number(e[10]),objection:Number(e[11]),evidence:Object(c.d)(e[12]),flip:Number(e[13]),flash:Number(e[14]),color:Number(e[15])};if(D.includes("cccc_ic_support")){var d={showname:Object(c.d)(e[16]),other_charid:Number(e[17]),other_name:Object(c.d)(e[18]),other_emote:Object(c.d)(e[19]),self_offset:Number(e[20]),other_offset:Number(e[21]),other_flip:Number(e[22]),noninterrupting_preanim:Number(e[23])};if(l=Object.assign(d,l),D.includes("looping_sfx")){var f={looping_sfx:Number(e[24]),screenshake:Number(e[25]),frame_screenshake:Object(c.d)(e[26]),frame_realization:Object(c.d)(e[27]),frame_sfx:Object(c.d)(e[28])};l=Object.assign(f,l)}else{l=Object.assign({looping_sfx:0,screenshake:0,frame_screenshake:"",frame_realization:"",frame_sfx:""},l)}}else{l=Object.assign({showname:"",other_charid:0,other_name:"",other_emote:"",self_offset:0,other_offset:0,other_flip:0,noninterrupting_preanim:0},l)}l.charid===this.charID&&(document.getElementById("client_inputbox").value="",document.getElementById("button_flash").className="client_button",document.getElementById("button_shake").className="client_button",document.getElementById("sendpreanim").checked=!1,j&&(document.getElementById("button_"+j).className="client_button",j=0)),o.say(l)}}}},{key:"handleCT",value:function(e){var t=document.getElementById("client_ooclog");t.innerHTML+="".concat(Object(c.c)(e[1]),": ").concat(Object(c.c)(e[2]),"\r\n"),t.scrollTop>t.scrollHeight-600&&(t.scrollTop=t.scrollHeight)}},{key:"handleMC",value:function(e){var t,n=Object(c.c)(e[1]),r=Number(e[2]),i=o.music;i.pause(),n.startsWith("http")?i.src=n:i.src=M+encodeURI(n.toLowerCase()),i.play();try{t=this.chars[r].name}catch(e){r=-1}r>=0?(t=this.chars[r].name,_e("".concat(t," changed music to ").concat(n))):_e("The music was changed to ".concat(n)),document.getElementById("client_trackstatustext").innerText=n}},{key:"handleRMC",value:function(e){o.music.pause();var t=o.music;t.totime=e[1],t.offset=(new Date).getTime()/1e3,t.addEventListener("loadedmetadata",(function(){t.currentTime+=parseFloat(t.totime+((new Date).getTime()/1e3-t.offset)).toFixed(3),t.play()}),!1)}},{key:"handleCharacterInfo",value:(n=v(regeneratorRuntime.mark((function e(t,n){var r,o,i,a,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t[0]){e.next=31;break}return r={},o=k+"characters/"+encodeURI(t[0].toLowerCase())+"/char_icon.png",(i=document.getElementById("demo_".concat(n))).alt=t[0],i.src=o,e.prev=6,e.next=9,ye(k+"characters/"+encodeURI(t[0].toLowerCase())+"/char.ini");case 9:a=e.sent,r=H.parse(a),e.next=18;break;case 13:e.prev=13,e.t0=e.catch(6),r={},i.classList.add("noini"),console.warn("character "+t[0]+" is missing from webAO");case 18:document.getElementById("mute_select").add(new Option(Object(c.d)(t[0]),n)),document.getElementById("pair_select").add(new Option(Object(c.d)(t[0]),n)),document.getElementById("client_ininame").add(new Option(Object(c.d)(t[0]))),s={name:t[0],showname:t[0],side:"def",gender:"male",chat:"aa"},r.options=Object.assign(s,r.options),u={number:0},r.emotions=Object.assign(u,r.emotions),this.chars[n]={name:Object(c.d)(t[0]),showname:Object(c.d)(r.options.showname),desc:Object(c.d)(t[1]),gender:Object(c.d)(r.options.gender).toLowerCase(),side:Object(c.d)(r.options.side).toLowerCase(),chat:Object(c.d)(r.options.chat).toLowerCase(),evidence:t[3],icon:o,inifile:r,muted:!1},e.next=34;break;case 31:console.warn("missing charid "+n),document.getElementById("demo_".concat(n)).style.display="none";case 34:case"end":return e.stop()}}),e,this,[[6,13]])}))),function(e,t){return n.apply(this,arguments)})},{key:"handleCI",value:function(e){var t=this;document.getElementById("client_loadingtext").innerHTML="Loading Character "+e[1];for(var n=2;n<=e.length-2;n++)n%2==0&&function(){document.getElementById("client_loadingtext").innerHTML="Loading Character ".concat(n,"/").concat(t.char_list_length);var r=e[n].split("&"),o=e[n-1];setTimeout((function(){return t.handleCharacterInfo(r,o)}),10*o)}();this.sendServer("AN#"+(e[1]/10+1)+"#%")}},{key:"handleSC",value:function(e){var t=this;document.getElementById("client_loadingtext").innerHTML="Loading Characters";for(var n=function(n){document.getElementById("client_loadingtext").innerHTML="Loading Character ".concat(n,"/").concat(t.char_list_length);var r=e[n].split("&"),o=n-1;setTimeout((function(){return t.handleCharacterInfo(r,o)}),10*o)},r=1;r<e.length;r++)n(r);this.sendServer("RM#%")}},{key:"handleEI",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Evidence ".concat(e[1],"/").concat(this.evidence_list_length),this.sendServer("RM#%")}},{key:"handleLE",value:function(e){this.evidences=[];for(var t=1;t<e.length-1;t++){var n=e[t].split("&");this.evidences[t-1]={name:Object(c.c)(n[0]),desc:Object(c.c)(n[1]),filename:Object(c.d)(n[2]),icon:k+"evidence/"+encodeURI(n[2].toLowerCase())}}var r=document.getElementById("evidences");r.innerHTML="";for(var o=1;o<=this.evidences.length;o++)r.innerHTML+='<img src="'.concat(this.evidences[o-1].icon,'" \n\t\t\t\tid="evi_').concat(o,'" \n\t\t\t\talt="').concat(this.evidences[o-1].name,'"\n\t\t\t\tclass="evi_icon"\n\t\t\t\tonclick="pickEvidence(').concat(o,')">')}},{key:"resetMusiclist",value:function(){this.musics=[],this.areas=[],document.getElementById("client_musiclist").innerHTML="",document.getElementById("areas").innerHTML=""}},{key:"isAudio",value:function(e){return!!(/\.(?:wav|mp3|mp4|ogg|opus)$/i.test(e)||e.startsWith("=")||e.startsWith("-"))}},{key:"handleMusicInfo",value:function(e,t){if(this.isAudio(t)){var n=document.createElement("OPTION");n.text=t,document.getElementById("client_musiclist").options.add(n),this.musics.push(t)}else{var r={name:t,players:0,status:"IDLE",cm:"",locked:"FREE"};this.areas.push(r);var o=document.createElement("SPAN");o.classList="area-button area-default",o.id="area"+e,o.innerText=r.name,o.title="Players: <br>Status: <br>CM: ",o.onclick=function(){J(this)},document.getElementById("areas").appendChild(o)}}},{key:"handleEM",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Music","0"===e[1]&&this.resetMusiclist();for(var t=2;t<e.length-1;t++)t%2==0&&(document.getElementById("client_loadingtext").innerHTML="Loading Music ".concat(t,"/").concat(this.music_list_length),this.handleMusicInfo(e[t-1],Object(c.d)(e[t])));this.sendServer("AM#"+(e[1]/10+1)+"#%")}},{key:"handleSM",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Music ",this.resetMusiclist();for(var t=1;t<e.length-1;t++)document.getElementById("client_loadingtext").innerHTML="Loading Music ".concat(t,"/").concat(this.music_list_length),this.handleMusicInfo(t-1,Object(c.d)(e[t]));this.sendServer("RD#%")}},{key:"handleMM",value:function(e){}},{key:"handleBans",value:function(e,t){document.getElementById("client_error").style.display="flex",document.getElementById("client_errortext").innerHTML=e+":<br>"+t.replace(/\n/g,"<br />"),document.getElementsByClassName("client_reconnect")[0].style.display="none",document.getElementsByClassName("client_reconnect")[1].style.display="none"}},{key:"handleKK",value:function(e){this.handleBans("Kicked",Object(c.d)(e[1]))}},{key:"handleKB",value:function(e){this.handleBans("Banned",Object(c.d)(e[1]))}},{key:"handleBD",value:function(e){this.handleBans("Banned",Object(c.d)(e[1]))}},{key:"handleDONE",value:function(e){document.getElementById("client_loading").style.display="none",document.getElementById("client_charselect").style.display="watch"===B?"none":"block"}},{key:"handleBN",value:function(e){o.bgname=Object(c.d)(e[1]);var t=Me("bg_select",o.bgname);document.getElementById("bg_select").selectedIndex=t,$e(),0===t&&(document.getElementById("bg_filename").value=o.bgname),document.getElementById("bg_preview").src=k+"background/"+encodeURI(e[1].toLowerCase())+"/defenseempty.png",-1===this.charID?o.changeBackground("jud"):o.changeBackground(this.chars[this.charID].side)}},{key:"handleHP",value:function(e){var t,n=10*Number(e[2]);"1"===e[1]?(this.hp[0]=e[2],t=document.getElementById("client_defense_hp")):(this.hp[1]=e[2],t=document.getElementById("client_prosecutor_hp")),t.getElementsByClassName("health-bar")[0].style.width=n+"%"}},{key:"handleRT",value:function(e){var t=Number(e[2]);switch(e[1]){case"testimony1":this.testimonyID=1;break;case"testimony2":this.testimonyID=2;break;case"judgeruling":this.testimonyID=3+t;break;default:console.warn("Invalid testimony")}o.initTestimonyUpdater()}},{key:"handleZZ",value:function(e){var t=document.getElementById("client_ooclog");t.innerHTML+="$Alert: ".concat(Object(c.c)(e[1]),"\r\n"),t.scrollTop>t.scrollHeight-60&&(t.scrollTop=t.scrollHeight),o.sfxaudio.pause();var n=o.sfxaudio.volume;o.sfxaudio.volume=1,o.sfxaudio.src=k+"sounds/general/sfx-gallery.wav",o.sfxaudio.play(),o.sfxaudio.volume=n}},{key:"handleID",value:function(e){this.playerID=Number(e[1]),this.serverSoftware=e[2].split("&")[0],"serverD"===this.serverSoftware?this.serverVersion=e[2].split("&")[1]:this.serverVersion=e[3],"serverD"===this.serverSoftware&&"1377.152"===this.serverVersion&&(P=!0)}},{key:"handlePN",value:function(e){this.sendServer("askchaa#%")}},{key:"handleARUP",value:function(e){e=e.slice(1);for(var t=0;t<e.length-2;t++)if(this.areas[t]){var n=document.getElementById("area"+t);switch(Number(e[0])){case 0:this.areas[t].players=Number(e[t+1]),n.innerText="".concat(this.areas[t].name," (").concat(this.areas[t].players,")");break;case 1:this.areas[t].status=Object(c.d)(e[t+1]),n.classList="area-button area-"+this.areas[t].status.toLowerCase();break;case 2:this.areas[t].cm=Object(c.d)(e[t+1]);break;case 3:this.areas[t].locked=Object(c.d)(e[t+1])}n.title="Players: ".concat(this.areas[t].players,"\n")+"Status: ".concat(this.areas[t].status,"\n")+"CM: ".concat(this.areas[t].cm,"\n")+"Area lock: ".concat(this.areas[t].locked)}}},{key:"handleFL",value:function(e){if(console.info("Server-supported features:"),console.info(e),D=e,e.includes("yellowtext")){var t=document.getElementById("textcolor");t.options[t.options.length]=new Option("Yellow",5),t.options[t.options.length]=new Option("Rainbow",6),t.options[t.options.length]=new Option("Pink",7),t.options[t.options.length]=new Option("Cyan",8)}e.includes("cccc_ic_support")&&(document.getElementById("cccc").style.display="",document.getElementById("pairing").style.display=""),e.includes("flipping")&&(document.getElementById("button_flip").style.display=""),e.includes("looping_sfx")&&(document.getElementById("button_shake").style.display="")}},{key:"handleSI",value:function(e){this.char_list_length=Number(e[1]),this.char_list_length+=1,this.evidence_list_length=Number(e[2]),this.music_list_length=Number(e[3]),document.getElementById("client_chartable").innerHTML="";for(var t=0;t<this.char_list_length;t++){var n=document.createElement("img");n.className="demothing",n.id="demo_".concat(t);var r=document.createAttribute("onclick");r.value="pickChar(".concat(t,")"),n.setAttributeNode(r),document.getElementById("client_chartable").appendChild(n)}!P&&D.includes("fastloading")?this.sendServer("RC#%"):this.sendServer("askchar2#%")}},{key:"handleCharsCheck",value:function(e){for(var t=0;t<this.char_list_length;t++){var n=document.getElementById("demo_".concat(t));"-1"===e[t+1]?n.style.opacity=.25:"0"===e[t+1]&&(n.style.opacity=1)}}},{key:"handleDecryptor",value:function(e){}},{key:"handlePV",value:(t=v(regeneratorRuntime.mark((function e(t){var n,r,o,i,a,c,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.charID=Number(t[3]),document.getElementById("client_charselect").style.display="none",n=this.character,this.selectedEmote=-1,r=this.emotes,(o=document.getElementById("client_emo")).style.display="",o.innerHTML="",i=n.inifile,n.side=i.options.side,je(n.side),0===i.emotions.number)o.innerHTML='<span\n\t\t\t\t\tid="emo_0"\n\t\t\t\t\talt="unavailable"\n\t\t\t\t\tclass="emote_button">No emotes available</span>';else{for(a=1;a<=i.emotions.number;a++)try{c=i.emotions[a].split("#"),s=void 0,u=void 0;try{s=i.soundn[a]||"0",u=Number(i.soundt[a])||0}catch(e){console.warn("ini sound is completly missing"),s="0",u=0}r[a]={desc:c[0].toLowerCase(),preanim:c[1].toLowerCase(),emote:c[2].toLowerCase(),zoom:Number(c[3])||0,sfx:s.toLowerCase(),sfxdelay:u,frame_screenshake:"",frame_realization:"",frame_sfx:"",button:k+"characters/".concat(encodeURI(n.name.toLowerCase()),"/emotions/button").concat(a,"_off.png")},o.innerHTML+="<img src=".concat(r[a].button,'\n\t\t\t\t\tid="emo_').concat(a,'"\n\t\t\t\t\talt="').concat(r[a].desc,'"\n\t\t\t\t\tclass="emote_button"\n\t\t\t\t\tonclick="pickEmotion(').concat(a,')">')}catch(e){console.error("missing emote "+a)}Ae(1)}case 12:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"character",get:function(){return this.chars[this.charID]}},{key:"emote",get:function(){return this.emotes[this.selectedEmote]}},{key:"evidence",get:function(){return document.getElementById("button_present").classList.contains("dark")?this.selectedEvidence:0}}]),a}(d.EventEmitter),G=function(){function e(){y(this,e),this.textnow="",this.chatmsg={content:"",objection:0,sound:"",startpreanim:!0,startspeaking:!1,side:null,color:0,snddelay:0,preanimdelay:0},this.shouts=[void 0,"holdit","objection","takethat"],this.colors=["white","green","red","orange","blue","yellow","rainbow","pink","cyan"],this.blipChannels=new Array(6),this.blipChannels.fill(new Audio(k+"sounds/general/sfx-blipmale.wav")).forEach((function(e){return e.volume=.5})),this.currentBlipChannel=0,this.sfxaudio=document.getElementById("client_sfxaudio"),this.sfxaudio.src="".concat(k,"sounds/general/sfx-realization.wav"),this.sfxplayed=0,this.shoutaudio=document.getElementById("client_shoutaudio"),this.shoutaudio.src="".concat(k,"misc/default/objection.wav"),this.testimonyAudio=document.getElementById("client_testimonyaudio"),this.testimonyAudio.src="".concat(k,"sounds/general/sfx-notguilty.wav"),this.music=document.getElementById("client_musicaudio"),this.music.src="".concat(k,"sounds/music/trial (aa).mp3"),this.updater=null,this.testimonyUpdater=null,this.bgname="gs4",this.lastChar="",this.lastEvi=0,this.testimonyTimer=0,this.shoutTimer=0,this.textTimer=0,this._animating=!1}var t,n,i,a;return b(e,[{key:"playSFX",value:(a=v(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.sfxaudio.pause(),this.sfxaudio.src=t,this.sfxaudio.play();case 3:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"changeBackground",value:(i=v(regeneratorRuntime.mark((function e(t){var n,r,i,a,c,s,u,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=o.bgFolder,r=document.getElementById("client_bench"),i=document.getElementById("client_court"),c=(a={def:{bg:"defenseempty.png",desk:{ao2:"defensedesk.png",ao1:"bancodefensa.png"},speedLines:"defense_speedlines.gif"},pro:{bg:"prosecutorempty.png",desk:{ao2:"prosecutiondesk.png",ao1:"bancoacusacion.png"},speedLines:"prosecution_speedlines.gif"},hld:{bg:"helperstand.png",desk:null,speedLines:"defense_speedlines.gif"},hlp:{bg:"prohelperstand.png",desk:null,speedLines:"prosecution_speedlines.gif"},wit:{bg:"witnessempty.png",desk:{ao2:"stand.png",ao1:"estrado.png"},speedLines:"prosecution_speedlines.gif"},jud:{bg:"judgestand.png",desk:{ao2:"judgedesk.png",ao1:"judgedesk.gif"},speedLines:"prosecution_speedlines.gif"},jur:{bg:"jurystand.png",desk:{ao2:"jurydesk.png",ao1:"estrado.png"},speedLines:"defense_speedlines.gif"},sea:{bg:"seancestand.png",desk:{ao2:"seancedesk.png",ao1:"estrado.png"},speedLines:"prosecution_speedlines.gif"}}[t]).bg,s=a.desk,u=a.speedLines,r.className=t+"_bench",i.className=t+"_court",5!==o.chatmsg.type){e.next=12;break}i.src="".concat(k,"themes/default/").concat(encodeURI(u)),r.style.opacity=0,e.next=27;break;case 12:if(i.src=n+c,!s){e.next=26;break}return e.next=16,be(n+s.ao2);case 16:if(!e.sent){e.next=20;break}e.t0=s.ao2,e.next=21;break;case 20:e.t0=s.ao1;case 21:l=e.t0,r.src=n+l,r.style.opacity=1,e.next=27;break;case 26:r.style.opacity=0;case 27:case"end":return e.stop()}}),e)}))),function(e){return i.apply(this,arguments)})},{key:"initTestimonyUpdater",value:function(){var e=this,t={1:"witnesstestimony",2:"crossexamination",3:"notguilty",4:"guilty"}[r.testimonyID];if(t){this.testimonyAudio.src=r.resources[t].sfx,this.testimonyAudio.play();var n=document.getElementById("client_testimony");n.src=r.resources[t].src,n.style.opacity=1,this.testimonyTimer=0,this.testimonyUpdater=setTimeout((function(){return e.updateTestimony()}),60)}else console.warn("Invalid testimony ID ".concat(r.testimonyID))}},{key:"getAnimLength",value:(n=v(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ge(t);case 3:return n=e.sent,e.abrupt("return",this.calculateGifLength(n));case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",0);case 10:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(e){return n.apply(this,arguments)})},{key:"oneSuccess",value:function(e){return Promise.all(e.map((function(e){return e.then((function(e){return Promise.reject(e)}),(function(e){return Promise.resolve(e)}))}))).then((function(e){return Promise.reject(e)}),(function(e){return Promise.resolve(e)}))}},{key:"rejectOnError",value:function(e){return new Promise((function(t,n){return e.then((function(r){r.ok?t(e):n(e)}))}))}},{key:"calculateGifLength",value:function(e){for(var t=new Uint8Array(e),n=0,r=0;r<t.length;r++)if(33===t[r]&&249===t[r+1]&&4===t[r+2]&&0===t[r+7]){var o=t[r+5]<<8|255&t[r+4];n+=o<2?10:o}return 10*n}},{key:"updateTestimony",value:function(){var e=this;this.testimonyTimer=this.testimonyTimer+60;var t={1:"witnesstestimony",2:"crossexamination",3:"notguilty",4:"guilty"}[r.testimonyID],n=r.resources[t];n?this.testimonyTimer>=n.duration?this.disposeTestimony():this.testimonyUpdater=setTimeout((function(){return e.updateTestimony()}),60):this.disposeTestimony()}},{key:"disposeTestimony",value:function(){r.testimonyID=0,this.testimonyTimer=0,document.getElementById("client_testimony").style.opacity=0,clearTimeout(this.testimonyUpdater)}},{key:"say",value:(t=v(regeneratorRuntime.mark((function e(t){var n,o,i,a,c,s,u,l,d,f,h,p,m,g,v,y,w,b,E,x,_,T,I=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.chatmsg=t,this.textnow="",this.sfxplayed=0,this.textTimer=0,this._animating=!0,clearTimeout(this.updater),n=document.getElementById("client_fg"),o=document.getElementById("client_gamewindow"),i=document.getElementById("client_chatwaiting"),n.style.animation="",o.style.animation="",i.style.opacity=0,a=document.getElementById("client_evi"),this.lastEvi!==this.chatmsg.evidence&&(a.style.opacity="0",a.style.height="0%"),this.lastEvi=this.chatmsg.evidence,c=document.getElementById("client_char"),s=document.getElementById("client_pair_char"),u=document.getElementById("client_chatcontainer"),l=document.getElementById("client_inner_name"),d=document.getElementById("client_inner_chat"),f=document.getElementById("showname").checked&&""!==this.chatmsg.showname?this.chatmsg.showname:this.chatmsg.nameplate,d.innerText=this.textnow,l.innerText=f,this.lastChar!==this.chatmsg.name&&(c.style.opacity=0,c.src=R,s.style.opacity=0,s.src=R),this.lastChar=this.chatmsg.name,_e(this.chatmsg.content,f),Te(this.chatmsg.content),e.prev=27,e.next=30,this.oneSuccess([this.rejectOnError(fetch(k+"characters/"+encodeURI(this.chatmsg.name.toLowerCase())+"/"+this.chatmsg.sprite+".png")),this.rejectOnError(fetch(k+"characters/"+encodeURI(this.chatmsg.name.toLowerCase())+"/(b)"+this.chatmsg.sprite+".gif"))]);case 30:h=e.sent,p=h.url,this.speakingSprite=p||R,e.next=38;break;case 35:e.prev=35,e.t0=e.catch(27),this.speakingSprite=k+"characters/"+encodeURI(this.chatmsg.name.toLowerCase())+"/(b)"+this.chatmsg.sprite+".gif";case 38:return e.prev=38,e.next=41,this.oneSuccess([this.rejectOnError(fetch(k+"characters/"+encodeURI(this.chatmsg.name.toLowerCase())+"/"+this.chatmsg.sprite+".png")),this.rejectOnError(fetch(k+"characters/"+encodeURI(this.chatmsg.name.toLowerCase())+"/(a)"+this.chatmsg.sprite+".gif"))]);case 41:m=e.sent,g=m.url,this.silentSprite=g||R,e.next=49;break;case 46:e.prev=46,e.t1=e.catch(38),this.silentSprite=k+"characters/"+encodeURI(this.chatmsg.name.toLowerCase())+"/(a)"+this.chatmsg.sprite+".gif";case 49:if(!this.chatmsg.other_name){e.next=61;break}return e.prev=50,e.next=53,this.oneSuccess([this.rejectOnError(fetch(k+"characters/"+encodeURI(this.chatmsg.other_name.toLowerCase())+"/"+this.chatmsg.other_emote+".png")),this.rejectOnError(fetch(k+"characters/"+encodeURI(this.chatmsg.other_name.toLowerCase())+"/(a)"+this.chatmsg.other_emote+".gif"))]);case 53:v=e.sent,y=v.url,this.pairSilent=y||R,e.next=61;break;case 58:e.prev=58,e.t2=e.catch(50),this.pairSilent=k+"characters/"+encodeURI(this.chatmsg.other_name.toLowerCase())+"/(a)"+this.chatmsg.other_emote+".gif";case 61:if(w=document.getElementById("client_shout"),!(b=this.shouts[this.chatmsg.objection])){e.next=84;break}return u.style.opacity=0,w.src=r.resources[b].src,w.style.opacity=1,w.style.animation="bubble 700ms steps(10, jump-both)",e.prev=68,e.next=71,this.oneSuccess([this.rejectOnError(fetch("".concat(k,"characters/").concat(encodeURI(this.chatmsg.name.toLowerCase()),"/").concat(b,".wav"))),this.rejectOnError(fetch("".concat(k,"misc/default/objection.wav")))]);case 71:x=e.sent,_=x.url,E=_,e.next=79;break;case 76:e.prev=76,e.t3=e.catch(68),E=k+"".concat(k,"characters/").concat(encodeURI(this.chatmsg.name.toLowerCase()),"/").concat(b,".wav");case 79:this.shoutaudio.src=E,this.shoutaudio.play(),this.shoutTimer=r.resources[b].duration,e.next=85;break;case 84:this.shoutTimer=0;case 85:this.chatmsg.startpreanim=!0,T=0,e.t4=this.chatmsg.type,e.next=1===e.t4?90:96;break;case 90:return u.style.opacity=0,e.next=93,this.getAnimLength("".concat(k,"characters/").concat(encodeURI(this.chatmsg.name.toLowerCase()),"/").concat(encodeURI(this.chatmsg.preanim),".gif"));case 93:return T=e.sent,this.chatmsg.startspeaking=!1,e.abrupt("break",99);case 96:return this.chatmsg.sound="",this.chatmsg.startspeaking=!0,e.abrupt("break",99);case 99:this.chatmsg.preanimdelay=parseInt(T),this.changeBackground(t.side),Re(t.chatbox),Pe(),1===this.chatmsg.flip?c.style.transform="scaleX(-1)":c.style.transform="scaleX(1)",1===this.chatmsg.other_flip?s.style.transform="scaleX(-1)":s.style.transform="scaleX(1)",this.blipChannels.forEach((function(e){return e.src="".concat(k,"sounds/general/sfx-blip").concat(encodeURI(I.chatmsg.blips.toLowerCase()),".wav")})),this.chatmsg.content.startsWith("~~")?(d.style.textAlign="center",this.chatmsg.content=this.chatmsg.content.substring(2,this.chatmsg.content.length)):d.style.textAlign="inherit",this.tick();case 108:case"end":return e.stop()}}),e,this,[[27,35],[38,46],[50,58],[68,76]])}))),function(e){return t.apply(this,arguments)})},{key:"tick",value:function(){var e=this;this._animating&&(this.updater=setTimeout((function(){return e.tick()}),60));var t=document.getElementById("client_gamewindow"),n=document.getElementById("client_chatwaiting"),o=document.getElementById("client_char"),i=document.getElementById("client_pair_char"),a=document.getElementById("client_evi"),s=document.getElementById("client_shout"),u=document.getElementById("client_inner_chat"),l=document.getElementById("client_chat");if(this.textTimer>=this.shoutTimer&&this.chatmsg.startpreanim){if(1===this.chatmsg.screenshake&&(this.playSFX(k+"sounds/general/sfx-stab.wav"),t.style.animation="shake 0.2s 1"),1===this.chatmsg.flash&&(this.playSFX(k+"sounds/general/sfx-realization.wav"),document.getElementById("client_fg").style.animation="flash 0.4s 1"),this.chatmsg.preanimdelay>0){s.style.opacity=0,s.style.animation="";var d=this.chatmsg.name.toLowerCase(),f=this.chatmsg.preanim.toLowerCase();o.src="".concat(k,"characters/").concat(encodeURI(d),"/").concat(encodeURI(f),".gif"),o.style.opacity=1}if(this.chatmsg.other_name){this.chatmsg.other_name.toLowerCase(),this.chatmsg.other_emote.toLowerCase();i.style.left=this.chatmsg.other_offset+"%",o.style.left=this.chatmsg.self_offset+"%",i.src=this.pairSilent,i.style.opacity=1}else i.style.opacity=0,o.style.left=0;this.chatmsg.startpreanim=!1,this.chatmsg.startspeaking=!0}else if(this.textTimer>=this.shoutTimer+this.chatmsg.preanimdelay&&!this.chatmsg.startpreanim)if(this.chatmsg.startspeaking){if(this.chatmsg.evidence>0&&(a.src=Object(c.d)(r.evidences[this.chatmsg.evidence-1].icon),a.style.width="auto",a.style.height="36.5%",a.style.opacity=1,"def"===this.chatmsg.side?(a.style.right="1em",a.style.left="initial"):(a.style.right="initial",a.style.left="1em")),Pe(),document.getElementById("client_chatcontainer").style.opacity=1,u.className="text_"+this.colors[this.chatmsg.color],this.chatmsg.startspeaking=!1,0===this.chatmsg.preanimdelay&&(s.style.opacity=0,s.style.animation=""),D.includes("cccc_ic_support"))if(this.chatmsg.other_name){this.chatmsg.other_name.toLowerCase(),this.chatmsg.other_emote.toLowerCase();i.style.left=this.chatmsg.other_offset+"%",o.style.left=this.chatmsg.self_offset+"%",i.src=this.pairSilent,i.style.opacity=1}else i.style.opacity=0,o.style.left=0;o.src=this.speakingSprite,o.style.opacity=1,this.textnow===this.chatmsg.content&&(o.src=this.silentSprite,o.style.opacity=1,n.style.opacity=1,this._animating=!1,clearTimeout(this.updater))}else this.textnow!==this.chatmsg.content&&(" "!==this.chatmsg.content.charAt(this.textnow.length)&&(this.blipChannels[this.currentBlipChannel].play(),this.currentBlipChannel++,this.currentBlipChannel%=this.blipChannels.length),this.textnow=this.chatmsg.content.substring(0,this.textnow.length+1),u.innerText=this.textnow,l.scrollTop=l.scrollHeight,this.textnow===this.chatmsg.content&&(this._animating=!1,o.src=this.silentSprite,o.style.opacity=1,n.style.opacity=1,clearTimeout(this.updater)));!this.sfxplayed&&this.chatmsg.snddelay+this.shoutTimer>=this.textTimer&&(this.sfxplayed=1,"0"!==this.chatmsg.sound&&"1"!==this.chatmsg.sound&&""!==this.chatmsg.sound&&void 0!==this.chatmsg.sound&&this.playSFX(k+"sounds/general/"+encodeURI(this.chatmsg.sound.toLowerCase())+".wav")),this.textTimer=this.textTimer+60}},{key:"isAnimating",get:function(){return this._animating}},{key:"blipVolume",set:function(e){this.blipChannels.forEach((function(t){return t.volume=e}))}},{key:"bgFolder",get:function(){return"".concat(k,"background/").concat(encodeURI(this.bgname.toLowerCase()),"/")}}]),e}(),H=function(){function e(){y(this,e)}return b(e,null,[{key:"parse",value:function(e){var t,n={section:/^\s*\[\s*([^\]]*)\s*\]\s*$/,param:/^\s*([\w.\-_]+)\s*=\s*(.*?)\s*$/,comment:/^\s*;.*$/},r={};return e.split(/\r\n|\r|\n/).forEach((function(e){if(!n.comment.test(e)&&0!==e.length)if(n.param.test(e)){var o=e.match(n.param);t&&("showname"===o[1].toLowerCase()?r[t].showname=o[2]:r[t][o[1].toLowerCase()]=o[2].toLowerCase())}else if(n.section.test(e)){var i=e.match(n.section);r[i[1].toLowerCase()]={},t=i[1].toLowerCase()}})),r}}]),e}();function W(e){try{for(var t=e+"=",n=decodeURIComponent(document.cookie).split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1);if(0===o.indexOf(t))return o.substring(t.length,o.length)}return""}catch(e){return""}}function X(e,t){document.cookie=e+"="+t}function K(e){13===e.keyCode&&(r.sendOOC(document.getElementById("client_oocinputbox").value),document.getElementById("client_oocinputbox").value="")}function z(e){if(13===e.keyCode){var t=r.character,n=r.emote,o=r.evidence,i=document.getElementById("button_flip").classList.contains("dark")?1:0,a=document.getElementById("button_flash").classList.contains("dark")?1:0,c=document.getElementById("button_shake").classList.contains("dark")?1:0,s=document.getElementById("check_nonint").checked?1:0,u=document.getElementById("check_loopsfx").checked?1:0,l=document.getElementById("textcolor").value,d=document.getElementById("ic_chat_name").value,f=document.getElementById("client_inputbox").value,h=document.getElementById("pair_select").value,p=document.getElementById("pair_offset").value,m="0",g=0,v="-";document.getElementById("sendsfx").checked&&(m=n.sfx,g=n.sfxdelay),document.getElementById("sendpreanim").checked&&(v=n.preanim),r.sendIC("chat",v,t.name,n.emote,f,t.side,m,n.zoom,g,j,o,i,a,l,d,h,p,s,u,c)}}function Y(e){var t=document.getElementById("client_musiclist"),n=document.getElementById("client_musicsearch").value;t.innerHTML="";var o,i=h(r.musics);try{for(i.s();!(o=i.n()).done;){var a=o.value;if(-1!==a.toLowerCase().indexOf(n.toLowerCase())){var c=document.createElement("OPTION");c.text=a,t.options.add(c)}}}catch(e){i.e(e)}finally{i.f()}}function Z(e){var t=document.getElementById("client_musiclist").value;r.sendMusicChange(t);for(var n=document.getElementById("client_musiclist").selectedOptions,o=0;o<n.length;o++)n[o].selected=!1}function $(e){var t=document.getElementById("mute_select"),n=t.options[t.selectedIndex];!1===r.chars[n.value].muted?(r.chars[n.value].muted=!0,n.text=r.chars[n.value].name+" (muted)",console.info("muted "+r.chars[n.value].name)):(r.chars[n.value].muted=!1,n.text=r.chars[n.value].name)}function q(e){X("showname",document.getElementById("showname").checked),X("ic_chat_name",document.getElementById("ic_chat_name").value)}function J(e){var t=r.areas[e.id.substr(4)].name;r.sendMusicChange(t);var n=document.createElement("div");n.className="hrtext",n.textContent="switched to ".concat(e.textContent),document.getElementById("client_log").appendChild(n)}function Q(){X("musicVolume",document.getElementById("client_musicaudio").volume)}function ee(){X("sfxVolume",document.getElementById("client_sfxaudio").volume)}function te(){X("shoutVolume",document.getElementById("client_shoutaudio").volume)}function ne(){X("testimonyVolume",document.getElementById("client_testimonyaudio").volume)}function re(){o.blipVolume=document.getElementById("client_bvolume").value,X("blipVolume",document.getElementById("client_bvolume").value)}function oe(){o.theme=document.getElementById("client_themeselect").value,X("theme",o.theme),document.getElementById("client_theme").href="styles/"+o.theme+".css"}function ie(){r.callwords=document.getElementById("client_callwords").value.split("\n"),X("callwords",r.callwords)}function ae(){r.handleZZ("test#test".split("#"))}function ce(){return se.apply(this,arguments)}function se(){return(se=v(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=document.getElementById("client_ininame").value,n=r.charID,e.next=4,r.handleCharacterInfo(t.split("&"),n);case 4:r.handlePV(("PV#0#CID#"+n).split("#"));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(){return le.apply(this,arguments)}function le(){return(le=v(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=document.getElementById("client_background"),n=document.getElementById("client_hdviewport_offset"),document.getElementById("client_hdviewport").checked?(t.style.paddingBottom="56.25%",n.disabled=!1):(t.style.paddingBottom="75%",n.disabled=!0);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(){return fe.apply(this,arguments)}function fe(){return(fe=v(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=document.getElementById("client_chatcontainer"),document.getElementById("client_hdviewport_offset").checked?(t.style.width="80%",t.style.left="10%"):(t.style.width="100%",t.style.left=0);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function he(e){r.sendLeaveRoom(),document.getElementById("client_charselect").style.display="block",document.getElementById("client_emo").innerHTML=""}function pe(e){return console.warn(e.src+" is missing from webAO"),!0}function me(e){return e.onerror="",e.src="",!0}function ge(e){return ve.apply(this,arguments)}function ve(){return(ve=v(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,n){var r=new XMLHttpRequest;r.responseType="arraybuffer",r.addEventListener("error",(function(){var e=new Error("Request for ".concat(t," failed: ").concat(r.statusText));e.code=r.status,n(e)})),r.addEventListener("abort",(function(){var e=new Error("Request for ".concat(t," was aborted!"));e.code=r.status,n(e)})),r.addEventListener("load",(function(){if(r.status<200||r.status>=300){var o=new Error("Request for ".concat(t," failed with status code ").concat(r.status));o.code=r.status,n(o)}else e(r.response)})),r.open("GET",t,!0),r.send()})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ye(e){return we.apply(this,arguments)}function we(){return(we=v(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,n){var r=new XMLHttpRequest;r.responseType="text",r.addEventListener("error",(function(){var e=new Error("Request for ".concat(t," failed: ").concat(r.statusText));e.code=r.status,n(e)})),r.addEventListener("abort",(function(){var e=new Error("Request for ".concat(t," was aborted!"));e.code=r.status,n(e)})),r.addEventListener("load",(function(){if(r.status<200||r.status>=300){var o=new Error("Request for ".concat(t," failed with status code ").concat(r.status));o.code=r.status,n(o)}else e(r.response)})),r.open("GET",t,!0),r.send()})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function be(e){return Ee.apply(this,arguments)}function Ee(){return(Ee=v(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ye(t);case 3:return e.abrupt("return",!0);case 6:if(e.prev=6,e.t0=e.catch(0),!(e.t0.code>=400)){e.next=12;break}return e.abrupt("return",!1);case 12:throw e.t0;case 13:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function xe(){r.cleanup(),(r=new V(C))&&(B="join",document.getElementById("client_error").style.display="none")}function _e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Date,r=document.createElement("p"),o=document.createElement("span"),i=document.createElement("span");if(o.className="iclog_name",o.appendChild(document.createTextNode(t)),i.className="iclog_text",i.appendChild(document.createTextNode(e)),r.appendChild(o),r.appendChild(i),U.getMinutes()!==n.getMinutes()){var a=document.createElement("span");a.className="iclog_time",a.innerText=n.toLocaleTimeString(void 0,{hour:"numeric",minute:"2-digit"}),r.appendChild(a)}var c=document.getElementById("client_log");c.appendChild(r),c.scrollTop>c.scrollHeight-800&&(c.scrollTop=c.scrollHeight),U=new Date}function Te(e){r.callwords.forEach((function(t){""!==t&&e.toLowerCase().includes(t.toLowerCase())&&(o.sfxaudio.pause(),o.sfxaudio.src=k+"sounds/general/sfx-gallery.wav",o.sfxaudio.play())}))}function Ie(e){var t=document.getElementById("client_charactersearch").value;r.chars.forEach((function(e,n){var r=document.getElementById("demo_".concat(n));-1===e.name.toLowerCase().indexOf(t.toLowerCase())?r.style.display="none":r.style.display="inline-block"}))}function Se(e){-1===e?document.getElementById("client_charselect").style.display="none":r.sendCharacter(e)}function Ae(e){try{-1!==r.selectedEmote&&(document.getElementById("emo_"+r.selectedEmote).classList="emote_button")}catch(e){}r.selectedEmote=e,document.getElementById("emo_"+e).classList="emote_button dark"}function Ce(e){var t=Number(e);if(r.selectedEvidence!==t){r.selectedEvidence>0&&(document.getElementById("evi_"+r.selectedEvidence).className="evi_icon"),document.getElementById("evi_"+t).className="evi_icon dark",r.selectedEvidence=t,document.getElementById("evi_name").value=r.evidences[t-1].name,document.getElementById("evi_desc").value=r.evidences[t-1].desc;var n=Me("evi_select",r.evidences[t-1].filename);document.getElementById("evi_select").selectedIndex=n,0===n&&(document.getElementById("evi_filename").value=r.evidences[t-1].filename),Ne(),document.getElementById("evi_add").className="client_button hover_button inactive",document.getElementById("evi_edit").className="client_button hover_button",document.getElementById("evi_cancel").className="client_button hover_button",document.getElementById("evi_del").className="client_button hover_button"}else Le()}function Be(){var e=document.getElementById("evi_select");r.sendPE(document.getElementById("evi_name").value,document.getElementById("evi_desc").value,0===e.selectedIndex?document.getElementById("evi_filename").value:e.options[e.selectedIndex].text),Le()}function Oe(){var e=document.getElementById("evi_select"),t=parseInt(r.selectedEvidence)-1;r.sendEE(t,document.getElementById("evi_name").value,document.getElementById("evi_desc").value,0===e.selectedIndex?document.getElementById("evi_filename").value:e.options[e.selectedIndex].text),Le()}function ke(){var e=parseInt(r.selectedEvidence)-1;r.sendDE(e),Le()}function Le(){r.selectedEvidence>0&&(document.getElementById("evi_"+r.selectedEvidence).className="evi_icon"),r.selectedEvidence=0,document.getElementById("evi_select").selectedIndex=0,Ne(),document.getElementById("evi_filename").value="",document.getElementById("evi_name").value="",document.getElementById("evi_desc").value="",document.getElementById("evi_preview").src=k+"misc/empty.png",document.getElementById("evi_add").className="client_button hover_button",document.getElementById("evi_edit").className="client_button hover_button inactive",document.getElementById("evi_cancel").className="client_button hover_button inactive",document.getElementById("evi_del").className="client_button hover_button inactive"}function Me(e,t){for(var n=document.getElementById(e),r=1;r<n.length;++r)if(n.options[r].value===t)return r;return 0}function Re(e){var t=document.getElementById("chatbox_theme"),n=document.getElementById("client_chatboxselect").value;X("chatbox",n),"dynamic"===n?l.includes(e)?t.href="styles/chatbox/"+e+".css":t.href="styles/chatbox/aa.css":t.href="styles/chatbox/"+n+".css"}function Pe(){var e=document.getElementById("client_chatcontainer"),t=document.getElementById("client_background").offsetHeight;e.style.fontSize=(.0521*t).toFixed(1)+"px"}function Ne(){var e=document.getElementById("evi_select"),t=document.getElementById("evi_filename"),n=document.getElementById("evi_preview");0===e.selectedIndex?(t.style.display="initial",n.src=k+"evidence/"+encodeURI(t.value.toLowerCase())):(t.style.display="none",n.src=k+"evidence/"+encodeURI(e.value.toLowerCase()))}function je(e){"jud"===e?(document.getElementById("judge_action").style.display="inline-table",document.getElementById("no_action").style.display="none"):(document.getElementById("judge_action").style.display="none",document.getElementById("no_action").style.display="inline-table");for(var t=0,n=document.getElementById("role_select").options;t<n.length;t++)if(e===n[t].value)return void(n.selectedIndex=t)}function De(){var e=document.getElementById("bg_select"),t=document.getElementById("bg_command").value,n=document.getElementById("bg_filename"),o="";o=0===e.selectedIndex?n.value:e.value,r.sendOOC("/"+t.replace("$1",o))}function Fe(){var e=document.getElementById("role_select"),t=document.getElementById("role_command").value;r.sendOOC("/"+t.replace("$1",e.value)),je(e.value)}function Ue(){r.sendOOC("/"+document.getElementById("randomchar_command").value)}function Ve(){var e;D.includes("modcall_reason")&&(e=prompt("Please enter the reason for the modcall","")),null==e||""===e||r.sendZZ(e)}function Ge(){r.sendRT("testimony1")}function He(){r.sendRT("testimony2")}function We(){r.sendRT("judgeruling#0")}function Xe(){r.sendRT("judgeruling#1")}function Ke(){r.sendHP(1,String(parseInt(r.hp[0])+1))}function ze(){r.sendHP(1,String(parseInt(r.hp[0])-1))}function Ye(){r.sendHP(2,String(parseInt(r.hp[1])+1))}function Ze(){r.sendHP(2,String(parseInt(r.hp[1])-1))}function $e(){var e=document.getElementById("bg_select"),t=document.getElementById("bg_filename"),n=document.getElementById("bg_preview");0===e.selectedIndex?(t.style.display="initial",n.src=k+"background/"+encodeURI(t.value.toLowerCase())+"/defenseempty.png"):(t.style.display="none",n.src=k+"background/"+encodeURI(e.value.toLowerCase())+"/defenseempty.png")}function qe(e){e.classList.contains("dark")?e.className="client_button":e.className="client_button dark"}function Je(e){e!==N&&(document.getElementById("menu_"+e).className="menu_button active",document.getElementById("content_"+e).className="menu_content active",document.getElementById("menu_"+N).className="menu_button",document.getElementById("content_"+N).className="menu_content",N=e)}function Qe(e){e===j?(document.getElementById("button_"+e).className="client_button",j=0):(document.getElementById("button_"+e).className="client_button dark",j&&(document.getElementById("button_"+j).className="client_button"),j=e)}window.onOOCEnter=K,window.onEnter=z,window.musiclist_filter=Y,window.musiclist_click=Z,window.mutelist_click=$,window.showname_click=q,window.area_click=J,window.changeMusicVolume=Q,window.changeSFXVolume=ee,window.changeShoutVolume=te,window.changeTestimonyVolume=ne,window.changeBlipVolume=re,window.reloadTheme=oe,window.changeCallwords=ie,window.modcall_test=ae,window.iniedit=ce,window.switchAspectRatio=ue,window.switchChatOffset=de,window.changeCharacter=he,window.charError=pe,window.imgError=me,window.ReconnectButton=xe,window.chartable_filter=Ie,window.pickChar=Se,window.pickEmotion=Ae,window.pickEvidence=Ce,window.addEvidence=Be,window.editEvidence=Oe,window.deleteEvidence=ke,window.cancelEvidence=Le,window.getIndexFromSelect=Me,window.setChatbox=Re,window.resizeChatbox=Pe,window.updateEvidenceIcon=Ne,window.updateActionCommands=je,window.changeBackgroundOOC=De,window.changeRoleOOC=Fe,window.randomCharacterOOC=Ue,window.callMod=Ve,window.initWT=Ge,window.initCE=He,window.notguilty=We,window.guilty=Xe,window.addHPD=Ke,window.redHPD=ze,window.addHPP=Ye,window.redHPP=Ze,window.updateBackgroundPreview=$e,window.toggleEffect=qe,window.toggleMenu=Je,window.toggleShout=Qe}]); //# sourceMappingURL=client.b.js.map
\ No newline at end of file |
