@duckdb/duckdb-wasm 1.33.1-dev111.0 → 1.33.1-dev113.0

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.
@@ -23,7 +23,7 @@ ${b}
23
23
  `,v.push(`${w}_dtor`))}return n&&(y+=`var ret = fromRetWire(rv);
24
24
  return ret;
25
25
  `),y+=`}
26
- `,new Function(v,y)}class UnboundTypeError extends Error{}class PureVirtualError extends Error{}var EmValOptionalType=Object.assign({optional:!0},EmValType),throwUnboundTypeError=(e,t)=>{var n=[],a={};function c(u){if(!a[u]&&!registeredTypes[u]){if(typeDependencies[u]){typeDependencies[u].forEach(c);return}n.push(u),a[u]=!0}}throw t.forEach(c),new UnboundTypeError(`${e}: `+n.map(getTypeName).join([", "]))},ensureOverloadTable=(e,t,n)=>{if(e[t].overloadTable===void 0){var a=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[a.argCount]=a}},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},registeredInstances={},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]),getInheritedInstanceCount=()=>Object.keys(registeredInstances).length,getLiveInheritedInstances=()=>{var e=[];for(var t in registeredInstances)registeredInstances.hasOwnProperty(t)&&e.push(registeredInstances[t]);return e},registeredPointers={},enumReadValueFromPointer=(e,t,n)=>{switch(t){case 1:return n?function(a){return this.fromWireType((growMemViews(),HEAP8)[a>>>0])}:function(a){return this.fromWireType((growMemViews(),HEAPU8)[a>>>0])};case 2:return n?function(a){return this.fromWireType((growMemViews(),HEAP16)[a>>>1>>>0])}:function(a){return this.fromWireType((growMemViews(),HEAPU16)[a>>>1>>>0])};case 4:return n?function(a){return this.fromWireType((growMemViews(),HEAP32)[a>>>2>>>0])}:function(a){return this.fromWireType((growMemViews(),HEAPU32)[a>>>2>>>0])};default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},installIndexedIterator=(e,t,n)=>{let a=(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 a(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,a,c,u){var d=t.length;d<2&&throwBindingError("argTypes array size mismatch! Must at least get return value and receiver (this) types!");for(var p=t[1]!==null&&n!==null,g=usesDestructorStack(t),y=!t[0].isVoid,b=d-2,v=t[0],A=t[1],T=[e,throwBindingError,a,c,runDestructors,v.fromWireType.bind(v),A==null?void 0:A.toWireType.bind(A)],w=2;w<d;++w){var E=t[w];T.push(E.toWireType.bind(E))}if(!g)for(var w=p?1:2;w<t.length;++w)t[w].destructorFunction!==null&&T.push(t[w].destructorFunction);var L=createJsInvoker(t,p,y,u)(...T);return createNamedFunction(e,L)}var embind__requireFunction=(e,t,n=!1)=>{e=AsciiToString(e);function a(){if(e.includes("p"))return getDynCaller(e,t,n);var u=getWasmTableEntry(t);return u}var c=a();return typeof c!="function"&&throwBindingError(`unknown function pointer with signature ${e}: ${t}`),c};function __embind_register_function(e,t,n,a,c,u,d,p){e>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0;var g=heap32VectorToArray(t,n);e=AsciiToString(e),e=getFunctionName(e),c=embind__requireFunction(a,c,d),exposePublicSymbol(e,function(){throwUnboundTypeError(`Cannot call ${e} due to unbound types`,g)},t-1),whenDependentTypesAreResolved([],g,y=>{var b=[y[0],null].concat(y.slice(1));return replacePublicSymbol(e,craftInvokerFunction(e,b,null,c,u,d),t-1),[]})}__embind_register_function.sig="vpippppii";function __embind_register_value_array(e,t,n,a,c,u){e>>>=0,t>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0,tupleRegistrations[e]={name:AsciiToString(t),rawConstructor:embind__requireFunction(n,a),rawDestructor:embind__requireFunction(c,u),elements:[]}}__embind_register_value_array.sig="vpppppp";function __embind_register_value_array_element(e,t,n,a,c,u,d,p,g){e>>>=0,t>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,g>>>=0,tupleRegistrations[e].elements.push({getterReturnType:t,getter:embind__requireFunction(n,a),getterContext:c,setterArgumentType:u,setter:embind__requireFunction(d,p),setterContext:g})}__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,a=n.length,c=n.map(p=>p.getterReturnType).concat(n.map(p=>p.setterArgumentType)),u=t.rawConstructor,d=t.rawDestructor;whenDependentTypesAreResolved([e],c,p=>{for(let[g,y]of n.entries()){let b=p[g],v=y.getter,A=y.getterContext,T=p[g+a],w=y.setter,E=y.setterContext;y.read=M=>b.fromWireType(v(A,M)),y.write=(M,L)=>{var I=[];w(E,M,T.toWireType(I,L)),runDestructors(I)}}return[{name:t.name,fromWireType:g=>{for(var y=new Array(a),b=0;b<a;++b)y[b]=n[b].read(g);return d(g),y},toWireType:(g,y)=>{if(a!==y.length)throw new TypeError(`Incorrect number of tuple elements for ${t.name}: expected=${a}, actual=${y.length}`);for(var b=u(),v=0;v<a;++v)n[v].write(b,y[v]);return g!==null&&g.push(d,b),b},readValueFromPointer:readPointer,destructorFunction:d}]})};__embind_finalize_value_array.sig="vp";function __embind_register_value_object(e,t,n,a,c,u){e>>>=0,t>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0,structRegistrations[e]={name:AsciiToString(t),rawConstructor:embind__requireFunction(n,a),rawDestructor:embind__requireFunction(c,u),fields:[]}}__embind_register_value_object.sig="vpppppp";function __embind_register_value_object_field(e,t,n,a,c,u,d,p,g,y){e>>>=0,t>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,g>>>=0,y>>>=0,structRegistrations[e].fields.push({fieldName:AsciiToString(t),getterReturnType:n,getter:embind__requireFunction(a,c),getterContext:u,setterArgumentType:d,setter:embind__requireFunction(p,g),setterContext:y})}__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,a=t.rawDestructor,c=t.fields,u=c.map(d=>d.getterReturnType).concat(c.map(d=>d.setterArgumentType));whenDependentTypesAreResolved([e],u,d=>{var p={};for(var[g,y]of c.entries()){let b=d[g],v=y.getter,A=y.getterContext,T=d[g+c.length],w=y.setter,E=y.setterContext;p[y.fieldName]={read:M=>b.fromWireType(v(A,M)),write:(M,L)=>{var I=[];w(E,M,T.toWireType(I,L)),runDestructors(I)},optional:b.optional}}return[{name:t.name,fromWireType:b=>{var v={};for(var A in p)v[A]=p[A].read(b);return a(b),v},toWireType:(b,v)=>{for(var A in p)if(!(A in v)&&!p[A].optional)throw new TypeError(`Missing field: "${A}"`);var T=n();for(A in p)p[A].write(T,v[A]);return b!==null&&b.push(a,T),T},readValueFromPointer:readPointer,destructorFunction:a}]})};__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 a=t.$$.ptrType.registeredClass;if(n=upcastPointer(t.$$.ptr,a,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,a=upcastPointer(t.$$.ptr,n,this.registeredClass);return a}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,a=upcastPointer(t.$$.ptr,n,this.registeredClass);return a}function RegisteredPointer(e,t,n,a,c,u,d,p,g,y,b){this.name=e,this.registeredClass=t,this.isReference=n,this.isConst=a,this.isSmartPointer=c,this.pointeeType=u,this.sharingPolicy=d,this.rawGetPointee=p,this.rawConstructor=g,this.rawShare=y,this.rawDestructor=b,!c&&t.baseClass===void 0?a?(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 a=downcastPointer(e,t,n.baseClass);return a===null?null:n.downcast(a)},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.$$,a=!!n.smartPtr;if(a){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,a=!!t.smartPtr;return n!==a&&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 a=n.clone();return this.destructor(e),a}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 g=downcastPointer(t,this.registeredClass,p.registeredClass);return g===null?c.call(this):this.isSmartPointer?makeClassHandle(p.registeredClass.instancePrototype,{ptrType:p,ptr:g,smartPtrType:this,smartPtr:e}):makeClassHandle(p.registeredClass.instancePrototype,{ptrType:p,ptr:g})}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})},detachFinalizer_deps=["$finalizationRegistry"];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 a=this.$$.ptrType.registeredClass,c=this.$$.ptr;n.$$=n.$$;for(var u=n.$$.ptrType.registeredClass,d=n.$$.ptr;a.baseClass;)c=a.upcast(c),a=a.baseClass;for(;u.baseClass;)d=u.upcast(d),u=u.baseClass;return a===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,a,c,u,d,p){this.name=e,this.constructor=t,this.instancePrototype=n,this.rawDestructor=a,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,a,c,u,d,p,g,y,b,v,A){e>>>=0,t>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,g>>>=0,y>>>=0,b>>>=0,v>>>=0,A>>>=0,b=AsciiToString(b),u=embind__requireFunction(c,u),p&&(p=embind__requireFunction(d,p)),y&&(y=embind__requireFunction(g,y)),A=embind__requireFunction(v,A);var T=makeLegalFunctionName(b);exposePublicSymbol(T,function(){throwUnboundTypeError(`Cannot construct ${b} due to unbound types`,[a])}),whenDependentTypesAreResolved([e,t,n],a?[a]:[],w=>{var R,k;w=w[0];var E,M;a?(E=w.registeredClass,M=E.instancePrototype):M=ClassHandle.prototype;var L=createNamedFunction(b,function(...W){if(Object.getPrototypeOf(this)!==I)throw new BindingError(`Use 'new' to construct ${b}`);if(F.constructor_body===void 0)throw new BindingError(`${b} has no accessible constructor`);var de=F.constructor_body[W.length];if(de===void 0)throw new BindingError(`Tried to invoke ctor of ${b} with invalid number of parameters (${W.length}) - expected (${Object.keys(F.constructor_body).toString()}) parameters instead!`);return de.apply(this,W)}),I=Object.create(M,{constructor:{value:L}});L.prototype=I;var F=new RegisteredClass(b,L,I,A,E,u,p,y);F.baseClass&&((k=(R=F.baseClass).__derivedClasses)!=null||(R.__derivedClasses=[]),F.baseClass.__derivedClasses.push(F));var N=new RegisteredPointer(b,F,!0,!1,!1),P=new RegisteredPointer(b+"*",F,!1,!1,!1),x=new RegisteredPointer(b+" const*",F,!1,!0,!1);return registeredPointers[e]={pointerType:P,constPointerType:x},replacePublicSymbol(T,L),[N,P,x]})}__embind_register_class.sig="vppppppppppppp";var __embind_register_iterable=function(e,t,n,a){e>>>=0,t>>>=0,n>>>=0,a>>>=0,n=AsciiToString(n),a=AsciiToString(a),whenDependentTypesAreResolved([],[e,t],c=>{let u=c[0];return installIndexedIterator(u.registeredClass.instancePrototype,n,a),[]})};__embind_register_iterable.sig="vpppp";var __embind_register_class_constructor=function(e,t,n,a,c,u){e>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0;var d=heap32VectorToArray(t,n);c=embind__requireFunction(a,c);var p=[u],g=[];whenDependentTypesAreResolved([],[e],y=>{y=y[0];var b=`constructor ${y.name}`;if(y.registeredClass.constructor_body===void 0&&(y.registeredClass.constructor_body=[]),y.registeredClass.constructor_body[t-1]!==void 0)throw new BindingError(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${y.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return y.registeredClass.constructor_body[t-1]=()=>{throwUnboundTypeError(`Cannot construct ${y.name} due to unbound types`,d)},whenDependentTypesAreResolved([],d,v=>(v.splice(1,0,null),y.registeredClass.constructor_body[t-1]=craftInvokerFunction(b,v,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,a,c,u,d,p,g,y){e>>>=0,t>>>=0,a>>>=0,c>>>=0,u>>>=0,d>>>=0;var b=heap32VectorToArray(n,a);t=AsciiToString(t),t=getFunctionName(t),u=embind__requireFunction(c,u,g),whenDependentTypesAreResolved([],[e],v=>{v=v[0];var A=`${v.name}.${t}`;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),p&&v.registeredClass.pureVirtualFunctions.push(t);function T(){throwUnboundTypeError(`Cannot call ${A} due to unbound types`,b)}var w=v.registeredClass.instancePrototype,E=w[t];return E===void 0||E.overloadTable===void 0&&E.className!==v.name&&E.argCount===n-2?(T.argCount=n-2,T.className=v.name,w[t]=T):(ensureOverloadTable(w,t,A),w[t].overloadTable[n-2]=T),whenDependentTypesAreResolved([],b,M=>{var L=craftInvokerFunction(A,M,v,u,d,g);return w[t].overloadTable===void 0?(L.argCount=n-2,w[t]=L):w[t].overloadTable[n-2]=L,[]}),[]})};__embind_register_class_function.sig="vppippppiii";var __embind_register_class_property=function(e,t,n,a,c,u,d,p,g,y){e>>>=0,t>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,g>>>=0,y>>>=0,t=AsciiToString(t),c=embind__requireFunction(a,c),whenDependentTypesAreResolved([],[e],b=>{b=b[0];var v=`${b.name}.${t}`,A={get(){throwUnboundTypeError(`Cannot access ${v} due to unbound types`,[n,d])},enumerable:!0,configurable:!0};return g?A.set=()=>throwUnboundTypeError(`Cannot access ${v} due to unbound types`,[n,d]):A.set=T=>throwBindingError(v+" is a read-only property"),Object.defineProperty(b.registeredClass.instancePrototype,t,A),whenDependentTypesAreResolved([],g?[n,d]:[n],T=>{var w=T[0],E={get(){var L=validateThis(this,b,v+" getter");return w.fromWireType(c(u,L))},enumerable:!0};if(g){g=embind__requireFunction(p,g);var M=T[1];E.set=function(L){var I=validateThis(this,b,v+" setter"),F=[];g(y,I,M.toWireType(F,L)),runDestructors(F)}}return Object.defineProperty(b.registeredClass.instancePrototype,t,E),[]}),[]})};__embind_register_class_property.sig="vpppppppppp";var __embind_register_class_class_function=function(e,t,n,a,c,u,d,p,g){e>>>=0,t>>>=0,a>>>=0,c>>>=0,u>>>=0,d>>>=0;var y=heap32VectorToArray(n,a);t=AsciiToString(t),t=getFunctionName(t),u=embind__requireFunction(c,u,p),whenDependentTypesAreResolved([],[e],b=>{b=b[0];var v=`${b.name}.${t}`;function A(){throwUnboundTypeError(`Cannot call ${v} due to unbound types`,y)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]);var T=b.registeredClass.constructor;return T[t]===void 0?(A.argCount=n-1,T[t]=A):(ensureOverloadTable(T,t,v),T[t].overloadTable[n-1]=A),whenDependentTypesAreResolved([],y,w=>{var E=[w[0],null].concat(w.slice(1)),M=craftInvokerFunction(v,E,null,u,d,p);if(T[t].overloadTable===void 0?(M.argCount=n-1,T[t]=M):T[t].overloadTable[n-1]=M,b.registeredClass.__derivedClasses)for(let L of b.registeredClass.__derivedClasses)L.constructor.hasOwnProperty(t)||(L.constructor[t]=M);return[]}),[]})};__embind_register_class_class_function.sig="vppippppii";var __embind_register_class_class_property=function(e,t,n,a,c,u,d,p){e>>>=0,t>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,t=AsciiToString(t),u=embind__requireFunction(c,u),whenDependentTypesAreResolved([],[e],g=>{g=g[0];var y=`${g.name}.${t}`,b={get(){throwUnboundTypeError(`Cannot access ${y} due to unbound types`,[n])},enumerable:!0,configurable:!0};return p?b.set=()=>{throwUnboundTypeError(`Cannot access ${y} due to unbound types`,[n])}:b.set=v=>{throwBindingError(`${y} is a read-only property`)},Object.defineProperty(g.registeredClass.constructor,t,b),whenDependentTypesAreResolved([],[n],v=>{v=v[0];var A={get(){return v.fromWireType(u(a))},enumerable:!0};return p&&(p=embind__requireFunction(d,p),A.set=T=>{var w=[];p(a,v.toWireType(w,T)),runDestructors(w)}),Object.defineProperty(g.registeredClass.constructor,t,A),[]}),[]})};__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 a=t.registeredClass,c=a.instancePrototype,u=a.baseClass,d=u.instancePrototype,p=a.baseClass.constructor,g=createNamedFunction(e,function(...y){for(var b of a.baseClass.pureVirtualFunctions)if(this[b]===d[b])throw new PureVirtualError(`Pure virtual function ${b} must be implemented in JavaScript`);Object.defineProperty(this,"__parent",{value:c}),this.__construct(...y)});return c.__construct=function(...b){this===c&&throwBindingError('Pass correct "this" to __construct');var v=p.implement(this,...b);detachFinalizer(v);var A=v.$$;v.notifyOnDestruction(),A.preservePointerOnDelete=!0,Object.defineProperties(this,{$$:{value:A}}),attachFinalizer(this),registerInheritedInstance(a,A.ptr,this)},c.__destruct=function(){this===c&&throwBindingError('Pass correct "this" to __destruct'),detachFinalizer(this),unregisterInheritedInstance(a,this.$$.ptr)},g.prototype=Object.create(c),Object.assign(g.prototype,n),Emval.toHandle(g)}__embind_create_inheriting_constructor.sig="pppp";var __embind_register_smart_ptr=function(e,t,n,a,c,u,d,p,g,y,b,v){e>>>=0,t>>>=0,n>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,g>>>=0,y>>>=0,b>>>=0,v>>>=0,n=AsciiToString(n),u=embind__requireFunction(c,u),p=embind__requireFunction(d,p),y=embind__requireFunction(g,y),v=embind__requireFunction(b,v),whenDependentTypesAreResolved([e],[t],A=>{A=A[0];var T=new RegisteredPointer(n,A.registeredClass,!1,!1,!0,A,a,u,p,y,v);return[T]})};__embind_register_smart_ptr.sig="vpppipppppppp";function __embind_register_enum(e,t,n,a,c){e>>>=0,t>>>=0,n>>>=0,t=AsciiToString(t);let u=getEnumValueType(c);switch(u){case"object":{let b=function(){};var y=b;b.values={},registerType(e,{name:t,constructor:b,valueType:u,fromWireType:function(v){return this.constructor.values[v]},toWireType:(v,A)=>A.value,readValueFromPointer:enumReadValueFromPointer(t,n,a),destructorFunction:null}),exposePublicSymbol(t,b);break}case"number":{var d={};registerType(e,{name:t,keysMap:d,valueType:u,fromWireType:b=>b,toWireType:(b,v)=>v,readValueFromPointer:enumReadValueFromPointer(t,n,a),destructorFunction:null}),exposePublicSymbol(t,d),delete Module[t].argCount;break}case"string":{var p={},g={},d={};registerType(e,{name:t,valuesMap:p,reverseMap:g,keysMap:d,valueType:u,fromWireType:function(v){return this.reverseMap[v]},toWireType:function(v,A){return this.valuesMap[A]},readValueFromPointer:enumReadValueFromPointer(t,n,a),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 a=requireRegisteredType(e,"enum");switch(t=AsciiToString(t),a.valueType){case"object":{var c=a.constructor,u=Object.create(a.constructor.prototype,{value:{value:n},constructor:{value:createNamedFunction(`${a.name}_${t}`,function(){})}});c.values[n]=u,c[t]=u;break}case"number":{a.keysMap[t]=n;break}case"string":{a.valuesMap[t]=n,a.reverseMap[n]=t,a.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],a=>(a=a[0],Module[e]=a.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,a,c){return e>>>=0,t>>>=0,n>>>=0,a>>>=0,c>>>=0,__emval_invoke(e,t,n,a,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,a)=>{(growMemViews(),HEAPU32)[e>>>2>>>0]=Emval.toHandle(n),(growMemViews(),HEAPU32)[t>>>2>>>0]=Emval.toHandle(a)}))};__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)])}}if(_duckdb_web_fs_file_get_last_modified_time.sig="di",PThread.init(),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(),waitAsyncPolyfilled){let t=function(){let n=performance.now(),a=e.length;for(let c=0;c<a;++c){let u=e[c],d=n>u[3],p=Atomics.load(u[0],u[1])!=u[2];(d||p)&&(e[c--]=e[--a],e.length=a,u[4](p?"ok":"timed-out"))}a&&setTimeout(t,10)};var __Atomics_pollWaitAsyncAddresses=t;let e=[];Atomics.waitAsync=(n,a,c,u)=>Atomics.load(n,a)!=c?{async:!1,value:"not-equal"}:u<=0?{async:!1,value:"timed-out"}:(u=performance.now()+(u||1/0),e[0]||setTimeout(t,10),{async:!0,value:new Promise(g=>e.push([n,a,c,u,g]))})}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(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=>(ENVIRONMENT_IS_WORKER?postMessage(__setImmediate_message_id):postMessage(__setImmediate_message_id,"*"),__setImmediate_id_counter+__setImmediate_queue.push(e)-1),emClearImmediate=e=>{var t=e-__setImmediate_id_counter;t>=0&&t<__setImmediate_queue.length&&(__setImmediate_queue[t]=null)}}registerPostMainLoop(()=>{var e,t;return(t=(e=SDL.audio)==null?void 0:e.queueNewAudioData)==null?void 0:t.call(e)}),init_RegisteredPointer(),init_ClassHandle();{initMemory(),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.wasmMemory=wasmMemory,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 proxiedFunctionTable=[_proc_exit,exitOnMainThread,pthreadCreateProxied,___syscall_accept4,___syscall_bind,___syscall_chdir,___syscall_chmod,___syscall_connect,___syscall_dup,___syscall_dup3,___syscall_epoll_create1,___syscall_epoll_ctl,___syscall_epoll_pwait,___syscall_epoll_pwait_nonblocking,___syscall_faccessat,___syscall_fadvise64,___syscall_fallocate,___syscall_fchdir,___syscall_fchmod,___syscall_fchmodat2,___syscall_fchown32,___syscall_fchownat,___syscall_fcntl64,___syscall_fdatasync,___syscall_fstat64,___syscall_fstatfs64,___syscall_ftruncate64,___syscall_getcwd,___syscall_getdents64,___syscall_getegid32,___syscall_geteuid32,___syscall_getgid32,___syscall_getpeername,___syscall_getsockname,___syscall_getsockopt,___syscall_getuid32,___syscall_ioctl,___syscall_linkat,___syscall_listen,___syscall_lstat64,___syscall_mkdirat,___syscall_mknodat,___syscall_newfstatat,___syscall_openat,___syscall_pipe2,___syscall_poll,___syscall_poll_nonblocking,___syscall_readlinkat,___syscall_recvfrom,___syscall_recvmsg,___syscall_renameat,___syscall_rmdir,___syscall_sendmsg,___syscall_sendto,___syscall_setsockopt,___syscall_shutdown,___syscall_socket,___syscall_stat64,___syscall_statfs64,___syscall_symlinkat,___syscall_truncate64,___syscall_umask,___syscall_unlinkat,___syscall_utimensat,__emscripten_dlsync_threads,__emscripten_get_last_devicemotion_event,__emscripten_get_last_deviceorientation_event,__emscripten_get_last_mouse_event,__mmap_js,__msync_js,__munmap_js,__setitimer_js,_alBuffer3f,_alBuffer3i,_alBufferData,_alBufferf,_alBufferfv,_alBufferi,_alBufferiv,_alDeleteBuffers,_alDeleteSources,_alSourcei,_alDisable,_alDistanceModel,_alDopplerFactor,_alDopplerVelocity,_alEnable,_alGenBuffers,_alGenSources,_alGetBoolean,_alGetBooleanv,_alGetBuffer3f,_alGetBuffer3i,_alGetBufferf,_alGetBufferfv,_alGetBufferi,_alGetBufferiv,_alGetDouble,_alGetDoublev,_alGetEnumValue,_alGetError,_alGetFloat,_alGetFloatv,_alGetInteger,_alGetIntegerv,_alGetListener3f,_alGetListener3i,_alGetListenerf,_alGetListenerfv,_alGetListeneri,_alGetListeneriv,_alGetSource3f,_alGetSource3i,_alGetSourcef,_alGetSourcefv,_alGetSourcei,_alGetSourceiv,_alGetString,_alIsBuffer,_alIsEnabled,_alIsExtensionPresent,_alIsSource,_alListener3f,_alListener3i,_alListenerf,_alListenerfv,_alListeneri,_alListeneriv,_alSource3f,_alSource3i,_alSourcePause,_alSourcePausev,_alSourcePlay,_alSourcePlayv,_alSourceQueueBuffers,_alSourceRewind,_alSourceRewindv,_alSourceStop,_alSourceStopv,_alSourceUnqueueBuffers,_alSourcef,_alSourcefv,_alSourceiv,_alSpeedOfSound,_alcCaptureCloseDevice,_alcCaptureOpenDevice,_alcCaptureSamples,_alcCaptureStart,_alcCaptureStop,_alcCloseDevice,_alcCreateContext,_alcDestroyContext,_alcGetContextsDevice,_alcGetCurrentContext,_alcGetEnumValue,_alcGetError,_alcGetIntegerv,_alcGetString,_alcIsExtensionPresent,_alcMakeContextCurrent,_alcOpenDevice,_emscripten_alcDevicePauseSOFT,_emscripten_alcDeviceResumeSOFT,_emscripten_alcGetStringiSOFT,_emscripten_alcResetDeviceSOFT,setCanvasElementSizeMainThread,_environ_get,_environ_sizes_get,_fd_close,_fd_fdstat_get,_fd_pread,_fd_pwrite,_fd_read,_fd_seek,_fd_sync,_fd_write,_getaddrinfo,_emscripten_force_exit,_emscripten_html5_remove_event_listener,_emscripten_set_keypress_callback_on_thread,_emscripten_set_keydown_callback_on_thread,_emscripten_set_keyup_callback_on_thread,_emscripten_set_click_callback_on_thread,_emscripten_set_mousedown_callback_on_thread,_emscripten_set_mouseup_callback_on_thread,_emscripten_set_dblclick_callback_on_thread,_emscripten_set_mousemove_callback_on_thread,_emscripten_set_mouseenter_callback_on_thread,_emscripten_set_mouseleave_callback_on_thread,_emscripten_set_mouseover_callback_on_thread,_emscripten_set_mouseout_callback_on_thread,_emscripten_set_contextmenu_callback_on_thread,_emscripten_set_wheel_callback_on_thread,_emscripten_set_resize_callback_on_thread,_emscripten_set_scroll_callback_on_thread,_emscripten_set_blur_callback_on_thread,_emscripten_set_focus_callback_on_thread,_emscripten_set_focusin_callback_on_thread,_emscripten_set_focusout_callback_on_thread,_emscripten_set_deviceorientation_callback_on_thread,_emscripten_set_devicemotion_callback_on_thread,_emscripten_set_orientationchange_callback_on_thread,_emscripten_get_orientation_status,_emscripten_lock_orientation,_emscripten_unlock_orientation,_emscripten_set_fullscreenchange_callback_on_thread,_emscripten_get_fullscreen_status,getCanvasSizeMainThread,_emscripten_request_fullscreen,_emscripten_request_fullscreen_strategy,_emscripten_enter_soft_fullscreen,_emscripten_exit_soft_fullscreen,_emscripten_exit_fullscreen,_emscripten_set_pointerlockchange_callback_on_thread,_emscripten_set_pointerlockerror_callback_on_thread,_emscripten_get_pointerlock_status,_emscripten_request_pointerlock,_emscripten_exit_pointerlock,_emscripten_vibrate,_emscripten_vibrate_pattern,_emscripten_set_visibilitychange_callback_on_thread,_emscripten_get_visibility_status,_emscripten_set_touchstart_callback_on_thread,_emscripten_set_touchend_callback_on_thread,_emscripten_set_touchmove_callback_on_thread,_emscripten_set_touchcancel_callback_on_thread,_emscripten_set_gamepadconnected_callback_on_thread,_emscripten_sample_gamepad_data,_emscripten_set_gamepaddisconnected_callback_on_thread,_emscripten_get_num_gamepads,_emscripten_get_gamepad_status,_emscripten_set_beforeunload_callback_on_thread,_emscripten_set_batterychargingchange_callback_on_thread,_emscripten_set_batterylevelchange_callback_on_thread,_emscripten_get_battery_status,_emscripten_set_element_css_size,_emscripten_get_element_css_size,_emscripten_get_device_pixel_ratio,_sched_yield,_emscripten_run_preload_plugins,_emscripten_run_preload_plugins_data,_emscripten_get_window_title,_emscripten_set_window_title,_emscripten_get_screen_size,_emscripten_hide_mouse,_emscripten_set_canvas_size,_emscripten_get_canvas_size,_emscripten_create_worker,_emscripten_destroy_worker,_emscripten_call_worker,_emscripten_get_worker_queue_size,_emscripten_get_preloaded_image_data,_emscripten_get_preloaded_image_data_from_FILE,_emscripten_async_wget,_emscripten_async_wget_data,_emscripten_async_wget2,_emscripten_async_wget2_data,_emscripten_async_wget2_abort,_emscripten_set_webglcontextlost_callback_on_thread,_emscripten_set_webglcontextrestored_callback_on_thread,_glutPostRedisplay,_glutGetModifiers,_glutInit,_glutInitWindowSize,_glutInitWindowPosition,_glutIdleFunc,_glutTimerFunc,_glutDisplayFunc,_glutKeyboardFunc,_glutKeyboardUpFunc,_glutSpecialFunc,_glutSpecialUpFunc,_glutReshapeFunc,_glutMotionFunc,_glutPassiveMotionFunc,_glutMouseFunc,_glutSetCursor,_glutCreateWindow,_glutDestroyWindow,_glutReshapeWindow,_glutPositionWindow,_glutFullScreen,_glutInitDisplayMode,_glutSwapBuffers,_glutMainLoop,_eglGetDisplay,_eglInitialize,_eglTerminate,_eglGetConfigs,_eglChooseConfig,_eglGetConfigAttrib,_eglCreateWindowSurface,_eglDestroySurface,_eglCreateContext,_eglDestroyContext,_eglQuerySurface,_eglQueryContext,_eglGetError,_eglQueryString,_eglBindAPI,_eglQueryAPI,_eglWaitClient,_eglWaitNative,_eglSwapInterval,_eglMakeCurrent,_eglGetCurrentContext,_eglGetCurrentSurface,_eglGetCurrentDisplay,_eglSwapBuffers,_eglReleaseThread,_SDL_GetTicks,_SDL_LockSurface,_SDL_Linked_Version,_SDL_Init,_SDL_WasInit,_SDL_GetVideoInfo,_SDL_VideoDriverName,_SDL_SetVideoMode,_SDL_GetVideoSurface,_SDL_AudioQuit,_SDL_UnlockSurface,_SDL_WM_SetCaption,_SDL_GetKeyboardState,_SDL_GetKeyName,_SDL_GetModState,_SDL_GetMouseState,_SDL_WarpMouse,_SDL_ShowCursor,_SDL_GetError,_SDL_CreateRGBSurface,_SDL_CreateRGBSurfaceFrom,_SDL_ConvertSurface,_SDL_FreeSurface,_SDL_UpperBlit,_SDL_UpperBlitScaled,_SDL_GetClipRect,_SDL_SetClipRect,_SDL_FillRect,_SDL_SetAlpha,_SDL_PollEvent,_SDL_PushEvent,_SDL_PeepEvents,_SDL_PumpEvents,_emscripten_SDL_SetEventHandler,_SDL_SetColors,_SDL_MapRGB,_SDL_MapRGBA,_SDL_GetRGB,_SDL_GetRGBA,_SDL_GetAppState,_SDL_WM_ToggleFullScreen,_IMG_Load_RW,_SDL_FreeRW,_IMG_Load,_SDL_RWFromFile,_SDL_OpenAudio,_SDL_PauseAudio,_SDL_CloseAudio,_SDL_StartTextInput,_SDL_StopTextInput,_Mix_OpenAudio,_Mix_AllocateChannels,_Mix_ChannelFinished,_Mix_Volume,_Mix_SetPanning,_Mix_LoadWAV_RW,_Mix_LoadWAV,_Mix_QuickLoad_RAW,_Mix_FreeChunk,_Mix_ReserveChannels,_Mix_PlayChannelTimed,_Mix_HaltChannel,_Mix_HookMusicFinished,_Mix_HaltMusic,_Mix_VolumeMusic,_Mix_LoadMUS,_Mix_PlayMusic,_Mix_PauseMusic,_Mix_ResumeMusic,_Mix_PlayingMusic,_Mix_Playing,_Mix_Pause,_Mix_Paused,_Mix_PausedMusic,_Mix_Resume,_TTF_Init,_TTF_OpenFont,_TTF_CloseFont,_TTF_RenderText_Solid,_TTF_SizeText,_TTF_GlyphMetrics,_TTF_FontAscent,_TTF_FontDescent,_TTF_FontHeight,_SDL_GL_SetAttribute,_SDL_GL_GetAttribute,_SDL_GL_SwapBuffers,_SDL_GL_ExtensionSupported,_SDL_GetWindowFlags,_SDL_GL_GetSwapInterval,_SDL_SetWindowTitle,_SDL_GetWindowSize,_SDL_SetWindowFullscreen,_SDL_NumJoysticks,_SDL_JoystickName,_SDL_JoystickOpen,_SDL_JoystickOpened,_SDL_JoystickNumAxes,_SDL_JoystickNumButtons,_SDL_JoystickUpdate,_SDL_JoystickEventState,_SDL_JoystickGetAxis,_SDL_JoystickGetButton,_SDL_JoystickClose,_SDL_RWFromConstMem,_SDL_EnableUNICODE,_SDL_AddTimer,_SDL_RemoveTimer],ASM_CONSTS={2428396:(e,t)=>{var n=UTF8ToString(e),a;try{if(typeof XMLHttpRequest>"u")if(n.startsWith("http://")||n.startsWith("https://")){var c="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))";a=Kt("node:child_process").execFileSync(process.execPath,["-e",c,n],{maxBuffer:1073741824,stdio:["ignore","pipe","ignore"]})}else a=Kt("node:fs").readFileSync(n);else if(typeof document>"u"){var u=new XMLHttpRequest;if(u.open("GET",n,!1),u.responseType="arraybuffer",u.send(null),u.status!=200)return 0;a=new Uint8Array(u.response)}else{var u=new XMLHttpRequest;if(u.open("GET",n,!1),u.overrideMimeType("text/plain; charset=x-user-defined"),u.send(null),u.status!=200)return 0;var d=u.responseText;a=new Uint8Array(d.length);for(var p=0;p<d.length;p++)a[p]=d.charCodeAt(p)&255}}catch{return 0}var g=_malloc(a.byteLength)>>>0;return(growMemViews(),HEAPU8).set(a,g>>>0),(growMemViews(),HEAPU32)[t>>>2>>>0]=a.byteLength,g},2429628:(e,t,n)=>{FS.writeFile(UTF8ToString(e),(growMemViews(),HEAPU8).subarray(t>>>0,t+n>>>0))},2429694:e=>{FS.unlink(UTF8ToString(e))},2429727:(e,t,n,a)=>{var c=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let u=new XMLHttpRequest;u.open(UTF8ToString(a),c,!1),u.responseType="arraybuffer";for(var d=0,v=t;d<v*2;){var p=(growMemViews(),HEAP32)[n/4+d>>>0],g=(growMemViews(),HEAP32)[n/4+d+1>>>0];try{var y=encodeURI(UTF8ToString(p));y==="Host"&&(y="X-Host-Override"),y==="User-Agent"||(y.toLowerCase()==="authorization"?u.setRequestHeader(y,UTF8ToString(g)):u.setRequestHeader(y,encodeURI(UTF8ToString(g))))}catch(N){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",N)}d+=2}try{u.send(null)}catch{return 0}if(u.status===0)return 0;var b=u.response;b||(b=new ArrayBuffer(0));for(var v=b.byteLength,A=_malloc(v+8),T=new Uint8Array(b),w=0;w<v;w++)Module.HEAPU8[w+A+8]=T[w];var E=new Uint8Array(4);E[0]=v%256,v-=E[0],v/=256,E[1]=v%256,v-=E[1],v/=256,E[2]=v%256,v-=E[2],v/=256,E[3]=v%256,v-=E[3],v/=256,Module.HEAPU8.set(E,A+4);var M=Uint8Array.from(Array.from(u.getAllResponseHeaders()).map(N=>N.charCodeAt(0)));v=M.byteLength;for(var L=_malloc(v+8),w=0;w<v;w++)Module.HEAPU8[w+L+8]=M[w];E=new Uint8Array(4),E[0]=v%256,v-=E[0],v/=256,E[1]=v%256,v-=E[1],v/=256,E[2]=v%256,v-=E[2],v/=256,E[3]=v%256,v-=E[3],v/=256,Module.HEAPU8.set(E,L+4);var I=u.status,F=new Uint8Array(4);return F[0]=I%256,I-=F[0],I/=256,F[1]=I%256,I-=F[1],I/=256,F[2]=I%256,I-=F[2],I/=256,F[3]=I%256,Module.HEAPU8.set(F,L+0),v=L,E=new Uint8Array(4),E[0]=v%256,v-=E[0],v/=256,E[1]=v%256,v-=E[1],v/=256,E[2]=v%256,v-=E[2],v/=256,E[3]=v%256,v-=E[3],v/=256,Module.HEAPU8.set(E,A),A},2432379:(e,t,n,a,c,u)=>{var d=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let p=new XMLHttpRequest;p.open(UTF8ToString(a),d,!1),p.responseType="arraybuffer";for(var g=0,I=t,y=!1;g<I*2;){var b=(growMemViews(),HEAP32)[n/4+g>>>0],v=(growMemViews(),HEAP32)[n/4+g+1>>>0];try{var A=encodeURI(UTF8ToString(b));A==="Host"&&(A="X-Host-Override"),A.toLowerCase()==="content-type"&&(y=!0),A==="User-Agent"||(A.toLowerCase()==="authorization"?p.setRequestHeader(A,UTF8ToString(v)):p.setRequestHeader(A,encodeURI(UTF8ToString(v))))}catch(k){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",k)}g+=2}if(!y)try{p.setRequestHeader("Content-Type","application/octet-stream")}catch{}try{for(var T=new Uint8Array(u),w=0;w<u;w++)T[w]=Module.HEAPU8[w+c];p.send(T)}catch{return 0}if(p.status===0)return 0;var E;if(p.status>=400){var M=p.response;E=M?new Uint8Array(M):new Uint8Array(0)}else{var L=p.getResponseHeader("Etag");E=L?Uint8Array.from(Array.from(L).map(k=>k.charCodeAt(0))):new Uint8Array(0)}for(var I=E.byteLength,F=_malloc(I+8),N=new Uint8Array(E),w=0;w<I;w++)Module.HEAPU8[w+F+8]=N[w];var P=new Uint8Array(4);P[0]=I%256,I-=P[0],I/=256,P[1]=I%256,I-=P[1],I/=256,P[2]=I%256,I-=P[2],I/=256,P[3]=I%256,I-=P[3],I/=256,Module.HEAPU8.set(P,F+4);var x=p.status,R=new Uint8Array(4);return R[0]=x%256,x-=R[0],x/=256,R[1]=x%256,x-=R[1],x/=256,R[2]=x%256,x-=R[2],x/=256,R[3]=x%256,Module.HEAPU8.set(R,F+0),F},2434698:(e,t,n,a)=>{var c=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let u=new XMLHttpRequest;u.open(UTF8ToString(a),c,!1),u.responseType="arraybuffer";for(var d=0,v=t;d<v*2;){var p=(growMemViews(),HEAP32)[n/4+d>>>0],g=(growMemViews(),HEAP32)[n/4+d+1>>>0];console.log("HEAD",UTF8ToString(p),UTF8ToString(g));try{var y=encodeURI(UTF8ToString(p));y==="Host"&&(y="X-Host-Override"),y==="User-Agent"||(y.toLowerCase()==="authorization"?u.setRequestHeader(y,UTF8ToString(g)):u.setRequestHeader(y,encodeURI(UTF8ToString(g))))}catch(N){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",N)}d+=2}try{u.send(null)}catch{return 0}if(u.status===0)return 0;var b=u.response;b||(b=new ArrayBuffer(0));for(var v=b.byteLength,A=_malloc(v+8),T=new Uint8Array(b),w=0;w<v;w++)Module.HEAPU8[w+A+8]=T[w];var E=new Uint8Array(4);E[0]=v%256,v-=E[0],v/=256,E[1]=v%256,v-=E[1],v/=256,E[2]=v%256,v-=E[2],v/=256,E[3]=v%256,v-=E[3],v/=256,Module.HEAPU8.set(E,A+4);var M=Uint8Array.from(Array.from(u.getAllResponseHeaders()).map(N=>N.charCodeAt(0)));v=M.byteLength;for(var L=_malloc(v+8),w=0;w<v;w++)Module.HEAPU8[w+L+8]=M[w];E=new Uint8Array(4),E[0]=v%256,v-=E[0],v/=256,E[1]=v%256,v-=E[1],v/=256,E[2]=v%256,v-=E[2],v/=256,E[3]=v%256,v-=E[3],v/=256,Module.HEAPU8.set(E,L+4);var I=u.status,F=new Uint8Array(4);return F[0]=I%256,I-=F[0],I/=256,F[1]=I%256,I-=F[1],I/=256,F[2]=I%256,I-=F[2],I/=256,F[3]=I%256,Module.HEAPU8.set(F,L+0),v=L,E=new Uint8Array(4),E[0]=v%256,v-=E[0],v/=256,E[1]=v%256,v-=E[1],v/=256,E[2]=v%256,v-=E[2],v/=256,E[3]=v%256,v-=E[3],v/=256,Module.HEAPU8.set(E,A),A},2437411:(e,t,n,a)=>{var c=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let u=new XMLHttpRequest;u.open(UTF8ToString(a),c,!1),u.responseType="arraybuffer";for(var d=0,v=t;d<v*2;){var p=(growMemViews(),HEAP32)[n/4+d>>>0],g=(growMemViews(),HEAP32)[n/4+d+1>>>0];try{var y=encodeURI(UTF8ToString(p));y==="Host"&&(y="X-Host-Override"),y==="User-Agent"||(y.toLowerCase()==="authorization"?u.setRequestHeader(y,UTF8ToString(g)):u.setRequestHeader(y,encodeURI(UTF8ToString(g))))}catch(I){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",I)}d+=2}try{u.send(null)}catch{return 0}if(u.status===0)return 0;var b=u.response;b||(b=new ArrayBuffer(0));for(var v=b.byteLength,A=_malloc(v+8),T=new Uint8Array(b),w=0;w<v;w++)Module.HEAPU8[w+A+8]=T[w];var E=new Uint8Array(4);E[0]=v%256,v-=E[0],v/=256,E[1]=v%256,v-=E[1],v/=256,E[2]=v%256,v-=E[2],v/=256,E[3]=v%256,v-=E[3],v/=256,Module.HEAPU8.set(E,A+4);var M=u.status,L=new Uint8Array(4);return L[0]=M%256,M-=L[0],M/=256,L[1]=M%256,M-=L[1],M/=256,L[2]=M%256,M-=L[2],M/=256,L[3]=M%256,Module.HEAPU8.set(L,A+0),A},2439187:(e,t,n,a,c,u)=>{var d=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let p=new XMLHttpRequest;p.open(UTF8ToString(a),d,!1),p.responseType="arraybuffer";for(var g=0,E=t;g<E*2;){var y=(growMemViews(),HEAP32)[n/4+g>>>0],b=(growMemViews(),HEAP32)[n/4+g+1>>>0];try{var v=encodeURI(UTF8ToString(y));v==="Host"&&(v="X-Host-Override"),v==="User-Agent"||(v.toLowerCase()==="authorization"?p.setRequestHeader(v,UTF8ToString(b)):p.setRequestHeader(v,encodeURI(UTF8ToString(b))))}catch(P){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",P)}g+=2}try{for(var A=new Uint8Array(u),T=0;T<u;T++)A[T]=Module.HEAPU8[T+c];p.send(A)}catch{return 0}if(p.status===0)return 0;var w=p.response;w||(w=new ArrayBuffer(0));for(var E=w.byteLength,M=_malloc(E+8),L=new Uint8Array(w),T=0;T<E;T++)Module.HEAPU8[T+M+8]=L[T];var I=new Uint8Array(4);I[0]=E%256,E-=I[0],E/=256,I[1]=E%256,E-=I[1],E/=256,I[2]=E%256,E-=I[2],E/=256,I[3]=E%256,E-=I[3],E/=256,Module.HEAPU8.set(I,M+4);var F=p.status,N=new Uint8Array(4);return N[0]=F%256,F-=N[0],F/=256,N[1]=F%256,F-=N[1],F/=256,N[2]=F%256,F-=N[2],F/=256,N[3]=F%256,Module.HEAPU8.set(N,M+0),M},2441094:e=>{if(!e)return AL.alcErr=40964,1},2441142:e=>{if(!AL.currentCtx)return err("alGetProcAddress() called without a valid context"),1;if(!e)return AL.currentCtx.err=40963,1}},___getTypeName,__embind_initialize_bindings,__emval_coro_resume,__emval_coro_reject,_main,_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_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_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,__emscripten_tls_init,_pthread_self,_emscripten_builtin_memalign,__emscripten_run_callback_on_thread,___dl_seterr,__emscripten_dlsync_self_async,__emscripten_dlsync_self,__emscripten_proxy_dlsync_async,__emscripten_proxy_dlsync,__emscripten_find_dylib,_memcpy,__emscripten_thread_init,___set_thread_state,__emscripten_thread_crashed,_fileno,_htonl,_htons,_memcmp,_ntohs,__emscripten_run_js_on_main_thread_done,__emscripten_run_js_on_main_thread,__emscripten_thread_free_data,__emscripten_thread_exit,__emscripten_timeout,_strerror,__emscripten_check_mailbox,_malloc,_free,_calloc,_realloc,_emscripten_get_sbrk_ptr,___trap,__emscripten_tempret_set,__emscripten_tempret_get,_emscripten_stack_set_limits,__emscripten_stack_restore,__emscripten_stack_alloc,_emscripten_stack_get_current,___cxa_demangle,___cxa_decrement_exception_refcount,___cxa_rethrow,___cxa_increment_exception_refcount,___thrown_object_from_unwind_exception,___get_exception_message,___increment_uncaught_exception,___decrement_uncaught_exception,___stack_pointer,__indirect_function_table,___heap_base,___cpp_exception,wasmTable,incrementUncaughtExceptionCount,decrementUncaughtExceptionCount;function assignWasmExports(e){___getTypeName=e.__getTypeName,__embind_initialize_bindings=e._embind_initialize_bindings,__emval_coro_resume=e._emval_coro_resume,__emval_coro_reject=e._emval_coro_reject,_main=Module._main=e.main,_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_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_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,__emscripten_tls_init=e._emscripten_tls_init,_pthread_self=e.pthread_self,_emscripten_builtin_memalign=e.emscripten_builtin_memalign,__emscripten_run_callback_on_thread=e._emscripten_run_callback_on_thread,___dl_seterr=e.__dl_seterr,__emscripten_dlsync_self_async=e._emscripten_dlsync_self_async,__emscripten_dlsync_self=e._emscripten_dlsync_self,__emscripten_proxy_dlsync_async=e._emscripten_proxy_dlsync_async,__emscripten_proxy_dlsync=e._emscripten_proxy_dlsync,__emscripten_find_dylib=e._emscripten_find_dylib,_memcpy=e.memcpy,__emscripten_thread_init=e._emscripten_thread_init,___set_thread_state=e.__set_thread_state,__emscripten_thread_crashed=e._emscripten_thread_crashed,_fileno=e.fileno,_htonl=e.htonl,_htons=e.htons,_memcmp=e.memcmp,_ntohs=e.ntohs,__emscripten_run_js_on_main_thread_done=e._emscripten_run_js_on_main_thread_done,__emscripten_run_js_on_main_thread=e._emscripten_run_js_on_main_thread,__emscripten_thread_free_data=e._emscripten_thread_free_data,__emscripten_thread_exit=e._emscripten_thread_exit,__emscripten_timeout=e._emscripten_timeout,_strerror=e.strerror,__emscripten_check_mailbox=e._emscripten_check_mailbox,_malloc=Module._malloc=e.malloc,_free=Module._free=e.free,_calloc=Module._calloc=e.calloc,_realloc=e.realloc,_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_set_limits=e.emscripten_stack_set_limits,__emscripten_stack_restore=e._emscripten_stack_restore,__emscripten_stack_alloc=e._emscripten_stack_alloc,_emscripten_stack_get_current=e.emscripten_stack_get_current,___cxa_demangle=e.__cxa_demangle,___cxa_decrement_exception_refcount=e.__cxa_decrement_exception_refcount,___cxa_rethrow=e.__cxa_rethrow,___cxa_increment_exception_refcount=e.__cxa_increment_exception_refcount,___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,___stack_pointer=e.__stack_pointer,__indirect_function_table=wasmTable=e.__indirect_function_table,___heap_base=e.__heap_base.value>>>0,___cpp_exception=e.__cpp_exception}var wasmImports;function assignWasmImports(){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,__pthread_create_js:___pthread_create_js,__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_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_atomic_wait_promise:__emscripten_atomic_wait_promise,_emscripten_dlopen_js:__emscripten_dlopen_js,_emscripten_dlsync_threads:__emscripten_dlsync_threads,_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_init_main_thread_js:__emscripten_init_main_thread_js,_emscripten_log_formatted:__emscripten_log_formatted,_emscripten_lookup_name:__emscripten_lookup_name,_emscripten_notify_mailbox_postmessage:__emscripten_notify_mailbox_postmessage,_emscripten_push_main_loop_blocker:__emscripten_push_main_loop_blocker,_emscripten_push_uncounted_main_loop_blocker:__emscripten_push_uncounted_main_loop_blocker,_emscripten_receive_on_main_thread_js:__emscripten_receive_on_main_thread_js,_emscripten_runtime_keepalive_clear:__emscripten_runtime_keepalive_clear,_emscripten_system:__emscripten_system,_emscripten_thread_cleanup:__emscripten_thread_cleanup,_emscripten_thread_exit_joinable:__emscripten_thread_exit_joinable,_emscripten_thread_mailbox_await:__emscripten_thread_mailbox_await,_emscripten_thread_set_strongref:__emscripten_thread_set_strongref,_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_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_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_atomic_cancel_all_wait_asyncs:_emscripten_atomic_cancel_all_wait_asyncs,emscripten_atomic_cancel_all_wait_asyncs_at_address:_emscripten_atomic_cancel_all_wait_asyncs_at_address,emscripten_atomic_cancel_wait_async:_emscripten_atomic_cancel_wait_async,emscripten_atomic_wait_async:_emscripten_atomic_wait_async,emscripten_atomics_is_lock_free:_emscripten_atomics_is_lock_free,emscripten_call_worker:_emscripten_call_worker,emscripten_cancel_animation_frame:_emscripten_cancel_animation_frame,emscripten_cancel_main_loop:_emscripten_cancel_main_loop,emscripten_check_blocking_allowed:_emscripten_check_blocking_allowed,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_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_has_threading_support:_emscripten_has_threading_support,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_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_num_logical_cores:_emscripten_num_logical_cores,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_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,lineColor:_lineColor,lineRGBA:_lineRGBA,memory:wasmMemory,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,zoomSurface:_zoomSurface}}function applySignatureConversions(e){e=Object.assign({},e);var t=B=>O=>B(O)>>>0,n=B=>()=>B()>>>0,a=B=>(O,V)=>B(O,V)>>>0,c=B=>(O,V,U)=>B(O,V,U)>>>0,u=B=>(O,V)=>B(O,V)>>>0,d=B=>(O,V,U)=>B(O,V,U)>>>0,p=B=>O=>B(O)>>>0,g=B=>(O,V,U,ce)=>B(O,V,U,ce)>>>0,y=B=>(O,V,U)=>B(O,V,U)>>>0,b=B=>(O,V,U,ce,ke,kt)=>B(O,V,U,ce,ke,kt)>>>0,v=B=>(O,V,U)=>B(O,V,U)>>>0,A=B=>(O,V,U,ce)=>B(O,V,U,ce)>>>0,T=B=>(O,V)=>B(O,V)>>>0,w=B=>(O,V,U,ce,ke)=>B(O,V,U,ce,ke)>>>0,E=B=>(O,V,U,ce)=>B(O,V,U,ce)>>>0,M=B=>(O,V,U,ce,ke)=>B(O,V,U,ce,ke)>>>0,L=B=>(O,V,U,ce)=>B(O,V,U,ce)>>>0,I=B=>(O,V)=>B(O,V)>>>0,F=B=>(O,V,U)=>B(O,V,U)>>>0,N=B=>(O,V,U,ce)=>B(O,V,U,ce)>>>0,P=B=>(O,V,U,ce)=>B(O,V,U,ce)>>>0,x=B=>(O,V,U,ce,ke)=>B(O,V,U,ce,ke)>>>0,R=B=>(O,V,U,ce)=>B(O,V,U,ce)>>>0,k=B=>(O,V,U,ce)=>B(O,V,U,ce)>>>0,W=B=>(O,V,U)=>B(O,V,U)>>>0,de=B=>(O,V,U,ce,ke,kt)=>B(O,V,U,ce,ke,kt)>>>0,re=B=>O=>B(O)>>>0,fe=B=>(O,V,U)=>B(O,V,U)>>>0,he=B=>(O,V,U,ce,ke,kt)=>B(O,V,U,ce,ke,kt)>>>0;return e.__getTypeName=t(e.__getTypeName),e.strdup=t(e.strdup),e.pthread_self=n(e.pthread_self),e.strlen=t(e.strlen),e.__cxa_allocate_exception=t(e.__cxa_allocate_exception),e.malloc=t(e.malloc),e.realloc=a(e.realloc),e.memchr=c(e.memchr),e.emscripten_main_runtime_thread_id=n(e.emscripten_main_runtime_thread_id),e.em_proxying_queue_create=n(e.em_proxying_queue_create),e.emscripten_proxy_get_system_queue=n(e.emscripten_proxy_get_system_queue),e.dlsym=a(e.dlsym),e.dlerror=n(e.dlerror),e.dlopen=u(e.dlopen),e.calloc=a(e.calloc),e.strtoul=d(e.strtoul),e.wmemchr=c(e.wmemchr),e.localtime_r=a(e.localtime_r),e.getenv=t(e.getenv),e.__errno_location=n(e.__errno_location),e.sysconf=p(e.sysconf),e.getcwd=a(e.getcwd),e.strerror=p(e.strerror),e.pread=g(e.pread),e.read=y(e.read),e.pwrite=g(e.pwrite),e.write=y(e.write),e.opendir=t(e.opendir),e.readdir=t(e.readdir),e.realpath=a(e.realpath),e.mmap=b(e.mmap),e.__cxa_init_primary_exception=v(e.__cxa_init_primary_exception),e.wcslen=t(e.wcslen),e.strtol=d(e.strtol),e.strchr=u(e.strchr),e.strstr=a(e.strstr),e.memset=c(e.memset),e.fopen=a(e.fopen),e.ftell=t(e.ftell),e.fread=A(e.fread),e.fwrite=A(e.fwrite),e._emscripten_tls_init=n(e._emscripten_tls_init),e.emscripten_builtin_memalign=a(e.emscripten_builtin_memalign),e.emscripten_GetProcAddress=t(e.emscripten_GetProcAddress),e.strcpy=a(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=a(e.alcGetProcAddress),e.alGetProcAddress=t(e.alGetProcAddress),e.emscripten_dom_pk_code_to_string=p(e.emscripten_dom_pk_code_to_string),e.emscripten_dom_vk_to_string=p(e.emscripten_dom_vk_to_string),e.getdate=t(e.getdate),e.getpwnam=t(e.getpwnam),e.getpwuid=p(e.getpwuid),e.getpwent=n(e.getpwent),e.getgrnam=t(e.getgrnam),e.getgrgid=p(e.getgrgid),e.getgrent=n(e.getgrent),e.popen=a(e.popen),e.emscripten_stack_get_end=n(e.emscripten_stack_get_end),e.emscripten_stack_get_base=n(e.emscripten_stack_get_base),e.__ctype_b_loc=n(e.__ctype_b_loc),e.__ctype_get_mb_cur_max=n(e.__ctype_get_mb_cur_max),e.__ctype_tolower_loc=n(e.__ctype_tolower_loc),e.__ctype_toupper_loc=n(e.__ctype_toupper_loc),e.emscripten_builtin_malloc=t(e.emscripten_builtin_malloc),e.fdopen=T(e.fdopen),e.__mo_lookup=v(e.__mo_lookup),e.__get_tp=n(e.__get_tp),e.memcpy=v(e.memcpy),e.a64l=t(e.a64l),e.l64a=t(e.l64a),e.aligned_alloc=a(e.aligned_alloc),e.asctime=t(e.asctime),e.__nl_langinfo_l=T(e.__nl_langinfo_l),e.asctime_r=a(e.asctime_r),e.__libc_calloc=a(e.__libc_calloc),e.atol=t(e.atol),e.basename=t(e.basename),e.__xpg_basename=t(e.__xpg_basename),e.memmove=v(e.memmove),e.bind_textdomain_codeset=a(e.bind_textdomain_codeset),e.bsearch=w(e.bsearch),e.c16rtomb=c(e.c16rtomb),e.wcrtomb=c(e.wcrtomb),e.c32rtomb=c(e.c32rtomb),e.catgets=E(e.catgets),e.catopen=u(e.catopen),e.confstr=y(e.confstr),e.crypt=a(e.crypt),e.__crypt_blowfish=v(e.__crypt_blowfish),e.__crypt_des=v(e.__crypt_des),e.__crypt_md5=v(e.__crypt_md5),e.strnlen=a(e.strnlen),e.__crypt_sha256=v(e.__crypt_sha256),e.__crypt_sha512=v(e.__crypt_sha512),e.crypt_r=v(e.crypt_r),e.ctermid=t(e.ctermid),e.ctime=t(e.ctime),e.localtime=t(e.localtime),e.ctime_r=a(e.ctime_r),e.bindtextdomain=a(e.bindtextdomain),e.dcngettext=M(e.dcngettext),e.__gettextdomain=n(e.__gettextdomain),e.dcgettext=d(e.dcgettext),e.dngettext=A(e.dngettext),e.dgettext=a(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=A(e._emscripten_find_dylib),e.strspn=a(e.strspn),e.strcspn=a(e.strcspn),e.emscripten_dlopen_promise=u(e.emscripten_dlopen_promise),e.ecvt=L(e.ecvt),e.em_task_queue_create=t(e.em_task_queue_create),e.emscripten_get_heap_size=n(e.emscripten_get_heap_size),e._emscripten_memcpy_bulkmem=v(e._emscripten_memcpy_bulkmem),e.emscripten_builtin_memcpy=v(e.emscripten_builtin_memcpy),e.__memset=c(e.__memset),e.emscripten_builtin_memset=c(e.emscripten_builtin_memset),e._emscripten_memset_bulkmem=c(e._emscripten_memset_bulkmem),e.__syscall_mmap2=b(e.__syscall_mmap2),e.emscripten_stack_get_current=n(e.emscripten_stack_get_current),e.gethostent=n(e.gethostent),e.getnetent=n(e.getnetent),e.ether_aton_r=a(e.ether_aton_r),e.ether_aton=t(e.ether_aton),e.ether_ntoa_r=a(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=a(e.__freadptr),e.fcvt=L(e.fcvt),e.fdopendir=p(e.fdopendir),e.fgetln=a(e.fgetln),e.getline=v(e.getline),e.fgets=c(e.fgets),e.fgets_unlocked=c(e.fgets_unlocked),e.mbrtowc=A(e.mbrtowc),e.fgetws=c(e.fgetws),e.fgetws_unlocked=c(e.fgetws_unlocked),e.fmemopen=v(e.fmemopen),e.fopencookie=v(e.fopencookie),e.fpathconf=I(e.fpathconf),e.wcsrtombs=A(e.wcsrtombs),e.fread_unlocked=A(e.fread_unlocked),e.freopen=v(e.freopen),e.fwrite_unlocked=A(e.fwrite_unlocked),e.gai_strerror=p(e.gai_strerror),e.gcvt=F(e.gcvt),e.get_current_dir_name=n(e.get_current_dir_name),e.getdelim=N(e.getdelim),e.__getdelim=N(e.__getdelim),e.gethostid=n(e.gethostid),e.getlogin=n(e.getlogin),e.getpass=t(e.getpass),e.gets=t(e.gets),e.getservbyname=a(e.getservbyname),e.getservbyport=T(e.getservbyport),e.gmtime=t(e.gmtime),e.__h_errno_location=n(e.__h_errno_location),e.hstrerror=p(e.hstrerror),e.hsearch=u(e.hsearch),e.iconv_open=a(e.iconv_open),e.iconv=w(e.iconv),e.if_indextoname=T(e.if_indextoname),e.strncpy=v(e.strncpy),e.if_nameindex=n(e.if_nameindex),e.index=u(e.index),e.inet_ntoa=p(e.inet_ntoa),e.inet_ntop=g(e.inet_ntop),e.wcschr=u(e.wcschr),e.labs=t(e.labs),e.__nl_langinfo=p(e.__nl_langinfo),e.nl_langinfo=p(e.nl_langinfo),e.nl_langinfo_l=T(e.nl_langinfo_l),e.get_phys_pages=n(e.get_phys_pages),e.get_avphys_pages=n(e.get_avphys_pages),e.localeconv=n(e.localeconv),e.nrand48=t(e.nrand48),e.lrand48=n(e.lrand48),e.lrint=p(e.lrint),e.lrintf=p(e.lrintf),e.lrintl=I(e.lrintl),e.lround=p(e.lround),e.lroundf=p(e.lroundf),e.lroundl=I(e.lroundl),e.lsearch=w(e.lsearch),e.lfind=w(e.lfind),e.mbrlen=v(e.mbrlen),e.mbrtoc16=A(e.mbrtoc16),e.mbrtoc32=A(e.mbrtoc32),e.mbsnrtowcs=w(e.mbsnrtowcs),e.mbsrtowcs=A(e.mbsrtowcs),e.mbstowcs=v(e.mbstowcs),e.memccpy=N(e.memccpy),e.memmem=A(e.memmem),e.mempcpy=v(e.mempcpy),e.memrchr=c(e.memrchr),e.mkdtemp=t(e.mkdtemp),e.mktemp=t(e.mktemp),e.gmtime_r=a(e.gmtime_r),e.emscripten_builtin_mmap=b(e.emscripten_builtin_mmap),e.setmntent=a(e.setmntent),e.getmntent_r=P(e.getmntent_r),e.getmntent=t(e.getmntent),e.hasmntopt=a(e.hasmntopt),e.jrand48=t(e.jrand48),e.mrand48=n(e.mrand48),e.mremap=x(e.mremap),e.send=g(e.send),e.recv=g(e.recv),e.getnetbyaddr=I(e.getnetbyaddr),e.getnetbyname=t(e.getnetbyname),e.__newlocale=y(e.__newlocale),e.newlocale=y(e.newlocale),e.ns_get32=t(e.ns_get32),e.open_memstream=a(e.open_memstream),e.open_wmemstream=a(e.open_wmemstream),e.pathconf=u(e.pathconf),e.posix_getdents=g(e.posix_getdents),e.preadv=R(e.preadv),e.strrchr=u(e.strrchr),e.pthread_getspecific=p(e.pthread_getspecific),e.emscripten_proxy_promise_with_ctx=A(e.emscripten_proxy_promise_with_ctx),e.emscripten_proxy_promise=A(e.emscripten_proxy_promise),e.emscripten_async_waitable_run_in_main_runtime_thread_=y(e.emscripten_async_waitable_run_in_main_runtime_thread_),e.tss_get=p(e.tss_get),e.thrd_current=n(e.thrd_current),e.ptsname=p(e.ptsname),e.pwritev=R(e.pwritev),e.initstate=y(e.initstate),e.setstate=t(e.setstate),e.random=n(e.random),e.readlink=v(e.readlink),e.readlinkat=k(e.readlinkat),e.readv=W(e.readv),e.reallocarray=v(e.reallocarray),e.recvmsg=W(e.recvmsg),e.regerror=k(e.regerror),e.sendto=de(e.sendto),e.sendmsg=W(e.sendmsg),e.__res_state=n(e.__res_state),e.rindex=u(e.rindex),e.secure_getenv=t(e.secure_getenv),e.seed48=t(e.seed48),e.sem_open=c(e.sem_open),e.getservent=n(e.getservent),e.setlocale=T(e.setlocale),e.signal=T(e.signal),e.bsd_signal=T(e.bsd_signal),e.__sysv_signal=T(e.__sysv_signal),e.stpcpy=a(e.stpcpy),e.stpncpy=v(e.stpncpy),e.strcasestr=a(e.strcasestr),e.strcat=a(e.strcat),e.strchrnul=u(e.strchrnul),e.__strerror_l=T(e.__strerror_l),e.strerror_l=T(e.strerror_l),e.strfmon_l=w(e.strfmon_l),e.strfmon=A(e.strfmon),e.strftime=A(e.strftime),e.strftime_l=w(e.strftime_l),e.strlcat=v(e.strlcat),e.strlcpy=v(e.strlcpy),e.strlwr=t(e.strlwr),e.strncat=v(e.strncat),e.strndup=a(e.strndup),e.strpbrk=a(e.strpbrk),e.strsep=a(e.strsep),e.strsignal=p(e.strsignal),e.strtok=a(e.strtok),e.strtok_r=v(e.strtok_r),e.__strtol_internal=d(e.__strtol_internal),e.__strtoul_internal=d(e.__strtoul_internal),e.strtoul_l=N(e.strtoul_l),e.strtol_l=N(e.strtol_l),e.strupr=t(e.strupr),e.__strxfrm_l=A(e.__strxfrm_l),e.strxfrm=v(e.strxfrm),e.strxfrm_l=A(e.strxfrm_l),e.tdelete=v(e.tdelete),e.telldir=t(e.telldir),e.tempnam=a(e.tempnam),e.textdomain=t(e.textdomain),e.gettext=t(e.gettext),e.ngettext=v(e.ngettext),e.tfind=v(e.tfind),e.tmpfile=n(e.tmpfile),e.tmpnam=t(e.tmpnam),e.tsearch=v(e.tsearch),e.ttyname=p(e.ttyname),e.__uselocale=t(e.__uselocale),e.uselocale=t(e.uselocale),e.wcsnlen=a(e.wcsnlen),e.wcpcpy=a(e.wcpcpy),e.wcscpy=a(e.wcscpy),e.wcpncpy=v(e.wcpncpy),e.wcsncpy=v(e.wcsncpy),e.wcscat=a(e.wcscat),e.wcscspn=a(e.wcscspn),e.wcsdup=t(e.wcsdup),e.wmemcpy=v(e.wmemcpy),e.__wcsftime_l=w(e.__wcsftime_l),e.wcstoul=d(e.wcstoul),e.wcsftime=A(e.wcsftime),e.wcsftime_l=w(e.wcsftime_l),e.wcsncat=v(e.wcsncat),e.wmemset=c(e.wmemset),e.wcsnrtombs=w(e.wcsnrtombs),e.wcspbrk=a(e.wcspbrk),e.wcsrchr=u(e.wcsrchr),e.wcsspn=a(e.wcsspn),e.wcsstr=a(e.wcsstr),e.wcstok=v(e.wcstok),e.wcstol=d(e.wcstol),e.wcstombs=v(e.wcstombs),e.wcswcs=a(e.wcswcs),e.__wcsxfrm_l=A(e.__wcsxfrm_l),e.wcsxfrm=v(e.wcsxfrm),e.wcsxfrm_l=A(e.wcsxfrm_l),e.wctrans=t(e.wctrans),e.__wctrans_l=a(e.__wctrans_l),e.wctrans_l=a(e.wctrans_l),e.wmemmove=v(e.wmemmove),e.writev=W(e.writev),e.sbrk=re(e.sbrk),e.__libc_realloc=a(e.__libc_realloc),e.realloc_in_place=a(e.realloc_in_place),e.memalign=a(e.memalign),e.valloc=t(e.valloc),e.pvalloc=t(e.pvalloc),e.malloc_usable_size=t(e.malloc_usable_size),e.malloc_footprint=n(e.malloc_footprint),e.malloc_max_footprint=n(e.malloc_max_footprint),e.malloc_footprint_limit=n(e.malloc_footprint_limit),e.malloc_set_footprint_limit=t(e.malloc_set_footprint_limit),e.independent_calloc=v(e.independent_calloc),e.independent_comalloc=v(e.independent_comalloc),e.bulk_free=a(e.bulk_free),e.emscripten_builtin_realloc=a(e.emscripten_builtin_realloc),e.emscripten_builtin_calloc=a(e.emscripten_builtin_calloc),e.emscripten_get_sbrk_ptr=n(e.emscripten_get_sbrk_ptr),e._sbrk64=p(e._sbrk64),e.__emutls_get_address=t(e.__emutls_get_address),e.emscripten_stack_get_free=n(e.emscripten_stack_get_free),e._emscripten_stack_alloc=t(e._emscripten_stack_alloc),e.__cxa_current_primary_exception=n(e.__cxa_current_primary_exception),e.__dynamic_cast=A(e.__dynamic_cast),e.__cxa_demangle=A(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=fe(e.gethostbyaddr),e.gethostbyname=t(e.gethostbyname),e.gethostbyname2=u(e.gethostbyname2),e.recvfrom=he(e.recvfrom),e}function callMain(e=[]){var t=resolveGlobalSymbol("main").sym;if(t){e.unshift(thisProgram);var n=e.length,a=stackAlloc((n+1)*4),c=a;for(var u of e)(growMemViews(),HEAPU32)[c>>>2>>>0]=stringToUTF8OnStack(u),c+=4;(growMemViews(),HEAPU32)[c>>>2>>>0]=0;try{var d=t(n,a);return exitJS(d,!0),d}catch(p){return handleException(p)}}}async function run(e=programArgs){var a;if(ENVIRONMENT_IS_PTHREAD){initRuntime();return}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),(a=Module.onRuntimeInitialized)==null||a.call(Module);var n=Module.noInitialRun||!1;n||callMain(e),postRun()}}var wasmExports;return ENVIRONMENT_IS_PTHREAD||(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 isPthread=globalThis.name=="em-pthread",Xc,Kc,Jc,isNode=((Kc=(Xc=globalThis.process)==null?void 0:Xc.versions)==null?void 0:Kc.node)&&((Jc=globalThis.process)==null?void 0:Jc.type)!="renderer";isNode&&(isPthread=Kt("node:worker_threads").workerData==="em-pthread");isPthread&&DuckDB()});var i_=Ri(()=>{});var n_=Ri(()=>{});var s_=Ri((ew,La)=>{(function(){"use strict";var l="input is invalid type",r=typeof window=="object",o=r?window:{};o.JS_SHA256_NO_WINDOW&&(r=!1);var _=!r&&typeof self=="object",f=!o.JS_SHA256_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node&&process.type!="renderer";f?o=global:_&&(o=self);var m=!o.JS_SHA256_NO_COMMON_JS&&typeof La=="object"&&La.exports,h=typeof define=="function"&&define.amd,S=!o.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",e="0123456789abcdef".split(""),t=[-2147483648,8388608,32768,128],n=[24,16,8,0],a=[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],c=["hex","array","digest","arrayBuffer"],u=[];(o.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(w){return Object.prototype.toString.call(w)==="[object Array]"}),S&&(o.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(w){return typeof w=="object"&&w.buffer&&w.buffer.constructor===ArrayBuffer});var d=function(w,E){return function(M){return new v(E,!0).update(M)[w]()}},p=function(w){var E=d("hex",w);f&&(E=g(E,w)),E.create=function(){return new v(w)},E.update=function(I){return E.create().update(I)};for(var M=0;M<c.length;++M){var L=c[M];E[L]=d(L,w)}return E},g=function(w,E){var M=i_(),L=n_().Buffer,I=E?"sha224":"sha256",F;L.from&&!o.JS_SHA256_NO_BUFFER_FROM?F=L.from:F=function(P){return new L(P)};var N=function(P){if(typeof P=="string")return M.createHash(I).update(P,"utf8").digest("hex");if(P==null)throw new Error(l);return P.constructor===ArrayBuffer&&(P=new Uint8Array(P)),Array.isArray(P)||ArrayBuffer.isView(P)||P.constructor===L?M.createHash(I).update(F(P)).digest("hex"):w(P)};return N},y=function(w,E){return function(M,L){return new A(M,E,!0).update(L)[w]()}},b=function(w){var E=y("hex",w);E.create=function(I){return new A(I,w)},E.update=function(I,F){return E.create(I).update(F)};for(var M=0;M<c.length;++M){var L=c[M];E[L]=y(L,w)}return E};function v(w,E){E?(u[0]=u[16]=u[1]=u[2]=u[3]=u[4]=u[5]=u[6]=u[7]=u[8]=u[9]=u[10]=u[11]=u[12]=u[13]=u[14]=u[15]=0,this.blocks=u):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],w?(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=w}v.prototype.update=function(w){if(!this.finalized){var E,M=typeof w;if(M!=="string"){if(M==="object"){if(w===null)throw new Error(l);if(S&&w.constructor===ArrayBuffer)w=new Uint8Array(w);else if(!Array.isArray(w)&&(!S||!ArrayBuffer.isView(w)))throw new Error(l)}else throw new Error(l);E=!0}for(var L,I=0,F,N=w.length,P=this.blocks;I<N;){if(this.hashed&&(this.hashed=!1,P[0]=this.block,this.block=P[16]=P[1]=P[2]=P[3]=P[4]=P[5]=P[6]=P[7]=P[8]=P[9]=P[10]=P[11]=P[12]=P[13]=P[14]=P[15]=0),E)for(F=this.start;I<N&&F<64;++I)P[F>>>2]|=w[I]<<n[F++&3];else for(F=this.start;I<N&&F<64;++I)L=w.charCodeAt(I),L<128?P[F>>>2]|=L<<n[F++&3]:L<2048?(P[F>>>2]|=(192|L>>>6)<<n[F++&3],P[F>>>2]|=(128|L&63)<<n[F++&3]):L<55296||L>=57344?(P[F>>>2]|=(224|L>>>12)<<n[F++&3],P[F>>>2]|=(128|L>>>6&63)<<n[F++&3],P[F>>>2]|=(128|L&63)<<n[F++&3]):(L=65536+((L&1023)<<10|w.charCodeAt(++I)&1023),P[F>>>2]|=(240|L>>>18)<<n[F++&3],P[F>>>2]|=(128|L>>>12&63)<<n[F++&3],P[F>>>2]|=(128|L>>>6&63)<<n[F++&3],P[F>>>2]|=(128|L&63)<<n[F++&3]);this.lastByteIndex=F,this.bytes+=F-this.start,F>=64?(this.block=P[16],this.start=F-64,this.hash(),this.hashed=!0):this.start=F}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},v.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var w=this.blocks,E=this.lastByteIndex;w[16]=this.block,w[E>>>2]|=t[E&3],this.block=w[16],E>=56&&(this.hashed||this.hash(),w[0]=this.block,w[16]=w[1]=w[2]=w[3]=w[4]=w[5]=w[6]=w[7]=w[8]=w[9]=w[10]=w[11]=w[12]=w[13]=w[14]=w[15]=0),w[14]=this.hBytes<<3|this.bytes>>>29,w[15]=this.bytes<<3,this.hash()}},v.prototype.hash=function(){var w=this.h0,E=this.h1,M=this.h2,L=this.h3,I=this.h4,F=this.h5,N=this.h6,P=this.h7,x=this.blocks,R,k,W,de,re,fe,he,B,O,V,U;for(R=16;R<64;++R)re=x[R-15],k=(re>>>7|re<<25)^(re>>>18|re<<14)^re>>>3,re=x[R-2],W=(re>>>17|re<<15)^(re>>>19|re<<13)^re>>>10,x[R]=x[R-16]+k+x[R-7]+W<<0;for(U=E&M,R=0;R<64;R+=4)this.first?(this.is224?(B=300032,re=x[0]-1413257819,P=re-150054599<<0,L=re+24177077<<0):(B=704751109,re=x[0]-210244248,P=re-1521486534<<0,L=re+143694565<<0),this.first=!1):(k=(w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10),W=(I>>>6|I<<26)^(I>>>11|I<<21)^(I>>>25|I<<7),B=w&E,de=B^w&M^U,he=I&F^~I&N,re=P+W+he+a[R]+x[R],fe=k+de,P=L+re<<0,L=re+fe<<0),k=(L>>>2|L<<30)^(L>>>13|L<<19)^(L>>>22|L<<10),W=(P>>>6|P<<26)^(P>>>11|P<<21)^(P>>>25|P<<7),O=L&w,de=O^L&E^B,he=P&I^~P&F,re=N+W+he+a[R+1]+x[R+1],fe=k+de,N=M+re<<0,M=re+fe<<0,k=(M>>>2|M<<30)^(M>>>13|M<<19)^(M>>>22|M<<10),W=(N>>>6|N<<26)^(N>>>11|N<<21)^(N>>>25|N<<7),V=M&L,de=V^M&w^O,he=N&P^~N&I,re=F+W+he+a[R+2]+x[R+2],fe=k+de,F=E+re<<0,E=re+fe<<0,k=(E>>>2|E<<30)^(E>>>13|E<<19)^(E>>>22|E<<10),W=(F>>>6|F<<26)^(F>>>11|F<<21)^(F>>>25|F<<7),U=E&M,de=U^E&L^V,he=F&N^~F&P,re=I+W+he+a[R+3]+x[R+3],fe=k+de,I=w+re<<0,w=re+fe<<0,this.chromeBugWorkAround=!0;this.h0=this.h0+w<<0,this.h1=this.h1+E<<0,this.h2=this.h2+M<<0,this.h3=this.h3+L<<0,this.h4=this.h4+I<<0,this.h5=this.h5+F<<0,this.h6=this.h6+N<<0,this.h7=this.h7+P<<0},v.prototype.hex=function(){this.finalize();var w=this.h0,E=this.h1,M=this.h2,L=this.h3,I=this.h4,F=this.h5,N=this.h6,P=this.h7,x=e[w>>>28&15]+e[w>>>24&15]+e[w>>>20&15]+e[w>>>16&15]+e[w>>>12&15]+e[w>>>8&15]+e[w>>>4&15]+e[w&15]+e[E>>>28&15]+e[E>>>24&15]+e[E>>>20&15]+e[E>>>16&15]+e[E>>>12&15]+e[E>>>8&15]+e[E>>>4&15]+e[E&15]+e[M>>>28&15]+e[M>>>24&15]+e[M>>>20&15]+e[M>>>16&15]+e[M>>>12&15]+e[M>>>8&15]+e[M>>>4&15]+e[M&15]+e[L>>>28&15]+e[L>>>24&15]+e[L>>>20&15]+e[L>>>16&15]+e[L>>>12&15]+e[L>>>8&15]+e[L>>>4&15]+e[L&15]+e[I>>>28&15]+e[I>>>24&15]+e[I>>>20&15]+e[I>>>16&15]+e[I>>>12&15]+e[I>>>8&15]+e[I>>>4&15]+e[I&15]+e[F>>>28&15]+e[F>>>24&15]+e[F>>>20&15]+e[F>>>16&15]+e[F>>>12&15]+e[F>>>8&15]+e[F>>>4&15]+e[F&15]+e[N>>>28&15]+e[N>>>24&15]+e[N>>>20&15]+e[N>>>16&15]+e[N>>>12&15]+e[N>>>8&15]+e[N>>>4&15]+e[N&15];return this.is224||(x+=e[P>>>28&15]+e[P>>>24&15]+e[P>>>20&15]+e[P>>>16&15]+e[P>>>12&15]+e[P>>>8&15]+e[P>>>4&15]+e[P&15]),x},v.prototype.toString=v.prototype.hex,v.prototype.digest=function(){this.finalize();var w=this.h0,E=this.h1,M=this.h2,L=this.h3,I=this.h4,F=this.h5,N=this.h6,P=this.h7,x=[w>>>24&255,w>>>16&255,w>>>8&255,w&255,E>>>24&255,E>>>16&255,E>>>8&255,E&255,M>>>24&255,M>>>16&255,M>>>8&255,M&255,L>>>24&255,L>>>16&255,L>>>8&255,L&255,I>>>24&255,I>>>16&255,I>>>8&255,I&255,F>>>24&255,F>>>16&255,F>>>8&255,F&255,N>>>24&255,N>>>16&255,N>>>8&255,N&255];return this.is224||x.push(P>>>24&255,P>>>16&255,P>>>8&255,P&255),x},v.prototype.array=v.prototype.digest,v.prototype.arrayBuffer=function(){this.finalize();var w=new ArrayBuffer(this.is224?28:32),E=new DataView(w);return E.setUint32(0,this.h0),E.setUint32(4,this.h1),E.setUint32(8,this.h2),E.setUint32(12,this.h3),E.setUint32(16,this.h4),E.setUint32(20,this.h5),E.setUint32(24,this.h6),this.is224||E.setUint32(28,this.h7),w};function A(w,E,M){var L,I=typeof w;if(I==="string"){var F=[],N=w.length,P=0,x;for(L=0;L<N;++L)x=w.charCodeAt(L),x<128?F[P++]=x:x<2048?(F[P++]=192|x>>>6,F[P++]=128|x&63):x<55296||x>=57344?(F[P++]=224|x>>>12,F[P++]=128|x>>>6&63,F[P++]=128|x&63):(x=65536+((x&1023)<<10|w.charCodeAt(++L)&1023),F[P++]=240|x>>>18,F[P++]=128|x>>>12&63,F[P++]=128|x>>>6&63,F[P++]=128|x&63);w=F}else if(I==="object"){if(w===null)throw new Error(l);if(S&&w.constructor===ArrayBuffer)w=new Uint8Array(w);else if(!Array.isArray(w)&&(!S||!ArrayBuffer.isView(w)))throw new Error(l)}else throw new Error(l);w.length>64&&(w=new v(E,!0).update(w).array());var R=[],k=[];for(L=0;L<64;++L){var W=w[L]||0;R[L]=92^W,k[L]=54^W}v.call(this,E,M),this.update(k),this.oKeyPad=R,this.inner=!0,this.sharedMemory=M}A.prototype=new v,A.prototype.finalize=function(){if(v.prototype.finalize.call(this),this.inner){this.inner=!1;var w=this.array();v.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(w),v.prototype.finalize.call(this)}};var T=p();T.sha256=T,T.sha224=p(!0),T.sha256.hmac=b(),T.sha224.hmac=b(!0),m?La.exports=T:(o.sha256=T.sha256,o.sha224=T.sha224,h&&define(function(){return T}))})()});function Ko(l,r){var o={};for(var _ in l)Object.prototype.hasOwnProperty.call(l,_)&&r.indexOf(_)<0&&(o[_]=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])&&(o[_[f]]=l[_[f]]);return o}function H(l,r,o,_){function f(m){return m instanceof o?m:new o(function(h){h(m)})}return new(o||(o=Promise))(function(m,h){function S(n){try{t(_.next(n))}catch(a){h(a)}}function e(n){try{t(_.throw(n))}catch(a){h(a)}}function t(n){n.done?m(n.value):f(n.value).then(S,e)}t((_=_.apply(l,r||[])).next())})}function Xo(l){var r=typeof Symbol=="function"&&Symbol.iterator,o=r&&l[r],_=0;if(o)return o.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 ae(l){return this instanceof ae?(this.v=l,this):new ae(l)}function rt(l,r,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var _=o.apply(l,r||[]),f,m=[];return f={},h("next"),h("throw"),h("return"),f[Symbol.asyncIterator]=function(){return this},f;function h(c){_[c]&&(f[c]=function(u){return new Promise(function(d,p){m.push([c,u,d,p])>1||S(c,u)})})}function S(c,u){try{e(_[c](u))}catch(d){a(m[0][3],d)}}function e(c){c.value instanceof ae?Promise.resolve(c.value.v).then(t,n):a(m[0][2],c)}function t(c){S("next",c)}function n(c){S("throw",c)}function a(c,u){c(u),m.shift(),m.length&&S(m[0][0],m[0][1])}}function oi(l){var r,o;return r={},_("next"),_("throw",function(f){throw f}),_("return"),r[Symbol.iterator]=function(){return this},r;function _(f,m){r[f]=l[f]?function(h){return(o=!o)?{value:ae(l[f](h)),done:!1}:m?m(h):h}:m}}function gt(l){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=l[Symbol.asyncIterator],o;return r?r.call(l):(l=typeof Xo=="function"?Xo(l):l[Symbol.iterator](),o={},_("next"),_("throw"),_("return"),o[Symbol.asyncIterator]=function(){return this},o);function _(m){o[m]=l[m]&&function(h){return new Promise(function(S,e){h=l[m](h),f(S,e,h.done,h.value)})}}function f(m,h,S,e){Promise.resolve(e).then(function(t){m({value:t,done:S})},h)}}var Ra={};Vr(Ra,{compareArrayLike:()=>Ca,joinUint8Arrays:()=>it,memcpy:()=>Oi,rebaseValueOffsets:()=>jn,toArrayBufferView:()=>oe,toArrayBufferViewAsyncIterator:()=>yt,toArrayBufferViewIterator:()=>Ot,toBigInt64Array:()=>zn,toBigUint64Array:()=>T_,toFloat32Array:()=>L_,toFloat32ArrayAsyncIterator:()=>U_,toFloat32ArrayIterator:()=>C_,toFloat64Array:()=>M_,toFloat64ArrayAsyncIterator:()=>W_,toFloat64ArrayIterator:()=>R_,toInt16Array:()=>w_,toInt16ArrayAsyncIterator:()=>O_,toInt16ArrayIterator:()=>I_,toInt32Array:()=>Gr,toInt32ArrayAsyncIterator:()=>H_,toInt32ArrayIterator:()=>P_,toInt8Array:()=>b_,toInt8ArrayAsyncIterator:()=>B_,toInt8ArrayIterator:()=>F_,toUint16Array:()=>E_,toUint16ArrayAsyncIterator:()=>V_,toUint16ArrayIterator:()=>x_,toUint32Array:()=>A_,toUint32ArrayAsyncIterator:()=>G_,toUint32ArrayIterator:()=>N_,toUint8Array:()=>Q,toUint8ArrayAsyncIterator:()=>Na,toUint8ArrayIterator:()=>xa,toUint8ClampedArray:()=>D_,toUint8ClampedArrayAsyncIterator:()=>z_,toUint8ClampedArrayIterator:()=>k_});var h_=new TextDecoder("utf-8"),ki=l=>h_.decode(l),v_=new TextEncoder,Bt=l=>v_.encode(l);var y_=l=>typeof l=="number",Jo=l=>typeof l=="boolean",Be=l=>typeof l=="function",$e=l=>l!=null&&Object(l)===l,ht=l=>$e(l)&&Be(l.then);var vt=l=>$e(l)&&Be(l[Symbol.iterator]),ct=l=>$e(l)&&Be(l[Symbol.asyncIterator]),On=l=>$e(l)&&$e(l.schema);var Hn=l=>$e(l)&&"done"in l&&"value"in l;var Vn=l=>$e(l)&&Be(l.stat)&&y_(l.fd);var Gn=l=>$e(l)&&Bi(l.body),Un=l=>"_getDOMStream"in l&&"_getNodeStream"in l,Yo=l=>$e(l)&&Be(l.abort)&&Be(l.getWriter)&&!Un(l),Bi=l=>$e(l)&&Be(l.cancel)&&Be(l.getReader)&&!Un(l),Qo=l=>$e(l)&&Be(l.end)&&Be(l.write)&&Jo(l.writable)&&!Un(l),Wn=l=>$e(l)&&Be(l.read)&&Be(l.pipe)&&Jo(l.readable)&&!Un(l),Zo=l=>$e(l)&&Be(l.clear)&&Be(l.bytes)&&Be(l.position)&&Be(l.setPosition)&&Be(l.capacity)&&Be(l.getBufferIdentifier)&&Be(l.createLong);var Pa=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function S_(l){let r=l[0]?[l[0]]:[],o,_,f,m;for(let h,S,e=0,t=0,n=l.length;++e<n;){if(h=r[t],S=l[e],!h||!S||h.buffer!==S.buffer||S.byteOffset<h.byteOffset){S&&(r[++t]=S);continue}if({byteOffset:o,byteLength:f}=h,{byteOffset:_,byteLength:m}=S,o+f<_||_+m<o){S&&(r[++t]=S);continue}r[t]=new Uint8Array(h.buffer,o,_-o+m)}return r}function Oi(l,r,o=0,_=r.byteLength){let f=l.byteLength,m=new Uint8Array(l.buffer,l.byteOffset,f),h=new Uint8Array(r.buffer,r.byteOffset,Math.min(_,f));return m.set(h,o),l}function it(l,r){let o=S_(l),_=o.reduce((n,a)=>n+a.byteLength,0),f,m,h,S=0,e=-1,t=Math.min(r||Number.POSITIVE_INFINITY,_);for(let n=o.length;++e<n;){if(f=o[e],m=f.subarray(0,Math.min(f.length,t-S)),t<=S+m.length){m.length<f.length?o[e]=f.subarray(m.length):m.length===f.length&&e++,h?Oi(h,m,S):h=m;break}Oi(h||(h=new Uint8Array(t)),m,S),S+=m.length}return[h||new Uint8Array(0),o.slice(e),_-(h?h.byteLength:0)]}function oe(l,r){let o=Hn(r)?r.value:r;return o instanceof l?l===Uint8Array?new l(o.buffer,o.byteOffset,o.byteLength):o:o?(typeof o=="string"&&(o=Bt(o)),o instanceof ArrayBuffer?new l(o):o instanceof Pa?new l(o):Zo(o)?oe(l,o.bytes()):ArrayBuffer.isView(o)?o.byteLength<=0?new l(0):new l(o.buffer,o.byteOffset,o.byteLength/l.BYTES_PER_ELEMENT):l.from(o)):new l(0)}var b_=l=>oe(Int8Array,l),w_=l=>oe(Int16Array,l),Gr=l=>oe(Int32Array,l),zn=l=>oe(BigInt64Array,l),Q=l=>oe(Uint8Array,l),E_=l=>oe(Uint16Array,l),A_=l=>oe(Uint32Array,l),T_=l=>oe(BigUint64Array,l),L_=l=>oe(Float32Array,l),M_=l=>oe(Float64Array,l),D_=l=>oe(Uint8ClampedArray,l),Ia=l=>(l.next(),l);function*Ot(l,r){let o=function*(f){yield f},_=typeof r=="string"||ArrayBuffer.isView(r)||r instanceof ArrayBuffer||r instanceof Pa?o(r):vt(r)?r:o(r);return yield*Ia(function*(f){let m=null;do m=f.next(yield oe(l,m));while(!m.done)}(_[Symbol.iterator]())),new l}var F_=l=>Ot(Int8Array,l),I_=l=>Ot(Int16Array,l),P_=l=>Ot(Int32Array,l),xa=l=>Ot(Uint8Array,l),x_=l=>Ot(Uint16Array,l),N_=l=>Ot(Uint32Array,l),C_=l=>Ot(Float32Array,l),R_=l=>Ot(Float64Array,l),k_=l=>Ot(Uint8ClampedArray,l);function yt(l,r){return rt(this,arguments,function*(){if(ht(r))return yield ae(yield ae(yield*oi(gt(yt(l,yield ae(r))))));let _=function(h){return rt(this,arguments,function*(){yield yield ae(yield ae(h))})},f=function(h){return rt(this,arguments,function*(){yield ae(yield*oi(gt(Ia(function*(S){let e=null;do e=S.next(yield e==null?void 0:e.value);while(!e.done)}(h[Symbol.iterator]())))))})},m=typeof r=="string"||ArrayBuffer.isView(r)||r instanceof ArrayBuffer||r instanceof Pa?_(r):vt(r)?f(r):ct(r)?r:_(r);return yield ae(yield*oi(gt(Ia(function(h){return rt(this,arguments,function*(){let S=null;do S=yield ae(h.next(yield yield ae(oe(l,S))));while(!S.done)})}(m[Symbol.asyncIterator]()))))),yield ae(new l)})}var B_=l=>yt(Int8Array,l),O_=l=>yt(Int16Array,l),H_=l=>yt(Int32Array,l),Na=l=>yt(Uint8Array,l),V_=l=>yt(Uint16Array,l),G_=l=>yt(Uint32Array,l),U_=l=>yt(Float32Array,l),W_=l=>yt(Float64Array,l),z_=l=>yt(Uint8ClampedArray,l);function jn(l,r,o){if(l!==0){o=o.slice(0,r);for(let _=-1,f=o.length;++_<f;)o[_]+=l}return o.subarray(0,r)}function Ca(l,r){let o=0,_=l.length;if(_!==r.length)return!1;if(_>0)do if(l[o]!==r[o])return!1;while(++o<_);return!0}var Ge={fromIterable(l){return $n(j_(l))},fromAsyncIterable(l){return $n($_(l))},fromDOMStream(l){return $n(q_(l))},fromNodeStream(l){return $n(X_(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')}},$n=l=>(l.next(),l);function*j_(l){let r,o=!1,_=[],f,m,h,S=0;function e(){return m==="peek"?it(_,h)[0]:([f,_,S]=it(_,h),f)}({cmd:m,size:h}=(yield null)||{cmd:"read",size:0});let t=xa(l)[Symbol.iterator]();try{do if({done:r,value:f}=Number.isNaN(h-S)?t.next():t.next(h-S),!r&&f.byteLength>0&&(_.push(f),S+=f.byteLength),r||h<=S)do({cmd:m,size:h}=yield e());while(h<S);while(!r)}catch(n){(o=!0)&&typeof t.throw=="function"&&t.throw(n)}finally{o===!1&&typeof t.return=="function"&&t.return(null)}return null}function $_(l){return rt(this,arguments,function*(){let o,_=!1,f=[],m,h,S,e=0;function t(){return h==="peek"?it(f,S)[0]:([m,f,e]=it(f,S),m)}({cmd:h,size:S}=(yield yield ae(null))||{cmd:"read",size:0});let n=Na(l)[Symbol.asyncIterator]();try{do if({done:o,value:m}=Number.isNaN(S-e)?yield ae(n.next()):yield ae(n.next(S-e)),!o&&m.byteLength>0&&(f.push(m),e+=m.byteLength),o||S<=e)do({cmd:h,size:S}=yield yield ae(t()));while(S<e);while(!o)}catch(a){(_=!0)&&typeof n.throw=="function"&&(yield ae(n.throw(a)))}finally{_===!1&&typeof n.return=="function"&&(yield ae(n.return(new Uint8Array(0))))}return yield ae(null)})}function q_(l){return rt(this,arguments,function*(){let o=!1,_=!1,f=[],m,h,S,e=0;function t(){return h==="peek"?it(f,S)[0]:([m,f,e]=it(f,S),m)}({cmd:h,size:S}=(yield yield ae(null))||{cmd:"read",size:0});let n=new Ba(l);try{do if({done:o,value:m}=Number.isNaN(S-e)?yield ae(n.read()):yield ae(n.read(S-e)),!o&&m.byteLength>0&&(f.push(Q(m)),e+=m.byteLength),o||S<=e)do({cmd:h,size:S}=yield yield ae(t()));while(S<e);while(!o)}catch(a){(_=!0)&&(yield ae(n.cancel(a)))}finally{_===!1?yield ae(n.cancel()):l.locked&&n.releaseLock()}return yield ae(null)})}var Ba=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 H(this,void 0,void 0,function*(){let{reader:o,source:_}=this;o&&(yield o.cancel(r).catch(()=>{})),_&&_.locked&&this.releaseLock()})}read(r){return H(this,void 0,void 0,function*(){if(r===0)return{done:this.reader==null,value:new Uint8Array(0)};let o=yield this.reader.read();return!o.done&&(o.value=Q(o)),o})}},ka=(l,r)=>{let o=f=>_([r,f]),_;return[r,o,new Promise(f=>(_=f)&&l.once(r,o))]};function X_(l){return rt(this,arguments,function*(){let o=[],_="error",f=!1,m=null,h,S,e=0,t=[],n;function a(){return h==="peek"?it(t,S)[0]:([n,t,e]=it(t,S),n)}if({cmd:h,size:S}=(yield yield ae(null))||{cmd:"read",size:0},l.isTTY)return yield yield ae(new Uint8Array(0)),yield ae(null);try{o[0]=ka(l,"end"),o[1]=ka(l,"error");do{if(o[2]=ka(l,"readable"),[_,m]=yield ae(Promise.race(o.map(u=>u[2]))),_==="error")break;if((f=_==="end")||(Number.isFinite(S-e)?(n=Q(l.read(S-e)),n.byteLength<S-e&&(n=Q(l.read()))):n=Q(l.read()),n.byteLength>0&&(t.push(n),e+=n.byteLength)),f||S<=e)do({cmd:h,size:S}=yield yield ae(a()));while(S<e)}while(!f)}finally{yield ae(c(o,_==="error"?m:null))}return yield ae(null);function c(u,d){return n=t=null,new Promise((p,g)=>{for(let[y,b]of u)l.off(y,b);try{let y=l.destroy;y&&y.call(l,d),d=void 0}catch(y){d=y||d}finally{d!=null?g(d):p()}})}})}var ve;(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"})(ve||(ve={}));var Ee;(function(l){l[l.Sparse=0]="Sparse",l[l.Dense=1]="Dense"})(Ee||(Ee={}));var we;(function(l){l[l.HALF=0]="HALF",l[l.SINGLE=1]="SINGLE",l[l.DOUBLE=2]="DOUBLE"})(we||(we={}));var Pe;(function(l){l[l.DAY=0]="DAY",l[l.MILLISECOND=1]="MILLISECOND"})(Pe||(Pe={}));var z;(function(l){l[l.SECOND=0]="SECOND",l[l.MILLISECOND=1]="MILLISECOND",l[l.MICROSECOND=2]="MICROSECOND",l[l.NANOSECOND=3]="NANOSECOND"})(z||(z={}));var Oe;(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"})(Oe||(Oe={}));var Ht=new Int32Array(2),qn=new Float32Array(Ht.buffer),Xn=new Float64Array(Ht.buffer),li=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1;var Hi;(function(l){l[l.UTF8_BYTES=1]="UTF8_BYTES",l[l.UTF16_STRING=2]="UTF16_STRING"})(Hi||(Hi={}));var nt=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 Ht[0]=this.readInt32(r),qn[0]}readFloat64(r){return Ht[li?0:1]=this.readInt32(r),Ht[li?1:0]=this.readInt32(r+4),Xn[0]}writeInt8(r,o){this.bytes_[r]=o}writeUint8(r,o){this.bytes_[r]=o}writeInt16(r,o){this.bytes_[r]=o,this.bytes_[r+1]=o>>8}writeUint16(r,o){this.bytes_[r]=o,this.bytes_[r+1]=o>>8}writeInt32(r,o){this.bytes_[r]=o,this.bytes_[r+1]=o>>8,this.bytes_[r+2]=o>>16,this.bytes_[r+3]=o>>24}writeUint32(r,o){this.bytes_[r]=o,this.bytes_[r+1]=o>>8,this.bytes_[r+2]=o>>16,this.bytes_[r+3]=o>>24}writeInt64(r,o){this.writeInt32(r,Number(BigInt.asIntN(32,o))),this.writeInt32(r+4,Number(BigInt.asIntN(32,o>>BigInt(32))))}writeUint64(r,o){this.writeUint32(r,Number(BigInt.asUintN(32,o))),this.writeUint32(r+4,Number(BigInt.asUintN(32,o>>BigInt(32))))}writeFloat32(r,o){qn[0]=o,this.writeInt32(r,Ht[0])}writeFloat64(r,o){Xn[0]=o,this.writeInt32(r,Ht[li?0:1]),this.writeInt32(r+4,Ht[li?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 o=0;o<4;o++)r+=String.fromCharCode(this.readInt8(this.position_+4+o));return r}__offset(r,o){let _=r-this.readInt32(r);return o<this.readInt16(_)?this.readInt16(_+o):0}__union(r,o){return r.bb_pos=o+this.readInt32(o),r.bb=this,r}__string(r,o){r+=this.readInt32(r);let _=this.readInt32(r);r+=4;let f=this.bytes_.subarray(r,r+_);return o===Hi.UTF8_BYTES?f:this.text_decoder_.decode(f)}__union_with_string(r,o){return typeof r=="string"?this.__string(o):this.__union(r,o)}__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 o=0;o<4;o++)if(r.charCodeAt(o)!=this.readInt8(this.position()+4+o))return!1;return!0}createScalarList(r,o){let _=[];for(let f=0;f<o;++f){let m=r(f);m!==null&&_.push(m)}return _}createObjList(r,o){let _=[];for(let f=0;f<o;++f){let m=r(f);m!==null&&_.push(m.unpack())}return _}};var Ur=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 o;r?o=r:o=1024,this.bb=nt.allocate(o),this.space=o}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,o){r>this.minalign&&(this.minalign=r);let _=~(this.bb.capacity()-this.space+o)+1&r-1;for(;this.space<_+r+o;){let f=this.bb.capacity();this.bb=l.growByteBuffer(this.bb),this.space+=this.bb.capacity()-f}this.pad(_)}pad(r){for(let o=0;o<r;o++)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,o,_){(this.force_defaults||o!=_)&&(this.addInt8(o),this.slot(r))}addFieldInt16(r,o,_){(this.force_defaults||o!=_)&&(this.addInt16(o),this.slot(r))}addFieldInt32(r,o,_){(this.force_defaults||o!=_)&&(this.addInt32(o),this.slot(r))}addFieldInt64(r,o,_){(this.force_defaults||o!==_)&&(this.addInt64(o),this.slot(r))}addFieldFloat32(r,o,_){(this.force_defaults||o!=_)&&(this.addFloat32(o),this.slot(r))}addFieldFloat64(r,o,_){(this.force_defaults||o!=_)&&(this.addFloat64(o),this.slot(r))}addFieldOffset(r,o,_){(this.force_defaults||o!=_)&&(this.addOffset(o),this.slot(r))}addFieldStruct(r,o,_){o!=_&&(this.nested(o),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 o=r.capacity();if(o&3221225472)throw new Error("FlatBuffers: cannot grow buffer beyond 2 gigabytes.");let _=o<<1,f=nt.allocate(_);return f.setPosition(_-o),f.bytes().set(r.bytes(),_-o),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 o=0;o<r;o++)this.vtable[o]=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(),o=this.vtable_in_use-1;for(;o>=0&&this.vtable[o]==0;o--);let _=o+1;for(;o>=0;o--)this.addInt16(this.vtable[o]!=0?r-this.vtable[o]:0);let f=2;this.addInt16(r-this.object_start);let m=(_+f)*2;this.addInt16(m);let h=0,S=this.space;e:for(o=0;o<this.vtables.length;o++){let e=this.bb.capacity()-this.vtables[o];if(m==this.bb.readInt16(e)){for(let t=2;t<m;t+=2)if(this.bb.readInt16(S+t)!=this.bb.readInt16(e+t))continue e;h=this.vtables[o];break}}return h?(this.space=this.bb.capacity()-r,this.bb.writeInt32(this.space,h-r)):(this.vtables.push(this.offset()),this.bb.writeInt32(this.bb.capacity()-r,this.offset()-r)),this.isNested=!1,r}finish(r,o,_){let f=_?4:0;if(o){let m=o;if(this.prep(this.minalign,8+f),m.length!=4)throw new TypeError("FlatBuffers: file identifier must be length "+4);for(let h=3;h>=0;h--)this.writeInt8(m.charCodeAt(h))}this.prep(this.minalign,4+f),this.addOffset(r),f&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(r,o){this.finish(r,o,!0)}requiredField(r,o){let _=this.bb.capacity()-r,f=_-this.bb.readInt32(_);if(!(o<this.bb.readInt16(f)&&this.bb.readInt16(f+o)!=0))throw new TypeError("FlatBuffers: field "+o+" must be set")}startVector(r,o,_){this.notNested(),this.vector_num_elems=o,this.prep(4,r*o),this.prep(_,r*o)}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 o=this.createString(r);return this.string_maps.set(r,o),o}createString(r){if(r==null)return 0;let o;return r instanceof Uint8Array?o=r:o=this.text_encoder.encode(r),this.addInt8(0),this.startVector(1,o.length,1),this.bb.setPosition(this.space-=o.length),this.bb.bytes().set(o,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 o=[];for(let _=0;_<r.length;++_){let f=r[_];if(f!==null)o.push(this.createObjectOffset(f));else throw new TypeError("FlatBuffers: Argument for createObjectOffsetList cannot contain null.")}return o}createStructOffsetList(r,o){return o(this,r.length),this.createObjectOffsetList(r.slice().reverse()),this.endVector()}};var Vi;(function(l){l[l.BUFFER=0]="BUFFER"})(Vi||(Vi={}));var Gi;(function(l){l[l.LZ4_FRAME=0]="LZ4_FRAME",l[l.ZSTD=1]="ZSTD"})(Gi||(Gi={}));var Jn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsBodyCompression(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBodyCompression(r,o){return r.setPosition(r.position()+4),(o||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):Gi.LZ4_FRAME}method(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.readInt8(this.bb_pos+r):Vi.BUFFER}static startBodyCompression(r){r.startObject(2)}static addCodec(r,o){r.addFieldInt8(0,o,Gi.LZ4_FRAME)}static addMethod(r,o){r.addFieldInt8(1,o,Vi.BUFFER)}static endBodyCompression(r){return r.endObject()}static createBodyCompression(r,o,_){return l.startBodyCompression(r),l.addCodec(r,o),l.addMethod(r,_),l.endBodyCompression(r)}};var ci=class{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,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,o,_){return r.prep(8,16),r.writeInt64(BigInt(_!=null?_:0)),r.writeInt64(BigInt(o!=null?o:0)),r.offset()}};var _i=class{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,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,o,_){return r.prep(8,16),r.writeInt64(BigInt(_!=null?_:0)),r.writeInt64(BigInt(o!=null?o:0)),r.offset()}};var st=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsRecordBatch(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsRecordBatch(r,o){return r.setPosition(r.position()+4),(o||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,o){let _=this.bb.__offset(this.bb_pos,6);return _?(o||new _i).__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,o){let _=this.bb.__offset(this.bb_pos,8);return _?(o||new ci).__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 o=this.bb.__offset(this.bb_pos,10);return o?(r||new Jn).__init(this.bb.__indirect(this.bb_pos+o),this.bb):null}static startRecordBatch(r){r.startObject(4)}static addLength(r,o){r.addFieldInt64(0,o,BigInt("0"))}static addNodes(r,o){r.addFieldOffset(1,o,0)}static startNodesVector(r,o){r.startVector(16,o,8)}static addBuffers(r,o){r.addFieldOffset(2,o,0)}static startBuffersVector(r,o){r.startVector(16,o,8)}static addCompression(r,o){r.addFieldOffset(3,o,0)}static endRecordBatch(r){return r.endObject()}};var Jt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsDictionaryBatch(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDictionaryBatch(r,o){return r.setPosition(r.position()+4),(o||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 o=this.bb.__offset(this.bb_pos,6);return o?(r||new st).__init(this.bb.__indirect(this.bb_pos+o),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,o){r.addFieldInt64(0,o,BigInt("0"))}static addData(r,o){r.addFieldOffset(1,o,0)}static addIsDelta(r,o){r.addFieldInt8(2,+o,0)}static endDictionaryBatch(r){return r.endObject()}};var Er;(function(l){l[l.Little=0]="Little",l[l.Big=1]="Big"})(Er||(Er={}));var Ui;(function(l){l[l.DenseArray=0]="DenseArray"})(Ui||(Ui={}));var bt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsInt(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsInt(r,o){return r.setPosition(r.position()+4),(o||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,o){r.addFieldInt32(0,o,0)}static addIsSigned(r,o){r.addFieldInt8(1,+o,0)}static endInt(r){return r.endObject()}static createInt(r,o,_){return l.startInt(r),l.addBitWidth(r,o),l.addIsSigned(r,_),l.endInt(r)}};var Vt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsDictionaryEncoding(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDictionaryEncoding(r,o){return r.setPosition(r.position()+4),(o||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 o=this.bb.__offset(this.bb_pos,6);return o?(r||new bt).__init(this.bb.__indirect(this.bb_pos+o),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):Ui.DenseArray}static startDictionaryEncoding(r){r.startObject(4)}static addId(r,o){r.addFieldInt64(0,o,BigInt("0"))}static addIndexType(r,o){r.addFieldOffset(1,o,0)}static addIsOrdered(r,o){r.addFieldInt8(2,+o,0)}static addDictionaryKind(r,o){r.addFieldInt16(3,o,Ui.DenseArray)}static endDictionaryEncoding(r){return r.endObject()}};var He=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsKeyValue(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsKeyValue(r,o){return r.setPosition(r.position()+4),(o||new l).__init(r.readInt32(r.position())+r.position(),r)}key(r){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.__string(this.bb_pos+o,r):null}value(r){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.__string(this.bb_pos+o,r):null}static startKeyValue(r){r.startObject(2)}static addKey(r,o){r.addFieldOffset(0,o,0)}static addValue(r,o){r.addFieldOffset(1,o,0)}static endKeyValue(r){return r.endObject()}static createKeyValue(r,o,_){return l.startKeyValue(r),l.addKey(r,o),l.addValue(r,_),l.endKeyValue(r)}};var Wi=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsBinary(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBinary(r,o){return r.setPosition(r.position()+4),(o||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 zi=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsBool(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBool(r,o){return r.setPosition(r.position()+4),(o||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 Ar=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsDate(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDate(r,o){return r.setPosition(r.position()+4),(o||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):Pe.MILLISECOND}static startDate(r){r.startObject(1)}static addUnit(r,o){r.addFieldInt16(0,o,Pe.MILLISECOND)}static endDate(r){return r.endObject()}static createDate(r,o){return l.startDate(r),l.addUnit(r,o),l.endDate(r)}};var Gt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsDecimal(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDecimal(r,o){return r.setPosition(r.position()+4),(o||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,o){r.addFieldInt32(0,o,0)}static addScale(r,o){r.addFieldInt32(1,o,0)}static addBitWidth(r,o){r.addFieldInt32(2,o,128)}static endDecimal(r){return r.endObject()}static createDecimal(r,o,_,f){return l.startDecimal(r),l.addPrecision(r,o),l.addScale(r,_),l.addBitWidth(r,f),l.endDecimal(r)}};var Tr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsDuration(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDuration(r,o){return r.setPosition(r.position()+4),(o||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):z.MILLISECOND}static startDuration(r){r.startObject(1)}static addUnit(r,o){r.addFieldInt16(0,o,z.MILLISECOND)}static endDuration(r){return r.endObject()}static createDuration(r,o){return l.startDuration(r),l.addUnit(r,o),l.endDuration(r)}};var Lr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsFixedSizeBinary(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFixedSizeBinary(r,o){return r.setPosition(r.position()+4),(o||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,o){r.addFieldInt32(0,o,0)}static endFixedSizeBinary(r){return r.endObject()}static createFixedSizeBinary(r,o){return l.startFixedSizeBinary(r),l.addByteWidth(r,o),l.endFixedSizeBinary(r)}};var Mr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsFixedSizeList(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFixedSizeList(r,o){return r.setPosition(r.position()+4),(o||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,o){r.addFieldInt32(0,o,0)}static endFixedSizeList(r){return r.endObject()}static createFixedSizeList(r,o){return l.startFixedSizeList(r),l.addListSize(r,o),l.endFixedSizeList(r)}};var Dr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsFloatingPoint(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFloatingPoint(r,o){return r.setPosition(r.position()+4),(o||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):we.HALF}static startFloatingPoint(r){r.startObject(1)}static addPrecision(r,o){r.addFieldInt16(0,o,we.HALF)}static endFloatingPoint(r){return r.endObject()}static createFloatingPoint(r,o){return l.startFloatingPoint(r),l.addPrecision(r,o),l.endFloatingPoint(r)}};var Fr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsInterval(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsInterval(r,o){return r.setPosition(r.position()+4),(o||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):Oe.YEAR_MONTH}static startInterval(r){r.startObject(1)}static addUnit(r,o){r.addFieldInt16(0,o,Oe.YEAR_MONTH)}static endInterval(r){return r.endObject()}static createInterval(r,o){return l.startInterval(r),l.addUnit(r,o),l.endInterval(r)}};var ji=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsLargeBinary(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsLargeBinary(r,o){return r.setPosition(r.position()+4),(o||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 $i=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsLargeUtf8(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsLargeUtf8(r,o){return r.setPosition(r.position()+4),(o||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 qi=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsList(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsList(r,o){return r.setPosition(r.position()+4),(o||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 Ir=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsMap(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsMap(r,o){return r.setPosition(r.position()+4),(o||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,o){r.addFieldInt8(0,+o,0)}static endMap(r){return r.endObject()}static createMap(r,o){return l.startMap(r),l.addKeysSorted(r,o),l.endMap(r)}};var Xi=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsNull(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsNull(r,o){return r.setPosition(r.position()+4),(o||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 Ki=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsStruct_(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsStruct_(r,o){return r.setPosition(r.position()+4),(o||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 Yt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsTime(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsTime(r,o){return r.setPosition(r.position()+4),(o||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):z.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,o){r.addFieldInt16(0,o,z.MILLISECOND)}static addBitWidth(r,o){r.addFieldInt32(1,o,32)}static endTime(r){return r.endObject()}static createTime(r,o,_){return l.startTime(r),l.addUnit(r,o),l.addBitWidth(r,_),l.endTime(r)}};var Qt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsTimestamp(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsTimestamp(r,o){return r.setPosition(r.position()+4),(o||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):z.SECOND}timezone(r){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.__string(this.bb_pos+o,r):null}static startTimestamp(r){r.startObject(2)}static addUnit(r,o){r.addFieldInt16(0,o,z.SECOND)}static addTimezone(r,o){r.addFieldOffset(1,o,0)}static endTimestamp(r){return r.endObject()}static createTimestamp(r,o,_){return l.startTimestamp(r),l.addUnit(r,o),l.addTimezone(r,_),l.endTimestamp(r)}};var wt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsUnion(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsUnion(r,o){return r.setPosition(r.position()+4),(o||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):Ee.Sparse}typeIds(r){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.readInt32(this.bb.__vector(this.bb_pos+o)+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,o){r.addFieldInt16(0,o,Ee.Sparse)}static addTypeIds(r,o){r.addFieldOffset(1,o,0)}static createTypeIdsVector(r,o){r.startVector(4,o.length,4);for(let _=o.length-1;_>=0;_--)r.addInt32(o[_]);return r.endVector()}static startTypeIdsVector(r,o){r.startVector(4,o,4)}static endUnion(r){return r.endObject()}static createUnion(r,o,_){return l.startUnion(r),l.addMode(r,o),l.addTypeIds(r,_),l.endUnion(r)}};var Ji=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsUtf8(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsUtf8(r,o){return r.setPosition(r.position()+4),(o||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,o){return this.bb_pos=r,this.bb=o,this}static getRootAsField(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsField(r,o){return r.setPosition(r.position()+4),(o||new l).__init(r.readInt32(r.position())+r.position(),r)}name(r){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.__string(this.bb_pos+o,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 o=this.bb.__offset(this.bb_pos,10);return o?this.bb.__union(r,this.bb_pos+o):null}dictionary(r){let o=this.bb.__offset(this.bb_pos,12);return o?(r||new Vt).__init(this.bb.__indirect(this.bb_pos+o),this.bb):null}children(r,o){let _=this.bb.__offset(this.bb_pos,14);return _?(o||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,o){let _=this.bb.__offset(this.bb_pos,16);return _?(o||new He).__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,o){r.addFieldOffset(0,o,0)}static addNullable(r,o){r.addFieldInt8(1,+o,0)}static addTypeType(r,o){r.addFieldInt8(2,o,Ae.NONE)}static addType(r,o){r.addFieldOffset(3,o,0)}static addDictionary(r,o){r.addFieldOffset(4,o,0)}static addChildren(r,o){r.addFieldOffset(5,o,0)}static createChildrenVector(r,o){r.startVector(4,o.length,4);for(let _=o.length-1;_>=0;_--)r.addOffset(o[_]);return r.endVector()}static startChildrenVector(r,o){r.startVector(4,o,4)}static addCustomMetadata(r,o){r.addFieldOffset(6,o,0)}static createCustomMetadataVector(r,o){r.startVector(4,o.length,4);for(let _=o.length-1;_>=0;_--)r.addOffset(o[_]);return r.endVector()}static startCustomMetadataVector(r,o){r.startVector(4,o,4)}static endField(r){return r.endObject()}};var Je=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsSchema(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsSchema(r,o){return r.setPosition(r.position()+4),(o||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):Er.Little}fields(r,o){let _=this.bb.__offset(this.bb_pos,6);return _?(o||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,o){let _=this.bb.__offset(this.bb_pos,8);return _?(o||new He).__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 o=this.bb.__offset(this.bb_pos,10);return o?this.bb.readInt64(this.bb.__vector(this.bb_pos+o)+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,o){r.addFieldInt16(0,o,Er.Little)}static addFields(r,o){r.addFieldOffset(1,o,0)}static createFieldsVector(r,o){r.startVector(4,o.length,4);for(let _=o.length-1;_>=0;_--)r.addOffset(o[_]);return r.endVector()}static startFieldsVector(r,o){r.startVector(4,o,4)}static addCustomMetadata(r,o){r.addFieldOffset(2,o,0)}static createCustomMetadataVector(r,o){r.startVector(4,o.length,4);for(let _=o.length-1;_>=0;_--)r.addOffset(o[_]);return r.endVector()}static startCustomMetadataVector(r,o){r.startVector(4,o,4)}static addFeatures(r,o){r.addFieldOffset(3,o,0)}static createFeaturesVector(r,o){r.startVector(8,o.length,8);for(let _=o.length-1;_>=0;_--)r.addInt64(o[_]);return r.endVector()}static startFeaturesVector(r,o){r.startVector(8,o,8)}static endSchema(r){return r.endObject()}static finishSchemaBuffer(r,o){r.finish(o)}static finishSizePrefixedSchemaBuffer(r,o){r.finish(o,void 0,!0)}static createSchema(r,o,_,f,m){return l.startSchema(r),l.addEndianness(r,o),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 io={};Vr(io,{clampRange:()=>en,createElementComparator:()=>Cr,wrapIndex:()=>Wr});var Oa={};Vr(Oa,{valueToString:()=>Et});function Et(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=>Et(r))}]`:`[${l}]`:ArrayBuffer.isView(l)?`[${l}]`:JSON.stringify(l,(r,o)=>typeof o=="bigint"?`${o}`:o)}var Ua={};Vr(Ua,{BN:()=>Qi,bigNumToBigInt:()=>tl,bigNumToNumber:()=>Ga,bigNumToString:()=>fi,isArrowBigNumSymbol:()=>el});function pe(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 Ha(l,r){return pe(l/r)+pe(l%r)/pe(r)}var el=Symbol.for("isArrowBigNum");function At(l,...r){return r.length===0?Object.setPrototypeOf(oe(this.TypedArray,l),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(l,...r),this.constructor.prototype)}At.prototype[el]=!0;At.prototype.toJSON=function(){return`"${fi(this)}"`};At.prototype.valueOf=function(l){return Ga(this,l)};At.prototype.toString=function(){return fi(this)};At.prototype[Symbol.toPrimitive]=function(l="default"){switch(l){case"number":return Ga(this);case"string":return fi(this);case"default":return tl(this)}return fi(this)};function ui(...l){return At.apply(this,l)}function di(...l){return At.apply(this,l)}function Yi(...l){return At.apply(this,l)}Object.setPrototypeOf(ui.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(di.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Yi.prototype,Object.create(Uint32Array.prototype));Object.assign(ui.prototype,At.prototype,{constructor:ui,signed:!0,TypedArray:Int32Array,BigIntArray:BigInt64Array});Object.assign(di.prototype,At.prototype,{constructor:di,signed:!1,TypedArray:Uint32Array,BigIntArray:BigUint64Array});Object.assign(Yi.prototype,At.prototype,{constructor:Yi,signed:!0,TypedArray:Uint32Array,BigIntArray:BigUint64Array});var K_=BigInt(4294967296)*BigInt(4294967296),J_=K_-BigInt(1);function Ga(l,r){let{buffer:o,byteOffset:_,byteLength:f,signed:m}=l,h=new BigUint64Array(o,_,f/8),S=m&&h.at(-1)&BigInt(1)<<BigInt(63),e=BigInt(0),t=0;if(S){for(let n of h)e|=(n^J_)*(BigInt(1)<<BigInt(64*t++));e*=BigInt(-1),e-=BigInt(1)}else for(let n of h)e|=n*(BigInt(1)<<BigInt(64*t++));if(typeof r=="number"){let n=BigInt(Math.pow(10,r)),a=e/n,c=e%n;return pe(a)+pe(c)/pe(n)}return pe(e)}function fi(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 h=r[m],S=~h+_;r[m]=S,_&=h===0?1:0}return`-${Va(r)}`}function tl(l){return l.byteLength===8?new l.BigIntArray(l.buffer,l.byteOffset,1)[0]:fi(l)}function Va(l){let r="",o=new Uint32Array(2),_=new Uint16Array(l.buffer,l.byteOffset,l.byteLength/2),f=new Uint32Array((_=new Uint16Array(_).reverse()).buffer),m=-1,h=_.length-1;do{for(o[0]=_[m=0];m<h;)_[m++]=o[1]=o[0]/10,o[0]=(o[0]-o[1]*10<<16)+_[m];_[m]=o[1]=o[0]/10,o[0]=o[0]-o[1]*10,r=`${o[0]}${r}`}while(f[0]||f[1]||f[2]||f[3]);return r!=null?r:"0"}var Qi=class l{static new(r,o){switch(o){case!0:return new ui(r);case!1:return new di(r)}switch(r.constructor){case Int8Array:case Int16Array:case Int32Array:case BigInt64Array:return new ui(r)}return r.byteLength===16?new Yi(r):new di(r)}static signed(r){return new ui(r)}static unsigned(r){return new di(r)}static decimal(r){return new Yi(r)}constructor(r,o){return l.new(r,o)}};var rl,il,nl,sl,al,ol,ll,cl,_l,ul,dl,fl,pl,ml,gl,hl,vl,yl,Sl,bl,wl,El,G=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===Ee.Dense}static isSparseUnion(r){return l.isUnion(r)&&r.mode===Ee.Sparse}constructor(r){this.typeId=r}};rl=Symbol.toStringTag;G[rl]=(l=>(l.children=null,l.ArrayType=Array,l.OffsetArrayType=Int32Array,l[Symbol.toStringTag]="DataType"))(G.prototype);var qe=class extends G{constructor(){super(D.Null)}toString(){return"Null"}};il=Symbol.toStringTag;qe[il]=(l=>l[Symbol.toStringTag]="Null")(qe.prototype);var Ve=class extends G{constructor(r,o){super(D.Int),this.isSigned=r,this.bitWidth=o}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}`}};nl=Symbol.toStringTag;Ve[nl]=(l=>(l.isSigned=null,l.bitWidth=null,l[Symbol.toStringTag]="Int"))(Ve.prototype);var Yn=class extends Ve{constructor(){super(!0,8)}get ArrayType(){return Int8Array}},Qn=class extends Ve{constructor(){super(!0,16)}get ArrayType(){return Int16Array}},Ut=class extends Ve{constructor(){super(!0,32)}get ArrayType(){return Int32Array}},Zn=class extends Ve{constructor(){super(!0,64)}get ArrayType(){return BigInt64Array}},es=class extends Ve{constructor(){super(!1,8)}get ArrayType(){return Uint8Array}},ts=class extends Ve{constructor(){super(!1,16)}get ArrayType(){return Uint16Array}},rs=class extends Ve{constructor(){super(!1,32)}get ArrayType(){return Uint32Array}},is=class extends Ve{constructor(){super(!1,64)}get ArrayType(){return BigUint64Array}};Object.defineProperty(Yn.prototype,"ArrayType",{value:Int8Array});Object.defineProperty(Qn.prototype,"ArrayType",{value:Int16Array});Object.defineProperty(Ut.prototype,"ArrayType",{value:Int32Array});Object.defineProperty(Zn.prototype,"ArrayType",{value:BigInt64Array});Object.defineProperty(es.prototype,"ArrayType",{value:Uint8Array});Object.defineProperty(ts.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(rs.prototype,"ArrayType",{value:Uint32Array});Object.defineProperty(is.prototype,"ArrayType",{value:BigUint64Array});var dt=class extends G{constructor(r){super(D.Float),this.precision=r}get ArrayType(){switch(this.precision){case we.HALF:return Uint16Array;case we.SINGLE:return Float32Array;case we.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}};sl=Symbol.toStringTag;dt[sl]=(l=>(l.precision=null,l[Symbol.toStringTag]="Float"))(dt.prototype);var ns=class extends dt{constructor(){super(we.HALF)}},ss=class extends dt{constructor(){super(we.SINGLE)}},as=class extends dt{constructor(){super(we.DOUBLE)}};Object.defineProperty(ns.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(ss.prototype,"ArrayType",{value:Float32Array});Object.defineProperty(as.prototype,"ArrayType",{value:Float64Array});var Zt=class extends G{constructor(){super(D.Binary)}toString(){return"Binary"}};al=Symbol.toStringTag;Zt[al]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Binary"))(Zt.prototype);var er=class extends G{constructor(){super(D.LargeBinary)}toString(){return"LargeBinary"}};ol=Symbol.toStringTag;er[ol]=(l=>(l.ArrayType=Uint8Array,l.OffsetArrayType=BigInt64Array,l[Symbol.toStringTag]="LargeBinary"))(er.prototype);var tr=class extends G{constructor(){super(D.Utf8)}toString(){return"Utf8"}};ll=Symbol.toStringTag;tr[ll]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Utf8"))(tr.prototype);var rr=class extends G{constructor(){super(D.LargeUtf8)}toString(){return"LargeUtf8"}};cl=Symbol.toStringTag;rr[cl]=(l=>(l.ArrayType=Uint8Array,l.OffsetArrayType=BigInt64Array,l[Symbol.toStringTag]="LargeUtf8"))(rr.prototype);var ir=class extends G{constructor(){super(D.Bool)}toString(){return"Bool"}};_l=Symbol.toStringTag;ir[_l]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Bool"))(ir.prototype);var nr=class extends G{constructor(r,o,_=128){super(D.Decimal),this.scale=r,this.precision=o,this.bitWidth=_}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};ul=Symbol.toStringTag;nr[ul]=(l=>(l.scale=null,l.precision=null,l.ArrayType=Uint32Array,l[Symbol.toStringTag]="Decimal"))(nr.prototype);var sr=class extends G{constructor(r){super(D.Date),this.unit=r}toString(){return`Date${(this.unit+1)*32}<${Pe[this.unit]}>`}get ArrayType(){return this.unit===Pe.DAY?Int32Array:BigInt64Array}};dl=Symbol.toStringTag;sr[dl]=(l=>(l.unit=null,l[Symbol.toStringTag]="Date"))(sr.prototype);var ar=class extends G{constructor(r,o){super(D.Time),this.unit=r,this.bitWidth=o}toString(){return`Time${this.bitWidth}<${z[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return BigInt64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}};fl=Symbol.toStringTag;ar[fl]=(l=>(l.unit=null,l.bitWidth=null,l[Symbol.toStringTag]="Time"))(ar.prototype);var or=class extends G{constructor(r,o){super(D.Timestamp),this.unit=r,this.timezone=o}toString(){return`Timestamp<${z[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}};pl=Symbol.toStringTag;or[pl]=(l=>(l.unit=null,l.timezone=null,l.ArrayType=BigInt64Array,l[Symbol.toStringTag]="Timestamp"))(or.prototype);var lr=class extends G{constructor(r){super(D.Interval),this.unit=r}toString(){return`Interval<${Oe[this.unit]}>`}};ml=Symbol.toStringTag;lr[ml]=(l=>(l.unit=null,l.ArrayType=Int32Array,l[Symbol.toStringTag]="Interval"))(lr.prototype);var cr=class extends G{constructor(r){super(D.Duration),this.unit=r}toString(){return`Duration<${z[this.unit]}>`}};gl=Symbol.toStringTag;cr[gl]=(l=>(l.unit=null,l.ArrayType=BigInt64Array,l[Symbol.toStringTag]="Duration"))(cr.prototype);var Tt=class extends G{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}};hl=Symbol.toStringTag;Tt[hl]=(l=>(l.children=null,l[Symbol.toStringTag]="List"))(Tt.prototype);var Le=class extends G{constructor(r){super(D.Struct),this.children=r}toString(){return`Struct<{${this.children.map(r=>`${r.name}:${r.type}`).join(", ")}}>`}};vl=Symbol.toStringTag;Le[vl]=(l=>(l.children=null,l[Symbol.toStringTag]="Struct"))(Le.prototype);var Lt=class extends G{constructor(r,o,_){super(D.Union),this.mode=r,this.children=_,this.typeIds=o=Int32Array.from(o),this.typeIdToChildIndex=o.reduce((f,m,h)=>(f[m]=h)&&f||f,Object.create(null))}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(r=>`${r.type}`).join(" | ")}>`}};yl=Symbol.toStringTag;Lt[yl]=(l=>(l.mode=null,l.typeIds=null,l.children=null,l.typeIdToChildIndex=null,l.ArrayType=Int8Array,l[Symbol.toStringTag]="Union"))(Lt.prototype);var _r=class extends G{constructor(r){super(D.FixedSizeBinary),this.byteWidth=r}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};Sl=Symbol.toStringTag;_r[Sl]=(l=>(l.byteWidth=null,l.ArrayType=Uint8Array,l[Symbol.toStringTag]="FixedSizeBinary"))(_r.prototype);var Mt=class extends G{constructor(r,o){super(D.FixedSizeList),this.listSize=r,this.children=[o]}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}>`}};bl=Symbol.toStringTag;Mt[bl]=(l=>(l.children=null,l.listSize=null,l[Symbol.toStringTag]="FixedSizeList"))(Mt.prototype);var Dt=class extends G{constructor(r,o=!1){var _,f,m;if(super(D.Map),this.children=[r],this.keysSorted=o,r&&(r.name="entries",!((_=r==null?void 0:r.type)===null||_===void 0)&&_.children)){let h=(f=r==null?void 0:r.type)===null||f===void 0?void 0:f.children[0];h&&(h.name="key");let S=(m=r==null?void 0:r.type)===null||m===void 0?void 0:m.children[1];S&&(S.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(", ")}}>`}};wl=Symbol.toStringTag;Dt[wl]=(l=>(l.children=null,l.keysSorted=null,l[Symbol.toStringTag]="Map_"))(Dt.prototype);var Y_=(l=>()=>++l)(-1),at=class extends G{constructor(r,o,_,f){super(D.Dictionary),this.indices=o,this.dictionary=r,this.isOrdered=f||!1,this.id=_==null?Y_():pe(_)}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}};El=Symbol.toStringTag;at[El]=(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 $=class{visitMany(r,...o){return r.map((_,f)=>this.visit(_,...o.map(m=>m[f])))}visit(...r){return this.getVisitFn(r[0],!1).apply(this,r)}getVisitFn(r,o=!0){return Q_(this,r,o)}getVisitFnByTypeId(r,o=!0){return pi(this,r,o)}visitNull(r,...o){return null}visitBool(r,...o){return null}visitInt(r,...o){return null}visitFloat(r,...o){return null}visitUtf8(r,...o){return null}visitLargeUtf8(r,...o){return null}visitBinary(r,...o){return null}visitLargeBinary(r,...o){return null}visitFixedSizeBinary(r,...o){return null}visitDate(r,...o){return null}visitTimestamp(r,...o){return null}visitTime(r,...o){return null}visitDecimal(r,...o){return null}visitList(r,...o){return null}visitStruct(r,...o){return null}visitUnion(r,...o){return null}visitDictionary(r,...o){return null}visitInterval(r,...o){return null}visitDuration(r,...o){return null}visitFixedSizeList(r,...o){return null}visitMap(r,...o){return null}};function Q_(l,r,o=!0){return typeof r=="number"?pi(l,r,o):typeof r=="string"&&r in D?pi(l,D[r],o):r&&r instanceof G?pi(l,Al(r),o):r!=null&&r.type&&r.type instanceof G?pi(l,Al(r.type),o):pi(l,D.NONE,o)}function pi(l,r,o=!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(!o)return()=>null;throw new Error(`Unrecognized type '${D[r]}'`)}function Al(l){switch(l.typeId){case D.Null:return D.Null;case D.Int:{let{bitWidth:r,isSigned:o}=l;switch(r){case 8:return o?D.Int8:D.Uint8;case 16:return o?D.Int16:D.Uint16;case 32:return o?D.Int32:D.Uint32;case 64:return o?D.Int64:D.Uint64}return D.Int}case D.Float:switch(l.precision){case we.HALF:return D.Float16;case we.SINGLE:return D.Float32;case we.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 z.SECOND:return D.TimeSecond;case z.MILLISECOND:return D.TimeMillisecond;case z.MICROSECOND:return D.TimeMicrosecond;case z.NANOSECOND:return D.TimeNanosecond}return D.Time;case D.Timestamp:switch(l.unit){case z.SECOND:return D.TimestampSecond;case z.MILLISECOND:return D.TimestampMillisecond;case z.MICROSECOND:return D.TimestampMicrosecond;case z.NANOSECOND:return D.TimestampNanosecond}return D.Timestamp;case D.Date:switch(l.unit){case Pe.DAY:return D.DateDay;case Pe.MILLISECOND:return D.DateMillisecond}return D.Date;case D.Interval:switch(l.unit){case Oe.DAY_TIME:return D.IntervalDayTime;case Oe.YEAR_MONTH:return D.IntervalYearMonth}return D.Interval;case D.Duration:switch(l.unit){case z.SECOND:return D.DurationSecond;case z.MILLISECOND:return D.DurationMillisecond;case z.MICROSECOND:return D.DurationMicrosecond;case z.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 Ee.Dense:return D.DenseUnion;case Ee.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]}'`)}$.prototype.visitInt8=null;$.prototype.visitInt16=null;$.prototype.visitInt32=null;$.prototype.visitInt64=null;$.prototype.visitUint8=null;$.prototype.visitUint16=null;$.prototype.visitUint32=null;$.prototype.visitUint64=null;$.prototype.visitFloat16=null;$.prototype.visitFloat32=null;$.prototype.visitFloat64=null;$.prototype.visitDateDay=null;$.prototype.visitDateMillisecond=null;$.prototype.visitTimestampSecond=null;$.prototype.visitTimestampMillisecond=null;$.prototype.visitTimestampMicrosecond=null;$.prototype.visitTimestampNanosecond=null;$.prototype.visitTimeSecond=null;$.prototype.visitTimeMillisecond=null;$.prototype.visitTimeMicrosecond=null;$.prototype.visitTimeNanosecond=null;$.prototype.visitDenseUnion=null;$.prototype.visitSparseUnion=null;$.prototype.visitIntervalDayTime=null;$.prototype.visitIntervalYearMonth=null;$.prototype.visitDuration=null;$.prototype.visitDurationSecond=null;$.prototype.visitDurationMillisecond=null;$.prototype.visitDurationMicrosecond=null;$.prototype.visitDurationNanosecond=null;var Wa={};Vr(Wa,{float64ToUint16:()=>Zi,uint16ToFloat64:()=>os});var Tl=new Float64Array(1),mi=new Uint32Array(Tl.buffer);function os(l){let r=(l&31744)>>10,o=(l&1023)/1024,_=Math.pow(-1,(l&32768)>>15);switch(r){case 31:return _*(o?Number.NaN:1/0);case 0:return _*(o?6103515625e-14*o:0)}return _*Math.pow(2,r-15)*(1+o)}function Zi(l){if(l!==l)return 32256;Tl[0]=l;let r=(mi[1]&2147483648)>>16&65535,o=mi[1]&2146435072,_=0;return o>=1089470464?mi[0]>0?o=31744:(o=(o&2080374784)>>16,_=(mi[1]&1048575)>>10):o<=1056964608?(_=1048576+(mi[1]&1048575),_=1048576+(_<<(o>>20)-998)>>21,o=0):(o=o-1056964608>>10,_=(mi[1]&1048575)+512>>10),r|o|_&65535}var Y=class extends ${};function te(l){return(r,o,_)=>{if(r.setValid(o,_!=null))return l(r,o,_)}}var Z_=(l,r,o)=>{l[r]=Math.floor(o/864e5)},Ll=(l,r,o,_)=>{if(o+1<r.length){let f=pe(r[o]),m=pe(r[o+1]);l.set(_.subarray(0,m-f),f)}},eu=({offset:l,values:r},o,_)=>{let f=l+o;_?r[f>>3]|=1<<f%8:r[f>>3]&=~(1<<f%8)},ur=({values:l},r,o)=>{l[r]=o},za=({values:l},r,o)=>{l[r]=o},Ml=({values:l},r,o)=>{l[r]=Zi(o)},tu=(l,r,o)=>{switch(l.type.precision){case we.HALF:return Ml(l,r,o);case we.SINGLE:case we.DOUBLE:return za(l,r,o)}},ls=({values:l},r,o)=>{Z_(l,r,o.valueOf())},cs=({values:l},r,o)=>{l[r]=BigInt(o)},ja=({stride:l,values:r},o,_)=>{r.set(_.subarray(0,l),l*o)},Dl=({values:l,valueOffsets:r},o,_)=>Ll(l,r,o,_),Fl=({values:l,valueOffsets:r},o,_)=>Ll(l,r,o,Bt(_)),$a=(l,r,o)=>{l.type.unit===Pe.DAY?ls(l,r,o):cs(l,r,o)},_s=({values:l},r,o)=>{l[r]=BigInt(o/1e3)},us=({values:l},r,o)=>{l[r]=BigInt(o)},ds=({values:l},r,o)=>{l[r]=BigInt(o*1e3)},ps=({values:l},r,o)=>{l[r]=BigInt(o*1e6)},qa=(l,r,o)=>{switch(l.type.unit){case z.SECOND:return _s(l,r,o);case z.MILLISECOND:return us(l,r,o);case z.MICROSECOND:return ds(l,r,o);case z.NANOSECOND:return ps(l,r,o)}},ms=({values:l},r,o)=>{l[r]=o},gs=({values:l},r,o)=>{l[r]=o},hs=({values:l},r,o)=>{l[r]=o},vs=({values:l},r,o)=>{l[r]=o},Xa=(l,r,o)=>{switch(l.type.unit){case z.SECOND:return ms(l,r,o);case z.MILLISECOND:return gs(l,r,o);case z.MICROSECOND:return hs(l,r,o);case z.NANOSECOND:return vs(l,r,o)}},Ka=({values:l,stride:r},o,_)=>{l.set(_.subarray(0,r),r*o)},ru=(l,r,o)=>{let _=l.children[0],f=l.valueOffsets,m=Ue.getVisitFn(_);if(Array.isArray(o))for(let h=-1,S=f[r],e=f[r+1];S<e;)m(_,S++,o[++h]);else for(let h=-1,S=f[r],e=f[r+1];S<e;)m(_,S++,o.get(++h))},iu=(l,r,o)=>{let _=l.children[0],{valueOffsets:f}=l,m=Ue.getVisitFn(_),{[r]:h,[r+1]:S}=f,e=o instanceof Map?o.entries():Object.entries(o);for(let t of e)if(m(_,h,t),++h>=S)break},nu=(l,r)=>(o,_,f,m)=>_&&o(_,l,r[m]),su=(l,r)=>(o,_,f,m)=>_&&o(_,l,r.get(m)),au=(l,r)=>(o,_,f,m)=>_&&o(_,l,r.get(f.name)),ou=(l,r)=>(o,_,f,m)=>_&&o(_,l,r[f.name]),lu=(l,r,o)=>{let _=l.type.children.map(m=>Ue.getVisitFn(m.type)),f=o instanceof Map?au(r,o):o instanceof ue?su(r,o):Array.isArray(o)?nu(r,o):ou(r,o);l.type.children.forEach((m,h)=>f(_[h],l.children[h],m,h))},cu=(l,r,o)=>{l.type.mode===Ee.Dense?Il(l,r,o):Pl(l,r,o)},Il=(l,r,o)=>{let _=l.type.typeIdToChildIndex[l.typeIds[r]],f=l.children[_];Ue.visit(f,l.valueOffsets[r],o)},Pl=(l,r,o)=>{let _=l.type.typeIdToChildIndex[l.typeIds[r]],f=l.children[_];Ue.visit(f,r,o)},_u=(l,r,o)=>{var _;(_=l.dictionary)===null||_===void 0||_.set(l.values[r],o)},Ja=(l,r,o)=>{l.type.unit===Oe.DAY_TIME?ys(l,r,o):Ss(l,r,o)},ys=({values:l},r,o)=>{l.set(o.subarray(0,2),2*r)},Ss=({values:l},r,o)=>{l[r]=o[0]*12+o[1]%12},bs=({values:l},r,o)=>{l[r]=o},ws=({values:l},r,o)=>{l[r]=o},Es=({values:l},r,o)=>{l[r]=o},As=({values:l},r,o)=>{l[r]=o},Ya=(l,r,o)=>{switch(l.type.unit){case z.SECOND:return bs(l,r,o);case z.MILLISECOND:return ws(l,r,o);case z.MICROSECOND:return Es(l,r,o);case z.NANOSECOND:return As(l,r,o)}},uu=(l,r,o)=>{let{stride:_}=l,f=l.children[0],m=Ue.getVisitFn(f);if(Array.isArray(o))for(let h=-1,S=r*_;++h<_;)m(f,S+h,o[h]);else for(let h=-1,S=r*_;++h<_;)m(f,S+h,o.get(h))};Y.prototype.visitBool=te(eu);Y.prototype.visitInt=te(ur);Y.prototype.visitInt8=te(ur);Y.prototype.visitInt16=te(ur);Y.prototype.visitInt32=te(ur);Y.prototype.visitInt64=te(ur);Y.prototype.visitUint8=te(ur);Y.prototype.visitUint16=te(ur);Y.prototype.visitUint32=te(ur);Y.prototype.visitUint64=te(ur);Y.prototype.visitFloat=te(tu);Y.prototype.visitFloat16=te(Ml);Y.prototype.visitFloat32=te(za);Y.prototype.visitFloat64=te(za);Y.prototype.visitUtf8=te(Fl);Y.prototype.visitLargeUtf8=te(Fl);Y.prototype.visitBinary=te(Dl);Y.prototype.visitLargeBinary=te(Dl);Y.prototype.visitFixedSizeBinary=te(ja);Y.prototype.visitDate=te($a);Y.prototype.visitDateDay=te(ls);Y.prototype.visitDateMillisecond=te(cs);Y.prototype.visitTimestamp=te(qa);Y.prototype.visitTimestampSecond=te(_s);Y.prototype.visitTimestampMillisecond=te(us);Y.prototype.visitTimestampMicrosecond=te(ds);Y.prototype.visitTimestampNanosecond=te(ps);Y.prototype.visitTime=te(Xa);Y.prototype.visitTimeSecond=te(ms);Y.prototype.visitTimeMillisecond=te(gs);Y.prototype.visitTimeMicrosecond=te(hs);Y.prototype.visitTimeNanosecond=te(vs);Y.prototype.visitDecimal=te(Ka);Y.prototype.visitList=te(ru);Y.prototype.visitStruct=te(lu);Y.prototype.visitUnion=te(cu);Y.prototype.visitDenseUnion=te(Il);Y.prototype.visitSparseUnion=te(Pl);Y.prototype.visitDictionary=te(_u);Y.prototype.visitInterval=te(Ja);Y.prototype.visitIntervalDayTime=te(ys);Y.prototype.visitIntervalYearMonth=te(Ss);Y.prototype.visitDuration=te(Ya);Y.prototype.visitDurationSecond=te(bs);Y.prototype.visitDurationMillisecond=te(ws);Y.prototype.visitDurationMicrosecond=te(Es);Y.prototype.visitDurationNanosecond=te(As);Y.prototype.visitFixedSizeList=te(uu);Y.prototype.visitMap=te(iu);var Ue=new Y;var Ft=Symbol.for("parent"),gi=Symbol.for("rowIndex"),Pr=class{constructor(r,o){return this[Ft]=r,this[gi]=o,new Proxy(this,new Za)}toArray(){return Object.values(this.toJSON())}toJSON(){let r=this[gi],o=this[Ft],_=o.type.children,f={};for(let m=-1,h=_.length;++m<h;)f[_[m].name]=Ce.visit(o.children[m],r);return f}toString(){return`{${[...this].map(([r,o])=>`${Et(r)}: ${Et(o)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new Qa(this[Ft],this[gi])}},Qa=class{constructor(r,o){this.childIndex=0,this.children=r.children,this.rowIndex=o,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,Ce.visit(this.children[r],this.rowIndex)]}):{done:!0,value:null}}};Object.defineProperties(Pr.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[Ft]:{writable:!0,enumerable:!1,configurable:!1,value:null},[gi]:{writable:!0,enumerable:!1,configurable:!1,value:-1}});var Za=class{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(r){return r[Ft].type.children.map(o=>o.name)}has(r,o){return r[Ft].type.children.findIndex(_=>_.name===o)!==-1}getOwnPropertyDescriptor(r,o){if(r[Ft].type.children.findIndex(_=>_.name===o)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(r,o){if(Reflect.has(r,o))return r[o];let _=r[Ft].type.children.findIndex(f=>f.name===o);if(_!==-1){let f=Ce.visit(r[Ft].children[_],r[gi]);return Reflect.set(r,o,f),f}}set(r,o,_){let f=r[Ft].type.children.findIndex(m=>m.name===o);return f!==-1?(Ue.visit(r[Ft].children[f],r[gi],_),Reflect.set(r,o,_)):Reflect.has(r,o)||typeof o=="symbol"?Reflect.set(r,o,_):!1}};var q=class extends ${};function Z(l){return(r,o)=>r.getValid(o)?l(r,o):null}var du=(l,r)=>864e5*l[r],fu=(l,r)=>null,xl=(l,r,o)=>{if(o+1>=r.length)return null;let _=pe(r[o]),f=pe(r[o+1]);return l.subarray(_,f)},pu=({offset:l,values:r},o)=>{let _=l+o;return(r[_>>3]&1<<_%8)!==0},Nl=({values:l},r)=>du(l,r),Cl=({values:l},r)=>pe(l[r]),xr=({stride:l,values:r},o)=>r[l*o],mu=({stride:l,values:r},o)=>os(r[l*o]),Rl=({values:l},r)=>l[r],gu=({stride:l,values:r},o)=>r.subarray(l*o,l*(o+1)),kl=({values:l,valueOffsets:r},o)=>xl(l,r,o),Bl=({values:l,valueOffsets:r},o)=>{let _=xl(l,r,o);return _!==null?ki(_):null},hu=({values:l},r)=>l[r],vu=({type:l,values:r},o)=>l.precision!==we.HALF?r[o]:os(r[o]),yu=(l,r)=>l.type.unit===Pe.DAY?Nl(l,r):Cl(l,r),Ol=({values:l},r)=>1e3*pe(l[r]),Hl=({values:l},r)=>pe(l[r]),Vl=({values:l},r)=>Ha(l[r],BigInt(1e3)),Gl=({values:l},r)=>Ha(l[r],BigInt(1e6)),Su=(l,r)=>{switch(l.type.unit){case z.SECOND:return Ol(l,r);case z.MILLISECOND:return Hl(l,r);case z.MICROSECOND:return Vl(l,r);case z.NANOSECOND:return Gl(l,r)}},Ul=({values:l},r)=>l[r],Wl=({values:l},r)=>l[r],zl=({values:l},r)=>l[r],jl=({values:l},r)=>l[r],bu=(l,r)=>{switch(l.type.unit){case z.SECOND:return Ul(l,r);case z.MILLISECOND:return Wl(l,r);case z.MICROSECOND:return zl(l,r);case z.NANOSECOND:return jl(l,r)}},wu=({values:l,stride:r},o)=>Qi.decimal(l.subarray(r*o,r*(o+1))),Eu=(l,r)=>{let{valueOffsets:o,stride:_,children:f}=l,{[r*_]:m,[r*_+1]:h}=o,e=f[0].slice(m,h-m);return new ue([e])},Au=(l,r)=>{let{valueOffsets:o,children:_}=l,{[r]:f,[r+1]:m}=o,h=_[0];return new Wt(h.slice(f,m-f))},Tu=(l,r)=>new Pr(l,r),Lu=(l,r)=>l.type.mode===Ee.Dense?$l(l,r):ql(l,r),$l=(l,r)=>{let o=l.type.typeIdToChildIndex[l.typeIds[r]],_=l.children[o];return Ce.visit(_,l.valueOffsets[r])},ql=(l,r)=>{let o=l.type.typeIdToChildIndex[l.typeIds[r]],_=l.children[o];return Ce.visit(_,r)},Mu=(l,r)=>{var o;return(o=l.dictionary)===null||o===void 0?void 0:o.get(l.values[r])},Du=(l,r)=>l.type.unit===Oe.DAY_TIME?Xl(l,r):Kl(l,r),Xl=({values:l},r)=>l.subarray(2*r,2*(r+1)),Kl=({values:l},r)=>{let o=l[r],_=new Int32Array(2);return _[0]=Math.trunc(o/12),_[1]=Math.trunc(o%12),_},Jl=({values:l},r)=>l[r],Yl=({values:l},r)=>l[r],Ql=({values:l},r)=>l[r],Zl=({values:l},r)=>l[r],Fu=(l,r)=>{switch(l.type.unit){case z.SECOND:return Jl(l,r);case z.MILLISECOND:return Yl(l,r);case z.MICROSECOND:return Ql(l,r);case z.NANOSECOND:return Zl(l,r)}},Iu=(l,r)=>{let{stride:o,children:_}=l,m=_[0].slice(r*o,o);return new ue([m])};q.prototype.visitNull=Z(fu);q.prototype.visitBool=Z(pu);q.prototype.visitInt=Z(hu);q.prototype.visitInt8=Z(xr);q.prototype.visitInt16=Z(xr);q.prototype.visitInt32=Z(xr);q.prototype.visitInt64=Z(Rl);q.prototype.visitUint8=Z(xr);q.prototype.visitUint16=Z(xr);q.prototype.visitUint32=Z(xr);q.prototype.visitUint64=Z(Rl);q.prototype.visitFloat=Z(vu);q.prototype.visitFloat16=Z(mu);q.prototype.visitFloat32=Z(xr);q.prototype.visitFloat64=Z(xr);q.prototype.visitUtf8=Z(Bl);q.prototype.visitLargeUtf8=Z(Bl);q.prototype.visitBinary=Z(kl);q.prototype.visitLargeBinary=Z(kl);q.prototype.visitFixedSizeBinary=Z(gu);q.prototype.visitDate=Z(yu);q.prototype.visitDateDay=Z(Nl);q.prototype.visitDateMillisecond=Z(Cl);q.prototype.visitTimestamp=Z(Su);q.prototype.visitTimestampSecond=Z(Ol);q.prototype.visitTimestampMillisecond=Z(Hl);q.prototype.visitTimestampMicrosecond=Z(Vl);q.prototype.visitTimestampNanosecond=Z(Gl);q.prototype.visitTime=Z(bu);q.prototype.visitTimeSecond=Z(Ul);q.prototype.visitTimeMillisecond=Z(Wl);q.prototype.visitTimeMicrosecond=Z(zl);q.prototype.visitTimeNanosecond=Z(jl);q.prototype.visitDecimal=Z(wu);q.prototype.visitList=Z(Eu);q.prototype.visitStruct=Z(Tu);q.prototype.visitUnion=Z(Lu);q.prototype.visitDenseUnion=Z($l);q.prototype.visitSparseUnion=Z(ql);q.prototype.visitDictionary=Z(Mu);q.prototype.visitInterval=Z(Du);q.prototype.visitIntervalDayTime=Z(Xl);q.prototype.visitIntervalYearMonth=Z(Kl);q.prototype.visitDuration=Z(Fu);q.prototype.visitDurationSecond=Z(Jl);q.prototype.visitDurationMillisecond=Z(Yl);q.prototype.visitDurationMicrosecond=Z(Ql);q.prototype.visitDurationNanosecond=Z(Zl);q.prototype.visitFixedSizeList=Z(Iu);q.prototype.visitMap=Z(Au);var Ce=new q;var Nr=Symbol.for("keys"),vi=Symbol.for("vals"),hi=Symbol.for("kKeysAsStrings"),eo=Symbol.for("_kKeysAsStrings"),Wt=class{constructor(r){return this[Nr]=new ue([r.children[0]]).memoize(),this[vi]=r.children[1],new Proxy(this,new ro)}get[hi](){return this[eo]||(this[eo]=Array.from(this[Nr].toArray(),String))}[Symbol.iterator](){return new to(this[Nr],this[vi])}get size(){return this[Nr].length}toArray(){return Object.values(this.toJSON())}toJSON(){let r=this[Nr],o=this[vi],_={};for(let f=-1,m=r.length;++f<m;)_[r.get(f)]=Ce.visit(o,f);return _}toString(){return`{${[...this].map(([r,o])=>`${Et(r)}: ${Et(o)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}},to=class{constructor(r,o){this.keys=r,this.vals=o,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),Ce.visit(this.vals,r)]})}},ro=class{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(r){return r[hi]}has(r,o){return r[hi].includes(o)}getOwnPropertyDescriptor(r,o){if(r[hi].indexOf(o)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(r,o){if(Reflect.has(r,o))return r[o];let _=r[hi].indexOf(o);if(_!==-1){let f=Ce.visit(Reflect.get(r,vi),_);return Reflect.set(r,o,f),f}}set(r,o,_){let f=r[hi].indexOf(o);return f!==-1?(Ue.visit(Reflect.get(r,vi),f,_),Reflect.set(r,o,_)):Reflect.has(r,o)?Reflect.set(r,o,_):!1}};Object.defineProperties(Wt.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[Nr]:{writable:!0,enumerable:!1,configurable:!1,value:null},[vi]:{writable:!0,enumerable:!1,configurable:!1,value:null},[eo]:{writable:!0,enumerable:!1,configurable:!1,value:null}});var ec;function en(l,r,o,_){let{length:f=0}=l,m=typeof r!="number"?0:r,h=typeof o!="number"?f:o;return m<0&&(m=(m%f+f)%f),h<0&&(h=(h%f+f)%f),h<m&&(ec=m,m=h,h=ec),h>f&&(h=f),_?_(l,m,h):[m,h]}var Wr=(l,r)=>l<0?r+l:l,tc=l=>l!==l;function Cr(l){if(typeof l!=="object"||l===null)return tc(l)?tc:o=>o===l;if(l instanceof Date){let o=l.valueOf();return _=>_ instanceof Date?_.valueOf()===o:!1}return ArrayBuffer.isView(l)?o=>o?Ca(l,o):!1:l instanceof Map?xu(l):Array.isArray(l)?Pu(l):l instanceof ue?Nu(l):Cu(l,!0)}function Pu(l){let r=[];for(let o=-1,_=l.length;++o<_;)r[o]=Cr(l[o]);return Ts(r)}function xu(l){let r=-1,o=[];for(let _ of l.values())o[++r]=Cr(_);return Ts(o)}function Nu(l){let r=[];for(let o=-1,_=l.length;++o<_;)r[o]=Cr(l.get(o));return Ts(r)}function Cu(l,r=!1){let o=Object.keys(l);if(!r&&o.length===0)return()=>!1;let _=[];for(let f=-1,m=o.length;++f<m;)_[f]=Cr(l[o[f]]);return Ts(_,o)}function Ts(l,r){return o=>{if(!o||typeof o!="object")return!1;switch(o.constructor){case Array:return Ru(l,o);case Map:return rc(l,o,o.keys());case Wt:case Pr:case Object:case void 0:return rc(l,o,r||Object.keys(o))}return o instanceof ue?ku(l,o):!1}}function Ru(l,r){let o=l.length;if(r.length!==o)return!1;for(let _=-1;++_<o;)if(!l[_](r[_]))return!1;return!0}function ku(l,r){let o=l.length;if(r.length!==o)return!1;for(let _=-1;++_<o;)if(!l[_](r.get(_)))return!1;return!0}function rc(l,r,o){let _=o[Symbol.iterator](),f=r instanceof Map?r.keys():Object.keys(r)[Symbol.iterator](),m=r instanceof Map?r.values():Object.values(r)[Symbol.iterator](),h=0,S=l.length,e=m.next(),t=_.next(),n=f.next();for(;h<S&&!t.done&&!n.done&&!e.done&&!(t.value!==n.value||!l[h](e.value));++h,t=_.next(),n=f.next(),e=m.next());return h===S&&t.done&&n.done&&e.done?!0:(_.return&&_.return(),f.return&&f.return(),m.return&&m.return(),!1)}var no={};Vr(no,{BitIterator:()=>zr,getBit:()=>ic,getBool:()=>Ms,packBools:()=>$r,popcnt_array:()=>nc,popcnt_bit_range:()=>tn,popcnt_uint32:()=>Ls,setBool:()=>Bu,truncateBitmap:()=>jr});function Ms(l,r,o,_){return(o&1<<_)!==0}function ic(l,r,o,_){return(o&1<<_)>>_}function Bu(l,r,o){return o?!!(l[r>>3]|=1<<r%8)||!0:!(l[r>>3]&=~(1<<r%8))&&!1}function jr(l,r,o){let _=o.byteLength+7&-8;if(l>0||o.byteLength<_){let f=new Uint8Array(_);return f.set(l%8===0?o.subarray(l>>3):$r(new zr(o,l,r,null,Ms)).subarray(0,_)),f}return o}function $r(l){let r=[],o=0,_=0,f=0;for(let h of l)h&&(f|=1<<_),++_===8&&(r[o++]=f,f=_=0);(o===0||_>0)&&(r[o++]=f);let m=new Uint8Array(r.length+7&-8);return m.set(r),m}var zr=class{constructor(r,o,_,f,m){this.bytes=r,this.length=_,this.context=f,this.get=m,this.bit=o%8,this.byteIndex=o>>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 tn(l,r,o){if(o-r<=0)return 0;if(o-r<8){let m=0;for(let h of new zr(l,r,o-r,l,ic))m+=h;return m}let _=o>>3<<3,f=r+(r%8===0?0:8-r%8);return tn(l,r,f)+tn(l,_,o)+nc(l,f>>3,_-f>>3)}function nc(l,r,o){let _=0,f=Math.trunc(r),m=new DataView(l.buffer,l.byteOffset,l.byteLength),h=o===void 0?l.byteLength:f+o;for(;h-f>=4;)_+=Ls(m.getUint32(f)),f+=4;for(;h-f>=2;)_+=Ls(m.getUint16(f)),f+=2;for(;h-f>=1;)_+=Ls(m.getUint8(f)),f+=1;return _}function Ls(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 Ou=-1,ge=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 G.isSparseUnion(r)?this.children.some(o=>o.nullable):G.isDenseUnion(r)?this.children.some(o=>o.nullable):this.nullBitmap&&this.nullBitmap.byteLength>0}return!0}get byteLength(){let r=0,{valueOffsets:o,values:_,nullBitmap:f,typeIds:m}=this;return o&&(r+=o.byteLength),_&&(r+=_.byteLength),f&&(r+=f.byteLength),m&&(r+=m.byteLength),this.children.reduce((h,S)=>h+S.byteLength,r)}get nullCount(){if(G.isUnion(this.type))return this.children.reduce((_,f)=>_+f.nullCount,0);let r=this._nullCount,o;return r<=Ou&&(o=this.nullBitmap)&&(this._nullCount=r=o.length===0?0:this.length-tn(o,this.offset,this.offset+this.length)),r}constructor(r,o,_,f,m,h=[],S){this.type=r,this.children=h,this.dictionary=S,this.offset=Math.floor(Math.max(o||0,0)),this.length=Math.floor(Math.max(_||0,0)),this._nullCount=Math.floor(Math.max(f||0,-1));let e;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&&((e=m[0])&&(this.valueOffsets=e),(e=m[1])&&(this.values=e),(e=m[2])&&(this.nullBitmap=e),(e=m[3])&&(this.typeIds=e)))}getValid(r){let{type:o}=this;if(G.isUnion(o)){let _=o,f=this.children[_.typeIdToChildIndex[this.typeIds[r]]],m=_.mode===Ee.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,o){let _,{type:f}=this;if(G.isUnion(f)){let m=f,h=this.children[m.typeIdToChildIndex[this.typeIds[r]]],S=m.mode===Ee.Dense?this.valueOffsets[r]:r;_=h.getValid(S),h.setValid(S,o)}else{let{nullBitmap:m}=this,{offset:h,length:S}=this,e=h+r,t=1<<e%8,n=e>>3;(!m||m.byteLength<=n)&&(m=new Uint8Array((h+S+63&-64)>>3).fill(255),this.nullCount>0?(m.set(jr(h,S,this.nullBitmap),0),Object.assign(this,{nullBitmap:m})):Object.assign(this,{nullBitmap:m,_nullCount:0}));let a=m[n];_=(a&t)!==0,m[n]=o?a|t:a&~t}return _!==!!o&&(this._nullCount=this.nullCount+(o?-1:1)),o}clone(r=this.type,o=this.offset,_=this.length,f=this._nullCount,m=this,h=this.children){return new l(r,o,_,f,m,h,this.dictionary)}slice(r,o){let{stride:_,typeId:f,children:m}=this,h=+(this._nullCount===0)-1,S=f===16?_:1,e=this._sliceBuffers(r,o,_,f);return this.clone(this.type,this.offset+r,o,h,e,m.length===0||this.valueOffsets?m:this._sliceChildren(m,S*r,S*o))}_changeLengthAndBackfillNullBitmap(r){if(this.typeId===D.Null)return this.clone(this.type,0,r,0);let{length:o,nullCount:_}=this,f=new Uint8Array((r+63&-64)>>3).fill(255,0,o>>3);f[o>>3]=(1<<o-(o&-8))-1,_>0&&f.set(jr(this.offset,o,this.nullBitmap),0);let m=this.buffers;return m[ut.VALIDITY]=f,this.clone(this.type,0,r,_+(r-o),m)}_sliceBuffers(r,o,_,f){let m,{buffers:h}=this;return(m=h[ut.TYPE])&&(h[ut.TYPE]=m.subarray(r,r+o)),(m=h[ut.OFFSET])&&(h[ut.OFFSET]=m.subarray(r,r+o+1))||(m=h[ut.DATA])&&(h[ut.DATA]=f===6?m:m.subarray(_*r,_*(r+o))),h}_sliceChildren(r,o,_){return r.map(f=>f.slice(o,_))}};ge.prototype.children=Object.freeze([]);var so=class l extends ${visit(r){return this.getVisitFn(r.type).call(this,r)}visitNull(r){let{["type"]:o,["offset"]:_=0,["length"]:f=0}=r;return new ge(o,_,f,f)}visitBool(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length>>3,["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitInt(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length,["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitFloat(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length,["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitUtf8(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.data),m=Q(r.nullBitmap),h=Gr(r.valueOffsets),{["length"]:S=h.length-1,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new ge(o,_,S,e,[h,f,m])}visitLargeUtf8(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.data),m=Q(r.nullBitmap),h=zn(r.valueOffsets),{["length"]:S=h.length-1,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new ge(o,_,S,e,[h,f,m])}visitBinary(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.data),m=Q(r.nullBitmap),h=Gr(r.valueOffsets),{["length"]:S=h.length-1,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new ge(o,_,S,e,[h,f,m])}visitLargeBinary(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.data),m=Q(r.nullBitmap),h=zn(r.valueOffsets),{["length"]:S=h.length-1,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new ge(o,_,S,e,[h,f,m])}visitFixedSizeBinary(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length/ot(o),["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitDate(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length/ot(o),["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitTimestamp(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length/ot(o),["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitTime(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length/ot(o),["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitDecimal(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length/ot(o),["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitList(r){let{["type"]:o,["offset"]:_=0,["child"]:f}=r,m=Q(r.nullBitmap),h=Gr(r.valueOffsets),{["length"]:S=h.length-1,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new ge(o,_,S,e,[h,void 0,m],[f])}visitStruct(r){let{["type"]:o,["offset"]:_=0,["children"]:f=[]}=r,m=Q(r.nullBitmap),{length:h=f.reduce((e,{length:t})=>Math.max(e,t),0),nullCount:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,void 0,m],f)}visitUnion(r){let{["type"]:o,["offset"]:_=0,["children"]:f=[]}=r,m=oe(o.ArrayType,r.typeIds),{["length"]:h=m.length,["nullCount"]:S=-1}=r;if(G.isSparseUnion(o))return new ge(o,_,h,S,[void 0,void 0,void 0,m],f);let e=Gr(r.valueOffsets);return new ge(o,_,h,S,[e,void 0,void 0,m],f)}visitDictionary(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.indices.ArrayType,r.data),{["dictionary"]:h=new ue([new l().visit({type:o.dictionary})])}=r,{["length"]:S=m.length,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new ge(o,_,S,e,[void 0,m,f],[],h)}visitInterval(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length/ot(o),["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitDuration(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length,["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitFixedSizeList(r){let{["type"]:o,["offset"]:_=0,["child"]:f=new l().visit({type:o.valueType})}=r,m=Q(r.nullBitmap),{["length"]:h=f.length/ot(o),["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,void 0,m],[f])}visitMap(r){let{["type"]:o,["offset"]:_=0,["child"]:f=new l().visit({type:o.childType})}=r,m=Q(r.nullBitmap),h=Gr(r.valueOffsets),{["length"]:S=h.length-1,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new ge(o,_,S,e,[h,void 0,m],[f])}},Hu=new so;function ie(l){return Hu.visit(l)}var rn=class{constructor(r=0,o){this.numChunks=r,this.getChunkIterator=o,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 sc(l){return l.some(r=>r.nullable)}function Ds(l){return l.reduce((r,o)=>r+o.nullCount,0)}function Fs(l){return l.reduce((r,o,_)=>(r[_+1]=r[_]+o.length,r),new Uint32Array(l.length+1))}function Is(l,r,o,_){let f=[];for(let m=-1,h=l.length;++m<h;){let S=l[m],e=r[m],{length:t}=S;if(e>=_)break;if(o>=e+t)continue;if(e>=o&&e+t<=_){f.push(S);continue}let n=Math.max(0,o-e),a=Math.min(_-e,t);f.push(S.slice(n,a-n))}return f.length===0&&f.push(l[0].slice(0,0)),f}function ao(l,r,o,_){let f=0,m=0,h=r.length-1;do{if(f>=h-1)return o<r[h]?_(l,f,o-r[f]):null;m=f+Math.trunc((h-f)*.5),o<r[m]?h=m:f=m}while(f<h)}function nn(l,r){return l.getValid(r)}function yi(l){function r(o,_,f){return l(o[_],f)}return function(o){let _=this.data;return ao(_,this._offsets,o,r)}}function Ps(l){let r;function o(_,f,m){return l(_[f],m,r)}return function(_,f){let m=this.data;r=f;let h=ao(m,this._offsets,_,o);return r=void 0,h}}function xs(l){let r;function o(_,f,m){let h=m,S=0,e=0;for(let t=f-1,n=_.length;++t<n;){let a=_[t];if(~(S=l(a,r,h)))return e+S;h=0,e+=a.length}return-1}return function(_,f){r=_;let m=this.data,h=typeof f!="number"?o(m,0,0):ao(m,this._offsets,f,o);return r=void 0,h}}var X=class extends ${};function Vu(l,r){return r===null&&l.length>0?0:-1}function Gu(l,r){let{nullBitmap:o}=l;if(!o||l.nullCount<=0)return-1;let _=0;for(let f of new zr(o,l.offset+(r||0),l.length,o,Ms)){if(!f)return _;++_}return-1}function ne(l,r,o){if(r===void 0)return-1;if(r===null)switch(l.typeId){case D.Union:break;case D.Dictionary:break;default:return Gu(l,o)}let _=Ce.getVisitFn(l),f=Cr(r);for(let m=(o||0)-1,h=l.length;++m<h;)if(f(_(l,m)))return m;return-1}function ac(l,r,o){let _=Ce.getVisitFn(l),f=Cr(r);for(let m=(o||0)-1,h=l.length;++m<h;)if(f(_(l,m)))return m;return-1}X.prototype.visitNull=Vu;X.prototype.visitBool=ne;X.prototype.visitInt=ne;X.prototype.visitInt8=ne;X.prototype.visitInt16=ne;X.prototype.visitInt32=ne;X.prototype.visitInt64=ne;X.prototype.visitUint8=ne;X.prototype.visitUint16=ne;X.prototype.visitUint32=ne;X.prototype.visitUint64=ne;X.prototype.visitFloat=ne;X.prototype.visitFloat16=ne;X.prototype.visitFloat32=ne;X.prototype.visitFloat64=ne;X.prototype.visitUtf8=ne;X.prototype.visitLargeUtf8=ne;X.prototype.visitBinary=ne;X.prototype.visitLargeBinary=ne;X.prototype.visitFixedSizeBinary=ne;X.prototype.visitDate=ne;X.prototype.visitDateDay=ne;X.prototype.visitDateMillisecond=ne;X.prototype.visitTimestamp=ne;X.prototype.visitTimestampSecond=ne;X.prototype.visitTimestampMillisecond=ne;X.prototype.visitTimestampMicrosecond=ne;X.prototype.visitTimestampNanosecond=ne;X.prototype.visitTime=ne;X.prototype.visitTimeSecond=ne;X.prototype.visitTimeMillisecond=ne;X.prototype.visitTimeMicrosecond=ne;X.prototype.visitTimeNanosecond=ne;X.prototype.visitDecimal=ne;X.prototype.visitList=ne;X.prototype.visitStruct=ne;X.prototype.visitUnion=ne;X.prototype.visitDenseUnion=ac;X.prototype.visitSparseUnion=ac;X.prototype.visitDictionary=ne;X.prototype.visitInterval=ne;X.prototype.visitIntervalDayTime=ne;X.prototype.visitIntervalYearMonth=ne;X.prototype.visitDuration=ne;X.prototype.visitDurationSecond=ne;X.prototype.visitDurationMillisecond=ne;X.prototype.visitDurationMicrosecond=ne;X.prototype.visitDurationNanosecond=ne;X.prototype.visitFixedSizeList=ne;X.prototype.visitMap=ne;var qr=new X;var K=class extends ${};function ee(l){let{type:r}=l;if(l.nullCount===0&&l.stride===1&&(G.isInt(r)&&r.bitWidth!==64||G.isTime(r)&&r.bitWidth!==64||G.isFloat(r)&&r.precision!==we.HALF))return new rn(l.data.length,_=>{let f=l.data[_];return f.values.subarray(0,f.length)[Symbol.iterator]()});let o=0;return new rn(l.data.length,_=>{let m=l.data[_].length,h=l.slice(o,o+m);return o+=m,new oo(h)})}var oo=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}};K.prototype.visitNull=ee;K.prototype.visitBool=ee;K.prototype.visitInt=ee;K.prototype.visitInt8=ee;K.prototype.visitInt16=ee;K.prototype.visitInt32=ee;K.prototype.visitInt64=ee;K.prototype.visitUint8=ee;K.prototype.visitUint16=ee;K.prototype.visitUint32=ee;K.prototype.visitUint64=ee;K.prototype.visitFloat=ee;K.prototype.visitFloat16=ee;K.prototype.visitFloat32=ee;K.prototype.visitFloat64=ee;K.prototype.visitUtf8=ee;K.prototype.visitLargeUtf8=ee;K.prototype.visitBinary=ee;K.prototype.visitLargeBinary=ee;K.prototype.visitFixedSizeBinary=ee;K.prototype.visitDate=ee;K.prototype.visitDateDay=ee;K.prototype.visitDateMillisecond=ee;K.prototype.visitTimestamp=ee;K.prototype.visitTimestampSecond=ee;K.prototype.visitTimestampMillisecond=ee;K.prototype.visitTimestampMicrosecond=ee;K.prototype.visitTimestampNanosecond=ee;K.prototype.visitTime=ee;K.prototype.visitTimeSecond=ee;K.prototype.visitTimeMillisecond=ee;K.prototype.visitTimeMicrosecond=ee;K.prototype.visitTimeNanosecond=ee;K.prototype.visitDecimal=ee;K.prototype.visitList=ee;K.prototype.visitStruct=ee;K.prototype.visitUnion=ee;K.prototype.visitDenseUnion=ee;K.prototype.visitSparseUnion=ee;K.prototype.visitDictionary=ee;K.prototype.visitInterval=ee;K.prototype.visitIntervalDayTime=ee;K.prototype.visitIntervalYearMonth=ee;K.prototype.visitDuration=ee;K.prototype.visitDurationSecond=ee;K.prototype.visitDurationMillisecond=ee;K.prototype.visitDurationMicrosecond=ee;K.prototype.visitDurationNanosecond=ee;K.prototype.visitFixedSizeList=ee;K.prototype.visitMap=ee;var Si=new K;var oc,lc={},cc={},ue=class l{constructor(r){var o,_,f;let m=r[0]instanceof l?r.flatMap(S=>S.data):r;if(m.length===0||m.some(S=>!(S instanceof ge)))throw new TypeError("Vector constructor expects an Array of Data instances.");let h=(o=m[0])===null||o===void 0?void 0:o.type;switch(m.length){case 0:this._offsets=[0];break;case 1:{let{get:S,set:e,indexOf:t}=lc[h.typeId],n=m[0];this.isValid=a=>nn(n,a),this.get=a=>S(n,a),this.set=(a,c)=>e(n,a,c),this.indexOf=a=>t(n,a),this._offsets=[0,n.length];break}default:Object.setPrototypeOf(this,cc[h.typeId]),this._offsets=Fs(m);break}this.data=m,this.type=h,this.stride=ot(h),this.numChildren=(f=(_=h.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,o)=>r+o.byteLength,0)}get nullable(){return sc(this.data)}get nullCount(){return Ds(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,o){}indexOf(r,o){return-1}includes(r,o){return this.indexOf(r,o)>-1}[Symbol.iterator](){return Si.visit(this)}concat(...r){return new l(this.data.concat(r.flatMap(o=>o.data).flat(Number.POSITIVE_INFINITY)))}slice(r,o){return new l(en(this,r,o,({data:_,_offsets:f},m,h)=>Is(_,f,m,h)))}toJSON(){return[...this]}toArray(){let{type:r,data:o,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(o.length){case 0:return new m;case 1:return o[0].values.subarray(0,_*f);default:return o.reduce((h,{values:S,length:e})=>(h.array.set(S.subarray(0,e*f),h.offset),h.offset+=e*f,h),{array:new m(_*f),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(r){var o;return this.getChildAt((o=this.type.children)===null||o===void 0?void 0:o.findIndex(_=>_.name===r))}getChildAt(r){return r>-1&&r<this.numChildren?new l(this.data.map(({children:o})=>o[r])):null}get isMemoized(){return G.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(G.isDictionary(this.type)){let r=new Ns(this.data[0].dictionary),o=this.data.map(_=>{let f=_.clone();return f.dictionary=r,f});return new l(o)}return new Ns(this)}unmemoize(){if(G.isDictionary(this.type)&&this.isMemoized){let r=this.data[0].dictionary.unmemoize(),o=this.data.map(_=>{let f=_.clone();return f.dictionary=r,f});return new l(o)}return this}};oc=Symbol.toStringTag;ue[oc]=(l=>{l.type=G.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(o=>D[o]).filter(o=>typeof o=="number"&&o!==D.NONE);for(let o of r){let _=Ce.getVisitFnByTypeId(o),f=Ue.getVisitFnByTypeId(o),m=qr.getVisitFnByTypeId(o);lc[o]={get:_,set:f,indexOf:m},cc[o]=Object.create(l,{isValid:{value:yi(nn)},get:{value:yi(Ce.getVisitFnByTypeId(o))},set:{value:Ps(Ue.getVisitFnByTypeId(o))},indexOf:{value:xs(qr.getVisitFnByTypeId(o))}})}return"Vector"})(ue.prototype);var Ns=class l extends ue{constructor(r){super(r.data);let o=this.get,_=this.set,f=this.slice,m=new Array(this.length);Object.defineProperty(this,"get",{value(h){let S=m[h];if(S!==void 0)return S;let e=o.call(this,h);return m[h]=e,e}}),Object.defineProperty(this,"set",{value(h,S){_.call(this,h,S),m[h]=S}}),Object.defineProperty(this,"slice",{value:(h,S)=>new l(f.call(this,h,S))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new ue(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}};function _c(l){if(!l||l.length<=0)return function(f){return!0};let r="",o=l.filter(_=>_===_);return o.length>0&&(r=`
26
+ `,new Function(v,y)}class UnboundTypeError extends Error{}class PureVirtualError extends Error{}var EmValOptionalType=Object.assign({optional:!0},EmValType),throwUnboundTypeError=(e,t)=>{var n=[],a={};function c(u){if(!a[u]&&!registeredTypes[u]){if(typeDependencies[u]){typeDependencies[u].forEach(c);return}n.push(u),a[u]=!0}}throw t.forEach(c),new UnboundTypeError(`${e}: `+n.map(getTypeName).join([", "]))},ensureOverloadTable=(e,t,n)=>{if(e[t].overloadTable===void 0){var a=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[a.argCount]=a}},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},registeredInstances={},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]),getInheritedInstanceCount=()=>Object.keys(registeredInstances).length,getLiveInheritedInstances=()=>{var e=[];for(var t in registeredInstances)registeredInstances.hasOwnProperty(t)&&e.push(registeredInstances[t]);return e},registeredPointers={},enumReadValueFromPointer=(e,t,n)=>{switch(t){case 1:return n?function(a){return this.fromWireType((growMemViews(),HEAP8)[a>>>0])}:function(a){return this.fromWireType((growMemViews(),HEAPU8)[a>>>0])};case 2:return n?function(a){return this.fromWireType((growMemViews(),HEAP16)[a>>>1>>>0])}:function(a){return this.fromWireType((growMemViews(),HEAPU16)[a>>>1>>>0])};case 4:return n?function(a){return this.fromWireType((growMemViews(),HEAP32)[a>>>2>>>0])}:function(a){return this.fromWireType((growMemViews(),HEAPU32)[a>>>2>>>0])};default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},installIndexedIterator=(e,t,n)=>{let a=(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 a(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,a,c,u){var d=t.length;d<2&&throwBindingError("argTypes array size mismatch! Must at least get return value and receiver (this) types!");for(var p=t[1]!==null&&n!==null,g=usesDestructorStack(t),y=!t[0].isVoid,b=d-2,v=t[0],A=t[1],T=[e,throwBindingError,a,c,runDestructors,v.fromWireType.bind(v),A==null?void 0:A.toWireType.bind(A)],w=2;w<d;++w){var E=t[w];T.push(E.toWireType.bind(E))}if(!g)for(var w=p?1:2;w<t.length;++w)t[w].destructorFunction!==null&&T.push(t[w].destructorFunction);var L=createJsInvoker(t,p,y,u)(...T);return createNamedFunction(e,L)}var embind__requireFunction=(e,t,n=!1)=>{e=AsciiToString(e);function a(){if(e.includes("p"))return getDynCaller(e,t,n);var u=getWasmTableEntry(t);return u}var c=a();return typeof c!="function"&&throwBindingError(`unknown function pointer with signature ${e}: ${t}`),c};function __embind_register_function(e,t,n,a,c,u,d,p){e>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0;var g=heap32VectorToArray(t,n);e=AsciiToString(e),e=getFunctionName(e),c=embind__requireFunction(a,c,d),exposePublicSymbol(e,function(){throwUnboundTypeError(`Cannot call ${e} due to unbound types`,g)},t-1),whenDependentTypesAreResolved([],g,y=>{var b=[y[0],null].concat(y.slice(1));return replacePublicSymbol(e,craftInvokerFunction(e,b,null,c,u,d),t-1),[]})}__embind_register_function.sig="vpippppii";function __embind_register_value_array(e,t,n,a,c,u){e>>>=0,t>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0,tupleRegistrations[e]={name:AsciiToString(t),rawConstructor:embind__requireFunction(n,a),rawDestructor:embind__requireFunction(c,u),elements:[]}}__embind_register_value_array.sig="vpppppp";function __embind_register_value_array_element(e,t,n,a,c,u,d,p,g){e>>>=0,t>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,g>>>=0,tupleRegistrations[e].elements.push({getterReturnType:t,getter:embind__requireFunction(n,a),getterContext:c,setterArgumentType:u,setter:embind__requireFunction(d,p),setterContext:g})}__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,a=n.length,c=n.map(p=>p.getterReturnType).concat(n.map(p=>p.setterArgumentType)),u=t.rawConstructor,d=t.rawDestructor;whenDependentTypesAreResolved([e],c,p=>{for(let[g,y]of n.entries()){let b=p[g],v=y.getter,A=y.getterContext,T=p[g+a],w=y.setter,E=y.setterContext;y.read=M=>b.fromWireType(v(A,M)),y.write=(M,L)=>{var I=[];w(E,M,T.toWireType(I,L)),runDestructors(I)}}return[{name:t.name,fromWireType:g=>{for(var y=new Array(a),b=0;b<a;++b)y[b]=n[b].read(g);return d(g),y},toWireType:(g,y)=>{if(a!==y.length)throw new TypeError(`Incorrect number of tuple elements for ${t.name}: expected=${a}, actual=${y.length}`);for(var b=u(),v=0;v<a;++v)n[v].write(b,y[v]);return g!==null&&g.push(d,b),b},readValueFromPointer:readPointer,destructorFunction:d}]})};__embind_finalize_value_array.sig="vp";function __embind_register_value_object(e,t,n,a,c,u){e>>>=0,t>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0,structRegistrations[e]={name:AsciiToString(t),rawConstructor:embind__requireFunction(n,a),rawDestructor:embind__requireFunction(c,u),fields:[]}}__embind_register_value_object.sig="vpppppp";function __embind_register_value_object_field(e,t,n,a,c,u,d,p,g,y){e>>>=0,t>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,g>>>=0,y>>>=0,structRegistrations[e].fields.push({fieldName:AsciiToString(t),getterReturnType:n,getter:embind__requireFunction(a,c),getterContext:u,setterArgumentType:d,setter:embind__requireFunction(p,g),setterContext:y})}__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,a=t.rawDestructor,c=t.fields,u=c.map(d=>d.getterReturnType).concat(c.map(d=>d.setterArgumentType));whenDependentTypesAreResolved([e],u,d=>{var p={};for(var[g,y]of c.entries()){let b=d[g],v=y.getter,A=y.getterContext,T=d[g+c.length],w=y.setter,E=y.setterContext;p[y.fieldName]={read:M=>b.fromWireType(v(A,M)),write:(M,L)=>{var I=[];w(E,M,T.toWireType(I,L)),runDestructors(I)},optional:b.optional}}return[{name:t.name,fromWireType:b=>{var v={};for(var A in p)v[A]=p[A].read(b);return a(b),v},toWireType:(b,v)=>{for(var A in p)if(!(A in v)&&!p[A].optional)throw new TypeError(`Missing field: "${A}"`);var T=n();for(A in p)p[A].write(T,v[A]);return b!==null&&b.push(a,T),T},readValueFromPointer:readPointer,destructorFunction:a}]})};__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 a=t.$$.ptrType.registeredClass;if(n=upcastPointer(t.$$.ptr,a,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,a=upcastPointer(t.$$.ptr,n,this.registeredClass);return a}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,a=upcastPointer(t.$$.ptr,n,this.registeredClass);return a}function RegisteredPointer(e,t,n,a,c,u,d,p,g,y,b){this.name=e,this.registeredClass=t,this.isReference=n,this.isConst=a,this.isSmartPointer=c,this.pointeeType=u,this.sharingPolicy=d,this.rawGetPointee=p,this.rawConstructor=g,this.rawShare=y,this.rawDestructor=b,!c&&t.baseClass===void 0?a?(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 a=downcastPointer(e,t,n.baseClass);return a===null?null:n.downcast(a)},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.$$,a=!!n.smartPtr;if(a){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,a=!!t.smartPtr;return n!==a&&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 a=n.clone();return this.destructor(e),a}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 g=downcastPointer(t,this.registeredClass,p.registeredClass);return g===null?c.call(this):this.isSmartPointer?makeClassHandle(p.registeredClass.instancePrototype,{ptrType:p,ptr:g,smartPtrType:this,smartPtr:e}):makeClassHandle(p.registeredClass.instancePrototype,{ptrType:p,ptr:g})}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})},detachFinalizer_deps=["$finalizationRegistry"];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 a=this.$$.ptrType.registeredClass,c=this.$$.ptr;n.$$=n.$$;for(var u=n.$$.ptrType.registeredClass,d=n.$$.ptr;a.baseClass;)c=a.upcast(c),a=a.baseClass;for(;u.baseClass;)d=u.upcast(d),u=u.baseClass;return a===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,a,c,u,d,p){this.name=e,this.constructor=t,this.instancePrototype=n,this.rawDestructor=a,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,a,c,u,d,p,g,y,b,v,A){e>>>=0,t>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,g>>>=0,y>>>=0,b>>>=0,v>>>=0,A>>>=0,b=AsciiToString(b),u=embind__requireFunction(c,u),p&&(p=embind__requireFunction(d,p)),y&&(y=embind__requireFunction(g,y)),A=embind__requireFunction(v,A);var T=makeLegalFunctionName(b);exposePublicSymbol(T,function(){throwUnboundTypeError(`Cannot construct ${b} due to unbound types`,[a])}),whenDependentTypesAreResolved([e,t,n],a?[a]:[],w=>{var R,k;w=w[0];var E,M;a?(E=w.registeredClass,M=E.instancePrototype):M=ClassHandle.prototype;var L=createNamedFunction(b,function(...W){if(Object.getPrototypeOf(this)!==I)throw new BindingError(`Use 'new' to construct ${b}`);if(F.constructor_body===void 0)throw new BindingError(`${b} has no accessible constructor`);var de=F.constructor_body[W.length];if(de===void 0)throw new BindingError(`Tried to invoke ctor of ${b} with invalid number of parameters (${W.length}) - expected (${Object.keys(F.constructor_body).toString()}) parameters instead!`);return de.apply(this,W)}),I=Object.create(M,{constructor:{value:L}});L.prototype=I;var F=new RegisteredClass(b,L,I,A,E,u,p,y);F.baseClass&&((k=(R=F.baseClass).__derivedClasses)!=null||(R.__derivedClasses=[]),F.baseClass.__derivedClasses.push(F));var N=new RegisteredPointer(b,F,!0,!1,!1),P=new RegisteredPointer(b+"*",F,!1,!1,!1),x=new RegisteredPointer(b+" const*",F,!1,!0,!1);return registeredPointers[e]={pointerType:P,constPointerType:x},replacePublicSymbol(T,L),[N,P,x]})}__embind_register_class.sig="vppppppppppppp";var __embind_register_iterable=function(e,t,n,a){e>>>=0,t>>>=0,n>>>=0,a>>>=0,n=AsciiToString(n),a=AsciiToString(a),whenDependentTypesAreResolved([],[e,t],c=>{let u=c[0];return installIndexedIterator(u.registeredClass.instancePrototype,n,a),[]})};__embind_register_iterable.sig="vpppp";var __embind_register_class_constructor=function(e,t,n,a,c,u){e>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0;var d=heap32VectorToArray(t,n);c=embind__requireFunction(a,c);var p=[u],g=[];whenDependentTypesAreResolved([],[e],y=>{y=y[0];var b=`constructor ${y.name}`;if(y.registeredClass.constructor_body===void 0&&(y.registeredClass.constructor_body=[]),y.registeredClass.constructor_body[t-1]!==void 0)throw new BindingError(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${y.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return y.registeredClass.constructor_body[t-1]=()=>{throwUnboundTypeError(`Cannot construct ${y.name} due to unbound types`,d)},whenDependentTypesAreResolved([],d,v=>(v.splice(1,0,null),y.registeredClass.constructor_body[t-1]=craftInvokerFunction(b,v,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,a,c,u,d,p,g,y){e>>>=0,t>>>=0,a>>>=0,c>>>=0,u>>>=0,d>>>=0;var b=heap32VectorToArray(n,a);t=AsciiToString(t),t=getFunctionName(t),u=embind__requireFunction(c,u,g),whenDependentTypesAreResolved([],[e],v=>{v=v[0];var A=`${v.name}.${t}`;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),p&&v.registeredClass.pureVirtualFunctions.push(t);function T(){throwUnboundTypeError(`Cannot call ${A} due to unbound types`,b)}var w=v.registeredClass.instancePrototype,E=w[t];return E===void 0||E.overloadTable===void 0&&E.className!==v.name&&E.argCount===n-2?(T.argCount=n-2,T.className=v.name,w[t]=T):(ensureOverloadTable(w,t,A),w[t].overloadTable[n-2]=T),whenDependentTypesAreResolved([],b,M=>{var L=craftInvokerFunction(A,M,v,u,d,g);return w[t].overloadTable===void 0?(L.argCount=n-2,w[t]=L):w[t].overloadTable[n-2]=L,[]}),[]})};__embind_register_class_function.sig="vppippppiii";var __embind_register_class_property=function(e,t,n,a,c,u,d,p,g,y){e>>>=0,t>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,g>>>=0,y>>>=0,t=AsciiToString(t),c=embind__requireFunction(a,c),whenDependentTypesAreResolved([],[e],b=>{b=b[0];var v=`${b.name}.${t}`,A={get(){throwUnboundTypeError(`Cannot access ${v} due to unbound types`,[n,d])},enumerable:!0,configurable:!0};return g?A.set=()=>throwUnboundTypeError(`Cannot access ${v} due to unbound types`,[n,d]):A.set=T=>throwBindingError(v+" is a read-only property"),Object.defineProperty(b.registeredClass.instancePrototype,t,A),whenDependentTypesAreResolved([],g?[n,d]:[n],T=>{var w=T[0],E={get(){var L=validateThis(this,b,v+" getter");return w.fromWireType(c(u,L))},enumerable:!0};if(g){g=embind__requireFunction(p,g);var M=T[1];E.set=function(L){var I=validateThis(this,b,v+" setter"),F=[];g(y,I,M.toWireType(F,L)),runDestructors(F)}}return Object.defineProperty(b.registeredClass.instancePrototype,t,E),[]}),[]})};__embind_register_class_property.sig="vpppppppppp";var __embind_register_class_class_function=function(e,t,n,a,c,u,d,p,g){e>>>=0,t>>>=0,a>>>=0,c>>>=0,u>>>=0,d>>>=0;var y=heap32VectorToArray(n,a);t=AsciiToString(t),t=getFunctionName(t),u=embind__requireFunction(c,u,p),whenDependentTypesAreResolved([],[e],b=>{b=b[0];var v=`${b.name}.${t}`;function A(){throwUnboundTypeError(`Cannot call ${v} due to unbound types`,y)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]);var T=b.registeredClass.constructor;return T[t]===void 0?(A.argCount=n-1,T[t]=A):(ensureOverloadTable(T,t,v),T[t].overloadTable[n-1]=A),whenDependentTypesAreResolved([],y,w=>{var E=[w[0],null].concat(w.slice(1)),M=craftInvokerFunction(v,E,null,u,d,p);if(T[t].overloadTable===void 0?(M.argCount=n-1,T[t]=M):T[t].overloadTable[n-1]=M,b.registeredClass.__derivedClasses)for(let L of b.registeredClass.__derivedClasses)L.constructor.hasOwnProperty(t)||(L.constructor[t]=M);return[]}),[]})};__embind_register_class_class_function.sig="vppippppii";var __embind_register_class_class_property=function(e,t,n,a,c,u,d,p){e>>>=0,t>>>=0,n>>>=0,a>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,t=AsciiToString(t),u=embind__requireFunction(c,u),whenDependentTypesAreResolved([],[e],g=>{g=g[0];var y=`${g.name}.${t}`,b={get(){throwUnboundTypeError(`Cannot access ${y} due to unbound types`,[n])},enumerable:!0,configurable:!0};return p?b.set=()=>{throwUnboundTypeError(`Cannot access ${y} due to unbound types`,[n])}:b.set=v=>{throwBindingError(`${y} is a read-only property`)},Object.defineProperty(g.registeredClass.constructor,t,b),whenDependentTypesAreResolved([],[n],v=>{v=v[0];var A={get(){return v.fromWireType(u(a))},enumerable:!0};return p&&(p=embind__requireFunction(d,p),A.set=T=>{var w=[];p(a,v.toWireType(w,T)),runDestructors(w)}),Object.defineProperty(g.registeredClass.constructor,t,A),[]}),[]})};__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 a=t.registeredClass,c=a.instancePrototype,u=a.baseClass,d=u.instancePrototype,p=a.baseClass.constructor,g=createNamedFunction(e,function(...y){for(var b of a.baseClass.pureVirtualFunctions)if(this[b]===d[b])throw new PureVirtualError(`Pure virtual function ${b} must be implemented in JavaScript`);Object.defineProperty(this,"__parent",{value:c}),this.__construct(...y)});return c.__construct=function(...b){this===c&&throwBindingError('Pass correct "this" to __construct');var v=p.implement(this,...b);detachFinalizer(v);var A=v.$$;v.notifyOnDestruction(),A.preservePointerOnDelete=!0,Object.defineProperties(this,{$$:{value:A}}),attachFinalizer(this),registerInheritedInstance(a,A.ptr,this)},c.__destruct=function(){this===c&&throwBindingError('Pass correct "this" to __destruct'),detachFinalizer(this),unregisterInheritedInstance(a,this.$$.ptr)},g.prototype=Object.create(c),Object.assign(g.prototype,n),Emval.toHandle(g)}__embind_create_inheriting_constructor.sig="pppp";var __embind_register_smart_ptr=function(e,t,n,a,c,u,d,p,g,y,b,v){e>>>=0,t>>>=0,n>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,g>>>=0,y>>>=0,b>>>=0,v>>>=0,n=AsciiToString(n),u=embind__requireFunction(c,u),p=embind__requireFunction(d,p),y=embind__requireFunction(g,y),v=embind__requireFunction(b,v),whenDependentTypesAreResolved([e],[t],A=>{A=A[0];var T=new RegisteredPointer(n,A.registeredClass,!1,!1,!0,A,a,u,p,y,v);return[T]})};__embind_register_smart_ptr.sig="vpppipppppppp";function __embind_register_enum(e,t,n,a,c){e>>>=0,t>>>=0,n>>>=0,t=AsciiToString(t);let u=getEnumValueType(c);switch(u){case"object":{let b=function(){};var y=b;b.values={},registerType(e,{name:t,constructor:b,valueType:u,fromWireType:function(v){return this.constructor.values[v]},toWireType:(v,A)=>A.value,readValueFromPointer:enumReadValueFromPointer(t,n,a),destructorFunction:null}),exposePublicSymbol(t,b);break}case"number":{var d={};registerType(e,{name:t,keysMap:d,valueType:u,fromWireType:b=>b,toWireType:(b,v)=>v,readValueFromPointer:enumReadValueFromPointer(t,n,a),destructorFunction:null}),exposePublicSymbol(t,d),delete Module[t].argCount;break}case"string":{var p={},g={},d={};registerType(e,{name:t,valuesMap:p,reverseMap:g,keysMap:d,valueType:u,fromWireType:function(v){return this.reverseMap[v]},toWireType:function(v,A){return this.valuesMap[A]},readValueFromPointer:enumReadValueFromPointer(t,n,a),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 a=requireRegisteredType(e,"enum");switch(t=AsciiToString(t),a.valueType){case"object":{var c=a.constructor,u=Object.create(a.constructor.prototype,{value:{value:n},constructor:{value:createNamedFunction(`${a.name}_${t}`,function(){})}});c.values[n]=u,c[t]=u;break}case"number":{a.keysMap[t]=n;break}case"string":{a.valuesMap[t]=n,a.reverseMap[n]=t,a.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],a=>(a=a[0],Module[e]=a.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,a,c){return e>>>=0,t>>>=0,n>>>=0,a>>>=0,c>>>=0,__emval_invoke(e,t,n,a,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,a)=>{(growMemViews(),HEAPU32)[e>>>2>>>0]=Emval.toHandle(n),(growMemViews(),HEAPU32)[t>>>2>>>0]=Emval.toHandle(a)}))};__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)])}}if(_duckdb_web_fs_file_get_last_modified_time.sig="di",PThread.init(),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(),waitAsyncPolyfilled){let t=function(){let n=performance.now(),a=e.length;for(let c=0;c<a;++c){let u=e[c],d=n>u[3],p=Atomics.load(u[0],u[1])!=u[2];(d||p)&&(e[c--]=e[--a],e.length=a,u[4](p?"ok":"timed-out"))}a&&setTimeout(t,10)};var __Atomics_pollWaitAsyncAddresses=t;let e=[];Atomics.waitAsync=(n,a,c,u)=>Atomics.load(n,a)!=c?{async:!1,value:"not-equal"}:u<=0?{async:!1,value:"timed-out"}:(u=performance.now()+(u||1/0),e[0]||setTimeout(t,10),{async:!0,value:new Promise(g=>e.push([n,a,c,u,g]))})}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(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=>(ENVIRONMENT_IS_WORKER?postMessage(__setImmediate_message_id):postMessage(__setImmediate_message_id,"*"),__setImmediate_id_counter+__setImmediate_queue.push(e)-1),emClearImmediate=e=>{var t=e-__setImmediate_id_counter;t>=0&&t<__setImmediate_queue.length&&(__setImmediate_queue[t]=null)}}registerPostMainLoop(()=>{var e,t;return(t=(e=SDL.audio)==null?void 0:e.queueNewAudioData)==null?void 0:t.call(e)}),init_RegisteredPointer(),init_ClassHandle();{initMemory(),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.wasmMemory=wasmMemory,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 proxiedFunctionTable=[_proc_exit,exitOnMainThread,pthreadCreateProxied,___syscall_accept4,___syscall_bind,___syscall_chdir,___syscall_chmod,___syscall_connect,___syscall_dup,___syscall_dup3,___syscall_epoll_create1,___syscall_epoll_ctl,___syscall_epoll_pwait,___syscall_epoll_pwait_nonblocking,___syscall_faccessat,___syscall_fadvise64,___syscall_fallocate,___syscall_fchdir,___syscall_fchmod,___syscall_fchmodat2,___syscall_fchown32,___syscall_fchownat,___syscall_fcntl64,___syscall_fdatasync,___syscall_fstat64,___syscall_fstatfs64,___syscall_ftruncate64,___syscall_getcwd,___syscall_getdents64,___syscall_getegid32,___syscall_geteuid32,___syscall_getgid32,___syscall_getpeername,___syscall_getsockname,___syscall_getsockopt,___syscall_getuid32,___syscall_ioctl,___syscall_linkat,___syscall_listen,___syscall_lstat64,___syscall_mkdirat,___syscall_mknodat,___syscall_newfstatat,___syscall_openat,___syscall_pipe2,___syscall_poll,___syscall_poll_nonblocking,___syscall_readlinkat,___syscall_recvfrom,___syscall_recvmsg,___syscall_renameat,___syscall_rmdir,___syscall_sendmsg,___syscall_sendto,___syscall_setsockopt,___syscall_shutdown,___syscall_socket,___syscall_stat64,___syscall_statfs64,___syscall_symlinkat,___syscall_truncate64,___syscall_umask,___syscall_unlinkat,___syscall_utimensat,__emscripten_dlsync_threads,__emscripten_get_last_devicemotion_event,__emscripten_get_last_deviceorientation_event,__emscripten_get_last_mouse_event,__mmap_js,__msync_js,__munmap_js,__setitimer_js,_alBuffer3f,_alBuffer3i,_alBufferData,_alBufferf,_alBufferfv,_alBufferi,_alBufferiv,_alDeleteBuffers,_alDeleteSources,_alSourcei,_alDisable,_alDistanceModel,_alDopplerFactor,_alDopplerVelocity,_alEnable,_alGenBuffers,_alGenSources,_alGetBoolean,_alGetBooleanv,_alGetBuffer3f,_alGetBuffer3i,_alGetBufferf,_alGetBufferfv,_alGetBufferi,_alGetBufferiv,_alGetDouble,_alGetDoublev,_alGetEnumValue,_alGetError,_alGetFloat,_alGetFloatv,_alGetInteger,_alGetIntegerv,_alGetListener3f,_alGetListener3i,_alGetListenerf,_alGetListenerfv,_alGetListeneri,_alGetListeneriv,_alGetSource3f,_alGetSource3i,_alGetSourcef,_alGetSourcefv,_alGetSourcei,_alGetSourceiv,_alGetString,_alIsBuffer,_alIsEnabled,_alIsExtensionPresent,_alIsSource,_alListener3f,_alListener3i,_alListenerf,_alListenerfv,_alListeneri,_alListeneriv,_alSource3f,_alSource3i,_alSourcePause,_alSourcePausev,_alSourcePlay,_alSourcePlayv,_alSourceQueueBuffers,_alSourceRewind,_alSourceRewindv,_alSourceStop,_alSourceStopv,_alSourceUnqueueBuffers,_alSourcef,_alSourcefv,_alSourceiv,_alSpeedOfSound,_alcCaptureCloseDevice,_alcCaptureOpenDevice,_alcCaptureSamples,_alcCaptureStart,_alcCaptureStop,_alcCloseDevice,_alcCreateContext,_alcDestroyContext,_alcGetContextsDevice,_alcGetCurrentContext,_alcGetEnumValue,_alcGetError,_alcGetIntegerv,_alcGetString,_alcIsExtensionPresent,_alcMakeContextCurrent,_alcOpenDevice,_emscripten_alcDevicePauseSOFT,_emscripten_alcDeviceResumeSOFT,_emscripten_alcGetStringiSOFT,_emscripten_alcResetDeviceSOFT,setCanvasElementSizeMainThread,_environ_get,_environ_sizes_get,_fd_close,_fd_fdstat_get,_fd_pread,_fd_pwrite,_fd_read,_fd_seek,_fd_sync,_fd_write,_getaddrinfo,_emscripten_force_exit,_emscripten_html5_remove_event_listener,_emscripten_set_keypress_callback_on_thread,_emscripten_set_keydown_callback_on_thread,_emscripten_set_keyup_callback_on_thread,_emscripten_set_click_callback_on_thread,_emscripten_set_mousedown_callback_on_thread,_emscripten_set_mouseup_callback_on_thread,_emscripten_set_dblclick_callback_on_thread,_emscripten_set_mousemove_callback_on_thread,_emscripten_set_mouseenter_callback_on_thread,_emscripten_set_mouseleave_callback_on_thread,_emscripten_set_mouseover_callback_on_thread,_emscripten_set_mouseout_callback_on_thread,_emscripten_set_contextmenu_callback_on_thread,_emscripten_set_wheel_callback_on_thread,_emscripten_set_resize_callback_on_thread,_emscripten_set_scroll_callback_on_thread,_emscripten_set_blur_callback_on_thread,_emscripten_set_focus_callback_on_thread,_emscripten_set_focusin_callback_on_thread,_emscripten_set_focusout_callback_on_thread,_emscripten_set_deviceorientation_callback_on_thread,_emscripten_set_devicemotion_callback_on_thread,_emscripten_set_orientationchange_callback_on_thread,_emscripten_get_orientation_status,_emscripten_lock_orientation,_emscripten_unlock_orientation,_emscripten_set_fullscreenchange_callback_on_thread,_emscripten_get_fullscreen_status,getCanvasSizeMainThread,_emscripten_request_fullscreen,_emscripten_request_fullscreen_strategy,_emscripten_enter_soft_fullscreen,_emscripten_exit_soft_fullscreen,_emscripten_exit_fullscreen,_emscripten_set_pointerlockchange_callback_on_thread,_emscripten_set_pointerlockerror_callback_on_thread,_emscripten_get_pointerlock_status,_emscripten_request_pointerlock,_emscripten_exit_pointerlock,_emscripten_vibrate,_emscripten_vibrate_pattern,_emscripten_set_visibilitychange_callback_on_thread,_emscripten_get_visibility_status,_emscripten_set_touchstart_callback_on_thread,_emscripten_set_touchend_callback_on_thread,_emscripten_set_touchmove_callback_on_thread,_emscripten_set_touchcancel_callback_on_thread,_emscripten_set_gamepadconnected_callback_on_thread,_emscripten_sample_gamepad_data,_emscripten_set_gamepaddisconnected_callback_on_thread,_emscripten_get_num_gamepads,_emscripten_get_gamepad_status,_emscripten_set_beforeunload_callback_on_thread,_emscripten_set_batterychargingchange_callback_on_thread,_emscripten_set_batterylevelchange_callback_on_thread,_emscripten_get_battery_status,_emscripten_set_element_css_size,_emscripten_get_element_css_size,_emscripten_get_device_pixel_ratio,_sched_yield,_emscripten_run_preload_plugins,_emscripten_run_preload_plugins_data,_emscripten_get_window_title,_emscripten_set_window_title,_emscripten_get_screen_size,_emscripten_hide_mouse,_emscripten_set_canvas_size,_emscripten_get_canvas_size,_emscripten_create_worker,_emscripten_destroy_worker,_emscripten_call_worker,_emscripten_get_worker_queue_size,_emscripten_get_preloaded_image_data,_emscripten_get_preloaded_image_data_from_FILE,_emscripten_async_wget,_emscripten_async_wget_data,_emscripten_async_wget2,_emscripten_async_wget2_data,_emscripten_async_wget2_abort,_emscripten_set_webglcontextlost_callback_on_thread,_emscripten_set_webglcontextrestored_callback_on_thread,_glutPostRedisplay,_glutGetModifiers,_glutInit,_glutInitWindowSize,_glutInitWindowPosition,_glutIdleFunc,_glutTimerFunc,_glutDisplayFunc,_glutKeyboardFunc,_glutKeyboardUpFunc,_glutSpecialFunc,_glutSpecialUpFunc,_glutReshapeFunc,_glutMotionFunc,_glutPassiveMotionFunc,_glutMouseFunc,_glutSetCursor,_glutCreateWindow,_glutDestroyWindow,_glutReshapeWindow,_glutPositionWindow,_glutFullScreen,_glutInitDisplayMode,_glutSwapBuffers,_glutMainLoop,_eglGetDisplay,_eglInitialize,_eglTerminate,_eglGetConfigs,_eglChooseConfig,_eglGetConfigAttrib,_eglCreateWindowSurface,_eglDestroySurface,_eglCreateContext,_eglDestroyContext,_eglQuerySurface,_eglQueryContext,_eglGetError,_eglQueryString,_eglBindAPI,_eglQueryAPI,_eglWaitClient,_eglWaitNative,_eglSwapInterval,_eglMakeCurrent,_eglGetCurrentContext,_eglGetCurrentSurface,_eglGetCurrentDisplay,_eglSwapBuffers,_eglReleaseThread,_SDL_GetTicks,_SDL_LockSurface,_SDL_Linked_Version,_SDL_Init,_SDL_WasInit,_SDL_GetVideoInfo,_SDL_VideoDriverName,_SDL_SetVideoMode,_SDL_GetVideoSurface,_SDL_AudioQuit,_SDL_UnlockSurface,_SDL_WM_SetCaption,_SDL_GetKeyboardState,_SDL_GetKeyName,_SDL_GetModState,_SDL_GetMouseState,_SDL_WarpMouse,_SDL_ShowCursor,_SDL_GetError,_SDL_CreateRGBSurface,_SDL_CreateRGBSurfaceFrom,_SDL_ConvertSurface,_SDL_FreeSurface,_SDL_UpperBlit,_SDL_UpperBlitScaled,_SDL_GetClipRect,_SDL_SetClipRect,_SDL_FillRect,_SDL_SetAlpha,_SDL_PollEvent,_SDL_PushEvent,_SDL_PeepEvents,_SDL_PumpEvents,_emscripten_SDL_SetEventHandler,_SDL_SetColors,_SDL_MapRGB,_SDL_MapRGBA,_SDL_GetRGB,_SDL_GetRGBA,_SDL_GetAppState,_SDL_WM_ToggleFullScreen,_IMG_Load_RW,_SDL_FreeRW,_IMG_Load,_SDL_RWFromFile,_SDL_OpenAudio,_SDL_PauseAudio,_SDL_CloseAudio,_SDL_StartTextInput,_SDL_StopTextInput,_Mix_OpenAudio,_Mix_AllocateChannels,_Mix_ChannelFinished,_Mix_Volume,_Mix_SetPanning,_Mix_LoadWAV_RW,_Mix_LoadWAV,_Mix_QuickLoad_RAW,_Mix_FreeChunk,_Mix_ReserveChannels,_Mix_PlayChannelTimed,_Mix_HaltChannel,_Mix_HookMusicFinished,_Mix_HaltMusic,_Mix_VolumeMusic,_Mix_LoadMUS,_Mix_PlayMusic,_Mix_PauseMusic,_Mix_ResumeMusic,_Mix_PlayingMusic,_Mix_Playing,_Mix_Pause,_Mix_Paused,_Mix_PausedMusic,_Mix_Resume,_TTF_Init,_TTF_OpenFont,_TTF_CloseFont,_TTF_RenderText_Solid,_TTF_SizeText,_TTF_GlyphMetrics,_TTF_FontAscent,_TTF_FontDescent,_TTF_FontHeight,_SDL_GL_SetAttribute,_SDL_GL_GetAttribute,_SDL_GL_SwapBuffers,_SDL_GL_ExtensionSupported,_SDL_GetWindowFlags,_SDL_GL_GetSwapInterval,_SDL_SetWindowTitle,_SDL_GetWindowSize,_SDL_SetWindowFullscreen,_SDL_NumJoysticks,_SDL_JoystickName,_SDL_JoystickOpen,_SDL_JoystickOpened,_SDL_JoystickNumAxes,_SDL_JoystickNumButtons,_SDL_JoystickUpdate,_SDL_JoystickEventState,_SDL_JoystickGetAxis,_SDL_JoystickGetButton,_SDL_JoystickClose,_SDL_RWFromConstMem,_SDL_EnableUNICODE,_SDL_AddTimer,_SDL_RemoveTimer],ASM_CONSTS={2428428:(e,t)=>{var n=UTF8ToString(e),a;try{if(typeof XMLHttpRequest>"u")if(n.startsWith("http://")||n.startsWith("https://")){var c="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))";a=Kt("node:child_process").execFileSync(process.execPath,["-e",c,n],{maxBuffer:1073741824,stdio:["ignore","pipe","ignore"]})}else a=Kt("node:fs").readFileSync(n);else if(typeof document>"u"){var u=new XMLHttpRequest;if(u.open("GET",n,!1),u.responseType="arraybuffer",u.send(null),u.status!=200)return 0;a=new Uint8Array(u.response)}else{var u=new XMLHttpRequest;if(u.open("GET",n,!1),u.overrideMimeType("text/plain; charset=x-user-defined"),u.send(null),u.status!=200)return 0;var d=u.responseText;a=new Uint8Array(d.length);for(var p=0;p<d.length;p++)a[p]=d.charCodeAt(p)&255}}catch{return 0}var g=_malloc(a.byteLength)>>>0;return(growMemViews(),HEAPU8).set(a,g>>>0),(growMemViews(),HEAPU32)[t>>>2>>>0]=a.byteLength,g},2429660:(e,t,n)=>{FS.writeFile(UTF8ToString(e),(growMemViews(),HEAPU8).subarray(t>>>0,t+n>>>0))},2429726:e=>{FS.unlink(UTF8ToString(e))},2429759:(e,t,n,a)=>{var c=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let u=new XMLHttpRequest;u.open(UTF8ToString(a),c,!1),u.responseType="arraybuffer";for(var d=0,v=t;d<v*2;){var p=(growMemViews(),HEAP32)[n/4+d>>>0],g=(growMemViews(),HEAP32)[n/4+d+1>>>0];try{var y=encodeURI(UTF8ToString(p));y==="Host"&&(y="X-Host-Override"),y==="User-Agent"||(y.toLowerCase()==="authorization"?u.setRequestHeader(y,UTF8ToString(g)):u.setRequestHeader(y,encodeURI(UTF8ToString(g))))}catch(N){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",N)}d+=2}try{u.send(null)}catch{return 0}if(u.status===0)return 0;var b=u.response;b||(b=new ArrayBuffer(0));for(var v=b.byteLength,A=_malloc(v+8),T=new Uint8Array(b),w=0;w<v;w++)Module.HEAPU8[w+A+8]=T[w];var E=new Uint8Array(4);E[0]=v%256,v-=E[0],v/=256,E[1]=v%256,v-=E[1],v/=256,E[2]=v%256,v-=E[2],v/=256,E[3]=v%256,v-=E[3],v/=256,Module.HEAPU8.set(E,A+4);var M=Uint8Array.from(Array.from(u.getAllResponseHeaders()).map(N=>N.charCodeAt(0)));v=M.byteLength;for(var L=_malloc(v+8),w=0;w<v;w++)Module.HEAPU8[w+L+8]=M[w];E=new Uint8Array(4),E[0]=v%256,v-=E[0],v/=256,E[1]=v%256,v-=E[1],v/=256,E[2]=v%256,v-=E[2],v/=256,E[3]=v%256,v-=E[3],v/=256,Module.HEAPU8.set(E,L+4);var I=u.status,F=new Uint8Array(4);return F[0]=I%256,I-=F[0],I/=256,F[1]=I%256,I-=F[1],I/=256,F[2]=I%256,I-=F[2],I/=256,F[3]=I%256,Module.HEAPU8.set(F,L+0),v=L,E=new Uint8Array(4),E[0]=v%256,v-=E[0],v/=256,E[1]=v%256,v-=E[1],v/=256,E[2]=v%256,v-=E[2],v/=256,E[3]=v%256,v-=E[3],v/=256,Module.HEAPU8.set(E,A),A},2432411:(e,t,n,a,c,u)=>{var d=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let p=new XMLHttpRequest;p.open(UTF8ToString(a),d,!1),p.responseType="arraybuffer";for(var g=0,I=t,y=!1;g<I*2;){var b=(growMemViews(),HEAP32)[n/4+g>>>0],v=(growMemViews(),HEAP32)[n/4+g+1>>>0];try{var A=encodeURI(UTF8ToString(b));A==="Host"&&(A="X-Host-Override"),A.toLowerCase()==="content-type"&&(y=!0),A==="User-Agent"||(A.toLowerCase()==="authorization"?p.setRequestHeader(A,UTF8ToString(v)):p.setRequestHeader(A,encodeURI(UTF8ToString(v))))}catch(k){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",k)}g+=2}if(!y)try{p.setRequestHeader("Content-Type","application/octet-stream")}catch{}try{for(var T=new Uint8Array(u),w=0;w<u;w++)T[w]=Module.HEAPU8[w+c];p.send(T)}catch{return 0}if(p.status===0)return 0;var E;if(p.status>=400){var M=p.response;E=M?new Uint8Array(M):new Uint8Array(0)}else{var L=p.getResponseHeader("Etag");E=L?Uint8Array.from(Array.from(L).map(k=>k.charCodeAt(0))):new Uint8Array(0)}for(var I=E.byteLength,F=_malloc(I+8),N=new Uint8Array(E),w=0;w<I;w++)Module.HEAPU8[w+F+8]=N[w];var P=new Uint8Array(4);P[0]=I%256,I-=P[0],I/=256,P[1]=I%256,I-=P[1],I/=256,P[2]=I%256,I-=P[2],I/=256,P[3]=I%256,I-=P[3],I/=256,Module.HEAPU8.set(P,F+4);var x=p.status,R=new Uint8Array(4);return R[0]=x%256,x-=R[0],x/=256,R[1]=x%256,x-=R[1],x/=256,R[2]=x%256,x-=R[2],x/=256,R[3]=x%256,Module.HEAPU8.set(R,F+0),F},2434730:(e,t,n,a)=>{var c=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let u=new XMLHttpRequest;u.open(UTF8ToString(a),c,!1),u.responseType="arraybuffer";for(var d=0,v=t;d<v*2;){var p=(growMemViews(),HEAP32)[n/4+d>>>0],g=(growMemViews(),HEAP32)[n/4+d+1>>>0];console.log("HEAD",UTF8ToString(p),UTF8ToString(g));try{var y=encodeURI(UTF8ToString(p));y==="Host"&&(y="X-Host-Override"),y==="User-Agent"||(y.toLowerCase()==="authorization"?u.setRequestHeader(y,UTF8ToString(g)):u.setRequestHeader(y,encodeURI(UTF8ToString(g))))}catch(N){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",N)}d+=2}try{u.send(null)}catch{return 0}if(u.status===0)return 0;var b=u.response;b||(b=new ArrayBuffer(0));for(var v=b.byteLength,A=_malloc(v+8),T=new Uint8Array(b),w=0;w<v;w++)Module.HEAPU8[w+A+8]=T[w];var E=new Uint8Array(4);E[0]=v%256,v-=E[0],v/=256,E[1]=v%256,v-=E[1],v/=256,E[2]=v%256,v-=E[2],v/=256,E[3]=v%256,v-=E[3],v/=256,Module.HEAPU8.set(E,A+4);var M=Uint8Array.from(Array.from(u.getAllResponseHeaders()).map(N=>N.charCodeAt(0)));v=M.byteLength;for(var L=_malloc(v+8),w=0;w<v;w++)Module.HEAPU8[w+L+8]=M[w];E=new Uint8Array(4),E[0]=v%256,v-=E[0],v/=256,E[1]=v%256,v-=E[1],v/=256,E[2]=v%256,v-=E[2],v/=256,E[3]=v%256,v-=E[3],v/=256,Module.HEAPU8.set(E,L+4);var I=u.status,F=new Uint8Array(4);return F[0]=I%256,I-=F[0],I/=256,F[1]=I%256,I-=F[1],I/=256,F[2]=I%256,I-=F[2],I/=256,F[3]=I%256,Module.HEAPU8.set(F,L+0),v=L,E=new Uint8Array(4),E[0]=v%256,v-=E[0],v/=256,E[1]=v%256,v-=E[1],v/=256,E[2]=v%256,v-=E[2],v/=256,E[3]=v%256,v-=E[3],v/=256,Module.HEAPU8.set(E,A),A},2437443:(e,t,n,a)=>{var c=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let u=new XMLHttpRequest;u.open(UTF8ToString(a),c,!1),u.responseType="arraybuffer";for(var d=0,v=t;d<v*2;){var p=(growMemViews(),HEAP32)[n/4+d>>>0],g=(growMemViews(),HEAP32)[n/4+d+1>>>0];try{var y=encodeURI(UTF8ToString(p));y==="Host"&&(y="X-Host-Override"),y==="User-Agent"||(y.toLowerCase()==="authorization"?u.setRequestHeader(y,UTF8ToString(g)):u.setRequestHeader(y,encodeURI(UTF8ToString(g))))}catch(I){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",I)}d+=2}try{u.send(null)}catch{return 0}if(u.status===0)return 0;var b=u.response;b||(b=new ArrayBuffer(0));for(var v=b.byteLength,A=_malloc(v+8),T=new Uint8Array(b),w=0;w<v;w++)Module.HEAPU8[w+A+8]=T[w];var E=new Uint8Array(4);E[0]=v%256,v-=E[0],v/=256,E[1]=v%256,v-=E[1],v/=256,E[2]=v%256,v-=E[2],v/=256,E[3]=v%256,v-=E[3],v/=256,Module.HEAPU8.set(E,A+4);var M=u.status,L=new Uint8Array(4);return L[0]=M%256,M-=L[0],M/=256,L[1]=M%256,M-=L[1],M/=256,L[2]=M%256,M-=L[2],M/=256,L[3]=M%256,Module.HEAPU8.set(L,A+0),A},2439219:(e,t,n,a,c,u)=>{var d=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let p=new XMLHttpRequest;p.open(UTF8ToString(a),d,!1),p.responseType="arraybuffer";for(var g=0,E=t;g<E*2;){var y=(growMemViews(),HEAP32)[n/4+g>>>0],b=(growMemViews(),HEAP32)[n/4+g+1>>>0];try{var v=encodeURI(UTF8ToString(y));v==="Host"&&(v="X-Host-Override"),v==="User-Agent"||(v.toLowerCase()==="authorization"?p.setRequestHeader(v,UTF8ToString(b)):p.setRequestHeader(v,encodeURI(UTF8ToString(b))))}catch(P){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",P)}g+=2}try{for(var A=new Uint8Array(u),T=0;T<u;T++)A[T]=Module.HEAPU8[T+c];p.send(A)}catch{return 0}if(p.status===0)return 0;var w=p.response;w||(w=new ArrayBuffer(0));for(var E=w.byteLength,M=_malloc(E+8),L=new Uint8Array(w),T=0;T<E;T++)Module.HEAPU8[T+M+8]=L[T];var I=new Uint8Array(4);I[0]=E%256,E-=I[0],E/=256,I[1]=E%256,E-=I[1],E/=256,I[2]=E%256,E-=I[2],E/=256,I[3]=E%256,E-=I[3],E/=256,Module.HEAPU8.set(I,M+4);var F=p.status,N=new Uint8Array(4);return N[0]=F%256,F-=N[0],F/=256,N[1]=F%256,F-=N[1],F/=256,N[2]=F%256,F-=N[2],F/=256,N[3]=F%256,Module.HEAPU8.set(N,M+0),M},2441126:e=>{if(!e)return AL.alcErr=40964,1},2441174:e=>{if(!AL.currentCtx)return err("alGetProcAddress() called without a valid context"),1;if(!e)return AL.currentCtx.err=40963,1}},___getTypeName,__embind_initialize_bindings,__emval_coro_resume,__emval_coro_reject,_main,_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_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_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,__emscripten_tls_init,_pthread_self,_emscripten_builtin_memalign,__emscripten_run_callback_on_thread,___dl_seterr,__emscripten_dlsync_self_async,__emscripten_dlsync_self,__emscripten_proxy_dlsync_async,__emscripten_proxy_dlsync,__emscripten_find_dylib,_memcpy,__emscripten_thread_init,___set_thread_state,__emscripten_thread_crashed,_fileno,_htonl,_htons,_memcmp,_ntohs,__emscripten_run_js_on_main_thread_done,__emscripten_run_js_on_main_thread,__emscripten_thread_free_data,__emscripten_thread_exit,__emscripten_timeout,_strerror,__emscripten_check_mailbox,_malloc,_free,_calloc,_realloc,_emscripten_get_sbrk_ptr,___trap,__emscripten_tempret_set,__emscripten_tempret_get,_emscripten_stack_set_limits,__emscripten_stack_restore,__emscripten_stack_alloc,_emscripten_stack_get_current,___cxa_demangle,___cxa_decrement_exception_refcount,___cxa_rethrow,___cxa_increment_exception_refcount,___thrown_object_from_unwind_exception,___get_exception_message,___increment_uncaught_exception,___decrement_uncaught_exception,___stack_pointer,__indirect_function_table,___heap_base,___cpp_exception,wasmTable,incrementUncaughtExceptionCount,decrementUncaughtExceptionCount;function assignWasmExports(e){___getTypeName=e.__getTypeName,__embind_initialize_bindings=e._embind_initialize_bindings,__emval_coro_resume=e._emval_coro_resume,__emval_coro_reject=e._emval_coro_reject,_main=Module._main=e.main,_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_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_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,__emscripten_tls_init=e._emscripten_tls_init,_pthread_self=e.pthread_self,_emscripten_builtin_memalign=e.emscripten_builtin_memalign,__emscripten_run_callback_on_thread=e._emscripten_run_callback_on_thread,___dl_seterr=e.__dl_seterr,__emscripten_dlsync_self_async=e._emscripten_dlsync_self_async,__emscripten_dlsync_self=e._emscripten_dlsync_self,__emscripten_proxy_dlsync_async=e._emscripten_proxy_dlsync_async,__emscripten_proxy_dlsync=e._emscripten_proxy_dlsync,__emscripten_find_dylib=e._emscripten_find_dylib,_memcpy=e.memcpy,__emscripten_thread_init=e._emscripten_thread_init,___set_thread_state=e.__set_thread_state,__emscripten_thread_crashed=e._emscripten_thread_crashed,_fileno=e.fileno,_htonl=e.htonl,_htons=e.htons,_memcmp=e.memcmp,_ntohs=e.ntohs,__emscripten_run_js_on_main_thread_done=e._emscripten_run_js_on_main_thread_done,__emscripten_run_js_on_main_thread=e._emscripten_run_js_on_main_thread,__emscripten_thread_free_data=e._emscripten_thread_free_data,__emscripten_thread_exit=e._emscripten_thread_exit,__emscripten_timeout=e._emscripten_timeout,_strerror=e.strerror,__emscripten_check_mailbox=e._emscripten_check_mailbox,_malloc=Module._malloc=e.malloc,_free=Module._free=e.free,_calloc=Module._calloc=e.calloc,_realloc=e.realloc,_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_set_limits=e.emscripten_stack_set_limits,__emscripten_stack_restore=e._emscripten_stack_restore,__emscripten_stack_alloc=e._emscripten_stack_alloc,_emscripten_stack_get_current=e.emscripten_stack_get_current,___cxa_demangle=e.__cxa_demangle,___cxa_decrement_exception_refcount=e.__cxa_decrement_exception_refcount,___cxa_rethrow=e.__cxa_rethrow,___cxa_increment_exception_refcount=e.__cxa_increment_exception_refcount,___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,___stack_pointer=e.__stack_pointer,__indirect_function_table=wasmTable=e.__indirect_function_table,___heap_base=e.__heap_base.value>>>0,___cpp_exception=e.__cpp_exception}var wasmImports;function assignWasmImports(){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,__pthread_create_js:___pthread_create_js,__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_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_atomic_wait_promise:__emscripten_atomic_wait_promise,_emscripten_dlopen_js:__emscripten_dlopen_js,_emscripten_dlsync_threads:__emscripten_dlsync_threads,_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_init_main_thread_js:__emscripten_init_main_thread_js,_emscripten_log_formatted:__emscripten_log_formatted,_emscripten_lookup_name:__emscripten_lookup_name,_emscripten_notify_mailbox_postmessage:__emscripten_notify_mailbox_postmessage,_emscripten_push_main_loop_blocker:__emscripten_push_main_loop_blocker,_emscripten_push_uncounted_main_loop_blocker:__emscripten_push_uncounted_main_loop_blocker,_emscripten_receive_on_main_thread_js:__emscripten_receive_on_main_thread_js,_emscripten_runtime_keepalive_clear:__emscripten_runtime_keepalive_clear,_emscripten_system:__emscripten_system,_emscripten_thread_cleanup:__emscripten_thread_cleanup,_emscripten_thread_exit_joinable:__emscripten_thread_exit_joinable,_emscripten_thread_mailbox_await:__emscripten_thread_mailbox_await,_emscripten_thread_set_strongref:__emscripten_thread_set_strongref,_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_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_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_atomic_cancel_all_wait_asyncs:_emscripten_atomic_cancel_all_wait_asyncs,emscripten_atomic_cancel_all_wait_asyncs_at_address:_emscripten_atomic_cancel_all_wait_asyncs_at_address,emscripten_atomic_cancel_wait_async:_emscripten_atomic_cancel_wait_async,emscripten_atomic_wait_async:_emscripten_atomic_wait_async,emscripten_atomics_is_lock_free:_emscripten_atomics_is_lock_free,emscripten_call_worker:_emscripten_call_worker,emscripten_cancel_animation_frame:_emscripten_cancel_animation_frame,emscripten_cancel_main_loop:_emscripten_cancel_main_loop,emscripten_check_blocking_allowed:_emscripten_check_blocking_allowed,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_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_has_threading_support:_emscripten_has_threading_support,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_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_num_logical_cores:_emscripten_num_logical_cores,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_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,lineColor:_lineColor,lineRGBA:_lineRGBA,memory:wasmMemory,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,zoomSurface:_zoomSurface}}function applySignatureConversions(e){e=Object.assign({},e);var t=B=>O=>B(O)>>>0,n=B=>()=>B()>>>0,a=B=>(O,V)=>B(O,V)>>>0,c=B=>(O,V,U)=>B(O,V,U)>>>0,u=B=>(O,V)=>B(O,V)>>>0,d=B=>(O,V,U)=>B(O,V,U)>>>0,p=B=>O=>B(O)>>>0,g=B=>(O,V,U,ce)=>B(O,V,U,ce)>>>0,y=B=>(O,V,U)=>B(O,V,U)>>>0,b=B=>(O,V,U,ce,ke,kt)=>B(O,V,U,ce,ke,kt)>>>0,v=B=>(O,V,U)=>B(O,V,U)>>>0,A=B=>(O,V,U,ce)=>B(O,V,U,ce)>>>0,T=B=>(O,V)=>B(O,V)>>>0,w=B=>(O,V,U,ce,ke)=>B(O,V,U,ce,ke)>>>0,E=B=>(O,V,U,ce)=>B(O,V,U,ce)>>>0,M=B=>(O,V,U,ce,ke)=>B(O,V,U,ce,ke)>>>0,L=B=>(O,V,U,ce)=>B(O,V,U,ce)>>>0,I=B=>(O,V)=>B(O,V)>>>0,F=B=>(O,V,U)=>B(O,V,U)>>>0,N=B=>(O,V,U,ce)=>B(O,V,U,ce)>>>0,P=B=>(O,V,U,ce)=>B(O,V,U,ce)>>>0,x=B=>(O,V,U,ce,ke)=>B(O,V,U,ce,ke)>>>0,R=B=>(O,V,U,ce)=>B(O,V,U,ce)>>>0,k=B=>(O,V,U,ce)=>B(O,V,U,ce)>>>0,W=B=>(O,V,U)=>B(O,V,U)>>>0,de=B=>(O,V,U,ce,ke,kt)=>B(O,V,U,ce,ke,kt)>>>0,re=B=>O=>B(O)>>>0,fe=B=>(O,V,U)=>B(O,V,U)>>>0,he=B=>(O,V,U,ce,ke,kt)=>B(O,V,U,ce,ke,kt)>>>0;return e.__getTypeName=t(e.__getTypeName),e.strdup=t(e.strdup),e.pthread_self=n(e.pthread_self),e.strlen=t(e.strlen),e.__cxa_allocate_exception=t(e.__cxa_allocate_exception),e.malloc=t(e.malloc),e.realloc=a(e.realloc),e.memchr=c(e.memchr),e.emscripten_main_runtime_thread_id=n(e.emscripten_main_runtime_thread_id),e.em_proxying_queue_create=n(e.em_proxying_queue_create),e.emscripten_proxy_get_system_queue=n(e.emscripten_proxy_get_system_queue),e.dlsym=a(e.dlsym),e.dlerror=n(e.dlerror),e.dlopen=u(e.dlopen),e.calloc=a(e.calloc),e.strtoul=d(e.strtoul),e.wmemchr=c(e.wmemchr),e.localtime_r=a(e.localtime_r),e.getenv=t(e.getenv),e.__errno_location=n(e.__errno_location),e.sysconf=p(e.sysconf),e.getcwd=a(e.getcwd),e.strerror=p(e.strerror),e.pread=g(e.pread),e.read=y(e.read),e.pwrite=g(e.pwrite),e.write=y(e.write),e.opendir=t(e.opendir),e.readdir=t(e.readdir),e.realpath=a(e.realpath),e.mmap=b(e.mmap),e.__cxa_init_primary_exception=v(e.__cxa_init_primary_exception),e.wcslen=t(e.wcslen),e.strtol=d(e.strtol),e.strchr=u(e.strchr),e.strstr=a(e.strstr),e.memset=c(e.memset),e.fopen=a(e.fopen),e.ftell=t(e.ftell),e.fread=A(e.fread),e.fwrite=A(e.fwrite),e._emscripten_tls_init=n(e._emscripten_tls_init),e.emscripten_builtin_memalign=a(e.emscripten_builtin_memalign),e.emscripten_GetProcAddress=t(e.emscripten_GetProcAddress),e.strcpy=a(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=a(e.alcGetProcAddress),e.alGetProcAddress=t(e.alGetProcAddress),e.emscripten_dom_pk_code_to_string=p(e.emscripten_dom_pk_code_to_string),e.emscripten_dom_vk_to_string=p(e.emscripten_dom_vk_to_string),e.getdate=t(e.getdate),e.getpwnam=t(e.getpwnam),e.getpwuid=p(e.getpwuid),e.getpwent=n(e.getpwent),e.getgrnam=t(e.getgrnam),e.getgrgid=p(e.getgrgid),e.getgrent=n(e.getgrent),e.popen=a(e.popen),e.emscripten_stack_get_end=n(e.emscripten_stack_get_end),e.emscripten_stack_get_base=n(e.emscripten_stack_get_base),e.__ctype_b_loc=n(e.__ctype_b_loc),e.__ctype_get_mb_cur_max=n(e.__ctype_get_mb_cur_max),e.__ctype_tolower_loc=n(e.__ctype_tolower_loc),e.__ctype_toupper_loc=n(e.__ctype_toupper_loc),e.emscripten_builtin_malloc=t(e.emscripten_builtin_malloc),e.fdopen=T(e.fdopen),e.__mo_lookup=v(e.__mo_lookup),e.__get_tp=n(e.__get_tp),e.memcpy=v(e.memcpy),e.a64l=t(e.a64l),e.l64a=t(e.l64a),e.aligned_alloc=a(e.aligned_alloc),e.asctime=t(e.asctime),e.__nl_langinfo_l=T(e.__nl_langinfo_l),e.asctime_r=a(e.asctime_r),e.__libc_calloc=a(e.__libc_calloc),e.atol=t(e.atol),e.basename=t(e.basename),e.__xpg_basename=t(e.__xpg_basename),e.memmove=v(e.memmove),e.bind_textdomain_codeset=a(e.bind_textdomain_codeset),e.bsearch=w(e.bsearch),e.c16rtomb=c(e.c16rtomb),e.wcrtomb=c(e.wcrtomb),e.c32rtomb=c(e.c32rtomb),e.catgets=E(e.catgets),e.catopen=u(e.catopen),e.confstr=y(e.confstr),e.crypt=a(e.crypt),e.__crypt_blowfish=v(e.__crypt_blowfish),e.__crypt_des=v(e.__crypt_des),e.__crypt_md5=v(e.__crypt_md5),e.strnlen=a(e.strnlen),e.__crypt_sha256=v(e.__crypt_sha256),e.__crypt_sha512=v(e.__crypt_sha512),e.crypt_r=v(e.crypt_r),e.ctermid=t(e.ctermid),e.ctime=t(e.ctime),e.localtime=t(e.localtime),e.ctime_r=a(e.ctime_r),e.bindtextdomain=a(e.bindtextdomain),e.dcngettext=M(e.dcngettext),e.__gettextdomain=n(e.__gettextdomain),e.dcgettext=d(e.dcgettext),e.dngettext=A(e.dngettext),e.dgettext=a(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=A(e._emscripten_find_dylib),e.strspn=a(e.strspn),e.strcspn=a(e.strcspn),e.emscripten_dlopen_promise=u(e.emscripten_dlopen_promise),e.ecvt=L(e.ecvt),e.em_task_queue_create=t(e.em_task_queue_create),e.emscripten_get_heap_size=n(e.emscripten_get_heap_size),e._emscripten_memcpy_bulkmem=v(e._emscripten_memcpy_bulkmem),e.emscripten_builtin_memcpy=v(e.emscripten_builtin_memcpy),e.__memset=c(e.__memset),e.emscripten_builtin_memset=c(e.emscripten_builtin_memset),e._emscripten_memset_bulkmem=c(e._emscripten_memset_bulkmem),e.__syscall_mmap2=b(e.__syscall_mmap2),e.emscripten_stack_get_current=n(e.emscripten_stack_get_current),e.gethostent=n(e.gethostent),e.getnetent=n(e.getnetent),e.ether_aton_r=a(e.ether_aton_r),e.ether_aton=t(e.ether_aton),e.ether_ntoa_r=a(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=a(e.__freadptr),e.fcvt=L(e.fcvt),e.fdopendir=p(e.fdopendir),e.fgetln=a(e.fgetln),e.getline=v(e.getline),e.fgets=c(e.fgets),e.fgets_unlocked=c(e.fgets_unlocked),e.mbrtowc=A(e.mbrtowc),e.fgetws=c(e.fgetws),e.fgetws_unlocked=c(e.fgetws_unlocked),e.fmemopen=v(e.fmemopen),e.fopencookie=v(e.fopencookie),e.fpathconf=I(e.fpathconf),e.wcsrtombs=A(e.wcsrtombs),e.fread_unlocked=A(e.fread_unlocked),e.freopen=v(e.freopen),e.fwrite_unlocked=A(e.fwrite_unlocked),e.gai_strerror=p(e.gai_strerror),e.gcvt=F(e.gcvt),e.get_current_dir_name=n(e.get_current_dir_name),e.getdelim=N(e.getdelim),e.__getdelim=N(e.__getdelim),e.gethostid=n(e.gethostid),e.getlogin=n(e.getlogin),e.getpass=t(e.getpass),e.gets=t(e.gets),e.getservbyname=a(e.getservbyname),e.getservbyport=T(e.getservbyport),e.gmtime=t(e.gmtime),e.__h_errno_location=n(e.__h_errno_location),e.hstrerror=p(e.hstrerror),e.hsearch=u(e.hsearch),e.iconv_open=a(e.iconv_open),e.iconv=w(e.iconv),e.if_indextoname=T(e.if_indextoname),e.strncpy=v(e.strncpy),e.if_nameindex=n(e.if_nameindex),e.index=u(e.index),e.inet_ntoa=p(e.inet_ntoa),e.inet_ntop=g(e.inet_ntop),e.wcschr=u(e.wcschr),e.labs=t(e.labs),e.__nl_langinfo=p(e.__nl_langinfo),e.nl_langinfo=p(e.nl_langinfo),e.nl_langinfo_l=T(e.nl_langinfo_l),e.get_phys_pages=n(e.get_phys_pages),e.get_avphys_pages=n(e.get_avphys_pages),e.localeconv=n(e.localeconv),e.nrand48=t(e.nrand48),e.lrand48=n(e.lrand48),e.lrint=p(e.lrint),e.lrintf=p(e.lrintf),e.lrintl=I(e.lrintl),e.lround=p(e.lround),e.lroundf=p(e.lroundf),e.lroundl=I(e.lroundl),e.lsearch=w(e.lsearch),e.lfind=w(e.lfind),e.mbrlen=v(e.mbrlen),e.mbrtoc16=A(e.mbrtoc16),e.mbrtoc32=A(e.mbrtoc32),e.mbsnrtowcs=w(e.mbsnrtowcs),e.mbsrtowcs=A(e.mbsrtowcs),e.mbstowcs=v(e.mbstowcs),e.memccpy=N(e.memccpy),e.memmem=A(e.memmem),e.mempcpy=v(e.mempcpy),e.memrchr=c(e.memrchr),e.mkdtemp=t(e.mkdtemp),e.mktemp=t(e.mktemp),e.gmtime_r=a(e.gmtime_r),e.emscripten_builtin_mmap=b(e.emscripten_builtin_mmap),e.setmntent=a(e.setmntent),e.getmntent_r=P(e.getmntent_r),e.getmntent=t(e.getmntent),e.hasmntopt=a(e.hasmntopt),e.jrand48=t(e.jrand48),e.mrand48=n(e.mrand48),e.mremap=x(e.mremap),e.send=g(e.send),e.recv=g(e.recv),e.getnetbyaddr=I(e.getnetbyaddr),e.getnetbyname=t(e.getnetbyname),e.__newlocale=y(e.__newlocale),e.newlocale=y(e.newlocale),e.ns_get32=t(e.ns_get32),e.open_memstream=a(e.open_memstream),e.open_wmemstream=a(e.open_wmemstream),e.pathconf=u(e.pathconf),e.posix_getdents=g(e.posix_getdents),e.preadv=R(e.preadv),e.strrchr=u(e.strrchr),e.pthread_getspecific=p(e.pthread_getspecific),e.emscripten_proxy_promise_with_ctx=A(e.emscripten_proxy_promise_with_ctx),e.emscripten_proxy_promise=A(e.emscripten_proxy_promise),e.emscripten_async_waitable_run_in_main_runtime_thread_=y(e.emscripten_async_waitable_run_in_main_runtime_thread_),e.tss_get=p(e.tss_get),e.thrd_current=n(e.thrd_current),e.ptsname=p(e.ptsname),e.pwritev=R(e.pwritev),e.initstate=y(e.initstate),e.setstate=t(e.setstate),e.random=n(e.random),e.readlink=v(e.readlink),e.readlinkat=k(e.readlinkat),e.readv=W(e.readv),e.reallocarray=v(e.reallocarray),e.recvmsg=W(e.recvmsg),e.regerror=k(e.regerror),e.sendto=de(e.sendto),e.sendmsg=W(e.sendmsg),e.__res_state=n(e.__res_state),e.rindex=u(e.rindex),e.secure_getenv=t(e.secure_getenv),e.seed48=t(e.seed48),e.sem_open=c(e.sem_open),e.getservent=n(e.getservent),e.setlocale=T(e.setlocale),e.signal=T(e.signal),e.bsd_signal=T(e.bsd_signal),e.__sysv_signal=T(e.__sysv_signal),e.stpcpy=a(e.stpcpy),e.stpncpy=v(e.stpncpy),e.strcasestr=a(e.strcasestr),e.strcat=a(e.strcat),e.strchrnul=u(e.strchrnul),e.__strerror_l=T(e.__strerror_l),e.strerror_l=T(e.strerror_l),e.strfmon_l=w(e.strfmon_l),e.strfmon=A(e.strfmon),e.strftime=A(e.strftime),e.strftime_l=w(e.strftime_l),e.strlcat=v(e.strlcat),e.strlcpy=v(e.strlcpy),e.strlwr=t(e.strlwr),e.strncat=v(e.strncat),e.strndup=a(e.strndup),e.strpbrk=a(e.strpbrk),e.strsep=a(e.strsep),e.strsignal=p(e.strsignal),e.strtok=a(e.strtok),e.strtok_r=v(e.strtok_r),e.__strtol_internal=d(e.__strtol_internal),e.__strtoul_internal=d(e.__strtoul_internal),e.strtoul_l=N(e.strtoul_l),e.strtol_l=N(e.strtol_l),e.strupr=t(e.strupr),e.__strxfrm_l=A(e.__strxfrm_l),e.strxfrm=v(e.strxfrm),e.strxfrm_l=A(e.strxfrm_l),e.tdelete=v(e.tdelete),e.telldir=t(e.telldir),e.tempnam=a(e.tempnam),e.textdomain=t(e.textdomain),e.gettext=t(e.gettext),e.ngettext=v(e.ngettext),e.tfind=v(e.tfind),e.tmpfile=n(e.tmpfile),e.tmpnam=t(e.tmpnam),e.tsearch=v(e.tsearch),e.ttyname=p(e.ttyname),e.__uselocale=t(e.__uselocale),e.uselocale=t(e.uselocale),e.wcsnlen=a(e.wcsnlen),e.wcpcpy=a(e.wcpcpy),e.wcscpy=a(e.wcscpy),e.wcpncpy=v(e.wcpncpy),e.wcsncpy=v(e.wcsncpy),e.wcscat=a(e.wcscat),e.wcscspn=a(e.wcscspn),e.wcsdup=t(e.wcsdup),e.wmemcpy=v(e.wmemcpy),e.__wcsftime_l=w(e.__wcsftime_l),e.wcstoul=d(e.wcstoul),e.wcsftime=A(e.wcsftime),e.wcsftime_l=w(e.wcsftime_l),e.wcsncat=v(e.wcsncat),e.wmemset=c(e.wmemset),e.wcsnrtombs=w(e.wcsnrtombs),e.wcspbrk=a(e.wcspbrk),e.wcsrchr=u(e.wcsrchr),e.wcsspn=a(e.wcsspn),e.wcsstr=a(e.wcsstr),e.wcstok=v(e.wcstok),e.wcstol=d(e.wcstol),e.wcstombs=v(e.wcstombs),e.wcswcs=a(e.wcswcs),e.__wcsxfrm_l=A(e.__wcsxfrm_l),e.wcsxfrm=v(e.wcsxfrm),e.wcsxfrm_l=A(e.wcsxfrm_l),e.wctrans=t(e.wctrans),e.__wctrans_l=a(e.__wctrans_l),e.wctrans_l=a(e.wctrans_l),e.wmemmove=v(e.wmemmove),e.writev=W(e.writev),e.sbrk=re(e.sbrk),e.__libc_realloc=a(e.__libc_realloc),e.realloc_in_place=a(e.realloc_in_place),e.memalign=a(e.memalign),e.valloc=t(e.valloc),e.pvalloc=t(e.pvalloc),e.malloc_usable_size=t(e.malloc_usable_size),e.malloc_footprint=n(e.malloc_footprint),e.malloc_max_footprint=n(e.malloc_max_footprint),e.malloc_footprint_limit=n(e.malloc_footprint_limit),e.malloc_set_footprint_limit=t(e.malloc_set_footprint_limit),e.independent_calloc=v(e.independent_calloc),e.independent_comalloc=v(e.independent_comalloc),e.bulk_free=a(e.bulk_free),e.emscripten_builtin_realloc=a(e.emscripten_builtin_realloc),e.emscripten_builtin_calloc=a(e.emscripten_builtin_calloc),e.emscripten_get_sbrk_ptr=n(e.emscripten_get_sbrk_ptr),e._sbrk64=p(e._sbrk64),e.__emutls_get_address=t(e.__emutls_get_address),e.emscripten_stack_get_free=n(e.emscripten_stack_get_free),e._emscripten_stack_alloc=t(e._emscripten_stack_alloc),e.__cxa_current_primary_exception=n(e.__cxa_current_primary_exception),e.__dynamic_cast=A(e.__dynamic_cast),e.__cxa_demangle=A(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=fe(e.gethostbyaddr),e.gethostbyname=t(e.gethostbyname),e.gethostbyname2=u(e.gethostbyname2),e.recvfrom=he(e.recvfrom),e}function callMain(e=[]){var t=resolveGlobalSymbol("main").sym;if(t){e.unshift(thisProgram);var n=e.length,a=stackAlloc((n+1)*4),c=a;for(var u of e)(growMemViews(),HEAPU32)[c>>>2>>>0]=stringToUTF8OnStack(u),c+=4;(growMemViews(),HEAPU32)[c>>>2>>>0]=0;try{var d=t(n,a);return exitJS(d,!0),d}catch(p){return handleException(p)}}}async function run(e=programArgs){var a;if(ENVIRONMENT_IS_PTHREAD){initRuntime();return}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),(a=Module.onRuntimeInitialized)==null||a.call(Module);var n=Module.noInitialRun||!1;n||callMain(e),postRun()}}var wasmExports;return ENVIRONMENT_IS_PTHREAD||(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 isPthread=globalThis.name=="em-pthread",Xc,Kc,Jc,isNode=((Kc=(Xc=globalThis.process)==null?void 0:Xc.versions)==null?void 0:Kc.node)&&((Jc=globalThis.process)==null?void 0:Jc.type)!="renderer";isNode&&(isPthread=Kt("node:worker_threads").workerData==="em-pthread");isPthread&&DuckDB()});var i_=Ri(()=>{});var n_=Ri(()=>{});var s_=Ri((ew,La)=>{(function(){"use strict";var l="input is invalid type",r=typeof window=="object",o=r?window:{};o.JS_SHA256_NO_WINDOW&&(r=!1);var _=!r&&typeof self=="object",f=!o.JS_SHA256_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node&&process.type!="renderer";f?o=global:_&&(o=self);var m=!o.JS_SHA256_NO_COMMON_JS&&typeof La=="object"&&La.exports,h=typeof define=="function"&&define.amd,S=!o.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",e="0123456789abcdef".split(""),t=[-2147483648,8388608,32768,128],n=[24,16,8,0],a=[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],c=["hex","array","digest","arrayBuffer"],u=[];(o.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(w){return Object.prototype.toString.call(w)==="[object Array]"}),S&&(o.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(w){return typeof w=="object"&&w.buffer&&w.buffer.constructor===ArrayBuffer});var d=function(w,E){return function(M){return new v(E,!0).update(M)[w]()}},p=function(w){var E=d("hex",w);f&&(E=g(E,w)),E.create=function(){return new v(w)},E.update=function(I){return E.create().update(I)};for(var M=0;M<c.length;++M){var L=c[M];E[L]=d(L,w)}return E},g=function(w,E){var M=i_(),L=n_().Buffer,I=E?"sha224":"sha256",F;L.from&&!o.JS_SHA256_NO_BUFFER_FROM?F=L.from:F=function(P){return new L(P)};var N=function(P){if(typeof P=="string")return M.createHash(I).update(P,"utf8").digest("hex");if(P==null)throw new Error(l);return P.constructor===ArrayBuffer&&(P=new Uint8Array(P)),Array.isArray(P)||ArrayBuffer.isView(P)||P.constructor===L?M.createHash(I).update(F(P)).digest("hex"):w(P)};return N},y=function(w,E){return function(M,L){return new A(M,E,!0).update(L)[w]()}},b=function(w){var E=y("hex",w);E.create=function(I){return new A(I,w)},E.update=function(I,F){return E.create(I).update(F)};for(var M=0;M<c.length;++M){var L=c[M];E[L]=y(L,w)}return E};function v(w,E){E?(u[0]=u[16]=u[1]=u[2]=u[3]=u[4]=u[5]=u[6]=u[7]=u[8]=u[9]=u[10]=u[11]=u[12]=u[13]=u[14]=u[15]=0,this.blocks=u):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],w?(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=w}v.prototype.update=function(w){if(!this.finalized){var E,M=typeof w;if(M!=="string"){if(M==="object"){if(w===null)throw new Error(l);if(S&&w.constructor===ArrayBuffer)w=new Uint8Array(w);else if(!Array.isArray(w)&&(!S||!ArrayBuffer.isView(w)))throw new Error(l)}else throw new Error(l);E=!0}for(var L,I=0,F,N=w.length,P=this.blocks;I<N;){if(this.hashed&&(this.hashed=!1,P[0]=this.block,this.block=P[16]=P[1]=P[2]=P[3]=P[4]=P[5]=P[6]=P[7]=P[8]=P[9]=P[10]=P[11]=P[12]=P[13]=P[14]=P[15]=0),E)for(F=this.start;I<N&&F<64;++I)P[F>>>2]|=w[I]<<n[F++&3];else for(F=this.start;I<N&&F<64;++I)L=w.charCodeAt(I),L<128?P[F>>>2]|=L<<n[F++&3]:L<2048?(P[F>>>2]|=(192|L>>>6)<<n[F++&3],P[F>>>2]|=(128|L&63)<<n[F++&3]):L<55296||L>=57344?(P[F>>>2]|=(224|L>>>12)<<n[F++&3],P[F>>>2]|=(128|L>>>6&63)<<n[F++&3],P[F>>>2]|=(128|L&63)<<n[F++&3]):(L=65536+((L&1023)<<10|w.charCodeAt(++I)&1023),P[F>>>2]|=(240|L>>>18)<<n[F++&3],P[F>>>2]|=(128|L>>>12&63)<<n[F++&3],P[F>>>2]|=(128|L>>>6&63)<<n[F++&3],P[F>>>2]|=(128|L&63)<<n[F++&3]);this.lastByteIndex=F,this.bytes+=F-this.start,F>=64?(this.block=P[16],this.start=F-64,this.hash(),this.hashed=!0):this.start=F}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},v.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var w=this.blocks,E=this.lastByteIndex;w[16]=this.block,w[E>>>2]|=t[E&3],this.block=w[16],E>=56&&(this.hashed||this.hash(),w[0]=this.block,w[16]=w[1]=w[2]=w[3]=w[4]=w[5]=w[6]=w[7]=w[8]=w[9]=w[10]=w[11]=w[12]=w[13]=w[14]=w[15]=0),w[14]=this.hBytes<<3|this.bytes>>>29,w[15]=this.bytes<<3,this.hash()}},v.prototype.hash=function(){var w=this.h0,E=this.h1,M=this.h2,L=this.h3,I=this.h4,F=this.h5,N=this.h6,P=this.h7,x=this.blocks,R,k,W,de,re,fe,he,B,O,V,U;for(R=16;R<64;++R)re=x[R-15],k=(re>>>7|re<<25)^(re>>>18|re<<14)^re>>>3,re=x[R-2],W=(re>>>17|re<<15)^(re>>>19|re<<13)^re>>>10,x[R]=x[R-16]+k+x[R-7]+W<<0;for(U=E&M,R=0;R<64;R+=4)this.first?(this.is224?(B=300032,re=x[0]-1413257819,P=re-150054599<<0,L=re+24177077<<0):(B=704751109,re=x[0]-210244248,P=re-1521486534<<0,L=re+143694565<<0),this.first=!1):(k=(w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10),W=(I>>>6|I<<26)^(I>>>11|I<<21)^(I>>>25|I<<7),B=w&E,de=B^w&M^U,he=I&F^~I&N,re=P+W+he+a[R]+x[R],fe=k+de,P=L+re<<0,L=re+fe<<0),k=(L>>>2|L<<30)^(L>>>13|L<<19)^(L>>>22|L<<10),W=(P>>>6|P<<26)^(P>>>11|P<<21)^(P>>>25|P<<7),O=L&w,de=O^L&E^B,he=P&I^~P&F,re=N+W+he+a[R+1]+x[R+1],fe=k+de,N=M+re<<0,M=re+fe<<0,k=(M>>>2|M<<30)^(M>>>13|M<<19)^(M>>>22|M<<10),W=(N>>>6|N<<26)^(N>>>11|N<<21)^(N>>>25|N<<7),V=M&L,de=V^M&w^O,he=N&P^~N&I,re=F+W+he+a[R+2]+x[R+2],fe=k+de,F=E+re<<0,E=re+fe<<0,k=(E>>>2|E<<30)^(E>>>13|E<<19)^(E>>>22|E<<10),W=(F>>>6|F<<26)^(F>>>11|F<<21)^(F>>>25|F<<7),U=E&M,de=U^E&L^V,he=F&N^~F&P,re=I+W+he+a[R+3]+x[R+3],fe=k+de,I=w+re<<0,w=re+fe<<0,this.chromeBugWorkAround=!0;this.h0=this.h0+w<<0,this.h1=this.h1+E<<0,this.h2=this.h2+M<<0,this.h3=this.h3+L<<0,this.h4=this.h4+I<<0,this.h5=this.h5+F<<0,this.h6=this.h6+N<<0,this.h7=this.h7+P<<0},v.prototype.hex=function(){this.finalize();var w=this.h0,E=this.h1,M=this.h2,L=this.h3,I=this.h4,F=this.h5,N=this.h6,P=this.h7,x=e[w>>>28&15]+e[w>>>24&15]+e[w>>>20&15]+e[w>>>16&15]+e[w>>>12&15]+e[w>>>8&15]+e[w>>>4&15]+e[w&15]+e[E>>>28&15]+e[E>>>24&15]+e[E>>>20&15]+e[E>>>16&15]+e[E>>>12&15]+e[E>>>8&15]+e[E>>>4&15]+e[E&15]+e[M>>>28&15]+e[M>>>24&15]+e[M>>>20&15]+e[M>>>16&15]+e[M>>>12&15]+e[M>>>8&15]+e[M>>>4&15]+e[M&15]+e[L>>>28&15]+e[L>>>24&15]+e[L>>>20&15]+e[L>>>16&15]+e[L>>>12&15]+e[L>>>8&15]+e[L>>>4&15]+e[L&15]+e[I>>>28&15]+e[I>>>24&15]+e[I>>>20&15]+e[I>>>16&15]+e[I>>>12&15]+e[I>>>8&15]+e[I>>>4&15]+e[I&15]+e[F>>>28&15]+e[F>>>24&15]+e[F>>>20&15]+e[F>>>16&15]+e[F>>>12&15]+e[F>>>8&15]+e[F>>>4&15]+e[F&15]+e[N>>>28&15]+e[N>>>24&15]+e[N>>>20&15]+e[N>>>16&15]+e[N>>>12&15]+e[N>>>8&15]+e[N>>>4&15]+e[N&15];return this.is224||(x+=e[P>>>28&15]+e[P>>>24&15]+e[P>>>20&15]+e[P>>>16&15]+e[P>>>12&15]+e[P>>>8&15]+e[P>>>4&15]+e[P&15]),x},v.prototype.toString=v.prototype.hex,v.prototype.digest=function(){this.finalize();var w=this.h0,E=this.h1,M=this.h2,L=this.h3,I=this.h4,F=this.h5,N=this.h6,P=this.h7,x=[w>>>24&255,w>>>16&255,w>>>8&255,w&255,E>>>24&255,E>>>16&255,E>>>8&255,E&255,M>>>24&255,M>>>16&255,M>>>8&255,M&255,L>>>24&255,L>>>16&255,L>>>8&255,L&255,I>>>24&255,I>>>16&255,I>>>8&255,I&255,F>>>24&255,F>>>16&255,F>>>8&255,F&255,N>>>24&255,N>>>16&255,N>>>8&255,N&255];return this.is224||x.push(P>>>24&255,P>>>16&255,P>>>8&255,P&255),x},v.prototype.array=v.prototype.digest,v.prototype.arrayBuffer=function(){this.finalize();var w=new ArrayBuffer(this.is224?28:32),E=new DataView(w);return E.setUint32(0,this.h0),E.setUint32(4,this.h1),E.setUint32(8,this.h2),E.setUint32(12,this.h3),E.setUint32(16,this.h4),E.setUint32(20,this.h5),E.setUint32(24,this.h6),this.is224||E.setUint32(28,this.h7),w};function A(w,E,M){var L,I=typeof w;if(I==="string"){var F=[],N=w.length,P=0,x;for(L=0;L<N;++L)x=w.charCodeAt(L),x<128?F[P++]=x:x<2048?(F[P++]=192|x>>>6,F[P++]=128|x&63):x<55296||x>=57344?(F[P++]=224|x>>>12,F[P++]=128|x>>>6&63,F[P++]=128|x&63):(x=65536+((x&1023)<<10|w.charCodeAt(++L)&1023),F[P++]=240|x>>>18,F[P++]=128|x>>>12&63,F[P++]=128|x>>>6&63,F[P++]=128|x&63);w=F}else if(I==="object"){if(w===null)throw new Error(l);if(S&&w.constructor===ArrayBuffer)w=new Uint8Array(w);else if(!Array.isArray(w)&&(!S||!ArrayBuffer.isView(w)))throw new Error(l)}else throw new Error(l);w.length>64&&(w=new v(E,!0).update(w).array());var R=[],k=[];for(L=0;L<64;++L){var W=w[L]||0;R[L]=92^W,k[L]=54^W}v.call(this,E,M),this.update(k),this.oKeyPad=R,this.inner=!0,this.sharedMemory=M}A.prototype=new v,A.prototype.finalize=function(){if(v.prototype.finalize.call(this),this.inner){this.inner=!1;var w=this.array();v.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(w),v.prototype.finalize.call(this)}};var T=p();T.sha256=T,T.sha224=p(!0),T.sha256.hmac=b(),T.sha224.hmac=b(!0),m?La.exports=T:(o.sha256=T.sha256,o.sha224=T.sha224,h&&define(function(){return T}))})()});function Ko(l,r){var o={};for(var _ in l)Object.prototype.hasOwnProperty.call(l,_)&&r.indexOf(_)<0&&(o[_]=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])&&(o[_[f]]=l[_[f]]);return o}function H(l,r,o,_){function f(m){return m instanceof o?m:new o(function(h){h(m)})}return new(o||(o=Promise))(function(m,h){function S(n){try{t(_.next(n))}catch(a){h(a)}}function e(n){try{t(_.throw(n))}catch(a){h(a)}}function t(n){n.done?m(n.value):f(n.value).then(S,e)}t((_=_.apply(l,r||[])).next())})}function Xo(l){var r=typeof Symbol=="function"&&Symbol.iterator,o=r&&l[r],_=0;if(o)return o.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 ae(l){return this instanceof ae?(this.v=l,this):new ae(l)}function rt(l,r,o){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var _=o.apply(l,r||[]),f,m=[];return f={},h("next"),h("throw"),h("return"),f[Symbol.asyncIterator]=function(){return this},f;function h(c){_[c]&&(f[c]=function(u){return new Promise(function(d,p){m.push([c,u,d,p])>1||S(c,u)})})}function S(c,u){try{e(_[c](u))}catch(d){a(m[0][3],d)}}function e(c){c.value instanceof ae?Promise.resolve(c.value.v).then(t,n):a(m[0][2],c)}function t(c){S("next",c)}function n(c){S("throw",c)}function a(c,u){c(u),m.shift(),m.length&&S(m[0][0],m[0][1])}}function oi(l){var r,o;return r={},_("next"),_("throw",function(f){throw f}),_("return"),r[Symbol.iterator]=function(){return this},r;function _(f,m){r[f]=l[f]?function(h){return(o=!o)?{value:ae(l[f](h)),done:!1}:m?m(h):h}:m}}function gt(l){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=l[Symbol.asyncIterator],o;return r?r.call(l):(l=typeof Xo=="function"?Xo(l):l[Symbol.iterator](),o={},_("next"),_("throw"),_("return"),o[Symbol.asyncIterator]=function(){return this},o);function _(m){o[m]=l[m]&&function(h){return new Promise(function(S,e){h=l[m](h),f(S,e,h.done,h.value)})}}function f(m,h,S,e){Promise.resolve(e).then(function(t){m({value:t,done:S})},h)}}var Ra={};Vr(Ra,{compareArrayLike:()=>Ca,joinUint8Arrays:()=>it,memcpy:()=>Oi,rebaseValueOffsets:()=>jn,toArrayBufferView:()=>oe,toArrayBufferViewAsyncIterator:()=>yt,toArrayBufferViewIterator:()=>Ot,toBigInt64Array:()=>zn,toBigUint64Array:()=>T_,toFloat32Array:()=>L_,toFloat32ArrayAsyncIterator:()=>U_,toFloat32ArrayIterator:()=>C_,toFloat64Array:()=>M_,toFloat64ArrayAsyncIterator:()=>W_,toFloat64ArrayIterator:()=>R_,toInt16Array:()=>w_,toInt16ArrayAsyncIterator:()=>O_,toInt16ArrayIterator:()=>I_,toInt32Array:()=>Gr,toInt32ArrayAsyncIterator:()=>H_,toInt32ArrayIterator:()=>P_,toInt8Array:()=>b_,toInt8ArrayAsyncIterator:()=>B_,toInt8ArrayIterator:()=>F_,toUint16Array:()=>E_,toUint16ArrayAsyncIterator:()=>V_,toUint16ArrayIterator:()=>x_,toUint32Array:()=>A_,toUint32ArrayAsyncIterator:()=>G_,toUint32ArrayIterator:()=>N_,toUint8Array:()=>Q,toUint8ArrayAsyncIterator:()=>Na,toUint8ArrayIterator:()=>xa,toUint8ClampedArray:()=>D_,toUint8ClampedArrayAsyncIterator:()=>z_,toUint8ClampedArrayIterator:()=>k_});var h_=new TextDecoder("utf-8"),ki=l=>h_.decode(l),v_=new TextEncoder,Bt=l=>v_.encode(l);var y_=l=>typeof l=="number",Jo=l=>typeof l=="boolean",Be=l=>typeof l=="function",$e=l=>l!=null&&Object(l)===l,ht=l=>$e(l)&&Be(l.then);var vt=l=>$e(l)&&Be(l[Symbol.iterator]),ct=l=>$e(l)&&Be(l[Symbol.asyncIterator]),On=l=>$e(l)&&$e(l.schema);var Hn=l=>$e(l)&&"done"in l&&"value"in l;var Vn=l=>$e(l)&&Be(l.stat)&&y_(l.fd);var Gn=l=>$e(l)&&Bi(l.body),Un=l=>"_getDOMStream"in l&&"_getNodeStream"in l,Yo=l=>$e(l)&&Be(l.abort)&&Be(l.getWriter)&&!Un(l),Bi=l=>$e(l)&&Be(l.cancel)&&Be(l.getReader)&&!Un(l),Qo=l=>$e(l)&&Be(l.end)&&Be(l.write)&&Jo(l.writable)&&!Un(l),Wn=l=>$e(l)&&Be(l.read)&&Be(l.pipe)&&Jo(l.readable)&&!Un(l),Zo=l=>$e(l)&&Be(l.clear)&&Be(l.bytes)&&Be(l.position)&&Be(l.setPosition)&&Be(l.capacity)&&Be(l.getBufferIdentifier)&&Be(l.createLong);var Pa=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function S_(l){let r=l[0]?[l[0]]:[],o,_,f,m;for(let h,S,e=0,t=0,n=l.length;++e<n;){if(h=r[t],S=l[e],!h||!S||h.buffer!==S.buffer||S.byteOffset<h.byteOffset){S&&(r[++t]=S);continue}if({byteOffset:o,byteLength:f}=h,{byteOffset:_,byteLength:m}=S,o+f<_||_+m<o){S&&(r[++t]=S);continue}r[t]=new Uint8Array(h.buffer,o,_-o+m)}return r}function Oi(l,r,o=0,_=r.byteLength){let f=l.byteLength,m=new Uint8Array(l.buffer,l.byteOffset,f),h=new Uint8Array(r.buffer,r.byteOffset,Math.min(_,f));return m.set(h,o),l}function it(l,r){let o=S_(l),_=o.reduce((n,a)=>n+a.byteLength,0),f,m,h,S=0,e=-1,t=Math.min(r||Number.POSITIVE_INFINITY,_);for(let n=o.length;++e<n;){if(f=o[e],m=f.subarray(0,Math.min(f.length,t-S)),t<=S+m.length){m.length<f.length?o[e]=f.subarray(m.length):m.length===f.length&&e++,h?Oi(h,m,S):h=m;break}Oi(h||(h=new Uint8Array(t)),m,S),S+=m.length}return[h||new Uint8Array(0),o.slice(e),_-(h?h.byteLength:0)]}function oe(l,r){let o=Hn(r)?r.value:r;return o instanceof l?l===Uint8Array?new l(o.buffer,o.byteOffset,o.byteLength):o:o?(typeof o=="string"&&(o=Bt(o)),o instanceof ArrayBuffer?new l(o):o instanceof Pa?new l(o):Zo(o)?oe(l,o.bytes()):ArrayBuffer.isView(o)?o.byteLength<=0?new l(0):new l(o.buffer,o.byteOffset,o.byteLength/l.BYTES_PER_ELEMENT):l.from(o)):new l(0)}var b_=l=>oe(Int8Array,l),w_=l=>oe(Int16Array,l),Gr=l=>oe(Int32Array,l),zn=l=>oe(BigInt64Array,l),Q=l=>oe(Uint8Array,l),E_=l=>oe(Uint16Array,l),A_=l=>oe(Uint32Array,l),T_=l=>oe(BigUint64Array,l),L_=l=>oe(Float32Array,l),M_=l=>oe(Float64Array,l),D_=l=>oe(Uint8ClampedArray,l),Ia=l=>(l.next(),l);function*Ot(l,r){let o=function*(f){yield f},_=typeof r=="string"||ArrayBuffer.isView(r)||r instanceof ArrayBuffer||r instanceof Pa?o(r):vt(r)?r:o(r);return yield*Ia(function*(f){let m=null;do m=f.next(yield oe(l,m));while(!m.done)}(_[Symbol.iterator]())),new l}var F_=l=>Ot(Int8Array,l),I_=l=>Ot(Int16Array,l),P_=l=>Ot(Int32Array,l),xa=l=>Ot(Uint8Array,l),x_=l=>Ot(Uint16Array,l),N_=l=>Ot(Uint32Array,l),C_=l=>Ot(Float32Array,l),R_=l=>Ot(Float64Array,l),k_=l=>Ot(Uint8ClampedArray,l);function yt(l,r){return rt(this,arguments,function*(){if(ht(r))return yield ae(yield ae(yield*oi(gt(yt(l,yield ae(r))))));let _=function(h){return rt(this,arguments,function*(){yield yield ae(yield ae(h))})},f=function(h){return rt(this,arguments,function*(){yield ae(yield*oi(gt(Ia(function*(S){let e=null;do e=S.next(yield e==null?void 0:e.value);while(!e.done)}(h[Symbol.iterator]())))))})},m=typeof r=="string"||ArrayBuffer.isView(r)||r instanceof ArrayBuffer||r instanceof Pa?_(r):vt(r)?f(r):ct(r)?r:_(r);return yield ae(yield*oi(gt(Ia(function(h){return rt(this,arguments,function*(){let S=null;do S=yield ae(h.next(yield yield ae(oe(l,S))));while(!S.done)})}(m[Symbol.asyncIterator]()))))),yield ae(new l)})}var B_=l=>yt(Int8Array,l),O_=l=>yt(Int16Array,l),H_=l=>yt(Int32Array,l),Na=l=>yt(Uint8Array,l),V_=l=>yt(Uint16Array,l),G_=l=>yt(Uint32Array,l),U_=l=>yt(Float32Array,l),W_=l=>yt(Float64Array,l),z_=l=>yt(Uint8ClampedArray,l);function jn(l,r,o){if(l!==0){o=o.slice(0,r);for(let _=-1,f=o.length;++_<f;)o[_]+=l}return o.subarray(0,r)}function Ca(l,r){let o=0,_=l.length;if(_!==r.length)return!1;if(_>0)do if(l[o]!==r[o])return!1;while(++o<_);return!0}var Ge={fromIterable(l){return $n(j_(l))},fromAsyncIterable(l){return $n($_(l))},fromDOMStream(l){return $n(q_(l))},fromNodeStream(l){return $n(X_(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')}},$n=l=>(l.next(),l);function*j_(l){let r,o=!1,_=[],f,m,h,S=0;function e(){return m==="peek"?it(_,h)[0]:([f,_,S]=it(_,h),f)}({cmd:m,size:h}=(yield null)||{cmd:"read",size:0});let t=xa(l)[Symbol.iterator]();try{do if({done:r,value:f}=Number.isNaN(h-S)?t.next():t.next(h-S),!r&&f.byteLength>0&&(_.push(f),S+=f.byteLength),r||h<=S)do({cmd:m,size:h}=yield e());while(h<S);while(!r)}catch(n){(o=!0)&&typeof t.throw=="function"&&t.throw(n)}finally{o===!1&&typeof t.return=="function"&&t.return(null)}return null}function $_(l){return rt(this,arguments,function*(){let o,_=!1,f=[],m,h,S,e=0;function t(){return h==="peek"?it(f,S)[0]:([m,f,e]=it(f,S),m)}({cmd:h,size:S}=(yield yield ae(null))||{cmd:"read",size:0});let n=Na(l)[Symbol.asyncIterator]();try{do if({done:o,value:m}=Number.isNaN(S-e)?yield ae(n.next()):yield ae(n.next(S-e)),!o&&m.byteLength>0&&(f.push(m),e+=m.byteLength),o||S<=e)do({cmd:h,size:S}=yield yield ae(t()));while(S<e);while(!o)}catch(a){(_=!0)&&typeof n.throw=="function"&&(yield ae(n.throw(a)))}finally{_===!1&&typeof n.return=="function"&&(yield ae(n.return(new Uint8Array(0))))}return yield ae(null)})}function q_(l){return rt(this,arguments,function*(){let o=!1,_=!1,f=[],m,h,S,e=0;function t(){return h==="peek"?it(f,S)[0]:([m,f,e]=it(f,S),m)}({cmd:h,size:S}=(yield yield ae(null))||{cmd:"read",size:0});let n=new Ba(l);try{do if({done:o,value:m}=Number.isNaN(S-e)?yield ae(n.read()):yield ae(n.read(S-e)),!o&&m.byteLength>0&&(f.push(Q(m)),e+=m.byteLength),o||S<=e)do({cmd:h,size:S}=yield yield ae(t()));while(S<e);while(!o)}catch(a){(_=!0)&&(yield ae(n.cancel(a)))}finally{_===!1?yield ae(n.cancel()):l.locked&&n.releaseLock()}return yield ae(null)})}var Ba=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 H(this,void 0,void 0,function*(){let{reader:o,source:_}=this;o&&(yield o.cancel(r).catch(()=>{})),_&&_.locked&&this.releaseLock()})}read(r){return H(this,void 0,void 0,function*(){if(r===0)return{done:this.reader==null,value:new Uint8Array(0)};let o=yield this.reader.read();return!o.done&&(o.value=Q(o)),o})}},ka=(l,r)=>{let o=f=>_([r,f]),_;return[r,o,new Promise(f=>(_=f)&&l.once(r,o))]};function X_(l){return rt(this,arguments,function*(){let o=[],_="error",f=!1,m=null,h,S,e=0,t=[],n;function a(){return h==="peek"?it(t,S)[0]:([n,t,e]=it(t,S),n)}if({cmd:h,size:S}=(yield yield ae(null))||{cmd:"read",size:0},l.isTTY)return yield yield ae(new Uint8Array(0)),yield ae(null);try{o[0]=ka(l,"end"),o[1]=ka(l,"error");do{if(o[2]=ka(l,"readable"),[_,m]=yield ae(Promise.race(o.map(u=>u[2]))),_==="error")break;if((f=_==="end")||(Number.isFinite(S-e)?(n=Q(l.read(S-e)),n.byteLength<S-e&&(n=Q(l.read()))):n=Q(l.read()),n.byteLength>0&&(t.push(n),e+=n.byteLength)),f||S<=e)do({cmd:h,size:S}=yield yield ae(a()));while(S<e)}while(!f)}finally{yield ae(c(o,_==="error"?m:null))}return yield ae(null);function c(u,d){return n=t=null,new Promise((p,g)=>{for(let[y,b]of u)l.off(y,b);try{let y=l.destroy;y&&y.call(l,d),d=void 0}catch(y){d=y||d}finally{d!=null?g(d):p()}})}})}var ve;(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"})(ve||(ve={}));var Ee;(function(l){l[l.Sparse=0]="Sparse",l[l.Dense=1]="Dense"})(Ee||(Ee={}));var we;(function(l){l[l.HALF=0]="HALF",l[l.SINGLE=1]="SINGLE",l[l.DOUBLE=2]="DOUBLE"})(we||(we={}));var Pe;(function(l){l[l.DAY=0]="DAY",l[l.MILLISECOND=1]="MILLISECOND"})(Pe||(Pe={}));var z;(function(l){l[l.SECOND=0]="SECOND",l[l.MILLISECOND=1]="MILLISECOND",l[l.MICROSECOND=2]="MICROSECOND",l[l.NANOSECOND=3]="NANOSECOND"})(z||(z={}));var Oe;(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"})(Oe||(Oe={}));var Ht=new Int32Array(2),qn=new Float32Array(Ht.buffer),Xn=new Float64Array(Ht.buffer),li=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1;var Hi;(function(l){l[l.UTF8_BYTES=1]="UTF8_BYTES",l[l.UTF16_STRING=2]="UTF16_STRING"})(Hi||(Hi={}));var nt=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 Ht[0]=this.readInt32(r),qn[0]}readFloat64(r){return Ht[li?0:1]=this.readInt32(r),Ht[li?1:0]=this.readInt32(r+4),Xn[0]}writeInt8(r,o){this.bytes_[r]=o}writeUint8(r,o){this.bytes_[r]=o}writeInt16(r,o){this.bytes_[r]=o,this.bytes_[r+1]=o>>8}writeUint16(r,o){this.bytes_[r]=o,this.bytes_[r+1]=o>>8}writeInt32(r,o){this.bytes_[r]=o,this.bytes_[r+1]=o>>8,this.bytes_[r+2]=o>>16,this.bytes_[r+3]=o>>24}writeUint32(r,o){this.bytes_[r]=o,this.bytes_[r+1]=o>>8,this.bytes_[r+2]=o>>16,this.bytes_[r+3]=o>>24}writeInt64(r,o){this.writeInt32(r,Number(BigInt.asIntN(32,o))),this.writeInt32(r+4,Number(BigInt.asIntN(32,o>>BigInt(32))))}writeUint64(r,o){this.writeUint32(r,Number(BigInt.asUintN(32,o))),this.writeUint32(r+4,Number(BigInt.asUintN(32,o>>BigInt(32))))}writeFloat32(r,o){qn[0]=o,this.writeInt32(r,Ht[0])}writeFloat64(r,o){Xn[0]=o,this.writeInt32(r,Ht[li?0:1]),this.writeInt32(r+4,Ht[li?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 o=0;o<4;o++)r+=String.fromCharCode(this.readInt8(this.position_+4+o));return r}__offset(r,o){let _=r-this.readInt32(r);return o<this.readInt16(_)?this.readInt16(_+o):0}__union(r,o){return r.bb_pos=o+this.readInt32(o),r.bb=this,r}__string(r,o){r+=this.readInt32(r);let _=this.readInt32(r);r+=4;let f=this.bytes_.subarray(r,r+_);return o===Hi.UTF8_BYTES?f:this.text_decoder_.decode(f)}__union_with_string(r,o){return typeof r=="string"?this.__string(o):this.__union(r,o)}__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 o=0;o<4;o++)if(r.charCodeAt(o)!=this.readInt8(this.position()+4+o))return!1;return!0}createScalarList(r,o){let _=[];for(let f=0;f<o;++f){let m=r(f);m!==null&&_.push(m)}return _}createObjList(r,o){let _=[];for(let f=0;f<o;++f){let m=r(f);m!==null&&_.push(m.unpack())}return _}};var Ur=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 o;r?o=r:o=1024,this.bb=nt.allocate(o),this.space=o}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,o){r>this.minalign&&(this.minalign=r);let _=~(this.bb.capacity()-this.space+o)+1&r-1;for(;this.space<_+r+o;){let f=this.bb.capacity();this.bb=l.growByteBuffer(this.bb),this.space+=this.bb.capacity()-f}this.pad(_)}pad(r){for(let o=0;o<r;o++)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,o,_){(this.force_defaults||o!=_)&&(this.addInt8(o),this.slot(r))}addFieldInt16(r,o,_){(this.force_defaults||o!=_)&&(this.addInt16(o),this.slot(r))}addFieldInt32(r,o,_){(this.force_defaults||o!=_)&&(this.addInt32(o),this.slot(r))}addFieldInt64(r,o,_){(this.force_defaults||o!==_)&&(this.addInt64(o),this.slot(r))}addFieldFloat32(r,o,_){(this.force_defaults||o!=_)&&(this.addFloat32(o),this.slot(r))}addFieldFloat64(r,o,_){(this.force_defaults||o!=_)&&(this.addFloat64(o),this.slot(r))}addFieldOffset(r,o,_){(this.force_defaults||o!=_)&&(this.addOffset(o),this.slot(r))}addFieldStruct(r,o,_){o!=_&&(this.nested(o),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 o=r.capacity();if(o&3221225472)throw new Error("FlatBuffers: cannot grow buffer beyond 2 gigabytes.");let _=o<<1,f=nt.allocate(_);return f.setPosition(_-o),f.bytes().set(r.bytes(),_-o),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 o=0;o<r;o++)this.vtable[o]=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(),o=this.vtable_in_use-1;for(;o>=0&&this.vtable[o]==0;o--);let _=o+1;for(;o>=0;o--)this.addInt16(this.vtable[o]!=0?r-this.vtable[o]:0);let f=2;this.addInt16(r-this.object_start);let m=(_+f)*2;this.addInt16(m);let h=0,S=this.space;e:for(o=0;o<this.vtables.length;o++){let e=this.bb.capacity()-this.vtables[o];if(m==this.bb.readInt16(e)){for(let t=2;t<m;t+=2)if(this.bb.readInt16(S+t)!=this.bb.readInt16(e+t))continue e;h=this.vtables[o];break}}return h?(this.space=this.bb.capacity()-r,this.bb.writeInt32(this.space,h-r)):(this.vtables.push(this.offset()),this.bb.writeInt32(this.bb.capacity()-r,this.offset()-r)),this.isNested=!1,r}finish(r,o,_){let f=_?4:0;if(o){let m=o;if(this.prep(this.minalign,8+f),m.length!=4)throw new TypeError("FlatBuffers: file identifier must be length "+4);for(let h=3;h>=0;h--)this.writeInt8(m.charCodeAt(h))}this.prep(this.minalign,4+f),this.addOffset(r),f&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(r,o){this.finish(r,o,!0)}requiredField(r,o){let _=this.bb.capacity()-r,f=_-this.bb.readInt32(_);if(!(o<this.bb.readInt16(f)&&this.bb.readInt16(f+o)!=0))throw new TypeError("FlatBuffers: field "+o+" must be set")}startVector(r,o,_){this.notNested(),this.vector_num_elems=o,this.prep(4,r*o),this.prep(_,r*o)}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 o=this.createString(r);return this.string_maps.set(r,o),o}createString(r){if(r==null)return 0;let o;return r instanceof Uint8Array?o=r:o=this.text_encoder.encode(r),this.addInt8(0),this.startVector(1,o.length,1),this.bb.setPosition(this.space-=o.length),this.bb.bytes().set(o,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 o=[];for(let _=0;_<r.length;++_){let f=r[_];if(f!==null)o.push(this.createObjectOffset(f));else throw new TypeError("FlatBuffers: Argument for createObjectOffsetList cannot contain null.")}return o}createStructOffsetList(r,o){return o(this,r.length),this.createObjectOffsetList(r.slice().reverse()),this.endVector()}};var Vi;(function(l){l[l.BUFFER=0]="BUFFER"})(Vi||(Vi={}));var Gi;(function(l){l[l.LZ4_FRAME=0]="LZ4_FRAME",l[l.ZSTD=1]="ZSTD"})(Gi||(Gi={}));var Jn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsBodyCompression(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBodyCompression(r,o){return r.setPosition(r.position()+4),(o||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):Gi.LZ4_FRAME}method(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.readInt8(this.bb_pos+r):Vi.BUFFER}static startBodyCompression(r){r.startObject(2)}static addCodec(r,o){r.addFieldInt8(0,o,Gi.LZ4_FRAME)}static addMethod(r,o){r.addFieldInt8(1,o,Vi.BUFFER)}static endBodyCompression(r){return r.endObject()}static createBodyCompression(r,o,_){return l.startBodyCompression(r),l.addCodec(r,o),l.addMethod(r,_),l.endBodyCompression(r)}};var ci=class{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,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,o,_){return r.prep(8,16),r.writeInt64(BigInt(_!=null?_:0)),r.writeInt64(BigInt(o!=null?o:0)),r.offset()}};var _i=class{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,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,o,_){return r.prep(8,16),r.writeInt64(BigInt(_!=null?_:0)),r.writeInt64(BigInt(o!=null?o:0)),r.offset()}};var st=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsRecordBatch(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsRecordBatch(r,o){return r.setPosition(r.position()+4),(o||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,o){let _=this.bb.__offset(this.bb_pos,6);return _?(o||new _i).__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,o){let _=this.bb.__offset(this.bb_pos,8);return _?(o||new ci).__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 o=this.bb.__offset(this.bb_pos,10);return o?(r||new Jn).__init(this.bb.__indirect(this.bb_pos+o),this.bb):null}static startRecordBatch(r){r.startObject(4)}static addLength(r,o){r.addFieldInt64(0,o,BigInt("0"))}static addNodes(r,o){r.addFieldOffset(1,o,0)}static startNodesVector(r,o){r.startVector(16,o,8)}static addBuffers(r,o){r.addFieldOffset(2,o,0)}static startBuffersVector(r,o){r.startVector(16,o,8)}static addCompression(r,o){r.addFieldOffset(3,o,0)}static endRecordBatch(r){return r.endObject()}};var Jt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsDictionaryBatch(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDictionaryBatch(r,o){return r.setPosition(r.position()+4),(o||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 o=this.bb.__offset(this.bb_pos,6);return o?(r||new st).__init(this.bb.__indirect(this.bb_pos+o),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,o){r.addFieldInt64(0,o,BigInt("0"))}static addData(r,o){r.addFieldOffset(1,o,0)}static addIsDelta(r,o){r.addFieldInt8(2,+o,0)}static endDictionaryBatch(r){return r.endObject()}};var Er;(function(l){l[l.Little=0]="Little",l[l.Big=1]="Big"})(Er||(Er={}));var Ui;(function(l){l[l.DenseArray=0]="DenseArray"})(Ui||(Ui={}));var bt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsInt(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsInt(r,o){return r.setPosition(r.position()+4),(o||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,o){r.addFieldInt32(0,o,0)}static addIsSigned(r,o){r.addFieldInt8(1,+o,0)}static endInt(r){return r.endObject()}static createInt(r,o,_){return l.startInt(r),l.addBitWidth(r,o),l.addIsSigned(r,_),l.endInt(r)}};var Vt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsDictionaryEncoding(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDictionaryEncoding(r,o){return r.setPosition(r.position()+4),(o||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 o=this.bb.__offset(this.bb_pos,6);return o?(r||new bt).__init(this.bb.__indirect(this.bb_pos+o),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):Ui.DenseArray}static startDictionaryEncoding(r){r.startObject(4)}static addId(r,o){r.addFieldInt64(0,o,BigInt("0"))}static addIndexType(r,o){r.addFieldOffset(1,o,0)}static addIsOrdered(r,o){r.addFieldInt8(2,+o,0)}static addDictionaryKind(r,o){r.addFieldInt16(3,o,Ui.DenseArray)}static endDictionaryEncoding(r){return r.endObject()}};var He=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsKeyValue(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsKeyValue(r,o){return r.setPosition(r.position()+4),(o||new l).__init(r.readInt32(r.position())+r.position(),r)}key(r){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.__string(this.bb_pos+o,r):null}value(r){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.__string(this.bb_pos+o,r):null}static startKeyValue(r){r.startObject(2)}static addKey(r,o){r.addFieldOffset(0,o,0)}static addValue(r,o){r.addFieldOffset(1,o,0)}static endKeyValue(r){return r.endObject()}static createKeyValue(r,o,_){return l.startKeyValue(r),l.addKey(r,o),l.addValue(r,_),l.endKeyValue(r)}};var Wi=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsBinary(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBinary(r,o){return r.setPosition(r.position()+4),(o||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 zi=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsBool(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBool(r,o){return r.setPosition(r.position()+4),(o||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 Ar=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsDate(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDate(r,o){return r.setPosition(r.position()+4),(o||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):Pe.MILLISECOND}static startDate(r){r.startObject(1)}static addUnit(r,o){r.addFieldInt16(0,o,Pe.MILLISECOND)}static endDate(r){return r.endObject()}static createDate(r,o){return l.startDate(r),l.addUnit(r,o),l.endDate(r)}};var Gt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsDecimal(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDecimal(r,o){return r.setPosition(r.position()+4),(o||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,o){r.addFieldInt32(0,o,0)}static addScale(r,o){r.addFieldInt32(1,o,0)}static addBitWidth(r,o){r.addFieldInt32(2,o,128)}static endDecimal(r){return r.endObject()}static createDecimal(r,o,_,f){return l.startDecimal(r),l.addPrecision(r,o),l.addScale(r,_),l.addBitWidth(r,f),l.endDecimal(r)}};var Tr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsDuration(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDuration(r,o){return r.setPosition(r.position()+4),(o||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):z.MILLISECOND}static startDuration(r){r.startObject(1)}static addUnit(r,o){r.addFieldInt16(0,o,z.MILLISECOND)}static endDuration(r){return r.endObject()}static createDuration(r,o){return l.startDuration(r),l.addUnit(r,o),l.endDuration(r)}};var Lr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsFixedSizeBinary(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFixedSizeBinary(r,o){return r.setPosition(r.position()+4),(o||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,o){r.addFieldInt32(0,o,0)}static endFixedSizeBinary(r){return r.endObject()}static createFixedSizeBinary(r,o){return l.startFixedSizeBinary(r),l.addByteWidth(r,o),l.endFixedSizeBinary(r)}};var Mr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsFixedSizeList(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFixedSizeList(r,o){return r.setPosition(r.position()+4),(o||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,o){r.addFieldInt32(0,o,0)}static endFixedSizeList(r){return r.endObject()}static createFixedSizeList(r,o){return l.startFixedSizeList(r),l.addListSize(r,o),l.endFixedSizeList(r)}};var Dr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsFloatingPoint(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFloatingPoint(r,o){return r.setPosition(r.position()+4),(o||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):we.HALF}static startFloatingPoint(r){r.startObject(1)}static addPrecision(r,o){r.addFieldInt16(0,o,we.HALF)}static endFloatingPoint(r){return r.endObject()}static createFloatingPoint(r,o){return l.startFloatingPoint(r),l.addPrecision(r,o),l.endFloatingPoint(r)}};var Fr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsInterval(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsInterval(r,o){return r.setPosition(r.position()+4),(o||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):Oe.YEAR_MONTH}static startInterval(r){r.startObject(1)}static addUnit(r,o){r.addFieldInt16(0,o,Oe.YEAR_MONTH)}static endInterval(r){return r.endObject()}static createInterval(r,o){return l.startInterval(r),l.addUnit(r,o),l.endInterval(r)}};var ji=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsLargeBinary(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsLargeBinary(r,o){return r.setPosition(r.position()+4),(o||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 $i=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsLargeUtf8(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsLargeUtf8(r,o){return r.setPosition(r.position()+4),(o||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 qi=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsList(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsList(r,o){return r.setPosition(r.position()+4),(o||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 Ir=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsMap(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsMap(r,o){return r.setPosition(r.position()+4),(o||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,o){r.addFieldInt8(0,+o,0)}static endMap(r){return r.endObject()}static createMap(r,o){return l.startMap(r),l.addKeysSorted(r,o),l.endMap(r)}};var Xi=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsNull(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsNull(r,o){return r.setPosition(r.position()+4),(o||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 Ki=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsStruct_(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsStruct_(r,o){return r.setPosition(r.position()+4),(o||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 Yt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsTime(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsTime(r,o){return r.setPosition(r.position()+4),(o||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):z.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,o){r.addFieldInt16(0,o,z.MILLISECOND)}static addBitWidth(r,o){r.addFieldInt32(1,o,32)}static endTime(r){return r.endObject()}static createTime(r,o,_){return l.startTime(r),l.addUnit(r,o),l.addBitWidth(r,_),l.endTime(r)}};var Qt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsTimestamp(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsTimestamp(r,o){return r.setPosition(r.position()+4),(o||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):z.SECOND}timezone(r){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.__string(this.bb_pos+o,r):null}static startTimestamp(r){r.startObject(2)}static addUnit(r,o){r.addFieldInt16(0,o,z.SECOND)}static addTimezone(r,o){r.addFieldOffset(1,o,0)}static endTimestamp(r){return r.endObject()}static createTimestamp(r,o,_){return l.startTimestamp(r),l.addUnit(r,o),l.addTimezone(r,_),l.endTimestamp(r)}};var wt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsUnion(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsUnion(r,o){return r.setPosition(r.position()+4),(o||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):Ee.Sparse}typeIds(r){let o=this.bb.__offset(this.bb_pos,6);return o?this.bb.readInt32(this.bb.__vector(this.bb_pos+o)+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,o){r.addFieldInt16(0,o,Ee.Sparse)}static addTypeIds(r,o){r.addFieldOffset(1,o,0)}static createTypeIdsVector(r,o){r.startVector(4,o.length,4);for(let _=o.length-1;_>=0;_--)r.addInt32(o[_]);return r.endVector()}static startTypeIdsVector(r,o){r.startVector(4,o,4)}static endUnion(r){return r.endObject()}static createUnion(r,o,_){return l.startUnion(r),l.addMode(r,o),l.addTypeIds(r,_),l.endUnion(r)}};var Ji=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsUtf8(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsUtf8(r,o){return r.setPosition(r.position()+4),(o||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,o){return this.bb_pos=r,this.bb=o,this}static getRootAsField(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsField(r,o){return r.setPosition(r.position()+4),(o||new l).__init(r.readInt32(r.position())+r.position(),r)}name(r){let o=this.bb.__offset(this.bb_pos,4);return o?this.bb.__string(this.bb_pos+o,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 o=this.bb.__offset(this.bb_pos,10);return o?this.bb.__union(r,this.bb_pos+o):null}dictionary(r){let o=this.bb.__offset(this.bb_pos,12);return o?(r||new Vt).__init(this.bb.__indirect(this.bb_pos+o),this.bb):null}children(r,o){let _=this.bb.__offset(this.bb_pos,14);return _?(o||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,o){let _=this.bb.__offset(this.bb_pos,16);return _?(o||new He).__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,o){r.addFieldOffset(0,o,0)}static addNullable(r,o){r.addFieldInt8(1,+o,0)}static addTypeType(r,o){r.addFieldInt8(2,o,Ae.NONE)}static addType(r,o){r.addFieldOffset(3,o,0)}static addDictionary(r,o){r.addFieldOffset(4,o,0)}static addChildren(r,o){r.addFieldOffset(5,o,0)}static createChildrenVector(r,o){r.startVector(4,o.length,4);for(let _=o.length-1;_>=0;_--)r.addOffset(o[_]);return r.endVector()}static startChildrenVector(r,o){r.startVector(4,o,4)}static addCustomMetadata(r,o){r.addFieldOffset(6,o,0)}static createCustomMetadataVector(r,o){r.startVector(4,o.length,4);for(let _=o.length-1;_>=0;_--)r.addOffset(o[_]);return r.endVector()}static startCustomMetadataVector(r,o){r.startVector(4,o,4)}static endField(r){return r.endObject()}};var Je=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,o){return this.bb_pos=r,this.bb=o,this}static getRootAsSchema(r,o){return(o||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsSchema(r,o){return r.setPosition(r.position()+4),(o||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):Er.Little}fields(r,o){let _=this.bb.__offset(this.bb_pos,6);return _?(o||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,o){let _=this.bb.__offset(this.bb_pos,8);return _?(o||new He).__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 o=this.bb.__offset(this.bb_pos,10);return o?this.bb.readInt64(this.bb.__vector(this.bb_pos+o)+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,o){r.addFieldInt16(0,o,Er.Little)}static addFields(r,o){r.addFieldOffset(1,o,0)}static createFieldsVector(r,o){r.startVector(4,o.length,4);for(let _=o.length-1;_>=0;_--)r.addOffset(o[_]);return r.endVector()}static startFieldsVector(r,o){r.startVector(4,o,4)}static addCustomMetadata(r,o){r.addFieldOffset(2,o,0)}static createCustomMetadataVector(r,o){r.startVector(4,o.length,4);for(let _=o.length-1;_>=0;_--)r.addOffset(o[_]);return r.endVector()}static startCustomMetadataVector(r,o){r.startVector(4,o,4)}static addFeatures(r,o){r.addFieldOffset(3,o,0)}static createFeaturesVector(r,o){r.startVector(8,o.length,8);for(let _=o.length-1;_>=0;_--)r.addInt64(o[_]);return r.endVector()}static startFeaturesVector(r,o){r.startVector(8,o,8)}static endSchema(r){return r.endObject()}static finishSchemaBuffer(r,o){r.finish(o)}static finishSizePrefixedSchemaBuffer(r,o){r.finish(o,void 0,!0)}static createSchema(r,o,_,f,m){return l.startSchema(r),l.addEndianness(r,o),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 io={};Vr(io,{clampRange:()=>en,createElementComparator:()=>Cr,wrapIndex:()=>Wr});var Oa={};Vr(Oa,{valueToString:()=>Et});function Et(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=>Et(r))}]`:`[${l}]`:ArrayBuffer.isView(l)?`[${l}]`:JSON.stringify(l,(r,o)=>typeof o=="bigint"?`${o}`:o)}var Ua={};Vr(Ua,{BN:()=>Qi,bigNumToBigInt:()=>tl,bigNumToNumber:()=>Ga,bigNumToString:()=>fi,isArrowBigNumSymbol:()=>el});function pe(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 Ha(l,r){return pe(l/r)+pe(l%r)/pe(r)}var el=Symbol.for("isArrowBigNum");function At(l,...r){return r.length===0?Object.setPrototypeOf(oe(this.TypedArray,l),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(l,...r),this.constructor.prototype)}At.prototype[el]=!0;At.prototype.toJSON=function(){return`"${fi(this)}"`};At.prototype.valueOf=function(l){return Ga(this,l)};At.prototype.toString=function(){return fi(this)};At.prototype[Symbol.toPrimitive]=function(l="default"){switch(l){case"number":return Ga(this);case"string":return fi(this);case"default":return tl(this)}return fi(this)};function ui(...l){return At.apply(this,l)}function di(...l){return At.apply(this,l)}function Yi(...l){return At.apply(this,l)}Object.setPrototypeOf(ui.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(di.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Yi.prototype,Object.create(Uint32Array.prototype));Object.assign(ui.prototype,At.prototype,{constructor:ui,signed:!0,TypedArray:Int32Array,BigIntArray:BigInt64Array});Object.assign(di.prototype,At.prototype,{constructor:di,signed:!1,TypedArray:Uint32Array,BigIntArray:BigUint64Array});Object.assign(Yi.prototype,At.prototype,{constructor:Yi,signed:!0,TypedArray:Uint32Array,BigIntArray:BigUint64Array});var K_=BigInt(4294967296)*BigInt(4294967296),J_=K_-BigInt(1);function Ga(l,r){let{buffer:o,byteOffset:_,byteLength:f,signed:m}=l,h=new BigUint64Array(o,_,f/8),S=m&&h.at(-1)&BigInt(1)<<BigInt(63),e=BigInt(0),t=0;if(S){for(let n of h)e|=(n^J_)*(BigInt(1)<<BigInt(64*t++));e*=BigInt(-1),e-=BigInt(1)}else for(let n of h)e|=n*(BigInt(1)<<BigInt(64*t++));if(typeof r=="number"){let n=BigInt(Math.pow(10,r)),a=e/n,c=e%n;return pe(a)+pe(c)/pe(n)}return pe(e)}function fi(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 h=r[m],S=~h+_;r[m]=S,_&=h===0?1:0}return`-${Va(r)}`}function tl(l){return l.byteLength===8?new l.BigIntArray(l.buffer,l.byteOffset,1)[0]:fi(l)}function Va(l){let r="",o=new Uint32Array(2),_=new Uint16Array(l.buffer,l.byteOffset,l.byteLength/2),f=new Uint32Array((_=new Uint16Array(_).reverse()).buffer),m=-1,h=_.length-1;do{for(o[0]=_[m=0];m<h;)_[m++]=o[1]=o[0]/10,o[0]=(o[0]-o[1]*10<<16)+_[m];_[m]=o[1]=o[0]/10,o[0]=o[0]-o[1]*10,r=`${o[0]}${r}`}while(f[0]||f[1]||f[2]||f[3]);return r!=null?r:"0"}var Qi=class l{static new(r,o){switch(o){case!0:return new ui(r);case!1:return new di(r)}switch(r.constructor){case Int8Array:case Int16Array:case Int32Array:case BigInt64Array:return new ui(r)}return r.byteLength===16?new Yi(r):new di(r)}static signed(r){return new ui(r)}static unsigned(r){return new di(r)}static decimal(r){return new Yi(r)}constructor(r,o){return l.new(r,o)}};var rl,il,nl,sl,al,ol,ll,cl,_l,ul,dl,fl,pl,ml,gl,hl,vl,yl,Sl,bl,wl,El,G=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===Ee.Dense}static isSparseUnion(r){return l.isUnion(r)&&r.mode===Ee.Sparse}constructor(r){this.typeId=r}};rl=Symbol.toStringTag;G[rl]=(l=>(l.children=null,l.ArrayType=Array,l.OffsetArrayType=Int32Array,l[Symbol.toStringTag]="DataType"))(G.prototype);var qe=class extends G{constructor(){super(D.Null)}toString(){return"Null"}};il=Symbol.toStringTag;qe[il]=(l=>l[Symbol.toStringTag]="Null")(qe.prototype);var Ve=class extends G{constructor(r,o){super(D.Int),this.isSigned=r,this.bitWidth=o}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}`}};nl=Symbol.toStringTag;Ve[nl]=(l=>(l.isSigned=null,l.bitWidth=null,l[Symbol.toStringTag]="Int"))(Ve.prototype);var Yn=class extends Ve{constructor(){super(!0,8)}get ArrayType(){return Int8Array}},Qn=class extends Ve{constructor(){super(!0,16)}get ArrayType(){return Int16Array}},Ut=class extends Ve{constructor(){super(!0,32)}get ArrayType(){return Int32Array}},Zn=class extends Ve{constructor(){super(!0,64)}get ArrayType(){return BigInt64Array}},es=class extends Ve{constructor(){super(!1,8)}get ArrayType(){return Uint8Array}},ts=class extends Ve{constructor(){super(!1,16)}get ArrayType(){return Uint16Array}},rs=class extends Ve{constructor(){super(!1,32)}get ArrayType(){return Uint32Array}},is=class extends Ve{constructor(){super(!1,64)}get ArrayType(){return BigUint64Array}};Object.defineProperty(Yn.prototype,"ArrayType",{value:Int8Array});Object.defineProperty(Qn.prototype,"ArrayType",{value:Int16Array});Object.defineProperty(Ut.prototype,"ArrayType",{value:Int32Array});Object.defineProperty(Zn.prototype,"ArrayType",{value:BigInt64Array});Object.defineProperty(es.prototype,"ArrayType",{value:Uint8Array});Object.defineProperty(ts.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(rs.prototype,"ArrayType",{value:Uint32Array});Object.defineProperty(is.prototype,"ArrayType",{value:BigUint64Array});var dt=class extends G{constructor(r){super(D.Float),this.precision=r}get ArrayType(){switch(this.precision){case we.HALF:return Uint16Array;case we.SINGLE:return Float32Array;case we.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}};sl=Symbol.toStringTag;dt[sl]=(l=>(l.precision=null,l[Symbol.toStringTag]="Float"))(dt.prototype);var ns=class extends dt{constructor(){super(we.HALF)}},ss=class extends dt{constructor(){super(we.SINGLE)}},as=class extends dt{constructor(){super(we.DOUBLE)}};Object.defineProperty(ns.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(ss.prototype,"ArrayType",{value:Float32Array});Object.defineProperty(as.prototype,"ArrayType",{value:Float64Array});var Zt=class extends G{constructor(){super(D.Binary)}toString(){return"Binary"}};al=Symbol.toStringTag;Zt[al]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Binary"))(Zt.prototype);var er=class extends G{constructor(){super(D.LargeBinary)}toString(){return"LargeBinary"}};ol=Symbol.toStringTag;er[ol]=(l=>(l.ArrayType=Uint8Array,l.OffsetArrayType=BigInt64Array,l[Symbol.toStringTag]="LargeBinary"))(er.prototype);var tr=class extends G{constructor(){super(D.Utf8)}toString(){return"Utf8"}};ll=Symbol.toStringTag;tr[ll]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Utf8"))(tr.prototype);var rr=class extends G{constructor(){super(D.LargeUtf8)}toString(){return"LargeUtf8"}};cl=Symbol.toStringTag;rr[cl]=(l=>(l.ArrayType=Uint8Array,l.OffsetArrayType=BigInt64Array,l[Symbol.toStringTag]="LargeUtf8"))(rr.prototype);var ir=class extends G{constructor(){super(D.Bool)}toString(){return"Bool"}};_l=Symbol.toStringTag;ir[_l]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Bool"))(ir.prototype);var nr=class extends G{constructor(r,o,_=128){super(D.Decimal),this.scale=r,this.precision=o,this.bitWidth=_}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};ul=Symbol.toStringTag;nr[ul]=(l=>(l.scale=null,l.precision=null,l.ArrayType=Uint32Array,l[Symbol.toStringTag]="Decimal"))(nr.prototype);var sr=class extends G{constructor(r){super(D.Date),this.unit=r}toString(){return`Date${(this.unit+1)*32}<${Pe[this.unit]}>`}get ArrayType(){return this.unit===Pe.DAY?Int32Array:BigInt64Array}};dl=Symbol.toStringTag;sr[dl]=(l=>(l.unit=null,l[Symbol.toStringTag]="Date"))(sr.prototype);var ar=class extends G{constructor(r,o){super(D.Time),this.unit=r,this.bitWidth=o}toString(){return`Time${this.bitWidth}<${z[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return BigInt64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}};fl=Symbol.toStringTag;ar[fl]=(l=>(l.unit=null,l.bitWidth=null,l[Symbol.toStringTag]="Time"))(ar.prototype);var or=class extends G{constructor(r,o){super(D.Timestamp),this.unit=r,this.timezone=o}toString(){return`Timestamp<${z[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}};pl=Symbol.toStringTag;or[pl]=(l=>(l.unit=null,l.timezone=null,l.ArrayType=BigInt64Array,l[Symbol.toStringTag]="Timestamp"))(or.prototype);var lr=class extends G{constructor(r){super(D.Interval),this.unit=r}toString(){return`Interval<${Oe[this.unit]}>`}};ml=Symbol.toStringTag;lr[ml]=(l=>(l.unit=null,l.ArrayType=Int32Array,l[Symbol.toStringTag]="Interval"))(lr.prototype);var cr=class extends G{constructor(r){super(D.Duration),this.unit=r}toString(){return`Duration<${z[this.unit]}>`}};gl=Symbol.toStringTag;cr[gl]=(l=>(l.unit=null,l.ArrayType=BigInt64Array,l[Symbol.toStringTag]="Duration"))(cr.prototype);var Tt=class extends G{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}};hl=Symbol.toStringTag;Tt[hl]=(l=>(l.children=null,l[Symbol.toStringTag]="List"))(Tt.prototype);var Le=class extends G{constructor(r){super(D.Struct),this.children=r}toString(){return`Struct<{${this.children.map(r=>`${r.name}:${r.type}`).join(", ")}}>`}};vl=Symbol.toStringTag;Le[vl]=(l=>(l.children=null,l[Symbol.toStringTag]="Struct"))(Le.prototype);var Lt=class extends G{constructor(r,o,_){super(D.Union),this.mode=r,this.children=_,this.typeIds=o=Int32Array.from(o),this.typeIdToChildIndex=o.reduce((f,m,h)=>(f[m]=h)&&f||f,Object.create(null))}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(r=>`${r.type}`).join(" | ")}>`}};yl=Symbol.toStringTag;Lt[yl]=(l=>(l.mode=null,l.typeIds=null,l.children=null,l.typeIdToChildIndex=null,l.ArrayType=Int8Array,l[Symbol.toStringTag]="Union"))(Lt.prototype);var _r=class extends G{constructor(r){super(D.FixedSizeBinary),this.byteWidth=r}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};Sl=Symbol.toStringTag;_r[Sl]=(l=>(l.byteWidth=null,l.ArrayType=Uint8Array,l[Symbol.toStringTag]="FixedSizeBinary"))(_r.prototype);var Mt=class extends G{constructor(r,o){super(D.FixedSizeList),this.listSize=r,this.children=[o]}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}>`}};bl=Symbol.toStringTag;Mt[bl]=(l=>(l.children=null,l.listSize=null,l[Symbol.toStringTag]="FixedSizeList"))(Mt.prototype);var Dt=class extends G{constructor(r,o=!1){var _,f,m;if(super(D.Map),this.children=[r],this.keysSorted=o,r&&(r.name="entries",!((_=r==null?void 0:r.type)===null||_===void 0)&&_.children)){let h=(f=r==null?void 0:r.type)===null||f===void 0?void 0:f.children[0];h&&(h.name="key");let S=(m=r==null?void 0:r.type)===null||m===void 0?void 0:m.children[1];S&&(S.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(", ")}}>`}};wl=Symbol.toStringTag;Dt[wl]=(l=>(l.children=null,l.keysSorted=null,l[Symbol.toStringTag]="Map_"))(Dt.prototype);var Y_=(l=>()=>++l)(-1),at=class extends G{constructor(r,o,_,f){super(D.Dictionary),this.indices=o,this.dictionary=r,this.isOrdered=f||!1,this.id=_==null?Y_():pe(_)}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}};El=Symbol.toStringTag;at[El]=(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 $=class{visitMany(r,...o){return r.map((_,f)=>this.visit(_,...o.map(m=>m[f])))}visit(...r){return this.getVisitFn(r[0],!1).apply(this,r)}getVisitFn(r,o=!0){return Q_(this,r,o)}getVisitFnByTypeId(r,o=!0){return pi(this,r,o)}visitNull(r,...o){return null}visitBool(r,...o){return null}visitInt(r,...o){return null}visitFloat(r,...o){return null}visitUtf8(r,...o){return null}visitLargeUtf8(r,...o){return null}visitBinary(r,...o){return null}visitLargeBinary(r,...o){return null}visitFixedSizeBinary(r,...o){return null}visitDate(r,...o){return null}visitTimestamp(r,...o){return null}visitTime(r,...o){return null}visitDecimal(r,...o){return null}visitList(r,...o){return null}visitStruct(r,...o){return null}visitUnion(r,...o){return null}visitDictionary(r,...o){return null}visitInterval(r,...o){return null}visitDuration(r,...o){return null}visitFixedSizeList(r,...o){return null}visitMap(r,...o){return null}};function Q_(l,r,o=!0){return typeof r=="number"?pi(l,r,o):typeof r=="string"&&r in D?pi(l,D[r],o):r&&r instanceof G?pi(l,Al(r),o):r!=null&&r.type&&r.type instanceof G?pi(l,Al(r.type),o):pi(l,D.NONE,o)}function pi(l,r,o=!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(!o)return()=>null;throw new Error(`Unrecognized type '${D[r]}'`)}function Al(l){switch(l.typeId){case D.Null:return D.Null;case D.Int:{let{bitWidth:r,isSigned:o}=l;switch(r){case 8:return o?D.Int8:D.Uint8;case 16:return o?D.Int16:D.Uint16;case 32:return o?D.Int32:D.Uint32;case 64:return o?D.Int64:D.Uint64}return D.Int}case D.Float:switch(l.precision){case we.HALF:return D.Float16;case we.SINGLE:return D.Float32;case we.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 z.SECOND:return D.TimeSecond;case z.MILLISECOND:return D.TimeMillisecond;case z.MICROSECOND:return D.TimeMicrosecond;case z.NANOSECOND:return D.TimeNanosecond}return D.Time;case D.Timestamp:switch(l.unit){case z.SECOND:return D.TimestampSecond;case z.MILLISECOND:return D.TimestampMillisecond;case z.MICROSECOND:return D.TimestampMicrosecond;case z.NANOSECOND:return D.TimestampNanosecond}return D.Timestamp;case D.Date:switch(l.unit){case Pe.DAY:return D.DateDay;case Pe.MILLISECOND:return D.DateMillisecond}return D.Date;case D.Interval:switch(l.unit){case Oe.DAY_TIME:return D.IntervalDayTime;case Oe.YEAR_MONTH:return D.IntervalYearMonth}return D.Interval;case D.Duration:switch(l.unit){case z.SECOND:return D.DurationSecond;case z.MILLISECOND:return D.DurationMillisecond;case z.MICROSECOND:return D.DurationMicrosecond;case z.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 Ee.Dense:return D.DenseUnion;case Ee.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]}'`)}$.prototype.visitInt8=null;$.prototype.visitInt16=null;$.prototype.visitInt32=null;$.prototype.visitInt64=null;$.prototype.visitUint8=null;$.prototype.visitUint16=null;$.prototype.visitUint32=null;$.prototype.visitUint64=null;$.prototype.visitFloat16=null;$.prototype.visitFloat32=null;$.prototype.visitFloat64=null;$.prototype.visitDateDay=null;$.prototype.visitDateMillisecond=null;$.prototype.visitTimestampSecond=null;$.prototype.visitTimestampMillisecond=null;$.prototype.visitTimestampMicrosecond=null;$.prototype.visitTimestampNanosecond=null;$.prototype.visitTimeSecond=null;$.prototype.visitTimeMillisecond=null;$.prototype.visitTimeMicrosecond=null;$.prototype.visitTimeNanosecond=null;$.prototype.visitDenseUnion=null;$.prototype.visitSparseUnion=null;$.prototype.visitIntervalDayTime=null;$.prototype.visitIntervalYearMonth=null;$.prototype.visitDuration=null;$.prototype.visitDurationSecond=null;$.prototype.visitDurationMillisecond=null;$.prototype.visitDurationMicrosecond=null;$.prototype.visitDurationNanosecond=null;var Wa={};Vr(Wa,{float64ToUint16:()=>Zi,uint16ToFloat64:()=>os});var Tl=new Float64Array(1),mi=new Uint32Array(Tl.buffer);function os(l){let r=(l&31744)>>10,o=(l&1023)/1024,_=Math.pow(-1,(l&32768)>>15);switch(r){case 31:return _*(o?Number.NaN:1/0);case 0:return _*(o?6103515625e-14*o:0)}return _*Math.pow(2,r-15)*(1+o)}function Zi(l){if(l!==l)return 32256;Tl[0]=l;let r=(mi[1]&2147483648)>>16&65535,o=mi[1]&2146435072,_=0;return o>=1089470464?mi[0]>0?o=31744:(o=(o&2080374784)>>16,_=(mi[1]&1048575)>>10):o<=1056964608?(_=1048576+(mi[1]&1048575),_=1048576+(_<<(o>>20)-998)>>21,o=0):(o=o-1056964608>>10,_=(mi[1]&1048575)+512>>10),r|o|_&65535}var Y=class extends ${};function te(l){return(r,o,_)=>{if(r.setValid(o,_!=null))return l(r,o,_)}}var Z_=(l,r,o)=>{l[r]=Math.floor(o/864e5)},Ll=(l,r,o,_)=>{if(o+1<r.length){let f=pe(r[o]),m=pe(r[o+1]);l.set(_.subarray(0,m-f),f)}},eu=({offset:l,values:r},o,_)=>{let f=l+o;_?r[f>>3]|=1<<f%8:r[f>>3]&=~(1<<f%8)},ur=({values:l},r,o)=>{l[r]=o},za=({values:l},r,o)=>{l[r]=o},Ml=({values:l},r,o)=>{l[r]=Zi(o)},tu=(l,r,o)=>{switch(l.type.precision){case we.HALF:return Ml(l,r,o);case we.SINGLE:case we.DOUBLE:return za(l,r,o)}},ls=({values:l},r,o)=>{Z_(l,r,o.valueOf())},cs=({values:l},r,o)=>{l[r]=BigInt(o)},ja=({stride:l,values:r},o,_)=>{r.set(_.subarray(0,l),l*o)},Dl=({values:l,valueOffsets:r},o,_)=>Ll(l,r,o,_),Fl=({values:l,valueOffsets:r},o,_)=>Ll(l,r,o,Bt(_)),$a=(l,r,o)=>{l.type.unit===Pe.DAY?ls(l,r,o):cs(l,r,o)},_s=({values:l},r,o)=>{l[r]=BigInt(o/1e3)},us=({values:l},r,o)=>{l[r]=BigInt(o)},ds=({values:l},r,o)=>{l[r]=BigInt(o*1e3)},ps=({values:l},r,o)=>{l[r]=BigInt(o*1e6)},qa=(l,r,o)=>{switch(l.type.unit){case z.SECOND:return _s(l,r,o);case z.MILLISECOND:return us(l,r,o);case z.MICROSECOND:return ds(l,r,o);case z.NANOSECOND:return ps(l,r,o)}},ms=({values:l},r,o)=>{l[r]=o},gs=({values:l},r,o)=>{l[r]=o},hs=({values:l},r,o)=>{l[r]=o},vs=({values:l},r,o)=>{l[r]=o},Xa=(l,r,o)=>{switch(l.type.unit){case z.SECOND:return ms(l,r,o);case z.MILLISECOND:return gs(l,r,o);case z.MICROSECOND:return hs(l,r,o);case z.NANOSECOND:return vs(l,r,o)}},Ka=({values:l,stride:r},o,_)=>{l.set(_.subarray(0,r),r*o)},ru=(l,r,o)=>{let _=l.children[0],f=l.valueOffsets,m=Ue.getVisitFn(_);if(Array.isArray(o))for(let h=-1,S=f[r],e=f[r+1];S<e;)m(_,S++,o[++h]);else for(let h=-1,S=f[r],e=f[r+1];S<e;)m(_,S++,o.get(++h))},iu=(l,r,o)=>{let _=l.children[0],{valueOffsets:f}=l,m=Ue.getVisitFn(_),{[r]:h,[r+1]:S}=f,e=o instanceof Map?o.entries():Object.entries(o);for(let t of e)if(m(_,h,t),++h>=S)break},nu=(l,r)=>(o,_,f,m)=>_&&o(_,l,r[m]),su=(l,r)=>(o,_,f,m)=>_&&o(_,l,r.get(m)),au=(l,r)=>(o,_,f,m)=>_&&o(_,l,r.get(f.name)),ou=(l,r)=>(o,_,f,m)=>_&&o(_,l,r[f.name]),lu=(l,r,o)=>{let _=l.type.children.map(m=>Ue.getVisitFn(m.type)),f=o instanceof Map?au(r,o):o instanceof ue?su(r,o):Array.isArray(o)?nu(r,o):ou(r,o);l.type.children.forEach((m,h)=>f(_[h],l.children[h],m,h))},cu=(l,r,o)=>{l.type.mode===Ee.Dense?Il(l,r,o):Pl(l,r,o)},Il=(l,r,o)=>{let _=l.type.typeIdToChildIndex[l.typeIds[r]],f=l.children[_];Ue.visit(f,l.valueOffsets[r],o)},Pl=(l,r,o)=>{let _=l.type.typeIdToChildIndex[l.typeIds[r]],f=l.children[_];Ue.visit(f,r,o)},_u=(l,r,o)=>{var _;(_=l.dictionary)===null||_===void 0||_.set(l.values[r],o)},Ja=(l,r,o)=>{l.type.unit===Oe.DAY_TIME?ys(l,r,o):Ss(l,r,o)},ys=({values:l},r,o)=>{l.set(o.subarray(0,2),2*r)},Ss=({values:l},r,o)=>{l[r]=o[0]*12+o[1]%12},bs=({values:l},r,o)=>{l[r]=o},ws=({values:l},r,o)=>{l[r]=o},Es=({values:l},r,o)=>{l[r]=o},As=({values:l},r,o)=>{l[r]=o},Ya=(l,r,o)=>{switch(l.type.unit){case z.SECOND:return bs(l,r,o);case z.MILLISECOND:return ws(l,r,o);case z.MICROSECOND:return Es(l,r,o);case z.NANOSECOND:return As(l,r,o)}},uu=(l,r,o)=>{let{stride:_}=l,f=l.children[0],m=Ue.getVisitFn(f);if(Array.isArray(o))for(let h=-1,S=r*_;++h<_;)m(f,S+h,o[h]);else for(let h=-1,S=r*_;++h<_;)m(f,S+h,o.get(h))};Y.prototype.visitBool=te(eu);Y.prototype.visitInt=te(ur);Y.prototype.visitInt8=te(ur);Y.prototype.visitInt16=te(ur);Y.prototype.visitInt32=te(ur);Y.prototype.visitInt64=te(ur);Y.prototype.visitUint8=te(ur);Y.prototype.visitUint16=te(ur);Y.prototype.visitUint32=te(ur);Y.prototype.visitUint64=te(ur);Y.prototype.visitFloat=te(tu);Y.prototype.visitFloat16=te(Ml);Y.prototype.visitFloat32=te(za);Y.prototype.visitFloat64=te(za);Y.prototype.visitUtf8=te(Fl);Y.prototype.visitLargeUtf8=te(Fl);Y.prototype.visitBinary=te(Dl);Y.prototype.visitLargeBinary=te(Dl);Y.prototype.visitFixedSizeBinary=te(ja);Y.prototype.visitDate=te($a);Y.prototype.visitDateDay=te(ls);Y.prototype.visitDateMillisecond=te(cs);Y.prototype.visitTimestamp=te(qa);Y.prototype.visitTimestampSecond=te(_s);Y.prototype.visitTimestampMillisecond=te(us);Y.prototype.visitTimestampMicrosecond=te(ds);Y.prototype.visitTimestampNanosecond=te(ps);Y.prototype.visitTime=te(Xa);Y.prototype.visitTimeSecond=te(ms);Y.prototype.visitTimeMillisecond=te(gs);Y.prototype.visitTimeMicrosecond=te(hs);Y.prototype.visitTimeNanosecond=te(vs);Y.prototype.visitDecimal=te(Ka);Y.prototype.visitList=te(ru);Y.prototype.visitStruct=te(lu);Y.prototype.visitUnion=te(cu);Y.prototype.visitDenseUnion=te(Il);Y.prototype.visitSparseUnion=te(Pl);Y.prototype.visitDictionary=te(_u);Y.prototype.visitInterval=te(Ja);Y.prototype.visitIntervalDayTime=te(ys);Y.prototype.visitIntervalYearMonth=te(Ss);Y.prototype.visitDuration=te(Ya);Y.prototype.visitDurationSecond=te(bs);Y.prototype.visitDurationMillisecond=te(ws);Y.prototype.visitDurationMicrosecond=te(Es);Y.prototype.visitDurationNanosecond=te(As);Y.prototype.visitFixedSizeList=te(uu);Y.prototype.visitMap=te(iu);var Ue=new Y;var Ft=Symbol.for("parent"),gi=Symbol.for("rowIndex"),Pr=class{constructor(r,o){return this[Ft]=r,this[gi]=o,new Proxy(this,new Za)}toArray(){return Object.values(this.toJSON())}toJSON(){let r=this[gi],o=this[Ft],_=o.type.children,f={};for(let m=-1,h=_.length;++m<h;)f[_[m].name]=Ce.visit(o.children[m],r);return f}toString(){return`{${[...this].map(([r,o])=>`${Et(r)}: ${Et(o)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new Qa(this[Ft],this[gi])}},Qa=class{constructor(r,o){this.childIndex=0,this.children=r.children,this.rowIndex=o,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,Ce.visit(this.children[r],this.rowIndex)]}):{done:!0,value:null}}};Object.defineProperties(Pr.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[Ft]:{writable:!0,enumerable:!1,configurable:!1,value:null},[gi]:{writable:!0,enumerable:!1,configurable:!1,value:-1}});var Za=class{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(r){return r[Ft].type.children.map(o=>o.name)}has(r,o){return r[Ft].type.children.findIndex(_=>_.name===o)!==-1}getOwnPropertyDescriptor(r,o){if(r[Ft].type.children.findIndex(_=>_.name===o)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(r,o){if(Reflect.has(r,o))return r[o];let _=r[Ft].type.children.findIndex(f=>f.name===o);if(_!==-1){let f=Ce.visit(r[Ft].children[_],r[gi]);return Reflect.set(r,o,f),f}}set(r,o,_){let f=r[Ft].type.children.findIndex(m=>m.name===o);return f!==-1?(Ue.visit(r[Ft].children[f],r[gi],_),Reflect.set(r,o,_)):Reflect.has(r,o)||typeof o=="symbol"?Reflect.set(r,o,_):!1}};var q=class extends ${};function Z(l){return(r,o)=>r.getValid(o)?l(r,o):null}var du=(l,r)=>864e5*l[r],fu=(l,r)=>null,xl=(l,r,o)=>{if(o+1>=r.length)return null;let _=pe(r[o]),f=pe(r[o+1]);return l.subarray(_,f)},pu=({offset:l,values:r},o)=>{let _=l+o;return(r[_>>3]&1<<_%8)!==0},Nl=({values:l},r)=>du(l,r),Cl=({values:l},r)=>pe(l[r]),xr=({stride:l,values:r},o)=>r[l*o],mu=({stride:l,values:r},o)=>os(r[l*o]),Rl=({values:l},r)=>l[r],gu=({stride:l,values:r},o)=>r.subarray(l*o,l*(o+1)),kl=({values:l,valueOffsets:r},o)=>xl(l,r,o),Bl=({values:l,valueOffsets:r},o)=>{let _=xl(l,r,o);return _!==null?ki(_):null},hu=({values:l},r)=>l[r],vu=({type:l,values:r},o)=>l.precision!==we.HALF?r[o]:os(r[o]),yu=(l,r)=>l.type.unit===Pe.DAY?Nl(l,r):Cl(l,r),Ol=({values:l},r)=>1e3*pe(l[r]),Hl=({values:l},r)=>pe(l[r]),Vl=({values:l},r)=>Ha(l[r],BigInt(1e3)),Gl=({values:l},r)=>Ha(l[r],BigInt(1e6)),Su=(l,r)=>{switch(l.type.unit){case z.SECOND:return Ol(l,r);case z.MILLISECOND:return Hl(l,r);case z.MICROSECOND:return Vl(l,r);case z.NANOSECOND:return Gl(l,r)}},Ul=({values:l},r)=>l[r],Wl=({values:l},r)=>l[r],zl=({values:l},r)=>l[r],jl=({values:l},r)=>l[r],bu=(l,r)=>{switch(l.type.unit){case z.SECOND:return Ul(l,r);case z.MILLISECOND:return Wl(l,r);case z.MICROSECOND:return zl(l,r);case z.NANOSECOND:return jl(l,r)}},wu=({values:l,stride:r},o)=>Qi.decimal(l.subarray(r*o,r*(o+1))),Eu=(l,r)=>{let{valueOffsets:o,stride:_,children:f}=l,{[r*_]:m,[r*_+1]:h}=o,e=f[0].slice(m,h-m);return new ue([e])},Au=(l,r)=>{let{valueOffsets:o,children:_}=l,{[r]:f,[r+1]:m}=o,h=_[0];return new Wt(h.slice(f,m-f))},Tu=(l,r)=>new Pr(l,r),Lu=(l,r)=>l.type.mode===Ee.Dense?$l(l,r):ql(l,r),$l=(l,r)=>{let o=l.type.typeIdToChildIndex[l.typeIds[r]],_=l.children[o];return Ce.visit(_,l.valueOffsets[r])},ql=(l,r)=>{let o=l.type.typeIdToChildIndex[l.typeIds[r]],_=l.children[o];return Ce.visit(_,r)},Mu=(l,r)=>{var o;return(o=l.dictionary)===null||o===void 0?void 0:o.get(l.values[r])},Du=(l,r)=>l.type.unit===Oe.DAY_TIME?Xl(l,r):Kl(l,r),Xl=({values:l},r)=>l.subarray(2*r,2*(r+1)),Kl=({values:l},r)=>{let o=l[r],_=new Int32Array(2);return _[0]=Math.trunc(o/12),_[1]=Math.trunc(o%12),_},Jl=({values:l},r)=>l[r],Yl=({values:l},r)=>l[r],Ql=({values:l},r)=>l[r],Zl=({values:l},r)=>l[r],Fu=(l,r)=>{switch(l.type.unit){case z.SECOND:return Jl(l,r);case z.MILLISECOND:return Yl(l,r);case z.MICROSECOND:return Ql(l,r);case z.NANOSECOND:return Zl(l,r)}},Iu=(l,r)=>{let{stride:o,children:_}=l,m=_[0].slice(r*o,o);return new ue([m])};q.prototype.visitNull=Z(fu);q.prototype.visitBool=Z(pu);q.prototype.visitInt=Z(hu);q.prototype.visitInt8=Z(xr);q.prototype.visitInt16=Z(xr);q.prototype.visitInt32=Z(xr);q.prototype.visitInt64=Z(Rl);q.prototype.visitUint8=Z(xr);q.prototype.visitUint16=Z(xr);q.prototype.visitUint32=Z(xr);q.prototype.visitUint64=Z(Rl);q.prototype.visitFloat=Z(vu);q.prototype.visitFloat16=Z(mu);q.prototype.visitFloat32=Z(xr);q.prototype.visitFloat64=Z(xr);q.prototype.visitUtf8=Z(Bl);q.prototype.visitLargeUtf8=Z(Bl);q.prototype.visitBinary=Z(kl);q.prototype.visitLargeBinary=Z(kl);q.prototype.visitFixedSizeBinary=Z(gu);q.prototype.visitDate=Z(yu);q.prototype.visitDateDay=Z(Nl);q.prototype.visitDateMillisecond=Z(Cl);q.prototype.visitTimestamp=Z(Su);q.prototype.visitTimestampSecond=Z(Ol);q.prototype.visitTimestampMillisecond=Z(Hl);q.prototype.visitTimestampMicrosecond=Z(Vl);q.prototype.visitTimestampNanosecond=Z(Gl);q.prototype.visitTime=Z(bu);q.prototype.visitTimeSecond=Z(Ul);q.prototype.visitTimeMillisecond=Z(Wl);q.prototype.visitTimeMicrosecond=Z(zl);q.prototype.visitTimeNanosecond=Z(jl);q.prototype.visitDecimal=Z(wu);q.prototype.visitList=Z(Eu);q.prototype.visitStruct=Z(Tu);q.prototype.visitUnion=Z(Lu);q.prototype.visitDenseUnion=Z($l);q.prototype.visitSparseUnion=Z(ql);q.prototype.visitDictionary=Z(Mu);q.prototype.visitInterval=Z(Du);q.prototype.visitIntervalDayTime=Z(Xl);q.prototype.visitIntervalYearMonth=Z(Kl);q.prototype.visitDuration=Z(Fu);q.prototype.visitDurationSecond=Z(Jl);q.prototype.visitDurationMillisecond=Z(Yl);q.prototype.visitDurationMicrosecond=Z(Ql);q.prototype.visitDurationNanosecond=Z(Zl);q.prototype.visitFixedSizeList=Z(Iu);q.prototype.visitMap=Z(Au);var Ce=new q;var Nr=Symbol.for("keys"),vi=Symbol.for("vals"),hi=Symbol.for("kKeysAsStrings"),eo=Symbol.for("_kKeysAsStrings"),Wt=class{constructor(r){return this[Nr]=new ue([r.children[0]]).memoize(),this[vi]=r.children[1],new Proxy(this,new ro)}get[hi](){return this[eo]||(this[eo]=Array.from(this[Nr].toArray(),String))}[Symbol.iterator](){return new to(this[Nr],this[vi])}get size(){return this[Nr].length}toArray(){return Object.values(this.toJSON())}toJSON(){let r=this[Nr],o=this[vi],_={};for(let f=-1,m=r.length;++f<m;)_[r.get(f)]=Ce.visit(o,f);return _}toString(){return`{${[...this].map(([r,o])=>`${Et(r)}: ${Et(o)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}},to=class{constructor(r,o){this.keys=r,this.vals=o,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),Ce.visit(this.vals,r)]})}},ro=class{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(r){return r[hi]}has(r,o){return r[hi].includes(o)}getOwnPropertyDescriptor(r,o){if(r[hi].indexOf(o)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(r,o){if(Reflect.has(r,o))return r[o];let _=r[hi].indexOf(o);if(_!==-1){let f=Ce.visit(Reflect.get(r,vi),_);return Reflect.set(r,o,f),f}}set(r,o,_){let f=r[hi].indexOf(o);return f!==-1?(Ue.visit(Reflect.get(r,vi),f,_),Reflect.set(r,o,_)):Reflect.has(r,o)?Reflect.set(r,o,_):!1}};Object.defineProperties(Wt.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[Nr]:{writable:!0,enumerable:!1,configurable:!1,value:null},[vi]:{writable:!0,enumerable:!1,configurable:!1,value:null},[eo]:{writable:!0,enumerable:!1,configurable:!1,value:null}});var ec;function en(l,r,o,_){let{length:f=0}=l,m=typeof r!="number"?0:r,h=typeof o!="number"?f:o;return m<0&&(m=(m%f+f)%f),h<0&&(h=(h%f+f)%f),h<m&&(ec=m,m=h,h=ec),h>f&&(h=f),_?_(l,m,h):[m,h]}var Wr=(l,r)=>l<0?r+l:l,tc=l=>l!==l;function Cr(l){if(typeof l!=="object"||l===null)return tc(l)?tc:o=>o===l;if(l instanceof Date){let o=l.valueOf();return _=>_ instanceof Date?_.valueOf()===o:!1}return ArrayBuffer.isView(l)?o=>o?Ca(l,o):!1:l instanceof Map?xu(l):Array.isArray(l)?Pu(l):l instanceof ue?Nu(l):Cu(l,!0)}function Pu(l){let r=[];for(let o=-1,_=l.length;++o<_;)r[o]=Cr(l[o]);return Ts(r)}function xu(l){let r=-1,o=[];for(let _ of l.values())o[++r]=Cr(_);return Ts(o)}function Nu(l){let r=[];for(let o=-1,_=l.length;++o<_;)r[o]=Cr(l.get(o));return Ts(r)}function Cu(l,r=!1){let o=Object.keys(l);if(!r&&o.length===0)return()=>!1;let _=[];for(let f=-1,m=o.length;++f<m;)_[f]=Cr(l[o[f]]);return Ts(_,o)}function Ts(l,r){return o=>{if(!o||typeof o!="object")return!1;switch(o.constructor){case Array:return Ru(l,o);case Map:return rc(l,o,o.keys());case Wt:case Pr:case Object:case void 0:return rc(l,o,r||Object.keys(o))}return o instanceof ue?ku(l,o):!1}}function Ru(l,r){let o=l.length;if(r.length!==o)return!1;for(let _=-1;++_<o;)if(!l[_](r[_]))return!1;return!0}function ku(l,r){let o=l.length;if(r.length!==o)return!1;for(let _=-1;++_<o;)if(!l[_](r.get(_)))return!1;return!0}function rc(l,r,o){let _=o[Symbol.iterator](),f=r instanceof Map?r.keys():Object.keys(r)[Symbol.iterator](),m=r instanceof Map?r.values():Object.values(r)[Symbol.iterator](),h=0,S=l.length,e=m.next(),t=_.next(),n=f.next();for(;h<S&&!t.done&&!n.done&&!e.done&&!(t.value!==n.value||!l[h](e.value));++h,t=_.next(),n=f.next(),e=m.next());return h===S&&t.done&&n.done&&e.done?!0:(_.return&&_.return(),f.return&&f.return(),m.return&&m.return(),!1)}var no={};Vr(no,{BitIterator:()=>zr,getBit:()=>ic,getBool:()=>Ms,packBools:()=>$r,popcnt_array:()=>nc,popcnt_bit_range:()=>tn,popcnt_uint32:()=>Ls,setBool:()=>Bu,truncateBitmap:()=>jr});function Ms(l,r,o,_){return(o&1<<_)!==0}function ic(l,r,o,_){return(o&1<<_)>>_}function Bu(l,r,o){return o?!!(l[r>>3]|=1<<r%8)||!0:!(l[r>>3]&=~(1<<r%8))&&!1}function jr(l,r,o){let _=o.byteLength+7&-8;if(l>0||o.byteLength<_){let f=new Uint8Array(_);return f.set(l%8===0?o.subarray(l>>3):$r(new zr(o,l,r,null,Ms)).subarray(0,_)),f}return o}function $r(l){let r=[],o=0,_=0,f=0;for(let h of l)h&&(f|=1<<_),++_===8&&(r[o++]=f,f=_=0);(o===0||_>0)&&(r[o++]=f);let m=new Uint8Array(r.length+7&-8);return m.set(r),m}var zr=class{constructor(r,o,_,f,m){this.bytes=r,this.length=_,this.context=f,this.get=m,this.bit=o%8,this.byteIndex=o>>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 tn(l,r,o){if(o-r<=0)return 0;if(o-r<8){let m=0;for(let h of new zr(l,r,o-r,l,ic))m+=h;return m}let _=o>>3<<3,f=r+(r%8===0?0:8-r%8);return tn(l,r,f)+tn(l,_,o)+nc(l,f>>3,_-f>>3)}function nc(l,r,o){let _=0,f=Math.trunc(r),m=new DataView(l.buffer,l.byteOffset,l.byteLength),h=o===void 0?l.byteLength:f+o;for(;h-f>=4;)_+=Ls(m.getUint32(f)),f+=4;for(;h-f>=2;)_+=Ls(m.getUint16(f)),f+=2;for(;h-f>=1;)_+=Ls(m.getUint8(f)),f+=1;return _}function Ls(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 Ou=-1,ge=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 G.isSparseUnion(r)?this.children.some(o=>o.nullable):G.isDenseUnion(r)?this.children.some(o=>o.nullable):this.nullBitmap&&this.nullBitmap.byteLength>0}return!0}get byteLength(){let r=0,{valueOffsets:o,values:_,nullBitmap:f,typeIds:m}=this;return o&&(r+=o.byteLength),_&&(r+=_.byteLength),f&&(r+=f.byteLength),m&&(r+=m.byteLength),this.children.reduce((h,S)=>h+S.byteLength,r)}get nullCount(){if(G.isUnion(this.type))return this.children.reduce((_,f)=>_+f.nullCount,0);let r=this._nullCount,o;return r<=Ou&&(o=this.nullBitmap)&&(this._nullCount=r=o.length===0?0:this.length-tn(o,this.offset,this.offset+this.length)),r}constructor(r,o,_,f,m,h=[],S){this.type=r,this.children=h,this.dictionary=S,this.offset=Math.floor(Math.max(o||0,0)),this.length=Math.floor(Math.max(_||0,0)),this._nullCount=Math.floor(Math.max(f||0,-1));let e;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&&((e=m[0])&&(this.valueOffsets=e),(e=m[1])&&(this.values=e),(e=m[2])&&(this.nullBitmap=e),(e=m[3])&&(this.typeIds=e)))}getValid(r){let{type:o}=this;if(G.isUnion(o)){let _=o,f=this.children[_.typeIdToChildIndex[this.typeIds[r]]],m=_.mode===Ee.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,o){let _,{type:f}=this;if(G.isUnion(f)){let m=f,h=this.children[m.typeIdToChildIndex[this.typeIds[r]]],S=m.mode===Ee.Dense?this.valueOffsets[r]:r;_=h.getValid(S),h.setValid(S,o)}else{let{nullBitmap:m}=this,{offset:h,length:S}=this,e=h+r,t=1<<e%8,n=e>>3;(!m||m.byteLength<=n)&&(m=new Uint8Array((h+S+63&-64)>>3).fill(255),this.nullCount>0?(m.set(jr(h,S,this.nullBitmap),0),Object.assign(this,{nullBitmap:m})):Object.assign(this,{nullBitmap:m,_nullCount:0}));let a=m[n];_=(a&t)!==0,m[n]=o?a|t:a&~t}return _!==!!o&&(this._nullCount=this.nullCount+(o?-1:1)),o}clone(r=this.type,o=this.offset,_=this.length,f=this._nullCount,m=this,h=this.children){return new l(r,o,_,f,m,h,this.dictionary)}slice(r,o){let{stride:_,typeId:f,children:m}=this,h=+(this._nullCount===0)-1,S=f===16?_:1,e=this._sliceBuffers(r,o,_,f);return this.clone(this.type,this.offset+r,o,h,e,m.length===0||this.valueOffsets?m:this._sliceChildren(m,S*r,S*o))}_changeLengthAndBackfillNullBitmap(r){if(this.typeId===D.Null)return this.clone(this.type,0,r,0);let{length:o,nullCount:_}=this,f=new Uint8Array((r+63&-64)>>3).fill(255,0,o>>3);f[o>>3]=(1<<o-(o&-8))-1,_>0&&f.set(jr(this.offset,o,this.nullBitmap),0);let m=this.buffers;return m[ut.VALIDITY]=f,this.clone(this.type,0,r,_+(r-o),m)}_sliceBuffers(r,o,_,f){let m,{buffers:h}=this;return(m=h[ut.TYPE])&&(h[ut.TYPE]=m.subarray(r,r+o)),(m=h[ut.OFFSET])&&(h[ut.OFFSET]=m.subarray(r,r+o+1))||(m=h[ut.DATA])&&(h[ut.DATA]=f===6?m:m.subarray(_*r,_*(r+o))),h}_sliceChildren(r,o,_){return r.map(f=>f.slice(o,_))}};ge.prototype.children=Object.freeze([]);var so=class l extends ${visit(r){return this.getVisitFn(r.type).call(this,r)}visitNull(r){let{["type"]:o,["offset"]:_=0,["length"]:f=0}=r;return new ge(o,_,f,f)}visitBool(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length>>3,["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitInt(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length,["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitFloat(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length,["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitUtf8(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.data),m=Q(r.nullBitmap),h=Gr(r.valueOffsets),{["length"]:S=h.length-1,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new ge(o,_,S,e,[h,f,m])}visitLargeUtf8(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.data),m=Q(r.nullBitmap),h=zn(r.valueOffsets),{["length"]:S=h.length-1,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new ge(o,_,S,e,[h,f,m])}visitBinary(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.data),m=Q(r.nullBitmap),h=Gr(r.valueOffsets),{["length"]:S=h.length-1,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new ge(o,_,S,e,[h,f,m])}visitLargeBinary(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.data),m=Q(r.nullBitmap),h=zn(r.valueOffsets),{["length"]:S=h.length-1,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new ge(o,_,S,e,[h,f,m])}visitFixedSizeBinary(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length/ot(o),["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitDate(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length/ot(o),["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitTimestamp(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length/ot(o),["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitTime(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length/ot(o),["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitDecimal(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length/ot(o),["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitList(r){let{["type"]:o,["offset"]:_=0,["child"]:f}=r,m=Q(r.nullBitmap),h=Gr(r.valueOffsets),{["length"]:S=h.length-1,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new ge(o,_,S,e,[h,void 0,m],[f])}visitStruct(r){let{["type"]:o,["offset"]:_=0,["children"]:f=[]}=r,m=Q(r.nullBitmap),{length:h=f.reduce((e,{length:t})=>Math.max(e,t),0),nullCount:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,void 0,m],f)}visitUnion(r){let{["type"]:o,["offset"]:_=0,["children"]:f=[]}=r,m=oe(o.ArrayType,r.typeIds),{["length"]:h=m.length,["nullCount"]:S=-1}=r;if(G.isSparseUnion(o))return new ge(o,_,h,S,[void 0,void 0,void 0,m],f);let e=Gr(r.valueOffsets);return new ge(o,_,h,S,[e,void 0,void 0,m],f)}visitDictionary(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.indices.ArrayType,r.data),{["dictionary"]:h=new ue([new l().visit({type:o.dictionary})])}=r,{["length"]:S=m.length,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new ge(o,_,S,e,[void 0,m,f],[],h)}visitInterval(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length/ot(o),["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitDuration(r){let{["type"]:o,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=oe(o.ArrayType,r.data),{["length"]:h=m.length,["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,m,f])}visitFixedSizeList(r){let{["type"]:o,["offset"]:_=0,["child"]:f=new l().visit({type:o.valueType})}=r,m=Q(r.nullBitmap),{["length"]:h=f.length/ot(o),["nullCount"]:S=r.nullBitmap?-1:0}=r;return new ge(o,_,h,S,[void 0,void 0,m],[f])}visitMap(r){let{["type"]:o,["offset"]:_=0,["child"]:f=new l().visit({type:o.childType})}=r,m=Q(r.nullBitmap),h=Gr(r.valueOffsets),{["length"]:S=h.length-1,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new ge(o,_,S,e,[h,void 0,m],[f])}},Hu=new so;function ie(l){return Hu.visit(l)}var rn=class{constructor(r=0,o){this.numChunks=r,this.getChunkIterator=o,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 sc(l){return l.some(r=>r.nullable)}function Ds(l){return l.reduce((r,o)=>r+o.nullCount,0)}function Fs(l){return l.reduce((r,o,_)=>(r[_+1]=r[_]+o.length,r),new Uint32Array(l.length+1))}function Is(l,r,o,_){let f=[];for(let m=-1,h=l.length;++m<h;){let S=l[m],e=r[m],{length:t}=S;if(e>=_)break;if(o>=e+t)continue;if(e>=o&&e+t<=_){f.push(S);continue}let n=Math.max(0,o-e),a=Math.min(_-e,t);f.push(S.slice(n,a-n))}return f.length===0&&f.push(l[0].slice(0,0)),f}function ao(l,r,o,_){let f=0,m=0,h=r.length-1;do{if(f>=h-1)return o<r[h]?_(l,f,o-r[f]):null;m=f+Math.trunc((h-f)*.5),o<r[m]?h=m:f=m}while(f<h)}function nn(l,r){return l.getValid(r)}function yi(l){function r(o,_,f){return l(o[_],f)}return function(o){let _=this.data;return ao(_,this._offsets,o,r)}}function Ps(l){let r;function o(_,f,m){return l(_[f],m,r)}return function(_,f){let m=this.data;r=f;let h=ao(m,this._offsets,_,o);return r=void 0,h}}function xs(l){let r;function o(_,f,m){let h=m,S=0,e=0;for(let t=f-1,n=_.length;++t<n;){let a=_[t];if(~(S=l(a,r,h)))return e+S;h=0,e+=a.length}return-1}return function(_,f){r=_;let m=this.data,h=typeof f!="number"?o(m,0,0):ao(m,this._offsets,f,o);return r=void 0,h}}var X=class extends ${};function Vu(l,r){return r===null&&l.length>0?0:-1}function Gu(l,r){let{nullBitmap:o}=l;if(!o||l.nullCount<=0)return-1;let _=0;for(let f of new zr(o,l.offset+(r||0),l.length,o,Ms)){if(!f)return _;++_}return-1}function ne(l,r,o){if(r===void 0)return-1;if(r===null)switch(l.typeId){case D.Union:break;case D.Dictionary:break;default:return Gu(l,o)}let _=Ce.getVisitFn(l),f=Cr(r);for(let m=(o||0)-1,h=l.length;++m<h;)if(f(_(l,m)))return m;return-1}function ac(l,r,o){let _=Ce.getVisitFn(l),f=Cr(r);for(let m=(o||0)-1,h=l.length;++m<h;)if(f(_(l,m)))return m;return-1}X.prototype.visitNull=Vu;X.prototype.visitBool=ne;X.prototype.visitInt=ne;X.prototype.visitInt8=ne;X.prototype.visitInt16=ne;X.prototype.visitInt32=ne;X.prototype.visitInt64=ne;X.prototype.visitUint8=ne;X.prototype.visitUint16=ne;X.prototype.visitUint32=ne;X.prototype.visitUint64=ne;X.prototype.visitFloat=ne;X.prototype.visitFloat16=ne;X.prototype.visitFloat32=ne;X.prototype.visitFloat64=ne;X.prototype.visitUtf8=ne;X.prototype.visitLargeUtf8=ne;X.prototype.visitBinary=ne;X.prototype.visitLargeBinary=ne;X.prototype.visitFixedSizeBinary=ne;X.prototype.visitDate=ne;X.prototype.visitDateDay=ne;X.prototype.visitDateMillisecond=ne;X.prototype.visitTimestamp=ne;X.prototype.visitTimestampSecond=ne;X.prototype.visitTimestampMillisecond=ne;X.prototype.visitTimestampMicrosecond=ne;X.prototype.visitTimestampNanosecond=ne;X.prototype.visitTime=ne;X.prototype.visitTimeSecond=ne;X.prototype.visitTimeMillisecond=ne;X.prototype.visitTimeMicrosecond=ne;X.prototype.visitTimeNanosecond=ne;X.prototype.visitDecimal=ne;X.prototype.visitList=ne;X.prototype.visitStruct=ne;X.prototype.visitUnion=ne;X.prototype.visitDenseUnion=ac;X.prototype.visitSparseUnion=ac;X.prototype.visitDictionary=ne;X.prototype.visitInterval=ne;X.prototype.visitIntervalDayTime=ne;X.prototype.visitIntervalYearMonth=ne;X.prototype.visitDuration=ne;X.prototype.visitDurationSecond=ne;X.prototype.visitDurationMillisecond=ne;X.prototype.visitDurationMicrosecond=ne;X.prototype.visitDurationNanosecond=ne;X.prototype.visitFixedSizeList=ne;X.prototype.visitMap=ne;var qr=new X;var K=class extends ${};function ee(l){let{type:r}=l;if(l.nullCount===0&&l.stride===1&&(G.isInt(r)&&r.bitWidth!==64||G.isTime(r)&&r.bitWidth!==64||G.isFloat(r)&&r.precision!==we.HALF))return new rn(l.data.length,_=>{let f=l.data[_];return f.values.subarray(0,f.length)[Symbol.iterator]()});let o=0;return new rn(l.data.length,_=>{let m=l.data[_].length,h=l.slice(o,o+m);return o+=m,new oo(h)})}var oo=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}};K.prototype.visitNull=ee;K.prototype.visitBool=ee;K.prototype.visitInt=ee;K.prototype.visitInt8=ee;K.prototype.visitInt16=ee;K.prototype.visitInt32=ee;K.prototype.visitInt64=ee;K.prototype.visitUint8=ee;K.prototype.visitUint16=ee;K.prototype.visitUint32=ee;K.prototype.visitUint64=ee;K.prototype.visitFloat=ee;K.prototype.visitFloat16=ee;K.prototype.visitFloat32=ee;K.prototype.visitFloat64=ee;K.prototype.visitUtf8=ee;K.prototype.visitLargeUtf8=ee;K.prototype.visitBinary=ee;K.prototype.visitLargeBinary=ee;K.prototype.visitFixedSizeBinary=ee;K.prototype.visitDate=ee;K.prototype.visitDateDay=ee;K.prototype.visitDateMillisecond=ee;K.prototype.visitTimestamp=ee;K.prototype.visitTimestampSecond=ee;K.prototype.visitTimestampMillisecond=ee;K.prototype.visitTimestampMicrosecond=ee;K.prototype.visitTimestampNanosecond=ee;K.prototype.visitTime=ee;K.prototype.visitTimeSecond=ee;K.prototype.visitTimeMillisecond=ee;K.prototype.visitTimeMicrosecond=ee;K.prototype.visitTimeNanosecond=ee;K.prototype.visitDecimal=ee;K.prototype.visitList=ee;K.prototype.visitStruct=ee;K.prototype.visitUnion=ee;K.prototype.visitDenseUnion=ee;K.prototype.visitSparseUnion=ee;K.prototype.visitDictionary=ee;K.prototype.visitInterval=ee;K.prototype.visitIntervalDayTime=ee;K.prototype.visitIntervalYearMonth=ee;K.prototype.visitDuration=ee;K.prototype.visitDurationSecond=ee;K.prototype.visitDurationMillisecond=ee;K.prototype.visitDurationMicrosecond=ee;K.prototype.visitDurationNanosecond=ee;K.prototype.visitFixedSizeList=ee;K.prototype.visitMap=ee;var Si=new K;var oc,lc={},cc={},ue=class l{constructor(r){var o,_,f;let m=r[0]instanceof l?r.flatMap(S=>S.data):r;if(m.length===0||m.some(S=>!(S instanceof ge)))throw new TypeError("Vector constructor expects an Array of Data instances.");let h=(o=m[0])===null||o===void 0?void 0:o.type;switch(m.length){case 0:this._offsets=[0];break;case 1:{let{get:S,set:e,indexOf:t}=lc[h.typeId],n=m[0];this.isValid=a=>nn(n,a),this.get=a=>S(n,a),this.set=(a,c)=>e(n,a,c),this.indexOf=a=>t(n,a),this._offsets=[0,n.length];break}default:Object.setPrototypeOf(this,cc[h.typeId]),this._offsets=Fs(m);break}this.data=m,this.type=h,this.stride=ot(h),this.numChildren=(f=(_=h.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,o)=>r+o.byteLength,0)}get nullable(){return sc(this.data)}get nullCount(){return Ds(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,o){}indexOf(r,o){return-1}includes(r,o){return this.indexOf(r,o)>-1}[Symbol.iterator](){return Si.visit(this)}concat(...r){return new l(this.data.concat(r.flatMap(o=>o.data).flat(Number.POSITIVE_INFINITY)))}slice(r,o){return new l(en(this,r,o,({data:_,_offsets:f},m,h)=>Is(_,f,m,h)))}toJSON(){return[...this]}toArray(){let{type:r,data:o,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(o.length){case 0:return new m;case 1:return o[0].values.subarray(0,_*f);default:return o.reduce((h,{values:S,length:e})=>(h.array.set(S.subarray(0,e*f),h.offset),h.offset+=e*f,h),{array:new m(_*f),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(r){var o;return this.getChildAt((o=this.type.children)===null||o===void 0?void 0:o.findIndex(_=>_.name===r))}getChildAt(r){return r>-1&&r<this.numChildren?new l(this.data.map(({children:o})=>o[r])):null}get isMemoized(){return G.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(G.isDictionary(this.type)){let r=new Ns(this.data[0].dictionary),o=this.data.map(_=>{let f=_.clone();return f.dictionary=r,f});return new l(o)}return new Ns(this)}unmemoize(){if(G.isDictionary(this.type)&&this.isMemoized){let r=this.data[0].dictionary.unmemoize(),o=this.data.map(_=>{let f=_.clone();return f.dictionary=r,f});return new l(o)}return this}};oc=Symbol.toStringTag;ue[oc]=(l=>{l.type=G.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(o=>D[o]).filter(o=>typeof o=="number"&&o!==D.NONE);for(let o of r){let _=Ce.getVisitFnByTypeId(o),f=Ue.getVisitFnByTypeId(o),m=qr.getVisitFnByTypeId(o);lc[o]={get:_,set:f,indexOf:m},cc[o]=Object.create(l,{isValid:{value:yi(nn)},get:{value:yi(Ce.getVisitFnByTypeId(o))},set:{value:Ps(Ue.getVisitFnByTypeId(o))},indexOf:{value:xs(qr.getVisitFnByTypeId(o))}})}return"Vector"})(ue.prototype);var Ns=class l extends ue{constructor(r){super(r.data);let o=this.get,_=this.set,f=this.slice,m=new Array(this.length);Object.defineProperty(this,"get",{value(h){let S=m[h];if(S!==void 0)return S;let e=o.call(this,h);return m[h]=e,e}}),Object.defineProperty(this,"set",{value(h,S){_.call(this,h,S),m[h]=S}}),Object.defineProperty(this,"slice",{value:(h,S)=>new l(f.call(this,h,S))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new ue(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}};function _c(l){if(!l||l.length<=0)return function(f){return!0};let r="",o=l.filter(_=>_===_);return o.length>0&&(r=`
27
27
  switch (x) {${o.map(_=>`
28
28
  case ${Uu(_)}:`).join("")}
29
29
  return false;