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

async-array-buffer

Package Overview
Dependencies
Maintainers
1
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-array-buffer - npm Package Compare versions

Comparing version 1.1.52 to 1.1.53

2

build/es2015/worker/worker.d.ts

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

export declare const worker = "!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(t,\"__esModule\",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&\"object\"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:t}),2&e&&\"string\"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,\"a\",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p=\"\",r(r.s=60)}([function(t,e,r){var n=r(19)(\"wks\"),o=r(18),i=r(1).Symbol,u=\"function\"==typeof i;(t.exports=function(t){return n[t]||(n[t]=u&&i[t]||(u?i:o)(\"Symbol.\"+t))}).store=n},function(t,e){var r=t.exports=\"undefined\"!=typeof window&&window.Math==Math?window:\"undefined\"!=typeof self&&self.Math==Math?self:Function(\"return this\")();\"number\"==typeof __g&&(__g=r)},function(t,e,r){!function(t,e,r,n){\"use strict\";e=e&&e.hasOwnProperty(\"default\")?e.default:e,r=r&&r.hasOwnProperty(\"default\")?r.default:r,n=n&&n.hasOwnProperty(\"default\")?n.default:n;var o=function(t,e){return void 0===e?t:e.reduce(function(t,e){if(\"capitalize\"===e){var o=t.charAt(0).toUpperCase(),i=t.slice(1);return\"\"+o+i}return\"dashify\"===e?r(t):\"prependIndefiniteArticle\"===e?n(t)+\" \"+t:t},t)},i=function(t,r){for(var n=/\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,i=[],u=n.exec(t);null!==u;){var c={modifiers:[],name:u[1]};if(void 0!==u[3])for(var a=/\\.[^(]+\\(\\)/g,f=a.exec(u[2]);null!==f;)c.modifiers.push(f[0].slice(1,-2)),f=a.exec(u[2]);i.push(c),u=n.exec(t)}var s=i.reduce(function(t,n){return t.map(function(t){return\"string\"==typeof t?t.split(function(t){var e=t.name+t.modifiers.map(function(t){return\"\\\\.\"+t+\"\\\\(\\\\)\"}).join(\"\");return new RegExp(\"\\\\$\\\\{\"+e+\"}\",\"g\")}(n)).reduce(function(t,i,u){return 0===u?[i]:n.name in r?[].concat(e(t),[o(r[n.name],n.modifiers),i]):[].concat(e(t),[function(t){return o(t[n.name],n.modifiers)},i])},[]):[t]}).reduce(function(t,r){return[].concat(e(t),e(r))},[])},[t]);return function(t){return s.reduce(function(r,n){return[].concat(e(r),\"string\"==typeof n?[n]:[n(t)])},[]).join(\"\")}};t.compile=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=void 0===t.code?void 0:i(t.code,e),n=void 0===t.message?void 0:i(t.message,e);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments[1],i=void 0===o&&(e instanceof Error||void 0!==e.code&&\"Exception\"===e.code.slice(-9))?{cause:e,missingParameters:{}}:{cause:o,missingParameters:e},u=i.cause,c=i.missingParameters,a=void 0===n?new Error:new Error(n(c));return null!==u&&(a.cause=u),void 0!==r&&(a.code=r(c)),void 0!==t.status&&(a.status=t.status),a}},Object.defineProperty(t,\"__esModule\",{value:!0})}(e,r(59),r(32),r(31))},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){t.exports=!r(24)(function(){return 7!=Object.defineProperty({},\"a\",{get:function(){return 7}}).a})},function(t,e,r){var n=r(12);t.exports=function(t){if(!n(t))throw TypeError(t+\" is not an object!\");return t}},function(t,e,r){var n=r(5),o=r(52),i=r(51),u=Object.defineProperty;e.f=r(4)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return u(t,e,r)}catch(t){}if(\"get\"in r||\"set\"in r)throw TypeError(\"Accessors not supported!\");return\"value\"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(6),o=r(11);t.exports=r(4)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e){var r=t.exports={version:\"2.5.7\"};\"number\"==typeof __e&&(__e=r)},function(t,e,r){var n=r(19)(\"keys\"),o=r(18);t.exports=function(t){return n[t]||(n[t]=o(t))}},function(t,e){t.exports={}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){return\"object\"==typeof t?null!==t:\"function\"==typeof t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError(\"Can't call method on \"+t);return t}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(13);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(6).f,o=r(3),i=r(0)(\"toStringTag\");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e){t.exports=\"constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf\".split(\",\")},function(t,e){var r=0,n=Math.random();t.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++r+n).toString(36))}},function(t,e,r){var n=r(8),o=r(1),i=o[\"__core-js_shared__\"]||(o[\"__core-js_shared__\"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})(\"versions\",[]).push({version:n.version,mode:r(27)?\"pure\":\"global\",copyright:\"\u00A9 2018 Denis Pushkarev (zloirock.ru)\"})},function(t,e,r){var n=r(14),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){var n=r(44),o=r(13);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(12),o=r(1).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(53);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){var n=r(1),o=r(8),i=r(25),u=r(7),c=r(3),a=function(t,e,r){var f,s,l,p=t&a.F,d=t&a.G,v=t&a.S,h=t&a.P,y=t&a.B,m=t&a.W,g=d?o:o[e]||(o[e]={}),b=g.prototype,x=d?n:v?n[e]:(n[e]||{}).prototype;for(f in d&&(r=e),r)(s=!p&&x&&void 0!==x[f])&&c(g,f)||(l=s?x[f]:r[f],g[f]=d&&\"function\"!=typeof x[f]?r[f]:y&&s?i(l,n):m&&x[f]==l?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):h&&\"function\"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[f]=l,t&a.R&&b&&!b[f]&&u(b,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e){t.exports=!0},function(t,e,r){!function(t){\"use strict\";var e=new WeakMap,r=Number.MAX_SAFE_INTEGER||9007199254740991,n=function(t){var n=e.get(t),o=void 0===n||n>2147483648?0:n+1;if(t.size<1073741824){for(;t.has(o);)o=Math.floor(2147483648*Math.random());return e.set(t,o),o}if(t.size>r)throw new Error(\"Congratulations, you created a collection of unique numbers which uses all available integers!\");for(;t.has(o);)o=Math.floor(Math.random()*r);return e.set(t,o),o};t.addUniqueNumber=function(t){var e=n(t);return t.add(e),e},t.generateUniqueNumber=n,Object.defineProperty(t,\"__esModule\",{value:!0})}(e)},function(t,e,r){\"use strict\";r.r(e);Object.setPrototypeOf||Array;var n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t};function o(t,e){var r,n,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},\"function\"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(r)throw new TypeError(\"Generator is already executing.\");for(;u;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,n=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=e.call(t,u)}catch(t){i=[6,t],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}var i=r(2),u=-32603,c=-32602,a=-32601,f=Object(i.compile)({message:'The requested method called \"${method}\" is not supported.',status:a}),s=Object(i.compile)({message:'The handler of the method called \"${method}\" returned no required result.',status:u}),l=Object(i.compile)({message:'The handler of the method called \"${method}\" returned an unexpected result.',status:u}),p=Object(i.compile)({message:'The specified parameter called \"portId\" with the given value \"${portId}\" does not identify a port connected to this worker.',status:c}),d=function(t,e,r){return function(n){var i=n.data,u=i.id,c=i.method,a=i.params;return function(t,e,r,n){return new(r||(r=Promise))(function(o,i){function u(t){try{a(n.next(t))}catch(t){i(t)}}function c(t){try{a(n.throw(t))}catch(t){i(t)}}function a(t){t.done?o(t.value):new r(function(e){e(t.value)}).then(u,c)}a((n=n.apply(t,e||[])).next())})}(void 0,void 0,void 0,function(){var n,i,p,d,v,h,y,m,g,b,x,w,O,_,j,M;return o(this,function(o){switch(o.label){case 0:n=e[c],o.label=1;case 1:if(o.trys.push([1,8,,9]),void 0===n)throw f({method:c});if(void 0===(i=n(a)))throw s({method:c});return i instanceof Promise?[4,i]:[3,3];case 2:return d=o.sent(),[3,4];case 3:d=i,o.label=4;case 4:if(p=d,null!==u)return[3,5];if(void 0!==p.result)throw l({method:c});return[3,7];case 5:if(void 0===p.result)throw l({method:c});return h=(v=p).result,y=v.transferables,m=void 0===y?[]:y,b=(g=t).postMessage,x=[{id:u,result:h}],[4,r];case 6:b.apply(g,x.concat([o.sent()?m:[]])),o.label=7;case 7:return[3,9];case 8:return w=o.sent(),_=(O=w).message,j=O.status,M=void 0===j?-32603:j,t.postMessage({error:{code:M,message:_},id:u}),[3,9];case 9:return[2]}})})}},v=r(28),h=new Map,y=new Promise(function(t){var e=new ArrayBuffer(0),r=new MessageChannel,n=r.port1,o=r.port2;n.onmessage=function(e){var r=e.data;return t(null!==r)},o.postMessage(e,[e])});r.d(e,\"createWorker\",function(){return m});var m=function(t,e){var r=function(t,e){return n({},e,{connect:function(r){var n=r.port;n.start();var o=t(n,e),i=Object(v.generateUniqueNumber)(h);return h.set(i,function(){o(),n.close(),h.delete(i)}),{result:i}},disconnect:function(t){var e=t.portId,r=h.get(e);if(void 0===r)throw p({portId:e.toString()});return r(),{result:null}}})}(m,e),o=d(t,r,y);return t.addEventListener(\"message\",o),function(){return t.removeEventListener(\"message\",o)}}},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});e.allocate=(t=>new ArrayBuffer(t))},function(t,e){var r=function(t){var e,r,n=/\\w+/.exec(t);if(!n)return\"an\";var o=(r=n[0]).toLowerCase(),i=[\"honest\",\"hour\",\"hono\"];for(e in i)if(0==o.indexOf(i[e]))return\"an\";if(1==o.length)return\"aedhilmnorsx\".indexOf(o)>=0?\"an\":\"a\";if(r.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return\"an\";var u=[/^e[uw]/,/^onc?e\\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(e=0;e<u.length;e++)if(o.match(u[e]))return\"a\";return r.match(/^U[NK][AIEO]/)?\"a\":r==r.toUpperCase()?\"aedhilmnorsx\".indexOf(o[0])>=0?\"an\":\"a\":\"aeiou\".indexOf(o[0])>=0?\"an\":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?\"an\":\"a\"};void 0!==t&&void 0!==t.exports?t.exports=r:window.indefiniteArticle=r},function(t,e,r){\"use strict\";t.exports=function(t,e){if(\"string\"!=typeof t)throw new TypeError(\"expected a string\");return t.trim().replace(/([a-z])([A-Z])/g,\"$1-$2\").replace(/\\W/g,t=>/[\u00C0-\u017E]/.test(t)?t:\"-\").replace(/^-+|-+$/g,\"\").replace(/-{2,}/g,t=>e&&e.condense?\"-\":t).toLowerCase()}},function(t,e,r){var n=r(0)(\"iterator\"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],u=i[n]();u.next=function(){return{done:r=!0}},i[n]=function(){return u},t(i)}catch(t){}return r}},function(t,e,r){var n=r(21),o=r(0)(\"toStringTag\"),i=\"Arguments\"==n(function(){return arguments}());t.exports=function(t){var e,r,u;return void 0===t?\"Undefined\":null===t?\"Null\":\"string\"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?r:i?n(e):\"Object\"==(u=n(e))&&\"function\"==typeof e.callee?\"Arguments\":u}},function(t,e,r){var n=r(34),o=r(0)(\"iterator\"),i=r(10);t.exports=r(8).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t[\"@@iterator\"]||i[n(t)]}},function(t,e,r){\"use strict\";var n=r(6),o=r(11);t.exports=function(t,e,r){e in t?n.f(t,e,o(0,r)):t[e]=r}},function(t,e,r){var n=r(10),o=r(0)(\"iterator\"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},function(t,e,r){var n=r(5);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},function(t,e,r){\"use strict\";var n=r(25),o=r(26),i=r(15),u=r(38),c=r(37),a=r(20),f=r(36),s=r(35);o(o.S+o.F*!r(33)(function(t){Array.from(t)}),\"Array\",{from:function(t){var e,r,o,l,p=i(t),d=\"function\"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,y=void 0!==h,m=0,g=s(p);if(y&&(h=n(h,v>2?arguments[2]:void 0,2)),void 0==g||d==Array&&c(g))for(r=new d(e=a(p.length));e>m;m++)f(r,m,y?h(p[m],m):p[m]);else for(l=g.call(p),r=new d;!(o=l.next()).done;m++)f(r,m,y?u(l,h,[o.value,m],!0):o.value);return r.length=m,r}})},function(t,e,r){var n=r(3),o=r(15),i=r(9)(\"IE_PROTO\"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:\"function\"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,r){var n=r(1).document;t.exports=n&&n.documentElement},function(t,e,r){var n=r(14),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=n(t))<0?o(t+e,0):i(t,e)}},function(t,e,r){var n=r(22),o=r(20),i=r(42);t.exports=function(t){return function(e,r,u){var c,a=n(e),f=o(a.length),s=i(u,f);if(t&&r!=r){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}}},function(t,e,r){var n=r(21);t.exports=Object(\"z\").propertyIsEnumerable(0)?Object:function(t){return\"String\"==n(t)?t.split(\"\"):Object(t)}},function(t,e,r){var n=r(3),o=r(22),i=r(43)(!1),u=r(9)(\"IE_PROTO\");t.exports=function(t,e){var r,c=o(t),a=0,f=[];for(r in c)r!=u&&n(c,r)&&f.push(r);for(;e.length>a;)n(c,r=e[a++])&&(~i(f,r)||f.push(r));return f}},function(t,e,r){var n=r(45),o=r(17);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(6),o=r(5),i=r(46);t.exports=r(4)?Object.defineProperties:function(t,e){o(t);for(var r,u=i(e),c=u.length,a=0;c>a;)n.f(t,r=u[a++],e[r]);return t}},function(t,e,r){var n=r(5),o=r(47),i=r(17),u=r(9)(\"IE_PROTO\"),c=function(){},a=function(){var t,e=r(23)(\"iframe\"),n=i.length;for(e.style.display=\"none\",r(41).appendChild(e),e.src=\"javascript:\",(t=e.contentWindow.document).open(),t.write(\"<script>document.F=Object<\\/script>\"),t.close(),a=t.F;n--;)delete a.prototype[i[n]];return a()};t.exports=Object.create||function(t,e){var r;return null!==t?(c.prototype=n(t),r=new c,c.prototype=null,r[u]=t):r=a(),void 0===e?r:o(r,e)}},function(t,e,r){\"use strict\";var n=r(48),o=r(11),i=r(16),u={};r(7)(u,r(0)(\"iterator\"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(u,{next:o(1,r)}),i(t,e+\" Iterator\")}},function(t,e,r){t.exports=r(7)},function(t,e,r){var n=r(12);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&\"function\"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if(\"function\"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&\"function\"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError(\"Can't convert object to primitive value\")}},function(t,e,r){t.exports=!r(4)&&!r(24)(function(){return 7!=Object.defineProperty(r(23)(\"div\"),\"a\",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){if(\"function\"!=typeof t)throw TypeError(t+\" is not a function!\");return t}},function(t,e,r){\"use strict\";var n=r(27),o=r(26),i=r(50),u=r(7),c=r(10),a=r(49),f=r(16),s=r(40),l=r(0)(\"iterator\"),p=!([].keys&&\"next\"in[].keys()),d=function(){return this};t.exports=function(t,e,r,v,h,y,m){a(r,e,v);var g,b,x,w=function(t){if(!p&&t in M)return M[t];switch(t){case\"keys\":case\"values\":return function(){return new r(this,t)}}return function(){return new r(this,t)}},O=e+\" Iterator\",_=\"values\"==h,j=!1,M=t.prototype,P=M[l]||M[\"@@iterator\"]||h&&M[h],S=P||w(h),A=h?_?w(\"entries\"):S:void 0,E=\"Array\"==e&&M.entries||P;if(E&&(x=s(E.call(new t)))!==Object.prototype&&x.next&&(f(x,O,!0),n||\"function\"==typeof x[l]||u(x,l,d)),_&&P&&\"values\"!==P.name&&(j=!0,S=function(){return P.call(this)}),n&&!m||!p&&!j&&M[l]||u(M,l,S),c[e]=S,c[O]=d,h)if(g={values:_?S:w(\"values\"),keys:y?S:w(\"keys\"),entries:A},m)for(b in g)b in M||i(M,b,g[b]);else o(o.P+o.F*(p||j),e,g);return g}},function(t,e,r){var n=r(14),o=r(13);t.exports=function(t){return function(e,r){var i,u,c=String(o(e)),a=n(r),f=c.length;return a<0||a>=f?t?\"\":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}}},function(t,e,r){\"use strict\";var n=r(55)(!0);r(54)(String,\"String\",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},function(t,e,r){r(56),r(39),t.exports=r(8).Array.from},function(t,e,r){t.exports={default:r(57),__esModule:!0}},function(t,e,r){\"use strict\";e.__esModule=!0;var n=function(t){return t&&t.__esModule?t:{default:t}}(r(58));e.default=function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return(0,n.default)(t)}},function(t,e,r){\"use strict\";var n=r(29),o=r(30);(0,n.createWorker)(self,{allocate:({length:t})=>{const e=(0,o.allocate)(t);return{result:e,transferables:[e]}},deallocate:()=>({result:void 0})})}]);";
export declare const worker = "!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}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 o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));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=60)}([function(t,e,n){var r=n(19)(\"wks\"),o=n(18),i=n(1).Symbol,u=\"function\"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)(\"Symbol.\"+t))}).store=r},function(t,e){var n=t.exports=\"undefined\"!=typeof window&&window.Math==Math?window:\"undefined\"!=typeof self&&self.Math==Math?self:Function(\"return this\")();\"number\"==typeof __g&&(__g=n)},function(t,e,n){!function(t,e,n,r){\"use strict\";e=e&&e.hasOwnProperty(\"default\")?e.default:e,n=n&&n.hasOwnProperty(\"default\")?n.default:n,r=r&&r.hasOwnProperty(\"default\")?r.default:r;var o=function(t,e){return void 0===e?t:e.reduce(function(t,e){if(\"capitalize\"===e){var o=t.charAt(0).toUpperCase(),i=t.slice(1);return\"\"+o+i}return\"dashify\"===e?n(t):\"prependIndefiniteArticle\"===e?r(t)+\" \"+t:t},t)},i=function(t,n){for(var r=/\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,i=[],u=r.exec(t);null!==u;){var c={modifiers:[],name:u[1]};if(void 0!==u[3])for(var a=/\\.[^(]+\\(\\)/g,f=a.exec(u[2]);null!==f;)c.modifiers.push(f[0].slice(1,-2)),f=a.exec(u[2]);i.push(c),u=r.exec(t)}var s=i.reduce(function(t,r){return t.map(function(t){return\"string\"==typeof t?t.split(function(t){var e=t.name+t.modifiers.map(function(t){return\"\\\\.\"+t+\"\\\\(\\\\)\"}).join(\"\");return new RegExp(\"\\\\$\\\\{\"+e+\"}\",\"g\")}(r)).reduce(function(t,i,u){return 0===u?[i]:r.name in n?[].concat(e(t),[o(n[r.name],r.modifiers),i]):[].concat(e(t),[function(t){return o(t[r.name],r.modifiers)},i])},[]):[t]}).reduce(function(t,n){return[].concat(e(t),e(n))},[])},[t]);return function(t){return s.reduce(function(n,r){return[].concat(e(n),\"string\"==typeof r?[r]:[r(t)])},[]).join(\"\")}};t.compile=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0===t.code?void 0:i(t.code,e),r=void 0===t.message?void 0:i(t.message,e);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments[1],i=void 0===o&&(e instanceof Error||void 0!==e.code&&\"Exception\"===e.code.slice(-9))?{cause:e,missingParameters:{}}:{cause:o,missingParameters:e},u=i.cause,c=i.missingParameters,a=void 0===r?new Error:new Error(r(c));return null!==u&&(a.cause=u),void 0!==n&&(a.code=n(c)),void 0!==t.status&&(a.status=t.status),a}},Object.defineProperty(t,\"__esModule\",{value:!0})}(e,n(59),n(32),n(31))},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(24)(function(){return 7!=Object.defineProperty({},\"a\",{get:function(){return 7}}).a})},function(t,e,n){var r=n(12);t.exports=function(t){if(!r(t))throw TypeError(t+\" is not an object!\");return t}},function(t,e,n){var r=n(5),o=n(52),i=n(51),u=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if(\"get\"in n||\"set\"in n)throw TypeError(\"Accessors not supported!\");return\"value\"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(6),o=n(11);t.exports=n(4)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){var n=t.exports={version:\"2.5.7\"};\"number\"==typeof __e&&(__e=n)},function(t,e,n){var r=n(19)(\"keys\"),o=n(18);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports={}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){return\"object\"==typeof t?null!==t:\"function\"==typeof t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError(\"Can't call method on \"+t);return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(13);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(6).f,o=n(3),i=n(0)(\"toStringTag\");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e){t.exports=\"constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf\".split(\",\")},function(t,e){var n=0,r=Math.random();t.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++n+r).toString(36))}},function(t,e,n){var r=n(8),o=n(1),i=o[\"__core-js_shared__\"]||(o[\"__core-js_shared__\"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})(\"versions\",[]).push({version:r.version,mode:n(27)?\"pure\":\"global\",copyright:\"\u00A9 2018 Denis Pushkarev (zloirock.ru)\"})},function(t,e,n){var r=n(14),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(44),o=n(13);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(12),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(53);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,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(1),o=n(8),i=n(25),u=n(7),c=n(3),a=function(t,e,n){var f,s,l,p=t&a.F,d=t&a.G,v=t&a.S,h=t&a.P,y=t&a.B,m=t&a.W,g=d?o:o[e]||(o[e]={}),b=g.prototype,x=d?r:v?r[e]:(r[e]||{}).prototype;for(f in d&&(n=e),n)(s=!p&&x&&void 0!==x[f])&&c(g,f)||(l=s?x[f]:n[f],g[f]=d&&\"function\"!=typeof x[f]?n[f]:y&&s?i(l,r):m&&x[f]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):h&&\"function\"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[f]=l,t&a.R&&b&&!b[f]&&u(b,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e){t.exports=!0},function(t,e,n){!function(t){\"use strict\";var e=new WeakMap,n=Number.MAX_SAFE_INTEGER||9007199254740991,r=function(t){var r=e.get(t),o=void 0===r||r>2147483648?0:r+1;if(t.size<1073741824){for(;t.has(o);)o=Math.floor(2147483648*Math.random());return e.set(t,o),o}if(t.size>n)throw new Error(\"Congratulations, you created a collection of unique numbers which uses all available integers!\");for(;t.has(o);)o=Math.floor(Math.random()*n);return e.set(t,o),o};t.addUniqueNumber=function(t){var e=r(t);return t.add(e),e},t.generateUniqueNumber=r,Object.defineProperty(t,\"__esModule\",{value:!0})}(e)},function(t,e,n){\"use strict\";n.r(e);var r=function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function o(t,e){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},\"function\"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError(\"Generator is already executing.\");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=e.call(t,u)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}var i=n(2),u=-32603,c=-32602,a=-32601,f=Object(i.compile)({message:'The requested method called \"${method}\" is not supported.',status:a}),s=Object(i.compile)({message:'The handler of the method called \"${method}\" returned no required result.',status:u}),l=Object(i.compile)({message:'The handler of the method called \"${method}\" returned an unexpected result.',status:u}),p=Object(i.compile)({message:'The specified parameter called \"portId\" with the given value \"${portId}\" does not identify a port connected to this worker.',status:c}),d=function(t,e,n){return function(r){var i=r.data,u=i.id,c=i.method,a=i.params;return function(t,e,n,r){return new(n||(n=Promise))(function(o,i){function u(t){try{a(r.next(t))}catch(t){i(t)}}function c(t){try{a(r.throw(t))}catch(t){i(t)}}function a(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(u,c)}a((r=r.apply(t,e||[])).next())})}(void 0,void 0,void 0,function(){var r,i,p,d,v,h,y,m,g,b,x,w,O,_,j,M;return o(this,function(o){switch(o.label){case 0:r=e[c],o.label=1;case 1:if(o.trys.push([1,8,,9]),void 0===r)throw f({method:c});if(void 0===(i=r(a)))throw s({method:c});return i instanceof Promise?[4,i]:[3,3];case 2:return d=o.sent(),[3,4];case 3:d=i,o.label=4;case 4:if(p=d,null!==u)return[3,5];if(void 0!==p.result)throw l({method:c});return[3,7];case 5:if(void 0===p.result)throw l({method:c});return h=(v=p).result,y=v.transferables,m=void 0===y?[]:y,b=(g=t).postMessage,x=[{id:u,result:h}],[4,n];case 6:b.apply(g,x.concat([o.sent()?m:[]])),o.label=7;case 7:return[3,9];case 8:return w=o.sent(),_=(O=w).message,j=O.status,M=void 0===j?-32603:j,t.postMessage({error:{code:M,message:_},id:u}),[3,9];case 9:return[2]}})})}},v=n(28),h=new Map,y=new Promise(function(t){var e=new ArrayBuffer(0),n=new MessageChannel,r=n.port1,o=n.port2;r.onmessage=function(e){var n=e.data;return t(null!==n)},o.postMessage(e,[e])});n.d(e,\"createWorker\",function(){return m});var m=function(t,e){var n=function(t,e){return r({},e,{connect:function(n){var r=n.port;r.start();var o=t(r,e),i=Object(v.generateUniqueNumber)(h);return h.set(i,function(){o(),r.close(),h.delete(i)}),{result:i}},disconnect:function(t){var e=t.portId,n=h.get(e);if(void 0===n)throw p({portId:e.toString()});return n(),{result:null}}})}(m,e),o=d(t,n,y);return t.addEventListener(\"message\",o),function(){return t.removeEventListener(\"message\",o)}}},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});e.allocate=(t=>new ArrayBuffer(t))},function(t,e){var n=function(t){var e,n,r=/\\w+/.exec(t);if(!r)return\"an\";var o=(n=r[0]).toLowerCase(),i=[\"honest\",\"hour\",\"hono\"];for(e in i)if(0==o.indexOf(i[e]))return\"an\";if(1==o.length)return\"aedhilmnorsx\".indexOf(o)>=0?\"an\":\"a\";if(n.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return\"an\";var u=[/^e[uw]/,/^onc?e\\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(e=0;e<u.length;e++)if(o.match(u[e]))return\"a\";return n.match(/^U[NK][AIEO]/)?\"a\":n==n.toUpperCase()?\"aedhilmnorsx\".indexOf(o[0])>=0?\"an\":\"a\":\"aeiou\".indexOf(o[0])>=0?\"an\":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?\"an\":\"a\"};void 0!==t&&void 0!==t.exports?t.exports=n:window.indefiniteArticle=n},function(t,e,n){\"use strict\";t.exports=function(t,e){if(\"string\"!=typeof t)throw new TypeError(\"expected a string\");return t.trim().replace(/([a-z])([A-Z])/g,\"$1-$2\").replace(/\\W/g,t=>/[\u00C0-\u017E]/.test(t)?t:\"-\").replace(/^-+|-+$/g,\"\").replace(/-{2,}/g,t=>e&&e.condense?\"-\":t).toLowerCase()}},function(t,e,n){var r=n(0)(\"iterator\"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:n=!0}},i[r]=function(){return u},t(i)}catch(t){}return n}},function(t,e,n){var r=n(21),o=n(0)(\"toStringTag\"),i=\"Arguments\"==r(function(){return arguments}());t.exports=function(t){var e,n,u;return void 0===t?\"Undefined\":null===t?\"Null\":\"string\"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):\"Object\"==(u=r(e))&&\"function\"==typeof e.callee?\"Arguments\":u}},function(t,e,n){var r=n(34),o=n(0)(\"iterator\"),i=n(10);t.exports=n(8).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t[\"@@iterator\"]||i[r(t)]}},function(t,e,n){\"use strict\";var r=n(6),o=n(11);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(10),o=n(0)(\"iterator\"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(5);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){\"use strict\";var r=n(25),o=n(26),i=n(15),u=n(38),c=n(37),a=n(20),f=n(36),s=n(35);o(o.S+o.F*!n(33)(function(t){Array.from(t)}),\"Array\",{from:function(t){var e,n,o,l,p=i(t),d=\"function\"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,y=void 0!==h,m=0,g=s(p);if(y&&(h=r(h,v>2?arguments[2]:void 0,2)),void 0==g||d==Array&&c(g))for(n=new d(e=a(p.length));e>m;m++)f(n,m,y?h(p[m],m):p[m]);else for(l=g.call(p),n=new d;!(o=l.next()).done;m++)f(n,m,y?u(l,h,[o.value,m],!0):o.value);return n.length=m,n}})},function(t,e,n){var r=n(3),o=n(15),i=n(9)(\"IE_PROTO\"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:\"function\"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(14),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(22),o=n(20),i=n(42);t.exports=function(t){return function(e,n,u){var c,a=r(e),f=o(a.length),s=i(u,f);if(t&&n!=n){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}}},function(t,e,n){var r=n(21);t.exports=Object(\"z\").propertyIsEnumerable(0)?Object:function(t){return\"String\"==r(t)?t.split(\"\"):Object(t)}},function(t,e,n){var r=n(3),o=n(22),i=n(43)(!1),u=n(9)(\"IE_PROTO\");t.exports=function(t,e){var n,c=o(t),a=0,f=[];for(n in c)n!=u&&r(c,n)&&f.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~i(f,n)||f.push(n));return f}},function(t,e,n){var r=n(45),o=n(17);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(6),o=n(5),i=n(46);t.exports=n(4)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),c=u.length,a=0;c>a;)r.f(t,n=u[a++],e[n]);return t}},function(t,e,n){var r=n(5),o=n(47),i=n(17),u=n(9)(\"IE_PROTO\"),c=function(){},a=function(){var t,e=n(23)(\"iframe\"),r=i.length;for(e.style.display=\"none\",n(41).appendChild(e),e.src=\"javascript:\",(t=e.contentWindow.document).open(),t.write(\"<script>document.F=Object<\\/script>\"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[u]=t):n=a(),void 0===e?n:o(n,e)}},function(t,e,n){\"use strict\";var r=n(48),o=n(11),i=n(16),u={};n(7)(u,n(0)(\"iterator\"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+\" Iterator\")}},function(t,e,n){t.exports=n(7)},function(t,e,n){var r=n(12);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&\"function\"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if(\"function\"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&\"function\"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError(\"Can't convert object to primitive value\")}},function(t,e,n){t.exports=!n(4)&&!n(24)(function(){return 7!=Object.defineProperty(n(23)(\"div\"),\"a\",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){if(\"function\"!=typeof t)throw TypeError(t+\" is not a function!\");return t}},function(t,e,n){\"use strict\";var r=n(27),o=n(26),i=n(50),u=n(7),c=n(10),a=n(49),f=n(16),s=n(40),l=n(0)(\"iterator\"),p=!([].keys&&\"next\"in[].keys()),d=function(){return this};t.exports=function(t,e,n,v,h,y,m){a(n,e,v);var g,b,x,w=function(t){if(!p&&t in M)return M[t];switch(t){case\"keys\":case\"values\":return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+\" Iterator\",_=\"values\"==h,j=!1,M=t.prototype,P=M[l]||M[\"@@iterator\"]||h&&M[h],S=P||w(h),A=h?_?w(\"entries\"):S:void 0,E=\"Array\"==e&&M.entries||P;if(E&&(x=s(E.call(new t)))!==Object.prototype&&x.next&&(f(x,O,!0),r||\"function\"==typeof x[l]||u(x,l,d)),_&&P&&\"values\"!==P.name&&(j=!0,S=function(){return P.call(this)}),r&&!m||!p&&!j&&M[l]||u(M,l,S),c[e]=S,c[O]=d,h)if(g={values:_?S:w(\"values\"),keys:y?S:w(\"keys\"),entries:A},m)for(b in g)b in M||i(M,b,g[b]);else o(o.P+o.F*(p||j),e,g);return g}},function(t,e,n){var r=n(14),o=n(13);t.exports=function(t){return function(e,n){var i,u,c=String(o(e)),a=r(n),f=c.length;return a<0||a>=f?t?\"\":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}}},function(t,e,n){\"use strict\";var r=n(55)(!0);n(54)(String,\"String\",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){n(56),n(39),t.exports=n(8).Array.from},function(t,e,n){t.exports={default:n(57),__esModule:!0}},function(t,e,n){\"use strict\";e.__esModule=!0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(58));e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return(0,r.default)(t)}},function(t,e,n){\"use strict\";var r=n(29),o=n(30);(0,r.createWorker)(self,{allocate:({length:t})=>{const e=(0,o.allocate)(t);return{result:e,transferables:[e]}},deallocate:()=>({result:void 0})})}]);";
// tslint:disable-next-line:max-line-length
export const worker = `!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=60)}([function(t,e,r){var n=r(19)("wks"),o=r(18),i=r(1).Symbol,u="function"==typeof i;(t.exports=function(t){return n[t]||(n[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=n},function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e,r){!function(t,e,r,n){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e,r=r&&r.hasOwnProperty("default")?r.default:r,n=n&&n.hasOwnProperty("default")?n.default:n;var o=function(t,e){return void 0===e?t:e.reduce(function(t,e){if("capitalize"===e){var o=t.charAt(0).toUpperCase(),i=t.slice(1);return""+o+i}return"dashify"===e?r(t):"prependIndefiniteArticle"===e?n(t)+" "+t:t},t)},i=function(t,r){for(var n=/\\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,i=[],u=n.exec(t);null!==u;){var c={modifiers:[],name:u[1]};if(void 0!==u[3])for(var a=/\\.[^(]+\\(\\)/g,f=a.exec(u[2]);null!==f;)c.modifiers.push(f[0].slice(1,-2)),f=a.exec(u[2]);i.push(c),u=n.exec(t)}var s=i.reduce(function(t,n){return t.map(function(t){return"string"==typeof t?t.split(function(t){var e=t.name+t.modifiers.map(function(t){return"\\\\."+t+"\\\\(\\\\)"}).join("");return new RegExp("\\\\$\\\\{"+e+"}","g")}(n)).reduce(function(t,i,u){return 0===u?[i]:n.name in r?[].concat(e(t),[o(r[n.name],n.modifiers),i]):[].concat(e(t),[function(t){return o(t[n.name],n.modifiers)},i])},[]):[t]}).reduce(function(t,r){return[].concat(e(t),e(r))},[])},[t]);return function(t){return s.reduce(function(r,n){return[].concat(e(r),"string"==typeof n?[n]:[n(t)])},[]).join("")}};t.compile=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=void 0===t.code?void 0:i(t.code,e),n=void 0===t.message?void 0:i(t.message,e);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments[1],i=void 0===o&&(e instanceof Error||void 0!==e.code&&"Exception"===e.code.slice(-9))?{cause:e,missingParameters:{}}:{cause:o,missingParameters:e},u=i.cause,c=i.missingParameters,a=void 0===n?new Error:new Error(n(c));return null!==u&&(a.cause=u),void 0!==r&&(a.code=r(c)),void 0!==t.status&&(a.status=t.status),a}},Object.defineProperty(t,"__esModule",{value:!0})}(e,r(59),r(32),r(31))},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){t.exports=!r(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,r){var n=r(12);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e,r){var n=r(5),o=r(52),i=r(51),u=Object.defineProperty;e.f=r(4)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(6),o=r(11);t.exports=r(4)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e){var r=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(t,e,r){var n=r(19)("keys"),o=r(18);t.exports=function(t){return n[t]||(n[t]=o(t))}},function(t,e){t.exports={}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(13);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(6).f,o=r(3),i=r(0)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},function(t,e,r){var n=r(8),o=r(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(27)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){var n=r(14),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){var n=r(44),o=r(13);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(12),o=r(1).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(53);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){var n=r(1),o=r(8),i=r(25),u=r(7),c=r(3),a=function(t,e,r){var f,s,l,p=t&a.F,d=t&a.G,v=t&a.S,h=t&a.P,y=t&a.B,m=t&a.W,g=d?o:o[e]||(o[e]={}),b=g.prototype,x=d?n:v?n[e]:(n[e]||{}).prototype;for(f in d&&(r=e),r)(s=!p&&x&&void 0!==x[f])&&c(g,f)||(l=s?x[f]:r[f],g[f]=d&&"function"!=typeof x[f]?r[f]:y&&s?i(l,n):m&&x[f]==l?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[f]=l,t&a.R&&b&&!b[f]&&u(b,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e){t.exports=!0},function(t,e,r){!function(t){"use strict";var e=new WeakMap,r=Number.MAX_SAFE_INTEGER||9007199254740991,n=function(t){var n=e.get(t),o=void 0===n||n>2147483648?0:n+1;if(t.size<1073741824){for(;t.has(o);)o=Math.floor(2147483648*Math.random());return e.set(t,o),o}if(t.size>r)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;t.has(o);)o=Math.floor(Math.random()*r);return e.set(t,o),o};t.addUniqueNumber=function(t){var e=n(t);return t.add(e),e},t.generateUniqueNumber=n,Object.defineProperty(t,"__esModule",{value:!0})}(e)},function(t,e,r){"use strict";r.r(e);Object.setPrototypeOf||Array;var n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t};function o(t,e){var r,n,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,n=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=e.call(t,u)}catch(t){i=[6,t],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}var i=r(2),u=-32603,c=-32602,a=-32601,f=Object(i.compile)({message:'The requested method called "\${method}" is not supported.',status:a}),s=Object(i.compile)({message:'The handler of the method called "\${method}" returned no required result.',status:u}),l=Object(i.compile)({message:'The handler of the method called "\${method}" returned an unexpected result.',status:u}),p=Object(i.compile)({message:'The specified parameter called "portId" with the given value "\${portId}" does not identify a port connected to this worker.',status:c}),d=function(t,e,r){return function(n){var i=n.data,u=i.id,c=i.method,a=i.params;return function(t,e,r,n){return new(r||(r=Promise))(function(o,i){function u(t){try{a(n.next(t))}catch(t){i(t)}}function c(t){try{a(n.throw(t))}catch(t){i(t)}}function a(t){t.done?o(t.value):new r(function(e){e(t.value)}).then(u,c)}a((n=n.apply(t,e||[])).next())})}(void 0,void 0,void 0,function(){var n,i,p,d,v,h,y,m,g,b,x,w,O,_,j,M;return o(this,function(o){switch(o.label){case 0:n=e[c],o.label=1;case 1:if(o.trys.push([1,8,,9]),void 0===n)throw f({method:c});if(void 0===(i=n(a)))throw s({method:c});return i instanceof Promise?[4,i]:[3,3];case 2:return d=o.sent(),[3,4];case 3:d=i,o.label=4;case 4:if(p=d,null!==u)return[3,5];if(void 0!==p.result)throw l({method:c});return[3,7];case 5:if(void 0===p.result)throw l({method:c});return h=(v=p).result,y=v.transferables,m=void 0===y?[]:y,b=(g=t).postMessage,x=[{id:u,result:h}],[4,r];case 6:b.apply(g,x.concat([o.sent()?m:[]])),o.label=7;case 7:return[3,9];case 8:return w=o.sent(),_=(O=w).message,j=O.status,M=void 0===j?-32603:j,t.postMessage({error:{code:M,message:_},id:u}),[3,9];case 9:return[2]}})})}},v=r(28),h=new Map,y=new Promise(function(t){var e=new ArrayBuffer(0),r=new MessageChannel,n=r.port1,o=r.port2;n.onmessage=function(e){var r=e.data;return t(null!==r)},o.postMessage(e,[e])});r.d(e,"createWorker",function(){return m});var m=function(t,e){var r=function(t,e){return n({},e,{connect:function(r){var n=r.port;n.start();var o=t(n,e),i=Object(v.generateUniqueNumber)(h);return h.set(i,function(){o(),n.close(),h.delete(i)}),{result:i}},disconnect:function(t){var e=t.portId,r=h.get(e);if(void 0===r)throw p({portId:e.toString()});return r(),{result:null}}})}(m,e),o=d(t,r,y);return t.addEventListener("message",o),function(){return t.removeEventListener("message",o)}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.allocate=(t=>new ArrayBuffer(t))},function(t,e){var r=function(t){var e,r,n=/\\w+/.exec(t);if(!n)return"an";var o=(r=n[0]).toLowerCase(),i=["honest","hour","hono"];for(e in i)if(0==o.indexOf(i[e]))return"an";if(1==o.length)return"aedhilmnorsx".indexOf(o)>=0?"an":"a";if(r.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return"an";var u=[/^e[uw]/,/^onc?e\\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(e=0;e<u.length;e++)if(o.match(u[e]))return"a";return r.match(/^U[NK][AIEO]/)?"a":r==r.toUpperCase()?"aedhilmnorsx".indexOf(o[0])>=0?"an":"a":"aeiou".indexOf(o[0])>=0?"an":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?"an":"a"};void 0!==t&&void 0!==t.exports?t.exports=r:window.indefiniteArticle=r},function(t,e,r){"use strict";t.exports=function(t,e){if("string"!=typeof t)throw new TypeError("expected a string");return t.trim().replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\\W/g,t=>/[À-ž]/.test(t)?t:"-").replace(/^-+|-+$/g,"").replace(/-{2,}/g,t=>e&&e.condense?"-":t).toLowerCase()}},function(t,e,r){var n=r(0)("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],u=i[n]();u.next=function(){return{done:r=!0}},i[n]=function(){return u},t(i)}catch(t){}return r}},function(t,e,r){var n=r(21),o=r(0)("toStringTag"),i="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?r:i?n(e):"Object"==(u=n(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,r){var n=r(34),o=r(0)("iterator"),i=r(10);t.exports=r(8).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[n(t)]}},function(t,e,r){"use strict";var n=r(6),o=r(11);t.exports=function(t,e,r){e in t?n.f(t,e,o(0,r)):t[e]=r}},function(t,e,r){var n=r(10),o=r(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},function(t,e,r){var n=r(5);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},function(t,e,r){"use strict";var n=r(25),o=r(26),i=r(15),u=r(38),c=r(37),a=r(20),f=r(36),s=r(35);o(o.S+o.F*!r(33)(function(t){Array.from(t)}),"Array",{from:function(t){var e,r,o,l,p=i(t),d="function"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,y=void 0!==h,m=0,g=s(p);if(y&&(h=n(h,v>2?arguments[2]:void 0,2)),void 0==g||d==Array&&c(g))for(r=new d(e=a(p.length));e>m;m++)f(r,m,y?h(p[m],m):p[m]);else for(l=g.call(p),r=new d;!(o=l.next()).done;m++)f(r,m,y?u(l,h,[o.value,m],!0):o.value);return r.length=m,r}})},function(t,e,r){var n=r(3),o=r(15),i=r(9)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,r){var n=r(1).document;t.exports=n&&n.documentElement},function(t,e,r){var n=r(14),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=n(t))<0?o(t+e,0):i(t,e)}},function(t,e,r){var n=r(22),o=r(20),i=r(42);t.exports=function(t){return function(e,r,u){var c,a=n(e),f=o(a.length),s=i(u,f);if(t&&r!=r){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}}},function(t,e,r){var n=r(21);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e,r){var n=r(3),o=r(22),i=r(43)(!1),u=r(9)("IE_PROTO");t.exports=function(t,e){var r,c=o(t),a=0,f=[];for(r in c)r!=u&&n(c,r)&&f.push(r);for(;e.length>a;)n(c,r=e[a++])&&(~i(f,r)||f.push(r));return f}},function(t,e,r){var n=r(45),o=r(17);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(6),o=r(5),i=r(46);t.exports=r(4)?Object.defineProperties:function(t,e){o(t);for(var r,u=i(e),c=u.length,a=0;c>a;)n.f(t,r=u[a++],e[r]);return t}},function(t,e,r){var n=r(5),o=r(47),i=r(17),u=r(9)("IE_PROTO"),c=function(){},a=function(){var t,e=r(23)("iframe"),n=i.length;for(e.style.display="none",r(41).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\\/script>"),t.close(),a=t.F;n--;)delete a.prototype[i[n]];return a()};t.exports=Object.create||function(t,e){var r;return null!==t?(c.prototype=n(t),r=new c,c.prototype=null,r[u]=t):r=a(),void 0===e?r:o(r,e)}},function(t,e,r){"use strict";var n=r(48),o=r(11),i=r(16),u={};r(7)(u,r(0)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(u,{next:o(1,r)}),i(t,e+" Iterator")}},function(t,e,r){t.exports=r(7)},function(t,e,r){var n=r(12);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,r){t.exports=!r(4)&&!r(24)(function(){return 7!=Object.defineProperty(r(23)("div"),"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,r){"use strict";var n=r(27),o=r(26),i=r(50),u=r(7),c=r(10),a=r(49),f=r(16),s=r(40),l=r(0)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,r,v,h,y,m){a(r,e,v);var g,b,x,w=function(t){if(!p&&t in M)return M[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},O=e+" Iterator",_="values"==h,j=!1,M=t.prototype,P=M[l]||M["@@iterator"]||h&&M[h],S=P||w(h),A=h?_?w("entries"):S:void 0,E="Array"==e&&M.entries||P;if(E&&(x=s(E.call(new t)))!==Object.prototype&&x.next&&(f(x,O,!0),n||"function"==typeof x[l]||u(x,l,d)),_&&P&&"values"!==P.name&&(j=!0,S=function(){return P.call(this)}),n&&!m||!p&&!j&&M[l]||u(M,l,S),c[e]=S,c[O]=d,h)if(g={values:_?S:w("values"),keys:y?S:w("keys"),entries:A},m)for(b in g)b in M||i(M,b,g[b]);else o(o.P+o.F*(p||j),e,g);return g}},function(t,e,r){var n=r(14),o=r(13);t.exports=function(t){return function(e,r){var i,u,c=String(o(e)),a=n(r),f=c.length;return a<0||a>=f?t?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}}},function(t,e,r){"use strict";var n=r(55)(!0);r(54)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},function(t,e,r){r(56),r(39),t.exports=r(8).Array.from},function(t,e,r){t.exports={default:r(57),__esModule:!0}},function(t,e,r){"use strict";e.__esModule=!0;var n=function(t){return t&&t.__esModule?t:{default:t}}(r(58));e.default=function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return(0,n.default)(t)}},function(t,e,r){"use strict";var n=r(29),o=r(30);(0,n.createWorker)(self,{allocate:({length:t})=>{const e=(0,o.allocate)(t);return{result:e,transferables:[e]}},deallocate:()=>({result:void 0})})}]);`;
export const worker = `!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}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 o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));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=60)}([function(t,e,n){var r=n(19)("wks"),o=n(18),i=n(1).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){!function(t,e,n,r){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n,r=r&&r.hasOwnProperty("default")?r.default:r;var o=function(t,e){return void 0===e?t:e.reduce(function(t,e){if("capitalize"===e){var o=t.charAt(0).toUpperCase(),i=t.slice(1);return""+o+i}return"dashify"===e?n(t):"prependIndefiniteArticle"===e?r(t)+" "+t:t},t)},i=function(t,n){for(var r=/\\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,i=[],u=r.exec(t);null!==u;){var c={modifiers:[],name:u[1]};if(void 0!==u[3])for(var a=/\\.[^(]+\\(\\)/g,f=a.exec(u[2]);null!==f;)c.modifiers.push(f[0].slice(1,-2)),f=a.exec(u[2]);i.push(c),u=r.exec(t)}var s=i.reduce(function(t,r){return t.map(function(t){return"string"==typeof t?t.split(function(t){var e=t.name+t.modifiers.map(function(t){return"\\\\."+t+"\\\\(\\\\)"}).join("");return new RegExp("\\\\$\\\\{"+e+"}","g")}(r)).reduce(function(t,i,u){return 0===u?[i]:r.name in n?[].concat(e(t),[o(n[r.name],r.modifiers),i]):[].concat(e(t),[function(t){return o(t[r.name],r.modifiers)},i])},[]):[t]}).reduce(function(t,n){return[].concat(e(t),e(n))},[])},[t]);return function(t){return s.reduce(function(n,r){return[].concat(e(n),"string"==typeof r?[r]:[r(t)])},[]).join("")}};t.compile=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0===t.code?void 0:i(t.code,e),r=void 0===t.message?void 0:i(t.message,e);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments[1],i=void 0===o&&(e instanceof Error||void 0!==e.code&&"Exception"===e.code.slice(-9))?{cause:e,missingParameters:{}}:{cause:o,missingParameters:e},u=i.cause,c=i.missingParameters,a=void 0===r?new Error:new Error(r(c));return null!==u&&(a.cause=u),void 0!==n&&(a.code=n(c)),void 0!==t.status&&(a.status=t.status),a}},Object.defineProperty(t,"__esModule",{value:!0})}(e,n(59),n(32),n(31))},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(12);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(5),o=n(52),i=n(51),u=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(6),o=n(11);t.exports=n(4)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(19)("keys"),o=n(18);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports={}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(13);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(6).f,o=n(3),i=n(0)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(8),o=n(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(27)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(14),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(44),o=n(13);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(12),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(53);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,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(1),o=n(8),i=n(25),u=n(7),c=n(3),a=function(t,e,n){var f,s,l,p=t&a.F,d=t&a.G,v=t&a.S,h=t&a.P,y=t&a.B,m=t&a.W,g=d?o:o[e]||(o[e]={}),b=g.prototype,x=d?r:v?r[e]:(r[e]||{}).prototype;for(f in d&&(n=e),n)(s=!p&&x&&void 0!==x[f])&&c(g,f)||(l=s?x[f]:n[f],g[f]=d&&"function"!=typeof x[f]?n[f]:y&&s?i(l,r):m&&x[f]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[f]=l,t&a.R&&b&&!b[f]&&u(b,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e){t.exports=!0},function(t,e,n){!function(t){"use strict";var e=new WeakMap,n=Number.MAX_SAFE_INTEGER||9007199254740991,r=function(t){var r=e.get(t),o=void 0===r||r>2147483648?0:r+1;if(t.size<1073741824){for(;t.has(o);)o=Math.floor(2147483648*Math.random());return e.set(t,o),o}if(t.size>n)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;t.has(o);)o=Math.floor(Math.random()*n);return e.set(t,o),o};t.addUniqueNumber=function(t){var e=r(t);return t.add(e),e},t.generateUniqueNumber=r,Object.defineProperty(t,"__esModule",{value:!0})}(e)},function(t,e,n){"use strict";n.r(e);var r=function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function o(t,e){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=e.call(t,u)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}var i=n(2),u=-32603,c=-32602,a=-32601,f=Object(i.compile)({message:'The requested method called "\${method}" is not supported.',status:a}),s=Object(i.compile)({message:'The handler of the method called "\${method}" returned no required result.',status:u}),l=Object(i.compile)({message:'The handler of the method called "\${method}" returned an unexpected result.',status:u}),p=Object(i.compile)({message:'The specified parameter called "portId" with the given value "\${portId}" does not identify a port connected to this worker.',status:c}),d=function(t,e,n){return function(r){var i=r.data,u=i.id,c=i.method,a=i.params;return function(t,e,n,r){return new(n||(n=Promise))(function(o,i){function u(t){try{a(r.next(t))}catch(t){i(t)}}function c(t){try{a(r.throw(t))}catch(t){i(t)}}function a(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(u,c)}a((r=r.apply(t,e||[])).next())})}(void 0,void 0,void 0,function(){var r,i,p,d,v,h,y,m,g,b,x,w,O,_,j,M;return o(this,function(o){switch(o.label){case 0:r=e[c],o.label=1;case 1:if(o.trys.push([1,8,,9]),void 0===r)throw f({method:c});if(void 0===(i=r(a)))throw s({method:c});return i instanceof Promise?[4,i]:[3,3];case 2:return d=o.sent(),[3,4];case 3:d=i,o.label=4;case 4:if(p=d,null!==u)return[3,5];if(void 0!==p.result)throw l({method:c});return[3,7];case 5:if(void 0===p.result)throw l({method:c});return h=(v=p).result,y=v.transferables,m=void 0===y?[]:y,b=(g=t).postMessage,x=[{id:u,result:h}],[4,n];case 6:b.apply(g,x.concat([o.sent()?m:[]])),o.label=7;case 7:return[3,9];case 8:return w=o.sent(),_=(O=w).message,j=O.status,M=void 0===j?-32603:j,t.postMessage({error:{code:M,message:_},id:u}),[3,9];case 9:return[2]}})})}},v=n(28),h=new Map,y=new Promise(function(t){var e=new ArrayBuffer(0),n=new MessageChannel,r=n.port1,o=n.port2;r.onmessage=function(e){var n=e.data;return t(null!==n)},o.postMessage(e,[e])});n.d(e,"createWorker",function(){return m});var m=function(t,e){var n=function(t,e){return r({},e,{connect:function(n){var r=n.port;r.start();var o=t(r,e),i=Object(v.generateUniqueNumber)(h);return h.set(i,function(){o(),r.close(),h.delete(i)}),{result:i}},disconnect:function(t){var e=t.portId,n=h.get(e);if(void 0===n)throw p({portId:e.toString()});return n(),{result:null}}})}(m,e),o=d(t,n,y);return t.addEventListener("message",o),function(){return t.removeEventListener("message",o)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.allocate=(t=>new ArrayBuffer(t))},function(t,e){var n=function(t){var e,n,r=/\\w+/.exec(t);if(!r)return"an";var o=(n=r[0]).toLowerCase(),i=["honest","hour","hono"];for(e in i)if(0==o.indexOf(i[e]))return"an";if(1==o.length)return"aedhilmnorsx".indexOf(o)>=0?"an":"a";if(n.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return"an";var u=[/^e[uw]/,/^onc?e\\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(e=0;e<u.length;e++)if(o.match(u[e]))return"a";return n.match(/^U[NK][AIEO]/)?"a":n==n.toUpperCase()?"aedhilmnorsx".indexOf(o[0])>=0?"an":"a":"aeiou".indexOf(o[0])>=0?"an":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?"an":"a"};void 0!==t&&void 0!==t.exports?t.exports=n:window.indefiniteArticle=n},function(t,e,n){"use strict";t.exports=function(t,e){if("string"!=typeof t)throw new TypeError("expected a string");return t.trim().replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\\W/g,t=>/[À-ž]/.test(t)?t:"-").replace(/^-+|-+$/g,"").replace(/-{2,}/g,t=>e&&e.condense?"-":t).toLowerCase()}},function(t,e,n){var r=n(0)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:n=!0}},i[r]=function(){return u},t(i)}catch(t){}return n}},function(t,e,n){var r=n(21),o=n(0)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){var r=n(34),o=n(0)("iterator"),i=n(10);t.exports=n(8).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){"use strict";var r=n(6),o=n(11);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(10),o=n(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(5);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){"use strict";var r=n(25),o=n(26),i=n(15),u=n(38),c=n(37),a=n(20),f=n(36),s=n(35);o(o.S+o.F*!n(33)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,l,p=i(t),d="function"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,y=void 0!==h,m=0,g=s(p);if(y&&(h=r(h,v>2?arguments[2]:void 0,2)),void 0==g||d==Array&&c(g))for(n=new d(e=a(p.length));e>m;m++)f(n,m,y?h(p[m],m):p[m]);else for(l=g.call(p),n=new d;!(o=l.next()).done;m++)f(n,m,y?u(l,h,[o.value,m],!0):o.value);return n.length=m,n}})},function(t,e,n){var r=n(3),o=n(15),i=n(9)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(14),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(22),o=n(20),i=n(42);t.exports=function(t){return function(e,n,u){var c,a=r(e),f=o(a.length),s=i(u,f);if(t&&n!=n){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}}},function(t,e,n){var r=n(21);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(3),o=n(22),i=n(43)(!1),u=n(9)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),a=0,f=[];for(n in c)n!=u&&r(c,n)&&f.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~i(f,n)||f.push(n));return f}},function(t,e,n){var r=n(45),o=n(17);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(6),o=n(5),i=n(46);t.exports=n(4)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),c=u.length,a=0;c>a;)r.f(t,n=u[a++],e[n]);return t}},function(t,e,n){var r=n(5),o=n(47),i=n(17),u=n(9)("IE_PROTO"),c=function(){},a=function(){var t,e=n(23)("iframe"),r=i.length;for(e.style.display="none",n(41).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[u]=t):n=a(),void 0===e?n:o(n,e)}},function(t,e,n){"use strict";var r=n(48),o=n(11),i=n(16),u={};n(7)(u,n(0)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){t.exports=n(7)},function(t,e,n){var r=n(12);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){t.exports=!n(4)&&!n(24)(function(){return 7!=Object.defineProperty(n(23)("div"),"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var r=n(27),o=n(26),i=n(50),u=n(7),c=n(10),a=n(49),f=n(16),s=n(40),l=n(0)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,v,h,y,m){a(n,e,v);var g,b,x,w=function(t){if(!p&&t in M)return M[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",_="values"==h,j=!1,M=t.prototype,P=M[l]||M["@@iterator"]||h&&M[h],S=P||w(h),A=h?_?w("entries"):S:void 0,E="Array"==e&&M.entries||P;if(E&&(x=s(E.call(new t)))!==Object.prototype&&x.next&&(f(x,O,!0),r||"function"==typeof x[l]||u(x,l,d)),_&&P&&"values"!==P.name&&(j=!0,S=function(){return P.call(this)}),r&&!m||!p&&!j&&M[l]||u(M,l,S),c[e]=S,c[O]=d,h)if(g={values:_?S:w("values"),keys:y?S:w("keys"),entries:A},m)for(b in g)b in M||i(M,b,g[b]);else o(o.P+o.F*(p||j),e,g);return g}},function(t,e,n){var r=n(14),o=n(13);t.exports=function(t){return function(e,n){var i,u,c=String(o(e)),a=r(n),f=c.length;return a<0||a>=f?t?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(55)(!0);n(54)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){n(56),n(39),t.exports=n(8).Array.from},function(t,e,n){t.exports={default:n(57),__esModule:!0}},function(t,e,n){"use strict";e.__esModule=!0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(58));e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return(0,r.default)(t)}},function(t,e,n){"use strict";var r=n(29),o=n(30);(0,r.createWorker)(self,{allocate:({length:t})=>{const e=(0,o.allocate)(t);return{result:e,transferables:[e]}},deallocate:()=>({result:void 0})})}]);`;
//# sourceMappingURL=/build/es2015/worker/worker.js.map

