phantasmal-world/assembly-worker.js

2 lines
409 KiB
JavaScript
Raw Normal View History

!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["assembly-worker"]=t():n["assembly-worker"]=t()}(globalThis,(()=>{return n={36:(n,t)=>{var e,i,r,u;"object"!=typeof globalThis&&(Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__),void 0===Math.imul&&(Math.imul=function(n,t){return(4294901760&n)*(65535&t)+(65535&n)*(0|t)|0}),void 0===ArrayBuffer.isView&&(ArrayBuffer.isView=function(n){return null!=n&&null!=n.__proto__&&n.__proto__.__proto__===Int8Array.prototype.__proto__}),void 0===Array.prototype.fill&&Object.defineProperty(Array.prototype,"fill",{value:function(n){if(null==this)throw new TypeError("this is null or not defined");for(var t=Object(this),e=t.length>>>0,i=0|arguments[1],r=i<0?Math.max(e+i,0):Math.min(i,e),u=arguments[2],l=void 0===u?e:0|u,o=l<0?Math.max(e+l,0):Math.min(l,e);r<o;)t[r]=n,r++;return t}}),[Int8Array,Int16Array,Uint16Array,Int32Array,Float32Array,Float64Array].forEach((function(n){void 0===n.prototype.fill&&Object.defineProperty(n.prototype,"fill",{value:Array.prototype.fill})})),void 0===Math.clz32&&(Math.clz32=(r=Math.log,u=Math.LN2,function(n){var t=n>>>0;return 0===t?32:31-(r(t)/u|0)|0})),void 0===String.prototype.startsWith&&Object.defineProperty(String.prototype,"startsWith",{value:function(n,t){return t=t||0,this.lastIndexOf(n,t)===t}}),void 0===String.prototype.endsWith&&Object.defineProperty(String.prototype,"endsWith",{value:function(n,t){var e=this.toString();(void 0===t||t>e.length)&&(t=e.length),t-=n.length;var i=e.indexOf(n,t);return-1!==i&&i===t}}),void 0===(i="function"==typeof(e=function(n){"use strict";var t,e,i,r,u,l,o,s,a,f,c,h,_,w,v,$,d,m,p,g,b,k,y,q,x,z,j,S,C,A,I,E,B,P,N,L,D,M,O,T,U,F,J,R,H,V,G,K,Y,Z,W,X,Q,nn,tn,en,rn,un,ln,on,sn,an,fn,cn,hn,_n,wn,vn,$n,dn,mn,pn,gn,bn,kn,yn,qn,xn,zn,jn,Sn,Cn,An,In,En=Math.imul,Bn=ArrayBuffer.isView,Pn=Math.clz32;function Nn(){}function Ln(){}function Dn(){}function Mn(n){return 0===n.length?Ds():new Rn(n)}function On(n,t){if(null==t){var e=0,i=n.length-1|0;if(e<=i)do{var r=e;if(e=e+1|0,null==n[r])return r}while(e<=i)}else{var u=0,l=n.length-1|0;if(u<=l)do{var o=u;if(u=u+1|0,fe(t,n[o]))return o}while(u<=l)}return-1}function Tn(n){return n.length-1|0}function Un(n,t){for(var e=0,i=n.length;e<i;){var r=n[e];e=e+1|0,t.e(r)}return t}function Fn(n,t,e,i,r,u,l){return t=t===C?", ":t,e=e===C?"":e,i=i===C?"":i,r=r===C?-1:r,u=u===C?"...":u,l=l===C?null:l,function(n,t,e,i,r,u,l,o){e=e===C?", ":e,i=i===C?"":i,r=r===C?"":r,u=u===C?-1:u,l=l===C?"...":l,o=o===C?null:o,t.f(i);var s=0,a=0,f=n.length;n:for(;a<f;){var c=n[a];if(a=a+1|0,(s=s+1|0)>1&&t.f(e),!(u<0||s<=u))break n;da(t,c,o)}return u>=0&&s>u&&t.f(l),t.f(r),t}(n,eo(),t,e,i,r,u,l).toString()}function Jn(n,t){return function(n,t){var e=0,i=n.length-1|0;if(e<=i)do{var r=e;if(e=e+1|0,t===n[r])return r}while(e<=i);return-1}(n,t)>=0}function Rn(n){this.j_1=n}function Hn(n,t,e,i,r,u,l){return t=t===C?", ":t,e=e===C?"":e,i=i===C?"":i,r=r===C?-1:r,u=u===C?"...":u,l=l===C?null:l,Vn(n,eo(),t,e,i,r,u,l).toString()}function Vn(n,t,e,i,r,u,l,o){e=e===C?", ":e,i=i===C?"":i,r=r===C?"":r,u=u===C?-1:u,l=l===C?"...":l,o=o===C?null:o,t.f(i);var s=0,a=n.k();n:for(;a.l();){var f=a.m();if((s=s+1|0)>1&&t.f(e),!(u<0||s<=u))break n;da(t,f,o)}return u>=0&&s>u&&t.f(l),t.f(r),t}function Gn(n){return new tt(n)}function Kn(n,t){for(var e=n.k();e.l();){var i=e.m();t.e(i)}return t}function Yn(n){if(_i(n,bt))return function(n){var t;switch(n.n()){case 0:throw Ku("List is empty.");case 1:t=n.o(0);break;default:throw Pu("List has more than one element.")}return t}(n);var t=n.k();if(!t.l())throw Ku("Collection is empty.");var e=t.m();if(t.l())throw Pu("Collection has more than one element.");return e}function Zn(n){if(_i(n,kt)){var t;switch(n.n()){case 0:t=na();break;case 1:t=tr(_i(n,bt)?n.o(0):n.k().m());break;default:t=Kn(n,pu(n.n()))}return t}return function(n){switch(n.n()){case 0:return na();case 1:retu
//# sourceMappingURL=assembly-worker.js.map