@ifc-lite/viewer 1.17.1 → 1.17.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +30 -28
- package/.turbo/turbo-typecheck.log +1 -41
- package/CHANGELOG.md +23 -0
- package/dist/assets/arrow-DJf2ErbF.js +20 -0
- package/dist/assets/basketViewActivator-aojwdomq.js +1 -0
- package/dist/assets/bcf-D5-QWGO9.js +281 -0
- package/dist/assets/{browser-BQdwnOUt.js → browser-CKs-FY1P.js} +1 -1
- package/dist/assets/drawing-2d-gWfpdfYe.js +257 -0
- package/dist/assets/epsg-index.generated-BjJrt_0S.js +1 -0
- package/dist/assets/exporters-C_6J153K.js +79896 -0
- package/dist/assets/geometry.worker-Nz9_YIqh.js +1 -0
- package/dist/assets/ids-B4jTqB1O.js +1 -0
- package/dist/assets/ifc-lite_bg-eSkBTizQ.wasm +0 -0
- package/dist/assets/index-jhBr1wbn.js +101666 -0
- package/dist/assets/index-pbE7itQS.css +1 -0
- package/dist/assets/lens-CSASnhAL.js +1 -0
- package/dist/assets/maplibre-gl-BpvwNKKy.js +811 -0
- package/dist/assets/{native-bridge-CN0ZMR2t.js → native-bridge-DSIyEYXG.js} +6 -4
- package/dist/assets/{arrow2-bb-jcVEo.js → parquet-CEXmQNRO.js} +2 -2
- package/dist/assets/sandbox-B79eavQ3.js +5933 -0
- package/dist/assets/server-client-D3bUPJJc.js +626 -0
- package/dist/assets/wasm-bridge-B0J07fZZ.js +1 -0
- package/dist/assets/zip-B-jFFAGa.js +12 -0
- package/dist/index.html +11 -2
- package/package.json +24 -19
- package/src/components/viewer/ExportChangesButton.tsx +18 -3
- package/src/components/viewer/ExportDialog.tsx +16 -3
- package/src/components/viewer/HierarchyPanel.tsx +6 -6
- package/src/components/viewer/PropertiesPanel.tsx +96 -60
- package/src/components/viewer/Section2DPanel.tsx +3 -2
- package/src/components/viewer/ViewportContainer.tsx +5 -4
- package/src/components/viewer/hierarchy/treeDataBuilder.ts +2 -1
- package/src/components/viewer/properties/EpsgLookupDialog.tsx +418 -0
- package/src/components/viewer/properties/GeoreferencingPanel.tsx +591 -0
- package/src/components/viewer/properties/LocationMap.tsx +289 -0
- package/src/components/viewer/properties/ModelMetadataPanel.tsx +3 -70
- package/src/hooks/bcfIdLookup.ts +13 -11
- package/src/hooks/ids/idsColorSystem.ts +3 -8
- package/src/hooks/useIDS.ts +31 -16
- package/src/hooks/useIfcFederation.ts +2 -2
- package/src/lib/geo/kmz-exporter.ts +112 -0
- package/src/lib/geo/reproject.ts +244 -0
- package/src/lib/lens/adapter.ts +3 -1
- package/src/main.tsx +1 -0
- package/src/sdk/adapters/export-adapter.ts +14 -1
- package/src/sdk/adapters/viewer-adapter.ts +5 -9
- package/src/sdk/adapters/visibility-adapter.ts +6 -9
- package/src/store/basketVisibleSet.ts +3 -4
- package/src/store/globalId.ts +79 -0
- package/src/store/index.ts +1 -0
- package/src/store/slices/mutationSlice.ts +178 -0
- package/src/store/slices/pinboardSlice.ts +4 -8
- package/vite.config.ts +17 -0
- package/dist/assets/Arrow.dom-DuPUrOxJ.js +0 -20
- package/dist/assets/arrow2_bg-BlXl-cSQ.js +0 -1
- package/dist/assets/basketViewActivator-DetjPnvt.js +0 -1
- package/dist/assets/geometry.worker-Bjm-ukng.js +0 -1
- package/dist/assets/ifc-lite_bg-DD0A7Yow.wasm +0 -0
- package/dist/assets/index-B3X21yXA.js +0 -229
- package/dist/assets/index-Ba4eoTe7.css +0 -1
- package/dist/assets/index-BybGZJTW.js +0 -189478
- package/dist/assets/module-6F3E5H7Y-tx0BadV3.js +0 -6
- package/dist/assets/wasm-bridge-D0bALkma.js +0 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { _ as c, __tla as __tla_0 } from "./
|
|
2
|
-
|
|
1
|
+
import { _ as c, __tla as __tla_0 } from "./exporters-C_6J153K.js";
|
|
2
|
+
import "./bcf-D5-QWGO9.js";
|
|
3
|
+
import "./zip-B-jFFAGa.js";
|
|
4
|
+
let p;
|
|
3
5
|
let __tla = Promise.all([
|
|
4
6
|
(()=>{
|
|
5
7
|
try {
|
|
@@ -7,7 +9,7 @@ let __tla = Promise.all([
|
|
|
7
9
|
} catch {}
|
|
8
10
|
})()
|
|
9
11
|
]).then(async ()=>{
|
|
10
|
-
|
|
12
|
+
p = class {
|
|
11
13
|
initialized = !1;
|
|
12
14
|
invoke = null;
|
|
13
15
|
listen = null;
|
|
@@ -108,4 +110,4 @@ let __tla = Promise.all([
|
|
|
108
110
|
};
|
|
109
111
|
}
|
|
110
112
|
});
|
|
111
|
-
export {
|
|
113
|
+
export { p as NativeBridge, __tla };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
let r;const H=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};typeof TextDecoder<"u"&&H.decode();let
|
|
2
|
-
${n.stack}`:_}function tt(n,t,e,_){const o={a:n,b:t,cnt:1,dtor:e},c=(...u)=>{o.cnt++;const w=o.a;o.a=0;try{return _(w,o.b,...u)}finally{--o.cnt===0?r.__wbindgen_export_2.get(o.dtor)(w,o.b):o.a=w}};return c.original=o,c}function et(n,t,e){r._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h896648893be04d51(n,t,i(e))}function C(n,t){const e=t(n.length*1,1)>>>0;return m().set(n,e/1),f=n.length,e}function at(n){try{const o=r.__wbindgen_add_to_stack_pointer(-16),c=C(n,r.__wbindgen_malloc),u=f;r.readParquet(o,c,u);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return k.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function ct(n){try{const o=r.__wbindgen_add_to_stack_pointer(-16),c=C(n,r.__wbindgen_malloc),u=f;r.readMetadata(o,c,u);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return T.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function A(n,t){if(!(n instanceof t))throw new Error(`expected instance of ${t.name}`);return n.ptr}function it(n,t,e){try{const u=r.__wbindgen_add_to_stack_pointer(-16),w=C(n,r.__wbindgen_malloc),g=f;A(t,S),A(e,L),r.readRowGroup(u,w,g,t.__wbg_ptr,e.__wbg_ptr);var _=s()[u/4+0],o=s()[u/4+1],c=s()[u/4+2];if(c)throw b(o);return P.__wrap(_)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function ut(n,t){const e=h(n,r.__wbindgen_malloc,r.__wbindgen_realloc),_=f,o=r.readMetadataAsync(e,_,!v(t),v(t)?0:t);return b(o)}function bt(n,t,e){const _=h(n,r.__wbindgen_malloc,r.__wbindgen_realloc),o=f;A(t,L),A(e,S);const c=r.readRowGroupAsync(_,o,t.__wbg_ptr,e.__wbg_ptr);return b(c)}function V(n,t){return n=n>>>0,m().subarray(n/1,n/1+t)}function wt(n,t){try{const g=r.__wbindgen_add_to_stack_pointer(-16);A(n,k);var e=n.__destroy_into_raw();let Z=0;v(t)||(A(t,D),Z=t.__destroy_into_raw()),r.writeParquet(g,e,Z);var _=s()[g/4+0],o=s()[g/4+1],c=s()[g/4+2],u=s()[g/4+3];if(u)throw b(c);var w=V(_,o).slice();return r.__wbindgen_free(_,o*1),w}finally{r.__wbindgen_add_to_stack_pointer(16)}}function dt(n){const t=h(n,r.__wbindgen_malloc,r.__wbindgen_realloc),e=f,_=r.readParquetStream(t,e);return b(_)}let O=null;function $(){return(O===null||O.byteLength===0)&&(O=new BigInt64Array(r.memory.buffer)),O}let j=null;function rt(){return(j===null||j.byteLength===0)&&(j=new BigUint64Array(r.memory.buffer)),j}function nt(n,t){return n=n>>>0,rt().subarray(n/8,n/8+t)}function gt(){const n=r.wasmMemory();return b(n)}function ft(){const n=r._functionTable();return b(n)}function d(n,t){try{return n.apply(this,t)}catch(e){r.__wbindgen_exn_store(i(e))}}function _t(n,t,e,_){r.wasm_bindgen__convert__closures__invoke2_mut__h02232cd008ae4dfe(n,t,i(e),i(_))}const pt=Object.freeze({UNCOMPRESSED:0,0:"UNCOMPRESSED",SNAPPY:1,1:"SNAPPY",GZIP:2,2:"GZIP",BROTLI:3,3:"BROTLI",LZ4:4,4:"LZ4",ZSTD:5,5:"ZSTD",LZ4_RAW:6,6:"LZ4_RAW"}),lt=Object.freeze({PLAIN:0,0:"PLAIN",PLAIN_DICTIONARY:1,1:"PLAIN_DICTIONARY",RLE:2,2:"RLE",BIT_PACKED:3,3:"BIT_PACKED",DELTA_BINARY_PACKED:4,4:"DELTA_BINARY_PACKED",DELTA_LENGTH_BYTE_ARRAY:5,5:"DELTA_LENGTH_BYTE_ARRAY",DELTA_BYTE_ARRAY:6,6:"DELTA_BYTE_ARRAY",RLE_DICTIONARY:7,7:"RLE_DICTIONARY",BYTE_STREAM_SPLIT:8,8:"BYTE_STREAM_SPLIT"}),ht=Object.freeze({V1:0,0:"V1",V2:1,1:"V2"});class S{static __wrap(t){t=t>>>0;const e=Object.create(S.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_arrowschema_free(t)}copy(){const t=r.arrowschema_copy(this.__wbg_ptr);return S.__wrap(t)}}class W{static __wrap(t){t=t>>>0;const e=Object.create(W.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_columnchunkmetadata_free(t)}filePath(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_filePath(_,this.__wbg_ptr);var t=s()[_/4+0],e=s()[_/4+1];let o;return t!==0&&(o=p(t,e).slice(),r.__wbindgen_free(t,e*1)),o}finally{r.__wbindgen_add_to_stack_pointer(16)}}fileOffset(){return r.columnchunkmetadata_fileOffset(this.__wbg_ptr)}pathInSchema(){let t,e;try{const c=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_pathInSchema(c,this.__wbg_ptr);var _=s()[c/4+0],o=s()[c/4+1];return t=_,e=o,p(_,o)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_free(t,e,1)}}statistics_exist(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_statistics_exist(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return t!==0}finally{r.__wbindgen_add_to_stack_pointer(16)}}getStatisticsMinValue(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_getStatisticsMinValue(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return b(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}getStatisticsMaxValue(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_getStatisticsMaxValue(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return b(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}getStatisticsNullCount(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_getStatisticsNullCount(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return b(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}numValues(){return r.columnchunkmetadata_numValues(this.__wbg_ptr)}compressedSize(){return r.columnchunkmetadata_compressedSize(this.__wbg_ptr)}uncompressedSize(){return r.columnchunkmetadata_uncompressedSize(this.__wbg_ptr)}dataPageOffset(){return r.columnchunkmetadata_dataPageOffset(this.__wbg_ptr)}hasIndexPage(){return r.columnchunkmetadata_hasIndexPage(this.__wbg_ptr)!==0}indexPageOffset(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_indexPageOffset(_,this.__wbg_ptr);var t=s()[_/4+0],e=$()[_/8+1];return t===0?void 0:e}finally{r.__wbindgen_add_to_stack_pointer(16)}}dictionaryPageOffset(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_dictionaryPageOffset(_,this.__wbg_ptr);var t=s()[_/4+0],e=$()[_/8+1];return t===0?void 0:e}finally{r.__wbindgen_add_to_stack_pointer(16)}}numColumnEncodings(){return r.columnchunkmetadata_numColumnEncodings(this.__wbg_ptr)>>>0}byteRange(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_byteRange(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=nt(t,e).slice();return r.__wbindgen_free(t,e*8),_}finally{r.__wbindgen_add_to_stack_pointer(16)}}}class U{static __wrap(t){t=t>>>0;const e=Object.create(U.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_datatype_free(t)}}class F{static __wrap(t){t=t>>>0;const e=Object.create(F.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_ffirecordbatch_free(t)}arrayAddr(){return r.ffirecordbatch_arrayAddr(this.__wbg_ptr)}schemaAddr(){return r.ffirecordbatch_schemaAddr(this.__wbg_ptr)}}class x{static __wrap(t){t=t>>>0;const e=Object.create(x.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_ffitable_free(t)}numBatches(){return r.ffitable_numBatches(this.__wbg_ptr)>>>0}schemaAddr(){return r.ffitable_schemaAddr(this.__wbg_ptr)}arrayAddr(t){return r.ffitable_arrayAddr(this.__wbg_ptr,t)}drop(){const t=this.__destroy_into_raw();r.ffitable_drop(t)}}class yt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_ffivector_free(t)}array_addr(){return r.ffivector_array_addr(this.__wbg_ptr)}field_addr(){return r.ffivector_field_addr(this.__wbg_ptr)}}class T{static __wrap(t){t=t>>>0;const e=Object.create(T.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_filemetadata_free(t)}copy(){const t=r.filemetadata_copy(this.__wbg_ptr);return T.__wrap(t)}version(){return r.filemetadata_version(this.__wbg_ptr)}numRows(){return r.filemetadata_numRows(this.__wbg_ptr)>>>0}createdBy(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.filemetadata_createdBy(_,this.__wbg_ptr);var t=s()[_/4+0],e=s()[_/4+1];let o;return t!==0&&(o=p(t,e).slice(),r.__wbindgen_free(t,e*1)),o}finally{r.__wbindgen_add_to_stack_pointer(16)}}numRowGroups(){return r.filemetadata_numRowGroups(this.__wbg_ptr)>>>0}rowGroup(t){const e=r.filemetadata_rowGroup(this.__wbg_ptr,t);return L.__wrap(e)}schema(){const t=r.filemetadata_schema(this.__wbg_ptr);return G.__wrap(t)}keyValueMetadata(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.filemetadata_keyValueMetadata(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return b(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}arrowSchema(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.filemetadata_arrowSchema(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return S.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}}class mt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_intounderlyingbytesource_free(t)}get type(){let t,e;try{const c=r.__wbindgen_add_to_stack_pointer(-16);r.intounderlyingbytesource_type(c,this.__wbg_ptr);var _=s()[c/4+0],o=s()[c/4+1];return t=_,e=o,p(_,o)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_free(t,e,1)}}get autoAllocateChunkSize(){return r.intounderlyingbytesource_autoAllocateChunkSize(this.__wbg_ptr)>>>0}start(t){r.intounderlyingbytesource_start(this.__wbg_ptr,i(t))}pull(t){const e=r.intounderlyingbytesource_pull(this.__wbg_ptr,i(t));return b(e)}cancel(){const t=this.__destroy_into_raw();r.__wbg_intounderlyingbytesource_free(t)}}class vt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_intounderlyingsink_free(t)}write(t){const e=r.intounderlyingsink_write(this.__wbg_ptr,i(t));return b(e)}close(){const t=this.__destroy_into_raw(),e=r.intounderlyingsink_close(t);return b(e)}abort(t){const e=this.__destroy_into_raw(),_=r.intounderlyingsink_abort(e,i(t));return b(_)}}class q{static __wrap(t){t=t>>>0;const e=Object.create(q.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_intounderlyingsource_free(t)}pull(t){const e=r.intounderlyingsource_pull(this.__wbg_ptr,i(t));return b(e)}cancel(){const t=this.__destroy_into_raw();r.intounderlyingsource_cancel(t)}}class kt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_pipeoptions_free(t)}get preventClose(){return r.pipeoptions_preventClose(this.__wbg_ptr)!==0}get preventCancel(){return r.pipeoptions_preventCancel(this.__wbg_ptr)!==0}get preventAbort(){return r.pipeoptions_preventAbort(this.__wbg_ptr)!==0}get signal(){const t=r.pipeoptions_signal(this.__wbg_ptr);return b(t)}}class z{static __wrap(t){t=t>>>0;const e=Object.create(z.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_queuingstrategy_free(t)}get highWaterMark(){return r.queuingstrategy_highWaterMark(this.__wbg_ptr)}}class At{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_readablestreamgetreaderoptions_free(t)}get mode(){const t=r.readablestreamgetreaderoptions_mode(this.__wbg_ptr);return b(t)}}class P{static __wrap(t){t=t>>>0;const e=Object.create(P.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_recordbatch_free(t)}get numRows(){return r.recordbatch_numRows(this.__wbg_ptr)>>>0}get numColumns(){return r.recordbatch_numColumns(this.__wbg_ptr)>>>0}get schema(){const t=r.recordbatch_schema(this.__wbg_ptr);return N.__wrap(t)}column(t){const e=r.recordbatch_column(this.__wbg_ptr,t);return e===0?void 0:B.__wrap(e)}column_by_name(t){const e=h(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=f,o=r.recordbatch_column_by_name(this.__wbg_ptr,e,_);return o===0?void 0:B.__wrap(o)}toFFI(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.recordbatch_toFFI(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return F.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}intoFFI(){try{const o=this.__destroy_into_raw(),c=r.__wbindgen_add_to_stack_pointer(-16);r.recordbatch_intoFFI(c,o);var t=s()[c/4+0],e=s()[c/4+1],_=s()[c/4+2];if(_)throw b(e);return F.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}intoIPCStream(){try{const u=this.__destroy_into_raw(),w=r.__wbindgen_add_to_stack_pointer(-16);r.recordbatch_intoIPCStream(w,u);var t=s()[w/4+0],e=s()[w/4+1],_=s()[w/4+2],o=s()[w/4+3];if(o)throw b(_);var c=V(t,e).slice();return r.__wbindgen_free(t,e*1),c}finally{r.__wbindgen_add_to_stack_pointer(16)}}}class L{static __wrap(t){t=t>>>0;const e=Object.create(L.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_rowgroupmetadata_free(t)}numRows(){return r.rowgroupmetadata_numRows(this.__wbg_ptr)>>>0}numColumns(){return r.rowgroupmetadata_numColumns(this.__wbg_ptr)>>>0}column(t){const e=r.rowgroupmetadata_column(this.__wbg_ptr,t);return W.__wrap(e)}totalByteSize(){return r.rowgroupmetadata_totalByteSize(this.__wbg_ptr)>>>0}compressedSize(){return r.rowgroupmetadata_compressedSize(this.__wbg_ptr)>>>0}}class N{static __wrap(t){t=t>>>0;const e=Object.create(N.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_schema_free(t)}}class G{static __wrap(t){t=t>>>0;const e=Object.create(G.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_schemadescriptor_free(t)}name(){let t,e;try{const c=r.__wbindgen_add_to_stack_pointer(-16);r.schemadescriptor_name(c,this.__wbg_ptr);var _=s()[c/4+0],o=s()[c/4+1];return t=_,e=o,p(_,o)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_free(t,e,1)}}numColumns(){return r.schemadescriptor_numColumns(this.__wbg_ptr)>>>0}numFields(){return r.schemadescriptor_numFields(this.__wbg_ptr)>>>0}}class k{static __wrap(t){t=t>>>0;const e=Object.create(k.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_table_free(t)}get schema(){const t=r.table_schema(this.__wbg_ptr);return N.__wrap(t)}recordBatch(t){const e=r.table_recordBatch(this.__wbg_ptr,t);return e===0?void 0:P.__wrap(e)}get numBatches(){return r.table_numBatches(this.__wbg_ptr)>>>0}toFFI(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.table_toFFI(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return x.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}intoFFI(){try{const o=this.__destroy_into_raw(),c=r.__wbindgen_add_to_stack_pointer(-16);r.table_intoFFI(c,o);var t=s()[c/4+0],e=s()[c/4+1],_=s()[c/4+2];if(_)throw b(e);return x.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}intoIPCStream(){try{const u=this.__destroy_into_raw(),w=r.__wbindgen_add_to_stack_pointer(-16);r.table_intoIPCStream(w,u);var t=s()[w/4+0],e=s()[w/4+1],_=s()[w/4+2],o=s()[w/4+3];if(o)throw b(_);var c=V(t,e).slice();return r.__wbindgen_free(t,e*1),c}finally{r.__wbindgen_add_to_stack_pointer(16)}}static fromIPCFile(t){try{const c=r.__wbindgen_add_to_stack_pointer(-16),u=C(t,r.__wbindgen_malloc),w=f;r.table_fromIPCFile(c,u,w);var e=s()[c/4+0],_=s()[c/4+1],o=s()[c/4+2];if(o)throw b(_);return k.__wrap(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}static fromIPCStream(t){try{const c=r.__wbindgen_add_to_stack_pointer(-16),u=C(t,r.__wbindgen_malloc),w=f;r.table_fromIPCStream(c,u,w);var e=s()[c/4+0],_=s()[c/4+1],o=s()[c/4+2];if(o)throw b(_);return k.__wrap(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}}class B{static __wrap(t){t=t>>>0;const e=Object.create(B.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_vector_free(t)}data_type(){const t=r.vector_data_type(this.__wbg_ptr);return U.__wrap(t)}}class D{static __wrap(t){t=t>>>0;const e=Object.create(D.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_writerproperties_free(t)}}class y{static __wrap(t){t=t>>>0;const e=Object.create(y.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_writerpropertiesbuilder_free(t)}constructor(){const t=r.writerpropertiesbuilder_new();return y.__wrap(t)}build(){const t=this.__destroy_into_raw(),e=r.writerpropertiesbuilder_build(t);return D.__wrap(e)}setWriterVersion(t){const e=this.__destroy_into_raw(),_=r.writerpropertiesbuilder_setWriterVersion(e,t);return y.__wrap(_)}setEncoding(t){const e=this.__destroy_into_raw(),_=r.writerpropertiesbuilder_setEncoding(e,t);return y.__wrap(_)}setCompression(t){const e=this.__destroy_into_raw(),_=r.writerpropertiesbuilder_setCompression(e,t);return y.__wrap(_)}setStatisticsEnabled(t){const e=this.__destroy_into_raw(),_=r.writerpropertiesbuilder_setStatisticsEnabled(e,t);return y.__wrap(_)}}async function ot(n,t){if(typeof Response=="function"&&n instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(n,t)}catch(_){if(n.headers.get("Content-Type")!="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",_);else throw _}const e=await n.arrayBuffer();return await WebAssembly.instantiate(e,t)}else{const e=await WebAssembly.instantiate(n,t);return e instanceof WebAssembly.Instance?{instance:e,module:n}:e}}function K(){const n={};return n.wbg={},n.wbg.__wbg_filemetadata_new=function(t){const e=T.__wrap(t);return i(e)},n.wbg.__wbindgen_error_new=function(t,e){const _=new Error(p(t,e));return i(_)},n.wbg.__wbindgen_object_drop_ref=function(t){b(t)},n.wbg.__wbindgen_string_new=function(t,e){const _=p(t,e);return i(_)},n.wbg.__wbindgen_bigint_from_i64=function(t){return i(t)},n.wbg.__wbindgen_number_new=function(t){return i(t)},n.wbg.__wbindgen_object_clone_ref=function(t){const e=a(t);return i(e)},n.wbg.__wbg_fetch_b5d6bebed1e6c2d2=function(t){const e=fetch(a(t));return i(e)},n.wbg.__wbg_newwithsource_620c192b0682807b=function(t,e){const _=new ReadableStream(q.__wrap(t),z.__wrap(e));return i(_)},n.wbg.__wbg_close_e9110ca16e2567db=function(t){a(t).close()},n.wbg.__wbg_enqueue_d71a1a518e21f5c3=function(t,e){a(t).enqueue(a(e))},n.wbg.__wbg_byobRequest_08c18cee35def1f4=function(t){const e=a(t).byobRequest;return v(e)?0:i(e)},n.wbg.__wbg_close_da7e6fb9d9851e5a=function(t){a(t).close()},n.wbg.__wbg_view_231340b0dd8a2484=function(t){const e=a(t).view;return v(e)?0:i(e)},n.wbg.__wbg_respond_8fadc5f5c9d95422=function(t,e){a(t).respond(e>>>0)},n.wbg.__wbg_buffer_4e79326814bdd393=function(t){const e=a(t).buffer;return i(e)},n.wbg.__wbg_byteOffset_b69b0a07afccce19=function(t){return a(t).byteOffset},n.wbg.__wbg_byteLength_5299848ed3264181=function(t){return a(t).byteLength},n.wbg.__wbindgen_string_get=function(t,e){const _=a(e),o=typeof _=="string"?_:void 0;var c=v(o)?0:h(o,r.__wbindgen_malloc,r.__wbindgen_realloc),u=f;s()[t/4+1]=u,s()[t/4+0]=c},n.wbg.__wbg_set_bd72c078edfa51ad=function(t,e,_){a(t)[b(e)]=b(_)},n.wbg.__wbg_String_4370c5505c674d30=function(t,e){const _=String(a(e)),o=h(_,r.__wbindgen_malloc,r.__wbindgen_realloc),c=f;s()[t/4+1]=c,s()[t/4+0]=o},n.wbg.__wbindgen_cb_drop=function(t){const e=b(t).original;return e.cnt--==1?(e.a=0,!0):!1},n.wbg.__wbg_recordbatch_new=function(t){const e=P.__wrap(t);return i(e)},n.wbg.__wbg_randomFillSync_dc1e9a60c158336d=function(){return d(function(t,e){a(t).randomFillSync(b(e))},arguments)},n.wbg.__wbg_getRandomValues_37fa2ca9e4e07fab=function(){return d(function(t,e){a(t).getRandomValues(a(e))},arguments)},n.wbg.__wbg_crypto_c48a774b022d20ac=function(t){const e=a(t).crypto;return i(e)},n.wbg.__wbindgen_is_object=function(t){const e=a(t);return typeof e=="object"&&e!==null},n.wbg.__wbg_process_298734cf255a885d=function(t){const e=a(t).process;return i(e)},n.wbg.__wbg_versions_e2e78e134e3e5d01=function(t){const e=a(t).versions;return i(e)},n.wbg.__wbg_node_1cd7a5d853dbea79=function(t){const e=a(t).node;return i(e)},n.wbg.__wbindgen_is_string=function(t){return typeof a(t)=="string"},n.wbg.__wbg_require_8f08ceecec0f4fee=function(){return d(function(){const t=module.require;return i(t)},arguments)},n.wbg.__wbg_msCrypto_bcb970640f50a1e8=function(t){const e=a(t).msCrypto;return i(e)},n.wbg.__wbg_signal_4bd18fb489af2d4c=function(t){const e=a(t).signal;return i(e)},n.wbg.__wbg_new_55c9955722952374=function(){return d(function(){const t=new AbortController;return i(t)},arguments)},n.wbg.__wbg_abort_654b796176d117aa=function(t){a(t).abort()},n.wbg.__wbg_new_1eead62f64ca15ce=function(){return d(function(){const t=new Headers;return i(t)},arguments)},n.wbg.__wbg_append_fda9e3432e3e88da=function(){return d(function(t,e,_,o,c){a(t).append(p(e,_),p(o,c))},arguments)},n.wbg.__wbg_fetch_8eaf01857a5bb21f=function(t,e){const _=a(t).fetch(a(e));return i(_)},n.wbg.__wbg_instanceof_Response_fc4327dbfcdf5ced=function(t){let e;try{e=a(t)instanceof Response}catch{e=!1}return e},n.wbg.__wbg_url_8503de97f69da463=function(t,e){const _=a(e).url,o=h(_,r.__wbindgen_malloc,r.__wbindgen_realloc),c=f;s()[t/4+1]=c,s()[t/4+0]=o},n.wbg.__wbg_status_ac85a3142a84caa2=function(t){return a(t).status},n.wbg.__wbg_headers_b70de86b8e989bc0=function(t){const e=a(t).headers;return i(e)},n.wbg.__wbg_arrayBuffer_288fb3538806e85c=function(){return d(function(t){const e=a(t).arrayBuffer();return i(e)},arguments)},n.wbg.__wbg_newwithstrandinit_cad5cd6038c7ff5d=function(){return d(function(t,e,_){const o=new Request(p(t,e),a(_));return i(o)},arguments)},n.wbg.__wbindgen_is_function=function(t){return typeof a(t)=="function"},n.wbg.__wbg_newnoargs_581967eacc0e2604=function(t,e){const _=new Function(p(t,e));return i(_)},n.wbg.__wbg_new_56693dbed0c32988=function(){return i(new Map)},n.wbg.__wbg_next_526fc47e980da008=function(t){const e=a(t).next;return i(e)},n.wbg.__wbg_next_ddb3312ca1c4e32a=function(){return d(function(t){const e=a(t).next();return i(e)},arguments)},n.wbg.__wbg_done_5c1f01fb660d73b5=function(t){return a(t).done},n.wbg.__wbg_value_1695675138684bd5=function(t){const e=a(t).value;return i(e)},n.wbg.__wbg_iterator_97f0c81209c6c35a=function(){return i(Symbol.iterator)},n.wbg.__wbg_get_97b561fb56f034b5=function(){return d(function(t,e){const _=Reflect.get(a(t),a(e));return i(_)},arguments)},n.wbg.__wbg_call_cb65541d95d71282=function(){return d(function(t,e){const _=a(t).call(a(e));return i(_)},arguments)},n.wbg.__wbg_new_b51585de1b234aff=function(){const t=new Object;return i(t)},n.wbg.__wbg_self_1ff1d729e9aae938=function(){return d(function(){const t=self.self;return i(t)},arguments)},n.wbg.__wbg_window_5f4faef6c12b79ec=function(){return d(function(){const t=window.window;return i(t)},arguments)},n.wbg.__wbg_globalThis_1d39714405582d3c=function(){return d(function(){const t=globalThis.globalThis;return i(t)},arguments)},n.wbg.__wbg_global_651f05c6a0944d1c=function(){return d(function(){const t=global.global;return i(t)},arguments)},n.wbg.__wbindgen_is_undefined=function(t){return a(t)===void 0},n.wbg.__wbg_new_d258248ed531ff54=function(t,e){const _=new Error(p(t,e));return i(_)},n.wbg.__wbg_call_01734de55d61e11d=function(){return d(function(t,e,_){const o=a(t).call(a(e),a(_));return i(o)},arguments)},n.wbg.__wbg_set_bedc3d02d0f05eb0=function(t,e,_){const o=a(t).set(a(e),a(_));return i(o)},n.wbg.__wbg_new_43f1b47c28813cbd=function(t,e){try{var _={a:t,b:e},o=(u,w)=>{const g=_.a;_.a=0;try{return _t(g,_.b,u,w)}finally{_.a=g}};const c=new Promise(o);return i(c)}finally{_.a=_.b=0}},n.wbg.__wbg_resolve_53698b95aaf7fcf8=function(t){const e=Promise.resolve(a(t));return i(e)},n.wbg.__wbg_then_f7e06ee3c11698eb=function(t,e){const _=a(t).then(a(e));return i(_)},n.wbg.__wbg_then_b2267541e2a73865=function(t,e,_){const o=a(t).then(a(e),a(_));return i(o)},n.wbg.__wbg_buffer_085ec1f694018c4f=function(t){const e=a(t).buffer;return i(e)},n.wbg.__wbg_newwithbyteoffsetandlength_6da8e527659b86aa=function(t,e,_){const o=new Uint8Array(a(t),e>>>0,_>>>0);return i(o)},n.wbg.__wbg_new_8125e318e6245eed=function(t){const e=new Uint8Array(a(t));return i(e)},n.wbg.__wbg_set_5cf90238115182c3=function(t,e,_){a(t).set(a(e),_>>>0)},n.wbg.__wbg_length_72e2208bbc0efc61=function(t){return a(t).length},n.wbg.__wbg_newwithlength_e5d69174d6984cd7=function(t){const e=new Uint8Array(t>>>0);return i(e)},n.wbg.__wbg_subarray_13db269f57aa838d=function(t,e,_){const o=a(t).subarray(e>>>0,_>>>0);return i(o)},n.wbg.__wbg_stringify_e25465938f3f611f=function(){return d(function(t){const e=JSON.stringify(a(t));return i(e)},arguments)},n.wbg.__wbg_has_c5fcd020291e56b8=function(){return d(function(t,e){return Reflect.has(a(t),a(e))},arguments)},n.wbg.__wbg_set_092e06b0f9d71865=function(){return d(function(t,e,_){return Reflect.set(a(t),a(e),a(_))},arguments)},n.wbg.__wbindgen_debug_string=function(t,e){const _=Y(a(e)),o=h(_,r.__wbindgen_malloc,r.__wbindgen_realloc),c=f;s()[t/4+1]=c,s()[t/4+0]=o},n.wbg.__wbindgen_throw=function(t,e){throw new Error(p(t,e))},n.wbg.__wbindgen_memory=function(){const t=r.memory;return i(t)},n.wbg.__wbindgen_function_table=function(){const t=r.__wbindgen_export_2;return i(t)},n.wbg.__wbindgen_closure_wrapper1527=function(t,e,_){const o=tt(t,e,304,et);return i(o)},n}function J(n,t){return r=n.exports,st.__wbindgen_wasm_module=t,O=null,j=null,I=null,R=null,r}function St(n){if(r!==void 0)return r;const t=K();n instanceof WebAssembly.Module||(n=new WebAssembly.Module(n));const e=new WebAssembly.Instance(n,t);return J(e,n)}async function st(n){if(r!==void 0)return r;typeof n>"u"&&(n=new URL("/assets/arrow2_bg-4Y7xYo54.wasm",import.meta.url));const t=K();(typeof n=="string"||typeof Request=="function"&&n instanceof Request||typeof URL=="function"&&n instanceof URL)&&(n=fetch(n));const{instance:e,module:_}=await ot(await n,t);return J(e,_)}export{S as ArrowSchema,W as ColumnChunkMetaData,pt as Compression,U as DataType,lt as Encoding,F as FFIRecordBatch,x as FFITable,yt as FFIVector,T as FileMetaData,mt as IntoUnderlyingByteSource,vt as IntoUnderlyingSink,q as IntoUnderlyingSource,kt as PipeOptions,z as QueuingStrategy,At as ReadableStreamGetReaderOptions,P as RecordBatch,L as RowGroupMetaData,N as Schema,G as SchemaDescriptor,k as Table,B as Vector,D as WriterProperties,y as WriterPropertiesBuilder,ht as WriterVersion,ft as _functionTable,st as default,St as initSync,ct as readMetadata,ut as readMetadataAsync,at as readParquet,dt as readParquetStream,it as readRowGroup,bt as readRowGroupAsync,gt as wasmMemory,wt as writeParquet};
|
|
1
|
+
let r;const H=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};typeof TextDecoder<"u"&&H.decode();let j=null;function k(){return(j===null||j.byteLength===0)&&(j=new Uint8Array(r.memory.buffer)),j}function p(n,t){return n=n>>>0,H.decode(k().subarray(n,n+t))}const l=new Array(128).fill(void 0);l.push(void 0,null,!0,!1);let P=l.length;function i(n){P===l.length&&l.push(l.length+1);const t=P;return P=l[t],l[t]=n,t}function a(n){return l[n]}function X(n){n<132||(l[n]=P,P=n)}function b(n){const t=a(n);return X(n),t}let f=0;const D=typeof TextEncoder<"u"?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},tt=typeof D.encodeInto=="function"?function(n,t){return D.encodeInto(n,t)}:function(n,t){const e=D.encode(n);return t.set(e),{read:n.length,written:e.length}};function y(n,t,e){if(e===void 0){const w=D.encode(n),g=t(w.length,1)>>>0;return k().subarray(g,g+w.length).set(w),f=w.length,g}let _=n.length,o=t(_,1)>>>0;const c=k();let u=0;for(;u<_;u++){const w=n.charCodeAt(u);if(w>127)break;c[o+u]=w}if(u!==_){u!==0&&(n=n.slice(u)),o=e(o,_,_=u+n.length*3,1)>>>0;const w=k().subarray(o+u,o+_),g=tt(n,w);u+=g.written}return f=u,o}function A(n){return n==null}let E=null;function s(){return(E===null||E.byteLength===0)&&(E=new Int32Array(r.memory.buffer)),E}function z(n){const t=typeof n;if(t=="number"||t=="boolean"||n==null)return`${n}`;if(t=="string")return`"${n}"`;if(t=="symbol"){const o=n.description;return o==null?"Symbol":`Symbol(${o})`}if(t=="function"){const o=n.name;return typeof o=="string"&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(n)){const o=n.length;let c="[";o>0&&(c+=z(n[0]));for(let u=1;u<o;u++)c+=", "+z(n[u]);return c+="]",c}const e=/\[object ([^\]]+)\]/.exec(toString.call(n));let _;if(e.length>1)_=e[1];else return toString.call(n);if(_=="Object")try{return"Object("+JSON.stringify(n)+")"}catch{return"Object"}return n instanceof Error?`${n.name}: ${n.message}
|
|
2
|
+
${n.stack}`:_}function et(n,t,e,_){const o={a:n,b:t,cnt:1,dtor:e},c=(...u)=>{o.cnt++;const w=o.a;o.a=0;try{return _(w,o.b,...u)}finally{--o.cnt===0?r.__wbindgen_export_2.get(o.dtor)(w,o.b):o.a=w}};return c.original=o,c}function rt(n,t,e){r._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h896648893be04d51(n,t,i(e))}function M(n,t){const e=t(n.length*1,1)>>>0;return k().set(n,e/1),f=n.length,e}function nt(n){try{const o=r.__wbindgen_add_to_stack_pointer(-16),c=M(n,r.__wbindgen_malloc),u=f;r.readParquet(o,c,u);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return m.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function _t(n){try{const o=r.__wbindgen_add_to_stack_pointer(-16),c=M(n,r.__wbindgen_malloc),u=f;r.readMetadata(o,c,u);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return R.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function S(n,t){if(!(n instanceof t))throw new Error(`expected instance of ${t.name}`);return n.ptr}function ot(n,t,e){try{const u=r.__wbindgen_add_to_stack_pointer(-16),w=M(n,r.__wbindgen_malloc),g=f;S(t,v),S(e,O),r.readRowGroup(u,w,g,t.__wbg_ptr,e.__wbg_ptr);var _=s()[u/4+0],o=s()[u/4+1],c=s()[u/4+2];if(c)throw b(o);return I.__wrap(_)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function st(n,t){const e=y(n,r.__wbindgen_malloc,r.__wbindgen_realloc),_=f,o=r.readMetadataAsync(e,_,!A(t),A(t)?0:t);return b(o)}function at(n,t,e){const _=y(n,r.__wbindgen_malloc,r.__wbindgen_realloc),o=f;S(t,O),S(e,v);const c=r.readRowGroupAsync(_,o,t.__wbg_ptr,e.__wbg_ptr);return b(c)}function G(n,t){return n=n>>>0,k().subarray(n/1,n/1+t)}function ct(n,t){try{const g=r.__wbindgen_add_to_stack_pointer(-16);S(n,m);var e=n.__destroy_into_raw();let $=0;A(t)||(S(t,N),$=t.__destroy_into_raw()),r.writeParquet(g,e,$);var _=s()[g/4+0],o=s()[g/4+1],c=s()[g/4+2],u=s()[g/4+3];if(u)throw b(c);var w=G(_,o).slice();return r.__wbindgen_free(_,o*1),w}finally{r.__wbindgen_add_to_stack_pointer(16)}}function it(n){const t=y(n,r.__wbindgen_malloc,r.__wbindgen_realloc),e=f,_=r.readParquetStream(t,e);return b(_)}let C=null;function Z(){return(C===null||C.byteLength===0)&&(C=new BigInt64Array(r.memory.buffer)),C}let T=null;function ut(){return(T===null||T.byteLength===0)&&(T=new BigUint64Array(r.memory.buffer)),T}function bt(n,t){return n=n>>>0,ut().subarray(n/8,n/8+t)}function wt(){const n=r.wasmMemory();return b(n)}function dt(){const n=r._functionTable();return b(n)}function d(n,t){try{return n.apply(this,t)}catch(e){r.__wbindgen_exn_store(i(e))}}function gt(n,t,e,_){r.wasm_bindgen__convert__closures__invoke2_mut__h02232cd008ae4dfe(n,t,i(e),i(_))}const ft=Object.freeze({UNCOMPRESSED:0,0:"UNCOMPRESSED",SNAPPY:1,1:"SNAPPY",GZIP:2,2:"GZIP",BROTLI:3,3:"BROTLI",LZ4:4,4:"LZ4",ZSTD:5,5:"ZSTD",LZ4_RAW:6,6:"LZ4_RAW"}),pt=Object.freeze({PLAIN:0,0:"PLAIN",PLAIN_DICTIONARY:1,1:"PLAIN_DICTIONARY",RLE:2,2:"RLE",BIT_PACKED:3,3:"BIT_PACKED",DELTA_BINARY_PACKED:4,4:"DELTA_BINARY_PACKED",DELTA_LENGTH_BYTE_ARRAY:5,5:"DELTA_LENGTH_BYTE_ARRAY",DELTA_BYTE_ARRAY:6,6:"DELTA_BYTE_ARRAY",RLE_DICTIONARY:7,7:"RLE_DICTIONARY",BYTE_STREAM_SPLIT:8,8:"BYTE_STREAM_SPLIT"}),lt=Object.freeze({V1:0,0:"V1",V2:1,1:"V2"});class v{static __wrap(t){t=t>>>0;const e=Object.create(v.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_arrowschema_free(t)}copy(){const t=r.arrowschema_copy(this.__wbg_ptr);return v.__wrap(t)}}class Y{static __wrap(t){t=t>>>0;const e=Object.create(Y.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_columnchunkmetadata_free(t)}filePath(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_filePath(_,this.__wbg_ptr);var t=s()[_/4+0],e=s()[_/4+1];let o;return t!==0&&(o=p(t,e).slice(),r.__wbindgen_free(t,e*1)),o}finally{r.__wbindgen_add_to_stack_pointer(16)}}fileOffset(){return r.columnchunkmetadata_fileOffset(this.__wbg_ptr)}pathInSchema(){let t,e;try{const c=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_pathInSchema(c,this.__wbg_ptr);var _=s()[c/4+0],o=s()[c/4+1];return t=_,e=o,p(_,o)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_free(t,e,1)}}statistics_exist(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_statistics_exist(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return t!==0}finally{r.__wbindgen_add_to_stack_pointer(16)}}getStatisticsMinValue(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_getStatisticsMinValue(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return b(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}getStatisticsMaxValue(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_getStatisticsMaxValue(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return b(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}getStatisticsNullCount(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_getStatisticsNullCount(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return b(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}numValues(){return r.columnchunkmetadata_numValues(this.__wbg_ptr)}compressedSize(){return r.columnchunkmetadata_compressedSize(this.__wbg_ptr)}uncompressedSize(){return r.columnchunkmetadata_uncompressedSize(this.__wbg_ptr)}dataPageOffset(){return r.columnchunkmetadata_dataPageOffset(this.__wbg_ptr)}hasIndexPage(){return r.columnchunkmetadata_hasIndexPage(this.__wbg_ptr)!==0}indexPageOffset(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_indexPageOffset(_,this.__wbg_ptr);var t=s()[_/4+0],e=Z()[_/8+1];return t===0?void 0:e}finally{r.__wbindgen_add_to_stack_pointer(16)}}dictionaryPageOffset(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_dictionaryPageOffset(_,this.__wbg_ptr);var t=s()[_/4+0],e=Z()[_/8+1];return t===0?void 0:e}finally{r.__wbindgen_add_to_stack_pointer(16)}}numColumnEncodings(){return r.columnchunkmetadata_numColumnEncodings(this.__wbg_ptr)>>>0}byteRange(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.columnchunkmetadata_byteRange(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=bt(t,e).slice();return r.__wbindgen_free(t,e*8),_}finally{r.__wbindgen_add_to_stack_pointer(16)}}}class V{static __wrap(t){t=t>>>0;const e=Object.create(V.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_datatype_free(t)}}class L{static __wrap(t){t=t>>>0;const e=Object.create(L.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_ffirecordbatch_free(t)}arrayAddr(){return r.ffirecordbatch_arrayAddr(this.__wbg_ptr)}schemaAddr(){return r.ffirecordbatch_schemaAddr(this.__wbg_ptr)}}class F{static __wrap(t){t=t>>>0;const e=Object.create(F.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_ffitable_free(t)}numBatches(){return r.ffitable_numBatches(this.__wbg_ptr)>>>0}schemaAddr(){return r.ffitable_schemaAddr(this.__wbg_ptr)}arrayAddr(t){return r.ffitable_arrayAddr(this.__wbg_ptr,t)}drop(){const t=this.__destroy_into_raw();r.ffitable_drop(t)}}class ht{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_ffivector_free(t)}array_addr(){return r.ffivector_array_addr(this.__wbg_ptr)}field_addr(){return r.ffivector_field_addr(this.__wbg_ptr)}}class R{static __wrap(t){t=t>>>0;const e=Object.create(R.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_filemetadata_free(t)}copy(){const t=r.filemetadata_copy(this.__wbg_ptr);return R.__wrap(t)}version(){return r.filemetadata_version(this.__wbg_ptr)}numRows(){return r.filemetadata_numRows(this.__wbg_ptr)>>>0}createdBy(){try{const _=r.__wbindgen_add_to_stack_pointer(-16);r.filemetadata_createdBy(_,this.__wbg_ptr);var t=s()[_/4+0],e=s()[_/4+1];let o;return t!==0&&(o=p(t,e).slice(),r.__wbindgen_free(t,e*1)),o}finally{r.__wbindgen_add_to_stack_pointer(16)}}numRowGroups(){return r.filemetadata_numRowGroups(this.__wbg_ptr)>>>0}rowGroup(t){const e=r.filemetadata_rowGroup(this.__wbg_ptr,t);return O.__wrap(e)}schema(){const t=r.filemetadata_schema(this.__wbg_ptr);return q.__wrap(t)}keyValueMetadata(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.filemetadata_keyValueMetadata(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return b(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}arrowSchema(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.filemetadata_arrowSchema(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return v.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}}class yt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_intounderlyingbytesource_free(t)}get type(){let t,e;try{const c=r.__wbindgen_add_to_stack_pointer(-16);r.intounderlyingbytesource_type(c,this.__wbg_ptr);var _=s()[c/4+0],o=s()[c/4+1];return t=_,e=o,p(_,o)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_free(t,e,1)}}get autoAllocateChunkSize(){return r.intounderlyingbytesource_autoAllocateChunkSize(this.__wbg_ptr)>>>0}start(t){r.intounderlyingbytesource_start(this.__wbg_ptr,i(t))}pull(t){const e=r.intounderlyingbytesource_pull(this.__wbg_ptr,i(t));return b(e)}cancel(){const t=this.__destroy_into_raw();r.__wbg_intounderlyingbytesource_free(t)}}class mt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_intounderlyingsink_free(t)}write(t){const e=r.intounderlyingsink_write(this.__wbg_ptr,i(t));return b(e)}close(){const t=this.__destroy_into_raw(),e=r.intounderlyingsink_close(t);return b(e)}abort(t){const e=this.__destroy_into_raw(),_=r.intounderlyingsink_abort(e,i(t));return b(_)}}class W{static __wrap(t){t=t>>>0;const e=Object.create(W.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_intounderlyingsource_free(t)}pull(t){const e=r.intounderlyingsource_pull(this.__wbg_ptr,i(t));return b(e)}cancel(){const t=this.__destroy_into_raw();r.intounderlyingsource_cancel(t)}}class vt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_pipeoptions_free(t)}get preventClose(){return r.pipeoptions_preventClose(this.__wbg_ptr)!==0}get preventCancel(){return r.pipeoptions_preventCancel(this.__wbg_ptr)!==0}get preventAbort(){return r.pipeoptions_preventAbort(this.__wbg_ptr)!==0}get signal(){const t=r.pipeoptions_signal(this.__wbg_ptr);return b(t)}}class U{static __wrap(t){t=t>>>0;const e=Object.create(U.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_queuingstrategy_free(t)}get highWaterMark(){return r.queuingstrategy_highWaterMark(this.__wbg_ptr)}}class kt{__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_readablestreamgetreaderoptions_free(t)}get mode(){const t=r.readablestreamgetreaderoptions_mode(this.__wbg_ptr);return b(t)}}class I{static __wrap(t){t=t>>>0;const e=Object.create(I.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_recordbatch_free(t)}get numRows(){return r.recordbatch_numRows(this.__wbg_ptr)>>>0}get numColumns(){return r.recordbatch_numColumns(this.__wbg_ptr)>>>0}get schema(){const t=r.recordbatch_schema(this.__wbg_ptr);return B.__wrap(t)}column(t){const e=r.recordbatch_column(this.__wbg_ptr,t);return e===0?void 0:x.__wrap(e)}column_by_name(t){const e=y(t,r.__wbindgen_malloc,r.__wbindgen_realloc),_=f,o=r.recordbatch_column_by_name(this.__wbg_ptr,e,_);return o===0?void 0:x.__wrap(o)}toFFI(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.recordbatch_toFFI(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return L.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}intoFFI(){try{const o=this.__destroy_into_raw(),c=r.__wbindgen_add_to_stack_pointer(-16);r.recordbatch_intoFFI(c,o);var t=s()[c/4+0],e=s()[c/4+1],_=s()[c/4+2];if(_)throw b(e);return L.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}intoIPCStream(){try{const u=this.__destroy_into_raw(),w=r.__wbindgen_add_to_stack_pointer(-16);r.recordbatch_intoIPCStream(w,u);var t=s()[w/4+0],e=s()[w/4+1],_=s()[w/4+2],o=s()[w/4+3];if(o)throw b(_);var c=G(t,e).slice();return r.__wbindgen_free(t,e*1),c}finally{r.__wbindgen_add_to_stack_pointer(16)}}}class O{static __wrap(t){t=t>>>0;const e=Object.create(O.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_rowgroupmetadata_free(t)}numRows(){return r.rowgroupmetadata_numRows(this.__wbg_ptr)>>>0}numColumns(){return r.rowgroupmetadata_numColumns(this.__wbg_ptr)>>>0}column(t){const e=r.rowgroupmetadata_column(this.__wbg_ptr,t);return Y.__wrap(e)}totalByteSize(){return r.rowgroupmetadata_totalByteSize(this.__wbg_ptr)>>>0}compressedSize(){return r.rowgroupmetadata_compressedSize(this.__wbg_ptr)>>>0}}class B{static __wrap(t){t=t>>>0;const e=Object.create(B.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_schema_free(t)}}class q{static __wrap(t){t=t>>>0;const e=Object.create(q.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_schemadescriptor_free(t)}name(){let t,e;try{const c=r.__wbindgen_add_to_stack_pointer(-16);r.schemadescriptor_name(c,this.__wbg_ptr);var _=s()[c/4+0],o=s()[c/4+1];return t=_,e=o,p(_,o)}finally{r.__wbindgen_add_to_stack_pointer(16),r.__wbindgen_free(t,e,1)}}numColumns(){return r.schemadescriptor_numColumns(this.__wbg_ptr)>>>0}numFields(){return r.schemadescriptor_numFields(this.__wbg_ptr)>>>0}}class m{static __wrap(t){t=t>>>0;const e=Object.create(m.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_table_free(t)}get schema(){const t=r.table_schema(this.__wbg_ptr);return B.__wrap(t)}recordBatch(t){const e=r.table_recordBatch(this.__wbg_ptr,t);return e===0?void 0:I.__wrap(e)}get numBatches(){return r.table_numBatches(this.__wbg_ptr)>>>0}toFFI(){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.table_toFFI(o,this.__wbg_ptr);var t=s()[o/4+0],e=s()[o/4+1],_=s()[o/4+2];if(_)throw b(e);return F.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}intoFFI(){try{const o=this.__destroy_into_raw(),c=r.__wbindgen_add_to_stack_pointer(-16);r.table_intoFFI(c,o);var t=s()[c/4+0],e=s()[c/4+1],_=s()[c/4+2];if(_)throw b(e);return F.__wrap(t)}finally{r.__wbindgen_add_to_stack_pointer(16)}}intoIPCStream(){try{const u=this.__destroy_into_raw(),w=r.__wbindgen_add_to_stack_pointer(-16);r.table_intoIPCStream(w,u);var t=s()[w/4+0],e=s()[w/4+1],_=s()[w/4+2],o=s()[w/4+3];if(o)throw b(_);var c=G(t,e).slice();return r.__wbindgen_free(t,e*1),c}finally{r.__wbindgen_add_to_stack_pointer(16)}}static fromIPCFile(t){try{const c=r.__wbindgen_add_to_stack_pointer(-16),u=M(t,r.__wbindgen_malloc),w=f;r.table_fromIPCFile(c,u,w);var e=s()[c/4+0],_=s()[c/4+1],o=s()[c/4+2];if(o)throw b(_);return m.__wrap(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}static fromIPCStream(t){try{const c=r.__wbindgen_add_to_stack_pointer(-16),u=M(t,r.__wbindgen_malloc),w=f;r.table_fromIPCStream(c,u,w);var e=s()[c/4+0],_=s()[c/4+1],o=s()[c/4+2];if(o)throw b(_);return m.__wrap(e)}finally{r.__wbindgen_add_to_stack_pointer(16)}}}class x{static __wrap(t){t=t>>>0;const e=Object.create(x.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_vector_free(t)}data_type(){const t=r.vector_data_type(this.__wbg_ptr);return V.__wrap(t)}}class N{static __wrap(t){t=t>>>0;const e=Object.create(N.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_writerproperties_free(t)}}class h{static __wrap(t){t=t>>>0;const e=Object.create(h.prototype);return e.__wbg_ptr=t,e}__destroy_into_raw(){const t=this.__wbg_ptr;return this.__wbg_ptr=0,t}free(){const t=this.__destroy_into_raw();r.__wbg_writerpropertiesbuilder_free(t)}constructor(){const t=r.writerpropertiesbuilder_new();return h.__wrap(t)}build(){const t=this.__destroy_into_raw(),e=r.writerpropertiesbuilder_build(t);return N.__wrap(e)}setWriterVersion(t){const e=this.__destroy_into_raw(),_=r.writerpropertiesbuilder_setWriterVersion(e,t);return h.__wrap(_)}setEncoding(t){const e=this.__destroy_into_raw(),_=r.writerpropertiesbuilder_setEncoding(e,t);return h.__wrap(_)}setCompression(t){const e=this.__destroy_into_raw(),_=r.writerpropertiesbuilder_setCompression(e,t);return h.__wrap(_)}setStatisticsEnabled(t){const e=this.__destroy_into_raw(),_=r.writerpropertiesbuilder_setStatisticsEnabled(e,t);return h.__wrap(_)}}async function At(n,t){if(typeof Response=="function"&&n instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(n,t)}catch(_){if(n.headers.get("Content-Type")!="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",_);else throw _}const e=await n.arrayBuffer();return await WebAssembly.instantiate(e,t)}else{const e=await WebAssembly.instantiate(n,t);return e instanceof WebAssembly.Instance?{instance:e,module:n}:e}}function K(){const n={};return n.wbg={},n.wbg.__wbg_filemetadata_new=function(t){const e=R.__wrap(t);return i(e)},n.wbg.__wbindgen_error_new=function(t,e){const _=new Error(p(t,e));return i(_)},n.wbg.__wbindgen_object_drop_ref=function(t){b(t)},n.wbg.__wbindgen_string_new=function(t,e){const _=p(t,e);return i(_)},n.wbg.__wbindgen_bigint_from_i64=function(t){return i(t)},n.wbg.__wbindgen_number_new=function(t){return i(t)},n.wbg.__wbindgen_object_clone_ref=function(t){const e=a(t);return i(e)},n.wbg.__wbg_fetch_b5d6bebed1e6c2d2=function(t){const e=fetch(a(t));return i(e)},n.wbg.__wbg_newwithsource_620c192b0682807b=function(t,e){const _=new ReadableStream(W.__wrap(t),U.__wrap(e));return i(_)},n.wbg.__wbg_close_e9110ca16e2567db=function(t){a(t).close()},n.wbg.__wbg_enqueue_d71a1a518e21f5c3=function(t,e){a(t).enqueue(a(e))},n.wbg.__wbg_byobRequest_08c18cee35def1f4=function(t){const e=a(t).byobRequest;return A(e)?0:i(e)},n.wbg.__wbg_close_da7e6fb9d9851e5a=function(t){a(t).close()},n.wbg.__wbg_view_231340b0dd8a2484=function(t){const e=a(t).view;return A(e)?0:i(e)},n.wbg.__wbg_respond_8fadc5f5c9d95422=function(t,e){a(t).respond(e>>>0)},n.wbg.__wbg_buffer_4e79326814bdd393=function(t){const e=a(t).buffer;return i(e)},n.wbg.__wbg_byteOffset_b69b0a07afccce19=function(t){return a(t).byteOffset},n.wbg.__wbg_byteLength_5299848ed3264181=function(t){return a(t).byteLength},n.wbg.__wbindgen_string_get=function(t,e){const _=a(e),o=typeof _=="string"?_:void 0;var c=A(o)?0:y(o,r.__wbindgen_malloc,r.__wbindgen_realloc),u=f;s()[t/4+1]=u,s()[t/4+0]=c},n.wbg.__wbg_set_bd72c078edfa51ad=function(t,e,_){a(t)[b(e)]=b(_)},n.wbg.__wbg_String_4370c5505c674d30=function(t,e){const _=String(a(e)),o=y(_,r.__wbindgen_malloc,r.__wbindgen_realloc),c=f;s()[t/4+1]=c,s()[t/4+0]=o},n.wbg.__wbindgen_cb_drop=function(t){const e=b(t).original;return e.cnt--==1?(e.a=0,!0):!1},n.wbg.__wbg_recordbatch_new=function(t){const e=I.__wrap(t);return i(e)},n.wbg.__wbg_randomFillSync_dc1e9a60c158336d=function(){return d(function(t,e){a(t).randomFillSync(b(e))},arguments)},n.wbg.__wbg_getRandomValues_37fa2ca9e4e07fab=function(){return d(function(t,e){a(t).getRandomValues(a(e))},arguments)},n.wbg.__wbg_crypto_c48a774b022d20ac=function(t){const e=a(t).crypto;return i(e)},n.wbg.__wbindgen_is_object=function(t){const e=a(t);return typeof e=="object"&&e!==null},n.wbg.__wbg_process_298734cf255a885d=function(t){const e=a(t).process;return i(e)},n.wbg.__wbg_versions_e2e78e134e3e5d01=function(t){const e=a(t).versions;return i(e)},n.wbg.__wbg_node_1cd7a5d853dbea79=function(t){const e=a(t).node;return i(e)},n.wbg.__wbindgen_is_string=function(t){return typeof a(t)=="string"},n.wbg.__wbg_require_8f08ceecec0f4fee=function(){return d(function(){const t=module.require;return i(t)},arguments)},n.wbg.__wbg_msCrypto_bcb970640f50a1e8=function(t){const e=a(t).msCrypto;return i(e)},n.wbg.__wbg_signal_4bd18fb489af2d4c=function(t){const e=a(t).signal;return i(e)},n.wbg.__wbg_new_55c9955722952374=function(){return d(function(){const t=new AbortController;return i(t)},arguments)},n.wbg.__wbg_abort_654b796176d117aa=function(t){a(t).abort()},n.wbg.__wbg_new_1eead62f64ca15ce=function(){return d(function(){const t=new Headers;return i(t)},arguments)},n.wbg.__wbg_append_fda9e3432e3e88da=function(){return d(function(t,e,_,o,c){a(t).append(p(e,_),p(o,c))},arguments)},n.wbg.__wbg_fetch_8eaf01857a5bb21f=function(t,e){const _=a(t).fetch(a(e));return i(_)},n.wbg.__wbg_instanceof_Response_fc4327dbfcdf5ced=function(t){let e;try{e=a(t)instanceof Response}catch{e=!1}return e},n.wbg.__wbg_url_8503de97f69da463=function(t,e){const _=a(e).url,o=y(_,r.__wbindgen_malloc,r.__wbindgen_realloc),c=f;s()[t/4+1]=c,s()[t/4+0]=o},n.wbg.__wbg_status_ac85a3142a84caa2=function(t){return a(t).status},n.wbg.__wbg_headers_b70de86b8e989bc0=function(t){const e=a(t).headers;return i(e)},n.wbg.__wbg_arrayBuffer_288fb3538806e85c=function(){return d(function(t){const e=a(t).arrayBuffer();return i(e)},arguments)},n.wbg.__wbg_newwithstrandinit_cad5cd6038c7ff5d=function(){return d(function(t,e,_){const o=new Request(p(t,e),a(_));return i(o)},arguments)},n.wbg.__wbindgen_is_function=function(t){return typeof a(t)=="function"},n.wbg.__wbg_newnoargs_581967eacc0e2604=function(t,e){const _=new Function(p(t,e));return i(_)},n.wbg.__wbg_new_56693dbed0c32988=function(){return i(new Map)},n.wbg.__wbg_next_526fc47e980da008=function(t){const e=a(t).next;return i(e)},n.wbg.__wbg_next_ddb3312ca1c4e32a=function(){return d(function(t){const e=a(t).next();return i(e)},arguments)},n.wbg.__wbg_done_5c1f01fb660d73b5=function(t){return a(t).done},n.wbg.__wbg_value_1695675138684bd5=function(t){const e=a(t).value;return i(e)},n.wbg.__wbg_iterator_97f0c81209c6c35a=function(){return i(Symbol.iterator)},n.wbg.__wbg_get_97b561fb56f034b5=function(){return d(function(t,e){const _=Reflect.get(a(t),a(e));return i(_)},arguments)},n.wbg.__wbg_call_cb65541d95d71282=function(){return d(function(t,e){const _=a(t).call(a(e));return i(_)},arguments)},n.wbg.__wbg_new_b51585de1b234aff=function(){const t=new Object;return i(t)},n.wbg.__wbg_self_1ff1d729e9aae938=function(){return d(function(){const t=self.self;return i(t)},arguments)},n.wbg.__wbg_window_5f4faef6c12b79ec=function(){return d(function(){const t=window.window;return i(t)},arguments)},n.wbg.__wbg_globalThis_1d39714405582d3c=function(){return d(function(){const t=globalThis.globalThis;return i(t)},arguments)},n.wbg.__wbg_global_651f05c6a0944d1c=function(){return d(function(){const t=global.global;return i(t)},arguments)},n.wbg.__wbindgen_is_undefined=function(t){return a(t)===void 0},n.wbg.__wbg_new_d258248ed531ff54=function(t,e){const _=new Error(p(t,e));return i(_)},n.wbg.__wbg_call_01734de55d61e11d=function(){return d(function(t,e,_){const o=a(t).call(a(e),a(_));return i(o)},arguments)},n.wbg.__wbg_set_bedc3d02d0f05eb0=function(t,e,_){const o=a(t).set(a(e),a(_));return i(o)},n.wbg.__wbg_new_43f1b47c28813cbd=function(t,e){try{var _={a:t,b:e},o=(u,w)=>{const g=_.a;_.a=0;try{return gt(g,_.b,u,w)}finally{_.a=g}};const c=new Promise(o);return i(c)}finally{_.a=_.b=0}},n.wbg.__wbg_resolve_53698b95aaf7fcf8=function(t){const e=Promise.resolve(a(t));return i(e)},n.wbg.__wbg_then_f7e06ee3c11698eb=function(t,e){const _=a(t).then(a(e));return i(_)},n.wbg.__wbg_then_b2267541e2a73865=function(t,e,_){const o=a(t).then(a(e),a(_));return i(o)},n.wbg.__wbg_buffer_085ec1f694018c4f=function(t){const e=a(t).buffer;return i(e)},n.wbg.__wbg_newwithbyteoffsetandlength_6da8e527659b86aa=function(t,e,_){const o=new Uint8Array(a(t),e>>>0,_>>>0);return i(o)},n.wbg.__wbg_new_8125e318e6245eed=function(t){const e=new Uint8Array(a(t));return i(e)},n.wbg.__wbg_set_5cf90238115182c3=function(t,e,_){a(t).set(a(e),_>>>0)},n.wbg.__wbg_length_72e2208bbc0efc61=function(t){return a(t).length},n.wbg.__wbg_newwithlength_e5d69174d6984cd7=function(t){const e=new Uint8Array(t>>>0);return i(e)},n.wbg.__wbg_subarray_13db269f57aa838d=function(t,e,_){const o=a(t).subarray(e>>>0,_>>>0);return i(o)},n.wbg.__wbg_stringify_e25465938f3f611f=function(){return d(function(t){const e=JSON.stringify(a(t));return i(e)},arguments)},n.wbg.__wbg_has_c5fcd020291e56b8=function(){return d(function(t,e){return Reflect.has(a(t),a(e))},arguments)},n.wbg.__wbg_set_092e06b0f9d71865=function(){return d(function(t,e,_){return Reflect.set(a(t),a(e),a(_))},arguments)},n.wbg.__wbindgen_debug_string=function(t,e){const _=z(a(e)),o=y(_,r.__wbindgen_malloc,r.__wbindgen_realloc),c=f;s()[t/4+1]=c,s()[t/4+0]=o},n.wbg.__wbindgen_throw=function(t,e){throw new Error(p(t,e))},n.wbg.__wbindgen_memory=function(){const t=r.memory;return i(t)},n.wbg.__wbindgen_function_table=function(){const t=r.__wbindgen_export_2;return i(t)},n.wbg.__wbindgen_closure_wrapper1527=function(t,e,_){const o=et(t,e,304,rt);return i(o)},n}function J(n,t){return r=n.exports,Q.__wbindgen_wasm_module=t,C=null,T=null,E=null,j=null,r}function St(n){if(r!==void 0)return r;const t=K();n instanceof WebAssembly.Module||(n=new WebAssembly.Module(n));const e=new WebAssembly.Instance(n,t);return J(e,n)}async function Q(n){if(r!==void 0)return r;typeof n>"u"&&(n=new URL("/assets/arrow2_bg-4Y7xYo54.wasm",import.meta.url));const t=K();(typeof n=="string"||typeof Request=="function"&&n instanceof Request||typeof URL=="function"&&n instanceof URL)&&(n=fetch(n));const{instance:e,module:_}=await At(await n,t);return J(e,_)}const It=Object.freeze(Object.defineProperty({__proto__:null,ArrowSchema:v,ColumnChunkMetaData:Y,Compression:ft,DataType:V,Encoding:pt,FFIRecordBatch:L,FFITable:F,FFIVector:ht,FileMetaData:R,IntoUnderlyingByteSource:yt,IntoUnderlyingSink:mt,IntoUnderlyingSource:W,PipeOptions:vt,QueuingStrategy:U,ReadableStreamGetReaderOptions:kt,RecordBatch:I,RowGroupMetaData:O,Schema:B,SchemaDescriptor:q,Table:m,Vector:x,WriterProperties:N,WriterPropertiesBuilder:h,WriterVersion:lt,_functionTable:dt,default:Q,initSync:St,readMetadata:_t,readMetadataAsync:st,readParquet:nt,readParquetStream:it,readRowGroup:ot,readRowGroupAsync:at,wasmMemory:wt,writeParquet:ct},Symbol.toStringTag,{value:"Module"})),Rt="/assets/arrow2_bg-4Y7xYo54.wasm",Ot=Object.freeze(Object.defineProperty({__proto__:null,default:Rt},Symbol.toStringTag,{value:"Module"}));export{It as a,Ot as b};
|