UNPKG

@multisynq/client

Version:

Real-time multiplayer framework for web applications

5 lines (4 loc) 389 kB
// (C) 2025 Croquet Labs // Multisynq Client v1.1.0 // Built on 2025-07-24T16:47:32.495Z var Wv=Object.create;var jo=Object.defineProperty;var jv=Object.getOwnPropertyDescriptor;var Zv=Object.getOwnPropertyNames;var Gv=Object.getPrototypeOf,Vv=Object.prototype.hasOwnProperty;var Zo=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Kv=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Zv(t))!Vv.call(e,s)&&s!==r&&jo(e,s,{get:()=>t[s],enumerable:!(i=jv(t,s))||i.enumerable});return e};var H=(e,t,r)=>(r=e!=null?Wv(Gv(e)):{},Kv(t||!e||!e.__esModule?jo(r,"default",{value:e,enumerable:!0}):r,e));var Ko=b((Vo,ei)=>{(function(e,t){typeof ei=="object"&&ei.exports?ei.exports=t():e.Toastify=t()})(Vo,function(e){var t=function(n){return new t.lib.init(n)},r="1.12.0";t.defaults={oldestFirst:!0,text:"Toastify is awesome!",node:void 0,duration:3e3,selector:void 0,callback:function(){},destination:void 0,newWindow:!1,close:!1,gravity:"toastify-top",positionLeft:!1,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:!0,onClick:function(){},offset:{x:0,y:0},escapeMarkup:!0,ariaLive:"polite",style:{background:""}},t.lib=t.prototype={toastify:r,constructor:t,init:function(n){return n||(n={}),this.options={},this.toastElement=null,this.options.text=n.text||t.defaults.text,this.options.node=n.node||t.defaults.node,this.options.duration=n.duration===0?0:n.duration||t.defaults.duration,this.options.selector=n.selector||t.defaults.selector,this.options.callback=n.callback||t.defaults.callback,this.options.destination=n.destination||t.defaults.destination,this.options.newWindow=n.newWindow||t.defaults.newWindow,this.options.close=n.close||t.defaults.close,this.options.gravity=n.gravity==="bottom"?"toastify-bottom":t.defaults.gravity,this.options.positionLeft=n.positionLeft||t.defaults.positionLeft,this.options.position=n.position||t.defaults.position,this.options.backgroundColor=n.backgroundColor||t.defaults.backgroundColor,this.options.avatar=n.avatar||t.defaults.avatar,this.options.className=n.className||t.defaults.className,this.options.stopOnFocus=n.stopOnFocus===void 0?t.defaults.stopOnFocus:n.stopOnFocus,this.options.onClick=n.onClick||t.defaults.onClick,this.options.offset=n.offset||t.defaults.offset,this.options.escapeMarkup=n.escapeMarkup!==void 0?n.escapeMarkup:t.defaults.escapeMarkup,this.options.ariaLive=n.ariaLive||t.defaults.ariaLive,this.options.style=n.style||t.defaults.style,n.backgroundColor&&(this.options.style.background=n.backgroundColor),this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var n=document.createElement("div");n.className="toastify on "+this.options.className,this.options.position?n.className+=" toastify-"+this.options.position:this.options.positionLeft===!0?(n.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):n.className+=" toastify-right",n.className+=" "+this.options.gravity,this.options.backgroundColor&&console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.');for(var o in this.options.style)n.style[o]=this.options.style[o];if(this.options.ariaLive&&n.setAttribute("aria-live",this.options.ariaLive),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)n.appendChild(this.options.node);else if(this.options.escapeMarkup?n.innerText=this.options.text:n.innerHTML=this.options.text,this.options.avatar!==""){var a=document.createElement("img");a.src=this.options.avatar,a.className="toastify-avatar",this.options.position=="left"||this.options.positionLeft===!0?n.appendChild(a):n.insertAdjacentElement("afterbegin",a)}if(this.options.close===!0){var c=document.createElement("button");c.type="button",c.setAttribute("aria-label","Close"),c.className="toast-close",c.innerHTML="&#10006;",c.addEventListener("click",function(g){g.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var l=window.innerWidth>0?window.innerWidth:screen.width;(this.options.position=="left"||this.options.positionLeft===!0)&&l>360?n.insertAdjacentElement("afterbegin",c):n.appendChild(c)}if(this.options.stopOnFocus&&this.options.duration>0){var f=this;n.addEventListener("mouseover",function(g){window.clearTimeout(n.timeOutValue)}),n.addEventListener("mouseleave",function(){n.timeOutValue=window.setTimeout(function(){f.removeElement(n)},f.options.duration)})}if(typeof this.options.destination<"u"&&n.addEventListener("click",function(g){g.stopPropagation(),this.options.newWindow===!0?window.open(this.options.destination,"_blank"):window.location=this.options.destination}.bind(this)),typeof this.options.onClick=="function"&&typeof this.options.destination>"u"&&n.addEventListener("click",function(g){g.stopPropagation(),this.options.onClick()}.bind(this)),typeof this.options.offset=="object"){var d=i("x",this.options),v=i("y",this.options),u=this.options.position=="left"?d:"-"+d,w=this.options.gravity=="toastify-top"?v:"-"+v;n.style.transform="translate("+u+","+w+")"}return n},showToast:function(){this.toastElement=this.buildToast();var n;if(typeof this.options.selector=="string"?n=document.getElementById(this.options.selector):this.options.selector instanceof HTMLElement||typeof ShadowRoot<"u"&&this.options.selector instanceof ShadowRoot?n=this.options.selector:n=document.body,!n)throw"Root element is not defined";var o=t.defaults.oldestFirst?n.firstChild:n.lastChild;return n.insertBefore(this.toastElement,o),t.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout(function(){this.removeElement(this.toastElement)}.bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(n){n.className=n.className.replace(" on",""),window.setTimeout(function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),n.parentNode&&n.parentNode.removeChild(n),this.options.callback.call(n),t.reposition()}.bind(this),400)}},t.reposition=function(){for(var n={top:15,bottom:15},o={top:15,bottom:15},a={top:15,bottom:15},c=document.getElementsByClassName("toastify"),l,f=0;f<c.length;f++){s(c[f],"toastify-top")===!0?l="toastify-top":l="toastify-bottom";var d=c[f].offsetHeight;l=l.substr(9,l.length-1);var v=15,u=window.innerWidth>0?window.innerWidth:screen.width;u<=360?(c[f].style[l]=a[l]+"px",a[l]+=d+v):s(c[f],"toastify-left")===!0?(c[f].style[l]=n[l]+"px",n[l]+=d+v):(c[f].style[l]=o[l]+"px",o[l]+=d+v)}return this};function i(n,o){return o.offset[n]?isNaN(o.offset[n])?o.offset[n]:o.offset[n]+"px":"0px"}function s(n,o){return!n||typeof o!="string"?!1:!!(n.className&&n.className.trim().split(/\s+/gi).indexOf(o)>-1)}return t.lib.init.prototype=t.lib,t})});var fr=b((hk,ea)=>{"use strict";ea.exports=function(e,t){t||(t={}),typeof t=="function"&&(t={cmp:t});var r=typeof t.cycles=="boolean"?t.cycles:!1,i=t.cmp&&function(n){return function(o){return function(a,c){var l={key:a,value:o[a]},f={key:c,value:o[c]};return n(l,f)}}}(t.cmp),s=[];return function n(o){if(o&&o.toJSON&&typeof o.toJSON=="function"&&(o=o.toJSON()),o!==void 0){if(typeof o=="number")return isFinite(o)?""+o:"null";if(typeof o!="object")return JSON.stringify(o);var a,c;if(Array.isArray(o)){for(c="[",a=0;a<o.length;a++)a&&(c+=","),c+=n(o[a])||"null";return c+"]"}if(o===null)return"null";if(s.indexOf(o)!==-1){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var l=s.push(o)-1,f=Object.keys(o).sort(i&&i(o));for(c="",a=0;a<f.length;a++){var d=f[a],v=n(o[d]);v&&(c&&(c+=","),c+=JSON.stringify(d)+":"+v)}return s.splice(l,1),"{"+c+"}"}}(e)}});var ta=b(()=>{});var de=b((ti,ra)=>{(function(e,t){typeof ti=="object"?ra.exports=ti=t():typeof define=="function"&&define.amd?define([],t):e.CryptoJS=t()})(ti,function(){var e=e||function(t,r){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof global<"u"&&global.crypto&&(i=global.crypto),!i&&typeof Zo=="function")try{i=ta()}catch{}var s=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},n=Object.create||function(){function h(){}return function(p){var m;return h.prototype=p,m=new h,h.prototype=null,m}}(),o={},a=o.lib={},c=a.Base=function(){return{extend:function(h){var p=n(this);return h&&p.mixIn(h),(!p.hasOwnProperty("init")||this.init===p.init)&&(p.init=function(){p.$super.init.apply(this,arguments)}),p.init.prototype=p,p.$super=this,p},create:function(){var h=this.extend();return h.init.apply(h,arguments),h},init:function(){},mixIn:function(h){for(var p in h)h.hasOwnProperty(p)&&(this[p]=h[p]);h.hasOwnProperty("toString")&&(this.toString=h.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),l=a.WordArray=c.extend({init:function(h,p){h=this.words=h||[],p!=r?this.sigBytes=p:this.sigBytes=h.length*4},toString:function(h){return(h||d).stringify(this)},concat:function(h){var p=this.words,m=h.words,y=this.sigBytes,E=h.sigBytes;if(this.clamp(),y%4)for(var x=0;x<E;x++){var k=m[x>>>2]>>>24-x%4*8&255;p[y+x>>>2]|=k<<24-(y+x)%4*8}else for(var I=0;I<E;I+=4)p[y+I>>>2]=m[I>>>2];return this.sigBytes+=E,this},clamp:function(){var h=this.words,p=this.sigBytes;h[p>>>2]&=4294967295<<32-p%4*8,h.length=t.ceil(p/4)},clone:function(){var h=c.clone.call(this);return h.words=this.words.slice(0),h},random:function(h){for(var p=[],m=0;m<h;m+=4)p.push(s());return new l.init(p,h)}}),f=o.enc={},d=f.Hex={stringify:function(h){for(var p=h.words,m=h.sigBytes,y=[],E=0;E<m;E++){var x=p[E>>>2]>>>24-E%4*8&255;y.push((x>>>4).toString(16)),y.push((x&15).toString(16))}return y.join("")},parse:function(h){for(var p=h.length,m=[],y=0;y<p;y+=2)m[y>>>3]|=parseInt(h.substr(y,2),16)<<24-y%8*4;return new l.init(m,p/2)}},v=f.Latin1={stringify:function(h){for(var p=h.words,m=h.sigBytes,y=[],E=0;E<m;E++){var x=p[E>>>2]>>>24-E%4*8&255;y.push(String.fromCharCode(x))}return y.join("")},parse:function(h){for(var p=h.length,m=[],y=0;y<p;y++)m[y>>>2]|=(h.charCodeAt(y)&255)<<24-y%4*8;return new l.init(m,p)}},u=f.Utf8={stringify:function(h){try{return decodeURIComponent(escape(v.stringify(h)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(h){return v.parse(unescape(encodeURIComponent(h)))}},w=a.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(h){typeof h=="string"&&(h=u.parse(h)),this._data.concat(h),this._nDataBytes+=h.sigBytes},_process:function(h){var p,m=this._data,y=m.words,E=m.sigBytes,x=this.blockSize,k=x*4,I=E/k;h?I=t.ceil(I):I=t.max((I|0)-this._minBufferSize,0);var A=I*x,N=t.min(A*4,E);if(A){for(var S=0;S<A;S+=x)this._doProcessBlock(y,S);p=y.splice(0,A),m.sigBytes-=N}return new l.init(p,N)},clone:function(){var h=c.clone.call(this);return h._data=this._data.clone(),h},_minBufferSize:0}),g=a.Hasher=w.extend({cfg:c.extend(),init:function(h){this.cfg=this.cfg.extend(h),this.reset()},reset:function(){w.reset.call(this),this._doReset()},update:function(h){return this._append(h),this._process(),this},finalize:function(h){h&&this._append(h);var p=this._doFinalize();return p},blockSize:512/32,_createHelper:function(h){return function(p,m){return new h.init(m).finalize(p)}},_createHmacHelper:function(h){return function(p,m){return new _.HMAC.init(h,m).finalize(p)}}}),_=o.algo={};return o}(Math);return e})});var ii=b((ri,ia)=>{(function(e,t){typeof ri=="object"?ia.exports=ri=t(de()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(ri,function(e){return function(){if(typeof ArrayBuffer=="function"){var t=e,r=t.lib,i=r.WordArray,s=i.init,n=i.init=function(o){if(o instanceof ArrayBuffer&&(o=new Uint8Array(o)),(o instanceof Int8Array||typeof Uint8ClampedArray<"u"&&o instanceof Uint8ClampedArray||o instanceof Int16Array||o instanceof Uint16Array||o instanceof Int32Array||o instanceof Uint32Array||o instanceof Float32Array||o instanceof Float64Array)&&(o=new Uint8Array(o.buffer,o.byteOffset,o.byteLength)),o instanceof Uint8Array){for(var a=o.byteLength,c=[],l=0;l<a;l++)c[l>>>2]|=o[l]<<24-l%4*8;s.call(this,c,a)}else s.apply(this,arguments)};n.prototype=i}}(),e.lib.WordArray})});var hr=b((ni,na)=>{(function(e,t){typeof ni=="object"?na.exports=ni=t(de()):typeof define=="function"&&define.amd?define(["./core"],t):t(e.CryptoJS)})(ni,function(e){return function(t){var r=e,i=r.lib,s=i.WordArray,n=i.Hasher,o=r.algo,a=[],c=[];(function(){function d(g){for(var _=t.sqrt(g),h=2;h<=_;h++)if(!(g%h))return!1;return!0}function v(g){return(g-(g|0))*4294967296|0}for(var u=2,w=0;w<64;)d(u)&&(w<8&&(a[w]=v(t.pow(u,1/2))),c[w]=v(t.pow(u,1/3)),w++),u++})();var l=[],f=o.SHA256=n.extend({_doReset:function(){this._hash=new s.init(a.slice(0))},_doProcessBlock:function(d,v){for(var u=this._hash.words,w=u[0],g=u[1],_=u[2],h=u[3],p=u[4],m=u[5],y=u[6],E=u[7],x=0;x<64;x++){if(x<16)l[x]=d[v+x]|0;else{var k=l[x-15],I=(k<<25|k>>>7)^(k<<14|k>>>18)^k>>>3,A=l[x-2],N=(A<<15|A>>>17)^(A<<13|A>>>19)^A>>>10;l[x]=I+l[x-7]+N+l[x-16]}var S=p&m^~p&y,C=w&g^w&_^g&_,q=(w<<30|w>>>2)^(w<<19|w>>>13)^(w<<10|w>>>22),O=(p<<26|p>>>6)^(p<<21|p>>>11)^(p<<7|p>>>25),F=E+O+S+c[x]+l[x],B=q+C;E=y,y=m,m=p,p=h+F|0,h=_,_=g,g=w,w=F+B|0}u[0]=u[0]+w|0,u[1]=u[1]+g|0,u[2]=u[2]+_|0,u[3]=u[3]+h|0,u[4]=u[4]+p|0,u[5]=u[5]+m|0,u[6]=u[6]+y|0,u[7]=u[7]+E|0},_doFinalize:function(){var d=this._data,v=d.words,u=this._nDataBytes*8,w=d.sigBytes*8;return v[w>>>5]|=128<<24-w%32,v[(w+64>>>9<<4)+14]=t.floor(u/4294967296),v[(w+64>>>9<<4)+15]=u,d.sigBytes=v.length*4,this._process(),this._hash},clone:function(){var d=n.clone.call(this);return d._hash=this._hash.clone(),d}});r.SHA256=n._createHelper(f),r.HmacSHA256=n._createHmacHelper(f)}(Math),e.SHA256})});var Ma=b((Ok,Da)=>{"use strict";function N_(e){return e!==e}Da.exports=N_});var ie=b(($k,Ra)=>{"use strict";var D_=Ma();Ra.exports=D_});var Pa=b((Nk,La)=>{"use strict";var M_=Math.sqrt;La.exports=M_});var gr=b((Dk,qa)=>{"use strict";var R_=Pa();qa.exports=R_});var ci=b((Mk,Fa)=>{"use strict";var L_=.7853981633974483;Fa.exports=L_});var Ba=b((Rk,za)=>{"use strict";function P_(e){var t,r,i;return e===0?.16666666666666713:(e<0?t=-e:t=e,t<=1?(r=-8.198089802484825+e*(19.562619833175948+e*(-16.262479672107002+e*(5.444622390564711+e*(-.6019598008014124+e*.004253011369004428)))),i=-49.18853881490881+e*(139.51056146574857+e*(-147.1791292232726+e*(70.49610280856842+e*(-14.740913729888538+e*1))))):(e=1/e,r=.004253011369004428+e*(-.6019598008014124+e*(5.444622390564711+e*(-16.262479672107002+e*(19.562619833175948+e*-8.198089802484825)))),i=1+e*(-14.740913729888538+e*(70.49610280856842+e*(-147.1791292232726+e*(139.51056146574857+e*-49.18853881490881))))),r/i)}za.exports=P_});var Ua=b((Lk,Ha)=>{"use strict";function q_(e){var t,r,i;return e===0?.08333333333333809:(e<0?t=-e:t=e,t<=1?(r=28.536655482610616+e*(-25.56901049652825+e*(6.968710824104713+e*(-.5634242780008963+e*.002967721961301243))),i=342.43986579130785+e*(-383.8770957603691+e*(147.0656354026815+e*(-21.947795316429207+e*1)))):(e=1/e,r=.002967721961301243+e*(-.5634242780008963+e*(6.968710824104713+e*(-25.56901049652825+e*28.536655482610616))),i=1+e*(-21.947795316429207+e*(147.0656354026815+e*(-383.8770957603691+e*342.43986579130785)))),r/i)}Ha.exports=q_});var Za=b((Pk,ja)=>{"use strict";var F_=ie(),z_=gr(),Wa=ci(),B_=Ba(),H_=Ua(),U_=6123233995736766e-32;function W_(e){var t,r,i,s,n;if(F_(e))return NaN;if(e>0?i=e:(t=!0,i=-e),i>1)return NaN;if(i>.625)r=1-i,s=r*H_(r),r=z_(r+r),n=Wa-r,r=r*s-U_,n-=r,n+=Wa;else{if(i<1e-8)return e;r=i*i,n=r*B_(r),n=i*n+i}return t?-n:n}ja.exports=W_});var $n=b((qk,Ga)=>{"use strict";var j_=Za();Ga.exports=j_});var Ya=b((Fk,Xa)=>{"use strict";var Z_=ie(),Va=$n(),G_=gr(),Ka=ci(),V_=6123233995736766e-32;function K_(e){var t;return Z_(e)?NaN:e<-1||e>1?NaN:e>.5?2*Va(G_(.5-.5*e)):(t=Ka-Va(e),t+=V_,t+=Ka,t)}Xa.exports=K_});var Qa=b((zk,Ja)=>{"use strict";var X_=Ya();Ja.exports=X_});var tl=b((Bk,el)=>{"use strict";function Y_(){return typeof Symbol=="function"&&typeof Symbol("foo")=="symbol"}el.exports=Y_});var il=b((Hk,rl)=>{"use strict";var J_=tl();rl.exports=J_});var sl=b((Uk,nl)=>{"use strict";var Q_=il(),em=Q_();function tm(){return em&&typeof Symbol.toStringTag=="symbol"}nl.exports=tm});var al=b((Wk,ol)=>{"use strict";var rm=sl();ol.exports=rm});var Nn=b((jk,ll)=>{"use strict";var im=Object.prototype.toString;ll.exports=im});var fl=b((Zk,cl)=>{"use strict";var nm=Nn();function sm(e){return nm.call(e)}cl.exports=sm});var ul=b((Gk,hl)=>{"use strict";var om=Object.prototype.hasOwnProperty;function am(e,t){return e==null?!1:om.call(e,t)}hl.exports=am});var pl=b((Vk,dl)=>{"use strict";var lm=ul();dl.exports=lm});var vl=b((Kk,gl)=>{"use strict";var cm=typeof Symbol=="function"?Symbol:void 0;gl.exports=cm});var ml=b((Xk,_l)=>{"use strict";var fm=vl();_l.exports=fm});var bl=b((Yk,wl)=>{"use strict";var yl=ml(),hm=typeof yl=="function"?yl.toStringTag:"";wl.exports=hm});var El=b((Jk,Sl)=>{"use strict";var um=pl(),vr=bl(),Dn=Nn();function dm(e){var t,r,i;if(e==null)return Dn.call(e);r=e[vr],t=um(e,vr);try{e[vr]=void 0}catch{return Dn.call(e)}return i=Dn.call(e),t?e[vr]=r:delete e[vr],i}Sl.exports=dm});var _r=b((Qk,xl)=>{"use strict";var pm=al(),gm=fl(),vm=El(),Mn;pm()?Mn=vm:Mn=gm;xl.exports=Mn});var Al=b((eA,kl)=>{"use strict";var _m=_r(),mm=typeof Uint32Array=="function";function ym(e){return mm&&e instanceof Uint32Array||_m(e)==="[object Uint32Array]"}kl.exports=ym});var Il=b((tA,Tl)=>{"use strict";var wm=Al();Tl.exports=wm});var Ol=b((rA,Cl)=>{"use strict";var bm=4294967295;Cl.exports=bm});var Nl=b((iA,$l)=>{"use strict";var Sm=typeof Uint32Array=="function"?Uint32Array:null;$l.exports=Sm});var Rl=b((nA,Ml)=>{"use strict";var Em=Il(),Rn=Ol(),Dl=Nl();function xm(){var e,t;if(typeof Dl!="function")return!1;try{t=[1,3.14,-3.14,Rn+1,Rn+2],t=new Dl(t),e=Em(t)&&t[0]===1&&t[1]===3&&t[2]===Rn-2&&t[3]===0&&t[4]===1}catch{e=!1}return e}Ml.exports=xm});var Pl=b((sA,Ll)=>{"use strict";var km=Rl();Ll.exports=km});var Fl=b((oA,ql)=>{"use strict";var Am=typeof Uint32Array=="function"?Uint32Array:void 0;ql.exports=Am});var Bl=b((aA,zl)=>{"use strict";function Tm(){throw new Error("not implemented")}zl.exports=Tm});var yt=b((lA,Hl)=>{"use strict";var Im=Pl(),Cm=Fl(),Om=Bl(),Ln;Im()?Ln=Cm:Ln=Om;Hl.exports=Ln});var Wl=b((cA,Ul)=>{"use strict";var $m=_r(),Nm=typeof Float64Array=="function";function Dm(e){return Nm&&e instanceof Float64Array||$m(e)==="[object Float64Array]"}Ul.exports=Dm});var Zl=b((fA,jl)=>{"use strict";var Mm=Wl();jl.exports=Mm});var Vl=b((hA,Gl)=>{"use strict";var Rm=typeof Float64Array=="function"?Float64Array:null;Gl.exports=Rm});var Yl=b((uA,Xl)=>{"use strict";var Lm=Zl(),Kl=Vl();function Pm(){var e,t;if(typeof Kl!="function")return!1;try{t=new Kl([1,3.14,-3.14,NaN]),e=Lm(t)&&t[0]===1&&t[1]===3.14&&t[2]===-3.14&&t[3]!==t[3]}catch{e=!1}return e}Xl.exports=Pm});var Ql=b((dA,Jl)=>{"use strict";var qm=Yl();Jl.exports=qm});var tc=b((pA,ec)=>{"use strict";var Fm=typeof Float64Array=="function"?Float64Array:void 0;ec.exports=Fm});var ic=b((gA,rc)=>{"use strict";function zm(){throw new Error("not implemented")}rc.exports=zm});var wt=b((vA,nc)=>{"use strict";var Bm=Ql(),Hm=tc(),Um=ic(),Pn;Bm()?Pn=Hm:Pn=Um;nc.exports=Pn});var oc=b((_A,sc)=>{"use strict";var Wm=_r(),jm=typeof Uint8Array=="function";function Zm(e){return jm&&e instanceof Uint8Array||Wm(e)==="[object Uint8Array]"}sc.exports=Zm});var lc=b((mA,ac)=>{"use strict";var Gm=oc();ac.exports=Gm});var fc=b((yA,cc)=>{"use strict";var Vm=255;cc.exports=Vm});var uc=b((wA,hc)=>{"use strict";var Km=typeof Uint8Array=="function"?Uint8Array:null;hc.exports=Km});var gc=b((bA,pc)=>{"use strict";var Xm=lc(),qn=fc(),dc=uc();function Ym(){var e,t;if(typeof dc!="function")return!1;try{t=[1,3.14,-3.14,qn+1,qn+2],t=new dc(t),e=Xm(t)&&t[0]===1&&t[1]===3&&t[2]===qn-2&&t[3]===0&&t[4]===1}catch{e=!1}return e}pc.exports=Ym});var _c=b((SA,vc)=>{"use strict";var Jm=gc();vc.exports=Jm});var yc=b((EA,mc)=>{"use strict";var Qm=typeof Uint8Array=="function"?Uint8Array:void 0;mc.exports=Qm});var bc=b((xA,wc)=>{"use strict";function ey(){throw new Error("not implemented")}wc.exports=ey});var Ec=b((kA,Sc)=>{"use strict";var ty=_c(),ry=yc(),iy=bc(),Fn;ty()?Fn=ry:Fn=iy;Sc.exports=Fn});var kc=b((AA,xc)=>{"use strict";var ny=_r(),sy=typeof Uint16Array=="function";function oy(e){return sy&&e instanceof Uint16Array||ny(e)==="[object Uint16Array]"}xc.exports=oy});var Tc=b((TA,Ac)=>{"use strict";var ay=kc();Ac.exports=ay});var Cc=b((IA,Ic)=>{"use strict";var ly=65535;Ic.exports=ly});var $c=b((CA,Oc)=>{"use strict";var cy=typeof Uint16Array=="function"?Uint16Array:null;Oc.exports=cy});var Mc=b((OA,Dc)=>{"use strict";var fy=Tc(),zn=Cc(),Nc=$c();function hy(){var e,t;if(typeof Nc!="function")return!1;try{t=[1,3.14,-3.14,zn+1,zn+2],t=new Nc(t),e=fy(t)&&t[0]===1&&t[1]===3&&t[2]===zn-2&&t[3]===0&&t[4]===1}catch{e=!1}return e}Dc.exports=hy});var Lc=b(($A,Rc)=>{"use strict";var uy=Mc();Rc.exports=uy});var qc=b((NA,Pc)=>{"use strict";var dy=typeof Uint16Array=="function"?Uint16Array:void 0;Pc.exports=dy});var zc=b((DA,Fc)=>{"use strict";function py(){throw new Error("not implemented")}Fc.exports=py});var Hc=b((MA,Bc)=>{"use strict";var gy=Lc(),vy=qc(),_y=zc(),Bn;gy()?Bn=vy:Bn=_y;Bc.exports=Bn});var Wc=b((RA,Uc)=>{"use strict";var my=Ec(),yy=Hc(),wy={uint16:yy,uint8:my};Uc.exports=wy});var Vc=b((LA,Gc)=>{"use strict";var jc=Wc(),Zc;function by(){var e,t;return e=new jc.uint16(1),e[0]=4660,t=new jc.uint8(e.buffer),t[0]===52}Zc=by();Gc.exports=Zc});var bt=b((PA,Kc)=>{"use strict";var Sy=Vc();Kc.exports=Sy});var Yc=b((qA,Xc)=>{"use strict";var Ey=bt(),Hn;Ey===!0?Hn=1:Hn=0;Xc.exports=Hn});var ef=b((FA,Qc)=>{"use strict";var xy=yt(),ky=wt(),Ay=Yc(),Jc=new ky(1),Ty=new xy(Jc.buffer);function Iy(e){return Jc[0]=e,Ty[Ay]}Qc.exports=Iy});var ce=b((zA,tf)=>{"use strict";var Cy=ef();tf.exports=Cy});var nf=b((BA,rf)=>{"use strict";var Oy=bt(),Un;Oy===!0?Un=1:Un=0;rf.exports=Un});var of=b((HA,sf)=>{"use strict";var $y=yt(),Ny=wt(),Dy=nf(),Wn=new Ny(1),My=new $y(Wn.buffer);function Ry(e,t){return Wn[0]=e,My[Dy]=t>>>0,Wn[0]}sf.exports=Ry});var St=b((UA,af)=>{"use strict";var Ly=of();af.exports=Ly});var $e=b((WA,lf)=>{"use strict";var Py=Number.POSITIVE_INFINITY;lf.exports=Py});var ff=b((jA,cf)=>{"use strict";cf.exports=Number});var uf=b((ZA,hf)=>{"use strict";var qy=ff();hf.exports=qy});var Ee=b((GA,df)=>{"use strict";var Fy=uf(),zy=Fy.NEGATIVE_INFINITY;df.exports=zy});var et=b((VA,pf)=>{"use strict";var By=1023;pf.exports=By});var vf=b((KA,gf)=>{"use strict";function Hy(e){return e===0?.6666666666666735:.6666666666666735+e*(.3999999999940942+e*(.2857142874366239+e*(.22222198432149784+e*(.1818357216161805+e*(.15313837699209373+e*.14798198605116586)))))}gf.exports=Hy});var bf=b((XA,wf)=>{"use strict";var Uy=ie(),_f=ce(),mf=St(),Wy=$e(),jy=Ee(),yf=et(),Zy=vf(),jn=.6931471803691238,Zn=19082149292705877e-26,Gy=.41421356237309503,Vy=-.2928932188134525,Ky=1862645149230957e-24,Xy=5551115123125783e-32,Yy=9007199254740992,Jy=.6666666666666666;function Qy(e){var t,r,i,s,n,o,a,c,l,f;if(e<-1||Uy(e))return NaN;if(e===-1)return jy;if(e===Wy||e===0)return e;if(e<0?i=-e:i=e,f=1,i<Gy){if(i<Ky)return i<Xy?e:e-e*e*.5;e>Vy&&(f=0,s=e,r=1)}return f!==0&&(i<Yy?(l=1+e,r=_f(l),f=(r>>20)-yf,f>0?n=1-(l-e):n=e-(l-1),n/=l):(l=e,r=_f(l),f=(r>>20)-yf,n=0),r&=1048575,r<434334?l=mf(l,r|1072693248):(f+=1,l=mf(l,r|1071644672),r=1048576-r>>2),s=l-1),t=.5*s*s,r===0?s===0?(n+=f*Zn,f*jn+n):(c=t*(1-Jy*s),f*jn-(c-(f*Zn+n)-s)):(o=s/(2+s),a=o*o,c=a*Zy(a),f===0?s-(t-o*(t+c)):f*jn-(t-(o*(t+c)+(f*Zn+n))-s))}wf.exports=Qy});var mr=b((YA,Sf)=>{"use strict";var ew=bf();Sf.exports=ew});var fi=b((JA,Ef)=>{"use strict";var tw=.6931471805599453;Ef.exports=tw});var kf=b((QA,xf)=>{"use strict";function rw(e){return e===0?.3999999999940942:.3999999999940942+e*(.22222198432149784+e*.15313837699209373)}xf.exports=rw});var Tf=b((eT,Af)=>{"use strict";function iw(e){return e===0?.6666666666666735:.6666666666666735+e*(.2857142874366239+e*(.1818357216161805+e*.14798198605116586))}Af.exports=iw});var $f=b((tT,Of)=>{"use strict";var If=ce(),nw=St(),sw=ie(),ow=et(),aw=Ee(),lw=kf(),cw=Tf(),hi=.6931471803691238,ui=19082149292705877e-26,fw=0x40000000000000,hw=.3333333333333333,Cf=1048575,uw=2146435072,dw=1048576,pw=1072693248;function gw(e){var t,r,i,s,n,o,a,c,l,f,d,v;return e===0?aw:sw(e)||e<0?NaN:(r=If(e),n=0,r<dw&&(n-=54,e*=fw,r=If(e)),r>=uw?e+e:(n+=(r>>20)-ow|0,r&=Cf,c=r+614244&1048576|0,e=nw(e,r|c^pw),n+=c>>20|0,a=e-1,(Cf&2+r)<3?a===0?n===0?0:n*hi+n*ui:(o=a*a*(.5-hw*a),n===0?a-o:n*hi-(o-n*ui-a)):(f=a/(2+a),v=f*f,c=r-398458|0,d=v*v,l=440401-r|0,s=d*lw(d),i=v*cw(d),c|=l,o=i+s,c>0?(t=.5*a*a,n===0?a-(t-f*(t+o)):n*hi-(t-(f*(t+o)+n*ui)-a)):n===0?a-f*(a-o):n*hi-(f*(a-o)-n*ui-a))))}Of.exports=gw});var di=b((rT,Nf)=>{"use strict";var vw=$f();Nf.exports=vw});var Lf=b((iT,Rf)=>{"use strict";var _w=ie(),mw=mr(),Df=gr(),yw=fi(),Mf=di(),ww=1<<28;function bw(e){var t;return _w(e)||e<1?NaN:e===1?0:e>=ww?Mf(e)+yw:e>2?Mf(2*e-1/(e+Df(e*e-1))):(t=e-1,mw(t+Df(2*t+t*t)))}Rf.exports=bw});var qf=b((nT,Pf)=>{"use strict";var Sw=Lf();Pf.exports=Sw});var zf=b((sT,Ff)=>{"use strict";var Ew=$e(),xw=Ee();function kw(e){return e===Ew||e===xw}Ff.exports=kw});var jt=b((oT,Bf)=>{"use strict";var Aw=zf();Bf.exports=Aw});var jf=b((aT,Wf)=>{"use strict";var Tw=jt(),Iw=ie(),Cw=mr(),Hf=gr(),Ow=fi(),Uf=di(),$w=1/(1<<28),Nw=1<<28;function Dw(e){var t,r,i;return Iw(e)||Tw(e)?e:(e<0&&(e=-e,t=!0),e<$w?i=e:e>Nw?i=Uf(e)+Ow:e>2?i=Uf(2*e+1/(Hf(e*e+1)+e)):(r=e*e,i=Cw(e+r/(1+Hf(1+r)))),t?-i:i)}Wf.exports=Dw});var Gf=b((lT,Zf)=>{"use strict";var Mw=jf();Zf.exports=Mw});var Kf=b((cT,Vf)=>{"use strict";var Rw=1.5707963267948966;Vf.exports=Rw});var Yf=b((fT,Xf)=>{"use strict";function Lw(e){return e===0?-64.85021904942025:-64.85021904942025+e*(-122.88666844901361+e*(-75.00855792314705+e*(-16.157537187333652+e*-.8750608600031904)))}Xf.exports=Lw});var Qf=b((hT,Jf)=>{"use strict";function Pw(e){return e===0?194.5506571482614:194.5506571482614+e*(485.3903996359137+e*(432.88106049129027+e*(165.02700983169885+e*(24.858464901423062+e*1))))}Jf.exports=Pw});var rh=b((uT,th)=>{"use strict";var qw=ie(),Fw=$e(),Gn=Kf(),zw=ci(),Bw=Ee(),Hw=Yf(),Uw=Qf(),eh=6123233995736766e-32,Ww=2.414213562373095;function jw(e){var t,r,i,s;return qw(e)||e===0?e:e===Fw?Gn:e===Bw?-Gn:(e<0&&(r=!0,e=-e),t=0,e>Ww?(i=Gn,t=1,e=-(1/e)):e<=.66?i=0:(i=zw,t=2,e=(e-1)/(e+1)),s=e*e,s=s*Hw(s)/Uw(s),s=e*s+e,t===2?s+=.5*eh:t===1&&(s+=eh),i+=s,r?-i:i)}th.exports=jw});var Vn=b((dT,ih)=>{"use strict";var Zw=rh();ih.exports=Zw});var oh=b((pT,sh)=>{"use strict";var Gw=ie(),nh=mr(),Vw=$e(),Kw=Ee(),Xw=1/(1<<28);function Yw(e){var t,r;return Gw(e)||e<-1||e>1?NaN:e===1?Vw:e===-1?Kw:(e<0&&(t=!0,e=-e),e<Xw?t?-e:e:(e<.5?(r=e+e,r=.5*nh(r+r*e/(1-e))):r=.5*nh((e+e)/(1-e)),t?-r:r))}sh.exports=Yw});var lh=b((gT,ah)=>{"use strict";var Jw=oh();ah.exports=Jw});var Kn=b((vT,ch)=>{"use strict";var Qw=2147483648;ch.exports=Qw});var ze=b((_T,fh)=>{"use strict";var e2=2147483647;fh.exports=e2});var uh=b((mT,hh)=>{"use strict";var t2=typeof Object.defineProperty=="function"?Object.defineProperty:null;hh.exports=t2});var ph=b((yT,dh)=>{"use strict";var r2=uh();function i2(){try{return r2({},"x",{}),!0}catch{return!1}}dh.exports=i2});var vh=b((wT,gh)=>{"use strict";var n2=Object.defineProperty;gh.exports=n2});var Xn=b((bT,_h)=>{"use strict";function s2(e){return typeof e=="number"}_h.exports=s2});var Yn=b((ST,yh)=>{"use strict";function o2(e){return e[0]==="-"}function mh(e){var t="",r;for(r=0;r<e;r++)t+="0";return t}function a2(e,t,r){var i=!1,s=t-e.length;return s<0||(o2(e)&&(i=!0,e=e.substr(1)),e=r?e+mh(s):mh(s)+e,i&&(e="-"+e)),e}yh.exports=a2});var Eh=b((ET,Sh)=>{"use strict";var l2=Xn(),wh=Yn(),c2=String.prototype.toLowerCase,bh=String.prototype.toUpperCase;function f2(e){var t,r,i;switch(e.specifier){case"b":t=2;break;case"o":t=8;break;case"x":case"X":t=16;break;case"d":case"i":case"u":default:t=10;break}if(r=e.arg,i=parseInt(r,10),!isFinite(i)){if(!l2(r))throw new Error("invalid integer. Value: "+r);i=0}return i<0&&(e.specifier==="u"||t!==10)&&(i=4294967295+i+1),i<0?(r=(-i).toString(t),e.precision&&(r=wh(r,e.precision,e.padRight)),r="-"+r):(r=i.toString(t),!i&&!e.precision?r="":e.precision&&(r=wh(r,e.precision,e.padRight)),e.sign&&(r=e.sign+r)),t===16&&(e.alternate&&(r="0x"+r),r=e.specifier===bh.call(e.specifier)?bh.call(r):c2.call(r)),t===8&&e.alternate&&r.charAt(0)!=="0"&&(r="0"+r),r}Sh.exports=f2});var kh=b((xT,xh)=>{"use strict";function h2(e){return typeof e=="string"}xh.exports=h2});var Ih=b((kT,Th)=>{"use strict";var u2=Xn(),d2=Math.abs,p2=String.prototype.toLowerCase,Ah=String.prototype.toUpperCase,Et=String.prototype.replace,g2=/e\+(\d)$/,v2=/e-(\d)$/,_2=/^(\d+)$/,m2=/^(\d+)e/,y2=/\.0$/,w2=/\.0*e/,b2=/(\..*[^0])0*e/;function S2(e){var t,r,i=parseFloat(e.arg);if(!isFinite(i)){if(!u2(e.arg))throw new Error("invalid floating-point number. Value: "+r);i=e.arg}switch(e.specifier){case"e":case"E":r=i.toExponential(e.precision);break;case"f":case"F":r=i.toFixed(e.precision);break;case"g":case"G":d2(i)<1e-4?(t=e.precision,t>0&&(t-=1),r=i.toExponential(t)):r=i.toPrecision(e.precision),e.alternate||(r=Et.call(r,b2,"$1e"),r=Et.call(r,w2,"e"),r=Et.call(r,y2,""));break;default:throw new Error("invalid double notation. Value: "+e.specifier)}return r=Et.call(r,g2,"e+0$1"),r=Et.call(r,v2,"e-0$1"),e.alternate&&(r=Et.call(r,_2,"$1."),r=Et.call(r,m2,"$1.e")),i>=0&&e.sign&&(r=e.sign+r),r=e.specifier===Ah.call(e.specifier)?Ah.call(r):p2.call(r),r}Th.exports=S2});var $h=b((AT,Oh)=>{"use strict";function Ch(e){var t="",r;for(r=0;r<e;r++)t+=" ";return t}function E2(e,t,r){var i=t-e.length;return i<0||(e=r?e+Ch(i):Ch(i)+e),e}Oh.exports=E2});var Dh=b((TT,Nh)=>{"use strict";var x2=Eh(),k2=kh(),A2=Ih(),T2=$h(),I2=Yn(),C2=String.fromCharCode,O2=Array.isArray;function pi(e){return e!==e}function $2(e){var t={};return t.specifier=e.specifier,t.precision=e.precision===void 0?1:e.precision,t.width=e.width,t.flags=e.flags||"",t.mapping=e.mapping,t}function N2(e){var t,r,i,s,n,o,a,c,l;if(!O2(e))throw new TypeError("invalid argument. First argument must be an array. Value: `"+e+"`.");for(o="",a=1,c=0;c<e.length;c++)if(i=e[c],k2(i))o+=i;else{if(t=i.precision!==void 0,i=$2(i),!i.specifier)throw new TypeError("invalid argument. Token is missing `specifier` property. Index: `"+c+"`. Value: `"+i+"`.");for(i.mapping&&(a=i.mapping),r=i.flags,l=0;l<r.length;l++)switch(s=r.charAt(l),s){case" ":i.sign=" ";break;case"+":i.sign="+";break;case"-":i.padRight=!0,i.padZeros=!1;break;case"0":i.padZeros=r.indexOf("-")<0;break;case"#":i.alternate=!0;break;default:throw new Error("invalid flag: "+s)}if(i.width==="*"){if(i.width=parseInt(arguments[a],10),a+=1,pi(i.width))throw new TypeError("the argument for * width at position "+a+" is not a number. Value: `"+i.width+"`.");i.width<0&&(i.padRight=!0,i.width=-i.width)}if(t&&i.precision==="*"){if(i.precision=parseInt(arguments[a],10),a+=1,pi(i.precision))throw new TypeError("the argument for * precision at position "+a+" is not a number. Value: `"+i.precision+"`.");i.precision<0&&(i.precision=1,t=!1)}switch(i.arg=arguments[a],i.specifier){case"b":case"o":case"x":case"X":case"d":case"i":case"u":t&&(i.padZeros=!1),i.arg=x2(i);break;case"s":i.maxWidth=t?i.precision:-1,i.arg=String(i.arg);break;case"c":if(!pi(i.arg)){if(n=parseInt(i.arg,10),n<0||n>127)throw new Error("invalid character code. Value: "+i.arg);i.arg=pi(n)?String(i.arg):C2(n)}break;case"e":case"E":case"f":case"F":case"g":case"G":t||(i.precision=6),i.arg=A2(i);break;default:throw new Error("invalid specifier: "+i.specifier)}i.maxWidth>=0&&i.arg.length>i.maxWidth&&(i.arg=i.arg.substring(0,i.maxWidth)),i.padZeros?i.arg=I2(i.arg,i.width||i.precision,i.padRight):i.width&&(i.arg=T2(i.arg,i.width,i.padRight)),o+=i.arg||"",a+=1}return o}Nh.exports=N2});var Rh=b((IT,Mh)=>{"use strict";var D2=Dh();Mh.exports=D2});var Ph=b((CT,Lh)=>{"use strict";var gi=/%(?:([1-9]\d*)\$)?([0 +\-#]*)(\*|\d+)?(?:(\.)(\*|\d+)?)?[hlL]?([%A-Za-z])/g;function M2(e){var t={mapping:e[1]?parseInt(e[1],10):void 0,flags:e[2],width:e[3],precision:e[5],specifier:e[6]};return e[4]==="."&&e[5]===void 0&&(t.precision="1"),t}function R2(e){var t,r,i,s;for(r=[],s=0,i=gi.exec(e);i;)t=e.slice(s,gi.lastIndex-i[0].length),t.length&&r.push(t),r.push(M2(i)),s=gi.lastIndex,i=gi.exec(e);return t=e.slice(s),t.length&&r.push(t),r}Lh.exports=R2});var Fh=b((OT,qh)=>{"use strict";var L2=Ph();qh.exports=L2});var Bh=b(($T,zh)=>{"use strict";function P2(e){return typeof e=="string"}zh.exports=P2});var Wh=b((NT,Uh)=>{"use strict";var q2=Rh(),F2=Fh(),z2=Bh();function Hh(e){var t,r;if(!z2(e))throw new TypeError(Hh("invalid argument. First argument must be a string. Value: `%s`.",e));for(t=[F2(e)],r=1;r<arguments.length;r++)t.push(arguments[r]);return q2.apply(null,t)}Uh.exports=Hh});var Zh=b((DT,jh)=>{"use strict";var B2=Wh();jh.exports=B2});var Jh=b((MT,Yh)=>{"use strict";var Gh=Zh(),Zt=Object.prototype,Vh=Zt.toString,Kh=Zt.__defineGetter__,Xh=Zt.__defineSetter__,H2=Zt.__lookupGetter__,U2=Zt.__lookupSetter__;function W2(e,t,r){var i,s,n,o;if(typeof e!="object"||e===null||Vh.call(e)==="[object Array]")throw new TypeError(Gh("invalid argument. First argument must be an object. Value: `%s`.",e));if(typeof r!="object"||r===null||Vh.call(r)==="[object Array]")throw new TypeError(Gh("invalid argument. Property descriptor must be an object. Value: `%s`.",r));if(s="value"in r,s&&(H2.call(e,t)||U2.call(e,t)?(i=e.__proto__,e.__proto__=Zt,delete e[t],e[t]=r.value,e.__proto__=i):e[t]=r.value),n="get"in r,o="set"in r,s&&(n||o))throw new Error("invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.");return n&&Kh&&Kh.call(e,t,r.get),o&&Xh&&Xh.call(e,t,r.set),e}Yh.exports=W2});var eu=b((RT,Qh)=>{"use strict";var j2=ph(),Z2=vh(),G2=Jh(),Jn;j2()?Jn=Z2:Jn=G2;Qh.exports=Jn});var ru=b((LT,tu)=>{"use strict";var V2=eu();function K2(e,t,r){V2(e,t,{configurable:!1,enumerable:!1,writable:!1,value:r})}tu.exports=K2});var Qn=b((PT,iu)=>{"use strict";var X2=ru();iu.exports=X2});var ou=b((qT,su)=>{"use strict";var Y2=bt(),nu,es,ts;Y2===!0?(es=1,ts=0):(es=0,ts=1);nu={HIGH:es,LOW:ts};su.exports=nu});var rs=b((FT,fu)=>{"use strict";var J2=yt(),Q2=wt(),lu=ou(),cu=new Q2(1),au=new J2(cu.buffer),eb=lu.HIGH,tb=lu.LOW;function rb(e,t,r,i){return cu[0]=e,t[i]=au[eb],t[i+r]=au[tb],t}fu.exports=rb});var uu=b((zT,hu)=>{"use strict";var ib=rs();function nb(e){return ib(e,[0,0],1,0)}hu.exports=nb});var Gt=b((BT,pu)=>{"use strict";var sb=Qn(),du=uu(),ob=rs();sb(du,"assign",ob);pu.exports=du});var _u=b((HT,vu)=>{"use strict";var ab=bt(),gu,is,ns;ab===!0?(is=1,ns=0):(is=0,ns=1);gu={HIGH:is,LOW:ns};vu.exports=gu});var Su=b((UT,bu)=>{"use strict";var lb=yt(),cb=wt(),yu=_u(),wu=new cb(1),mu=new lb(wu.buffer),fb=yu.HIGH,hb=yu.LOW;function ub(e,t){return mu[fb]=e,mu[hb]=t,wu[0]}bu.exports=ub});var Vt=b((WT,Eu)=>{"use strict";var db=Su();Eu.exports=db});var ku=b((jT,xu)=>{"use strict";var pb=Kn(),gb=ze(),vb=Gt(),_b=ce(),mb=Vt(),ss=[0,0];function yb(e,t){var r,i;return vb.assign(e,ss,1,0),r=ss[0],r&=gb,i=_b(t),i&=pb,r|=i,mb(r,ss[1])}xu.exports=yb});var os=b((ZT,Au)=>{"use strict";var wb=ku();Au.exports=wb});var Iu=b((GT,Tu)=>{"use strict";var bb=ce();function Sb(e){var t=bb(e);return!!(t>>>31)}Tu.exports=Sb});var Ou=b((VT,Cu)=>{"use strict";var Eb=Iu();Cu.exports=Eb});var Nu=b((KT,$u)=>{"use strict";var xb=3.141592653589793;$u.exports=xb});var Ru=b((XT,Mu)=>{"use strict";var vi=jt(),tt=os(),kb=Ou(),Du=ie(),Ab=Vn(),Tb=$e(),rt=Nu();function Ib(e,t){var r;return Du(t)||Du(e)?NaN:vi(t)?t===Tb?vi(e)?tt(rt/4,e):tt(0,e):vi(e)?tt(3*rt/4,e):tt(rt,e):vi(e)?tt(rt/2,e):e===0?t>=0&&!kb(t)?tt(0,e):tt(rt,e):t===0?tt(rt/2,e):(r=Ab(e/t),t<0?r<=0?r+rt:r-rt:r)}Mu.exports=Ib});var Pu=b((YT,Lu)=>{"use strict";var Cb=Ru();Lu.exports=Cb});var as=b((JT,qu)=>{"use strict";var Ob=22250738585072014e-324;qu.exports=Ob});var zu=b((QT,Fu)=>{"use strict";function $b(e){return e===0?1.87595182427177:1.87595182427177+e*(-1.8849797954337717+e*(1.6214297201053545+e*(-.758397934778766+e*.14599619288661245)))}Fu.exports=$b});var Wu=b((eI,Uu)=>{"use strict";var Nb=as(),Db=Kn(),Bu=ze(),cs=ce(),Mb=St(),Rb=jt(),Hu=Vt(),Lb=Gt(),Pb=ie(),qb=zu(),Fb=4294967295,zb=3221225472,Bb=0x40000000000000,ls=2147483648,Hb=1,Ub=715094163,Wb=696219795,jb=cs(Nb),xt=[0,0];function Zb(e){var t,r,i,s,n,o,a;return e===0||Pb(e)||Rb(e)?e:(r=cs(e)>>>0,t=(r&Db)>>>0,r&=Bu,r<jb?(o=Bb*e,i=(cs(o)&Bu)>>>0,i=(i/3>>>0)+Wb>>>0,o=Hu(t|i,0)):(o=0,i=(r/3>>>0)+Ub>>>0,o=Mb(o,t|i)),s=o*o*(o/e),o*=qb(s),Lb.assign(o,xt,1,0),xt[1]&ls?(xt[0]+=Hb,xt[1]&=~ls):xt[1]|=ls,o=Hu(xt[0]&Fb,xt[1]&zb),n=o*o,s=e/n,a=o+o,s=(s-o)/(a+s),o+=o*s,o)}Uu.exports=Zb});var Zu=b((tI,ju)=>{"use strict";var Gb=Wu();ju.exports=Gb});var Vu=b((rI,Gu)=>{"use strict";function Vb(e){return e===0?.0416666666666666:.0416666666666666+e*(-.001388888888887411+e*2480158728947673e-20)}Gu.exports=Vb});var Xu=b((iI,Ku)=>{"use strict";function Kb(e){return e===0?-27557314351390663e-23:-27557314351390663e-23+e*(2087572321298175e-24+e*-11359647557788195e-27)}Ku.exports=Kb});var Ju=b((nI,Yu)=>{"use strict";var Xb=Vu(),Yb=Xu();function Jb(e,t){var r,i,s,n;return n=e*e,s=n*n,i=n*Xb(n),i+=s*s*Yb(n),r=.5*n,s=1-r,s+(1-s-r+(n*i-e*t))}Yu.exports=Jb});var fs=b((sI,Qu)=>{"use strict";var Qb=Ju();Qu.exports=Qb});var rd=b((oI,td)=>{"use strict";var ed=-.16666666666666632,e4=.00833333333332249,t4=-.0001984126982985795,r4=27557313707070068e-22,i4=-25050760253406863e-24,n4=158969099521155e-24;function s4(e,t){var r,i,s,n;return n=e*e,s=n*n,r=e4+n*(t4+n*r4)+n*s*(i4+n*n4),i=n*e,t===0?e+i*(ed+n*r):e-(n*(.5*t-i*r)-t-i*ed)}td.exports=s4});var hs=b((aI,id)=>{"use strict";var o4=rd();id.exports=o4});var Kt=b((lI,nd)=>{"use strict";var a4=2146435072;nd.exports=a4});var _i=b((cI,sd)=>{"use strict";var l4=1048575;sd.exports=l4});var ad=b((fI,od)=>{"use strict";var c4=bt(),us;c4===!0?us=0:us=1;od.exports=us});var fd=b((hI,cd)=>{"use strict";var f4=yt(),h4=wt(),u4=ad(),ld=new h4(1),d4=new f4(ld.buffer);function p4(e){return ld[0]=e,d4[u4]}cd.exports=p4});var ud=b((uI,hd)=>{"use strict";var g4=fd();hd.exports=g4});var pd=b((dI,dd)=>{"use strict";var v4=Math.floor;dd.exports=v4});var ds=b((pI,gd)=>{"use strict";var _4=pd();gd.exports=_4});var _d=b((gI,vd)=>{"use strict";var m4=1023;vd.exports=m4});var yd=b((vI,md)=>{"use strict";var y4=-1023;md.exports=y4});var bd=b((_I,wd)=>{"use strict";var w4=-1074;wd.exports=w4});var Ed=b((mI,Sd)=>{"use strict";function b4(e){return Math.abs(e)}Sd.exports=b4});var mi=b((yI,xd)=>{"use strict";var S4=Ed();xd.exports=S4});var ps=b((wI,kd)=>{"use strict";var E4=as(),x4=jt(),k4=ie(),A4=mi(),T4=4503599627370496;function I4(e,t,r,i){return k4(e)||x4(e)?(t[i]=e,t[i+r]=0,t):e!==0&&A4(e)<E4?(t[i]=e*T4,t[i+r]=-52,t):(t[i]=e,t[i+r]=0,t)}kd.exports=I4});var Td=b((bI,Ad)=>{"use strict";var C4=ps();function O4(e){return C4(e,[0,0],1,0)}Ad.exports=O4});var Od=b((SI,Cd)=>{"use strict";var $4=Qn(),Id=Td(),N4=ps();$4(Id,"assign",N4);Cd.exports=Id});var Nd=b((EI,$d)=>{"use strict";var D4=ce(),M4=Kt(),R4=et();function L4(e){var t=D4(e);return t=(t&M4)>>>20,t-R4|0}$d.exports=L4});var Md=b((xI,Dd)=>{"use strict";var P4=Nd();Dd.exports=P4});var Ld=b((kI,Rd)=>{"use strict";var q4=$e(),F4=Ee(),z4=et(),B4=_d(),H4=yd(),U4=bd(),W4=ie(),j4=jt(),Z4=os(),G4=Od().assign,V4=Md(),K4=Gt(),X4=Vt(),Y4=2220446049250313e-31,J4=2148532223,gs=[0,0],vs=[0,0];function Q4(e,t){var r,i;return t===0||e===0||W4(e)||j4(e)?e:(G4(e,gs,1,0),e=gs[0],t+=gs[1],t+=V4(e),t<U4?Z4(0,e):t>B4?e<0?F4:q4:(t<=H4?(t+=52,i=Y4):i=1,K4.assign(e,vs,1,0),r=vs[0],r&=J4,r|=t+z4<<20,i*X4(r,vs[1])))}Rd.exports=Q4});var _s=b((AI,Pd)=>{"use strict";var e6=Ld();Pd.exports=e6});var Fd=b((TI,qd)=>{"use strict";function t6(e,t){var r,i;for(r=[],i=0;i<t;i++)r.push(e);return r}qd.exports=t6});var Bd=b((II,zd)=>{"use strict";var r6=Fd();zd.exports=r6});var Ud=b((CI,Hd)=>{"use strict";var i6=Bd();function n6(e){return i6(0,e)}Hd.exports=n6});var jd=b((OI,Wd)=>{"use strict";var s6=Ud();Wd.exports=s6});var Xd=b(($I,Kd)=>{"use strict";var o6=ds(),yi=_s(),Si=jd(),Gd=[10680707,7228996,1387004,2578385,16069853,12639074,9804092,4427841,16666979,11263675,12935607,2387514,4345298,14681673,3074569,13734428,16653803,1880361,10960616,8533493,3062596,8710556,7349940,6258241,3772886,3769171,3798172,8675211,12450088,3874808,9961438,366607,15675153,9132554,7151469,3571407,2607881,12013382,4155038,6285869,7677882,13102053,15825725,473591,9065106,15363067,6271263,9264392,5636912,4652155,7056368,13614112,10155062,1944035,9527646,15080200,6658437,6231200,6832269,16767104,5075751,3212806,1398474,7579849,6349435,12618859],a6=[1.570796251296997,7549789415861596e-23,5390302529957765e-30,3282003415807913e-37,1270655753080676e-44,12293330898111133e-52,27337005381646456e-60,21674168387780482e-67],ms=16777216,ys=5960464477539063e-23,wi=Si(20),Zd=Si(20),bi=Si(20),oe=Si(20);function Vd(e,t,r,i,s,n,o,a,c){var l,f,d,v,u,w,g,_,h;for(v=n,h=i[r],_=r,u=0;_>0;u++)f=ys*h|0,oe[u]=h-ms*f|0,h=i[_-1]+f,_-=1;if(h=yi(h,s),h-=8*o6(h*.125),g=h|0,h-=g,d=0,s>0?(u=oe[r-1]>>24-s,g+=u,oe[r-1]-=u<<24-s,d=oe[r-1]>>23-s):s===0?d=oe[r-1]>>23:h>=.5&&(d=2),d>0){for(g+=1,l=0,u=0;u<r;u++)_=oe[u],l===0?_!==0&&(l=1,oe[u]=16777216-_):oe[u]=16777215-_;if(s>0)switch(s){case 1:oe[r-1]&=8388607;break;case 2:oe[r-1]&=4194303;break}d===2&&(h=1-h,l!==0&&(h-=yi(1,s)))}if(h===0){for(_=0,u=r-1;u>=n;u--)_|=oe[u];if(_===0){for(w=1;oe[n-w]===0;w++);for(u=r+1;u<=r+w;u++){for(c[a+u]=Gd[o+u],f=0,_=0;_<=a;_++)f+=e[_]*c[a+(u-_)];i[u]=f}return r+=w,Vd(e,t,r,i,s,n,o,a,c)}for(r-=1,s-=24;oe[r]===0;)r-=1,s-=24}else h=yi(h,-s),h>=ms?(f=ys*h|0,oe[r]=h-ms*f|0,r+=1,s+=24,oe[r]=f):oe[r]=h|0;for(f=yi(1,s),u=r;u>=0;u--)i[u]=f*oe[u],f*=ys;for(u=r;u>=0;u--){for(f=0,w=0;w<=v&&w<=r-u;w++)f+=a6[w]*i[u+w];bi[r-u]=f}for(f=0,u=r;u>=0;u--)f+=bi[u];for(d===0?t[0]=f:t[0]=-f,f=bi[0]-f,u=1;u<=r;u++)f+=bi[u];return d===0?t[1]=f:t[1]=-f,g&7}function l6(e,t,r,i){var s,n,o,a,c,l,f,d,v;for(n=4,a=i-1,o=(r-3)/24|0,o<0&&(o=0),l=r-24*(o+1),d=o-a,v=a+n,f=0;f<=v;f++)d<0?wi[f]=0:wi[f]=Gd[d],d+=1;for(f=0;f<=n;f++){for(s=0,d=0;d<=a;d++)s+=e[d]*wi[a+(f-d)];Zd[f]=s}return c=n,Vd(e,t,c,Zd,l,n,o,a,wi)}Kd.exports=l6});var Jd=b((NI,Yd)=>{"use strict";var c6=Math.round;Yd.exports=c6});var e0=b((DI,Qd)=>{"use strict";var f6=Jd();Qd.exports=f6});var n0=b((MI,i0)=>{"use strict";var h6=e0(),t0=ce(),u6=.6366197723675814,d6=1.5707963267341256,p6=6077100506506192e-26,g6=6077100506303966e-26,v6=20222662487959506e-37,_6=20222662487111665e-37,m6=84784276603689e-45,r0=2047;function y6(e,t,r){var i,s,n,o,a,c,l;return s=h6(e*u6),o=e-s*d6,a=s*p6,l=t>>20|0,r[0]=o-a,i=t0(r[0]),c=l-(i>>20&r0),c>16&&(n=o,a=s*g6,o=n-a,a=s*v6-(n-o-a),r[0]=o-a,i=t0(r[0]),c=l-(i>>20&r0),c>49&&(n=o,a=s*_6,o=n-a,a=s*m6-(n-o-a),r[0]=o-a)),r[1]=o-r[0]-a,s}i0.exports=y6});var o0=b((RI,s0)=>{"use strict";var w6=ze(),b6=Kt(),S6=_i(),E6=ce(),x6=ud(),k6=Vt(),A6=Xd(),Ei=n0(),T6=0,I6=16777216,it=1.5707963267341256,kt=6077100506506192e-26,xi=2*kt,ki=3*kt,Ai=4*kt,C6=598523,O6=1072243195,$6=1073928572,N6=1074752122,D6=1074977148,M6=1075183036,R6=1075388923,L6=1075594811,P6=1094263291,yr=[0,0,0],wr=[0,0];function q6(e,t){var r,i,s,n,o,a,c,l;if(s=E6(e),n=s&w6|0,n<=O6)return t[0]=e,t[1]=0,0;if(n<=N6)return(n&S6)===C6?Ei(e,n,t):n<=$6?e>0?(l=e-it,t[0]=l-kt,t[1]=l-t[0]-kt,1):(l=e+it,t[0]=l+kt,t[1]=l-t[0]+kt,-1):e>0?(l=e-2*it,t[0]=l-xi,t[1]=l-t[0]-xi,2):(l=e+2*it,t[0]=l+xi,t[1]=l-t[0]+xi,-2);if(n<=L6)return n<=M6?n===D6?Ei(e,n,t):e>0?(l=e-3*it,t[0]=l-ki,t[1]=l-t[0]-ki,3):(l=e+3*it,t[0]=l+ki,t[1]=l-t[0]+ki,-3):n===R6?Ei(e,n,t):e>0?(l=e-4*it,t[0]=l-Ai,t[1]=l-t[0]-Ai,4):(l=e+4*it,t[0]=l+Ai,t[1]=l-t[0]+Ai,-4);if(n<P6)return Ei(e,n,t);if(n>=b6)return t[0]=NaN,t[1]=NaN,0;for(r=x6(e),i=(n>>20)-1046,l=k6(n-(i<<20|0),r),a=0;a<2;a++)yr[a]=l|0,l=(l-yr[a])*I6;for(yr[2]=l,o=3;yr[o-1]===T6;)o-=1;return c=A6(yr,wr,i,o,1),e<0?(t[0]=-wr[0],t[1]=-wr[1],-c):(t[0]=wr[0],t[1]=wr[1],c)}s0.exports=q6});var Ti=b((LI,a0)=>{"use strict";var F6=o0();a0.exports=F6});var f0=b((PI,c0)=>{"use strict";var z6=ce(),ws=fs(),l0=hs(),B6=Ti(),H6=ze(),U6=Kt(),Be=[0,0],W6=1072243195,j6=1044381696;function Z6(e){var t,r;if(t=z6(e),t&=H6,t<=W6)return t<j6?1:ws(e,0);if(t>=U6)return NaN;switch(r=B6(e,Be),r&3){case 0:return ws(Be[0],Be[1]);case 1:return-l0(Be[0],Be[1]);case 2:return-ws(Be[0],Be[1]);default:return l0(Be[0],Be[1])}}c0.exports=Z6});var u0=b((qI,h0)=>{"use strict";var G6=f0();h0.exports=G6});var p0=b((FI,d0)=>{"use strict";var V6=Math.ceil;d0.exports=V6});var v0=b((zI,g0)=>{"use strict";var K6=p0();g0.exports=K6});var m0=b((BI,_0)=>{"use strict";var X6=ds(),Y6=v0();function J6(e){return e<0?Y6(e):X6(e)}_0.exports=J6});var w0=b((HI,y0)=>{"use strict";var Q6=m0();y0.exports=Q6});var S0=b((UI,b0)=>{"use strict";function eS(e){return e===0?.16666666666666602:.16666666666666602+e*(-.0027777777777015593+e*(6613756321437934e-20+e*(-16533902205465252e-22+e*41381367970572385e-24)))}b0.exports=eS});var x0=b((WI,E0)=>{"use strict";var tS=_s(),rS=S0();function iS(e,t,r){var i,s,n,o;return i=e-t,s=i*i,n=i-s*rS(s),o=1-(t-i*n/(2-n)-e),tS(o,r)}E0.exports=iS});var O0=b((jI,C0)=>{"use strict";var nS=ie(),k0=w0(),sS=Ee(),A0=$e(),oS=x0(),aS=.6931471803691238,lS=19082149292705877e-26,T0=1.4426950408889634,cS=709.782712893384,fS=-745.1332191019411,I0=1/(1<<28),hS=-I0;function uS(e){var t,r,i;return nS(e)||e===A0?e:e===sS?0:e>cS?A0:e<fS?0:e>hS&&e<I0?1+e:(e<0?i=k0(T0*e-.5):i=k0(T0*e+.5),t=e-i*aS,r=i*lS,oS(t,r,i))}C0.exports=uS});var br=b((ZI,$0)=>{"use strict";var dS=O0();$0.exports=dS});var D0=b((GI,N0)=>{"use strict";var pS=ie(),bs=br();function gS(e){return pS(e)?e:(e<0&&(e=-e),e>21?bs(e)/2:(bs(e)+bs(-e))/2)}N0.exports=gS});var R0=b((VI,M0)=>{"use strict";var vS=D0();M0.exports=vS});var P0=b((KI,L0)=>{"use strict";var _S=.34657359027997264;L0.exports=_S});var F0=b((XI,q0)=>{"use strict";function mS(e){return e===0?-.03333333333333313:-.03333333333333313+e*(.0015873015872548146+e*(-793650757867488e-19+e*(4008217827329362e-21+e*-20109921818362437e-23)))}q0.exports=mS});var j0=b((YI,W0)=>{"use strict";var yS=ie(),z0=ce(),Ss=St(),wS=Vt(),B0=$e(),bS=Ee(),H0=et(),SS=P0(),ES=F0(),xS=709.782712893384,Es=.6931471803691238,xs=19082149292705877e-26,U0=1.4426950408889634,kS=38.816242111356935,AS=1.0397207708399179;function TS(e){var t,r,i,s,n,o,a,c,l,f,d,v,u;if(e===B0||yS(e))return e;if(e===bS)return-1;if(e===0)return e;if(e<0?(i=!0,c=-e):(i=!1,c=e),c>=kS){if(i)return-1;if(c>=xS)return B0}if(o=z0(c)|0,c>SS)c<AS?i?(s=e+Es,n=-xs,u=-1):(s=e-Es,n=xs,u=1):(i?u=U0*e-.5:u=U0*e+.5,u|=0,d=u,s=e-d*Es,n=d*xs),e=s-n,f=s-e-n;else{if(o<1016070144)return e;u=0}return t=.5*e,l=e*t,a=1+l*ES(l),d=3-a*t,v=l*((a-d)/(6-e*d)),u===0?e-(e*v-l):(r=wS(H0+u<<20,0),v=e*(v-f)-f,v-=l,u===-1?.5*(e-v)-.5:u===1?e<-.25?-2*(v-(e+.5)):1+2*(e-v):u<=-2||u>56?(c=1-(v-e),u===1024?(s=z0(c)+(u<<20)|0,c=Ss(c,s)):c*=r,c-1):(d=1,u<20?(s=1072693248-(2097152>>u)|0,d=Ss(d,s),c=d-(v-e)):(s=H0-u<<20|0,d=Ss(d,s),c=e-(v+d),c+=1),c*=r,c))}W0.exports=TS});var G0=b((JI,Z0)=>{"use strict";var IS=j0();Z0.exports=IS});var K0=b((QI,V0)=>{"use strict";var CS=bt(),ks;CS===!0?ks=0:ks=1;V0.exports=ks});var Y0=b((eC,X0)=>{"use strict";var OS=yt(),$S=wt(),NS=K0(),As=new $S(1),DS=new OS(As.buffer);function MS(e,t){return As[0]=e,DS[NS]=t>>>0,As[0]}X0.exports=MS});var Ii=b((tC,J0)=>{"use strict";var RS=Y0();J0.exports=RS});var ep=b((rC,Q0)=>{"use strict";function LS(e){return e===0?.3999999999940942:.3999999999940942+e*(.22222198432149784+e*.15313837699209373)}Q0.exports=LS});var rp=b((iC,tp)=>{"use strict";function PS(e){return e===0?.6666666666666735:.6666666666666735+e*(.2857142874366239+e*(.1818357216161805+e*.14798198605116586))}tp.exports=PS});var np=b((nC,ip)=>{"use strict";var qS=ep(),FS=rp();function zS(e){var t,r,i,s,n,o,a;return s=e/(2+e),n=s*s,a=n*n,r=a*qS(a),i=n*FS(a),o=i+r,t=.5*e*e,s*(t+o)}ip.exports=zS});var Ts=b((sC,sp)=>{"use strict";var BS=np();sp.exports=BS});var fp=b((oC,cp)=>{"use strict";var HS=ce(),US=St(),WS=Ii(),jS=Gt(),ZS=ze(),GS=_i(),VS=ie(),KS=et(),XS=Ee(),YS=Ts(),JS=0x40000000000000,op=.4342944818781689,QS=25082946711645275e-27,e3=.30102999566361177,t3=3694239077158931e-28,r3=2146435072,ap=1048576,lp=1072693248,Is=[0,0];function i3(e){var t,r,i,s,n,o,a,c,l,f,d,v,u,w;if(VS(e)||e<0)return NaN;if(jS.assign(e,Is,1,0),o=Is[0],a=Is[1],w=0,o<ap){if((o&ZS|a)===0)return XS;w-=54,e*=JS,o=HS(e)}return o>=r3?e+e:o===lp&&a===0?0:(w+=(o>>20)-KS|0,o&=GS,u=o+614244&ap|0,e=US(e,o|u^lp),w+=u>>20|0,v=w,l=e-1,i=.5*l*l,f=YS(l),s=l-i,s=WS(s,0),n=l-s-i+f,t=s*op,c=v*e3,r=v*t3+(n+s)*QS+n*op,d=c+t,r+=c-d+t,t=d,r+t)}cp.exports=i3});var up=b((aC,hp)=>{"use strict";var n3=fp();hp.exports=n3});var _p=b((lC,vp)=>{"use strict";var s3=ce(),o3=St(),a3=Ii(),l3=Gt(),c3=ie(),f3=ze(),h3=_i(),u3=et(),d3=Ee(),p3=Ts(),g3=0x40000000000000,dp=1.4426950407214463,v3=16751713164886512e-26,_3=2146435072,pp=1048576,gp=1072693248,Cs=[0,0];function m3(e){var t,r,i,s,n,o,a,c,l,f,d,v,u;if(c3(e)||e<0)return NaN;if(l3.assign(e,Cs,1,0),s=Cs[0],n=Cs[1],u=0,s<pp){if((s&f3|n)===0)return d3;u-=54,e*=g3,s=s3(e)}return s>=_3?e+e:s===gp&&n===0?0:(u+=(s>>20)-u3|0,s&=h3,v=s+614244&pp|0,e=o3(e,s|v^gp),u+=v>>20|0,d=u,c=e-1,i=.5*c*c,l=p3(c),o=c-i,o=a3(o,0),a=c-o-i+l,t=o*dp,r=(a+o)*v3+a*dp,f=d+t,r+=d-f+t,t=f,r+t)}vp.exports=m3});var yp=b((cC,mp)=>{"use strict";var y3=_p();mp.exports=y3});var Sp=b((fC,bp)=>{"use strict";var w3=ze(),b3=Kt(),S3=ce(),wp=fs(),Os=hs(),E3=Ti(),x3=1072243195,k3=1045430272,He=[0,0];func