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