@@ -8,3 +8,3 @@ (function (global, factory) {

// tslint:disable-next-line:max-line-length
var worker = "!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(t,\"__esModule\",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&\"object\"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:t}),2&e&&\"string\"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,\"a\",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p=\"\",r(r.s=60)}([function(t,e,r){var n=r(19)(\"wks\"),o=r(18),i=r(1).Symbol,u=\"function\"==typeof i;(t.exports=function(t){return n[t]||(n[t]=u&&i[t]||(u?i:o)(\"Symbol.\"+t))}).store=n},function(t,e){var r=t.exports=\"undefined\"!=typeof window&&window.Math==Math?window:\"undefined\"!=typeof self&&self.Math==Math?self:Function(\"return this\")();\"number\"==typeof __g&&(__g=r)},function(t,e,r){!function(t,e,r,n){\"use strict\";e=e&&e.hasOwnProperty(\"default\")?e.default:e,r=r&&r.hasOwnProperty(\"default\")?r.default:r,n=n&&n.hasOwnProperty(\"default\")?n.default:n;var o=function(t,e){return void 0===e?t:e.reduce(function(t,e){if(\"capitalize\"===e){var o=t.charAt(0).toUpperCase(),i=t.slice(1);return\"\"+o+i}return\"dashify\"===e?r(t):\"prependIndefiniteArticle\"===e?n(t)+\" \"+t:t},t)},i=function(t,r){for(var n=/\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,i=[],u=n.exec(t);null!==u;){var c={modifiers:[],name:u[1]};if(void 0!==u[3])for(var a=/\\.[^(]+\\(\\)/g,f=a.exec(u[2]);null!==f;)c.modifiers.push(f[0].slice(1,-2)),f=a.exec(u[2]);i.push(c),u=n.exec(t)}var s=i.reduce(function(t,n){return t.map(function(t){return\"string\"==typeof t?t.split(function(t){var e=t.name+t.modifiers.map(function(t){return\"\\\\.\"+t+\"\\\\(\\\\)\"}).join(\"\");return new RegExp(\"\\\\$\\\\{\"+e+\"}\",\"g\")}(n)).reduce(function(t,i,u){return 0===u?[i]:n.name in r?[].concat(e(t),[o(r[n.name],n.modifiers),i]):[].concat(e(t),[function(t){return o(t[n.name],n.modifiers)},i])},[]):[t]}).reduce(function(t,r){return[].concat(e(t),e(r))},[])},[t]);return function(t){return s.reduce(function(r,n){return[].concat(e(r),\"string\"==typeof n?[n]:[n(t)])},[]).join(\"\")}};t.compile=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=void 0===t.code?void 0:i(t.code,e),n=void 0===t.message?void 0:i(t.message,e);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments[1],i=void 0===o&&(e instanceof Error||void 0!==e.code&&\"Exception\"===e.code.slice(-9))?{cause:e,missingParameters:{}}:{cause:o,missingParameters:e},u=i.cause,c=i.missingParameters,a=void 0===n?new Error:new Error(n(c));return null!==u&&(a.cause=u),void 0!==r&&(a.code=r(c)),void 0!==t.status&&(a.status=t.status),a}},Object.defineProperty(t,\"__esModule\",{value:!0})}(e,r(59),r(32),r(31))},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){t.exports=!r(24)(function(){return 7!=Object.defineProperty({},\"a\",{get:function(){return 7}}).a})},function(t,e,r){var n=r(12);t.exports=function(t){if(!n(t))throw TypeError(t+\" is not an object!\");return t}},function(t,e,r){var n=r(5),o=r(52),i=r(51),u=Object.defineProperty;e.f=r(4)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return u(t,e,r)}catch(t){}if(\"get\"in r||\"set\"in r)throw TypeError(\"Accessors not supported!\");return\"value\"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(6),o=r(11);t.exports=r(4)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e){var r=t.exports={version:\"2.5.7\"};\"number\"==typeof __e&&(__e=r)},function(t,e,r){var n=r(19)(\"keys\"),o=r(18);t.exports=function(t){return n[t]||(n[t]=o(t))}},function(t,e){t.exports={}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){return\"object\"==typeof t?null!==t:\"function\"==typeof t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError(\"Can't call method on \"+t);return t}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(13);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(6).f,o=r(3),i=r(0)(\"toStringTag\");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e){t.exports=\"constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf\".split(\",\")},function(t,e){var r=0,n=Math.random();t.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++r+n).toString(36))}},function(t,e,r){var n=r(8),o=r(1),i=o[\"__core-js_shared__\"]||(o[\"__core-js_shared__\"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})(\"versions\",[]).push({version:n.version,mode:r(27)?\"pure\":\"global\",copyright:\"\xA9 2018 Denis Pushkarev (zloirock.ru)\"})},function(t,e,r){var n=r(14),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){var n=r(44),o=r(13);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(12),o=r(1).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(53);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){var n=r(1),o=r(8),i=r(25),u=r(7),c=r(3),a=function(t,e,r){var f,s,l,p=t&a.F,d=t&a.G,v=t&a.S,h=t&a.P,y=t&a.B,m=t&a.W,g=d?o:o[e]||(o[e]={}),b=g.prototype,x=d?n:v?n[e]:(n[e]||{}).prototype;for(f in d&&(r=e),r)(s=!p&&x&&void 0!==x[f])&&c(g,f)||(l=s?x[f]:r[f],g[f]=d&&\"function\"!=typeof x[f]?r[f]:y&&s?i(l,n):m&&x[f]==l?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):h&&\"function\"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[f]=l,t&a.R&&b&&!b[f]&&u(b,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e){t.exports=!0},function(t,e,r){!function(t){\"use strict\";var e=new WeakMap,r=Number.MAX_SAFE_INTEGER||9007199254740991,n=function(t){var n=e.get(t),o=void 0===n||n>2147483648?0:n+1;if(t.size<1073741824){for(;t.has(o);)o=Math.floor(2147483648*Math.random());return e.set(t,o),o}if(t.size>r)throw new Error(\"Congratulations, you created a collection of unique numbers which uses all available integers!\");for(;t.has(o);)o=Math.floor(Math.random()*r);return e.set(t,o),o};t.addUniqueNumber=function(t){var e=n(t);return t.add(e),e},t.generateUniqueNumber=n,Object.defineProperty(t,\"__esModule\",{value:!0})}(e)},function(t,e,r){\"use strict\";r.r(e);Object.setPrototypeOf||Array;var n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t};function o(t,e){var r,n,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},\"function\"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(r)throw new TypeError(\"Generator is already executing.\");for(;u;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,n=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=e.call(t,u)}catch(t){i=[6,t],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}var i=r(2),u=-32603,c=-32602,a=-32601,f=Object(i.compile)({message:'The requested method called \"${method}\" is not supported.',status:a}),s=Object(i.compile)({message:'The handler of the method called \"${method}\" returned no required result.',status:u}),l=Object(i.compile)({message:'The handler of the method called \"${method}\" returned an unexpected result.',status:u}),p=Object(i.compile)({message:'The specified parameter called \"portId\" with the given value \"${portId}\" does not identify a port connected to this worker.',status:c}),d=function(t,e,r){return function(n){var i=n.data,u=i.id,c=i.method,a=i.params;return function(t,e,r,n){return new(r||(r=Promise))(function(o,i){function u(t){try{a(n.next(t))}catch(t){i(t)}}function c(t){try{a(n.throw(t))}catch(t){i(t)}}function a(t){t.done?o(t.value):new r(function(e){e(t.value)}).then(u,c)}a((n=n.apply(t,e||[])).next())})}(void 0,void 0,void 0,function(){var n,i,p,d,v,h,y,m,g,b,x,w,O,_,j,M;return o(this,function(o){switch(o.label){case 0:n=e[c],o.label=1;case 1:if(o.trys.push([1,8,,9]),void 0===n)throw f({method:c});if(void 0===(i=n(a)))throw s({method:c});return i instanceof Promise?[4,i]:[3,3];case 2:return d=o.sent(),[3,4];case 3:d=i,o.label=4;case 4:if(p=d,null!==u)return[3,5];if(void 0!==p.result)throw l({method:c});return[3,7];case 5:if(void 0===p.result)throw l({method:c});return h=(v=p).result,y=v.transferables,m=void 0===y?[]:y,b=(g=t).postMessage,x=[{id:u,result:h}],[4,r];case 6:b.apply(g,x.concat([o.sent()?m:[]])),o.label=7;case 7:return[3,9];case 8:return w=o.sent(),_=(O=w).message,j=O.status,M=void 0===j?-32603:j,t.postMessage({error:{code:M,message:_},id:u}),[3,9];case 9:return[2]}})})}},v=r(28),h=new Map,y=new Promise(function(t){var e=new ArrayBuffer(0),r=new MessageChannel,n=r.port1,o=r.port2;n.onmessage=function(e){var r=e.data;return t(null!==r)},o.postMessage(e,[e])});r.d(e,\"createWorker\",function(){return m});var m=function(t,e){var r=function(t,e){return n({},e,{connect:function(r){var n=r.port;n.start();var o=t(n,e),i=Object(v.generateUniqueNumber)(h);return h.set(i,function(){o(),n.close(),h.delete(i)}),{result:i}},disconnect:function(t){var e=t.portId,r=h.get(e);if(void 0===r)throw p({portId:e.toString()});return r(),{result:null}}})}(m,e),o=d(t,r,y);return t.addEventListener(\"message\",o),function(){return t.removeEventListener(\"message\",o)}}},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});e.allocate=(t=>new ArrayBuffer(t))},function(t,e){var r=function(t){var e,r,n=/\\w+/.exec(t);if(!n)return\"an\";var o=(r=n[0]).toLowerCase(),i=[\"honest\",\"hour\",\"hono\"];for(e in i)if(0==o.indexOf(i[e]))return\"an\";if(1==o.length)return\"aedhilmnorsx\".indexOf(o)>=0?\"an\":\"a\";if(r.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return\"an\";var u=[/^e[uw]/,/^onc?e\\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(e=0;e<u.length;e++)if(o.match(u[e]))return\"a\";return r.match(/^U[NK][AIEO]/)?\"a\":r==r.toUpperCase()?\"aedhilmnorsx\".indexOf(o[0])>=0?\"an\":\"a\":\"aeiou\".indexOf(o[0])>=0?\"an\":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?\"an\":\"a\"};void 0!==t&&void 0!==t.exports?t.exports=r:window.indefiniteArticle=r},function(t,e,r){\"use strict\";t.exports=function(t,e){if(\"string\"!=typeof t)throw new TypeError(\"expected a string\");return t.trim().replace(/([a-z])([A-Z])/g,\"$1-$2\").replace(/\\W/g,t=>/[\xC0-\u017E]/.test(t)?t:\"-\").replace(/^-+|-+$/g,\"\").replace(/-{2,}/g,t=>e&&e.condense?\"-\":t).toLowerCase()}},function(t,e,r){var n=r(0)(\"iterator\"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],u=i[n]();u.next=function(){return{done:r=!0}},i[n]=function(){return u},t(i)}catch(t){}return r}},function(t,e,r){var n=r(21),o=r(0)(\"toStringTag\"),i=\"Arguments\"==n(function(){return arguments}());t.exports=function(t){var e,r,u;return void 0===t?\"Undefined\":null===t?\"Null\":\"string\"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?r:i?n(e):\"Object\"==(u=n(e))&&\"function\"==typeof e.callee?\"Arguments\":u}},function(t,e,r){var n=r(34),o=r(0)(\"iterator\"),i=r(10);t.exports=r(8).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t[\"@@iterator\"]||i[n(t)]}},function(t,e,r){\"use strict\";var n=r(6),o=r(11);t.exports=function(t,e,r){e in t?n.f(t,e,o(0,r)):t[e]=r}},function(t,e,r){var n=r(10),o=r(0)(\"iterator\"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},function(t,e,r){var n=r(5);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},function(t,e,r){\"use strict\";var n=r(25),o=r(26),i=r(15),u=r(38),c=r(37),a=r(20),f=r(36),s=r(35);o(o.S+o.F*!r(33)(function(t){Array.from(t)}),\"Array\",{from:function(t){var e,r,o,l,p=i(t),d=\"function\"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,y=void 0!==h,m=0,g=s(p);if(y&&(h=n(h,v>2?arguments[2]:void 0,2)),void 0==g||d==Array&&c(g))for(r=new d(e=a(p.length));e>m;m++)f(r,m,y?h(p[m],m):p[m]);else for(l=g.call(p),r=new d;!(o=l.next()).done;m++)f(r,m,y?u(l,h,[o.value,m],!0):o.value);return r.length=m,r}})},function(t,e,r){var n=r(3),o=r(15),i=r(9)(\"IE_PROTO\"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:\"function\"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,r){var n=r(1).document;t.exports=n&&n.documentElement},function(t,e,r){var n=r(14),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=n(t))<0?o(t+e,0):i(t,e)}},function(t,e,r){var n=r(22),o=r(20),i=r(42);t.exports=function(t){return function(e,r,u){var c,a=n(e),f=o(a.length),s=i(u,f);if(t&&r!=r){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}}},function(t,e,r){var n=r(21);t.exports=Object(\"z\").propertyIsEnumerable(0)?Object:function(t){return\"String\"==n(t)?t.split(\"\"):Object(t)}},function(t,e,r){var n=r(3),o=r(22),i=r(43)(!1),u=r(9)(\"IE_PROTO\");t.exports=function(t,e){var r,c=o(t),a=0,f=[];for(r in c)r!=u&&n(c,r)&&f.push(r);for(;e.length>a;)n(c,r=e[a++])&&(~i(f,r)||f.push(r));return f}},function(t,e,r){var n=r(45),o=r(17);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(6),o=r(5),i=r(46);t.exports=r(4)?Object.defineProperties:function(t,e){o(t);for(var r,u=i(e),c=u.length,a=0;c>a;)n.f(t,r=u[a++],e[r]);return t}},function(t,e,r){var n=r(5),o=r(47),i=r(17),u=r(9)(\"IE_PROTO\"),c=function(){},a=function(){var t,e=r(23)(\"iframe\"),n=i.length;for(e.style.display=\"none\",r(41).appendChild(e),e.src=\"javascript:\",(t=e.contentWindow.document).open(),t.write(\"<script>document.F=Object<\\/script>\"),t.close(),a=t.F;n--;)delete a.prototype[i[n]];return a()};t.exports=Object.create||function(t,e){var r;return null!==t?(c.prototype=n(t),r=new c,c.prototype=null,r[u]=t):r=a(),void 0===e?r:o(r,e)}},function(t,e,r){\"use strict\";var n=r(48),o=r(11),i=r(16),u={};r(7)(u,r(0)(\"iterator\"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(u,{next:o(1,r)}),i(t,e+\" Iterator\")}},function(t,e,r){t.exports=r(7)},function(t,e,r){var n=r(12);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&\"function\"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if(\"function\"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&\"function\"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError(\"Can't convert object to primitive value\")}},function(t,e,r){t.exports=!r(4)&&!r(24)(function(){return 7!=Object.defineProperty(r(23)(\"div\"),\"a\",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){if(\"function\"!=typeof t)throw TypeError(t+\" is not a function!\");return t}},function(t,e,r){\"use strict\";var n=r(27),o=r(26),i=r(50),u=r(7),c=r(10),a=r(49),f=r(16),s=r(40),l=r(0)(\"iterator\"),p=!([].keys&&\"next\"in[].keys()),d=function(){return this};t.exports=function(t,e,r,v,h,y,m){a(r,e,v);var g,b,x,w=function(t){if(!p&&t in M)return M[t];switch(t){case\"keys\":case\"values\":return function(){return new r(this,t)}}return function(){return new r(this,t)}},O=e+\" Iterator\",_=\"values\"==h,j=!1,M=t.prototype,P=M[l]||M[\"@@iterator\"]||h&&M[h],S=P||w(h),A=h?_?w(\"entries\"):S:void 0,E=\"Array\"==e&&M.entries||P;if(E&&(x=s(E.call(new t)))!==Object.prototype&&x.next&&(f(x,O,!0),n||\"function\"==typeof x[l]||u(x,l,d)),_&&P&&\"values\"!==P.name&&(j=!0,S=function(){return P.call(this)}),n&&!m||!p&&!j&&M[l]||u(M,l,S),c[e]=S,c[O]=d,h)if(g={values:_?S:w(\"values\"),keys:y?S:w(\"keys\"),entries:A},m)for(b in g)b in M||i(M,b,g[b]);else o(o.P+o.F*(p||j),e,g);return g}},function(t,e,r){var n=r(14),o=r(13);t.exports=function(t){return function(e,r){var i,u,c=String(o(e)),a=n(r),f=c.length;return a<0||a>=f?t?\"\":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}}},function(t,e,r){\"use strict\";var n=r(55)(!0);r(54)(String,\"String\",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},function(t,e,r){r(56),r(39),t.exports=r(8).Array.from},function(t,e,r){t.exports={default:r(57),__esModule:!0}},function(t,e,r){\"use strict\";e.__esModule=!0;var n=function(t){return t&&t.__esModule?t:{default:t}}(r(58));e.default=function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return(0,n.default)(t)}},function(t,e,r){\"use strict\";var n=r(29),o=r(30);(0,n.createWorker)(self,{allocate:({length:t})=>{const e=(0,o.allocate)(t);return{result:e,transferables:[e]}},deallocate:()=>({result:void 0})})}]);";
var worker = "!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}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 o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));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=60)}([function(t,e,n){var r=n(19)(\"wks\"),o=n(18),i=n(1).Symbol,u=\"function\"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)(\"Symbol.\"+t))}).store=r},function(t,e){var n=t.exports=\"undefined\"!=typeof window&&window.Math==Math?window:\"undefined\"!=typeof self&&self.Math==Math?self:Function(\"return this\")();\"number\"==typeof __g&&(__g=n)},function(t,e,n){!function(t,e,n,r){\"use strict\";e=e&&e.hasOwnProperty(\"default\")?e.default:e,n=n&&n.hasOwnProperty(\"default\")?n.default:n,r=r&&r.hasOwnProperty(\"default\")?r.default:r;var o=function(t,e){return void 0===e?t:e.reduce(function(t,e){if(\"capitalize\"===e){var o=t.charAt(0).toUpperCase(),i=t.slice(1);return\"\"+o+i}return\"dashify\"===e?n(t):\"prependIndefiniteArticle\"===e?r(t)+\" \"+t:t},t)},i=function(t,n){for(var r=/\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,i=[],u=r.exec(t);null!==u;){var c={modifiers:[],name:u[1]};if(void 0!==u[3])for(var a=/\\.[^(]+\\(\\)/g,f=a.exec(u[2]);null!==f;)c.modifiers.push(f[0].slice(1,-2)),f=a.exec(u[2]);i.push(c),u=r.exec(t)}var s=i.reduce(function(t,r){return t.map(function(t){return\"string\"==typeof t?t.split(function(t){var e=t.name+t.modifiers.map(function(t){return\"\\\\.\"+t+\"\\\\(\\\\)\"}).join(\"\");return new RegExp(\"\\\\$\\\\{\"+e+\"}\",\"g\")}(r)).reduce(function(t,i,u){return 0===u?[i]:r.name in n?[].concat(e(t),[o(n[r.name],r.modifiers),i]):[].concat(e(t),[function(t){return o(t[r.name],r.modifiers)},i])},[]):[t]}).reduce(function(t,n){return[].concat(e(t),e(n))},[])},[t]);return function(t){return s.reduce(function(n,r){return[].concat(e(n),\"string\"==typeof r?[r]:[r(t)])},[]).join(\"\")}};t.compile=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0===t.code?void 0:i(t.code,e),r=void 0===t.message?void 0:i(t.message,e);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments[1],i=void 0===o&&(e instanceof Error||void 0!==e.code&&\"Exception\"===e.code.slice(-9))?{cause:e,missingParameters:{}}:{cause:o,missingParameters:e},u=i.cause,c=i.missingParameters,a=void 0===r?new Error:new Error(r(c));return null!==u&&(a.cause=u),void 0!==n&&(a.code=n(c)),void 0!==t.status&&(a.status=t.status),a}},Object.defineProperty(t,\"__esModule\",{value:!0})}(e,n(59),n(32),n(31))},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(24)(function(){return 7!=Object.defineProperty({},\"a\",{get:function(){return 7}}).a})},function(t,e,n){var r=n(12);t.exports=function(t){if(!r(t))throw TypeError(t+\" is not an object!\");return t}},function(t,e,n){var r=n(5),o=n(52),i=n(51),u=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if(\"get\"in n||\"set\"in n)throw TypeError(\"Accessors not supported!\");return\"value\"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(6),o=n(11);t.exports=n(4)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){var n=t.exports={version:\"2.5.7\"};\"number\"==typeof __e&&(__e=n)},function(t,e,n){var r=n(19)(\"keys\"),o=n(18);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports={}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){return\"object\"==typeof t?null!==t:\"function\"==typeof t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError(\"Can't call method on \"+t);return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(13);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(6).f,o=n(3),i=n(0)(\"toStringTag\");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e){t.exports=\"constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf\".split(\",\")},function(t,e){var n=0,r=Math.random();t.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++n+r).toString(36))}},function(t,e,n){var r=n(8),o=n(1),i=o[\"__core-js_shared__\"]||(o[\"__core-js_shared__\"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})(\"versions\",[]).push({version:r.version,mode:n(27)?\"pure\":\"global\",copyright:\"\xA9 2018 Denis Pushkarev (zloirock.ru)\"})},function(t,e,n){var r=n(14),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(44),o=n(13);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(12),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(53);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,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(1),o=n(8),i=n(25),u=n(7),c=n(3),a=function(t,e,n){var f,s,l,p=t&a.F,d=t&a.G,v=t&a.S,h=t&a.P,y=t&a.B,m=t&a.W,g=d?o:o[e]||(o[e]={}),b=g.prototype,x=d?r:v?r[e]:(r[e]||{}).prototype;for(f in d&&(n=e),n)(s=!p&&x&&void 0!==x[f])&&c(g,f)||(l=s?x[f]:n[f],g[f]=d&&\"function\"!=typeof x[f]?n[f]:y&&s?i(l,r):m&&x[f]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):h&&\"function\"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[f]=l,t&a.R&&b&&!b[f]&&u(b,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e){t.exports=!0},function(t,e,n){!function(t){\"use strict\";var e=new WeakMap,n=Number.MAX_SAFE_INTEGER||9007199254740991,r=function(t){var r=e.get(t),o=void 0===r||r>2147483648?0:r+1;if(t.size<1073741824){for(;t.has(o);)o=Math.floor(2147483648*Math.random());return e.set(t,o),o}if(t.size>n)throw new Error(\"Congratulations, you created a collection of unique numbers which uses all available integers!\");for(;t.has(o);)o=Math.floor(Math.random()*n);return e.set(t,o),o};t.addUniqueNumber=function(t){var e=r(t);return t.add(e),e},t.generateUniqueNumber=r,Object.defineProperty(t,\"__esModule\",{value:!0})}(e)},function(t,e,n){\"use strict\";n.r(e);var r=function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function o(t,e){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},\"function\"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError(\"Generator is already executing.\");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=e.call(t,u)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}var i=n(2),u=-32603,c=-32602,a=-32601,f=Object(i.compile)({message:'The requested method called \"${method}\" is not supported.',status:a}),s=Object(i.compile)({message:'The handler of the method called \"${method}\" returned no required result.',status:u}),l=Object(i.compile)({message:'The handler of the method called \"${method}\" returned an unexpected result.',status:u}),p=Object(i.compile)({message:'The specified parameter called \"portId\" with the given value \"${portId}\" does not identify a port connected to this worker.',status:c}),d=function(t,e,n){return function(r){var i=r.data,u=i.id,c=i.method,a=i.params;return function(t,e,n,r){return new(n||(n=Promise))(function(o,i){function u(t){try{a(r.next(t))}catch(t){i(t)}}function c(t){try{a(r.throw(t))}catch(t){i(t)}}function a(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(u,c)}a((r=r.apply(t,e||[])).next())})}(void 0,void 0,void 0,function(){var r,i,p,d,v,h,y,m,g,b,x,w,O,_,j,M;return o(this,function(o){switch(o.label){case 0:r=e[c],o.label=1;case 1:if(o.trys.push([1,8,,9]),void 0===r)throw f({method:c});if(void 0===(i=r(a)))throw s({method:c});return i instanceof Promise?[4,i]:[3,3];case 2:return d=o.sent(),[3,4];case 3:d=i,o.label=4;case 4:if(p=d,null!==u)return[3,5];if(void 0!==p.result)throw l({method:c});return[3,7];case 5:if(void 0===p.result)throw l({method:c});return h=(v=p).result,y=v.transferables,m=void 0===y?[]:y,b=(g=t).postMessage,x=[{id:u,result:h}],[4,n];case 6:b.apply(g,x.concat([o.sent()?m:[]])),o.label=7;case 7:return[3,9];case 8:return w=o.sent(),_=(O=w).message,j=O.status,M=void 0===j?-32603:j,t.postMessage({error:{code:M,message:_},id:u}),[3,9];case 9:return[2]}})})}},v=n(28),h=new Map,y=new Promise(function(t){var e=new ArrayBuffer(0),n=new MessageChannel,r=n.port1,o=n.port2;r.onmessage=function(e){var n=e.data;return t(null!==n)},o.postMessage(e,[e])});n.d(e,\"createWorker\",function(){return m});var m=function(t,e){var n=function(t,e){return r({},e,{connect:function(n){var r=n.port;r.start();var o=t(r,e),i=Object(v.generateUniqueNumber)(h);return h.set(i,function(){o(),r.close(),h.delete(i)}),{result:i}},disconnect:function(t){var e=t.portId,n=h.get(e);if(void 0===n)throw p({portId:e.toString()});return n(),{result:null}}})}(m,e),o=d(t,n,y);return t.addEventListener(\"message\",o),function(){return t.removeEventListener(\"message\",o)}}},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});e.allocate=(t=>new ArrayBuffer(t))},function(t,e){var n=function(t){var e,n,r=/\\w+/.exec(t);if(!r)return\"an\";var o=(n=r[0]).toLowerCase(),i=[\"honest\",\"hour\",\"hono\"];for(e in i)if(0==o.indexOf(i[e]))return\"an\";if(1==o.length)return\"aedhilmnorsx\".indexOf(o)>=0?\"an\":\"a\";if(n.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return\"an\";var u=[/^e[uw]/,/^onc?e\\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(e=0;e<u.length;e++)if(o.match(u[e]))return\"a\";return n.match(/^U[NK][AIEO]/)?\"a\":n==n.toUpperCase()?\"aedhilmnorsx\".indexOf(o[0])>=0?\"an\":\"a\":\"aeiou\".indexOf(o[0])>=0?\"an\":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?\"an\":\"a\"};void 0!==t&&void 0!==t.exports?t.exports=n:window.indefiniteArticle=n},function(t,e,n){\"use strict\";t.exports=function(t,e){if(\"string\"!=typeof t)throw new TypeError(\"expected a string\");return t.trim().replace(/([a-z])([A-Z])/g,\"$1-$2\").replace(/\\W/g,t=>/[\xC0-\u017E]/.test(t)?t:\"-\").replace(/^-+|-+$/g,\"\").replace(/-{2,}/g,t=>e&&e.condense?\"-\":t).toLowerCase()}},function(t,e,n){var r=n(0)(\"iterator\"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:n=!0}},i[r]=function(){return u},t(i)}catch(t){}return n}},function(t,e,n){var r=n(21),o=n(0)(\"toStringTag\"),i=\"Arguments\"==r(function(){return arguments}());t.exports=function(t){var e,n,u;return void 0===t?\"Undefined\":null===t?\"Null\":\"string\"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):\"Object\"==(u=r(e))&&\"function\"==typeof e.callee?\"Arguments\":u}},function(t,e,n){var r=n(34),o=n(0)(\"iterator\"),i=n(10);t.exports=n(8).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t[\"@@iterator\"]||i[r(t)]}},function(t,e,n){\"use strict\";var r=n(6),o=n(11);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(10),o=n(0)(\"iterator\"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(5);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){\"use strict\";var r=n(25),o=n(26),i=n(15),u=n(38),c=n(37),a=n(20),f=n(36),s=n(35);o(o.S+o.F*!n(33)(function(t){Array.from(t)}),\"Array\",{from:function(t){var e,n,o,l,p=i(t),d=\"function\"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,y=void 0!==h,m=0,g=s(p);if(y&&(h=r(h,v>2?arguments[2]:void 0,2)),void 0==g||d==Array&&c(g))for(n=new d(e=a(p.length));e>m;m++)f(n,m,y?h(p[m],m):p[m]);else for(l=g.call(p),n=new d;!(o=l.next()).done;m++)f(n,m,y?u(l,h,[o.value,m],!0):o.value);return n.length=m,n}})},function(t,e,n){var r=n(3),o=n(15),i=n(9)(\"IE_PROTO\"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:\"function\"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(14),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(22),o=n(20),i=n(42);t.exports=function(t){return function(e,n,u){var c,a=r(e),f=o(a.length),s=i(u,f);if(t&&n!=n){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}}},function(t,e,n){var r=n(21);t.exports=Object(\"z\").propertyIsEnumerable(0)?Object:function(t){return\"String\"==r(t)?t.split(\"\"):Object(t)}},function(t,e,n){var r=n(3),o=n(22),i=n(43)(!1),u=n(9)(\"IE_PROTO\");t.exports=function(t,e){var n,c=o(t),a=0,f=[];for(n in c)n!=u&&r(c,n)&&f.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~i(f,n)||f.push(n));return f}},function(t,e,n){var r=n(45),o=n(17);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(6),o=n(5),i=n(46);t.exports=n(4)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),c=u.length,a=0;c>a;)r.f(t,n=u[a++],e[n]);return t}},function(t,e,n){var r=n(5),o=n(47),i=n(17),u=n(9)(\"IE_PROTO\"),c=function(){},a=function(){var t,e=n(23)(\"iframe\"),r=i.length;for(e.style.display=\"none\",n(41).appendChild(e),e.src=\"javascript:\",(t=e.contentWindow.document).open(),t.write(\"<script>document.F=Object<\\/script>\"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[u]=t):n=a(),void 0===e?n:o(n,e)}},function(t,e,n){\"use strict\";var r=n(48),o=n(11),i=n(16),u={};n(7)(u,n(0)(\"iterator\"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+\" Iterator\")}},function(t,e,n){t.exports=n(7)},function(t,e,n){var r=n(12);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&\"function\"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if(\"function\"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&\"function\"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError(\"Can't convert object to primitive value\")}},function(t,e,n){t.exports=!n(4)&&!n(24)(function(){return 7!=Object.defineProperty(n(23)(\"div\"),\"a\",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){if(\"function\"!=typeof t)throw TypeError(t+\" is not a function!\");return t}},function(t,e,n){\"use strict\";var r=n(27),o=n(26),i=n(50),u=n(7),c=n(10),a=n(49),f=n(16),s=n(40),l=n(0)(\"iterator\"),p=!([].keys&&\"next\"in[].keys()),d=function(){return this};t.exports=function(t,e,n,v,h,y,m){a(n,e,v);var g,b,x,w=function(t){if(!p&&t in M)return M[t];switch(t){case\"keys\":case\"values\":return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+\" Iterator\",_=\"values\"==h,j=!1,M=t.prototype,P=M[l]||M[\"@@iterator\"]||h&&M[h],S=P||w(h),A=h?_?w(\"entries\"):S:void 0,E=\"Array\"==e&&M.entries||P;if(E&&(x=s(E.call(new t)))!==Object.prototype&&x.next&&(f(x,O,!0),r||\"function\"==typeof x[l]||u(x,l,d)),_&&P&&\"values\"!==P.name&&(j=!0,S=function(){return P.call(this)}),r&&!m||!p&&!j&&M[l]||u(M,l,S),c[e]=S,c[O]=d,h)if(g={values:_?S:w(\"values\"),keys:y?S:w(\"keys\"),entries:A},m)for(b in g)b in M||i(M,b,g[b]);else o(o.P+o.F*(p||j),e,g);return g}},function(t,e,n){var r=n(14),o=n(13);t.exports=function(t){return function(e,n){var i,u,c=String(o(e)),a=r(n),f=c.length;return a<0||a>=f?t?\"\":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}}},function(t,e,n){\"use strict\";var r=n(55)(!0);n(54)(String,\"String\",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){n(56),n(39),t.exports=n(8).Array.from},function(t,e,n){t.exports={default:n(57),__esModule:!0}},function(t,e,n){\"use strict\";e.__esModule=!0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(58));e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return(0,r.default)(t)}},function(t,e,n){\"use strict\";var r=n(29),o=n(30);(0,r.createWorker)(self,{allocate:({length:t})=>{const e=(0,o.allocate)(t);return{result:e,transferables:[e]}},deallocate:()=>({result:void 0})})}]);";

@@ -11,0 +11,0 @@ var blob = new Blob([worker], { type: 'application/javascript; charset=utf-8' });

// tslint:disable-next-line:max-line-length
export var worker = "!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(t,\"__esModule\",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&\"object\"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\"default\",{enumerable:!0,value:t}),2&e&&\"string\"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,\"a\",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p=\"\",r(r.s=60)}([function(t,e,r){var n=r(19)(\"wks\"),o=r(18),i=r(1).Symbol,u=\"function\"==typeof i;(t.exports=function(t){return n[t]||(n[t]=u&&i[t]||(u?i:o)(\"Symbol.\"+t))}).store=n},function(t,e){var r=t.exports=\"undefined\"!=typeof window&&window.Math==Math?window:\"undefined\"!=typeof self&&self.Math==Math?self:Function(\"return this\")();\"number\"==typeof __g&&(__g=r)},function(t,e,r){!function(t,e,r,n){\"use strict\";e=e&&e.hasOwnProperty(\"default\")?e.default:e,r=r&&r.hasOwnProperty(\"default\")?r.default:r,n=n&&n.hasOwnProperty(\"default\")?n.default:n;var o=function(t,e){return void 0===e?t:e.reduce(function(t,e){if(\"capitalize\"===e){var o=t.charAt(0).toUpperCase(),i=t.slice(1);return\"\"+o+i}return\"dashify\"===e?r(t):\"prependIndefiniteArticle\"===e?n(t)+\" \"+t:t},t)},i=function(t,r){for(var n=/\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,i=[],u=n.exec(t);null!==u;){var c={modifiers:[],name:u[1]};if(void 0!==u[3])for(var a=/\\.[^(]+\\(\\)/g,f=a.exec(u[2]);null!==f;)c.modifiers.push(f[0].slice(1,-2)),f=a.exec(u[2]);i.push(c),u=n.exec(t)}var s=i.reduce(function(t,n){return t.map(function(t){return\"string\"==typeof t?t.split(function(t){var e=t.name+t.modifiers.map(function(t){return\"\\\\.\"+t+\"\\\\(\\\\)\"}).join(\"\");return new RegExp(\"\\\\$\\\\{\"+e+\"}\",\"g\")}(n)).reduce(function(t,i,u){return 0===u?[i]:n.name in r?[].concat(e(t),[o(r[n.name],n.modifiers),i]):[].concat(e(t),[function(t){return o(t[n.name],n.modifiers)},i])},[]):[t]}).reduce(function(t,r){return[].concat(e(t),e(r))},[])},[t]);return function(t){return s.reduce(function(r,n){return[].concat(e(r),\"string\"==typeof n?[n]:[n(t)])},[]).join(\"\")}};t.compile=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=void 0===t.code?void 0:i(t.code,e),n=void 0===t.message?void 0:i(t.message,e);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments[1],i=void 0===o&&(e instanceof Error||void 0!==e.code&&\"Exception\"===e.code.slice(-9))?{cause:e,missingParameters:{}}:{cause:o,missingParameters:e},u=i.cause,c=i.missingParameters,a=void 0===n?new Error:new Error(n(c));return null!==u&&(a.cause=u),void 0!==r&&(a.code=r(c)),void 0!==t.status&&(a.status=t.status),a}},Object.defineProperty(t,\"__esModule\",{value:!0})}(e,r(59),r(32),r(31))},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){t.exports=!r(24)(function(){return 7!=Object.defineProperty({},\"a\",{get:function(){return 7}}).a})},function(t,e,r){var n=r(12);t.exports=function(t){if(!n(t))throw TypeError(t+\" is not an object!\");return t}},function(t,e,r){var n=r(5),o=r(52),i=r(51),u=Object.defineProperty;e.f=r(4)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return u(t,e,r)}catch(t){}if(\"get\"in r||\"set\"in r)throw TypeError(\"Accessors not supported!\");return\"value\"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(6),o=r(11);t.exports=r(4)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e){var r=t.exports={version:\"2.5.7\"};\"number\"==typeof __e&&(__e=r)},function(t,e,r){var n=r(19)(\"keys\"),o=r(18);t.exports=function(t){return n[t]||(n[t]=o(t))}},function(t,e){t.exports={}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){return\"object\"==typeof t?null!==t:\"function\"==typeof t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError(\"Can't call method on \"+t);return t}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(13);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(6).f,o=r(3),i=r(0)(\"toStringTag\");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e){t.exports=\"constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf\".split(\",\")},function(t,e){var r=0,n=Math.random();t.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++r+n).toString(36))}},function(t,e,r){var n=r(8),o=r(1),i=o[\"__core-js_shared__\"]||(o[\"__core-js_shared__\"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})(\"versions\",[]).push({version:n.version,mode:r(27)?\"pure\":\"global\",copyright:\"\u00A9 2018 Denis Pushkarev (zloirock.ru)\"})},function(t,e,r){var n=r(14),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){var n=r(44),o=r(13);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(12),o=r(1).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(53);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){var n=r(1),o=r(8),i=r(25),u=r(7),c=r(3),a=function(t,e,r){var f,s,l,p=t&a.F,d=t&a.G,v=t&a.S,h=t&a.P,y=t&a.B,m=t&a.W,g=d?o:o[e]||(o[e]={}),b=g.prototype,x=d?n:v?n[e]:(n[e]||{}).prototype;for(f in d&&(r=e),r)(s=!p&&x&&void 0!==x[f])&&c(g,f)||(l=s?x[f]:r[f],g[f]=d&&\"function\"!=typeof x[f]?r[f]:y&&s?i(l,n):m&&x[f]==l?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):h&&\"function\"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[f]=l,t&a.R&&b&&!b[f]&&u(b,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e){t.exports=!0},function(t,e,r){!function(t){\"use strict\";var e=new WeakMap,r=Number.MAX_SAFE_INTEGER||9007199254740991,n=function(t){var n=e.get(t),o=void 0===n||n>2147483648?0:n+1;if(t.size<1073741824){for(;t.has(o);)o=Math.floor(2147483648*Math.random());return e.set(t,o),o}if(t.size>r)throw new Error(\"Congratulations, you created a collection of unique numbers which uses all available integers!\");for(;t.has(o);)o=Math.floor(Math.random()*r);return e.set(t,o),o};t.addUniqueNumber=function(t){var e=n(t);return t.add(e),e},t.generateUniqueNumber=n,Object.defineProperty(t,\"__esModule\",{value:!0})}(e)},function(t,e,r){\"use strict\";r.r(e);Object.setPrototypeOf||Array;var n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t};function o(t,e){var r,n,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},\"function\"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(r)throw new TypeError(\"Generator is already executing.\");for(;u;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,n=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=e.call(t,u)}catch(t){i=[6,t],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}var i=r(2),u=-32603,c=-32602,a=-32601,f=Object(i.compile)({message:'The requested method called \"${method}\" is not supported.',status:a}),s=Object(i.compile)({message:'The handler of the method called \"${method}\" returned no required result.',status:u}),l=Object(i.compile)({message:'The handler of the method called \"${method}\" returned an unexpected result.',status:u}),p=Object(i.compile)({message:'The specified parameter called \"portId\" with the given value \"${portId}\" does not identify a port connected to this worker.',status:c}),d=function(t,e,r){return function(n){var i=n.data,u=i.id,c=i.method,a=i.params;return function(t,e,r,n){return new(r||(r=Promise))(function(o,i){function u(t){try{a(n.next(t))}catch(t){i(t)}}function c(t){try{a(n.throw(t))}catch(t){i(t)}}function a(t){t.done?o(t.value):new r(function(e){e(t.value)}).then(u,c)}a((n=n.apply(t,e||[])).next())})}(void 0,void 0,void 0,function(){var n,i,p,d,v,h,y,m,g,b,x,w,O,_,j,M;return o(this,function(o){switch(o.label){case 0:n=e[c],o.label=1;case 1:if(o.trys.push([1,8,,9]),void 0===n)throw f({method:c});if(void 0===(i=n(a)))throw s({method:c});return i instanceof Promise?[4,i]:[3,3];case 2:return d=o.sent(),[3,4];case 3:d=i,o.label=4;case 4:if(p=d,null!==u)return[3,5];if(void 0!==p.result)throw l({method:c});return[3,7];case 5:if(void 0===p.result)throw l({method:c});return h=(v=p).result,y=v.transferables,m=void 0===y?[]:y,b=(g=t).postMessage,x=[{id:u,result:h}],[4,r];case 6:b.apply(g,x.concat([o.sent()?m:[]])),o.label=7;case 7:return[3,9];case 8:return w=o.sent(),_=(O=w).message,j=O.status,M=void 0===j?-32603:j,t.postMessage({error:{code:M,message:_},id:u}),[3,9];case 9:return[2]}})})}},v=r(28),h=new Map,y=new Promise(function(t){var e=new ArrayBuffer(0),r=new MessageChannel,n=r.port1,o=r.port2;n.onmessage=function(e){var r=e.data;return t(null!==r)},o.postMessage(e,[e])});r.d(e,\"createWorker\",function(){return m});var m=function(t,e){var r=function(t,e){return n({},e,{connect:function(r){var n=r.port;n.start();var o=t(n,e),i=Object(v.generateUniqueNumber)(h);return h.set(i,function(){o(),n.close(),h.delete(i)}),{result:i}},disconnect:function(t){var e=t.portId,r=h.get(e);if(void 0===r)throw p({portId:e.toString()});return r(),{result:null}}})}(m,e),o=d(t,r,y);return t.addEventListener(\"message\",o),function(){return t.removeEventListener(\"message\",o)}}},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});e.allocate=(t=>new ArrayBuffer(t))},function(t,e){var r=function(t){var e,r,n=/\\w+/.exec(t);if(!n)return\"an\";var o=(r=n[0]).toLowerCase(),i=[\"honest\",\"hour\",\"hono\"];for(e in i)if(0==o.indexOf(i[e]))return\"an\";if(1==o.length)return\"aedhilmnorsx\".indexOf(o)>=0?\"an\":\"a\";if(r.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return\"an\";var u=[/^e[uw]/,/^onc?e\\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(e=0;e<u.length;e++)if(o.match(u[e]))return\"a\";return r.match(/^U[NK][AIEO]/)?\"a\":r==r.toUpperCase()?\"aedhilmnorsx\".indexOf(o[0])>=0?\"an\":\"a\":\"aeiou\".indexOf(o[0])>=0?\"an\":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?\"an\":\"a\"};void 0!==t&&void 0!==t.exports?t.exports=r:window.indefiniteArticle=r},function(t,e,r){\"use strict\";t.exports=function(t,e){if(\"string\"!=typeof t)throw new TypeError(\"expected a string\");return t.trim().replace(/([a-z])([A-Z])/g,\"$1-$2\").replace(/\\W/g,t=>/[\u00C0-\u017E]/.test(t)?t:\"-\").replace(/^-+|-+$/g,\"\").replace(/-{2,}/g,t=>e&&e.condense?\"-\":t).toLowerCase()}},function(t,e,r){var n=r(0)(\"iterator\"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],u=i[n]();u.next=function(){return{done:r=!0}},i[n]=function(){return u},t(i)}catch(t){}return r}},function(t,e,r){var n=r(21),o=r(0)(\"toStringTag\"),i=\"Arguments\"==n(function(){return arguments}());t.exports=function(t){var e,r,u;return void 0===t?\"Undefined\":null===t?\"Null\":\"string\"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?r:i?n(e):\"Object\"==(u=n(e))&&\"function\"==typeof e.callee?\"Arguments\":u}},function(t,e,r){var n=r(34),o=r(0)(\"iterator\"),i=r(10);t.exports=r(8).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t[\"@@iterator\"]||i[n(t)]}},function(t,e,r){\"use strict\";var n=r(6),o=r(11);t.exports=function(t,e,r){e in t?n.f(t,e,o(0,r)):t[e]=r}},function(t,e,r){var n=r(10),o=r(0)(\"iterator\"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},function(t,e,r){var n=r(5);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},function(t,e,r){\"use strict\";var n=r(25),o=r(26),i=r(15),u=r(38),c=r(37),a=r(20),f=r(36),s=r(35);o(o.S+o.F*!r(33)(function(t){Array.from(t)}),\"Array\",{from:function(t){var e,r,o,l,p=i(t),d=\"function\"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,y=void 0!==h,m=0,g=s(p);if(y&&(h=n(h,v>2?arguments[2]:void 0,2)),void 0==g||d==Array&&c(g))for(r=new d(e=a(p.length));e>m;m++)f(r,m,y?h(p[m],m):p[m]);else for(l=g.call(p),r=new d;!(o=l.next()).done;m++)f(r,m,y?u(l,h,[o.value,m],!0):o.value);return r.length=m,r}})},function(t,e,r){var n=r(3),o=r(15),i=r(9)(\"IE_PROTO\"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:\"function\"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,r){var n=r(1).document;t.exports=n&&n.documentElement},function(t,e,r){var n=r(14),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=n(t))<0?o(t+e,0):i(t,e)}},function(t,e,r){var n=r(22),o=r(20),i=r(42);t.exports=function(t){return function(e,r,u){var c,a=n(e),f=o(a.length),s=i(u,f);if(t&&r!=r){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}}},function(t,e,r){var n=r(21);t.exports=Object(\"z\").propertyIsEnumerable(0)?Object:function(t){return\"String\"==n(t)?t.split(\"\"):Object(t)}},function(t,e,r){var n=r(3),o=r(22),i=r(43)(!1),u=r(9)(\"IE_PROTO\");t.exports=function(t,e){var r,c=o(t),a=0,f=[];for(r in c)r!=u&&n(c,r)&&f.push(r);for(;e.length>a;)n(c,r=e[a++])&&(~i(f,r)||f.push(r));return f}},function(t,e,r){var n=r(45),o=r(17);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(6),o=r(5),i=r(46);t.exports=r(4)?Object.defineProperties:function(t,e){o(t);for(var r,u=i(e),c=u.length,a=0;c>a;)n.f(t,r=u[a++],e[r]);return t}},function(t,e,r){var n=r(5),o=r(47),i=r(17),u=r(9)(\"IE_PROTO\"),c=function(){},a=function(){var t,e=r(23)(\"iframe\"),n=i.length;for(e.style.display=\"none\",r(41).appendChild(e),e.src=\"javascript:\",(t=e.contentWindow.document).open(),t.write(\"<script>document.F=Object<\\/script>\"),t.close(),a=t.F;n--;)delete a.prototype[i[n]];return a()};t.exports=Object.create||function(t,e){var r;return null!==t?(c.prototype=n(t),r=new c,c.prototype=null,r[u]=t):r=a(),void 0===e?r:o(r,e)}},function(t,e,r){\"use strict\";var n=r(48),o=r(11),i=r(16),u={};r(7)(u,r(0)(\"iterator\"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(u,{next:o(1,r)}),i(t,e+\" Iterator\")}},function(t,e,r){t.exports=r(7)},function(t,e,r){var n=r(12);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&\"function\"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if(\"function\"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&\"function\"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError(\"Can't convert object to primitive value\")}},function(t,e,r){t.exports=!r(4)&&!r(24)(function(){return 7!=Object.defineProperty(r(23)(\"div\"),\"a\",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){if(\"function\"!=typeof t)throw TypeError(t+\" is not a function!\");return t}},function(t,e,r){\"use strict\";var n=r(27),o=r(26),i=r(50),u=r(7),c=r(10),a=r(49),f=r(16),s=r(40),l=r(0)(\"iterator\"),p=!([].keys&&\"next\"in[].keys()),d=function(){return this};t.exports=function(t,e,r,v,h,y,m){a(r,e,v);var g,b,x,w=function(t){if(!p&&t in M)return M[t];switch(t){case\"keys\":case\"values\":return function(){return new r(this,t)}}return function(){return new r(this,t)}},O=e+\" Iterator\",_=\"values\"==h,j=!1,M=t.prototype,P=M[l]||M[\"@@iterator\"]||h&&M[h],S=P||w(h),A=h?_?w(\"entries\"):S:void 0,E=\"Array\"==e&&M.entries||P;if(E&&(x=s(E.call(new t)))!==Object.prototype&&x.next&&(f(x,O,!0),n||\"function\"==typeof x[l]||u(x,l,d)),_&&P&&\"values\"!==P.name&&(j=!0,S=function(){return P.call(this)}),n&&!m||!p&&!j&&M[l]||u(M,l,S),c[e]=S,c[O]=d,h)if(g={values:_?S:w(\"values\"),keys:y?S:w(\"keys\"),entries:A},m)for(b in g)b in M||i(M,b,g[b]);else o(o.P+o.F*(p||j),e,g);return g}},function(t,e,r){var n=r(14),o=r(13);t.exports=function(t){return function(e,r){var i,u,c=String(o(e)),a=n(r),f=c.length;return a<0||a>=f?t?\"\":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}}},function(t,e,r){\"use strict\";var n=r(55)(!0);r(54)(String,\"String\",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},function(t,e,r){r(56),r(39),t.exports=r(8).Array.from},function(t,e,r){t.exports={default:r(57),__esModule:!0}},function(t,e,r){\"use strict\";e.__esModule=!0;var n=function(t){return t&&t.__esModule?t:{default:t}}(r(58));e.default=function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return(0,n.default)(t)}},function(t,e,r){\"use strict\";var n=r(29),o=r(30);(0,n.createWorker)(self,{allocate:({length:t})=>{const e=(0,o.allocate)(t);return{result:e,transferables:[e]}},deallocate:()=>({result:void 0})})}]);";
export var worker = "!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}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 o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));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=60)}([function(t,e,n){var r=n(19)(\"wks\"),o=n(18),i=n(1).Symbol,u=\"function\"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)(\"Symbol.\"+t))}).store=r},function(t,e){var n=t.exports=\"undefined\"!=typeof window&&window.Math==Math?window:\"undefined\"!=typeof self&&self.Math==Math?self:Function(\"return this\")();\"number\"==typeof __g&&(__g=n)},function(t,e,n){!function(t,e,n,r){\"use strict\";e=e&&e.hasOwnProperty(\"default\")?e.default:e,n=n&&n.hasOwnProperty(\"default\")?n.default:n,r=r&&r.hasOwnProperty(\"default\")?r.default:r;var o=function(t,e){return void 0===e?t:e.reduce(function(t,e){if(\"capitalize\"===e){var o=t.charAt(0).toUpperCase(),i=t.slice(1);return\"\"+o+i}return\"dashify\"===e?n(t):\"prependIndefiniteArticle\"===e?r(t)+\" \"+t:t},t)},i=function(t,n){for(var r=/\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,i=[],u=r.exec(t);null!==u;){var c={modifiers:[],name:u[1]};if(void 0!==u[3])for(var a=/\\.[^(]+\\(\\)/g,f=a.exec(u[2]);null!==f;)c.modifiers.push(f[0].slice(1,-2)),f=a.exec(u[2]);i.push(c),u=r.exec(t)}var s=i.reduce(function(t,r){return t.map(function(t){return\"string\"==typeof t?t.split(function(t){var e=t.name+t.modifiers.map(function(t){return\"\\\\.\"+t+\"\\\\(\\\\)\"}).join(\"\");return new RegExp(\"\\\\$\\\\{\"+e+\"}\",\"g\")}(r)).reduce(function(t,i,u){return 0===u?[i]:r.name in n?[].concat(e(t),[o(n[r.name],r.modifiers),i]):[].concat(e(t),[function(t){return o(t[r.name],r.modifiers)},i])},[]):[t]}).reduce(function(t,n){return[].concat(e(t),e(n))},[])},[t]);return function(t){return s.reduce(function(n,r){return[].concat(e(n),\"string\"==typeof r?[r]:[r(t)])},[]).join(\"\")}};t.compile=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0===t.code?void 0:i(t.code,e),r=void 0===t.message?void 0:i(t.message,e);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments[1],i=void 0===o&&(e instanceof Error||void 0!==e.code&&\"Exception\"===e.code.slice(-9))?{cause:e,missingParameters:{}}:{cause:o,missingParameters:e},u=i.cause,c=i.missingParameters,a=void 0===r?new Error:new Error(r(c));return null!==u&&(a.cause=u),void 0!==n&&(a.code=n(c)),void 0!==t.status&&(a.status=t.status),a}},Object.defineProperty(t,\"__esModule\",{value:!0})}(e,n(59),n(32),n(31))},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(24)(function(){return 7!=Object.defineProperty({},\"a\",{get:function(){return 7}}).a})},function(t,e,n){var r=n(12);t.exports=function(t){if(!r(t))throw TypeError(t+\" is not an object!\");return t}},function(t,e,n){var r=n(5),o=n(52),i=n(51),u=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if(\"get\"in n||\"set\"in n)throw TypeError(\"Accessors not supported!\");return\"value\"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(6),o=n(11);t.exports=n(4)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){var n=t.exports={version:\"2.5.7\"};\"number\"==typeof __e&&(__e=n)},function(t,e,n){var r=n(19)(\"keys\"),o=n(18);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports={}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){return\"object\"==typeof t?null!==t:\"function\"==typeof t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError(\"Can't call method on \"+t);return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(13);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(6).f,o=n(3),i=n(0)(\"toStringTag\");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e){t.exports=\"constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf\".split(\",\")},function(t,e){var n=0,r=Math.random();t.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++n+r).toString(36))}},function(t,e,n){var r=n(8),o=n(1),i=o[\"__core-js_shared__\"]||(o[\"__core-js_shared__\"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})(\"versions\",[]).push({version:r.version,mode:n(27)?\"pure\":\"global\",copyright:\"\u00A9 2018 Denis Pushkarev (zloirock.ru)\"})},function(t,e,n){var r=n(14),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(44),o=n(13);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(12),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(53);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,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(1),o=n(8),i=n(25),u=n(7),c=n(3),a=function(t,e,n){var f,s,l,p=t&a.F,d=t&a.G,v=t&a.S,h=t&a.P,y=t&a.B,m=t&a.W,g=d?o:o[e]||(o[e]={}),b=g.prototype,x=d?r:v?r[e]:(r[e]||{}).prototype;for(f in d&&(n=e),n)(s=!p&&x&&void 0!==x[f])&&c(g,f)||(l=s?x[f]:n[f],g[f]=d&&\"function\"!=typeof x[f]?n[f]:y&&s?i(l,r):m&&x[f]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):h&&\"function\"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[f]=l,t&a.R&&b&&!b[f]&&u(b,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e){t.exports=!0},function(t,e,n){!function(t){\"use strict\";var e=new WeakMap,n=Number.MAX_SAFE_INTEGER||9007199254740991,r=function(t){var r=e.get(t),o=void 0===r||r>2147483648?0:r+1;if(t.size<1073741824){for(;t.has(o);)o=Math.floor(2147483648*Math.random());return e.set(t,o),o}if(t.size>n)throw new Error(\"Congratulations, you created a collection of unique numbers which uses all available integers!\");for(;t.has(o);)o=Math.floor(Math.random()*n);return e.set(t,o),o};t.addUniqueNumber=function(t){var e=r(t);return t.add(e),e},t.generateUniqueNumber=r,Object.defineProperty(t,\"__esModule\",{value:!0})}(e)},function(t,e,n){\"use strict\";n.r(e);var r=function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function o(t,e){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},\"function\"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError(\"Generator is already executing.\");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=e.call(t,u)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}var i=n(2),u=-32603,c=-32602,a=-32601,f=Object(i.compile)({message:'The requested method called \"${method}\" is not supported.',status:a}),s=Object(i.compile)({message:'The handler of the method called \"${method}\" returned no required result.',status:u}),l=Object(i.compile)({message:'The handler of the method called \"${method}\" returned an unexpected result.',status:u}),p=Object(i.compile)({message:'The specified parameter called \"portId\" with the given value \"${portId}\" does not identify a port connected to this worker.',status:c}),d=function(t,e,n){return function(r){var i=r.data,u=i.id,c=i.method,a=i.params;return function(t,e,n,r){return new(n||(n=Promise))(function(o,i){function u(t){try{a(r.next(t))}catch(t){i(t)}}function c(t){try{a(r.throw(t))}catch(t){i(t)}}function a(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(u,c)}a((r=r.apply(t,e||[])).next())})}(void 0,void 0,void 0,function(){var r,i,p,d,v,h,y,m,g,b,x,w,O,_,j,M;return o(this,function(o){switch(o.label){case 0:r=e[c],o.label=1;case 1:if(o.trys.push([1,8,,9]),void 0===r)throw f({method:c});if(void 0===(i=r(a)))throw s({method:c});return i instanceof Promise?[4,i]:[3,3];case 2:return d=o.sent(),[3,4];case 3:d=i,o.label=4;case 4:if(p=d,null!==u)return[3,5];if(void 0!==p.result)throw l({method:c});return[3,7];case 5:if(void 0===p.result)throw l({method:c});return h=(v=p).result,y=v.transferables,m=void 0===y?[]:y,b=(g=t).postMessage,x=[{id:u,result:h}],[4,n];case 6:b.apply(g,x.concat([o.sent()?m:[]])),o.label=7;case 7:return[3,9];case 8:return w=o.sent(),_=(O=w).message,j=O.status,M=void 0===j?-32603:j,t.postMessage({error:{code:M,message:_},id:u}),[3,9];case 9:return[2]}})})}},v=n(28),h=new Map,y=new Promise(function(t){var e=new ArrayBuffer(0),n=new MessageChannel,r=n.port1,o=n.port2;r.onmessage=function(e){var n=e.data;return t(null!==n)},o.postMessage(e,[e])});n.d(e,\"createWorker\",function(){return m});var m=function(t,e){var n=function(t,e){return r({},e,{connect:function(n){var r=n.port;r.start();var o=t(r,e),i=Object(v.generateUniqueNumber)(h);return h.set(i,function(){o(),r.close(),h.delete(i)}),{result:i}},disconnect:function(t){var e=t.portId,n=h.get(e);if(void 0===n)throw p({portId:e.toString()});return n(),{result:null}}})}(m,e),o=d(t,n,y);return t.addEventListener(\"message\",o),function(){return t.removeEventListener(\"message\",o)}}},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});e.allocate=(t=>new ArrayBuffer(t))},function(t,e){var n=function(t){var e,n,r=/\\w+/.exec(t);if(!r)return\"an\";var o=(n=r[0]).toLowerCase(),i=[\"honest\",\"hour\",\"hono\"];for(e in i)if(0==o.indexOf(i[e]))return\"an\";if(1==o.length)return\"aedhilmnorsx\".indexOf(o)>=0?\"an\":\"a\";if(n.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return\"an\";var u=[/^e[uw]/,/^onc?e\\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(e=0;e<u.length;e++)if(o.match(u[e]))return\"a\";return n.match(/^U[NK][AIEO]/)?\"a\":n==n.toUpperCase()?\"aedhilmnorsx\".indexOf(o[0])>=0?\"an\":\"a\":\"aeiou\".indexOf(o[0])>=0?\"an\":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?\"an\":\"a\"};void 0!==t&&void 0!==t.exports?t.exports=n:window.indefiniteArticle=n},function(t,e,n){\"use strict\";t.exports=function(t,e){if(\"string\"!=typeof t)throw new TypeError(\"expected a string\");return t.trim().replace(/([a-z])([A-Z])/g,\"$1-$2\").replace(/\\W/g,t=>/[\u00C0-\u017E]/.test(t)?t:\"-\").replace(/^-+|-+$/g,\"\").replace(/-{2,}/g,t=>e&&e.condense?\"-\":t).toLowerCase()}},function(t,e,n){var r=n(0)(\"iterator\"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:n=!0}},i[r]=function(){return u},t(i)}catch(t){}return n}},function(t,e,n){var r=n(21),o=n(0)(\"toStringTag\"),i=\"Arguments\"==r(function(){return arguments}());t.exports=function(t){var e,n,u;return void 0===t?\"Undefined\":null===t?\"Null\":\"string\"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):\"Object\"==(u=r(e))&&\"function\"==typeof e.callee?\"Arguments\":u}},function(t,e,n){var r=n(34),o=n(0)(\"iterator\"),i=n(10);t.exports=n(8).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t[\"@@iterator\"]||i[r(t)]}},function(t,e,n){\"use strict\";var r=n(6),o=n(11);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(10),o=n(0)(\"iterator\"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(5);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){\"use strict\";var r=n(25),o=n(26),i=n(15),u=n(38),c=n(37),a=n(20),f=n(36),s=n(35);o(o.S+o.F*!n(33)(function(t){Array.from(t)}),\"Array\",{from:function(t){var e,n,o,l,p=i(t),d=\"function\"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,y=void 0!==h,m=0,g=s(p);if(y&&(h=r(h,v>2?arguments[2]:void 0,2)),void 0==g||d==Array&&c(g))for(n=new d(e=a(p.length));e>m;m++)f(n,m,y?h(p[m],m):p[m]);else for(l=g.call(p),n=new d;!(o=l.next()).done;m++)f(n,m,y?u(l,h,[o.value,m],!0):o.value);return n.length=m,n}})},function(t,e,n){var r=n(3),o=n(15),i=n(9)(\"IE_PROTO\"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:\"function\"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(14),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(22),o=n(20),i=n(42);t.exports=function(t){return function(e,n,u){var c,a=r(e),f=o(a.length),s=i(u,f);if(t&&n!=n){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}}},function(t,e,n){var r=n(21);t.exports=Object(\"z\").propertyIsEnumerable(0)?Object:function(t){return\"String\"==r(t)?t.split(\"\"):Object(t)}},function(t,e,n){var r=n(3),o=n(22),i=n(43)(!1),u=n(9)(\"IE_PROTO\");t.exports=function(t,e){var n,c=o(t),a=0,f=[];for(n in c)n!=u&&r(c,n)&&f.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~i(f,n)||f.push(n));return f}},function(t,e,n){var r=n(45),o=n(17);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(6),o=n(5),i=n(46);t.exports=n(4)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),c=u.length,a=0;c>a;)r.f(t,n=u[a++],e[n]);return t}},function(t,e,n){var r=n(5),o=n(47),i=n(17),u=n(9)(\"IE_PROTO\"),c=function(){},a=function(){var t,e=n(23)(\"iframe\"),r=i.length;for(e.style.display=\"none\",n(41).appendChild(e),e.src=\"javascript:\",(t=e.contentWindow.document).open(),t.write(\"<script>document.F=Object<\\/script>\"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[u]=t):n=a(),void 0===e?n:o(n,e)}},function(t,e,n){\"use strict\";var r=n(48),o=n(11),i=n(16),u={};n(7)(u,n(0)(\"iterator\"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+\" Iterator\")}},function(t,e,n){t.exports=n(7)},function(t,e,n){var r=n(12);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&\"function\"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if(\"function\"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&\"function\"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError(\"Can't convert object to primitive value\")}},function(t,e,n){t.exports=!n(4)&&!n(24)(function(){return 7!=Object.defineProperty(n(23)(\"div\"),\"a\",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){if(\"function\"!=typeof t)throw TypeError(t+\" is not a function!\");return t}},function(t,e,n){\"use strict\";var r=n(27),o=n(26),i=n(50),u=n(7),c=n(10),a=n(49),f=n(16),s=n(40),l=n(0)(\"iterator\"),p=!([].keys&&\"next\"in[].keys()),d=function(){return this};t.exports=function(t,e,n,v,h,y,m){a(n,e,v);var g,b,x,w=function(t){if(!p&&t in M)return M[t];switch(t){case\"keys\":case\"values\":return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+\" Iterator\",_=\"values\"==h,j=!1,M=t.prototype,P=M[l]||M[\"@@iterator\"]||h&&M[h],S=P||w(h),A=h?_?w(\"entries\"):S:void 0,E=\"Array\"==e&&M.entries||P;if(E&&(x=s(E.call(new t)))!==Object.prototype&&x.next&&(f(x,O,!0),r||\"function\"==typeof x[l]||u(x,l,d)),_&&P&&\"values\"!==P.name&&(j=!0,S=function(){return P.call(this)}),r&&!m||!p&&!j&&M[l]||u(M,l,S),c[e]=S,c[O]=d,h)if(g={values:_?S:w(\"values\"),keys:y?S:w(\"keys\"),entries:A},m)for(b in g)b in M||i(M,b,g[b]);else o(o.P+o.F*(p||j),e,g);return g}},function(t,e,n){var r=n(14),o=n(13);t.exports=function(t){return function(e,n){var i,u,c=String(o(e)),a=r(n),f=c.length;return a<0||a>=f?t?\"\":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}}},function(t,e,n){\"use strict\";var r=n(55)(!0);n(54)(String,\"String\",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){n(56),n(39),t.exports=n(8).Array.from},function(t,e,n){t.exports={default:n(57),__esModule:!0}},function(t,e,n){\"use strict\";e.__esModule=!0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(58));e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return(0,r.default)(t)}},function(t,e,n){\"use strict\";var r=n(29),o=n(30);(0,r.createWorker)(self,{allocate:({length:t})=>{const e=(0,o.allocate)(t);return{result:e,transferables:[e]}},deallocate:()=>({result:void 0})})}]);";
//# sourceMappingURL=/build/es2015/worker/worker.js.map

@@ -12,6 +12,6 @@ {

"dependencies": {
"async-array-buffer-broker": "^2.0.39",
"async-array-buffer-worker": "^3.0.34",
"async-array-buffer-broker": "^2.0.40",
"async-array-buffer-worker": "^3.0.35",
"babel-runtime": "^6.26.0",
"tslib": "^1.9.2"
"tslib": "^1.9.3"
},

@@ -84,3 +84,3 @@ "description": "This module allows to allocate and deallocate ArrayBuffers without blocking the main thread.",

"types": "build/es2015/module.d.ts",
"version": "1.1.52"
"version": "1.1.53"
}
// tslint:disable-next-line:max-line-length
export const worker = `!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=60)}([function(t,e,r){var n=r(19)("wks"),o=r(18),i=r(1).Symbol,u="function"==typeof i;(t.exports=function(t){return n[t]||(n[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=n},function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e,r){!function(t,e,r,n){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e,r=r&&r.hasOwnProperty("default")?r.default:r,n=n&&n.hasOwnProperty("default")?n.default:n;var o=function(t,e){return void 0===e?t:e.reduce(function(t,e){if("capitalize"===e){var o=t.charAt(0).toUpperCase(),i=t.slice(1);return""+o+i}return"dashify"===e?r(t):"prependIndefiniteArticle"===e?n(t)+" "+t:t},t)},i=function(t,r){for(var n=/\\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,i=[],u=n.exec(t);null!==u;){var c={modifiers:[],name:u[1]};if(void 0!==u[3])for(var a=/\\.[^(]+\\(\\)/g,f=a.exec(u[2]);null!==f;)c.modifiers.push(f[0].slice(1,-2)),f=a.exec(u[2]);i.push(c),u=n.exec(t)}var s=i.reduce(function(t,n){return t.map(function(t){return"string"==typeof t?t.split(function(t){var e=t.name+t.modifiers.map(function(t){return"\\\\."+t+"\\\\(\\\\)"}).join("");return new RegExp("\\\\$\\\\{"+e+"}","g")}(n)).reduce(function(t,i,u){return 0===u?[i]:n.name in r?[].concat(e(t),[o(r[n.name],n.modifiers),i]):[].concat(e(t),[function(t){return o(t[n.name],n.modifiers)},i])},[]):[t]}).reduce(function(t,r){return[].concat(e(t),e(r))},[])},[t]);return function(t){return s.reduce(function(r,n){return[].concat(e(r),"string"==typeof n?[n]:[n(t)])},[]).join("")}};t.compile=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=void 0===t.code?void 0:i(t.code,e),n=void 0===t.message?void 0:i(t.message,e);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments[1],i=void 0===o&&(e instanceof Error||void 0!==e.code&&"Exception"===e.code.slice(-9))?{cause:e,missingParameters:{}}:{cause:o,missingParameters:e},u=i.cause,c=i.missingParameters,a=void 0===n?new Error:new Error(n(c));return null!==u&&(a.cause=u),void 0!==r&&(a.code=r(c)),void 0!==t.status&&(a.status=t.status),a}},Object.defineProperty(t,"__esModule",{value:!0})}(e,r(59),r(32),r(31))},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){t.exports=!r(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,r){var n=r(12);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e,r){var n=r(5),o=r(52),i=r(51),u=Object.defineProperty;e.f=r(4)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(6),o=r(11);t.exports=r(4)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e){var r=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(t,e,r){var n=r(19)("keys"),o=r(18);t.exports=function(t){return n[t]||(n[t]=o(t))}},function(t,e){t.exports={}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(13);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(6).f,o=r(3),i=r(0)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},function(t,e,r){var n=r(8),o=r(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(27)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){var n=r(14),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){var n=r(44),o=r(13);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(12),o=r(1).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(53);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){var n=r(1),o=r(8),i=r(25),u=r(7),c=r(3),a=function(t,e,r){var f,s,l,p=t&a.F,d=t&a.G,v=t&a.S,h=t&a.P,y=t&a.B,m=t&a.W,g=d?o:o[e]||(o[e]={}),b=g.prototype,x=d?n:v?n[e]:(n[e]||{}).prototype;for(f in d&&(r=e),r)(s=!p&&x&&void 0!==x[f])&&c(g,f)||(l=s?x[f]:r[f],g[f]=d&&"function"!=typeof x[f]?r[f]:y&&s?i(l,n):m&&x[f]==l?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[f]=l,t&a.R&&b&&!b[f]&&u(b,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e){t.exports=!0},function(t,e,r){!function(t){"use strict";var e=new WeakMap,r=Number.MAX_SAFE_INTEGER||9007199254740991,n=function(t){var n=e.get(t),o=void 0===n||n>2147483648?0:n+1;if(t.size<1073741824){for(;t.has(o);)o=Math.floor(2147483648*Math.random());return e.set(t,o),o}if(t.size>r)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;t.has(o);)o=Math.floor(Math.random()*r);return e.set(t,o),o};t.addUniqueNumber=function(t){var e=n(t);return t.add(e),e},t.generateUniqueNumber=n,Object.defineProperty(t,"__esModule",{value:!0})}(e)},function(t,e,r){"use strict";r.r(e);Object.setPrototypeOf||Array;var n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t};function o(t,e){var r,n,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,n=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=e.call(t,u)}catch(t){i=[6,t],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}var i=r(2),u=-32603,c=-32602,a=-32601,f=Object(i.compile)({message:'The requested method called "\${method}" is not supported.',status:a}),s=Object(i.compile)({message:'The handler of the method called "\${method}" returned no required result.',status:u}),l=Object(i.compile)({message:'The handler of the method called "\${method}" returned an unexpected result.',status:u}),p=Object(i.compile)({message:'The specified parameter called "portId" with the given value "\${portId}" does not identify a port connected to this worker.',status:c}),d=function(t,e,r){return function(n){var i=n.data,u=i.id,c=i.method,a=i.params;return function(t,e,r,n){return new(r||(r=Promise))(function(o,i){function u(t){try{a(n.next(t))}catch(t){i(t)}}function c(t){try{a(n.throw(t))}catch(t){i(t)}}function a(t){t.done?o(t.value):new r(function(e){e(t.value)}).then(u,c)}a((n=n.apply(t,e||[])).next())})}(void 0,void 0,void 0,function(){var n,i,p,d,v,h,y,m,g,b,x,w,O,_,j,M;return o(this,function(o){switch(o.label){case 0:n=e[c],o.label=1;case 1:if(o.trys.push([1,8,,9]),void 0===n)throw f({method:c});if(void 0===(i=n(a)))throw s({method:c});return i instanceof Promise?[4,i]:[3,3];case 2:return d=o.sent(),[3,4];case 3:d=i,o.label=4;case 4:if(p=d,null!==u)return[3,5];if(void 0!==p.result)throw l({method:c});return[3,7];case 5:if(void 0===p.result)throw l({method:c});return h=(v=p).result,y=v.transferables,m=void 0===y?[]:y,b=(g=t).postMessage,x=[{id:u,result:h}],[4,r];case 6:b.apply(g,x.concat([o.sent()?m:[]])),o.label=7;case 7:return[3,9];case 8:return w=o.sent(),_=(O=w).message,j=O.status,M=void 0===j?-32603:j,t.postMessage({error:{code:M,message:_},id:u}),[3,9];case 9:return[2]}})})}},v=r(28),h=new Map,y=new Promise(function(t){var e=new ArrayBuffer(0),r=new MessageChannel,n=r.port1,o=r.port2;n.onmessage=function(e){var r=e.data;return t(null!==r)},o.postMessage(e,[e])});r.d(e,"createWorker",function(){return m});var m=function(t,e){var r=function(t,e){return n({},e,{connect:function(r){var n=r.port;n.start();var o=t(n,e),i=Object(v.generateUniqueNumber)(h);return h.set(i,function(){o(),n.close(),h.delete(i)}),{result:i}},disconnect:function(t){var e=t.portId,r=h.get(e);if(void 0===r)throw p({portId:e.toString()});return r(),{result:null}}})}(m,e),o=d(t,r,y);return t.addEventListener("message",o),function(){return t.removeEventListener("message",o)}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.allocate=(t=>new ArrayBuffer(t))},function(t,e){var r=function(t){var e,r,n=/\\w+/.exec(t);if(!n)return"an";var o=(r=n[0]).toLowerCase(),i=["honest","hour","hono"];for(e in i)if(0==o.indexOf(i[e]))return"an";if(1==o.length)return"aedhilmnorsx".indexOf(o)>=0?"an":"a";if(r.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return"an";var u=[/^e[uw]/,/^onc?e\\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(e=0;e<u.length;e++)if(o.match(u[e]))return"a";return r.match(/^U[NK][AIEO]/)?"a":r==r.toUpperCase()?"aedhilmnorsx".indexOf(o[0])>=0?"an":"a":"aeiou".indexOf(o[0])>=0?"an":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?"an":"a"};void 0!==t&&void 0!==t.exports?t.exports=r:window.indefiniteArticle=r},function(t,e,r){"use strict";t.exports=function(t,e){if("string"!=typeof t)throw new TypeError("expected a string");return t.trim().replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\\W/g,t=>/[À-ž]/.test(t)?t:"-").replace(/^-+|-+$/g,"").replace(/-{2,}/g,t=>e&&e.condense?"-":t).toLowerCase()}},function(t,e,r){var n=r(0)("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],u=i[n]();u.next=function(){return{done:r=!0}},i[n]=function(){return u},t(i)}catch(t){}return r}},function(t,e,r){var n=r(21),o=r(0)("toStringTag"),i="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?r:i?n(e):"Object"==(u=n(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,r){var n=r(34),o=r(0)("iterator"),i=r(10);t.exports=r(8).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[n(t)]}},function(t,e,r){"use strict";var n=r(6),o=r(11);t.exports=function(t,e,r){e in t?n.f(t,e,o(0,r)):t[e]=r}},function(t,e,r){var n=r(10),o=r(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},function(t,e,r){var n=r(5);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},function(t,e,r){"use strict";var n=r(25),o=r(26),i=r(15),u=r(38),c=r(37),a=r(20),f=r(36),s=r(35);o(o.S+o.F*!r(33)(function(t){Array.from(t)}),"Array",{from:function(t){var e,r,o,l,p=i(t),d="function"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,y=void 0!==h,m=0,g=s(p);if(y&&(h=n(h,v>2?arguments[2]:void 0,2)),void 0==g||d==Array&&c(g))for(r=new d(e=a(p.length));e>m;m++)f(r,m,y?h(p[m],m):p[m]);else for(l=g.call(p),r=new d;!(o=l.next()).done;m++)f(r,m,y?u(l,h,[o.value,m],!0):o.value);return r.length=m,r}})},function(t,e,r){var n=r(3),o=r(15),i=r(9)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,r){var n=r(1).document;t.exports=n&&n.documentElement},function(t,e,r){var n=r(14),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=n(t))<0?o(t+e,0):i(t,e)}},function(t,e,r){var n=r(22),o=r(20),i=r(42);t.exports=function(t){return function(e,r,u){var c,a=n(e),f=o(a.length),s=i(u,f);if(t&&r!=r){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}}},function(t,e,r){var n=r(21);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e,r){var n=r(3),o=r(22),i=r(43)(!1),u=r(9)("IE_PROTO");t.exports=function(t,e){var r,c=o(t),a=0,f=[];for(r in c)r!=u&&n(c,r)&&f.push(r);for(;e.length>a;)n(c,r=e[a++])&&(~i(f,r)||f.push(r));return f}},function(t,e,r){var n=r(45),o=r(17);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(6),o=r(5),i=r(46);t.exports=r(4)?Object.defineProperties:function(t,e){o(t);for(var r,u=i(e),c=u.length,a=0;c>a;)n.f(t,r=u[a++],e[r]);return t}},function(t,e,r){var n=r(5),o=r(47),i=r(17),u=r(9)("IE_PROTO"),c=function(){},a=function(){var t,e=r(23)("iframe"),n=i.length;for(e.style.display="none",r(41).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\\/script>"),t.close(),a=t.F;n--;)delete a.prototype[i[n]];return a()};t.exports=Object.create||function(t,e){var r;return null!==t?(c.prototype=n(t),r=new c,c.prototype=null,r[u]=t):r=a(),void 0===e?r:o(r,e)}},function(t,e,r){"use strict";var n=r(48),o=r(11),i=r(16),u={};r(7)(u,r(0)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(u,{next:o(1,r)}),i(t,e+" Iterator")}},function(t,e,r){t.exports=r(7)},function(t,e,r){var n=r(12);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,r){t.exports=!r(4)&&!r(24)(function(){return 7!=Object.defineProperty(r(23)("div"),"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,r){"use strict";var n=r(27),o=r(26),i=r(50),u=r(7),c=r(10),a=r(49),f=r(16),s=r(40),l=r(0)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,r,v,h,y,m){a(r,e,v);var g,b,x,w=function(t){if(!p&&t in M)return M[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},O=e+" Iterator",_="values"==h,j=!1,M=t.prototype,P=M[l]||M["@@iterator"]||h&&M[h],S=P||w(h),A=h?_?w("entries"):S:void 0,E="Array"==e&&M.entries||P;if(E&&(x=s(E.call(new t)))!==Object.prototype&&x.next&&(f(x,O,!0),n||"function"==typeof x[l]||u(x,l,d)),_&&P&&"values"!==P.name&&(j=!0,S=function(){return P.call(this)}),n&&!m||!p&&!j&&M[l]||u(M,l,S),c[e]=S,c[O]=d,h)if(g={values:_?S:w("values"),keys:y?S:w("keys"),entries:A},m)for(b in g)b in M||i(M,b,g[b]);else o(o.P+o.F*(p||j),e,g);return g}},function(t,e,r){var n=r(14),o=r(13);t.exports=function(t){return function(e,r){var i,u,c=String(o(e)),a=n(r),f=c.length;return a<0||a>=f?t?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}}},function(t,e,r){"use strict";var n=r(55)(!0);r(54)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},function(t,e,r){r(56),r(39),t.exports=r(8).Array.from},function(t,e,r){t.exports={default:r(57),__esModule:!0}},function(t,e,r){"use strict";e.__esModule=!0;var n=function(t){return t&&t.__esModule?t:{default:t}}(r(58));e.default=function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return(0,n.default)(t)}},function(t,e,r){"use strict";var n=r(29),o=r(30);(0,n.createWorker)(self,{allocate:({length:t})=>{const e=(0,o.allocate)(t);return{result:e,transferables:[e]}},deallocate:()=>({result:void 0})})}]);`;
export const worker = `!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}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 o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));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=60)}([function(t,e,n){var r=n(19)("wks"),o=n(18),i=n(1).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){!function(t,e,n,r){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n,r=r&&r.hasOwnProperty("default")?r.default:r;var o=function(t,e){return void 0===e?t:e.reduce(function(t,e){if("capitalize"===e){var o=t.charAt(0).toUpperCase(),i=t.slice(1);return""+o+i}return"dashify"===e?n(t):"prependIndefiniteArticle"===e?r(t)+" "+t:t},t)},i=function(t,n){for(var r=/\\\${([^.}]+)((\\.[^(]+\\(\\))*)}/g,i=[],u=r.exec(t);null!==u;){var c={modifiers:[],name:u[1]};if(void 0!==u[3])for(var a=/\\.[^(]+\\(\\)/g,f=a.exec(u[2]);null!==f;)c.modifiers.push(f[0].slice(1,-2)),f=a.exec(u[2]);i.push(c),u=r.exec(t)}var s=i.reduce(function(t,r){return t.map(function(t){return"string"==typeof t?t.split(function(t){var e=t.name+t.modifiers.map(function(t){return"\\\\."+t+"\\\\(\\\\)"}).join("");return new RegExp("\\\\$\\\\{"+e+"}","g")}(r)).reduce(function(t,i,u){return 0===u?[i]:r.name in n?[].concat(e(t),[o(n[r.name],r.modifiers),i]):[].concat(e(t),[function(t){return o(t[r.name],r.modifiers)},i])},[]):[t]}).reduce(function(t,n){return[].concat(e(t),e(n))},[])},[t]);return function(t){return s.reduce(function(n,r){return[].concat(e(n),"string"==typeof r?[r]:[r(t)])},[]).join("")}};t.compile=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0===t.code?void 0:i(t.code,e),r=void 0===t.message?void 0:i(t.message,e);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments[1],i=void 0===o&&(e instanceof Error||void 0!==e.code&&"Exception"===e.code.slice(-9))?{cause:e,missingParameters:{}}:{cause:o,missingParameters:e},u=i.cause,c=i.missingParameters,a=void 0===r?new Error:new Error(r(c));return null!==u&&(a.cause=u),void 0!==n&&(a.code=n(c)),void 0!==t.status&&(a.status=t.status),a}},Object.defineProperty(t,"__esModule",{value:!0})}(e,n(59),n(32),n(31))},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(12);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(5),o=n(52),i=n(51),u=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(6),o=n(11);t.exports=n(4)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(19)("keys"),o=n(18);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports={}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(13);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(6).f,o=n(3),i=n(0)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(8),o=n(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(27)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(14),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(44),o=n(13);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(12),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(53);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,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(1),o=n(8),i=n(25),u=n(7),c=n(3),a=function(t,e,n){var f,s,l,p=t&a.F,d=t&a.G,v=t&a.S,h=t&a.P,y=t&a.B,m=t&a.W,g=d?o:o[e]||(o[e]={}),b=g.prototype,x=d?r:v?r[e]:(r[e]||{}).prototype;for(f in d&&(n=e),n)(s=!p&&x&&void 0!==x[f])&&c(g,f)||(l=s?x[f]:n[f],g[f]=d&&"function"!=typeof x[f]?n[f]:y&&s?i(l,r):m&&x[f]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[f]=l,t&a.R&&b&&!b[f]&&u(b,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e){t.exports=!0},function(t,e,n){!function(t){"use strict";var e=new WeakMap,n=Number.MAX_SAFE_INTEGER||9007199254740991,r=function(t){var r=e.get(t),o=void 0===r||r>2147483648?0:r+1;if(t.size<1073741824){for(;t.has(o);)o=Math.floor(2147483648*Math.random());return e.set(t,o),o}if(t.size>n)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;t.has(o);)o=Math.floor(Math.random()*n);return e.set(t,o),o};t.addUniqueNumber=function(t){var e=r(t);return t.add(e),e},t.generateUniqueNumber=r,Object.defineProperty(t,"__esModule",{value:!0})}(e)},function(t,e,n){"use strict";n.r(e);var r=function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function o(t,e){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=e.call(t,u)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}var i=n(2),u=-32603,c=-32602,a=-32601,f=Object(i.compile)({message:'The requested method called "\${method}" is not supported.',status:a}),s=Object(i.compile)({message:'The handler of the method called "\${method}" returned no required result.',status:u}),l=Object(i.compile)({message:'The handler of the method called "\${method}" returned an unexpected result.',status:u}),p=Object(i.compile)({message:'The specified parameter called "portId" with the given value "\${portId}" does not identify a port connected to this worker.',status:c}),d=function(t,e,n){return function(r){var i=r.data,u=i.id,c=i.method,a=i.params;return function(t,e,n,r){return new(n||(n=Promise))(function(o,i){function u(t){try{a(r.next(t))}catch(t){i(t)}}function c(t){try{a(r.throw(t))}catch(t){i(t)}}function a(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(u,c)}a((r=r.apply(t,e||[])).next())})}(void 0,void 0,void 0,function(){var r,i,p,d,v,h,y,m,g,b,x,w,O,_,j,M;return o(this,function(o){switch(o.label){case 0:r=e[c],o.label=1;case 1:if(o.trys.push([1,8,,9]),void 0===r)throw f({method:c});if(void 0===(i=r(a)))throw s({method:c});return i instanceof Promise?[4,i]:[3,3];case 2:return d=o.sent(),[3,4];case 3:d=i,o.label=4;case 4:if(p=d,null!==u)return[3,5];if(void 0!==p.result)throw l({method:c});return[3,7];case 5:if(void 0===p.result)throw l({method:c});return h=(v=p).result,y=v.transferables,m=void 0===y?[]:y,b=(g=t).postMessage,x=[{id:u,result:h}],[4,n];case 6:b.apply(g,x.concat([o.sent()?m:[]])),o.label=7;case 7:return[3,9];case 8:return w=o.sent(),_=(O=w).message,j=O.status,M=void 0===j?-32603:j,t.postMessage({error:{code:M,message:_},id:u}),[3,9];case 9:return[2]}})})}},v=n(28),h=new Map,y=new Promise(function(t){var e=new ArrayBuffer(0),n=new MessageChannel,r=n.port1,o=n.port2;r.onmessage=function(e){var n=e.data;return t(null!==n)},o.postMessage(e,[e])});n.d(e,"createWorker",function(){return m});var m=function(t,e){var n=function(t,e){return r({},e,{connect:function(n){var r=n.port;r.start();var o=t(r,e),i=Object(v.generateUniqueNumber)(h);return h.set(i,function(){o(),r.close(),h.delete(i)}),{result:i}},disconnect:function(t){var e=t.portId,n=h.get(e);if(void 0===n)throw p({portId:e.toString()});return n(),{result:null}}})}(m,e),o=d(t,n,y);return t.addEventListener("message",o),function(){return t.removeEventListener("message",o)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.allocate=(t=>new ArrayBuffer(t))},function(t,e){var n=function(t){var e,n,r=/\\w+/.exec(t);if(!r)return"an";var o=(n=r[0]).toLowerCase(),i=["honest","hour","hono"];for(e in i)if(0==o.indexOf(i[e]))return"an";if(1==o.length)return"aedhilmnorsx".indexOf(o)>=0?"an":"a";if(n.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return"an";var u=[/^e[uw]/,/^onc?e\\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(e=0;e<u.length;e++)if(o.match(u[e]))return"a";return n.match(/^U[NK][AIEO]/)?"a":n==n.toUpperCase()?"aedhilmnorsx".indexOf(o[0])>=0?"an":"a":"aeiou".indexOf(o[0])>=0?"an":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?"an":"a"};void 0!==t&&void 0!==t.exports?t.exports=n:window.indefiniteArticle=n},function(t,e,n){"use strict";t.exports=function(t,e){if("string"!=typeof t)throw new TypeError("expected a string");return t.trim().replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\\W/g,t=>/[À-ž]/.test(t)?t:"-").replace(/^-+|-+$/g,"").replace(/-{2,}/g,t=>e&&e.condense?"-":t).toLowerCase()}},function(t,e,n){var r=n(0)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:n=!0}},i[r]=function(){return u},t(i)}catch(t){}return n}},function(t,e,n){var r=n(21),o=n(0)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){var r=n(34),o=n(0)("iterator"),i=n(10);t.exports=n(8).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){"use strict";var r=n(6),o=n(11);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(10),o=n(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(5);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){"use strict";var r=n(25),o=n(26),i=n(15),u=n(38),c=n(37),a=n(20),f=n(36),s=n(35);o(o.S+o.F*!n(33)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,l,p=i(t),d="function"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,y=void 0!==h,m=0,g=s(p);if(y&&(h=r(h,v>2?arguments[2]:void 0,2)),void 0==g||d==Array&&c(g))for(n=new d(e=a(p.length));e>m;m++)f(n,m,y?h(p[m],m):p[m]);else for(l=g.call(p),n=new d;!(o=l.next()).done;m++)f(n,m,y?u(l,h,[o.value,m],!0):o.value);return n.length=m,n}})},function(t,e,n){var r=n(3),o=n(15),i=n(9)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(14),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(22),o=n(20),i=n(42);t.exports=function(t){return function(e,n,u){var c,a=r(e),f=o(a.length),s=i(u,f);if(t&&n!=n){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}}},function(t,e,n){var r=n(21);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(3),o=n(22),i=n(43)(!1),u=n(9)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),a=0,f=[];for(n in c)n!=u&&r(c,n)&&f.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~i(f,n)||f.push(n));return f}},function(t,e,n){var r=n(45),o=n(17);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(6),o=n(5),i=n(46);t.exports=n(4)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),c=u.length,a=0;c>a;)r.f(t,n=u[a++],e[n]);return t}},function(t,e,n){var r=n(5),o=n(47),i=n(17),u=n(9)("IE_PROTO"),c=function(){},a=function(){var t,e=n(23)("iframe"),r=i.length;for(e.style.display="none",n(41).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[u]=t):n=a(),void 0===e?n:o(n,e)}},function(t,e,n){"use strict";var r=n(48),o=n(11),i=n(16),u={};n(7)(u,n(0)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){t.exports=n(7)},function(t,e,n){var r=n(12);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){t.exports=!n(4)&&!n(24)(function(){return 7!=Object.defineProperty(n(23)("div"),"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var r=n(27),o=n(26),i=n(50),u=n(7),c=n(10),a=n(49),f=n(16),s=n(40),l=n(0)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,v,h,y,m){a(n,e,v);var g,b,x,w=function(t){if(!p&&t in M)return M[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",_="values"==h,j=!1,M=t.prototype,P=M[l]||M["@@iterator"]||h&&M[h],S=P||w(h),A=h?_?w("entries"):S:void 0,E="Array"==e&&M.entries||P;if(E&&(x=s(E.call(new t)))!==Object.prototype&&x.next&&(f(x,O,!0),r||"function"==typeof x[l]||u(x,l,d)),_&&P&&"values"!==P.name&&(j=!0,S=function(){return P.call(this)}),r&&!m||!p&&!j&&M[l]||u(M,l,S),c[e]=S,c[O]=d,h)if(g={values:_?S:w("values"),keys:y?S:w("keys"),entries:A},m)for(b in g)b in M||i(M,b,g[b]);else o(o.P+o.F*(p||j),e,g);return g}},function(t,e,n){var r=n(14),o=n(13);t.exports=function(t){return function(e,n){var i,u,c=String(o(e)),a=r(n),f=c.length;return a<0||a>=f?t?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(55)(!0);n(54)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){n(56),n(39),t.exports=n(8).Array.from},function(t,e,n){t.exports={default:n(57),__esModule:!0}},function(t,e,n){"use strict";e.__esModule=!0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(58));e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return(0,r.default)(t)}},function(t,e,n){"use strict";var r=n(29),o=n(30);(0,r.createWorker)(self,{allocate:({length:t})=>{const e=(0,o.allocate)(t);return{result:e,transferables:[e]}},deallocate:()=>({result:void 0})})}]);`;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc