async function ortWasmThreaded(moduleArg={}){var moduleRtn;var f=moduleArg,aa=!!globalThis.window,ba=!!globalThis.WorkerGlobalScope,h=globalThis.process?.versions?.node&&"renderer"!=globalThis.process?.type,m=ba&&self.name?.startsWith("em-pthread");if(h){const {createRequire:a}=await import("module");var require=a(import.meta.url),ca=require("worker_threads");global.Worker=ca.Worker;m=(ba=!ca.Wd)&&"em-pthread"==ca.workerData}f.mountExternalData=(a,b)=>{a.startsWith("./")&&(a=a.substring(2));(f.Wc||(f.Wc=new Map)).set(a,b)};
f.unmountExternalData=()=>{delete f.Wc};var SharedArrayBuffer=globalThis.SharedArrayBuffer??(new WebAssembly.Memory({initial:0,maximum:0,Xd:!0})).buffer.constructor;const da=a=>async(...b)=>{try{if(f.Xc)throw Error("Session already started");const d=f.Xc={Jd:b[0],errors:[]},c=await a(...b);if(f.Xc!==d)throw Error("Session mismatch");f.bd?.flush();const e=d.errors;if(0<e.length){let g=await Promise.all(e);g=g.filter(k=>k);if(0<g.length)throw Error(g.join("\n"));}return c}finally{f.Xc=null}};
f.jsepInit=(a,b)=>{if("webgpu"===a){[f.bd,f.zd,f.Dd,f.cd,f.Cd,f.$b,f.Ed,f.Gd,f.Ad,f.Bd,f.Fd]=b;const d=f.bd;f.jsepRegisterBuffer=(c,e,g,k)=>d.registerBuffer(c,e,g,k);f.jsepGetBuffer=c=>d.getBuffer(c);f.jsepCreateDownloader=(c,e,g)=>d.createDownloader(c,e,g);f.jsepOnCreateSession=c=>{d.onCreateSession(c)};f.jsepOnReleaseSession=c=>{d.onReleaseSession(c)};f.jsepOnRunStart=c=>d.onRunStart(c);f.Hd=(c,e)=>{d.upload(c,e)}}else if("webnn"===a){const d=b[0];[f.Vd,f.rd,f.webnnEnsureTensor,f.sd,f.webnnDownloadTensor,
f.Ud,f.webnnEnableTraceEvent]=b.slice(1);f.webnnReleaseTensorId=f.rd;f.webnnUploadTensor=f.sd;f.webnnRegisterMLContext=f.Ud;f.webnnOnRunStart=c=>d.onRunStart(c);f.webnnOnRunEnd=d.onRunEnd.bind(d);f.webnnOnReleaseSession=c=>{d.onReleaseSession(c)};f.webnnCreateMLTensorDownloader=(c,e)=>d.createMLTensorDownloader(c,e);f.webnnRegisterMLTensor=(c,e,g,k)=>d.registerMLTensor(c,e,g,k);f.webnnCreateMLContext=c=>d.createMLContext(c);f.webnnRegisterMLConstant=(c,e,g,k,l,n)=>d.registerMLConstant(c,e,g,k,l,f.Wc,
n);f.webnnRegisterGraphInput=d.registerGraphInput.bind(d);f.webnnIsGraphInput=d.isGraphInput.bind(d);f.webnnRegisterGraphOutput=d.registerGraphOutput.bind(d);f.webnnIsGraphOutput=d.isGraphOutput.bind(d);f.webnnCreateTemporaryTensor=d.createTemporaryTensor.bind(d);f.webnnIsGraphInputOutputTypeSupported=d.isGraphInputOutputTypeSupported.bind(d)}};
let fa=()=>{const a=b=>(...d)=>{const c=q;d=b(...d);return q!=c?ea():d};(b=>{for(const d of b)f[d]=a(f[d])})(["_OrtAppendExecutionProvider","_OrtCreateSession","_OrtRun","_OrtRunWithBinding","_OrtBindInput"]);"undefined"!==typeof da&&(f._OrtRun=da(f._OrtRun),f._OrtRunWithBinding=da(f._OrtRunWithBinding));fa=void 0};f.asyncInit=()=>{fa?.()};var ha="./this.program",ia=(a,b)=>{throw b;},ja=import.meta.url,ka="",la,ma;
if(h){var fs=require("fs");ja.startsWith("file:")&&(ka=require("path").dirname(require("url").fileURLToPath(ja))+"/");ma=a=>{a=na(a)?new URL(a):a;return fs.readFileSync(a)};la=async a=>{a=na(a)?new URL(a):a;return fs.readFileSync(a,void 0)};1<process.argv.length&&(ha=process.argv[1].replace(/\\/g,"/"));process.argv.slice(2);ia=(a,b)=>{process.exitCode=a;throw b;}}else if(aa||ba){try{ka=(new URL(".",ja)).href}catch{}h||(ba&&(ma=a=>{var b=new XMLHttpRequest;b.open("GET",a,!1);b.responseType="arraybuffer";
b.send(null);return new Uint8Array(b.response)}),la=async a=>{if(na(a))return new Promise((d,c)=>{var e=new XMLHttpRequest;e.open("GET",a,!0);e.responseType="arraybuffer";e.onload=()=>{200==e.status||0==e.status&&e.response?d(e.response):c(e.status)};e.onerror=c;e.send(null)});var b=await fetch(a,{credentials:"same-origin"});if(b.ok)return b.arrayBuffer();throw Error(b.status+" : "+b.url);})}var oa=console.log.bind(console),pa=console.error.bind(console);
if(h){var qa=require("util"),ra=a=>"object"==typeof a?qa.inspect(a):a;oa=(...a)=>fs.writeSync(1,a.map(ra).join(" ")+"\n");pa=(...a)=>fs.writeSync(2,a.map(ra).join(" ")+"\n")}var sa=oa,r=pa,ta,ua,t=!1,va,na=a=>a.startsWith("file://");function v(){x.buffer!=A.buffer&&wa()}var xa,ya;
if(h&&m){var za=ca.parentPort;za.on("message",a=>global.onmessage?.({data:a}));Object.assign(globalThis,{self:global,postMessage:a=>za.postMessage(a)});process.on("uncaughtException",a=>{postMessage({Rc:"uncaughtException",error:a});process.exit(1)})}var Aa;
if(m){var Ba=!1;self.onunhandledrejection=b=>{throw b.reason||b;};function a(b){try{var d=b.data,c=d.Rc;if("load"===c){let e=[];self.onmessage=g=>e.push(g);Aa=()=>{postMessage({Rc:"loaded"});for(let g of e)a(g);self.onmessage=a};for(const g of d.wd)if(!f[g]||f[g].proxy)f[g]=(...k)=>{postMessage({Rc:"callHandler",vd:g,args:k})},"print"==g&&(sa=f[g]),"printErr"==g&&(r=f[g]);x=d.Nd;wa();ua=d.Od;Ca();Da()}else if("run"===c){Ea(d.Qc);Fa(d.Qc,0,0,1,0,0);Ga();Ha(d.Qc);Ba||(Ia(),Ba=!0);try{Ja(d.Ld,d.Zc)}catch(e){if("unwind"!=
e)throw e;}}else"setimmediate"!==d.target&&("checkMailbox"===c?Ba&&Ka():c&&(r(`worker: received unknown command ${c}`),r(d)))}catch(e){throw La(),e;}}self.onmessage=a}var A,B,Ma,Na,C,D,Oa,E,F,Pa,Qa=!1;function wa(){var a=x.buffer;f.HEAP8=A=new Int8Array(a);Ma=new Int16Array(a);f.HEAPU8=B=new Uint8Array(a);Na=new Uint16Array(a);f.HEAP32=C=new Int32Array(a);f.HEAPU32=D=new Uint32Array(a);Oa=new Float32Array(a);E=new Float64Array(a);F=new BigInt64Array(a);Pa=new BigUint64Array(a)}
function Ra(){Qa=!0;m?Aa():G.sb()}function H(a){a="Aborted("+a+")";r(a);t=!0;a=new WebAssembly.RuntimeError(a+". Build with -sASSERTIONS for more info.");ya?.(a);throw a;}var Sa;async function Ta(a){if(!ta)try{var b=await la(a);return new Uint8Array(b)}catch{}if(a==Sa&&ta)a=new Uint8Array(ta);else if(ma)a=ma(a);else throw"both async and sync fetching of the wasm failed";return a}
async function Ua(a,b){try{var d=await Ta(a);return await WebAssembly.instantiate(d,b)}catch(c){r(`failed to asynchronously prepare wasm: ${c}`),H(c)}}async function Va(a){var b=Sa;if(!ta&&!na(b)&&!h)try{var d=fetch(b,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(d,a)}catch(c){r(`wasm streaming compile failed: ${c}`),r("falling back to ArrayBuffer instantiation")}return Ua(b,a)}
function Wa(){Xa={la:Ya,eb:Za,g:$a,J:ab,f:bb,o:cb,i:db,ga:eb,b:fb,S:gb,Fa:hb,n:ib,Z:lb,Va:mb,Ba:nb,Da:ob,Wa:pb,Ta:qb,Ma:rb,Sa:sb,ja:tb,Ca:ub,za:vb,Ua:wb,Aa:xb,$a:yb,da:zb,ua:Ab,sa:Bb,ca:Cb,O:Db,H:Eb,ta:Fb,Y:Gb,va:Hb,Pa:Ib,xa:Jb,Ga:Kb,qa:Lb,ea:Mb,Oa:Ha,Ya:Nb,Q:Ob,r:Pb,c:Qb,fb:Rb,y:Sb,M:Tb,D:Ub,m:Vb,s:Wb,gb:Wb,I:Xb,R:Yb,j:Zb,v:$b,q:ac,l:bc,Ja:cc,Ka:dc,La:ec,Ha:fc,Ia:gc,ra:hc,bb:ic,_a:jc,u:kc,$:lc,fa:mc,Za:nc,U:oc,Xa:pc,ya:qc,F:rc,T:sc,ka:tc,wa:uc,db:vc,cb:wc,Qa:xc,Ra:yc,Ea:zc,_:Ac,ia:Bc,Na:Cc,ha:Dc,
ib:Ec,ma:Fc,jb:Gc,na:Hc,G:Ic,d:Jc,t:Kc,w:Lc,B:Mc,nb:Nc,K:Oc,x:Pc,oa:Qc,W:Rc,aa:Sc,kb:Tc,lb:Uc,mb:Vc,pa:Wc,ob:Xc,N:Yc,X:Zc,e:$c,A:ad,k:bd,hb:cd,p:dd,z:ed,C:fd,E:gd,L:hd,pb:jd,P:kd,ba:ld,V:md,qb:nd,rb:od,h:pd,a:x,ab:qd};return{a:Xa}}
async function Ca(){function a(c,e){var g=G=c.exports;c={};for(let [k,l]of Object.entries(g))"function"==typeof l?(g=rd(l),c[k]=g):c[k]=l;G=c;G=sd();td.push(G._b);c=G;ud=c.tb;Ia=c.ub;f._OrtInit=c.vb;f._OrtGetLastError=c.wb;f._OrtCreateSessionOptions=c.xb;f._OrtAppendExecutionProvider=c.yb;f._OrtAddFreeDimensionOverride=c.zb;f._OrtAddSessionConfigEntry=c.Ab;f._OrtReleaseSessionOptions=c.Bb;f._OrtCreateSession=c.Cb;f._OrtReleaseSession=c.Db;f._OrtGetInputOutputCount=c.Eb;f._OrtGetInputOutputMetadata=
c.Fb;f._OrtFree=c.Gb;f._OrtCreateTensor=c.Hb;f._OrtGetTensorData=c.Ib;f._OrtReleaseTensor=c.Jb;f._OrtCreateRunOptions=c.Kb;f._OrtAddRunConfigEntry=c.Lb;f._OrtReleaseRunOptions=c.Mb;f._OrtCreateBinding=c.Nb;f._OrtBindInput=c.Ob;f._OrtBindOutput=c.Pb;f._OrtClearBoundOutputs=c.Qb;f._OrtReleaseBinding=c.Rb;f._OrtRunWithBinding=c.Sb;f._OrtRun=c.Tb;f._OrtEndProfiling=c.Ub;f._JsepOutput=c.Vb;f._JsepGetNodeName=c.Wb;vd=c.Xb;I=f._free=c.Yb;wd=f._malloc=c.Zb;Fa=c.ac;La=c.bc;xd=c.cc;yd=c.dc;zd=c.ec;Ad=c.fc;
Bd=c.gc;J=c.hc;Cd=c.ic;Dd=c.jc;K=c.kc;Ed=c.lc;L=c.mc;Fd=c.nc;Gd=c.oc;Hd=c.pc;Id=c.qc;dynCall_vii=c.rc;Jd=c.sc;dynCall_v=c.tc;Kd=c.uc;Ld=c.vc;dynCall_iii=c.wc;Md=c.xc;Nd=c.yc;Od=c.zc;Pd=c.Ac;dynCall_vi=c.Bc;Qd=c.Cc;Rd=c.Dc;Sd=c.Ec;Td=c.Fc;Ud=c.Gc;Vd=c.Hc;Wd=c.Ic;Xd=c.Jc;Yd=c.Kc;Zd=c.Lc;$d=c.Mc;ae=c.Oc;be=c.Pc;ce=c._c;de=c.$c;ee=c.ed;fe=c.hd;ge=c.id;he=c.jd;ie=c.kd;je=c.ld;ke=c.md;le=c.nd;me=c.od;ne=c.pd;oe=c.ud;pe=c.Qd;qe=c.Rd;re=c.Sd;se=c.Td;ua=e;return G}var b=Wa();if(f.instantiateWasm)return new Promise(c=>
{f.instantiateWasm(b,(e,g)=>{c(a(e,g))})});if(m){var d=new WebAssembly.Instance(ua,Wa());return a(d,ua)}Sa??=f.locateFile?f.locateFile?f.locateFile("ort-wasm-simd-threaded.jsep.wasm",ka):ka+"ort-wasm-simd-threaded.jsep.wasm":(new URL("ort-wasm-simd-threaded.jsep.wasm",import.meta.url)).href;return function(c){return a(c.instance,c.module)}(await Va(b))}class te{name="ExitStatus";constructor(a){this.message=`Program terminated with exit(${a})`;this.status=a}}
var ue=a=>{a.terminate();a.onmessage=()=>{}},ve=[],we=0,xe=null,Be=a=>{0==M.length&&(ye(),ze(M[0]));var b=M.pop();if(!b)return 6;Ae.push(b);N[a.Qc]=b;b.Qc=a.Qc;var d={Rc:"run",Ld:a.Kd,Zc:a.Zc,Qc:a.Qc};h&&b.unref();b.postMessage(d,a.qd);return 0},O=0,P=(a,b,...d)=>{for(var c=2*d.length,e=L(),g=Ed(8*c),k=g>>>3,l=0;l<d.length;l++){var n=d[l];"bigint"==typeof n?((v(),F)[k+2*l>>>0]=1n,(v(),F)[k+2*l+1>>>0]=n):((v(),F)[k+2*l>>>0]=0n,(v(),E)[k+2*l+1>>>0]=n)}a=xd(a,0,c,g,b);K(e);return a};
function qd(a){if(m)return P(0,1,a);va=a;if(!(0<O)){for(var b of Ae)ue(b);for(b of M)ue(b);M=[];Ae=[];N={};t=!0}ia(a,new te(a))}function Ce(a){if(m)return P(1,0,a);zc(a)}var zc=a=>{va=a;if(m)throw Ce(a),"unwind";qd(a)},M=[],Ae=[],td=[],N={};function De(){for(var a=f.numThreads-1;a--;)ye();ve.push(async()=>{var b=Ee();we++;await b;we--;0==we&&xe&&(b=xe,xe=null,b())})}var Fe=a=>{var b=a.Qc;delete N[b];M.push(a);Ae.splice(Ae.indexOf(a),1);a.Qc=0;yd(b)};function Ga(){td.forEach(a=>a())}
var ze=a=>new Promise(b=>{a.onmessage=g=>{var k=g.data;g=k.Rc;if(k.Yc&&k.Yc!=vd()){var l=N[k.Yc];l?l.postMessage(k,k.qd):r(`Internal error! Worker sent a message "${g}" to target pthread ${k.Yc}, but that thread no longer exists!`)}else if("checkMailbox"===g)Ka();else if("spawnThread"===g)Be(k);else if("cleanupThread"===g)Ge(()=>{Fe(N[k.Md])});else if("loaded"===g)a.loaded=!0,h&&!a.Qc&&a.unref(),b(a);else if("setimmediate"===k.target)a.postMessage(k);else if("uncaughtException"===g)a.onerror(k.error);
else if("callHandler"===g)f[k.vd](...k.args);else g&&r(`worker sent an unknown command ${g}`)};a.onerror=g=>{r(`${"worker sent an error!"} ${g.filename}:${g.lineno}: ${g.message}`);throw g;};h&&(a.on("message",g=>a.onmessage({data:g})),a.on("error",g=>a.onerror(g)));var d=[],c=[],e;for(e of c)f.propertyIsEnumerable(e)&&d.push(e);a.postMessage({Rc:"load",wd:d,Nd:x,Od:ua})});async function Ee(){if(!m)return Promise.all(M.map(ze))}
function ye(){var a=new Worker(new URL(import.meta.url),{type:"module",workerData:"em-pthread",name:"em-pthread"});M.push(a)}function Ea(a){var b=(v(),D)[a+52>>>2>>>0];a=(v(),D)[a+56>>>2>>>0];Dd(b,b-a);K(b)}
var Ja=(a,b)=>{O=0;a=Jd(a,b);0<O?va=a:zd(a)},x,He=globalThis.TextDecoder&&new TextDecoder,Ie=(a,b,d,c)=>{d=b+d;if(c)return d;for(;a[b]&&!(b>=d);)++b;return b},Je=(a,b=0,d,c)=>{b>>>=0;d=Ie(a,b,d,c);if(16<d-b&&a.buffer&&He)return He.decode(a.buffer instanceof ArrayBuffer?a.subarray(b,d):a.slice(b,d));for(c="";b<d;){var e=a[b++];if(e&128){var g=a[b++]&63;if(192==(e&224))c+=String.fromCharCode((e&31)<<6|g);else{var k=a[b++]&63;e=224==(e&240)?(e&15)<<12|g<<6|k:(e&7)<<18|g<<12|k<<6|a[b++]&63;65536>e?c+=
String.fromCharCode(e):(e-=65536,c+=String.fromCharCode(55296|e>>10,56320|e&1023))}}else c+=String.fromCharCode(e)}return c},Q=(a,b,d)=>(a>>>=0)?Je((v(),B),a,b,d):"",Ke=[],Le=0;function $a(a){a>>>=0;var b=new Me(a);0==(v(),A)[b.Sc+12>>>0]&&(Ne(b,!0),Le--);Oe(b,!1);Ke.push(b);Gd(a);return Id(a)}var R=0,ab=()=>{J(0,0);var a=Ke.pop();Fd(a.ad);R=0};function Ne(a,b){b=b?1:0;(v(),A)[a.Sc+12>>>0]=b}function Oe(a,b){b=b?1:0;(v(),A)[a.Sc+13>>>0]=b}class Me{constructor(a){this.ad=a;this.Sc=a-24}}
var Pe=a=>{var b=R;if(!b)return Cd(0),0;var d=new Me(b);(v(),D)[d.Sc+16>>>2>>>0]=b;var c=(v(),D)[d.Sc+4>>>2>>>0];if(!c)return Cd(0),b;for(var e of a){if(0===e||e===c)break;if(Hd(e,c,d.Sc+16))return Cd(e),b}Cd(c);return b};function bb(){return Pe([])}function cb(a){return Pe([a>>>0])}function db(a,b,d,c){return Pe([a>>>0,b>>>0,d>>>0,c>>>0])}var eb=()=>{var a=Ke.pop();a||H("no exception to throw");var b=a.ad;0==(v(),A)[a.Sc+13>>>0]&&(Ke.push(a),Oe(a,!0),Ne(a,!1),Le++);R=b;throw R;};
function fb(a,b,d){a>>>=0;var c=new Me(a);b>>>=0;d>>>=0;(v(),D)[c.Sc+16>>>2>>>0]=0;(v(),D)[c.Sc+4>>>2>>>0]=b;(v(),D)[c.Sc+8>>>2>>>0]=d;R=a;Le++;throw R;}var gb=()=>Le;function Qe(a,b,d,c){return m?P(2,1,a,b,d,c):hb(a,b,d,c)}function hb(a,b,d,c){a>>>=0;b>>>=0;d>>>=0;c>>>=0;if(!globalThis.SharedArrayBuffer)return 6;var e=[];if(m&&0===e.length)return Qe(a,b,d,c);a={Kd:d,Qc:a,Zc:c,qd:e};return m?(a.Rc="spawnThread",postMessage(a,e),0):Be(a)}function ib(a){R||=a>>>0;throw R;}
function lb(a,b,d){return m?P(3,1,a,b,d):0}function mb(a,b){if(m)return P(4,1,a,b)}function nb(a,b){if(m)return P(5,1,a,b)}function ob(a,b,d){if(m)return P(6,1,a,b,d)}function pb(a,b,d){return m?P(7,1,a,b,d):0}function qb(a,b){if(m)return P(8,1,a,b)}function rb(a,b,d){if(m)return P(9,1,a,b,d)}function sb(a,b,d,c){if(m)return P(10,1,a,b,d,c)}function tb(a,b,d,c){if(m)return P(11,1,a,b,d,c)}function ub(a,b,d,c){if(m)return P(12,1,a,b,d,c)}function vb(a){if(m)return P(13,1,a)}
function wb(a,b){if(m)return P(14,1,a,b)}function xb(a,b,d){if(m)return P(15,1,a,b,d)}var yb=()=>H(""),S=a=>{a>>>=0;for(var b="";;){var d=(v(),B)[a++>>>0];if(!d)return b;b+=String.fromCharCode(d)}},Re={},Se={},Te={},Ue=class extends Error{constructor(a){super(a);this.name="BindingError"}};
function Ve(a,b,d={}){var c=b.name;if(!a)throw new Ue(`type "${c}" must have a positive integer typeid pointer`);if(Se.hasOwnProperty(a)){if(d.xd)return;throw new Ue(`Cannot register type '${c}' twice`);}Se[a]=b;delete Te[a];Re.hasOwnProperty(a)&&(b=Re[a],delete Re[a],b.forEach(e=>e()))}function T(a,b,d={}){return Ve(a,b,d)}
var We=(a,b,d)=>{switch(b){case 1:return d?c=>(v(),A)[c>>>0]:c=>(v(),B)[c>>>0];case 2:return d?c=>(v(),Ma)[c>>>1>>>0]:c=>(v(),Na)[c>>>1>>>0];case 4:return d?c=>(v(),C)[c>>>2>>>0]:c=>(v(),D)[c>>>2>>>0];case 8:return d?c=>(v(),F)[c>>>3>>>0]:c=>(v(),Pa)[c>>>3>>>0];default:throw new TypeError(`invalid integer width (${b}): ${a}`);}};
function zb(a,b,d,c,e){a>>>=0;d>>>=0;b=S(b>>>0);c=0n===c;let g=k=>k;if(c){const k=8*d;g=l=>BigInt.asUintN(k,l);e=g(e)}T(a,{name:b,Nc:g,Uc:(k,l)=>{"number"==typeof l&&(l=BigInt(l));return l},Tc:We(b,d,!c),Vc:null})}function Ab(a,b,d,c){a>>>=0;b=S(b>>>0);T(a,{name:b,Nc:function(e){return!!e},Uc:function(e,g){return g?d:c},Tc:function(e){return this.Nc((v(),B)[e>>>0])},Vc:null})}var Xe=[],U=[0,1,,1,null,1,!0,1,!1,1];function Qb(a){a>>>=0;9<a&&0===--U[a+1]&&(U[a]=void 0,Xe.push(a))}
var V=a=>{if(!a)throw new Ue(`Cannot use deleted val. handle = ${a}`);return U[a]},X=a=>{switch(a){case void 0:return 2;case null:return 4;case !0:return 6;case !1:return 8;default:const b=Xe.pop()||U.length;U[b]=a;U[b+1]=1;return b}};function Ye(a){return this.Nc((v(),D)[a>>>2>>>0])}var Ze={name:"emscripten::val",Nc:a=>{var b=V(a);Qb(a);return b},Uc:(a,b)=>X(b),Tc:Ye,Vc:null};function Bb(a){return T(a>>>0,Ze)}
var $e=(a,b)=>{switch(b){case 4:return function(d){return this.Nc((v(),Oa)[d>>>2>>>0])};case 8:return function(d){return this.Nc((v(),E)[d>>>3>>>0])};default:throw new TypeError(`invalid float width (${b}): ${a}`);}};function Cb(a,b,d){a>>>=0;d>>>=0;b=S(b>>>0);T(a,{name:b,Nc:c=>c,Uc:(c,e)=>e,Tc:$e(b,d),Vc:null})}function Db(a,b,d,c,e){a>>>=0;d>>>=0;b=S(b>>>0);let g=l=>l;if(0===c){var k=32-8*d;g=l=>l<<k>>>k;e=g(e)}T(a,{name:b,Nc:g,Uc:(l,n)=>n,Tc:We(b,d,0!==c),Vc:null})}
function Eb(a,b,d){function c(g){var k=(v(),D)[g>>>2>>>0];g=(v(),D)[g+4>>>2>>>0];return new e((v(),A).buffer,g,k)}a>>>=0;var e=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][b];d=S(d>>>0);T(a,{name:d,Nc:c,Tc:c},{xd:!0})}
var Y=(a,b,d)=>{var c=(v(),B);b>>>=0;if(0<d){var e=b;d=b+d-1;for(var g=0;g<a.length;++g){var k=a.codePointAt(g);if(127>=k){if(b>=d)break;c[b++>>>0]=k}else if(2047>=k){if(b+1>=d)break;c[b++>>>0]=192|k>>6;c[b++>>>0]=128|k&63}else if(65535>=k){if(b+2>=d)break;c[b++>>>0]=224|k>>12;c[b++>>>0]=128|k>>6&63;c[b++>>>0]=128|k&63}else{if(b+3>=d)break;c[b++>>>0]=240|k>>18;c[b++>>>0]=128|k>>12&63;c[b++>>>0]=128|k>>6&63;c[b++>>>0]=128|k&63;g++}}c[b>>>0]=0;a=b-e}else a=0;return a},af=a=>{for(var b=0,d=0;d<a.length;++d){var c=
a.charCodeAt(d);127>=c?b++:2047>=c?b+=2:55296<=c&&57343>=c?(b+=4,++d):b+=3}return b};
function Fb(a,b){a>>>=0;b=S(b>>>0);T(a,{name:b,Nc(d){var c=(v(),D)[d>>>2>>>0];c=Q(d+4,c,!0);I(d);return c},Uc(d,c){c instanceof ArrayBuffer&&(c=new Uint8Array(c));var e="string"==typeof c;if(!(e||ArrayBuffer.isView(c)&&1==c.BYTES_PER_ELEMENT))throw new Ue("Cannot pass non-string to std::string");var g=e?af(c):c.length;var k=wd(4+g+1),l=k+4;(v(),D)[k>>>2>>>0]=g;e?Y(c,l,g+1):(v(),B).set(c,l>>>0);null!==d&&d.push(I,k);return k},Tc:Ye,Vc(d){I(d)}})}
var bf=globalThis.TextDecoder?new TextDecoder("utf-16le"):void 0,cf=(a,b,d)=>{a>>>=1;b=Ie((v(),Na),a,b/2,d);if(16<b-a&&bf)return bf.decode((v(),Na).slice(a,b));for(d="";a<b;++a){var c=(v(),Na)[a>>>0];d+=String.fromCharCode(c)}return d},df=(a,b,d)=>{d??=2147483647;if(2>d)return 0;d-=2;var c=b;d=d<2*a.length?d/2:a.length;for(var e=0;e<d;++e){var g=a.charCodeAt(e);(v(),Ma)[b>>>1>>>0]=g;b+=2}(v(),Ma)[b>>>1>>>0]=0;return b-c},ef=a=>2*a.length,ff=(a,b,d)=>{var c="";a>>>=2;for(var e=0;!(e>=b/4);e++){var g=
(v(),D)[a+e>>>0];if(!g&&!d)break;c+=String.fromCodePoint(g)}return c},gf=(a,b,d)=>{b>>>=0;d??=2147483647;if(4>d)return 0;var c=b;d=c+d-4;for(var e=0;e<a.length;++e){var g=a.codePointAt(e);65535<g&&e++;(v(),C)[b>>>2>>>0]=g;b+=4;if(b+4>d)break}(v(),C)[b>>>2>>>0]=0;return b-c},hf=a=>{for(var b=0,d=0;d<a.length;++d)65535<a.codePointAt(d)&&d++,b+=4;return b};
function Gb(a,b,d){a>>>=0;b>>>=0;d>>>=0;d=S(d);if(2===b){var c=cf;var e=df;var g=ef}else c=ff,e=gf,g=hf;T(a,{name:d,Nc:k=>{var l=(v(),D)[k>>>2>>>0];l=c(k+4,l*b,!0);I(k);return l},Uc:(k,l)=>{if("string"!=typeof l)throw new Ue(`Cannot pass non-string to C++ string type ${d}`);var n=g(l),p=wd(4+n+b);(v(),D)[p>>>2>>>0]=n/b;e(l,p+4,n+b);null!==k&&k.push(I,p);return p},Tc:Ye,Vc(k){I(k)}})}function Hb(a,b){a>>>=0;b=S(b>>>0);T(a,{yd:!0,name:b,Nc:()=>{},Uc:()=>{}})}
function Ib(a){Fa(a>>>0,!ba,1,!aa,131072,!1);Ga()}var Ge=a=>{if(!t)try{if(a(),!(0<O))try{m?vd()&&zd(va):zc(va)}catch(b){b instanceof te||"unwind"==b||ia(1,b)}}catch(b){b instanceof te||"unwind"==b||ia(1,b)}},jf=!Atomics.waitAsync||globalThis.navigator?.userAgent&&91>Number((navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)||[])[2]);function Ha(a){a>>>=0;jf||(Atomics.waitAsync((v(),C),a>>>2,a).value.then(Ka),a+=128,Atomics.store((v(),C),a>>>2,1))}var Ka=()=>Ge(()=>{var a=vd();a&&(Ha(a),Bd())});
function Jb(a,b){a>>>=0;a==b>>>0?setTimeout(Ka):m?postMessage({Yc:a,Rc:"checkMailbox"}):(a=N[a])&&a.postMessage({Rc:"checkMailbox"})}var kf=[];function Kb(a,b,d,c,e){b>>>=0;c/=2;kf.length=c;d=e>>>0>>>3;for(e=0;e<c;e++)(v(),F)[d+2*e>>>0]?kf[e]=(v(),F)[d+2*e+1>>>0]:kf[e]=(v(),E)[d+2*e+1>>>0];return(b?lf[b]:mf[a])(...kf)}var Lb=()=>{O=0};function Mb(a){a>>>=0;m?postMessage({Rc:"cleanupThread",Md:a}):Fe(N[a])}function Nb(a){h&&N[a>>>0].ref()}var nf=a=>{try{a()}catch(b){H(b)}};
function rd(a){var b=(...d)=>{of.push(a);try{return a(...d)}finally{t||(of.pop(),q&&1===Z&&0===of.length&&(Z=0,O+=1,nf(qe),"undefined"!=typeof Fibers&&Fibers.Zd()))}};pf.set(a,b);return b}var Z=0,q=null,qf=0,of=[],rf=new Map,sf=new Map,pf=new Map,tf=0,uf=null,vf=[];function ea(){return new Promise((a,b)=>{uf={resolve:a,reject:b}})}
function wf(){var a=wd(65548),b=a+12;(v(),D)[a>>>2>>>0]=b;(v(),D)[a+4>>>2>>>0]=b+65536;b=of[0];if(!rf.has(b)){var d=tf++;rf.set(b,d);sf.set(d,b)}b=rf.get(b);(v(),C)[a+8>>>2>>>0]=b;return a}function xf(){var a=(v(),C)[q+8>>>2>>>0];a=sf.get(a);a=pf.get(a);--O;return a()}
function yf(a){if(!t){if(0===Z){var b=!1,d=!1;a((c=0)=>{if(!t&&(qf=c,b=!0,d)){Z=2;nf(()=>re(q));"undefined"!=typeof MainLoop&&MainLoop.td&&MainLoop.resume();c=!1;try{var e=xf()}catch(l){e=l,c=!0}var g=!1;if(!q){var k=uf;k&&(uf=null,(c?k.reject:k.resolve)(e),g=!0)}if(c&&!g)throw e;}});d=!0;b||(Z=1,q=wf(),"undefined"!=typeof MainLoop&&MainLoop.td&&MainLoop.pause(),nf(()=>pe(q)))}else 2===Z?(Z=0,nf(se),I(q),q=null,vf.forEach(Ge)):H(`invalid state: ${Z}`);return qf}}var zf=a=>yf(b=>{a().then(b)});
function Ob(a){a>>>=0;return zf(async()=>{var b=await V(a);return X(b)})}var Af=[],Bf=a=>{var b=Af.length;Af.push(a);return b},Cf=(a,b)=>{for(var d=Array(a),c=0;c<a;++c){var e=c,g=(v(),D)[b+4*c>>>2>>>0],k=Se[g];if(void 0===k)throw a=`parameter ${c}`,g=ud(g),b=S(g),I(g),new Ue(`${a} has unknown type ${b}`);d[e]=k}return d},Df=(a,b,d)=>{var c=[];a=a(c,d);c.length&&((v(),D)[b>>>2>>>0]=X(c));return a},Ef={},Ff=a=>{var b=Ef[a];return void 0===b?S(a):b};
function Pb(a,b,d){var [c,...e]=Cf(a,b>>>0);b=c.Uc.bind(c);var g=e.map(n=>n.Tc.bind(n));a--;var k={toValue:V};a=g.map((n,p)=>{var u=`argFromPtr${p}`;k[u]=n;return`${u}(args${p?"+"+8*p:""})`});switch(d){case 0:var l="toValue(handle)";break;case 2:l="new (toValue(handle))";break;case 3:l="";break;case 1:k.getStringOrSymbol=Ff,l="toValue(handle)[getStringOrSymbol(methodName)]"}l+=`(${a})`;c.yd||(k.toReturnWire=b,k.emval_returnValue=Df,l=`return emval_returnValue(toReturnWire, destructorsRef, ${l})`);
l=`return function (handle, methodName, destructorsRef, args) {\n  ${l}\n  }`;d=(new Function(Object.keys(k),l))(...Object.values(k));l=`methodCaller<(${e.map(n=>n.name)}) => ${c.name}>`;return Bf(Object.defineProperty(d,"name",{value:l}))}function Rb(a,b){b>>>=0;a=V(a>>>0);b=V(b);return a==b}function Sb(a){a>>>=0;if(!a)return X(globalThis);a=Ff(a);return X(globalThis[a])}function Tb(a){a=Ff(a>>>0);return X(f[a])}function Ub(a,b){b>>>=0;a=V(a>>>0);b=V(b);return X(a[b])}
function Vb(a){a>>>=0;9<a&&(U[a+1]+=1)}function Wb(a,b,d,c,e){return Af[a>>>0](b>>>0,d>>>0,c>>>0,e>>>0)}function Xb(){return X([])}function Yb(a){a=V(a>>>0);for(var b=Array(a.length),d=0;d<a.length;d++)b[d]=a[d];return X(b)}function Zb(a){return X(Ff(a>>>0))}function $b(){return X({})}function ac(a){a>>>=0;for(var b=V(a);b.length;){var d=b.pop();b.pop()(d)}Qb(a)}function bc(a,b,d){b>>>=0;d>>>=0;a=V(a>>>0);b=V(b);d=V(d);a[b]=d}
function cc(a,b){a=-9007199254740992>a||9007199254740992<a?NaN:Number(a);b>>>=0;a=new Date(1E3*a);(v(),C)[b>>>2>>>0]=a.getUTCSeconds();(v(),C)[b+4>>>2>>>0]=a.getUTCMinutes();(v(),C)[b+8>>>2>>>0]=a.getUTCHours();(v(),C)[b+12>>>2>>>0]=a.getUTCDate();(v(),C)[b+16>>>2>>>0]=a.getUTCMonth();(v(),C)[b+20>>>2>>>0]=a.getUTCFullYear()-1900;(v(),C)[b+24>>>2>>>0]=a.getUTCDay();a=(a.getTime()-Date.UTC(a.getUTCFullYear(),0,1,0,0,0,0))/864E5|0;(v(),C)[b+28>>>2>>>0]=a}
var Gf=a=>0===a%4&&(0!==a%100||0===a%400),Hf=[0,31,60,91,121,152,182,213,244,274,305,335],If=[0,31,59,90,120,151,181,212,243,273,304,334];
function dc(a,b){a=-9007199254740992>a||9007199254740992<a?NaN:Number(a);b>>>=0;a=new Date(1E3*a);(v(),C)[b>>>2>>>0]=a.getSeconds();(v(),C)[b+4>>>2>>>0]=a.getMinutes();(v(),C)[b+8>>>2>>>0]=a.getHours();(v(),C)[b+12>>>2>>>0]=a.getDate();(v(),C)[b+16>>>2>>>0]=a.getMonth();(v(),C)[b+20>>>2>>>0]=a.getFullYear()-1900;(v(),C)[b+24>>>2>>>0]=a.getDay();var d=(Gf(a.getFullYear())?Hf:If)[a.getMonth()]+a.getDate()-1|0;(v(),C)[b+28>>>2>>>0]=d;(v(),C)[b+36>>>2>>>0]=-(60*a.getTimezoneOffset());d=(new Date(a.getFullYear(),
6,1)).getTimezoneOffset();var c=(new Date(a.getFullYear(),0,1)).getTimezoneOffset();a=(d!=c&&a.getTimezoneOffset()==Math.min(c,d))|0;(v(),C)[b+32>>>2>>>0]=a}
function ec(a){a>>>=0;var b=new Date((v(),C)[a+20>>>2>>>0]+1900,(v(),C)[a+16>>>2>>>0],(v(),C)[a+12>>>2>>>0],(v(),C)[a+8>>>2>>>0],(v(),C)[a+4>>>2>>>0],(v(),C)[a>>>2>>>0],0),d=(v(),C)[a+32>>>2>>>0],c=b.getTimezoneOffset(),e=(new Date(b.getFullYear(),6,1)).getTimezoneOffset(),g=(new Date(b.getFullYear(),0,1)).getTimezoneOffset(),k=Math.min(g,e);0>d?(v(),C)[a+32>>>2>>>0]=Number(e!=g&&k==c):0<d!=(k==c)&&(e=Math.max(g,e),b.setTime(b.getTime()+6E4*((0<d?k:e)-c)));(v(),C)[a+24>>>2>>>0]=b.getDay();d=(Gf(b.getFullYear())?
Hf:If)[b.getMonth()]+b.getDate()-1|0;(v(),C)[a+28>>>2>>>0]=d;(v(),C)[a>>>2>>>0]=b.getSeconds();(v(),C)[a+4>>>2>>>0]=b.getMinutes();(v(),C)[a+8>>>2>>>0]=b.getHours();(v(),C)[a+12>>>2>>>0]=b.getDate();(v(),C)[a+16>>>2>>>0]=b.getMonth();(v(),C)[a+20>>>2>>>0]=b.getYear();a=b.getTime();return BigInt(isNaN(a)?-1:a/1E3)}function fc(a,b,d,c,e,g,k){return m?P(16,1,a,b,d,c,e,g,k):-52}function gc(a,b,d,c,e,g){if(m)return P(17,1,a,b,d,c,e,g)}var Jf={},rc=()=>performance.timeOrigin+performance.now();
function hc(a,b){if(m)return P(18,1,a,b);Jf[a]&&(clearTimeout(Jf[a].id),delete Jf[a]);if(!b)return 0;var d=setTimeout(()=>{delete Jf[a];Ge(()=>Ad(a,performance.timeOrigin+performance.now()))},b);Jf[a]={id:d,Yd:b};return 0}
function ic(a,b,d,c){a>>>=0;b>>>=0;d>>>=0;c>>>=0;var e=(new Date).getFullYear(),g=(new Date(e,0,1)).getTimezoneOffset();e=(new Date(e,6,1)).getTimezoneOffset();var k=Math.max(g,e);(v(),D)[a>>>2>>>0]=60*k;(v(),C)[b>>>2>>>0]=Number(g!=e);b=l=>{var n=Math.abs(l);return`UTC${0<=l?"-":"+"}${String(Math.floor(n/60)).padStart(2,"0")}${String(n%60).padStart(2,"0")}`};a=b(g);b=b(e);e<g?(Y(a,d,17),Y(b,c,17)):(Y(a,c,17),Y(b,d,17))}var nc=()=>Date.now(),Kf=1;
function jc(a,b,d){d>>>=0;if(!(0<=a&&3>=a))return 28;if(0===a)a=Date.now();else if(Kf)a=performance.timeOrigin+performance.now();else return 52;a=Math.round(1E6*a);(v(),F)[d>>>3>>>0]=BigInt(a);return 0}var Lf=[],Mf=(a,b)=>{Lf.length=0;for(var d;d=(v(),B)[a++>>>0];){var c=105!=d;c&=112!=d;b+=c&&b%8?4:0;Lf.push(112==d?(v(),D)[b>>>2>>>0]:106==d?(v(),F)[b>>>3>>>0]:105==d?(v(),C)[b>>>2>>>0]:(v(),E)[b>>>3>>>0]);b+=c?8:4}return Lf};function kc(a,b,d){a>>>=0;b=Mf(b>>>0,d>>>0);return lf[a](...b)}
function lc(a,b,d){a>>>=0;b=Mf(b>>>0,d>>>0);return lf[a](...b)}var mc=()=>{};function oc(a,b){return r(Q(a>>>0,b>>>0))}var pc=()=>{O+=1;throw"unwind";};function qc(){return 4294901760}var sc=()=>h?require("os").cpus().length:navigator.hardwareConcurrency,Nf={},Of=a=>{var b;return(b=/\bwasm-function\[\d+\]:(0x[0-9a-f]+)/.exec(a))?+b[1]:(b=/:(\d+):\d+(?:\)|$)/.exec(a))?2147483648|+b[1]:0},Pf=a=>{for(var b of a)(a=Of(b))&&(Nf[a]=b)};
function vc(){var a=Error().stack.toString().split("\n");"Error"==a[0]&&a.shift();Pf(a);Nf.dd=Of(a[3]);Nf.Id=a;return Nf.dd}function tc(a){a=Nf[a>>>0];if(!a)return 0;var b;if(b=/^\s+at .*\.wasm\.(.*) \(.*\)$/.exec(a))a=b[1];else if(b=/^\s+at (.*) \(.*\)$/.exec(a))a=b[1];else if(b=/^(.+?)@/.exec(a))a=b[1];else return 0;I(tc.gd??0);b=af(a)+1;var d=wd(b);d&&Y(a,d,b);tc.gd=d;return tc.gd}
function uc(a){a>>>=0;var b=(v(),B).length;if(a<=b||4294901760<a)return!1;for(var d=1;4>=d;d*=2){var c=b*(1+.2/d);c=Math.min(c,a+100663296);a:{c=(Math.min(4294901760,65536*Math.ceil(Math.max(a,c)/65536))-x.buffer.byteLength+65535)/65536|0;try{x.grow(c);wa();var e=1;break a}catch(g){}e=void 0}if(e)return!0}return!1}
function wc(a,b,d){a>>>=0;b>>>=0;if(Nf.dd==a)var c=Nf.Id;else c=Error().stack.toString().split("\n"),"Error"==c[0]&&c.shift(),Pf(c);for(var e=3;c[e]&&Of(c[e])!=a;)++e;for(a=0;a<d&&c[a+e];++a)(v(),C)[b+4*a>>>2>>>0]=Of(c[a+e]);return a}
var Qf={},Sf=()=>{if(!Rf){var a={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(globalThis.navigator?.language??"C").replace("-","_")+".UTF-8",_:ha||"./this.program"},b;for(b in Qf)void 0===Qf[b]?delete a[b]:a[b]=Qf[b];var d=[];for(b in a)d.push(`${b}=${a[b]}`);Rf=d}return Rf},Rf;function xc(a,b){if(m)return P(19,1,a,b);a>>>=0;b>>>=0;var d=0,c=0,e;for(e of Sf()){var g=b+d;(v(),D)[a+c>>>2>>>0]=g;d+=Y(e,g,Infinity)+1;c+=4}return 0}
function yc(a,b){if(m)return P(20,1,a,b);a>>>=0;b>>>=0;var d=Sf();(v(),D)[a>>>2>>>0]=d.length;a=0;for(var c of d)a+=af(c)+1;(v(),D)[b>>>2>>>0]=a;return 0}function Ac(a){return m?P(21,1,a):52}function Bc(a,b,d,c){return m?P(22,1,a,b,d,c):52}function Cc(a,b,d,c){return m?P(23,1,a,b,d,c):70}var Tf=[null,[],[]];
function Dc(a,b,d,c){if(m)return P(24,1,a,b,d,c);b>>>=0;d>>>=0;c>>>=0;for(var e=0,g=0;g<d;g++){var k=(v(),D)[b>>>2>>>0],l=(v(),D)[b+4>>>2>>>0];b+=8;for(var n=0;n<l;n++){var p=a,u=(v(),B)[k+n>>>0],w=Tf[p];0===u||10===u?((1===p?sa:r)(Je(w)),w.length=0):w.push(u)}e+=l}(v(),D)[c>>>2>>>0]=e;return 0}function pd(a){return a>>>0}m||De();m||(x=new WebAssembly.Memory({initial:256,maximum:65536,shared:!0}),wa());f.wasmBinary&&(ta=f.wasmBinary);f.stackSave=()=>L();f.stackRestore=a=>K(a);f.stackAlloc=a=>Ed(a);
f.setValue=function(a,b,d="i8"){d.endsWith("*")&&(d="*");switch(d){case "i1":(v(),A)[a>>>0]=b;break;case "i8":(v(),A)[a>>>0]=b;break;case "i16":(v(),Ma)[a>>>1>>>0]=b;break;case "i32":(v(),C)[a>>>2>>>0]=b;break;case "i64":(v(),F)[a>>>3>>>0]=BigInt(b);break;case "float":(v(),Oa)[a>>>2>>>0]=b;break;case "double":(v(),E)[a>>>3>>>0]=b;break;case "*":(v(),D)[a>>>2>>>0]=b;break;default:H(`invalid type for setValue: ${d}`)}};
f.getValue=function(a,b="i8"){b.endsWith("*")&&(b="*");switch(b){case "i1":return(v(),A)[a>>>0];case "i8":return(v(),A)[a>>>0];case "i16":return(v(),Ma)[a>>>1>>>0];case "i32":return(v(),C)[a>>>2>>>0];case "i64":return(v(),F)[a>>>3>>>0];case "float":return(v(),Oa)[a>>>2>>>0];case "double":return(v(),E)[a>>>3>>>0];case "*":return(v(),D)[a>>>2>>>0];default:H(`invalid type for getValue: ${b}`)}};f.UTF8ToString=Q;f.stringToUTF8=Y;f.lengthBytesUTF8=af;
var mf=[qd,Ce,Qe,lb,mb,nb,ob,pb,qb,rb,sb,tb,ub,vb,wb,xb,fc,gc,hc,xc,yc,Ac,Bc,Cc,Dc],lf={927116:(a,b,d,c,e)=>{if("undefined"==typeof f||!f.Wc)return 1;a=Q(Number(a>>>0));a.startsWith("./")&&(a=a.substring(2));a=f.Wc.get(a);if(!a)return 2;b=Number(b>>>0);d=Number(d>>>0);c=Number(c>>>0);if(b+d>a.byteLength)return 3;try{const g=a.subarray(b,b+d);switch(e){case 0:(v(),B).set(g,c>>>0);break;case 1:f.Pd?f.Pd(c,g):f.Hd(c,g);break;default:return 4}return 0}catch{return 4}},927940:(a,b,d)=>{f.sd(a,(v(),B).subarray(b>>>
0,b+d>>>0))},928004:()=>f.Vd(),928046:a=>{f.rd(a)},928083:()=>{f.Ad()},928114:()=>{f.Bd()},928143:()=>{f.Fd()},928168:a=>f.zd(a),928201:a=>f.Dd(a),928233:(a,b,d)=>{f.cd(Number(a),Number(b),Number(d),!0)},928296:(a,b,d)=>{f.cd(Number(a),Number(b),Number(d))},928353:()=>"undefined"!==typeof wasmOffsetConverter,928410:a=>{f.$b("Abs",a,void 0)},928461:a=>{f.$b("Neg",a,void 0)},928512:a=>{f.$b("Floor",a,void 0)},928565:a=>{f.$b("Ceil",a,void 0)},928617:a=>{f.$b("Reciprocal",a,void 0)},928675:a=>{f.$b("Sqrt",
a,void 0)},928727:a=>{f.$b("Exp",a,void 0)},928778:a=>{f.$b("Erf",a,void 0)},928829:a=>{f.$b("Sigmoid",a,void 0)},928884:(a,b,d)=>{f.$b("HardSigmoid",a,{alpha:b,beta:d})},928963:a=>{f.$b("Log",a,void 0)},929014:a=>{f.$b("Sin",a,void 0)},929065:a=>{f.$b("Cos",a,void 0)},929116:a=>{f.$b("Tan",a,void 0)},929167:a=>{f.$b("Asin",a,void 0)},929219:a=>{f.$b("Acos",a,void 0)},929271:a=>{f.$b("Atan",a,void 0)},929323:a=>{f.$b("Sinh",a,void 0)},929375:a=>{f.$b("Cosh",a,void 0)},929427:a=>{f.$b("Asinh",a,void 0)},
929480:a=>{f.$b("Acosh",a,void 0)},929533:a=>{f.$b("Atanh",a,void 0)},929586:a=>{f.$b("Tanh",a,void 0)},929638:a=>{f.$b("Not",a,void 0)},929689:(a,b,d)=>{f.$b("Clip",a,{min:b,max:d})},929758:a=>{f.$b("Clip",a,void 0)},929810:(a,b)=>{f.$b("Elu",a,{alpha:b})},929868:a=>{f.$b("Gelu",a,void 0)},929920:a=>{f.$b("Relu",a,void 0)},929972:(a,b)=>{f.$b("LeakyRelu",a,{alpha:b})},930036:(a,b)=>{f.$b("ThresholdedRelu",a,{alpha:b})},930106:(a,b)=>{f.$b("Cast",a,{to:b})},930164:a=>{f.$b("Add",a,void 0)},930215:a=>
{f.$b("Sub",a,void 0)},930266:a=>{f.$b("Mul",a,void 0)},930317:a=>{f.$b("Div",a,void 0)},930368:a=>{f.$b("Pow",a,void 0)},930419:a=>{f.$b("Equal",a,void 0)},930472:a=>{f.$b("Greater",a,void 0)},930527:a=>{f.$b("GreaterOrEqual",a,void 0)},930589:a=>{f.$b("Less",a,void 0)},930641:a=>{f.$b("LessOrEqual",a,void 0)},930700:(a,b,d,c,e)=>{f.$b("ReduceMean",a,{keepDims:!!b,noopWithEmptyAxes:!!d,axes:c?Array.from((v(),C).subarray(Number(c)>>>0,Number(e)>>>0)):[]})},930875:(a,b,d,c,e)=>{f.$b("ReduceMax",a,
{keepDims:!!b,noopWithEmptyAxes:!!d,axes:c?Array.from((v(),C).subarray(Number(c)>>>0,Number(e)>>>0)):[]})},931049:(a,b,d,c,e)=>{f.$b("ReduceMin",a,{keepDims:!!b,noopWithEmptyAxes:!!d,axes:c?Array.from((v(),C).subarray(Number(c)>>>0,Number(e)>>>0)):[]})},931223:(a,b,d,c,e)=>{f.$b("ReduceProd",a,{keepDims:!!b,noopWithEmptyAxes:!!d,axes:c?Array.from((v(),C).subarray(Number(c)>>>0,Number(e)>>>0)):[]})},931398:(a,b,d,c,e)=>{f.$b("ReduceSum",a,{keepDims:!!b,noopWithEmptyAxes:!!d,axes:c?Array.from((v(),
C).subarray(Number(c)>>>0,Number(e)>>>0)):[]})},931572:(a,b,d,c,e)=>{f.$b("ReduceL1",a,{keepDims:!!b,noopWithEmptyAxes:!!d,axes:c?Array.from((v(),C).subarray(Number(c)>>>0,Number(e)>>>0)):[]})},931745:(a,b,d,c,e)=>{f.$b("ReduceL2",a,{keepDims:!!b,noopWithEmptyAxes:!!d,axes:c?Array.from((v(),C).subarray(Number(c)>>>0,Number(e)>>>0)):[]})},931918:(a,b,d,c,e)=>{f.$b("ReduceLogSum",a,{keepDims:!!b,noopWithEmptyAxes:!!d,axes:c?Array.from((v(),C).subarray(Number(c)>>>0,Number(e)>>>0)):[]})},932095:(a,b,
d,c,e)=>{f.$b("ReduceSumSquare",a,{keepDims:!!b,noopWithEmptyAxes:!!d,axes:c?Array.from((v(),C).subarray(Number(c)>>>0,Number(e)>>>0)):[]})},932275:(a,b,d,c,e)=>{f.$b("ReduceLogSumExp",a,{keepDims:!!b,noopWithEmptyAxes:!!d,axes:c?Array.from((v(),C).subarray(Number(c)>>>0,Number(e)>>>0)):[]})},932455:a=>{f.$b("Where",a,void 0)},932508:(a,b,d)=>{f.$b("Transpose",a,{perm:b?Array.from((v(),C).subarray(Number(b)>>>0,Number(d)>>>0)):[]})},932632:(a,b,d,c)=>{f.$b("DepthToSpace",a,{blocksize:b,mode:Q(d),
format:c?"NHWC":"NCHW"})},932765:(a,b,d,c)=>{f.$b("DepthToSpace",a,{blocksize:b,mode:Q(d),format:c?"NHWC":"NCHW"})},932898:(a,b,d,c,e,g,k,l,n,p,u,w,y,z,W)=>{f.$b("ConvTranspose",a,{format:n?"NHWC":"NCHW",autoPad:b,dilations:[d],group:c,kernelShape:[e],pads:[g,k],strides:[l],wIsConst:()=>!!(v(),A)[p>>>0],outputPadding:u?Array.from((v(),C).subarray(Number(u)>>>0,Number(w)>>>0)):[],outputShape:y?Array.from((v(),C).subarray(Number(y)>>>0,Number(z)>>>0)):[],activation:Q(W)})},933331:(a,b,d,c,e,g,k,l,n,
p,u,w,y,z)=>{f.$b("ConvTranspose",a,{format:l?"NHWC":"NCHW",autoPad:b,dilations:Array.from((v(),C).subarray(Number(d)>>>0,(Number(d)>>>0)+2>>>0)),group:c,kernelShape:Array.from((v(),C).subarray(Number(e)>>>0,(Number(e)>>>0)+2>>>0)),pads:Array.from((v(),C).subarray(Number(g)>>>0,(Number(g)>>>0)+4>>>0)),strides:Array.from((v(),C).subarray(Number(k)>>>0,(Number(k)>>>0)+2>>>0)),wIsConst:()=>!!(v(),A)[n>>>0],outputPadding:p?Array.from((v(),C).subarray(Number(p)>>>0,Number(u)>>>0)):[],outputShape:w?Array.from((v(),
C).subarray(Number(w)>>>0,Number(y)>>>0)):[],activation:Q(z)})},933992:(a,b,d,c,e,g,k,l,n,p,u,w,y,z,W)=>{f.$b("ConvTranspose",a,{format:n?"NHWC":"NCHW",autoPad:b,dilations:[d],group:c,kernelShape:[e],pads:[g,k],strides:[l],wIsConst:()=>!!(v(),A)[p>>>0],outputPadding:u?Array.from((v(),C).subarray(Number(u)>>>0,Number(w)>>>0)):[],outputShape:y?Array.from((v(),C).subarray(Number(y)>>>0,Number(z)>>>0)):[],activation:Q(W)})},934425:(a,b,d,c,e,g,k,l,n,p,u,w,y,z)=>{f.$b("ConvTranspose",a,{format:l?"NHWC":
"NCHW",autoPad:b,dilations:Array.from((v(),C).subarray(Number(d)>>>0,(Number(d)>>>0)+2>>>0)),group:c,kernelShape:Array.from((v(),C).subarray(Number(e)>>>0,(Number(e)>>>0)+2>>>0)),pads:Array.from((v(),C).subarray(Number(g)>>>0,(Number(g)>>>0)+4>>>0)),strides:Array.from((v(),C).subarray(Number(k)>>>0,(Number(k)>>>0)+2>>>0)),wIsConst:()=>!!(v(),A)[n>>>0],outputPadding:p?Array.from((v(),C).subarray(Number(p)>>>0,Number(u)>>>0)):[],outputShape:w?Array.from((v(),C).subarray(Number(w)>>>0,Number(y)>>>0)):
[],activation:Q(z)})},935086:(a,b)=>{f.$b("GlobalAveragePool",a,{format:b?"NHWC":"NCHW"})},935177:(a,b,d,c,e,g,k,l,n,p,u,w,y,z)=>{f.$b("AveragePool",a,{format:z?"NHWC":"NCHW",auto_pad:b,ceil_mode:d,count_include_pad:c,storage_order:e,dilations:g?Array.from((v(),C).subarray(Number(g)>>>0,Number(k)>>>0)):[],kernel_shape:l?Array.from((v(),C).subarray(Number(l)>>>0,Number(n)>>>0)):[],pads:p?Array.from((v(),C).subarray(Number(p)>>>0,Number(u)>>>0)):[],strides:w?Array.from((v(),C).subarray(Number(w)>>>
0,Number(y)>>>0)):[]})},935656:(a,b)=>{f.$b("GlobalAveragePool",a,{format:b?"NHWC":"NCHW"})},935747:(a,b,d,c,e,g,k,l,n,p,u,w,y,z)=>{f.$b("AveragePool",a,{format:z?"NHWC":"NCHW",auto_pad:b,ceil_mode:d,count_include_pad:c,storage_order:e,dilations:g?Array.from((v(),C).subarray(Number(g)>>>0,Number(k)>>>0)):[],kernel_shape:l?Array.from((v(),C).subarray(Number(l)>>>0,Number(n)>>>0)):[],pads:p?Array.from((v(),C).subarray(Number(p)>>>0,Number(u)>>>0)):[],strides:w?Array.from((v(),C).subarray(Number(w)>>>
0,Number(y)>>>0)):[]})},936226:(a,b)=>{f.$b("GlobalMaxPool",a,{format:b?"NHWC":"NCHW"})},936313:(a,b,d,c,e,g,k,l,n,p,u,w,y,z)=>{f.$b("MaxPool",a,{format:z?"NHWC":"NCHW",auto_pad:b,ceil_mode:d,count_include_pad:c,storage_order:e,dilations:g?Array.from((v(),C).subarray(Number(g)>>>0,Number(k)>>>0)):[],kernel_shape:l?Array.from((v(),C).subarray(Number(l)>>>0,Number(n)>>>0)):[],pads:p?Array.from((v(),C).subarray(Number(p)>>>0,Number(u)>>>0)):[],strides:w?Array.from((v(),C).subarray(Number(w)>>>0,Number(y)>>>
0)):[]})},936788:(a,b)=>{f.$b("GlobalMaxPool",a,{format:b?"NHWC":"NCHW"})},936875:(a,b,d,c,e,g,k,l,n,p,u,w,y,z)=>{f.$b("MaxPool",a,{format:z?"NHWC":"NCHW",auto_pad:b,ceil_mode:d,count_include_pad:c,storage_order:e,dilations:g?Array.from((v(),C).subarray(Number(g)>>>0,Number(k)>>>0)):[],kernel_shape:l?Array.from((v(),C).subarray(Number(l)>>>0,Number(n)>>>0)):[],pads:p?Array.from((v(),C).subarray(Number(p)>>>0,Number(u)>>>0)):[],strides:w?Array.from((v(),C).subarray(Number(w)>>>0,Number(y)>>>0)):[]})},
937350:(a,b,d,c,e)=>{f.$b("Gemm",a,{alpha:b,beta:d,transA:c,transB:e})},937454:a=>{f.$b("MatMul",a,void 0)},937508:(a,b,d,c)=>{f.$b("ArgMax",a,{keepDims:!!b,selectLastIndex:!!d,axis:c})},937616:(a,b,d,c)=>{f.$b("ArgMin",a,{keepDims:!!b,selectLastIndex:!!d,axis:c})},937724:(a,b)=>{f.$b("Softmax",a,{axis:b})},937787:(a,b)=>{f.$b("Concat",a,{axis:b})},937847:(a,b,d,c,e)=>{f.$b("Split",a,{axis:b,numOutputs:d,splitSizes:c?Array.from((v(),C).subarray(Number(c)>>>0,Number(e)>>>0)):[]})},938003:a=>{f.$b("Expand",
a,void 0)},938057:(a,b)=>{f.$b("Gather",a,{axis:Number(b)})},938128:(a,b)=>{f.$b("GatherElements",a,{axis:Number(b)})},938207:(a,b)=>{f.$b("GatherND",a,{batch_dims:Number(b)})},938286:(a,b,d,c,e,g,k,l,n,p,u)=>{f.$b("Resize",a,{antialias:b,axes:d?Array.from((v(),C).subarray(Number(d)>>>0,Number(c)>>>0)):[],coordinateTransformMode:Q(e),cubicCoeffA:g,excludeOutside:k,extrapolationValue:l,keepAspectRatioPolicy:Q(n),mode:Q(p),nearestMode:Q(u)})},938648:(a,b,d,c,e,g,k)=>{f.$b("Slice",a,{starts:b?Array.from((v(),
C).subarray(Number(b)>>>0,Number(d)>>>0)):[],ends:c?Array.from((v(),C).subarray(Number(c)>>>0,Number(e)>>>0)):[],axes:g?Array.from((v(),C).subarray(Number(g)>>>0,Number(k)>>>0)):[]})},938912:a=>{f.$b("Tile",a,void 0)},938964:(a,b,d)=>{f.$b("InstanceNormalization",a,{epsilon:b,format:d?"NHWC":"NCHW"})},939078:(a,b,d)=>{f.$b("InstanceNormalization",a,{epsilon:b,format:d?"NHWC":"NCHW"})},939192:a=>{f.$b("Range",a,void 0)},939245:(a,b)=>{f.$b("Einsum",a,{equation:Q(b)})},939326:(a,b,d,c,e)=>{f.$b("Pad",
a,{mode:b,value:d,pads:c?Array.from((v(),C).subarray(Number(c)>>>0,Number(e)>>>0)):[]})},939469:(a,b,d,c,e,g)=>{f.$b("BatchNormalization",a,{epsilon:b,momentum:d,spatial:!!e,trainingMode:!!c,format:g?"NHWC":"NCHW"})},939638:(a,b,d,c,e,g)=>{f.$b("BatchNormalization",a,{epsilon:b,momentum:d,spatial:!!e,trainingMode:!!c,format:g?"NHWC":"NCHW"})},939807:(a,b,d)=>{f.$b("CumSum",a,{exclusive:Number(b),reverse:Number(d)})},939904:(a,b,d)=>{f.$b("DequantizeLinear",a,{axis:b,blockSize:d})},939994:(a,b,d,c,
e)=>{f.$b("GridSample",a,{align_corners:b,mode:Q(d),padding_mode:Q(c),format:e?"NHWC":"NCHW"})},940164:(a,b,d,c,e)=>{f.$b("GridSample",a,{align_corners:b,mode:Q(d),padding_mode:Q(c),format:e?"NHWC":"NCHW"})},940334:(a,b)=>{f.$b("ScatterND",a,{reduction:Q(b)})},940419:(a,b,d,c,e,g,k,l,n)=>{f.$b("Attention",a,{numHeads:b,isUnidirectional:d,maskFilterValue:c,scale:e,doRotary:g,qkvHiddenSizes:k?Array.from((v(),C).subarray(Number(l)>>>0,Number(l)+k>>>0)):[],pastPresentShareBuffer:!!n})},940691:a=>{f.$b("BiasAdd",
a,void 0)},940746:a=>{f.$b("BiasSplitGelu",a,void 0)},940807:a=>{f.$b("FastGelu",a,void 0)},940863:(a,b,d,c,e,g,k,l,n,p,u,w,y,z,W,jb)=>{f.$b("Conv",a,{format:w?"NHWC":"NCHW",auto_pad:b,dilations:d?Array.from((v(),C).subarray(Number(d)>>>0,Number(c)>>>0)):[],group:e,kernel_shape:g?Array.from((v(),C).subarray(Number(g)>>>0,Number(k)>>>0)):[],pads:l?Array.from((v(),C).subarray(Number(l)>>>0,Number(n)>>>0)):[],strides:p?Array.from((v(),C).subarray(Number(p)>>>0,Number(u)>>>0)):[],w_is_const:()=>!!(v(),
A)[Number(y)>>>0],activation:Q(z),activation_params:W?Array.from((v(),Oa).subarray(Number(W)>>>0,Number(jb)>>>0)):[]})},941447:a=>{f.$b("Gelu",a,void 0)},941499:(a,b,d,c,e,g,k,l,n)=>{f.$b("GroupQueryAttention",a,{numHeads:b,kvNumHeads:d,scale:c,softcap:e,doRotary:g,rotaryInterleaved:k,smoothSoftmax:l,localWindowSize:n})},941716:(a,b,d,c)=>{f.$b("LayerNormalization",a,{axis:b,epsilon:d,simplified:!!c})},941827:(a,b,d,c)=>{f.$b("LayerNormalization",a,{axis:b,epsilon:d,simplified:!!c})},941938:(a,b,
d,c,e,g)=>{f.$b("MatMulNBits",a,{k:b,n:d,accuracyLevel:c,bits:e,blockSize:g})},942065:(a,b,d,c,e,g)=>{f.$b("MultiHeadAttention",a,{numHeads:b,isUnidirectional:d,maskFilterValue:c,scale:e,doRotary:g})},942224:(a,b)=>{f.$b("QuickGelu",a,{alpha:b})},942288:(a,b,d,c,e)=>{f.$b("RotaryEmbedding",a,{interleaved:!!b,numHeads:d,rotaryEmbeddingDim:c,scale:e})},942427:(a,b,d)=>{f.$b("SkipLayerNormalization",a,{epsilon:b,simplified:!!d})},942529:(a,b,d)=>{f.$b("SkipLayerNormalization",a,{epsilon:b,simplified:!!d})},
942631:(a,b,d,c)=>{f.$b("GatherBlockQuantized",a,{gatherAxis:b,quantizeAxis:d,blockSize:c})},942752:a=>{f.Ed(a)},942786:(a,b)=>f.Gd(Number(a),Number(b),f.Xc.Jd,f.Xc.errors)};function Za(a,b,d){return zf(async()=>{await f.Cd(Number(a),Number(b),Number(d))})}function Ya(){return"undefined"!==typeof wasmOffsetConverter}
var ud,Ia,vd,I,wd,Fa,La,xd,yd,zd,Ad,Bd,J,Cd,Dd,K,Ed,L,Fd,Gd,Hd,Id,dynCall_vii,Jd,dynCall_v,Kd,Ld,dynCall_iii,Md,Nd,Od,Pd,dynCall_vi,Qd,Rd,Sd,Td,Ud,Vd,Wd,Xd,Yd,Zd,$d,ae,be,ce,de,ee,fe,ge,he,ie,je,ke,le,me,ne,oe,pe,qe,re,se,Xa;function Lc(a,b,d,c){var e=L();try{return Pd(a,b,d,c)}catch(g){K(e);if(g!==g+0)throw g;J(1,0)}}function Kc(a,b,d){var c=L();try{return dynCall_iii(a,b,d)}catch(e){K(c);if(e!==e+0)throw e;J(1,0)}}
function bd(a,b,d){var c=L();try{dynCall_vii(a,b,d)}catch(e){K(c);if(e!==e+0)throw e;J(1,0)}}function Jc(a,b){var d=L();try{return Jd(a,b)}catch(c){K(d);if(c!==c+0)throw c;J(1,0)}}function $c(a){var b=L();try{dynCall_v(a)}catch(d){K(b);if(d!==d+0)throw d;J(1,0)}}function Pc(a,b,d,c,e,g,k){var l=L();try{return Nd(a,b,d,c,e,g,k)}catch(n){K(l);if(n!==n+0)throw n;J(1,0)}}function ad(a,b){var d=L();try{dynCall_vi(a,b)}catch(c){K(d);if(c!==c+0)throw c;J(1,0)}}
function fd(a,b,d,c,e,g){var k=L();try{Kd(a,b,d,c,e,g)}catch(l){K(k);if(l!==l+0)throw l;J(1,0)}}function dd(a,b,d,c){var e=L();try{Od(a,b,d,c)}catch(g){K(e);if(g!==g+0)throw g;J(1,0)}}function ed(a,b,d,c,e){var g=L();try{Ld(a,b,d,c,e)}catch(k){K(g);if(k!==k+0)throw k;J(1,0)}}function gd(a,b,d,c,e,g,k){var l=L();try{Rd(a,b,d,c,e,g,k)}catch(n){K(l);if(n!==n+0)throw n;J(1,0)}}function od(a,b,d,c,e,g,k){var l=L();try{Sd(a,b,d,c,e,g,k)}catch(n){K(l);if(n!==n+0)throw n;J(1,0)}}
function nd(a,b,d,c,e,g,k,l){var n=L();try{Wd(a,b,d,c,e,g,k,l)}catch(p){K(n);if(p!==p+0)throw p;J(1,0)}}function Mc(a,b,d,c,e){var g=L();try{return Qd(a,b,d,c,e)}catch(k){K(g);if(k!==k+0)throw k;J(1,0)}}function hd(a,b,d,c,e,g,k,l){var n=L();try{Xd(a,b,d,c,e,g,k,l)}catch(p){K(n);if(p!==p+0)throw p;J(1,0)}}function ld(a,b,d,c,e,g,k,l,n,p,u,w){var y=L();try{Td(a,b,d,c,e,g,k,l,n,p,u,w)}catch(z){K(y);if(z!==z+0)throw z;J(1,0)}}
function Oc(a,b,d,c,e,g){var k=L();try{return Ud(a,b,d,c,e,g)}catch(l){K(k);if(l!==l+0)throw l;J(1,0)}}function Yc(a,b,d){var c=L();try{return Yd(a,b,d)}catch(e){K(c);if(e!==e+0)throw e;J(1,0);return 0n}}function jd(a,b,d,c,e,g,k,l,n){var p=L();try{Md(a,b,d,c,e,g,k,l,n)}catch(u){K(p);if(u!==u+0)throw u;J(1,0)}}function Ic(a){var b=L();try{return Zd(a)}catch(d){K(b);if(d!==d+0)throw d;J(1,0)}}function Xc(a,b){var d=L();try{return oe(a,b)}catch(c){K(d);if(c!==c+0)throw c;J(1,0);return 0n}}
function Wc(a){var b=L();try{return $d(a)}catch(d){K(b);if(d!==d+0)throw d;J(1,0);return 0n}}function Sc(a,b,d,c,e,g){var k=L();try{return fe(a,b,d,c,e,g)}catch(l){K(k);if(l!==l+0)throw l;J(1,0)}}function Nc(a,b,d,c,e,g){var k=L();try{return ge(a,b,d,c,e,g)}catch(l){K(k);if(l!==l+0)throw l;J(1,0)}}function Vc(a,b,d){var c=L();try{return he(a,b,d)}catch(e){K(c);if(e!==e+0)throw e;J(1,0)}}
function Qc(a,b,d,c,e,g,k,l){var n=L();try{return Vd(a,b,d,c,e,g,k,l)}catch(p){K(n);if(p!==p+0)throw p;J(1,0)}}function Zc(a,b,d,c,e){var g=L();try{return ie(a,b,d,c,e)}catch(k){K(g);if(k!==k+0)throw k;J(1,0);return 0n}}function Hc(a,b,d,c){var e=L();try{return je(a,b,d,c)}catch(g){K(e);if(g!==g+0)throw g;J(1,0)}}function Fc(a,b,d,c){var e=L();try{return ke(a,b,d,c)}catch(g){K(e);if(g!==g+0)throw g;J(1,0)}}
function Rc(a,b,d,c,e,g,k,l,n,p,u,w){var y=L();try{return le(a,b,d,c,e,g,k,l,n,p,u,w)}catch(z){K(y);if(z!==z+0)throw z;J(1,0)}}function kd(a,b,d,c,e,g,k,l,n,p,u){var w=L();try{de(a,b,d,c,e,g,k,l,n,p,u)}catch(y){K(w);if(y!==y+0)throw y;J(1,0)}}function md(a,b,d,c,e,g,k,l,n,p,u,w,y,z,W,jb){var Uf=L();try{ee(a,b,d,c,e,g,k,l,n,p,u,w,y,z,W,jb)}catch(kb){K(Uf);if(kb!==kb+0)throw kb;J(1,0)}}function Uc(a,b,d,c){var e=L();try{return me(a,b,d,c)}catch(g){K(e);if(g!==g+0)throw g;J(1,0)}}
function Tc(a,b,d,c,e){var g=L();try{return ne(a,b,d,c,e)}catch(k){K(g);if(k!==k+0)throw k;J(1,0)}}function Gc(a,b,d){var c=L();try{return ae(a,b,d)}catch(e){K(c);if(e!==e+0)throw e;J(1,0)}}function Ec(a,b,d){var c=L();try{return be(a,b,d)}catch(e){K(c);if(e!==e+0)throw e;J(1,0)}}function cd(a,b,d,c){var e=L();try{ce(a,b,d,c)}catch(g){K(e);if(g!==g+0)throw g;J(1,0)}}
function sd(){var a=G;a=Object.assign({},a);var b=c=>e=>c(e)>>>0,d=c=>()=>c()>>>0;a.tb=b(a.tb);a.Xb=d(a.Xb);a.Zb=b(a.Zb);a.lc=b(a.lc);a.mc=d(a.mc);a.qc=b(a.qc);return a}function Da(){if(0<we)xe=Da;else if(m)xa?.(f),Ra();else{for(var a=ve;0<a.length;)a.shift()(f);0<we?xe=Da:(f.calledRun=!0,t||(Ra(),xa?.(f)))}}var G;m||(G=await (Ca()),Da());f.PTR_SIZE=4;Qa?moduleRtn=f:moduleRtn=new Promise((a,b)=>{xa=a;ya=b});
;return moduleRtn}export default ortWasmThreaded;var isPthread=globalThis.self?.name?.startsWith("em-pthread");var isNode=globalThis.process?.versions?.node&&globalThis.process?.type!="renderer";if(isNode)isPthread=(await import("worker_threads")).workerData==="em-pthread";isPthread&&ortWasmThreaded();
