@duckdb/duckdb-wasm 1.33.1-dev110.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.
@@ -21,7 +21,7 @@ ${b}
21
21
  `,v.push(`${E}_dtor`))}return n&&(y+=`var ret = fromRetWire(rv);
22
22
  return ret;
23
23
  `),y+=`}
24
- `,new Function(v,y)}class UnboundTypeError extends Error{}class PureVirtualError extends Error{}var EmValOptionalType=Object.assign({optional:!0},EmValType),throwUnboundTypeError=(e,t)=>{var n=[],o={};function c(u){if(!o[u]&&!registeredTypes[u]){if(typeDependencies[u]){typeDependencies[u].forEach(c);return}n.push(u),o[u]=!0}}throw t.forEach(c),new UnboundTypeError(`${e}: `+n.map(getTypeName).join([", "]))},ensureOverloadTable=(e,t,n)=>{if(e[t].overloadTable===void 0){var o=e[t];e[t]=function(...c){return e[t].overloadTable.hasOwnProperty(c.length)||throwBindingError(`Function '${n}' called with an invalid number of arguments (${c.length}) - expects one of (${e[t].overloadTable})!`),e[t].overloadTable[c.length].apply(this,c)},e[t].overloadTable=[],e[t].overloadTable[o.argCount]=o}},exposePublicSymbol=(e,t,n)=>{Module.hasOwnProperty(e)?((n===void 0||Module[e].overloadTable!==void 0&&Module[e].overloadTable[n]!==void 0)&&throwBindingError(`Cannot register public name '${e}' twice`),ensureOverloadTable(Module,e,e),Module[e].overloadTable.hasOwnProperty(n)&&throwBindingError(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),Module[e].overloadTable[n]=t):(Module[e]=t,Module[e].argCount=n)},replacePublicSymbol=(e,t,n)=>{Module.hasOwnProperty(e)||throwInternalError("Replacing nonexistent public symbol"),Module[e].overloadTable!==void 0&&n!==void 0?Module[e].overloadTable[n]=t:(Module[e]=t,Module[e].argCount=n)},embindRepr=e=>{if(e===null)return"null";var t=typeof e;return t==="object"||t==="array"||t==="function"?e.toString():""+e},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(o){return this.fromWireType(HEAP8[o>>>0])}:function(o){return this.fromWireType(HEAPU8[o>>>0])};case 2:return n?function(o){return this.fromWireType(HEAP16[o>>>1>>>0])}:function(o){return this.fromWireType(HEAPU16[o>>>1>>>0])};case 4:return n?function(o){return this.fromWireType(HEAP32[o>>>2>>>0])}:function(o){return this.fromWireType(HEAPU32[o>>>2>>>0])};default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},installIndexedIterator=(e,t,n)=>{let o=(c,u)=>{let d=0;return{next(){if(d>=c)return{done:!0};let p=d;return d++,{value:u(p),done:!1}},[Symbol.iterator](){return this}}};e[Symbol.iterator]||(e[Symbol.iterator]=function(){let c=this[t]();return o(c,u=>this[n](u))})};function __embind_register_user_type(e,t){e>>>=0,t>>>=0,__embind_register_emval(e)}__embind_register_user_type.sig="vpp";function __embind_register_user_type_definition(e,t,n){e>>>=0,t>>>=0,n>>>=0,__embind_register_emval(e)}__embind_register_user_type_definition.sig="vppp";function __embind_register_optional(e,t){e>>>=0,t>>>=0,registerType(e,EmValOptionalType)}__embind_register_optional.sig="vpp";function craftInvokerFunction(e,t,n,o,c,u){var d=t.length;d<2&&throwBindingError("argTypes array size mismatch! Must at least get return value and receiver (this) types!");for(var p=t[1]!==null&&n!==null,h=usesDestructorStack(t),y=!t[0].isVoid,b=d-2,v=t[0],A=t[1],L=[e,throwBindingError,o,c,runDestructors,v.fromWireType.bind(v),A==null?void 0:A.toWireType.bind(A)],E=2;E<d;++E){var S=t[E];L.push(S.toWireType.bind(S))}if(!h)for(var E=p?1:2;E<t.length;++E)t[E].destructorFunction!==null&&L.push(t[E].destructorFunction);var T=createJsInvoker(t,p,y,u)(...L);return createNamedFunction(e,T)}var embind__requireFunction=(e,t,n=!1)=>{e=AsciiToString(e);function o(){if(e.includes("p"))return getDynCaller(e,t,n);var u=getWasmTableEntry(t);return u}var c=o();return typeof c!="function"&&throwBindingError(`unknown function pointer with signature ${e}: ${t}`),c};function __embind_register_function(e,t,n,o,c,u,d,p){e>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0;var h=heap32VectorToArray(t,n);e=AsciiToString(e),e=getFunctionName(e),c=embind__requireFunction(o,c,d),exposePublicSymbol(e,function(){throwUnboundTypeError(`Cannot call ${e} due to unbound types`,h)},t-1),whenDependentTypesAreResolved([],h,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,o,c,u){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,tupleRegistrations[e]={name:AsciiToString(t),rawConstructor:embind__requireFunction(n,o),rawDestructor:embind__requireFunction(c,u),elements:[]}}__embind_register_value_array.sig="vpppppp";function __embind_register_value_array_element(e,t,n,o,c,u,d,p,h){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,tupleRegistrations[e].elements.push({getterReturnType:t,getter:embind__requireFunction(n,o),getterContext:c,setterArgumentType:u,setter:embind__requireFunction(d,p),setterContext:h})}__embind_register_value_array_element.sig="vppppppppp";var __embind_finalize_value_array=function(e){e>>>=0;var t=tupleRegistrations[e];delete tupleRegistrations[e];var n=t.elements,o=n.length,c=n.map(p=>p.getterReturnType).concat(n.map(p=>p.setterArgumentType)),u=t.rawConstructor,d=t.rawDestructor;whenDependentTypesAreResolved([e],c,p=>{for(let[h,y]of n.entries()){let b=p[h],v=y.getter,A=y.getterContext,L=p[h+o],E=y.setter,S=y.setterContext;y.read=w=>b.fromWireType(v(A,w)),y.write=(w,T)=>{var F=[];E(S,w,L.toWireType(F,T)),runDestructors(F)}}return[{name:t.name,fromWireType:h=>{for(var y=new Array(o),b=0;b<o;++b)y[b]=n[b].read(h);return d(h),y},toWireType:(h,y)=>{if(o!==y.length)throw new TypeError(`Incorrect number of tuple elements for ${t.name}: expected=${o}, actual=${y.length}`);for(var b=u(),v=0;v<o;++v)n[v].write(b,y[v]);return h!==null&&h.push(d,b),b},readValueFromPointer:readPointer,destructorFunction:d}]})};__embind_finalize_value_array.sig="vp";function __embind_register_value_object(e,t,n,o,c,u){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,structRegistrations[e]={name:AsciiToString(t),rawConstructor:embind__requireFunction(n,o),rawDestructor:embind__requireFunction(c,u),fields:[]}}__embind_register_value_object.sig="vpppppp";function __embind_register_value_object_field(e,t,n,o,c,u,d,p,h,y){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,y>>>=0,structRegistrations[e].fields.push({fieldName:AsciiToString(t),getterReturnType:n,getter:embind__requireFunction(o,c),getterContext:u,setterArgumentType:d,setter:embind__requireFunction(p,h),setterContext: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,o=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[h,y]of c.entries()){let b=d[h],v=y.getter,A=y.getterContext,L=d[h+c.length],E=y.setter,S=y.setterContext;p[y.fieldName]={read:w=>b.fromWireType(v(A,w)),write:(w,T)=>{var F=[];E(S,w,L.toWireType(F,T)),runDestructors(F)},optional:b.optional}}return[{name:t.name,fromWireType:b=>{var v={};for(var A in p)v[A]=p[A].read(b);return o(b),v},toWireType:(b,v)=>{for(var A in p)if(!(A in v)&&!p[A].optional)throw new TypeError(`Missing field: "${A}"`);var L=n();for(A in p)p[A].write(L,v[A]);return b!==null&&b.push(o,L),L},readValueFromPointer:readPointer,destructorFunction:o}]})};__embind_finalize_value_object.sig="vp";var upcastPointer=(e,t,n)=>{for(;t!==n;)t.upcast||throwBindingError(`Expected null or instance of ${n.name}, got an instance of ${t.name}`),e=t.upcast(e),t=t.baseClass;return e};function genericPointerToWireType(e,t){var n;if(t===null)return this.isReference&&throwBindingError(`null is not a valid ${this.name}`),this.isSmartPointer?(n=this.rawConstructor(),e!==null&&e.push(this.rawDestructor,n),n):0;(!t||!t.$$)&&throwBindingError(`Cannot pass "${embindRepr(t)}" as a ${this.name}`),t.$$.ptr||throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&t.$$.ptrType.isConst&&throwBindingError(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);var o=t.$$.ptrType.registeredClass;if(n=upcastPointer(t.$$.ptr,o,this.registeredClass),this.isSmartPointer)switch(t.$$.smartPtr===void 0&&throwBindingError("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?n=t.$$.smartPtr:throwBindingError(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:n=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)n=t.$$.smartPtr;else{var c=t.clone();n=this.rawShare(n,Emval.toHandle(()=>c.delete())),e!==null&&e.push(this.rawDestructor,n)}break;default:throwBindingError("Unsupported sharing policy")}return n}function constNoSmartPtrRawPointerToWireType(e,t){if(t===null)return this.isReference&&throwBindingError(`null is not a valid ${this.name}`),0;t.$$||throwBindingError(`Cannot pass "${embindRepr(t)}" as a ${this.name}`),t.$$.ptr||throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`);var n=t.$$.ptrType.registeredClass,o=upcastPointer(t.$$.ptr,n,this.registeredClass);return o}function nonConstNoSmartPtrRawPointerToWireType(e,t){if(t===null)return this.isReference&&throwBindingError(`null is not a valid ${this.name}`),0;t.$$||throwBindingError(`Cannot pass "${embindRepr(t)}" as a ${this.name}`),t.$$.ptr||throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`),t.$$.ptrType.isConst&&throwBindingError(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);var n=t.$$.ptrType.registeredClass,o=upcastPointer(t.$$.ptr,n,this.registeredClass);return o}function RegisteredPointer(e,t,n,o,c,u,d,p,h,y,b){this.name=e,this.registeredClass=t,this.isReference=n,this.isConst=o,this.isSmartPointer=c,this.pointeeType=u,this.sharingPolicy=d,this.rawGetPointee=p,this.rawConstructor=h,this.rawShare=y,this.rawDestructor=b,!c&&t.baseClass===void 0?o?(this.toWireType=constNoSmartPtrRawPointerToWireType,this.destructorFunction=null):(this.toWireType=nonConstNoSmartPtrRawPointerToWireType,this.destructorFunction=null):this.toWireType=genericPointerToWireType}var downcastPointer=(e,t,n)=>{if(t===n)return e;if(n.baseClass===void 0)return null;var o=downcastPointer(e,t,n.baseClass);return o===null?null:n.downcast(o)},finalizationRegistry=!1,detachFinalizer=e=>{},runDestructor=e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)},releaseClassHandle=e=>{e.count.value-=1;var t=e.count.value===0;t&&runDestructor(e)},attachFinalizer=e=>globalThis.FinalizationRegistry?(finalizationRegistry=new FinalizationRegistry(t=>{releaseClassHandle(t.$$)}),attachFinalizer=t=>{var n=t.$$,o=!!n.smartPtr;if(o){var c={$$:n};finalizationRegistry.register(t,c,t)}return t},detachFinalizer=t=>finalizationRegistry.unregister(t),attachFinalizer(e)):(attachFinalizer=t=>t,e),makeClassHandle=(e,t)=>{(!t.ptrType||!t.ptr)&&throwInternalError("makeClassHandle requires ptr and ptrType");var n=!!t.smartPtrType,o=!!t.smartPtr;return n!==o&&throwInternalError("Both smartPtrType and smartPtr must be specified"),t.count={value:1},attachFinalizer(Object.create(e,{$$:{value:t,writable:!0}}))};function RegisteredPointer_fromWireType(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var n=getInheritedInstance(this.registeredClass,t);if(n!==void 0){if(n.$$.count.value===0)return n.$$.ptr=t,n.$$.smartPtr=e,n.clone();var o=n.clone();return this.destructor(e),o}function c(){return this.isSmartPointer?makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var u=this.registeredClass.getActualType(t),d=registeredPointers[u];if(!d)return c.call(this);var p;this.isConst?p=d.constPointerType:p=d.pointerType;var h=downcastPointer(t,this.registeredClass,p.registeredClass);return h===null?c.call(this):this.isSmartPointer?makeClassHandle(p.registeredClass.instancePrototype,{ptrType:p,ptr:h,smartPtrType:this,smartPtr:e}):makeClassHandle(p.registeredClass.instancePrototype,{ptrType:p,ptr:h})}var init_RegisteredPointer=()=>{Object.assign(RegisteredPointer.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){var t;(t=this.rawDestructor)==null||t.call(this,e)},readValueFromPointer:readPointer,fromWireType:RegisteredPointer_fromWireType})},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 o=this.$$.ptrType.registeredClass,c=this.$$.ptr;n.$$=n.$$;for(var u=n.$$.ptrType.registeredClass,d=n.$$.ptr;o.baseClass;)c=o.upcast(c),o=o.baseClass;for(;u.baseClass;)d=u.upcast(d),u=u.baseClass;return o===u&&c===d},clone(){if(this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var n=attachFinalizer(Object.create(Object.getPrototypeOf(this),{$$:{value:shallowCopyInternalPointer(this.$$)}}));return n.$$.count.value+=1,n.$$.deleteScheduled=!1,n},delete(){this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&throwBindingError("Object already scheduled for deletion"),detachFinalizer(this),releaseClassHandle(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&throwBindingError("Object already scheduled for deletion"),deletionQueue.push(this),deletionQueue.length===1&&delayFunction&&delayFunction(flushPendingDeletes),this.$$.deleteScheduled=!0,this}});let t=Symbol.dispose;t&&(e[t]=e.delete)},setDelayFunction=e=>{delayFunction=e,deletionQueue.length&&delayFunction&&delayFunction(flushPendingDeletes)};function RegisteredClass(e,t,n,o,c,u,d,p){this.name=e,this.constructor=t,this.instancePrototype=n,this.rawDestructor=o,this.baseClass=c,this.getActualType=u,this.upcast=d,this.downcast=p,this.pureVirtualFunctions=[]}var char_0=48,char_9=57,makeLegalFunctionName=e=>{e=e.replace(/[^a-zA-Z0-9_]/g,"$");var t=e.charCodeAt(0);return t>=char_0&&t<=char_9?`_${e}`:e};function __embind_register_class(e,t,n,o,c,u,d,p,h,y,b,v,A){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=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(h,y)),A=embind__requireFunction(v,A);var L=makeLegalFunctionName(b);exposePublicSymbol(L,function(){throwUnboundTypeError(`Cannot construct ${b} due to unbound types`,[o])}),whenDependentTypesAreResolved([e,t,n],o?[o]:[],E=>{var x,M;E=E[0];var S,w;o?(S=E.registeredClass,w=S.instancePrototype):w=ClassHandle.prototype;var T=createNamedFunction(b,function(...R){if(Object.getPrototypeOf(this)!==F)throw new BindingError(`Use 'new' to construct ${b}`);if(P.constructor_body===void 0)throw new BindingError(`${b} has no accessible constructor`);var re=P.constructor_body[R.length];if(re===void 0)throw new BindingError(`Tried to invoke ctor of ${b} with invalid number of parameters (${R.length}) - expected (${Object.keys(P.constructor_body).toString()}) parameters instead!`);return re.apply(this,R)}),F=Object.create(w,{constructor:{value:T}});T.prototype=F;var P=new RegisteredClass(b,T,F,A,S,u,p,y);P.baseClass&&((M=(x=P.baseClass).__derivedClasses)!=null||(x.__derivedClasses=[]),P.baseClass.__derivedClasses.push(P));var I=new RegisteredPointer(b,P,!0,!1,!1),B=new RegisteredPointer(b+"*",P,!1,!1,!1),C=new RegisteredPointer(b+" const*",P,!1,!0,!1);return registeredPointers[e]={pointerType:B,constPointerType:C},replacePublicSymbol(L,T),[I,B,C]})}__embind_register_class.sig="vppppppppppppp";var __embind_register_iterable=function(e,t,n,o){e>>>=0,t>>>=0,n>>>=0,o>>>=0,n=AsciiToString(n),o=AsciiToString(o),whenDependentTypesAreResolved([],[e,t],c=>{let u=c[0];return installIndexedIterator(u.registeredClass.instancePrototype,n,o),[]})};__embind_register_iterable.sig="vpppp";var __embind_register_class_constructor=function(e,t,n,o,c,u){e>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0;var d=heap32VectorToArray(t,n);c=embind__requireFunction(o,c);var p=[u],h=[];whenDependentTypesAreResolved([],[e],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,o,c,u,d,p,h,y){e>>>=0,t>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0;var b=heap32VectorToArray(n,o);t=AsciiToString(t),t=getFunctionName(t),u=embind__requireFunction(c,u,h),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 L(){throwUnboundTypeError(`Cannot call ${A} due to unbound types`,b)}var E=v.registeredClass.instancePrototype,S=E[t];return S===void 0||S.overloadTable===void 0&&S.className!==v.name&&S.argCount===n-2?(L.argCount=n-2,L.className=v.name,E[t]=L):(ensureOverloadTable(E,t,A),E[t].overloadTable[n-2]=L),whenDependentTypesAreResolved([],b,w=>{var T=craftInvokerFunction(A,w,v,u,d,h);return E[t].overloadTable===void 0?(T.argCount=n-2,E[t]=T):E[t].overloadTable[n-2]=T,[]}),[]})};__embind_register_class_function.sig="vppippppiii";var __embind_register_class_property=function(e,t,n,o,c,u,d,p,h,y){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,y>>>=0,t=AsciiToString(t),c=embind__requireFunction(o,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 h?A.set=()=>throwUnboundTypeError(`Cannot access ${v} due to unbound types`,[n,d]):A.set=L=>throwBindingError(v+" is a read-only property"),Object.defineProperty(b.registeredClass.instancePrototype,t,A),whenDependentTypesAreResolved([],h?[n,d]:[n],L=>{var E=L[0],S={get(){var T=validateThis(this,b,v+" getter");return E.fromWireType(c(u,T))},enumerable:!0};if(h){h=embind__requireFunction(p,h);var w=L[1];S.set=function(T){var F=validateThis(this,b,v+" setter"),P=[];h(y,F,w.toWireType(P,T)),runDestructors(P)}}return Object.defineProperty(b.registeredClass.instancePrototype,t,S),[]}),[]})};__embind_register_class_property.sig="vpppppppppp";var __embind_register_class_class_function=function(e,t,n,o,c,u,d,p,h){e>>>=0,t>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0;var y=heap32VectorToArray(n,o);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 L=b.registeredClass.constructor;return L[t]===void 0?(A.argCount=n-1,L[t]=A):(ensureOverloadTable(L,t,v),L[t].overloadTable[n-1]=A),whenDependentTypesAreResolved([],y,E=>{var S=[E[0],null].concat(E.slice(1)),w=craftInvokerFunction(v,S,null,u,d,p);if(L[t].overloadTable===void 0?(w.argCount=n-1,L[t]=w):L[t].overloadTable[n-1]=w,b.registeredClass.__derivedClasses)for(let T of b.registeredClass.__derivedClasses)T.constructor.hasOwnProperty(t)||(T.constructor[t]=w);return[]}),[]})};__embind_register_class_class_function.sig="vppippppii";var __embind_register_class_class_property=function(e,t,n,o,c,u,d,p){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,t=AsciiToString(t),u=embind__requireFunction(c,u),whenDependentTypesAreResolved([],[e],h=>{h=h[0];var y=`${h.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(h.registeredClass.constructor,t,b),whenDependentTypesAreResolved([],[n],v=>{v=v[0];var A={get(){return v.fromWireType(u(o))},enumerable:!0};return p&&(p=embind__requireFunction(d,p),A.set=L=>{var E=[];p(o,v.toWireType(E,L)),runDestructors(E)}),Object.defineProperty(h.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 o=t.registeredClass,c=o.instancePrototype,u=o.baseClass,d=u.instancePrototype,p=o.baseClass.constructor,h=createNamedFunction(e,function(...y){for(var b of o.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(o,A.ptr,this)},c.__destruct=function(){this===c&&throwBindingError('Pass correct "this" to __destruct'),detachFinalizer(this),unregisterInheritedInstance(o,this.$$.ptr)},h.prototype=Object.create(c),Object.assign(h.prototype,n),Emval.toHandle(h)}__embind_create_inheriting_constructor.sig="pppp";var __embind_register_smart_ptr=function(e,t,n,o,c,u,d,p,h,y,b,v){e>>>=0,t>>>=0,n>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,y>>>=0,b>>>=0,v>>>=0,n=AsciiToString(n),u=embind__requireFunction(c,u),p=embind__requireFunction(d,p),y=embind__requireFunction(h,y),v=embind__requireFunction(b,v),whenDependentTypesAreResolved([e],[t],A=>{A=A[0];var L=new RegisteredPointer(n,A.registeredClass,!1,!1,!0,A,o,u,p,y,v);return[L]})};__embind_register_smart_ptr.sig="vpppipppppppp";function __embind_register_enum(e,t,n,o,c){e>>>=0,t>>>=0,n>>>=0,t=AsciiToString(t);let u=getEnumValueType(c);switch(u){case"object":{let 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,o),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,o),destructorFunction:null}),exposePublicSymbol(t,d),delete Module[t].argCount;break}case"string":{var p={},h={},d={};registerType(e,{name:t,valuesMap:p,reverseMap:h,keysMap:d,valueType:u,fromWireType:function(v){return this.reverseMap[v]},toWireType:function(v,A){return this.valuesMap[A]},readValueFromPointer:enumReadValueFromPointer(t,n,o),destructorFunction:null}),exposePublicSymbol(t,d),delete Module[t].argCount;break}}}__embind_register_enum.sig="vpppii";function __embind_register_enum_value(e,t,n){e>>>=0,t>>>=0;var o=requireRegisteredType(e,"enum");switch(t=AsciiToString(t),o.valueType){case"object":{var c=o.constructor,u=Object.create(o.constructor.prototype,{value:{value:n},constructor:{value:createNamedFunction(`${o.name}_${t}`,function(){})}});c.values[n]=u,c[t]=u;break}case"number":{o.keysMap[t]=n;break}case"string":{o.valuesMap[t]=n,o.reverseMap[n]=t,o.keysMap[t]=t;break}}}__embind_register_enum_value.sig="vppi";var __embind_register_constant=function(e,t,n){e>>>=0,t>>>=0,e=AsciiToString(e),whenDependentTypesAreResolved([],[t],o=>(o=o[0],Module[e]=o.fromWireType(n),[]))};__embind_register_constant.sig="vppd";var count_emval_handles=()=>emval_handles.length/2-5-emval_freelist.length;function __emval_register_symbol(e){e>>>=0,emval_symbols[e]=AsciiToString(e)}__emval_register_symbol.sig="vp";function __emval_new_array(){return Emval.toHandle([])}__emval_new_array.sig="p";function __emval_new_array_from_memory_view(e){e>>>=0,e=Emval.toValue(e);for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=e[n];return Emval.toHandle(t)}__emval_new_array_from_memory_view.sig="pp";function __emval_array_to_memory_view(e,t){e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e.set(t)}__emval_array_to_memory_view.sig="vpp";function __emval_new_object(){return Emval.toHandle({})}__emval_new_object.sig="p";function __emval_new_cstring(e){return e>>>=0,Emval.toHandle(getStringOrSymbol(e))}__emval_new_cstring.sig="pp";function __emval_new_u8string(e){return e>>>=0,Emval.toHandle(UTF8ToString(e))}__emval_new_u8string.sig="pp";function __emval_new_u16string(e){return e>>>=0,Emval.toHandle(UTF16ToString(e))}__emval_new_u16string.sig="pp";function __emval_get_module_property(e){return e>>>=0,e=getStringOrSymbol(e),Emval.toHandle(Module[e])}__emval_get_module_property.sig="pp";function __emval_get_property(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),Emval.toHandle(e[t])}__emval_get_property.sig="ppp";function __emval_set_property(e,t,n){e>>>=0,t>>>=0,n>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),n=Emval.toValue(n),e[t]=n}__emval_set_property.sig="vppp";function __emval_equals(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e==t}__emval_equals.sig="ipp";function __emval_strictly_equals(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e===t}__emval_strictly_equals.sig="ipp";function __emval_greater_than(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e>t}__emval_greater_than.sig="ipp";function __emval_less_than(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e<t}__emval_less_than.sig="ipp";function __emval_not(e){return e>>>=0,e=Emval.toValue(e),!e}__emval_not.sig="ip";function __emval_invoke_i64(e,t,n,o,c){return e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,__emval_invoke(e,t,n,o,c)}__emval_invoke_i64.sig="jppppp";function __emval_typeof(e){return e>>>=0,e=Emval.toValue(e),Emval.toHandle(typeof e)}__emval_typeof.sig="pp";function __emval_instanceof(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e instanceof t}__emval_instanceof.sig="ipp";function __emval_is_number(e){return e>>>=0,e=Emval.toValue(e),typeof e=="number"}__emval_is_number.sig="ip";function __emval_is_string(e){return e>>>=0,e=Emval.toValue(e),typeof e=="string"}__emval_is_string.sig="ip";function __emval_in(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e in t}__emval_in.sig="ipp";function __emval_delete(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),delete e[t]}__emval_delete.sig="ipp";function __emval_throw(e){throw e>>>=0,e=Emval.toValue(e),isCppExceptionObject(e)&&(incrementUncaughtExceptionCount(),incrementExceptionRefcount(e)),e}__emval_throw.sig="ip";function __emval_iter_begin(e){return e>>>=0,e=Emval.toValue(e),Emval.toHandle(e[Symbol.iterator]())}__emval_iter_begin.sig="pp";function __emval_iter_next(e){e>>>=0,e=Emval.toValue(e);var t=e.next();return t.done?0:Emval.toHandle(t.value)}__emval_iter_next.sig="pp";var __emval_coro_suspend=function(e,t){e>>>=0,t>>>=0,Emval.toValue(e).then(n=>__emval_coro_resume(t,Emval.toHandle(n)),n=>__emval_coro_reject(t,Emval.toHandle(n)))};__emval_coro_suspend.sig="vpp";var __emval_coro_make_promise=function(e,t){return e>>>=0,t>>>=0,Emval.toHandle(new Promise((n,o)=>{HEAPU32[e>>>2>>>0]=Emval.toHandle(n),HEAPU32[t>>>2>>>0]=Emval.toHandle(o)}))};__emval_coro_make_promise.sig="ppp";function __emval_from_current_cxa_exception(){try{___cxa_rethrow()}catch(t){decrementUncaughtExceptionCount();var e=Emval.toHandle(t);return emval_exception_decrefs[e]=decrementExceptionRefcount,e}}__emval_from_current_cxa_exception.sig="p";function _duckdb_web_fs_file_sync(e){try{return globalThis.DUCKDB_RUNTIME.syncFile(Module,e)}catch(t){if(typeof WebAssembly<"u"&&t instanceof WebAssembly.Exception)throw t;Module.ccall("duckdb_web_fail_with",null,["string"],[String(t&&t.message||t)])}}_duckdb_web_fs_file_sync.sig="vi";function _duckdb_web_fs_file_get_last_modified_time(e){try{return globalThis.DUCKDB_RUNTIME.getLastFileModificationTime(Module,e)}catch(t){if(typeof WebAssembly<"u"&&t instanceof WebAssembly.Exception)throw t;Module.ccall("duckdb_web_fail_with",null,["string"],[String(t&&t.message||t)])}}_duckdb_web_fs_file_get_last_modified_time.sig="di",registerWasmPlugin(),FS.createPreloadedFile=FS_createPreloadedFile,FS.preloadFile=FS_preloadFile,FS.staticInit(),Module.requestAnimationFrame=MainLoop.requestAnimationFrame,Module.pauseMainLoop=MainLoop.pause,Module.resumeMainLoop=MainLoop.resume,MainLoop.init();for(let e=0;e<32;++e)tempFixedLengthArray.push(new Array(e));for(var miniTempWebGLFloatBuffersStorage=new Float32Array(288),i=0;i<=288;++i)miniTempWebGLFloatBuffers[i]=miniTempWebGLFloatBuffersStorage.subarray(0,i);for(var miniTempWebGLIntBuffersStorage=new Int32Array(288),i=0;i<=288;++i)miniTempWebGLIntBuffers[i]=miniTempWebGLIntBuffersStorage.subarray(0,i);if(globalThis.setImmediate)emSetImmediate=setImmediateWrapped,emClearImmediate=clearImmediateWrapped;else if(globalThis.addEventListener){var __setImmediate_id_counter=0,__setImmediate_queue=[],__setImmediate_message_id="_si",__setImmediate_cb=e=>{var t;e.data===__setImmediate_message_id&&(e.stopPropagation(),(t=__setImmediate_queue.shift())==null||t(),++__setImmediate_id_counter)};addEventListener("message",__setImmediate_cb,!0),emSetImmediate=e=>(postMessage(__setImmediate_message_id,"*"),__setImmediate_id_counter+__setImmediate_queue.push(e)-1),emClearImmediate=e=>{var t=e-__setImmediate_id_counter;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();{Module.noExitRuntime&&(noExitRuntime=Module.noExitRuntime),Module.print&&(out=Module.print),Module.printErr&&(err=Module.printErr),Module.dynamicLibraries&&(dynamicLibraries=Module.dynamicLibraries),Module.arguments&&(programArgs=Module.arguments),Module.thisProgram&&(thisProgram=Module.thisProgram);var preInit=Module.preInit;if(preInit)for(typeof preInit=="function"&&(Module.preInit=preInit=[preInit]);preInit.length>0;)preInit.shift()()}Module.stackSave=stackSave,Module.stackRestore=stackRestore,Module.stackAlloc=stackAlloc,Module.ccall=ccall,Module.stringToUTF8=stringToUTF8,Module.lengthBytesUTF8=lengthBytesUTF8,Module.stackAlloc=stackAlloc,Module.lengthBytesUTF8=lengthBytesUTF8,Module.stringToUTF8=stringToUTF8,Module._setTempRet0=_setTempRet0,Module._getTempRet0=_getTempRet0,Module._sched_yield=_sched_yield,Module._emscripten_wget=_emscripten_wget;var ASM_CONSTS={2426796:(e,t)=>{var n=UTF8ToString(e),o;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))";o=Bn("node:child_process").execFileSync(process.execPath,["-e",c,n],{maxBuffer:1073741824,stdio:["ignore","pipe","ignore"]})}else o=Bn("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;o=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;o=new Uint8Array(d.length);for(var p=0;p<d.length;p++)o[p]=d.charCodeAt(p)&255}}catch{return 0}var h=_malloc(o.byteLength)>>>0;return HEAPU8.set(o,h>>>0),HEAPU32[t>>>2>>>0]=o.byteLength,h},2428028:(e,t,n)=>{FS.writeFile(UTF8ToString(e),HEAPU8.subarray(t>>>0,t+n>>>0))},2428094:e=>{FS.unlink(UTF8ToString(e))},2428127:(e,t,n,o)=>{var c=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let u=new XMLHttpRequest;u.open(UTF8ToString(o),c,!1),u.responseType="arraybuffer";for(var d=0,v=t;d<v*2;){var p=HEAP32[n/4+d>>>0],h=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(h)):u.setRequestHeader(y,encodeURI(UTF8ToString(h))))}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),L=new Uint8Array(b),E=0;E<v;E++)Module.HEAPU8[E+A+8]=L[E];var S=new Uint8Array(4);S[0]=v%256,v-=S[0],v/=256,S[1]=v%256,v-=S[1],v/=256,S[2]=v%256,v-=S[2],v/=256,S[3]=v%256,v-=S[3],v/=256,Module.HEAPU8.set(S,A+4);var w=Uint8Array.from(Array.from(u.getAllResponseHeaders()).map(I=>I.charCodeAt(0)));v=w.byteLength;for(var T=_malloc(v+8),E=0;E<v;E++)Module.HEAPU8[E+T+8]=w[E];S=new Uint8Array(4),S[0]=v%256,v-=S[0],v/=256,S[1]=v%256,v-=S[1],v/=256,S[2]=v%256,v-=S[2],v/=256,S[3]=v%256,v-=S[3],v/=256,Module.HEAPU8.set(S,T+4);var F=u.status,P=new Uint8Array(4);return P[0]=F%256,F-=P[0],F/=256,P[1]=F%256,F-=P[1],F/=256,P[2]=F%256,F-=P[2],F/=256,P[3]=F%256,Module.HEAPU8.set(P,T+0),v=T,S=new Uint8Array(4),S[0]=v%256,v-=S[0],v/=256,S[1]=v%256,v-=S[1],v/=256,S[2]=v%256,v-=S[2],v/=256,S[3]=v%256,v-=S[3],v/=256,Module.HEAPU8.set(S,A),A},2430779:(e,t,n,o,c,u)=>{var d=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let p=new XMLHttpRequest;p.open(UTF8ToString(o),d,!1),p.responseType="arraybuffer";for(var h=0,F=t,y=!1;h<F*2;){var b=HEAP32[n/4+h>>>0],v=HEAP32[n/4+h+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(M){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",M)}h+=2}if(!y)try{p.setRequestHeader("Content-Type","application/octet-stream")}catch{}try{for(var L=new Uint8Array(u),E=0;E<u;E++)L[E]=Module.HEAPU8[E+c];p.send(L)}catch{return 0}if(p.status===0)return 0;var S;if(p.status>=400){var w=p.response;S=w?new Uint8Array(w):new Uint8Array(0)}else{var T=p.getResponseHeader("Etag");S=T?Uint8Array.from(Array.from(T).map(M=>M.charCodeAt(0))):new Uint8Array(0)}for(var F=S.byteLength,P=_malloc(F+8),I=new Uint8Array(S),E=0;E<F;E++)Module.HEAPU8[E+P+8]=I[E];var B=new Uint8Array(4);B[0]=F%256,F-=B[0],F/=256,B[1]=F%256,F-=B[1],F/=256,B[2]=F%256,F-=B[2],F/=256,B[3]=F%256,F-=B[3],F/=256,Module.HEAPU8.set(B,P+4);var C=p.status,x=new Uint8Array(4);return x[0]=C%256,C-=x[0],C/=256,x[1]=C%256,C-=x[1],C/=256,x[2]=C%256,C-=x[2],C/=256,x[3]=C%256,Module.HEAPU8.set(x,P+0),P},2433098:(e,t,n,o)=>{var c=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let u=new XMLHttpRequest;u.open(UTF8ToString(o),c,!1),u.responseType="arraybuffer";for(var d=0,v=t;d<v*2;){var p=HEAP32[n/4+d>>>0],h=HEAP32[n/4+d+1>>>0];console.log("HEAD",UTF8ToString(p),UTF8ToString(h));try{var y=encodeURI(UTF8ToString(p));y==="Host"&&(y="X-Host-Override"),y==="User-Agent"||(y.toLowerCase()==="authorization"?u.setRequestHeader(y,UTF8ToString(h)):u.setRequestHeader(y,encodeURI(UTF8ToString(h))))}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),L=new Uint8Array(b),E=0;E<v;E++)Module.HEAPU8[E+A+8]=L[E];var S=new Uint8Array(4);S[0]=v%256,v-=S[0],v/=256,S[1]=v%256,v-=S[1],v/=256,S[2]=v%256,v-=S[2],v/=256,S[3]=v%256,v-=S[3],v/=256,Module.HEAPU8.set(S,A+4);var w=Uint8Array.from(Array.from(u.getAllResponseHeaders()).map(I=>I.charCodeAt(0)));v=w.byteLength;for(var T=_malloc(v+8),E=0;E<v;E++)Module.HEAPU8[E+T+8]=w[E];S=new Uint8Array(4),S[0]=v%256,v-=S[0],v/=256,S[1]=v%256,v-=S[1],v/=256,S[2]=v%256,v-=S[2],v/=256,S[3]=v%256,v-=S[3],v/=256,Module.HEAPU8.set(S,T+4);var F=u.status,P=new Uint8Array(4);return P[0]=F%256,F-=P[0],F/=256,P[1]=F%256,F-=P[1],F/=256,P[2]=F%256,F-=P[2],F/=256,P[3]=F%256,Module.HEAPU8.set(P,T+0),v=T,S=new Uint8Array(4),S[0]=v%256,v-=S[0],v/=256,S[1]=v%256,v-=S[1],v/=256,S[2]=v%256,v-=S[2],v/=256,S[3]=v%256,v-=S[3],v/=256,Module.HEAPU8.set(S,A),A},2435811:(e,t,n,o)=>{var c=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let u=new XMLHttpRequest;u.open(UTF8ToString(o),c,!1),u.responseType="arraybuffer";for(var d=0,v=t;d<v*2;){var p=HEAP32[n/4+d>>>0],h=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(h)):u.setRequestHeader(y,encodeURI(UTF8ToString(h))))}catch(F){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",F)}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),L=new Uint8Array(b),E=0;E<v;E++)Module.HEAPU8[E+A+8]=L[E];var S=new Uint8Array(4);S[0]=v%256,v-=S[0],v/=256,S[1]=v%256,v-=S[1],v/=256,S[2]=v%256,v-=S[2],v/=256,S[3]=v%256,v-=S[3],v/=256,Module.HEAPU8.set(S,A+4);var w=u.status,T=new Uint8Array(4);return T[0]=w%256,w-=T[0],w/=256,T[1]=w%256,w-=T[1],w/=256,T[2]=w%256,w-=T[2],w/=256,T[3]=w%256,Module.HEAPU8.set(T,A+0),A},2437587:(e,t,n,o,c,u)=>{var d=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let p=new XMLHttpRequest;p.open(UTF8ToString(o),d,!1),p.responseType="arraybuffer";for(var h=0,S=t;h<S*2;){var y=HEAP32[n/4+h>>>0],b=HEAP32[n/4+h+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(B){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",B)}h+=2}try{for(var A=new Uint8Array(u),L=0;L<u;L++)A[L]=Module.HEAPU8[L+c];p.send(A)}catch{return 0}if(p.status===0)return 0;var E=p.response;E||(E=new ArrayBuffer(0));for(var S=E.byteLength,w=_malloc(S+8),T=new Uint8Array(E),L=0;L<S;L++)Module.HEAPU8[L+w+8]=T[L];var F=new Uint8Array(4);F[0]=S%256,S-=F[0],S/=256,F[1]=S%256,S-=F[1],S/=256,F[2]=S%256,S-=F[2],S/=256,F[3]=S%256,S-=F[3],S/=256,Module.HEAPU8.set(F,w+4);var P=p.status,I=new Uint8Array(4);return I[0]=P%256,P-=I[0],P/=256,I[1]=P%256,P-=I[1],P/=256,I[2]=P%256,P-=I[2],P/=256,I[3]=P%256,Module.HEAPU8.set(I,w+0),w},2439494:e=>{if(!e)return AL.alcErr=40964,1},2439542:e=>{if(!AL.currentCtx)return err("alGetProcAddress() called without a valid context"),1;if(!e)return AL.currentCtx.err=40963,1}},___getTypeName,__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,___dl_seterr,__emscripten_find_dylib,_memcpy,_fileno,_htonl,_htons,_memcmp,_ntohs,__emscripten_timeout,_strerror,_malloc,_free,_calloc,_realloc,_emscripten_builtin_memalign,_emscripten_get_sbrk_ptr,___trap,__emscripten_tempret_set,__emscripten_tempret_get,__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,memory,___stack_pointer,__indirect_function_table,___cpp_exception,___heap_base,wasmTable,wasmMemory,incrementUncaughtExceptionCount,decrementUncaughtExceptionCount;function assignWasmExports(e){___getTypeName=e.__getTypeName,__emval_coro_resume=e._emval_coro_resume,__emval_coro_reject=e._emval_coro_reject,_main=Module._main=e.main,_duckdb_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,___dl_seterr=e.__dl_seterr,__emscripten_find_dylib=e._emscripten_find_dylib,_memcpy=e.memcpy,_fileno=e.fileno,_htonl=e.htonl,_htons=e.htons,_memcmp=e.memcmp,_ntohs=e.ntohs,__emscripten_timeout=e._emscripten_timeout,_strerror=e.strerror,_malloc=Module._malloc=e.malloc,_free=Module._free=e.free,_calloc=Module._calloc=e.calloc,_realloc=e.realloc,_emscripten_builtin_memalign=e.emscripten_builtin_memalign,_emscripten_get_sbrk_ptr=e.emscripten_get_sbrk_ptr,___trap=e.__trap,__emscripten_tempret_set=e._emscripten_tempret_set,__emscripten_tempret_get=e._emscripten_tempret_get,__emscripten_stack_restore=e._emscripten_stack_restore,__emscripten_stack_alloc=e._emscripten_stack_alloc,_emscripten_stack_get_current=e.emscripten_stack_get_current,___cxa_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,memory=wasmMemory=Module.wasmMemory=e.memory,___stack_pointer=e.__stack_pointer,__indirect_function_table=wasmTable=e.__indirect_function_table,___cpp_exception=e.__cpp_exception,___heap_base=e.__heap_base.value>>>0}var wasmImports={IMG_Init:_IMG_Init,IMG_Load:_IMG_Load,IMG_Load_RW:_IMG_Load_RW,IMG_Quit:_IMG_Quit,Mix_AllocateChannels:_Mix_AllocateChannels,Mix_ChannelFinished:_Mix_ChannelFinished,Mix_CloseAudio:_Mix_CloseAudio,Mix_FadeInChannelTimed:_Mix_FadeInChannelTimed,Mix_FadeInMusicPos:_Mix_FadeInMusicPos,Mix_FadeOutChannel:_Mix_FadeOutChannel,Mix_FadeOutMusic:_Mix_FadeOutMusic,Mix_FadingChannel:_Mix_FadingChannel,Mix_FreeChunk:_Mix_FreeChunk,Mix_FreeMusic:_Mix_FreeMusic,Mix_HaltChannel:_Mix_HaltChannel,Mix_HaltMusic:_Mix_HaltMusic,Mix_HookMusicFinished:_Mix_HookMusicFinished,Mix_Init:_Mix_Init,Mix_Linked_Version:_Mix_Linked_Version,Mix_LoadMUS:_Mix_LoadMUS,Mix_LoadMUS_RW:_Mix_LoadMUS_RW,Mix_LoadWAV:_Mix_LoadWAV,Mix_LoadWAV_RW:_Mix_LoadWAV_RW,Mix_OpenAudio:_Mix_OpenAudio,Mix_Pause:_Mix_Pause,Mix_PauseMusic:_Mix_PauseMusic,Mix_Paused:_Mix_Paused,Mix_PausedMusic:_Mix_PausedMusic,Mix_PlayChannelTimed:_Mix_PlayChannelTimed,Mix_PlayMusic:_Mix_PlayMusic,Mix_Playing:_Mix_Playing,Mix_PlayingMusic:_Mix_PlayingMusic,Mix_QuerySpec:_Mix_QuerySpec,Mix_QuickLoad_RAW:_Mix_QuickLoad_RAW,Mix_Quit:_Mix_Quit,Mix_ReserveChannels:_Mix_ReserveChannels,Mix_Resume:_Mix_Resume,Mix_ResumeMusic:_Mix_ResumeMusic,Mix_SetPanning:_Mix_SetPanning,Mix_SetPosition:_Mix_SetPosition,Mix_SetPostMix:_Mix_SetPostMix,Mix_Volume:_Mix_Volume,Mix_VolumeChunk:_Mix_VolumeChunk,Mix_VolumeMusic:_Mix_VolumeMusic,SDL_AddTimer:_SDL_AddTimer,SDL_AllocRW:_SDL_AllocRW,SDL_AudioDriverName:_SDL_AudioDriverName,SDL_AudioQuit:_SDL_AudioQuit,SDL_ClearError:_SDL_ClearError,SDL_CloseAudio:_SDL_CloseAudio,SDL_CondBroadcast:_SDL_CondBroadcast,SDL_CondSignal:_SDL_CondSignal,SDL_CondWait:_SDL_CondWait,SDL_CondWaitTimeout:_SDL_CondWaitTimeout,SDL_ConvertSurface:_SDL_ConvertSurface,SDL_CreateCond:_SDL_CreateCond,SDL_CreateMutex:_SDL_CreateMutex,SDL_CreateRGBSurface:_SDL_CreateRGBSurface,SDL_CreateRGBSurfaceFrom:_SDL_CreateRGBSurfaceFrom,SDL_CreateThread:_SDL_CreateThread,SDL_Delay:_SDL_Delay,SDL_DestroyCond:_SDL_DestroyCond,SDL_DestroyMutex:_SDL_DestroyMutex,SDL_DestroyRenderer:_SDL_DestroyRenderer,SDL_DestroyWindow:_SDL_DestroyWindow,SDL_DisplayFormat:_SDL_DisplayFormat,SDL_DisplayFormatAlpha:_SDL_DisplayFormatAlpha,SDL_EnableKeyRepeat:_SDL_EnableKeyRepeat,SDL_EnableUNICODE:_SDL_EnableUNICODE,SDL_FillRect:_SDL_FillRect,SDL_Flip:_SDL_Flip,SDL_FreeRW:_SDL_FreeRW,SDL_FreeSurface:_SDL_FreeSurface,SDL_GL_DeleteContext:_SDL_GL_DeleteContext,SDL_GL_ExtensionSupported:_SDL_GL_ExtensionSupported,SDL_GL_GetAttribute:_SDL_GL_GetAttribute,SDL_GL_GetSwapInterval:_SDL_GL_GetSwapInterval,SDL_GL_MakeCurrent:_SDL_GL_MakeCurrent,SDL_GL_SetAttribute:_SDL_GL_SetAttribute,SDL_GL_SetSwapInterval:_SDL_GL_SetSwapInterval,SDL_GL_SwapBuffers:_SDL_GL_SwapBuffers,SDL_GL_SwapWindow:_SDL_GL_SwapWindow,SDL_GetAppState:_SDL_GetAppState,SDL_GetAudioDriver:_SDL_GetAudioDriver,SDL_GetClipRect:_SDL_GetClipRect,SDL_GetCurrentAudioDriver:_SDL_GetCurrentAudioDriver,SDL_GetError:_SDL_GetError,SDL_GetKeyName:_SDL_GetKeyName,SDL_GetKeyState:_SDL_GetKeyState,SDL_GetKeyboardState:_SDL_GetKeyboardState,SDL_GetModState:_SDL_GetModState,SDL_GetMouseState:_SDL_GetMouseState,SDL_GetNumAudioDrivers:_SDL_GetNumAudioDrivers,SDL_GetRGB:_SDL_GetRGB,SDL_GetRGBA:_SDL_GetRGBA,SDL_GetScancodeFromKey:_SDL_GetScancodeFromKey,SDL_GetThreadID:_SDL_GetThreadID,SDL_GetTicks:_SDL_GetTicks,SDL_GetVideoInfo:_SDL_GetVideoInfo,SDL_GetVideoSurface:_SDL_GetVideoSurface,SDL_GetWindowFlags:_SDL_GetWindowFlags,SDL_GetWindowSize:_SDL_GetWindowSize,SDL_Has3DNow:_SDL_Has3DNow,SDL_Has3DNowExt:_SDL_Has3DNowExt,SDL_HasAltiVec:_SDL_HasAltiVec,SDL_HasMMX:_SDL_HasMMX,SDL_HasMMXExt:_SDL_HasMMXExt,SDL_HasRDTSC:_SDL_HasRDTSC,SDL_HasSSE:_SDL_HasSSE,SDL_HasSSE2:_SDL_HasSSE2,SDL_Init:_SDL_Init,SDL_InitSubSystem:_SDL_InitSubSystem,SDL_JoystickClose:_SDL_JoystickClose,SDL_JoystickEventState:_SDL_JoystickEventState,SDL_JoystickGetAxis:_SDL_JoystickGetAxis,SDL_JoystickGetBall:_SDL_JoystickGetBall,SDL_JoystickGetButton:_SDL_JoystickGetButton,SDL_JoystickGetHat:_SDL_JoystickGetHat,SDL_JoystickIndex:_SDL_JoystickIndex,SDL_JoystickName:_SDL_JoystickName,SDL_JoystickNumAxes:_SDL_JoystickNumAxes,SDL_JoystickNumBalls:_SDL_JoystickNumBalls,SDL_JoystickNumButtons:_SDL_JoystickNumButtons,SDL_JoystickNumHats:_SDL_JoystickNumHats,SDL_JoystickOpen:_SDL_JoystickOpen,SDL_JoystickOpened:_SDL_JoystickOpened,SDL_JoystickUpdate:_SDL_JoystickUpdate,SDL_Linked_Version:_SDL_Linked_Version,SDL_ListModes:_SDL_ListModes,SDL_LoadBMP_RW:_SDL_LoadBMP_RW,SDL_LockAudio:_SDL_LockAudio,SDL_LockSurface:_SDL_LockSurface,SDL_LogSetOutputFunction:_SDL_LogSetOutputFunction,SDL_LowerBlit:_SDL_LowerBlit,SDL_LowerBlitScaled:_SDL_LowerBlitScaled,SDL_MapRGB:_SDL_MapRGB,SDL_MapRGBA:_SDL_MapRGBA,SDL_NumJoysticks:_SDL_NumJoysticks,SDL_OpenAudio:_SDL_OpenAudio,SDL_PauseAudio:_SDL_PauseAudio,SDL_PeepEvents:_SDL_PeepEvents,SDL_PollEvent:_SDL_PollEvent,SDL_PumpEvents:_SDL_PumpEvents,SDL_PushEvent:_SDL_PushEvent,SDL_Quit:_SDL_Quit,SDL_QuitSubSystem:_SDL_QuitSubSystem,SDL_RWFromConstMem:_SDL_RWFromConstMem,SDL_RWFromFile:_SDL_RWFromFile,SDL_RWFromMem:_SDL_RWFromMem,SDL_RemoveTimer:_SDL_RemoveTimer,SDL_SaveBMP_RW:_SDL_SaveBMP_RW,SDL_SetAlpha:_SDL_SetAlpha,SDL_SetClipRect:_SDL_SetClipRect,SDL_SetColorKey:_SDL_SetColorKey,SDL_SetColors:_SDL_SetColors,SDL_SetError:_SDL_SetError,SDL_SetGamma:_SDL_SetGamma,SDL_SetGammaRamp:_SDL_SetGammaRamp,SDL_SetPalette:_SDL_SetPalette,SDL_SetVideoMode:_SDL_SetVideoMode,SDL_SetWindowFullscreen:_SDL_SetWindowFullscreen,SDL_SetWindowTitle:_SDL_SetWindowTitle,SDL_ShowCursor:_SDL_ShowCursor,SDL_StartTextInput:_SDL_StartTextInput,SDL_StopTextInput:_SDL_StopTextInput,SDL_ThreadID:_SDL_ThreadID,SDL_UnlockAudio:_SDL_UnlockAudio,SDL_UnlockSurface:_SDL_UnlockSurface,SDL_UpdateRect:_SDL_UpdateRect,SDL_UpdateRects:_SDL_UpdateRects,SDL_UpperBlit:_SDL_UpperBlit,SDL_UpperBlitScaled:_SDL_UpperBlitScaled,SDL_VideoDriverName:_SDL_VideoDriverName,SDL_VideoModeOK:_SDL_VideoModeOK,SDL_VideoQuit:_SDL_VideoQuit,SDL_WM_GrabInput:_SDL_WM_GrabInput,SDL_WM_IconifyWindow:_SDL_WM_IconifyWindow,SDL_WM_SetCaption:_SDL_WM_SetCaption,SDL_WM_SetIcon:_SDL_WM_SetIcon,SDL_WM_ToggleFullScreen:_SDL_WM_ToggleFullScreen,SDL_WaitThread:_SDL_WaitThread,SDL_WarpMouse:_SDL_WarpMouse,SDL_WasInit:_SDL_WasInit,SDL_mutexP:_SDL_mutexP,SDL_mutexV:_SDL_mutexV,TTF_CloseFont:_TTF_CloseFont,TTF_FontAscent:_TTF_FontAscent,TTF_FontDescent:_TTF_FontDescent,TTF_FontHeight:_TTF_FontHeight,TTF_FontLineSkip:_TTF_FontLineSkip,TTF_GlyphMetrics:_TTF_GlyphMetrics,TTF_Init:_TTF_Init,TTF_OpenFont:_TTF_OpenFont,TTF_Quit:_TTF_Quit,TTF_RenderText_Blended:_TTF_RenderText_Blended,TTF_RenderText_Shaded:_TTF_RenderText_Shaded,TTF_RenderText_Solid:_TTF_RenderText_Solid,TTF_RenderUTF8_Solid:_TTF_RenderUTF8_Solid,TTF_SizeText:_TTF_SizeText,TTF_SizeUTF8:_TTF_SizeUTF8,XChangeWindowAttributes:_XChangeWindowAttributes,XCreateWindow:_XCreateWindow,XInternAtom:_XInternAtom,XMapWindow:_XMapWindow,XOpenDisplay:_XOpenDisplay,XPending:_XPending,XSendEvent:_XSendEvent,XSetWMHints:_XSetWMHints,XStoreName:_XStoreName,__asctime_r:___asctime_r,__assert_fail:___assert_fail,__call_sighandler:___call_sighandler,__syscall_accept4:___syscall_accept4,__syscall_bind:___syscall_bind,__syscall_chdir:___syscall_chdir,__syscall_chmod:___syscall_chmod,__syscall_connect:___syscall_connect,__syscall_dup:___syscall_dup,__syscall_dup3:___syscall_dup3,__syscall_epoll_create1:___syscall_epoll_create1,__syscall_epoll_ctl:___syscall_epoll_ctl,__syscall_epoll_pwait:___syscall_epoll_pwait,__syscall_epoll_pwait_nonblocking:___syscall_epoll_pwait_nonblocking,__syscall_faccessat:___syscall_faccessat,__syscall_fadvise64:___syscall_fadvise64,__syscall_fallocate:___syscall_fallocate,__syscall_fchdir:___syscall_fchdir,__syscall_fchmod:___syscall_fchmod,__syscall_fchmodat2:___syscall_fchmodat2,__syscall_fchown32:___syscall_fchown32,__syscall_fchownat:___syscall_fchownat,__syscall_fcntl64:___syscall_fcntl64,__syscall_fdatasync:___syscall_fdatasync,__syscall_fstat64:___syscall_fstat64,__syscall_fstatfs64:___syscall_fstatfs64,__syscall_ftruncate64:___syscall_ftruncate64,__syscall_getcwd:___syscall_getcwd,__syscall_getdents64:___syscall_getdents64,__syscall_getegid32:___syscall_getegid32,__syscall_geteuid32:___syscall_geteuid32,__syscall_getgid32:___syscall_getgid32,__syscall_getpeername:___syscall_getpeername,__syscall_getsockname:___syscall_getsockname,__syscall_getsockopt:___syscall_getsockopt,__syscall_getuid32:___syscall_getuid32,__syscall_ioctl:___syscall_ioctl,__syscall_linkat:___syscall_linkat,__syscall_listen:___syscall_listen,__syscall_lstat64:___syscall_lstat64,__syscall_mkdirat:___syscall_mkdirat,__syscall_mknodat:___syscall_mknodat,__syscall_newfstatat:___syscall_newfstatat,__syscall_openat:___syscall_openat,__syscall_pipe2:___syscall_pipe2,__syscall_poll:___syscall_poll,__syscall_poll_nonblocking:___syscall_poll_nonblocking,__syscall_readlinkat:___syscall_readlinkat,__syscall_recvfrom:___syscall_recvfrom,__syscall_recvmsg:___syscall_recvmsg,__syscall_renameat:___syscall_renameat,__syscall_rmdir:___syscall_rmdir,__syscall_sendmsg:___syscall_sendmsg,__syscall_sendto:___syscall_sendto,__syscall_setsockopt:___syscall_setsockopt,__syscall_shutdown:___syscall_shutdown,__syscall_socket:___syscall_socket,__syscall_stat64:___syscall_stat64,__syscall_statfs64:___syscall_statfs64,__syscall_symlinkat:___syscall_symlinkat,__syscall_truncate64:___syscall_truncate64,__syscall_umask:___syscall_umask,__syscall_unlinkat:___syscall_unlinkat,__syscall_utimensat:___syscall_utimensat,_abort_js:__abort_js,_dlopen_js:__dlopen_js,_dlsym_catchup_js:__dlsym_catchup_js,_dlsym_js:__dlsym_js,_embind_create_inheriting_constructor:__embind_create_inheriting_constructor,_embind_finalize_value_array:__embind_finalize_value_array,_embind_finalize_value_object:__embind_finalize_value_object,_embind_register_bigint:__embind_register_bigint,_embind_register_bool:__embind_register_bool,_embind_register_class:__embind_register_class,_embind_register_class_class_function:__embind_register_class_class_function,_embind_register_class_class_property:__embind_register_class_class_property,_embind_register_class_constructor:__embind_register_class_constructor,_embind_register_class_function:__embind_register_class_function,_embind_register_class_property:__embind_register_class_property,_embind_register_constant:__embind_register_constant,_embind_register_emval:__embind_register_emval,_embind_register_enum:__embind_register_enum,_embind_register_enum_value:__embind_register_enum_value,_embind_register_float:__embind_register_float,_embind_register_function:__embind_register_function,_embind_register_integer:__embind_register_integer,_embind_register_iterable:__embind_register_iterable,_embind_register_memory_view:__embind_register_memory_view,_embind_register_optional:__embind_register_optional,_embind_register_smart_ptr:__embind_register_smart_ptr,_embind_register_std_string:__embind_register_std_string,_embind_register_std_wstring:__embind_register_std_wstring,_embind_register_user_type:__embind_register_user_type,_embind_register_user_type_definition:__embind_register_user_type_definition,_embind_register_value_array:__embind_register_value_array,_embind_register_value_array_element:__embind_register_value_array_element,_embind_register_value_object:__embind_register_value_object,_embind_register_value_object_field:__embind_register_value_object_field,_embind_register_void:__embind_register_void,_emscripten_dlopen_js:__emscripten_dlopen_js,_emscripten_fs_load_embedded_files:__emscripten_fs_load_embedded_files,_emscripten_get_last_devicemotion_event:__emscripten_get_last_devicemotion_event,_emscripten_get_last_deviceorientation_event:__emscripten_get_last_deviceorientation_event,_emscripten_get_last_mouse_event:__emscripten_get_last_mouse_event,_emscripten_get_now_is_monotonic:__emscripten_get_now_is_monotonic,_emscripten_get_progname:__emscripten_get_progname,_emscripten_log_formatted:__emscripten_log_formatted,_emscripten_lookup_name:__emscripten_lookup_name,_emscripten_push_main_loop_blocker:__emscripten_push_main_loop_blocker,_emscripten_push_uncounted_main_loop_blocker:__emscripten_push_uncounted_main_loop_blocker,_emscripten_runtime_keepalive_clear:__emscripten_runtime_keepalive_clear,_emscripten_system:__emscripten_system,_emval_array_to_memory_view:__emval_array_to_memory_view,_emval_coro_make_promise:__emval_coro_make_promise,_emval_coro_suspend:__emval_coro_suspend,_emval_create_invoker:__emval_create_invoker,_emval_decref:__emval_decref,_emval_delete:__emval_delete,_emval_equals:__emval_equals,_emval_from_current_cxa_exception:__emval_from_current_cxa_exception,_emval_get_global:__emval_get_global,_emval_get_module_property:__emval_get_module_property,_emval_get_property:__emval_get_property,_emval_greater_than:__emval_greater_than,_emval_in:__emval_in,_emval_incref:__emval_incref,_emval_instanceof:__emval_instanceof,_emval_invoke:__emval_invoke,_emval_invoke_i64:__emval_invoke_i64,_emval_is_catchable_cpp_exception_object:__emval_is_catchable_cpp_exception_object,_emval_is_number:__emval_is_number,_emval_is_string:__emval_is_string,_emval_iter_begin:__emval_iter_begin,_emval_iter_next:__emval_iter_next,_emval_less_than:__emval_less_than,_emval_new_array:__emval_new_array,_emval_new_array_from_memory_view:__emval_new_array_from_memory_view,_emval_new_cstring:__emval_new_cstring,_emval_new_object:__emval_new_object,_emval_new_u16string:__emval_new_u16string,_emval_new_u8string:__emval_new_u8string,_emval_not:__emval_not,_emval_register_symbol:__emval_register_symbol,_emval_run_destructors:__emval_run_destructors,_emval_set_property:__emval_set_property,_emval_strictly_equals:__emval_strictly_equals,_emval_throw:__emval_throw,_emval_typeof:__emval_typeof,_glGetActiveAttribOrUniform:__glGetActiveAttribOrUniform,_gmtime_js:__gmtime_js,_localtime_js:__localtime_js,_mktime_js:__mktime_js,_mmap_js:__mmap_js,_msync_js:__msync_js,_munmap_js:__munmap_js,_setitimer_js:__setitimer_js,_timegm_js:__timegm_js,_tzset_js:__tzset_js,alBuffer3f:_alBuffer3f,alBuffer3i:_alBuffer3i,alBufferData:_alBufferData,alBufferf:_alBufferf,alBufferfv:_alBufferfv,alBufferi:_alBufferi,alBufferiv:_alBufferiv,alDeleteBuffers:_alDeleteBuffers,alDeleteSources:_alDeleteSources,alDisable:_alDisable,alDistanceModel:_alDistanceModel,alDopplerFactor:_alDopplerFactor,alDopplerVelocity:_alDopplerVelocity,alEnable:_alEnable,alGenBuffers:_alGenBuffers,alGenSources:_alGenSources,alGetBoolean:_alGetBoolean,alGetBooleanv:_alGetBooleanv,alGetBuffer3f:_alGetBuffer3f,alGetBuffer3i:_alGetBuffer3i,alGetBufferf:_alGetBufferf,alGetBufferfv:_alGetBufferfv,alGetBufferi:_alGetBufferi,alGetBufferiv:_alGetBufferiv,alGetDouble:_alGetDouble,alGetDoublev:_alGetDoublev,alGetEnumValue:_alGetEnumValue,alGetError:_alGetError,alGetFloat:_alGetFloat,alGetFloatv:_alGetFloatv,alGetInteger:_alGetInteger,alGetIntegerv:_alGetIntegerv,alGetListener3f:_alGetListener3f,alGetListener3i:_alGetListener3i,alGetListenerf:_alGetListenerf,alGetListenerfv:_alGetListenerfv,alGetListeneri:_alGetListeneri,alGetListeneriv:_alGetListeneriv,alGetSource3f:_alGetSource3f,alGetSource3i:_alGetSource3i,alGetSourcef:_alGetSourcef,alGetSourcefv:_alGetSourcefv,alGetSourcei:_alGetSourcei,alGetSourceiv:_alGetSourceiv,alGetString:_alGetString,alIsBuffer:_alIsBuffer,alIsEnabled:_alIsEnabled,alIsExtensionPresent:_alIsExtensionPresent,alIsSource:_alIsSource,alListener3f:_alListener3f,alListener3i:_alListener3i,alListenerf:_alListenerf,alListenerfv:_alListenerfv,alListeneri:_alListeneri,alListeneriv:_alListeneriv,alSource3f:_alSource3f,alSource3i:_alSource3i,alSourcePause:_alSourcePause,alSourcePausev:_alSourcePausev,alSourcePlay:_alSourcePlay,alSourcePlayv:_alSourcePlayv,alSourceQueueBuffers:_alSourceQueueBuffers,alSourceRewind:_alSourceRewind,alSourceRewindv:_alSourceRewindv,alSourceStop:_alSourceStop,alSourceStopv:_alSourceStopv,alSourceUnqueueBuffers:_alSourceUnqueueBuffers,alSourcef:_alSourcef,alSourcefv:_alSourcefv,alSourcei:_alSourcei,alSourceiv:_alSourceiv,alSpeedOfSound:_alSpeedOfSound,alcCaptureCloseDevice:_alcCaptureCloseDevice,alcCaptureOpenDevice:_alcCaptureOpenDevice,alcCaptureSamples:_alcCaptureSamples,alcCaptureStart:_alcCaptureStart,alcCaptureStop:_alcCaptureStop,alcCloseDevice:_alcCloseDevice,alcCreateContext:_alcCreateContext,alcDestroyContext:_alcDestroyContext,alcGetContextsDevice:_alcGetContextsDevice,alcGetCurrentContext:_alcGetCurrentContext,alcGetEnumValue:_alcGetEnumValue,alcGetError:_alcGetError,alcGetIntegerv:_alcGetIntegerv,alcGetString:_alcGetString,alcIsExtensionPresent:_alcIsExtensionPresent,alcMakeContextCurrent:_alcMakeContextCurrent,alcOpenDevice:_alcOpenDevice,alcProcessContext:_alcProcessContext,alcSuspendContext:_alcSuspendContext,boxColor:_boxColor,boxRGBA:_boxRGBA,clock_res_get:_clock_res_get,clock_time_get:_clock_time_get,duckdb_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_call_worker:_emscripten_call_worker,emscripten_cancel_animation_frame:_emscripten_cancel_animation_frame,emscripten_cancel_main_loop:_emscripten_cancel_main_loop,emscripten_clear_immediate:_emscripten_clear_immediate,emscripten_clear_interval:_emscripten_clear_interval,emscripten_clear_timeout:_emscripten_clear_timeout,emscripten_console_error:_emscripten_console_error,emscripten_console_log:_emscripten_console_log,emscripten_console_trace:_emscripten_console_trace,emscripten_console_warn:_emscripten_console_warn,emscripten_create_worker:_emscripten_create_worker,emscripten_date_now:_emscripten_date_now,emscripten_debugger:_emscripten_debugger,emscripten_destroy_worker:_emscripten_destroy_worker,emscripten_enter_soft_fullscreen:_emscripten_enter_soft_fullscreen,emscripten_err:_emscripten_err,emscripten_errn:_emscripten_errn,emscripten_exit_fullscreen:_emscripten_exit_fullscreen,emscripten_exit_pointerlock:_emscripten_exit_pointerlock,emscripten_exit_soft_fullscreen:_emscripten_exit_soft_fullscreen,emscripten_exit_with_live_runtime:_emscripten_exit_with_live_runtime,emscripten_fiber_swap:_emscripten_fiber_swap,emscripten_force_exit:_emscripten_force_exit,emscripten_get_battery_status:_emscripten_get_battery_status,emscripten_get_callstack:_emscripten_get_callstack,emscripten_get_canvas_element_size:_emscripten_get_canvas_element_size,emscripten_get_canvas_size:_emscripten_get_canvas_size,emscripten_get_compiler_setting:_emscripten_get_compiler_setting,emscripten_get_device_pixel_ratio:_emscripten_get_device_pixel_ratio,emscripten_get_element_css_size:_emscripten_get_element_css_size,emscripten_get_fullscreen_status:_emscripten_get_fullscreen_status,emscripten_get_gamepad_status:_emscripten_get_gamepad_status,emscripten_get_heap_max:_emscripten_get_heap_max,emscripten_get_main_loop_timing:_emscripten_get_main_loop_timing,emscripten_get_now:_emscripten_get_now,emscripten_get_now_res:_emscripten_get_now_res,emscripten_get_num_gamepads:_emscripten_get_num_gamepads,emscripten_get_orientation_status:_emscripten_get_orientation_status,emscripten_get_pointerlock_status:_emscripten_get_pointerlock_status,emscripten_get_preloaded_image_data:_emscripten_get_preloaded_image_data,emscripten_get_preloaded_image_data_from_FILE:_emscripten_get_preloaded_image_data_from_FILE,emscripten_get_screen_size:_emscripten_get_screen_size,emscripten_get_visibility_status:_emscripten_get_visibility_status,emscripten_get_window_title:_emscripten_get_window_title,emscripten_get_worker_queue_size:_emscripten_get_worker_queue_size,emscripten_glActiveTexture:_emscripten_glActiveTexture,emscripten_glAttachShader:_emscripten_glAttachShader,emscripten_glBegin:_emscripten_glBegin,emscripten_glBeginQueryEXT:_emscripten_glBeginQueryEXT,emscripten_glBindAttribLocation:_emscripten_glBindAttribLocation,emscripten_glBindBuffer:_emscripten_glBindBuffer,emscripten_glBindFramebuffer:_emscripten_glBindFramebuffer,emscripten_glBindRenderbuffer:_emscripten_glBindRenderbuffer,emscripten_glBindTexture:_emscripten_glBindTexture,emscripten_glBindVertexArray:_emscripten_glBindVertexArray,emscripten_glBindVertexArrayOES:_emscripten_glBindVertexArrayOES,emscripten_glBlendColor:_emscripten_glBlendColor,emscripten_glBlendEquation:_emscripten_glBlendEquation,emscripten_glBlendEquationSeparate:_emscripten_glBlendEquationSeparate,emscripten_glBlendFunc:_emscripten_glBlendFunc,emscripten_glBlendFuncSeparate:_emscripten_glBlendFuncSeparate,emscripten_glBufferData:_emscripten_glBufferData,emscripten_glBufferSubData:_emscripten_glBufferSubData,emscripten_glCheckFramebufferStatus:_emscripten_glCheckFramebufferStatus,emscripten_glClear:_emscripten_glClear,emscripten_glClearColor:_emscripten_glClearColor,emscripten_glClearDepth:_emscripten_glClearDepth,emscripten_glClearDepthf:_emscripten_glClearDepthf,emscripten_glClearStencil:_emscripten_glClearStencil,emscripten_glClipControlEXT:_emscripten_glClipControlEXT,emscripten_glColorMask:_emscripten_glColorMask,emscripten_glCompileShader:_emscripten_glCompileShader,emscripten_glCompressedTexImage2D:_emscripten_glCompressedTexImage2D,emscripten_glCompressedTexSubImage2D:_emscripten_glCompressedTexSubImage2D,emscripten_glCopyTexImage2D:_emscripten_glCopyTexImage2D,emscripten_glCopyTexSubImage2D:_emscripten_glCopyTexSubImage2D,emscripten_glCreateProgram:_emscripten_glCreateProgram,emscripten_glCreateShader:_emscripten_glCreateShader,emscripten_glCullFace:_emscripten_glCullFace,emscripten_glDeleteBuffers:_emscripten_glDeleteBuffers,emscripten_glDeleteFramebuffers:_emscripten_glDeleteFramebuffers,emscripten_glDeleteProgram:_emscripten_glDeleteProgram,emscripten_glDeleteQueriesEXT:_emscripten_glDeleteQueriesEXT,emscripten_glDeleteRenderbuffers:_emscripten_glDeleteRenderbuffers,emscripten_glDeleteShader:_emscripten_glDeleteShader,emscripten_glDeleteTextures:_emscripten_glDeleteTextures,emscripten_glDeleteVertexArrays:_emscripten_glDeleteVertexArrays,emscripten_glDeleteVertexArraysOES:_emscripten_glDeleteVertexArraysOES,emscripten_glDepthFunc:_emscripten_glDepthFunc,emscripten_glDepthMask:_emscripten_glDepthMask,emscripten_glDepthRange:_emscripten_glDepthRange,emscripten_glDepthRangef:_emscripten_glDepthRangef,emscripten_glDetachShader:_emscripten_glDetachShader,emscripten_glDisable:_emscripten_glDisable,emscripten_glDisableVertexAttribArray:_emscripten_glDisableVertexAttribArray,emscripten_glDrawArrays:_emscripten_glDrawArrays,emscripten_glDrawArraysInstanced:_emscripten_glDrawArraysInstanced,emscripten_glDrawArraysInstancedANGLE:_emscripten_glDrawArraysInstancedANGLE,emscripten_glDrawArraysInstancedARB:_emscripten_glDrawArraysInstancedARB,emscripten_glDrawArraysInstancedEXT:_emscripten_glDrawArraysInstancedEXT,emscripten_glDrawArraysInstancedNV:_emscripten_glDrawArraysInstancedNV,emscripten_glDrawBuffers:_emscripten_glDrawBuffers,emscripten_glDrawBuffersEXT:_emscripten_glDrawBuffersEXT,emscripten_glDrawBuffersWEBGL:_emscripten_glDrawBuffersWEBGL,emscripten_glDrawElements:_emscripten_glDrawElements,emscripten_glDrawElementsInstanced:_emscripten_glDrawElementsInstanced,emscripten_glDrawElementsInstancedANGLE:_emscripten_glDrawElementsInstancedANGLE,emscripten_glDrawElementsInstancedARB:_emscripten_glDrawElementsInstancedARB,emscripten_glDrawElementsInstancedEXT:_emscripten_glDrawElementsInstancedEXT,emscripten_glDrawElementsInstancedNV:_emscripten_glDrawElementsInstancedNV,emscripten_glEnable:_emscripten_glEnable,emscripten_glEnableVertexAttribArray:_emscripten_glEnableVertexAttribArray,emscripten_glEndQueryEXT:_emscripten_glEndQueryEXT,emscripten_glFinish:_emscripten_glFinish,emscripten_glFlush:_emscripten_glFlush,emscripten_glFramebufferRenderbuffer:_emscripten_glFramebufferRenderbuffer,emscripten_glFramebufferTexture2D:_emscripten_glFramebufferTexture2D,emscripten_glFrontFace:_emscripten_glFrontFace,emscripten_glGenBuffers:_emscripten_glGenBuffers,emscripten_glGenFramebuffers:_emscripten_glGenFramebuffers,emscripten_glGenQueriesEXT:_emscripten_glGenQueriesEXT,emscripten_glGenRenderbuffers:_emscripten_glGenRenderbuffers,emscripten_glGenTextures:_emscripten_glGenTextures,emscripten_glGenVertexArrays:_emscripten_glGenVertexArrays,emscripten_glGenVertexArraysOES:_emscripten_glGenVertexArraysOES,emscripten_glGenerateMipmap:_emscripten_glGenerateMipmap,emscripten_glGetActiveAttrib:_emscripten_glGetActiveAttrib,emscripten_glGetActiveUniform:_emscripten_glGetActiveUniform,emscripten_glGetAttachedShaders:_emscripten_glGetAttachedShaders,emscripten_glGetAttribLocation:_emscripten_glGetAttribLocation,emscripten_glGetBooleanv:_emscripten_glGetBooleanv,emscripten_glGetBufferParameteriv:_emscripten_glGetBufferParameteriv,emscripten_glGetError:_emscripten_glGetError,emscripten_glGetFloatv:_emscripten_glGetFloatv,emscripten_glGetFramebufferAttachmentParameteriv:_emscripten_glGetFramebufferAttachmentParameteriv,emscripten_glGetIntegerv:_emscripten_glGetIntegerv,emscripten_glGetProgramInfoLog:_emscripten_glGetProgramInfoLog,emscripten_glGetProgramiv:_emscripten_glGetProgramiv,emscripten_glGetQueryObjecti64vEXT:_emscripten_glGetQueryObjecti64vEXT,emscripten_glGetQueryObjectivEXT:_emscripten_glGetQueryObjectivEXT,emscripten_glGetQueryObjectui64vEXT:_emscripten_glGetQueryObjectui64vEXT,emscripten_glGetQueryObjectuivEXT:_emscripten_glGetQueryObjectuivEXT,emscripten_glGetQueryivEXT:_emscripten_glGetQueryivEXT,emscripten_glGetRenderbufferParameteriv:_emscripten_glGetRenderbufferParameteriv,emscripten_glGetShaderInfoLog:_emscripten_glGetShaderInfoLog,emscripten_glGetShaderPrecisionFormat:_emscripten_glGetShaderPrecisionFormat,emscripten_glGetShaderSource:_emscripten_glGetShaderSource,emscripten_glGetShaderiv:_emscripten_glGetShaderiv,emscripten_glGetString:_emscripten_glGetString,emscripten_glGetTexParameterfv:_emscripten_glGetTexParameterfv,emscripten_glGetTexParameteriv:_emscripten_glGetTexParameteriv,emscripten_glGetUniformLocation:_emscripten_glGetUniformLocation,emscripten_glGetUniformfv:_emscripten_glGetUniformfv,emscripten_glGetUniformiv:_emscripten_glGetUniformiv,emscripten_glGetVertexAttribPointerv:_emscripten_glGetVertexAttribPointerv,emscripten_glGetVertexAttribfv:_emscripten_glGetVertexAttribfv,emscripten_glGetVertexAttribiv:_emscripten_glGetVertexAttribiv,emscripten_glHint:_emscripten_glHint,emscripten_glIsBuffer:_emscripten_glIsBuffer,emscripten_glIsEnabled:_emscripten_glIsEnabled,emscripten_glIsFramebuffer:_emscripten_glIsFramebuffer,emscripten_glIsProgram:_emscripten_glIsProgram,emscripten_glIsQueryEXT:_emscripten_glIsQueryEXT,emscripten_glIsRenderbuffer:_emscripten_glIsRenderbuffer,emscripten_glIsShader:_emscripten_glIsShader,emscripten_glIsTexture:_emscripten_glIsTexture,emscripten_glIsVertexArray:_emscripten_glIsVertexArray,emscripten_glIsVertexArrayOES:_emscripten_glIsVertexArrayOES,emscripten_glLineWidth:_emscripten_glLineWidth,emscripten_glLinkProgram:_emscripten_glLinkProgram,emscripten_glLoadIdentity:_emscripten_glLoadIdentity,emscripten_glMatrixMode:_emscripten_glMatrixMode,emscripten_glMultiDrawArrays:_emscripten_glMultiDrawArrays,emscripten_glMultiDrawArraysANGLE:_emscripten_glMultiDrawArraysANGLE,emscripten_glMultiDrawArraysInstancedANGLE:_emscripten_glMultiDrawArraysInstancedANGLE,emscripten_glMultiDrawArraysInstancedWEBGL:_emscripten_glMultiDrawArraysInstancedWEBGL,emscripten_glMultiDrawArraysWEBGL:_emscripten_glMultiDrawArraysWEBGL,emscripten_glMultiDrawElements:_emscripten_glMultiDrawElements,emscripten_glMultiDrawElementsANGLE:_emscripten_glMultiDrawElementsANGLE,emscripten_glMultiDrawElementsInstancedANGLE:_emscripten_glMultiDrawElementsInstancedANGLE,emscripten_glMultiDrawElementsInstancedWEBGL:_emscripten_glMultiDrawElementsInstancedWEBGL,emscripten_glMultiDrawElementsWEBGL:_emscripten_glMultiDrawElementsWEBGL,emscripten_glPixelStorei:_emscripten_glPixelStorei,emscripten_glPolygonModeWEBGL:_emscripten_glPolygonModeWEBGL,emscripten_glPolygonOffset:_emscripten_glPolygonOffset,emscripten_glPolygonOffsetClampEXT:_emscripten_glPolygonOffsetClampEXT,emscripten_glQueryCounterEXT:_emscripten_glQueryCounterEXT,emscripten_glReadPixels:_emscripten_glReadPixels,emscripten_glReleaseShaderCompiler:_emscripten_glReleaseShaderCompiler,emscripten_glRenderbufferStorage:_emscripten_glRenderbufferStorage,emscripten_glSampleCoverage:_emscripten_glSampleCoverage,emscripten_glScissor:_emscripten_glScissor,emscripten_glShaderBinary:_emscripten_glShaderBinary,emscripten_glShaderSource:_emscripten_glShaderSource,emscripten_glStencilFunc:_emscripten_glStencilFunc,emscripten_glStencilFuncSeparate:_emscripten_glStencilFuncSeparate,emscripten_glStencilMask:_emscripten_glStencilMask,emscripten_glStencilMaskSeparate:_emscripten_glStencilMaskSeparate,emscripten_glStencilOp:_emscripten_glStencilOp,emscripten_glStencilOpSeparate:_emscripten_glStencilOpSeparate,emscripten_glTexImage2D:_emscripten_glTexImage2D,emscripten_glTexParameterf:_emscripten_glTexParameterf,emscripten_glTexParameterfv:_emscripten_glTexParameterfv,emscripten_glTexParameteri:_emscripten_glTexParameteri,emscripten_glTexParameteriv:_emscripten_glTexParameteriv,emscripten_glTexSubImage2D:_emscripten_glTexSubImage2D,emscripten_glUniform1f:_emscripten_glUniform1f,emscripten_glUniform1fv:_emscripten_glUniform1fv,emscripten_glUniform1i:_emscripten_glUniform1i,emscripten_glUniform1iv:_emscripten_glUniform1iv,emscripten_glUniform2f:_emscripten_glUniform2f,emscripten_glUniform2fv:_emscripten_glUniform2fv,emscripten_glUniform2i:_emscripten_glUniform2i,emscripten_glUniform2iv:_emscripten_glUniform2iv,emscripten_glUniform3f:_emscripten_glUniform3f,emscripten_glUniform3fv:_emscripten_glUniform3fv,emscripten_glUniform3i:_emscripten_glUniform3i,emscripten_glUniform3iv:_emscripten_glUniform3iv,emscripten_glUniform4f:_emscripten_glUniform4f,emscripten_glUniform4fv:_emscripten_glUniform4fv,emscripten_glUniform4i:_emscripten_glUniform4i,emscripten_glUniform4iv:_emscripten_glUniform4iv,emscripten_glUniformMatrix2fv:_emscripten_glUniformMatrix2fv,emscripten_glUniformMatrix3fv:_emscripten_glUniformMatrix3fv,emscripten_glUniformMatrix4fv:_emscripten_glUniformMatrix4fv,emscripten_glUseProgram:_emscripten_glUseProgram,emscripten_glValidateProgram:_emscripten_glValidateProgram,emscripten_glVertexAttrib1f:_emscripten_glVertexAttrib1f,emscripten_glVertexAttrib1fv:_emscripten_glVertexAttrib1fv,emscripten_glVertexAttrib2f:_emscripten_glVertexAttrib2f,emscripten_glVertexAttrib2fv:_emscripten_glVertexAttrib2fv,emscripten_glVertexAttrib3f:_emscripten_glVertexAttrib3f,emscripten_glVertexAttrib3fv:_emscripten_glVertexAttrib3fv,emscripten_glVertexAttrib4f:_emscripten_glVertexAttrib4f,emscripten_glVertexAttrib4fv:_emscripten_glVertexAttrib4fv,emscripten_glVertexAttribDivisor:_emscripten_glVertexAttribDivisor,emscripten_glVertexAttribDivisorANGLE:_emscripten_glVertexAttribDivisorANGLE,emscripten_glVertexAttribDivisorARB:_emscripten_glVertexAttribDivisorARB,emscripten_glVertexAttribDivisorEXT:_emscripten_glVertexAttribDivisorEXT,emscripten_glVertexAttribDivisorNV:_emscripten_glVertexAttribDivisorNV,emscripten_glVertexAttribPointer:_emscripten_glVertexAttribPointer,emscripten_glVertexPointer:_emscripten_glVertexPointer,emscripten_glViewport:_emscripten_glViewport,emscripten_has_asyncify:_emscripten_has_asyncify,emscripten_hide_mouse:_emscripten_hide_mouse,emscripten_html5_remove_all_event_listeners:_emscripten_html5_remove_all_event_listeners,emscripten_html5_remove_event_listener:_emscripten_html5_remove_event_listener,emscripten_idb_async_clear:_emscripten_idb_async_clear,emscripten_idb_async_delete:_emscripten_idb_async_delete,emscripten_idb_async_exists:_emscripten_idb_async_exists,emscripten_idb_async_load:_emscripten_idb_async_load,emscripten_idb_async_store:_emscripten_idb_async_store,emscripten_idb_clear:_emscripten_idb_clear,emscripten_idb_delete:_emscripten_idb_delete,emscripten_idb_exists:_emscripten_idb_exists,emscripten_idb_load:_emscripten_idb_load,emscripten_idb_store:_emscripten_idb_store,emscripten_is_main_browser_thread:_emscripten_is_main_browser_thread,emscripten_is_webgl_context_lost:_emscripten_is_webgl_context_lost,emscripten_lock_orientation:_emscripten_lock_orientation,emscripten_math_acos:_emscripten_math_acos,emscripten_math_acosh:_emscripten_math_acosh,emscripten_math_asin:_emscripten_math_asin,emscripten_math_asinh:_emscripten_math_asinh,emscripten_math_atan:_emscripten_math_atan,emscripten_math_atan2:_emscripten_math_atan2,emscripten_math_atanh:_emscripten_math_atanh,emscripten_math_cbrt:_emscripten_math_cbrt,emscripten_math_cos:_emscripten_math_cos,emscripten_math_cosh:_emscripten_math_cosh,emscripten_math_exp:_emscripten_math_exp,emscripten_math_expm1:_emscripten_math_expm1,emscripten_math_fmod:_emscripten_math_fmod,emscripten_math_hypot:_emscripten_math_hypot,emscripten_math_log:_emscripten_math_log,emscripten_math_log10:_emscripten_math_log10,emscripten_math_log1p:_emscripten_math_log1p,emscripten_math_log2:_emscripten_math_log2,emscripten_math_pow:_emscripten_math_pow,emscripten_math_random:_emscripten_math_random,emscripten_math_round:_emscripten_math_round,emscripten_math_sign:_emscripten_math_sign,emscripten_math_sin:_emscripten_math_sin,emscripten_math_sinh:_emscripten_math_sinh,emscripten_math_sqrt:_emscripten_math_sqrt,emscripten_math_tan:_emscripten_math_tan,emscripten_math_tanh:_emscripten_math_tanh,emscripten_notify_memory_growth:_emscripten_notify_memory_growth,emscripten_out:_emscripten_out,emscripten_outn:_emscripten_outn,emscripten_pause_main_loop:_emscripten_pause_main_loop,emscripten_pc_get_column:_emscripten_pc_get_column,emscripten_pc_get_file:_emscripten_pc_get_file,emscripten_pc_get_function:_emscripten_pc_get_function,emscripten_pc_get_line:_emscripten_pc_get_line,emscripten_performance_now:_emscripten_performance_now,emscripten_print_double:_emscripten_print_double,emscripten_promise_all:_emscripten_promise_all,emscripten_promise_all_settled:_emscripten_promise_all_settled,emscripten_promise_any:_emscripten_promise_any,emscripten_promise_await:_emscripten_promise_await,emscripten_promise_await_unchecked:_emscripten_promise_await_unchecked,emscripten_promise_create:_emscripten_promise_create,emscripten_promise_destroy:_emscripten_promise_destroy,emscripten_promise_race:_emscripten_promise_race,emscripten_promise_resolve:_emscripten_promise_resolve,emscripten_promise_then:_emscripten_promise_then,emscripten_random:_emscripten_random,emscripten_request_animation_frame:_emscripten_request_animation_frame,emscripten_request_animation_frame_loop:_emscripten_request_animation_frame_loop,emscripten_request_fullscreen:_emscripten_request_fullscreen,emscripten_request_fullscreen_strategy:_emscripten_request_fullscreen_strategy,emscripten_request_pointerlock:_emscripten_request_pointerlock,emscripten_resize_heap:_emscripten_resize_heap,emscripten_resume_main_loop:_emscripten_resume_main_loop,emscripten_return_address:_emscripten_return_address,emscripten_run_preload_plugins:_emscripten_run_preload_plugins,emscripten_run_preload_plugins_data:_emscripten_run_preload_plugins_data,emscripten_run_script:_emscripten_run_script,emscripten_run_script_int:_emscripten_run_script_int,emscripten_run_script_string:_emscripten_run_script_string,emscripten_runtime_keepalive_check:_emscripten_runtime_keepalive_check,emscripten_runtime_keepalive_pop:_emscripten_runtime_keepalive_pop,emscripten_runtime_keepalive_push:_emscripten_runtime_keepalive_push,emscripten_sample_gamepad_data:_emscripten_sample_gamepad_data,emscripten_scan_registers:_emscripten_scan_registers,emscripten_set_batterychargingchange_callback_on_thread:_emscripten_set_batterychargingchange_callback_on_thread,emscripten_set_batterylevelchange_callback_on_thread:_emscripten_set_batterylevelchange_callback_on_thread,emscripten_set_beforeunload_callback_on_thread:_emscripten_set_beforeunload_callback_on_thread,emscripten_set_blur_callback_on_thread:_emscripten_set_blur_callback_on_thread,emscripten_set_canvas_element_size:_emscripten_set_canvas_element_size,emscripten_set_canvas_size:_emscripten_set_canvas_size,emscripten_set_click_callback_on_thread:_emscripten_set_click_callback_on_thread,emscripten_set_contextmenu_callback_on_thread:_emscripten_set_contextmenu_callback_on_thread,emscripten_set_dblclick_callback_on_thread:_emscripten_set_dblclick_callback_on_thread,emscripten_set_devicemotion_callback_on_thread:_emscripten_set_devicemotion_callback_on_thread,emscripten_set_deviceorientation_callback_on_thread:_emscripten_set_deviceorientation_callback_on_thread,emscripten_set_element_css_size:_emscripten_set_element_css_size,emscripten_set_focus_callback_on_thread:_emscripten_set_focus_callback_on_thread,emscripten_set_focusin_callback_on_thread:_emscripten_set_focusin_callback_on_thread,emscripten_set_focusout_callback_on_thread:_emscripten_set_focusout_callback_on_thread,emscripten_set_fullscreenchange_callback_on_thread:_emscripten_set_fullscreenchange_callback_on_thread,emscripten_set_gamepadconnected_callback_on_thread:_emscripten_set_gamepadconnected_callback_on_thread,emscripten_set_gamepaddisconnected_callback_on_thread:_emscripten_set_gamepaddisconnected_callback_on_thread,emscripten_set_immediate:_emscripten_set_immediate,emscripten_set_immediate_loop:_emscripten_set_immediate_loop,emscripten_set_interval:_emscripten_set_interval,emscripten_set_keydown_callback_on_thread:_emscripten_set_keydown_callback_on_thread,emscripten_set_keypress_callback_on_thread:_emscripten_set_keypress_callback_on_thread,emscripten_set_keyup_callback_on_thread:_emscripten_set_keyup_callback_on_thread,emscripten_set_main_loop:_emscripten_set_main_loop,emscripten_set_main_loop_arg:_emscripten_set_main_loop_arg,emscripten_set_main_loop_expected_blockers:_emscripten_set_main_loop_expected_blockers,emscripten_set_main_loop_timing:_emscripten_set_main_loop_timing,emscripten_set_mousedown_callback_on_thread:_emscripten_set_mousedown_callback_on_thread,emscripten_set_mouseenter_callback_on_thread:_emscripten_set_mouseenter_callback_on_thread,emscripten_set_mouseleave_callback_on_thread:_emscripten_set_mouseleave_callback_on_thread,emscripten_set_mousemove_callback_on_thread:_emscripten_set_mousemove_callback_on_thread,emscripten_set_mouseout_callback_on_thread:_emscripten_set_mouseout_callback_on_thread,emscripten_set_mouseover_callback_on_thread:_emscripten_set_mouseover_callback_on_thread,emscripten_set_mouseup_callback_on_thread:_emscripten_set_mouseup_callback_on_thread,emscripten_set_orientationchange_callback_on_thread:_emscripten_set_orientationchange_callback_on_thread,emscripten_set_pointerlockchange_callback_on_thread:_emscripten_set_pointerlockchange_callback_on_thread,emscripten_set_pointerlockerror_callback_on_thread:_emscripten_set_pointerlockerror_callback_on_thread,emscripten_set_resize_callback_on_thread:_emscripten_set_resize_callback_on_thread,emscripten_set_scroll_callback_on_thread:_emscripten_set_scroll_callback_on_thread,emscripten_set_socket_close_callback:_emscripten_set_socket_close_callback,emscripten_set_socket_connection_callback:_emscripten_set_socket_connection_callback,emscripten_set_socket_error_callback:_emscripten_set_socket_error_callback,emscripten_set_socket_listen_callback:_emscripten_set_socket_listen_callback,emscripten_set_socket_message_callback:_emscripten_set_socket_message_callback,emscripten_set_socket_open_callback:_emscripten_set_socket_open_callback,emscripten_set_timeout:_emscripten_set_timeout,emscripten_set_timeout_loop:_emscripten_set_timeout_loop,emscripten_set_touchcancel_callback_on_thread:_emscripten_set_touchcancel_callback_on_thread,emscripten_set_touchend_callback_on_thread:_emscripten_set_touchend_callback_on_thread,emscripten_set_touchmove_callback_on_thread:_emscripten_set_touchmove_callback_on_thread,emscripten_set_touchstart_callback_on_thread:_emscripten_set_touchstart_callback_on_thread,emscripten_set_visibilitychange_callback_on_thread:_emscripten_set_visibilitychange_callback_on_thread,emscripten_set_webglcontextlost_callback_on_thread:_emscripten_set_webglcontextlost_callback_on_thread,emscripten_set_webglcontextrestored_callback_on_thread:_emscripten_set_webglcontextrestored_callback_on_thread,emscripten_set_wheel_callback_on_thread:_emscripten_set_wheel_callback_on_thread,emscripten_set_window_title:_emscripten_set_window_title,emscripten_sleep:_emscripten_sleep,emscripten_stack_snapshot:_emscripten_stack_snapshot,emscripten_stack_unwind_buffer:_emscripten_stack_unwind_buffer,emscripten_supports_offscreencanvas:_emscripten_supports_offscreencanvas,emscripten_throw_number:_emscripten_throw_number,emscripten_throw_string:_emscripten_throw_string,emscripten_unlock_orientation:_emscripten_unlock_orientation,emscripten_unwind_to_js_event_loop:_emscripten_unwind_to_js_event_loop,emscripten_vibrate:_emscripten_vibrate,emscripten_vibrate_pattern:_emscripten_vibrate_pattern,emscripten_webgl_commit_frame:_emscripten_webgl_commit_frame,emscripten_webgl_create_context:_emscripten_webgl_create_context,emscripten_webgl_destroy_context:_emscripten_webgl_destroy_context,emscripten_webgl_do_commit_frame:_emscripten_webgl_do_commit_frame,emscripten_webgl_do_create_context:_emscripten_webgl_do_create_context,emscripten_webgl_do_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,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=U=>G=>U(G)>>>0,n=U=>(G,H)=>U(G,H)>>>0,o=U=>(G,H,W)=>U(G,H,W)>>>0,c=U=>()=>U()>>>0,u=U=>(G,H)=>U(G,H)>>>0,d=U=>(G,H,W)=>U(G,H,W)>>>0,p=U=>G=>U(G)>>>0,h=U=>(G,H,W,ae)=>U(G,H,W,ae)>>>0,y=U=>(G,H,W)=>U(G,H,W)>>>0,b=U=>(G,H,W,ae,Be,Bt)=>U(G,H,W,ae,Be,Bt)>>>0,v=U=>(G,H,W)=>U(G,H,W)>>>0,A=U=>(G,H,W,ae)=>U(G,H,W,ae)>>>0,L=U=>(G,H)=>U(G,H)>>>0,E=U=>(G,H,W,ae,Be)=>U(G,H,W,ae,Be)>>>0,S=U=>(G,H,W,ae)=>U(G,H,W,ae)>>>0,w=U=>(G,H,W,ae,Be)=>U(G,H,W,ae,Be)>>>0,T=U=>(G,H,W,ae)=>U(G,H,W,ae)>>>0,F=U=>(G,H)=>U(G,H)>>>0,P=U=>(G,H,W)=>U(G,H,W)>>>0,I=U=>(G,H,W,ae)=>U(G,H,W,ae)>>>0,B=U=>(G,H,W,ae)=>U(G,H,W,ae)>>>0,C=U=>(G,H,W,ae,Be)=>U(G,H,W,ae,Be)>>>0,x=U=>(G,H,W,ae)=>U(G,H,W,ae)>>>0,M=U=>(G,H,W,ae)=>U(G,H,W,ae)>>>0,R=U=>(G,H,W)=>U(G,H,W)>>>0,re=U=>(G,H,W,ae,Be,Bt)=>U(G,H,W,ae,Be,Bt)>>>0,Ee=U=>G=>U(G)>>>0,j=U=>(G,H,W)=>U(G,H,W)>>>0,pe=U=>(G,H,W,ae,Be,Bt)=>U(G,H,W,ae,Be,Bt)>>>0;return e.__getTypeName=t(e.__getTypeName),e.strdup=t(e.strdup),e.strlen=t(e.strlen),e.__cxa_allocate_exception=t(e.__cxa_allocate_exception),e.malloc=t(e.malloc),e.realloc=n(e.realloc),e.memchr=o(e.memchr),e.dlsym=n(e.dlsym),e.dlerror=c(e.dlerror),e.dlopen=u(e.dlopen),e.calloc=n(e.calloc),e.strtoul=d(e.strtoul),e.wmemchr=o(e.wmemchr),e.localtime_r=n(e.localtime_r),e.getenv=t(e.getenv),e.__errno_location=c(e.__errno_location),e.sysconf=p(e.sysconf),e.getcwd=n(e.getcwd),e.strerror=p(e.strerror),e.pread=h(e.pread),e.read=y(e.read),e.pwrite=h(e.pwrite),e.write=y(e.write),e.opendir=t(e.opendir),e.readdir=t(e.readdir),e.realpath=n(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=n(e.strstr),e.memset=o(e.memset),e.fopen=n(e.fopen),e.ftell=t(e.ftell),e.fread=A(e.fread),e.fwrite=A(e.fwrite),e.emscripten_GetProcAddress=t(e.emscripten_GetProcAddress),e.strcpy=n(e.strcpy),e.emscripten_webgl1_get_proc_address=t(e.emscripten_webgl1_get_proc_address),e._webgl1_match_ext_proc_address_without_suffix=t(e._webgl1_match_ext_proc_address_without_suffix),e.emscripten_webgl_get_proc_address=t(e.emscripten_webgl_get_proc_address),e.SDL_GL_GetProcAddress=t(e.SDL_GL_GetProcAddress),e.eglGetProcAddress=t(e.eglGetProcAddress),e.glfwGetProcAddress=t(e.glfwGetProcAddress),e.alcGetProcAddress=n(e.alcGetProcAddress),e.alGetProcAddress=t(e.alGetProcAddress),e.emscripten_proxy_get_system_queue=c(e.emscripten_proxy_get_system_queue),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=c(e.getpwent),e.getgrnam=t(e.getgrnam),e.getgrgid=p(e.getgrgid),e.getgrent=c(e.getgrent),e.popen=n(e.popen),e.emscripten_stack_get_end=c(e.emscripten_stack_get_end),e.emscripten_stack_get_base=c(e.emscripten_stack_get_base),e.__ctype_b_loc=c(e.__ctype_b_loc),e.__ctype_get_mb_cur_max=c(e.__ctype_get_mb_cur_max),e.__ctype_tolower_loc=c(e.__ctype_tolower_loc),e.__ctype_toupper_loc=c(e.__ctype_toupper_loc),e.emscripten_builtin_malloc=t(e.emscripten_builtin_malloc),e.fdopen=L(e.fdopen),e.__mo_lookup=v(e.__mo_lookup),e.__get_tp=c(e.__get_tp),e.memcpy=v(e.memcpy),e.a64l=t(e.a64l),e.l64a=t(e.l64a),e.aligned_alloc=n(e.aligned_alloc),e.asctime=t(e.asctime),e.__nl_langinfo_l=L(e.__nl_langinfo_l),e.asctime_r=n(e.asctime_r),e.__libc_calloc=n(e.__libc_calloc),e.atol=t(e.atol),e.basename=t(e.basename),e.__xpg_basename=t(e.__xpg_basename),e.memmove=v(e.memmove),e.bind_textdomain_codeset=n(e.bind_textdomain_codeset),e.bsearch=E(e.bsearch),e.c16rtomb=o(e.c16rtomb),e.wcrtomb=o(e.wcrtomb),e.c32rtomb=o(e.c32rtomb),e.catgets=S(e.catgets),e.catopen=u(e.catopen),e.confstr=y(e.confstr),e.crypt=n(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=n(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=n(e.ctime_r),e.bindtextdomain=n(e.bindtextdomain),e.dcngettext=w(e.dcngettext),e.__gettextdomain=c(e.__gettextdomain),e.dcgettext=d(e.dcgettext),e.dngettext=A(e.dngettext),e.dgettext=n(e.dgettext),e.dirname=t(e.dirname),e.__libc_malloc=t(e.__libc_malloc),e.__duplocale=t(e.__duplocale),e.duplocale=t(e.duplocale),e._emscripten_find_dylib=A(e._emscripten_find_dylib),e.strspn=n(e.strspn),e.strcspn=n(e.strcspn),e.emscripten_dlopen_promise=u(e.emscripten_dlopen_promise),e.ecvt=T(e.ecvt),e.emscripten_get_heap_size=c(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=o(e.__memset),e.emscripten_builtin_memset=o(e.emscripten_builtin_memset),e._emscripten_memset_bulkmem=o(e._emscripten_memset_bulkmem),e.__syscall_mmap2=b(e.__syscall_mmap2),e.emscripten_builtin_memalign=n(e.emscripten_builtin_memalign),e.emscripten_stack_get_current=c(e.emscripten_stack_get_current),e.gethostent=c(e.gethostent),e.getnetent=c(e.getnetent),e.ether_aton_r=n(e.ether_aton_r),e.ether_aton=t(e.ether_aton),e.ether_ntoa_r=n(e.ether_ntoa_r),e.ether_ntoa=t(e.ether_ntoa),e.__fbufsize=t(e.__fbufsize),e.__fpending=t(e.__fpending),e.__freadahead=t(e.__freadahead),e.__freadptr=n(e.__freadptr),e.fcvt=T(e.fcvt),e.fdopendir=p(e.fdopendir),e.fgetln=n(e.fgetln),e.getline=v(e.getline),e.fgets=o(e.fgets),e.fgets_unlocked=o(e.fgets_unlocked),e.mbrtowc=A(e.mbrtowc),e.fgetws=o(e.fgetws),e.fgetws_unlocked=o(e.fgetws_unlocked),e.fmemopen=v(e.fmemopen),e.fopencookie=v(e.fopencookie),e.fpathconf=F(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=P(e.gcvt),e.get_current_dir_name=c(e.get_current_dir_name),e.getdelim=I(e.getdelim),e.__getdelim=I(e.__getdelim),e.gethostid=c(e.gethostid),e.getlogin=c(e.getlogin),e.getpass=t(e.getpass),e.gets=t(e.gets),e.getservbyname=n(e.getservbyname),e.getservbyport=L(e.getservbyport),e.gmtime=t(e.gmtime),e.__h_errno_location=c(e.__h_errno_location),e.hstrerror=p(e.hstrerror),e.hsearch=u(e.hsearch),e.iconv_open=n(e.iconv_open),e.iconv=E(e.iconv),e.if_indextoname=L(e.if_indextoname),e.strncpy=v(e.strncpy),e.if_nameindex=c(e.if_nameindex),e.index=u(e.index),e.inet_ntoa=p(e.inet_ntoa),e.inet_ntop=h(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=L(e.nl_langinfo_l),e.get_phys_pages=c(e.get_phys_pages),e.get_avphys_pages=c(e.get_avphys_pages),e.pthread_getspecific=p(e.pthread_getspecific),e.pthread_self=c(e.pthread_self),e.localeconv=c(e.localeconv),e.nrand48=t(e.nrand48),e.lrand48=c(e.lrand48),e.lrint=p(e.lrint),e.lrintf=p(e.lrintf),e.lrintl=F(e.lrintl),e.lround=p(e.lround),e.lroundf=p(e.lroundf),e.lroundl=F(e.lroundl),e.lsearch=E(e.lsearch),e.lfind=E(e.lfind),e.mbrlen=v(e.mbrlen),e.mbrtoc16=A(e.mbrtoc16),e.mbrtoc32=A(e.mbrtoc32),e.mbsnrtowcs=E(e.mbsnrtowcs),e.mbsrtowcs=A(e.mbsrtowcs),e.mbstowcs=v(e.mbstowcs),e.memccpy=I(e.memccpy),e.memmem=A(e.memmem),e.mempcpy=v(e.mempcpy),e.memrchr=o(e.memrchr),e.mkdtemp=t(e.mkdtemp),e.mktemp=t(e.mktemp),e.gmtime_r=n(e.gmtime_r),e.emscripten_builtin_mmap=b(e.emscripten_builtin_mmap),e.setmntent=n(e.setmntent),e.getmntent_r=B(e.getmntent_r),e.getmntent=t(e.getmntent),e.hasmntopt=n(e.hasmntopt),e.jrand48=t(e.jrand48),e.mrand48=c(e.mrand48),e.mremap=C(e.mremap),e.send=h(e.send),e.recv=h(e.recv),e.getnetbyaddr=F(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=n(e.open_memstream),e.open_wmemstream=n(e.open_wmemstream),e.pathconf=u(e.pathconf),e.posix_getdents=h(e.posix_getdents),e.preadv=x(e.preadv),e.strrchr=u(e.strrchr),e.em_proxying_queue_create=c(e.em_proxying_queue_create),e.thrd_current=c(e.thrd_current),e.emscripten_main_runtime_thread_id=c(e.emscripten_main_runtime_thread_id),e.ptsname=p(e.ptsname),e.pwritev=x(e.pwritev),e.initstate=y(e.initstate),e.setstate=t(e.setstate),e.random=c(e.random),e.readlink=v(e.readlink),e.readlinkat=M(e.readlinkat),e.readv=R(e.readv),e.reallocarray=v(e.reallocarray),e.recvmsg=R(e.recvmsg),e.regerror=M(e.regerror),e.sendto=re(e.sendto),e.sendmsg=R(e.sendmsg),e.__res_state=c(e.__res_state),e.rindex=u(e.rindex),e.secure_getenv=t(e.secure_getenv),e.seed48=t(e.seed48),e.getservent=c(e.getservent),e.setlocale=L(e.setlocale),e.signal=L(e.signal),e.bsd_signal=L(e.bsd_signal),e.__sysv_signal=L(e.__sysv_signal),e.stpcpy=n(e.stpcpy),e.stpncpy=v(e.stpncpy),e.strcasestr=n(e.strcasestr),e.strcat=n(e.strcat),e.strchrnul=u(e.strchrnul),e.__strerror_l=L(e.__strerror_l),e.strerror_l=L(e.strerror_l),e.strfmon_l=E(e.strfmon_l),e.strfmon=A(e.strfmon),e.strftime=A(e.strftime),e.strftime_l=E(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=n(e.strndup),e.strpbrk=n(e.strpbrk),e.strsep=n(e.strsep),e.strsignal=p(e.strsignal),e.strtok=n(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=I(e.strtoul_l),e.strtol_l=I(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=n(e.tempnam),e.textdomain=t(e.textdomain),e.gettext=t(e.gettext),e.ngettext=v(e.ngettext),e.tfind=v(e.tfind),e.tmpfile=c(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=n(e.wcsnlen),e.wcpcpy=n(e.wcpcpy),e.wcscpy=n(e.wcscpy),e.wcpncpy=v(e.wcpncpy),e.wcsncpy=v(e.wcsncpy),e.wcscat=n(e.wcscat),e.wcscspn=n(e.wcscspn),e.wcsdup=t(e.wcsdup),e.wmemcpy=v(e.wmemcpy),e.__wcsftime_l=E(e.__wcsftime_l),e.wcstoul=d(e.wcstoul),e.wcsftime=A(e.wcsftime),e.wcsftime_l=E(e.wcsftime_l),e.wcsncat=v(e.wcsncat),e.wmemset=o(e.wmemset),e.wcsnrtombs=E(e.wcsnrtombs),e.wcspbrk=n(e.wcspbrk),e.wcsrchr=u(e.wcsrchr),e.wcsspn=n(e.wcsspn),e.wcsstr=n(e.wcsstr),e.wcstok=v(e.wcstok),e.wcstol=d(e.wcstol),e.wcstombs=v(e.wcstombs),e.wcswcs=n(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=n(e.__wctrans_l),e.wctrans_l=n(e.wctrans_l),e.wmemmove=v(e.wmemmove),e.writev=R(e.writev),e.sbrk=Ee(e.sbrk),e.__libc_realloc=n(e.__libc_realloc),e.realloc_in_place=n(e.realloc_in_place),e.memalign=n(e.memalign),e.valloc=t(e.valloc),e.pvalloc=t(e.pvalloc),e.malloc_usable_size=t(e.malloc_usable_size),e.malloc_footprint=c(e.malloc_footprint),e.malloc_max_footprint=c(e.malloc_max_footprint),e.malloc_footprint_limit=c(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=n(e.bulk_free),e.emscripten_builtin_realloc=n(e.emscripten_builtin_realloc),e.emscripten_builtin_calloc=n(e.emscripten_builtin_calloc),e.emscripten_get_sbrk_ptr=c(e.emscripten_get_sbrk_ptr),e._sbrk64=p(e._sbrk64),e.__emutls_get_address=t(e.__emutls_get_address),e.emscripten_stack_get_free=c(e.emscripten_stack_get_free),e._emscripten_stack_alloc=t(e._emscripten_stack_alloc),e.__cxa_current_primary_exception=c(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=j(e.gethostbyaddr),e.gethostbyname=t(e.gethostbyname),e.gethostbyname2=u(e.gethostbyname2),e.recvfrom=pe(e.recvfrom),e}function callMain(e=[]){var t=resolveGlobalSymbol("main").sym;if(t){e.unshift(thisProgram);var n=e.length,o=stackAlloc((n+1)*4),c=o;for(var u of e)HEAPU32[c>>>2>>>0]=stringToUTF8OnStack(u),c+=4;HEAPU32[c>>>2>>>0]=0;try{var d=t(n,o);return exitJS(d,!0),d}catch(p){return handleException(p)}}}async function run(e=programArgs){var o;preRun(),runDependencies&&await resolveRunDependencies();var t=Module.setStatus;if(t&&(t("Running..."),await new Promise(c=>setTimeout(c,1)),setTimeout(t,1,"")),!ABORT){initRuntime(),callRuntimeCallbacks(onMains),(o=Module.onRuntimeInitialized)==null||o.call(Module);var n=Module.noInitialRun||!1;n||callMain(e),postRun()}}var wasmExports;return wasmExports=await createWasm(),await run(),Module}})();typeof exports=="object"&&typeof module=="object"?(module.exports=DuckDB,module.exports.default=DuckDB):typeof define=="function"&&define.amd&&define([],()=>DuckDB)});var e_=Un(()=>{});var t_=Un(()=>{});var r_=Un((JS,wa)=>{(function(){"use strict";var l="input is invalid type",r=typeof window=="object",a=r?window:{};a.JS_SHA256_NO_WINDOW&&(r=!1);var _=!r&&typeof self=="object",f=!a.JS_SHA256_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node&&process.type!="renderer";f?a=global:_&&(a=self);var m=!a.JS_SHA256_NO_COMMON_JS&&typeof wa=="object"&&wa.exports,g=typeof define=="function"&&define.amd,e=!a.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",t="0123456789abcdef".split(""),n=[-2147483648,8388608,32768,128],o=[24,16,8,0],c=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],u=["hex","array","digest","arrayBuffer"],d=[];(a.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(S){return Object.prototype.toString.call(S)==="[object Array]"}),e&&(a.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(S){return typeof S=="object"&&S.buffer&&S.buffer.constructor===ArrayBuffer});var p=function(S,w){return function(T){return new A(w,!0).update(T)[S]()}},h=function(S){var w=p("hex",S);f&&(w=y(w,S)),w.create=function(){return new A(S)},w.update=function(P){return w.create().update(P)};for(var T=0;T<u.length;++T){var F=u[T];w[F]=p(F,S)}return w},y=function(S,w){var T=e_(),F=t_().Buffer,P=w?"sha224":"sha256",I;F.from&&!a.JS_SHA256_NO_BUFFER_FROM?I=F.from:I=function(C){return new F(C)};var B=function(C){if(typeof C=="string")return T.createHash(P).update(C,"utf8").digest("hex");if(C==null)throw new Error(l);return C.constructor===ArrayBuffer&&(C=new Uint8Array(C)),Array.isArray(C)||ArrayBuffer.isView(C)||C.constructor===F?T.createHash(P).update(I(C)).digest("hex"):S(C)};return B},b=function(S,w){return function(T,F){return new L(T,w,!0).update(F)[S]()}},v=function(S){var w=b("hex",S);w.create=function(P){return new L(P,S)},w.update=function(P,I){return w.create(P).update(I)};for(var T=0;T<u.length;++T){var F=u[T];w[F]=b(F,S)}return w};function A(S,w){w?(d[0]=d[16]=d[1]=d[2]=d[3]=d[4]=d[5]=d[6]=d[7]=d[8]=d[9]=d[10]=d[11]=d[12]=d[13]=d[14]=d[15]=0,this.blocks=d):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],S?(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=S}A.prototype.update=function(S){if(!this.finalized){var w,T=typeof S;if(T!=="string"){if(T==="object"){if(S===null)throw new Error(l);if(e&&S.constructor===ArrayBuffer)S=new Uint8Array(S);else if(!Array.isArray(S)&&(!e||!ArrayBuffer.isView(S)))throw new Error(l)}else throw new Error(l);w=!0}for(var F,P=0,I,B=S.length,C=this.blocks;P<B;){if(this.hashed&&(this.hashed=!1,C[0]=this.block,this.block=C[16]=C[1]=C[2]=C[3]=C[4]=C[5]=C[6]=C[7]=C[8]=C[9]=C[10]=C[11]=C[12]=C[13]=C[14]=C[15]=0),w)for(I=this.start;P<B&&I<64;++P)C[I>>>2]|=S[P]<<o[I++&3];else for(I=this.start;P<B&&I<64;++P)F=S.charCodeAt(P),F<128?C[I>>>2]|=F<<o[I++&3]:F<2048?(C[I>>>2]|=(192|F>>>6)<<o[I++&3],C[I>>>2]|=(128|F&63)<<o[I++&3]):F<55296||F>=57344?(C[I>>>2]|=(224|F>>>12)<<o[I++&3],C[I>>>2]|=(128|F>>>6&63)<<o[I++&3],C[I>>>2]|=(128|F&63)<<o[I++&3]):(F=65536+((F&1023)<<10|S.charCodeAt(++P)&1023),C[I>>>2]|=(240|F>>>18)<<o[I++&3],C[I>>>2]|=(128|F>>>12&63)<<o[I++&3],C[I>>>2]|=(128|F>>>6&63)<<o[I++&3],C[I>>>2]|=(128|F&63)<<o[I++&3]);this.lastByteIndex=I,this.bytes+=I-this.start,I>=64?(this.block=C[16],this.start=I-64,this.hash(),this.hashed=!0):this.start=I}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},A.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var S=this.blocks,w=this.lastByteIndex;S[16]=this.block,S[w>>>2]|=n[w&3],this.block=S[16],w>=56&&(this.hashed||this.hash(),S[0]=this.block,S[16]=S[1]=S[2]=S[3]=S[4]=S[5]=S[6]=S[7]=S[8]=S[9]=S[10]=S[11]=S[12]=S[13]=S[14]=S[15]=0),S[14]=this.hBytes<<3|this.bytes>>>29,S[15]=this.bytes<<3,this.hash()}},A.prototype.hash=function(){var S=this.h0,w=this.h1,T=this.h2,F=this.h3,P=this.h4,I=this.h5,B=this.h6,C=this.h7,x=this.blocks,M,R,re,Ee,j,pe,U,G,H,W,ae;for(M=16;M<64;++M)j=x[M-15],R=(j>>>7|j<<25)^(j>>>18|j<<14)^j>>>3,j=x[M-2],re=(j>>>17|j<<15)^(j>>>19|j<<13)^j>>>10,x[M]=x[M-16]+R+x[M-7]+re<<0;for(ae=w&T,M=0;M<64;M+=4)this.first?(this.is224?(G=300032,j=x[0]-1413257819,C=j-150054599<<0,F=j+24177077<<0):(G=704751109,j=x[0]-210244248,C=j-1521486534<<0,F=j+143694565<<0),this.first=!1):(R=(S>>>2|S<<30)^(S>>>13|S<<19)^(S>>>22|S<<10),re=(P>>>6|P<<26)^(P>>>11|P<<21)^(P>>>25|P<<7),G=S&w,Ee=G^S&T^ae,U=P&I^~P&B,j=C+re+U+c[M]+x[M],pe=R+Ee,C=F+j<<0,F=j+pe<<0),R=(F>>>2|F<<30)^(F>>>13|F<<19)^(F>>>22|F<<10),re=(C>>>6|C<<26)^(C>>>11|C<<21)^(C>>>25|C<<7),H=F&S,Ee=H^F&w^G,U=C&P^~C&I,j=B+re+U+c[M+1]+x[M+1],pe=R+Ee,B=T+j<<0,T=j+pe<<0,R=(T>>>2|T<<30)^(T>>>13|T<<19)^(T>>>22|T<<10),re=(B>>>6|B<<26)^(B>>>11|B<<21)^(B>>>25|B<<7),W=T&F,Ee=W^T&S^H,U=B&C^~B&P,j=I+re+U+c[M+2]+x[M+2],pe=R+Ee,I=w+j<<0,w=j+pe<<0,R=(w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10),re=(I>>>6|I<<26)^(I>>>11|I<<21)^(I>>>25|I<<7),ae=w&T,Ee=ae^w&F^W,U=I&B^~I&C,j=P+re+U+c[M+3]+x[M+3],pe=R+Ee,P=S+j<<0,S=j+pe<<0,this.chromeBugWorkAround=!0;this.h0=this.h0+S<<0,this.h1=this.h1+w<<0,this.h2=this.h2+T<<0,this.h3=this.h3+F<<0,this.h4=this.h4+P<<0,this.h5=this.h5+I<<0,this.h6=this.h6+B<<0,this.h7=this.h7+C<<0},A.prototype.hex=function(){this.finalize();var S=this.h0,w=this.h1,T=this.h2,F=this.h3,P=this.h4,I=this.h5,B=this.h6,C=this.h7,x=t[S>>>28&15]+t[S>>>24&15]+t[S>>>20&15]+t[S>>>16&15]+t[S>>>12&15]+t[S>>>8&15]+t[S>>>4&15]+t[S&15]+t[w>>>28&15]+t[w>>>24&15]+t[w>>>20&15]+t[w>>>16&15]+t[w>>>12&15]+t[w>>>8&15]+t[w>>>4&15]+t[w&15]+t[T>>>28&15]+t[T>>>24&15]+t[T>>>20&15]+t[T>>>16&15]+t[T>>>12&15]+t[T>>>8&15]+t[T>>>4&15]+t[T&15]+t[F>>>28&15]+t[F>>>24&15]+t[F>>>20&15]+t[F>>>16&15]+t[F>>>12&15]+t[F>>>8&15]+t[F>>>4&15]+t[F&15]+t[P>>>28&15]+t[P>>>24&15]+t[P>>>20&15]+t[P>>>16&15]+t[P>>>12&15]+t[P>>>8&15]+t[P>>>4&15]+t[P&15]+t[I>>>28&15]+t[I>>>24&15]+t[I>>>20&15]+t[I>>>16&15]+t[I>>>12&15]+t[I>>>8&15]+t[I>>>4&15]+t[I&15]+t[B>>>28&15]+t[B>>>24&15]+t[B>>>20&15]+t[B>>>16&15]+t[B>>>12&15]+t[B>>>8&15]+t[B>>>4&15]+t[B&15];return this.is224||(x+=t[C>>>28&15]+t[C>>>24&15]+t[C>>>20&15]+t[C>>>16&15]+t[C>>>12&15]+t[C>>>8&15]+t[C>>>4&15]+t[C&15]),x},A.prototype.toString=A.prototype.hex,A.prototype.digest=function(){this.finalize();var S=this.h0,w=this.h1,T=this.h2,F=this.h3,P=this.h4,I=this.h5,B=this.h6,C=this.h7,x=[S>>>24&255,S>>>16&255,S>>>8&255,S&255,w>>>24&255,w>>>16&255,w>>>8&255,w&255,T>>>24&255,T>>>16&255,T>>>8&255,T&255,F>>>24&255,F>>>16&255,F>>>8&255,F&255,P>>>24&255,P>>>16&255,P>>>8&255,P&255,I>>>24&255,I>>>16&255,I>>>8&255,I&255,B>>>24&255,B>>>16&255,B>>>8&255,B&255];return this.is224||x.push(C>>>24&255,C>>>16&255,C>>>8&255,C&255),x},A.prototype.array=A.prototype.digest,A.prototype.arrayBuffer=function(){this.finalize();var S=new ArrayBuffer(this.is224?28:32),w=new DataView(S);return w.setUint32(0,this.h0),w.setUint32(4,this.h1),w.setUint32(8,this.h2),w.setUint32(12,this.h3),w.setUint32(16,this.h4),w.setUint32(20,this.h5),w.setUint32(24,this.h6),this.is224||w.setUint32(28,this.h7),S};function L(S,w,T){var F,P=typeof S;if(P==="string"){var I=[],B=S.length,C=0,x;for(F=0;F<B;++F)x=S.charCodeAt(F),x<128?I[C++]=x:x<2048?(I[C++]=192|x>>>6,I[C++]=128|x&63):x<55296||x>=57344?(I[C++]=224|x>>>12,I[C++]=128|x>>>6&63,I[C++]=128|x&63):(x=65536+((x&1023)<<10|S.charCodeAt(++F)&1023),I[C++]=240|x>>>18,I[C++]=128|x>>>12&63,I[C++]=128|x>>>6&63,I[C++]=128|x&63);S=I}else if(P==="object"){if(S===null)throw new Error(l);if(e&&S.constructor===ArrayBuffer)S=new Uint8Array(S);else if(!Array.isArray(S)&&(!e||!ArrayBuffer.isView(S)))throw new Error(l)}else throw new Error(l);S.length>64&&(S=new A(w,!0).update(S).array());var M=[],R=[];for(F=0;F<64;++F){var re=S[F]||0;M[F]=92^re,R[F]=54^re}A.call(this,w,T),this.update(R),this.oKeyPad=M,this.inner=!0,this.sharedMemory=T}L.prototype=new A,L.prototype.finalize=function(){if(A.prototype.finalize.call(this),this.inner){this.inner=!1;var S=this.array();A.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(S),A.prototype.finalize.call(this)}};var E=h();E.sha256=E,E.sha224=h(!0),E.sha256.hmac=v(),E.sha224.hmac=v(!0),m?wa.exports=E:(a.sha256=E.sha256,a.sha224=E.sha224,g&&define(function(){return E}))})()});var zd={};Sr(zd,{registerWorker:()=>a_});function Xo(l,r){var a={};for(var _ in l)Object.prototype.hasOwnProperty.call(l,_)&&r.indexOf(_)<0&&(a[_]=l[_]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,_=Object.getOwnPropertySymbols(l);f<_.length;f++)r.indexOf(_[f])<0&&Object.prototype.propertyIsEnumerable.call(l,_[f])&&(a[_[f]]=l[_[f]]);return a}function O(l,r,a,_){function f(m){return m instanceof a?m:new a(function(g){g(m)})}return new(a||(a=Promise))(function(m,g){function e(o){try{n(_.next(o))}catch(c){g(c)}}function t(o){try{n(_.throw(o))}catch(c){g(c)}}function n(o){o.done?m(o.value):f(o.value).then(e,t)}n((_=_.apply(l,r||[])).next())})}function qo(l){var r=typeof Symbol=="function"&&Symbol.iterator,a=r&&l[r],_=0;if(a)return a.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&_>=l.length&&(l=void 0),{value:l&&l[_++],done:!l}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function oe(l){return this instanceof oe?(this.v=l,this):new oe(l)}function tt(l,r,a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var _=a.apply(l,r||[]),f,m=[];return f={},g("next"),g("throw"),g("return"),f[Symbol.asyncIterator]=function(){return this},f;function g(u){_[u]&&(f[u]=function(d){return new Promise(function(p,h){m.push([u,d,p,h])>1||e(u,d)})})}function e(u,d){try{t(_[u](d))}catch(p){c(m[0][3],p)}}function t(u){u.value instanceof oe?Promise.resolve(u.value.v).then(n,o):c(m[0][2],u)}function n(u){e("next",u)}function o(u){e("throw",u)}function c(u,d){u(d),m.shift(),m.length&&e(m[0][0],m[0][1])}}function an(l){var r,a;return r={},_("next"),_("throw",function(f){throw f}),_("return"),r[Symbol.iterator]=function(){return this},r;function _(f,m){r[f]=l[f]?function(g){return(a=!a)?{value:oe(l[f](g)),done:!1}:m?m(g):g}:m}}function mt(l){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=l[Symbol.asyncIterator],a;return r?r.call(l):(l=typeof qo=="function"?qo(l):l[Symbol.iterator](),a={},_("next"),_("throw"),_("return"),a[Symbol.asyncIterator]=function(){return this},a);function _(m){a[m]=l[m]&&function(g){return new Promise(function(e,t){g=l[m](g),f(e,t,g.done,g.value)})}}function f(m,g,e,t){Promise.resolve(t).then(function(n){m({value:n,done:e})},g)}}var xa={};Sr(xa,{compareArrayLike:()=>ka,joinUint8Arrays:()=>rt,memcpy:()=>Rn,rebaseValueOffsets:()=>zi,toArrayBufferView:()=>le,toArrayBufferViewAsyncIterator:()=>vt,toArrayBufferViewIterator:()=>Gt,toBigInt64Array:()=>Vi,toBigUint64Array:()=>A_,toFloat32Array:()=>L_,toFloat32ArrayAsyncIterator:()=>R_,toFloat32ArrayIterator:()=>I_,toFloat64Array:()=>E_,toFloat64ArrayAsyncIterator:()=>H_,toFloat64ArrayIterator:()=>k_,toInt16Array:()=>y_,toInt16ArrayAsyncIterator:()=>B_,toInt16ArrayIterator:()=>D_,toInt32Array:()=>Rr,toInt32ArrayAsyncIterator:()=>U_,toInt32ArrayIterator:()=>T_,toInt8Array:()=>v_,toInt8ArrayAsyncIterator:()=>M_,toInt8ArrayIterator:()=>F_,toUint16Array:()=>b_,toUint16ArrayAsyncIterator:()=>G_,toUint16ArrayIterator:()=>P_,toUint32Array:()=>S_,toUint32ArrayAsyncIterator:()=>O_,toUint32ArrayIterator:()=>C_,toUint8Array:()=>Q,toUint8ArrayAsyncIterator:()=>Ia,toUint8ArrayIterator:()=>Ca,toUint8ClampedArray:()=>w_,toUint8ClampedArrayAsyncIterator:()=>N_,toUint8ClampedArrayIterator:()=>x_});var p_=new TextDecoder("utf-8"),Gn=l=>p_.decode(l),m_=new TextEncoder,Ut=l=>m_.encode(l);var g_=l=>typeof l=="number",Yo=l=>typeof l=="boolean",Ue=l=>typeof l=="function",je=l=>l!=null&&Object(l)===l,gt=l=>je(l)&&Ue(l.then);var ht=l=>je(l)&&Ue(l[Symbol.iterator]),lt=l=>je(l)&&Ue(l[Symbol.asyncIterator]),Gi=l=>je(l)&&je(l.schema);var Oi=l=>je(l)&&"done"in l&&"value"in l;var Ri=l=>je(l)&&Ue(l.stat)&&g_(l.fd);var Hi=l=>je(l)&&On(l.body),Ni=l=>"_getDOMStream"in l&&"_getNodeStream"in l,Jo=l=>je(l)&&Ue(l.abort)&&Ue(l.getWriter)&&!Ni(l),On=l=>je(l)&&Ue(l.cancel)&&Ue(l.getReader)&&!Ni(l),Ko=l=>je(l)&&Ue(l.end)&&Ue(l.write)&&Yo(l.writable)&&!Ni(l),Wi=l=>je(l)&&Ue(l.read)&&Ue(l.pipe)&&Yo(l.readable)&&!Ni(l),Qo=l=>je(l)&&Ue(l.clear)&&Ue(l.bytes)&&Ue(l.position)&&Ue(l.setPosition)&&Ue(l.capacity)&&Ue(l.getBufferIdentifier)&&Ue(l.createLong);var Pa=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function h_(l){let r=l[0]?[l[0]]:[],a,_,f,m;for(let g,e,t=0,n=0,o=l.length;++t<o;){if(g=r[n],e=l[t],!g||!e||g.buffer!==e.buffer||e.byteOffset<g.byteOffset){e&&(r[++n]=e);continue}if({byteOffset:a,byteLength:f}=g,{byteOffset:_,byteLength:m}=e,a+f<_||_+m<a){e&&(r[++n]=e);continue}r[n]=new Uint8Array(g.buffer,a,_-a+m)}return r}function Rn(l,r,a=0,_=r.byteLength){let f=l.byteLength,m=new Uint8Array(l.buffer,l.byteOffset,f),g=new Uint8Array(r.buffer,r.byteOffset,Math.min(_,f));return m.set(g,a),l}function rt(l,r){let a=h_(l),_=a.reduce((o,c)=>o+c.byteLength,0),f,m,g,e=0,t=-1,n=Math.min(r||Number.POSITIVE_INFINITY,_);for(let o=a.length;++t<o;){if(f=a[t],m=f.subarray(0,Math.min(f.length,n-e)),n<=e+m.length){m.length<f.length?a[t]=f.subarray(m.length):m.length===f.length&&t++,g?Rn(g,m,e):g=m;break}Rn(g||(g=new Uint8Array(n)),m,e),e+=m.length}return[g||new Uint8Array(0),a.slice(t),_-(g?g.byteLength:0)]}function le(l,r){let a=Oi(r)?r.value:r;return a instanceof l?l===Uint8Array?new l(a.buffer,a.byteOffset,a.byteLength):a:a?(typeof a=="string"&&(a=Ut(a)),a instanceof ArrayBuffer?new l(a):a instanceof Pa?new l(a):Qo(a)?le(l,a.bytes()):ArrayBuffer.isView(a)?a.byteLength<=0?new l(0):new l(a.buffer,a.byteOffset,a.byteLength/l.BYTES_PER_ELEMENT):l.from(a)):new l(0)}var v_=l=>le(Int8Array,l),y_=l=>le(Int16Array,l),Rr=l=>le(Int32Array,l),Vi=l=>le(BigInt64Array,l),Q=l=>le(Uint8Array,l),b_=l=>le(Uint16Array,l),S_=l=>le(Uint32Array,l),A_=l=>le(BigUint64Array,l),L_=l=>le(Float32Array,l),E_=l=>le(Float64Array,l),w_=l=>le(Uint8ClampedArray,l),Ta=l=>(l.next(),l);function*Gt(l,r){let a=function*(f){yield f},_=typeof r=="string"||ArrayBuffer.isView(r)||r instanceof ArrayBuffer||r instanceof Pa?a(r):ht(r)?r:a(r);return yield*Ta(function*(f){let m=null;do m=f.next(yield le(l,m));while(!m.done)}(_[Symbol.iterator]())),new l}var F_=l=>Gt(Int8Array,l),D_=l=>Gt(Int16Array,l),T_=l=>Gt(Int32Array,l),Ca=l=>Gt(Uint8Array,l),P_=l=>Gt(Uint16Array,l),C_=l=>Gt(Uint32Array,l),I_=l=>Gt(Float32Array,l),k_=l=>Gt(Float64Array,l),x_=l=>Gt(Uint8ClampedArray,l);function vt(l,r){return tt(this,arguments,function*(){if(gt(r))return yield oe(yield oe(yield*an(mt(vt(l,yield oe(r))))));let _=function(g){return tt(this,arguments,function*(){yield yield oe(yield oe(g))})},f=function(g){return tt(this,arguments,function*(){yield oe(yield*an(mt(Ta(function*(e){let t=null;do t=e.next(yield t==null?void 0:t.value);while(!t.done)}(g[Symbol.iterator]())))))})},m=typeof r=="string"||ArrayBuffer.isView(r)||r instanceof ArrayBuffer||r instanceof Pa?_(r):ht(r)?f(r):lt(r)?r:_(r);return yield oe(yield*an(mt(Ta(function(g){return tt(this,arguments,function*(){let e=null;do e=yield oe(g.next(yield yield oe(le(l,e))));while(!e.done)})}(m[Symbol.asyncIterator]()))))),yield oe(new l)})}var M_=l=>vt(Int8Array,l),B_=l=>vt(Int16Array,l),U_=l=>vt(Int32Array,l),Ia=l=>vt(Uint8Array,l),G_=l=>vt(Uint16Array,l),O_=l=>vt(Uint32Array,l),R_=l=>vt(Float32Array,l),H_=l=>vt(Float64Array,l),N_=l=>vt(Uint8ClampedArray,l);function zi(l,r,a){if(l!==0){a=a.slice(0,r);for(let _=-1,f=a.length;++_<f;)a[_]+=l}return a.subarray(0,r)}function ka(l,r){let a=0,_=l.length;if(_!==r.length)return!1;if(_>0)do if(l[a]!==r[a])return!1;while(++a<_);return!0}var He={fromIterable(l){return ji(W_(l))},fromAsyncIterable(l){return ji(V_(l))},fromDOMStream(l){return ji(z_(l))},fromNodeStream(l){return ji(j_(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')}},ji=l=>(l.next(),l);function*W_(l){let r,a=!1,_=[],f,m,g,e=0;function t(){return m==="peek"?rt(_,g)[0]:([f,_,e]=rt(_,g),f)}({cmd:m,size:g}=(yield null)||{cmd:"read",size:0});let n=Ca(l)[Symbol.iterator]();try{do if({done:r,value:f}=Number.isNaN(g-e)?n.next():n.next(g-e),!r&&f.byteLength>0&&(_.push(f),e+=f.byteLength),r||g<=e)do({cmd:m,size:g}=yield t());while(g<e);while(!r)}catch(o){(a=!0)&&typeof n.throw=="function"&&n.throw(o)}finally{a===!1&&typeof n.return=="function"&&n.return(null)}return null}function V_(l){return tt(this,arguments,function*(){let a,_=!1,f=[],m,g,e,t=0;function n(){return g==="peek"?rt(f,e)[0]:([m,f,t]=rt(f,e),m)}({cmd:g,size:e}=(yield yield oe(null))||{cmd:"read",size:0});let o=Ia(l)[Symbol.asyncIterator]();try{do if({done:a,value:m}=Number.isNaN(e-t)?yield oe(o.next()):yield oe(o.next(e-t)),!a&&m.byteLength>0&&(f.push(m),t+=m.byteLength),a||e<=t)do({cmd:g,size:e}=yield yield oe(n()));while(e<t);while(!a)}catch(c){(_=!0)&&typeof o.throw=="function"&&(yield oe(o.throw(c)))}finally{_===!1&&typeof o.return=="function"&&(yield oe(o.return(new Uint8Array(0))))}return yield oe(null)})}function z_(l){return tt(this,arguments,function*(){let a=!1,_=!1,f=[],m,g,e,t=0;function n(){return g==="peek"?rt(f,e)[0]:([m,f,t]=rt(f,e),m)}({cmd:g,size:e}=(yield yield oe(null))||{cmd:"read",size:0});let o=new Ba(l);try{do if({done:a,value:m}=Number.isNaN(e-t)?yield oe(o.read()):yield oe(o.read(e-t)),!a&&m.byteLength>0&&(f.push(Q(m)),t+=m.byteLength),a||e<=t)do({cmd:g,size:e}=yield yield oe(n()));while(e<t);while(!a)}catch(c){(_=!0)&&(yield oe(o.cancel(c)))}finally{_===!1?yield oe(o.cancel()):l.locked&&o.releaseLock()}return yield oe(null)})}var 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 O(this,void 0,void 0,function*(){let{reader:a,source:_}=this;a&&(yield a.cancel(r).catch(()=>{})),_&&_.locked&&this.releaseLock()})}read(r){return O(this,void 0,void 0,function*(){if(r===0)return{done:this.reader==null,value:new Uint8Array(0)};let a=yield this.reader.read();return!a.done&&(a.value=Q(a)),a})}},Ma=(l,r)=>{let a=f=>_([r,f]),_;return[r,a,new Promise(f=>(_=f)&&l.once(r,a))]};function j_(l){return tt(this,arguments,function*(){let a=[],_="error",f=!1,m=null,g,e,t=0,n=[],o;function c(){return g==="peek"?rt(n,e)[0]:([o,n,t]=rt(n,e),o)}if({cmd:g,size:e}=(yield yield oe(null))||{cmd:"read",size:0},l.isTTY)return yield yield oe(new Uint8Array(0)),yield oe(null);try{a[0]=Ma(l,"end"),a[1]=Ma(l,"error");do{if(a[2]=Ma(l,"readable"),[_,m]=yield oe(Promise.race(a.map(d=>d[2]))),_==="error")break;if((f=_==="end")||(Number.isFinite(e-t)?(o=Q(l.read(e-t)),o.byteLength<e-t&&(o=Q(l.read()))):o=Q(l.read()),o.byteLength>0&&(n.push(o),t+=o.byteLength)),f||e<=t)do({cmd:g,size:e}=yield yield oe(c()));while(e<t)}while(!f)}finally{yield oe(u(a,_==="error"?m:null))}return yield oe(null);function u(d,p){return o=n=null,new Promise((h,y)=>{for(let[b,v]of d)l.off(b,v);try{let b=l.destroy;b&&b.call(l,p),p=void 0}catch(b){p=b||p}finally{p!=null?y(p):h()}})}})}var ge;(function(l){l[l.V1=0]="V1",l[l.V2=1]="V2",l[l.V3=2]="V3",l[l.V4=3]="V4",l[l.V5=4]="V5"})(ge||(ge={}));var Se;(function(l){l[l.Sparse=0]="Sparse",l[l.Dense=1]="Dense"})(Se||(Se={}));var be;(function(l){l[l.HALF=0]="HALF",l[l.SINGLE=1]="SINGLE",l[l.DOUBLE=2]="DOUBLE"})(be||(be={}));var Ce;(function(l){l[l.DAY=0]="DAY",l[l.MILLISECOND=1]="MILLISECOND"})(Ce||(Ce={}));var V;(function(l){l[l.SECOND=0]="SECOND",l[l.MILLISECOND=1]="MILLISECOND",l[l.MICROSECOND=2]="MICROSECOND",l[l.NANOSECOND=3]="NANOSECOND"})(V||(V={}));var Ge;(function(l){l[l.YEAR_MONTH=0]="YEAR_MONTH",l[l.DAY_TIME=1]="DAY_TIME",l[l.MONTH_DAY_NANO=2]="MONTH_DAY_NANO"})(Ge||(Ge={}));var Ot=new Int32Array(2),$i=new Float32Array(Ot.buffer),qi=new Float64Array(Ot.buffer),on=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1;var Hn;(function(l){l[l.UTF8_BYTES=1]="UTF8_BYTES",l[l.UTF16_STRING=2]="UTF16_STRING"})(Hn||(Hn={}));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 Ot[0]=this.readInt32(r),$i[0]}readFloat64(r){return Ot[on?0:1]=this.readInt32(r),Ot[on?1:0]=this.readInt32(r+4),qi[0]}writeInt8(r,a){this.bytes_[r]=a}writeUint8(r,a){this.bytes_[r]=a}writeInt16(r,a){this.bytes_[r]=a,this.bytes_[r+1]=a>>8}writeUint16(r,a){this.bytes_[r]=a,this.bytes_[r+1]=a>>8}writeInt32(r,a){this.bytes_[r]=a,this.bytes_[r+1]=a>>8,this.bytes_[r+2]=a>>16,this.bytes_[r+3]=a>>24}writeUint32(r,a){this.bytes_[r]=a,this.bytes_[r+1]=a>>8,this.bytes_[r+2]=a>>16,this.bytes_[r+3]=a>>24}writeInt64(r,a){this.writeInt32(r,Number(BigInt.asIntN(32,a))),this.writeInt32(r+4,Number(BigInt.asIntN(32,a>>BigInt(32))))}writeUint64(r,a){this.writeUint32(r,Number(BigInt.asUintN(32,a))),this.writeUint32(r+4,Number(BigInt.asUintN(32,a>>BigInt(32))))}writeFloat32(r,a){$i[0]=a,this.writeInt32(r,Ot[0])}writeFloat64(r,a){qi[0]=a,this.writeInt32(r,Ot[on?0:1]),this.writeInt32(r+4,Ot[on?1:0])}getBufferIdentifier(){if(this.bytes_.length<this.position_+4+4)throw new Error("FlatBuffers: ByteBuffer is too short to contain an identifier.");let r="";for(let a=0;a<4;a++)r+=String.fromCharCode(this.readInt8(this.position_+4+a));return r}__offset(r,a){let _=r-this.readInt32(r);return a<this.readInt16(_)?this.readInt16(_+a):0}__union(r,a){return r.bb_pos=a+this.readInt32(a),r.bb=this,r}__string(r,a){r+=this.readInt32(r);let _=this.readInt32(r);r+=4;let f=this.bytes_.subarray(r,r+_);return a===Hn.UTF8_BYTES?f:this.text_decoder_.decode(f)}__union_with_string(r,a){return typeof r=="string"?this.__string(a):this.__union(r,a)}__indirect(r){return r+this.readInt32(r)}__vector(r){return r+this.readInt32(r)+4}__vector_len(r){return this.readInt32(r+this.readInt32(r))}__has_identifier(r){if(r.length!=4)throw new Error("FlatBuffers: file identifier must be length "+4);for(let a=0;a<4;a++)if(r.charCodeAt(a)!=this.readInt8(this.position()+4+a))return!1;return!0}createScalarList(r,a){let _=[];for(let f=0;f<a;++f){let m=r(f);m!==null&&_.push(m)}return _}createObjList(r,a){let _=[];for(let f=0;f<a;++f){let m=r(f);m!==null&&_.push(m.unpack())}return _}};var Hr=class l{constructor(r){this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1,this.string_maps=null,this.text_encoder=new TextEncoder;let a;r?a=r:a=1024,this.bb=nt.allocate(a),this.space=a}clear(){this.bb.clear(),this.space=this.bb.capacity(),this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1,this.string_maps=null}forceDefaults(r){this.force_defaults=r}dataBuffer(){return this.bb}asUint8Array(){return this.bb.bytes().subarray(this.bb.position(),this.bb.position()+this.offset())}prep(r,a){r>this.minalign&&(this.minalign=r);let _=~(this.bb.capacity()-this.space+a)+1&r-1;for(;this.space<_+r+a;){let f=this.bb.capacity();this.bb=l.growByteBuffer(this.bb),this.space+=this.bb.capacity()-f}this.pad(_)}pad(r){for(let a=0;a<r;a++)this.bb.writeInt8(--this.space,0)}writeInt8(r){this.bb.writeInt8(this.space-=1,r)}writeInt16(r){this.bb.writeInt16(this.space-=2,r)}writeInt32(r){this.bb.writeInt32(this.space-=4,r)}writeInt64(r){this.bb.writeInt64(this.space-=8,r)}writeFloat32(r){this.bb.writeFloat32(this.space-=4,r)}writeFloat64(r){this.bb.writeFloat64(this.space-=8,r)}addInt8(r){this.prep(1,0),this.writeInt8(r)}addInt16(r){this.prep(2,0),this.writeInt16(r)}addInt32(r){this.prep(4,0),this.writeInt32(r)}addInt64(r){this.prep(8,0),this.writeInt64(r)}addFloat32(r){this.prep(4,0),this.writeFloat32(r)}addFloat64(r){this.prep(8,0),this.writeFloat64(r)}addFieldInt8(r,a,_){(this.force_defaults||a!=_)&&(this.addInt8(a),this.slot(r))}addFieldInt16(r,a,_){(this.force_defaults||a!=_)&&(this.addInt16(a),this.slot(r))}addFieldInt32(r,a,_){(this.force_defaults||a!=_)&&(this.addInt32(a),this.slot(r))}addFieldInt64(r,a,_){(this.force_defaults||a!==_)&&(this.addInt64(a),this.slot(r))}addFieldFloat32(r,a,_){(this.force_defaults||a!=_)&&(this.addFloat32(a),this.slot(r))}addFieldFloat64(r,a,_){(this.force_defaults||a!=_)&&(this.addFloat64(a),this.slot(r))}addFieldOffset(r,a,_){(this.force_defaults||a!=_)&&(this.addOffset(a),this.slot(r))}addFieldStruct(r,a,_){a!=_&&(this.nested(a),this.slot(r))}nested(r){if(r!=this.offset())throw new TypeError("FlatBuffers: struct must be serialized inline.")}notNested(){if(this.isNested)throw new TypeError("FlatBuffers: object serialization must not be nested.")}slot(r){this.vtable!==null&&(this.vtable[r]=this.offset())}offset(){return this.bb.capacity()-this.space}static growByteBuffer(r){let a=r.capacity();if(a&3221225472)throw new Error("FlatBuffers: cannot grow buffer beyond 2 gigabytes.");let _=a<<1,f=nt.allocate(_);return f.setPosition(_-a),f.bytes().set(r.bytes(),_-a),f}addOffset(r){this.prep(4,0),this.writeInt32(this.offset()-r+4)}startObject(r){this.notNested(),this.vtable==null&&(this.vtable=[]),this.vtable_in_use=r;for(let a=0;a<r;a++)this.vtable[a]=0;this.isNested=!0,this.object_start=this.offset()}endObject(){if(this.vtable==null||!this.isNested)throw new Error("FlatBuffers: endObject called without startObject");this.addInt32(0);let r=this.offset(),a=this.vtable_in_use-1;for(;a>=0&&this.vtable[a]==0;a--);let _=a+1;for(;a>=0;a--)this.addInt16(this.vtable[a]!=0?r-this.vtable[a]:0);let f=2;this.addInt16(r-this.object_start);let m=(_+f)*2;this.addInt16(m);let g=0,e=this.space;e:for(a=0;a<this.vtables.length;a++){let t=this.bb.capacity()-this.vtables[a];if(m==this.bb.readInt16(t)){for(let n=2;n<m;n+=2)if(this.bb.readInt16(e+n)!=this.bb.readInt16(t+n))continue e;g=this.vtables[a];break}}return g?(this.space=this.bb.capacity()-r,this.bb.writeInt32(this.space,g-r)):(this.vtables.push(this.offset()),this.bb.writeInt32(this.bb.capacity()-r,this.offset()-r)),this.isNested=!1,r}finish(r,a,_){let f=_?4:0;if(a){let m=a;if(this.prep(this.minalign,8+f),m.length!=4)throw new TypeError("FlatBuffers: file identifier must be length "+4);for(let g=3;g>=0;g--)this.writeInt8(m.charCodeAt(g))}this.prep(this.minalign,4+f),this.addOffset(r),f&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(r,a){this.finish(r,a,!0)}requiredField(r,a){let _=this.bb.capacity()-r,f=_-this.bb.readInt32(_);if(!(a<this.bb.readInt16(f)&&this.bb.readInt16(f+a)!=0))throw new TypeError("FlatBuffers: field "+a+" must be set")}startVector(r,a,_){this.notNested(),this.vector_num_elems=a,this.prep(4,r*a),this.prep(_,r*a)}endVector(){return this.writeInt32(this.vector_num_elems),this.offset()}createSharedString(r){if(!r)return 0;if(this.string_maps||(this.string_maps=new Map),this.string_maps.has(r))return this.string_maps.get(r);let a=this.createString(r);return this.string_maps.set(r,a),a}createString(r){if(r==null)return 0;let a;return r instanceof Uint8Array?a=r:a=this.text_encoder.encode(r),this.addInt8(0),this.startVector(1,a.length,1),this.bb.setPosition(this.space-=a.length),this.bb.bytes().set(a,this.space),this.endVector()}createByteVector(r){return r==null?0:(this.startVector(1,r.length,1),this.bb.setPosition(this.space-=r.length),this.bb.bytes().set(r,this.space),this.endVector())}createObjectOffset(r){return r===null?0:typeof r=="string"?this.createString(r):r.pack(this)}createObjectOffsetList(r){let a=[];for(let _=0;_<r.length;++_){let f=r[_];if(f!==null)a.push(this.createObjectOffset(f));else throw new TypeError("FlatBuffers: Argument for createObjectOffsetList cannot contain null.")}return a}createStructOffsetList(r,a){return a(this,r.length),this.createObjectOffsetList(r.slice().reverse()),this.endVector()}};var Nn;(function(l){l[l.BUFFER=0]="BUFFER"})(Nn||(Nn={}));var Wn;(function(l){l[l.LZ4_FRAME=0]="LZ4_FRAME",l[l.ZSTD=1]="ZSTD"})(Wn||(Wn={}));var Yi=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsBodyCompression(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBodyCompression(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}codec(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt8(this.bb_pos+r):Wn.LZ4_FRAME}method(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.readInt8(this.bb_pos+r):Nn.BUFFER}static startBodyCompression(r){r.startObject(2)}static addCodec(r,a){r.addFieldInt8(0,a,Wn.LZ4_FRAME)}static addMethod(r,a){r.addFieldInt8(1,a,Nn.BUFFER)}static endBodyCompression(r){return r.endObject()}static createBodyCompression(r,a,_){return l.startBodyCompression(r),l.addCodec(r,a),l.addMethod(r,_),l.endBodyCompression(r)}};var ln=class{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(r,a,_){return r.prep(8,16),r.writeInt64(BigInt(_!=null?_:0)),r.writeInt64(BigInt(a!=null?a:0)),r.offset()}};var cn=class{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(r,a,_){return r.prep(8,16),r.writeInt64(BigInt(_!=null?_:0)),r.writeInt64(BigInt(a!=null?a:0)),r.offset()}};var it=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsRecordBatch(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsRecordBatch(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}length(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt64(this.bb_pos+r):BigInt("0")}nodes(r,a){let _=this.bb.__offset(this.bb_pos,6);return _?(a||new cn).__init(this.bb.__vector(this.bb_pos+_)+r*16,this.bb):null}nodesLength(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.__vector_len(this.bb_pos+r):0}buffers(r,a){let _=this.bb.__offset(this.bb_pos,8);return _?(a||new ln).__init(this.bb.__vector(this.bb_pos+_)+r*16,this.bb):null}buffersLength(){let r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__vector_len(this.bb_pos+r):0}compression(r){let a=this.bb.__offset(this.bb_pos,10);return a?(r||new Yi).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}static startRecordBatch(r){r.startObject(4)}static addLength(r,a){r.addFieldInt64(0,a,BigInt("0"))}static addNodes(r,a){r.addFieldOffset(1,a,0)}static startNodesVector(r,a){r.startVector(16,a,8)}static addBuffers(r,a){r.addFieldOffset(2,a,0)}static startBuffersVector(r,a){r.startVector(16,a,8)}static addCompression(r,a){r.addFieldOffset(3,a,0)}static endRecordBatch(r){return r.endObject()}};var Xt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDictionaryBatch(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDictionaryBatch(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}id(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt64(this.bb_pos+r):BigInt("0")}data(r){let a=this.bb.__offset(this.bb_pos,6);return a?(r||new it).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}isDelta(){let r=this.bb.__offset(this.bb_pos,8);return r?!!this.bb.readInt8(this.bb_pos+r):!1}static startDictionaryBatch(r){r.startObject(3)}static addId(r,a){r.addFieldInt64(0,a,BigInt("0"))}static addData(r,a){r.addFieldOffset(1,a,0)}static addIsDelta(r,a){r.addFieldInt8(2,+a,0)}static endDictionaryBatch(r){return r.endObject()}};var Ar;(function(l){l[l.Little=0]="Little",l[l.Big=1]="Big"})(Ar||(Ar={}));var Vn;(function(l){l[l.DenseArray=0]="DenseArray"})(Vn||(Vn={}));var bt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsInt(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsInt(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}bitWidth(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt32(this.bb_pos+r):0}isSigned(){let r=this.bb.__offset(this.bb_pos,6);return r?!!this.bb.readInt8(this.bb_pos+r):!1}static startInt(r){r.startObject(2)}static addBitWidth(r,a){r.addFieldInt32(0,a,0)}static addIsSigned(r,a){r.addFieldInt8(1,+a,0)}static endInt(r){return r.endObject()}static createInt(r,a,_){return l.startInt(r),l.addBitWidth(r,a),l.addIsSigned(r,_),l.endInt(r)}};var Rt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDictionaryEncoding(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDictionaryEncoding(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}id(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt64(this.bb_pos+r):BigInt("0")}indexType(r){let a=this.bb.__offset(this.bb_pos,6);return a?(r||new bt).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}isOrdered(){let r=this.bb.__offset(this.bb_pos,8);return r?!!this.bb.readInt8(this.bb_pos+r):!1}dictionaryKind(){let r=this.bb.__offset(this.bb_pos,10);return r?this.bb.readInt16(this.bb_pos+r):Vn.DenseArray}static startDictionaryEncoding(r){r.startObject(4)}static addId(r,a){r.addFieldInt64(0,a,BigInt("0"))}static addIndexType(r,a){r.addFieldOffset(1,a,0)}static addIsOrdered(r,a){r.addFieldInt8(2,+a,0)}static addDictionaryKind(r,a){r.addFieldInt16(3,a,Vn.DenseArray)}static endDictionaryEncoding(r){return r.endObject()}};var Oe=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsKeyValue(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsKeyValue(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}key(r){let a=this.bb.__offset(this.bb_pos,4);return a?this.bb.__string(this.bb_pos+a,r):null}value(r){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__string(this.bb_pos+a,r):null}static startKeyValue(r){r.startObject(2)}static addKey(r,a){r.addFieldOffset(0,a,0)}static addValue(r,a){r.addFieldOffset(1,a,0)}static endKeyValue(r){return r.endObject()}static createKeyValue(r,a,_){return l.startKeyValue(r),l.addKey(r,a),l.addValue(r,_),l.endKeyValue(r)}};var zn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsBinary(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBinary(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startBinary(r){r.startObject(0)}static endBinary(r){return r.endObject()}static createBinary(r){return l.startBinary(r),l.endBinary(r)}};var jn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsBool(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBool(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startBool(r){r.startObject(0)}static endBool(r){return r.endObject()}static createBool(r){return l.startBool(r),l.endBool(r)}};var Lr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDate(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDate(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):Ce.MILLISECOND}static startDate(r){r.startObject(1)}static addUnit(r,a){r.addFieldInt16(0,a,Ce.MILLISECOND)}static endDate(r){return r.endObject()}static createDate(r,a){return l.startDate(r),l.addUnit(r,a),l.endDate(r)}};var Ht=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDecimal(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDecimal(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}precision(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt32(this.bb_pos+r):0}scale(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.readInt32(this.bb_pos+r):0}bitWidth(){let r=this.bb.__offset(this.bb_pos,8);return r?this.bb.readInt32(this.bb_pos+r):128}static startDecimal(r){r.startObject(3)}static addPrecision(r,a){r.addFieldInt32(0,a,0)}static addScale(r,a){r.addFieldInt32(1,a,0)}static addBitWidth(r,a){r.addFieldInt32(2,a,128)}static endDecimal(r){return r.endObject()}static createDecimal(r,a,_,f){return l.startDecimal(r),l.addPrecision(r,a),l.addScale(r,_),l.addBitWidth(r,f),l.endDecimal(r)}};var Er=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDuration(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDuration(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):V.MILLISECOND}static startDuration(r){r.startObject(1)}static addUnit(r,a){r.addFieldInt16(0,a,V.MILLISECOND)}static endDuration(r){return r.endObject()}static createDuration(r,a){return l.startDuration(r),l.addUnit(r,a),l.endDuration(r)}};var wr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsFixedSizeBinary(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFixedSizeBinary(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}byteWidth(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt32(this.bb_pos+r):0}static startFixedSizeBinary(r){r.startObject(1)}static addByteWidth(r,a){r.addFieldInt32(0,a,0)}static endFixedSizeBinary(r){return r.endObject()}static createFixedSizeBinary(r,a){return l.startFixedSizeBinary(r),l.addByteWidth(r,a),l.endFixedSizeBinary(r)}};var Fr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsFixedSizeList(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFixedSizeList(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}listSize(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt32(this.bb_pos+r):0}static startFixedSizeList(r){r.startObject(1)}static addListSize(r,a){r.addFieldInt32(0,a,0)}static endFixedSizeList(r){return r.endObject()}static createFixedSizeList(r,a){return l.startFixedSizeList(r),l.addListSize(r,a),l.endFixedSizeList(r)}};var Dr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsFloatingPoint(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFloatingPoint(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}precision(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):be.HALF}static startFloatingPoint(r){r.startObject(1)}static addPrecision(r,a){r.addFieldInt16(0,a,be.HALF)}static endFloatingPoint(r){return r.endObject()}static createFloatingPoint(r,a){return l.startFloatingPoint(r),l.addPrecision(r,a),l.endFloatingPoint(r)}};var Tr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsInterval(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsInterval(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):Ge.YEAR_MONTH}static startInterval(r){r.startObject(1)}static addUnit(r,a){r.addFieldInt16(0,a,Ge.YEAR_MONTH)}static endInterval(r){return r.endObject()}static createInterval(r,a){return l.startInterval(r),l.addUnit(r,a),l.endInterval(r)}};var $n=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsLargeBinary(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsLargeBinary(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startLargeBinary(r){r.startObject(0)}static endLargeBinary(r){return r.endObject()}static createLargeBinary(r){return l.startLargeBinary(r),l.endLargeBinary(r)}};var qn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsLargeUtf8(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsLargeUtf8(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startLargeUtf8(r){r.startObject(0)}static endLargeUtf8(r){return r.endObject()}static createLargeUtf8(r){return l.startLargeUtf8(r),l.endLargeUtf8(r)}};var Xn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsList(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsList(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startList(r){r.startObject(0)}static endList(r){return r.endObject()}static createList(r){return l.startList(r),l.endList(r)}};var Pr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsMap(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsMap(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}keysSorted(){let r=this.bb.__offset(this.bb_pos,4);return r?!!this.bb.readInt8(this.bb_pos+r):!1}static startMap(r){r.startObject(1)}static addKeysSorted(r,a){r.addFieldInt8(0,+a,0)}static endMap(r){return r.endObject()}static createMap(r,a){return l.startMap(r),l.addKeysSorted(r,a),l.endMap(r)}};var Yn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsNull(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsNull(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startNull(r){r.startObject(0)}static endNull(r){return r.endObject()}static createNull(r){return l.startNull(r),l.endNull(r)}};var Jn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsStruct_(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsStruct_(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startStruct_(r){r.startObject(0)}static endStruct_(r){return r.endObject()}static createStruct_(r){return l.startStruct_(r),l.endStruct_(r)}};var Yt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsTime(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsTime(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):V.MILLISECOND}bitWidth(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.readInt32(this.bb_pos+r):32}static startTime(r){r.startObject(2)}static addUnit(r,a){r.addFieldInt16(0,a,V.MILLISECOND)}static addBitWidth(r,a){r.addFieldInt32(1,a,32)}static endTime(r){return r.endObject()}static createTime(r,a,_){return l.startTime(r),l.addUnit(r,a),l.addBitWidth(r,_),l.endTime(r)}};var Jt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsTimestamp(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsTimestamp(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):V.SECOND}timezone(r){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__string(this.bb_pos+a,r):null}static startTimestamp(r){r.startObject(2)}static addUnit(r,a){r.addFieldInt16(0,a,V.SECOND)}static addTimezone(r,a){r.addFieldOffset(1,a,0)}static endTimestamp(r){return r.endObject()}static createTimestamp(r,a,_){return l.startTimestamp(r),l.addUnit(r,a),l.addTimezone(r,_),l.endTimestamp(r)}};var St=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsUnion(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsUnion(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}mode(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):Se.Sparse}typeIds(r){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.readInt32(this.bb.__vector(this.bb_pos+a)+r*4):0}typeIdsLength(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.__vector_len(this.bb_pos+r):0}typeIdsArray(){let r=this.bb.__offset(this.bb_pos,6);return r?new Int32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+r),this.bb.__vector_len(this.bb_pos+r)):null}static startUnion(r){r.startObject(2)}static addMode(r,a){r.addFieldInt16(0,a,Se.Sparse)}static addTypeIds(r,a){r.addFieldOffset(1,a,0)}static createTypeIdsVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addInt32(a[_]);return r.endVector()}static startTypeIdsVector(r,a){r.startVector(4,a,4)}static endUnion(r){return r.endObject()}static createUnion(r,a,_){return l.startUnion(r),l.addMode(r,a),l.addTypeIds(r,_),l.endUnion(r)}};var Kn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsUtf8(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsUtf8(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startUtf8(r){r.startObject(0)}static endUtf8(r){return r.endObject()}static createUtf8(r){return l.startUtf8(r),l.endUtf8(r)}};var Ae;(function(l){l[l.NONE=0]="NONE",l[l.Null=1]="Null",l[l.Int=2]="Int",l[l.FloatingPoint=3]="FloatingPoint",l[l.Binary=4]="Binary",l[l.Utf8=5]="Utf8",l[l.Bool=6]="Bool",l[l.Decimal=7]="Decimal",l[l.Date=8]="Date",l[l.Time=9]="Time",l[l.Timestamp=10]="Timestamp",l[l.Interval=11]="Interval",l[l.List=12]="List",l[l.Struct_=13]="Struct_",l[l.Union=14]="Union",l[l.FixedSizeBinary=15]="FixedSizeBinary",l[l.FixedSizeList=16]="FixedSizeList",l[l.Map=17]="Map",l[l.Duration=18]="Duration",l[l.LargeBinary=19]="LargeBinary",l[l.LargeUtf8=20]="LargeUtf8",l[l.LargeList=21]="LargeList",l[l.RunEndEncoded=22]="RunEndEncoded"})(Ae||(Ae={}));var ze=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsField(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsField(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}name(r){let a=this.bb.__offset(this.bb_pos,4);return a?this.bb.__string(this.bb_pos+a,r):null}nullable(){let r=this.bb.__offset(this.bb_pos,6);return r?!!this.bb.readInt8(this.bb_pos+r):!1}typeType(){let r=this.bb.__offset(this.bb_pos,8);return r?this.bb.readUint8(this.bb_pos+r):Ae.NONE}type(r){let a=this.bb.__offset(this.bb_pos,10);return a?this.bb.__union(r,this.bb_pos+a):null}dictionary(r){let a=this.bb.__offset(this.bb_pos,12);return a?(r||new Rt).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}children(r,a){let _=this.bb.__offset(this.bb_pos,14);return _?(a||new l).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+_)+r*4),this.bb):null}childrenLength(){let r=this.bb.__offset(this.bb_pos,14);return r?this.bb.__vector_len(this.bb_pos+r):0}customMetadata(r,a){let _=this.bb.__offset(this.bb_pos,16);return _?(a||new Oe).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+_)+r*4),this.bb):null}customMetadataLength(){let r=this.bb.__offset(this.bb_pos,16);return r?this.bb.__vector_len(this.bb_pos+r):0}static startField(r){r.startObject(7)}static addName(r,a){r.addFieldOffset(0,a,0)}static addNullable(r,a){r.addFieldInt8(1,+a,0)}static addTypeType(r,a){r.addFieldInt8(2,a,Ae.NONE)}static addType(r,a){r.addFieldOffset(3,a,0)}static addDictionary(r,a){r.addFieldOffset(4,a,0)}static addChildren(r,a){r.addFieldOffset(5,a,0)}static createChildrenVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addOffset(a[_]);return r.endVector()}static startChildrenVector(r,a){r.startVector(4,a,4)}static addCustomMetadata(r,a){r.addFieldOffset(6,a,0)}static createCustomMetadataVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addOffset(a[_]);return r.endVector()}static startCustomMetadataVector(r,a){r.startVector(4,a,4)}static endField(r){return r.endObject()}};var Ye=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsSchema(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsSchema(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}endianness(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):Ar.Little}fields(r,a){let _=this.bb.__offset(this.bb_pos,6);return _?(a||new ze).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+_)+r*4),this.bb):null}fieldsLength(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.__vector_len(this.bb_pos+r):0}customMetadata(r,a){let _=this.bb.__offset(this.bb_pos,8);return _?(a||new Oe).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+_)+r*4),this.bb):null}customMetadataLength(){let r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__vector_len(this.bb_pos+r):0}features(r){let a=this.bb.__offset(this.bb_pos,10);return a?this.bb.readInt64(this.bb.__vector(this.bb_pos+a)+r*8):BigInt(0)}featuresLength(){let r=this.bb.__offset(this.bb_pos,10);return r?this.bb.__vector_len(this.bb_pos+r):0}static startSchema(r){r.startObject(4)}static addEndianness(r,a){r.addFieldInt16(0,a,Ar.Little)}static addFields(r,a){r.addFieldOffset(1,a,0)}static createFieldsVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addOffset(a[_]);return r.endVector()}static startFieldsVector(r,a){r.startVector(4,a,4)}static addCustomMetadata(r,a){r.addFieldOffset(2,a,0)}static createCustomMetadataVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addOffset(a[_]);return r.endVector()}static startCustomMetadataVector(r,a){r.startVector(4,a,4)}static addFeatures(r,a){r.addFieldOffset(3,a,0)}static createFeaturesVector(r,a){r.startVector(8,a.length,8);for(let _=a.length-1;_>=0;_--)r.addInt64(a[_]);return r.endVector()}static startFeaturesVector(r,a){r.startVector(8,a,8)}static endSchema(r){return r.endObject()}static finishSchemaBuffer(r,a){r.finish(a)}static finishSizePrefixedSchemaBuffer(r,a){r.finish(a,void 0,!0)}static createSchema(r,a,_,f,m){return l.startSchema(r),l.addEndianness(r,a),l.addFields(r,_),l.addCustomMetadata(r,f),l.addFeatures(r,m),l.endSchema(r)}};var _e;(function(l){l[l.NONE=0]="NONE",l[l.Schema=1]="Schema",l[l.DictionaryBatch=2]="DictionaryBatch",l[l.RecordBatch=3]="RecordBatch",l[l.Tensor=4]="Tensor",l[l.SparseTensor=5]="SparseTensor"})(_e||(_e={}));var D;(function(l){l[l.NONE=0]="NONE",l[l.Null=1]="Null",l[l.Int=2]="Int",l[l.Float=3]="Float",l[l.Binary=4]="Binary",l[l.Utf8=5]="Utf8",l[l.Bool=6]="Bool",l[l.Decimal=7]="Decimal",l[l.Date=8]="Date",l[l.Time=9]="Time",l[l.Timestamp=10]="Timestamp",l[l.Interval=11]="Interval",l[l.List=12]="List",l[l.Struct=13]="Struct",l[l.Union=14]="Union",l[l.FixedSizeBinary=15]="FixedSizeBinary",l[l.FixedSizeList=16]="FixedSizeList",l[l.Map=17]="Map",l[l.Duration=18]="Duration",l[l.LargeBinary=19]="LargeBinary",l[l.LargeUtf8=20]="LargeUtf8",l[l.Dictionary=-1]="Dictionary",l[l.Int8=-2]="Int8",l[l.Int16=-3]="Int16",l[l.Int32=-4]="Int32",l[l.Int64=-5]="Int64",l[l.Uint8=-6]="Uint8",l[l.Uint16=-7]="Uint16",l[l.Uint32=-8]="Uint32",l[l.Uint64=-9]="Uint64",l[l.Float16=-10]="Float16",l[l.Float32=-11]="Float32",l[l.Float64=-12]="Float64",l[l.DateDay=-13]="DateDay",l[l.DateMillisecond=-14]="DateMillisecond",l[l.TimestampSecond=-15]="TimestampSecond",l[l.TimestampMillisecond=-16]="TimestampMillisecond",l[l.TimestampMicrosecond=-17]="TimestampMicrosecond",l[l.TimestampNanosecond=-18]="TimestampNanosecond",l[l.TimeSecond=-19]="TimeSecond",l[l.TimeMillisecond=-20]="TimeMillisecond",l[l.TimeMicrosecond=-21]="TimeMicrosecond",l[l.TimeNanosecond=-22]="TimeNanosecond",l[l.DenseUnion=-23]="DenseUnion",l[l.SparseUnion=-24]="SparseUnion",l[l.IntervalDayTime=-25]="IntervalDayTime",l[l.IntervalYearMonth=-26]="IntervalYearMonth",l[l.DurationSecond=-27]="DurationSecond",l[l.DurationMillisecond=-28]="DurationMillisecond",l[l.DurationMicrosecond=-29]="DurationMicrosecond",l[l.DurationNanosecond=-30]="DurationNanosecond"})(D||(D={}));var _t;(function(l){l[l.OFFSET=0]="OFFSET",l[l.DATA=1]="DATA",l[l.VALIDITY=2]="VALIDITY",l[l.TYPE=3]="TYPE"})(_t||(_t={}));var to={};Sr(to,{clampRange:()=>ti,createElementComparator:()=>xr,wrapIndex:()=>Nr});var Ua={};Sr(Ua,{valueToString:()=>At});function At(l){if(l===null)return"null";if(l===void 0)return"undefined";switch(typeof l){case"number":return`${l}`;case"bigint":return`${l}`;case"string":return`"${l}"`}return typeof l[Symbol.toPrimitive]=="function"?l[Symbol.toPrimitive]("string"):ArrayBuffer.isView(l)?l instanceof BigInt64Array||l instanceof BigUint64Array?`[${[...l].map(r=>At(r))}]`:`[${l}]`:ArrayBuffer.isView(l)?`[${l}]`:JSON.stringify(l,(r,a)=>typeof a=="bigint"?`${a}`:a)}var Ha={};Sr(Ha,{BN:()=>Zn,bigNumToBigInt:()=>el,bigNumToNumber:()=>Ra,bigNumToString:()=>dn,isArrowBigNumSymbol:()=>Zo});function de(l){if(typeof l=="bigint"&&(l<Number.MIN_SAFE_INTEGER||l>Number.MAX_SAFE_INTEGER))throw new TypeError(`${l} is not safe to convert to a number.`);return Number(l)}function Ga(l,r){return de(l/r)+de(l%r)/de(r)}var Zo=Symbol.for("isArrowBigNum");function Lt(l,...r){return r.length===0?Object.setPrototypeOf(le(this.TypedArray,l),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(l,...r),this.constructor.prototype)}Lt.prototype[Zo]=!0;Lt.prototype.toJSON=function(){return`"${dn(this)}"`};Lt.prototype.valueOf=function(l){return Ra(this,l)};Lt.prototype.toString=function(){return dn(this)};Lt.prototype[Symbol.toPrimitive]=function(l="default"){switch(l){case"number":return Ra(this);case"string":return dn(this);case"default":return el(this)}return dn(this)};function _n(...l){return Lt.apply(this,l)}function un(...l){return Lt.apply(this,l)}function Qn(...l){return Lt.apply(this,l)}Object.setPrototypeOf(_n.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(un.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Qn.prototype,Object.create(Uint32Array.prototype));Object.assign(_n.prototype,Lt.prototype,{constructor:_n,signed:!0,TypedArray:Int32Array,BigIntArray:BigInt64Array});Object.assign(un.prototype,Lt.prototype,{constructor:un,signed:!1,TypedArray:Uint32Array,BigIntArray:BigUint64Array});Object.assign(Qn.prototype,Lt.prototype,{constructor:Qn,signed:!0,TypedArray:Uint32Array,BigIntArray:BigUint64Array});var $_=BigInt(4294967296)*BigInt(4294967296),q_=$_-BigInt(1);function Ra(l,r){let{buffer:a,byteOffset:_,byteLength:f,signed:m}=l,g=new BigUint64Array(a,_,f/8),e=m&&g.at(-1)&BigInt(1)<<BigInt(63),t=BigInt(0),n=0;if(e){for(let o of g)t|=(o^q_)*(BigInt(1)<<BigInt(64*n++));t*=BigInt(-1),t-=BigInt(1)}else for(let o of g)t|=o*(BigInt(1)<<BigInt(64*n++));if(typeof r=="number"){let o=BigInt(Math.pow(10,r)),c=t/o,u=t%o;return de(c)+de(u)/de(o)}return de(t)}function dn(l){if(l.byteLength===8)return`${new l.BigIntArray(l.buffer,l.byteOffset,1)[0]}`;if(!l.signed)return Oa(l);let r=new Uint16Array(l.buffer,l.byteOffset,l.byteLength/2);if(new Int16Array([r.at(-1)])[0]>=0)return Oa(l);r=r.slice();let _=1;for(let m=0;m<r.length;m++){let g=r[m],e=~g+_;r[m]=e,_&=g===0?1:0}return`-${Oa(r)}`}function el(l){return l.byteLength===8?new l.BigIntArray(l.buffer,l.byteOffset,1)[0]:dn(l)}function Oa(l){let r="",a=new Uint32Array(2),_=new Uint16Array(l.buffer,l.byteOffset,l.byteLength/2),f=new Uint32Array((_=new Uint16Array(_).reverse()).buffer),m=-1,g=_.length-1;do{for(a[0]=_[m=0];m<g;)_[m++]=a[1]=a[0]/10,a[0]=(a[0]-a[1]*10<<16)+_[m];_[m]=a[1]=a[0]/10,a[0]=a[0]-a[1]*10,r=`${a[0]}${r}`}while(f[0]||f[1]||f[2]||f[3]);return r!=null?r:"0"}var Zn=class l{static new(r,a){switch(a){case!0:return new _n(r);case!1:return new un(r)}switch(r.constructor){case Int8Array:case Int16Array:case Int32Array:case BigInt64Array:return new _n(r)}return r.byteLength===16?new Qn(r):new un(r)}static signed(r){return new _n(r)}static unsigned(r){return new un(r)}static decimal(r){return new Qn(r)}constructor(r,a){return l.new(r,a)}};var tl,rl,nl,il,sl,al,ol,ll,cl,_l,ul,dl,fl,pl,ml,gl,hl,vl,yl,bl,Sl,Al,N=class l{static isNull(r){return(r==null?void 0:r.typeId)===D.Null}static isInt(r){return(r==null?void 0:r.typeId)===D.Int}static isFloat(r){return(r==null?void 0:r.typeId)===D.Float}static isBinary(r){return(r==null?void 0:r.typeId)===D.Binary}static isLargeBinary(r){return(r==null?void 0:r.typeId)===D.LargeBinary}static isUtf8(r){return(r==null?void 0:r.typeId)===D.Utf8}static isLargeUtf8(r){return(r==null?void 0:r.typeId)===D.LargeUtf8}static isBool(r){return(r==null?void 0:r.typeId)===D.Bool}static isDecimal(r){return(r==null?void 0:r.typeId)===D.Decimal}static isDate(r){return(r==null?void 0:r.typeId)===D.Date}static isTime(r){return(r==null?void 0:r.typeId)===D.Time}static isTimestamp(r){return(r==null?void 0:r.typeId)===D.Timestamp}static isInterval(r){return(r==null?void 0:r.typeId)===D.Interval}static isDuration(r){return(r==null?void 0:r.typeId)===D.Duration}static isList(r){return(r==null?void 0:r.typeId)===D.List}static isStruct(r){return(r==null?void 0:r.typeId)===D.Struct}static isUnion(r){return(r==null?void 0:r.typeId)===D.Union}static isFixedSizeBinary(r){return(r==null?void 0:r.typeId)===D.FixedSizeBinary}static isFixedSizeList(r){return(r==null?void 0:r.typeId)===D.FixedSizeList}static isMap(r){return(r==null?void 0:r.typeId)===D.Map}static isDictionary(r){return(r==null?void 0:r.typeId)===D.Dictionary}static isDenseUnion(r){return l.isUnion(r)&&r.mode===Se.Dense}static isSparseUnion(r){return l.isUnion(r)&&r.mode===Se.Sparse}constructor(r){this.typeId=r}};tl=Symbol.toStringTag;N[tl]=(l=>(l.children=null,l.ArrayType=Array,l.OffsetArrayType=Int32Array,l[Symbol.toStringTag]="DataType"))(N.prototype);var $e=class extends N{constructor(){super(D.Null)}toString(){return"Null"}};rl=Symbol.toStringTag;$e[rl]=(l=>l[Symbol.toStringTag]="Null")($e.prototype);var Re=class extends N{constructor(r,a){super(D.Int),this.isSigned=r,this.bitWidth=a}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?BigInt64Array:BigUint64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}};nl=Symbol.toStringTag;Re[nl]=(l=>(l.isSigned=null,l.bitWidth=null,l[Symbol.toStringTag]="Int"))(Re.prototype);var Ji=class extends Re{constructor(){super(!0,8)}get ArrayType(){return Int8Array}},Ki=class extends Re{constructor(){super(!0,16)}get ArrayType(){return Int16Array}},Nt=class extends Re{constructor(){super(!0,32)}get ArrayType(){return Int32Array}},Qi=class extends Re{constructor(){super(!0,64)}get ArrayType(){return BigInt64Array}},Zi=class extends Re{constructor(){super(!1,8)}get ArrayType(){return Uint8Array}},es=class extends Re{constructor(){super(!1,16)}get ArrayType(){return Uint16Array}},ts=class extends Re{constructor(){super(!1,32)}get ArrayType(){return Uint32Array}},rs=class extends Re{constructor(){super(!1,64)}get ArrayType(){return BigUint64Array}};Object.defineProperty(Ji.prototype,"ArrayType",{value:Int8Array});Object.defineProperty(Ki.prototype,"ArrayType",{value:Int16Array});Object.defineProperty(Nt.prototype,"ArrayType",{value:Int32Array});Object.defineProperty(Qi.prototype,"ArrayType",{value:BigInt64Array});Object.defineProperty(Zi.prototype,"ArrayType",{value:Uint8Array});Object.defineProperty(es.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(ts.prototype,"ArrayType",{value:Uint32Array});Object.defineProperty(rs.prototype,"ArrayType",{value:BigUint64Array});var ut=class extends N{constructor(r){super(D.Float),this.precision=r}get ArrayType(){switch(this.precision){case be.HALF:return Uint16Array;case be.SINGLE:return Float32Array;case be.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}};il=Symbol.toStringTag;ut[il]=(l=>(l.precision=null,l[Symbol.toStringTag]="Float"))(ut.prototype);var ns=class extends ut{constructor(){super(be.HALF)}},is=class extends ut{constructor(){super(be.SINGLE)}},ss=class extends ut{constructor(){super(be.DOUBLE)}};Object.defineProperty(ns.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(is.prototype,"ArrayType",{value:Float32Array});Object.defineProperty(ss.prototype,"ArrayType",{value:Float64Array});var Kt=class extends N{constructor(){super(D.Binary)}toString(){return"Binary"}};sl=Symbol.toStringTag;Kt[sl]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Binary"))(Kt.prototype);var Qt=class extends N{constructor(){super(D.LargeBinary)}toString(){return"LargeBinary"}};al=Symbol.toStringTag;Qt[al]=(l=>(l.ArrayType=Uint8Array,l.OffsetArrayType=BigInt64Array,l[Symbol.toStringTag]="LargeBinary"))(Qt.prototype);var Zt=class extends N{constructor(){super(D.Utf8)}toString(){return"Utf8"}};ol=Symbol.toStringTag;Zt[ol]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Utf8"))(Zt.prototype);var er=class extends N{constructor(){super(D.LargeUtf8)}toString(){return"LargeUtf8"}};ll=Symbol.toStringTag;er[ll]=(l=>(l.ArrayType=Uint8Array,l.OffsetArrayType=BigInt64Array,l[Symbol.toStringTag]="LargeUtf8"))(er.prototype);var tr=class extends N{constructor(){super(D.Bool)}toString(){return"Bool"}};cl=Symbol.toStringTag;tr[cl]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Bool"))(tr.prototype);var rr=class extends N{constructor(r,a,_=128){super(D.Decimal),this.scale=r,this.precision=a,this.bitWidth=_}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};_l=Symbol.toStringTag;rr[_l]=(l=>(l.scale=null,l.precision=null,l.ArrayType=Uint32Array,l[Symbol.toStringTag]="Decimal"))(rr.prototype);var nr=class extends N{constructor(r){super(D.Date),this.unit=r}toString(){return`Date${(this.unit+1)*32}<${Ce[this.unit]}>`}get ArrayType(){return this.unit===Ce.DAY?Int32Array:BigInt64Array}};ul=Symbol.toStringTag;nr[ul]=(l=>(l.unit=null,l[Symbol.toStringTag]="Date"))(nr.prototype);var ir=class extends N{constructor(r,a){super(D.Time),this.unit=r,this.bitWidth=a}toString(){return`Time${this.bitWidth}<${V[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return BigInt64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}};dl=Symbol.toStringTag;ir[dl]=(l=>(l.unit=null,l.bitWidth=null,l[Symbol.toStringTag]="Time"))(ir.prototype);var sr=class extends N{constructor(r,a){super(D.Timestamp),this.unit=r,this.timezone=a}toString(){return`Timestamp<${V[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}};fl=Symbol.toStringTag;sr[fl]=(l=>(l.unit=null,l.timezone=null,l.ArrayType=BigInt64Array,l[Symbol.toStringTag]="Timestamp"))(sr.prototype);var ar=class extends N{constructor(r){super(D.Interval),this.unit=r}toString(){return`Interval<${Ge[this.unit]}>`}};pl=Symbol.toStringTag;ar[pl]=(l=>(l.unit=null,l.ArrayType=Int32Array,l[Symbol.toStringTag]="Interval"))(ar.prototype);var or=class extends N{constructor(r){super(D.Duration),this.unit=r}toString(){return`Duration<${V[this.unit]}>`}};ml=Symbol.toStringTag;or[ml]=(l=>(l.unit=null,l.ArrayType=BigInt64Array,l[Symbol.toStringTag]="Duration"))(or.prototype);var Et=class extends N{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}};gl=Symbol.toStringTag;Et[gl]=(l=>(l.children=null,l[Symbol.toStringTag]="List"))(Et.prototype);var we=class extends N{constructor(r){super(D.Struct),this.children=r}toString(){return`Struct<{${this.children.map(r=>`${r.name}:${r.type}`).join(", ")}}>`}};hl=Symbol.toStringTag;we[hl]=(l=>(l.children=null,l[Symbol.toStringTag]="Struct"))(we.prototype);var wt=class extends N{constructor(r,a,_){super(D.Union),this.mode=r,this.children=_,this.typeIds=a=Int32Array.from(a),this.typeIdToChildIndex=a.reduce((f,m,g)=>(f[m]=g)&&f||f,Object.create(null))}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(r=>`${r.type}`).join(" | ")}>`}};vl=Symbol.toStringTag;wt[vl]=(l=>(l.mode=null,l.typeIds=null,l.children=null,l.typeIdToChildIndex=null,l.ArrayType=Int8Array,l[Symbol.toStringTag]="Union"))(wt.prototype);var lr=class extends N{constructor(r){super(D.FixedSizeBinary),this.byteWidth=r}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};yl=Symbol.toStringTag;lr[yl]=(l=>(l.byteWidth=null,l.ArrayType=Uint8Array,l[Symbol.toStringTag]="FixedSizeBinary"))(lr.prototype);var Ft=class extends N{constructor(r,a){super(D.FixedSizeList),this.listSize=r,this.children=[a]}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};bl=Symbol.toStringTag;Ft[bl]=(l=>(l.children=null,l.listSize=null,l[Symbol.toStringTag]="FixedSizeList"))(Ft.prototype);var Dt=class extends N{constructor(r,a=!1){var _,f,m;if(super(D.Map),this.children=[r],this.keysSorted=a,r&&(r.name="entries",!((_=r==null?void 0:r.type)===null||_===void 0)&&_.children)){let g=(f=r==null?void 0:r.type)===null||f===void 0?void 0:f.children[0];g&&(g.name="key");let e=(m=r==null?void 0:r.type)===null||m===void 0?void 0:m.children[1];e&&(e.name="value")}}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(r=>`${r.name}:${r.type}`).join(", ")}}>`}};Sl=Symbol.toStringTag;Dt[Sl]=(l=>(l.children=null,l.keysSorted=null,l[Symbol.toStringTag]="Map_"))(Dt.prototype);var X_=(l=>()=>++l)(-1),st=class extends N{constructor(r,a,_,f){super(D.Dictionary),this.indices=a,this.dictionary=r,this.isOrdered=f||!1,this.id=_==null?X_():de(_)}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}};Al=Symbol.toStringTag;st[Al]=(l=>(l.id=null,l.indices=null,l.isOrdered=null,l.dictionary=null,l[Symbol.toStringTag]="Dictionary"))(st.prototype);function at(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,...a){return r.map((_,f)=>this.visit(_,...a.map(m=>m[f])))}visit(...r){return this.getVisitFn(r[0],!1).apply(this,r)}getVisitFn(r,a=!0){return Y_(this,r,a)}getVisitFnByTypeId(r,a=!0){return fn(this,r,a)}visitNull(r,...a){return null}visitBool(r,...a){return null}visitInt(r,...a){return null}visitFloat(r,...a){return null}visitUtf8(r,...a){return null}visitLargeUtf8(r,...a){return null}visitBinary(r,...a){return null}visitLargeBinary(r,...a){return null}visitFixedSizeBinary(r,...a){return null}visitDate(r,...a){return null}visitTimestamp(r,...a){return null}visitTime(r,...a){return null}visitDecimal(r,...a){return null}visitList(r,...a){return null}visitStruct(r,...a){return null}visitUnion(r,...a){return null}visitDictionary(r,...a){return null}visitInterval(r,...a){return null}visitDuration(r,...a){return null}visitFixedSizeList(r,...a){return null}visitMap(r,...a){return null}};function Y_(l,r,a=!0){return typeof r=="number"?fn(l,r,a):typeof r=="string"&&r in D?fn(l,D[r],a):r&&r instanceof N?fn(l,Ll(r),a):r!=null&&r.type&&r.type instanceof N?fn(l,Ll(r.type),a):fn(l,D.NONE,a)}function fn(l,r,a=!0){let _=null;switch(r){case D.Null:_=l.visitNull;break;case D.Bool:_=l.visitBool;break;case D.Int:_=l.visitInt;break;case D.Int8:_=l.visitInt8||l.visitInt;break;case D.Int16:_=l.visitInt16||l.visitInt;break;case D.Int32:_=l.visitInt32||l.visitInt;break;case D.Int64:_=l.visitInt64||l.visitInt;break;case D.Uint8:_=l.visitUint8||l.visitInt;break;case D.Uint16:_=l.visitUint16||l.visitInt;break;case D.Uint32:_=l.visitUint32||l.visitInt;break;case D.Uint64:_=l.visitUint64||l.visitInt;break;case D.Float:_=l.visitFloat;break;case D.Float16:_=l.visitFloat16||l.visitFloat;break;case D.Float32:_=l.visitFloat32||l.visitFloat;break;case D.Float64:_=l.visitFloat64||l.visitFloat;break;case D.Utf8:_=l.visitUtf8;break;case D.LargeUtf8:_=l.visitLargeUtf8;break;case D.Binary:_=l.visitBinary;break;case D.LargeBinary:_=l.visitLargeBinary;break;case D.FixedSizeBinary:_=l.visitFixedSizeBinary;break;case D.Date:_=l.visitDate;break;case D.DateDay:_=l.visitDateDay||l.visitDate;break;case D.DateMillisecond:_=l.visitDateMillisecond||l.visitDate;break;case D.Timestamp:_=l.visitTimestamp;break;case D.TimestampSecond:_=l.visitTimestampSecond||l.visitTimestamp;break;case D.TimestampMillisecond:_=l.visitTimestampMillisecond||l.visitTimestamp;break;case D.TimestampMicrosecond:_=l.visitTimestampMicrosecond||l.visitTimestamp;break;case D.TimestampNanosecond:_=l.visitTimestampNanosecond||l.visitTimestamp;break;case D.Time:_=l.visitTime;break;case D.TimeSecond:_=l.visitTimeSecond||l.visitTime;break;case D.TimeMillisecond:_=l.visitTimeMillisecond||l.visitTime;break;case D.TimeMicrosecond:_=l.visitTimeMicrosecond||l.visitTime;break;case D.TimeNanosecond:_=l.visitTimeNanosecond||l.visitTime;break;case D.Decimal:_=l.visitDecimal;break;case D.List:_=l.visitList;break;case D.Struct:_=l.visitStruct;break;case D.Union:_=l.visitUnion;break;case D.DenseUnion:_=l.visitDenseUnion||l.visitUnion;break;case D.SparseUnion:_=l.visitSparseUnion||l.visitUnion;break;case D.Dictionary:_=l.visitDictionary;break;case D.Interval:_=l.visitInterval;break;case D.IntervalDayTime:_=l.visitIntervalDayTime||l.visitInterval;break;case D.IntervalYearMonth:_=l.visitIntervalYearMonth||l.visitInterval;break;case D.Duration:_=l.visitDuration;break;case D.DurationSecond:_=l.visitDurationSecond||l.visitDuration;break;case D.DurationMillisecond:_=l.visitDurationMillisecond||l.visitDuration;break;case D.DurationMicrosecond:_=l.visitDurationMicrosecond||l.visitDuration;break;case D.DurationNanosecond:_=l.visitDurationNanosecond||l.visitDuration;break;case D.FixedSizeList:_=l.visitFixedSizeList;break;case D.Map:_=l.visitMap;break}if(typeof _=="function")return _;if(!a)return()=>null;throw new Error(`Unrecognized type '${D[r]}'`)}function Ll(l){switch(l.typeId){case D.Null:return D.Null;case D.Int:{let{bitWidth:r,isSigned:a}=l;switch(r){case 8:return a?D.Int8:D.Uint8;case 16:return a?D.Int16:D.Uint16;case 32:return a?D.Int32:D.Uint32;case 64:return a?D.Int64:D.Uint64}return D.Int}case D.Float:switch(l.precision){case be.HALF:return D.Float16;case be.SINGLE:return D.Float32;case be.DOUBLE:return D.Float64}return D.Float;case D.Binary:return D.Binary;case D.LargeBinary:return D.LargeBinary;case D.Utf8:return D.Utf8;case D.LargeUtf8:return D.LargeUtf8;case D.Bool:return D.Bool;case D.Decimal:return D.Decimal;case D.Time:switch(l.unit){case V.SECOND:return D.TimeSecond;case V.MILLISECOND:return D.TimeMillisecond;case V.MICROSECOND:return D.TimeMicrosecond;case V.NANOSECOND:return D.TimeNanosecond}return D.Time;case D.Timestamp:switch(l.unit){case V.SECOND:return D.TimestampSecond;case V.MILLISECOND:return D.TimestampMillisecond;case V.MICROSECOND:return D.TimestampMicrosecond;case V.NANOSECOND:return D.TimestampNanosecond}return D.Timestamp;case D.Date:switch(l.unit){case Ce.DAY:return D.DateDay;case Ce.MILLISECOND:return D.DateMillisecond}return D.Date;case D.Interval:switch(l.unit){case Ge.DAY_TIME:return D.IntervalDayTime;case Ge.YEAR_MONTH:return D.IntervalYearMonth}return D.Interval;case D.Duration:switch(l.unit){case V.SECOND:return D.DurationSecond;case V.MILLISECOND:return D.DurationMillisecond;case V.MICROSECOND:return D.DurationMicrosecond;case V.NANOSECOND:return D.DurationNanosecond}return D.Duration;case D.Map:return D.Map;case D.List:return D.List;case D.Struct:return D.Struct;case D.Union:switch(l.mode){case Se.Dense:return D.DenseUnion;case Se.Sparse:return D.SparseUnion}return D.Union;case D.FixedSizeBinary:return D.FixedSizeBinary;case D.FixedSizeList:return D.FixedSizeList;case D.Dictionary:return D.Dictionary}throw new Error(`Unrecognized type '${D[l.typeId]}'`)}$.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 Na={};Sr(Na,{float64ToUint16:()=>ei,uint16ToFloat64:()=>as});var El=new Float64Array(1),pn=new Uint32Array(El.buffer);function as(l){let r=(l&31744)>>10,a=(l&1023)/1024,_=Math.pow(-1,(l&32768)>>15);switch(r){case 31:return _*(a?Number.NaN:1/0);case 0:return _*(a?6103515625e-14*a:0)}return _*Math.pow(2,r-15)*(1+a)}function ei(l){if(l!==l)return 32256;El[0]=l;let r=(pn[1]&2147483648)>>16&65535,a=pn[1]&2146435072,_=0;return a>=1089470464?pn[0]>0?a=31744:(a=(a&2080374784)>>16,_=(pn[1]&1048575)>>10):a<=1056964608?(_=1048576+(pn[1]&1048575),_=1048576+(_<<(a>>20)-998)>>21,a=0):(a=a-1056964608>>10,_=(pn[1]&1048575)+512>>10),r|a|_&65535}var K=class extends ${};function te(l){return(r,a,_)=>{if(r.setValid(a,_!=null))return l(r,a,_)}}var J_=(l,r,a)=>{l[r]=Math.floor(a/864e5)},wl=(l,r,a,_)=>{if(a+1<r.length){let f=de(r[a]),m=de(r[a+1]);l.set(_.subarray(0,m-f),f)}},K_=({offset:l,values:r},a,_)=>{let f=l+a;_?r[f>>3]|=1<<f%8:r[f>>3]&=~(1<<f%8)},cr=({values:l},r,a)=>{l[r]=a},Wa=({values:l},r,a)=>{l[r]=a},Fl=({values:l},r,a)=>{l[r]=ei(a)},Q_=(l,r,a)=>{switch(l.type.precision){case be.HALF:return Fl(l,r,a);case be.SINGLE:case be.DOUBLE:return Wa(l,r,a)}},os=({values:l},r,a)=>{J_(l,r,a.valueOf())},ls=({values:l},r,a)=>{l[r]=BigInt(a)},Va=({stride:l,values:r},a,_)=>{r.set(_.subarray(0,l),l*a)},Dl=({values:l,valueOffsets:r},a,_)=>wl(l,r,a,_),Tl=({values:l,valueOffsets:r},a,_)=>wl(l,r,a,Ut(_)),za=(l,r,a)=>{l.type.unit===Ce.DAY?os(l,r,a):ls(l,r,a)},cs=({values:l},r,a)=>{l[r]=BigInt(a/1e3)},_s=({values:l},r,a)=>{l[r]=BigInt(a)},us=({values:l},r,a)=>{l[r]=BigInt(a*1e3)},ds=({values:l},r,a)=>{l[r]=BigInt(a*1e6)},ja=(l,r,a)=>{switch(l.type.unit){case V.SECOND:return cs(l,r,a);case V.MILLISECOND:return _s(l,r,a);case V.MICROSECOND:return us(l,r,a);case V.NANOSECOND:return ds(l,r,a)}},ps=({values:l},r,a)=>{l[r]=a},ms=({values:l},r,a)=>{l[r]=a},gs=({values:l},r,a)=>{l[r]=a},hs=({values:l},r,a)=>{l[r]=a},$a=(l,r,a)=>{switch(l.type.unit){case V.SECOND:return ps(l,r,a);case V.MILLISECOND:return ms(l,r,a);case V.MICROSECOND:return gs(l,r,a);case V.NANOSECOND:return hs(l,r,a)}},qa=({values:l,stride:r},a,_)=>{l.set(_.subarray(0,r),r*a)},Z_=(l,r,a)=>{let _=l.children[0],f=l.valueOffsets,m=Ne.getVisitFn(_);if(Array.isArray(a))for(let g=-1,e=f[r],t=f[r+1];e<t;)m(_,e++,a[++g]);else for(let g=-1,e=f[r],t=f[r+1];e<t;)m(_,e++,a.get(++g))},eu=(l,r,a)=>{let _=l.children[0],{valueOffsets:f}=l,m=Ne.getVisitFn(_),{[r]:g,[r+1]:e}=f,t=a instanceof Map?a.entries():Object.entries(a);for(let n of t)if(m(_,g,n),++g>=e)break},tu=(l,r)=>(a,_,f,m)=>_&&a(_,l,r[m]),ru=(l,r)=>(a,_,f,m)=>_&&a(_,l,r.get(m)),nu=(l,r)=>(a,_,f,m)=>_&&a(_,l,r.get(f.name)),iu=(l,r)=>(a,_,f,m)=>_&&a(_,l,r[f.name]),su=(l,r,a)=>{let _=l.type.children.map(m=>Ne.getVisitFn(m.type)),f=a instanceof Map?nu(r,a):a instanceof ue?ru(r,a):Array.isArray(a)?tu(r,a):iu(r,a);l.type.children.forEach((m,g)=>f(_[g],l.children[g],m,g))},au=(l,r,a)=>{l.type.mode===Se.Dense?Pl(l,r,a):Cl(l,r,a)},Pl=(l,r,a)=>{let _=l.type.typeIdToChildIndex[l.typeIds[r]],f=l.children[_];Ne.visit(f,l.valueOffsets[r],a)},Cl=(l,r,a)=>{let _=l.type.typeIdToChildIndex[l.typeIds[r]],f=l.children[_];Ne.visit(f,r,a)},ou=(l,r,a)=>{var _;(_=l.dictionary)===null||_===void 0||_.set(l.values[r],a)},Xa=(l,r,a)=>{l.type.unit===Ge.DAY_TIME?vs(l,r,a):ys(l,r,a)},vs=({values:l},r,a)=>{l.set(a.subarray(0,2),2*r)},ys=({values:l},r,a)=>{l[r]=a[0]*12+a[1]%12},bs=({values:l},r,a)=>{l[r]=a},Ss=({values:l},r,a)=>{l[r]=a},As=({values:l},r,a)=>{l[r]=a},Ls=({values:l},r,a)=>{l[r]=a},Ya=(l,r,a)=>{switch(l.type.unit){case V.SECOND:return bs(l,r,a);case V.MILLISECOND:return Ss(l,r,a);case V.MICROSECOND:return As(l,r,a);case V.NANOSECOND:return Ls(l,r,a)}},lu=(l,r,a)=>{let{stride:_}=l,f=l.children[0],m=Ne.getVisitFn(f);if(Array.isArray(a))for(let g=-1,e=r*_;++g<_;)m(f,e+g,a[g]);else for(let g=-1,e=r*_;++g<_;)m(f,e+g,a.get(g))};K.prototype.visitBool=te(K_);K.prototype.visitInt=te(cr);K.prototype.visitInt8=te(cr);K.prototype.visitInt16=te(cr);K.prototype.visitInt32=te(cr);K.prototype.visitInt64=te(cr);K.prototype.visitUint8=te(cr);K.prototype.visitUint16=te(cr);K.prototype.visitUint32=te(cr);K.prototype.visitUint64=te(cr);K.prototype.visitFloat=te(Q_);K.prototype.visitFloat16=te(Fl);K.prototype.visitFloat32=te(Wa);K.prototype.visitFloat64=te(Wa);K.prototype.visitUtf8=te(Tl);K.prototype.visitLargeUtf8=te(Tl);K.prototype.visitBinary=te(Dl);K.prototype.visitLargeBinary=te(Dl);K.prototype.visitFixedSizeBinary=te(Va);K.prototype.visitDate=te(za);K.prototype.visitDateDay=te(os);K.prototype.visitDateMillisecond=te(ls);K.prototype.visitTimestamp=te(ja);K.prototype.visitTimestampSecond=te(cs);K.prototype.visitTimestampMillisecond=te(_s);K.prototype.visitTimestampMicrosecond=te(us);K.prototype.visitTimestampNanosecond=te(ds);K.prototype.visitTime=te($a);K.prototype.visitTimeSecond=te(ps);K.prototype.visitTimeMillisecond=te(ms);K.prototype.visitTimeMicrosecond=te(gs);K.prototype.visitTimeNanosecond=te(hs);K.prototype.visitDecimal=te(qa);K.prototype.visitList=te(Z_);K.prototype.visitStruct=te(su);K.prototype.visitUnion=te(au);K.prototype.visitDenseUnion=te(Pl);K.prototype.visitSparseUnion=te(Cl);K.prototype.visitDictionary=te(ou);K.prototype.visitInterval=te(Xa);K.prototype.visitIntervalDayTime=te(vs);K.prototype.visitIntervalYearMonth=te(ys);K.prototype.visitDuration=te(Ya);K.prototype.visitDurationSecond=te(bs);K.prototype.visitDurationMillisecond=te(Ss);K.prototype.visitDurationMicrosecond=te(As);K.prototype.visitDurationNanosecond=te(Ls);K.prototype.visitFixedSizeList=te(lu);K.prototype.visitMap=te(eu);var Ne=new K;var Tt=Symbol.for("parent"),mn=Symbol.for("rowIndex"),Cr=class{constructor(r,a){return this[Tt]=r,this[mn]=a,new Proxy(this,new Ka)}toArray(){return Object.values(this.toJSON())}toJSON(){let r=this[mn],a=this[Tt],_=a.type.children,f={};for(let m=-1,g=_.length;++m<g;)f[_[m].name]=xe.visit(a.children[m],r);return f}toString(){return`{${[...this].map(([r,a])=>`${At(r)}: ${At(a)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new Ja(this[Tt],this[mn])}},Ja=class{constructor(r,a){this.childIndex=0,this.children=r.children,this.rowIndex=a,this.childFields=r.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){let r=this.childIndex;return r<this.numChildren?(this.childIndex=r+1,{done:!1,value:[this.childFields[r].name,xe.visit(this.children[r],this.rowIndex)]}):{done:!0,value:null}}};Object.defineProperties(Cr.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[Tt]:{writable:!0,enumerable:!1,configurable:!1,value:null},[mn]:{writable:!0,enumerable:!1,configurable:!1,value:-1}});var Ka=class{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(r){return r[Tt].type.children.map(a=>a.name)}has(r,a){return r[Tt].type.children.findIndex(_=>_.name===a)!==-1}getOwnPropertyDescriptor(r,a){if(r[Tt].type.children.findIndex(_=>_.name===a)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(r,a){if(Reflect.has(r,a))return r[a];let _=r[Tt].type.children.findIndex(f=>f.name===a);if(_!==-1){let f=xe.visit(r[Tt].children[_],r[mn]);return Reflect.set(r,a,f),f}}set(r,a,_){let f=r[Tt].type.children.findIndex(m=>m.name===a);return f!==-1?(Ne.visit(r[Tt].children[f],r[mn],_),Reflect.set(r,a,_)):Reflect.has(r,a)||typeof a=="symbol"?Reflect.set(r,a,_):!1}};var q=class extends ${};function Z(l){return(r,a)=>r.getValid(a)?l(r,a):null}var cu=(l,r)=>864e5*l[r],_u=(l,r)=>null,Il=(l,r,a)=>{if(a+1>=r.length)return null;let _=de(r[a]),f=de(r[a+1]);return l.subarray(_,f)},uu=({offset:l,values:r},a)=>{let _=l+a;return(r[_>>3]&1<<_%8)!==0},kl=({values:l},r)=>cu(l,r),xl=({values:l},r)=>de(l[r]),Ir=({stride:l,values:r},a)=>r[l*a],du=({stride:l,values:r},a)=>as(r[l*a]),Ml=({values:l},r)=>l[r],fu=({stride:l,values:r},a)=>r.subarray(l*a,l*(a+1)),Bl=({values:l,valueOffsets:r},a)=>Il(l,r,a),Ul=({values:l,valueOffsets:r},a)=>{let _=Il(l,r,a);return _!==null?Gn(_):null},pu=({values:l},r)=>l[r],mu=({type:l,values:r},a)=>l.precision!==be.HALF?r[a]:as(r[a]),gu=(l,r)=>l.type.unit===Ce.DAY?kl(l,r):xl(l,r),Gl=({values:l},r)=>1e3*de(l[r]),Ol=({values:l},r)=>de(l[r]),Rl=({values:l},r)=>Ga(l[r],BigInt(1e3)),Hl=({values:l},r)=>Ga(l[r],BigInt(1e6)),hu=(l,r)=>{switch(l.type.unit){case V.SECOND:return Gl(l,r);case V.MILLISECOND:return Ol(l,r);case V.MICROSECOND:return Rl(l,r);case V.NANOSECOND:return Hl(l,r)}},Nl=({values:l},r)=>l[r],Wl=({values:l},r)=>l[r],Vl=({values:l},r)=>l[r],zl=({values:l},r)=>l[r],vu=(l,r)=>{switch(l.type.unit){case V.SECOND:return Nl(l,r);case V.MILLISECOND:return Wl(l,r);case V.MICROSECOND:return Vl(l,r);case V.NANOSECOND:return zl(l,r)}},yu=({values:l,stride:r},a)=>Zn.decimal(l.subarray(r*a,r*(a+1))),bu=(l,r)=>{let{valueOffsets:a,stride:_,children:f}=l,{[r*_]:m,[r*_+1]:g}=a,t=f[0].slice(m,g-m);return new ue([t])},Su=(l,r)=>{let{valueOffsets:a,children:_}=l,{[r]:f,[r+1]:m}=a,g=_[0];return new Wt(g.slice(f,m-f))},Au=(l,r)=>new Cr(l,r),Lu=(l,r)=>l.type.mode===Se.Dense?jl(l,r):$l(l,r),jl=(l,r)=>{let a=l.type.typeIdToChildIndex[l.typeIds[r]],_=l.children[a];return xe.visit(_,l.valueOffsets[r])},$l=(l,r)=>{let a=l.type.typeIdToChildIndex[l.typeIds[r]],_=l.children[a];return xe.visit(_,r)},Eu=(l,r)=>{var a;return(a=l.dictionary)===null||a===void 0?void 0:a.get(l.values[r])},wu=(l,r)=>l.type.unit===Ge.DAY_TIME?ql(l,r):Xl(l,r),ql=({values:l},r)=>l.subarray(2*r,2*(r+1)),Xl=({values:l},r)=>{let a=l[r],_=new Int32Array(2);return _[0]=Math.trunc(a/12),_[1]=Math.trunc(a%12),_},Yl=({values:l},r)=>l[r],Jl=({values:l},r)=>l[r],Kl=({values:l},r)=>l[r],Ql=({values:l},r)=>l[r],Fu=(l,r)=>{switch(l.type.unit){case V.SECOND:return Yl(l,r);case V.MILLISECOND:return Jl(l,r);case V.MICROSECOND:return Kl(l,r);case V.NANOSECOND:return Ql(l,r)}},Du=(l,r)=>{let{stride:a,children:_}=l,m=_[0].slice(r*a,a);return new ue([m])};q.prototype.visitNull=Z(_u);q.prototype.visitBool=Z(uu);q.prototype.visitInt=Z(pu);q.prototype.visitInt8=Z(Ir);q.prototype.visitInt16=Z(Ir);q.prototype.visitInt32=Z(Ir);q.prototype.visitInt64=Z(Ml);q.prototype.visitUint8=Z(Ir);q.prototype.visitUint16=Z(Ir);q.prototype.visitUint32=Z(Ir);q.prototype.visitUint64=Z(Ml);q.prototype.visitFloat=Z(mu);q.prototype.visitFloat16=Z(du);q.prototype.visitFloat32=Z(Ir);q.prototype.visitFloat64=Z(Ir);q.prototype.visitUtf8=Z(Ul);q.prototype.visitLargeUtf8=Z(Ul);q.prototype.visitBinary=Z(Bl);q.prototype.visitLargeBinary=Z(Bl);q.prototype.visitFixedSizeBinary=Z(fu);q.prototype.visitDate=Z(gu);q.prototype.visitDateDay=Z(kl);q.prototype.visitDateMillisecond=Z(xl);q.prototype.visitTimestamp=Z(hu);q.prototype.visitTimestampSecond=Z(Gl);q.prototype.visitTimestampMillisecond=Z(Ol);q.prototype.visitTimestampMicrosecond=Z(Rl);q.prototype.visitTimestampNanosecond=Z(Hl);q.prototype.visitTime=Z(vu);q.prototype.visitTimeSecond=Z(Nl);q.prototype.visitTimeMillisecond=Z(Wl);q.prototype.visitTimeMicrosecond=Z(Vl);q.prototype.visitTimeNanosecond=Z(zl);q.prototype.visitDecimal=Z(yu);q.prototype.visitList=Z(bu);q.prototype.visitStruct=Z(Au);q.prototype.visitUnion=Z(Lu);q.prototype.visitDenseUnion=Z(jl);q.prototype.visitSparseUnion=Z($l);q.prototype.visitDictionary=Z(Eu);q.prototype.visitInterval=Z(wu);q.prototype.visitIntervalDayTime=Z(ql);q.prototype.visitIntervalYearMonth=Z(Xl);q.prototype.visitDuration=Z(Fu);q.prototype.visitDurationSecond=Z(Yl);q.prototype.visitDurationMillisecond=Z(Jl);q.prototype.visitDurationMicrosecond=Z(Kl);q.prototype.visitDurationNanosecond=Z(Ql);q.prototype.visitFixedSizeList=Z(Du);q.prototype.visitMap=Z(Su);var xe=new q;var kr=Symbol.for("keys"),hn=Symbol.for("vals"),gn=Symbol.for("kKeysAsStrings"),Qa=Symbol.for("_kKeysAsStrings"),Wt=class{constructor(r){return this[kr]=new ue([r.children[0]]).memoize(),this[hn]=r.children[1],new Proxy(this,new eo)}get[gn](){return this[Qa]||(this[Qa]=Array.from(this[kr].toArray(),String))}[Symbol.iterator](){return new Za(this[kr],this[hn])}get size(){return this[kr].length}toArray(){return Object.values(this.toJSON())}toJSON(){let r=this[kr],a=this[hn],_={};for(let f=-1,m=r.length;++f<m;)_[r.get(f)]=xe.visit(a,f);return _}toString(){return`{${[...this].map(([r,a])=>`${At(r)}: ${At(a)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}},Za=class{constructor(r,a){this.keys=r,this.vals=a,this.keyIndex=0,this.numKeys=r.length}[Symbol.iterator](){return this}next(){let r=this.keyIndex;return r===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(r),xe.visit(this.vals,r)]})}},eo=class{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(r){return r[gn]}has(r,a){return r[gn].includes(a)}getOwnPropertyDescriptor(r,a){if(r[gn].indexOf(a)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(r,a){if(Reflect.has(r,a))return r[a];let _=r[gn].indexOf(a);if(_!==-1){let f=xe.visit(Reflect.get(r,hn),_);return Reflect.set(r,a,f),f}}set(r,a,_){let f=r[gn].indexOf(a);return f!==-1?(Ne.visit(Reflect.get(r,hn),f,_),Reflect.set(r,a,_)):Reflect.has(r,a)?Reflect.set(r,a,_):!1}};Object.defineProperties(Wt.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[kr]:{writable:!0,enumerable:!1,configurable:!1,value:null},[hn]:{writable:!0,enumerable:!1,configurable:!1,value:null},[Qa]:{writable:!0,enumerable:!1,configurable:!1,value:null}});var Zl;function ti(l,r,a,_){let{length:f=0}=l,m=typeof r!="number"?0:r,g=typeof a!="number"?f:a;return m<0&&(m=(m%f+f)%f),g<0&&(g=(g%f+f)%f),g<m&&(Zl=m,m=g,g=Zl),g>f&&(g=f),_?_(l,m,g):[m,g]}var Nr=(l,r)=>l<0?r+l:l,ec=l=>l!==l;function xr(l){if(typeof l!=="object"||l===null)return ec(l)?ec:a=>a===l;if(l instanceof Date){let a=l.valueOf();return _=>_ instanceof Date?_.valueOf()===a:!1}return ArrayBuffer.isView(l)?a=>a?ka(l,a):!1:l instanceof Map?Pu(l):Array.isArray(l)?Tu(l):l instanceof ue?Cu(l):Iu(l,!0)}function Tu(l){let r=[];for(let a=-1,_=l.length;++a<_;)r[a]=xr(l[a]);return Es(r)}function Pu(l){let r=-1,a=[];for(let _ of l.values())a[++r]=xr(_);return Es(a)}function Cu(l){let r=[];for(let a=-1,_=l.length;++a<_;)r[a]=xr(l.get(a));return Es(r)}function Iu(l,r=!1){let a=Object.keys(l);if(!r&&a.length===0)return()=>!1;let _=[];for(let f=-1,m=a.length;++f<m;)_[f]=xr(l[a[f]]);return Es(_,a)}function Es(l,r){return a=>{if(!a||typeof a!="object")return!1;switch(a.constructor){case Array:return ku(l,a);case Map:return tc(l,a,a.keys());case Wt:case Cr:case Object:case void 0:return tc(l,a,r||Object.keys(a))}return a instanceof ue?xu(l,a):!1}}function ku(l,r){let a=l.length;if(r.length!==a)return!1;for(let _=-1;++_<a;)if(!l[_](r[_]))return!1;return!0}function xu(l,r){let a=l.length;if(r.length!==a)return!1;for(let _=-1;++_<a;)if(!l[_](r.get(_)))return!1;return!0}function tc(l,r,a){let _=a[Symbol.iterator](),f=r instanceof Map?r.keys():Object.keys(r)[Symbol.iterator](),m=r instanceof Map?r.values():Object.values(r)[Symbol.iterator](),g=0,e=l.length,t=m.next(),n=_.next(),o=f.next();for(;g<e&&!n.done&&!o.done&&!t.done&&!(n.value!==o.value||!l[g](t.value));++g,n=_.next(),o=f.next(),t=m.next());return g===e&&n.done&&o.done&&t.done?!0:(_.return&&_.return(),f.return&&f.return(),m.return&&m.return(),!1)}var ro={};Sr(ro,{BitIterator:()=>Wr,getBit:()=>rc,getBool:()=>Fs,packBools:()=>zr,popcnt_array:()=>nc,popcnt_bit_range:()=>ri,popcnt_uint32:()=>ws,setBool:()=>Mu,truncateBitmap:()=>Vr});function Fs(l,r,a,_){return(a&1<<_)!==0}function rc(l,r,a,_){return(a&1<<_)>>_}function Mu(l,r,a){return a?!!(l[r>>3]|=1<<r%8)||!0:!(l[r>>3]&=~(1<<r%8))&&!1}function Vr(l,r,a){let _=a.byteLength+7&-8;if(l>0||a.byteLength<_){let f=new Uint8Array(_);return f.set(l%8===0?a.subarray(l>>3):zr(new Wr(a,l,r,null,Fs)).subarray(0,_)),f}return a}function zr(l){let r=[],a=0,_=0,f=0;for(let g of l)g&&(f|=1<<_),++_===8&&(r[a++]=f,f=_=0);(a===0||_>0)&&(r[a++]=f);let m=new Uint8Array(r.length+7&-8);return m.set(r),m}var Wr=class{constructor(r,a,_,f,m){this.bytes=r,this.length=_,this.context=f,this.get=m,this.bit=a%8,this.byteIndex=a>>3,this.byte=r[this.byteIndex++],this.index=0}next(){return this.index<this.length?(this.bit===8&&(this.bit=0,this.byte=this.bytes[this.byteIndex++]),{value:this.get(this.context,this.index++,this.byte,this.bit++)}):{done:!0,value:null}}[Symbol.iterator](){return this}};function ri(l,r,a){if(a-r<=0)return 0;if(a-r<8){let m=0;for(let g of new Wr(l,r,a-r,l,rc))m+=g;return m}let _=a>>3<<3,f=r+(r%8===0?0:8-r%8);return ri(l,r,f)+ri(l,_,a)+nc(l,f>>3,_-f>>3)}function nc(l,r,a){let _=0,f=Math.trunc(r),m=new DataView(l.buffer,l.byteOffset,l.byteLength),g=a===void 0?l.byteLength:f+a;for(;g-f>=4;)_+=ws(m.getUint32(f)),f+=4;for(;g-f>=2;)_+=ws(m.getUint16(f)),f+=2;for(;g-f>=1;)_+=ws(m.getUint8(f)),f+=1;return _}function ws(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 Bu=-1,fe=class l{get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get nullable(){if(this._nullCount!==0){let{type:r}=this;return N.isSparseUnion(r)?this.children.some(a=>a.nullable):N.isDenseUnion(r)?this.children.some(a=>a.nullable):this.nullBitmap&&this.nullBitmap.byteLength>0}return!0}get byteLength(){let r=0,{valueOffsets:a,values:_,nullBitmap:f,typeIds:m}=this;return a&&(r+=a.byteLength),_&&(r+=_.byteLength),f&&(r+=f.byteLength),m&&(r+=m.byteLength),this.children.reduce((g,e)=>g+e.byteLength,r)}get nullCount(){if(N.isUnion(this.type))return this.children.reduce((_,f)=>_+f.nullCount,0);let r=this._nullCount,a;return r<=Bu&&(a=this.nullBitmap)&&(this._nullCount=r=a.length===0?0:this.length-ri(a,this.offset,this.offset+this.length)),r}constructor(r,a,_,f,m,g=[],e){this.type=r,this.children=g,this.dictionary=e,this.offset=Math.floor(Math.max(a||0,0)),this.length=Math.floor(Math.max(_||0,0)),this._nullCount=Math.floor(Math.max(f||0,-1));let t;m instanceof l?(this.stride=m.stride,this.values=m.values,this.typeIds=m.typeIds,this.nullBitmap=m.nullBitmap,this.valueOffsets=m.valueOffsets):(this.stride=at(r),m&&((t=m[0])&&(this.valueOffsets=t),(t=m[1])&&(this.values=t),(t=m[2])&&(this.nullBitmap=t),(t=m[3])&&(this.typeIds=t)))}getValid(r){let{type:a}=this;if(N.isUnion(a)){let _=a,f=this.children[_.typeIdToChildIndex[this.typeIds[r]]],m=_.mode===Se.Dense?this.valueOffsets[r]:r;return f.getValid(m)}if(this.nullable&&this.nullCount>0){let _=this.offset+r;return(this.nullBitmap[_>>3]&1<<_%8)!==0}return!0}setValid(r,a){let _,{type:f}=this;if(N.isUnion(f)){let m=f,g=this.children[m.typeIdToChildIndex[this.typeIds[r]]],e=m.mode===Se.Dense?this.valueOffsets[r]:r;_=g.getValid(e),g.setValid(e,a)}else{let{nullBitmap:m}=this,{offset:g,length:e}=this,t=g+r,n=1<<t%8,o=t>>3;(!m||m.byteLength<=o)&&(m=new Uint8Array((g+e+63&-64)>>3).fill(255),this.nullCount>0?(m.set(Vr(g,e,this.nullBitmap),0),Object.assign(this,{nullBitmap:m})):Object.assign(this,{nullBitmap:m,_nullCount:0}));let c=m[o];_=(c&n)!==0,m[o]=a?c|n:c&~n}return _!==!!a&&(this._nullCount=this.nullCount+(a?-1:1)),a}clone(r=this.type,a=this.offset,_=this.length,f=this._nullCount,m=this,g=this.children){return new l(r,a,_,f,m,g,this.dictionary)}slice(r,a){let{stride:_,typeId:f,children:m}=this,g=+(this._nullCount===0)-1,e=f===16?_:1,t=this._sliceBuffers(r,a,_,f);return this.clone(this.type,this.offset+r,a,g,t,m.length===0||this.valueOffsets?m:this._sliceChildren(m,e*r,e*a))}_changeLengthAndBackfillNullBitmap(r){if(this.typeId===D.Null)return this.clone(this.type,0,r,0);let{length:a,nullCount:_}=this,f=new Uint8Array((r+63&-64)>>3).fill(255,0,a>>3);f[a>>3]=(1<<a-(a&-8))-1,_>0&&f.set(Vr(this.offset,a,this.nullBitmap),0);let m=this.buffers;return m[_t.VALIDITY]=f,this.clone(this.type,0,r,_+(r-a),m)}_sliceBuffers(r,a,_,f){let m,{buffers:g}=this;return(m=g[_t.TYPE])&&(g[_t.TYPE]=m.subarray(r,r+a)),(m=g[_t.OFFSET])&&(g[_t.OFFSET]=m.subarray(r,r+a+1))||(m=g[_t.DATA])&&(g[_t.DATA]=f===6?m:m.subarray(_*r,_*(r+a))),g}_sliceChildren(r,a,_){return r.map(f=>f.slice(a,_))}};fe.prototype.children=Object.freeze([]);var no=class l extends ${visit(r){return this.getVisitFn(r.type).call(this,r)}visitNull(r){let{["type"]:a,["offset"]:_=0,["length"]:f=0}=r;return new fe(a,_,f,f)}visitBool(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length>>3,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitInt(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitFloat(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitUtf8(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.data),m=Q(r.nullBitmap),g=Rr(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,f,m])}visitLargeUtf8(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.data),m=Q(r.nullBitmap),g=Vi(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,f,m])}visitBinary(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.data),m=Q(r.nullBitmap),g=Rr(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,f,m])}visitLargeBinary(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.data),m=Q(r.nullBitmap),g=Vi(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,f,m])}visitFixedSizeBinary(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/at(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitDate(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/at(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitTimestamp(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/at(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitTime(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/at(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitDecimal(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/at(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitList(r){let{["type"]:a,["offset"]:_=0,["child"]:f}=r,m=Q(r.nullBitmap),g=Rr(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,void 0,m],[f])}visitStruct(r){let{["type"]:a,["offset"]:_=0,["children"]:f=[]}=r,m=Q(r.nullBitmap),{length:g=f.reduce((t,{length:n})=>Math.max(t,n),0),nullCount:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,void 0,m],f)}visitUnion(r){let{["type"]:a,["offset"]:_=0,["children"]:f=[]}=r,m=le(a.ArrayType,r.typeIds),{["length"]:g=m.length,["nullCount"]:e=-1}=r;if(N.isSparseUnion(a))return new fe(a,_,g,e,[void 0,void 0,void 0,m],f);let t=Rr(r.valueOffsets);return new fe(a,_,g,e,[t,void 0,void 0,m],f)}visitDictionary(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.indices.ArrayType,r.data),{["dictionary"]:g=new ue([new l().visit({type:a.dictionary})])}=r,{["length"]:e=m.length,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[void 0,m,f],[],g)}visitInterval(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/at(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitDuration(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitFixedSizeList(r){let{["type"]:a,["offset"]:_=0,["child"]:f=new l().visit({type:a.valueType})}=r,m=Q(r.nullBitmap),{["length"]:g=f.length/at(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,void 0,m],[f])}visitMap(r){let{["type"]:a,["offset"]:_=0,["child"]:f=new l().visit({type:a.childType})}=r,m=Q(r.nullBitmap),g=Rr(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,void 0,m],[f])}},Uu=new no;function ne(l){return Uu.visit(l)}var ni=class{constructor(r=0,a){this.numChunks=r,this.getChunkIterator=a,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndex<this.numChunks;){let r=this.chunkIterator.next();if(!r.done)return r;++this.chunkIndex<this.numChunks&&(this.chunkIterator=this.getChunkIterator(this.chunkIndex))}return{done:!0,value:null}}[Symbol.iterator](){return this}};function ic(l){return l.some(r=>r.nullable)}function Ds(l){return l.reduce((r,a)=>r+a.nullCount,0)}function Ts(l){return l.reduce((r,a,_)=>(r[_+1]=r[_]+a.length,r),new Uint32Array(l.length+1))}function Ps(l,r,a,_){let f=[];for(let m=-1,g=l.length;++m<g;){let e=l[m],t=r[m],{length:n}=e;if(t>=_)break;if(a>=t+n)continue;if(t>=a&&t+n<=_){f.push(e);continue}let o=Math.max(0,a-t),c=Math.min(_-t,n);f.push(e.slice(o,c-o))}return f.length===0&&f.push(l[0].slice(0,0)),f}function io(l,r,a,_){let f=0,m=0,g=r.length-1;do{if(f>=g-1)return a<r[g]?_(l,f,a-r[f]):null;m=f+Math.trunc((g-f)*.5),a<r[m]?g=m:f=m}while(f<g)}function ii(l,r){return l.getValid(r)}function vn(l){function r(a,_,f){return l(a[_],f)}return function(a){let _=this.data;return io(_,this._offsets,a,r)}}function Cs(l){let r;function a(_,f,m){return l(_[f],m,r)}return function(_,f){let m=this.data;r=f;let g=io(m,this._offsets,_,a);return r=void 0,g}}function Is(l){let r;function a(_,f,m){let g=m,e=0,t=0;for(let n=f-1,o=_.length;++n<o;){let c=_[n];if(~(e=l(c,r,g)))return t+e;g=0,t+=c.length}return-1}return function(_,f){r=_;let m=this.data,g=typeof f!="number"?a(m,0,0):io(m,this._offsets,f,a);return r=void 0,g}}var X=class extends ${};function Gu(l,r){return r===null&&l.length>0?0:-1}function Ou(l,r){let{nullBitmap:a}=l;if(!a||l.nullCount<=0)return-1;let _=0;for(let f of new Wr(a,l.offset+(r||0),l.length,a,Fs)){if(!f)return _;++_}return-1}function ie(l,r,a){if(r===void 0)return-1;if(r===null)switch(l.typeId){case D.Union:break;case D.Dictionary:break;default:return Ou(l,a)}let _=xe.getVisitFn(l),f=xr(r);for(let m=(a||0)-1,g=l.length;++m<g;)if(f(_(l,m)))return m;return-1}function sc(l,r,a){let _=xe.getVisitFn(l),f=xr(r);for(let m=(a||0)-1,g=l.length;++m<g;)if(f(_(l,m)))return m;return-1}X.prototype.visitNull=Gu;X.prototype.visitBool=ie;X.prototype.visitInt=ie;X.prototype.visitInt8=ie;X.prototype.visitInt16=ie;X.prototype.visitInt32=ie;X.prototype.visitInt64=ie;X.prototype.visitUint8=ie;X.prototype.visitUint16=ie;X.prototype.visitUint32=ie;X.prototype.visitUint64=ie;X.prototype.visitFloat=ie;X.prototype.visitFloat16=ie;X.prototype.visitFloat32=ie;X.prototype.visitFloat64=ie;X.prototype.visitUtf8=ie;X.prototype.visitLargeUtf8=ie;X.prototype.visitBinary=ie;X.prototype.visitLargeBinary=ie;X.prototype.visitFixedSizeBinary=ie;X.prototype.visitDate=ie;X.prototype.visitDateDay=ie;X.prototype.visitDateMillisecond=ie;X.prototype.visitTimestamp=ie;X.prototype.visitTimestampSecond=ie;X.prototype.visitTimestampMillisecond=ie;X.prototype.visitTimestampMicrosecond=ie;X.prototype.visitTimestampNanosecond=ie;X.prototype.visitTime=ie;X.prototype.visitTimeSecond=ie;X.prototype.visitTimeMillisecond=ie;X.prototype.visitTimeMicrosecond=ie;X.prototype.visitTimeNanosecond=ie;X.prototype.visitDecimal=ie;X.prototype.visitList=ie;X.prototype.visitStruct=ie;X.prototype.visitUnion=ie;X.prototype.visitDenseUnion=sc;X.prototype.visitSparseUnion=sc;X.prototype.visitDictionary=ie;X.prototype.visitInterval=ie;X.prototype.visitIntervalDayTime=ie;X.prototype.visitIntervalYearMonth=ie;X.prototype.visitDuration=ie;X.prototype.visitDurationSecond=ie;X.prototype.visitDurationMillisecond=ie;X.prototype.visitDurationMicrosecond=ie;X.prototype.visitDurationNanosecond=ie;X.prototype.visitFixedSizeList=ie;X.prototype.visitMap=ie;var jr=new X;var Y=class extends ${};function ee(l){let{type:r}=l;if(l.nullCount===0&&l.stride===1&&(N.isInt(r)&&r.bitWidth!==64||N.isTime(r)&&r.bitWidth!==64||N.isFloat(r)&&r.precision!==be.HALF))return new ni(l.data.length,_=>{let f=l.data[_];return f.values.subarray(0,f.length)[Symbol.iterator]()});let a=0;return new ni(l.data.length,_=>{let m=l.data[_].length,g=l.slice(a,a+m);return a+=m,new so(g)})}var so=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}};Y.prototype.visitNull=ee;Y.prototype.visitBool=ee;Y.prototype.visitInt=ee;Y.prototype.visitInt8=ee;Y.prototype.visitInt16=ee;Y.prototype.visitInt32=ee;Y.prototype.visitInt64=ee;Y.prototype.visitUint8=ee;Y.prototype.visitUint16=ee;Y.prototype.visitUint32=ee;Y.prototype.visitUint64=ee;Y.prototype.visitFloat=ee;Y.prototype.visitFloat16=ee;Y.prototype.visitFloat32=ee;Y.prototype.visitFloat64=ee;Y.prototype.visitUtf8=ee;Y.prototype.visitLargeUtf8=ee;Y.prototype.visitBinary=ee;Y.prototype.visitLargeBinary=ee;Y.prototype.visitFixedSizeBinary=ee;Y.prototype.visitDate=ee;Y.prototype.visitDateDay=ee;Y.prototype.visitDateMillisecond=ee;Y.prototype.visitTimestamp=ee;Y.prototype.visitTimestampSecond=ee;Y.prototype.visitTimestampMillisecond=ee;Y.prototype.visitTimestampMicrosecond=ee;Y.prototype.visitTimestampNanosecond=ee;Y.prototype.visitTime=ee;Y.prototype.visitTimeSecond=ee;Y.prototype.visitTimeMillisecond=ee;Y.prototype.visitTimeMicrosecond=ee;Y.prototype.visitTimeNanosecond=ee;Y.prototype.visitDecimal=ee;Y.prototype.visitList=ee;Y.prototype.visitStruct=ee;Y.prototype.visitUnion=ee;Y.prototype.visitDenseUnion=ee;Y.prototype.visitSparseUnion=ee;Y.prototype.visitDictionary=ee;Y.prototype.visitInterval=ee;Y.prototype.visitIntervalDayTime=ee;Y.prototype.visitIntervalYearMonth=ee;Y.prototype.visitDuration=ee;Y.prototype.visitDurationSecond=ee;Y.prototype.visitDurationMillisecond=ee;Y.prototype.visitDurationMicrosecond=ee;Y.prototype.visitDurationNanosecond=ee;Y.prototype.visitFixedSizeList=ee;Y.prototype.visitMap=ee;var yn=new Y;var ac,oc={},lc={},ue=class l{constructor(r){var a,_,f;let m=r[0]instanceof l?r.flatMap(e=>e.data):r;if(m.length===0||m.some(e=>!(e instanceof fe)))throw new TypeError("Vector constructor expects an Array of Data instances.");let g=(a=m[0])===null||a===void 0?void 0:a.type;switch(m.length){case 0:this._offsets=[0];break;case 1:{let{get:e,set:t,indexOf:n}=oc[g.typeId],o=m[0];this.isValid=c=>ii(o,c),this.get=c=>e(o,c),this.set=(c,u)=>t(o,c,u),this.indexOf=c=>n(o,c),this._offsets=[0,o.length];break}default:Object.setPrototypeOf(this,lc[g.typeId]),this._offsets=Ts(m);break}this.data=m,this.type=g,this.stride=at(g),this.numChildren=(f=(_=g.children)===null||_===void 0?void 0:_.length)!==null&&f!==void 0?f:0,this.length=this._offsets.at(-1)}get byteLength(){return this.data.reduce((r,a)=>r+a.byteLength,0)}get nullable(){return ic(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(Nr(r,this.length))}set(r,a){}indexOf(r,a){return-1}includes(r,a){return this.indexOf(r,a)>-1}[Symbol.iterator](){return yn.visit(this)}concat(...r){return new l(this.data.concat(r.flatMap(a=>a.data).flat(Number.POSITIVE_INFINITY)))}slice(r,a){return new l(ti(this,r,a,({data:_,_offsets:f},m,g)=>Ps(_,f,m,g)))}toJSON(){return[...this]}toArray(){let{type:r,data:a,length:_,stride:f,ArrayType:m}=this;switch(r.typeId){case D.Int:case D.Float:case D.Decimal:case D.Time:case D.Timestamp:switch(a.length){case 0:return new m;case 1:return a[0].values.subarray(0,_*f);default:return a.reduce((g,{values:e,length:t})=>(g.array.set(e.subarray(0,t*f),g.offset),g.offset+=t*f,g),{array:new m(_*f),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(r){var a;return this.getChildAt((a=this.type.children)===null||a===void 0?void 0:a.findIndex(_=>_.name===r))}getChildAt(r){return r>-1&&r<this.numChildren?new l(this.data.map(({children:a})=>a[r])):null}get isMemoized(){return N.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(N.isDictionary(this.type)){let r=new ks(this.data[0].dictionary),a=this.data.map(_=>{let f=_.clone();return f.dictionary=r,f});return new l(a)}return new ks(this)}unmemoize(){if(N.isDictionary(this.type)&&this.isMemoized){let r=this.data[0].dictionary.unmemoize(),a=this.data.map(_=>{let f=_.clone();return f.dictionary=r,f});return new l(a)}return this}};ac=Symbol.toStringTag;ue[ac]=(l=>{l.type=N.prototype,l.data=[],l.length=0,l.stride=1,l.numChildren=0,l._offsets=new Uint32Array([0]),l[Symbol.isConcatSpreadable]=!0;let r=Object.keys(D).map(a=>D[a]).filter(a=>typeof a=="number"&&a!==D.NONE);for(let a of r){let _=xe.getVisitFnByTypeId(a),f=Ne.getVisitFnByTypeId(a),m=jr.getVisitFnByTypeId(a);oc[a]={get:_,set:f,indexOf:m},lc[a]=Object.create(l,{isValid:{value:vn(ii)},get:{value:vn(xe.getVisitFnByTypeId(a))},set:{value:Cs(Ne.getVisitFnByTypeId(a))},indexOf:{value:Is(jr.getVisitFnByTypeId(a))}})}return"Vector"})(ue.prototype);var ks=class l extends ue{constructor(r){super(r.data);let a=this.get,_=this.set,f=this.slice,m=new Array(this.length);Object.defineProperty(this,"get",{value(g){let e=m[g];if(e!==void 0)return e;let t=a.call(this,g);return m[g]=t,t}}),Object.defineProperty(this,"set",{value(g,e){_.call(this,g,e),m[g]=e}}),Object.defineProperty(this,"slice",{value:(g,e)=>new l(f.call(this,g,e))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new ue(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}};function cc(l){if(!l||l.length<=0)return function(f){return!0};let r="",a=l.filter(_=>_===_);return a.length>0&&(r=`
24
+ `,new Function(v,y)}class UnboundTypeError extends Error{}class PureVirtualError extends Error{}var EmValOptionalType=Object.assign({optional:!0},EmValType),throwUnboundTypeError=(e,t)=>{var n=[],o={};function c(u){if(!o[u]&&!registeredTypes[u]){if(typeDependencies[u]){typeDependencies[u].forEach(c);return}n.push(u),o[u]=!0}}throw t.forEach(c),new UnboundTypeError(`${e}: `+n.map(getTypeName).join([", "]))},ensureOverloadTable=(e,t,n)=>{if(e[t].overloadTable===void 0){var o=e[t];e[t]=function(...c){return e[t].overloadTable.hasOwnProperty(c.length)||throwBindingError(`Function '${n}' called with an invalid number of arguments (${c.length}) - expects one of (${e[t].overloadTable})!`),e[t].overloadTable[c.length].apply(this,c)},e[t].overloadTable=[],e[t].overloadTable[o.argCount]=o}},exposePublicSymbol=(e,t,n)=>{Module.hasOwnProperty(e)?((n===void 0||Module[e].overloadTable!==void 0&&Module[e].overloadTable[n]!==void 0)&&throwBindingError(`Cannot register public name '${e}' twice`),ensureOverloadTable(Module,e,e),Module[e].overloadTable.hasOwnProperty(n)&&throwBindingError(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),Module[e].overloadTable[n]=t):(Module[e]=t,Module[e].argCount=n)},replacePublicSymbol=(e,t,n)=>{Module.hasOwnProperty(e)||throwInternalError("Replacing nonexistent public symbol"),Module[e].overloadTable!==void 0&&n!==void 0?Module[e].overloadTable[n]=t:(Module[e]=t,Module[e].argCount=n)},embindRepr=e=>{if(e===null)return"null";var t=typeof e;return t==="object"||t==="array"||t==="function"?e.toString():""+e},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(o){return this.fromWireType(HEAP8[o>>>0])}:function(o){return this.fromWireType(HEAPU8[o>>>0])};case 2:return n?function(o){return this.fromWireType(HEAP16[o>>>1>>>0])}:function(o){return this.fromWireType(HEAPU16[o>>>1>>>0])};case 4:return n?function(o){return this.fromWireType(HEAP32[o>>>2>>>0])}:function(o){return this.fromWireType(HEAPU32[o>>>2>>>0])};default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},installIndexedIterator=(e,t,n)=>{let o=(c,u)=>{let d=0;return{next(){if(d>=c)return{done:!0};let p=d;return d++,{value:u(p),done:!1}},[Symbol.iterator](){return this}}};e[Symbol.iterator]||(e[Symbol.iterator]=function(){let c=this[t]();return o(c,u=>this[n](u))})};function __embind_register_user_type(e,t){e>>>=0,t>>>=0,__embind_register_emval(e)}__embind_register_user_type.sig="vpp";function __embind_register_user_type_definition(e,t,n){e>>>=0,t>>>=0,n>>>=0,__embind_register_emval(e)}__embind_register_user_type_definition.sig="vppp";function __embind_register_optional(e,t){e>>>=0,t>>>=0,registerType(e,EmValOptionalType)}__embind_register_optional.sig="vpp";function craftInvokerFunction(e,t,n,o,c,u){var d=t.length;d<2&&throwBindingError("argTypes array size mismatch! Must at least get return value and receiver (this) types!");for(var p=t[1]!==null&&n!==null,h=usesDestructorStack(t),y=!t[0].isVoid,b=d-2,v=t[0],A=t[1],L=[e,throwBindingError,o,c,runDestructors,v.fromWireType.bind(v),A==null?void 0:A.toWireType.bind(A)],E=2;E<d;++E){var S=t[E];L.push(S.toWireType.bind(S))}if(!h)for(var E=p?1:2;E<t.length;++E)t[E].destructorFunction!==null&&L.push(t[E].destructorFunction);var T=createJsInvoker(t,p,y,u)(...L);return createNamedFunction(e,T)}var embind__requireFunction=(e,t,n=!1)=>{e=AsciiToString(e);function o(){if(e.includes("p"))return getDynCaller(e,t,n);var u=getWasmTableEntry(t);return u}var c=o();return typeof c!="function"&&throwBindingError(`unknown function pointer with signature ${e}: ${t}`),c};function __embind_register_function(e,t,n,o,c,u,d,p){e>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0;var h=heap32VectorToArray(t,n);e=AsciiToString(e),e=getFunctionName(e),c=embind__requireFunction(o,c,d),exposePublicSymbol(e,function(){throwUnboundTypeError(`Cannot call ${e} due to unbound types`,h)},t-1),whenDependentTypesAreResolved([],h,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,o,c,u){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,tupleRegistrations[e]={name:AsciiToString(t),rawConstructor:embind__requireFunction(n,o),rawDestructor:embind__requireFunction(c,u),elements:[]}}__embind_register_value_array.sig="vpppppp";function __embind_register_value_array_element(e,t,n,o,c,u,d,p,h){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,tupleRegistrations[e].elements.push({getterReturnType:t,getter:embind__requireFunction(n,o),getterContext:c,setterArgumentType:u,setter:embind__requireFunction(d,p),setterContext:h})}__embind_register_value_array_element.sig="vppppppppp";var __embind_finalize_value_array=function(e){e>>>=0;var t=tupleRegistrations[e];delete tupleRegistrations[e];var n=t.elements,o=n.length,c=n.map(p=>p.getterReturnType).concat(n.map(p=>p.setterArgumentType)),u=t.rawConstructor,d=t.rawDestructor;whenDependentTypesAreResolved([e],c,p=>{for(let[h,y]of n.entries()){let b=p[h],v=y.getter,A=y.getterContext,L=p[h+o],E=y.setter,S=y.setterContext;y.read=w=>b.fromWireType(v(A,w)),y.write=(w,T)=>{var F=[];E(S,w,L.toWireType(F,T)),runDestructors(F)}}return[{name:t.name,fromWireType:h=>{for(var y=new Array(o),b=0;b<o;++b)y[b]=n[b].read(h);return d(h),y},toWireType:(h,y)=>{if(o!==y.length)throw new TypeError(`Incorrect number of tuple elements for ${t.name}: expected=${o}, actual=${y.length}`);for(var b=u(),v=0;v<o;++v)n[v].write(b,y[v]);return h!==null&&h.push(d,b),b},readValueFromPointer:readPointer,destructorFunction:d}]})};__embind_finalize_value_array.sig="vp";function __embind_register_value_object(e,t,n,o,c,u){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,structRegistrations[e]={name:AsciiToString(t),rawConstructor:embind__requireFunction(n,o),rawDestructor:embind__requireFunction(c,u),fields:[]}}__embind_register_value_object.sig="vpppppp";function __embind_register_value_object_field(e,t,n,o,c,u,d,p,h,y){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,y>>>=0,structRegistrations[e].fields.push({fieldName:AsciiToString(t),getterReturnType:n,getter:embind__requireFunction(o,c),getterContext:u,setterArgumentType:d,setter:embind__requireFunction(p,h),setterContext: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,o=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[h,y]of c.entries()){let b=d[h],v=y.getter,A=y.getterContext,L=d[h+c.length],E=y.setter,S=y.setterContext;p[y.fieldName]={read:w=>b.fromWireType(v(A,w)),write:(w,T)=>{var F=[];E(S,w,L.toWireType(F,T)),runDestructors(F)},optional:b.optional}}return[{name:t.name,fromWireType:b=>{var v={};for(var A in p)v[A]=p[A].read(b);return o(b),v},toWireType:(b,v)=>{for(var A in p)if(!(A in v)&&!p[A].optional)throw new TypeError(`Missing field: "${A}"`);var L=n();for(A in p)p[A].write(L,v[A]);return b!==null&&b.push(o,L),L},readValueFromPointer:readPointer,destructorFunction:o}]})};__embind_finalize_value_object.sig="vp";var upcastPointer=(e,t,n)=>{for(;t!==n;)t.upcast||throwBindingError(`Expected null or instance of ${n.name}, got an instance of ${t.name}`),e=t.upcast(e),t=t.baseClass;return e};function genericPointerToWireType(e,t){var n;if(t===null)return this.isReference&&throwBindingError(`null is not a valid ${this.name}`),this.isSmartPointer?(n=this.rawConstructor(),e!==null&&e.push(this.rawDestructor,n),n):0;(!t||!t.$$)&&throwBindingError(`Cannot pass "${embindRepr(t)}" as a ${this.name}`),t.$$.ptr||throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&t.$$.ptrType.isConst&&throwBindingError(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);var o=t.$$.ptrType.registeredClass;if(n=upcastPointer(t.$$.ptr,o,this.registeredClass),this.isSmartPointer)switch(t.$$.smartPtr===void 0&&throwBindingError("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?n=t.$$.smartPtr:throwBindingError(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:n=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)n=t.$$.smartPtr;else{var c=t.clone();n=this.rawShare(n,Emval.toHandle(()=>c.delete())),e!==null&&e.push(this.rawDestructor,n)}break;default:throwBindingError("Unsupported sharing policy")}return n}function constNoSmartPtrRawPointerToWireType(e,t){if(t===null)return this.isReference&&throwBindingError(`null is not a valid ${this.name}`),0;t.$$||throwBindingError(`Cannot pass "${embindRepr(t)}" as a ${this.name}`),t.$$.ptr||throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`);var n=t.$$.ptrType.registeredClass,o=upcastPointer(t.$$.ptr,n,this.registeredClass);return o}function nonConstNoSmartPtrRawPointerToWireType(e,t){if(t===null)return this.isReference&&throwBindingError(`null is not a valid ${this.name}`),0;t.$$||throwBindingError(`Cannot pass "${embindRepr(t)}" as a ${this.name}`),t.$$.ptr||throwBindingError(`Cannot pass deleted object as a pointer of type ${this.name}`),t.$$.ptrType.isConst&&throwBindingError(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);var n=t.$$.ptrType.registeredClass,o=upcastPointer(t.$$.ptr,n,this.registeredClass);return o}function RegisteredPointer(e,t,n,o,c,u,d,p,h,y,b){this.name=e,this.registeredClass=t,this.isReference=n,this.isConst=o,this.isSmartPointer=c,this.pointeeType=u,this.sharingPolicy=d,this.rawGetPointee=p,this.rawConstructor=h,this.rawShare=y,this.rawDestructor=b,!c&&t.baseClass===void 0?o?(this.toWireType=constNoSmartPtrRawPointerToWireType,this.destructorFunction=null):(this.toWireType=nonConstNoSmartPtrRawPointerToWireType,this.destructorFunction=null):this.toWireType=genericPointerToWireType}var downcastPointer=(e,t,n)=>{if(t===n)return e;if(n.baseClass===void 0)return null;var o=downcastPointer(e,t,n.baseClass);return o===null?null:n.downcast(o)},finalizationRegistry=!1,detachFinalizer=e=>{},runDestructor=e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)},releaseClassHandle=e=>{e.count.value-=1;var t=e.count.value===0;t&&runDestructor(e)},attachFinalizer=e=>globalThis.FinalizationRegistry?(finalizationRegistry=new FinalizationRegistry(t=>{releaseClassHandle(t.$$)}),attachFinalizer=t=>{var n=t.$$,o=!!n.smartPtr;if(o){var c={$$:n};finalizationRegistry.register(t,c,t)}return t},detachFinalizer=t=>finalizationRegistry.unregister(t),attachFinalizer(e)):(attachFinalizer=t=>t,e),makeClassHandle=(e,t)=>{(!t.ptrType||!t.ptr)&&throwInternalError("makeClassHandle requires ptr and ptrType");var n=!!t.smartPtrType,o=!!t.smartPtr;return n!==o&&throwInternalError("Both smartPtrType and smartPtr must be specified"),t.count={value:1},attachFinalizer(Object.create(e,{$$:{value:t,writable:!0}}))};function RegisteredPointer_fromWireType(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var n=getInheritedInstance(this.registeredClass,t);if(n!==void 0){if(n.$$.count.value===0)return n.$$.ptr=t,n.$$.smartPtr=e,n.clone();var o=n.clone();return this.destructor(e),o}function c(){return this.isSmartPointer?makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var u=this.registeredClass.getActualType(t),d=registeredPointers[u];if(!d)return c.call(this);var p;this.isConst?p=d.constPointerType:p=d.pointerType;var h=downcastPointer(t,this.registeredClass,p.registeredClass);return h===null?c.call(this):this.isSmartPointer?makeClassHandle(p.registeredClass.instancePrototype,{ptrType:p,ptr:h,smartPtrType:this,smartPtr:e}):makeClassHandle(p.registeredClass.instancePrototype,{ptrType:p,ptr:h})}var init_RegisteredPointer=()=>{Object.assign(RegisteredPointer.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){var t;(t=this.rawDestructor)==null||t.call(this,e)},readValueFromPointer:readPointer,fromWireType:RegisteredPointer_fromWireType})},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 o=this.$$.ptrType.registeredClass,c=this.$$.ptr;n.$$=n.$$;for(var u=n.$$.ptrType.registeredClass,d=n.$$.ptr;o.baseClass;)c=o.upcast(c),o=o.baseClass;for(;u.baseClass;)d=u.upcast(d),u=u.baseClass;return o===u&&c===d},clone(){if(this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var n=attachFinalizer(Object.create(Object.getPrototypeOf(this),{$$:{value:shallowCopyInternalPointer(this.$$)}}));return n.$$.count.value+=1,n.$$.deleteScheduled=!1,n},delete(){this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&throwBindingError("Object already scheduled for deletion"),detachFinalizer(this),releaseClassHandle(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&throwBindingError("Object already scheduled for deletion"),deletionQueue.push(this),deletionQueue.length===1&&delayFunction&&delayFunction(flushPendingDeletes),this.$$.deleteScheduled=!0,this}});let t=Symbol.dispose;t&&(e[t]=e.delete)},setDelayFunction=e=>{delayFunction=e,deletionQueue.length&&delayFunction&&delayFunction(flushPendingDeletes)};function RegisteredClass(e,t,n,o,c,u,d,p){this.name=e,this.constructor=t,this.instancePrototype=n,this.rawDestructor=o,this.baseClass=c,this.getActualType=u,this.upcast=d,this.downcast=p,this.pureVirtualFunctions=[]}var char_0=48,char_9=57,makeLegalFunctionName=e=>{e=e.replace(/[^a-zA-Z0-9_]/g,"$");var t=e.charCodeAt(0);return t>=char_0&&t<=char_9?`_${e}`:e};function __embind_register_class(e,t,n,o,c,u,d,p,h,y,b,v,A){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=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(h,y)),A=embind__requireFunction(v,A);var L=makeLegalFunctionName(b);exposePublicSymbol(L,function(){throwUnboundTypeError(`Cannot construct ${b} due to unbound types`,[o])}),whenDependentTypesAreResolved([e,t,n],o?[o]:[],E=>{var x,M;E=E[0];var S,w;o?(S=E.registeredClass,w=S.instancePrototype):w=ClassHandle.prototype;var T=createNamedFunction(b,function(...R){if(Object.getPrototypeOf(this)!==F)throw new BindingError(`Use 'new' to construct ${b}`);if(P.constructor_body===void 0)throw new BindingError(`${b} has no accessible constructor`);var re=P.constructor_body[R.length];if(re===void 0)throw new BindingError(`Tried to invoke ctor of ${b} with invalid number of parameters (${R.length}) - expected (${Object.keys(P.constructor_body).toString()}) parameters instead!`);return re.apply(this,R)}),F=Object.create(w,{constructor:{value:T}});T.prototype=F;var P=new RegisteredClass(b,T,F,A,S,u,p,y);P.baseClass&&((M=(x=P.baseClass).__derivedClasses)!=null||(x.__derivedClasses=[]),P.baseClass.__derivedClasses.push(P));var I=new RegisteredPointer(b,P,!0,!1,!1),B=new RegisteredPointer(b+"*",P,!1,!1,!1),C=new RegisteredPointer(b+" const*",P,!1,!0,!1);return registeredPointers[e]={pointerType:B,constPointerType:C},replacePublicSymbol(L,T),[I,B,C]})}__embind_register_class.sig="vppppppppppppp";var __embind_register_iterable=function(e,t,n,o){e>>>=0,t>>>=0,n>>>=0,o>>>=0,n=AsciiToString(n),o=AsciiToString(o),whenDependentTypesAreResolved([],[e,t],c=>{let u=c[0];return installIndexedIterator(u.registeredClass.instancePrototype,n,o),[]})};__embind_register_iterable.sig="vpppp";var __embind_register_class_constructor=function(e,t,n,o,c,u){e>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0;var d=heap32VectorToArray(t,n);c=embind__requireFunction(o,c);var p=[u],h=[];whenDependentTypesAreResolved([],[e],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,o,c,u,d,p,h,y){e>>>=0,t>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0;var b=heap32VectorToArray(n,o);t=AsciiToString(t),t=getFunctionName(t),u=embind__requireFunction(c,u,h),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 L(){throwUnboundTypeError(`Cannot call ${A} due to unbound types`,b)}var E=v.registeredClass.instancePrototype,S=E[t];return S===void 0||S.overloadTable===void 0&&S.className!==v.name&&S.argCount===n-2?(L.argCount=n-2,L.className=v.name,E[t]=L):(ensureOverloadTable(E,t,A),E[t].overloadTable[n-2]=L),whenDependentTypesAreResolved([],b,w=>{var T=craftInvokerFunction(A,w,v,u,d,h);return E[t].overloadTable===void 0?(T.argCount=n-2,E[t]=T):E[t].overloadTable[n-2]=T,[]}),[]})};__embind_register_class_function.sig="vppippppiii";var __embind_register_class_property=function(e,t,n,o,c,u,d,p,h,y){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,y>>>=0,t=AsciiToString(t),c=embind__requireFunction(o,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 h?A.set=()=>throwUnboundTypeError(`Cannot access ${v} due to unbound types`,[n,d]):A.set=L=>throwBindingError(v+" is a read-only property"),Object.defineProperty(b.registeredClass.instancePrototype,t,A),whenDependentTypesAreResolved([],h?[n,d]:[n],L=>{var E=L[0],S={get(){var T=validateThis(this,b,v+" getter");return E.fromWireType(c(u,T))},enumerable:!0};if(h){h=embind__requireFunction(p,h);var w=L[1];S.set=function(T){var F=validateThis(this,b,v+" setter"),P=[];h(y,F,w.toWireType(P,T)),runDestructors(P)}}return Object.defineProperty(b.registeredClass.instancePrototype,t,S),[]}),[]})};__embind_register_class_property.sig="vpppppppppp";var __embind_register_class_class_function=function(e,t,n,o,c,u,d,p,h){e>>>=0,t>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0;var y=heap32VectorToArray(n,o);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 L=b.registeredClass.constructor;return L[t]===void 0?(A.argCount=n-1,L[t]=A):(ensureOverloadTable(L,t,v),L[t].overloadTable[n-1]=A),whenDependentTypesAreResolved([],y,E=>{var S=[E[0],null].concat(E.slice(1)),w=craftInvokerFunction(v,S,null,u,d,p);if(L[t].overloadTable===void 0?(w.argCount=n-1,L[t]=w):L[t].overloadTable[n-1]=w,b.registeredClass.__derivedClasses)for(let T of b.registeredClass.__derivedClasses)T.constructor.hasOwnProperty(t)||(T.constructor[t]=w);return[]}),[]})};__embind_register_class_class_function.sig="vppippppii";var __embind_register_class_class_property=function(e,t,n,o,c,u,d,p){e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,t=AsciiToString(t),u=embind__requireFunction(c,u),whenDependentTypesAreResolved([],[e],h=>{h=h[0];var y=`${h.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(h.registeredClass.constructor,t,b),whenDependentTypesAreResolved([],[n],v=>{v=v[0];var A={get(){return v.fromWireType(u(o))},enumerable:!0};return p&&(p=embind__requireFunction(d,p),A.set=L=>{var E=[];p(o,v.toWireType(E,L)),runDestructors(E)}),Object.defineProperty(h.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 o=t.registeredClass,c=o.instancePrototype,u=o.baseClass,d=u.instancePrototype,p=o.baseClass.constructor,h=createNamedFunction(e,function(...y){for(var b of o.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(o,A.ptr,this)},c.__destruct=function(){this===c&&throwBindingError('Pass correct "this" to __destruct'),detachFinalizer(this),unregisterInheritedInstance(o,this.$$.ptr)},h.prototype=Object.create(c),Object.assign(h.prototype,n),Emval.toHandle(h)}__embind_create_inheriting_constructor.sig="pppp";var __embind_register_smart_ptr=function(e,t,n,o,c,u,d,p,h,y,b,v){e>>>=0,t>>>=0,n>>>=0,c>>>=0,u>>>=0,d>>>=0,p>>>=0,h>>>=0,y>>>=0,b>>>=0,v>>>=0,n=AsciiToString(n),u=embind__requireFunction(c,u),p=embind__requireFunction(d,p),y=embind__requireFunction(h,y),v=embind__requireFunction(b,v),whenDependentTypesAreResolved([e],[t],A=>{A=A[0];var L=new RegisteredPointer(n,A.registeredClass,!1,!1,!0,A,o,u,p,y,v);return[L]})};__embind_register_smart_ptr.sig="vpppipppppppp";function __embind_register_enum(e,t,n,o,c){e>>>=0,t>>>=0,n>>>=0,t=AsciiToString(t);let u=getEnumValueType(c);switch(u){case"object":{let 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,o),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,o),destructorFunction:null}),exposePublicSymbol(t,d),delete Module[t].argCount;break}case"string":{var p={},h={},d={};registerType(e,{name:t,valuesMap:p,reverseMap:h,keysMap:d,valueType:u,fromWireType:function(v){return this.reverseMap[v]},toWireType:function(v,A){return this.valuesMap[A]},readValueFromPointer:enumReadValueFromPointer(t,n,o),destructorFunction:null}),exposePublicSymbol(t,d),delete Module[t].argCount;break}}}__embind_register_enum.sig="vpppii";function __embind_register_enum_value(e,t,n){e>>>=0,t>>>=0;var o=requireRegisteredType(e,"enum");switch(t=AsciiToString(t),o.valueType){case"object":{var c=o.constructor,u=Object.create(o.constructor.prototype,{value:{value:n},constructor:{value:createNamedFunction(`${o.name}_${t}`,function(){})}});c.values[n]=u,c[t]=u;break}case"number":{o.keysMap[t]=n;break}case"string":{o.valuesMap[t]=n,o.reverseMap[n]=t,o.keysMap[t]=t;break}}}__embind_register_enum_value.sig="vppi";var __embind_register_constant=function(e,t,n){e>>>=0,t>>>=0,e=AsciiToString(e),whenDependentTypesAreResolved([],[t],o=>(o=o[0],Module[e]=o.fromWireType(n),[]))};__embind_register_constant.sig="vppd";var count_emval_handles=()=>emval_handles.length/2-5-emval_freelist.length;function __emval_register_symbol(e){e>>>=0,emval_symbols[e]=AsciiToString(e)}__emval_register_symbol.sig="vp";function __emval_new_array(){return Emval.toHandle([])}__emval_new_array.sig="p";function __emval_new_array_from_memory_view(e){e>>>=0,e=Emval.toValue(e);for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=e[n];return Emval.toHandle(t)}__emval_new_array_from_memory_view.sig="pp";function __emval_array_to_memory_view(e,t){e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e.set(t)}__emval_array_to_memory_view.sig="vpp";function __emval_new_object(){return Emval.toHandle({})}__emval_new_object.sig="p";function __emval_new_cstring(e){return e>>>=0,Emval.toHandle(getStringOrSymbol(e))}__emval_new_cstring.sig="pp";function __emval_new_u8string(e){return e>>>=0,Emval.toHandle(UTF8ToString(e))}__emval_new_u8string.sig="pp";function __emval_new_u16string(e){return e>>>=0,Emval.toHandle(UTF16ToString(e))}__emval_new_u16string.sig="pp";function __emval_get_module_property(e){return e>>>=0,e=getStringOrSymbol(e),Emval.toHandle(Module[e])}__emval_get_module_property.sig="pp";function __emval_get_property(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),Emval.toHandle(e[t])}__emval_get_property.sig="ppp";function __emval_set_property(e,t,n){e>>>=0,t>>>=0,n>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),n=Emval.toValue(n),e[t]=n}__emval_set_property.sig="vppp";function __emval_equals(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e==t}__emval_equals.sig="ipp";function __emval_strictly_equals(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e===t}__emval_strictly_equals.sig="ipp";function __emval_greater_than(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e>t}__emval_greater_than.sig="ipp";function __emval_less_than(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e<t}__emval_less_than.sig="ipp";function __emval_not(e){return e>>>=0,e=Emval.toValue(e),!e}__emval_not.sig="ip";function __emval_invoke_i64(e,t,n,o,c){return e>>>=0,t>>>=0,n>>>=0,o>>>=0,c>>>=0,__emval_invoke(e,t,n,o,c)}__emval_invoke_i64.sig="jppppp";function __emval_typeof(e){return e>>>=0,e=Emval.toValue(e),Emval.toHandle(typeof e)}__emval_typeof.sig="pp";function __emval_instanceof(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e instanceof t}__emval_instanceof.sig="ipp";function __emval_is_number(e){return e>>>=0,e=Emval.toValue(e),typeof e=="number"}__emval_is_number.sig="ip";function __emval_is_string(e){return e>>>=0,e=Emval.toValue(e),typeof e=="string"}__emval_is_string.sig="ip";function __emval_in(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),e in t}__emval_in.sig="ipp";function __emval_delete(e,t){return e>>>=0,t>>>=0,e=Emval.toValue(e),t=Emval.toValue(t),delete e[t]}__emval_delete.sig="ipp";function __emval_throw(e){throw e>>>=0,e=Emval.toValue(e),isCppExceptionObject(e)&&(incrementUncaughtExceptionCount(),incrementExceptionRefcount(e)),e}__emval_throw.sig="ip";function __emval_iter_begin(e){return e>>>=0,e=Emval.toValue(e),Emval.toHandle(e[Symbol.iterator]())}__emval_iter_begin.sig="pp";function __emval_iter_next(e){e>>>=0,e=Emval.toValue(e);var t=e.next();return t.done?0:Emval.toHandle(t.value)}__emval_iter_next.sig="pp";var __emval_coro_suspend=function(e,t){e>>>=0,t>>>=0,Emval.toValue(e).then(n=>__emval_coro_resume(t,Emval.toHandle(n)),n=>__emval_coro_reject(t,Emval.toHandle(n)))};__emval_coro_suspend.sig="vpp";var __emval_coro_make_promise=function(e,t){return e>>>=0,t>>>=0,Emval.toHandle(new Promise((n,o)=>{HEAPU32[e>>>2>>>0]=Emval.toHandle(n),HEAPU32[t>>>2>>>0]=Emval.toHandle(o)}))};__emval_coro_make_promise.sig="ppp";function __emval_from_current_cxa_exception(){try{___cxa_rethrow()}catch(t){decrementUncaughtExceptionCount();var e=Emval.toHandle(t);return emval_exception_decrefs[e]=decrementExceptionRefcount,e}}__emval_from_current_cxa_exception.sig="p";function _duckdb_web_fs_file_sync(e){try{return globalThis.DUCKDB_RUNTIME.syncFile(Module,e)}catch(t){if(typeof WebAssembly<"u"&&t instanceof WebAssembly.Exception)throw t;Module.ccall("duckdb_web_fail_with",null,["string"],[String(t&&t.message||t)])}}_duckdb_web_fs_file_sync.sig="vi";function _duckdb_web_fs_file_get_last_modified_time(e){try{return globalThis.DUCKDB_RUNTIME.getLastFileModificationTime(Module,e)}catch(t){if(typeof WebAssembly<"u"&&t instanceof WebAssembly.Exception)throw t;Module.ccall("duckdb_web_fail_with",null,["string"],[String(t&&t.message||t)])}}_duckdb_web_fs_file_get_last_modified_time.sig="di",registerWasmPlugin(),FS.createPreloadedFile=FS_createPreloadedFile,FS.preloadFile=FS_preloadFile,FS.staticInit(),Module.requestAnimationFrame=MainLoop.requestAnimationFrame,Module.pauseMainLoop=MainLoop.pause,Module.resumeMainLoop=MainLoop.resume,MainLoop.init();for(let e=0;e<32;++e)tempFixedLengthArray.push(new Array(e));for(var miniTempWebGLFloatBuffersStorage=new Float32Array(288),i=0;i<=288;++i)miniTempWebGLFloatBuffers[i]=miniTempWebGLFloatBuffersStorage.subarray(0,i);for(var miniTempWebGLIntBuffersStorage=new Int32Array(288),i=0;i<=288;++i)miniTempWebGLIntBuffers[i]=miniTempWebGLIntBuffersStorage.subarray(0,i);if(globalThis.setImmediate)emSetImmediate=setImmediateWrapped,emClearImmediate=clearImmediateWrapped;else if(globalThis.addEventListener){var __setImmediate_id_counter=0,__setImmediate_queue=[],__setImmediate_message_id="_si",__setImmediate_cb=e=>{var t;e.data===__setImmediate_message_id&&(e.stopPropagation(),(t=__setImmediate_queue.shift())==null||t(),++__setImmediate_id_counter)};addEventListener("message",__setImmediate_cb,!0),emSetImmediate=e=>(postMessage(__setImmediate_message_id,"*"),__setImmediate_id_counter+__setImmediate_queue.push(e)-1),emClearImmediate=e=>{var t=e-__setImmediate_id_counter;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();{Module.noExitRuntime&&(noExitRuntime=Module.noExitRuntime),Module.print&&(out=Module.print),Module.printErr&&(err=Module.printErr),Module.dynamicLibraries&&(dynamicLibraries=Module.dynamicLibraries),Module.arguments&&(programArgs=Module.arguments),Module.thisProgram&&(thisProgram=Module.thisProgram);var preInit=Module.preInit;if(preInit)for(typeof preInit=="function"&&(Module.preInit=preInit=[preInit]);preInit.length>0;)preInit.shift()()}Module.stackSave=stackSave,Module.stackRestore=stackRestore,Module.stackAlloc=stackAlloc,Module.ccall=ccall,Module.stringToUTF8=stringToUTF8,Module.lengthBytesUTF8=lengthBytesUTF8,Module.stackAlloc=stackAlloc,Module.lengthBytesUTF8=lengthBytesUTF8,Module.stringToUTF8=stringToUTF8,Module._setTempRet0=_setTempRet0,Module._getTempRet0=_getTempRet0,Module._sched_yield=_sched_yield,Module._emscripten_wget=_emscripten_wget;var ASM_CONSTS={2426812:(e,t)=>{var n=UTF8ToString(e),o;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))";o=Bn("node:child_process").execFileSync(process.execPath,["-e",c,n],{maxBuffer:1073741824,stdio:["ignore","pipe","ignore"]})}else o=Bn("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;o=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;o=new Uint8Array(d.length);for(var p=0;p<d.length;p++)o[p]=d.charCodeAt(p)&255}}catch{return 0}var h=_malloc(o.byteLength)>>>0;return HEAPU8.set(o,h>>>0),HEAPU32[t>>>2>>>0]=o.byteLength,h},2428044:(e,t,n)=>{FS.writeFile(UTF8ToString(e),HEAPU8.subarray(t>>>0,t+n>>>0))},2428110:e=>{FS.unlink(UTF8ToString(e))},2428143:(e,t,n,o)=>{var c=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let u=new XMLHttpRequest;u.open(UTF8ToString(o),c,!1),u.responseType="arraybuffer";for(var d=0,v=t;d<v*2;){var p=HEAP32[n/4+d>>>0],h=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(h)):u.setRequestHeader(y,encodeURI(UTF8ToString(h))))}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),L=new Uint8Array(b),E=0;E<v;E++)Module.HEAPU8[E+A+8]=L[E];var S=new Uint8Array(4);S[0]=v%256,v-=S[0],v/=256,S[1]=v%256,v-=S[1],v/=256,S[2]=v%256,v-=S[2],v/=256,S[3]=v%256,v-=S[3],v/=256,Module.HEAPU8.set(S,A+4);var w=Uint8Array.from(Array.from(u.getAllResponseHeaders()).map(I=>I.charCodeAt(0)));v=w.byteLength;for(var T=_malloc(v+8),E=0;E<v;E++)Module.HEAPU8[E+T+8]=w[E];S=new Uint8Array(4),S[0]=v%256,v-=S[0],v/=256,S[1]=v%256,v-=S[1],v/=256,S[2]=v%256,v-=S[2],v/=256,S[3]=v%256,v-=S[3],v/=256,Module.HEAPU8.set(S,T+4);var F=u.status,P=new Uint8Array(4);return P[0]=F%256,F-=P[0],F/=256,P[1]=F%256,F-=P[1],F/=256,P[2]=F%256,F-=P[2],F/=256,P[3]=F%256,Module.HEAPU8.set(P,T+0),v=T,S=new Uint8Array(4),S[0]=v%256,v-=S[0],v/=256,S[1]=v%256,v-=S[1],v/=256,S[2]=v%256,v-=S[2],v/=256,S[3]=v%256,v-=S[3],v/=256,Module.HEAPU8.set(S,A),A},2430795:(e,t,n,o,c,u)=>{var d=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let p=new XMLHttpRequest;p.open(UTF8ToString(o),d,!1),p.responseType="arraybuffer";for(var h=0,F=t,y=!1;h<F*2;){var b=HEAP32[n/4+h>>>0],v=HEAP32[n/4+h+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(M){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",M)}h+=2}if(!y)try{p.setRequestHeader("Content-Type","application/octet-stream")}catch{}try{for(var L=new Uint8Array(u),E=0;E<u;E++)L[E]=Module.HEAPU8[E+c];p.send(L)}catch{return 0}if(p.status===0)return 0;var S;if(p.status>=400){var w=p.response;S=w?new Uint8Array(w):new Uint8Array(0)}else{var T=p.getResponseHeader("Etag");S=T?Uint8Array.from(Array.from(T).map(M=>M.charCodeAt(0))):new Uint8Array(0)}for(var F=S.byteLength,P=_malloc(F+8),I=new Uint8Array(S),E=0;E<F;E++)Module.HEAPU8[E+P+8]=I[E];var B=new Uint8Array(4);B[0]=F%256,F-=B[0],F/=256,B[1]=F%256,F-=B[1],F/=256,B[2]=F%256,F-=B[2],F/=256,B[3]=F%256,F-=B[3],F/=256,Module.HEAPU8.set(B,P+4);var C=p.status,x=new Uint8Array(4);return x[0]=C%256,C-=x[0],C/=256,x[1]=C%256,C-=x[1],C/=256,x[2]=C%256,C-=x[2],C/=256,x[3]=C%256,Module.HEAPU8.set(x,P+0),P},2433114:(e,t,n,o)=>{var c=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let u=new XMLHttpRequest;u.open(UTF8ToString(o),c,!1),u.responseType="arraybuffer";for(var d=0,v=t;d<v*2;){var p=HEAP32[n/4+d>>>0],h=HEAP32[n/4+d+1>>>0];console.log("HEAD",UTF8ToString(p),UTF8ToString(h));try{var y=encodeURI(UTF8ToString(p));y==="Host"&&(y="X-Host-Override"),y==="User-Agent"||(y.toLowerCase()==="authorization"?u.setRequestHeader(y,UTF8ToString(h)):u.setRequestHeader(y,encodeURI(UTF8ToString(h))))}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),L=new Uint8Array(b),E=0;E<v;E++)Module.HEAPU8[E+A+8]=L[E];var S=new Uint8Array(4);S[0]=v%256,v-=S[0],v/=256,S[1]=v%256,v-=S[1],v/=256,S[2]=v%256,v-=S[2],v/=256,S[3]=v%256,v-=S[3],v/=256,Module.HEAPU8.set(S,A+4);var w=Uint8Array.from(Array.from(u.getAllResponseHeaders()).map(I=>I.charCodeAt(0)));v=w.byteLength;for(var T=_malloc(v+8),E=0;E<v;E++)Module.HEAPU8[E+T+8]=w[E];S=new Uint8Array(4),S[0]=v%256,v-=S[0],v/=256,S[1]=v%256,v-=S[1],v/=256,S[2]=v%256,v-=S[2],v/=256,S[3]=v%256,v-=S[3],v/=256,Module.HEAPU8.set(S,T+4);var F=u.status,P=new Uint8Array(4);return P[0]=F%256,F-=P[0],F/=256,P[1]=F%256,F-=P[1],F/=256,P[2]=F%256,F-=P[2],F/=256,P[3]=F%256,Module.HEAPU8.set(P,T+0),v=T,S=new Uint8Array(4),S[0]=v%256,v-=S[0],v/=256,S[1]=v%256,v-=S[1],v/=256,S[2]=v%256,v-=S[2],v/=256,S[3]=v%256,v-=S[3],v/=256,Module.HEAPU8.set(S,A),A},2435827:(e,t,n,o)=>{var c=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let u=new XMLHttpRequest;u.open(UTF8ToString(o),c,!1),u.responseType="arraybuffer";for(var d=0,v=t;d<v*2;){var p=HEAP32[n/4+d>>>0],h=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(h)):u.setRequestHeader(y,encodeURI(UTF8ToString(h))))}catch(F){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",F)}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),L=new Uint8Array(b),E=0;E<v;E++)Module.HEAPU8[E+A+8]=L[E];var S=new Uint8Array(4);S[0]=v%256,v-=S[0],v/=256,S[1]=v%256,v-=S[1],v/=256,S[2]=v%256,v-=S[2],v/=256,S[3]=v%256,v-=S[3],v/=256,Module.HEAPU8.set(S,A+4);var w=u.status,T=new Uint8Array(4);return T[0]=w%256,w-=T[0],w/=256,T[1]=w%256,w-=T[1],w/=256,T[2]=w%256,w-=T[2],w/=256,T[3]=w%256,Module.HEAPU8.set(T,A+0),A},2437603:(e,t,n,o,c,u)=>{var d=UTF8ToString(e);if(typeof XMLHttpRequest>"u")return 0;let p=new XMLHttpRequest;p.open(UTF8ToString(o),d,!1),p.responseType="arraybuffer";for(var h=0,S=t;h<S*2;){var y=HEAP32[n/4+h>>>0],b=HEAP32[n/4+h+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(B){console.warn("Error while performing XMLHttpRequest.setRequestHeader()",B)}h+=2}try{for(var A=new Uint8Array(u),L=0;L<u;L++)A[L]=Module.HEAPU8[L+c];p.send(A)}catch{return 0}if(p.status===0)return 0;var E=p.response;E||(E=new ArrayBuffer(0));for(var S=E.byteLength,w=_malloc(S+8),T=new Uint8Array(E),L=0;L<S;L++)Module.HEAPU8[L+w+8]=T[L];var F=new Uint8Array(4);F[0]=S%256,S-=F[0],S/=256,F[1]=S%256,S-=F[1],S/=256,F[2]=S%256,S-=F[2],S/=256,F[3]=S%256,S-=F[3],S/=256,Module.HEAPU8.set(F,w+4);var P=p.status,I=new Uint8Array(4);return I[0]=P%256,P-=I[0],P/=256,I[1]=P%256,P-=I[1],P/=256,I[2]=P%256,P-=I[2],P/=256,I[3]=P%256,Module.HEAPU8.set(I,w+0),w},2439510:e=>{if(!e)return AL.alcErr=40964,1},2439558:e=>{if(!AL.currentCtx)return err("alGetProcAddress() called without a valid context"),1;if(!e)return AL.currentCtx.err=40963,1}},___getTypeName,__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,___dl_seterr,__emscripten_find_dylib,_memcpy,_fileno,_htonl,_htons,_memcmp,_ntohs,__emscripten_timeout,_strerror,_malloc,_free,_calloc,_realloc,_emscripten_builtin_memalign,_emscripten_get_sbrk_ptr,___trap,__emscripten_tempret_set,__emscripten_tempret_get,__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,memory,___stack_pointer,__indirect_function_table,___cpp_exception,___heap_base,wasmTable,wasmMemory,incrementUncaughtExceptionCount,decrementUncaughtExceptionCount;function assignWasmExports(e){___getTypeName=e.__getTypeName,__emval_coro_resume=e._emval_coro_resume,__emval_coro_reject=e._emval_coro_reject,_main=Module._main=e.main,_duckdb_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,___dl_seterr=e.__dl_seterr,__emscripten_find_dylib=e._emscripten_find_dylib,_memcpy=e.memcpy,_fileno=e.fileno,_htonl=e.htonl,_htons=e.htons,_memcmp=e.memcmp,_ntohs=e.ntohs,__emscripten_timeout=e._emscripten_timeout,_strerror=e.strerror,_malloc=Module._malloc=e.malloc,_free=Module._free=e.free,_calloc=Module._calloc=e.calloc,_realloc=e.realloc,_emscripten_builtin_memalign=e.emscripten_builtin_memalign,_emscripten_get_sbrk_ptr=e.emscripten_get_sbrk_ptr,___trap=e.__trap,__emscripten_tempret_set=e._emscripten_tempret_set,__emscripten_tempret_get=e._emscripten_tempret_get,__emscripten_stack_restore=e._emscripten_stack_restore,__emscripten_stack_alloc=e._emscripten_stack_alloc,_emscripten_stack_get_current=e.emscripten_stack_get_current,___cxa_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,memory=wasmMemory=Module.wasmMemory=e.memory,___stack_pointer=e.__stack_pointer,__indirect_function_table=wasmTable=e.__indirect_function_table,___cpp_exception=e.__cpp_exception,___heap_base=e.__heap_base.value>>>0}var wasmImports={IMG_Init:_IMG_Init,IMG_Load:_IMG_Load,IMG_Load_RW:_IMG_Load_RW,IMG_Quit:_IMG_Quit,Mix_AllocateChannels:_Mix_AllocateChannels,Mix_ChannelFinished:_Mix_ChannelFinished,Mix_CloseAudio:_Mix_CloseAudio,Mix_FadeInChannelTimed:_Mix_FadeInChannelTimed,Mix_FadeInMusicPos:_Mix_FadeInMusicPos,Mix_FadeOutChannel:_Mix_FadeOutChannel,Mix_FadeOutMusic:_Mix_FadeOutMusic,Mix_FadingChannel:_Mix_FadingChannel,Mix_FreeChunk:_Mix_FreeChunk,Mix_FreeMusic:_Mix_FreeMusic,Mix_HaltChannel:_Mix_HaltChannel,Mix_HaltMusic:_Mix_HaltMusic,Mix_HookMusicFinished:_Mix_HookMusicFinished,Mix_Init:_Mix_Init,Mix_Linked_Version:_Mix_Linked_Version,Mix_LoadMUS:_Mix_LoadMUS,Mix_LoadMUS_RW:_Mix_LoadMUS_RW,Mix_LoadWAV:_Mix_LoadWAV,Mix_LoadWAV_RW:_Mix_LoadWAV_RW,Mix_OpenAudio:_Mix_OpenAudio,Mix_Pause:_Mix_Pause,Mix_PauseMusic:_Mix_PauseMusic,Mix_Paused:_Mix_Paused,Mix_PausedMusic:_Mix_PausedMusic,Mix_PlayChannelTimed:_Mix_PlayChannelTimed,Mix_PlayMusic:_Mix_PlayMusic,Mix_Playing:_Mix_Playing,Mix_PlayingMusic:_Mix_PlayingMusic,Mix_QuerySpec:_Mix_QuerySpec,Mix_QuickLoad_RAW:_Mix_QuickLoad_RAW,Mix_Quit:_Mix_Quit,Mix_ReserveChannels:_Mix_ReserveChannels,Mix_Resume:_Mix_Resume,Mix_ResumeMusic:_Mix_ResumeMusic,Mix_SetPanning:_Mix_SetPanning,Mix_SetPosition:_Mix_SetPosition,Mix_SetPostMix:_Mix_SetPostMix,Mix_Volume:_Mix_Volume,Mix_VolumeChunk:_Mix_VolumeChunk,Mix_VolumeMusic:_Mix_VolumeMusic,SDL_AddTimer:_SDL_AddTimer,SDL_AllocRW:_SDL_AllocRW,SDL_AudioDriverName:_SDL_AudioDriverName,SDL_AudioQuit:_SDL_AudioQuit,SDL_ClearError:_SDL_ClearError,SDL_CloseAudio:_SDL_CloseAudio,SDL_CondBroadcast:_SDL_CondBroadcast,SDL_CondSignal:_SDL_CondSignal,SDL_CondWait:_SDL_CondWait,SDL_CondWaitTimeout:_SDL_CondWaitTimeout,SDL_ConvertSurface:_SDL_ConvertSurface,SDL_CreateCond:_SDL_CreateCond,SDL_CreateMutex:_SDL_CreateMutex,SDL_CreateRGBSurface:_SDL_CreateRGBSurface,SDL_CreateRGBSurfaceFrom:_SDL_CreateRGBSurfaceFrom,SDL_CreateThread:_SDL_CreateThread,SDL_Delay:_SDL_Delay,SDL_DestroyCond:_SDL_DestroyCond,SDL_DestroyMutex:_SDL_DestroyMutex,SDL_DestroyRenderer:_SDL_DestroyRenderer,SDL_DestroyWindow:_SDL_DestroyWindow,SDL_DisplayFormat:_SDL_DisplayFormat,SDL_DisplayFormatAlpha:_SDL_DisplayFormatAlpha,SDL_EnableKeyRepeat:_SDL_EnableKeyRepeat,SDL_EnableUNICODE:_SDL_EnableUNICODE,SDL_FillRect:_SDL_FillRect,SDL_Flip:_SDL_Flip,SDL_FreeRW:_SDL_FreeRW,SDL_FreeSurface:_SDL_FreeSurface,SDL_GL_DeleteContext:_SDL_GL_DeleteContext,SDL_GL_ExtensionSupported:_SDL_GL_ExtensionSupported,SDL_GL_GetAttribute:_SDL_GL_GetAttribute,SDL_GL_GetSwapInterval:_SDL_GL_GetSwapInterval,SDL_GL_MakeCurrent:_SDL_GL_MakeCurrent,SDL_GL_SetAttribute:_SDL_GL_SetAttribute,SDL_GL_SetSwapInterval:_SDL_GL_SetSwapInterval,SDL_GL_SwapBuffers:_SDL_GL_SwapBuffers,SDL_GL_SwapWindow:_SDL_GL_SwapWindow,SDL_GetAppState:_SDL_GetAppState,SDL_GetAudioDriver:_SDL_GetAudioDriver,SDL_GetClipRect:_SDL_GetClipRect,SDL_GetCurrentAudioDriver:_SDL_GetCurrentAudioDriver,SDL_GetError:_SDL_GetError,SDL_GetKeyName:_SDL_GetKeyName,SDL_GetKeyState:_SDL_GetKeyState,SDL_GetKeyboardState:_SDL_GetKeyboardState,SDL_GetModState:_SDL_GetModState,SDL_GetMouseState:_SDL_GetMouseState,SDL_GetNumAudioDrivers:_SDL_GetNumAudioDrivers,SDL_GetRGB:_SDL_GetRGB,SDL_GetRGBA:_SDL_GetRGBA,SDL_GetScancodeFromKey:_SDL_GetScancodeFromKey,SDL_GetThreadID:_SDL_GetThreadID,SDL_GetTicks:_SDL_GetTicks,SDL_GetVideoInfo:_SDL_GetVideoInfo,SDL_GetVideoSurface:_SDL_GetVideoSurface,SDL_GetWindowFlags:_SDL_GetWindowFlags,SDL_GetWindowSize:_SDL_GetWindowSize,SDL_Has3DNow:_SDL_Has3DNow,SDL_Has3DNowExt:_SDL_Has3DNowExt,SDL_HasAltiVec:_SDL_HasAltiVec,SDL_HasMMX:_SDL_HasMMX,SDL_HasMMXExt:_SDL_HasMMXExt,SDL_HasRDTSC:_SDL_HasRDTSC,SDL_HasSSE:_SDL_HasSSE,SDL_HasSSE2:_SDL_HasSSE2,SDL_Init:_SDL_Init,SDL_InitSubSystem:_SDL_InitSubSystem,SDL_JoystickClose:_SDL_JoystickClose,SDL_JoystickEventState:_SDL_JoystickEventState,SDL_JoystickGetAxis:_SDL_JoystickGetAxis,SDL_JoystickGetBall:_SDL_JoystickGetBall,SDL_JoystickGetButton:_SDL_JoystickGetButton,SDL_JoystickGetHat:_SDL_JoystickGetHat,SDL_JoystickIndex:_SDL_JoystickIndex,SDL_JoystickName:_SDL_JoystickName,SDL_JoystickNumAxes:_SDL_JoystickNumAxes,SDL_JoystickNumBalls:_SDL_JoystickNumBalls,SDL_JoystickNumButtons:_SDL_JoystickNumButtons,SDL_JoystickNumHats:_SDL_JoystickNumHats,SDL_JoystickOpen:_SDL_JoystickOpen,SDL_JoystickOpened:_SDL_JoystickOpened,SDL_JoystickUpdate:_SDL_JoystickUpdate,SDL_Linked_Version:_SDL_Linked_Version,SDL_ListModes:_SDL_ListModes,SDL_LoadBMP_RW:_SDL_LoadBMP_RW,SDL_LockAudio:_SDL_LockAudio,SDL_LockSurface:_SDL_LockSurface,SDL_LogSetOutputFunction:_SDL_LogSetOutputFunction,SDL_LowerBlit:_SDL_LowerBlit,SDL_LowerBlitScaled:_SDL_LowerBlitScaled,SDL_MapRGB:_SDL_MapRGB,SDL_MapRGBA:_SDL_MapRGBA,SDL_NumJoysticks:_SDL_NumJoysticks,SDL_OpenAudio:_SDL_OpenAudio,SDL_PauseAudio:_SDL_PauseAudio,SDL_PeepEvents:_SDL_PeepEvents,SDL_PollEvent:_SDL_PollEvent,SDL_PumpEvents:_SDL_PumpEvents,SDL_PushEvent:_SDL_PushEvent,SDL_Quit:_SDL_Quit,SDL_QuitSubSystem:_SDL_QuitSubSystem,SDL_RWFromConstMem:_SDL_RWFromConstMem,SDL_RWFromFile:_SDL_RWFromFile,SDL_RWFromMem:_SDL_RWFromMem,SDL_RemoveTimer:_SDL_RemoveTimer,SDL_SaveBMP_RW:_SDL_SaveBMP_RW,SDL_SetAlpha:_SDL_SetAlpha,SDL_SetClipRect:_SDL_SetClipRect,SDL_SetColorKey:_SDL_SetColorKey,SDL_SetColors:_SDL_SetColors,SDL_SetError:_SDL_SetError,SDL_SetGamma:_SDL_SetGamma,SDL_SetGammaRamp:_SDL_SetGammaRamp,SDL_SetPalette:_SDL_SetPalette,SDL_SetVideoMode:_SDL_SetVideoMode,SDL_SetWindowFullscreen:_SDL_SetWindowFullscreen,SDL_SetWindowTitle:_SDL_SetWindowTitle,SDL_ShowCursor:_SDL_ShowCursor,SDL_StartTextInput:_SDL_StartTextInput,SDL_StopTextInput:_SDL_StopTextInput,SDL_ThreadID:_SDL_ThreadID,SDL_UnlockAudio:_SDL_UnlockAudio,SDL_UnlockSurface:_SDL_UnlockSurface,SDL_UpdateRect:_SDL_UpdateRect,SDL_UpdateRects:_SDL_UpdateRects,SDL_UpperBlit:_SDL_UpperBlit,SDL_UpperBlitScaled:_SDL_UpperBlitScaled,SDL_VideoDriverName:_SDL_VideoDriverName,SDL_VideoModeOK:_SDL_VideoModeOK,SDL_VideoQuit:_SDL_VideoQuit,SDL_WM_GrabInput:_SDL_WM_GrabInput,SDL_WM_IconifyWindow:_SDL_WM_IconifyWindow,SDL_WM_SetCaption:_SDL_WM_SetCaption,SDL_WM_SetIcon:_SDL_WM_SetIcon,SDL_WM_ToggleFullScreen:_SDL_WM_ToggleFullScreen,SDL_WaitThread:_SDL_WaitThread,SDL_WarpMouse:_SDL_WarpMouse,SDL_WasInit:_SDL_WasInit,SDL_mutexP:_SDL_mutexP,SDL_mutexV:_SDL_mutexV,TTF_CloseFont:_TTF_CloseFont,TTF_FontAscent:_TTF_FontAscent,TTF_FontDescent:_TTF_FontDescent,TTF_FontHeight:_TTF_FontHeight,TTF_FontLineSkip:_TTF_FontLineSkip,TTF_GlyphMetrics:_TTF_GlyphMetrics,TTF_Init:_TTF_Init,TTF_OpenFont:_TTF_OpenFont,TTF_Quit:_TTF_Quit,TTF_RenderText_Blended:_TTF_RenderText_Blended,TTF_RenderText_Shaded:_TTF_RenderText_Shaded,TTF_RenderText_Solid:_TTF_RenderText_Solid,TTF_RenderUTF8_Solid:_TTF_RenderUTF8_Solid,TTF_SizeText:_TTF_SizeText,TTF_SizeUTF8:_TTF_SizeUTF8,XChangeWindowAttributes:_XChangeWindowAttributes,XCreateWindow:_XCreateWindow,XInternAtom:_XInternAtom,XMapWindow:_XMapWindow,XOpenDisplay:_XOpenDisplay,XPending:_XPending,XSendEvent:_XSendEvent,XSetWMHints:_XSetWMHints,XStoreName:_XStoreName,__asctime_r:___asctime_r,__assert_fail:___assert_fail,__call_sighandler:___call_sighandler,__syscall_accept4:___syscall_accept4,__syscall_bind:___syscall_bind,__syscall_chdir:___syscall_chdir,__syscall_chmod:___syscall_chmod,__syscall_connect:___syscall_connect,__syscall_dup:___syscall_dup,__syscall_dup3:___syscall_dup3,__syscall_epoll_create1:___syscall_epoll_create1,__syscall_epoll_ctl:___syscall_epoll_ctl,__syscall_epoll_pwait:___syscall_epoll_pwait,__syscall_epoll_pwait_nonblocking:___syscall_epoll_pwait_nonblocking,__syscall_faccessat:___syscall_faccessat,__syscall_fadvise64:___syscall_fadvise64,__syscall_fallocate:___syscall_fallocate,__syscall_fchdir:___syscall_fchdir,__syscall_fchmod:___syscall_fchmod,__syscall_fchmodat2:___syscall_fchmodat2,__syscall_fchown32:___syscall_fchown32,__syscall_fchownat:___syscall_fchownat,__syscall_fcntl64:___syscall_fcntl64,__syscall_fdatasync:___syscall_fdatasync,__syscall_fstat64:___syscall_fstat64,__syscall_fstatfs64:___syscall_fstatfs64,__syscall_ftruncate64:___syscall_ftruncate64,__syscall_getcwd:___syscall_getcwd,__syscall_getdents64:___syscall_getdents64,__syscall_getegid32:___syscall_getegid32,__syscall_geteuid32:___syscall_geteuid32,__syscall_getgid32:___syscall_getgid32,__syscall_getpeername:___syscall_getpeername,__syscall_getsockname:___syscall_getsockname,__syscall_getsockopt:___syscall_getsockopt,__syscall_getuid32:___syscall_getuid32,__syscall_ioctl:___syscall_ioctl,__syscall_linkat:___syscall_linkat,__syscall_listen:___syscall_listen,__syscall_lstat64:___syscall_lstat64,__syscall_mkdirat:___syscall_mkdirat,__syscall_mknodat:___syscall_mknodat,__syscall_newfstatat:___syscall_newfstatat,__syscall_openat:___syscall_openat,__syscall_pipe2:___syscall_pipe2,__syscall_poll:___syscall_poll,__syscall_poll_nonblocking:___syscall_poll_nonblocking,__syscall_readlinkat:___syscall_readlinkat,__syscall_recvfrom:___syscall_recvfrom,__syscall_recvmsg:___syscall_recvmsg,__syscall_renameat:___syscall_renameat,__syscall_rmdir:___syscall_rmdir,__syscall_sendmsg:___syscall_sendmsg,__syscall_sendto:___syscall_sendto,__syscall_setsockopt:___syscall_setsockopt,__syscall_shutdown:___syscall_shutdown,__syscall_socket:___syscall_socket,__syscall_stat64:___syscall_stat64,__syscall_statfs64:___syscall_statfs64,__syscall_symlinkat:___syscall_symlinkat,__syscall_truncate64:___syscall_truncate64,__syscall_umask:___syscall_umask,__syscall_unlinkat:___syscall_unlinkat,__syscall_utimensat:___syscall_utimensat,_abort_js:__abort_js,_dlopen_js:__dlopen_js,_dlsym_catchup_js:__dlsym_catchup_js,_dlsym_js:__dlsym_js,_embind_create_inheriting_constructor:__embind_create_inheriting_constructor,_embind_finalize_value_array:__embind_finalize_value_array,_embind_finalize_value_object:__embind_finalize_value_object,_embind_register_bigint:__embind_register_bigint,_embind_register_bool:__embind_register_bool,_embind_register_class:__embind_register_class,_embind_register_class_class_function:__embind_register_class_class_function,_embind_register_class_class_property:__embind_register_class_class_property,_embind_register_class_constructor:__embind_register_class_constructor,_embind_register_class_function:__embind_register_class_function,_embind_register_class_property:__embind_register_class_property,_embind_register_constant:__embind_register_constant,_embind_register_emval:__embind_register_emval,_embind_register_enum:__embind_register_enum,_embind_register_enum_value:__embind_register_enum_value,_embind_register_float:__embind_register_float,_embind_register_function:__embind_register_function,_embind_register_integer:__embind_register_integer,_embind_register_iterable:__embind_register_iterable,_embind_register_memory_view:__embind_register_memory_view,_embind_register_optional:__embind_register_optional,_embind_register_smart_ptr:__embind_register_smart_ptr,_embind_register_std_string:__embind_register_std_string,_embind_register_std_wstring:__embind_register_std_wstring,_embind_register_user_type:__embind_register_user_type,_embind_register_user_type_definition:__embind_register_user_type_definition,_embind_register_value_array:__embind_register_value_array,_embind_register_value_array_element:__embind_register_value_array_element,_embind_register_value_object:__embind_register_value_object,_embind_register_value_object_field:__embind_register_value_object_field,_embind_register_void:__embind_register_void,_emscripten_dlopen_js:__emscripten_dlopen_js,_emscripten_fs_load_embedded_files:__emscripten_fs_load_embedded_files,_emscripten_get_last_devicemotion_event:__emscripten_get_last_devicemotion_event,_emscripten_get_last_deviceorientation_event:__emscripten_get_last_deviceorientation_event,_emscripten_get_last_mouse_event:__emscripten_get_last_mouse_event,_emscripten_get_now_is_monotonic:__emscripten_get_now_is_monotonic,_emscripten_get_progname:__emscripten_get_progname,_emscripten_log_formatted:__emscripten_log_formatted,_emscripten_lookup_name:__emscripten_lookup_name,_emscripten_push_main_loop_blocker:__emscripten_push_main_loop_blocker,_emscripten_push_uncounted_main_loop_blocker:__emscripten_push_uncounted_main_loop_blocker,_emscripten_runtime_keepalive_clear:__emscripten_runtime_keepalive_clear,_emscripten_system:__emscripten_system,_emval_array_to_memory_view:__emval_array_to_memory_view,_emval_coro_make_promise:__emval_coro_make_promise,_emval_coro_suspend:__emval_coro_suspend,_emval_create_invoker:__emval_create_invoker,_emval_decref:__emval_decref,_emval_delete:__emval_delete,_emval_equals:__emval_equals,_emval_from_current_cxa_exception:__emval_from_current_cxa_exception,_emval_get_global:__emval_get_global,_emval_get_module_property:__emval_get_module_property,_emval_get_property:__emval_get_property,_emval_greater_than:__emval_greater_than,_emval_in:__emval_in,_emval_incref:__emval_incref,_emval_instanceof:__emval_instanceof,_emval_invoke:__emval_invoke,_emval_invoke_i64:__emval_invoke_i64,_emval_is_catchable_cpp_exception_object:__emval_is_catchable_cpp_exception_object,_emval_is_number:__emval_is_number,_emval_is_string:__emval_is_string,_emval_iter_begin:__emval_iter_begin,_emval_iter_next:__emval_iter_next,_emval_less_than:__emval_less_than,_emval_new_array:__emval_new_array,_emval_new_array_from_memory_view:__emval_new_array_from_memory_view,_emval_new_cstring:__emval_new_cstring,_emval_new_object:__emval_new_object,_emval_new_u16string:__emval_new_u16string,_emval_new_u8string:__emval_new_u8string,_emval_not:__emval_not,_emval_register_symbol:__emval_register_symbol,_emval_run_destructors:__emval_run_destructors,_emval_set_property:__emval_set_property,_emval_strictly_equals:__emval_strictly_equals,_emval_throw:__emval_throw,_emval_typeof:__emval_typeof,_glGetActiveAttribOrUniform:__glGetActiveAttribOrUniform,_gmtime_js:__gmtime_js,_localtime_js:__localtime_js,_mktime_js:__mktime_js,_mmap_js:__mmap_js,_msync_js:__msync_js,_munmap_js:__munmap_js,_setitimer_js:__setitimer_js,_timegm_js:__timegm_js,_tzset_js:__tzset_js,alBuffer3f:_alBuffer3f,alBuffer3i:_alBuffer3i,alBufferData:_alBufferData,alBufferf:_alBufferf,alBufferfv:_alBufferfv,alBufferi:_alBufferi,alBufferiv:_alBufferiv,alDeleteBuffers:_alDeleteBuffers,alDeleteSources:_alDeleteSources,alDisable:_alDisable,alDistanceModel:_alDistanceModel,alDopplerFactor:_alDopplerFactor,alDopplerVelocity:_alDopplerVelocity,alEnable:_alEnable,alGenBuffers:_alGenBuffers,alGenSources:_alGenSources,alGetBoolean:_alGetBoolean,alGetBooleanv:_alGetBooleanv,alGetBuffer3f:_alGetBuffer3f,alGetBuffer3i:_alGetBuffer3i,alGetBufferf:_alGetBufferf,alGetBufferfv:_alGetBufferfv,alGetBufferi:_alGetBufferi,alGetBufferiv:_alGetBufferiv,alGetDouble:_alGetDouble,alGetDoublev:_alGetDoublev,alGetEnumValue:_alGetEnumValue,alGetError:_alGetError,alGetFloat:_alGetFloat,alGetFloatv:_alGetFloatv,alGetInteger:_alGetInteger,alGetIntegerv:_alGetIntegerv,alGetListener3f:_alGetListener3f,alGetListener3i:_alGetListener3i,alGetListenerf:_alGetListenerf,alGetListenerfv:_alGetListenerfv,alGetListeneri:_alGetListeneri,alGetListeneriv:_alGetListeneriv,alGetSource3f:_alGetSource3f,alGetSource3i:_alGetSource3i,alGetSourcef:_alGetSourcef,alGetSourcefv:_alGetSourcefv,alGetSourcei:_alGetSourcei,alGetSourceiv:_alGetSourceiv,alGetString:_alGetString,alIsBuffer:_alIsBuffer,alIsEnabled:_alIsEnabled,alIsExtensionPresent:_alIsExtensionPresent,alIsSource:_alIsSource,alListener3f:_alListener3f,alListener3i:_alListener3i,alListenerf:_alListenerf,alListenerfv:_alListenerfv,alListeneri:_alListeneri,alListeneriv:_alListeneriv,alSource3f:_alSource3f,alSource3i:_alSource3i,alSourcePause:_alSourcePause,alSourcePausev:_alSourcePausev,alSourcePlay:_alSourcePlay,alSourcePlayv:_alSourcePlayv,alSourceQueueBuffers:_alSourceQueueBuffers,alSourceRewind:_alSourceRewind,alSourceRewindv:_alSourceRewindv,alSourceStop:_alSourceStop,alSourceStopv:_alSourceStopv,alSourceUnqueueBuffers:_alSourceUnqueueBuffers,alSourcef:_alSourcef,alSourcefv:_alSourcefv,alSourcei:_alSourcei,alSourceiv:_alSourceiv,alSpeedOfSound:_alSpeedOfSound,alcCaptureCloseDevice:_alcCaptureCloseDevice,alcCaptureOpenDevice:_alcCaptureOpenDevice,alcCaptureSamples:_alcCaptureSamples,alcCaptureStart:_alcCaptureStart,alcCaptureStop:_alcCaptureStop,alcCloseDevice:_alcCloseDevice,alcCreateContext:_alcCreateContext,alcDestroyContext:_alcDestroyContext,alcGetContextsDevice:_alcGetContextsDevice,alcGetCurrentContext:_alcGetCurrentContext,alcGetEnumValue:_alcGetEnumValue,alcGetError:_alcGetError,alcGetIntegerv:_alcGetIntegerv,alcGetString:_alcGetString,alcIsExtensionPresent:_alcIsExtensionPresent,alcMakeContextCurrent:_alcMakeContextCurrent,alcOpenDevice:_alcOpenDevice,alcProcessContext:_alcProcessContext,alcSuspendContext:_alcSuspendContext,boxColor:_boxColor,boxRGBA:_boxRGBA,clock_res_get:_clock_res_get,clock_time_get:_clock_time_get,duckdb_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_call_worker:_emscripten_call_worker,emscripten_cancel_animation_frame:_emscripten_cancel_animation_frame,emscripten_cancel_main_loop:_emscripten_cancel_main_loop,emscripten_clear_immediate:_emscripten_clear_immediate,emscripten_clear_interval:_emscripten_clear_interval,emscripten_clear_timeout:_emscripten_clear_timeout,emscripten_console_error:_emscripten_console_error,emscripten_console_log:_emscripten_console_log,emscripten_console_trace:_emscripten_console_trace,emscripten_console_warn:_emscripten_console_warn,emscripten_create_worker:_emscripten_create_worker,emscripten_date_now:_emscripten_date_now,emscripten_debugger:_emscripten_debugger,emscripten_destroy_worker:_emscripten_destroy_worker,emscripten_enter_soft_fullscreen:_emscripten_enter_soft_fullscreen,emscripten_err:_emscripten_err,emscripten_errn:_emscripten_errn,emscripten_exit_fullscreen:_emscripten_exit_fullscreen,emscripten_exit_pointerlock:_emscripten_exit_pointerlock,emscripten_exit_soft_fullscreen:_emscripten_exit_soft_fullscreen,emscripten_exit_with_live_runtime:_emscripten_exit_with_live_runtime,emscripten_fiber_swap:_emscripten_fiber_swap,emscripten_force_exit:_emscripten_force_exit,emscripten_get_battery_status:_emscripten_get_battery_status,emscripten_get_callstack:_emscripten_get_callstack,emscripten_get_canvas_element_size:_emscripten_get_canvas_element_size,emscripten_get_canvas_size:_emscripten_get_canvas_size,emscripten_get_compiler_setting:_emscripten_get_compiler_setting,emscripten_get_device_pixel_ratio:_emscripten_get_device_pixel_ratio,emscripten_get_element_css_size:_emscripten_get_element_css_size,emscripten_get_fullscreen_status:_emscripten_get_fullscreen_status,emscripten_get_gamepad_status:_emscripten_get_gamepad_status,emscripten_get_heap_max:_emscripten_get_heap_max,emscripten_get_main_loop_timing:_emscripten_get_main_loop_timing,emscripten_get_now:_emscripten_get_now,emscripten_get_now_res:_emscripten_get_now_res,emscripten_get_num_gamepads:_emscripten_get_num_gamepads,emscripten_get_orientation_status:_emscripten_get_orientation_status,emscripten_get_pointerlock_status:_emscripten_get_pointerlock_status,emscripten_get_preloaded_image_data:_emscripten_get_preloaded_image_data,emscripten_get_preloaded_image_data_from_FILE:_emscripten_get_preloaded_image_data_from_FILE,emscripten_get_screen_size:_emscripten_get_screen_size,emscripten_get_visibility_status:_emscripten_get_visibility_status,emscripten_get_window_title:_emscripten_get_window_title,emscripten_get_worker_queue_size:_emscripten_get_worker_queue_size,emscripten_glActiveTexture:_emscripten_glActiveTexture,emscripten_glAttachShader:_emscripten_glAttachShader,emscripten_glBegin:_emscripten_glBegin,emscripten_glBeginQueryEXT:_emscripten_glBeginQueryEXT,emscripten_glBindAttribLocation:_emscripten_glBindAttribLocation,emscripten_glBindBuffer:_emscripten_glBindBuffer,emscripten_glBindFramebuffer:_emscripten_glBindFramebuffer,emscripten_glBindRenderbuffer:_emscripten_glBindRenderbuffer,emscripten_glBindTexture:_emscripten_glBindTexture,emscripten_glBindVertexArray:_emscripten_glBindVertexArray,emscripten_glBindVertexArrayOES:_emscripten_glBindVertexArrayOES,emscripten_glBlendColor:_emscripten_glBlendColor,emscripten_glBlendEquation:_emscripten_glBlendEquation,emscripten_glBlendEquationSeparate:_emscripten_glBlendEquationSeparate,emscripten_glBlendFunc:_emscripten_glBlendFunc,emscripten_glBlendFuncSeparate:_emscripten_glBlendFuncSeparate,emscripten_glBufferData:_emscripten_glBufferData,emscripten_glBufferSubData:_emscripten_glBufferSubData,emscripten_glCheckFramebufferStatus:_emscripten_glCheckFramebufferStatus,emscripten_glClear:_emscripten_glClear,emscripten_glClearColor:_emscripten_glClearColor,emscripten_glClearDepth:_emscripten_glClearDepth,emscripten_glClearDepthf:_emscripten_glClearDepthf,emscripten_glClearStencil:_emscripten_glClearStencil,emscripten_glClipControlEXT:_emscripten_glClipControlEXT,emscripten_glColorMask:_emscripten_glColorMask,emscripten_glCompileShader:_emscripten_glCompileShader,emscripten_glCompressedTexImage2D:_emscripten_glCompressedTexImage2D,emscripten_glCompressedTexSubImage2D:_emscripten_glCompressedTexSubImage2D,emscripten_glCopyTexImage2D:_emscripten_glCopyTexImage2D,emscripten_glCopyTexSubImage2D:_emscripten_glCopyTexSubImage2D,emscripten_glCreateProgram:_emscripten_glCreateProgram,emscripten_glCreateShader:_emscripten_glCreateShader,emscripten_glCullFace:_emscripten_glCullFace,emscripten_glDeleteBuffers:_emscripten_glDeleteBuffers,emscripten_glDeleteFramebuffers:_emscripten_glDeleteFramebuffers,emscripten_glDeleteProgram:_emscripten_glDeleteProgram,emscripten_glDeleteQueriesEXT:_emscripten_glDeleteQueriesEXT,emscripten_glDeleteRenderbuffers:_emscripten_glDeleteRenderbuffers,emscripten_glDeleteShader:_emscripten_glDeleteShader,emscripten_glDeleteTextures:_emscripten_glDeleteTextures,emscripten_glDeleteVertexArrays:_emscripten_glDeleteVertexArrays,emscripten_glDeleteVertexArraysOES:_emscripten_glDeleteVertexArraysOES,emscripten_glDepthFunc:_emscripten_glDepthFunc,emscripten_glDepthMask:_emscripten_glDepthMask,emscripten_glDepthRange:_emscripten_glDepthRange,emscripten_glDepthRangef:_emscripten_glDepthRangef,emscripten_glDetachShader:_emscripten_glDetachShader,emscripten_glDisable:_emscripten_glDisable,emscripten_glDisableVertexAttribArray:_emscripten_glDisableVertexAttribArray,emscripten_glDrawArrays:_emscripten_glDrawArrays,emscripten_glDrawArraysInstanced:_emscripten_glDrawArraysInstanced,emscripten_glDrawArraysInstancedANGLE:_emscripten_glDrawArraysInstancedANGLE,emscripten_glDrawArraysInstancedARB:_emscripten_glDrawArraysInstancedARB,emscripten_glDrawArraysInstancedEXT:_emscripten_glDrawArraysInstancedEXT,emscripten_glDrawArraysInstancedNV:_emscripten_glDrawArraysInstancedNV,emscripten_glDrawBuffers:_emscripten_glDrawBuffers,emscripten_glDrawBuffersEXT:_emscripten_glDrawBuffersEXT,emscripten_glDrawBuffersWEBGL:_emscripten_glDrawBuffersWEBGL,emscripten_glDrawElements:_emscripten_glDrawElements,emscripten_glDrawElementsInstanced:_emscripten_glDrawElementsInstanced,emscripten_glDrawElementsInstancedANGLE:_emscripten_glDrawElementsInstancedANGLE,emscripten_glDrawElementsInstancedARB:_emscripten_glDrawElementsInstancedARB,emscripten_glDrawElementsInstancedEXT:_emscripten_glDrawElementsInstancedEXT,emscripten_glDrawElementsInstancedNV:_emscripten_glDrawElementsInstancedNV,emscripten_glEnable:_emscripten_glEnable,emscripten_glEnableVertexAttribArray:_emscripten_glEnableVertexAttribArray,emscripten_glEndQueryEXT:_emscripten_glEndQueryEXT,emscripten_glFinish:_emscripten_glFinish,emscripten_glFlush:_emscripten_glFlush,emscripten_glFramebufferRenderbuffer:_emscripten_glFramebufferRenderbuffer,emscripten_glFramebufferTexture2D:_emscripten_glFramebufferTexture2D,emscripten_glFrontFace:_emscripten_glFrontFace,emscripten_glGenBuffers:_emscripten_glGenBuffers,emscripten_glGenFramebuffers:_emscripten_glGenFramebuffers,emscripten_glGenQueriesEXT:_emscripten_glGenQueriesEXT,emscripten_glGenRenderbuffers:_emscripten_glGenRenderbuffers,emscripten_glGenTextures:_emscripten_glGenTextures,emscripten_glGenVertexArrays:_emscripten_glGenVertexArrays,emscripten_glGenVertexArraysOES:_emscripten_glGenVertexArraysOES,emscripten_glGenerateMipmap:_emscripten_glGenerateMipmap,emscripten_glGetActiveAttrib:_emscripten_glGetActiveAttrib,emscripten_glGetActiveUniform:_emscripten_glGetActiveUniform,emscripten_glGetAttachedShaders:_emscripten_glGetAttachedShaders,emscripten_glGetAttribLocation:_emscripten_glGetAttribLocation,emscripten_glGetBooleanv:_emscripten_glGetBooleanv,emscripten_glGetBufferParameteriv:_emscripten_glGetBufferParameteriv,emscripten_glGetError:_emscripten_glGetError,emscripten_glGetFloatv:_emscripten_glGetFloatv,emscripten_glGetFramebufferAttachmentParameteriv:_emscripten_glGetFramebufferAttachmentParameteriv,emscripten_glGetIntegerv:_emscripten_glGetIntegerv,emscripten_glGetProgramInfoLog:_emscripten_glGetProgramInfoLog,emscripten_glGetProgramiv:_emscripten_glGetProgramiv,emscripten_glGetQueryObjecti64vEXT:_emscripten_glGetQueryObjecti64vEXT,emscripten_glGetQueryObjectivEXT:_emscripten_glGetQueryObjectivEXT,emscripten_glGetQueryObjectui64vEXT:_emscripten_glGetQueryObjectui64vEXT,emscripten_glGetQueryObjectuivEXT:_emscripten_glGetQueryObjectuivEXT,emscripten_glGetQueryivEXT:_emscripten_glGetQueryivEXT,emscripten_glGetRenderbufferParameteriv:_emscripten_glGetRenderbufferParameteriv,emscripten_glGetShaderInfoLog:_emscripten_glGetShaderInfoLog,emscripten_glGetShaderPrecisionFormat:_emscripten_glGetShaderPrecisionFormat,emscripten_glGetShaderSource:_emscripten_glGetShaderSource,emscripten_glGetShaderiv:_emscripten_glGetShaderiv,emscripten_glGetString:_emscripten_glGetString,emscripten_glGetTexParameterfv:_emscripten_glGetTexParameterfv,emscripten_glGetTexParameteriv:_emscripten_glGetTexParameteriv,emscripten_glGetUniformLocation:_emscripten_glGetUniformLocation,emscripten_glGetUniformfv:_emscripten_glGetUniformfv,emscripten_glGetUniformiv:_emscripten_glGetUniformiv,emscripten_glGetVertexAttribPointerv:_emscripten_glGetVertexAttribPointerv,emscripten_glGetVertexAttribfv:_emscripten_glGetVertexAttribfv,emscripten_glGetVertexAttribiv:_emscripten_glGetVertexAttribiv,emscripten_glHint:_emscripten_glHint,emscripten_glIsBuffer:_emscripten_glIsBuffer,emscripten_glIsEnabled:_emscripten_glIsEnabled,emscripten_glIsFramebuffer:_emscripten_glIsFramebuffer,emscripten_glIsProgram:_emscripten_glIsProgram,emscripten_glIsQueryEXT:_emscripten_glIsQueryEXT,emscripten_glIsRenderbuffer:_emscripten_glIsRenderbuffer,emscripten_glIsShader:_emscripten_glIsShader,emscripten_glIsTexture:_emscripten_glIsTexture,emscripten_glIsVertexArray:_emscripten_glIsVertexArray,emscripten_glIsVertexArrayOES:_emscripten_glIsVertexArrayOES,emscripten_glLineWidth:_emscripten_glLineWidth,emscripten_glLinkProgram:_emscripten_glLinkProgram,emscripten_glLoadIdentity:_emscripten_glLoadIdentity,emscripten_glMatrixMode:_emscripten_glMatrixMode,emscripten_glMultiDrawArrays:_emscripten_glMultiDrawArrays,emscripten_glMultiDrawArraysANGLE:_emscripten_glMultiDrawArraysANGLE,emscripten_glMultiDrawArraysInstancedANGLE:_emscripten_glMultiDrawArraysInstancedANGLE,emscripten_glMultiDrawArraysInstancedWEBGL:_emscripten_glMultiDrawArraysInstancedWEBGL,emscripten_glMultiDrawArraysWEBGL:_emscripten_glMultiDrawArraysWEBGL,emscripten_glMultiDrawElements:_emscripten_glMultiDrawElements,emscripten_glMultiDrawElementsANGLE:_emscripten_glMultiDrawElementsANGLE,emscripten_glMultiDrawElementsInstancedANGLE:_emscripten_glMultiDrawElementsInstancedANGLE,emscripten_glMultiDrawElementsInstancedWEBGL:_emscripten_glMultiDrawElementsInstancedWEBGL,emscripten_glMultiDrawElementsWEBGL:_emscripten_glMultiDrawElementsWEBGL,emscripten_glPixelStorei:_emscripten_glPixelStorei,emscripten_glPolygonModeWEBGL:_emscripten_glPolygonModeWEBGL,emscripten_glPolygonOffset:_emscripten_glPolygonOffset,emscripten_glPolygonOffsetClampEXT:_emscripten_glPolygonOffsetClampEXT,emscripten_glQueryCounterEXT:_emscripten_glQueryCounterEXT,emscripten_glReadPixels:_emscripten_glReadPixels,emscripten_glReleaseShaderCompiler:_emscripten_glReleaseShaderCompiler,emscripten_glRenderbufferStorage:_emscripten_glRenderbufferStorage,emscripten_glSampleCoverage:_emscripten_glSampleCoverage,emscripten_glScissor:_emscripten_glScissor,emscripten_glShaderBinary:_emscripten_glShaderBinary,emscripten_glShaderSource:_emscripten_glShaderSource,emscripten_glStencilFunc:_emscripten_glStencilFunc,emscripten_glStencilFuncSeparate:_emscripten_glStencilFuncSeparate,emscripten_glStencilMask:_emscripten_glStencilMask,emscripten_glStencilMaskSeparate:_emscripten_glStencilMaskSeparate,emscripten_glStencilOp:_emscripten_glStencilOp,emscripten_glStencilOpSeparate:_emscripten_glStencilOpSeparate,emscripten_glTexImage2D:_emscripten_glTexImage2D,emscripten_glTexParameterf:_emscripten_glTexParameterf,emscripten_glTexParameterfv:_emscripten_glTexParameterfv,emscripten_glTexParameteri:_emscripten_glTexParameteri,emscripten_glTexParameteriv:_emscripten_glTexParameteriv,emscripten_glTexSubImage2D:_emscripten_glTexSubImage2D,emscripten_glUniform1f:_emscripten_glUniform1f,emscripten_glUniform1fv:_emscripten_glUniform1fv,emscripten_glUniform1i:_emscripten_glUniform1i,emscripten_glUniform1iv:_emscripten_glUniform1iv,emscripten_glUniform2f:_emscripten_glUniform2f,emscripten_glUniform2fv:_emscripten_glUniform2fv,emscripten_glUniform2i:_emscripten_glUniform2i,emscripten_glUniform2iv:_emscripten_glUniform2iv,emscripten_glUniform3f:_emscripten_glUniform3f,emscripten_glUniform3fv:_emscripten_glUniform3fv,emscripten_glUniform3i:_emscripten_glUniform3i,emscripten_glUniform3iv:_emscripten_glUniform3iv,emscripten_glUniform4f:_emscripten_glUniform4f,emscripten_glUniform4fv:_emscripten_glUniform4fv,emscripten_glUniform4i:_emscripten_glUniform4i,emscripten_glUniform4iv:_emscripten_glUniform4iv,emscripten_glUniformMatrix2fv:_emscripten_glUniformMatrix2fv,emscripten_glUniformMatrix3fv:_emscripten_glUniformMatrix3fv,emscripten_glUniformMatrix4fv:_emscripten_glUniformMatrix4fv,emscripten_glUseProgram:_emscripten_glUseProgram,emscripten_glValidateProgram:_emscripten_glValidateProgram,emscripten_glVertexAttrib1f:_emscripten_glVertexAttrib1f,emscripten_glVertexAttrib1fv:_emscripten_glVertexAttrib1fv,emscripten_glVertexAttrib2f:_emscripten_glVertexAttrib2f,emscripten_glVertexAttrib2fv:_emscripten_glVertexAttrib2fv,emscripten_glVertexAttrib3f:_emscripten_glVertexAttrib3f,emscripten_glVertexAttrib3fv:_emscripten_glVertexAttrib3fv,emscripten_glVertexAttrib4f:_emscripten_glVertexAttrib4f,emscripten_glVertexAttrib4fv:_emscripten_glVertexAttrib4fv,emscripten_glVertexAttribDivisor:_emscripten_glVertexAttribDivisor,emscripten_glVertexAttribDivisorANGLE:_emscripten_glVertexAttribDivisorANGLE,emscripten_glVertexAttribDivisorARB:_emscripten_glVertexAttribDivisorARB,emscripten_glVertexAttribDivisorEXT:_emscripten_glVertexAttribDivisorEXT,emscripten_glVertexAttribDivisorNV:_emscripten_glVertexAttribDivisorNV,emscripten_glVertexAttribPointer:_emscripten_glVertexAttribPointer,emscripten_glVertexPointer:_emscripten_glVertexPointer,emscripten_glViewport:_emscripten_glViewport,emscripten_has_asyncify:_emscripten_has_asyncify,emscripten_hide_mouse:_emscripten_hide_mouse,emscripten_html5_remove_all_event_listeners:_emscripten_html5_remove_all_event_listeners,emscripten_html5_remove_event_listener:_emscripten_html5_remove_event_listener,emscripten_idb_async_clear:_emscripten_idb_async_clear,emscripten_idb_async_delete:_emscripten_idb_async_delete,emscripten_idb_async_exists:_emscripten_idb_async_exists,emscripten_idb_async_load:_emscripten_idb_async_load,emscripten_idb_async_store:_emscripten_idb_async_store,emscripten_idb_clear:_emscripten_idb_clear,emscripten_idb_delete:_emscripten_idb_delete,emscripten_idb_exists:_emscripten_idb_exists,emscripten_idb_load:_emscripten_idb_load,emscripten_idb_store:_emscripten_idb_store,emscripten_is_main_browser_thread:_emscripten_is_main_browser_thread,emscripten_is_webgl_context_lost:_emscripten_is_webgl_context_lost,emscripten_lock_orientation:_emscripten_lock_orientation,emscripten_math_acos:_emscripten_math_acos,emscripten_math_acosh:_emscripten_math_acosh,emscripten_math_asin:_emscripten_math_asin,emscripten_math_asinh:_emscripten_math_asinh,emscripten_math_atan:_emscripten_math_atan,emscripten_math_atan2:_emscripten_math_atan2,emscripten_math_atanh:_emscripten_math_atanh,emscripten_math_cbrt:_emscripten_math_cbrt,emscripten_math_cos:_emscripten_math_cos,emscripten_math_cosh:_emscripten_math_cosh,emscripten_math_exp:_emscripten_math_exp,emscripten_math_expm1:_emscripten_math_expm1,emscripten_math_fmod:_emscripten_math_fmod,emscripten_math_hypot:_emscripten_math_hypot,emscripten_math_log:_emscripten_math_log,emscripten_math_log10:_emscripten_math_log10,emscripten_math_log1p:_emscripten_math_log1p,emscripten_math_log2:_emscripten_math_log2,emscripten_math_pow:_emscripten_math_pow,emscripten_math_random:_emscripten_math_random,emscripten_math_round:_emscripten_math_round,emscripten_math_sign:_emscripten_math_sign,emscripten_math_sin:_emscripten_math_sin,emscripten_math_sinh:_emscripten_math_sinh,emscripten_math_sqrt:_emscripten_math_sqrt,emscripten_math_tan:_emscripten_math_tan,emscripten_math_tanh:_emscripten_math_tanh,emscripten_notify_memory_growth:_emscripten_notify_memory_growth,emscripten_out:_emscripten_out,emscripten_outn:_emscripten_outn,emscripten_pause_main_loop:_emscripten_pause_main_loop,emscripten_pc_get_column:_emscripten_pc_get_column,emscripten_pc_get_file:_emscripten_pc_get_file,emscripten_pc_get_function:_emscripten_pc_get_function,emscripten_pc_get_line:_emscripten_pc_get_line,emscripten_performance_now:_emscripten_performance_now,emscripten_print_double:_emscripten_print_double,emscripten_promise_all:_emscripten_promise_all,emscripten_promise_all_settled:_emscripten_promise_all_settled,emscripten_promise_any:_emscripten_promise_any,emscripten_promise_await:_emscripten_promise_await,emscripten_promise_await_unchecked:_emscripten_promise_await_unchecked,emscripten_promise_create:_emscripten_promise_create,emscripten_promise_destroy:_emscripten_promise_destroy,emscripten_promise_race:_emscripten_promise_race,emscripten_promise_resolve:_emscripten_promise_resolve,emscripten_promise_then:_emscripten_promise_then,emscripten_random:_emscripten_random,emscripten_request_animation_frame:_emscripten_request_animation_frame,emscripten_request_animation_frame_loop:_emscripten_request_animation_frame_loop,emscripten_request_fullscreen:_emscripten_request_fullscreen,emscripten_request_fullscreen_strategy:_emscripten_request_fullscreen_strategy,emscripten_request_pointerlock:_emscripten_request_pointerlock,emscripten_resize_heap:_emscripten_resize_heap,emscripten_resume_main_loop:_emscripten_resume_main_loop,emscripten_return_address:_emscripten_return_address,emscripten_run_preload_plugins:_emscripten_run_preload_plugins,emscripten_run_preload_plugins_data:_emscripten_run_preload_plugins_data,emscripten_run_script:_emscripten_run_script,emscripten_run_script_int:_emscripten_run_script_int,emscripten_run_script_string:_emscripten_run_script_string,emscripten_runtime_keepalive_check:_emscripten_runtime_keepalive_check,emscripten_runtime_keepalive_pop:_emscripten_runtime_keepalive_pop,emscripten_runtime_keepalive_push:_emscripten_runtime_keepalive_push,emscripten_sample_gamepad_data:_emscripten_sample_gamepad_data,emscripten_scan_registers:_emscripten_scan_registers,emscripten_set_batterychargingchange_callback_on_thread:_emscripten_set_batterychargingchange_callback_on_thread,emscripten_set_batterylevelchange_callback_on_thread:_emscripten_set_batterylevelchange_callback_on_thread,emscripten_set_beforeunload_callback_on_thread:_emscripten_set_beforeunload_callback_on_thread,emscripten_set_blur_callback_on_thread:_emscripten_set_blur_callback_on_thread,emscripten_set_canvas_element_size:_emscripten_set_canvas_element_size,emscripten_set_canvas_size:_emscripten_set_canvas_size,emscripten_set_click_callback_on_thread:_emscripten_set_click_callback_on_thread,emscripten_set_contextmenu_callback_on_thread:_emscripten_set_contextmenu_callback_on_thread,emscripten_set_dblclick_callback_on_thread:_emscripten_set_dblclick_callback_on_thread,emscripten_set_devicemotion_callback_on_thread:_emscripten_set_devicemotion_callback_on_thread,emscripten_set_deviceorientation_callback_on_thread:_emscripten_set_deviceorientation_callback_on_thread,emscripten_set_element_css_size:_emscripten_set_element_css_size,emscripten_set_focus_callback_on_thread:_emscripten_set_focus_callback_on_thread,emscripten_set_focusin_callback_on_thread:_emscripten_set_focusin_callback_on_thread,emscripten_set_focusout_callback_on_thread:_emscripten_set_focusout_callback_on_thread,emscripten_set_fullscreenchange_callback_on_thread:_emscripten_set_fullscreenchange_callback_on_thread,emscripten_set_gamepadconnected_callback_on_thread:_emscripten_set_gamepadconnected_callback_on_thread,emscripten_set_gamepaddisconnected_callback_on_thread:_emscripten_set_gamepaddisconnected_callback_on_thread,emscripten_set_immediate:_emscripten_set_immediate,emscripten_set_immediate_loop:_emscripten_set_immediate_loop,emscripten_set_interval:_emscripten_set_interval,emscripten_set_keydown_callback_on_thread:_emscripten_set_keydown_callback_on_thread,emscripten_set_keypress_callback_on_thread:_emscripten_set_keypress_callback_on_thread,emscripten_set_keyup_callback_on_thread:_emscripten_set_keyup_callback_on_thread,emscripten_set_main_loop:_emscripten_set_main_loop,emscripten_set_main_loop_arg:_emscripten_set_main_loop_arg,emscripten_set_main_loop_expected_blockers:_emscripten_set_main_loop_expected_blockers,emscripten_set_main_loop_timing:_emscripten_set_main_loop_timing,emscripten_set_mousedown_callback_on_thread:_emscripten_set_mousedown_callback_on_thread,emscripten_set_mouseenter_callback_on_thread:_emscripten_set_mouseenter_callback_on_thread,emscripten_set_mouseleave_callback_on_thread:_emscripten_set_mouseleave_callback_on_thread,emscripten_set_mousemove_callback_on_thread:_emscripten_set_mousemove_callback_on_thread,emscripten_set_mouseout_callback_on_thread:_emscripten_set_mouseout_callback_on_thread,emscripten_set_mouseover_callback_on_thread:_emscripten_set_mouseover_callback_on_thread,emscripten_set_mouseup_callback_on_thread:_emscripten_set_mouseup_callback_on_thread,emscripten_set_orientationchange_callback_on_thread:_emscripten_set_orientationchange_callback_on_thread,emscripten_set_pointerlockchange_callback_on_thread:_emscripten_set_pointerlockchange_callback_on_thread,emscripten_set_pointerlockerror_callback_on_thread:_emscripten_set_pointerlockerror_callback_on_thread,emscripten_set_resize_callback_on_thread:_emscripten_set_resize_callback_on_thread,emscripten_set_scroll_callback_on_thread:_emscripten_set_scroll_callback_on_thread,emscripten_set_socket_close_callback:_emscripten_set_socket_close_callback,emscripten_set_socket_connection_callback:_emscripten_set_socket_connection_callback,emscripten_set_socket_error_callback:_emscripten_set_socket_error_callback,emscripten_set_socket_listen_callback:_emscripten_set_socket_listen_callback,emscripten_set_socket_message_callback:_emscripten_set_socket_message_callback,emscripten_set_socket_open_callback:_emscripten_set_socket_open_callback,emscripten_set_timeout:_emscripten_set_timeout,emscripten_set_timeout_loop:_emscripten_set_timeout_loop,emscripten_set_touchcancel_callback_on_thread:_emscripten_set_touchcancel_callback_on_thread,emscripten_set_touchend_callback_on_thread:_emscripten_set_touchend_callback_on_thread,emscripten_set_touchmove_callback_on_thread:_emscripten_set_touchmove_callback_on_thread,emscripten_set_touchstart_callback_on_thread:_emscripten_set_touchstart_callback_on_thread,emscripten_set_visibilitychange_callback_on_thread:_emscripten_set_visibilitychange_callback_on_thread,emscripten_set_webglcontextlost_callback_on_thread:_emscripten_set_webglcontextlost_callback_on_thread,emscripten_set_webglcontextrestored_callback_on_thread:_emscripten_set_webglcontextrestored_callback_on_thread,emscripten_set_wheel_callback_on_thread:_emscripten_set_wheel_callback_on_thread,emscripten_set_window_title:_emscripten_set_window_title,emscripten_sleep:_emscripten_sleep,emscripten_stack_snapshot:_emscripten_stack_snapshot,emscripten_stack_unwind_buffer:_emscripten_stack_unwind_buffer,emscripten_supports_offscreencanvas:_emscripten_supports_offscreencanvas,emscripten_throw_number:_emscripten_throw_number,emscripten_throw_string:_emscripten_throw_string,emscripten_unlock_orientation:_emscripten_unlock_orientation,emscripten_unwind_to_js_event_loop:_emscripten_unwind_to_js_event_loop,emscripten_vibrate:_emscripten_vibrate,emscripten_vibrate_pattern:_emscripten_vibrate_pattern,emscripten_webgl_commit_frame:_emscripten_webgl_commit_frame,emscripten_webgl_create_context:_emscripten_webgl_create_context,emscripten_webgl_destroy_context:_emscripten_webgl_destroy_context,emscripten_webgl_do_commit_frame:_emscripten_webgl_do_commit_frame,emscripten_webgl_do_create_context:_emscripten_webgl_do_create_context,emscripten_webgl_do_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,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=U=>G=>U(G)>>>0,n=U=>(G,H)=>U(G,H)>>>0,o=U=>(G,H,W)=>U(G,H,W)>>>0,c=U=>()=>U()>>>0,u=U=>(G,H)=>U(G,H)>>>0,d=U=>(G,H,W)=>U(G,H,W)>>>0,p=U=>G=>U(G)>>>0,h=U=>(G,H,W,ae)=>U(G,H,W,ae)>>>0,y=U=>(G,H,W)=>U(G,H,W)>>>0,b=U=>(G,H,W,ae,Be,Bt)=>U(G,H,W,ae,Be,Bt)>>>0,v=U=>(G,H,W)=>U(G,H,W)>>>0,A=U=>(G,H,W,ae)=>U(G,H,W,ae)>>>0,L=U=>(G,H)=>U(G,H)>>>0,E=U=>(G,H,W,ae,Be)=>U(G,H,W,ae,Be)>>>0,S=U=>(G,H,W,ae)=>U(G,H,W,ae)>>>0,w=U=>(G,H,W,ae,Be)=>U(G,H,W,ae,Be)>>>0,T=U=>(G,H,W,ae)=>U(G,H,W,ae)>>>0,F=U=>(G,H)=>U(G,H)>>>0,P=U=>(G,H,W)=>U(G,H,W)>>>0,I=U=>(G,H,W,ae)=>U(G,H,W,ae)>>>0,B=U=>(G,H,W,ae)=>U(G,H,W,ae)>>>0,C=U=>(G,H,W,ae,Be)=>U(G,H,W,ae,Be)>>>0,x=U=>(G,H,W,ae)=>U(G,H,W,ae)>>>0,M=U=>(G,H,W,ae)=>U(G,H,W,ae)>>>0,R=U=>(G,H,W)=>U(G,H,W)>>>0,re=U=>(G,H,W,ae,Be,Bt)=>U(G,H,W,ae,Be,Bt)>>>0,Ee=U=>G=>U(G)>>>0,j=U=>(G,H,W)=>U(G,H,W)>>>0,pe=U=>(G,H,W,ae,Be,Bt)=>U(G,H,W,ae,Be,Bt)>>>0;return e.__getTypeName=t(e.__getTypeName),e.strdup=t(e.strdup),e.strlen=t(e.strlen),e.__cxa_allocate_exception=t(e.__cxa_allocate_exception),e.malloc=t(e.malloc),e.realloc=n(e.realloc),e.memchr=o(e.memchr),e.dlsym=n(e.dlsym),e.dlerror=c(e.dlerror),e.dlopen=u(e.dlopen),e.calloc=n(e.calloc),e.strtoul=d(e.strtoul),e.wmemchr=o(e.wmemchr),e.localtime_r=n(e.localtime_r),e.getenv=t(e.getenv),e.__errno_location=c(e.__errno_location),e.sysconf=p(e.sysconf),e.getcwd=n(e.getcwd),e.strerror=p(e.strerror),e.pread=h(e.pread),e.read=y(e.read),e.pwrite=h(e.pwrite),e.write=y(e.write),e.opendir=t(e.opendir),e.readdir=t(e.readdir),e.realpath=n(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=n(e.strstr),e.memset=o(e.memset),e.fopen=n(e.fopen),e.ftell=t(e.ftell),e.fread=A(e.fread),e.fwrite=A(e.fwrite),e.emscripten_GetProcAddress=t(e.emscripten_GetProcAddress),e.strcpy=n(e.strcpy),e.emscripten_webgl1_get_proc_address=t(e.emscripten_webgl1_get_proc_address),e._webgl1_match_ext_proc_address_without_suffix=t(e._webgl1_match_ext_proc_address_without_suffix),e.emscripten_webgl_get_proc_address=t(e.emscripten_webgl_get_proc_address),e.SDL_GL_GetProcAddress=t(e.SDL_GL_GetProcAddress),e.eglGetProcAddress=t(e.eglGetProcAddress),e.glfwGetProcAddress=t(e.glfwGetProcAddress),e.alcGetProcAddress=n(e.alcGetProcAddress),e.alGetProcAddress=t(e.alGetProcAddress),e.emscripten_proxy_get_system_queue=c(e.emscripten_proxy_get_system_queue),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=c(e.getpwent),e.getgrnam=t(e.getgrnam),e.getgrgid=p(e.getgrgid),e.getgrent=c(e.getgrent),e.popen=n(e.popen),e.emscripten_stack_get_end=c(e.emscripten_stack_get_end),e.emscripten_stack_get_base=c(e.emscripten_stack_get_base),e.__ctype_b_loc=c(e.__ctype_b_loc),e.__ctype_get_mb_cur_max=c(e.__ctype_get_mb_cur_max),e.__ctype_tolower_loc=c(e.__ctype_tolower_loc),e.__ctype_toupper_loc=c(e.__ctype_toupper_loc),e.emscripten_builtin_malloc=t(e.emscripten_builtin_malloc),e.fdopen=L(e.fdopen),e.__mo_lookup=v(e.__mo_lookup),e.__get_tp=c(e.__get_tp),e.memcpy=v(e.memcpy),e.a64l=t(e.a64l),e.l64a=t(e.l64a),e.aligned_alloc=n(e.aligned_alloc),e.asctime=t(e.asctime),e.__nl_langinfo_l=L(e.__nl_langinfo_l),e.asctime_r=n(e.asctime_r),e.__libc_calloc=n(e.__libc_calloc),e.atol=t(e.atol),e.basename=t(e.basename),e.__xpg_basename=t(e.__xpg_basename),e.memmove=v(e.memmove),e.bind_textdomain_codeset=n(e.bind_textdomain_codeset),e.bsearch=E(e.bsearch),e.c16rtomb=o(e.c16rtomb),e.wcrtomb=o(e.wcrtomb),e.c32rtomb=o(e.c32rtomb),e.catgets=S(e.catgets),e.catopen=u(e.catopen),e.confstr=y(e.confstr),e.crypt=n(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=n(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=n(e.ctime_r),e.bindtextdomain=n(e.bindtextdomain),e.dcngettext=w(e.dcngettext),e.__gettextdomain=c(e.__gettextdomain),e.dcgettext=d(e.dcgettext),e.dngettext=A(e.dngettext),e.dgettext=n(e.dgettext),e.dirname=t(e.dirname),e.__libc_malloc=t(e.__libc_malloc),e.__duplocale=t(e.__duplocale),e.duplocale=t(e.duplocale),e._emscripten_find_dylib=A(e._emscripten_find_dylib),e.strspn=n(e.strspn),e.strcspn=n(e.strcspn),e.emscripten_dlopen_promise=u(e.emscripten_dlopen_promise),e.ecvt=T(e.ecvt),e.emscripten_get_heap_size=c(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=o(e.__memset),e.emscripten_builtin_memset=o(e.emscripten_builtin_memset),e._emscripten_memset_bulkmem=o(e._emscripten_memset_bulkmem),e.__syscall_mmap2=b(e.__syscall_mmap2),e.emscripten_builtin_memalign=n(e.emscripten_builtin_memalign),e.emscripten_stack_get_current=c(e.emscripten_stack_get_current),e.gethostent=c(e.gethostent),e.getnetent=c(e.getnetent),e.ether_aton_r=n(e.ether_aton_r),e.ether_aton=t(e.ether_aton),e.ether_ntoa_r=n(e.ether_ntoa_r),e.ether_ntoa=t(e.ether_ntoa),e.__fbufsize=t(e.__fbufsize),e.__fpending=t(e.__fpending),e.__freadahead=t(e.__freadahead),e.__freadptr=n(e.__freadptr),e.fcvt=T(e.fcvt),e.fdopendir=p(e.fdopendir),e.fgetln=n(e.fgetln),e.getline=v(e.getline),e.fgets=o(e.fgets),e.fgets_unlocked=o(e.fgets_unlocked),e.mbrtowc=A(e.mbrtowc),e.fgetws=o(e.fgetws),e.fgetws_unlocked=o(e.fgetws_unlocked),e.fmemopen=v(e.fmemopen),e.fopencookie=v(e.fopencookie),e.fpathconf=F(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=P(e.gcvt),e.get_current_dir_name=c(e.get_current_dir_name),e.getdelim=I(e.getdelim),e.__getdelim=I(e.__getdelim),e.gethostid=c(e.gethostid),e.getlogin=c(e.getlogin),e.getpass=t(e.getpass),e.gets=t(e.gets),e.getservbyname=n(e.getservbyname),e.getservbyport=L(e.getservbyport),e.gmtime=t(e.gmtime),e.__h_errno_location=c(e.__h_errno_location),e.hstrerror=p(e.hstrerror),e.hsearch=u(e.hsearch),e.iconv_open=n(e.iconv_open),e.iconv=E(e.iconv),e.if_indextoname=L(e.if_indextoname),e.strncpy=v(e.strncpy),e.if_nameindex=c(e.if_nameindex),e.index=u(e.index),e.inet_ntoa=p(e.inet_ntoa),e.inet_ntop=h(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=L(e.nl_langinfo_l),e.get_phys_pages=c(e.get_phys_pages),e.get_avphys_pages=c(e.get_avphys_pages),e.pthread_getspecific=p(e.pthread_getspecific),e.pthread_self=c(e.pthread_self),e.localeconv=c(e.localeconv),e.nrand48=t(e.nrand48),e.lrand48=c(e.lrand48),e.lrint=p(e.lrint),e.lrintf=p(e.lrintf),e.lrintl=F(e.lrintl),e.lround=p(e.lround),e.lroundf=p(e.lroundf),e.lroundl=F(e.lroundl),e.lsearch=E(e.lsearch),e.lfind=E(e.lfind),e.mbrlen=v(e.mbrlen),e.mbrtoc16=A(e.mbrtoc16),e.mbrtoc32=A(e.mbrtoc32),e.mbsnrtowcs=E(e.mbsnrtowcs),e.mbsrtowcs=A(e.mbsrtowcs),e.mbstowcs=v(e.mbstowcs),e.memccpy=I(e.memccpy),e.memmem=A(e.memmem),e.mempcpy=v(e.mempcpy),e.memrchr=o(e.memrchr),e.mkdtemp=t(e.mkdtemp),e.mktemp=t(e.mktemp),e.gmtime_r=n(e.gmtime_r),e.emscripten_builtin_mmap=b(e.emscripten_builtin_mmap),e.setmntent=n(e.setmntent),e.getmntent_r=B(e.getmntent_r),e.getmntent=t(e.getmntent),e.hasmntopt=n(e.hasmntopt),e.jrand48=t(e.jrand48),e.mrand48=c(e.mrand48),e.mremap=C(e.mremap),e.send=h(e.send),e.recv=h(e.recv),e.getnetbyaddr=F(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=n(e.open_memstream),e.open_wmemstream=n(e.open_wmemstream),e.pathconf=u(e.pathconf),e.posix_getdents=h(e.posix_getdents),e.preadv=x(e.preadv),e.strrchr=u(e.strrchr),e.em_proxying_queue_create=c(e.em_proxying_queue_create),e.thrd_current=c(e.thrd_current),e.emscripten_main_runtime_thread_id=c(e.emscripten_main_runtime_thread_id),e.ptsname=p(e.ptsname),e.pwritev=x(e.pwritev),e.initstate=y(e.initstate),e.setstate=t(e.setstate),e.random=c(e.random),e.readlink=v(e.readlink),e.readlinkat=M(e.readlinkat),e.readv=R(e.readv),e.reallocarray=v(e.reallocarray),e.recvmsg=R(e.recvmsg),e.regerror=M(e.regerror),e.sendto=re(e.sendto),e.sendmsg=R(e.sendmsg),e.__res_state=c(e.__res_state),e.rindex=u(e.rindex),e.secure_getenv=t(e.secure_getenv),e.seed48=t(e.seed48),e.getservent=c(e.getservent),e.setlocale=L(e.setlocale),e.signal=L(e.signal),e.bsd_signal=L(e.bsd_signal),e.__sysv_signal=L(e.__sysv_signal),e.stpcpy=n(e.stpcpy),e.stpncpy=v(e.stpncpy),e.strcasestr=n(e.strcasestr),e.strcat=n(e.strcat),e.strchrnul=u(e.strchrnul),e.__strerror_l=L(e.__strerror_l),e.strerror_l=L(e.strerror_l),e.strfmon_l=E(e.strfmon_l),e.strfmon=A(e.strfmon),e.strftime=A(e.strftime),e.strftime_l=E(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=n(e.strndup),e.strpbrk=n(e.strpbrk),e.strsep=n(e.strsep),e.strsignal=p(e.strsignal),e.strtok=n(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=I(e.strtoul_l),e.strtol_l=I(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=n(e.tempnam),e.textdomain=t(e.textdomain),e.gettext=t(e.gettext),e.ngettext=v(e.ngettext),e.tfind=v(e.tfind),e.tmpfile=c(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=n(e.wcsnlen),e.wcpcpy=n(e.wcpcpy),e.wcscpy=n(e.wcscpy),e.wcpncpy=v(e.wcpncpy),e.wcsncpy=v(e.wcsncpy),e.wcscat=n(e.wcscat),e.wcscspn=n(e.wcscspn),e.wcsdup=t(e.wcsdup),e.wmemcpy=v(e.wmemcpy),e.__wcsftime_l=E(e.__wcsftime_l),e.wcstoul=d(e.wcstoul),e.wcsftime=A(e.wcsftime),e.wcsftime_l=E(e.wcsftime_l),e.wcsncat=v(e.wcsncat),e.wmemset=o(e.wmemset),e.wcsnrtombs=E(e.wcsnrtombs),e.wcspbrk=n(e.wcspbrk),e.wcsrchr=u(e.wcsrchr),e.wcsspn=n(e.wcsspn),e.wcsstr=n(e.wcsstr),e.wcstok=v(e.wcstok),e.wcstol=d(e.wcstol),e.wcstombs=v(e.wcstombs),e.wcswcs=n(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=n(e.__wctrans_l),e.wctrans_l=n(e.wctrans_l),e.wmemmove=v(e.wmemmove),e.writev=R(e.writev),e.sbrk=Ee(e.sbrk),e.__libc_realloc=n(e.__libc_realloc),e.realloc_in_place=n(e.realloc_in_place),e.memalign=n(e.memalign),e.valloc=t(e.valloc),e.pvalloc=t(e.pvalloc),e.malloc_usable_size=t(e.malloc_usable_size),e.malloc_footprint=c(e.malloc_footprint),e.malloc_max_footprint=c(e.malloc_max_footprint),e.malloc_footprint_limit=c(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=n(e.bulk_free),e.emscripten_builtin_realloc=n(e.emscripten_builtin_realloc),e.emscripten_builtin_calloc=n(e.emscripten_builtin_calloc),e.emscripten_get_sbrk_ptr=c(e.emscripten_get_sbrk_ptr),e._sbrk64=p(e._sbrk64),e.__emutls_get_address=t(e.__emutls_get_address),e.emscripten_stack_get_free=c(e.emscripten_stack_get_free),e._emscripten_stack_alloc=t(e._emscripten_stack_alloc),e.__cxa_current_primary_exception=c(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=j(e.gethostbyaddr),e.gethostbyname=t(e.gethostbyname),e.gethostbyname2=u(e.gethostbyname2),e.recvfrom=pe(e.recvfrom),e}function callMain(e=[]){var t=resolveGlobalSymbol("main").sym;if(t){e.unshift(thisProgram);var n=e.length,o=stackAlloc((n+1)*4),c=o;for(var u of e)HEAPU32[c>>>2>>>0]=stringToUTF8OnStack(u),c+=4;HEAPU32[c>>>2>>>0]=0;try{var d=t(n,o);return exitJS(d,!0),d}catch(p){return handleException(p)}}}async function run(e=programArgs){var o;preRun(),runDependencies&&await resolveRunDependencies();var t=Module.setStatus;if(t&&(t("Running..."),await new Promise(c=>setTimeout(c,1)),setTimeout(t,1,"")),!ABORT){initRuntime(),callRuntimeCallbacks(onMains),(o=Module.onRuntimeInitialized)==null||o.call(Module);var n=Module.noInitialRun||!1;n||callMain(e),postRun()}}var wasmExports;return wasmExports=await createWasm(),await run(),Module}})();typeof exports=="object"&&typeof module=="object"?(module.exports=DuckDB,module.exports.default=DuckDB):typeof define=="function"&&define.amd&&define([],()=>DuckDB)});var e_=Un(()=>{});var t_=Un(()=>{});var r_=Un((JS,wa)=>{(function(){"use strict";var l="input is invalid type",r=typeof window=="object",a=r?window:{};a.JS_SHA256_NO_WINDOW&&(r=!1);var _=!r&&typeof self=="object",f=!a.JS_SHA256_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node&&process.type!="renderer";f?a=global:_&&(a=self);var m=!a.JS_SHA256_NO_COMMON_JS&&typeof wa=="object"&&wa.exports,g=typeof define=="function"&&define.amd,e=!a.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",t="0123456789abcdef".split(""),n=[-2147483648,8388608,32768,128],o=[24,16,8,0],c=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],u=["hex","array","digest","arrayBuffer"],d=[];(a.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(S){return Object.prototype.toString.call(S)==="[object Array]"}),e&&(a.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(S){return typeof S=="object"&&S.buffer&&S.buffer.constructor===ArrayBuffer});var p=function(S,w){return function(T){return new A(w,!0).update(T)[S]()}},h=function(S){var w=p("hex",S);f&&(w=y(w,S)),w.create=function(){return new A(S)},w.update=function(P){return w.create().update(P)};for(var T=0;T<u.length;++T){var F=u[T];w[F]=p(F,S)}return w},y=function(S,w){var T=e_(),F=t_().Buffer,P=w?"sha224":"sha256",I;F.from&&!a.JS_SHA256_NO_BUFFER_FROM?I=F.from:I=function(C){return new F(C)};var B=function(C){if(typeof C=="string")return T.createHash(P).update(C,"utf8").digest("hex");if(C==null)throw new Error(l);return C.constructor===ArrayBuffer&&(C=new Uint8Array(C)),Array.isArray(C)||ArrayBuffer.isView(C)||C.constructor===F?T.createHash(P).update(I(C)).digest("hex"):S(C)};return B},b=function(S,w){return function(T,F){return new L(T,w,!0).update(F)[S]()}},v=function(S){var w=b("hex",S);w.create=function(P){return new L(P,S)},w.update=function(P,I){return w.create(P).update(I)};for(var T=0;T<u.length;++T){var F=u[T];w[F]=b(F,S)}return w};function A(S,w){w?(d[0]=d[16]=d[1]=d[2]=d[3]=d[4]=d[5]=d[6]=d[7]=d[8]=d[9]=d[10]=d[11]=d[12]=d[13]=d[14]=d[15]=0,this.blocks=d):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],S?(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=S}A.prototype.update=function(S){if(!this.finalized){var w,T=typeof S;if(T!=="string"){if(T==="object"){if(S===null)throw new Error(l);if(e&&S.constructor===ArrayBuffer)S=new Uint8Array(S);else if(!Array.isArray(S)&&(!e||!ArrayBuffer.isView(S)))throw new Error(l)}else throw new Error(l);w=!0}for(var F,P=0,I,B=S.length,C=this.blocks;P<B;){if(this.hashed&&(this.hashed=!1,C[0]=this.block,this.block=C[16]=C[1]=C[2]=C[3]=C[4]=C[5]=C[6]=C[7]=C[8]=C[9]=C[10]=C[11]=C[12]=C[13]=C[14]=C[15]=0),w)for(I=this.start;P<B&&I<64;++P)C[I>>>2]|=S[P]<<o[I++&3];else for(I=this.start;P<B&&I<64;++P)F=S.charCodeAt(P),F<128?C[I>>>2]|=F<<o[I++&3]:F<2048?(C[I>>>2]|=(192|F>>>6)<<o[I++&3],C[I>>>2]|=(128|F&63)<<o[I++&3]):F<55296||F>=57344?(C[I>>>2]|=(224|F>>>12)<<o[I++&3],C[I>>>2]|=(128|F>>>6&63)<<o[I++&3],C[I>>>2]|=(128|F&63)<<o[I++&3]):(F=65536+((F&1023)<<10|S.charCodeAt(++P)&1023),C[I>>>2]|=(240|F>>>18)<<o[I++&3],C[I>>>2]|=(128|F>>>12&63)<<o[I++&3],C[I>>>2]|=(128|F>>>6&63)<<o[I++&3],C[I>>>2]|=(128|F&63)<<o[I++&3]);this.lastByteIndex=I,this.bytes+=I-this.start,I>=64?(this.block=C[16],this.start=I-64,this.hash(),this.hashed=!0):this.start=I}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},A.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var S=this.blocks,w=this.lastByteIndex;S[16]=this.block,S[w>>>2]|=n[w&3],this.block=S[16],w>=56&&(this.hashed||this.hash(),S[0]=this.block,S[16]=S[1]=S[2]=S[3]=S[4]=S[5]=S[6]=S[7]=S[8]=S[9]=S[10]=S[11]=S[12]=S[13]=S[14]=S[15]=0),S[14]=this.hBytes<<3|this.bytes>>>29,S[15]=this.bytes<<3,this.hash()}},A.prototype.hash=function(){var S=this.h0,w=this.h1,T=this.h2,F=this.h3,P=this.h4,I=this.h5,B=this.h6,C=this.h7,x=this.blocks,M,R,re,Ee,j,pe,U,G,H,W,ae;for(M=16;M<64;++M)j=x[M-15],R=(j>>>7|j<<25)^(j>>>18|j<<14)^j>>>3,j=x[M-2],re=(j>>>17|j<<15)^(j>>>19|j<<13)^j>>>10,x[M]=x[M-16]+R+x[M-7]+re<<0;for(ae=w&T,M=0;M<64;M+=4)this.first?(this.is224?(G=300032,j=x[0]-1413257819,C=j-150054599<<0,F=j+24177077<<0):(G=704751109,j=x[0]-210244248,C=j-1521486534<<0,F=j+143694565<<0),this.first=!1):(R=(S>>>2|S<<30)^(S>>>13|S<<19)^(S>>>22|S<<10),re=(P>>>6|P<<26)^(P>>>11|P<<21)^(P>>>25|P<<7),G=S&w,Ee=G^S&T^ae,U=P&I^~P&B,j=C+re+U+c[M]+x[M],pe=R+Ee,C=F+j<<0,F=j+pe<<0),R=(F>>>2|F<<30)^(F>>>13|F<<19)^(F>>>22|F<<10),re=(C>>>6|C<<26)^(C>>>11|C<<21)^(C>>>25|C<<7),H=F&S,Ee=H^F&w^G,U=C&P^~C&I,j=B+re+U+c[M+1]+x[M+1],pe=R+Ee,B=T+j<<0,T=j+pe<<0,R=(T>>>2|T<<30)^(T>>>13|T<<19)^(T>>>22|T<<10),re=(B>>>6|B<<26)^(B>>>11|B<<21)^(B>>>25|B<<7),W=T&F,Ee=W^T&S^H,U=B&C^~B&P,j=I+re+U+c[M+2]+x[M+2],pe=R+Ee,I=w+j<<0,w=j+pe<<0,R=(w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10),re=(I>>>6|I<<26)^(I>>>11|I<<21)^(I>>>25|I<<7),ae=w&T,Ee=ae^w&F^W,U=I&B^~I&C,j=P+re+U+c[M+3]+x[M+3],pe=R+Ee,P=S+j<<0,S=j+pe<<0,this.chromeBugWorkAround=!0;this.h0=this.h0+S<<0,this.h1=this.h1+w<<0,this.h2=this.h2+T<<0,this.h3=this.h3+F<<0,this.h4=this.h4+P<<0,this.h5=this.h5+I<<0,this.h6=this.h6+B<<0,this.h7=this.h7+C<<0},A.prototype.hex=function(){this.finalize();var S=this.h0,w=this.h1,T=this.h2,F=this.h3,P=this.h4,I=this.h5,B=this.h6,C=this.h7,x=t[S>>>28&15]+t[S>>>24&15]+t[S>>>20&15]+t[S>>>16&15]+t[S>>>12&15]+t[S>>>8&15]+t[S>>>4&15]+t[S&15]+t[w>>>28&15]+t[w>>>24&15]+t[w>>>20&15]+t[w>>>16&15]+t[w>>>12&15]+t[w>>>8&15]+t[w>>>4&15]+t[w&15]+t[T>>>28&15]+t[T>>>24&15]+t[T>>>20&15]+t[T>>>16&15]+t[T>>>12&15]+t[T>>>8&15]+t[T>>>4&15]+t[T&15]+t[F>>>28&15]+t[F>>>24&15]+t[F>>>20&15]+t[F>>>16&15]+t[F>>>12&15]+t[F>>>8&15]+t[F>>>4&15]+t[F&15]+t[P>>>28&15]+t[P>>>24&15]+t[P>>>20&15]+t[P>>>16&15]+t[P>>>12&15]+t[P>>>8&15]+t[P>>>4&15]+t[P&15]+t[I>>>28&15]+t[I>>>24&15]+t[I>>>20&15]+t[I>>>16&15]+t[I>>>12&15]+t[I>>>8&15]+t[I>>>4&15]+t[I&15]+t[B>>>28&15]+t[B>>>24&15]+t[B>>>20&15]+t[B>>>16&15]+t[B>>>12&15]+t[B>>>8&15]+t[B>>>4&15]+t[B&15];return this.is224||(x+=t[C>>>28&15]+t[C>>>24&15]+t[C>>>20&15]+t[C>>>16&15]+t[C>>>12&15]+t[C>>>8&15]+t[C>>>4&15]+t[C&15]),x},A.prototype.toString=A.prototype.hex,A.prototype.digest=function(){this.finalize();var S=this.h0,w=this.h1,T=this.h2,F=this.h3,P=this.h4,I=this.h5,B=this.h6,C=this.h7,x=[S>>>24&255,S>>>16&255,S>>>8&255,S&255,w>>>24&255,w>>>16&255,w>>>8&255,w&255,T>>>24&255,T>>>16&255,T>>>8&255,T&255,F>>>24&255,F>>>16&255,F>>>8&255,F&255,P>>>24&255,P>>>16&255,P>>>8&255,P&255,I>>>24&255,I>>>16&255,I>>>8&255,I&255,B>>>24&255,B>>>16&255,B>>>8&255,B&255];return this.is224||x.push(C>>>24&255,C>>>16&255,C>>>8&255,C&255),x},A.prototype.array=A.prototype.digest,A.prototype.arrayBuffer=function(){this.finalize();var S=new ArrayBuffer(this.is224?28:32),w=new DataView(S);return w.setUint32(0,this.h0),w.setUint32(4,this.h1),w.setUint32(8,this.h2),w.setUint32(12,this.h3),w.setUint32(16,this.h4),w.setUint32(20,this.h5),w.setUint32(24,this.h6),this.is224||w.setUint32(28,this.h7),S};function L(S,w,T){var F,P=typeof S;if(P==="string"){var I=[],B=S.length,C=0,x;for(F=0;F<B;++F)x=S.charCodeAt(F),x<128?I[C++]=x:x<2048?(I[C++]=192|x>>>6,I[C++]=128|x&63):x<55296||x>=57344?(I[C++]=224|x>>>12,I[C++]=128|x>>>6&63,I[C++]=128|x&63):(x=65536+((x&1023)<<10|S.charCodeAt(++F)&1023),I[C++]=240|x>>>18,I[C++]=128|x>>>12&63,I[C++]=128|x>>>6&63,I[C++]=128|x&63);S=I}else if(P==="object"){if(S===null)throw new Error(l);if(e&&S.constructor===ArrayBuffer)S=new Uint8Array(S);else if(!Array.isArray(S)&&(!e||!ArrayBuffer.isView(S)))throw new Error(l)}else throw new Error(l);S.length>64&&(S=new A(w,!0).update(S).array());var M=[],R=[];for(F=0;F<64;++F){var re=S[F]||0;M[F]=92^re,R[F]=54^re}A.call(this,w,T),this.update(R),this.oKeyPad=M,this.inner=!0,this.sharedMemory=T}L.prototype=new A,L.prototype.finalize=function(){if(A.prototype.finalize.call(this),this.inner){this.inner=!1;var S=this.array();A.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(S),A.prototype.finalize.call(this)}};var E=h();E.sha256=E,E.sha224=h(!0),E.sha256.hmac=v(),E.sha224.hmac=v(!0),m?wa.exports=E:(a.sha256=E.sha256,a.sha224=E.sha224,g&&define(function(){return E}))})()});var zd={};Sr(zd,{registerWorker:()=>a_});function Xo(l,r){var a={};for(var _ in l)Object.prototype.hasOwnProperty.call(l,_)&&r.indexOf(_)<0&&(a[_]=l[_]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,_=Object.getOwnPropertySymbols(l);f<_.length;f++)r.indexOf(_[f])<0&&Object.prototype.propertyIsEnumerable.call(l,_[f])&&(a[_[f]]=l[_[f]]);return a}function O(l,r,a,_){function f(m){return m instanceof a?m:new a(function(g){g(m)})}return new(a||(a=Promise))(function(m,g){function e(o){try{n(_.next(o))}catch(c){g(c)}}function t(o){try{n(_.throw(o))}catch(c){g(c)}}function n(o){o.done?m(o.value):f(o.value).then(e,t)}n((_=_.apply(l,r||[])).next())})}function qo(l){var r=typeof Symbol=="function"&&Symbol.iterator,a=r&&l[r],_=0;if(a)return a.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&_>=l.length&&(l=void 0),{value:l&&l[_++],done:!l}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function oe(l){return this instanceof oe?(this.v=l,this):new oe(l)}function tt(l,r,a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var _=a.apply(l,r||[]),f,m=[];return f={},g("next"),g("throw"),g("return"),f[Symbol.asyncIterator]=function(){return this},f;function g(u){_[u]&&(f[u]=function(d){return new Promise(function(p,h){m.push([u,d,p,h])>1||e(u,d)})})}function e(u,d){try{t(_[u](d))}catch(p){c(m[0][3],p)}}function t(u){u.value instanceof oe?Promise.resolve(u.value.v).then(n,o):c(m[0][2],u)}function n(u){e("next",u)}function o(u){e("throw",u)}function c(u,d){u(d),m.shift(),m.length&&e(m[0][0],m[0][1])}}function an(l){var r,a;return r={},_("next"),_("throw",function(f){throw f}),_("return"),r[Symbol.iterator]=function(){return this},r;function _(f,m){r[f]=l[f]?function(g){return(a=!a)?{value:oe(l[f](g)),done:!1}:m?m(g):g}:m}}function mt(l){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=l[Symbol.asyncIterator],a;return r?r.call(l):(l=typeof qo=="function"?qo(l):l[Symbol.iterator](),a={},_("next"),_("throw"),_("return"),a[Symbol.asyncIterator]=function(){return this},a);function _(m){a[m]=l[m]&&function(g){return new Promise(function(e,t){g=l[m](g),f(e,t,g.done,g.value)})}}function f(m,g,e,t){Promise.resolve(t).then(function(n){m({value:n,done:e})},g)}}var xa={};Sr(xa,{compareArrayLike:()=>ka,joinUint8Arrays:()=>rt,memcpy:()=>Rn,rebaseValueOffsets:()=>zi,toArrayBufferView:()=>le,toArrayBufferViewAsyncIterator:()=>vt,toArrayBufferViewIterator:()=>Gt,toBigInt64Array:()=>Vi,toBigUint64Array:()=>A_,toFloat32Array:()=>L_,toFloat32ArrayAsyncIterator:()=>R_,toFloat32ArrayIterator:()=>I_,toFloat64Array:()=>E_,toFloat64ArrayAsyncIterator:()=>H_,toFloat64ArrayIterator:()=>k_,toInt16Array:()=>y_,toInt16ArrayAsyncIterator:()=>B_,toInt16ArrayIterator:()=>D_,toInt32Array:()=>Rr,toInt32ArrayAsyncIterator:()=>U_,toInt32ArrayIterator:()=>T_,toInt8Array:()=>v_,toInt8ArrayAsyncIterator:()=>M_,toInt8ArrayIterator:()=>F_,toUint16Array:()=>b_,toUint16ArrayAsyncIterator:()=>G_,toUint16ArrayIterator:()=>P_,toUint32Array:()=>S_,toUint32ArrayAsyncIterator:()=>O_,toUint32ArrayIterator:()=>C_,toUint8Array:()=>Q,toUint8ArrayAsyncIterator:()=>Ia,toUint8ArrayIterator:()=>Ca,toUint8ClampedArray:()=>w_,toUint8ClampedArrayAsyncIterator:()=>N_,toUint8ClampedArrayIterator:()=>x_});var p_=new TextDecoder("utf-8"),Gn=l=>p_.decode(l),m_=new TextEncoder,Ut=l=>m_.encode(l);var g_=l=>typeof l=="number",Yo=l=>typeof l=="boolean",Ue=l=>typeof l=="function",je=l=>l!=null&&Object(l)===l,gt=l=>je(l)&&Ue(l.then);var ht=l=>je(l)&&Ue(l[Symbol.iterator]),lt=l=>je(l)&&Ue(l[Symbol.asyncIterator]),Gi=l=>je(l)&&je(l.schema);var Oi=l=>je(l)&&"done"in l&&"value"in l;var Ri=l=>je(l)&&Ue(l.stat)&&g_(l.fd);var Hi=l=>je(l)&&On(l.body),Ni=l=>"_getDOMStream"in l&&"_getNodeStream"in l,Jo=l=>je(l)&&Ue(l.abort)&&Ue(l.getWriter)&&!Ni(l),On=l=>je(l)&&Ue(l.cancel)&&Ue(l.getReader)&&!Ni(l),Ko=l=>je(l)&&Ue(l.end)&&Ue(l.write)&&Yo(l.writable)&&!Ni(l),Wi=l=>je(l)&&Ue(l.read)&&Ue(l.pipe)&&Yo(l.readable)&&!Ni(l),Qo=l=>je(l)&&Ue(l.clear)&&Ue(l.bytes)&&Ue(l.position)&&Ue(l.setPosition)&&Ue(l.capacity)&&Ue(l.getBufferIdentifier)&&Ue(l.createLong);var Pa=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function h_(l){let r=l[0]?[l[0]]:[],a,_,f,m;for(let g,e,t=0,n=0,o=l.length;++t<o;){if(g=r[n],e=l[t],!g||!e||g.buffer!==e.buffer||e.byteOffset<g.byteOffset){e&&(r[++n]=e);continue}if({byteOffset:a,byteLength:f}=g,{byteOffset:_,byteLength:m}=e,a+f<_||_+m<a){e&&(r[++n]=e);continue}r[n]=new Uint8Array(g.buffer,a,_-a+m)}return r}function Rn(l,r,a=0,_=r.byteLength){let f=l.byteLength,m=new Uint8Array(l.buffer,l.byteOffset,f),g=new Uint8Array(r.buffer,r.byteOffset,Math.min(_,f));return m.set(g,a),l}function rt(l,r){let a=h_(l),_=a.reduce((o,c)=>o+c.byteLength,0),f,m,g,e=0,t=-1,n=Math.min(r||Number.POSITIVE_INFINITY,_);for(let o=a.length;++t<o;){if(f=a[t],m=f.subarray(0,Math.min(f.length,n-e)),n<=e+m.length){m.length<f.length?a[t]=f.subarray(m.length):m.length===f.length&&t++,g?Rn(g,m,e):g=m;break}Rn(g||(g=new Uint8Array(n)),m,e),e+=m.length}return[g||new Uint8Array(0),a.slice(t),_-(g?g.byteLength:0)]}function le(l,r){let a=Oi(r)?r.value:r;return a instanceof l?l===Uint8Array?new l(a.buffer,a.byteOffset,a.byteLength):a:a?(typeof a=="string"&&(a=Ut(a)),a instanceof ArrayBuffer?new l(a):a instanceof Pa?new l(a):Qo(a)?le(l,a.bytes()):ArrayBuffer.isView(a)?a.byteLength<=0?new l(0):new l(a.buffer,a.byteOffset,a.byteLength/l.BYTES_PER_ELEMENT):l.from(a)):new l(0)}var v_=l=>le(Int8Array,l),y_=l=>le(Int16Array,l),Rr=l=>le(Int32Array,l),Vi=l=>le(BigInt64Array,l),Q=l=>le(Uint8Array,l),b_=l=>le(Uint16Array,l),S_=l=>le(Uint32Array,l),A_=l=>le(BigUint64Array,l),L_=l=>le(Float32Array,l),E_=l=>le(Float64Array,l),w_=l=>le(Uint8ClampedArray,l),Ta=l=>(l.next(),l);function*Gt(l,r){let a=function*(f){yield f},_=typeof r=="string"||ArrayBuffer.isView(r)||r instanceof ArrayBuffer||r instanceof Pa?a(r):ht(r)?r:a(r);return yield*Ta(function*(f){let m=null;do m=f.next(yield le(l,m));while(!m.done)}(_[Symbol.iterator]())),new l}var F_=l=>Gt(Int8Array,l),D_=l=>Gt(Int16Array,l),T_=l=>Gt(Int32Array,l),Ca=l=>Gt(Uint8Array,l),P_=l=>Gt(Uint16Array,l),C_=l=>Gt(Uint32Array,l),I_=l=>Gt(Float32Array,l),k_=l=>Gt(Float64Array,l),x_=l=>Gt(Uint8ClampedArray,l);function vt(l,r){return tt(this,arguments,function*(){if(gt(r))return yield oe(yield oe(yield*an(mt(vt(l,yield oe(r))))));let _=function(g){return tt(this,arguments,function*(){yield yield oe(yield oe(g))})},f=function(g){return tt(this,arguments,function*(){yield oe(yield*an(mt(Ta(function*(e){let t=null;do t=e.next(yield t==null?void 0:t.value);while(!t.done)}(g[Symbol.iterator]())))))})},m=typeof r=="string"||ArrayBuffer.isView(r)||r instanceof ArrayBuffer||r instanceof Pa?_(r):ht(r)?f(r):lt(r)?r:_(r);return yield oe(yield*an(mt(Ta(function(g){return tt(this,arguments,function*(){let e=null;do e=yield oe(g.next(yield yield oe(le(l,e))));while(!e.done)})}(m[Symbol.asyncIterator]()))))),yield oe(new l)})}var M_=l=>vt(Int8Array,l),B_=l=>vt(Int16Array,l),U_=l=>vt(Int32Array,l),Ia=l=>vt(Uint8Array,l),G_=l=>vt(Uint16Array,l),O_=l=>vt(Uint32Array,l),R_=l=>vt(Float32Array,l),H_=l=>vt(Float64Array,l),N_=l=>vt(Uint8ClampedArray,l);function zi(l,r,a){if(l!==0){a=a.slice(0,r);for(let _=-1,f=a.length;++_<f;)a[_]+=l}return a.subarray(0,r)}function ka(l,r){let a=0,_=l.length;if(_!==r.length)return!1;if(_>0)do if(l[a]!==r[a])return!1;while(++a<_);return!0}var He={fromIterable(l){return ji(W_(l))},fromAsyncIterable(l){return ji(V_(l))},fromDOMStream(l){return ji(z_(l))},fromNodeStream(l){return ji(j_(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')}},ji=l=>(l.next(),l);function*W_(l){let r,a=!1,_=[],f,m,g,e=0;function t(){return m==="peek"?rt(_,g)[0]:([f,_,e]=rt(_,g),f)}({cmd:m,size:g}=(yield null)||{cmd:"read",size:0});let n=Ca(l)[Symbol.iterator]();try{do if({done:r,value:f}=Number.isNaN(g-e)?n.next():n.next(g-e),!r&&f.byteLength>0&&(_.push(f),e+=f.byteLength),r||g<=e)do({cmd:m,size:g}=yield t());while(g<e);while(!r)}catch(o){(a=!0)&&typeof n.throw=="function"&&n.throw(o)}finally{a===!1&&typeof n.return=="function"&&n.return(null)}return null}function V_(l){return tt(this,arguments,function*(){let a,_=!1,f=[],m,g,e,t=0;function n(){return g==="peek"?rt(f,e)[0]:([m,f,t]=rt(f,e),m)}({cmd:g,size:e}=(yield yield oe(null))||{cmd:"read",size:0});let o=Ia(l)[Symbol.asyncIterator]();try{do if({done:a,value:m}=Number.isNaN(e-t)?yield oe(o.next()):yield oe(o.next(e-t)),!a&&m.byteLength>0&&(f.push(m),t+=m.byteLength),a||e<=t)do({cmd:g,size:e}=yield yield oe(n()));while(e<t);while(!a)}catch(c){(_=!0)&&typeof o.throw=="function"&&(yield oe(o.throw(c)))}finally{_===!1&&typeof o.return=="function"&&(yield oe(o.return(new Uint8Array(0))))}return yield oe(null)})}function z_(l){return tt(this,arguments,function*(){let a=!1,_=!1,f=[],m,g,e,t=0;function n(){return g==="peek"?rt(f,e)[0]:([m,f,t]=rt(f,e),m)}({cmd:g,size:e}=(yield yield oe(null))||{cmd:"read",size:0});let o=new Ba(l);try{do if({done:a,value:m}=Number.isNaN(e-t)?yield oe(o.read()):yield oe(o.read(e-t)),!a&&m.byteLength>0&&(f.push(Q(m)),t+=m.byteLength),a||e<=t)do({cmd:g,size:e}=yield yield oe(n()));while(e<t);while(!a)}catch(c){(_=!0)&&(yield oe(o.cancel(c)))}finally{_===!1?yield oe(o.cancel()):l.locked&&o.releaseLock()}return yield oe(null)})}var 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 O(this,void 0,void 0,function*(){let{reader:a,source:_}=this;a&&(yield a.cancel(r).catch(()=>{})),_&&_.locked&&this.releaseLock()})}read(r){return O(this,void 0,void 0,function*(){if(r===0)return{done:this.reader==null,value:new Uint8Array(0)};let a=yield this.reader.read();return!a.done&&(a.value=Q(a)),a})}},Ma=(l,r)=>{let a=f=>_([r,f]),_;return[r,a,new Promise(f=>(_=f)&&l.once(r,a))]};function j_(l){return tt(this,arguments,function*(){let a=[],_="error",f=!1,m=null,g,e,t=0,n=[],o;function c(){return g==="peek"?rt(n,e)[0]:([o,n,t]=rt(n,e),o)}if({cmd:g,size:e}=(yield yield oe(null))||{cmd:"read",size:0},l.isTTY)return yield yield oe(new Uint8Array(0)),yield oe(null);try{a[0]=Ma(l,"end"),a[1]=Ma(l,"error");do{if(a[2]=Ma(l,"readable"),[_,m]=yield oe(Promise.race(a.map(d=>d[2]))),_==="error")break;if((f=_==="end")||(Number.isFinite(e-t)?(o=Q(l.read(e-t)),o.byteLength<e-t&&(o=Q(l.read()))):o=Q(l.read()),o.byteLength>0&&(n.push(o),t+=o.byteLength)),f||e<=t)do({cmd:g,size:e}=yield yield oe(c()));while(e<t)}while(!f)}finally{yield oe(u(a,_==="error"?m:null))}return yield oe(null);function u(d,p){return o=n=null,new Promise((h,y)=>{for(let[b,v]of d)l.off(b,v);try{let b=l.destroy;b&&b.call(l,p),p=void 0}catch(b){p=b||p}finally{p!=null?y(p):h()}})}})}var ge;(function(l){l[l.V1=0]="V1",l[l.V2=1]="V2",l[l.V3=2]="V3",l[l.V4=3]="V4",l[l.V5=4]="V5"})(ge||(ge={}));var Se;(function(l){l[l.Sparse=0]="Sparse",l[l.Dense=1]="Dense"})(Se||(Se={}));var be;(function(l){l[l.HALF=0]="HALF",l[l.SINGLE=1]="SINGLE",l[l.DOUBLE=2]="DOUBLE"})(be||(be={}));var Ce;(function(l){l[l.DAY=0]="DAY",l[l.MILLISECOND=1]="MILLISECOND"})(Ce||(Ce={}));var V;(function(l){l[l.SECOND=0]="SECOND",l[l.MILLISECOND=1]="MILLISECOND",l[l.MICROSECOND=2]="MICROSECOND",l[l.NANOSECOND=3]="NANOSECOND"})(V||(V={}));var Ge;(function(l){l[l.YEAR_MONTH=0]="YEAR_MONTH",l[l.DAY_TIME=1]="DAY_TIME",l[l.MONTH_DAY_NANO=2]="MONTH_DAY_NANO"})(Ge||(Ge={}));var Ot=new Int32Array(2),$i=new Float32Array(Ot.buffer),qi=new Float64Array(Ot.buffer),on=new Uint16Array(new Uint8Array([1,0]).buffer)[0]===1;var Hn;(function(l){l[l.UTF8_BYTES=1]="UTF8_BYTES",l[l.UTF16_STRING=2]="UTF16_STRING"})(Hn||(Hn={}));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 Ot[0]=this.readInt32(r),$i[0]}readFloat64(r){return Ot[on?0:1]=this.readInt32(r),Ot[on?1:0]=this.readInt32(r+4),qi[0]}writeInt8(r,a){this.bytes_[r]=a}writeUint8(r,a){this.bytes_[r]=a}writeInt16(r,a){this.bytes_[r]=a,this.bytes_[r+1]=a>>8}writeUint16(r,a){this.bytes_[r]=a,this.bytes_[r+1]=a>>8}writeInt32(r,a){this.bytes_[r]=a,this.bytes_[r+1]=a>>8,this.bytes_[r+2]=a>>16,this.bytes_[r+3]=a>>24}writeUint32(r,a){this.bytes_[r]=a,this.bytes_[r+1]=a>>8,this.bytes_[r+2]=a>>16,this.bytes_[r+3]=a>>24}writeInt64(r,a){this.writeInt32(r,Number(BigInt.asIntN(32,a))),this.writeInt32(r+4,Number(BigInt.asIntN(32,a>>BigInt(32))))}writeUint64(r,a){this.writeUint32(r,Number(BigInt.asUintN(32,a))),this.writeUint32(r+4,Number(BigInt.asUintN(32,a>>BigInt(32))))}writeFloat32(r,a){$i[0]=a,this.writeInt32(r,Ot[0])}writeFloat64(r,a){qi[0]=a,this.writeInt32(r,Ot[on?0:1]),this.writeInt32(r+4,Ot[on?1:0])}getBufferIdentifier(){if(this.bytes_.length<this.position_+4+4)throw new Error("FlatBuffers: ByteBuffer is too short to contain an identifier.");let r="";for(let a=0;a<4;a++)r+=String.fromCharCode(this.readInt8(this.position_+4+a));return r}__offset(r,a){let _=r-this.readInt32(r);return a<this.readInt16(_)?this.readInt16(_+a):0}__union(r,a){return r.bb_pos=a+this.readInt32(a),r.bb=this,r}__string(r,a){r+=this.readInt32(r);let _=this.readInt32(r);r+=4;let f=this.bytes_.subarray(r,r+_);return a===Hn.UTF8_BYTES?f:this.text_decoder_.decode(f)}__union_with_string(r,a){return typeof r=="string"?this.__string(a):this.__union(r,a)}__indirect(r){return r+this.readInt32(r)}__vector(r){return r+this.readInt32(r)+4}__vector_len(r){return this.readInt32(r+this.readInt32(r))}__has_identifier(r){if(r.length!=4)throw new Error("FlatBuffers: file identifier must be length "+4);for(let a=0;a<4;a++)if(r.charCodeAt(a)!=this.readInt8(this.position()+4+a))return!1;return!0}createScalarList(r,a){let _=[];for(let f=0;f<a;++f){let m=r(f);m!==null&&_.push(m)}return _}createObjList(r,a){let _=[];for(let f=0;f<a;++f){let m=r(f);m!==null&&_.push(m.unpack())}return _}};var Hr=class l{constructor(r){this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1,this.string_maps=null,this.text_encoder=new TextEncoder;let a;r?a=r:a=1024,this.bb=nt.allocate(a),this.space=a}clear(){this.bb.clear(),this.space=this.bb.capacity(),this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1,this.string_maps=null}forceDefaults(r){this.force_defaults=r}dataBuffer(){return this.bb}asUint8Array(){return this.bb.bytes().subarray(this.bb.position(),this.bb.position()+this.offset())}prep(r,a){r>this.minalign&&(this.minalign=r);let _=~(this.bb.capacity()-this.space+a)+1&r-1;for(;this.space<_+r+a;){let f=this.bb.capacity();this.bb=l.growByteBuffer(this.bb),this.space+=this.bb.capacity()-f}this.pad(_)}pad(r){for(let a=0;a<r;a++)this.bb.writeInt8(--this.space,0)}writeInt8(r){this.bb.writeInt8(this.space-=1,r)}writeInt16(r){this.bb.writeInt16(this.space-=2,r)}writeInt32(r){this.bb.writeInt32(this.space-=4,r)}writeInt64(r){this.bb.writeInt64(this.space-=8,r)}writeFloat32(r){this.bb.writeFloat32(this.space-=4,r)}writeFloat64(r){this.bb.writeFloat64(this.space-=8,r)}addInt8(r){this.prep(1,0),this.writeInt8(r)}addInt16(r){this.prep(2,0),this.writeInt16(r)}addInt32(r){this.prep(4,0),this.writeInt32(r)}addInt64(r){this.prep(8,0),this.writeInt64(r)}addFloat32(r){this.prep(4,0),this.writeFloat32(r)}addFloat64(r){this.prep(8,0),this.writeFloat64(r)}addFieldInt8(r,a,_){(this.force_defaults||a!=_)&&(this.addInt8(a),this.slot(r))}addFieldInt16(r,a,_){(this.force_defaults||a!=_)&&(this.addInt16(a),this.slot(r))}addFieldInt32(r,a,_){(this.force_defaults||a!=_)&&(this.addInt32(a),this.slot(r))}addFieldInt64(r,a,_){(this.force_defaults||a!==_)&&(this.addInt64(a),this.slot(r))}addFieldFloat32(r,a,_){(this.force_defaults||a!=_)&&(this.addFloat32(a),this.slot(r))}addFieldFloat64(r,a,_){(this.force_defaults||a!=_)&&(this.addFloat64(a),this.slot(r))}addFieldOffset(r,a,_){(this.force_defaults||a!=_)&&(this.addOffset(a),this.slot(r))}addFieldStruct(r,a,_){a!=_&&(this.nested(a),this.slot(r))}nested(r){if(r!=this.offset())throw new TypeError("FlatBuffers: struct must be serialized inline.")}notNested(){if(this.isNested)throw new TypeError("FlatBuffers: object serialization must not be nested.")}slot(r){this.vtable!==null&&(this.vtable[r]=this.offset())}offset(){return this.bb.capacity()-this.space}static growByteBuffer(r){let a=r.capacity();if(a&3221225472)throw new Error("FlatBuffers: cannot grow buffer beyond 2 gigabytes.");let _=a<<1,f=nt.allocate(_);return f.setPosition(_-a),f.bytes().set(r.bytes(),_-a),f}addOffset(r){this.prep(4,0),this.writeInt32(this.offset()-r+4)}startObject(r){this.notNested(),this.vtable==null&&(this.vtable=[]),this.vtable_in_use=r;for(let a=0;a<r;a++)this.vtable[a]=0;this.isNested=!0,this.object_start=this.offset()}endObject(){if(this.vtable==null||!this.isNested)throw new Error("FlatBuffers: endObject called without startObject");this.addInt32(0);let r=this.offset(),a=this.vtable_in_use-1;for(;a>=0&&this.vtable[a]==0;a--);let _=a+1;for(;a>=0;a--)this.addInt16(this.vtable[a]!=0?r-this.vtable[a]:0);let f=2;this.addInt16(r-this.object_start);let m=(_+f)*2;this.addInt16(m);let g=0,e=this.space;e:for(a=0;a<this.vtables.length;a++){let t=this.bb.capacity()-this.vtables[a];if(m==this.bb.readInt16(t)){for(let n=2;n<m;n+=2)if(this.bb.readInt16(e+n)!=this.bb.readInt16(t+n))continue e;g=this.vtables[a];break}}return g?(this.space=this.bb.capacity()-r,this.bb.writeInt32(this.space,g-r)):(this.vtables.push(this.offset()),this.bb.writeInt32(this.bb.capacity()-r,this.offset()-r)),this.isNested=!1,r}finish(r,a,_){let f=_?4:0;if(a){let m=a;if(this.prep(this.minalign,8+f),m.length!=4)throw new TypeError("FlatBuffers: file identifier must be length "+4);for(let g=3;g>=0;g--)this.writeInt8(m.charCodeAt(g))}this.prep(this.minalign,4+f),this.addOffset(r),f&&this.addInt32(this.bb.capacity()-this.space),this.bb.setPosition(this.space)}finishSizePrefixed(r,a){this.finish(r,a,!0)}requiredField(r,a){let _=this.bb.capacity()-r,f=_-this.bb.readInt32(_);if(!(a<this.bb.readInt16(f)&&this.bb.readInt16(f+a)!=0))throw new TypeError("FlatBuffers: field "+a+" must be set")}startVector(r,a,_){this.notNested(),this.vector_num_elems=a,this.prep(4,r*a),this.prep(_,r*a)}endVector(){return this.writeInt32(this.vector_num_elems),this.offset()}createSharedString(r){if(!r)return 0;if(this.string_maps||(this.string_maps=new Map),this.string_maps.has(r))return this.string_maps.get(r);let a=this.createString(r);return this.string_maps.set(r,a),a}createString(r){if(r==null)return 0;let a;return r instanceof Uint8Array?a=r:a=this.text_encoder.encode(r),this.addInt8(0),this.startVector(1,a.length,1),this.bb.setPosition(this.space-=a.length),this.bb.bytes().set(a,this.space),this.endVector()}createByteVector(r){return r==null?0:(this.startVector(1,r.length,1),this.bb.setPosition(this.space-=r.length),this.bb.bytes().set(r,this.space),this.endVector())}createObjectOffset(r){return r===null?0:typeof r=="string"?this.createString(r):r.pack(this)}createObjectOffsetList(r){let a=[];for(let _=0;_<r.length;++_){let f=r[_];if(f!==null)a.push(this.createObjectOffset(f));else throw new TypeError("FlatBuffers: Argument for createObjectOffsetList cannot contain null.")}return a}createStructOffsetList(r,a){return a(this,r.length),this.createObjectOffsetList(r.slice().reverse()),this.endVector()}};var Nn;(function(l){l[l.BUFFER=0]="BUFFER"})(Nn||(Nn={}));var Wn;(function(l){l[l.LZ4_FRAME=0]="LZ4_FRAME",l[l.ZSTD=1]="ZSTD"})(Wn||(Wn={}));var Yi=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsBodyCompression(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBodyCompression(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}codec(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt8(this.bb_pos+r):Wn.LZ4_FRAME}method(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.readInt8(this.bb_pos+r):Nn.BUFFER}static startBodyCompression(r){r.startObject(2)}static addCodec(r,a){r.addFieldInt8(0,a,Wn.LZ4_FRAME)}static addMethod(r,a){r.addFieldInt8(1,a,Nn.BUFFER)}static endBodyCompression(r){return r.endObject()}static createBodyCompression(r,a,_){return l.startBodyCompression(r),l.addCodec(r,a),l.addMethod(r,_),l.endBodyCompression(r)}};var ln=class{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(r,a,_){return r.prep(8,16),r.writeInt64(BigInt(_!=null?_:0)),r.writeInt64(BigInt(a!=null?a:0)),r.offset()}};var cn=class{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(r,a,_){return r.prep(8,16),r.writeInt64(BigInt(_!=null?_:0)),r.writeInt64(BigInt(a!=null?a:0)),r.offset()}};var it=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsRecordBatch(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsRecordBatch(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}length(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt64(this.bb_pos+r):BigInt("0")}nodes(r,a){let _=this.bb.__offset(this.bb_pos,6);return _?(a||new cn).__init(this.bb.__vector(this.bb_pos+_)+r*16,this.bb):null}nodesLength(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.__vector_len(this.bb_pos+r):0}buffers(r,a){let _=this.bb.__offset(this.bb_pos,8);return _?(a||new ln).__init(this.bb.__vector(this.bb_pos+_)+r*16,this.bb):null}buffersLength(){let r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__vector_len(this.bb_pos+r):0}compression(r){let a=this.bb.__offset(this.bb_pos,10);return a?(r||new Yi).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}static startRecordBatch(r){r.startObject(4)}static addLength(r,a){r.addFieldInt64(0,a,BigInt("0"))}static addNodes(r,a){r.addFieldOffset(1,a,0)}static startNodesVector(r,a){r.startVector(16,a,8)}static addBuffers(r,a){r.addFieldOffset(2,a,0)}static startBuffersVector(r,a){r.startVector(16,a,8)}static addCompression(r,a){r.addFieldOffset(3,a,0)}static endRecordBatch(r){return r.endObject()}};var Xt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDictionaryBatch(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDictionaryBatch(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}id(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt64(this.bb_pos+r):BigInt("0")}data(r){let a=this.bb.__offset(this.bb_pos,6);return a?(r||new it).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}isDelta(){let r=this.bb.__offset(this.bb_pos,8);return r?!!this.bb.readInt8(this.bb_pos+r):!1}static startDictionaryBatch(r){r.startObject(3)}static addId(r,a){r.addFieldInt64(0,a,BigInt("0"))}static addData(r,a){r.addFieldOffset(1,a,0)}static addIsDelta(r,a){r.addFieldInt8(2,+a,0)}static endDictionaryBatch(r){return r.endObject()}};var Ar;(function(l){l[l.Little=0]="Little",l[l.Big=1]="Big"})(Ar||(Ar={}));var Vn;(function(l){l[l.DenseArray=0]="DenseArray"})(Vn||(Vn={}));var bt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsInt(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsInt(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}bitWidth(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt32(this.bb_pos+r):0}isSigned(){let r=this.bb.__offset(this.bb_pos,6);return r?!!this.bb.readInt8(this.bb_pos+r):!1}static startInt(r){r.startObject(2)}static addBitWidth(r,a){r.addFieldInt32(0,a,0)}static addIsSigned(r,a){r.addFieldInt8(1,+a,0)}static endInt(r){return r.endObject()}static createInt(r,a,_){return l.startInt(r),l.addBitWidth(r,a),l.addIsSigned(r,_),l.endInt(r)}};var Rt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDictionaryEncoding(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDictionaryEncoding(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}id(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt64(this.bb_pos+r):BigInt("0")}indexType(r){let a=this.bb.__offset(this.bb_pos,6);return a?(r||new bt).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}isOrdered(){let r=this.bb.__offset(this.bb_pos,8);return r?!!this.bb.readInt8(this.bb_pos+r):!1}dictionaryKind(){let r=this.bb.__offset(this.bb_pos,10);return r?this.bb.readInt16(this.bb_pos+r):Vn.DenseArray}static startDictionaryEncoding(r){r.startObject(4)}static addId(r,a){r.addFieldInt64(0,a,BigInt("0"))}static addIndexType(r,a){r.addFieldOffset(1,a,0)}static addIsOrdered(r,a){r.addFieldInt8(2,+a,0)}static addDictionaryKind(r,a){r.addFieldInt16(3,a,Vn.DenseArray)}static endDictionaryEncoding(r){return r.endObject()}};var Oe=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsKeyValue(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsKeyValue(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}key(r){let a=this.bb.__offset(this.bb_pos,4);return a?this.bb.__string(this.bb_pos+a,r):null}value(r){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__string(this.bb_pos+a,r):null}static startKeyValue(r){r.startObject(2)}static addKey(r,a){r.addFieldOffset(0,a,0)}static addValue(r,a){r.addFieldOffset(1,a,0)}static endKeyValue(r){return r.endObject()}static createKeyValue(r,a,_){return l.startKeyValue(r),l.addKey(r,a),l.addValue(r,_),l.endKeyValue(r)}};var zn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsBinary(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBinary(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startBinary(r){r.startObject(0)}static endBinary(r){return r.endObject()}static createBinary(r){return l.startBinary(r),l.endBinary(r)}};var jn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsBool(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsBool(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startBool(r){r.startObject(0)}static endBool(r){return r.endObject()}static createBool(r){return l.startBool(r),l.endBool(r)}};var Lr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDate(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDate(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):Ce.MILLISECOND}static startDate(r){r.startObject(1)}static addUnit(r,a){r.addFieldInt16(0,a,Ce.MILLISECOND)}static endDate(r){return r.endObject()}static createDate(r,a){return l.startDate(r),l.addUnit(r,a),l.endDate(r)}};var Ht=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDecimal(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDecimal(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}precision(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt32(this.bb_pos+r):0}scale(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.readInt32(this.bb_pos+r):0}bitWidth(){let r=this.bb.__offset(this.bb_pos,8);return r?this.bb.readInt32(this.bb_pos+r):128}static startDecimal(r){r.startObject(3)}static addPrecision(r,a){r.addFieldInt32(0,a,0)}static addScale(r,a){r.addFieldInt32(1,a,0)}static addBitWidth(r,a){r.addFieldInt32(2,a,128)}static endDecimal(r){return r.endObject()}static createDecimal(r,a,_,f){return l.startDecimal(r),l.addPrecision(r,a),l.addScale(r,_),l.addBitWidth(r,f),l.endDecimal(r)}};var Er=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsDuration(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsDuration(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):V.MILLISECOND}static startDuration(r){r.startObject(1)}static addUnit(r,a){r.addFieldInt16(0,a,V.MILLISECOND)}static endDuration(r){return r.endObject()}static createDuration(r,a){return l.startDuration(r),l.addUnit(r,a),l.endDuration(r)}};var wr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsFixedSizeBinary(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFixedSizeBinary(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}byteWidth(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt32(this.bb_pos+r):0}static startFixedSizeBinary(r){r.startObject(1)}static addByteWidth(r,a){r.addFieldInt32(0,a,0)}static endFixedSizeBinary(r){return r.endObject()}static createFixedSizeBinary(r,a){return l.startFixedSizeBinary(r),l.addByteWidth(r,a),l.endFixedSizeBinary(r)}};var Fr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsFixedSizeList(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFixedSizeList(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}listSize(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt32(this.bb_pos+r):0}static startFixedSizeList(r){r.startObject(1)}static addListSize(r,a){r.addFieldInt32(0,a,0)}static endFixedSizeList(r){return r.endObject()}static createFixedSizeList(r,a){return l.startFixedSizeList(r),l.addListSize(r,a),l.endFixedSizeList(r)}};var Dr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsFloatingPoint(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsFloatingPoint(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}precision(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):be.HALF}static startFloatingPoint(r){r.startObject(1)}static addPrecision(r,a){r.addFieldInt16(0,a,be.HALF)}static endFloatingPoint(r){return r.endObject()}static createFloatingPoint(r,a){return l.startFloatingPoint(r),l.addPrecision(r,a),l.endFloatingPoint(r)}};var Tr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsInterval(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsInterval(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):Ge.YEAR_MONTH}static startInterval(r){r.startObject(1)}static addUnit(r,a){r.addFieldInt16(0,a,Ge.YEAR_MONTH)}static endInterval(r){return r.endObject()}static createInterval(r,a){return l.startInterval(r),l.addUnit(r,a),l.endInterval(r)}};var $n=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsLargeBinary(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsLargeBinary(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startLargeBinary(r){r.startObject(0)}static endLargeBinary(r){return r.endObject()}static createLargeBinary(r){return l.startLargeBinary(r),l.endLargeBinary(r)}};var qn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsLargeUtf8(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsLargeUtf8(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startLargeUtf8(r){r.startObject(0)}static endLargeUtf8(r){return r.endObject()}static createLargeUtf8(r){return l.startLargeUtf8(r),l.endLargeUtf8(r)}};var Xn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsList(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsList(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startList(r){r.startObject(0)}static endList(r){return r.endObject()}static createList(r){return l.startList(r),l.endList(r)}};var Pr=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsMap(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsMap(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}keysSorted(){let r=this.bb.__offset(this.bb_pos,4);return r?!!this.bb.readInt8(this.bb_pos+r):!1}static startMap(r){r.startObject(1)}static addKeysSorted(r,a){r.addFieldInt8(0,+a,0)}static endMap(r){return r.endObject()}static createMap(r,a){return l.startMap(r),l.addKeysSorted(r,a),l.endMap(r)}};var Yn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsNull(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsNull(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startNull(r){r.startObject(0)}static endNull(r){return r.endObject()}static createNull(r){return l.startNull(r),l.endNull(r)}};var Jn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsStruct_(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsStruct_(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startStruct_(r){r.startObject(0)}static endStruct_(r){return r.endObject()}static createStruct_(r){return l.startStruct_(r),l.endStruct_(r)}};var Yt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsTime(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsTime(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):V.MILLISECOND}bitWidth(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.readInt32(this.bb_pos+r):32}static startTime(r){r.startObject(2)}static addUnit(r,a){r.addFieldInt16(0,a,V.MILLISECOND)}static addBitWidth(r,a){r.addFieldInt32(1,a,32)}static endTime(r){return r.endObject()}static createTime(r,a,_){return l.startTime(r),l.addUnit(r,a),l.addBitWidth(r,_),l.endTime(r)}};var Jt=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsTimestamp(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsTimestamp(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}unit(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):V.SECOND}timezone(r){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__string(this.bb_pos+a,r):null}static startTimestamp(r){r.startObject(2)}static addUnit(r,a){r.addFieldInt16(0,a,V.SECOND)}static addTimezone(r,a){r.addFieldOffset(1,a,0)}static endTimestamp(r){return r.endObject()}static createTimestamp(r,a,_){return l.startTimestamp(r),l.addUnit(r,a),l.addTimezone(r,_),l.endTimestamp(r)}};var St=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsUnion(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsUnion(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}mode(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):Se.Sparse}typeIds(r){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.readInt32(this.bb.__vector(this.bb_pos+a)+r*4):0}typeIdsLength(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.__vector_len(this.bb_pos+r):0}typeIdsArray(){let r=this.bb.__offset(this.bb_pos,6);return r?new Int32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+r),this.bb.__vector_len(this.bb_pos+r)):null}static startUnion(r){r.startObject(2)}static addMode(r,a){r.addFieldInt16(0,a,Se.Sparse)}static addTypeIds(r,a){r.addFieldOffset(1,a,0)}static createTypeIdsVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addInt32(a[_]);return r.endVector()}static startTypeIdsVector(r,a){r.startVector(4,a,4)}static endUnion(r){return r.endObject()}static createUnion(r,a,_){return l.startUnion(r),l.addMode(r,a),l.addTypeIds(r,_),l.endUnion(r)}};var Kn=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsUtf8(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsUtf8(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static startUtf8(r){r.startObject(0)}static endUtf8(r){return r.endObject()}static createUtf8(r){return l.startUtf8(r),l.endUtf8(r)}};var Ae;(function(l){l[l.NONE=0]="NONE",l[l.Null=1]="Null",l[l.Int=2]="Int",l[l.FloatingPoint=3]="FloatingPoint",l[l.Binary=4]="Binary",l[l.Utf8=5]="Utf8",l[l.Bool=6]="Bool",l[l.Decimal=7]="Decimal",l[l.Date=8]="Date",l[l.Time=9]="Time",l[l.Timestamp=10]="Timestamp",l[l.Interval=11]="Interval",l[l.List=12]="List",l[l.Struct_=13]="Struct_",l[l.Union=14]="Union",l[l.FixedSizeBinary=15]="FixedSizeBinary",l[l.FixedSizeList=16]="FixedSizeList",l[l.Map=17]="Map",l[l.Duration=18]="Duration",l[l.LargeBinary=19]="LargeBinary",l[l.LargeUtf8=20]="LargeUtf8",l[l.LargeList=21]="LargeList",l[l.RunEndEncoded=22]="RunEndEncoded"})(Ae||(Ae={}));var ze=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsField(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsField(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}name(r){let a=this.bb.__offset(this.bb_pos,4);return a?this.bb.__string(this.bb_pos+a,r):null}nullable(){let r=this.bb.__offset(this.bb_pos,6);return r?!!this.bb.readInt8(this.bb_pos+r):!1}typeType(){let r=this.bb.__offset(this.bb_pos,8);return r?this.bb.readUint8(this.bb_pos+r):Ae.NONE}type(r){let a=this.bb.__offset(this.bb_pos,10);return a?this.bb.__union(r,this.bb_pos+a):null}dictionary(r){let a=this.bb.__offset(this.bb_pos,12);return a?(r||new Rt).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}children(r,a){let _=this.bb.__offset(this.bb_pos,14);return _?(a||new l).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+_)+r*4),this.bb):null}childrenLength(){let r=this.bb.__offset(this.bb_pos,14);return r?this.bb.__vector_len(this.bb_pos+r):0}customMetadata(r,a){let _=this.bb.__offset(this.bb_pos,16);return _?(a||new Oe).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+_)+r*4),this.bb):null}customMetadataLength(){let r=this.bb.__offset(this.bb_pos,16);return r?this.bb.__vector_len(this.bb_pos+r):0}static startField(r){r.startObject(7)}static addName(r,a){r.addFieldOffset(0,a,0)}static addNullable(r,a){r.addFieldInt8(1,+a,0)}static addTypeType(r,a){r.addFieldInt8(2,a,Ae.NONE)}static addType(r,a){r.addFieldOffset(3,a,0)}static addDictionary(r,a){r.addFieldOffset(4,a,0)}static addChildren(r,a){r.addFieldOffset(5,a,0)}static createChildrenVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addOffset(a[_]);return r.endVector()}static startChildrenVector(r,a){r.startVector(4,a,4)}static addCustomMetadata(r,a){r.addFieldOffset(6,a,0)}static createCustomMetadataVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addOffset(a[_]);return r.endVector()}static startCustomMetadataVector(r,a){r.startVector(4,a,4)}static endField(r){return r.endObject()}};var Ye=class l{constructor(){this.bb=null,this.bb_pos=0}__init(r,a){return this.bb_pos=r,this.bb=a,this}static getRootAsSchema(r,a){return(a||new l).__init(r.readInt32(r.position())+r.position(),r)}static getSizePrefixedRootAsSchema(r,a){return r.setPosition(r.position()+4),(a||new l).__init(r.readInt32(r.position())+r.position(),r)}endianness(){let r=this.bb.__offset(this.bb_pos,4);return r?this.bb.readInt16(this.bb_pos+r):Ar.Little}fields(r,a){let _=this.bb.__offset(this.bb_pos,6);return _?(a||new ze).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+_)+r*4),this.bb):null}fieldsLength(){let r=this.bb.__offset(this.bb_pos,6);return r?this.bb.__vector_len(this.bb_pos+r):0}customMetadata(r,a){let _=this.bb.__offset(this.bb_pos,8);return _?(a||new Oe).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+_)+r*4),this.bb):null}customMetadataLength(){let r=this.bb.__offset(this.bb_pos,8);return r?this.bb.__vector_len(this.bb_pos+r):0}features(r){let a=this.bb.__offset(this.bb_pos,10);return a?this.bb.readInt64(this.bb.__vector(this.bb_pos+a)+r*8):BigInt(0)}featuresLength(){let r=this.bb.__offset(this.bb_pos,10);return r?this.bb.__vector_len(this.bb_pos+r):0}static startSchema(r){r.startObject(4)}static addEndianness(r,a){r.addFieldInt16(0,a,Ar.Little)}static addFields(r,a){r.addFieldOffset(1,a,0)}static createFieldsVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addOffset(a[_]);return r.endVector()}static startFieldsVector(r,a){r.startVector(4,a,4)}static addCustomMetadata(r,a){r.addFieldOffset(2,a,0)}static createCustomMetadataVector(r,a){r.startVector(4,a.length,4);for(let _=a.length-1;_>=0;_--)r.addOffset(a[_]);return r.endVector()}static startCustomMetadataVector(r,a){r.startVector(4,a,4)}static addFeatures(r,a){r.addFieldOffset(3,a,0)}static createFeaturesVector(r,a){r.startVector(8,a.length,8);for(let _=a.length-1;_>=0;_--)r.addInt64(a[_]);return r.endVector()}static startFeaturesVector(r,a){r.startVector(8,a,8)}static endSchema(r){return r.endObject()}static finishSchemaBuffer(r,a){r.finish(a)}static finishSizePrefixedSchemaBuffer(r,a){r.finish(a,void 0,!0)}static createSchema(r,a,_,f,m){return l.startSchema(r),l.addEndianness(r,a),l.addFields(r,_),l.addCustomMetadata(r,f),l.addFeatures(r,m),l.endSchema(r)}};var _e;(function(l){l[l.NONE=0]="NONE",l[l.Schema=1]="Schema",l[l.DictionaryBatch=2]="DictionaryBatch",l[l.RecordBatch=3]="RecordBatch",l[l.Tensor=4]="Tensor",l[l.SparseTensor=5]="SparseTensor"})(_e||(_e={}));var D;(function(l){l[l.NONE=0]="NONE",l[l.Null=1]="Null",l[l.Int=2]="Int",l[l.Float=3]="Float",l[l.Binary=4]="Binary",l[l.Utf8=5]="Utf8",l[l.Bool=6]="Bool",l[l.Decimal=7]="Decimal",l[l.Date=8]="Date",l[l.Time=9]="Time",l[l.Timestamp=10]="Timestamp",l[l.Interval=11]="Interval",l[l.List=12]="List",l[l.Struct=13]="Struct",l[l.Union=14]="Union",l[l.FixedSizeBinary=15]="FixedSizeBinary",l[l.FixedSizeList=16]="FixedSizeList",l[l.Map=17]="Map",l[l.Duration=18]="Duration",l[l.LargeBinary=19]="LargeBinary",l[l.LargeUtf8=20]="LargeUtf8",l[l.Dictionary=-1]="Dictionary",l[l.Int8=-2]="Int8",l[l.Int16=-3]="Int16",l[l.Int32=-4]="Int32",l[l.Int64=-5]="Int64",l[l.Uint8=-6]="Uint8",l[l.Uint16=-7]="Uint16",l[l.Uint32=-8]="Uint32",l[l.Uint64=-9]="Uint64",l[l.Float16=-10]="Float16",l[l.Float32=-11]="Float32",l[l.Float64=-12]="Float64",l[l.DateDay=-13]="DateDay",l[l.DateMillisecond=-14]="DateMillisecond",l[l.TimestampSecond=-15]="TimestampSecond",l[l.TimestampMillisecond=-16]="TimestampMillisecond",l[l.TimestampMicrosecond=-17]="TimestampMicrosecond",l[l.TimestampNanosecond=-18]="TimestampNanosecond",l[l.TimeSecond=-19]="TimeSecond",l[l.TimeMillisecond=-20]="TimeMillisecond",l[l.TimeMicrosecond=-21]="TimeMicrosecond",l[l.TimeNanosecond=-22]="TimeNanosecond",l[l.DenseUnion=-23]="DenseUnion",l[l.SparseUnion=-24]="SparseUnion",l[l.IntervalDayTime=-25]="IntervalDayTime",l[l.IntervalYearMonth=-26]="IntervalYearMonth",l[l.DurationSecond=-27]="DurationSecond",l[l.DurationMillisecond=-28]="DurationMillisecond",l[l.DurationMicrosecond=-29]="DurationMicrosecond",l[l.DurationNanosecond=-30]="DurationNanosecond"})(D||(D={}));var _t;(function(l){l[l.OFFSET=0]="OFFSET",l[l.DATA=1]="DATA",l[l.VALIDITY=2]="VALIDITY",l[l.TYPE=3]="TYPE"})(_t||(_t={}));var to={};Sr(to,{clampRange:()=>ti,createElementComparator:()=>xr,wrapIndex:()=>Nr});var Ua={};Sr(Ua,{valueToString:()=>At});function At(l){if(l===null)return"null";if(l===void 0)return"undefined";switch(typeof l){case"number":return`${l}`;case"bigint":return`${l}`;case"string":return`"${l}"`}return typeof l[Symbol.toPrimitive]=="function"?l[Symbol.toPrimitive]("string"):ArrayBuffer.isView(l)?l instanceof BigInt64Array||l instanceof BigUint64Array?`[${[...l].map(r=>At(r))}]`:`[${l}]`:ArrayBuffer.isView(l)?`[${l}]`:JSON.stringify(l,(r,a)=>typeof a=="bigint"?`${a}`:a)}var Ha={};Sr(Ha,{BN:()=>Zn,bigNumToBigInt:()=>el,bigNumToNumber:()=>Ra,bigNumToString:()=>dn,isArrowBigNumSymbol:()=>Zo});function de(l){if(typeof l=="bigint"&&(l<Number.MIN_SAFE_INTEGER||l>Number.MAX_SAFE_INTEGER))throw new TypeError(`${l} is not safe to convert to a number.`);return Number(l)}function Ga(l,r){return de(l/r)+de(l%r)/de(r)}var Zo=Symbol.for("isArrowBigNum");function Lt(l,...r){return r.length===0?Object.setPrototypeOf(le(this.TypedArray,l),this.constructor.prototype):Object.setPrototypeOf(new this.TypedArray(l,...r),this.constructor.prototype)}Lt.prototype[Zo]=!0;Lt.prototype.toJSON=function(){return`"${dn(this)}"`};Lt.prototype.valueOf=function(l){return Ra(this,l)};Lt.prototype.toString=function(){return dn(this)};Lt.prototype[Symbol.toPrimitive]=function(l="default"){switch(l){case"number":return Ra(this);case"string":return dn(this);case"default":return el(this)}return dn(this)};function _n(...l){return Lt.apply(this,l)}function un(...l){return Lt.apply(this,l)}function Qn(...l){return Lt.apply(this,l)}Object.setPrototypeOf(_n.prototype,Object.create(Int32Array.prototype));Object.setPrototypeOf(un.prototype,Object.create(Uint32Array.prototype));Object.setPrototypeOf(Qn.prototype,Object.create(Uint32Array.prototype));Object.assign(_n.prototype,Lt.prototype,{constructor:_n,signed:!0,TypedArray:Int32Array,BigIntArray:BigInt64Array});Object.assign(un.prototype,Lt.prototype,{constructor:un,signed:!1,TypedArray:Uint32Array,BigIntArray:BigUint64Array});Object.assign(Qn.prototype,Lt.prototype,{constructor:Qn,signed:!0,TypedArray:Uint32Array,BigIntArray:BigUint64Array});var $_=BigInt(4294967296)*BigInt(4294967296),q_=$_-BigInt(1);function Ra(l,r){let{buffer:a,byteOffset:_,byteLength:f,signed:m}=l,g=new BigUint64Array(a,_,f/8),e=m&&g.at(-1)&BigInt(1)<<BigInt(63),t=BigInt(0),n=0;if(e){for(let o of g)t|=(o^q_)*(BigInt(1)<<BigInt(64*n++));t*=BigInt(-1),t-=BigInt(1)}else for(let o of g)t|=o*(BigInt(1)<<BigInt(64*n++));if(typeof r=="number"){let o=BigInt(Math.pow(10,r)),c=t/o,u=t%o;return de(c)+de(u)/de(o)}return de(t)}function dn(l){if(l.byteLength===8)return`${new l.BigIntArray(l.buffer,l.byteOffset,1)[0]}`;if(!l.signed)return Oa(l);let r=new Uint16Array(l.buffer,l.byteOffset,l.byteLength/2);if(new Int16Array([r.at(-1)])[0]>=0)return Oa(l);r=r.slice();let _=1;for(let m=0;m<r.length;m++){let g=r[m],e=~g+_;r[m]=e,_&=g===0?1:0}return`-${Oa(r)}`}function el(l){return l.byteLength===8?new l.BigIntArray(l.buffer,l.byteOffset,1)[0]:dn(l)}function Oa(l){let r="",a=new Uint32Array(2),_=new Uint16Array(l.buffer,l.byteOffset,l.byteLength/2),f=new Uint32Array((_=new Uint16Array(_).reverse()).buffer),m=-1,g=_.length-1;do{for(a[0]=_[m=0];m<g;)_[m++]=a[1]=a[0]/10,a[0]=(a[0]-a[1]*10<<16)+_[m];_[m]=a[1]=a[0]/10,a[0]=a[0]-a[1]*10,r=`${a[0]}${r}`}while(f[0]||f[1]||f[2]||f[3]);return r!=null?r:"0"}var Zn=class l{static new(r,a){switch(a){case!0:return new _n(r);case!1:return new un(r)}switch(r.constructor){case Int8Array:case Int16Array:case Int32Array:case BigInt64Array:return new _n(r)}return r.byteLength===16?new Qn(r):new un(r)}static signed(r){return new _n(r)}static unsigned(r){return new un(r)}static decimal(r){return new Qn(r)}constructor(r,a){return l.new(r,a)}};var tl,rl,nl,il,sl,al,ol,ll,cl,_l,ul,dl,fl,pl,ml,gl,hl,vl,yl,bl,Sl,Al,N=class l{static isNull(r){return(r==null?void 0:r.typeId)===D.Null}static isInt(r){return(r==null?void 0:r.typeId)===D.Int}static isFloat(r){return(r==null?void 0:r.typeId)===D.Float}static isBinary(r){return(r==null?void 0:r.typeId)===D.Binary}static isLargeBinary(r){return(r==null?void 0:r.typeId)===D.LargeBinary}static isUtf8(r){return(r==null?void 0:r.typeId)===D.Utf8}static isLargeUtf8(r){return(r==null?void 0:r.typeId)===D.LargeUtf8}static isBool(r){return(r==null?void 0:r.typeId)===D.Bool}static isDecimal(r){return(r==null?void 0:r.typeId)===D.Decimal}static isDate(r){return(r==null?void 0:r.typeId)===D.Date}static isTime(r){return(r==null?void 0:r.typeId)===D.Time}static isTimestamp(r){return(r==null?void 0:r.typeId)===D.Timestamp}static isInterval(r){return(r==null?void 0:r.typeId)===D.Interval}static isDuration(r){return(r==null?void 0:r.typeId)===D.Duration}static isList(r){return(r==null?void 0:r.typeId)===D.List}static isStruct(r){return(r==null?void 0:r.typeId)===D.Struct}static isUnion(r){return(r==null?void 0:r.typeId)===D.Union}static isFixedSizeBinary(r){return(r==null?void 0:r.typeId)===D.FixedSizeBinary}static isFixedSizeList(r){return(r==null?void 0:r.typeId)===D.FixedSizeList}static isMap(r){return(r==null?void 0:r.typeId)===D.Map}static isDictionary(r){return(r==null?void 0:r.typeId)===D.Dictionary}static isDenseUnion(r){return l.isUnion(r)&&r.mode===Se.Dense}static isSparseUnion(r){return l.isUnion(r)&&r.mode===Se.Sparse}constructor(r){this.typeId=r}};tl=Symbol.toStringTag;N[tl]=(l=>(l.children=null,l.ArrayType=Array,l.OffsetArrayType=Int32Array,l[Symbol.toStringTag]="DataType"))(N.prototype);var $e=class extends N{constructor(){super(D.Null)}toString(){return"Null"}};rl=Symbol.toStringTag;$e[rl]=(l=>l[Symbol.toStringTag]="Null")($e.prototype);var Re=class extends N{constructor(r,a){super(D.Int),this.isSigned=r,this.bitWidth=a}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?BigInt64Array:BigUint64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}};nl=Symbol.toStringTag;Re[nl]=(l=>(l.isSigned=null,l.bitWidth=null,l[Symbol.toStringTag]="Int"))(Re.prototype);var Ji=class extends Re{constructor(){super(!0,8)}get ArrayType(){return Int8Array}},Ki=class extends Re{constructor(){super(!0,16)}get ArrayType(){return Int16Array}},Nt=class extends Re{constructor(){super(!0,32)}get ArrayType(){return Int32Array}},Qi=class extends Re{constructor(){super(!0,64)}get ArrayType(){return BigInt64Array}},Zi=class extends Re{constructor(){super(!1,8)}get ArrayType(){return Uint8Array}},es=class extends Re{constructor(){super(!1,16)}get ArrayType(){return Uint16Array}},ts=class extends Re{constructor(){super(!1,32)}get ArrayType(){return Uint32Array}},rs=class extends Re{constructor(){super(!1,64)}get ArrayType(){return BigUint64Array}};Object.defineProperty(Ji.prototype,"ArrayType",{value:Int8Array});Object.defineProperty(Ki.prototype,"ArrayType",{value:Int16Array});Object.defineProperty(Nt.prototype,"ArrayType",{value:Int32Array});Object.defineProperty(Qi.prototype,"ArrayType",{value:BigInt64Array});Object.defineProperty(Zi.prototype,"ArrayType",{value:Uint8Array});Object.defineProperty(es.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(ts.prototype,"ArrayType",{value:Uint32Array});Object.defineProperty(rs.prototype,"ArrayType",{value:BigUint64Array});var ut=class extends N{constructor(r){super(D.Float),this.precision=r}get ArrayType(){switch(this.precision){case be.HALF:return Uint16Array;case be.SINGLE:return Float32Array;case be.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}};il=Symbol.toStringTag;ut[il]=(l=>(l.precision=null,l[Symbol.toStringTag]="Float"))(ut.prototype);var ns=class extends ut{constructor(){super(be.HALF)}},is=class extends ut{constructor(){super(be.SINGLE)}},ss=class extends ut{constructor(){super(be.DOUBLE)}};Object.defineProperty(ns.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(is.prototype,"ArrayType",{value:Float32Array});Object.defineProperty(ss.prototype,"ArrayType",{value:Float64Array});var Kt=class extends N{constructor(){super(D.Binary)}toString(){return"Binary"}};sl=Symbol.toStringTag;Kt[sl]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Binary"))(Kt.prototype);var Qt=class extends N{constructor(){super(D.LargeBinary)}toString(){return"LargeBinary"}};al=Symbol.toStringTag;Qt[al]=(l=>(l.ArrayType=Uint8Array,l.OffsetArrayType=BigInt64Array,l[Symbol.toStringTag]="LargeBinary"))(Qt.prototype);var Zt=class extends N{constructor(){super(D.Utf8)}toString(){return"Utf8"}};ol=Symbol.toStringTag;Zt[ol]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Utf8"))(Zt.prototype);var er=class extends N{constructor(){super(D.LargeUtf8)}toString(){return"LargeUtf8"}};ll=Symbol.toStringTag;er[ll]=(l=>(l.ArrayType=Uint8Array,l.OffsetArrayType=BigInt64Array,l[Symbol.toStringTag]="LargeUtf8"))(er.prototype);var tr=class extends N{constructor(){super(D.Bool)}toString(){return"Bool"}};cl=Symbol.toStringTag;tr[cl]=(l=>(l.ArrayType=Uint8Array,l[Symbol.toStringTag]="Bool"))(tr.prototype);var rr=class extends N{constructor(r,a,_=128){super(D.Decimal),this.scale=r,this.precision=a,this.bitWidth=_}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};_l=Symbol.toStringTag;rr[_l]=(l=>(l.scale=null,l.precision=null,l.ArrayType=Uint32Array,l[Symbol.toStringTag]="Decimal"))(rr.prototype);var nr=class extends N{constructor(r){super(D.Date),this.unit=r}toString(){return`Date${(this.unit+1)*32}<${Ce[this.unit]}>`}get ArrayType(){return this.unit===Ce.DAY?Int32Array:BigInt64Array}};ul=Symbol.toStringTag;nr[ul]=(l=>(l.unit=null,l[Symbol.toStringTag]="Date"))(nr.prototype);var ir=class extends N{constructor(r,a){super(D.Time),this.unit=r,this.bitWidth=a}toString(){return`Time${this.bitWidth}<${V[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array;case 64:return BigInt64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}};dl=Symbol.toStringTag;ir[dl]=(l=>(l.unit=null,l.bitWidth=null,l[Symbol.toStringTag]="Time"))(ir.prototype);var sr=class extends N{constructor(r,a){super(D.Timestamp),this.unit=r,this.timezone=a}toString(){return`Timestamp<${V[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}};fl=Symbol.toStringTag;sr[fl]=(l=>(l.unit=null,l.timezone=null,l.ArrayType=BigInt64Array,l[Symbol.toStringTag]="Timestamp"))(sr.prototype);var ar=class extends N{constructor(r){super(D.Interval),this.unit=r}toString(){return`Interval<${Ge[this.unit]}>`}};pl=Symbol.toStringTag;ar[pl]=(l=>(l.unit=null,l.ArrayType=Int32Array,l[Symbol.toStringTag]="Interval"))(ar.prototype);var or=class extends N{constructor(r){super(D.Duration),this.unit=r}toString(){return`Duration<${V[this.unit]}>`}};ml=Symbol.toStringTag;or[ml]=(l=>(l.unit=null,l.ArrayType=BigInt64Array,l[Symbol.toStringTag]="Duration"))(or.prototype);var Et=class extends N{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}};gl=Symbol.toStringTag;Et[gl]=(l=>(l.children=null,l[Symbol.toStringTag]="List"))(Et.prototype);var we=class extends N{constructor(r){super(D.Struct),this.children=r}toString(){return`Struct<{${this.children.map(r=>`${r.name}:${r.type}`).join(", ")}}>`}};hl=Symbol.toStringTag;we[hl]=(l=>(l.children=null,l[Symbol.toStringTag]="Struct"))(we.prototype);var wt=class extends N{constructor(r,a,_){super(D.Union),this.mode=r,this.children=_,this.typeIds=a=Int32Array.from(a),this.typeIdToChildIndex=a.reduce((f,m,g)=>(f[m]=g)&&f||f,Object.create(null))}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(r=>`${r.type}`).join(" | ")}>`}};vl=Symbol.toStringTag;wt[vl]=(l=>(l.mode=null,l.typeIds=null,l.children=null,l.typeIdToChildIndex=null,l.ArrayType=Int8Array,l[Symbol.toStringTag]="Union"))(wt.prototype);var lr=class extends N{constructor(r){super(D.FixedSizeBinary),this.byteWidth=r}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};yl=Symbol.toStringTag;lr[yl]=(l=>(l.byteWidth=null,l.ArrayType=Uint8Array,l[Symbol.toStringTag]="FixedSizeBinary"))(lr.prototype);var Ft=class extends N{constructor(r,a){super(D.FixedSizeList),this.listSize=r,this.children=[a]}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};bl=Symbol.toStringTag;Ft[bl]=(l=>(l.children=null,l.listSize=null,l[Symbol.toStringTag]="FixedSizeList"))(Ft.prototype);var Dt=class extends N{constructor(r,a=!1){var _,f,m;if(super(D.Map),this.children=[r],this.keysSorted=a,r&&(r.name="entries",!((_=r==null?void 0:r.type)===null||_===void 0)&&_.children)){let g=(f=r==null?void 0:r.type)===null||f===void 0?void 0:f.children[0];g&&(g.name="key");let e=(m=r==null?void 0:r.type)===null||m===void 0?void 0:m.children[1];e&&(e.name="value")}}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map(r=>`${r.name}:${r.type}`).join(", ")}}>`}};Sl=Symbol.toStringTag;Dt[Sl]=(l=>(l.children=null,l.keysSorted=null,l[Symbol.toStringTag]="Map_"))(Dt.prototype);var X_=(l=>()=>++l)(-1),st=class extends N{constructor(r,a,_,f){super(D.Dictionary),this.indices=a,this.dictionary=r,this.isOrdered=f||!1,this.id=_==null?X_():de(_)}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}};Al=Symbol.toStringTag;st[Al]=(l=>(l.id=null,l.indices=null,l.isOrdered=null,l.dictionary=null,l[Symbol.toStringTag]="Dictionary"))(st.prototype);function at(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,...a){return r.map((_,f)=>this.visit(_,...a.map(m=>m[f])))}visit(...r){return this.getVisitFn(r[0],!1).apply(this,r)}getVisitFn(r,a=!0){return Y_(this,r,a)}getVisitFnByTypeId(r,a=!0){return fn(this,r,a)}visitNull(r,...a){return null}visitBool(r,...a){return null}visitInt(r,...a){return null}visitFloat(r,...a){return null}visitUtf8(r,...a){return null}visitLargeUtf8(r,...a){return null}visitBinary(r,...a){return null}visitLargeBinary(r,...a){return null}visitFixedSizeBinary(r,...a){return null}visitDate(r,...a){return null}visitTimestamp(r,...a){return null}visitTime(r,...a){return null}visitDecimal(r,...a){return null}visitList(r,...a){return null}visitStruct(r,...a){return null}visitUnion(r,...a){return null}visitDictionary(r,...a){return null}visitInterval(r,...a){return null}visitDuration(r,...a){return null}visitFixedSizeList(r,...a){return null}visitMap(r,...a){return null}};function Y_(l,r,a=!0){return typeof r=="number"?fn(l,r,a):typeof r=="string"&&r in D?fn(l,D[r],a):r&&r instanceof N?fn(l,Ll(r),a):r!=null&&r.type&&r.type instanceof N?fn(l,Ll(r.type),a):fn(l,D.NONE,a)}function fn(l,r,a=!0){let _=null;switch(r){case D.Null:_=l.visitNull;break;case D.Bool:_=l.visitBool;break;case D.Int:_=l.visitInt;break;case D.Int8:_=l.visitInt8||l.visitInt;break;case D.Int16:_=l.visitInt16||l.visitInt;break;case D.Int32:_=l.visitInt32||l.visitInt;break;case D.Int64:_=l.visitInt64||l.visitInt;break;case D.Uint8:_=l.visitUint8||l.visitInt;break;case D.Uint16:_=l.visitUint16||l.visitInt;break;case D.Uint32:_=l.visitUint32||l.visitInt;break;case D.Uint64:_=l.visitUint64||l.visitInt;break;case D.Float:_=l.visitFloat;break;case D.Float16:_=l.visitFloat16||l.visitFloat;break;case D.Float32:_=l.visitFloat32||l.visitFloat;break;case D.Float64:_=l.visitFloat64||l.visitFloat;break;case D.Utf8:_=l.visitUtf8;break;case D.LargeUtf8:_=l.visitLargeUtf8;break;case D.Binary:_=l.visitBinary;break;case D.LargeBinary:_=l.visitLargeBinary;break;case D.FixedSizeBinary:_=l.visitFixedSizeBinary;break;case D.Date:_=l.visitDate;break;case D.DateDay:_=l.visitDateDay||l.visitDate;break;case D.DateMillisecond:_=l.visitDateMillisecond||l.visitDate;break;case D.Timestamp:_=l.visitTimestamp;break;case D.TimestampSecond:_=l.visitTimestampSecond||l.visitTimestamp;break;case D.TimestampMillisecond:_=l.visitTimestampMillisecond||l.visitTimestamp;break;case D.TimestampMicrosecond:_=l.visitTimestampMicrosecond||l.visitTimestamp;break;case D.TimestampNanosecond:_=l.visitTimestampNanosecond||l.visitTimestamp;break;case D.Time:_=l.visitTime;break;case D.TimeSecond:_=l.visitTimeSecond||l.visitTime;break;case D.TimeMillisecond:_=l.visitTimeMillisecond||l.visitTime;break;case D.TimeMicrosecond:_=l.visitTimeMicrosecond||l.visitTime;break;case D.TimeNanosecond:_=l.visitTimeNanosecond||l.visitTime;break;case D.Decimal:_=l.visitDecimal;break;case D.List:_=l.visitList;break;case D.Struct:_=l.visitStruct;break;case D.Union:_=l.visitUnion;break;case D.DenseUnion:_=l.visitDenseUnion||l.visitUnion;break;case D.SparseUnion:_=l.visitSparseUnion||l.visitUnion;break;case D.Dictionary:_=l.visitDictionary;break;case D.Interval:_=l.visitInterval;break;case D.IntervalDayTime:_=l.visitIntervalDayTime||l.visitInterval;break;case D.IntervalYearMonth:_=l.visitIntervalYearMonth||l.visitInterval;break;case D.Duration:_=l.visitDuration;break;case D.DurationSecond:_=l.visitDurationSecond||l.visitDuration;break;case D.DurationMillisecond:_=l.visitDurationMillisecond||l.visitDuration;break;case D.DurationMicrosecond:_=l.visitDurationMicrosecond||l.visitDuration;break;case D.DurationNanosecond:_=l.visitDurationNanosecond||l.visitDuration;break;case D.FixedSizeList:_=l.visitFixedSizeList;break;case D.Map:_=l.visitMap;break}if(typeof _=="function")return _;if(!a)return()=>null;throw new Error(`Unrecognized type '${D[r]}'`)}function Ll(l){switch(l.typeId){case D.Null:return D.Null;case D.Int:{let{bitWidth:r,isSigned:a}=l;switch(r){case 8:return a?D.Int8:D.Uint8;case 16:return a?D.Int16:D.Uint16;case 32:return a?D.Int32:D.Uint32;case 64:return a?D.Int64:D.Uint64}return D.Int}case D.Float:switch(l.precision){case be.HALF:return D.Float16;case be.SINGLE:return D.Float32;case be.DOUBLE:return D.Float64}return D.Float;case D.Binary:return D.Binary;case D.LargeBinary:return D.LargeBinary;case D.Utf8:return D.Utf8;case D.LargeUtf8:return D.LargeUtf8;case D.Bool:return D.Bool;case D.Decimal:return D.Decimal;case D.Time:switch(l.unit){case V.SECOND:return D.TimeSecond;case V.MILLISECOND:return D.TimeMillisecond;case V.MICROSECOND:return D.TimeMicrosecond;case V.NANOSECOND:return D.TimeNanosecond}return D.Time;case D.Timestamp:switch(l.unit){case V.SECOND:return D.TimestampSecond;case V.MILLISECOND:return D.TimestampMillisecond;case V.MICROSECOND:return D.TimestampMicrosecond;case V.NANOSECOND:return D.TimestampNanosecond}return D.Timestamp;case D.Date:switch(l.unit){case Ce.DAY:return D.DateDay;case Ce.MILLISECOND:return D.DateMillisecond}return D.Date;case D.Interval:switch(l.unit){case Ge.DAY_TIME:return D.IntervalDayTime;case Ge.YEAR_MONTH:return D.IntervalYearMonth}return D.Interval;case D.Duration:switch(l.unit){case V.SECOND:return D.DurationSecond;case V.MILLISECOND:return D.DurationMillisecond;case V.MICROSECOND:return D.DurationMicrosecond;case V.NANOSECOND:return D.DurationNanosecond}return D.Duration;case D.Map:return D.Map;case D.List:return D.List;case D.Struct:return D.Struct;case D.Union:switch(l.mode){case Se.Dense:return D.DenseUnion;case Se.Sparse:return D.SparseUnion}return D.Union;case D.FixedSizeBinary:return D.FixedSizeBinary;case D.FixedSizeList:return D.FixedSizeList;case D.Dictionary:return D.Dictionary}throw new Error(`Unrecognized type '${D[l.typeId]}'`)}$.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 Na={};Sr(Na,{float64ToUint16:()=>ei,uint16ToFloat64:()=>as});var El=new Float64Array(1),pn=new Uint32Array(El.buffer);function as(l){let r=(l&31744)>>10,a=(l&1023)/1024,_=Math.pow(-1,(l&32768)>>15);switch(r){case 31:return _*(a?Number.NaN:1/0);case 0:return _*(a?6103515625e-14*a:0)}return _*Math.pow(2,r-15)*(1+a)}function ei(l){if(l!==l)return 32256;El[0]=l;let r=(pn[1]&2147483648)>>16&65535,a=pn[1]&2146435072,_=0;return a>=1089470464?pn[0]>0?a=31744:(a=(a&2080374784)>>16,_=(pn[1]&1048575)>>10):a<=1056964608?(_=1048576+(pn[1]&1048575),_=1048576+(_<<(a>>20)-998)>>21,a=0):(a=a-1056964608>>10,_=(pn[1]&1048575)+512>>10),r|a|_&65535}var K=class extends ${};function te(l){return(r,a,_)=>{if(r.setValid(a,_!=null))return l(r,a,_)}}var J_=(l,r,a)=>{l[r]=Math.floor(a/864e5)},wl=(l,r,a,_)=>{if(a+1<r.length){let f=de(r[a]),m=de(r[a+1]);l.set(_.subarray(0,m-f),f)}},K_=({offset:l,values:r},a,_)=>{let f=l+a;_?r[f>>3]|=1<<f%8:r[f>>3]&=~(1<<f%8)},cr=({values:l},r,a)=>{l[r]=a},Wa=({values:l},r,a)=>{l[r]=a},Fl=({values:l},r,a)=>{l[r]=ei(a)},Q_=(l,r,a)=>{switch(l.type.precision){case be.HALF:return Fl(l,r,a);case be.SINGLE:case be.DOUBLE:return Wa(l,r,a)}},os=({values:l},r,a)=>{J_(l,r,a.valueOf())},ls=({values:l},r,a)=>{l[r]=BigInt(a)},Va=({stride:l,values:r},a,_)=>{r.set(_.subarray(0,l),l*a)},Dl=({values:l,valueOffsets:r},a,_)=>wl(l,r,a,_),Tl=({values:l,valueOffsets:r},a,_)=>wl(l,r,a,Ut(_)),za=(l,r,a)=>{l.type.unit===Ce.DAY?os(l,r,a):ls(l,r,a)},cs=({values:l},r,a)=>{l[r]=BigInt(a/1e3)},_s=({values:l},r,a)=>{l[r]=BigInt(a)},us=({values:l},r,a)=>{l[r]=BigInt(a*1e3)},ds=({values:l},r,a)=>{l[r]=BigInt(a*1e6)},ja=(l,r,a)=>{switch(l.type.unit){case V.SECOND:return cs(l,r,a);case V.MILLISECOND:return _s(l,r,a);case V.MICROSECOND:return us(l,r,a);case V.NANOSECOND:return ds(l,r,a)}},ps=({values:l},r,a)=>{l[r]=a},ms=({values:l},r,a)=>{l[r]=a},gs=({values:l},r,a)=>{l[r]=a},hs=({values:l},r,a)=>{l[r]=a},$a=(l,r,a)=>{switch(l.type.unit){case V.SECOND:return ps(l,r,a);case V.MILLISECOND:return ms(l,r,a);case V.MICROSECOND:return gs(l,r,a);case V.NANOSECOND:return hs(l,r,a)}},qa=({values:l,stride:r},a,_)=>{l.set(_.subarray(0,r),r*a)},Z_=(l,r,a)=>{let _=l.children[0],f=l.valueOffsets,m=Ne.getVisitFn(_);if(Array.isArray(a))for(let g=-1,e=f[r],t=f[r+1];e<t;)m(_,e++,a[++g]);else for(let g=-1,e=f[r],t=f[r+1];e<t;)m(_,e++,a.get(++g))},eu=(l,r,a)=>{let _=l.children[0],{valueOffsets:f}=l,m=Ne.getVisitFn(_),{[r]:g,[r+1]:e}=f,t=a instanceof Map?a.entries():Object.entries(a);for(let n of t)if(m(_,g,n),++g>=e)break},tu=(l,r)=>(a,_,f,m)=>_&&a(_,l,r[m]),ru=(l,r)=>(a,_,f,m)=>_&&a(_,l,r.get(m)),nu=(l,r)=>(a,_,f,m)=>_&&a(_,l,r.get(f.name)),iu=(l,r)=>(a,_,f,m)=>_&&a(_,l,r[f.name]),su=(l,r,a)=>{let _=l.type.children.map(m=>Ne.getVisitFn(m.type)),f=a instanceof Map?nu(r,a):a instanceof ue?ru(r,a):Array.isArray(a)?tu(r,a):iu(r,a);l.type.children.forEach((m,g)=>f(_[g],l.children[g],m,g))},au=(l,r,a)=>{l.type.mode===Se.Dense?Pl(l,r,a):Cl(l,r,a)},Pl=(l,r,a)=>{let _=l.type.typeIdToChildIndex[l.typeIds[r]],f=l.children[_];Ne.visit(f,l.valueOffsets[r],a)},Cl=(l,r,a)=>{let _=l.type.typeIdToChildIndex[l.typeIds[r]],f=l.children[_];Ne.visit(f,r,a)},ou=(l,r,a)=>{var _;(_=l.dictionary)===null||_===void 0||_.set(l.values[r],a)},Xa=(l,r,a)=>{l.type.unit===Ge.DAY_TIME?vs(l,r,a):ys(l,r,a)},vs=({values:l},r,a)=>{l.set(a.subarray(0,2),2*r)},ys=({values:l},r,a)=>{l[r]=a[0]*12+a[1]%12},bs=({values:l},r,a)=>{l[r]=a},Ss=({values:l},r,a)=>{l[r]=a},As=({values:l},r,a)=>{l[r]=a},Ls=({values:l},r,a)=>{l[r]=a},Ya=(l,r,a)=>{switch(l.type.unit){case V.SECOND:return bs(l,r,a);case V.MILLISECOND:return Ss(l,r,a);case V.MICROSECOND:return As(l,r,a);case V.NANOSECOND:return Ls(l,r,a)}},lu=(l,r,a)=>{let{stride:_}=l,f=l.children[0],m=Ne.getVisitFn(f);if(Array.isArray(a))for(let g=-1,e=r*_;++g<_;)m(f,e+g,a[g]);else for(let g=-1,e=r*_;++g<_;)m(f,e+g,a.get(g))};K.prototype.visitBool=te(K_);K.prototype.visitInt=te(cr);K.prototype.visitInt8=te(cr);K.prototype.visitInt16=te(cr);K.prototype.visitInt32=te(cr);K.prototype.visitInt64=te(cr);K.prototype.visitUint8=te(cr);K.prototype.visitUint16=te(cr);K.prototype.visitUint32=te(cr);K.prototype.visitUint64=te(cr);K.prototype.visitFloat=te(Q_);K.prototype.visitFloat16=te(Fl);K.prototype.visitFloat32=te(Wa);K.prototype.visitFloat64=te(Wa);K.prototype.visitUtf8=te(Tl);K.prototype.visitLargeUtf8=te(Tl);K.prototype.visitBinary=te(Dl);K.prototype.visitLargeBinary=te(Dl);K.prototype.visitFixedSizeBinary=te(Va);K.prototype.visitDate=te(za);K.prototype.visitDateDay=te(os);K.prototype.visitDateMillisecond=te(ls);K.prototype.visitTimestamp=te(ja);K.prototype.visitTimestampSecond=te(cs);K.prototype.visitTimestampMillisecond=te(_s);K.prototype.visitTimestampMicrosecond=te(us);K.prototype.visitTimestampNanosecond=te(ds);K.prototype.visitTime=te($a);K.prototype.visitTimeSecond=te(ps);K.prototype.visitTimeMillisecond=te(ms);K.prototype.visitTimeMicrosecond=te(gs);K.prototype.visitTimeNanosecond=te(hs);K.prototype.visitDecimal=te(qa);K.prototype.visitList=te(Z_);K.prototype.visitStruct=te(su);K.prototype.visitUnion=te(au);K.prototype.visitDenseUnion=te(Pl);K.prototype.visitSparseUnion=te(Cl);K.prototype.visitDictionary=te(ou);K.prototype.visitInterval=te(Xa);K.prototype.visitIntervalDayTime=te(vs);K.prototype.visitIntervalYearMonth=te(ys);K.prototype.visitDuration=te(Ya);K.prototype.visitDurationSecond=te(bs);K.prototype.visitDurationMillisecond=te(Ss);K.prototype.visitDurationMicrosecond=te(As);K.prototype.visitDurationNanosecond=te(Ls);K.prototype.visitFixedSizeList=te(lu);K.prototype.visitMap=te(eu);var Ne=new K;var Tt=Symbol.for("parent"),mn=Symbol.for("rowIndex"),Cr=class{constructor(r,a){return this[Tt]=r,this[mn]=a,new Proxy(this,new Ka)}toArray(){return Object.values(this.toJSON())}toJSON(){let r=this[mn],a=this[Tt],_=a.type.children,f={};for(let m=-1,g=_.length;++m<g;)f[_[m].name]=xe.visit(a.children[m],r);return f}toString(){return`{${[...this].map(([r,a])=>`${At(r)}: ${At(a)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new Ja(this[Tt],this[mn])}},Ja=class{constructor(r,a){this.childIndex=0,this.children=r.children,this.rowIndex=a,this.childFields=r.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){let r=this.childIndex;return r<this.numChildren?(this.childIndex=r+1,{done:!1,value:[this.childFields[r].name,xe.visit(this.children[r],this.rowIndex)]}):{done:!0,value:null}}};Object.defineProperties(Cr.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[Tt]:{writable:!0,enumerable:!1,configurable:!1,value:null},[mn]:{writable:!0,enumerable:!1,configurable:!1,value:-1}});var Ka=class{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(r){return r[Tt].type.children.map(a=>a.name)}has(r,a){return r[Tt].type.children.findIndex(_=>_.name===a)!==-1}getOwnPropertyDescriptor(r,a){if(r[Tt].type.children.findIndex(_=>_.name===a)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(r,a){if(Reflect.has(r,a))return r[a];let _=r[Tt].type.children.findIndex(f=>f.name===a);if(_!==-1){let f=xe.visit(r[Tt].children[_],r[mn]);return Reflect.set(r,a,f),f}}set(r,a,_){let f=r[Tt].type.children.findIndex(m=>m.name===a);return f!==-1?(Ne.visit(r[Tt].children[f],r[mn],_),Reflect.set(r,a,_)):Reflect.has(r,a)||typeof a=="symbol"?Reflect.set(r,a,_):!1}};var q=class extends ${};function Z(l){return(r,a)=>r.getValid(a)?l(r,a):null}var cu=(l,r)=>864e5*l[r],_u=(l,r)=>null,Il=(l,r,a)=>{if(a+1>=r.length)return null;let _=de(r[a]),f=de(r[a+1]);return l.subarray(_,f)},uu=({offset:l,values:r},a)=>{let _=l+a;return(r[_>>3]&1<<_%8)!==0},kl=({values:l},r)=>cu(l,r),xl=({values:l},r)=>de(l[r]),Ir=({stride:l,values:r},a)=>r[l*a],du=({stride:l,values:r},a)=>as(r[l*a]),Ml=({values:l},r)=>l[r],fu=({stride:l,values:r},a)=>r.subarray(l*a,l*(a+1)),Bl=({values:l,valueOffsets:r},a)=>Il(l,r,a),Ul=({values:l,valueOffsets:r},a)=>{let _=Il(l,r,a);return _!==null?Gn(_):null},pu=({values:l},r)=>l[r],mu=({type:l,values:r},a)=>l.precision!==be.HALF?r[a]:as(r[a]),gu=(l,r)=>l.type.unit===Ce.DAY?kl(l,r):xl(l,r),Gl=({values:l},r)=>1e3*de(l[r]),Ol=({values:l},r)=>de(l[r]),Rl=({values:l},r)=>Ga(l[r],BigInt(1e3)),Hl=({values:l},r)=>Ga(l[r],BigInt(1e6)),hu=(l,r)=>{switch(l.type.unit){case V.SECOND:return Gl(l,r);case V.MILLISECOND:return Ol(l,r);case V.MICROSECOND:return Rl(l,r);case V.NANOSECOND:return Hl(l,r)}},Nl=({values:l},r)=>l[r],Wl=({values:l},r)=>l[r],Vl=({values:l},r)=>l[r],zl=({values:l},r)=>l[r],vu=(l,r)=>{switch(l.type.unit){case V.SECOND:return Nl(l,r);case V.MILLISECOND:return Wl(l,r);case V.MICROSECOND:return Vl(l,r);case V.NANOSECOND:return zl(l,r)}},yu=({values:l,stride:r},a)=>Zn.decimal(l.subarray(r*a,r*(a+1))),bu=(l,r)=>{let{valueOffsets:a,stride:_,children:f}=l,{[r*_]:m,[r*_+1]:g}=a,t=f[0].slice(m,g-m);return new ue([t])},Su=(l,r)=>{let{valueOffsets:a,children:_}=l,{[r]:f,[r+1]:m}=a,g=_[0];return new Wt(g.slice(f,m-f))},Au=(l,r)=>new Cr(l,r),Lu=(l,r)=>l.type.mode===Se.Dense?jl(l,r):$l(l,r),jl=(l,r)=>{let a=l.type.typeIdToChildIndex[l.typeIds[r]],_=l.children[a];return xe.visit(_,l.valueOffsets[r])},$l=(l,r)=>{let a=l.type.typeIdToChildIndex[l.typeIds[r]],_=l.children[a];return xe.visit(_,r)},Eu=(l,r)=>{var a;return(a=l.dictionary)===null||a===void 0?void 0:a.get(l.values[r])},wu=(l,r)=>l.type.unit===Ge.DAY_TIME?ql(l,r):Xl(l,r),ql=({values:l},r)=>l.subarray(2*r,2*(r+1)),Xl=({values:l},r)=>{let a=l[r],_=new Int32Array(2);return _[0]=Math.trunc(a/12),_[1]=Math.trunc(a%12),_},Yl=({values:l},r)=>l[r],Jl=({values:l},r)=>l[r],Kl=({values:l},r)=>l[r],Ql=({values:l},r)=>l[r],Fu=(l,r)=>{switch(l.type.unit){case V.SECOND:return Yl(l,r);case V.MILLISECOND:return Jl(l,r);case V.MICROSECOND:return Kl(l,r);case V.NANOSECOND:return Ql(l,r)}},Du=(l,r)=>{let{stride:a,children:_}=l,m=_[0].slice(r*a,a);return new ue([m])};q.prototype.visitNull=Z(_u);q.prototype.visitBool=Z(uu);q.prototype.visitInt=Z(pu);q.prototype.visitInt8=Z(Ir);q.prototype.visitInt16=Z(Ir);q.prototype.visitInt32=Z(Ir);q.prototype.visitInt64=Z(Ml);q.prototype.visitUint8=Z(Ir);q.prototype.visitUint16=Z(Ir);q.prototype.visitUint32=Z(Ir);q.prototype.visitUint64=Z(Ml);q.prototype.visitFloat=Z(mu);q.prototype.visitFloat16=Z(du);q.prototype.visitFloat32=Z(Ir);q.prototype.visitFloat64=Z(Ir);q.prototype.visitUtf8=Z(Ul);q.prototype.visitLargeUtf8=Z(Ul);q.prototype.visitBinary=Z(Bl);q.prototype.visitLargeBinary=Z(Bl);q.prototype.visitFixedSizeBinary=Z(fu);q.prototype.visitDate=Z(gu);q.prototype.visitDateDay=Z(kl);q.prototype.visitDateMillisecond=Z(xl);q.prototype.visitTimestamp=Z(hu);q.prototype.visitTimestampSecond=Z(Gl);q.prototype.visitTimestampMillisecond=Z(Ol);q.prototype.visitTimestampMicrosecond=Z(Rl);q.prototype.visitTimestampNanosecond=Z(Hl);q.prototype.visitTime=Z(vu);q.prototype.visitTimeSecond=Z(Nl);q.prototype.visitTimeMillisecond=Z(Wl);q.prototype.visitTimeMicrosecond=Z(Vl);q.prototype.visitTimeNanosecond=Z(zl);q.prototype.visitDecimal=Z(yu);q.prototype.visitList=Z(bu);q.prototype.visitStruct=Z(Au);q.prototype.visitUnion=Z(Lu);q.prototype.visitDenseUnion=Z(jl);q.prototype.visitSparseUnion=Z($l);q.prototype.visitDictionary=Z(Eu);q.prototype.visitInterval=Z(wu);q.prototype.visitIntervalDayTime=Z(ql);q.prototype.visitIntervalYearMonth=Z(Xl);q.prototype.visitDuration=Z(Fu);q.prototype.visitDurationSecond=Z(Yl);q.prototype.visitDurationMillisecond=Z(Jl);q.prototype.visitDurationMicrosecond=Z(Kl);q.prototype.visitDurationNanosecond=Z(Ql);q.prototype.visitFixedSizeList=Z(Du);q.prototype.visitMap=Z(Su);var xe=new q;var kr=Symbol.for("keys"),hn=Symbol.for("vals"),gn=Symbol.for("kKeysAsStrings"),Qa=Symbol.for("_kKeysAsStrings"),Wt=class{constructor(r){return this[kr]=new ue([r.children[0]]).memoize(),this[hn]=r.children[1],new Proxy(this,new eo)}get[gn](){return this[Qa]||(this[Qa]=Array.from(this[kr].toArray(),String))}[Symbol.iterator](){return new Za(this[kr],this[hn])}get size(){return this[kr].length}toArray(){return Object.values(this.toJSON())}toJSON(){let r=this[kr],a=this[hn],_={};for(let f=-1,m=r.length;++f<m;)_[r.get(f)]=xe.visit(a,f);return _}toString(){return`{${[...this].map(([r,a])=>`${At(r)}: ${At(a)}`).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}},Za=class{constructor(r,a){this.keys=r,this.vals=a,this.keyIndex=0,this.numKeys=r.length}[Symbol.iterator](){return this}next(){let r=this.keyIndex;return r===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(r),xe.visit(this.vals,r)]})}},eo=class{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(r){return r[gn]}has(r,a){return r[gn].includes(a)}getOwnPropertyDescriptor(r,a){if(r[gn].indexOf(a)!==-1)return{writable:!0,enumerable:!0,configurable:!0}}get(r,a){if(Reflect.has(r,a))return r[a];let _=r[gn].indexOf(a);if(_!==-1){let f=xe.visit(Reflect.get(r,hn),_);return Reflect.set(r,a,f),f}}set(r,a,_){let f=r[gn].indexOf(a);return f!==-1?(Ne.visit(Reflect.get(r,hn),f,_),Reflect.set(r,a,_)):Reflect.has(r,a)?Reflect.set(r,a,_):!1}};Object.defineProperties(Wt.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[kr]:{writable:!0,enumerable:!1,configurable:!1,value:null},[hn]:{writable:!0,enumerable:!1,configurable:!1,value:null},[Qa]:{writable:!0,enumerable:!1,configurable:!1,value:null}});var Zl;function ti(l,r,a,_){let{length:f=0}=l,m=typeof r!="number"?0:r,g=typeof a!="number"?f:a;return m<0&&(m=(m%f+f)%f),g<0&&(g=(g%f+f)%f),g<m&&(Zl=m,m=g,g=Zl),g>f&&(g=f),_?_(l,m,g):[m,g]}var Nr=(l,r)=>l<0?r+l:l,ec=l=>l!==l;function xr(l){if(typeof l!=="object"||l===null)return ec(l)?ec:a=>a===l;if(l instanceof Date){let a=l.valueOf();return _=>_ instanceof Date?_.valueOf()===a:!1}return ArrayBuffer.isView(l)?a=>a?ka(l,a):!1:l instanceof Map?Pu(l):Array.isArray(l)?Tu(l):l instanceof ue?Cu(l):Iu(l,!0)}function Tu(l){let r=[];for(let a=-1,_=l.length;++a<_;)r[a]=xr(l[a]);return Es(r)}function Pu(l){let r=-1,a=[];for(let _ of l.values())a[++r]=xr(_);return Es(a)}function Cu(l){let r=[];for(let a=-1,_=l.length;++a<_;)r[a]=xr(l.get(a));return Es(r)}function Iu(l,r=!1){let a=Object.keys(l);if(!r&&a.length===0)return()=>!1;let _=[];for(let f=-1,m=a.length;++f<m;)_[f]=xr(l[a[f]]);return Es(_,a)}function Es(l,r){return a=>{if(!a||typeof a!="object")return!1;switch(a.constructor){case Array:return ku(l,a);case Map:return tc(l,a,a.keys());case Wt:case Cr:case Object:case void 0:return tc(l,a,r||Object.keys(a))}return a instanceof ue?xu(l,a):!1}}function ku(l,r){let a=l.length;if(r.length!==a)return!1;for(let _=-1;++_<a;)if(!l[_](r[_]))return!1;return!0}function xu(l,r){let a=l.length;if(r.length!==a)return!1;for(let _=-1;++_<a;)if(!l[_](r.get(_)))return!1;return!0}function tc(l,r,a){let _=a[Symbol.iterator](),f=r instanceof Map?r.keys():Object.keys(r)[Symbol.iterator](),m=r instanceof Map?r.values():Object.values(r)[Symbol.iterator](),g=0,e=l.length,t=m.next(),n=_.next(),o=f.next();for(;g<e&&!n.done&&!o.done&&!t.done&&!(n.value!==o.value||!l[g](t.value));++g,n=_.next(),o=f.next(),t=m.next());return g===e&&n.done&&o.done&&t.done?!0:(_.return&&_.return(),f.return&&f.return(),m.return&&m.return(),!1)}var ro={};Sr(ro,{BitIterator:()=>Wr,getBit:()=>rc,getBool:()=>Fs,packBools:()=>zr,popcnt_array:()=>nc,popcnt_bit_range:()=>ri,popcnt_uint32:()=>ws,setBool:()=>Mu,truncateBitmap:()=>Vr});function Fs(l,r,a,_){return(a&1<<_)!==0}function rc(l,r,a,_){return(a&1<<_)>>_}function Mu(l,r,a){return a?!!(l[r>>3]|=1<<r%8)||!0:!(l[r>>3]&=~(1<<r%8))&&!1}function Vr(l,r,a){let _=a.byteLength+7&-8;if(l>0||a.byteLength<_){let f=new Uint8Array(_);return f.set(l%8===0?a.subarray(l>>3):zr(new Wr(a,l,r,null,Fs)).subarray(0,_)),f}return a}function zr(l){let r=[],a=0,_=0,f=0;for(let g of l)g&&(f|=1<<_),++_===8&&(r[a++]=f,f=_=0);(a===0||_>0)&&(r[a++]=f);let m=new Uint8Array(r.length+7&-8);return m.set(r),m}var Wr=class{constructor(r,a,_,f,m){this.bytes=r,this.length=_,this.context=f,this.get=m,this.bit=a%8,this.byteIndex=a>>3,this.byte=r[this.byteIndex++],this.index=0}next(){return this.index<this.length?(this.bit===8&&(this.bit=0,this.byte=this.bytes[this.byteIndex++]),{value:this.get(this.context,this.index++,this.byte,this.bit++)}):{done:!0,value:null}}[Symbol.iterator](){return this}};function ri(l,r,a){if(a-r<=0)return 0;if(a-r<8){let m=0;for(let g of new Wr(l,r,a-r,l,rc))m+=g;return m}let _=a>>3<<3,f=r+(r%8===0?0:8-r%8);return ri(l,r,f)+ri(l,_,a)+nc(l,f>>3,_-f>>3)}function nc(l,r,a){let _=0,f=Math.trunc(r),m=new DataView(l.buffer,l.byteOffset,l.byteLength),g=a===void 0?l.byteLength:f+a;for(;g-f>=4;)_+=ws(m.getUint32(f)),f+=4;for(;g-f>=2;)_+=ws(m.getUint16(f)),f+=2;for(;g-f>=1;)_+=ws(m.getUint8(f)),f+=1;return _}function ws(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 Bu=-1,fe=class l{get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get nullable(){if(this._nullCount!==0){let{type:r}=this;return N.isSparseUnion(r)?this.children.some(a=>a.nullable):N.isDenseUnion(r)?this.children.some(a=>a.nullable):this.nullBitmap&&this.nullBitmap.byteLength>0}return!0}get byteLength(){let r=0,{valueOffsets:a,values:_,nullBitmap:f,typeIds:m}=this;return a&&(r+=a.byteLength),_&&(r+=_.byteLength),f&&(r+=f.byteLength),m&&(r+=m.byteLength),this.children.reduce((g,e)=>g+e.byteLength,r)}get nullCount(){if(N.isUnion(this.type))return this.children.reduce((_,f)=>_+f.nullCount,0);let r=this._nullCount,a;return r<=Bu&&(a=this.nullBitmap)&&(this._nullCount=r=a.length===0?0:this.length-ri(a,this.offset,this.offset+this.length)),r}constructor(r,a,_,f,m,g=[],e){this.type=r,this.children=g,this.dictionary=e,this.offset=Math.floor(Math.max(a||0,0)),this.length=Math.floor(Math.max(_||0,0)),this._nullCount=Math.floor(Math.max(f||0,-1));let t;m instanceof l?(this.stride=m.stride,this.values=m.values,this.typeIds=m.typeIds,this.nullBitmap=m.nullBitmap,this.valueOffsets=m.valueOffsets):(this.stride=at(r),m&&((t=m[0])&&(this.valueOffsets=t),(t=m[1])&&(this.values=t),(t=m[2])&&(this.nullBitmap=t),(t=m[3])&&(this.typeIds=t)))}getValid(r){let{type:a}=this;if(N.isUnion(a)){let _=a,f=this.children[_.typeIdToChildIndex[this.typeIds[r]]],m=_.mode===Se.Dense?this.valueOffsets[r]:r;return f.getValid(m)}if(this.nullable&&this.nullCount>0){let _=this.offset+r;return(this.nullBitmap[_>>3]&1<<_%8)!==0}return!0}setValid(r,a){let _,{type:f}=this;if(N.isUnion(f)){let m=f,g=this.children[m.typeIdToChildIndex[this.typeIds[r]]],e=m.mode===Se.Dense?this.valueOffsets[r]:r;_=g.getValid(e),g.setValid(e,a)}else{let{nullBitmap:m}=this,{offset:g,length:e}=this,t=g+r,n=1<<t%8,o=t>>3;(!m||m.byteLength<=o)&&(m=new Uint8Array((g+e+63&-64)>>3).fill(255),this.nullCount>0?(m.set(Vr(g,e,this.nullBitmap),0),Object.assign(this,{nullBitmap:m})):Object.assign(this,{nullBitmap:m,_nullCount:0}));let c=m[o];_=(c&n)!==0,m[o]=a?c|n:c&~n}return _!==!!a&&(this._nullCount=this.nullCount+(a?-1:1)),a}clone(r=this.type,a=this.offset,_=this.length,f=this._nullCount,m=this,g=this.children){return new l(r,a,_,f,m,g,this.dictionary)}slice(r,a){let{stride:_,typeId:f,children:m}=this,g=+(this._nullCount===0)-1,e=f===16?_:1,t=this._sliceBuffers(r,a,_,f);return this.clone(this.type,this.offset+r,a,g,t,m.length===0||this.valueOffsets?m:this._sliceChildren(m,e*r,e*a))}_changeLengthAndBackfillNullBitmap(r){if(this.typeId===D.Null)return this.clone(this.type,0,r,0);let{length:a,nullCount:_}=this,f=new Uint8Array((r+63&-64)>>3).fill(255,0,a>>3);f[a>>3]=(1<<a-(a&-8))-1,_>0&&f.set(Vr(this.offset,a,this.nullBitmap),0);let m=this.buffers;return m[_t.VALIDITY]=f,this.clone(this.type,0,r,_+(r-a),m)}_sliceBuffers(r,a,_,f){let m,{buffers:g}=this;return(m=g[_t.TYPE])&&(g[_t.TYPE]=m.subarray(r,r+a)),(m=g[_t.OFFSET])&&(g[_t.OFFSET]=m.subarray(r,r+a+1))||(m=g[_t.DATA])&&(g[_t.DATA]=f===6?m:m.subarray(_*r,_*(r+a))),g}_sliceChildren(r,a,_){return r.map(f=>f.slice(a,_))}};fe.prototype.children=Object.freeze([]);var no=class l extends ${visit(r){return this.getVisitFn(r.type).call(this,r)}visitNull(r){let{["type"]:a,["offset"]:_=0,["length"]:f=0}=r;return new fe(a,_,f,f)}visitBool(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length>>3,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitInt(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitFloat(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitUtf8(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.data),m=Q(r.nullBitmap),g=Rr(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,f,m])}visitLargeUtf8(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.data),m=Q(r.nullBitmap),g=Vi(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,f,m])}visitBinary(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.data),m=Q(r.nullBitmap),g=Rr(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,f,m])}visitLargeBinary(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.data),m=Q(r.nullBitmap),g=Vi(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,f,m])}visitFixedSizeBinary(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/at(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitDate(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/at(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitTimestamp(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/at(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitTime(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/at(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitDecimal(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/at(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitList(r){let{["type"]:a,["offset"]:_=0,["child"]:f}=r,m=Q(r.nullBitmap),g=Rr(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,void 0,m],[f])}visitStruct(r){let{["type"]:a,["offset"]:_=0,["children"]:f=[]}=r,m=Q(r.nullBitmap),{length:g=f.reduce((t,{length:n})=>Math.max(t,n),0),nullCount:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,void 0,m],f)}visitUnion(r){let{["type"]:a,["offset"]:_=0,["children"]:f=[]}=r,m=le(a.ArrayType,r.typeIds),{["length"]:g=m.length,["nullCount"]:e=-1}=r;if(N.isSparseUnion(a))return new fe(a,_,g,e,[void 0,void 0,void 0,m],f);let t=Rr(r.valueOffsets);return new fe(a,_,g,e,[t,void 0,void 0,m],f)}visitDictionary(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.indices.ArrayType,r.data),{["dictionary"]:g=new ue([new l().visit({type:a.dictionary})])}=r,{["length"]:e=m.length,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[void 0,m,f],[],g)}visitInterval(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length/at(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitDuration(r){let{["type"]:a,["offset"]:_=0}=r,f=Q(r.nullBitmap),m=le(a.ArrayType,r.data),{["length"]:g=m.length,["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,m,f])}visitFixedSizeList(r){let{["type"]:a,["offset"]:_=0,["child"]:f=new l().visit({type:a.valueType})}=r,m=Q(r.nullBitmap),{["length"]:g=f.length/at(a),["nullCount"]:e=r.nullBitmap?-1:0}=r;return new fe(a,_,g,e,[void 0,void 0,m],[f])}visitMap(r){let{["type"]:a,["offset"]:_=0,["child"]:f=new l().visit({type:a.childType})}=r,m=Q(r.nullBitmap),g=Rr(r.valueOffsets),{["length"]:e=g.length-1,["nullCount"]:t=r.nullBitmap?-1:0}=r;return new fe(a,_,e,t,[g,void 0,m],[f])}},Uu=new no;function ne(l){return Uu.visit(l)}var ni=class{constructor(r=0,a){this.numChunks=r,this.getChunkIterator=a,this.chunkIndex=0,this.chunkIterator=this.getChunkIterator(0)}next(){for(;this.chunkIndex<this.numChunks;){let r=this.chunkIterator.next();if(!r.done)return r;++this.chunkIndex<this.numChunks&&(this.chunkIterator=this.getChunkIterator(this.chunkIndex))}return{done:!0,value:null}}[Symbol.iterator](){return this}};function ic(l){return l.some(r=>r.nullable)}function Ds(l){return l.reduce((r,a)=>r+a.nullCount,0)}function Ts(l){return l.reduce((r,a,_)=>(r[_+1]=r[_]+a.length,r),new Uint32Array(l.length+1))}function Ps(l,r,a,_){let f=[];for(let m=-1,g=l.length;++m<g;){let e=l[m],t=r[m],{length:n}=e;if(t>=_)break;if(a>=t+n)continue;if(t>=a&&t+n<=_){f.push(e);continue}let o=Math.max(0,a-t),c=Math.min(_-t,n);f.push(e.slice(o,c-o))}return f.length===0&&f.push(l[0].slice(0,0)),f}function io(l,r,a,_){let f=0,m=0,g=r.length-1;do{if(f>=g-1)return a<r[g]?_(l,f,a-r[f]):null;m=f+Math.trunc((g-f)*.5),a<r[m]?g=m:f=m}while(f<g)}function ii(l,r){return l.getValid(r)}function vn(l){function r(a,_,f){return l(a[_],f)}return function(a){let _=this.data;return io(_,this._offsets,a,r)}}function Cs(l){let r;function a(_,f,m){return l(_[f],m,r)}return function(_,f){let m=this.data;r=f;let g=io(m,this._offsets,_,a);return r=void 0,g}}function Is(l){let r;function a(_,f,m){let g=m,e=0,t=0;for(let n=f-1,o=_.length;++n<o;){let c=_[n];if(~(e=l(c,r,g)))return t+e;g=0,t+=c.length}return-1}return function(_,f){r=_;let m=this.data,g=typeof f!="number"?a(m,0,0):io(m,this._offsets,f,a);return r=void 0,g}}var X=class extends ${};function Gu(l,r){return r===null&&l.length>0?0:-1}function Ou(l,r){let{nullBitmap:a}=l;if(!a||l.nullCount<=0)return-1;let _=0;for(let f of new Wr(a,l.offset+(r||0),l.length,a,Fs)){if(!f)return _;++_}return-1}function ie(l,r,a){if(r===void 0)return-1;if(r===null)switch(l.typeId){case D.Union:break;case D.Dictionary:break;default:return Ou(l,a)}let _=xe.getVisitFn(l),f=xr(r);for(let m=(a||0)-1,g=l.length;++m<g;)if(f(_(l,m)))return m;return-1}function sc(l,r,a){let _=xe.getVisitFn(l),f=xr(r);for(let m=(a||0)-1,g=l.length;++m<g;)if(f(_(l,m)))return m;return-1}X.prototype.visitNull=Gu;X.prototype.visitBool=ie;X.prototype.visitInt=ie;X.prototype.visitInt8=ie;X.prototype.visitInt16=ie;X.prototype.visitInt32=ie;X.prototype.visitInt64=ie;X.prototype.visitUint8=ie;X.prototype.visitUint16=ie;X.prototype.visitUint32=ie;X.prototype.visitUint64=ie;X.prototype.visitFloat=ie;X.prototype.visitFloat16=ie;X.prototype.visitFloat32=ie;X.prototype.visitFloat64=ie;X.prototype.visitUtf8=ie;X.prototype.visitLargeUtf8=ie;X.prototype.visitBinary=ie;X.prototype.visitLargeBinary=ie;X.prototype.visitFixedSizeBinary=ie;X.prototype.visitDate=ie;X.prototype.visitDateDay=ie;X.prototype.visitDateMillisecond=ie;X.prototype.visitTimestamp=ie;X.prototype.visitTimestampSecond=ie;X.prototype.visitTimestampMillisecond=ie;X.prototype.visitTimestampMicrosecond=ie;X.prototype.visitTimestampNanosecond=ie;X.prototype.visitTime=ie;X.prototype.visitTimeSecond=ie;X.prototype.visitTimeMillisecond=ie;X.prototype.visitTimeMicrosecond=ie;X.prototype.visitTimeNanosecond=ie;X.prototype.visitDecimal=ie;X.prototype.visitList=ie;X.prototype.visitStruct=ie;X.prototype.visitUnion=ie;X.prototype.visitDenseUnion=sc;X.prototype.visitSparseUnion=sc;X.prototype.visitDictionary=ie;X.prototype.visitInterval=ie;X.prototype.visitIntervalDayTime=ie;X.prototype.visitIntervalYearMonth=ie;X.prototype.visitDuration=ie;X.prototype.visitDurationSecond=ie;X.prototype.visitDurationMillisecond=ie;X.prototype.visitDurationMicrosecond=ie;X.prototype.visitDurationNanosecond=ie;X.prototype.visitFixedSizeList=ie;X.prototype.visitMap=ie;var jr=new X;var Y=class extends ${};function ee(l){let{type:r}=l;if(l.nullCount===0&&l.stride===1&&(N.isInt(r)&&r.bitWidth!==64||N.isTime(r)&&r.bitWidth!==64||N.isFloat(r)&&r.precision!==be.HALF))return new ni(l.data.length,_=>{let f=l.data[_];return f.values.subarray(0,f.length)[Symbol.iterator]()});let a=0;return new ni(l.data.length,_=>{let m=l.data[_].length,g=l.slice(a,a+m);return a+=m,new so(g)})}var so=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}};Y.prototype.visitNull=ee;Y.prototype.visitBool=ee;Y.prototype.visitInt=ee;Y.prototype.visitInt8=ee;Y.prototype.visitInt16=ee;Y.prototype.visitInt32=ee;Y.prototype.visitInt64=ee;Y.prototype.visitUint8=ee;Y.prototype.visitUint16=ee;Y.prototype.visitUint32=ee;Y.prototype.visitUint64=ee;Y.prototype.visitFloat=ee;Y.prototype.visitFloat16=ee;Y.prototype.visitFloat32=ee;Y.prototype.visitFloat64=ee;Y.prototype.visitUtf8=ee;Y.prototype.visitLargeUtf8=ee;Y.prototype.visitBinary=ee;Y.prototype.visitLargeBinary=ee;Y.prototype.visitFixedSizeBinary=ee;Y.prototype.visitDate=ee;Y.prototype.visitDateDay=ee;Y.prototype.visitDateMillisecond=ee;Y.prototype.visitTimestamp=ee;Y.prototype.visitTimestampSecond=ee;Y.prototype.visitTimestampMillisecond=ee;Y.prototype.visitTimestampMicrosecond=ee;Y.prototype.visitTimestampNanosecond=ee;Y.prototype.visitTime=ee;Y.prototype.visitTimeSecond=ee;Y.prototype.visitTimeMillisecond=ee;Y.prototype.visitTimeMicrosecond=ee;Y.prototype.visitTimeNanosecond=ee;Y.prototype.visitDecimal=ee;Y.prototype.visitList=ee;Y.prototype.visitStruct=ee;Y.prototype.visitUnion=ee;Y.prototype.visitDenseUnion=ee;Y.prototype.visitSparseUnion=ee;Y.prototype.visitDictionary=ee;Y.prototype.visitInterval=ee;Y.prototype.visitIntervalDayTime=ee;Y.prototype.visitIntervalYearMonth=ee;Y.prototype.visitDuration=ee;Y.prototype.visitDurationSecond=ee;Y.prototype.visitDurationMillisecond=ee;Y.prototype.visitDurationMicrosecond=ee;Y.prototype.visitDurationNanosecond=ee;Y.prototype.visitFixedSizeList=ee;Y.prototype.visitMap=ee;var yn=new Y;var ac,oc={},lc={},ue=class l{constructor(r){var a,_,f;let m=r[0]instanceof l?r.flatMap(e=>e.data):r;if(m.length===0||m.some(e=>!(e instanceof fe)))throw new TypeError("Vector constructor expects an Array of Data instances.");let g=(a=m[0])===null||a===void 0?void 0:a.type;switch(m.length){case 0:this._offsets=[0];break;case 1:{let{get:e,set:t,indexOf:n}=oc[g.typeId],o=m[0];this.isValid=c=>ii(o,c),this.get=c=>e(o,c),this.set=(c,u)=>t(o,c,u),this.indexOf=c=>n(o,c),this._offsets=[0,o.length];break}default:Object.setPrototypeOf(this,lc[g.typeId]),this._offsets=Ts(m);break}this.data=m,this.type=g,this.stride=at(g),this.numChildren=(f=(_=g.children)===null||_===void 0?void 0:_.length)!==null&&f!==void 0?f:0,this.length=this._offsets.at(-1)}get byteLength(){return this.data.reduce((r,a)=>r+a.byteLength,0)}get nullable(){return ic(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(Nr(r,this.length))}set(r,a){}indexOf(r,a){return-1}includes(r,a){return this.indexOf(r,a)>-1}[Symbol.iterator](){return yn.visit(this)}concat(...r){return new l(this.data.concat(r.flatMap(a=>a.data).flat(Number.POSITIVE_INFINITY)))}slice(r,a){return new l(ti(this,r,a,({data:_,_offsets:f},m,g)=>Ps(_,f,m,g)))}toJSON(){return[...this]}toArray(){let{type:r,data:a,length:_,stride:f,ArrayType:m}=this;switch(r.typeId){case D.Int:case D.Float:case D.Decimal:case D.Time:case D.Timestamp:switch(a.length){case 0:return new m;case 1:return a[0].values.subarray(0,_*f);default:return a.reduce((g,{values:e,length:t})=>(g.array.set(e.subarray(0,t*f),g.offset),g.offset+=t*f,g),{array:new m(_*f),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(r){var a;return this.getChildAt((a=this.type.children)===null||a===void 0?void 0:a.findIndex(_=>_.name===r))}getChildAt(r){return r>-1&&r<this.numChildren?new l(this.data.map(({children:a})=>a[r])):null}get isMemoized(){return N.isDictionary(this.type)?this.data[0].dictionary.isMemoized:!1}memoize(){if(N.isDictionary(this.type)){let r=new ks(this.data[0].dictionary),a=this.data.map(_=>{let f=_.clone();return f.dictionary=r,f});return new l(a)}return new ks(this)}unmemoize(){if(N.isDictionary(this.type)&&this.isMemoized){let r=this.data[0].dictionary.unmemoize(),a=this.data.map(_=>{let f=_.clone();return f.dictionary=r,f});return new l(a)}return this}};ac=Symbol.toStringTag;ue[ac]=(l=>{l.type=N.prototype,l.data=[],l.length=0,l.stride=1,l.numChildren=0,l._offsets=new Uint32Array([0]),l[Symbol.isConcatSpreadable]=!0;let r=Object.keys(D).map(a=>D[a]).filter(a=>typeof a=="number"&&a!==D.NONE);for(let a of r){let _=xe.getVisitFnByTypeId(a),f=Ne.getVisitFnByTypeId(a),m=jr.getVisitFnByTypeId(a);oc[a]={get:_,set:f,indexOf:m},lc[a]=Object.create(l,{isValid:{value:vn(ii)},get:{value:vn(xe.getVisitFnByTypeId(a))},set:{value:Cs(Ne.getVisitFnByTypeId(a))},indexOf:{value:Is(jr.getVisitFnByTypeId(a))}})}return"Vector"})(ue.prototype);var ks=class l extends ue{constructor(r){super(r.data);let a=this.get,_=this.set,f=this.slice,m=new Array(this.length);Object.defineProperty(this,"get",{value(g){let e=m[g];if(e!==void 0)return e;let t=a.call(this,g);return m[g]=t,t}}),Object.defineProperty(this,"set",{value(g,e){_.call(this,g,e),m[g]=e}}),Object.defineProperty(this,"slice",{value:(g,e)=>new l(f.call(this,g,e))}),Object.defineProperty(this,"isMemoized",{value:!0}),Object.defineProperty(this,"unmemoize",{value:()=>new ue(this.data)}),Object.defineProperty(this,"memoize",{value:()=>this})}};function cc(l){if(!l||l.length<=0)return function(f){return!0};let r="",a=l.filter(_=>_===_);return a.length>0&&(r=`
25
25
  switch (x) {${a.map(_=>`
26
26
  case ${Ru(_)}:`).join("")}
27
27
  return false;