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.14 to 1.1.15

2

build/es2015/module.d.ts
export declare const allocate: (length: number) => Promise<ArrayBuffer>;
export declare const connect: (port: MessagePort) => Promise<void>;
export declare const connect: () => Promise<MessagePort>;
export declare const deallocate: (arrayBuffer: ArrayBuffer) => void;
export declare const disconnect: (port: MessagePort) => Promise<void>;

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

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

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

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

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

@@ -7,4 +7,4 @@ {

"dependencies": {
"async-array-buffer-broker": "^1.2.10",
"async-array-buffer-worker": "^2.1.7",
"async-array-buffer-broker": "^2.0.3",
"async-array-buffer-worker": "^3.0.1",
"babel-runtime": "^6.26.0",

@@ -20,3 +20,3 @@ "tslib": "^1.8.1"

"chai": "^4.1.2",
"eslint": "^4.12.1",
"eslint": "^4.14.0",
"eslint-config-holy-grail": "^24.0.1",

@@ -33,20 +33,20 @@ "greenkeeper-lockfile": "^1.12.0",

"husky": "^0.14.3",
"karma": "^1.7.1",
"karma": "^2.0.0",
"karma-chrome-launcher": "^2.2.0",
"karma-firefox-launcher": "^1.0.0",
"karma-leche": "1.0.0",
"karma-firefox-launcher": "~1.1.0",
"karma-leche": "^1.0.1",
"karma-mocha": "^1.1.0",
"karma-sauce-launcher": "^1.2.0",
"karma-sinon-chai": "^1.3.3",
"karma-webpack": "^2.0.6",
"karma-webpack": "^2.0.9",
"load-grunt-config": "^0.19.2",
"mocha": "^4.0.1",
"rollup": "^0.52.1",
"rollup-plugin-babel": "^3.0.2",
"sinon": "^4.1.2",
"mocha": "^4.1.0",
"rollup": "^0.53.3",
"rollup-plugin-babel": "^3.0.3",
"sinon": "^4.1.3",
"sinon-chai": "^2.14.0",
"ts-loader": "^3.2.0",
"tsconfig-holy-grail": "^3.0.9",
"tsconfig-holy-grail": "^3.0.14",
"tslint": "^5.8.0",
"tslint-config-holy-grail": "^18.0.8",
"tslint-config-holy-grail": "^20.0.0",
"typescript": "^2.6.2",

@@ -76,3 +76,3 @@ "webpack": "^3.10.0"

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

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