UNPKG

tradingraph

Version:

Based on rpiontik chart https://github.com/rpiontik/crypto-chart

1 lines 42.2 kB
(function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="da2a")})({"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),a=n("2aba"),o=n("32e9"),s=n("84f2"),c=n("41a0"),u=n("7f20"),f=n("38fd"),l=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",v="keys",p="values",g=function(){return this};t.exports=function(t,e,n,y,m,b,w){c(n,e,y);var x,P,_,S=function(t){if(!h&&t in T)return T[t];switch(t){case v:return function(){return new n(this,t)};case p:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",O=m==p,k=!1,T=t.prototype,j=T[l]||T[d]||m&&T[m],A=j||S(m),L=m?O?S("entries"):A:void 0,M="Array"==e&&T.entries||j;if(M&&(_=f(M.call(new t)),_!==Object.prototype&&_.next&&(u(_,E,!0),r||"function"==typeof _[l]||o(_,l,g))),O&&j&&j.name!==p&&(k=!0,A=function(){return j.call(this)}),r&&!w||!h&&!k&&T[l]||o(T,l,A),s[e]=A,s[E]=g,m)if(x={values:O?A:S(p),keys:b?A:S(v),entries:L},w)for(P in x)P in T||a(T,P,x[P]);else i(i.P+i.F*(h||k),e,x);return x}},"097d":function(t,e,n){"use strict";var r=n("5ca1"),i=n("8378"),a=n("7726"),o=n("ebd6"),s=n("bcaa");r(r.P+r.R,"Promise",{finally:function(t){var e=o(this,i.Promise||a.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},"09fa":function(t,e,n){var r=n("4588"),i=n("9def");t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length!");return n}},"0a49":function(t,e,n){var r=n("9b43"),i=n("626a"),a=n("4bf8"),o=n("9def"),s=n("cd1c");t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,f=4==t,l=6==t,h=5==t||l,d=e||s;return function(e,s,v){for(var p,g,y=a(e),m=i(y),b=r(s,v,3),w=o(m.length),x=0,P=n?d(e,w):c?d(e,0):void 0;w>x;x++)if((h||x in m)&&(p=m[x],g=b(p,x,y),t))if(n)P[x]=g;else if(g)switch(t){case 3:return!0;case 5:return p;case 6:return x;case 2:P.push(p)}else if(f)return!1;return l?-1:u||f?f:P}}},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},"0f88":function(t,e,n){var r,i=n("7726"),a=n("32e9"),o=n("ca5a"),s=o("typed_array"),c=o("view"),u=!(!i.ArrayBuffer||!i.DataView),f=u,l=0,h=9,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(l<h)(r=i[d[l++]])?(a(r.prototype,s,!0),a(r.prototype,c,!0)):f=!1;t.exports={ABV:u,CONSTR:f,TYPED:s,VIEW:c}},1169:function(t,e,n){var r=n("2d95");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),a=n("6821"),o=n("6a99"),s=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?u:function(t,e){if(t=a(t),e=o(e,!0),c)try{return u(t,e)}catch(t){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),a=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,o=a(e),s=o.length,c=0;while(s>c)r.f(t,n=o[c++],e[n]);return t}},1991:function(t,e,n){var r,i,a,o=n("9b43"),s=n("31f4"),c=n("fab2"),u=n("230e"),f=n("7726"),l=f.process,h=f.setImmediate,d=f.clearImmediate,v=f.MessageChannel,p=f.Dispatch,g=0,y={},m="onreadystatechange",b=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},w=function(t){b.call(t.data)};h&&d||(h=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return y[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},d=function(t){delete y[t]},"process"==n("2d95")(l)?r=function(t){l.nextTick(o(b,t,1))}:p&&p.now?r=function(t){p.now(o(b,t,1))}:v?(i=new v,a=i.port2,i.port1.onmessage=w,r=o(a.postMessage,a,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",w,!1)):r=m in u("script")?function(t){c.appendChild(u("script"))[m]=function(){c.removeChild(this),b.call(t)}}:function(t){setTimeout(o(b,t,1),0)}),t.exports={set:h,clear:d}},"1fa8":function(t,e,n){var r=n("cb7c");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var a=t["return"];throw void 0!==a&&r(a.call(t)),e}}},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,a=r(i)&&r(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},"23c6":function(t,e,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),a="Arguments"==r(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=o(e=Object(t),i))?n:a?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"27ee":function(t,e,n){var r=n("23c6"),i=n("2b4c")("iterator"),a=n("84f2");t.exports=n("8378").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||a[r(t)]}},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),a=n("69a8"),o=n("ca5a")("src"),s="toString",c=Function[s],u=(""+c).split(s);n("8378").inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(a(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(a(n,o)||i(n,o,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,s,function(){return"function"==typeof this&&this[o]||c.call(this)})},"2aeb":function(t,e,n){var r=n("cb7c"),i=n("1495"),a=n("e11e"),o=n("613b")("IE_PROTO"),s=function(){},c="prototype",u=function(){var t,e=n("230e")("iframe"),r=a.length,i="<",o=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+o+"document.F=Object"+i+"/script"+o),t.close(),u=t.F;while(r--)delete u[c][a[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=r(t),n=new s,s[c]=null,n[o]=t):n=u(),void 0===e?n:i(n,e)}},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),a=n("7726").Symbol,o="function"==typeof a,s=t.exports=function(t){return r[t]||(r[t]=o&&a[t]||(o?a:i)("Symbol."+t))};s.store=r},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2f21":function(t,e,n){"use strict";var r=n("79e5");t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},"31f4":function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"33a4":function(t,e,n){var r=n("84f2"),i=n("2b4c")("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[i]===t)}},"36bd":function(t,e,n){"use strict";var r=n("4bf8"),i=n("77f1"),a=n("9def");t.exports=function(t){var e=r(this),n=a(e.length),o=arguments.length,s=i(o>1?arguments[1]:void 0,n),c=o>2?arguments[2]:void 0,u=void 0===c?n:i(c,n);while(u>s)e[s++]=t;return e}},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),a=n("613b")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),a=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(o,{next:i(1,n)}),a(t,e+" Iterator")}},"456d":function(t,e,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",function(){return function(t){return i(r(t))}})},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"4a59":function(t,e,n){var r=n("9b43"),i=n("1fa8"),a=n("33a4"),o=n("cb7c"),s=n("9def"),c=n("27ee"),u={},f={};e=t.exports=function(t,e,n,l,h){var d,v,p,g,y=h?function(){return t}:c(t),m=r(n,l,e?2:1),b=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(a(y)){for(d=s(t.length);d>b;b++)if(g=e?m(o(v=t[b])[0],v[1]):m(t[b]),g===u||g===f)return g}else for(p=y.call(t);!(v=p.next()).done;)if(g=i(p,m,v.value,e),g===u||g===f)return g};e.BREAK=u,e.RETURN=f},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"52a7":function(t,e){e.f={}.propertyIsEnumerable},"551c":function(t,e,n){"use strict";var r,i,a,o,s=n("2d00"),c=n("7726"),u=n("9b43"),f=n("23c6"),l=n("5ca1"),h=n("d3f4"),d=n("d8e8"),v=n("f605"),p=n("4a59"),g=n("ebd6"),y=n("1991").set,m=n("8079")(),b=n("a5b8"),w=n("9c80"),x=n("a25f"),P=n("bcaa"),_="Promise",S=c.TypeError,E=c.process,O=E&&E.versions,k=O&&O.v8||"",T=c[_],j="process"==f(E),A=function(){},L=i=b.f,M=!!function(){try{var t=T.resolve(1),e=(t.constructor={})[n("2b4c")("species")]=function(t){t(A,A)};return(j||"function"==typeof PromiseRejectionEvent)&&t.then(A)instanceof e&&0!==k.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),R=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},I=function(t,e){if(!t._n){t._n=!0;var n=t._c;m(function(){var r=t._v,i=1==t._s,a=0,o=function(e){var n,a,o,s=i?e.ok:e.fail,c=e.resolve,u=e.reject,f=e.domain;try{s?(i||(2==t._h&&N(t),t._h=1),!0===s?n=r:(f&&f.enter(),n=s(r),f&&(f.exit(),o=!0)),n===e.promise?u(S("Promise-chain cycle")):(a=R(n))?a.call(n,c,u):c(n)):u(r)}catch(t){f&&!o&&f.exit(),u(t)}};while(n.length>a)o(n[a++]);t._c=[],t._n=!1,e&&!t._h&&D(t)})}},D=function(t){y.call(c,function(){var e,n,r,i=t._v,a=F(t);if(a&&(e=w(function(){j?E.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=j||F(t)?2:1),t._a=void 0,a&&e.e)throw e.v})},F=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){y.call(c,function(){var e;j?E.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},W=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),I(e,!0))},C=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=R(t))?m(function(){var r={_w:n,_d:!1};try{e.call(t,u(C,r,1),u(W,r,1))}catch(t){W.call(r,t)}}):(n._v=t,n._s=1,I(n,!1))}catch(t){W.call({_w:n,_d:!1},t)}}};M||(T=function(t){v(this,T,_,"_h"),d(t),r.call(this);try{t(u(C,this,1),u(W,this,1))}catch(t){W.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("dcbc")(T.prototype,{then:function(t,e){var n=L(g(this,T));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=j?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),a=function(){var t=new r;this.promise=t,this.resolve=u(C,t,1),this.reject=u(W,t,1)},b.f=L=function(t){return t===T||t===o?new a(t):i(t)}),l(l.G+l.W+l.F*!M,{Promise:T}),n("7f20")(T,_),n("7a56")(_),o=n("8378")[_],l(l.S+l.F*!M,_,{reject:function(t){var e=L(this),n=e.reject;return n(t),e.promise}}),l(l.S+l.F*(s||!M),_,{resolve:function(t){return P(s&&this===o?T:this,t)}}),l(l.S+l.F*!(M&&n("5cc5")(function(t){T.all(t)["catch"](A)})),_,{all:function(t){var e=this,n=L(e),r=n.resolve,i=n.reject,a=w(function(){var n=[],a=0,o=1;p(t,!1,function(t){var s=a++,c=!1;n.push(void 0),o++,e.resolve(t).then(function(t){c||(c=!0,n[s]=t,--o||r(n))},i)}),--o||r(n)});return a.e&&i(a.v),n.promise},race:function(t){var e=this,n=L(e),r=n.reject,i=w(function(){p(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},5537:function(t,e,n){var r=n("8378"),i=n("7726"),a="__core-js_shared__",o=i[a]||(i[a]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"55dd":function(t,e,n){"use strict";var r=n("5ca1"),i=n("d8e8"),a=n("4bf8"),o=n("79e5"),s=[].sort,c=[1,2,3];r(r.P+r.F*(o(function(){c.sort(void 0)})||!o(function(){c.sort(null)})||!n("2f21")(s)),"Array",{sort:function(t){return void 0===t?s.call(a(this)):s.call(a(this),i(t))}})},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),a=n("32e9"),o=n("2aba"),s=n("9b43"),c="prototype",u=function(t,e,n){var f,l,h,d,v=t&u.F,p=t&u.G,g=t&u.S,y=t&u.P,m=t&u.B,b=p?r:g?r[e]||(r[e]={}):(r[e]||{})[c],w=p?i:i[e]||(i[e]={}),x=w[c]||(w[c]={});for(f in p&&(n=e),n)l=!v&&b&&void 0!==b[f],h=(l?b:n)[f],d=m&&l?s(h,r):y&&"function"==typeof h?s(Function.call,h):h,b&&o(b,f,h,t&u.U),w[f]!=h&&a(w,f,d),y&&x[f]!=h&&(x[f]=h)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"5cc5":function(t,e,n){var r=n("2b4c")("iterator"),i=!1;try{var a=[7][r]();a["return"]=function(){i=!0},Array.from(a,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var a=[7],o=a[r]();o.next=function(){return{done:n=!0}},a[r]=function(){return o},t(a)}catch(t){}return n}},"5eda":function(t,e,n){var r=n("5ca1"),i=n("8378"),a=n("79e5");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],o={};o[t]=e(n),r(r.S+r.F*a(function(){n(1)}),"Object",o)}},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"63d9":function(t,e,n){n("ec30")("Float32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},7333:function(t,e,n){"use strict";var r=n("0d58"),i=n("2621"),a=n("52a7"),o=n("4bf8"),s=n("626a"),c=Object.assign;t.exports=!c||n("79e5")(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){var n=o(t),c=arguments.length,u=1,f=i.f,l=a.f;while(c>u){var h,d=s(arguments[u++]),v=f?r(d).concat(f(d)):r(d),p=v.length,g=0;while(p>g)l.call(d,h=v[g++])&&(n[h]=d[h])}return n}:c},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var r=n("4588"),i=Math.max,a=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):a(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7a56":function(t,e,n){"use strict";var r=n("7726"),i=n("86cc"),a=n("9e1e"),o=n("2b4c")("species");t.exports=function(t){var e=r[t];a&&e&&!e[o]&&i.f(e,o,{configurable:!0,get:function(){return this}})}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),a=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,a)&&r(t,a,{configurable:!0,value:e})}},8079:function(t,e,n){var r=n("7726"),i=n("1991").set,a=r.MutationObserver||r.WebKitMutationObserver,o=r.process,s=r.Promise,c="process"==n("2d95")(o);t.exports=function(){var t,e,n,u=function(){var r,i;c&&(r=o.domain)&&r.exit();while(t){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){o.nextTick(u)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var f=s.resolve(void 0);n=function(){f.then(u)}}else n=function(){i.call(r,u)};else{var l=!0,h=document.createTextNode("");new a(u).observe(h,{characterData:!0}),n=function(){h.data=l=!l}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},8378:function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),a=n("6a99"),o=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=a(e,!0),r(n),i)try{return o(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},9093:function(t,e,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c29":function(t,e,n){n("ec30")("Uint32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9c80":function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a25f:function(t,e,n){var r=n("7726"),i=r.navigator;t.exports=i&&i.userAgent||""},a5b8:function(t,e,n){"use strict";var r=n("d8e8");function i(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),a=n("2aba"),o=n("7726"),s=n("32e9"),c=n("84f2"),u=n("2b4c"),f=u("iterator"),l=u("toStringTag"),h=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=i(d),p=0;p<v.length;p++){var g,y=v[p],m=d[y],b=o[y],w=b&&b.prototype;if(w&&(w[f]||s(w,f,h),w[l]||s(w,l,y),c[y]=h,m))for(g in r)w[g]||a(w,g,r[g],!0)}},ba92:function(t,e,n){"use strict";var r=n("4bf8"),i=n("77f1"),a=n("9def");t.exports=[].copyWithin||function(t,e){var n=r(this),o=a(n.length),s=i(t,o),c=i(e,o),u=arguments.length>2?arguments[2]:void 0,f=Math.min((void 0===u?o:i(u,o))-c,o-s),l=1;c<s&&s<c+f&&(l=-1,c+=f-1,s+=f-1);while(f-- >0)c in n?n[s]=n[c]:delete n[s],s+=l,c+=l;return n}},bcaa:function(t,e,n){var r=n("cb7c"),i=n("d3f4"),a=n("a5b8");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=a.f(t),o=n.resolve;return o(e),n.promise}},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c366:function(t,e,n){var r=n("6821"),i=n("9def"),a=n("77f1");t.exports=function(t){return function(e,n,o){var s,c=r(e),u=i(c.length),f=a(o,u);if(t&&n!=n){while(u>f)if(s=c[f++],s!=s)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cadf:function(t,e,n){"use strict";var r=n("9c6c"),i=n("d53b"),a=n("84f2"),o=n("6821");t.exports=n("01f9")(Array,"Array",function(t,e){this._t=o(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},cd1c:function(t,e,n){var r=n("e853");t.exports=function(t,e){return new(r(t))(e)}},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),a=n("c366")(!1),o=n("613b")("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=o&&r(s,n)&&u.push(n);while(e.length>c)r(s,n=e[c++])&&(~a(u,n)||u.push(n));return u}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},da2a:function(t,e,n){"use strict";n.r(e);n("ac6a"),n("456d"),n("55dd"),n("63d9"),n("9c29"),n("f751");function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}n("cadf"),n("551c"),n("097d");var o=10,s=.3,c=function(){function t(){r(this,t),this.data={treeReady:!1,rawBinary:[],rawParsed:[],averageBinary:[],averageParsed:[],firstEntry:0,lastResolution:0,start:null,width:null,last:{offset:0,end:0,resolution:0},tree:[]},this.params={empty:!1,candleWidths:[],defaultExposition:2592e3,fileSizes:{},resolutions:[],packetSize:0,dataRequestPending:!1,isInitialLoading:!0},this.requestInitialParams()}return a(t,[{key:"resetData",value:function(){Object.assign(this.data,{treeReady:!1,rawBinary:[],rawParsed:[],averageBinary:[],averageParsed:[],firstEntry:0,lastResolution:0,start:null,width:null,last:{offset:0,end:0,resolution:0},tree:[]}),Object.assign(this.params,{dataRequestPending:!1,isInitialLoading:!0,fileSizes:{},resolutions:[],empty:!1})}},{key:"requestInitialParams",value:function(){this.sendMessage("REQUEST_PARAMS",{inner:["candleWidths"],outer:["fileSizes","resolutions","packetSize"]})}},{key:"initialLoading",value:function(t){var e=this.params.fileSizes[t],n=this.rebaseExposition(e,e),r=this.rebaseOffset(e-n,t);this.params.isInitialLoading=!0,this.requestData(r,e-1,t)}},{key:"rebaseOffset",value:function(t,e){var n=this.params.fileSizes[e];return t<0?0:t>n-1?n-1:t}},{key:"rebaseExposition",value:function(t,e){return t>e?e:t}},{key:"append",value:function(t){this.data.treeReady=!1,this.params.dataRequestPending=!1,this.appendedData=["candleData"],this.data.rawBinary=t.slice(0),this.data.rawParsed=this.parseChartData(this.data.rawBinary),!0===this.params.isInitialLoading&&(this.appendedData.push("averageData"),this.data.averageBinary=t.slice(0),this.data.averageParsed=this.data.rawParsed.slice(0),this.params.isInitialLoading=!1),this.makeTree(),this.sendMessage("APPENDED",{type:this.appendedData})}},{key:"parseEntity",value:function(t){return{timestamp:new Uint32Array(t,0,1)[0],volume:new Float32Array(t,4,1)[0],open:new Float32Array(t,8,1)[0],high:new Float32Array(t,12,1)[0],low:new Float32Array(t,16,1)[0],close:new Float32Array(t,20,1)[0],average:new Float32Array(t,24,1)[0]}}},{key:"parseChartData",value:function(t){for(var e=[],n=0,r=0;n<t.byteLength;n+=this.params.packetSize,r++)e[r]=this.parseEntity(t.slice(n,n+this.params.packetSize));return e}},{key:"makeTree",value:function(){var t=this;this.data.rawParsed.length>0&&(this.data.start=this.data.rawParsed[0].timestamp,this.data.end=this.data.rawParsed[this.data.rawParsed.length-1].timestamp,this.params.candleWidths.map(function(e){t.data.tree[e]=[];var n=null;t.data.rawParsed.map(function(r){var i=r.timestamp-r.timestamp%e;n&&i===n.id?(n.low=r.low<n.low?r.low:n.low,n.high=r.high>n.high?r.high:n.high,n.close=r.close,n.volume+=r.volume):(n&&t.data.tree[e].push(n),n={id:i,timestamp:r.timestamp,open:r.open,low:r.low,high:r.high,close:r.close,volume:r.volume})}),n&&t.data.tree[e].push(n)}),this.data.treeReady=!0)}},{key:"findCandleWidthForUse",value:function(t,e){var n=e/o,r=null,i=0;return this.params.candleWidths.map(function(e){if(r){var a=Math.abs(Math.round(n-t/e));a<i&&(i=a,r=e)}else r=e,i=Math.abs(Math.round(n-t/e))}),r}},{key:"findAvailableResolution",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:86400,e=this.params.resolutions.length;if(t>this.params.resolutions[e-1])return this.params.resolutions[e-1];for(var n=0,r=e;n<r;n++){if(t===this.params.resolutions[n]||t<this.params.resolutions[n]&&0===n)return this.params.resolutions[n];if(t<this.params.resolutions[n]&&n>0)return this.params.resolutions[n-1]}}},{key:"convertTimestampToPackage",value:function(t,e){return Math.ceil(t/e)*this.params.packetSize}},{key:"convertOffsetToPackage",value:function(t,e){var n=(new Date).getTime()/1e3,r=n-(t-this.params.defaultExposition),i=this.convertTimestampToPackage(r,e),a=this.params.fileSizes[e];return this.rebaseOffset(a-i,e)}},{key:"renderCandles",value:function(t,e,n,r){this.data.treeReady||this.makeTree();var i={low:null,high:null,maxVolume:null,width:null,candles:[],candlesPositivePath:[],candlesNegativePath:[],volumePath:[]},a=this.findCandleWidthForUse(e,n),o=n/e;i.width=a*o;var c=this.data.tree[a],u=0;if(c&&this.data.lastResolution===a){var f=c.length;t>this.data.start&&(u=-Math.floor((t-this.data.start)/a));for(var l=-u;l<f;l++){var h=c[l];if(!(h.timestamp<=t)){if(h.timestamp>t+e){f=l;break}u<0&&(u=l),(null==i.low||i.low>h.low)&&(i.low=h.low),(null==i.high||i.high<h.high)&&(i.high=h.high),(null==i.maxVolume||i.maxVolume<h.volume)&&(i.maxVolume=h.volume)}}u=Math.abs(u),null==f&&(f=c.length);var d=0;d=i.high!==i.low?r/(i.high-i.low):r/(1.1*i.high-i.low);var v=0;i.maxVolume>0&&(v=r*s/i.maxVolume);for(var p=a*o*.25,g=u;g<f;g++){var y=c[g],m=(y.timestamp-t)*o,b="M".concat(m," ").concat((i.high-y.low)*d," L").concat(m," ").concat((i.high-y.high)*d," "),w="M".concat(m-p," ").concat((i.high-y.close)*d,"\n L").concat(m+p," ").concat((i.high-y.close)*d,"\n L").concat(m+p," ").concat((i.high-y.open)*d,"\n L").concat(m-p," ").concat((i.high-y.open)*d),x=Object.assign({},y);y.open<=y.close?(x.class="positive",x.candlePathIndex=i.candlesPositivePath.push(b+w)-1):(x.class="negative",x.candlePathIndex=i.candlesNegativePath.push(b+w)-1),x.volumePathIndex=i.volumePath.push("M".concat(m-p," ").concat(r-y.volume*v,"\n L").concat(m+p," ").concat(r-y.volume*v,"\n L").concat(m+p," ").concat(r,"\n L").concat(m-p," ").concat(r))-1,x.x=m,i.candles.push(x)}}else{var P=this.findAvailableResolution(a);this.requestData(this.convertOffsetToPackage(t,P),this.params.fileSizes[P]-1,P)}if(this.data.start>0&&this.data.start>t){var _=this.findAvailableResolution(a);this.requestData(this.convertOffsetToPackage(t,_),this.params.fileSizes[_]-1,_)}this.data.lastResolution=a,this.sendMessage("RENDERED",{type:"candles",data:i})}},{key:"returnEmptyData",value:function(){this.sendMessage("RENDERED",{type:"candles",data:{candles:[],candlesPositivePath:[],candlesNegativePath:[],volumePath:[]}}),this.sendMessage("RENDERED",{type:"average",data:{minTimestamp:0,path:[]}})}},{key:"renderAverage",value:function(t,e){var n=this.data.averageParsed.length;if(n){var r=t/n,i={minTimestamp:this.data.averageParsed[0].timestamp-86400,maxTimestamp:this.data.averageParsed[n-1].timestamp,path:[]},a=this.data.averageParsed.slice(0).sort(function(t,e){return t.average-e.average}),o=a[n-1].average,s=a[0].average,c=0;o!==s&&(c=e/(o-s)),i.path.push("M0 ".concat(c*(o-this.data.averageParsed[0].average)));for(var u=1;u<n;u++)i.path.push("L".concat(r*u," ").concat(c*(o-this.data.averageParsed[u].average)));this.sendMessage("RENDERED",{type:"average",data:i})}}},{key:"requestData",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.data.last.offset,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.data.last.end,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.data.last.resolution;!this.params.dataRequestPending&&e>0&&(this.data.last.offset!==t||this.data.last.end!==e||this.data.last.resolution!==n)&&(this.params.dataRequestPending=!0,Object.assign(this.data.last,{offset:t,end:e,resolution:n}),this.sendMessage("REQUEST_DATA",{offset:t,end:e,resolution:n}))}},{key:"setParams",value:function(t){t.candleWidths&&!this.isCandleWidthsTheSame(t.candleWidths)&&Object.assign(this.data,{treeReady:!1,rawBinary:[],rawParsed:[],firstEntry:0,lastResolution:0,start:null,width:null,tree:[]}),Object.assign(this.params,t)}},{key:"isCandleWidthsTheSame",value:function(t){for(var e=0,n=t.length;e<n;e++)if(-1===this.params.candleWidths.indexOf(t[e]))return!1;return!0}},{key:"messageHandler",value:function(t){switch(t.data.task){case"SET_PARAMS":this.setParams(t.data.params),!this.data.averageParsed.length&&Object.keys(this.params.fileSizes).length>0&&this.params.resolutions.length>0&&this.params.fileSizes[this.params.resolutions[this.params.resolutions.length-1]]>0&&this.params.packetSize&&!this.params.dataRequestPending?this.initialLoading(this.params.resolutions[this.params.resolutions.length-1]):!this.data.averageParsed.length&&Object.keys(this.params.fileSizes).length>0&&this.params.resolutions.length>0&&-1===this.params.fileSizes[this.params.resolutions[this.params.resolutions.length-1]]&&console.log(this.params.fileSizes);break;case"APPEND":this.append(t.data.data);break;case"RENDER":var e=t.data.params;switch(e.type){case"average":this.renderAverage(e.viewWidth,e.viewHeight);break;case"candles":this.renderCandles(e.offset,e.exposition,e.viewWidth,e.viewHeight);break;default:break}break;case"RELOAD":this.returnEmptyData(),this.params.empty=!1,this.resetData(),this.requestInitialParams();break;default:break}}},{key:"sendMessage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;postMessage({type:t,body:e})}}]),t}(),u=new c;onmessage=function(t){u.messageHandler(t)}},dcbc:function(t,e,n){var r=n("2aba");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e853:function(t,e,n){var r=n("d3f4"),i=n("1169"),a=n("2b4c")("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&(e=e[a],null===e&&(e=void 0))),void 0===e?Array:e}},ebd6:function(t,e,n){var r=n("cb7c"),i=n("d8e8"),a=n("2b4c")("species");t.exports=function(t,e){var n,o=r(t).constructor;return void 0===o||void 0==(n=r(o)[a])?e:i(n)}},ec30:function(t,e,n){"use strict";if(n("9e1e")){var r=n("2d00"),i=n("7726"),a=n("79e5"),o=n("5ca1"),s=n("0f88"),c=n("ed0b"),u=n("9b43"),f=n("f605"),l=n("4630"),h=n("32e9"),d=n("dcbc"),v=n("4588"),p=n("9def"),g=n("09fa"),y=n("77f1"),m=n("6a99"),b=n("69a8"),w=n("23c6"),x=n("d3f4"),P=n("4bf8"),_=n("33a4"),S=n("2aeb"),E=n("38fd"),O=n("9093").f,k=n("27ee"),T=n("ca5a"),j=n("2b4c"),A=n("0a49"),L=n("c366"),M=n("ebd6"),R=n("cadf"),I=n("84f2"),D=n("5cc5"),F=n("7a56"),N=n("36bd"),W=n("ba92"),C=n("86cc"),U=n("11e9"),B=C.f,V=U.f,z=i.RangeError,q=i.TypeError,G=i.Uint8Array,H="ArrayBuffer",Y="Shared"+H,K="BYTES_PER_ELEMENT",Q="prototype",J=Array[Q],X=c.ArrayBuffer,Z=c.DataView,$=A(0),tt=A(2),et=A(3),nt=A(4),rt=A(5),it=A(6),at=L(!0),ot=L(!1),st=R.values,ct=R.keys,ut=R.entries,ft=J.lastIndexOf,lt=J.reduce,ht=J.reduceRight,dt=J.join,vt=J.sort,pt=J.slice,gt=J.toString,yt=J.toLocaleString,mt=j("iterator"),bt=j("toStringTag"),wt=T("typed_constructor"),xt=T("def_constructor"),Pt=s.CONSTR,_t=s.TYPED,St=s.VIEW,Et="Wrong length!",Ot=A(1,function(t,e){return Lt(M(t,t[xt]),e)}),kt=a(function(){return 1===new G(new Uint16Array([1]).buffer)[0]}),Tt=!!G&&!!G[Q].set&&a(function(){new G(1).set({})}),jt=function(t,e){var n=v(t);if(n<0||n%e)throw z("Wrong offset!");return n},At=function(t){if(x(t)&&_t in t)return t;throw q(t+" is not a typed array!")},Lt=function(t,e){if(!(x(t)&&wt in t))throw q("It is not a typed array constructor!");return new t(e)},Mt=function(t,e){return Rt(M(t,t[xt]),e)},Rt=function(t,e){var n=0,r=e.length,i=Lt(t,r);while(r>n)i[n]=e[n++];return i},It=function(t,e,n){B(t,e,{get:function(){return this._d[n]}})},Dt=function(t){var e,n,r,i,a,o,s=P(t),c=arguments.length,f=c>1?arguments[1]:void 0,l=void 0!==f,h=k(s);if(void 0!=h&&!_(h)){for(o=h.call(s),r=[],e=0;!(a=o.next()).done;e++)r.push(a.value);s=r}for(l&&c>2&&(f=u(f,arguments[2],2)),e=0,n=p(s.length),i=Lt(this,n);n>e;e++)i[e]=l?f(s[e],e):s[e];return i},Ft=function(){var t=0,e=arguments.length,n=Lt(this,e);while(e>t)n[t]=arguments[t++];return n},Nt=!!G&&a(function(){yt.call(new G(1))}),Wt=function(){return yt.apply(Nt?pt.call(At(this)):At(this),arguments)},Ct={copyWithin:function(t,e){return W.call(At(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return nt(At(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return N.apply(At(this),arguments)},filter:function(t){return Mt(this,tt(At(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return rt(At(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return it(At(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){$(At(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return ot(At(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return at(At(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return dt.apply(At(this),arguments)},lastIndexOf:function(t){return ft.apply(At(this),arguments)},map:function(t){return Ot(At(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return lt.apply(At(this),arguments)},reduceRight:function(t){return ht.apply(At(this),arguments)},reverse:function(){var t,e=this,n=At(e).length,r=Math.floor(n/2),i=0;while(i<r)t=e[i],e[i++]=e[--n],e[n]=t;return e},some:function(t){return et(At(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return vt.call(At(this),t)},subarray:function(t,e){var n=At(this),r=n.length,i=y(t,r);return new(M(n,n[xt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,p((void 0===e?r:y(e,r))-i))}},Ut=function(t,e){return Mt(this,pt.call(At(this),t,e))},Bt=function(t){At(this);var e=jt(arguments[1],1),n=this.length,r=P(t),i=p(r.length),a=0;if(i+e>n)throw z(Et);while(a<i)this[e+a]=r[a++]},Vt={entries:function(){return ut.call(At(this))},keys:function(){return ct.call(At(this))},values:function(){return st.call(At(this))}},zt=function(t,e){return x(t)&&t[_t]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},qt=function(t,e){return zt(t,e=m(e,!0))?l(2,t[e]):V(t,e)},Gt=function(t,e,n){return!(zt(t,e=m(e,!0))&&x(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?B(t,e,n):(t[e]=n.value,t)};Pt||(U.f=qt,C.f=Gt),o(o.S+o.F*!Pt,"Object",{getOwnPropertyDescriptor:qt,defineProperty:Gt}),a(function(){gt.call({})})&&(gt=yt=function(){return dt.call(this)});var Ht=d({},Ct);d(Ht,Vt),h(Ht,mt,Vt.values),d(Ht,{slice:Ut,set:Bt,constructor:function(){},toString:gt,toLocaleString:Wt}),It(Ht,"buffer","b"),It(Ht,"byteOffset","o"),It(Ht,"byteLength","l"),It(Ht,"length","e"),B(Ht,bt,{get:function(){return this[_t]}}),t.exports=function(t,e,n,c){c=!!c;var u=t+(c?"Clamped":"")+"Array",l="get"+t,d="set"+t,v=i[u],y=v||{},m=v&&E(v),b=!v||!s.ABV,P={},_=v&&v[Q],k=function(t,n){var r=t._d;return r.v[l](n*e+r.o,kt)},T=function(t,n,r){var i=t._d;c&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[d](n*e+i.o,r,kt)},j=function(t,e){B(t,e,{get:function(){return k(this,e)},set:function(t){return T(this,e,t)},enumerable:!0})};b?(v=n(function(t,n,r,i){f(t,v,u,"_d");var a,o,s,c,l=0,d=0;if(x(n)){if(!(n instanceof X||(c=w(n))==H||c==Y))return _t in n?Rt(v,n):Dt.call(v,n);a=n,d=jt(r,e);var y=n.byteLength;if(void 0===i){if(y%e)throw z(Et);if(o=y-d,o<0)throw z(Et)}else if(o=p(i)*e,o+d>y)throw z(Et);s=o/e}else s=g(n),o=s*e,a=new X(o);h(t,"_d",{b:a,o:d,l:o,e:s,v:new Z(a)});while(l<s)j(t,l++)}),_=v[Q]=S(Ht),h(_,"constructor",v)):a(function(){v(1)})&&a(function(){new v(-1)})&&D(function(t){new v,new v(null),new v(1.5),new v(t)},!0)||(v=n(function(t,n,r,i){var a;return f(t,v,u),x(n)?n instanceof X||(a=w(n))==H||a==Y?void 0!==i?new y(n,jt(r,e),i):void 0!==r?new y(n,jt(r,e)):new y(n):_t in n?Rt(v,n):Dt.call(v,n):new y(g(n))}),$(m!==Function.prototype?O(y).concat(O(m)):O(y),function(t){t in v||h(v,t,y[t])}),v[Q]=_,r||(_.constructor=v));var A=_[mt],L=!!A&&("values"==A.name||void 0==A.name),M=Vt.values;h(v,wt,!0),h(_,_t,u),h(_,St,!0),h(_,xt,v),(c?new v(1)[bt]==u:bt in _)||B(_,bt,{get:function(){return u}}),P[u]=v,o(o.G+o.W+o.F*(v!=y),P),o(o.S,u,{BYTES_PER_ELEMENT:e}),o(o.S+o.F*a(function(){y.of.call(v,1)}),u,{from:Dt,of:Ft}),K in _||h(_,K,e),o(o.P,u,Ct),F(u),o(o.P+o.F*Tt,u,{set:Bt}),o(o.P+o.F*!L,u,Vt),r||_.toString==gt||(_.toString=gt),o(o.P+o.F*a(function(){new v(1).slice()}),u,{slice:Ut}),o(o.P+o.F*(a(function(){return[1,2].toLocaleString()!=new v([1,2]).toLocaleString()})||!a(function(){_.toLocaleString.call([1,2])})),u,{toLocaleString:Wt}),I[u]=L?A:M,r||L||h(_,mt,M)}}else t.exports=function(){}},ed0b:function(t,e,n){"use strict";var r=n("7726"),i=n("9e1e"),a=n("2d00"),o=n("0f88"),s=n("32e9"),c=n("dcbc"),u=n("79e5"),f=n("f605"),l=n("4588"),h=n("9def"),d=n("09fa"),v=n("9093").f,p=n("86cc").f,g=n("36bd"),y=n("7f20"),m="ArrayBuffer",b="DataView",w="prototype",x="Wrong length!",P="Wrong index!",_=r[m],S=r[b],E=r.Math,O=r.RangeError,k=r.Infinity,T=_,j=E.abs,A=E.pow,L=E.floor,M=E.log,R=E.LN2,I="buffer",D="byteLength",F="byteOffset",N=i?"_b":I,W=i?"_l":D,C=i?"_o":F;function U(t,e,n){var r,i,a,o=new Array(n),s=8*n-e-1,c=(1<<s)-1,u=c>>1,f=23===e?A(2,-24)-A(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for(t=j(t),t!=t||t===k?(i=t!=t?1:0,r=c):(r=L(M(t)/R),t*(a=A(2,-r))<1&&(r--,a*=2),t+=r+u>=1?f/a:f*A(2,1-u),t*a>=2&&(r++,a/=2),r+u>=c?(i=0,r=c):r+u>=1?(i=(t*a-1)*A(2,e),r+=u):(i=t*A(2,u-1)*A(2,e),r=0));e>=8;o[l++]=255&i,i/=256,e-=8);for(r=r<<e|i,s+=e;s>0;o[l++]=255&r,r/=256,s-=8);return o[--l]|=128*h,o}function B(t,e,n){var r,i=8*n-e-1,a=(1<<i)-1,o=a>>1,s=i-7,c=n-1,u=t[c--],f=127&u;for(u>>=7;s>0;f=256*f+t[c],c--,s-=8);for(r=f&(1<<-s)-1,f>>=-s,s+=e;s>0;r=256*r+t[c],c--,s-=8);if(0===f)f=1-o;else{if(f===a)return r?NaN:u?-k:k;r+=A(2,e),f-=o}return(u?-1:1)*r*A(2,f-e)}function V(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function z(t){return[255&t]}function q(t){return[255&t,t>>8&255]}function G(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function H(t){return U(t,52,8)}function Y(t){return U(t,23,4)}function K(t,e,n){p(t[w],e,{get:function(){return this[n]}})}function Q(t,e,n,r){var i=+n,a=d(i);if(a+e>t[W])throw O(P);var o=t[N]._b,s=a+t[C],c=o.slice(s,s+e);return r?c:c.reverse()}function J(t,e,n,r,i,a){var o=+n,s=d(o);if(s+e>t[W])throw O(P);for(var c=t[N]._b,u=s+t[C],f=r(+i),l=0;l<e;l++)c[u+l]=f[a?l:e-l-1]}if(o.ABV){if(!u(function(){_(1)})||!u(function(){new _(-1)})||u(function(){return new _,new _(1.5),new _(NaN),_.name!=m})){_=function(t){return f(this,_),new T(d(t))};for(var X,Z=_[w]=T[w],$=v(T),tt=0;$.length>tt;)(X=$[tt++])in _||s(_,X,T[X]);a||(Z.constructor=_)}var et=new S(new _(2)),nt=S[w].setInt8;et.setInt8(0,2147483648),et.setInt8(1,2147483649),!et.getInt8(0)&&et.getInt8(1)||c(S[w],{setInt8:function(t,e){nt.call(this,t,e<<24>>24)},setUint8:function(t,e){nt.call(this,t,e<<24>>24)}},!0)}else _=function(t){f(this,_,m);var e=d(t);this._b=g.call(new Array(e),0),this[W]=e},S=function(t,e,n){f(this,S,b),f(t,_,b);var r=t[W],i=l(e);if(i<0||i>r)throw O("Wrong offset!");if(n=void 0===n?r-i:h(n),i+n>r)throw O(x);this[N]=t,this[C]=i,this[W]=n},i&&(K(_,D,"_l"),K(S,I,"_b"),K(S,D,"_l"),K(S,F,"_o")),c(S[w],{getInt8:function(t){return Q(this,1,t)[0]<<24>>24},getUint8:function(t){return Q(this,1,t)[0]},getInt16:function(t){var e=Q(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Q(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return V(Q(this,4,t,arguments[1]))},getUint32:function(t){return V(Q(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return B(Q(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return B(Q(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){J(this,1,t,z,e)},setUint8:function(t,e){J(this,1,t,z,e)},setInt16:function(t,e){J(this,2,t,q,e,arguments[2])},setUint16:function(t,e){J(this,2,t,q,e,arguments[2])},setInt32:function(t,e){J(this,4,t,G,e,arguments[2])},setUint32:function(t,e){J(this,4,t,G,e,arguments[2])},setFloat32:function(t,e){J(this,4,t,Y,e,arguments[2])},setFloat64:function(t,e){J(this,8,t,H,e,arguments[2])}});y(_,m),y(S,b),s(S[w],o.VIEW,!0),e[m]=_,e[b]=S},f605:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},f751:function(t,e,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement}});