decoder-pro-simd-mt.js
148 KB
!function(e){"function"==typeof define&&define.amd?define(e):e()}(function(){"use strict";var e,t=(e="undefined"==typeof document&&"undefined"==typeof location?new(require("url").URL)("file:"+__filename).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("decoder-pro-simd-mt.js",document.baseURI).href,async function(t={}){function r(){return P.buffer!=M.buffer&&H(),M}function n(){return P.buffer!=M.buffer&&H(),B}function a(){return P.buffer!=M.buffer&&H(),W}function i(){return P.buffer!=M.buffer&&H(),V}function o(){return P.buffer!=M.buffer&&H(),U}function s(){return P.buffer!=M.buffer&&H(),x}function c(){return P.buffer!=M.buffer&&H(),L}var d,l,u;(u=t).ready=new Promise((e,t)=>{d=e,l=t}),(u=void 0!==u?u:{}).locateFile=function(e,t){return"decoder-pro-simd-mt-worker.wasm"==e?"undefined"!=typeof JESSIBUCA_PRO_SIMD_MT_WORKER_WASM_URL&&""!=JESSIBUCA_PRO_SIMD_MT_WORKER_WASM_URL?JESSIBUCA_PRO_SIMD_MT_WORKER_WASM_URL:t+e:"decoder-pro-simd-mt-worker.worker.js"==e&&"undefined"!=typeof JESSIBUCA_PRO_SIMD_MT_WORKER_JS_URL&&""!=JESSIBUCA_PRO_SIMD_MT_WORKER_JS_URL?JESSIBUCA_PRO_SIMD_MT_WORKER_JS_URL:t+e};var p,f,h,m=Object.assign({},u),g=(e,t)=>{throw t},y="object"==typeof window,v="function"==typeof importScripts,b="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,w=u.ENVIRONMENT_IS_PTHREAD||!1,_="";function C(e){return u.locateFile?u.locateFile(e,_):_+e}if(b){const{createRequire:e}=await import("module");var S=e("undefined"==typeof document&&"undefined"==typeof location?new(require("url").URL)("file:"+__filename).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("decoder-pro-simd-mt.js",document.baseURI).href),A=S("fs"),T=S("path");let t;_=v?T.dirname(_)+"/":S("url").fileURLToPath(new URL("./","undefined"==typeof document&&"undefined"==typeof location?new(require("url").URL)("file:"+__filename).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("decoder-pro-simd-mt.js",document.baseURI).href)),p=(e,t)=>(e=ae(e)?new URL(e):T.normalize(e),A.readFileSync(e,t?void 0:"utf8")),h=e=>{var t=p(e,!0);return t.buffer||(t=new Uint8Array(t)),t},f=(e,t,r,n=!0)=>{e=ae(e)?new URL(e):T.normalize(e),A.readFile(e,n?void 0:"utf8",(e,a)=>{e?r(e):t(n?a.buffer:a)})},!u.thisProgram&&process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),g=(e,t)=>{throw process.exitCode=e,t},u.inspect=()=>"[Emscripten Module object]";try{t=S("worker_threads")}catch(e){throw console.error('The "worker_threads" module is not supported in this node.js build - perhaps a newer version is needed?'),e}global.Worker=t.Worker}else(y||v)&&(v?_=self.location.href:"undefined"!=typeof document&&document.currentScript&&(_=document.currentScript.src),e&&(_=e),_=0!==_.indexOf("blob:")?_.substr(0,_.replace(/[?#].*/,"").lastIndexOf("/")+1):"",b||(p=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},v&&(h=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),f=(e,t,r)=>{var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.send(null)}));b&&"undefined"==typeof performance&&(global.performance=S("perf_hooks").performance);var E=console.log.bind(console),I=console.error.bind(console);b&&(E=(...e)=>A.writeSync(1,e.join(" ")+"\n"),I=(...e)=>A.writeSync(2,e.join(" ")+"\n"));var k,P,$,D=u.print||E,F=u.printErr||I;Object.assign(u,m),m=null,u.arguments&&u.arguments,u.thisProgram&&u.thisProgram,u.quit&&(g=u.quit),u.wasmBinary&&(k=u.wasmBinary),"object"!=typeof WebAssembly&&te("no native wasm support detected");var R,M,B,W,V,U,x,O,L,j=!1;function H(){var e=P.buffer;u.HEAP8=M=new Int8Array(e),u.HEAP16=W=new Int16Array(e),u.HEAPU8=B=new Uint8Array(e),u.HEAPU16=V=new Uint16Array(e),u.HEAP32=U=new Int32Array(e),u.HEAPU32=x=new Uint32Array(e),u.HEAPF32=O=new Float32Array(e),u.HEAPF64=L=new Float64Array(e)}var N=u.INITIAL_MEMORY||67108864;if(w)P=u.wasmMemory;else if(u.wasmMemory)P=u.wasmMemory;else if(!((P=new WebAssembly.Memory({initial:N/65536,maximum:12288,shared:!0})).buffer instanceof SharedArrayBuffer))throw F("requested a shared WebAssembly.Memory but the returned buffer is not a SharedArrayBuffer, indicating that while the browser has SharedArrayBuffer it does not have WebAssembly threads support - you may need to set a flag"),b&&F("(on node you may need: --experimental-wasm-threads --experimental-wasm-bulk-memory and/or recent version)"),Error("bad memory");H(),N=P.buffer.byteLength;var G=[],z=[],q=[];function J(){w||_e(z)}function Y(e){G.unshift(e)}function K(e){q.unshift(e)}var Q=0,X=null;function Z(e){Q++,u.monitorRunDependencies&&u.monitorRunDependencies(Q)}function ee(e){if(Q--,u.monitorRunDependencies&&u.monitorRunDependencies(Q),0==Q&&X){var t=X;X=null,t()}}function te(e){u.onAbort&&u.onAbort(e),F(e="Aborted("+e+")"),j=!0,R=1,e+=". Build with -sASSERTIONS for more info.";var t=new WebAssembly.RuntimeError(e);throw l(t),t}var re,ne=e=>e.startsWith("data:application/octet-stream;base64,"),ae=e=>e.startsWith("file://");function ie(e){if(e==re&&k)return new Uint8Array(k);if(h)return h(e);throw"both async and sync fetching of the wasm failed"}function oe(e,t,r){return function(e){if(!k&&(y||v)){if("function"==typeof fetch&&!ae(e))return fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw"failed to load wasm binary file at '"+e+"'";return t.arrayBuffer()}).catch(()=>ie(e));if(f)return new Promise((t,r)=>{f(e,e=>t(new Uint8Array(e)),r)})}return Promise.resolve().then(()=>ie(e))}(e).then(e=>WebAssembly.instantiate(e,t)).then(e=>e).then(r,e=>{F(`failed to asynchronously prepare wasm: ${e}`),te(e)})}function se(e){this.name="ExitStatus",this.message=`Program terminated with exit(${e})`,this.status=e}u.locateFile?ne(re="decoder-pro-simd-mt-worker.wasm")||(re=C(re)):re=new URL("decoder-pro-simd-mt-worker.wasm","undefined"==typeof document&&"undefined"==typeof location?new(require("url").URL)("file:"+__filename).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("decoder-pro-simd-mt.js",document.baseURI).href).href;var ce=e=>{e.terminate(),e.onmessage=e=>{}},de=e=>{var t=we.pthreads[e];we.returnWorkerToPool(t)},le=e=>{var t=we.getNewWorker();if(!t)return 6;we.runningWorkers.push(t),we.pthreads[e.pthread_ptr]=t,t.pthread_ptr=e.pthread_ptr;var r={cmd:"run",start_routine:e.startRoutine,arg:e.arg,pthread_ptr:e.pthread_ptr};return b&&t.unref(),t.postMessage(r,e.transferList),0},ue=0,pe=()=>Ee||ue>0,fe="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,he=(e,t,r)=>{for(var n=t+r,a=t;e[a]&&!(a>=n);)++a;if(a-t>16&&e.buffer&&fe)return fe.decode(e.buffer instanceof SharedArrayBuffer?e.slice(t,a):e.subarray(t,a));for(var i="";t<a;){var o=e[t++];if(128&o){var s=63&e[t++];if(192!=(224&o)){var c=63&e[t++];if((o=224==(240&o)?(15&o)<<12|s<<6|c:(7&o)<<18|s<<12|c<<6|63&e[t++])<65536)i+=String.fromCharCode(o);else{var d=o-65536;i+=String.fromCharCode(55296|d>>10,56320|1023&d)}}else i+=String.fromCharCode((31&o)<<6|s)}else i+=String.fromCharCode(o)}return i},me=(e,t)=>e?he(n(),e,t):"",ge=function(e,t){var r,n,a,i=arguments.length-2,o=arguments;return r=()=>{for(var r=i,n=Ar(8*r),a=n>>3,s=0;s<i;s++){var d=o[2+s];c()[a+s]=d}return yr(e,r,n,t)},n=Cr(),a=r(),Sr(n),a};function ye(e){if(w)return ge(0,1,e);R=e,pe()||(we.terminateAllThreads(),u.onExit&&u.onExit(e),j=!0),g(e,new se(e))}var ve=(e,t)=>{if(R=e,w)throw Ce(e),"unwind";ye(e)},be=e=>{if(e instanceof se||"unwind"==e)return R;g(1,e)},we={unusedWorkers:[],runningWorkers:[],tlsInitFunctions:[],pthreads:{},init(){w?we.initWorker():we.initMainThread()},initMainThread(){for(var e=4;e--;)we.allocateUnusedWorker();Y(()=>{Z(),we.loadWasmModuleToAllWorkers(()=>ee())})},initWorker(){Ee=!1},setExitStatus:e=>{R=e},terminateAllThreads__deps:["$terminateWorker"],terminateAllThreads:()=>{for(var e of we.runningWorkers)ce(e);for(var e of we.unusedWorkers)ce(e);we.unusedWorkers=[],we.runningWorkers=[],we.pthreads=[]},returnWorkerToPool:e=>{var t=e.pthread_ptr;delete we.pthreads[t],we.unusedWorkers.push(e),we.runningWorkers.splice(we.runningWorkers.indexOf(e),1),e.pthread_ptr=0,vr(t)},receiveObjectTransfer(e){},threadInitTLS(){we.tlsInitFunctions.forEach(e=>e())},loadWasmModuleToWorker:e=>new Promise(t=>{e.onmessage=r=>{var n=r.data,a=n.cmd;if(n.targetThread&&n.targetThread!=fr()){var i=we.pthreads[n.targetThread];i?i.postMessage(n,n.transferList):F(`Internal error! Worker sent a message "${a}" to target pthread ${n.targetThread}, but that thread no longer exists!`)}else{var o;"checkMailbox"===a?Nt():"spawnThread"===a?le(n):"cleanupThread"===a?de(n.thread):"killThread"===a?(e=>{var t=we.pthreads[e];delete we.pthreads[e],ce(t),vr(e),we.runningWorkers.splice(we.runningWorkers.indexOf(t),1),t.pthread_ptr=0})(n.thread):"cancelThread"===a?(o=n.thread,we.pthreads[o].postMessage({cmd:"cancel"})):"loaded"===a?(e.loaded=!0,b&&!e.pthread_ptr&&e.unref(),t(e)):"alert"===a?alert(`Thread ${n.threadId}: ${n.text}`):"setimmediate"===n.target?e.postMessage(n):"callHandler"===a?u[n.handler](...n.args):a&&F(`worker sent an unknown command ${a}`)}},e.onerror=e=>{throw F(`worker sent an error! ${e.filename}:${e.lineno}: ${e.message}`),e},b&&(e.on("message",t=>e.onmessage({data:t})),e.on("error",t=>e.onerror(t)));var r=[];for(var n of["onExit","onAbort","print","printErr"])u.hasOwnProperty(n)&&r.push(n);e.postMessage({cmd:"load",handlers:r,urlOrBlob:u.mainScriptUrlOrBlob,wasmMemory:P,wasmModule:$})}),loadWasmModuleToAllWorkers(e){if(w)return e();Promise.all(we.unusedWorkers.map(we.loadWasmModuleToWorker)).then(e)},allocateUnusedWorker(){var e;if(u.locateFile){var t=C("decoder-pro-simd-mt-worker.worker.js");e=new Worker(t,{type:"module"})}else e=new Worker(new URL("decoder-pro-simd-mt-worker.worker.js","undefined"==typeof document&&"undefined"==typeof location?new(require("url").URL)("file:"+__filename).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("decoder-pro-simd-mt.js",document.baseURI).href),{type:"module"});we.unusedWorkers.push(e)},getNewWorker:()=>(0==we.unusedWorkers.length&&(we.allocateUnusedWorker(),we.loadWasmModuleToWorker(we.unusedWorkers[0])),we.unusedWorkers.pop())};u.PThread=we;var _e=e=>{for(;e.length>0;)e.shift()(u)};function Ce(e){if(w)return ge(1,0,e);ve(e)}u.establishStackSpace=()=>{var e=fr(),t=s()[e+52>>2],r=s()[e+56>>2];_r(t,t-r),Sr(t)};var Se,Ae=[],Te=e=>{var t=Ae[e];return t||(e>=Ae.length&&(Ae.length=e+1),Ae[e]=t=Se.get(e)),t};u.invokeEntryPoint=(e,t)=>{!function(e){pe()?we.setExitStatus(e):br(e)}(Te(e)(t))};var Ee=u.noExitRuntime||!0,Ie=e=>{we.tlsInitFunctions.push(e)};function ke(e){this.excPtr=e,this.ptr=e-24,this.set_type=function(e){s()[this.ptr+4>>2]=e},this.get_type=function(){return s()[this.ptr+4>>2]},this.set_destructor=function(e){s()[this.ptr+8>>2]=e},this.get_destructor=function(){return s()[this.ptr+8>>2]},this.set_caught=function(e){e=e?1:0,r()[this.ptr+12|0]=e},this.get_caught=function(){return 0!=r()[this.ptr+12|0]},this.set_rethrown=function(e){e=e?1:0,r()[this.ptr+13|0]=e},this.get_rethrown=function(){return 0!=r()[this.ptr+13|0]},this.init=function(e,t){this.set_adjusted_ptr(0),this.set_type(e),this.set_destructor(t)},this.set_adjusted_ptr=function(e){s()[this.ptr+16>>2]=e},this.get_adjusted_ptr=function(){return s()[this.ptr+16>>2]},this.get_exception_ptr=function(){if(Tr(this.get_type()))return s()[this.excPtr>>2];var e=this.get_adjusted_ptr();return 0!==e?e:this.excPtr}}function Pe(e,t,r,n){return w?ge(2,1,e,t,r,n):Re(e,t,r,n)}var $e,De,Fe,Re=(e,t,r,n)=>{if("undefined"==typeof SharedArrayBuffer)return F("Current environment does not support SharedArrayBuffer, pthreads are not available!"),6;var a=[];if(w&&0===a.length)return Pe(e,t,r,n);var i={startRoutine:r,pthread_ptr:e,arg:n,transferList:a};return w?(i.cmd="spawnThread",postMessage(i,a),0):le(i)},Me=e=>{for(var t="",r=e;n()[r];)t+=$e[n()[r++]];return t},Be={},We={},Ve={},Ue=e=>{throw new De(e)},xe=e=>{throw new Fe(e)},Oe=(e,t,r)=>{function n(t){var n=r(t);n.length!==e.length&&xe("Mismatched type converter count");for(var a=0;a<e.length;++a)Le(e[a],n[a])}e.forEach(function(e){Ve[e]=t});var a=new Array(t.length),i=[],o=0;t.forEach((e,t)=>{We.hasOwnProperty(e)?a[t]=We[e]:(i.push(e),Be.hasOwnProperty(e)||(Be[e]=[]),Be[e].push(()=>{a[t]=We[e],++o===i.length&&n(a)}))}),0===i.length&&n(a)};function Le(e,t,r={}){if(!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");return function(e,t,r={}){var n=t.name;if(e||Ue(`type "${n}" must have a positive integer typeid pointer`),We.hasOwnProperty(e)){if(r.ignoreDuplicateRegistrations)return;Ue(`Cannot register type '${n}' twice`)}if(We[e]=t,delete Ve[e],Be.hasOwnProperty(e)){var a=Be[e];delete Be[e],a.forEach(e=>e())}}(e,t,r)}var je,He=e=>{Ue(e.$$.ptrType.registeredClass.name+" instance already deleted")},Ne=!1,Ge=e=>{},ze=e=>{e.count.value-=1,0===e.count.value&&(e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)})(e)},qe=(e,t,r)=>{if(t===r)return e;if(void 0===r.baseClass)return null;var n=qe(e,t,r.baseClass);return null===n?null:r.downcast(n)},Je={},Ye=()=>Object.keys(et).length,Ke=()=>{var e=[];for(var t in et)et.hasOwnProperty(t)&&e.push(et[t]);return e},Qe=[],Xe=()=>{for(;Qe.length;){var e=Qe.pop();e.$$.deleteScheduled=!1,e.delete()}},Ze=e=>{je=e,Qe.length&&je&&je(Xe)},et={},tt=(e,t)=>(t=((e,t)=>{for(void 0===t&&Ue("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t})(e,t),et[t]),rt=(e,t)=>(t.ptrType&&t.ptr||xe("makeClassHandle requires ptr and ptrType"),!!t.smartPtrType!=!!t.smartPtr&&xe("Both smartPtrType and smartPtr must be specified"),t.count={value:1},at(Object.create(e,{$$:{value:t}})));function nt(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var r=tt(this.registeredClass,t);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=t,r.$$.smartPtr=e,r.clone();var n=r.clone();return this.destructor(e),n}function a(){return this.isSmartPointer?rt(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):rt(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var i,o=this.registeredClass.getActualType(t),s=Je[o];if(!s)return a.call(this);i=this.isConst?s.constPointerType:s.pointerType;var c=qe(t,this.registeredClass,i.registeredClass);return null===c?a.call(this):this.isSmartPointer?rt(i.registeredClass.instancePrototype,{ptrType:i,ptr:c,smartPtrType:this,smartPtr:e}):rt(i.registeredClass.instancePrototype,{ptrType:i,ptr:c})}var at=e=>"undefined"==typeof FinalizationRegistry?(at=e=>e,e):(Ne=new FinalizationRegistry(e=>{ze(e.$$)}),at=e=>{var t=e.$$;if(t.smartPtr){var r={$$:t};Ne.register(e,r,e)}return e},Ge=e=>Ne.unregister(e),at(e));function it(){}var ot=(e,t)=>Object.defineProperty(t,"name",{value:e}),st=(e,t,r)=>{if(void 0===e[t].overloadTable){var n=e[t];e[t]=function(){return e[t].overloadTable.hasOwnProperty(arguments.length)||Ue(`Function '${r}' called with an invalid number of arguments (${arguments.length}) - expects one of (${e[t].overloadTable})!`),e[t].overloadTable[arguments.length].apply(this,arguments)},e[t].overloadTable=[],e[t].overloadTable[n.argCount]=n}};function ct(e,t,r,n,a,i,o,s){this.name=e,this.constructor=t,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=a,this.getActualType=i,this.upcast=o,this.downcast=s,this.pureVirtualFunctions=[]}var dt=(e,t,r)=>{for(;t!==r;)t.upcast||Ue(`Expected null or instance of ${r.name}, got an instance of ${t.name}`),e=t.upcast(e),t=t.baseClass;return e};function lt(e,t){if(null===t)return this.isReference&&Ue(`null is not a valid ${this.name}`),0;t.$$||Ue(`Cannot pass "${$t(t)}" as a ${this.name}`),t.$$.ptr||Ue(`Cannot pass deleted object as a pointer of type ${this.name}`);var r=t.$$.ptrType.registeredClass;return dt(t.$$.ptr,r,this.registeredClass)}function ut(e,t){var r;if(null===t)return this.isReference&&Ue(`null is not a valid ${this.name}`),this.isSmartPointer?(r=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,r),r):0;t.$$||Ue(`Cannot pass "${$t(t)}" as a ${this.name}`),t.$$.ptr||Ue(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&t.$$.ptrType.isConst&&Ue(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);var n=t.$$.ptrType.registeredClass;if(r=dt(t.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===t.$$.smartPtr&&Ue("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?r=t.$$.smartPtr:Ue(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:r=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)r=t.$$.smartPtr;else{var a=t.clone();r=this.rawShare(r,kt.toHandle(()=>a.delete())),null!==e&&e.push(this.rawDestructor,r)}break;default:Ue("Unsupporting sharing policy")}return r}function pt(e,t){if(null===t)return this.isReference&&Ue(`null is not a valid ${this.name}`),0;t.$$||Ue(`Cannot pass "${$t(t)}" as a ${this.name}`),t.$$.ptr||Ue(`Cannot pass deleted object as a pointer of type ${this.name}`),t.$$.ptrType.isConst&&Ue(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);var r=t.$$.ptrType.registeredClass;return dt(t.$$.ptr,r,this.registeredClass)}function ft(e){return this.fromWireType(s()[e>>2])}function ht(e,t,r,n,a,i,o,s,c,d,l){this.name=e,this.registeredClass=t,this.isReference=r,this.isConst=n,this.isSmartPointer=a,this.pointeeType=i,this.sharingPolicy=o,this.rawGetPointee=s,this.rawConstructor=c,this.rawShare=d,this.rawDestructor=l,a||void 0!==t.baseClass?this.toWireType=ut:n?(this.toWireType=lt,this.destructorFunction=null):(this.toWireType=pt,this.destructorFunction=null)}var mt,gt=(e,t,r)=>e.includes("j")?((e,t,r)=>{var n=u["dynCall_"+e];return r&&r.length?n.apply(null,[t].concat(r)):n.call(null,t)})(e,t,r):Te(t).apply(null,r),yt=(e,t)=>{var r,n,a,i=(e=Me(e)).includes("j")?(r=e,n=t,a=[],function(){return a.length=0,Object.assign(a,arguments),gt(r,n,a)}):Te(t);return"function"!=typeof i&&Ue(`unknown function pointer with signature ${e}: ${t}`),i},vt=e=>{var t=hr(e),r=Me(t);return ur(t),r},bt=(e,t)=>{var r=[],n={};throw t.forEach(function e(t){n[t]||We[t]||(Ve[t]?Ve[t].forEach(e):(r.push(t),n[t]=!0))}),new mt(`${e}: `+r.map(vt).join([", "]))},wt=(e,t)=>{for(var r=[],n=0;n<e;n++)r.push(s()[t+4*n>>2]);return r},_t=e=>{for(;e.length;){var t=e.pop();e.pop()(t)}};function Ct(e,t){if(!(e instanceof Function))throw new TypeError(`new_ called with constructor type ${typeof e} which is not a function`);var r=ot(e.name||"unknownFunctionName",function(){});r.prototype=e.prototype;var n=new r,a=e.apply(n,t);return a instanceof Object?a:n}function St(e,t,r,n,a,i){var o=t.length;o<2&&Ue("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var s=null!==t[1]&&null!==r,c=!1,d=1;d<t.length;++d)if(null!==t[d]&&void 0===t[d].destructorFunction){c=!0;break}var l="void"!==t[0].name,u="",p="";for(d=0;d<o-2;++d)u+=(0!==d?", ":"")+"arg"+d,p+=(0!==d?", ":"")+"arg"+d+"Wired";var f=`\n return function (${u}) {\n if (arguments.length !== ${o-2}) {\n throwBindingError('function ${e} called with ' + arguments.length + ' arguments, expected ${o-2}');\n }`;c&&(f+="var destructors = [];\n");var h=c?"destructors":"null",m=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],g=[Ue,n,a,_t,t[0],t[1]];for(s&&(f+="var thisWired = classParam.toWireType("+h+", this);\n"),d=0;d<o-2;++d)f+="var arg"+d+"Wired = argType"+d+".toWireType("+h+", arg"+d+"); // "+t[d+2].name+"\n",m.push("argType"+d),g.push(t[d+2]);if(s&&(p="thisWired"+(p.length>0?", ":"")+p),f+=(l||i?"var rv = ":"")+"invoker(fn"+(p.length>0?", ":"")+p+");\n",c)f+="runDestructors(destructors);\n";else for(d=s?1:2;d<t.length;++d){var y=1===d?"thisWired":"arg"+(d-2)+"Wired";null!==t[d].destructorFunction&&(f+=y+"_dtor("+y+"); // "+t[d].name+"\n",m.push(y+"_dtor"),g.push(t[d].destructorFunction))}l&&(f+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),f+="}\n",m.push(f);var v=Ct(Function,m).apply(null,g);return ot(e,v)}function At(){this.allocated=[void 0],this.freelist=[]}var Tt=new At,Et=e=>{e>=Tt.reserved&&0===--Tt.get(e).refcount&&Tt.free(e)},It=()=>{for(var e=0,t=Tt.reserved;t<Tt.allocated.length;++t)void 0!==Tt.allocated[t]&&++e;return e},kt={toValue:e=>(e||Ue("Cannot use deleted val. handle = "+e),Tt.get(e).value),toHandle:e=>{switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:return Tt.allocate({refcount:1,value:e})}}};function Pt(e){return this.fromWireType(o()[e>>2])}var $t=e=>{if(null===e)return"null";var t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():""+e},Dt=(e,t)=>{switch(t){case 4:return function(e){return this.fromWireType((P.buffer!=M.buffer&&H(),O)[e>>2])};case 8:return function(e){return this.fromWireType(c()[e>>3])};default:throw new TypeError(`invalid float width (${t}): ${e}`)}},Ft=(e,t,c)=>{switch(t){case 1:return c?e=>r()[0|e]:e=>n()[0|e];case 2:return c?e=>a()[e>>1]:e=>i()[e>>1];case 4:return c?e=>o()[e>>2]:e=>s()[e>>2];default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},Rt=(e,t,r)=>((e,t,r,n)=>{if(!(n>0))return 0;for(var a=r,i=r+n-1,o=0;o<e.length;++o){var s=e.charCodeAt(o);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++o)),s<=127){if(r>=i)break;t[r++]=s}else if(s<=2047){if(r+1>=i)break;t[r++]=192|s>>6,t[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;t[r++]=224|s>>12,t[r++]=128|s>>6&63,t[r++]=128|63&s}else{if(r+3>=i)break;t[r++]=240|s>>18,t[r++]=128|s>>12&63,t[r++]=128|s>>6&63,t[r++]=128|63&s}}return t[r]=0,r-a})(e,n(),t,r),Mt=e=>{for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n<=127?t++:n<=2047?t+=2:n>=55296&&n<=57343?(t+=4,++r):t+=3}return t},Bt="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,Wt=(e,t)=>{for(var r=e,o=r>>1,s=o+t/2;!(o>=s)&&i()[o];)++o;if((r=o<<1)-e>32&&Bt)return Bt.decode(n().slice(e,r));for(var c="",d=0;!(d>=t/2);++d){var l=a()[e+2*d>>1];if(0==l)break;c+=String.fromCharCode(l)}return c},Vt=(e,t,r)=>{if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=t,i=(r-=2)<2*e.length?r/2:e.length,o=0;o<i;++o){var s=e.charCodeAt(o);a()[t>>1]=s,t+=2}return a()[t>>1]=0,t-n},Ut=e=>2*e.length,xt=(e,t)=>{for(var r=0,n="";!(r>=t/4);){var a=o()[e+4*r>>2];if(0==a)break;if(++r,a>=65536){var i=a-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(a)}return n},Ot=(e,t,r)=>{if(void 0===r&&(r=2147483647),r<4)return 0;for(var n=t,a=n+r-4,i=0;i<e.length;++i){var s=e.charCodeAt(i);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++i)),o()[t>>2]=s,(t+=4)+4>a)break}return o()[t>>2]=0,t-n},Lt=e=>{for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n>=55296&&n<=57343&&++r,t+=4}return t},jt=e=>{if(!j)try{e(),(()=>{if(!pe())try{w?br(R):ve(R)}catch(e){be(e)}})()}catch(e){be(e)}},Ht=e=>{if("function"==typeof Atomics.waitAsync){Atomics.waitAsync(o(),e>>2,e).value.then(Nt);var t=e+128;Atomics.store(o(),t>>2,1)}};u.__emscripten_thread_mailbox_await=Ht;var Nt=()=>{var e=fr();e&&(Ht(e),jt(wr))};u.checkMailbox=Nt;var Gt,zt=[],qt={},Jt=e=>{var t=qt[e];return void 0===t?Me(e):t},Yt=[],Kt=(e,t)=>{var r=We[e];return void 0===r&&Ue(t+" has unknown type "+vt(e)),r},Qt=(e,t,r)=>{var n=[],a=e.toWireType(n,r);return n.length&&(s()[t>>2]=kt.toHandle(n)),a},Xt=[0,31,60,91,121,152,182,213,244,274,305,335],Zt=[0,31,59,90,120,151,181,212,243,273,304,334],er=e=>{var t=Mt(e)+1,r=pr(t);return r&&Rt(e,r,t),r};Gt=()=>performance.timeOrigin+performance.now();var tr,rr,nr,ar=e=>{var t=(e-P.buffer.byteLength+65535)/65536;try{return P.grow(t),H(),1}catch(e){}},ir=[null,[],[]],or=(e,t)=>{var r=ir[e];0===t||10===t?((1===e?D:F)(he(r,0)),r.length=0):r.push(t)};function sr(e,t,r,a){if(w)return ge(3,1,e,t,r,a);for(var i=0,o=0;o<r;o++){var c=s()[t>>2],d=s()[t+4>>2];t+=8;for(var l=0;l<d;l++)or(e,n()[c+l]);i+=d}return s()[a>>2]=i,0}we.init(),(()=>{for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);$e=e})(),De=u.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},Fe=u.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},Object.assign(it.prototype,{isAliasOf(e){if(!(this instanceof it))return!1;if(!(e instanceof it))return!1;var t=this.$$.ptrType.registeredClass,r=this.$$.ptr;e.$$=e.$$;for(var n=e.$$.ptrType.registeredClass,a=e.$$.ptr;t.baseClass;)r=t.upcast(r),t=t.baseClass;for(;n.baseClass;)a=n.upcast(a),n=n.baseClass;return t===n&&r===a},clone(){if(this.$$.ptr||He(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e,t=at(Object.create(Object.getPrototypeOf(this),{$$:{value:(e=this.$$,{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType})}}));return t.$$.count.value+=1,t.$$.deleteScheduled=!1,t},delete(){this.$$.ptr||He(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Ue("Object already scheduled for deletion"),Ge(this),ze(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||He(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Ue("Object already scheduled for deletion"),Qe.push(this),1===Qe.length&&je&&je(Xe),this.$$.deleteScheduled=!0,this}}),u.getInheritedInstanceCount=Ye,u.getLiveInheritedInstances=Ke,u.flushPendingDeletes=Xe,u.setDelayFunction=Ze,Object.assign(ht.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){this.rawDestructor&&this.rawDestructor(e)},argPackAdvance:8,readValueFromPointer:ft,deleteObject(e){null!==e&&e.delete()},fromWireType:nt}),mt=u.UnboundTypeError=(tr=Error,(nr=ot(rr="UnboundTypeError",function(e){this.name=rr,this.message=e;var t=new Error(e).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))})).prototype=Object.create(tr.prototype),nr.prototype.constructor=nr,nr.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},nr),Object.assign(At.prototype,{get(e){return this.allocated[e]},has(e){return void 0!==this.allocated[e]},allocate(e){var t=this.freelist.pop()||this.allocated.length;return this.allocated[t]=e,t},free(e){this.allocated[e]=void 0,this.freelist.push(e)}}),Tt.allocated.push({value:void 0},{value:null},{value:!0},{value:!1}),Tt.reserved=Tt.allocated.length,u.count_emval_handles=It;var cr=[ye,Ce,Pe,sr],dr={e:(e,t,r,n)=>{te(`Assertion failed: ${me(e)}, at: `+[t?me(t):"unknown filename",r,n?me(n):"unknown function"])},s:(e,t,r)=>{throw new ke(e).init(t,r),e},F:e=>{mr(e,!v,1,!y,8388608,!1),we.threadInitTLS()},m:e=>{w?postMessage({cmd:"cleanupThread",thread:e}):de(e)},C:Re,w:(e,t,r,n,a)=>{},M:(e,t,r,a)=>{Le(e,{name:t=Me(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?r:a},argPackAdvance:8,readValueFromPointer:function(e){return this.fromWireType(n()[e])},destructorFunction:null})},v:(e,t,r,n,a,i,o,s,c,d,l,p,f)=>{l=Me(l),i=yt(a,i),s&&(s=yt(o,s)),d&&(d=yt(c,d)),f=yt(p,f);var h=(e=>{if(void 0===e)return"_unknown";var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return t>=48&&t<=57?`_${e}`:e})(l);((e,t,r)=>{u.hasOwnProperty(e)?((void 0===r||void 0!==u[e].overloadTable&&void 0!==u[e].overloadTable[r])&&Ue(`Cannot register public name '${e}' twice`),st(u,e,e),u.hasOwnProperty(r)&&Ue(`Cannot register multiple overloads of a function with the same number of arguments (${r})!`),u[e].overloadTable[r]=t):(u[e]=t,void 0!==r&&(u[e].numArguments=r))})(h,function(){bt(`Cannot construct ${l} due to unbound types`,[n])}),Oe([e,t,r],n?[n]:[],function(t){var r,a;t=t[0],a=n?(r=t.registeredClass).instancePrototype:it.prototype;var o=ot(l,function(){if(Object.getPrototypeOf(this)!==c)throw new De("Use 'new' to construct "+l);if(void 0===p.constructor_body)throw new De(l+" has no accessible constructor");var e=p.constructor_body[arguments.length];if(void 0===e)throw new De(`Tried to invoke ctor of ${l} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(p.constructor_body).toString()}) parameters instead!`);return e.apply(this,arguments)}),c=Object.create(a,{constructor:{value:o}});o.prototype=c;var p=new ct(l,o,c,f,r,i,s,d);p.baseClass&&(void 0===p.baseClass.__derivedClasses&&(p.baseClass.__derivedClasses=[]),p.baseClass.__derivedClasses.push(p));var m=new ht(l,p,!0,!1,!1),g=new ht(l+"*",p,!1,!1,!1),y=new ht(l+" const*",p,!1,!0,!1);return Je[e]={pointerType:g,constPointerType:y},((e,t,r)=>{u.hasOwnProperty(e)||xe("Replacing nonexistant public symbol"),void 0!==u[e].overloadTable&&void 0!==r?u[e].overloadTable[r]=t:(u[e]=t,u[e].argCount=r)})(h,o),[m,g,y]})},t:(e,t,r,n,a,i)=>{var o=wt(t,r);a=yt(n,a),Oe([],[e],function(e){var r=`constructor ${(e=e[0]).name}`;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[t-1])throw new De(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.registeredClass.constructor_body[t-1]=()=>{bt(`Cannot construct ${e.name} due to unbound types`,o)},Oe([],o,n=>(n.splice(1,0,null),e.registeredClass.constructor_body[t-1]=St(r,n,null,a,i),[])),[]})},j:(e,t,r,n,a,i,o,s,c)=>{var d=wt(r,n);t=(e=>{const t=(e=e.trim()).indexOf("(");return-1!==t?e.substr(0,t):e})(t=Me(t)),i=yt(a,i),Oe([],[e],function(e){var n=`${(e=e[0]).name}.${t}`;function a(){bt(`Cannot call ${n} due to unbound types`,d)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]),s&&e.registeredClass.pureVirtualFunctions.push(t);var l=e.registeredClass.instancePrototype,u=l[t];return void 0===u||void 0===u.overloadTable&&u.className!==e.name&&u.argCount===r-2?(a.argCount=r-2,a.className=e.name,l[t]=a):(st(l,t,n),l[t].overloadTable[r-2]=a),Oe([],d,function(a){var s=St(n,a,e,i,o,c);return void 0===l[t].overloadTable?(s.argCount=r-2,l[t]=s):l[t].overloadTable[r-2]=s,[]}),[]})},L:(e,t)=>{Le(e,{name:t=Me(t),fromWireType:e=>{var t=kt.toValue(e);return Et(e),t},toWireType:(e,t)=>kt.toHandle(t),argPackAdvance:8,readValueFromPointer:Pt,destructorFunction:null})},o:(e,t,r)=>{Le(e,{name:t=Me(t),fromWireType:e=>e,toWireType:(e,t)=>t,argPackAdvance:8,readValueFromPointer:Dt(t,r),destructorFunction:null})},c:(e,t,r,n,a)=>{t=Me(t);var i=e=>e;if(0===n){var o=32-8*r;i=e=>e<<o>>>o}var s=t.includes("unsigned");Le(e,{name:t,fromWireType:i,toWireType:s?function(e,t){return this.name,t>>>0}:function(e,t){return this.name,t},argPackAdvance:8,readValueFromPointer:Ft(t,r,0!==n),destructorFunction:null})},b:(e,t,n)=>{var a=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];function i(e){var t=s()[e>>2],n=s()[e+4>>2];return new a(r().buffer,n,t)}Le(e,{name:n=Me(n),fromWireType:i,argPackAdvance:8,readValueFromPointer:i},{ignoreDuplicateRegistrations:!0})},p:(e,t)=>{var r="std::string"===(t=Me(t));Le(e,{name:t,fromWireType(e){var t,a=s()[e>>2],i=e+4;if(r)for(var o=i,c=0;c<=a;++c){var d=i+c;if(c==a||0==n()[d]){var l=me(o,d-o);void 0===t?t=l:(t+=String.fromCharCode(0),t+=l),o=d+1}}else{var u=new Array(a);for(c=0;c<a;++c)u[c]=String.fromCharCode(n()[i+c]);t=u.join("")}return ur(e),t},toWireType(e,t){var a;t instanceof ArrayBuffer&&(t=new Uint8Array(t));var i="string"==typeof t;i||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array||Ue("Cannot pass non-string to std::string"),a=r&&i?Mt(t):t.length;var o=pr(4+a+1),c=o+4;if(s()[o>>2]=a,r&&i)Rt(t,c,a+1);else if(i)for(var d=0;d<a;++d){var l=t.charCodeAt(d);l>255&&(ur(c),Ue("String has UTF-16 code units that do not fit in 8 bits")),n()[c+d]=l}else for(d=0;d<a;++d)n()[c+d]=t[d];return null!==e&&e.push(ur,o),o},argPackAdvance:8,readValueFromPointer:ft,destructorFunction(e){ur(e)}})},k:(e,t,r)=>{var n,a,o,c,d;r=Me(r),2===t?(n=Wt,a=Vt,c=Ut,o=()=>i(),d=1):4===t&&(n=xt,a=Ot,c=Lt,o=()=>s(),d=2),Le(e,{name:r,fromWireType:e=>{for(var r,a=s()[e>>2],i=o(),c=e+4,l=0;l<=a;++l){var u=e+4+l*t;if(l==a||0==i[u>>d]){var p=n(c,u-c);void 0===r?r=p:(r+=String.fromCharCode(0),r+=p),c=u+t}}return ur(e),r},toWireType:(e,n)=>{"string"!=typeof n&&Ue(`Cannot pass non-string to C++ string type ${r}`);var i=c(n),o=pr(4+i+t);return s()[o>>2]=i>>d,a(n,o+4,i+t),null!==e&&e.push(ur,o),o},argPackAdvance:8,readValueFromPointer:Pt,destructorFunction(e){ur(e)}})},N:(e,t)=>{Le(e,{isVoid:!0,name:t=Me(t),argPackAdvance:0,fromWireType:()=>{},toWireType:(e,t)=>{}})},z:(e,t,r)=>{if(e==t)setTimeout(()=>Nt());else if(w)postMessage({targetThread:e,cmd:"checkMailbox"});else{var n=we.pthreads[e];if(!n)return;n.postMessage({cmd:"checkMailbox"})}},G:(e,t,r,n)=>{zt.length=r;for(var a=n>>3,i=0;i<r;i++)zt[i]=c()[a+i];var o=cr[e];we.currentProxiedOperationCallerThread=t;var s=o.apply(null,zt);return we.currentProxiedOperationCallerThread=0,s},E:Ht,I:e=>{b&&we.pthreads[e].ref()},h:(e,t,r,n,a)=>(e=Yt[e])(t=kt.toValue(t),t[r=Jt(r)],n,a),d:Et,g:(e,t,r)=>{var n=((e,t)=>{for(var r=new Array(e),n=0;n<e;++n)r[n]=Kt(s()[t+4*n>>2],"parameter "+n);return r})(e,t),a=n.shift();e--;var i="return function (obj, func, destructorsRef, args) {\n",o=0,c=[];0===r&&c.push("obj");for(var d=["retType"],l=[a],u=0;u<e;++u)c.push("arg"+u),d.push("argType"+u),l.push(n[u]),i+=` var arg${u} = argType${u}.readValueFromPointer(args${o?"+"+o:""});\n`,o+=n[u].argPackAdvance;for(i+=` var rv = ${1===r?"new func":"func.call"}(${c.join(", ")});\n`,u=0;u<e;++u)n[u].deleteObject&&(i+=` argType${u}.deleteObject(arg${u});\n`);a.isVoid||(d.push("emval_returnValue"),l.push(Qt),i+=" return emval_returnValue(retType, destructorsRef, rv);\n"),i+="};\n",d.push(i);var p,f,h=Ct(Function,d).apply(null,l),m=`methodCaller<(${n.map(e=>e.name).join(", ")}) => ${a.name}>`;return p=ot(m,h),f=Yt.length,Yt.push(p),f},O:e=>{e>4&&(Tt.get(e).refcount+=1)},q:e=>kt.toHandle(Jt(e)),K:()=>kt.toHandle({}),D:e=>kt.toHandle(me(e)),i:e=>{var t=kt.toValue(e);_t(t),Et(e)},r:(e,t,r)=>{e=kt.toValue(e),t=kt.toValue(t),r=kt.toValue(r),e[t]=r},P:(e,t)=>{var r=(e=Kt(e,"_emval_take_value")).readValueFromPointer(t);return kt.toHandle(r)},u:function(e,t,r){var n,a,i=(a=t)+2097152>>>0<4194305-!!(n=e)?(n>>>0)+4294967296*a:NaN,s=new Date(1e3*i);o()[r>>2]=s.getSeconds(),o()[r+4>>2]=s.getMinutes(),o()[r+8>>2]=s.getHours(),o()[r+12>>2]=s.getDate(),o()[r+16>>2]=s.getMonth(),o()[r+20>>2]=s.getFullYear()-1900,o()[r+24>>2]=s.getDay();var c=0|(e=>{var t;return((t=e.getFullYear())%4!=0||t%100==0&&t%400!=0?Zt:Xt)[e.getMonth()]+e.getDate()-1})(s);o()[r+28>>2]=c,o()[r+36>>2]=-60*s.getTimezoneOffset();var d=new Date(s.getFullYear(),0,1),l=new Date(s.getFullYear(),6,1).getTimezoneOffset(),u=d.getTimezoneOffset(),p=0|(l!=u&&s.getTimezoneOffset()==Math.min(u,l));o()[r+32>>2]=p},y:(e,t,r)=>{var n=(new Date).getFullYear(),a=new Date(n,0,1),i=new Date(n,6,1),c=a.getTimezoneOffset(),d=i.getTimezoneOffset(),l=Math.max(c,d);function u(e){var t=e.toTimeString().match(/\(([A-Za-z ]+)\)$/);return t?t[1]:"GMT"}s()[e>>2]=60*l,o()[t>>2]=Number(c!=d);var p=u(a),f=u(i),h=er(p),m=er(f);d<c?(s()[r>>2]=h,s()[r+4>>2]=m):(s()[r>>2]=m,s()[r+4>>2]=h)},l:()=>{te("")},n:()=>{},J:()=>Date.now(),H:()=>{throw ue+=1,"unwind"},f:Gt,x:e=>{var t=n().length;if((e>>>=0)<=t)return!1;var r=805306368;if(e>r)return!1;for(var a=(e,t)=>e+(t-e%t)%t,i=1;i<=4;i*=2){var o=t*(1+.2/i);o=Math.min(o,e+100663296);var s=Math.min(r,a(Math.max(e,o),65536));if(ar(s))return!0}return!1},B:ve,A:sr,a:P||u.wasmMemory},lr=function(){var e,t,r,n,a={a:dr};function i(e,t){var r;return lr=e.exports,Ie(lr.U),Se=lr.Y,r=lr.Q,z.unshift(r),$=t,ee(),lr}if(Z(),u.instantiateWasm)try{return u.instantiateWasm(a,i)}catch(e){F(`Module.instantiateWasm callback failed with error: ${e}`),l(e)}return(e=k,t=re,r=a,n=function(e){i(e.instance,e.module)},e||"function"!=typeof WebAssembly.instantiateStreaming||ne(t)||ae(t)||b||"function"!=typeof fetch?oe(t,r,n):fetch(t,{credentials:"same-origin"}).then(e=>WebAssembly.instantiateStreaming(e,r).then(n,function(e){return F(`wasm streaming compile failed: ${e}`),F("falling back to ArrayBuffer instantiation"),oe(t,r,n)}))).catch(l),{}}(),ur=e=>(ur=lr.R)(e),pr=e=>(pr=lr.S)(e),fr=u._pthread_self=()=>(fr=u._pthread_self=lr.T)();u.__emscripten_tls_init=()=>(u.__emscripten_tls_init=lr.U)();var hr=e=>(hr=lr.V)(e);u.__embind_initialize_bindings=()=>(u.__embind_initialize_bindings=lr.W)();var mr=u.__emscripten_thread_init=(e,t,r,n,a,i)=>(mr=u.__emscripten_thread_init=lr.X)(e,t,r,n,a,i);u.__emscripten_thread_crashed=()=>(u.__emscripten_thread_crashed=lr.Z)();var gr,yr=(e,t,r,n)=>(yr=lr._)(e,t,r,n),vr=e=>(vr=lr.$)(e),br=u.__emscripten_thread_exit=e=>(br=u.__emscripten_thread_exit=lr.aa)(e),wr=()=>(wr=lr.ba)(),_r=(e,t)=>(_r=lr.ca)(e,t),Cr=()=>(Cr=lr.da)(),Sr=e=>(Sr=lr.ea)(e),Ar=e=>(Ar=lr.fa)(e),Tr=e=>(Tr=lr.ga)(e);function Er(){if(!(Q>0)){if(w)return d(u),J(),void startWorker(u);!function(){if(u.preRun)for("function"==typeof u.preRun&&(u.preRun=[u.preRun]);u.preRun.length;)Y(u.preRun.shift());_e(G)}(),Q>0||(u.setStatus?(u.setStatus("Running..."),setTimeout(function(){setTimeout(function(){u.setStatus("")},1),e()},1)):e())}function e(){gr||(gr=!0,u.calledRun=!0,j||(J(),d(u),u.onRuntimeInitialized&&u.onRuntimeInitialized(),function(){if(!w){if(u.postRun)for("function"==typeof u.postRun&&(u.postRun=[u.postRun]);u.postRun.length;)K(u.postRun.shift());_e(q)}}()))}}if(u.dynCall_jiji=(e,t,r,n,a)=>(u.dynCall_jiji=lr.ha)(e,t,r,n,a),u.___start_em_js=143676,u.___stop_em_js=143733,u.wasmMemory=P,u.keepRuntimeAlive=pe,u.ExitStatus=se,u.PThread=we,X=function e(){gr||Er(),gr||(X=e)},u.preInit)for("function"==typeof u.preInit&&(u.preInit=[u.preInit]);u.preInit.length>0;)u.preInit.pop()();return Er(),t.ready}),r=(()=>{var e="undefined"==typeof document&&"undefined"==typeof location?new(require("url").URL)("file:"+__filename).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("decoder-pro-simd-mt.js",document.baseURI).href;return async function(t={}){var r,n,a;(a=t).ready=new Promise((e,t)=>{r=e,n=t}),(a=void 0!==a?a:{}).locateFile=function(e,t){return"decoder-pro-audio.wasm"==e&&"undefined"!=typeof JESSIBUCA_PRO_AUDIO_WASM_URL&&""!=JESSIBUCA_PRO_AUDIO_WASM_URL?JESSIBUCA_PRO_AUDIO_WASM_URL:t+e};var i,o,s,c=Object.assign({},a),d="./this.program",l="object"==typeof window,u="function"==typeof importScripts,p="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,f="";if(p){const{createRequire:e}=await import("module");var h=e("undefined"==typeof document&&"undefined"==typeof location?new(require("url").URL)("file:"+__filename).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("decoder-pro-simd-mt.js",document.baseURI).href),m=h("fs"),g=h("path");f=u?g.dirname(f)+"/":h("url").fileURLToPath(new URL("./","undefined"==typeof document&&"undefined"==typeof location?new(require("url").URL)("file:"+__filename).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("decoder-pro-simd-mt.js",document.baseURI).href)),i=(e,t)=>(e=N(e)?new URL(e):g.normalize(e),m.readFileSync(e,t?void 0:"utf8")),s=e=>{var t=i(e,!0);return t.buffer||(t=new Uint8Array(t)),t},o=(e,t,r,n=!0)=>{e=N(e)?new URL(e):g.normalize(e),m.readFile(e,n?void 0:"utf8",(e,a)=>{e?r(e):t(n?a.buffer:a)})},!a.thisProgram&&process.argv.length>1&&(d=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),a.inspect=()=>"[Emscripten Module object]"}else(l||u)&&(u?f=self.location.href:"undefined"!=typeof document&&document.currentScript&&(f=document.currentScript.src),e&&(f=e),f=0!==f.indexOf("blob:")?f.substr(0,f.replace(/[?#].*/,"").lastIndexOf("/")+1):"",i=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},u&&(s=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),o=(e,t,r)=>{var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.send(null)});var y,v,b=a.print||console.log.bind(console),w=a.printErr||console.error.bind(console);Object.assign(a,c),c=null,a.arguments&&a.arguments,a.thisProgram&&(d=a.thisProgram),a.quit&&a.quit,a.wasmBinary&&(y=a.wasmBinary),"object"!=typeof WebAssembly&&U("no native wasm support detected");var _,C,S,A,T,E,I,k,P=!1;function $(){var e=v.buffer;a.HEAP8=_=new Int8Array(e),a.HEAP16=S=new Int16Array(e),a.HEAPU8=C=new Uint8Array(e),a.HEAPU16=A=new Uint16Array(e),a.HEAP32=T=new Int32Array(e),a.HEAPU32=E=new Uint32Array(e),a.HEAPF32=I=new Float32Array(e),a.HEAPF64=k=new Float64Array(e)}var D=[],F=[],R=[];function M(e){D.unshift(e)}function B(e){R.unshift(e)}var W=0,V=null;function U(e){a.onAbort&&a.onAbort(e),w(e="Aborted("+e+")"),P=!0,e+=". Build with -sASSERTIONS for more info.";var t=new WebAssembly.RuntimeError(e);throw n(t),t}var x,O,L,j,H=e=>e.startsWith("data:application/octet-stream;base64,"),N=e=>e.startsWith("file://");function G(e){if(e==x&&y)return new Uint8Array(y);if(s)return s(e);throw"both async and sync fetching of the wasm failed"}function z(e,t,r){return function(e){if(!y&&(l||u)){if("function"==typeof fetch&&!N(e))return fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw"failed to load wasm binary file at '"+e+"'";return t.arrayBuffer()}).catch(()=>G(e));if(o)return new Promise((t,r)=>{o(e,e=>t(new Uint8Array(e)),r)})}return Promise.resolve().then(()=>G(e))}(e).then(e=>WebAssembly.instantiate(e,t)).then(e=>e).then(r,e=>{w(`failed to asynchronously prepare wasm: ${e}`),U(e)})}a.locateFile?H(x="decoder-pro-audio.wasm")||(O=x,x=a.locateFile?a.locateFile(O,f):f+O):x=new URL("decoder-pro-audio.wasm","undefined"==typeof document&&"undefined"==typeof location?new(require("url").URL)("file:"+__filename).href:"undefined"==typeof document?location.href:document.currentScript&&document.currentScript.src||new URL("decoder-pro-simd-mt.js",document.baseURI).href).href;var q=e=>{for(;e.length>0;)e.shift()(a)};function J(e){this.excPtr=e,this.ptr=e-24,this.set_type=function(e){E[this.ptr+4>>2]=e},this.get_type=function(){return E[this.ptr+4>>2]},this.set_destructor=function(e){E[this.ptr+8>>2]=e},this.get_destructor=function(){return E[this.ptr+8>>2]},this.set_caught=function(e){e=e?1:0,_[this.ptr+12|0]=e},this.get_caught=function(){return 0!=_[this.ptr+12|0]},this.set_rethrown=function(e){e=e?1:0,_[this.ptr+13|0]=e},this.get_rethrown=function(){return 0!=_[this.ptr+13|0]},this.init=function(e,t){this.set_adjusted_ptr(0),this.set_type(e),this.set_destructor(t)},this.set_adjusted_ptr=function(e){E[this.ptr+16>>2]=e},this.get_adjusted_ptr=function(){return E[this.ptr+16>>2]},this.get_exception_ptr=function(){if(Rt(this.get_type()))return E[this.excPtr>>2];var e=this.get_adjusted_ptr();return 0!==e?e:this.excPtr}}a.noExitRuntime;var Y="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,K=(e,t,r)=>{for(var n=t+r,a=t;e[a]&&!(a>=n);)++a;if(a-t>16&&e.buffer&&Y)return Y.decode(e.subarray(t,a));for(var i="";t<a;){var o=e[t++];if(128&o){var s=63&e[t++];if(192!=(224&o)){var c=63&e[t++];if((o=224==(240&o)?(15&o)<<12|s<<6|c:(7&o)<<18|s<<12|c<<6|63&e[t++])<65536)i+=String.fromCharCode(o);else{var d=o-65536;i+=String.fromCharCode(55296|d>>10,56320|1023&d)}}else i+=String.fromCharCode((31&o)<<6|s)}else i+=String.fromCharCode(o)}return i},Q=(e,t)=>e?K(C,e,t):"";var X,Z,ee,te=e=>{for(var t="",r=e;C[r];)t+=X[C[r++]];return t},re={},ne={},ae={},ie=e=>{throw new Z(e)},oe=e=>{throw new ee(e)},se=(e,t,r)=>{function n(t){var n=r(t);n.length!==e.length&&oe("Mismatched type converter count");for(var a=0;a<e.length;++a)ce(e[a],n[a])}e.forEach(function(e){ae[e]=t});var a=new Array(t.length),i=[],o=0;t.forEach((e,t)=>{ne.hasOwnProperty(e)?a[t]=ne[e]:(i.push(e),re.hasOwnProperty(e)||(re[e]=[]),re[e].push(()=>{a[t]=ne[e],++o===i.length&&n(a)}))}),0===i.length&&n(a)};function ce(e,t,r={}){if(!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");return function(e,t,r={}){var n=t.name;if(e||ie(`type "${n}" must have a positive integer typeid pointer`),ne.hasOwnProperty(e)){if(r.ignoreDuplicateRegistrations)return;ie(`Cannot register type '${n}' twice`)}if(ne[e]=t,delete ae[e],re.hasOwnProperty(e)){var a=re[e];delete re[e],a.forEach(e=>e())}}(e,t,r)}var de,le=e=>{ie(e.$$.ptrType.registeredClass.name+" instance already deleted")},ue=!1,pe=e=>{},fe=e=>{e.count.value-=1,0===e.count.value&&(e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)})(e)},he=(e,t,r)=>{if(t===r)return e;if(void 0===r.baseClass)return null;var n=he(e,t,r.baseClass);return null===n?null:r.downcast(n)},me={},ge=()=>Object.keys(_e).length,ye=()=>{var e=[];for(var t in _e)_e.hasOwnProperty(t)&&e.push(_e[t]);return e},ve=[],be=()=>{for(;ve.length;){var e=ve.pop();e.$$.deleteScheduled=!1,e.delete()}},we=e=>{de=e,ve.length&&de&&de(be)},_e={},Ce=(e,t)=>(t=((e,t)=>{for(void 0===t&&ie("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t})(e,t),_e[t]),Se=(e,t)=>(t.ptrType&&t.ptr||oe("makeClassHandle requires ptr and ptrType"),!!t.smartPtrType!==!!t.smartPtr&&oe("Both smartPtrType and smartPtr must be specified"),t.count={value:1},Te(Object.create(e,{$$:{value:t}})));function Ae(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var r=Ce(this.registeredClass,t);if(void 0!==r){if(0===r.$$.count.value)return r.$$.ptr=t,r.$$.smartPtr=e,r.clone();var n=r.clone();return this.destructor(e),n}function a(){return this.isSmartPointer?Se(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):Se(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var i,o=this.registeredClass.getActualType(t),s=me[o];if(!s)return a.call(this);i=this.isConst?s.constPointerType:s.pointerType;var c=he(t,this.registeredClass,i.registeredClass);return null===c?a.call(this):this.isSmartPointer?Se(i.registeredClass.instancePrototype,{ptrType:i,ptr:c,smartPtrType:this,smartPtr:e}):Se(i.registeredClass.instancePrototype,{ptrType:i,ptr:c})}var Te=e=>"undefined"==typeof FinalizationRegistry?(Te=e=>e,e):(ue=new FinalizationRegistry(e=>{fe(e.$$)}),Te=e=>{var t=e.$$;if(!!t.smartPtr){var r={$$:t};ue.register(e,r,e)}return e},pe=e=>ue.unregister(e),Te(e));function Ee(){}var Ie=(e,t)=>Object.defineProperty(t,"name",{value:e}),ke=(e,t,r)=>{if(void 0===e[t].overloadTable){var n=e[t];e[t]=function(){return e[t].overloadTable.hasOwnProperty(arguments.length)||ie(`Function '${r}' called with an invalid number of arguments (${arguments.length}) - expects one of (${e[t].overloadTable})!`),e[t].overloadTable[arguments.length].apply(this,arguments)},e[t].overloadTable=[],e[t].overloadTable[n.argCount]=n}};function Pe(e,t,r,n,a,i,o,s){this.name=e,this.constructor=t,this.instancePrototype=r,this.rawDestructor=n,this.baseClass=a,this.getActualType=i,this.upcast=o,this.downcast=s,this.pureVirtualFunctions=[]}var $e=(e,t,r)=>{for(;t!==r;)t.upcast||ie(`Expected null or instance of ${r.name}, got an instance of ${t.name}`),e=t.upcast(e),t=t.baseClass;return e};function De(e,t){if(null===t)return this.isReference&&ie(`null is not a valid ${this.name}`),0;t.$$||ie(`Cannot pass "${et(t)}" as a ${this.name}`),t.$$.ptr||ie(`Cannot pass deleted object as a pointer of type ${this.name}`);var r=t.$$.ptrType.registeredClass;return $e(t.$$.ptr,r,this.registeredClass)}function Fe(e,t){var r;if(null===t)return this.isReference&&ie(`null is not a valid ${this.name}`),this.isSmartPointer?(r=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,r),r):0;t.$$||ie(`Cannot pass "${et(t)}" as a ${this.name}`),t.$$.ptr||ie(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&t.$$.ptrType.isConst&&ie(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);var n=t.$$.ptrType.registeredClass;if(r=$e(t.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===t.$$.smartPtr&&ie("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?r=t.$$.smartPtr:ie(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:r=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)r=t.$$.smartPtr;else{var a=t.clone();r=this.rawShare(r,Xe.toHandle(()=>a.delete())),null!==e&&e.push(this.rawDestructor,r)}break;default:ie("Unsupporting sharing policy")}return r}function Re(e,t){if(null===t)return this.isReference&&ie(`null is not a valid ${this.name}`),0;t.$$||ie(`Cannot pass "${et(t)}" as a ${this.name}`),t.$$.ptr||ie(`Cannot pass deleted object as a pointer of type ${this.name}`),t.$$.ptrType.isConst&&ie(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);var r=t.$$.ptrType.registeredClass;return $e(t.$$.ptr,r,this.registeredClass)}function Me(e){return this.fromWireType(E[e>>2])}function Be(e,t,r,n,a,i,o,s,c,d,l){this.name=e,this.registeredClass=t,this.isReference=r,this.isConst=n,this.isSmartPointer=a,this.pointeeType=i,this.sharingPolicy=o,this.rawGetPointee=s,this.rawConstructor=c,this.rawShare=d,this.rawDestructor=l,a||void 0!==t.baseClass?this.toWireType=Fe:n?(this.toWireType=De,this.destructorFunction=null):(this.toWireType=Re,this.destructorFunction=null)}var We,Ve,Ue=[],xe=e=>{var t=Ue[e];return t||(e>=Ue.length&&(Ue.length=e+1),Ue[e]=t=We.get(e)),t},Oe=(e,t,r)=>e.includes("j")?((e,t,r)=>{var n=a["dynCall_"+e];return r&&r.length?n.apply(null,[t].concat(r)):n.call(null,t)})(e,t,r):xe(t).apply(null,r),Le=(e,t)=>{var r,n,a,i=(e=te(e)).includes("j")?(r=e,n=t,a=[],function(){return a.length=0,Object.assign(a,arguments),Oe(r,n,a)}):xe(t);return"function"!=typeof i&&ie(`unknown function pointer with signature ${e}: ${t}`),i},je=e=>{var t=Dt(e),r=te(t);return $t(t),r},He=(e,t)=>{var r=[],n={};throw t.forEach(function e(t){n[t]||ne[t]||(ae[t]?ae[t].forEach(e):(r.push(t),n[t]=!0))}),new Ve(`${e}: `+r.map(je).join([", "]))},Ne=(e,t)=>{for(var r=[],n=0;n<e;n++)r.push(E[t+4*n>>2]);return r},Ge=e=>{for(;e.length;){var t=e.pop();e.pop()(t)}};function ze(e,t){if(!(e instanceof Function))throw new TypeError(`new_ called with constructor type ${typeof e} which is not a function`);var r=Ie(e.name||"unknownFunctionName",function(){});r.prototype=e.prototype;var n=new r,a=e.apply(n,t);return a instanceof Object?a:n}function qe(e,t,r,n,a,i){var o=t.length;o<2&&ie("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var s=null!==t[1]&&null!==r,c=!1,d=1;d<t.length;++d)if(null!==t[d]&&void 0===t[d].destructorFunction){c=!0;break}var l="void"!==t[0].name,u="",p="";for(d=0;d<o-2;++d)u+=(0!==d?", ":"")+"arg"+d,p+=(0!==d?", ":"")+"arg"+d+"Wired";var f=`\n return function (${u}) {\n if (arguments.length !== ${o-2}) {\n throwBindingError('function ${e} called with ' + arguments.length + ' arguments, expected ${o-2}');\n }`;c&&(f+="var destructors = [];\n");var h=c?"destructors":"null",m=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],g=[ie,n,a,Ge,t[0],t[1]];s&&(f+="var thisWired = classParam.toWireType("+h+", this);\n");for(d=0;d<o-2;++d)f+="var arg"+d+"Wired = argType"+d+".toWireType("+h+", arg"+d+"); // "+t[d+2].name+"\n",m.push("argType"+d),g.push(t[d+2]);if(s&&(p="thisWired"+(p.length>0?", ":"")+p),f+=(l||i?"var rv = ":"")+"invoker(fn"+(p.length>0?", ":"")+p+");\n",c)f+="runDestructors(destructors);\n";else for(d=s?1:2;d<t.length;++d){var y=1===d?"thisWired":"arg"+(d-2)+"Wired";null!==t[d].destructorFunction&&(f+=y+"_dtor("+y+"); // "+t[d].name+"\n",m.push(y+"_dtor"),g.push(t[d].destructorFunction))}l&&(f+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),f+="}\n",m.push(f);var v=ze(Function,m).apply(null,g);return Ie(e,v)}function Je(){this.allocated=[void 0],this.freelist=[]}var Ye=new Je,Ke=e=>{e>=Ye.reserved&&0===--Ye.get(e).refcount&&Ye.free(e)},Qe=()=>{for(var e=0,t=Ye.reserved;t<Ye.allocated.length;++t)void 0!==Ye.allocated[t]&&++e;return e},Xe={toValue:e=>(e||ie("Cannot use deleted val. handle = "+e),Ye.get(e).value),toHandle:e=>{switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:return Ye.allocate({refcount:1,value:e})}}};function Ze(e){return this.fromWireType(T[e>>2])}var et=e=>{if(null===e)return"null";var t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():""+e},tt=(e,t)=>{switch(t){case 4:return function(e){return this.fromWireType(I[e>>2])};case 8:return function(e){return this.fromWireType(k[e>>3])};default:throw new TypeError(`invalid float width (${t}): ${e}`)}},rt=(e,t,r)=>{switch(t){case 1:return r?e=>_[e|0]:e=>C[e|0];case 2:return r?e=>S[e>>1]:e=>A[e>>1];case 4:return r?e=>T[e>>2]:e=>E[e>>2];default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},nt=(e,t,r)=>((e,t,r,n)=>{if(!(n>0))return 0;for(var a=r,i=r+n-1,o=0;o<e.length;++o){var s=e.charCodeAt(o);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++o)),s<=127){if(r>=i)break;t[r++]=s}else if(s<=2047){if(r+1>=i)break;t[r++]=192|s>>6,t[r++]=128|63&s}else if(s<=65535){if(r+2>=i)break;t[r++]=224|s>>12,t[r++]=128|s>>6&63,t[r++]=128|63&s}else{if(r+3>=i)break;t[r++]=240|s>>18,t[r++]=128|s>>12&63,t[r++]=128|s>>6&63,t[r++]=128|63&s}}return t[r]=0,r-a})(e,C,t,r),at=e=>{for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n<=127?t++:n<=2047?t+=2:n>=55296&&n<=57343?(t+=4,++r):t+=3}return t},it="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,ot=(e,t)=>{for(var r=e,n=r>>1,a=n+t/2;!(n>=a)&&A[n];)++n;if((r=n<<1)-e>32&&it)return it.decode(C.subarray(e,r));for(var i="",o=0;!(o>=t/2);++o){var s=S[e+2*o>>1];if(0==s)break;i+=String.fromCharCode(s)}return i},st=(e,t,r)=>{if(void 0===r&&(r=2147483647),r<2)return 0;for(var n=t,a=(r-=2)<2*e.length?r/2:e.length,i=0;i<a;++i){var o=e.charCodeAt(i);S[t>>1]=o,t+=2}return S[t>>1]=0,t-n},ct=e=>2*e.length,dt=(e,t)=>{for(var r=0,n="";!(r>=t/4);){var a=T[e+4*r>>2];if(0==a)break;if(++r,a>=65536){var i=a-65536;n+=String.fromCharCode(55296|i>>10,56320|1023&i)}else n+=String.fromCharCode(a)}return n},lt=(e,t,r)=>{if(void 0===r&&(r=2147483647),r<4)return 0;for(var n=t,a=n+r-4,i=0;i<e.length;++i){var o=e.charCodeAt(i);if(o>=55296&&o<=57343)o=65536+((1023&o)<<10)|1023&e.charCodeAt(++i);if(T[t>>2]=o,(t+=4)+4>a)break}return T[t>>2]=0,t-n},ut=e=>{for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n>=55296&&n<=57343&&++r,t+=4}return t},pt={},ft=[],ht=(e,t)=>{var r=ne[e];return void 0===r&&ie(t+" has unknown type "+je(e)),r},mt=(e,t,r)=>{var n=[],a=e.toWireType(n,r);return n.length&&(E[t>>2]=Xe.toHandle(n)),a},gt=[0,31,60,91,121,152,182,213,244,274,305,335],yt=[0,31,59,90,120,151,181,212,243,273,304,334];var vt=e=>{var t=at(e)+1,r=Ft(t);return r&&nt(e,r,t),r},bt=e=>{var t=(e-v.buffer.byteLength+65535)/65536;try{return v.grow(t),$(),1}catch(e){}},wt={},_t=()=>{if(!_t.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:d||"./this.program"};for(var t in wt)void 0===wt[t]?delete e[t]:e[t]=wt[t];var r=[];for(var t in e)r.push(`${t}=${e[t]}`);_t.strings=r}return _t.strings};var Ct,St,At,Tt=[null,[],[]],Et=(e,t)=>{var r=Tt[e];0===t||10===t?((1===e?b:w)(K(r,0)),r.length=0):r.push(t)};(()=>{for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);X=e})(),Z=a.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},ee=a.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},Object.assign(Ee.prototype,{isAliasOf(e){if(!(this instanceof Ee))return!1;if(!(e instanceof Ee))return!1;var t=this.$$.ptrType.registeredClass,r=this.$$.ptr;e.$$=e.$$;for(var n=e.$$.ptrType.registeredClass,a=e.$$.ptr;t.baseClass;)r=t.upcast(r),t=t.baseClass;for(;n.baseClass;)a=n.upcast(a),n=n.baseClass;return t===n&&r===a},clone(){if(this.$$.ptr||le(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e,t=Te(Object.create(Object.getPrototypeOf(this),{$$:{value:(e=this.$$,{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType})}}));return t.$$.count.value+=1,t.$$.deleteScheduled=!1,t},delete(){this.$$.ptr||le(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&ie("Object already scheduled for deletion"),pe(this),fe(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||le(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&ie("Object already scheduled for deletion"),ve.push(this),1===ve.length&&de&&de(be),this.$$.deleteScheduled=!0,this}}),a.getInheritedInstanceCount=ge,a.getLiveInheritedInstances=ye,a.flushPendingDeletes=be,a.setDelayFunction=we,Object.assign(Be.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){this.rawDestructor&&this.rawDestructor(e)},argPackAdvance:8,readValueFromPointer:Me,deleteObject(e){null!==e&&e.delete()},fromWireType:Ae}),Ve=a.UnboundTypeError=(Ct=Error,(At=Ie(St="UnboundTypeError",function(e){this.name=St,this.message=e;var t=new Error(e).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))})).prototype=Object.create(Ct.prototype),At.prototype.constructor=At,At.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},At),Object.assign(Je.prototype,{get(e){return this.allocated[e]},has(e){return void 0!==this.allocated[e]},allocate(e){var t=this.freelist.pop()||this.allocated.length;return this.allocated[t]=e,t},free(e){this.allocated[e]=void 0,this.freelist.push(e)}}),Ye.allocated.push({value:void 0},{value:null},{value:!0},{value:!1}),Ye.reserved=Ye.allocated.length,a.count_emval_handles=Qe;var It,kt={o:(e,t,r)=>{throw new J(e).init(t,r),e},C:function(e,t,r){return 0},u:function(e,t,r,n){},r:(e,t,r,n,a)=>{},E:(e,t,r,n)=>{ce(e,{name:t=te(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?r:n},argPackAdvance:8,readValueFromPointer:function(e){return this.fromWireType(C[e])},destructorFunction:null})},F:(e,t,r,n,i,o,s,c,d,l,u,p,f)=>{u=te(u),o=Le(i,o),c&&(c=Le(s,c)),l&&(l=Le(d,l)),f=Le(p,f);var h=(e=>{if(void 0===e)return"_unknown";var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return t>=48&&t<=57?`_${e}`:e})(u);((e,t,r)=>{a.hasOwnProperty(e)?((void 0===r||void 0!==a[e].overloadTable&&void 0!==a[e].overloadTable[r])&&ie(`Cannot register public name '${e}' twice`),ke(a,e,e),a.hasOwnProperty(r)&&ie(`Cannot register multiple overloads of a function with the same number of arguments (${r})!`),a[e].overloadTable[r]=t):(a[e]=t,void 0!==r&&(a[e].numArguments=r))})(h,function(){He(`Cannot construct ${u} due to unbound types`,[n])}),se([e,t,r],n?[n]:[],function(t){var r,i;t=t[0],i=n?(r=t.registeredClass).instancePrototype:Ee.prototype;var s=Ie(u,function(){if(Object.getPrototypeOf(this)!==d)throw new Z("Use 'new' to construct "+u);if(void 0===p.constructor_body)throw new Z(u+" has no accessible constructor");var e=p.constructor_body[arguments.length];if(void 0===e)throw new Z(`Tried to invoke ctor of ${u} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(p.constructor_body).toString()}) parameters instead!`);return e.apply(this,arguments)}),d=Object.create(i,{constructor:{value:s}});s.prototype=d;var p=new Pe(u,s,d,f,r,o,c,l);p.baseClass&&(void 0===p.baseClass.__derivedClasses&&(p.baseClass.__derivedClasses=[]),p.baseClass.__derivedClasses.push(p));var m=new Be(u,p,!0,!1,!1),g=new Be(u+"*",p,!1,!1,!1),y=new Be(u+" const*",p,!1,!0,!1);return me[e]={pointerType:g,constPointerType:y},((e,t,r)=>{a.hasOwnProperty(e)||oe("Replacing nonexistant public symbol"),void 0!==a[e].overloadTable&&void 0!==r?a[e].overloadTable[r]=t:(a[e]=t,a[e].argCount=r)})(h,s),[m,g,y]})},A:(e,t,r,n,a,i)=>{var o=Ne(t,r);a=Le(n,a),se([],[e],function(e){var r=`constructor ${(e=e[0]).name}`;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[t-1])throw new Z(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.registeredClass.constructor_body[t-1]=()=>{He(`Cannot construct ${e.name} due to unbound types`,o)},se([],o,n=>(n.splice(1,0,null),e.registeredClass.constructor_body[t-1]=qe(r,n,null,a,i),[])),[]})},h:(e,t,r,n,a,i,o,s,c)=>{var d=Ne(r,n);t=(e=>{const t=(e=e.trim()).indexOf("(");return-1!==t?e.substr(0,t):e})(t=te(t)),i=Le(a,i),se([],[e],function(e){var n=`${(e=e[0]).name}.${t}`;function a(){He(`Cannot call ${n} due to unbound types`,d)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]),s&&e.registeredClass.pureVirtualFunctions.push(t);var l=e.registeredClass.instancePrototype,u=l[t];return void 0===u||void 0===u.overloadTable&&u.className!==e.name&&u.argCount===r-2?(a.argCount=r-2,a.className=e.name,l[t]=a):(ke(l,t,n),l[t].overloadTable[r-2]=a),se([],d,function(a){var s=qe(n,a,e,i,o,c);return void 0===l[t].overloadTable?(s.argCount=r-2,l[t]=s):l[t].overloadTable[r-2]=s,[]}),[]})},D:(e,t)=>{ce(e,{name:t=te(t),fromWireType:e=>{var t=Xe.toValue(e);return Ke(e),t},toWireType:(e,t)=>Xe.toHandle(t),argPackAdvance:8,readValueFromPointer:Ze,destructorFunction:null})},l:(e,t,r)=>{ce(e,{name:t=te(t),fromWireType:e=>e,toWireType:(e,t)=>t,argPackAdvance:8,readValueFromPointer:tt(t,r),destructorFunction:null})},c:(e,t,r,n,a)=>{t=te(t);var i=e=>e;if(0===n){var o=32-8*r;i=e=>e<<o>>>o}var s=t.includes("unsigned");ce(e,{name:t,fromWireType:i,toWireType:s?function(e,t){return this.name,t>>>0}:function(e,t){return this.name,t},argPackAdvance:8,readValueFromPointer:rt(t,r,0!==n),destructorFunction:null})},b:(e,t,r)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];function a(e){var t=E[e>>2],r=E[e+4>>2];return new n(_.buffer,r,t)}ce(e,{name:r=te(r),fromWireType:a,argPackAdvance:8,readValueFromPointer:a},{ignoreDuplicateRegistrations:!0})},m:(e,t)=>{var r="std::string"===(t=te(t));ce(e,{name:t,fromWireType(e){var t,n=E[e>>2],a=e+4;if(r)for(var i=a,o=0;o<=n;++o){var s=a+o;if(o==n||0==C[s]){var c=Q(i,s-i);void 0===t?t=c:(t+=String.fromCharCode(0),t+=c),i=s+1}}else{var d=new Array(n);for(o=0;o<n;++o)d[o]=String.fromCharCode(C[a+o]);t=d.join("")}return $t(e),t},toWireType(e,t){var n;t instanceof ArrayBuffer&&(t=new Uint8Array(t));var a="string"==typeof t;a||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array||ie("Cannot pass non-string to std::string"),n=r&&a?at(t):t.length;var i=Ft(4+n+1),o=i+4;if(E[i>>2]=n,r&&a)nt(t,o,n+1);else if(a)for(var s=0;s<n;++s){var c=t.charCodeAt(s);c>255&&($t(o),ie("String has UTF-16 code units that do not fit in 8 bits")),C[o+s]=c}else for(s=0;s<n;++s)C[o+s]=t[s];return null!==e&&e.push($t,i),i},argPackAdvance:8,readValueFromPointer:Me,destructorFunction(e){$t(e)}})},i:(e,t,r)=>{var n,a,i,o,s;r=te(r),2===t?(n=ot,a=st,o=ct,i=()=>A,s=1):4===t&&(n=dt,a=lt,o=ut,i=()=>E,s=2),ce(e,{name:r,fromWireType:e=>{for(var r,a=E[e>>2],o=i(),c=e+4,d=0;d<=a;++d){var l=e+4+d*t;if(d==a||0==o[l>>s]){var u=n(c,l-c);void 0===r?r=u:(r+=String.fromCharCode(0),r+=u),c=l+t}}return $t(e),r},toWireType:(e,n)=>{"string"!=typeof n&&ie(`Cannot pass non-string to C++ string type ${r}`);var i=o(n),c=Ft(4+i+t);return E[c>>2]=i>>s,a(n,c+4,i+t),null!==e&&e.push($t,c),c},argPackAdvance:8,readValueFromPointer:Ze,destructorFunction(e){$t(e)}})},n:(e,t)=>{ce(e,{isVoid:!0,name:t=te(t),argPackAdvance:0,fromWireType:()=>{},toWireType:(e,t)=>{}})},f:(e,t,r,n,a)=>{var i,o;return(e=ft[e])(t=Xe.toValue(t),t[r=void 0===(o=pt[i=r])?te(i):o],n,a)},j:Ke,e:(e,t,r)=>{var n=((e,t)=>{for(var r=new Array(e),n=0;n<e;++n)r[n]=ht(E[t+4*n>>2],"parameter "+n);return r})(e,t),a=n.shift();e--;var i="return function (obj, func, destructorsRef, args) {\n",o=0,s=[];0===r&&s.push("obj");for(var c=["retType"],d=[a],l=0;l<e;++l)s.push("arg"+l),c.push("argType"+l),d.push(n[l]),i+=` var arg${l} = argType${l}.readValueFromPointer(args${o?"+"+o:""});\n`,o+=n[l].argPackAdvance;i+=` var rv = ${1===r?"new func":"func.call"}(${s.join(", ")});\n`;for(l=0;l<e;++l)n[l].deleteObject&&(i+=` argType${l}.deleteObject(arg${l});\n`);a.isVoid||(c.push("emval_returnValue"),d.push(mt),i+=" return emval_returnValue(retType, destructorsRef, rv);\n"),i+="};\n",c.push(i);var u,p,f=ze(Function,c).apply(null,d),h=`methodCaller<(${n.map(e=>e.name).join(", ")}) => ${a.name}>`;return u=Ie(h,f),p=ft.length,ft.push(u),p},d:e=>{var t=Xe.toValue(e);Ge(t),Ke(e)},p:function(e,t,r){var n,a,i=(a=t)+2097152>>>0<4194305-!!(n=e)?(n>>>0)+4294967296*a:NaN,o=new Date(1e3*i);T[r>>2]=o.getSeconds(),T[r+4>>2]=o.getMinutes(),T[r+8>>2]=o.getHours(),T[r+12>>2]=o.getDate(),T[r+16>>2]=o.getMonth(),T[r+20>>2]=o.getFullYear()-1900,T[r+24>>2]=o.getDay();var s=0|(e=>{var t;return((t=e.getFullYear())%4!=0||t%100==0&&t%400!=0?yt:gt)[e.getMonth()]+e.getDate()-1})(o);T[r+28>>2]=s,T[r+36>>2]=-60*o.getTimezoneOffset();var c=new Date(o.getFullYear(),0,1),d=new Date(o.getFullYear(),6,1).getTimezoneOffset(),l=c.getTimezoneOffset(),u=0|(d!=l&&o.getTimezoneOffset()==Math.min(l,d));T[r+32>>2]=u},t:(e,t,r)=>{var n=(new Date).getFullYear(),a=new Date(n,0,1),i=new Date(n,6,1),o=a.getTimezoneOffset(),s=i.getTimezoneOffset(),c=Math.max(o,s);function d(e){var t=e.toTimeString().match(/\(([A-Za-z ]+)\)$/);return t?t[1]:"GMT"}E[e>>2]=60*c,T[t>>2]=Number(o!=s);var l=d(a),u=d(i),p=vt(l),f=vt(u);s<o?(E[r>>2]=p,E[r+4>>2]=f):(E[r>>2]=f,E[r+4>>2]=p)},a:()=>{U("")},g:()=>Date.now(),y:(e,t,r)=>C.copyWithin(e,t,t+r),s:e=>{var t=C.length,r=33554432;if((e>>>=0)>r)return!1;for(var n=(e,t)=>e+(t-e%t)%t,a=1;a<=4;a*=2){var i=t*(1+.2/a);i=Math.min(i,e+100663296);var o=Math.min(r,n(Math.max(e,i),65536));if(bt(o))return!0}return!1},w:(e,t)=>{var r=0;return _t().forEach((n,a)=>{var i=t+r;E[e+4*a>>2]=i,((e,t)=>{for(var r=0;r<e.length;++r)_[0|t++]=e.charCodeAt(r);_[0|t]=0})(n,i),r+=n.length+1}),0},x:(e,t)=>{var r=_t();E[e>>2]=r.length;var n=0;return r.forEach(e=>n+=e.length+1),E[t>>2]=n,0},k:e=>52,v:(e,t)=>{var r=0;return 0==e?r=2:1!=e&&2!=e||(r=64),_[t|0]=2,S[t+2>>1]=1,j=[r>>>0,(L=r,+Math.abs(L)>=1?L>0?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],T[t+8>>2]=j[0],T[t+12>>2]=j[1],j=[0,(L=0,+Math.abs(L)>=1?L>0?+Math.floor(L/4294967296)>>>0:~~+Math.ceil((L-+(~~L>>>0))/4294967296)>>>0:0)],T[t+16>>2]=j[0],T[t+20>>2]=j[1],0},B:(e,t,r,n)=>52,q:function(e,t,r,n,a){return 70},z:(e,t,r,n)=>{for(var a=0,i=0;i<r;i++){var o=E[t>>2],s=E[t+4>>2];t+=8;for(var c=0;c<s;c++)Et(e,C[o+c]);a+=s}return E[n>>2]=a,0}},Pt=function(){var e,t,r,i,o={a:kt};function s(e,t){var r;return Pt=e.exports,v=Pt.G,$(),We=Pt.K,r=Pt.H,F.unshift(r),function(){if(W--,a.monitorRunDependencies&&a.monitorRunDependencies(W),0==W&&V){var e=V;V=null,e()}}(),Pt}if(W++,a.monitorRunDependencies&&a.monitorRunDependencies(W),a.instantiateWasm)try{return a.instantiateWasm(o,s)}catch(e){w(`Module.instantiateWasm callback failed with error: ${e}`),n(e)}return(e=y,t=x,r=o,i=function(e){s(e.instance)},e||"function"!=typeof WebAssembly.instantiateStreaming||H(t)||N(t)||p||"function"!=typeof fetch?z(t,r,i):fetch(t,{credentials:"same-origin"}).then(e=>WebAssembly.instantiateStreaming(e,r).then(i,function(e){return w(`wasm streaming compile failed: ${e}`),w("falling back to ArrayBuffer instantiation"),z(t,r,i)}))).catch(n),{}}(),$t=e=>($t=Pt.I)(e),Dt=e=>(Dt=Pt.J)(e),Ft=e=>(Ft=Pt.L)(e),Rt=e=>(Rt=Pt.M)(e);function Mt(){function e(){It||(It=!0,a.calledRun=!0,P||(q(F),r(a),a.onRuntimeInitialized&&a.onRuntimeInitialized(),function(){if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)B(a.postRun.shift());q(R)}()))}W>0||(!function(){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)M(a.preRun.shift());q(D)}(),W>0||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1),e()},1)):e()))}if(a.dynCall_jij=(e,t,r,n)=>(a.dynCall_jij=Pt.N)(e,t,r,n),a.dynCall_jii=(e,t,r)=>(a.dynCall_jii=Pt.O)(e,t,r),a.dynCall_viiijj=(e,t,r,n,i,o,s,c)=>(a.dynCall_viiijj=Pt.P)(e,t,r,n,i,o,s,c),a.dynCall_jiji=(e,t,r,n,i)=>(a.dynCall_jiji=Pt.Q)(e,t,r,n,i),V=function e(){It||Mt(),It||(V=e)},a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);a.preInit.length>0;)a.preInit.pop()();return Mt(),t.ready}})();const n=k;!function(e){const t=k,r=e();for(;;)try{if(858945===-parseInt(t(554))/1*(-parseInt(t(723))/2)+parseInt(t(636))/3+-parseInt(t(435))/4+parseInt(t(651))/5+parseInt(t(581))/6+-parseInt(t(596))/7+-parseInt(t(320))/8)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(y);const a={websocket:1,fetch:2,hls:3,webrtc:4,webTransport:5,aliyunRtc:6,ts:7};n(400),n(300),n(659),n(405),n(700),n(400),n(300),n(734),n(659),n(705),n(700),n(505),n(431);const i={player:"player",playerAudio:"playerAudio",playbackTF:n(774),talk:n(323),playVod:n(289)},o={mp4:n(488),webm:n(425),flv:"flv",mov:n(762)},s={flv:"flv",m7s:n(501),hls:n(300),webrtc:n(659),webTransport:n(405),nakedFlow:n(821),fmp4:n(372),mpeg4:n(417),aliyunRtc:"aliyunRtc",ts:"ts",g711:n(789),pcm:n(652),ps:"ps",dhav:n(562)};n(299),n(602),n(516),n(632),n(660);const c={mse:n(570),wcs:n(580),offscreen:n(738),wasm:n(777),simd:n(560),simdFFmpeg:n(343),mt:"mt",webrtc:n(659),hls:n(300),aliyunRtc:"aliyunRtc",browser:n(655)},d={canvas:n(817),video:n(593)},l={debug:n(590),warn:"warn"},u={click:n(749),mouseDownAndUp:n(434)},p={normal:n(366),simple:n(706)},f={normal:n(366),small:n(499)},h={drop:n(324),accelerate:n(575)};n(540),n(433);const m=n(613),g=n(759);function y(){const e=["isNakedFlow","webrtc-completed","waitingCheckFirstIframeTimeoutAutoWasmAndNoCheck","fetch","decoderWorkerWasmError","bufferByteLength","初始化解码器失败","playVodMseDecodeVideoError","webTransport","初始化worker失败","Jb%20pro%20%E4%BD%93%E9%AA%8C%E7%BB%93%E6%9D%9F%2C%E8%AF%B7%E5%88%B7%E6%96%B0%E9%A1%B5%E9%9D%A2%E5%86%8D%E6%AC%A1%E4%BD%93%E9%AA%8C%EF%BC%8C%E5%A6%82%E9%9C%80%E8%A6%81%E8%B4%AD%E4%B9%B0%E5%95%86%E4%B8%9A%E6%8E%88%E6%9D%83%EF%BC%8C%E5%8F%AF%E4%BB%A5%E8%81%94%E7%B3%BB%E5%BE%AE%E4%BF%A1%EF%BC%9Abosswancheng","rtp","window","playbackTimestamp","half-hour","hlsError","webrtcCompleted","multiDrop","video decode error","loading","mpeg4","wasmUseVideoRenderError","人脸识别","playVodNextIFrame","track","volume","crashLog","complete","webm","playbackSeek","failedToAsynchronouslyPrepareWasm","removeLoadingBgImage","visibilityChange","start","flvVod","multiDragleave","highQuality","mouseDownAndUp","1258656jAHCKb","switch-url-success","startInner","webrtcDisconnect","videoSmooth","webrtc-failed","media-source","sendMessage","zoomExpand","close","render","talkStreamStart","isSpecialPlaybackVod","heartTimeout","togglePerformancePanel","key","average","recording","mediaSourceAudioInitTimeout","sourceopen","playVodEndedInner","sourceended","playVodFps","recordEnd","remove-buffer","streamError","image/webp","videoInfoError","mediaSourceAppendBufferError","sourcebuffer-created","isWebrtcForOthers","one-hour","webcodecsH265NotSupport","streamAbps","tallWebsocketClosedByError","解析视频分辨率失败","tcp","Momibuca","playVodCalcFpsError","playbackTimeScroll","no-audio-track","leftDown","init","playVodNextFrame","defaultStreamQuality","outbound-rtp","audioStreamStats","webrtcOnIceConnectionStateChange","objectDetectActive","flvDemuxBufferSizeTooLarge","首帧解码超时","receiver","电子放大","mp4","full","videoElementPlayingFailedForWebrtc","qualitychange","netBuf","播放超时重播失败","metadata-parsed","不支持硬解码H265","webrtcOnConnectionStateChange","resetDecode","online","small","wiperOpen","m7s","wasm初始化异常","playVodTimeCache","av1","mp4Vod","AbortError","clickInitPlayer","流异常结束",'video/mp4; codecs="hev1.1.6.L123.b0"',"Dji","点播MP4文件格式异常","closeEnd","timeout","playbackPreRateChange","videoPayload","MPEG4","talkGetUserMediaSuccess","Fetch is aborted","initVideo","talkStreamMsg","webcodecsAudioInitTimeout","AV1","transport","videoNalu","alaw","streamRate","playbackNextIFrame","red","recordStart","解码失败","updateConfig","SRS","timeUpdate","decoderWorkerInit","playback","playVodSeekEnd","playVodMp4NotMoovError","closed","drawingRect","lowNetwork","readystatechange","decoder-pro-audio-player.js","mseSourceOpen","fetchStream","mediaSourceAudioNoDataTimeout","等待音频数据超时","FSimd","rightUp","multiDragenter","tsVideoTrackPidList","webcodecsDecodeConfigureError","hevc","timeupdate","1997HXmaVG","isFlv","self","paused","zoomNarrow","flvMetaData","simd","visibilityHiddenTimeout","dhav","webcodecsDecodeError","object","videoSEI","destroyEnd","load-response-headers","Decoding error","download","mse","webrtcFailed","ethernet","jbprovm","H265(HEVC)","accelerate","停止录制","playVodMp4UseSrc","mp3","playVodFlvError","wcs","154632fGErJR","rightDown","ten-min","initAudioCodec","playVodStats","云台激活","mseSourceBufferError","初始化音频解码器失败","suspend","debug","fetchErrorWorker","error","video","cruiseStop","workerFetch","5959674sKllgk","Cannot call 'decode' on a closed codec","playbackStats","buffering","playType","workerEnd","M7S","talkStreamInactive","webgl2","streamQualityChange","networkDelayTimeout","ended","MEDIA_ERR_SRC_NOT_SUPPORTED","mseWidthOrHeightChange","canplay","I420","metadata","JessibucaPro","#000","demuxed-track","fullscreen","offline","simdDecodeDelayTimeout","stop","seeked","stalled","down","canplaythrough","jessibuca-pro-mp4-recorder-decoder.js","tsPrivateData","webrtc不支持H265","oneHour","Other","Unsupported configuration","stats","recordCancel","Webrtc","mtStreamStats",'video/mp4;codecs="hvc1.1.6.L120.90"','video/mp4; codecs="av01.0.05M.08"',"1616190LKnDxn","mseHandle","flv","white","audioSplitBuffer","g711a","不支持该分辨率的视频","playVodEnded","base64","hls-manifest-loaded","fiveMin","widthOrHeightChange","tsPacketSizeError","endstreaming","#343434","4950375AWVTdo","pcm","webglAlignmentError","playToRenderTimes","browser","Unsupported audio format","destroy","性能面板激活","webrtc","DHav","audioPayload","jtt","webrtcClosed","请求结束","Jb%20pro%20%E4%BD%93%E9%AA%8C%E7%BB%93%E6%9D%9F%2C%E8%AF%B7%E5%88%B7%E6%96%B0%E9%A1%B5%E9%9D%A2%E5%86%8D%E6%AC%A1%E4%BD%93%E9%AA%8C(wasm%E5%86%85%E9%83%A8%E4%BC%9A%E6%9A%82%E5%81%9C%E8%A7%A3%E7%A0%81)%EF%BC%8C%E5%A6%82%E9%9C%80%E8%A6%81%E8%B4%AD%E4%B9%B0%E5%95%86%E4%B8%9A%E6%8E%88%E6%9D%83%EF%BC%8C%E5%8F%AF%E4%BB%A5%E8%81%94%E7%B3%BB%E5%BE%AE%E4%BF%A1%EF%BC%9Abosswancheng","inView","audioDecode","退出全屏","流异常","playFailedAndPaused","right-up","decoder-pro.js","stream","webrtcDataChannelOpen","fiStop","websocketOpen","streamVbps","videoSEISyncPts","none","isMpeg4","left-down","websocketStringMsg","memoryLog","pause","audioInfo","性能面板","widthOrHeightChangeReplayDelayTime","notSupportNewWasm","playbackEndInner","waiting","webrtc-checking","wasm解码失败","talkFailedAndStop","mediaSourceH265NotSupport","isWebrtcForSRS","playVodBufferedTime","sendWsMessage","webrtc-disconnected","mseSourceStartStreaming","aliyunRtc","websocket1006Error","playbackStreamVideoFps","stream-parsed","G711 not supported","worker","simple","script","g711u","mp4Error","remote-outbound-rtp","playbackRateChange","点播MP4文件异常","fullscreenEndInner","videoSyncAudio","mseSourceEndStreaming","playVodMp4UseSrcError","vertical","fullscreenError","message","音频通道错误","videoElementPlayingFailed","isHls","866lJpSpy","left","isWebrtc","ZLMediaKit","Decoder error","Failed to send video packet for decoding","isMulti","licensePlateDetectActive","faceDetectActive","right","notConnect","websocket","decoder-pro-hard-not-wasm.js","decoderWorkerUncaughtError","mseAddSourceBufferError","offscreen","certificate","sourceclose","delta","recordBlob","mute","delayTimeoutRetryEnd","load","playbackPauseOrResume","player","watermarkConfig","click","blob","Video Decode Failed","checkFirstIFrame","fullscreen$2","apertureFar","网络超时重播失败","mseSourceClose","playbackIsPause","aiFaceDetectorInfo","20251202","wiperClose","0000000000","mov","peer-connection","mseSourceBufferBusy","初始化解码worker超时","decoder-pro-old.js","all","ptz","decoder-pro-hard.js","5min","loadingTimeout","switch-url-failed","websocketError","playbackTF","MULAW(g711u)","playbackNextFrame","wasm","log","/crypto/","ttfb","关闭电子放大","image/png","点播解码器异常","ceil","3-1","durationchange","playVodMp4UseSrcVideoError","hlsTsVideoTrackPidList","g711","video decoder initialization failed","isDropping","kBps","multiFullscreen","updateForwardMaxRateDecodeIFrame","playVodEndedAndReplay","fetchError","aiObjectDetectorInfo","buffereos","videoRenderSupportScale","HEVC not supported","aiImageDetectResult","Failed to send audio packet for decoding","pauseAndNextPlayUseLastFrameShow","缓冲区已满","global","isFmp4","mseWorkerAddSourceBufferError","subtitle-playlist","NotAllowedError","isWebrtcForZLM","audioChannelError","streamEndInner","Webgl 渲染失败","wasmWidthOrHeightChange","playbackTime","pressureObserverCpu","canvas","decoder-pro-audio-only.js","DECODER_ERROR_NOT_SUPPORTED","load-complete","nakedFlow","talkStreamError","playFailedError","remote-inbound-rtp","fullScreenByStart","isAliyunRtc","opus","multiDragstart","zooming","open","playbackEnd","jbprov","tenMin","videoCode","webcodecsAudioDecodeError","focusFar","memory access out of bounds","Invalid NAL unit size","iframeIntervalTs","volumechange","videoSequenceHeader","playing","mseSourceBufferFull","multiMouseout","AAC","webrtcLowFps","websocketClose","simdDecodeError","play","loadingTimeoutRetryEnd","playVodSeek",'video/mp4; codecs="avc1.64002A"',"playVod","talkStreamOpen","halfHour","isTs","progress","csrc","webglContextLostError","NV12","replayUseLastFrameShow","udp","FLV","hls",'video/mp4; codecs="hvc1.1.6.L120.90"',"talkStreamClose","load-retry","recordCreateError","recordingTimestamp","tsError","webFullscreen","websocketOpenTimeout","ALAW(g711a)",'video/mp4;codecs="hev1.2.4.L120.90"',"currentPts","warn","videoWaiting","playVodPause","streamMessage","webtransportError",'video/mp4;codecs="hev1.1.6.L120.90"',"mediaSourceTsIsMaxDiff","playIsNotPauseOrUrlIsNull","3154296TAVRJL","videoCodec","flv-script-data","talk","drop","遮挡物检查","hls-level-loaded","playVodTime","videoTimeUpdate","播放地址不能为空","webcodecs","decoder-pro-video-only.js","mediaSourceAudioG711NotSupport","MediaSource解码使用canvas渲染失败","streamEnd","initDecoderWorkerTimeout","3-4","multiMousemove","delayTimeout","mseFirstRenderTime","hls264UseOldDemuxer","FLV待解封装buffer过大","playVodPauseOrResume","simdFFmpeg",'video/mp4;codecs="hev1.3.E.L120.90"',"playbackPause","worklet","audioResumeState","resetAudioDecode","leftUp","wasmDecodeError","loadeddata","webrtcIceCandidate","ghostWatermarkConfig","networkState","playbackShowPrecisionChange","请求失败","ALAW","tempStream","focus","default","aacSequenceHeader","wifi","buffer","fogOpen","load-start","normal","mediaSourceBufferedIsZeroError","MEDIA_ERR_NETWORK","video自动渲染失败","TS流包大小异常","performance","fmp4","outOfMemoryWasm","mseError","MEDIA_ERR_ABORTED","playbackForwardMaxRateDecodeIFrame","webrtc-connected","H264(AVC)","multiDblSelected","playerAudio","empty","保存日志","isM7sCrypto","MULAW","阿里云","playVodSeeking","decode","drawingRectInfo","ws1006","videoRectContentClick","MP3","fogClose","hlsM3u8Empty","multiMouseover","supportHls265","webrtcError"];return(y=function(){return e})()}const v=4080;n(779),n(832),n(573);n(611),n(296);const b={average:n(451),all:n(767)};n(800),n(704),n(751),n(329),n(813),n(495),n(804),n(403),n(530),n(403),n(403),n(403),n(669),n(669),n(588),n(546),n(333),n(669),n(495),n(530),n(588),n(546),n(530),n(530),n(485),n(669),n(369),n(642),n(755),n(356),n(664),n(508),n(356),n(356),n(406),n(692),n(369),n(470),n(626),n(493),n(493),n(341),n(720),n(765),n(502),n(712),n(511),n(783),n(511),n(370);n(747),n(590),n(366),n(672),n(766),n(769),n(735),n(818),n(331),n(624),n(679),n(360),n(400),n(638),n(488),n(717),n(749),n(593),n(639),n(639),n(528),n(324),n(767);n(600),n(376),n(447),n(729),n(383),n(395),n(803),n(297),n(687),n(555),n(806),n(680),n(397),n(722),n(725),n(810),n(695),n(465),n(826),n(292),n(353),n(748),n(479),n(799),n(513),n(771),n(448),n(577),n(399);const w={init:n(477),initVideo:n(519),render:n(445),playAudio:"playAudio",initAudio:"initAudio",kBps:"kBps",decode:n(387),audioCode:"audioCode",audioNalu:"audioNalu",audioAACSequenceHeader:"audioAACSequenceHeader",videoCode:n(834),videoCodec:n(321),videoNalu:n(524),videoPayload:n(515),audioPayload:n(661),wasmError:"wasmError",workerFetch:n(595),iframeIntervalTs:n(839),isDropping:n(791),workerEnd:n(601),networkDelay:"networkDelay",playbackStreamVideoFps:n(702),wasmWidthOrHeightChange:n(814),simdDecodeError:n(284),simdH264DecodeVideoWidthIsTooLarge:"simdH264DecodeVideoWidthIsTooLarge",simdDecodeDelayTimeout:n(618),websocketOpen:n(676),websocketStringMsg:n(682),closeEnd:n(512),tempStream:n(358),videoSEI:n(565),flvScriptData:"flvScriptData",aacSequenceHeader:n(361),videoSequenceHeader:n(841),flvBufferData:"flvBufferData",checkFirstIFrame:n(752),mseHandle:n(637),mseFirstRenderTime:n(339),mseError:n(374),notSupportNewWasm:n(688),outOfMemoryWasm:n(373),failedToAsynchronouslyPrepareWasm:n(427),mtStreamStats:n(633),videoStreamStats:"videoStreamStats",audioStreamStats:n(481),tsError:n(306),tsPrivateData:n(625),videoInitedAndNotFirstVideoIFrame:"videoInitedAndNotFirstVideoIFrame"};n(838),n(477),n(387),n(667),n(584),n(531),n(497),n(348),n(544),n(697),n(757),n(527),n(457),n(478),n(420),n(794),n(400),n(657),n(566),n(363),n(796),n(591),n(402),n(400),n(442),n(657),n(566),n(363),n(402),n(773),n(847),n(676),n(682),n(477);const _={fullscreenInner:n(753),fullscreen:n(616),fullscreenEndInner:n(713),fullScreenByStart:n(825),webFullscreen:n(307),decoderWorkerInit:n(534),play:n(285),playing:n(842),pause:n(684),mute:"mute",load:n(745),loading:n(416),zooming:n(829),drawingRect:n(539),drawingRectInfo:n(388),videoInfo:"videoInfo",timeUpdate:"timeUpdate",audioInfo:"audioInfo",log:n(778),error:n(592),kBps:n(792),timeout:n(513),delayTimeout:n(338),delayTimeoutRetryEnd:n(744),loadingTimeout:n(771),loadingTimeoutRetryEnd:n(286),stats:n(630),performance:n(371),videoSmooth:n(439),faceDetectActive:n(731),objectDetectActive:n(483),occlusionDetectActive:"occlusionDetectActive",imageDetectActive:"imageDetectActive",licensePlateDetectActive:n(730),record:"record",recording:n(452),recordingTimestamp:n(305),recordStart:"recordStart",recordEnd:n(458),recordCreateError:n(304),recordBlob:n(742),recordCancel:"recordCancel",buffer:n(363),videoFrame:"videoFrame",videoSEI:"videoSEI",videoSEISyncPts:n(678),start:n(430),startInner:n(437),metadata:n(612),resize:"resize",volumechange:"volumechange",volume:"volume",destroy:"destroy",beforeDestroy:"beforeDestroy",streamEnd:"streamEnd",streamRate:n(526),streamAbps:n(468),streamVbps:n(677),streamDts:"streamDts",streamSuccess:"streamSuccess",streamMessage:n(315),streamError:n(460),streamStats:"streamStats",streamEndInner:n(812),mseSourceOpen:n(543),mseSourceClose:n(756),mseSourceended:"mseSourceended",mseSourceStartStreaming:n(699),mseSourceEndStreaming:n(715),mseSourceBufferError:n(587),mseAddSourceBufferError:n(737),mseWorkerAddSourceBufferError:n(807),mseSourceBufferBusy:n(764),mseSourceBufferFull:n(843),videoWaiting:n(313),videoTimeUpdate:n(328),videoSyncAudio:n(714),playToRenderTimes:n(654),playbackTime:n(815),playbackTimestamp:"playbackTimestamp",playbackTimeScroll:n(474),playbackPrecision:"playbackPrecision",playbackShowPrecisionChange:"playbackShowPrecisionChange",playbackJustTime:"playbackJustTime",playbackStats:n(598),playbackSeek:n(426),playbackPause:n(345),playbackPauseOrResume:n(746),playbackRateChange:"playbackRateChange",playbackPreRateChange:n(514),playbackEndInner:n(689),playbackEnd:"playbackEnd",playbackEndedAndReplay:"playbackEndedAndReplay",playbackNextFrame:n(776),playbackNextIFrame:n(527),playVodStats:n(585),playVodPause:n(314),playVodPauseOrResume:n(342),playVodRateChange:"playVodRateChange",playVodTime:n(327),playVodBufferedTime:n(696),playVodTimeCache:n(503),playVodSeek:n(287),playVodSeeking:n(386),playVodSeekEnd:n(536),playVodVideoSeekingByMse:"playVodVideoSeekingByMse",playVodVideoSeekedByMse:"playVodVideoSeekedByMse",playVodCanplay:"playVodCanplay",playVodWaiting:"playVodWaiting",playVodEndedAndReplay:n(795),playVodEndedInner:n(455),playVodEnded:n(643),playVodNextFrame:n(478),playVodNextIFrame:"playVodNextIFrame",playVodDuration:"playVodDuration",ptz:n(768),streamQualityChange:n(605),visibilityChange:n(429),netBuf:n(492),close:n(444),networkDelayTimeout:"networkDelayTimeout",togglePerformancePanel:n(449),viewResizeChange:"viewResizeChange",flvDemuxBufferSizeTooLarge:n(484),talkGetUserMediaSuccess:n(517),talkGetUserMediaFail:"talkGetUserMediaFail",talkGetUserMediaTimeout:"talkGetUserMediaTimeout",talkStreamStart:n(446),talkStreamOpen:n(290),talkStreamClose:"talkStreamClose",talkStreamError:n(822),talkStreamInactive:n(603),talkStreamMsg:n(520),webrtcDisconnect:n(438),webrtcFailed:n(571),webrtcClosed:n(663),webrtcChecking:"webrtcChecking",webrtcConnected:"webrtcConnected",webrtcCompleted:n(413),webrtcOnConnectionStateChange:"webrtcOnConnectionStateChange",webrtcOnIceConnectionStateChange:"webrtcOnIceConnectionStateChange",webrtcLowFps:n(846),webrtcIceCandidate:n(352),webrtcDataChannelOpen:"webrtcDataChannelOpen",webrtcDataChannelMsg:"webrtcDataChannelMsg",crashLog:n(423),focus:n(359),blur:"blur",inView:"inView",visibilityHiddenTimeout:"visibilityHiddenTimeout",websocketOpen:n(676),websocketClose:"websocketClose",websocketError:n(773),websocketStringMsg:"websocketStringMsg",aiObjectDetectorInfo:n(797),aiFaceDetectorInfo:n(758),aiOcclusionDetectResult:"aiOcclusionDetectResult",aiImageDetectResult:n(801),playFailedAndPaused:n(670),audioResumeState:n(347),webrtcStreamH265:"webrtcStreamH265",flvMetaData:n(559),talkFailedAndStop:n(693),removeLoadingBgImage:n(428),memoryLog:n(683),downloadMemoryLog:"downloadMemoryLog",pressureObserverCpu:n(816),currentPts:n(311),online:n(498),offline:n(617),networkState:n(354),clickInitPlayer:n(507),audioSplitBuffer:n(640),tsPrivateData:n(625),videoRectContentClick:"videoRectContentClick",hls264UseOldDemuxer:n(340),hlsTsVideoTrackPidList:n(788),tsVideoTrackPidList:n(550)};n(745),n(533),n(685),n(592),n(792),n(430),n(513),n(771),n(286),n(338),n(670),n(616),n(285),n(684),n(743),n(630),n(371),n(529),n(458),n(742),n(631),n(305),n(304),n(654),n(439),n(768),n(829),n(359),n(561),n(676),n(847),n(347),n(606),n(496),n(482),n(674),n(565),n(678),n(559),n(311),n(666),n(354),n(422),n(507),n(625),n(388),n(390),n(797),n(758),n(801),n(426),n(410),n(746),n(711),n(355),n(831),n(643),n(342),n(327),n(287),n(386),n(536),n(788),n(550),n(302),n(822),n(603),n(693),n(745),n(533),n(685),n(592),n(792),n(430),n(513),n(286),n(744),n(743),n(630),n(676),n(847),n(670);const C={talkStreamError:_[n(822)],talkStreamClose:_[n(302)]};n(319),n(823),n(591),n(773),n(308),n(316),n(467),n(563),n(551),n(521),n(835),n(694),n(332),n(453),n(545),n(737),n(807),n(463),n(318),n(367),n(350),n(418),n(284),n(618),n(412),n(396),n(663),n(653),n(814),n(609),n(647),n(469),n(484),n(811),n(295),n(721),n(490),n(401),n(736),n(462),n(334),n(701),n(771),n(718),n(335),n(373),n(537),n(716),n(579),n(404),n(473),n(709),n(648),n(393);n(796),n(733),n(444),n(592),n(381),n(489),n(569),n(644),n(750),n(750),n(378),n(574),n(522),n(516);const S={h264:7,h265:12,av1:13,mpeg4:99};n(378),n(574);const A={PCM:1,AAC:10,ALAW:7,MULAW:8,MP3:2,OPUS:13,G711A:7,G711U:8,G722_1:12};n(845),n(309),n(775),n(845),n(357),n(384),n(391);n(330),n(604),n(738),n(300),n(659),n(817),n(450),n(741),n(288),n(301),n(509),n(317),n(310),n(344),n(634),n(635),n(607),n(830),n(538),Math[n(784)](40),n(646),n(466),n(411),n(583),n(770),n(627),n(291),n(833),n(646),n(732),n(622),n(724),n(671),n(681),n(732),n(622),n(349),n(476),n(548),n(582),n(619),n(675),n(443),n(558),n(754),n(836),n(594),n(364),n(392),n(500),n(760);n(708),n(652),n(827);n(782),n(461),n(740),n(454),n(456),n(649),n(491),n(610),n(690),n(553),n(621),n(293),n(592),n(623),n(786),n(351),n(684),n(842),n(620),n(589),n(840),n(541);const T={h264:"avc",h265:n(552),av1:n(504)};n(597),n(629),n(568),n(727),n(506),n(518),n(416),n(842),n(557);const E={sequenceHeader:0,nalu:1},I={keyFrame:1,interFrame:2};function k(e,t){const r=y();return(k=function(e,t){return r[e-=284]})(e,t)}n(381),n(408),n(662),n(471),n(298);n(673),n(535),n(830),n(444),n(719);n(346),n(707);n(641),n(408),n(471),n(761),n(312),n(346),n(650),n(614),n(793),n(379),n(394),n(844),n(337),n(828),n(549),n(432),n(414),n(785),n(336),n(380),n(400),n(638),n(542),n(645),n(326),n(615),n(322),n(494),n(780),n(303),n(365),n(820),n(567),n(475),n(459),n(798),n(464),n(772),n(436),n(808),n(703),n(592),n(599),n(424),n(375),n(368),n(608),n(790),n(819),n(656),n(415),n(728),n(802),n(809),n(837),n(739),n(294),n(480),n(763),n(486),n(824),n(710),n(673),n(421),n(523),n(441),n(389),n(787),n(525),n(578),n(827),n(691),n(377),n(398),n(698),n(440),n(416),n(842);const P="object"==typeof window&&window[n(409)]===window?window:typeof self===n(564)&&self[n(556)]===self?self:typeof global===n(564)&&global[n(805)]===global?global:void 0;n(592),n(668),n(576),n(586),n(487),n(781),n(686),n(658),n(419),n(325),n(382);const $={wasm:"Wasm",simd:"Simd",fSimd:n(547)};n(726),n(532),n(472),n(510),n(628),n(385),n(572),n(362),n(407),n(665);var D="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var F=Object.freeze({__proto__:null,commonjsGlobal:D,commonjsRequire:function(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")},unwrapExports:function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e},createCommonjsModule:function(e,t){return e(t={exports:{}},t.exports),t.exports},getCjsExportFromNamespace:function(e){return e&&e.default||e}}),R=M;function M(e,t){var r=B();return(M=function(e,t){return r[e-=304]})(e,t)}function B(){var e=["object","msRequestFullscreen","isFullscreen","webkitRequestFullscreen","mozRequestFullScreen","mozCancelFullScreen","mozFullScreenEnabled","change","then","6199380dNslKc","16662HsWpIa","length","msFullscreenEnabled","off","MSFullscreenError","8792KtKbzb","171RYULrJ","MSFullscreenChange","webkitfullscreenerror","webkitfullscreenchange","258nfKYBg","122750XrtSTd","msFullscreenElement","createCommonjsModule","catch","error","requestFullscreen","4154FrspGm","10118066eAised","msExitFullscreen","fullscreenEnabled","exitFullscreen","undefined","fullscreenerror","755fXXALY","fullscreenElement","screenfull","webkitCancelFullScreen","6847960OqZEuG","webkitCurrentFullScreenElement","bind","webkitFullscreenEnabled","webkitFullscreenElement","request","exports","fullscreenchange","document","webkitRequestFullScreen","1017tBnVyg","mozfullscreenchange"];return(B=function(){return e})()}!function(e){for(var t=M,r=e();;)try{if(729701===parseInt(t(324))/1*(parseInt(t(317))/2)+-parseInt(t(313))/3*(-parseInt(t(312))/4)+-parseInt(t(331))/5*(-parseInt(t(307))/6)+-parseInt(t(325))/7+-parseInt(t(335))/8+-parseInt(t(345))/9*(-parseInt(t(318))/10)+parseInt(t(306))/11)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(B),F[R(320)](function(e){var t,r,n,a,i,o;t=M,r="undefined"!=typeof window&&typeof window.document!==t(329)?window[t(343)]:{},n=t(347)!==t(329)&&e[t(341)],a=function(){for(var e,n=t,a=[[n(323),n(328),n(332),n(327),n(342),n(330)],[n(350),"webkitExitFullscreen",n(339),n(338),n(316),"webkitfullscreenerror"],[n(344),n(334),n(336),n(334),n(316),n(315)],[n(351),n(352),"mozFullScreenElement",n(353),n(346),"mozfullscreenerror"],[n(348),n(326),n(319),n(309),n(314),n(311)]],i=0,o=a[n(308)],s={};i<o;i++)if((e=a[i])&&e[1]in r){for(i=0;i<e.length;i++)s[a[0][i]]=e[i];return s}return!1}(),i={change:a[t(342)],error:a[t(330)]},o={request:function(e,t){return new Promise(function(n,i){var o=M,s=function(){var e=M;this[e(310)](e(304),s),n()}.bind(this);this.on(o(304),s);var c=(e=e||r.documentElement)[a[o(323)]](t);c instanceof Promise&&c.then(s)[o(321)](i)}.bind(this))},exit:function(){return new Promise(function(e,t){var n=M;if(this[n(349)]){var i=function(){var t=n;this.off(t(304),i),e()}.bind(this);this.on(n(304),i);var o=r[a[n(328)]]();o instanceof Promise&&o[n(305)](i)[n(321)](t)}else e()}[t(337)](this))},toggle:function(e,r){var n=t;return this[n(349)]?this.exit():this[n(340)](e,r)},onchange:function(e){this.on("change",e)},onerror:function(e){var r=t;this.on(r(322),e)},on:function(e,t){var n=i[e];n&&r.addEventListener(n,t,!1)},off:function(e,t){var n=i[e];n&&r.removeEventListener(n,t,!1)},raw:a},a?(Object.defineProperties(o,{isFullscreen:{get:function(){return Boolean(r[a[t(332)]])}},element:{enumerable:!0,get:function(){return r[a[t(332)]]}},isEnabled:{enumerable:!0,get:function(){return Boolean(r[a[t(327)]])}}}),n?e[t(341)]=o:window[t(333)]=o):n?e.exports={isEnabled:!1}:window.screenfull={isEnabled:!1}}).isEnabled;const W=U;!function(e){const t=U,r=e();for(;;)try{if(852232===-parseInt(t(504))/1+-parseInt(t(505))/2*(-parseInt(t(517))/3)+-parseInt(t(506))/4*(parseInt(t(515))/5)+-parseInt(t(496))/6*(-parseInt(t(518))/7)+parseInt(t(501))/8+parseInt(t(508))/9+-parseInt(t(521))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(x);class V{constructor(e){const t=U;this[t(510)]=e,this[t(502)]=0,this[t(516)]=e.byteLength,this[t(507)]=8*e[t(520)],this[t(493)]=0,this[t(522)]=0}[W(492)](){this[W(510)]=null}[W(497)](){const e=W;let t=this._total_bytes-this[e(502)];if(t<=0)return void console[e(499)]("ExpGolomb: _fillCurrentWord() but no bytes available",this[e(516)],this._buffer_index);let r=Math[e(512)](4,t),n=new Uint8Array(4);n[e(519)](this[e(510)][e(498)](this[e(502)],this._buffer_index+r)),this[e(493)]=new DataView(n[e(500)]).getUint32(0,!1),this._buffer_index+=r,this[e(522)]=8*r}[W(514)](e){const t=W;if(e>32&&console.error(t(513)),e<=this._current_word_bits_left){let r=this[t(493)]>>>32-e;return this._current_word<<=e,this._current_word_bits_left-=e,r}let r=this[t(522)]?this[t(493)]:0;r>>>=32-this[t(522)];let n=e-this[t(522)];this[t(497)]();let a=Math[t(512)](n,this[t(522)]),i=this[t(493)]>>>32-a;return this._current_word<<=a,this[t(522)]-=a,r=r<<a|i,r}[W(503)](){return 1===this[W(514)](1)}[W(511)](){return this.readBits(8)}_skipLeadingZero(){const e=W;let t;for(t=0;t<this._current_word_bits_left;t++)if(this[e(493)]&2147483648>>>t)return this[e(493)]<<=t,this[e(522)]-=t,t;return this[e(497)](),t+this._skipLeadingZero()}[W(494)](){let e=this[W(509)]();return this.readBits(e+1)-1}[W(495)](){let e=this.readUEG();return 1&e?e+1>>>1:-1*(e>>>1)}}function U(e,t){const r=x();return(U=function(e,t){return r[e-=492]})(e,t)}function x(){const e=["ExpGolomb: readBits() bits exceeded max 32bits!","readBits","149160ZggbEK","_total_bytes","46002fmnAMz","21JFDWNJ","set","byteLength","14004970UuqvSR","_current_word_bits_left","destroy","_current_word","readUEG","readSEG","1825854kCpEbb","_fillCurrentWord","subarray","error","buffer","13566432YwmESJ","_buffer_index","readBool","1196837OWTXdl","86NBUQKi","8oSRfTH","_total_bits","2170233AReWTj","_skipLeadingZero","_buffer","readByte","min"];return(x=function(){return e})()}const O=H;!function(e){const t=H,r=e();for(;;)try{if(631551===-parseInt(t(182))/1+parseInt(t(197))/2+parseInt(t(169))/3*(-parseInt(t(193))/4)+parseInt(t(184))/5+parseInt(t(190))/6+-parseInt(t(140))/7+parseInt(t(206))/8*(parseInt(t(187))/9))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(L);function L(){const e=["unshift","audio_object_type","buflen","aac","length","warn","getLATMValue","mp4a.40.2","data_","135246pPuhfi","buffer","748150jvFClR","sample_rate","subarray","1089TDpaGM","data","destroy","3275634lTKLNL","set","sampling_frequency","287192oktNhy","read","sequenceHeader","ext_object_type","853200chiLav","hasIncompleteData","firefox","object_type","slice","iserro","mp4a.40.","readNextAACFrame","more than 2 numProgram Not Supported","32840nZnfXz","log","sampling_index","sampling_freq_index","read_golomb","4456781OLkkIE","more than 2 numLayer Not Supported","chan_config","sbr","allStreamsSameTimeFraming zero is Not Supported","has_last_incomplete_data","channels","error","frameLengthType = ","push","getIncompleteData","bufpos","Flv: AAC invalid channel configuration","bufoff","other_data_present","readBool","profile: ","StreamMuxConfig Missing","readBits","byteLength","userAgent","channel_config","android","Flv: AAC invalid sampling frequency index!","audioMuxVersionA is Not Supported","eof_flag_","current_syncword_offset_","findNextSyncwordOffset","readByte","9ivcoZd","indexOf","channel: ","toLowerCase"];return(L=function(){return e})()}function j(e){const t=H;return e[0]>>4===A.AAC&&e[1]===E[t(195)]}function H(e,t){const r=L();return(H=function(e,t){return r[e-=136]})(e,t)}const N=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];O(194),O(139);O(204),O(150);O(167),O(179),O(204),O(198);function G(){const e=["push","13114560xWYOGb","208312VyPoCp","data","set","shift","Error writing parameter set: buffer overflow","sps","subarray","695335vOKHLX","slice","byteLength","toString","length","6BBxfsu","buffer","5816573sUWhIo","setUint32","499122OeYxIm","error","99Zqufps","427791isWORx","16932KzjWjf","28CCsYnw","pps","padStart"];return(G=function(){return e})()}function z(e,t){const r=G();return(z=function(e,t){return r[e-=195]})(e,t)}!function(e){const t=z,r=e();for(;;)try{if(471877===parseInt(t(220))/1+-parseInt(t(217))/2+parseInt(t(195))/3*(-parseInt(t(196))/4)+-parseInt(t(208))/5*(-parseInt(t(213))/6)+-parseInt(t(215))/7+parseInt(t(201))/8*(-parseInt(t(219))/9)+parseInt(t(200))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(G);const q=J;function J(e,t){const r=X();return(J=function(e,t){return r[e-=265]})(e,t)}function Y(){return Date.now()}!function(e){const t=J,r=e();for(;;)try{if(680978===-parseInt(t(553))/1+parseInt(t(457))/2*(parseInt(t(405))/3)+-parseInt(t(507))/4*(-parseInt(t(564))/5)+parseInt(t(407))/6*(-parseInt(t(266))/7)+parseInt(t(360))/8+-parseInt(t(395))/9+parseInt(t(279))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(X),(()=>{const e=J;try{if(typeof WebAssembly===e(488)&&"function"==typeof WebAssembly.instantiate){const t=new(WebAssembly[e(471)])(Uint8Array.of(0,97,115,109,1,0,0,0));if(t instanceof WebAssembly[e(471)])return new WebAssembly.Instance(t)instanceof WebAssembly[e(428)]}}catch(e){}})();const K='"production"';q(536),q(520),q(522);const Q=K===q(579);function X(){const e=["PB/s","repeat","keys","out of memory","origin","QHBrowser","green","stringify","toLocaleLowerCase","image/png","isConfigSupported","kSliceBLA_N_LP","toLowerCase","user-select","charAt","getSeconds","hour","data-","copyToChannel","Anonymous","none","reduce","h265","click","buffer","initEvent","Worker","mozConnection","performance","-moz-user-select","Opera","createEvent","onerror","KB/s","memory","6079976CBSzSE","start","search","objectFit","setUint16","Edg","attachShadow","assign","getParameter","host","charCodeAt","wow32","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=","forEach","hev4","dataset","amd","line","min","apply","drawImage","RIFF","scrollTop","isFFmpegSIMD","addModule","isFullscreen","text","moz-webgl","overflow","msFullscreenElement","pointer-events: none !important; display: block !important","not compiled with thread support","green yuv","toDataURL","Chrome","2181861CjAEoD","call","substring","MediaSource","Safari","pathname","URL","Reserved SBR extensions is not implemented","shadowRoot","status","3aVFxLu","msGetUserMedia","2478jPsusM","setUint32","apple","fontFamily","getContext","rect","mouseup","img","gpu","px 宋体","touches","touchmove","useOffscreen","kSliceBLA_W_LP","width","floor","vendor","PressureObserver","solid","getDay","hvc","Instance","WebGL2RenderingContext","pageX","kSliceRSV_IRAP_VCL23","script","position","dingtalk","isView","div","ManagedMediaSource","-webkit-touch-callout","removeAttribute","WAVE","getUserMedia","readAsArrayBuffer","pow","edg","prototype","sps","useSIMD","NetType/other","ended","format","hev5","webgl","setAttribute","right","intel","fontSize","841618jXsgko","useMSE","application/vnd.apple.mpegurl","webkitConnection","useMThreading","demuxUseWorker",";base64","hev1.1.6.L120.90","touchend","getPropertyValue","parse","UNMASKED_RENDERER_WEBGL","strokeRect","hev3","Module","indexOf","requestVideoFrameCallback","nettype/","revokeObjectURL","-webkit-tap-highlight-color","webkitGetUserMedia","contain","nvidia","numberOfFrames","360","file","360SE","quality","createElement","isEnabled","documentElement","object","set","image","map","fmt ","px Arial","type","validate","createObjectURL","https:","mimeTypes","ZB/s","webgl2","join","-webkit-text-size-adjust","xxxxxxxxxxxx4xxx","navigator","useWCS","round","238292SJIoWM","VideoEncoder is not supported","resume","string","content","HarmonyOS","createBufferSource","left","color","replace","WEBGL_debug_renderer_info","fillText","[object Error]",'"12-25-2025"',"isArray",'"development"',"wheel","application/hwepass2001.installepass2001","setInt8","byteLength","style","height","video","true","sampleRate","AudioData","VideoFrame","removeChild","now",'"2.1.13"',"zIndex","not compiled with thread support, using thread emulation","push","keyFrame","100%","location","GB/s","split","display","getMilliseconds","EB/s","webkit-3d","top","getAttribute","isTypeSupported","findLast","889753ZmqQBi","MediaStream","createImageBitmap","length","createTextNode","[object Exception]","canvas","opacity","test","wow64","userAgent","35eIfiCT","createBuffer","getElementById","100","backgroundColor","document","result","QQBrowser","ArkWeb","application/mozilla-npqihooquicklogin","supported","UNMASKED_VENDOR_WEBGL","copyright","MediaStreamTrackGenerator","block",'"delaytime"',"Firefox","max","function","getMonth","toString","9999999","canConstructInDedicatedWorker","TB/s","clientX","connection","setUint8","href","hasAudio","mediaDevices","clientY","getImageData","xSpace","rgba(0,0,0,0)","getTime","pageY","children","getFullYear","clearRect","bottom","VideoDecoder","YB/s","srcElement","match","showModalDialog","safari","failed to asynchronously prepare wasm","encTypeCode","hev2","canPlayType","unknown","setHours","getHours","download","undefined","then","trim","renderer","craNut","ALAW","putImageData","imageSmoothingQuality","Bytes","[object DOMException]","body","sequenceHeader","effectiveType","pps","application/asx","touchstart","data:","scrollLeft","avc1.","error","application/vnd.chromium.remoting-viewer","mseDecodeAudio","AudioDecoder","version","target","substr","event","mozGetUserMedia","port","illegal icc","8883beQLuc","If you want to help, upload a sample of this file to","toFixed","Edge","AAC","close","h264","useWasm","-webkit-user-select","appendChild","connect","toUpperCase","src","7394400RwmMYq","VideoEncoder.isConfigSupported() result is not supported","protocol","experimental-webgl","innerHTML","MB/s","NaN","iFrame","hostname","visibility","QihooBrowser","font","onload","hardwareConcurrency","filter","ActiveXObject","getMinutes","html","transferControlToOffscreen","chrome","save","mousemove","log","localhost","data",'video/mp4; codecs="',"imageSmoothingEnabled","audioWorklet","0 Bytes","open","fillStyle","noteOn","kSliceRSV_IRAP_VCL22","random","high","fromCharCode","webm","crossOrigin","xxxx","hash","slice","application/javascript","lineWidth","hev","fullscreenElement","getExtension"];return(X=function(){return e})()}function Z(e){return e&&"function"==typeof e}function ee(e){const t=q;return e[0]>>4===I[t(540)]&&e[1]===E[t(629)]}function te(e){return!0!==e&&e!==q(530)}function re(e,t){const r=ae();return(re=function(e,t){return r[e-=172]})(e,t)}const ne=re;function ae(){const e=["2797263wHlZAh","589485GqaZWm","off","push","emit","133944IlYwyC","4729928FVsNdQ","ctx","forEach","1446436ccmkOP","5430YGPYcB","9RdBXTO","1605SHYGoA","slice","length","423838jwQqyI"];return(ae=function(){return e})()}!function(e){const t=re,r=e();for(;;)try{if(296274===parseInt(t(180))/1+parseInt(t(178))/2+-parseInt(t(184))/3+-parseInt(t(172))/4+parseInt(t(175))/5*(-parseInt(t(173))/6)+-parseInt(t(179))/7+parseInt(t(185))/8*(parseInt(t(174))/9))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ae);class ie{on(e,t,r){const n=re,a=this.e||(this.e={});return(a[e]||(a[e]=[]))[n(182)]({fn:t,ctx:r}),this}once(e,t,r){const n=this;function a(...i){n[re(181)](e,a),t.apply(r,i)}return a._=t,this.on(e,a,r)}[ne(183)](e,...t){const r=ne,n=((this.e||(this.e={}))[e]||[])[r(176)]();for(let e=0;e<n[r(177)];e+=1)n[e].fn.apply(n[e][r(186)],t);return this}[ne(181)](e,t){const r=ne,n=this.e||(this.e={});if(!e)return Object.keys(n)[r(187)](e=>{delete n[e]}),void delete this.e;const a=n[e],i=[];if(a&&t)for(let e=0,n=a[r(177)];e<n;e+=1)a[e].fn!==t&&a[e].fn._!==t&&i.push(a[e]);return i[r(177)]?n[e]=i:delete n[e],this}}const oe=se;function se(e,t){const r=ce();return(se=function(e,t){return r[e-=345]})(e,t)}function ce(){const e=["tempBuffer","TAG_NAME","30027VoAKiA","1130388nkaSXF","player","Mp3Demux","9576HPOzTd","isDestroyed","6051056JFqaJl","set","destroy","5gGrbdU","off","length","findSecondStartCode","init","stats","676nxyOvb","50pDjmCe","Init","state","debugLog","reset","findFirstStartCode","7144YAQsPn","emit","parsedOffset","5989182qZAPXV","slice","versionLayer","5130972xxARNq","secondStartCodeOffset","3427704ahNRdf"];return(ce=function(){return e})()}!function(e){const t=se,r=e();for(;;)try{if(896064===-parseInt(t(356))/1+-parseInt(t(352))/2+-parseInt(t(355))/3*(parseInt(t(370))/4)+-parseInt(t(364))/5*(-parseInt(t(347))/6)+parseInt(t(350))/7+-parseInt(t(377))/8*(-parseInt(t(359))/9)+-parseInt(t(371))/10*(-parseInt(t(361))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ce);const de={init:0,findFirstStartCode:1,findSecondStartCode:2};class le extends ie{constructor(e){const t=se;super(),this[t(357)]=e,this[t(354)]=t(358),this[t(360)]=!1,this[t(375)](),this[t(353)]=new Uint8Array(0),this[t(357)][t(374)](this[t(354)],t(368))}[oe(363)](){const e=oe;this[e(360)]=!0,this[e(365)](),this.reset(),this.player.debugLog(this[e(354)],"destroy")}reset(){const e=oe;this[e(369)]=de.init,this.tempBuffer=null,this.parsedOffset=0,this[e(349)]=0}dispatch(e,t){const r=oe;let n=new Uint8Array(this[r(353)][r(366)]+e.length);for(n[r(362)](this.tempBuffer,0),n.set(e,this[r(353)][r(366)]),this[r(353)]=n;!this[r(360)];){if(this[r(373)]==de[r(372)]){let e=!1;for(;this[r(353)][r(366)]-this.parsedOffset>=2&&!this[r(360)];)if(255==this[r(353)][this[r(346)]]){if(!(!1&this[r(353)][this[r(346)]+1])){this[r(349)]=this[r(353)][this[r(346)]+1],this[r(373)]=de.findFirstStartCode,this.fisrtStartCodeOffset=this.parsedOffset,this[r(346)]+=2,e=!0;break}this[r(346)]++}else this.parsedOffset++;if(e)continue;break}if(this.state==de[r(376)]){let e=!1;for(;this[r(353)][r(366)]-this[r(346)]>=2&&!this[r(360)];)if(255==this[r(353)][this[r(346)]]){if(this[r(353)][this.parsedOffset+1]==this[r(349)]){this[r(373)]=de[r(367)],this[r(351)]=this[r(346)],this[r(346)]+=2,e=!0;break}this.parsedOffset++}else this.parsedOffset++;if(e)continue;break}if(this[r(373)]==de[r(367)]){let e=this[r(353)].slice(this.fisrtStartCodeOffset,this.secondStartCodeOffset);this[r(345)]("data",e,t),this.tempBuffer=this[r(353)][r(348)](this[r(351)]),this.fisrtStartCodeOffset=0,this[r(346)]=2,this.state=de[r(376)]}}}}const ue=fe;function pe(){const e=["parseSPS","getLevelString","High10","destroy","toFixed","1787448YYBaYo","4:2:2","High422","82390pZBmzJ","7ONaMcC","High","6546200SVXZNL","avc1.","10950993xMjQNx","27543IolTdW","readSEG","13690pcFchd","High444","readByte","byteLength","Extended","length","getProfileString","_skipScalingList","_ebsp2rbsp","readUEG","getChromaFormatString","Unknown","readBits","642rSprNK","buffer","subarray","ceil","1832163wIAOad","parseSPS$2","readBool"];return(pe=function(){return e})()}function fe(e,t){const r=pe();return(fe=function(e,t){return r[e-=237]})(e,t)}!function(e){const t=fe,r=e();for(;;)try{if(434853===parseInt(t(269))/1+parseInt(t(263))/2+parseInt(t(252))/3+parseInt(t(260))/4+-parseInt(t(271))/5*(parseInt(t(248))/6)+parseInt(t(264))/7*(parseInt(t(266))/8)+-parseInt(t(268))/9)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(pe);class he{static[ue(243)](e){const t=ue;let r=e,n=r[t(238)],a=new Uint8Array(n),i=0;for(let e=0;e<n;e++)e>=2&&3===r[e]&&0===r[e-1]&&0===r[e-2]||(a[i]=r[e],i++);return new Uint8Array(a[t(249)],0,i)}static[ue(255)](e){const t=ue;let r=he[t(243)](e),n=new V(r);n[t(237)]();let a=n.readByte();n.readByte();let i=n[t(237)]();n[t(244)]();let o=he[t(241)](a),s=he[t(256)](i),c=1,d=420,l=[0,420,422,444],u=8;if((100===a||110===a||122===a||244===a||44===a||83===a||86===a||118===a||128===a||138===a||144===a)&&(c=n[t(244)](),3===c&&n[t(247)](1),c<=3&&(d=l[c]),u=n.readUEG()+8,n.readUEG(),n[t(247)](1),n.readBool())){let e=3!==c?8:12;for(let r=0;r<e;r++)n[t(254)]()&&(r<6?he[t(242)](n,16):he[t(242)](n,64))}n.readUEG();let p=n[t(244)]();if(0===p)n[t(244)]();else if(1===p){n[t(247)](1),n[t(270)](),n.readSEG();let e=n[t(244)]();for(let t=0;t<e;t++)n.readSEG()}let f=n[t(244)]();n[t(247)](1);let h=n[t(244)](),m=n[t(244)](),g=n[t(247)](1);0===g&&n[t(247)](1),n[t(247)](1);let y=0,v=0,b=0,w=0;n[t(254)]()&&(y=n[t(244)](),v=n.readUEG(),b=n[t(244)](),w=n[t(244)]());let _=1,C=1,S=0,A=!0,T=0,E=0;if(n.readBool()){if(n[t(254)]()){let e=n[t(237)]();e>0&&e<16?(_=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2][e-1],C=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1][e-1]):255===e&&(_=n[t(237)]()<<8|n[t(237)](),C=n[t(237)]()<<8|n.readByte())}if(n[t(254)]()&&n[t(254)](),n[t(254)]()&&(n[t(247)](4),n[t(254)]()&&n[t(247)](24)),n[t(254)]()&&(n[t(244)](),n.readUEG()),n[t(254)]()){let e=n[t(247)](32),r=n[t(247)](32);A=n[t(254)](),T=r,E=2*e,S=T/E}}let I=1;(1!==_||1!==C)&&(I=_/C);let k=0,P=0;if(0===c)k=1,P=2-g;else{k=3===c?1:2,P=(1===c?2:1)*(2-g)}let $=16*(h+1),D=16*(m+1)*(2-g);$-=(y+v)*k,D-=(b+w)*P;let F=Math[t(251)]($*I);return n[t(258)](),n=null,{profile_string:o,level_string:s,bit_depth:u,ref_frames:f,chroma_format:d,chroma_format_string:he[t(245)](d),frame_rate:{fixed:A,fps:S,fps_den:E,fps_num:T},sar_ratio:{width:_,height:C},codec_size:{width:$,height:D},present_size:{width:F,height:D}}}static[ue(253)](e){const t=ue;let r=e[t(250)](1,4),n=t(267);for(let e=0;e<3;e++){let a=r[e].toString(16);a[t(240)]<2&&(a="0"+a),n+=a}let a=he[t(243)](e),i=new V(a);i[t(237)]();let o=i[t(237)]();i[t(237)]();let s=i[t(237)]();i.readUEG();let c=he[t(241)](o),d=he[t(256)](s),l=1,u=420,p=[0,420,422,444],f=8,h=8;if((100===o||110===o||122===o||244===o||44===o||83===o||86===o||118===o||128===o||138===o||144===o)&&(l=i[t(244)](),3===l&&i.readBits(1),l<=3&&(u=p[l]),f=i[t(244)]()+8,h=i[t(244)]()+8,i[t(247)](1),i[t(254)]())){let e=3!==l?8:12;for(let r=0;r<e;r++)i.readBool()&&(r<6?he[t(242)](i,16):he[t(242)](i,64))}i[t(244)]();let m=i.readUEG();if(0===m)i[t(244)]();else if(1===m){i[t(247)](1),i.readSEG(),i[t(270)]();let e=i[t(244)]();for(let r=0;r<e;r++)i[t(270)]()}let g=i.readUEG();i.readBits(1);let y=i[t(244)](),v=i[t(244)](),b=i[t(247)](1);0===b&&i[t(247)](1),i[t(247)](1);let w=0,_=0,C=0,S=0;i.readBool()&&(w=i.readUEG(),_=i[t(244)](),C=i[t(244)](),S=i[t(244)]());let A=1,T=1,E=0,I=!0,k=0,P=0;if(i[t(254)]()){if(i[t(254)]()){let e=i[t(237)]();e>0&&e<16?(A=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2][e-1],T=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1][e-1]):255===e&&(A=i[t(237)]()<<8|i[t(237)](),T=i[t(237)]()<<8|i[t(237)]())}if(i[t(254)]()&&i[t(254)](),i.readBool()&&(i.readBits(4),i[t(254)]()&&i[t(247)](24)),i[t(254)]()&&(i[t(244)](),i[t(244)]()),i[t(254)]()){let e=i[t(247)](32),r=i[t(247)](32);I=i[t(254)](),k=r,P=2*e,E=k/P}}let $=1;(1!==A||1!==T)&&($=A/T);let D=0,F=0;if(0===l)D=1,F=2-b;else{D=3===l?1:2,F=(1===l?2:1)*(2-b)}let R=16*(y+1),M=16*(v+1)*(2-b);R-=(w+_)*D,M-=(C+S)*F;let B=Math[t(251)](R*$);return i.destroy(),i=null,{codec_mimetype:n,profile_idc:o,level_idc:s,profile_string:c,level_string:d,chroma_format_idc:l,bit_depth:f,bit_depth_luma:f,bit_depth_chroma:h,ref_frames:g,chroma_format:u,chroma_format_string:he[t(245)](u),frame_rate:{fixed:I,fps:E,fps_den:P,fps_num:k},sar_ratio:{width:A,height:T},codec_size:{width:R,height:M},present_size:{width:B,height:M}}}static _skipScalingList(e,t){const r=ue;let n=8,a=8,i=0;for(let o=0;o<t;o++)0!==a&&(i=e[r(270)](),a=(n+i+256)%256),n=0===a?n:a}static[ue(241)](e){const t=ue;switch(e){case 66:return"Baseline";case 77:return"Main";case 88:return t(239);case 100:return t(265);case 110:return t(257);case 122:return t(262);case 244:return t(272);default:return t(246)}}static getLevelString(e){return(e/10)[ue(259)](1)}static getChromaFormatString(e){const t=ue;switch(e){case 420:return"4:2:0";case 422:return t(261);case 444:return"4:4:4";default:return t(246)}}}const me=ge;function ge(e,t){const r=ye();return(ge=function(e,t){return r[e-=483]})(e,t)}function ye(){const e=["read","134611oSpYio","456891WpDzik","look","179280saaIha","bufpos","iserro","2289246ipqTmc","buflen","80RBNYvi","read_golomb","6bjRvpz","6011474hutBbI","buffer","136mmIsxg","bufoff","11418740isExiz","401283eQlKKM"];return(ye=function(){return e})()}!function(e){const t=ge,r=e();for(;;)try{if(584818===parseInt(t(494))/1+-parseInt(t(486))/2*(parseInt(t(495))/3)+-parseInt(t(484))/4*(parseInt(t(497))/5)+parseInt(t(500))/6+parseInt(t(487))/7+parseInt(t(489))/8*(-parseInt(t(492))/9)+parseInt(t(491))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ye);me(496),me(485);function ve(){const e=["Cannot read more than 32 bits","buffer","readBits","606970VLUbbZ","floor","5690547dxqfzu","5752wsMSdl","byteLength","_bytesAvailable","getUint32","405TAfUFM","readUByte","skipBits","readUEG","readEG","5242182XiRcVY","_word","8mcuTRJ","5313392SHYcaE","3153540TsVjYG","_loadWord","skipLZ","skipScalingList","1fQCbre","min","readSliceType","_bitsAvailable","ExpGolomb data params is required","No bytes available","11hDKTUr","set","1509806qXHGDi","_data","readBool"];return(ve=function(){return e})()}function be(e,t){const r=ve();return(be=function(e,t){return r[e-=424]})(e,t)}const we=be;!function(e){const t=be,r=e();for(;;)try{if(508404===parseInt(t(440))/1*(parseInt(t(448))/2)+parseInt(t(427))/3*(-parseInt(t(457))/4)+-parseInt(t(436))/5+-parseInt(t(432))/6+parseInt(t(435))/7*(parseInt(t(434))/8)+parseInt(t(456))/9+parseInt(t(454))/10*(parseInt(t(446))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ve);we(437),we(429),we(453),we(438),we(430),we(431),we(450),we(439),we(442);const _e=Ae;function Ce(e,t={}){const r=Ae,n={};let a=function(){const e=Ae;let t=new ArrayBuffer(2);return new DataView(t)[e(285)](0,256,!0),256===new Int16Array(t)[0]}();const i=new DataView(e[r(248)]);let o=i[r(246)](0),s=i[r(246)](1);if(i[r(246)](2),i[r(246)](3),1!==o){if(!t[r(268)])return console[r(283)](r(244)+o+r(228)),{};{console[r(314)](r(306)+o+", correct to 1");let e=252&i[r(246)](0)|1;i[r(278)](0,e)}}if(0===s){if(!t[r(305)])return console[r(283)](r(280)),{};console[r(314)](r(275)),i[r(278)](1,66)}const c=1+(3&i[r(246)](4));if(3!==c&&4!==c)return{};let d=31&i[r(246)](5);if(0===d)return{};let l=6;for(let t=0;t<d;t++){let o=i[r(251)](l,!a);if(l+=2,0===o)continue;let s=new Uint8Array(e[r(248)],l,o);l+=o;let c=he[r(252)](s);if(0!==t)continue;n[r(258)]=s,n.timescale=1e3,n[r(260)]=c.codec_size[r(236)],n[r(281)]=c.codec_size[r(304)],n[r(315)]=c[r(261)][r(236)],n[r(267)]=c[r(261)][r(304)],n.profile=c[r(282)],n[r(298)]=c[r(317)],n[r(243)]=c[r(288)],n[r(316)]=c.chroma_format,n[r(247)]=c.sar_ratio,n[r(302)]=c[r(255)],(!1===c[r(255)][r(273)]||0===c.frame_rate.fps_num||0===c.frame_rate[r(310)])&&(n[r(302)]={fixed:!0,fps:25,fps_num:25e3,fps_den:1e3});let d=n.frameRate[r(310)],u=n.frameRate[r(265)];n[r(308)]=n[r(318)]*(d/u);let p=s[r(242)](1,4),f=r(234);for(let e=0;e<3;e++){let t=p[e][r(326)](16);t[r(297)]<2&&(t="0"+t),f+=t}n[r(274)]=f}let u=i[r(246)](l);if(0===u)return{};l++;for(let t=0;t<u;t++){let t=i[r(251)](l,!a);if(l+=2,0===t)continue;let o=new Uint8Array(e.buffer,l,t);l+=t,n[r(241)]=o}if(n[r(230)]=T[r(245)],n[r(258)]){const e=n.sps[r(301)],t=new Uint8Array([e>>>24&255,e>>>16&255,e>>>8&255,255&e]),a=new Uint8Array(e+4);a[r(287)](t,0),a.set(n[r(258)],4),n[r(258)]=a}if(n[r(241)]){const e=n[r(241)][r(301)],t=new Uint8Array([e>>>24&255,e>>>16&255,e>>>8&255,255&e]),a=new Uint8Array(e+4);a[r(287)](t,0),a[r(287)](n.pps,4),n[r(241)]=a}return n}function Se(){const e=["codecHeight","profile_string","error","kReserved0","setInt16","codec_size","set","bit_depth","profile","readUE","Invalid AVCDecoderConfigurationRecord: No SPS","24wOnCuJ","push","nalu","type","8640797hBbJjT","length","level","readNextNaluPayload","Invalid AVCDecoderConfigurationRecord version !== 1 || avcProfile === 0","byteLength","frameRate","avc_ref_frames","height","correctionConfigurationProfileIndication","JbPro[xxx][✅✅✅][parseAVCDecoderConfigurationRecord] invalid version ","readBits","refSampleDuration","findNextStartCodeOffset","fps_den","compat","Could not find H264 startcode until payload end!","chroma_format_idc","log","presentWidth","chromaFormat","level_string","timescale","read","ceil","skipUEG","10ouuJiy","bit_depth_chroma","sliceType","readUByte","toString","kSliceSEI","readUEG","657065VQUGwq","112TTdSGO",", valid version is 1 and return","avcc","videoType","2286174CnxEgp","skipScalingList","sar_ratio","avc1.","bit","width","readBool","2ftvGNW","read_golomb","currentStartcodeOffset","pps","subarray","bitDepth","JbPro[xxx][❌❌❌][parseAVCDecoderConfigurationRecord] invalid version ","h264","getUint8","sarRatio","buffer","setUint32","pos","getUint16","parseSPS","iFrame","Invalid AVCDecoderConfigurationRecord, lack of data!","frame_rate","parseSPS$2","2237472EkyExX","sps","83630JsGxIE","codecWidth","present_size","790041kfebFe","shift","Strange AVCDecoderConfigurationRecord: PPS Count = ","fps_num","eofFlag","presentHeight","correctionConfigurationVersion","kSliceNonIDR","readBit","skipBits","chroma_format","fixed","codec","JbPro[xxx][✅✅✅][parseAVCDecoderConfigurationRecord] AVC profile (0) detected, correct to Baseline Profile (66)","data","2617803nFkoBw","setUint8","nb_sps","JbPro[xxx][❌❌❌][parseAVCDecoderConfigurationRecord] invalid AVC profile (0) detected, and return"];return(Se=function(){return e})()}function Ae(e,t){const r=Se();return(Ae=function(e,t){return r[e-=225]})(e,t)}!function(e){const t=Ae,r=e();for(;;)try{if(421812===parseInt(t(226))/1*(parseInt(t(238))/2)+parseInt(t(231))/3+-parseInt(t(227))/4*(parseInt(t(259))/5)+-parseInt(t(257))/6+-parseInt(t(262))/7*(-parseInt(t(292))/8)+parseInt(t(277))/9+-parseInt(t(322))/10*(parseInt(t(296))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Se);_e(307),_e(290);_e(309),_e(299);const Te=Ie;function Ee(){const e=["5816124cepOJF","m_byte","48XKlRIu","m_len","m_idx","m_bits","8kJuXxl","509685CXoCgg","9169245cJtPKn","m_data","881498RQMWyn","GetBit","GetWord","m_zeros","GetBYTE","2211165mgVQsL","390UZaoRD","107175tnLnjn","4554494aHTmdQ","length","3eeQpxo"];return(Ee=function(){return e})()}function Ie(e,t){const r=Ee();return(Ie=function(e,t){return r[e-=310]})(e,t)}!function(e){const t=Ie,r=e();for(;;)try{if(797520===parseInt(t(317))/1*(parseInt(t(328))/2)+-parseInt(t(312))/3+parseInt(t(320))/4*(-parseInt(t(314))/5)+-parseInt(t(318))/6+parseInt(t(315))/7+parseInt(t(324))/8*(-parseInt(t(326))/9)+-parseInt(t(313))/10*(-parseInt(t(325))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Ee);Te(311),Te(329),Te(330);function ke(e,t){const r=Pe();return(ke=function(e,t){return r[e-=288]})(e,t)}function Pe(){const e=["50rjpZXk","5739840ClQenN","248103dQmBaG","warn","GetWord","16LvDpkM","parseSPS","1380204ndurzU","5912870MDhpUl","338529nFpPKk","byteLength","197772UjbOIE","SPSParser sps_max_sub_layers_minus1 > 6","SPSParser chroma_format_idc > 3","GetUE","55zbqKSG","SPSParser bit_depth_luma_minus8 != bit_depth_chroma_minus8","1600802qPYfeH","SPSParser sps_seq_parameter_set_id > 15","28vZDYLM","_ebsp2rbsp"];return(Pe=function(){return e})()}const $e=ke;!function(e){const t=ke,r=e();for(;;)try{if(462817===-parseInt(t(306))/1+-parseInt(t(290))/2+parseInt(t(292))/3*(-parseInt(t(302))/4)+parseInt(t(304))/5*(parseInt(t(294))/6)+-parseInt(t(300))/7*(parseInt(t(288))/8)+-parseInt(t(305))/9+-parseInt(t(291))/10*(-parseInt(t(298))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Pe);$e(303),$e(289);function De(e,t){const r=Fe();return(De=function(e,t){return r[e-=177]})(e,t)}function Fe(){const e=["1506262TDqNZa","Unknown","byteLength","push","min","1925548cXHQPf","readBits","destroy","buffer","readBool","4:2:2","6ZtEYtQ","2438735zCROWx","hvc1.","557428CEMnpn","5437586FVrUEB","1417041JtAknO","14907936oKLIEX","readSEG","4:0:0","readUEG","readByte"];return(Fe=function(){return e})()}!function(e){const t=De,r=e();for(;;)try{if(425004===parseInt(t(178))/1+-parseInt(t(186))/2+-parseInt(t(180))/3+-parseInt(t(191))/4+parseInt(t(198))/5*(parseInt(t(197))/6)+-parseInt(t(179))/7+parseInt(t(181))/8)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Fe);const Re=Be;!function(e){const t=Be,r=e();for(;;)try{if(866378===-parseInt(t(285))/1+parseInt(t(283))/2+parseInt(t(265))/3*(parseInt(t(278))/4)+-parseInt(t(282))/5+parseInt(t(277))/6*(-parseInt(t(288))/7)+parseInt(t(294))/8*(parseInt(t(266))/9)+-parseInt(t(293))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(We);class Me{static[Re(280)](e){let t=e,r=t[Re(274)],n=new Uint8Array(r),a=0;for(let e=0;e<r;e++)e>=2&&3===t[e]&&0===t[e-1]&&0===t[e-2]||(n[a]=t[e],a++);return new Uint8Array(n.buffer,0,a)}static[Re(276)](e){const t=Re;let r=Me[t(280)](e),n=new V(r);return n[t(291)](),n[t(291)](),n[t(269)](4),n.readBits(2),n.readBits(6),{num_temporal_layers:n[t(269)](3)+1,temporal_id_nested:n.readBool()}}static[Re(292)](e){const t=Re;let r=Me[t(280)](e),n=new V(r);n[t(291)](),n[t(291)]();let a=0,i=0,o=0,s=0;n[t(269)](4);let c=n[t(269)](3);n[t(264)]();let d=n[t(269)](2),l=n[t(264)](),u=n[t(269)](5),p=n[t(291)](),f=n.readByte(),h=n[t(291)](),m=n[t(291)](),g=n[t(291)](),y=n.readByte(),v=n[t(291)](),b=n.readByte(),w=n[t(291)](),_=n[t(291)](),C=n[t(291)](),S=[],A=[];for(let e=0;e<c;e++)S.push(n[t(264)]()),A.push(n[t(264)]());if(c>0)for(let e=c;e<8;e++)n[t(269)](2);for(let e=0;e<c;e++)S[e]&&(n[t(291)](),n[t(291)](),n.readByte(),n[t(291)](),n[t(291)](),n[t(291)](),n[t(291)](),n[t(291)](),n[t(291)](),n[t(291)](),n[t(291)]()),A[e]&&n[t(291)]();n[t(267)]();let T=n[t(267)]();3==T&&n[t(269)](1);let E=n[t(267)](),I=n[t(267)]();n[t(264)]()&&(a+=n[t(267)](),i+=n[t(267)](),o+=n[t(267)](),s+=n[t(267)]());let k=n.readUEG(),P=n[t(267)](),$=n[t(267)]();for(let e=n.readBool()?0:c;e<=c;e++)n[t(267)](),n[t(267)](),n[t(267)]();if(n[t(267)](),n[t(267)](),n[t(267)](),n.readUEG(),n.readUEG(),n.readUEG(),n[t(264)]()){if(n[t(264)]())for(let e=0;e<4;e++)for(let r=0;r<(3===e?2:6);r++){if(n[t(264)]()){let r=Math[t(296)](64,1<<4+(e<<1));e>1&&n[t(290)]();for(let e=0;e<r;e++)n.readSEG()}else n[t(267)]()}}n[t(264)](),n[t(264)](),n[t(264)]()&&(n.readByte(),n[t(267)](),n.readUEG(),n.readBool());let D=n[t(267)](),F=0;for(let e=0;e<D;e++){let r=!1;if(0!==e&&(r=n[t(264)]()),r){e===D&&n.readUEG(),n.readBool(),n[t(267)]();let r=0;for(let e=0;e<=F;e++){let e=n[t(264)](),a=!1;!e&&(a=n.readBool()),(e||a)&&r++}F=r}else{let e=n.readUEG(),r=n[t(267)]();F=e+r;for(let r=0;r<e;r++)n[t(267)](),n[t(264)]();for(let e=0;e<r;e++)n[t(267)](),n.readBool()}}if(n[t(264)]()){let e=n[t(267)]();for(let r=0;r<e;r++){for(let e=0;e<$+4;e++)n.readBits(1);n[t(269)](1)}}let R=!1,M=0,B=1,W=1,U=!1,x=1,O=1;if(n[t(264)](),n[t(264)](),n.readBool()){if(n[t(264)]()){let e=n.readByte();e>0&&e<=16?(B=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2][e-1],W=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1][e-1]):255===e&&(B=n[t(269)](16),W=n[t(269)](16))}if(n[t(264)]()&&n[t(264)](),n[t(264)]()){n[t(269)](3),n[t(264)](),n[t(264)]()&&(n.readByte(),n[t(291)](),n.readByte())}if(n[t(264)]()&&(n[t(267)](),n.readUEG()),n[t(264)](),n[t(264)](),n.readBool(),R=n.readBool(),R&&(n[t(267)](),n[t(267)](),n[t(267)](),n[t(267)]()),n.readBool()){if(x=n[t(269)](32),O=n[t(269)](32),n[t(264)]()&&n.readUEG(),n.readBool()){let e=!1,r=!1,a=!1;e=n[t(264)](),r=n[t(264)](),(e||r)&&(a=n[t(264)](),a&&(n[t(291)](),n[t(269)](5),n[t(264)](),n[t(269)](5)),n.readBits(4),n[t(269)](4),a&&n.readBits(4),n[t(269)](5),n.readBits(5),n[t(269)](5));for(let i=0;i<=c;i++){let i=n.readBool();U=i;let o=!0,s=1;!i&&(o=n[t(264)]());let c=!1;if(o?n[t(267)]():c=n.readBool(),!c&&(s=n.readUEG()+1),e){for(let e=0;e<s;e++)n[t(267)](),n[t(267)](),a&&(n.readUEG(),n[t(267)]());n[t(264)]()}if(r){for(let e=0;e<s;e++)n[t(267)](),n[t(267)](),a&&(n[t(267)](),n[t(267)]());n[t(264)]()}}}}n.readBool()&&(n[t(264)](),n[t(264)](),n.readBool(),M=n[t(267)](),n[t(267)](),n.readUEG(),n[t(267)](),n.readUEG())}n[t(264)]();let L=t(268)+u+t(273)+C+t(271),j=E-(a+i)*(1===T||2===T?2:1),H=I-(o+s)*(1===T?2:1),N=1;return 1!==B&&1!==W&&(N=B/W),n.destroy(),n=null,{codec_mimetype:L,profile_string:Me[t(275)](u),level_string:Me[t(272)](C),profile_idc:u,bit_depth:k+8,ref_frames:1,chroma_format:T,chroma_format_string:Me.getChromaFormatString(T),general_level_idc:C,general_profile_space:d,general_tier_flag:l,general_profile_idc:u,general_profile_compatibility_flags_1:p,general_profile_compatibility_flags_2:f,general_profile_compatibility_flags_3:h,general_profile_compatibility_flags_4:m,general_constraint_indicator_flags_1:g,general_constraint_indicator_flags_2:y,general_constraint_indicator_flags_3:v,general_constraint_indicator_flags_4:b,general_constraint_indicator_flags_5:w,general_constraint_indicator_flags_6:_,min_spatial_segmentation_idc:M,constant_frame_rate:0,chroma_format_idc:T,bit_depth_luma_minus8:k,bit_depth_chroma_minus8:P,frame_rate:{fixed:U,fps:O/x,fps_den:x,fps_num:O},sar_ratio:{width:B,height:W},codec_size:{width:j,height:H},present_size:{width:j*N,height:H}}}static[Re(270)](e){const t=Re;let r=Me[t(280)](e),n=new V(r);n.readByte(),n[t(291)](),n[t(267)](),n.readUEG(),n[t(264)](),n.readBool(),n[t(269)](3),n[t(264)](),n[t(264)](),n.readUEG(),n[t(267)](),n.readSEG(),n[t(264)](),n[t(264)](),n.readBool()&&n.readUEG(),n[t(290)](),n[t(290)](),n.readBool(),n.readBool(),n[t(264)](),n.readBool();let a=n[t(264)](),i=n.readBool(),o=1;return i&&a?o=0:i?o=3:a&&(o=2),{parallelismType:o}}static[Re(284)](e){const t=Re;switch(e){case 0:return t(287);case 1:return t(281);case 2:return t(295);case 3:return t(289);default:return t(298)}}static[Re(275)](e){const t=Re;switch(e){case 1:return"Main";case 2:return t(279);case 3:return"MainSP";case 4:return t(297);case 9:return"SCC";default:return t(298)}}static[Re(272)](e){return(e/30)[Re(286)](1)}}function Be(e,t){const r=We();return(Be=function(e,t){return r[e-=264]})(e,t)}function We(){const e=["toFixed","4:0:0","5812058CLQRQk","4:4:4","readSEG","readByte","parseSPS","729320mkepkY","16360tDRCld","4:2:2","min","Rext","Unknown","readBool","4980783efuCIn","2016IjTBpt","readUEG","hvc1.","readBits","parsePPS",".B0","getLevelString",".1.L","byteLength","getProfileString","parseVPS","6rWIqDW","4SpOssA","Main10","_ebsp2rbsp","4:2:0","4310730crYaCN","2368600OzydXD","getChromaFormatString","670891xCJYvn"];return(We=function(){return e})()}const Ve=xe;function Ue(){const e=["readNextNaluPayload","parseHEVCDecoderVPSAndSPSAndPPS and pps tag is ","310149nmeCsW","constant_frame_rate","codec_size","tier_flag","bit_depth_chroma_minus8","1382899mSVTdo","refSampleDuration",", valid version is 1 or 0","8DHIgrB","length","present_size","level_idc","sps_temporal_id_nesting_flag","frameRate","bitDepth","fps_den","temporal_id_nested","width","5459740awwRrQ"," < 22","fps_num","sub_layer_profile_idc","getUint8","vps","sub_layer_frame_only_constraint_flag","read_golomb","slice","JbPro[xxx][❌❌❌][parseHEVCDecoderConfigurationRecord] Invalid, lack of data! ","lengthSizeMinusOne","from","sub_layer_profile_present_flag","profile_compatibility_flags","presentWidth","sps_max_sub_layers_minus1","log","findNextStartCodeOffset","assign","type","conformance_window_flag","sub_layer_level_idc","general_constraint_indicator_flags_4","general_constraint_indicator_flags_3","h265","generalProfileCompatibilityFlags","push","generalConstraintIndicatorFlags","profile_string","codecWidth","hev1.1.6.L93.B0","chroma_format","readUEG","sps_seq_parameter_set_id","fixed","setInt16","conf_win_top_offset","frame_rate"," and naluLengthSize is ","bitDepthLumaMinus8","30zEpWNg","general_tier_flag","parseSPS","930534wSwzKI","general_profile_compatibility_flags_2","chromaFormat","timescale","455946UAXqVe","Could not find H265 startcode until payload end!","profile_idc","parallelismType","height","hvcc","max","constantFrameRate","bit_depth","sarRatio","sub_layer_profile_space","level_string","generalTierFlag","warn"," < 23","sub_layer_interlaced_source_flag","sps_video_parameter_set_id",", valid hevc profile is Main Profile (1), Main 10 Profile (2),Main Still Picture Profile (3)","pic_height_in_luma_samples","readBits","separate_colour_plane_flag","currentStartcodeOffset",", correct to 1","10rCFxDH","general_progressive_source_flag","140CvgdPn","data","bitDepthChromaMinus8","temporalIdNested","sar_ratio","general_constraint_indicator_flags","generalProfileSpace","sub_layer_non_packed_constraint_flag","setUint32","conf_win_bottom_offset","psps","sps","min_spatial_segmentation_idc","sub_layer_profile_compatibility_flag","generalLevelIdc","sub_layer_level_present_flag","chromaFormatIdc","JbPro[xxx][❌❌❌][parseHEVCDecoderConfigurationRecord] invalid HEVC profile ","level","subarray",", correct to Main Profile (1)","general_profile_idc","conf_win_left_offset","profile_space","profile","generalProfileIdc","sub_layer_tier_flag","pps","parseHEVCDecoderVPSAndSPSAndPPS and sps tag is ","sub_layer_progressive_source_flag","eofFlag","general_profile_compatibility_flags_4","77564JFKIKw","pic_width_in_luma_samples","num_temporal_layers","buffer","general_non_packed_constraint_flag","presentHeight","getUint16","correctionConfigurationProfileIndication","numTemporalLayers","parseHEVCDecoderConfigurationRecord$3","131548WTHbxS","setUint8","general_profile_compatibility_flags_3","configurationVersion","read","JbPro[xxx][✅✅✅][parseHEVCDecoderConfigurationRecord] invalid version ","conf_win_right_offset","error","general_level_idc","general_constraint_indicator_flags_2","avgFrameRate","readUByte","profile_tier_level","byteLength","general_profile_space","codec","codecHeight","set","general_profile_compatibility_flags_1","chroma_format_idc","arrayBuffer.length "];return(Ue=function(){return e})()}function xe(e,t){const r=Ue();return(xe=function(e,t){return r[e-=121]})(e,t)}!function(e){const t=xe,r=e();for(;;)try{if(242446===parseInt(t(233))/1+parseInt(t(172))/2+-parseInt(t(169))/3*(-parseInt(t(243))/4)+parseInt(t(199))/5*(parseInt(t(176))/6)+parseInt(t(271))/7*(parseInt(t(274))/8)+parseInt(t(266))/9*(-parseInt(t(201))/10)+-parseInt(t(129))/11)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Ue);Ve(146),Ve(264);const Oe=Le;function Le(e,t){const r=je();return(Le=function(e,t){return r[e-=230]})(e,t)}function je(){const e=[",\n and emit change event","decodeAudio and has already initialized and payload is aac codec packet so drop this frame","wasmDecodeErrorStartTime","videoCodec","simdDecodeDelayTimeout","yuvData, decoder is destroyed and return"," create uint8Array error :","player","destroy",", old height is ","_handleModuleAudioError","ModuleVideo","audioCode","448805mQHmAo","playAudio","channelCount","audioOriginalSampleRate","calcWasmMemoryUsed","sampleRate","decodeVideo: video width or height is changed, and return","HEAPU32","toString","width: ","simdDecodeError","errorInfo","terminateAllThreads","setCodecVideo: SIMD H264 decode video width is too large, width is ","length","audioRemain","debugError","codecHeight","isUseSIMDFfmpeg","1442lkigTl","MP3","validatedFailed, please contact the author to get the correct license","notSupportNewWasm","setCodecAudio: is aac and channelCount ",",\n new width is ","75462SNHorL","yuvData, isVideoFirstIFrame is false and return","toFixed","_isDestroyed","h264","timeEnd","setCodecAudio, audioDecoder is not exist or setCodec is not a function","isWidthOrHeightChanged","firstDecodeDelay is ","isVideoInitedAndNotFirstVideoIFrame","isSimdDecodeError","\n decodeVideo: video width or height is changed,\n old width is ","audioAACSequenceHeader","isVideoFirstIFrame","audioDecoder","isPlayer","\n and replay",", height is ","MtWasmDecoder"," > ","prevDecodedVideoFrameLocalTimestamp","workerEnd","decodeVideo and payload is too small , payload length is ","249808IXQlFZ"," so not support, set has audio false and return","setCodecAudio: is aac and metaInfo is null, set has audio false and return","updatePrevDecodedVideoFrameLocalTimestamp","30SAeQuh","setCodecVideo, videoDecoder is not exist or setCodec is not a function","clearBuffer","h265","] ","setCodecVideo","decodeAudio, decoder is destroyed and return","startStreamRateAndStatsInterval","getBuildTime","byteLength","_updateStreamRateAndStats","decodeVideo: hasInitVideoCodec is false, codecId is "," and maxDiff is ","render","mp3Demuxer","yuvData() and diff time is ","JbPro[❌❌❌][",", height: ","decodeVideo has init, and init isVideoInitedAndNotFirstVideoIFrame = true","codecWidth","PThread","slice","init","audioInfo","decodeVideo, decoder is destroyed and return","setCodecAudio","audioChannels","audio wasm error:","setCodecAudio: init audio codec, codeId is ","3094600mfYiAR","validatedFailed","stopStreamRateAndStatsInterval"," more than ","decodeAudio","setCodecAudio: hasInitAudioCodec is false, codecId is ","setCodec",", so set isVideoInitedAndNotFirstVideoIFrame = false","mtStreamStats","useSIMD","videoDecoder","wasmWidthOrHeightChange","decodeVideo","videoWidth","outOfMemoryWasm","isFFmpegSIMD","_reset","videoHeight","hasInitVideoCodec","isUseSIMDAndroid","bind","iframeIntervalTimestamp","isDestroyed","audioBufferSize","initAudio","decodeVideo: simd decode delay timeout, and return","debugLog","11586EmNnsj","videoTotalMB","subarray","off","newDecodedVideoFrameTimestamp","HEAPF32","HEAPU8","hasAudio","streamRateAndStatsInterval","tempAudioBuffer","prevDecodeVideoFrameLocalTimestamp","debugWarn","pcmData, decoder is destroyed and return","isSimdDecodeDelayTimeout","lastDecodeVideoFrameTimestamp","audioDepth"," and isIFrame is "," ","updatePrevDecodeVideoFrameLocalTimestamp"," and diff is ","clear","videoInfo","firstDecodeVideoFrameTimestamp","dispatch"," is not H264 or H265","data","emit","log","setCodecVideo: init video codec , codecId is ","decodeVideo first frame is not iFrame","3432159WehJce","delete","decodeVideo and diff time is ","AAC","ModuleAudio","videoCode","_handleModuleVideoError","yuvData ts ","_initSuccess","bound","worker","prevAudioTs","decodeVideo: simd decode error, and return","_opt","1554388OxMIcJ","floor","TAG_NAME"];return(je=function(){return e})()}!function(e){const t=Le,r=e();for(;;)try{if(202600===-parseInt(t(374))/1+-parseInt(t(351))/2*(-parseInt(t(378))/3)+parseInt(t(310))/4+parseInt(t(326))/5+parseInt(t(266))/6*(-parseInt(t(345))/7)+-parseInt(t(239))/8+parseInt(t(296))/9)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(je);class He extends ie{constructor(e,t={}){const r=Le;super(),this[r(320)]=e,this[r(309)]=t,this[r(312)]=r(369),this._reset(),this[r(262)]=t[r(262)]||1024,this[r(331)]=t.sampleRate||48e3,this.ModuleAudio=null,this[r(324)]=null,this[r(249)]=null,this[r(365)]=null,this[r(307)]=null,this[r(371)]=null,this.prevDecodeVideoFrameLocalTimestamp=null,this.bound={_handleModuleAudioError:this[r(323)][r(259)](this),_handleModuleVideoError:this[r(302)][r(259)](this),_updateStreamRateAndStats:this._updateStreamRateAndStats[r(259)](this)},this[r(274)]=null,this[r(364)]=!!te(e[r(309)].checkFirstIFrame),this[r(354)]=!1,this[r(232)]()}[Oe(321)](){const e=Oe;if(this[e(354)]=!0,this[e(269)](),this[e(241)](),this[e(365)]){try{Z(this[e(365)][e(286)])&&this[e(365)][e(286)](),Z(this[e(365)].delete)&&this[e(365)][e(297)]()}catch(e){}this[e(365)]=null}if(this[e(249)]){try{Z(this[e(249)][e(286)])&&this[e(249)][e(286)](),Z(this[e(249)][e(297)])&&this.videoDecoder[e(297)]()}catch(e){}this[e(249)]=null}if(this[e(324)][e(230)]&&Z(this.ModuleVideo[e(230)][e(338)]))try{this.ModuleVideo[e(230)].terminateAllThreads()}catch(e){}this[e(324)]=null,this.ModuleAudio=null,this[e(307)]=null,this[e(392)]&&(this[e(392)].destroy(),this[e(392)]=null),this[e(371)]=null,this[e(276)]=null,this[e(305)]=null,this._reset(),this[e(320)][e(265)](this[e(312)],e(321))}[Oe(255)](){const e=Oe;this[e(365)]=null,this.videoDecoder=null,this[e(262)]=null,this[e(252)]=0,this[e(256)]=0,this[e(236)]=0,this[e(329)]=0,this[e(281)]=0,this.hasInitAudioCodec=!1,this[e(257)]=!1,this[e(392)]=null,this.isVideoFirstIFrame=!1,this[e(358)]=!1,this[e(361)]=!1,this[e(280)]=null,this[e(288)]=null,this[e(315)]=null,this[e(270)]=null,this[e(279)]=!1,this.audioRemain=0,this[e(260)]=0,this[e(275)]=[]}[Oe(232)](){}[Oe(304)](){}[Oe(380)](){this.isVideoFirstIFrame=!1}[Oe(388)](){const e=Oe;let t=0;null!==this.newDecodedVideoFrameTimestamp&&null!==this[e(280)]&&(t=parseInt(this[e(280)]-this.newDecodedVideoFrameTimestamp,10));const r=this.calcWasmMemoryUsed();if(this[e(292)](w[e(247)],{wasmDecodeDelay:t,wasmVideoTotalMB:r[e(267)],wasmAudioTotalMB:r.audioTotalMB}),this[e(288)]&&this[e(258)]()&&null===this.newDecodedVideoFrameTimestamp){Y()-this[e(288)]>1e3*this[e(320)][e(309)].wasmSimdFirstFrameDecodeDelayTimeout&&(this[e(320)][e(265)](this.TAG_NAME,e(359)+t+" ms and isSimdDecodeDelayTimeout is true, emit simdDecodeDelayTimeout"),this[e(279)]=!0,this[e(292)](w[e(317)]))}}startStreamRateAndStatsInterval(){const e=Oe;this.stopStreamRateAndStatsInterval(),this[e(274)]=setInterval(this[e(305)][e(388)],1e3),this[e(388)]()}[Oe(241)](){const e=Oe;this[e(274)]&&(clearInterval(this[e(274)]),this[e(274)]=null)}[Oe(323)](e){const t=Oe;(function(e){const t=q;return!(!e||-1===e.indexOf(t(391))&&-1===e[t(472)](t(265))&&-1===e[t(472)](t(267))&&-1===e[t(472)](t(402)))})(e)||this[t(320)][t(342)](this[t(312)],t(237),e)}_handleModuleVideoError(e){const t=Oe;(function(e){const t=q;return!(!e||-1===e[t(472)](t(538)))})(e)||(this[t(320)][t(342)](this[t(312)],"video wasm error:",e),!function(e){const t=q;return!(!e||-1===e.toLowerCase()[t(472)](t(328)))}(e)?function(e){const t=q;return!(!e||-1===e[t(337)]()[t(472)](t(610)))}(e)&&this.emit(w[t(348)],e):this.emit(w[t(253)],e))}[Oe(330)](){const e=Oe;if(!this.audioDecoder||!this.videoDecoder)return{videoTotalMB:0,audioTotalMB:0};let t=0,r=0;this.videoDecoder&&(t=this.ModuleVideo[e(272)][e(340)]),this[e(365)]&&(r=this[e(300)][e(272)][e(340)]);return{videoTotalMB:(t/1048576)[e(353)](2),audioTotalMB:(r/1048576).toFixed(2)}}[Oe(377)](){const e=Oe;if(!this[e(320)][e(366)]())return;const t=Y();null===this[e(371)]&&(this[e(371)]=t);const r=t-this[e(371)];r>85&&this[e(320)][e(265)](this.TAG_NAME,e(393)+r+" more than 85ms, video is stuck"),this[e(371)]=t}updatePrevDecodeVideoFrameLocalTimestamp(){const e=Oe;if(!this[e(320)][e(366)]())return;const t=Y();null===this[e(276)]&&(this[e(276)]=t);const r=t-this[e(276)];r>85&&this[e(320)][e(265)](this.TAG_NAME,e(298)+r+e(242)+85+"ms, video is stuck"),this[e(276)]=t}setCodecVideo(e,t){const r=Oe,n=15&e[0],a=this[r(320)];if(te(this.videoDecoder&&Z(this[r(249)][r(245)])))a.debugError(this.TAG_NAME,r(379));else if(ee(e))if(n===S[r(355)]||n===S.h265){a[r(265)](this.TAG_NAME,r(294)+n);const t=e[r(231)](5);if(n===S.h264&&this[r(258)]()){const e=Ce(t,this[r(320)].getCorrectionConfiguration());if(e[r(397)]>v||e.codecHeight>v)return this[r(292)](w.simdH264DecodeVideoWidthIsTooLarge,r(335)+e[r(397)]+r(370)+v+r(395)+e[r(343)]+r(370)+v),void a[r(277)](this[r(312)],r(339)+e[r(397)]+r(368)+e.codecHeight)}const i=new Uint8Array(e);this.hasInitVideoCodec=!0,this[r(249)].setCodec(n,t,this[r(386)]()),this[r(292)](w.videoCode,{code:n}),this[r(292)](w[r(316)],{buffer:i,codecId:n})}else a[r(277)](this.TAG_NAME,"setCodecVideo: hasInitVideoCodec is false, codecId is "+n+r(290));else a[r(277)](this.TAG_NAME,r(389)+n+r(282)+t+" and packetType is "+e[1])}[Oe(235)](e,t){const r=Oe,n=e[0]>>4,a=e[0]>>1&1;if(n===A[r(299)]?this[r(281)]=a?16:8:this[r(281)]=0===a?8:16,te(this.audioDecoder&&Z(this[r(365)].setCodec)))return void this.player[r(342)](this.TAG_NAME,r(357));const i=this[r(320)];if(j(e)||n===A.ALAW||n===A.MULAW||n===A.MP3){this[r(320)][r(265)](this.TAG_NAME,r(238)+n+" _opt.sampleRate is "+this[r(331)]);const a=n===A[r(299)]?e[r(231)](2):new Uint8Array(0);if(n===A.AAC){const e=function(e){const t=H;let r=new Uint8Array(e),n=null,a=0,i=0,o=0,s=null;if(a=i=r[0]>>>3,o=(7&r[0])<<1|r[1]>>>7,o<0||o>=N[t(177)])return void console[t(147)](t(163));let c=N[o],d=(120&r[1])>>>3;if(d<0||d>=8)return void console[t(136)](t(152));5===a&&(s=(7&r[1])<<1|r[2]>>>7,r[2]);let l=P.navigator[t(160)][t(172)]();return-1!==l[t(170)](t(199))?o>=6?(a=5,n=new Array(4),s=o-3):(a=2,n=new Array(2),s=o):-1!==l.indexOf(t(162))?(a=2,n=new Array(2),s=o):(a=5,s=o,n=new Array(4),o>=6?s=o-3:1===d&&(a=2,n=new Array(2),s=o)),n[0]=a<<3,n[0]|=(15&o)>>>1,n[1]=(15&o)<<7,n[1]|=(15&d)<<3,5===a&&(n[1]|=(15&s)>>>1,n[2]=(1&s)<<7,n[2]|=8,n[3]=0),{audioType:t(176),config:n,sampleRate:c,channelCount:d,objectType:a,codec:t(203)+a,originalCodec:"mp4a.40."+i}}(a);if(!e)return this.player.debugWarn(this[r(312)],r(376)),void this.player.setAudioDisabled();const t=e[r(328)];if(t>2)return this[r(320)][r(277)](this[r(312)],r(349)+t+r(370)+2+r(375)),void this[r(320)].setAudioDisabled();this[r(292)](w[r(363)],{buffer:a})}if(this[r(365)].setCodec(n,this[r(331)],a,this[r(386)]()),this.hasInitAudioCodec=!0,n!==A[r(299)]&&(n===A[r(346)]?(!this.mp3Demuxer&&(this[r(392)]=new le(this),this[r(392)].on(r(291),(e,t)=>{this.audioDecoder.decode(e,t)})),this[r(392)][r(289)](e[r(231)](1),t)):this[r(365)].decode(e[r(231)](1),t)),te(Q)){const e=Number("1")||1;setTimeout(()=>{const e=r;this[e(320)]?this[e(320)][e(342)](this[e(312)],e(283)):console[e(293)](e(394)+this[e(312)]+e(382)),this.destroy(),this[e(292)](w[e(372)])},60*e*60*1e3)}}else this[r(320)][r(309)][r(273)]&&i[r(277)](this[r(312)],r(244),n)}[Oe(243)](e,t){const r=Oe;if(this[r(354)])return;if(this[r(320)].isDestroyed())return void this[r(320)][r(265)](this[r(312)],r(384));const n=e[0]>>4;if(this.hasInitAudioCodec){if(j(e))return void this[r(320)].debugLog(this[r(312)],r(314));n===A[r(346)]?this.mp3Demuxer[r(289)](e[r(231)](1),t):this[r(365)].decode(n===A[r(299)]?e[r(231)](2):e[r(231)](1),t)}else this[r(235)](e,t)}[Oe(251)](e,t,r,n=0){const a=Oe;if(!this[a(354)])if(this[a(320)][a(261)]())this[a(320)][a(265)](this[a(312)],a(234));else if(this.hasInitVideoCodec)if(null===this.player[a(360)]&&(this[a(320)][a(265)](this[a(312)],a(396)),this[a(320)][a(360)]=!0),!this[a(364)]&&r&&(this.isVideoFirstIFrame=!0,this.player[a(265)](this[a(312)],"decodeVideo and is first iframe and ts is "+t+a(246)),this[a(320)][a(360)]=!1),this[a(364)]){if(r&&ee(e)){const t=15&e[0];let r={},n=e[a(231)](5);const i=this[a(320)].getCorrectionConfiguration();t===S[a(355)]?r=Ce(n,i):t===S[a(381)]&&(r=function(e,t={}){const r=xe,n=e;if(n.length<22)return console[r(250)](r(138)+n[r(275)]+r(130)),{};let a={codecWidth:0,codecHeight:0,videoType:T[r(153)],timescale:1e3},i=function(){const e=r;let t=new ArrayBuffer(2);return new DataView(t)[e(164)](0,256,!0),256===new Int16Array(t)[0]}(),o=new DataView(n.buffer),s=o[r(133)](0),c=31&o[r(133)](1);if(1!==s&&0!==s){if(!t.correctionConfigurationVersion)return console[r(250)]("JbPro[xxx][❌❌❌][parseHEVCDecoderConfigurationRecord] invalid version "+s+r(273)),{};{console[r(145)](r(248)+s+r(198));let e=252&o.getUint8(0)|1;o[r(244)](0,e)}}if(0===c){if(!t[r(240)])return console[r(250)](r(218)+c+r(193)),{};{console.log("JbPro[xxx][✅✅✅][parseHEVCDecoderConfigurationRecord] invalid HEVC profile "+c+r(221));let e=224&o[r(133)](1)|1;o[r(244)](1,e)}}let d=1+(3&o[r(133)](21));if(3!==d&&4!==d)return console.error("JbPro[xxx][❌❌❌][parseHEVCDecoderConfigurationRecord], invalid Strange NaluLengthSizeMinusOne: "+(d-1)+r(167)+d+" ,"),{};let l=o[r(133)](22);for(let e=0,t=23;e<l;e++){let e=63&o.getUint8(t+0),s=o[r(239)](t+1,!i);t+=3;for(let c=0;c<s;c++){let s=o.getUint16(t+0,!i);if(0===c)if(33===e){t+=2;let e=new Uint8Array(n[r(236)],t,s),i=Me[r(171)](e);a[r(158)]=i[r(268)][r(128)],a.codecHeight=i[r(268)].height,a[r(143)]=i[r(121)][r(128)],a[r(238)]=i[r(121)][r(180)],a[r(225)]=i[r(157)],a[r(219)]=i.level_string,a[r(125)]=i[r(184)],a[r(174)]=i[r(160)],a[r(185)]=i[r(205)],a[r(124)]=i[r(166)],(!1===i[r(166)][r(163)]||0===i[r(166)][r(131)]||0===i[r(166)][r(126)])&&(a[r(124)]={fixed:!0,fps:23.976,fps_num:23976,fps_den:1e3});let o=a[r(124)][r(126)],c=a[r(124)][r(131)];a[r(272)]=a[r(175)]*(o/c),a[r(258)]=i.codec_mimetype,t+=s}else t+=2+s;else t+=2+s}}return a[r(181)]=new Uint8Array(n),a}(n,i)),r[a(397)]&&r[a(343)]&&this.videoWidth&&this[a(256)]&&(r[a(397)]!==this[a(252)]||r[a(343)]!==this[a(256)])&&(this[a(320)][a(277)](this[a(312)],a(362)+this.videoWidth+a(322)+this[a(256)]+a(350)+r[a(397)]+", new height is "+r[a(343)]+a(313)),this[a(358)]=!0,this[a(292)](w[a(250)],a(335)+this[a(252)]+"->"+r[a(397)]+a(395)+this[a(256)]+"->"+r[a(343)]))}if(this[a(358)])return void this[a(320)].debugWarn(this.TAG_NAME,a(332));if(this.isSimdDecodeError)return void this[a(320)][a(277)](this.TAG_NAME,a(308));if(this[a(279)])return void this[a(320)].debugWarn(this[a(312)],a(264));if(ee(e))return void this[a(320)].debugLog(this[a(312)],"decodeVideo and payload is video sequence header so drop this frame");if(e[a(387)]<12)return void this[a(320)].debugWarn(this[a(312)],a(373)+e[a(387)]);this.lastDecodeVideoFrameTimestamp=t,null===this[a(288)]&&(this[a(288)]=Y()),this[a(284)]();const n=e.slice(5);this.videoDecoder.decode(n,r?1:0,t)}else this[a(320)][a(265)](this[a(312)],a(295));else this[a(383)](e,r)}[Oe(287)](e,t,r){const n=Oe;this[n(292)](w[n(301)],{code:e}),this.emit(w.initVideo,{w:t,h:r}),this[n(252)]=t,this[n(256)]=r,this[n(385)]()}[Oe(233)](e,t,r){const n=Oe;this.emit(w[n(325)],{code:e}),this[n(292)](w[n(263)],{sampleRate:t,channels:r,depth:this.audioDepth}),this[n(236)]=r,this[n(329)]=t}yuvData(e,t){const r=Oe;if(this[r(354)])return;if(this.player[r(261)]())return void this[r(320)].debugLog(this[r(312)],r(318));if(te(this[r(364)]))return void this.player[r(265)](this[r(312)],r(352));this[r(377)]();const n=this[r(252)]*this[r(256)]*3/2;try{let a=this[r(324)].HEAPU8[r(268)](e,e+n),i=new Uint8Array(a);this[r(315)]=null,this[r(270)]=t,this[r(292)](w[r(391)],{output:i,ts:t})}catch(e){this[r(320)].debugWarn(this[r(312)],r(303)+t+r(319),e,e[r(334)]())}}pcmData(e,t,r){const n=Oe;if(this[n(354)])return;if(this[n(320)][n(261)]())return void this[n(320)][n(265)](this.TAG_NAME,n(278));let a=t,i=[],o=0;try{let s=this[n(331)],c=this[n(262)];for(let t=0;t<this[n(236)];t++){let r=this.ModuleAudio[n(333)][(e>>2)+t]>>2;i[t]=this[n(300)][n(271)][n(268)](r,r+a)}if(this[n(341)]){if(!(a>=(t=c-this.audioRemain)))return this[n(341)]+=a,this.tempAudioBuffer[0]=Float32Array.of(...this.tempAudioBuffer[0],...i[0]),void(2==this.audioChannels&&(this[n(275)][1]=Float32Array.of(...this[n(275)][1],...i[1])));{let e=[];e[0]=Float32Array.of(...this[n(275)][0],...i[0][n(268)](0,t)),2==this[n(236)]&&(e[1]=Float32Array.of(...this[n(275)][1],...i[1][n(268)](0,t)));let d=r;if(null!==this[n(307)]&&r==this[n(307)]){const e=Math[n(311)](1e3*c/s);d=this[n(307)]+e}this[n(292)](w[n(327)],{buffer:e,ts:d}),o=t,a-=t,this.prevAudioTs=d}}for(this[n(341)]=a;this[n(341)]>=c;this.audioRemain-=c){let e=[];e[0]=i[0][n(231)](o,o+=c),2==this[n(236)]&&(e[1]=i[1][n(231)](o-c,o));let t=r;if(null!==this[n(307)]&&r==this.prevAudioTs){const e=Math[n(311)](1e3*c/s);t=this[n(307)]+e}this[n(292)](w[n(327)],{buffer:e,ts:t}),this.prevAudioTs=t}this.audioRemain&&(this.tempAudioBuffer[0]=i[0][n(231)](o),2==this.audioChannels&&(this.tempAudioBuffer[1]=i[1][n(231)](o))),i=[]}catch(e){this[n(320)][n(277)](n(306),"pcmData ts "+r+n(319),e,e.toString())}}[Oe(337)](e){const t=Oe;null===this[t(315)]&&(this[t(315)]=Y());const r=Y(),n=function(e,t,r){const n=J;return Math.max(Math[n(378)](e,Math[n(581)](t,r)),Math[n(378)](t,r))}(this[t(260)]>0?2*this[t(260)]:5e3,1e3,5e3),a=r-this[t(315)];a>n&&(this[t(320)][t(277)](this[t(312)],"errorInfo() emit simdDecodeError and\n iframeIntervalTimestamp is "+this[t(260)]+t(285)+a+t(390)+n+t(367)),this[t(361)]=!0,this[t(292)](w[t(336)]))}getBuildTime(){return m+"-"+g}[Oe(258)](){const e=Oe;return this.player._opt[e(248)]&&!this[e(320)]._opt[e(254)]}[Oe(344)](){const e=Oe;return this.player._opt.useSIMD&&this[e(320)][e(309)][e(254)]}[Oe(356)](){const e=Oe;this[e(320)][e(342)](this[e(312)],e(283)),this.destroy(),this[e(292)](w[e(372)])}[Oe(240)](){const e=Oe;this[e(320)].debugError(this[e(312)],e(347))}}function Ne(){const e=["VideoDecoder","17871HfFNif","videoDecoder","debugLog","bound","TAG_NAME","30OPqBxl","169072GGnqst","_handleModuleVideoError","catch","then","5DnYqLc","11418417xbwrJl","AudioDecoder","_initSuccess","player","audioDecoder","ModuleAudio","MtSimdDecoder","JessibucaProMtSimdDecoder","878832duBoFr","ModuleVideo","all","2131536nmcafj","simd","2697315mFNKQV","push","1336jdlqau","debugError","init","_handleModuleAudioError","init wasm error","636652FXDtNN"];return(Ne=function(){return e})()}const Ge=ze;function ze(e,t){const r=Ne();return(ze=function(e,t){return r[e-=149]})(e,t)}!function(e){const t=ze,r=e();for(;;)try{if(882467===-parseInt(t(155))/1+-parseInt(t(179))/2+-parseInt(t(181))/3+-parseInt(t(163))/4*(parseInt(t(167))/5)+parseInt(t(176))/6+parseInt(t(157))/7*(-parseInt(t(150))/8)+-parseInt(t(168))/9*(-parseInt(t(162))/10))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Ne);class qe extends He{constructor(e){const t=ze;super(e),this[t(161)]=t(174),this.mtType=$[t(180)],this.player[t(159)](this.TAG_NAME,t(152))}[Ge(152)](){const e=Ge,n=[];n[e(149)](r({printErr:this.bound[e(153)]}),t({printErr:this[e(160)][e(164)]})),Promise[e(178)](n)[e(166)](([t,r])=>{const n=e;this[n(173)]=t,this[n(177)]=r,r.VideoDecoder&&(this[n(158)]=new(r[n(156)])(this)),t[n(169)]&&(this[n(172)]=new t.AudioDecoder(this)),this.emit(w[n(152)]),this[n(170)](),this.player[n(159)](this.TAG_NAME,n(152))})[e(165)](t=>{const r=e;this[r(171)][r(151)](this[r(161)],r(154),t,t.toString())})}}window[Ge(175)]=qe});