@haybarn/haybarn-wasm 2.0.0-rc5 → 2.0.0-rc7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/duckdb-base.wasm +2 -2
- package/dist/duckdb-browser-base.worker.js +1 -1
- package/dist/duckdb-browser-blocking.cjs +2 -2
- package/dist/duckdb-browser-blocking.cjs.map +1 -1
- package/dist/duckdb-browser-blocking.mjs +2 -2
- package/dist/duckdb-browser-blocking.mjs.map +1 -1
- package/dist/duckdb-browser-threads.pthread.worker.js +2 -2
- package/dist/duckdb-browser-threads.pthread.worker.js.map +3 -3
- package/dist/duckdb-browser-threads.worker.js +2 -2
- package/dist/duckdb-browser-threads.worker.js.map +3 -3
- package/dist/duckdb-browser.cjs +1 -1
- package/dist/duckdb-browser.cjs.map +1 -1
- package/dist/duckdb-browser.mjs +1 -1
- package/dist/duckdb-browser.mjs.map +1 -1
- package/dist/duckdb-node-base.worker.cjs +1 -1
- package/dist/duckdb-node-base.worker.cjs.map +1 -1
- package/dist/duckdb-node-blocking.cjs +2 -2
- package/dist/duckdb-node-blocking.cjs.map +1 -1
- package/dist/duckdb-node.cjs +1 -1
- package/dist/duckdb-node.cjs.map +1 -1
- package/dist/duckdb-threads.wasm +2 -2
- package/dist/img/haybarn_version_badge.svg +1 -1
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ stackRestore(sp);
|
|
|
26
26
|
`,A.push(`${w}_dtor`))}return n&&(y+=`var ret = fromRetWire(rv);
|
|
27
27
|
return ret;
|
|
28
28
|
`),y+=`}
|
|
29
|
-
`,new Function(A,y)}class UnboundTypeError extends Error{}class PureVirtualError extends Error{}var EmValOptionalType=Object.assign({optional:!0},EmValType),throwUnboundTypeError=(e,t)=>{var n=[],o={};function c(u){if(!o[u]&&!registeredTypes[u]){if(typeDependencies[u]){typeDependencies[u].forEach(c);return}n.push(u),o[u]=!0}}throw t.forEach(c),new UnboundTypeError(`${e}: `+n.map(getTypeName).join([", "]))},ensureOverloadTable=(e,t,n)=>{if(e[t].overloadTable===void 0){var o=e[t];e[t]=function(...c){return e[t].overloadTable.hasOwnProperty(c.length)||throwBindingError(`Function '${n}' called with an invalid number of arguments (${c.length}) - expects one of (${e[t].overloadTable})!`),e[t].overloadTable[c.length].apply(this,c)},e[t].overloadTable=[],e[t].overloadTable[o.argCount]=o}},exposePublicSymbol=(e,t,n)=>{Module.hasOwnProperty(e)?((n===void 0||Module[e].overloadTable!==void 0&&Module[e].overloadTable[n]!==void 0)&&throwBindingError(`Cannot register public name '${e}' twice`),ensureOverloadTable(Module,e,e),Module[e].overloadTable.hasOwnProperty(n)&&throwBindingError(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),Module[e].overloadTable[n]=t):(Module[e]=t,Module[e].argCount=n)},replacePublicSymbol=(e,t,n)=>{Module.hasOwnProperty(e)||throwInternalError("Replacing nonexistent public symbol"),Module[e].overloadTable!==void 0&&n!==void 0?Module[e].overloadTable[n]=t:(Module[e]=t,Module[e].argCount=n)},embindRepr=e=>{if(e===null)return"null";var t=typeof e;return t==="object"||t==="array"||t==="function"?e.toString():""+e},getBasestPointer=(e,t)=>{for(t===void 0&&throwBindingError("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t},registerInheritedInstance=(e,t,n)=>{t=getBasestPointer(e,t),registeredInstances.hasOwnProperty(t)?throwBindingError(`Tried to register registered instance: ${t}`):registeredInstances[t]=n},unregisterInheritedInstance=(e,t)=>{t=getBasestPointer(e,t),registeredInstances.hasOwnProperty(t)?delete registeredInstances[t]:throwBindingError(`Tried to unregister unregistered instance: ${t}`)},getInheritedInstance=(e,t)=>(t=getBasestPointer(e,t),registeredInstances[t]),registeredPointers={},enumReadValueFromPointer=(e,t,n)=>{switch(t){case 1:return n?function(o){return this.fromWireType(HEAP8[o>>>0])}:function(o){return this.fromWireType(HEAPU8[o>>>0])};case 2:return n?function(o){return this.fromWireType(HEAP16[o>>>1>>>0])}:function(o){return this.fromWireType(HEAPU16[o>>>1>>>0])};case 4:return n?function(o){return this.fromWireType(HEAP32[o>>>2>>>0])}:function(o){return this.fromWireType(HEAPU32[o>>>2>>>0])};default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},installIndexedIterator=(e,t,n)=>{let o=(c,u)=>{let d=0;return{next(){if(d>=c)return{done:!0};let p=d;return d++,{value:u(p),done:!1}},[Symbol.iterator](){return this}}};e[Symbol.iterator]||(e[Symbol.iterator]=function(){let c=this[t]();return o(c,u=>this[n](u))})};function __embind_register_user_type(e,t){e>>>=0,t>>>=0,__embind_register_emval(e)}__embind_register_user_type.sig="vpp";function __embind_register_user_type_definition(e,t,n){e>>>=0,t>>>=0,n>>>=0,__embind_register_emval(e)}__embind_register_user_type_definition.sig="vppp";function __embind_register_optional(e,t){e>>>=0,t>>>=0,registerType(e,EmValOptionalType)}__embind_register_optional.sig="vpp";function craftInvokerFunction(e,t,n,o,c,u){var d=t.length;d<2&&throwBindingError("argTypes array size mismatch! Must at least get return value and receiver (this) types!");var p=t[1]!==null&&n!==null,h=usesDestructorStack(t),b=argsUseStackAlloc(t),v=b&&!u&&!h;b&&!v&&(h=!0);var y=!t[0].isVoid,S=d-2,A=t[0],E=t[1],L=[e,throwBindingError,o,c,runDestructors,A.fromWireType.bind(A),E==null?void 0:E.toWireType.bind(E)];v&&L.push(stackSave,stackRestore);for(var w=2;w<d;++w){var T=t[w];L.push(T.toWireType.bind(T))}if(!h)for(var w=p?1:2;w<t.length;++w)t[w].destructorFunction!==null&&L.push(t[w].destructorFunction);var P=createJsInvoker(t,p,y,u)(...L);return createNamedFunction(e,P)}var embind__requireFunction=(e,t,n=!1)=>{e=AsciiToString(e);function o(){if(e.includes("p"))return getDynCaller(e,t,n);var u=getWasmTableEntry(t);return u}var c=o();return typeof c!="function"&&throwBindingError(`unknown function pointer with signature ${e}: ${t}`),c};function __embind_register_function(e,t,n,o,c,u,d,p){e>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0;var h=heap32VectorToArray(t,n);e=AsciiToString(e),e=getFunctionName(e),c=embind__requireFunction(o,c,d),exposePublicSymbol(e,function(){throwUnboundTypeError(`Cannot call ${e} due to unbound types`,h)},t-1),whenDependentTypesAreResolved([],h,b=>{var v=[b[0],null].concat(b.slice(1));return replacePublicSymbol(e,craftInvokerFunction(e,v,null,c,u,d),t-1),[]})}__embind_register_function.sig="vpippppii";function __embind_register_value_array(e,t,n,o,c,u,d,p){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,tupleRegistrations[e]={name:AsciiToString(t),rawConstructor:embind__requireFunction(n,o),rawDestructor:embind__requireFunction(c,u),valueSize:d,isTrivial:!!p,elements:[]}}__embind_register_value_array.sig="vpppppppi";function __embind_register_value_array_element(e,t,n,o,c,u,d,p,h){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,tupleRegistrations[e].elements.push({getterReturnType:t,getter:embind__requireFunction(n,o),getterContext:c,setterArgumentType:u,setter:embind__requireFunction(d,p),setterContext:h})}__embind_register_value_array_element.sig="vppppppppp";var __embind_finalize_value_array=function(e){e>>>=0;var t=tupleRegistrations[e];delete tupleRegistrations[e];var n=t.elements,o=n.length,c=n.map(b=>b.getterReturnType).concat(n.map(b=>b.setterArgumentType)),u=t.rawConstructor,d=t.rawDestructor,p=t.valueSize,h=t.isTrivial;whenDependentTypesAreResolved([e],c,b=>{for(let[v,y]of n.entries()){let S=b[v],A=y.getter,E=y.getterContext,L=b[v+o],w=y.setter,T=y.setterContext;y.read=F=>S.fromWireType(A(E,F)),L.destructorFunction===null&&!L.argStackAlloc?y.write=(F,P)=>w(T,F,L.toWireType(null,P)):y.write=(F,P)=>{var I=[];w(T,F,L.toWireType(I,P)),runDestructors(I)}}return[{name:t.name,fromWireType:v=>{for(var y=new Array(o),S=0;S<o;++S)y[S]=n[S].read(v);return d(v),y},toWireType:(v,y)=>{if(o!==y.length)throw new TypeError(`Incorrect number of tuple elements for ${t.name}: expected=${o}, actual=${y.length}`);var S;h&&!v?(S=stackAlloc(p),zeroMemory(S,p)):(S=u(),v&&v.push(d,S));for(var A=0;A<o;++A)n[A].write(S,y[A]);return S},readValueFromPointer:readPointer,destructorFunction:h?null:d,argStackAlloc:h}]})};__embind_finalize_value_array.sig="vp";function __embind_register_value_object(e,t,n,o,c,u,d,p){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,structRegistrations[e]={name:AsciiToString(t),rawConstructor:embind__requireFunction(n,o),rawDestructor:embind__requireFunction(c,u),valueSize:d,isTrivial:!!p,fields:[]}}__embind_register_value_object.sig="vpppppppi";function __embind_register_value_object_field(e,t,n,o,c,u,d,p,h,b){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,b>>>=0,structRegistrations[e].fields.push({fieldName:AsciiToString(t),getterReturnType:n,getter:embind__requireFunction(o,c),getterContext:u,setterArgumentType:d,setter:embind__requireFunction(p,h),setterContext:b})}__embind_register_value_object_field.sig="vpppppppppp";var __embind_finalize_value_object=function(e){e>>>=0;var t=structRegistrations[e];delete structRegistrations[e];var n=t.rawConstructor,o=t.rawDestructor,c=t.valueSize,u=t.isTrivial,d=t.fields,p=d.map(h=>h.getterReturnType).concat(d.map(h=>h.setterArgumentType));whenDependentTypesAreResolved([e],p,h=>{var b={};for(var[v,y]of d.entries()){let A=h[v],E=y.getter,L=y.getterContext,w=h[v+d.length],T=y.setter,F=y.setterContext;var S;w.destructorFunction===null&&!w.argStackAlloc?S=(P,I)=>T(F,P,w.toWireType(null,I)):S=(P,I)=>{var B=[];T(F,P,w.toWireType(B,I)),runDestructors(B)},b[y.fieldName]={read:P=>A.fromWireType(E(L,P)),write:S,optional:A.optional}}return[{name:t.name,fromWireType:A=>{var E={};for(var L in b)E[L]=b[L].read(A);return o(A),E},toWireType:(A,E)=>{for(var L in b)if(!(L in E)&&!b[L].optional)throw new TypeError(`Missing field: "${L}"`);var w;u&&!A?(w=stackAlloc(c),zeroMemory(w,c)):(w=n(),A&&A.push(o,w));for(L in b)b[L].write(w,E[L]);return w},readValueFromPointer:readPointer,destructorFunction:u?null:o,argStackAlloc:u}]})};__embind_finalize_value_object.sig="vp";var upcastPointer=(e,t,n)=>{for(;t!==n;)t.upcast||throwBindingError(`Expected null or instance of ${n.name}, got an instance of ${t.name}`),e=t.upcast(e),t=t.baseClass;return e};function genericPointerToWireType(e,t){var n;if(t===null)return this.isReference&&throwBindingError(`null is not a valid ${this.name}`),this.isSmartPointer?(n=this.rawConstructor(),e!==null&&e.push(this.rawDestructor,n),n):0;(!t||!t.$$)&&throwBindingError(`Cannot pass "${embindRepr(t)}" as a ${this.name}`),t.$$.ptr||throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&t.$$.ptrType.isConst&&throwBindingError(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);var o=t.$$.ptrType.registeredClass;if(n=upcastPointer(t.$$.ptr,o,this.registeredClass),this.isSmartPointer)switch(t.$$.smartPtr===void 0&&throwBindingError("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?n=t.$$.smartPtr:throwBindingError(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:n=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)n=t.$$.smartPtr;else{var c=t.clone();n=this.rawShare(n,Emval.toHandle(()=>c.delete())),e!==null&&e.push(this.rawDestructor,n)}break;default:throwBindingError("Unsupported sharing policy")}return n}function constNoSmartPtrRawPointerToWireType(e,t){if(t===null)return this.isReference&&throwBindingError(`null is not a valid ${this.name}`),0;t.$$||throwBindingError(`Cannot pass "${embindRepr(t)}" as a ${this.name}`),t.$$.ptr||throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`);var n=t.$$.ptrType.registeredClass,o=upcastPointer(t.$$.ptr,n,this.registeredClass);return o}function nonConstNoSmartPtrRawPointerToWireType(e,t){if(t===null)return this.isReference&&throwBindingError(`null is not a valid ${this.name}`),0;t.$$||throwBindingError(`Cannot pass "${embindRepr(t)}" as a ${this.name}`),t.$$.ptr||throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`),t.$$.ptrType.isConst&&throwBindingError(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);var n=t.$$.ptrType.registeredClass,o=upcastPointer(t.$$.ptr,n,this.registeredClass);return o}function RegisteredPointer(e,t,n,o,c,u,d,p,h,b,v){this.name=e,this.registeredClass=t,this.isReference=n,this.isConst=o,this.isSmartPointer=c,this.pointeeType=u,this.sharingPolicy=d,this.rawGetPointee=p,this.rawConstructor=h,this.rawShare=b,this.rawDestructor=v,!c&&t.baseClass===void 0?o?(this.toWireType=constNoSmartPtrRawPointerToWireType,this.destructorFunction=null):(this.toWireType=nonConstNoSmartPtrRawPointerToWireType,this.destructorFunction=null):this.toWireType=genericPointerToWireType}var downcastPointer=(e,t,n)=>{if(t===n)return e;if(n.baseClass===void 0)return null;var o=downcastPointer(e,t,n.baseClass);return o===null?null:n.downcast(o)},finalizationRegistry=!1,detachFinalizer=e=>{},runDestructor=e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)},releaseClassHandle=e=>{e.count.value-=1;var t=e.count.value===0;t&&runDestructor(e)},attachFinalizer=e=>globalThis.FinalizationRegistry?(finalizationRegistry=new FinalizationRegistry(t=>{releaseClassHandle(t.$$)}),attachFinalizer=t=>{var n=t.$$,o=!!n.smartPtr;if(o){var c={$$:n};finalizationRegistry.register(t,c,t)}return t},detachFinalizer=t=>finalizationRegistry.unregister(t),attachFinalizer(e)):(attachFinalizer=t=>t,e),makeClassHandle=(e,t)=>{(!t.ptrType||!t.ptr)&&throwInternalError("makeClassHandle requires ptr and ptrType");var n=!!t.smartPtrType,o=!!t.smartPtr;return n!==o&&throwInternalError("Both smartPtrType and smartPtr must be specified"),t.count={value:1},attachFinalizer(Object.create(e,{$$:{value:t,writable:!0}}))};function RegisteredPointer_fromWireType(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var n=getInheritedInstance(this.registeredClass,t);if(n!==void 0){if(n.$$.count.value===0)return n.$$.ptr=t,n.$$.smartPtr=e,n.clone();var o=n.clone();return this.destructor(e),o}function c(){return this.isSmartPointer?makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var u=this.registeredClass.getActualType(t),d=registeredPointers[u];if(!d)return c.call(this);var p;this.isConst?p=d.constPointerType:p=d.pointerType;var h=downcastPointer(t,this.registeredClass,p.registeredClass);return h===null?c.call(this):this.isSmartPointer?makeClassHandle(p.registeredClass.instancePrototype,{ptrType:p,ptr:h,smartPtrType:this,smartPtr:e}):makeClassHandle(p.registeredClass.instancePrototype,{ptrType:p,ptr:h})}var init_RegisteredPointer=()=>{Object.assign(RegisteredPointer.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){var t;(t=this.rawDestructor)==null||t.call(this,e)},readValueFromPointer:readPointer,fromWireType:RegisteredPointer_fromWireType})};function ClassHandle(){}var shallowCopyInternalPointer=e=>({count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType}),throwInstanceAlreadyDeleted=e=>{function t(n){return n.$$.ptrType.registeredClass.name}throwBindingError(t(e)+" instance already deleted")},deletionQueue=[],flushPendingDeletes=()=>{for(;deletionQueue.length;){var e=deletionQueue.pop();e.$$.deleteScheduled=!1,e.delete()}},delayFunction,init_ClassHandle=()=>{let e=ClassHandle.prototype;Object.assign(e,{isAliasOf(n){if(!(this instanceof ClassHandle)||!(n instanceof ClassHandle))return!1;var o=this.$$.ptrType.registeredClass,c=this.$$.ptr;n.$$=n.$$;for(var u=n.$$.ptrType.registeredClass,d=n.$$.ptr;o.baseClass;)c=o.upcast(c),o=o.baseClass;for(;u.baseClass;)d=u.upcast(d),u=u.baseClass;return o===u&&c===d},clone(){if(this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var n=attachFinalizer(Object.create(Object.getPrototypeOf(this),{$$:{value:shallowCopyInternalPointer(this.$$)}}));return n.$$.count.value+=1,n.$$.deleteScheduled=!1,n},delete(){this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&throwBindingError("Object already scheduled for deletion"),detachFinalizer(this),releaseClassHandle(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&throwBindingError("Object already scheduled for deletion"),deletionQueue.push(this),deletionQueue.length===1&&delayFunction&&delayFunction(flushPendingDeletes),this.$$.deleteScheduled=!0,this}});let t=Symbol.dispose;t&&(e[t]=e.delete)},setDelayFunction=e=>{delayFunction=e,deletionQueue.length&&delayFunction&&delayFunction(flushPendingDeletes)};function RegisteredClass(e,t,n,o,c,u,d,p){this.name=e,this.constructor=t,this.instancePrototype=n,this.rawDestructor=o,this.baseClass=c,this.getActualType=u,this.upcast=d,this.downcast=p,this.pureVirtualFunctions=[]}var char_0=48,char_9=57,makeLegalFunctionName=e=>{e=e.replace(/[^a-zA-Z0-9_]/g,"$");var t=e.charCodeAt(0);return t>=char_0&&t<=char_9?`_${e}`:e};function __embind_register_class(e,t,n,o,c,u,d,p,h,b,v,y,S){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,b>>>=0,v>>>=0,y>>>=0,S>>>=0,v=AsciiToString(v),u=embind__requireFunction(c,u),p&&(p=embind__requireFunction(d,p)),b&&(b=embind__requireFunction(h,b)),S=embind__requireFunction(y,S);var A=makeLegalFunctionName(v);exposePublicSymbol(A,function(){throwUnboundTypeError(`Cannot construct ${v} due to unbound types`,[o])}),whenDependentTypesAreResolved([e,t,n],o?[o]:[],E=>{var x,M;E=E[0];var L,w;o?(L=E.registeredClass,w=L.instancePrototype):w=ClassHandle.prototype;var T=createNamedFunction(v,function(...H){if(Object.getPrototypeOf(this)!==F)throw new BindingError(`Use 'new' to construct ${v}`);if(P.constructor_body===void 0)throw new BindingError(`${v} has no accessible constructor`);var re=P.constructor_body[H.length];if(re===void 0)throw new BindingError(`Tried to invoke ctor of ${v} with invalid number of parameters (${H.length}) - expected (${Object.keys(P.constructor_body).toString()}) parameters instead!`);return re.apply(this,H)}),F=Object.create(w,{constructor:{value:T}});T.prototype=F;var P=new RegisteredClass(v,T,F,S,L,u,p,b);P.baseClass&&((M=(x=P.baseClass).__derivedClasses)!=null||(x.__derivedClasses=[]),P.baseClass.__derivedClasses.push(P));var I=new RegisteredPointer(v,P,!0,!1,!1),B=new RegisteredPointer(v+"*",P,!1,!1,!1),C=new RegisteredPointer(v+" const*",P,!1,!0,!1);return registeredPointers[e]={pointerType:B,constPointerType:C},replacePublicSymbol(A,T),[I,B,C]})}__embind_register_class.sig="vppppppppppppp";var __embind_register_iterable=function(e,t,n,o){e>>>=0,t>>>=0,n>>>=0,o>>>=0,n=AsciiToString(n),o=AsciiToString(o),whenDependentTypesAreResolved([],[e,t],c=>{let u=c[0];return installIndexedIterator(u.registeredClass.instancePrototype,n,o),[]})};__embind_register_iterable.sig="vpppp";var __embind_register_class_constructor=function(e,t,n,o,c,u){e>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0;var d=heap32VectorToArray(t,n);c=embind__requireFunction(o,c);var p=[u],h=[];whenDependentTypesAreResolved([],[e],b=>{b=b[0];var v=`constructor ${b.name}`;if(b.registeredClass.constructor_body===void 0&&(b.registeredClass.constructor_body=[]),b.registeredClass.constructor_body[t-1]!==void 0)throw new BindingError(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${b.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return b.registeredClass.constructor_body[t-1]=()=>{throwUnboundTypeError(`Cannot construct ${b.name} due to unbound types`,d)},whenDependentTypesAreResolved([],d,y=>(y.splice(1,0,null),b.registeredClass.constructor_body[t-1]=craftInvokerFunction(v,y,null,c,u),[])),[]})};__embind_register_class_constructor.sig="vpipppp";var validateThis=(e,t,n)=>(e instanceof Object||throwBindingError(`${n} with invalid "this": ${e}`),e instanceof t.registeredClass.constructor||throwBindingError(`${n} incompatible with "this" of type ${e.constructor.name}`),e.$$.ptr||throwBindingError(`cannot call emscripten binding method ${n} on deleted object`),upcastPointer(e.$$.ptr,e.$$.ptrType.registeredClass,t.registeredClass)),__embind_register_class_function=function(e,t,n,o,c,u,d,p,h,b){e>>>=0,t>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0;var v=heap32VectorToArray(n,o);t=AsciiToString(t),t=getFunctionName(t),u=embind__requireFunction(c,u,h),whenDependentTypesAreResolved([],[e],y=>{y=y[0];var S=`${y.name}.${t}`;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),p&&y.registeredClass.pureVirtualFunctions.push(t);function A(){throwUnboundTypeError(`Cannot call ${S} due to unbound types`,v)}var E=y.registeredClass.instancePrototype,L=E[t];return L===void 0||L.overloadTable===void 0&&L.className!==y.name&&L.argCount===n-2?(A.argCount=n-2,A.className=y.name,E[t]=A):(ensureOverloadTable(E,t,S),E[t].overloadTable[n-2]=A),whenDependentTypesAreResolved([],v,w=>{var T=craftInvokerFunction(S,w,y,u,d,h);return E[t].overloadTable===void 0?(T.argCount=n-2,E[t]=T):E[t].overloadTable[n-2]=T,[]}),[]})};__embind_register_class_function.sig="vppippppiii";var __embind_register_class_property=function(e,t,n,o,c,u,d,p,h,b){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,b>>>=0,t=AsciiToString(t),c=embind__requireFunction(o,c),whenDependentTypesAreResolved([],[e],v=>{v=v[0];var y=`${v.name}.${t}`,S={get(){throwUnboundTypeError(`Cannot access ${y} due to unbound types`,[n,d])},enumerable:!0,configurable:!0};return h?S.set=()=>throwUnboundTypeError(`Cannot access ${y} due to unbound types`,[n,d]):S.set=A=>throwBindingError(y+" is a read-only property"),Object.defineProperty(v.registeredClass.instancePrototype,t,S),whenDependentTypesAreResolved([],h?[n,d]:[n],A=>{var E=A[0],L={get(){var T=validateThis(this,v,y+" getter");return E.fromWireType(c(u,T))},enumerable:!0};if(h){h=embind__requireFunction(p,h);var w=A[1];L.set=function(T){var F=validateThis(this,v,y+" setter"),P=[];h(b,F,w.toWireType(P,T)),runDestructors(P)}}return Object.defineProperty(v.registeredClass.instancePrototype,t,L),[]}),[]})};__embind_register_class_property.sig="vpppppppppp";var __embind_register_class_class_function=function(e,t,n,o,c,u,d,p,h){e>>>=0,t>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0;var b=heap32VectorToArray(n,o);t=AsciiToString(t),t=getFunctionName(t),u=embind__requireFunction(c,u,p),whenDependentTypesAreResolved([],[e],v=>{v=v[0];var y=`${v.name}.${t}`;function S(){throwUnboundTypeError(`Cannot call ${y} due to unbound types`,b)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]);var A=v.registeredClass.constructor;return A[t]===void 0?(S.argCount=n-1,A[t]=S):(ensureOverloadTable(A,t,y),A[t].overloadTable[n-1]=S),whenDependentTypesAreResolved([],b,E=>{var L=[E[0],null].concat(E.slice(1)),w=craftInvokerFunction(y,L,null,u,d,p);if(A[t].overloadTable===void 0?(w.argCount=n-1,A[t]=w):A[t].overloadTable[n-1]=w,v.registeredClass.__derivedClasses)for(let T of v.registeredClass.__derivedClasses)T.constructor.hasOwnProperty(t)||(T.constructor[t]=w);return[]}),[]})};__embind_register_class_class_function.sig="vppippppii";var __embind_register_class_class_property=function(e,t,n,o,c,u,d,p){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,t=AsciiToString(t),u=embind__requireFunction(c,u),whenDependentTypesAreResolved([],[e],h=>{h=h[0];var b=`${h.name}.${t}`,v={get(){throwUnboundTypeError(`Cannot access ${b} due to unbound types`,[n])},enumerable:!0,configurable:!0};return p?v.set=()=>{throwUnboundTypeError(`Cannot access ${b} due to unbound types`,[n])}:v.set=y=>{throwBindingError(`${b} is a read-only property`)},Object.defineProperty(h.registeredClass.constructor,t,v),whenDependentTypesAreResolved([],[n],y=>{y=y[0];var S={get(){return y.fromWireType(u(o))},enumerable:!0};return p&&(p=embind__requireFunction(d,p),S.set=A=>{var E=[];p(o,y.toWireType(E,A)),runDestructors(E)}),Object.defineProperty(h.registeredClass.constructor,t,S),[]}),[]})};__embind_register_class_class_property.sig="vpppppppp";function __embind_create_inheriting_constructor(e,t,n){e>>>=0,t>>>=0,n>>>=0,e=AsciiToString(e),t=requireRegisteredType(t,"wrapper"),n=Emval.toValue(n);var o=t.registeredClass,c=o.instancePrototype,u=o.baseClass,d=u.instancePrototype,p=o.baseClass.constructor,h=createNamedFunction(e,function(...b){for(var v of o.baseClass.pureVirtualFunctions)if(this[v]===d[v])throw new PureVirtualError(`Pure virtual function ${v} must be implemented in JavaScript`);Object.defineProperty(this,"__parent",{value:c}),this.__construct(...b)});return c.__construct=function(...v){this===c&&throwBindingError('Pass correct "this" to __construct');var y=p.implement(this,...v);detachFinalizer(y);var S=y.$$;y.notifyOnDestruction(),S.preservePointerOnDelete=!0,Object.defineProperties(this,{$$:{value:S}}),attachFinalizer(this),registerInheritedInstance(o,S.ptr,this)},c.__destruct=function(){this===c&&throwBindingError('Pass correct "this" to __destruct'),detachFinalizer(this),unregisterInheritedInstance(o,this.$$.ptr)},h.prototype=Object.create(c),Object.assign(h.prototype,n),Emval.toHandle(h)}__embind_create_inheriting_constructor.sig="pppp";var __embind_register_smart_ptr=function(e,t,n,o,c,u,d,p,h,b,v,y){e>>>=0,t>>>=0,n>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,b>>>=0,v>>>=0,y>>>=0,n=AsciiToString(n),u=embind__requireFunction(c,u),p=embind__requireFunction(d,p),b=embind__requireFunction(h,b),y=embind__requireFunction(v,y),whenDependentTypesAreResolved([e],[t],S=>{S=S[0];var A=new RegisteredPointer(n,S.registeredClass,!1,!1,!0,S,o,u,p,b,y);return[A]})};__embind_register_smart_ptr.sig="vpppipppppppp";function __embind_register_enum(e,t,n,o,c){e>>>=0,t>>>=0,n>>>=0,t=AsciiToString(t);let u=getEnumValueType(c);switch(u){case"object":{let v=function(){};var b=v;v.values={},registerType(e,{name:t,constructor:v,valueType:u,fromWireType:function(y){return this.constructor.values[y]},toWireType:(y,S)=>S.value,readValueFromPointer:enumReadValueFromPointer(t,n,o),destructorFunction:null}),exposePublicSymbol(t,v);break}case"number":{var d={};registerType(e,{name:t,keysMap:d,valueType:u,fromWireType:v=>v,toWireType:(v,y)=>y,readValueFromPointer:enumReadValueFromPointer(t,n,o),destructorFunction:null}),exposePublicSymbol(t,d),delete Module[t].argCount;break}case"string":{var p={},h={},d={};registerType(e,{name:t,valuesMap:p,reverseMap:h,keysMap:d,valueType:u,fromWireType:function(y){return this.reverseMap[y]},toWireType:function(y,S){return this.valuesMap[S]},readValueFromPointer:enumReadValueFromPointer(t,n,o),destructorFunction:null}),exposePublicSymbol(t,d),delete Module[t].argCount;break}}}__embind_register_enum.sig="vpppii";function __embind_register_enum_value(e,t,n){e>>>=0,t>>>=0;var o=requireRegisteredType(e,"enum");switch(t=AsciiToString(t),o.valueType){case"object":{var c=o.constructor,u=Object.create(o.constructor.prototype,{value:{value:n},constructor:{value:createNamedFunction(`${o.name}_${t}`,function(){})}});c.values[n]=u,c[t]=u;break}case"number":{o.keysMap[t]=n;break}case"string":{o.valuesMap[t]=n,o.reverseMap[n]=t,o.keysMap[t]=t;break}}}__embind_register_enum_value.sig="vppi";var __embind_register_constant=function(e,t,n){e>>>=0,t>>>=0,e=AsciiToString(e),whenDependentTypesAreResolved([],[t],o=>(o=o[0],Module[e]=o.fromWireType(n),[]))};__embind_register_constant.sig="vppd";var count_emval_handles=()=>emval_handles.length/2-5-emval_freelist.length;function __emval_register_symbol(e){e>>>=0,emval_symbols[e]=AsciiToString(e)}__emval_register_symbol.sig="vp";function __emval_new_array(){return Emval.toHandle([])}__emval_new_array.sig="p";function __emval_new_array_from_memory_view(e){e>>>=0,e=Emval.toValue(e);for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=e[n];return Emval.toHandle(t)}__emval_new_array_from_memory_view.sig="pp";function __emval_array_to_memory_view(e,t){e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e.set(t)}__emval_array_to_memory_view.sig="vpp";function __emval_new_object(){return Emval.toHandle({})}__emval_new_object.sig="p";function __emval_new_cstring(e){return e>>>=0,Emval.toHandle(getStringOrSymbol(e))}__emval_new_cstring.sig="pp";function __emval_new_u8string(e){return e>>>=0,Emval.toHandle(UTF8ToString(e))}__emval_new_u8string.sig="pp";function __emval_new_u16string(e){return e>>>=0,Emval.toHandle(UTF16ToString(e))}__emval_new_u16string.sig="pp";function __emval_get_module_property(e){return e>>>=0,e=getStringOrSymbol(e),Emval.toHandle(Module[e])}__emval_get_module_property.sig="pp";function __emval_get_property(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),Emval.toHandle(e[t])}__emval_get_property.sig="ppp";function __emval_set_property(e,t,n){e>>>=0,t>>>=0,n>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),n=Emval.toValue(n),e[t]=n}__emval_set_property.sig="vppp";function __emval_equals(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e==t}__emval_equals.sig="ipp";function __emval_strictly_equals(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e===t}__emval_strictly_equals.sig="ipp";function __emval_greater_than(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e>t}__emval_greater_than.sig="ipp";function __emval_less_than(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e<t}__emval_less_than.sig="ipp";function __emval_not(e){return e>>>=0,e=Emval.toValue(e),!e}__emval_not.sig="ip";function __emval_invoke_i64(e,t,n,o,c){return e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,__emval_invoke(e,t,n,o,c)}__emval_invoke_i64.sig="jppppp";function __emval_typeof(e){return e>>>=0,e=Emval.toValue(e),Emval.toHandle(typeof e)}__emval_typeof.sig="pp";function __emval_instanceof(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e instanceof t}__emval_instanceof.sig="ipp";function __emval_is_number(e){return e>>>=0,e=Emval.toValue(e),typeof e=="number"}__emval_is_number.sig="ip";function __emval_is_string(e){return e>>>=0,e=Emval.toValue(e),typeof e=="string"}__emval_is_string.sig="ip";function __emval_in(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e in t}__emval_in.sig="ipp";function __emval_delete(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),delete e[t]}__emval_delete.sig="ipp";function __emval_throw(e){throw e>>>=0,e=Emval.toValue(e),isCppExceptionObject(e)&&(incrementUncaughtExceptionCount(),incrementExceptionRefcount(e)),e}__emval_throw.sig="ip";function __emval_iter_begin(e){return e>>>=0,e=Emval.toValue(e),Emval.toHandle(e[Symbol.iterator]())}__emval_iter_begin.sig="pp";function __emval_iter_next(e){e>>>=0,e=Emval.toValue(e);var t=e.next();return t.done?0:Emval.toHandle(t.value)}__emval_iter_next.sig="pp";var __emval_coro_suspend=function(e,t){e>>>=0,t>>>=0,Emval.toValue(e).then(n=>__emval_coro_resume(t,Emval.toHandle(n)),n=>__emval_coro_reject(t,Emval.toHandle(n)))};__emval_coro_suspend.sig="vpp";var __emval_coro_make_promise=function(e,t){return e>>>=0,t>>>=0,Emval.toHandle(new Promise((n,o)=>{HEAPU32[e>>>2>>>0]=Emval.toHandle(n),HEAPU32[t>>>2>>>0]=Emval.toHandle(o)}))};__emval_coro_make_promise.sig="ppp";function __emval_from_current_cxa_exception(){try{___cxa_rethrow()}catch(t){decrementUncaughtExceptionCount();var e=Emval.toHandle(t);return emval_exception_decrefs[e]=decrementExceptionRefcount,e}}__emval_from_current_cxa_exception.sig="p";function _duckdb_web_fs_file_sync(e){try{return globalThis.DUCKDB_RUNTIME.syncFile(Module,e)}catch(t){if(typeof WebAssembly<"u"&&t instanceof WebAssembly.Exception)throw t;Module.ccall("duckdb_web_fail_with",null,["string"],[String(t&&t.message||t)])}}_duckdb_web_fs_file_sync.sig="vi";function _duckdb_web_fs_file_get_last_modified_time(e){try{return globalThis.DUCKDB_RUNTIME.getLastFileModificationTime(Module,e)}catch(t){if(typeof WebAssembly<"u"&&t instanceof WebAssembly.Exception)throw t;Module.ccall("duckdb_web_fail_with",null,["string"],[String(t&&t.message||t)])}}_duckdb_web_fs_file_get_last_modified_time.sig="di";function _vgi_wasm_set_channel(e){vgiSab.base=e>>>0}_vgi_wasm_set_channel.sig="vi";function _vgi_wasm_slot_open(e,t){e>>>=0,t=t>>>0;var n=vgiSab.i32(),o=vgiSab.hdr(t),c=(t>>>2)+vgiSab.HDR_CLAIM_SEQ,u=Atomics.add(n,c,1)+1|0;u===0&&(u=1);for(var d=0;d<o.nSlots;d++){var p=vgiSab.slotByte(t,o,d)>>>2;if(Atomics.compareExchange(n,p+vgiSab.RESERVATION,0,u)===0){if(Atomics.load(n,p+vgiSab.STATE)!==0){Atomics.store(n,p+vgiSab.RESERVATION,0),Atomics.notify(n,p+vgiSab.RESERVATION);continue}return Atomics.store(n,p+vgiSab.C2W_W,0),Atomics.store(n,p+vgiSab.C2W_R,0),Atomics.store(n,p+vgiSab.C2W_CL,0),Atomics.store(n,p+vgiSab.W2C_W,0),Atomics.store(n,p+vgiSab.W2C_R,0),Atomics.store(n,p+vgiSab.W2C_CL,0),Atomics.store(n,p+vgiSab.TERMINAL_CLAIM,0),Atomics.store(n,p+vgiSab.TERMINAL_CODE,0),Atomics.store(n,p+vgiSab.TERMINAL_DETAIL,0),Atomics.store(n,p+vgiSab.STATE,u),Atomics.store(n,p+vgiSab.RESERVATION,0),Atomics.notify(n,p+vgiSab.RESERVATION),Atomics.notify(n,p+vgiSab.STATE),d}}return-1}_vgi_wasm_slot_open.sig="ipi";function _vgi_wasm_slot_write(e,t,n,o){n>>>=0,e=e>>>0;var c=vgiSab.hdr(e),u=vgiSab.slotByte(e,c,t);return vgiSab.ringWrite(u>>>2,vgiSab.C2W_W,vgiSab.C2W_R,u+vgiSab.CTRL_BYTES,c.ringCap,n>>>0,o)}_vgi_wasm_slot_write.sig="iiipi";function _vgi_wasm_slot_write_eos(e,t){e=e>>>0;var n=vgiSab.i32(),o=vgiSab.hdr(e),c=vgiSab.slotByte(e,o,t)>>>2;Atomics.store(n,c+vgiSab.C2W_CL,1),Atomics.notify(n,c+vgiSab.C2W_W)}_vgi_wasm_slot_write_eos.sig="vii";function _vgi_wasm_slot_read(e,t,n,o){n>>>=0,e=e>>>0;var c=vgiSab.i32(),u=vgiSab.hdr(e),d=vgiSab.slotByte(e,u,t),p=vgiSab.ringRead(d>>>2,vgiSab.W2C_W,vgiSab.W2C_R,vgiSab.W2C_CL,d+vgiSab.CTRL_BYTES+u.ringCap,u.ringCap,n>>>0,o);return p===0&&Atomics.load(c,(e>>>2)+vgiSab.HDR_FEATURES)&vgiSab.FEATURE_TERMINAL_ERROR&&Atomics.load(c,(d>>>2)+vgiSab.STATE)!==0&&Atomics.load(c,(d>>>2)+vgiSab.TERMINAL_CLAIM)===Atomics.load(c,(d>>>2)+vgiSab.STATE)?-3:p}_vgi_wasm_slot_read.sig="iiipi";function _vgi_wasm_slot_terminal_error(e,t,n,o){n>>>=0,o>>>=0,e=e>>>0,n=n>>>0,o=o>>>0;var c=vgiSab.i32(),u=vgiSab.hdr(e),d=vgiSab.slotByte(e,u,t)>>>2;if(!(Atomics.load(c,(e>>>2)+vgiSab.HDR_FEATURES)&vgiSab.FEATURE_TERMINAL_ERROR))return 0;var p=Atomics.load(c,d+vgiSab.STATE);if(p===0||Atomics.load(c,d+vgiSab.TERMINAL_CLAIM)!==p)return 0;var h=Atomics.load(c,d+vgiSab.TERMINAL_CODE),b=Atomics.load(c,d+vgiSab.TERMINAL_DETAIL);return Atomics.load(c,d+vgiSab.STATE)!==p||Atomics.load(c,d+vgiSab.TERMINAL_CLAIM)!==p?0:(n&&Atomics.store(c,n>>>2,h),o&&Atomics.store(c,o>>>2,b),1)}_vgi_wasm_slot_terminal_error.sig="iiipp";function _vgi_wasm_slot_release(e,t){e=e>>>0;var n=vgiSab.i32(),o=vgiSab.hdr(e),c=vgiSab.slotByte(e,o,t)>>>2;Atomics.store(n,c+vgiSab.STATE,0),Atomics.notify(n,c+vgiSab.STATE)}_vgi_wasm_slot_release.sig="vii",registerWasmPlugin(),FS.createPreloadedFile=FS_createPreloadedFile,FS.preloadFile=FS_preloadFile,FS.staticInit(),Module.requestAnimationFrame=MainLoop.requestAnimationFrame,Module.pauseMainLoop=MainLoop.pause,Module.resumeMainLoop=MainLoop.resume,MainLoop.init();for(let e=0;e<32;++e)tempFixedLengthArray.push(new Array(e));for(var miniTempWebGLFloatBuffersStorage=new Float32Array(288),i=0;i<=288;++i)miniTempWebGLFloatBuffers[i]=miniTempWebGLFloatBuffersStorage.subarray(0,i);for(var miniTempWebGLIntBuffersStorage=new Int32Array(288),i=0;i<=288;++i)miniTempWebGLIntBuffers[i]=miniTempWebGLIntBuffersStorage.subarray(0,i);if(safeSetTimeout.pending=new Map,safeSetTimeout.nextId=1,setImmediateWrapped.pending=new Map,setImmediateWrapped.nextId=1,globalThis.setImmediate)emSetImmediate=setImmediateWrapped,emClearImmediate=clearImmediateWrapped;else if(globalThis.addEventListener){var __setImmediate_id_counter=0,__setImmediate_queue=[],__setImmediate_message_id="_si",__setImmediate_cb=e=>{var t;e.data===__setImmediate_message_id&&(e.stopPropagation(),(t=__setImmediate_queue.shift())==null||t(),++__setImmediate_id_counter)};addEventListener("message",__setImmediate_cb,!0),emSetImmediate=e=>(postMessage(__setImmediate_message_id,"*"),__setImmediate_id_counter+__setImmediate_queue.push(e)-1),emClearImmediate=e=>{var t=e-__setImmediate_id_counter;return t<0||!__setImmediate_queue[t]?!1:(__setImmediate_queue[t]=null,!0)}}registerPostMainLoop(()=>{var e,t;return(t=(e=SDL.audio)==null?void 0:e.queueNewAudioData)==null?void 0:t.call(e)}),init_RegisteredPointer(),init_ClassHandle();{Module.noExitRuntime&&(noExitRuntime=Module.noExitRuntime),Module.print&&(out=Module.print),Module.printErr&&(err=Module.printErr),Module.dynamicLibraries&&(dynamicLibraries=Module.dynamicLibraries),Module.arguments&&(programArgs=Module.arguments),Module.thisProgram&&(thisProgram=Module.thisProgram);var preInit=Module.preInit;if(preInit)for(typeof preInit=="function"&&(Module.preInit=preInit=[preInit]);preInit.length>0;)preInit.shift()()}Module.stackSave=stackSave,Module.stackRestore=stackRestore,Module.stackAlloc=stackAlloc,Module.ccall=ccall,Module.stringToUTF8=stringToUTF8,Module.lengthBytesUTF8=lengthBytesUTF8,Module.stackAlloc=stackAlloc,Module.lengthBytesUTF8=lengthBytesUTF8,Module.stringToUTF8=stringToUTF8,Module._setTempRet0=_setTempRet0,Module._getTempRet0=_getTempRet0,Module._sched_yield=_sched_yield,Module._emscripten_wget=_emscripten_wget;var ASM_CONSTS={2421711:e=>{globalThis.__haybarnPendingModule=null;try{FS.unlink(UTF8ToString(e))}catch{}},2421807:(e,t,n,o,c,u,d)=>{var p=UTF8ToString(e),h=UTF8ToString(t),b;globalThis.__haybarnPendingModule=null;var v=globalThis.__haybarnTakePrefetchedExtension,y=typeof v=="function"?v(p):null,S=()=>(typeof growMemViews=="function"&&growMemViews(),HEAPU8);try{if(y)b=y.bytes,y.hash&&y.hash.length==32&&(S().set(y.hash,o>>>0),S()[c>>>0]=1),y.module&&(globalThis.__haybarnPendingModule={name:h,module:y.module,bytes:y.bytes},S()[u>>>0]=1);else if(typeof XMLHttpRequest>"u")if(p.startsWith("http://")||p.startsWith("https://")){var A="fetch(process.argv[1]).then(r=>{if(!r.ok)process.exit(2);return r.arrayBuffer()}).then(b=>process.stdout.write(Buffer.from(b)),()=>process.exit(3))";b=Un("node:child_process").execFileSync(process.execPath,["-e",A,p],{maxBuffer:1073741824,stdio:["ignore","pipe","ignore"]})}else b=Un("node:fs").readFileSync(p);else if(typeof document>"u"){var E=new XMLHttpRequest;if(E.open("GET",p,!1),E.responseType="arraybuffer",E.send(null),E.status!=200)return-1;b=new Uint8Array(E.response)}else{var E=new XMLHttpRequest;if(E.open("GET",p,!1),E.overrideMimeType("text/plain; charset=x-user-defined"),E.send(null),E.status!=200)return-1;var L=E.responseText;b=new Uint8Array(L.length);for(var w=0;w<L.length;w++)b[w]=L.charCodeAt(w)&255}FS.writeFile(h,b,{canOwn:!0})}catch{return globalThis.__haybarnPendingModule=null,-1}var T=d;return b.byteLength>=T&&S().set(b.subarray(b.byteLength-T),n>>>0),b.byteLength},2423712:(e,t)=>{var n=UTF8ToString(e),o=globalThis.__haybarnPendingModule||null;if(globalThis.__haybarnPendingModule=null,t)try{if(!o){var c=FS.lookupPath(n).node,u=c.contents.subarray(0,c.usedBytes);o={name:n,module:new WebAssembly.Module(u),bytes:u}}FS.unlink(n)}catch{o=null}globalThis.__haybarnArmedModule=o},2424135:e=>{globalThis.__haybarnArmedModule=null;try{FS.unlink(UTF8ToString(e))}catch{}},2424229:e=>{if(!e)return AL.alcErr=40964,1},2424277:e=>{if(!AL.currentCtx)return err("alGetProcAddress() called without a valid context"),1;if(!e)return AL.currentCtx.err=40963,1}};function haybarn_block_for(e){if(typeof SharedArrayBuffer>"u")return 0;try{return Atomics.wait(new Int32Array(new SharedArrayBuffer(4)),0,0,e),1}catch{return 0}}haybarn_block_for.sig="id";function duckdb_web_http_xhr(e,t,n,o,c,u){if(typeof XMLHttpRequest>"u")return 0;var d=UTF8ToString(t>>>0),p=new XMLHttpRequest;p.open(d,UTF8ToString(e>>>0),!1),p.responseType="arraybuffer";for(var h=o>>>0>>>2,b=0;b<n*2;b+=2){var v=UTF8ToString(HEAP32[h+b>>>0]>>>0);if(v!=="User-Agent"){v==="Host"&&(v="X-Host-Override");try{p.setRequestHeader(v,UTF8ToString(HEAP32[h+b+1>>>0]>>>0))}catch(F){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",F)}}}try{var y=null;if(c){var S=c>>>0;y=HEAPU8.slice(S,S+u)}p.send(y)}catch{return 0}var A=p.status;if(A===0)return 0;var E=p.response?new Uint8Array(p.response):new Uint8Array(0),L=new TextEncoder().encode(p.getAllResponseHeaders()||""),w=_malloc(6+L.length+4+E.length)>>>0;if(w===0)return 0;var T=w;return HEAPU8[T>>>0]=A&255,HEAPU8[T+1>>>0]=A>>8&255,T+=2,HEAPU8[T>>>0]=L.length&255,HEAPU8[T+1>>>0]=L.length>>8&255,HEAPU8[T+2>>>0]=L.length>>16&255,HEAPU8[T+3>>>0]=L.length>>>24&255,T+=4,HEAPU8.set(L,T>>>0),T+=L.length,HEAPU8[T>>>0]=E.length&255,HEAPU8[T+1>>>0]=E.length>>8&255,HEAPU8[T+2>>>0]=E.length>>16&255,HEAPU8[T+3>>>0]=E.length>>>24&255,T+=4,HEAPU8.set(E,T>>>0),w}duckdb_web_http_xhr.sig="iiiiiii";var ___getTypeName,__emval_coro_resume,__emval_coro_reject,_main,_duckdb_wasm_open_auth_url,_duckdb_wasm_get_auth_error,_duckdb_wasm_get_page_origin,_vgi_wasm_ensure_worker,_duckdb_wasm_sha256,_duckdb_web_fs_glob_add_path,_duckdb_web_fs_directory_add_entry,_duckdb_web_clear_response,_duckdb_web_fail_with,_duckdb_web_reset,_duckdb_web_connect,_duckdb_web_disconnect,_duckdb_web_flush_files,_duckdb_web_flush_file,_duckdb_web_open,_duckdb_web_get_global_file_info,_duckdb_web_collect_file_stats,_duckdb_web_export_file_stats,_duckdb_web_fs_drop_file,_duckdb_web_fs_drop_files,_duckdb_web_fs_glob_file_infos,_duckdb_web_fs_get_file_info_by_id,_duckdb_web_fs_get_file_info_by_name,_duckdb_web_fs_register_file_url,_duckdb_web_fs_register_file_buffer,_duckdb_web_copy_file_to_buffer,_duckdb_web_copy_file_to_path,_duckdb_web_queries_in_flight,_duckdb_web_get_version,_duckdb_web_get_feature_flags,_duckdb_web_extension_url,_duckdb_web_tokenize,_duckdb_web_tokenize_buffer,_duckdb_web_udf_scalar_create,_duckdb_web_prepared_create,_duckdb_web_prepared_create_buffer,_duckdb_web_prepared_close,_duckdb_web_prepared_run,_duckdb_web_prepared_send,_duckdb_web_query_run,_duckdb_web_query_run_buffer,_duckdb_web_pending_query_start,_duckdb_web_pending_query_start_buffer,_duckdb_web_pending_query_poll,_duckdb_web_pending_query_cancel,_duckdb_web_connection_interrupt_flag,_duckdb_web_connection_interrupt,_duckdb_web_connection_progress_slot,_duckdb_web_get_query_progress,_duckdb_web_query_fetch_results,_duckdb_web_get_tablenames,_duckdb_web_get_tablenames_buffer,_duckdb_web_insert_arrow_from_ipc_stream,_duckdb_web_insert_csv_from_path,_duckdb_web_insert_json_from_path,_duckdb_web_http_fetch_runtime,_duckdb_web_http_fetch_mailbox,_duckdb_web_http_fetch_ready,_malloc,_free,_realloc,_memcmp,___cxa_rethrow,_calloc,_strerror,___dl_seterr,__emscripten_find_dylib,_memcpy,_fileno,_htonl,_htons,_emscripten_builtin_memalign,_ntohs,__emscripten_timeout,_emscripten_get_sbrk_ptr,___trap,__emscripten_tempret_set,__emscripten_tempret_get,__emscripten_stack_restore,__emscripten_stack_alloc,_emscripten_stack_get_current,___cxa_decrement_exception_refcount,___cxa_increment_exception_refcount,___cxa_demangle,___thrown_object_from_unwind_exception,___get_exception_message,___increment_uncaught_exception,___decrement_uncaught_exception,___wasm_apply_data_relocs,memory,___stack_pointer,__indirect_function_table,___cpp_exception,___heap_base,wasmTable,wasmMemory,incrementUncaughtExceptionCount,decrementUncaughtExceptionCount;function assignWasmExports(e){___getTypeName=e.__getTypeName,__emval_coro_resume=e._emval_coro_resume,__emval_coro_reject=e._emval_coro_reject,_main=Module._main=e.main,_duckdb_wasm_open_auth_url=Module._duckdb_wasm_open_auth_url=e.duckdb_wasm_open_auth_url,_duckdb_wasm_get_auth_error=Module._duckdb_wasm_get_auth_error=e.duckdb_wasm_get_auth_error,_duckdb_wasm_get_page_origin=Module._duckdb_wasm_get_page_origin=e.duckdb_wasm_get_page_origin,_vgi_wasm_ensure_worker=Module._vgi_wasm_ensure_worker=e.vgi_wasm_ensure_worker,_duckdb_wasm_sha256=Module._duckdb_wasm_sha256=e.duckdb_wasm_sha256,_duckdb_web_fs_glob_add_path=Module._duckdb_web_fs_glob_add_path=e.duckdb_web_fs_glob_add_path,_duckdb_web_fs_directory_add_entry=Module._duckdb_web_fs_directory_add_entry=e.duckdb_web_fs_directory_add_entry,_duckdb_web_clear_response=Module._duckdb_web_clear_response=e.duckdb_web_clear_response,_duckdb_web_fail_with=Module._duckdb_web_fail_with=e.duckdb_web_fail_with,_duckdb_web_reset=Module._duckdb_web_reset=e.duckdb_web_reset,_duckdb_web_connect=Module._duckdb_web_connect=e.duckdb_web_connect,_duckdb_web_disconnect=Module._duckdb_web_disconnect=e.duckdb_web_disconnect,_duckdb_web_flush_files=Module._duckdb_web_flush_files=e.duckdb_web_flush_files,_duckdb_web_flush_file=Module._duckdb_web_flush_file=e.duckdb_web_flush_file,_duckdb_web_open=Module._duckdb_web_open=e.duckdb_web_open,_duckdb_web_get_global_file_info=Module._duckdb_web_get_global_file_info=e.duckdb_web_get_global_file_info,_duckdb_web_collect_file_stats=Module._duckdb_web_collect_file_stats=e.duckdb_web_collect_file_stats,_duckdb_web_export_file_stats=Module._duckdb_web_export_file_stats=e.duckdb_web_export_file_stats,_duckdb_web_fs_drop_file=Module._duckdb_web_fs_drop_file=e.duckdb_web_fs_drop_file,_duckdb_web_fs_drop_files=Module._duckdb_web_fs_drop_files=e.duckdb_web_fs_drop_files,_duckdb_web_fs_glob_file_infos=Module._duckdb_web_fs_glob_file_infos=e.duckdb_web_fs_glob_file_infos,_duckdb_web_fs_get_file_info_by_id=Module._duckdb_web_fs_get_file_info_by_id=e.duckdb_web_fs_get_file_info_by_id,_duckdb_web_fs_get_file_info_by_name=Module._duckdb_web_fs_get_file_info_by_name=e.duckdb_web_fs_get_file_info_by_name,_duckdb_web_fs_register_file_url=Module._duckdb_web_fs_register_file_url=e.duckdb_web_fs_register_file_url,_duckdb_web_fs_register_file_buffer=Module._duckdb_web_fs_register_file_buffer=e.duckdb_web_fs_register_file_buffer,_duckdb_web_copy_file_to_buffer=Module._duckdb_web_copy_file_to_buffer=e.duckdb_web_copy_file_to_buffer,_duckdb_web_copy_file_to_path=Module._duckdb_web_copy_file_to_path=e.duckdb_web_copy_file_to_path,_duckdb_web_queries_in_flight=Module._duckdb_web_queries_in_flight=e.duckdb_web_queries_in_flight,_duckdb_web_get_version=Module._duckdb_web_get_version=e.duckdb_web_get_version,_duckdb_web_get_feature_flags=Module._duckdb_web_get_feature_flags=e.duckdb_web_get_feature_flags,_duckdb_web_extension_url=Module._duckdb_web_extension_url=e.duckdb_web_extension_url,_duckdb_web_tokenize=Module._duckdb_web_tokenize=e.duckdb_web_tokenize,_duckdb_web_tokenize_buffer=Module._duckdb_web_tokenize_buffer=e.duckdb_web_tokenize_buffer,_duckdb_web_udf_scalar_create=Module._duckdb_web_udf_scalar_create=e.duckdb_web_udf_scalar_create,_duckdb_web_prepared_create=Module._duckdb_web_prepared_create=e.duckdb_web_prepared_create,_duckdb_web_prepared_create_buffer=Module._duckdb_web_prepared_create_buffer=e.duckdb_web_prepared_create_buffer,_duckdb_web_prepared_close=Module._duckdb_web_prepared_close=e.duckdb_web_prepared_close,_duckdb_web_prepared_run=Module._duckdb_web_prepared_run=e.duckdb_web_prepared_run,_duckdb_web_prepared_send=Module._duckdb_web_prepared_send=e.duckdb_web_prepared_send,_duckdb_web_query_run=Module._duckdb_web_query_run=e.duckdb_web_query_run,_duckdb_web_query_run_buffer=Module._duckdb_web_query_run_buffer=e.duckdb_web_query_run_buffer,_duckdb_web_pending_query_start=Module._duckdb_web_pending_query_start=e.duckdb_web_pending_query_start,_duckdb_web_pending_query_start_buffer=Module._duckdb_web_pending_query_start_buffer=e.duckdb_web_pending_query_start_buffer,_duckdb_web_pending_query_poll=Module._duckdb_web_pending_query_poll=e.duckdb_web_pending_query_poll,_duckdb_web_pending_query_cancel=Module._duckdb_web_pending_query_cancel=e.duckdb_web_pending_query_cancel,_duckdb_web_connection_interrupt_flag=Module._duckdb_web_connection_interrupt_flag=e.duckdb_web_connection_interrupt_flag,_duckdb_web_connection_interrupt=Module._duckdb_web_connection_interrupt=e.duckdb_web_connection_interrupt,_duckdb_web_connection_progress_slot=Module._duckdb_web_connection_progress_slot=e.duckdb_web_connection_progress_slot,_duckdb_web_get_query_progress=Module._duckdb_web_get_query_progress=e.duckdb_web_get_query_progress,_duckdb_web_query_fetch_results=Module._duckdb_web_query_fetch_results=e.duckdb_web_query_fetch_results,_duckdb_web_get_tablenames=Module._duckdb_web_get_tablenames=e.duckdb_web_get_tablenames,_duckdb_web_get_tablenames_buffer=Module._duckdb_web_get_tablenames_buffer=e.duckdb_web_get_tablenames_buffer,_duckdb_web_insert_arrow_from_ipc_stream=Module._duckdb_web_insert_arrow_from_ipc_stream=e.duckdb_web_insert_arrow_from_ipc_stream,_duckdb_web_insert_csv_from_path=Module._duckdb_web_insert_csv_from_path=e.duckdb_web_insert_csv_from_path,_duckdb_web_insert_json_from_path=Module._duckdb_web_insert_json_from_path=e.duckdb_web_insert_json_from_path,_duckdb_web_http_fetch_runtime=Module._duckdb_web_http_fetch_runtime=e.duckdb_web_http_fetch_runtime,_duckdb_web_http_fetch_mailbox=Module._duckdb_web_http_fetch_mailbox=e.duckdb_web_http_fetch_mailbox,_duckdb_web_http_fetch_ready=Module._duckdb_web_http_fetch_ready=e.duckdb_web_http_fetch_ready,_malloc=Module._malloc=e.malloc,_free=Module._free=e.free,_realloc=e.realloc,_memcmp=e.memcmp,___cxa_rethrow=e.__cxa_rethrow,_calloc=Module._calloc=e.calloc,_strerror=e.strerror,___dl_seterr=e.__dl_seterr,__emscripten_find_dylib=e._emscripten_find_dylib,_memcpy=e.memcpy,_fileno=e.fileno,_htonl=e.htonl,_htons=e.htons,_emscripten_builtin_memalign=e.emscripten_builtin_memalign,_ntohs=e.ntohs,__emscripten_timeout=e._emscripten_timeout,_emscripten_get_sbrk_ptr=e.emscripten_get_sbrk_ptr,___trap=e.__trap,__emscripten_tempret_set=e._emscripten_tempret_set,__emscripten_tempret_get=e._emscripten_tempret_get,__emscripten_stack_restore=e._emscripten_stack_restore,__emscripten_stack_alloc=e._emscripten_stack_alloc,_emscripten_stack_get_current=e.emscripten_stack_get_current,___cxa_decrement_exception_refcount=e.__cxa_decrement_exception_refcount,___cxa_increment_exception_refcount=e.__cxa_increment_exception_refcount,___cxa_demangle=e.__cxa_demangle,___thrown_object_from_unwind_exception=e.__thrown_object_from_unwind_exception,___get_exception_message=e.__get_exception_message,___increment_uncaught_exception=incrementUncaughtExceptionCount=e.__increment_uncaught_exception,___decrement_uncaught_exception=decrementUncaughtExceptionCount=e.__decrement_uncaught_exception,___wasm_apply_data_relocs=Module.___wasm_apply_data_relocs=e.__wasm_apply_data_relocs,memory=wasmMemory=Module.wasmMemory=e.memory,___stack_pointer=e.__stack_pointer,__indirect_function_table=wasmTable=e.__indirect_function_table,___cpp_exception=e.__cpp_exception,___heap_base=e.__heap_base.value>>>0}var wasmImports={IMG_Init:_IMG_Init,IMG_Load:_IMG_Load,IMG_Load_RW:_IMG_Load_RW,IMG_Quit:_IMG_Quit,Mix_AllocateChannels:_Mix_AllocateChannels,Mix_ChannelFinished:_Mix_ChannelFinished,Mix_CloseAudio:_Mix_CloseAudio,Mix_FadeInChannelTimed:_Mix_FadeInChannelTimed,Mix_FadeInMusicPos:_Mix_FadeInMusicPos,Mix_FadeOutChannel:_Mix_FadeOutChannel,Mix_FadeOutMusic:_Mix_FadeOutMusic,Mix_FadingChannel:_Mix_FadingChannel,Mix_FreeChunk:_Mix_FreeChunk,Mix_FreeMusic:_Mix_FreeMusic,Mix_HaltChannel:_Mix_HaltChannel,Mix_HaltMusic:_Mix_HaltMusic,Mix_HookMusicFinished:_Mix_HookMusicFinished,Mix_Init:_Mix_Init,Mix_Linked_Version:_Mix_Linked_Version,Mix_LoadMUS:_Mix_LoadMUS,Mix_LoadMUS_RW:_Mix_LoadMUS_RW,Mix_LoadWAV:_Mix_LoadWAV,Mix_LoadWAV_RW:_Mix_LoadWAV_RW,Mix_OpenAudio:_Mix_OpenAudio,Mix_Pause:_Mix_Pause,Mix_PauseMusic:_Mix_PauseMusic,Mix_Paused:_Mix_Paused,Mix_PausedMusic:_Mix_PausedMusic,Mix_PlayChannelTimed:_Mix_PlayChannelTimed,Mix_PlayMusic:_Mix_PlayMusic,Mix_Playing:_Mix_Playing,Mix_PlayingMusic:_Mix_PlayingMusic,Mix_QuerySpec:_Mix_QuerySpec,Mix_QuickLoad_RAW:_Mix_QuickLoad_RAW,Mix_Quit:_Mix_Quit,Mix_ReserveChannels:_Mix_ReserveChannels,Mix_Resume:_Mix_Resume,Mix_ResumeMusic:_Mix_ResumeMusic,Mix_SetPanning:_Mix_SetPanning,Mix_SetPosition:_Mix_SetPosition,Mix_SetPostMix:_Mix_SetPostMix,Mix_Volume:_Mix_Volume,Mix_VolumeChunk:_Mix_VolumeChunk,Mix_VolumeMusic:_Mix_VolumeMusic,SDL_AddTimer:_SDL_AddTimer,SDL_AllocRW:_SDL_AllocRW,SDL_AudioDriverName:_SDL_AudioDriverName,SDL_AudioQuit:_SDL_AudioQuit,SDL_ClearError:_SDL_ClearError,SDL_CloseAudio:_SDL_CloseAudio,SDL_CondBroadcast:_SDL_CondBroadcast,SDL_CondSignal:_SDL_CondSignal,SDL_CondWait:_SDL_CondWait,SDL_CondWaitTimeout:_SDL_CondWaitTimeout,SDL_ConvertSurface:_SDL_ConvertSurface,SDL_CreateCond:_SDL_CreateCond,SDL_CreateMutex:_SDL_CreateMutex,SDL_CreateRGBSurface:_SDL_CreateRGBSurface,SDL_CreateRGBSurfaceFrom:_SDL_CreateRGBSurfaceFrom,SDL_CreateThread:_SDL_CreateThread,SDL_Delay:_SDL_Delay,SDL_DestroyCond:_SDL_DestroyCond,SDL_DestroyMutex:_SDL_DestroyMutex,SDL_DestroyRenderer:_SDL_DestroyRenderer,SDL_DestroyWindow:_SDL_DestroyWindow,SDL_DisplayFormat:_SDL_DisplayFormat,SDL_DisplayFormatAlpha:_SDL_DisplayFormatAlpha,SDL_EnableKeyRepeat:_SDL_EnableKeyRepeat,SDL_EnableUNICODE:_SDL_EnableUNICODE,SDL_FillRect:_SDL_FillRect,SDL_Flip:_SDL_Flip,SDL_FreeRW:_SDL_FreeRW,SDL_FreeSurface:_SDL_FreeSurface,SDL_GL_DeleteContext:_SDL_GL_DeleteContext,SDL_GL_ExtensionSupported:_SDL_GL_ExtensionSupported,SDL_GL_GetAttribute:_SDL_GL_GetAttribute,SDL_GL_GetSwapInterval:_SDL_GL_GetSwapInterval,SDL_GL_MakeCurrent:_SDL_GL_MakeCurrent,SDL_GL_SetAttribute:_SDL_GL_SetAttribute,SDL_GL_SetSwapInterval:_SDL_GL_SetSwapInterval,SDL_GL_SwapBuffers:_SDL_GL_SwapBuffers,SDL_GL_SwapWindow:_SDL_GL_SwapWindow,SDL_GetAppState:_SDL_GetAppState,SDL_GetAudioDriver:_SDL_GetAudioDriver,SDL_GetClipRect:_SDL_GetClipRect,SDL_GetCurrentAudioDriver:_SDL_GetCurrentAudioDriver,SDL_GetError:_SDL_GetError,SDL_GetKeyName:_SDL_GetKeyName,SDL_GetKeyState:_SDL_GetKeyState,SDL_GetKeyboardState:_SDL_GetKeyboardState,SDL_GetModState:_SDL_GetModState,SDL_GetMouseState:_SDL_GetMouseState,SDL_GetNumAudioDrivers:_SDL_GetNumAudioDrivers,SDL_GetRGB:_SDL_GetRGB,SDL_GetRGBA:_SDL_GetRGBA,SDL_GetScancodeFromKey:_SDL_GetScancodeFromKey,SDL_GetThreadID:_SDL_GetThreadID,SDL_GetTicks:_SDL_GetTicks,SDL_GetVideoInfo:_SDL_GetVideoInfo,SDL_GetVideoSurface:_SDL_GetVideoSurface,SDL_GetWindowFlags:_SDL_GetWindowFlags,SDL_GetWindowSize:_SDL_GetWindowSize,SDL_Has3DNow:_SDL_Has3DNow,SDL_Has3DNowExt:_SDL_Has3DNowExt,SDL_HasAltiVec:_SDL_HasAltiVec,SDL_HasMMX:_SDL_HasMMX,SDL_HasMMXExt:_SDL_HasMMXExt,SDL_HasRDTSC:_SDL_HasRDTSC,SDL_HasSSE:_SDL_HasSSE,SDL_HasSSE2:_SDL_HasSSE2,SDL_Init:_SDL_Init,SDL_InitSubSystem:_SDL_InitSubSystem,SDL_JoystickClose:_SDL_JoystickClose,SDL_JoystickEventState:_SDL_JoystickEventState,SDL_JoystickGetAxis:_SDL_JoystickGetAxis,SDL_JoystickGetBall:_SDL_JoystickGetBall,SDL_JoystickGetButton:_SDL_JoystickGetButton,SDL_JoystickGetHat:_SDL_JoystickGetHat,SDL_JoystickIndex:_SDL_JoystickIndex,SDL_JoystickName:_SDL_JoystickName,SDL_JoystickNumAxes:_SDL_JoystickNumAxes,SDL_JoystickNumBalls:_SDL_JoystickNumBalls,SDL_JoystickNumButtons:_SDL_JoystickNumButtons,SDL_JoystickNumHats:_SDL_JoystickNumHats,SDL_JoystickOpen:_SDL_JoystickOpen,SDL_JoystickOpened:_SDL_JoystickOpened,SDL_JoystickUpdate:_SDL_JoystickUpdate,SDL_Linked_Version:_SDL_Linked_Version,SDL_ListModes:_SDL_ListModes,SDL_LoadBMP_RW:_SDL_LoadBMP_RW,SDL_LockAudio:_SDL_LockAudio,SDL_LockSurface:_SDL_LockSurface,SDL_LogSetOutputFunction:_SDL_LogSetOutputFunction,SDL_LowerBlit:_SDL_LowerBlit,SDL_LowerBlitScaled:_SDL_LowerBlitScaled,SDL_MapRGB:_SDL_MapRGB,SDL_MapRGBA:_SDL_MapRGBA,SDL_NumJoysticks:_SDL_NumJoysticks,SDL_OpenAudio:_SDL_OpenAudio,SDL_PauseAudio:_SDL_PauseAudio,SDL_PeepEvents:_SDL_PeepEvents,SDL_PollEvent:_SDL_PollEvent,SDL_PumpEvents:_SDL_PumpEvents,SDL_PushEvent:_SDL_PushEvent,SDL_Quit:_SDL_Quit,SDL_QuitSubSystem:_SDL_QuitSubSystem,SDL_RWFromConstMem:_SDL_RWFromConstMem,SDL_RWFromFile:_SDL_RWFromFile,SDL_RWFromMem:_SDL_RWFromMem,SDL_RemoveTimer:_SDL_RemoveTimer,SDL_SaveBMP_RW:_SDL_SaveBMP_RW,SDL_SetAlpha:_SDL_SetAlpha,SDL_SetClipRect:_SDL_SetClipRect,SDL_SetColorKey:_SDL_SetColorKey,SDL_SetColors:_SDL_SetColors,SDL_SetError:_SDL_SetError,SDL_SetGamma:_SDL_SetGamma,SDL_SetGammaRamp:_SDL_SetGammaRamp,SDL_SetPalette:_SDL_SetPalette,SDL_SetVideoMode:_SDL_SetVideoMode,SDL_SetWindowFullscreen:_SDL_SetWindowFullscreen,SDL_SetWindowTitle:_SDL_SetWindowTitle,SDL_ShowCursor:_SDL_ShowCursor,SDL_StartTextInput:_SDL_StartTextInput,SDL_StopTextInput:_SDL_StopTextInput,SDL_ThreadID:_SDL_ThreadID,SDL_UnlockAudio:_SDL_UnlockAudio,SDL_UnlockSurface:_SDL_UnlockSurface,SDL_UpdateRect:_SDL_UpdateRect,SDL_UpdateRects:_SDL_UpdateRects,SDL_UpperBlit:_SDL_UpperBlit,SDL_UpperBlitScaled:_SDL_UpperBlitScaled,SDL_VideoDriverName:_SDL_VideoDriverName,SDL_VideoModeOK:_SDL_VideoModeOK,SDL_VideoQuit:_SDL_VideoQuit,SDL_WM_GrabInput:_SDL_WM_GrabInput,SDL_WM_IconifyWindow:_SDL_WM_IconifyWindow,SDL_WM_SetCaption:_SDL_WM_SetCaption,SDL_WM_SetIcon:_SDL_WM_SetIcon,SDL_WM_ToggleFullScreen:_SDL_WM_ToggleFullScreen,SDL_WaitThread:_SDL_WaitThread,SDL_WarpMouse:_SDL_WarpMouse,SDL_WasInit:_SDL_WasInit,SDL_mutexP:_SDL_mutexP,SDL_mutexV:_SDL_mutexV,TTF_CloseFont:_TTF_CloseFont,TTF_FontAscent:_TTF_FontAscent,TTF_FontDescent:_TTF_FontDescent,TTF_FontHeight:_TTF_FontHeight,TTF_FontLineSkip:_TTF_FontLineSkip,TTF_GlyphMetrics:_TTF_GlyphMetrics,TTF_Init:_TTF_Init,TTF_OpenFont:_TTF_OpenFont,TTF_Quit:_TTF_Quit,TTF_RenderText_Blended:_TTF_RenderText_Blended,TTF_RenderText_Shaded:_TTF_RenderText_Shaded,TTF_RenderText_Solid:_TTF_RenderText_Solid,TTF_RenderUTF8_Solid:_TTF_RenderUTF8_Solid,TTF_SizeText:_TTF_SizeText,TTF_SizeUTF8:_TTF_SizeUTF8,XChangeWindowAttributes:_XChangeWindowAttributes,XCreateWindow:_XCreateWindow,XInternAtom:_XInternAtom,XMapWindow:_XMapWindow,XOpenDisplay:_XOpenDisplay,XPending:_XPending,XSendEvent:_XSendEvent,XSetWMHints:_XSetWMHints,XStoreName:_XStoreName,__asctime_r:___asctime_r,__assert_fail:___assert_fail,__call_sighandler:___call_sighandler,__syscall_accept4:___syscall_accept4,__syscall_bind:___syscall_bind,__syscall_chdir:___syscall_chdir,__syscall_chmod:___syscall_chmod,__syscall_connect:___syscall_connect,__syscall_dup:___syscall_dup,__syscall_dup3:___syscall_dup3,__syscall_epoll_create1:___syscall_epoll_create1,__syscall_epoll_ctl:___syscall_epoll_ctl,__syscall_epoll_pwait:___syscall_epoll_pwait,__syscall_epoll_pwait_nonblocking:___syscall_epoll_pwait_nonblocking,__syscall_faccessat:___syscall_faccessat,__syscall_fadvise64:___syscall_fadvise64,__syscall_fallocate:___syscall_fallocate,__syscall_fchdir:___syscall_fchdir,__syscall_fchmod:___syscall_fchmod,__syscall_fchmodat2:___syscall_fchmodat2,__syscall_fchown32:___syscall_fchown32,__syscall_fchownat:___syscall_fchownat,__syscall_fcntl64:___syscall_fcntl64,__syscall_fdatasync:___syscall_fdatasync,__syscall_fstat64:___syscall_fstat64,__syscall_fstatfs64:___syscall_fstatfs64,__syscall_ftruncate64:___syscall_ftruncate64,__syscall_getcwd:___syscall_getcwd,__syscall_getdents64:___syscall_getdents64,__syscall_getegid32:___syscall_getegid32,__syscall_geteuid32:___syscall_geteuid32,__syscall_getgid32:___syscall_getgid32,__syscall_getpeername:___syscall_getpeername,__syscall_getsockname:___syscall_getsockname,__syscall_getsockopt:___syscall_getsockopt,__syscall_getuid32:___syscall_getuid32,__syscall_ioctl:___syscall_ioctl,__syscall_linkat:___syscall_linkat,__syscall_listen:___syscall_listen,__syscall_lstat64:___syscall_lstat64,__syscall_mkdirat:___syscall_mkdirat,__syscall_mknodat:___syscall_mknodat,__syscall_newfstatat:___syscall_newfstatat,__syscall_openat:___syscall_openat,__syscall_pipe2:___syscall_pipe2,__syscall_poll:___syscall_poll,__syscall_poll_nonblocking:___syscall_poll_nonblocking,__syscall_readlinkat:___syscall_readlinkat,__syscall_recvfrom:___syscall_recvfrom,__syscall_recvmsg:___syscall_recvmsg,__syscall_renameat:___syscall_renameat,__syscall_rmdir:___syscall_rmdir,__syscall_sendmsg:___syscall_sendmsg,__syscall_sendto:___syscall_sendto,__syscall_setsockopt:___syscall_setsockopt,__syscall_shutdown:___syscall_shutdown,__syscall_socket:___syscall_socket,__syscall_stat64:___syscall_stat64,__syscall_statfs64:___syscall_statfs64,__syscall_symlinkat:___syscall_symlinkat,__syscall_truncate64:___syscall_truncate64,__syscall_umask:___syscall_umask,__syscall_uname:___syscall_uname,__syscall_unlinkat:___syscall_unlinkat,__syscall_utimensat:___syscall_utimensat,_abort_js:__abort_js,_dlopen_js:__dlopen_js,_dlsym_catchup_js:__dlsym_catchup_js,_dlsym_js:__dlsym_js,_embind_create_inheriting_constructor:__embind_create_inheriting_constructor,_embind_finalize_value_array:__embind_finalize_value_array,_embind_finalize_value_object:__embind_finalize_value_object,_embind_register_bigint:__embind_register_bigint,_embind_register_bool:__embind_register_bool,_embind_register_class:__embind_register_class,_embind_register_class_class_function:__embind_register_class_class_function,_embind_register_class_class_property:__embind_register_class_class_property,_embind_register_class_constructor:__embind_register_class_constructor,_embind_register_class_function:__embind_register_class_function,_embind_register_class_property:__embind_register_class_property,_embind_register_constant:__embind_register_constant,_embind_register_emval:__embind_register_emval,_embind_register_enum:__embind_register_enum,_embind_register_enum_value:__embind_register_enum_value,_embind_register_float:__embind_register_float,_embind_register_function:__embind_register_function,_embind_register_integer:__embind_register_integer,_embind_register_iterable:__embind_register_iterable,_embind_register_memory_view:__embind_register_memory_view,_embind_register_optional:__embind_register_optional,_embind_register_smart_ptr:__embind_register_smart_ptr,_embind_register_std_string:__embind_register_std_string,_embind_register_std_wstring:__embind_register_std_wstring,_embind_register_user_type:__embind_register_user_type,_embind_register_user_type_definition:__embind_register_user_type_definition,_embind_register_value_array:__embind_register_value_array,_embind_register_value_array_element:__embind_register_value_array_element,_embind_register_value_object:__embind_register_value_object,_embind_register_value_object_field:__embind_register_value_object_field,_embind_register_void:__embind_register_void,_emscripten_dlopen_js:__emscripten_dlopen_js,_emscripten_fs_load_embedded_files:__emscripten_fs_load_embedded_files,_emscripten_get_last_devicemotion_event:__emscripten_get_last_devicemotion_event,_emscripten_get_last_deviceorientation_event:__emscripten_get_last_deviceorientation_event,_emscripten_get_last_mouse_event:__emscripten_get_last_mouse_event,_emscripten_get_now_is_monotonic:__emscripten_get_now_is_monotonic,_emscripten_get_progname:__emscripten_get_progname,_emscripten_log_formatted:__emscripten_log_formatted,_emscripten_push_main_loop_blocker:__emscripten_push_main_loop_blocker,_emscripten_push_uncounted_main_loop_blocker:__emscripten_push_uncounted_main_loop_blocker,_emscripten_runtime_keepalive_clear:__emscripten_runtime_keepalive_clear,_emscripten_system:__emscripten_system,_emval_array_to_memory_view:__emval_array_to_memory_view,_emval_coro_make_promise:__emval_coro_make_promise,_emval_coro_suspend:__emval_coro_suspend,_emval_create_invoker:__emval_create_invoker,_emval_decref:__emval_decref,_emval_delete:__emval_delete,_emval_equals:__emval_equals,_emval_from_current_cxa_exception:__emval_from_current_cxa_exception,_emval_get_global:__emval_get_global,_emval_get_module_property:__emval_get_module_property,_emval_get_property:__emval_get_property,_emval_greater_than:__emval_greater_than,_emval_in:__emval_in,_emval_incref:__emval_incref,_emval_instanceof:__emval_instanceof,_emval_invoke:__emval_invoke,_emval_invoke_i64:__emval_invoke_i64,_emval_is_catchable_cpp_exception_object:__emval_is_catchable_cpp_exception_object,_emval_is_number:__emval_is_number,_emval_is_string:__emval_is_string,_emval_iter_begin:__emval_iter_begin,_emval_iter_next:__emval_iter_next,_emval_less_than:__emval_less_than,_emval_new_array:__emval_new_array,_emval_new_array_from_memory_view:__emval_new_array_from_memory_view,_emval_new_cstring:__emval_new_cstring,_emval_new_object:__emval_new_object,_emval_new_u16string:__emval_new_u16string,_emval_new_u8string:__emval_new_u8string,_emval_not:__emval_not,_emval_register_symbol:__emval_register_symbol,_emval_run_destructors:__emval_run_destructors,_emval_set_property:__emval_set_property,_emval_strictly_equals:__emval_strictly_equals,_emval_throw:__emval_throw,_emval_typeof:__emval_typeof,_glGetActiveAttribOrUniform:__glGetActiveAttribOrUniform,_gmtime_js:__gmtime_js,_localtime_js:__localtime_js,_mktime_js:__mktime_js,_mmap_js:__mmap_js,_msync_js:__msync_js,_munmap_js:__munmap_js,_setitimer_js:__setitimer_js,_timegm_js:__timegm_js,_tzset_js:__tzset_js,alBuffer3f:_alBuffer3f,alBuffer3i:_alBuffer3i,alBufferData:_alBufferData,alBufferf:_alBufferf,alBufferfv:_alBufferfv,alBufferi:_alBufferi,alBufferiv:_alBufferiv,alDeleteBuffers:_alDeleteBuffers,alDeleteSources:_alDeleteSources,alDisable:_alDisable,alDistanceModel:_alDistanceModel,alDopplerFactor:_alDopplerFactor,alDopplerVelocity:_alDopplerVelocity,alEnable:_alEnable,alGenBuffers:_alGenBuffers,alGenSources:_alGenSources,alGetBoolean:_alGetBoolean,alGetBooleanv:_alGetBooleanv,alGetBuffer3f:_alGetBuffer3f,alGetBuffer3i:_alGetBuffer3i,alGetBufferf:_alGetBufferf,alGetBufferfv:_alGetBufferfv,alGetBufferi:_alGetBufferi,alGetBufferiv:_alGetBufferiv,alGetDouble:_alGetDouble,alGetDoublev:_alGetDoublev,alGetEnumValue:_alGetEnumValue,alGetError:_alGetError,alGetFloat:_alGetFloat,alGetFloatv:_alGetFloatv,alGetInteger:_alGetInteger,alGetIntegerv:_alGetIntegerv,alGetListener3f:_alGetListener3f,alGetListener3i:_alGetListener3i,alGetListenerf:_alGetListenerf,alGetListenerfv:_alGetListenerfv,alGetListeneri:_alGetListeneri,alGetListeneriv:_alGetListeneriv,alGetSource3f:_alGetSource3f,alGetSource3i:_alGetSource3i,alGetSourcef:_alGetSourcef,alGetSourcefv:_alGetSourcefv,alGetSourcei:_alGetSourcei,alGetSourceiv:_alGetSourceiv,alGetString:_alGetString,alIsBuffer:_alIsBuffer,alIsEnabled:_alIsEnabled,alIsExtensionPresent:_alIsExtensionPresent,alIsSource:_alIsSource,alListener3f:_alListener3f,alListener3i:_alListener3i,alListenerf:_alListenerf,alListenerfv:_alListenerfv,alListeneri:_alListeneri,alListeneriv:_alListeneriv,alSource3f:_alSource3f,alSource3i:_alSource3i,alSourcePause:_alSourcePause,alSourcePausev:_alSourcePausev,alSourcePlay:_alSourcePlay,alSourcePlayv:_alSourcePlayv,alSourceQueueBuffers:_alSourceQueueBuffers,alSourceRewind:_alSourceRewind,alSourceRewindv:_alSourceRewindv,alSourceStop:_alSourceStop,alSourceStopv:_alSourceStopv,alSourceUnqueueBuffers:_alSourceUnqueueBuffers,alSourcef:_alSourcef,alSourcefv:_alSourcefv,alSourcei:_alSourcei,alSourceiv:_alSourceiv,alSpeedOfSound:_alSpeedOfSound,alcCaptureCloseDevice:_alcCaptureCloseDevice,alcCaptureOpenDevice:_alcCaptureOpenDevice,alcCaptureSamples:_alcCaptureSamples,alcCaptureStart:_alcCaptureStart,alcCaptureStop:_alcCaptureStop,alcCloseDevice:_alcCloseDevice,alcCreateContext:_alcCreateContext,alcDestroyContext:_alcDestroyContext,alcGetContextsDevice:_alcGetContextsDevice,alcGetCurrentContext:_alcGetCurrentContext,alcGetEnumValue:_alcGetEnumValue,alcGetError:_alcGetError,alcGetIntegerv:_alcGetIntegerv,alcGetString:_alcGetString,alcIsExtensionPresent:_alcIsExtensionPresent,alcMakeContextCurrent:_alcMakeContextCurrent,alcOpenDevice:_alcOpenDevice,alcProcessContext:_alcProcessContext,alcSuspendContext:_alcSuspendContext,boxColor:_boxColor,boxRGBA:_boxRGBA,clock_res_get:_clock_res_get,clock_time_get:_clock_time_get,duckdb_wasm_crypto_random:_duckdb_wasm_crypto_random,duckdb_wasm_get_auth_error_js:_duckdb_wasm_get_auth_error_js,duckdb_wasm_get_page_origin_js:_duckdb_wasm_get_page_origin_js,duckdb_wasm_open_auth_url_js:_duckdb_wasm_open_auth_url_js,duckdb_web_fs_directory_create:_duckdb_web_fs_directory_create,duckdb_web_fs_directory_exists:_duckdb_web_fs_directory_exists,duckdb_web_fs_directory_list_files:_duckdb_web_fs_directory_list_files,duckdb_web_fs_directory_remove:_duckdb_web_fs_directory_remove,duckdb_web_fs_file_close:_duckdb_web_fs_file_close,duckdb_web_fs_file_drop_file:_duckdb_web_fs_file_drop_file,duckdb_web_fs_file_exists:_duckdb_web_fs_file_exists,duckdb_web_fs_file_get_last_modified_time:_duckdb_web_fs_file_get_last_modified_time,duckdb_web_fs_file_move:_duckdb_web_fs_file_move,duckdb_web_fs_file_open:_duckdb_web_fs_file_open,duckdb_web_fs_file_read:_duckdb_web_fs_file_read,duckdb_web_fs_file_remove:_duckdb_web_fs_file_remove,duckdb_web_fs_file_sync:_duckdb_web_fs_file_sync,duckdb_web_fs_file_truncate:_duckdb_web_fs_file_truncate,duckdb_web_fs_file_write:_duckdb_web_fs_file_write,duckdb_web_fs_get_default_data_protocol:_duckdb_web_fs_get_default_data_protocol,duckdb_web_fs_glob:_duckdb_web_fs_glob,duckdb_web_http_xhr,duckdb_web_test_platform_feature:_duckdb_web_test_platform_feature,duckdb_web_udf_scalar_call:_duckdb_web_udf_scalar_call,eglBindAPI:_eglBindAPI,eglChooseConfig:_eglChooseConfig,eglCreateContext:_eglCreateContext,eglCreateWindowSurface:_eglCreateWindowSurface,eglDestroyContext:_eglDestroyContext,eglDestroySurface:_eglDestroySurface,eglGetConfigAttrib:_eglGetConfigAttrib,eglGetConfigs:_eglGetConfigs,eglGetCurrentContext:_eglGetCurrentContext,eglGetCurrentDisplay:_eglGetCurrentDisplay,eglGetCurrentSurface:_eglGetCurrentSurface,eglGetDisplay:_eglGetDisplay,eglGetError:_eglGetError,eglInitialize:_eglInitialize,eglMakeCurrent:_eglMakeCurrent,eglQueryAPI:_eglQueryAPI,eglQueryContext:_eglQueryContext,eglQueryString:_eglQueryString,eglQuerySurface:_eglQuerySurface,eglReleaseThread:_eglReleaseThread,eglSwapBuffers:_eglSwapBuffers,eglSwapInterval:_eglSwapInterval,eglTerminate:_eglTerminate,eglWaitClient:_eglWaitClient,eglWaitGL:_eglWaitGL,eglWaitNative:_eglWaitNative,ellipseColor:_ellipseColor,ellipseRGBA:_ellipseRGBA,emscripten_SDL_SetEventHandler:_emscripten_SDL_SetEventHandler,emscripten_alcDevicePauseSOFT:_emscripten_alcDevicePauseSOFT,emscripten_alcDeviceResumeSOFT:_emscripten_alcDeviceResumeSOFT,emscripten_alcGetStringiSOFT:_emscripten_alcGetStringiSOFT,emscripten_alcResetDeviceSOFT:_emscripten_alcResetDeviceSOFT,emscripten_asm_const_async_on_main_thread:_emscripten_asm_const_async_on_main_thread,emscripten_asm_const_double:_emscripten_asm_const_double,emscripten_asm_const_double_sync_on_main_thread:_emscripten_asm_const_double_sync_on_main_thread,emscripten_asm_const_int:_emscripten_asm_const_int,emscripten_asm_const_int_sync_on_main_thread:_emscripten_asm_const_int_sync_on_main_thread,emscripten_asm_const_ptr:_emscripten_asm_const_ptr,emscripten_asm_const_ptr_sync_on_main_thread:_emscripten_asm_const_ptr_sync_on_main_thread,emscripten_async_call:_emscripten_async_call,emscripten_async_load_script:_emscripten_async_load_script,emscripten_async_run_script:_emscripten_async_run_script,emscripten_async_wget:_emscripten_async_wget,emscripten_async_wget2:_emscripten_async_wget2,emscripten_async_wget2_abort:_emscripten_async_wget2_abort,emscripten_async_wget2_data:_emscripten_async_wget2_data,emscripten_async_wget_data:_emscripten_async_wget_data,emscripten_call_worker:_emscripten_call_worker,emscripten_cancel_animation_frame:_emscripten_cancel_animation_frame,emscripten_cancel_main_loop:_emscripten_cancel_main_loop,emscripten_clear_immediate:_emscripten_clear_immediate,emscripten_clear_interval:_emscripten_clear_interval,emscripten_clear_timeout:_emscripten_clear_timeout,emscripten_console_error:_emscripten_console_error,emscripten_console_log:_emscripten_console_log,emscripten_console_trace:_emscripten_console_trace,emscripten_console_warn:_emscripten_console_warn,emscripten_create_worker:_emscripten_create_worker,emscripten_date_now:_emscripten_date_now,emscripten_debugger:_emscripten_debugger,emscripten_destroy_worker:_emscripten_destroy_worker,emscripten_enter_soft_fullscreen:_emscripten_enter_soft_fullscreen,emscripten_epoll_listener_add:_emscripten_epoll_listener_add,emscripten_epoll_listener_remove:_emscripten_epoll_listener_remove,emscripten_err:_emscripten_err,emscripten_errn:_emscripten_errn,emscripten_exit_fullscreen:_emscripten_exit_fullscreen,emscripten_exit_pointerlock:_emscripten_exit_pointerlock,emscripten_exit_soft_fullscreen:_emscripten_exit_soft_fullscreen,emscripten_exit_with_live_runtime:_emscripten_exit_with_live_runtime,emscripten_fiber_swap:_emscripten_fiber_swap,emscripten_force_exit:_emscripten_force_exit,emscripten_get_battery_status:_emscripten_get_battery_status,emscripten_get_callstack:_emscripten_get_callstack,emscripten_get_canvas_element_size:_emscripten_get_canvas_element_size,emscripten_get_canvas_size:_emscripten_get_canvas_size,emscripten_get_compiler_setting:_emscripten_get_compiler_setting,emscripten_get_device_pixel_ratio:_emscripten_get_device_pixel_ratio,emscripten_get_element_css_size:_emscripten_get_element_css_size,emscripten_get_fullscreen_status:_emscripten_get_fullscreen_status,emscripten_get_gamepad_status:_emscripten_get_gamepad_status,emscripten_get_heap_max:_emscripten_get_heap_max,emscripten_get_main_loop_timing:_emscripten_get_main_loop_timing,emscripten_get_now:_emscripten_get_now,emscripten_get_now_res:_emscripten_get_now_res,emscripten_get_num_gamepads:_emscripten_get_num_gamepads,emscripten_get_orientation_status:_emscripten_get_orientation_status,emscripten_get_pointerlock_status:_emscripten_get_pointerlock_status,emscripten_get_preloaded_image_data:_emscripten_get_preloaded_image_data,emscripten_get_preloaded_image_data_from_FILE:_emscripten_get_preloaded_image_data_from_FILE,emscripten_get_screen_size:_emscripten_get_screen_size,emscripten_get_visibility_status:_emscripten_get_visibility_status,emscripten_get_window_title:_emscripten_get_window_title,emscripten_get_worker_queue_size:_emscripten_get_worker_queue_size,emscripten_glActiveTexture:_emscripten_glActiveTexture,emscripten_glAttachShader:_emscripten_glAttachShader,emscripten_glBegin:_emscripten_glBegin,emscripten_glBeginQueryEXT:_emscripten_glBeginQueryEXT,emscripten_glBindAttribLocation:_emscripten_glBindAttribLocation,emscripten_glBindBuffer:_emscripten_glBindBuffer,emscripten_glBindFramebuffer:_emscripten_glBindFramebuffer,emscripten_glBindRenderbuffer:_emscripten_glBindRenderbuffer,emscripten_glBindTexture:_emscripten_glBindTexture,emscripten_glBindVertexArray:_emscripten_glBindVertexArray,emscripten_glBindVertexArrayOES:_emscripten_glBindVertexArrayOES,emscripten_glBlendColor:_emscripten_glBlendColor,emscripten_glBlendEquation:_emscripten_glBlendEquation,emscripten_glBlendEquationSeparate:_emscripten_glBlendEquationSeparate,emscripten_glBlendFunc:_emscripten_glBlendFunc,emscripten_glBlendFuncSeparate:_emscripten_glBlendFuncSeparate,emscripten_glBufferData:_emscripten_glBufferData,emscripten_glBufferSubData:_emscripten_glBufferSubData,emscripten_glCheckFramebufferStatus:_emscripten_glCheckFramebufferStatus,emscripten_glClear:_emscripten_glClear,emscripten_glClearColor:_emscripten_glClearColor,emscripten_glClearDepth:_emscripten_glClearDepth,emscripten_glClearDepthf:_emscripten_glClearDepthf,emscripten_glClearStencil:_emscripten_glClearStencil,emscripten_glClipControlEXT:_emscripten_glClipControlEXT,emscripten_glColorMask:_emscripten_glColorMask,emscripten_glCompileShader:_emscripten_glCompileShader,emscripten_glCompressedTexImage2D:_emscripten_glCompressedTexImage2D,emscripten_glCompressedTexSubImage2D:_emscripten_glCompressedTexSubImage2D,emscripten_glCopyTexImage2D:_emscripten_glCopyTexImage2D,emscripten_glCopyTexSubImage2D:_emscripten_glCopyTexSubImage2D,emscripten_glCreateProgram:_emscripten_glCreateProgram,emscripten_glCreateShader:_emscripten_glCreateShader,emscripten_glCullFace:_emscripten_glCullFace,emscripten_glDeleteBuffers:_emscripten_glDeleteBuffers,emscripten_glDeleteFramebuffers:_emscripten_glDeleteFramebuffers,emscripten_glDeleteProgram:_emscripten_glDeleteProgram,emscripten_glDeleteQueriesEXT:_emscripten_glDeleteQueriesEXT,emscripten_glDeleteRenderbuffers:_emscripten_glDeleteRenderbuffers,emscripten_glDeleteShader:_emscripten_glDeleteShader,emscripten_glDeleteTextures:_emscripten_glDeleteTextures,emscripten_glDeleteVertexArrays:_emscripten_glDeleteVertexArrays,emscripten_glDeleteVertexArraysOES:_emscripten_glDeleteVertexArraysOES,emscripten_glDepthFunc:_emscripten_glDepthFunc,emscripten_glDepthMask:_emscripten_glDepthMask,emscripten_glDepthRange:_emscripten_glDepthRange,emscripten_glDepthRangef:_emscripten_glDepthRangef,emscripten_glDetachShader:_emscripten_glDetachShader,emscripten_glDisable:_emscripten_glDisable,emscripten_glDisableVertexAttribArray:_emscripten_glDisableVertexAttribArray,emscripten_glDrawArrays:_emscripten_glDrawArrays,emscripten_glDrawArraysInstanced:_emscripten_glDrawArraysInstanced,emscripten_glDrawArraysInstancedANGLE:_emscripten_glDrawArraysInstancedANGLE,emscripten_glDrawArraysInstancedARB:_emscripten_glDrawArraysInstancedARB,emscripten_glDrawArraysInstancedEXT:_emscripten_glDrawArraysInstancedEXT,emscripten_glDrawArraysInstancedNV:_emscripten_glDrawArraysInstancedNV,emscripten_glDrawBuffers:_emscripten_glDrawBuffers,emscripten_glDrawBuffersEXT:_emscripten_glDrawBuffersEXT,emscripten_glDrawBuffersWEBGL:_emscripten_glDrawBuffersWEBGL,emscripten_glDrawElements:_emscripten_glDrawElements,emscripten_glDrawElementsInstanced:_emscripten_glDrawElementsInstanced,emscripten_glDrawElementsInstancedANGLE:_emscripten_glDrawElementsInstancedANGLE,emscripten_glDrawElementsInstancedARB:_emscripten_glDrawElementsInstancedARB,emscripten_glDrawElementsInstancedEXT:_emscripten_glDrawElementsInstancedEXT,emscripten_glDrawElementsInstancedNV:_emscripten_glDrawElementsInstancedNV,emscripten_glEnable:_emscripten_glEnable,emscripten_glEnableVertexAttribArray:_emscripten_glEnableVertexAttribArray,emscripten_glEndQueryEXT:_emscripten_glEndQueryEXT,emscripten_glFinish:_emscripten_glFinish,emscripten_glFlush:_emscripten_glFlush,emscripten_glFramebufferRenderbuffer:_emscripten_glFramebufferRenderbuffer,emscripten_glFramebufferTexture2D:_emscripten_glFramebufferTexture2D,emscripten_glFrontFace:_emscripten_glFrontFace,emscripten_glGenBuffers:_emscripten_glGenBuffers,emscripten_glGenFramebuffers:_emscripten_glGenFramebuffers,emscripten_glGenQueriesEXT:_emscripten_glGenQueriesEXT,emscripten_glGenRenderbuffers:_emscripten_glGenRenderbuffers,emscripten_glGenTextures:_emscripten_glGenTextures,emscripten_glGenVertexArrays:_emscripten_glGenVertexArrays,emscripten_glGenVertexArraysOES:_emscripten_glGenVertexArraysOES,emscripten_glGenerateMipmap:_emscripten_glGenerateMipmap,emscripten_glGetActiveAttrib:_emscripten_glGetActiveAttrib,emscripten_glGetActiveUniform:_emscripten_glGetActiveUniform,emscripten_glGetAttachedShaders:_emscripten_glGetAttachedShaders,emscripten_glGetAttribLocation:_emscripten_glGetAttribLocation,emscripten_glGetBooleanv:_emscripten_glGetBooleanv,emscripten_glGetBufferParameteriv:_emscripten_glGetBufferParameteriv,emscripten_glGetError:_emscripten_glGetError,emscripten_glGetFloatv:_emscripten_glGetFloatv,emscripten_glGetFramebufferAttachmentParameteriv:_emscripten_glGetFramebufferAttachmentParameteriv,emscripten_glGetIntegerv:_emscripten_glGetIntegerv,emscripten_glGetProgramInfoLog:_emscripten_glGetProgramInfoLog,emscripten_glGetProgramiv:_emscripten_glGetProgramiv,emscripten_glGetQueryObjecti64vEXT:_emscripten_glGetQueryObjecti64vEXT,emscripten_glGetQueryObjectivEXT:_emscripten_glGetQueryObjectivEXT,emscripten_glGetQueryObjectui64vEXT:_emscripten_glGetQueryObjectui64vEXT,emscripten_glGetQueryObjectuivEXT:_emscripten_glGetQueryObjectuivEXT,emscripten_glGetQueryivEXT:_emscripten_glGetQueryivEXT,emscripten_glGetRenderbufferParameteriv:_emscripten_glGetRenderbufferParameteriv,emscripten_glGetShaderInfoLog:_emscripten_glGetShaderInfoLog,emscripten_glGetShaderPrecisionFormat:_emscripten_glGetShaderPrecisionFormat,emscripten_glGetShaderSource:_emscripten_glGetShaderSource,emscripten_glGetShaderiv:_emscripten_glGetShaderiv,emscripten_glGetString:_emscripten_glGetString,emscripten_glGetTexParameterfv:_emscripten_glGetTexParameterfv,emscripten_glGetTexParameteriv:_emscripten_glGetTexParameteriv,emscripten_glGetUniformLocation:_emscripten_glGetUniformLocation,emscripten_glGetUniformfv:_emscripten_glGetUniformfv,emscripten_glGetUniformiv:_emscripten_glGetUniformiv,emscripten_glGetVertexAttribPointerv:_emscripten_glGetVertexAttribPointerv,emscripten_glGetVertexAttribfv:_emscripten_glGetVertexAttribfv,emscripten_glGetVertexAttribiv:_emscripten_glGetVertexAttribiv,emscripten_glHint:_emscripten_glHint,emscripten_glIsBuffer:_emscripten_glIsBuffer,emscripten_glIsEnabled:_emscripten_glIsEnabled,emscripten_glIsFramebuffer:_emscripten_glIsFramebuffer,emscripten_glIsProgram:_emscripten_glIsProgram,emscripten_glIsQueryEXT:_emscripten_glIsQueryEXT,emscripten_glIsRenderbuffer:_emscripten_glIsRenderbuffer,emscripten_glIsShader:_emscripten_glIsShader,emscripten_glIsTexture:_emscripten_glIsTexture,emscripten_glIsVertexArray:_emscripten_glIsVertexArray,emscripten_glIsVertexArrayOES:_emscripten_glIsVertexArrayOES,emscripten_glLineWidth:_emscripten_glLineWidth,emscripten_glLinkProgram:_emscripten_glLinkProgram,emscripten_glLoadIdentity:_emscripten_glLoadIdentity,emscripten_glMatrixMode:_emscripten_glMatrixMode,emscripten_glMultiDrawArrays:_emscripten_glMultiDrawArrays,emscripten_glMultiDrawArraysANGLE:_emscripten_glMultiDrawArraysANGLE,emscripten_glMultiDrawArraysInstancedANGLE:_emscripten_glMultiDrawArraysInstancedANGLE,emscripten_glMultiDrawArraysInstancedWEBGL:_emscripten_glMultiDrawArraysInstancedWEBGL,emscripten_glMultiDrawArraysWEBGL:_emscripten_glMultiDrawArraysWEBGL,emscripten_glMultiDrawElements:_emscripten_glMultiDrawElements,emscripten_glMultiDrawElementsANGLE:_emscripten_glMultiDrawElementsANGLE,emscripten_glMultiDrawElementsInstancedANGLE:_emscripten_glMultiDrawElementsInstancedANGLE,emscripten_glMultiDrawElementsInstancedWEBGL:_emscripten_glMultiDrawElementsInstancedWEBGL,emscripten_glMultiDrawElementsWEBGL:_emscripten_glMultiDrawElementsWEBGL,emscripten_glPixelStorei:_emscripten_glPixelStorei,emscripten_glPolygonModeWEBGL:_emscripten_glPolygonModeWEBGL,emscripten_glPolygonOffset:_emscripten_glPolygonOffset,emscripten_glPolygonOffsetClampEXT:_emscripten_glPolygonOffsetClampEXT,emscripten_glQueryCounterEXT:_emscripten_glQueryCounterEXT,emscripten_glReadPixels:_emscripten_glReadPixels,emscripten_glReleaseShaderCompiler:_emscripten_glReleaseShaderCompiler,emscripten_glRenderbufferStorage:_emscripten_glRenderbufferStorage,emscripten_glSampleCoverage:_emscripten_glSampleCoverage,emscripten_glScissor:_emscripten_glScissor,emscripten_glShaderBinary:_emscripten_glShaderBinary,emscripten_glShaderSource:_emscripten_glShaderSource,emscripten_glStencilFunc:_emscripten_glStencilFunc,emscripten_glStencilFuncSeparate:_emscripten_glStencilFuncSeparate,emscripten_glStencilMask:_emscripten_glStencilMask,emscripten_glStencilMaskSeparate:_emscripten_glStencilMaskSeparate,emscripten_glStencilOp:_emscripten_glStencilOp,emscripten_glStencilOpSeparate:_emscripten_glStencilOpSeparate,emscripten_glTexImage2D:_emscripten_glTexImage2D,emscripten_glTexParameterf:_emscripten_glTexParameterf,emscripten_glTexParameterfv:_emscripten_glTexParameterfv,emscripten_glTexParameteri:_emscripten_glTexParameteri,emscripten_glTexParameteriv:_emscripten_glTexParameteriv,emscripten_glTexSubImage2D:_emscripten_glTexSubImage2D,emscripten_glUniform1f:_emscripten_glUniform1f,emscripten_glUniform1fv:_emscripten_glUniform1fv,emscripten_glUniform1i:_emscripten_glUniform1i,emscripten_glUniform1iv:_emscripten_glUniform1iv,emscripten_glUniform2f:_emscripten_glUniform2f,emscripten_glUniform2fv:_emscripten_glUniform2fv,emscripten_glUniform2i:_emscripten_glUniform2i,emscripten_glUniform2iv:_emscripten_glUniform2iv,emscripten_glUniform3f:_emscripten_glUniform3f,emscripten_glUniform3fv:_emscripten_glUniform3fv,emscripten_glUniform3i:_emscripten_glUniform3i,emscripten_glUniform3iv:_emscripten_glUniform3iv,emscripten_glUniform4f:_emscripten_glUniform4f,emscripten_glUniform4fv:_emscripten_glUniform4fv,emscripten_glUniform4i:_emscripten_glUniform4i,emscripten_glUniform4iv:_emscripten_glUniform4iv,emscripten_glUniformMatrix2fv:_emscripten_glUniformMatrix2fv,emscripten_glUniformMatrix3fv:_emscripten_glUniformMatrix3fv,emscripten_glUniformMatrix4fv:_emscripten_glUniformMatrix4fv,emscripten_glUseProgram:_emscripten_glUseProgram,emscripten_glValidateProgram:_emscripten_glValidateProgram,emscripten_glVertexAttrib1f:_emscripten_glVertexAttrib1f,emscripten_glVertexAttrib1fv:_emscripten_glVertexAttrib1fv,emscripten_glVertexAttrib2f:_emscripten_glVertexAttrib2f,emscripten_glVertexAttrib2fv:_emscripten_glVertexAttrib2fv,emscripten_glVertexAttrib3f:_emscripten_glVertexAttrib3f,emscripten_glVertexAttrib3fv:_emscripten_glVertexAttrib3fv,emscripten_glVertexAttrib4f:_emscripten_glVertexAttrib4f,emscripten_glVertexAttrib4fv:_emscripten_glVertexAttrib4fv,emscripten_glVertexAttribDivisor:_emscripten_glVertexAttribDivisor,emscripten_glVertexAttribDivisorANGLE:_emscripten_glVertexAttribDivisorANGLE,emscripten_glVertexAttribDivisorARB:_emscripten_glVertexAttribDivisorARB,emscripten_glVertexAttribDivisorEXT:_emscripten_glVertexAttribDivisorEXT,emscripten_glVertexAttribDivisorNV:_emscripten_glVertexAttribDivisorNV,emscripten_glVertexAttribPointer:_emscripten_glVertexAttribPointer,emscripten_glVertexPointer:_emscripten_glVertexPointer,emscripten_glViewport:_emscripten_glViewport,emscripten_has_asyncify:_emscripten_has_asyncify,emscripten_hide_mouse:_emscripten_hide_mouse,emscripten_html5_remove_all_event_listeners:_emscripten_html5_remove_all_event_listeners,emscripten_html5_remove_event_listener:_emscripten_html5_remove_event_listener,emscripten_idb_async_clear:_emscripten_idb_async_clear,emscripten_idb_async_delete:_emscripten_idb_async_delete,emscripten_idb_async_exists:_emscripten_idb_async_exists,emscripten_idb_async_load:_emscripten_idb_async_load,emscripten_idb_async_store:_emscripten_idb_async_store,emscripten_idb_clear:_emscripten_idb_clear,emscripten_idb_delete:_emscripten_idb_delete,emscripten_idb_exists:_emscripten_idb_exists,emscripten_idb_load:_emscripten_idb_load,emscripten_idb_store:_emscripten_idb_store,emscripten_is_main_browser_thread:_emscripten_is_main_browser_thread,emscripten_is_webgl_context_lost:_emscripten_is_webgl_context_lost,emscripten_lock_orientation:_emscripten_lock_orientation,emscripten_math_acos:_emscripten_math_acos,emscripten_math_acosh:_emscripten_math_acosh,emscripten_math_asin:_emscripten_math_asin,emscripten_math_asinh:_emscripten_math_asinh,emscripten_math_atan:_emscripten_math_atan,emscripten_math_atan2:_emscripten_math_atan2,emscripten_math_atanh:_emscripten_math_atanh,emscripten_math_cbrt:_emscripten_math_cbrt,emscripten_math_cos:_emscripten_math_cos,emscripten_math_cosh:_emscripten_math_cosh,emscripten_math_exp:_emscripten_math_exp,emscripten_math_expm1:_emscripten_math_expm1,emscripten_math_fmod:_emscripten_math_fmod,emscripten_math_hypot:_emscripten_math_hypot,emscripten_math_log:_emscripten_math_log,emscripten_math_log10:_emscripten_math_log10,emscripten_math_log1p:_emscripten_math_log1p,emscripten_math_log2:_emscripten_math_log2,emscripten_math_pow:_emscripten_math_pow,emscripten_math_random:_emscripten_math_random,emscripten_math_round:_emscripten_math_round,emscripten_math_sign:_emscripten_math_sign,emscripten_math_sin:_emscripten_math_sin,emscripten_math_sinh:_emscripten_math_sinh,emscripten_math_sqrt:_emscripten_math_sqrt,emscripten_math_tan:_emscripten_math_tan,emscripten_math_tanh:_emscripten_math_tanh,emscripten_notify_memory_growth:_emscripten_notify_memory_growth,emscripten_out:_emscripten_out,emscripten_outn:_emscripten_outn,emscripten_pause_main_loop:_emscripten_pause_main_loop,emscripten_pc_get_column:_emscripten_pc_get_column,emscripten_pc_get_file:_emscripten_pc_get_file,emscripten_pc_get_function:_emscripten_pc_get_function,emscripten_pc_get_line:_emscripten_pc_get_line,emscripten_performance_now:_emscripten_performance_now,emscripten_print_double:_emscripten_print_double,emscripten_promise_all:_emscripten_promise_all,emscripten_promise_all_settled:_emscripten_promise_all_settled,emscripten_promise_any:_emscripten_promise_any,emscripten_promise_await:_emscripten_promise_await,emscripten_promise_await_unchecked:_emscripten_promise_await_unchecked,emscripten_promise_create:_emscripten_promise_create,emscripten_promise_destroy:_emscripten_promise_destroy,emscripten_promise_race:_emscripten_promise_race,emscripten_promise_resolve:_emscripten_promise_resolve,emscripten_promise_then:_emscripten_promise_then,emscripten_random:_emscripten_random,emscripten_request_animation_frame:_emscripten_request_animation_frame,emscripten_request_animation_frame_loop:_emscripten_request_animation_frame_loop,emscripten_request_fullscreen:_emscripten_request_fullscreen,emscripten_request_fullscreen_strategy:_emscripten_request_fullscreen_strategy,emscripten_request_pointerlock:_emscripten_request_pointerlock,emscripten_resize_heap:_emscripten_resize_heap,emscripten_resume_main_loop:_emscripten_resume_main_loop,emscripten_return_address:_emscripten_return_address,emscripten_run_preload_plugins:_emscripten_run_preload_plugins,emscripten_run_preload_plugins_data:_emscripten_run_preload_plugins_data,emscripten_run_script:_emscripten_run_script,emscripten_run_script_int:_emscripten_run_script_int,emscripten_run_script_string:_emscripten_run_script_string,emscripten_runtime_keepalive_check:_emscripten_runtime_keepalive_check,emscripten_runtime_keepalive_pop:_emscripten_runtime_keepalive_pop,emscripten_runtime_keepalive_push:_emscripten_runtime_keepalive_push,emscripten_sample_gamepad_data:_emscripten_sample_gamepad_data,emscripten_scan_registers:_emscripten_scan_registers,emscripten_set_batterychargingchange_callback_on_thread:_emscripten_set_batterychargingchange_callback_on_thread,emscripten_set_batterylevelchange_callback_on_thread:_emscripten_set_batterylevelchange_callback_on_thread,emscripten_set_beforeunload_callback_on_thread:_emscripten_set_beforeunload_callback_on_thread,emscripten_set_blur_callback_on_thread:_emscripten_set_blur_callback_on_thread,emscripten_set_canvas_element_size:_emscripten_set_canvas_element_size,emscripten_set_canvas_size:_emscripten_set_canvas_size,emscripten_set_click_callback_on_thread:_emscripten_set_click_callback_on_thread,emscripten_set_contextmenu_callback_on_thread:_emscripten_set_contextmenu_callback_on_thread,emscripten_set_dblclick_callback_on_thread:_emscripten_set_dblclick_callback_on_thread,emscripten_set_devicemotion_callback_on_thread:_emscripten_set_devicemotion_callback_on_thread,emscripten_set_deviceorientation_callback_on_thread:_emscripten_set_deviceorientation_callback_on_thread,emscripten_set_element_css_size:_emscripten_set_element_css_size,emscripten_set_focus_callback_on_thread:_emscripten_set_focus_callback_on_thread,emscripten_set_focusin_callback_on_thread:_emscripten_set_focusin_callback_on_thread,emscripten_set_focusout_callback_on_thread:_emscripten_set_focusout_callback_on_thread,emscripten_set_fullscreenchange_callback_on_thread:_emscripten_set_fullscreenchange_callback_on_thread,emscripten_set_gamepadconnected_callback_on_thread:_emscripten_set_gamepadconnected_callback_on_thread,emscripten_set_gamepaddisconnected_callback_on_thread:_emscripten_set_gamepaddisconnected_callback_on_thread,emscripten_set_immediate:_emscripten_set_immediate,emscripten_set_immediate_loop:_emscripten_set_immediate_loop,emscripten_set_interval:_emscripten_set_interval,emscripten_set_keydown_callback_on_thread:_emscripten_set_keydown_callback_on_thread,emscripten_set_keypress_callback_on_thread:_emscripten_set_keypress_callback_on_thread,emscripten_set_keyup_callback_on_thread:_emscripten_set_keyup_callback_on_thread,emscripten_set_main_loop:_emscripten_set_main_loop,emscripten_set_main_loop_arg:_emscripten_set_main_loop_arg,emscripten_set_main_loop_expected_blockers:_emscripten_set_main_loop_expected_blockers,emscripten_set_main_loop_timing:_emscripten_set_main_loop_timing,emscripten_set_mousedown_callback_on_thread:_emscripten_set_mousedown_callback_on_thread,emscripten_set_mouseenter_callback_on_thread:_emscripten_set_mouseenter_callback_on_thread,emscripten_set_mouseleave_callback_on_thread:_emscripten_set_mouseleave_callback_on_thread,emscripten_set_mousemove_callback_on_thread:_emscripten_set_mousemove_callback_on_thread,emscripten_set_mouseout_callback_on_thread:_emscripten_set_mouseout_callback_on_thread,emscripten_set_mouseover_callback_on_thread:_emscripten_set_mouseover_callback_on_thread,emscripten_set_mouseup_callback_on_thread:_emscripten_set_mouseup_callback_on_thread,emscripten_set_orientationchange_callback_on_thread:_emscripten_set_orientationchange_callback_on_thread,emscripten_set_pointerlockchange_callback_on_thread:_emscripten_set_pointerlockchange_callback_on_thread,emscripten_set_pointerlockerror_callback_on_thread:_emscripten_set_pointerlockerror_callback_on_thread,emscripten_set_resize_callback_on_thread:_emscripten_set_resize_callback_on_thread,emscripten_set_scroll_callback_on_thread:_emscripten_set_scroll_callback_on_thread,emscripten_set_socket_close_callback:_emscripten_set_socket_close_callback,emscripten_set_socket_connection_callback:_emscripten_set_socket_connection_callback,emscripten_set_socket_error_callback:_emscripten_set_socket_error_callback,emscripten_set_socket_listen_callback:_emscripten_set_socket_listen_callback,emscripten_set_socket_message_callback:_emscripten_set_socket_message_callback,emscripten_set_socket_open_callback:_emscripten_set_socket_open_callback,emscripten_set_timeout:_emscripten_set_timeout,emscripten_set_timeout_loop:_emscripten_set_timeout_loop,emscripten_set_touchcancel_callback_on_thread:_emscripten_set_touchcancel_callback_on_thread,emscripten_set_touchend_callback_on_thread:_emscripten_set_touchend_callback_on_thread,emscripten_set_touchmove_callback_on_thread:_emscripten_set_touchmove_callback_on_thread,emscripten_set_touchstart_callback_on_thread:_emscripten_set_touchstart_callback_on_thread,emscripten_set_visibilitychange_callback_on_thread:_emscripten_set_visibilitychange_callback_on_thread,emscripten_set_webglcontextlost_callback_on_thread:_emscripten_set_webglcontextlost_callback_on_thread,emscripten_set_webglcontextrestored_callback_on_thread:_emscripten_set_webglcontextrestored_callback_on_thread,emscripten_set_wheel_callback_on_thread:_emscripten_set_wheel_callback_on_thread,emscripten_set_window_title:_emscripten_set_window_title,emscripten_sleep:_emscripten_sleep,emscripten_stack_snapshot:_emscripten_stack_snapshot,emscripten_stack_unwind_buffer:_emscripten_stack_unwind_buffer,emscripten_supports_offscreencanvas:_emscripten_supports_offscreencanvas,emscripten_throw_number:_emscripten_throw_number,emscripten_throw_string:_emscripten_throw_string,emscripten_unlock_orientation:_emscripten_unlock_orientation,emscripten_unwind_to_js_event_loop:_emscripten_unwind_to_js_event_loop,emscripten_vibrate:_emscripten_vibrate,emscripten_vibrate_pattern:_emscripten_vibrate_pattern,emscripten_webgl_commit_frame:_emscripten_webgl_commit_frame,emscripten_webgl_create_context:_emscripten_webgl_create_context,emscripten_webgl_destroy_context:_emscripten_webgl_destroy_context,emscripten_webgl_do_commit_frame:_emscripten_webgl_do_commit_frame,emscripten_webgl_do_create_context:_emscripten_webgl_do_create_context,emscripten_webgl_do_destroy_context:_emscripten_webgl_do_destroy_context,emscripten_webgl_do_get_current_context:_emscripten_webgl_do_get_current_context,emscripten_webgl_enable_ANGLE_instanced_arrays:_emscripten_webgl_enable_ANGLE_instanced_arrays,emscripten_webgl_enable_EXT_clip_control:_emscripten_webgl_enable_EXT_clip_control,emscripten_webgl_enable_EXT_polygon_offset_clamp:_emscripten_webgl_enable_EXT_polygon_offset_clamp,emscripten_webgl_enable_OES_vertex_array_object:_emscripten_webgl_enable_OES_vertex_array_object,emscripten_webgl_enable_WEBGL_draw_buffers:_emscripten_webgl_enable_WEBGL_draw_buffers,emscripten_webgl_enable_WEBGL_multi_draw:_emscripten_webgl_enable_WEBGL_multi_draw,emscripten_webgl_enable_WEBGL_polygon_mode:_emscripten_webgl_enable_WEBGL_polygon_mode,emscripten_webgl_enable_extension:_emscripten_webgl_enable_extension,emscripten_webgl_get_context_attributes:_emscripten_webgl_get_context_attributes,emscripten_webgl_get_current_context:_emscripten_webgl_get_current_context,emscripten_webgl_get_drawing_buffer_size:_emscripten_webgl_get_drawing_buffer_size,emscripten_webgl_get_parameter_d:_emscripten_webgl_get_parameter_d,emscripten_webgl_get_parameter_i64v:_emscripten_webgl_get_parameter_i64v,emscripten_webgl_get_parameter_o:_emscripten_webgl_get_parameter_o,emscripten_webgl_get_parameter_utf8:_emscripten_webgl_get_parameter_utf8,emscripten_webgl_get_parameter_v:_emscripten_webgl_get_parameter_v,emscripten_webgl_get_program_info_log_utf8:_emscripten_webgl_get_program_info_log_utf8,emscripten_webgl_get_program_parameter_d:_emscripten_webgl_get_program_parameter_d,emscripten_webgl_get_shader_info_log_utf8:_emscripten_webgl_get_shader_info_log_utf8,emscripten_webgl_get_shader_parameter_d:_emscripten_webgl_get_shader_parameter_d,emscripten_webgl_get_shader_source_utf8:_emscripten_webgl_get_shader_source_utf8,emscripten_webgl_get_supported_extensions:_emscripten_webgl_get_supported_extensions,emscripten_webgl_get_uniform_d:_emscripten_webgl_get_uniform_d,emscripten_webgl_get_uniform_v:_emscripten_webgl_get_uniform_v,emscripten_webgl_get_vertex_attrib_d:_emscripten_webgl_get_vertex_attrib_d,emscripten_webgl_get_vertex_attrib_o:_emscripten_webgl_get_vertex_attrib_o,emscripten_webgl_get_vertex_attrib_v:_emscripten_webgl_get_vertex_attrib_v,emscripten_webgl_make_context_current:_emscripten_webgl_make_context_current,emscripten_wget_data:_emscripten_wget_data,endprotoent:_endprotoent,environ_get:_environ_get,environ_sizes_get:_environ_sizes_get,exit:_exit,fd_close:_fd_close,fd_fdstat_get:_fd_fdstat_get,fd_pread:_fd_pread,fd_pwrite:_fd_pwrite,fd_read:_fd_read,fd_seek:_fd_seek,fd_sync:_fd_sync,fd_write:_fd_write,filledEllipseColor:_filledEllipseColor,filledEllipseRGBA:_filledEllipseRGBA,getaddrinfo:_getaddrinfo,getnameinfo:_getnameinfo,getprotobyname:_getprotobyname,getprotobynumber:_getprotobynumber,getprotoent:_getprotoent,glActiveTexture:_glActiveTexture,glAttachShader:_glAttachShader,glBegin:_glBegin,glBeginQueryEXT:_glBeginQueryEXT,glBindAttribLocation:_glBindAttribLocation,glBindBuffer:_glBindBuffer,glBindFramebuffer:_glBindFramebuffer,glBindRenderbuffer:_glBindRenderbuffer,glBindTexture:_glBindTexture,glBindVertexArray:_glBindVertexArray,glBindVertexArrayOES:_glBindVertexArrayOES,glBlendColor:_glBlendColor,glBlendEquation:_glBlendEquation,glBlendEquationSeparate:_glBlendEquationSeparate,glBlendFunc:_glBlendFunc,glBlendFuncSeparate:_glBlendFuncSeparate,glBufferData:_glBufferData,glBufferSubData:_glBufferSubData,glCheckFramebufferStatus:_glCheckFramebufferStatus,glClear:_glClear,glClearColor:_glClearColor,glClearDepth:_glClearDepth,glClearDepthf:_glClearDepthf,glClearStencil:_glClearStencil,glClipControlEXT:_glClipControlEXT,glColorMask:_glColorMask,glCompileShader:_glCompileShader,glCompressedTexImage2D:_glCompressedTexImage2D,glCompressedTexSubImage2D:_glCompressedTexSubImage2D,glCopyTexImage2D:_glCopyTexImage2D,glCopyTexSubImage2D:_glCopyTexSubImage2D,glCreateProgram:_glCreateProgram,glCreateShader:_glCreateShader,glCullFace:_glCullFace,glDeleteBuffers:_glDeleteBuffers,glDeleteFramebuffers:_glDeleteFramebuffers,glDeleteProgram:_glDeleteProgram,glDeleteQueriesEXT:_glDeleteQueriesEXT,glDeleteRenderbuffers:_glDeleteRenderbuffers,glDeleteShader:_glDeleteShader,glDeleteTextures:_glDeleteTextures,glDeleteVertexArrays:_glDeleteVertexArrays,glDeleteVertexArraysOES:_glDeleteVertexArraysOES,glDepthFunc:_glDepthFunc,glDepthMask:_glDepthMask,glDepthRange:_glDepthRange,glDepthRangef:_glDepthRangef,glDetachShader:_glDetachShader,glDisable:_glDisable,glDisableVertexAttribArray:_glDisableVertexAttribArray,glDrawArrays:_glDrawArrays,glDrawArraysInstanced:_glDrawArraysInstanced,glDrawArraysInstancedANGLE:_glDrawArraysInstancedANGLE,glDrawArraysInstancedARB:_glDrawArraysInstancedARB,glDrawArraysInstancedEXT:_glDrawArraysInstancedEXT,glDrawArraysInstancedNV:_glDrawArraysInstancedNV,glDrawBuffers:_glDrawBuffers,glDrawBuffersEXT:_glDrawBuffersEXT,glDrawBuffersWEBGL:_glDrawBuffersWEBGL,glDrawElements:_glDrawElements,glDrawElementsInstanced:_glDrawElementsInstanced,glDrawElementsInstancedANGLE:_glDrawElementsInstancedANGLE,glDrawElementsInstancedARB:_glDrawElementsInstancedARB,glDrawElementsInstancedEXT:_glDrawElementsInstancedEXT,glDrawElementsInstancedNV:_glDrawElementsInstancedNV,glEnable:_glEnable,glEnableVertexAttribArray:_glEnableVertexAttribArray,glEndQueryEXT:_glEndQueryEXT,glFinish:_glFinish,glFlush:_glFlush,glFramebufferRenderbuffer:_glFramebufferRenderbuffer,glFramebufferTexture2D:_glFramebufferTexture2D,glFrontFace:_glFrontFace,glGenBuffers:_glGenBuffers,glGenFramebuffers:_glGenFramebuffers,glGenQueriesEXT:_glGenQueriesEXT,glGenRenderbuffers:_glGenRenderbuffers,glGenTextures:_glGenTextures,glGenVertexArrays:_glGenVertexArrays,glGenVertexArraysOES:_glGenVertexArraysOES,glGenerateMipmap:_glGenerateMipmap,glGetActiveAttrib:_glGetActiveAttrib,glGetActiveUniform:_glGetActiveUniform,glGetAttachedShaders:_glGetAttachedShaders,glGetAttribLocation:_glGetAttribLocation,glGetBooleanv:_glGetBooleanv,glGetBufferParameteriv:_glGetBufferParameteriv,glGetError:_glGetError,glGetFloatv:_glGetFloatv,glGetFramebufferAttachmentParameteriv:_glGetFramebufferAttachmentParameteriv,glGetIntegerv:_glGetIntegerv,glGetProgramInfoLog:_glGetProgramInfoLog,glGetProgramiv:_glGetProgramiv,glGetQueryObjecti64vEXT:_glGetQueryObjecti64vEXT,glGetQueryObjectivEXT:_glGetQueryObjectivEXT,glGetQueryObjectui64vEXT:_glGetQueryObjectui64vEXT,glGetQueryObjectuivEXT:_glGetQueryObjectuivEXT,glGetQueryivEXT:_glGetQueryivEXT,glGetRenderbufferParameteriv:_glGetRenderbufferParameteriv,glGetShaderInfoLog:_glGetShaderInfoLog,glGetShaderPrecisionFormat:_glGetShaderPrecisionFormat,glGetShaderSource:_glGetShaderSource,glGetShaderiv:_glGetShaderiv,glGetString:_glGetString,glGetTexParameterfv:_glGetTexParameterfv,glGetTexParameteriv:_glGetTexParameteriv,glGetUniformLocation:_glGetUniformLocation,glGetUniformfv:_glGetUniformfv,glGetUniformiv:_glGetUniformiv,glGetVertexAttribPointerv:_glGetVertexAttribPointerv,glGetVertexAttribfv:_glGetVertexAttribfv,glGetVertexAttribiv:_glGetVertexAttribiv,glHint:_glHint,glIsBuffer:_glIsBuffer,glIsEnabled:_glIsEnabled,glIsFramebuffer:_glIsFramebuffer,glIsProgram:_glIsProgram,glIsQueryEXT:_glIsQueryEXT,glIsRenderbuffer:_glIsRenderbuffer,glIsShader:_glIsShader,glIsTexture:_glIsTexture,glIsVertexArray:_glIsVertexArray,glIsVertexArrayOES:_glIsVertexArrayOES,glLineWidth:_glLineWidth,glLinkProgram:_glLinkProgram,glLoadIdentity:_glLoadIdentity,glMatrixMode:_glMatrixMode,glMultiDrawArrays:_glMultiDrawArrays,glMultiDrawArraysANGLE:_glMultiDrawArraysANGLE,glMultiDrawArraysInstancedANGLE:_glMultiDrawArraysInstancedANGLE,glMultiDrawArraysInstancedWEBGL:_glMultiDrawArraysInstancedWEBGL,glMultiDrawArraysWEBGL:_glMultiDrawArraysWEBGL,glMultiDrawElements:_glMultiDrawElements,glMultiDrawElementsANGLE:_glMultiDrawElementsANGLE,glMultiDrawElementsInstancedANGLE:_glMultiDrawElementsInstancedANGLE,glMultiDrawElementsInstancedWEBGL:_glMultiDrawElementsInstancedWEBGL,glMultiDrawElementsWEBGL:_glMultiDrawElementsWEBGL,glPixelStorei:_glPixelStorei,glPolygonModeWEBGL:_glPolygonModeWEBGL,glPolygonOffset:_glPolygonOffset,glPolygonOffsetClampEXT:_glPolygonOffsetClampEXT,glQueryCounterEXT:_glQueryCounterEXT,glReadPixels:_glReadPixels,glReleaseShaderCompiler:_glReleaseShaderCompiler,glRenderbufferStorage:_glRenderbufferStorage,glSampleCoverage:_glSampleCoverage,glScissor:_glScissor,glShaderBinary:_glShaderBinary,glShaderSource:_glShaderSource,glStencilFunc:_glStencilFunc,glStencilFuncSeparate:_glStencilFuncSeparate,glStencilMask:_glStencilMask,glStencilMaskSeparate:_glStencilMaskSeparate,glStencilOp:_glStencilOp,glStencilOpSeparate:_glStencilOpSeparate,glTexImage2D:_glTexImage2D,glTexParameterf:_glTexParameterf,glTexParameterfv:_glTexParameterfv,glTexParameteri:_glTexParameteri,glTexParameteriv:_glTexParameteriv,glTexSubImage2D:_glTexSubImage2D,glUniform1f:_glUniform1f,glUniform1fv:_glUniform1fv,glUniform1i:_glUniform1i,glUniform1iv:_glUniform1iv,glUniform2f:_glUniform2f,glUniform2fv:_glUniform2fv,glUniform2i:_glUniform2i,glUniform2iv:_glUniform2iv,glUniform3f:_glUniform3f,glUniform3fv:_glUniform3fv,glUniform3i:_glUniform3i,glUniform3iv:_glUniform3iv,glUniform4f:_glUniform4f,glUniform4fv:_glUniform4fv,glUniform4i:_glUniform4i,glUniform4iv:_glUniform4iv,glUniformMatrix2fv:_glUniformMatrix2fv,glUniformMatrix3fv:_glUniformMatrix3fv,glUniformMatrix4fv:_glUniformMatrix4fv,glUseProgram:_glUseProgram,glValidateProgram:_glValidateProgram,glVertexAttrib1f:_glVertexAttrib1f,glVertexAttrib1fv:_glVertexAttrib1fv,glVertexAttrib2f:_glVertexAttrib2f,glVertexAttrib2fv:_glVertexAttrib2fv,glVertexAttrib3f:_glVertexAttrib3f,glVertexAttrib3fv:_glVertexAttrib3fv,glVertexAttrib4f:_glVertexAttrib4f,glVertexAttrib4fv:_glVertexAttrib4fv,glVertexAttribDivisor:_glVertexAttribDivisor,glVertexAttribDivisorANGLE:_glVertexAttribDivisorANGLE,glVertexAttribDivisorARB:_glVertexAttribDivisorARB,glVertexAttribDivisorEXT:_glVertexAttribDivisorEXT,glVertexAttribDivisorNV:_glVertexAttribDivisorNV,glVertexAttribPointer:_glVertexAttribPointer,glVertexPointer:_glVertexPointer,glViewport:_glViewport,glewGetErrorString:_glewGetErrorString,glewGetExtension:_glewGetExtension,glewGetString:_glewGetString,glewInit:_glewInit,glewIsSupported:_glewIsSupported,glutCreateWindow:_glutCreateWindow,glutDestroyWindow:_glutDestroyWindow,glutDisplayFunc:_glutDisplayFunc,glutFullScreen:_glutFullScreen,glutGet:_glutGet,glutGetModifiers:_glutGetModifiers,glutIdleFunc:_glutIdleFunc,glutInit:_glutInit,glutInitDisplayMode:_glutInitDisplayMode,glutInitWindowPosition:_glutInitWindowPosition,glutInitWindowSize:_glutInitWindowSize,glutKeyboardFunc:_glutKeyboardFunc,glutKeyboardUpFunc:_glutKeyboardUpFunc,glutMainLoop:_glutMainLoop,glutMotionFunc:_glutMotionFunc,glutMouseFunc:_glutMouseFunc,glutPassiveMotionFunc:_glutPassiveMotionFunc,glutPositionWindow:_glutPositionWindow,glutPostRedisplay:_glutPostRedisplay,glutReshapeFunc:_glutReshapeFunc,glutReshapeWindow:_glutReshapeWindow,glutSetCursor:_glutSetCursor,glutSpecialFunc:_glutSpecialFunc,glutSpecialUpFunc:_glutSpecialUpFunc,glutSwapBuffers:_glutSwapBuffers,glutTimerFunc:_glutTimerFunc,haybarn_block_for,lineColor:_lineColor,lineRGBA:_lineRGBA,pixelRGBA:_pixelRGBA,proc_exit:_proc_exit,random_get:_random_get,rectangleColor:_rectangleColor,rectangleRGBA:_rectangleRGBA,rotozoomSurface:_rotozoomSurface,setNetworkCallback:_setNetworkCallback,setprotoent:_setprotoent,stackAlloc:_stackAlloc,stackRestore:_stackRestore,stackSave:_stackSave,strptime:_strptime,strptime_l:_strptime_l,uuid_clear:_uuid_clear,uuid_compare:_uuid_compare,uuid_copy:_uuid_copy,uuid_generate:_uuid_generate,uuid_is_null:_uuid_is_null,uuid_parse:_uuid_parse,uuid_type:_uuid_type,uuid_unparse:_uuid_unparse,uuid_unparse_lower:_uuid_unparse_lower,uuid_unparse_upper:_uuid_unparse_upper,uuid_variant:_uuid_variant,vgi_wasm_ensure_worker_js:_vgi_wasm_ensure_worker_js,vgi_wasm_set_channel:_vgi_wasm_set_channel,vgi_wasm_slot_open:_vgi_wasm_slot_open,vgi_wasm_slot_read:_vgi_wasm_slot_read,vgi_wasm_slot_release:_vgi_wasm_slot_release,vgi_wasm_slot_terminal_error:_vgi_wasm_slot_terminal_error,vgi_wasm_slot_write:_vgi_wasm_slot_write,vgi_wasm_slot_write_eos:_vgi_wasm_slot_write_eos,zoomSurface:_zoomSurface},__hbMainExports=null,__hbLazy=null,__hbGOTGet=GOTHandler.get,__hbUpdateGOT=updateGOT,__hbMerge=mergeLibSymbols;function __hbGOTFromMain(e){if(__hbMainExports&&!GOT[e]&&typeof e=="string"&&e in __hbMainExports&&!isInternalSym(e)){var t={};t[e]=__hbMainExports[e],__hbUpdateGOT(t)}}GOTHandler.get=function(e,t){return __hbGOTFromMain(t),__hbGOTGet.call(this,e,t)},updateGOT=(e,t)=>{if(__hbMainExports){if(e===__hbMainExports&&!t){for(var n in GOT)if(n in e&&!isInternalSym(n)&&GOT[n].value==-1){var o={};o[n]=e[n],__hbUpdateGOT(o)}return}if(!t)for(var n in e)__hbGOTFromMain(n)}return __hbUpdateGOT(e,t)},mergeLibSymbols=(e,t)=>{if(t!=="main"||__hbMainExports)return __hbMerge(e,t);__hbMainExports=e;var n=wasmImports,o=u=>{if(typeof u!="string"||!(u in e))return!1;var d=n[u];return!d||!!d.stub},c={get:(u,d)=>o(d)?e[d]:u[d],has:(u,d)=>d in u||o(d),getOwnPropertyDescriptor:(u,d)=>o(d)?{value:e[d],writable:!0,enumerable:!0,configurable:!0}:Reflect.getOwnPropertyDescriptor(u,d),ownKeys:u=>(__hbMaterialize(),Reflect.ownKeys(u))};__hbLazy={t:n,h:o,H:c},wasmImports=new Proxy(n,c)};function __hbMaterialize(){var e=__hbLazy;if(e){__hbLazy=null;var t=wasmImports,n=e.t,o=__hbMainExports;for(var c in o)e.h(c)&&(n[c]=o[c]);delete e.H.get,delete e.H.has,delete e.H.getOwnPropertyDescriptor,delete e.H.ownKeys,wasmImports=n;for(var u in LDSO.loadedLibsByName){var d=LDSO.loadedLibsByName[u];d.exports===t&&(d.exports=n)}}}function __hbWrapDlsym(){["_dlsym_js","_dlsym_catchup_js"].forEach(e=>{var t=wasmImports[e],n=function(o){if(__hbLazy){var c=LDSO.loadedLibsByHandle[o>>>0];c&&c.exports===wasmImports&&__hbMaterialize()}return t.apply(this,arguments)};n.sig=t.sig,wasmImports[e]=n})}if(wasmImports)__hbWrapDlsym();else{var __hbAssignWasmImports=assignWasmImports;assignWasmImports=function(){__hbAssignWasmImports(),__hbWrapDlsym()}}function __hbOverlay(e){var t={};return new Proxy(t,{get:(n,o)=>o in t?t[o]:e[o],set:(n,o,c)=>(t[o]=c,!0),has:(n,o)=>o in t||o in e,ownKeys:()=>Reflect.ownKeys(e),getOwnPropertyDescriptor:(n,o)=>o in t||o in e?{value:o in t?t[o]:e[o],writable:!0,enumerable:!0,configurable:!0}:void 0})}function applySignatureConversions(e){e=__hbOverlay(e);var t=G=>U=>G(U)>>>0,n=G=>(U,R)=>G(U,R)>>>0,o=G=>(U,R,N)=>G(U,R,N)>>>0,c=G=>(U,R,N,ae)=>G(U,R,N,ae)>>>0,u=G=>()=>G()>>>0,d=G=>(U,R)=>G(U,R)>>>0,p=G=>(U,R,N)=>G(U,R,N)>>>0,h=G=>U=>G(U)>>>0,b=G=>(U,R,N,ae)=>G(U,R,N,ae)>>>0,v=G=>(U,R,N)=>G(U,R,N)>>>0,y=G=>(U,R,N,ae,Be,Ut)=>G(U,R,N,ae,Be,Ut)>>>0,S=G=>(U,R,N)=>G(U,R,N)>>>0,A=G=>(U,R)=>G(U,R)>>>0,E=G=>(U,R,N,ae,Be)=>G(U,R,N,ae,Be)>>>0,L=G=>(U,R,N,ae)=>G(U,R,N,ae)>>>0,w=G=>(U,R,N,ae,Be)=>G(U,R,N,ae,Be)>>>0,T=G=>(U,R,N,ae)=>G(U,R,N,ae)>>>0,F=G=>(U,R)=>G(U,R)>>>0,P=G=>(U,R,N)=>G(U,R,N)>>>0,I=G=>(U,R,N,ae)=>G(U,R,N,ae)>>>0,B=G=>(U,R,N,ae)=>G(U,R,N,ae)>>>0,C=G=>(U,R,N,ae,Be)=>G(U,R,N,ae,Be)>>>0,x=G=>(U,R,N,ae)=>G(U,R,N,ae)>>>0,M=G=>(U,R,N,ae)=>G(U,R,N,ae)>>>0,H=G=>(U,R,N)=>G(U,R,N)>>>0,re=G=>(U,R,N,ae,Be,Ut)=>G(U,R,N,ae,Be,Ut)>>>0,be=G=>U=>G(U)>>>0,se=G=>(U,R,N)=>G(U,R,N)>>>0,Ee=G=>(U,R,N,ae,Be,Ut)=>G(U,R,N,ae,Be,Ut)>>>0;return e.__getTypeName=t(e.__getTypeName),e.strdup=t(e.strdup),e.strlen=t(e.strlen),e.__cxa_allocate_exception=t(e.__cxa_allocate_exception),e.malloc=t(e.malloc),e.realloc=n(e.realloc),e.memchr=o(e.memchr),e.__dynamic_cast=c(e.__dynamic_cast),e.dlsym=n(e.dlsym),e.dlerror=u(e.dlerror),e.fopen=n(e.fopen),e.fread=c(e.fread),e.dlopen=d(e.dlopen),e.strtoul=p(e.strtoul),e.calloc=n(e.calloc),e.wmemchr=o(e.wmemchr),e.localtime_r=n(e.localtime_r),e.getenv=t(e.getenv),e.__errno_location=u(e.__errno_location),e.sysconf=h(e.sysconf),e.getcwd=n(e.getcwd),e.strerror=h(e.strerror),e.pread=b(e.pread),e.read=v(e.read),e.pwrite=b(e.pwrite),e.write=v(e.write),e.opendir=t(e.opendir),e.readdir=t(e.readdir),e.realpath=n(e.realpath),e.mmap=y(e.mmap),e.__cxa_init_primary_exception=S(e.__cxa_init_primary_exception),e.wcslen=t(e.wcslen),e.strtol=p(e.strtol),e.strchr=d(e.strchr),e.strstr=n(e.strstr),e.memset=o(e.memset),e.ftell=t(e.ftell),e.fwrite=c(e.fwrite),e.emscripten_GetProcAddress=t(e.emscripten_GetProcAddress),e.strcpy=n(e.strcpy),e.emscripten_webgl1_get_proc_address=t(e.emscripten_webgl1_get_proc_address),e._webgl1_match_ext_proc_address_without_suffix=t(e._webgl1_match_ext_proc_address_without_suffix),e.emscripten_webgl_get_proc_address=t(e.emscripten_webgl_get_proc_address),e.SDL_GL_GetProcAddress=t(e.SDL_GL_GetProcAddress),e.eglGetProcAddress=t(e.eglGetProcAddress),e.glfwGetProcAddress=t(e.glfwGetProcAddress),e.alcGetProcAddress=n(e.alcGetProcAddress),e.alGetProcAddress=t(e.alGetProcAddress),e.emscripten_proxy_get_system_queue=u(e.emscripten_proxy_get_system_queue),e.emscripten_dom_pk_code_to_string=h(e.emscripten_dom_pk_code_to_string),e.emscripten_dom_vk_to_string=h(e.emscripten_dom_vk_to_string),e.getdate=t(e.getdate),e.getpwnam=t(e.getpwnam),e.getpwuid=h(e.getpwuid),e.getpwent=u(e.getpwent),e.getgrnam=t(e.getgrnam),e.getgrgid=h(e.getgrgid),e.getgrent=u(e.getgrent),e.popen=n(e.popen),e.emscripten_stack_get_end=u(e.emscripten_stack_get_end),e.emscripten_stack_get_base=u(e.emscripten_stack_get_base),e.__ctype_b_loc=u(e.__ctype_b_loc),e.__ctype_get_mb_cur_max=u(e.__ctype_get_mb_cur_max),e.__ctype_tolower_loc=u(e.__ctype_tolower_loc),e.__ctype_toupper_loc=u(e.__ctype_toupper_loc),e.emscripten_builtin_malloc=t(e.emscripten_builtin_malloc),e.fdopen=A(e.fdopen),e.__mo_lookup=S(e.__mo_lookup),e.__get_tp=u(e.__get_tp),e.memcpy=S(e.memcpy),e.a64l=t(e.a64l),e.l64a=t(e.l64a),e.aligned_alloc=n(e.aligned_alloc),e.asctime=t(e.asctime),e.__nl_langinfo_l=A(e.__nl_langinfo_l),e.asctime_r=n(e.asctime_r),e.__libc_calloc=n(e.__libc_calloc),e.atol=t(e.atol),e.basename=t(e.basename),e.__xpg_basename=t(e.__xpg_basename),e.memmove=S(e.memmove),e.bind_textdomain_codeset=n(e.bind_textdomain_codeset),e.bsearch=E(e.bsearch),e.c16rtomb=o(e.c16rtomb),e.wcrtomb=o(e.wcrtomb),e.c32rtomb=o(e.c32rtomb),e.catgets=L(e.catgets),e.catopen=d(e.catopen),e.confstr=v(e.confstr),e.crypt=n(e.crypt),e.__crypt_blowfish=S(e.__crypt_blowfish),e.__crypt_des=S(e.__crypt_des),e.__crypt_md5=S(e.__crypt_md5),e.strnlen=n(e.strnlen),e.__crypt_sha256=S(e.__crypt_sha256),e.__crypt_sha512=S(e.__crypt_sha512),e.crypt_r=S(e.crypt_r),e.ctermid=t(e.ctermid),e.ctime=t(e.ctime),e.localtime=t(e.localtime),e.ctime_r=n(e.ctime_r),e.bindtextdomain=n(e.bindtextdomain),e.dcngettext=w(e.dcngettext),e.__gettextdomain=u(e.__gettextdomain),e.dcgettext=p(e.dcgettext),e.dngettext=c(e.dngettext),e.dgettext=n(e.dgettext),e.dirname=t(e.dirname),e.__libc_malloc=t(e.__libc_malloc),e.__duplocale=t(e.__duplocale),e.duplocale=t(e.duplocale),e._emscripten_find_dylib=c(e._emscripten_find_dylib),e.strspn=n(e.strspn),e.strcspn=n(e.strcspn),e.emscripten_dlopen_promise=d(e.emscripten_dlopen_promise),e.ecvt=T(e.ecvt),e.emscripten_get_heap_size=u(e.emscripten_get_heap_size),e.emscripten_builtin_memcpy=S(e.emscripten_builtin_memcpy),e.emscripten_builtin_memmove=S(e.emscripten_builtin_memmove),e.emscripten_builtin_memset=o(e.emscripten_builtin_memset),e.__syscall_mmap2=y(e.__syscall_mmap2),e.emscripten_builtin_memalign=n(e.emscripten_builtin_memalign),e.emscripten_stack_get_current=u(e.emscripten_stack_get_current),e.gethostent=u(e.gethostent),e.getnetent=u(e.getnetent),e.ether_aton_r=n(e.ether_aton_r),e.ether_aton=t(e.ether_aton),e.ether_ntoa_r=n(e.ether_ntoa_r),e.ether_ntoa=t(e.ether_ntoa),e.__fbufsize=t(e.__fbufsize),e.__fpending=t(e.__fpending),e.__freadahead=t(e.__freadahead),e.__freadptr=n(e.__freadptr),e.fcvt=T(e.fcvt),e.fdopendir=h(e.fdopendir),e.fgetln=n(e.fgetln),e.getline=S(e.getline),e.fgets=o(e.fgets),e.fgets_unlocked=o(e.fgets_unlocked),e.mbrtowc=c(e.mbrtowc),e.fgetws=o(e.fgetws),e.fgetws_unlocked=o(e.fgetws_unlocked),e.fmemopen=S(e.fmemopen),e.fopencookie=S(e.fopencookie),e.fpathconf=F(e.fpathconf),e.wcsrtombs=c(e.wcsrtombs),e.fread_unlocked=c(e.fread_unlocked),e.freopen=S(e.freopen),e.fwrite_unlocked=c(e.fwrite_unlocked),e.gai_strerror=h(e.gai_strerror),e.gcvt=P(e.gcvt),e.get_current_dir_name=u(e.get_current_dir_name),e.getdelim=I(e.getdelim),e.__getdelim=I(e.__getdelim),e.gethostid=u(e.gethostid),e.getlogin=u(e.getlogin),e.getpass=t(e.getpass),e.gets=t(e.gets),e.getservbyname=n(e.getservbyname),e.getservbyport=A(e.getservbyport),e.gmtime=t(e.gmtime),e.__h_errno_location=u(e.__h_errno_location),e.hstrerror=h(e.hstrerror),e.hsearch=d(e.hsearch),e.iconv_open=n(e.iconv_open),e.iconv=E(e.iconv),e.if_indextoname=A(e.if_indextoname),e.strncpy=S(e.strncpy),e.if_nameindex=u(e.if_nameindex),e.index=d(e.index),e.inet_ntoa=h(e.inet_ntoa),e.inet_ntop=b(e.inet_ntop),e.wcschr=d(e.wcschr),e.labs=t(e.labs),e.__nl_langinfo=h(e.__nl_langinfo),e.nl_langinfo=h(e.nl_langinfo),e.nl_langinfo_l=A(e.nl_langinfo_l),e.get_phys_pages=u(e.get_phys_pages),e.get_avphys_pages=u(e.get_avphys_pages),e.pthread_getspecific=h(e.pthread_getspecific),e.pthread_self=u(e.pthread_self),e.localeconv=u(e.localeconv),e.nrand48=t(e.nrand48),e.lrand48=u(e.lrand48),e.lrint=h(e.lrint),e.lrintf=h(e.lrintf),e.lrintl=F(e.lrintl),e.lround=h(e.lround),e.lroundf=h(e.lroundf),e.lroundl=F(e.lroundl),e.lsearch=E(e.lsearch),e.lfind=E(e.lfind),e.mbrlen=S(e.mbrlen),e.mbrtoc16=c(e.mbrtoc16),e.mbrtoc32=c(e.mbrtoc32),e.mbsnrtowcs=E(e.mbsnrtowcs),e.mbsrtowcs=c(e.mbsrtowcs),e.mbstowcs=S(e.mbstowcs),e.memccpy=I(e.memccpy),e.memmem=c(e.memmem),e.mempcpy=S(e.mempcpy),e.memrchr=o(e.memrchr),e.mkdtemp=t(e.mkdtemp),e.mktemp=t(e.mktemp),e.gmtime_r=n(e.gmtime_r),e.emscripten_builtin_mmap=y(e.emscripten_builtin_mmap),e.setmntent=n(e.setmntent),e.getmntent_r=B(e.getmntent_r),e.getmntent=t(e.getmntent),e.hasmntopt=n(e.hasmntopt),e.jrand48=t(e.jrand48),e.mrand48=u(e.mrand48),e.mremap=C(e.mremap),e.send=b(e.send),e.recv=b(e.recv),e.getnetbyaddr=F(e.getnetbyaddr),e.getnetbyname=t(e.getnetbyname),e.__newlocale=v(e.__newlocale),e.newlocale=v(e.newlocale),e.ns_get32=t(e.ns_get32),e.open_memstream=n(e.open_memstream),e.open_wmemstream=n(e.open_wmemstream),e.pathconf=d(e.pathconf),e.posix_getdents=b(e.posix_getdents),e.preadv=x(e.preadv),e.strrchr=d(e.strrchr),e.em_proxying_queue_create=u(e.em_proxying_queue_create),e.thrd_current=u(e.thrd_current),e.emscripten_main_runtime_thread_id=u(e.emscripten_main_runtime_thread_id),e.ptsname=h(e.ptsname),e.pwritev=x(e.pwritev),e.initstate=v(e.initstate),e.setstate=t(e.setstate),e.random=u(e.random),e.readlink=S(e.readlink),e.readlinkat=M(e.readlinkat),e.readv=H(e.readv),e.reallocarray=S(e.reallocarray),e.recvmsg=H(e.recvmsg),e.regerror=M(e.regerror),e.sendto=re(e.sendto),e.sendmsg=H(e.sendmsg),e.__res_state=u(e.__res_state),e.rindex=d(e.rindex),e.secure_getenv=t(e.secure_getenv),e.seed48=t(e.seed48),e.getservent=u(e.getservent),e.setlocale=A(e.setlocale),e.signal=A(e.signal),e.bsd_signal=A(e.bsd_signal),e.__sysv_signal=A(e.__sysv_signal),e.stpcpy=n(e.stpcpy),e.stpncpy=S(e.stpncpy),e.strcasestr=n(e.strcasestr),e.strcat=n(e.strcat),e.strchrnul=d(e.strchrnul),e.__strerror_l=A(e.__strerror_l),e.strerror_l=A(e.strerror_l),e.strfmon_l=E(e.strfmon_l),e.strfmon=c(e.strfmon),e.strftime=c(e.strftime),e.strftime_l=E(e.strftime_l),e.strlcat=S(e.strlcat),e.strlcpy=S(e.strlcpy),e.strlwr=t(e.strlwr),e.strncat=S(e.strncat),e.strndup=n(e.strndup),e.strpbrk=n(e.strpbrk),e.strsep=n(e.strsep),e.strsignal=h(e.strsignal),e.strtok=n(e.strtok),e.strtok_r=S(e.strtok_r),e.__strtol_internal=p(e.__strtol_internal),e.__strtoul_internal=p(e.__strtoul_internal),e.strtoul_l=I(e.strtoul_l),e.strtol_l=I(e.strtol_l),e.strupr=t(e.strupr),e.__strxfrm_l=c(e.__strxfrm_l),e.strxfrm=S(e.strxfrm),e.strxfrm_l=c(e.strxfrm_l),e.tdelete=S(e.tdelete),e.telldir=t(e.telldir),e.tempnam=n(e.tempnam),e.textdomain=t(e.textdomain),e.gettext=t(e.gettext),e.ngettext=S(e.ngettext),e.tfind=S(e.tfind),e.tmpfile=u(e.tmpfile),e.tmpnam=t(e.tmpnam),e.tsearch=S(e.tsearch),e.ttyname=h(e.ttyname),e.__uselocale=t(e.__uselocale),e.uselocale=t(e.uselocale),e.wcsnlen=n(e.wcsnlen),e.wcpcpy=n(e.wcpcpy),e.wcscpy=n(e.wcscpy),e.wcpncpy=S(e.wcpncpy),e.wcsncpy=S(e.wcsncpy),e.wcscat=n(e.wcscat),e.wcscspn=n(e.wcscspn),e.wcsdup=t(e.wcsdup),e.wmemcpy=S(e.wmemcpy),e.__wcsftime_l=E(e.__wcsftime_l),e.wcstoul=p(e.wcstoul),e.wcsftime=c(e.wcsftime),e.wcsftime_l=E(e.wcsftime_l),e.wcsncat=S(e.wcsncat),e.wmemset=o(e.wmemset),e.wcsnrtombs=E(e.wcsnrtombs),e.wcspbrk=n(e.wcspbrk),e.wcsrchr=d(e.wcsrchr),e.wcsspn=n(e.wcsspn),e.wcsstr=n(e.wcsstr),e.wcstok=S(e.wcstok),e.wcstol=p(e.wcstol),e.wcstombs=S(e.wcstombs),e.wcswcs=n(e.wcswcs),e.__wcsxfrm_l=c(e.__wcsxfrm_l),e.wcsxfrm=S(e.wcsxfrm),e.wcsxfrm_l=c(e.wcsxfrm_l),e.wctrans=t(e.wctrans),e.__wctrans_l=n(e.__wctrans_l),e.wctrans_l=n(e.wctrans_l),e.wmemmove=S(e.wmemmove),e.writev=H(e.writev),e.sbrk=be(e.sbrk),e.__libc_realloc=n(e.__libc_realloc),e.realloc_in_place=n(e.realloc_in_place),e.memalign=n(e.memalign),e.valloc=t(e.valloc),e.pvalloc=t(e.pvalloc),e.malloc_usable_size=t(e.malloc_usable_size),e.malloc_footprint=u(e.malloc_footprint),e.malloc_max_footprint=u(e.malloc_max_footprint),e.malloc_footprint_limit=u(e.malloc_footprint_limit),e.malloc_set_footprint_limit=t(e.malloc_set_footprint_limit),e.independent_calloc=S(e.independent_calloc),e.independent_comalloc=S(e.independent_comalloc),e.bulk_free=n(e.bulk_free),e.emscripten_builtin_realloc=n(e.emscripten_builtin_realloc),e.emscripten_builtin_calloc=n(e.emscripten_builtin_calloc),e.emscripten_get_sbrk_ptr=u(e.emscripten_get_sbrk_ptr),e._sbrk64=h(e._sbrk64),e.__emutls_get_address=t(e.__emutls_get_address),e.emscripten_stack_get_free=u(e.emscripten_stack_get_free),e._emscripten_stack_alloc=t(e._emscripten_stack_alloc),e.__cxa_current_primary_exception=u(e.__cxa_current_primary_exception),e.__cxa_demangle=c(e.__cxa_demangle),e.__cxa_get_exception_ptr=t(e.__cxa_get_exception_ptr),e.__thrown_object_from_unwind_exception=t(e.__thrown_object_from_unwind_exception),e.__get_exception_terminate_message=t(e.__get_exception_terminate_message),e.gethostbyaddr=se(e.gethostbyaddr),e.gethostbyname=t(e.gethostbyname),e.gethostbyname2=d(e.gethostbyname2),e.recvfrom=Ee(e.recvfrom),e}function callMain(e=[]){var t=resolveGlobalSymbol("main").sym;if(t){e.unshift(thisProgram);var n=e.length,o=stackAlloc((n+1)*4),c=o;for(var u of e)HEAPU32[c>>>2>>>0]=stringToUTF8OnStack(u),c+=4;HEAPU32[c>>>2>>>0]=0;try{var d=t(n,o);return exitJS(d,!0),d}catch(p){return handleException(p)}}}async function run(e=programArgs){var o;preRun(),runDependencies&&await resolveRunDependencies();var t=Module.setStatus;if(t&&(t("Running..."),await new Promise(c=>setTimeout(c,1)),setTimeout(t,1,"")),!ABORT){initRuntime(),callRuntimeCallbacks(onMains),(o=Module.onRuntimeInitialized)==null||o.call(Module);var n=Module.noInitialRun||!1;n||callMain(e),postRun()}}var wasmExports;return wasmExports=await createWasm(),await run(),Module}})();typeof exports=="object"&&typeof module=="object"?(module.exports=DuckDB,module.exports.default=DuckDB):typeof define=="function"&&define.amd&&define([],()=>DuckDB)});var d_=Gn(()=>{});var f_=Gn(()=>{});var p_=Gn((FA,Ca)=>{(function(){"use strict";var l="input is invalid type",r=typeof window=="object",a=r?window:{};a.JS_SHA256_NO_WINDOW&&(r=!1);var _=!r&&typeof self=="object",f=!a.JS_SHA256_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node&&process.type!="renderer";f?a=global:_&&(a=self);var m=!a.JS_SHA256_NO_COMMON_JS&&typeof Ca=="object"&&Ca.exports,g=typeof define=="function"&&define.amd,e=!a.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",t="0123456789abcdef".split(""),n=[-2147483648,8388608,32768,128],o=[24,16,8,0],c=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],u=["hex","array","digest","arrayBuffer"],d=[];(a.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(L){return Object.prototype.toString.call(L)==="[object Array]"}),e&&(a.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(L){return typeof L=="object"&&L.buffer&&L.buffer.constructor===ArrayBuffer});var p=function(L,w){return function(T){return new S(w,!0).update(T)[L]()}},h=function(L){var w=p("hex",L);f&&(w=b(w,L)),w.create=function(){return new S(L)},w.update=function(P){return w.create().update(P)};for(var T=0;T<u.length;++T){var F=u[T];w[F]=p(F,L)}return w},b=function(L,w){var T=d_(),F=f_().Buffer,P=w?"sha224":"sha256",I;F.from&&!a.JS_SHA256_NO_BUFFER_FROM?I=F.from:I=function(C){return new F(C)};var B=function(C){if(typeof C=="string")return T.createHash(P).update(C,"utf8").digest("hex");if(C==null)throw new Error(l);return C.constructor===ArrayBuffer&&(C=new Uint8Array(C)),Array.isArray(C)||ArrayBuffer.isView(C)||C.constructor===F?T.createHash(P).update(I(C)).digest("hex"):L(C)};return B},v=function(L,w){return function(T,F){return new A(T,w,!0).update(F)[L]()}},y=function(L){var w=v("hex",L);w.create=function(P){return new A(P,L)},w.update=function(P,I){return w.create(P).update(I)};for(var T=0;T<u.length;++T){var F=u[T];w[F]=v(F,L)}return w};function S(L,w){w?(d[0]=d[16]=d[1]=d[2]=d[3]=d[4]=d[5]=d[6]=d[7]=d[8]=d[9]=d[10]=d[11]=d[12]=d[13]=d[14]=d[15]=0,this.blocks=d):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],L?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=L}S.prototype.update=function(L){if(!this.finalized){var w,T=typeof L;if(T!=="string"){if(T==="object"){if(L===null)throw new Error(l);if(e&&L.constructor===ArrayBuffer)L=new Uint8Array(L);else if(!Array.isArray(L)&&(!e||!ArrayBuffer.isView(L)))throw new Error(l)}else throw new Error(l);w=!0}for(var F,P=0,I,B=L.length,C=this.blocks;P<B;){if(this.hashed&&(this.hashed=!1,C[0]=this.block,this.block=C[16]=C[1]=C[2]=C[3]=C[4]=C[5]=C[6]=C[7]=C[8]=C[9]=C[10]=C[11]=C[12]=C[13]=C[14]=C[15]=0),w)for(I=this.start;P<B&&I<64;++P)C[I>>>2]|=L[P]<<o[I++&3];else for(I=this.start;P<B&&I<64;++P)F=L.charCodeAt(P),F<128?C[I>>>2]|=F<<o[I++&3]:F<2048?(C[I>>>2]|=(192|F>>>6)<<o[I++&3],C[I>>>2]|=(128|F&63)<<o[I++&3]):F<55296||F>=57344?(C[I>>>2]|=(224|F>>>12)<<o[I++&3],C[I>>>2]|=(128|F>>>6&63)<<o[I++&3],C[I>>>2]|=(128|F&63)<<o[I++&3]):(F=65536+((F&1023)<<10|L.charCodeAt(++P)&1023),C[I>>>2]|=(240|F>>>18)<<o[I++&3],C[I>>>2]|=(128|F>>>12&63)<<o[I++&3],C[I>>>2]|=(128|F>>>6&63)<<o[I++&3],C[I>>>2]|=(128|F&63)<<o[I++&3]);this.lastByteIndex=I,this.bytes+=I-this.start,I>=64?(this.block=C[16],this.start=I-64,this.hash(),this.hashed=!0):this.start=I}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},S.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var L=this.blocks,w=this.lastByteIndex;L[16]=this.block,L[w>>>2]|=n[w&3],this.block=L[16],w>=56&&(this.hashed||this.hash(),L[0]=this.block,L[16]=L[1]=L[2]=L[3]=L[4]=L[5]=L[6]=L[7]=L[8]=L[9]=L[10]=L[11]=L[12]=L[13]=L[14]=L[15]=0),L[14]=this.hBytes<<3|this.bytes>>>29,L[15]=this.bytes<<3,this.hash()}},S.prototype.hash=function(){var L=this.h0,w=this.h1,T=this.h2,F=this.h3,P=this.h4,I=this.h5,B=this.h6,C=this.h7,x=this.blocks,M,H,re,be,se,Ee,G,U,R,N,ae;for(M=16;M<64;++M)se=x[M-15],H=(se>>>7|se<<25)^(se>>>18|se<<14)^se>>>3,se=x[M-2],re=(se>>>17|se<<15)^(se>>>19|se<<13)^se>>>10,x[M]=x[M-16]+H+x[M-7]+re<<0;for(ae=w&T,M=0;M<64;M+=4)this.first?(this.is224?(U=300032,se=x[0]-1413257819,C=se-150054599<<0,F=se+24177077<<0):(U=704751109,se=x[0]-210244248,C=se-1521486534<<0,F=se+143694565<<0),this.first=!1):(H=(L>>>2|L<<30)^(L>>>13|L<<19)^(L>>>22|L<<10),re=(P>>>6|P<<26)^(P>>>11|P<<21)^(P>>>25|P<<7),U=L&w,be=U^L&T^ae,G=P&I^~P&B,se=C+re+G+c[M]+x[M],Ee=H+be,C=F+se<<0,F=se+Ee<<0),H=(F>>>2|F<<30)^(F>>>13|F<<19)^(F>>>22|F<<10),re=(C>>>6|C<<26)^(C>>>11|C<<21)^(C>>>25|C<<7),R=F&L,be=R^F&w^U,G=C&P^~C&I,se=B+re+G+c[M+1]+x[M+1],Ee=H+be,B=T+se<<0,T=se+Ee<<0,H=(T>>>2|T<<30)^(T>>>13|T<<19)^(T>>>22|T<<10),re=(B>>>6|B<<26)^(B>>>11|B<<21)^(B>>>25|B<<7),N=T&F,be=N^T&L^R,G=B&C^~B&P,se=I+re+G+c[M+2]+x[M+2],Ee=H+be,I=w+se<<0,w=se+Ee<<0,H=(w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10),re=(I>>>6|I<<26)^(I>>>11|I<<21)^(I>>>25|I<<7),ae=w&T,be=ae^w&F^N,G=I&B^~I&C,se=P+re+G+c[M+3]+x[M+3],Ee=H+be,P=L+se<<0,L=se+Ee<<0,this.chromeBugWorkAround=!0;this.h0=this.h0+L<<0,this.h1=this.h1+w<<0,this.h2=this.h2+T<<0,this.h3=this.h3+F<<0,this.h4=this.h4+P<<0,this.h5=this.h5+I<<0,this.h6=this.h6+B<<0,this.h7=this.h7+C<<0},S.prototype.hex=function(){this.finalize();var L=this.h0,w=this.h1,T=this.h2,F=this.h3,P=this.h4,I=this.h5,B=this.h6,C=this.h7,x=t[L>>>28&15]+t[L>>>24&15]+t[L>>>20&15]+t[L>>>16&15]+t[L>>>12&15]+t[L>>>8&15]+t[L>>>4&15]+t[L&15]+t[w>>>28&15]+t[w>>>24&15]+t[w>>>20&15]+t[w>>>16&15]+t[w>>>12&15]+t[w>>>8&15]+t[w>>>4&15]+t[w&15]+t[T>>>28&15]+t[T>>>24&15]+t[T>>>20&15]+t[T>>>16&15]+t[T>>>12&15]+t[T>>>8&15]+t[T>>>4&15]+t[T&15]+t[F>>>28&15]+t[F>>>24&15]+t[F>>>20&15]+t[F>>>16&15]+t[F>>>12&15]+t[F>>>8&15]+t[F>>>4&15]+t[F&15]+t[P>>>28&15]+t[P>>>24&15]+t[P>>>20&15]+t[P>>>16&15]+t[P>>>12&15]+t[P>>>8&15]+t[P>>>4&15]+t[P&15]+t[I>>>28&15]+t[I>>>24&15]+t[I>>>20&15]+t[I>>>16&15]+t[I>>>12&15]+t[I>>>8&15]+t[I>>>4&15]+t[I&15]+t[B>>>28&15]+t[B>>>24&15]+t[B>>>20&15]+t[B>>>16&15]+t[B>>>12&15]+t[B>>>8&15]+t[B>>>4&15]+t[B&15];return this.is224||(x+=t[C>>>28&15]+t[C>>>24&15]+t[C>>>20&15]+t[C>>>16&15]+t[C>>>12&15]+t[C>>>8&15]+t[C>>>4&15]+t[C&15]),x},S.prototype.toString=S.prototype.hex,S.prototype.digest=function(){this.finalize();var L=this.h0,w=this.h1,T=this.h2,F=this.h3,P=this.h4,I=this.h5,B=this.h6,C=this.h7,x=[L>>>24&255,L>>>16&255,L>>>8&255,L&255,w>>>24&255,w>>>16&255,w>>>8&255,w&255,T>>>24&255,T>>>16&255,T>>>8&255,T&255,F>>>24&255,F>>>16&255,F>>>8&255,F&255,P>>>24&255,P>>>16&255,P>>>8&255,P&255,I>>>24&255,I>>>16&255,I>>>8&255,I&255,B>>>24&255,B>>>16&255,B>>>8&255,B&255];return this.is224||x.push(C>>>24&255,C>>>16&255,C>>>8&255,C&255),x},S.prototype.array=S.prototype.digest,S.prototype.arrayBuffer=function(){this.finalize();var L=new ArrayBuffer(this.is224?28:32),w=new DataView(L);return w.setUint32(0,this.h0),w.setUint32(4,this.h1),w.setUint32(8,this.h2),w.setUint32(12,this.h3),w.setUint32(16,this.h4),w.setUint32(20,this.h5),w.setUint32(24,this.h6),this.is224||w.setUint32(28,this.h7),L};function A(L,w,T){var F,P=typeof L;if(P==="string"){var I=[],B=L.length,C=0,x;for(F=0;F<B;++F)x=L.charCodeAt(F),x<128?I[C++]=x:x<2048?(I[C++]=192|x>>>6,I[C++]=128|x&63):x<55296||x>=57344?(I[C++]=224|x>>>12,I[C++]=128|x>>>6&63,I[C++]=128|x&63):(x=65536+((x&1023)<<10|L.charCodeAt(++F)&1023),I[C++]=240|x>>>18,I[C++]=128|x>>>12&63,I[C++]=128|x>>>6&63,I[C++]=128|x&63);L=I}else if(P==="object"){if(L===null)throw new Error(l);if(e&&L.constructor===ArrayBuffer)L=new Uint8Array(L);else if(!Array.isArray(L)&&(!e||!ArrayBuffer.isView(L)))throw new Error(l)}else throw new Error(l);L.length>64&&(L=new S(w,!0).update(L).array());var M=[],H=[];for(F=0;F<64;++F){var re=L[F]||0;M[F]=92^re,H[F]=54^re}S.call(this,w,T),this.update(H),this.oKeyPad=M,this.inner=!0,this.sharedMemory=T}A.prototype=new S,A.prototype.finalize=function(){if(S.prototype.finalize.call(this),this.inner){this.inner=!1;var L=this.array();S.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(L),S.prototype.finalize.call(this)}};var E=h();E.sha256=E,E.sha224=h(!0),E.sha256.hmac=y(),E.sha224.hmac=y(!0),m?Ca.exports=E:(a.sha256=E.sha256,a.sha224=E.sha224,g&&define(function(){return E}))})()});var _f={};Ar(_f,{registerWorker:()=>b_});function il(l,r){var a={};for(var _ in l)Object.prototype.hasOwnProperty.call(l,_)&&r.indexOf(_)<0&&(a[_]=l[_]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,_=Object.getOwnPropertySymbols(l);f<_.length;f++)r.indexOf(_[f])<0&&Object.prototype.propertyIsEnumerable.call(l,_[f])&&(a[_[f]]=l[_[f]]);return a}function O(l,r,a,_){function f(m){return m instanceof a?m:new a(function(g){g(m)})}return new(a||(a=Promise))(function(m,g){function e(o){try{n(_.next(o))}catch(c){g(c)}}function t(o){try{n(_.throw(o))}catch(c){g(c)}}function n(o){o.done?m(o.value):f(o.value).then(e,t)}n((_=_.apply(l,r||[])).next())})}function nl(l){var r=typeof Symbol=="function"&&Symbol.iterator,a=r&&l[r],_=0;if(a)return a.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&_>=l.length&&(l=void 0),{value:l&&l[_++],done:!l}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function oe(l){return this instanceof oe?(this.v=l,this):new oe(l)}function tt(l,r,a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var _=a.apply(l,r||[]),f,m=[];return f={},g("next"),g("throw"),g("return"),f[Symbol.asyncIterator]=function(){return this},f;function g(u){_[u]&&(f[u]=function(d){return new Promise(function(p,h){m.push([u,d,p,h])>1||e(u,d)})})}function e(u,d){try{t(_[u](d))}catch(p){c(m[0][3],p)}}function t(u){u.value instanceof oe?Promise.resolve(u.value.v).then(n,o):c(m[0][2],u)}function n(u){e("next",u)}function o(u){e("throw",u)}function c(u,d){u(d),m.shift(),m.length&&e(m[0][0],m[0][1])}}function on(l){var r,a;return r={},_("next"),_("throw",function(f){throw f}),_("return"),r[Symbol.iterator]=function(){return this},r;function _(f,m){r[f]=l[f]?function(g){return(a=!a)?{value:oe(l[f](g)),done:!1}:m?m(g):g}:m}}function gt(l){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=l[Symbol.asyncIterator],a;return r?r.call(l):(l=typeof nl=="function"?nl(l):l[Symbol.iterator](),a={},_("next"),_("throw"),_("return"),a[Symbol.asyncIterator]=function(){return this},a);function _(m){a[m]=l[m]&&function(g){return new Promise(function(e,t){g=l[m](g),f(e,t,g.done,g.value)})}}function f(m,g,e,t){Promise.resolve(t).then(function(n){m({value:n,done:e})},g)}}var Ra={};Ar(Ra,{compareArrayLike:()=>Ga,joinUint8Arrays:()=>nt,memcpy:()=>Hn,rebaseValueOffsets:()=>qi,toArrayBufferView:()=>le,toArrayBufferViewAsyncIterator:()=>vt,toArrayBufferViewIterator:()=>Rt,toBigInt64Array:()=>$i,toBigUint64Array:()=>B_,toFloat32Array:()=>U_,toFloat32ArrayAsyncIterator:()=>K_,toFloat32ArrayIterator:()=>z_,toFloat64Array:()=>G_,toFloat64ArrayAsyncIterator:()=>Z_,toFloat64ArrayIterator:()=>j_,toInt16Array:()=>k_,toInt16ArrayAsyncIterator:()=>X_,toInt16ArrayIterator:()=>H_,toInt32Array:()=>Hr,toInt32ArrayAsyncIterator:()=>Y_,toInt32ArrayIterator:()=>N_,toInt8Array:()=>I_,toInt8ArrayAsyncIterator:()=>q_,toInt8ArrayIterator:()=>O_,toUint16Array:()=>x_,toUint16ArrayAsyncIterator:()=>Q_,toUint16ArrayIterator:()=>W_,toUint32Array:()=>M_,toUint32ArrayAsyncIterator:()=>J_,toUint32ArrayIterator:()=>V_,toUint8Array:()=>J,toUint8ArrayAsyncIterator:()=>Ua,toUint8ArrayIterator:()=>Ba,toUint8ClampedArray:()=>R_,toUint8ClampedArrayAsyncIterator:()=>eu,toUint8ClampedArrayIterator:()=>$_});var F_=new TextDecoder("utf-8"),Rn=l=>F_.decode(l),T_=new TextEncoder,Gt=l=>T_.encode(l);var P_=l=>typeof l=="number",sl=l=>typeof l=="boolean",Ue=l=>typeof l=="function",$e=l=>l!=null&&Object(l)===l,rt=l=>$e(l)&&Ue(l.then);var ht=l=>$e(l)&&Ue(l[Symbol.iterator]),ct=l=>$e(l)&&Ue(l[Symbol.asyncIterator]),Hi=l=>$e(l)&&$e(l.schema);var Ni=l=>$e(l)&&"done"in l&&"value"in l;var Wi=l=>$e(l)&&Ue(l.stat)&&P_(l.fd);var Vi=l=>$e(l)&&On(l.body),zi=l=>"_getDOMStream"in l&&"_getNodeStream"in l,al=l=>$e(l)&&Ue(l.abort)&&Ue(l.getWriter)&&!zi(l),On=l=>$e(l)&&Ue(l.cancel)&&Ue(l.getReader)&&!zi(l),ol=l=>$e(l)&&Ue(l.end)&&Ue(l.write)&&sl(l.writable)&&!zi(l),ji=l=>$e(l)&&Ue(l.read)&&Ue(l.pipe)&&sl(l.readable)&&!zi(l),ll=l=>$e(l)&&Ue(l.clear)&&Ue(l.bytes)&&Ue(l.position)&&Ue(l.setPosition)&&Ue(l.capacity)&&Ue(l.getBufferIdentifier)&&Ue(l.createLong);var Ma=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function C_(l){let r=l[0]?[l[0]]:[],a,_,f,m;for(let g,e,t=0,n=0,o=l.length;++t<o;){if(g=r[n],e=l[t],!g||!e||g.buffer!==e.buffer||e.byteOffset<g.byteOffset){e&&(r[++n]=e);continue}if({byteOffset:a,byteLength:f}=g,{byteOffset:_,byteLength:m}=e,a+f<_||_+m<a){e&&(r[++n]=e);continue}r[n]=new Uint8Array(g.buffer,a,_-a+m)}return r}function Hn(l,r,a=0,_=r.byteLength){let f=l.byteLength,m=new Uint8Array(l.buffer,l.byteOffset,f),g=new Uint8Array(r.buffer,r.byteOffset,Math.min(_,f));return m.set(g,a),l}function nt(l,r){let a=C_(l),_=a.reduce((o,c)=>o+c.byteLength,0),f,m,g,e=0,t=-1,n=Math.min(r||Number.POSITIVE_INFINITY,_);for(let o=a.length;++t<o;){if(f=a[t],m=f.subarray(0,Math.min(f.length,n-e)),n<=e+m.length){m.length<f.length?a[t]=f.subarray(m.length):m.length===f.length&&t++,g?Hn(g,m,e):g=m;break}Hn(g||(g=new Uint8Array(n)),m,e),e+=m.length}return[g||new Uint8Array(0),a.slice(t),_-(g?g.byteLength:0)]}function le(l,r){let a=Ni(r)?r.value:r;return a instanceof l?l===Uint8Array?new l(a.buffer,a.byteOffset,a.byteLength):a:a?(typeof a=="string"&&(a=Gt(a)),a instanceof ArrayBuffer?new l(a):a instanceof Ma?new l(a):ll(a)?le(l,a.bytes()):ArrayBuffer.isView(a)?a.byteLength<=0?new l(0):new l(a.buffer,a.byteOffset,a.byteLength/l.BYTES_PER_ELEMENT):l.from(a)):new l(0)}var I_=l=>le(Int8Array,l),k_=l=>le(Int16Array,l),Hr=l=>le(Int32Array,l),$i=l=>le(BigInt64Array,l),J=l=>le(Uint8Array,l),x_=l=>le(Uint16Array,l),M_=l=>le(Uint32Array,l),B_=l=>le(BigUint64Array,l),U_=l=>le(Float32Array,l),G_=l=>le(Float64Array,l),R_=l=>le(Uint8ClampedArray,l),xa=l=>(l.next(),l);function*Rt(l,r){let a=function*(f){yield f},_=typeof r=="string"||ArrayBuffer.isView(r)||r instanceof ArrayBuffer||r instanceof Ma?a(r):ht(r)?r:a(r);return yield*xa(function*(f){let m=null;do m=f.next(yield le(l,m));while(!m.done)}(_[Symbol.iterator]())),new l}var O_=l=>Rt(Int8Array,l),H_=l=>Rt(Int16Array,l),N_=l=>Rt(Int32Array,l),Ba=l=>Rt(Uint8Array,l),W_=l=>Rt(Uint16Array,l),V_=l=>Rt(Uint32Array,l),z_=l=>Rt(Float32Array,l),j_=l=>Rt(Float64Array,l),$_=l=>Rt(Uint8ClampedArray,l);function vt(l,r){return tt(this,arguments,function*(){if(rt(r))return yield oe(yield oe(yield*on(gt(vt(l,yield oe(r))))));let _=function(g){return tt(this,arguments,function*(){yield yield oe(yield oe(g))})},f=function(g){return tt(this,arguments,function*(){yield oe(yield*on(gt(xa(function*(e){let t=null;do t=e.next(yield t==null?void 0:t.value);while(!t.done)}(g[Symbol.iterator]())))))})},m=typeof r=="string"||ArrayBuffer.isView(r)||r instanceof ArrayBuffer||r instanceof Ma?_(r):ht(r)?f(r):ct(r)?r:_(r);return yield oe(yield*on(gt(xa(function(g){return tt(this,arguments,function*(){let e=null;do e=yield oe(g.next(yield yield oe(le(l,e))));while(!e.done)})}(m[Symbol.asyncIterator]()))))),yield oe(new l)})}var q_=l=>vt(Int8Array,l),X_=l=>vt(Int16Array,l),Y_=l=>vt(Int32Array,l),Ua=l=>vt(Uint8Array,l),Q_=l=>vt(Uint16Array,l),J_=l=>vt(Uint32Array,l),K_=l=>vt(Float32Array,l),Z_=l=>vt(Float64Array,l),eu=l=>vt(Uint8ClampedArray,l);function qi(l,r,a){if(l!==0){a=a.slice(0,r);for(let _=-1,f=a.length;++_<f;)a[_]+=l}return a.subarray(0,r)}function Ga(l,r){let a=0,_=l.length;if(_!==r.length)return!1;if(_>0)do if(l[a]!==r[a])return!1;while(++a<_);return!0}var We={fromIterable(l){return Xi(tu(l))},fromAsyncIterable(l){return Xi(ru(l))},fromDOMStream(l){return Xi(nu(l))},fromNodeStream(l){return Xi(iu(l))},toDOMStream(l,r){throw new Error('"toDOMStream" not available in this environment')},toNodeStream(l,r){throw new Error('"toNodeStream" not available in this environment')}},Xi=l=>(l.next(),l);function*tu(l){let r,a=!1,_=[],f,m,g,e=0;function t(){return m==="peek"?nt(_,g)[0]:([f,_,e]=nt(_,g),f)}({cmd:m,size:g}=(yield null)||{cmd:"read",size:0});let n=Ba(l)[Symbol.iterator]();try{do if({done:r,value:f}=Number.isNaN(g-e)?n.next():n.next(g-e),!r&&f.byteLength>0&&(_.push(f),e+=f.byteLength),r||g<=e)do({cmd:m,size:g}=yield t());while(g<e);while(!r)}catch(o){(a=!0)&&typeof n.throw=="function"&&n.throw(o)}finally{a===!1&&typeof n.return=="function"&&n.return(null)}return null}function ru(l){return tt(this,arguments,function*(){let a,_=!1,f=[],m,g,e,t=0;function n(){return g==="peek"?nt(f,e)[0]:([m,f,t]=nt(f,e),m)}({cmd:g,size:e}=(yield yield oe(null))||{cmd:"read",size:0});let o=Ua(l)[Symbol.asyncIterator]();try{do if({done:a,value:m}=Number.isNaN(e-t)?yield oe(o.next()):yield oe(o.next(e-t)),!a&&m.byteLength>0&&(f.push(m),t+=m.byteLength),a||e<=t)do({cmd:g,size:e}=yield yield oe(n()));while(e<t);while(!a)}catch(c){(_=!0)&&typeof o.throw=="function"&&(yield oe(o.throw(c)))}finally{_===!1&&typeof o.return=="function"&&(yield oe(o.return(new Uint8Array(0))))}return yield oe(null)})}function nu(l){return tt(this,arguments,function*(){let a=!1,_=!1,f=[],m,g,e,t=0;function n(){return g==="peek"?nt(f,e)[0]:([m,f,t]=nt(f,e),m)}({cmd:g,size:e}=(yield yield oe(null))||{cmd:"read",size:0});let o=new Ha(l);try{do if({done:a,value:m}=Number.isNaN(e-t)?yield oe(o.read()):yield oe(o.read(e-t)),!a&&m.byteLength>0&&(f.push(J(m)),t+=m.byteLength),a||e<=t)do({cmd:g,size:e}=yield yield oe(n()));while(e<t);while(!a)}catch(c){(_=!0)&&(yield oe(o.cancel(c)))}finally{_===!1?yield oe(o.cancel()):l.locked&&o.releaseLock()}return yield oe(null)})}var Ha=class{constructor(r){this.source=r,this.reader=null,this.reader=this.source.getReader(),this.reader.closed.catch(()=>{})}get closed(){return this.reader?this.reader.closed.catch(()=>{}):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=null}cancel(r){return O(this,void 0,void 0,function*(){let{reader:a,source:_}=this;a&&(yield a.cancel(r).catch(()=>{})),_&&_.locked&&this.releaseLock()})}read(r){return O(this,void 0,void 0,function*(){if(r===0)return{done:this.reader==null,value:new Uint8Array(0)};let a=yield this.reader.read();return!a.done&&(a.value=J(a)),a})}},Oa=(l,r)=>{let a=f=>_([r,f]),_;return[r,a,new Promise(f=>(_=f)&&l.once(r,a))]};function iu(l){return tt(this,arguments,function*(){let a=[],_="error",f=!1,m=null,g,e,t=0,n=[],o;function c(){return g==="peek"?nt(n,e)[0]:([o,n,t]=nt(n,e),o)}if({cmd:g,size:e}=(yield yield oe(null))||{cmd:"read",size:0},l.isTTY)return yield yield oe(new Uint8Array(0)),yield oe(null);try{a[0]=Oa(l,"end"),a[1]=Oa(l,"error");do{if(a[2]=Oa(l,"readable"),[_,m]=yield oe(Promise.race(a.map(d=>d[2]))),_==="error")break;if((f=_==="end")||(Number.isFinite(e-t)?(o=J(l.read(e-t)),o.byteLength<e-t&&(o=J(l.read()))):o=J(l.read()),o.byteLength>0&&(n.push(o),t+=o.byteLength)),f||e<=t)do({cmd:g,size:e}=yield yield oe(c()));while(e<t)}while(!f)}finally{yield oe(u(a,_==="error"?m:null))}return yield oe(null);function u(d,p){return o=n=null,new Promise((h,b)=>{for(let[v,y]of d)l.off(v,y);try{let v=l.destroy;v&&v.call(l,p),p=void 0}catch(v){p=v||p}finally{p!=null?b(p):h()}})}})}var ge;(function(l){l[l.V1=0]="V1",l[l.V2=1]="V2",l[l.V3=2]="V3",l[l.V4=3]="V4",l[l.V5=4]="V5"})(ge||(ge={}));var Se;(function(l){l[l.Sparse=0]="Sparse",l[l.Dense=1]="Dense"})(Se||(Se={}));var ye;(function(l){l[l.HALF=0]="HALF",l[l.SINGLE=1]="SINGLE",l[l.DOUBLE=2]="DOUBLE"})(ye||(ye={}));var Ce;(function(l){l[l.DAY=0]="DAY",l[l.MILLISECOND=1]="MILLISECOND"})(Ce||(Ce={}));var V;(function(l){l[l.SECOND=0]="SECOND",l[l.MILLISECOND=1]="MILLISECOND",l[l.MICROSECOND=2]="MICROSECOND",l[l.NANOSECOND=3]="NANOSECOND"})(V||(V={}));var Ge;(function(l){l[l.YEAR_MONTH=0]="YEAR_MONTH",l[l.DAY_TIME=1]="DAY_TIME",l[l.MONTH_DAY_NANO=2]="MONTH_DAY_NANO"})(Ge||(Ge={}));var Ot=new Int32Array(2),Yi=new Float32Array(Ot.buffer),Qi=new Float64Array(Ot.buffer),ln=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1;var Nn;(function(l){l[l.UTF8_BYTES=1]="UTF8_BYTES",l[l.UTF16_STRING=2]="UTF16_STRING"})(Nn||(Nn={}));var it=class l{constructor(r){this.bytes_=r,this.position_=0,this.text_decoder_=new TextDecoder}static allocate(r){return new l(new Uint8Array(r))}clear(){this.position_=0}bytes(){return this.bytes_}position(){return this.position_}setPosition(r){this.position_=r}capacity(){return this.bytes_.length}readInt8(r){return this.readUint8(r)<<24>>24}readUint8(r){return this.bytes_[r]}readInt16(r){return this.readUint16(r)<<16>>16}readUint16(r){return this.bytes_[r]|this.bytes_[r+1]<<8}readInt32(r){return this.bytes_[r]|this.bytes_[r+1]<<8|this.bytes_[r+2]<<16|this.bytes_[r+3]<<24}readUint32(r){return this.readInt32(r)>>>0}readInt64(r){return BigInt.asIntN(64,BigInt(this.readUint32(r))+(BigInt(this.readUint32(r+4))<<BigInt(32)))}readUint64(r){return BigInt.asUintN(64,BigInt(this.readUint32(r))+(BigInt(this.readUint32(r+4))<<BigInt(32)))}readFloat32(r){return Ot[0]=this.readInt32(r),Yi[0]}readFloat64(r){return Ot[ln?0:1]=this.readInt32(r),Ot[ln?1:0]=this.readInt32(r+4),Qi[0]}writeInt8(r,a){this.bytes_[r]=a}writeUint8(r,a){this.bytes_[r]=a}writeInt16(r,a){this.bytes_[r]=a,this.bytes_[r+1]=a>>8}writeUint16(r,a){this.bytes_[r]=a,this.bytes_[r+1]=a>>8}writeInt32(r,a){this.bytes_[r]=a,this.bytes_[r+1]=a>>8,this.bytes_[r+2]=a>>16,this.bytes_[r+3]=a>>24}writeUint32(r,a){this.bytes_[r]=a,this.bytes_[r+1]=a>>8,this.bytes_[r+2]=a>>16,this.bytes_[r+3]=a>>24}writeInt64(r,a){this.writeInt32(r,Number(BigInt.asIntN(32,a))),this.writeInt32(r+4,Number(BigInt.asIntN(32,a>>BigInt(32))))}writeUint64(r,a){this.writeUint32(r,Number(BigInt.asUintN(32,a))),this.writeUint32(r+4,Number(BigInt.asUintN(32,a>>BigInt(32))))}writeFloat32(r,a){Yi[0]=a,this.writeInt32(r,Ot[0])}writeFloat64(r,a){Qi[0]=a,this.writeInt32(r,Ot[ln?0:1]),this.writeInt32(r+4,Ot[ln?1:0])}getBufferIdentifier(){if(this.bytes_.length<this.position_+4+4)throw new Error("FlatBuffers: ByteBuffer is too short to contain an identifier.");let r="";for(let a=0;a<4;a++)r+=String.fromCharCode(this.readInt8(this.position_+4+a));return r}__offset(r,a){let _=r-this.readInt32(r);return a<this.readInt16(_)?this.readInt16(_+a):0}__union(r,a){return r.bb_pos=a+this.readInt32(a),r.bb=this,r}__string(r,a){r+=this.readInt32(r);let _=this.readInt32(r);r+=4;let f=this.bytes_.subarray(r,r+_);return a===Nn.UTF8_BYTES?f:this.text_decoder_.decode(f)}__union_with_string(r,a){return typeof r=="string"?this.__string(a):this.__union(r,a)}__indirect(r){return r+this.readInt32(r)}__vector(r){return r+this.readInt32(r)+4}__vector_len(r){return this.readInt32(r+this.readInt32(r))}__has_identifier(r){if(r.length!=4)throw new Error("FlatBuffers: file identifier must be length "+4);for(let a=0;a<4;a++)if(r.charCodeAt(a)!=this.readInt8(this.position()+4+a))return!1;return!0}createScalarList(r,a){let _=[];for(let f=0;f<a;++f){let m=r(f);m!==null&&_.push(m)}return _}createObjList(r,a){let _=[];for(let f=0;f<a;++f){let m=r(f);m!==null&&_.push(m.unpack())}return _}};var Nr=class l{constructor(r){this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1,this.string_maps=null,this.text_encoder=new TextEncoder;let a;r?a=r:a=1024,this.bb=it.allocate(a),this.space=a}clear(){this.bb.clear(),this.space=this.bb.capacity(),this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1,this.string_maps=null}forceDefaults(r){this.force_defaults=r}dataBuffer(){return this.bb}asUint8Array(){return this.bb.bytes().subarray(this.bb.position(),this.bb.position()+this.offset())}prep(r,a){r>this.minalign&&(this.minalign=r);let _=~(this.bb.capacity()-this.space+a)+1&r-1;for(;this.space<_+r+a;){let f=this.bb.capacity();this.bb=l.growByteBuffer(this.bb),this.space+=this.bb.capacity()-f}this.pad(_)}pad(r){for(let a=0;a<r;a++)this.bb.writeInt8(--this.space,0)}writeInt8(r){this.bb.writeInt8(this.space-=1,r)}writeInt16(r){this.bb.writeInt16(this.space-=2,r)}writeInt32(r){this.bb.writeInt32(this.space-=4,r)}writeInt64(r){this.bb.writeInt64(this.space-=8,r)}writeFloat32(r){this.bb.writeFloat32(this.space-=4,r)}writeFloat64(r){this.bb.writeFloat64(this.space-=8,r)}addInt8(r){this.prep(1,0),this.writeInt8(r)}addInt16(r){this.prep(2,0),this.writeInt16(r)}addInt32(r){this.prep(4,0),this.writeInt32(r)}addInt64(r){this.prep(8,0),this.writeInt64(r)}addFloat32(r){this.prep(4,0),this.writeFloat32(r)}addFloat64(r){this.prep(8,0),this.writeFloat64(r)}addFieldInt8(r,a,_){(this.force_defaults||a!=_)&&(this.addInt8(a),this.slot(r))}addFieldInt16(r,a,_){(this.force_defaults||a!=_)&&(this.addInt16(a),this.slot(r))}addFieldInt32(r,a,_){(this.force_defaults||a!=_)&&(this.addInt32(a),this.slot(r))}addFieldInt64(r,a,_){(this.force_defaults||a!==_)&&(this.addInt64(a),this.slot(r))}addFieldFloat32(r,a,_){(this.force_defaults||a!=_)&&(this.addFloat32(a),this.slot(r))}addFieldFloat64(r,a,_){(this.force_defaults||a!=_)&&(this.addFloat64(a),this.slot(r))}addFieldOffset(r,a,_){(this.force_defaults||a!=_)&&(this.addOffset(a),this.slot(r))}addFieldStruct(r,a,_){a!=_&&(this.nested(a),this.slot(r))}nested(r){if(r!=this.offset())throw new TypeError("FlatBuffers: struct must be serialized inline.")}notNested(){if(this.isNested)throw new TypeError("FlatBuffers: object serialization must not be nested.")}slot(r){this.vtable!==null&&(this.vtable[r]=this.offset())}offset(){return this.bb.capacity()-this.space}static growByteBuffer(r){let a=r.capacity();if(a&3221225472)throw new Error("FlatBuffers: cannot grow buffer beyond 2 gigabytes.");let _=a<<1,f=it.allocate(_);return f.setPosition(_-a),f.bytes().set(r.bytes(),_-a),f}addOffset(r){this.prep(4,0),this.writeInt32(this.offset()-r+4)}startObject(r){this.notNested(),this.vtable==null&&(this.vtable=[]),this.vtable_in_use=r;for(let a=0;a<r;a++)this.vtable[a]=0;this.isNested=!0,this.object_start=this.offset()}endObject(){if(this.vtable==null||!this.isNested)throw new Error("FlatBuffers: endObject called without startObject");this.addInt32(0);let r=this.offset(),a=this.vtable_in_use-1;for(;a>=0&&this.vtable[a]==0;a--);let _=a+1;for(;a>=0;a--)this.addInt16(this.vtable[a]!=0?r-this.vtable[a]:0);let f=2;this.addInt16(r-this.object_start);let m=(_+f)*2;this.addInt16(m);let g=0,e=this.space;e:for(a=0;a<this.vtables.length;a++){let t=this.bb.capacity()-this.vtables[a];if(m==this.bb.readInt16(t)){for(let n=2;n<m;n+=2)if(this.bb.readInt16(e+n)!=this.bb.readInt16(t+n))continue e;g=this.vtables[a];break}}return g?(this.space=this.bb.capacity()-r,this.bb.writeInt32(this.space,g-r)):(this.vtables.push(this.offset()),this.bb.writeInt32(this.bb.capacity()-r,this.offset()-r)),this.isNested=!1,r}finish(r,a,_){let f=_?4:0;if(a){let m=a;if(this.prep(this.minalign,8+f),m.length!=4)throw new TypeError("FlatBuffers: file identifier must be length "+4);for(let g=3;g>=0;g--)this.writeInt8(m.charCodeAt(g))}this.prep(this.minalign,4+f),this.addOffset(r),f&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(r,a){this.finish(r,a,!0)}requiredField(r,a){let _=this.bb.capacity()-r,f=_-this.bb.readInt32(_);if(!(a<this.bb.readInt16(f)&&this.bb.readInt16(f+a)!=0))throw new TypeError("FlatBuffers: field "+a+" must be set")}startVector(r,a,_){this.notNested(),this.vector_num_elems=a,this.prep(4,r*a),this.prep(_,r*a)}endVector(){return this.writeInt32(this.vector_num_elems),this.offset()}createSharedString(r){if(!r)return 0;if(this.string_maps||(this.string_maps=new Map),this.string_maps.has(r))return this.string_maps.get(r);let a=this.createString(r);return this.string_maps.set(r,a),a}createString(r){if(r==null)return 0;let a;return r instanceof Uint8Array?a=r:a=this.text_encoder.encode(r),this.addInt8(0),this.startVector(1,a.length,1),this.bb.setPosition(this.space-=a.length),this.bb.bytes().set(a,this.space),this.endVector()}createByteVector(r){return r==null?0:(this.startVector(1,r.length,1),this.bb.setPosition(this.space-=r.length),this.bb.bytes().set(r,this.space),this.endVector())}createObjectOffset(r){return r===null?0:typeof r=="string"?this.createString(r):r.pack(this)}createObjectOffsetList(r){let a=[];for(let _=0;_<r.length;++_){let f=r[_];if(f!==null)a.push(this.createObjectOffset(f));else throw new TypeError("FlatBuffers: Argument for createObjectOffsetList cannot contain null.")}return a}createStructOffsetList(r,a){return a(this,r.length),this.createObjectOffsetList(r.slice().reverse()),this.endVector()}};var Wn;(function(l){l[l.BUFFER=0]="BUFFER"})(Wn||(Wn={}));var Vn;(function(l){l[l.LZ4_FRAME=0]="LZ4_FRAME",l[l.ZSTD=1]="ZSTD"})(Vn||(Vn={}));var Ki=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsBodyCompression(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBodyCompression(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}codec(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt8(this.bb_pos+r):Vn.LZ4_FRAME}method(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.readInt8(this.bb_pos+r):Wn.BUFFER}static startBodyCompression(r){r.startObject(2)}static addCodec(r,a){r.addFieldInt8(0,a,Vn.LZ4_FRAME)}static addMethod(r,a){r.addFieldInt8(1,a,Wn.BUFFER)}static endBodyCompression(r){return r.endObject()}static createBodyCompression(r,a,_){return l.startBodyCompression(r),l.addCodec(r,a),l.addMethod(r,_),l.endBodyCompression(r)}};var cn=class{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(r,a,_){return r.prep(8,16),r.writeInt64(BigInt(_!=null?_:0)),r.writeInt64(BigInt(a!=null?a:0)),r.offset()}};var _n=class{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(r,a,_){return r.prep(8,16),r.writeInt64(BigInt(_!=null?_:0)),r.writeInt64(BigInt(a!=null?a:0)),r.offset()}};var st=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsRecordBatch(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsRecordBatch(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}length(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt64(this.bb_pos+r):BigInt("0")}nodes(r,a){let _=this.bb.__offset(this.bb_pos,6);return _?(a||new _n).__init(this.bb.__vector(this.bb_pos+_)+r*16,this.bb):null}nodesLength(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.__vector_len(this.bb_pos+r):0}buffers(r,a){let _=this.bb.__offset(this.bb_pos,8);return _?(a||new cn).__init(this.bb.__vector(this.bb_pos+_)+r*16,this.bb):null}buffersLength(){let r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__vector_len(this.bb_pos+r):0}compression(r){let a=this.bb.__offset(this.bb_pos,10);return a?(r||new Ki).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}static startRecordBatch(r){r.startObject(4)}static addLength(r,a){r.addFieldInt64(0,a,BigInt("0"))}static addNodes(r,a){r.addFieldOffset(1,a,0)}static startNodesVector(r,a){r.startVector(16,a,8)}static addBuffers(r,a){r.addFieldOffset(2,a,0)}static startBuffersVector(r,a){r.startVector(16,a,8)}static addCompression(r,a){r.addFieldOffset(3,a,0)}static endRecordBatch(r){return r.endObject()}};var Yt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDictionaryBatch(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDictionaryBatch(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}id(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt64(this.bb_pos+r):BigInt("0")}data(r){let a=this.bb.__offset(this.bb_pos,6);return a?(r||new st).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}isDelta(){let r=this.bb.__offset(this.bb_pos,8);return r?!!this.bb.readInt8(this.bb_pos+r):!1}static startDictionaryBatch(r){r.startObject(3)}static addId(r,a){r.addFieldInt64(0,a,BigInt("0"))}static addData(r,a){r.addFieldOffset(1,a,0)}static addIsDelta(r,a){r.addFieldInt8(2,+a,0)}static endDictionaryBatch(r){return r.endObject()}};var Lr;(function(l){l[l.Little=0]="Little",l[l.Big=1]="Big"})(Lr||(Lr={}));var zn;(function(l){l[l.DenseArray=0]="DenseArray"})(zn||(zn={}));var yt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsInt(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsInt(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}bitWidth(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt32(this.bb_pos+r):0}isSigned(){let r=this.bb.__offset(this.bb_pos,6);return r?!!this.bb.readInt8(this.bb_pos+r):!1}static startInt(r){r.startObject(2)}static addBitWidth(r,a){r.addFieldInt32(0,a,0)}static addIsSigned(r,a){r.addFieldInt8(1,+a,0)}static endInt(r){return r.endObject()}static createInt(r,a,_){return l.startInt(r),l.addBitWidth(r,a),l.addIsSigned(r,_),l.endInt(r)}};var Ht=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDictionaryEncoding(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDictionaryEncoding(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}id(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt64(this.bb_pos+r):BigInt("0")}indexType(r){let a=this.bb.__offset(this.bb_pos,6);return a?(r||new yt).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}isOrdered(){let r=this.bb.__offset(this.bb_pos,8);return r?!!this.bb.readInt8(this.bb_pos+r):!1}dictionaryKind(){let r=this.bb.__offset(this.bb_pos,10);return r?this.bb.readInt16(this.bb_pos+r):zn.DenseArray}static startDictionaryEncoding(r){r.startObject(4)}static addId(r,a){r.addFieldInt64(0,a,BigInt("0"))}static addIndexType(r,a){r.addFieldOffset(1,a,0)}static addIsOrdered(r,a){r.addFieldInt8(2,+a,0)}static addDictionaryKind(r,a){r.addFieldInt16(3,a,zn.DenseArray)}static endDictionaryEncoding(r){return r.endObject()}};var Re=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsKeyValue(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsKeyValue(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}key(r){let a=this.bb.__offset(this.bb_pos,4);return a?this.bb.__string(this.bb_pos+a,r):null}value(r){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__string(this.bb_pos+a,r):null}static startKeyValue(r){r.startObject(2)}static addKey(r,a){r.addFieldOffset(0,a,0)}static addValue(r,a){r.addFieldOffset(1,a,0)}static endKeyValue(r){return r.endObject()}static createKeyValue(r,a,_){return l.startKeyValue(r),l.addKey(r,a),l.addValue(r,_),l.endKeyValue(r)}};var jn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsBinary(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBinary(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startBinary(r){r.startObject(0)}static endBinary(r){return r.endObject()}static createBinary(r){return l.startBinary(r),l.endBinary(r)}};var $n=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsBool(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBool(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startBool(r){r.startObject(0)}static endBool(r){return r.endObject()}static createBool(r){return l.startBool(r),l.endBool(r)}};var Er=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDate(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDate(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):Ce.MILLISECOND}static startDate(r){r.startObject(1)}static addUnit(r,a){r.addFieldInt16(0,a,Ce.MILLISECOND)}static endDate(r){return r.endObject()}static createDate(r,a){return l.startDate(r),l.addUnit(r,a),l.endDate(r)}};var Nt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDecimal(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDecimal(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}precision(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt32(this.bb_pos+r):0}scale(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.readInt32(this.bb_pos+r):0}bitWidth(){let r=this.bb.__offset(this.bb_pos,8);return r?this.bb.readInt32(this.bb_pos+r):128}static startDecimal(r){r.startObject(3)}static addPrecision(r,a){r.addFieldInt32(0,a,0)}static addScale(r,a){r.addFieldInt32(1,a,0)}static addBitWidth(r,a){r.addFieldInt32(2,a,128)}static endDecimal(r){return r.endObject()}static createDecimal(r,a,_,f){return l.startDecimal(r),l.addPrecision(r,a),l.addScale(r,_),l.addBitWidth(r,f),l.endDecimal(r)}};var wr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDuration(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDuration(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):V.MILLISECOND}static startDuration(r){r.startObject(1)}static addUnit(r,a){r.addFieldInt16(0,a,V.MILLISECOND)}static endDuration(r){return r.endObject()}static createDuration(r,a){return l.startDuration(r),l.addUnit(r,a),l.endDuration(r)}};var Dr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsFixedSizeBinary(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFixedSizeBinary(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}byteWidth(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt32(this.bb_pos+r):0}static startFixedSizeBinary(r){r.startObject(1)}static addByteWidth(r,a){r.addFieldInt32(0,a,0)}static endFixedSizeBinary(r){return r.endObject()}static createFixedSizeBinary(r,a){return l.startFixedSizeBinary(r),l.addByteWidth(r,a),l.endFixedSizeBinary(r)}};var Fr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsFixedSizeList(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFixedSizeList(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}listSize(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt32(this.bb_pos+r):0}static startFixedSizeList(r){r.startObject(1)}static addListSize(r,a){r.addFieldInt32(0,a,0)}static endFixedSizeList(r){return r.endObject()}static createFixedSizeList(r,a){return l.startFixedSizeList(r),l.addListSize(r,a),l.endFixedSizeList(r)}};var Tr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsFloatingPoint(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFloatingPoint(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}precision(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):ye.HALF}static startFloatingPoint(r){r.startObject(1)}static addPrecision(r,a){r.addFieldInt16(0,a,ye.HALF)}static endFloatingPoint(r){return r.endObject()}static createFloatingPoint(r,a){return l.startFloatingPoint(r),l.addPrecision(r,a),l.endFloatingPoint(r)}};var Pr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsInterval(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsInterval(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):Ge.YEAR_MONTH}static startInterval(r){r.startObject(1)}static addUnit(r,a){r.addFieldInt16(0,a,Ge.YEAR_MONTH)}static endInterval(r){return r.endObject()}static createInterval(r,a){return l.startInterval(r),l.addUnit(r,a),l.endInterval(r)}};var qn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsLargeBinary(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsLargeBinary(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startLargeBinary(r){r.startObject(0)}static endLargeBinary(r){return r.endObject()}static createLargeBinary(r){return l.startLargeBinary(r),l.endLargeBinary(r)}};var Xn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsLargeUtf8(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsLargeUtf8(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startLargeUtf8(r){r.startObject(0)}static endLargeUtf8(r){return r.endObject()}static createLargeUtf8(r){return l.startLargeUtf8(r),l.endLargeUtf8(r)}};var Yn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsList(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsList(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startList(r){r.startObject(0)}static endList(r){return r.endObject()}static createList(r){return l.startList(r),l.endList(r)}};var Cr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsMap(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsMap(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}keysSorted(){let r=this.bb.__offset(this.bb_pos,4);return r?!!this.bb.readInt8(this.bb_pos+r):!1}static startMap(r){r.startObject(1)}static addKeysSorted(r,a){r.addFieldInt8(0,+a,0)}static endMap(r){return r.endObject()}static createMap(r,a){return l.startMap(r),l.addKeysSorted(r,a),l.endMap(r)}};var Qn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsNull(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsNull(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startNull(r){r.startObject(0)}static endNull(r){return r.endObject()}static createNull(r){return l.startNull(r),l.endNull(r)}};var Jn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsStruct_(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsStruct_(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startStruct_(r){r.startObject(0)}static endStruct_(r){return r.endObject()}static createStruct_(r){return l.startStruct_(r),l.endStruct_(r)}};var Qt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsTime(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsTime(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):V.MILLISECOND}bitWidth(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.readInt32(this.bb_pos+r):32}static startTime(r){r.startObject(2)}static addUnit(r,a){r.addFieldInt16(0,a,V.MILLISECOND)}static addBitWidth(r,a){r.addFieldInt32(1,a,32)}static endTime(r){return r.endObject()}static createTime(r,a,_){return l.startTime(r),l.addUnit(r,a),l.addBitWidth(r,_),l.endTime(r)}};var Jt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsTimestamp(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsTimestamp(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):V.SECOND}timezone(r){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__string(this.bb_pos+a,r):null}static startTimestamp(r){r.startObject(2)}static addUnit(r,a){r.addFieldInt16(0,a,V.SECOND)}static addTimezone(r,a){r.addFieldOffset(1,a,0)}static endTimestamp(r){return r.endObject()}static createTimestamp(r,a,_){return l.startTimestamp(r),l.addUnit(r,a),l.addTimezone(r,_),l.endTimestamp(r)}};var St=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsUnion(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsUnion(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}mode(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):Se.Sparse}typeIds(r){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.readInt32(this.bb.__vector(this.bb_pos+a)+r*4):0}typeIdsLength(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.__vector_len(this.bb_pos+r):0}typeIdsArray(){let r=this.bb.__offset(this.bb_pos,6);return r?new Int32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+r),this.bb.__vector_len(this.bb_pos+r)):null}static startUnion(r){r.startObject(2)}static addMode(r,a){r.addFieldInt16(0,a,Se.Sparse)}static addTypeIds(r,a){r.addFieldOffset(1,a,0)}static createTypeIdsVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addInt32(a[_]);return r.endVector()}static startTypeIdsVector(r,a){r.startVector(4,a,4)}static endUnion(r){return r.endObject()}static createUnion(r,a,_){return l.startUnion(r),l.addMode(r,a),l.addTypeIds(r,_),l.endUnion(r)}};var Kn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsUtf8(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsUtf8(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startUtf8(r){r.startObject(0)}static endUtf8(r){return r.endObject()}static createUtf8(r){return l.startUtf8(r),l.endUtf8(r)}};var Ae;(function(l){l[l.NONE=0]="NONE",l[l.Null=1]="Null",l[l.Int=2]="Int",l[l.FloatingPoint=3]="FloatingPoint",l[l.Binary=4]="Binary",l[l.Utf8=5]="Utf8",l[l.Bool=6]="Bool",l[l.Decimal=7]="Decimal",l[l.Date=8]="Date",l[l.Time=9]="Time",l[l.Timestamp=10]="Timestamp",l[l.Interval=11]="Interval",l[l.List=12]="List",l[l.Struct_=13]="Struct_",l[l.Union=14]="Union",l[l.FixedSizeBinary=15]="FixedSizeBinary",l[l.FixedSizeList=16]="FixedSizeList",l[l.Map=17]="Map",l[l.Duration=18]="Duration",l[l.LargeBinary=19]="LargeBinary",l[l.LargeUtf8=20]="LargeUtf8",l[l.LargeList=21]="LargeList",l[l.RunEndEncoded=22]="RunEndEncoded"})(Ae||(Ae={}));var je=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsField(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsField(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}name(r){let a=this.bb.__offset(this.bb_pos,4);return a?this.bb.__string(this.bb_pos+a,r):null}nullable(){let r=this.bb.__offset(this.bb_pos,6);return r?!!this.bb.readInt8(this.bb_pos+r):!1}typeType(){let r=this.bb.__offset(this.bb_pos,8);return r?this.bb.readUint8(this.bb_pos+r):Ae.NONE}type(r){let a=this.bb.__offset(this.bb_pos,10);return a?this.bb.__union(r,this.bb_pos+a):null}dictionary(r){let a=this.bb.__offset(this.bb_pos,12);return a?(r||new Ht).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}children(r,a){let _=this.bb.__offset(this.bb_pos,14);return _?(a||new l).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+_)+r*4),this.bb):null}childrenLength(){let r=this.bb.__offset(this.bb_pos,14);return r?this.bb.__vector_len(this.bb_pos+r):0}customMetadata(r,a){let _=this.bb.__offset(this.bb_pos,16);return _?(a||new Re).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+_)+r*4),this.bb):null}customMetadataLength(){let r=this.bb.__offset(this.bb_pos,16);return r?this.bb.__vector_len(this.bb_pos+r):0}static startField(r){r.startObject(7)}static addName(r,a){r.addFieldOffset(0,a,0)}static addNullable(r,a){r.addFieldInt8(1,+a,0)}static addTypeType(r,a){r.addFieldInt8(2,a,Ae.NONE)}static addType(r,a){r.addFieldOffset(3,a,0)}static addDictionary(r,a){r.addFieldOffset(4,a,0)}static addChildren(r,a){r.addFieldOffset(5,a,0)}static createChildrenVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addOffset(a[_]);return r.endVector()}static startChildrenVector(r,a){r.startVector(4,a,4)}static addCustomMetadata(r,a){r.addFieldOffset(6,a,0)}static createCustomMetadataVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addOffset(a[_]);return r.endVector()}static startCustomMetadataVector(r,a){r.startVector(4,a,4)}static endField(r){return r.endObject()}};var Ye=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsSchema(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsSchema(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}endianness(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):Lr.Little}fields(r,a){let _=this.bb.__offset(this.bb_pos,6);return _?(a||new je).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+_)+r*4),this.bb):null}fieldsLength(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.__vector_len(this.bb_pos+r):0}customMetadata(r,a){let _=this.bb.__offset(this.bb_pos,8);return _?(a||new Re).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+_)+r*4),this.bb):null}customMetadataLength(){let r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__vector_len(this.bb_pos+r):0}features(r){let a=this.bb.__offset(this.bb_pos,10);return a?this.bb.readInt64(this.bb.__vector(this.bb_pos+a)+r*8):BigInt(0)}featuresLength(){let r=this.bb.__offset(this.bb_pos,10);return r?this.bb.__vector_len(this.bb_pos+r):0}static startSchema(r){r.startObject(4)}static addEndianness(r,a){r.addFieldInt16(0,a,Lr.Little)}static addFields(r,a){r.addFieldOffset(1,a,0)}static createFieldsVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addOffset(a[_]);return r.endVector()}static startFieldsVector(r,a){r.startVector(4,a,4)}static addCustomMetadata(r,a){r.addFieldOffset(2,a,0)}static createCustomMetadataVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addOffset(a[_]);return r.endVector()}static startCustomMetadataVector(r,a){r.startVector(4,a,4)}static addFeatures(r,a){r.addFieldOffset(3,a,0)}static createFeaturesVector(r,a){r.startVector(8,a.length,8);for(let _=a.length-1;_>=0;_--)r.addInt64(a[_]);return r.endVector()}static startFeaturesVector(r,a){r.startVector(8,a,8)}static endSchema(r){return r.endObject()}static finishSchemaBuffer(r,a){r.finish(a)}static finishSizePrefixedSchemaBuffer(r,a){r.finish(a,void 0,!0)}static createSchema(r,a,_,f,m){return l.startSchema(r),l.addEndianness(r,a),l.addFields(r,_),l.addCustomMetadata(r,f),l.addFeatures(r,m),l.endSchema(r)}};var _e;(function(l){l[l.NONE=0]="NONE",l[l.Schema=1]="Schema",l[l.DictionaryBatch=2]="DictionaryBatch",l[l.RecordBatch=3]="RecordBatch",l[l.Tensor=4]="Tensor",l[l.SparseTensor=5]="SparseTensor"})(_e||(_e={}));var D;(function(l){l[l.NONE=0]="NONE",l[l.Null=1]="Null",l[l.Int=2]="Int",l[l.Float=3]="Float",l[l.Binary=4]="Binary",l[l.Utf8=5]="Utf8",l[l.Bool=6]="Bool",l[l.Decimal=7]="Decimal",l[l.Date=8]="Date",l[l.Time=9]="Time",l[l.Timestamp=10]="Timestamp",l[l.Interval=11]="Interval",l[l.List=12]="List",l[l.Struct=13]="Struct",l[l.Union=14]="Union",l[l.FixedSizeBinary=15]="FixedSizeBinary",l[l.FixedSizeList=16]="FixedSizeList",l[l.Map=17]="Map",l[l.Duration=18]="Duration",l[l.LargeBinary=19]="LargeBinary",l[l.LargeUtf8=20]="LargeUtf8",l[l.Dictionary=-1]="Dictionary",l[l.Int8=-2]="Int8",l[l.Int16=-3]="Int16",l[l.Int32=-4]="Int32",l[l.Int64=-5]="Int64",l[l.Uint8=-6]="Uint8",l[l.Uint16=-7]="Uint16",l[l.Uint32=-8]="Uint32",l[l.Uint64=-9]="Uint64",l[l.Float16=-10]="Float16",l[l.Float32=-11]="Float32",l[l.Float64=-12]="Float64",l[l.DateDay=-13]="DateDay",l[l.DateMillisecond=-14]="DateMillisecond",l[l.TimestampSecond=-15]="TimestampSecond",l[l.TimestampMillisecond=-16]="TimestampMillisecond",l[l.TimestampMicrosecond=-17]="TimestampMicrosecond",l[l.TimestampNanosecond=-18]="TimestampNanosecond",l[l.TimeSecond=-19]="TimeSecond",l[l.TimeMillisecond=-20]="TimeMillisecond",l[l.TimeMicrosecond=-21]="TimeMicrosecond",l[l.TimeNanosecond=-22]="TimeNanosecond",l[l.DenseUnion=-23]="DenseUnion",l[l.SparseUnion=-24]="SparseUnion",l[l.IntervalDayTime=-25]="IntervalDayTime",l[l.IntervalYearMonth=-26]="IntervalYearMonth",l[l.DurationSecond=-27]="DurationSecond",l[l.DurationMillisecond=-28]="DurationMillisecond",l[l.DurationMicrosecond=-29]="DurationMicrosecond",l[l.DurationNanosecond=-30]="DurationNanosecond"})(D||(D={}));var ut;(function(l){l[l.OFFSET=0]="OFFSET",l[l.DATA=1]="DATA",l[l.VALIDITY=2]="VALIDITY",l[l.TYPE=3]="TYPE"})(ut||(ut={}));var ao={};Ar(ao,{clampRange:()=>ri,createElementComparator:()=>Mr,wrapIndex:()=>Wr});var Na={};Ar(Na,{valueToString:()=>At});function At(l){if(l===null)return"null";if(l===void 0)return"undefined";switch(typeof l){case"number":return`${l}`;case"bigint":return`${l}`;case"string":return`"${l}"`}return typeof l[Symbol.toPrimitive]=="function"?l[Symbol.toPrimitive]("string"):ArrayBuffer.isView(l)?l instanceof BigInt64Array||l instanceof BigUint64Array?`[${[...l].map(r=>At(r))}]`:`[${l}]`:ArrayBuffer.isView(l)?`[${l}]`:JSON.stringify(l,(r,a)=>typeof a=="bigint"?`${a}`:a)}var ja={};Ar(ja,{BN:()=>ei,bigNumToBigInt:()=>_l,bigNumToNumber:()=>za,bigNumToString:()=>fn,isArrowBigNumSymbol:()=>cl});function de(l){if(typeof l=="bigint"&&(l<Number.MIN_SAFE_INTEGER||l>Number.MAX_SAFE_INTEGER))throw new TypeError(`${l} is not safe to convert to a number.`);return Number(l)}function Wa(l,r){return de(l/r)+de(l%r)/de(r)}var cl=Symbol.for("isArrowBigNum");function Lt(l,...r){return r.length===0?Object.setPrototypeOf(le(this.TypedArray,l),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(l,...r),this.constructor.prototype)}Lt.prototype[cl]=!0;Lt.prototype.toJSON=function(){return`"${fn(this)}"`};Lt.prototype.valueOf=function(l){return za(this,l)};Lt.prototype.toString=function(){return fn(this)};Lt.prototype[Symbol.toPrimitive]=function(l="default"){switch(l){case"number":return za(this);case"string":return fn(this);case"default":return _l(this)}return fn(this)};function un(...l){return Lt.apply(this,l)}function dn(...l){return Lt.apply(this,l)}function Zn(...l){return Lt.apply(this,l)}Object.setPrototypeOf(un.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(dn.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Zn.prototype,Object.create(Uint32Array.prototype));Object.assign(un.prototype,Lt.prototype,{constructor:un,signed:!0,TypedArray:Int32Array,BigIntArray:BigInt64Array});Object.assign(dn.prototype,Lt.prototype,{constructor:dn,signed:!1,TypedArray:Uint32Array,BigIntArray:BigUint64Array});Object.assign(Zn.prototype,Lt.prototype,{constructor:Zn,signed:!0,TypedArray:Uint32Array,BigIntArray:BigUint64Array});var su=BigInt(4294967296)*BigInt(4294967296),au=su-BigInt(1);function za(l,r){let{buffer:a,byteOffset:_,byteLength:f,signed:m}=l,g=new BigUint64Array(a,_,f/8),e=m&&g.at(-1)&BigInt(1)<<BigInt(63),t=BigInt(0),n=0;if(e){for(let o of g)t|=(o^au)*(BigInt(1)<<BigInt(64*n++));t*=BigInt(-1),t-=BigInt(1)}else for(let o of g)t|=o*(BigInt(1)<<BigInt(64*n++));if(typeof r=="number"){let o=BigInt(Math.pow(10,r)),c=t/o,u=t%o;return de(c)+de(u)/de(o)}return de(t)}function fn(l){if(l.byteLength===8)return`${new l.BigIntArray(l.buffer,l.byteOffset,1)[0]}`;if(!l.signed)return Va(l);let r=new Uint16Array(l.buffer,l.byteOffset,l.byteLength/2);if(new Int16Array([r.at(-1)])[0]>=0)return Va(l);r=r.slice();let _=1;for(let m=0;m<r.length;m++){let g=r[m],e=~g+_;r[m]=e,_&=g===0?1:0}return`-${Va(r)}`}function _l(l){return l.byteLength===8?new l.BigIntArray(l.buffer,l.byteOffset,1)[0]:fn(l)}function Va(l){let r="",a=new Uint32Array(2),_=new Uint16Array(l.buffer,l.byteOffset,l.byteLength/2),f=new Uint32Array((_=new Uint16Array(_).reverse()).buffer),m=-1,g=_.length-1;do{for(a[0]=_[m=0];m<g;)_[m++]=a[1]=a[0]/10,a[0]=(a[0]-a[1]*10<<16)+_[m];_[m]=a[1]=a[0]/10,a[0]=a[0]-a[1]*10,r=`${a[0]}${r}`}while(f[0]||f[1]||f[2]||f[3]);return r!=null?r:"0"}var ei=class l{static new(r,a){switch(a){case!0:return new un(r);case!1:return new dn(r)}switch(r.constructor){case Int8Array:case Int16Array:case Int32Array:case BigInt64Array:return new un(r)}return r.byteLength===16?new Zn(r):new dn(r)}static signed(r){return new un(r)}static unsigned(r){return new dn(r)}static decimal(r){return new Zn(r)}constructor(r,a){return l.new(r,a)}};var ul,dl,fl,pl,ml,gl,hl,vl,bl,yl,Sl,Al,Ll,El,wl,Dl,Fl,Tl,Pl,Cl,Il,kl,W=class l{static isNull(r){return(r==null?void 0:r.typeId)===D.Null}static isInt(r){return(r==null?void 0:r.typeId)===D.Int}static isFloat(r){return(r==null?void 0:r.typeId)===D.Float}static isBinary(r){return(r==null?void 0:r.typeId)===D.Binary}static isLargeBinary(r){return(r==null?void 0:r.typeId)===D.LargeBinary}static isUtf8(r){return(r==null?void 0:r.typeId)===D.Utf8}static isLargeUtf8(r){return(r==null?void 0:r.typeId)===D.LargeUtf8}static isBool(r){return(r==null?void 0:r.typeId)===D.Bool}static isDecimal(r){return(r==null?void 0:r.typeId)===D.Decimal}static isDate(r){return(r==null?void 0:r.typeId)===D.Date}static isTime(r){return(r==null?void 0:r.typeId)===D.Time}static isTimestamp(r){return(r==null?void 0:r.typeId)===D.Timestamp}static isInterval(r){return(r==null?void 0:r.typeId)===D.Interval}static isDuration(r){return(r==null?void 0:r.typeId)===D.Duration}static isList(r){return(r==null?void 0:r.typeId)===D.List}static isStruct(r){return(r==null?void 0:r.typeId)===D.Struct}static isUnion(r){return(r==null?void 0:r.typeId)===D.Union}static isFixedSizeBinary(r){return(r==null?void 0:r.typeId)===D.FixedSizeBinary}static isFixedSizeList(r){return(r==null?void 0:r.typeId)===D.FixedSizeList}static isMap(r){return(r==null?void 0:r.typeId)===D.Map}static isDictionary(r){return(r==null?void 0:r.typeId)===D.Dictionary}static isDenseUnion(r){return l.isUnion(r)&&r.mode===Se.Dense}static isSparseUnion(r){return l.isUnion(r)&&r.mode===Se.Sparse}constructor(r){this.typeId=r}};ul=Symbol.toStringTag;W[ul]=(l=>(l.children=null,l.ArrayType=Array,l.OffsetArrayType=Int32Array,l[Symbol.toStringTag]="DataType"))(W.prototype);var qe=class extends W{constructor(){super(D.Null)}toString(){return"Null"}};dl=Symbol.toStringTag;qe[dl]=(l=>l[Symbol.toStringTag]="Null")(qe.prototype);var Oe=class extends W{constructor(r,a){super(D.Int),this.isSigned=r,this.bitWidth=a}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?BigInt64Array:BigUint64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}};fl=Symbol.toStringTag;Oe[fl]=(l=>(l.isSigned=null,l.bitWidth=null,l[Symbol.toStringTag]="Int"))(Oe.prototype);var Zi=class extends Oe{constructor(){super(!0,8)}get ArrayType(){return Int8Array}},es=class extends Oe{constructor(){super(!0,16)}get ArrayType(){return Int16Array}},Wt=class extends Oe{constructor(){super(!0,32)}get ArrayType(){return Int32Array}},ts=class extends Oe{constructor(){super(!0,64)}get ArrayType(){return BigInt64Array}},rs=class extends Oe{constructor(){super(!1,8)}get ArrayType(){return Uint8Array}},ns=class extends Oe{constructor(){super(!1,16)}get ArrayType(){return Uint16Array}},is=class extends Oe{constructor(){super(!1,32)}get ArrayType(){return Uint32Array}},ss=class extends Oe{constructor(){super(!1,64)}get ArrayType(){return BigUint64Array}};Object.defineProperty(Zi.prototype,"ArrayType",{value:Int8Array});Object.defineProperty(es.prototype,"ArrayType",{value:Int16Array});Object.defineProperty(Wt.prototype,"ArrayType",{value:Int32Array});Object.defineProperty(ts.prototype,"ArrayType",{value:BigInt64Array});Object.defineProperty(rs.prototype,"ArrayType",{value:Uint8Array});Object.defineProperty(ns.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(is.prototype,"ArrayType",{value:Uint32Array});Object.defineProperty(ss.prototype,"ArrayType",{value:BigUint64Array});var dt=class extends W{constructor(r){super(D.Float),this.precision=r}get ArrayType(){switch(this.precision){case ye.HALF:return Uint16Array;case ye.SINGLE:return Float32Array;case ye.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}};pl=Symbol.toStringTag;dt[pl]=(l=>(l.precision=null,l[Symbol.toStringTag]="Float"))(dt.prototype);var as=class extends dt{constructor(){super(ye.HALF)}},os=class extends dt{constructor(){super(ye.SINGLE)}},ls=class extends dt{constructor(){super(ye.DOUBLE)}};Object.defineProperty(as.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(os.prototype,"ArrayType",{value:Float32Array});Object.defineProperty(ls.prototype,"ArrayType",{value:Float64Array});var Kt=class extends W{constructor(){super(D.Binary)}toString(){return"Binary"}};ml=Symbol.toStringTag;Kt[ml]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Binary"))(Kt.prototype);var Zt=class extends W{constructor(){super(D.LargeBinary)}toString(){return"LargeBinary"}};gl=Symbol.toStringTag;Zt[gl]=(l=>(l.ArrayType=Uint8Array,l.OffsetArrayType=BigInt64Array,l[Symbol.toStringTag]="LargeBinary"))(Zt.prototype);var er=class extends W{constructor(){super(D.Utf8)}toString(){return"Utf8"}};hl=Symbol.toStringTag;er[hl]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Utf8"))(er.prototype);var tr=class extends W{constructor(){super(D.LargeUtf8)}toString(){return"LargeUtf8"}};vl=Symbol.toStringTag;tr[vl]=(l=>(l.ArrayType=Uint8Array,l.OffsetArrayType=BigInt64Array,l[Symbol.toStringTag]="LargeUtf8"))(tr.prototype);var rr=class extends W{constructor(){super(D.Bool)}toString(){return"Bool"}};bl=Symbol.toStringTag;rr[bl]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Bool"))(rr.prototype);var nr=class extends W{constructor(r,a,_=128){super(D.Decimal),this.scale=r,this.precision=a,this.bitWidth=_}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};yl=Symbol.toStringTag;nr[yl]=(l=>(l.scale=null,l.precision=null,l.ArrayType=Uint32Array,l[Symbol.toStringTag]="Decimal"))(nr.prototype);var ir=class extends W{constructor(r){super(D.Date),this.unit=r}toString(){return`Date${(this.unit+1)*32}<${Ce[this.unit]}>`}get ArrayType(){return this.unit===Ce.DAY?Int32Array:BigInt64Array}};Sl=Symbol.toStringTag;ir[Sl]=(l=>(l.unit=null,l[Symbol.toStringTag]="Date"))(ir.prototype);var sr=class extends W{constructor(r,a){super(D.Time),this.unit=r,this.bitWidth=a}toString(){return`Time${this.bitWidth}<${V[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return BigInt64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}};Al=Symbol.toStringTag;sr[Al]=(l=>(l.unit=null,l.bitWidth=null,l[Symbol.toStringTag]="Time"))(sr.prototype);var ar=class extends W{constructor(r,a){super(D.Timestamp),this.unit=r,this.timezone=a}toString(){return`Timestamp<${V[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}};Ll=Symbol.toStringTag;ar[Ll]=(l=>(l.unit=null,l.timezone=null,l.ArrayType=BigInt64Array,l[Symbol.toStringTag]="Timestamp"))(ar.prototype);var or=class extends W{constructor(r){super(D.Interval),this.unit=r}toString(){return`Interval<${Ge[this.unit]}>`}};El=Symbol.toStringTag;or[El]=(l=>(l.unit=null,l.ArrayType=Int32Array,l[Symbol.toStringTag]="Interval"))(or.prototype);var lr=class extends W{constructor(r){super(D.Duration),this.unit=r}toString(){return`Duration<${V[this.unit]}>`}};wl=Symbol.toStringTag;lr[wl]=(l=>(l.unit=null,l.ArrayType=BigInt64Array,l[Symbol.toStringTag]="Duration"))(lr.prototype);var Et=class extends W{constructor(r){super(D.List),this.children=[r]}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};Dl=Symbol.toStringTag;Et[Dl]=(l=>(l.children=null,l[Symbol.toStringTag]="List"))(Et.prototype);var we=class extends W{constructor(r){super(D.Struct),this.children=r}toString(){return`Struct<{${this.children.map(r=>`${r.name}:${r.type}`).join(", ")}}>`}};Fl=Symbol.toStringTag;we[Fl]=(l=>(l.children=null,l[Symbol.toStringTag]="Struct"))(we.prototype);var wt=class extends W{constructor(r,a,_){super(D.Union),this.mode=r,this.children=_,this.typeIds=a=Int32Array.from(a),this.typeIdToChildIndex=a.reduce((f,m,g)=>(f[m]=g)&&f||f,Object.create(null))}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(r=>`${r.type}`).join(" | ")}>`}};Tl=Symbol.toStringTag;wt[Tl]=(l=>(l.mode=null,l.typeIds=null,l.children=null,l.typeIdToChildIndex=null,l.ArrayType=Int8Array,l[Symbol.toStringTag]="Union"))(wt.prototype);var cr=class extends W{constructor(r){super(D.FixedSizeBinary),this.byteWidth=r}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};Pl=Symbol.toStringTag;cr[Pl]=(l=>(l.byteWidth=null,l.ArrayType=Uint8Array,l[Symbol.toStringTag]="FixedSizeBinary"))(cr.prototype);var Dt=class extends W{constructor(r,a){super(D.FixedSizeList),this.listSize=r,this.children=[a]}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};Cl=Symbol.toStringTag;Dt[Cl]=(l=>(l.children=null,l.listSize=null,l[Symbol.toStringTag]="FixedSizeList"))(Dt.prototype);var Ft=class extends W{constructor(r,a=!1){var _,f,m;if(super(D.Map),this.children=[r],this.keysSorted=a,r&&(r.name="entries",!((_=r==null?void 0:r.type)===null||_===void 0)&&_.children)){let g=(f=r==null?void 0:r.type)===null||f===void 0?void 0:f.children[0];g&&(g.name="key");let e=(m=r==null?void 0:r.type)===null||m===void 0?void 0:m.children[1];e&&(e.name="value")}}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(r=>`${r.name}:${r.type}`).join(", ")}}>`}};Il=Symbol.toStringTag;Ft[Il]=(l=>(l.children=null,l.keysSorted=null,l[Symbol.toStringTag]="Map_"))(Ft.prototype);var ou=(l=>()=>++l)(-1),at=class extends W{constructor(r,a,_,f){super(D.Dictionary),this.indices=a,this.dictionary=r,this.isOrdered=f||!1,this.id=_==null?ou():de(_)}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}};kl=Symbol.toStringTag;at[kl]=(l=>(l.id=null,l.indices=null,l.isOrdered=null,l.dictionary=null,l[Symbol.toStringTag]="Dictionary"))(at.prototype);function ot(l){let r=l;switch(l.typeId){case D.Decimal:return l.bitWidth/32;case D.Interval:return 1+r.unit;case D.FixedSizeList:return r.listSize;case D.FixedSizeBinary:return r.byteWidth;default:return 1}}var j=class{visitMany(r,...a){return r.map((_,f)=>this.visit(_,...a.map(m=>m[f])))}visit(...r){return this.getVisitFn(r[0],!1).apply(this,r)}getVisitFn(r,a=!0){return lu(this,r,a)}getVisitFnByTypeId(r,a=!0){return pn(this,r,a)}visitNull(r,...a){return null}visitBool(r,...a){return null}visitInt(r,...a){return null}visitFloat(r,...a){return null}visitUtf8(r,...a){return null}visitLargeUtf8(r,...a){return null}visitBinary(r,...a){return null}visitLargeBinary(r,...a){return null}visitFixedSizeBinary(r,...a){return null}visitDate(r,...a){return null}visitTimestamp(r,...a){return null}visitTime(r,...a){return null}visitDecimal(r,...a){return null}visitList(r,...a){return null}visitStruct(r,...a){return null}visitUnion(r,...a){return null}visitDictionary(r,...a){return null}visitInterval(r,...a){return null}visitDuration(r,...a){return null}visitFixedSizeList(r,...a){return null}visitMap(r,...a){return null}};function lu(l,r,a=!0){return typeof r=="number"?pn(l,r,a):typeof r=="string"&&r in D?pn(l,D[r],a):r&&r instanceof W?pn(l,xl(r),a):r!=null&&r.type&&r.type instanceof W?pn(l,xl(r.type),a):pn(l,D.NONE,a)}function pn(l,r,a=!0){let _=null;switch(r){case D.Null:_=l.visitNull;break;case D.Bool:_=l.visitBool;break;case D.Int:_=l.visitInt;break;case D.Int8:_=l.visitInt8||l.visitInt;break;case D.Int16:_=l.visitInt16||l.visitInt;break;case D.Int32:_=l.visitInt32||l.visitInt;break;case D.Int64:_=l.visitInt64||l.visitInt;break;case D.Uint8:_=l.visitUint8||l.visitInt;break;case D.Uint16:_=l.visitUint16||l.visitInt;break;case D.Uint32:_=l.visitUint32||l.visitInt;break;case D.Uint64:_=l.visitUint64||l.visitInt;break;case D.Float:_=l.visitFloat;break;case D.Float16:_=l.visitFloat16||l.visitFloat;break;case D.Float32:_=l.visitFloat32||l.visitFloat;break;case D.Float64:_=l.visitFloat64||l.visitFloat;break;case D.Utf8:_=l.visitUtf8;break;case D.LargeUtf8:_=l.visitLargeUtf8;break;case D.Binary:_=l.visitBinary;break;case D.LargeBinary:_=l.visitLargeBinary;break;case D.FixedSizeBinary:_=l.visitFixedSizeBinary;break;case D.Date:_=l.visitDate;break;case D.DateDay:_=l.visitDateDay||l.visitDate;break;case D.DateMillisecond:_=l.visitDateMillisecond||l.visitDate;break;case D.Timestamp:_=l.visitTimestamp;break;case D.TimestampSecond:_=l.visitTimestampSecond||l.visitTimestamp;break;case D.TimestampMillisecond:_=l.visitTimestampMillisecond||l.visitTimestamp;break;case D.TimestampMicrosecond:_=l.visitTimestampMicrosecond||l.visitTimestamp;break;case D.TimestampNanosecond:_=l.visitTimestampNanosecond||l.visitTimestamp;break;case D.Time:_=l.visitTime;break;case D.TimeSecond:_=l.visitTimeSecond||l.visitTime;break;case D.TimeMillisecond:_=l.visitTimeMillisecond||l.visitTime;break;case D.TimeMicrosecond:_=l.visitTimeMicrosecond||l.visitTime;break;case D.TimeNanosecond:_=l.visitTimeNanosecond||l.visitTime;break;case D.Decimal:_=l.visitDecimal;break;case D.List:_=l.visitList;break;case D.Struct:_=l.visitStruct;break;case D.Union:_=l.visitUnion;break;case D.DenseUnion:_=l.visitDenseUnion||l.visitUnion;break;case D.SparseUnion:_=l.visitSparseUnion||l.visitUnion;break;case D.Dictionary:_=l.visitDictionary;break;case D.Interval:_=l.visitInterval;break;case D.IntervalDayTime:_=l.visitIntervalDayTime||l.visitInterval;break;case D.IntervalYearMonth:_=l.visitIntervalYearMonth||l.visitInterval;break;case D.Duration:_=l.visitDuration;break;case D.DurationSecond:_=l.visitDurationSecond||l.visitDuration;break;case D.DurationMillisecond:_=l.visitDurationMillisecond||l.visitDuration;break;case D.DurationMicrosecond:_=l.visitDurationMicrosecond||l.visitDuration;break;case D.DurationNanosecond:_=l.visitDurationNanosecond||l.visitDuration;break;case D.FixedSizeList:_=l.visitFixedSizeList;break;case D.Map:_=l.visitMap;break}if(typeof _=="function")return _;if(!a)return()=>null;throw new Error(`Unrecognized type '${D[r]}'`)}function xl(l){switch(l.typeId){case D.Null:return D.Null;case D.Int:{let{bitWidth:r,isSigned:a}=l;switch(r){case 8:return a?D.Int8:D.Uint8;case 16:return a?D.Int16:D.Uint16;case 32:return a?D.Int32:D.Uint32;case 64:return a?D.Int64:D.Uint64}return D.Int}case D.Float:switch(l.precision){case ye.HALF:return D.Float16;case ye.SINGLE:return D.Float32;case ye.DOUBLE:return D.Float64}return D.Float;case D.Binary:return D.Binary;case D.LargeBinary:return D.LargeBinary;case D.Utf8:return D.Utf8;case D.LargeUtf8:return D.LargeUtf8;case D.Bool:return D.Bool;case D.Decimal:return D.Decimal;case D.Time:switch(l.unit){case V.SECOND:return D.TimeSecond;case V.MILLISECOND:return D.TimeMillisecond;case V.MICROSECOND:return D.TimeMicrosecond;case V.NANOSECOND:return D.TimeNanosecond}return D.Time;case D.Timestamp:switch(l.unit){case V.SECOND:return D.TimestampSecond;case V.MILLISECOND:return D.TimestampMillisecond;case V.MICROSECOND:return D.TimestampMicrosecond;case V.NANOSECOND:return D.TimestampNanosecond}return D.Timestamp;case D.Date:switch(l.unit){case Ce.DAY:return D.DateDay;case Ce.MILLISECOND:return D.DateMillisecond}return D.Date;case D.Interval:switch(l.unit){case Ge.DAY_TIME:return D.IntervalDayTime;case Ge.YEAR_MONTH:return D.IntervalYearMonth}return D.Interval;case D.Duration:switch(l.unit){case V.SECOND:return D.DurationSecond;case V.MILLISECOND:return D.DurationMillisecond;case V.MICROSECOND:return D.DurationMicrosecond;case V.NANOSECOND:return D.DurationNanosecond}return D.Duration;case D.Map:return D.Map;case D.List:return D.List;case D.Struct:return D.Struct;case D.Union:switch(l.mode){case Se.Dense:return D.DenseUnion;case Se.Sparse:return D.SparseUnion}return D.Union;case D.FixedSizeBinary:return D.FixedSizeBinary;case D.FixedSizeList:return D.FixedSizeList;case D.Dictionary:return D.Dictionary}throw new Error(`Unrecognized type '${D[l.typeId]}'`)}j.prototype.visitInt8=null;j.prototype.visitInt16=null;j.prototype.visitInt32=null;j.prototype.visitInt64=null;j.prototype.visitUint8=null;j.prototype.visitUint16=null;j.prototype.visitUint32=null;j.prototype.visitUint64=null;j.prototype.visitFloat16=null;j.prototype.visitFloat32=null;j.prototype.visitFloat64=null;j.prototype.visitDateDay=null;j.prototype.visitDateMillisecond=null;j.prototype.visitTimestampSecond=null;j.prototype.visitTimestampMillisecond=null;j.prototype.visitTimestampMicrosecond=null;j.prototype.visitTimestampNanosecond=null;j.prototype.visitTimeSecond=null;j.prototype.visitTimeMillisecond=null;j.prototype.visitTimeMicrosecond=null;j.prototype.visitTimeNanosecond=null;j.prototype.visitDenseUnion=null;j.prototype.visitSparseUnion=null;j.prototype.visitIntervalDayTime=null;j.prototype.visitIntervalYearMonth=null;j.prototype.visitDuration=null;j.prototype.visitDurationSecond=null;j.prototype.visitDurationMillisecond=null;j.prototype.visitDurationMicrosecond=null;j.prototype.visitDurationNanosecond=null;var $a={};Ar($a,{float64ToUint16:()=>ti,uint16ToFloat64:()=>cs});var Ml=new Float64Array(1),mn=new Uint32Array(Ml.buffer);function cs(l){let r=(l&31744)>>10,a=(l&1023)/1024,_=Math.pow(-1,(l&32768)>>15);switch(r){case 31:return _*(a?Number.NaN:1/0);case 0:return _*(a?6103515625e-14*a:0)}return _*Math.pow(2,r-15)*(1+a)}function ti(l){if(l!==l)return 32256;Ml[0]=l;let r=(mn[1]&2147483648)>>16&65535,a=mn[1]&2146435072,_=0;return a>=1089470464?mn[0]>0?a=31744:(a=(a&2080374784)>>16,_=(mn[1]&1048575)>>10):a<=1056964608?(_=1048576+(mn[1]&1048575),_=1048576+(_<<(a>>20)-998)>>21,a=0):(a=a-1056964608>>10,_=(mn[1]&1048575)+512>>10),r|a|_&65535}var Q=class extends j{};function ee(l){return(r,a,_)=>{if(r.setValid(a,_!=null))return l(r,a,_)}}var cu=(l,r,a)=>{l[r]=Math.floor(a/864e5)},Bl=(l,r,a,_)=>{if(a+1<r.length){let f=de(r[a]),m=de(r[a+1]);l.set(_.subarray(0,m-f),f)}},_u=({offset:l,values:r},a,_)=>{let f=l+a;_?r[f>>3]|=1<<f%8:r[f>>3]&=~(1<<f%8)},_r=({values:l},r,a)=>{l[r]=a},qa=({values:l},r,a)=>{l[r]=a},Ul=({values:l},r,a)=>{l[r]=ti(a)},uu=(l,r,a)=>{switch(l.type.precision){case ye.HALF:return Ul(l,r,a);case ye.SINGLE:case ye.DOUBLE:return qa(l,r,a)}},_s=({values:l},r,a)=>{cu(l,r,a.valueOf())},us=({values:l},r,a)=>{l[r]=BigInt(a)},Xa=({stride:l,values:r},a,_)=>{r.set(_.subarray(0,l),l*a)},Gl=({values:l,valueOffsets:r},a,_)=>Bl(l,r,a,_),Rl=({values:l,valueOffsets:r},a,_)=>Bl(l,r,a,Gt(_)),Ya=(l,r,a)=>{l.type.unit===Ce.DAY?_s(l,r,a):us(l,r,a)},ds=({values:l},r,a)=>{l[r]=BigInt(a/1e3)},ps=({values:l},r,a)=>{l[r]=BigInt(a)},ms=({values:l},r,a)=>{l[r]=BigInt(a*1e3)},gs=({values:l},r,a)=>{l[r]=BigInt(a*1e6)},Qa=(l,r,a)=>{switch(l.type.unit){case V.SECOND:return ds(l,r,a);case V.MILLISECOND:return ps(l,r,a);case V.MICROSECOND:return ms(l,r,a);case V.NANOSECOND:return gs(l,r,a)}},hs=({values:l},r,a)=>{l[r]=a},vs=({values:l},r,a)=>{l[r]=a},bs=({values:l},r,a)=>{l[r]=a},ys=({values:l},r,a)=>{l[r]=a},Ja=(l,r,a)=>{switch(l.type.unit){case V.SECOND:return hs(l,r,a);case V.MILLISECOND:return vs(l,r,a);case V.MICROSECOND:return bs(l,r,a);case V.NANOSECOND:return ys(l,r,a)}},Ka=({values:l,stride:r},a,_)=>{l.set(_.subarray(0,r),r*a)},du=(l,r,a)=>{let _=l.children[0],f=l.valueOffsets,m=Ve.getVisitFn(_);if(Array.isArray(a))for(let g=-1,e=f[r],t=f[r+1];e<t;)m(_,e++,a[++g]);else for(let g=-1,e=f[r],t=f[r+1];e<t;)m(_,e++,a.get(++g))},fu=(l,r,a)=>{let _=l.children[0],{valueOffsets:f}=l,m=Ve.getVisitFn(_),{[r]:g,[r+1]:e}=f,t=a instanceof Map?a.entries():Object.entries(a);for(let n of t)if(m(_,g,n),++g>=e)break},pu=(l,r)=>(a,_,f,m)=>_&&a(_,l,r[m]),mu=(l,r)=>(a,_,f,m)=>_&&a(_,l,r.get(m)),gu=(l,r)=>(a,_,f,m)=>_&&a(_,l,r.get(f.name)),hu=(l,r)=>(a,_,f,m)=>_&&a(_,l,r[f.name]),vu=(l,r,a)=>{let _=l.type.children.map(m=>Ve.getVisitFn(m.type)),f=a instanceof Map?gu(r,a):a instanceof ue?mu(r,a):Array.isArray(a)?pu(r,a):hu(r,a);l.type.children.forEach((m,g)=>f(_[g],l.children[g],m,g))},bu=(l,r,a)=>{l.type.mode===Se.Dense?Ol(l,r,a):Hl(l,r,a)},Ol=(l,r,a)=>{let _=l.type.typeIdToChildIndex[l.typeIds[r]],f=l.children[_];Ve.visit(f,l.valueOffsets[r],a)},Hl=(l,r,a)=>{let _=l.type.typeIdToChildIndex[l.typeIds[r]],f=l.children[_];Ve.visit(f,r,a)},yu=(l,r,a)=>{var _;(_=l.dictionary)===null||_===void 0||_.set(l.values[r],a)},Za=(l,r,a)=>{l.type.unit===Ge.DAY_TIME?Ss(l,r,a):As(l,r,a)},Ss=({values:l},r,a)=>{l.set(a.subarray(0,2),2*r)},As=({values:l},r,a)=>{l[r]=a[0]*12+a[1]%12},Ls=({values:l},r,a)=>{l[r]=a},Es=({values:l},r,a)=>{l[r]=a},ws=({values:l},r,a)=>{l[r]=a},Ds=({values:l},r,a)=>{l[r]=a},eo=(l,r,a)=>{switch(l.type.unit){case V.SECOND:return Ls(l,r,a);case V.MILLISECOND:return Es(l,r,a);case V.MICROSECOND:return ws(l,r,a);case V.NANOSECOND:return Ds(l,r,a)}},Su=(l,r,a)=>{let{stride:_}=l,f=l.children[0],m=Ve.getVisitFn(f);if(Array.isArray(a))for(let g=-1,e=r*_;++g<_;)m(f,e+g,a[g]);else for(let g=-1,e=r*_;++g<_;)m(f,e+g,a.get(g))};Q.prototype.visitBool=ee(_u);Q.prototype.visitInt=ee(_r);Q.prototype.visitInt8=ee(_r);Q.prototype.visitInt16=ee(_r);Q.prototype.visitInt32=ee(_r);Q.prototype.visitInt64=ee(_r);Q.prototype.visitUint8=ee(_r);Q.prototype.visitUint16=ee(_r);Q.prototype.visitUint32=ee(_r);Q.prototype.visitUint64=ee(_r);Q.prototype.visitFloat=ee(uu);Q.prototype.visitFloat16=ee(Ul);Q.prototype.visitFloat32=ee(qa);Q.prototype.visitFloat64=ee(qa);Q.prototype.visitUtf8=ee(Rl);Q.prototype.visitLargeUtf8=ee(Rl);Q.prototype.visitBinary=ee(Gl);Q.prototype.visitLargeBinary=ee(Gl);Q.prototype.visitFixedSizeBinary=ee(Xa);Q.prototype.visitDate=ee(Ya);Q.prototype.visitDateDay=ee(_s);Q.prototype.visitDateMillisecond=ee(us);Q.prototype.visitTimestamp=ee(Qa);Q.prototype.visitTimestampSecond=ee(ds);Q.prototype.visitTimestampMillisecond=ee(ps);Q.prototype.visitTimestampMicrosecond=ee(ms);Q.prototype.visitTimestampNanosecond=ee(gs);Q.prototype.visitTime=ee(Ja);Q.prototype.visitTimeSecond=ee(hs);Q.prototype.visitTimeMillisecond=ee(vs);Q.prototype.visitTimeMicrosecond=ee(bs);Q.prototype.visitTimeNanosecond=ee(ys);Q.prototype.visitDecimal=ee(Ka);Q.prototype.visitList=ee(du);Q.prototype.visitStruct=ee(vu);Q.prototype.visitUnion=ee(bu);Q.prototype.visitDenseUnion=ee(Ol);Q.prototype.visitSparseUnion=ee(Hl);Q.prototype.visitDictionary=ee(yu);Q.prototype.visitInterval=ee(Za);Q.prototype.visitIntervalDayTime=ee(Ss);Q.prototype.visitIntervalYearMonth=ee(As);Q.prototype.visitDuration=ee(eo);Q.prototype.visitDurationSecond=ee(Ls);Q.prototype.visitDurationMillisecond=ee(Es);Q.prototype.visitDurationMicrosecond=ee(ws);Q.prototype.visitDurationNanosecond=ee(Ds);Q.prototype.visitFixedSizeList=ee(Su);Q.prototype.visitMap=ee(fu);var Ve=new Q;var Tt=Symbol.for("parent"),gn=Symbol.for("rowIndex"),Ir=class{constructor(r,a){return this[Tt]=r,this[gn]=a,new Proxy(this,new ro)}toArray(){return Object.values(this.toJSON())}toJSON(){let r=this[gn],a=this[Tt],_=a.type.children,f={};for(let m=-1,g=_.length;++m<g;)f[_[m].name]=xe.visit(a.children[m],r);return f}toString(){return`{${[...this].map(([r,a])=>`${At(r)}: ${At(a)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new to(this[Tt],this[gn])}},to=class{constructor(r,a){this.childIndex=0,this.children=r.children,this.rowIndex=a,this.childFields=r.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){let r=this.childIndex;return r<this.numChildren?(this.childIndex=r+1,{done:!1,value:[this.childFields[r].name,xe.visit(this.children[r],this.rowIndex)]}):{done:!0,value:null}}};Object.defineProperties(Ir.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[Tt]:{writable:!0,enumerable:!1,configurable:!1,value:null},[gn]:{writable:!0,enumerable:!1,configurable:!1,value:-1}});var ro=class{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(r){return r[Tt].type.children.map(a=>a.name)}has(r,a){return r[Tt].type.children.findIndex(_=>_.name===a)!==-1}getOwnPropertyDescriptor(r,a){if(r[Tt].type.children.findIndex(_=>_.name===a)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(r,a){if(Reflect.has(r,a))return r[a];let _=r[Tt].type.children.findIndex(f=>f.name===a);if(_!==-1){let f=xe.visit(r[Tt].children[_],r[gn]);return Reflect.set(r,a,f),f}}set(r,a,_){let f=r[Tt].type.children.findIndex(m=>m.name===a);return f!==-1?(Ve.visit(r[Tt].children[f],r[gn],_),Reflect.set(r,a,_)):Reflect.has(r,a)||typeof a=="symbol"?Reflect.set(r,a,_):!1}};var $=class extends j{};function K(l){return(r,a)=>r.getValid(a)?l(r,a):null}var Au=(l,r)=>864e5*l[r],Lu=(l,r)=>null,Nl=(l,r,a)=>{if(a+1>=r.length)return null;let _=de(r[a]),f=de(r[a+1]);return l.subarray(_,f)},Eu=({offset:l,values:r},a)=>{let _=l+a;return(r[_>>3]&1<<_%8)!==0},Wl=({values:l},r)=>Au(l,r),Vl=({values:l},r)=>de(l[r]),kr=({stride:l,values:r},a)=>r[l*a],wu=({stride:l,values:r},a)=>cs(r[l*a]),zl=({values:l},r)=>l[r],Du=({stride:l,values:r},a)=>r.subarray(l*a,l*(a+1)),jl=({values:l,valueOffsets:r},a)=>Nl(l,r,a),$l=({values:l,valueOffsets:r},a)=>{let _=Nl(l,r,a);return _!==null?Rn(_):null},Fu=({values:l},r)=>l[r],Tu=({type:l,values:r},a)=>l.precision!==ye.HALF?r[a]:cs(r[a]),Pu=(l,r)=>l.type.unit===Ce.DAY?Wl(l,r):Vl(l,r),ql=({values:l},r)=>1e3*de(l[r]),Xl=({values:l},r)=>de(l[r]),Yl=({values:l},r)=>Wa(l[r],BigInt(1e3)),Ql=({values:l},r)=>Wa(l[r],BigInt(1e6)),Cu=(l,r)=>{switch(l.type.unit){case V.SECOND:return ql(l,r);case V.MILLISECOND:return Xl(l,r);case V.MICROSECOND:return Yl(l,r);case V.NANOSECOND:return Ql(l,r)}},Jl=({values:l},r)=>l[r],Kl=({values:l},r)=>l[r],Zl=({values:l},r)=>l[r],ec=({values:l},r)=>l[r],Iu=(l,r)=>{switch(l.type.unit){case V.SECOND:return Jl(l,r);case V.MILLISECOND:return Kl(l,r);case V.MICROSECOND:return Zl(l,r);case V.NANOSECOND:return ec(l,r)}},ku=({values:l,stride:r},a)=>ei.decimal(l.subarray(r*a,r*(a+1))),xu=(l,r)=>{let{valueOffsets:a,stride:_,children:f}=l,{[r*_]:m,[r*_+1]:g}=a,t=f[0].slice(m,g-m);return new ue([t])},Mu=(l,r)=>{let{valueOffsets:a,children:_}=l,{[r]:f,[r+1]:m}=a,g=_[0];return new Vt(g.slice(f,m-f))},Bu=(l,r)=>new Ir(l,r),Uu=(l,r)=>l.type.mode===Se.Dense?tc(l,r):rc(l,r),tc=(l,r)=>{let a=l.type.typeIdToChildIndex[l.typeIds[r]],_=l.children[a];return xe.visit(_,l.valueOffsets[r])},rc=(l,r)=>{let a=l.type.typeIdToChildIndex[l.typeIds[r]],_=l.children[a];return xe.visit(_,r)},Gu=(l,r)=>{var a;return(a=l.dictionary)===null||a===void 0?void 0:a.get(l.values[r])},Ru=(l,r)=>l.type.unit===Ge.DAY_TIME?nc(l,r):ic(l,r),nc=({values:l},r)=>l.subarray(2*r,2*(r+1)),ic=({values:l},r)=>{let a=l[r],_=new Int32Array(2);return _[0]=Math.trunc(a/12),_[1]=Math.trunc(a%12),_},sc=({values:l},r)=>l[r],ac=({values:l},r)=>l[r],oc=({values:l},r)=>l[r],lc=({values:l},r)=>l[r],Ou=(l,r)=>{switch(l.type.unit){case V.SECOND:return sc(l,r);case V.MILLISECOND:return ac(l,r);case V.MICROSECOND:return oc(l,r);case V.NANOSECOND:return lc(l,r)}},Hu=(l,r)=>{let{stride:a,children:_}=l,m=_[0].slice(r*a,a);return new ue([m])};$.prototype.visitNull=K(Lu);$.prototype.visitBool=K(Eu);$.prototype.visitInt=K(Fu);$.prototype.visitInt8=K(kr);$.prototype.visitInt16=K(kr);$.prototype.visitInt32=K(kr);$.prototype.visitInt64=K(zl);$.prototype.visitUint8=K(kr);$.prototype.visitUint16=K(kr);$.prototype.visitUint32=K(kr);$.prototype.visitUint64=K(zl);$.prototype.visitFloat=K(Tu);$.prototype.visitFloat16=K(wu);$.prototype.visitFloat32=K(kr);$.prototype.visitFloat64=K(kr);$.prototype.visitUtf8=K($l);$.prototype.visitLargeUtf8=K($l);$.prototype.visitBinary=K(jl);$.prototype.visitLargeBinary=K(jl);$.prototype.visitFixedSizeBinary=K(Du);$.prototype.visitDate=K(Pu);$.prototype.visitDateDay=K(Wl);$.prototype.visitDateMillisecond=K(Vl);$.prototype.visitTimestamp=K(Cu);$.prototype.visitTimestampSecond=K(ql);$.prototype.visitTimestampMillisecond=K(Xl);$.prototype.visitTimestampMicrosecond=K(Yl);$.prototype.visitTimestampNanosecond=K(Ql);$.prototype.visitTime=K(Iu);$.prototype.visitTimeSecond=K(Jl);$.prototype.visitTimeMillisecond=K(Kl);$.prototype.visitTimeMicrosecond=K(Zl);$.prototype.visitTimeNanosecond=K(ec);$.prototype.visitDecimal=K(ku);$.prototype.visitList=K(xu);$.prototype.visitStruct=K(Bu);$.prototype.visitUnion=K(Uu);$.prototype.visitDenseUnion=K(tc);$.prototype.visitSparseUnion=K(rc);$.prototype.visitDictionary=K(Gu);$.prototype.visitInterval=K(Ru);$.prototype.visitIntervalDayTime=K(nc);$.prototype.visitIntervalYearMonth=K(ic);$.prototype.visitDuration=K(Ou);$.prototype.visitDurationSecond=K(sc);$.prototype.visitDurationMillisecond=K(ac);$.prototype.visitDurationMicrosecond=K(oc);$.prototype.visitDurationNanosecond=K(lc);$.prototype.visitFixedSizeList=K(Hu);$.prototype.visitMap=K(Mu);var xe=new $;var xr=Symbol.for("keys"),vn=Symbol.for("vals"),hn=Symbol.for("kKeysAsStrings"),no=Symbol.for("_kKeysAsStrings"),Vt=class{constructor(r){return this[xr]=new ue([r.children[0]]).memoize(),this[vn]=r.children[1],new Proxy(this,new so)}get[hn](){return this[no]||(this[no]=Array.from(this[xr].toArray(),String))}[Symbol.iterator](){return new io(this[xr],this[vn])}get size(){return this[xr].length}toArray(){return Object.values(this.toJSON())}toJSON(){let r=this[xr],a=this[vn],_={};for(let f=-1,m=r.length;++f<m;)_[r.get(f)]=xe.visit(a,f);return _}toString(){return`{${[...this].map(([r,a])=>`${At(r)}: ${At(a)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}},io=class{constructor(r,a){this.keys=r,this.vals=a,this.keyIndex=0,this.numKeys=r.length}[Symbol.iterator](){return this}next(){let r=this.keyIndex;return r===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(r),xe.visit(this.vals,r)]})}},so=class{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(r){return r[hn]}has(r,a){return r[hn].includes(a)}getOwnPropertyDescriptor(r,a){if(r[hn].indexOf(a)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(r,a){if(Reflect.has(r,a))return r[a];let _=r[hn].indexOf(a);if(_!==-1){let f=xe.visit(Reflect.get(r,vn),_);return Reflect.set(r,a,f),f}}set(r,a,_){let f=r[hn].indexOf(a);return f!==-1?(Ve.visit(Reflect.get(r,vn),f,_),Reflect.set(r,a,_)):Reflect.has(r,a)?Reflect.set(r,a,_):!1}};Object.defineProperties(Vt.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[xr]:{writable:!0,enumerable:!1,configurable:!1,value:null},[vn]:{writable:!0,enumerable:!1,configurable:!1,value:null},[no]:{writable:!0,enumerable:!1,configurable:!1,value:null}});var cc;function ri(l,r,a,_){let{length:f=0}=l,m=typeof r!="number"?0:r,g=typeof a!="number"?f:a;return m<0&&(m=(m%f+f)%f),g<0&&(g=(g%f+f)%f),g<m&&(cc=m,m=g,g=cc),g>f&&(g=f),_?_(l,m,g):[m,g]}var Wr=(l,r)=>l<0?r+l:l,_c=l=>l!==l;function Mr(l){if(typeof l!=="object"||l===null)return _c(l)?_c:a=>a===l;if(l instanceof Date){let a=l.valueOf();return _=>_ instanceof Date?_.valueOf()===a:!1}return ArrayBuffer.isView(l)?a=>a?Ga(l,a):!1:l instanceof Map?Wu(l):Array.isArray(l)?Nu(l):l instanceof ue?Vu(l):zu(l,!0)}function Nu(l){let r=[];for(let a=-1,_=l.length;++a<_;)r[a]=Mr(l[a]);return Fs(r)}function Wu(l){let r=-1,a=[];for(let _ of l.values())a[++r]=Mr(_);return Fs(a)}function Vu(l){let r=[];for(let a=-1,_=l.length;++a<_;)r[a]=Mr(l.get(a));return Fs(r)}function zu(l,r=!1){let a=Object.keys(l);if(!r&&a.length===0)return()=>!1;let _=[];for(let f=-1,m=a.length;++f<m;)_[f]=Mr(l[a[f]]);return Fs(_,a)}function Fs(l,r){return a=>{if(!a||typeof a!="object")return!1;switch(a.constructor){case Array:return ju(l,a);case Map:return uc(l,a,a.keys());case Vt:case Ir:case Object:case void 0:return uc(l,a,r||Object.keys(a))}return a instanceof ue?$u(l,a):!1}}function ju(l,r){let a=l.length;if(r.length!==a)return!1;for(let _=-1;++_<a;)if(!l[_](r[_]))return!1;return!0}function $u(l,r){let a=l.length;if(r.length!==a)return!1;for(let _=-1;++_<a;)if(!l[_](r.get(_)))return!1;return!0}function uc(l,r,a){let _=a[Symbol.iterator](),f=r instanceof Map?r.keys():Object.keys(r)[Symbol.iterator](),m=r instanceof Map?r.values():Object.values(r)[Symbol.iterator](),g=0,e=l.length,t=m.next(),n=_.next(),o=f.next();for(;g<e&&!n.done&&!o.done&&!t.done&&!(n.value!==o.value||!l[g](t.value));++g,n=_.next(),o=f.next(),t=m.next());return g===e&&n.done&&o.done&&t.done?!0:(_.return&&_.return(),f.return&&f.return(),m.return&&m.return(),!1)}var oo={};Ar(oo,{BitIterator:()=>Vr,getBit:()=>dc,getBool:()=>Ps,packBools:()=>jr,popcnt_array:()=>fc,popcnt_bit_range:()=>ni,popcnt_uint32:()=>Ts,setBool:()=>qu,truncateBitmap:()=>zr});function Ps(l,r,a,_){return(a&1<<_)!==0}function dc(l,r,a,_){return(a&1<<_)>>_}function qu(l,r,a){return a?!!(l[r>>3]|=1<<r%8)||!0:!(l[r>>3]&=~(1<<r%8))&&!1}function zr(l,r,a){let _=a.byteLength+7&-8;if(l>0||a.byteLength<_){let f=new Uint8Array(_);return f.set(l%8===0?a.subarray(l>>3):jr(new Vr(a,l,r,null,Ps)).subarray(0,_)),f}return a}function jr(l){let r=[],a=0,_=0,f=0;for(let g of l)g&&(f|=1<<_),++_===8&&(r[a++]=f,f=_=0);(a===0||_>0)&&(r[a++]=f);let m=new Uint8Array(r.length+7&-8);return m.set(r),m}var Vr=class{constructor(r,a,_,f,m){this.bytes=r,this.length=_,this.context=f,this.get=m,this.bit=a%8,this.byteIndex=a>>3,this.byte=r[this.byteIndex++],this.index=0}next(){return this.index<this.length?(this.bit===8&&(this.bit=0,this.byte=this.bytes[this.byteIndex++]),{value:this.get(this.context,this.index++,this.byte,this.bit++)}):{done:!0,value:null}}[Symbol.iterator](){return this}};function ni(l,r,a){if(a-r<=0)return 0;if(a-r<8){let m=0;for(let g of new Vr(l,r,a-r,l,dc))m+=g;return m}let _=a>>3<<3,f=r+(r%8===0?0:8-r%8);return ni(l,r,f)+ni(l,_,a)+fc(l,f>>3,_-f>>3)}function fc(l,r,a){let _=0,f=Math.trunc(r),m=new DataView(l.buffer,l.byteOffset,l.byteLength),g=a===void 0?l.byteLength:f+a;for(;g-f>=4;)_+=Ts(m.getUint32(f)),f+=4;for(;g-f>=2;)_+=Ts(m.getUint16(f)),f+=2;for(;g-f>=1;)_+=Ts(m.getUint8(f)),f+=1;return _}function Ts(l){let r=Math.trunc(l);return r=r-(r>>>1&1431655765),r=(r&858993459)+(r>>>2&858993459),(r+(r>>>4)&252645135)*16843009>>>24}var Xu=-1,fe=class l{get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get nullable(){if(this._nullCount!==0){let{type:r}=this;return W.isSparseUnion(r)?this.children.some(a=>a.nullable):W.isDenseUnion(r)?this.children.some(a=>a.nullable):this.nullBitmap&&this.nullBitmap.byteLength>0}return!0}get byteLength(){let r=0,{valueOffsets:a,values:_,nullBitmap:f,typeIds:m}=this;return a&&(r+=a.byteLength),_&&(r+=_.byteLength),f&&(r+=f.byteLength),m&&(r+=m.byteLength),this.children.reduce((g,e)=>g+e.byteLength,r)}get nullCount(){if(W.isUnion(this.type))return this.children.reduce((_,f)=>_+f.nullCount,0);let r=this._nullCount,a;return r<=Xu&&(a=this.nullBitmap)&&(this._nullCount=r=a.length===0?0:this.length-ni(a,this.offset,this.offset+this.length)),r}constructor(r,a,_,f,m,g=[],e){this.type=r,this.children=g,this.dictionary=e,this.offset=Math.floor(Math.max(a||0,0)),this.length=Math.floor(Math.max(_||0,0)),this._nullCount=Math.floor(Math.max(f||0,-1));let t;m instanceof l?(this.stride=m.stride,this.values=m.values,this.typeIds=m.typeIds,this.nullBitmap=m.nullBitmap,this.valueOffsets=m.valueOffsets):(this.stride=ot(r),m&&((t=m[0])&&(this.valueOffsets=t),(t=m[1])&&(this.values=t),(t=m[2])&&(this.nullBitmap=t),(t=m[3])&&(this.typeIds=t)))}getValid(r){let{type:a}=this;if(W.isUnion(a)){let _=a,f=this.children[_.typeIdToChildIndex[this.typeIds[r]]],m=_.mode===Se.Dense?this.valueOffsets[r]:r;return f.getValid(m)}if(this.nullable&&this.nullCount>0){let _=this.offset+r;return(this.nullBitmap[_>>3]&1<<_%8)!==0}return!0}setValid(r,a){let _,{type:f}=this;if(W.isUnion(f)){let m=f,g=this.children[m.typeIdToChildIndex[this.typeIds[r]]],e=m.mode===Se.Dense?this.valueOffsets[r]:r;_=g.getValid(e),g.setValid(e,a)}else{let{nullBitmap:m}=this,{offset:g,length:e}=this,t=g+r,n=1<<t%8,o=t>>3;(!m||m.byteLength<=o)&&(m=new Uint8Array((g+e+63&-64)>>3).fill(255),this.nullCount>0?(m.set(zr(g,e,this.nullBitmap),0),Object.assign(this,{nullBitmap:m})):Object.assign(this,{nullBitmap:m,_nullCount:0}));let c=m[o];_=(c&n)!==0,m[o]=a?c|n:c&~n}return _!==!!a&&(this._nullCount=this.nullCount+(a?-1:1)),a}clone(r=this.type,a=this.offset,_=this.length,f=this._nullCount,m=this,g=this.children){return new l(r,a,_,f,m,g,this.dictionary)}slice(r,a){let{stride:_,typeId:f,children:m}=this,g=+(this._nullCount===0)-1,e=f===16?_:1,t=this._sliceBuffers(r,a,_,f);return this.clone(this.type,this.offset+r,a,g,t,m.length===0||this.valueOffsets?m:this._sliceChildren(m,e*r,e*a))}_changeLengthAndBackfillNullBitmap(r){if(this.typeId===D.Null)return this.clone(this.type,0,r,0);let{length:a,nullCount:_}=this,f=new Uint8Array((r+63&-64)>>3).fill(255,0,a>>3);f[a>>3]=(1<<a-(a&-8))-1,_>0&&f.set(zr(this.offset,a,this.nullBitmap),0);let m=this.buffers;return m[ut.VALIDITY]=f,this.clone(this.type,0,r,_+(r-a),m)}_sliceBuffers(r,a,_,f){let m,{buffers:g}=this;return(m=g[ut.TYPE])&&(g[ut.TYPE]=m.subarray(r,r+a)),(m=g[ut.OFFSET])&&(g[ut.OFFSET]=m.subarray(r,r+a+1))||(m=g[ut.DATA])&&(g[ut.DATA]=f===6?m:m.subarray(_*r,_*(r+a))),g}_sliceChildren(r,a,_){return r.map(f=>f.slice(a,_))}};fe.prototype.children=Object.freeze([]);var lo=class l extends j{visit(r){return this.getVisitFn(r.type).call(this,r)}visitNull(r){let{["type"]:a,["offset"]:_=0,["length"]:f=0}=r;return new fe(a,_,f,f)}visitBool(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length>>3,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitInt(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitFloat(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitUtf8(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.data),m=J(r.nullBitmap),g=Hr(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,f,m])}visitLargeUtf8(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.data),m=J(r.nullBitmap),g=$i(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,f,m])}visitBinary(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.data),m=J(r.nullBitmap),g=Hr(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,f,m])}visitLargeBinary(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.data),m=J(r.nullBitmap),g=$i(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,f,m])}visitFixedSizeBinary(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/ot(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitDate(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/ot(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitTimestamp(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/ot(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitTime(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/ot(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitDecimal(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/ot(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitList(r){let{["type"]:a,["offset"]:_=0,["child"]:f}=r,m=J(r.nullBitmap),g=Hr(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,void 0,m],[f])}visitStruct(r){let{["type"]:a,["offset"]:_=0,["children"]:f=[]}=r,m=J(r.nullBitmap),{length:g=f.reduce((t,{length:n})=>Math.max(t,n),0),nullCount:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,void 0,m],f)}visitUnion(r){let{["type"]:a,["offset"]:_=0,["children"]:f=[]}=r,m=le(a.ArrayType,r.typeIds),{["length"]:g=m.length,["nullCount"]:e=-1}=r;if(W.isSparseUnion(a))return new fe(a,_,g,e,[void 0,void 0,void 0,m],f);let t=Hr(r.valueOffsets);return new fe(a,_,g,e,[t,void 0,void 0,m],f)}visitDictionary(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.indices.ArrayType,r.data),{["dictionary"]:g=new ue([new l().visit({type:a.dictionary})])}=r,{["length"]:e=m.length,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[void 0,m,f],[],g)}visitInterval(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/ot(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitDuration(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitFixedSizeList(r){let{["type"]:a,["offset"]:_=0,["child"]:f=new l().visit({type:a.valueType})}=r,m=J(r.nullBitmap),{["length"]:g=f.length/ot(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,void 0,m],[f])}visitMap(r){let{["type"]:a,["offset"]:_=0,["child"]:f=new l().visit({type:a.childType})}=r,m=J(r.nullBitmap),g=Hr(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,void 0,m],[f])}},Yu=new lo;function ne(l){return Yu.visit(l)}var ii=class{constructor(r=0,a){this.numChunks=r,this.getChunkIterator=a,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndex<this.numChunks;){let r=this.chunkIterator.next();if(!r.done)return r;++this.chunkIndex<this.numChunks&&(this.chunkIterator=this.getChunkIterator(this.chunkIndex))}return{done:!0,value:null}}[Symbol.iterator](){return this}};function pc(l){return l.some(r=>r.nullable)}function Cs(l){return l.reduce((r,a)=>r+a.nullCount,0)}function Is(l){return l.reduce((r,a,_)=>(r[_+1]=r[_]+a.length,r),new Uint32Array(l.length+1))}function ks(l,r,a,_){let f=[];for(let m=-1,g=l.length;++m<g;){let e=l[m],t=r[m],{length:n}=e;if(t>=_)break;if(a>=t+n)continue;if(t>=a&&t+n<=_){f.push(e);continue}let o=Math.max(0,a-t),c=Math.min(_-t,n);f.push(e.slice(o,c-o))}return f.length===0&&f.push(l[0].slice(0,0)),f}function co(l,r,a,_){let f=0,m=0,g=r.length-1;do{if(f>=g-1)return a<r[g]?_(l,f,a-r[f]):null;m=f+Math.trunc((g-f)*.5),a<r[m]?g=m:f=m}while(f<g)}function si(l,r){return l.getValid(r)}function bn(l){function r(a,_,f){return l(a[_],f)}return function(a){let _=this.data;return co(_,this._offsets,a,r)}}function xs(l){let r;function a(_,f,m){return l(_[f],m,r)}return function(_,f){let m=this.data;r=f;let g=co(m,this._offsets,_,a);return r=void 0,g}}function Ms(l){let r;function a(_,f,m){let g=m,e=0,t=0;for(let n=f-1,o=_.length;++n<o;){let c=_[n];if(~(e=l(c,r,g)))return t+e;g=0,t+=c.length}return-1}return function(_,f){r=_;let m=this.data,g=typeof f!="number"?a(m,0,0):co(m,this._offsets,f,a);return r=void 0,g}}var q=class extends j{};function Qu(l,r){return r===null&&l.length>0?0:-1}function Ju(l,r){let{nullBitmap:a}=l;if(!a||l.nullCount<=0)return-1;let _=0;for(let f of new Vr(a,l.offset+(r||0),l.length,a,Ps)){if(!f)return _;++_}return-1}function ie(l,r,a){if(r===void 0)return-1;if(r===null)switch(l.typeId){case D.Union:break;case D.Dictionary:break;default:return Ju(l,a)}let _=xe.getVisitFn(l),f=Mr(r);for(let m=(a||0)-1,g=l.length;++m<g;)if(f(_(l,m)))return m;return-1}function mc(l,r,a){let _=xe.getVisitFn(l),f=Mr(r);for(let m=(a||0)-1,g=l.length;++m<g;)if(f(_(l,m)))return m;return-1}q.prototype.visitNull=Qu;q.prototype.visitBool=ie;q.prototype.visitInt=ie;q.prototype.visitInt8=ie;q.prototype.visitInt16=ie;q.prototype.visitInt32=ie;q.prototype.visitInt64=ie;q.prototype.visitUint8=ie;q.prototype.visitUint16=ie;q.prototype.visitUint32=ie;q.prototype.visitUint64=ie;q.prototype.visitFloat=ie;q.prototype.visitFloat16=ie;q.prototype.visitFloat32=ie;q.prototype.visitFloat64=ie;q.prototype.visitUtf8=ie;q.prototype.visitLargeUtf8=ie;q.prototype.visitBinary=ie;q.prototype.visitLargeBinary=ie;q.prototype.visitFixedSizeBinary=ie;q.prototype.visitDate=ie;q.prototype.visitDateDay=ie;q.prototype.visitDateMillisecond=ie;q.prototype.visitTimestamp=ie;q.prototype.visitTimestampSecond=ie;q.prototype.visitTimestampMillisecond=ie;q.prototype.visitTimestampMicrosecond=ie;q.prototype.visitTimestampNanosecond=ie;q.prototype.visitTime=ie;q.prototype.visitTimeSecond=ie;q.prototype.visitTimeMillisecond=ie;q.prototype.visitTimeMicrosecond=ie;q.prototype.visitTimeNanosecond=ie;q.prototype.visitDecimal=ie;q.prototype.visitList=ie;q.prototype.visitStruct=ie;q.prototype.visitUnion=ie;q.prototype.visitDenseUnion=mc;q.prototype.visitSparseUnion=mc;q.prototype.visitDictionary=ie;q.prototype.visitInterval=ie;q.prototype.visitIntervalDayTime=ie;q.prototype.visitIntervalYearMonth=ie;q.prototype.visitDuration=ie;q.prototype.visitDurationSecond=ie;q.prototype.visitDurationMillisecond=ie;q.prototype.visitDurationMicrosecond=ie;q.prototype.visitDurationNanosecond=ie;q.prototype.visitFixedSizeList=ie;q.prototype.visitMap=ie;var $r=new q;var X=class extends j{};function Z(l){let{type:r}=l;if(l.nullCount===0&&l.stride===1&&(W.isInt(r)&&r.bitWidth!==64||W.isTime(r)&&r.bitWidth!==64||W.isFloat(r)&&r.precision!==ye.HALF))return new ii(l.data.length,_=>{let f=l.data[_];return f.values.subarray(0,f.length)[Symbol.iterator]()});let a=0;return new ii(l.data.length,_=>{let m=l.data[_].length,g=l.slice(a,a+m);return a+=m,new _o(g)})}var _o=class{constructor(r){this.vector=r,this.index=0}next(){return this.index<this.vector.length?{value:this.vector.get(this.index++)}:{done:!0,value:null}}[Symbol.iterator](){return this}};X.prototype.visitNull=Z;X.prototype.visitBool=Z;X.prototype.visitInt=Z;X.prototype.visitInt8=Z;X.prototype.visitInt16=Z;X.prototype.visitInt32=Z;X.prototype.visitInt64=Z;X.prototype.visitUint8=Z;X.prototype.visitUint16=Z;X.prototype.visitUint32=Z;X.prototype.visitUint64=Z;X.prototype.visitFloat=Z;X.prototype.visitFloat16=Z;X.prototype.visitFloat32=Z;X.prototype.visitFloat64=Z;X.prototype.visitUtf8=Z;X.prototype.visitLargeUtf8=Z;X.prototype.visitBinary=Z;X.prototype.visitLargeBinary=Z;X.prototype.visitFixedSizeBinary=Z;X.prototype.visitDate=Z;X.prototype.visitDateDay=Z;X.prototype.visitDateMillisecond=Z;X.prototype.visitTimestamp=Z;X.prototype.visitTimestampSecond=Z;X.prototype.visitTimestampMillisecond=Z;X.prototype.visitTimestampMicrosecond=Z;X.prototype.visitTimestampNanosecond=Z;X.prototype.visitTime=Z;X.prototype.visitTimeSecond=Z;X.prototype.visitTimeMillisecond=Z;X.prototype.visitTimeMicrosecond=Z;X.prototype.visitTimeNanosecond=Z;X.prototype.visitDecimal=Z;X.prototype.visitList=Z;X.prototype.visitStruct=Z;X.prototype.visitUnion=Z;X.prototype.visitDenseUnion=Z;X.prototype.visitSparseUnion=Z;X.prototype.visitDictionary=Z;X.prototype.visitInterval=Z;X.prototype.visitIntervalDayTime=Z;X.prototype.visitIntervalYearMonth=Z;X.prototype.visitDuration=Z;X.prototype.visitDurationSecond=Z;X.prototype.visitDurationMillisecond=Z;X.prototype.visitDurationMicrosecond=Z;X.prototype.visitDurationNanosecond=Z;X.prototype.visitFixedSizeList=Z;X.prototype.visitMap=Z;var yn=new X;var gc,hc={},vc={},ue=class l{constructor(r){var a,_,f;let m=r[0]instanceof l?r.flatMap(e=>e.data):r;if(m.length===0||m.some(e=>!(e instanceof fe)))throw new TypeError("Vector constructor expects an Array of Data instances.");let g=(a=m[0])===null||a===void 0?void 0:a.type;switch(m.length){case 0:this._offsets=[0];break;case 1:{let{get:e,set:t,indexOf:n}=hc[g.typeId],o=m[0];this.isValid=c=>si(o,c),this.get=c=>e(o,c),this.set=(c,u)=>t(o,c,u),this.indexOf=c=>n(o,c),this._offsets=[0,o.length];break}default:Object.setPrototypeOf(this,vc[g.typeId]),this._offsets=Is(m);break}this.data=m,this.type=g,this.stride=ot(g),this.numChildren=(f=(_=g.children)===null||_===void 0?void 0:_.length)!==null&&f!==void 0?f:0,this.length=this._offsets.at(-1)}get byteLength(){return this.data.reduce((r,a)=>r+a.byteLength,0)}get nullable(){return pc(this.data)}get nullCount(){return Cs(this.data)}get ArrayType(){return this.type.ArrayType}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}get VectorName(){return`${D[this.type.typeId]}Vector`}isValid(r){return!1}get(r){return null}at(r){return this.get(Wr(r,this.length))}set(r,a){}indexOf(r,a){return-1}includes(r,a){return this.indexOf(r,a)>-1}[Symbol.iterator](){return yn.visit(this)}concat(...r){return new l(this.data.concat(r.flatMap(a=>a.data).flat(Number.POSITIVE_INFINITY)))}slice(r,a){return new l(ri(this,r,a,({data:_,_offsets:f},m,g)=>ks(_,f,m,g)))}toJSON(){return[...this]}toArray(){let{type:r,data:a,length:_,stride:f,ArrayType:m}=this;switch(r.typeId){case D.Int:case D.Float:case D.Decimal:case D.Time:case D.Timestamp:switch(a.length){case 0:return new m;case 1:return a[0].values.subarray(0,_*f);default:return a.reduce((g,{values:e,length:t})=>(g.array.set(e.subarray(0,t*f),g.offset),g.offset+=t*f,g),{array:new m(_*f),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(r){var a;return this.getChildAt((a=this.type.children)===null||a===void 0?void 0:a.findIndex(_=>_.name===r))}getChildAt(r){return r>-1&&r<this.numChildren?new l(this.data.map(({children:a})=>a[r])):null}get isMemoized(){return W.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(W.isDictionary(this.type)){let r=new Bs(this.data[0].dictionary),a=this.data.map(_=>{let f=_.clone();return f.dictionary=r,f});return new l(a)}return new Bs(this)}unmemoize(){if(W.isDictionary(this.type)&&this.isMemoized){let r=this.data[0].dictionary.unmemoize(),a=this.data.map(_=>{let f=_.clone();return f.dictionary=r,f});return new l(a)}return this}};gc=Symbol.toStringTag;ue[gc]=(l=>{l.type=W.prototype,l.data=[],l.length=0,l.stride=1,l.numChildren=0,l._offsets=new Uint32Array([0]),l[Symbol.isConcatSpreadable]=!0;let r=Object.keys(D).map(a=>D[a]).filter(a=>typeof a=="number"&&a!==D.NONE);for(let a of r){let _=xe.getVisitFnByTypeId(a),f=Ve.getVisitFnByTypeId(a),m=$r.getVisitFnByTypeId(a);hc[a]={get:_,set:f,indexOf:m},vc[a]=Object.create(l,{isValid:{value:bn(si)},get:{value:bn(xe.getVisitFnByTypeId(a))},set:{value:xs(Ve.getVisitFnByTypeId(a))},indexOf:{value:Ms($r.getVisitFnByTypeId(a))}})}return"Vector"})(ue.prototype);var Bs=class l extends ue{constructor(r){super(r.data);let a=this.get,_=this.set,f=this.slice,m=new Array(this.length);Object.defineProperty(this,"get",{value(g){let e=m[g];if(e!==void 0)return e;let t=a.call(this,g);return m[g]=t,t}}),Object.defineProperty(this,"set",{value(g,e){_.call(this,g,e),m[g]=e}}),Object.defineProperty(this,"slice",{value:(g,e)=>new l(f.call(this,g,e))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new ue(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}};function bc(l){if(!l||l.length<=0)return function(f){return!0};let r="",a=l.filter(_=>_===_);return a.length>0&&(r=`
|
|
29
|
+
`,new Function(A,y)}class UnboundTypeError extends Error{}class PureVirtualError extends Error{}var EmValOptionalType=Object.assign({optional:!0},EmValType),throwUnboundTypeError=(e,t)=>{var n=[],o={};function c(u){if(!o[u]&&!registeredTypes[u]){if(typeDependencies[u]){typeDependencies[u].forEach(c);return}n.push(u),o[u]=!0}}throw t.forEach(c),new UnboundTypeError(`${e}: `+n.map(getTypeName).join([", "]))},ensureOverloadTable=(e,t,n)=>{if(e[t].overloadTable===void 0){var o=e[t];e[t]=function(...c){return e[t].overloadTable.hasOwnProperty(c.length)||throwBindingError(`Function '${n}' called with an invalid number of arguments (${c.length}) - expects one of (${e[t].overloadTable})!`),e[t].overloadTable[c.length].apply(this,c)},e[t].overloadTable=[],e[t].overloadTable[o.argCount]=o}},exposePublicSymbol=(e,t,n)=>{Module.hasOwnProperty(e)?((n===void 0||Module[e].overloadTable!==void 0&&Module[e].overloadTable[n]!==void 0)&&throwBindingError(`Cannot register public name '${e}' twice`),ensureOverloadTable(Module,e,e),Module[e].overloadTable.hasOwnProperty(n)&&throwBindingError(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),Module[e].overloadTable[n]=t):(Module[e]=t,Module[e].argCount=n)},replacePublicSymbol=(e,t,n)=>{Module.hasOwnProperty(e)||throwInternalError("Replacing nonexistent public symbol"),Module[e].overloadTable!==void 0&&n!==void 0?Module[e].overloadTable[n]=t:(Module[e]=t,Module[e].argCount=n)},embindRepr=e=>{if(e===null)return"null";var t=typeof e;return t==="object"||t==="array"||t==="function"?e.toString():""+e},getBasestPointer=(e,t)=>{for(t===void 0&&throwBindingError("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t},registerInheritedInstance=(e,t,n)=>{t=getBasestPointer(e,t),registeredInstances.hasOwnProperty(t)?throwBindingError(`Tried to register registered instance: ${t}`):registeredInstances[t]=n},unregisterInheritedInstance=(e,t)=>{t=getBasestPointer(e,t),registeredInstances.hasOwnProperty(t)?delete registeredInstances[t]:throwBindingError(`Tried to unregister unregistered instance: ${t}`)},getInheritedInstance=(e,t)=>(t=getBasestPointer(e,t),registeredInstances[t]),registeredPointers={},enumReadValueFromPointer=(e,t,n)=>{switch(t){case 1:return n?function(o){return this.fromWireType(HEAP8[o>>>0])}:function(o){return this.fromWireType(HEAPU8[o>>>0])};case 2:return n?function(o){return this.fromWireType(HEAP16[o>>>1>>>0])}:function(o){return this.fromWireType(HEAPU16[o>>>1>>>0])};case 4:return n?function(o){return this.fromWireType(HEAP32[o>>>2>>>0])}:function(o){return this.fromWireType(HEAPU32[o>>>2>>>0])};default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},installIndexedIterator=(e,t,n)=>{let o=(c,u)=>{let d=0;return{next(){if(d>=c)return{done:!0};let p=d;return d++,{value:u(p),done:!1}},[Symbol.iterator](){return this}}};e[Symbol.iterator]||(e[Symbol.iterator]=function(){let c=this[t]();return o(c,u=>this[n](u))})};function __embind_register_user_type(e,t){e>>>=0,t>>>=0,__embind_register_emval(e)}__embind_register_user_type.sig="vpp";function __embind_register_user_type_definition(e,t,n){e>>>=0,t>>>=0,n>>>=0,__embind_register_emval(e)}__embind_register_user_type_definition.sig="vppp";function __embind_register_optional(e,t){e>>>=0,t>>>=0,registerType(e,EmValOptionalType)}__embind_register_optional.sig="vpp";function craftInvokerFunction(e,t,n,o,c,u){var d=t.length;d<2&&throwBindingError("argTypes array size mismatch! Must at least get return value and receiver (this) types!");var p=t[1]!==null&&n!==null,h=usesDestructorStack(t),b=argsUseStackAlloc(t),v=b&&!u&&!h;b&&!v&&(h=!0);var y=!t[0].isVoid,S=d-2,A=t[0],E=t[1],L=[e,throwBindingError,o,c,runDestructors,A.fromWireType.bind(A),E==null?void 0:E.toWireType.bind(E)];v&&L.push(stackSave,stackRestore);for(var w=2;w<d;++w){var T=t[w];L.push(T.toWireType.bind(T))}if(!h)for(var w=p?1:2;w<t.length;++w)t[w].destructorFunction!==null&&L.push(t[w].destructorFunction);var P=createJsInvoker(t,p,y,u)(...L);return createNamedFunction(e,P)}var embind__requireFunction=(e,t,n=!1)=>{e=AsciiToString(e);function o(){if(e.includes("p"))return getDynCaller(e,t,n);var u=getWasmTableEntry(t);return u}var c=o();return typeof c!="function"&&throwBindingError(`unknown function pointer with signature ${e}: ${t}`),c};function __embind_register_function(e,t,n,o,c,u,d,p){e>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0;var h=heap32VectorToArray(t,n);e=AsciiToString(e),e=getFunctionName(e),c=embind__requireFunction(o,c,d),exposePublicSymbol(e,function(){throwUnboundTypeError(`Cannot call ${e} due to unbound types`,h)},t-1),whenDependentTypesAreResolved([],h,b=>{var v=[b[0],null].concat(b.slice(1));return replacePublicSymbol(e,craftInvokerFunction(e,v,null,c,u,d),t-1),[]})}__embind_register_function.sig="vpippppii";function __embind_register_value_array(e,t,n,o,c,u,d,p){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,tupleRegistrations[e]={name:AsciiToString(t),rawConstructor:embind__requireFunction(n,o),rawDestructor:embind__requireFunction(c,u),valueSize:d,isTrivial:!!p,elements:[]}}__embind_register_value_array.sig="vpppppppi";function __embind_register_value_array_element(e,t,n,o,c,u,d,p,h){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,tupleRegistrations[e].elements.push({getterReturnType:t,getter:embind__requireFunction(n,o),getterContext:c,setterArgumentType:u,setter:embind__requireFunction(d,p),setterContext:h})}__embind_register_value_array_element.sig="vppppppppp";var __embind_finalize_value_array=function(e){e>>>=0;var t=tupleRegistrations[e];delete tupleRegistrations[e];var n=t.elements,o=n.length,c=n.map(b=>b.getterReturnType).concat(n.map(b=>b.setterArgumentType)),u=t.rawConstructor,d=t.rawDestructor,p=t.valueSize,h=t.isTrivial;whenDependentTypesAreResolved([e],c,b=>{for(let[v,y]of n.entries()){let S=b[v],A=y.getter,E=y.getterContext,L=b[v+o],w=y.setter,T=y.setterContext;y.read=F=>S.fromWireType(A(E,F)),L.destructorFunction===null&&!L.argStackAlloc?y.write=(F,P)=>w(T,F,L.toWireType(null,P)):y.write=(F,P)=>{var I=[];w(T,F,L.toWireType(I,P)),runDestructors(I)}}return[{name:t.name,fromWireType:v=>{for(var y=new Array(o),S=0;S<o;++S)y[S]=n[S].read(v);return d(v),y},toWireType:(v,y)=>{if(o!==y.length)throw new TypeError(`Incorrect number of tuple elements for ${t.name}: expected=${o}, actual=${y.length}`);var S;h&&!v?(S=stackAlloc(p),zeroMemory(S,p)):(S=u(),v&&v.push(d,S));for(var A=0;A<o;++A)n[A].write(S,y[A]);return S},readValueFromPointer:readPointer,destructorFunction:h?null:d,argStackAlloc:h}]})};__embind_finalize_value_array.sig="vp";function __embind_register_value_object(e,t,n,o,c,u,d,p){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,structRegistrations[e]={name:AsciiToString(t),rawConstructor:embind__requireFunction(n,o),rawDestructor:embind__requireFunction(c,u),valueSize:d,isTrivial:!!p,fields:[]}}__embind_register_value_object.sig="vpppppppi";function __embind_register_value_object_field(e,t,n,o,c,u,d,p,h,b){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,b>>>=0,structRegistrations[e].fields.push({fieldName:AsciiToString(t),getterReturnType:n,getter:embind__requireFunction(o,c),getterContext:u,setterArgumentType:d,setter:embind__requireFunction(p,h),setterContext:b})}__embind_register_value_object_field.sig="vpppppppppp";var __embind_finalize_value_object=function(e){e>>>=0;var t=structRegistrations[e];delete structRegistrations[e];var n=t.rawConstructor,o=t.rawDestructor,c=t.valueSize,u=t.isTrivial,d=t.fields,p=d.map(h=>h.getterReturnType).concat(d.map(h=>h.setterArgumentType));whenDependentTypesAreResolved([e],p,h=>{var b={};for(var[v,y]of d.entries()){let A=h[v],E=y.getter,L=y.getterContext,w=h[v+d.length],T=y.setter,F=y.setterContext;var S;w.destructorFunction===null&&!w.argStackAlloc?S=(P,I)=>T(F,P,w.toWireType(null,I)):S=(P,I)=>{var B=[];T(F,P,w.toWireType(B,I)),runDestructors(B)},b[y.fieldName]={read:P=>A.fromWireType(E(L,P)),write:S,optional:A.optional}}return[{name:t.name,fromWireType:A=>{var E={};for(var L in b)E[L]=b[L].read(A);return o(A),E},toWireType:(A,E)=>{for(var L in b)if(!(L in E)&&!b[L].optional)throw new TypeError(`Missing field: "${L}"`);var w;u&&!A?(w=stackAlloc(c),zeroMemory(w,c)):(w=n(),A&&A.push(o,w));for(L in b)b[L].write(w,E[L]);return w},readValueFromPointer:readPointer,destructorFunction:u?null:o,argStackAlloc:u}]})};__embind_finalize_value_object.sig="vp";var upcastPointer=(e,t,n)=>{for(;t!==n;)t.upcast||throwBindingError(`Expected null or instance of ${n.name}, got an instance of ${t.name}`),e=t.upcast(e),t=t.baseClass;return e};function genericPointerToWireType(e,t){var n;if(t===null)return this.isReference&&throwBindingError(`null is not a valid ${this.name}`),this.isSmartPointer?(n=this.rawConstructor(),e!==null&&e.push(this.rawDestructor,n),n):0;(!t||!t.$$)&&throwBindingError(`Cannot pass "${embindRepr(t)}" as a ${this.name}`),t.$$.ptr||throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&t.$$.ptrType.isConst&&throwBindingError(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);var o=t.$$.ptrType.registeredClass;if(n=upcastPointer(t.$$.ptr,o,this.registeredClass),this.isSmartPointer)switch(t.$$.smartPtr===void 0&&throwBindingError("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?n=t.$$.smartPtr:throwBindingError(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:n=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)n=t.$$.smartPtr;else{var c=t.clone();n=this.rawShare(n,Emval.toHandle(()=>c.delete())),e!==null&&e.push(this.rawDestructor,n)}break;default:throwBindingError("Unsupported sharing policy")}return n}function constNoSmartPtrRawPointerToWireType(e,t){if(t===null)return this.isReference&&throwBindingError(`null is not a valid ${this.name}`),0;t.$$||throwBindingError(`Cannot pass "${embindRepr(t)}" as a ${this.name}`),t.$$.ptr||throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`);var n=t.$$.ptrType.registeredClass,o=upcastPointer(t.$$.ptr,n,this.registeredClass);return o}function nonConstNoSmartPtrRawPointerToWireType(e,t){if(t===null)return this.isReference&&throwBindingError(`null is not a valid ${this.name}`),0;t.$$||throwBindingError(`Cannot pass "${embindRepr(t)}" as a ${this.name}`),t.$$.ptr||throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`),t.$$.ptrType.isConst&&throwBindingError(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);var n=t.$$.ptrType.registeredClass,o=upcastPointer(t.$$.ptr,n,this.registeredClass);return o}function RegisteredPointer(e,t,n,o,c,u,d,p,h,b,v){this.name=e,this.registeredClass=t,this.isReference=n,this.isConst=o,this.isSmartPointer=c,this.pointeeType=u,this.sharingPolicy=d,this.rawGetPointee=p,this.rawConstructor=h,this.rawShare=b,this.rawDestructor=v,!c&&t.baseClass===void 0?o?(this.toWireType=constNoSmartPtrRawPointerToWireType,this.destructorFunction=null):(this.toWireType=nonConstNoSmartPtrRawPointerToWireType,this.destructorFunction=null):this.toWireType=genericPointerToWireType}var downcastPointer=(e,t,n)=>{if(t===n)return e;if(n.baseClass===void 0)return null;var o=downcastPointer(e,t,n.baseClass);return o===null?null:n.downcast(o)},finalizationRegistry=!1,detachFinalizer=e=>{},runDestructor=e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)},releaseClassHandle=e=>{e.count.value-=1;var t=e.count.value===0;t&&runDestructor(e)},attachFinalizer=e=>globalThis.FinalizationRegistry?(finalizationRegistry=new FinalizationRegistry(t=>{releaseClassHandle(t.$$)}),attachFinalizer=t=>{var n=t.$$,o=!!n.smartPtr;if(o){var c={$$:n};finalizationRegistry.register(t,c,t)}return t},detachFinalizer=t=>finalizationRegistry.unregister(t),attachFinalizer(e)):(attachFinalizer=t=>t,e),makeClassHandle=(e,t)=>{(!t.ptrType||!t.ptr)&&throwInternalError("makeClassHandle requires ptr and ptrType");var n=!!t.smartPtrType,o=!!t.smartPtr;return n!==o&&throwInternalError("Both smartPtrType and smartPtr must be specified"),t.count={value:1},attachFinalizer(Object.create(e,{$$:{value:t,writable:!0}}))};function RegisteredPointer_fromWireType(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var n=getInheritedInstance(this.registeredClass,t);if(n!==void 0){if(n.$$.count.value===0)return n.$$.ptr=t,n.$$.smartPtr=e,n.clone();var o=n.clone();return this.destructor(e),o}function c(){return this.isSmartPointer?makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var u=this.registeredClass.getActualType(t),d=registeredPointers[u];if(!d)return c.call(this);var p;this.isConst?p=d.constPointerType:p=d.pointerType;var h=downcastPointer(t,this.registeredClass,p.registeredClass);return h===null?c.call(this):this.isSmartPointer?makeClassHandle(p.registeredClass.instancePrototype,{ptrType:p,ptr:h,smartPtrType:this,smartPtr:e}):makeClassHandle(p.registeredClass.instancePrototype,{ptrType:p,ptr:h})}var init_RegisteredPointer=()=>{Object.assign(RegisteredPointer.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){var t;(t=this.rawDestructor)==null||t.call(this,e)},readValueFromPointer:readPointer,fromWireType:RegisteredPointer_fromWireType})};function ClassHandle(){}var shallowCopyInternalPointer=e=>({count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType}),throwInstanceAlreadyDeleted=e=>{function t(n){return n.$$.ptrType.registeredClass.name}throwBindingError(t(e)+" instance already deleted")},deletionQueue=[],flushPendingDeletes=()=>{for(;deletionQueue.length;){var e=deletionQueue.pop();e.$$.deleteScheduled=!1,e.delete()}},delayFunction,init_ClassHandle=()=>{let e=ClassHandle.prototype;Object.assign(e,{isAliasOf(n){if(!(this instanceof ClassHandle)||!(n instanceof ClassHandle))return!1;var o=this.$$.ptrType.registeredClass,c=this.$$.ptr;n.$$=n.$$;for(var u=n.$$.ptrType.registeredClass,d=n.$$.ptr;o.baseClass;)c=o.upcast(c),o=o.baseClass;for(;u.baseClass;)d=u.upcast(d),u=u.baseClass;return o===u&&c===d},clone(){if(this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var n=attachFinalizer(Object.create(Object.getPrototypeOf(this),{$$:{value:shallowCopyInternalPointer(this.$$)}}));return n.$$.count.value+=1,n.$$.deleteScheduled=!1,n},delete(){this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&throwBindingError("Object already scheduled for deletion"),detachFinalizer(this),releaseClassHandle(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&throwBindingError("Object already scheduled for deletion"),deletionQueue.push(this),deletionQueue.length===1&&delayFunction&&delayFunction(flushPendingDeletes),this.$$.deleteScheduled=!0,this}});let t=Symbol.dispose;t&&(e[t]=e.delete)},setDelayFunction=e=>{delayFunction=e,deletionQueue.length&&delayFunction&&delayFunction(flushPendingDeletes)};function RegisteredClass(e,t,n,o,c,u,d,p){this.name=e,this.constructor=t,this.instancePrototype=n,this.rawDestructor=o,this.baseClass=c,this.getActualType=u,this.upcast=d,this.downcast=p,this.pureVirtualFunctions=[]}var char_0=48,char_9=57,makeLegalFunctionName=e=>{e=e.replace(/[^a-zA-Z0-9_]/g,"$");var t=e.charCodeAt(0);return t>=char_0&&t<=char_9?`_${e}`:e};function __embind_register_class(e,t,n,o,c,u,d,p,h,b,v,y,S){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,b>>>=0,v>>>=0,y>>>=0,S>>>=0,v=AsciiToString(v),u=embind__requireFunction(c,u),p&&(p=embind__requireFunction(d,p)),b&&(b=embind__requireFunction(h,b)),S=embind__requireFunction(y,S);var A=makeLegalFunctionName(v);exposePublicSymbol(A,function(){throwUnboundTypeError(`Cannot construct ${v} due to unbound types`,[o])}),whenDependentTypesAreResolved([e,t,n],o?[o]:[],E=>{var x,M;E=E[0];var L,w;o?(L=E.registeredClass,w=L.instancePrototype):w=ClassHandle.prototype;var T=createNamedFunction(v,function(...H){if(Object.getPrototypeOf(this)!==F)throw new BindingError(`Use 'new' to construct ${v}`);if(P.constructor_body===void 0)throw new BindingError(`${v} has no accessible constructor`);var re=P.constructor_body[H.length];if(re===void 0)throw new BindingError(`Tried to invoke ctor of ${v} with invalid number of parameters (${H.length}) - expected (${Object.keys(P.constructor_body).toString()}) parameters instead!`);return re.apply(this,H)}),F=Object.create(w,{constructor:{value:T}});T.prototype=F;var P=new RegisteredClass(v,T,F,S,L,u,p,b);P.baseClass&&((M=(x=P.baseClass).__derivedClasses)!=null||(x.__derivedClasses=[]),P.baseClass.__derivedClasses.push(P));var I=new RegisteredPointer(v,P,!0,!1,!1),B=new RegisteredPointer(v+"*",P,!1,!1,!1),C=new RegisteredPointer(v+" const*",P,!1,!0,!1);return registeredPointers[e]={pointerType:B,constPointerType:C},replacePublicSymbol(A,T),[I,B,C]})}__embind_register_class.sig="vppppppppppppp";var __embind_register_iterable=function(e,t,n,o){e>>>=0,t>>>=0,n>>>=0,o>>>=0,n=AsciiToString(n),o=AsciiToString(o),whenDependentTypesAreResolved([],[e,t],c=>{let u=c[0];return installIndexedIterator(u.registeredClass.instancePrototype,n,o),[]})};__embind_register_iterable.sig="vpppp";var __embind_register_class_constructor=function(e,t,n,o,c,u){e>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0;var d=heap32VectorToArray(t,n);c=embind__requireFunction(o,c);var p=[u],h=[];whenDependentTypesAreResolved([],[e],b=>{b=b[0];var v=`constructor ${b.name}`;if(b.registeredClass.constructor_body===void 0&&(b.registeredClass.constructor_body=[]),b.registeredClass.constructor_body[t-1]!==void 0)throw new BindingError(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${b.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return b.registeredClass.constructor_body[t-1]=()=>{throwUnboundTypeError(`Cannot construct ${b.name} due to unbound types`,d)},whenDependentTypesAreResolved([],d,y=>(y.splice(1,0,null),b.registeredClass.constructor_body[t-1]=craftInvokerFunction(v,y,null,c,u),[])),[]})};__embind_register_class_constructor.sig="vpipppp";var validateThis=(e,t,n)=>(e instanceof Object||throwBindingError(`${n} with invalid "this": ${e}`),e instanceof t.registeredClass.constructor||throwBindingError(`${n} incompatible with "this" of type ${e.constructor.name}`),e.$$.ptr||throwBindingError(`cannot call emscripten binding method ${n} on deleted object`),upcastPointer(e.$$.ptr,e.$$.ptrType.registeredClass,t.registeredClass)),__embind_register_class_function=function(e,t,n,o,c,u,d,p,h,b){e>>>=0,t>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0;var v=heap32VectorToArray(n,o);t=AsciiToString(t),t=getFunctionName(t),u=embind__requireFunction(c,u,h),whenDependentTypesAreResolved([],[e],y=>{y=y[0];var S=`${y.name}.${t}`;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),p&&y.registeredClass.pureVirtualFunctions.push(t);function A(){throwUnboundTypeError(`Cannot call ${S} due to unbound types`,v)}var E=y.registeredClass.instancePrototype,L=E[t];return L===void 0||L.overloadTable===void 0&&L.className!==y.name&&L.argCount===n-2?(A.argCount=n-2,A.className=y.name,E[t]=A):(ensureOverloadTable(E,t,S),E[t].overloadTable[n-2]=A),whenDependentTypesAreResolved([],v,w=>{var T=craftInvokerFunction(S,w,y,u,d,h);return E[t].overloadTable===void 0?(T.argCount=n-2,E[t]=T):E[t].overloadTable[n-2]=T,[]}),[]})};__embind_register_class_function.sig="vppippppiii";var __embind_register_class_property=function(e,t,n,o,c,u,d,p,h,b){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,b>>>=0,t=AsciiToString(t),c=embind__requireFunction(o,c),whenDependentTypesAreResolved([],[e],v=>{v=v[0];var y=`${v.name}.${t}`,S={get(){throwUnboundTypeError(`Cannot access ${y} due to unbound types`,[n,d])},enumerable:!0,configurable:!0};return h?S.set=()=>throwUnboundTypeError(`Cannot access ${y} due to unbound types`,[n,d]):S.set=A=>throwBindingError(y+" is a read-only property"),Object.defineProperty(v.registeredClass.instancePrototype,t,S),whenDependentTypesAreResolved([],h?[n,d]:[n],A=>{var E=A[0],L={get(){var T=validateThis(this,v,y+" getter");return E.fromWireType(c(u,T))},enumerable:!0};if(h){h=embind__requireFunction(p,h);var w=A[1];L.set=function(T){var F=validateThis(this,v,y+" setter"),P=[];h(b,F,w.toWireType(P,T)),runDestructors(P)}}return Object.defineProperty(v.registeredClass.instancePrototype,t,L),[]}),[]})};__embind_register_class_property.sig="vpppppppppp";var __embind_register_class_class_function=function(e,t,n,o,c,u,d,p,h){e>>>=0,t>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0;var b=heap32VectorToArray(n,o);t=AsciiToString(t),t=getFunctionName(t),u=embind__requireFunction(c,u,p),whenDependentTypesAreResolved([],[e],v=>{v=v[0];var y=`${v.name}.${t}`;function S(){throwUnboundTypeError(`Cannot call ${y} due to unbound types`,b)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]);var A=v.registeredClass.constructor;return A[t]===void 0?(S.argCount=n-1,A[t]=S):(ensureOverloadTable(A,t,y),A[t].overloadTable[n-1]=S),whenDependentTypesAreResolved([],b,E=>{var L=[E[0],null].concat(E.slice(1)),w=craftInvokerFunction(y,L,null,u,d,p);if(A[t].overloadTable===void 0?(w.argCount=n-1,A[t]=w):A[t].overloadTable[n-1]=w,v.registeredClass.__derivedClasses)for(let T of v.registeredClass.__derivedClasses)T.constructor.hasOwnProperty(t)||(T.constructor[t]=w);return[]}),[]})};__embind_register_class_class_function.sig="vppippppii";var __embind_register_class_class_property=function(e,t,n,o,c,u,d,p){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,t=AsciiToString(t),u=embind__requireFunction(c,u),whenDependentTypesAreResolved([],[e],h=>{h=h[0];var b=`${h.name}.${t}`,v={get(){throwUnboundTypeError(`Cannot access ${b} due to unbound types`,[n])},enumerable:!0,configurable:!0};return p?v.set=()=>{throwUnboundTypeError(`Cannot access ${b} due to unbound types`,[n])}:v.set=y=>{throwBindingError(`${b} is a read-only property`)},Object.defineProperty(h.registeredClass.constructor,t,v),whenDependentTypesAreResolved([],[n],y=>{y=y[0];var S={get(){return y.fromWireType(u(o))},enumerable:!0};return p&&(p=embind__requireFunction(d,p),S.set=A=>{var E=[];p(o,y.toWireType(E,A)),runDestructors(E)}),Object.defineProperty(h.registeredClass.constructor,t,S),[]}),[]})};__embind_register_class_class_property.sig="vpppppppp";function __embind_create_inheriting_constructor(e,t,n){e>>>=0,t>>>=0,n>>>=0,e=AsciiToString(e),t=requireRegisteredType(t,"wrapper"),n=Emval.toValue(n);var o=t.registeredClass,c=o.instancePrototype,u=o.baseClass,d=u.instancePrototype,p=o.baseClass.constructor,h=createNamedFunction(e,function(...b){for(var v of o.baseClass.pureVirtualFunctions)if(this[v]===d[v])throw new PureVirtualError(`Pure virtual function ${v} must be implemented in JavaScript`);Object.defineProperty(this,"__parent",{value:c}),this.__construct(...b)});return c.__construct=function(...v){this===c&&throwBindingError('Pass correct "this" to __construct');var y=p.implement(this,...v);detachFinalizer(y);var S=y.$$;y.notifyOnDestruction(),S.preservePointerOnDelete=!0,Object.defineProperties(this,{$$:{value:S}}),attachFinalizer(this),registerInheritedInstance(o,S.ptr,this)},c.__destruct=function(){this===c&&throwBindingError('Pass correct "this" to __destruct'),detachFinalizer(this),unregisterInheritedInstance(o,this.$$.ptr)},h.prototype=Object.create(c),Object.assign(h.prototype,n),Emval.toHandle(h)}__embind_create_inheriting_constructor.sig="pppp";var __embind_register_smart_ptr=function(e,t,n,o,c,u,d,p,h,b,v,y){e>>>=0,t>>>=0,n>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,b>>>=0,v>>>=0,y>>>=0,n=AsciiToString(n),u=embind__requireFunction(c,u),p=embind__requireFunction(d,p),b=embind__requireFunction(h,b),y=embind__requireFunction(v,y),whenDependentTypesAreResolved([e],[t],S=>{S=S[0];var A=new RegisteredPointer(n,S.registeredClass,!1,!1,!0,S,o,u,p,b,y);return[A]})};__embind_register_smart_ptr.sig="vpppipppppppp";function __embind_register_enum(e,t,n,o,c){e>>>=0,t>>>=0,n>>>=0,t=AsciiToString(t);let u=getEnumValueType(c);switch(u){case"object":{let v=function(){};var b=v;v.values={},registerType(e,{name:t,constructor:v,valueType:u,fromWireType:function(y){return this.constructor.values[y]},toWireType:(y,S)=>S.value,readValueFromPointer:enumReadValueFromPointer(t,n,o),destructorFunction:null}),exposePublicSymbol(t,v);break}case"number":{var d={};registerType(e,{name:t,keysMap:d,valueType:u,fromWireType:v=>v,toWireType:(v,y)=>y,readValueFromPointer:enumReadValueFromPointer(t,n,o),destructorFunction:null}),exposePublicSymbol(t,d),delete Module[t].argCount;break}case"string":{var p={},h={},d={};registerType(e,{name:t,valuesMap:p,reverseMap:h,keysMap:d,valueType:u,fromWireType:function(y){return this.reverseMap[y]},toWireType:function(y,S){return this.valuesMap[S]},readValueFromPointer:enumReadValueFromPointer(t,n,o),destructorFunction:null}),exposePublicSymbol(t,d),delete Module[t].argCount;break}}}__embind_register_enum.sig="vpppii";function __embind_register_enum_value(e,t,n){e>>>=0,t>>>=0;var o=requireRegisteredType(e,"enum");switch(t=AsciiToString(t),o.valueType){case"object":{var c=o.constructor,u=Object.create(o.constructor.prototype,{value:{value:n},constructor:{value:createNamedFunction(`${o.name}_${t}`,function(){})}});c.values[n]=u,c[t]=u;break}case"number":{o.keysMap[t]=n;break}case"string":{o.valuesMap[t]=n,o.reverseMap[n]=t,o.keysMap[t]=t;break}}}__embind_register_enum_value.sig="vppi";var __embind_register_constant=function(e,t,n){e>>>=0,t>>>=0,e=AsciiToString(e),whenDependentTypesAreResolved([],[t],o=>(o=o[0],Module[e]=o.fromWireType(n),[]))};__embind_register_constant.sig="vppd";var count_emval_handles=()=>emval_handles.length/2-5-emval_freelist.length;function __emval_register_symbol(e){e>>>=0,emval_symbols[e]=AsciiToString(e)}__emval_register_symbol.sig="vp";function __emval_new_array(){return Emval.toHandle([])}__emval_new_array.sig="p";function __emval_new_array_from_memory_view(e){e>>>=0,e=Emval.toValue(e);for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=e[n];return Emval.toHandle(t)}__emval_new_array_from_memory_view.sig="pp";function __emval_array_to_memory_view(e,t){e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e.set(t)}__emval_array_to_memory_view.sig="vpp";function __emval_new_object(){return Emval.toHandle({})}__emval_new_object.sig="p";function __emval_new_cstring(e){return e>>>=0,Emval.toHandle(getStringOrSymbol(e))}__emval_new_cstring.sig="pp";function __emval_new_u8string(e){return e>>>=0,Emval.toHandle(UTF8ToString(e))}__emval_new_u8string.sig="pp";function __emval_new_u16string(e){return e>>>=0,Emval.toHandle(UTF16ToString(e))}__emval_new_u16string.sig="pp";function __emval_get_module_property(e){return e>>>=0,e=getStringOrSymbol(e),Emval.toHandle(Module[e])}__emval_get_module_property.sig="pp";function __emval_get_property(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),Emval.toHandle(e[t])}__emval_get_property.sig="ppp";function __emval_set_property(e,t,n){e>>>=0,t>>>=0,n>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),n=Emval.toValue(n),e[t]=n}__emval_set_property.sig="vppp";function __emval_equals(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e==t}__emval_equals.sig="ipp";function __emval_strictly_equals(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e===t}__emval_strictly_equals.sig="ipp";function __emval_greater_than(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e>t}__emval_greater_than.sig="ipp";function __emval_less_than(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e<t}__emval_less_than.sig="ipp";function __emval_not(e){return e>>>=0,e=Emval.toValue(e),!e}__emval_not.sig="ip";function __emval_invoke_i64(e,t,n,o,c){return e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,__emval_invoke(e,t,n,o,c)}__emval_invoke_i64.sig="jppppp";function __emval_typeof(e){return e>>>=0,e=Emval.toValue(e),Emval.toHandle(typeof e)}__emval_typeof.sig="pp";function __emval_instanceof(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e instanceof t}__emval_instanceof.sig="ipp";function __emval_is_number(e){return e>>>=0,e=Emval.toValue(e),typeof e=="number"}__emval_is_number.sig="ip";function __emval_is_string(e){return e>>>=0,e=Emval.toValue(e),typeof e=="string"}__emval_is_string.sig="ip";function __emval_in(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e in t}__emval_in.sig="ipp";function __emval_delete(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),delete e[t]}__emval_delete.sig="ipp";function __emval_throw(e){throw e>>>=0,e=Emval.toValue(e),isCppExceptionObject(e)&&(incrementUncaughtExceptionCount(),incrementExceptionRefcount(e)),e}__emval_throw.sig="ip";function __emval_iter_begin(e){return e>>>=0,e=Emval.toValue(e),Emval.toHandle(e[Symbol.iterator]())}__emval_iter_begin.sig="pp";function __emval_iter_next(e){e>>>=0,e=Emval.toValue(e);var t=e.next();return t.done?0:Emval.toHandle(t.value)}__emval_iter_next.sig="pp";var __emval_coro_suspend=function(e,t){e>>>=0,t>>>=0,Emval.toValue(e).then(n=>__emval_coro_resume(t,Emval.toHandle(n)),n=>__emval_coro_reject(t,Emval.toHandle(n)))};__emval_coro_suspend.sig="vpp";var __emval_coro_make_promise=function(e,t){return e>>>=0,t>>>=0,Emval.toHandle(new Promise((n,o)=>{HEAPU32[e>>>2>>>0]=Emval.toHandle(n),HEAPU32[t>>>2>>>0]=Emval.toHandle(o)}))};__emval_coro_make_promise.sig="ppp";function __emval_from_current_cxa_exception(){try{___cxa_rethrow()}catch(t){decrementUncaughtExceptionCount();var e=Emval.toHandle(t);return emval_exception_decrefs[e]=decrementExceptionRefcount,e}}__emval_from_current_cxa_exception.sig="p";function _duckdb_web_fs_file_sync(e){try{return globalThis.DUCKDB_RUNTIME.syncFile(Module,e)}catch(t){if(typeof WebAssembly<"u"&&t instanceof WebAssembly.Exception)throw t;Module.ccall("duckdb_web_fail_with",null,["string"],[String(t&&t.message||t)])}}_duckdb_web_fs_file_sync.sig="vi";function _duckdb_web_fs_file_get_last_modified_time(e){try{return globalThis.DUCKDB_RUNTIME.getLastFileModificationTime(Module,e)}catch(t){if(typeof WebAssembly<"u"&&t instanceof WebAssembly.Exception)throw t;Module.ccall("duckdb_web_fail_with",null,["string"],[String(t&&t.message||t)])}}_duckdb_web_fs_file_get_last_modified_time.sig="di";function _vgi_wasm_set_channel(e){vgiSab.base=e>>>0}_vgi_wasm_set_channel.sig="vi";function _vgi_wasm_slot_open(e,t){e>>>=0,t=t>>>0;var n=vgiSab.i32(),o=vgiSab.hdr(t),c=(t>>>2)+vgiSab.HDR_CLAIM_SEQ,u=Atomics.add(n,c,1)+1|0;u===0&&(u=1);for(var d=0;d<o.nSlots;d++){var p=vgiSab.slotByte(t,o,d)>>>2;if(Atomics.compareExchange(n,p+vgiSab.RESERVATION,0,u)===0){if(Atomics.load(n,p+vgiSab.STATE)!==0){Atomics.store(n,p+vgiSab.RESERVATION,0),Atomics.notify(n,p+vgiSab.RESERVATION);continue}return Atomics.store(n,p+vgiSab.C2W_W,0),Atomics.store(n,p+vgiSab.C2W_R,0),Atomics.store(n,p+vgiSab.C2W_CL,0),Atomics.store(n,p+vgiSab.W2C_W,0),Atomics.store(n,p+vgiSab.W2C_R,0),Atomics.store(n,p+vgiSab.W2C_CL,0),Atomics.store(n,p+vgiSab.TERMINAL_CLAIM,0),Atomics.store(n,p+vgiSab.TERMINAL_CODE,0),Atomics.store(n,p+vgiSab.TERMINAL_DETAIL,0),Atomics.store(n,p+vgiSab.STATE,u),Atomics.store(n,p+vgiSab.RESERVATION,0),Atomics.notify(n,p+vgiSab.RESERVATION),Atomics.notify(n,p+vgiSab.STATE),d}}return-1}_vgi_wasm_slot_open.sig="ipi";function _vgi_wasm_slot_write(e,t,n,o){n>>>=0,e=e>>>0;var c=vgiSab.hdr(e),u=vgiSab.slotByte(e,c,t);return vgiSab.ringWrite(u>>>2,vgiSab.C2W_W,vgiSab.C2W_R,u+vgiSab.CTRL_BYTES,c.ringCap,n>>>0,o)}_vgi_wasm_slot_write.sig="iiipi";function _vgi_wasm_slot_write_eos(e,t){e=e>>>0;var n=vgiSab.i32(),o=vgiSab.hdr(e),c=vgiSab.slotByte(e,o,t)>>>2;Atomics.store(n,c+vgiSab.C2W_CL,1),Atomics.notify(n,c+vgiSab.C2W_W)}_vgi_wasm_slot_write_eos.sig="vii";function _vgi_wasm_slot_read(e,t,n,o){n>>>=0,e=e>>>0;var c=vgiSab.i32(),u=vgiSab.hdr(e),d=vgiSab.slotByte(e,u,t),p=vgiSab.ringRead(d>>>2,vgiSab.W2C_W,vgiSab.W2C_R,vgiSab.W2C_CL,d+vgiSab.CTRL_BYTES+u.ringCap,u.ringCap,n>>>0,o);return p===0&&Atomics.load(c,(e>>>2)+vgiSab.HDR_FEATURES)&vgiSab.FEATURE_TERMINAL_ERROR&&Atomics.load(c,(d>>>2)+vgiSab.STATE)!==0&&Atomics.load(c,(d>>>2)+vgiSab.TERMINAL_CLAIM)===Atomics.load(c,(d>>>2)+vgiSab.STATE)?-3:p}_vgi_wasm_slot_read.sig="iiipi";function _vgi_wasm_slot_terminal_error(e,t,n,o){n>>>=0,o>>>=0,e=e>>>0,n=n>>>0,o=o>>>0;var c=vgiSab.i32(),u=vgiSab.hdr(e),d=vgiSab.slotByte(e,u,t)>>>2;if(!(Atomics.load(c,(e>>>2)+vgiSab.HDR_FEATURES)&vgiSab.FEATURE_TERMINAL_ERROR))return 0;var p=Atomics.load(c,d+vgiSab.STATE);if(p===0||Atomics.load(c,d+vgiSab.TERMINAL_CLAIM)!==p)return 0;var h=Atomics.load(c,d+vgiSab.TERMINAL_CODE),b=Atomics.load(c,d+vgiSab.TERMINAL_DETAIL);return Atomics.load(c,d+vgiSab.STATE)!==p||Atomics.load(c,d+vgiSab.TERMINAL_CLAIM)!==p?0:(n&&Atomics.store(c,n>>>2,h),o&&Atomics.store(c,o>>>2,b),1)}_vgi_wasm_slot_terminal_error.sig="iiipp";function _vgi_wasm_slot_release(e,t){e=e>>>0;var n=vgiSab.i32(),o=vgiSab.hdr(e),c=vgiSab.slotByte(e,o,t)>>>2;Atomics.store(n,c+vgiSab.STATE,0),Atomics.notify(n,c+vgiSab.STATE)}_vgi_wasm_slot_release.sig="vii",registerWasmPlugin(),FS.createPreloadedFile=FS_createPreloadedFile,FS.preloadFile=FS_preloadFile,FS.staticInit(),Module.requestAnimationFrame=MainLoop.requestAnimationFrame,Module.pauseMainLoop=MainLoop.pause,Module.resumeMainLoop=MainLoop.resume,MainLoop.init();for(let e=0;e<32;++e)tempFixedLengthArray.push(new Array(e));for(var miniTempWebGLFloatBuffersStorage=new Float32Array(288),i=0;i<=288;++i)miniTempWebGLFloatBuffers[i]=miniTempWebGLFloatBuffersStorage.subarray(0,i);for(var miniTempWebGLIntBuffersStorage=new Int32Array(288),i=0;i<=288;++i)miniTempWebGLIntBuffers[i]=miniTempWebGLIntBuffersStorage.subarray(0,i);if(safeSetTimeout.pending=new Map,safeSetTimeout.nextId=1,setImmediateWrapped.pending=new Map,setImmediateWrapped.nextId=1,globalThis.setImmediate)emSetImmediate=setImmediateWrapped,emClearImmediate=clearImmediateWrapped;else if(globalThis.addEventListener){var __setImmediate_id_counter=0,__setImmediate_queue=[],__setImmediate_message_id="_si",__setImmediate_cb=e=>{var t;e.data===__setImmediate_message_id&&(e.stopPropagation(),(t=__setImmediate_queue.shift())==null||t(),++__setImmediate_id_counter)};addEventListener("message",__setImmediate_cb,!0),emSetImmediate=e=>(postMessage(__setImmediate_message_id,"*"),__setImmediate_id_counter+__setImmediate_queue.push(e)-1),emClearImmediate=e=>{var t=e-__setImmediate_id_counter;return t<0||!__setImmediate_queue[t]?!1:(__setImmediate_queue[t]=null,!0)}}registerPostMainLoop(()=>{var e,t;return(t=(e=SDL.audio)==null?void 0:e.queueNewAudioData)==null?void 0:t.call(e)}),init_RegisteredPointer(),init_ClassHandle();{Module.noExitRuntime&&(noExitRuntime=Module.noExitRuntime),Module.print&&(out=Module.print),Module.printErr&&(err=Module.printErr),Module.dynamicLibraries&&(dynamicLibraries=Module.dynamicLibraries),Module.arguments&&(programArgs=Module.arguments),Module.thisProgram&&(thisProgram=Module.thisProgram);var preInit=Module.preInit;if(preInit)for(typeof preInit=="function"&&(Module.preInit=preInit=[preInit]);preInit.length>0;)preInit.shift()()}Module.stackSave=stackSave,Module.stackRestore=stackRestore,Module.stackAlloc=stackAlloc,Module.ccall=ccall,Module.stringToUTF8=stringToUTF8,Module.lengthBytesUTF8=lengthBytesUTF8,Module.stackAlloc=stackAlloc,Module.lengthBytesUTF8=lengthBytesUTF8,Module.stringToUTF8=stringToUTF8,Module._setTempRet0=_setTempRet0,Module._getTempRet0=_getTempRet0,Module._sched_yield=_sched_yield,Module._emscripten_wget=_emscripten_wget;var ASM_CONSTS={2421359:e=>{globalThis.__haybarnPendingModule=null;try{FS.unlink(UTF8ToString(e))}catch{}},2421455:(e,t,n,o,c,u,d)=>{var p=UTF8ToString(e),h=UTF8ToString(t),b;globalThis.__haybarnPendingModule=null;var v=globalThis.__haybarnTakePrefetchedExtension,y=typeof v=="function"?v(p):null,S=()=>(typeof growMemViews=="function"&&growMemViews(),HEAPU8);try{if(y)b=y.bytes,y.hash&&y.hash.length==32&&(S().set(y.hash,o>>>0),S()[c>>>0]=1),y.module&&(globalThis.__haybarnPendingModule={name:h,module:y.module,bytes:y.bytes},S()[u>>>0]=1);else if(typeof XMLHttpRequest>"u")if(p.startsWith("http://")||p.startsWith("https://")){var A="fetch(process.argv[1]).then(r=>{if(!r.ok)process.exit(2);return r.arrayBuffer()}).then(b=>process.stdout.write(Buffer.from(b)),()=>process.exit(3))";b=Un("node:child_process").execFileSync(process.execPath,["-e",A,p],{maxBuffer:1073741824,stdio:["ignore","pipe","ignore"]})}else b=Un("node:fs").readFileSync(p);else if(typeof document>"u"){var E=new XMLHttpRequest;if(E.open("GET",p,!1),E.responseType="arraybuffer",E.send(null),E.status!=200)return-1;b=new Uint8Array(E.response)}else{var E=new XMLHttpRequest;if(E.open("GET",p,!1),E.overrideMimeType("text/plain; charset=x-user-defined"),E.send(null),E.status!=200)return-1;var L=E.responseText;b=new Uint8Array(L.length);for(var w=0;w<L.length;w++)b[w]=L.charCodeAt(w)&255}FS.writeFile(h,b,{canOwn:!0})}catch{return globalThis.__haybarnPendingModule=null,-1}var T=d;return b.byteLength>=T&&S().set(b.subarray(b.byteLength-T),n>>>0),b.byteLength},2423360:(e,t)=>{var n=UTF8ToString(e),o=globalThis.__haybarnPendingModule||null;if(globalThis.__haybarnPendingModule=null,t)try{if(!o){var c=FS.lookupPath(n).node,u=c.contents.subarray(0,c.usedBytes);o={name:n,module:new WebAssembly.Module(u),bytes:u}}FS.unlink(n)}catch{o=null}globalThis.__haybarnArmedModule=o},2423783:e=>{globalThis.__haybarnArmedModule=null;try{FS.unlink(UTF8ToString(e))}catch{}},2423877:e=>{if(!e)return AL.alcErr=40964,1},2423925:e=>{if(!AL.currentCtx)return err("alGetProcAddress() called without a valid context"),1;if(!e)return AL.currentCtx.err=40963,1}};function haybarn_block_for(e){if(typeof SharedArrayBuffer>"u")return 0;try{return Atomics.wait(new Int32Array(new SharedArrayBuffer(4)),0,0,e),1}catch{return 0}}haybarn_block_for.sig="id";function duckdb_web_http_xhr(e,t,n,o,c,u){if(typeof XMLHttpRequest>"u")return 0;var d=UTF8ToString(t>>>0),p=new XMLHttpRequest;p.open(d,UTF8ToString(e>>>0),!1),p.responseType="arraybuffer";for(var h=o>>>0>>>2,b=0;b<n*2;b+=2){var v=UTF8ToString(HEAP32[h+b>>>0]>>>0);if(v!=="User-Agent"){v==="Host"&&(v="X-Host-Override");try{p.setRequestHeader(v,UTF8ToString(HEAP32[h+b+1>>>0]>>>0))}catch(F){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",F)}}}try{var y=null;if(c){var S=c>>>0;y=HEAPU8.slice(S,S+u)}p.send(y)}catch{return 0}var A=p.status;if(A===0)return 0;var E=p.response?new Uint8Array(p.response):new Uint8Array(0),L=new TextEncoder().encode(p.getAllResponseHeaders()||""),w=_malloc(6+L.length+4+E.length)>>>0;if(w===0)return 0;var T=w;return HEAPU8[T>>>0]=A&255,HEAPU8[T+1>>>0]=A>>8&255,T+=2,HEAPU8[T>>>0]=L.length&255,HEAPU8[T+1>>>0]=L.length>>8&255,HEAPU8[T+2>>>0]=L.length>>16&255,HEAPU8[T+3>>>0]=L.length>>>24&255,T+=4,HEAPU8.set(L,T>>>0),T+=L.length,HEAPU8[T>>>0]=E.length&255,HEAPU8[T+1>>>0]=E.length>>8&255,HEAPU8[T+2>>>0]=E.length>>16&255,HEAPU8[T+3>>>0]=E.length>>>24&255,T+=4,HEAPU8.set(E,T>>>0),w}duckdb_web_http_xhr.sig="iiiiiii";var ___getTypeName,__emval_coro_resume,__emval_coro_reject,_main,_duckdb_wasm_open_auth_url,_duckdb_wasm_get_auth_error,_duckdb_wasm_get_page_origin,_vgi_wasm_ensure_worker,_duckdb_wasm_sha256,_duckdb_web_fs_glob_add_path,_duckdb_web_fs_directory_add_entry,_duckdb_web_clear_response,_duckdb_web_fail_with,_duckdb_web_reset,_duckdb_web_connect,_duckdb_web_disconnect,_duckdb_web_flush_files,_duckdb_web_flush_file,_duckdb_web_open,_duckdb_web_get_global_file_info,_duckdb_web_collect_file_stats,_duckdb_web_export_file_stats,_duckdb_web_fs_drop_file,_duckdb_web_fs_drop_files,_duckdb_web_fs_glob_file_infos,_duckdb_web_fs_get_file_info_by_id,_duckdb_web_fs_get_file_info_by_name,_duckdb_web_fs_register_file_url,_duckdb_web_fs_register_file_buffer,_duckdb_web_copy_file_to_buffer,_duckdb_web_copy_file_to_path,_duckdb_web_queries_in_flight,_duckdb_web_get_version,_duckdb_web_get_feature_flags,_duckdb_web_extension_url,_duckdb_web_tokenize,_duckdb_web_tokenize_buffer,_duckdb_web_udf_scalar_create,_duckdb_web_prepared_create,_duckdb_web_prepared_create_buffer,_duckdb_web_prepared_close,_duckdb_web_prepared_run,_duckdb_web_prepared_send,_duckdb_web_query_run,_duckdb_web_query_run_buffer,_duckdb_web_pending_query_start,_duckdb_web_pending_query_start_buffer,_duckdb_web_pending_query_poll,_duckdb_web_pending_query_cancel,_duckdb_web_connection_interrupt_flag,_duckdb_web_connection_interrupt,_duckdb_web_connection_progress_slot,_duckdb_web_get_query_progress,_duckdb_web_query_fetch_results,_duckdb_web_get_tablenames,_duckdb_web_get_tablenames_buffer,_duckdb_web_insert_arrow_from_ipc_stream,_duckdb_web_insert_csv_from_path,_duckdb_web_insert_json_from_path,_duckdb_web_http_fetch_runtime,_duckdb_web_http_fetch_mailbox,_duckdb_web_http_fetch_ready,_malloc,_free,_realloc,_memcmp,___cxa_rethrow,_calloc,_strerror,___dl_seterr,__emscripten_find_dylib,_memcpy,_fileno,_htonl,_htons,_emscripten_builtin_memalign,_ntohs,__emscripten_timeout,_emscripten_get_sbrk_ptr,___trap,__emscripten_tempret_set,__emscripten_tempret_get,__emscripten_stack_restore,__emscripten_stack_alloc,_emscripten_stack_get_current,___cxa_decrement_exception_refcount,___cxa_increment_exception_refcount,___cxa_demangle,___thrown_object_from_unwind_exception,___get_exception_message,___increment_uncaught_exception,___decrement_uncaught_exception,___wasm_apply_data_relocs,memory,___stack_pointer,__indirect_function_table,___cpp_exception,___heap_base,wasmTable,wasmMemory,incrementUncaughtExceptionCount,decrementUncaughtExceptionCount;function assignWasmExports(e){___getTypeName=e.__getTypeName,__emval_coro_resume=e._emval_coro_resume,__emval_coro_reject=e._emval_coro_reject,_main=Module._main=e.main,_duckdb_wasm_open_auth_url=Module._duckdb_wasm_open_auth_url=e.duckdb_wasm_open_auth_url,_duckdb_wasm_get_auth_error=Module._duckdb_wasm_get_auth_error=e.duckdb_wasm_get_auth_error,_duckdb_wasm_get_page_origin=Module._duckdb_wasm_get_page_origin=e.duckdb_wasm_get_page_origin,_vgi_wasm_ensure_worker=Module._vgi_wasm_ensure_worker=e.vgi_wasm_ensure_worker,_duckdb_wasm_sha256=Module._duckdb_wasm_sha256=e.duckdb_wasm_sha256,_duckdb_web_fs_glob_add_path=Module._duckdb_web_fs_glob_add_path=e.duckdb_web_fs_glob_add_path,_duckdb_web_fs_directory_add_entry=Module._duckdb_web_fs_directory_add_entry=e.duckdb_web_fs_directory_add_entry,_duckdb_web_clear_response=Module._duckdb_web_clear_response=e.duckdb_web_clear_response,_duckdb_web_fail_with=Module._duckdb_web_fail_with=e.duckdb_web_fail_with,_duckdb_web_reset=Module._duckdb_web_reset=e.duckdb_web_reset,_duckdb_web_connect=Module._duckdb_web_connect=e.duckdb_web_connect,_duckdb_web_disconnect=Module._duckdb_web_disconnect=e.duckdb_web_disconnect,_duckdb_web_flush_files=Module._duckdb_web_flush_files=e.duckdb_web_flush_files,_duckdb_web_flush_file=Module._duckdb_web_flush_file=e.duckdb_web_flush_file,_duckdb_web_open=Module._duckdb_web_open=e.duckdb_web_open,_duckdb_web_get_global_file_info=Module._duckdb_web_get_global_file_info=e.duckdb_web_get_global_file_info,_duckdb_web_collect_file_stats=Module._duckdb_web_collect_file_stats=e.duckdb_web_collect_file_stats,_duckdb_web_export_file_stats=Module._duckdb_web_export_file_stats=e.duckdb_web_export_file_stats,_duckdb_web_fs_drop_file=Module._duckdb_web_fs_drop_file=e.duckdb_web_fs_drop_file,_duckdb_web_fs_drop_files=Module._duckdb_web_fs_drop_files=e.duckdb_web_fs_drop_files,_duckdb_web_fs_glob_file_infos=Module._duckdb_web_fs_glob_file_infos=e.duckdb_web_fs_glob_file_infos,_duckdb_web_fs_get_file_info_by_id=Module._duckdb_web_fs_get_file_info_by_id=e.duckdb_web_fs_get_file_info_by_id,_duckdb_web_fs_get_file_info_by_name=Module._duckdb_web_fs_get_file_info_by_name=e.duckdb_web_fs_get_file_info_by_name,_duckdb_web_fs_register_file_url=Module._duckdb_web_fs_register_file_url=e.duckdb_web_fs_register_file_url,_duckdb_web_fs_register_file_buffer=Module._duckdb_web_fs_register_file_buffer=e.duckdb_web_fs_register_file_buffer,_duckdb_web_copy_file_to_buffer=Module._duckdb_web_copy_file_to_buffer=e.duckdb_web_copy_file_to_buffer,_duckdb_web_copy_file_to_path=Module._duckdb_web_copy_file_to_path=e.duckdb_web_copy_file_to_path,_duckdb_web_queries_in_flight=Module._duckdb_web_queries_in_flight=e.duckdb_web_queries_in_flight,_duckdb_web_get_version=Module._duckdb_web_get_version=e.duckdb_web_get_version,_duckdb_web_get_feature_flags=Module._duckdb_web_get_feature_flags=e.duckdb_web_get_feature_flags,_duckdb_web_extension_url=Module._duckdb_web_extension_url=e.duckdb_web_extension_url,_duckdb_web_tokenize=Module._duckdb_web_tokenize=e.duckdb_web_tokenize,_duckdb_web_tokenize_buffer=Module._duckdb_web_tokenize_buffer=e.duckdb_web_tokenize_buffer,_duckdb_web_udf_scalar_create=Module._duckdb_web_udf_scalar_create=e.duckdb_web_udf_scalar_create,_duckdb_web_prepared_create=Module._duckdb_web_prepared_create=e.duckdb_web_prepared_create,_duckdb_web_prepared_create_buffer=Module._duckdb_web_prepared_create_buffer=e.duckdb_web_prepared_create_buffer,_duckdb_web_prepared_close=Module._duckdb_web_prepared_close=e.duckdb_web_prepared_close,_duckdb_web_prepared_run=Module._duckdb_web_prepared_run=e.duckdb_web_prepared_run,_duckdb_web_prepared_send=Module._duckdb_web_prepared_send=e.duckdb_web_prepared_send,_duckdb_web_query_run=Module._duckdb_web_query_run=e.duckdb_web_query_run,_duckdb_web_query_run_buffer=Module._duckdb_web_query_run_buffer=e.duckdb_web_query_run_buffer,_duckdb_web_pending_query_start=Module._duckdb_web_pending_query_start=e.duckdb_web_pending_query_start,_duckdb_web_pending_query_start_buffer=Module._duckdb_web_pending_query_start_buffer=e.duckdb_web_pending_query_start_buffer,_duckdb_web_pending_query_poll=Module._duckdb_web_pending_query_poll=e.duckdb_web_pending_query_poll,_duckdb_web_pending_query_cancel=Module._duckdb_web_pending_query_cancel=e.duckdb_web_pending_query_cancel,_duckdb_web_connection_interrupt_flag=Module._duckdb_web_connection_interrupt_flag=e.duckdb_web_connection_interrupt_flag,_duckdb_web_connection_interrupt=Module._duckdb_web_connection_interrupt=e.duckdb_web_connection_interrupt,_duckdb_web_connection_progress_slot=Module._duckdb_web_connection_progress_slot=e.duckdb_web_connection_progress_slot,_duckdb_web_get_query_progress=Module._duckdb_web_get_query_progress=e.duckdb_web_get_query_progress,_duckdb_web_query_fetch_results=Module._duckdb_web_query_fetch_results=e.duckdb_web_query_fetch_results,_duckdb_web_get_tablenames=Module._duckdb_web_get_tablenames=e.duckdb_web_get_tablenames,_duckdb_web_get_tablenames_buffer=Module._duckdb_web_get_tablenames_buffer=e.duckdb_web_get_tablenames_buffer,_duckdb_web_insert_arrow_from_ipc_stream=Module._duckdb_web_insert_arrow_from_ipc_stream=e.duckdb_web_insert_arrow_from_ipc_stream,_duckdb_web_insert_csv_from_path=Module._duckdb_web_insert_csv_from_path=e.duckdb_web_insert_csv_from_path,_duckdb_web_insert_json_from_path=Module._duckdb_web_insert_json_from_path=e.duckdb_web_insert_json_from_path,_duckdb_web_http_fetch_runtime=Module._duckdb_web_http_fetch_runtime=e.duckdb_web_http_fetch_runtime,_duckdb_web_http_fetch_mailbox=Module._duckdb_web_http_fetch_mailbox=e.duckdb_web_http_fetch_mailbox,_duckdb_web_http_fetch_ready=Module._duckdb_web_http_fetch_ready=e.duckdb_web_http_fetch_ready,_malloc=Module._malloc=e.malloc,_free=Module._free=e.free,_realloc=e.realloc,_memcmp=e.memcmp,___cxa_rethrow=e.__cxa_rethrow,_calloc=Module._calloc=e.calloc,_strerror=e.strerror,___dl_seterr=e.__dl_seterr,__emscripten_find_dylib=e._emscripten_find_dylib,_memcpy=e.memcpy,_fileno=e.fileno,_htonl=e.htonl,_htons=e.htons,_emscripten_builtin_memalign=e.emscripten_builtin_memalign,_ntohs=e.ntohs,__emscripten_timeout=e._emscripten_timeout,_emscripten_get_sbrk_ptr=e.emscripten_get_sbrk_ptr,___trap=e.__trap,__emscripten_tempret_set=e._emscripten_tempret_set,__emscripten_tempret_get=e._emscripten_tempret_get,__emscripten_stack_restore=e._emscripten_stack_restore,__emscripten_stack_alloc=e._emscripten_stack_alloc,_emscripten_stack_get_current=e.emscripten_stack_get_current,___cxa_decrement_exception_refcount=e.__cxa_decrement_exception_refcount,___cxa_increment_exception_refcount=e.__cxa_increment_exception_refcount,___cxa_demangle=e.__cxa_demangle,___thrown_object_from_unwind_exception=e.__thrown_object_from_unwind_exception,___get_exception_message=e.__get_exception_message,___increment_uncaught_exception=incrementUncaughtExceptionCount=e.__increment_uncaught_exception,___decrement_uncaught_exception=decrementUncaughtExceptionCount=e.__decrement_uncaught_exception,___wasm_apply_data_relocs=Module.___wasm_apply_data_relocs=e.__wasm_apply_data_relocs,memory=wasmMemory=Module.wasmMemory=e.memory,___stack_pointer=e.__stack_pointer,__indirect_function_table=wasmTable=e.__indirect_function_table,___cpp_exception=e.__cpp_exception,___heap_base=e.__heap_base.value>>>0}var wasmImports={IMG_Init:_IMG_Init,IMG_Load:_IMG_Load,IMG_Load_RW:_IMG_Load_RW,IMG_Quit:_IMG_Quit,Mix_AllocateChannels:_Mix_AllocateChannels,Mix_ChannelFinished:_Mix_ChannelFinished,Mix_CloseAudio:_Mix_CloseAudio,Mix_FadeInChannelTimed:_Mix_FadeInChannelTimed,Mix_FadeInMusicPos:_Mix_FadeInMusicPos,Mix_FadeOutChannel:_Mix_FadeOutChannel,Mix_FadeOutMusic:_Mix_FadeOutMusic,Mix_FadingChannel:_Mix_FadingChannel,Mix_FreeChunk:_Mix_FreeChunk,Mix_FreeMusic:_Mix_FreeMusic,Mix_HaltChannel:_Mix_HaltChannel,Mix_HaltMusic:_Mix_HaltMusic,Mix_HookMusicFinished:_Mix_HookMusicFinished,Mix_Init:_Mix_Init,Mix_Linked_Version:_Mix_Linked_Version,Mix_LoadMUS:_Mix_LoadMUS,Mix_LoadMUS_RW:_Mix_LoadMUS_RW,Mix_LoadWAV:_Mix_LoadWAV,Mix_LoadWAV_RW:_Mix_LoadWAV_RW,Mix_OpenAudio:_Mix_OpenAudio,Mix_Pause:_Mix_Pause,Mix_PauseMusic:_Mix_PauseMusic,Mix_Paused:_Mix_Paused,Mix_PausedMusic:_Mix_PausedMusic,Mix_PlayChannelTimed:_Mix_PlayChannelTimed,Mix_PlayMusic:_Mix_PlayMusic,Mix_Playing:_Mix_Playing,Mix_PlayingMusic:_Mix_PlayingMusic,Mix_QuerySpec:_Mix_QuerySpec,Mix_QuickLoad_RAW:_Mix_QuickLoad_RAW,Mix_Quit:_Mix_Quit,Mix_ReserveChannels:_Mix_ReserveChannels,Mix_Resume:_Mix_Resume,Mix_ResumeMusic:_Mix_ResumeMusic,Mix_SetPanning:_Mix_SetPanning,Mix_SetPosition:_Mix_SetPosition,Mix_SetPostMix:_Mix_SetPostMix,Mix_Volume:_Mix_Volume,Mix_VolumeChunk:_Mix_VolumeChunk,Mix_VolumeMusic:_Mix_VolumeMusic,SDL_AddTimer:_SDL_AddTimer,SDL_AllocRW:_SDL_AllocRW,SDL_AudioDriverName:_SDL_AudioDriverName,SDL_AudioQuit:_SDL_AudioQuit,SDL_ClearError:_SDL_ClearError,SDL_CloseAudio:_SDL_CloseAudio,SDL_CondBroadcast:_SDL_CondBroadcast,SDL_CondSignal:_SDL_CondSignal,SDL_CondWait:_SDL_CondWait,SDL_CondWaitTimeout:_SDL_CondWaitTimeout,SDL_ConvertSurface:_SDL_ConvertSurface,SDL_CreateCond:_SDL_CreateCond,SDL_CreateMutex:_SDL_CreateMutex,SDL_CreateRGBSurface:_SDL_CreateRGBSurface,SDL_CreateRGBSurfaceFrom:_SDL_CreateRGBSurfaceFrom,SDL_CreateThread:_SDL_CreateThread,SDL_Delay:_SDL_Delay,SDL_DestroyCond:_SDL_DestroyCond,SDL_DestroyMutex:_SDL_DestroyMutex,SDL_DestroyRenderer:_SDL_DestroyRenderer,SDL_DestroyWindow:_SDL_DestroyWindow,SDL_DisplayFormat:_SDL_DisplayFormat,SDL_DisplayFormatAlpha:_SDL_DisplayFormatAlpha,SDL_EnableKeyRepeat:_SDL_EnableKeyRepeat,SDL_EnableUNICODE:_SDL_EnableUNICODE,SDL_FillRect:_SDL_FillRect,SDL_Flip:_SDL_Flip,SDL_FreeRW:_SDL_FreeRW,SDL_FreeSurface:_SDL_FreeSurface,SDL_GL_DeleteContext:_SDL_GL_DeleteContext,SDL_GL_ExtensionSupported:_SDL_GL_ExtensionSupported,SDL_GL_GetAttribute:_SDL_GL_GetAttribute,SDL_GL_GetSwapInterval:_SDL_GL_GetSwapInterval,SDL_GL_MakeCurrent:_SDL_GL_MakeCurrent,SDL_GL_SetAttribute:_SDL_GL_SetAttribute,SDL_GL_SetSwapInterval:_SDL_GL_SetSwapInterval,SDL_GL_SwapBuffers:_SDL_GL_SwapBuffers,SDL_GL_SwapWindow:_SDL_GL_SwapWindow,SDL_GetAppState:_SDL_GetAppState,SDL_GetAudioDriver:_SDL_GetAudioDriver,SDL_GetClipRect:_SDL_GetClipRect,SDL_GetCurrentAudioDriver:_SDL_GetCurrentAudioDriver,SDL_GetError:_SDL_GetError,SDL_GetKeyName:_SDL_GetKeyName,SDL_GetKeyState:_SDL_GetKeyState,SDL_GetKeyboardState:_SDL_GetKeyboardState,SDL_GetModState:_SDL_GetModState,SDL_GetMouseState:_SDL_GetMouseState,SDL_GetNumAudioDrivers:_SDL_GetNumAudioDrivers,SDL_GetRGB:_SDL_GetRGB,SDL_GetRGBA:_SDL_GetRGBA,SDL_GetScancodeFromKey:_SDL_GetScancodeFromKey,SDL_GetThreadID:_SDL_GetThreadID,SDL_GetTicks:_SDL_GetTicks,SDL_GetVideoInfo:_SDL_GetVideoInfo,SDL_GetVideoSurface:_SDL_GetVideoSurface,SDL_GetWindowFlags:_SDL_GetWindowFlags,SDL_GetWindowSize:_SDL_GetWindowSize,SDL_Has3DNow:_SDL_Has3DNow,SDL_Has3DNowExt:_SDL_Has3DNowExt,SDL_HasAltiVec:_SDL_HasAltiVec,SDL_HasMMX:_SDL_HasMMX,SDL_HasMMXExt:_SDL_HasMMXExt,SDL_HasRDTSC:_SDL_HasRDTSC,SDL_HasSSE:_SDL_HasSSE,SDL_HasSSE2:_SDL_HasSSE2,SDL_Init:_SDL_Init,SDL_InitSubSystem:_SDL_InitSubSystem,SDL_JoystickClose:_SDL_JoystickClose,SDL_JoystickEventState:_SDL_JoystickEventState,SDL_JoystickGetAxis:_SDL_JoystickGetAxis,SDL_JoystickGetBall:_SDL_JoystickGetBall,SDL_JoystickGetButton:_SDL_JoystickGetButton,SDL_JoystickGetHat:_SDL_JoystickGetHat,SDL_JoystickIndex:_SDL_JoystickIndex,SDL_JoystickName:_SDL_JoystickName,SDL_JoystickNumAxes:_SDL_JoystickNumAxes,SDL_JoystickNumBalls:_SDL_JoystickNumBalls,SDL_JoystickNumButtons:_SDL_JoystickNumButtons,SDL_JoystickNumHats:_SDL_JoystickNumHats,SDL_JoystickOpen:_SDL_JoystickOpen,SDL_JoystickOpened:_SDL_JoystickOpened,SDL_JoystickUpdate:_SDL_JoystickUpdate,SDL_Linked_Version:_SDL_Linked_Version,SDL_ListModes:_SDL_ListModes,SDL_LoadBMP_RW:_SDL_LoadBMP_RW,SDL_LockAudio:_SDL_LockAudio,SDL_LockSurface:_SDL_LockSurface,SDL_LogSetOutputFunction:_SDL_LogSetOutputFunction,SDL_LowerBlit:_SDL_LowerBlit,SDL_LowerBlitScaled:_SDL_LowerBlitScaled,SDL_MapRGB:_SDL_MapRGB,SDL_MapRGBA:_SDL_MapRGBA,SDL_NumJoysticks:_SDL_NumJoysticks,SDL_OpenAudio:_SDL_OpenAudio,SDL_PauseAudio:_SDL_PauseAudio,SDL_PeepEvents:_SDL_PeepEvents,SDL_PollEvent:_SDL_PollEvent,SDL_PumpEvents:_SDL_PumpEvents,SDL_PushEvent:_SDL_PushEvent,SDL_Quit:_SDL_Quit,SDL_QuitSubSystem:_SDL_QuitSubSystem,SDL_RWFromConstMem:_SDL_RWFromConstMem,SDL_RWFromFile:_SDL_RWFromFile,SDL_RWFromMem:_SDL_RWFromMem,SDL_RemoveTimer:_SDL_RemoveTimer,SDL_SaveBMP_RW:_SDL_SaveBMP_RW,SDL_SetAlpha:_SDL_SetAlpha,SDL_SetClipRect:_SDL_SetClipRect,SDL_SetColorKey:_SDL_SetColorKey,SDL_SetColors:_SDL_SetColors,SDL_SetError:_SDL_SetError,SDL_SetGamma:_SDL_SetGamma,SDL_SetGammaRamp:_SDL_SetGammaRamp,SDL_SetPalette:_SDL_SetPalette,SDL_SetVideoMode:_SDL_SetVideoMode,SDL_SetWindowFullscreen:_SDL_SetWindowFullscreen,SDL_SetWindowTitle:_SDL_SetWindowTitle,SDL_ShowCursor:_SDL_ShowCursor,SDL_StartTextInput:_SDL_StartTextInput,SDL_StopTextInput:_SDL_StopTextInput,SDL_ThreadID:_SDL_ThreadID,SDL_UnlockAudio:_SDL_UnlockAudio,SDL_UnlockSurface:_SDL_UnlockSurface,SDL_UpdateRect:_SDL_UpdateRect,SDL_UpdateRects:_SDL_UpdateRects,SDL_UpperBlit:_SDL_UpperBlit,SDL_UpperBlitScaled:_SDL_UpperBlitScaled,SDL_VideoDriverName:_SDL_VideoDriverName,SDL_VideoModeOK:_SDL_VideoModeOK,SDL_VideoQuit:_SDL_VideoQuit,SDL_WM_GrabInput:_SDL_WM_GrabInput,SDL_WM_IconifyWindow:_SDL_WM_IconifyWindow,SDL_WM_SetCaption:_SDL_WM_SetCaption,SDL_WM_SetIcon:_SDL_WM_SetIcon,SDL_WM_ToggleFullScreen:_SDL_WM_ToggleFullScreen,SDL_WaitThread:_SDL_WaitThread,SDL_WarpMouse:_SDL_WarpMouse,SDL_WasInit:_SDL_WasInit,SDL_mutexP:_SDL_mutexP,SDL_mutexV:_SDL_mutexV,TTF_CloseFont:_TTF_CloseFont,TTF_FontAscent:_TTF_FontAscent,TTF_FontDescent:_TTF_FontDescent,TTF_FontHeight:_TTF_FontHeight,TTF_FontLineSkip:_TTF_FontLineSkip,TTF_GlyphMetrics:_TTF_GlyphMetrics,TTF_Init:_TTF_Init,TTF_OpenFont:_TTF_OpenFont,TTF_Quit:_TTF_Quit,TTF_RenderText_Blended:_TTF_RenderText_Blended,TTF_RenderText_Shaded:_TTF_RenderText_Shaded,TTF_RenderText_Solid:_TTF_RenderText_Solid,TTF_RenderUTF8_Solid:_TTF_RenderUTF8_Solid,TTF_SizeText:_TTF_SizeText,TTF_SizeUTF8:_TTF_SizeUTF8,XChangeWindowAttributes:_XChangeWindowAttributes,XCreateWindow:_XCreateWindow,XInternAtom:_XInternAtom,XMapWindow:_XMapWindow,XOpenDisplay:_XOpenDisplay,XPending:_XPending,XSendEvent:_XSendEvent,XSetWMHints:_XSetWMHints,XStoreName:_XStoreName,__asctime_r:___asctime_r,__assert_fail:___assert_fail,__call_sighandler:___call_sighandler,__syscall_accept4:___syscall_accept4,__syscall_bind:___syscall_bind,__syscall_chdir:___syscall_chdir,__syscall_chmod:___syscall_chmod,__syscall_connect:___syscall_connect,__syscall_dup:___syscall_dup,__syscall_dup3:___syscall_dup3,__syscall_epoll_create1:___syscall_epoll_create1,__syscall_epoll_ctl:___syscall_epoll_ctl,__syscall_epoll_pwait:___syscall_epoll_pwait,__syscall_epoll_pwait_nonblocking:___syscall_epoll_pwait_nonblocking,__syscall_faccessat:___syscall_faccessat,__syscall_fadvise64:___syscall_fadvise64,__syscall_fallocate:___syscall_fallocate,__syscall_fchdir:___syscall_fchdir,__syscall_fchmod:___syscall_fchmod,__syscall_fchmodat2:___syscall_fchmodat2,__syscall_fchown32:___syscall_fchown32,__syscall_fchownat:___syscall_fchownat,__syscall_fcntl64:___syscall_fcntl64,__syscall_fdatasync:___syscall_fdatasync,__syscall_fstat64:___syscall_fstat64,__syscall_fstatfs64:___syscall_fstatfs64,__syscall_ftruncate64:___syscall_ftruncate64,__syscall_getcwd:___syscall_getcwd,__syscall_getdents64:___syscall_getdents64,__syscall_getegid32:___syscall_getegid32,__syscall_geteuid32:___syscall_geteuid32,__syscall_getgid32:___syscall_getgid32,__syscall_getpeername:___syscall_getpeername,__syscall_getsockname:___syscall_getsockname,__syscall_getsockopt:___syscall_getsockopt,__syscall_getuid32:___syscall_getuid32,__syscall_ioctl:___syscall_ioctl,__syscall_linkat:___syscall_linkat,__syscall_listen:___syscall_listen,__syscall_lstat64:___syscall_lstat64,__syscall_mkdirat:___syscall_mkdirat,__syscall_mknodat:___syscall_mknodat,__syscall_newfstatat:___syscall_newfstatat,__syscall_openat:___syscall_openat,__syscall_pipe2:___syscall_pipe2,__syscall_poll:___syscall_poll,__syscall_poll_nonblocking:___syscall_poll_nonblocking,__syscall_readlinkat:___syscall_readlinkat,__syscall_recvfrom:___syscall_recvfrom,__syscall_recvmsg:___syscall_recvmsg,__syscall_renameat:___syscall_renameat,__syscall_rmdir:___syscall_rmdir,__syscall_sendmsg:___syscall_sendmsg,__syscall_sendto:___syscall_sendto,__syscall_setsockopt:___syscall_setsockopt,__syscall_shutdown:___syscall_shutdown,__syscall_socket:___syscall_socket,__syscall_stat64:___syscall_stat64,__syscall_statfs64:___syscall_statfs64,__syscall_symlinkat:___syscall_symlinkat,__syscall_truncate64:___syscall_truncate64,__syscall_umask:___syscall_umask,__syscall_uname:___syscall_uname,__syscall_unlinkat:___syscall_unlinkat,__syscall_utimensat:___syscall_utimensat,_abort_js:__abort_js,_dlopen_js:__dlopen_js,_dlsym_catchup_js:__dlsym_catchup_js,_dlsym_js:__dlsym_js,_embind_create_inheriting_constructor:__embind_create_inheriting_constructor,_embind_finalize_value_array:__embind_finalize_value_array,_embind_finalize_value_object:__embind_finalize_value_object,_embind_register_bigint:__embind_register_bigint,_embind_register_bool:__embind_register_bool,_embind_register_class:__embind_register_class,_embind_register_class_class_function:__embind_register_class_class_function,_embind_register_class_class_property:__embind_register_class_class_property,_embind_register_class_constructor:__embind_register_class_constructor,_embind_register_class_function:__embind_register_class_function,_embind_register_class_property:__embind_register_class_property,_embind_register_constant:__embind_register_constant,_embind_register_emval:__embind_register_emval,_embind_register_enum:__embind_register_enum,_embind_register_enum_value:__embind_register_enum_value,_embind_register_float:__embind_register_float,_embind_register_function:__embind_register_function,_embind_register_integer:__embind_register_integer,_embind_register_iterable:__embind_register_iterable,_embind_register_memory_view:__embind_register_memory_view,_embind_register_optional:__embind_register_optional,_embind_register_smart_ptr:__embind_register_smart_ptr,_embind_register_std_string:__embind_register_std_string,_embind_register_std_wstring:__embind_register_std_wstring,_embind_register_user_type:__embind_register_user_type,_embind_register_user_type_definition:__embind_register_user_type_definition,_embind_register_value_array:__embind_register_value_array,_embind_register_value_array_element:__embind_register_value_array_element,_embind_register_value_object:__embind_register_value_object,_embind_register_value_object_field:__embind_register_value_object_field,_embind_register_void:__embind_register_void,_emscripten_dlopen_js:__emscripten_dlopen_js,_emscripten_fs_load_embedded_files:__emscripten_fs_load_embedded_files,_emscripten_get_last_devicemotion_event:__emscripten_get_last_devicemotion_event,_emscripten_get_last_deviceorientation_event:__emscripten_get_last_deviceorientation_event,_emscripten_get_last_mouse_event:__emscripten_get_last_mouse_event,_emscripten_get_now_is_monotonic:__emscripten_get_now_is_monotonic,_emscripten_get_progname:__emscripten_get_progname,_emscripten_log_formatted:__emscripten_log_formatted,_emscripten_push_main_loop_blocker:__emscripten_push_main_loop_blocker,_emscripten_push_uncounted_main_loop_blocker:__emscripten_push_uncounted_main_loop_blocker,_emscripten_runtime_keepalive_clear:__emscripten_runtime_keepalive_clear,_emscripten_system:__emscripten_system,_emval_array_to_memory_view:__emval_array_to_memory_view,_emval_coro_make_promise:__emval_coro_make_promise,_emval_coro_suspend:__emval_coro_suspend,_emval_create_invoker:__emval_create_invoker,_emval_decref:__emval_decref,_emval_delete:__emval_delete,_emval_equals:__emval_equals,_emval_from_current_cxa_exception:__emval_from_current_cxa_exception,_emval_get_global:__emval_get_global,_emval_get_module_property:__emval_get_module_property,_emval_get_property:__emval_get_property,_emval_greater_than:__emval_greater_than,_emval_in:__emval_in,_emval_incref:__emval_incref,_emval_instanceof:__emval_instanceof,_emval_invoke:__emval_invoke,_emval_invoke_i64:__emval_invoke_i64,_emval_is_catchable_cpp_exception_object:__emval_is_catchable_cpp_exception_object,_emval_is_number:__emval_is_number,_emval_is_string:__emval_is_string,_emval_iter_begin:__emval_iter_begin,_emval_iter_next:__emval_iter_next,_emval_less_than:__emval_less_than,_emval_new_array:__emval_new_array,_emval_new_array_from_memory_view:__emval_new_array_from_memory_view,_emval_new_cstring:__emval_new_cstring,_emval_new_object:__emval_new_object,_emval_new_u16string:__emval_new_u16string,_emval_new_u8string:__emval_new_u8string,_emval_not:__emval_not,_emval_register_symbol:__emval_register_symbol,_emval_run_destructors:__emval_run_destructors,_emval_set_property:__emval_set_property,_emval_strictly_equals:__emval_strictly_equals,_emval_throw:__emval_throw,_emval_typeof:__emval_typeof,_glGetActiveAttribOrUniform:__glGetActiveAttribOrUniform,_gmtime_js:__gmtime_js,_localtime_js:__localtime_js,_mktime_js:__mktime_js,_mmap_js:__mmap_js,_msync_js:__msync_js,_munmap_js:__munmap_js,_setitimer_js:__setitimer_js,_timegm_js:__timegm_js,_tzset_js:__tzset_js,alBuffer3f:_alBuffer3f,alBuffer3i:_alBuffer3i,alBufferData:_alBufferData,alBufferf:_alBufferf,alBufferfv:_alBufferfv,alBufferi:_alBufferi,alBufferiv:_alBufferiv,alDeleteBuffers:_alDeleteBuffers,alDeleteSources:_alDeleteSources,alDisable:_alDisable,alDistanceModel:_alDistanceModel,alDopplerFactor:_alDopplerFactor,alDopplerVelocity:_alDopplerVelocity,alEnable:_alEnable,alGenBuffers:_alGenBuffers,alGenSources:_alGenSources,alGetBoolean:_alGetBoolean,alGetBooleanv:_alGetBooleanv,alGetBuffer3f:_alGetBuffer3f,alGetBuffer3i:_alGetBuffer3i,alGetBufferf:_alGetBufferf,alGetBufferfv:_alGetBufferfv,alGetBufferi:_alGetBufferi,alGetBufferiv:_alGetBufferiv,alGetDouble:_alGetDouble,alGetDoublev:_alGetDoublev,alGetEnumValue:_alGetEnumValue,alGetError:_alGetError,alGetFloat:_alGetFloat,alGetFloatv:_alGetFloatv,alGetInteger:_alGetInteger,alGetIntegerv:_alGetIntegerv,alGetListener3f:_alGetListener3f,alGetListener3i:_alGetListener3i,alGetListenerf:_alGetListenerf,alGetListenerfv:_alGetListenerfv,alGetListeneri:_alGetListeneri,alGetListeneriv:_alGetListeneriv,alGetSource3f:_alGetSource3f,alGetSource3i:_alGetSource3i,alGetSourcef:_alGetSourcef,alGetSourcefv:_alGetSourcefv,alGetSourcei:_alGetSourcei,alGetSourceiv:_alGetSourceiv,alGetString:_alGetString,alIsBuffer:_alIsBuffer,alIsEnabled:_alIsEnabled,alIsExtensionPresent:_alIsExtensionPresent,alIsSource:_alIsSource,alListener3f:_alListener3f,alListener3i:_alListener3i,alListenerf:_alListenerf,alListenerfv:_alListenerfv,alListeneri:_alListeneri,alListeneriv:_alListeneriv,alSource3f:_alSource3f,alSource3i:_alSource3i,alSourcePause:_alSourcePause,alSourcePausev:_alSourcePausev,alSourcePlay:_alSourcePlay,alSourcePlayv:_alSourcePlayv,alSourceQueueBuffers:_alSourceQueueBuffers,alSourceRewind:_alSourceRewind,alSourceRewindv:_alSourceRewindv,alSourceStop:_alSourceStop,alSourceStopv:_alSourceStopv,alSourceUnqueueBuffers:_alSourceUnqueueBuffers,alSourcef:_alSourcef,alSourcefv:_alSourcefv,alSourcei:_alSourcei,alSourceiv:_alSourceiv,alSpeedOfSound:_alSpeedOfSound,alcCaptureCloseDevice:_alcCaptureCloseDevice,alcCaptureOpenDevice:_alcCaptureOpenDevice,alcCaptureSamples:_alcCaptureSamples,alcCaptureStart:_alcCaptureStart,alcCaptureStop:_alcCaptureStop,alcCloseDevice:_alcCloseDevice,alcCreateContext:_alcCreateContext,alcDestroyContext:_alcDestroyContext,alcGetContextsDevice:_alcGetContextsDevice,alcGetCurrentContext:_alcGetCurrentContext,alcGetEnumValue:_alcGetEnumValue,alcGetError:_alcGetError,alcGetIntegerv:_alcGetIntegerv,alcGetString:_alcGetString,alcIsExtensionPresent:_alcIsExtensionPresent,alcMakeContextCurrent:_alcMakeContextCurrent,alcOpenDevice:_alcOpenDevice,alcProcessContext:_alcProcessContext,alcSuspendContext:_alcSuspendContext,boxColor:_boxColor,boxRGBA:_boxRGBA,clock_res_get:_clock_res_get,clock_time_get:_clock_time_get,duckdb_wasm_crypto_random:_duckdb_wasm_crypto_random,duckdb_wasm_get_auth_error_js:_duckdb_wasm_get_auth_error_js,duckdb_wasm_get_page_origin_js:_duckdb_wasm_get_page_origin_js,duckdb_wasm_open_auth_url_js:_duckdb_wasm_open_auth_url_js,duckdb_web_fs_directory_create:_duckdb_web_fs_directory_create,duckdb_web_fs_directory_exists:_duckdb_web_fs_directory_exists,duckdb_web_fs_directory_list_files:_duckdb_web_fs_directory_list_files,duckdb_web_fs_directory_remove:_duckdb_web_fs_directory_remove,duckdb_web_fs_file_close:_duckdb_web_fs_file_close,duckdb_web_fs_file_drop_file:_duckdb_web_fs_file_drop_file,duckdb_web_fs_file_exists:_duckdb_web_fs_file_exists,duckdb_web_fs_file_get_last_modified_time:_duckdb_web_fs_file_get_last_modified_time,duckdb_web_fs_file_move:_duckdb_web_fs_file_move,duckdb_web_fs_file_open:_duckdb_web_fs_file_open,duckdb_web_fs_file_read:_duckdb_web_fs_file_read,duckdb_web_fs_file_remove:_duckdb_web_fs_file_remove,duckdb_web_fs_file_sync:_duckdb_web_fs_file_sync,duckdb_web_fs_file_truncate:_duckdb_web_fs_file_truncate,duckdb_web_fs_file_write:_duckdb_web_fs_file_write,duckdb_web_fs_get_default_data_protocol:_duckdb_web_fs_get_default_data_protocol,duckdb_web_fs_glob:_duckdb_web_fs_glob,duckdb_web_http_xhr,duckdb_web_test_platform_feature:_duckdb_web_test_platform_feature,duckdb_web_udf_scalar_call:_duckdb_web_udf_scalar_call,eglBindAPI:_eglBindAPI,eglChooseConfig:_eglChooseConfig,eglCreateContext:_eglCreateContext,eglCreateWindowSurface:_eglCreateWindowSurface,eglDestroyContext:_eglDestroyContext,eglDestroySurface:_eglDestroySurface,eglGetConfigAttrib:_eglGetConfigAttrib,eglGetConfigs:_eglGetConfigs,eglGetCurrentContext:_eglGetCurrentContext,eglGetCurrentDisplay:_eglGetCurrentDisplay,eglGetCurrentSurface:_eglGetCurrentSurface,eglGetDisplay:_eglGetDisplay,eglGetError:_eglGetError,eglInitialize:_eglInitialize,eglMakeCurrent:_eglMakeCurrent,eglQueryAPI:_eglQueryAPI,eglQueryContext:_eglQueryContext,eglQueryString:_eglQueryString,eglQuerySurface:_eglQuerySurface,eglReleaseThread:_eglReleaseThread,eglSwapBuffers:_eglSwapBuffers,eglSwapInterval:_eglSwapInterval,eglTerminate:_eglTerminate,eglWaitClient:_eglWaitClient,eglWaitGL:_eglWaitGL,eglWaitNative:_eglWaitNative,ellipseColor:_ellipseColor,ellipseRGBA:_ellipseRGBA,emscripten_SDL_SetEventHandler:_emscripten_SDL_SetEventHandler,emscripten_alcDevicePauseSOFT:_emscripten_alcDevicePauseSOFT,emscripten_alcDeviceResumeSOFT:_emscripten_alcDeviceResumeSOFT,emscripten_alcGetStringiSOFT:_emscripten_alcGetStringiSOFT,emscripten_alcResetDeviceSOFT:_emscripten_alcResetDeviceSOFT,emscripten_asm_const_async_on_main_thread:_emscripten_asm_const_async_on_main_thread,emscripten_asm_const_double:_emscripten_asm_const_double,emscripten_asm_const_double_sync_on_main_thread:_emscripten_asm_const_double_sync_on_main_thread,emscripten_asm_const_int:_emscripten_asm_const_int,emscripten_asm_const_int_sync_on_main_thread:_emscripten_asm_const_int_sync_on_main_thread,emscripten_asm_const_ptr:_emscripten_asm_const_ptr,emscripten_asm_const_ptr_sync_on_main_thread:_emscripten_asm_const_ptr_sync_on_main_thread,emscripten_async_call:_emscripten_async_call,emscripten_async_load_script:_emscripten_async_load_script,emscripten_async_run_script:_emscripten_async_run_script,emscripten_async_wget:_emscripten_async_wget,emscripten_async_wget2:_emscripten_async_wget2,emscripten_async_wget2_abort:_emscripten_async_wget2_abort,emscripten_async_wget2_data:_emscripten_async_wget2_data,emscripten_async_wget_data:_emscripten_async_wget_data,emscripten_call_worker:_emscripten_call_worker,emscripten_cancel_animation_frame:_emscripten_cancel_animation_frame,emscripten_cancel_main_loop:_emscripten_cancel_main_loop,emscripten_clear_immediate:_emscripten_clear_immediate,emscripten_clear_interval:_emscripten_clear_interval,emscripten_clear_timeout:_emscripten_clear_timeout,emscripten_console_error:_emscripten_console_error,emscripten_console_log:_emscripten_console_log,emscripten_console_trace:_emscripten_console_trace,emscripten_console_warn:_emscripten_console_warn,emscripten_create_worker:_emscripten_create_worker,emscripten_date_now:_emscripten_date_now,emscripten_debugger:_emscripten_debugger,emscripten_destroy_worker:_emscripten_destroy_worker,emscripten_enter_soft_fullscreen:_emscripten_enter_soft_fullscreen,emscripten_epoll_listener_add:_emscripten_epoll_listener_add,emscripten_epoll_listener_remove:_emscripten_epoll_listener_remove,emscripten_err:_emscripten_err,emscripten_errn:_emscripten_errn,emscripten_exit_fullscreen:_emscripten_exit_fullscreen,emscripten_exit_pointerlock:_emscripten_exit_pointerlock,emscripten_exit_soft_fullscreen:_emscripten_exit_soft_fullscreen,emscripten_exit_with_live_runtime:_emscripten_exit_with_live_runtime,emscripten_fiber_swap:_emscripten_fiber_swap,emscripten_force_exit:_emscripten_force_exit,emscripten_get_battery_status:_emscripten_get_battery_status,emscripten_get_callstack:_emscripten_get_callstack,emscripten_get_canvas_element_size:_emscripten_get_canvas_element_size,emscripten_get_canvas_size:_emscripten_get_canvas_size,emscripten_get_compiler_setting:_emscripten_get_compiler_setting,emscripten_get_device_pixel_ratio:_emscripten_get_device_pixel_ratio,emscripten_get_element_css_size:_emscripten_get_element_css_size,emscripten_get_fullscreen_status:_emscripten_get_fullscreen_status,emscripten_get_gamepad_status:_emscripten_get_gamepad_status,emscripten_get_heap_max:_emscripten_get_heap_max,emscripten_get_main_loop_timing:_emscripten_get_main_loop_timing,emscripten_get_now:_emscripten_get_now,emscripten_get_now_res:_emscripten_get_now_res,emscripten_get_num_gamepads:_emscripten_get_num_gamepads,emscripten_get_orientation_status:_emscripten_get_orientation_status,emscripten_get_pointerlock_status:_emscripten_get_pointerlock_status,emscripten_get_preloaded_image_data:_emscripten_get_preloaded_image_data,emscripten_get_preloaded_image_data_from_FILE:_emscripten_get_preloaded_image_data_from_FILE,emscripten_get_screen_size:_emscripten_get_screen_size,emscripten_get_visibility_status:_emscripten_get_visibility_status,emscripten_get_window_title:_emscripten_get_window_title,emscripten_get_worker_queue_size:_emscripten_get_worker_queue_size,emscripten_glActiveTexture:_emscripten_glActiveTexture,emscripten_glAttachShader:_emscripten_glAttachShader,emscripten_glBegin:_emscripten_glBegin,emscripten_glBeginQueryEXT:_emscripten_glBeginQueryEXT,emscripten_glBindAttribLocation:_emscripten_glBindAttribLocation,emscripten_glBindBuffer:_emscripten_glBindBuffer,emscripten_glBindFramebuffer:_emscripten_glBindFramebuffer,emscripten_glBindRenderbuffer:_emscripten_glBindRenderbuffer,emscripten_glBindTexture:_emscripten_glBindTexture,emscripten_glBindVertexArray:_emscripten_glBindVertexArray,emscripten_glBindVertexArrayOES:_emscripten_glBindVertexArrayOES,emscripten_glBlendColor:_emscripten_glBlendColor,emscripten_glBlendEquation:_emscripten_glBlendEquation,emscripten_glBlendEquationSeparate:_emscripten_glBlendEquationSeparate,emscripten_glBlendFunc:_emscripten_glBlendFunc,emscripten_glBlendFuncSeparate:_emscripten_glBlendFuncSeparate,emscripten_glBufferData:_emscripten_glBufferData,emscripten_glBufferSubData:_emscripten_glBufferSubData,emscripten_glCheckFramebufferStatus:_emscripten_glCheckFramebufferStatus,emscripten_glClear:_emscripten_glClear,emscripten_glClearColor:_emscripten_glClearColor,emscripten_glClearDepth:_emscripten_glClearDepth,emscripten_glClearDepthf:_emscripten_glClearDepthf,emscripten_glClearStencil:_emscripten_glClearStencil,emscripten_glClipControlEXT:_emscripten_glClipControlEXT,emscripten_glColorMask:_emscripten_glColorMask,emscripten_glCompileShader:_emscripten_glCompileShader,emscripten_glCompressedTexImage2D:_emscripten_glCompressedTexImage2D,emscripten_glCompressedTexSubImage2D:_emscripten_glCompressedTexSubImage2D,emscripten_glCopyTexImage2D:_emscripten_glCopyTexImage2D,emscripten_glCopyTexSubImage2D:_emscripten_glCopyTexSubImage2D,emscripten_glCreateProgram:_emscripten_glCreateProgram,emscripten_glCreateShader:_emscripten_glCreateShader,emscripten_glCullFace:_emscripten_glCullFace,emscripten_glDeleteBuffers:_emscripten_glDeleteBuffers,emscripten_glDeleteFramebuffers:_emscripten_glDeleteFramebuffers,emscripten_glDeleteProgram:_emscripten_glDeleteProgram,emscripten_glDeleteQueriesEXT:_emscripten_glDeleteQueriesEXT,emscripten_glDeleteRenderbuffers:_emscripten_glDeleteRenderbuffers,emscripten_glDeleteShader:_emscripten_glDeleteShader,emscripten_glDeleteTextures:_emscripten_glDeleteTextures,emscripten_glDeleteVertexArrays:_emscripten_glDeleteVertexArrays,emscripten_glDeleteVertexArraysOES:_emscripten_glDeleteVertexArraysOES,emscripten_glDepthFunc:_emscripten_glDepthFunc,emscripten_glDepthMask:_emscripten_glDepthMask,emscripten_glDepthRange:_emscripten_glDepthRange,emscripten_glDepthRangef:_emscripten_glDepthRangef,emscripten_glDetachShader:_emscripten_glDetachShader,emscripten_glDisable:_emscripten_glDisable,emscripten_glDisableVertexAttribArray:_emscripten_glDisableVertexAttribArray,emscripten_glDrawArrays:_emscripten_glDrawArrays,emscripten_glDrawArraysInstanced:_emscripten_glDrawArraysInstanced,emscripten_glDrawArraysInstancedANGLE:_emscripten_glDrawArraysInstancedANGLE,emscripten_glDrawArraysInstancedARB:_emscripten_glDrawArraysInstancedARB,emscripten_glDrawArraysInstancedEXT:_emscripten_glDrawArraysInstancedEXT,emscripten_glDrawArraysInstancedNV:_emscripten_glDrawArraysInstancedNV,emscripten_glDrawBuffers:_emscripten_glDrawBuffers,emscripten_glDrawBuffersEXT:_emscripten_glDrawBuffersEXT,emscripten_glDrawBuffersWEBGL:_emscripten_glDrawBuffersWEBGL,emscripten_glDrawElements:_emscripten_glDrawElements,emscripten_glDrawElementsInstanced:_emscripten_glDrawElementsInstanced,emscripten_glDrawElementsInstancedANGLE:_emscripten_glDrawElementsInstancedANGLE,emscripten_glDrawElementsInstancedARB:_emscripten_glDrawElementsInstancedARB,emscripten_glDrawElementsInstancedEXT:_emscripten_glDrawElementsInstancedEXT,emscripten_glDrawElementsInstancedNV:_emscripten_glDrawElementsInstancedNV,emscripten_glEnable:_emscripten_glEnable,emscripten_glEnableVertexAttribArray:_emscripten_glEnableVertexAttribArray,emscripten_glEndQueryEXT:_emscripten_glEndQueryEXT,emscripten_glFinish:_emscripten_glFinish,emscripten_glFlush:_emscripten_glFlush,emscripten_glFramebufferRenderbuffer:_emscripten_glFramebufferRenderbuffer,emscripten_glFramebufferTexture2D:_emscripten_glFramebufferTexture2D,emscripten_glFrontFace:_emscripten_glFrontFace,emscripten_glGenBuffers:_emscripten_glGenBuffers,emscripten_glGenFramebuffers:_emscripten_glGenFramebuffers,emscripten_glGenQueriesEXT:_emscripten_glGenQueriesEXT,emscripten_glGenRenderbuffers:_emscripten_glGenRenderbuffers,emscripten_glGenTextures:_emscripten_glGenTextures,emscripten_glGenVertexArrays:_emscripten_glGenVertexArrays,emscripten_glGenVertexArraysOES:_emscripten_glGenVertexArraysOES,emscripten_glGenerateMipmap:_emscripten_glGenerateMipmap,emscripten_glGetActiveAttrib:_emscripten_glGetActiveAttrib,emscripten_glGetActiveUniform:_emscripten_glGetActiveUniform,emscripten_glGetAttachedShaders:_emscripten_glGetAttachedShaders,emscripten_glGetAttribLocation:_emscripten_glGetAttribLocation,emscripten_glGetBooleanv:_emscripten_glGetBooleanv,emscripten_glGetBufferParameteriv:_emscripten_glGetBufferParameteriv,emscripten_glGetError:_emscripten_glGetError,emscripten_glGetFloatv:_emscripten_glGetFloatv,emscripten_glGetFramebufferAttachmentParameteriv:_emscripten_glGetFramebufferAttachmentParameteriv,emscripten_glGetIntegerv:_emscripten_glGetIntegerv,emscripten_glGetProgramInfoLog:_emscripten_glGetProgramInfoLog,emscripten_glGetProgramiv:_emscripten_glGetProgramiv,emscripten_glGetQueryObjecti64vEXT:_emscripten_glGetQueryObjecti64vEXT,emscripten_glGetQueryObjectivEXT:_emscripten_glGetQueryObjectivEXT,emscripten_glGetQueryObjectui64vEXT:_emscripten_glGetQueryObjectui64vEXT,emscripten_glGetQueryObjectuivEXT:_emscripten_glGetQueryObjectuivEXT,emscripten_glGetQueryivEXT:_emscripten_glGetQueryivEXT,emscripten_glGetRenderbufferParameteriv:_emscripten_glGetRenderbufferParameteriv,emscripten_glGetShaderInfoLog:_emscripten_glGetShaderInfoLog,emscripten_glGetShaderPrecisionFormat:_emscripten_glGetShaderPrecisionFormat,emscripten_glGetShaderSource:_emscripten_glGetShaderSource,emscripten_glGetShaderiv:_emscripten_glGetShaderiv,emscripten_glGetString:_emscripten_glGetString,emscripten_glGetTexParameterfv:_emscripten_glGetTexParameterfv,emscripten_glGetTexParameteriv:_emscripten_glGetTexParameteriv,emscripten_glGetUniformLocation:_emscripten_glGetUniformLocation,emscripten_glGetUniformfv:_emscripten_glGetUniformfv,emscripten_glGetUniformiv:_emscripten_glGetUniformiv,emscripten_glGetVertexAttribPointerv:_emscripten_glGetVertexAttribPointerv,emscripten_glGetVertexAttribfv:_emscripten_glGetVertexAttribfv,emscripten_glGetVertexAttribiv:_emscripten_glGetVertexAttribiv,emscripten_glHint:_emscripten_glHint,emscripten_glIsBuffer:_emscripten_glIsBuffer,emscripten_glIsEnabled:_emscripten_glIsEnabled,emscripten_glIsFramebuffer:_emscripten_glIsFramebuffer,emscripten_glIsProgram:_emscripten_glIsProgram,emscripten_glIsQueryEXT:_emscripten_glIsQueryEXT,emscripten_glIsRenderbuffer:_emscripten_glIsRenderbuffer,emscripten_glIsShader:_emscripten_glIsShader,emscripten_glIsTexture:_emscripten_glIsTexture,emscripten_glIsVertexArray:_emscripten_glIsVertexArray,emscripten_glIsVertexArrayOES:_emscripten_glIsVertexArrayOES,emscripten_glLineWidth:_emscripten_glLineWidth,emscripten_glLinkProgram:_emscripten_glLinkProgram,emscripten_glLoadIdentity:_emscripten_glLoadIdentity,emscripten_glMatrixMode:_emscripten_glMatrixMode,emscripten_glMultiDrawArrays:_emscripten_glMultiDrawArrays,emscripten_glMultiDrawArraysANGLE:_emscripten_glMultiDrawArraysANGLE,emscripten_glMultiDrawArraysInstancedANGLE:_emscripten_glMultiDrawArraysInstancedANGLE,emscripten_glMultiDrawArraysInstancedWEBGL:_emscripten_glMultiDrawArraysInstancedWEBGL,emscripten_glMultiDrawArraysWEBGL:_emscripten_glMultiDrawArraysWEBGL,emscripten_glMultiDrawElements:_emscripten_glMultiDrawElements,emscripten_glMultiDrawElementsANGLE:_emscripten_glMultiDrawElementsANGLE,emscripten_glMultiDrawElementsInstancedANGLE:_emscripten_glMultiDrawElementsInstancedANGLE,emscripten_glMultiDrawElementsInstancedWEBGL:_emscripten_glMultiDrawElementsInstancedWEBGL,emscripten_glMultiDrawElementsWEBGL:_emscripten_glMultiDrawElementsWEBGL,emscripten_glPixelStorei:_emscripten_glPixelStorei,emscripten_glPolygonModeWEBGL:_emscripten_glPolygonModeWEBGL,emscripten_glPolygonOffset:_emscripten_glPolygonOffset,emscripten_glPolygonOffsetClampEXT:_emscripten_glPolygonOffsetClampEXT,emscripten_glQueryCounterEXT:_emscripten_glQueryCounterEXT,emscripten_glReadPixels:_emscripten_glReadPixels,emscripten_glReleaseShaderCompiler:_emscripten_glReleaseShaderCompiler,emscripten_glRenderbufferStorage:_emscripten_glRenderbufferStorage,emscripten_glSampleCoverage:_emscripten_glSampleCoverage,emscripten_glScissor:_emscripten_glScissor,emscripten_glShaderBinary:_emscripten_glShaderBinary,emscripten_glShaderSource:_emscripten_glShaderSource,emscripten_glStencilFunc:_emscripten_glStencilFunc,emscripten_glStencilFuncSeparate:_emscripten_glStencilFuncSeparate,emscripten_glStencilMask:_emscripten_glStencilMask,emscripten_glStencilMaskSeparate:_emscripten_glStencilMaskSeparate,emscripten_glStencilOp:_emscripten_glStencilOp,emscripten_glStencilOpSeparate:_emscripten_glStencilOpSeparate,emscripten_glTexImage2D:_emscripten_glTexImage2D,emscripten_glTexParameterf:_emscripten_glTexParameterf,emscripten_glTexParameterfv:_emscripten_glTexParameterfv,emscripten_glTexParameteri:_emscripten_glTexParameteri,emscripten_glTexParameteriv:_emscripten_glTexParameteriv,emscripten_glTexSubImage2D:_emscripten_glTexSubImage2D,emscripten_glUniform1f:_emscripten_glUniform1f,emscripten_glUniform1fv:_emscripten_glUniform1fv,emscripten_glUniform1i:_emscripten_glUniform1i,emscripten_glUniform1iv:_emscripten_glUniform1iv,emscripten_glUniform2f:_emscripten_glUniform2f,emscripten_glUniform2fv:_emscripten_glUniform2fv,emscripten_glUniform2i:_emscripten_glUniform2i,emscripten_glUniform2iv:_emscripten_glUniform2iv,emscripten_glUniform3f:_emscripten_glUniform3f,emscripten_glUniform3fv:_emscripten_glUniform3fv,emscripten_glUniform3i:_emscripten_glUniform3i,emscripten_glUniform3iv:_emscripten_glUniform3iv,emscripten_glUniform4f:_emscripten_glUniform4f,emscripten_glUniform4fv:_emscripten_glUniform4fv,emscripten_glUniform4i:_emscripten_glUniform4i,emscripten_glUniform4iv:_emscripten_glUniform4iv,emscripten_glUniformMatrix2fv:_emscripten_glUniformMatrix2fv,emscripten_glUniformMatrix3fv:_emscripten_glUniformMatrix3fv,emscripten_glUniformMatrix4fv:_emscripten_glUniformMatrix4fv,emscripten_glUseProgram:_emscripten_glUseProgram,emscripten_glValidateProgram:_emscripten_glValidateProgram,emscripten_glVertexAttrib1f:_emscripten_glVertexAttrib1f,emscripten_glVertexAttrib1fv:_emscripten_glVertexAttrib1fv,emscripten_glVertexAttrib2f:_emscripten_glVertexAttrib2f,emscripten_glVertexAttrib2fv:_emscripten_glVertexAttrib2fv,emscripten_glVertexAttrib3f:_emscripten_glVertexAttrib3f,emscripten_glVertexAttrib3fv:_emscripten_glVertexAttrib3fv,emscripten_glVertexAttrib4f:_emscripten_glVertexAttrib4f,emscripten_glVertexAttrib4fv:_emscripten_glVertexAttrib4fv,emscripten_glVertexAttribDivisor:_emscripten_glVertexAttribDivisor,emscripten_glVertexAttribDivisorANGLE:_emscripten_glVertexAttribDivisorANGLE,emscripten_glVertexAttribDivisorARB:_emscripten_glVertexAttribDivisorARB,emscripten_glVertexAttribDivisorEXT:_emscripten_glVertexAttribDivisorEXT,emscripten_glVertexAttribDivisorNV:_emscripten_glVertexAttribDivisorNV,emscripten_glVertexAttribPointer:_emscripten_glVertexAttribPointer,emscripten_glVertexPointer:_emscripten_glVertexPointer,emscripten_glViewport:_emscripten_glViewport,emscripten_has_asyncify:_emscripten_has_asyncify,emscripten_hide_mouse:_emscripten_hide_mouse,emscripten_html5_remove_all_event_listeners:_emscripten_html5_remove_all_event_listeners,emscripten_html5_remove_event_listener:_emscripten_html5_remove_event_listener,emscripten_idb_async_clear:_emscripten_idb_async_clear,emscripten_idb_async_delete:_emscripten_idb_async_delete,emscripten_idb_async_exists:_emscripten_idb_async_exists,emscripten_idb_async_load:_emscripten_idb_async_load,emscripten_idb_async_store:_emscripten_idb_async_store,emscripten_idb_clear:_emscripten_idb_clear,emscripten_idb_delete:_emscripten_idb_delete,emscripten_idb_exists:_emscripten_idb_exists,emscripten_idb_load:_emscripten_idb_load,emscripten_idb_store:_emscripten_idb_store,emscripten_is_main_browser_thread:_emscripten_is_main_browser_thread,emscripten_is_webgl_context_lost:_emscripten_is_webgl_context_lost,emscripten_lock_orientation:_emscripten_lock_orientation,emscripten_math_acos:_emscripten_math_acos,emscripten_math_acosh:_emscripten_math_acosh,emscripten_math_asin:_emscripten_math_asin,emscripten_math_asinh:_emscripten_math_asinh,emscripten_math_atan:_emscripten_math_atan,emscripten_math_atan2:_emscripten_math_atan2,emscripten_math_atanh:_emscripten_math_atanh,emscripten_math_cbrt:_emscripten_math_cbrt,emscripten_math_cos:_emscripten_math_cos,emscripten_math_cosh:_emscripten_math_cosh,emscripten_math_exp:_emscripten_math_exp,emscripten_math_expm1:_emscripten_math_expm1,emscripten_math_fmod:_emscripten_math_fmod,emscripten_math_hypot:_emscripten_math_hypot,emscripten_math_log:_emscripten_math_log,emscripten_math_log10:_emscripten_math_log10,emscripten_math_log1p:_emscripten_math_log1p,emscripten_math_log2:_emscripten_math_log2,emscripten_math_pow:_emscripten_math_pow,emscripten_math_random:_emscripten_math_random,emscripten_math_round:_emscripten_math_round,emscripten_math_sign:_emscripten_math_sign,emscripten_math_sin:_emscripten_math_sin,emscripten_math_sinh:_emscripten_math_sinh,emscripten_math_sqrt:_emscripten_math_sqrt,emscripten_math_tan:_emscripten_math_tan,emscripten_math_tanh:_emscripten_math_tanh,emscripten_notify_memory_growth:_emscripten_notify_memory_growth,emscripten_out:_emscripten_out,emscripten_outn:_emscripten_outn,emscripten_pause_main_loop:_emscripten_pause_main_loop,emscripten_pc_get_column:_emscripten_pc_get_column,emscripten_pc_get_file:_emscripten_pc_get_file,emscripten_pc_get_function:_emscripten_pc_get_function,emscripten_pc_get_line:_emscripten_pc_get_line,emscripten_performance_now:_emscripten_performance_now,emscripten_print_double:_emscripten_print_double,emscripten_promise_all:_emscripten_promise_all,emscripten_promise_all_settled:_emscripten_promise_all_settled,emscripten_promise_any:_emscripten_promise_any,emscripten_promise_await:_emscripten_promise_await,emscripten_promise_await_unchecked:_emscripten_promise_await_unchecked,emscripten_promise_create:_emscripten_promise_create,emscripten_promise_destroy:_emscripten_promise_destroy,emscripten_promise_race:_emscripten_promise_race,emscripten_promise_resolve:_emscripten_promise_resolve,emscripten_promise_then:_emscripten_promise_then,emscripten_random:_emscripten_random,emscripten_request_animation_frame:_emscripten_request_animation_frame,emscripten_request_animation_frame_loop:_emscripten_request_animation_frame_loop,emscripten_request_fullscreen:_emscripten_request_fullscreen,emscripten_request_fullscreen_strategy:_emscripten_request_fullscreen_strategy,emscripten_request_pointerlock:_emscripten_request_pointerlock,emscripten_resize_heap:_emscripten_resize_heap,emscripten_resume_main_loop:_emscripten_resume_main_loop,emscripten_return_address:_emscripten_return_address,emscripten_run_preload_plugins:_emscripten_run_preload_plugins,emscripten_run_preload_plugins_data:_emscripten_run_preload_plugins_data,emscripten_run_script:_emscripten_run_script,emscripten_run_script_int:_emscripten_run_script_int,emscripten_run_script_string:_emscripten_run_script_string,emscripten_runtime_keepalive_check:_emscripten_runtime_keepalive_check,emscripten_runtime_keepalive_pop:_emscripten_runtime_keepalive_pop,emscripten_runtime_keepalive_push:_emscripten_runtime_keepalive_push,emscripten_sample_gamepad_data:_emscripten_sample_gamepad_data,emscripten_scan_registers:_emscripten_scan_registers,emscripten_set_batterychargingchange_callback_on_thread:_emscripten_set_batterychargingchange_callback_on_thread,emscripten_set_batterylevelchange_callback_on_thread:_emscripten_set_batterylevelchange_callback_on_thread,emscripten_set_beforeunload_callback_on_thread:_emscripten_set_beforeunload_callback_on_thread,emscripten_set_blur_callback_on_thread:_emscripten_set_blur_callback_on_thread,emscripten_set_canvas_element_size:_emscripten_set_canvas_element_size,emscripten_set_canvas_size:_emscripten_set_canvas_size,emscripten_set_click_callback_on_thread:_emscripten_set_click_callback_on_thread,emscripten_set_contextmenu_callback_on_thread:_emscripten_set_contextmenu_callback_on_thread,emscripten_set_dblclick_callback_on_thread:_emscripten_set_dblclick_callback_on_thread,emscripten_set_devicemotion_callback_on_thread:_emscripten_set_devicemotion_callback_on_thread,emscripten_set_deviceorientation_callback_on_thread:_emscripten_set_deviceorientation_callback_on_thread,emscripten_set_element_css_size:_emscripten_set_element_css_size,emscripten_set_focus_callback_on_thread:_emscripten_set_focus_callback_on_thread,emscripten_set_focusin_callback_on_thread:_emscripten_set_focusin_callback_on_thread,emscripten_set_focusout_callback_on_thread:_emscripten_set_focusout_callback_on_thread,emscripten_set_fullscreenchange_callback_on_thread:_emscripten_set_fullscreenchange_callback_on_thread,emscripten_set_gamepadconnected_callback_on_thread:_emscripten_set_gamepadconnected_callback_on_thread,emscripten_set_gamepaddisconnected_callback_on_thread:_emscripten_set_gamepaddisconnected_callback_on_thread,emscripten_set_immediate:_emscripten_set_immediate,emscripten_set_immediate_loop:_emscripten_set_immediate_loop,emscripten_set_interval:_emscripten_set_interval,emscripten_set_keydown_callback_on_thread:_emscripten_set_keydown_callback_on_thread,emscripten_set_keypress_callback_on_thread:_emscripten_set_keypress_callback_on_thread,emscripten_set_keyup_callback_on_thread:_emscripten_set_keyup_callback_on_thread,emscripten_set_main_loop:_emscripten_set_main_loop,emscripten_set_main_loop_arg:_emscripten_set_main_loop_arg,emscripten_set_main_loop_expected_blockers:_emscripten_set_main_loop_expected_blockers,emscripten_set_main_loop_timing:_emscripten_set_main_loop_timing,emscripten_set_mousedown_callback_on_thread:_emscripten_set_mousedown_callback_on_thread,emscripten_set_mouseenter_callback_on_thread:_emscripten_set_mouseenter_callback_on_thread,emscripten_set_mouseleave_callback_on_thread:_emscripten_set_mouseleave_callback_on_thread,emscripten_set_mousemove_callback_on_thread:_emscripten_set_mousemove_callback_on_thread,emscripten_set_mouseout_callback_on_thread:_emscripten_set_mouseout_callback_on_thread,emscripten_set_mouseover_callback_on_thread:_emscripten_set_mouseover_callback_on_thread,emscripten_set_mouseup_callback_on_thread:_emscripten_set_mouseup_callback_on_thread,emscripten_set_orientationchange_callback_on_thread:_emscripten_set_orientationchange_callback_on_thread,emscripten_set_pointerlockchange_callback_on_thread:_emscripten_set_pointerlockchange_callback_on_thread,emscripten_set_pointerlockerror_callback_on_thread:_emscripten_set_pointerlockerror_callback_on_thread,emscripten_set_resize_callback_on_thread:_emscripten_set_resize_callback_on_thread,emscripten_set_scroll_callback_on_thread:_emscripten_set_scroll_callback_on_thread,emscripten_set_socket_close_callback:_emscripten_set_socket_close_callback,emscripten_set_socket_connection_callback:_emscripten_set_socket_connection_callback,emscripten_set_socket_error_callback:_emscripten_set_socket_error_callback,emscripten_set_socket_listen_callback:_emscripten_set_socket_listen_callback,emscripten_set_socket_message_callback:_emscripten_set_socket_message_callback,emscripten_set_socket_open_callback:_emscripten_set_socket_open_callback,emscripten_set_timeout:_emscripten_set_timeout,emscripten_set_timeout_loop:_emscripten_set_timeout_loop,emscripten_set_touchcancel_callback_on_thread:_emscripten_set_touchcancel_callback_on_thread,emscripten_set_touchend_callback_on_thread:_emscripten_set_touchend_callback_on_thread,emscripten_set_touchmove_callback_on_thread:_emscripten_set_touchmove_callback_on_thread,emscripten_set_touchstart_callback_on_thread:_emscripten_set_touchstart_callback_on_thread,emscripten_set_visibilitychange_callback_on_thread:_emscripten_set_visibilitychange_callback_on_thread,emscripten_set_webglcontextlost_callback_on_thread:_emscripten_set_webglcontextlost_callback_on_thread,emscripten_set_webglcontextrestored_callback_on_thread:_emscripten_set_webglcontextrestored_callback_on_thread,emscripten_set_wheel_callback_on_thread:_emscripten_set_wheel_callback_on_thread,emscripten_set_window_title:_emscripten_set_window_title,emscripten_sleep:_emscripten_sleep,emscripten_stack_snapshot:_emscripten_stack_snapshot,emscripten_stack_unwind_buffer:_emscripten_stack_unwind_buffer,emscripten_supports_offscreencanvas:_emscripten_supports_offscreencanvas,emscripten_throw_number:_emscripten_throw_number,emscripten_throw_string:_emscripten_throw_string,emscripten_unlock_orientation:_emscripten_unlock_orientation,emscripten_unwind_to_js_event_loop:_emscripten_unwind_to_js_event_loop,emscripten_vibrate:_emscripten_vibrate,emscripten_vibrate_pattern:_emscripten_vibrate_pattern,emscripten_webgl_commit_frame:_emscripten_webgl_commit_frame,emscripten_webgl_create_context:_emscripten_webgl_create_context,emscripten_webgl_destroy_context:_emscripten_webgl_destroy_context,emscripten_webgl_do_commit_frame:_emscripten_webgl_do_commit_frame,emscripten_webgl_do_create_context:_emscripten_webgl_do_create_context,emscripten_webgl_do_destroy_context:_emscripten_webgl_do_destroy_context,emscripten_webgl_do_get_current_context:_emscripten_webgl_do_get_current_context,emscripten_webgl_enable_ANGLE_instanced_arrays:_emscripten_webgl_enable_ANGLE_instanced_arrays,emscripten_webgl_enable_EXT_clip_control:_emscripten_webgl_enable_EXT_clip_control,emscripten_webgl_enable_EXT_polygon_offset_clamp:_emscripten_webgl_enable_EXT_polygon_offset_clamp,emscripten_webgl_enable_OES_vertex_array_object:_emscripten_webgl_enable_OES_vertex_array_object,emscripten_webgl_enable_WEBGL_draw_buffers:_emscripten_webgl_enable_WEBGL_draw_buffers,emscripten_webgl_enable_WEBGL_multi_draw:_emscripten_webgl_enable_WEBGL_multi_draw,emscripten_webgl_enable_WEBGL_polygon_mode:_emscripten_webgl_enable_WEBGL_polygon_mode,emscripten_webgl_enable_extension:_emscripten_webgl_enable_extension,emscripten_webgl_get_context_attributes:_emscripten_webgl_get_context_attributes,emscripten_webgl_get_current_context:_emscripten_webgl_get_current_context,emscripten_webgl_get_drawing_buffer_size:_emscripten_webgl_get_drawing_buffer_size,emscripten_webgl_get_parameter_d:_emscripten_webgl_get_parameter_d,emscripten_webgl_get_parameter_i64v:_emscripten_webgl_get_parameter_i64v,emscripten_webgl_get_parameter_o:_emscripten_webgl_get_parameter_o,emscripten_webgl_get_parameter_utf8:_emscripten_webgl_get_parameter_utf8,emscripten_webgl_get_parameter_v:_emscripten_webgl_get_parameter_v,emscripten_webgl_get_program_info_log_utf8:_emscripten_webgl_get_program_info_log_utf8,emscripten_webgl_get_program_parameter_d:_emscripten_webgl_get_program_parameter_d,emscripten_webgl_get_shader_info_log_utf8:_emscripten_webgl_get_shader_info_log_utf8,emscripten_webgl_get_shader_parameter_d:_emscripten_webgl_get_shader_parameter_d,emscripten_webgl_get_shader_source_utf8:_emscripten_webgl_get_shader_source_utf8,emscripten_webgl_get_supported_extensions:_emscripten_webgl_get_supported_extensions,emscripten_webgl_get_uniform_d:_emscripten_webgl_get_uniform_d,emscripten_webgl_get_uniform_v:_emscripten_webgl_get_uniform_v,emscripten_webgl_get_vertex_attrib_d:_emscripten_webgl_get_vertex_attrib_d,emscripten_webgl_get_vertex_attrib_o:_emscripten_webgl_get_vertex_attrib_o,emscripten_webgl_get_vertex_attrib_v:_emscripten_webgl_get_vertex_attrib_v,emscripten_webgl_make_context_current:_emscripten_webgl_make_context_current,emscripten_wget_data:_emscripten_wget_data,endprotoent:_endprotoent,environ_get:_environ_get,environ_sizes_get:_environ_sizes_get,exit:_exit,fd_close:_fd_close,fd_fdstat_get:_fd_fdstat_get,fd_pread:_fd_pread,fd_pwrite:_fd_pwrite,fd_read:_fd_read,fd_seek:_fd_seek,fd_sync:_fd_sync,fd_write:_fd_write,filledEllipseColor:_filledEllipseColor,filledEllipseRGBA:_filledEllipseRGBA,getaddrinfo:_getaddrinfo,getnameinfo:_getnameinfo,getprotobyname:_getprotobyname,getprotobynumber:_getprotobynumber,getprotoent:_getprotoent,glActiveTexture:_glActiveTexture,glAttachShader:_glAttachShader,glBegin:_glBegin,glBeginQueryEXT:_glBeginQueryEXT,glBindAttribLocation:_glBindAttribLocation,glBindBuffer:_glBindBuffer,glBindFramebuffer:_glBindFramebuffer,glBindRenderbuffer:_glBindRenderbuffer,glBindTexture:_glBindTexture,glBindVertexArray:_glBindVertexArray,glBindVertexArrayOES:_glBindVertexArrayOES,glBlendColor:_glBlendColor,glBlendEquation:_glBlendEquation,glBlendEquationSeparate:_glBlendEquationSeparate,glBlendFunc:_glBlendFunc,glBlendFuncSeparate:_glBlendFuncSeparate,glBufferData:_glBufferData,glBufferSubData:_glBufferSubData,glCheckFramebufferStatus:_glCheckFramebufferStatus,glClear:_glClear,glClearColor:_glClearColor,glClearDepth:_glClearDepth,glClearDepthf:_glClearDepthf,glClearStencil:_glClearStencil,glClipControlEXT:_glClipControlEXT,glColorMask:_glColorMask,glCompileShader:_glCompileShader,glCompressedTexImage2D:_glCompressedTexImage2D,glCompressedTexSubImage2D:_glCompressedTexSubImage2D,glCopyTexImage2D:_glCopyTexImage2D,glCopyTexSubImage2D:_glCopyTexSubImage2D,glCreateProgram:_glCreateProgram,glCreateShader:_glCreateShader,glCullFace:_glCullFace,glDeleteBuffers:_glDeleteBuffers,glDeleteFramebuffers:_glDeleteFramebuffers,glDeleteProgram:_glDeleteProgram,glDeleteQueriesEXT:_glDeleteQueriesEXT,glDeleteRenderbuffers:_glDeleteRenderbuffers,glDeleteShader:_glDeleteShader,glDeleteTextures:_glDeleteTextures,glDeleteVertexArrays:_glDeleteVertexArrays,glDeleteVertexArraysOES:_glDeleteVertexArraysOES,glDepthFunc:_glDepthFunc,glDepthMask:_glDepthMask,glDepthRange:_glDepthRange,glDepthRangef:_glDepthRangef,glDetachShader:_glDetachShader,glDisable:_glDisable,glDisableVertexAttribArray:_glDisableVertexAttribArray,glDrawArrays:_glDrawArrays,glDrawArraysInstanced:_glDrawArraysInstanced,glDrawArraysInstancedANGLE:_glDrawArraysInstancedANGLE,glDrawArraysInstancedARB:_glDrawArraysInstancedARB,glDrawArraysInstancedEXT:_glDrawArraysInstancedEXT,glDrawArraysInstancedNV:_glDrawArraysInstancedNV,glDrawBuffers:_glDrawBuffers,glDrawBuffersEXT:_glDrawBuffersEXT,glDrawBuffersWEBGL:_glDrawBuffersWEBGL,glDrawElements:_glDrawElements,glDrawElementsInstanced:_glDrawElementsInstanced,glDrawElementsInstancedANGLE:_glDrawElementsInstancedANGLE,glDrawElementsInstancedARB:_glDrawElementsInstancedARB,glDrawElementsInstancedEXT:_glDrawElementsInstancedEXT,glDrawElementsInstancedNV:_glDrawElementsInstancedNV,glEnable:_glEnable,glEnableVertexAttribArray:_glEnableVertexAttribArray,glEndQueryEXT:_glEndQueryEXT,glFinish:_glFinish,glFlush:_glFlush,glFramebufferRenderbuffer:_glFramebufferRenderbuffer,glFramebufferTexture2D:_glFramebufferTexture2D,glFrontFace:_glFrontFace,glGenBuffers:_glGenBuffers,glGenFramebuffers:_glGenFramebuffers,glGenQueriesEXT:_glGenQueriesEXT,glGenRenderbuffers:_glGenRenderbuffers,glGenTextures:_glGenTextures,glGenVertexArrays:_glGenVertexArrays,glGenVertexArraysOES:_glGenVertexArraysOES,glGenerateMipmap:_glGenerateMipmap,glGetActiveAttrib:_glGetActiveAttrib,glGetActiveUniform:_glGetActiveUniform,glGetAttachedShaders:_glGetAttachedShaders,glGetAttribLocation:_glGetAttribLocation,glGetBooleanv:_glGetBooleanv,glGetBufferParameteriv:_glGetBufferParameteriv,glGetError:_glGetError,glGetFloatv:_glGetFloatv,glGetFramebufferAttachmentParameteriv:_glGetFramebufferAttachmentParameteriv,glGetIntegerv:_glGetIntegerv,glGetProgramInfoLog:_glGetProgramInfoLog,glGetProgramiv:_glGetProgramiv,glGetQueryObjecti64vEXT:_glGetQueryObjecti64vEXT,glGetQueryObjectivEXT:_glGetQueryObjectivEXT,glGetQueryObjectui64vEXT:_glGetQueryObjectui64vEXT,glGetQueryObjectuivEXT:_glGetQueryObjectuivEXT,glGetQueryivEXT:_glGetQueryivEXT,glGetRenderbufferParameteriv:_glGetRenderbufferParameteriv,glGetShaderInfoLog:_glGetShaderInfoLog,glGetShaderPrecisionFormat:_glGetShaderPrecisionFormat,glGetShaderSource:_glGetShaderSource,glGetShaderiv:_glGetShaderiv,glGetString:_glGetString,glGetTexParameterfv:_glGetTexParameterfv,glGetTexParameteriv:_glGetTexParameteriv,glGetUniformLocation:_glGetUniformLocation,glGetUniformfv:_glGetUniformfv,glGetUniformiv:_glGetUniformiv,glGetVertexAttribPointerv:_glGetVertexAttribPointerv,glGetVertexAttribfv:_glGetVertexAttribfv,glGetVertexAttribiv:_glGetVertexAttribiv,glHint:_glHint,glIsBuffer:_glIsBuffer,glIsEnabled:_glIsEnabled,glIsFramebuffer:_glIsFramebuffer,glIsProgram:_glIsProgram,glIsQueryEXT:_glIsQueryEXT,glIsRenderbuffer:_glIsRenderbuffer,glIsShader:_glIsShader,glIsTexture:_glIsTexture,glIsVertexArray:_glIsVertexArray,glIsVertexArrayOES:_glIsVertexArrayOES,glLineWidth:_glLineWidth,glLinkProgram:_glLinkProgram,glLoadIdentity:_glLoadIdentity,glMatrixMode:_glMatrixMode,glMultiDrawArrays:_glMultiDrawArrays,glMultiDrawArraysANGLE:_glMultiDrawArraysANGLE,glMultiDrawArraysInstancedANGLE:_glMultiDrawArraysInstancedANGLE,glMultiDrawArraysInstancedWEBGL:_glMultiDrawArraysInstancedWEBGL,glMultiDrawArraysWEBGL:_glMultiDrawArraysWEBGL,glMultiDrawElements:_glMultiDrawElements,glMultiDrawElementsANGLE:_glMultiDrawElementsANGLE,glMultiDrawElementsInstancedANGLE:_glMultiDrawElementsInstancedANGLE,glMultiDrawElementsInstancedWEBGL:_glMultiDrawElementsInstancedWEBGL,glMultiDrawElementsWEBGL:_glMultiDrawElementsWEBGL,glPixelStorei:_glPixelStorei,glPolygonModeWEBGL:_glPolygonModeWEBGL,glPolygonOffset:_glPolygonOffset,glPolygonOffsetClampEXT:_glPolygonOffsetClampEXT,glQueryCounterEXT:_glQueryCounterEXT,glReadPixels:_glReadPixels,glReleaseShaderCompiler:_glReleaseShaderCompiler,glRenderbufferStorage:_glRenderbufferStorage,glSampleCoverage:_glSampleCoverage,glScissor:_glScissor,glShaderBinary:_glShaderBinary,glShaderSource:_glShaderSource,glStencilFunc:_glStencilFunc,glStencilFuncSeparate:_glStencilFuncSeparate,glStencilMask:_glStencilMask,glStencilMaskSeparate:_glStencilMaskSeparate,glStencilOp:_glStencilOp,glStencilOpSeparate:_glStencilOpSeparate,glTexImage2D:_glTexImage2D,glTexParameterf:_glTexParameterf,glTexParameterfv:_glTexParameterfv,glTexParameteri:_glTexParameteri,glTexParameteriv:_glTexParameteriv,glTexSubImage2D:_glTexSubImage2D,glUniform1f:_glUniform1f,glUniform1fv:_glUniform1fv,glUniform1i:_glUniform1i,glUniform1iv:_glUniform1iv,glUniform2f:_glUniform2f,glUniform2fv:_glUniform2fv,glUniform2i:_glUniform2i,glUniform2iv:_glUniform2iv,glUniform3f:_glUniform3f,glUniform3fv:_glUniform3fv,glUniform3i:_glUniform3i,glUniform3iv:_glUniform3iv,glUniform4f:_glUniform4f,glUniform4fv:_glUniform4fv,glUniform4i:_glUniform4i,glUniform4iv:_glUniform4iv,glUniformMatrix2fv:_glUniformMatrix2fv,glUniformMatrix3fv:_glUniformMatrix3fv,glUniformMatrix4fv:_glUniformMatrix4fv,glUseProgram:_glUseProgram,glValidateProgram:_glValidateProgram,glVertexAttrib1f:_glVertexAttrib1f,glVertexAttrib1fv:_glVertexAttrib1fv,glVertexAttrib2f:_glVertexAttrib2f,glVertexAttrib2fv:_glVertexAttrib2fv,glVertexAttrib3f:_glVertexAttrib3f,glVertexAttrib3fv:_glVertexAttrib3fv,glVertexAttrib4f:_glVertexAttrib4f,glVertexAttrib4fv:_glVertexAttrib4fv,glVertexAttribDivisor:_glVertexAttribDivisor,glVertexAttribDivisorANGLE:_glVertexAttribDivisorANGLE,glVertexAttribDivisorARB:_glVertexAttribDivisorARB,glVertexAttribDivisorEXT:_glVertexAttribDivisorEXT,glVertexAttribDivisorNV:_glVertexAttribDivisorNV,glVertexAttribPointer:_glVertexAttribPointer,glVertexPointer:_glVertexPointer,glViewport:_glViewport,glewGetErrorString:_glewGetErrorString,glewGetExtension:_glewGetExtension,glewGetString:_glewGetString,glewInit:_glewInit,glewIsSupported:_glewIsSupported,glutCreateWindow:_glutCreateWindow,glutDestroyWindow:_glutDestroyWindow,glutDisplayFunc:_glutDisplayFunc,glutFullScreen:_glutFullScreen,glutGet:_glutGet,glutGetModifiers:_glutGetModifiers,glutIdleFunc:_glutIdleFunc,glutInit:_glutInit,glutInitDisplayMode:_glutInitDisplayMode,glutInitWindowPosition:_glutInitWindowPosition,glutInitWindowSize:_glutInitWindowSize,glutKeyboardFunc:_glutKeyboardFunc,glutKeyboardUpFunc:_glutKeyboardUpFunc,glutMainLoop:_glutMainLoop,glutMotionFunc:_glutMotionFunc,glutMouseFunc:_glutMouseFunc,glutPassiveMotionFunc:_glutPassiveMotionFunc,glutPositionWindow:_glutPositionWindow,glutPostRedisplay:_glutPostRedisplay,glutReshapeFunc:_glutReshapeFunc,glutReshapeWindow:_glutReshapeWindow,glutSetCursor:_glutSetCursor,glutSpecialFunc:_glutSpecialFunc,glutSpecialUpFunc:_glutSpecialUpFunc,glutSwapBuffers:_glutSwapBuffers,glutTimerFunc:_glutTimerFunc,haybarn_block_for,lineColor:_lineColor,lineRGBA:_lineRGBA,pixelRGBA:_pixelRGBA,proc_exit:_proc_exit,random_get:_random_get,rectangleColor:_rectangleColor,rectangleRGBA:_rectangleRGBA,rotozoomSurface:_rotozoomSurface,setNetworkCallback:_setNetworkCallback,setprotoent:_setprotoent,stackAlloc:_stackAlloc,stackRestore:_stackRestore,stackSave:_stackSave,strptime:_strptime,strptime_l:_strptime_l,uuid_clear:_uuid_clear,uuid_compare:_uuid_compare,uuid_copy:_uuid_copy,uuid_generate:_uuid_generate,uuid_is_null:_uuid_is_null,uuid_parse:_uuid_parse,uuid_type:_uuid_type,uuid_unparse:_uuid_unparse,uuid_unparse_lower:_uuid_unparse_lower,uuid_unparse_upper:_uuid_unparse_upper,uuid_variant:_uuid_variant,vgi_wasm_ensure_worker_js:_vgi_wasm_ensure_worker_js,vgi_wasm_set_channel:_vgi_wasm_set_channel,vgi_wasm_slot_open:_vgi_wasm_slot_open,vgi_wasm_slot_read:_vgi_wasm_slot_read,vgi_wasm_slot_release:_vgi_wasm_slot_release,vgi_wasm_slot_terminal_error:_vgi_wasm_slot_terminal_error,vgi_wasm_slot_write:_vgi_wasm_slot_write,vgi_wasm_slot_write_eos:_vgi_wasm_slot_write_eos,zoomSurface:_zoomSurface},__hbMainExports=null,__hbLazy=null,__hbGOTGet=GOTHandler.get,__hbUpdateGOT=updateGOT,__hbMerge=mergeLibSymbols;function __hbGOTFromMain(e){if(__hbMainExports&&!GOT[e]&&typeof e=="string"&&e in __hbMainExports&&!isInternalSym(e)){var t={};t[e]=__hbMainExports[e],__hbUpdateGOT(t)}}GOTHandler.get=function(e,t){return __hbGOTFromMain(t),__hbGOTGet.call(this,e,t)},updateGOT=(e,t)=>{if(__hbMainExports){if(e===__hbMainExports&&!t){for(var n in GOT)if(n in e&&!isInternalSym(n)&&GOT[n].value==-1){var o={};o[n]=e[n],__hbUpdateGOT(o)}return}if(!t)for(var n in e)__hbGOTFromMain(n)}return __hbUpdateGOT(e,t)},mergeLibSymbols=(e,t)=>{if(t!=="main"||__hbMainExports)return __hbMerge(e,t);__hbMainExports=e;var n=wasmImports,o=u=>{if(typeof u!="string"||!(u in e))return!1;var d=n[u];return!d||!!d.stub},c={get:(u,d)=>o(d)?e[d]:u[d],has:(u,d)=>d in u||o(d),getOwnPropertyDescriptor:(u,d)=>o(d)?{value:e[d],writable:!0,enumerable:!0,configurable:!0}:Reflect.getOwnPropertyDescriptor(u,d),ownKeys:u=>(__hbMaterialize(),Reflect.ownKeys(u))};__hbLazy={t:n,h:o,H:c},wasmImports=new Proxy(n,c)};function __hbMaterialize(){var e=__hbLazy;if(e){__hbLazy=null;var t=wasmImports,n=e.t,o=__hbMainExports;for(var c in o)e.h(c)&&(n[c]=o[c]);delete e.H.get,delete e.H.has,delete e.H.getOwnPropertyDescriptor,delete e.H.ownKeys,wasmImports=n;for(var u in LDSO.loadedLibsByName){var d=LDSO.loadedLibsByName[u];d.exports===t&&(d.exports=n)}}}function __hbWrapDlsym(){["_dlsym_js","_dlsym_catchup_js"].forEach(e=>{var t=wasmImports[e],n=function(o){if(__hbLazy){var c=LDSO.loadedLibsByHandle[o>>>0];c&&c.exports===wasmImports&&__hbMaterialize()}return t.apply(this,arguments)};n.sig=t.sig,wasmImports[e]=n})}if(wasmImports)__hbWrapDlsym();else{var __hbAssignWasmImports=assignWasmImports;assignWasmImports=function(){__hbAssignWasmImports(),__hbWrapDlsym()}}function __hbOverlay(e){var t={};return new Proxy(t,{get:(n,o)=>o in t?t[o]:e[o],set:(n,o,c)=>(t[o]=c,!0),has:(n,o)=>o in t||o in e,ownKeys:()=>Reflect.ownKeys(e),getOwnPropertyDescriptor:(n,o)=>o in t||o in e?{value:o in t?t[o]:e[o],writable:!0,enumerable:!0,configurable:!0}:void 0})}function applySignatureConversions(e){e=__hbOverlay(e);var t=G=>U=>G(U)>>>0,n=G=>(U,R)=>G(U,R)>>>0,o=G=>(U,R,N)=>G(U,R,N)>>>0,c=G=>(U,R,N,ae)=>G(U,R,N,ae)>>>0,u=G=>()=>G()>>>0,d=G=>(U,R)=>G(U,R)>>>0,p=G=>(U,R,N)=>G(U,R,N)>>>0,h=G=>U=>G(U)>>>0,b=G=>(U,R,N,ae)=>G(U,R,N,ae)>>>0,v=G=>(U,R,N)=>G(U,R,N)>>>0,y=G=>(U,R,N,ae,Be,Ut)=>G(U,R,N,ae,Be,Ut)>>>0,S=G=>(U,R,N)=>G(U,R,N)>>>0,A=G=>(U,R)=>G(U,R)>>>0,E=G=>(U,R,N,ae,Be)=>G(U,R,N,ae,Be)>>>0,L=G=>(U,R,N,ae)=>G(U,R,N,ae)>>>0,w=G=>(U,R,N,ae,Be)=>G(U,R,N,ae,Be)>>>0,T=G=>(U,R,N,ae)=>G(U,R,N,ae)>>>0,F=G=>(U,R)=>G(U,R)>>>0,P=G=>(U,R,N)=>G(U,R,N)>>>0,I=G=>(U,R,N,ae)=>G(U,R,N,ae)>>>0,B=G=>(U,R,N,ae)=>G(U,R,N,ae)>>>0,C=G=>(U,R,N,ae,Be)=>G(U,R,N,ae,Be)>>>0,x=G=>(U,R,N,ae)=>G(U,R,N,ae)>>>0,M=G=>(U,R,N,ae)=>G(U,R,N,ae)>>>0,H=G=>(U,R,N)=>G(U,R,N)>>>0,re=G=>(U,R,N,ae,Be,Ut)=>G(U,R,N,ae,Be,Ut)>>>0,be=G=>U=>G(U)>>>0,se=G=>(U,R,N)=>G(U,R,N)>>>0,Ee=G=>(U,R,N,ae,Be,Ut)=>G(U,R,N,ae,Be,Ut)>>>0;return e.__getTypeName=t(e.__getTypeName),e.strdup=t(e.strdup),e.strlen=t(e.strlen),e.__cxa_allocate_exception=t(e.__cxa_allocate_exception),e.malloc=t(e.malloc),e.realloc=n(e.realloc),e.memchr=o(e.memchr),e.__dynamic_cast=c(e.__dynamic_cast),e.dlsym=n(e.dlsym),e.dlerror=u(e.dlerror),e.fopen=n(e.fopen),e.fread=c(e.fread),e.dlopen=d(e.dlopen),e.strtoul=p(e.strtoul),e.calloc=n(e.calloc),e.wmemchr=o(e.wmemchr),e.localtime_r=n(e.localtime_r),e.getenv=t(e.getenv),e.__errno_location=u(e.__errno_location),e.sysconf=h(e.sysconf),e.getcwd=n(e.getcwd),e.strerror=h(e.strerror),e.pread=b(e.pread),e.read=v(e.read),e.pwrite=b(e.pwrite),e.write=v(e.write),e.opendir=t(e.opendir),e.readdir=t(e.readdir),e.realpath=n(e.realpath),e.mmap=y(e.mmap),e.__cxa_init_primary_exception=S(e.__cxa_init_primary_exception),e.wcslen=t(e.wcslen),e.strtol=p(e.strtol),e.strchr=d(e.strchr),e.strstr=n(e.strstr),e.memset=o(e.memset),e.ftell=t(e.ftell),e.fwrite=c(e.fwrite),e.emscripten_GetProcAddress=t(e.emscripten_GetProcAddress),e.strcpy=n(e.strcpy),e.emscripten_webgl1_get_proc_address=t(e.emscripten_webgl1_get_proc_address),e._webgl1_match_ext_proc_address_without_suffix=t(e._webgl1_match_ext_proc_address_without_suffix),e.emscripten_webgl_get_proc_address=t(e.emscripten_webgl_get_proc_address),e.SDL_GL_GetProcAddress=t(e.SDL_GL_GetProcAddress),e.eglGetProcAddress=t(e.eglGetProcAddress),e.glfwGetProcAddress=t(e.glfwGetProcAddress),e.alcGetProcAddress=n(e.alcGetProcAddress),e.alGetProcAddress=t(e.alGetProcAddress),e.emscripten_proxy_get_system_queue=u(e.emscripten_proxy_get_system_queue),e.emscripten_dom_pk_code_to_string=h(e.emscripten_dom_pk_code_to_string),e.emscripten_dom_vk_to_string=h(e.emscripten_dom_vk_to_string),e.getdate=t(e.getdate),e.getpwnam=t(e.getpwnam),e.getpwuid=h(e.getpwuid),e.getpwent=u(e.getpwent),e.getgrnam=t(e.getgrnam),e.getgrgid=h(e.getgrgid),e.getgrent=u(e.getgrent),e.popen=n(e.popen),e.emscripten_stack_get_end=u(e.emscripten_stack_get_end),e.emscripten_stack_get_base=u(e.emscripten_stack_get_base),e.__ctype_b_loc=u(e.__ctype_b_loc),e.__ctype_get_mb_cur_max=u(e.__ctype_get_mb_cur_max),e.__ctype_tolower_loc=u(e.__ctype_tolower_loc),e.__ctype_toupper_loc=u(e.__ctype_toupper_loc),e.emscripten_builtin_malloc=t(e.emscripten_builtin_malloc),e.fdopen=A(e.fdopen),e.__mo_lookup=S(e.__mo_lookup),e.__get_tp=u(e.__get_tp),e.memcpy=S(e.memcpy),e.a64l=t(e.a64l),e.l64a=t(e.l64a),e.aligned_alloc=n(e.aligned_alloc),e.asctime=t(e.asctime),e.__nl_langinfo_l=A(e.__nl_langinfo_l),e.asctime_r=n(e.asctime_r),e.__libc_calloc=n(e.__libc_calloc),e.atol=t(e.atol),e.basename=t(e.basename),e.__xpg_basename=t(e.__xpg_basename),e.memmove=S(e.memmove),e.bind_textdomain_codeset=n(e.bind_textdomain_codeset),e.bsearch=E(e.bsearch),e.c16rtomb=o(e.c16rtomb),e.wcrtomb=o(e.wcrtomb),e.c32rtomb=o(e.c32rtomb),e.catgets=L(e.catgets),e.catopen=d(e.catopen),e.confstr=v(e.confstr),e.crypt=n(e.crypt),e.__crypt_blowfish=S(e.__crypt_blowfish),e.__crypt_des=S(e.__crypt_des),e.__crypt_md5=S(e.__crypt_md5),e.strnlen=n(e.strnlen),e.__crypt_sha256=S(e.__crypt_sha256),e.__crypt_sha512=S(e.__crypt_sha512),e.crypt_r=S(e.crypt_r),e.ctermid=t(e.ctermid),e.ctime=t(e.ctime),e.localtime=t(e.localtime),e.ctime_r=n(e.ctime_r),e.bindtextdomain=n(e.bindtextdomain),e.dcngettext=w(e.dcngettext),e.__gettextdomain=u(e.__gettextdomain),e.dcgettext=p(e.dcgettext),e.dngettext=c(e.dngettext),e.dgettext=n(e.dgettext),e.dirname=t(e.dirname),e.__libc_malloc=t(e.__libc_malloc),e.__duplocale=t(e.__duplocale),e.duplocale=t(e.duplocale),e._emscripten_find_dylib=c(e._emscripten_find_dylib),e.strspn=n(e.strspn),e.strcspn=n(e.strcspn),e.emscripten_dlopen_promise=d(e.emscripten_dlopen_promise),e.ecvt=T(e.ecvt),e.emscripten_get_heap_size=u(e.emscripten_get_heap_size),e.emscripten_builtin_memcpy=S(e.emscripten_builtin_memcpy),e.emscripten_builtin_memmove=S(e.emscripten_builtin_memmove),e.emscripten_builtin_memset=o(e.emscripten_builtin_memset),e.__syscall_mmap2=y(e.__syscall_mmap2),e.emscripten_builtin_memalign=n(e.emscripten_builtin_memalign),e.emscripten_stack_get_current=u(e.emscripten_stack_get_current),e.gethostent=u(e.gethostent),e.getnetent=u(e.getnetent),e.ether_aton_r=n(e.ether_aton_r),e.ether_aton=t(e.ether_aton),e.ether_ntoa_r=n(e.ether_ntoa_r),e.ether_ntoa=t(e.ether_ntoa),e.__fbufsize=t(e.__fbufsize),e.__fpending=t(e.__fpending),e.__freadahead=t(e.__freadahead),e.__freadptr=n(e.__freadptr),e.fcvt=T(e.fcvt),e.fdopendir=h(e.fdopendir),e.fgetln=n(e.fgetln),e.getline=S(e.getline),e.fgets=o(e.fgets),e.fgets_unlocked=o(e.fgets_unlocked),e.mbrtowc=c(e.mbrtowc),e.fgetws=o(e.fgetws),e.fgetws_unlocked=o(e.fgetws_unlocked),e.fmemopen=S(e.fmemopen),e.fopencookie=S(e.fopencookie),e.fpathconf=F(e.fpathconf),e.wcsrtombs=c(e.wcsrtombs),e.fread_unlocked=c(e.fread_unlocked),e.freopen=S(e.freopen),e.fwrite_unlocked=c(e.fwrite_unlocked),e.gai_strerror=h(e.gai_strerror),e.gcvt=P(e.gcvt),e.get_current_dir_name=u(e.get_current_dir_name),e.getdelim=I(e.getdelim),e.__getdelim=I(e.__getdelim),e.gethostid=u(e.gethostid),e.getlogin=u(e.getlogin),e.getpass=t(e.getpass),e.gets=t(e.gets),e.getservbyname=n(e.getservbyname),e.getservbyport=A(e.getservbyport),e.gmtime=t(e.gmtime),e.__h_errno_location=u(e.__h_errno_location),e.hstrerror=h(e.hstrerror),e.hsearch=d(e.hsearch),e.iconv_open=n(e.iconv_open),e.iconv=E(e.iconv),e.if_indextoname=A(e.if_indextoname),e.strncpy=S(e.strncpy),e.if_nameindex=u(e.if_nameindex),e.index=d(e.index),e.inet_ntoa=h(e.inet_ntoa),e.inet_ntop=b(e.inet_ntop),e.wcschr=d(e.wcschr),e.labs=t(e.labs),e.__nl_langinfo=h(e.__nl_langinfo),e.nl_langinfo=h(e.nl_langinfo),e.nl_langinfo_l=A(e.nl_langinfo_l),e.get_phys_pages=u(e.get_phys_pages),e.get_avphys_pages=u(e.get_avphys_pages),e.pthread_getspecific=h(e.pthread_getspecific),e.pthread_self=u(e.pthread_self),e.localeconv=u(e.localeconv),e.nrand48=t(e.nrand48),e.lrand48=u(e.lrand48),e.lrint=h(e.lrint),e.lrintf=h(e.lrintf),e.lrintl=F(e.lrintl),e.lround=h(e.lround),e.lroundf=h(e.lroundf),e.lroundl=F(e.lroundl),e.lsearch=E(e.lsearch),e.lfind=E(e.lfind),e.mbrlen=S(e.mbrlen),e.mbrtoc16=c(e.mbrtoc16),e.mbrtoc32=c(e.mbrtoc32),e.mbsnrtowcs=E(e.mbsnrtowcs),e.mbsrtowcs=c(e.mbsrtowcs),e.mbstowcs=S(e.mbstowcs),e.memccpy=I(e.memccpy),e.memmem=c(e.memmem),e.mempcpy=S(e.mempcpy),e.memrchr=o(e.memrchr),e.mkdtemp=t(e.mkdtemp),e.mktemp=t(e.mktemp),e.gmtime_r=n(e.gmtime_r),e.emscripten_builtin_mmap=y(e.emscripten_builtin_mmap),e.setmntent=n(e.setmntent),e.getmntent_r=B(e.getmntent_r),e.getmntent=t(e.getmntent),e.hasmntopt=n(e.hasmntopt),e.jrand48=t(e.jrand48),e.mrand48=u(e.mrand48),e.mremap=C(e.mremap),e.send=b(e.send),e.recv=b(e.recv),e.getnetbyaddr=F(e.getnetbyaddr),e.getnetbyname=t(e.getnetbyname),e.__newlocale=v(e.__newlocale),e.newlocale=v(e.newlocale),e.ns_get32=t(e.ns_get32),e.open_memstream=n(e.open_memstream),e.open_wmemstream=n(e.open_wmemstream),e.pathconf=d(e.pathconf),e.posix_getdents=b(e.posix_getdents),e.preadv=x(e.preadv),e.strrchr=d(e.strrchr),e.em_proxying_queue_create=u(e.em_proxying_queue_create),e.thrd_current=u(e.thrd_current),e.emscripten_main_runtime_thread_id=u(e.emscripten_main_runtime_thread_id),e.ptsname=h(e.ptsname),e.pwritev=x(e.pwritev),e.initstate=v(e.initstate),e.setstate=t(e.setstate),e.random=u(e.random),e.readlink=S(e.readlink),e.readlinkat=M(e.readlinkat),e.readv=H(e.readv),e.reallocarray=S(e.reallocarray),e.recvmsg=H(e.recvmsg),e.regerror=M(e.regerror),e.sendto=re(e.sendto),e.sendmsg=H(e.sendmsg),e.__res_state=u(e.__res_state),e.rindex=d(e.rindex),e.secure_getenv=t(e.secure_getenv),e.seed48=t(e.seed48),e.getservent=u(e.getservent),e.setlocale=A(e.setlocale),e.signal=A(e.signal),e.bsd_signal=A(e.bsd_signal),e.__sysv_signal=A(e.__sysv_signal),e.stpcpy=n(e.stpcpy),e.stpncpy=S(e.stpncpy),e.strcasestr=n(e.strcasestr),e.strcat=n(e.strcat),e.strchrnul=d(e.strchrnul),e.__strerror_l=A(e.__strerror_l),e.strerror_l=A(e.strerror_l),e.strfmon_l=E(e.strfmon_l),e.strfmon=c(e.strfmon),e.strftime=c(e.strftime),e.strftime_l=E(e.strftime_l),e.strlcat=S(e.strlcat),e.strlcpy=S(e.strlcpy),e.strlwr=t(e.strlwr),e.strncat=S(e.strncat),e.strndup=n(e.strndup),e.strpbrk=n(e.strpbrk),e.strsep=n(e.strsep),e.strsignal=h(e.strsignal),e.strtok=n(e.strtok),e.strtok_r=S(e.strtok_r),e.__strtol_internal=p(e.__strtol_internal),e.__strtoul_internal=p(e.__strtoul_internal),e.strtoul_l=I(e.strtoul_l),e.strtol_l=I(e.strtol_l),e.strupr=t(e.strupr),e.__strxfrm_l=c(e.__strxfrm_l),e.strxfrm=S(e.strxfrm),e.strxfrm_l=c(e.strxfrm_l),e.tdelete=S(e.tdelete),e.telldir=t(e.telldir),e.tempnam=n(e.tempnam),e.textdomain=t(e.textdomain),e.gettext=t(e.gettext),e.ngettext=S(e.ngettext),e.tfind=S(e.tfind),e.tmpfile=u(e.tmpfile),e.tmpnam=t(e.tmpnam),e.tsearch=S(e.tsearch),e.ttyname=h(e.ttyname),e.__uselocale=t(e.__uselocale),e.uselocale=t(e.uselocale),e.wcsnlen=n(e.wcsnlen),e.wcpcpy=n(e.wcpcpy),e.wcscpy=n(e.wcscpy),e.wcpncpy=S(e.wcpncpy),e.wcsncpy=S(e.wcsncpy),e.wcscat=n(e.wcscat),e.wcscspn=n(e.wcscspn),e.wcsdup=t(e.wcsdup),e.wmemcpy=S(e.wmemcpy),e.__wcsftime_l=E(e.__wcsftime_l),e.wcstoul=p(e.wcstoul),e.wcsftime=c(e.wcsftime),e.wcsftime_l=E(e.wcsftime_l),e.wcsncat=S(e.wcsncat),e.wmemset=o(e.wmemset),e.wcsnrtombs=E(e.wcsnrtombs),e.wcspbrk=n(e.wcspbrk),e.wcsrchr=d(e.wcsrchr),e.wcsspn=n(e.wcsspn),e.wcsstr=n(e.wcsstr),e.wcstok=S(e.wcstok),e.wcstol=p(e.wcstol),e.wcstombs=S(e.wcstombs),e.wcswcs=n(e.wcswcs),e.__wcsxfrm_l=c(e.__wcsxfrm_l),e.wcsxfrm=S(e.wcsxfrm),e.wcsxfrm_l=c(e.wcsxfrm_l),e.wctrans=t(e.wctrans),e.__wctrans_l=n(e.__wctrans_l),e.wctrans_l=n(e.wctrans_l),e.wmemmove=S(e.wmemmove),e.writev=H(e.writev),e.sbrk=be(e.sbrk),e.__libc_realloc=n(e.__libc_realloc),e.realloc_in_place=n(e.realloc_in_place),e.memalign=n(e.memalign),e.valloc=t(e.valloc),e.pvalloc=t(e.pvalloc),e.malloc_usable_size=t(e.malloc_usable_size),e.malloc_footprint=u(e.malloc_footprint),e.malloc_max_footprint=u(e.malloc_max_footprint),e.malloc_footprint_limit=u(e.malloc_footprint_limit),e.malloc_set_footprint_limit=t(e.malloc_set_footprint_limit),e.independent_calloc=S(e.independent_calloc),e.independent_comalloc=S(e.independent_comalloc),e.bulk_free=n(e.bulk_free),e.emscripten_builtin_realloc=n(e.emscripten_builtin_realloc),e.emscripten_builtin_calloc=n(e.emscripten_builtin_calloc),e.emscripten_get_sbrk_ptr=u(e.emscripten_get_sbrk_ptr),e._sbrk64=h(e._sbrk64),e.__emutls_get_address=t(e.__emutls_get_address),e.emscripten_stack_get_free=u(e.emscripten_stack_get_free),e._emscripten_stack_alloc=t(e._emscripten_stack_alloc),e.__cxa_current_primary_exception=u(e.__cxa_current_primary_exception),e.__cxa_demangle=c(e.__cxa_demangle),e.__cxa_get_exception_ptr=t(e.__cxa_get_exception_ptr),e.__thrown_object_from_unwind_exception=t(e.__thrown_object_from_unwind_exception),e.__get_exception_terminate_message=t(e.__get_exception_terminate_message),e.gethostbyaddr=se(e.gethostbyaddr),e.gethostbyname=t(e.gethostbyname),e.gethostbyname2=d(e.gethostbyname2),e.recvfrom=Ee(e.recvfrom),e}function callMain(e=[]){var t=resolveGlobalSymbol("main").sym;if(t){e.unshift(thisProgram);var n=e.length,o=stackAlloc((n+1)*4),c=o;for(var u of e)HEAPU32[c>>>2>>>0]=stringToUTF8OnStack(u),c+=4;HEAPU32[c>>>2>>>0]=0;try{var d=t(n,o);return exitJS(d,!0),d}catch(p){return handleException(p)}}}async function run(e=programArgs){var o;preRun(),runDependencies&&await resolveRunDependencies();var t=Module.setStatus;if(t&&(t("Running..."),await new Promise(c=>setTimeout(c,1)),setTimeout(t,1,"")),!ABORT){initRuntime(),callRuntimeCallbacks(onMains),(o=Module.onRuntimeInitialized)==null||o.call(Module);var n=Module.noInitialRun||!1;n||callMain(e),postRun()}}var wasmExports;return wasmExports=await createWasm(),await run(),Module}})();typeof exports=="object"&&typeof module=="object"?(module.exports=DuckDB,module.exports.default=DuckDB):typeof define=="function"&&define.amd&&define([],()=>DuckDB)});var d_=Gn(()=>{});var f_=Gn(()=>{});var p_=Gn((FA,Ca)=>{(function(){"use strict";var l="input is invalid type",r=typeof window=="object",a=r?window:{};a.JS_SHA256_NO_WINDOW&&(r=!1);var _=!r&&typeof self=="object",f=!a.JS_SHA256_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node&&process.type!="renderer";f?a=global:_&&(a=self);var m=!a.JS_SHA256_NO_COMMON_JS&&typeof Ca=="object"&&Ca.exports,g=typeof define=="function"&&define.amd,e=!a.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",t="0123456789abcdef".split(""),n=[-2147483648,8388608,32768,128],o=[24,16,8,0],c=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],u=["hex","array","digest","arrayBuffer"],d=[];(a.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(L){return Object.prototype.toString.call(L)==="[object Array]"}),e&&(a.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(L){return typeof L=="object"&&L.buffer&&L.buffer.constructor===ArrayBuffer});var p=function(L,w){return function(T){return new S(w,!0).update(T)[L]()}},h=function(L){var w=p("hex",L);f&&(w=b(w,L)),w.create=function(){return new S(L)},w.update=function(P){return w.create().update(P)};for(var T=0;T<u.length;++T){var F=u[T];w[F]=p(F,L)}return w},b=function(L,w){var T=d_(),F=f_().Buffer,P=w?"sha224":"sha256",I;F.from&&!a.JS_SHA256_NO_BUFFER_FROM?I=F.from:I=function(C){return new F(C)};var B=function(C){if(typeof C=="string")return T.createHash(P).update(C,"utf8").digest("hex");if(C==null)throw new Error(l);return C.constructor===ArrayBuffer&&(C=new Uint8Array(C)),Array.isArray(C)||ArrayBuffer.isView(C)||C.constructor===F?T.createHash(P).update(I(C)).digest("hex"):L(C)};return B},v=function(L,w){return function(T,F){return new A(T,w,!0).update(F)[L]()}},y=function(L){var w=v("hex",L);w.create=function(P){return new A(P,L)},w.update=function(P,I){return w.create(P).update(I)};for(var T=0;T<u.length;++T){var F=u[T];w[F]=v(F,L)}return w};function S(L,w){w?(d[0]=d[16]=d[1]=d[2]=d[3]=d[4]=d[5]=d[6]=d[7]=d[8]=d[9]=d[10]=d[11]=d[12]=d[13]=d[14]=d[15]=0,this.blocks=d):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],L?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=L}S.prototype.update=function(L){if(!this.finalized){var w,T=typeof L;if(T!=="string"){if(T==="object"){if(L===null)throw new Error(l);if(e&&L.constructor===ArrayBuffer)L=new Uint8Array(L);else if(!Array.isArray(L)&&(!e||!ArrayBuffer.isView(L)))throw new Error(l)}else throw new Error(l);w=!0}for(var F,P=0,I,B=L.length,C=this.blocks;P<B;){if(this.hashed&&(this.hashed=!1,C[0]=this.block,this.block=C[16]=C[1]=C[2]=C[3]=C[4]=C[5]=C[6]=C[7]=C[8]=C[9]=C[10]=C[11]=C[12]=C[13]=C[14]=C[15]=0),w)for(I=this.start;P<B&&I<64;++P)C[I>>>2]|=L[P]<<o[I++&3];else for(I=this.start;P<B&&I<64;++P)F=L.charCodeAt(P),F<128?C[I>>>2]|=F<<o[I++&3]:F<2048?(C[I>>>2]|=(192|F>>>6)<<o[I++&3],C[I>>>2]|=(128|F&63)<<o[I++&3]):F<55296||F>=57344?(C[I>>>2]|=(224|F>>>12)<<o[I++&3],C[I>>>2]|=(128|F>>>6&63)<<o[I++&3],C[I>>>2]|=(128|F&63)<<o[I++&3]):(F=65536+((F&1023)<<10|L.charCodeAt(++P)&1023),C[I>>>2]|=(240|F>>>18)<<o[I++&3],C[I>>>2]|=(128|F>>>12&63)<<o[I++&3],C[I>>>2]|=(128|F>>>6&63)<<o[I++&3],C[I>>>2]|=(128|F&63)<<o[I++&3]);this.lastByteIndex=I,this.bytes+=I-this.start,I>=64?(this.block=C[16],this.start=I-64,this.hash(),this.hashed=!0):this.start=I}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},S.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var L=this.blocks,w=this.lastByteIndex;L[16]=this.block,L[w>>>2]|=n[w&3],this.block=L[16],w>=56&&(this.hashed||this.hash(),L[0]=this.block,L[16]=L[1]=L[2]=L[3]=L[4]=L[5]=L[6]=L[7]=L[8]=L[9]=L[10]=L[11]=L[12]=L[13]=L[14]=L[15]=0),L[14]=this.hBytes<<3|this.bytes>>>29,L[15]=this.bytes<<3,this.hash()}},S.prototype.hash=function(){var L=this.h0,w=this.h1,T=this.h2,F=this.h3,P=this.h4,I=this.h5,B=this.h6,C=this.h7,x=this.blocks,M,H,re,be,se,Ee,G,U,R,N,ae;for(M=16;M<64;++M)se=x[M-15],H=(se>>>7|se<<25)^(se>>>18|se<<14)^se>>>3,se=x[M-2],re=(se>>>17|se<<15)^(se>>>19|se<<13)^se>>>10,x[M]=x[M-16]+H+x[M-7]+re<<0;for(ae=w&T,M=0;M<64;M+=4)this.first?(this.is224?(U=300032,se=x[0]-1413257819,C=se-150054599<<0,F=se+24177077<<0):(U=704751109,se=x[0]-210244248,C=se-1521486534<<0,F=se+143694565<<0),this.first=!1):(H=(L>>>2|L<<30)^(L>>>13|L<<19)^(L>>>22|L<<10),re=(P>>>6|P<<26)^(P>>>11|P<<21)^(P>>>25|P<<7),U=L&w,be=U^L&T^ae,G=P&I^~P&B,se=C+re+G+c[M]+x[M],Ee=H+be,C=F+se<<0,F=se+Ee<<0),H=(F>>>2|F<<30)^(F>>>13|F<<19)^(F>>>22|F<<10),re=(C>>>6|C<<26)^(C>>>11|C<<21)^(C>>>25|C<<7),R=F&L,be=R^F&w^U,G=C&P^~C&I,se=B+re+G+c[M+1]+x[M+1],Ee=H+be,B=T+se<<0,T=se+Ee<<0,H=(T>>>2|T<<30)^(T>>>13|T<<19)^(T>>>22|T<<10),re=(B>>>6|B<<26)^(B>>>11|B<<21)^(B>>>25|B<<7),N=T&F,be=N^T&L^R,G=B&C^~B&P,se=I+re+G+c[M+2]+x[M+2],Ee=H+be,I=w+se<<0,w=se+Ee<<0,H=(w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10),re=(I>>>6|I<<26)^(I>>>11|I<<21)^(I>>>25|I<<7),ae=w&T,be=ae^w&F^N,G=I&B^~I&C,se=P+re+G+c[M+3]+x[M+3],Ee=H+be,P=L+se<<0,L=se+Ee<<0,this.chromeBugWorkAround=!0;this.h0=this.h0+L<<0,this.h1=this.h1+w<<0,this.h2=this.h2+T<<0,this.h3=this.h3+F<<0,this.h4=this.h4+P<<0,this.h5=this.h5+I<<0,this.h6=this.h6+B<<0,this.h7=this.h7+C<<0},S.prototype.hex=function(){this.finalize();var L=this.h0,w=this.h1,T=this.h2,F=this.h3,P=this.h4,I=this.h5,B=this.h6,C=this.h7,x=t[L>>>28&15]+t[L>>>24&15]+t[L>>>20&15]+t[L>>>16&15]+t[L>>>12&15]+t[L>>>8&15]+t[L>>>4&15]+t[L&15]+t[w>>>28&15]+t[w>>>24&15]+t[w>>>20&15]+t[w>>>16&15]+t[w>>>12&15]+t[w>>>8&15]+t[w>>>4&15]+t[w&15]+t[T>>>28&15]+t[T>>>24&15]+t[T>>>20&15]+t[T>>>16&15]+t[T>>>12&15]+t[T>>>8&15]+t[T>>>4&15]+t[T&15]+t[F>>>28&15]+t[F>>>24&15]+t[F>>>20&15]+t[F>>>16&15]+t[F>>>12&15]+t[F>>>8&15]+t[F>>>4&15]+t[F&15]+t[P>>>28&15]+t[P>>>24&15]+t[P>>>20&15]+t[P>>>16&15]+t[P>>>12&15]+t[P>>>8&15]+t[P>>>4&15]+t[P&15]+t[I>>>28&15]+t[I>>>24&15]+t[I>>>20&15]+t[I>>>16&15]+t[I>>>12&15]+t[I>>>8&15]+t[I>>>4&15]+t[I&15]+t[B>>>28&15]+t[B>>>24&15]+t[B>>>20&15]+t[B>>>16&15]+t[B>>>12&15]+t[B>>>8&15]+t[B>>>4&15]+t[B&15];return this.is224||(x+=t[C>>>28&15]+t[C>>>24&15]+t[C>>>20&15]+t[C>>>16&15]+t[C>>>12&15]+t[C>>>8&15]+t[C>>>4&15]+t[C&15]),x},S.prototype.toString=S.prototype.hex,S.prototype.digest=function(){this.finalize();var L=this.h0,w=this.h1,T=this.h2,F=this.h3,P=this.h4,I=this.h5,B=this.h6,C=this.h7,x=[L>>>24&255,L>>>16&255,L>>>8&255,L&255,w>>>24&255,w>>>16&255,w>>>8&255,w&255,T>>>24&255,T>>>16&255,T>>>8&255,T&255,F>>>24&255,F>>>16&255,F>>>8&255,F&255,P>>>24&255,P>>>16&255,P>>>8&255,P&255,I>>>24&255,I>>>16&255,I>>>8&255,I&255,B>>>24&255,B>>>16&255,B>>>8&255,B&255];return this.is224||x.push(C>>>24&255,C>>>16&255,C>>>8&255,C&255),x},S.prototype.array=S.prototype.digest,S.prototype.arrayBuffer=function(){this.finalize();var L=new ArrayBuffer(this.is224?28:32),w=new DataView(L);return w.setUint32(0,this.h0),w.setUint32(4,this.h1),w.setUint32(8,this.h2),w.setUint32(12,this.h3),w.setUint32(16,this.h4),w.setUint32(20,this.h5),w.setUint32(24,this.h6),this.is224||w.setUint32(28,this.h7),L};function A(L,w,T){var F,P=typeof L;if(P==="string"){var I=[],B=L.length,C=0,x;for(F=0;F<B;++F)x=L.charCodeAt(F),x<128?I[C++]=x:x<2048?(I[C++]=192|x>>>6,I[C++]=128|x&63):x<55296||x>=57344?(I[C++]=224|x>>>12,I[C++]=128|x>>>6&63,I[C++]=128|x&63):(x=65536+((x&1023)<<10|L.charCodeAt(++F)&1023),I[C++]=240|x>>>18,I[C++]=128|x>>>12&63,I[C++]=128|x>>>6&63,I[C++]=128|x&63);L=I}else if(P==="object"){if(L===null)throw new Error(l);if(e&&L.constructor===ArrayBuffer)L=new Uint8Array(L);else if(!Array.isArray(L)&&(!e||!ArrayBuffer.isView(L)))throw new Error(l)}else throw new Error(l);L.length>64&&(L=new S(w,!0).update(L).array());var M=[],H=[];for(F=0;F<64;++F){var re=L[F]||0;M[F]=92^re,H[F]=54^re}S.call(this,w,T),this.update(H),this.oKeyPad=M,this.inner=!0,this.sharedMemory=T}A.prototype=new S,A.prototype.finalize=function(){if(S.prototype.finalize.call(this),this.inner){this.inner=!1;var L=this.array();S.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(L),S.prototype.finalize.call(this)}};var E=h();E.sha256=E,E.sha224=h(!0),E.sha256.hmac=y(),E.sha224.hmac=y(!0),m?Ca.exports=E:(a.sha256=E.sha256,a.sha224=E.sha224,g&&define(function(){return E}))})()});var _f={};Ar(_f,{registerWorker:()=>b_});function il(l,r){var a={};for(var _ in l)Object.prototype.hasOwnProperty.call(l,_)&&r.indexOf(_)<0&&(a[_]=l[_]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,_=Object.getOwnPropertySymbols(l);f<_.length;f++)r.indexOf(_[f])<0&&Object.prototype.propertyIsEnumerable.call(l,_[f])&&(a[_[f]]=l[_[f]]);return a}function O(l,r,a,_){function f(m){return m instanceof a?m:new a(function(g){g(m)})}return new(a||(a=Promise))(function(m,g){function e(o){try{n(_.next(o))}catch(c){g(c)}}function t(o){try{n(_.throw(o))}catch(c){g(c)}}function n(o){o.done?m(o.value):f(o.value).then(e,t)}n((_=_.apply(l,r||[])).next())})}function nl(l){var r=typeof Symbol=="function"&&Symbol.iterator,a=r&&l[r],_=0;if(a)return a.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&_>=l.length&&(l=void 0),{value:l&&l[_++],done:!l}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function oe(l){return this instanceof oe?(this.v=l,this):new oe(l)}function tt(l,r,a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var _=a.apply(l,r||[]),f,m=[];return f={},g("next"),g("throw"),g("return"),f[Symbol.asyncIterator]=function(){return this},f;function g(u){_[u]&&(f[u]=function(d){return new Promise(function(p,h){m.push([u,d,p,h])>1||e(u,d)})})}function e(u,d){try{t(_[u](d))}catch(p){c(m[0][3],p)}}function t(u){u.value instanceof oe?Promise.resolve(u.value.v).then(n,o):c(m[0][2],u)}function n(u){e("next",u)}function o(u){e("throw",u)}function c(u,d){u(d),m.shift(),m.length&&e(m[0][0],m[0][1])}}function on(l){var r,a;return r={},_("next"),_("throw",function(f){throw f}),_("return"),r[Symbol.iterator]=function(){return this},r;function _(f,m){r[f]=l[f]?function(g){return(a=!a)?{value:oe(l[f](g)),done:!1}:m?m(g):g}:m}}function gt(l){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=l[Symbol.asyncIterator],a;return r?r.call(l):(l=typeof nl=="function"?nl(l):l[Symbol.iterator](),a={},_("next"),_("throw"),_("return"),a[Symbol.asyncIterator]=function(){return this},a);function _(m){a[m]=l[m]&&function(g){return new Promise(function(e,t){g=l[m](g),f(e,t,g.done,g.value)})}}function f(m,g,e,t){Promise.resolve(t).then(function(n){m({value:n,done:e})},g)}}var Ra={};Ar(Ra,{compareArrayLike:()=>Ga,joinUint8Arrays:()=>nt,memcpy:()=>Hn,rebaseValueOffsets:()=>qi,toArrayBufferView:()=>le,toArrayBufferViewAsyncIterator:()=>vt,toArrayBufferViewIterator:()=>Rt,toBigInt64Array:()=>$i,toBigUint64Array:()=>B_,toFloat32Array:()=>U_,toFloat32ArrayAsyncIterator:()=>K_,toFloat32ArrayIterator:()=>z_,toFloat64Array:()=>G_,toFloat64ArrayAsyncIterator:()=>Z_,toFloat64ArrayIterator:()=>j_,toInt16Array:()=>k_,toInt16ArrayAsyncIterator:()=>X_,toInt16ArrayIterator:()=>H_,toInt32Array:()=>Hr,toInt32ArrayAsyncIterator:()=>Y_,toInt32ArrayIterator:()=>N_,toInt8Array:()=>I_,toInt8ArrayAsyncIterator:()=>q_,toInt8ArrayIterator:()=>O_,toUint16Array:()=>x_,toUint16ArrayAsyncIterator:()=>Q_,toUint16ArrayIterator:()=>W_,toUint32Array:()=>M_,toUint32ArrayAsyncIterator:()=>J_,toUint32ArrayIterator:()=>V_,toUint8Array:()=>J,toUint8ArrayAsyncIterator:()=>Ua,toUint8ArrayIterator:()=>Ba,toUint8ClampedArray:()=>R_,toUint8ClampedArrayAsyncIterator:()=>eu,toUint8ClampedArrayIterator:()=>$_});var F_=new TextDecoder("utf-8"),Rn=l=>F_.decode(l),T_=new TextEncoder,Gt=l=>T_.encode(l);var P_=l=>typeof l=="number",sl=l=>typeof l=="boolean",Ue=l=>typeof l=="function",$e=l=>l!=null&&Object(l)===l,rt=l=>$e(l)&&Ue(l.then);var ht=l=>$e(l)&&Ue(l[Symbol.iterator]),ct=l=>$e(l)&&Ue(l[Symbol.asyncIterator]),Hi=l=>$e(l)&&$e(l.schema);var Ni=l=>$e(l)&&"done"in l&&"value"in l;var Wi=l=>$e(l)&&Ue(l.stat)&&P_(l.fd);var Vi=l=>$e(l)&&On(l.body),zi=l=>"_getDOMStream"in l&&"_getNodeStream"in l,al=l=>$e(l)&&Ue(l.abort)&&Ue(l.getWriter)&&!zi(l),On=l=>$e(l)&&Ue(l.cancel)&&Ue(l.getReader)&&!zi(l),ol=l=>$e(l)&&Ue(l.end)&&Ue(l.write)&&sl(l.writable)&&!zi(l),ji=l=>$e(l)&&Ue(l.read)&&Ue(l.pipe)&&sl(l.readable)&&!zi(l),ll=l=>$e(l)&&Ue(l.clear)&&Ue(l.bytes)&&Ue(l.position)&&Ue(l.setPosition)&&Ue(l.capacity)&&Ue(l.getBufferIdentifier)&&Ue(l.createLong);var Ma=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function C_(l){let r=l[0]?[l[0]]:[],a,_,f,m;for(let g,e,t=0,n=0,o=l.length;++t<o;){if(g=r[n],e=l[t],!g||!e||g.buffer!==e.buffer||e.byteOffset<g.byteOffset){e&&(r[++n]=e);continue}if({byteOffset:a,byteLength:f}=g,{byteOffset:_,byteLength:m}=e,a+f<_||_+m<a){e&&(r[++n]=e);continue}r[n]=new Uint8Array(g.buffer,a,_-a+m)}return r}function Hn(l,r,a=0,_=r.byteLength){let f=l.byteLength,m=new Uint8Array(l.buffer,l.byteOffset,f),g=new Uint8Array(r.buffer,r.byteOffset,Math.min(_,f));return m.set(g,a),l}function nt(l,r){let a=C_(l),_=a.reduce((o,c)=>o+c.byteLength,0),f,m,g,e=0,t=-1,n=Math.min(r||Number.POSITIVE_INFINITY,_);for(let o=a.length;++t<o;){if(f=a[t],m=f.subarray(0,Math.min(f.length,n-e)),n<=e+m.length){m.length<f.length?a[t]=f.subarray(m.length):m.length===f.length&&t++,g?Hn(g,m,e):g=m;break}Hn(g||(g=new Uint8Array(n)),m,e),e+=m.length}return[g||new Uint8Array(0),a.slice(t),_-(g?g.byteLength:0)]}function le(l,r){let a=Ni(r)?r.value:r;return a instanceof l?l===Uint8Array?new l(a.buffer,a.byteOffset,a.byteLength):a:a?(typeof a=="string"&&(a=Gt(a)),a instanceof ArrayBuffer?new l(a):a instanceof Ma?new l(a):ll(a)?le(l,a.bytes()):ArrayBuffer.isView(a)?a.byteLength<=0?new l(0):new l(a.buffer,a.byteOffset,a.byteLength/l.BYTES_PER_ELEMENT):l.from(a)):new l(0)}var I_=l=>le(Int8Array,l),k_=l=>le(Int16Array,l),Hr=l=>le(Int32Array,l),$i=l=>le(BigInt64Array,l),J=l=>le(Uint8Array,l),x_=l=>le(Uint16Array,l),M_=l=>le(Uint32Array,l),B_=l=>le(BigUint64Array,l),U_=l=>le(Float32Array,l),G_=l=>le(Float64Array,l),R_=l=>le(Uint8ClampedArray,l),xa=l=>(l.next(),l);function*Rt(l,r){let a=function*(f){yield f},_=typeof r=="string"||ArrayBuffer.isView(r)||r instanceof ArrayBuffer||r instanceof Ma?a(r):ht(r)?r:a(r);return yield*xa(function*(f){let m=null;do m=f.next(yield le(l,m));while(!m.done)}(_[Symbol.iterator]())),new l}var O_=l=>Rt(Int8Array,l),H_=l=>Rt(Int16Array,l),N_=l=>Rt(Int32Array,l),Ba=l=>Rt(Uint8Array,l),W_=l=>Rt(Uint16Array,l),V_=l=>Rt(Uint32Array,l),z_=l=>Rt(Float32Array,l),j_=l=>Rt(Float64Array,l),$_=l=>Rt(Uint8ClampedArray,l);function vt(l,r){return tt(this,arguments,function*(){if(rt(r))return yield oe(yield oe(yield*on(gt(vt(l,yield oe(r))))));let _=function(g){return tt(this,arguments,function*(){yield yield oe(yield oe(g))})},f=function(g){return tt(this,arguments,function*(){yield oe(yield*on(gt(xa(function*(e){let t=null;do t=e.next(yield t==null?void 0:t.value);while(!t.done)}(g[Symbol.iterator]())))))})},m=typeof r=="string"||ArrayBuffer.isView(r)||r instanceof ArrayBuffer||r instanceof Ma?_(r):ht(r)?f(r):ct(r)?r:_(r);return yield oe(yield*on(gt(xa(function(g){return tt(this,arguments,function*(){let e=null;do e=yield oe(g.next(yield yield oe(le(l,e))));while(!e.done)})}(m[Symbol.asyncIterator]()))))),yield oe(new l)})}var q_=l=>vt(Int8Array,l),X_=l=>vt(Int16Array,l),Y_=l=>vt(Int32Array,l),Ua=l=>vt(Uint8Array,l),Q_=l=>vt(Uint16Array,l),J_=l=>vt(Uint32Array,l),K_=l=>vt(Float32Array,l),Z_=l=>vt(Float64Array,l),eu=l=>vt(Uint8ClampedArray,l);function qi(l,r,a){if(l!==0){a=a.slice(0,r);for(let _=-1,f=a.length;++_<f;)a[_]+=l}return a.subarray(0,r)}function Ga(l,r){let a=0,_=l.length;if(_!==r.length)return!1;if(_>0)do if(l[a]!==r[a])return!1;while(++a<_);return!0}var We={fromIterable(l){return Xi(tu(l))},fromAsyncIterable(l){return Xi(ru(l))},fromDOMStream(l){return Xi(nu(l))},fromNodeStream(l){return Xi(iu(l))},toDOMStream(l,r){throw new Error('"toDOMStream" not available in this environment')},toNodeStream(l,r){throw new Error('"toNodeStream" not available in this environment')}},Xi=l=>(l.next(),l);function*tu(l){let r,a=!1,_=[],f,m,g,e=0;function t(){return m==="peek"?nt(_,g)[0]:([f,_,e]=nt(_,g),f)}({cmd:m,size:g}=(yield null)||{cmd:"read",size:0});let n=Ba(l)[Symbol.iterator]();try{do if({done:r,value:f}=Number.isNaN(g-e)?n.next():n.next(g-e),!r&&f.byteLength>0&&(_.push(f),e+=f.byteLength),r||g<=e)do({cmd:m,size:g}=yield t());while(g<e);while(!r)}catch(o){(a=!0)&&typeof n.throw=="function"&&n.throw(o)}finally{a===!1&&typeof n.return=="function"&&n.return(null)}return null}function ru(l){return tt(this,arguments,function*(){let a,_=!1,f=[],m,g,e,t=0;function n(){return g==="peek"?nt(f,e)[0]:([m,f,t]=nt(f,e),m)}({cmd:g,size:e}=(yield yield oe(null))||{cmd:"read",size:0});let o=Ua(l)[Symbol.asyncIterator]();try{do if({done:a,value:m}=Number.isNaN(e-t)?yield oe(o.next()):yield oe(o.next(e-t)),!a&&m.byteLength>0&&(f.push(m),t+=m.byteLength),a||e<=t)do({cmd:g,size:e}=yield yield oe(n()));while(e<t);while(!a)}catch(c){(_=!0)&&typeof o.throw=="function"&&(yield oe(o.throw(c)))}finally{_===!1&&typeof o.return=="function"&&(yield oe(o.return(new Uint8Array(0))))}return yield oe(null)})}function nu(l){return tt(this,arguments,function*(){let a=!1,_=!1,f=[],m,g,e,t=0;function n(){return g==="peek"?nt(f,e)[0]:([m,f,t]=nt(f,e),m)}({cmd:g,size:e}=(yield yield oe(null))||{cmd:"read",size:0});let o=new Ha(l);try{do if({done:a,value:m}=Number.isNaN(e-t)?yield oe(o.read()):yield oe(o.read(e-t)),!a&&m.byteLength>0&&(f.push(J(m)),t+=m.byteLength),a||e<=t)do({cmd:g,size:e}=yield yield oe(n()));while(e<t);while(!a)}catch(c){(_=!0)&&(yield oe(o.cancel(c)))}finally{_===!1?yield oe(o.cancel()):l.locked&&o.releaseLock()}return yield oe(null)})}var Ha=class{constructor(r){this.source=r,this.reader=null,this.reader=this.source.getReader(),this.reader.closed.catch(()=>{})}get closed(){return this.reader?this.reader.closed.catch(()=>{}):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=null}cancel(r){return O(this,void 0,void 0,function*(){let{reader:a,source:_}=this;a&&(yield a.cancel(r).catch(()=>{})),_&&_.locked&&this.releaseLock()})}read(r){return O(this,void 0,void 0,function*(){if(r===0)return{done:this.reader==null,value:new Uint8Array(0)};let a=yield this.reader.read();return!a.done&&(a.value=J(a)),a})}},Oa=(l,r)=>{let a=f=>_([r,f]),_;return[r,a,new Promise(f=>(_=f)&&l.once(r,a))]};function iu(l){return tt(this,arguments,function*(){let a=[],_="error",f=!1,m=null,g,e,t=0,n=[],o;function c(){return g==="peek"?nt(n,e)[0]:([o,n,t]=nt(n,e),o)}if({cmd:g,size:e}=(yield yield oe(null))||{cmd:"read",size:0},l.isTTY)return yield yield oe(new Uint8Array(0)),yield oe(null);try{a[0]=Oa(l,"end"),a[1]=Oa(l,"error");do{if(a[2]=Oa(l,"readable"),[_,m]=yield oe(Promise.race(a.map(d=>d[2]))),_==="error")break;if((f=_==="end")||(Number.isFinite(e-t)?(o=J(l.read(e-t)),o.byteLength<e-t&&(o=J(l.read()))):o=J(l.read()),o.byteLength>0&&(n.push(o),t+=o.byteLength)),f||e<=t)do({cmd:g,size:e}=yield yield oe(c()));while(e<t)}while(!f)}finally{yield oe(u(a,_==="error"?m:null))}return yield oe(null);function u(d,p){return o=n=null,new Promise((h,b)=>{for(let[v,y]of d)l.off(v,y);try{let v=l.destroy;v&&v.call(l,p),p=void 0}catch(v){p=v||p}finally{p!=null?b(p):h()}})}})}var ge;(function(l){l[l.V1=0]="V1",l[l.V2=1]="V2",l[l.V3=2]="V3",l[l.V4=3]="V4",l[l.V5=4]="V5"})(ge||(ge={}));var Se;(function(l){l[l.Sparse=0]="Sparse",l[l.Dense=1]="Dense"})(Se||(Se={}));var ye;(function(l){l[l.HALF=0]="HALF",l[l.SINGLE=1]="SINGLE",l[l.DOUBLE=2]="DOUBLE"})(ye||(ye={}));var Ce;(function(l){l[l.DAY=0]="DAY",l[l.MILLISECOND=1]="MILLISECOND"})(Ce||(Ce={}));var V;(function(l){l[l.SECOND=0]="SECOND",l[l.MILLISECOND=1]="MILLISECOND",l[l.MICROSECOND=2]="MICROSECOND",l[l.NANOSECOND=3]="NANOSECOND"})(V||(V={}));var Ge;(function(l){l[l.YEAR_MONTH=0]="YEAR_MONTH",l[l.DAY_TIME=1]="DAY_TIME",l[l.MONTH_DAY_NANO=2]="MONTH_DAY_NANO"})(Ge||(Ge={}));var Ot=new Int32Array(2),Yi=new Float32Array(Ot.buffer),Qi=new Float64Array(Ot.buffer),ln=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1;var Nn;(function(l){l[l.UTF8_BYTES=1]="UTF8_BYTES",l[l.UTF16_STRING=2]="UTF16_STRING"})(Nn||(Nn={}));var it=class l{constructor(r){this.bytes_=r,this.position_=0,this.text_decoder_=new TextDecoder}static allocate(r){return new l(new Uint8Array(r))}clear(){this.position_=0}bytes(){return this.bytes_}position(){return this.position_}setPosition(r){this.position_=r}capacity(){return this.bytes_.length}readInt8(r){return this.readUint8(r)<<24>>24}readUint8(r){return this.bytes_[r]}readInt16(r){return this.readUint16(r)<<16>>16}readUint16(r){return this.bytes_[r]|this.bytes_[r+1]<<8}readInt32(r){return this.bytes_[r]|this.bytes_[r+1]<<8|this.bytes_[r+2]<<16|this.bytes_[r+3]<<24}readUint32(r){return this.readInt32(r)>>>0}readInt64(r){return BigInt.asIntN(64,BigInt(this.readUint32(r))+(BigInt(this.readUint32(r+4))<<BigInt(32)))}readUint64(r){return BigInt.asUintN(64,BigInt(this.readUint32(r))+(BigInt(this.readUint32(r+4))<<BigInt(32)))}readFloat32(r){return Ot[0]=this.readInt32(r),Yi[0]}readFloat64(r){return Ot[ln?0:1]=this.readInt32(r),Ot[ln?1:0]=this.readInt32(r+4),Qi[0]}writeInt8(r,a){this.bytes_[r]=a}writeUint8(r,a){this.bytes_[r]=a}writeInt16(r,a){this.bytes_[r]=a,this.bytes_[r+1]=a>>8}writeUint16(r,a){this.bytes_[r]=a,this.bytes_[r+1]=a>>8}writeInt32(r,a){this.bytes_[r]=a,this.bytes_[r+1]=a>>8,this.bytes_[r+2]=a>>16,this.bytes_[r+3]=a>>24}writeUint32(r,a){this.bytes_[r]=a,this.bytes_[r+1]=a>>8,this.bytes_[r+2]=a>>16,this.bytes_[r+3]=a>>24}writeInt64(r,a){this.writeInt32(r,Number(BigInt.asIntN(32,a))),this.writeInt32(r+4,Number(BigInt.asIntN(32,a>>BigInt(32))))}writeUint64(r,a){this.writeUint32(r,Number(BigInt.asUintN(32,a))),this.writeUint32(r+4,Number(BigInt.asUintN(32,a>>BigInt(32))))}writeFloat32(r,a){Yi[0]=a,this.writeInt32(r,Ot[0])}writeFloat64(r,a){Qi[0]=a,this.writeInt32(r,Ot[ln?0:1]),this.writeInt32(r+4,Ot[ln?1:0])}getBufferIdentifier(){if(this.bytes_.length<this.position_+4+4)throw new Error("FlatBuffers: ByteBuffer is too short to contain an identifier.");let r="";for(let a=0;a<4;a++)r+=String.fromCharCode(this.readInt8(this.position_+4+a));return r}__offset(r,a){let _=r-this.readInt32(r);return a<this.readInt16(_)?this.readInt16(_+a):0}__union(r,a){return r.bb_pos=a+this.readInt32(a),r.bb=this,r}__string(r,a){r+=this.readInt32(r);let _=this.readInt32(r);r+=4;let f=this.bytes_.subarray(r,r+_);return a===Nn.UTF8_BYTES?f:this.text_decoder_.decode(f)}__union_with_string(r,a){return typeof r=="string"?this.__string(a):this.__union(r,a)}__indirect(r){return r+this.readInt32(r)}__vector(r){return r+this.readInt32(r)+4}__vector_len(r){return this.readInt32(r+this.readInt32(r))}__has_identifier(r){if(r.length!=4)throw new Error("FlatBuffers: file identifier must be length "+4);for(let a=0;a<4;a++)if(r.charCodeAt(a)!=this.readInt8(this.position()+4+a))return!1;return!0}createScalarList(r,a){let _=[];for(let f=0;f<a;++f){let m=r(f);m!==null&&_.push(m)}return _}createObjList(r,a){let _=[];for(let f=0;f<a;++f){let m=r(f);m!==null&&_.push(m.unpack())}return _}};var Nr=class l{constructor(r){this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1,this.string_maps=null,this.text_encoder=new TextEncoder;let a;r?a=r:a=1024,this.bb=it.allocate(a),this.space=a}clear(){this.bb.clear(),this.space=this.bb.capacity(),this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1,this.string_maps=null}forceDefaults(r){this.force_defaults=r}dataBuffer(){return this.bb}asUint8Array(){return this.bb.bytes().subarray(this.bb.position(),this.bb.position()+this.offset())}prep(r,a){r>this.minalign&&(this.minalign=r);let _=~(this.bb.capacity()-this.space+a)+1&r-1;for(;this.space<_+r+a;){let f=this.bb.capacity();this.bb=l.growByteBuffer(this.bb),this.space+=this.bb.capacity()-f}this.pad(_)}pad(r){for(let a=0;a<r;a++)this.bb.writeInt8(--this.space,0)}writeInt8(r){this.bb.writeInt8(this.space-=1,r)}writeInt16(r){this.bb.writeInt16(this.space-=2,r)}writeInt32(r){this.bb.writeInt32(this.space-=4,r)}writeInt64(r){this.bb.writeInt64(this.space-=8,r)}writeFloat32(r){this.bb.writeFloat32(this.space-=4,r)}writeFloat64(r){this.bb.writeFloat64(this.space-=8,r)}addInt8(r){this.prep(1,0),this.writeInt8(r)}addInt16(r){this.prep(2,0),this.writeInt16(r)}addInt32(r){this.prep(4,0),this.writeInt32(r)}addInt64(r){this.prep(8,0),this.writeInt64(r)}addFloat32(r){this.prep(4,0),this.writeFloat32(r)}addFloat64(r){this.prep(8,0),this.writeFloat64(r)}addFieldInt8(r,a,_){(this.force_defaults||a!=_)&&(this.addInt8(a),this.slot(r))}addFieldInt16(r,a,_){(this.force_defaults||a!=_)&&(this.addInt16(a),this.slot(r))}addFieldInt32(r,a,_){(this.force_defaults||a!=_)&&(this.addInt32(a),this.slot(r))}addFieldInt64(r,a,_){(this.force_defaults||a!==_)&&(this.addInt64(a),this.slot(r))}addFieldFloat32(r,a,_){(this.force_defaults||a!=_)&&(this.addFloat32(a),this.slot(r))}addFieldFloat64(r,a,_){(this.force_defaults||a!=_)&&(this.addFloat64(a),this.slot(r))}addFieldOffset(r,a,_){(this.force_defaults||a!=_)&&(this.addOffset(a),this.slot(r))}addFieldStruct(r,a,_){a!=_&&(this.nested(a),this.slot(r))}nested(r){if(r!=this.offset())throw new TypeError("FlatBuffers: struct must be serialized inline.")}notNested(){if(this.isNested)throw new TypeError("FlatBuffers: object serialization must not be nested.")}slot(r){this.vtable!==null&&(this.vtable[r]=this.offset())}offset(){return this.bb.capacity()-this.space}static growByteBuffer(r){let a=r.capacity();if(a&3221225472)throw new Error("FlatBuffers: cannot grow buffer beyond 2 gigabytes.");let _=a<<1,f=it.allocate(_);return f.setPosition(_-a),f.bytes().set(r.bytes(),_-a),f}addOffset(r){this.prep(4,0),this.writeInt32(this.offset()-r+4)}startObject(r){this.notNested(),this.vtable==null&&(this.vtable=[]),this.vtable_in_use=r;for(let a=0;a<r;a++)this.vtable[a]=0;this.isNested=!0,this.object_start=this.offset()}endObject(){if(this.vtable==null||!this.isNested)throw new Error("FlatBuffers: endObject called without startObject");this.addInt32(0);let r=this.offset(),a=this.vtable_in_use-1;for(;a>=0&&this.vtable[a]==0;a--);let _=a+1;for(;a>=0;a--)this.addInt16(this.vtable[a]!=0?r-this.vtable[a]:0);let f=2;this.addInt16(r-this.object_start);let m=(_+f)*2;this.addInt16(m);let g=0,e=this.space;e:for(a=0;a<this.vtables.length;a++){let t=this.bb.capacity()-this.vtables[a];if(m==this.bb.readInt16(t)){for(let n=2;n<m;n+=2)if(this.bb.readInt16(e+n)!=this.bb.readInt16(t+n))continue e;g=this.vtables[a];break}}return g?(this.space=this.bb.capacity()-r,this.bb.writeInt32(this.space,g-r)):(this.vtables.push(this.offset()),this.bb.writeInt32(this.bb.capacity()-r,this.offset()-r)),this.isNested=!1,r}finish(r,a,_){let f=_?4:0;if(a){let m=a;if(this.prep(this.minalign,8+f),m.length!=4)throw new TypeError("FlatBuffers: file identifier must be length "+4);for(let g=3;g>=0;g--)this.writeInt8(m.charCodeAt(g))}this.prep(this.minalign,4+f),this.addOffset(r),f&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(r,a){this.finish(r,a,!0)}requiredField(r,a){let _=this.bb.capacity()-r,f=_-this.bb.readInt32(_);if(!(a<this.bb.readInt16(f)&&this.bb.readInt16(f+a)!=0))throw new TypeError("FlatBuffers: field "+a+" must be set")}startVector(r,a,_){this.notNested(),this.vector_num_elems=a,this.prep(4,r*a),this.prep(_,r*a)}endVector(){return this.writeInt32(this.vector_num_elems),this.offset()}createSharedString(r){if(!r)return 0;if(this.string_maps||(this.string_maps=new Map),this.string_maps.has(r))return this.string_maps.get(r);let a=this.createString(r);return this.string_maps.set(r,a),a}createString(r){if(r==null)return 0;let a;return r instanceof Uint8Array?a=r:a=this.text_encoder.encode(r),this.addInt8(0),this.startVector(1,a.length,1),this.bb.setPosition(this.space-=a.length),this.bb.bytes().set(a,this.space),this.endVector()}createByteVector(r){return r==null?0:(this.startVector(1,r.length,1),this.bb.setPosition(this.space-=r.length),this.bb.bytes().set(r,this.space),this.endVector())}createObjectOffset(r){return r===null?0:typeof r=="string"?this.createString(r):r.pack(this)}createObjectOffsetList(r){let a=[];for(let _=0;_<r.length;++_){let f=r[_];if(f!==null)a.push(this.createObjectOffset(f));else throw new TypeError("FlatBuffers: Argument for createObjectOffsetList cannot contain null.")}return a}createStructOffsetList(r,a){return a(this,r.length),this.createObjectOffsetList(r.slice().reverse()),this.endVector()}};var Wn;(function(l){l[l.BUFFER=0]="BUFFER"})(Wn||(Wn={}));var Vn;(function(l){l[l.LZ4_FRAME=0]="LZ4_FRAME",l[l.ZSTD=1]="ZSTD"})(Vn||(Vn={}));var Ki=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsBodyCompression(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBodyCompression(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}codec(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt8(this.bb_pos+r):Vn.LZ4_FRAME}method(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.readInt8(this.bb_pos+r):Wn.BUFFER}static startBodyCompression(r){r.startObject(2)}static addCodec(r,a){r.addFieldInt8(0,a,Vn.LZ4_FRAME)}static addMethod(r,a){r.addFieldInt8(1,a,Wn.BUFFER)}static endBodyCompression(r){return r.endObject()}static createBodyCompression(r,a,_){return l.startBodyCompression(r),l.addCodec(r,a),l.addMethod(r,_),l.endBodyCompression(r)}};var cn=class{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(r,a,_){return r.prep(8,16),r.writeInt64(BigInt(_!=null?_:0)),r.writeInt64(BigInt(a!=null?a:0)),r.offset()}};var _n=class{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(r,a,_){return r.prep(8,16),r.writeInt64(BigInt(_!=null?_:0)),r.writeInt64(BigInt(a!=null?a:0)),r.offset()}};var st=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsRecordBatch(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsRecordBatch(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}length(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt64(this.bb_pos+r):BigInt("0")}nodes(r,a){let _=this.bb.__offset(this.bb_pos,6);return _?(a||new _n).__init(this.bb.__vector(this.bb_pos+_)+r*16,this.bb):null}nodesLength(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.__vector_len(this.bb_pos+r):0}buffers(r,a){let _=this.bb.__offset(this.bb_pos,8);return _?(a||new cn).__init(this.bb.__vector(this.bb_pos+_)+r*16,this.bb):null}buffersLength(){let r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__vector_len(this.bb_pos+r):0}compression(r){let a=this.bb.__offset(this.bb_pos,10);return a?(r||new Ki).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}static startRecordBatch(r){r.startObject(4)}static addLength(r,a){r.addFieldInt64(0,a,BigInt("0"))}static addNodes(r,a){r.addFieldOffset(1,a,0)}static startNodesVector(r,a){r.startVector(16,a,8)}static addBuffers(r,a){r.addFieldOffset(2,a,0)}static startBuffersVector(r,a){r.startVector(16,a,8)}static addCompression(r,a){r.addFieldOffset(3,a,0)}static endRecordBatch(r){return r.endObject()}};var Yt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDictionaryBatch(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDictionaryBatch(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}id(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt64(this.bb_pos+r):BigInt("0")}data(r){let a=this.bb.__offset(this.bb_pos,6);return a?(r||new st).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}isDelta(){let r=this.bb.__offset(this.bb_pos,8);return r?!!this.bb.readInt8(this.bb_pos+r):!1}static startDictionaryBatch(r){r.startObject(3)}static addId(r,a){r.addFieldInt64(0,a,BigInt("0"))}static addData(r,a){r.addFieldOffset(1,a,0)}static addIsDelta(r,a){r.addFieldInt8(2,+a,0)}static endDictionaryBatch(r){return r.endObject()}};var Lr;(function(l){l[l.Little=0]="Little",l[l.Big=1]="Big"})(Lr||(Lr={}));var zn;(function(l){l[l.DenseArray=0]="DenseArray"})(zn||(zn={}));var yt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsInt(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsInt(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}bitWidth(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt32(this.bb_pos+r):0}isSigned(){let r=this.bb.__offset(this.bb_pos,6);return r?!!this.bb.readInt8(this.bb_pos+r):!1}static startInt(r){r.startObject(2)}static addBitWidth(r,a){r.addFieldInt32(0,a,0)}static addIsSigned(r,a){r.addFieldInt8(1,+a,0)}static endInt(r){return r.endObject()}static createInt(r,a,_){return l.startInt(r),l.addBitWidth(r,a),l.addIsSigned(r,_),l.endInt(r)}};var Ht=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDictionaryEncoding(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDictionaryEncoding(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}id(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt64(this.bb_pos+r):BigInt("0")}indexType(r){let a=this.bb.__offset(this.bb_pos,6);return a?(r||new yt).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}isOrdered(){let r=this.bb.__offset(this.bb_pos,8);return r?!!this.bb.readInt8(this.bb_pos+r):!1}dictionaryKind(){let r=this.bb.__offset(this.bb_pos,10);return r?this.bb.readInt16(this.bb_pos+r):zn.DenseArray}static startDictionaryEncoding(r){r.startObject(4)}static addId(r,a){r.addFieldInt64(0,a,BigInt("0"))}static addIndexType(r,a){r.addFieldOffset(1,a,0)}static addIsOrdered(r,a){r.addFieldInt8(2,+a,0)}static addDictionaryKind(r,a){r.addFieldInt16(3,a,zn.DenseArray)}static endDictionaryEncoding(r){return r.endObject()}};var Re=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsKeyValue(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsKeyValue(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}key(r){let a=this.bb.__offset(this.bb_pos,4);return a?this.bb.__string(this.bb_pos+a,r):null}value(r){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__string(this.bb_pos+a,r):null}static startKeyValue(r){r.startObject(2)}static addKey(r,a){r.addFieldOffset(0,a,0)}static addValue(r,a){r.addFieldOffset(1,a,0)}static endKeyValue(r){return r.endObject()}static createKeyValue(r,a,_){return l.startKeyValue(r),l.addKey(r,a),l.addValue(r,_),l.endKeyValue(r)}};var jn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsBinary(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBinary(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startBinary(r){r.startObject(0)}static endBinary(r){return r.endObject()}static createBinary(r){return l.startBinary(r),l.endBinary(r)}};var $n=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsBool(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBool(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startBool(r){r.startObject(0)}static endBool(r){return r.endObject()}static createBool(r){return l.startBool(r),l.endBool(r)}};var Er=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDate(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDate(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):Ce.MILLISECOND}static startDate(r){r.startObject(1)}static addUnit(r,a){r.addFieldInt16(0,a,Ce.MILLISECOND)}static endDate(r){return r.endObject()}static createDate(r,a){return l.startDate(r),l.addUnit(r,a),l.endDate(r)}};var Nt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDecimal(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDecimal(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}precision(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt32(this.bb_pos+r):0}scale(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.readInt32(this.bb_pos+r):0}bitWidth(){let r=this.bb.__offset(this.bb_pos,8);return r?this.bb.readInt32(this.bb_pos+r):128}static startDecimal(r){r.startObject(3)}static addPrecision(r,a){r.addFieldInt32(0,a,0)}static addScale(r,a){r.addFieldInt32(1,a,0)}static addBitWidth(r,a){r.addFieldInt32(2,a,128)}static endDecimal(r){return r.endObject()}static createDecimal(r,a,_,f){return l.startDecimal(r),l.addPrecision(r,a),l.addScale(r,_),l.addBitWidth(r,f),l.endDecimal(r)}};var wr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDuration(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDuration(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):V.MILLISECOND}static startDuration(r){r.startObject(1)}static addUnit(r,a){r.addFieldInt16(0,a,V.MILLISECOND)}static endDuration(r){return r.endObject()}static createDuration(r,a){return l.startDuration(r),l.addUnit(r,a),l.endDuration(r)}};var Dr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsFixedSizeBinary(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFixedSizeBinary(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}byteWidth(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt32(this.bb_pos+r):0}static startFixedSizeBinary(r){r.startObject(1)}static addByteWidth(r,a){r.addFieldInt32(0,a,0)}static endFixedSizeBinary(r){return r.endObject()}static createFixedSizeBinary(r,a){return l.startFixedSizeBinary(r),l.addByteWidth(r,a),l.endFixedSizeBinary(r)}};var Fr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsFixedSizeList(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFixedSizeList(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}listSize(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt32(this.bb_pos+r):0}static startFixedSizeList(r){r.startObject(1)}static addListSize(r,a){r.addFieldInt32(0,a,0)}static endFixedSizeList(r){return r.endObject()}static createFixedSizeList(r,a){return l.startFixedSizeList(r),l.addListSize(r,a),l.endFixedSizeList(r)}};var Tr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsFloatingPoint(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFloatingPoint(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}precision(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):ye.HALF}static startFloatingPoint(r){r.startObject(1)}static addPrecision(r,a){r.addFieldInt16(0,a,ye.HALF)}static endFloatingPoint(r){return r.endObject()}static createFloatingPoint(r,a){return l.startFloatingPoint(r),l.addPrecision(r,a),l.endFloatingPoint(r)}};var Pr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsInterval(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsInterval(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):Ge.YEAR_MONTH}static startInterval(r){r.startObject(1)}static addUnit(r,a){r.addFieldInt16(0,a,Ge.YEAR_MONTH)}static endInterval(r){return r.endObject()}static createInterval(r,a){return l.startInterval(r),l.addUnit(r,a),l.endInterval(r)}};var qn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsLargeBinary(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsLargeBinary(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startLargeBinary(r){r.startObject(0)}static endLargeBinary(r){return r.endObject()}static createLargeBinary(r){return l.startLargeBinary(r),l.endLargeBinary(r)}};var Xn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsLargeUtf8(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsLargeUtf8(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startLargeUtf8(r){r.startObject(0)}static endLargeUtf8(r){return r.endObject()}static createLargeUtf8(r){return l.startLargeUtf8(r),l.endLargeUtf8(r)}};var Yn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsList(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsList(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startList(r){r.startObject(0)}static endList(r){return r.endObject()}static createList(r){return l.startList(r),l.endList(r)}};var Cr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsMap(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsMap(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}keysSorted(){let r=this.bb.__offset(this.bb_pos,4);return r?!!this.bb.readInt8(this.bb_pos+r):!1}static startMap(r){r.startObject(1)}static addKeysSorted(r,a){r.addFieldInt8(0,+a,0)}static endMap(r){return r.endObject()}static createMap(r,a){return l.startMap(r),l.addKeysSorted(r,a),l.endMap(r)}};var Qn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsNull(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsNull(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startNull(r){r.startObject(0)}static endNull(r){return r.endObject()}static createNull(r){return l.startNull(r),l.endNull(r)}};var Jn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsStruct_(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsStruct_(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startStruct_(r){r.startObject(0)}static endStruct_(r){return r.endObject()}static createStruct_(r){return l.startStruct_(r),l.endStruct_(r)}};var Qt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsTime(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsTime(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):V.MILLISECOND}bitWidth(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.readInt32(this.bb_pos+r):32}static startTime(r){r.startObject(2)}static addUnit(r,a){r.addFieldInt16(0,a,V.MILLISECOND)}static addBitWidth(r,a){r.addFieldInt32(1,a,32)}static endTime(r){return r.endObject()}static createTime(r,a,_){return l.startTime(r),l.addUnit(r,a),l.addBitWidth(r,_),l.endTime(r)}};var Jt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsTimestamp(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsTimestamp(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):V.SECOND}timezone(r){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__string(this.bb_pos+a,r):null}static startTimestamp(r){r.startObject(2)}static addUnit(r,a){r.addFieldInt16(0,a,V.SECOND)}static addTimezone(r,a){r.addFieldOffset(1,a,0)}static endTimestamp(r){return r.endObject()}static createTimestamp(r,a,_){return l.startTimestamp(r),l.addUnit(r,a),l.addTimezone(r,_),l.endTimestamp(r)}};var St=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsUnion(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsUnion(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}mode(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):Se.Sparse}typeIds(r){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.readInt32(this.bb.__vector(this.bb_pos+a)+r*4):0}typeIdsLength(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.__vector_len(this.bb_pos+r):0}typeIdsArray(){let r=this.bb.__offset(this.bb_pos,6);return r?new Int32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+r),this.bb.__vector_len(this.bb_pos+r)):null}static startUnion(r){r.startObject(2)}static addMode(r,a){r.addFieldInt16(0,a,Se.Sparse)}static addTypeIds(r,a){r.addFieldOffset(1,a,0)}static createTypeIdsVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addInt32(a[_]);return r.endVector()}static startTypeIdsVector(r,a){r.startVector(4,a,4)}static endUnion(r){return r.endObject()}static createUnion(r,a,_){return l.startUnion(r),l.addMode(r,a),l.addTypeIds(r,_),l.endUnion(r)}};var Kn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsUtf8(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsUtf8(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startUtf8(r){r.startObject(0)}static endUtf8(r){return r.endObject()}static createUtf8(r){return l.startUtf8(r),l.endUtf8(r)}};var Ae;(function(l){l[l.NONE=0]="NONE",l[l.Null=1]="Null",l[l.Int=2]="Int",l[l.FloatingPoint=3]="FloatingPoint",l[l.Binary=4]="Binary",l[l.Utf8=5]="Utf8",l[l.Bool=6]="Bool",l[l.Decimal=7]="Decimal",l[l.Date=8]="Date",l[l.Time=9]="Time",l[l.Timestamp=10]="Timestamp",l[l.Interval=11]="Interval",l[l.List=12]="List",l[l.Struct_=13]="Struct_",l[l.Union=14]="Union",l[l.FixedSizeBinary=15]="FixedSizeBinary",l[l.FixedSizeList=16]="FixedSizeList",l[l.Map=17]="Map",l[l.Duration=18]="Duration",l[l.LargeBinary=19]="LargeBinary",l[l.LargeUtf8=20]="LargeUtf8",l[l.LargeList=21]="LargeList",l[l.RunEndEncoded=22]="RunEndEncoded"})(Ae||(Ae={}));var je=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsField(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsField(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}name(r){let a=this.bb.__offset(this.bb_pos,4);return a?this.bb.__string(this.bb_pos+a,r):null}nullable(){let r=this.bb.__offset(this.bb_pos,6);return r?!!this.bb.readInt8(this.bb_pos+r):!1}typeType(){let r=this.bb.__offset(this.bb_pos,8);return r?this.bb.readUint8(this.bb_pos+r):Ae.NONE}type(r){let a=this.bb.__offset(this.bb_pos,10);return a?this.bb.__union(r,this.bb_pos+a):null}dictionary(r){let a=this.bb.__offset(this.bb_pos,12);return a?(r||new Ht).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}children(r,a){let _=this.bb.__offset(this.bb_pos,14);return _?(a||new l).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+_)+r*4),this.bb):null}childrenLength(){let r=this.bb.__offset(this.bb_pos,14);return r?this.bb.__vector_len(this.bb_pos+r):0}customMetadata(r,a){let _=this.bb.__offset(this.bb_pos,16);return _?(a||new Re).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+_)+r*4),this.bb):null}customMetadataLength(){let r=this.bb.__offset(this.bb_pos,16);return r?this.bb.__vector_len(this.bb_pos+r):0}static startField(r){r.startObject(7)}static addName(r,a){r.addFieldOffset(0,a,0)}static addNullable(r,a){r.addFieldInt8(1,+a,0)}static addTypeType(r,a){r.addFieldInt8(2,a,Ae.NONE)}static addType(r,a){r.addFieldOffset(3,a,0)}static addDictionary(r,a){r.addFieldOffset(4,a,0)}static addChildren(r,a){r.addFieldOffset(5,a,0)}static createChildrenVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addOffset(a[_]);return r.endVector()}static startChildrenVector(r,a){r.startVector(4,a,4)}static addCustomMetadata(r,a){r.addFieldOffset(6,a,0)}static createCustomMetadataVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addOffset(a[_]);return r.endVector()}static startCustomMetadataVector(r,a){r.startVector(4,a,4)}static endField(r){return r.endObject()}};var Ye=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsSchema(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsSchema(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}endianness(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):Lr.Little}fields(r,a){let _=this.bb.__offset(this.bb_pos,6);return _?(a||new je).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+_)+r*4),this.bb):null}fieldsLength(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.__vector_len(this.bb_pos+r):0}customMetadata(r,a){let _=this.bb.__offset(this.bb_pos,8);return _?(a||new Re).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+_)+r*4),this.bb):null}customMetadataLength(){let r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__vector_len(this.bb_pos+r):0}features(r){let a=this.bb.__offset(this.bb_pos,10);return a?this.bb.readInt64(this.bb.__vector(this.bb_pos+a)+r*8):BigInt(0)}featuresLength(){let r=this.bb.__offset(this.bb_pos,10);return r?this.bb.__vector_len(this.bb_pos+r):0}static startSchema(r){r.startObject(4)}static addEndianness(r,a){r.addFieldInt16(0,a,Lr.Little)}static addFields(r,a){r.addFieldOffset(1,a,0)}static createFieldsVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addOffset(a[_]);return r.endVector()}static startFieldsVector(r,a){r.startVector(4,a,4)}static addCustomMetadata(r,a){r.addFieldOffset(2,a,0)}static createCustomMetadataVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addOffset(a[_]);return r.endVector()}static startCustomMetadataVector(r,a){r.startVector(4,a,4)}static addFeatures(r,a){r.addFieldOffset(3,a,0)}static createFeaturesVector(r,a){r.startVector(8,a.length,8);for(let _=a.length-1;_>=0;_--)r.addInt64(a[_]);return r.endVector()}static startFeaturesVector(r,a){r.startVector(8,a,8)}static endSchema(r){return r.endObject()}static finishSchemaBuffer(r,a){r.finish(a)}static finishSizePrefixedSchemaBuffer(r,a){r.finish(a,void 0,!0)}static createSchema(r,a,_,f,m){return l.startSchema(r),l.addEndianness(r,a),l.addFields(r,_),l.addCustomMetadata(r,f),l.addFeatures(r,m),l.endSchema(r)}};var _e;(function(l){l[l.NONE=0]="NONE",l[l.Schema=1]="Schema",l[l.DictionaryBatch=2]="DictionaryBatch",l[l.RecordBatch=3]="RecordBatch",l[l.Tensor=4]="Tensor",l[l.SparseTensor=5]="SparseTensor"})(_e||(_e={}));var D;(function(l){l[l.NONE=0]="NONE",l[l.Null=1]="Null",l[l.Int=2]="Int",l[l.Float=3]="Float",l[l.Binary=4]="Binary",l[l.Utf8=5]="Utf8",l[l.Bool=6]="Bool",l[l.Decimal=7]="Decimal",l[l.Date=8]="Date",l[l.Time=9]="Time",l[l.Timestamp=10]="Timestamp",l[l.Interval=11]="Interval",l[l.List=12]="List",l[l.Struct=13]="Struct",l[l.Union=14]="Union",l[l.FixedSizeBinary=15]="FixedSizeBinary",l[l.FixedSizeList=16]="FixedSizeList",l[l.Map=17]="Map",l[l.Duration=18]="Duration",l[l.LargeBinary=19]="LargeBinary",l[l.LargeUtf8=20]="LargeUtf8",l[l.Dictionary=-1]="Dictionary",l[l.Int8=-2]="Int8",l[l.Int16=-3]="Int16",l[l.Int32=-4]="Int32",l[l.Int64=-5]="Int64",l[l.Uint8=-6]="Uint8",l[l.Uint16=-7]="Uint16",l[l.Uint32=-8]="Uint32",l[l.Uint64=-9]="Uint64",l[l.Float16=-10]="Float16",l[l.Float32=-11]="Float32",l[l.Float64=-12]="Float64",l[l.DateDay=-13]="DateDay",l[l.DateMillisecond=-14]="DateMillisecond",l[l.TimestampSecond=-15]="TimestampSecond",l[l.TimestampMillisecond=-16]="TimestampMillisecond",l[l.TimestampMicrosecond=-17]="TimestampMicrosecond",l[l.TimestampNanosecond=-18]="TimestampNanosecond",l[l.TimeSecond=-19]="TimeSecond",l[l.TimeMillisecond=-20]="TimeMillisecond",l[l.TimeMicrosecond=-21]="TimeMicrosecond",l[l.TimeNanosecond=-22]="TimeNanosecond",l[l.DenseUnion=-23]="DenseUnion",l[l.SparseUnion=-24]="SparseUnion",l[l.IntervalDayTime=-25]="IntervalDayTime",l[l.IntervalYearMonth=-26]="IntervalYearMonth",l[l.DurationSecond=-27]="DurationSecond",l[l.DurationMillisecond=-28]="DurationMillisecond",l[l.DurationMicrosecond=-29]="DurationMicrosecond",l[l.DurationNanosecond=-30]="DurationNanosecond"})(D||(D={}));var ut;(function(l){l[l.OFFSET=0]="OFFSET",l[l.DATA=1]="DATA",l[l.VALIDITY=2]="VALIDITY",l[l.TYPE=3]="TYPE"})(ut||(ut={}));var ao={};Ar(ao,{clampRange:()=>ri,createElementComparator:()=>Mr,wrapIndex:()=>Wr});var Na={};Ar(Na,{valueToString:()=>At});function At(l){if(l===null)return"null";if(l===void 0)return"undefined";switch(typeof l){case"number":return`${l}`;case"bigint":return`${l}`;case"string":return`"${l}"`}return typeof l[Symbol.toPrimitive]=="function"?l[Symbol.toPrimitive]("string"):ArrayBuffer.isView(l)?l instanceof BigInt64Array||l instanceof BigUint64Array?`[${[...l].map(r=>At(r))}]`:`[${l}]`:ArrayBuffer.isView(l)?`[${l}]`:JSON.stringify(l,(r,a)=>typeof a=="bigint"?`${a}`:a)}var ja={};Ar(ja,{BN:()=>ei,bigNumToBigInt:()=>_l,bigNumToNumber:()=>za,bigNumToString:()=>fn,isArrowBigNumSymbol:()=>cl});function de(l){if(typeof l=="bigint"&&(l<Number.MIN_SAFE_INTEGER||l>Number.MAX_SAFE_INTEGER))throw new TypeError(`${l} is not safe to convert to a number.`);return Number(l)}function Wa(l,r){return de(l/r)+de(l%r)/de(r)}var cl=Symbol.for("isArrowBigNum");function Lt(l,...r){return r.length===0?Object.setPrototypeOf(le(this.TypedArray,l),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(l,...r),this.constructor.prototype)}Lt.prototype[cl]=!0;Lt.prototype.toJSON=function(){return`"${fn(this)}"`};Lt.prototype.valueOf=function(l){return za(this,l)};Lt.prototype.toString=function(){return fn(this)};Lt.prototype[Symbol.toPrimitive]=function(l="default"){switch(l){case"number":return za(this);case"string":return fn(this);case"default":return _l(this)}return fn(this)};function un(...l){return Lt.apply(this,l)}function dn(...l){return Lt.apply(this,l)}function Zn(...l){return Lt.apply(this,l)}Object.setPrototypeOf(un.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(dn.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Zn.prototype,Object.create(Uint32Array.prototype));Object.assign(un.prototype,Lt.prototype,{constructor:un,signed:!0,TypedArray:Int32Array,BigIntArray:BigInt64Array});Object.assign(dn.prototype,Lt.prototype,{constructor:dn,signed:!1,TypedArray:Uint32Array,BigIntArray:BigUint64Array});Object.assign(Zn.prototype,Lt.prototype,{constructor:Zn,signed:!0,TypedArray:Uint32Array,BigIntArray:BigUint64Array});var su=BigInt(4294967296)*BigInt(4294967296),au=su-BigInt(1);function za(l,r){let{buffer:a,byteOffset:_,byteLength:f,signed:m}=l,g=new BigUint64Array(a,_,f/8),e=m&&g.at(-1)&BigInt(1)<<BigInt(63),t=BigInt(0),n=0;if(e){for(let o of g)t|=(o^au)*(BigInt(1)<<BigInt(64*n++));t*=BigInt(-1),t-=BigInt(1)}else for(let o of g)t|=o*(BigInt(1)<<BigInt(64*n++));if(typeof r=="number"){let o=BigInt(Math.pow(10,r)),c=t/o,u=t%o;return de(c)+de(u)/de(o)}return de(t)}function fn(l){if(l.byteLength===8)return`${new l.BigIntArray(l.buffer,l.byteOffset,1)[0]}`;if(!l.signed)return Va(l);let r=new Uint16Array(l.buffer,l.byteOffset,l.byteLength/2);if(new Int16Array([r.at(-1)])[0]>=0)return Va(l);r=r.slice();let _=1;for(let m=0;m<r.length;m++){let g=r[m],e=~g+_;r[m]=e,_&=g===0?1:0}return`-${Va(r)}`}function _l(l){return l.byteLength===8?new l.BigIntArray(l.buffer,l.byteOffset,1)[0]:fn(l)}function Va(l){let r="",a=new Uint32Array(2),_=new Uint16Array(l.buffer,l.byteOffset,l.byteLength/2),f=new Uint32Array((_=new Uint16Array(_).reverse()).buffer),m=-1,g=_.length-1;do{for(a[0]=_[m=0];m<g;)_[m++]=a[1]=a[0]/10,a[0]=(a[0]-a[1]*10<<16)+_[m];_[m]=a[1]=a[0]/10,a[0]=a[0]-a[1]*10,r=`${a[0]}${r}`}while(f[0]||f[1]||f[2]||f[3]);return r!=null?r:"0"}var ei=class l{static new(r,a){switch(a){case!0:return new un(r);case!1:return new dn(r)}switch(r.constructor){case Int8Array:case Int16Array:case Int32Array:case BigInt64Array:return new un(r)}return r.byteLength===16?new Zn(r):new dn(r)}static signed(r){return new un(r)}static unsigned(r){return new dn(r)}static decimal(r){return new Zn(r)}constructor(r,a){return l.new(r,a)}};var ul,dl,fl,pl,ml,gl,hl,vl,bl,yl,Sl,Al,Ll,El,wl,Dl,Fl,Tl,Pl,Cl,Il,kl,W=class l{static isNull(r){return(r==null?void 0:r.typeId)===D.Null}static isInt(r){return(r==null?void 0:r.typeId)===D.Int}static isFloat(r){return(r==null?void 0:r.typeId)===D.Float}static isBinary(r){return(r==null?void 0:r.typeId)===D.Binary}static isLargeBinary(r){return(r==null?void 0:r.typeId)===D.LargeBinary}static isUtf8(r){return(r==null?void 0:r.typeId)===D.Utf8}static isLargeUtf8(r){return(r==null?void 0:r.typeId)===D.LargeUtf8}static isBool(r){return(r==null?void 0:r.typeId)===D.Bool}static isDecimal(r){return(r==null?void 0:r.typeId)===D.Decimal}static isDate(r){return(r==null?void 0:r.typeId)===D.Date}static isTime(r){return(r==null?void 0:r.typeId)===D.Time}static isTimestamp(r){return(r==null?void 0:r.typeId)===D.Timestamp}static isInterval(r){return(r==null?void 0:r.typeId)===D.Interval}static isDuration(r){return(r==null?void 0:r.typeId)===D.Duration}static isList(r){return(r==null?void 0:r.typeId)===D.List}static isStruct(r){return(r==null?void 0:r.typeId)===D.Struct}static isUnion(r){return(r==null?void 0:r.typeId)===D.Union}static isFixedSizeBinary(r){return(r==null?void 0:r.typeId)===D.FixedSizeBinary}static isFixedSizeList(r){return(r==null?void 0:r.typeId)===D.FixedSizeList}static isMap(r){return(r==null?void 0:r.typeId)===D.Map}static isDictionary(r){return(r==null?void 0:r.typeId)===D.Dictionary}static isDenseUnion(r){return l.isUnion(r)&&r.mode===Se.Dense}static isSparseUnion(r){return l.isUnion(r)&&r.mode===Se.Sparse}constructor(r){this.typeId=r}};ul=Symbol.toStringTag;W[ul]=(l=>(l.children=null,l.ArrayType=Array,l.OffsetArrayType=Int32Array,l[Symbol.toStringTag]="DataType"))(W.prototype);var qe=class extends W{constructor(){super(D.Null)}toString(){return"Null"}};dl=Symbol.toStringTag;qe[dl]=(l=>l[Symbol.toStringTag]="Null")(qe.prototype);var Oe=class extends W{constructor(r,a){super(D.Int),this.isSigned=r,this.bitWidth=a}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?BigInt64Array:BigUint64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}};fl=Symbol.toStringTag;Oe[fl]=(l=>(l.isSigned=null,l.bitWidth=null,l[Symbol.toStringTag]="Int"))(Oe.prototype);var Zi=class extends Oe{constructor(){super(!0,8)}get ArrayType(){return Int8Array}},es=class extends Oe{constructor(){super(!0,16)}get ArrayType(){return Int16Array}},Wt=class extends Oe{constructor(){super(!0,32)}get ArrayType(){return Int32Array}},ts=class extends Oe{constructor(){super(!0,64)}get ArrayType(){return BigInt64Array}},rs=class extends Oe{constructor(){super(!1,8)}get ArrayType(){return Uint8Array}},ns=class extends Oe{constructor(){super(!1,16)}get ArrayType(){return Uint16Array}},is=class extends Oe{constructor(){super(!1,32)}get ArrayType(){return Uint32Array}},ss=class extends Oe{constructor(){super(!1,64)}get ArrayType(){return BigUint64Array}};Object.defineProperty(Zi.prototype,"ArrayType",{value:Int8Array});Object.defineProperty(es.prototype,"ArrayType",{value:Int16Array});Object.defineProperty(Wt.prototype,"ArrayType",{value:Int32Array});Object.defineProperty(ts.prototype,"ArrayType",{value:BigInt64Array});Object.defineProperty(rs.prototype,"ArrayType",{value:Uint8Array});Object.defineProperty(ns.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(is.prototype,"ArrayType",{value:Uint32Array});Object.defineProperty(ss.prototype,"ArrayType",{value:BigUint64Array});var dt=class extends W{constructor(r){super(D.Float),this.precision=r}get ArrayType(){switch(this.precision){case ye.HALF:return Uint16Array;case ye.SINGLE:return Float32Array;case ye.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}};pl=Symbol.toStringTag;dt[pl]=(l=>(l.precision=null,l[Symbol.toStringTag]="Float"))(dt.prototype);var as=class extends dt{constructor(){super(ye.HALF)}},os=class extends dt{constructor(){super(ye.SINGLE)}},ls=class extends dt{constructor(){super(ye.DOUBLE)}};Object.defineProperty(as.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(os.prototype,"ArrayType",{value:Float32Array});Object.defineProperty(ls.prototype,"ArrayType",{value:Float64Array});var Kt=class extends W{constructor(){super(D.Binary)}toString(){return"Binary"}};ml=Symbol.toStringTag;Kt[ml]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Binary"))(Kt.prototype);var Zt=class extends W{constructor(){super(D.LargeBinary)}toString(){return"LargeBinary"}};gl=Symbol.toStringTag;Zt[gl]=(l=>(l.ArrayType=Uint8Array,l.OffsetArrayType=BigInt64Array,l[Symbol.toStringTag]="LargeBinary"))(Zt.prototype);var er=class extends W{constructor(){super(D.Utf8)}toString(){return"Utf8"}};hl=Symbol.toStringTag;er[hl]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Utf8"))(er.prototype);var tr=class extends W{constructor(){super(D.LargeUtf8)}toString(){return"LargeUtf8"}};vl=Symbol.toStringTag;tr[vl]=(l=>(l.ArrayType=Uint8Array,l.OffsetArrayType=BigInt64Array,l[Symbol.toStringTag]="LargeUtf8"))(tr.prototype);var rr=class extends W{constructor(){super(D.Bool)}toString(){return"Bool"}};bl=Symbol.toStringTag;rr[bl]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Bool"))(rr.prototype);var nr=class extends W{constructor(r,a,_=128){super(D.Decimal),this.scale=r,this.precision=a,this.bitWidth=_}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};yl=Symbol.toStringTag;nr[yl]=(l=>(l.scale=null,l.precision=null,l.ArrayType=Uint32Array,l[Symbol.toStringTag]="Decimal"))(nr.prototype);var ir=class extends W{constructor(r){super(D.Date),this.unit=r}toString(){return`Date${(this.unit+1)*32}<${Ce[this.unit]}>`}get ArrayType(){return this.unit===Ce.DAY?Int32Array:BigInt64Array}};Sl=Symbol.toStringTag;ir[Sl]=(l=>(l.unit=null,l[Symbol.toStringTag]="Date"))(ir.prototype);var sr=class extends W{constructor(r,a){super(D.Time),this.unit=r,this.bitWidth=a}toString(){return`Time${this.bitWidth}<${V[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return BigInt64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}};Al=Symbol.toStringTag;sr[Al]=(l=>(l.unit=null,l.bitWidth=null,l[Symbol.toStringTag]="Time"))(sr.prototype);var ar=class extends W{constructor(r,a){super(D.Timestamp),this.unit=r,this.timezone=a}toString(){return`Timestamp<${V[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}};Ll=Symbol.toStringTag;ar[Ll]=(l=>(l.unit=null,l.timezone=null,l.ArrayType=BigInt64Array,l[Symbol.toStringTag]="Timestamp"))(ar.prototype);var or=class extends W{constructor(r){super(D.Interval),this.unit=r}toString(){return`Interval<${Ge[this.unit]}>`}};El=Symbol.toStringTag;or[El]=(l=>(l.unit=null,l.ArrayType=Int32Array,l[Symbol.toStringTag]="Interval"))(or.prototype);var lr=class extends W{constructor(r){super(D.Duration),this.unit=r}toString(){return`Duration<${V[this.unit]}>`}};wl=Symbol.toStringTag;lr[wl]=(l=>(l.unit=null,l.ArrayType=BigInt64Array,l[Symbol.toStringTag]="Duration"))(lr.prototype);var Et=class extends W{constructor(r){super(D.List),this.children=[r]}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};Dl=Symbol.toStringTag;Et[Dl]=(l=>(l.children=null,l[Symbol.toStringTag]="List"))(Et.prototype);var we=class extends W{constructor(r){super(D.Struct),this.children=r}toString(){return`Struct<{${this.children.map(r=>`${r.name}:${r.type}`).join(", ")}}>`}};Fl=Symbol.toStringTag;we[Fl]=(l=>(l.children=null,l[Symbol.toStringTag]="Struct"))(we.prototype);var wt=class extends W{constructor(r,a,_){super(D.Union),this.mode=r,this.children=_,this.typeIds=a=Int32Array.from(a),this.typeIdToChildIndex=a.reduce((f,m,g)=>(f[m]=g)&&f||f,Object.create(null))}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(r=>`${r.type}`).join(" | ")}>`}};Tl=Symbol.toStringTag;wt[Tl]=(l=>(l.mode=null,l.typeIds=null,l.children=null,l.typeIdToChildIndex=null,l.ArrayType=Int8Array,l[Symbol.toStringTag]="Union"))(wt.prototype);var cr=class extends W{constructor(r){super(D.FixedSizeBinary),this.byteWidth=r}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};Pl=Symbol.toStringTag;cr[Pl]=(l=>(l.byteWidth=null,l.ArrayType=Uint8Array,l[Symbol.toStringTag]="FixedSizeBinary"))(cr.prototype);var Dt=class extends W{constructor(r,a){super(D.FixedSizeList),this.listSize=r,this.children=[a]}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};Cl=Symbol.toStringTag;Dt[Cl]=(l=>(l.children=null,l.listSize=null,l[Symbol.toStringTag]="FixedSizeList"))(Dt.prototype);var Ft=class extends W{constructor(r,a=!1){var _,f,m;if(super(D.Map),this.children=[r],this.keysSorted=a,r&&(r.name="entries",!((_=r==null?void 0:r.type)===null||_===void 0)&&_.children)){let g=(f=r==null?void 0:r.type)===null||f===void 0?void 0:f.children[0];g&&(g.name="key");let e=(m=r==null?void 0:r.type)===null||m===void 0?void 0:m.children[1];e&&(e.name="value")}}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(r=>`${r.name}:${r.type}`).join(", ")}}>`}};Il=Symbol.toStringTag;Ft[Il]=(l=>(l.children=null,l.keysSorted=null,l[Symbol.toStringTag]="Map_"))(Ft.prototype);var ou=(l=>()=>++l)(-1),at=class extends W{constructor(r,a,_,f){super(D.Dictionary),this.indices=a,this.dictionary=r,this.isOrdered=f||!1,this.id=_==null?ou():de(_)}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}};kl=Symbol.toStringTag;at[kl]=(l=>(l.id=null,l.indices=null,l.isOrdered=null,l.dictionary=null,l[Symbol.toStringTag]="Dictionary"))(at.prototype);function ot(l){let r=l;switch(l.typeId){case D.Decimal:return l.bitWidth/32;case D.Interval:return 1+r.unit;case D.FixedSizeList:return r.listSize;case D.FixedSizeBinary:return r.byteWidth;default:return 1}}var j=class{visitMany(r,...a){return r.map((_,f)=>this.visit(_,...a.map(m=>m[f])))}visit(...r){return this.getVisitFn(r[0],!1).apply(this,r)}getVisitFn(r,a=!0){return lu(this,r,a)}getVisitFnByTypeId(r,a=!0){return pn(this,r,a)}visitNull(r,...a){return null}visitBool(r,...a){return null}visitInt(r,...a){return null}visitFloat(r,...a){return null}visitUtf8(r,...a){return null}visitLargeUtf8(r,...a){return null}visitBinary(r,...a){return null}visitLargeBinary(r,...a){return null}visitFixedSizeBinary(r,...a){return null}visitDate(r,...a){return null}visitTimestamp(r,...a){return null}visitTime(r,...a){return null}visitDecimal(r,...a){return null}visitList(r,...a){return null}visitStruct(r,...a){return null}visitUnion(r,...a){return null}visitDictionary(r,...a){return null}visitInterval(r,...a){return null}visitDuration(r,...a){return null}visitFixedSizeList(r,...a){return null}visitMap(r,...a){return null}};function lu(l,r,a=!0){return typeof r=="number"?pn(l,r,a):typeof r=="string"&&r in D?pn(l,D[r],a):r&&r instanceof W?pn(l,xl(r),a):r!=null&&r.type&&r.type instanceof W?pn(l,xl(r.type),a):pn(l,D.NONE,a)}function pn(l,r,a=!0){let _=null;switch(r){case D.Null:_=l.visitNull;break;case D.Bool:_=l.visitBool;break;case D.Int:_=l.visitInt;break;case D.Int8:_=l.visitInt8||l.visitInt;break;case D.Int16:_=l.visitInt16||l.visitInt;break;case D.Int32:_=l.visitInt32||l.visitInt;break;case D.Int64:_=l.visitInt64||l.visitInt;break;case D.Uint8:_=l.visitUint8||l.visitInt;break;case D.Uint16:_=l.visitUint16||l.visitInt;break;case D.Uint32:_=l.visitUint32||l.visitInt;break;case D.Uint64:_=l.visitUint64||l.visitInt;break;case D.Float:_=l.visitFloat;break;case D.Float16:_=l.visitFloat16||l.visitFloat;break;case D.Float32:_=l.visitFloat32||l.visitFloat;break;case D.Float64:_=l.visitFloat64||l.visitFloat;break;case D.Utf8:_=l.visitUtf8;break;case D.LargeUtf8:_=l.visitLargeUtf8;break;case D.Binary:_=l.visitBinary;break;case D.LargeBinary:_=l.visitLargeBinary;break;case D.FixedSizeBinary:_=l.visitFixedSizeBinary;break;case D.Date:_=l.visitDate;break;case D.DateDay:_=l.visitDateDay||l.visitDate;break;case D.DateMillisecond:_=l.visitDateMillisecond||l.visitDate;break;case D.Timestamp:_=l.visitTimestamp;break;case D.TimestampSecond:_=l.visitTimestampSecond||l.visitTimestamp;break;case D.TimestampMillisecond:_=l.visitTimestampMillisecond||l.visitTimestamp;break;case D.TimestampMicrosecond:_=l.visitTimestampMicrosecond||l.visitTimestamp;break;case D.TimestampNanosecond:_=l.visitTimestampNanosecond||l.visitTimestamp;break;case D.Time:_=l.visitTime;break;case D.TimeSecond:_=l.visitTimeSecond||l.visitTime;break;case D.TimeMillisecond:_=l.visitTimeMillisecond||l.visitTime;break;case D.TimeMicrosecond:_=l.visitTimeMicrosecond||l.visitTime;break;case D.TimeNanosecond:_=l.visitTimeNanosecond||l.visitTime;break;case D.Decimal:_=l.visitDecimal;break;case D.List:_=l.visitList;break;case D.Struct:_=l.visitStruct;break;case D.Union:_=l.visitUnion;break;case D.DenseUnion:_=l.visitDenseUnion||l.visitUnion;break;case D.SparseUnion:_=l.visitSparseUnion||l.visitUnion;break;case D.Dictionary:_=l.visitDictionary;break;case D.Interval:_=l.visitInterval;break;case D.IntervalDayTime:_=l.visitIntervalDayTime||l.visitInterval;break;case D.IntervalYearMonth:_=l.visitIntervalYearMonth||l.visitInterval;break;case D.Duration:_=l.visitDuration;break;case D.DurationSecond:_=l.visitDurationSecond||l.visitDuration;break;case D.DurationMillisecond:_=l.visitDurationMillisecond||l.visitDuration;break;case D.DurationMicrosecond:_=l.visitDurationMicrosecond||l.visitDuration;break;case D.DurationNanosecond:_=l.visitDurationNanosecond||l.visitDuration;break;case D.FixedSizeList:_=l.visitFixedSizeList;break;case D.Map:_=l.visitMap;break}if(typeof _=="function")return _;if(!a)return()=>null;throw new Error(`Unrecognized type '${D[r]}'`)}function xl(l){switch(l.typeId){case D.Null:return D.Null;case D.Int:{let{bitWidth:r,isSigned:a}=l;switch(r){case 8:return a?D.Int8:D.Uint8;case 16:return a?D.Int16:D.Uint16;case 32:return a?D.Int32:D.Uint32;case 64:return a?D.Int64:D.Uint64}return D.Int}case D.Float:switch(l.precision){case ye.HALF:return D.Float16;case ye.SINGLE:return D.Float32;case ye.DOUBLE:return D.Float64}return D.Float;case D.Binary:return D.Binary;case D.LargeBinary:return D.LargeBinary;case D.Utf8:return D.Utf8;case D.LargeUtf8:return D.LargeUtf8;case D.Bool:return D.Bool;case D.Decimal:return D.Decimal;case D.Time:switch(l.unit){case V.SECOND:return D.TimeSecond;case V.MILLISECOND:return D.TimeMillisecond;case V.MICROSECOND:return D.TimeMicrosecond;case V.NANOSECOND:return D.TimeNanosecond}return D.Time;case D.Timestamp:switch(l.unit){case V.SECOND:return D.TimestampSecond;case V.MILLISECOND:return D.TimestampMillisecond;case V.MICROSECOND:return D.TimestampMicrosecond;case V.NANOSECOND:return D.TimestampNanosecond}return D.Timestamp;case D.Date:switch(l.unit){case Ce.DAY:return D.DateDay;case Ce.MILLISECOND:return D.DateMillisecond}return D.Date;case D.Interval:switch(l.unit){case Ge.DAY_TIME:return D.IntervalDayTime;case Ge.YEAR_MONTH:return D.IntervalYearMonth}return D.Interval;case D.Duration:switch(l.unit){case V.SECOND:return D.DurationSecond;case V.MILLISECOND:return D.DurationMillisecond;case V.MICROSECOND:return D.DurationMicrosecond;case V.NANOSECOND:return D.DurationNanosecond}return D.Duration;case D.Map:return D.Map;case D.List:return D.List;case D.Struct:return D.Struct;case D.Union:switch(l.mode){case Se.Dense:return D.DenseUnion;case Se.Sparse:return D.SparseUnion}return D.Union;case D.FixedSizeBinary:return D.FixedSizeBinary;case D.FixedSizeList:return D.FixedSizeList;case D.Dictionary:return D.Dictionary}throw new Error(`Unrecognized type '${D[l.typeId]}'`)}j.prototype.visitInt8=null;j.prototype.visitInt16=null;j.prototype.visitInt32=null;j.prototype.visitInt64=null;j.prototype.visitUint8=null;j.prototype.visitUint16=null;j.prototype.visitUint32=null;j.prototype.visitUint64=null;j.prototype.visitFloat16=null;j.prototype.visitFloat32=null;j.prototype.visitFloat64=null;j.prototype.visitDateDay=null;j.prototype.visitDateMillisecond=null;j.prototype.visitTimestampSecond=null;j.prototype.visitTimestampMillisecond=null;j.prototype.visitTimestampMicrosecond=null;j.prototype.visitTimestampNanosecond=null;j.prototype.visitTimeSecond=null;j.prototype.visitTimeMillisecond=null;j.prototype.visitTimeMicrosecond=null;j.prototype.visitTimeNanosecond=null;j.prototype.visitDenseUnion=null;j.prototype.visitSparseUnion=null;j.prototype.visitIntervalDayTime=null;j.prototype.visitIntervalYearMonth=null;j.prototype.visitDuration=null;j.prototype.visitDurationSecond=null;j.prototype.visitDurationMillisecond=null;j.prototype.visitDurationMicrosecond=null;j.prototype.visitDurationNanosecond=null;var $a={};Ar($a,{float64ToUint16:()=>ti,uint16ToFloat64:()=>cs});var Ml=new Float64Array(1),mn=new Uint32Array(Ml.buffer);function cs(l){let r=(l&31744)>>10,a=(l&1023)/1024,_=Math.pow(-1,(l&32768)>>15);switch(r){case 31:return _*(a?Number.NaN:1/0);case 0:return _*(a?6103515625e-14*a:0)}return _*Math.pow(2,r-15)*(1+a)}function ti(l){if(l!==l)return 32256;Ml[0]=l;let r=(mn[1]&2147483648)>>16&65535,a=mn[1]&2146435072,_=0;return a>=1089470464?mn[0]>0?a=31744:(a=(a&2080374784)>>16,_=(mn[1]&1048575)>>10):a<=1056964608?(_=1048576+(mn[1]&1048575),_=1048576+(_<<(a>>20)-998)>>21,a=0):(a=a-1056964608>>10,_=(mn[1]&1048575)+512>>10),r|a|_&65535}var Q=class extends j{};function ee(l){return(r,a,_)=>{if(r.setValid(a,_!=null))return l(r,a,_)}}var cu=(l,r,a)=>{l[r]=Math.floor(a/864e5)},Bl=(l,r,a,_)=>{if(a+1<r.length){let f=de(r[a]),m=de(r[a+1]);l.set(_.subarray(0,m-f),f)}},_u=({offset:l,values:r},a,_)=>{let f=l+a;_?r[f>>3]|=1<<f%8:r[f>>3]&=~(1<<f%8)},_r=({values:l},r,a)=>{l[r]=a},qa=({values:l},r,a)=>{l[r]=a},Ul=({values:l},r,a)=>{l[r]=ti(a)},uu=(l,r,a)=>{switch(l.type.precision){case ye.HALF:return Ul(l,r,a);case ye.SINGLE:case ye.DOUBLE:return qa(l,r,a)}},_s=({values:l},r,a)=>{cu(l,r,a.valueOf())},us=({values:l},r,a)=>{l[r]=BigInt(a)},Xa=({stride:l,values:r},a,_)=>{r.set(_.subarray(0,l),l*a)},Gl=({values:l,valueOffsets:r},a,_)=>Bl(l,r,a,_),Rl=({values:l,valueOffsets:r},a,_)=>Bl(l,r,a,Gt(_)),Ya=(l,r,a)=>{l.type.unit===Ce.DAY?_s(l,r,a):us(l,r,a)},ds=({values:l},r,a)=>{l[r]=BigInt(a/1e3)},ps=({values:l},r,a)=>{l[r]=BigInt(a)},ms=({values:l},r,a)=>{l[r]=BigInt(a*1e3)},gs=({values:l},r,a)=>{l[r]=BigInt(a*1e6)},Qa=(l,r,a)=>{switch(l.type.unit){case V.SECOND:return ds(l,r,a);case V.MILLISECOND:return ps(l,r,a);case V.MICROSECOND:return ms(l,r,a);case V.NANOSECOND:return gs(l,r,a)}},hs=({values:l},r,a)=>{l[r]=a},vs=({values:l},r,a)=>{l[r]=a},bs=({values:l},r,a)=>{l[r]=a},ys=({values:l},r,a)=>{l[r]=a},Ja=(l,r,a)=>{switch(l.type.unit){case V.SECOND:return hs(l,r,a);case V.MILLISECOND:return vs(l,r,a);case V.MICROSECOND:return bs(l,r,a);case V.NANOSECOND:return ys(l,r,a)}},Ka=({values:l,stride:r},a,_)=>{l.set(_.subarray(0,r),r*a)},du=(l,r,a)=>{let _=l.children[0],f=l.valueOffsets,m=Ve.getVisitFn(_);if(Array.isArray(a))for(let g=-1,e=f[r],t=f[r+1];e<t;)m(_,e++,a[++g]);else for(let g=-1,e=f[r],t=f[r+1];e<t;)m(_,e++,a.get(++g))},fu=(l,r,a)=>{let _=l.children[0],{valueOffsets:f}=l,m=Ve.getVisitFn(_),{[r]:g,[r+1]:e}=f,t=a instanceof Map?a.entries():Object.entries(a);for(let n of t)if(m(_,g,n),++g>=e)break},pu=(l,r)=>(a,_,f,m)=>_&&a(_,l,r[m]),mu=(l,r)=>(a,_,f,m)=>_&&a(_,l,r.get(m)),gu=(l,r)=>(a,_,f,m)=>_&&a(_,l,r.get(f.name)),hu=(l,r)=>(a,_,f,m)=>_&&a(_,l,r[f.name]),vu=(l,r,a)=>{let _=l.type.children.map(m=>Ve.getVisitFn(m.type)),f=a instanceof Map?gu(r,a):a instanceof ue?mu(r,a):Array.isArray(a)?pu(r,a):hu(r,a);l.type.children.forEach((m,g)=>f(_[g],l.children[g],m,g))},bu=(l,r,a)=>{l.type.mode===Se.Dense?Ol(l,r,a):Hl(l,r,a)},Ol=(l,r,a)=>{let _=l.type.typeIdToChildIndex[l.typeIds[r]],f=l.children[_];Ve.visit(f,l.valueOffsets[r],a)},Hl=(l,r,a)=>{let _=l.type.typeIdToChildIndex[l.typeIds[r]],f=l.children[_];Ve.visit(f,r,a)},yu=(l,r,a)=>{var _;(_=l.dictionary)===null||_===void 0||_.set(l.values[r],a)},Za=(l,r,a)=>{l.type.unit===Ge.DAY_TIME?Ss(l,r,a):As(l,r,a)},Ss=({values:l},r,a)=>{l.set(a.subarray(0,2),2*r)},As=({values:l},r,a)=>{l[r]=a[0]*12+a[1]%12},Ls=({values:l},r,a)=>{l[r]=a},Es=({values:l},r,a)=>{l[r]=a},ws=({values:l},r,a)=>{l[r]=a},Ds=({values:l},r,a)=>{l[r]=a},eo=(l,r,a)=>{switch(l.type.unit){case V.SECOND:return Ls(l,r,a);case V.MILLISECOND:return Es(l,r,a);case V.MICROSECOND:return ws(l,r,a);case V.NANOSECOND:return Ds(l,r,a)}},Su=(l,r,a)=>{let{stride:_}=l,f=l.children[0],m=Ve.getVisitFn(f);if(Array.isArray(a))for(let g=-1,e=r*_;++g<_;)m(f,e+g,a[g]);else for(let g=-1,e=r*_;++g<_;)m(f,e+g,a.get(g))};Q.prototype.visitBool=ee(_u);Q.prototype.visitInt=ee(_r);Q.prototype.visitInt8=ee(_r);Q.prototype.visitInt16=ee(_r);Q.prototype.visitInt32=ee(_r);Q.prototype.visitInt64=ee(_r);Q.prototype.visitUint8=ee(_r);Q.prototype.visitUint16=ee(_r);Q.prototype.visitUint32=ee(_r);Q.prototype.visitUint64=ee(_r);Q.prototype.visitFloat=ee(uu);Q.prototype.visitFloat16=ee(Ul);Q.prototype.visitFloat32=ee(qa);Q.prototype.visitFloat64=ee(qa);Q.prototype.visitUtf8=ee(Rl);Q.prototype.visitLargeUtf8=ee(Rl);Q.prototype.visitBinary=ee(Gl);Q.prototype.visitLargeBinary=ee(Gl);Q.prototype.visitFixedSizeBinary=ee(Xa);Q.prototype.visitDate=ee(Ya);Q.prototype.visitDateDay=ee(_s);Q.prototype.visitDateMillisecond=ee(us);Q.prototype.visitTimestamp=ee(Qa);Q.prototype.visitTimestampSecond=ee(ds);Q.prototype.visitTimestampMillisecond=ee(ps);Q.prototype.visitTimestampMicrosecond=ee(ms);Q.prototype.visitTimestampNanosecond=ee(gs);Q.prototype.visitTime=ee(Ja);Q.prototype.visitTimeSecond=ee(hs);Q.prototype.visitTimeMillisecond=ee(vs);Q.prototype.visitTimeMicrosecond=ee(bs);Q.prototype.visitTimeNanosecond=ee(ys);Q.prototype.visitDecimal=ee(Ka);Q.prototype.visitList=ee(du);Q.prototype.visitStruct=ee(vu);Q.prototype.visitUnion=ee(bu);Q.prototype.visitDenseUnion=ee(Ol);Q.prototype.visitSparseUnion=ee(Hl);Q.prototype.visitDictionary=ee(yu);Q.prototype.visitInterval=ee(Za);Q.prototype.visitIntervalDayTime=ee(Ss);Q.prototype.visitIntervalYearMonth=ee(As);Q.prototype.visitDuration=ee(eo);Q.prototype.visitDurationSecond=ee(Ls);Q.prototype.visitDurationMillisecond=ee(Es);Q.prototype.visitDurationMicrosecond=ee(ws);Q.prototype.visitDurationNanosecond=ee(Ds);Q.prototype.visitFixedSizeList=ee(Su);Q.prototype.visitMap=ee(fu);var Ve=new Q;var Tt=Symbol.for("parent"),gn=Symbol.for("rowIndex"),Ir=class{constructor(r,a){return this[Tt]=r,this[gn]=a,new Proxy(this,new ro)}toArray(){return Object.values(this.toJSON())}toJSON(){let r=this[gn],a=this[Tt],_=a.type.children,f={};for(let m=-1,g=_.length;++m<g;)f[_[m].name]=xe.visit(a.children[m],r);return f}toString(){return`{${[...this].map(([r,a])=>`${At(r)}: ${At(a)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new to(this[Tt],this[gn])}},to=class{constructor(r,a){this.childIndex=0,this.children=r.children,this.rowIndex=a,this.childFields=r.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){let r=this.childIndex;return r<this.numChildren?(this.childIndex=r+1,{done:!1,value:[this.childFields[r].name,xe.visit(this.children[r],this.rowIndex)]}):{done:!0,value:null}}};Object.defineProperties(Ir.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[Tt]:{writable:!0,enumerable:!1,configurable:!1,value:null},[gn]:{writable:!0,enumerable:!1,configurable:!1,value:-1}});var ro=class{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(r){return r[Tt].type.children.map(a=>a.name)}has(r,a){return r[Tt].type.children.findIndex(_=>_.name===a)!==-1}getOwnPropertyDescriptor(r,a){if(r[Tt].type.children.findIndex(_=>_.name===a)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(r,a){if(Reflect.has(r,a))return r[a];let _=r[Tt].type.children.findIndex(f=>f.name===a);if(_!==-1){let f=xe.visit(r[Tt].children[_],r[gn]);return Reflect.set(r,a,f),f}}set(r,a,_){let f=r[Tt].type.children.findIndex(m=>m.name===a);return f!==-1?(Ve.visit(r[Tt].children[f],r[gn],_),Reflect.set(r,a,_)):Reflect.has(r,a)||typeof a=="symbol"?Reflect.set(r,a,_):!1}};var $=class extends j{};function K(l){return(r,a)=>r.getValid(a)?l(r,a):null}var Au=(l,r)=>864e5*l[r],Lu=(l,r)=>null,Nl=(l,r,a)=>{if(a+1>=r.length)return null;let _=de(r[a]),f=de(r[a+1]);return l.subarray(_,f)},Eu=({offset:l,values:r},a)=>{let _=l+a;return(r[_>>3]&1<<_%8)!==0},Wl=({values:l},r)=>Au(l,r),Vl=({values:l},r)=>de(l[r]),kr=({stride:l,values:r},a)=>r[l*a],wu=({stride:l,values:r},a)=>cs(r[l*a]),zl=({values:l},r)=>l[r],Du=({stride:l,values:r},a)=>r.subarray(l*a,l*(a+1)),jl=({values:l,valueOffsets:r},a)=>Nl(l,r,a),$l=({values:l,valueOffsets:r},a)=>{let _=Nl(l,r,a);return _!==null?Rn(_):null},Fu=({values:l},r)=>l[r],Tu=({type:l,values:r},a)=>l.precision!==ye.HALF?r[a]:cs(r[a]),Pu=(l,r)=>l.type.unit===Ce.DAY?Wl(l,r):Vl(l,r),ql=({values:l},r)=>1e3*de(l[r]),Xl=({values:l},r)=>de(l[r]),Yl=({values:l},r)=>Wa(l[r],BigInt(1e3)),Ql=({values:l},r)=>Wa(l[r],BigInt(1e6)),Cu=(l,r)=>{switch(l.type.unit){case V.SECOND:return ql(l,r);case V.MILLISECOND:return Xl(l,r);case V.MICROSECOND:return Yl(l,r);case V.NANOSECOND:return Ql(l,r)}},Jl=({values:l},r)=>l[r],Kl=({values:l},r)=>l[r],Zl=({values:l},r)=>l[r],ec=({values:l},r)=>l[r],Iu=(l,r)=>{switch(l.type.unit){case V.SECOND:return Jl(l,r);case V.MILLISECOND:return Kl(l,r);case V.MICROSECOND:return Zl(l,r);case V.NANOSECOND:return ec(l,r)}},ku=({values:l,stride:r},a)=>ei.decimal(l.subarray(r*a,r*(a+1))),xu=(l,r)=>{let{valueOffsets:a,stride:_,children:f}=l,{[r*_]:m,[r*_+1]:g}=a,t=f[0].slice(m,g-m);return new ue([t])},Mu=(l,r)=>{let{valueOffsets:a,children:_}=l,{[r]:f,[r+1]:m}=a,g=_[0];return new Vt(g.slice(f,m-f))},Bu=(l,r)=>new Ir(l,r),Uu=(l,r)=>l.type.mode===Se.Dense?tc(l,r):rc(l,r),tc=(l,r)=>{let a=l.type.typeIdToChildIndex[l.typeIds[r]],_=l.children[a];return xe.visit(_,l.valueOffsets[r])},rc=(l,r)=>{let a=l.type.typeIdToChildIndex[l.typeIds[r]],_=l.children[a];return xe.visit(_,r)},Gu=(l,r)=>{var a;return(a=l.dictionary)===null||a===void 0?void 0:a.get(l.values[r])},Ru=(l,r)=>l.type.unit===Ge.DAY_TIME?nc(l,r):ic(l,r),nc=({values:l},r)=>l.subarray(2*r,2*(r+1)),ic=({values:l},r)=>{let a=l[r],_=new Int32Array(2);return _[0]=Math.trunc(a/12),_[1]=Math.trunc(a%12),_},sc=({values:l},r)=>l[r],ac=({values:l},r)=>l[r],oc=({values:l},r)=>l[r],lc=({values:l},r)=>l[r],Ou=(l,r)=>{switch(l.type.unit){case V.SECOND:return sc(l,r);case V.MILLISECOND:return ac(l,r);case V.MICROSECOND:return oc(l,r);case V.NANOSECOND:return lc(l,r)}},Hu=(l,r)=>{let{stride:a,children:_}=l,m=_[0].slice(r*a,a);return new ue([m])};$.prototype.visitNull=K(Lu);$.prototype.visitBool=K(Eu);$.prototype.visitInt=K(Fu);$.prototype.visitInt8=K(kr);$.prototype.visitInt16=K(kr);$.prototype.visitInt32=K(kr);$.prototype.visitInt64=K(zl);$.prototype.visitUint8=K(kr);$.prototype.visitUint16=K(kr);$.prototype.visitUint32=K(kr);$.prototype.visitUint64=K(zl);$.prototype.visitFloat=K(Tu);$.prototype.visitFloat16=K(wu);$.prototype.visitFloat32=K(kr);$.prototype.visitFloat64=K(kr);$.prototype.visitUtf8=K($l);$.prototype.visitLargeUtf8=K($l);$.prototype.visitBinary=K(jl);$.prototype.visitLargeBinary=K(jl);$.prototype.visitFixedSizeBinary=K(Du);$.prototype.visitDate=K(Pu);$.prototype.visitDateDay=K(Wl);$.prototype.visitDateMillisecond=K(Vl);$.prototype.visitTimestamp=K(Cu);$.prototype.visitTimestampSecond=K(ql);$.prototype.visitTimestampMillisecond=K(Xl);$.prototype.visitTimestampMicrosecond=K(Yl);$.prototype.visitTimestampNanosecond=K(Ql);$.prototype.visitTime=K(Iu);$.prototype.visitTimeSecond=K(Jl);$.prototype.visitTimeMillisecond=K(Kl);$.prototype.visitTimeMicrosecond=K(Zl);$.prototype.visitTimeNanosecond=K(ec);$.prototype.visitDecimal=K(ku);$.prototype.visitList=K(xu);$.prototype.visitStruct=K(Bu);$.prototype.visitUnion=K(Uu);$.prototype.visitDenseUnion=K(tc);$.prototype.visitSparseUnion=K(rc);$.prototype.visitDictionary=K(Gu);$.prototype.visitInterval=K(Ru);$.prototype.visitIntervalDayTime=K(nc);$.prototype.visitIntervalYearMonth=K(ic);$.prototype.visitDuration=K(Ou);$.prototype.visitDurationSecond=K(sc);$.prototype.visitDurationMillisecond=K(ac);$.prototype.visitDurationMicrosecond=K(oc);$.prototype.visitDurationNanosecond=K(lc);$.prototype.visitFixedSizeList=K(Hu);$.prototype.visitMap=K(Mu);var xe=new $;var xr=Symbol.for("keys"),vn=Symbol.for("vals"),hn=Symbol.for("kKeysAsStrings"),no=Symbol.for("_kKeysAsStrings"),Vt=class{constructor(r){return this[xr]=new ue([r.children[0]]).memoize(),this[vn]=r.children[1],new Proxy(this,new so)}get[hn](){return this[no]||(this[no]=Array.from(this[xr].toArray(),String))}[Symbol.iterator](){return new io(this[xr],this[vn])}get size(){return this[xr].length}toArray(){return Object.values(this.toJSON())}toJSON(){let r=this[xr],a=this[vn],_={};for(let f=-1,m=r.length;++f<m;)_[r.get(f)]=xe.visit(a,f);return _}toString(){return`{${[...this].map(([r,a])=>`${At(r)}: ${At(a)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}},io=class{constructor(r,a){this.keys=r,this.vals=a,this.keyIndex=0,this.numKeys=r.length}[Symbol.iterator](){return this}next(){let r=this.keyIndex;return r===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(r),xe.visit(this.vals,r)]})}},so=class{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(r){return r[hn]}has(r,a){return r[hn].includes(a)}getOwnPropertyDescriptor(r,a){if(r[hn].indexOf(a)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(r,a){if(Reflect.has(r,a))return r[a];let _=r[hn].indexOf(a);if(_!==-1){let f=xe.visit(Reflect.get(r,vn),_);return Reflect.set(r,a,f),f}}set(r,a,_){let f=r[hn].indexOf(a);return f!==-1?(Ve.visit(Reflect.get(r,vn),f,_),Reflect.set(r,a,_)):Reflect.has(r,a)?Reflect.set(r,a,_):!1}};Object.defineProperties(Vt.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[xr]:{writable:!0,enumerable:!1,configurable:!1,value:null},[vn]:{writable:!0,enumerable:!1,configurable:!1,value:null},[no]:{writable:!0,enumerable:!1,configurable:!1,value:null}});var cc;function ri(l,r,a,_){let{length:f=0}=l,m=typeof r!="number"?0:r,g=typeof a!="number"?f:a;return m<0&&(m=(m%f+f)%f),g<0&&(g=(g%f+f)%f),g<m&&(cc=m,m=g,g=cc),g>f&&(g=f),_?_(l,m,g):[m,g]}var Wr=(l,r)=>l<0?r+l:l,_c=l=>l!==l;function Mr(l){if(typeof l!=="object"||l===null)return _c(l)?_c:a=>a===l;if(l instanceof Date){let a=l.valueOf();return _=>_ instanceof Date?_.valueOf()===a:!1}return ArrayBuffer.isView(l)?a=>a?Ga(l,a):!1:l instanceof Map?Wu(l):Array.isArray(l)?Nu(l):l instanceof ue?Vu(l):zu(l,!0)}function Nu(l){let r=[];for(let a=-1,_=l.length;++a<_;)r[a]=Mr(l[a]);return Fs(r)}function Wu(l){let r=-1,a=[];for(let _ of l.values())a[++r]=Mr(_);return Fs(a)}function Vu(l){let r=[];for(let a=-1,_=l.length;++a<_;)r[a]=Mr(l.get(a));return Fs(r)}function zu(l,r=!1){let a=Object.keys(l);if(!r&&a.length===0)return()=>!1;let _=[];for(let f=-1,m=a.length;++f<m;)_[f]=Mr(l[a[f]]);return Fs(_,a)}function Fs(l,r){return a=>{if(!a||typeof a!="object")return!1;switch(a.constructor){case Array:return ju(l,a);case Map:return uc(l,a,a.keys());case Vt:case Ir:case Object:case void 0:return uc(l,a,r||Object.keys(a))}return a instanceof ue?$u(l,a):!1}}function ju(l,r){let a=l.length;if(r.length!==a)return!1;for(let _=-1;++_<a;)if(!l[_](r[_]))return!1;return!0}function $u(l,r){let a=l.length;if(r.length!==a)return!1;for(let _=-1;++_<a;)if(!l[_](r.get(_)))return!1;return!0}function uc(l,r,a){let _=a[Symbol.iterator](),f=r instanceof Map?r.keys():Object.keys(r)[Symbol.iterator](),m=r instanceof Map?r.values():Object.values(r)[Symbol.iterator](),g=0,e=l.length,t=m.next(),n=_.next(),o=f.next();for(;g<e&&!n.done&&!o.done&&!t.done&&!(n.value!==o.value||!l[g](t.value));++g,n=_.next(),o=f.next(),t=m.next());return g===e&&n.done&&o.done&&t.done?!0:(_.return&&_.return(),f.return&&f.return(),m.return&&m.return(),!1)}var oo={};Ar(oo,{BitIterator:()=>Vr,getBit:()=>dc,getBool:()=>Ps,packBools:()=>jr,popcnt_array:()=>fc,popcnt_bit_range:()=>ni,popcnt_uint32:()=>Ts,setBool:()=>qu,truncateBitmap:()=>zr});function Ps(l,r,a,_){return(a&1<<_)!==0}function dc(l,r,a,_){return(a&1<<_)>>_}function qu(l,r,a){return a?!!(l[r>>3]|=1<<r%8)||!0:!(l[r>>3]&=~(1<<r%8))&&!1}function zr(l,r,a){let _=a.byteLength+7&-8;if(l>0||a.byteLength<_){let f=new Uint8Array(_);return f.set(l%8===0?a.subarray(l>>3):jr(new Vr(a,l,r,null,Ps)).subarray(0,_)),f}return a}function jr(l){let r=[],a=0,_=0,f=0;for(let g of l)g&&(f|=1<<_),++_===8&&(r[a++]=f,f=_=0);(a===0||_>0)&&(r[a++]=f);let m=new Uint8Array(r.length+7&-8);return m.set(r),m}var Vr=class{constructor(r,a,_,f,m){this.bytes=r,this.length=_,this.context=f,this.get=m,this.bit=a%8,this.byteIndex=a>>3,this.byte=r[this.byteIndex++],this.index=0}next(){return this.index<this.length?(this.bit===8&&(this.bit=0,this.byte=this.bytes[this.byteIndex++]),{value:this.get(this.context,this.index++,this.byte,this.bit++)}):{done:!0,value:null}}[Symbol.iterator](){return this}};function ni(l,r,a){if(a-r<=0)return 0;if(a-r<8){let m=0;for(let g of new Vr(l,r,a-r,l,dc))m+=g;return m}let _=a>>3<<3,f=r+(r%8===0?0:8-r%8);return ni(l,r,f)+ni(l,_,a)+fc(l,f>>3,_-f>>3)}function fc(l,r,a){let _=0,f=Math.trunc(r),m=new DataView(l.buffer,l.byteOffset,l.byteLength),g=a===void 0?l.byteLength:f+a;for(;g-f>=4;)_+=Ts(m.getUint32(f)),f+=4;for(;g-f>=2;)_+=Ts(m.getUint16(f)),f+=2;for(;g-f>=1;)_+=Ts(m.getUint8(f)),f+=1;return _}function Ts(l){let r=Math.trunc(l);return r=r-(r>>>1&1431655765),r=(r&858993459)+(r>>>2&858993459),(r+(r>>>4)&252645135)*16843009>>>24}var Xu=-1,fe=class l{get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get nullable(){if(this._nullCount!==0){let{type:r}=this;return W.isSparseUnion(r)?this.children.some(a=>a.nullable):W.isDenseUnion(r)?this.children.some(a=>a.nullable):this.nullBitmap&&this.nullBitmap.byteLength>0}return!0}get byteLength(){let r=0,{valueOffsets:a,values:_,nullBitmap:f,typeIds:m}=this;return a&&(r+=a.byteLength),_&&(r+=_.byteLength),f&&(r+=f.byteLength),m&&(r+=m.byteLength),this.children.reduce((g,e)=>g+e.byteLength,r)}get nullCount(){if(W.isUnion(this.type))return this.children.reduce((_,f)=>_+f.nullCount,0);let r=this._nullCount,a;return r<=Xu&&(a=this.nullBitmap)&&(this._nullCount=r=a.length===0?0:this.length-ni(a,this.offset,this.offset+this.length)),r}constructor(r,a,_,f,m,g=[],e){this.type=r,this.children=g,this.dictionary=e,this.offset=Math.floor(Math.max(a||0,0)),this.length=Math.floor(Math.max(_||0,0)),this._nullCount=Math.floor(Math.max(f||0,-1));let t;m instanceof l?(this.stride=m.stride,this.values=m.values,this.typeIds=m.typeIds,this.nullBitmap=m.nullBitmap,this.valueOffsets=m.valueOffsets):(this.stride=ot(r),m&&((t=m[0])&&(this.valueOffsets=t),(t=m[1])&&(this.values=t),(t=m[2])&&(this.nullBitmap=t),(t=m[3])&&(this.typeIds=t)))}getValid(r){let{type:a}=this;if(W.isUnion(a)){let _=a,f=this.children[_.typeIdToChildIndex[this.typeIds[r]]],m=_.mode===Se.Dense?this.valueOffsets[r]:r;return f.getValid(m)}if(this.nullable&&this.nullCount>0){let _=this.offset+r;return(this.nullBitmap[_>>3]&1<<_%8)!==0}return!0}setValid(r,a){let _,{type:f}=this;if(W.isUnion(f)){let m=f,g=this.children[m.typeIdToChildIndex[this.typeIds[r]]],e=m.mode===Se.Dense?this.valueOffsets[r]:r;_=g.getValid(e),g.setValid(e,a)}else{let{nullBitmap:m}=this,{offset:g,length:e}=this,t=g+r,n=1<<t%8,o=t>>3;(!m||m.byteLength<=o)&&(m=new Uint8Array((g+e+63&-64)>>3).fill(255),this.nullCount>0?(m.set(zr(g,e,this.nullBitmap),0),Object.assign(this,{nullBitmap:m})):Object.assign(this,{nullBitmap:m,_nullCount:0}));let c=m[o];_=(c&n)!==0,m[o]=a?c|n:c&~n}return _!==!!a&&(this._nullCount=this.nullCount+(a?-1:1)),a}clone(r=this.type,a=this.offset,_=this.length,f=this._nullCount,m=this,g=this.children){return new l(r,a,_,f,m,g,this.dictionary)}slice(r,a){let{stride:_,typeId:f,children:m}=this,g=+(this._nullCount===0)-1,e=f===16?_:1,t=this._sliceBuffers(r,a,_,f);return this.clone(this.type,this.offset+r,a,g,t,m.length===0||this.valueOffsets?m:this._sliceChildren(m,e*r,e*a))}_changeLengthAndBackfillNullBitmap(r){if(this.typeId===D.Null)return this.clone(this.type,0,r,0);let{length:a,nullCount:_}=this,f=new Uint8Array((r+63&-64)>>3).fill(255,0,a>>3);f[a>>3]=(1<<a-(a&-8))-1,_>0&&f.set(zr(this.offset,a,this.nullBitmap),0);let m=this.buffers;return m[ut.VALIDITY]=f,this.clone(this.type,0,r,_+(r-a),m)}_sliceBuffers(r,a,_,f){let m,{buffers:g}=this;return(m=g[ut.TYPE])&&(g[ut.TYPE]=m.subarray(r,r+a)),(m=g[ut.OFFSET])&&(g[ut.OFFSET]=m.subarray(r,r+a+1))||(m=g[ut.DATA])&&(g[ut.DATA]=f===6?m:m.subarray(_*r,_*(r+a))),g}_sliceChildren(r,a,_){return r.map(f=>f.slice(a,_))}};fe.prototype.children=Object.freeze([]);var lo=class l extends j{visit(r){return this.getVisitFn(r.type).call(this,r)}visitNull(r){let{["type"]:a,["offset"]:_=0,["length"]:f=0}=r;return new fe(a,_,f,f)}visitBool(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length>>3,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitInt(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitFloat(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitUtf8(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.data),m=J(r.nullBitmap),g=Hr(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,f,m])}visitLargeUtf8(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.data),m=J(r.nullBitmap),g=$i(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,f,m])}visitBinary(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.data),m=J(r.nullBitmap),g=Hr(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,f,m])}visitLargeBinary(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.data),m=J(r.nullBitmap),g=$i(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,f,m])}visitFixedSizeBinary(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/ot(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitDate(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/ot(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitTimestamp(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/ot(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitTime(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/ot(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitDecimal(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/ot(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitList(r){let{["type"]:a,["offset"]:_=0,["child"]:f}=r,m=J(r.nullBitmap),g=Hr(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,void 0,m],[f])}visitStruct(r){let{["type"]:a,["offset"]:_=0,["children"]:f=[]}=r,m=J(r.nullBitmap),{length:g=f.reduce((t,{length:n})=>Math.max(t,n),0),nullCount:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,void 0,m],f)}visitUnion(r){let{["type"]:a,["offset"]:_=0,["children"]:f=[]}=r,m=le(a.ArrayType,r.typeIds),{["length"]:g=m.length,["nullCount"]:e=-1}=r;if(W.isSparseUnion(a))return new fe(a,_,g,e,[void 0,void 0,void 0,m],f);let t=Hr(r.valueOffsets);return new fe(a,_,g,e,[t,void 0,void 0,m],f)}visitDictionary(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.indices.ArrayType,r.data),{["dictionary"]:g=new ue([new l().visit({type:a.dictionary})])}=r,{["length"]:e=m.length,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[void 0,m,f],[],g)}visitInterval(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/ot(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitDuration(r){let{["type"]:a,["offset"]:_=0}=r,f=J(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitFixedSizeList(r){let{["type"]:a,["offset"]:_=0,["child"]:f=new l().visit({type:a.valueType})}=r,m=J(r.nullBitmap),{["length"]:g=f.length/ot(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,void 0,m],[f])}visitMap(r){let{["type"]:a,["offset"]:_=0,["child"]:f=new l().visit({type:a.childType})}=r,m=J(r.nullBitmap),g=Hr(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,void 0,m],[f])}},Yu=new lo;function ne(l){return Yu.visit(l)}var ii=class{constructor(r=0,a){this.numChunks=r,this.getChunkIterator=a,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndex<this.numChunks;){let r=this.chunkIterator.next();if(!r.done)return r;++this.chunkIndex<this.numChunks&&(this.chunkIterator=this.getChunkIterator(this.chunkIndex))}return{done:!0,value:null}}[Symbol.iterator](){return this}};function pc(l){return l.some(r=>r.nullable)}function Cs(l){return l.reduce((r,a)=>r+a.nullCount,0)}function Is(l){return l.reduce((r,a,_)=>(r[_+1]=r[_]+a.length,r),new Uint32Array(l.length+1))}function ks(l,r,a,_){let f=[];for(let m=-1,g=l.length;++m<g;){let e=l[m],t=r[m],{length:n}=e;if(t>=_)break;if(a>=t+n)continue;if(t>=a&&t+n<=_){f.push(e);continue}let o=Math.max(0,a-t),c=Math.min(_-t,n);f.push(e.slice(o,c-o))}return f.length===0&&f.push(l[0].slice(0,0)),f}function co(l,r,a,_){let f=0,m=0,g=r.length-1;do{if(f>=g-1)return a<r[g]?_(l,f,a-r[f]):null;m=f+Math.trunc((g-f)*.5),a<r[m]?g=m:f=m}while(f<g)}function si(l,r){return l.getValid(r)}function bn(l){function r(a,_,f){return l(a[_],f)}return function(a){let _=this.data;return co(_,this._offsets,a,r)}}function xs(l){let r;function a(_,f,m){return l(_[f],m,r)}return function(_,f){let m=this.data;r=f;let g=co(m,this._offsets,_,a);return r=void 0,g}}function Ms(l){let r;function a(_,f,m){let g=m,e=0,t=0;for(let n=f-1,o=_.length;++n<o;){let c=_[n];if(~(e=l(c,r,g)))return t+e;g=0,t+=c.length}return-1}return function(_,f){r=_;let m=this.data,g=typeof f!="number"?a(m,0,0):co(m,this._offsets,f,a);return r=void 0,g}}var q=class extends j{};function Qu(l,r){return r===null&&l.length>0?0:-1}function Ju(l,r){let{nullBitmap:a}=l;if(!a||l.nullCount<=0)return-1;let _=0;for(let f of new Vr(a,l.offset+(r||0),l.length,a,Ps)){if(!f)return _;++_}return-1}function ie(l,r,a){if(r===void 0)return-1;if(r===null)switch(l.typeId){case D.Union:break;case D.Dictionary:break;default:return Ju(l,a)}let _=xe.getVisitFn(l),f=Mr(r);for(let m=(a||0)-1,g=l.length;++m<g;)if(f(_(l,m)))return m;return-1}function mc(l,r,a){let _=xe.getVisitFn(l),f=Mr(r);for(let m=(a||0)-1,g=l.length;++m<g;)if(f(_(l,m)))return m;return-1}q.prototype.visitNull=Qu;q.prototype.visitBool=ie;q.prototype.visitInt=ie;q.prototype.visitInt8=ie;q.prototype.visitInt16=ie;q.prototype.visitInt32=ie;q.prototype.visitInt64=ie;q.prototype.visitUint8=ie;q.prototype.visitUint16=ie;q.prototype.visitUint32=ie;q.prototype.visitUint64=ie;q.prototype.visitFloat=ie;q.prototype.visitFloat16=ie;q.prototype.visitFloat32=ie;q.prototype.visitFloat64=ie;q.prototype.visitUtf8=ie;q.prototype.visitLargeUtf8=ie;q.prototype.visitBinary=ie;q.prototype.visitLargeBinary=ie;q.prototype.visitFixedSizeBinary=ie;q.prototype.visitDate=ie;q.prototype.visitDateDay=ie;q.prototype.visitDateMillisecond=ie;q.prototype.visitTimestamp=ie;q.prototype.visitTimestampSecond=ie;q.prototype.visitTimestampMillisecond=ie;q.prototype.visitTimestampMicrosecond=ie;q.prototype.visitTimestampNanosecond=ie;q.prototype.visitTime=ie;q.prototype.visitTimeSecond=ie;q.prototype.visitTimeMillisecond=ie;q.prototype.visitTimeMicrosecond=ie;q.prototype.visitTimeNanosecond=ie;q.prototype.visitDecimal=ie;q.prototype.visitList=ie;q.prototype.visitStruct=ie;q.prototype.visitUnion=ie;q.prototype.visitDenseUnion=mc;q.prototype.visitSparseUnion=mc;q.prototype.visitDictionary=ie;q.prototype.visitInterval=ie;q.prototype.visitIntervalDayTime=ie;q.prototype.visitIntervalYearMonth=ie;q.prototype.visitDuration=ie;q.prototype.visitDurationSecond=ie;q.prototype.visitDurationMillisecond=ie;q.prototype.visitDurationMicrosecond=ie;q.prototype.visitDurationNanosecond=ie;q.prototype.visitFixedSizeList=ie;q.prototype.visitMap=ie;var $r=new q;var X=class extends j{};function Z(l){let{type:r}=l;if(l.nullCount===0&&l.stride===1&&(W.isInt(r)&&r.bitWidth!==64||W.isTime(r)&&r.bitWidth!==64||W.isFloat(r)&&r.precision!==ye.HALF))return new ii(l.data.length,_=>{let f=l.data[_];return f.values.subarray(0,f.length)[Symbol.iterator]()});let a=0;return new ii(l.data.length,_=>{let m=l.data[_].length,g=l.slice(a,a+m);return a+=m,new _o(g)})}var _o=class{constructor(r){this.vector=r,this.index=0}next(){return this.index<this.vector.length?{value:this.vector.get(this.index++)}:{done:!0,value:null}}[Symbol.iterator](){return this}};X.prototype.visitNull=Z;X.prototype.visitBool=Z;X.prototype.visitInt=Z;X.prototype.visitInt8=Z;X.prototype.visitInt16=Z;X.prototype.visitInt32=Z;X.prototype.visitInt64=Z;X.prototype.visitUint8=Z;X.prototype.visitUint16=Z;X.prototype.visitUint32=Z;X.prototype.visitUint64=Z;X.prototype.visitFloat=Z;X.prototype.visitFloat16=Z;X.prototype.visitFloat32=Z;X.prototype.visitFloat64=Z;X.prototype.visitUtf8=Z;X.prototype.visitLargeUtf8=Z;X.prototype.visitBinary=Z;X.prototype.visitLargeBinary=Z;X.prototype.visitFixedSizeBinary=Z;X.prototype.visitDate=Z;X.prototype.visitDateDay=Z;X.prototype.visitDateMillisecond=Z;X.prototype.visitTimestamp=Z;X.prototype.visitTimestampSecond=Z;X.prototype.visitTimestampMillisecond=Z;X.prototype.visitTimestampMicrosecond=Z;X.prototype.visitTimestampNanosecond=Z;X.prototype.visitTime=Z;X.prototype.visitTimeSecond=Z;X.prototype.visitTimeMillisecond=Z;X.prototype.visitTimeMicrosecond=Z;X.prototype.visitTimeNanosecond=Z;X.prototype.visitDecimal=Z;X.prototype.visitList=Z;X.prototype.visitStruct=Z;X.prototype.visitUnion=Z;X.prototype.visitDenseUnion=Z;X.prototype.visitSparseUnion=Z;X.prototype.visitDictionary=Z;X.prototype.visitInterval=Z;X.prototype.visitIntervalDayTime=Z;X.prototype.visitIntervalYearMonth=Z;X.prototype.visitDuration=Z;X.prototype.visitDurationSecond=Z;X.prototype.visitDurationMillisecond=Z;X.prototype.visitDurationMicrosecond=Z;X.prototype.visitDurationNanosecond=Z;X.prototype.visitFixedSizeList=Z;X.prototype.visitMap=Z;var yn=new X;var gc,hc={},vc={},ue=class l{constructor(r){var a,_,f;let m=r[0]instanceof l?r.flatMap(e=>e.data):r;if(m.length===0||m.some(e=>!(e instanceof fe)))throw new TypeError("Vector constructor expects an Array of Data instances.");let g=(a=m[0])===null||a===void 0?void 0:a.type;switch(m.length){case 0:this._offsets=[0];break;case 1:{let{get:e,set:t,indexOf:n}=hc[g.typeId],o=m[0];this.isValid=c=>si(o,c),this.get=c=>e(o,c),this.set=(c,u)=>t(o,c,u),this.indexOf=c=>n(o,c),this._offsets=[0,o.length];break}default:Object.setPrototypeOf(this,vc[g.typeId]),this._offsets=Is(m);break}this.data=m,this.type=g,this.stride=ot(g),this.numChildren=(f=(_=g.children)===null||_===void 0?void 0:_.length)!==null&&f!==void 0?f:0,this.length=this._offsets.at(-1)}get byteLength(){return this.data.reduce((r,a)=>r+a.byteLength,0)}get nullable(){return pc(this.data)}get nullCount(){return Cs(this.data)}get ArrayType(){return this.type.ArrayType}get[Symbol.toStringTag](){return`${this.VectorName}<${this.type[Symbol.toStringTag]}>`}get VectorName(){return`${D[this.type.typeId]}Vector`}isValid(r){return!1}get(r){return null}at(r){return this.get(Wr(r,this.length))}set(r,a){}indexOf(r,a){return-1}includes(r,a){return this.indexOf(r,a)>-1}[Symbol.iterator](){return yn.visit(this)}concat(...r){return new l(this.data.concat(r.flatMap(a=>a.data).flat(Number.POSITIVE_INFINITY)))}slice(r,a){return new l(ri(this,r,a,({data:_,_offsets:f},m,g)=>ks(_,f,m,g)))}toJSON(){return[...this]}toArray(){let{type:r,data:a,length:_,stride:f,ArrayType:m}=this;switch(r.typeId){case D.Int:case D.Float:case D.Decimal:case D.Time:case D.Timestamp:switch(a.length){case 0:return new m;case 1:return a[0].values.subarray(0,_*f);default:return a.reduce((g,{values:e,length:t})=>(g.array.set(e.subarray(0,t*f),g.offset),g.offset+=t*f,g),{array:new m(_*f),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(r){var a;return this.getChildAt((a=this.type.children)===null||a===void 0?void 0:a.findIndex(_=>_.name===r))}getChildAt(r){return r>-1&&r<this.numChildren?new l(this.data.map(({children:a})=>a[r])):null}get isMemoized(){return W.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(W.isDictionary(this.type)){let r=new Bs(this.data[0].dictionary),a=this.data.map(_=>{let f=_.clone();return f.dictionary=r,f});return new l(a)}return new Bs(this)}unmemoize(){if(W.isDictionary(this.type)&&this.isMemoized){let r=this.data[0].dictionary.unmemoize(),a=this.data.map(_=>{let f=_.clone();return f.dictionary=r,f});return new l(a)}return this}};gc=Symbol.toStringTag;ue[gc]=(l=>{l.type=W.prototype,l.data=[],l.length=0,l.stride=1,l.numChildren=0,l._offsets=new Uint32Array([0]),l[Symbol.isConcatSpreadable]=!0;let r=Object.keys(D).map(a=>D[a]).filter(a=>typeof a=="number"&&a!==D.NONE);for(let a of r){let _=xe.getVisitFnByTypeId(a),f=Ve.getVisitFnByTypeId(a),m=$r.getVisitFnByTypeId(a);hc[a]={get:_,set:f,indexOf:m},vc[a]=Object.create(l,{isValid:{value:bn(si)},get:{value:bn(xe.getVisitFnByTypeId(a))},set:{value:xs(Ve.getVisitFnByTypeId(a))},indexOf:{value:Ms($r.getVisitFnByTypeId(a))}})}return"Vector"})(ue.prototype);var Bs=class l extends ue{constructor(r){super(r.data);let a=this.get,_=this.set,f=this.slice,m=new Array(this.length);Object.defineProperty(this,"get",{value(g){let e=m[g];if(e!==void 0)return e;let t=a.call(this,g);return m[g]=t,t}}),Object.defineProperty(this,"set",{value(g,e){_.call(this,g,e),m[g]=e}}),Object.defineProperty(this,"slice",{value:(g,e)=>new l(f.call(this,g,e))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new ue(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}};function bc(l){if(!l||l.length<=0)return function(f){return!0};let r="",a=l.filter(_=>_===_);return a.length>0&&(r=`
|
|
30
30
|
switch (x) {${a.map(_=>`
|
|
31
31
|
case ${Ku(_)}:`).join("")}
|
|
32
32
|
return false;
|